Changeset 3763540
- Timestamp:
- 10/24/2026 04:55:37 PM (9 hours ago)
- Location:
- document-embedder-addons-for-elementor
- Files:
-
- 291 added
- 15 edited
-
tags/1.2.4 (added)
-
tags/1.2.4/DEAFEAdminMenu.php (added)
-
tags/1.2.4/admin (added)
-
tags/1.2.4/admin/assets (added)
-
tags/1.2.4/admin/assets/css (added)
-
tags/1.2.4/admin/assets/css/main.css (added)
-
tags/1.2.4/admin/assets/css/style.css (added)
-
tags/1.2.4/admin/assets/img (added)
-
tags/1.2.4/admin/assets/img/menu-icon.png (added)
-
tags/1.2.4/admin/assets/js (added)
-
tags/1.2.4/admin/assets/js/main.js (added)
-
tags/1.2.4/admin/assets/js/plugin-install.js (added)
-
tags/1.2.4/build (added)
-
tags/1.2.4/build/admin (added)
-
tags/1.2.4/build/admin/dashboard.asset.php (added)
-
tags/1.2.4/build/admin/dashboard.css (added)
-
tags/1.2.4/build/admin/dashboard.js (added)
-
tags/1.2.4/document-embedder-addons-for-elementor.php (added)
-
tags/1.2.4/enable-mime-type.php (added)
-
tags/1.2.4/index.php (added)
-
tags/1.2.4/languages (added)
-
tags/1.2.4/languages/deafe-addon.pot (added)
-
tags/1.2.4/plugin.php (added)
-
tags/1.2.4/public (added)
-
tags/1.2.4/public/assets (added)
-
tags/1.2.4/public/assets/admin (added)
-
tags/1.2.4/public/assets/admin/Components (added)
-
tags/1.2.4/public/assets/admin/Components/App.js (added)
-
tags/1.2.4/public/assets/admin/Components/Layout.js (added)
-
tags/1.2.4/public/assets/admin/Components/Welcome.js (added)
-
tags/1.2.4/public/assets/admin/dashboard.js (added)
-
tags/1.2.4/public/assets/admin/dashboard.scss (added)
-
tags/1.2.4/public/assets/admin/utils (added)
-
tags/1.2.4/public/assets/admin/utils/data.js (added)
-
tags/1.2.4/public/assets/admin/vite.config.js (added)
-
tags/1.2.4/public/assets/js (added)
-
tags/1.2.4/public/assets/js/public.js (added)
-
tags/1.2.4/public/controls (added)
-
tags/1.2.4/public/controls/deafe-select-file.php (added)
-
tags/1.2.4/public/controls/js (added)
-
tags/1.2.4/public/controls/js/controls.js (added)
-
tags/1.2.4/public/controls/register-controls.php (added)
-
tags/1.2.4/public/defult-files (added)
-
tags/1.2.4/public/defult-files/file_example_DOCX.docx (added)
-
tags/1.2.4/public/defult-files/file_example_PDF.pdf (added)
-
tags/1.2.4/public/defult-files/file_example_PPTX.pptx (added)
-
tags/1.2.4/public/defult-files/file_example_XLS.xlsx (added)
-
tags/1.2.4/public/helper (added)
-
tags/1.2.4/public/helper/deafe-common-settings-render.php (added)
-
tags/1.2.4/public/js (added)
-
tags/1.2.4/public/js/script.js (added)
-
tags/1.2.4/public/widgets (added)
-
tags/1.2.4/public/widgets/deafe-doc-embedder.php (added)
-
tags/1.2.4/public/widgets/deafe-excel-embedder.php (added)
-
tags/1.2.4/public/widgets/deafe-excel-viewer.php (added)
-
tags/1.2.4/public/widgets/deafe-google-docs.php (added)
-
tags/1.2.4/public/widgets/deafe-google-sheets.php (added)
-
tags/1.2.4/public/widgets/deafe-google-slides.php (added)
-
tags/1.2.4/public/widgets/deafe-pdf-embedder.php (added)
-
tags/1.2.4/public/widgets/deafe-pdf-native-embedder.php (added)
-
tags/1.2.4/public/widgets/deafe-powerpoint-embedder.php (added)
-
tags/1.2.4/public/widgets/deafe-powerpoint-viewer.php (added)
-
tags/1.2.4/public/widgets/deafe-sleek-pdf-viewer.php (added)
-
tags/1.2.4/public/widgets/deafe-word-viewer.php (added)
-
tags/1.2.4/readme.txt (added)
-
tags/1.2.4/vendor (added)
-
tags/1.2.4/vendor/freemius (added)
-
tags/1.2.4/vendor/freemius/LICENSE.txt (added)
-
tags/1.2.4/vendor/freemius/README.md (added)
-
tags/1.2.4/vendor/freemius/assets (added)
-
tags/1.2.4/vendor/freemius/assets/css (added)
-
tags/1.2.4/vendor/freemius/assets/css/admin (added)
-
tags/1.2.4/vendor/freemius/assets/css/admin/account.css (added)
-
tags/1.2.4/vendor/freemius/assets/css/admin/add-ons.css (added)
-
tags/1.2.4/vendor/freemius/assets/css/admin/affiliation.css (added)
-
tags/1.2.4/vendor/freemius/assets/css/admin/checkout.css (added)
-
tags/1.2.4/vendor/freemius/assets/css/admin/clone-resolution.css (added)
-
tags/1.2.4/vendor/freemius/assets/css/admin/common.css (added)
-
tags/1.2.4/vendor/freemius/assets/css/admin/connect.css (added)
-
tags/1.2.4/vendor/freemius/assets/css/admin/debug.css (added)
-
tags/1.2.4/vendor/freemius/assets/css/admin/dialog-boxes.css (added)
-
tags/1.2.4/vendor/freemius/assets/css/admin/gdpr-optin-notice.css (added)
-
tags/1.2.4/vendor/freemius/assets/css/admin/index.php (added)
-
tags/1.2.4/vendor/freemius/assets/css/admin/optout.css (added)
-
tags/1.2.4/vendor/freemius/assets/css/admin/plugins.css (added)
-
tags/1.2.4/vendor/freemius/assets/css/customizer.css (added)
-
tags/1.2.4/vendor/freemius/assets/css/index.php (added)
-
tags/1.2.4/vendor/freemius/assets/img (added)
-
tags/1.2.4/vendor/freemius/assets/img/document-embedder-addons-for-elementor.png (added)
-
tags/1.2.4/vendor/freemius/assets/img/index.php (added)
-
tags/1.2.4/vendor/freemius/assets/img/plugin-icon.png (added)
-
tags/1.2.4/vendor/freemius/assets/img/theme-icon.png (added)
-
tags/1.2.4/vendor/freemius/assets/index.php (added)
-
tags/1.2.4/vendor/freemius/assets/js (added)
-
tags/1.2.4/vendor/freemius/assets/js/index.php (added)
-
tags/1.2.4/vendor/freemius/assets/js/jquery.form.js (added)
-
tags/1.2.4/vendor/freemius/assets/js/nojquery.ba-postmessage.js (added)
-
tags/1.2.4/vendor/freemius/assets/js/postmessage.js (added)
-
tags/1.2.4/vendor/freemius/assets/js/pricing (added)
-
tags/1.2.4/vendor/freemius/assets/js/pricing/14fb1bd5b7c41648488b06147f50a0dc.svg (added)
-
tags/1.2.4/vendor/freemius/assets/js/pricing/178afa6030e76635dbe835e111d2c507.png (added)
-
tags/1.2.4/vendor/freemius/assets/js/pricing/27b5a722a5553d9de0170325267fccec.png (added)
-
tags/1.2.4/vendor/freemius/assets/js/pricing/4375c4a3ddc6f637c2ab9a2d7220f91e.png (added)
-
tags/1.2.4/vendor/freemius/assets/js/pricing/45da596e2b512ffc3bb638baaf0fdc4e.png (added)
-
tags/1.2.4/vendor/freemius/assets/js/pricing/a34e046aee1702a5690679750a7f4d0f.svg (added)
-
tags/1.2.4/vendor/freemius/assets/js/pricing/b09d0b38b627c2fa564d050f79f2f064.svg (added)
-
tags/1.2.4/vendor/freemius/assets/js/pricing/c03f665db27af43971565560adfba594.png (added)
-
tags/1.2.4/vendor/freemius/assets/js/pricing/cb5fc4f6ec7ada72e986f6e7dde365bf.png (added)
-
tags/1.2.4/vendor/freemius/assets/js/pricing/d65812c447b4523b42d59018e1c0bb53.png (added)
-
tags/1.2.4/vendor/freemius/assets/js/pricing/f3aac72a8e63997d6bb888f816457e9b.png (added)
-
tags/1.2.4/vendor/freemius/assets/js/pricing/fde48e4609a6ddc11d639fc2421f2afd.png (added)
-
tags/1.2.4/vendor/freemius/assets/js/pricing/freemius-pricing.js (added)
-
tags/1.2.4/vendor/freemius/assets/js/pricing/freemius-pricing.js.LICENSE.txt (added)
-
tags/1.2.4/vendor/freemius/composer.json (added)
-
tags/1.2.4/vendor/freemius/config.php (added)
-
tags/1.2.4/vendor/freemius/includes (added)
-
tags/1.2.4/vendor/freemius/includes/class-freemius-abstract.php (added)
-
tags/1.2.4/vendor/freemius/includes/class-freemius.php (added)
-
tags/1.2.4/vendor/freemius/includes/class-fs-admin-notices.php (added)
-
tags/1.2.4/vendor/freemius/includes/class-fs-api.php (added)
-
tags/1.2.4/vendor/freemius/includes/class-fs-garbage-collector.php (added)
-
tags/1.2.4/vendor/freemius/includes/class-fs-hook-snapshot.php (added)
-
tags/1.2.4/vendor/freemius/includes/class-fs-lock.php (added)
-
tags/1.2.4/vendor/freemius/includes/class-fs-logger.php (added)
-
tags/1.2.4/vendor/freemius/includes/class-fs-options.php (added)
-
tags/1.2.4/vendor/freemius/includes/class-fs-plugin-updater.php (added)
-
tags/1.2.4/vendor/freemius/includes/class-fs-security.php (added)
-
tags/1.2.4/vendor/freemius/includes/class-fs-storage.php (added)
-
tags/1.2.4/vendor/freemius/includes/class-fs-user-lock.php (added)
-
tags/1.2.4/vendor/freemius/includes/customizer (added)
-
tags/1.2.4/vendor/freemius/includes/customizer/class-fs-customizer-support-section.php (added)
-
tags/1.2.4/vendor/freemius/includes/customizer/class-fs-customizer-upsell-control.php (added)
-
tags/1.2.4/vendor/freemius/includes/customizer/index.php (added)
-
tags/1.2.4/vendor/freemius/includes/debug (added)
-
tags/1.2.4/vendor/freemius/includes/debug/class-fs-debug-bar-panel.php (added)
-
tags/1.2.4/vendor/freemius/includes/debug/debug-bar-start.php (added)
-
tags/1.2.4/vendor/freemius/includes/debug/index.php (added)
-
tags/1.2.4/vendor/freemius/includes/entities (added)
-
tags/1.2.4/vendor/freemius/includes/entities/class-fs-affiliate-terms.php (added)
-
tags/1.2.4/vendor/freemius/includes/entities/class-fs-affiliate.php (added)
-
tags/1.2.4/vendor/freemius/includes/entities/class-fs-billing.php (added)
-
tags/1.2.4/vendor/freemius/includes/entities/class-fs-entity.php (added)
-
tags/1.2.4/vendor/freemius/includes/entities/class-fs-payment.php (added)
-
tags/1.2.4/vendor/freemius/includes/entities/class-fs-plugin-info.php (added)
-
tags/1.2.4/vendor/freemius/includes/entities/class-fs-plugin-license.php (added)
-
tags/1.2.4/vendor/freemius/includes/entities/class-fs-plugin-plan.php (added)
-
tags/1.2.4/vendor/freemius/includes/entities/class-fs-plugin-tag.php (added)
-
tags/1.2.4/vendor/freemius/includes/entities/class-fs-plugin.php (added)
-
tags/1.2.4/vendor/freemius/includes/entities/class-fs-pricing.php (added)
-
tags/1.2.4/vendor/freemius/includes/entities/class-fs-scope-entity.php (added)
-
tags/1.2.4/vendor/freemius/includes/entities/class-fs-site.php (added)
-
tags/1.2.4/vendor/freemius/includes/entities/class-fs-subscription.php (added)
-
tags/1.2.4/vendor/freemius/includes/entities/class-fs-user.php (added)
-
tags/1.2.4/vendor/freemius/includes/entities/index.php (added)
-
tags/1.2.4/vendor/freemius/includes/fs-core-functions.php (added)
-
tags/1.2.4/vendor/freemius/includes/fs-essential-functions.php (added)
-
tags/1.2.4/vendor/freemius/includes/fs-html-escaping-functions.php (added)
-
tags/1.2.4/vendor/freemius/includes/fs-plugin-info-dialog.php (added)
-
tags/1.2.4/vendor/freemius/includes/index.php (added)
-
tags/1.2.4/vendor/freemius/includes/l10n.php (added)
-
tags/1.2.4/vendor/freemius/includes/managers (added)
-
tags/1.2.4/vendor/freemius/includes/managers/class-fs-admin-menu-manager.php (added)
-
tags/1.2.4/vendor/freemius/includes/managers/class-fs-admin-notice-manager.php (added)
-
tags/1.2.4/vendor/freemius/includes/managers/class-fs-cache-manager.php (added)
-
tags/1.2.4/vendor/freemius/includes/managers/class-fs-checkout-manager.php (added)
-
tags/1.2.4/vendor/freemius/includes/managers/class-fs-clone-manager.php (added)
-
tags/1.2.4/vendor/freemius/includes/managers/class-fs-contact-form-manager.php (added)
-
tags/1.2.4/vendor/freemius/includes/managers/class-fs-debug-manager.php (added)
-
tags/1.2.4/vendor/freemius/includes/managers/class-fs-gdpr-manager.php (added)
-
tags/1.2.4/vendor/freemius/includes/managers/class-fs-key-value-storage.php (added)
-
tags/1.2.4/vendor/freemius/includes/managers/class-fs-license-manager.php (added)
-
tags/1.2.4/vendor/freemius/includes/managers/class-fs-option-manager.php (added)
-
tags/1.2.4/vendor/freemius/includes/managers/class-fs-permission-manager.php (added)
-
tags/1.2.4/vendor/freemius/includes/managers/class-fs-plan-manager.php (added)
-
tags/1.2.4/vendor/freemius/includes/managers/class-fs-plugin-manager.php (added)
-
tags/1.2.4/vendor/freemius/includes/managers/index.php (added)
-
tags/1.2.4/vendor/freemius/includes/sdk (added)
-
tags/1.2.4/vendor/freemius/includes/sdk/Exceptions (added)
-
tags/1.2.4/vendor/freemius/includes/sdk/Exceptions/ArgumentNotExistException.php (added)
-
tags/1.2.4/vendor/freemius/includes/sdk/Exceptions/EmptyArgumentException.php (added)
-
tags/1.2.4/vendor/freemius/includes/sdk/Exceptions/Exception.php (added)
-
tags/1.2.4/vendor/freemius/includes/sdk/Exceptions/InvalidArgumentException.php (added)
-
tags/1.2.4/vendor/freemius/includes/sdk/Exceptions/OAuthException.php (added)
-
tags/1.2.4/vendor/freemius/includes/sdk/Exceptions/index.php (added)
-
tags/1.2.4/vendor/freemius/includes/sdk/FreemiusBase.php (added)
-
tags/1.2.4/vendor/freemius/includes/sdk/FreemiusWordPress.php (added)
-
tags/1.2.4/vendor/freemius/includes/sdk/LICENSE.txt (added)
-
tags/1.2.4/vendor/freemius/includes/sdk/index.php (added)
-
tags/1.2.4/vendor/freemius/includes/supplements (added)
-
tags/1.2.4/vendor/freemius/includes/supplements/fs-essential-functions-1.1.7.1.php (added)
-
tags/1.2.4/vendor/freemius/includes/supplements/fs-essential-functions-2.2.1.php (added)
-
tags/1.2.4/vendor/freemius/includes/supplements/fs-migration-2.5.1.php (added)
-
tags/1.2.4/vendor/freemius/includes/supplements/index.php (added)
-
tags/1.2.4/vendor/freemius/index.php (added)
-
tags/1.2.4/vendor/freemius/languages (added)
-
tags/1.2.4/vendor/freemius/languages/freemius-cs_CZ.mo (added)
-
tags/1.2.4/vendor/freemius/languages/freemius-da_DK.mo (added)
-
tags/1.2.4/vendor/freemius/languages/freemius-de_DE.mo (added)
-
tags/1.2.4/vendor/freemius/languages/freemius-es_ES.mo (added)
-
tags/1.2.4/vendor/freemius/languages/freemius-fr_FR.mo (added)
-
tags/1.2.4/vendor/freemius/languages/freemius-he_IL.mo (added)
-
tags/1.2.4/vendor/freemius/languages/freemius-hu_HU.mo (added)
-
tags/1.2.4/vendor/freemius/languages/freemius-it_IT.mo (added)
-
tags/1.2.4/vendor/freemius/languages/freemius-ja.mo (added)
-
tags/1.2.4/vendor/freemius/languages/freemius-nl_NL.mo (added)
-
tags/1.2.4/vendor/freemius/languages/freemius-ru_RU.mo (added)
-
tags/1.2.4/vendor/freemius/languages/freemius-ta.mo (added)
-
tags/1.2.4/vendor/freemius/languages/freemius-zh_CN.mo (added)
-
tags/1.2.4/vendor/freemius/languages/freemius.pot (added)
-
tags/1.2.4/vendor/freemius/languages/index.php (added)
-
tags/1.2.4/vendor/freemius/require.php (added)
-
tags/1.2.4/vendor/freemius/start.php (added)
-
tags/1.2.4/vendor/freemius/templates (added)
-
tags/1.2.4/vendor/freemius/templates/account (added)
-
tags/1.2.4/vendor/freemius/templates/account.php (added)
-
tags/1.2.4/vendor/freemius/templates/account/billing.php (added)
-
tags/1.2.4/vendor/freemius/templates/account/index.php (added)
-
tags/1.2.4/vendor/freemius/templates/account/partials (added)
-
tags/1.2.4/vendor/freemius/templates/account/partials/activate-license-button.php (added)
-
tags/1.2.4/vendor/freemius/templates/account/partials/addon.php (added)
-
tags/1.2.4/vendor/freemius/templates/account/partials/deactivate-license-button.php (added)
-
tags/1.2.4/vendor/freemius/templates/account/partials/disconnect-button.php (added)
-
tags/1.2.4/vendor/freemius/templates/account/partials/index.php (added)
-
tags/1.2.4/vendor/freemius/templates/account/partials/site.php (added)
-
tags/1.2.4/vendor/freemius/templates/account/payments.php (added)
-
tags/1.2.4/vendor/freemius/templates/add-ons.php (added)
-
tags/1.2.4/vendor/freemius/templates/add-trial-to-pricing.php (added)
-
tags/1.2.4/vendor/freemius/templates/admin-notice.php (added)
-
tags/1.2.4/vendor/freemius/templates/ajax-loader.php (added)
-
tags/1.2.4/vendor/freemius/templates/api-connectivity-message-js.php (added)
-
tags/1.2.4/vendor/freemius/templates/auto-installation.php (added)
-
tags/1.2.4/vendor/freemius/templates/checkout (added)
-
tags/1.2.4/vendor/freemius/templates/checkout.php (added)
-
tags/1.2.4/vendor/freemius/templates/checkout/frame.php (added)
-
tags/1.2.4/vendor/freemius/templates/checkout/process-redirect.php (added)
-
tags/1.2.4/vendor/freemius/templates/checkout/redirect.php (added)
-
tags/1.2.4/vendor/freemius/templates/clone-resolution-js.php (added)
-
tags/1.2.4/vendor/freemius/templates/connect (added)
-
tags/1.2.4/vendor/freemius/templates/connect.php (added)
-
tags/1.2.4/vendor/freemius/templates/connect/index.php (added)
-
tags/1.2.4/vendor/freemius/templates/connect/permission.php (added)
-
tags/1.2.4/vendor/freemius/templates/connect/permissions-group.php (added)
-
tags/1.2.4/vendor/freemius/templates/contact.php (added)
-
tags/1.2.4/vendor/freemius/templates/debug (added)
-
tags/1.2.4/vendor/freemius/templates/debug.php (added)
-
tags/1.2.4/vendor/freemius/templates/debug/api-calls.php (added)
-
tags/1.2.4/vendor/freemius/templates/debug/index.php (added)
-
tags/1.2.4/vendor/freemius/templates/debug/logger.php (added)
-
tags/1.2.4/vendor/freemius/templates/debug/plugins-themes-sync.php (added)
-
tags/1.2.4/vendor/freemius/templates/debug/scheduled-crons.php (added)
-
tags/1.2.4/vendor/freemius/templates/email.php (added)
-
tags/1.2.4/vendor/freemius/templates/forms (added)
-
tags/1.2.4/vendor/freemius/templates/forms/affiliation.php (added)
-
tags/1.2.4/vendor/freemius/templates/forms/data-debug-mode.php (added)
-
tags/1.2.4/vendor/freemius/templates/forms/deactivation (added)
-
tags/1.2.4/vendor/freemius/templates/forms/deactivation/contact.php (added)
-
tags/1.2.4/vendor/freemius/templates/forms/deactivation/form.php (added)
-
tags/1.2.4/vendor/freemius/templates/forms/deactivation/index.php (added)
-
tags/1.2.4/vendor/freemius/templates/forms/deactivation/retry-skip.php (added)
-
tags/1.2.4/vendor/freemius/templates/forms/email-address-update.php (added)
-
tags/1.2.4/vendor/freemius/templates/forms/index.php (added)
-
tags/1.2.4/vendor/freemius/templates/forms/license-activation.php (added)
-
tags/1.2.4/vendor/freemius/templates/forms/optout.php (added)
-
tags/1.2.4/vendor/freemius/templates/forms/premium-versions-upgrade-handler.php (added)
-
tags/1.2.4/vendor/freemius/templates/forms/premium-versions-upgrade-metadata.php (added)
-
tags/1.2.4/vendor/freemius/templates/forms/resend-key.php (added)
-
tags/1.2.4/vendor/freemius/templates/forms/subscription-cancellation.php (added)
-
tags/1.2.4/vendor/freemius/templates/forms/trial-start.php (added)
-
tags/1.2.4/vendor/freemius/templates/forms/user-change.php (added)
-
tags/1.2.4/vendor/freemius/templates/gdpr-optin-js.php (added)
-
tags/1.2.4/vendor/freemius/templates/index.php (added)
-
tags/1.2.4/vendor/freemius/templates/js (added)
-
tags/1.2.4/vendor/freemius/templates/js/index.php (added)
-
tags/1.2.4/vendor/freemius/templates/js/jquery.content-change.php (added)
-
tags/1.2.4/vendor/freemius/templates/js/open-license-activation.php (added)
-
tags/1.2.4/vendor/freemius/templates/js/permissions.php (added)
-
tags/1.2.4/vendor/freemius/templates/js/style-premium-theme.php (added)
-
tags/1.2.4/vendor/freemius/templates/partials (added)
-
tags/1.2.4/vendor/freemius/templates/partials/index.php (added)
-
tags/1.2.4/vendor/freemius/templates/partials/network-activation.php (added)
-
tags/1.2.4/vendor/freemius/templates/plugin-icon.php (added)
-
tags/1.2.4/vendor/freemius/templates/plugin-info (added)
-
tags/1.2.4/vendor/freemius/templates/plugin-info/description.php (added)
-
tags/1.2.4/vendor/freemius/templates/plugin-info/features.php (added)
-
tags/1.2.4/vendor/freemius/templates/plugin-info/index.php (added)
-
tags/1.2.4/vendor/freemius/templates/plugin-info/screenshots.php (added)
-
tags/1.2.4/vendor/freemius/templates/pricing.php (added)
-
tags/1.2.4/vendor/freemius/templates/secure-https-header.php (added)
-
tags/1.2.4/vendor/freemius/templates/sticky-admin-notice-js.php (added)
-
tags/1.2.4/vendor/freemius/templates/tabs-capture-js.php (added)
-
tags/1.2.4/vendor/freemius/templates/tabs.php (added)
-
trunk/build/admin/dashboard.asset.php (modified) (1 diff)
-
trunk/build/admin/dashboard.js (modified) (1 diff)
-
trunk/document-embedder-addons-for-elementor.php (modified) (2 diffs)
-
trunk/public/widgets/deafe-doc-embedder.php (modified) (3 diffs)
-
trunk/public/widgets/deafe-excel-embedder.php (modified) (3 diffs)
-
trunk/public/widgets/deafe-excel-viewer.php (modified) (3 diffs)
-
trunk/public/widgets/deafe-google-docs.php (modified) (3 diffs)
-
trunk/public/widgets/deafe-google-sheets.php (modified) (3 diffs)
-
trunk/public/widgets/deafe-google-slides.php (modified) (3 diffs)
-
trunk/public/widgets/deafe-pdf-embedder.php (modified) (3 diffs)
-
trunk/public/widgets/deafe-pdf-native-embedder.php (modified) (3 diffs)
-
trunk/public/widgets/deafe-powerpoint-embedder.php (modified) (3 diffs)
-
trunk/public/widgets/deafe-powerpoint-viewer.php (modified) (3 diffs)
-
trunk/public/widgets/deafe-word-viewer.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
document-embedder-addons-for-elementor/trunk/build/admin/dashboard.asset.php
r3636636 r3763540 1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-i18n'), 'version' => ' bd43b56d2f4e52c71a69');1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-i18n'), 'version' => '1f4a552774efde6d5aa4'); -
document-embedder-addons-for-elementor/trunk/build/admin/dashboard.js
r3636636 r3763540 1 (()=>{"use strict";var e={338:(e,t,n)=>{var r=n(795);t.H=r.createRoot,r.hydrateRoot},795:e=>{e.exports=window.ReactDOM}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var l=t[r]={exports:{}};return e[r](l,l.exports,n),l.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);const r=window.React;var a=n(338),l="popstate";function o(e={}){return function(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:o=!1}=r,s=a.history,u="POP",h=null,p=g();function g(){return(s.state||{idx:null}).idx}function v(){u="POP";let e=g(),t=null==e?null:e-p;p=e,h&&h({action:u,location:w.location,delta:t})}function f(e){return function(e,t=!1){let n="http://localhost";"undefined"!=typeof window&&(n="null"!==window.location.origin?window.location.origin:window.location.href),i(n,"No window.location.(origin|href) available to create URL");let r="string"==typeof e?e:m(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}(e)}null==p&&(p=0,s.replaceState({...s.state,idx:p},""));let w={get action(){return u},get location(){return e(a,s)},listen(e){if(h)throw new Error("A history only accepts one active listener");return a.addEventListener(l,v),h=e,()=>{a.removeEventListener(l,v),h=null}},createHref:e=>t(a,e),createURL:f,encodeLocation(e){let t=f(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){u="PUSH";let r=d(w.location,e,t);n&&n(r,e),p=g()+1;let l=c(r,p),i=w.createHref(r);try{s.pushState(l,"",i)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;a.location.assign(i)}o&&h&&h({action:u,location:w.location,delta:1})},replace:function(e,t){u="REPLACE";let r=d(w.location,e,t);n&&n(r,e),p=g();let a=c(r,p),l=w.createHref(r);s.replaceState(a,"",l),o&&h&&h({action:u,location:w.location,delta:0})},go:e=>s.go(e)};return w}(function(e,t){let{pathname:n="/",search:r="",hash:a=""}=u(e.location.hash.substring(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),d("",{pathname:n,search:r,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:m(t))},function(e,t){s("/"===e.pathname.charAt(0),`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)},e)}function i(e,t){if(!1===e||null==e)throw new Error(t)}function s(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function c(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,n=null,r){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?u(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10)}}function m({pathname:e="/",search:t="",hash:n=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function u(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function h(e,t,n="/"){return function(e,t,n,r){let a=M(("string"==typeof t?u(t):t).pathname||"/",n);if(null==a)return null;let l=p(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(l);let o=null;for(let e=0;null==o&&e<l.length;++e){let t=_(a);o=x(l[e],t,r)}return o}(e,t,n,!1)}function p(e,t=[],n=[],r="",a=!1){let l=(e,l,o=a,s)=>{let c={relativePath:void 0===s?e.path||"":s,caseSensitive:!0===e.caseSensitive,childrenIndex:l,route:e};if(c.relativePath.startsWith("/")){if(!c.relativePath.startsWith(r)&&o)return;i(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let d=P([r,c.relativePath]),m=n.concat(c);e.children&&e.children.length>0&&(i(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${d}".`),p(e.children,t,m,d,o)),(null!=e.path||e.index)&&t.push({path:d,score:k(d,e.index),routesMeta:m})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of g(e.path))l(e,t,!0,n);else l(e,t)}),t}function g(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,a=n.endsWith("?"),l=n.replace(/\?$/,"");if(0===r.length)return a?[l,""]:[l];let o=g(r.join("/")),i=[];return i.push(...o.map(e=>""===e?l:[l,e].join("/"))),a&&i.push(...o),i.map(t=>e.startsWith("/")&&""===t?"/":t)}new WeakMap;var v=/^:[\w-]+$/,f=3,w=2,E=1,y=10,C=-2,b=e=>"*"===e;function k(e,t){let n=e.split("/"),r=n.length;return n.some(b)&&(r+=C),t&&(r+=w),n.filter(e=>!b(e)).reduce((e,t)=>e+(v.test(t)?f:""===t?E:y),r)}function x(e,t,n=!1){let{routesMeta:r}=e,a={},l="/",o=[];for(let e=0;e<r.length;++e){let i=r[e],s=e===r.length-1,c="/"===l?t:t.slice(l.length)||"/",d=L({path:i.relativePath,caseSensitive:i.caseSensitive,end:s},c),m=i.route;if(!d&&s&&n&&!r[r.length-1].route.index&&(d=L({path:i.relativePath,caseSensitive:i.caseSensitive,end:!1},c)),!d)return null;Object.assign(a,d.params),o.push({params:a,pathname:P([l,d.pathname]),pathnameBase:S(P([l,d.pathnameBase])),route:m}),"/"!==d.pathnameBase&&(l=P([l,d.pathnameBase]))}return o}function L(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t=!1,n=!0){s("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let l=a[0],o=l.replace(/(.)\/+$/,"$1"),i=a.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if("*"===t){let e=i[r]||"";o=l.slice(0,l.length-e.length).replace(/(.)\/+$/,"$1")}const a=i[r];return e[t]=n&&!a?void 0:(a||"").replace(/%2F/g,"/"),e},{}),pathname:l,pathnameBase:o,pattern:e}}function _(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return s(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function M(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function V(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function N(e){let t=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function H(e,t,n,r=!1){let a;"string"==typeof e?a=u(e):(a={...e},i(!a.pathname||!a.pathname.includes("?"),V("?","pathname","search",a)),i(!a.pathname||!a.pathname.includes("#"),V("#","pathname","hash",a)),i(!a.search||!a.search.includes("#"),V("#","search","hash",a)));let l,o=""===e||""===a.pathname,s=o?"/":a.pathname;if(null==s)l=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}l=e>=0?t[e]:"/"}let c=function(e,t="/"){let{pathname:n,search:r="",hash:a=""}="string"==typeof e?u(e):e,l=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:l,search:F(r),hash:B(a)}}(a,l),d=s&&"/"!==s&&s.endsWith("/"),m=(o||"."===s)&&n.endsWith("/");return c.pathname.endsWith("/")||!d&&!m||(c.pathname+="/"),c}var P=e=>e.join("/").replace(/\/\/+/g,"/"),S=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),F=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",B=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function z(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}var D=["POST","PUT","PATCH","DELETE"],A=(new Set(D),["GET",...D]);new Set(A),Symbol("ResetLoaderData");var $=r.createContext(null);$.displayName="DataRouter";var R=r.createContext(null);R.displayName="DataRouterState";r.createContext(!1);var I=r.createContext({isTransitioning:!1});I.displayName="ViewTransition",r.createContext(new Map).displayName="Fetchers",r.createContext(null).displayName="Await";var Z=r.createContext(null);Z.displayName="Navigation";var T=r.createContext(null);T.displayName="Location";var j=r.createContext({outlet:null,matches:[],isDataRoute:!1});j.displayName="Route";var O=r.createContext(null);function W(){return null!=r.useContext(T)}function U(){return i(W(),"useLocation() may be used only in the context of a <Router> component."),r.useContext(T).location}O.displayName="RouteError";var q="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function G(e){r.useContext(Z).static||r.useLayoutEffect(e)}function J(){let{isDataRoute:e}=r.useContext(j);return e?function(){let{router:e}=function(e){let t=r.useContext($);return i(t,re(e)),t}("useNavigate"),t=ae("useNavigate"),n=r.useRef(!1);return G(()=>{n.current=!0}),r.useCallback(async(r,a={})=>{s(n.current,q),n.current&&("number"==typeof r?e.navigate(r):await e.navigate(r,{fromRouteId:t,...a}))},[e,t])}():function(){i(W(),"useNavigate() may be used only in the context of a <Router> component.");let e=r.useContext($),{basename:t,navigator:n}=r.useContext(Z),{matches:a}=r.useContext(j),{pathname:l}=U(),o=JSON.stringify(N(a)),c=r.useRef(!1);return G(()=>{c.current=!0}),r.useCallback((r,a={})=>{if(s(c.current,q),!c.current)return;if("number"==typeof r)return void n.go(r);let i=H(r,JSON.parse(o),l,"path"===a.relative);null==e&&"/"!==t&&(i.pathname="/"===i.pathname?t:P([t,i.pathname])),(a.replace?n.replace:n.push)(i,a.state,a)},[t,n,o,l,e])}()}var Y=r.createContext(null);function K(e,{relative:t}={}){let{matches:n}=r.useContext(j),{pathname:a}=U(),l=JSON.stringify(N(n));return r.useMemo(()=>H(e,JSON.parse(l),a,"path"===t),[e,l,a,t])}function Q(e,t,n,a,l){i(W(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=r.useContext(Z),{matches:c}=r.useContext(j),d=c[c.length-1],m=d?d.params:{},p=d?d.pathname:"/",g=d?d.pathnameBase:"/",v=d&&d.route;{let e=v&&v.path||"";oe(p,!v||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let f,w=U();if(t){let e="string"==typeof t?u(t):t;i("/"===g||e.pathname?.startsWith(g),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${e.pathname}" was given in the \`location\` prop.`),f=e}else f=w;let E=f.pathname||"/",y=E;if("/"!==g){let e=g.replace(/^\//,"").split("/");y="/"+E.replace(/^\//,"").split("/").slice(e.length).join("/")}let C=h(e,{pathname:y});s(v||null!=C,`No routes matched location "${f.pathname}${f.search}${f.hash}" `),s(null==C||void 0!==C[C.length-1].route.element||void 0!==C[C.length-1].route.Component||void 0!==C[C.length-1].route.lazy,`Matched leaf route at location "${f.pathname}${f.search}${f.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let b=function(e,t=[],n=null,a=null){if(null==e){if(!n)return null;if(n.errors)e=n.matches;else{if(0!==t.length||n.initialized||!(n.matches.length>0))return null;e=n.matches}}let l=e,o=n?.errors;if(null!=o){let e=l.findIndex(e=>e.route.id&&void 0!==o?.[e.route.id]);i(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),l=l.slice(0,Math.min(l.length,e+1))}let s=!1,c=-1;if(n)for(let e=0;e<l.length;e++){let t=l[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(c=e),t.route.id){let{loaderData:e,errors:r}=n,a=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!r||void 0===r[t.route.id]);if(t.route.lazy||a){s=!0,l=c>=0?l.slice(0,c+1):[l[0]];break}}}return l.reduceRight((e,i,d)=>{let m,u=!1,h=null,p=null;n&&(m=o&&i.route.id?o[i.route.id]:void 0,h=i.route.errorElement||ee,s&&(c<0&&0===d?(oe("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),u=!0,p=null):c===d&&(u=!0,p=i.route.hydrateFallbackElement||null)));let g=t.concat(l.slice(0,d+1)),v=()=>{let t;return t=m?h:u?p:i.route.Component?r.createElement(i.route.Component,null):i.route.element?i.route.element:e,r.createElement(ne,{match:i,routeContext:{outlet:e,matches:g,isDataRoute:null!=n},children:t})};return n&&(i.route.ErrorBoundary||i.route.errorElement||0===d)?r.createElement(te,{location:n.location,revalidation:n.revalidation,component:h,error:m,children:v(),routeContext:{outlet:null,matches:g,isDataRoute:!0},unstable_onError:a}):v()},null)}(C&&C.map(e=>Object.assign({},e,{params:Object.assign({},m,e.params),pathname:P([g,o.encodeLocation?o.encodeLocation(e.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?g:P([g,o.encodeLocation?o.encodeLocation(e.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),c,n,a,l);return t&&b?r.createElement(T.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...f},navigationType:"POP"}},b):b}function X(){let e=function(){let e=r.useContext(O),t=function(e){let t=r.useContext(R);return i(t,re(e)),t}("useRouteError"),n=ae("useRouteError");return void 0!==e?e:t.errors?.[n]}(),t=z(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:a},o={padding:"2px 4px",backgroundColor:a},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=r.createElement(r.Fragment,null,r.createElement("p",null,"💿 Hey developer 👋"),r.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",r.createElement("code",{style:o},"ErrorBoundary")," or"," ",r.createElement("code",{style:o},"errorElement")," prop on your route.")),r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),n?r.createElement("pre",{style:l},n):null,s)}var ee=r.createElement(X,null),te=class extends r.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.unstable_onError?this.props.unstable_onError(e,t):console.error("React Router caught the following error during render",e)}render(){return void 0!==this.state.error?r.createElement(j.Provider,{value:this.props.routeContext},r.createElement(O.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function ne({routeContext:e,match:t,children:n}){let a=r.useContext($);return a&&a.static&&a.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=t.route.id),r.createElement(j.Provider,{value:e},n)}function re(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function ae(e){let t=function(e){let t=r.useContext(j);return i(t,re(e)),t}(e),n=t.matches[t.matches.length-1];return i(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}var le={};function oe(e,t,n){t||le[e]||(le[e]=!0,s(!1,n))}function ie({to:e,replace:t,state:n,relative:a}){i(W(),"<Navigate> may be used only in the context of a <Router> component.");let{static:l}=r.useContext(Z);s(!l,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:o}=r.useContext(j),{pathname:c}=U(),d=J(),m=H(e,N(o),c,"path"===a),u=JSON.stringify(m);return r.useEffect(()=>{d(JSON.parse(u),{replace:t,state:n,relative:a})},[d,u,a,t,n]),null}function se(e){return function(e){let t=r.useContext(j).outlet;return r.useMemo(()=>t&&r.createElement(Y.Provider,{value:e},t),[t,e])}(e.context)}function ce(e){i(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function de({basename:e="/",children:t=null,location:n,navigationType:a="POP",navigator:l,static:o=!1}){i(!W(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),d=r.useMemo(()=>({basename:c,navigator:l,static:o,future:{}}),[c,l,o]);"string"==typeof n&&(n=u(n));let{pathname:m="/",search:h="",hash:p="",state:g=null,key:v="default"}=n,f=r.useMemo(()=>{let e=M(m,c);return null==e?null:{location:{pathname:e,search:h,hash:p,state:g,key:v},navigationType:a}},[c,m,h,p,g,v,a]);return s(null!=f,`<Router basename="${c}"> is not able to match the URL "${m}${h}${p}" because it does not start with the basename, so the <Router> won't render anything.`),null==f?null:r.createElement(Z.Provider,{value:d},r.createElement(T.Provider,{children:t,value:f}))}function me({children:e,location:t}){return Q(ue(e),t)}function ue(e,t=[]){let n=[];return r.Children.forEach(e,(e,a)=>{if(!r.isValidElement(e))return;let l=[...t,a];if(e.type===r.Fragment)return void n.push.apply(n,ue(e.props.children,l));i(e.type===ce,`[${"string"==typeof e.type?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),i(!e.props.index||!e.props.children,"An index route cannot have child routes.");let o={id:e.props.id||l.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=ue(e.props.children,l)),n.push(o)}),n}r.memo(function({routes:e,future:t,state:n,unstable_onError:r}){return Q(e,void 0,n,r,t)}),r.Component;var he="get",pe="application/x-www-form-urlencoded";function ge(e){return null!=e&&"string"==typeof e.tagName}var ve=null,fe=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function we(e){return null==e||fe.has(e)?e:(s(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${pe}"`),null)}function Ee(e,t){if(!1===e||null==e)throw new Error(t)}function ye(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function Ce(e,t,n,r,a,l){let o=(e,t)=>!n[t]||e.route.id!==n[t].route.id,i=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith("*")&&n[t].params["*"]!==e.params["*"];return"assets"===l?t.filter((e,t)=>o(e,t)||i(e,t)):"data"===l?t.filter((t,l)=>{let s=r.routes[t.route.id];if(!s||!s.hasLoader)return!1;if(o(t,l)||i(t,l))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof r)return r}return!0}):[]}function be(e,t,{includeHydrateFallback:n}={}){return r=e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let a=[r.module];return r.clientActionModule&&(a=a.concat(r.clientActionModule)),r.clientLoaderModule&&(a=a.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(a=a.concat(r.hydrateFallbackModule)),r.imports&&(a=a.concat(r.imports)),a}).flat(1),[...new Set(r)];var r}function ke(){let e=r.useContext($);return Ee(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function xe(){let e=r.useContext(R);return Ee(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}Object.getOwnPropertyNames(Object.prototype).sort().join("\0"),"undefined"!=typeof window?window:"undefined"!=typeof globalThis&&globalThis,Symbol("SingleFetchRedirect");var Le=r.createContext(void 0);function _e(){let e=r.useContext(Le);return Ee(e,"You must render this element inside a <HydratedRouter> element"),e}function Me(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Ve({page:e,...t}){let{router:n}=ke(),a=r.useMemo(()=>h(n.routes,e,n.basename),[n.routes,e,n.basename]);return a?r.createElement(He,{page:e,matches:a,...t}):null}function Ne(e){let{manifest:t,routeModules:n}=_e(),[a,l]=r.useState([]);return r.useEffect(()=>{let r=!1;return async function(e,t,n){return function(e,t){let n=new Set,r=new Set(t);return e.reduce((e,a)=>{if(t&&(null==(l=a)||"string"!=typeof l.page)&&"script"===a.as&&a.href&&r.has(a.href))return e;var l;let o=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(a));return n.has(o)||(n.add(o),e.push({key:o,link:a})),e},[])}((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(ye).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"}))}(e,t,n).then(e=>{r||l(e)}),()=>{r=!0}},[e,t,n]),a}function He({page:e,matches:t,...n}){let a=U(),{manifest:l,routeModules:o}=_e(),{basename:i}=ke(),{loaderData:s,matches:c}=xe(),d=r.useMemo(()=>Ce(e,t,c,l,a,"data"),[e,t,c,l,a]),m=r.useMemo(()=>Ce(e,t,c,l,a,"assets"),[e,t,c,l,a]),u=r.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let n=new Set,r=!1;if(t.forEach(e=>{let t=l.routes[e.route.id];t&&t.hasLoader&&(!d.some(t=>t.route.id===e.route.id)&&e.route.id in s&&o[e.route.id]?.shouldRevalidate||t.hasClientLoader?r=!0:n.add(e.route.id))}),0===n.size)return[];let c=function(e,t,n){let r="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return"/"===r.pathname?r.pathname=`_root.${n}`:t&&"/"===M(r.pathname,t)?r.pathname=`${t.replace(/\/$/,"")}/_root.${n}`:r.pathname=`${r.pathname.replace(/\/$/,"")}.${n}`,r}(e,i,"data");return r&&n.size>0&&c.searchParams.set("_routes",t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(",")),[c.pathname+c.search]},[i,s,a,l,d,t,e,o]),h=r.useMemo(()=>be(m,l),[m,l]),p=Ne(m);return r.createElement(r.Fragment,null,u.map(e=>r.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n})),h.map(e=>r.createElement("link",{key:e,rel:"modulepreload",href:e,...n})),p.map(({key:e,link:t})=>r.createElement("link",{key:e,nonce:n.nonce,...t})))}Le.displayName="FrameworkContext";function Pe(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}r.Component;var Se="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{Se&&(window.__reactRouterVersion="7.9.4")}catch(e){}function Fe({basename:e,children:t,window:n}){let a=r.useRef();null==a.current&&(a.current=o({window:n,v5Compat:!0}));let l=a.current,[i,s]=r.useState({action:l.action,location:l.location}),c=r.useCallback(e=>{r.startTransition(()=>s(e))},[s]);return r.useLayoutEffect(()=>l.listen(c),[l,c]),r.createElement(de,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:l})}var Be=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ze=r.forwardRef(function({onClick:e,discover:t="render",prefetch:n="none",relative:a,reloadDocument:l,replace:o,state:c,target:d,to:u,preventScrollReset:h,viewTransition:p,...g},v){let f,{basename:w}=r.useContext(Z),E="string"==typeof u&&Be.test(u),y=!1;if("string"==typeof u&&E&&(f=u,Se))try{let e=new URL(window.location.href),t=u.startsWith("//")?new URL(e.protocol+u):new URL(u),n=M(t.pathname,w);t.origin===e.origin&&null!=n?u=n+t.search+t.hash:y=!0}catch(e){s(!1,`<Link to="${u}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let C=function(e,{relative:t}={}){i(W(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:a}=r.useContext(Z),{hash:l,pathname:o,search:s}=K(e,{relative:t}),c=o;return"/"!==n&&(c="/"===o?n:P([n,o])),a.createHref({pathname:c,search:s,hash:l})}(u,{relative:a}),[b,k,x]=function(e,t){let n=r.useContext(Le),[a,l]=r.useState(!1),[o,i]=r.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:d,onMouseLeave:m,onTouchStart:u}=t,h=r.useRef(null);r.useEffect(()=>{if("render"===e&&i(!0),"viewport"===e){let e=new IntersectionObserver(e=>{e.forEach(e=>{i(e.isIntersecting)})},{threshold:.5});return h.current&&e.observe(h.current),()=>{e.disconnect()}}},[e]),r.useEffect(()=>{if(a){let e=setTimeout(()=>{i(!0)},100);return()=>{clearTimeout(e)}}},[a]);let p=()=>{l(!0)},g=()=>{l(!1),i(!1)};return n?"intent"!==e?[o,h,{}]:[o,h,{onFocus:Me(s,p),onBlur:Me(c,g),onMouseEnter:Me(d,p),onMouseLeave:Me(m,g),onTouchStart:Me(u,p)}]:[!1,h,{}]}(n,g),L=function(e,{target:t,replace:n,state:a,preventScrollReset:l,relative:o,viewTransition:i}={}){let s=J(),c=U(),d=K(e,{relative:o});return r.useCallback(r=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(r,t)){r.preventDefault();let t=void 0!==n?n:m(c)===m(d);s(e,{replace:t,state:a,preventScrollReset:l,relative:o,viewTransition:i})}},[c,s,d,n,a,t,e,l,o,i])}(u,{replace:o,state:c,target:d,preventScrollReset:h,relative:a,viewTransition:p}),_=r.createElement("a",{...g,...x,href:f||C,onClick:y||l?e:function(t){e&&e(t),t.defaultPrevented||L(t)},ref:Pe(v,k),target:d,"data-discover":E||"render"!==t?void 0:"true"});return b&&!E?r.createElement(r.Fragment,null,_,r.createElement(Ve,{page:C})):_});function De(e){let t=r.useContext($);return i(t,function(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),t}ze.displayName="Link",r.forwardRef(function({"aria-current":e="page",caseSensitive:t=!1,className:n="",end:a=!1,style:l,to:o,viewTransition:s,children:c,...d},m){let u=K(o,{relative:d.relative}),h=U(),p=r.useContext(R),{navigator:g,basename:v}=r.useContext(Z),f=null!=p&&function(e,{relative:t}={}){let n=r.useContext(I);i(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=De("useViewTransitionState"),l=K(e,{relative:t});if(!n.isTransitioning)return!1;let o=M(n.currentLocation.pathname,a)||n.currentLocation.pathname,s=M(n.nextLocation.pathname,a)||n.nextLocation.pathname;return null!=L(l.pathname,s)||null!=L(l.pathname,o)}(u)&&!0===s,w=g.encodeLocation?g.encodeLocation(u).pathname:u.pathname,E=h.pathname,y=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;t||(E=E.toLowerCase(),y=y?y.toLowerCase():null,w=w.toLowerCase()),y&&v&&(y=M(y,v)||y);const C="/"!==w&&w.endsWith("/")?w.length-1:w.length;let b,k=E===w||!a&&E.startsWith(w)&&"/"===E.charAt(C),x=null!=y&&(y===w||!a&&y.startsWith(w)&&"/"===y.charAt(w.length)),_={isActive:k,isPending:x,isTransitioning:f},V=k?e:void 0;b="function"==typeof n?n(_):[n,k?"active":null,x?"pending":null,f?"transitioning":null].filter(Boolean).join(" ");let N="function"==typeof l?l(_):l;return r.createElement(ze,{...d,"aria-current":V,className:b,ref:m,style:N,to:o,viewTransition:s},"function"==typeof c?c(_):c)}).displayName="NavLink",r.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:a,replace:l,state:o,method:s=he,action:c,onSubmit:d,relative:u,preventScrollReset:h,viewTransition:p,...g},v)=>{let f=function(){let{router:e}=De("useSubmit"),{basename:t}=r.useContext(Z),n=ae("useRouteId");return r.useCallback(async(r,a={})=>{let{action:l,method:o,encType:i,formData:s,body:c}=function(e,t){let n,r,a,l,o;if(ge(i=e)&&"form"===i.tagName.toLowerCase()){let o=e.getAttribute("action");r=o?M(o,t):null,n=e.getAttribute("method")||he,a=we(e.getAttribute("enctype"))||pe,l=new FormData(e)}else if(function(e){return ge(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return ge(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let o=e.form;if(null==o)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let i=e.getAttribute("formaction")||o.getAttribute("action");if(r=i?M(i,t):null,n=e.getAttribute("formmethod")||o.getAttribute("method")||he,a=we(e.getAttribute("formenctype"))||we(o.getAttribute("enctype"))||pe,l=new FormData(o,e),!function(){if(null===ve)try{new FormData(document.createElement("form"),0),ve=!1}catch(e){ve=!0}return ve}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?`${t}.`:"";l.append(`${e}x`,"0"),l.append(`${e}y`,"0")}else t&&l.append(t,r)}}else{if(ge(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=he,r=null,a=pe,o=e}var i;return l&&"text/plain"===a&&(o=l,l=void 0),{action:r,method:n.toLowerCase(),encType:a,formData:l,body:o}}(r,t);if(!1===a.navigate){let t=a.fetcherKey||$e();await e.fetch(t,n,a.action||l,{preventScrollReset:a.preventScrollReset,formData:s,body:c,formMethod:a.method||o,formEncType:a.encType||i,flushSync:a.flushSync})}else await e.navigate(a.action||l,{preventScrollReset:a.preventScrollReset,formData:s,body:c,formMethod:a.method||o,formEncType:a.encType||i,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,n])}(),w=function(e,{relative:t}={}){let{basename:n}=r.useContext(Z),a=r.useContext(j);i(a,"useFormAction must be used inside a RouteContext");let[l]=a.matches.slice(-1),o={...K(e||".",{relative:t})},s=U();if(null==e){o.search=s.search;let e=new URLSearchParams(o.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();o.search=n?`?${n}`:""}}return e&&"."!==e||!l.route.index||(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),"/"!==n&&(o.pathname="/"===o.pathname?n:P([n,o.pathname])),m(o)}(c,{relative:u}),E="get"===s.toLowerCase()?"get":"post",y="string"==typeof c&&Be.test(c);return r.createElement("form",{ref:v,method:E,action:w,onSubmit:a?d:e=>{if(d&&d(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,a=r?.getAttribute("formmethod")||s;f(r||e.currentTarget,{fetcherKey:t,method:a,navigate:n,replace:l,state:o,relative:u,preventScrollReset:h,viewTransition:p})},...g,"data-discover":y||"render"!==e?void 0:"true"})}).displayName="Form";var Ae=0,$e=()=>`__${String(++Ae)}__`;const Re=({type:e="button",href:t="",target:n="",onClick:a=null,className:l,variant:o="primary",size:i="",children:s,disabled:c=!1,...d})=>{const m=`bPlButton ${o?`variant-${o}`:""} ${i?`size-${i}`:""} ${l||""} ${c?"bPlButton-disabled":""}`;return"function"!=typeof a&&t?(0,r.createElement)("a",{href:t,target:n,className:m,...d},s):(0,r.createElement)("button",{type:e,className:m,...d,onClick:a},s)},Ie="#146EF5",Ze=((0,r.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",width:15,height:15,viewBox:"0 0 548.172 548.172"},(0,r.createElement)("path",{fill:Ie,d:"M534.75 49.965c-8.945-8.945-19.694-13.422-32.261-13.422H45.681c-12.562 0-23.313 4.477-32.264 13.422C4.471 58.913 0 69.663 0 82.226v310.633c0 12.566 4.471 23.315 13.417 32.265 8.951 8.945 19.702 13.414 32.264 13.414h155.318c0 7.231-1.524 14.661-4.57 22.269-3.044 7.614-6.09 14.273-9.136 19.981-3.042 5.715-4.565 9.897-4.565 12.56 0 4.948 1.807 9.24 5.424 12.847 3.615 3.621 7.898 5.435 12.847 5.435h146.179c4.949 0 9.233-1.813 12.848-5.435 3.62-3.606 5.427-7.898 5.427-12.847 0-2.468-1.526-6.611-4.571-12.415-3.046-5.801-6.092-12.566-9.134-20.267-3.046-7.71-4.569-15.085-4.569-22.128h155.318c12.56 0 23.309-4.469 32.254-13.414 8.949-8.949 13.422-19.698 13.422-32.265V82.226c.003-12.563-4.474-23.313-13.423-32.261zm-23.123 269.803c0 2.475-.903 4.613-2.711 6.424-1.81 1.804-3.952 2.707-6.427 2.707H45.681c-2.473 0-4.615-.903-6.423-2.707-1.807-1.817-2.712-3.949-2.712-6.424V82.226c0-2.475.902-4.615 2.712-6.423 1.809-1.805 3.951-2.712 6.423-2.712h456.815c2.471 0 4.617.904 6.42 2.712 1.808 1.809 2.711 3.949 2.711 6.423v237.542z"})),(0,r.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",width:15,height:15,viewBox:"0 0 512 512"},(0,r.createElement)("path",{fill:Ie,d:"M394.667 0H117.333C87.936 0 64 23.936 64 53.333v405.333C64 488.064 87.936 512 117.333 512h277.333C424.064 512 448 488.064 448 458.667V53.333C448 23.936 424.064 0 394.667 0zM256 480c-11.755 0-21.333-9.579-21.333-21.333s9.579-21.333 21.333-21.333 21.333 9.579 21.333 21.333S267.755 480 256 480zm149.333-64c0 5.888-4.779 10.667-10.667 10.667H117.333c-5.888 0-10.667-4.779-10.667-10.667V53.333c0-5.888 4.779-10.667 10.667-10.667h277.333c5.888 0 10.667 4.779 10.667 10.667V416z"})),(0,r.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",width:15,height:15,viewBox:"0 0 503.604 503.604"},(0,r.createElement)("path",{fill:Ie,d:"M337.324 0H167.192c-28.924 0-53.5 23.584-53.5 52.5v398.664c0 28.916 24.056 52.44 52.98 52.44l170.412-.184c28.92 0 52.58-23.528 52.58-52.448l.248-398.5C389.908 23.452 366.364 0 337.324 0zM227.68 31.476h49.36c4.336 0 7.868 3.52 7.868 7.868 0 4.348-3.532 7.868-7.868 7.868h-49.36a7.865 7.865 0 01-7.868-7.868 7.865 7.865 0 017.868-7.868zm-29.66 2.504c2.916-2.912 8.224-2.952 11.136 0a7.973 7.973 0 012.324 5.588c0 2.048-.864 4.088-2.324 5.548-1.452 1.46-3.504 2.32-5.548 2.32-2.084 0-4.088-.86-5.588-2.32-1.452-1.456-2.28-3.5-2.28-5.548-.004-2.088.828-4.132 2.28-5.588zm52.752 454.028c-12.984 0-23.544-10.568-23.544-23.548 0-12.984 10.56-23.548 23.544-23.548s23.544 10.564 23.544 23.548c0 12.98-10.564 23.548-23.544 23.548zm114.716-63.1H141.232V74.756h224.256v350.152z"})),(0,r.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",width:14,height:14,viewBox:"0 0 330 330"},(0,r.createElement)("path",{d:"M100.606 229.393c-5.857-5.857-15.355-5.857-21.213 0-5.858 5.857-5.858 15.355 0 21.213l75 75A14.954 14.954 0 00165 330a14.95 14.95 0 0010.606-4.394l75-75c5.858-5.857 5.858-15.355 0-21.213-5.857-5.857-15.355-5.857-21.213 0L180 278.787V51.212l49.394 49.394A14.95 14.95 0 00240 105a14.95 14.95 0 0010.606-4.394c5.858-5.857 5.858-15.355 0-21.213l-75-75c-5.857-5.858-15.355-5.858-21.213 0l-75 75c-5.858 5.857-5.858 15.355 0 21.213 5.857 5.857 15.355 5.857 21.213 0L150 51.212v227.574l-49.394-49.393z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 430.848 430.848"},(0,r.createElement)("path",{d:"M286.244,249.537l10.992-45.639c0.035-0.143,0.071-0.285,0.109-0.428c2.909-10.867,11.469-19.426,22.339-22.338 l33.347-8.936c-5.472-6.525-13.678-10.682-22.839-10.682h-9.837c-2.511-7.895-5.7-15.59-9.515-22.957l6.96-6.959 c11.622-11.623,11.622-30.535,0-42.156L296.76,68.4c-5.631-5.629-13.117-8.73-21.079-8.73c-7.961,0-15.447,3.102-21.078,8.732 l-6.96,6.959c-7.369-3.814-15.064-7.004-22.956-9.516V56.01c0-16.436-13.372-29.807-29.808-29.807h-29.758 c-16.436,0-29.808,13.371-29.808,29.807v9.836c-7.893,2.512-15.588,5.701-22.957,9.516l-6.96-6.961 c-5.631-5.629-13.117-8.73-21.078-8.73c-7.961,0-15.447,3.102-21.079,8.732L42.2,89.443c-11.622,11.621-11.622,30.533,0,42.156 l6.959,6.959c-3.815,7.367-7.004,15.063-9.515,22.957h-9.837C13.372,161.516,0,174.887,0,191.324v29.758 c0,16.436,13.372,29.807,29.808,29.807h9.837c2.511,7.895,5.7,15.588,9.515,22.957l-6.96,6.959 c-11.623,11.623-11.623,30.533,0,42.158l21.041,21.039c5.632,5.631,13.118,8.732,21.079,8.732s15.447-3.102,21.077-8.732 l6.96-6.959c7.366,3.815,15.061,7.002,22.957,9.514v9.838c0,16.436,13.372,29.809,29.808,29.809h25.809 c-2.388-5.691-3.644-11.852-3.645-18.209c-0.002-12.572,4.892-24.391,13.781-33.279L286.244,249.537z M180,286.201 c-44.112,0-80-35.887-80-79.998c0-44.113,35.888-80.002,80-80.002s80,35.889,80,80.002C260,250.314,224.112,286.201,180,286.201z"}),(0,r.createElement)("path",{d:"M425.267,218.734l-0.319-0.32c-0.939-0.941-2.189-1.428-3.541-1.469c-1.326,0-2.598,0.525-3.536,1.465l-21.596,21.596 c-3.304,3.305-7.699,5.125-12.375,5.125c-4.676,0-9.072-1.82-12.379-5.129c-3.307-3.305-5.128-7.701-5.128-12.377 c0.001-4.676,1.821-9.072,5.126-12.377l21.596-21.596c0.939-0.939,1.465-2.213,1.464-3.539c-0.001-1.328-0.53-2.6-1.47-3.537 l-0.314-0.313c-3.605-3.605-8.399-5.592-13.499-5.592c-1.665,0-3.325,0.219-4.936,0.65l-44.348,11.885 c-6.568,1.76-11.741,6.932-13.498,13.496c-0.011,0.041-0.021,0.08-0.031,0.121l-11.817,49.063l-87.667,87.666 c-6.528,6.527-10.122,15.207-10.121,24.44c0.002,9.232,3.598,17.91,10.126,24.439l2.088,2.088 c6.528,6.529,15.209,10.125,24.443,10.125h0c9.231,0,17.909-3.594,24.437-10.121l87.667-87.666l49.061-11.816 c0.041-0.01,0.082-0.022,0.122-0.031c6.563-1.758,11.735-6.928,13.497-13.496l11.883-44.352 C431.959,230.598,430.066,223.535,425.267,218.734z M257.26,368.406c-1.888,1.889-4.399,2.93-7.071,2.93 c-2.671,0-5.183-1.041-7.072-2.932c-1.887-1.885-2.928-4.397-2.928-7.068c-0.001-2.672,1.041-5.185,2.931-7.072 c1.886-1.887,4.398-2.928,7.069-2.928c2.672,0,5.184,1.041,7.072,2.93c1.887,1.885,2.928,4.396,2.928,7.068 C260.189,364.006,259.148,366.518,257.26,368.406z M316.194,305.935L274.82,347.31c-1.416,1.416-3.3,2.197-5.303,2.197 c-2.003,0-3.887-0.781-5.303-2.197c-1.417-1.416-2.197-3.299-2.197-5.303s0.78-3.887,2.197-5.303l41.374-41.375 c1.417-1.418,3.3-2.197,5.303-2.197s3.887,0.779,5.303,2.197c1.417,1.416,2.197,3.299,2.197,5.303S317.611,304.519,316.194,305.935 z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewBox:"0 0 448 512"},(0,r.createElement)("path",{d:"M96 0C43 0 0 43 0 96V416c0 53 43 96 96 96H384h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H384 96zm0 384H352v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16zm16 48H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewBox:"0 0 512 512"},(0,r.createElement)("path",{d:"M256 48C141.1 48 48 141.1 48 256v40c0 13.3-10.7 24-24 24s-24-10.7-24-24V256C0 114.6 114.6 0 256 0S512 114.6 512 256V400.1c0 48.6-39.4 88-88.1 88L313.6 488c-8.3 14.3-23.8 24-41.6 24H240c-26.5 0-48-21.5-48-48s21.5-48 48-48h32c17.8 0 33.3 9.7 41.6 24l110.4 .1c22.1 0 40-17.9 40-40V256c0-114.9-93.1-208-208-208zM144 208h16c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32H144c-35.3 0-64-28.7-64-64V272c0-35.3 28.7-64 64-64zm224 0c35.3 0 64 28.7 64 64v48c0 35.3-28.7 64-64 64H352c-17.7 0-32-14.3-32-32V240c0-17.7 14.3-32 32-32h16z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewBox:"0 0 576 512"},(0,r.createElement)("path",{d:"M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewBox:"0 0 448 512"},(0,r.createElement)("path",{d:"M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 448 512"},(0,r.createElement)("path",{d:"M384 336H192c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16l140.1 0L400 115.9V320c0 8.8-7.2 16-16 16zM192 384H384c35.3 0 64-28.7 64-64V115.9c0-12.7-5.1-24.9-14.1-33.9L366.1 14.1c-9-9-21.2-14.1-33.9-14.1H192c-35.3 0-64 28.7-64 64V320c0 35.3 28.7 64 64 64zM64 128c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H256c35.3 0 64-28.7 64-64V416H272v32c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V192c0-8.8 7.2-16 16-16H96V128H64z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960"},(0,r.createElement)("path",{d:"M480-424 284-228q-11 11-28 11t-28-11q-11-11-11-28t11-28l196-196-196-196q-11-11-11-28t11-28q11-11 28-11t28 11l196 196 196-196q11-11 28-11t28 11q11 11 11 28t-11 28L536-480l196 196q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-424Z"}))),Te=((0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 320 512",width:16,height:16},(0,r.createElement)("path",{d:"M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z"})),(0,r.createElement)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 512 512",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M80 368H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm0-320H16A16 16 0 0 0 0 64v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16zm0 160H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm416 176H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M96 320C96 302.3 110.3 288 128 288L512 288C529.7 288 544 302.3 544 320C544 337.7 529.7 352 512 352L128 352C110.3 352 96 337.7 96 320z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M352 128C352 110.3 337.7 96 320 96C302.3 96 288 110.3 288 128L288 288L128 288C110.3 288 96 302.3 96 320C96 337.7 110.3 352 128 352L288 352L288 512C288 529.7 302.3 544 320 544C337.7 544 352 529.7 352 512L352 352L512 352C529.7 352 544 337.7 544 320C544 302.3 529.7 288 512 288L352 288L352 128z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},(0,r.createElement)("path",{d:"M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},(0,r.createElement)("path",{d:"M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"})),(0,r.createElement)("svg",{className:"check",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960"},(0,r.createElement)("path",{d:"m382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M320 576C178.6 576 64 461.4 64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576zM438 209.7C427.3 201.9 412.3 204.3 404.5 215L285.1 379.2L233 327.1C223.6 317.7 208.4 317.7 199.1 327.1C189.8 336.5 189.7 351.7 199.1 361L271.1 433C276.1 438 282.9 440.5 289.9 440C296.9 439.5 303.3 435.9 307.4 430.2L443.3 243.2C451.1 232.5 448.7 217.5 438 209.7z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"18px",height:"18px"},(0,r.createElement)("path",{d:"M10 2a8 8 0 105.29 13.71l5 5a1 1 0 001.42-1.42l-5-5A8 8 0 0010 2zm0 2a6 6 0 110 12 6 6 0 010-12z"}))),je=(0,r.createElement)("svg",{width:25,height:25,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M4.66667 12.25H11.9C11.9928 12.25 12.0818 12.2131 12.1475 12.1475C12.2131 12.0818 12.25 11.9928 12.25 11.9V2.1C12.25 2.00717 12.2131 1.91815 12.1475 1.85251C12.0818 1.78687 11.9928 1.75 11.9 1.75H2.1C2.00717 1.75 1.91815 1.78687 1.85251 1.85251C1.78687 1.91815 1.75 2.00717 1.75 2.1V9.33333M5.83333 3.5H10.5M3.5 3.5H4.08333M2.04167 11.9583L7 7M7 7V9.33333M7 7H4.66667",stroke:"#6A72A5",strokeLinecap:"round",strokeLinejoin:"round"})),Oe=(0,r.createElement)("svg",{width:25,height:25,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M11.6667 6.99999V3.35357C11.6667 3.30753 11.6577 3.26193 11.6401 3.21939C11.6225 3.17684 11.5966 3.1382 11.564 3.10566L9.72771 1.26932C9.66213 1.20367 9.57317 1.16674 9.48037 1.16666H2.68337C2.59055 1.16666 2.50152 1.20353 2.43589 1.26917C2.37025 1.33481 2.33337 1.42383 2.33337 1.51666V12.4833C2.33337 12.5761 2.37025 12.6652 2.43589 12.7308C2.50152 12.7964 2.59055 12.8333 2.68337 12.8333H6.41671M4.66671 5.83332H9.33337M4.66671 3.49999H7.00004M4.66671 8.16666H6.41671",stroke:"#6A72A5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("path",{d:"M9.33337 3.14999V1.37315C9.33345 1.33237 9.3456 1.29251 9.36829 1.25862C9.39099 1.22473 9.42321 1.19832 9.4609 1.18272C9.49859 1.16712 9.54005 1.16303 9.58006 1.17097C9.62007 1.17891 9.65683 1.19852 9.68571 1.22732L11.606 3.14765C11.6351 3.17642 11.655 3.21321 11.6631 3.25331C11.6712 3.29341 11.6672 3.33502 11.6515 3.37283C11.6359 3.41063 11.6093 3.44291 11.5752 3.46556C11.5412 3.48821 11.5011 3.5002 11.4602 3.49999H9.68337C9.59055 3.49999 9.50152 3.46311 9.43589 3.39748C9.37025 3.33184 9.33337 3.24281 9.33337 3.14999V3.14999Z",fill:"#6A72A5",stroke:"#6A72A5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("path",{d:"M10.4731 9.88165L11.0565 9.29832C11.1172 9.23754 11.1893 9.18932 11.2687 9.15643C11.3481 9.12353 11.4331 9.1066 11.5191 9.1066C11.605 9.1066 11.6901 9.12353 11.7694 9.15643C11.8488 9.18932 11.9209 9.23754 11.9816 9.29832C12.1042 9.42095 12.1731 9.58723 12.1731 9.76061C12.1731 9.93399 12.1042 10.1003 11.9816 10.2229L11.3983 10.8062M10.4731 9.88107L8.7284 11.6258C8.64116 11.7133 8.58397 11.8263 8.56506 11.9484L8.42273 12.8567L9.33098 12.7149C9.45309 12.696 9.56605 12.6388 9.65356 12.5516L11.3977 10.8062M10.4731 9.88107L11.3983 10.8062",stroke:"#6A72A5",strokeLinecap:"round",strokeLinejoin:"round"})),We=((0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M187.2 100.9C174.8 94.1 159.8 94.4 147.6 101.6C135.4 108.8 128 121.9 128 136L128 504C128 518.1 135.5 531.2 147.6 538.4C159.7 545.6 174.8 545.9 187.2 539.1L523.2 355.1C536 348.1 544 334.6 544 320C544 305.4 536 291.9 523.2 284.9L187.2 100.9z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM320 240C302.3 240 288 254.3 288 272C288 285.3 277.3 296 264 296C250.7 296 240 285.3 240 272C240 227.8 275.8 192 320 192C364.2 192 400 227.8 400 272C400 319.2 364 339.2 344 346.5L344 350.3C344 363.6 333.3 374.3 320 374.3C306.7 374.3 296 363.6 296 350.3L296 342.2C296 321.7 310.8 307 326.1 302C332.5 299.9 339.3 296.5 344.3 291.7C348.6 287.5 352 281.7 352 272.1C352 254.4 337.7 240.1 320 240.1zM288 432C288 414.3 302.3 400 320 400C337.7 400 352 414.3 352 432C352 449.7 337.7 464 320 464C302.3 464 288 449.7 288 432z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M224 32C241.7 32 256 46.3 256 64L256 160L384 160L384 64C384 46.3 398.3 32 416 32C433.7 32 448 46.3 448 64L448 160L512 160C529.7 160 544 174.3 544 192C544 209.7 529.7 224 512 224L512 288C512 383.1 442.8 462.1 352 477.3L352 544C352 561.7 337.7 576 320 576C302.3 576 288 561.7 288 544L288 477.3C197.2 462.1 128 383.1 128 288L128 224C110.3 224 96 209.7 96 192C96 174.3 110.3 160 128 160L192 160L192 64C192 46.3 206.3 32 224 32z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M451.5 160C434.9 160 418.8 164.5 404.7 172.7C388.9 156.7 370.5 143.3 350.2 133.2C378.4 109.2 414.3 96 451.5 96C537.9 96 608 166 608 252.5C608 294 591.5 333.8 562.2 363.1L491.1 434.2C461.8 463.5 422 480 380.5 480C294.1 480 224 410 224 323.5C224 322 224 320.5 224.1 319C224.6 301.3 239.3 287.4 257 287.9C274.7 288.4 288.6 303.1 288.1 320.8C288.1 321.7 288.1 322.6 288.1 323.4C288.1 374.5 329.5 415.9 380.6 415.9C405.1 415.9 428.6 406.2 446 388.8L517.1 317.7C534.4 300.4 544.2 276.8 544.2 252.3C544.2 201.2 502.8 159.8 451.7 159.8zM307.2 237.3C305.3 236.5 303.4 235.4 301.7 234.2C289.1 227.7 274.7 224 259.6 224C235.1 224 211.6 233.7 194.2 251.1L123.1 322.2C105.8 339.5 96 363.1 96 387.6C96 438.7 137.4 480.1 188.5 480.1C205 480.1 221.1 475.7 235.2 467.5C251 483.5 269.4 496.9 289.8 507C261.6 530.9 225.8 544.2 188.5 544.2C102.1 544.2 32 474.2 32 387.7C32 346.2 48.5 306.4 77.8 277.1L148.9 206C178.2 176.7 218 160.2 259.5 160.2C346.1 160.2 416 230.8 416 317.1C416 318.4 416 319.7 416 321C415.6 338.7 400.9 352.6 383.2 352.2C365.5 351.8 351.6 337.1 352 319.4C352 318.6 352 317.9 352 317.1C352 283.4 334 253.8 307.2 237.5z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 544 432"},(0,r.createElement)("path",{d:"m297 71.2c9.2-7.3 15-18.6 15-31.2 0-22.1-17.9-40-40-40-22.1 0-40 17.9-40 40 0 12.6 5.9 23.9 15 31.2l-68.4 107.6c-10 15.7-31.3 19.6-46.2 8.4l-59.5-44.5c4.5-6.4 7.1-14.3 7.1-22.7 0-22.1-17.9-40-40-40-22.1 0-40 17.9-40 40 0 21.8 17.5 39.6 39.2 40l32.6 217.5c4.7 31.3 31.6 54.5 63.3 54.5h273.8c31.7 0 58.6-23.2 63.3-54.5l32.6-217.5c21.7-0.4 39.2-18.2 39.2-40 0-22.1-17.9-40-40-40-22.1 0-40 17.9-40 40 0 8.4 2.6 16.3 7.1 22.7l-59.4 44.6c-14.9 11.2-36.2 7.3-46.2-8.4z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,r.createElement)("path",{d:"m290.4 19.8c5-12 16.7-19.8 29.6-19.8h160c17.7 0 32 14.3 32 32v160c0 12.9-7.8 24.6-19.8 29.6-12 5-25.7 2.2-34.9-6.9l-57.3-57.4-153.4 153.3c-12.5 12.5-32.8 12.5-45.3 0-12.5-12.5-12.5-32.8 0-45.3l153.4-153.3-57.3-57.4c-9.2-9.2-11.9-22.9-6.9-34.9zm-290.4 156.2c0-44.2 35.8-80 80-80h80c17.7 0 32 14.3 32 32 0 17.7-14.3 32-32 32h-80c-8.8 0-16 7.2-16 16v256c0 8.8 7.2 16 16 16h256c8.8 0 16-7.2 16-16v-80c0-17.7 14.3-32 32-32 17.7 0 32 14.3 32 32v80c0 44.2-35.8 80-80 80h-256c-44.2 0-80-35.8-80-80z"})),({block:e,isPremium:t,disableBlockName:n,handleCheckboxChange:a,isSaving:l,isLinks:o=!0})=>{const{name:i,title:s,icon:c,demo:d,docs:m,badge:u="",required:h=!1}=e,p=!t&&e.isPremium,g=!p&&!n.includes(i),v=!0===h;return(0,r.createElement)("div",{className:"block "+(g?"":"disabled")},(0,r.createElement)("div",{className:"icon"},c),(0,r.createElement)("div",{className:"name"},(0,r.createElement)("p",{className:"blockTitle"},s),p&&(0,r.createElement)("a",{href:"#pricing"},"Get Pro")),o&&(0,r.createElement)(r.Fragment,null,d&&(0,r.createElement)("a",{className:"actionBtn",href:d,target:"_blank",rel:"noopener noreferrer"},je),m&&(0,r.createElement)("a",{className:"actionBtn",href:m,target:"_blank",rel:"noopener noreferrer"},Oe)),u&&(0,r.createElement)("p",{className:"blockBadge"},u),p&&(0,r.createElement)("p",{className:"blockBadge blockProBadge"},"Pro"),v&&(0,r.createElement)("p",{className:"blockBadge blockRequiredBadge"},"Required"),(0,r.createElement)("label",{className:"toggleSwitch",...p||v?{htmlFor:"b-blocks-admin-pro-modal-toggle"}:{}},(0,r.createElement)("input",{type:"checkbox",checked:g,...p||v?{}:{onChange:e=>a(i,e.target.checked)},disabled:l||p||v}),(0,r.createElement)("span",{className:"slider"})))}),Ue=window.wp.components,qe=({message:e,type:t})=>(0,r.createElement)("div",{className:`bPlDashboardBlocksToast ${t}`},"loading"===t&&(0,r.createElement)(Ue.Spinner,null),"success"===t&&(0,r.createElement)("span",{className:"checkmark"},"✓"),"error"===t&&(0,r.createElement)("span",{className:"error-icon"},"✕"),(0,r.createElement)("span",{className:"message"},e)),Ge=e=>{const{isPremium:t,disabledBlocks:n,onChange:a,allBlocks:l,status:o,ProModal:i=null,pageTitle:s="All Blocks"}=e,c=l.filter(e=>"published"===e.status||!e.status),[d,m]=(0,r.useState)(!1),[u,h]=(0,r.useState)(n||[]),[p,g]=(0,r.useState)(""),[v,f]=(0,r.useState)(null);(0,r.useEffect)(()=>{n&&h(n)},[JSON.stringify(n)]),(0,r.useEffect)(()=>{"loading"===o?(f({message:"Loading...",type:"loading"}),m(!0)):"success"===o?(f({message:"Saved successfully!",type:"success"}),m(!1),setTimeout(()=>f(null),3e3)):"error"===o&&(f({message:"Failed to save",type:"error"}),m(!1),setTimeout(()=>f(null),3e3))},[o]);const w=(e,t)=>{const n=t?u.filter(t=>t!==e):[...u,e];h(n),a?.(n),f({message:"Saving changes...",type:"loading"}),m(!0)},E=[],y=[];c.forEach(e=>{e.children&&Array.isArray(e.children)?E.push(e):y.push(e)});const C=e=>e.filter(e=>{if(e.children){const t=e.title?.toLowerCase().includes(p.toLowerCase()),n=e.children.some(e=>e.title?.toLowerCase().includes(p.toLowerCase()));return t||n}return e.title?.toLowerCase().includes(p.toLowerCase())}),b=C(E),k=C(y),x=b.length>0||k.length>0;return(0,r.createElement)("div",{className:"bPlDashboardBlocks"},!t&&i&&(0,r.createElement)(i,null),v&&(0,r.createElement)(qe,{message:v.message,type:v.type}),(0,r.createElement)("div",{className:"blocksTop"},(0,r.createElement)("h2",null,s),(0,r.createElement)("div",{className:"blocksSearch"},Te,(0,r.createElement)("input",{type:"text",placeholder:"Search...",value:p,onChange:e=>g(e.target.value),className:"search-input"}),p&&(0,r.createElement)("span",{onClick:()=>g("")},Ze)),(0,r.createElement)(Re,{className:"bBlocksDashboardBtn actionBtn activeAllBtn",onClick:()=>{h([]),a?.([]),f({message:"Saving changes...",type:"loading"}),m(!0)}},"Activate All"),(0,r.createElement)(Re,{className:"bBlocksDashboardBtn actionBtn deActiveAllBtn",onClick:()=>{const e=c.flatMap(e=>e.children&&Array.isArray(e.children)?e.children.filter(e=>!e.required).map(e=>e.name):e.required?[]:e.name);h(e),a?.(e),f({message:"Saving changes...",type:"loading"}),m(!0)}},"Deactivate All")),x?(0,r.createElement)("div",{className:"blocksContent"},b.map(e=>(0,r.createElement)("div",{key:e.title,className:"blocksGroup"},(0,r.createElement)("h3",{className:"groupTitle"},e.title),(0,r.createElement)("div",{className:"dashboardBlocks"},e.children.filter(e=>"published"===e.status||!e.status).map(e=>(0,r.createElement)(We,{key:e.name,block:e,isPremium:t,disableBlockName:u,handleCheckboxChange:w,isSaving:d}))))),k.length>0&&(0,r.createElement)("div",{className:"dashboardBlocks"},k.map(e=>(0,r.createElement)(We,{key:e.name,block:e,isPremium:t,disableBlockName:u,handleCheckboxChange:w,isSaving:d})))):(0,r.createElement)("h3",{className:"noBlocksFound"},"No blocks found matching your search..."))},Je=window.wp.i18n,Ye=((0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("polyline",{points:"3 6 5 6 21 6"}),(0,r.createElement)("path",{d:"M19 6l-2 14a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2L5 6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),(0,r.createElement)("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),(0,r.createElement)("line",{x1:"14",y1:"11",x2:"14",y2:"17"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}),(0,r.createElement)("line",{x1:"12",y1:"9",x2:"12",y2:"13"}),(0,r.createElement)("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"}),(0,r.createElement)("polyline",{points:"9 12 11 14 15 10"}))),Ke=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("polyline",{points:"20 6 9 17 4 12"})),Qe=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,r.createElement)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Xe=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("circle",{cx:"11",cy:"11",r:"7"}),(0,r.createElement)("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})),et=((0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M480 272C480 317.9 465.1 360.3 440 394.7L566.6 521.4C579.1 533.9 579.1 554.2 566.6 566.7C554.1 579.2 533.8 579.2 521.3 566.7L394.7 440C360.3 465.1 317.9 480 272 480C157.1 480 64 386.9 64 272C64 157.1 157.1 64 272 64C386.9 64 480 157.1 480 272zM272 416C351.5 416 416 351.5 416 272C416 192.5 351.5 128 272 128C192.5 128 128 192.5 128 272C128 351.5 192.5 416 272 416z"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),(0,r.createElement)("polyline",{points:"15 3 21 3 21 9"}),(0,r.createElement)("line",{x1:"10",y1:"14",x2:"21",y2:"3"}))),tt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,r.createElement)("polyline",{points:"12 5 19 12 12 19"})),nt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("polyline",{points:"15 18 9 12 15 6"})),rt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("polyline",{points:"9 18 15 12 9 6"})),at=((0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),(0,r.createElement)("rect",{x:"14",y:"3",width:"7",height:"7",rx:"1"}),(0,r.createElement)("rect",{x:"3",y:"14",width:"7",height:"7",rx:"1"}),(0,r.createElement)("rect",{x:"14",y:"14",width:"7",height:"7",rx:"1"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),(0,r.createElement)("rect",{x:"14",y:"3",width:"7",height:"7",rx:"1"}),(0,r.createElement)("rect",{x:"3",y:"14",width:"7",height:"7",rx:"1"}),(0,r.createElement)("rect",{x:"14",y:"14",width:"7",height:"7",rx:"1"}))),lt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.8,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M3 17l3-9 4 5 2-7 2 7 4-5 3 9"}),(0,r.createElement)("line",{x1:"3",y1:"21",x2:"21",y2:"21"})),ot=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.4,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),(0,r.createElement)("line",{x1:"5",y1:"12",x2:"19",y2:"12"})),it=(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M224 32C241.7 32 256 46.3 256 64L256 160L384 160L384 64C384 46.3 398.3 32 416 32C433.7 32 448 46.3 448 64L448 160L512 160C529.7 160 544 174.3 544 192C544 209.7 529.7 224 512 224L512 288C512 383.1 442.8 462.1 352 477.3L352 544C352 561.7 337.7 576 320 576C302.3 576 288 561.7 288 544L288 477.3C197.2 462.1 128 383.1 128 288L128 224C110.3 224 96 209.7 96 192C96 174.3 110.3 160 128 160L192 160L192 64C192 46.3 206.3 32 224 32z"})),st=(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 11 13",stroke:"currentColor",strokeLinecap:"round"},(0,r.createElement)("path",{d:"M2.5 5.16931V3.16931C2.49936 2.5198 2.73579 1.89239 3.16492 1.40483C3.59404 0.917267 4.18636 0.603088 4.8307 0.521257C5.47503 0.439426 6.12708 0.595571 6.66446 0.960383C7.20184 1.3252 7.5876 1.87359 7.74933 2.50264M5.16667 8.50264C5.34348 8.50264 5.51305 8.43241 5.63807 8.30738C5.76309 8.18236 5.83333 8.01279 5.83333 7.83598C5.83333 7.65917 5.76309 7.4896 5.63807 7.36457C5.51305 7.23955 5.34348 7.16931 5.16667 7.16931C4.98986 7.16931 4.82029 7.23955 4.69526 7.36457C4.57024 7.4896 4.5 7.65917 4.5 7.83598C4.5 8.01279 4.57024 8.18236 4.69526 8.30738C4.82029 8.43241 4.98986 8.50264 5.16667 8.50264ZM5.16667 8.50264V10.5026M1.56667 5.16931H8.76667C9.35333 5.16931 9.83333 5.64931 9.83333 6.23598V10.9026C9.83333 11.7826 9.11333 12.5026 8.23333 12.5026H2.1C1.22 12.5026 0.5 11.7826 0.5 10.9026V6.23598C0.5 5.64931 0.98 5.16931 1.56667 5.16931Z"})),ct=((0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M305 151.1L320 171.8L335 151.1C360 116.5 400.2 96 442.9 96C516.4 96 576 155.6 576 229.1L576 231.7C576 343.9 436.1 474.2 363.1 529.9C350.7 539.3 335.5 544 320 544C304.5 544 289.2 539.4 276.9 529.9C203.9 474.2 64 343.9 64 231.7L64 229.1C64 155.6 123.6 96 197.1 96C239.8 96 280 116.5 305 151.1z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 292 512",fill:"#1877F2"},(0,r.createElement)("path",{d:"m66 299.3v212.7h116v-212.7h86.5l18-97.8h-104.5v-34.6c0-51.7 20.3-71.5 72.7-71.5 16.3 0 29.4 0.4 37 1.2v-88.7c-14.3-3.9-49.3-7.9-69.5-7.9-106.9 0-156.2 50.5-156.2 159.4v42.1h-66v97.8z"}))),dt=((0,r.createElement)("svg",{className:"angelDown",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M297.4 470.6C309.9 483.1 330.2 483.1 342.7 470.6L534.7 278.6C547.2 266.1 547.2 245.8 534.7 233.3C522.2 220.8 501.9 220.8 489.4 233.3L320 402.7L150.6 233.4C138.1 220.9 117.8 220.9 105.3 233.4C92.8 245.9 92.8 266.2 105.3 278.7L297.3 470.7z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M320 576C178.6 576 64 461.4 64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576zM320 384C302.3 384 288 398.3 288 416C288 433.7 302.3 448 320 448C337.7 448 352 433.7 352 416C352 398.3 337.7 384 320 384zM320 192C301.8 192 287.3 207.5 288.6 225.7L296 329.7C296.9 342.3 307.4 352 319.9 352C332.5 352 342.9 342.3 343.8 329.7L351.2 225.7C352.5 207.5 338.1 192 319.8 192z"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24"},(0,r.createElement)("path",{d:"M8 5v14l11-7z"})),(0,r.createElement)("svg",{className:"video-player-pause-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},(0,r.createElement)("path",{d:"M48 64C21.5 64 0 85.5 0 112L0 400c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48L48 64zm192 0c-26.5 0-48 21.5-48 48l0 288c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48l-32 0z"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24"},(0,r.createElement)("path",{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24"},(0,r.createElement)("path",{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24"},(0,r.createElement)("path",{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24"},(0,r.createElement)("path",{d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M187.2 100.9C174.8 94.1 159.8 94.4 147.6 101.6C135.4 108.8 128 121.9 128 136L128 504C128 518.1 135.5 531.2 147.6 538.4C159.7 545.6 174.8 545.9 187.2 539.1L523.2 355.1C536 348.1 544 334.6 544 320C544 305.4 536 291.9 523.2 284.9L187.2 100.9z"}))),mt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none"},(0,r.createElement)("path",{d:"M3 3L21 21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,r.createElement)("path",{d:"M10.5 10.677a2 2 0 002.823 2.823",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,r.createElement)("path",{d:"M7.362 7.561C5.68 8.74 4.279 10.42 3 12c1.889 2.991 5.282 6 9 6 1.55 0 3.043-.523 4.395-1.35M12 6c4.008 0 6.701 3.158 9 6a15.66 15.66 0 01-1.078 1.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})),ut=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none"},(0,r.createElement)("path",{d:"M12 5C7.52 5 3.73 7.61 1 12c2.73 4.39 6.52 7 11 7s8.27-2.61 11-7c-2.73-4.39-6.52-7-11-7z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("circle",{cx:"12",cy:"12",r:"3",stroke:"currentColor",strokeWidth:"2"})),ht=((0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M8 12a4 4 0 100-8 4 4 0 000 8zm8 8a4 4 0 100-8 4 4 0 000 8zm-8 0a4 4 0 100-8 4 4 0 000 8z"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71"}),(0,r.createElement)("path",{d:"M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("circle",{cx:"12",cy:"12",r:"10"}),(0,r.createElement)("path",{d:"M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"}),(0,r.createElement)("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M22 11.08V12a10 10 0 11-5.93-9.14"}),(0,r.createElement)("polyline",{points:"22 4 12 14.01 9 11.01"}))),pt=(0,r.createElement)("svg",{className:"check",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960"},(0,r.createElement)("path",{d:"m382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z"})),gt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("polyline",{points:"6 9 12 15 18 9"})),vt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M12 2L4 6v6c0 5 3.5 9.6 8 10 4.5-.4 8-5 8-10V6l-8-4z"}),(0,r.createElement)("polyline",{points:"9 12 11 14 15 10"})),ft=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("polyline",{points:"23 4 23 10 17 10"}),(0,r.createElement)("polyline",{points:"1 20 1 14 7 14"}),(0,r.createElement)("path",{d:"M3.51 9a9 9 0 0114.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0020.49 15"})),wt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M21 11.5a8.38 8.38 0 01-.9 3.8 8.5 8.5 0 01-7.6 4.7 8.38 8.38 0 01-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 01-.9-3.8 8.5 8.5 0 014.7-7.6 8.38 8.38 0 013.8-.9h.5a8.48 8.48 0 018 8v.5z"})),Et=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2"}),(0,r.createElement)("path",{d:"M7 11V7a5 5 0 0110 0v4"})),yt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4"})),Ct=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2"}),(0,r.createElement)("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})),bt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("circle",{cx:"12",cy:"12",r:"10"}),(0,r.createElement)("line",{x1:"12",y1:"16",x2:"12",y2:"12"}),(0,r.createElement)("line",{x1:"12",y1:"8",x2:"12.01",y2:"8"})),kt=["#3b82f6","#10b981","#8b5cf6","#f59e0b","#ec4899","#06b6d4","#f43f5e","#14b8a6"],xt=({name:e,isPremium:t,demoInfo:n})=>{const{demos:a}=n,[l,o]=(0,r.useState)("All"),[i,s]=(0,r.useState)(""),[c,d]=(0,r.useState)(null),[m,u]=(0,r.useState)(!1),h=(0,r.useMemo)(()=>["All",...a.filter(e=>e.children?.length>0||e.url&&"#"!==e.url).map(e=>e.title)],[a]),p=(0,r.useMemo)(()=>{const e={};return h.filter(e=>"All"!==e).forEach((t,n)=>{e[t]=kt[n%kt.length]}),e},[h]),g=(0,r.useMemo)(()=>{const e=[];return a.forEach(t=>{const n=p[t.title],r=e=>({...e,category:t.title,categoryIcon:t.icon,accent:n,_searchTarget:`${e.title.toLowerCase()} ${t.title.toLowerCase()}`});t.children?.length?t.children.forEach(t=>e.push(r(t))):t.url&&"#"!==t.url&&e.push(r(t))}),e},[a,p]),v=(0,r.useMemo)(()=>{const e=i.trim().toLowerCase();return g.filter(t=>!("All"!==l&&t.category!==l||e&&!t._searchTarget.includes(e)))},[g,l,i]),f=null!==c?v[c]:null;(0,r.useEffect)(()=>{f&&u(!0)},[f?.url]);const w=null!==c;return(0,r.useEffect)(()=>{if(!w)return;const e=e=>{"Escape"===e.key&&d(null),"ArrowRight"===e.key&&d(e=>Math.min(e+1,v.length-1)),"ArrowLeft"===e.key&&d(e=>Math.max(e-1,0))};return document.addEventListener("keydown",e),document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",e),document.body.style.overflow=""}},[w,v.length]),(0,r.createElement)("div",{className:"bPlDashboardDemos"},(0,r.createElement)("header",{className:"hero"},(0,r.createElement)("span",{className:"eyebrow"},(0,Je.__)("Live Demos")),(0,r.createElement)("h1",null,(0,Je.sprintf)((0,Je.__)("See the %s in action"),e)),(0,r.createElement)("p",null,(0,Je.__)("Browse ready-made demos - click any card to open a live, interactive preview."))),(0,r.createElement)("div",{className:"toolbar"},(0,r.createElement)("div",{className:"search"},Xe,(0,r.createElement)("input",{type:"text",value:i,placeholder:"Search demos…",onChange:e=>s(e.target.value)}),i&&(0,r.createElement)("button",{className:"searchClear",onClick:()=>s(""),"aria-label":"Clear search"},"×")),(0,r.createElement)("div",{className:"chips",role:"tablist"},h.map(e=>(0,r.createElement)("button",{key:e,type:"button",role:"tab","aria-selected":l===e,className:"chip "+(l===e?"isActive":""),style:"All"!==e?{"--accent":p[e]}:void 0,onClick:()=>o(e)},(0,r.createElement)("span",{className:"chipDot"}),e)))),(0,r.createElement)("p",{className:"count"},(0,r.createElement)("strong",null,v.length)," ",1===v.length?"demo":"demos","All"!==l&&` in ${l}`,i.trim()&&` matching "${i}"`),0===v.length?(0,r.createElement)("div",{className:"empty"},Xe,(0,r.createElement)("h3",null,"No demos found"),(0,r.createElement)("p",null,"Try a different search or category.")):(0,r.createElement)("div",{className:"grid"},v.map((e,t)=>(0,r.createElement)("button",{key:`${e.title}-${t}`,type:"button",className:"card",style:e.accent?{"--accent":e.accent}:void 0,onClick:()=>d(t)},e.categoryIcon&&(0,r.createElement)("div",{className:"cardIcon"},"string"==typeof e.categoryIcon?(0,r.createElement)("span",{dangerouslySetInnerHTML:{__html:e.categoryIcon}}):e.categoryIcon),(0,r.createElement)("span",{className:"cardCat"},e.category),(0,r.createElement)("h3",{className:"cardTitle"},e.title),(0,r.createElement)("span",{className:"cardAction"},"Preview",tt)))),f&&(0,r.createElement)("div",{className:"modal",role:"dialog","aria-modal":"true"},(0,r.createElement)("div",{className:"modalBackdrop",onClick:()=>d(null)}),(0,r.createElement)("div",{className:"modalContent"},(0,r.createElement)("header",{className:"modalHead"},(0,r.createElement)("div",{className:"modalTitleWrap"},f.accent&&(0,r.createElement)("span",{className:"modalCat",style:{background:f.accent}},f.category),(0,r.createElement)("h2",null,f.title),(0,r.createElement)("span",{className:"modalProgress"},c+1," of ",v.length)),(0,r.createElement)("div",{className:"modalActions"},(0,r.createElement)("a",{className:"modalOpen",href:f.url,target:"_blank",rel:"noopener noreferrer"},"Open in new tab",et),(0,r.createElement)("button",{className:"modalClose",onClick:()=>d(null),"aria-label":"Close demo"},Qe))),(0,r.createElement)("div",{className:"modalStage"},c>0&&(0,r.createElement)("button",{className:"modalNav modalNavPrev",onClick:()=>d(c-1),"aria-label":"Previous demo"},nt),m&&(0,r.createElement)("div",{className:"iframeLoader"},(0,r.createElement)("div",{className:"spinner"}),(0,r.createElement)("span",null,"Loading demo…")),"iframe"===f.type?(0,r.createElement)("iframe",{src:f.url,title:`${f.title} demo`,sandbox:"allow-scripts allow-same-origin allow-popups allow-forms",onLoad:()=>u(!1)}):(0,r.createElement)("div",{className:"imgScroll"},(0,r.createElement)("img",{src:f.url,alt:f.title,onLoad:()=>u(!1)})),c<v.length-1&&(0,r.createElement)("button",{className:"modalNav modalNavNext",onClick:()=>d(c+1),"aria-label":"Next demo"},rt)))))};!function(e){var t=Object.defineProperty,n=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,i=(e,n,r)=>n in e?t(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,s=(e,t)=>{for(var n in t||(t={}))l.call(t,n)&&i(e,n,t[n]);if(a)for(var n of a(t))o.call(t,n)&&i(e,n,t[n]);return e},c=(e,t,n)=>i(e,"symbol"!=typeof t?t+"":t,n);const d={Log(...e){console&&console.log&&console.log(...e)},Error(...e){console&&console.error&&console.error(...e)},Warn(...e){console&&console.warn&&console.warn(...e)},Debug(...e){console&&console.debug&&console.debug(...e)}};function m(e,t){const n=e.contentWindow,r=e.src,a={};if(!n||!r)return null;const l=function(e){if(!(e&&e.origin&&e.origin.indexOf("js.stripe.com")>0||e.origin.indexOf("www.paypal.com")>0)&&e.origin===t&&e&&e.data&&"string"==typeof e.data&&"{"===e.data.charAt(0))try{const t=JSON.parse(e.data);"object"==typeof t&&t.type&&a[t.type]&&a[t.type].forEach(e=>{e(t.data)})}catch(e){d.Error(e)}};return window.addEventListener("message",l),{on(e,t){a[e]||(a[e]=[]),a[e].push(t)},one(e,t,n=!1){n&&delete a[e],!a[e]&&this.on(e,t)},destroy(){window.removeEventListener("message",l)},post(e,t){n.postMessage(JSON.stringify({type:e,data:t}),r.replace(/([^:]+:\/\/[^/]+).*/,"$1"))}}}const u=2147483647;function h(e){return void 0===e||"function"==typeof e||"object"==typeof e&&null!==e}function p(){return"undefined"==typeof window}function g(e,t){if(null==e)throw new Error(t)}class v{constructor(e){c(this,"styleElement"),c(this,"bodyScrollDisableClassName"),c(this,"isFlashingBrowser"),c(this,"overflow",{x:0,y:0}),c(this,"metaColorSchemeValue",null),c(this,"metaColorSchemeElement",null),this.guid=e,this.bodyScrollDisableClassName=`is-fs-checkout-open-${this.guid}`,this.styleElement=document.createElement("style"),this.styleElement.textContent+=this.getBasicStyle(),this.isFlashingBrowser=function(){let e=!1;try{const t=navigator.userAgent.toLowerCase();/edge\/|trident\/|msie /.test(t)?e=!0:-1!==t.indexOf("safari")&&(t.indexOf("chrome")>-1||(e=!0))}catch(e){}return e}()||!p()&&!!document.querySelector("#___gatsby"),this.metaColorSchemeElement=document.head.querySelector('meta[name="color-scheme"]')}addStyle(e){this.styleElement.textContent+=e}attach(){return document.head.appendChild(this.styleElement),this}remove(){return document.head.removeChild(this.styleElement),this}disableBodyScroll(){this.backupScrollPosition(),document.body.classList.add(this.bodyScrollDisableClassName)}enableBodyScroll(){document.body.classList.remove(this.bodyScrollDisableClassName),this.restoreScrollPosition()}disableMetaColorScheme(){this.metaColorSchemeElement&&(this.metaColorSchemeValue=this.metaColorSchemeElement.getAttribute("content"),this.metaColorSchemeElement.setAttribute("content","light"))}enableMetaColorScheme(){this.metaColorSchemeElement&&this.metaColorSchemeValue&&(this.metaColorSchemeElement.setAttribute("content",this.metaColorSchemeValue),this.metaColorSchemeValue=null)}getBasicStyle(){return`body.${this.bodyScrollDisableClassName} { overflow: hidden !important; }`}backupScrollPosition(){this.overflow={x:document.documentElement.scrollTop,y:document.documentElement.scrollLeft}}restoreScrollPosition(){document.documentElement.scrollTop=this.overflow.x,document.documentElement.scrollLeft=this.overflow.y}}class f{constructor(e,t,n="Loading Freemius Checkout"){c(this,"loaderElement"),c(this,"isOpen",!1),c(this,"loaderElementId"),this.style=e,this.loaderElementId=`fs-loader-${this.style.guid}`,this.loaderElement=document.createElement("div"),this.loaderElement.id=this.loaderElementId,this.loaderElement.innerHTML=`<img src="${t}" alt="${n}" />`,this.style.addStyle(this.getStyle())}show(){return this.isOpen||(this.loaderElement.classList.add("show"),document.body.appendChild(this.loaderElement),this.isOpen=!0),this}hide(){return this.isOpen?(this.loaderElement.classList.remove("show"),document.body.removeChild(this.loaderElement),this.isOpen=!1,this):this}getStyle(){return`#${this.loaderElementId} { display: none; position: fixed; z-index: ${u-1}; width: 100%; height: 100%; top: 0; left: 0; right: 0; bottom: 0; text-align: left; background: rgba(0, 0, 0, 0.6); transition: opacity 200ms ease-out; will-change: opacity; opacity: 0; } #${this.loaderElementId}.show { opacity: 1; display: block; } #${this.loaderElementId} img { position: absolute; top: 40%; left: 50%; width: auto; height: auto; margin-left: -25px; background: #fff; padding: 10px; border-radius: 50%; box-shadow: 2px 2px 2px rgba(0,0,0,0.1); }`}}class w{constructor(e,t,n,r,a){c(this,"postman",null),c(this,"iFrame"),c(this,"loadedEventListeners",new Set),c(this,"closedEventListeners",new Set),this.baseUrl=e,this.visibleClass=r,this.checkoutEvents=a,this.iFrame=this.attachIFrame(e,t,n),this.addEventListeners()}close(){var e;null==(e=this.postman)||e.post("close",null)}onClosed(e){this.closedEventListeners.add(e)}onLoaded(e){this.loadedEventListeners.add(e)}addToExitIntent(e){e.addListener(()=>{var e,t,n;null==(e=this.postman)||e.post("exit_intent",null),null==(n=(t=this.checkoutEvents).onExitIntent)||n.call(t)})}attachIFrame(e,t,n){const r=`${e}/?${function(e){const t=[];return Object.keys(e).forEach(n=>{const r=function(e){return h(e)?null:null===e?"null":!0===e?"1":!1===e?"0":encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/%20/g,"+")}(e[n]);null!==r&&t.push(`${n}=${r}`)}),t.join("&")}(t)}#${encodeURIComponent(document.location.href)}`,a=document.createElement("iframe");return a.id=n,a.src=r,a.setAttribute("allowTransparency","true"),a.setAttribute("width","100%"),a.setAttribute("height","100%"),a.setAttribute("style","background: rgba(0,0,0,0.003); border: 0 none transparent;"),a.setAttribute("frameborder","0"),a.setAttribute("data-testid",a.id),document.body.appendChild(a),a}addEventListeners(){var e,t,n,r,a;const{success:l,purchaseCompleted:o,cancel:i,track:s,afterOpen:c,afterClose:u}=this.checkoutEvents;this.postman=m(this.iFrame,this.baseUrl),null==(e=this.postman)||e.one("upgraded",e=>{try{null==l||l(e)}catch(e){d.Error(e)}this.dispatchOnClosed(),this.removeIFrameAndPostman(),null==u||u()},!0),null==(t=this.postman)||t.one("purchaseCompleted",e=>{try{null==o||o(e)}catch(e){d.Error(e)}},!0),null==(n=this.postman)||n.one("canceled",()=>{try{null==i||i()}catch(e){d.Error(e)}this.dispatchOnClosed(),this.removeIFrameAndPostman(),null==u||u()},!0),null==(r=this.postman)||r.on("track",e=>{try{null==s||s(e.event,e)}catch(e){d.Error(e)}}),null==(a=this.postman)||a.one("loaded",()=>{var e;this.dispatchOnLoaded(),null==(e=this.iFrame)||e.classList.add(this.visibleClass);try{null==c||c()}catch(e){d.Error(e)}},!0)}removeIFrameAndPostman(){var e;null==(e=this.postman)||e.destroy(),this.postman=null,this.iFrame.remove(),this.closedEventListeners.clear(),this.loadedEventListeners.clear()}dispatchOnLoaded(){this.loadedEventListeners.forEach(e=>e())}dispatchOnClosed(){this.closedEventListeners.forEach(e=>e())}}const E=class e{constructor(e,t,n){c(this,"iFrameID"),this.style=e,this.options=t,this.baseUrl=n,this.iFrameID=`fs-checkout-page-${this.style.guid}`}create(t){const n=s(s({},this.options),t);return new w(this.baseUrl,this.getQueryParams(n),this.iFrameID,e.VISIBLE_CLASS,n)}addStyle(){this.style.addStyle(this.getStyle())}getQueryParams(e){const t={mode:"dialog",guid:this.style.guid,_fs_checkout:!0};Object.entries(e).forEach(([e,n])=>{h(n)||(t[e]=n)});const{sandbox:n}=e;return n&&n.ctx&&n.token&&(t.s_ctx_ts=n.ctx,t.sandbox=n.token),t}getStyle(){return`#${this.iFrameID} { z-index: ${u-1}; background: rgba(0,0,0,0.003); border: 0 none transparent; visibility: ${this.style.isFlashingBrowser?"hidden":"visible"}; margin: 0; padding: 0; position: fixed; left: 0px; top: 0px; width: 100%; height: 100%; -webkit-tap-highlight-color: transparent; overflow: hidden; } #${this.iFrameID}.${e.VISIBLE_CLASS} { visibility: visible; }`}};c(E,"VISIBLE_CLASS","show");let y=E;class C{constructor(e,t,n,r,a){c(this,"checkoutIFrameBuilder"),c(this,"checkoutIFrame",null),this.style=e,this.exitIntent=t,this.loader=n,this.checkoutIFrameBuilder=new y(this.style,a,r),this.checkoutIFrameBuilder.addStyle()}isOpen(){return null!==this.checkoutIFrame}open(e){return this.isOpen()||(this.style.disableBodyScroll(),this.style.disableMetaColorScheme(),this.loader.show(),this.exitIntent.attach(),this.checkoutIFrame=this.checkoutIFrameBuilder.create(e),this.checkoutIFrame.onLoaded(this.onLoaded.bind(this)),this.checkoutIFrame.onClosed(this.onClosed.bind(this)),this.checkoutIFrame.addToExitIntent(this.exitIntent)),this}close(){var e;return null==(e=this.checkoutIFrame)||e.close(),this}onLoaded(){this.loader.hide()}onClosed(){this.checkoutIFrame=null,this.loader.hide(),this.style.enableBodyScroll(),this.style.enableMetaColorScheme(),this.exitIntent.detach()}}class b{constructor(e){c(this,"exitIntentId"),c(this,"exitIntentDiv",null),c(this,"clearExitIntentListener",null),c(this,"listeners",[]),this.style=e,this.exitIntentId=`fs-exit-intent-${this.style.guid}`,this.style.addStyle(this.getStyle())}isAttached(){return null!==this.exitIntentDiv}addListener(...e){this.listeners.push(...e)}attach(...e){if(e&&this.addListener(...e),this.isAttached())return this;this.exitIntentDiv=document.createElement("div"),this.exitIntentDiv.id=this.exitIntentId,document.body.appendChild(this.exitIntentDiv);const t=document.documentElement;let n=null;const r=e=>{e.pageY<=20&&(n=window.setTimeout(()=>{try{this.fireListeners()}catch(e){d.Error(e)}},300))},a=()=>{n&&(clearTimeout(n),n=null)};return t.addEventListener("mouseleave",r),t.addEventListener("mouseenter",a),this.clearExitIntentListener=()=>{n&&(clearTimeout(n),n=null),t.removeEventListener("mouseleave",r),t.removeEventListener("mouseenter",a)},this}detach(){var e,t;return this.isAttached()?(null==(e=this.exitIntentDiv)||e.remove(),this.exitIntentDiv=null,null==(t=this.clearExitIntentListener)||t.call(this),this):this}fireListeners(){this.listeners.forEach(e=>{e()})}getStyle(){return`#${this.exitIntentId} { z-index: ${u}; border: 0; background: transparent; position: fixed; padding: 0; margin: 0; height: 10px; left: 0; right: 0; width: 100%; top: 0; }`}}const k=class e{constructor(e){c(this,"queryParams",null),this.url=e,this.queryParams=this.parseQueryStringForCart()}hasCart(){return null!==this.queryParams}getPluginID(){return g(this.queryParams,e.NO_CART_FOUND_MESSAGE),this.queryParams.__fs_plugin_id}getPluginPublicKey(){return g(this.queryParams,e.NO_CART_FOUND_MESSAGE),this.queryParams.__fs_plugin_public_key}matchesPluginID(e){const t=Number.parseInt(this.getPluginID(),10),n=Number.parseInt(e.toString(),10);return Number.isFinite(t)&&Number.isFinite(n)&&t===n}getCheckoutOptions(){g(this.queryParams,e.NO_CART_FOUND_MESSAGE);const t={plugin_id:"",public_key:""};return Object.entries(this.queryParams).forEach(([e,n])=>{"__fs_plugin_id"===e?t.plugin_id=n:"__fs_plugin_public_key"===e?t.public_key=n:t[e]=n}),t}parseQueryStringForCart(){const e=new URLSearchParams(this.url.search);if(!e.has("__fs_authorization"))return null;const t={};return e.forEach((e,n)=>{n.startsWith("__fs_")&&(t[n]=e)}),t}};c(k,"NO_CART_FOUND_MESSAGE","No cart was found");let x=k;class L{constructor(e,t=!0,i="https://checkout.freemius.com"){var d;c(this,"options",{plugin_id:0,public_key:""}),c(this,"guid"),c(this,"style"),c(this,"loader"),c(this,"checkoutPopup"),c(this,"exitIntent"),c(this,"cart"),this.baseUrl=i;const m=e,{plugin_id:u,product_id:h,public_key:g}=m,w=((e,t)=>{var n={};for(var r in e)l.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&a)for(var r of a(e))t.indexOf(r)<0&&o.call(e,r)&&(n[r]=e[r]);return n})(m,["plugin_id","product_id","public_key"]);if(!u&&!h)throw new Error("Must provide a product_id to options.");if(!g)throw new Error("Must provide the public_key to options.");this.options=((e,t)=>n(e,r(t)))(s({},w),{public_key:g,plugin_id:null!=h?h:u}),this.guid=function(){const e=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),!p()&&(this.style=new v(this.guid),this.loader=new f(this.style,null!=(d=e.loadingImageUrl)?d:`${this.baseUrl}/assets/img/spinner.svg`,e.loadingImageAlt),this.exitIntent=new b(this.style),this.checkoutPopup=new C(this.style,this.exitIntent,this.loader,this.baseUrl,this.options),this.style.attach(),this.cart=new x(new URL(window.location.href)),t&&this.recoverCart())}open(e){var t,n;if(!p()){if(null!=(t=this.checkoutPopup)&&t.isOpen())return void d.Warn("Checkout popup already open. Please close it first before opening it again.");null==(n=this.checkoutPopup)||n.open(e)}}close(){var e;p()||null==(e=this.checkoutPopup)||e.close()}destroy(){var e;p()||(this.close(),null==(e=this.style)||e.remove())}getGuid(){return this.guid}recoverCart(){var e,t;if(null!=(e=this.cart)&&e.hasCart()&&null!=(t=this.cart)&&t.matchesPluginID(this.options.plugin_id)){const e=this.cart.getCheckoutOptions();this.open(e)}}}window.FS=window.FS||{},window.FS.Checkout=L,window.FS.postman=m,window.FS.Logger=d,e.Checkout=L,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}({});const Lt=window.FS,_t={monthly:{suffix:"/mo"},annual:{suffix:"/yr"},lifetime:{suffix:""}},Mt=e=>{const t="string"==typeof e?parseFloat(e):e;return isNaN(t)?"—":Number.isInteger(t)?String(t):t.toFixed(2)},Vt=({pricingInfo:e,options:t})=>{var n,a,l,o,i,s;const{pluginId:c,planId:d,licenses:m,button:u,featured:h,logo:p,hero:g,included:v,trustBadges:f,faqs:w}=e,[E,y]=(0,r.useState)({}),[C,b]=(0,r.useState)(!1),[k,x]=(0,r.useState)([]),[L,_]=(0,r.useState)(""),[M,V]=(0,r.useState)(0);if((0,r.useEffect)(()=>{if(!c)return;let e=!0;return b(!0),fetch(`https://api.bplugins.com/wp-json/bpl/v1/products/${c}`).then(e=>e.ok?e.json():Promise.reject(`${e.status} ${e.statusText}`)).then(t=>{e&&y(t)}).catch(()=>{e&&y({})}).finally(()=>{e&&b(!1)}),()=>{e=!1}},[c]),(0,r.useEffect)(()=>{if(!E?.id||!d)return;const{plans:e}=E,t=e?.find(e=>parseInt(e.id)===parseInt(d))||e?.[0]||{},n=t?.pricing?.[0];if(n&&"object"==typeof n){const e=[];void 0!==n.monthly&&e.push({name:"monthly",label:(0,Je.__)("Monthly")}),void 0!==n.annual&&e.push({name:"annual",label:(0,Je.__)("Yearly"),isDefault:!0}),void 0!==n.lifetime&&e.push({name:"lifetime",label:(0,Je.__)("Lifetime")}),x(e),_(e.find(e=>e.isDefault)?.name||e[0]?.name||"")}else x([]),_("")},[E,d]),C)return(0,r.createElement)("div",{className:"bPlDashboardPricing bPlDashboardPricingLoading"},(0,r.createElement)("div",{className:"pricingLoadingSpinner"}),(0,r.createElement)("p",null,(0,Je.__)("Loading the latest pricing…")));if(!E?.id)return null;const{plans:N}=E,H=N?.find(e=>parseInt(e.id)===parseInt(d))||N?.[0]||{},P=H?.pricing||[],S=m?.length>0?P.filter(e=>{var t;return m.includes(null!==(t=e?.licenses)&&void 0!==t?t:null)}):P,F=S[0];let B=0;if(F?.monthly&&F?.annual){const e=12*parseFloat(F.monthly),t=parseFloat(F.annual);e>0&&(B=Math.round((e-t)/e*100))}const z=((e,t)=>{const n=e.find(e=>"free"===e.name)?.features?.map(e=>e.title),r=e.find(e=>"pro"===e.name)?.features?.filter(e=>!n.includes(e.title)).map(e=>e.title),a={free:n,pro:r},l=e.find(e=>parseInt(e.id)===parseInt(t))?.name;return a[l]||e.find(e=>parseInt(e.id)===parseInt(t))?.features?.map(e=>e.title)||[]})(N,d),D=B>0?`Save ${B}%`:"",A=1===k.length&&"lifetime"===k[0]?.name,$={eyebrow:null!==(n=g?.eyebrow)&&void 0!==n?n:(0,Je.__)("Pricing"),title:null!==(a=g?.title)&&void 0!==a?a:(0,Je.__)("Pick the plan that fits your project"),description:null!==(l=g?.description)&&void 0!==l?l:(0,Je.__)("Same powerful features on every plan — just choose how many sites you need. Upgrade or downgrade any time.")},R={tag:null!==(o=v?.tag)&&void 0!==o?o:(0,Je.__)("Same on every plan"),title:null!==(i=v?.title)&&void 0!==i?i:(0,Je.__)("Everything you get, on every license"),description:null!==(s=v?.description)&&void 0!==s?s:(0,Je.__)("Every feature is available on every license tier. The only difference is how many sites you can activate the plugin on.")},I=f||[{title:(0,Je.__)("14 days money back"),body:(0,Je.__)("Risk-free purchase"),icon:vt},{title:A?(0,Je.__)("Lifetime updates"):(0,Je.__)("Plugins updates"),body:(0,Je.__)("On every plan"),icon:ft},{title:(0,Je.__)("Priority support"),body:(0,Je.__)("Get help when you need it"),icon:wt},{title:(0,Je.__)("Secure checkout"),body:(0,Je.__)("Powered by Freemius"),icon:Et}],Z=w||[{q:(0,Je.__)("Can I upgrade my plan later?"),a:(0,Je.__)("Yes — you can upgrade any time from your account. We prorate the difference automatically.")},A?{q:(0,Je.__)("Will I receive updates if I purchase a lifetime license?"),a:(0,Je.__)("Yes, a lifetime license holds lifetime updates and never expires, ensuring you always have access to the latest features and bug fixes without recurring fees.")}:{q:(0,Je.__)("What happens after my license expires?"),a:(0,Je.__)("The plugin keeps working forever. You only lose access to premium features, updates and premium support unless you renew.")},{q:(0,Je.__)("Do you offer refunds?"),a:(0,Je.__)("Absolutely. Every plan is backed by a 14 days no-questions-asked money-back guarantee.")}];return(0,r.createElement)("div",{className:"bPlDashboardPricing"},(0,r.createElement)("header",{className:"pricingHero"},(0,r.createElement)("span",{className:"pricingEyebrow"},$.eyebrow),(0,r.createElement)("h1",null,$.title),(0,r.createElement)("p",null,$.description)),k.length>1&&(0,r.createElement)("div",{className:"pricingCycleWrap"},(0,r.createElement)("div",{className:"pricingCycle",role:"tablist"},k.map(e=>(0,r.createElement)("button",{key:e.name,type:"button",role:"tab","aria-selected":e.name===L,className:e.name===L?"isActive":"",onClick:()=>_(e.name)},e.label,"annual"===e.name&&D&&(0,r.createElement)("span",{className:"pricingSave"},D))))),(0,r.createElement)("div",{className:"pricingPlans"},S.length?S.map((e,n)=>{const a=e?.licenses,l=h?.selected===(a||"null"),o=e?.[L],i=_t[L]||{suffix:""},s=parseFloat(o),c="annual"===L&&e?.annual?parseFloat(e.annual)/12:null,m=a&&!isNaN(s)?s/a:null,g=a?1===a?(0,Je.__)("Single Site"):`${a} ${(0,Je.__)("Sites")}`:(0,Je.__)("Unlimited Sites"),v=a?1===a?(0,Je.__)("For solo creators"):(0,Je.__)("For freelancers"):(0,Je.__)("For agencies & enterprise");return(0,r.createElement)("div",{key:n,className:"pricingPlan "+(l?"isFeatured":"")},l&&(0,r.createElement)("div",{className:"pricingBadge"},h?.text||(0,Je.__)("Most Popular")),(0,r.createElement)("div",{className:"pricingPlanHead"},(0,r.createElement)("h3",null,g),(0,r.createElement)("p",null,v)),(0,r.createElement)("div",{className:"pricingPriceWrap"},(0,r.createElement)("div",{className:"pricingPrice"},(0,r.createElement)("span",{className:"pricingCurrency"},"$"),(0,r.createElement)("span",{className:"pricingAmount"},Mt(o)),i.suffix&&(0,r.createElement)("span",{className:"pricingSuffix"},i.suffix)),null!==m&&(0,r.createElement)("p",{className:"pricingEquiv"},"≈ $",Mt(m)," ",(0,Je.__)("per site")),!a&&(0,r.createElement)("p",{className:"pricingEquiv"},(0,Je.__)("Use on every site you build.")),null!==c&&"annual"===L&&(0,r.createElement)("p",{className:"pricingEquiv"},(0,Je.__)("Billed yearly")," · $",Mt(c),"/mo"),"lifetime"===L&&(0,r.createElement)("p",{className:"pricingEquiv"},(0,Je.__)("One-time payment, pay once forever.")),"monthly"===L&&(0,r.createElement)("p",{className:"pricingEquiv"},(0,Je.__)("Billed monthly, cancel anytime."))),(0,r.createElement)(Re,{className:"pricingCta",onClick:e=>{e.preventDefault(),new Lt.Checkout({plugin_id:E.id,plan_id:d,public_key:E.public_key}).open({image:p||E.icon,title:E.title,licenses:a,billing_cycle:L,...t})}},u.label))}):(0,r.createElement)("p",{className:"pricingEmpty"},(0,Je.__)("No plans available right now."))),z.length>0&&(0,r.createElement)("section",{className:"pricingIncluded"},(0,r.createElement)("header",{className:"pricingIncludedHead"},(0,r.createElement)("span",{className:"pricingIncludedTag"},R.tag),(0,r.createElement)("h2",null,R.title),(0,r.createElement)("p",null,R.description)),(0,r.createElement)("ul",{className:"pricingIncludedGrid"},z.map((e,t)=>(0,r.createElement)("li",{key:t},(0,r.createElement)("span",{className:"pricingIncludedCheck"},Ke),(0,r.createElement)("span",{dangerouslySetInnerHTML:{__html:e}}))))),(0,r.createElement)("section",{className:"pricingTrust"},I.map((e,t)=>(0,r.createElement)("div",{key:t,className:"pricingTrustItem"},(0,r.createElement)("span",{className:"pricingTrustIcon"},e.icon),(0,r.createElement)("div",null,(0,r.createElement)("strong",null,e.title),(0,r.createElement)("span",null,e.body))))),(0,r.createElement)("section",{className:"pricingFaq"},(0,r.createElement)("h2",null,(0,Je.__)("Frequently asked questions")),(0,r.createElement)("div",{className:"pricingFaqList"},Z.map((e,t)=>(0,r.createElement)("div",{key:t,className:"pricingFaqItem "+(M===t?"isOpen":"")},(0,r.createElement)("button",{type:"button",className:"pricingFaqQ","aria-expanded":M===t,onClick:()=>V(M===t?null:t)},(0,r.createElement)("span",null,e.q),gt),M===t&&(0,r.createElement)("div",{className:"pricingFaqA"},e.a))))))},Nt=({plans:e=["free","pro"],freemius:t,hero:n,ctaBanner:a,planDescriptions:l})=>{var o,i,s,c,d;const{product_id:m,public_key:u}=t||{},[h,p]=(0,r.useState)({}),[g,v]=(0,r.useState)(!1),[f,w]=(0,r.useState)([]),[E,y]=(0,r.useState)(""),[C,b]=(0,r.useState)("");if((0,r.useEffect)(()=>{if(!m)return;let e=!0;return v(!0),fetch(`https://api.bplugins.com/wp-json/bpl/v1/products/${m}`).then(e=>e.ok?e.json():Promise.reject(`${e.status} ${e.statusText}`)).then(t=>{e&&p(t)}).catch(()=>{e&&p({})}).finally(()=>{e&&v(!1)}),()=>{e=!1}},[m]),(0,r.useEffect)(()=>{if(!h?.id)return;const t=h?.plans?.filter(t=>e.includes(t.name))||[],n=t.find(e=>"free"!==e.name)||t[0]||{},r=n?.pricing?.[0];if(r&&"object"==typeof r){const e=[];void 0!==r.monthly&&e.push({name:"monthly",label:(0,Je.__)("Monthly"),short:"/mo"}),void 0!==r.annual&&e.push({name:"annual",label:(0,Je.__)("Yearly"),short:"/yr",isDefault:!0}),void 0!==r.lifetime&&e.push({name:"lifetime",label:(0,Je.__)("Lifetime"),short:(0,Je.__)("one-time")}),w(e),y(e.find(e=>e.isDefault)?.name||e[0]?.name||"")}else w([]),y("")},[h]),g)return(0,r.createElement)("div",{className:"bPlDashboardFeatureCompare bPlDashboardFeatureCompareLoading"},(0,r.createElement)("div",{className:"fcSpinner"}),(0,r.createElement)("p",null,(0,Je.__)("Loading feature comparison…")));if(!h?.id)return null;const k=h?.plans?.filter(t=>e.includes(t.name))||[],x=k.find(e=>"free"!==e.name),L=(k[k.length-1]?.features||[]).map(e=>{const t=k.filter(t=>t.features.some(t=>t.title===e.title)).map(e=>e.id);return{...e,plans:t}});k.forEach(e=>{e.features.forEach(t=>{L.some(e=>e.title===t.title)||L.push({...t,plans:[e.id]})})});const _=k.find(e=>"free"===e.name);L.sort((e,t)=>{const n=!!_&&e.plans?.includes(_.id);return n===(!!_&&t.plans?.includes(_.id))?0:n?-1:1});let M=0;const V=x?.pricing?.find(e=>1===parseInt(e.licenses));if(V?.monthly&&V?.annual){const e=12*parseFloat(V.monthly),t=parseFloat(V.annual);e>0&&(M=Math.round((e-t)/e*100))}const N=L.filter(e=>1===e.plans.length&&x&&e.plans[0]===x.id).length,H=C.trim().toLowerCase(),P=H?L.filter(e=>e.title.replace(/<[^>]+>/g,"").toLowerCase().includes(H)):L,S={eyebrow:null!==(o=n?.eyebrow)&&void 0!==o?o:(0,Je.__)("Compare"),title:null!==(i=n?.title)&&void 0!==i?i:(0,Je.__)("Free vs Pro at a glance")},F={title:null!==(s=a?.title)&&void 0!==s?s:(0,Je.__)("Ready to unlock everything?"),description:null!==(c=a?.description)&&void 0!==c?c:(0,Je.__)("Upgrade to Pro and get every feature, future updates, and priority support — backed by a 14 days money-back guarantee."),ctaLabel:null!==(d=a?.ctaLabel)&&void 0!==d?d:(0,Je.__)("Get Pro now →")},B=f.find(e=>e.name===E);return(0,r.createElement)("div",{className:"bPlDashboardFeatureCompare"},(0,r.createElement)("header",{className:"fcHero"},(0,r.createElement)("span",{className:"fcEyebrow"},S.eyebrow),(0,r.createElement)("h1",null,S.title),(0,r.createElement)("p",null,n?.description?n.description:(0,r.createElement)(r.Fragment,null,(0,Je.__)("See exactly what unlocks when you upgrade.")," ",(0,r.createElement)("strong",null,N)," ",1===N?(0,Je.__)("feature is"):(0,Je.__)("features are")," ",(0,Je.__)("exclusive to Pro.")))),f.length>1&&(0,r.createElement)("div",{className:"fcCycleWrap"},(0,r.createElement)("div",{className:"fcCycle",role:"tablist"},f.map(e=>(0,r.createElement)("button",{key:e.name,type:"button",role:"tab","aria-selected":e.name===E,className:e.name===E?"isActive":"",onClick:()=>y(e.name)},e.label,"annual"===e.name&&M>0&&(0,r.createElement)("span",{className:"fcSave"},`Save ${M}%`))))),(0,r.createElement)("div",{className:"fcPlans"},k.map(e=>{var t,n;const a="free"===e.name,o=Array.isArray(e.pricing)?e.pricing.find(e=>1===parseInt(e.licenses))?.[E]:"0",i=B?.short||"",s=B?.label||"",c=null!==(t=l?.free)&&void 0!==t?t:(0,Je.__)("Free forever — all the essentials to get started."),d=null!==(n=l?.pro)&&void 0!==n?n:(0,Je.__)("Everything in Free, plus advanced features and priority support.");return(0,r.createElement)("div",{key:e.id,className:`fcPlan is${e.name.charAt(0).toUpperCase()+e.name.slice(1)}`},(0,r.createElement)("div",{className:"fcPlanHead"},(0,r.createElement)("div",{className:"fcPlanTag"},e.title),(0,r.createElement)("h3",null,e.title),(0,r.createElement)("p",null,a?c:d)),(0,r.createElement)("div",{className:"fcPlanPrice"},(0,r.createElement)("span",{className:"fcCurr"},"$"),(0,r.createElement)("span",{className:"fcAmt"},a?"0":o||"—"),(0,r.createElement)("span",{className:"fcCyc"},a?(0,Je.__)("forever"):i===(0,Je.__)("one-time")?(0,Je.__)("one-time"):`${i} · ${(0,Je.__)("billed")} ${s.toLowerCase()}`)),a?(0,r.createElement)("div",{className:"fcPlanCtaHave","aria-disabled":"true"},Ke,(0,Je.__)("You Already Have It")):(0,r.createElement)(Re,{className:"fcPlanCta",onClick:t=>{t.preventDefault(),new FS.Checkout({plugin_id:m,plan_id:e.id,public_key:u}).open({licenses:1,billing_cycle:E})}},(0,Je.__)("Get Pro →")))})),(0,r.createElement)("div",{className:"fcTableWrap"},(0,r.createElement)("div",{className:"fcTableHead"},(0,r.createElement)("h2",null,(0,Je.__)("Feature breakdown")),(0,r.createElement)("div",{className:"fcSearchBox"},Xe,(0,r.createElement)("input",{type:"text",placeholder:(0,Je.__)("Filter features…"),value:C,onChange:e=>b(e.target.value)}),C&&(0,r.createElement)("button",{type:"button",onClick:()=>b(""),"aria-label":(0,Je.__)("Clear filter")},"×"))),(0,r.createElement)("div",{className:"fcTableScroll"},(0,r.createElement)("table",{className:"fcTable"},(0,r.createElement)("thead",null,(0,r.createElement)("tr",null,(0,r.createElement)("th",null,(0,Je.__)("Feature")),k.map(e=>(0,r.createElement)("th",{key:e.id,className:"free"===e.name?"isFreeCol":"isProCol"},"free"===e.name?(0,Je.__)("Free"):(0,Je.__)("Pro"))))),(0,r.createElement)("tbody",null,0===P.length?(0,r.createElement)("tr",null,(0,r.createElement)("td",{colSpan:k.length+1,className:"fcEmpty"},(0,Je.__)("No features match your search."))):P.map((e,t)=>{const n=x&&1===e.plans.length&&e.plans[0]===x.id;return(0,r.createElement)("tr",{key:t,className:n?"isProOnly":""},(0,r.createElement)("td",null,(0,r.createElement)("span",{dangerouslySetInnerHTML:{__html:e.title}}),n&&(0,r.createElement)("span",{className:"fcRowTag"},(0,Je.__)("Pro only"))),k.map(t=>{const n=e.plans?.includes(t.id);return(0,r.createElement)("td",{key:t.id,className:"free"===t.name?"isFreeCol":"isProCol"},(0,r.createElement)("span",{className:"fcCell "+(n?"isCheck":"isCross"),"aria-label":n?(0,Je.__)("Included"):(0,Je.__)("Not included")},n?Ke:Qe))}))}))))),x&&(0,r.createElement)("section",{className:"fcCtaBanner"},(0,r.createElement)("div",null,(0,r.createElement)("h2",null,F.title),(0,r.createElement)("p",null,F.description)),(0,r.createElement)(Re,{className:"fcPlanCta",onClick:e=>{e.preventDefault(),new FS.Checkout({plugin_id:m,plan_id:x.id,public_key:u}).open({licenses:1,billing_cycle:E})}},F.ctaLabel)))},Ht=(e,t={},n=!0)=>{const[a,l]=(0,r.useState)(!1),[o,i]=(0,r.useState)(!1),[s,c]=(0,r.useState)(null),[d,m]=(0,r.useState)(null);if(!wp.ajax)return void console.error("Please use wp-util as a dependency");const u=(n={})=>{l(!0),i(!1),c(null),wp.ajax.post(e,{...t,...n}).done(e=>{l(!1),m(e)}).fail(e=>{l(!1),i(!0),c(e)})},h=(e={})=>{u(e)};return(0,r.useEffect)(()=>{n&&u(t)},[]),{data:d,saveData:h,refetch:h,isLoading:a,isError:o,error:s}},Pt=(e={})=>{const{isActivated:t,activatedLicense:n,isLoading:a,error:l,refetch:o,setIsActivated:i,setActivatedLicense:s}=(({product_id:e,licenseActiveNonce:t})=>{const[n,a]=(0,r.useState)(!1),[l,o]=(0,r.useState)(""),{data:i,isLoading:s,refetch:c,error:d}=Ht(`bpl_${e}_get_license_status`,{nonce:t});return(0,r.useEffect)(()=>{i&&(a(i.is_activated||!1),i.license_key&&o(i.license_key))},[i]),{isActivated:n,activatedLicense:l,isLoading:s,error:d,refetch:c,setIsActivated:a,setActivatedLicense:o}})(e),{activateLicense:c,isLoading:d,error:m}=(({product_id:e,public_key:t,licenseActiveNonce:n}={})=>{const[a,l]=(0,r.useState)(!1),[o,i]=(0,r.useState)(null);return{activateLicense:r=>r.trim()?(l(!0),i(null),new Promise((a,o)=>{wp.ajax.post(`bpl_${e}_activate_license`,{license_key:r,product_id:e||"",public_key:t||"",nonce:n}).done(e=>{l(!1),a(e)}).fail(e=>{l(!1),i(e?.message||"Activation failed"),o(e)})})):Promise.reject(new Error("Please enter a license key")),isLoading:a,error:o}})(e),{deactivateLicense:u,isLoading:h,error:p}=(({product_id:e,licenseActiveNonce:t})=>{const[n,a]=(0,r.useState)(!1),[l,o]=(0,r.useState)(null);return{deactivateLicense:()=>(a(!0),o(null),new Promise((n,r)=>{wp.ajax.post(`bpl_${e}_deactivate_license`,{nonce:t}).done(e=>{a(!1),n(e)}).fail(e=>{a(!1),o(e?.message||"Deactivation failed"),r(e)})})),isLoading:n,error:l}})(e),[g,v]=(0,r.useState)(!0),[f,w]=(0,r.useState)("");return(0,r.useEffect)(()=>{v(a||d||h)},[a,d,h]),(0,r.useEffect)(()=>{const e=l||m||p;w(e?e?.message||("string"==typeof e?e:"An error occurred"):"")},[l,m,p]),{isActivated:t,isLoading:g,error:f,activatedLicense:n,activateLicense:async e=>{try{return await c(e),i(!0),s(e),!0}catch(e){return!1}},deactivateLicense:async()=>{try{return await u(),i(!1),s(""),!0}catch(e){return!1}},setError:w,refetch:o}},St=e=>{const{name:t,slug:n,version:a,media:l,freemius:o,licenseActiveNonce:i}=e,{product_id:s,public_key:c}=o||{},{logo:d}=l||{},{isActivated:m,isLoading:u,error:h,activatedLicense:p,activateLicense:g,deactivateLicense:v}=Pt({product_id:s,public_key:c,licenseActiveNonce:i}),[f,w]=(0,r.useState)(""),[E,y]=(0,r.useState)(!1),[C,b]=(0,r.useState)(!1),[k,x]=(0,r.useState)(!1),[L,_]=(0,r.useState)(!1),M=async()=>{await g(f)&&(w(""),b(!1),window.location.reload())},V=C&&m,N=m&&!C;return(0,r.createElement)("div",{className:"bPlDashboardActivation"},(0,r.createElement)("header",{className:"actHero"},(0,r.createElement)("span",{className:"actEyebrow"},(0,Je.__)("License")),(0,r.createElement)("h1",null,N?(0,Je.__)("Your license is active"):V?(0,Je.__)("Change your license key"):(0,Je.__)("Activate your license")),(0,r.createElement)("p",null,N?(0,r.createElement)(r.Fragment,null,(0,Je.__)("You're receiving security updates, new features and priority support for")," ",(0,r.createElement)("strong",null,t),"."):(0,r.createElement)(r.Fragment,null,(0,Je.__)("Enter the license key you received with your purchase to unlock premium features and updates for")," ",(0,r.createElement)("strong",null,t),"."))),(0,r.createElement)("section",{className:"actCard "+(N?"isActive":"isInactive")},(0,r.createElement)("header",{className:"actCardHead"},(0,r.createElement)("div",{className:"actPluginInfo"},d&&(0,r.createElement)("img",{src:d,alt:t||(0,Je.__)("Plugin")}),(0,r.createElement)("div",null,(0,r.createElement)("h2",null,t||(0,Je.__)("Plugin")),a&&(0,r.createElement)("span",{className:"actVer"},"v",a))),(0,r.createElement)("span",{className:"actStatus "+(m?"isOk":"isOff")},(0,r.createElement)("span",{className:"actStatusDot"}),m?(0,Je.__)("Activated"):(0,Je.__)("Not activated"))),u&&(0,r.createElement)("div",{className:"actLoading"},(0,r.createElement)("div",{className:"actSpinner"}),(0,r.createElement)("p",null,(0,Je.__)("Talking to the license server…"))),!u&&N&&(0,r.createElement)("div",{className:"actBody"},(0,r.createElement)("div",{className:"actSuccessTop"},(0,r.createElement)("div",{className:"actSuccessIcon"},ht),(0,r.createElement)("div",null,(0,r.createElement)("h3",null,(0,Je.__)("License verified")),(0,r.createElement)("p",null,(0,Je.__)("Your purchase code is bound to this site and is in good standing.")))),(0,r.createElement)("div",{className:"actLicenseRow"},(0,r.createElement)("span",{className:"actFieldLabel"},(0,Je.__)("License key")),(0,r.createElement)("div",{className:"actLicenseDisplay"},(0,r.createElement)("input",{type:"text",value:(e=>{if(!e)return"";if(E)return e;const t=e.substring(0,4),n=e.substring(e.length-4);return`${t}${"•".repeat(Math.max(0,e.length-8))}${n}`})(p),readOnly:!0}),(0,r.createElement)("button",{type:"button",className:"actIconBtn",onClick:()=>y(e=>!e),"aria-label":E?(0,Je.__)("Hide license"):(0,Je.__)("Show license")},E?mt:ut),(0,r.createElement)("button",{type:"button",className:"actIconBtn "+(L?"isCopied":""),onClick:async()=>{if(p)try{await navigator.clipboard.writeText(p),_(!0),setTimeout(()=>_(!1),1600)}catch(e){console.error(e.message)}},"aria-label":(0,Je.__)("Copy license to clipboard")},Ct,L&&(0,r.createElement)("span",{className:"actCopiedTip"},(0,Je.__)("Copied"))))),(0,r.createElement)("footer",{className:"actFoot"},(0,r.createElement)("button",{type:"button",className:"actLinkBtn",onClick:()=>b(!0)},ft,(0,Je.__)("Change license")),(0,r.createElement)("button",{type:"button",className:"actLinkBtn isDanger",onClick:()=>x(!0)},(0,Je.__)("Deactivate license")))),!u&&!N&&(0,r.createElement)("div",{className:"actBody"},(0,r.createElement)("label",{className:"actField"},(0,r.createElement)("span",{className:"actFieldLabel"},yt,(0,Je.__)("License key")),(0,r.createElement)("input",{type:"text",value:f,placeholder:"xxxx-xxxx-xxxx-xxxx-xxxx-xxxx",onChange:e=>w(e.target.value),onKeyDown:e=>"Enter"===e.key&&f.trim()&&M(),disabled:u,autoFocus:!0,spellCheck:!1,autoCapitalize:"none",autoCorrect:"off"})),h&&(0,r.createElement)("div",{className:"actError"},bt,(0,r.createElement)("span",null,h)),(0,r.createElement)("button",{type:"button",className:"actPrimaryBtn",onClick:M,disabled:u||!f.trim()},u?(0,Je.__)("Activating…"):V?(0,Je.__)("Update License"):(0,Je.__)("Activate License")),!V&&(0,r.createElement)("p",{className:"actHelp"},(0,Je.__)("Can't find your key?")," ",(0,r.createElement)("a",{href:`https://dashboard.freemius.com/license-recovery/${s}/${n}/`,target:"_blank",rel:"noopener noreferrer"},(0,Je.__)("Recover license"),et)," ",(0,Je.__)("or")," ",(0,r.createElement)("a",{href:"https://freemius.com/help/documentation/wordpress-sdk/license-activation-issues/",target:"_blank",rel:"noopener noreferrer"},(0,Je.__)("activation help"),et)),!V&&(0,r.createElement)("div",{className:"actPermsBlock"},(0,r.createElement)("h4",null,t," ",(0,Je.__)("needs the following to deliver updates & security patches")),(0,r.createElement)("ul",{className:"actPerms"},(0,r.createElement)("li",null,(0,r.createElement)("span",{className:"actPermIcon"},Ye),(0,r.createElement)("div",null,(0,r.createElement)("strong",null,(0,Je.__)("License essentials")),(0,r.createElement)("span",null,(0,Je.__)("Homepage URL · Plugin version · SDK version")))),(0,r.createElement)("li",null,(0,r.createElement)("span",{className:"actPermIcon"},ft),(0,r.createElement)("div",null,(0,r.createElement)("strong",null,(0,Je.__)("Plugin state")),(0,r.createElement)("span",null,(0,Je.__)("Whether the plugin is active, deactivated or uninstalled")))))),!V&&(0,r.createElement)("footer",{className:"actLegalRow"},(0,r.createElement)("a",{href:`https://freemius.com/product/license-activation/${s}/${n}/`,target:"_blank",rel:"noopener noreferrer"},(0,Je.__)("Powered by Freemius")),(0,r.createElement)("span",null,"·"),(0,r.createElement)("a",{href:"https://freemius.com/privacy/",target:"_blank",rel:"noopener noreferrer"},(0,Je.__)("Privacy Policy")),(0,r.createElement)("span",null,"·"),(0,r.createElement)("a",{href:`https://freemius.com/product/${s}/${n}/legal/eula/`,target:"_blank",rel:"noopener noreferrer"},(0,Je.__)("License Agreement"))),V&&(0,r.createElement)("button",{type:"button",className:"actLinkBtn isCenter",onClick:()=>b(!1)},(0,Je.__)("Cancel and keep current license")))),k&&(0,r.createElement)("div",{className:"actModal",role:"dialog","aria-modal":"true"},(0,r.createElement)("div",{className:"actModalBackdrop",onClick:()=>x(!1)}),(0,r.createElement)("div",{className:"actModalContent"},(0,r.createElement)("header",null,(0,r.createElement)("div",{className:"actModalIcon"},bt),(0,r.createElement)("div",null,(0,r.createElement)("h3",null,(0,Je.__)("Deactivate this license?")),(0,r.createElement)("p",null,(0,Je.__)("You can re-activate it later on this site or move it to a different one.")))),(0,r.createElement)("div",{className:"actModalNote"},(0,Je.__)("Premium features and automatic updates will stop on this site until you re-activate.")),(0,r.createElement)("footer",null,(0,r.createElement)("button",{type:"button",className:"actModalCancel",onClick:()=>x(!1)},(0,Je.__)("Keep license active")),(0,r.createElement)("button",{type:"button",className:"actModalAction",onClick:async()=>{x(!1),await v()&&(b(!0),w(""),window.location.reload())}},(0,Je.__)("Yes, deactivate"))))))},Ft=window.wp.data,Bt=window.wp.apiFetch;var zt=n.n(Bt);const Dt=["3d-viewer","html5-video-player","html5-audio-player","pdf-poster","document-emberdder","advanced-post-block","advance-custom-html","b-carousel-block","b-blocks","embed-lottie-player","b-slider"],At=e=>e?e.replace(/–/g,"–").replace(/—/g,"—").replace(/–/g,"–").replace(/—/g,"—").replace(/-/g,"-").split(/\s*[–\-—]\s*/)[0].trim():"",$t=({rating:e=0})=>{const t=Math.round(e/20);return(0,r.createElement)("span",{className:"ourPlugStars","aria-label":`${(e/20).toFixed(1)} out of 5`},[1,2,3,4,5].map(e=>(0,r.createElement)("svg",{key:e,viewBox:"0 0 24 24",width:13,height:13,fill:e<=t?"#fbbf24":"#e5e7eb"},(0,r.createElement)("path",{d:"M12 2l2.39 6.95L22 9.27l-5.45 4.73L18.18 22 12 17.77 5.82 22l1.63-7.99L2 9.27l7.61-.32L12 2z"}))))},Rt=({plugin:e,path:t,initStatus:n})=>{const{name:a,slug:l,icons:o,short_description:i,version:s}=e,[c,d]=(0,r.useState)(n),m=(()=>{switch(c){case"activated":case"success":return(0,Je.__)("Activated");case"installed":return(0,Je.__)("Activate");case"activating":return(0,Je.__)("Activating…");case"installing":return(0,Je.__)("Installing…");case"error":return(0,Je.__)("Failed");default:return(0,Je.__)("Install & Activate")}})(),u="activated"===c||"success"===c,h="installing"===c||"activating"===c;return(0,r.createElement)("article",{className:"ourPlugCard"},(0,r.createElement)("div",{className:"ourPlugCardTop"},(0,r.createElement)("img",{className:"ourPlugIcon",src:o?.["1x"]||o?.["2x"]||"",alt:a}),(0,r.createElement)("div",{className:"ourPlugCardId"},(0,r.createElement)("h3",{dangerouslySetInnerHTML:{__html:At(a)}}),s&&(0,r.createElement)("span",{className:"ourPlugVer"},"v",s)),u&&(0,r.createElement)("span",{className:"ourPlugActive"},(0,r.createElement)("svg",{viewBox:"0 0 24 24",width:12,height:12,fill:"none",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("polyline",{points:"20 6 9 17 4 12"})),(0,Je.__)("Active"))),(0,r.createElement)("p",{className:"ourPlugDesc",dangerouslySetInnerHTML:{__html:(p=i,(p||"").replace(/<[^>]+>/g,""))}}),(0,r.createElement)("div",{className:"ourPlugStats"},(0,r.createElement)("span",{className:"ourPlugStat"},(0,r.createElement)("svg",{viewBox:"0 0 24 24",width:14,height:14,fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),(0,r.createElement)("polyline",{points:"7 10 12 15 17 10"}),(0,r.createElement)("line",{x1:"12",y1:"15",x2:"12",y2:"3"})),(e=>{if(null==e)return"0";const t=Math.abs(e);return t>=1e9?(e/1e9).toFixed(1).replace(/\.0$/,"")+"B":t>=1e6?(e/1e6).toFixed(1).replace(/\.0$/,"")+"M":t>=1e3?(e/1e3).toFixed(1).replace(/\.0$/,"")+"k":String(e)})(e.downloaded)),(0,r.createElement)("span",{className:"ourPlugStat"},(0,r.createElement)($t,{rating:e.rating}),(0,r.createElement)("strong",null,((e.rating||0)/20).toFixed(1)))),(0,r.createElement)(Re,{className:`ourPlugCta status-${c}`,disabled:u||h,onClick:async()=>{d("installed"===c?"activating":"installing");try{if("installed"===c&&t)return await zt()({path:`/wp/v2/plugins/${t}`,method:"POST",data:{status:"active"}}),d("success"),void setTimeout(()=>d("activated"),1e3);await zt()({path:"/wp/v2/plugins",method:"POST",data:{slug:l,status:"active"}}),d("success"),setTimeout(()=>d("activated"),1e3)}catch{d("error"),setTimeout(()=>d("installed"===c?"installed":"notfound"),1400)}}},h&&(0,r.createElement)("span",{className:"ourPlugCtaSpinner"}),m));var p},It=(0,Ft.withSelect)(e=>{const{getPlugins:t}=e("core");return{installedPlugins:t?.({per_page:-1})}})(({slug:e,slugs:t=Dt,installedPlugins:n})=>{const[a,l]=(0,r.useState)([]),[o,i]=(0,r.useState)(!1),[s,c]=(0,r.useState)(""),[d,m]=(0,r.useState)("popular"),u=(0,r.useMemo)(()=>(t||[]).filter(t=>t!==e),[t,e]);(0,r.useEffect)(()=>{if(!u.length)return;let e=!1;return i(!0),fetch("https://api.wordpress.org/plugins/info/1.2/?action=query_plugins&request[author]=bplugins&request[per_page]=100&request[fields]=title,name,slug,icons,short_description,version,active_installs,rating,ratings,downloaded",{credentials:"omit",mode:"cors"}).then(e=>e.json()).then(t=>{e||l((t?.plugins||[]).filter(e=>u.includes(e.slug)))}).catch(()=>{e||l([])}).finally(()=>{e||i(!1)}),()=>{e=!0}},[JSON.stringify(u)]);const h=(0,r.useMemo)(()=>{const e=s.trim().toLowerCase();let t=a.filter(t=>!e||t.name.toLowerCase().includes(e)||(t.short_description||"").toLowerCase().includes(e));return"popular"===d&&t.sort((e,t)=>(t.active_installs||0)-(e.active_installs||0)),"rating"===d&&t.sort((e,t)=>(t.rating||0)-(e.rating||0)),"name"===d&&t.sort((e,t)=>At(e.name).localeCompare(At(t.name))),t},[a,s,d]);return o?(0,r.createElement)("div",{className:"bPlDashboardOurPlugins bPlDashboardOurPluginsLoading"},(0,r.createElement)("div",{className:"ourPlugSpinner"}),(0,r.createElement)("p",null,(0,Je.__)("Fetching plugins from the WordPress directory…"))):(0,r.createElement)("div",{className:"bPlDashboardOurPlugins"},(0,r.createElement)("header",{className:"ourPlugHero"},(0,r.createElement)("span",{className:"ourPlugEyebrow"},(0,Je.__)("Made by bPlugins")),(0,r.createElement)("h1",null,(0,Je.__)("Discover more plugins from our team")),(0,r.createElement)("p",null,(0,Je.__)("Hand-crafted WordPress plugins built with the same care and quality. Install any of them with a single click."))),(0,r.createElement)("div",{className:"ourPlugToolbar"},(0,r.createElement)("div",{className:"ourPlugSearch"},(0,r.createElement)("svg",{viewBox:"0 0 24 24",width:18,height:18,fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("circle",{cx:"11",cy:"11",r:"7"}),(0,r.createElement)("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})),(0,r.createElement)("input",{type:"text",placeholder:(0,Je.__)("Search plugins…"),value:s,onChange:e=>c(e.target.value)}),s&&(0,r.createElement)("button",{onClick:()=>c(""),"aria-label":(0,Je.__)("Clear search")},"×")),(0,r.createElement)("div",{className:"ourPlugSortLabel"},(0,Je.__)("Sort by")),(0,r.createElement)("div",{className:"ourPlugSort",role:"tablist"},[{key:"popular",label:(0,Je.__)("Popular")},{key:"rating",label:(0,Je.__)("Top Rated")},{key:"name",label:(0,Je.__)("A–Z")}].map(e=>(0,r.createElement)("button",{key:e.key,type:"button",role:"tab","aria-selected":d===e.key,className:d===e.key?"isActive":"",onClick:()=>m(e.key)},e.label)))),(0,r.createElement)("p",{className:"ourPlugCount"},(0,r.createElement)("strong",null,h.length)," ",1===h.length?(0,Je.__)("plugin"):(0,Je.__)("plugins"),s&&` ${(0,Je.__)("matching")} "${s}"`),0===h.length?(0,r.createElement)("div",{className:"ourPlugEmpty"},(0,r.createElement)("svg",{viewBox:"0 0 24 24",width:36,height:36,fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("circle",{cx:"11",cy:"11",r:"7"}),(0,r.createElement)("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})),(0,r.createElement)("h3",null,(0,Je.__)("No plugins match")),(0,r.createElement)("p",null,(0,Je.__)("Try a different keyword."))):(0,r.createElement)("div",{className:"ourPlugGrid"},h.map(e=>{var t;const a=null!==(t=n?.find(t=>t?.plugin?.includes(e.slug)))&&void 0!==t?t:null,l=a&&"active"===a.status?"activated":a?"installed":"notfound";return(0,r.createElement)(Rt,{key:e.slug,plugin:e,path:a?.plugin,initStatus:l})})))}),Zt=e=>{const t=e.match(/^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/),n=e.match(/youtu\.be\/([^#&?]+)/),r=t&&11===t[2]?.length?t[2]:n&&11===n[1]?.length?n[1]:"";return r?`https://www.youtube.com/embed/${r}?autoplay=1&rel=0&modestbranding=1`:e},Tt=(0,Ft.withSelect)(e=>({currentUser:e("core").getCurrentUser?.()}))(e=>{const{name:t,version:n,description:a,isPremium:l,media:o,pages:i,startButton:s,currentUser:c,keywords:d,keywordsLabel:m}=e,{thumbnail:u,video:h,isYoutube:p}=o||{},[g,v]=(0,r.useState)(!1),f=c?.name?c.name.split(/\s+/)[0]:"";return(0,r.createElement)("div",{className:"bPlDashboardWelcomeOverview bPlDashboardCard"},(0,r.createElement)("div",{className:"statusRow"},(0,r.createElement)("span",{className:"activeStatus"},(0,r.createElement)("span",{className:"statusDot","aria-hidden":"true"}),"Plugin active"),(0,r.createElement)("span",{className:"planBadge "+(l?"isPro":"isFree")},l&<,l?"Pro Plan":"Free Plan"),n&&(0,r.createElement)("span",{className:"versionBadge"},"v",n)),t&&(0,r.createElement)("h2",null,"Welcome to ",t),a&&(0,r.createElement)("p",{className:"tagline"},f?(0,r.createElement)(r.Fragment,null,"Hi ",(0,r.createElement)("strong",null,f),", ",a):a),u&&(0,r.createElement)("div",{className:"banner"},(0,r.createElement)("img",{src:u,alt:t}),h&&(0,r.createElement)("button",{className:"playBtn",onClick:()=>v(!0),"aria-label":"Play product walkthrough"},dt),h&&(0,r.createElement)("span",{className:"bannerCaption"},"Watch quick start · 2 min")),d?.length>0&&(0,r.createElement)("div",{className:"keywords"},(0,r.createElement)("span",{className:"keywordsLabel"},m),d.map(e=>(0,r.createElement)("span",{key:e,className:"formatChip"},e))),(0,r.createElement)("div",{className:"actionButtons"},s?.url&&s?.label&&(0,r.createElement)(Re,{className:"primaryBtn",href:s.url,target:"_blank",rel:"noopener noreferrer"},ot,s.label),i?.landing&&(0,r.createElement)(Re,{className:"secondaryBtn",href:i.landing,target:"_blank",rel:"noopener noreferrer"},at,"View Demos"),!l&&(0,r.createElement)("a",{className:"ghostBtn",href:"#pricing"},lt,"Upgrade to Pro",tt)),g&&h&&(0,r.createElement)("div",{className:"bPlVideoModal"},(0,r.createElement)("div",{className:"bPlVideoModalContent"},(0,r.createElement)("button",{className:"closeModal",onClick:()=>v(!1),"aria-label":"Close video"},Qe),p?(0,r.createElement)("iframe",{key:h,src:Zt(h),title:"Product walkthrough",frameBorder:0,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}):(0,r.createElement)("video",{key:h,src:h,autoPlay:!0,controls:!0,playsInline:!0})),(0,r.createElement)("div",{className:"bPlVideoModalOverlay",onClick:()=>v(!1)})))}),jt=({tabs:e=[],pages:t})=>{const[n,a]=(0,r.useState)(0);if(!e?.length)return null;const l=t?.docs||"https://bplugins.com/docs/";return(0,r.createElement)("div",{className:"bPlDashboardGettingStarted bPlDashboardCard"},(0,r.createElement)("div",{className:"header"},(0,r.createElement)("h2",null,(0,Je.__)("Getting Started")),(0,r.createElement)("p",null,(0,Je.__)("Pick how you'd like to start with the plugin - the steps below adapt to your workflow."))),(0,r.createElement)("div",{className:"tabsNav",role:"tablist"},e.map((e,t)=>(0,r.createElement)("button",{key:e.key,type:"button",role:"tab","aria-selected":n===t,className:"tab "+(n===t?"isActive":""),onClick:()=>a(t)},e.icon&&(0,r.createElement)("span",{className:"tabIcon"},e.icon),(0,r.createElement)("span",null,e.label)))),(0,r.createElement)("div",{className:"tabsViewport"},(0,r.createElement)("div",{className:"tabsTrack",style:{transform:`translateX(-${100*n}%)`}},e.map(t=>(0,r.createElement)("div",{key:t.key,className:"tabPanel",role:"tabpanel","aria-hidden":e[n].key!==t.key},(0,r.createElement)("div",{className:"steps"},t.steps.map(e=>(0,r.createElement)("div",{key:e.num,className:"step"},(0,r.createElement)("span",{className:"stepNum"},e.num),(0,r.createElement)("div",{className:"stepBody"},(0,r.createElement)("h3",null,e.title),(0,r.createElement)("p",{dangerouslySetInnerHTML:{__html:e.body}}),e.link&&(0,r.createElement)("a",{className:"stepLink",href:e.link.url},e.link.label," →"))))))))),(0,r.createElement)("div",{className:"docs"},(0,r.createElement)("div",null,(0,r.createElement)("h3",null,(0,Je.__)("Read the Full Documentation")),(0,r.createElement)("p",null,(0,Je.__)("Browse guides, settings reference, and examples for every feature."))),(0,r.createElement)("a",{className:"docsBtn",href:l,target:"_blank",rel:"noopener noreferrer"},(0,Je.__)("Open Documentation →"))))},Ot=e=>{const{name:t,media:n,proFeatures:a}=e,{proThumbnail:l}=n||{};return(0,r.createElement)("div",{className:"bPlDashboardWelcomeProAds bPlDashboardCard"},(0,r.createElement)("div",{className:"content"},(0,r.createElement)("h3",null,"Go ",t," Pro & Unlock More!"),a?.length>0&&(0,r.createElement)("ul",null,a.map((e,t)=>(0,r.createElement)("li",{key:t},(0,r.createElement)("span",null,pt),e))),(0,r.createElement)(Re,{href:"#pricing"},"View Pricing Plan")),l&&(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:l,alt:`${t} Pro features`})))},Wt={new:"new",add:"new",update:"update",improve:"improvement",improvement:"improvement",fix:"fix",fixing:"fix",fixed:"fix",remove:"fix"},Ut=e=>{const{slug:t,changelogs:n,limit:a=5,loadMoreLabel:l}=e;return n?.length&&(0,r.createElement)("div",{className:"bPlDashboardChangelog bPlDashboardCard"},(0,r.createElement)("h3",null,"Release Notes(Changelog)..."),(0,r.createElement)("div",{className:"allChangelogs"},n?.slice(0,a)?.map((e,t)=>{const{type:n,version:a,list:l}=e;return(0,r.createElement)("div",{key:t,className:`changelog ${n}`},(0,r.createElement)("ul",{className:"list"},l?.map((e,t)=>{return(0,r.createElement)("li",{key:t,dangerouslySetInnerHTML:{__html:(n=e,n.replace(/^<strong>([^<]+)<\/strong>/i,(e,t)=>{const n=t.replace(":","").trim();return`<strong class="changelogBadge ${Wt[n.toLowerCase()]||"default"}">${n}</strong>`}))}});var n})),(0,r.createElement)("p",{className:"time"},a))})),l&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("br",null),(0,r.createElement)(Re,{className:"mt20",target:"_blank",rel:"noopener noreferrer",href:`https://wordpress.org/plugins/${t}/#developers`},l)))},qt=({slug:e,pages:t,helpItems:n})=>{const a=n||(e=>[{title:"Need any Assistance?",description:"Our Expert Support Team is always ready to help you out promptly.",link:"https://bplugins.com/support",linkText:"Contact Support"},{titleIcon:ct,title:"Join Our Community",description:"Get tutorials, plugin updates, feature announcements, and support from other WordPress users.",link:"https://facebook.com/groups/1828495198556137",linkText:"Join Now →"},{title:"Request a Feature",description:"Have an idea that would make this plugin even better? Let us know — we love hearing from you.",link:"https://bplugins.com/support/",linkText:"Submit Request →"},{title:"Loving This Plugin? ⭐",description:"We're a small team pouring our heart into this plugin — your honest review keeps us going and helps others discover it. It only takes 30 seconds.",link:e?`https://wordpress.org/support/plugin/${e}/reviews/#new-post`:"",linkText:"Leave a Review"}])(e);return(0,r.createElement)("div",{className:"bPlDashboardWelcomeInfo"},a.filter(e=>e.link).map((e,t)=>(0,r.createElement)("div",{key:t,className:"infoCard bPlDashboardCard"},e.image&&(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:e.image,alt:e.title})),(0,r.createElement)("h4",null,e.title,e.titleIcon&&(0,r.createElement)("span",{className:"titleIcon"},e.titleIcon)),(0,r.createElement)("p",null,e.description),(0,r.createElement)(Re,{href:e.link,target:"_blank",rel:"noopener noreferrer"},e.linkText))))},Gt=e=>{const{isPremium:t,gettingStarted:n,pages:a,changelogsLimit:l,changelogsReadMoreLabel:o}=e,i=n?.tabs?.length>0;return(0,r.createElement)("div",{className:"bPlDashboardWelcome"},(0,r.createElement)("div",{className:"heroRow "+(i?"":"singleCol")},(0,r.createElement)(Tt,{...e}),i&&(0,r.createElement)(jt,{...n,pages:a})),(0,r.createElement)("div",{className:"contentRow"},(0,r.createElement)(Ut,{...e,limit:l,loadMoreLabel:o}),t?(0,r.createElement)(qt,{...e}):(0,r.createElement)(Ot,{...e})),!t&&(0,r.createElement)(qt,{...e}))},Jt=e=>{const{name:t,media:n,version:a,isPremium:l,displayOurPlugins:o,children:i}=e,{logo:s}=n||{},[c,d]=(0,r.useState)(!1),m=r.Children.map(i,e=>{if(!(0,r.isValidElement)(e))return e;const t=e.props.className||"";return t.includes("bPlDashboardNav")?(0,r.cloneElement)(e,{className:`${t}${c?" open":""}`,onClick:t=>{e.props.onClick?.(t),d(!1)}}):e});return(0,r.createElement)("div",{className:"bPlDashboardHeader"},(0,r.createElement)("div",{className:"pluginInfo",wrap:!0},s&&(0,r.createElement)("img",{src:s,alt:t||"Plugin from bPlugins"}),t&&(0,r.createElement)("h1",null,t),a&&(0,r.createElement)("div",{className:"pluginVersion"},"v",a)),(0,r.createElement)("button",{className:"bplHamburger"+(c?" open":""),onClick:()=>d(e=>!e),"aria-label":"Toggle navigation","aria-expanded":c},(0,r.createElement)("span",null),(0,r.createElement)("span",null),(0,r.createElement)("span",null)),m,(0,r.createElement)("div",{className:"navButtons"},o&&(l?(0,r.createElement)(Re,{href:"#our-plugins"},it,"Our Plugins"):(0,r.createElement)("a",{className:"linkButton",href:"#our-plugins"},"Our Plugins")),!l&&(0,r.createElement)(Re,{className:"upgrade",href:"#pricing"},st,"Upgrade Pro")))},Yt=[{name:"Welcome",href:"/welcome"},{name:"Widgets",href:"/widgets"},{name:"Demos",href:"/demos"},{name:"Pricing",href:"/pricing"},{name:"Feature Comparison",href:"/feature-comparison"},{name:"Activation",href:"/activation"}],Kt=e=>{const{isPremium:t,hasPro:n}=e,a=U();return(0,r.createElement)("div",{className:"bPlDashboard"},(0,r.createElement)(Jt,{...e},(0,r.createElement)("nav",{className:"bPlDashboardNav"},Yt?.filter(e=>"/activation"!==e.href||n)?.filter(e=>!t||!["/purchase","/pricing","/feature-comparison"].includes(e.href))?.map((e,t)=>(0,r.createElement)(ze,{key:t,to:e.href,className:"navLink "+(a.pathname===e.href?"active":"")},e.name)))),(0,r.createElement)("main",{className:"bPlDashboardMain"},(0,r.createElement)(se,null)))},Qt=(0,r.createElement)("svg",{fill:"#000000",viewBox:"-274.15 0 1200 1200",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),(0,r.createElement)("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("g",{id:"SVGRepo_iconCarrier"},(0,r.createElement)("path",{d:"M30 161c-16.5 0-30 13.5-30 30v827.8c0 16.5 13.5 30 30 30h591.7c16.5 0 30-13.5 30-30V343.7L469 161H30zm389.6 60v134.8c0 19.9 16.3 36.2 36.2 36.2h135.9v596.8H60V221h359.6z"}),(0,r.createElement)("path",{d:"M123.8 768.6h394.8v50H123.8zm0-124.6h394.8v50H123.8zm0-124.5h394.8v50H123.8z"}),(0,r.createElement)("circle",{cx:"194",cy:"382.3",r:"60"}))),Xt=(0,r.createElement)("svg",{fill:"#000000",viewBox:"-3.5 0 19 19",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),(0,r.createElement)("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("g",{id:"SVGRepo_iconCarrier"},(0,r.createElement)("path",{d:"M10.05 3.828a1.112 1.112 0 0 1 1.11 1.108v10.562a1.112 1.112 0 0 1-1.11 1.108h-8.1a1.112 1.112 0 0 1-1.11-1.108V4.936a1.112 1.112 0 0 1 1.11-1.108h.415v1.108h-.414l-.002.002v10.558l.002.002h8.098l.002-.002V4.938l-.002-.002h-.414V3.828h.416zm-.98 4.076H2.82v1.108h6.25zm0 2.337H2.82v1.108h6.25zm0 2.337H2.82v1.108h6.25zm-.543-8.935v1.25a.476.476 0 0 1-.475.476H3.948a.476.476 0 0 1-.475-.475v-1.25a.476.476 0 0 1 .475-.476h.697V1.87a.476.476 0 0 1 .475-.475h1.76a.476.476 0 0 1 .475.475v1.3h.697a.476.476 0 0 1 .475.474zM6.55 2.67a.554.554 0 1 0-.554.554.554.554 0 0 0 .554-.554z"}))),en=(0,r.createElement)("svg",{width:"800px",height:"800px",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M2.5 6.5V6H2V6.5H2.5ZM6.5 6.5V6H6V6.5H6.5ZM6.5 10.5H6V11H6.5V10.5ZM13.5 3.5H14V3.29289L13.8536 3.14645L13.5 3.5ZM10.5 0.5L10.8536 0.146447L10.7071 0H10.5V0.5ZM2.5 7H3.5V6H2.5V7ZM3 11V8.5H2V11H3ZM3 8.5V6.5H2V8.5H3ZM3.5 8H2.5V9H3.5V8ZM4 7.5C4 7.77614 3.77614 8 3.5 8V9C4.32843 9 5 8.32843 5 7.5H4ZM3.5 7C3.77614 7 4 7.22386 4 7.5H5C5 6.67157 4.32843 6 3.5 6V7ZM6 6.5V10.5H7V6.5H6ZM6.5 11H7.5V10H6.5V11ZM9 9.5V7.5H8V9.5H9ZM7.5 6H6.5V7H7.5V6ZM9 7.5C9 6.67157 8.32843 6 7.5 6V7C7.77614 7 8 7.22386 8 7.5H9ZM7.5 11C8.32843 11 9 10.3284 9 9.5H8C8 9.77614 7.77614 10 7.5 10V11ZM10 6V11H11V6H10ZM10.5 7H13V6H10.5V7ZM10.5 9H12V8H10.5V9ZM2 5V1.5H1V5H2ZM13 3.5V5H14V3.5H13ZM2.5 1H10.5V0H2.5V1ZM10.1464 0.853553L13.1464 3.85355L13.8536 3.14645L10.8536 0.146447L10.1464 0.853553ZM2 1.5C2 1.22386 2.22386 1 2.5 1V0C1.67157 0 1 0.671573 1 1.5H2ZM1 12V13.5H2V12H1ZM2.5 15H12.5V14H2.5V15ZM14 13.5V12H13V13.5H14ZM12.5 15C13.3284 15 14 14.3284 14 13.5H13C13 13.7761 12.7761 14 12.5 14V15ZM1 13.5C1 14.3284 1.67157 15 2.5 15V14C2.22386 14 2 13.7761 2 13.5H1Z",fill:"#000000"})),tn=(0,r.createElement)("svg",{fill:"#000000",width:"800px",height:"800px",viewBox:"0 0 14 14",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"m 12.999992,2.866331 0,8.273839 c 0,0.0705 -0.025,0.127505 -0.0745,0.173007 -0.0505,0.047 -0.110505,0.069 -0.180008,0.069 l -4.2796751,0 0,-1.147547 3.4911431,0 0,-0.522522 -3.4941432,0 0,-0.639526 3.4911432,0 0,-0.522021 -3.4886431,0 0,-0.645027 3.4901431,0 0,-0.516021 -3.4901431,0 0,-0.646526 3.4901431,0 0,-0.522022 -3.4901431,0 0,-0.639526 3.4901431,0 0,-0.521521 -3.4901431,0 0,-0.652527 3.4901431,0 0,-0.497021 -3.4901431,0 0,-1.296553 4.2811751,0 c 0.0745,0 0.135006,0.024 0.179008,0.0745 0.0525,0.0495 0.075,0.110005 0.0745,0.178008 z m -5.1747123,-1.546064 0,11.361466 -6.82527977,-1.181048 0,-8.967368 6.82527977,-1.21505 0,0.002 z m -1.0300423,3.354138 -0.854535,0.0525 -0.5480225,3.392639 -0.012501,0 C 5.3531783,7.959039 5.2526742,7.397016 5.0726668,6.435977 L 4.7531537,4.80441 3.9511209,4.84441 3.6301077,6.435975 C 3.4426,7.363013 3.3380957,7.902535 3.3105946,8.054041 l -0.0075,0 -0.48752,-3.125128 -0.7350301,0.039 0.7875323,3.941661 0.8170335,0.0525 0.3075126,-1.534063 C 4.1726299,6.527981 4.2776342,6.004959 4.3001352,5.861953 l 0.022501,0 c 0.030501,0.152507 0.1280052,0.687029 0.3075126,1.605066 l 0.3075126,1.579065 0.8850363,0.0525 0.9900406,-4.425181 -0.017501,0 z"})),nn=(0,r.createElement)("svg",{fill:"#000000",width:"800px",height:"800px",viewBox:"0 0 14 14",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"m 12.7765,2.551 -4.02,0 0,0.744 1.185,0 0,1.177 -1.185,0 0,0.375 1.185,0 0,1.1785 -1.185,0 0,0.3855 1.185,0 0,1.1145 -1.185,0 0,0.4465 1.185,0 0,1.117 -1.185,0 0,0.4465 1.185,0 0,1.1235 -1.185,0 0,0.8195 4.02,0 c 0.0635,-0.019 0.1165,-0.094 0.159,-0.224 C 12.978,11.1235 13,11.017 13,10.9365 L 13,2.687 C 13,2.623 12.978,2.5845 12.9355,2.571 12.893,2.558 12.84,2.551 12.7765,2.551 Z m -0.5215,8.107 -1.9285,0 0,-1.1225 1.9285,0 0,1.1235 0,-0.001 z m 0,-1.569 -1.9285,0 0,-1.1175 1.9285,0 0,1.1175 z m 0,-1.564 -1.9285,0 0,-1.1095 1.9285,0 0,1.1105 0,-10e-4 z m 0,-1.5 -1.9285,0 0,-1.177 1.9285,0 0,1.1775 0,-5e-4 z m 0,-1.5595 -1.9285,0 0,-1.17 1.9285,0 0,1.1775 0,-0.0075 z M 1,2.3655 1,11.666 8.08,12.8905 8.08,1.1095 1,2.3695 1,2.3655 Z M 5.1965,9.401 C 5.1695,9.328 5.0425,9.018 4.8175,8.4695 4.593,7.9215 4.4575,7.6025 4.418,7.5115 l -0.0125,0 L 3.646,9.319 2.631,9.2505 l 1.204,-2.25 -1.1025,-2.25 1.035,-0.0545 0.684,1.7605 0.0135,0 L 5.2375,4.616 6.307,4.5485 5.0335,6.9835 6.346,9.4675 5.1965,9.4 l 0,10e-4 z"})),rn=(0,r.createElement)("svg",{width:"512px",height:"512px",viewBox:"-64 0 512 512",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm72-60V236c0-6.6 5.4-12 12-12h69.2c36.7 0 62.8 27 62.8 66.3 0 74.3-68.7 66.5-95.5 66.5V404c0 6.6-5.4 12-12 12H132c-6.6 0-12-5.4-12-12zm48.5-87.4h23c7.9 0 13.9-2.4 18.1-7.2 8.5-9.8 8.4-28.5.1-37.8-4.1-4.6-9.9-7-17.4-7h-23.9v52z"})),an=(0,r.createElement)("svg",{fill:"#000000",width:"800px",height:"800px",viewBox:"0 0 14 14",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"m 12.742,3 -4.271,0 0,1.593 C 8.7285,4.398 9.037,4.299 9.3985,4.299 l 0,1.549 1.537,0 C 10.928,6.2825 10.778,6.649 10.485,6.9445 10.193,7.2405 9.826,7.3925 9.391,7.4025 9.0535,7.3925 8.746,7.291 8.4765,7.095 l 0,1.0645 3.3595,0 0,0.5225 -3.3605,0 0,0.6465 3.3575,0 0,0.516 -3.3595,0 0,1.17 4.2715,0 c 0.173,0 0.255,-0.091 0.255,-0.2685 L 13,3.255 C 13,3.084 12.918,3 12.745,3 l -0.003,0 z m -3.102,2.593 0,-1.562 c 0.435,0.01 0.8,0.161 1.094,0.455 0.293,0.294 0.4455,0.663 0.453,1.107 l -1.547,0 z M 5.128,5.619 C 5.1015,5.5185 5.058,5.4405 4.9965,5.383 4.9365,5.327 4.8555,5.286 4.755,5.26 4.6425,5.2295 4.5265,5.215 4.41,5.215 l -0.36,0.007 0,1.4995 0.013,0 c 0.1305,0.008 0.2675,0.008 0.4125,0 C 4.618,6.714 4.753,6.6765 4.88,6.609 5.0365,6.4965 5.13,6.3465 5.1605,6.152 5.1905,5.9565 5.18,5.769 5.1285,5.5965 l 0,0.0225 z M 1,2.5295 l 0,8.973 6.844,1.1825 0,-11.37 L 1,2.5295 Z M 6.1065,6.573 C 5.919,7.0075 5.639,7.2855 5.2645,7.4055 4.89,7.525 4.4855,7.5715 4.05,7.545 l 0,1.711 -0.9005,-0.1045 0,-4.701 L 4.579,4.376 C 4.844,4.3595 5.106,4.3885 5.362,4.466 5.6195,4.542 5.823,4.6955 5.9735,4.927 6.1235,5.1575 6.208,5.425 6.2285,5.7295 6.247,6.034 6.207,6.3155 6.1065,6.573 Z"})),ln=(0,r.createElement)("svg",{width:"800px",height:"800px",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M2.5 6.5V6H2V6.5H2.5ZM2.5 10.5H2V11H2.5V10.5ZM12.5 6.5H13V6H12.5V6.5ZM12.5 10.5V11H13V10.5H12.5ZM13.5 3.5H14V3.29289L13.8536 3.14645L13.5 3.5ZM10.5 0.5L10.8536 0.146447L10.7071 0H10.5V0.5ZM2 6.5V10.5H3V6.5H2ZM2.5 11H3.5V10H2.5V11ZM5 9.5V7.5H4V9.5H5ZM3.5 6H2.5V7H3.5V6ZM5 7.5C5 6.67157 4.32843 6 3.5 6V7C3.77614 7 4 7.22386 4 7.5H5ZM3.5 11C4.32843 11 5 10.3284 5 9.5H4C4 9.77614 3.77614 10 3.5 10V11ZM6 7.5V9.5H7V7.5H6ZM9 9.5V7.5H8V9.5H9ZM9 7.5C9 6.67157 8.32843 6 7.5 6V7C7.77614 7 8 7.22386 8 7.5H9ZM7.5 11C8.32843 11 9 10.3284 9 9.5H8C8 9.77614 7.77614 10 7.5 10V11ZM6 9.5C6 10.3284 6.67157 11 7.5 11V10C7.22386 10 7 9.77614 7 9.5H6ZM7 7.5C7 7.22386 7.22386 7 7.5 7V6C6.67157 6 6 6.67157 6 7.5H7ZM10 6V11H11V6H10ZM10.5 7H12.5V6H10.5V7ZM12 6.5V8H13V6.5H12ZM10.5 11H12.5V10H10.5V11ZM13 10.5V9H12V10.5H13ZM2 5V1.5H1V5H2ZM13 3.5V5H14V3.5H13ZM2.5 1H10.5V0H2.5V1ZM10.1464 0.853553L13.1464 3.85355L13.8536 3.14645L10.8536 0.146447L10.1464 0.853553ZM2 1.5C2 1.22386 2.22386 1 2.5 1V0C1.67157 0 1 0.671573 1 1.5H2ZM1 12V13.5H2V12H1ZM2.5 15H12.5V14H2.5V15ZM14 13.5V12H13V13.5H14ZM12.5 15C13.3284 15 14 14.3284 14 13.5H13C13 13.7761 12.7761 14 12.5 14V15ZM1 13.5C1 14.3284 1.67157 15 2.5 15V14C2.22386 14 2 13.7761 2 13.5H1Z",fill:"#000000"})),on=(0,r.createElement)("svg",{width:"800px",height:"800px",viewBox:"0 0 14 14",role:"img",focusable:"false","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{fill:"gray",d:"M12.29411772 4.17647058v2.47058826h-2.11764708V4.17647058h-.70588236v2.47058826H7.3529412V4.17647058h-.70588236v2.47058826H4.17647058v.70588236h2.47058826v2.11764708H4.17647058v.70588236h2.47058826v2.11764708H4.17647058v.70588236h8.8235295v-8.8235295h-.70588236zm0 3.17647062v2.11764708h-2.11764708V7.3529412h2.11764708zm-4.94117652 0h2.11764708v2.11764708H7.3529412V7.3529412zm0 2.82352944h2.11764708v2.11764708H7.3529412v-2.11764708zm2.82352944 2.11764708v-2.11764708h2.11764708v2.11764708h-2.11764708z"}),(0,r.createElement)("path",{fill:"#4d4d4d",d:"M4.17647058 12.6470589V4.17647058h8.47058832V1.35294114H1.35294114V12.6470589z"}),(0,r.createElement)("path",{d:"M.99999996.99999996v12.00000012h3.5294118V4.52941176h8.47058832V.99999996H.99999996zm.70588236 5.64705888V4.52941176H3.8235294v2.11764708H1.70588232zm2.11764708.70588236v2.11764708H1.70588232V7.3529412H3.8235294zm.70588236-5.64705888h2.11764708V3.8235294H4.52941176V1.70588232zm2.82352944 0h2.11764708V3.8235294H7.3529412V1.70588232zm-3.5294118 0V3.8235294H1.70588232V1.70588232H3.8235294zm-2.11764708 10.5882354v-2.11764708H3.8235294v2.11764708H1.70588232zm10.5882354-8.47058832h-2.11764708V1.70588232h2.11764708V3.8235294z"})),sn=(0,r.createElement)("svg",{viewBox:"0 0 192 192",xmlns:"http://www.w3.org/2000/svg",fill:"none"},(0,r.createElement)("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),(0,r.createElement)("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("g",{id:"SVGRepo_iconCarrier"},(0,r.createElement)("path",{stroke:"#000000",strokeLinejoin:"round",strokeWidth:"12",d:"M96 94H68v38h56V94H96Z"}),(0,r.createElement)("path",{fill:"#000000",fillRule:"evenodd",d:"M52 28a2 2 0 0 0-2 2v132a2 2 0 0 0 2 2h88a2 2 0 0 0 2-2V62h-28a6 6 0 0 1-6-6V28H52Zm68 8.485L133.515 50H120V36.485ZM38 30c0-7.732 6.268-14 14-14h62c1.591 0 3.117.632 4.243 1.757l34 34A6 6 0 0 1 154 56v106c0 7.732-6.268 14-14 14H52c-7.732 0-14-6.268-14-14V30Z",clipRule:"evenodd"}))),cn=(0,r.createElement)("svg",{fill:"#000000",width:"800px",height:"800px",viewBox:"0 0 1920 1920",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{fillRule:"evenodd"},(0,r.createElement)("path",{d:"M1251.654 0c44.499 0 88.207 18.07 119.718 49.581l329.223 329.224c31.963 31.962 49.581 74.54 49.581 119.717V1920H169V0Zm-66.183 112.941H281.94V1807.06h1355.294V564.706H1185.47V112.94Zm112.94 23.379v315.445h315.445L1298.412 136.32Z"}),(0,r.createElement)("path",{d:"M900.497 677.67c26.767 0 50.372 12.65 67.991 37.835 41.901 59.068 38.965 121.976 23.492 206.682-5.308 29.14.113 58.617 16.263 83.125 22.814 34.786 55.68 82.673 87.981 123.219 23.718 29.93 60.198 45.854 97.13 40.885 23.718-3.276 52.292-5.986 81.656-5.986 131.012 0 121.186 46.757 133.045 89.675 6.55 25.976 3.275 48.678-10.165 65.506-16.715 22.701-51.162 34.447-101.534 34.447-55.793 0-74.202-9.487-122.767-24.96-27.445-8.81-55.906-10.617-83.69-3.275-55.453 14.456-146.936 36.48-223.284 46.983-40.772 5.647-77.816 26.654-102.438 60.875-55.454 76.8-106.842 148.518-188.273 148.518-21.007 0-40.32-7.567-56.244-22.701-23.492-23.492-33.544-49.581-28.574-79.85 13.778-92.95 128.075-144.79 196.066-182.625 16.037-8.923 28.687-22.589 36.592-39.53l107.86-233.223c7.68-16.377 10.051-34.56 7.228-52.518-12.537-79.059-31.06-211.99 18.748-272.075 10.955-13.44 26.09-21.007 42.917-21.007Zm20.556 339.953c-43.257 126.607-119.718 264.282-129.996 280.32 92.273-43.37 275.916-65.28 275.916-65.28-92.386-88.998-145.92-215.04-145.92-215.04Z"}))),dn=(0,r.createElement)("svg",{fill:"#000000",width:"800px",height:"800px",viewBox:"0 0 1920 1920",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{fillRule:"evenodd"},(0,r.createElement)("path",{d:"M1185.46.034V564.74h564.705v1355.294H168.99V.034h1016.47ZM900.508 677.68c-16.829 0-31.963 7.567-42.918 21.007-49.807 59.972-31.398 193.016-18.748 272.075 2.823 17.958.452 36.141-7.228 52.518l-107.86 233.223c-7.905 16.942-20.555 30.608-36.592 39.53-68.104 37.835-182.287 89.675-196.066 182.626-4.97 30.268 5.082 56.357 28.574 79.85 15.925 15.133 35.238 22.7 56.245 22.7 81.43 0 132.819-71.717 188.273-148.517 24.62-34.221 61.666-55.229 102.437-60.876 76.349-10.503 167.83-32.527 223.172-46.983 27.897-7.341 56.358-5.534 83.802 3.162 48.565 15.586 66.975 25.073 122.768 25.073 50.371 0 84.818-11.746 101.534-34.447 13.44-16.828 16.715-39.53 10.164-65.619-11.858-42.804-2.033-89.675-133.044-89.675-29.365 0-57.94 2.824-81.77 6.099-36.819 4.97-73.299-10.955-97.016-40.885-32.301-40.546-65.167-88.433-87.981-123.219-16.151-24.508-21.572-53.986-16.264-83.124 15.473-84.706 18.41-147.615-23.492-206.683-17.619-25.186-41.223-37.835-67.99-37.835Zm397.903-660.808 434.936 434.937h-434.936V16.873Z"}),(0,r.createElement)("path",{d:"M791.057 1297.943c92.273-43.37 275.916-65.28 275.916-65.28-92.386-88.998-145.92-215.04-145.92-215.04-43.257 126.607-119.718 264.282-129.996 280.32"}))),mn=((0,r.createElement)("svg",{width:"800px",height:"800px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M4 6.633c.14-.056.308-.118.503-.181A9.77 9.77 0 0 1 7.5 6a9.77 9.77 0 0 1 2.997.452c.195.063.363.125.503.181v10.88A11.817 11.817 0 0 0 7.5 17c-1.46 0-2.649.248-3.5.513V6.633zm8-1.748a9.257 9.257 0 0 0-.888-.337A11.769 11.769 0 0 0 7.5 4c-1.526 0-2.755.271-3.612.548a8.889 8.889 0 0 0-1.001.389 5.905 5.905 0 0 0-.357.18l-.025.014-.009.005-.003.002h-.001c-.002.002-.247.147-.002.002A1 1 0 0 0 2 6v13a1 1 0 0 0 1.51.86l-.005.003h.001l.002-.001.001-.001.037-.02c.037-.02.098-.05.182-.09.17-.078.43-.188.775-.3A9.77 9.77 0 0 1 7.5 19a9.77 9.77 0 0 1 2.997.451 6.9 6.9 0 0 1 .775.3 3.976 3.976 0 0 1 .223.112m0 0h-.001l-.002-.001-.001-.001c.314.185.704.185 1.018 0l.037-.02c.037-.02.098-.05.182-.09a6.9 6.9 0 0 1 .775-.3A9.77 9.77 0 0 1 16.5 19a9.77 9.77 0 0 1 2.997.451 6.9 6.9 0 0 1 .775.3 3.976 3.976 0 0 1 .219.11A1 1 0 0 0 22 19V6a1 1 0 0 0-.49-.86l-.002-.001h-.001l-.003-.003-.01-.005-.024-.014a5.883 5.883 0 0 0-.357-.18 8.897 8.897 0 0 0-1-.389A11.769 11.769 0 0 0 16.5 4c-1.525 0-2.755.271-3.612.548a9.112 9.112 0 0 0-.888.337m8 1.748v10.88A11.817 11.817 0 0 0 16.5 17c-1.46 0-2.649.248-3.5.513V6.633c.14-.056.308-.118.503-.181A9.77 9.77 0 0 1 16.5 6a9.77 9.77 0 0 1 2.997.452c.195.063.363.125.503.181zm.49.228l.005.002h-.001l-.003-.002zm0 13l.004.002-.002-.002",fill:"#0D0D0D"})),(0,r.createElement)("svg",{width:"800px",height:"800px",viewBox:"-4 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M25.6686 26.0962C25.1812 26.2401 24.4656 26.2563 23.6984 26.145C22.875 26.0256 22.0351 25.7739 21.2096 25.403C22.6817 25.1888 23.8237 25.2548 24.8005 25.6009C25.0319 25.6829 25.412 25.9021 25.6686 26.0962ZM17.4552 24.7459C17.3953 24.7622 17.3363 24.7776 17.2776 24.7939C16.8815 24.9017 16.4961 25.0069 16.1247 25.1005L15.6239 25.2275C14.6165 25.4824 13.5865 25.7428 12.5692 26.0529C12.9558 25.1206 13.315 24.178 13.6667 23.2564C13.9271 22.5742 14.193 21.8773 14.468 21.1894C14.6075 21.4198 14.7531 21.6503 14.9046 21.8814C15.5948 22.9326 16.4624 23.9045 17.4552 24.7459ZM14.8927 14.2326C14.958 15.383 14.7098 16.4897 14.3457 17.5514C13.8972 16.2386 13.6882 14.7889 14.2489 13.6185C14.3927 13.3185 14.5105 13.1581 14.5869 13.0744C14.7049 13.2566 14.8601 13.6642 14.8927 14.2326ZM9.63347 28.8054C9.38148 29.2562 9.12426 29.6782 8.86063 30.0767C8.22442 31.0355 7.18393 32.0621 6.64941 32.0621C6.59681 32.0621 6.53316 32.0536 6.44015 31.9554C6.38028 31.8926 6.37069 31.8476 6.37359 31.7862C6.39161 31.4337 6.85867 30.8059 7.53527 30.2238C8.14939 29.6957 8.84352 29.2262 9.63347 28.8054ZM27.3706 26.1461C27.2889 24.9719 25.3123 24.2186 25.2928 24.2116C24.5287 23.9407 23.6986 23.8091 22.7552 23.8091C21.7453 23.8091 20.6565 23.9552 19.2582 24.2819C18.014 23.3999 16.9392 22.2957 16.1362 21.0733C15.7816 20.5332 15.4628 19.9941 15.1849 19.4675C15.8633 17.8454 16.4742 16.1013 16.3632 14.1479C16.2737 12.5816 15.5674 11.5295 14.6069 11.5295C13.948 11.5295 13.3807 12.0175 12.9194 12.9813C12.0965 14.6987 12.3128 16.8962 13.562 19.5184C13.1121 20.5751 12.6941 21.6706 12.2895 22.7311C11.7861 24.0498 11.2674 25.4103 10.6828 26.7045C9.04334 27.3532 7.69648 28.1399 6.57402 29.1057C5.8387 29.7373 4.95223 30.7028 4.90163 31.7107C4.87693 32.1854 5.03969 32.6207 5.37044 32.9695C5.72183 33.3398 6.16329 33.5348 6.6487 33.5354C8.25189 33.5354 9.79489 31.3327 10.0876 30.8909C10.6767 30.0029 11.2281 29.0124 11.7684 27.8699C13.1292 27.3781 14.5794 27.011 15.985 26.6562L16.4884 26.5283C16.8668 26.4321 17.2601 26.3257 17.6635 26.2153C18.0904 26.0999 18.5296 25.9802 18.976 25.8665C20.4193 26.7844 21.9714 27.3831 23.4851 27.6028C24.7601 27.7883 25.8924 27.6807 26.6589 27.2811C27.3486 26.9219 27.3866 26.3676 27.3706 26.1461ZM30.4755 36.2428C30.4755 38.3932 28.5802 38.5258 28.1978 38.5301H3.74486C1.60224 38.5301 1.47322 36.6218 1.46913 36.2428L1.46884 3.75642C1.46884 1.6039 3.36763 1.4734 3.74457 1.46908H20.263L20.2718 1.4778V7.92396C20.2718 9.21763 21.0539 11.6669 24.0158 11.6669H30.4203L30.4753 11.7218L30.4755 36.2428ZM28.9572 10.1976H24.0169C21.8749 10.1976 21.7453 8.29969 21.7424 7.92417V2.95307L28.9572 10.1976ZM31.9447 36.2428V11.1157L21.7424 0.871022V0.823357H21.6936L20.8742 0H3.74491C2.44954 0 0 0.785336 0 3.75711V36.2435C0 37.5427 0.782956 40 3.74491 40H28.2001C29.4952 39.9997 31.9447 39.2143 31.9447 36.2428Z",fill:"#EB5757"}))),un=(0,r.createElement)("svg",{width:"800px",height:"800px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{clipPath:"url(#clip0_901_2684)"},(0,r.createElement)("path",{d:"M31 4V26C31 26.55 30.55 27 30 27H26V8C26 7.45 25.55 7 25 7H21V3H30C30.55 3 31 3.45 31 4Z",fill:"#668077"}),(0,r.createElement)("path",{d:"M26 27V30C26 30.55 25.55 31 25 31H7C6.45 31 6 30.55 6 30V25V8C6 7.45 6.45 7 7 7H21H25C25.55 7 26 7.45 26 8V27Z",fill:"#FFE6EA"}),(0,r.createElement)("path",{d:"M21 3V7H7C6.45 7 6 7.45 6 8V25H2C1 25 1 24 1 24V2C1 1.45 1.45 1 2 1H20C20.55 1 21 1.45 21 2V3Z",fill:"#FFC44D"}),(0,r.createElement)("path",{d:"M12 13H15M12 16H20M12 20H20M12 24H20M21 7V2C21 1.447 20.553 1 20 1H2C1.447 1 1 1.447 1 2V24C1 24 1 25 2 25H3M26 27H30C30.553 27 31 26.553 31 26V4C31 3.447 30.553 3 30 3H24M26 30C26 30.553 25.553 31 25 31H7C6.447 31 6 30.553 6 30V8C6 7.447 6.447 7 7 7H25C25.553 7 26 7.447 26 8V30Z",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),(0,r.createElement)("defs",null,(0,r.createElement)("clipPath",{id:"clip0_901_2684"},(0,r.createElement)("rect",{width:"32",height:"32",fill:"white"})))),hn="https://elementor.bplugins.com/demo",pn="https://bplugins.com/docs/document-embedder-addons-for-elementor/widget-guides/",gn=[{name:"deafe_doc_embedder",title:"Document Embedder",icon:Qt,demo:`${hn}/google-doc-embedder/`,docs:`${pn}`},{name:"deafe_excel_embedder",title:"Excel Embedder",icon:Xt,demo:`${hn}/excel-embedder/`,docs:`${pn}`},{name:"deafe_pdf_embedder",title:"PDF Embedder",icon:en,demo:`${hn}/pdf-embedder/`,docs:`${pn}`},{name:"deafe_word_viewer",title:"Word Viewer",icon:tn,demo:`${hn}/word-viewer/`,docs:`${pn}`},{name:"deafe_excel_viewer",title:"Excel Viewer",icon:nn,demo:`${hn}/excel-embedder/`,docs:`${pn}`},{name:"deafe_pp_embedder",title:"PowerPoint Embedder",icon:rn,demo:`${hn}/powerpoint-embedder/`,docs:`${pn}`},{name:"deafe_powerpoint_viewer",title:"PowerPoint Viewer",icon:an,demo:`${hn}/powerpoint-viewer/`,docs:`${pn}`},{name:"deafe_google_docs",title:"Google Docs Viewer",icon:ln,demo:`${hn}/google-doc-embedder/`,docs:`${pn}`},{name:"deafe_google_sheets",title:"Google Sheets Embedder",icon:on,demo:`${hn}/google-sheet-embedder/`,docs:`${pn}`},{name:"deafe_google_slides",title:"Google Slides Embedder",icon:sn,demo:`${hn}/google-slides-embedder/`,docs:`${pn}`},{name:"deafe_pdf_native_embedder",title:"PDF Native Embedder",icon:cn,demo:`${hn}/pdf-embedder/`,docs:`${pn}`},{name:"deafe_sleek_pdf_viewer",title:"Sleek PDF Viewer",icon:dn,demo:`${hn}/sleek-pdf-viewer/`,docs:`${pn}`},{name:"deafe_adobe_pdf_viewer",title:"Adobe PDF Viewer",icon:mn,demo:`${hn}/adobe-pdf-viewer-full-window/`,docs:`${pn}`,isPremium:!0},{name:"deafe_document_library",title:"Document Library",icon:un,demo:`${hn}/document-library/`,docs:`${pn}`,isPremium:!0},{name:"deafe_pdfjs_pdf_viewer",title:"Pdf.js PDF Viewer",icon:(0,r.createElement)("svg",{width:"800px",height:"800px",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,r.createElement)("g",null,(0,r.createElement)("path",{d:"M5.8 14H5v1h.8c.3 0 .5-.2.5-.5s-.2-.5-.5-.5zM11 2H3v16h13V7l-5-5zM7.2 14.6c0 .8-.6 1.4-1.4 1.4H5v1H4v-4h1.8c.8 0 1.4.6 1.4 1.4v.2zm4.1.5c0 1-.8 1.9-1.9 1.9H8v-4h1.4c1 0 1.9.8 1.9 1.9v.2zM15 14h-2v1h1.5v1H13v1h-1v-4h3v1zm0-2H4V3h7v4h4v5zm-5.6 2H9v2h.4c.6 0 1-.4 1-1s-.5-1-1-1z"}))),demo:`${hn}/pdf-js-pdf-viewer/`,docs:`${pn}`,isPremium:!0},{name:"deafe_flip_book_pdf_viewer",title:"Flip Book PDF Viewer",icon:(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),(0,r.createElement)("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("g",{id:"SVGRepo_iconCarrier"}," ",(0,r.createElement)("path",{opacity:"0.4",d:"M16.1898 2H7.81976C4.17976 2 2.00977 4.17 2.00977 7.81V16.18C2.00977 19.82 4.17976 21.99 7.81976 21.99H16.1898C19.8298 21.99 21.9998 19.82 21.9998 16.18V7.81C21.9998 4.17 19.8298 2 16.1898 2Z",fill:"#292D32"})," ",(0,r.createElement)("path",{d:"M11.4991 8.09V17.25C11.4991 17.61 11.1391 17.85 10.8091 17.71C9.59914 17.19 8.01913 16.71 6.91913 16.57L6.72913 16.55C6.11913 16.47 5.61914 15.9 5.61914 15.28V7.57999C5.61914 6.81999 6.23915 6.25 6.99915 6.31C8.24915 6.41 10.0992 7.01001 11.2592 7.67001C11.4092 7.74001 11.4991 7.91 11.4991 8.09Z",fill:"#292D32"})," ",(0,r.createElement)("path",{d:"M18.38 7.69983V15.2698C18.38 15.8898 17.88 16.4598 17.27 16.5398L17.06 16.5598C15.97 16.7098 14.4 17.1798 13.19 17.6898C12.86 17.8298 12.5 17.5898 12.5 17.2298V8.0798C12.5 7.8998 12.59 7.72983 12.75 7.63983C13.91 6.98983 15.72 6.4098 16.95 6.2998H16.99C17.76 6.3098 18.38 6.92983 18.38 7.69983Z",fill:"#292D32"})," ")),demo:`${hn}/flip-3d-pdf-viewer/`,docs:`${pn}`,isPremium:!0},{name:"deafe_modern_document_library",title:"Modern Document Library",icon:un,demo:`${hn}/modern-document-library-premium-grid/`,docs:`${pn}`,isPremium:!0}],vn="document-embedder-addons-for-elementor",fn=e=>{const{version:t,isPremium:n,hasPro:r,pricingUrl:a,licenseActiveNonce:l,none:o,action:i,adminUrl:s=""}=e,c=n?" Pro":"";return{name:`Document Embedder Addon${c}`,displayName:`Document Embedder Addon${c} - Easily Embed Word, Excel, PowerPoint, PDF, and Google Docs.`,description:"Document Embedder Addon for Elementor is a collection of 16 document display widgets designed for use with the Elementor page builder. It allows users to embed files such as PDFs, Word documents, Excel sheets, PowerPoint presentations, and Google Docs directly into WordPress pages with adjustable layout controls.",slug:vn,media:{logo:`https://ps.w.org/${vn}/assets/icon-128x128.png`,banner:`https://ps.w.org/${vn}/assets/banner-772x250.png`,thumbnail:"https://bplugins.com/wp-content/uploads/2025/09/document-embedder.png",video:"https://www.youtube.com/watch?v=OtJayJ8N-5c",isYoutube:!0},licenseActiveNonce:l,none:o,action:i,version:t,isPremium:n,hasPro:r,pricingUrl:a,adminUrl:s,displayOurPlugins:!0,pages:{org:`https://wordpress.org/plugins/${vn}/`,landing:`https://bplugins.com/products/${vn}/`,docs:`https://bplugins.com/docs/${vn}/`,pricing:`https://bplugins.com/products/${vn}/pricing`},freemius:{product_id:20539,plan_id:34159,public_key:"pk_266740f98755c34bcd6cf52c052f8"},proFeatures:["Adobe PDF Viewer: A reliable, feature-rich PDF viewer powered by Adobe’s PDF engine.","Document Library: Organize and manage all your embedded documents in one centralized location with easy access and quick reusable upload","Pdf.js PDF Viewer: Display your PDF in premium look with the pdf.js library","Search functionality within Adobe PDF embedded documents.","Allow users to highlight and annotate documents.","Add watermarks to embedded documents for branding and security.","Add content protection features to prevent unauthorized downloading or copying of embedded documents.","Centralized hub to organize and manage all your embedded documents.","Lightbox display option for a more immersive viewing experience.","Priority support for any issues or questions related to the plugin."],startButton:{label:"Start Editing Now",url:`${s}post-new.php?post_type=page`}}},wn=e=>({keywords:["PDF Embedder","Word Viewer","Excel Embedder","PowerPoint Viewer","Document Library","Flip Book"],keywordsLabel:"Widgets",gettingStarted:{tabs:[{key:"elementor",label:"Elementor",icon:(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"16",height:"16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),(0,r.createElement)("line",{x1:"9",y1:"3",x2:"9",y2:"21"})),steps:[{num:1,title:"Create or Edit a Page",body:"Go to <strong>Pages › Add New</strong> and click <strong>Edit with Elementor</strong>.",link:{url:`${e}post-new.php?post_type=page`,label:"Create New Page"}},{num:2,title:"Search for All Embed Widgets",body:'In the Elementor panel, search for "PDF Embedder", "Adobe PDF Embedder", "Google Docs Viewer", etc.'},{num:3,title:"Drag and Drop",body:"Drag the widget onto your section and enter the media URL in the content settings."}]}]},changelogs:[{version:"1.2.2 06-Aug-26",type:"update",list:["<strong>New:</strong> Add new Widget Modern Document Library.","<strong>New:</strong> Add Timeline Document View.","<strong>New:</strong> Add Duo-Tone Document View.","<strong>New:</strong> Add Premium Grid Document View."]},{version:"1.2.1 12-July-26",type:"update",list:["<strong>Update:</strong> Add new version of Freemius SDK 2.13.4","<strong>Update:</strong> Add new Admin Dashboard."]},{version:"1.2.0 27-June-26",type:"update",list:["<strong>Update:</strong> Add new version of Freemius SDK.","<strong>Update:</strong> Released version 1.2.0."]},{version:"1.1.10 18-June-26",type:"fix",list:["<strong>Fix:</strong> Resolved all widgets missing issue.","<strong>Fix:</strong> Released version 1.1.10."]},{version:"1.1.9 22-May-26",type:"update",list:["<strong>Update:</strong> Cleaned up core file call.","<strong>Update:</strong> Add the dependency plugin.","<strong>Fix:</strong> Resolved all plugin check issues.","<strong>Update:</strong> Released version 1.1.9."]},{version:"1.1.8 11-May-26",type:"update",list:["<strong>Update:</strong> Cleaned up the codebase and removed unused dependencies.","<strong>Improvement:</strong> Improved the presentation of premium-only settings with intuitive notice cards.","<strong>Improvement:</strong> Refactored the codebase, including improvements to prefixes, text domains, nonce validation, escaping, and overall coding standards.","<strong>Fix:</strong> Resolved all plugin check issues."]},{version:"1.1.7 18-Apr-26",type:"fix",list:["<strong>Fix:</strong> Fixed: PHP Fatal error on elementor editor"]},{version:"1.1.6 10-Mar-26",type:"new",list:["<strong>New:</strong> Release: New Widget( Flip Book PDF Viewer)"]},{version:"1.1.5 03-Mar-26",type:"update",list:["<strong>Update:</strong> Update: Add new admin dashboard"]},{version:"1.1.4 22-Feb-26",type:"new",list:["<strong>New:</strong> Release: New Widget( Pdf.js PDF Viewer)","<strong>Fix:</strong> Fixed: Refactor code"]},{version:"1.1.3 26-Jan-26",type:"new",list:["<strong>New:</strong> Release: New Widget( Document Library)","<strong>Update:</strong> Update: New Features Show/Hide Preview Button","<strong>Update:</strong> Update: New Features Show/Hide Download Button"]},{version:"1.1.2 05-Jan-26",type:"fix",list:["<strong>Fix:</strong> Fixed: Dashboard JS Error"]},{version:"1.1.1 03-Jan-26",type:"new",list:["<strong>New:</strong> Release: New Widget( Adobe PDF Viewer)","<strong>New:</strong> Release: Full Window Adobe PDF Viewer","<strong>New:</strong> Release: Sided Container Adobe PDF Viewer","<strong>New:</strong> Release: In-Line Adobe PDF Viewer","<strong>New:</strong> Release: Lightbox Adobe PDF Viewer"]},{version:"1.1.0 26-Nov-25",type:"fix",list:["<strong>Fix:</strong> Fixed: Sleek PDF Viewer Style Control Issue Fix "]},{version:"1.0.5 12-Nov-25",list:["<strong>Fix:</strong> Fixed: PHP Warning"]},{version:"1.0.4",list:["<strong>Fix:</strong> Fixed: Security issue"]},{version:"1.0.3",list:["<strong>Improvement:</strong> Reduce assets load"]},{version:"1.0.2",list:["<strong>New:</strong> Add translate feature"]},{version:"1.0.0",list:["<strong>New:</strong> First release"]}],changelogsLimit:4,changelogsReadMoreLabel:"View More Changelogs",proFeatures:["Adobe PDF Viewer: A reliable, feature-rich PDF viewer powered by Adobe’s PDF engine.","Document Library: Organize and manage all your embedded documents in one centralized location with easy access and quick reusable upload","Pdf.js PDF Viewer: Display your PDF in premium look with the pdf.js library","Search functionality within Adobe PDF embedded documents.","Allow users to highlight and annotate documents.","Add watermarks to embedded documents for branding and security.","Add content protection features to prevent unauthorized downloading or copying of embedded documents.","Centralized hub to organize and manage all your embedded documents.","Lightbox display option for a more immersive viewing experience.","Priority support for any issues or questions related to the plugin."]}),En={title:"Live Overview",description:"Click on any style to view it live",allInOneLabel:"See All Demo",allInOneLink:"https://bplugins.com/products/document-embedder-addons-for-elementor/#demos",demos:[{icon:'<svg width="800px" height="800px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="File" transform="translate(-96.000000, -96.000000)" fill-rule="nonzero"><g id="doc_line" transform="translate(96.000000, 96.000000)"><path d="M24,0 L24,24 L0,24 L0,0 L24,0 Z M12.5934901,23.257841 L12.5819402,23.2595131 L12.5108777,23.2950439 L12.4918791,23.2987469 L12.4918791,23.2987469 L12.4767152,23.2950439 L12.4056548,23.2595131 C12.3958229,23.2563662 12.3870493,23.2590235 12.3821421,23.2649074 L12.3780323,23.275831 L12.360941,23.7031097 L12.3658947,23.7234994 L12.3769048,23.7357139 L12.4804777,23.8096931 L12.4953491,23.8136134 L12.4953491,23.8136134 L12.5071152,23.8096931 L12.6106902,23.7357139 L12.6232938,23.7196733 L12.6232938,23.7196733 L12.6266527,23.7031097 L12.609561,23.275831 C12.6075724,23.2657013 12.6010112,23.2592993 12.5934901,23.257841 L12.5934901,23.257841 Z M12.8583906,23.1452862 L12.8445485,23.1473072 L12.6598443,23.2396597 L12.6498822,23.2499052 L12.6498822,23.2499052 L12.6471943,23.2611114 L12.6650943,23.6906389 L12.6699349,23.7034178 L12.6699349,23.7034178 L12.678386,23.7104931 L12.8793402,23.8032389 C12.8914285,23.8068999 12.9022333,23.8029875 12.9078286,23.7952264 L12.9118235,23.7811639 L12.8776777,23.1665331 C12.8752882,23.1545897 12.8674102,23.1470016 12.8583906,23.1452862 L12.8583906,23.1452862 Z M12.1430473,23.1473072 C12.1332178,23.1423925 12.1221763,23.1452606 12.1156365,23.1525954 L12.1099173,23.1665331 L12.0757714,23.7811639 C12.0751323,23.7926639 12.0828099,23.8018602 12.0926481,23.8045676 L12.108256,23.8032389 L12.3092106,23.7104931 L12.3186497,23.7024347 L12.3186497,23.7024347 L12.3225043,23.6906389 L12.340401,23.2611114 L12.337245,23.2485176 L12.337245,23.2485176 L12.3277531,23.2396597 L12.1430473,23.1473072 Z" id="MingCute" fill-rule="nonzero"></path><path d="M13.5858,2 C14.1162,2 14.6249,2.21071 15,2.58579 L19.4142,7 C19.7893,7.37507 20,7.88378 20,8.41421 L20,20 C20,21.1046 19.1046,22 18,22 L6,22 C4.89543,22 4,21.1046 4,20 L4,4 C4,2.89543 4.89543,2 6,2 L13.5858,2 Z M12,4 L6,4 L6,20 L18,20 L18,10 L13.5,10 C12.7203294,10 12.0795543,9.40511446 12.0068668,8.64446046 L12,8.5 L12,4 Z M14.0637,12.6489 C14.2576,12.1318 14.834,11.8698 15.3511,12.0637 C15.8312643,12.24375 16.0914699,12.7536087 15.9709451,13.2395462 L15.9363,13.3511 L14.53,17.1014 C14.1886174,18.0117217 12.9420907,18.0513009 12.522,17.2201376 L12.47,17.1014 L12,15.848 L11.53,17.1014 C11.1886174,18.0117217 9.94210904,18.0513009 9.52203734,17.2201376 L9.47004,17.1014 L8.06367,13.3511 C7.86975,12.834 8.13176,12.2576 8.64888,12.0637 C9.12906286,11.88365 9.66036821,12.0966974 9.88908227,12.5420706 L9.93633,12.6489 L10.5,14.152 L10.97,12.8986 C11.3113826,11.9882783 12.5579093,11.9486991 12.978,12.7798624 L13.03,12.8986 L13.5,14.152 L14.0637,12.6489 Z M14,4.41421 L14,8 L17.5858,8 L14,4.41421 Z" id="形状" fill="#09244B"></path></g></g></g></svg>',title:"Google Doc Viewer",description:"View word file using google doc",category:"Viewer",type:"iframe",url:"https://elementor.bplugins.com/demo/google-doc-embedder/"},{icon:'<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path d="M2 12.1333C2 8.58633 2 6.81283 2.69029 5.45806C3.29749 4.26637 4.26637 3.29749 5.45806 2.69029C6.81283 2 8.58633 2 12.1333 2H19.8667C23.4137 2 25.1872 2 26.5419 2.69029C27.7336 3.29749 28.7025 4.26637 29.3097 5.45806C30 6.81283 30 8.58633 30 12.1333V19.8667C30 23.4137 30 25.1872 29.3097 26.5419C28.7025 27.7336 27.7336 28.7025 26.5419 29.3097C25.1872 30 23.4137 30 19.8667 30H12.1333C8.58633 30 6.81283 30 5.45806 29.3097C4.26637 28.7025 3.29749 27.7336 2.69029 26.5419C2 25.1872 2 23.4137 2 19.8667V12.1333Z" fill="#B30B00"></path> <path d="M24.0401 17.8976C22.7327 16.464 19.1701 17.0912 18.3094 17.1808C17.0891 15.9264 16.2284 14.504 15.8798 13.9664C16.3156 12.6224 16.6642 11.1104 16.6642 9.6768C16.6642 8.3328 16.1413 7 14.7576 7C14.2347 7 13.7989 7.2688 13.5374 7.7168C12.9273 8.792 13.1887 10.9312 14.1475 13.16C13.6245 14.7728 12.753 17.1808 11.7179 19.0512C10.3234 19.5888 7.28369 21.0112 7.02221 22.624C6.93505 23.072 7.10937 23.6096 7.45801 23.8784C7.80665 24.2368 8.24244 24.3264 8.67824 24.3264C10.4977 24.3264 12.328 21.7392 13.6354 19.4096C14.6814 19.0512 16.3265 18.5136 17.9825 18.2448C19.8891 20.0368 21.6323 20.2944 22.5039 20.2944C23.7242 20.2944 24.16 19.7568 24.3234 19.3088C24.5522 18.8832 24.3887 18.256 24.0401 17.8976ZM22.8199 18.7936C22.7327 19.152 22.2969 19.5104 21.5125 19.3312C20.5537 19.0624 19.693 18.6144 18.9958 17.9872C19.6059 17.8976 21.0767 17.7184 22.1226 17.8976C22.4712 17.9872 22.907 18.256 22.8199 18.7936ZM14.3872 8.0752C14.4744 7.896 14.6487 7.8064 14.823 7.8064C15.2588 7.8064 15.3459 8.344 15.3459 8.792C15.2588 9.8672 15.0845 11.0208 14.7358 12.0064C14.0386 10.0464 14.1257 8.6128 14.3872 8.0752ZM14.3 18.1664C14.7358 17.36 15.2588 15.848 15.4331 15.3104C15.8689 16.1168 16.6533 17.0128 17.002 17.4496C17.0891 17.3712 15.5203 17.7184 14.3 18.1664ZM11.3475 20.2272C10.1382 22.1872 9.00509 23.4416 8.30781 23.4416C8.22065 23.4416 8.04634 23.4416 7.95918 23.352C7.87202 23.1728 7.78486 22.9936 7.87202 22.8144C7.95918 22.0976 9.35373 21.112 11.3475 20.2272Z" fill="white"></path> </g></svg>',title:"Adobe PDF Viewer",children:[{title:"Full Window",type:"iframe",url:"https://elementor.bplugins.com/demo/adobe-pdf-viewer-full-window/"},{title:"Sized Container",type:"iframe",url:"https://elementor.bplugins.com/demo/adobe-pdf-viewer-sized-container/"},{title:"In Line",type:"iframe",url:"https://elementor.bplugins.com/demo/adobe-pdf-viewer-in-line/"},{title:"Lightbox",type:"iframe",url:"https://elementor.bplugins.com/demo/adobe-pdf-viewer-lightbox/"}]},{icon:'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" strokeWidth="0"></g><g id="SVGRepo_tracerCarrier" strokeLinecap="round" strokeLinejoin="round"></g><g id="SVGRepo_iconCarrier"> <path opacity="0.4" d="M16.1898 2H7.81976C4.17976 2 2.00977 4.17 2.00977 7.81V16.18C2.00977 19.82 4.17976 21.99 7.81976 21.99H16.1898C19.8298 21.99 21.9998 19.82 21.9998 16.18V7.81C21.9998 4.17 19.8298 2 16.1898 2Z" fill="#292D32"></path> <path d="M11.4991 8.09V17.25C11.4991 17.61 11.1391 17.85 10.8091 17.71C9.59914 17.19 8.01913 16.71 6.91913 16.57L6.72913 16.55C6.11913 16.47 5.61914 15.28V7.57999C5.61914 6.81999 6.23915 6.25 6.99915 6.31C8.24915 6.41 10.0992 7.01001 11.2592 7.67001C11.4092 7.74001 11.4991 7.91 11.4991 8.09Z" fill="#292D32"></path> <path d="M18.38 7.69983V15.2698C18.38 15.8898 17.88 16.4598 17.27 16.5398L17.06 16.5598C15.97 16.7098 14.4 17.1798 13.19 17.6898C12.86 17.8298 12.5 17.5898 12.5 17.2298V8.0798C12.5 7.8998 12.59 7.72983 12.75 7.63983C13.91 6.98983 15.72 6.4098 16.95 6.2998H16.99C17.76 6.3098 18.38 6.92983 18.38 7.69983Z" fill="#292D32"></path> </g></svg>',title:"Flip Book PDF Viewer",children:[{title:"Default",type:"iframe",url:"https://elementor.bplugins.com/demo/flip-book-pdf-viewer-default/"},{title:"Thumbnail",type:"iframe",url:"https://elementor.bplugins.com/demo/flip-book-pdf-viewer-thumbnail/"},{title:"Lightbox",type:"iframe",url:"https://elementor.bplugins.com/demo/flip-book-pdf-viewer-lightbox/"}]},{icon:'<svg width="800px" height="800px" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" version="1.1"><path style="fill:#ffffff;stroke:none;" d="m 65,3 0,19 19,0 z"/><path style="fill:#EBEBDA;stroke:#777777;stroke-width:2;" d="m 65,3 0,19 19,0 0,74 -72,0 0,-93 53,0 19,19"/><path style="fill:none;stroke:#C01A1A;stroke-width:4;" d="m 49,56 c -17,4 -27,10 -29,14 -2,4 -1,9 6,4 7,-5 20,-32 23,-53 1,-7 -7,-11 -7,-2 0,12 6,34 30,41 9,2 10,-7 0,-7 -10,0 -23,3 -23,3 z"/></svg>',title:"Native PDF Viewer",description:"Pdf Viewer using Native Browser",category:"Viewer",type:"iframe",url:"https://elementor.bplugins.com/demo/pdf-embedder/"},{icon:'<svg width="800px" height="800px" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="48" height="48" fill="white" fill-opacity="0.01"/><path d="M4 8H44" stroke="#000000" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8 8H40V34H8L8 8Z" fill="#2F88FF" stroke="#000000" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 16L27 21L22 26" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 42L24 34L32 42" stroke="#000000" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>',title:"PowerPoint Viewer",description:"PowerPoint Viewer to show presentation",category:"Viewer",type:"iframe",url:"https://elementor.bplugins.com/demo/powerpoint-viewer/"},{icon:'<svg width="800px" height="800px" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 15V6C8 4.89543 8.89543 4 10 4H38C39.1046 4 40 4.89543 40 6V42C40 43.1046 39.1046 44 38 44H10C8.89543 44 8 43.1046 8 42V33" stroke="#000000" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M31 15H34" stroke="#000000" stroke-width="4" stroke-linecap="round"/><path d="M28 23H34" stroke="#000000" stroke-width="4" stroke-linecap="round"/><path d="M28 31H34" stroke="#000000" stroke-width="4" stroke-linecap="round"/><rect x="4" y="15" width="18" height="18" fill="#2F88FF" stroke="#000000" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M10 21L16 27" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 21L10 27" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>',title:"Excel Viewer",description:"Excel Viewer to show spreedsheet",category:"Viewer",type:"iframe",url:"https://elementor.bplugins.com/demo/excel-embedder/"},{icon:'<svg fill="#000000" height="800px" width="800px" version="1.1" id="Icons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" ="0 0 32 32" xml:space="preserve"><path d="M29,2H3C1.3,2,0,3.3,0,5v16c0,1.7,1.3,3,3,3h26c1.7,0,3-1.3,3-3V5C32,3.3,30.7,2,29,2z M7.7,14.3c0.4,0.4,0.4,1,0,1.4C7.5,15.9,7.3,16,7,16s-0.5-0.1-0.7-0.3l-2-2c-0.4-0.4-0.4-1,0-1.4l2-2c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4L6.4,13L7.7,14.3zM27.7,13.7l-2,2C25.5,15.9,25.3,16,25,16s-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.3-1.3l-1.3-1.3c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l2,2C28.1,12.7,28.1,13.3,27.7,13.7z"/><circle cx="16" cy="28" r="2"/><circle cx="10" cy="28" r="2"/><circle cx="22" cy="28" r="2"/></svg>',title:"Google Slides Viewer",description:"Google Slides Viewer to show presentation",category:"Viewer",type:"iframe",url:"https://elementor.bplugins.com/demo/google-slides-embedder/"},{icon:'<svg width="800px" height="800px" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 6.5V6H2V6.5H2.5ZM6.5 6.5V6H6V6.5H6.5ZM6.5 10.5H6V11H6.5V10.5ZM13.5 3.5H14V3.29289L13.8536 3.14645L13.5 3.5ZM10.5 0.5L10.8536 0.146447L10.7071 0H10.5V0.5ZM2.5 7H3.5V6H2.5V7ZM3 11V8.5H2V11H3ZM3 8.5V6.5H2V8.5H3ZM3.5 8H2.5V9H3.5V8ZM4 7.5C4 7.77614 3.77614 8 3.5 8V9C4.32843 9 5 8.32843 5 7.5H4ZM3.5 7C3.77614 7 4 7.22386 4 7.5H5C5 6.67157 4.32843 6 3.5 6V7ZM6 6.5V10.5H7V6.5H6ZM6.5 11H7.5V10H6.5V11ZM9 9.5V7.5H8V9.5H9ZM7.5 6H6.5V7H7.5V6ZM9 7.5C9 6.67157 8.32843 6 7.5 6V7C7.77614 7 8 7.22386 8 7.5H9ZM7.5 11C8.32843 11 9 10.3284 9 9.5H8C8 9.77614 7.77614 10 7.5 10V11ZM10 6V11H11V6H10ZM10.5 7H13V6H10.5V7ZM10.5 9H12V8H10.5V9ZM2 5V1.5H1V5H2ZM13 3.5V5H14V3.5H13ZM2.5 1H10.5V0H2.5V1ZM10.1464 0.853553L13.1464 3.85355L13.8536 3.14645L10.8536 0.146447L10.1464 0.853553ZM2 1.5C2 1.22386 2.22386 1 2.5 1V0C1.67157 0 1 0.671573 1 1.5H2ZM1 12V13.5H2V12H1ZM2.5 15H12.5V14H2.5V15ZM14 13.5V12H13V13.5H14ZM12.5 15C13.3284 15 14 14.3284 14 13.5H13C13 13.7761 12.7761 14 12.5 14V15ZM1 13.5C1 14.3284 1.67157 15 2.5 15V14C2.22386 14 2 13.7761 2 13.5H1Z" fill="#000000"/></svg>',title:"Sleek PDF Viewer",description:"Pdf Viewer using PDFPress",category:"Viewer",type:"iframe",url:"https://elementor.bplugins.com/demo/sleek-pdf-viewer/"},{icon:'<svg fill="#000000" width="800px" height="800px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M15.15 18.379h-4.247v2.38h4.25v-2.38zM22.797 12.601h-13.596v9.857h13.597v-9.858zM26.876 9.145v19.771c0 0 0 0 0 0.001 0 1.126-0.913 2.038-2.038 2.038-0 0-0.001 0-0.001 0h-17.675c0 0 0 0-0 0-1.126 0-2.039-0.913-2.039-2.039 0 0 0 0 0-0v0-25.833c0-0 0-0 0-0.001 0-1.126 0.913-2.038 2.038-2.038 0 0 0.001 0 0.001 0h11.613v8.101zM21.099 18.379h-4.25v2.38h4.25zM21.099 14.3h-4.25v2.38h4.25zM19.4 1.045v7.478h7.478zM15.15 16.679h-4.247v-2.379h4.25v2.38z"></path></svg>',title:"Google Sheet Viewer",description:"Google Sheet Viewer to show spreedsheet",category:"Viewer",type:"iframe",url:"https://elementor.bplugins.com/demo/google-sheet-embedder/"},{icon:'<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512" xml:space="preserve" fill="#000000"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path style="fill:#ECEDEF;" d="M106.324,8.017c-9.446,0-17.102,7.656-17.102,17.102v461.762c0,9.446,7.656,17.102,17.102,17.102 h376.251c9.446,0,17.102-7.656,17.102-17.102V84.977l-76.96-76.96H106.324z"></path> <path style="fill:#D9DCDF;" d="M439.819,84.977h59.858l-76.96-76.96v59.858C422.716,77.319,430.373,84.977,439.819,84.977z"></path> <path style="fill:#C6CACF;" d="M397.063,196.142H89.222V42.221h307.841c4.722,0,8.551,3.829,8.551,8.551v136.818 C405.614,192.313,401.785,196.142,397.063,196.142z"></path> <polygon style="fill:#68727E;" points="388.512,179.04 12.261,179.04 80.67,110.63 12.261,42.221 388.512,42.221 "></polygon> <path style="fill:#D9DCDF;" d="M414.165,461.228H174.733c-4.722,0-8.551-3.829-8.551-8.551v-222.33c0-4.722,3.829-8.551,8.551-8.551 h239.432c4.722,0,8.551,3.829,8.551,8.551v222.33C422.716,457.399,418.888,461.228,414.165,461.228z"></path> <path style="fill:#C6CACF;" d="M183.284,444.125v-222.33h-8.551c-4.722,0-8.551,3.829-8.551,8.551v222.33 c0,4.722,3.829,8.551,8.551,8.551h239.432c4.722,0,8.551-3.829,8.551-8.551v-8.551H183.284z"></path> <rect x="302.999" y="324.409" style="fill:#DB6B5E;" width="85.511" height="102.614"></rect> <rect x="320.101" y="341.511" style="fill:#FF8C78;" width="51.307" height="68.409"></rect> <path d="M499.677,426.489c4.428,0,8.017-3.589,8.017-8.017V84.977c0-2.1-0.862-4.183-2.347-5.668l-76.96-76.96 C426.9,0.863,424.817,0,422.716,0H106.324C92.473,0,81.205,11.268,81.205,25.119v9.086H12.261c-6.987,0-10.616,8.738-5.668,13.685 l62.74,62.741l-62.74,62.741c-4.947,4.947-1.32,13.685,5.668,13.685h68.944v299.825c0,13.851,11.268,25.119,25.119,25.119h376.251 c13.851,0,25.119-11.268,25.119-25.119v-34.205c0-4.427-3.588-8.017-8.017-8.017c-4.428,0-8.017,3.589-8.017,8.017v34.205 c0,5.01-4.076,9.086-9.086,9.086H106.324c-5.01,0-9.086-4.076-9.086-9.086V187.056h51.841c4.427,0,8.017-3.589,8.017-8.017 s-3.589-8.017-8.017-8.017H31.615l54.724-54.724c3.131-3.131,3.131-8.207,0-11.337L31.615,50.238h348.88v120.785H183.284 c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h205.228c4.428,0,8.017-3.589,8.017-8.017V42.221 c0-4.427-3.588-8.017-8.017-8.017H97.238v-9.086c0-5.01,4.076-9.086,9.086-9.086H414.7v51.841c0,13.851,11.268,25.119,25.119,25.119 h51.841v325.478C491.66,422.9,495.248,426.489,499.677,426.489z M439.819,76.96c-5.01,0-9.086-4.076-9.086-9.086V27.37l49.589,49.59 H439.819z"></path> <path d="M182.75,136.284v-17.655c0.177,0.012,0.355,0.018,0.534,0.018h25.653c4.427,0,8.017-3.589,8.017-8.017V84.977 c0-4.427-3.589-8.017-8.017-8.017h-34.205c-4.427,0-8.017,3.589-8.017,8.017v51.307c0,4.427,3.589,8.017,8.017,8.017 S182.75,140.711,182.75,136.284z M182.75,92.994h18.171v9.62h-17.637c-0.18,0-0.357,0.005-0.534,0.018V92.994z"></path> <path d="M268.796,144.301c4.428,0,8.017-3.589,8.017-8.017v-34.205c0-13.851-11.268-25.119-25.119-25.119h-17.102 c-4.427,0-8.017,3.589-8.017,8.017v51.307c0,4.427,3.589,8.017,8.017,8.017H268.796z M242.608,92.994h9.086 c5.01,0,9.086,4.076,9.086,9.086v26.188h-18.171V92.994z"></path> <path d="M328.654,92.994c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017h-34.205 c-4.428,0-8.017,3.589-8.017,8.017v51.307c0,4.427,3.588,8.017,8.017,8.017s8.017-3.589,8.017-8.017v-17.637h17.637 c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017h-17.637v-9.62H328.654z"></path> <path d="M158.165,230.347v222.33c0,9.136,7.432,16.568,16.568,16.568h239.432c9.136,0,16.568-7.432,16.568-16.568v-222.33 c0-9.136-7.432-16.568-16.568-16.568H174.733C165.597,213.779,158.165,221.211,158.165,230.347z M174.199,230.347 c0-0.295,0.239-0.534,0.534-0.534h239.432c0.294,0,0.534,0.239,0.534,0.534v222.33c0,0.295-0.241,0.534-0.534,0.534H174.733 c-0.295,0-0.534-0.239-0.534-0.534L174.199,230.347L174.199,230.347z"></path> <path d="M303,435.04h85.511c4.428,0,8.017-3.589,8.017-8.017V324.409c0-4.427-3.588-8.017-8.017-8.017H303 c-4.428,0-8.017,3.589-8.017,8.017v102.614C294.984,431.45,298.572,435.04,303,435.04z M311.017,332.426h69.478v86.58h-69.478 V332.426z"></path> <path d="M303,264.017h94.063c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017H303 c-4.428,0-8.017,3.589-8.017,8.017C294.984,260.427,298.572,264.017,303,264.017z"></path> <path d="M303,298.221h94.063c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017H303 c-4.428,0-8.017,3.589-8.017,8.017C294.984,294.632,298.572,298.221,303,298.221z"></path> <path d="M191.835,264.017h85.512c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017h-85.511 c-4.427,0-8.017,3.589-8.017,8.017C183.819,260.427,187.408,264.017,191.835,264.017z"></path> <path d="M191.835,298.221h85.512c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017h-85.511 c-4.427,0-8.017,3.589-8.017,8.017C183.819,294.632,187.408,298.221,191.835,298.221z"></path> <path d="M191.835,332.426h85.512c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017h-85.511 c-4.427,0-8.017,3.589-8.017,8.017C183.819,328.837,187.408,332.426,191.835,332.426z"></path> <path d="M191.835,366.63h85.512c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017h-85.511 c-4.427,0-8.017,3.589-8.017,8.017C183.819,363.041,187.408,366.63,191.835,366.63z"></path> <path d="M191.835,400.835h85.512c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017h-85.511 c-4.427,0-8.017,3.589-8.017,8.017C183.819,397.246,187.408,400.835,191.835,400.835z"></path> <path d="M191.835,435.04h85.512c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017h-85.511 c-4.427,0-8.017,3.589-8.017,8.017C183.819,431.45,187.408,435.04,191.835,435.04z"></path> </g></svg>',title:"pdf.js PDF Viewer",description:"Pdf Viewer",category:"Viewer",type:"iframe",url:"https://elementor.bplugins.com/demo/pdf-js-pdf-viewer/"},{icon:' <svg width="800px" height="800px" viewBox="0 0 1024 1024" class="icon" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M136.436736 593.825792V461.78304c0-75.42272 61.090816-136.281088 136.649728-135.927808l469.368832-0.002048c75.469824 0.352256 139.720704 64.029696 142.649344 139.280384 0 0 2.291712 5.917696 2.397184 128.6912 0.104448 122.773504 0.045056 158.030848 0.045056 158.030848-0.0256 75.474944-61.190144 136.659968-136.493056 136.659968H272.884736c-75.358208 0-136.448-61.198336-136.448-136.612864V593.825792z" fill="#FFF200" /><path d="M258.899968 887.808c-68.788224-7.016448-122.463232-65.215488-122.463232-135.90528V461.78304c0-75.201536 60.744704-135.928832 135.996416-135.928832l0.653312 0.001024 469.368832 2.189312c75.469824 0.352256 139.720704 61.83936 142.649344 137.090048 0 0 2.291712 5.916672 2.397184 128.6912 0.104448 122.773504 0.045056 158.029824 0.045056 158.029824C887.523328 822.603776 833.78176 880.7936 765.0304 887.808H258.899968z m-24.66304-751.616h34.869248c43.022336 0 64.384 16.259072 91.429888 36.84352 29.256704 22.268928 65.668096 49.982464 127.637504 49.982464h301.5424c54.088704 0 98.092032 43.933696 98.092032 97.93536v39.656448a187.64288 187.64288 0 0 0-18.945024-21.154816c-16.712704-16.039936-35.934208-28.676096-57.132032-37.558272-22.088704-9.253888-45.33248-14.0032-69.087232-14.113792L273.273856 285.5936l-0.840704-0.002048c-23.80288 0-46.8992 4.653056-68.64896 13.831168-21.010432 8.864768-39.862272 21.556224-56.032256 37.71904A177.8688 177.8688 0 0 0 136.192 349.87008V234.10688c0-53.9904 43.982848-97.91488 98.044928-97.91488z m555.47904 45.865984H488.173568C389.128192 182.057984 379.7248 95.232 269.106176 95.232h-34.869248C157.58848 95.232 95.232 157.40928 95.232 234.10688v555.61216C95.232 866.41664 157.485056 928.768 234.277888 928.768h37.630976c0.324608 0 0.649216 0.011264 0.974848 0.011264h478.170112c0.325632 0 0.65024-0.01024 0.975872-0.012288h37.692416C866.458624 928.768 928.768 866.63168 928.768 789.98528V320.953344c0-76.619776-62.255104-138.89536-139.052032-138.89536z" fill="#000000" /></svg>',title:"Document Library",description:"View Documents as a Library.",category:"Library",type:"iframe",url:"https://elementor.bplugins.com/demo/document-library/"},{icon:'<svg width="800px" height="800px" viewBox="0 0 1024 1024" class="icon" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M850.903995 414.630553h-0.974739V367.987457c0-65.413986-62.100693-126.406834-95.553074-159.147615l-7.470267-7.406787C648.55661 103.086822 607.179356 94.83533 573.138241 94.83533l-11.235094-0.06348H293.947238c-23.191003 0-39.365319 15.91425-39.365319 38.717199v129.78668h-82.302974c-42.09295 0-76.392084 34.233606-76.392084 76.392084V851.08727c0 41.251316 32.869791 74.769226 73.794487 76.196522 0.585662 0 0.974739 0.263139 1.559377 0.263139H850.902971c42.158478 0 76.455565-34.300158 76.455565-76.458637V491.022637c0.001024-42.096021-34.296063-76.392084-76.454541-76.392084z" fill="#27323A" /><path d="M711.632041 236.707953l7.795863 7.72931c11.368199 11.171613 27.99712 27.671525 43.263251 46.316477-29.360936-9.029645-60.996944-11.108132-89.513175-12.279457-1.103748-20.331291-4.612603-57.358056-15.980802-91.850705 15.26613 12.601981 33.128834 28.775273 54.434863 50.084375z" fill="#F4CE73" /><path d="M304.469707 144.660662h257.301359l11.238165 0.063481c5.783928 0 13.316653 0.066553 24.62137 4.094517l3.312269 3.442303c29.101893 28.775273 39.55781 100.687859 39.55781 142.065112 0 8.963092 7.01771 16.303326 15.980802 16.629946l6.106452 0.259043c44.237989 1.689411 99.320972 3.831379 132.449806 33.844529l0.652215 0.585663c2.597597 7.792791 4.546051 15.588654 4.546051 23.058921 0 0-0.066553 25.596109-0.066553 45.9274H565.474459c-39.950981 0-74.117011 54.238277-88.994065 54.238278H304.469707V144.660662z" fill="#FFFFFF" /><path d="M188.323228 545.260915v306.541027c0 13.383205-5.325228 24.751404-21.695106 24.881437-14.421425-0.130033-20.853472-11.108132-20.853473-25.596109V339.667813c0-14.616987 11.89038-26.504296 26.504296-26.504295h82.302974v156.74558c-37.286832 5.066185-66.258691 36.702193-66.258691 75.351817z" fill="#79CCBF" /><path d="M877.470747 851.08727c0 14.616987-11.949766 26.570848-26.566752 26.570848H234.250628c0.063481-0.325596 0.130033-0.522182 0.196586-0.781224 1.427296-7.403715 3.764826-14.032348 3.764826-22.539812V545.260915c0-14.613915 11.952837-26.504296 26.570848-26.504296h211.699554c25.203961 0 42.029469-15.588654 58.399347-30.724751 7.792791-7.2102 23.970179-22.217288 31.113827-23.51455h284.909403c14.616987 0 26.566753 11.886285 26.566752 26.504296V851.08727z" fill="#F4CE73" /><path d="M776.719407 589.954533H571.775449c-11.949766 0-21.631625 9.678788-21.631625 21.631625 0 12.016318 9.68186 21.695106 21.631625 21.695106h204.944982c11.89038 0 21.568144-9.678788 21.568145-21.695106 0-11.953861-9.678788-21.631625-21.569169-21.631625zM776.719407 685.57416H571.775449c-11.949766 0-21.631625 9.678788-21.631625 21.631625 0 11.949766 9.68186 21.628554 21.631625 21.628554h204.944982c11.89038 0 21.568144-9.678788 21.568145-21.628554 0-11.953861-9.678788-21.631625-21.569169-21.631625z" fill="#27323A" /></svg>',title:"Modern Document Library",children:[{title:"Premium Grid",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-premium-grid/"},{title:"Sleek List",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-sleek-list/"},{title:"Minimalistic Row",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-minimalistic-row/"},{title:"Bold Accent Card",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-bold-accent-cards/"},{title:"Duo Tone Color Grid",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-gallery-duo-tone-color-grid-cards/"},{title:"Classic Table",type:"iframe",url:"https://elementor.bplugins.com/demo/moder-document-library-classic-table/"},{title:"Floating Action Grid",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-floating-action-grid/"},{title:"Glassmorphic Cards",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-viewer-glassmorphic-cards/"},{title:"Timeline Rows",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-timeline-rows/"},{title:"Split Timeline",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-split-timeline/"},{title:"Styled Table View",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-styled-table-view/"},{title:"Glowing Timeline",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-glowing-timeline/"}]}]},yn={logo:`https://ps.w.org/${vn}/assets/icon-128x128.png`,pluginId:20539,planId:34159,licenses:[1,3,null],button:{label:"Buy Now ➜"},featured:{selected:3}},Cn=e=>{const{isPremium:t,hasPro:n,action:a,nonce:l,status:o,adminUrl:i}=e,{data:s,internalStatus:c,saveToBackend:d}=((e,t)=>{const[n,a]=(0,r.useState)(null),{data:l=[],saveData:o,refetch:i,isLoading:s}=Ht(e,{_wpnonce:t},!0);return(0,r.useEffect)(()=>{t&&e&&i()},[t,e]),(0,r.useEffect)(()=>{!s&&l&&a("")},[l,s]),{data:l,internalStatus:n,saveToBackend:async e=>{try{a("loading");const n=await o({_wpnonce:t,data:JSON.stringify(e)});return a("success"),n}catch(e){console.error("Save failed:",e),a("error")}},isLoading:s}})(a,l);return(0,r.createElement)(Fe,null,(0,r.createElement)(me,null,(0,r.createElement)(ce,{path:"/",element:(0,r.createElement)(Kt,{...e})},(0,r.createElement)(ce,{index:!0,element:(0,r.createElement)(Gt,{...e,...wn(i),disabledBlocks:s,status:c,onChange:d})}),(0,r.createElement)(ce,{path:"welcome",element:(0,r.createElement)(Gt,{...e,...wn(i),disabledBlocks:s,status:c,onChange:d})}),(0,r.createElement)(ce,{path:"widgets",element:(0,r.createElement)(Ge,{...e,pageTitle:"All Widgets",allBlocks:gn,disabledBlocks:s,status:c,onChange:d})}),(0,r.createElement)(ce,{path:"demos",element:(0,r.createElement)(xt,{demoInfo:En,...e})}),!t&&(0,r.createElement)(ce,{path:"pricing",element:(0,r.createElement)(Vt,{pricingInfo:yn,options:{},...e})}),!t&&(0,r.createElement)(ce,{path:"feature-comparison",element:(0,r.createElement)(Nt,{plans:["free","pro"],...e})}),n&&(0,r.createElement)(ce,{path:"activation",element:(0,r.createElement)(St,{...e})}),(0,r.createElement)(ce,{path:"our-plugins",element:(0,r.createElement)(It,{...e,slugs:["3d-viewer","html5-video-player","media-player-addons-for-elementor","html5-audio-player","all-embed-addons-for-elementor","pdf-poster","document-emberdder","advanced-post-block","b-carousel-block","b-blocks","html5-video-player"]})}),(0,r.createElement)(ce,{path:"*",element:(0,r.createElement)(ie,{to:"/welcome",replace:!0})}))))};document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("deafeDashboard"),t=JSON.parse(e.dataset.info);(0,a.H)(e).render((0,r.createElement)(Cn,{...fn(t),nonce:t?.nonce}))})})();1 (()=>{"use strict";var e={338:(e,t,n)=>{var r=n(795);t.H=r.createRoot,r.hydrateRoot},795:e=>{e.exports=window.ReactDOM}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var l=t[r]={exports:{}};return e[r](l,l.exports,n),l.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);const r=window.React;var a=n(338),l="popstate";function o(e={}){return function(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:o=!1}=r,s=a.history,u="POP",h=null,p=g();function g(){return(s.state||{idx:null}).idx}function v(){u="POP";let e=g(),t=null==e?null:e-p;p=e,h&&h({action:u,location:w.location,delta:t})}function f(e){return function(e,t=!1){let n="http://localhost";"undefined"!=typeof window&&(n="null"!==window.location.origin?window.location.origin:window.location.href),i(n,"No window.location.(origin|href) available to create URL");let r="string"==typeof e?e:m(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}(e)}null==p&&(p=0,s.replaceState({...s.state,idx:p},""));let w={get action(){return u},get location(){return e(a,s)},listen(e){if(h)throw new Error("A history only accepts one active listener");return a.addEventListener(l,v),h=e,()=>{a.removeEventListener(l,v),h=null}},createHref:e=>t(a,e),createURL:f,encodeLocation(e){let t=f(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){u="PUSH";let r=d(w.location,e,t);n&&n(r,e),p=g()+1;let l=c(r,p),i=w.createHref(r);try{s.pushState(l,"",i)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;a.location.assign(i)}o&&h&&h({action:u,location:w.location,delta:1})},replace:function(e,t){u="REPLACE";let r=d(w.location,e,t);n&&n(r,e),p=g();let a=c(r,p),l=w.createHref(r);s.replaceState(a,"",l),o&&h&&h({action:u,location:w.location,delta:0})},go:e=>s.go(e)};return w}(function(e,t){let{pathname:n="/",search:r="",hash:a=""}=u(e.location.hash.substring(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),d("",{pathname:n,search:r,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:m(t))},function(e,t){s("/"===e.pathname.charAt(0),`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)},e)}function i(e,t){if(!1===e||null==e)throw new Error(t)}function s(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function c(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,n=null,r){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?u(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10)}}function m({pathname:e="/",search:t="",hash:n=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function u(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function h(e,t,n="/"){return function(e,t,n,r){let a=M(("string"==typeof t?u(t):t).pathname||"/",n);if(null==a)return null;let l=p(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(l);let o=null;for(let e=0;null==o&&e<l.length;++e){let t=_(a);o=x(l[e],t,r)}return o}(e,t,n,!1)}function p(e,t=[],n=[],r="",a=!1){let l=(e,l,o=a,s)=>{let c={relativePath:void 0===s?e.path||"":s,caseSensitive:!0===e.caseSensitive,childrenIndex:l,route:e};if(c.relativePath.startsWith("/")){if(!c.relativePath.startsWith(r)&&o)return;i(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let d=P([r,c.relativePath]),m=n.concat(c);e.children&&e.children.length>0&&(i(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${d}".`),p(e.children,t,m,d,o)),(null!=e.path||e.index)&&t.push({path:d,score:k(d,e.index),routesMeta:m})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of g(e.path))l(e,t,!0,n);else l(e,t)}),t}function g(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,a=n.endsWith("?"),l=n.replace(/\?$/,"");if(0===r.length)return a?[l,""]:[l];let o=g(r.join("/")),i=[];return i.push(...o.map(e=>""===e?l:[l,e].join("/"))),a&&i.push(...o),i.map(t=>e.startsWith("/")&&""===t?"/":t)}new WeakMap;var v=/^:[\w-]+$/,f=3,w=2,E=1,y=10,C=-2,b=e=>"*"===e;function k(e,t){let n=e.split("/"),r=n.length;return n.some(b)&&(r+=C),t&&(r+=w),n.filter(e=>!b(e)).reduce((e,t)=>e+(v.test(t)?f:""===t?E:y),r)}function x(e,t,n=!1){let{routesMeta:r}=e,a={},l="/",o=[];for(let e=0;e<r.length;++e){let i=r[e],s=e===r.length-1,c="/"===l?t:t.slice(l.length)||"/",d=L({path:i.relativePath,caseSensitive:i.caseSensitive,end:s},c),m=i.route;if(!d&&s&&n&&!r[r.length-1].route.index&&(d=L({path:i.relativePath,caseSensitive:i.caseSensitive,end:!1},c)),!d)return null;Object.assign(a,d.params),o.push({params:a,pathname:P([l,d.pathname]),pathnameBase:S(P([l,d.pathnameBase])),route:m}),"/"!==d.pathnameBase&&(l=P([l,d.pathnameBase]))}return o}function L(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t=!1,n=!0){s("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let l=a[0],o=l.replace(/(.)\/+$/,"$1"),i=a.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if("*"===t){let e=i[r]||"";o=l.slice(0,l.length-e.length).replace(/(.)\/+$/,"$1")}const a=i[r];return e[t]=n&&!a?void 0:(a||"").replace(/%2F/g,"/"),e},{}),pathname:l,pathnameBase:o,pattern:e}}function _(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return s(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function M(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function V(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function N(e){let t=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function H(e,t,n,r=!1){let a;"string"==typeof e?a=u(e):(a={...e},i(!a.pathname||!a.pathname.includes("?"),V("?","pathname","search",a)),i(!a.pathname||!a.pathname.includes("#"),V("#","pathname","hash",a)),i(!a.search||!a.search.includes("#"),V("#","search","hash",a)));let l,o=""===e||""===a.pathname,s=o?"/":a.pathname;if(null==s)l=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}l=e>=0?t[e]:"/"}let c=function(e,t="/"){let{pathname:n,search:r="",hash:a=""}="string"==typeof e?u(e):e,l=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:l,search:F(r),hash:B(a)}}(a,l),d=s&&"/"!==s&&s.endsWith("/"),m=(o||"."===s)&&n.endsWith("/");return c.pathname.endsWith("/")||!d&&!m||(c.pathname+="/"),c}var P=e=>e.join("/").replace(/\/\/+/g,"/"),S=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),F=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",B=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function z(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}var D=["POST","PUT","PATCH","DELETE"],A=(new Set(D),["GET",...D]);new Set(A),Symbol("ResetLoaderData");var $=r.createContext(null);$.displayName="DataRouter";var R=r.createContext(null);R.displayName="DataRouterState";r.createContext(!1);var I=r.createContext({isTransitioning:!1});I.displayName="ViewTransition",r.createContext(new Map).displayName="Fetchers",r.createContext(null).displayName="Await";var Z=r.createContext(null);Z.displayName="Navigation";var T=r.createContext(null);T.displayName="Location";var O=r.createContext({outlet:null,matches:[],isDataRoute:!1});O.displayName="Route";var j=r.createContext(null);function W(){return null!=r.useContext(T)}function U(){return i(W(),"useLocation() may be used only in the context of a <Router> component."),r.useContext(T).location}j.displayName="RouteError";var q="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function G(e){r.useContext(Z).static||r.useLayoutEffect(e)}function J(){let{isDataRoute:e}=r.useContext(O);return e?function(){let{router:e}=function(e){let t=r.useContext($);return i(t,re(e)),t}("useNavigate"),t=ae("useNavigate"),n=r.useRef(!1);return G(()=>{n.current=!0}),r.useCallback(async(r,a={})=>{s(n.current,q),n.current&&("number"==typeof r?e.navigate(r):await e.navigate(r,{fromRouteId:t,...a}))},[e,t])}():function(){i(W(),"useNavigate() may be used only in the context of a <Router> component.");let e=r.useContext($),{basename:t,navigator:n}=r.useContext(Z),{matches:a}=r.useContext(O),{pathname:l}=U(),o=JSON.stringify(N(a)),c=r.useRef(!1);return G(()=>{c.current=!0}),r.useCallback((r,a={})=>{if(s(c.current,q),!c.current)return;if("number"==typeof r)return void n.go(r);let i=H(r,JSON.parse(o),l,"path"===a.relative);null==e&&"/"!==t&&(i.pathname="/"===i.pathname?t:P([t,i.pathname])),(a.replace?n.replace:n.push)(i,a.state,a)},[t,n,o,l,e])}()}var Y=r.createContext(null);function K(e,{relative:t}={}){let{matches:n}=r.useContext(O),{pathname:a}=U(),l=JSON.stringify(N(n));return r.useMemo(()=>H(e,JSON.parse(l),a,"path"===t),[e,l,a,t])}function Q(e,t,n,a,l){i(W(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=r.useContext(Z),{matches:c}=r.useContext(O),d=c[c.length-1],m=d?d.params:{},p=d?d.pathname:"/",g=d?d.pathnameBase:"/",v=d&&d.route;{let e=v&&v.path||"";oe(p,!v||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let f,w=U();if(t){let e="string"==typeof t?u(t):t;i("/"===g||e.pathname?.startsWith(g),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${e.pathname}" was given in the \`location\` prop.`),f=e}else f=w;let E=f.pathname||"/",y=E;if("/"!==g){let e=g.replace(/^\//,"").split("/");y="/"+E.replace(/^\//,"").split("/").slice(e.length).join("/")}let C=h(e,{pathname:y});s(v||null!=C,`No routes matched location "${f.pathname}${f.search}${f.hash}" `),s(null==C||void 0!==C[C.length-1].route.element||void 0!==C[C.length-1].route.Component||void 0!==C[C.length-1].route.lazy,`Matched leaf route at location "${f.pathname}${f.search}${f.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let b=function(e,t=[],n=null,a=null){if(null==e){if(!n)return null;if(n.errors)e=n.matches;else{if(0!==t.length||n.initialized||!(n.matches.length>0))return null;e=n.matches}}let l=e,o=n?.errors;if(null!=o){let e=l.findIndex(e=>e.route.id&&void 0!==o?.[e.route.id]);i(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),l=l.slice(0,Math.min(l.length,e+1))}let s=!1,c=-1;if(n)for(let e=0;e<l.length;e++){let t=l[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(c=e),t.route.id){let{loaderData:e,errors:r}=n,a=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!r||void 0===r[t.route.id]);if(t.route.lazy||a){s=!0,l=c>=0?l.slice(0,c+1):[l[0]];break}}}return l.reduceRight((e,i,d)=>{let m,u=!1,h=null,p=null;n&&(m=o&&i.route.id?o[i.route.id]:void 0,h=i.route.errorElement||ee,s&&(c<0&&0===d?(oe("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),u=!0,p=null):c===d&&(u=!0,p=i.route.hydrateFallbackElement||null)));let g=t.concat(l.slice(0,d+1)),v=()=>{let t;return t=m?h:u?p:i.route.Component?r.createElement(i.route.Component,null):i.route.element?i.route.element:e,r.createElement(ne,{match:i,routeContext:{outlet:e,matches:g,isDataRoute:null!=n},children:t})};return n&&(i.route.ErrorBoundary||i.route.errorElement||0===d)?r.createElement(te,{location:n.location,revalidation:n.revalidation,component:h,error:m,children:v(),routeContext:{outlet:null,matches:g,isDataRoute:!0},unstable_onError:a}):v()},null)}(C&&C.map(e=>Object.assign({},e,{params:Object.assign({},m,e.params),pathname:P([g,o.encodeLocation?o.encodeLocation(e.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?g:P([g,o.encodeLocation?o.encodeLocation(e.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),c,n,a,l);return t&&b?r.createElement(T.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...f},navigationType:"POP"}},b):b}function X(){let e=function(){let e=r.useContext(j),t=function(e){let t=r.useContext(R);return i(t,re(e)),t}("useRouteError"),n=ae("useRouteError");return void 0!==e?e:t.errors?.[n]}(),t=z(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:a},o={padding:"2px 4px",backgroundColor:a},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=r.createElement(r.Fragment,null,r.createElement("p",null,"💿 Hey developer 👋"),r.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",r.createElement("code",{style:o},"ErrorBoundary")," or"," ",r.createElement("code",{style:o},"errorElement")," prop on your route.")),r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),n?r.createElement("pre",{style:l},n):null,s)}var ee=r.createElement(X,null),te=class extends r.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.unstable_onError?this.props.unstable_onError(e,t):console.error("React Router caught the following error during render",e)}render(){return void 0!==this.state.error?r.createElement(O.Provider,{value:this.props.routeContext},r.createElement(j.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function ne({routeContext:e,match:t,children:n}){let a=r.useContext($);return a&&a.static&&a.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=t.route.id),r.createElement(O.Provider,{value:e},n)}function re(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function ae(e){let t=function(e){let t=r.useContext(O);return i(t,re(e)),t}(e),n=t.matches[t.matches.length-1];return i(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}var le={};function oe(e,t,n){t||le[e]||(le[e]=!0,s(!1,n))}function ie({to:e,replace:t,state:n,relative:a}){i(W(),"<Navigate> may be used only in the context of a <Router> component.");let{static:l}=r.useContext(Z);s(!l,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:o}=r.useContext(O),{pathname:c}=U(),d=J(),m=H(e,N(o),c,"path"===a),u=JSON.stringify(m);return r.useEffect(()=>{d(JSON.parse(u),{replace:t,state:n,relative:a})},[d,u,a,t,n]),null}function se(e){return function(e){let t=r.useContext(O).outlet;return r.useMemo(()=>t&&r.createElement(Y.Provider,{value:e},t),[t,e])}(e.context)}function ce(e){i(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function de({basename:e="/",children:t=null,location:n,navigationType:a="POP",navigator:l,static:o=!1}){i(!W(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),d=r.useMemo(()=>({basename:c,navigator:l,static:o,future:{}}),[c,l,o]);"string"==typeof n&&(n=u(n));let{pathname:m="/",search:h="",hash:p="",state:g=null,key:v="default"}=n,f=r.useMemo(()=>{let e=M(m,c);return null==e?null:{location:{pathname:e,search:h,hash:p,state:g,key:v},navigationType:a}},[c,m,h,p,g,v,a]);return s(null!=f,`<Router basename="${c}"> is not able to match the URL "${m}${h}${p}" because it does not start with the basename, so the <Router> won't render anything.`),null==f?null:r.createElement(Z.Provider,{value:d},r.createElement(T.Provider,{children:t,value:f}))}function me({children:e,location:t}){return Q(ue(e),t)}function ue(e,t=[]){let n=[];return r.Children.forEach(e,(e,a)=>{if(!r.isValidElement(e))return;let l=[...t,a];if(e.type===r.Fragment)return void n.push.apply(n,ue(e.props.children,l));i(e.type===ce,`[${"string"==typeof e.type?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),i(!e.props.index||!e.props.children,"An index route cannot have child routes.");let o={id:e.props.id||l.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=ue(e.props.children,l)),n.push(o)}),n}r.memo(function({routes:e,future:t,state:n,unstable_onError:r}){return Q(e,void 0,n,r,t)}),r.Component;var he="get",pe="application/x-www-form-urlencoded";function ge(e){return null!=e&&"string"==typeof e.tagName}var ve=null,fe=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function we(e){return null==e||fe.has(e)?e:(s(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${pe}"`),null)}function Ee(e,t){if(!1===e||null==e)throw new Error(t)}function ye(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function Ce(e,t,n,r,a,l){let o=(e,t)=>!n[t]||e.route.id!==n[t].route.id,i=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith("*")&&n[t].params["*"]!==e.params["*"];return"assets"===l?t.filter((e,t)=>o(e,t)||i(e,t)):"data"===l?t.filter((t,l)=>{let s=r.routes[t.route.id];if(!s||!s.hasLoader)return!1;if(o(t,l)||i(t,l))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof r)return r}return!0}):[]}function be(e,t,{includeHydrateFallback:n}={}){return r=e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let a=[r.module];return r.clientActionModule&&(a=a.concat(r.clientActionModule)),r.clientLoaderModule&&(a=a.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(a=a.concat(r.hydrateFallbackModule)),r.imports&&(a=a.concat(r.imports)),a}).flat(1),[...new Set(r)];var r}function ke(){let e=r.useContext($);return Ee(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function xe(){let e=r.useContext(R);return Ee(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}Object.getOwnPropertyNames(Object.prototype).sort().join("\0"),"undefined"!=typeof window?window:"undefined"!=typeof globalThis&&globalThis,Symbol("SingleFetchRedirect");var Le=r.createContext(void 0);function _e(){let e=r.useContext(Le);return Ee(e,"You must render this element inside a <HydratedRouter> element"),e}function Me(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Ve({page:e,...t}){let{router:n}=ke(),a=r.useMemo(()=>h(n.routes,e,n.basename),[n.routes,e,n.basename]);return a?r.createElement(He,{page:e,matches:a,...t}):null}function Ne(e){let{manifest:t,routeModules:n}=_e(),[a,l]=r.useState([]);return r.useEffect(()=>{let r=!1;return async function(e,t,n){return function(e,t){let n=new Set,r=new Set(t);return e.reduce((e,a)=>{if(t&&(null==(l=a)||"string"!=typeof l.page)&&"script"===a.as&&a.href&&r.has(a.href))return e;var l;let o=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(a));return n.has(o)||(n.add(o),e.push({key:o,link:a})),e},[])}((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(ye).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"}))}(e,t,n).then(e=>{r||l(e)}),()=>{r=!0}},[e,t,n]),a}function He({page:e,matches:t,...n}){let a=U(),{manifest:l,routeModules:o}=_e(),{basename:i}=ke(),{loaderData:s,matches:c}=xe(),d=r.useMemo(()=>Ce(e,t,c,l,a,"data"),[e,t,c,l,a]),m=r.useMemo(()=>Ce(e,t,c,l,a,"assets"),[e,t,c,l,a]),u=r.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let n=new Set,r=!1;if(t.forEach(e=>{let t=l.routes[e.route.id];t&&t.hasLoader&&(!d.some(t=>t.route.id===e.route.id)&&e.route.id in s&&o[e.route.id]?.shouldRevalidate||t.hasClientLoader?r=!0:n.add(e.route.id))}),0===n.size)return[];let c=function(e,t,n){let r="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return"/"===r.pathname?r.pathname=`_root.${n}`:t&&"/"===M(r.pathname,t)?r.pathname=`${t.replace(/\/$/,"")}/_root.${n}`:r.pathname=`${r.pathname.replace(/\/$/,"")}.${n}`,r}(e,i,"data");return r&&n.size>0&&c.searchParams.set("_routes",t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(",")),[c.pathname+c.search]},[i,s,a,l,d,t,e,o]),h=r.useMemo(()=>be(m,l),[m,l]),p=Ne(m);return r.createElement(r.Fragment,null,u.map(e=>r.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n})),h.map(e=>r.createElement("link",{key:e,rel:"modulepreload",href:e,...n})),p.map(({key:e,link:t})=>r.createElement("link",{key:e,nonce:n.nonce,...t})))}Le.displayName="FrameworkContext";function Pe(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}r.Component;var Se="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{Se&&(window.__reactRouterVersion="7.9.4")}catch(e){}function Fe({basename:e,children:t,window:n}){let a=r.useRef();null==a.current&&(a.current=o({window:n,v5Compat:!0}));let l=a.current,[i,s]=r.useState({action:l.action,location:l.location}),c=r.useCallback(e=>{r.startTransition(()=>s(e))},[s]);return r.useLayoutEffect(()=>l.listen(c),[l,c]),r.createElement(de,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:l})}var Be=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ze=r.forwardRef(function({onClick:e,discover:t="render",prefetch:n="none",relative:a,reloadDocument:l,replace:o,state:c,target:d,to:u,preventScrollReset:h,viewTransition:p,...g},v){let f,{basename:w}=r.useContext(Z),E="string"==typeof u&&Be.test(u),y=!1;if("string"==typeof u&&E&&(f=u,Se))try{let e=new URL(window.location.href),t=u.startsWith("//")?new URL(e.protocol+u):new URL(u),n=M(t.pathname,w);t.origin===e.origin&&null!=n?u=n+t.search+t.hash:y=!0}catch(e){s(!1,`<Link to="${u}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let C=function(e,{relative:t}={}){i(W(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:a}=r.useContext(Z),{hash:l,pathname:o,search:s}=K(e,{relative:t}),c=o;return"/"!==n&&(c="/"===o?n:P([n,o])),a.createHref({pathname:c,search:s,hash:l})}(u,{relative:a}),[b,k,x]=function(e,t){let n=r.useContext(Le),[a,l]=r.useState(!1),[o,i]=r.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:d,onMouseLeave:m,onTouchStart:u}=t,h=r.useRef(null);r.useEffect(()=>{if("render"===e&&i(!0),"viewport"===e){let e=new IntersectionObserver(e=>{e.forEach(e=>{i(e.isIntersecting)})},{threshold:.5});return h.current&&e.observe(h.current),()=>{e.disconnect()}}},[e]),r.useEffect(()=>{if(a){let e=setTimeout(()=>{i(!0)},100);return()=>{clearTimeout(e)}}},[a]);let p=()=>{l(!0)},g=()=>{l(!1),i(!1)};return n?"intent"!==e?[o,h,{}]:[o,h,{onFocus:Me(s,p),onBlur:Me(c,g),onMouseEnter:Me(d,p),onMouseLeave:Me(m,g),onTouchStart:Me(u,p)}]:[!1,h,{}]}(n,g),L=function(e,{target:t,replace:n,state:a,preventScrollReset:l,relative:o,viewTransition:i}={}){let s=J(),c=U(),d=K(e,{relative:o});return r.useCallback(r=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(r,t)){r.preventDefault();let t=void 0!==n?n:m(c)===m(d);s(e,{replace:t,state:a,preventScrollReset:l,relative:o,viewTransition:i})}},[c,s,d,n,a,t,e,l,o,i])}(u,{replace:o,state:c,target:d,preventScrollReset:h,relative:a,viewTransition:p}),_=r.createElement("a",{...g,...x,href:f||C,onClick:y||l?e:function(t){e&&e(t),t.defaultPrevented||L(t)},ref:Pe(v,k),target:d,"data-discover":E||"render"!==t?void 0:"true"});return b&&!E?r.createElement(r.Fragment,null,_,r.createElement(Ve,{page:C})):_});function De(e){let t=r.useContext($);return i(t,function(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),t}ze.displayName="Link",r.forwardRef(function({"aria-current":e="page",caseSensitive:t=!1,className:n="",end:a=!1,style:l,to:o,viewTransition:s,children:c,...d},m){let u=K(o,{relative:d.relative}),h=U(),p=r.useContext(R),{navigator:g,basename:v}=r.useContext(Z),f=null!=p&&function(e,{relative:t}={}){let n=r.useContext(I);i(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=De("useViewTransitionState"),l=K(e,{relative:t});if(!n.isTransitioning)return!1;let o=M(n.currentLocation.pathname,a)||n.currentLocation.pathname,s=M(n.nextLocation.pathname,a)||n.nextLocation.pathname;return null!=L(l.pathname,s)||null!=L(l.pathname,o)}(u)&&!0===s,w=g.encodeLocation?g.encodeLocation(u).pathname:u.pathname,E=h.pathname,y=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;t||(E=E.toLowerCase(),y=y?y.toLowerCase():null,w=w.toLowerCase()),y&&v&&(y=M(y,v)||y);const C="/"!==w&&w.endsWith("/")?w.length-1:w.length;let b,k=E===w||!a&&E.startsWith(w)&&"/"===E.charAt(C),x=null!=y&&(y===w||!a&&y.startsWith(w)&&"/"===y.charAt(w.length)),_={isActive:k,isPending:x,isTransitioning:f},V=k?e:void 0;b="function"==typeof n?n(_):[n,k?"active":null,x?"pending":null,f?"transitioning":null].filter(Boolean).join(" ");let N="function"==typeof l?l(_):l;return r.createElement(ze,{...d,"aria-current":V,className:b,ref:m,style:N,to:o,viewTransition:s},"function"==typeof c?c(_):c)}).displayName="NavLink",r.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:a,replace:l,state:o,method:s=he,action:c,onSubmit:d,relative:u,preventScrollReset:h,viewTransition:p,...g},v)=>{let f=function(){let{router:e}=De("useSubmit"),{basename:t}=r.useContext(Z),n=ae("useRouteId");return r.useCallback(async(r,a={})=>{let{action:l,method:o,encType:i,formData:s,body:c}=function(e,t){let n,r,a,l,o;if(ge(i=e)&&"form"===i.tagName.toLowerCase()){let o=e.getAttribute("action");r=o?M(o,t):null,n=e.getAttribute("method")||he,a=we(e.getAttribute("enctype"))||pe,l=new FormData(e)}else if(function(e){return ge(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return ge(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let o=e.form;if(null==o)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let i=e.getAttribute("formaction")||o.getAttribute("action");if(r=i?M(i,t):null,n=e.getAttribute("formmethod")||o.getAttribute("method")||he,a=we(e.getAttribute("formenctype"))||we(o.getAttribute("enctype"))||pe,l=new FormData(o,e),!function(){if(null===ve)try{new FormData(document.createElement("form"),0),ve=!1}catch(e){ve=!0}return ve}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?`${t}.`:"";l.append(`${e}x`,"0"),l.append(`${e}y`,"0")}else t&&l.append(t,r)}}else{if(ge(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=he,r=null,a=pe,o=e}var i;return l&&"text/plain"===a&&(o=l,l=void 0),{action:r,method:n.toLowerCase(),encType:a,formData:l,body:o}}(r,t);if(!1===a.navigate){let t=a.fetcherKey||$e();await e.fetch(t,n,a.action||l,{preventScrollReset:a.preventScrollReset,formData:s,body:c,formMethod:a.method||o,formEncType:a.encType||i,flushSync:a.flushSync})}else await e.navigate(a.action||l,{preventScrollReset:a.preventScrollReset,formData:s,body:c,formMethod:a.method||o,formEncType:a.encType||i,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,n])}(),w=function(e,{relative:t}={}){let{basename:n}=r.useContext(Z),a=r.useContext(O);i(a,"useFormAction must be used inside a RouteContext");let[l]=a.matches.slice(-1),o={...K(e||".",{relative:t})},s=U();if(null==e){o.search=s.search;let e=new URLSearchParams(o.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();o.search=n?`?${n}`:""}}return e&&"."!==e||!l.route.index||(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),"/"!==n&&(o.pathname="/"===o.pathname?n:P([n,o.pathname])),m(o)}(c,{relative:u}),E="get"===s.toLowerCase()?"get":"post",y="string"==typeof c&&Be.test(c);return r.createElement("form",{ref:v,method:E,action:w,onSubmit:a?d:e=>{if(d&&d(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,a=r?.getAttribute("formmethod")||s;f(r||e.currentTarget,{fetcherKey:t,method:a,navigate:n,replace:l,state:o,relative:u,preventScrollReset:h,viewTransition:p})},...g,"data-discover":y||"render"!==e?void 0:"true"})}).displayName="Form";var Ae=0,$e=()=>`__${String(++Ae)}__`;const Re=({type:e="button",href:t="",target:n="",onClick:a=null,className:l,variant:o="primary",size:i="",children:s,disabled:c=!1,...d})=>{const m=`bPlButton ${o?`variant-${o}`:""} ${i?`size-${i}`:""} ${l||""} ${c?"bPlButton-disabled":""}`;return"function"!=typeof a&&t?(0,r.createElement)("a",{href:t,target:n,className:m,...d},s):(0,r.createElement)("button",{type:e,className:m,...d,onClick:a},s)},Ie="#146EF5",Ze=((0,r.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",width:15,height:15,viewBox:"0 0 548.172 548.172"},(0,r.createElement)("path",{fill:Ie,d:"M534.75 49.965c-8.945-8.945-19.694-13.422-32.261-13.422H45.681c-12.562 0-23.313 4.477-32.264 13.422C4.471 58.913 0 69.663 0 82.226v310.633c0 12.566 4.471 23.315 13.417 32.265 8.951 8.945 19.702 13.414 32.264 13.414h155.318c0 7.231-1.524 14.661-4.57 22.269-3.044 7.614-6.09 14.273-9.136 19.981-3.042 5.715-4.565 9.897-4.565 12.56 0 4.948 1.807 9.24 5.424 12.847 3.615 3.621 7.898 5.435 12.847 5.435h146.179c4.949 0 9.233-1.813 12.848-5.435 3.62-3.606 5.427-7.898 5.427-12.847 0-2.468-1.526-6.611-4.571-12.415-3.046-5.801-6.092-12.566-9.134-20.267-3.046-7.71-4.569-15.085-4.569-22.128h155.318c12.56 0 23.309-4.469 32.254-13.414 8.949-8.949 13.422-19.698 13.422-32.265V82.226c.003-12.563-4.474-23.313-13.423-32.261zm-23.123 269.803c0 2.475-.903 4.613-2.711 6.424-1.81 1.804-3.952 2.707-6.427 2.707H45.681c-2.473 0-4.615-.903-6.423-2.707-1.807-1.817-2.712-3.949-2.712-6.424V82.226c0-2.475.902-4.615 2.712-6.423 1.809-1.805 3.951-2.712 6.423-2.712h456.815c2.471 0 4.617.904 6.42 2.712 1.808 1.809 2.711 3.949 2.711 6.423v237.542z"})),(0,r.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",width:15,height:15,viewBox:"0 0 512 512"},(0,r.createElement)("path",{fill:Ie,d:"M394.667 0H117.333C87.936 0 64 23.936 64 53.333v405.333C64 488.064 87.936 512 117.333 512h277.333C424.064 512 448 488.064 448 458.667V53.333C448 23.936 424.064 0 394.667 0zM256 480c-11.755 0-21.333-9.579-21.333-21.333s9.579-21.333 21.333-21.333 21.333 9.579 21.333 21.333S267.755 480 256 480zm149.333-64c0 5.888-4.779 10.667-10.667 10.667H117.333c-5.888 0-10.667-4.779-10.667-10.667V53.333c0-5.888 4.779-10.667 10.667-10.667h277.333c5.888 0 10.667 4.779 10.667 10.667V416z"})),(0,r.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",width:15,height:15,viewBox:"0 0 503.604 503.604"},(0,r.createElement)("path",{fill:Ie,d:"M337.324 0H167.192c-28.924 0-53.5 23.584-53.5 52.5v398.664c0 28.916 24.056 52.44 52.98 52.44l170.412-.184c28.92 0 52.58-23.528 52.58-52.448l.248-398.5C389.908 23.452 366.364 0 337.324 0zM227.68 31.476h49.36c4.336 0 7.868 3.52 7.868 7.868 0 4.348-3.532 7.868-7.868 7.868h-49.36a7.865 7.865 0 01-7.868-7.868 7.865 7.865 0 017.868-7.868zm-29.66 2.504c2.916-2.912 8.224-2.952 11.136 0a7.973 7.973 0 012.324 5.588c0 2.048-.864 4.088-2.324 5.548-1.452 1.46-3.504 2.32-5.548 2.32-2.084 0-4.088-.86-5.588-2.32-1.452-1.456-2.28-3.5-2.28-5.548-.004-2.088.828-4.132 2.28-5.588zm52.752 454.028c-12.984 0-23.544-10.568-23.544-23.548 0-12.984 10.56-23.548 23.544-23.548s23.544 10.564 23.544 23.548c0 12.98-10.564 23.548-23.544 23.548zm114.716-63.1H141.232V74.756h224.256v350.152z"})),(0,r.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",width:14,height:14,viewBox:"0 0 330 330"},(0,r.createElement)("path",{d:"M100.606 229.393c-5.857-5.857-15.355-5.857-21.213 0-5.858 5.857-5.858 15.355 0 21.213l75 75A14.954 14.954 0 00165 330a14.95 14.95 0 0010.606-4.394l75-75c5.858-5.857 5.858-15.355 0-21.213-5.857-5.857-15.355-5.857-21.213 0L180 278.787V51.212l49.394 49.394A14.95 14.95 0 00240 105a14.95 14.95 0 0010.606-4.394c5.858-5.857 5.858-15.355 0-21.213l-75-75c-5.857-5.858-15.355-5.858-21.213 0l-75 75c-5.858 5.857-5.858 15.355 0 21.213 5.857 5.857 15.355 5.857 21.213 0L150 51.212v227.574l-49.394-49.393z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 430.848 430.848"},(0,r.createElement)("path",{d:"M286.244,249.537l10.992-45.639c0.035-0.143,0.071-0.285,0.109-0.428c2.909-10.867,11.469-19.426,22.339-22.338 l33.347-8.936c-5.472-6.525-13.678-10.682-22.839-10.682h-9.837c-2.511-7.895-5.7-15.59-9.515-22.957l6.96-6.959 c11.622-11.623,11.622-30.535,0-42.156L296.76,68.4c-5.631-5.629-13.117-8.73-21.079-8.73c-7.961,0-15.447,3.102-21.078,8.732 l-6.96,6.959c-7.369-3.814-15.064-7.004-22.956-9.516V56.01c0-16.436-13.372-29.807-29.808-29.807h-29.758 c-16.436,0-29.808,13.371-29.808,29.807v9.836c-7.893,2.512-15.588,5.701-22.957,9.516l-6.96-6.961 c-5.631-5.629-13.117-8.73-21.078-8.73c-7.961,0-15.447,3.102-21.079,8.732L42.2,89.443c-11.622,11.621-11.622,30.533,0,42.156 l6.959,6.959c-3.815,7.367-7.004,15.063-9.515,22.957h-9.837C13.372,161.516,0,174.887,0,191.324v29.758 c0,16.436,13.372,29.807,29.808,29.807h9.837c2.511,7.895,5.7,15.588,9.515,22.957l-6.96,6.959 c-11.623,11.623-11.623,30.533,0,42.158l21.041,21.039c5.632,5.631,13.118,8.732,21.079,8.732s15.447-3.102,21.077-8.732 l6.96-6.959c7.366,3.815,15.061,7.002,22.957,9.514v9.838c0,16.436,13.372,29.809,29.808,29.809h25.809 c-2.388-5.691-3.644-11.852-3.645-18.209c-0.002-12.572,4.892-24.391,13.781-33.279L286.244,249.537z M180,286.201 c-44.112,0-80-35.887-80-79.998c0-44.113,35.888-80.002,80-80.002s80,35.889,80,80.002C260,250.314,224.112,286.201,180,286.201z"}),(0,r.createElement)("path",{d:"M425.267,218.734l-0.319-0.32c-0.939-0.941-2.189-1.428-3.541-1.469c-1.326,0-2.598,0.525-3.536,1.465l-21.596,21.596 c-3.304,3.305-7.699,5.125-12.375,5.125c-4.676,0-9.072-1.82-12.379-5.129c-3.307-3.305-5.128-7.701-5.128-12.377 c0.001-4.676,1.821-9.072,5.126-12.377l21.596-21.596c0.939-0.939,1.465-2.213,1.464-3.539c-0.001-1.328-0.53-2.6-1.47-3.537 l-0.314-0.313c-3.605-3.605-8.399-5.592-13.499-5.592c-1.665,0-3.325,0.219-4.936,0.65l-44.348,11.885 c-6.568,1.76-11.741,6.932-13.498,13.496c-0.011,0.041-0.021,0.08-0.031,0.121l-11.817,49.063l-87.667,87.666 c-6.528,6.527-10.122,15.207-10.121,24.44c0.002,9.232,3.598,17.91,10.126,24.439l2.088,2.088 c6.528,6.529,15.209,10.125,24.443,10.125h0c9.231,0,17.909-3.594,24.437-10.121l87.667-87.666l49.061-11.816 c0.041-0.01,0.082-0.022,0.122-0.031c6.563-1.758,11.735-6.928,13.497-13.496l11.883-44.352 C431.959,230.598,430.066,223.535,425.267,218.734z M257.26,368.406c-1.888,1.889-4.399,2.93-7.071,2.93 c-2.671,0-5.183-1.041-7.072-2.932c-1.887-1.885-2.928-4.397-2.928-7.068c-0.001-2.672,1.041-5.185,2.931-7.072 c1.886-1.887,4.398-2.928,7.069-2.928c2.672,0,5.184,1.041,7.072,2.93c1.887,1.885,2.928,4.396,2.928,7.068 C260.189,364.006,259.148,366.518,257.26,368.406z M316.194,305.935L274.82,347.31c-1.416,1.416-3.3,2.197-5.303,2.197 c-2.003,0-3.887-0.781-5.303-2.197c-1.417-1.416-2.197-3.299-2.197-5.303s0.78-3.887,2.197-5.303l41.374-41.375 c1.417-1.418,3.3-2.197,5.303-2.197s3.887,0.779,5.303,2.197c1.417,1.416,2.197,3.299,2.197,5.303S317.611,304.519,316.194,305.935 z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewBox:"0 0 448 512"},(0,r.createElement)("path",{d:"M96 0C43 0 0 43 0 96V416c0 53 43 96 96 96H384h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H384 96zm0 384H352v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16zm16 48H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewBox:"0 0 512 512"},(0,r.createElement)("path",{d:"M256 48C141.1 48 48 141.1 48 256v40c0 13.3-10.7 24-24 24s-24-10.7-24-24V256C0 114.6 114.6 0 256 0S512 114.6 512 256V400.1c0 48.6-39.4 88-88.1 88L313.6 488c-8.3 14.3-23.8 24-41.6 24H240c-26.5 0-48-21.5-48-48s21.5-48 48-48h32c17.8 0 33.3 9.7 41.6 24l110.4 .1c22.1 0 40-17.9 40-40V256c0-114.9-93.1-208-208-208zM144 208h16c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32H144c-35.3 0-64-28.7-64-64V272c0-35.3 28.7-64 64-64zm224 0c35.3 0 64 28.7 64 64v48c0 35.3-28.7 64-64 64H352c-17.7 0-32-14.3-32-32V240c0-17.7 14.3-32 32-32h16z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewBox:"0 0 576 512"},(0,r.createElement)("path",{d:"M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewBox:"0 0 448 512"},(0,r.createElement)("path",{d:"M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 448 512"},(0,r.createElement)("path",{d:"M384 336H192c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16l140.1 0L400 115.9V320c0 8.8-7.2 16-16 16zM192 384H384c35.3 0 64-28.7 64-64V115.9c0-12.7-5.1-24.9-14.1-33.9L366.1 14.1c-9-9-21.2-14.1-33.9-14.1H192c-35.3 0-64 28.7-64 64V320c0 35.3 28.7 64 64 64zM64 128c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H256c35.3 0 64-28.7 64-64V416H272v32c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V192c0-8.8 7.2-16 16-16H96V128H64z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960"},(0,r.createElement)("path",{d:"M480-424 284-228q-11 11-28 11t-28-11q-11-11-11-28t11-28l196-196-196-196q-11-11-11-28t11-28q11-11 28-11t28 11l196 196 196-196q11-11 28-11t28 11q11 11 11 28t-11 28L536-480l196 196q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-424Z"}))),Te=((0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 320 512",width:16,height:16},(0,r.createElement)("path",{d:"M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z"})),(0,r.createElement)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 512 512",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M80 368H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm0-320H16A16 16 0 0 0 0 64v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16zm0 160H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm416 176H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M96 320C96 302.3 110.3 288 128 288L512 288C529.7 288 544 302.3 544 320C544 337.7 529.7 352 512 352L128 352C110.3 352 96 337.7 96 320z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M352 128C352 110.3 337.7 96 320 96C302.3 96 288 110.3 288 128L288 288L128 288C110.3 288 96 302.3 96 320C96 337.7 110.3 352 128 352L288 352L288 512C288 529.7 302.3 544 320 544C337.7 544 352 529.7 352 512L352 352L512 352C529.7 352 544 337.7 544 320C544 302.3 529.7 288 512 288L352 288L352 128z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},(0,r.createElement)("path",{d:"M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},(0,r.createElement)("path",{d:"M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"})),(0,r.createElement)("svg",{className:"check",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960"},(0,r.createElement)("path",{d:"m382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M320 576C178.6 576 64 461.4 64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576zM438 209.7C427.3 201.9 412.3 204.3 404.5 215L285.1 379.2L233 327.1C223.6 317.7 208.4 317.7 199.1 327.1C189.8 336.5 189.7 351.7 199.1 361L271.1 433C276.1 438 282.9 440.5 289.9 440C296.9 439.5 303.3 435.9 307.4 430.2L443.3 243.2C451.1 232.5 448.7 217.5 438 209.7z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"18px",height:"18px"},(0,r.createElement)("path",{d:"M10 2a8 8 0 105.29 13.71l5 5a1 1 0 001.42-1.42l-5-5A8 8 0 0010 2zm0 2a6 6 0 110 12 6 6 0 010-12z"}))),Oe=(0,r.createElement)("svg",{width:25,height:25,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M4.66667 12.25H11.9C11.9928 12.25 12.0818 12.2131 12.1475 12.1475C12.2131 12.0818 12.25 11.9928 12.25 11.9V2.1C12.25 2.00717 12.2131 1.91815 12.1475 1.85251C12.0818 1.78687 11.9928 1.75 11.9 1.75H2.1C2.00717 1.75 1.91815 1.78687 1.85251 1.85251C1.78687 1.91815 1.75 2.00717 1.75 2.1V9.33333M5.83333 3.5H10.5M3.5 3.5H4.08333M2.04167 11.9583L7 7M7 7V9.33333M7 7H4.66667",stroke:"#6A72A5",strokeLinecap:"round",strokeLinejoin:"round"})),je=(0,r.createElement)("svg",{width:25,height:25,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M11.6667 6.99999V3.35357C11.6667 3.30753 11.6577 3.26193 11.6401 3.21939C11.6225 3.17684 11.5966 3.1382 11.564 3.10566L9.72771 1.26932C9.66213 1.20367 9.57317 1.16674 9.48037 1.16666H2.68337C2.59055 1.16666 2.50152 1.20353 2.43589 1.26917C2.37025 1.33481 2.33337 1.42383 2.33337 1.51666V12.4833C2.33337 12.5761 2.37025 12.6652 2.43589 12.7308C2.50152 12.7964 2.59055 12.8333 2.68337 12.8333H6.41671M4.66671 5.83332H9.33337M4.66671 3.49999H7.00004M4.66671 8.16666H6.41671",stroke:"#6A72A5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("path",{d:"M9.33337 3.14999V1.37315C9.33345 1.33237 9.3456 1.29251 9.36829 1.25862C9.39099 1.22473 9.42321 1.19832 9.4609 1.18272C9.49859 1.16712 9.54005 1.16303 9.58006 1.17097C9.62007 1.17891 9.65683 1.19852 9.68571 1.22732L11.606 3.14765C11.6351 3.17642 11.655 3.21321 11.6631 3.25331C11.6712 3.29341 11.6672 3.33502 11.6515 3.37283C11.6359 3.41063 11.6093 3.44291 11.5752 3.46556C11.5412 3.48821 11.5011 3.5002 11.4602 3.49999H9.68337C9.59055 3.49999 9.50152 3.46311 9.43589 3.39748C9.37025 3.33184 9.33337 3.24281 9.33337 3.14999V3.14999Z",fill:"#6A72A5",stroke:"#6A72A5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("path",{d:"M10.4731 9.88165L11.0565 9.29832C11.1172 9.23754 11.1893 9.18932 11.2687 9.15643C11.3481 9.12353 11.4331 9.1066 11.5191 9.1066C11.605 9.1066 11.6901 9.12353 11.7694 9.15643C11.8488 9.18932 11.9209 9.23754 11.9816 9.29832C12.1042 9.42095 12.1731 9.58723 12.1731 9.76061C12.1731 9.93399 12.1042 10.1003 11.9816 10.2229L11.3983 10.8062M10.4731 9.88107L8.7284 11.6258C8.64116 11.7133 8.58397 11.8263 8.56506 11.9484L8.42273 12.8567L9.33098 12.7149C9.45309 12.696 9.56605 12.6388 9.65356 12.5516L11.3977 10.8062M10.4731 9.88107L11.3983 10.8062",stroke:"#6A72A5",strokeLinecap:"round",strokeLinejoin:"round"})),We=((0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M187.2 100.9C174.8 94.1 159.8 94.4 147.6 101.6C135.4 108.8 128 121.9 128 136L128 504C128 518.1 135.5 531.2 147.6 538.4C159.7 545.6 174.8 545.9 187.2 539.1L523.2 355.1C536 348.1 544 334.6 544 320C544 305.4 536 291.9 523.2 284.9L187.2 100.9z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM320 240C302.3 240 288 254.3 288 272C288 285.3 277.3 296 264 296C250.7 296 240 285.3 240 272C240 227.8 275.8 192 320 192C364.2 192 400 227.8 400 272C400 319.2 364 339.2 344 346.5L344 350.3C344 363.6 333.3 374.3 320 374.3C306.7 374.3 296 363.6 296 350.3L296 342.2C296 321.7 310.8 307 326.1 302C332.5 299.9 339.3 296.5 344.3 291.7C348.6 287.5 352 281.7 352 272.1C352 254.4 337.7 240.1 320 240.1zM288 432C288 414.3 302.3 400 320 400C337.7 400 352 414.3 352 432C352 449.7 337.7 464 320 464C302.3 464 288 449.7 288 432z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M224 32C241.7 32 256 46.3 256 64L256 160L384 160L384 64C384 46.3 398.3 32 416 32C433.7 32 448 46.3 448 64L448 160L512 160C529.7 160 544 174.3 544 192C544 209.7 529.7 224 512 224L512 288C512 383.1 442.8 462.1 352 477.3L352 544C352 561.7 337.7 576 320 576C302.3 576 288 561.7 288 544L288 477.3C197.2 462.1 128 383.1 128 288L128 224C110.3 224 96 209.7 96 192C96 174.3 110.3 160 128 160L192 160L192 64C192 46.3 206.3 32 224 32z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M451.5 160C434.9 160 418.8 164.5 404.7 172.7C388.9 156.7 370.5 143.3 350.2 133.2C378.4 109.2 414.3 96 451.5 96C537.9 96 608 166 608 252.5C608 294 591.5 333.8 562.2 363.1L491.1 434.2C461.8 463.5 422 480 380.5 480C294.1 480 224 410 224 323.5C224 322 224 320.5 224.1 319C224.6 301.3 239.3 287.4 257 287.9C274.7 288.4 288.6 303.1 288.1 320.8C288.1 321.7 288.1 322.6 288.1 323.4C288.1 374.5 329.5 415.9 380.6 415.9C405.1 415.9 428.6 406.2 446 388.8L517.1 317.7C534.4 300.4 544.2 276.8 544.2 252.3C544.2 201.2 502.8 159.8 451.7 159.8zM307.2 237.3C305.3 236.5 303.4 235.4 301.7 234.2C289.1 227.7 274.7 224 259.6 224C235.1 224 211.6 233.7 194.2 251.1L123.1 322.2C105.8 339.5 96 363.1 96 387.6C96 438.7 137.4 480.1 188.5 480.1C205 480.1 221.1 475.7 235.2 467.5C251 483.5 269.4 496.9 289.8 507C261.6 530.9 225.8 544.2 188.5 544.2C102.1 544.2 32 474.2 32 387.7C32 346.2 48.5 306.4 77.8 277.1L148.9 206C178.2 176.7 218 160.2 259.5 160.2C346.1 160.2 416 230.8 416 317.1C416 318.4 416 319.7 416 321C415.6 338.7 400.9 352.6 383.2 352.2C365.5 351.8 351.6 337.1 352 319.4C352 318.6 352 317.9 352 317.1C352 283.4 334 253.8 307.2 237.5z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 544 432"},(0,r.createElement)("path",{d:"m297 71.2c9.2-7.3 15-18.6 15-31.2 0-22.1-17.9-40-40-40-22.1 0-40 17.9-40 40 0 12.6 5.9 23.9 15 31.2l-68.4 107.6c-10 15.7-31.3 19.6-46.2 8.4l-59.5-44.5c4.5-6.4 7.1-14.3 7.1-22.7 0-22.1-17.9-40-40-40-22.1 0-40 17.9-40 40 0 21.8 17.5 39.6 39.2 40l32.6 217.5c4.7 31.3 31.6 54.5 63.3 54.5h273.8c31.7 0 58.6-23.2 63.3-54.5l32.6-217.5c21.7-0.4 39.2-18.2 39.2-40 0-22.1-17.9-40-40-40-22.1 0-40 17.9-40 40 0 8.4 2.6 16.3 7.1 22.7l-59.4 44.6c-14.9 11.2-36.2 7.3-46.2-8.4z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,r.createElement)("path",{d:"m290.4 19.8c5-12 16.7-19.8 29.6-19.8h160c17.7 0 32 14.3 32 32v160c0 12.9-7.8 24.6-19.8 29.6-12 5-25.7 2.2-34.9-6.9l-57.3-57.4-153.4 153.3c-12.5 12.5-32.8 12.5-45.3 0-12.5-12.5-12.5-32.8 0-45.3l153.4-153.3-57.3-57.4c-9.2-9.2-11.9-22.9-6.9-34.9zm-290.4 156.2c0-44.2 35.8-80 80-80h80c17.7 0 32 14.3 32 32 0 17.7-14.3 32-32 32h-80c-8.8 0-16 7.2-16 16v256c0 8.8 7.2 16 16 16h256c8.8 0 16-7.2 16-16v-80c0-17.7 14.3-32 32-32 17.7 0 32 14.3 32 32v80c0 44.2-35.8 80-80 80h-256c-44.2 0-80-35.8-80-80z"})),({block:e,isPremium:t,disableBlockName:n,handleCheckboxChange:a,isSaving:l,isLinks:o=!0})=>{const{name:i,title:s,icon:c,demo:d,docs:m,badge:u="",required:h=!1}=e,p=!t&&e.isPremium,g=!p&&!n.includes(i),v=!0===h;return(0,r.createElement)("div",{className:"block "+(g?"":"disabled")},(0,r.createElement)("div",{className:"icon"},c),(0,r.createElement)("div",{className:"name"},(0,r.createElement)("p",{className:"blockTitle"},s),p&&(0,r.createElement)("a",{href:"#pricing"},"Get Pro")),o&&(0,r.createElement)(r.Fragment,null,d&&(0,r.createElement)("a",{className:"actionBtn",href:d,target:"_blank",rel:"noopener noreferrer"},Oe),m&&(0,r.createElement)("a",{className:"actionBtn",href:m,target:"_blank",rel:"noopener noreferrer"},je)),u&&(0,r.createElement)("p",{className:"blockBadge"},u),p&&(0,r.createElement)("p",{className:"blockBadge blockProBadge"},"Pro"),v&&(0,r.createElement)("p",{className:"blockBadge blockRequiredBadge"},"Required"),(0,r.createElement)("label",{className:"toggleSwitch",...p||v?{htmlFor:"b-blocks-admin-pro-modal-toggle"}:{}},(0,r.createElement)("input",{type:"checkbox",checked:g,...p||v?{}:{onChange:e=>a(i,e.target.checked)},disabled:l||p||v}),(0,r.createElement)("span",{className:"slider"})))}),Ue=window.wp.components,qe=({message:e,type:t})=>(0,r.createElement)("div",{className:`bPlDashboardBlocksToast ${t}`},"loading"===t&&(0,r.createElement)(Ue.Spinner,null),"success"===t&&(0,r.createElement)("span",{className:"checkmark"},"✓"),"error"===t&&(0,r.createElement)("span",{className:"error-icon"},"✕"),(0,r.createElement)("span",{className:"message"},e)),Ge=e=>{const{isPremium:t,disabledBlocks:n,onChange:a,allBlocks:l,status:o,ProModal:i=null,pageTitle:s="All Blocks"}=e,c=l.filter(e=>"published"===e.status||!e.status),[d,m]=(0,r.useState)(!1),[u,h]=(0,r.useState)(n||[]),[p,g]=(0,r.useState)(""),[v,f]=(0,r.useState)(null);(0,r.useEffect)(()=>{n&&h(n)},[JSON.stringify(n)]),(0,r.useEffect)(()=>{"loading"===o?(f({message:"Loading...",type:"loading"}),m(!0)):"success"===o?(f({message:"Saved successfully!",type:"success"}),m(!1),setTimeout(()=>f(null),3e3)):"error"===o&&(f({message:"Failed to save",type:"error"}),m(!1),setTimeout(()=>f(null),3e3))},[o]);const w=(e,t)=>{const n=t?u.filter(t=>t!==e):[...u,e];h(n),a?.(n),f({message:"Saving changes...",type:"loading"}),m(!0)},E=[],y=[];c.forEach(e=>{e.children&&Array.isArray(e.children)?E.push(e):y.push(e)});const C=e=>e.filter(e=>{if(e.children){const t=e.title?.toLowerCase().includes(p.toLowerCase()),n=e.children.some(e=>e.title?.toLowerCase().includes(p.toLowerCase()));return t||n}return e.title?.toLowerCase().includes(p.toLowerCase())}),b=C(E),k=C(y),x=b.length>0||k.length>0;return(0,r.createElement)("div",{className:"bPlDashboardBlocks"},!t&&i&&(0,r.createElement)(i,null),v&&(0,r.createElement)(qe,{message:v.message,type:v.type}),(0,r.createElement)("div",{className:"blocksTop"},(0,r.createElement)("h2",null,s),(0,r.createElement)("div",{className:"blocksSearch"},Te,(0,r.createElement)("input",{type:"text",placeholder:"Search...",value:p,onChange:e=>g(e.target.value),className:"search-input"}),p&&(0,r.createElement)("span",{onClick:()=>g("")},Ze)),(0,r.createElement)(Re,{className:"bBlocksDashboardBtn actionBtn activeAllBtn",onClick:()=>{h([]),a?.([]),f({message:"Saving changes...",type:"loading"}),m(!0)}},"Activate All"),(0,r.createElement)(Re,{className:"bBlocksDashboardBtn actionBtn deActiveAllBtn",onClick:()=>{const e=c.flatMap(e=>e.children&&Array.isArray(e.children)?e.children.filter(e=>!e.required).map(e=>e.name):e.required?[]:e.name);h(e),a?.(e),f({message:"Saving changes...",type:"loading"}),m(!0)}},"Deactivate All")),x?(0,r.createElement)("div",{className:"blocksContent"},b.map(e=>(0,r.createElement)("div",{key:e.title,className:"blocksGroup"},(0,r.createElement)("h3",{className:"groupTitle"},e.title),(0,r.createElement)("div",{className:"dashboardBlocks"},e.children.filter(e=>"published"===e.status||!e.status).map(e=>(0,r.createElement)(We,{key:e.name,block:e,isPremium:t,disableBlockName:u,handleCheckboxChange:w,isSaving:d}))))),k.length>0&&(0,r.createElement)("div",{className:"dashboardBlocks"},k.map(e=>(0,r.createElement)(We,{key:e.name,block:e,isPremium:t,disableBlockName:u,handleCheckboxChange:w,isSaving:d})))):(0,r.createElement)("h3",{className:"noBlocksFound"},"No blocks found matching your search..."))},Je=window.wp.i18n,Ye=((0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("polyline",{points:"3 6 5 6 21 6"}),(0,r.createElement)("path",{d:"M19 6l-2 14a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2L5 6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),(0,r.createElement)("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),(0,r.createElement)("line",{x1:"14",y1:"11",x2:"14",y2:"17"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}),(0,r.createElement)("line",{x1:"12",y1:"9",x2:"12",y2:"13"}),(0,r.createElement)("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"}),(0,r.createElement)("polyline",{points:"9 12 11 14 15 10"}))),Ke=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("polyline",{points:"20 6 9 17 4 12"})),Qe=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,r.createElement)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Xe=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("circle",{cx:"11",cy:"11",r:"7"}),(0,r.createElement)("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})),et=((0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M480 272C480 317.9 465.1 360.3 440 394.7L566.6 521.4C579.1 533.9 579.1 554.2 566.6 566.7C554.1 579.2 533.8 579.2 521.3 566.7L394.7 440C360.3 465.1 317.9 480 272 480C157.1 480 64 386.9 64 272C64 157.1 157.1 64 272 64C386.9 64 480 157.1 480 272zM272 416C351.5 416 416 351.5 416 272C416 192.5 351.5 128 272 128C192.5 128 128 192.5 128 272C128 351.5 192.5 416 272 416z"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),(0,r.createElement)("polyline",{points:"15 3 21 3 21 9"}),(0,r.createElement)("line",{x1:"10",y1:"14",x2:"21",y2:"3"}))),tt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,r.createElement)("polyline",{points:"12 5 19 12 12 19"})),nt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("polyline",{points:"15 18 9 12 15 6"})),rt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("polyline",{points:"9 18 15 12 9 6"})),at=((0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),(0,r.createElement)("rect",{x:"14",y:"3",width:"7",height:"7",rx:"1"}),(0,r.createElement)("rect",{x:"3",y:"14",width:"7",height:"7",rx:"1"}),(0,r.createElement)("rect",{x:"14",y:"14",width:"7",height:"7",rx:"1"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),(0,r.createElement)("rect",{x:"14",y:"3",width:"7",height:"7",rx:"1"}),(0,r.createElement)("rect",{x:"3",y:"14",width:"7",height:"7",rx:"1"}),(0,r.createElement)("rect",{x:"14",y:"14",width:"7",height:"7",rx:"1"}))),lt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.8,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M3 17l3-9 4 5 2-7 2 7 4-5 3 9"}),(0,r.createElement)("line",{x1:"3",y1:"21",x2:"21",y2:"21"})),ot=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.4,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),(0,r.createElement)("line",{x1:"5",y1:"12",x2:"19",y2:"12"})),it=(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M224 32C241.7 32 256 46.3 256 64L256 160L384 160L384 64C384 46.3 398.3 32 416 32C433.7 32 448 46.3 448 64L448 160L512 160C529.7 160 544 174.3 544 192C544 209.7 529.7 224 512 224L512 288C512 383.1 442.8 462.1 352 477.3L352 544C352 561.7 337.7 576 320 576C302.3 576 288 561.7 288 544L288 477.3C197.2 462.1 128 383.1 128 288L128 224C110.3 224 96 209.7 96 192C96 174.3 110.3 160 128 160L192 160L192 64C192 46.3 206.3 32 224 32z"})),st=(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 11 13",stroke:"currentColor",strokeLinecap:"round"},(0,r.createElement)("path",{d:"M2.5 5.16931V3.16931C2.49936 2.5198 2.73579 1.89239 3.16492 1.40483C3.59404 0.917267 4.18636 0.603088 4.8307 0.521257C5.47503 0.439426 6.12708 0.595571 6.66446 0.960383C7.20184 1.3252 7.5876 1.87359 7.74933 2.50264M5.16667 8.50264C5.34348 8.50264 5.51305 8.43241 5.63807 8.30738C5.76309 8.18236 5.83333 8.01279 5.83333 7.83598C5.83333 7.65917 5.76309 7.4896 5.63807 7.36457C5.51305 7.23955 5.34348 7.16931 5.16667 7.16931C4.98986 7.16931 4.82029 7.23955 4.69526 7.36457C4.57024 7.4896 4.5 7.65917 4.5 7.83598C4.5 8.01279 4.57024 8.18236 4.69526 8.30738C4.82029 8.43241 4.98986 8.50264 5.16667 8.50264ZM5.16667 8.50264V10.5026M1.56667 5.16931H8.76667C9.35333 5.16931 9.83333 5.64931 9.83333 6.23598V10.9026C9.83333 11.7826 9.11333 12.5026 8.23333 12.5026H2.1C1.22 12.5026 0.5 11.7826 0.5 10.9026V6.23598C0.5 5.64931 0.98 5.16931 1.56667 5.16931Z"})),ct=((0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M305 151.1L320 171.8L335 151.1C360 116.5 400.2 96 442.9 96C516.4 96 576 155.6 576 229.1L576 231.7C576 343.9 436.1 474.2 363.1 529.9C350.7 539.3 335.5 544 320 544C304.5 544 289.2 539.4 276.9 529.9C203.9 474.2 64 343.9 64 231.7L64 229.1C64 155.6 123.6 96 197.1 96C239.8 96 280 116.5 305 151.1z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 292 512",fill:"#1877F2"},(0,r.createElement)("path",{d:"m66 299.3v212.7h116v-212.7h86.5l18-97.8h-104.5v-34.6c0-51.7 20.3-71.5 72.7-71.5 16.3 0 29.4 0.4 37 1.2v-88.7c-14.3-3.9-49.3-7.9-69.5-7.9-106.9 0-156.2 50.5-156.2 159.4v42.1h-66v97.8z"}))),dt=((0,r.createElement)("svg",{className:"angelDown",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M297.4 470.6C309.9 483.1 330.2 483.1 342.7 470.6L534.7 278.6C547.2 266.1 547.2 245.8 534.7 233.3C522.2 220.8 501.9 220.8 489.4 233.3L320 402.7L150.6 233.4C138.1 220.9 117.8 220.9 105.3 233.4C92.8 245.9 92.8 266.2 105.3 278.7L297.3 470.7z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M320 576C178.6 576 64 461.4 64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576zM320 384C302.3 384 288 398.3 288 416C288 433.7 302.3 448 320 448C337.7 448 352 433.7 352 416C352 398.3 337.7 384 320 384zM320 192C301.8 192 287.3 207.5 288.6 225.7L296 329.7C296.9 342.3 307.4 352 319.9 352C332.5 352 342.9 342.3 343.8 329.7L351.2 225.7C352.5 207.5 338.1 192 319.8 192z"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24"},(0,r.createElement)("path",{d:"M8 5v14l11-7z"})),(0,r.createElement)("svg",{className:"video-player-pause-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},(0,r.createElement)("path",{d:"M48 64C21.5 64 0 85.5 0 112L0 400c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48L48 64zm192 0c-26.5 0-48 21.5-48 48l0 288c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48l-32 0z"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24"},(0,r.createElement)("path",{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24"},(0,r.createElement)("path",{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24"},(0,r.createElement)("path",{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24"},(0,r.createElement)("path",{d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"})),(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640"},(0,r.createElement)("path",{d:"M187.2 100.9C174.8 94.1 159.8 94.4 147.6 101.6C135.4 108.8 128 121.9 128 136L128 504C128 518.1 135.5 531.2 147.6 538.4C159.7 545.6 174.8 545.9 187.2 539.1L523.2 355.1C536 348.1 544 334.6 544 320C544 305.4 536 291.9 523.2 284.9L187.2 100.9z"}))),mt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none"},(0,r.createElement)("path",{d:"M3 3L21 21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,r.createElement)("path",{d:"M10.5 10.677a2 2 0 002.823 2.823",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,r.createElement)("path",{d:"M7.362 7.561C5.68 8.74 4.279 10.42 3 12c1.889 2.991 5.282 6 9 6 1.55 0 3.043-.523 4.395-1.35M12 6c4.008 0 6.701 3.158 9 6a15.66 15.66 0 01-1.078 1.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})),ut=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none"},(0,r.createElement)("path",{d:"M12 5C7.52 5 3.73 7.61 1 12c2.73 4.39 6.52 7 11 7s8.27-2.61 11-7c-2.73-4.39-6.52-7-11-7z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("circle",{cx:"12",cy:"12",r:"3",stroke:"currentColor",strokeWidth:"2"})),ht=((0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M8 12a4 4 0 100-8 4 4 0 000 8zm8 8a4 4 0 100-8 4 4 0 000 8zm-8 0a4 4 0 100-8 4 4 0 000 8z"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71"}),(0,r.createElement)("path",{d:"M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("circle",{cx:"12",cy:"12",r:"10"}),(0,r.createElement)("path",{d:"M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"}),(0,r.createElement)("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})),(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M22 11.08V12a10 10 0 11-5.93-9.14"}),(0,r.createElement)("polyline",{points:"22 4 12 14.01 9 11.01"}))),pt=(0,r.createElement)("svg",{className:"check",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960"},(0,r.createElement)("path",{d:"m382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z"})),gt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("polyline",{points:"6 9 12 15 18 9"})),vt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M12 2L4 6v6c0 5 3.5 9.6 8 10 4.5-.4 8-5 8-10V6l-8-4z"}),(0,r.createElement)("polyline",{points:"9 12 11 14 15 10"})),ft=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("polyline",{points:"23 4 23 10 17 10"}),(0,r.createElement)("polyline",{points:"1 20 1 14 7 14"}),(0,r.createElement)("path",{d:"M3.51 9a9 9 0 0114.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0020.49 15"})),wt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M21 11.5a8.38 8.38 0 01-.9 3.8 8.5 8.5 0 01-7.6 4.7 8.38 8.38 0 01-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 01-.9-3.8 8.5 8.5 0 014.7-7.6 8.38 8.38 0 013.8-.9h.5a8.48 8.48 0 018 8v.5z"})),Et=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2"}),(0,r.createElement)("path",{d:"M7 11V7a5 5 0 0110 0v4"})),yt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4"})),Ct=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2"}),(0,r.createElement)("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})),bt=(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("circle",{cx:"12",cy:"12",r:"10"}),(0,r.createElement)("line",{x1:"12",y1:"16",x2:"12",y2:"12"}),(0,r.createElement)("line",{x1:"12",y1:"8",x2:"12.01",y2:"8"})),kt=["#3b82f6","#10b981","#8b5cf6","#f59e0b","#ec4899","#06b6d4","#f43f5e","#14b8a6"],xt=({name:e,isPremium:t,demoInfo:n})=>{const{demos:a}=n,[l,o]=(0,r.useState)("All"),[i,s]=(0,r.useState)(""),[c,d]=(0,r.useState)(null),[m,u]=(0,r.useState)(!1),h=(0,r.useMemo)(()=>["All",...a.filter(e=>e.children?.length>0||e.url&&"#"!==e.url).map(e=>e.title)],[a]),p=(0,r.useMemo)(()=>{const e={};return h.filter(e=>"All"!==e).forEach((t,n)=>{e[t]=kt[n%kt.length]}),e},[h]),g=(0,r.useMemo)(()=>{const e=[];return a.forEach(t=>{const n=p[t.title],r=e=>({...e,category:t.title,categoryIcon:t.icon,accent:n,_searchTarget:`${e.title.toLowerCase()} ${t.title.toLowerCase()}`});t.children?.length?t.children.forEach(t=>e.push(r(t))):t.url&&"#"!==t.url&&e.push(r(t))}),e},[a,p]),v=(0,r.useMemo)(()=>{const e=i.trim().toLowerCase();return g.filter(t=>!("All"!==l&&t.category!==l||e&&!t._searchTarget.includes(e)))},[g,l,i]),f=null!==c?v[c]:null;(0,r.useEffect)(()=>{f&&u(!0)},[f?.url]);const w=null!==c;return(0,r.useEffect)(()=>{if(!w)return;const e=e=>{"Escape"===e.key&&d(null),"ArrowRight"===e.key&&d(e=>Math.min(e+1,v.length-1)),"ArrowLeft"===e.key&&d(e=>Math.max(e-1,0))};return document.addEventListener("keydown",e),document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",e),document.body.style.overflow=""}},[w,v.length]),(0,r.createElement)("div",{className:"bPlDashboardDemos"},(0,r.createElement)("header",{className:"hero"},(0,r.createElement)("span",{className:"eyebrow"},(0,Je.__)("Live Demos")),(0,r.createElement)("h1",null,(0,Je.sprintf)((0,Je.__)("See the %s in action"),e)),(0,r.createElement)("p",null,(0,Je.__)("Browse ready-made demos - click any card to open a live, interactive preview."))),(0,r.createElement)("div",{className:"toolbar"},(0,r.createElement)("div",{className:"search"},Xe,(0,r.createElement)("input",{type:"text",value:i,placeholder:"Search demos…",onChange:e=>s(e.target.value)}),i&&(0,r.createElement)("button",{className:"searchClear",onClick:()=>s(""),"aria-label":"Clear search"},"×")),(0,r.createElement)("div",{className:"chips",role:"tablist"},h.map(e=>(0,r.createElement)("button",{key:e,type:"button",role:"tab","aria-selected":l===e,className:"chip "+(l===e?"isActive":""),style:"All"!==e?{"--accent":p[e]}:void 0,onClick:()=>o(e)},(0,r.createElement)("span",{className:"chipDot"}),e)))),(0,r.createElement)("p",{className:"count"},(0,r.createElement)("strong",null,v.length)," ",1===v.length?"demo":"demos","All"!==l&&` in ${l}`,i.trim()&&` matching "${i}"`),0===v.length?(0,r.createElement)("div",{className:"empty"},Xe,(0,r.createElement)("h3",null,"No demos found"),(0,r.createElement)("p",null,"Try a different search or category.")):(0,r.createElement)("div",{className:"grid"},v.map((e,t)=>(0,r.createElement)("button",{key:`${e.title}-${t}`,type:"button",className:"card",style:e.accent?{"--accent":e.accent}:void 0,onClick:()=>d(t)},e.categoryIcon&&(0,r.createElement)("div",{className:"cardIcon"},"string"==typeof e.categoryIcon?(0,r.createElement)("span",{dangerouslySetInnerHTML:{__html:e.categoryIcon}}):e.categoryIcon),(0,r.createElement)("span",{className:"cardCat"},e.category),(0,r.createElement)("h3",{className:"cardTitle"},e.title),(0,r.createElement)("span",{className:"cardAction"},"Preview",tt)))),f&&(0,r.createElement)("div",{className:"modal",role:"dialog","aria-modal":"true"},(0,r.createElement)("div",{className:"modalBackdrop",onClick:()=>d(null)}),(0,r.createElement)("div",{className:"modalContent"},(0,r.createElement)("header",{className:"modalHead"},(0,r.createElement)("div",{className:"modalTitleWrap"},f.accent&&(0,r.createElement)("span",{className:"modalCat",style:{background:f.accent}},f.category),(0,r.createElement)("h2",null,f.title),(0,r.createElement)("span",{className:"modalProgress"},c+1," of ",v.length)),(0,r.createElement)("div",{className:"modalActions"},(0,r.createElement)("a",{className:"modalOpen",href:f.url,target:"_blank",rel:"noopener noreferrer"},"Open in new tab",et),(0,r.createElement)("button",{className:"modalClose",onClick:()=>d(null),"aria-label":"Close demo"},Qe))),(0,r.createElement)("div",{className:"modalStage"},c>0&&(0,r.createElement)("button",{className:"modalNav modalNavPrev",onClick:()=>d(c-1),"aria-label":"Previous demo"},nt),m&&(0,r.createElement)("div",{className:"iframeLoader"},(0,r.createElement)("div",{className:"spinner"}),(0,r.createElement)("span",null,"Loading demo…")),"iframe"===f.type?(0,r.createElement)("iframe",{src:f.url,title:`${f.title} demo`,sandbox:"allow-scripts allow-same-origin allow-popups allow-forms",onLoad:()=>u(!1)}):(0,r.createElement)("div",{className:"imgScroll"},(0,r.createElement)("img",{src:f.url,alt:f.title,onLoad:()=>u(!1)})),c<v.length-1&&(0,r.createElement)("button",{className:"modalNav modalNavNext",onClick:()=>d(c+1),"aria-label":"Next demo"},rt)))))};!function(e){var t=Object.defineProperty,n=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,i=(e,n,r)=>n in e?t(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,s=(e,t)=>{for(var n in t||(t={}))l.call(t,n)&&i(e,n,t[n]);if(a)for(var n of a(t))o.call(t,n)&&i(e,n,t[n]);return e},c=(e,t,n)=>i(e,"symbol"!=typeof t?t+"":t,n);const d={Log(...e){console&&console.log&&console.log(...e)},Error(...e){console&&console.error&&console.error(...e)},Warn(...e){console&&console.warn&&console.warn(...e)},Debug(...e){console&&console.debug&&console.debug(...e)}};function m(e,t){const n=e.contentWindow,r=e.src,a={};if(!n||!r)return null;const l=function(e){if(!(e&&e.origin&&e.origin.indexOf("js.stripe.com")>0||e.origin.indexOf("www.paypal.com")>0)&&e.origin===t&&e&&e.data&&"string"==typeof e.data&&"{"===e.data.charAt(0))try{const t=JSON.parse(e.data);"object"==typeof t&&t.type&&a[t.type]&&a[t.type].forEach(e=>{e(t.data)})}catch(e){d.Error(e)}};return window.addEventListener("message",l),{on(e,t){a[e]||(a[e]=[]),a[e].push(t)},one(e,t,n=!1){n&&delete a[e],!a[e]&&this.on(e,t)},destroy(){window.removeEventListener("message",l)},post(e,t){n.postMessage(JSON.stringify({type:e,data:t}),r.replace(/([^:]+:\/\/[^/]+).*/,"$1"))}}}const u=2147483647;function h(e){return void 0===e||"function"==typeof e||"object"==typeof e&&null!==e}function p(){return"undefined"==typeof window}function g(e,t){if(null==e)throw new Error(t)}class v{constructor(e){c(this,"styleElement"),c(this,"bodyScrollDisableClassName"),c(this,"isFlashingBrowser"),c(this,"overflow",{x:0,y:0}),c(this,"metaColorSchemeValue",null),c(this,"metaColorSchemeElement",null),this.guid=e,this.bodyScrollDisableClassName=`is-fs-checkout-open-${this.guid}`,this.styleElement=document.createElement("style"),this.styleElement.textContent+=this.getBasicStyle(),this.isFlashingBrowser=function(){let e=!1;try{const t=navigator.userAgent.toLowerCase();/edge\/|trident\/|msie /.test(t)?e=!0:-1!==t.indexOf("safari")&&(t.indexOf("chrome")>-1||(e=!0))}catch(e){}return e}()||!p()&&!!document.querySelector("#___gatsby"),this.metaColorSchemeElement=document.head.querySelector('meta[name="color-scheme"]')}addStyle(e){this.styleElement.textContent+=e}attach(){return document.head.appendChild(this.styleElement),this}remove(){return document.head.removeChild(this.styleElement),this}disableBodyScroll(){this.backupScrollPosition(),document.body.classList.add(this.bodyScrollDisableClassName)}enableBodyScroll(){document.body.classList.remove(this.bodyScrollDisableClassName),this.restoreScrollPosition()}disableMetaColorScheme(){this.metaColorSchemeElement&&(this.metaColorSchemeValue=this.metaColorSchemeElement.getAttribute("content"),this.metaColorSchemeElement.setAttribute("content","light"))}enableMetaColorScheme(){this.metaColorSchemeElement&&this.metaColorSchemeValue&&(this.metaColorSchemeElement.setAttribute("content",this.metaColorSchemeValue),this.metaColorSchemeValue=null)}getBasicStyle(){return`body.${this.bodyScrollDisableClassName} { overflow: hidden !important; }`}backupScrollPosition(){this.overflow={x:document.documentElement.scrollTop,y:document.documentElement.scrollLeft}}restoreScrollPosition(){document.documentElement.scrollTop=this.overflow.x,document.documentElement.scrollLeft=this.overflow.y}}class f{constructor(e,t,n="Loading Freemius Checkout"){c(this,"loaderElement"),c(this,"isOpen",!1),c(this,"loaderElementId"),this.style=e,this.loaderElementId=`fs-loader-${this.style.guid}`,this.loaderElement=document.createElement("div"),this.loaderElement.id=this.loaderElementId,this.loaderElement.innerHTML=`<img src="${t}" alt="${n}" />`,this.style.addStyle(this.getStyle())}show(){return this.isOpen||(this.loaderElement.classList.add("show"),document.body.appendChild(this.loaderElement),this.isOpen=!0),this}hide(){return this.isOpen?(this.loaderElement.classList.remove("show"),document.body.removeChild(this.loaderElement),this.isOpen=!1,this):this}getStyle(){return`#${this.loaderElementId} { display: none; position: fixed; z-index: ${u-1}; width: 100%; height: 100%; top: 0; left: 0; right: 0; bottom: 0; text-align: left; background: rgba(0, 0, 0, 0.6); transition: opacity 200ms ease-out; will-change: opacity; opacity: 0; } #${this.loaderElementId}.show { opacity: 1; display: block; } #${this.loaderElementId} img { position: absolute; top: 40%; left: 50%; width: auto; height: auto; margin-left: -25px; background: #fff; padding: 10px; border-radius: 50%; box-shadow: 2px 2px 2px rgba(0,0,0,0.1); }`}}class w{constructor(e,t,n,r,a){c(this,"postman",null),c(this,"iFrame"),c(this,"loadedEventListeners",new Set),c(this,"closedEventListeners",new Set),this.baseUrl=e,this.visibleClass=r,this.checkoutEvents=a,this.iFrame=this.attachIFrame(e,t,n),this.addEventListeners()}close(){var e;null==(e=this.postman)||e.post("close",null)}onClosed(e){this.closedEventListeners.add(e)}onLoaded(e){this.loadedEventListeners.add(e)}addToExitIntent(e){e.addListener(()=>{var e,t,n;null==(e=this.postman)||e.post("exit_intent",null),null==(n=(t=this.checkoutEvents).onExitIntent)||n.call(t)})}attachIFrame(e,t,n){const r=`${e}/?${function(e){const t=[];return Object.keys(e).forEach(n=>{const r=function(e){return h(e)?null:null===e?"null":!0===e?"1":!1===e?"0":encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/%20/g,"+")}(e[n]);null!==r&&t.push(`${n}=${r}`)}),t.join("&")}(t)}#${encodeURIComponent(document.location.href)}`,a=document.createElement("iframe");return a.id=n,a.src=r,a.setAttribute("allowTransparency","true"),a.setAttribute("width","100%"),a.setAttribute("height","100%"),a.setAttribute("style","background: rgba(0,0,0,0.003); border: 0 none transparent;"),a.setAttribute("frameborder","0"),a.setAttribute("data-testid",a.id),document.body.appendChild(a),a}addEventListeners(){var e,t,n,r,a;const{success:l,purchaseCompleted:o,cancel:i,track:s,afterOpen:c,afterClose:u}=this.checkoutEvents;this.postman=m(this.iFrame,this.baseUrl),null==(e=this.postman)||e.one("upgraded",e=>{try{null==l||l(e)}catch(e){d.Error(e)}this.dispatchOnClosed(),this.removeIFrameAndPostman(),null==u||u()},!0),null==(t=this.postman)||t.one("purchaseCompleted",e=>{try{null==o||o(e)}catch(e){d.Error(e)}},!0),null==(n=this.postman)||n.one("canceled",()=>{try{null==i||i()}catch(e){d.Error(e)}this.dispatchOnClosed(),this.removeIFrameAndPostman(),null==u||u()},!0),null==(r=this.postman)||r.on("track",e=>{try{null==s||s(e.event,e)}catch(e){d.Error(e)}}),null==(a=this.postman)||a.one("loaded",()=>{var e;this.dispatchOnLoaded(),null==(e=this.iFrame)||e.classList.add(this.visibleClass);try{null==c||c()}catch(e){d.Error(e)}},!0)}removeIFrameAndPostman(){var e;null==(e=this.postman)||e.destroy(),this.postman=null,this.iFrame.remove(),this.closedEventListeners.clear(),this.loadedEventListeners.clear()}dispatchOnLoaded(){this.loadedEventListeners.forEach(e=>e())}dispatchOnClosed(){this.closedEventListeners.forEach(e=>e())}}const E=class e{constructor(e,t,n){c(this,"iFrameID"),this.style=e,this.options=t,this.baseUrl=n,this.iFrameID=`fs-checkout-page-${this.style.guid}`}create(t){const n=s(s({},this.options),t);return new w(this.baseUrl,this.getQueryParams(n),this.iFrameID,e.VISIBLE_CLASS,n)}addStyle(){this.style.addStyle(this.getStyle())}getQueryParams(e){const t={mode:"dialog",guid:this.style.guid,_fs_checkout:!0};Object.entries(e).forEach(([e,n])=>{h(n)||(t[e]=n)});const{sandbox:n}=e;return n&&n.ctx&&n.token&&(t.s_ctx_ts=n.ctx,t.sandbox=n.token),t}getStyle(){return`#${this.iFrameID} { z-index: ${u-1}; background: rgba(0,0,0,0.003); border: 0 none transparent; visibility: ${this.style.isFlashingBrowser?"hidden":"visible"}; margin: 0; padding: 0; position: fixed; left: 0px; top: 0px; width: 100%; height: 100%; -webkit-tap-highlight-color: transparent; overflow: hidden; } #${this.iFrameID}.${e.VISIBLE_CLASS} { visibility: visible; }`}};c(E,"VISIBLE_CLASS","show");let y=E;class C{constructor(e,t,n,r,a){c(this,"checkoutIFrameBuilder"),c(this,"checkoutIFrame",null),this.style=e,this.exitIntent=t,this.loader=n,this.checkoutIFrameBuilder=new y(this.style,a,r),this.checkoutIFrameBuilder.addStyle()}isOpen(){return null!==this.checkoutIFrame}open(e){return this.isOpen()||(this.style.disableBodyScroll(),this.style.disableMetaColorScheme(),this.loader.show(),this.exitIntent.attach(),this.checkoutIFrame=this.checkoutIFrameBuilder.create(e),this.checkoutIFrame.onLoaded(this.onLoaded.bind(this)),this.checkoutIFrame.onClosed(this.onClosed.bind(this)),this.checkoutIFrame.addToExitIntent(this.exitIntent)),this}close(){var e;return null==(e=this.checkoutIFrame)||e.close(),this}onLoaded(){this.loader.hide()}onClosed(){this.checkoutIFrame=null,this.loader.hide(),this.style.enableBodyScroll(),this.style.enableMetaColorScheme(),this.exitIntent.detach()}}class b{constructor(e){c(this,"exitIntentId"),c(this,"exitIntentDiv",null),c(this,"clearExitIntentListener",null),c(this,"listeners",[]),this.style=e,this.exitIntentId=`fs-exit-intent-${this.style.guid}`,this.style.addStyle(this.getStyle())}isAttached(){return null!==this.exitIntentDiv}addListener(...e){this.listeners.push(...e)}attach(...e){if(e&&this.addListener(...e),this.isAttached())return this;this.exitIntentDiv=document.createElement("div"),this.exitIntentDiv.id=this.exitIntentId,document.body.appendChild(this.exitIntentDiv);const t=document.documentElement;let n=null;const r=e=>{e.pageY<=20&&(n=window.setTimeout(()=>{try{this.fireListeners()}catch(e){d.Error(e)}},300))},a=()=>{n&&(clearTimeout(n),n=null)};return t.addEventListener("mouseleave",r),t.addEventListener("mouseenter",a),this.clearExitIntentListener=()=>{n&&(clearTimeout(n),n=null),t.removeEventListener("mouseleave",r),t.removeEventListener("mouseenter",a)},this}detach(){var e,t;return this.isAttached()?(null==(e=this.exitIntentDiv)||e.remove(),this.exitIntentDiv=null,null==(t=this.clearExitIntentListener)||t.call(this),this):this}fireListeners(){this.listeners.forEach(e=>{e()})}getStyle(){return`#${this.exitIntentId} { z-index: ${u}; border: 0; background: transparent; position: fixed; padding: 0; margin: 0; height: 10px; left: 0; right: 0; width: 100%; top: 0; }`}}const k=class e{constructor(e){c(this,"queryParams",null),this.url=e,this.queryParams=this.parseQueryStringForCart()}hasCart(){return null!==this.queryParams}getPluginID(){return g(this.queryParams,e.NO_CART_FOUND_MESSAGE),this.queryParams.__fs_plugin_id}getPluginPublicKey(){return g(this.queryParams,e.NO_CART_FOUND_MESSAGE),this.queryParams.__fs_plugin_public_key}matchesPluginID(e){const t=Number.parseInt(this.getPluginID(),10),n=Number.parseInt(e.toString(),10);return Number.isFinite(t)&&Number.isFinite(n)&&t===n}getCheckoutOptions(){g(this.queryParams,e.NO_CART_FOUND_MESSAGE);const t={plugin_id:"",public_key:""};return Object.entries(this.queryParams).forEach(([e,n])=>{"__fs_plugin_id"===e?t.plugin_id=n:"__fs_plugin_public_key"===e?t.public_key=n:t[e]=n}),t}parseQueryStringForCart(){const e=new URLSearchParams(this.url.search);if(!e.has("__fs_authorization"))return null;const t={};return e.forEach((e,n)=>{n.startsWith("__fs_")&&(t[n]=e)}),t}};c(k,"NO_CART_FOUND_MESSAGE","No cart was found");let x=k;class L{constructor(e,t=!0,i="https://checkout.freemius.com"){var d;c(this,"options",{plugin_id:0,public_key:""}),c(this,"guid"),c(this,"style"),c(this,"loader"),c(this,"checkoutPopup"),c(this,"exitIntent"),c(this,"cart"),this.baseUrl=i;const m=e,{plugin_id:u,product_id:h,public_key:g}=m,w=((e,t)=>{var n={};for(var r in e)l.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&a)for(var r of a(e))t.indexOf(r)<0&&o.call(e,r)&&(n[r]=e[r]);return n})(m,["plugin_id","product_id","public_key"]);if(!u&&!h)throw new Error("Must provide a product_id to options.");if(!g)throw new Error("Must provide the public_key to options.");this.options=((e,t)=>n(e,r(t)))(s({},w),{public_key:g,plugin_id:null!=h?h:u}),this.guid=function(){const e=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),!p()&&(this.style=new v(this.guid),this.loader=new f(this.style,null!=(d=e.loadingImageUrl)?d:`${this.baseUrl}/assets/img/spinner.svg`,e.loadingImageAlt),this.exitIntent=new b(this.style),this.checkoutPopup=new C(this.style,this.exitIntent,this.loader,this.baseUrl,this.options),this.style.attach(),this.cart=new x(new URL(window.location.href)),t&&this.recoverCart())}open(e){var t,n;if(!p()){if(null!=(t=this.checkoutPopup)&&t.isOpen())return void d.Warn("Checkout popup already open. Please close it first before opening it again.");null==(n=this.checkoutPopup)||n.open(e)}}close(){var e;p()||null==(e=this.checkoutPopup)||e.close()}destroy(){var e;p()||(this.close(),null==(e=this.style)||e.remove())}getGuid(){return this.guid}recoverCart(){var e,t;if(null!=(e=this.cart)&&e.hasCart()&&null!=(t=this.cart)&&t.matchesPluginID(this.options.plugin_id)){const e=this.cart.getCheckoutOptions();this.open(e)}}}window.FS=window.FS||{},window.FS.Checkout=L,window.FS.postman=m,window.FS.Logger=d,e.Checkout=L,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}({});const Lt=window.FS,_t={monthly:{suffix:"/mo"},annual:{suffix:"/yr"},lifetime:{suffix:""}},Mt=e=>{const t="string"==typeof e?parseFloat(e):e;return isNaN(t)?"—":Number.isInteger(t)?String(t):t.toFixed(2)},Vt=({pricingInfo:e,options:t})=>{var n,a,l,o,i,s;const{pluginId:c,planId:d,licenses:m,button:u,featured:h,logo:p,hero:g,included:v,trustBadges:f,faqs:w}=e,[E,y]=(0,r.useState)({}),[C,b]=(0,r.useState)(!1),[k,x]=(0,r.useState)([]),[L,_]=(0,r.useState)(""),[M,V]=(0,r.useState)(0);if((0,r.useEffect)(()=>{if(!c)return;let e=!0;return b(!0),fetch(`https://api.bplugins.com/wp-json/bpl/v1/products/${c}`).then(e=>e.ok?e.json():Promise.reject(`${e.status} ${e.statusText}`)).then(t=>{e&&y(t)}).catch(()=>{e&&y({})}).finally(()=>{e&&b(!1)}),()=>{e=!1}},[c]),(0,r.useEffect)(()=>{if(!E?.id||!d)return;const{plans:e}=E,t=e?.find(e=>parseInt(e.id)===parseInt(d))||e?.[0]||{},n=t?.pricing?.[0];if(n&&"object"==typeof n){const e=[];void 0!==n.monthly&&e.push({name:"monthly",label:(0,Je.__)("Monthly")}),void 0!==n.annual&&e.push({name:"annual",label:(0,Je.__)("Yearly"),isDefault:!0}),void 0!==n.lifetime&&e.push({name:"lifetime",label:(0,Je.__)("Lifetime")}),x(e),_(e.find(e=>e.isDefault)?.name||e[0]?.name||"")}else x([]),_("")},[E,d]),C)return(0,r.createElement)("div",{className:"bPlDashboardPricing bPlDashboardPricingLoading"},(0,r.createElement)("div",{className:"pricingLoadingSpinner"}),(0,r.createElement)("p",null,(0,Je.__)("Loading the latest pricing…")));if(!E?.id)return null;const{plans:N}=E,H=N?.find(e=>parseInt(e.id)===parseInt(d))||N?.[0]||{},P=H?.pricing||[],S=m?.length>0?P.filter(e=>{var t;return m.includes(null!==(t=e?.licenses)&&void 0!==t?t:null)}):P,F=S[0];let B=0;if(F?.monthly&&F?.annual){const e=12*parseFloat(F.monthly),t=parseFloat(F.annual);e>0&&(B=Math.round((e-t)/e*100))}const z=((e,t)=>{const n=e.find(e=>"free"===e.name)?.features?.map(e=>e.title),r=e.find(e=>"pro"===e.name)?.features?.filter(e=>!n.includes(e.title)).map(e=>e.title),a={free:n,pro:r},l=e.find(e=>parseInt(e.id)===parseInt(t))?.name;return a[l]||e.find(e=>parseInt(e.id)===parseInt(t))?.features?.map(e=>e.title)||[]})(N,d),D=B>0?`Save ${B}%`:"",A=1===k.length&&"lifetime"===k[0]?.name,$={eyebrow:null!==(n=g?.eyebrow)&&void 0!==n?n:(0,Je.__)("Pricing"),title:null!==(a=g?.title)&&void 0!==a?a:(0,Je.__)("Pick the plan that fits your project"),description:null!==(l=g?.description)&&void 0!==l?l:(0,Je.__)("Same powerful features on every plan — just choose how many sites you need. Upgrade or downgrade any time.")},R={tag:null!==(o=v?.tag)&&void 0!==o?o:(0,Je.__)("Same on every plan"),title:null!==(i=v?.title)&&void 0!==i?i:(0,Je.__)("Everything you get, on every license"),description:null!==(s=v?.description)&&void 0!==s?s:(0,Je.__)("Every feature is available on every license tier. The only difference is how many sites you can activate the plugin on.")},I=f||[{title:(0,Je.__)("14 days money back"),body:(0,Je.__)("Risk-free purchase"),icon:vt},{title:A?(0,Je.__)("Lifetime updates"):(0,Je.__)("Plugins updates"),body:(0,Je.__)("On every plan"),icon:ft},{title:(0,Je.__)("Priority support"),body:(0,Je.__)("Get help when you need it"),icon:wt},{title:(0,Je.__)("Secure checkout"),body:(0,Je.__)("Powered by Freemius"),icon:Et}],Z=w||[{q:(0,Je.__)("Can I upgrade my plan later?"),a:(0,Je.__)("Yes — you can upgrade any time from your account. We prorate the difference automatically.")},A?{q:(0,Je.__)("Will I receive updates if I purchase a lifetime license?"),a:(0,Je.__)("Yes, a lifetime license holds lifetime updates and never expires, ensuring you always have access to the latest features and bug fixes without recurring fees.")}:{q:(0,Je.__)("What happens after my license expires?"),a:(0,Je.__)("The plugin keeps working forever. You only lose access to premium features, updates and premium support unless you renew.")},{q:(0,Je.__)("Do you offer refunds?"),a:(0,Je.__)("Absolutely. Every plan is backed by a 14 days no-questions-asked money-back guarantee.")}];return(0,r.createElement)("div",{className:"bPlDashboardPricing"},(0,r.createElement)("header",{className:"pricingHero"},(0,r.createElement)("span",{className:"pricingEyebrow"},$.eyebrow),(0,r.createElement)("h1",null,$.title),(0,r.createElement)("p",null,$.description)),k.length>1&&(0,r.createElement)("div",{className:"pricingCycleWrap"},(0,r.createElement)("div",{className:"pricingCycle",role:"tablist"},k.map(e=>(0,r.createElement)("button",{key:e.name,type:"button",role:"tab","aria-selected":e.name===L,className:e.name===L?"isActive":"",onClick:()=>_(e.name)},e.label,"annual"===e.name&&D&&(0,r.createElement)("span",{className:"pricingSave"},D))))),(0,r.createElement)("div",{className:"pricingPlans"},S.length?S.map((e,n)=>{const a=e?.licenses,l=h?.selected===(a||"null"),o=e?.[L],i=_t[L]||{suffix:""},s=parseFloat(o),c="annual"===L&&e?.annual?parseFloat(e.annual)/12:null,m=a&&!isNaN(s)?s/a:null,g=a?1===a?(0,Je.__)("Single Site"):`${a} ${(0,Je.__)("Sites")}`:(0,Je.__)("Unlimited Sites"),v=a?1===a?(0,Je.__)("For solo creators"):(0,Je.__)("For freelancers"):(0,Je.__)("For agencies & enterprise");return(0,r.createElement)("div",{key:n,className:"pricingPlan "+(l?"isFeatured":"")},l&&(0,r.createElement)("div",{className:"pricingBadge"},h?.text||(0,Je.__)("Most Popular")),(0,r.createElement)("div",{className:"pricingPlanHead"},(0,r.createElement)("h3",null,g),(0,r.createElement)("p",null,v)),(0,r.createElement)("div",{className:"pricingPriceWrap"},(0,r.createElement)("div",{className:"pricingPrice"},(0,r.createElement)("span",{className:"pricingCurrency"},"$"),(0,r.createElement)("span",{className:"pricingAmount"},Mt(o)),i.suffix&&(0,r.createElement)("span",{className:"pricingSuffix"},i.suffix)),null!==m&&(0,r.createElement)("p",{className:"pricingEquiv"},"≈ $",Mt(m)," ",(0,Je.__)("per site")),!a&&(0,r.createElement)("p",{className:"pricingEquiv"},(0,Je.__)("Use on every site you build.")),null!==c&&"annual"===L&&(0,r.createElement)("p",{className:"pricingEquiv"},(0,Je.__)("Billed yearly")," · $",Mt(c),"/mo"),"lifetime"===L&&(0,r.createElement)("p",{className:"pricingEquiv"},(0,Je.__)("One-time payment, pay once forever.")),"monthly"===L&&(0,r.createElement)("p",{className:"pricingEquiv"},(0,Je.__)("Billed monthly, cancel anytime."))),(0,r.createElement)(Re,{className:"pricingCta",onClick:e=>{e.preventDefault(),new Lt.Checkout({plugin_id:E.id,plan_id:d,public_key:E.public_key}).open({image:p||E.icon,title:E.title,licenses:a,billing_cycle:L,...t})}},u.label))}):(0,r.createElement)("p",{className:"pricingEmpty"},(0,Je.__)("No plans available right now."))),z.length>0&&(0,r.createElement)("section",{className:"pricingIncluded"},(0,r.createElement)("header",{className:"pricingIncludedHead"},(0,r.createElement)("span",{className:"pricingIncludedTag"},R.tag),(0,r.createElement)("h2",null,R.title),(0,r.createElement)("p",null,R.description)),(0,r.createElement)("ul",{className:"pricingIncludedGrid"},z.map((e,t)=>(0,r.createElement)("li",{key:t},(0,r.createElement)("span",{className:"pricingIncludedCheck"},Ke),(0,r.createElement)("span",{dangerouslySetInnerHTML:{__html:e}}))))),(0,r.createElement)("section",{className:"pricingTrust"},I.map((e,t)=>(0,r.createElement)("div",{key:t,className:"pricingTrustItem"},(0,r.createElement)("span",{className:"pricingTrustIcon"},e.icon),(0,r.createElement)("div",null,(0,r.createElement)("strong",null,e.title),(0,r.createElement)("span",null,e.body))))),(0,r.createElement)("section",{className:"pricingFaq"},(0,r.createElement)("h2",null,(0,Je.__)("Frequently asked questions")),(0,r.createElement)("div",{className:"pricingFaqList"},Z.map((e,t)=>(0,r.createElement)("div",{key:t,className:"pricingFaqItem "+(M===t?"isOpen":"")},(0,r.createElement)("button",{type:"button",className:"pricingFaqQ","aria-expanded":M===t,onClick:()=>V(M===t?null:t)},(0,r.createElement)("span",null,e.q),gt),M===t&&(0,r.createElement)("div",{className:"pricingFaqA"},e.a))))))},Nt=({plans:e=["free","pro"],freemius:t,hero:n,ctaBanner:a,planDescriptions:l})=>{var o,i,s,c,d;const{product_id:m,public_key:u}=t||{},[h,p]=(0,r.useState)({}),[g,v]=(0,r.useState)(!1),[f,w]=(0,r.useState)([]),[E,y]=(0,r.useState)(""),[C,b]=(0,r.useState)("");if((0,r.useEffect)(()=>{if(!m)return;let e=!0;return v(!0),fetch(`https://api.bplugins.com/wp-json/bpl/v1/products/${m}`).then(e=>e.ok?e.json():Promise.reject(`${e.status} ${e.statusText}`)).then(t=>{e&&p(t)}).catch(()=>{e&&p({})}).finally(()=>{e&&v(!1)}),()=>{e=!1}},[m]),(0,r.useEffect)(()=>{if(!h?.id)return;const t=h?.plans?.filter(t=>e.includes(t.name))||[],n=t.find(e=>"free"!==e.name)||t[0]||{},r=n?.pricing?.[0];if(r&&"object"==typeof r){const e=[];void 0!==r.monthly&&e.push({name:"monthly",label:(0,Je.__)("Monthly"),short:"/mo"}),void 0!==r.annual&&e.push({name:"annual",label:(0,Je.__)("Yearly"),short:"/yr",isDefault:!0}),void 0!==r.lifetime&&e.push({name:"lifetime",label:(0,Je.__)("Lifetime"),short:(0,Je.__)("one-time")}),w(e),y(e.find(e=>e.isDefault)?.name||e[0]?.name||"")}else w([]),y("")},[h]),g)return(0,r.createElement)("div",{className:"bPlDashboardFeatureCompare bPlDashboardFeatureCompareLoading"},(0,r.createElement)("div",{className:"fcSpinner"}),(0,r.createElement)("p",null,(0,Je.__)("Loading feature comparison…")));if(!h?.id)return null;const k=h?.plans?.filter(t=>e.includes(t.name))||[],x=k.find(e=>"free"!==e.name),L=(k[k.length-1]?.features||[]).map(e=>{const t=k.filter(t=>t.features.some(t=>t.title===e.title)).map(e=>e.id);return{...e,plans:t}});k.forEach(e=>{e.features.forEach(t=>{L.some(e=>e.title===t.title)||L.push({...t,plans:[e.id]})})});const _=k.find(e=>"free"===e.name);L.sort((e,t)=>{const n=!!_&&e.plans?.includes(_.id);return n===(!!_&&t.plans?.includes(_.id))?0:n?-1:1});let M=0;const V=x?.pricing?.find(e=>1===parseInt(e.licenses));if(V?.monthly&&V?.annual){const e=12*parseFloat(V.monthly),t=parseFloat(V.annual);e>0&&(M=Math.round((e-t)/e*100))}const N=L.filter(e=>1===e.plans.length&&x&&e.plans[0]===x.id).length,H=C.trim().toLowerCase(),P=H?L.filter(e=>e.title.replace(/<[^>]+>/g,"").toLowerCase().includes(H)):L,S={eyebrow:null!==(o=n?.eyebrow)&&void 0!==o?o:(0,Je.__)("Compare"),title:null!==(i=n?.title)&&void 0!==i?i:(0,Je.__)("Free vs Pro at a glance")},F={title:null!==(s=a?.title)&&void 0!==s?s:(0,Je.__)("Ready to unlock everything?"),description:null!==(c=a?.description)&&void 0!==c?c:(0,Je.__)("Upgrade to Pro and get every feature, future updates, and priority support — backed by a 14 days money-back guarantee."),ctaLabel:null!==(d=a?.ctaLabel)&&void 0!==d?d:(0,Je.__)("Get Pro now →")},B=f.find(e=>e.name===E);return(0,r.createElement)("div",{className:"bPlDashboardFeatureCompare"},(0,r.createElement)("header",{className:"fcHero"},(0,r.createElement)("span",{className:"fcEyebrow"},S.eyebrow),(0,r.createElement)("h1",null,S.title),(0,r.createElement)("p",null,n?.description?n.description:(0,r.createElement)(r.Fragment,null,(0,Je.__)("See exactly what unlocks when you upgrade.")," ",(0,r.createElement)("strong",null,N)," ",1===N?(0,Je.__)("feature is"):(0,Je.__)("features are")," ",(0,Je.__)("exclusive to Pro.")))),f.length>1&&(0,r.createElement)("div",{className:"fcCycleWrap"},(0,r.createElement)("div",{className:"fcCycle",role:"tablist"},f.map(e=>(0,r.createElement)("button",{key:e.name,type:"button",role:"tab","aria-selected":e.name===E,className:e.name===E?"isActive":"",onClick:()=>y(e.name)},e.label,"annual"===e.name&&M>0&&(0,r.createElement)("span",{className:"fcSave"},`Save ${M}%`))))),(0,r.createElement)("div",{className:"fcPlans"},k.map(e=>{var t,n;const a="free"===e.name,o=Array.isArray(e.pricing)?e.pricing.find(e=>1===parseInt(e.licenses))?.[E]:"0",i=B?.short||"",s=B?.label||"",c=null!==(t=l?.free)&&void 0!==t?t:(0,Je.__)("Free forever — all the essentials to get started."),d=null!==(n=l?.pro)&&void 0!==n?n:(0,Je.__)("Everything in Free, plus advanced features and priority support.");return(0,r.createElement)("div",{key:e.id,className:`fcPlan is${e.name.charAt(0).toUpperCase()+e.name.slice(1)}`},(0,r.createElement)("div",{className:"fcPlanHead"},(0,r.createElement)("div",{className:"fcPlanTag"},e.title),(0,r.createElement)("h3",null,e.title),(0,r.createElement)("p",null,a?c:d)),(0,r.createElement)("div",{className:"fcPlanPrice"},(0,r.createElement)("span",{className:"fcCurr"},"$"),(0,r.createElement)("span",{className:"fcAmt"},a?"0":o||"—"),(0,r.createElement)("span",{className:"fcCyc"},a?(0,Je.__)("forever"):i===(0,Je.__)("one-time")?(0,Je.__)("one-time"):`${i} · ${(0,Je.__)("billed")} ${s.toLowerCase()}`)),a?(0,r.createElement)("div",{className:"fcPlanCtaHave","aria-disabled":"true"},Ke,(0,Je.__)("You Already Have It")):(0,r.createElement)(Re,{className:"fcPlanCta",onClick:t=>{t.preventDefault(),new FS.Checkout({plugin_id:m,plan_id:e.id,public_key:u}).open({licenses:1,billing_cycle:E})}},(0,Je.__)("Get Pro →")))})),(0,r.createElement)("div",{className:"fcTableWrap"},(0,r.createElement)("div",{className:"fcTableHead"},(0,r.createElement)("h2",null,(0,Je.__)("Feature breakdown")),(0,r.createElement)("div",{className:"fcSearchBox"},Xe,(0,r.createElement)("input",{type:"text",placeholder:(0,Je.__)("Filter features…"),value:C,onChange:e=>b(e.target.value)}),C&&(0,r.createElement)("button",{type:"button",onClick:()=>b(""),"aria-label":(0,Je.__)("Clear filter")},"×"))),(0,r.createElement)("div",{className:"fcTableScroll"},(0,r.createElement)("table",{className:"fcTable"},(0,r.createElement)("thead",null,(0,r.createElement)("tr",null,(0,r.createElement)("th",null,(0,Je.__)("Feature")),k.map(e=>(0,r.createElement)("th",{key:e.id,className:"free"===e.name?"isFreeCol":"isProCol"},"free"===e.name?(0,Je.__)("Free"):(0,Je.__)("Pro"))))),(0,r.createElement)("tbody",null,0===P.length?(0,r.createElement)("tr",null,(0,r.createElement)("td",{colSpan:k.length+1,className:"fcEmpty"},(0,Je.__)("No features match your search."))):P.map((e,t)=>{const n=x&&1===e.plans.length&&e.plans[0]===x.id;return(0,r.createElement)("tr",{key:t,className:n?"isProOnly":""},(0,r.createElement)("td",null,(0,r.createElement)("span",{dangerouslySetInnerHTML:{__html:e.title}}),n&&(0,r.createElement)("span",{className:"fcRowTag"},(0,Je.__)("Pro only"))),k.map(t=>{const n=e.plans?.includes(t.id);return(0,r.createElement)("td",{key:t.id,className:"free"===t.name?"isFreeCol":"isProCol"},(0,r.createElement)("span",{className:"fcCell "+(n?"isCheck":"isCross"),"aria-label":n?(0,Je.__)("Included"):(0,Je.__)("Not included")},n?Ke:Qe))}))}))))),x&&(0,r.createElement)("section",{className:"fcCtaBanner"},(0,r.createElement)("div",null,(0,r.createElement)("h2",null,F.title),(0,r.createElement)("p",null,F.description)),(0,r.createElement)(Re,{className:"fcPlanCta",onClick:e=>{e.preventDefault(),new FS.Checkout({plugin_id:m,plan_id:x.id,public_key:u}).open({licenses:1,billing_cycle:E})}},F.ctaLabel)))},Ht=(e,t={},n=!0)=>{const[a,l]=(0,r.useState)(!1),[o,i]=(0,r.useState)(!1),[s,c]=(0,r.useState)(null),[d,m]=(0,r.useState)(null);if(!wp.ajax)return void console.error("Please use wp-util as a dependency");const u=(n={})=>{l(!0),i(!1),c(null),wp.ajax.post(e,{...t,...n}).done(e=>{l(!1),m(e)}).fail(e=>{l(!1),i(!0),c(e)})},h=(e={})=>{u(e)};return(0,r.useEffect)(()=>{n&&u(t)},[]),{data:d,saveData:h,refetch:h,isLoading:a,isError:o,error:s}},Pt=(e={})=>{const{isActivated:t,activatedLicense:n,isLoading:a,error:l,refetch:o,setIsActivated:i,setActivatedLicense:s}=(({product_id:e,licenseActiveNonce:t})=>{const[n,a]=(0,r.useState)(!1),[l,o]=(0,r.useState)(""),{data:i,isLoading:s,refetch:c,error:d}=Ht(`bpl_${e}_get_license_status`,{nonce:t});return(0,r.useEffect)(()=>{i&&(a(i.is_activated||!1),i.license_key&&o(i.license_key))},[i]),{isActivated:n,activatedLicense:l,isLoading:s,error:d,refetch:c,setIsActivated:a,setActivatedLicense:o}})(e),{activateLicense:c,isLoading:d,error:m}=(({product_id:e,public_key:t,licenseActiveNonce:n}={})=>{const[a,l]=(0,r.useState)(!1),[o,i]=(0,r.useState)(null);return{activateLicense:r=>r.trim()?(l(!0),i(null),new Promise((a,o)=>{wp.ajax.post(`bpl_${e}_activate_license`,{license_key:r,product_id:e||"",public_key:t||"",nonce:n}).done(e=>{l(!1),a(e)}).fail(e=>{l(!1),i(e?.message||"Activation failed"),o(e)})})):Promise.reject(new Error("Please enter a license key")),isLoading:a,error:o}})(e),{deactivateLicense:u,isLoading:h,error:p}=(({product_id:e,licenseActiveNonce:t})=>{const[n,a]=(0,r.useState)(!1),[l,o]=(0,r.useState)(null);return{deactivateLicense:()=>(a(!0),o(null),new Promise((n,r)=>{wp.ajax.post(`bpl_${e}_deactivate_license`,{nonce:t}).done(e=>{a(!1),n(e)}).fail(e=>{a(!1),o(e?.message||"Deactivation failed"),r(e)})})),isLoading:n,error:l}})(e),[g,v]=(0,r.useState)(!0),[f,w]=(0,r.useState)("");return(0,r.useEffect)(()=>{v(a||d||h)},[a,d,h]),(0,r.useEffect)(()=>{const e=l||m||p;w(e?e?.message||("string"==typeof e?e:"An error occurred"):"")},[l,m,p]),{isActivated:t,isLoading:g,error:f,activatedLicense:n,activateLicense:async e=>{try{return await c(e),i(!0),s(e),!0}catch(e){return!1}},deactivateLicense:async()=>{try{return await u(),i(!1),s(""),!0}catch(e){return!1}},setError:w,refetch:o}},St=e=>{const{name:t,slug:n,version:a,media:l,freemius:o,licenseActiveNonce:i}=e,{product_id:s,public_key:c}=o||{},{logo:d}=l||{},{isActivated:m,isLoading:u,error:h,activatedLicense:p,activateLicense:g,deactivateLicense:v}=Pt({product_id:s,public_key:c,licenseActiveNonce:i}),[f,w]=(0,r.useState)(""),[E,y]=(0,r.useState)(!1),[C,b]=(0,r.useState)(!1),[k,x]=(0,r.useState)(!1),[L,_]=(0,r.useState)(!1),M=async()=>{await g(f)&&(w(""),b(!1),window.location.reload())},V=C&&m,N=m&&!C;return(0,r.createElement)("div",{className:"bPlDashboardActivation"},(0,r.createElement)("header",{className:"actHero"},(0,r.createElement)("span",{className:"actEyebrow"},(0,Je.__)("License")),(0,r.createElement)("h1",null,N?(0,Je.__)("Your license is active"):V?(0,Je.__)("Change your license key"):(0,Je.__)("Activate your license")),(0,r.createElement)("p",null,N?(0,r.createElement)(r.Fragment,null,(0,Je.__)("You're receiving security updates, new features and priority support for")," ",(0,r.createElement)("strong",null,t),"."):(0,r.createElement)(r.Fragment,null,(0,Je.__)("Enter the license key you received with your purchase to unlock premium features and updates for")," ",(0,r.createElement)("strong",null,t),"."))),(0,r.createElement)("section",{className:"actCard "+(N?"isActive":"isInactive")},(0,r.createElement)("header",{className:"actCardHead"},(0,r.createElement)("div",{className:"actPluginInfo"},d&&(0,r.createElement)("img",{src:d,alt:t||(0,Je.__)("Plugin")}),(0,r.createElement)("div",null,(0,r.createElement)("h2",null,t||(0,Je.__)("Plugin")),a&&(0,r.createElement)("span",{className:"actVer"},"v",a))),(0,r.createElement)("span",{className:"actStatus "+(m?"isOk":"isOff")},(0,r.createElement)("span",{className:"actStatusDot"}),m?(0,Je.__)("Activated"):(0,Je.__)("Not activated"))),u&&(0,r.createElement)("div",{className:"actLoading"},(0,r.createElement)("div",{className:"actSpinner"}),(0,r.createElement)("p",null,(0,Je.__)("Talking to the license server…"))),!u&&N&&(0,r.createElement)("div",{className:"actBody"},(0,r.createElement)("div",{className:"actSuccessTop"},(0,r.createElement)("div",{className:"actSuccessIcon"},ht),(0,r.createElement)("div",null,(0,r.createElement)("h3",null,(0,Je.__)("License verified")),(0,r.createElement)("p",null,(0,Je.__)("Your purchase code is bound to this site and is in good standing.")))),(0,r.createElement)("div",{className:"actLicenseRow"},(0,r.createElement)("span",{className:"actFieldLabel"},(0,Je.__)("License key")),(0,r.createElement)("div",{className:"actLicenseDisplay"},(0,r.createElement)("input",{type:"text",value:(e=>{if(!e)return"";if(E)return e;const t=e.substring(0,4),n=e.substring(e.length-4);return`${t}${"•".repeat(Math.max(0,e.length-8))}${n}`})(p),readOnly:!0}),(0,r.createElement)("button",{type:"button",className:"actIconBtn",onClick:()=>y(e=>!e),"aria-label":E?(0,Je.__)("Hide license"):(0,Je.__)("Show license")},E?mt:ut),(0,r.createElement)("button",{type:"button",className:"actIconBtn "+(L?"isCopied":""),onClick:async()=>{if(p)try{await navigator.clipboard.writeText(p),_(!0),setTimeout(()=>_(!1),1600)}catch(e){console.error(e.message)}},"aria-label":(0,Je.__)("Copy license to clipboard")},Ct,L&&(0,r.createElement)("span",{className:"actCopiedTip"},(0,Je.__)("Copied"))))),(0,r.createElement)("footer",{className:"actFoot"},(0,r.createElement)("button",{type:"button",className:"actLinkBtn",onClick:()=>b(!0)},ft,(0,Je.__)("Change license")),(0,r.createElement)("button",{type:"button",className:"actLinkBtn isDanger",onClick:()=>x(!0)},(0,Je.__)("Deactivate license")))),!u&&!N&&(0,r.createElement)("div",{className:"actBody"},(0,r.createElement)("label",{className:"actField"},(0,r.createElement)("span",{className:"actFieldLabel"},yt,(0,Je.__)("License key")),(0,r.createElement)("input",{type:"text",value:f,placeholder:"xxxx-xxxx-xxxx-xxxx-xxxx-xxxx",onChange:e=>w(e.target.value),onKeyDown:e=>"Enter"===e.key&&f.trim()&&M(),disabled:u,autoFocus:!0,spellCheck:!1,autoCapitalize:"none",autoCorrect:"off"})),h&&(0,r.createElement)("div",{className:"actError"},bt,(0,r.createElement)("span",null,h)),(0,r.createElement)("button",{type:"button",className:"actPrimaryBtn",onClick:M,disabled:u||!f.trim()},u?(0,Je.__)("Activating…"):V?(0,Je.__)("Update License"):(0,Je.__)("Activate License")),!V&&(0,r.createElement)("p",{className:"actHelp"},(0,Je.__)("Can't find your key?")," ",(0,r.createElement)("a",{href:`https://dashboard.freemius.com/license-recovery/${s}/${n}/`,target:"_blank",rel:"noopener noreferrer"},(0,Je.__)("Recover license"),et)," ",(0,Je.__)("or")," ",(0,r.createElement)("a",{href:"https://freemius.com/help/documentation/wordpress-sdk/license-activation-issues/",target:"_blank",rel:"noopener noreferrer"},(0,Je.__)("activation help"),et)),!V&&(0,r.createElement)("div",{className:"actPermsBlock"},(0,r.createElement)("h4",null,t," ",(0,Je.__)("needs the following to deliver updates & security patches")),(0,r.createElement)("ul",{className:"actPerms"},(0,r.createElement)("li",null,(0,r.createElement)("span",{className:"actPermIcon"},Ye),(0,r.createElement)("div",null,(0,r.createElement)("strong",null,(0,Je.__)("License essentials")),(0,r.createElement)("span",null,(0,Je.__)("Homepage URL · Plugin version · SDK version")))),(0,r.createElement)("li",null,(0,r.createElement)("span",{className:"actPermIcon"},ft),(0,r.createElement)("div",null,(0,r.createElement)("strong",null,(0,Je.__)("Plugin state")),(0,r.createElement)("span",null,(0,Je.__)("Whether the plugin is active, deactivated or uninstalled")))))),!V&&(0,r.createElement)("footer",{className:"actLegalRow"},(0,r.createElement)("a",{href:`https://freemius.com/product/license-activation/${s}/${n}/`,target:"_blank",rel:"noopener noreferrer"},(0,Je.__)("Powered by Freemius")),(0,r.createElement)("span",null,"·"),(0,r.createElement)("a",{href:"https://freemius.com/privacy/",target:"_blank",rel:"noopener noreferrer"},(0,Je.__)("Privacy Policy")),(0,r.createElement)("span",null,"·"),(0,r.createElement)("a",{href:`https://freemius.com/product/${s}/${n}/legal/eula/`,target:"_blank",rel:"noopener noreferrer"},(0,Je.__)("License Agreement"))),V&&(0,r.createElement)("button",{type:"button",className:"actLinkBtn isCenter",onClick:()=>b(!1)},(0,Je.__)("Cancel and keep current license")))),k&&(0,r.createElement)("div",{className:"actModal",role:"dialog","aria-modal":"true"},(0,r.createElement)("div",{className:"actModalBackdrop",onClick:()=>x(!1)}),(0,r.createElement)("div",{className:"actModalContent"},(0,r.createElement)("header",null,(0,r.createElement)("div",{className:"actModalIcon"},bt),(0,r.createElement)("div",null,(0,r.createElement)("h3",null,(0,Je.__)("Deactivate this license?")),(0,r.createElement)("p",null,(0,Je.__)("You can re-activate it later on this site or move it to a different one.")))),(0,r.createElement)("div",{className:"actModalNote"},(0,Je.__)("Premium features and automatic updates will stop on this site until you re-activate.")),(0,r.createElement)("footer",null,(0,r.createElement)("button",{type:"button",className:"actModalCancel",onClick:()=>x(!1)},(0,Je.__)("Keep license active")),(0,r.createElement)("button",{type:"button",className:"actModalAction",onClick:async()=>{x(!1),await v()&&(b(!0),w(""),window.location.reload())}},(0,Je.__)("Yes, deactivate"))))))},Ft=window.wp.data,Bt=window.wp.apiFetch;var zt=n.n(Bt);const Dt=["3d-viewer","html5-video-player","html5-audio-player","pdf-poster","document-emberdder","advanced-post-block","advance-custom-html","b-carousel-block","b-blocks","embed-lottie-player","b-slider"],At=e=>e?e.replace(/–/g,"–").replace(/—/g,"—").replace(/–/g,"–").replace(/—/g,"—").replace(/-/g,"-").split(/\s*[–\-—]\s*/)[0].trim():"",$t=({rating:e=0})=>{const t=Math.round(e/20);return(0,r.createElement)("span",{className:"ourPlugStars","aria-label":`${(e/20).toFixed(1)} out of 5`},[1,2,3,4,5].map(e=>(0,r.createElement)("svg",{key:e,viewBox:"0 0 24 24",width:13,height:13,fill:e<=t?"#fbbf24":"#e5e7eb"},(0,r.createElement)("path",{d:"M12 2l2.39 6.95L22 9.27l-5.45 4.73L18.18 22 12 17.77 5.82 22l1.63-7.99L2 9.27l7.61-.32L12 2z"}))))},Rt=({plugin:e,path:t,initStatus:n})=>{const{name:a,slug:l,icons:o,short_description:i,version:s}=e,[c,d]=(0,r.useState)(n),m=(()=>{switch(c){case"activated":case"success":return(0,Je.__)("Activated");case"installed":return(0,Je.__)("Activate");case"activating":return(0,Je.__)("Activating…");case"installing":return(0,Je.__)("Installing…");case"error":return(0,Je.__)("Failed");default:return(0,Je.__)("Install & Activate")}})(),u="activated"===c||"success"===c,h="installing"===c||"activating"===c;return(0,r.createElement)("article",{className:"ourPlugCard"},(0,r.createElement)("div",{className:"ourPlugCardTop"},(0,r.createElement)("img",{className:"ourPlugIcon",src:o?.["1x"]||o?.["2x"]||"",alt:a}),(0,r.createElement)("div",{className:"ourPlugCardId"},(0,r.createElement)("h3",{dangerouslySetInnerHTML:{__html:At(a)}}),s&&(0,r.createElement)("span",{className:"ourPlugVer"},"v",s)),u&&(0,r.createElement)("span",{className:"ourPlugActive"},(0,r.createElement)("svg",{viewBox:"0 0 24 24",width:12,height:12,fill:"none",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("polyline",{points:"20 6 9 17 4 12"})),(0,Je.__)("Active"))),(0,r.createElement)("p",{className:"ourPlugDesc",dangerouslySetInnerHTML:{__html:(p=i,(p||"").replace(/<[^>]+>/g,""))}}),(0,r.createElement)("div",{className:"ourPlugStats"},(0,r.createElement)("span",{className:"ourPlugStat"},(0,r.createElement)("svg",{viewBox:"0 0 24 24",width:14,height:14,fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),(0,r.createElement)("polyline",{points:"7 10 12 15 17 10"}),(0,r.createElement)("line",{x1:"12",y1:"15",x2:"12",y2:"3"})),(e=>{if(null==e)return"0";const t=Math.abs(e);return t>=1e9?(e/1e9).toFixed(1).replace(/\.0$/,"")+"B":t>=1e6?(e/1e6).toFixed(1).replace(/\.0$/,"")+"M":t>=1e3?(e/1e3).toFixed(1).replace(/\.0$/,"")+"k":String(e)})(e.downloaded)),(0,r.createElement)("span",{className:"ourPlugStat"},(0,r.createElement)($t,{rating:e.rating}),(0,r.createElement)("strong",null,((e.rating||0)/20).toFixed(1)))),(0,r.createElement)(Re,{className:`ourPlugCta status-${c}`,disabled:u||h,onClick:async()=>{d("installed"===c?"activating":"installing");try{if("installed"===c&&t)return await zt()({path:`/wp/v2/plugins/${t}`,method:"POST",data:{status:"active"}}),d("success"),void setTimeout(()=>d("activated"),1e3);await zt()({path:"/wp/v2/plugins",method:"POST",data:{slug:l,status:"active"}}),d("success"),setTimeout(()=>d("activated"),1e3)}catch{d("error"),setTimeout(()=>d("installed"===c?"installed":"notfound"),1400)}}},h&&(0,r.createElement)("span",{className:"ourPlugCtaSpinner"}),m));var p},It=(0,Ft.withSelect)(e=>{const{getPlugins:t}=e("core");return{installedPlugins:t?.({per_page:-1})}})(({slug:e,slugs:t=Dt,installedPlugins:n})=>{const[a,l]=(0,r.useState)([]),[o,i]=(0,r.useState)(!1),[s,c]=(0,r.useState)(""),[d,m]=(0,r.useState)("popular"),u=(0,r.useMemo)(()=>(t||[]).filter(t=>t!==e),[t,e]);(0,r.useEffect)(()=>{if(!u.length)return;let e=!1;return i(!0),fetch("https://api.wordpress.org/plugins/info/1.2/?action=query_plugins&request[author]=bplugins&request[per_page]=100&request[fields]=title,name,slug,icons,short_description,version,active_installs,rating,ratings,downloaded",{credentials:"omit",mode:"cors"}).then(e=>e.json()).then(t=>{e||l((t?.plugins||[]).filter(e=>u.includes(e.slug)))}).catch(()=>{e||l([])}).finally(()=>{e||i(!1)}),()=>{e=!0}},[JSON.stringify(u)]);const h=(0,r.useMemo)(()=>{const e=s.trim().toLowerCase();let t=a.filter(t=>!e||t.name.toLowerCase().includes(e)||(t.short_description||"").toLowerCase().includes(e));return"popular"===d&&t.sort((e,t)=>(t.active_installs||0)-(e.active_installs||0)),"rating"===d&&t.sort((e,t)=>(t.rating||0)-(e.rating||0)),"name"===d&&t.sort((e,t)=>At(e.name).localeCompare(At(t.name))),t},[a,s,d]);return o?(0,r.createElement)("div",{className:"bPlDashboardOurPlugins bPlDashboardOurPluginsLoading"},(0,r.createElement)("div",{className:"ourPlugSpinner"}),(0,r.createElement)("p",null,(0,Je.__)("Fetching plugins from the WordPress directory…"))):(0,r.createElement)("div",{className:"bPlDashboardOurPlugins"},(0,r.createElement)("header",{className:"ourPlugHero"},(0,r.createElement)("span",{className:"ourPlugEyebrow"},(0,Je.__)("Made by bPlugins")),(0,r.createElement)("h1",null,(0,Je.__)("Discover more plugins from our team")),(0,r.createElement)("p",null,(0,Je.__)("Hand-crafted WordPress plugins built with the same care and quality. Install any of them with a single click."))),(0,r.createElement)("div",{className:"ourPlugToolbar"},(0,r.createElement)("div",{className:"ourPlugSearch"},(0,r.createElement)("svg",{viewBox:"0 0 24 24",width:18,height:18,fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("circle",{cx:"11",cy:"11",r:"7"}),(0,r.createElement)("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})),(0,r.createElement)("input",{type:"text",placeholder:(0,Je.__)("Search plugins…"),value:s,onChange:e=>c(e.target.value)}),s&&(0,r.createElement)("button",{onClick:()=>c(""),"aria-label":(0,Je.__)("Clear search")},"×")),(0,r.createElement)("div",{className:"ourPlugSortLabel"},(0,Je.__)("Sort by")),(0,r.createElement)("div",{className:"ourPlugSort",role:"tablist"},[{key:"popular",label:(0,Je.__)("Popular")},{key:"rating",label:(0,Je.__)("Top Rated")},{key:"name",label:(0,Je.__)("A–Z")}].map(e=>(0,r.createElement)("button",{key:e.key,type:"button",role:"tab","aria-selected":d===e.key,className:d===e.key?"isActive":"",onClick:()=>m(e.key)},e.label)))),(0,r.createElement)("p",{className:"ourPlugCount"},(0,r.createElement)("strong",null,h.length)," ",1===h.length?(0,Je.__)("plugin"):(0,Je.__)("plugins"),s&&` ${(0,Je.__)("matching")} "${s}"`),0===h.length?(0,r.createElement)("div",{className:"ourPlugEmpty"},(0,r.createElement)("svg",{viewBox:"0 0 24 24",width:36,height:36,fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("circle",{cx:"11",cy:"11",r:"7"}),(0,r.createElement)("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})),(0,r.createElement)("h3",null,(0,Je.__)("No plugins match")),(0,r.createElement)("p",null,(0,Je.__)("Try a different keyword."))):(0,r.createElement)("div",{className:"ourPlugGrid"},h.map(e=>{var t;const a=null!==(t=n?.find(t=>t?.plugin?.includes(e.slug)))&&void 0!==t?t:null,l=a&&"active"===a.status?"activated":a?"installed":"notfound";return(0,r.createElement)(Rt,{key:e.slug,plugin:e,path:a?.plugin,initStatus:l})})))}),Zt=e=>{const t=e.match(/^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/),n=e.match(/youtu\.be\/([^#&?]+)/),r=t&&11===t[2]?.length?t[2]:n&&11===n[1]?.length?n[1]:"";return r?`https://www.youtube.com/embed/${r}?autoplay=1&rel=0&modestbranding=1`:e},Tt=(0,Ft.withSelect)(e=>({currentUser:e("core").getCurrentUser?.()}))(e=>{const{name:t,version:n,description:a,isPremium:l,media:o,pages:i,startButton:s,currentUser:c,keywords:d,keywordsLabel:m}=e,{thumbnail:u,video:h,isYoutube:p}=o||{},[g,v]=(0,r.useState)(!1),f=c?.name?c.name.split(/\s+/)[0]:"";return(0,r.createElement)("div",{className:"bPlDashboardWelcomeOverview bPlDashboardCard"},(0,r.createElement)("div",{className:"statusRow"},(0,r.createElement)("span",{className:"activeStatus"},(0,r.createElement)("span",{className:"statusDot","aria-hidden":"true"}),"Plugin active"),(0,r.createElement)("span",{className:"planBadge "+(l?"isPro":"isFree")},l&<,l?"Pro Plan":"Free Plan"),n&&(0,r.createElement)("span",{className:"versionBadge"},"v",n)),t&&(0,r.createElement)("h2",null,"Welcome to ",t),a&&(0,r.createElement)("p",{className:"tagline"},f?(0,r.createElement)(r.Fragment,null,"Hi ",(0,r.createElement)("strong",null,f),", ",a):a),u&&(0,r.createElement)("div",{className:"banner"},(0,r.createElement)("img",{src:u,alt:t}),h&&(0,r.createElement)("button",{className:"playBtn",onClick:()=>v(!0),"aria-label":"Play product walkthrough"},dt),h&&(0,r.createElement)("span",{className:"bannerCaption"},"Watch quick start · 2 min")),d?.length>0&&(0,r.createElement)("div",{className:"keywords"},(0,r.createElement)("span",{className:"keywordsLabel"},m),d.map(e=>(0,r.createElement)("span",{key:e,className:"formatChip"},e))),(0,r.createElement)("div",{className:"actionButtons"},s?.url&&s?.label&&(0,r.createElement)(Re,{className:"primaryBtn",href:s.url,target:"_blank",rel:"noopener noreferrer"},ot,s.label),i?.landing&&(0,r.createElement)(Re,{className:"secondaryBtn",href:i.landing,target:"_blank",rel:"noopener noreferrer"},at,"View Demos"),!l&&(0,r.createElement)("a",{className:"ghostBtn",href:"#pricing"},lt,"Upgrade to Pro",tt)),g&&h&&(0,r.createElement)("div",{className:"bPlVideoModal"},(0,r.createElement)("div",{className:"bPlVideoModalContent"},(0,r.createElement)("button",{className:"closeModal",onClick:()=>v(!1),"aria-label":"Close video"},Qe),p?(0,r.createElement)("iframe",{key:h,src:Zt(h),title:"Product walkthrough",frameBorder:0,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}):(0,r.createElement)("video",{key:h,src:h,autoPlay:!0,controls:!0,playsInline:!0})),(0,r.createElement)("div",{className:"bPlVideoModalOverlay",onClick:()=>v(!1)})))}),Ot=({tabs:e=[],pages:t})=>{const[n,a]=(0,r.useState)(0);if(!e?.length)return null;const l=t?.docs||"https://bplugins.com/docs/";return(0,r.createElement)("div",{className:"bPlDashboardGettingStarted bPlDashboardCard"},(0,r.createElement)("div",{className:"header"},(0,r.createElement)("h2",null,(0,Je.__)("Getting Started")),(0,r.createElement)("p",null,(0,Je.__)("Pick how you'd like to start with the plugin - the steps below adapt to your workflow."))),(0,r.createElement)("div",{className:"tabsNav",role:"tablist"},e.map((e,t)=>(0,r.createElement)("button",{key:e.key,type:"button",role:"tab","aria-selected":n===t,className:"tab "+(n===t?"isActive":""),onClick:()=>a(t)},e.icon&&(0,r.createElement)("span",{className:"tabIcon"},e.icon),(0,r.createElement)("span",null,e.label)))),(0,r.createElement)("div",{className:"tabsViewport"},(0,r.createElement)("div",{className:"tabsTrack",style:{transform:`translateX(-${100*n}%)`}},e.map(t=>(0,r.createElement)("div",{key:t.key,className:"tabPanel",role:"tabpanel","aria-hidden":e[n].key!==t.key},(0,r.createElement)("div",{className:"steps"},t.steps.map(e=>(0,r.createElement)("div",{key:e.num,className:"step"},(0,r.createElement)("span",{className:"stepNum"},e.num),(0,r.createElement)("div",{className:"stepBody"},(0,r.createElement)("h3",null,e.title),(0,r.createElement)("p",{dangerouslySetInnerHTML:{__html:e.body}}),e.link&&(0,r.createElement)("a",{className:"stepLink",href:e.link.url},e.link.label," →"))))))))),(0,r.createElement)("div",{className:"docs"},(0,r.createElement)("div",null,(0,r.createElement)("h3",null,(0,Je.__)("Read the Full Documentation")),(0,r.createElement)("p",null,(0,Je.__)("Browse guides, settings reference, and examples for every feature."))),(0,r.createElement)("a",{className:"docsBtn",href:l,target:"_blank",rel:"noopener noreferrer"},(0,Je.__)("Open Documentation →"))))},jt=e=>{const{name:t,media:n,proFeatures:a}=e,{proThumbnail:l}=n||{};return(0,r.createElement)("div",{className:"bPlDashboardWelcomeProAds bPlDashboardCard"},(0,r.createElement)("div",{className:"content"},(0,r.createElement)("h3",null,"Go ",t," Pro & Unlock More!"),a?.length>0&&(0,r.createElement)("ul",null,a.map((e,t)=>(0,r.createElement)("li",{key:t},(0,r.createElement)("span",null,pt),e))),(0,r.createElement)(Re,{href:"#pricing"},"View Pricing Plan")),l&&(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:l,alt:`${t} Pro features`})))},Wt={new:"new",add:"new",update:"update",improve:"improvement",improvement:"improvement",fix:"fix",fixing:"fix",fixed:"fix",remove:"fix"},Ut=e=>{const{slug:t,changelogs:n,limit:a=5,loadMoreLabel:l}=e;return n?.length&&(0,r.createElement)("div",{className:"bPlDashboardChangelog bPlDashboardCard"},(0,r.createElement)("h3",null,"Release Notes(Changelog)..."),(0,r.createElement)("div",{className:"allChangelogs"},n?.slice(0,a)?.map((e,t)=>{const{type:n,version:a,list:l}=e;return(0,r.createElement)("div",{key:t,className:`changelog ${n}`},(0,r.createElement)("ul",{className:"list"},l?.map((e,t)=>{return(0,r.createElement)("li",{key:t,dangerouslySetInnerHTML:{__html:(n=e,n.replace(/^<strong>([^<]+)<\/strong>/i,(e,t)=>{const n=t.replace(":","").trim();return`<strong class="changelogBadge ${Wt[n.toLowerCase()]||"default"}">${n}</strong>`}))}});var n})),(0,r.createElement)("p",{className:"time"},a))})),l&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("br",null),(0,r.createElement)(Re,{className:"mt20",target:"_blank",rel:"noopener noreferrer",href:`https://wordpress.org/plugins/${t}/#developers`},l)))},qt=({slug:e,pages:t,helpItems:n})=>{const a=n||(e=>[{title:"Need any Assistance?",description:"Our Expert Support Team is always ready to help you out promptly.",link:"https://bplugins.com/support",linkText:"Contact Support"},{titleIcon:ct,title:"Join Our Community",description:"Get tutorials, plugin updates, feature announcements, and support from other WordPress users.",link:"https://facebook.com/groups/1828495198556137",linkText:"Join Now →"},{title:"Request a Feature",description:"Have an idea that would make this plugin even better? Let us know — we love hearing from you.",link:"https://bplugins.com/support/",linkText:"Submit Request →"},{title:"Loving This Plugin? ⭐",description:"We're a small team pouring our heart into this plugin — your honest review keeps us going and helps others discover it. It only takes 30 seconds.",link:e?`https://wordpress.org/support/plugin/${e}/reviews/#new-post`:"",linkText:"Leave a Review"}])(e);return(0,r.createElement)("div",{className:"bPlDashboardWelcomeInfo"},a.filter(e=>e.link).map((e,t)=>(0,r.createElement)("div",{key:t,className:"infoCard bPlDashboardCard"},e.image&&(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:e.image,alt:e.title})),(0,r.createElement)("h4",null,e.title,e.titleIcon&&(0,r.createElement)("span",{className:"titleIcon"},e.titleIcon)),(0,r.createElement)("p",null,e.description),(0,r.createElement)(Re,{href:e.link,target:"_blank",rel:"noopener noreferrer"},e.linkText))))},Gt=e=>{const{isPremium:t,gettingStarted:n,pages:a,changelogsLimit:l,changelogsReadMoreLabel:o}=e,i=n?.tabs?.length>0;return(0,r.createElement)("div",{className:"bPlDashboardWelcome"},(0,r.createElement)("div",{className:"heroRow "+(i?"":"singleCol")},(0,r.createElement)(Tt,{...e}),i&&(0,r.createElement)(Ot,{...n,pages:a})),(0,r.createElement)("div",{className:"contentRow"},(0,r.createElement)(Ut,{...e,limit:l,loadMoreLabel:o}),t?(0,r.createElement)(qt,{...e}):(0,r.createElement)(jt,{...e})),!t&&(0,r.createElement)(qt,{...e}))},Jt=e=>{const{name:t,media:n,version:a,isPremium:l,displayOurPlugins:o,children:i}=e,{logo:s}=n||{},[c,d]=(0,r.useState)(!1),m=r.Children.map(i,e=>{if(!(0,r.isValidElement)(e))return e;const t=e.props.className||"";return t.includes("bPlDashboardNav")?(0,r.cloneElement)(e,{className:`${t}${c?" open":""}`,onClick:t=>{e.props.onClick?.(t),d(!1)}}):e});return(0,r.createElement)("div",{className:"bPlDashboardHeader"},(0,r.createElement)("div",{className:"pluginInfo",wrap:!0},s&&(0,r.createElement)("img",{src:s,alt:t||"Plugin from bPlugins"}),t&&(0,r.createElement)("h1",null,t),a&&(0,r.createElement)("div",{className:"pluginVersion"},"v",a)),(0,r.createElement)("button",{className:"bplHamburger"+(c?" open":""),onClick:()=>d(e=>!e),"aria-label":"Toggle navigation","aria-expanded":c},(0,r.createElement)("span",null),(0,r.createElement)("span",null),(0,r.createElement)("span",null)),m,(0,r.createElement)("div",{className:"navButtons"},o&&(l?(0,r.createElement)(Re,{href:"#our-plugins"},it,"Our Plugins"):(0,r.createElement)("a",{className:"linkButton",href:"#our-plugins"},"Our Plugins")),!l&&(0,r.createElement)(Re,{className:"upgrade",href:"#pricing"},st,"Upgrade Pro")))},Yt=[{name:"Welcome",href:"/welcome"},{name:"Widgets",href:"/widgets"},{name:"Demos",href:"/demos"},{name:"Pricing",href:"/pricing"},{name:"Feature Comparison",href:"/feature-comparison"},{name:"Activation",href:"/activation"}],Kt=e=>{const{isPremium:t,hasPro:n}=e,a=U();return(0,r.createElement)("div",{className:"bPlDashboard"},(0,r.createElement)(Jt,{...e},(0,r.createElement)("nav",{className:"bPlDashboardNav"},Yt?.filter(e=>"/activation"!==e.href||n)?.filter(e=>!t||!["/purchase","/pricing","/feature-comparison"].includes(e.href))?.map((e,t)=>(0,r.createElement)(ze,{key:t,to:e.href,className:"navLink "+(a.pathname===e.href?"active":"")},e.name)))),(0,r.createElement)("main",{className:"bPlDashboardMain"},(0,r.createElement)(se,null)))},Qt=(0,r.createElement)("svg",{fill:"#000000",viewBox:"-274.15 0 1200 1200",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),(0,r.createElement)("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("g",{id:"SVGRepo_iconCarrier"},(0,r.createElement)("path",{d:"M30 161c-16.5 0-30 13.5-30 30v827.8c0 16.5 13.5 30 30 30h591.7c16.5 0 30-13.5 30-30V343.7L469 161H30zm389.6 60v134.8c0 19.9 16.3 36.2 36.2 36.2h135.9v596.8H60V221h359.6z"}),(0,r.createElement)("path",{d:"M123.8 768.6h394.8v50H123.8zm0-124.6h394.8v50H123.8zm0-124.5h394.8v50H123.8z"}),(0,r.createElement)("circle",{cx:"194",cy:"382.3",r:"60"}))),Xt=(0,r.createElement)("svg",{fill:"#000000",viewBox:"-3.5 0 19 19",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),(0,r.createElement)("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("g",{id:"SVGRepo_iconCarrier"},(0,r.createElement)("path",{d:"M10.05 3.828a1.112 1.112 0 0 1 1.11 1.108v10.562a1.112 1.112 0 0 1-1.11 1.108h-8.1a1.112 1.112 0 0 1-1.11-1.108V4.936a1.112 1.112 0 0 1 1.11-1.108h.415v1.108h-.414l-.002.002v10.558l.002.002h8.098l.002-.002V4.938l-.002-.002h-.414V3.828h.416zm-.98 4.076H2.82v1.108h6.25zm0 2.337H2.82v1.108h6.25zm0 2.337H2.82v1.108h6.25zm-.543-8.935v1.25a.476.476 0 0 1-.475.476H3.948a.476.476 0 0 1-.475-.475v-1.25a.476.476 0 0 1 .475-.476h.697V1.87a.476.476 0 0 1 .475-.475h1.76a.476.476 0 0 1 .475.475v1.3h.697a.476.476 0 0 1 .475.474zM6.55 2.67a.554.554 0 1 0-.554.554.554.554 0 0 0 .554-.554z"}))),en=(0,r.createElement)("svg",{width:"800px",height:"800px",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M2.5 6.5V6H2V6.5H2.5ZM6.5 6.5V6H6V6.5H6.5ZM6.5 10.5H6V11H6.5V10.5ZM13.5 3.5H14V3.29289L13.8536 3.14645L13.5 3.5ZM10.5 0.5L10.8536 0.146447L10.7071 0H10.5V0.5ZM2.5 7H3.5V6H2.5V7ZM3 11V8.5H2V11H3ZM3 8.5V6.5H2V8.5H3ZM3.5 8H2.5V9H3.5V8ZM4 7.5C4 7.77614 3.77614 8 3.5 8V9C4.32843 9 5 8.32843 5 7.5H4ZM3.5 7C3.77614 7 4 7.22386 4 7.5H5C5 6.67157 4.32843 6 3.5 6V7ZM6 6.5V10.5H7V6.5H6ZM6.5 11H7.5V10H6.5V11ZM9 9.5V7.5H8V9.5H9ZM7.5 6H6.5V7H7.5V6ZM9 7.5C9 6.67157 8.32843 6 7.5 6V7C7.77614 7 8 7.22386 8 7.5H9ZM7.5 11C8.32843 11 9 10.3284 9 9.5H8C8 9.77614 7.77614 10 7.5 10V11ZM10 6V11H11V6H10ZM10.5 7H13V6H10.5V7ZM10.5 9H12V8H10.5V9ZM2 5V1.5H1V5H2ZM13 3.5V5H14V3.5H13ZM2.5 1H10.5V0H2.5V1ZM10.1464 0.853553L13.1464 3.85355L13.8536 3.14645L10.8536 0.146447L10.1464 0.853553ZM2 1.5C2 1.22386 2.22386 1 2.5 1V0C1.67157 0 1 0.671573 1 1.5H2ZM1 12V13.5H2V12H1ZM2.5 15H12.5V14H2.5V15ZM14 13.5V12H13V13.5H14ZM12.5 15C13.3284 15 14 14.3284 14 13.5H13C13 13.7761 12.7761 14 12.5 14V15ZM1 13.5C1 14.3284 1.67157 15 2.5 15V14C2.22386 14 2 13.7761 2 13.5H1Z",fill:"#000000"})),tn=(0,r.createElement)("svg",{fill:"#000000",width:"800px",height:"800px",viewBox:"0 0 14 14",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"m 12.999992,2.866331 0,8.273839 c 0,0.0705 -0.025,0.127505 -0.0745,0.173007 -0.0505,0.047 -0.110505,0.069 -0.180008,0.069 l -4.2796751,0 0,-1.147547 3.4911431,0 0,-0.522522 -3.4941432,0 0,-0.639526 3.4911432,0 0,-0.522021 -3.4886431,0 0,-0.645027 3.4901431,0 0,-0.516021 -3.4901431,0 0,-0.646526 3.4901431,0 0,-0.522022 -3.4901431,0 0,-0.639526 3.4901431,0 0,-0.521521 -3.4901431,0 0,-0.652527 3.4901431,0 0,-0.497021 -3.4901431,0 0,-1.296553 4.2811751,0 c 0.0745,0 0.135006,0.024 0.179008,0.0745 0.0525,0.0495 0.075,0.110005 0.0745,0.178008 z m -5.1747123,-1.546064 0,11.361466 -6.82527977,-1.181048 0,-8.967368 6.82527977,-1.21505 0,0.002 z m -1.0300423,3.354138 -0.854535,0.0525 -0.5480225,3.392639 -0.012501,0 C 5.3531783,7.959039 5.2526742,7.397016 5.0726668,6.435977 L 4.7531537,4.80441 3.9511209,4.84441 3.6301077,6.435975 C 3.4426,7.363013 3.3380957,7.902535 3.3105946,8.054041 l -0.0075,0 -0.48752,-3.125128 -0.7350301,0.039 0.7875323,3.941661 0.8170335,0.0525 0.3075126,-1.534063 C 4.1726299,6.527981 4.2776342,6.004959 4.3001352,5.861953 l 0.022501,0 c 0.030501,0.152507 0.1280052,0.687029 0.3075126,1.605066 l 0.3075126,1.579065 0.8850363,0.0525 0.9900406,-4.425181 -0.017501,0 z"})),nn=(0,r.createElement)("svg",{fill:"#000000",width:"800px",height:"800px",viewBox:"0 0 14 14",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"m 12.7765,2.551 -4.02,0 0,0.744 1.185,0 0,1.177 -1.185,0 0,0.375 1.185,0 0,1.1785 -1.185,0 0,0.3855 1.185,0 0,1.1145 -1.185,0 0,0.4465 1.185,0 0,1.117 -1.185,0 0,0.4465 1.185,0 0,1.1235 -1.185,0 0,0.8195 4.02,0 c 0.0635,-0.019 0.1165,-0.094 0.159,-0.224 C 12.978,11.1235 13,11.017 13,10.9365 L 13,2.687 C 13,2.623 12.978,2.5845 12.9355,2.571 12.893,2.558 12.84,2.551 12.7765,2.551 Z m -0.5215,8.107 -1.9285,0 0,-1.1225 1.9285,0 0,1.1235 0,-0.001 z m 0,-1.569 -1.9285,0 0,-1.1175 1.9285,0 0,1.1175 z m 0,-1.564 -1.9285,0 0,-1.1095 1.9285,0 0,1.1105 0,-10e-4 z m 0,-1.5 -1.9285,0 0,-1.177 1.9285,0 0,1.1775 0,-5e-4 z m 0,-1.5595 -1.9285,0 0,-1.17 1.9285,0 0,1.1775 0,-0.0075 z M 1,2.3655 1,11.666 8.08,12.8905 8.08,1.1095 1,2.3695 1,2.3655 Z M 5.1965,9.401 C 5.1695,9.328 5.0425,9.018 4.8175,8.4695 4.593,7.9215 4.4575,7.6025 4.418,7.5115 l -0.0125,0 L 3.646,9.319 2.631,9.2505 l 1.204,-2.25 -1.1025,-2.25 1.035,-0.0545 0.684,1.7605 0.0135,0 L 5.2375,4.616 6.307,4.5485 5.0335,6.9835 6.346,9.4675 5.1965,9.4 l 0,10e-4 z"})),rn=(0,r.createElement)("svg",{width:"512px",height:"512px",viewBox:"-64 0 512 512",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm72-60V236c0-6.6 5.4-12 12-12h69.2c36.7 0 62.8 27 62.8 66.3 0 74.3-68.7 66.5-95.5 66.5V404c0 6.6-5.4 12-12 12H132c-6.6 0-12-5.4-12-12zm48.5-87.4h23c7.9 0 13.9-2.4 18.1-7.2 8.5-9.8 8.4-28.5.1-37.8-4.1-4.6-9.9-7-17.4-7h-23.9v52z"})),an=(0,r.createElement)("svg",{fill:"#000000",width:"800px",height:"800px",viewBox:"0 0 14 14",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"m 12.742,3 -4.271,0 0,1.593 C 8.7285,4.398 9.037,4.299 9.3985,4.299 l 0,1.549 1.537,0 C 10.928,6.2825 10.778,6.649 10.485,6.9445 10.193,7.2405 9.826,7.3925 9.391,7.4025 9.0535,7.3925 8.746,7.291 8.4765,7.095 l 0,1.0645 3.3595,0 0,0.5225 -3.3605,0 0,0.6465 3.3575,0 0,0.516 -3.3595,0 0,1.17 4.2715,0 c 0.173,0 0.255,-0.091 0.255,-0.2685 L 13,3.255 C 13,3.084 12.918,3 12.745,3 l -0.003,0 z m -3.102,2.593 0,-1.562 c 0.435,0.01 0.8,0.161 1.094,0.455 0.293,0.294 0.4455,0.663 0.453,1.107 l -1.547,0 z M 5.128,5.619 C 5.1015,5.5185 5.058,5.4405 4.9965,5.383 4.9365,5.327 4.8555,5.286 4.755,5.26 4.6425,5.2295 4.5265,5.215 4.41,5.215 l -0.36,0.007 0,1.4995 0.013,0 c 0.1305,0.008 0.2675,0.008 0.4125,0 C 4.618,6.714 4.753,6.6765 4.88,6.609 5.0365,6.4965 5.13,6.3465 5.1605,6.152 5.1905,5.9565 5.18,5.769 5.1285,5.5965 l 0,0.0225 z M 1,2.5295 l 0,8.973 6.844,1.1825 0,-11.37 L 1,2.5295 Z M 6.1065,6.573 C 5.919,7.0075 5.639,7.2855 5.2645,7.4055 4.89,7.525 4.4855,7.5715 4.05,7.545 l 0,1.711 -0.9005,-0.1045 0,-4.701 L 4.579,4.376 C 4.844,4.3595 5.106,4.3885 5.362,4.466 5.6195,4.542 5.823,4.6955 5.9735,4.927 6.1235,5.1575 6.208,5.425 6.2285,5.7295 6.247,6.034 6.207,6.3155 6.1065,6.573 Z"})),ln=(0,r.createElement)("svg",{width:"800px",height:"800px",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M2.5 6.5V6H2V6.5H2.5ZM2.5 10.5H2V11H2.5V10.5ZM12.5 6.5H13V6H12.5V6.5ZM12.5 10.5V11H13V10.5H12.5ZM13.5 3.5H14V3.29289L13.8536 3.14645L13.5 3.5ZM10.5 0.5L10.8536 0.146447L10.7071 0H10.5V0.5ZM2 6.5V10.5H3V6.5H2ZM2.5 11H3.5V10H2.5V11ZM5 9.5V7.5H4V9.5H5ZM3.5 6H2.5V7H3.5V6ZM5 7.5C5 6.67157 4.32843 6 3.5 6V7C3.77614 7 4 7.22386 4 7.5H5ZM3.5 11C4.32843 11 5 10.3284 5 9.5H4C4 9.77614 3.77614 10 3.5 10V11ZM6 7.5V9.5H7V7.5H6ZM9 9.5V7.5H8V9.5H9ZM9 7.5C9 6.67157 8.32843 6 7.5 6V7C7.77614 7 8 7.22386 8 7.5H9ZM7.5 11C8.32843 11 9 10.3284 9 9.5H8C8 9.77614 7.77614 10 7.5 10V11ZM6 9.5C6 10.3284 6.67157 11 7.5 11V10C7.22386 10 7 9.77614 7 9.5H6ZM7 7.5C7 7.22386 7.22386 7 7.5 7V6C6.67157 6 6 6.67157 6 7.5H7ZM10 6V11H11V6H10ZM10.5 7H12.5V6H10.5V7ZM12 6.5V8H13V6.5H12ZM10.5 11H12.5V10H10.5V11ZM13 10.5V9H12V10.5H13ZM2 5V1.5H1V5H2ZM13 3.5V5H14V3.5H13ZM2.5 1H10.5V0H2.5V1ZM10.1464 0.853553L13.1464 3.85355L13.8536 3.14645L10.8536 0.146447L10.1464 0.853553ZM2 1.5C2 1.22386 2.22386 1 2.5 1V0C1.67157 0 1 0.671573 1 1.5H2ZM1 12V13.5H2V12H1ZM2.5 15H12.5V14H2.5V15ZM14 13.5V12H13V13.5H14ZM12.5 15C13.3284 15 14 14.3284 14 13.5H13C13 13.7761 12.7761 14 12.5 14V15ZM1 13.5C1 14.3284 1.67157 15 2.5 15V14C2.22386 14 2 13.7761 2 13.5H1Z",fill:"#000000"})),on=(0,r.createElement)("svg",{width:"800px",height:"800px",viewBox:"0 0 14 14",role:"img",focusable:"false","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{fill:"gray",d:"M12.29411772 4.17647058v2.47058826h-2.11764708V4.17647058h-.70588236v2.47058826H7.3529412V4.17647058h-.70588236v2.47058826H4.17647058v.70588236h2.47058826v2.11764708H4.17647058v.70588236h2.47058826v2.11764708H4.17647058v.70588236h8.8235295v-8.8235295h-.70588236zm0 3.17647062v2.11764708h-2.11764708V7.3529412h2.11764708zm-4.94117652 0h2.11764708v2.11764708H7.3529412V7.3529412zm0 2.82352944h2.11764708v2.11764708H7.3529412v-2.11764708zm2.82352944 2.11764708v-2.11764708h2.11764708v2.11764708h-2.11764708z"}),(0,r.createElement)("path",{fill:"#4d4d4d",d:"M4.17647058 12.6470589V4.17647058h8.47058832V1.35294114H1.35294114V12.6470589z"}),(0,r.createElement)("path",{d:"M.99999996.99999996v12.00000012h3.5294118V4.52941176h8.47058832V.99999996H.99999996zm.70588236 5.64705888V4.52941176H3.8235294v2.11764708H1.70588232zm2.11764708.70588236v2.11764708H1.70588232V7.3529412H3.8235294zm.70588236-5.64705888h2.11764708V3.8235294H4.52941176V1.70588232zm2.82352944 0h2.11764708V3.8235294H7.3529412V1.70588232zm-3.5294118 0V3.8235294H1.70588232V1.70588232H3.8235294zm-2.11764708 10.5882354v-2.11764708H3.8235294v2.11764708H1.70588232zm10.5882354-8.47058832h-2.11764708V1.70588232h2.11764708V3.8235294z"})),sn=(0,r.createElement)("svg",{viewBox:"0 0 192 192",xmlns:"http://www.w3.org/2000/svg",fill:"none"},(0,r.createElement)("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),(0,r.createElement)("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("g",{id:"SVGRepo_iconCarrier"},(0,r.createElement)("path",{stroke:"#000000",strokeLinejoin:"round",strokeWidth:"12",d:"M96 94H68v38h56V94H96Z"}),(0,r.createElement)("path",{fill:"#000000",fillRule:"evenodd",d:"M52 28a2 2 0 0 0-2 2v132a2 2 0 0 0 2 2h88a2 2 0 0 0 2-2V62h-28a6 6 0 0 1-6-6V28H52Zm68 8.485L133.515 50H120V36.485ZM38 30c0-7.732 6.268-14 14-14h62c1.591 0 3.117.632 4.243 1.757l34 34A6 6 0 0 1 154 56v106c0 7.732-6.268 14-14 14H52c-7.732 0-14-6.268-14-14V30Z",clipRule:"evenodd"}))),cn=(0,r.createElement)("svg",{fill:"#000000",width:"800px",height:"800px",viewBox:"0 0 1920 1920",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{fillRule:"evenodd"},(0,r.createElement)("path",{d:"M1251.654 0c44.499 0 88.207 18.07 119.718 49.581l329.223 329.224c31.963 31.962 49.581 74.54 49.581 119.717V1920H169V0Zm-66.183 112.941H281.94V1807.06h1355.294V564.706H1185.47V112.94Zm112.94 23.379v315.445h315.445L1298.412 136.32Z"}),(0,r.createElement)("path",{d:"M900.497 677.67c26.767 0 50.372 12.65 67.991 37.835 41.901 59.068 38.965 121.976 23.492 206.682-5.308 29.14.113 58.617 16.263 83.125 22.814 34.786 55.68 82.673 87.981 123.219 23.718 29.93 60.198 45.854 97.13 40.885 23.718-3.276 52.292-5.986 81.656-5.986 131.012 0 121.186 46.757 133.045 89.675 6.55 25.976 3.275 48.678-10.165 65.506-16.715 22.701-51.162 34.447-101.534 34.447-55.793 0-74.202-9.487-122.767-24.96-27.445-8.81-55.906-10.617-83.69-3.275-55.453 14.456-146.936 36.48-223.284 46.983-40.772 5.647-77.816 26.654-102.438 60.875-55.454 76.8-106.842 148.518-188.273 148.518-21.007 0-40.32-7.567-56.244-22.701-23.492-23.492-33.544-49.581-28.574-79.85 13.778-92.95 128.075-144.79 196.066-182.625 16.037-8.923 28.687-22.589 36.592-39.53l107.86-233.223c7.68-16.377 10.051-34.56 7.228-52.518-12.537-79.059-31.06-211.99 18.748-272.075 10.955-13.44 26.09-21.007 42.917-21.007Zm20.556 339.953c-43.257 126.607-119.718 264.282-129.996 280.32 92.273-43.37 275.916-65.28 275.916-65.28-92.386-88.998-145.92-215.04-145.92-215.04Z"}))),dn=(0,r.createElement)("svg",{fill:"#000000",width:"800px",height:"800px",viewBox:"0 0 1920 1920",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{fillRule:"evenodd"},(0,r.createElement)("path",{d:"M1185.46.034V564.74h564.705v1355.294H168.99V.034h1016.47ZM900.508 677.68c-16.829 0-31.963 7.567-42.918 21.007-49.807 59.972-31.398 193.016-18.748 272.075 2.823 17.958.452 36.141-7.228 52.518l-107.86 233.223c-7.905 16.942-20.555 30.608-36.592 39.53-68.104 37.835-182.287 89.675-196.066 182.626-4.97 30.268 5.082 56.357 28.574 79.85 15.925 15.133 35.238 22.7 56.245 22.7 81.43 0 132.819-71.717 188.273-148.517 24.62-34.221 61.666-55.229 102.437-60.876 76.349-10.503 167.83-32.527 223.172-46.983 27.897-7.341 56.358-5.534 83.802 3.162 48.565 15.586 66.975 25.073 122.768 25.073 50.371 0 84.818-11.746 101.534-34.447 13.44-16.828 16.715-39.53 10.164-65.619-11.858-42.804-2.033-89.675-133.044-89.675-29.365 0-57.94 2.824-81.77 6.099-36.819 4.97-73.299-10.955-97.016-40.885-32.301-40.546-65.167-88.433-87.981-123.219-16.151-24.508-21.572-53.986-16.264-83.124 15.473-84.706 18.41-147.615-23.492-206.683-17.619-25.186-41.223-37.835-67.99-37.835Zm397.903-660.808 434.936 434.937h-434.936V16.873Z"}),(0,r.createElement)("path",{d:"M791.057 1297.943c92.273-43.37 275.916-65.28 275.916-65.28-92.386-88.998-145.92-215.04-145.92-215.04-43.257 126.607-119.718 264.282-129.996 280.32"}))),mn=((0,r.createElement)("svg",{width:"800px",height:"800px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M4 6.633c.14-.056.308-.118.503-.181A9.77 9.77 0 0 1 7.5 6a9.77 9.77 0 0 1 2.997.452c.195.063.363.125.503.181v10.88A11.817 11.817 0 0 0 7.5 17c-1.46 0-2.649.248-3.5.513V6.633zm8-1.748a9.257 9.257 0 0 0-.888-.337A11.769 11.769 0 0 0 7.5 4c-1.526 0-2.755.271-3.612.548a8.889 8.889 0 0 0-1.001.389 5.905 5.905 0 0 0-.357.18l-.025.014-.009.005-.003.002h-.001c-.002.002-.247.147-.002.002A1 1 0 0 0 2 6v13a1 1 0 0 0 1.51.86l-.005.003h.001l.002-.001.001-.001.037-.02c.037-.02.098-.05.182-.09.17-.078.43-.188.775-.3A9.77 9.77 0 0 1 7.5 19a9.77 9.77 0 0 1 2.997.451 6.9 6.9 0 0 1 .775.3 3.976 3.976 0 0 1 .223.112m0 0h-.001l-.002-.001-.001-.001c.314.185.704.185 1.018 0l.037-.02c.037-.02.098-.05.182-.09a6.9 6.9 0 0 1 .775-.3A9.77 9.77 0 0 1 16.5 19a9.77 9.77 0 0 1 2.997.451 6.9 6.9 0 0 1 .775.3 3.976 3.976 0 0 1 .219.11A1 1 0 0 0 22 19V6a1 1 0 0 0-.49-.86l-.002-.001h-.001l-.003-.003-.01-.005-.024-.014a5.883 5.883 0 0 0-.357-.18 8.897 8.897 0 0 0-1-.389A11.769 11.769 0 0 0 16.5 4c-1.525 0-2.755.271-3.612.548a9.112 9.112 0 0 0-.888.337m8 1.748v10.88A11.817 11.817 0 0 0 16.5 17c-1.46 0-2.649.248-3.5.513V6.633c.14-.056.308-.118.503-.181A9.77 9.77 0 0 1 16.5 6a9.77 9.77 0 0 1 2.997.452c.195.063.363.125.503.181zm.49.228l.005.002h-.001l-.003-.002zm0 13l.004.002-.002-.002",fill:"#0D0D0D"})),(0,r.createElement)("svg",{width:"800px",height:"800px",viewBox:"-4 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M25.6686 26.0962C25.1812 26.2401 24.4656 26.2563 23.6984 26.145C22.875 26.0256 22.0351 25.7739 21.2096 25.403C22.6817 25.1888 23.8237 25.2548 24.8005 25.6009C25.0319 25.6829 25.412 25.9021 25.6686 26.0962ZM17.4552 24.7459C17.3953 24.7622 17.3363 24.7776 17.2776 24.7939C16.8815 24.9017 16.4961 25.0069 16.1247 25.1005L15.6239 25.2275C14.6165 25.4824 13.5865 25.7428 12.5692 26.0529C12.9558 25.1206 13.315 24.178 13.6667 23.2564C13.9271 22.5742 14.193 21.8773 14.468 21.1894C14.6075 21.4198 14.7531 21.6503 14.9046 21.8814C15.5948 22.9326 16.4624 23.9045 17.4552 24.7459ZM14.8927 14.2326C14.958 15.383 14.7098 16.4897 14.3457 17.5514C13.8972 16.2386 13.6882 14.7889 14.2489 13.6185C14.3927 13.3185 14.5105 13.1581 14.5869 13.0744C14.7049 13.2566 14.8601 13.6642 14.8927 14.2326ZM9.63347 28.8054C9.38148 29.2562 9.12426 29.6782 8.86063 30.0767C8.22442 31.0355 7.18393 32.0621 6.64941 32.0621C6.59681 32.0621 6.53316 32.0536 6.44015 31.9554C6.38028 31.8926 6.37069 31.8476 6.37359 31.7862C6.39161 31.4337 6.85867 30.8059 7.53527 30.2238C8.14939 29.6957 8.84352 29.2262 9.63347 28.8054ZM27.3706 26.1461C27.2889 24.9719 25.3123 24.2186 25.2928 24.2116C24.5287 23.9407 23.6986 23.8091 22.7552 23.8091C21.7453 23.8091 20.6565 23.9552 19.2582 24.2819C18.014 23.3999 16.9392 22.2957 16.1362 21.0733C15.7816 20.5332 15.4628 19.9941 15.1849 19.4675C15.8633 17.8454 16.4742 16.1013 16.3632 14.1479C16.2737 12.5816 15.5674 11.5295 14.6069 11.5295C13.948 11.5295 13.3807 12.0175 12.9194 12.9813C12.0965 14.6987 12.3128 16.8962 13.562 19.5184C13.1121 20.5751 12.6941 21.6706 12.2895 22.7311C11.7861 24.0498 11.2674 25.4103 10.6828 26.7045C9.04334 27.3532 7.69648 28.1399 6.57402 29.1057C5.8387 29.7373 4.95223 30.7028 4.90163 31.7107C4.87693 32.1854 5.03969 32.6207 5.37044 32.9695C5.72183 33.3398 6.16329 33.5348 6.6487 33.5354C8.25189 33.5354 9.79489 31.3327 10.0876 30.8909C10.6767 30.0029 11.2281 29.0124 11.7684 27.8699C13.1292 27.3781 14.5794 27.011 15.985 26.6562L16.4884 26.5283C16.8668 26.4321 17.2601 26.3257 17.6635 26.2153C18.0904 26.0999 18.5296 25.9802 18.976 25.8665C20.4193 26.7844 21.9714 27.3831 23.4851 27.6028C24.7601 27.7883 25.8924 27.6807 26.6589 27.2811C27.3486 26.9219 27.3866 26.3676 27.3706 26.1461ZM30.4755 36.2428C30.4755 38.3932 28.5802 38.5258 28.1978 38.5301H3.74486C1.60224 38.5301 1.47322 36.6218 1.46913 36.2428L1.46884 3.75642C1.46884 1.6039 3.36763 1.4734 3.74457 1.46908H20.263L20.2718 1.4778V7.92396C20.2718 9.21763 21.0539 11.6669 24.0158 11.6669H30.4203L30.4753 11.7218L30.4755 36.2428ZM28.9572 10.1976H24.0169C21.8749 10.1976 21.7453 8.29969 21.7424 7.92417V2.95307L28.9572 10.1976ZM31.9447 36.2428V11.1157L21.7424 0.871022V0.823357H21.6936L20.8742 0H3.74491C2.44954 0 0 0.785336 0 3.75711V36.2435C0 37.5427 0.782956 40 3.74491 40H28.2001C29.4952 39.9997 31.9447 39.2143 31.9447 36.2428Z",fill:"#EB5757"}))),un=(0,r.createElement)("svg",{width:"800px",height:"800px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{clipPath:"url(#clip0_901_2684)"},(0,r.createElement)("path",{d:"M31 4V26C31 26.55 30.55 27 30 27H26V8C26 7.45 25.55 7 25 7H21V3H30C30.55 3 31 3.45 31 4Z",fill:"#668077"}),(0,r.createElement)("path",{d:"M26 27V30C26 30.55 25.55 31 25 31H7C6.45 31 6 30.55 6 30V25V8C6 7.45 6.45 7 7 7H21H25C25.55 7 26 7.45 26 8V27Z",fill:"#FFE6EA"}),(0,r.createElement)("path",{d:"M21 3V7H7C6.45 7 6 7.45 6 8V25H2C1 25 1 24 1 24V2C1 1.45 1.45 1 2 1H20C20.55 1 21 1.45 21 2V3Z",fill:"#FFC44D"}),(0,r.createElement)("path",{d:"M12 13H15M12 16H20M12 20H20M12 24H20M21 7V2C21 1.447 20.553 1 20 1H2C1.447 1 1 1.447 1 2V24C1 24 1 25 2 25H3M26 27H30C30.553 27 31 26.553 31 26V4C31 3.447 30.553 3 30 3H24M26 30C26 30.553 25.553 31 25 31H7C6.447 31 6 30.553 6 30V8C6 7.447 6.447 7 7 7H25C25.553 7 26 7.447 26 8V30Z",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),(0,r.createElement)("defs",null,(0,r.createElement)("clipPath",{id:"clip0_901_2684"},(0,r.createElement)("rect",{width:"32",height:"32",fill:"white"})))),hn="https://elementor.bplugins.com/demo",pn="https://bplugins.com/docs/document-embedder-addons-for-elementor/widget-guides/",gn=[{name:"deafe_doc_embedder",title:"Document Embedder",icon:Qt,demo:`${hn}/google-doc-embedder/`,docs:`${pn}`},{name:"deafe_excel_embedder",title:"Excel Embedder",icon:Xt,demo:`${hn}/excel-embedder/`,docs:`${pn}`},{name:"deafe_pdf_embedder",title:"PDF Embedder",icon:en,demo:`${hn}/pdf-embedder/`,docs:`${pn}`},{name:"deafe_word_viewer",title:"Word Viewer",icon:tn,demo:`${hn}/word-viewer/`,docs:`${pn}`},{name:"deafe_excel_viewer",title:"Excel Viewer",icon:nn,demo:`${hn}/excel-embedder/`,docs:`${pn}`},{name:"deafe_pp_embedder",title:"PowerPoint Embedder",icon:rn,demo:`${hn}/powerpoint-embedder/`,docs:`${pn}`},{name:"deafe_powerpoint_viewer",title:"PowerPoint Viewer",icon:an,demo:`${hn}/powerpoint-viewer/`,docs:`${pn}`},{name:"deafe_google_docs",title:"Google Docs Viewer",icon:ln,demo:`${hn}/google-doc-embedder/`,docs:`${pn}`},{name:"deafe_google_sheets",title:"Google Sheets Embedder",icon:on,demo:`${hn}/google-sheet-embedder/`,docs:`${pn}`},{name:"deafe_google_slides",title:"Google Slides Embedder",icon:sn,demo:`${hn}/google-slides-embedder/`,docs:`${pn}`},{name:"deafe_pdf_native_embedder",title:"PDF Native Embedder",icon:cn,demo:`${hn}/pdf-embedder/`,docs:`${pn}`},{name:"deafe_sleek_pdf_viewer",title:"Sleek PDF Viewer",icon:dn,demo:`${hn}/sleek-pdf-viewer/`,docs:`${pn}`},{name:"deafe_adobe_pdf_viewer",title:"Adobe PDF Viewer",icon:mn,demo:`${hn}/adobe-pdf-viewer-full-window/`,docs:`${pn}`,isPremium:!0},{name:"deafe_document_library",title:"Document Library",icon:un,demo:`${hn}/document-library/`,docs:`${pn}`,isPremium:!0},{name:"deafe_pdfjs_pdf_viewer",title:"Pdf.js PDF Viewer",icon:(0,r.createElement)("svg",{width:"800px",height:"800px",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,r.createElement)("g",null,(0,r.createElement)("path",{d:"M5.8 14H5v1h.8c.3 0 .5-.2.5-.5s-.2-.5-.5-.5zM11 2H3v16h13V7l-5-5zM7.2 14.6c0 .8-.6 1.4-1.4 1.4H5v1H4v-4h1.8c.8 0 1.4.6 1.4 1.4v.2zm4.1.5c0 1-.8 1.9-1.9 1.9H8v-4h1.4c1 0 1.9.8 1.9 1.9v.2zM15 14h-2v1h1.5v1H13v1h-1v-4h3v1zm0-2H4V3h7v4h4v5zm-5.6 2H9v2h.4c.6 0 1-.4 1-1s-.5-1-1-1z"}))),demo:`${hn}/pdf-js-pdf-viewer/`,docs:`${pn}`,isPremium:!0},{name:"deafe_flip_book_pdf_viewer",title:"Flip Book PDF Viewer",icon:(0,r.createElement)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),(0,r.createElement)("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("g",{id:"SVGRepo_iconCarrier"}," ",(0,r.createElement)("path",{opacity:"0.4",d:"M16.1898 2H7.81976C4.17976 2 2.00977 4.17 2.00977 7.81V16.18C2.00977 19.82 4.17976 21.99 7.81976 21.99H16.1898C19.8298 21.99 21.9998 19.82 21.9998 16.18V7.81C21.9998 4.17 19.8298 2 16.1898 2Z",fill:"#292D32"})," ",(0,r.createElement)("path",{d:"M11.4991 8.09V17.25C11.4991 17.61 11.1391 17.85 10.8091 17.71C9.59914 17.19 8.01913 16.71 6.91913 16.57L6.72913 16.55C6.11913 16.47 5.61914 15.9 5.61914 15.28V7.57999C5.61914 6.81999 6.23915 6.25 6.99915 6.31C8.24915 6.41 10.0992 7.01001 11.2592 7.67001C11.4092 7.74001 11.4991 7.91 11.4991 8.09Z",fill:"#292D32"})," ",(0,r.createElement)("path",{d:"M18.38 7.69983V15.2698C18.38 15.8898 17.88 16.4598 17.27 16.5398L17.06 16.5598C15.97 16.7098 14.4 17.1798 13.19 17.6898C12.86 17.8298 12.5 17.5898 12.5 17.2298V8.0798C12.5 7.8998 12.59 7.72983 12.75 7.63983C13.91 6.98983 15.72 6.4098 16.95 6.2998H16.99C17.76 6.3098 18.38 6.92983 18.38 7.69983Z",fill:"#292D32"})," ")),demo:`${hn}/flip-3d-pdf-viewer/`,docs:`${pn}`,isPremium:!0},{name:"deafe_modern_document_library",title:"Modern Document Library",icon:un,demo:`${hn}/modern-document-library-premium-grid/`,docs:`${pn}`,isPremium:!0}],vn="document-embedder-addons-for-elementor",fn=e=>{const{version:t,isPremium:n,hasPro:r,pricingUrl:a,licenseActiveNonce:l,none:o,action:i,adminUrl:s=""}=e,c=n?" Pro":"";return{name:`Document Embedder Addon${c}`,displayName:`Document Embedder Addon${c} - Easily Embed Word, Excel, PowerPoint, PDF, and Google Docs.`,description:"Document Embedder Addon for Elementor is a collection of 16 document display widgets designed for use with the Elementor page builder. It allows users to embed files such as PDFs, Word documents, Excel sheets, PowerPoint presentations, and Google Docs directly into WordPress pages with adjustable layout controls.",slug:vn,media:{logo:`https://ps.w.org/${vn}/assets/icon-128x128.png`,banner:`https://ps.w.org/${vn}/assets/banner-772x250.png`,thumbnail:"https://bplugins.com/wp-content/uploads/2025/09/document-embedder.png",video:"https://www.youtube.com/watch?v=OtJayJ8N-5c",isYoutube:!0},licenseActiveNonce:l,none:o,action:i,version:t,isPremium:n,hasPro:r,pricingUrl:a,adminUrl:s,displayOurPlugins:!0,pages:{org:`https://wordpress.org/plugins/${vn}/`,landing:`https://bplugins.com/products/${vn}/`,docs:`https://bplugins.com/docs/${vn}/`,pricing:`https://bplugins.com/products/${vn}/pricing`},freemius:{product_id:20539,plan_id:34159,public_key:"pk_266740f98755c34bcd6cf52c052f8"},proFeatures:["Adobe PDF Viewer: A reliable, feature-rich PDF viewer powered by Adobe’s PDF engine.","Document Library: Organize and manage all your embedded documents in one centralized location with easy access and quick reusable upload","Pdf.js PDF Viewer: Display your PDF in premium look with the pdf.js library","Search functionality within Adobe PDF embedded documents.","Allow users to highlight and annotate documents.","Add watermarks to embedded documents for branding and security.","Add content protection features to prevent unauthorized downloading or copying of embedded documents.","Centralized hub to organize and manage all your embedded documents.","Lightbox display option for a more immersive viewing experience.","Priority support for any issues or questions related to the plugin."],startButton:{label:"Start Editing Now",url:`${s}post-new.php?post_type=page`}}},wn=e=>({keywords:["PDF Embedder","Word Viewer","Excel Embedder","PowerPoint Viewer","Document Library","Flip Book"],keywordsLabel:"Widgets",gettingStarted:{tabs:[{key:"elementor",label:"Elementor",icon:(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"16",height:"16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},(0,r.createElement)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),(0,r.createElement)("line",{x1:"9",y1:"3",x2:"9",y2:"21"})),steps:[{num:1,title:"Create or Edit a Page",body:"Go to <strong>Pages › Add New</strong> and click <strong>Edit with Elementor</strong>.",link:{url:`${e}post-new.php?post_type=page`,label:"Create New Page"}},{num:2,title:"Search for All Embed Widgets",body:'In the Elementor panel, search for "PDF Embedder", "Adobe PDF Embedder", "Google Docs Viewer", etc.'},{num:3,title:"Drag and Drop",body:"Drag the widget onto your section and enter the media URL in the content settings."}]}]},changelogs:[{version:"1.2.4 25-Oct-26",type:"new",list:["<strong>New:</strong> Added “iFrame Attribute Title” setting to customize iframe title attribute"]},{version:"1.2.3 18-Oct-26",type:"fix",list:["<strong>Fix:</strong> Inline frame does not have a title attribute issue","<strong>Update:</strong> Freemius SDK version 2.13.5"]},{version:"1.2.2 06-Aug-26",type:"update",list:["<strong>New:</strong> Add new Widget Modern Document Library.","<strong>New:</strong> Add Timeline Document View.","<strong>New:</strong> Add Duo-Tone Document View.","<strong>New:</strong> Add Premium Grid Document View."]},{version:"1.2.1 12-July-26",type:"update",list:["<strong>Update:</strong> Add new version of Freemius SDK 2.13.4","<strong>Update:</strong> Add new Admin Dashboard."]},{version:"1.2.0 27-June-26",type:"update",list:["<strong>Update:</strong> Add new version of Freemius SDK.","<strong>Update:</strong> Released version 1.2.0."]},{version:"1.1.10 18-June-26",type:"fix",list:["<strong>Fix:</strong> Resolved all widgets missing issue.","<strong>Fix:</strong> Released version 1.1.10."]},{version:"1.1.9 22-May-26",type:"update",list:["<strong>Update:</strong> Cleaned up core file call.","<strong>Update:</strong> Add the dependency plugin.","<strong>Fix:</strong> Resolved all plugin check issues.","<strong>Update:</strong> Released version 1.1.9."]},{version:"1.1.8 11-May-26",type:"update",list:["<strong>Update:</strong> Cleaned up the codebase and removed unused dependencies.","<strong>Improvement:</strong> Improved the presentation of premium-only settings with intuitive notice cards.","<strong>Improvement:</strong> Refactored the codebase, including improvements to prefixes, text domains, nonce validation, escaping, and overall coding standards.","<strong>Fix:</strong> Resolved all plugin check issues."]},{version:"1.1.7 18-Apr-26",type:"fix",list:["<strong>Fix:</strong> Fixed: PHP Fatal error on elementor editor"]},{version:"1.1.6 10-Mar-26",type:"new",list:["<strong>New:</strong> Release: New Widget( Flip Book PDF Viewer)"]},{version:"1.1.5 03-Mar-26",type:"update",list:["<strong>Update:</strong> Update: Add new admin dashboard"]},{version:"1.1.4 22-Feb-26",type:"new",list:["<strong>New:</strong> Release: New Widget( Pdf.js PDF Viewer)","<strong>Fix:</strong> Fixed: Refactor code"]},{version:"1.1.3 26-Jan-26",type:"new",list:["<strong>New:</strong> Release: New Widget( Document Library)","<strong>Update:</strong> Update: New Features Show/Hide Preview Button","<strong>Update:</strong> Update: New Features Show/Hide Download Button"]},{version:"1.1.2 05-Jan-26",type:"fix",list:["<strong>Fix:</strong> Fixed: Dashboard JS Error"]},{version:"1.1.1 03-Jan-26",type:"new",list:["<strong>New:</strong> Release: New Widget( Adobe PDF Viewer)","<strong>New:</strong> Release: Full Window Adobe PDF Viewer","<strong>New:</strong> Release: Sided Container Adobe PDF Viewer","<strong>New:</strong> Release: In-Line Adobe PDF Viewer","<strong>New:</strong> Release: Lightbox Adobe PDF Viewer"]},{version:"1.1.0 26-Nov-25",type:"fix",list:["<strong>Fix:</strong> Fixed: Sleek PDF Viewer Style Control Issue Fix "]},{version:"1.0.5 12-Nov-25",list:["<strong>Fix:</strong> Fixed: PHP Warning"]},{version:"1.0.4",list:["<strong>Fix:</strong> Fixed: Security issue"]},{version:"1.0.3",list:["<strong>Improvement:</strong> Reduce assets load"]},{version:"1.0.2",list:["<strong>New:</strong> Add translate feature"]},{version:"1.0.0",list:["<strong>New:</strong> First release"]}],changelogsLimit:4,changelogsReadMoreLabel:"View More Changelogs",proFeatures:["Adobe PDF Viewer: A reliable, feature-rich PDF viewer powered by Adobe’s PDF engine.","Document Library: Organize and manage all your embedded documents in one centralized location with easy access and quick reusable upload","Pdf.js PDF Viewer: Display your PDF in premium look with the pdf.js library","Search functionality within Adobe PDF embedded documents.","Allow users to highlight and annotate documents.","Add watermarks to embedded documents for branding and security.","Add content protection features to prevent unauthorized downloading or copying of embedded documents.","Centralized hub to organize and manage all your embedded documents.","Lightbox display option for a more immersive viewing experience.","Priority support for any issues or questions related to the plugin."]}),En={title:"Live Overview",description:"Click on any style to view it live",allInOneLabel:"See All Demo",allInOneLink:"https://bplugins.com/products/document-embedder-addons-for-elementor/#demos",demos:[{icon:'<svg width="800px" height="800px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="File" transform="translate(-96.000000, -96.000000)" fill-rule="nonzero"><g id="doc_line" transform="translate(96.000000, 96.000000)"><path d="M24,0 L24,24 L0,24 L0,0 L24,0 Z M12.5934901,23.257841 L12.5819402,23.2595131 L12.5108777,23.2950439 L12.4918791,23.2987469 L12.4918791,23.2987469 L12.4767152,23.2950439 L12.4056548,23.2595131 C12.3958229,23.2563662 12.3870493,23.2590235 12.3821421,23.2649074 L12.3780323,23.275831 L12.360941,23.7031097 L12.3658947,23.7234994 L12.3769048,23.7357139 L12.4804777,23.8096931 L12.4953491,23.8136134 L12.4953491,23.8136134 L12.5071152,23.8096931 L12.6106902,23.7357139 L12.6232938,23.7196733 L12.6232938,23.7196733 L12.6266527,23.7031097 L12.609561,23.275831 C12.6075724,23.2657013 12.6010112,23.2592993 12.5934901,23.257841 L12.5934901,23.257841 Z M12.8583906,23.1452862 L12.8445485,23.1473072 L12.6598443,23.2396597 L12.6498822,23.2499052 L12.6498822,23.2499052 L12.6471943,23.2611114 L12.6650943,23.6906389 L12.6699349,23.7034178 L12.6699349,23.7034178 L12.678386,23.7104931 L12.8793402,23.8032389 C12.8914285,23.8068999 12.9022333,23.8029875 12.9078286,23.7952264 L12.9118235,23.7811639 L12.8776777,23.1665331 C12.8752882,23.1545897 12.8674102,23.1470016 12.8583906,23.1452862 L12.8583906,23.1452862 Z M12.1430473,23.1473072 C12.1332178,23.1423925 12.1221763,23.1452606 12.1156365,23.1525954 L12.1099173,23.1665331 L12.0757714,23.7811639 C12.0751323,23.7926639 12.0828099,23.8018602 12.0926481,23.8045676 L12.108256,23.8032389 L12.3092106,23.7104931 L12.3186497,23.7024347 L12.3186497,23.7024347 L12.3225043,23.6906389 L12.340401,23.2611114 L12.337245,23.2485176 L12.337245,23.2485176 L12.3277531,23.2396597 L12.1430473,23.1473072 Z" id="MingCute" fill-rule="nonzero"></path><path d="M13.5858,2 C14.1162,2 14.6249,2.21071 15,2.58579 L19.4142,7 C19.7893,7.37507 20,7.88378 20,8.41421 L20,20 C20,21.1046 19.1046,22 18,22 L6,22 C4.89543,22 4,21.1046 4,20 L4,4 C4,2.89543 4.89543,2 6,2 L13.5858,2 Z M12,4 L6,4 L6,20 L18,20 L18,10 L13.5,10 C12.7203294,10 12.0795543,9.40511446 12.0068668,8.64446046 L12,8.5 L12,4 Z M14.0637,12.6489 C14.2576,12.1318 14.834,11.8698 15.3511,12.0637 C15.8312643,12.24375 16.0914699,12.7536087 15.9709451,13.2395462 L15.9363,13.3511 L14.53,17.1014 C14.1886174,18.0117217 12.9420907,18.0513009 12.522,17.2201376 L12.47,17.1014 L12,15.848 L11.53,17.1014 C11.1886174,18.0117217 9.94210904,18.0513009 9.52203734,17.2201376 L9.47004,17.1014 L8.06367,13.3511 C7.86975,12.834 8.13176,12.2576 8.64888,12.0637 C9.12906286,11.88365 9.66036821,12.0966974 9.88908227,12.5420706 L9.93633,12.6489 L10.5,14.152 L10.97,12.8986 C11.3113826,11.9882783 12.5579093,11.9486991 12.978,12.7798624 L13.03,12.8986 L13.5,14.152 L14.0637,12.6489 Z M14,4.41421 L14,8 L17.5858,8 L14,4.41421 Z" id="形状" fill="#09244B"></path></g></g></g></svg>',title:"Google Doc Viewer",description:"View word file using google doc",category:"Viewer",type:"iframe",url:"https://elementor.bplugins.com/demo/google-doc-embedder/"},{icon:'<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path d="M2 12.1333C2 8.58633 2 6.81283 2.69029 5.45806C3.29749 4.26637 4.26637 3.29749 5.45806 2.69029C6.81283 2 8.58633 2 12.1333 2H19.8667C23.4137 2 25.1872 2 26.5419 2.69029C27.7336 3.29749 28.7025 4.26637 29.3097 5.45806C30 6.81283 30 8.58633 30 12.1333V19.8667C30 23.4137 30 25.1872 29.3097 26.5419C28.7025 27.7336 27.7336 28.7025 26.5419 29.3097C25.1872 30 23.4137 30 19.8667 30H12.1333C8.58633 30 6.81283 30 5.45806 29.3097C4.26637 28.7025 3.29749 27.7336 2.69029 26.5419C2 25.1872 2 23.4137 2 19.8667V12.1333Z" fill="#B30B00"></path> <path d="M24.0401 17.8976C22.7327 16.464 19.1701 17.0912 18.3094 17.1808C17.0891 15.9264 16.2284 14.504 15.8798 13.9664C16.3156 12.6224 16.6642 11.1104 16.6642 9.6768C16.6642 8.3328 16.1413 7 14.7576 7C14.2347 7 13.7989 7.2688 13.5374 7.7168C12.9273 8.792 13.1887 10.9312 14.1475 13.16C13.6245 14.7728 12.753 17.1808 11.7179 19.0512C10.3234 19.5888 7.28369 21.0112 7.02221 22.624C6.93505 23.072 7.10937 23.6096 7.45801 23.8784C7.80665 24.2368 8.24244 24.3264 8.67824 24.3264C10.4977 24.3264 12.328 21.7392 13.6354 19.4096C14.6814 19.0512 16.3265 18.5136 17.9825 18.2448C19.8891 20.0368 21.6323 20.2944 22.5039 20.2944C23.7242 20.2944 24.16 19.7568 24.3234 19.3088C24.5522 18.8832 24.3887 18.256 24.0401 17.8976ZM22.8199 18.7936C22.7327 19.152 22.2969 19.5104 21.5125 19.3312C20.5537 19.0624 19.693 18.6144 18.9958 17.9872C19.6059 17.8976 21.0767 17.7184 22.1226 17.8976C22.4712 17.9872 22.907 18.256 22.8199 18.7936ZM14.3872 8.0752C14.4744 7.896 14.6487 7.8064 14.823 7.8064C15.2588 7.8064 15.3459 8.344 15.3459 8.792C15.2588 9.8672 15.0845 11.0208 14.7358 12.0064C14.0386 10.0464 14.1257 8.6128 14.3872 8.0752ZM14.3 18.1664C14.7358 17.36 15.2588 15.848 15.4331 15.3104C15.8689 16.1168 16.6533 17.0128 17.002 17.4496C17.0891 17.3712 15.5203 17.7184 14.3 18.1664ZM11.3475 20.2272C10.1382 22.1872 9.00509 23.4416 8.30781 23.4416C8.22065 23.4416 8.04634 23.4416 7.95918 23.352C7.87202 23.1728 7.78486 22.9936 7.87202 22.8144C7.95918 22.0976 9.35373 21.112 11.3475 20.2272Z" fill="white"></path> </g></svg>',title:"Adobe PDF Viewer",children:[{title:"Full Window",type:"iframe",url:"https://elementor.bplugins.com/demo/adobe-pdf-viewer-full-window/"},{title:"Sized Container",type:"iframe",url:"https://elementor.bplugins.com/demo/adobe-pdf-viewer-sized-container/"},{title:"In Line",type:"iframe",url:"https://elementor.bplugins.com/demo/adobe-pdf-viewer-in-line/"},{title:"Lightbox",type:"iframe",url:"https://elementor.bplugins.com/demo/adobe-pdf-viewer-lightbox/"}]},{icon:'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" strokeWidth="0"></g><g id="SVGRepo_tracerCarrier" strokeLinecap="round" strokeLinejoin="round"></g><g id="SVGRepo_iconCarrier"> <path opacity="0.4" d="M16.1898 2H7.81976C4.17976 2 2.00977 4.17 2.00977 7.81V16.18C2.00977 19.82 4.17976 21.99 7.81976 21.99H16.1898C19.8298 21.99 21.9998 19.82 21.9998 16.18V7.81C21.9998 4.17 19.8298 2 16.1898 2Z" fill="#292D32"></path> <path d="M11.4991 8.09V17.25C11.4991 17.61 11.1391 17.85 10.8091 17.71C9.59914 17.19 8.01913 16.71 6.91913 16.57L6.72913 16.55C6.11913 16.47 5.61914 15.28V7.57999C5.61914 6.81999 6.23915 6.25 6.99915 6.31C8.24915 6.41 10.0992 7.01001 11.2592 7.67001C11.4092 7.74001 11.4991 7.91 11.4991 8.09Z" fill="#292D32"></path> <path d="M18.38 7.69983V15.2698C18.38 15.8898 17.88 16.4598 17.27 16.5398L17.06 16.5598C15.97 16.7098 14.4 17.1798 13.19 17.6898C12.86 17.8298 12.5 17.5898 12.5 17.2298V8.0798C12.5 7.8998 12.59 7.72983 12.75 7.63983C13.91 6.98983 15.72 6.4098 16.95 6.2998H16.99C17.76 6.3098 18.38 6.92983 18.38 7.69983Z" fill="#292D32"></path> </g></svg>',title:"Flip Book PDF Viewer",children:[{title:"Default",type:"iframe",url:"https://elementor.bplugins.com/demo/flip-book-pdf-viewer-default/"},{title:"Thumbnail",type:"iframe",url:"https://elementor.bplugins.com/demo/flip-book-pdf-viewer-thumbnail/"},{title:"Lightbox",type:"iframe",url:"https://elementor.bplugins.com/demo/flip-book-pdf-viewer-lightbox/"}]},{icon:'<svg width="800px" height="800px" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" version="1.1"><path style="fill:#ffffff;stroke:none;" d="m 65,3 0,19 19,0 z"/><path style="fill:#EBEBDA;stroke:#777777;stroke-width:2;" d="m 65,3 0,19 19,0 0,74 -72,0 0,-93 53,0 19,19"/><path style="fill:none;stroke:#C01A1A;stroke-width:4;" d="m 49,56 c -17,4 -27,10 -29,14 -2,4 -1,9 6,4 7,-5 20,-32 23,-53 1,-7 -7,-11 -7,-2 0,12 6,34 30,41 9,2 10,-7 0,-7 -10,0 -23,3 -23,3 z"/></svg>',title:"Native PDF Viewer",description:"Pdf Viewer using Native Browser",category:"Viewer",type:"iframe",url:"https://elementor.bplugins.com/demo/pdf-embedder/"},{icon:'<svg width="800px" height="800px" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="48" height="48" fill="white" fill-opacity="0.01"/><path d="M4 8H44" stroke="#000000" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8 8H40V34H8L8 8Z" fill="#2F88FF" stroke="#000000" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 16L27 21L22 26" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 42L24 34L32 42" stroke="#000000" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>',title:"PowerPoint Viewer",description:"PowerPoint Viewer to show presentation",category:"Viewer",type:"iframe",url:"https://elementor.bplugins.com/demo/powerpoint-viewer/"},{icon:'<svg width="800px" height="800px" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 15V6C8 4.89543 8.89543 4 10 4H38C39.1046 4 40 4.89543 40 6V42C40 43.1046 39.1046 44 38 44H10C8.89543 44 8 43.1046 8 42V33" stroke="#000000" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M31 15H34" stroke="#000000" stroke-width="4" stroke-linecap="round"/><path d="M28 23H34" stroke="#000000" stroke-width="4" stroke-linecap="round"/><path d="M28 31H34" stroke="#000000" stroke-width="4" stroke-linecap="round"/><rect x="4" y="15" width="18" height="18" fill="#2F88FF" stroke="#000000" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M10 21L16 27" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 21L10 27" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>',title:"Excel Viewer",description:"Excel Viewer to show spreedsheet",category:"Viewer",type:"iframe",url:"https://elementor.bplugins.com/demo/excel-embedder/"},{icon:'<svg fill="#000000" height="800px" width="800px" version="1.1" id="Icons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" ="0 0 32 32" xml:space="preserve"><path d="M29,2H3C1.3,2,0,3.3,0,5v16c0,1.7,1.3,3,3,3h26c1.7,0,3-1.3,3-3V5C32,3.3,30.7,2,29,2z M7.7,14.3c0.4,0.4,0.4,1,0,1.4C7.5,15.9,7.3,16,7,16s-0.5-0.1-0.7-0.3l-2-2c-0.4-0.4-0.4-1,0-1.4l2-2c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4L6.4,13L7.7,14.3zM27.7,13.7l-2,2C25.5,15.9,25.3,16,25,16s-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.3-1.3l-1.3-1.3c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l2,2C28.1,12.7,28.1,13.3,27.7,13.7z"/><circle cx="16" cy="28" r="2"/><circle cx="10" cy="28" r="2"/><circle cx="22" cy="28" r="2"/></svg>',title:"Google Slides Viewer",description:"Google Slides Viewer to show presentation",category:"Viewer",type:"iframe",url:"https://elementor.bplugins.com/demo/google-slides-embedder/"},{icon:'<svg width="800px" height="800px" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 6.5V6H2V6.5H2.5ZM6.5 6.5V6H6V6.5H6.5ZM6.5 10.5H6V11H6.5V10.5ZM13.5 3.5H14V3.29289L13.8536 3.14645L13.5 3.5ZM10.5 0.5L10.8536 0.146447L10.7071 0H10.5V0.5ZM2.5 7H3.5V6H2.5V7ZM3 11V8.5H2V11H3ZM3 8.5V6.5H2V8.5H3ZM3.5 8H2.5V9H3.5V8ZM4 7.5C4 7.77614 3.77614 8 3.5 8V9C4.32843 9 5 8.32843 5 7.5H4ZM3.5 7C3.77614 7 4 7.22386 4 7.5H5C5 6.67157 4.32843 6 3.5 6V7ZM6 6.5V10.5H7V6.5H6ZM6.5 11H7.5V10H6.5V11ZM9 9.5V7.5H8V9.5H9ZM7.5 6H6.5V7H7.5V6ZM9 7.5C9 6.67157 8.32843 6 7.5 6V7C7.77614 7 8 7.22386 8 7.5H9ZM7.5 11C8.32843 11 9 10.3284 9 9.5H8C8 9.77614 7.77614 10 7.5 10V11ZM10 6V11H11V6H10ZM10.5 7H13V6H10.5V7ZM10.5 9H12V8H10.5V9ZM2 5V1.5H1V5H2ZM13 3.5V5H14V3.5H13ZM2.5 1H10.5V0H2.5V1ZM10.1464 0.853553L13.1464 3.85355L13.8536 3.14645L10.8536 0.146447L10.1464 0.853553ZM2 1.5C2 1.22386 2.22386 1 2.5 1V0C1.67157 0 1 0.671573 1 1.5H2ZM1 12V13.5H2V12H1ZM2.5 15H12.5V14H2.5V15ZM14 13.5V12H13V13.5H14ZM12.5 15C13.3284 15 14 14.3284 14 13.5H13C13 13.7761 12.7761 14 12.5 14V15ZM1 13.5C1 14.3284 1.67157 15 2.5 15V14C2.22386 14 2 13.7761 2 13.5H1Z" fill="#000000"/></svg>',title:"Sleek PDF Viewer",description:"Pdf Viewer using PDFPress",category:"Viewer",type:"iframe",url:"https://elementor.bplugins.com/demo/sleek-pdf-viewer/"},{icon:'<svg fill="#000000" width="800px" height="800px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M15.15 18.379h-4.247v2.38h4.25v-2.38zM22.797 12.601h-13.596v9.857h13.597v-9.858zM26.876 9.145v19.771c0 0 0 0 0 0.001 0 1.126-0.913 2.038-2.038 2.038-0 0-0.001 0-0.001 0h-17.675c0 0 0 0-0 0-1.126 0-2.039-0.913-2.039-2.039 0 0 0 0 0-0v0-25.833c0-0 0-0 0-0.001 0-1.126 0.913-2.038 2.038-2.038 0 0 0.001 0 0.001 0h11.613v8.101zM21.099 18.379h-4.25v2.38h4.25zM21.099 14.3h-4.25v2.38h4.25zM19.4 1.045v7.478h7.478zM15.15 16.679h-4.247v-2.379h4.25v2.38z"></path></svg>',title:"Google Sheet Viewer",description:"Google Sheet Viewer to show spreedsheet",category:"Viewer",type:"iframe",url:"https://elementor.bplugins.com/demo/google-sheet-embedder/"},{icon:'<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512" xml:space="preserve" fill="#000000"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path style="fill:#ECEDEF;" d="M106.324,8.017c-9.446,0-17.102,7.656-17.102,17.102v461.762c0,9.446,7.656,17.102,17.102,17.102 h376.251c9.446,0,17.102-7.656,17.102-17.102V84.977l-76.96-76.96H106.324z"></path> <path style="fill:#D9DCDF;" d="M439.819,84.977h59.858l-76.96-76.96v59.858C422.716,77.319,430.373,84.977,439.819,84.977z"></path> <path style="fill:#C6CACF;" d="M397.063,196.142H89.222V42.221h307.841c4.722,0,8.551,3.829,8.551,8.551v136.818 C405.614,192.313,401.785,196.142,397.063,196.142z"></path> <polygon style="fill:#68727E;" points="388.512,179.04 12.261,179.04 80.67,110.63 12.261,42.221 388.512,42.221 "></polygon> <path style="fill:#D9DCDF;" d="M414.165,461.228H174.733c-4.722,0-8.551-3.829-8.551-8.551v-222.33c0-4.722,3.829-8.551,8.551-8.551 h239.432c4.722,0,8.551,3.829,8.551,8.551v222.33C422.716,457.399,418.888,461.228,414.165,461.228z"></path> <path style="fill:#C6CACF;" d="M183.284,444.125v-222.33h-8.551c-4.722,0-8.551,3.829-8.551,8.551v222.33 c0,4.722,3.829,8.551,8.551,8.551h239.432c4.722,0,8.551-3.829,8.551-8.551v-8.551H183.284z"></path> <rect x="302.999" y="324.409" style="fill:#DB6B5E;" width="85.511" height="102.614"></rect> <rect x="320.101" y="341.511" style="fill:#FF8C78;" width="51.307" height="68.409"></rect> <path d="M499.677,426.489c4.428,0,8.017-3.589,8.017-8.017V84.977c0-2.1-0.862-4.183-2.347-5.668l-76.96-76.96 C426.9,0.863,424.817,0,422.716,0H106.324C92.473,0,81.205,11.268,81.205,25.119v9.086H12.261c-6.987,0-10.616,8.738-5.668,13.685 l62.74,62.741l-62.74,62.741c-4.947,4.947-1.32,13.685,5.668,13.685h68.944v299.825c0,13.851,11.268,25.119,25.119,25.119h376.251 c13.851,0,25.119-11.268,25.119-25.119v-34.205c0-4.427-3.588-8.017-8.017-8.017c-4.428,0-8.017,3.589-8.017,8.017v34.205 c0,5.01-4.076,9.086-9.086,9.086H106.324c-5.01,0-9.086-4.076-9.086-9.086V187.056h51.841c4.427,0,8.017-3.589,8.017-8.017 s-3.589-8.017-8.017-8.017H31.615l54.724-54.724c3.131-3.131,3.131-8.207,0-11.337L31.615,50.238h348.88v120.785H183.284 c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h205.228c4.428,0,8.017-3.589,8.017-8.017V42.221 c0-4.427-3.588-8.017-8.017-8.017H97.238v-9.086c0-5.01,4.076-9.086,9.086-9.086H414.7v51.841c0,13.851,11.268,25.119,25.119,25.119 h51.841v325.478C491.66,422.9,495.248,426.489,499.677,426.489z M439.819,76.96c-5.01,0-9.086-4.076-9.086-9.086V27.37l49.589,49.59 H439.819z"></path> <path d="M182.75,136.284v-17.655c0.177,0.012,0.355,0.018,0.534,0.018h25.653c4.427,0,8.017-3.589,8.017-8.017V84.977 c0-4.427-3.589-8.017-8.017-8.017h-34.205c-4.427,0-8.017,3.589-8.017,8.017v51.307c0,4.427,3.589,8.017,8.017,8.017 S182.75,140.711,182.75,136.284z M182.75,92.994h18.171v9.62h-17.637c-0.18,0-0.357,0.005-0.534,0.018V92.994z"></path> <path d="M268.796,144.301c4.428,0,8.017-3.589,8.017-8.017v-34.205c0-13.851-11.268-25.119-25.119-25.119h-17.102 c-4.427,0-8.017,3.589-8.017,8.017v51.307c0,4.427,3.589,8.017,8.017,8.017H268.796z M242.608,92.994h9.086 c5.01,0,9.086,4.076,9.086,9.086v26.188h-18.171V92.994z"></path> <path d="M328.654,92.994c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017h-34.205 c-4.428,0-8.017,3.589-8.017,8.017v51.307c0,4.427,3.588,8.017,8.017,8.017s8.017-3.589,8.017-8.017v-17.637h17.637 c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017h-17.637v-9.62H328.654z"></path> <path d="M158.165,230.347v222.33c0,9.136,7.432,16.568,16.568,16.568h239.432c9.136,0,16.568-7.432,16.568-16.568v-222.33 c0-9.136-7.432-16.568-16.568-16.568H174.733C165.597,213.779,158.165,221.211,158.165,230.347z M174.199,230.347 c0-0.295,0.239-0.534,0.534-0.534h239.432c0.294,0,0.534,0.239,0.534,0.534v222.33c0,0.295-0.241,0.534-0.534,0.534H174.733 c-0.295,0-0.534-0.239-0.534-0.534L174.199,230.347L174.199,230.347z"></path> <path d="M303,435.04h85.511c4.428,0,8.017-3.589,8.017-8.017V324.409c0-4.427-3.588-8.017-8.017-8.017H303 c-4.428,0-8.017,3.589-8.017,8.017v102.614C294.984,431.45,298.572,435.04,303,435.04z M311.017,332.426h69.478v86.58h-69.478 V332.426z"></path> <path d="M303,264.017h94.063c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017H303 c-4.428,0-8.017,3.589-8.017,8.017C294.984,260.427,298.572,264.017,303,264.017z"></path> <path d="M303,298.221h94.063c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017H303 c-4.428,0-8.017,3.589-8.017,8.017C294.984,294.632,298.572,298.221,303,298.221z"></path> <path d="M191.835,264.017h85.512c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017h-85.511 c-4.427,0-8.017,3.589-8.017,8.017C183.819,260.427,187.408,264.017,191.835,264.017z"></path> <path d="M191.835,298.221h85.512c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017h-85.511 c-4.427,0-8.017,3.589-8.017,8.017C183.819,294.632,187.408,298.221,191.835,298.221z"></path> <path d="M191.835,332.426h85.512c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017h-85.511 c-4.427,0-8.017,3.589-8.017,8.017C183.819,328.837,187.408,332.426,191.835,332.426z"></path> <path d="M191.835,366.63h85.512c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017h-85.511 c-4.427,0-8.017,3.589-8.017,8.017C183.819,363.041,187.408,366.63,191.835,366.63z"></path> <path d="M191.835,400.835h85.512c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017h-85.511 c-4.427,0-8.017,3.589-8.017,8.017C183.819,397.246,187.408,400.835,191.835,400.835z"></path> <path d="M191.835,435.04h85.512c4.428,0,8.017-3.589,8.017-8.017c0-4.427-3.588-8.017-8.017-8.017h-85.511 c-4.427,0-8.017,3.589-8.017,8.017C183.819,431.45,187.408,435.04,191.835,435.04z"></path> </g></svg>',title:"pdf.js PDF Viewer",description:"Pdf Viewer",category:"Viewer",type:"iframe",url:"https://elementor.bplugins.com/demo/pdf-js-pdf-viewer/"},{icon:' <svg width="800px" height="800px" viewBox="0 0 1024 1024" class="icon" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M136.436736 593.825792V461.78304c0-75.42272 61.090816-136.281088 136.649728-135.927808l469.368832-0.002048c75.469824 0.352256 139.720704 64.029696 142.649344 139.280384 0 0 2.291712 5.917696 2.397184 128.6912 0.104448 122.773504 0.045056 158.030848 0.045056 158.030848-0.0256 75.474944-61.190144 136.659968-136.493056 136.659968H272.884736c-75.358208 0-136.448-61.198336-136.448-136.612864V593.825792z" fill="#FFF200" /><path d="M258.899968 887.808c-68.788224-7.016448-122.463232-65.215488-122.463232-135.90528V461.78304c0-75.201536 60.744704-135.928832 135.996416-135.928832l0.653312 0.001024 469.368832 2.189312c75.469824 0.352256 139.720704 61.83936 142.649344 137.090048 0 0 2.291712 5.916672 2.397184 128.6912 0.104448 122.773504 0.045056 158.029824 0.045056 158.029824C887.523328 822.603776 833.78176 880.7936 765.0304 887.808H258.899968z m-24.66304-751.616h34.869248c43.022336 0 64.384 16.259072 91.429888 36.84352 29.256704 22.268928 65.668096 49.982464 127.637504 49.982464h301.5424c54.088704 0 98.092032 43.933696 98.092032 97.93536v39.656448a187.64288 187.64288 0 0 0-18.945024-21.154816c-16.712704-16.039936-35.934208-28.676096-57.132032-37.558272-22.088704-9.253888-45.33248-14.0032-69.087232-14.113792L273.273856 285.5936l-0.840704-0.002048c-23.80288 0-46.8992 4.653056-68.64896 13.831168-21.010432 8.864768-39.862272 21.556224-56.032256 37.71904A177.8688 177.8688 0 0 0 136.192 349.87008V234.10688c0-53.9904 43.982848-97.91488 98.044928-97.91488z m555.47904 45.865984H488.173568C389.128192 182.057984 379.7248 95.232 269.106176 95.232h-34.869248C157.58848 95.232 95.232 157.40928 95.232 234.10688v555.61216C95.232 866.41664 157.485056 928.768 234.277888 928.768h37.630976c0.324608 0 0.649216 0.011264 0.974848 0.011264h478.170112c0.325632 0 0.65024-0.01024 0.975872-0.012288h37.692416C866.458624 928.768 928.768 866.63168 928.768 789.98528V320.953344c0-76.619776-62.255104-138.89536-139.052032-138.89536z" fill="#000000" /></svg>',title:"Document Library",description:"View Documents as a Library.",category:"Library",type:"iframe",url:"https://elementor.bplugins.com/demo/document-library/"},{icon:'<svg width="800px" height="800px" viewBox="0 0 1024 1024" class="icon" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M850.903995 414.630553h-0.974739V367.987457c0-65.413986-62.100693-126.406834-95.553074-159.147615l-7.470267-7.406787C648.55661 103.086822 607.179356 94.83533 573.138241 94.83533l-11.235094-0.06348H293.947238c-23.191003 0-39.365319 15.91425-39.365319 38.717199v129.78668h-82.302974c-42.09295 0-76.392084 34.233606-76.392084 76.392084V851.08727c0 41.251316 32.869791 74.769226 73.794487 76.196522 0.585662 0 0.974739 0.263139 1.559377 0.263139H850.902971c42.158478 0 76.455565-34.300158 76.455565-76.458637V491.022637c0.001024-42.096021-34.296063-76.392084-76.454541-76.392084z" fill="#27323A" /><path d="M711.632041 236.707953l7.795863 7.72931c11.368199 11.171613 27.99712 27.671525 43.263251 46.316477-29.360936-9.029645-60.996944-11.108132-89.513175-12.279457-1.103748-20.331291-4.612603-57.358056-15.980802-91.850705 15.26613 12.601981 33.128834 28.775273 54.434863 50.084375z" fill="#F4CE73" /><path d="M304.469707 144.660662h257.301359l11.238165 0.063481c5.783928 0 13.316653 0.066553 24.62137 4.094517l3.312269 3.442303c29.101893 28.775273 39.55781 100.687859 39.55781 142.065112 0 8.963092 7.01771 16.303326 15.980802 16.629946l6.106452 0.259043c44.237989 1.689411 99.320972 3.831379 132.449806 33.844529l0.652215 0.585663c2.597597 7.792791 4.546051 15.588654 4.546051 23.058921 0 0-0.066553 25.596109-0.066553 45.9274H565.474459c-39.950981 0-74.117011 54.238277-88.994065 54.238278H304.469707V144.660662z" fill="#FFFFFF" /><path d="M188.323228 545.260915v306.541027c0 13.383205-5.325228 24.751404-21.695106 24.881437-14.421425-0.130033-20.853472-11.108132-20.853473-25.596109V339.667813c0-14.616987 11.89038-26.504296 26.504296-26.504295h82.302974v156.74558c-37.286832 5.066185-66.258691 36.702193-66.258691 75.351817z" fill="#79CCBF" /><path d="M877.470747 851.08727c0 14.616987-11.949766 26.570848-26.566752 26.570848H234.250628c0.063481-0.325596 0.130033-0.522182 0.196586-0.781224 1.427296-7.403715 3.764826-14.032348 3.764826-22.539812V545.260915c0-14.613915 11.952837-26.504296 26.570848-26.504296h211.699554c25.203961 0 42.029469-15.588654 58.399347-30.724751 7.792791-7.2102 23.970179-22.217288 31.113827-23.51455h284.909403c14.616987 0 26.566753 11.886285 26.566752 26.504296V851.08727z" fill="#F4CE73" /><path d="M776.719407 589.954533H571.775449c-11.949766 0-21.631625 9.678788-21.631625 21.631625 0 12.016318 9.68186 21.695106 21.631625 21.695106h204.944982c11.89038 0 21.568144-9.678788 21.568145-21.695106 0-11.953861-9.678788-21.631625-21.569169-21.631625zM776.719407 685.57416H571.775449c-11.949766 0-21.631625 9.678788-21.631625 21.631625 0 11.949766 9.68186 21.628554 21.631625 21.628554h204.944982c11.89038 0 21.568144-9.678788 21.568145-21.628554 0-11.953861-9.678788-21.631625-21.569169-21.631625z" fill="#27323A" /></svg>',title:"Modern Document Library",children:[{title:"Premium Grid",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-premium-grid/"},{title:"Sleek List",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-sleek-list/"},{title:"Minimalistic Row",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-minimalistic-row/"},{title:"Bold Accent Card",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-bold-accent-cards/"},{title:"Duo Tone Color Grid",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-gallery-duo-tone-color-grid-cards/"},{title:"Classic Table",type:"iframe",url:"https://elementor.bplugins.com/demo/moder-document-library-classic-table/"},{title:"Floating Action Grid",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-floating-action-grid/"},{title:"Glassmorphic Cards",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-viewer-glassmorphic-cards/"},{title:"Timeline Rows",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-timeline-rows/"},{title:"Split Timeline",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-split-timeline/"},{title:"Styled Table View",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-styled-table-view/"},{title:"Glowing Timeline",type:"iframe",url:"https://elementor.bplugins.com/demo/modern-document-library-glowing-timeline/"}]}]},yn={logo:`https://ps.w.org/${vn}/assets/icon-128x128.png`,pluginId:20539,planId:34159,licenses:[1,3,null],button:{label:"Buy Now ➜"},featured:{selected:3}},Cn=e=>{const{isPremium:t,hasPro:n,action:a,nonce:l,status:o,adminUrl:i}=e,{data:s,internalStatus:c,saveToBackend:d}=((e,t)=>{const[n,a]=(0,r.useState)(null),{data:l=[],saveData:o,refetch:i,isLoading:s}=Ht(e,{_wpnonce:t},!0);return(0,r.useEffect)(()=>{t&&e&&i()},[t,e]),(0,r.useEffect)(()=>{!s&&l&&a("")},[l,s]),{data:l,internalStatus:n,saveToBackend:async e=>{try{a("loading");const n=await o({_wpnonce:t,data:JSON.stringify(e)});return a("success"),n}catch(e){console.error("Save failed:",e),a("error")}},isLoading:s}})(a,l);return(0,r.createElement)(Fe,null,(0,r.createElement)(me,null,(0,r.createElement)(ce,{path:"/",element:(0,r.createElement)(Kt,{...e})},(0,r.createElement)(ce,{index:!0,element:(0,r.createElement)(Gt,{...e,...wn(i),disabledBlocks:s,status:c,onChange:d})}),(0,r.createElement)(ce,{path:"welcome",element:(0,r.createElement)(Gt,{...e,...wn(i),disabledBlocks:s,status:c,onChange:d})}),(0,r.createElement)(ce,{path:"widgets",element:(0,r.createElement)(Ge,{...e,pageTitle:"All Widgets",allBlocks:gn,disabledBlocks:s,status:c,onChange:d})}),(0,r.createElement)(ce,{path:"demos",element:(0,r.createElement)(xt,{demoInfo:En,...e})}),!t&&(0,r.createElement)(ce,{path:"pricing",element:(0,r.createElement)(Vt,{pricingInfo:yn,options:{},...e})}),!t&&(0,r.createElement)(ce,{path:"feature-comparison",element:(0,r.createElement)(Nt,{plans:["free","pro"],...e})}),n&&(0,r.createElement)(ce,{path:"activation",element:(0,r.createElement)(St,{...e})}),(0,r.createElement)(ce,{path:"our-plugins",element:(0,r.createElement)(It,{...e,slugs:["3d-viewer","html5-video-player","media-player-addons-for-elementor","html5-audio-player","all-embed-addons-for-elementor","pdf-poster","document-emberdder","advanced-post-block","b-carousel-block","b-blocks","html5-video-player"]})}),(0,r.createElement)(ce,{path:"*",element:(0,r.createElement)(ie,{to:"/welcome",replace:!0})}))))};document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("deafeDashboard"),t=JSON.parse(e.dataset.info);(0,a.H)(e).render((0,r.createElement)(Cn,{...fn(t),nonce:t?.nonce}))})})(); -
document-embedder-addons-for-elementor/trunk/document-embedder-addons-for-elementor.php
r3751982 r3763540 5 5 * Plugin URI: https://wordpress.org/plugins 6 6 * Description: You can easily Embed pdf, docs, xlsx, pptx files in wordress post, page, widget area and theme template file. 7 * Version: 1.2. 37 * Version: 1.2.4 8 8 * Author: bPlugins LLC 9 9 * Author URI: https://bplugins.com … … 22 22 deafe_fs()->set_basename( true, __FILE__ ); 23 23 } else { 24 define('DEAFE_VERSION', isset($_SERVER['HTTP_HOST']) && 'localhost' === $_SERVER['HTTP_HOST'] ? time() : '1.2. 3');24 define('DEAFE_VERSION', isset($_SERVER['HTTP_HOST']) && 'localhost' === $_SERVER['HTTP_HOST'] ? time() : '1.2.4'); 25 25 define('DEAFE_DIR_URL', plugin_dir_url(__FILE__)); 26 26 define('DEAFE_DIR_PATH', plugin_dir_path(__FILE__)); -
document-embedder-addons-for-elementor/trunk/public/widgets/deafe-doc-embedder.php
r3751982 r3763540 183 183 ], 184 184 'toggle' => true, 185 ] 186 ); 187 $this->add_control( 188 'iframe_title', 189 [ 190 'label' => esc_html__( 'iFrame Attribute Title', 'document-embedder-addons-for-elementor' ), 191 'type' => Controls_Manager::TEXT, 192 'label_block' => true, 193 'placeholder' => esc_html__( 'Document Embedder', 'document-embedder-addons-for-elementor' ), 194 'description' => esc_html__( 'Sets the title attribute on the iframe for accessibility.', 'document-embedder-addons-for-elementor' ), 195 'separator' => 'before', 196 'dynamic' => [ 197 'active' => true, 198 ], 185 199 ] 186 200 ); … … 212 226 $doc_url = $settings['doc_url']; 213 227 $final_doc_link = ''; 214 $source_type = $settings['choose_source']; 228 $source_type = $settings['choose_source']; 229 $iframe_title = ! empty( $settings['iframe_title'] ) ? $settings['iframe_title'] : __( 'Document Embedder', 'document-embedder-addons-for-elementor' ); 215 230 if($source_type){ 216 231 $final_doc_link = isset($doc_url['url']) ? $doc_url['url'] : ''; … … 232 247 <?php } else { ?> 233 248 <div class="my-doc"> 234 <iframe src="<?php echo esc_url($source);?>&embedded=true" title="<?php e sc_attr_e( 'Document Embedder', 'document-embedder-addons-for-elementor'); ?>" allowfullscreen>249 <iframe src="<?php echo esc_url($source);?>&embedded=true" title="<?php echo esc_attr( $iframe_title ); ?>" allowfullscreen> 235 250 </iframe> 236 251 </div> -
document-embedder-addons-for-elementor/trunk/public/widgets/deafe-excel-embedder.php
r3751982 r3763540 176 176 ], 177 177 'toggle' => true, 178 ] 179 ); 180 $this->add_control( 181 'iframe_title', 182 [ 183 'label' => esc_html__( 'iFrame Attribute Title', 'document-embedder-addons-for-elementor' ), 184 'type' => Controls_Manager::TEXT, 185 'label_block' => true, 186 'placeholder' => esc_html__( 'Excel Embedder', 'document-embedder-addons-for-elementor' ), 187 'description' => esc_html__( 'Sets the title attribute on the iframe for accessibility.', 'document-embedder-addons-for-elementor' ), 188 'separator' => 'before', 189 'dynamic' => [ 190 'active' => true, 191 ], 178 192 ] 179 193 ); … … 205 219 $xlsx_url = $settings['xlsx_url']; 206 220 $final_xlsx_link = ''; 207 $source_type = $settings['choose_source']; 221 $source_type = $settings['choose_source']; 222 $iframe_title = ! empty( $settings['iframe_title'] ) ? $settings['iframe_title'] : __( 'Excel Embedder', 'document-embedder-addons-for-elementor' ); 208 223 if($source_type){ 209 224 $final_xlsx_link = isset($xlsx_url['url']) ? $xlsx_url['url'] : ''; … … 215 230 <?php else: ?> 216 231 <div class="my-excel"> 217 <iframe src="https://docs.google.com/viewer?url=<?php echo esc_url($final_xlsx_link);?>&embedded=true" title="<?php e sc_attr_e( 'Excel Embedder', 'document-embedder-addons-for-elementor'); ?>" allowfullscreen>232 <iframe src="https://docs.google.com/viewer?url=<?php echo esc_url($final_xlsx_link);?>&embedded=true" title="<?php echo esc_attr( $iframe_title ); ?>" allowfullscreen> 218 233 </iframe> 219 234 </div> -
document-embedder-addons-for-elementor/trunk/public/widgets/deafe-excel-viewer.php
r3751982 r3763540 243 243 ] 244 244 ); 245 246 $this->add_control( 247 'iframe_title', 248 [ 249 'label' => esc_html__( 'iFrame Attribute Title', 'document-embedder-addons-for-elementor' ), 250 'type' => Controls_Manager::TEXT, 251 'label_block' => true, 252 'placeholder' => esc_html__( 'Excel Viewer', 'document-embedder-addons-for-elementor' ), 253 'description' => esc_html__( 'Sets the title attribute on the iframe for accessibility.', 'document-embedder-addons-for-elementor' ), 254 'separator' => 'before', 255 'dynamic' => [ 256 'active' => true, 257 ], 258 ] 259 ); 245 260 246 261 $this->end_controls_section(); … … 273 288 $download_btn_text = $settings[ 'download_btn_text' ]; 274 289 $final_excel_link = ''; 275 $source_type = $settings['choose_source']; 290 $source_type = $settings['choose_source']; 291 $iframe_title = ! empty( $settings['iframe_title'] ) ? $settings['iframe_title'] : __( 'Excel Viewer', 'document-embedder-addons-for-elementor' ); 276 292 if($source_type){ 277 293 $final_excel_link = isset($excel_url['url']) ? $excel_url['url'] : ''; … … 295 311 <?php else: ?> 296 312 <div class="only_excel_viewer"> 297 <iframe src="https://view.officeapps.live.com/op/embed.aspx?src=<?php echo esc_url($final_excel_link);?>" title="<?php e sc_attr_e( 'Excel Viewer', 'document-embedder-addons-for-elementor'); ?>" >313 <iframe src="https://view.officeapps.live.com/op/embed.aspx?src=<?php echo esc_url($final_excel_link);?>" title="<?php echo esc_attr( $iframe_title ); ?>" > 298 314 </iframe> 299 315 </div> -
document-embedder-addons-for-elementor/trunk/public/widgets/deafe-google-docs.php
r3751982 r3763540 215 215 ); 216 216 217 $this->add_control( 218 'iframe_title', 219 [ 220 'label' => esc_html__( 'iFrame Attribute Title', 'document-embedder-addons-for-elementor' ), 221 'type' => Controls_Manager::TEXT, 222 'label_block' => true, 223 'placeholder' => esc_html__( 'Google Docs Embedder', 'document-embedder-addons-for-elementor' ), 224 'description' => esc_html__( 'Sets the title attribute on the iframe for accessibility.', 'document-embedder-addons-for-elementor' ), 225 'separator' => 'before', 226 'dynamic' => [ 227 'active' => true, 228 ], 229 ] 230 ); 231 217 232 $this->end_controls_section(); 218 233 … … 245 260 $source_type = $settings['choose_source']; 246 261 $viewer = 'https://view.officeapps.live.com/op/embed.aspx?src='; 262 $iframe_title = ! empty( $settings['iframe_title'] ) ? $settings['iframe_title'] : __( 'Google Docs Embedder', 'document-embedder-addons-for-elementor' ); 247 263 if($source_type){ 248 264 $final_word_link = isset($sheets_url['url']) ? $sheets_url['url'] : ''; … … 271 287 <?php else: ?> 272 288 <div class="google_docs_style"> 273 <iframe src= <?php echo esc_url($source); ?> title="<?php esc_attr_e( 'Google Docs Embedder', 'document-embedder-addons-for-elementor'); ?>"></iframe>289 <iframe src="<?php echo esc_url($source); ?>" title="<?php echo esc_attr( $iframe_title ); ?>"></iframe> 274 290 </div> 275 291 <?php endif; -
document-embedder-addons-for-elementor/trunk/public/widgets/deafe-google-sheets.php
r3751982 r3763540 215 215 ); 216 216 217 $this->add_control( 218 'iframe_title', 219 [ 220 'label' => esc_html__( 'iFrame Attribute Title', 'document-embedder-addons-for-elementor' ), 221 'type' => Controls_Manager::TEXT, 222 'label_block' => true, 223 'placeholder' => esc_html__( 'Google Sheets Embedder', 'document-embedder-addons-for-elementor' ), 224 'description' => esc_html__( 'Sets the title attribute on the iframe for accessibility.', 'document-embedder-addons-for-elementor' ), 225 'separator' => 'before', 226 'dynamic' => [ 227 'active' => true, 228 ], 229 ] 230 ); 231 217 232 $this->end_controls_section(); 218 233 … … 244 259 245 260 $final_word_link = ''; 246 $source_type = $settings['choose_source']; 261 $source_type = $settings['choose_source']; 262 $iframe_title = ! empty( $settings['iframe_title'] ) ? $settings['iframe_title'] : __( 'Google Sheets Embedder', 'document-embedder-addons-for-elementor' ); 247 263 if($source_type){ 248 264 $final_word_link = isset($sheets_url['url']) ? $sheets_url['url'] : ''; … … 262 278 <?php else: ?> 263 279 <div class="google_sheet_style"> 264 <iframe src="<?php echo esc_url($final_word_link); ?>" title="<?php e sc_attr_e( 'Google Sheets Embedder', 'document-embedder-addons-for-elementor'); ?>"></iframe>280 <iframe src="<?php echo esc_url($final_word_link); ?>" title="<?php echo esc_attr( $iframe_title ); ?>"></iframe> 265 281 </div> 266 282 <?php endif; -
document-embedder-addons-for-elementor/trunk/public/widgets/deafe-google-slides.php
r3751982 r3763540 215 215 ); 216 216 217 $this->add_control( 218 'iframe_title', 219 [ 220 'label' => esc_html__( 'iFrame Attribute Title', 'document-embedder-addons-for-elementor' ), 221 'type' => Controls_Manager::TEXT, 222 'label_block' => true, 223 'placeholder' => esc_html__( 'Google Slides Embedder', 'document-embedder-addons-for-elementor' ), 224 'description' => esc_html__( 'Sets the title attribute on the iframe for accessibility.', 'document-embedder-addons-for-elementor' ), 225 'separator' => 'before', 226 'dynamic' => [ 227 'active' => true, 228 ], 229 ] 230 ); 231 217 232 $this->end_controls_section(); 218 233 … … 244 259 $file_name_text = $settings[ 'file_name_text' ]; 245 260 $final_word_link = ''; 246 $source_type = $settings['choose_source']; 261 $source_type = $settings['choose_source']; 262 $iframe_title = ! empty( $settings['iframe_title'] ) ? $settings['iframe_title'] : __( 'Google Slides Embedder', 'document-embedder-addons-for-elementor' ); 247 263 if($source_type){ 248 264 $final_word_link = isset($sheets_url['url']) ? $sheets_url['url'] : ''; … … 261 277 <?php else: ?> 262 278 <div class="g_slides"> 263 <iframe src="https://view.officeapps.live.com/op/embed.aspx?src=<?php echo esc_url($final_word_link); ?>" title="<?php e sc_attr_e( 'Google Slides Embedder', 'document-embedder-addons-for-elementor'); ?>" >279 <iframe src="https://view.officeapps.live.com/op/embed.aspx?src=<?php echo esc_url($final_word_link); ?>" title="<?php echo esc_attr( $iframe_title ); ?>" > 264 280 </iframe> 265 281 </div> -
document-embedder-addons-for-elementor/trunk/public/widgets/deafe-pdf-embedder.php
r3751982 r3763540 188 188 ], 189 189 'toggle' => true, 190 ] 191 ); 192 $this->add_control( 193 'iframe_title', 194 [ 195 'label' => esc_html__( 'iFrame Attribute Title', 'document-embedder-addons-for-elementor' ), 196 'type' => Controls_Manager::TEXT, 197 'label_block' => true, 198 'placeholder' => esc_html__( 'PDF Embedder', 'document-embedder-addons-for-elementor' ), 199 'description' => esc_html__( 'Sets the title attribute on the iframe for accessibility.', 'document-embedder-addons-for-elementor' ), 200 'separator' => 'before', 201 'dynamic' => [ 202 'active' => true, 203 ], 190 204 ] 191 205 ); … … 217 231 $PDF_url = $settings['pdf_url']; 218 232 $final_PDF_link = ''; 219 $source_type = $settings['choose_source']; 233 $source_type = $settings['choose_source']; 234 $iframe_title = ! empty( $settings['iframe_title'] ) ? $settings['iframe_title'] : __( 'PDF Embedder', 'document-embedder-addons-for-elementor' ); 220 235 if($source_type){ 221 236 $final_PDF_link = isset($PDF_url['url']) ? $PDF_url['url'] : ''; … … 239 254 <?php } else { ?> 240 255 <div class="my-PDF bae-pdf"> 241 <iframe src="<?php echo esc_url($source);?>&embedded=true" title="<?php e sc_attr_e( 'PDF Embedder', 'document-embedder-addons-for-elementor'); ?>" allowfullscreen>256 <iframe src="<?php echo esc_url($source);?>&embedded=true" title="<?php echo esc_attr( $iframe_title ); ?>" allowfullscreen> 242 257 </iframe> 243 258 </div> -
document-embedder-addons-for-elementor/trunk/public/widgets/deafe-pdf-native-embedder.php
r3751982 r3763540 236 236 ); 237 237 238 $this->add_control( 239 'iframe_title', 240 [ 241 'label' => esc_html__( 'iFrame Attribute Title', 'document-embedder-addons-for-elementor' ), 242 'type' => Controls_Manager::TEXT, 243 'label_block' => true, 244 'placeholder' => esc_html__( 'PDF Viewer', 'document-embedder-addons-for-elementor' ), 245 'description' => esc_html__( 'Sets the title attribute on the iframe for accessibility.', 'document-embedder-addons-for-elementor' ), 246 'separator' => 'before', 247 'dynamic' => [ 248 'active' => true, 249 ], 250 ] 251 ); 252 238 253 $this->end_controls_section(); 239 254 … … 268 283 $download_btn_text = $settings[ 'download_btn_text' ]; 269 284 $final_pdf_link = ''; 270 $source_type = $settings['choose_source']; 285 $source_type = $settings['choose_source']; 286 $iframe_title = ! empty( $settings['iframe_title'] ) ? $settings['iframe_title'] : __( 'PDF Viewer', 'document-embedder-addons-for-elementor' ); 271 287 if($source_type){ 272 288 $final_pdf_link = isset($pdf_url['url']) ? $pdf_url['url'] : ''; … … 290 306 <?php else: ?> 291 307 <div class="my_native"> 292 <iframe src="<?php echo esc_url($final_pdf_link); ?>" title="<?php e sc_attr_e( 'PDF Viewer', 'document-embedder-addons-for-elementor'); ?>"></iframe>308 <iframe src="<?php echo esc_url($final_pdf_link); ?>" title="<?php echo esc_attr( $iframe_title ); ?>"></iframe> 293 309 </div> 294 310 <?php endif; -
document-embedder-addons-for-elementor/trunk/public/widgets/deafe-powerpoint-embedder.php
r3751982 r3763540 184 184 ], 185 185 'toggle' => true, 186 ] 187 ); 188 $this->add_control( 189 'iframe_title', 190 [ 191 'label' => esc_html__( 'iFrame Attribute Title', 'document-embedder-addons-for-elementor' ), 192 'type' => Controls_Manager::TEXT, 193 'label_block' => true, 194 'placeholder' => esc_html__( 'PowerPoint Embedder', 'document-embedder-addons-for-elementor' ), 195 'description' => esc_html__( 'Sets the title attribute on the iframe for accessibility.', 'document-embedder-addons-for-elementor' ), 196 'separator' => 'before', 197 'dynamic' => [ 198 'active' => true, 199 ], 186 200 ] 187 201 ); … … 213 227 $pptx_url = $settings['pptx_url']; 214 228 $final_pptx_link = ''; 215 $source_type = $settings['choose_source']; 229 $source_type = $settings['choose_source']; 230 $iframe_title = ! empty( $settings['iframe_title'] ) ? $settings['iframe_title'] : __( 'PowerPoint Embedder', 'document-embedder-addons-for-elementor' ); 216 231 if($source_type){ 217 232 $final_pptx_link = isset($pptx_url['url']) ? $pptx_url['url'] : ''; … … 223 238 <?php else: ?> 224 239 <div class="powerpoin_embeder"> 225 <iframe src="https://docs.google.com/viewer?url=<?php echo esc_url($final_pptx_link); ?> &embedded=true" title="<?php e sc_attr_e( 'PowerPoint Embedder', 'document-embedder-addons-for-elementor'); ?>" allowfullscreen></iframe>240 <iframe src="https://docs.google.com/viewer?url=<?php echo esc_url($final_pptx_link); ?> &embedded=true" title="<?php echo esc_attr( $iframe_title ); ?>" allowfullscreen></iframe> 226 241 </div> 227 242 <?php endif; -
document-embedder-addons-for-elementor/trunk/public/widgets/deafe-powerpoint-viewer.php
r3751982 r3763540 244 244 ); 245 245 246 $this->add_control( 247 'iframe_title', 248 [ 249 'label' => esc_html__( 'iFrame Attribute Title', 'document-embedder-addons-for-elementor' ), 250 'type' => Controls_Manager::TEXT, 251 'label_block' => true, 252 'placeholder' => esc_html__( 'PowerPoint Viewer', 'document-embedder-addons-for-elementor' ), 253 'description' => esc_html__( 'Sets the title attribute on the iframe for accessibility.', 'document-embedder-addons-for-elementor' ), 254 'separator' => 'before', 255 'dynamic' => [ 256 'active' => true, 257 ], 258 ] 259 ); 260 246 261 $this->end_controls_section(); 247 262 … … 274 289 $download_btn_text = $settings[ 'download_btn_text' ]; 275 290 $final_pptx_link = ''; 276 $source_type = $settings['choose_source']; 291 $source_type = $settings['choose_source']; 292 $iframe_title = ! empty( $settings['iframe_title'] ) ? $settings['iframe_title'] : __( 'PowerPoint Viewer', 'document-embedder-addons-for-elementor' ); 277 293 if($source_type){ 278 294 $final_pptx_link = isset($pptx_url['url']) ? $pptx_url['url'] : ''; … … 296 312 <?php else: ?> 297 313 <div class ="powr_point_style"> 298 <iframe src="https://view.officeapps.live.com/op/embed.aspx?src=<?php echo esc_url($final_pptx_link);?>" title="<?php e sc_attr_e( 'PowerPoint Viewer', 'document-embedder-addons-for-elementor'); ?>">314 <iframe src="https://view.officeapps.live.com/op/embed.aspx?src=<?php echo esc_url($final_pptx_link);?>" title="<?php echo esc_attr( $iframe_title ); ?>"> 299 315 </iframe> 300 316 </div> -
document-embedder-addons-for-elementor/trunk/public/widgets/deafe-word-viewer.php
r3751982 r3763540 243 243 ); 244 244 245 $this->add_control( 246 'iframe_title', 247 [ 248 'label' => esc_html__( 'iFrame Attribute Title', 'document-embedder-addons-for-elementor' ), 249 'type' => Controls_Manager::TEXT, 250 'label_block' => true, 251 'placeholder' => esc_html__( 'Word Viewer', 'document-embedder-addons-for-elementor' ), 252 'description' => esc_html__( 'Sets the title attribute on the iframe for accessibility.', 'document-embedder-addons-for-elementor' ), 253 'separator' => 'before', 254 'dynamic' => [ 255 'active' => true, 256 ], 257 ] 258 ); 259 245 260 $this->end_controls_section(); 246 261 … … 273 288 $download_btn_text = $settings[ 'download_btn_text' ]; 274 289 $final_word_link = ''; 275 $source_type = $settings['choose_source']; 290 $source_type = $settings['choose_source']; 291 $iframe_title = ! empty( $settings['iframe_title'] ) ? $settings['iframe_title'] : __( 'Word Viewer', 'document-embedder-addons-for-elementor' ); 276 292 if($source_type){ 277 293 $final_word_link = isset($word_url['url']) ? $word_url['url'] : ''; … … 295 311 <?php else: ?> 296 312 <div class="word_viewer"> 297 <iframe src="https://view.officeapps.live.com/op/embed.aspx?src=<?php echo esc_url($final_word_link);?>" title="<?php e sc_attr_e( 'Word Viewer', 'document-embedder-addons-for-elementor'); ?>">313 <iframe src="https://view.officeapps.live.com/op/embed.aspx?src=<?php echo esc_url($final_word_link);?>" title="<?php echo esc_attr( $iframe_title ); ?>"> 298 314 </iframe> 299 315 </div> -
document-embedder-addons-for-elementor/trunk/readme.txt
r3751982 r3763540 1 1 === Document Embedder Addons for Elementor – Embed Documents in Elementor Websites === 2 2 Plugin Name: Document Embedder Addons for Elementor – Embed Documents in Elementor Websites 3 Version: 1.2. 33 Version: 1.2.4 4 4 Author: bplugins, abuhayat, shehabulislam 5 5 Author URI: http://bplugins.com … … 9 9 Requires at least: 5.3 10 10 Tested up to: 7.0 11 Stable tag: 1.2. 311 Stable tag: 1.2.4 12 12 Requires PHP: 7.1 13 13 Donate link: https://www.buymeacoffee.com/abuhayat … … 258 258 == Changelog == 259 259 260 = 1.2.4 25-Oct-26 = 261 * New: Added "iFrame Attribute Title" setting to customize iframe title attribute 262 260 263 = 1.2.3 18-Oct-26 = 261 264 * Fix: Inline frame does not have a 'title' attribute issue. 265 * Update: Freemius SDK version 2.13.5 262 266 263 267 = 1.2.2 06-Aug-26 =
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)