From 42c8f944aad625d925306403a82cac81ebe2de8b Mon Sep 17 00:00:00 2001 From: Gravity Forms Date: Fri, 17 Jan 2025 10:17:44 +0000 Subject: [PATCH] Updates to 1.6.1 --- assets/css/dist/activity-log.min.css | 2 +- assets/css/dist/admin-components.min.css | 2 +- assets/css/dist/admin-icons.min.css | 2 +- assets/css/dist/admin.min.css | 2 +- assets/css/dist/assets.php | 2 +- assets/css/dist/dashboard.min.css | 2 +- assets/css/dist/settings.min.css | 2 +- assets/css/dist/suppression.min.css | 1 + assets/fonts/gravitysmtp-icons-admin.svg | 5 + assets/fonts/gravitysmtp-icons-admin.ttf | Bin 11512 -> 12488 bytes assets/fonts/gravitysmtp-icons-admin.woff | Bin 11588 -> 12564 bytes assets/fonts/gravitysmtp-icons-admin.woff2 | Bin 5052 -> 5564 bytes assets/images/svgs/no-suppressions.js | 118 ++ .../js/dist/2217.047561ae72fbc06578dd.min.js | 1 - .../js/dist/2217.94939f0efd406ed06d81.min.js | 1 + .../js/dist/5862.8f4234f62512c8e59393.min.js | 1 + .../js/dist/9456.5d96fe0ca45f063e61c8.min.js | 1 - .../js/dist/9586.1e877b21e6280faf1f4f.min.js | 1 + assets/js/dist/assets.php | 2 +- ...g-activity-log.1d7ce1b4f43e1f658dde.min.js | 1 - ...g-activity-log.8b364e13c6187d2699e7.min.js | 1 + ...elete-activity.a519ef3a7c8665896972.min.js | 1 - ...ingle-activity.44fad78f4edaec7d1668.min.js | 1 + ...nts-view-email.154b2862ef52286cef8c.min.js | 1 - ...nts-view-email.4e1bfccc203b0bba62b4.min.js | 1 + ...al-components.76963ed279325d651a3b.min.js} | 2 +- ...s-activity-log.2cd2df3db651fdc3ad06.min.js | 1 - ...s-activity-log.b34bdc2523eeb9c8c24a.min.js | 1 + ...ns-log-details.5040fe9b27cf4de723c8.min.js | 1 - ...ns-log-details.a631c1c29f0776c9dcfa.min.js | 1 + ...vity-log-store.587bc3da141cb3b000ca.min.js | 1 - ...vity-log-store.a21411c4ba4d7ed8a0b2.min.js | 1 + ...-utils-filters.bdbccd76c3583b834776.min.js | 1 + ...n.activity-log.f192e72f2ecad5c0aa91.min.js | 1 - ...n.activity-log.f88a8b7acad620a66325.min.js | 1 + ...-date-filters.4218bbbc81df39e46fb7.min.js} | 2 +- ...l-stats-chart.4e754322c7d6e987c32f.min.js} | 2 +- ...nents-metrics.6e7859e21908aee47694.min.js} | 2 +- ...ents-rankings.1363fdb9ac02223f90e9.min.js} | 2 +- ...ard-dashboard.d326c48a5d146d405fed.min.js} | 0 ...-screens-home.c0fe97da12cca0d338df.min.js} | 2 +- ...ashboard-store.2553d8352119154523bd.min.js | 1 - ...ashboard-store.8d7d15baa4463821fb7c.min.js | 1 + ...min.dashboard.0424bd167ba504e39389.min.js} | 2 +- assets/js/dist/scripts-admin.min.js | 2 +- ...ponents-header.0d63446439f44fbbece7.min.js | 1 + ...ponents-header.67fcad713820078955d4.min.js | 1 - ...ation-settings.207f86672e13632942cd.min.js | 1 + ...ation-settings.768c0d144448d7fd6960.min.js | 1 - ...ponents-navbar.25badd930bf8ae9f103f.min.js | 1 - ...ponents-navbar.9521125162f8b8d264d2.min.js | 1 + ...screens-alerts.853534a3242d43bcab35.min.js | 1 - ...screens-alerts.c1762426e651dae76ff6.min.js | 1 + ...creens-emails.176f37401de499ca6a72.min.js} | 2 +- ...s-integrations.53cbf6b02e1debd4f197.min.js | 1 + ...s-integrations.e30d706b254cf493be9f.min.js | 1 - ...creens-logging.d3c84a80b2447a17299c.min.js | 1 - ...creens-logging.fadd5e8b55b87a832e02.min.js | 1 + ...reens-settings.35a082d00db019292db2.min.js | 1 + ...reens-settings.b3b43dae07bfd049f2e8.min.js | 1 - ...tings-settings.0958060282dd29effaba.min.js | 1 - ...tings-settings.7bb90e1fe1857f6a33ec.min.js | 1 + ...settings-store.54d4416a6e6b28bdecda.min.js | 1 + ...settings-store.9fe5bb4d91c6e8f5b0fe.min.js | 1 - ...dmin.settings.2a4eaa26ae7ab9263663.min.js} | 0 ...izard-Screen01.323de10fc44c26be3127.min.js | 1 - ...izard-Screen01.d5b055571380a7a921b8.min.js | 1 + ...izard-Screen02.8980956640ad8b5bfe04.min.js | 1 - ...izard-Screen02.a4aff98a48c678462ea5.min.js | 1 + ...izard-Screen03.03d9f4294929628dd27d.min.js | 1 - ...izard-Screen03.3d7ef4e33f09afe8fe99.min.js | 1 + ...izard-Screen04.2137670e41dfce46b5aa.min.js | 1 + ...izard-Screen04.d033d783f829838f28e1.min.js | 1 - ...izard-Screen05.429aad8142af5203432d.min.js | 1 - ...izard-Screen05.b633de7404706a9c3eb9.min.js | 1 + ...-FooterButtons.2c797fff2cc113c78715.min.js | 1 + ...-FooterButtons.ebaba8312043892ef044.min.js | 1 - ...reenNavButtons.86c008ce2eb135c1d467.min.js | 1 + ...reenNavButtons.fc622933ed61588ffc71.min.js | 1 - ...elements-Svgs.0a1d1257489ff88923f5.min.js} | 2 +- ...d-setup-wizard.37d05b96c78c3599d4d5.min.js | 1 - ...d-setup-wizard.44cebff00bea5c4475cb.min.js | 1 + ...p-wizard-store.2133d8ab64bbc5d3b11c.min.js | 1 - ...p-wizard-store.750646dd8886ff995b46.min.js | 1 + ....setup-wizard.39ce5b16e1edefecd007.min.js} | 0 ...tion-logo-svgs.658067f735c343bcabe4.min.js | 1 - ...tion-logo-svgs.dac8cda7a14831433198.min.js | 1 + ...holder-stripe.cd9b2e4271c66912101e.min.js} | 0 ...ponents-header.a6cee30f13ca2fb23e36.min.js | 1 + ...ression-dialog.89475dbe2117da910630.min.js | 1 + ...n-screens-home.ae9fe03a5913503074b5.min.js | 1 + ...pression-store.31080dec9525cbf0cdad.min.js | 1 + ...on-suppression.bb10ed07953a4b74e883.min.js | 1 + ...in.suppression.6fa21b4f2e6c7a6e1185.min.js | 1 + ...ug-log-details.963aaeb5f4fd49135e7b.min.js | 1 - ...ug-log-details.ab83e103f77c72795979.min.js | 1 + ...eens-debug-log.25fe9261112390a3651b.min.js | 1 - ...eens-debug-log.670fb287749c03aa67bf.min.js | 1 + ...ns-send-a-test.62d3d4fea24946a79c93.min.js | 1 + ...ns-send-a-test.81f8f9a5ae2edce0a4d1.min.js | 1 - ...system-report.a5e00b7114a468494aae.min.js} | 0 ...in.tools-store.2abf9b376012330602e5.min.js | 1 + ...in.tools-store.aae858a011c1c7141550.min.js | 1 - ...in.tools-tools.cefd79af6a98ead6e86c.min.js | 1 - ...in.tools-tools.ff49a05f15d5a8068f94.min.js | 1 + ...s-admin.tools.9bb8b019e9c97ec407ae.min.js} | 0 assets/js/dist/vendor-admin.min.js | 2 +- ...dor-components.3af577c99a5e10ed49d3.min.js | 1 - ...dor-components.ab77c19673f0a8790e31.min.js | 1 + change_log.txt | 23 + gravitysmtp.php | 7 +- includes/alerts/class-alerts-handler.php | 174 ++ .../alerts/class-alerts-service-provider.php | 84 + .../alerts/config/class-alerts-config.php | 239 +++ .../config/class-alerts-endpoints-config.php | 36 + .../class-slack-alert-connector.php | 62 + .../class-twilio-alert-connector.php | 80 + .../connectors/interface-alert-connector.php | 11 + .../class-save-alerts-settings-endpoint.php | 54 + includes/apps/class-apps-service-provider.php | 33 + includes/apps/config/class-apps-config.php | 53 +- .../apps/config/class-dashboard-config.php | 12 +- .../apps/config/class-email-log-config.php | 245 ++- .../apps/config/class-settings-config.php | 51 +- includes/apps/config/class-tools-config.php | 27 +- includes/class-gravity-smtp.php | 53 + includes/connectors/class-connector-base.php | 98 +- .../class-connector-service-provider.php | 82 +- .../class-save-plugin-settings-endpoint.php | 37 +- .../endpoints/class-send-test-endpoint.php | 27 +- .../oauth/class-zoho-oauth-handler.php | 234 +++ .../types/class-connector-amazon.php | 8 +- .../types/class-connector-brevo.php | 4 + .../types/class-connector-generic.php | 8 +- .../types/class-connector-google.php | 48 +- .../types/class-connector-mailchimp.php | 28 +- .../types/class-connector-mailgun.php | 5 +- .../types/class-connector-microsoft.php | 6 + .../types/class-connector-phpmail.php | 20 +- .../types/class-connector-postmark.php | 4 + .../types/class-connector-sendgrid.php | 4 + .../connectors/types/class-connector-zoho.php | 560 +++++- .../datastore/class-data-store-router.php | 6 + includes/datastore/class-opts-data-store.php | 4 + includes/enums/class-status-enum.php | 18 +- .../enums/class-suppression-reason-enum.php | 53 + .../enums/class-zoho-datacenters-enum.php | 55 + .../class-experimental-features-handler.php | 43 + ...experimental-features-service-provider.php | 26 + .../class-handler-service-provider.php | 5 +- includes/handler/class-mail-handler.php | 24 +- .../get-paginated-debug-log-items.php | 253 ++- .../logging/endpoints/get-paginated-items.php | 495 +++--- .../class-migrate-settings-endpoint.php | 3 +- includes/models/class-event-model.php | 80 +- includes/models/class-log-details-model.php | 4 +- .../models/class-suppressed-emails-model.php | 267 +++ includes/pages/class-admin-page.php | 60 +- .../handlers/class-primary-backup-handler.php | 8 +- .../class-suppression-service-provider.php | 50 + .../class-suppression-settings-config.php | 261 +++ .../class-add-suppressed-emails-endpoint.php | 60 + ...-reactivate-suppressed-emails-endpoint.php | 66 + .../endpoints/get-paginated-items.php | 58 + .../tracking/class-open-pixel-handler.php | 12 +- includes/users/class-roles.php | 143 +- includes/utils/class-attachments-saver.php | 11 +- includes/utils/class-fast-endpoint.php | 57 + includes/utils/class-sql-filter-parser.php | 15 +- .../utils/class-utils-service-provider.php | 9 + languages/gravitysmtp.pot | 1546 +++++++++++------ vendor/autoload.php | 2 +- vendor/composer/InstalledVersions.php | 11 +- vendor/composer/autoload_classmap.php | 22 + vendor/composer/autoload_real.php | 10 +- vendor/composer/autoload_static.php | 26 +- vendor/composer/installed.json | 14 +- vendor/composer/installed.php | 10 +- .../gravityforms/gravity-tools/bin/namespace | 45 + .../gravity-tools/src/Utils/class-common.php | 13 +- 180 files changed, 5215 insertions(+), 1287 deletions(-) create mode 100644 assets/css/dist/suppression.min.css create mode 100644 assets/images/svgs/no-suppressions.js delete mode 100644 assets/js/dist/2217.047561ae72fbc06578dd.min.js create mode 100644 assets/js/dist/2217.94939f0efd406ed06d81.min.js create mode 100644 assets/js/dist/5862.8f4234f62512c8e59393.min.js delete mode 100644 assets/js/dist/9456.5d96fe0ca45f063e61c8.min.js create mode 100644 assets/js/dist/9586.1e877b21e6280faf1f4f.min.js delete mode 100644 assets/js/dist/scripts-admin.activity-log-activity-log.1d7ce1b4f43e1f658dde.min.js create mode 100644 assets/js/dist/scripts-admin.activity-log-activity-log.8b364e13c6187d2699e7.min.js delete mode 100644 assets/js/dist/scripts-admin.activity-log-components-delete-activity.a519ef3a7c8665896972.min.js create mode 100644 assets/js/dist/scripts-admin.activity-log-components-single-activity.44fad78f4edaec7d1668.min.js delete mode 100644 assets/js/dist/scripts-admin.activity-log-components-view-email.154b2862ef52286cef8c.min.js create mode 100644 assets/js/dist/scripts-admin.activity-log-components-view-email.4e1bfccc203b0bba62b4.min.js rename assets/js/dist/{scripts-admin.activity-log-elements-grid-cell-external-components.492cae83fa7d5c70be76.min.js => scripts-admin.activity-log-elements-grid-cell-external-components.76963ed279325d651a3b.min.js} (63%) delete mode 100644 assets/js/dist/scripts-admin.activity-log-screens-activity-log.2cd2df3db651fdc3ad06.min.js create mode 100644 assets/js/dist/scripts-admin.activity-log-screens-activity-log.b34bdc2523eeb9c8c24a.min.js delete mode 100644 assets/js/dist/scripts-admin.activity-log-screens-log-details.5040fe9b27cf4de723c8.min.js create mode 100644 assets/js/dist/scripts-admin.activity-log-screens-log-details.a631c1c29f0776c9dcfa.min.js delete mode 100644 assets/js/dist/scripts-admin.activity-log-store.587bc3da141cb3b000ca.min.js create mode 100644 assets/js/dist/scripts-admin.activity-log-store.a21411c4ba4d7ed8a0b2.min.js create mode 100644 assets/js/dist/scripts-admin.activity-log-utils-filters.bdbccd76c3583b834776.min.js delete mode 100644 assets/js/dist/scripts-admin.activity-log.f192e72f2ecad5c0aa91.min.js create mode 100644 assets/js/dist/scripts-admin.activity-log.f88a8b7acad620a66325.min.js rename assets/js/dist/{scripts-admin.dashboard-components-date-filters.fac0d88e504841be2b27.min.js => scripts-admin.dashboard-components-date-filters.4218bbbc81df39e46fb7.min.js} (74%) rename assets/js/dist/{scripts-admin.dashboard-components-email-stats-chart.f032e6f681c87f90104a.min.js => scripts-admin.dashboard-components-email-stats-chart.4e754322c7d6e987c32f.min.js} (70%) rename assets/js/dist/{scripts-admin.dashboard-components-metrics.7c5307faabd05a932151.min.js => scripts-admin.dashboard-components-metrics.6e7859e21908aee47694.min.js} (64%) rename assets/js/dist/{scripts-admin.dashboard-components-rankings.a3f5c041ef77f5933d96.min.js => scripts-admin.dashboard-components-rankings.1363fdb9ac02223f90e9.min.js} (63%) rename assets/js/dist/{scripts-admin.dashboard-dashboard.0fdc05858d523f6c3931.min.js => scripts-admin.dashboard-dashboard.d326c48a5d146d405fed.min.js} (100%) rename assets/js/dist/{scripts-admin.dashboard-screens-home.b9383d7c9b1d744c3857.min.js => scripts-admin.dashboard-screens-home.c0fe97da12cca0d338df.min.js} (80%) delete mode 100644 assets/js/dist/scripts-admin.dashboard-store.2553d8352119154523bd.min.js create mode 100644 assets/js/dist/scripts-admin.dashboard-store.8d7d15baa4463821fb7c.min.js rename assets/js/dist/{scripts-admin.dashboard.43e704c42877bccd031a.min.js => scripts-admin.dashboard.0424bd167ba504e39389.min.js} (98%) create mode 100644 assets/js/dist/scripts-admin.settings-components-header.0d63446439f44fbbece7.min.js delete mode 100644 assets/js/dist/scripts-admin.settings-components-header.67fcad713820078955d4.min.js create mode 100644 assets/js/dist/scripts-admin.settings-components-integration-settings.207f86672e13632942cd.min.js delete mode 100644 assets/js/dist/scripts-admin.settings-components-integration-settings.768c0d144448d7fd6960.min.js delete mode 100644 assets/js/dist/scripts-admin.settings-components-navbar.25badd930bf8ae9f103f.min.js create mode 100644 assets/js/dist/scripts-admin.settings-components-navbar.9521125162f8b8d264d2.min.js delete mode 100644 assets/js/dist/scripts-admin.settings-screens-alerts.853534a3242d43bcab35.min.js create mode 100644 assets/js/dist/scripts-admin.settings-screens-alerts.c1762426e651dae76ff6.min.js rename assets/js/dist/{scripts-admin.settings-screens-emails.82ca1d96a764b4f3fcac.min.js => scripts-admin.settings-screens-emails.176f37401de499ca6a72.min.js} (90%) create mode 100644 assets/js/dist/scripts-admin.settings-screens-integrations.53cbf6b02e1debd4f197.min.js delete mode 100644 assets/js/dist/scripts-admin.settings-screens-integrations.e30d706b254cf493be9f.min.js delete mode 100644 assets/js/dist/scripts-admin.settings-screens-logging.d3c84a80b2447a17299c.min.js create mode 100644 assets/js/dist/scripts-admin.settings-screens-logging.fadd5e8b55b87a832e02.min.js create mode 100644 assets/js/dist/scripts-admin.settings-screens-settings.35a082d00db019292db2.min.js delete mode 100644 assets/js/dist/scripts-admin.settings-screens-settings.b3b43dae07bfd049f2e8.min.js delete mode 100644 assets/js/dist/scripts-admin.settings-settings.0958060282dd29effaba.min.js create mode 100644 assets/js/dist/scripts-admin.settings-settings.7bb90e1fe1857f6a33ec.min.js create mode 100644 assets/js/dist/scripts-admin.settings-store.54d4416a6e6b28bdecda.min.js delete mode 100644 assets/js/dist/scripts-admin.settings-store.9fe5bb4d91c6e8f5b0fe.min.js rename assets/js/dist/{scripts-admin.settings.46a8287694b9bcc6fe53.min.js => scripts-admin.settings.2a4eaa26ae7ab9263663.min.js} (100%) delete mode 100644 assets/js/dist/scripts-admin.setup-wizard-Screen01.323de10fc44c26be3127.min.js create mode 100644 assets/js/dist/scripts-admin.setup-wizard-Screen01.d5b055571380a7a921b8.min.js delete mode 100644 assets/js/dist/scripts-admin.setup-wizard-Screen02.8980956640ad8b5bfe04.min.js create mode 100644 assets/js/dist/scripts-admin.setup-wizard-Screen02.a4aff98a48c678462ea5.min.js delete mode 100644 assets/js/dist/scripts-admin.setup-wizard-Screen03.03d9f4294929628dd27d.min.js create mode 100644 assets/js/dist/scripts-admin.setup-wizard-Screen03.3d7ef4e33f09afe8fe99.min.js create mode 100644 assets/js/dist/scripts-admin.setup-wizard-Screen04.2137670e41dfce46b5aa.min.js delete mode 100644 assets/js/dist/scripts-admin.setup-wizard-Screen04.d033d783f829838f28e1.min.js delete mode 100644 assets/js/dist/scripts-admin.setup-wizard-Screen05.429aad8142af5203432d.min.js create mode 100644 assets/js/dist/scripts-admin.setup-wizard-Screen05.b633de7404706a9c3eb9.min.js create mode 100644 assets/js/dist/scripts-admin.setup-wizard-components-FooterButtons.2c797fff2cc113c78715.min.js delete mode 100644 assets/js/dist/scripts-admin.setup-wizard-components-FooterButtons.ebaba8312043892ef044.min.js create mode 100644 assets/js/dist/scripts-admin.setup-wizard-components-ScreenNavButtons.86c008ce2eb135c1d467.min.js delete mode 100644 assets/js/dist/scripts-admin.setup-wizard-components-ScreenNavButtons.fc622933ed61588ffc71.min.js rename assets/js/dist/{scripts-admin.setup-wizard-elements-Svgs.b4b7101578072863a3f5.min.js => scripts-admin.setup-wizard-elements-Svgs.0a1d1257489ff88923f5.min.js} (52%) delete mode 100644 assets/js/dist/scripts-admin.setup-wizard-setup-wizard.37d05b96c78c3599d4d5.min.js create mode 100644 assets/js/dist/scripts-admin.setup-wizard-setup-wizard.44cebff00bea5c4475cb.min.js delete mode 100644 assets/js/dist/scripts-admin.setup-wizard-store.2133d8ab64bbc5d3b11c.min.js create mode 100644 assets/js/dist/scripts-admin.setup-wizard-store.750646dd8886ff995b46.min.js rename assets/js/dist/{scripts-admin.setup-wizard.5f15abb3947bdb4bfd49.min.js => scripts-admin.setup-wizard.39ce5b16e1edefecd007.min.js} (100%) delete mode 100644 assets/js/dist/scripts-admin.shared-elements-integration-logo-svgs.658067f735c343bcabe4.min.js create mode 100644 assets/js/dist/scripts-admin.shared-elements-integration-logo-svgs.dac8cda7a14831433198.min.js rename assets/js/dist/{scripts-admin.shared-elements-placeholder-stripe.f361e9731d2121bdb783.min.js => scripts-admin.shared-elements-placeholder-stripe.cd9b2e4271c66912101e.min.js} (100%) create mode 100644 assets/js/dist/scripts-admin.suppression-components-header.a6cee30f13ca2fb23e36.min.js create mode 100644 assets/js/dist/scripts-admin.suppression-components-suppression-dialog.89475dbe2117da910630.min.js create mode 100644 assets/js/dist/scripts-admin.suppression-screens-home.ae9fe03a5913503074b5.min.js create mode 100644 assets/js/dist/scripts-admin.suppression-store.31080dec9525cbf0cdad.min.js create mode 100644 assets/js/dist/scripts-admin.suppression-suppression.bb10ed07953a4b74e883.min.js create mode 100644 assets/js/dist/scripts-admin.suppression.6fa21b4f2e6c7a6e1185.min.js delete mode 100644 assets/js/dist/scripts-admin.tools-components-debug-log-details.963aaeb5f4fd49135e7b.min.js create mode 100644 assets/js/dist/scripts-admin.tools-components-debug-log-details.ab83e103f77c72795979.min.js delete mode 100644 assets/js/dist/scripts-admin.tools-screens-debug-log.25fe9261112390a3651b.min.js create mode 100644 assets/js/dist/scripts-admin.tools-screens-debug-log.670fb287749c03aa67bf.min.js create mode 100644 assets/js/dist/scripts-admin.tools-screens-send-a-test.62d3d4fea24946a79c93.min.js delete mode 100644 assets/js/dist/scripts-admin.tools-screens-send-a-test.81f8f9a5ae2edce0a4d1.min.js rename assets/js/dist/{scripts-admin.tools-screens-system-report.408483ff5d2f55bf4f9d.min.js => scripts-admin.tools-screens-system-report.a5e00b7114a468494aae.min.js} (100%) create mode 100644 assets/js/dist/scripts-admin.tools-store.2abf9b376012330602e5.min.js delete mode 100644 assets/js/dist/scripts-admin.tools-store.aae858a011c1c7141550.min.js delete mode 100644 assets/js/dist/scripts-admin.tools-tools.cefd79af6a98ead6e86c.min.js create mode 100644 assets/js/dist/scripts-admin.tools-tools.ff49a05f15d5a8068f94.min.js rename assets/js/dist/{scripts-admin.tools.2dee009f6ad291aa8da4.min.js => scripts-admin.tools.9bb8b019e9c97ec407ae.min.js} (100%) delete mode 100644 assets/js/dist/vendor-components.3af577c99a5e10ed49d3.min.js create mode 100644 assets/js/dist/vendor-components.ab77c19673f0a8790e31.min.js create mode 100644 includes/alerts/class-alerts-handler.php create mode 100644 includes/alerts/class-alerts-service-provider.php create mode 100644 includes/alerts/config/class-alerts-config.php create mode 100644 includes/alerts/config/class-alerts-endpoints-config.php create mode 100644 includes/alerts/connectors/class-slack-alert-connector.php create mode 100644 includes/alerts/connectors/class-twilio-alert-connector.php create mode 100644 includes/alerts/connectors/interface-alert-connector.php create mode 100644 includes/alerts/endpoints/class-save-alerts-settings-endpoint.php create mode 100644 includes/connectors/oauth/class-zoho-oauth-handler.php create mode 100644 includes/enums/class-suppression-reason-enum.php create mode 100644 includes/enums/class-zoho-datacenters-enum.php create mode 100644 includes/experimental-features/class-experimental-features-handler.php create mode 100644 includes/experimental-features/class-experimental-features-service-provider.php create mode 100644 includes/models/class-suppressed-emails-model.php create mode 100644 includes/suppression/class-suppression-service-provider.php create mode 100644 includes/suppression/config/class-suppression-settings-config.php create mode 100644 includes/suppression/endpoints/class-add-suppressed-emails-endpoint.php create mode 100644 includes/suppression/endpoints/class-reactivate-suppressed-emails-endpoint.php create mode 100644 includes/suppression/endpoints/get-paginated-items.php create mode 100644 includes/utils/class-fast-endpoint.php create mode 100755 vendor/gravityforms/gravity-tools/bin/namespace diff --git a/assets/css/dist/activity-log.min.css b/assets/css/dist/activity-log.min.css index f612a0b..e6e9677 100644 --- a/assets/css/dist/activity-log.min.css +++ b/assets/css/dist/activity-log.min.css @@ -1 +1 @@ -@keyframes gravitysmtpOpacityCycle{0%,100%{opacity:1}50%{opacity:.5}}.gravitysmtp-admin .gravitysmtp-activity-log-app{block-size:calc(100vh - 46px)}@media (min-width:783px){.gravitysmtp-admin .gravitysmtp-activity-log-app{block-size:calc(100vh - 32px)}}.gravitysmtp-admin .gravitysmtp-activity-log-app__header{background:#fff;border-bottom:1px solid #ecedf8;display:flex;height:62px;width:100%}.gravitysmtp-admin .gravitysmtp-activity-log-app__header-main{align-items:center;display:flex;height:62px;justify-content:space-between;padding:0 24px;width:100%}.gravitysmtp-admin .gravitysmtp-activity-log-app__header-logo{align-items:center;display:flex}.gravitysmtp-admin .gravitysmtp-activity-log-app__email-log,.gravitysmtp-admin .gravitysmtp-activity-log-app__log-details-wrapper{padding-block:1.5rem 6rem;padding-inline:1.5rem}.gravitysmtp-admin .gravitysmtp-activity-log-app__wrapper{position:relative}.gravitysmtp-admin .gravitysmtp-activity-log-app__wrapper .gform-loader__mask{height:80vh;justify-content:center;position:sticky}.gravitysmtp-admin .gravitysmtp-activity-log-app__wrapper .gform-loader__mask.gform-loader__mask--theme-light{background:0 0}.gravitysmtp-admin .gravitysmtp-activity-log-app__mask-wrapper{background:rgba(247,249,252,.5);height:100%;left:0;position:absolute;top:0;width:100%;z-index:5}.gravitysmtp-admin .gravitysmtp-log-details__main-box .gform-meta-box__content{padding:0}.gravitysmtp-admin .gravitysmtp-log-details__main-box .gform-meta-box__content>.gform-box:first-child>.gravitysmtp-log-details__main-box-heading{border-top:none}.gravitysmtp-admin .gravitysmtp-log-details__main-box .gravitysmtp-log-details__main-box-heading{background:#fafafc;border-bottom:1px solid #d4d4e4;border-top:1px solid #d4d4e4;padding:12px 24px}.gravitysmtp-admin .gravitysmtp-log-details__main-box .gravitysmtp-log-details__main-box-entry{box-sizing:border-box;min-height:44px;padding:12px 24px}.gravitysmtp-admin .gravitysmtp-log-details__sidebar-item{align-items:center;width:100%}.gravitysmtp-admin .gravitysmtp-log-details__sidebar-item .gravitysmtp-log-details__sidebar-item-icon{color:#5b5e80;font-size:1.25rem}.gravitysmtp-admin .gravitysmtp-log-details__secondary-box .gform-text{word-break:break-word}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table .gform-data-grid__data-row .gravitysmtp-data-grid__subject{border:.125rem solid transparent;border-radius:3px;color:#0f3d6c;font-size:.875rem;inline-size:calc(100% + 1.25rem);margin-inline:-0.625rem;padding-inline:0.5rem}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table .gform-data-grid__data-row .gravitysmtp-data-grid__subject .gform-button__text{inline-size:100%;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table .gform-data-grid__data-row .gravitysmtp-data-grid__subject:hover{color:#242748}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table .gform-data-grid__data-row .gravitysmtp-data-grid__subject.focus-visible{border-color:#242748;color:#242748;outline:0}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table .gform-data-grid__data-row .gravitysmtp-data-grid__subject.focus-visible{border-color:#242748;color:#242748;outline:0}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table .gform-data-grid__data-row .gravitysmtp-data-grid__subject:focus-visible{border-color:#242748;color:#242748;outline:0}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table .gravitysmtp-activity-log-app__activity-log-table-recipient-email{flex:auto;inline-size:auto}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table .gravitysmtp-activity-log-app__activity-log-table-recipient-more{align-items:center;background:#e4e9eb;border:2px solid #fff;border-radius:50%;block-size:28px;display:flex;flex:none;inline-size:28px;justify-content:center;margin-inline-start:-6px}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table-recipient{align-items:center;max-inline-size:100%;width:100%}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table-recipient-meta{align-items:center;inline-size:36px}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table-recipient-gravatar{flex:none}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask{height:calc(100vh - 46px)}@media (min-width:783px){.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask{height:calc(100vh - 32px)}}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask .gform-modular-sidebar__primary-sidebar{border-right:1px solid #ecedf8;box-sizing:border-box;display:none;padding:27px 22px;width:256px}@media (min-width:960px){.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask .gform-modular-sidebar__primary-sidebar{display:flex}}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask .gform-dialog__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80%}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask .gform-dialog{height:100%;max-width:none;padding:0;width:100%}@media (min-width:960px){.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask .gform-dialog{height:calc(100% - 48px);width:calc(100% - 48px)}}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask .gform-dialog__content{height:100%;padding-top:0}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask .gform-dialog__close{top:17px}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask .gravitysmtp-view-email__iframe-loader-mask{background:#fff;justify-content:center}.gravitysmtp-admin .gravitysmtp-view-email__sidebar-container{width:100%}.gravitysmtp-admin .gravitysmtp-view-email__placeholder-stripe--loading,.gravitysmtp-admin .gravitysmtp-view-email__sidebar-container--loading{animation:gravitysmtpOpacityCycle 1s infinite;animation-delay:-.5s}.gravitysmtp-admin .gravitysmtp-view-email__placeholder-stripe{height:14px;margin-block-end:22px;width:100%}.gravitysmtp-admin .gravitysmtp-view-email__header-details-meta .gravitysmtp-view-email__placeholder-stripe{margin-block-end:0}.gravitysmtp-admin .gravitysmtp-view-email__header-details-meta .gravitysmtp-view-email__header-details-from--has-loader{margin-block-end:12px}.gravitysmtp-admin .gravitysmtp-view-email__placeholder-stripe-dot{background:#e4e9eb;border-radius:100%;display:inline-block;height:14px;margin-inline-end:10px;width:14px}.gravitysmtp-admin .gravitysmtp-view-email__placeholder-stripe-line{background:#e4e9eb;display:inline-block;border-radius:7px;height:14px}.gravitysmtp-admin .gravitysmtp-view-email__container{display:flex;flex-direction:column;height:100%;width:100%}.gravitysmtp-admin .gravitysmtp-view-email__header{border-bottom:1px solid #ecedf8;box-sizing:border-box}.gravitysmtp-admin .gravitysmtp-view-email__header-title-wrapper{align-items:center;border-bottom:1px solid #ecedf8;box-sizing:border-box;display:flex;padding:12px 24px;width:100%}.gravitysmtp-admin .gravitysmtp-view-email__header-title{align-items:center;box-sizing:border-box;display:flex;flex-grow:1;min-block-size:55px;padding-right:10px;width:calc(100% - 72px)}.gravitysmtp-admin .gravitysmtp-view-email__header-title .gravitysmtp-view-email__placeholder-stripe{margin-block-end:0}.gravitysmtp-admin .gravitysmtp-view-email__header-title .gform-heading{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.gravitysmtp-admin .gravitysmtp-view-email__header-details-actions{display:none}@media (min-width:640px){.gravitysmtp-admin .gravitysmtp-view-email__container--html-mode .gravitysmtp-view-email__header-details-actions{align-self:flex-end;display:flex;flex-direction:row;justify-content:flex-end;width:72px}}.gravitysmtp-admin .gravitysmtp-view-email__header-details-image{background:#f2f3f5;border-radius:100%;color:#c3c5db;display:flex;flex-basis:40px;height:40px;margin-inline-end:12px;overflow:hidden;position:relative;width:40px}.gravitysmtp-admin .gravitysmtp-view-email__header-details-default{align-items:center;display:flex;font-size:24px;height:40px;justify-content:center;width:40px}.gravitysmtp-admin .gravitysmtp-view-email__header-details-gravatar{left:0;position:absolute;top:0}.gravitysmtp-admin .gravitysmtp-view-email__header-details-left{display:flex;flex-direction:row;flex-grow:1}.gravitysmtp-admin .gravitysmtp-view-email__header-details-subject{overflow:hidden;padding-inline-end:20px;text-overflow:ellipsis;white-space:nowrap}.gravitysmtp-admin .gravitysmtp-view-email__header-details{box-sizing:border-box;display:flex;flex-direction:row;overflow:hidden;padding:8px 24px;width:100%}.gravitysmtp-admin .gravitysmtp-view-email__header-details-meta--loading{width:30%}.gravitysmtp-admin .gravitysmtp-view-email__header-details-from,.gravitysmtp-admin .gravitysmtp-view-email__header-details-to{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gravitysmtp-admin .gravitysmtp-view-email__header-details--comet{color:#5b5e80}.gravitysmtp-admin .gravitysmtp-view-email__wrapper{display:flex;height:calc(100% - 110px);justify-content:center;overflow:hidden;position:relative}.gravitysmtp-admin .gravitysmtp-view-email__container--html-mode .gravitysmtp-view-email__wrapper{background:#585e6a}.gravitysmtp-admin .gravitysmtp-view-email__iframe{background:#fff;border:none;height:100%;transition:width .4s ease-in-out;width:100%}@media (min-width:640px){.gravitysmtp-admin .gravitysmtp-view-email__container--mobile-mode .gravitysmtp-view-email__iframe{width:400px}}.gravitysmtp-admin .gravitysmtp-view-email__header-details-right{display:none}@media (min-width:1280px){.gravitysmtp-admin .gravitysmtp-view-email__header-details-right{align-items:center;display:flex;flex-direction:row}}.gravitysmtp-admin .gravitysmtp-delete-activity__dialog{max-inline-size:25rem} \ No newline at end of file +@keyframes gravitysmtpOpacityCycle{0%,100%{opacity:1}50%{opacity:.5}}.gravitysmtp-admin .gravitysmtp-activity-log-app{block-size:calc(100vh - 46px)}@media (min-width:783px){.gravitysmtp-admin .gravitysmtp-activity-log-app{block-size:calc(100vh - 32px)}}.gravitysmtp-admin .gravitysmtp-activity-log-app__header{background:#fff;border-bottom:1px solid #ecedf8;display:flex;height:62px;width:100%}.gravitysmtp-admin .gravitysmtp-activity-log-app__header-main{align-items:center;display:flex;height:62px;justify-content:space-between;padding:0 24px;width:100%}.gravitysmtp-admin .gravitysmtp-activity-log-app__header-logo{align-items:center;display:flex}.gravitysmtp-admin .gravitysmtp-activity-log-app__email-log,.gravitysmtp-admin .gravitysmtp-activity-log-app__log-details-wrapper{padding-block:1.5rem 6rem;padding-inline:1.5rem}.gravitysmtp-admin .gravitysmtp-activity-log-app__wrapper{position:relative}.gravitysmtp-admin .gravitysmtp-activity-log-app__wrapper .gform-loader__mask{height:80vh;justify-content:center;position:sticky}.gravitysmtp-admin .gravitysmtp-activity-log-app__wrapper .gform-loader__mask.gform-loader__mask--theme-light{background:0 0}.gravitysmtp-admin .gravitysmtp-activity-log-app__mask-wrapper{background:rgba(247,249,252,.5);height:100%;left:0;position:absolute;top:0;width:100%;z-index:5}.gravitysmtp-admin .gravitysmtp-log-details__main-box .gform-meta-box__content{padding:0}.gravitysmtp-admin .gravitysmtp-log-details__main-box .gform-meta-box__content>.gform-box:first-child>.gravitysmtp-log-details__main-box-heading{border-top:none}.gravitysmtp-admin .gravitysmtp-log-details__main-box .gravitysmtp-log-details__main-box-heading{background:#fafafc;border-bottom:1px solid #d4d4e4;border-top:1px solid #d4d4e4;padding:12px 24px}.gravitysmtp-admin .gravitysmtp-log-details__main-box .gravitysmtp-log-details__main-box-entry{box-sizing:border-box;min-height:44px;padding:12px 24px}.gravitysmtp-admin .gravitysmtp-log-details__sidebar-item{align-items:center;width:100%}.gravitysmtp-admin .gravitysmtp-log-details__sidebar-item .gravitysmtp-log-details__sidebar-item-icon{color:#5b5e80;font-size:1.25rem}.gravitysmtp-admin .gravitysmtp-log-details__secondary-box .gform-text{word-break:break-word}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table .gform-data-grid__data-row .gravitysmtp-data-grid__subject{border:.125rem solid transparent;border-radius:3px;color:#0f3d6c;font-size:.875rem;inline-size:calc(100% + 1.25rem);margin-inline:-0.625rem;padding-inline:0.5rem}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table .gform-data-grid__data-row .gravitysmtp-data-grid__subject .gform-button__text{inline-size:100%;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table .gform-data-grid__data-row .gravitysmtp-data-grid__subject:hover{color:#242748}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table .gform-data-grid__data-row .gravitysmtp-data-grid__subject.focus-visible{border-color:#242748;color:#242748;outline:0}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table .gform-data-grid__data-row .gravitysmtp-data-grid__subject.focus-visible{border-color:#242748;color:#242748;outline:0}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table .gform-data-grid__data-row .gravitysmtp-data-grid__subject:focus-visible{border-color:#242748;color:#242748;outline:0}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table .gravitysmtp-activity-log-app__activity-log-table-recipient-email{flex:auto;inline-size:auto}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table .gravitysmtp-activity-log-app__activity-log-table-recipient-more{align-items:center;background:#e4e9eb;border:2px solid #fff;border-radius:50%;block-size:28px;display:flex;flex:none;inline-size:28px;justify-content:center;margin-inline-start:-6px}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table-recipient{align-items:center;max-inline-size:100%;width:100%}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table-recipient-meta{align-items:center;inline-size:36px}.gravitysmtp-admin .gravitysmtp-activity-log-app__activity-log-table-recipient-gravatar{flex:none}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask{height:calc(100vh - 46px)}@media (min-width:783px){.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask{height:calc(100vh - 32px)}}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask .gform-modular-sidebar__primary-sidebar{border-right:1px solid #ecedf8;box-sizing:border-box;display:none;padding:27px 22px;width:256px}@media (min-width:960px){.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask .gform-modular-sidebar__primary-sidebar{display:flex}}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask .gform-dialog__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80%}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask .gform-dialog{height:100%;max-width:none;padding:0;width:100%}@media (min-width:960px){.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask .gform-dialog{height:calc(100% - 48px);width:calc(100% - 48px)}}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask .gform-dialog__content{height:100%;padding-top:0}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask .gform-dialog__close{top:17px}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-view-email__mask .gravitysmtp-view-email__iframe-loader-mask{background:#fff;justify-content:center}.gravitysmtp-admin .gravitysmtp-view-email__sidebar-container{width:100%}.gravitysmtp-admin .gravitysmtp-view-email__placeholder-stripe--loading,.gravitysmtp-admin .gravitysmtp-view-email__sidebar-container--loading{animation:gravitysmtpOpacityCycle 1s infinite;animation-delay:-.5s}.gravitysmtp-admin .gravitysmtp-view-email__placeholder-stripe{height:14px;margin-block-end:22px;width:100%}.gravitysmtp-admin .gravitysmtp-view-email__header-details-meta .gravitysmtp-view-email__placeholder-stripe{margin-block-end:0}.gravitysmtp-admin .gravitysmtp-view-email__header-details-meta .gravitysmtp-view-email__header-details-from--has-loader{margin-block-end:12px}.gravitysmtp-admin .gravitysmtp-view-email__placeholder-stripe-dot{background:#e4e9eb;border-radius:100%;display:inline-block;height:14px;margin-inline-end:10px;width:14px}.gravitysmtp-admin .gravitysmtp-view-email__placeholder-stripe-line{background:#e4e9eb;display:inline-block;border-radius:7px;height:14px}.gravitysmtp-admin .gravitysmtp-view-email__container{display:flex;flex-direction:column;height:100%;width:100%}.gravitysmtp-admin .gravitysmtp-view-email__header{border-bottom:1px solid #ecedf8;box-sizing:border-box}.gravitysmtp-admin .gravitysmtp-view-email__header-title-wrapper{align-items:center;border-bottom:1px solid #ecedf8;box-sizing:border-box;display:flex;padding:12px 24px;width:100%}.gravitysmtp-admin .gravitysmtp-view-email__header-title{align-items:center;box-sizing:border-box;display:flex;flex-grow:1;min-block-size:55px;padding-right:10px;width:calc(100% - 72px)}.gravitysmtp-admin .gravitysmtp-view-email__header-title .gravitysmtp-view-email__placeholder-stripe{margin-block-end:0}.gravitysmtp-admin .gravitysmtp-view-email__header-title .gform-heading{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.gravitysmtp-admin .gravitysmtp-view-email__header-details-actions{display:none}@media (min-width:640px){.gravitysmtp-admin .gravitysmtp-view-email__container--html-mode .gravitysmtp-view-email__header-details-actions{align-self:flex-end;display:flex;flex-direction:row;justify-content:flex-end;width:72px}}.gravitysmtp-admin .gravitysmtp-view-email__header-details-image{background:#f2f3f5;border-radius:100%;color:#c3c5db;display:flex;flex-basis:40px;height:40px;margin-inline-end:12px;overflow:hidden;position:relative;width:40px}.gravitysmtp-admin .gravitysmtp-view-email__header-details-default{align-items:center;display:flex;font-size:24px;height:40px;justify-content:center;width:40px}.gravitysmtp-admin .gravitysmtp-view-email__header-details-gravatar{left:0;position:absolute;top:0}.gravitysmtp-admin .gravitysmtp-view-email__header-details-left{display:flex;flex-direction:row;flex-grow:1}.gravitysmtp-admin .gravitysmtp-view-email__header-details-subject{overflow:hidden;padding-inline-end:20px;text-overflow:ellipsis;white-space:nowrap}.gravitysmtp-admin .gravitysmtp-view-email__header-details{box-sizing:border-box;display:flex;flex-direction:row;overflow:hidden;padding:8px 24px;width:100%}.gravitysmtp-admin .gravitysmtp-view-email__header-details-meta--loading{width:30%}.gravitysmtp-admin .gravitysmtp-view-email__header-details-from,.gravitysmtp-admin .gravitysmtp-view-email__header-details-to{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gravitysmtp-admin .gravitysmtp-view-email__header-details--comet{color:#5b5e80}.gravitysmtp-admin .gravitysmtp-view-email__wrapper{display:flex;height:calc(100% - 110px);justify-content:center;overflow:hidden;position:relative}.gravitysmtp-admin .gravitysmtp-view-email__container--html-mode .gravitysmtp-view-email__wrapper{background:#585e6a}.gravitysmtp-admin .gravitysmtp-view-email__iframe{background:#fff;border:none;height:100%;transition:width .4s ease-in-out;width:100%}@media (min-width:640px){.gravitysmtp-admin .gravitysmtp-view-email__container--mobile-mode .gravitysmtp-view-email__iframe{width:400px}}.gravitysmtp-admin .gravitysmtp-view-email__header-details-right{display:none}@media (min-width:1280px){.gravitysmtp-admin .gravitysmtp-view-email__header-details-right{align-items:center;display:flex;flex-direction:row}}.gravitysmtp-admin .gravitysmtp-single-activity__dialog{max-inline-size:25rem} \ No newline at end of file diff --git a/assets/css/dist/admin-components.min.css b/assets/css/dist/admin-components.min.css index 8ab8794..1e33da9 100644 --- a/assets/css/dist/admin-components.min.css +++ b/assets/css/dist/admin-components.min.css @@ -1 +1 @@ -.gravitysmtp-admin .gform-alert{-webkit-font-smoothing:antialiased;align-items:flex-start;background-color:#fff;border:1px solid #d5d7e9;border-radius:3px;box-shadow:0 1px 4px rgba(0,0,0,.11),0 0 4px rgba(18,25,97,.0405344);color:#242748;display:flex;flex-wrap:nowrap;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-weight:500;margin-block-end:1rem;padding-block-end:12px;padding-block-start:11px;padding-inline:20px;position:relative}.field_setting .gravitysmtp-admin .gform-alert,.gravitysmtp-admin .gform-alert+.field_setting{margin-block-start:1rem}.gravitysmtp-admin .gform-alert.gform-alert--inline{padding-block-end:7px;padding-block-start:6px;padding-inline:12px}.gravitysmtp-admin .gform-alert.gform-alert--inline .gform-alert__message-wrap{-moz-column-gap:10px;column-gap:10px;padding-inline-start:28px;row-gap:7px}.gravitysmtp-admin .gform-alert.gform-alert--inline .gform-alert__message-wrap .gform-alert__message{font-size:.75rem;padding-block-start:8px}.gravitysmtp-admin .gform-alert.gform-alert--inline .gform-alert__icon{font-size:21px;height:19px;inset-block-start:13px;inset-inline-start:12px;width:19px}.gravitysmtp-admin .gform-alert .gform-alert__message-wrap{-moz-column-gap:15px;column-gap:15px;display:flex;flex-wrap:wrap;min-height:33px;padding-inline-start:32px;row-gap:10px;width:100%}.gravitysmtp-admin .gform-alert .gform-alert__message-wrap .gform-alert__message{color:inherit;flex:1 1 auto;font-size:.8125rem;font-weight:500;line-height:1.5;margin:0;padding-block-start:7px}.gravitysmtp-admin .gform-alert .gform-alert__message-wrap .gform-alert__message a,.gravitysmtp-admin .gform-alert .gform-alert__message-wrap .gform-alert__message a:hover{color:inherit}.gravitysmtp-admin .gform-alert .gform-alert__dismiss{align-self:flex-start;background:0 0;border:none;cursor:pointer;height:20px;inset-block-start:8px;margin-inline-start:12px;min-width:20px;padding:0;position:relative;text-align:center;width:20px}.gravitysmtp-admin .gform-alert .gform-alert__dismiss::after,.gravitysmtp-admin .gform-alert .gform-alert__dismiss::before{border:1px solid transparent;border-radius:50%;content:"";inset-block-start:calc(50% - 1px);inset-inline-start:50%;position:absolute;transform:translate3d(-50%,-50%,0);transition:border-color .2s ease-in-out}.gravitysmtp-admin .gform-alert .gform-alert__dismiss::before{height:23px;width:23px;z-index:1}.gravitysmtp-admin .gform-alert .gform-alert__dismiss::after{border-width:2px;height:25px;width:25px}.gravitysmtp-admin .gform-alert .gform-alert__dismiss:focus .gform-icon,.gravitysmtp-admin .gform-alert .gform-alert__dismiss:hover .gform-icon{color:#5b5e80}.gravitysmtp-admin .gform-alert .gform-alert__dismiss:focus::before{border-color:#3985b7}.gravitysmtp-admin .gform-alert .gform-alert__dismiss:focus::after{border-color:#bed8ed}.gravitysmtp-admin .gform-alert .gform-alert__dismiss .gform-icon{color:#9092b2;font-size:2.1rem;height:0;inset-block-start:50%;inset-inline-start:0;line-height:0;position:absolute;transition:color .2s ease-in-out}.gravitysmtp-admin .gform-alert.gform-alert--notice{border-color:#175cff;color:#175cff}.gravitysmtp-admin .gform-alert.gform-alert--notice .gform-alert__icon{color:#175cff}.gravitysmtp-admin .gform-alert.gform-alert--error{border-color:#dd301d;color:#dd301d}.gravitysmtp-admin .gform-alert.gform-alert--error .gform-alert__icon{color:#dd301d}.gravitysmtp-admin .gform-alert.gform-alert--success{border-color:#22a753;color:#22a753}.gravitysmtp-admin .gform-alert.gform-alert--success .gform-alert__icon{color:#22a753}.gravitysmtp-admin .gform-alert.gform-alert--accessibility{border-color:#ffbe03}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos{border-color:#d2d5db;padding:1rem}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap{min-height:25px;padding-block-start:2rem;padding-inline-start:0}@media (min-width:768px){.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap{padding-block-start:0;padding-inline-start:2rem}}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap .gform-alert__message{font-size:.875rem;padding-block-start:0}@media (min-width:768px){.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap .gform-alert__message{padding-block-start:0.125rem}}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap .gform-alert__message>*{font-size:.875rem;font-weight:400}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap .gform-alert__message .gform-list{margin-inline-start:1rem}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap .gform-alert__message .gform-list.gform-list--bulleted,.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap .gform-alert__message .gform-list.gform-list--decimal{padding-inline-start:0}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap .gform-alert__message .gform-list.gform-list--bulleted li,.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap .gform-alert__message .gform-list.gform-list--decimal li{margin-block-end:0}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--info{color:#242748}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--info .gform-alert__message-wrap .gform-alert__message{color:#242748}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--info .gform-alert__message-wrap .gform-alert__message>*{color:#585e6a}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--info .gform-alert__icon{color:#242748}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--info .gform-alert__icon::after{background-color:#f2f3f5;border-color:#d2d5db}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--notice{background:#f4f8ff;border-color:#c3d9ff;color:#044ad3}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--notice .gform-alert__message-wrap .gform-alert__message{color:#044ad3}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--notice .gform-alert__icon{color:#044ad3}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--success{background:#fbfffb;border-color:#31c48d;color:#2f833d}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--success .gform-alert__message-wrap .gform-alert__message{color:#2f833d}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--success .gform-alert__icon{color:#2f833d}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--error,.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--incorrect{background:#fff9f9;border-color:#ffc7bb;color:#c02b0a}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--error .gform-alert__message-wrap .gform-alert__message,.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--incorrect .gform-alert__message-wrap .gform-alert__message{color:#c02b0a}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--error .gform-alert__icon,.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--incorrect .gform-alert__icon{color:#c02b0a}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__icon{inset-inline-start:16px}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__icon.gform-icon--preset-active{position:absolute}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__icon.gform-icon--preset-active::before{position:absolute}.gravitysmtp-admin .gform-alert__icon{color:#242748;font-size:24px;height:21px;inset-block-start:17px;inset-inline-start:20px;position:absolute;width:21px}.gravitysmtp-admin .gform-alert__icon::before{height:0;inset-block-start:50%;left:50%;line-height:0;position:absolute;transform:translate3d(-50%,-50%,0);z-index:1}.gravitysmtp-admin .gform-alert__cta{margin-block-start:1px}.gravitysmtp-admin .gform-button{align-items:center;border:1px solid transparent;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.05);box-sizing:border-box;cursor:pointer;display:inline-flex;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;font-weight:500;height:2.375rem;line-height:normal;padding-block:0;padding-inline:1.125rem;position:relative;text-decoration:none;transition:transform .3s ease,box-shadow .3s ease,background-color .3s ease;white-space:nowrap}.gravitysmtp-admin .gform-button:focus{outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-button:disabled{pointer-events:none}.gravitysmtp-admin .gform-button.gform-button--circular{border-radius:100%;justify-content:center;padding:0}.gravitysmtp-admin .gform-button__icon{font-size:1.25rem;position:relative}.gravitysmtp-admin .gform-button--width-half{justify-content:center;width:50%}.gravitysmtp-admin .gform-button--width-full{justify-content:center;width:100%}.gravitysmtp-admin .gform-button--primary{background:#3e7da6;border-color:#3e7da6;color:#fff}.gravitysmtp-admin .gform-button--primary:active,.gravitysmtp-admin .gform-button--primary:hover{background:#3985b7}.gravitysmtp-admin .gform-button--primary:disabled{background:#3e7da6;color:#639cc1}.gravitysmtp-admin .gform-button--primary-new{background:#0f3d6c;border-color:#0f3d6c;box-shadow:0 1px 2px rgba(0,0,0,.05);color:#fff}.gravitysmtp-admin .gform-button--primary-new:active,.gravitysmtp-admin .gform-button--primary-new:hover{background:#242748;border-color:#242748;box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-button--primary-new:focus{border-color:#f6f9fc;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-button--primary-new:disabled{background:#0f3d6c;border-color:#0f3d6c;opacity:.5}.gravitysmtp-admin .gform-button--primary-new .gform-button__loader circle{stroke:#fff}.gravitysmtp-admin .gform-button--secondary{background:#fff;border-color:#3e7da6;color:#3e7da6}.gravitysmtp-admin .gform-button--secondary:active,.gravitysmtp-admin .gform-button--secondary:hover{border-color:#3985b7;color:#3985b7}.gravitysmtp-admin .gform-button--secondary:disabled{border-color:#c3c5db;color:#c3c5db}.gravitysmtp-admin .gform-button--white{background:#fdfdff;border-color:#d5d7e9;box-shadow:0 1px 2px rgba(0,0,0,.05);color:#242748}.gravitysmtp-admin .gform-button--white:active,.gravitysmtp-admin .gform-button--white:hover{box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-button--white:focus{border-color:#c3c5db;outline:.125rem solid #ecedf8}.gravitysmtp-admin .gform-button--white:disabled{border-color:#d5d7e9;opacity:.5}.gravitysmtp-admin .gform-button--white .gform-button__icon{color:#5b5e80}.gravitysmtp-admin .gform-button--white .gform-button__loader circle{stroke:#5b5e80}.gravitysmtp-admin .gform-button--apple-green{background:#f5fcf6;border-color:#e1f6ed;box-shadow:0 1px 2px rgba(0,0,0,.05);color:#22a753}.gravitysmtp-admin .gform-button--apple-green:active,.gravitysmtp-admin .gform-button--apple-green:hover{box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-button--apple-green:focus{border-color:#57c091;outline:.125rem solid #e1f6ed}.gravitysmtp-admin .gform-button--apple-green:disabled{border-color:#e1f6ed;opacity:.5}.gravitysmtp-admin .gform-button--egyptian-blue{background:#fdfdff;border-color:#bed8ed;box-shadow:0 1px 2px rgba(0,0,0,.05);color:#175cff}.gravitysmtp-admin .gform-button--egyptian-blue:active,.gravitysmtp-admin .gform-button--egyptian-blue:hover{box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-button--egyptian-blue:focus{border-color:#175cff;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-button--egyptian-blue:disabled{border-color:#bed8ed;opacity:.5}.gravitysmtp-admin .gform-button--amaranth-red{background:#fff9f9;border-color:#ffc7bb;box-shadow:0 1px 2px rgba(0,0,0,.05);color:#dd301d}.gravitysmtp-admin .gform-button--amaranth-red:active,.gravitysmtp-admin .gform-button--amaranth-red:hover{box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-button--amaranth-red:focus{border-color:#dd301d;outline:.125rem solid #ffc7bb}.gravitysmtp-admin .gform-button--amaranth-red:disabled{border-color:#ffc7bb;opacity:.5}.gravitysmtp-admin .gform-button--simplified{background:0 0;box-shadow:none;color:#5b5e80}.gravitysmtp-admin .gform-button--simplified:active,.gravitysmtp-admin .gform-button--simplified:hover{background-color:#ecedf8;border-color:#fff;color:#0f3d6c}.gravitysmtp-admin .gform-button--simplified:focus{border-color:#175cff;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-button--simplified:disabled{border-color:#bed8ed;opacity:.5}.gravitysmtp-admin .gform-button--unstyled{background:0 0;border:none;box-shadow:none;color:#242748;font-size:.8125rem;padding:0}.gravitysmtp-admin .gform-button--unstyled .gform-button__icon{color:#9092b2;font-size:1.5rem;inset-block-start:0.05rem;padding-inline-end:0.25rem;position:relative}.gravitysmtp-admin .gform-button--unstyled:active,.gravitysmtp-admin .gform-button--unstyled:focus,.gravitysmtp-admin .gform-button--unstyled:hover{background:0 0;border:none;box-shadow:none;color:#3e7da6;outline:0}.gravitysmtp-admin .gform-button--unstyled:active .gform-button__icon,.gravitysmtp-admin .gform-button--unstyled:focus .gform-button__icon,.gravitysmtp-admin .gform-button--unstyled:hover .gform-button__icon{color:#3e7da6}.gravitysmtp-admin .gform-button--unstyled:disabled{border:none;color:#c3c5db}.gravitysmtp-admin .gform-button--icon-grey,.gravitysmtp-admin .gform-button--icon-white{color:#5b5e80}.gravitysmtp-admin .gform-button--icon-grey.gform-button--size-height-s,.gravitysmtp-admin .gform-button--icon-white.gform-button--size-height-s{block-size:1.875rem;inline-size:1.875rem;padding:.25rem}.gravitysmtp-admin .gform-button--icon-grey.gform-button--size-height-m,.gravitysmtp-admin .gform-button--icon-white.gform-button--size-height-m{block-size:2.25rem;inline-size:2.25rem;padding:.4375rem}.gravitysmtp-admin .gform-button--icon-white{background:#fdfdff;border-color:#d5d7e9;box-shadow:0 1px 2px rgba(0,0,0,.05)}.gravitysmtp-admin .gform-button--icon-white:active,.gravitysmtp-admin .gform-button--icon-white:hover{box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-button--icon-white:focus{border-color:#175cff;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-button--icon-white:disabled{border-color:#d5d7e9;box-shadow:0 1px 2px rgba(0,0,0,.05);opacity:.5}.gravitysmtp-admin .gform-button--icon-grey{background:#fff;border-color:#fff;box-shadow:none}.gravitysmtp-admin .gform-button--icon-grey:active,.gravitysmtp-admin .gform-button--icon-grey:hover{background:#ecedf8;border-color:#ecedf8}.gravitysmtp-admin .gform-button--icon-grey:focus{background:#fdfdff;border-color:#175cff;box-shadow:0 1px 2px rgba(0,0,0,.05);outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-button--icon-grey:disabled{background:#fdfdff;border-color:#fdfdff;box-shadow:0 1px 2px rgba(0,0,0,.05);opacity:.5}.gravitysmtp-admin .gform-button--size-xs{block-size:2rem;font-size:.75rem;padding-block:0;padding-inline:0.6875rem}.gravitysmtp-admin .gform-button--size-xs .gform-button__icon{font-size:1rem}.gravitysmtp-admin .gform-button--size-sm{block-size:2.125rem;padding-block:0;padding-inline:0.8125rem}.gravitysmtp-admin .gform-button--size-sm .gform-button__icon{font-size:1rem}.gravitysmtp-admin .gform-button--size-l{block-size:2.625rem;font-size:1rem}.gravitysmtp-admin .gform-button--size-l .gform-button__icon{font-size:1.25rem}.gravitysmtp-admin .gform-button--size-xl{block-size:3.125rem;font-size:1rem;padding-block:0.8125rem;padding-inline:1.5625rem}.gravitysmtp-admin .gform-button--size-xl .gform-button__icon{font-size:1.25rem}.gravitysmtp-admin .gform-button--size-height-s{height:1.875rem;padding:.375rem .5rem}.gravitysmtp-admin .gform-button--size-height-m{height:2.125rem;padding:.375rem .625rem}.gravitysmtp-admin .gform-button--size-height-l{height:2.375rem;padding:.5rem .875rem}.gravitysmtp-admin .gform-button--size-height-xl{height:2.875rem;padding:.75rem .875rem}.gravitysmtp-admin .gform-button--size-height-xxl{height:3.375rem;padding:.875rem}.gravitysmtp-admin .gform-button--icon-leading .gform-button__icon{margin-inline-end:.35rem}.gravitysmtp-admin .gform-button--icon-leading.gform-button--size-xs .gform-button__icon{margin-inline-end:.375rem}.gravitysmtp-admin .gform-button--icon-leading.gform-button--size-sm .gform-button__icon{margin-inline-end:.375rem}.gravitysmtp-admin .gform-button--icon-leading.gform-button--size-l .gform-button__icon{margin-inline-end:.625rem}.gravitysmtp-admin .gform-button--icon-leading.gform-button--size-xl .gform-button__icon{margin-inline-end:.75rem}.gravitysmtp-admin .gform-button--icon-trailing .gform-button__icon{margin-inline-start:.5rem}.gravitysmtp-admin .gform-button--icon-trailing.gform-button--size-xs .gform-button__icon{margin-inline-start:.375rem}.gravitysmtp-admin .gform-button--icon-trailing.gform-button--size-sm .gform-button__icon{margin-inline-start:.375rem}.gravitysmtp-admin .gform-button--icon-trailing.gform-button--size-l .gform-button__icon{margin-inline-start:.625rem}.gravitysmtp-admin .gform-button--icon-trailing.gform-button--size-xl .gform-button__icon{margin-inline-start:.75rem}.gravitysmtp-admin .gform-button--round{border-radius:1.1875rem}.gravitysmtp-admin .gform-button--round.gform-button--size-xs{border-radius:.9375rem}.gravitysmtp-admin .gform-button--round.gform-button--size-sm{border-radius:1.0625rem}.gravitysmtp-admin .gform-button--round.gform-button--size-l{border-radius:1.3125rem}.gravitysmtp-admin .gform-button--round.gform-button--size-xl{border-radius:1.5625rem}.gravitysmtp-admin .gform-button--circular{height:2.375rem;width:2.375rem}.gravitysmtp-admin .gform-button--circular .gform-button__icon{font-size:1.375rem}.gravitysmtp-admin .gform-button--circular.gform-button--size-xs{height:1.875rem;width:1.875rem}.gravitysmtp-admin .gform-button--circular.gform-button--size-xs .gform-button__icon{font-size:1.125rem}.gravitysmtp-admin .gform-button--circular.gform-button--size-sm{height:2.125rem;width:2.125rem}.gravitysmtp-admin .gform-button--circular.gform-button--size-sm .gform-button__icon{font-size:1.25rem}.gravitysmtp-admin .gform-button--circular.gform-button--size-l{height:2.625rem;width:2.625rem}.gravitysmtp-admin .gform-button--circular.gform-button--size-l .gform-button__icon{font-size:1.75rem}.gravitysmtp-admin .gform-button--circular.gform-button--size-xl{height:3.125rem;width:3.125rem}.gravitysmtp-admin .gform-button--circular.gform-button--size-xl .gform-button__icon{font-size:2rem}.gravitysmtp-admin .gform-button__text--active{display:none;margin-inline-start:10px}.gravitysmtp-admin .gform-button--loader-after .gform-button__text--active{margin-inline:0 0.5rem}.gravitysmtp-admin .gform-button--activated{justify-content:center}.gravitysmtp-admin .gform-button--activated.gform-button--primary{color:#fff}.gravitysmtp-admin .gform-button--activated .gform-button__icon--inactive{display:none}.gravitysmtp-admin .gform-button--activated .gform-button__text--inactive{display:none}.gravitysmtp-admin .gform-button--activated .gform-button__text--active{display:inline-flex}.gravitysmtp-admin .gform-branded-button{align-items:stretch;block-size:2.5rem;border-radius:3px;box-shadow:0 0 0 rgba(18,25,97,.05),0 2px 5px rgba(18,25,97,.1),0 1px 1px rgba(18,25,97,.15);box-sizing:border-box;cursor:pointer;display:inline-flex;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;font-weight:700;padding:0;text-decoration:none;transition:transform .3s ease,box-shadow .3s ease,background-color .3s ease;white-space:nowrap}.gravitysmtp-admin .gform-branded-button:focus{outline-offset:0}.gravitysmtp-admin .gform-branded-button:disabled{pointer-events:none}.gravitysmtp-admin .gform-branded-button--color{background:#175cff;border:1px solid #175cff;color:#fff}.gravitysmtp-admin .gform-branded-button--color:active,.gravitysmtp-admin .gform-branded-button--color:hover{box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-branded-button--color:focus{outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-branded-button--color:disabled{box-shadow:0 0 0 rgba(18,25,97,.05),0 2px 5px rgba(18,25,97,.1),0 1px 1px rgba(18,25,97,.15);opacity:.5}.gravitysmtp-admin .gform-branded-button--white{background:#fff;border:1px solid #fff;color:#5b5e80}.gravitysmtp-admin .gform-branded-button--white:active,.gravitysmtp-admin .gform-branded-button--white:hover{box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-branded-button--white:focus{outline:.125rem solid #ecedf8}.gravitysmtp-admin .gform-branded-button--white:disabled{box-shadow:0 0 0 rgba(18,25,97,.05),0 2px 5px rgba(18,25,97,.1),0 1px 1px rgba(18,25,97,.15);opacity:.5}.gravitysmtp-admin .gform-branded-button__svg{align-items:center;background:#fff;block-size:2.375rem;border-radius:2px;display:flex;inline-size:2.375rem;justify-content:center}.gravitysmtp-admin .gform-branded-button__text{align-items:center;display:flex;justify-content:center;padding-inline:0.625rem}.gravitysmtp-admin .gform-calendar__wrapper{display:inline-block;position:relative}.gravitysmtp-admin .gform-calendar__wrapper .gform-calendar{display:none;margin-block-start:0.5rem;position:absolute;z-index:10}.gravitysmtp-admin .gform-calendar__wrapper.gform-calendar__wrapper--trigger-active .gform-calendar{display:block}.gravitysmtp-admin .gform-calendar{background:#fff;border-radius:3px;box-shadow:0 0 1px rgba(18,25,97,.24),0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);box-sizing:border-box;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;inline-size:17.125rem;padding:.75rem}.gravitysmtp-admin .gform-calendar__calendar button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;cursor:pointer;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;outline:0;padding:0}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__navigation{display:flex;gap:.375rem;margin-block-end:0.375rem}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__navigation__arrow{block-size:1.5rem;border:1px solid #e4e9eb;border-radius:3px;box-shadow:0 1px 4px rgba(18,25,97,.0779552);flex:none;inline-size:1.5rem;padding:1px}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__navigation__arrow svg path{fill:#5b5e80}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__navigation__arrow:focus svg path,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__navigation__arrow:hover svg path{fill:#0f3d6c}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__navigation__label{color:#242748;flex:auto;font-size:.875rem;font-weight:500}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__navigation__label:focus,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__navigation__label:hover{color:#0f3d6c}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month{border:1px solid transparent;border-radius:3px;color:#242748;line-height:1}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade.react-calendar__tile--range,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade:hover,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year.react-calendar__tile--range,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year:hover,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day.react-calendar__tile--range,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day:hover,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month.react-calendar__tile--range,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month:hover{background:#f2f3f5;border:1px solid #d5d7e9}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade:focus,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year:focus,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day:focus,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month:focus{border:1px solid #0f3d6c}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade:disabled,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year:disabled,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day:disabled,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month:disabled{color:#d5d7e9}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade.react-calendar__tile--now,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year.react-calendar__tile--now,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day.react-calendar__tile--now,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month.react-calendar__tile--now{position:relative}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month.react-calendar__tile--now::after{background:#0f3d6c;block-size:3px;border-radius:50%;content:"";inline-size:3px;inset-block-end:0.125rem;inset-inline-start:50%;position:absolute;transform:translateX(-50%)}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade.react-calendar__tile--rangeEnd,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade.react-calendar__tile--rangeStart,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year.react-calendar__tile--rangeEnd,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year.react-calendar__tile--rangeStart,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day.react-calendar__tile--rangeEnd,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day.react-calendar__tile--rangeStart,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month.react-calendar__tile--rangeEnd,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month.react-calendar__tile--rangeStart{background:#0f3d6c;border:1px solid #0f3d6c;color:#fff}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade.react-calendar__tile--rangeEnd.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade.react-calendar__tile--rangeStart.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year.react-calendar__tile--rangeEnd.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year.react-calendar__tile--rangeStart.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day.react-calendar__tile--rangeEnd.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day.react-calendar__tile--rangeStart.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month.react-calendar__tile--rangeEnd.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month.react-calendar__tile--rangeStart.react-calendar__tile--now::after{background:#fff}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__weekdays{block-size:2.3125rem;margin-inline:calc((0.75rem / 2) * -1)}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__weekdays__weekday{align-items:center;display:flex;justify-content:center}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__weekdays__weekday abbr{font-size:.75rem;font-weight:600;text-decoration:none}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days{grid-column-gap:calc(0.75rem / 2);-moz-column-gap:calc(0.75rem / 2);column-gap:calc(.75rem / 2);display:grid!important;grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr 1fr;margin-inline:calc((0.75rem / 2) * -1);grid-row-gap:0.75rem;row-gap:.75rem}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day{block-size:2rem;font-size:.875rem;font-weight:400}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day.react-calendar__month-view__days__day--neighboringMonth{color:#d5d7e9}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view{padding-block:1rem 0.625rem}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months{grid-column-gap:0.625rem;-moz-column-gap:0.625rem;column-gap:.625rem;display:grid!important;grid-template-columns:1fr 1fr 1fr;grid-row-gap:0.75rem;row-gap:.75rem}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month{background:#fdfdff;block-size:1.875rem;font-size:.75rem;font-weight:500}.gravitysmtp-admin .gform-calendar__footer{display:flex;justify-content:center;margin-block-start:0.75rem}.gravitysmtp-admin .gform-card{aspect-ratio:1/1;border-radius:.1875rem;box-shadow:0 0 0 rgba(18,25,97,.05),0 2px 5px rgba(18,25,97,.1),0 1px 1px rgba(18,25,97,.15);display:flex;flex-direction:column;justify-content:center;position:relative;transition:box-shadow .2s ease;width:100%}.gravitysmtp-admin .gform-card,.gravitysmtp-admin .gform-card *{box-sizing:border-box}.gravitysmtp-admin .gform-card__top-container{border-start-end-radius:0.1875rem;border-start-start-radius:0.1875rem;flex:1;position:relative}.gravitysmtp-admin .gform-card__bottom-container{background-color:#fff;border-block-start:1px solid #ecedf8;border-end-end-radius:0.1875rem;border-end-start-radius:0.1875rem;padding:1.25rem;position:relative;width:100%;z-index:1}.gravitysmtp-admin .gform-card--integration{aspect-ratio:auto;border:1px solid #d3d3e0;box-shadow:0 2px 2px rgba(58,58,87,.0596411);min-inline-size:275px}.gravitysmtp-admin .gform-card--integration.gform-card--disabled{opacity:.5}.gravitysmtp-admin .gform-card--integration.gform-card--disabled::after{block-size:100%;content:"";inline-size:100%;inset-block-start:0;inset-inline-start:0;position:absolute;z-index:5}.gravitysmtp-admin .gform-card--integration .gform-card__top-container{background:#fff;padding-block:1.5rem 1.25rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-card--integration .gform-card__bottom-container{padding-block:1rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-card--integration .gform-card__top-container-description{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;overflow:hidden;text-overflow:ellipsis}.gravitysmtp-admin .gform-card--metric{align-items:center;background:#fff;border:1px solid #d5d7e9;border-radius:3px;display:flex;flex-direction:row;inline-size:100%;padding:24px}.gravitysmtp-admin .gform-card--metric,.gravitysmtp-admin .gform-card--metric *{box-sizing:border-box}.gravitysmtp-admin .gform-card--metric .gform-card__metric-title{color:#5b5e80}.gravitysmtp-admin .gform-card--metric .gform-card__metric-count{bottom:-.25rem;position:relative}.gravitysmtp-admin .gform-chart__wrapper{color:#5b5e80;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.75rem;padding-inline-end:1.25rem}.gravitysmtp-admin .gform-chart__checkboxes{display:flex;justify-content:flex-end;width:100%}.gravitysmtp-admin .gform-input--checkbox{border:0 none;clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.gravitysmtp-admin .gform-input--checkbox+label{outline:0}.gravitysmtp-admin .gform-input--checkbox:disabled+label::before{opacity:.6}.gravitysmtp-admin .gform-input--checkbox:not(.field-choice-type)+label::before{background:center no-repeat #fff;block-size:1.375rem;border:1px solid #9092b2;border-radius:3px;content:"";display:inline-block;inline-size:1.375rem;margin-inline-end:.375rem;transition:box-shadow .15s ease,background-color .15s ease;vertical-align:middle}.gravitysmtp-admin .gform-input--checkbox:not(.field-choice-type)+label::-moz-selection{background:0 0}.gravitysmtp-admin .gform-input--checkbox:not(.field-choice-type)+label::selection{background:0 0}.gravitysmtp-admin .gform-input--checkbox:focus+label::before,.gravitysmtp-admin .gform-input--checkbox:hover+label::before{border:1px solid #3985b7;box-shadow:0 0 0 2px #bed8ed}.gravitysmtp-admin .gform-input--checkbox:checked:not(.field-choice-type--checkbox)+label::before{background-image:url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6.58579L10.2929 0.292893C10.6834 -0.0976311 11.3166 -0.0976311 11.7071 0.292893C12.0976 0.683418 12.0976 1.31658 11.7071 1.70711L4 9.41421L0.292893 5.70711C-0.0976311 5.31658 -0.0976311 4.68342 0.292893 4.29289C0.683418 3.90237 1.31658 3.90237 1.70711 4.29289L4 6.58579Z' fill='%233E7DA6'/%3E%3C/svg%3E");border-color:#3e7da6}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-input-wrapper--checkbox,.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-input-wrapper--checkbox *,.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-input-wrapper--checkbox ::after,.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-input-wrapper--checkbox ::before{box-sizing:border-box}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox+.gform-label{align-items:flex-start;display:flex}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox+.gform-label::before{border:.0625rem solid #9092b0;box-shadow:0 1px 4px rgba(18,25,97,.0779552);flex:none}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox:hover+.gform-label::before{background-color:#f6f9fc}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox:focus+.gform-label::before{background-color:#f6f9fc;border-color:#175cff;box-shadow:0 1px 2px rgba(0,0,0,.05),0 0 0 2px #bed8ed}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox:checked+.gform-label::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTQuMTMzIDYuOTQ3IDUuODc0LTUuODc0YS45MzMuOTMzIDAgMCAxIDEuMzIgMS4zMmwtNi44NCA2Ljg0YS41LjUgMCAwIDEtLjcwNyAwTC42NzMgNi4xMjZhLjkzMy45MzMgMCAxIDEgMS4zMi0xLjMybDIuMTQgMi4xNFoiIGZpbGw9IiMwRjNENkMiLz48L3N2Zz4=")}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox:indeterminate+.gform-label::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMiIgdmlld0JveD0iMCAwIDEwIDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xLjUgMUg4LjUiIHN0cm9rZT0iIzBGM0Q2QyIgc3Ryb2tlLXdpZHRoPSIxLjY2NjY2IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==")}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox:disabled+.gform-label{color:#d5d7e9}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox:disabled+.gform-label::before{background-color:#f6f9fc;border-color:#ecedf8;box-shadow:none;opacity:1}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox:disabled:checked+.gform-label::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyLjMzMyAxIDUgOC4zMzMgMS42NjcgNSIgc3Ryb2tlPSIjRUNFREY4IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==")}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox:disabled~.gform-input-help-text{color:#d5d7e9}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox.gform-input--size-sm+.gform-label::before{block-size:1.125rem;inline-size:1.125rem;margin-inline-end:.5rem}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox.gform-input--size-sm:checked+.gform-label::before{background-size:10px 8px}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox.gform-input--size-sm~.gform-input-help-text{margin-inline-start:1.625rem}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox.gform-input--size-md+.gform-label::before{block-size:1.375rem;inline-size:1.375rem;margin-block-start:-0.0625rem;margin-inline-end:.75rem}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox.gform-input--size-md~.gform-input-help-text{margin-inline-start:2.125rem}.gravitysmtp-admin .gform-data-grid{background:#fff;border:1px solid #d3d3e0;border-radius:3px;box-shadow:0 2px 2px rgba(58,58,87,.0596411);box-sizing:border-box;display:flex;flex-direction:column;width:100%}.gravitysmtp-admin .gform-data-grid *{box-sizing:border-box}.gravitysmtp-admin .gform-data-grid .gform-data-grid__title{padding-block:1.25rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-data-grid__controls{border-block-start:1px solid #d3d3e0;display:flex;flex-direction:column-reverse;inline-size:100%}@media (min-width:40.625rem){.gravitysmtp-admin .gform-data-grid__controls{flex-direction:row}}.gravitysmtp-admin .gform-data-grid__controls-inner{padding-block:1rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-data-grid__controls-inner--left:not(:last-child){border-block-start:1px solid #d3d3e0}@media (min-width:40.625rem){.gravitysmtp-admin .gform-data-grid__controls-inner--left:not(:last-child){border-block-start:0}}.gravitysmtp-admin .gform-data-grid__controls-inner--right{display:flex;gap:.75rem}@media (min-width:40.625rem){.gravitysmtp-admin .gform-data-grid__controls-inner--right{margin-inline-start:auto}}.gravitysmtp-admin .gform-data-grid__controls-bulk-actions,.gravitysmtp-admin .gform-data-grid__controls-search{align-items:center;display:flex;gap:.75rem;inline-size:100%}.gravitysmtp-admin .gform-data-grid__controls-search{justify-content:flex-end}@media (min-width:40.625rem){.gravitysmtp-admin .gform-data-grid__controls-search{max-inline-size:28.75rem}}.gravitysmtp-admin .gform-data-grid__controls-bulk-actions{justify-content:flex-start}@media (min-width:40.625rem){.gravitysmtp-admin .gform-data-grid__controls-bulk-actions{max-inline-size:25rem}}.gravitysmtp-admin .gform-data-grid__controls-bulk-actions-select,.gravitysmtp-admin .gform-data-grid__controls-search-input{flex-grow:1}.gravitysmtp-admin .gform-data-grid__select-notice{align-items:center;border-block-start:1px solid #d3d3e0;display:flex;flex-direction:row;gap:1rem;justify-content:center;min-block-size:2.6875rem;padding:.375rem 1.5rem}.gravitysmtp-admin .gform-data-grid__select-notice .gform-data-grid__bold-text{font-weight:600}.gravitysmtp-admin .gform-data-grid__column-row{background:#f6f9fc;border-block-start:1px solid #d3d3e0;display:flex;flex-direction:row;padding-inline:0.75rem;width:100%}.gravitysmtp-admin .gform-data-grid__column-row .gform-data-grid__column{padding-block:0.75rem;padding-inline:0.75rem}.gravitysmtp-admin .gform-data-grid__column-row .gform-data-grid__column .gform-text{color:#5b5e80}.gravitysmtp-admin .gform-data-grid__column-row .gform-data-grid__column--bulk-select{flex:none;padding-inline-end:0.25rem}.gravitysmtp-admin .gform-data-grid__data-row{border-block-start:1px solid #d3d3e0;display:flex;flex-direction:row;padding-inline:0.75rem;width:100%}.gravitysmtp-admin .gform-data-grid__data-row .gform-data-grid__column{padding-block:1.25rem;padding-inline:0.75rem}.gravitysmtp-admin .gform-data-grid__data-row .gform-data-grid__column--row-select{flex:none;padding-inline-end:0.25rem}.gravitysmtp-admin .gform-data-grid--highlight-hover .gform-data-grid__data-row:hover{background:#f9f9f9}.gravitysmtp-admin .gform-data-grid--highlight-selected .gform-data-grid__data-row.gform-data-grid__data-row--selected{background:#f6f9fc}.gravitysmtp-admin .gform-data-grid--highlight-selected .gform-data-grid__data-row.gform-data-grid__data-row--selected:hover{background:#f6f9fc}.gravitysmtp-admin .gform-data-grid--equal-grid .gform-data-grid__column-row,.gravitysmtp-admin .gform-data-grid--equal-grid .gform-data-grid__data-row{justify-content:space-between}.gravitysmtp-admin .gform-data-grid__column{align-items:center;display:flex;overflow:hidden}.gravitysmtp-admin .gform-data-grid__column .gform-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-data-grid__bulk-select-checkbox .gform-input--checkbox+.gform-label::before,.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-data-grid__row-select-checkbox .gform-input--checkbox+.gform-label::before{margin:0}.gravitysmtp-admin .gform-data-grid__data{position:relative}.gravitysmtp-admin .gform-data-grid__no-data-message{align-items:center;background:#fff;border:1px solid #f4f5fb;border-radius:3px;box-shadow:0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);display:flex;flex-direction:column;justify-content:center;left:50%;padding:1.5rem;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%)}.gravitysmtp-admin .gform-data-grid__pagination{align-items:center;border-block-start:1px solid #d3d3e0;display:flex;flex-direction:row;justify-content:center;padding:1.25rem 1.5rem}.gravitysmtp-admin .gform-data-grid__loader{background-color:#e4e9eb;block-size:22px;border-radius:11px;opacity:1}.gravitysmtp-admin .gform-data-grid__loader.gform-data-grid__loader--animating{animation:gravitysmtpOpacityCycle 1s ease-in-out infinite;animation-delay:-.5s}.gravitysmtp-admin .gform-data-grid--empty .gform-data-grid__pagination{block-size:4.8125rem}.gravitysmtp-admin .gform-data-grid--empty .gform-pagination{display:none}.gravitysmtp-admin .gform-data-grid--loading .gform-data-grid__pagination{opacity:.5;position:relative}.gravitysmtp-admin .gform-data-grid--loading .gform-data-grid__pagination::after{block-size:100%;content:"";display:block;inline-size:100%;inset-block-start:0;inset-inline-start:0;position:absolute}@keyframes gravitysmtpOpacityCycle{0%,100%{opacity:1}50%{opacity:.5}}.gravitysmtp-admin .gform-description-list{background:#fff;border:1px solid #d3d3e0;border-radius:3px;box-shadow:0 2px 2px rgba(58,58,87,.0596411);box-sizing:border-box;width:100%}.gravitysmtp-admin .gform-description-list *{box-sizing:border-box}.gravitysmtp-admin .gform-description-list .gform-description-list__title{padding-block:1.25rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-description-list__description:not(:first-child),.gravitysmtp-admin .gform-description-list__group:not(:first-child),.gravitysmtp-admin .gform-description-list__list:not(:first-child),.gravitysmtp-admin .gform-description-list__term:not(:first-child){border-block-start:1px solid #d3d3e0}.gravitysmtp-admin .gform-description-list__list{margin:0}.gravitysmtp-admin .gform-description-list__description,.gravitysmtp-admin .gform-description-list__term{padding-block:0.75rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-description-list__term{background:#f6f9fc}.gravitysmtp-admin .gform-description-list__description{margin:0}.gravitysmtp-admin .gform-dialog__mask{align-items:center;display:none;height:100%;justify-content:center;left:0;opacity:0;top:0;transition:opacity .2s ease-in-out;width:100%}.gravitysmtp-admin .gform-dialog__mask.gform-dialog--alignment-top{align-items:flex-start;overflow-y:auto;padding-bottom:50px;padding-top:110px}.gravitysmtp-admin .gform-dialog__mask.gform-dialog--anim-in-ready{display:flex;opacity:0}.gravitysmtp-admin .gform-dialog__mask.gform-dialog--anim-in-active{opacity:1}.gravitysmtp-admin .gform-dialog__mask.gform-dialog--anim-in-active .gform-dialog{transform:scale(1)}.gravitysmtp-admin .gform-dialog__mask.gform-dialog__mask--position-fixed{position:fixed}.gravitysmtp-admin .gform-dialog__mask.gform-dialog__mask--position-absolute{position:absolute}.gravitysmtp-admin .gform-dialog__mask.gform-dialog__mask--theme-light{background:rgba(255,255,255,.65)}.gravitysmtp-admin .gform-dialog__mask.gform-dialog__mask--theme-dark{background-color:rgba(36,39,72,.75)}.gravitysmtp-admin .gform-dialog__mask.gform-dialog__mask--blur{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.gravitysmtp-admin .gform-dialog{background:#fff;border:1px solid #f6f9fc;box-shadow:0 0 1px rgba(18,25,97,.24),0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);box-sizing:border-box;max-width:600px;overflow-y:auto;padding:14px 25px 25px;position:relative;transform:scale(.95);transition:transform .2s ease-in-out;width:calc(100% - 40px)}.gravitysmtp-admin .gform-dialog.gform-dialog--container{border:none;box-shadow:none;height:100%;max-width:none;padding:0;width:100%}.gravitysmtp-admin .gform-dialog.gform-dialog--animated{opacity:0;position:relative;top:20px;transform:scale(1);transition:transform .6s,opacity .6s,top .6s}.gravitysmtp-admin .gform-dialog.gform-dialog--animated.gform-dialog--animate-reveal{opacity:1;top:0;transform:scale(1)}.gravitysmtp-admin .gform-dialog.gform-dialog__theme--cosmos{border-radius:3px;box-shadow:0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03)}.gravitysmtp-admin .gform-dialog.gform-dialog__theme--cosmos .gform-dialog__content{color:#667085}.gravitysmtp-admin .gform-dialog.gform-dialog__theme--cosmos .gform-dialog__footer{padding-top:32px}.gravitysmtp-admin .gform-dialog.gform-dialog--simplebar{align-items:stretch;display:flex;flex-direction:column;overflow-y:inherit;padding:0}.gravitysmtp-admin .gform-dialog.gform-dialog--simplebar [data-simplebar=init]{box-sizing:border-box;display:flex;flex-grow:1;overflow-y:auto;padding:14px 25px 25px;width:100%}.gravitysmtp-admin .gform-dialog.gform-dialog--simplebar .simplebar-content-wrapper{border:0;outline:0}.gravitysmtp-admin .gform-dialog .gform-dialog__close{inset-inline-end:25px;position:absolute;top:25px}.gravitysmtp-admin .gform-dialog .gform-dialog__close.gform-button--size-xs{height:1.875rem;width:1.875rem}.gravitysmtp-admin .gform-dialog .gform-dialog__close.gform-button--size-xs .gform-button__icon{top:0}.gravitysmtp-admin .gform-dialog .gform-dialog__close.gform-button--size-md{height:2.5rem;inset-inline-end:20px;top:20px;width:2.5rem}.gravitysmtp-admin .gform-dialog .gform-dialog__close.gform-button--size-md .gform-button__icon{top:0}.gravitysmtp-admin .gform-dialog .gform-dialog__close.gform-button--circular.gform-dialog__close--plain{background:0 0;border:none}.gravitysmtp-admin .gform-dialog .gform-dialog__close.gform-button--circular.gform-dialog__close--plain .gform-button__icon{color:#fff;font-size:2rem}.gravitysmtp-admin .gform-dialog .gform-dialog__close.gform-button--unstyled.gform-button--size-md{justify-content:flex-end}.gravitysmtp-admin .gform-dialog .gform-dialog__close.gform-button--unstyled .gform-button__icon{color:#5b5e80}.gravitysmtp-admin .gform-dialog .gform-dialog__head.gform-dialog__head--with-divider{border-bottom:1px solid #e4e4ee;padding-bottom:15px}.gravitysmtp-admin .gform-dialog .gform-dialog__head .gform-indicator{position:absolute}.gravitysmtp-admin .gform-dialog .gform-dialog__head .gform-indicator--confirm{inset-block-start:28px}.gravitysmtp-admin .gform-dialog .gform-dialog__title{color:#242748;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:1.1875rem;font-weight:500;line-height:normal;line-height:initial;margin:10px 0 0 0;padding-inline-end:30px;position:relative}.gravitysmtp-admin .gform-dialog .gform-dialog__title.gform-dialog__title--has-icon{padding-block-start:6px;padding-inline-start:50px}.gravitysmtp-admin .gform-dialog .gform-dialog__title.gform-dialog__title--icon-type-confirm{padding-block-start:0;padding-inline-start:30px}.gravitysmtp-admin .gform-dialog.gform-dialog--title-size-md .gform-dialog__title{font-size:1.5rem;font-weight:600}.gravitysmtp-admin .gform-dialog .gform-dialog__description{color:#5b5e80;display:inline-block;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;font-weight:400;line-height:normal;line-height:initial;margin:.75rem 0 0 0;padding-inline-end:30px;position:relative}.gravitysmtp-admin .gform-dialog .gform-dialog__description.gform-dialog__title--has-icon{padding-inline-start:50px}.gravitysmtp-admin .gform-dialog .gform-dialog__title-icon{font-size:1.5rem;inset-inline-start:0;position:absolute;top:3px}.gravitysmtp-admin .gform-dialog .gform-dialog__content{padding-bottom:0;padding-inline-start:0;padding-top:10px}.gravitysmtp-admin .gform-dialog .gform-dialog__content.gform-dialog__content--with-divider{padding-top:15px}.gravitysmtp-admin .gform-dialog .gform-dialog__content.gform-dialog__content--pad-content{padding-inline-end:30px}.gravitysmtp-admin .gform-dialog .gform-dialog__content,.gravitysmtp-admin .gform-dialog .gform-dialog__content p{color:#242748;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;line-height:1.188rem}.gravitysmtp-admin .gform-dialog .gform-dialog__footer{align-items:center;display:flex;padding-top:20px;width:100%}.gravitysmtp-admin .gform-dialog .gform-dialog__confirm{margin-inline-start:12px}.gravitysmtp-admin .gform-dialog .gform-dialog__confirm.gform-button--icon-leading .gform-button__icon{font-size:1.5rem}.gravitysmtp-admin .gform-dialog--full-screen{height:calc(100vh - 40px);max-width:1280px;overflow:auto;padding:0}.gravitysmtp-admin .gform-dialog--full-screen .gform-dialog__content{margin:0;padding:0}.gravitysmtp-admin .gform-droplist{box-sizing:border-box;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;position:relative}.gravitysmtp-admin .gform-droplist *{box-sizing:border-box}.gravitysmtp-admin .gform-droplist__list-wrapper{background:#fff;border-radius:.1875rem;box-shadow:0 0 1px rgba(18,25,97,.24),0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);display:none;inset-block-end:calc(0.5rem * -1);inset-block-start:auto;opacity:0;padding-block:0;position:absolute;transform:translateY(100%);transition:opacity .15s ease;z-index:2}.gravitysmtp-admin .gform-droplist--reveal .gform-droplist__list-wrapper{display:block}.gravitysmtp-admin .gform-droplist--hide .gform-droplist__list-wrapper{display:block;opacity:0}.gravitysmtp-admin .gform-droplist--open .gform-droplist__list-wrapper{display:block;opacity:1}.gravitysmtp-admin .gform-droplist--position-top .gform-droplist__list-wrapper{inset-block-end:auto;inset-block-start:calc(0.5rem * -1);transform:translateY(-100%)}.gravitysmtp-admin .gform-droplist--align-left .gform-droplist__list-wrapper{inset-inline-start:0}.gravitysmtp-admin .gform-droplist--align-right .gform-droplist__list-wrapper{inset-inline-end:0}.gravitysmtp-admin .gform-droplist__list-container{padding-block:0.5rem}.gravitysmtp-admin .gform-droplist__list{list-style-type:none;margin:0;padding:0}.gravitysmtp-admin .gform-droplist__item{margin-block-end:0.25rem;padding-block:0.25rem;padding-inline:0.5rem}.gravitysmtp-admin .gform-droplist__item:last-child{margin-block-end:0}.gravitysmtp-admin .gform-droplist__item--group{position:relative}.gravitysmtp-admin .gform-droplist__item--has-divider{position:relative}.gravitysmtp-admin .gform-droplist__item--has-divider::after{border-block-end:0.0625rem solid #ecedf8;content:"";inline-size:100%;inset-block-end:calc(0.25rem * -1);inset-inline-start:0;position:absolute}.gravitysmtp-admin .gform-droplist__item--group>.gform-droplist__list-container{background:#fff;border-radius:.1875rem;box-shadow:0 0 1px rgba(18,25,97,.24),0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);display:none;inset-block-start:0;inset-inline-start:calc(100% + 0.5rem);opacity:0;position:absolute;transition:opacity .15s ease}.gravitysmtp-admin .gform-droplist--align-right .gform-droplist__item--group>.gform-droplist__list-container{inset-inline-end:calc(100% + 0.5rem);inset-inline-start:auto}.gravitysmtp-admin .gform-droplist__item--reveal>.gform-droplist__list-container{display:block}.gravitysmtp-admin .gform-droplist__item--hide>.gform-droplist__list-container{display:block;opacity:0}.gravitysmtp-admin .gform-droplist__item--open>.gform-droplist__list-container{display:block;opacity:1}.gravitysmtp-admin .gform-droplist__item-trigger{align-items:flex-start;background:#fff;border:.0625rem solid #fff;border-radius:.1875rem;cursor:pointer;display:flex;inline-size:100%;outline:0;padding-block:0.25rem;padding-inline:0.5rem;text-align:start;text-decoration:none;transition:all .15s ease}.gravitysmtp-admin .gform-droplist__item-trigger--info:hover{background:#f6f9fc;border-color:#f6f9fc}.gravitysmtp-admin .gform-droplist__item-trigger--info:focus{background:#fdfdff;border-color:#175cff;box-shadow:0 .125rem .0675rem rgba(28,31,63,.0634624),0 0 0 2px #bed8ed}.gravitysmtp-admin .gform-droplist__item-trigger--info:active{background:#f6f9fc;border-color:#d5d7e9;box-shadow:none}.gravitysmtp-admin .gform-droplist__item-trigger--info .gform-droplist__item-trigger-group-icon::before,.gravitysmtp-admin .gform-droplist__item-trigger--info .gform-droplist__item-trigger-icon::before{color:#5b5e80}.gravitysmtp-admin .gform-droplist__item-trigger--error:hover{background:#fee4e2;border-color:#fee4e2}.gravitysmtp-admin .gform-droplist__item-trigger--error:focus{background:#fee4e2;border-color:#dd301d;box-shadow:0 0 0 2px #fee4e2,0 1px 2px 0 rgba(16,24,40,.05)}.gravitysmtp-admin .gform-droplist__item-trigger--error:active{background:#fee4e2;border-color:#ffc7bb;box-shadow:none}.gravitysmtp-admin .gform-droplist__item-trigger--error,.gravitysmtp-admin .gform-droplist__item-trigger--error .gform-droplist__item-trigger-group-icon::before,.gravitysmtp-admin .gform-droplist__item-trigger--error .gform-droplist__item-trigger-icon::before{color:#dd301d}.gravitysmtp-admin .gform-droplist__item-trigger--disabled:disabled{background:#fff;border:.0625rem solid #fff;cursor:default;opacity:.5}.gravitysmtp-admin .gform-droplist__item-trigger-text{flex:auto;white-space:nowrap}.gravitysmtp-admin .gform-droplist__item-trigger-icon{flex:none;font-size:1.25rem;margin-inline-end:.375rem}.gravitysmtp-admin .gform-droplist__item-trigger-group-icon{flex:none;font-size:1.25rem;margin-inline-start:.375rem}.gravitysmtp-admin .gform-heading{font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif}.gravitysmtp-admin .gform-heading.gform-heading--boxed{background:#fdfdff;border:1px solid #e4e9eb;border-radius:3px;padding-block:0.75rem;padding-inline:1rem}.gravitysmtp-admin.admin-bar .gform-flyout.gform-flyout--fixed{top:46px}@media (min-width:783px){.gravitysmtp-admin.admin-bar .gform-flyout.gform-flyout--fixed{top:32px}}.gravitysmtp-admin .gform-flyout{background:#fff;bottom:0;box-shadow:0 0 1px rgba(18,25,97,.24),0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);box-sizing:border-box;display:none;flex-direction:column;height:100%;left:0;opacity:0;padding-top:2.125rem;position:absolute;top:0;transition:opacity 150ms ease-in-out,width 150ms ease-in-out}.gravitysmtp-admin .gform-flyout:hover .gform-flyout__expand{opacity:1}.gravitysmtp-admin .gform-flyout p{margin:0;padding:0}.gravitysmtp-admin .gform-flyout.gform-flyout--anim-in-ready{display:flex}.gravitysmtp-admin .gform-flyout.gform-flyout--anim-in-active{opacity:1}.gravitysmtp-admin .gform-flyout.gform-flyout--fixed{position:fixed}.gravitysmtp-admin .gform-flyout.gform-flyout--absolute{position:absolute}.gravitysmtp-admin .gform-flyout.gform-flyout--hide-expander .gform-flyout__expand{opacity:0}.gravitysmtp-admin .gform-flyout.gform-flyout--right{left:auto;right:0}.gravitysmtp-admin .gform-flyout.gform-flyout--right .gform-flyout__expand-rail{left:-35px}.gravitysmtp-admin .gform-flyout.gform-flyout--right .gform-flyout__expand{left:-35px}.gravitysmtp-admin .gform-flyout.gform-flyout--right .gform-flyout__expand-icon{transform:rotate(90deg)}.gravitysmtp-admin .gform-flyout.gform-flyout--left .gform-flyout__expand-rail{right:-35px}.gravitysmtp-admin .gform-flyout.gform-flyout--left .gform-flyout__expand{right:-35px}.gravitysmtp-admin .gform-flyout.gform-flyout--left .gform-flyout__expand-icon{transform:rotate(-90deg)}.gravitysmtp-admin .gform-flyout.gform-flyout--expanded.gform-flyout--right .gform-flyout__expand-icon{transform:rotate(-90deg)}.gravitysmtp-admin .gform-flyout.gform-flyout--expanded.gform-flyout--left .gform-flyout__expand-icon{transform:rotate(90deg)}.gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs{align-items:center;border:1px solid #d5d7e9;display:flex;font-size:1.25rem;height:1.625rem;position:absolute;right:25px;transition:border-color .2s ease-in-out,box-shadow .2s ease-in-out;width:1.625rem;z-index:5}.gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs:focus,.gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs:hover{border-color:#d5d7e9}.gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs .gform-button__icon{font-size:1.875rem;top:0}.gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs.gform-button--simplified{border:1px solid transparent;height:1.875rem;transition:transform .3s ease,box-shadow .3s ease,background-color .3s ease;width:1.875rem}.gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs.gform-button--simplified:hover{border-color:#fff}.gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs.gform-button--simplified:focus{border-color:#175cff}.gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs.gform-button--simplified .gform-button__icon{font-size:1.125rem;top:auto}.gravitysmtp-admin .gform-flyout .gform-flyout__expand-rail{height:56px;margin-top:-28px;position:absolute;top:50%;width:35px}.gravitysmtp-admin .gform-flyout .gform-flyout__expand{align-items:center;background:#fff;border:1px solid #ecedf8;border-radius:19px;box-shadow:0 0 1px rgba(18,25,97,.24),0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);color:#242748;cursor:pointer;display:flex;height:56px;justify-content:center;margin-top:-28px;opacity:0;position:absolute;top:50%;transition:opacity .15s ease,transform .3s ease,box-shadow .3s ease,border-color .3s ease;width:19px}.gravitysmtp-admin .gform-flyout .gform-flyout__expand:focus{border-color:#d5d7e9;opacity:1;outline:0}.gravitysmtp-admin .gform-flyout .gform-flyout__expand:focus .gform-flyout__expand-icon{color:#3e7da6}.gravitysmtp-admin .gform-flyout .gform-flyout__expand:hover .gform-flyout__expand-icon{color:#3e7da6}.gravitysmtp-admin .gform-flyout .gform-flyout__expand-icon{align-items:center;color:#242748;display:flex;font-size:1rem;height:15px;justify-content:center;position:relative;transition:color .3s ease;width:100%}.gravitysmtp-admin .gform-flyout__head{padding:0 2.875rem 1.25rem;position:relative}.gravitysmtp-admin .gform-flyout__head::after{background:#ecedf8;bottom:0;content:"";height:.0625rem;left:0;position:absolute;width:100%}.gravitysmtp-admin .gform-flyout--no-divider .gform-flyout__head::after{display:none}.gravitysmtp-admin .gform-flyout__title{color:#242748;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;font-weight:500;line-height:18px;margin:0 0 12px}.gravitysmtp-admin .gform-flyout--no-description .gform-flyout__title{margin:0}.gravitysmtp-admin .gform-flyout__desc{color:#242748;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;padding-right:1.125rem}.gravitysmtp-admin .gform-flyout__body{color:#242748;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;overflow-y:auto;padding:1.25rem 2.875rem 2.125rem}.gravitysmtp-admin .gform-flyout__body[focus-within] .gform-flyout__expand{opacity:1}.gravitysmtp-admin .gform-flyout__body:focus-within .gform-flyout__expand{opacity:1}.gravitysmtp-admin .gform-flyout__body .simplebar-wrapper{height:100%}html[dir=rtl] .gravitysmtp-admin .gform-flyout{left:auto;right:0}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--right{left:0;right:auto}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--right .gform-flyout__expand-rail{left:auto;right:-35px}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--right .gform-flyout__expand{left:auto;right:-35px}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--right .gform-flyout__expand-icon{transform:rotate(-90deg)}html[dir=rtl] .gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs{left:25px;right:auto}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--left .gform-flyout__expand-rail{left:-35px;right:auto}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--left .gform-flyout__expand{left:-35px;right:auto}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--left .gform-flyout__expand-icon{transform:rotate(90deg)}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--expanded.gform-flyout--right .gform-flyout__expand-icon{transform:rotate(90deg)}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--expanded.gform-flyout--left .gform-flyout__expand-icon{transform:rotate(-90deg)}.gravitysmtp-admin .gform-gravatar--circular{border-radius:50%;overflow:hidden}.gravitysmtp-admin .gform-grid--container{display:flex}.gravitysmtp-admin .gform-grid--wrap{flex-wrap:wrap}.gravitysmtp-admin .gform-grid--list{list-style:none;margin:0;padding:0}.gravitysmtp-admin .gform-grid--fixed>.gform-grid--item{flex:none}.gravitysmtp-admin .gform-grid--fluid>.gform-grid--item{flex:1}.gravitysmtp-admin .gform-grid--col-spacing-2{margin-inline:calc((0.5rem / 2) * -1)}.gravitysmtp-admin .gform-grid--col-spacing-2>.gform-grid--item{padding-inline:calc(0.5rem / 2)}.gravitysmtp-admin .gform-grid--col-spacing-3{margin-inline:calc((0.75rem / 2) * -1)}.gravitysmtp-admin .gform-grid--col-spacing-3>.gform-grid--item{padding-inline:calc(0.75rem / 2)}.gravitysmtp-admin .gform-grid--col-spacing-4{margin-inline:calc((1rem / 2) * -1)}.gravitysmtp-admin .gform-grid--col-spacing-4>.gform-grid--item{padding-inline:calc(1rem / 2)}.gravitysmtp-admin .gform-grid--col-spacing-5{margin-inline:calc((1.25rem / 2) * -1)}.gravitysmtp-admin .gform-grid--col-spacing-5>.gform-grid--item{padding-inline:calc(1.25rem / 2)}.gravitysmtp-admin .gform-grid--col-spacing-6{margin-inline:calc((1.5rem / 2) * -1)}.gravitysmtp-admin .gform-grid--col-spacing-6>.gform-grid--item{padding-inline:calc(1.5rem / 2)}.gravitysmtp-admin .gform-grid--col-spacing-8{margin-inline:calc((2rem / 2) * -1)}.gravitysmtp-admin .gform-grid--col-spacing-8>.gform-grid--item{padding-inline:calc(2rem / 2)}.gravitysmtp-admin .gform-grid--row-spacing-2{margin-block-end:calc(0.5rem * -1)}.gravitysmtp-admin .gform-grid--row-spacing-2>.gform-grid--item{margin-block-end:0.5rem}.gravitysmtp-admin .gform-grid--row-spacing-4{margin-block-end:calc(1rem * -1)}.gravitysmtp-admin .gform-grid--row-spacing-4>.gform-grid--item{margin-block-end:1rem}.gravitysmtp-admin .gform-grid--row-spacing-6{margin-block-end:calc(1.5rem * -1)}.gravitysmtp-admin .gform-grid--row-spacing-6>.gform-grid--item{margin-block-end:1.5rem}.gravitysmtp-admin .gform-grid--row-spacing-8{margin-block-end:calc(2rem * -1)}.gravitysmtp-admin .gform-grid--row-spacing-8>.gform-grid--item{margin-block-end:2rem}.gravitysmtp-admin .gform-input-help-text{color:#5b5e80;display:block;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.75rem}.gravitysmtp-admin .gform-input-help-text.gform-input-help-text--required{display:inline-flex;margin-inline-start:.375rem}.gravitysmtp-admin .gform-indicator--dot{block-size:1rem;border-radius:50%;box-sizing:border-box;display:block;inline-size:1rem;position:relative}.gravitysmtp-admin .gform-indicator--dot::before{block-size:0.3125rem;border-radius:50%;content:"";inline-size:0.3125rem;inset-block-start:50%;inset-inline-start:50%;position:absolute;transform:translate(-50%,-50%)}.gravitysmtp-admin .gform-indicator--dot.gform-indicator--info{background-color:#f6f9fc}.gravitysmtp-admin .gform-indicator--dot.gform-indicator--info::before{background-color:#9092b0}.gravitysmtp-admin .gform-indicator--dot.gform-indicator--success{background-color:#e1f6ed}.gravitysmtp-admin .gform-indicator--dot.gform-indicator--success::before{background-color:#22a753}.gravitysmtp-admin .gform-indicator--dot.gform-indicator--warning{background-color:#fff6e3}.gravitysmtp-admin .gform-indicator--dot.gform-indicator--warning::before{background-color:#ffbe03}.gravitysmtp-admin .gform-indicator--dot.gform-indicator--error{background-color:#fee4e2}.gravitysmtp-admin .gform-indicator--dot.gform-indicator--error::before{background-color:#dd301d}[dir=rtl] .gravitysmtp-admin .gform-indicator--dot::before{right:20%}.gravitysmtp-admin .gform-indicator--icon{align-items:center;block-size:2.5rem;border:5px solid transparent;border-radius:50%;box-sizing:border-box;display:flex;font-size:1.25rem;inline-size:2.5rem;justify-content:center}.gravitysmtp-admin .gform-indicator--icon.gform-indicator--size-small{block-size:1.25rem;inline-size:1.25rem}.gravitysmtp-admin .gform-indicator--icon.gform-indicator--info{background-color:#ecedf8;color:#9092b0}.gravitysmtp-admin .gform-indicator--icon.gform-indicator--card{background-color:#dde9fc;color:#175cff}.gravitysmtp-admin .gform-indicator--icon.gform-indicator--success{background-color:#e1f6ed;color:#22a753}.gravitysmtp-admin .gform-indicator--icon.gform-indicator--warning{background-color:#fff6e3;color:#ffbe03}.gravitysmtp-admin .gform-indicator--icon.gform-indicator--error{background-color:#fee4e2;border-color:#fff8f7;color:#dd301d}.gravitysmtp-admin .gform-indicator--icon.gform-indicator--confirm{background-color:#fff;border:.125rem solid #c3c5db;color:#9092b2}.gravitysmtp-admin [class*=gform-icon-preset--status]{align-items:center;display:flex;font-size:1.25rem;height:20px;justify-content:center;position:relative;width:20px}.gravitysmtp-admin [class*=gform-icon-preset--status]::before{position:relative;z-index:2}.gravitysmtp-admin [class*=gform-icon-preset--status]::after{border:2px solid transparent;border-radius:50%;box-sizing:border-box;content:"";height:20px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:20px}.gravitysmtp-admin [class*=gform-icon-preset--metric]{align-items:center;background:#fff;border:1px solid #d5d7e9;border-radius:3px;box-shadow:0 2px 2px 0 rgba(58,58,87,.06);color:#5b5e80;display:flex;font-size:1.5rem;height:48px;justify-content:center;position:relative;width:48px}.gravitysmtp-admin .gform-icon-preset--metric-success{background:#eefcf0;border-color:#aed9b6;color:#22a753}.gravitysmtp-admin .gform-icon-preset--metric-warn{background:#fff6e3;border-color:#f7cf5c;color:#ffbe03}.gravitysmtp-admin .gform-icon-preset--metric-error{background:#fff9f9;border-color:#fee4e2;color:#dd301d}.gravitysmtp-admin .gform-icon-preset--status-default,.gravitysmtp-admin .gform-icon-preset--status-locked{color:#242748}.gravitysmtp-admin .gform-icon-preset--status-default::after,.gravitysmtp-admin .gform-icon-preset--status-locked::after{background-color:#f2f3f5;border-color:#d2d5db}.gravitysmtp-admin .gform-icon-preset--status-locked{color:#9092b2}.gravitysmtp-admin .gform-icon-preset--status-info{color:#044ad3}.gravitysmtp-admin .gform-icon-preset--status-info::after{background-color:#f4f8ff;border-color:#c3d9ff}.gravitysmtp-admin .gform-icon-preset--status-error,.gravitysmtp-admin .gform-icon-preset--status-incorrect{color:#c02b0a}.gravitysmtp-admin .gform-icon-preset--status-error::after,.gravitysmtp-admin .gform-icon-preset--status-incorrect::after{background-color:#fff9f9;border-color:#ffc7bb}.gravitysmtp-admin .gform-icon-preset--status-correct{color:#2f833d}.gravitysmtp-admin .gform-icon-preset--status-correct::after{background:#eefcf0;border-color:#aed9b6}.gravitysmtp-admin .gform-input{-webkit-appearance:none;background:#fff;border:1px solid #c3c5db;border-radius:3px;box-shadow:0 0 0 transparent;box-sizing:border-box;color:#242748;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;line-height:2;margin:0;min-block-size:0;outline:0;padding:.25rem .75rem;transition:box-shadow .15s ease,background-color .15s ease}.gravitysmtp-admin .gform-input.gform-input--size-xl{padding:.594rem .75rem}.gravitysmtp-admin .gform-input:focus{border:1px solid #3985b7;box-shadow:0 .125rem .0675rem rgba(28,31,63,.0634624),0 0 0 2px #bed8ed;color:#242748}.gravitysmtp-admin .gform-input::-moz-placeholder{color:#5b5e80;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;font-weight:400}.gravitysmtp-admin .gform-input::placeholder{color:#5b5e80;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;font-weight:400}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input__wrapper{position:relative}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input{border-color:#9092b0}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input+.gform-input__label:first-child{margin-bottom:.375rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input+.gform-input-help-text:nth-child(2){margin-bottom:.375rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input+.gform-input-help-text:nth-child(3){margin-top:.375rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input:focus{border-color:#175cff}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input:disabled{background-color:#f6f9fc;color:#9092b0}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input::-moz-placeholder{font-size:.875rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input::placeholder{font-size:.875rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input__action-wrapper .gform-input__action-button{border-color:#9092b0}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input__action-wrapper .gform-input__action-button .gform-icon{color:#9092b0}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--required .gform-input+.gform-input-help-text:nth-child(4){margin-top:.375rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-error .gform-input{border:1px solid #dd301d}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-error .gform-input:focus{box-shadow:0 .125rem .0675rem rgba(28,31,63,.0634624),0 0 0 2px #fee4e2}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-error .gform-input-help-text{color:#dd301d}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-error .gform-input__action-wrapper .gform-input{border-inline-end:0}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-error .gform-input__action-wrapper .gform-input:focus{border:1px solid #dd301d;z-index:1}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-error .gform-input__action-wrapper .gform-input__action-button{border-inline-start-color:#dd301d}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-error .gform-input__action-wrapper .gform-input__action-button:focus{border-inline-start-color:#9092b0}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-correct .gform-input{border:1px solid #57c091}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-correct .gform-input:focus{box-shadow:0 .125rem .0675rem rgba(28,31,63,.0634624),0 0 0 2px #e1f6ed}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-correct .gform-input__action-wrapper .gform-input{border-inline-end:0}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-correct .gform-input__action-wrapper .gform-input:focus{border:1px solid #57c091;z-index:1}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-correct .gform-input__action-wrapper .gform-input__action-button{border-inline-start-color:#57c091}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-correct .gform-input__action-wrapper .gform-input__action-button:focus{border-inline-start-color:#9092b0}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--with-icon .gform-input{padding-inline-end:2.75rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--text-security-circle .gform-input{-webkit-text-security:circle}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--text-security-disc .gform-input{-webkit-text-security:disc}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--text-security-square .gform-input{-webkit-text-security:square}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input--size-r{padding:.375rem .75rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input--size-l{padding:.5rem .75rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input--size-xl{padding:.75rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--clearable .gform-input{padding-inline-end:2.75rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-label{margin-block-end:0.375rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input-help-text:nth-child(2){margin-block-end:0.375rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input-help-text:nth-child(3){margin-block-start:0.375rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input__icon{inset-block-start:50%;inset-inline-end:0.8125rem;pointer-events:none;position:absolute;transform:translateY(-50%)}.gravitysmtp-admin .gform-input__action-wrapper{display:flex;width:100%}.gravitysmtp-admin .gform-input__action-wrapper .gform-input__wrapper{flex:1}.gravitysmtp-admin .gform-input__action-wrapper .gform-input{border-end-end-radius:0;border-inline-end:0;border-start-end-radius:0;position:relative;width:100%}.gravitysmtp-admin .gform-input__action-wrapper .gform-input:focus{border:1px solid #175cff;z-index:1}.gravitysmtp-admin .gform-input__action-wrapper .gform-input__icon{z-index:2}.gravitysmtp-admin .gform-input__action-wrapper .gform-input__action-button{border-end-start-radius:0;border-start-start-radius:0;height:auto;margin-inline-start:0;padding-inline-end:0.85rem;padding-inline-start:0.85rem}.gravitysmtp-admin .gform-input__action-wrapper .gform-input__action-button .gform-icon{font-size:1rem}.gravitysmtp-admin .gform-input-wrapper--clearable{position:relative}.gravitysmtp-admin .gform-input__clearable-button{align-items:center;block-size:100%;display:flex;inline-size:1.875rem;inset-block-start:50%;inset-inline-end:0.5rem;justify-content:center;position:absolute;transform:translateY(-50%)}.gravitysmtp-admin .gform-input__clearable-button .gform-button__icon{color:#5b5e80;font-size:1.25rem;inset-block-start:0;padding:0}.gravitysmtp-admin .gform-input__clearable-button .gform-button__icon::before{font-size:1.25rem}.gravitysmtp-admin .gform-input__clearable-button:focus .gform-button__icon,.gravitysmtp-admin .gform-input__clearable-button:hover .gform-button__icon{color:#9092b2}.gravitysmtp-admin .gform-input__clearable-button:focus .gform-button__icon::before,.gravitysmtp-admin .gform-input__clearable-button:hover .gform-button__icon::before{font-size:1.25rem}.gravitysmtp-admin .gform-input-add-on-wrapper{align-items:stretch;display:flex;flex-direction:row}.gravitysmtp-admin .gform-input-add-on-wrapper--suffix .gform-input{border-end-end-radius:0;border-start-end-radius:0}.gravitysmtp-admin .gform-input__add-on{align-items:center;background-color:#f6f9fc;border:1px solid #9092b0;border-radius:3px;color:#242748;display:flex;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;font-weight:400;padding-left:13px;padding-right:13px;white-space:nowrap}.gravitysmtp-admin .gform-input__add-on--prefix{border-end-end-radius:0;border-inline-end:0;border-start-end-radius:0}.gravitysmtp-admin .gform-input__add-on--suffix{border-end-start-radius:0;border-inline-start:0;border-start-start-radius:0}.gravitysmtp-admin .gform-input__add-on+.gform-input{border-end-start-radius:0;border-start-start-radius:0}.gravitysmtp-admin .gform-input__add-on--action-button{background-color:#fff;border-color:#d5d7e9;height:auto;margin-inline-start:12px;padding-inline-end:12px;padding-inline-start:12px}.gravitysmtp-admin .gform-input__add-on--action-button.gform-button--icon-leading.gform-button--size-sm .gform-button__icon{color:#5b5e80;font-size:14px;margin:0}.gravitysmtp-admin .gform-label{align-items:center;color:#242748;cursor:pointer;display:inline-flex;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;outline:0}.gravitysmtp-admin .gform-layout{container-name:gform-layout-container;container-type:inline-size;display:flex;flex-direction:column;height:100%;width:100%}.gravitysmtp-admin .gform-layout--modular-sidebar [data-simplebar]{height:100%;overflow-y:auto}.gravitysmtp-admin .gform-modular-sidebar__header{width:100%}.gravitysmtp-admin .gform-modular-sidebar__body{display:flex;height:100%;overflow:hidden;width:100%}.gravitysmtp-admin .gform-modular-sidebar__content{flex:1;height:100%;overflow-y:auto}.gravitysmtp-admin .gform-right-sidebar__header{margin-block-end:24px}.gravitysmtp-admin .gform-right-sidebar__body{display:flex;flex-direction:column;gap:24px}@container gform-layout-container (min-width:810px){.gravitysmtp-admin .gform-right-sidebar__body{display:grid;grid-template-columns:calc(100% - 384px) 360px;grid-template-rows:auto auto}}.gravitysmtp-admin .gform-right-sidebar__content{display:flex;flex-direction:column;gap:24px}@container gform-layout-container (min-width:810px){.gravitysmtp-admin .gform-right-sidebar__content{grid-column:1/2;grid-row:1/2}}@container gform-layout-container (min-width:900px){.gravitysmtp-admin .gform-right-sidebar__sidebar{grid-column:2/3;grid-row:1/3}}@container gform-layout-container (min-width:900px){.gravitysmtp-admin .gform-right-sidebar__secondary-content{grid-column:1/2;grid-row:2/3}}.gravitysmtp-admin .gform-link:where(:not(.gform-button)){border:1px solid transparent;border-radius:3px;box-shadow:0 0 0 transparent;box-sizing:border-box;color:#0f3d6c;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;font-weight:400;position:relative;text-decoration:underline;transition:all .15s ease}.gravitysmtp-admin .gform-link:where(:not(.gform-button)):hover{color:#242748}.gravitysmtp-admin .gform-link:where(:not(.gform-button)):focus{border-color:transparent;box-shadow:none;outline:0}.gravitysmtp-admin .gform-link:where(:not(.gform-button)).focus-visible{border-color:#175cff;box-shadow:0 .125rem .0675rem rgba(28,31,63,.0634624),0 0 0 2px #bed8ed}.gravitysmtp-admin .gform-link:where(:not(.gform-button)).focus-visible{border-color:#175cff;box-shadow:0 .125rem .0675rem rgba(28,31,63,.0634624),0 0 0 2px #bed8ed}.gravitysmtp-admin .gform-link:where(:not(.gform-button)):focus-visible{border-color:#175cff;box-shadow:0 .125rem .0675rem rgba(28,31,63,.0634624),0 0 0 2px #bed8ed}.gravitysmtp-admin .gform-list{font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:1rem;line-height:1.5;margin:0;padding:0}.gravitysmtp-admin .gform-list--bulleted,.gravitysmtp-admin .gform-list--decimal{margin:0;padding-inline-start:1.625rem}.gravitysmtp-admin .gform-list--bulleted li,.gravitysmtp-admin .gform-list--decimal li{list-style:inherit;margin-block-end:0.25rem}.gravitysmtp-admin .gform-list--bulleted{list-style:disc}.gravitysmtp-admin .gform-list--decimal{list-style:decimal}.gravitysmtp-admin .gform-list__item{margin-bottom:.875rem;padding-inline-start:1.625rem}.gravitysmtp-admin .gform-list__item:last-child{margin:0}.gravitysmtp-admin .gform-list--unordered .gform-list__item{list-style:none;position:relative}.gravitysmtp-admin .gform-list--unordered .gform-list__item::before{background:center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2217%22%20height%3D%2217%22%20fill%3D%22none%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M8.5%2016.5a8%208%200%201%200%200-16%208%208%200%200%200%200%2016Zm3.707-9.293a1%201%200%200%200-1.414-1.414L7.5%209.086%206.207%207.793a1%201%200%200%200-1.414%201.414l2%202a1%201%200%200%200%201.414%200l4-4Z%22%20fill%3D%22%23F15A2B%22%2F%3E%3C%2Fsvg%3E");content:"";height:1rem;inset-inline-start:0.125rem;position:absolute;top:.25rem;width:1rem}.gravitysmtp-admin .gform-loader__mask{align-items:center;display:flex;flex-direction:column;height:100%;left:0;position:absolute;top:0;width:100%;z-index:10000}.gravitysmtp-admin .gform-loader__mask.gform-loader__mask--theme-light{background-color:rgba(247,249,252,.93)}.gravitysmtp-admin .gform-loader__mask.gform-loader__mask--theme-dark{background-color:rgba(36,39,72,.93)}.gravitysmtp-admin .gform-loader__mask--position-top{justify-content:start}.gravitysmtp-admin .gform-loader__mask--position-top .gform-loader__mask-positioner{top:12%}.gravitysmtp-admin .gform-loader__mask--position-center{justify-content:center}.gravitysmtp-admin .gform-loader__mask--position-bottom{justify-content:end}.gravitysmtp-admin .gform-loader__mask--position-bottom .gform-loader__mask-positioner{bottom:12%}.gravitysmtp-admin .gform-loader__mask--position-sticky .gform-loader__mask-positioner{position:sticky}.gravitysmtp-admin .gform-loader__mask-positioner{position:relative}.gravitysmtp-admin .gform-loader--simple{animation:gformLoader1 1.1s infinite linear;border-bottom:1.1em solid #000;border-left:1.1em solid #000;border-radius:50%;border-right:1.1em solid #fff;border-top:1.1em solid #fff;display:inline-block;font-size:10px;height:10em;position:relative;transform:translateZ(0);width:10em}.gravitysmtp-admin .gform-loader__inner{display:inline-flex;flex-direction:column}.gravitysmtp-admin .gform-loader__text{display:block;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;font-weight:500;margin-top:16px;text-align:center}.gravitysmtp-admin .gform-loader--ring{animation:gformLoaderRotate 2s linear infinite;height:40px;transform-origin:center;vertical-align:middle;width:40px;will-change:transform}.gravitysmtp-admin .gform-loader--ring circle{animation:gformLoaderStretch calc(2s * .75) ease-in-out infinite;fill:none;stroke:#0f3d6c;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;will-change:stroke-dasharray,stroke-dashoffset}@keyframes gformLoader1{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes gformLoaderRotate{100%{transform:rotate(360deg)}}@keyframes gformLoaderStretch{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,200;stroke-dashoffset:-35px}100%{stroke-dashoffset:-124px}}.gravitysmtp-admin .gform-loader--ring{animation:gformLoaderRotate 2s linear infinite;height:40px;transform-origin:center;vertical-align:middle;width:40px;will-change:transform}.gravitysmtp-admin .gform-loader--ring circle{animation:gformLoaderStretch calc(2s * .75) ease-in-out infinite;fill:none;stroke:#0f3d6c;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;will-change:stroke-dasharray,stroke-dashoffset}@keyframes gformLoaderRotate{100%{transform:rotate(360deg)}}@keyframes gformLoaderStretch{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,200;stroke-dashoffset:-35px}100%{stroke-dashoffset:-124px}}.gravitysmtp-admin .gform-meta-box{background:#fff;border:1px solid #d4d4e4;border-radius:3px;box-shadow:0 2px 2px rgba(58,58,87,.0596411)}.gravitysmtp-admin .gform-meta-box__header{border-bottom:1px solid #e4e4ee;padding-block:1.25rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-meta-box__content{padding:1.5rem}.gravitysmtp-admin .gform-meta-box__footer{border-top:1px solid #e4e4ee;padding:1rem}.gravitysmtp-admin .gform-meta-box--is-collapsible .gform-meta-box__header{padding-block:0;padding-inline:0}.gravitysmtp-admin .gform-meta-box--is-collapsible .gform-meta-box__header .gform-meta-box__toggle-icon{color:#5b5e80;font-size:1rem;inset-block-start:1.5rem;inset-inline-end:1.5rem;padding:0;position:absolute;transform:rotate(180deg)}.gravitysmtp-admin .gform-meta-box--is-collapsible.gform-meta-box--is-collapsed .gform-meta-box__toggle-icon{transform:rotate(0)}.gravitysmtp-admin .gform-meta-box--is-collapsible .gform-meta-box__toggle{display:flex;height:auto;padding-block:1.25rem;padding-inline:1.5rem;position:relative;width:100%}.gravitysmtp-admin .gform-meta-box--is-collapsed .gform-meta-box__header{border-bottom:0}.gravitysmtp-admin .gform-nav-bar{background:#092447;block-size:100%;inline-size:80px;inset-block-start:0;inset-inline-start:0;overflow:hidden;position:absolute;z-index:10}.gravitysmtp-admin .gform-nav-bar__logo{background-color:#041834;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' width='932' height='1024' viewBox='0 0 932 1024'%3E%3Cpath d='M929.46 325.543c0-46.506-33.883-103.642-74.41-126.895l-318.9-181.374c-40.527-23.253-106.964-22.589-147.491 1.329l-316.242 185.095c-40.527 23.917-73.081 81.054-72.417 128.49l2.657 366.735c0 46.506 33.883 103.642 74.41 126.895l318.9 181.374c40.527 23.253 106.964 22.589 147.491-1.329l316.242-185.36c40.527-23.917 73.081-81.054 72.417-128.224v0zM795.256 427.193h-418.556c-25.911 0-45.177 7.308-60.458 23.917-33.219 35.876-51.157 104.971-53.814 143.505h411.912v-103.908h117.594v221.901h-655.073s2.657-245.818 93.677-342.817c37.869-40.527 87.697-61.122 146.827-61.122h417.227v118.259z' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E");background-position:50% 50%;background-repeat:no-repeat;background-size:28px 31px;block-size:72px;inline-size:100%}.gravitysmtp-admin .gform-pagination{box-sizing:border-box;display:flex;flex-direction:row;gap:6px;list-style-type:none;margin:0;padding:0}.gravitysmtp-admin .gform-pagination__link,.gravitysmtp-admin .gform-pagination__link--next,.gravitysmtp-admin .gform-pagination__link--previous{align-items:center;background:#fdfdff;border:1px solid #d5d7e9;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.05);box-sizing:border-box;color:#242748;cursor:pointer;display:flex;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;font-weight:500;line-height:20px;padding:7px 12px}.gravitysmtp-admin .gform-pagination__link--next:active,.gravitysmtp-admin .gform-pagination__link--next:hover,.gravitysmtp-admin .gform-pagination__link--previous:active,.gravitysmtp-admin .gform-pagination__link--previous:hover,.gravitysmtp-admin .gform-pagination__link:active,.gravitysmtp-admin .gform-pagination__link:hover{box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-pagination__link--next.focus-visible,.gravitysmtp-admin .gform-pagination__link--previous.focus-visible,.gravitysmtp-admin .gform-pagination__link.focus-visible{border-color:#c3c5db;outline:.125rem solid #ecedf8}.gravitysmtp-admin .gform-pagination__link--next.focus-visible,.gravitysmtp-admin .gform-pagination__link--previous.focus-visible,.gravitysmtp-admin .gform-pagination__link.focus-visible{border-color:#c3c5db;outline:.125rem solid #ecedf8}.gravitysmtp-admin .gform-pagination__link--next:focus-visible,.gravitysmtp-admin .gform-pagination__link--previous:focus-visible,.gravitysmtp-admin .gform-pagination__link:focus-visible{border-color:#c3c5db;outline:.125rem solid #ecedf8}.gravitysmtp-admin .gform-pagination__link--next.gform-pagination__link--disabled,.gravitysmtp-admin .gform-pagination__link--next:disabled,.gravitysmtp-admin .gform-pagination__link--previous.gform-pagination__link--disabled,.gravitysmtp-admin .gform-pagination__link--previous:disabled,.gravitysmtp-admin .gform-pagination__link.gform-pagination__link--disabled,.gravitysmtp-admin .gform-pagination__link:disabled{border-color:#d5d7e9;opacity:.5}.gravitysmtp-admin .gform-pagination__link--selected{background:#0f3d6c;border-color:#0f3d6c;color:#fff;cursor:default}.gravitysmtp-admin .gform-pagination__link--selected:active,.gravitysmtp-admin .gform-pagination__link--selected:hover{background:#0f3d6c;border-color:#0f3d6c;box-shadow:0 1px 2px rgba(0,0,0,.05);color:#fff}.gravitysmtp-admin .gform-pagination__link--selected.focus-visible{border-color:#f6f9fc;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-pagination__link--selected.focus-visible{border-color:#f6f9fc;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-pagination__link--selected:focus-visible{border-color:#f6f9fc;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-pagination__link--break{align-items:center;cursor:pointer;display:flex;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;font-weight:500;padding:7px 4px}.gravitysmtp-admin .gform-input--radio{border:0 none;clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.gravitysmtp-admin .gform-input--radio+label::before{background-color:#fff;border:1px solid #9092b2;border-radius:50%;content:"";display:inline-block;height:1.25rem;margin-right:.625rem;top:1.5625rem;transition:box-shadow .15s ease,background-color .15s ease;vertical-align:middle;width:1.25rem}.gravitysmtp-admin .gform-input--radio:focus+label::before,.gravitysmtp-admin .gform-input--radio:hover+label::before{background-image:url("data:image/svg+xml,%3Csvg width='8' height='8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 8a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z' fill='%23ECEDF8'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;border-color:#3985b7;box-shadow:0 0 0 2px #bed8ed;display:inline-block}.gravitysmtp-admin .gform-input--radio:checked+label::before{background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg width='8' height='8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 8a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z' fill='%233E7DA6'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;border-color:#9092b2}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-input-wrapper--radio,.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-input-wrapper--radio *,.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-input-wrapper--radio ::after,.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-input-wrapper--radio ::before{box-sizing:border-box}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio+.gform-label{align-items:flex-start;display:flex}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio+.gform-label::before{border:.0625rem solid #9092b0;border-radius:50%;box-shadow:0 1px 4px rgba(18,25,97,.0779552);flex:none;margin-right:.5rem}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio:hover+.gform-label::before{background-color:#f6f9fc;background-image:none}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio:focus+.gform-label::before{background-color:#f6f9fc;background-image:none;border-color:#175cff;box-shadow:0 1px 2px rgba(0,0,0,.05),0 0 0 2px #bed8ed}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio:checked+.gform-label::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxjaXJjbGUgY3g9IjQiIGN5PSI0IiByPSI0IiBmaWxsPSIjMEYzRDZDIi8+PC9zdmc+")}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio:disabled+.gform-label{color:#d5d7e9}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio:disabled+.gform-label::before{background-color:#f6f9fc;border-color:#ecedf8;box-shadow:none;opacity:1}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio:disabled:checked+.gform-label::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxjaXJjbGUgY3g9IjQiIGN5PSI0IiByPSI0IiBmaWxsPSIjRUFFQ0YwIi8+PC9zdmc+")}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio:disabled~.gform-input-help-text{color:#d5d7e9}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio.gform-input--size-sm+.gform-label::before{height:1rem;margin-right:.5rem;width:1rem}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio.gform-input--size-sm:checked+.gform-label::before{background-size:6px}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio.gform-input--size-sm~.gform-input-help-text{margin-left:1.625rem}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio.gform-input--size-md+.gform-label::before{height:1.25rem;margin-right:.75rem;margin-top:-.0625rem;width:1.25rem}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio.gform-input--size-md~.gform-input-help-text{margin-left:2.125rem}.gravitysmtp-admin .gform-input-wrapper.gform-input-wrapper--type-image{align-items:center;display:flex;height:145px;justify-content:center;position:relative;width:150px}.gravitysmtp-admin .gform-input-wrapper.gform-input-wrapper--type-image .gform-label{border:1px solid #d5d7e9;border-radius:3px;box-shadow:0 1px 4px rgba(18,25,97,.0779552);color:transparent;display:block;height:100%;left:0;overflow:hidden;position:absolute;top:0;transition:box-shadow .2s ease-in-out,border-color .2s ease-in-out;width:100%}.gravitysmtp-admin .gform-input-wrapper.gform-input-wrapper--type-image .gform-label:hover{box-shadow:0 0 1px rgba(18,25,97,.24),0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03)}.gravitysmtp-admin .gform-input-wrapper.gform-input-wrapper--type-image .gform-label::before{display:none}.gravitysmtp-admin .gform-input-wrapper.gform-input-wrapper--type-image .gform-input--radio:checked:focus+label::before{box-shadow:none}.gravitysmtp-admin .gform-input-wrapper.gform-input-wrapper--type-image .gform-input--radio:checked+label{border-color:#0f3d6c;box-shadow:0 0 1px rgba(18,25,97,.24),0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03)}.gravitysmtp-admin .gform-input-wrapper.gform-input-wrapper--type-image .gform-input--radio:checked+label::before{background:#0f3d6c;border:0;border-radius:0;display:block;height:50px;margin:0;position:absolute;right:-25px;top:-25px;transform:rotate(45deg);width:50px}.gravitysmtp-admin .gform-input-wrapper.gform-input-wrapper--type-image .gform-input--radio:checked+label::after{color:#fff;content:"\e904";display:block;font-family:gform-icons-common;font-size:.875rem;position:absolute;right:2px;top:1px}html[dir=rtl] .gravitysmtp-admin .gform-input--radio+label::before{margin-left:.625rem;margin-right:0}.gravitysmtp-admin .gform-router-nav-bar{inline-size:100%}.gravitysmtp-admin .gform-router-nav-bar,.gravitysmtp-admin .gform-router-nav-bar *{box-sizing:border-box}.gravitysmtp-admin .gform-router-nav-bar__list{display:flex;flex-direction:column;list-style:none;margin:0;padding:0}.gravitysmtp-admin .gform-router-nav-bar__item{margin:0}.gravitysmtp-admin .gform-router-nav-bar--icon-button{padding-block:1.5rem}.gravitysmtp-admin .gform-router-nav-bar--icon-button .gform-router-nav-bar__list{gap:1rem}.gravitysmtp-admin .gform-router-nav-bar--icon-button .gform-router-nav-bar__item{align-items:center;display:flex;flex-direction:column;gap:.5rem;justify-content:center}.gravitysmtp-admin .gform-router-nav-bar--icon-button .gform-router-nav-bar__item-link{cursor:pointer;text-decoration:none}.gravitysmtp-admin .gform-router-nav-bar--icon-button .gform-router-nav-bar__item-icon{font-size:1.25rem}.gravitysmtp-admin .gform-router-nav-bar--icon-button .gform-router-nav-bar__item--disabled .gform-router-nav-bar__item-text{opacity:.5}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag{padding-block:2rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__list{gap:.25rem}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link{align-items:center;block-size:36px;border:1px solid transparent;border-radius:3px;color:#242748;cursor:pointer;display:flex;flex-direction:row;gap:.5rem;inline-size:100%;justify-content:flex-start;padding:.4375rem .6875rem;text-decoration:none}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button.focus-visible,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button:hover,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link.focus-visible,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link:hover{background:#f6f9fc;border-color:#f6f9fc}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button.focus-visible,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button:hover,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link.focus-visible,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link:hover{background:#f6f9fc;border-color:#f6f9fc}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button:focus-visible,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button:hover,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link:focus-visible,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link:hover{background:#f6f9fc;border-color:#f6f9fc}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button:focus,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link:focus{box-shadow:none;outline:0}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button:active,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link:active{background:#f6f9fc;border-color:#bed8ed}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button:disabled,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link:disabled{background:0 0;border-color:transparent}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item--active .gform-router-nav-bar__item-link{background:#f6f9fc;border-color:#dde9fc}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item--disabled .gform-router-nav-bar__item-button,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item--disabled .gform-router-nav-bar__item-link{opacity:.5}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-icon{color:#5b5e80;font-size:1.25rem}.gravitysmtp-admin .gform-input-wrapper--select,.gravitysmtp-admin .gform-input-wrapper--select *{box-sizing:border-box}.gravitysmtp-admin .gform-input-wrapper--select.gform-input-wrapper--size-r .gform-select{padding-block:0.375rem}.gravitysmtp-admin .gform-input-wrapper--select.gform-input-wrapper--size-l .gform-select{padding-block:0.5rem}.gravitysmtp-admin .gform-input-wrapper--select.gform-input-wrapper--size-xl .gform-select{padding-block:0.75rem}.gravitysmtp-admin .gform-select__wrapper{position:relative}.gravitysmtp-admin .gform-select__wrapper::after{background:center/contain no-repeat url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="10" height="7" viewBox="0 0 10 7" fill="none"%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M0.292893 0.792893C0.683417 0.402369 1.31658 0.402369 1.70711 0.792893L5 4.08579L8.29289 0.792893C8.68342 0.402369 9.31658 0.402369 9.70711 0.792893C10.0976 1.18342 10.0976 1.81658 9.70711 2.20711L5.70711 6.20711C5.31658 6.59763 4.68342 6.59763 4.29289 6.20711L0.292893 2.20711C-0.0976311 1.81658 -0.0976311 1.18342 0.292893 0.792893Z" fill="%239092B0"/%3E%3C/svg%3E');content:"";height:.375rem;inset-inline-end:1rem;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);width:.625rem}.gravitysmtp-admin .gform-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;border:1px solid #9092b0;border-radius:.1875rem;box-shadow:0 .25rem .25rem rgba(18,25,97,.0405344);color:#242748;cursor:pointer;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;line-height:1.43;margin:0;max-width:none;min-height:0;outline:0;padding-inline:0.75rem 2rem;width:100%}.gravitysmtp-admin .gform-select:hover{color:#242748}.gravitysmtp-admin .gform-select:focus{border-color:#175cff;box-shadow:0 0 0 2px #bed8ed}.gravitysmtp-admin .gform-select:disabled{background:#f6f9fc;border-color:#d5d7e9;color:#9092b0}.gravitysmtp-admin .gform-input-wrapper--select.gform-input-wrapper--theme-cosmos .gform-label{margin-block-end:0.375rem}.gravitysmtp-admin .gform-input-wrapper--select.gform-input-wrapper--theme-cosmos .gform-input-help-text:nth-child(2){margin-block-end:0.375rem}.gravitysmtp-admin .gform-input-wrapper--select.gform-input-wrapper--theme-cosmos .gform-input-help-text:nth-child(3){margin-block-start:0.375rem}.gravitysmtp-admin .gform-snackbar{align-items:center;background:#fff;border:1px solid #ecedf8;border-radius:3px;box-shadow:0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);box-sizing:border-box;display:flex;flex-direction:row;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;font-weight:500;max-width:calc(100% - 40px);min-height:56px;min-width:344px;opacity:0;padding:16px;position:absolute;transform:scale(.95);transition:transform .3s ease-in-out,opacity .3s ease-in-out;transition-delay:0s;width:-moz-max-content;width:max-content}.gravitysmtp-admin .gform-snackbar.gform-snackbar--reveal{opacity:1;transform:scale(1)}.gravitysmtp-admin .gform-snackbar.gform-snackbar--bottomleft{bottom:20px;left:20px}.gravitysmtp-admin .gform-snackbar.gform-snackbar--bottomright{bottom:20px;right:20px}.gravitysmtp-admin .gform-snackbar.gform-snackbar--topleft{left:20px;top:20px}.gravitysmtp-admin .gform-snackbar.gform-snackbar--topright{right:20px;top:20px}.gravitysmtp-admin .gform-snackbar.gform-snackbar--has-close{padding-right:50px}.gravitysmtp-admin .gform-snackbar__close{align-items:center;background:#fff;border:1px solid transparent;border-radius:100%;color:#9092b2;cursor:pointer;display:flex;font-size:32px;height:24px;justify-content:center;position:absolute;right:10px;top:16px;transition:border-color .3s ease,box-shadow .3s ease,background-color .3s ease,color .3s ease;width:24px}.gravitysmtp-admin .gform-snackbar__close:hover{color:#5b5e80}.gravitysmtp-admin .gform-snackbar__close.focus-visible{border-color:#3e7da6;box-shadow:0 0 0 2px #bed8ed;color:#5b5e80;outline:0}.gravitysmtp-admin .gform-snackbar__close.focus-visible{border-color:#3e7da6;box-shadow:0 0 0 2px #bed8ed;color:#5b5e80;outline:0}.gravitysmtp-admin .gform-snackbar__close:focus-visible{border-color:#3e7da6;box-shadow:0 0 0 2px #bed8ed;color:#5b5e80;outline:0}.gravitysmtp-admin .gform-snackbar__icon{font-size:24px;margin-right:10px}.gravitysmtp-admin .gform-snackbar__message{margin-right:6px}.gravitysmtp-admin .gform-snackbar__cta{color:#3e7da6;margin-left:auto;text-decoration:none}.gravitysmtp-admin .gform-snackbar__cta:focus,.gravitysmtp-admin .gform-snackbar__cta:hover{box-shadow:none;outline:0;text-decoration:underline}.gravitysmtp-admin .gform-snackbar--success .gform-snackbar__icon{color:#22a753}.gravitysmtp-admin .gform-snackbar--error .gform-snackbar__icon{color:#dd301d}.gravitysmtp-admin .gform-snackbar--theme-cosmos{left:50%;margin-block-start:30px;min-height:52px;min-width:auto;opacity:0;padding-block:0;padding-inline:16px;position:fixed;top:calc((60px * var(--gform-snackbar-index)));transform:translateX(-50%);transition:top .5s ease,opacity .5s ease,visibility .5s;transition-delay:0s;visibility:hidden;z-index:100009}.gravitysmtp-admin .gform-snackbar--theme-cosmos.gform-snackbar--visible{opacity:1;top:calc((60px * var(--gform-snackbar-index)));transition:top .5s ease,opacity .5s ease,visibility .5s;visibility:visible}.gravitysmtp-admin .gform-snackbar--theme-cosmos .gform-snackbar__type-icon{align-items:center;border:2px solid transparent;border-radius:100%;box-sizing:border-box;display:flex;font-size:1rem;height:20px;justify-content:center;width:20px}.gravitysmtp-admin .gform-snackbar--theme-cosmos .gform-snackbar__type-icon--error{background-color:#fee4e2;border-color:#dd301d;color:#dd301d}.gravitysmtp-admin .gform-snackbar--theme-cosmos .gform-snackbar__type-icon--success{background-color:#f5fcf6;border-color:#22a753;color:#22a753}html[dir=rtl] .gravitysmtp-admin .gform-snackbar.gform-snackbar--bottomleft{left:auto;right:20px}html[dir=rtl] .gravitysmtp-admin .gform-snackbar.gform-snackbar--bottomright{left:20px;right:auto}html[dir=rtl] .gravitysmtp-admin .gform-snackbar.gform-snackbar--topleft{left:20px}html[dir=rtl] .gravitysmtp-admin .gform-snackbar.gform-snackbar--topright{right:20px}html[dir=rtl] .gravitysmtp-admin .gform-snackbar.gform-snackbar--has-close{padding-left:50px;padding-right:16px}html[dir=rtl] .gravitysmtp-admin .gform-snackbar__close{left:10px;right:auto}html[dir=rtl] .gravitysmtp-admin .gform-snackbar__cta{margin-left:0;margin-right:auto}html[dir=rtl] .gravitysmtp-admin .gform-snackbar__icon{margin:0 0 0 10px}html[dir=rtl] .gravitysmtp-admin .gform-snackbar__message{margin:0 0 0 6px}.gravitysmtp-admin .gform-spacing.gform-spacing--top-0{margin-block-start:0}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-0{margin-block-start:0}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-0{margin-block-start:0}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-1{margin-block-start:0.25rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-1{margin-block-start:0.25rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-1{margin-block-start:0.25rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-2{margin-block-start:0.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-2{margin-block-start:0.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-2{margin-block-start:0.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-3{margin-block-start:0.75rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-3{margin-block-start:0.75rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-3{margin-block-start:0.75rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-4{margin-block-start:1rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-4{margin-block-start:1rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-4{margin-block-start:1rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-5{margin-block-start:1.25rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-5{margin-block-start:1.25rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-5{margin-block-start:1.25rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-6{margin-block-start:1.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-6{margin-block-start:1.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-6{margin-block-start:1.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-8{margin-block-start:2rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-8{margin-block-start:2rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-8{margin-block-start:2rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-10{margin-block-start:2.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-10{margin-block-start:2.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-10{margin-block-start:2.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-12{margin-block-start:3rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-12{margin-block-start:3rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-12{margin-block-start:3rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-16{margin-block-start:4rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-16{margin-block-start:4rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-16{margin-block-start:4rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-20{margin-block-start:5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-20{margin-block-start:5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-20{margin-block-start:5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-24{margin-block-start:6rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-24{margin-block-start:6rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-24{margin-block-start:6rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-32{margin-block-start:8rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-32{margin-block-start:8rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-32{margin-block-start:8rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-40{margin-block-start:10rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-40{margin-block-start:10rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-40{margin-block-start:10rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-48{margin-block-start:12rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-48{margin-block-start:12rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-48{margin-block-start:12rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-56{margin-block-start:14rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-56{margin-block-start:14rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-56{margin-block-start:14rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-64{margin-block-start:16rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-64{margin-block-start:16rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-64{margin-block-start:16rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-0{margin-block-end:0}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-0{margin-block-end:0}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-0{margin-block-end:0}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-1{margin-block-end:0.25rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-1{margin-block-end:0.25rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-1{margin-block-end:0.25rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-2{margin-block-end:0.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-2{margin-block-end:0.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-2{margin-block-end:0.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-3{margin-block-end:0.75rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-3{margin-block-end:0.75rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-3{margin-block-end:0.75rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-4{margin-block-end:1rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-4{margin-block-end:1rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-4{margin-block-end:1rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-5{margin-block-end:1.25rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-5{margin-block-end:1.25rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-5{margin-block-end:1.25rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-6{margin-block-end:1.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-6{margin-block-end:1.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-6{margin-block-end:1.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-8{margin-block-end:2rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-8{margin-block-end:2rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-8{margin-block-end:2rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-10{margin-block-end:2.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-10{margin-block-end:2.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-10{margin-block-end:2.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-12{margin-block-end:3rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-12{margin-block-end:3rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-12{margin-block-end:3rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-16{margin-block-end:4rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-16{margin-block-end:4rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-16{margin-block-end:4rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-20{margin-block-end:5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-20{margin-block-end:5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-20{margin-block-end:5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-24{margin-block-end:6rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-24{margin-block-end:6rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-24{margin-block-end:6rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-32{margin-block-end:8rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-32{margin-block-end:8rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-32{margin-block-end:8rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-40{margin-block-end:10rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-40{margin-block-end:10rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-40{margin-block-end:10rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-48{margin-block-end:12rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-48{margin-block-end:12rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-48{margin-block-end:12rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-56{margin-block-end:14rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-56{margin-block-end:14rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-56{margin-block-end:14rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-64{margin-block-end:16rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-64{margin-block-end:16rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-64{margin-block-end:16rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-0{margin-inline-start:0}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-0{margin-inline-start:0}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-0{margin-inline-start:0}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-1{margin-inline-start:.25rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-1{margin-inline-start:.25rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-1{margin-inline-start:.25rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-2{margin-inline-start:.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-2{margin-inline-start:.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-2{margin-inline-start:.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-3{margin-inline-start:.75rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-3{margin-inline-start:.75rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-3{margin-inline-start:.75rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-4{margin-inline-start:1rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-4{margin-inline-start:1rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-4{margin-inline-start:1rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-5{margin-inline-start:1.25rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-5{margin-inline-start:1.25rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-5{margin-inline-start:1.25rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-6{margin-inline-start:1.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-6{margin-inline-start:1.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-6{margin-inline-start:1.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-8{margin-inline-start:2rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-8{margin-inline-start:2rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-8{margin-inline-start:2rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-10{margin-inline-start:2.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-10{margin-inline-start:2.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-10{margin-inline-start:2.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-12{margin-inline-start:3rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-12{margin-inline-start:3rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-12{margin-inline-start:3rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-16{margin-inline-start:4rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-16{margin-inline-start:4rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-16{margin-inline-start:4rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-20{margin-inline-start:5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-20{margin-inline-start:5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-20{margin-inline-start:5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-24{margin-inline-start:6rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-24{margin-inline-start:6rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-24{margin-inline-start:6rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-32{margin-inline-start:8rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-32{margin-inline-start:8rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-32{margin-inline-start:8rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-40{margin-inline-start:10rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-40{margin-inline-start:10rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-40{margin-inline-start:10rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-48{margin-inline-start:12rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-48{margin-inline-start:12rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-48{margin-inline-start:12rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-56{margin-inline-start:14rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-56{margin-inline-start:14rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-56{margin-inline-start:14rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-64{margin-inline-start:16rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-64{margin-inline-start:16rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-64{margin-inline-start:16rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--end-0{margin-inline-end:0}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-end-0{margin-inline-end:0}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-end-0{margin-inline-end:0}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-1{margin-inline-end:.25rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-1{margin-inline-end:.25rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-1{margin-inline-end:.25rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-2{margin-inline-end:.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-2{margin-inline-end:.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-2{margin-inline-end:.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-3{margin-inline-end:.75rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-3{margin-inline-end:.75rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-3{margin-inline-end:.75rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-4{margin-inline-end:1rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-4{margin-inline-end:1rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-4{margin-inline-end:1rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-5{margin-inline-end:1.25rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-5{margin-inline-end:1.25rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-5{margin-inline-end:1.25rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-6{margin-inline-end:1.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-6{margin-inline-end:1.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-6{margin-inline-end:1.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-8{margin-inline-end:2rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-8{margin-inline-end:2rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-8{margin-inline-end:2rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-10{margin-inline-end:2.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-10{margin-inline-end:2.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-10{margin-inline-end:2.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-12{margin-inline-end:3rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-12{margin-inline-end:3rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-12{margin-inline-end:3rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-16{margin-inline-end:4rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-16{margin-inline-end:4rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-16{margin-inline-end:4rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-20{margin-inline-end:5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-20{margin-inline-end:5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-20{margin-inline-end:5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-24{margin-inline-end:6rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-24{margin-inline-end:6rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-24{margin-inline-end:6rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-32{margin-inline-end:8rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-32{margin-inline-end:8rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-32{margin-inline-end:8rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-40{margin-inline-end:10rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-40{margin-inline-end:10rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-40{margin-inline-end:10rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-48{margin-inline-end:12rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-48{margin-inline-end:12rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-48{margin-inline-end:12rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-56{margin-inline-end:14rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-56{margin-inline-end:14rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-56{margin-inline-end:14rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-64{margin-inline-end:16rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-64{margin-inline-end:16rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-64{margin-inline-end:16rem}}.gravitysmtp-admin .gform-status-indicator{align-items:center;background:#ecedf8;border:1px solid #e4e9eb;color:#242748;cursor:pointer;display:inline-flex;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;transition:all ease-in-out .2s;white-space:nowrap;width:auto}.gravitysmtp-admin .gform-status-indicator::before{background:#242748;block-size:0.375rem;border-radius:50%;content:"";display:inline-block;inline-size:0.375rem;transition:all ease-in-out .2s}.gravitysmtp-admin .gform-status-indicator.gform-status--no-hover{cursor:auto;transition:none}.gravitysmtp-admin .gform-status-indicator.gform-status--no-pill{border-radius:3px}.gravitysmtp-admin .gform-status-indicator.gform-status--active,.gravitysmtp-admin .gform-status-indicator.gform-status--success{background:#eefcf0;border-color:#57c091;color:#276a52}.gravitysmtp-admin .gform-status-indicator.gform-status--active::before,.gravitysmtp-admin .gform-status-indicator.gform-status--success::before{background:#28b77e}.gravitysmtp-admin .gform-status-indicator.gform-status--error{background:#fee4e2;border-color:#dd301d;color:#dd301d}.gravitysmtp-admin .gform-status-indicator.gform-status--error::before{background:#dd301d}.gravitysmtp-admin .gform-status-indicator.gform-status--warning{background:#fff6e3;border-color:#ffbe03;color:#ff4f00}.gravitysmtp-admin .gform-status-indicator.gform-status--warning::before{background:#ff4f00}.gravitysmtp-admin .gform-status-indicator.gform-status--gray{background:#fdfdff;border-color:#e4e9eb;color:#242748}.gravitysmtp-admin .gform-status-indicator.gform-status--gray::before{background:#5b5e80}.gravitysmtp-admin .gform-status-indicator.gform-status--blue{background:#eff8ff;border-color:#b2ddff;color:#175cd3}.gravitysmtp-admin .gform-status-indicator.gform-status--blue::before{background:#2e90fa}.gravitysmtp-admin .gform-status-indicator.gform-status--static{pointer-events:none}.gravitysmtp-admin .gform-status-indicator.gform-status--no-icon::before{content:none}.gravitysmtp-admin .gform-status-indicator:not(.gform-status--no-hover):active,.gravitysmtp-admin .gform-status-indicator:not(.gform-status--no-hover):focus,.gravitysmtp-admin .gform-status-indicator:not(.gform-status--no-hover):hover{border-color:#3e7da6;box-shadow:0 0 0 1px #bed8ed;outline:0}.gravitysmtp-admin .gform-status-indicator--size-sm{border-radius:.75rem;gap:.25rem;padding-block:0.0625rem;padding-inline:0.375rem 0.5rem}.gravitysmtp-admin .gform-status-indicator--size-sm.gform-status--no-icon{padding-inline-start:0.5rem}.gravitysmtp-admin .gform-status-indicator--size-md{border-radius:.8125rem;gap:.375rem;padding-block:0.0625rem;padding-inline:0.5rem 0.625rem}.gravitysmtp-admin .gform-status-indicator--size-md.gform-status--no-icon{padding-inline-start:0.625rem}.gravitysmtp-admin .gform-status-indicator--size-lg{border-radius:.9375rem;gap:.375rem;padding-block:0.1875rem;padding-inline:0.625rem 0.75rem}.gravitysmtp-admin .gform-status-indicator--size-lg.gform-status--no-icon{padding-inline-start:0.75rem}.gravitysmtp-admin .wp-list-table .gform-status-indicator{margin-left:.375rem}.gravitysmtp-admin .gform-steps{font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;list-style:none;margin:0;padding:0}.gravitysmtp-admin .gform-steps__step{align-items:center;border:1px solid #374b6b;border-radius:50%;color:#fff;display:flex;height:2.125rem;justify-content:center;margin:0 auto;width:2.125rem}.gravitysmtp-admin .gform-steps__step:not(:last-child){margin-block-end:4rem;position:relative}.gravitysmtp-admin .gform-steps__step:not(:last-child)::after{background-color:#374b6b;content:"";height:4rem;left:50%;position:absolute;top:2.1rem;width:1px}.gravitysmtp-admin .gform-steps__step--active{background-color:#f15a2b;border-color:#f15a2b}.gravitysmtp-admin .gform-steps__step-icon{display:none;font-size:1.25rem}.gravitysmtp-admin .gform-steps__step--completed .gform-steps__step-icon{display:block}.gravitysmtp-admin .gform-steps__step--completed .gform-steps__step-count{display:none}.gravitysmtp-admin .gform-tag{border-radius:3px;color:#242748;display:inline-block;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;padding-block:5px;padding-inline:8px;position:relative;z-index:1}.gravitysmtp-admin .gform-tag.gform-tag--triangle-left.gform-typography--size-text-xxs .gform-tag__triangle{height:.938rem;inset-inline-start:-0.375rem;top:calc(50% - .5rem);width:.938rem}.gravitysmtp-admin .gform-tag.gform-tag--triangle-left.gform-typography--size-text-xs .gform-tag__triangle{height:1.06rem;inset-inline-start:-0.438rem;top:calc(50% - .55rem);width:1.06rem}.gravitysmtp-admin .gform-tag.gform-tag--triangle-left.gform-typography--size-text-sm .gform-tag__triangle{height:1.188rem;inset-inline-start:-0.5rem;top:calc(50% - .594rem);width:1.188rem}.gravitysmtp-admin .gform-tag.gform-tag--triangle-left.gform-typography--size-text-md .gform-tag__triangle{height:1.281rem;inset-inline-start:-0.563rem;top:calc(50% - .641rem);width:1.281rem}.gravitysmtp-admin .gform-tag.gform-tag--triangle-left.gform-typography--size-text-lg .gform-tag__triangle{height:1.313rem;inset-inline-start:-0.563rem;top:calc(50% - .656rem);width:1.313rem}.gravitysmtp-admin .gform-tag.gform-tag--triangle-left.gform-typography--size-text-xl .gform-tag__triangle{height:1.375rem;inset-inline-start:-0.625rem;top:calc(50% - .688rem);width:1.375rem}.gravitysmtp-admin .gform-tag--type-chathams{background:#0f3d6c;color:#fff}.gravitysmtp-admin .gform-tag--type-amethyst-smoke{background:#9092b2;color:#fff}.gravitysmtp-admin .gform-tag--type-upgrade{background:#9092b0;box-shadow:0 1px 4px rgba(18,25,97,.0779552);color:#fff;padding-block:2px;padding-inline:6px;text-transform:uppercase}.gravitysmtp-admin .gform-tag--type-blue{background:#dde9fc;border:1px solid #bed8ed;box-shadow:0 1px 4px rgba(18,25,97,.0779552);color:#204ce5;padding-block:1px;padding-inline:5px;text-transform:uppercase}.gravitysmtp-admin .gform-tag__triangle{background-color:inherit;border:inherit;border-radius:3px;display:block;position:absolute;transform:rotate(45deg) skew(15deg,15deg);z-index:-1}.gravitysmtp-admin .gform-tooltip{display:inline-block;position:relative}.gravitysmtp-admin .gform-tooltip__trigger{align-items:center;border:0;border-radius:50%;cursor:pointer;display:flex;font-size:.625rem;height:1rem;justify-content:center;margin:0;outline:.125rem solid transparent;padding:0;transition:all .15s ease;width:1rem}.gravitysmtp-admin .gform-tooltip__trigger:focus,.gravitysmtp-admin .gform-tooltip__trigger:hover{box-shadow:0 1px 2px rgba(0,0,0,.05)}.gravitysmtp-admin .gform-tooltip--type-default .gform-tooltip__trigger{background:#ecedf8;border:1px solid #ecedf8;color:#242748}.gravitysmtp-admin .gform-tooltip--type-default .gform-tooltip__trigger:focus,.gravitysmtp-admin .gform-tooltip--type-default .gform-tooltip__trigger:hover{background-color:#d5d7e9;border-color:#9092b2}.gravitysmtp-admin .gform-tooltip--type-default .gform-tooltip__trigger:focus{border-color:#0f3d6c;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-tooltip--type-success .gform-tooltip__trigger{background:#e1f6ed;border:1px solid #e1f6ed;color:#22a753}.gravitysmtp-admin .gform-tooltip--type-success .gform-tooltip__trigger:focus,.gravitysmtp-admin .gform-tooltip--type-success .gform-tooltip__trigger:hover{border-color:#22a753}.gravitysmtp-admin .gform-tooltip--type-success .gform-tooltip__trigger:focus{background:#f5fcf6;outline:.125rem solid #e1f6ed}.gravitysmtp-admin .gform-tooltip--type-error .gform-tooltip__trigger{background:#fee4e2;border:1px solid #fee4e2;color:#dd301d}.gravitysmtp-admin .gform-tooltip--type-error .gform-tooltip__trigger:focus,.gravitysmtp-admin .gform-tooltip--type-error .gform-tooltip__trigger:hover{border-color:#dd301d}.gravitysmtp-admin .gform-tooltip--type-error .gform-tooltip__trigger:focus{background:#fff;outline:.125rem solid #fee4e2}.gravitysmtp-admin .gform-tooltip__tooltip{border-radius:.1875rem;box-shadow:0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);box-sizing:border-box;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;line-height:1.385;padding:.5rem .75rem;position:fixed;visibility:hidden}.gravitysmtp-admin .gform-tooltip__tooltip *{color:#fff}.gravitysmtp-admin .gform-tooltip__tooltip-arrow{position:absolute;z-index:-1}.gravitysmtp-admin .gform-tooltip__tooltip-arrow::after{border-radius:.25rem;content:"";display:block;height:1.125rem;transform:rotate(45deg);width:1.125rem}.gravitysmtp-admin .gform-tooltip--theme-chathams .gform-tooltip__tooltip,.gravitysmtp-admin .gform-tooltip--theme-chathams .gform-tooltip__tooltip-arrow::after{background:#0f3d6c}.gravitysmtp-admin .gform-tooltip--theme-port .gform-tooltip__tooltip,.gravitysmtp-admin .gform-tooltip--theme-port .gform-tooltip__tooltip-arrow::after{background:#242748}.gravitysmtp-admin .gform-tooltip--position-top .gform-tooltip__tooltip{left:50%;top:0;transform:translate(-50%,calc(-100% - .875rem))}.gravitysmtp-admin .gform-tooltip--position-top .gform-tooltip__tooltip-arrow{bottom:-.4375rem;left:50%;transform:scaleY(.8) translateX(-50%)}.gravitysmtp-admin .gform-tooltip--position-bottom .gform-tooltip__tooltip{bottom:0;left:50%;transform:translate(-50%,calc(100% + .875rem))}.gravitysmtp-admin .gform-tooltip--position-bottom .gform-tooltip__tooltip-arrow{left:50%;top:-.4375rem;transform:scaleY(.8) translateX(-50%)}.gravitysmtp-admin .gform-tooltip--position-left .gform-tooltip__tooltip{left:0;top:50%;transform:translate(calc(-100% - .875rem),-50%)}.gravitysmtp-admin .gform-tooltip--position-left .gform-tooltip__tooltip-arrow{right:-.4375rem;top:50%;transform:rotate(90deg) scaleY(.8) translateX(-50%)}.gravitysmtp-admin .gform-tooltip--position-right .gform-tooltip__tooltip{right:0;top:50%;transform:translate(calc(100% + .875rem),-50%)}.gravitysmtp-admin .gform-tooltip--position-right .gform-tooltip__tooltip-arrow{left:-.4375rem;top:50%;transform:rotate(90deg) scaleY(.8) translateX(-50%)}.gravitysmtp-admin .gform-tooltip--initialized .gform-tooltip__tooltip{display:none;opacity:0;position:absolute;transition:opacity .15s ease;z-index:5}.gravitysmtp-admin .gform-tooltip--anim-in-ready .gform-tooltip__tooltip{display:block;visibility:visible}.gravitysmtp-admin .gform-tooltip--anim-in-active .gform-tooltip__tooltip{opacity:1}.gravitysmtp-admin .gform-tooltip__tooltip-content{margin:0}.gravitysmtp-admin .gform-toggle{align-items:flex-start;display:inline-flex;gap:.5rem}.gravitysmtp-admin .gform-toggle,.gravitysmtp-admin .gform-toggle *,.gravitysmtp-admin .gform-toggle ::after,.gravitysmtp-admin .gform-toggle ::before{box-sizing:border-box}.gravitysmtp-admin .gform-toggle.gform-toggle--disabled{opacity:.5}.gravitysmtp-admin .gform-toggle--size-l,.gravitysmtp-admin .gform-toggle--size-m{gap:.75rem}.gravitysmtp-admin .gform-toggle--width-full{display:flex;justify-content:space-between}.gravitysmtp-admin .gform-toggle--label-left{flex-direction:row-reverse}.gravitysmtp-admin .gform-toggle--width-full.gform-toggle--label-right{text-align:end}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:0;box-shadow:none;cursor:pointer;display:block;flex:none;margin:0;outline:0;position:relative;width:auto}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle::before{background:#d5d7e9;content:"";display:block;margin:0;outline:2px solid transparent;outline-offset:2px;transition:all .15s ease}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle::after{background-color:#fff;border-radius:50%;box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04);content:"";position:absolute;transition:all .15s ease}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle.gform-toggle__toggle--has-icons::after{background-image:url('data:image/svg+xml,');background-position:center;background-repeat:no-repeat;background-size:35%}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle.gform-toggle__toggle--has-icons:checked::after{background-image:url('data:image/svg+xml,');background-position:center;background-repeat:no-repeat;background-size:45%}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle.focus-visible::before{outline-color:#d5d7e9;outline-offset:2px}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle.focus-visible::before{outline-color:#d5d7e9;outline-offset:2px}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle:focus-visible::before{outline-color:#d5d7e9;outline-offset:2px}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle.focus-visible:checked::before{outline-color:#3e7da6}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle.focus-visible:checked::before{outline-color:#3e7da6}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle:focus-visible:checked::before{outline-color:#3e7da6}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle:checked::before{background:#3e7da6}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle::before{background:#9092b0}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle.focus-visible::before{outline-color:#9092b0}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle.focus-visible::before{outline-color:#9092b0}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:focus-visible::before{outline-color:#9092b0}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle.focus-visible:checked::before{outline-color:#0f3d6c}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle.focus-visible:checked::before{outline-color:#0f3d6c}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:focus-visible:checked::before{outline-color:#0f3d6c}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle.focus-visible:hover:checked::before{outline-color:#242748}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle.focus-visible:hover:checked::before{outline-color:#242748}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:focus-visible:hover:checked::before{outline-color:#242748}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle.focus-visible:hover:checked~.gform-toggle__icon{color:#242748}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle.focus-visible:hover:checked~.gform-toggle__icon{color:#242748}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:focus-visible:hover:checked~.gform-toggle__icon{color:#242748}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:checked::before{background:#0f3d6c}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:checked.gform-toggle__toggle--has-icons::after{background-image:url('data:image/svg+xml,')}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:checked:hover::before{background:#242748}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:disabled{opacity:1}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:disabled::before{background:#ecedf8}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:disabled:checked::before{opacity:1}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:disabled:checked:hover::before{background:#ecedf8}.gravitysmtp-admin .gform-toggle--size-s input[type=checkbox].gform-toggle__toggle{height:1.25rem}.gravitysmtp-admin .gform-toggle--size-s input[type=checkbox].gform-toggle__toggle::before{border-radius:.625rem;height:1.25rem;width:2.5625rem}.gravitysmtp-admin .gform-toggle--size-s input[type=checkbox].gform-toggle__toggle::after{height:.875rem;inset-inline-start:0.1875rem;top:.1875rem;width:.875rem}.gravitysmtp-admin .gform-toggle--size-s input[type=checkbox].gform-toggle__toggle:checked::after{transform:translateX(1.3125rem)}.gravitysmtp-admin .gform-toggle--size-m input[type=checkbox].gform-toggle__toggle{height:1.5rem}.gravitysmtp-admin .gform-toggle--size-m input[type=checkbox].gform-toggle__toggle::before{border-radius:.75rem;height:1.5rem;width:3rem}.gravitysmtp-admin .gform-toggle--size-m input[type=checkbox].gform-toggle__toggle::after{height:1.125rem;inset-inline-start:0.1875rem;top:.1875rem;width:1.125rem}.gravitysmtp-admin .gform-toggle--size-m input[type=checkbox].gform-toggle__toggle:checked::after{transform:translateX(1.5rem)}.gravitysmtp-admin .gform-toggle--size-l input[type=checkbox].gform-toggle__toggle{height:1.75rem}.gravitysmtp-admin .gform-toggle--size-l input[type=checkbox].gform-toggle__toggle::before{border-radius:.875rem;height:1.75rem;width:3.4375rem}.gravitysmtp-admin .gform-toggle--size-l input[type=checkbox].gform-toggle__toggle::after{height:1.25rem;inset-inline-start:0.25rem;top:.25rem;width:1.25rem}.gravitysmtp-admin .gform-toggle--size-l input[type=checkbox].gform-toggle__toggle:checked::after{transform:translateX(1.6875rem)}.gravitysmtp-admin .gform-toggle__label{cursor:pointer}html[dir=rtl] .gravitysmtp-admin .gform-toggle--size-s input[type=checkbox].gform-toggle__toggle:checked::after{transform:translateX(-1.3125rem)}html[dir=rtl] .gravitysmtp-admin .gform-toggle--size-m input[type=checkbox].gform-toggle__toggle:checked::after{transform:translateX(-1.5rem)}html[dir=rtl] .gravitysmtp-admin .gform-toggle--size-l input[type=checkbox].gform-toggle__toggle:checked::after{transform:translateX(-1.6875rem)}.gravitysmtp-admin .gform-text{font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;font-style:normal}.gravitysmtp-admin .gform-text--color-port{color:#242748}.gravitysmtp-admin .gform-text--color-comet{color:#5b5e80}.gravitysmtp-admin .gform-text--color-white{color:#fff}.gravitysmtp-admin .gform-text--color-secondary-text{color:#6a6a80}.gravitysmtp-admin h1.gform-text,.gravitysmtp-admin h2.gform-text,.gravitysmtp-admin h3.gform-text,.gravitysmtp-admin h4.gform-text,.gravitysmtp-admin h5.gform-text,.gravitysmtp-admin h6.gform-text,.gravitysmtp-admin p.gform-text{color:#242748;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;margin:0;padding:0}.gravitysmtp-admin .gform-typography--size-text-xxs{font-size:.625rem;line-height:1.6}.gravitysmtp-admin .gform-typography--size-text-xs{font-size:.75rem;line-height:1.5}.gravitysmtp-admin .gform-typography--size-text-sm{font-size:.875rem;line-height:1.43}.gravitysmtp-admin .gform-typography--size-text-md{font-size:1rem;line-height:1.5}.gravitysmtp-admin .gform-typography--size-text-lg{font-size:1.125rem;line-height:1.56}.gravitysmtp-admin .gform-typography--size-text-xl{font-size:1.25rem;line-height:1.5}.gravitysmtp-admin .gform-typography--size-display-xs{font-size:1.5rem;line-height:1.33}.gravitysmtp-admin .gform-typography--size-display-sm{font-size:1.875rem;line-height:1.27}.gravitysmtp-admin .gform-typography--size-display-md{font-size:2.25rem;letter-spacing:-.02em;line-height:1.22}.gravitysmtp-admin .gform-typography--size-display-lg{font-size:2.875rem;letter-spacing:-.02em;line-height:1.09}.gravitysmtp-admin .gform-typography--size-display-xl{font-size:3rem;letter-spacing:-.02em;line-height:1.25}.gravitysmtp-admin .gform-typography--size-display-2xl{font-size:3.75rem;letter-spacing:-.02em;line-height:1.2}.gravitysmtp-admin .gform-typography--size-display-3xl{font-size:4.5rem;letter-spacing:-.02em;line-height:1.25}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-text-xxs{font-size:.625rem;line-height:1.6}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-text-xs{font-size:.75rem;line-height:1.5}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-text-sm{font-size:.875rem;line-height:1.43}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-text-md{font-size:1rem;line-height:1.5}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-text-lg{font-size:1.125rem;line-height:1.56}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-text-xl{font-size:1.25rem;line-height:1.5}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-display-xs{font-size:1.5rem;line-height:1.33}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-display-sm{font-size:1.875rem;line-height:1.27}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-display-md{font-size:2.25rem;letter-spacing:-.02em;line-height:1.22}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-display-lg{font-size:2.875rem;letter-spacing:-.02em;line-height:1.09}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-display-xl{font-size:3rem;letter-spacing:-.02em;line-height:1.25}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-display-2xl{font-size:3.75rem;letter-spacing:-.02em;line-height:1.2}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-display-3xl{font-size:4.5rem;letter-spacing:-.02em;line-height:1.25}}.gravitysmtp-admin .gform-typography--weight-regular{font-weight:400}.gravitysmtp-admin .gform-typography--weight-medium{font-weight:500}.gravitysmtp-admin .gform-typography--weight-semibold{font-weight:600} \ No newline at end of file +.gravitysmtp-admin .gform-alert{-webkit-font-smoothing:antialiased;align-items:flex-start;background-color:#fff;border:1px solid #d5d7e9;border-radius:3px;box-shadow:0 1px 4px rgba(0,0,0,.11),0 0 4px rgba(18,25,97,.0405344);color:#242748;display:flex;flex-wrap:nowrap;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-weight:500;margin-block-end:1rem;padding-block-end:12px;padding-block-start:11px;padding-inline:20px;position:relative}.field_setting .gravitysmtp-admin .gform-alert,.gravitysmtp-admin .gform-alert+.field_setting{margin-block-start:1rem}.gravitysmtp-admin .gform-alert.gform-alert--inline{padding-block-end:7px;padding-block-start:6px;padding-inline:12px}.gravitysmtp-admin .gform-alert.gform-alert--inline .gform-alert__message-wrap{-moz-column-gap:10px;column-gap:10px;padding-inline-start:28px;row-gap:7px}.gravitysmtp-admin .gform-alert.gform-alert--inline .gform-alert__message-wrap .gform-alert__message{font-size:.75rem;padding-block-start:8px}.gravitysmtp-admin .gform-alert.gform-alert--inline .gform-alert__icon{font-size:21px;height:19px;inset-block-start:13px;inset-inline-start:12px;width:19px}.gravitysmtp-admin .gform-alert .gform-alert__message-wrap{-moz-column-gap:15px;column-gap:15px;display:flex;flex-wrap:wrap;min-height:33px;padding-inline-start:32px;row-gap:10px;width:100%}.gravitysmtp-admin .gform-alert .gform-alert__message-wrap .gform-alert__message{color:inherit;flex:1 1 auto;font-size:.8125rem;font-weight:500;line-height:1.5;margin:0;padding-block-start:7px}.gravitysmtp-admin .gform-alert .gform-alert__message-wrap .gform-alert__message a,.gravitysmtp-admin .gform-alert .gform-alert__message-wrap .gform-alert__message a:hover{color:inherit}.gravitysmtp-admin .gform-alert .gform-alert__dismiss{align-self:flex-start;background:0 0;border:none;cursor:pointer;height:20px;inset-block-start:8px;margin-inline-start:12px;min-width:20px;padding:0;position:relative;text-align:center;width:20px}.gravitysmtp-admin .gform-alert .gform-alert__dismiss::after,.gravitysmtp-admin .gform-alert .gform-alert__dismiss::before{border:1px solid transparent;border-radius:50%;content:"";inset-block-start:calc(50% - 1px);inset-inline-start:50%;position:absolute;transform:translate3d(-50%,-50%,0);transition:border-color .2s ease-in-out}.gravitysmtp-admin .gform-alert .gform-alert__dismiss::before{height:23px;width:23px;z-index:1}.gravitysmtp-admin .gform-alert .gform-alert__dismiss::after{border-width:2px;height:25px;width:25px}.gravitysmtp-admin .gform-alert .gform-alert__dismiss:focus .gform-icon,.gravitysmtp-admin .gform-alert .gform-alert__dismiss:hover .gform-icon{color:#5b5e80}.gravitysmtp-admin .gform-alert .gform-alert__dismiss:focus::before{border-color:#3985b7}.gravitysmtp-admin .gform-alert .gform-alert__dismiss:focus::after{border-color:#bed8ed}.gravitysmtp-admin .gform-alert .gform-alert__dismiss .gform-icon{color:#9092b2;font-size:2.1rem;height:0;inset-block-start:50%;inset-inline-start:0;line-height:0;position:absolute;transition:color .2s ease-in-out}.gravitysmtp-admin .gform-alert.gform-alert--notice{border-color:#175cff;color:#175cff}.gravitysmtp-admin .gform-alert.gform-alert--notice .gform-alert__icon{color:#175cff}.gravitysmtp-admin .gform-alert.gform-alert--error{border-color:#dd301d;color:#dd301d}.gravitysmtp-admin .gform-alert.gform-alert--error .gform-alert__icon{color:#dd301d}.gravitysmtp-admin .gform-alert.gform-alert--success{border-color:#22a753;color:#22a753}.gravitysmtp-admin .gform-alert.gform-alert--success .gform-alert__icon{color:#22a753}.gravitysmtp-admin .gform-alert.gform-alert--accessibility{border-color:#ffbe03}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos{border-color:#d2d5db;padding:1rem}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap{min-height:25px;padding-block-start:2rem;padding-inline-start:0}@media (min-width:768px){.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap{padding-block-start:0;padding-inline-start:2rem}}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap .gform-alert__message{font-size:.875rem;padding-block-start:0}@media (min-width:768px){.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap .gform-alert__message{padding-block-start:0.125rem}}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap .gform-alert__message>*{font-size:.875rem;font-weight:400}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap .gform-alert__message .gform-list{margin-inline-start:1rem}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap .gform-alert__message .gform-list.gform-list--bulleted,.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap .gform-alert__message .gform-list.gform-list--decimal{padding-inline-start:0}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap .gform-alert__message .gform-list.gform-list--bulleted li,.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__message-wrap .gform-alert__message .gform-list.gform-list--decimal li{margin-block-end:0}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--info{color:#242748}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--info .gform-alert__message-wrap .gform-alert__message{color:#242748}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--info .gform-alert__message-wrap .gform-alert__message>*{color:#585e6a}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--info .gform-alert__icon{color:#242748}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--info .gform-alert__icon::after{background-color:#f2f3f5;border-color:#d2d5db}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--notice{background:#f4f8ff;border-color:#c3d9ff;color:#044ad3}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--notice .gform-alert__message-wrap .gform-alert__message{color:#044ad3}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--notice .gform-alert__icon{color:#044ad3}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--success{background:#fbfffb;border-color:#31c48d;color:#2f833d}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--success .gform-alert__message-wrap .gform-alert__message{color:#2f833d}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--success .gform-alert__icon{color:#2f833d}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--error,.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--incorrect{background:#fff9f9;border-color:#ffc7bb;color:#c02b0a}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--error .gform-alert__message-wrap .gform-alert__message,.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--incorrect .gform-alert__message-wrap .gform-alert__message{color:#c02b0a}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--error .gform-alert__icon,.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos.gform-alert--incorrect .gform-alert__icon{color:#c02b0a}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__icon{inset-inline-start:16px}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__icon.gform-icon--preset-active{position:absolute}.gravitysmtp-admin .gform-alert.gform-alert--theme-cosmos .gform-alert__icon.gform-icon--preset-active::before{position:absolute}.gravitysmtp-admin .gform-alert__icon{color:#242748;font-size:24px;height:21px;inset-block-start:17px;inset-inline-start:20px;position:absolute;width:21px}.gravitysmtp-admin .gform-alert__icon::before{height:0;inset-block-start:50%;left:50%;line-height:0;position:absolute;transform:translate3d(-50%,-50%,0);z-index:1}.gravitysmtp-admin .gform-alert__cta{margin-block-start:1px}.gravitysmtp-admin .gform-button{align-items:center;border:1px solid transparent;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.05);box-sizing:border-box;cursor:pointer;display:inline-flex;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;font-weight:500;height:2.375rem;line-height:normal;padding-block:0;padding-inline:1.125rem;position:relative;text-decoration:none;transition:transform .3s ease,box-shadow .3s ease,background-color .3s ease;white-space:nowrap}.gravitysmtp-admin .gform-button:focus{outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-button:disabled{pointer-events:none}.gravitysmtp-admin .gform-button.gform-button--circular{border-radius:100%;justify-content:center;padding:0}.gravitysmtp-admin .gform-button__icon{font-size:1.25rem;position:relative}.gravitysmtp-admin .gform-button--width-half{justify-content:center;width:50%}.gravitysmtp-admin .gform-button--width-full{justify-content:center;width:100%}.gravitysmtp-admin .gform-button--primary{background:#3e7da6;border-color:#3e7da6;color:#fff}.gravitysmtp-admin .gform-button--primary:active,.gravitysmtp-admin .gform-button--primary:hover{background:#3985b7}.gravitysmtp-admin .gform-button--primary:disabled{background:#3e7da6;color:#639cc1}.gravitysmtp-admin .gform-button--primary-new{background:#0f3d6c;border-color:#0f3d6c;box-shadow:0 1px 2px rgba(0,0,0,.05);color:#fff}.gravitysmtp-admin .gform-button--primary-new:active,.gravitysmtp-admin .gform-button--primary-new:hover{background:#242748;border-color:#242748;box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-button--primary-new:focus{border-color:#f6f9fc;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-button--primary-new:disabled{background:#0f3d6c;border-color:#0f3d6c;opacity:.5}.gravitysmtp-admin .gform-button--primary-new .gform-button__loader circle{stroke:#fff}.gravitysmtp-admin .gform-button--secondary{background:#fff;border-color:#3e7da6;color:#3e7da6}.gravitysmtp-admin .gform-button--secondary:active,.gravitysmtp-admin .gform-button--secondary:hover{border-color:#3985b7;color:#3985b7}.gravitysmtp-admin .gform-button--secondary:disabled{border-color:#c3c5db;color:#c3c5db}.gravitysmtp-admin .gform-button--white{background:#fdfdff;border-color:#d5d7e9;box-shadow:0 1px 2px rgba(0,0,0,.05);color:#242748}.gravitysmtp-admin .gform-button--white:active,.gravitysmtp-admin .gform-button--white:hover{box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-button--white:focus{border-color:#c3c5db;outline:.125rem solid #ecedf8}.gravitysmtp-admin .gform-button--white:disabled{border-color:#d5d7e9;opacity:.5}.gravitysmtp-admin .gform-button--white .gform-button__icon{color:#5b5e80}.gravitysmtp-admin .gform-button--white .gform-button__loader circle{stroke:#5b5e80}.gravitysmtp-admin .gform-button--apple-green{background:#f5fcf6;border-color:#e1f6ed;box-shadow:0 1px 2px rgba(0,0,0,.05);color:#22a753}.gravitysmtp-admin .gform-button--apple-green:active,.gravitysmtp-admin .gform-button--apple-green:hover{box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-button--apple-green:focus{border-color:#57c091;outline:.125rem solid #e1f6ed}.gravitysmtp-admin .gform-button--apple-green:disabled{border-color:#e1f6ed;opacity:.5}.gravitysmtp-admin .gform-button--egyptian-blue{background:#fdfdff;border-color:#bed8ed;box-shadow:0 1px 2px rgba(0,0,0,.05);color:#175cff}.gravitysmtp-admin .gform-button--egyptian-blue:active,.gravitysmtp-admin .gform-button--egyptian-blue:hover{box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-button--egyptian-blue:focus{border-color:#175cff;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-button--egyptian-blue:disabled{border-color:#bed8ed;opacity:.5}.gravitysmtp-admin .gform-button--amaranth-red{background:#fff9f9;border-color:#ffc7bb;box-shadow:0 1px 2px rgba(0,0,0,.05);color:#dd301d}.gravitysmtp-admin .gform-button--amaranth-red:active,.gravitysmtp-admin .gform-button--amaranth-red:hover{box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-button--amaranth-red:focus{border-color:#dd301d;outline:.125rem solid #ffc7bb}.gravitysmtp-admin .gform-button--amaranth-red:disabled{border-color:#ffc7bb;opacity:.5}.gravitysmtp-admin .gform-button--simplified{background:0 0;box-shadow:none;color:#5b5e80}.gravitysmtp-admin .gform-button--simplified:active,.gravitysmtp-admin .gform-button--simplified:hover{background-color:#ecedf8;border-color:#fff;color:#0f3d6c}.gravitysmtp-admin .gform-button--simplified:focus{border-color:#175cff;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-button--simplified:disabled{border-color:#bed8ed;opacity:.5}.gravitysmtp-admin .gform-button--unstyled{background:0 0;border:none;box-shadow:none;color:#242748;font-size:.8125rem;padding:0}.gravitysmtp-admin .gform-button--unstyled .gform-button__icon{color:#9092b2;font-size:1.5rem;inset-block-start:0.05rem;padding-inline-end:0.25rem;position:relative}.gravitysmtp-admin .gform-button--unstyled:active,.gravitysmtp-admin .gform-button--unstyled:focus,.gravitysmtp-admin .gform-button--unstyled:hover{background:0 0;border:none;box-shadow:none;color:#3e7da6;outline:0}.gravitysmtp-admin .gform-button--unstyled:active .gform-button__icon,.gravitysmtp-admin .gform-button--unstyled:focus .gform-button__icon,.gravitysmtp-admin .gform-button--unstyled:hover .gform-button__icon{color:#3e7da6}.gravitysmtp-admin .gform-button--unstyled:disabled{border:none;color:#c3c5db}.gravitysmtp-admin .gform-button--icon-grey,.gravitysmtp-admin .gform-button--icon-white{color:#5b5e80}.gravitysmtp-admin .gform-button--icon-grey.gform-button--size-height-s,.gravitysmtp-admin .gform-button--icon-white.gform-button--size-height-s{block-size:1.875rem;inline-size:1.875rem;padding:.25rem}.gravitysmtp-admin .gform-button--icon-grey.gform-button--size-height-m,.gravitysmtp-admin .gform-button--icon-white.gform-button--size-height-m{block-size:2.25rem;inline-size:2.25rem;padding:.4375rem}.gravitysmtp-admin .gform-button--icon-white{background:#fdfdff;border-color:#d5d7e9;box-shadow:0 1px 2px rgba(0,0,0,.05)}.gravitysmtp-admin .gform-button--icon-white:active,.gravitysmtp-admin .gform-button--icon-white:hover{box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-button--icon-white:focus{border-color:#175cff;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-button--icon-white:disabled{border-color:#d5d7e9;box-shadow:0 1px 2px rgba(0,0,0,.05);opacity:.5}.gravitysmtp-admin .gform-button--icon-grey{background:#fff;border-color:#fff;box-shadow:none}.gravitysmtp-admin .gform-button--icon-grey:active,.gravitysmtp-admin .gform-button--icon-grey:hover{background:#ecedf8;border-color:#ecedf8}.gravitysmtp-admin .gform-button--icon-grey:focus{background:#fdfdff;border-color:#175cff;box-shadow:0 1px 2px rgba(0,0,0,.05);outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-button--icon-grey:disabled{background:#fdfdff;border-color:#fdfdff;box-shadow:0 1px 2px rgba(0,0,0,.05);opacity:.5}.gravitysmtp-admin .gform-button--size-xs{block-size:2rem;font-size:.75rem;padding-block:0;padding-inline:0.6875rem}.gravitysmtp-admin .gform-button--size-xs .gform-button__icon{font-size:1rem}.gravitysmtp-admin .gform-button--size-sm{block-size:2.125rem;padding-block:0;padding-inline:0.8125rem}.gravitysmtp-admin .gform-button--size-sm .gform-button__icon{font-size:1rem}.gravitysmtp-admin .gform-button--size-l{block-size:2.625rem;font-size:1rem}.gravitysmtp-admin .gform-button--size-l .gform-button__icon{font-size:1.25rem}.gravitysmtp-admin .gform-button--size-xl{block-size:3.125rem;font-size:1rem;padding-block:0.8125rem;padding-inline:1.5625rem}.gravitysmtp-admin .gform-button--size-xl .gform-button__icon{font-size:1.25rem}.gravitysmtp-admin .gform-button--size-height-s{height:1.875rem;padding:.375rem .5rem}.gravitysmtp-admin .gform-button--size-height-m{height:2.125rem;padding:.375rem .625rem}.gravitysmtp-admin .gform-button--size-height-l{height:2.375rem;padding:.5rem .875rem}.gravitysmtp-admin .gform-button--size-height-xl{height:2.875rem;padding:.75rem .875rem}.gravitysmtp-admin .gform-button--size-height-xxl{height:3.375rem;padding:.875rem}.gravitysmtp-admin .gform-button--icon-leading .gform-button__icon{margin-inline-end:.35rem}.gravitysmtp-admin .gform-button--icon-leading.gform-button--size-xs .gform-button__icon{margin-inline-end:.375rem}.gravitysmtp-admin .gform-button--icon-leading.gform-button--size-sm .gform-button__icon{margin-inline-end:.375rem}.gravitysmtp-admin .gform-button--icon-leading.gform-button--size-l .gform-button__icon{margin-inline-end:.625rem}.gravitysmtp-admin .gform-button--icon-leading.gform-button--size-xl .gform-button__icon{margin-inline-end:.75rem}.gravitysmtp-admin .gform-button--icon-trailing .gform-button__icon{margin-inline-start:.5rem}.gravitysmtp-admin .gform-button--icon-trailing.gform-button--size-xs .gform-button__icon{margin-inline-start:.375rem}.gravitysmtp-admin .gform-button--icon-trailing.gform-button--size-sm .gform-button__icon{margin-inline-start:.375rem}.gravitysmtp-admin .gform-button--icon-trailing.gform-button--size-l .gform-button__icon{margin-inline-start:.625rem}.gravitysmtp-admin .gform-button--icon-trailing.gform-button--size-xl .gform-button__icon{margin-inline-start:.75rem}.gravitysmtp-admin .gform-button--round{border-radius:1.1875rem}.gravitysmtp-admin .gform-button--round.gform-button--size-xs{border-radius:.9375rem}.gravitysmtp-admin .gform-button--round.gform-button--size-sm{border-radius:1.0625rem}.gravitysmtp-admin .gform-button--round.gform-button--size-l{border-radius:1.3125rem}.gravitysmtp-admin .gform-button--round.gform-button--size-xl{border-radius:1.5625rem}.gravitysmtp-admin .gform-button--circular{height:2.375rem;width:2.375rem}.gravitysmtp-admin .gform-button--circular .gform-button__icon{font-size:1.375rem}.gravitysmtp-admin .gform-button--circular.gform-button--size-xs{height:1.875rem;width:1.875rem}.gravitysmtp-admin .gform-button--circular.gform-button--size-xs .gform-button__icon{font-size:1.125rem}.gravitysmtp-admin .gform-button--circular.gform-button--size-sm{height:2.125rem;width:2.125rem}.gravitysmtp-admin .gform-button--circular.gform-button--size-sm .gform-button__icon{font-size:1.25rem}.gravitysmtp-admin .gform-button--circular.gform-button--size-l{height:2.625rem;width:2.625rem}.gravitysmtp-admin .gform-button--circular.gform-button--size-l .gform-button__icon{font-size:1.75rem}.gravitysmtp-admin .gform-button--circular.gform-button--size-xl{height:3.125rem;width:3.125rem}.gravitysmtp-admin .gform-button--circular.gform-button--size-xl .gform-button__icon{font-size:2rem}.gravitysmtp-admin .gform-button__text--active{display:none;margin-inline-start:10px}.gravitysmtp-admin .gform-button--loader-after .gform-button__text--active{margin-inline:0 0.5rem}.gravitysmtp-admin .gform-button--activated{justify-content:center}.gravitysmtp-admin .gform-button--activated.gform-button--primary{color:#fff}.gravitysmtp-admin .gform-button--activated .gform-button__icon--inactive{display:none}.gravitysmtp-admin .gform-button--activated .gform-button__text--inactive{display:none}.gravitysmtp-admin .gform-button--activated .gform-button__text--active{display:inline-flex}.gravitysmtp-admin .gform-branded-button{align-items:stretch;block-size:2.5rem;border-radius:3px;box-shadow:0 0 0 rgba(18,25,97,.05),0 2px 5px rgba(18,25,97,.1),0 1px 1px rgba(18,25,97,.15);box-sizing:border-box;cursor:pointer;display:inline-flex;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;font-weight:700;padding:0;text-decoration:none;transition:transform .3s ease,box-shadow .3s ease,background-color .3s ease;white-space:nowrap}.gravitysmtp-admin .gform-branded-button:focus{outline-offset:0}.gravitysmtp-admin .gform-branded-button:disabled{pointer-events:none}.gravitysmtp-admin .gform-branded-button--color{background:#175cff;border:1px solid #175cff;color:#fff}.gravitysmtp-admin .gform-branded-button--color:active,.gravitysmtp-admin .gform-branded-button--color:hover{box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-branded-button--color:focus{outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-branded-button--color:disabled{box-shadow:0 0 0 rgba(18,25,97,.05),0 2px 5px rgba(18,25,97,.1),0 1px 1px rgba(18,25,97,.15);opacity:.5}.gravitysmtp-admin .gform-branded-button--white{background:#fff;border:1px solid #fff;color:#5b5e80}.gravitysmtp-admin .gform-branded-button--white:active,.gravitysmtp-admin .gform-branded-button--white:hover{box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-branded-button--white:focus{outline:.125rem solid #ecedf8}.gravitysmtp-admin .gform-branded-button--white:disabled{box-shadow:0 0 0 rgba(18,25,97,.05),0 2px 5px rgba(18,25,97,.1),0 1px 1px rgba(18,25,97,.15);opacity:.5}.gravitysmtp-admin .gform-branded-button__svg{align-items:center;background:#fff;block-size:2.375rem;border-radius:2px;display:flex;inline-size:2.375rem;justify-content:center}.gravitysmtp-admin .gform-branded-button__text{align-items:center;display:flex;justify-content:center;padding-inline:0.625rem}.gravitysmtp-admin .gform-calendar__wrapper{display:inline-block;position:relative}.gravitysmtp-admin .gform-calendar__wrapper .gform-calendar{display:none;margin-block-start:0.5rem;opacity:0;position:absolute;transition:opacity .15s ease;z-index:10}.gravitysmtp-admin .gform-calendar__wrapper.gform-calendar__wrapper--reveal .gform-calendar{display:block}.gravitysmtp-admin .gform-calendar__wrapper.gform-calendar__wrapper--hide .gform-calendar{display:block;opacity:0}.gravitysmtp-admin .gform-calendar__wrapper.gform-calendar__wrapper--open .gform-calendar{display:block;opacity:1}.gravitysmtp-admin .gform-calendar{background:#fff;border-radius:3px;box-shadow:0 0 1px rgba(18,25,97,.24),0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);box-sizing:border-box;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;inline-size:17.125rem;padding:.75rem}.gravitysmtp-admin .gform-calendar__calendar button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;cursor:pointer;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;outline:0;padding:0}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__navigation{display:flex;gap:.375rem;margin-block-end:0.375rem}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__navigation__arrow{block-size:1.5rem;border:1px solid #e4e9eb;border-radius:3px;box-shadow:0 1px 4px rgba(18,25,97,.0779552);flex:none;inline-size:1.5rem;padding:1px}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__navigation__arrow svg path{fill:#5b5e80}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__navigation__arrow:focus svg path,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__navigation__arrow:hover svg path{fill:#0f3d6c}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__navigation__label{color:#242748;flex:auto;font-size:.875rem;font-weight:500}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__navigation__label:focus,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__navigation__label:hover{color:#0f3d6c}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month{border:1px solid transparent;border-radius:3px;color:#242748;line-height:1}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade.react-calendar__tile--range,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade:hover,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year.react-calendar__tile--range,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year:hover,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day.react-calendar__tile--range,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day:hover,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month.react-calendar__tile--range,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month:hover{background:#f2f3f5;border:1px solid #d5d7e9}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade:focus,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year:focus,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day:focus,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month:focus{border:1px solid #0f3d6c}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade:disabled,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year:disabled,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day:disabled,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month:disabled{color:#d5d7e9}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade.react-calendar__tile--now,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year.react-calendar__tile--now,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day.react-calendar__tile--now,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month.react-calendar__tile--now{position:relative}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month.react-calendar__tile--now::after{background:#0f3d6c;block-size:3px;border-radius:50%;content:"";inline-size:3px;inset-block-end:0.125rem;inset-inline-start:50%;position:absolute;transform:translateX(-50%)}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade.react-calendar__tile--rangeEnd,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade.react-calendar__tile--rangeStart,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year.react-calendar__tile--rangeEnd,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year.react-calendar__tile--rangeStart,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day.react-calendar__tile--rangeEnd,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day.react-calendar__tile--rangeStart,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month.react-calendar__tile--rangeEnd,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month.react-calendar__tile--rangeStart{background:#0f3d6c;border:1px solid #0f3d6c;color:#fff}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade.react-calendar__tile--rangeEnd.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade.react-calendar__tile--rangeStart.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year.react-calendar__tile--rangeEnd.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year.react-calendar__tile--rangeStart.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day.react-calendar__tile--rangeEnd.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day.react-calendar__tile--rangeStart.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month.react-calendar__tile--rangeEnd.react-calendar__tile--now::after,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month.react-calendar__tile--rangeStart.react-calendar__tile--now::after{background:#fff}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__weekdays{block-size:2.3125rem;margin-inline:calc((0.75rem / 2) * -1)}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__weekdays__weekday{align-items:center;display:flex;justify-content:center}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__weekdays__weekday abbr{font-size:.75rem;font-weight:600;text-decoration:none}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days{grid-column-gap:calc(0.75rem / 2);-moz-column-gap:calc(0.75rem / 2);column-gap:calc(.75rem / 2);display:grid!important;grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr 1fr;margin-inline:calc((0.75rem / 2) * -1);grid-row-gap:0.75rem;row-gap:.75rem}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day{block-size:2rem;font-size:.875rem;font-weight:400}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__month-view__days__day.react-calendar__month-view__days__day--neighboringMonth{color:#d5d7e9}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view{padding-block:1rem 0.625rem}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months{grid-column-gap:0.625rem;-moz-column-gap:0.625rem;column-gap:.625rem;display:grid!important;grid-template-columns:1fr 1fr 1fr;grid-row-gap:0.75rem;row-gap:.75rem}.gravitysmtp-admin .gform-calendar__calendar .react-calendar__century-view__decades__decade,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__decade-view__years__year,.gravitysmtp-admin .gform-calendar__calendar .react-calendar__year-view__months__month{background:#fdfdff;block-size:1.875rem;font-size:.75rem;font-weight:500}.gravitysmtp-admin .gform-calendar__footer{display:flex;gap:.5rem;justify-content:center;margin-block-start:0.75rem}.gravitysmtp-admin .gform-card{aspect-ratio:1/1;border-radius:.1875rem;box-shadow:0 0 0 rgba(18,25,97,.05),0 2px 5px rgba(18,25,97,.1),0 1px 1px rgba(18,25,97,.15);display:flex;flex-direction:column;justify-content:center;position:relative;transition:box-shadow .2s ease;width:100%}.gravitysmtp-admin .gform-card,.gravitysmtp-admin .gform-card *{box-sizing:border-box}.gravitysmtp-admin .gform-card__top-container{border-start-end-radius:0.1875rem;border-start-start-radius:0.1875rem;flex:1;position:relative}.gravitysmtp-admin .gform-card__bottom-container{background-color:#fff;border-block-start:1px solid #ecedf8;border-end-end-radius:0.1875rem;border-end-start-radius:0.1875rem;padding:1.25rem;position:relative;width:100%;z-index:1}.gravitysmtp-admin .gform-card--integration{aspect-ratio:auto;border:1px solid #d3d3e0;box-shadow:0 2px 2px rgba(58,58,87,.0596411);min-inline-size:275px}.gravitysmtp-admin .gform-card--integration.gform-card--disabled{opacity:.5}.gravitysmtp-admin .gform-card--integration.gform-card--disabled::after{block-size:100%;content:"";inline-size:100%;inset-block-start:0;inset-inline-start:0;position:absolute;z-index:5}.gravitysmtp-admin .gform-card--integration .gform-card__top-container{background:#fff;padding-block:1.5rem 1.25rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-card--integration .gform-card__bottom-container{padding-block:1rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-card--integration .gform-card__top-container-description{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;overflow:hidden;text-overflow:ellipsis}.gravitysmtp-admin .gform-card--metric{align-items:center;background:#fff;border:1px solid #d5d7e9;border-radius:3px;display:flex;flex-direction:row;inline-size:100%;padding:24px}.gravitysmtp-admin .gform-card--metric,.gravitysmtp-admin .gform-card--metric *{box-sizing:border-box}.gravitysmtp-admin .gform-card--metric .gform-card__metric-title{color:#5b5e80}.gravitysmtp-admin .gform-card--metric .gform-card__metric-count{bottom:-.25rem;position:relative}.gravitysmtp-admin .gform-chart__wrapper{color:#5b5e80;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.75rem;padding-inline-end:1.25rem}.gravitysmtp-admin .gform-chart__checkboxes{display:flex;justify-content:flex-end;width:100%}.gravitysmtp-admin .gform-input--checkbox{border:0 none;clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.gravitysmtp-admin .gform-input--checkbox+label{outline:0}.gravitysmtp-admin .gform-input--checkbox:disabled+label::before{opacity:.6}.gravitysmtp-admin .gform-input--checkbox:not(.field-choice-type)+label::before{background:center no-repeat #fff;block-size:1.375rem;border:1px solid #9092b2;border-radius:3px;content:"";display:inline-block;inline-size:1.375rem;margin-inline-end:.375rem;transition:box-shadow .15s ease,background-color .15s ease;vertical-align:middle}.gravitysmtp-admin .gform-input--checkbox:not(.field-choice-type)+label::-moz-selection{background:0 0}.gravitysmtp-admin .gform-input--checkbox:not(.field-choice-type)+label::selection{background:0 0}.gravitysmtp-admin .gform-input--checkbox:focus+label::before,.gravitysmtp-admin .gform-input--checkbox:hover+label::before{border:1px solid #3985b7;box-shadow:0 0 0 2px #bed8ed}.gravitysmtp-admin .gform-input--checkbox:checked:not(.field-choice-type--checkbox)+label::before{background-image:url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6.58579L10.2929 0.292893C10.6834 -0.0976311 11.3166 -0.0976311 11.7071 0.292893C12.0976 0.683418 12.0976 1.31658 11.7071 1.70711L4 9.41421L0.292893 5.70711C-0.0976311 5.31658 -0.0976311 4.68342 0.292893 4.29289C0.683418 3.90237 1.31658 3.90237 1.70711 4.29289L4 6.58579Z' fill='%233E7DA6'/%3E%3C/svg%3E");border-color:#3e7da6}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-input-wrapper--checkbox,.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-input-wrapper--checkbox *,.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-input-wrapper--checkbox ::after,.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-input-wrapper--checkbox ::before{box-sizing:border-box}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox+.gform-label{align-items:flex-start;display:flex}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox+.gform-label::before{border:.0625rem solid #9092b0;box-shadow:0 1px 4px rgba(18,25,97,.0779552);flex:none}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox:hover+.gform-label::before{background-color:#f6f9fc}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox:focus+.gform-label::before{background-color:#f6f9fc;border-color:#175cff;box-shadow:0 1px 2px rgba(0,0,0,.05),0 0 0 2px #bed8ed}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox:checked+.gform-label::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTQuMTMzIDYuOTQ3IDUuODc0LTUuODc0YS45MzMuOTMzIDAgMCAxIDEuMzIgMS4zMmwtNi44NCA2Ljg0YS41LjUgMCAwIDEtLjcwNyAwTC42NzMgNi4xMjZhLjkzMy45MzMgMCAxIDEgMS4zMi0xLjMybDIuMTQgMi4xNFoiIGZpbGw9IiMwRjNENkMiLz48L3N2Zz4=")}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox:indeterminate+.gform-label::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMiIgdmlld0JveD0iMCAwIDEwIDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xLjUgMUg4LjUiIHN0cm9rZT0iIzBGM0Q2QyIgc3Ryb2tlLXdpZHRoPSIxLjY2NjY2IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==")}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox:disabled+.gform-label{color:#d5d7e9}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox:disabled+.gform-label::before{background-color:#f6f9fc;border-color:#ecedf8;box-shadow:none;opacity:1}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox:disabled:checked+.gform-label::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyLjMzMyAxIDUgOC4zMzMgMS42NjcgNSIgc3Ryb2tlPSIjRUNFREY4IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==")}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox:disabled~.gform-input-help-text{color:#d5d7e9}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox.gform-input--size-sm+.gform-label::before{block-size:1.125rem;inline-size:1.125rem;margin-inline-end:.5rem}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox.gform-input--size-sm:checked+.gform-label::before{background-size:10px 8px}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox.gform-input--size-sm~.gform-input-help-text{margin-inline-start:1.625rem}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox.gform-input--size-md+.gform-label::before{block-size:1.375rem;inline-size:1.375rem;margin-block-start:-0.0625rem;margin-inline-end:.75rem}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--checkbox.gform-input--size-md~.gform-input-help-text{margin-inline-start:2.125rem}.gravitysmtp-admin .gform-data-grid{background:#fff;border:1px solid #d3d3e0;border-radius:3px;box-shadow:0 2px 2px rgba(58,58,87,.0596411);box-sizing:border-box;display:flex;flex-direction:column;width:100%}.gravitysmtp-admin .gform-data-grid *{box-sizing:border-box}.gravitysmtp-admin .gform-data-grid__header{display:flex;justify-content:space-between;padding-block:1.25rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-data-grid__controls{border-block-start:1px solid #d3d3e0;display:flex;flex-direction:column-reverse;inline-size:100%}@media (min-width:40.625rem){.gravitysmtp-admin .gform-data-grid__controls{flex-direction:row}}.gravitysmtp-admin .gform-data-grid__controls-inner{padding-block:1rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-data-grid__controls-inner--left:not(:last-child){border-block-start:1px solid #d3d3e0}@media (min-width:40.625rem){.gravitysmtp-admin .gform-data-grid__controls-inner--left:not(:last-child){border-block-start:0}}.gravitysmtp-admin .gform-data-grid__controls-inner--right{display:flex;gap:.75rem}@media (min-width:40.625rem){.gravitysmtp-admin .gform-data-grid__controls-inner--right{margin-inline-start:auto}}.gravitysmtp-admin .gform-data-grid__controls-bulk-actions,.gravitysmtp-admin .gform-data-grid__controls-search{align-items:center;display:flex;gap:.75rem;inline-size:100%}.gravitysmtp-admin .gform-data-grid__controls-search{justify-content:flex-end}@media (min-width:40.625rem){.gravitysmtp-admin .gform-data-grid__controls-search{max-inline-size:28.75rem}}.gravitysmtp-admin .gform-data-grid__controls-bulk-actions{justify-content:flex-start}@media (min-width:40.625rem){.gravitysmtp-admin .gform-data-grid__controls-bulk-actions{max-inline-size:25rem}}.gravitysmtp-admin .gform-data-grid__controls-bulk-actions-select,.gravitysmtp-admin .gform-data-grid__controls-search-input{flex-grow:1}.gravitysmtp-admin .gform-data-grid__controls-simple-filters{position:relative}.gravitysmtp-admin .gform-data-grid__controls-simple-filters-list-item--reset.gform-data-grid__controls-simple-filters-list-item:last-child{margin-block-end:calc(0.25rem * -1)}.gravitysmtp-admin .gform-data-grid__controls-simple-filters-list-item--reset .gform-droplist__item-trigger-text{color:#175cff;padding:0;text-align:center}.gravitysmtp-admin .gform-data-grid__controls-simple-filters-count{align-items:center;background:#175cff;block-size:0.875rem;border-radius:.125rem;color:#fff;display:flex;inline-size:0.875rem;inset-block-start:-2px;inset-inline-end:-2px;justify-content:center;position:absolute}.gravitysmtp-admin .gform-data-grid__active-filters{align-items:center;border-block-start:1px solid #d3d3e0;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;padding-block:0.5rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-data-grid__controls-date-filters--has-filter{position:relative}.gravitysmtp-admin .gform-data-grid__controls-date-filters--has-filter::after{background:#175cff;block-size:0.875rem;border-radius:50%;content:"";display:block;inline-size:0.875rem;inset-block-start:-2px;inset-inline-end:-2px;position:absolute}.gravitysmtp-admin .gform-data-grid__controls-date-filters-calendar{inset-inline-end:0}.gravitysmtp-admin .gform-data-grid__select-notice{align-items:center;border-block-start:1px solid #d3d3e0;display:flex;flex-direction:row;gap:1rem;justify-content:center;min-block-size:2.6875rem;padding:.375rem 1.5rem}.gravitysmtp-admin .gform-data-grid__select-notice .gform-data-grid__bold-text{font-weight:600}.gravitysmtp-admin .gform-data-grid__column-row{background:#f6f9fc;border-block-start:1px solid #d3d3e0;display:flex;flex-direction:row;padding-inline:0.75rem;width:100%}.gravitysmtp-admin .gform-data-grid__column-row .gform-data-grid__column{padding-block:0.75rem;padding-inline:0.75rem}.gravitysmtp-admin .gform-data-grid__column-row .gform-data-grid__column .gform-text{color:#5b5e80}.gravitysmtp-admin .gform-data-grid__column-row .gform-data-grid__column--bulk-select{flex:none;padding-inline-end:0.25rem}.gravitysmtp-admin .gform-data-grid__data-row{border-block-start:1px solid #d3d3e0;display:flex;flex-direction:row;padding-inline:0.75rem;width:100%}.gravitysmtp-admin .gform-data-grid__data-row .gform-data-grid__column{padding-block:1.25rem;padding-inline:0.75rem}.gravitysmtp-admin .gform-data-grid__data-row .gform-data-grid__column--row-select{flex:none;padding-inline-end:0.25rem}.gravitysmtp-admin .gform-data-grid--highlight-hover .gform-data-grid__data-row:hover{background:#f9f9f9}.gravitysmtp-admin .gform-data-grid--highlight-selected .gform-data-grid__data-row.gform-data-grid__data-row--selected{background:#f6f9fc}.gravitysmtp-admin .gform-data-grid--highlight-selected .gform-data-grid__data-row.gform-data-grid__data-row--selected:hover{background:#f6f9fc}.gravitysmtp-admin .gform-data-grid--equal-grid .gform-data-grid__column-row,.gravitysmtp-admin .gform-data-grid--equal-grid .gform-data-grid__data-row{justify-content:space-between}.gravitysmtp-admin .gform-data-grid__column{align-items:center;display:flex;overflow:hidden}.gravitysmtp-admin .gform-data-grid__column .gform-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-data-grid__bulk-select-checkbox .gform-input--checkbox+.gform-label::before,.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-data-grid__row-select-checkbox .gform-input--checkbox+.gform-label::before{margin:0}.gravitysmtp-admin .gform-data-grid__data{position:relative}.gravitysmtp-admin .gform-data-grid__no-data-message{align-items:center;background:#fff;border:1px solid #f4f5fb;border-radius:3px;box-shadow:0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);display:flex;flex-direction:column;justify-content:center;left:50%;padding:1.5rem;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%)}.gravitysmtp-admin .gform-data-grid__pagination{align-items:center;border-block-start:1px solid #d3d3e0;display:flex;flex-direction:row;justify-content:center;padding:1.25rem 1.5rem}.gravitysmtp-admin .gform-data-grid__loader{background-color:#e4e9eb;block-size:22px;border-radius:11px;opacity:1}.gravitysmtp-admin .gform-data-grid__loader.gform-data-grid__loader--animating{animation:gravitysmtpOpacityCycle 1s ease-in-out infinite;animation-delay:-.5s}.gravitysmtp-admin .gform-data-grid--empty .gform-data-grid__pagination{block-size:4.8125rem}.gravitysmtp-admin .gform-data-grid--empty .gform-pagination{display:none}.gravitysmtp-admin .gform-data-grid--loading .gform-data-grid__pagination{opacity:.5;position:relative}.gravitysmtp-admin .gform-data-grid--loading .gform-data-grid__pagination::after{block-size:100%;content:"";display:block;inline-size:100%;inset-block-start:0;inset-inline-start:0;position:absolute}@keyframes gravitysmtpOpacityCycle{0%,100%{opacity:1}50%{opacity:.5}}.gravitysmtp-admin .gform-description-list{background:#fff;border:1px solid #d3d3e0;border-radius:3px;box-shadow:0 2px 2px rgba(58,58,87,.0596411);box-sizing:border-box;width:100%}.gravitysmtp-admin .gform-description-list *{box-sizing:border-box}.gravitysmtp-admin .gform-description-list .gform-description-list__title{padding-block:1.25rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-description-list__description:not(:first-child),.gravitysmtp-admin .gform-description-list__group:not(:first-child),.gravitysmtp-admin .gform-description-list__list:not(:first-child),.gravitysmtp-admin .gform-description-list__term:not(:first-child){border-block-start:1px solid #d3d3e0}.gravitysmtp-admin .gform-description-list__list{margin:0}.gravitysmtp-admin .gform-description-list__description,.gravitysmtp-admin .gform-description-list__term{padding-block:0.75rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-description-list__term{background:#f6f9fc}.gravitysmtp-admin .gform-description-list__description{margin:0}.gravitysmtp-admin .gform-dialog__mask{align-items:center;display:none;height:100%;justify-content:center;left:0;opacity:0;top:0;transition:opacity .2s ease-in-out;width:100%}.gravitysmtp-admin .gform-dialog__mask.gform-dialog--alignment-top{align-items:flex-start;overflow-y:auto;padding-bottom:50px;padding-top:110px}.gravitysmtp-admin .gform-dialog__mask.gform-dialog--anim-in-ready{display:flex;opacity:0}.gravitysmtp-admin .gform-dialog__mask.gform-dialog--anim-in-active{opacity:1}.gravitysmtp-admin .gform-dialog__mask.gform-dialog--anim-in-active .gform-dialog{transform:scale(1)}.gravitysmtp-admin .gform-dialog__mask.gform-dialog__mask--position-fixed{position:fixed}.gravitysmtp-admin .gform-dialog__mask.gform-dialog__mask--position-absolute{position:absolute}.gravitysmtp-admin .gform-dialog__mask.gform-dialog__mask--theme-light{background:rgba(255,255,255,.65)}.gravitysmtp-admin .gform-dialog__mask.gform-dialog__mask--theme-dark{background-color:rgba(36,39,72,.75)}.gravitysmtp-admin .gform-dialog__mask.gform-dialog__mask--blur{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.gravitysmtp-admin .gform-dialog{background:#fff;border:1px solid #f6f9fc;box-shadow:0 0 1px rgba(18,25,97,.24),0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);box-sizing:border-box;max-width:600px;overflow-y:auto;padding:14px 25px 25px;position:relative;transform:scale(.95);transition:transform .2s ease-in-out;width:calc(100% - 40px)}.gravitysmtp-admin .gform-dialog.gform-dialog--container{border:none;box-shadow:none;height:100%;max-width:none;padding:0;width:100%}.gravitysmtp-admin .gform-dialog.gform-dialog--animated{opacity:0;position:relative;top:20px;transform:scale(1);transition:transform .6s,opacity .6s,top .6s}.gravitysmtp-admin .gform-dialog.gform-dialog--animated.gform-dialog--animate-reveal{opacity:1;top:0;transform:scale(1)}.gravitysmtp-admin .gform-dialog.gform-dialog__theme--cosmos{border-radius:3px;box-shadow:0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03)}.gravitysmtp-admin .gform-dialog.gform-dialog__theme--cosmos .gform-dialog__content{color:#667085}.gravitysmtp-admin .gform-dialog.gform-dialog__theme--cosmos .gform-dialog__footer{padding-top:32px}.gravitysmtp-admin .gform-dialog.gform-dialog--simplebar{align-items:stretch;display:flex;flex-direction:column;overflow-y:inherit;padding:0}.gravitysmtp-admin .gform-dialog.gform-dialog--simplebar [data-simplebar=init]{box-sizing:border-box;display:flex;flex-grow:1;overflow-y:auto;padding:14px 25px 25px;width:100%}.gravitysmtp-admin .gform-dialog.gform-dialog--simplebar .simplebar-content-wrapper{border:0;outline:0}.gravitysmtp-admin .gform-dialog .gform-dialog__close{inset-inline-end:25px;position:absolute;top:25px}.gravitysmtp-admin .gform-dialog .gform-dialog__close.gform-button--size-xs{height:1.875rem;width:1.875rem}.gravitysmtp-admin .gform-dialog .gform-dialog__close.gform-button--size-xs .gform-button__icon{top:0}.gravitysmtp-admin .gform-dialog .gform-dialog__close.gform-button--size-md{height:2.5rem;inset-inline-end:20px;top:20px;width:2.5rem}.gravitysmtp-admin .gform-dialog .gform-dialog__close.gform-button--size-md .gform-button__icon{top:0}.gravitysmtp-admin .gform-dialog .gform-dialog__close.gform-button--circular.gform-dialog__close--plain{background:0 0;border:none}.gravitysmtp-admin .gform-dialog .gform-dialog__close.gform-button--circular.gform-dialog__close--plain .gform-button__icon{color:#fff;font-size:2rem}.gravitysmtp-admin .gform-dialog .gform-dialog__close.gform-button--unstyled.gform-button--size-md{justify-content:flex-end}.gravitysmtp-admin .gform-dialog .gform-dialog__close.gform-button--unstyled .gform-button__icon{color:#5b5e80}.gravitysmtp-admin .gform-dialog .gform-dialog__head.gform-dialog__head--with-divider{border-bottom:1px solid #e4e4ee;padding-bottom:15px}.gravitysmtp-admin .gform-dialog .gform-dialog__head .gform-indicator{position:absolute}.gravitysmtp-admin .gform-dialog .gform-dialog__head .gform-indicator--confirm{inset-block-start:28px}.gravitysmtp-admin .gform-dialog .gform-dialog__title{color:#242748;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:1.1875rem;font-weight:500;line-height:normal;line-height:initial;margin:10px 0 0 0;padding-inline-end:30px;position:relative}.gravitysmtp-admin .gform-dialog .gform-dialog__title.gform-dialog__title--has-icon{padding-block-start:6px;padding-inline-start:50px}.gravitysmtp-admin .gform-dialog .gform-dialog__title.gform-dialog__title--icon-type-confirm{padding-block-start:0;padding-inline-start:30px}.gravitysmtp-admin .gform-dialog.gform-dialog--title-size-md .gform-dialog__title{font-size:1.5rem;font-weight:600}.gravitysmtp-admin .gform-dialog .gform-dialog__description{color:#5b5e80;display:inline-block;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;font-weight:400;line-height:normal;line-height:initial;margin:.75rem 0 0 0;padding-inline-end:30px;position:relative}.gravitysmtp-admin .gform-dialog .gform-dialog__description.gform-dialog__title--has-icon{padding-inline-start:50px}.gravitysmtp-admin .gform-dialog .gform-dialog__title-icon{font-size:1.5rem;inset-inline-start:0;position:absolute;top:3px}.gravitysmtp-admin .gform-dialog .gform-dialog__content{padding-bottom:0;padding-inline-start:0;padding-top:10px}.gravitysmtp-admin .gform-dialog .gform-dialog__content.gform-dialog__content--with-divider{padding-top:15px}.gravitysmtp-admin .gform-dialog .gform-dialog__content.gform-dialog__content--pad-content{padding-inline-end:30px}.gravitysmtp-admin .gform-dialog .gform-dialog__content,.gravitysmtp-admin .gform-dialog .gform-dialog__content p{color:#242748;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;line-height:1.188rem}.gravitysmtp-admin .gform-dialog .gform-dialog__footer{align-items:center;display:flex;padding-top:20px;width:100%}.gravitysmtp-admin .gform-dialog .gform-dialog__confirm{margin-inline-start:12px}.gravitysmtp-admin .gform-dialog .gform-dialog__confirm.gform-button--icon-leading .gform-button__icon{font-size:1.5rem}.gravitysmtp-admin .gform-dialog--full-screen{height:calc(100vh - 40px);max-width:1280px;overflow:auto;padding:0}.gravitysmtp-admin .gform-dialog--full-screen .gform-dialog__content{margin:0;padding:0}.gravitysmtp-admin .gform-droplist{box-sizing:border-box;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;position:relative}.gravitysmtp-admin .gform-droplist *{box-sizing:border-box}.gravitysmtp-admin .gform-droplist__list-wrapper{background:#fff;border-radius:.1875rem;box-shadow:0 0 1px rgba(18,25,97,.24),0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);display:none;inset-block-end:calc(0.5rem * -1);inset-block-start:auto;opacity:0;padding-block:0;position:absolute;transform:translateY(100%);transition:opacity .15s ease;z-index:2}.gravitysmtp-admin .gform-droplist--reveal .gform-droplist__list-wrapper{display:block}.gravitysmtp-admin .gform-droplist--hide .gform-droplist__list-wrapper{display:block;opacity:0}.gravitysmtp-admin .gform-droplist--open .gform-droplist__list-wrapper{display:block;opacity:1}.gravitysmtp-admin .gform-droplist--position-top .gform-droplist__list-wrapper{inset-block-end:auto;inset-block-start:calc(0.5rem * -1);transform:translateY(-100%)}.gravitysmtp-admin .gform-droplist--align-left .gform-droplist__list-wrapper{inset-inline-start:0}.gravitysmtp-admin .gform-droplist--align-right .gform-droplist__list-wrapper{inset-inline-end:0}.gravitysmtp-admin .gform-droplist__list-container{padding-block:0.5rem}.gravitysmtp-admin .gform-droplist__list{list-style-type:none;margin:0;padding:0}.gravitysmtp-admin .gform-droplist__item{margin-block-end:0.25rem;padding-block:0.25rem;padding-inline:0.5rem}.gravitysmtp-admin .gform-droplist__item:last-child{margin-block-end:0}.gravitysmtp-admin .gform-droplist__item--group{position:relative}.gravitysmtp-admin .gform-droplist__item--has-divider{position:relative}.gravitysmtp-admin .gform-droplist__item--has-divider::after{border-block-end:0.0625rem solid #ecedf8;content:"";inline-size:100%;inset-block-end:calc(0.25rem * -1);inset-inline-start:0;position:absolute}.gravitysmtp-admin .gform-droplist__item--group>.gform-droplist__list-container{background:#fff;border-radius:.1875rem;box-shadow:0 0 1px rgba(18,25,97,.24),0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);display:none;inset-block-start:0;inset-inline-start:calc(100% + 0.5rem);opacity:0;position:absolute;transition:opacity .15s ease}.gravitysmtp-admin .gform-droplist--align-right .gform-droplist__item--group>.gform-droplist__list-container{inset-inline-end:calc(100% + 0.5rem);inset-inline-start:auto}.gravitysmtp-admin .gform-droplist__item--reveal>.gform-droplist__list-container{display:block}.gravitysmtp-admin .gform-droplist__item--hide>.gform-droplist__list-container{display:block;opacity:0}.gravitysmtp-admin .gform-droplist__item--open>.gform-droplist__list-container{display:block;opacity:1}.gravitysmtp-admin .gform-droplist__item-trigger{align-items:flex-start;background:#fff;border:.0625rem solid #fff;border-radius:.1875rem;cursor:pointer;display:flex;inline-size:100%;outline:0;padding-block:0.25rem;padding-inline:0.5rem;text-align:start;text-decoration:none;transition:all .15s ease}.gravitysmtp-admin .gform-droplist__item-trigger--info:hover{background:#f6f9fc;border-color:#f6f9fc}.gravitysmtp-admin .gform-droplist__item-trigger--info:focus{background:#fdfdff;border-color:#175cff;box-shadow:0 .125rem .0675rem rgba(28,31,63,.0634624),0 0 0 2px #bed8ed}.gravitysmtp-admin .gform-droplist__item-trigger--info:active{background:#f6f9fc;border-color:#d5d7e9;box-shadow:none}.gravitysmtp-admin .gform-droplist__item-trigger--info .gform-droplist__item-trigger-group-icon::before,.gravitysmtp-admin .gform-droplist__item-trigger--info .gform-droplist__item-trigger-icon::before{color:#5b5e80}.gravitysmtp-admin .gform-droplist__item-trigger--error:hover{background:#fee4e2;border-color:#fee4e2}.gravitysmtp-admin .gform-droplist__item-trigger--error:focus{background:#fee4e2;border-color:#dd301d;box-shadow:0 0 0 2px #fee4e2,0 1px 2px 0 rgba(16,24,40,.05)}.gravitysmtp-admin .gform-droplist__item-trigger--error:active{background:#fee4e2;border-color:#ffc7bb;box-shadow:none}.gravitysmtp-admin .gform-droplist__item-trigger--error,.gravitysmtp-admin .gform-droplist__item-trigger--error .gform-droplist__item-trigger-group-icon::before,.gravitysmtp-admin .gform-droplist__item-trigger--error .gform-droplist__item-trigger-icon::before{color:#dd301d}.gravitysmtp-admin .gform-droplist__item-trigger--disabled:disabled{background:#fff;border:.0625rem solid #fff;cursor:default;opacity:.5}.gravitysmtp-admin .gform-droplist__item-trigger-text{flex:auto;padding-inline-end:1.75rem;white-space:nowrap}.gravitysmtp-admin .gform-droplist__item-trigger-icon{flex:none;font-size:1.25rem}.gravitysmtp-admin .gform-droplist__item-trigger-icon--before{margin-inline-end:.375rem}.gravitysmtp-admin .gform-droplist__item-trigger-icon--after{margin-inline-start:.375rem}.gravitysmtp-admin .gform-heading{font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif}.gravitysmtp-admin .gform-heading.gform-heading--boxed{background:#fdfdff;border:1px solid #e4e9eb;border-radius:3px;padding-block:0.75rem;padding-inline:1rem}.gravitysmtp-admin.admin-bar .gform-flyout.gform-flyout--fixed{top:46px}@media (min-width:783px){.gravitysmtp-admin.admin-bar .gform-flyout.gform-flyout--fixed{top:32px}}.gravitysmtp-admin .gform-flyout{background:#fff;bottom:0;box-shadow:0 0 1px rgba(18,25,97,.24),0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);box-sizing:border-box;display:none;flex-direction:column;height:100%;left:0;opacity:0;padding-top:2.125rem;position:absolute;top:0;transition:opacity 150ms ease-in-out,width 150ms ease-in-out}.gravitysmtp-admin .gform-flyout:hover .gform-flyout__expand{opacity:1}.gravitysmtp-admin .gform-flyout p{margin:0;padding:0}.gravitysmtp-admin .gform-flyout.gform-flyout--anim-in-ready{display:flex}.gravitysmtp-admin .gform-flyout.gform-flyout--anim-in-active{opacity:1}.gravitysmtp-admin .gform-flyout.gform-flyout--fixed{position:fixed}.gravitysmtp-admin .gform-flyout.gform-flyout--absolute{position:absolute}.gravitysmtp-admin .gform-flyout.gform-flyout--hide-expander .gform-flyout__expand{opacity:0}.gravitysmtp-admin .gform-flyout.gform-flyout--right{left:auto;right:0}.gravitysmtp-admin .gform-flyout.gform-flyout--right .gform-flyout__expand-rail{left:-35px}.gravitysmtp-admin .gform-flyout.gform-flyout--right .gform-flyout__expand{left:-35px}.gravitysmtp-admin .gform-flyout.gform-flyout--right .gform-flyout__expand-icon{transform:rotate(90deg)}.gravitysmtp-admin .gform-flyout.gform-flyout--left .gform-flyout__expand-rail{right:-35px}.gravitysmtp-admin .gform-flyout.gform-flyout--left .gform-flyout__expand{right:-35px}.gravitysmtp-admin .gform-flyout.gform-flyout--left .gform-flyout__expand-icon{transform:rotate(-90deg)}.gravitysmtp-admin .gform-flyout.gform-flyout--expanded.gform-flyout--right .gform-flyout__expand-icon{transform:rotate(-90deg)}.gravitysmtp-admin .gform-flyout.gform-flyout--expanded.gform-flyout--left .gform-flyout__expand-icon{transform:rotate(90deg)}.gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs{align-items:center;border:1px solid #d5d7e9;display:flex;font-size:1.25rem;height:1.625rem;position:absolute;right:25px;transition:border-color .2s ease-in-out,box-shadow .2s ease-in-out;width:1.625rem;z-index:5}.gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs:focus,.gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs:hover{border-color:#d5d7e9}.gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs .gform-button__icon{font-size:1.875rem;top:0}.gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs.gform-button--simplified{border:1px solid transparent;height:1.875rem;transition:transform .3s ease,box-shadow .3s ease,background-color .3s ease;width:1.875rem}.gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs.gform-button--simplified:hover{border-color:#fff}.gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs.gform-button--simplified:focus{border-color:#175cff}.gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs.gform-button--simplified .gform-button__icon{font-size:1.125rem;top:auto}.gravitysmtp-admin .gform-flyout .gform-flyout__expand-rail{height:56px;margin-top:-28px;position:absolute;top:50%;width:35px}.gravitysmtp-admin .gform-flyout .gform-flyout__expand{align-items:center;background:#fff;border:1px solid #ecedf8;border-radius:19px;box-shadow:0 0 1px rgba(18,25,97,.24),0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);color:#242748;cursor:pointer;display:flex;height:56px;justify-content:center;margin-top:-28px;opacity:0;position:absolute;top:50%;transition:opacity .15s ease,transform .3s ease,box-shadow .3s ease,border-color .3s ease;width:19px}.gravitysmtp-admin .gform-flyout .gform-flyout__expand:focus{border-color:#d5d7e9;opacity:1;outline:0}.gravitysmtp-admin .gform-flyout .gform-flyout__expand:focus .gform-flyout__expand-icon{color:#3e7da6}.gravitysmtp-admin .gform-flyout .gform-flyout__expand:hover .gform-flyout__expand-icon{color:#3e7da6}.gravitysmtp-admin .gform-flyout .gform-flyout__expand-icon{align-items:center;color:#242748;display:flex;font-size:1rem;height:15px;justify-content:center;position:relative;transition:color .3s ease;width:100%}.gravitysmtp-admin .gform-flyout__head{padding:0 2.875rem 1.25rem;position:relative}.gravitysmtp-admin .gform-flyout__head::after{background:#ecedf8;bottom:0;content:"";height:.0625rem;left:0;position:absolute;width:100%}.gravitysmtp-admin .gform-flyout--no-divider .gform-flyout__head::after{display:none}.gravitysmtp-admin .gform-flyout__title{color:#242748;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;font-weight:500;line-height:18px;margin:0 0 12px}.gravitysmtp-admin .gform-flyout--no-description .gform-flyout__title{margin:0}.gravitysmtp-admin .gform-flyout__desc{color:#242748;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;padding-right:1.125rem}.gravitysmtp-admin .gform-flyout__body{color:#242748;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;overflow-y:auto;padding:1.25rem 2.875rem 2.125rem}.gravitysmtp-admin .gform-flyout__body[focus-within] .gform-flyout__expand{opacity:1}.gravitysmtp-admin .gform-flyout__body:focus-within .gform-flyout__expand{opacity:1}.gravitysmtp-admin .gform-flyout__body .simplebar-wrapper{height:100%}html[dir=rtl] .gravitysmtp-admin .gform-flyout{left:auto;right:0}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--right{left:0;right:auto}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--right .gform-flyout__expand-rail{left:auto;right:-35px}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--right .gform-flyout__expand{left:auto;right:-35px}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--right .gform-flyout__expand-icon{transform:rotate(-90deg)}html[dir=rtl] .gravitysmtp-admin .gform-flyout .gform-flyout__close.gform-button--size-xs{left:25px;right:auto}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--left .gform-flyout__expand-rail{left:-35px;right:auto}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--left .gform-flyout__expand{left:-35px;right:auto}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--left .gform-flyout__expand-icon{transform:rotate(90deg)}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--expanded.gform-flyout--right .gform-flyout__expand-icon{transform:rotate(90deg)}html[dir=rtl] .gravitysmtp-admin .gform-flyout.gform-flyout--expanded.gform-flyout--left .gform-flyout__expand-icon{transform:rotate(-90deg)}.gravitysmtp-admin .gform-gravatar--circular{border-radius:50%;overflow:hidden}.gravitysmtp-admin .gform-grid--container{display:flex}.gravitysmtp-admin .gform-grid--wrap{flex-wrap:wrap}.gravitysmtp-admin .gform-grid--list{list-style:none;margin:0;padding:0}.gravitysmtp-admin .gform-grid--fixed>.gform-grid--item{flex:none}.gravitysmtp-admin .gform-grid--fluid>.gform-grid--item{flex:1}.gravitysmtp-admin .gform-grid--col-spacing-2{margin-inline:calc((0.5rem / 2) * -1)}.gravitysmtp-admin .gform-grid--col-spacing-2>.gform-grid--item{padding-inline:calc(0.5rem / 2)}.gravitysmtp-admin .gform-grid--col-spacing-3{margin-inline:calc((0.75rem / 2) * -1)}.gravitysmtp-admin .gform-grid--col-spacing-3>.gform-grid--item{padding-inline:calc(0.75rem / 2)}.gravitysmtp-admin .gform-grid--col-spacing-4{margin-inline:calc((1rem / 2) * -1)}.gravitysmtp-admin .gform-grid--col-spacing-4>.gform-grid--item{padding-inline:calc(1rem / 2)}.gravitysmtp-admin .gform-grid--col-spacing-5{margin-inline:calc((1.25rem / 2) * -1)}.gravitysmtp-admin .gform-grid--col-spacing-5>.gform-grid--item{padding-inline:calc(1.25rem / 2)}.gravitysmtp-admin .gform-grid--col-spacing-6{margin-inline:calc((1.5rem / 2) * -1)}.gravitysmtp-admin .gform-grid--col-spacing-6>.gform-grid--item{padding-inline:calc(1.5rem / 2)}.gravitysmtp-admin .gform-grid--col-spacing-8{margin-inline:calc((2rem / 2) * -1)}.gravitysmtp-admin .gform-grid--col-spacing-8>.gform-grid--item{padding-inline:calc(2rem / 2)}.gravitysmtp-admin .gform-grid--row-spacing-2{margin-block-end:calc(0.5rem * -1)}.gravitysmtp-admin .gform-grid--row-spacing-2>.gform-grid--item{margin-block-end:0.5rem}.gravitysmtp-admin .gform-grid--row-spacing-4{margin-block-end:calc(1rem * -1)}.gravitysmtp-admin .gform-grid--row-spacing-4>.gform-grid--item{margin-block-end:1rem}.gravitysmtp-admin .gform-grid--row-spacing-6{margin-block-end:calc(1.5rem * -1)}.gravitysmtp-admin .gform-grid--row-spacing-6>.gform-grid--item{margin-block-end:1.5rem}.gravitysmtp-admin .gform-grid--row-spacing-8{margin-block-end:calc(2rem * -1)}.gravitysmtp-admin .gform-grid--row-spacing-8>.gform-grid--item{margin-block-end:2rem}.gravitysmtp-admin .gform-input-help-text{color:#5b5e80;display:block;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.75rem}.gravitysmtp-admin .gform-input-help-text.gform-input-help-text--required{display:inline-flex;margin-inline-start:.375rem}.gravitysmtp-admin .gform-indicator--dot{block-size:1rem;border-radius:50%;box-sizing:border-box;display:block;inline-size:1rem;position:relative}.gravitysmtp-admin .gform-indicator--dot::before{block-size:0.3125rem;border-radius:50%;content:"";inline-size:0.3125rem;inset-block-start:50%;inset-inline-start:50%;position:absolute;transform:translate(-50%,-50%)}.gravitysmtp-admin .gform-indicator--dot.gform-indicator--info{background-color:#f6f9fc}.gravitysmtp-admin .gform-indicator--dot.gform-indicator--info::before{background-color:#9092b0}.gravitysmtp-admin .gform-indicator--dot.gform-indicator--success{background-color:#e1f6ed}.gravitysmtp-admin .gform-indicator--dot.gform-indicator--success::before{background-color:#22a753}.gravitysmtp-admin .gform-indicator--dot.gform-indicator--warning{background-color:#fff6e3}.gravitysmtp-admin .gform-indicator--dot.gform-indicator--warning::before{background-color:#ffbe03}.gravitysmtp-admin .gform-indicator--dot.gform-indicator--error{background-color:#fee4e2}.gravitysmtp-admin .gform-indicator--dot.gform-indicator--error::before{background-color:#dd301d}[dir=rtl] .gravitysmtp-admin .gform-indicator--dot::before{right:20%}.gravitysmtp-admin .gform-indicator--icon{align-items:center;block-size:2.5rem;border:5px solid transparent;border-radius:50%;box-sizing:border-box;display:flex;font-size:1.25rem;inline-size:2.5rem;justify-content:center}.gravitysmtp-admin .gform-indicator--icon.gform-indicator--size-small{block-size:1.25rem;inline-size:1.25rem}.gravitysmtp-admin .gform-indicator--icon.gform-indicator--info{background-color:#ecedf8;color:#9092b0}.gravitysmtp-admin .gform-indicator--icon.gform-indicator--card{background-color:#dde9fc;color:#175cff}.gravitysmtp-admin .gform-indicator--icon.gform-indicator--success{background-color:#e1f6ed;color:#22a753}.gravitysmtp-admin .gform-indicator--icon.gform-indicator--warning{background-color:#fff6e3;color:#ffbe03}.gravitysmtp-admin .gform-indicator--icon.gform-indicator--error{background-color:#fee4e2;border-color:#fff8f7;color:#dd301d}.gravitysmtp-admin .gform-indicator--icon.gform-indicator--confirm{background-color:#fff;border:.125rem solid #c3c5db;color:#9092b2}.gravitysmtp-admin [class*=gform-icon-preset--status]{align-items:center;display:flex;font-size:1.25rem;height:20px;justify-content:center;position:relative;width:20px}.gravitysmtp-admin [class*=gform-icon-preset--status]::before{position:relative;z-index:2}.gravitysmtp-admin [class*=gform-icon-preset--status]::after{border:2px solid transparent;border-radius:50%;box-sizing:border-box;content:"";height:20px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:20px}.gravitysmtp-admin [class*=gform-icon-preset--metric]{align-items:center;background:#fff;border:1px solid #d5d7e9;border-radius:3px;box-shadow:0 2px 2px 0 rgba(58,58,87,.06);color:#5b5e80;display:flex;font-size:1.5rem;height:48px;justify-content:center;position:relative;width:48px}.gravitysmtp-admin .gform-icon-preset--metric-success{background:#eefcf0;border-color:#aed9b6;color:#22a753}.gravitysmtp-admin .gform-icon-preset--metric-warn{background:#fff6e3;border-color:#f7cf5c;color:#ffbe03}.gravitysmtp-admin .gform-icon-preset--metric-error{background:#fff9f9;border-color:#fee4e2;color:#dd301d}.gravitysmtp-admin .gform-icon-preset--status-default,.gravitysmtp-admin .gform-icon-preset--status-locked{color:#242748}.gravitysmtp-admin .gform-icon-preset--status-default::after,.gravitysmtp-admin .gform-icon-preset--status-locked::after{background-color:#f2f3f5;border-color:#d2d5db}.gravitysmtp-admin .gform-icon-preset--status-locked{color:#9092b2}.gravitysmtp-admin .gform-icon-preset--status-info{color:#044ad3}.gravitysmtp-admin .gform-icon-preset--status-info::after{background-color:#f4f8ff;border-color:#c3d9ff}.gravitysmtp-admin .gform-icon-preset--status-error,.gravitysmtp-admin .gform-icon-preset--status-incorrect{color:#c02b0a}.gravitysmtp-admin .gform-icon-preset--status-error::after,.gravitysmtp-admin .gform-icon-preset--status-incorrect::after{background-color:#fff9f9;border-color:#ffc7bb}.gravitysmtp-admin .gform-icon-preset--status-correct{color:#2f833d}.gravitysmtp-admin .gform-icon-preset--status-correct::after{background:#eefcf0;border-color:#aed9b6}.gravitysmtp-admin .gform-input{-webkit-appearance:none;background:#fff;border:1px solid #c3c5db;border-radius:3px;box-shadow:0 0 0 transparent;box-sizing:border-box;color:#242748;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;line-height:2;margin:0;min-block-size:0;outline:0;padding:.25rem .75rem;transition:box-shadow .15s ease,background-color .15s ease}.gravitysmtp-admin .gform-input.gform-input--size-xl{padding:.594rem .75rem}.gravitysmtp-admin .gform-input:focus{border:1px solid #3985b7;box-shadow:0 .125rem .0675rem rgba(28,31,63,.0634624),0 0 0 2px #bed8ed;color:#242748}.gravitysmtp-admin .gform-input::-moz-placeholder{color:#5b5e80;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;font-weight:400}.gravitysmtp-admin .gform-input::placeholder{color:#5b5e80;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;font-weight:400}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input__wrapper{position:relative}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input{border-color:#9092b0}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input+.gform-input__label:first-child{margin-bottom:.375rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input+.gform-input-help-text:nth-child(2){margin-bottom:.375rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input+.gform-input-help-text:nth-child(3){margin-top:.375rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input:focus{border-color:#175cff}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input:disabled{background-color:#f6f9fc;color:#9092b0}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input::-moz-placeholder{font-size:.875rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input::placeholder{font-size:.875rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input__action-wrapper .gform-input__action-button{border-color:#9092b0}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input__action-wrapper .gform-input__action-button .gform-icon{color:#9092b0}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--required .gform-input+.gform-input-help-text:nth-child(4){margin-top:.375rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-error .gform-input{border:1px solid #dd301d}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-error .gform-input:focus{box-shadow:0 .125rem .0675rem rgba(28,31,63,.0634624),0 0 0 2px #fee4e2}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-error .gform-input-help-text{color:#dd301d}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-error .gform-input__action-wrapper .gform-input{border-inline-end:0}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-error .gform-input__action-wrapper .gform-input:focus{border:1px solid #dd301d;z-index:1}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-error .gform-input__action-wrapper .gform-input__action-button{border-inline-start-color:#dd301d}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-error .gform-input__action-wrapper .gform-input__action-button:focus{border-inline-start-color:#9092b0}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-correct .gform-input{border:1px solid #57c091}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-correct .gform-input:focus{box-shadow:0 .125rem .0675rem rgba(28,31,63,.0634624),0 0 0 2px #e1f6ed}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-correct .gform-input__action-wrapper .gform-input{border-inline-end:0}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-correct .gform-input__action-wrapper .gform-input:focus{border:1px solid #57c091;z-index:1}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-correct .gform-input__action-wrapper .gform-input__action-button{border-inline-start-color:#57c091}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--border-correct .gform-input__action-wrapper .gform-input__action-button:focus{border-inline-start-color:#9092b0}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--with-icon .gform-input{padding-inline-end:2.75rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--text-security-circle .gform-input{-webkit-text-security:circle}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--text-security-disc .gform-input{-webkit-text-security:disc}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--text-security-square .gform-input{-webkit-text-security:square}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input--size-r{padding:.375rem .75rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input--size-l{padding:.5rem .75rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input--size-xl{padding:.75rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos.gform-input-wrapper--clearable .gform-input{padding-inline-end:2.75rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-label{margin-block-end:0.375rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input-help-text:nth-child(2){margin-block-end:0.375rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input-help-text:nth-child(3){margin-block-start:0.375rem}.gravitysmtp-admin .gform-input-wrapper--input.gform-input-wrapper--theme-cosmos .gform-input__icon{inset-block-start:50%;inset-inline-end:0.8125rem;pointer-events:none;position:absolute;transform:translateY(-50%)}.gravitysmtp-admin .gform-input__action-wrapper{display:flex;width:100%}.gravitysmtp-admin .gform-input__action-wrapper .gform-input__wrapper{flex:1}.gravitysmtp-admin .gform-input__action-wrapper .gform-input{border-end-end-radius:0;border-inline-end:0;border-start-end-radius:0;position:relative;width:100%}.gravitysmtp-admin .gform-input__action-wrapper .gform-input:focus{border:1px solid #175cff;z-index:1}.gravitysmtp-admin .gform-input__action-wrapper .gform-input__icon{z-index:2}.gravitysmtp-admin .gform-input__action-wrapper .gform-input__action-button{border-end-start-radius:0;border-start-start-radius:0;height:auto;margin-inline-start:0;padding-inline-end:0.85rem;padding-inline-start:0.85rem}.gravitysmtp-admin .gform-input__action-wrapper .gform-input__action-button .gform-icon{font-size:1rem}.gravitysmtp-admin .gform-input-wrapper--clearable{position:relative}.gravitysmtp-admin .gform-input__clearable-button{align-items:center;block-size:100%;display:flex;inline-size:1.875rem;inset-block-start:50%;inset-inline-end:0.5rem;justify-content:center;position:absolute;transform:translateY(-50%)}.gravitysmtp-admin .gform-input__clearable-button .gform-button__icon{color:#5b5e80;font-size:1.25rem;inset-block-start:0;padding:0}.gravitysmtp-admin .gform-input__clearable-button .gform-button__icon::before{font-size:1.25rem}.gravitysmtp-admin .gform-input__clearable-button:focus .gform-button__icon,.gravitysmtp-admin .gform-input__clearable-button:hover .gform-button__icon{color:#9092b2}.gravitysmtp-admin .gform-input__clearable-button:focus .gform-button__icon::before,.gravitysmtp-admin .gform-input__clearable-button:hover .gform-button__icon::before{font-size:1.25rem}.gravitysmtp-admin .gform-input-add-on-wrapper{align-items:stretch;display:flex;flex-direction:row}.gravitysmtp-admin .gform-input-add-on-wrapper--suffix .gform-input{border-end-end-radius:0;border-start-end-radius:0}.gravitysmtp-admin .gform-input__add-on{align-items:center;background-color:#f6f9fc;border:1px solid #9092b0;border-radius:3px;color:#242748;display:flex;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;font-weight:400;padding-left:13px;padding-right:13px;white-space:nowrap}.gravitysmtp-admin .gform-input__add-on--prefix{border-end-end-radius:0;border-inline-end:0;border-start-end-radius:0}.gravitysmtp-admin .gform-input__add-on--suffix{border-end-start-radius:0;border-inline-start:0;border-start-start-radius:0}.gravitysmtp-admin .gform-input__add-on+.gform-input{border-end-start-radius:0;border-start-start-radius:0}.gravitysmtp-admin .gform-input__add-on--action-button{background-color:#fff;border-color:#d5d7e9;height:auto;margin-inline-start:12px;padding-inline-end:12px;padding-inline-start:12px}.gravitysmtp-admin .gform-input__add-on--action-button.gform-button--icon-leading.gform-button--size-sm .gform-button__icon{color:#5b5e80;font-size:14px;margin:0}.gravitysmtp-admin .gform-label{align-items:center;color:#242748;cursor:pointer;display:inline-flex;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;outline:0}.gravitysmtp-admin .gform-layout{container-name:gform-layout-container;container-type:inline-size;display:flex;flex-direction:column;height:100%;width:100%}.gravitysmtp-admin .gform-layout--modular-sidebar [data-simplebar]{height:100%;overflow-y:auto}.gravitysmtp-admin .gform-modular-sidebar__header{width:100%}.gravitysmtp-admin .gform-modular-sidebar__body{display:flex;height:100%;overflow:hidden;width:100%}.gravitysmtp-admin .gform-modular-sidebar__content{flex:1;height:100%;overflow-y:auto}.gravitysmtp-admin .gform-right-sidebar__header{margin-block-end:24px}.gravitysmtp-admin .gform-right-sidebar__body{display:flex;flex-direction:column;gap:24px}@container gform-layout-container (min-width:810px){.gravitysmtp-admin .gform-right-sidebar__body{display:grid;grid-template-columns:calc(100% - 384px) 360px;grid-template-rows:auto auto}}.gravitysmtp-admin .gform-right-sidebar__content{display:flex;flex-direction:column;gap:24px}@container gform-layout-container (min-width:810px){.gravitysmtp-admin .gform-right-sidebar__content{grid-column:1/2;grid-row:1/2}}@container gform-layout-container (min-width:900px){.gravitysmtp-admin .gform-right-sidebar__sidebar{grid-column:2/3;grid-row:1/3}}@container gform-layout-container (min-width:900px){.gravitysmtp-admin .gform-right-sidebar__secondary-content{grid-column:1/2;grid-row:2/3}}.gravitysmtp-admin .gform-link:where(:not(.gform-button)){border:1px solid transparent;border-radius:3px;box-shadow:0 0 0 transparent;box-sizing:border-box;color:#0f3d6c;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;font-weight:400;position:relative;text-decoration:underline;transition:all .15s ease}.gravitysmtp-admin .gform-link:where(:not(.gform-button)):hover{color:#242748}.gravitysmtp-admin .gform-link:where(:not(.gform-button)):focus{border-color:transparent;box-shadow:none;outline:0}.gravitysmtp-admin .gform-link:where(:not(.gform-button)).focus-visible{border-color:#175cff;box-shadow:0 .125rem .0675rem rgba(28,31,63,.0634624),0 0 0 2px #bed8ed}.gravitysmtp-admin .gform-link:where(:not(.gform-button)).focus-visible{border-color:#175cff;box-shadow:0 .125rem .0675rem rgba(28,31,63,.0634624),0 0 0 2px #bed8ed}.gravitysmtp-admin .gform-link:where(:not(.gform-button)):focus-visible{border-color:#175cff;box-shadow:0 .125rem .0675rem rgba(28,31,63,.0634624),0 0 0 2px #bed8ed}.gravitysmtp-admin .gform-list{font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:1rem;line-height:1.5;margin:0;padding:0}.gravitysmtp-admin .gform-list--bulleted,.gravitysmtp-admin .gform-list--decimal{margin:0;padding-inline-start:1.625rem}.gravitysmtp-admin .gform-list--bulleted li,.gravitysmtp-admin .gform-list--decimal li{list-style:inherit;margin-block-end:0.25rem}.gravitysmtp-admin .gform-list--bulleted{list-style:disc}.gravitysmtp-admin .gform-list--decimal{list-style:decimal}.gravitysmtp-admin .gform-list__item{margin-bottom:.875rem;padding-inline-start:1.625rem}.gravitysmtp-admin .gform-list__item:last-child{margin:0}.gravitysmtp-admin .gform-list--unordered .gform-list__item{list-style:none;position:relative}.gravitysmtp-admin .gform-list--unordered .gform-list__item::before{background:center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2217%22%20height%3D%2217%22%20fill%3D%22none%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M8.5%2016.5a8%208%200%201%200%200-16%208%208%200%200%200%200%2016Zm3.707-9.293a1%201%200%200%200-1.414-1.414L7.5%209.086%206.207%207.793a1%201%200%200%200-1.414%201.414l2%202a1%201%200%200%200%201.414%200l4-4Z%22%20fill%3D%22%23F15A2B%22%2F%3E%3C%2Fsvg%3E");content:"";height:1rem;inset-inline-start:0.125rem;position:absolute;top:.25rem;width:1rem}.gravitysmtp-admin .gform-loader__mask{align-items:center;display:flex;flex-direction:column;height:100%;left:0;position:absolute;top:0;width:100%;z-index:10000}.gravitysmtp-admin .gform-loader__mask.gform-loader__mask--theme-light{background-color:rgba(247,249,252,.93)}.gravitysmtp-admin .gform-loader__mask.gform-loader__mask--theme-dark{background-color:rgba(36,39,72,.93)}.gravitysmtp-admin .gform-loader__mask--position-top{justify-content:start}.gravitysmtp-admin .gform-loader__mask--position-top .gform-loader__mask-positioner{top:12%}.gravitysmtp-admin .gform-loader__mask--position-center{justify-content:center}.gravitysmtp-admin .gform-loader__mask--position-bottom{justify-content:end}.gravitysmtp-admin .gform-loader__mask--position-bottom .gform-loader__mask-positioner{bottom:12%}.gravitysmtp-admin .gform-loader__mask--position-sticky .gform-loader__mask-positioner{position:sticky}.gravitysmtp-admin .gform-loader__mask-positioner{position:relative}.gravitysmtp-admin .gform-loader--simple{animation:gformLoader1 1.1s infinite linear;border-bottom:1.1em solid #000;border-left:1.1em solid #000;border-radius:50%;border-right:1.1em solid #fff;border-top:1.1em solid #fff;display:inline-block;font-size:10px;height:10em;position:relative;transform:translateZ(0);width:10em}.gravitysmtp-admin .gform-loader__inner{display:inline-flex;flex-direction:column}.gravitysmtp-admin .gform-loader__text{display:block;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;font-weight:500;margin-top:16px;text-align:center}.gravitysmtp-admin .gform-loader--ring{animation:gformLoaderRotate 2s linear infinite;height:40px;transform-origin:center;vertical-align:middle;width:40px;will-change:transform}.gravitysmtp-admin .gform-loader--ring circle{animation:gformLoaderStretch calc(2s * .75) ease-in-out infinite;fill:none;stroke:#0f3d6c;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;will-change:stroke-dasharray,stroke-dashoffset}@keyframes gformLoader1{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes gformLoaderRotate{100%{transform:rotate(360deg)}}@keyframes gformLoaderStretch{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,200;stroke-dashoffset:-35px}100%{stroke-dashoffset:-124px}}.gravitysmtp-admin .gform-loader--ring{animation:gformLoaderRotate 2s linear infinite;height:40px;transform-origin:center;vertical-align:middle;width:40px;will-change:transform}.gravitysmtp-admin .gform-loader--ring circle{animation:gformLoaderStretch calc(2s * .75) ease-in-out infinite;fill:none;stroke:#0f3d6c;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;will-change:stroke-dasharray,stroke-dashoffset}@keyframes gformLoaderRotate{100%{transform:rotate(360deg)}}@keyframes gformLoaderStretch{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,200;stroke-dashoffset:-35px}100%{stroke-dashoffset:-124px}}.gravitysmtp-admin .gform-meta-box{background:#fff;border:1px solid #d4d4e4;border-radius:3px;box-shadow:0 2px 2px rgba(58,58,87,.0596411)}.gravitysmtp-admin .gform-meta-box__header{border-bottom:1px solid #e4e4ee;padding-block:1.25rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-meta-box__content{padding:1.5rem}.gravitysmtp-admin .gform-meta-box__footer{border-top:1px solid #e4e4ee;padding:1rem}.gravitysmtp-admin .gform-meta-box--is-collapsible .gform-meta-box__header{padding-block:0;padding-inline:0}.gravitysmtp-admin .gform-meta-box--is-collapsible .gform-meta-box__header .gform-meta-box__toggle-icon{color:#5b5e80;font-size:1rem;inset-block-start:1.5rem;inset-inline-end:1.5rem;padding:0;position:absolute;transform:rotate(180deg)}.gravitysmtp-admin .gform-meta-box--is-collapsible.gform-meta-box--is-collapsed .gform-meta-box__toggle-icon{transform:rotate(0)}.gravitysmtp-admin .gform-meta-box--is-collapsible .gform-meta-box__toggle{display:flex;height:auto;padding-block:1.25rem;padding-inline:1.5rem;position:relative;width:100%}.gravitysmtp-admin .gform-meta-box--is-collapsed .gform-meta-box__header{border-bottom:0}.gravitysmtp-admin .gform-nav-bar{background:#092447;block-size:100%;inline-size:80px;inset-block-start:0;inset-inline-start:0;overflow:hidden;position:absolute;z-index:10}.gravitysmtp-admin .gform-nav-bar__logo{background-color:#041834;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' width='932' height='1024' viewBox='0 0 932 1024'%3E%3Cpath d='M929.46 325.543c0-46.506-33.883-103.642-74.41-126.895l-318.9-181.374c-40.527-23.253-106.964-22.589-147.491 1.329l-316.242 185.095c-40.527 23.917-73.081 81.054-72.417 128.49l2.657 366.735c0 46.506 33.883 103.642 74.41 126.895l318.9 181.374c40.527 23.253 106.964 22.589 147.491-1.329l316.242-185.36c40.527-23.917 73.081-81.054 72.417-128.224v0zM795.256 427.193h-418.556c-25.911 0-45.177 7.308-60.458 23.917-33.219 35.876-51.157 104.971-53.814 143.505h411.912v-103.908h117.594v221.901h-655.073s2.657-245.818 93.677-342.817c37.869-40.527 87.697-61.122 146.827-61.122h417.227v118.259z' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E");background-position:50% 50%;background-repeat:no-repeat;background-size:28px 31px;block-size:72px;inline-size:100%}.gravitysmtp-admin .gform-pagination{box-sizing:border-box;display:flex;flex-direction:row;gap:6px;list-style-type:none;margin:0;padding:0}.gravitysmtp-admin .gform-pagination__link,.gravitysmtp-admin .gform-pagination__link--next,.gravitysmtp-admin .gform-pagination__link--previous{align-items:center;background:#fdfdff;border:1px solid #d5d7e9;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.05);box-sizing:border-box;color:#242748;cursor:pointer;display:flex;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;font-weight:500;line-height:20px;padding:7px 12px}.gravitysmtp-admin .gform-pagination__link--next:active,.gravitysmtp-admin .gform-pagination__link--next:hover,.gravitysmtp-admin .gform-pagination__link--previous:active,.gravitysmtp-admin .gform-pagination__link--previous:hover,.gravitysmtp-admin .gform-pagination__link:active,.gravitysmtp-admin .gform-pagination__link:hover{box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04)}.gravitysmtp-admin .gform-pagination__link--next.focus-visible,.gravitysmtp-admin .gform-pagination__link--previous.focus-visible,.gravitysmtp-admin .gform-pagination__link.focus-visible{border-color:#c3c5db;outline:.125rem solid #ecedf8}.gravitysmtp-admin .gform-pagination__link--next.focus-visible,.gravitysmtp-admin .gform-pagination__link--previous.focus-visible,.gravitysmtp-admin .gform-pagination__link.focus-visible{border-color:#c3c5db;outline:.125rem solid #ecedf8}.gravitysmtp-admin .gform-pagination__link--next:focus-visible,.gravitysmtp-admin .gform-pagination__link--previous:focus-visible,.gravitysmtp-admin .gform-pagination__link:focus-visible{border-color:#c3c5db;outline:.125rem solid #ecedf8}.gravitysmtp-admin .gform-pagination__link--next.gform-pagination__link--disabled,.gravitysmtp-admin .gform-pagination__link--next:disabled,.gravitysmtp-admin .gform-pagination__link--previous.gform-pagination__link--disabled,.gravitysmtp-admin .gform-pagination__link--previous:disabled,.gravitysmtp-admin .gform-pagination__link.gform-pagination__link--disabled,.gravitysmtp-admin .gform-pagination__link:disabled{border-color:#d5d7e9;opacity:.5}.gravitysmtp-admin .gform-pagination__link--selected{background:#0f3d6c;border-color:#0f3d6c;color:#fff;cursor:default}.gravitysmtp-admin .gform-pagination__link--selected:active,.gravitysmtp-admin .gform-pagination__link--selected:hover{background:#0f3d6c;border-color:#0f3d6c;box-shadow:0 1px 2px rgba(0,0,0,.05);color:#fff}.gravitysmtp-admin .gform-pagination__link--selected.focus-visible{border-color:#f6f9fc;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-pagination__link--selected.focus-visible{border-color:#f6f9fc;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-pagination__link--selected:focus-visible{border-color:#f6f9fc;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-pagination__link--break{align-items:center;cursor:pointer;display:flex;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;font-weight:500;padding:7px 4px}.gravitysmtp-admin .gform-pill{background:#f6f9fc;block-size:1.625rem;border:1px solid #e4e9eb;border-radius:.8125rem;box-sizing:border-box;cursor:pointer;display:inline-flex;gap:.1875rem;outline:0;padding-block:0.125rem;padding-inline:0.75rem;text-decoration:none;transition:transform .3s ease,box-shadow .3s ease,background-color .3s ease;white-space:nowrap}.gravitysmtp-admin .gform-pill:hover .gform-pill__icon{color:#5b5e80}.gravitysmtp-admin .gform-pill:focus{border-color:#175cff;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-pill:active{box-shadow:0 1px 4px rgba(18,25,97,.0779552)}.gravitysmtp-admin .gform-pill:active .gform-pill__icon{color:#5b5e80}.gravitysmtp-admin .gform-pill__text{transform:translateY(1px)}.gravitysmtp-admin .gform-pill__icon{color:#9092b2;font-size:1.25rem;transition:color .15s ease}.gravitysmtp-admin .gform-input--radio{border:0 none;clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.gravitysmtp-admin .gform-input--radio+label::before{background-color:#fff;border:1px solid #9092b2;border-radius:50%;content:"";display:inline-block;height:1.25rem;margin-right:.625rem;top:1.5625rem;transition:box-shadow .15s ease,background-color .15s ease;vertical-align:middle;width:1.25rem}.gravitysmtp-admin .gform-input--radio:focus+label::before,.gravitysmtp-admin .gform-input--radio:hover+label::before{background-image:url("data:image/svg+xml,%3Csvg width='8' height='8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 8a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z' fill='%23ECEDF8'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;border-color:#3985b7;box-shadow:0 0 0 2px #bed8ed;display:inline-block}.gravitysmtp-admin .gform-input--radio:checked+label::before{background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg width='8' height='8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 8a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z' fill='%233E7DA6'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;border-color:#9092b2}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-input-wrapper--radio,.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-input-wrapper--radio *,.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-input-wrapper--radio ::after,.gravitysmtp-admin .gform-input-wrapper--theme-cosmos.gform-input-wrapper--radio ::before{box-sizing:border-box}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio+.gform-label{align-items:flex-start;display:flex}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio+.gform-label::before{border:.0625rem solid #9092b0;border-radius:50%;box-shadow:0 1px 4px rgba(18,25,97,.0779552);flex:none;margin-right:.5rem}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio:hover+.gform-label::before{background-color:#f6f9fc;background-image:none}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio:focus+.gform-label::before{background-color:#f6f9fc;background-image:none;border-color:#175cff;box-shadow:0 1px 2px rgba(0,0,0,.05),0 0 0 2px #bed8ed}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio:checked+.gform-label::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxjaXJjbGUgY3g9IjQiIGN5PSI0IiByPSI0IiBmaWxsPSIjMEYzRDZDIi8+PC9zdmc+")}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio:disabled+.gform-label{color:#d5d7e9}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio:disabled+.gform-label::before{background-color:#f6f9fc;border-color:#ecedf8;box-shadow:none;opacity:1}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio:disabled:checked+.gform-label::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxjaXJjbGUgY3g9IjQiIGN5PSI0IiByPSI0IiBmaWxsPSIjRUFFQ0YwIi8+PC9zdmc+")}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio:disabled~.gform-input-help-text{color:#d5d7e9}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio.gform-input--size-sm+.gform-label::before{height:1rem;margin-right:.5rem;width:1rem}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio.gform-input--size-sm:checked+.gform-label::before{background-size:6px}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio.gform-input--size-sm~.gform-input-help-text{margin-left:1.625rem}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio.gform-input--size-md+.gform-label::before{height:1.25rem;margin-right:.75rem;margin-top:-.0625rem;width:1.25rem}.gravitysmtp-admin .gform-input-wrapper--theme-cosmos .gform-input--radio.gform-input--size-md~.gform-input-help-text{margin-left:2.125rem}.gravitysmtp-admin .gform-input-wrapper.gform-input-wrapper--type-image{align-items:center;display:flex;height:145px;justify-content:center;position:relative;width:150px}.gravitysmtp-admin .gform-input-wrapper.gform-input-wrapper--type-image .gform-label{border:1px solid #d5d7e9;border-radius:3px;box-shadow:0 1px 4px rgba(18,25,97,.0779552);color:transparent;display:block;height:100%;left:0;overflow:hidden;position:absolute;top:0;transition:box-shadow .2s ease-in-out,border-color .2s ease-in-out;width:100%}.gravitysmtp-admin .gform-input-wrapper.gform-input-wrapper--type-image .gform-label:hover{box-shadow:0 0 1px rgba(18,25,97,.24),0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03)}.gravitysmtp-admin .gform-input-wrapper.gform-input-wrapper--type-image .gform-label::before{display:none}.gravitysmtp-admin .gform-input-wrapper.gform-input-wrapper--type-image .gform-input--radio:checked:focus+label::before{box-shadow:none}.gravitysmtp-admin .gform-input-wrapper.gform-input-wrapper--type-image .gform-input--radio:checked+label{border-color:#0f3d6c;box-shadow:0 0 1px rgba(18,25,97,.24),0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03)}.gravitysmtp-admin .gform-input-wrapper.gform-input-wrapper--type-image .gform-input--radio:checked+label::before{background:#0f3d6c;border:0;border-radius:0;display:block;height:50px;margin:0;position:absolute;right:-25px;top:-25px;transform:rotate(45deg);width:50px}.gravitysmtp-admin .gform-input-wrapper.gform-input-wrapper--type-image .gform-input--radio:checked+label::after{color:#fff;content:"\e904";display:block;font-family:gform-icons-common;font-size:.875rem;position:absolute;right:2px;top:1px}html[dir=rtl] .gravitysmtp-admin .gform-input--radio+label::before{margin-left:.625rem;margin-right:0}.gravitysmtp-admin .gform-repeater{max-inline-size:100%}.gravitysmtp-admin .gform-repeater *{box-sizing:border-box}.gravitysmtp-admin .gform-repeater-item{background:#fff;cursor:default}.gravitysmtp-admin .gform-repeater-item input[type=text]{transition:none}.gravitysmtp-admin .gform-repeater-item+.gform-repeater-item,.gravitysmtp-admin .gform-repeater-item+.gform-repeater__add-button{margin-block-start:1rem}.gravitysmtp-admin .gform-repeater-item--is-draggable:not(.gform-repeater-item--disable-item-drag){cursor:move}.gravitysmtp-admin .gform-repeater-item--is-dragging{opacity:.2}.gravitysmtp-admin .gform-repeater-item--is-keyboard-nav{box-shadow:2px 5px 5px rgba(0,0,0,.3);transform:translate(-2px,-2px)}.gravitysmtp-admin .gform-repeater-item--type-block{border:1px solid #d5d7e9;border-radius:3px}.gravitysmtp-admin .gform-repeater-item__wrapper{align-items:flex-end;display:flex;gap:.75rem;justify-content:space-between}.gravitysmtp-admin .gform-repeater-item__wrapper .gform-button--size-height-m.gform-repeater-item__control,.gravitysmtp-admin .gform-repeater-item__wrapper .gform-button--size-height-m.gform-repeater-item__delete{height:34px}.gravitysmtp-admin .gform-repeater-item--type-block .gform-repeater-item__wrapper{border-bottom:1px solid #d5d7e9;padding-block:1.25rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-repeater-item__controls{display:flex}.gravitysmtp-admin .gform-repeater-item__controls .gform-repeater-item__control--up{border-end-end-radius:0;border-inline-end:transparent;border-start-end-radius:0}.gravitysmtp-admin .gform-repeater-item__controls .gform-repeater-item__control--up.focus-visible{border-inline-end:1px solid #175cff;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-repeater-item__controls .gform-repeater-item__control--up.focus-visible{border-inline-end:1px solid #175cff;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-repeater-item__controls .gform-repeater-item__control--up:focus-visible{border-inline-end:1px solid #175cff;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-repeater-item__controls .gform-repeater-item__control--down{border-end-start-radius:0;border-start-start-radius:0}.gravitysmtp-admin .gform-repeater-item__control:focus,.gravitysmtp-admin .gform-repeater-item__delete:focus{border-color:#d5d7e9;outline:0}.gravitysmtp-admin .gform-repeater-item__control.focus-visible,.gravitysmtp-admin .gform-repeater-item__delete.focus-visible{border-color:#175cff;outline:.125rem solid #bed8ed;z-index:3}.gravitysmtp-admin .gform-repeater-item__control.focus-visible,.gravitysmtp-admin .gform-repeater-item__delete.focus-visible{border-color:#175cff;outline:.125rem solid #bed8ed;z-index:3}.gravitysmtp-admin .gform-repeater-item__control:focus-visible,.gravitysmtp-admin .gform-repeater-item__delete:focus-visible{border-color:#175cff;outline:.125rem solid #bed8ed;z-index:3}.gravitysmtp-admin .gform-repeater-item--has-arrows .gform-repeater-item__controls .gform-repeater-item__control--drag-toggle{border-end-end-radius:0;border-inline-end:transparent;border-start-end-radius:0}.gravitysmtp-admin .gform-repeater-item--has-arrows .gform-repeater-item__controls .gform-repeater-item__control--drag-toggle.focus-visible{border-inline-end:1px solid #175cff;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-repeater-item--has-arrows .gform-repeater-item__controls .gform-repeater-item__control--drag-toggle.focus-visible{border-inline-end:1px solid #175cff;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-repeater-item--has-arrows .gform-repeater-item__controls .gform-repeater-item__control--drag-toggle:focus-visible{border-inline-end:1px solid #175cff;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-repeater-item--has-drag-handle .gform-repeater-item__controls .gform-repeater-item__control--up{border-end-start-radius:0;border-start-start-radius:0}.gravitysmtp-admin .gform-repeater--type-block .gform-repeater-item__delete{align-self:flex-start}.gravitysmtp-admin .gform-repeater--type-block .gform-repeater-item__collapsible{margin-inline-start:auto;transition:none}.gravitysmtp-admin .gform-repeater--type-block .gform-repeater-item__wrapper{align-items:center;display:flex;gap:.75rem;justify-content:flex-start}.gravitysmtp-admin .gform-repeater--type-block .gform-repeater-item__wrapper .gform-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gravitysmtp-admin .gform-repeater--type-block .gform-repeater-item--is-collapsed .gform-repeater-item__collapsible{transform:rotate(180deg)}.gravitysmtp-admin .gform-repeater--type-block .gform-repeater-item--is-collapsed .gform-repeater-item__wrapper{border-bottom:none}.gravitysmtp-admin .gform-repeater-item--is-collapsed .gform-repeater-item__block-content{display:none}.gravitysmtp-admin .gform-repeater-item__block-content{display:flex;flex-direction:column;gap:.75rem;inline-size:100%;padding-block:1.25rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-repeater-item--fill-content .gform-input-wrapper{flex:1}.gravitysmtp-admin .gform-repeater-item--fill-content .gform-input-wrapper .gform-input{width:100%}.gravitysmtp-admin .gform-repeater__drop-indicator{background:0 0;height:3px}.gravitysmtp-admin .gform-repeater__drop-indicator--active{background:#0f3d6c}.gravitysmtp-admin .gform-router-nav-bar{inline-size:100%}.gravitysmtp-admin .gform-router-nav-bar,.gravitysmtp-admin .gform-router-nav-bar *{box-sizing:border-box}.gravitysmtp-admin .gform-router-nav-bar__list{display:flex;flex-direction:column;list-style:none;margin:0;padding:0}.gravitysmtp-admin .gform-router-nav-bar__item{margin:0}.gravitysmtp-admin .gform-router-nav-bar--icon-button{padding-block:1.5rem}.gravitysmtp-admin .gform-router-nav-bar--icon-button .gform-router-nav-bar__list{gap:1rem}.gravitysmtp-admin .gform-router-nav-bar--icon-button .gform-router-nav-bar__item{align-items:center;display:flex;flex-direction:column;gap:.5rem;justify-content:center}.gravitysmtp-admin .gform-router-nav-bar--icon-button .gform-router-nav-bar__item-link{cursor:pointer;text-decoration:none}.gravitysmtp-admin .gform-router-nav-bar--icon-button .gform-router-nav-bar__item-icon{font-size:1.25rem}.gravitysmtp-admin .gform-router-nav-bar--icon-button .gform-router-nav-bar__item--disabled .gform-router-nav-bar__item-text{opacity:.5}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag{padding-block:2rem;padding-inline:1.5rem}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__list{gap:.25rem}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link{align-items:center;block-size:36px;border:1px solid transparent;border-radius:3px;color:#242748;cursor:pointer;display:flex;flex-direction:row;gap:.5rem;inline-size:100%;justify-content:flex-start;padding:.4375rem .6875rem;text-decoration:none}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button.focus-visible,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button:hover,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link.focus-visible,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link:hover{background:#f6f9fc;border-color:#f6f9fc}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button.focus-visible,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button:hover,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link.focus-visible,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link:hover{background:#f6f9fc;border-color:#f6f9fc}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button:focus-visible,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button:hover,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link:focus-visible,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link:hover{background:#f6f9fc;border-color:#f6f9fc}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button:focus,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link:focus{box-shadow:none;outline:0}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button:active,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link:active{background:#f6f9fc;border-color:#bed8ed}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-button:disabled,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-link:disabled{background:0 0;border-color:transparent}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item--active .gform-router-nav-bar__item-link{background:#f6f9fc;border-color:#dde9fc}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item--disabled .gform-router-nav-bar__item-button,.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item--disabled .gform-router-nav-bar__item-link{opacity:.5}.gravitysmtp-admin .gform-router-nav-bar--icon-text-tag .gform-router-nav-bar__item-icon{color:#5b5e80;font-size:1.25rem}.gravitysmtp-admin .gform-input-wrapper--select,.gravitysmtp-admin .gform-input-wrapper--select *{box-sizing:border-box}.gravitysmtp-admin .gform-input-wrapper--select.gform-input-wrapper--size-r .gform-select{padding-block:0.375rem}.gravitysmtp-admin .gform-input-wrapper--select.gform-input-wrapper--size-l .gform-select{padding-block:0.5rem}.gravitysmtp-admin .gform-input-wrapper--select.gform-input-wrapper--size-xl .gform-select{padding-block:0.75rem}.gravitysmtp-admin .gform-select__wrapper{position:relative}.gravitysmtp-admin .gform-select__wrapper::after{background:center/contain no-repeat url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="10" height="7" viewBox="0 0 10 7" fill="none"%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M0.292893 0.792893C0.683417 0.402369 1.31658 0.402369 1.70711 0.792893L5 4.08579L8.29289 0.792893C8.68342 0.402369 9.31658 0.402369 9.70711 0.792893C10.0976 1.18342 10.0976 1.81658 9.70711 2.20711L5.70711 6.20711C5.31658 6.59763 4.68342 6.59763 4.29289 6.20711L0.292893 2.20711C-0.0976311 1.81658 -0.0976311 1.18342 0.292893 0.792893Z" fill="%239092B0"/%3E%3C/svg%3E');content:"";height:.375rem;inset-inline-end:1rem;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);width:.625rem}.gravitysmtp-admin .gform-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;border:1px solid #9092b0;border-radius:.1875rem;box-shadow:0 .25rem .25rem rgba(18,25,97,.0405344);color:#242748;cursor:pointer;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;line-height:1.43;margin:0;max-width:none;min-height:0;outline:0;padding-inline:0.75rem 2rem;width:100%}.gravitysmtp-admin .gform-select:hover{color:#242748}.gravitysmtp-admin .gform-select:focus{border-color:#175cff;box-shadow:0 0 0 2px #bed8ed}.gravitysmtp-admin .gform-select:disabled{background:#f6f9fc;border-color:#d5d7e9;color:#9092b0}.gravitysmtp-admin .gform-input-wrapper--select.gform-input-wrapper--theme-cosmos .gform-label{margin-block-end:0.375rem}.gravitysmtp-admin .gform-input-wrapper--select.gform-input-wrapper--theme-cosmos .gform-input-help-text:nth-child(2){margin-block-end:0.375rem}.gravitysmtp-admin .gform-input-wrapper--select.gform-input-wrapper--theme-cosmos .gform-input-help-text:nth-child(3){margin-block-start:0.375rem}.gravitysmtp-admin .gform-snackbar{align-items:center;background:#fff;border:1px solid #ecedf8;border-radius:3px;box-shadow:0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);box-sizing:border-box;display:flex;flex-direction:row;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;font-weight:500;max-width:calc(100% - 40px);min-height:56px;min-width:344px;opacity:0;padding:16px;position:absolute;transform:scale(.95);transition:transform .3s ease-in-out,opacity .3s ease-in-out;transition-delay:0s;width:-moz-max-content;width:max-content}.gravitysmtp-admin .gform-snackbar.gform-snackbar--reveal{opacity:1;transform:scale(1)}.gravitysmtp-admin .gform-snackbar.gform-snackbar--bottomleft{bottom:20px;left:20px}.gravitysmtp-admin .gform-snackbar.gform-snackbar--bottomright{bottom:20px;right:20px}.gravitysmtp-admin .gform-snackbar.gform-snackbar--topleft{left:20px;top:20px}.gravitysmtp-admin .gform-snackbar.gform-snackbar--topright{right:20px;top:20px}.gravitysmtp-admin .gform-snackbar.gform-snackbar--has-close{padding-right:50px}.gravitysmtp-admin .gform-snackbar__close{align-items:center;background:#fff;border:1px solid transparent;border-radius:100%;color:#9092b2;cursor:pointer;display:flex;font-size:32px;height:24px;justify-content:center;position:absolute;right:10px;top:16px;transition:border-color .3s ease,box-shadow .3s ease,background-color .3s ease,color .3s ease;width:24px}.gravitysmtp-admin .gform-snackbar__close:hover{color:#5b5e80}.gravitysmtp-admin .gform-snackbar__close.focus-visible{border-color:#3e7da6;box-shadow:0 0 0 2px #bed8ed;color:#5b5e80;outline:0}.gravitysmtp-admin .gform-snackbar__close.focus-visible{border-color:#3e7da6;box-shadow:0 0 0 2px #bed8ed;color:#5b5e80;outline:0}.gravitysmtp-admin .gform-snackbar__close:focus-visible{border-color:#3e7da6;box-shadow:0 0 0 2px #bed8ed;color:#5b5e80;outline:0}.gravitysmtp-admin .gform-snackbar__icon{font-size:24px;margin-right:10px}.gravitysmtp-admin .gform-snackbar__message{margin-right:6px}.gravitysmtp-admin .gform-snackbar__cta{color:#3e7da6;margin-left:auto;text-decoration:none}.gravitysmtp-admin .gform-snackbar__cta:focus,.gravitysmtp-admin .gform-snackbar__cta:hover{box-shadow:none;outline:0;text-decoration:underline}.gravitysmtp-admin .gform-snackbar--success .gform-snackbar__icon{color:#22a753}.gravitysmtp-admin .gform-snackbar--error .gform-snackbar__icon{color:#dd301d}.gravitysmtp-admin .gform-snackbar--theme-cosmos{left:50%;margin-block-start:30px;min-height:52px;min-width:auto;opacity:0;padding-block:0;padding-inline:16px;position:fixed;top:calc((60px * var(--gform-snackbar-index)));transform:translateX(-50%);transition:top .5s ease,opacity .5s ease,visibility .5s;transition-delay:0s;visibility:hidden;z-index:100009}.gravitysmtp-admin .gform-snackbar--theme-cosmos.gform-snackbar--visible{opacity:1;top:calc((60px * var(--gform-snackbar-index)));transition:top .5s ease,opacity .5s ease,visibility .5s;visibility:visible}.gravitysmtp-admin .gform-snackbar--theme-cosmos .gform-snackbar__type-icon{align-items:center;border:2px solid transparent;border-radius:100%;box-sizing:border-box;display:flex;font-size:1rem;height:20px;justify-content:center;width:20px}.gravitysmtp-admin .gform-snackbar--theme-cosmos .gform-snackbar__type-icon--error{background-color:#fee4e2;border-color:#dd301d;color:#dd301d}.gravitysmtp-admin .gform-snackbar--theme-cosmos .gform-snackbar__type-icon--success{background-color:#f5fcf6;border-color:#22a753;color:#22a753}html[dir=rtl] .gravitysmtp-admin .gform-snackbar.gform-snackbar--bottomleft{left:auto;right:20px}html[dir=rtl] .gravitysmtp-admin .gform-snackbar.gform-snackbar--bottomright{left:20px;right:auto}html[dir=rtl] .gravitysmtp-admin .gform-snackbar.gform-snackbar--topleft{left:20px}html[dir=rtl] .gravitysmtp-admin .gform-snackbar.gform-snackbar--topright{right:20px}html[dir=rtl] .gravitysmtp-admin .gform-snackbar.gform-snackbar--has-close{padding-left:50px;padding-right:16px}html[dir=rtl] .gravitysmtp-admin .gform-snackbar__close{left:10px;right:auto}html[dir=rtl] .gravitysmtp-admin .gform-snackbar__cta{margin-left:0;margin-right:auto}html[dir=rtl] .gravitysmtp-admin .gform-snackbar__icon{margin:0 0 0 10px}html[dir=rtl] .gravitysmtp-admin .gform-snackbar__message{margin:0 0 0 6px}.gravitysmtp-admin .gform-spacing.gform-spacing--top-0{margin-block-start:0}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-0{margin-block-start:0}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-0{margin-block-start:0}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-1{margin-block-start:0.25rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-1{margin-block-start:0.25rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-1{margin-block-start:0.25rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-2{margin-block-start:0.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-2{margin-block-start:0.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-2{margin-block-start:0.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-3{margin-block-start:0.75rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-3{margin-block-start:0.75rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-3{margin-block-start:0.75rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-4{margin-block-start:1rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-4{margin-block-start:1rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-4{margin-block-start:1rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-5{margin-block-start:1.25rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-5{margin-block-start:1.25rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-5{margin-block-start:1.25rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-6{margin-block-start:1.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-6{margin-block-start:1.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-6{margin-block-start:1.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-8{margin-block-start:2rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-8{margin-block-start:2rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-8{margin-block-start:2rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-10{margin-block-start:2.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-10{margin-block-start:2.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-10{margin-block-start:2.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-12{margin-block-start:3rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-12{margin-block-start:3rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-12{margin-block-start:3rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-16{margin-block-start:4rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-16{margin-block-start:4rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-16{margin-block-start:4rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-20{margin-block-start:5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-20{margin-block-start:5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-20{margin-block-start:5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-24{margin-block-start:6rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-24{margin-block-start:6rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-24{margin-block-start:6rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-32{margin-block-start:8rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-32{margin-block-start:8rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-32{margin-block-start:8rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-40{margin-block-start:10rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-40{margin-block-start:10rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-40{margin-block-start:10rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-48{margin-block-start:12rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-48{margin-block-start:12rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-48{margin-block-start:12rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-56{margin-block-start:14rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-56{margin-block-start:14rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-56{margin-block-start:14rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--top-64{margin-block-start:16rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-top-64{margin-block-start:16rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-top-64{margin-block-start:16rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-0{margin-block-end:0}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-0{margin-block-end:0}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-0{margin-block-end:0}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-1{margin-block-end:0.25rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-1{margin-block-end:0.25rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-1{margin-block-end:0.25rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-2{margin-block-end:0.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-2{margin-block-end:0.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-2{margin-block-end:0.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-3{margin-block-end:0.75rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-3{margin-block-end:0.75rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-3{margin-block-end:0.75rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-4{margin-block-end:1rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-4{margin-block-end:1rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-4{margin-block-end:1rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-5{margin-block-end:1.25rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-5{margin-block-end:1.25rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-5{margin-block-end:1.25rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-6{margin-block-end:1.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-6{margin-block-end:1.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-6{margin-block-end:1.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-8{margin-block-end:2rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-8{margin-block-end:2rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-8{margin-block-end:2rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-10{margin-block-end:2.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-10{margin-block-end:2.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-10{margin-block-end:2.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-12{margin-block-end:3rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-12{margin-block-end:3rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-12{margin-block-end:3rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-16{margin-block-end:4rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-16{margin-block-end:4rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-16{margin-block-end:4rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-20{margin-block-end:5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-20{margin-block-end:5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-20{margin-block-end:5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-24{margin-block-end:6rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-24{margin-block-end:6rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-24{margin-block-end:6rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-32{margin-block-end:8rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-32{margin-block-end:8rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-32{margin-block-end:8rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-40{margin-block-end:10rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-40{margin-block-end:10rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-40{margin-block-end:10rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-48{margin-block-end:12rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-48{margin-block-end:12rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-48{margin-block-end:12rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-56{margin-block-end:14rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-56{margin-block-end:14rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-56{margin-block-end:14rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--bottom-64{margin-block-end:16rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-bottom-64{margin-block-end:16rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-bottom-64{margin-block-end:16rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-0{margin-inline-start:0}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-0{margin-inline-start:0}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-0{margin-inline-start:0}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-1{margin-inline-start:.25rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-1{margin-inline-start:.25rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-1{margin-inline-start:.25rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-2{margin-inline-start:.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-2{margin-inline-start:.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-2{margin-inline-start:.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-3{margin-inline-start:.75rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-3{margin-inline-start:.75rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-3{margin-inline-start:.75rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-4{margin-inline-start:1rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-4{margin-inline-start:1rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-4{margin-inline-start:1rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-5{margin-inline-start:1.25rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-5{margin-inline-start:1.25rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-5{margin-inline-start:1.25rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-6{margin-inline-start:1.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-6{margin-inline-start:1.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-6{margin-inline-start:1.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-8{margin-inline-start:2rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-8{margin-inline-start:2rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-8{margin-inline-start:2rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-10{margin-inline-start:2.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-10{margin-inline-start:2.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-10{margin-inline-start:2.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-12{margin-inline-start:3rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-12{margin-inline-start:3rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-12{margin-inline-start:3rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-16{margin-inline-start:4rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-16{margin-inline-start:4rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-16{margin-inline-start:4rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-20{margin-inline-start:5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-20{margin-inline-start:5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-20{margin-inline-start:5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-24{margin-inline-start:6rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-24{margin-inline-start:6rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-24{margin-inline-start:6rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-32{margin-inline-start:8rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-32{margin-inline-start:8rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-32{margin-inline-start:8rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-40{margin-inline-start:10rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-40{margin-inline-start:10rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-40{margin-inline-start:10rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-48{margin-inline-start:12rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-48{margin-inline-start:12rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-48{margin-inline-start:12rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-56{margin-inline-start:14rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-56{margin-inline-start:14rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-56{margin-inline-start:14rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--left-64{margin-inline-start:16rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-left-64{margin-inline-start:16rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-left-64{margin-inline-start:16rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--end-0{margin-inline-end:0}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-end-0{margin-inline-end:0}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-end-0{margin-inline-end:0}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-1{margin-inline-end:.25rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-1{margin-inline-end:.25rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-1{margin-inline-end:.25rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-2{margin-inline-end:.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-2{margin-inline-end:.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-2{margin-inline-end:.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-3{margin-inline-end:.75rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-3{margin-inline-end:.75rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-3{margin-inline-end:.75rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-4{margin-inline-end:1rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-4{margin-inline-end:1rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-4{margin-inline-end:1rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-5{margin-inline-end:1.25rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-5{margin-inline-end:1.25rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-5{margin-inline-end:1.25rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-6{margin-inline-end:1.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-6{margin-inline-end:1.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-6{margin-inline-end:1.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-8{margin-inline-end:2rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-8{margin-inline-end:2rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-8{margin-inline-end:2rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-10{margin-inline-end:2.5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-10{margin-inline-end:2.5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-10{margin-inline-end:2.5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-12{margin-inline-end:3rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-12{margin-inline-end:3rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-12{margin-inline-end:3rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-16{margin-inline-end:4rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-16{margin-inline-end:4rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-16{margin-inline-end:4rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-20{margin-inline-end:5rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-20{margin-inline-end:5rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-20{margin-inline-end:5rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-24{margin-inline-end:6rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-24{margin-inline-end:6rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-24{margin-inline-end:6rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-32{margin-inline-end:8rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-32{margin-inline-end:8rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-32{margin-inline-end:8rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-40{margin-inline-end:10rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-40{margin-inline-end:10rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-40{margin-inline-end:10rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-48{margin-inline-end:12rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-48{margin-inline-end:12rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-48{margin-inline-end:12rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-56{margin-inline-end:14rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-56{margin-inline-end:14rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-56{margin-inline-end:14rem}}.gravitysmtp-admin .gform-spacing.gform-spacing--right-64{margin-inline-end:16rem}@media (min-width:768px){.gravitysmtp-admin .gform-spacing.gform-spacing--md-right-64{margin-inline-end:16rem}}@media (min-width:1280px){.gravitysmtp-admin .gform-spacing.gform-spacing--lg-right-64{margin-inline-end:16rem}}.gravitysmtp-admin .gform-status-indicator{align-items:center;background:#ecedf8;border:1px solid #e4e9eb;color:#242748;cursor:pointer;display:inline-flex;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;transition:all ease-in-out .2s;white-space:nowrap;width:auto}.gravitysmtp-admin .gform-status-indicator::before{background:#242748;block-size:0.375rem;border-radius:50%;content:"";display:inline-block;inline-size:0.375rem;transition:all ease-in-out .2s}.gravitysmtp-admin .gform-status-indicator.gform-status--no-hover{cursor:auto;transition:none}.gravitysmtp-admin .gform-status-indicator.gform-status--no-pill{border-radius:3px}.gravitysmtp-admin .gform-status-indicator.gform-status--active,.gravitysmtp-admin .gform-status-indicator.gform-status--success{background:#eefcf0;border-color:#57c091;color:#276a52}.gravitysmtp-admin .gform-status-indicator.gform-status--active::before,.gravitysmtp-admin .gform-status-indicator.gform-status--success::before{background:#28b77e}.gravitysmtp-admin .gform-status-indicator.gform-status--error{background:#fee4e2;border-color:#dd301d;color:#dd301d}.gravitysmtp-admin .gform-status-indicator.gform-status--error::before{background:#dd301d}.gravitysmtp-admin .gform-status-indicator.gform-status--warning{background:#fff6e3;border-color:#ffbe03;color:#ff4f00}.gravitysmtp-admin .gform-status-indicator.gform-status--warning::before{background:#ff4f00}.gravitysmtp-admin .gform-status-indicator.gform-status--gray{background:#fdfdff;border-color:#e4e9eb;color:#242748}.gravitysmtp-admin .gform-status-indicator.gform-status--gray::before{background:#5b5e80}.gravitysmtp-admin .gform-status-indicator.gform-status--blue{background:#eff8ff;border-color:#b2ddff;color:#175cd3}.gravitysmtp-admin .gform-status-indicator.gform-status--blue::before{background:#2e90fa}.gravitysmtp-admin .gform-status-indicator.gform-status--static{pointer-events:none}.gravitysmtp-admin .gform-status-indicator.gform-status--no-icon::before{content:none}.gravitysmtp-admin .gform-status-indicator:not(.gform-status--no-hover):active,.gravitysmtp-admin .gform-status-indicator:not(.gform-status--no-hover):focus,.gravitysmtp-admin .gform-status-indicator:not(.gform-status--no-hover):hover{border-color:#3e7da6;box-shadow:0 0 0 1px #bed8ed;outline:0}.gravitysmtp-admin .gform-status-indicator--size-sm{border-radius:.75rem;gap:.25rem;padding-block:0.0625rem;padding-inline:0.375rem 0.5rem}.gravitysmtp-admin .gform-status-indicator--size-sm.gform-status--no-icon{padding-inline-start:0.5rem}.gravitysmtp-admin .gform-status-indicator--size-md{border-radius:.8125rem;gap:.375rem;padding-block:0.0625rem;padding-inline:0.5rem 0.625rem}.gravitysmtp-admin .gform-status-indicator--size-md.gform-status--no-icon{padding-inline-start:0.625rem}.gravitysmtp-admin .gform-status-indicator--size-lg{border-radius:.9375rem;gap:.375rem;padding-block:0.1875rem;padding-inline:0.625rem 0.75rem}.gravitysmtp-admin .gform-status-indicator--size-lg.gform-status--no-icon{padding-inline-start:0.75rem}.gravitysmtp-admin .wp-list-table .gform-status-indicator{margin-left:.375rem}.gravitysmtp-admin .gform-steps{font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;list-style:none;margin:0;padding:0}.gravitysmtp-admin .gform-steps__step{align-items:center;border:1px solid #374b6b;border-radius:50%;color:#fff;display:flex;height:2.125rem;justify-content:center;margin:0 auto;width:2.125rem}.gravitysmtp-admin .gform-steps__step:not(:last-child){margin-block-end:4rem;position:relative}.gravitysmtp-admin .gform-steps__step:not(:last-child)::after{background-color:#374b6b;content:"";height:4rem;left:50%;position:absolute;top:2.1rem;width:1px}.gravitysmtp-admin .gform-steps__step--active{background-color:#f15a2b;border-color:#f15a2b}.gravitysmtp-admin .gform-steps__step-icon{display:none;font-size:1.25rem}.gravitysmtp-admin .gform-steps__step--completed .gform-steps__step-icon{display:block}.gravitysmtp-admin .gform-steps__step--completed .gform-steps__step-count{display:none}.gravitysmtp-admin .gform-tag{border-radius:3px;color:#242748;display:inline-block;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;padding-block:5px;padding-inline:8px;position:relative;z-index:1}.gravitysmtp-admin .gform-tag.gform-tag--triangle-left.gform-typography--size-text-xxs .gform-tag__triangle{height:.938rem;inset-inline-start:-0.375rem;top:calc(50% - .5rem);width:.938rem}.gravitysmtp-admin .gform-tag.gform-tag--triangle-left.gform-typography--size-text-xs .gform-tag__triangle{height:1.06rem;inset-inline-start:-0.438rem;top:calc(50% - .55rem);width:1.06rem}.gravitysmtp-admin .gform-tag.gform-tag--triangle-left.gform-typography--size-text-sm .gform-tag__triangle{height:1.188rem;inset-inline-start:-0.5rem;top:calc(50% - .594rem);width:1.188rem}.gravitysmtp-admin .gform-tag.gform-tag--triangle-left.gform-typography--size-text-md .gform-tag__triangle{height:1.281rem;inset-inline-start:-0.563rem;top:calc(50% - .641rem);width:1.281rem}.gravitysmtp-admin .gform-tag.gform-tag--triangle-left.gform-typography--size-text-lg .gform-tag__triangle{height:1.313rem;inset-inline-start:-0.563rem;top:calc(50% - .656rem);width:1.313rem}.gravitysmtp-admin .gform-tag.gform-tag--triangle-left.gform-typography--size-text-xl .gform-tag__triangle{height:1.375rem;inset-inline-start:-0.625rem;top:calc(50% - .688rem);width:1.375rem}.gravitysmtp-admin .gform-tag--type-chathams{background:#0f3d6c;color:#fff}.gravitysmtp-admin .gform-tag--type-amethyst-smoke{background:#9092b2;color:#fff}.gravitysmtp-admin .gform-tag--type-upgrade{background:#9092b0;box-shadow:0 1px 4px rgba(18,25,97,.0779552);color:#fff;padding-block:2px;padding-inline:6px;text-transform:uppercase}.gravitysmtp-admin .gform-tag--type-blue{background:#dde9fc;border:1px solid #bed8ed;box-shadow:0 1px 4px rgba(18,25,97,.0779552);color:#204ce5;padding-block:1px;padding-inline:5px;text-transform:uppercase}.gravitysmtp-admin .gform-tag__triangle{background-color:inherit;border:inherit;border-radius:3px;display:block;position:absolute;transform:rotate(45deg) skew(15deg,15deg);z-index:-1}.gravitysmtp-admin .gform-input-wrapper--textarea,.gravitysmtp-admin .gform-input-wrapper--textarea *{box-sizing:border-box}.gravitysmtp-admin .gform-input--textarea{-webkit-appearance:none;background:#fff;border:1px solid #9092b0;border-radius:3px;box-shadow:0 0 0 transparent;box-sizing:border-box;color:#242748;display:block;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;line-height:2;margin:.375rem 0;outline:0;padding:.25rem .75rem;transition:box-shadow .15s ease,background-color .15s ease;width:100%}.gravitysmtp-admin .gform-input--textarea:focus{border:1px solid #175cff;box-shadow:0 .125rem .0675rem rgba(28,31,63,.0634624),0 0 0 2px #bed8ed;color:#242748}.gravitysmtp-admin .gform-input--textarea::-moz-placeholder{color:#5b5e80;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;font-weight:400}.gravitysmtp-admin .gform-input--textarea::placeholder{color:#5b5e80;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.875rem;font-weight:400}.gravitysmtp-admin .gform-input--textarea:disabled{background:#f4f5fb}.gravitysmtp-admin .gform-tooltip{display:inline-block;position:relative}.gravitysmtp-admin .gform-tooltip__trigger{align-items:center;border:0;border-radius:50%;cursor:pointer;display:flex;font-size:.625rem;height:1rem;justify-content:center;margin:0;outline:.125rem solid transparent;padding:0;transition:all .15s ease;width:1rem}.gravitysmtp-admin .gform-tooltip__trigger:focus,.gravitysmtp-admin .gform-tooltip__trigger:hover{box-shadow:0 1px 2px rgba(0,0,0,.05)}.gravitysmtp-admin .gform-tooltip--type-default .gform-tooltip__trigger{background:#ecedf8;border:1px solid #ecedf8;color:#242748}.gravitysmtp-admin .gform-tooltip--type-default .gform-tooltip__trigger:focus,.gravitysmtp-admin .gform-tooltip--type-default .gform-tooltip__trigger:hover{background-color:#d5d7e9;border-color:#9092b2}.gravitysmtp-admin .gform-tooltip--type-default .gform-tooltip__trigger:focus{border-color:#0f3d6c;outline:.125rem solid #bed8ed}.gravitysmtp-admin .gform-tooltip--type-success .gform-tooltip__trigger{background:#e1f6ed;border:1px solid #e1f6ed;color:#22a753}.gravitysmtp-admin .gform-tooltip--type-success .gform-tooltip__trigger:focus,.gravitysmtp-admin .gform-tooltip--type-success .gform-tooltip__trigger:hover{border-color:#22a753}.gravitysmtp-admin .gform-tooltip--type-success .gform-tooltip__trigger:focus{background:#f5fcf6;outline:.125rem solid #e1f6ed}.gravitysmtp-admin .gform-tooltip--type-error .gform-tooltip__trigger{background:#fee4e2;border:1px solid #fee4e2;color:#dd301d}.gravitysmtp-admin .gform-tooltip--type-error .gform-tooltip__trigger:focus,.gravitysmtp-admin .gform-tooltip--type-error .gform-tooltip__trigger:hover{border-color:#dd301d}.gravitysmtp-admin .gform-tooltip--type-error .gform-tooltip__trigger:focus{background:#fff;outline:.125rem solid #fee4e2}.gravitysmtp-admin .gform-tooltip__tooltip{border-radius:.1875rem;box-shadow:0 24px 24px rgba(18,25,97,.03),0 2px 2px rgba(18,25,97,.03),0 4px 4px rgba(18,25,97,.03),0 8px 8px rgba(18,25,97,.03),0 16px 16px rgba(18,25,97,.03);box-sizing:border-box;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;line-height:1.385;padding:.5rem .75rem;position:fixed;visibility:hidden}.gravitysmtp-admin .gform-tooltip__tooltip *{color:#fff}.gravitysmtp-admin .gform-tooltip__tooltip-arrow{position:absolute;z-index:-1}.gravitysmtp-admin .gform-tooltip__tooltip-arrow::after{border-radius:.25rem;content:"";display:block;height:1.125rem;transform:rotate(45deg);width:1.125rem}.gravitysmtp-admin .gform-tooltip--theme-chathams .gform-tooltip__tooltip,.gravitysmtp-admin .gform-tooltip--theme-chathams .gform-tooltip__tooltip-arrow::after{background:#0f3d6c}.gravitysmtp-admin .gform-tooltip--theme-port .gform-tooltip__tooltip,.gravitysmtp-admin .gform-tooltip--theme-port .gform-tooltip__tooltip-arrow::after{background:#242748}.gravitysmtp-admin .gform-tooltip--position-top .gform-tooltip__tooltip{left:50%;top:0;transform:translate(-50%,calc(-100% - .875rem))}.gravitysmtp-admin .gform-tooltip--position-top .gform-tooltip__tooltip-arrow{bottom:-.4375rem;left:50%;transform:scaleY(.8) translateX(-50%)}.gravitysmtp-admin .gform-tooltip--position-bottom .gform-tooltip__tooltip{bottom:0;left:50%;transform:translate(-50%,calc(100% + .875rem))}.gravitysmtp-admin .gform-tooltip--position-bottom .gform-tooltip__tooltip-arrow{left:50%;top:-.4375rem;transform:scaleY(.8) translateX(-50%)}.gravitysmtp-admin .gform-tooltip--position-left .gform-tooltip__tooltip{left:0;top:50%;transform:translate(calc(-100% - .875rem),-50%)}.gravitysmtp-admin .gform-tooltip--position-left .gform-tooltip__tooltip-arrow{right:-.4375rem;top:50%;transform:rotate(90deg) scaleY(.8) translateX(-50%)}.gravitysmtp-admin .gform-tooltip--position-right .gform-tooltip__tooltip{right:0;top:50%;transform:translate(calc(100% + .875rem),-50%)}.gravitysmtp-admin .gform-tooltip--position-right .gform-tooltip__tooltip-arrow{left:-.4375rem;top:50%;transform:rotate(90deg) scaleY(.8) translateX(-50%)}.gravitysmtp-admin .gform-tooltip--initialized .gform-tooltip__tooltip{display:none;opacity:0;position:absolute;transition:opacity .15s ease;z-index:5}.gravitysmtp-admin .gform-tooltip--anim-in-ready .gform-tooltip__tooltip{display:block;visibility:visible}.gravitysmtp-admin .gform-tooltip--anim-in-active .gform-tooltip__tooltip{opacity:1}.gravitysmtp-admin .gform-tooltip__tooltip-content{margin:0}.gravitysmtp-admin .gform-toggle{align-items:flex-start;display:inline-flex;gap:.5rem}.gravitysmtp-admin .gform-toggle,.gravitysmtp-admin .gform-toggle *,.gravitysmtp-admin .gform-toggle ::after,.gravitysmtp-admin .gform-toggle ::before{box-sizing:border-box}.gravitysmtp-admin .gform-toggle.gform-toggle--disabled{opacity:.5}.gravitysmtp-admin .gform-toggle--size-l,.gravitysmtp-admin .gform-toggle--size-m{gap:.75rem}.gravitysmtp-admin .gform-toggle--width-full{display:flex;justify-content:space-between}.gravitysmtp-admin .gform-toggle--label-left{flex-direction:row-reverse}.gravitysmtp-admin .gform-toggle--width-full.gform-toggle--label-right{text-align:end}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:0;box-shadow:none;cursor:pointer;display:block;flex:none;margin:0;outline:0;position:relative;width:auto}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle::before{background:#d5d7e9;content:"";display:block;margin:0;outline:2px solid transparent;outline-offset:2px;transition:all .15s ease}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle::after{background-color:#fff;border-radius:50%;box-shadow:0 3px 8px rgba(18,25,97,.15),0 1px 1px rgba(18,25,97,.16),0 2px 1px rgba(18,25,97,.04);content:"";position:absolute;transition:all .15s ease}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle.gform-toggle__toggle--has-icons::after{background-image:url('data:image/svg+xml,');background-position:center;background-repeat:no-repeat;background-size:35%}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle.gform-toggle__toggle--has-icons:checked::after{background-image:url('data:image/svg+xml,');background-position:center;background-repeat:no-repeat;background-size:45%}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle.focus-visible::before{outline-color:#d5d7e9;outline-offset:2px}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle.focus-visible::before{outline-color:#d5d7e9;outline-offset:2px}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle:focus-visible::before{outline-color:#d5d7e9;outline-offset:2px}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle.focus-visible:checked::before{outline-color:#3e7da6}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle.focus-visible:checked::before{outline-color:#3e7da6}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle:focus-visible:checked::before{outline-color:#3e7da6}.gravitysmtp-admin input[type=checkbox].gform-toggle__toggle:checked::before{background:#3e7da6}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle::before{background:#9092b0}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle.focus-visible::before{outline-color:#9092b0}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle.focus-visible::before{outline-color:#9092b0}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:focus-visible::before{outline-color:#9092b0}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle.focus-visible:checked::before{outline-color:#0f3d6c}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle.focus-visible:checked::before{outline-color:#0f3d6c}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:focus-visible:checked::before{outline-color:#0f3d6c}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle.focus-visible:hover:checked::before{outline-color:#242748}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle.focus-visible:hover:checked::before{outline-color:#242748}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:focus-visible:hover:checked::before{outline-color:#242748}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle.focus-visible:hover:checked~.gform-toggle__icon{color:#242748}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle.focus-visible:hover:checked~.gform-toggle__icon{color:#242748}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:focus-visible:hover:checked~.gform-toggle__icon{color:#242748}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:checked::before{background:#0f3d6c}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:checked.gform-toggle__toggle--has-icons::after{background-image:url('data:image/svg+xml,')}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:checked:hover::before{background:#242748}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:disabled{opacity:1}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:disabled::before{background:#ecedf8}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:disabled:checked::before{opacity:1}.gravitysmtp-admin .gform-toggle--theme-cosmos input[type=checkbox].gform-toggle__toggle:disabled:checked:hover::before{background:#ecedf8}.gravitysmtp-admin .gform-toggle--size-s input[type=checkbox].gform-toggle__toggle{height:1.25rem}.gravitysmtp-admin .gform-toggle--size-s input[type=checkbox].gform-toggle__toggle::before{border-radius:.625rem;height:1.25rem;width:2.5625rem}.gravitysmtp-admin .gform-toggle--size-s input[type=checkbox].gform-toggle__toggle::after{height:.875rem;inset-inline-start:0.1875rem;top:.1875rem;width:.875rem}.gravitysmtp-admin .gform-toggle--size-s input[type=checkbox].gform-toggle__toggle:checked::after{transform:translateX(1.3125rem)}.gravitysmtp-admin .gform-toggle--size-m input[type=checkbox].gform-toggle__toggle{height:1.5rem}.gravitysmtp-admin .gform-toggle--size-m input[type=checkbox].gform-toggle__toggle::before{border-radius:.75rem;height:1.5rem;width:3rem}.gravitysmtp-admin .gform-toggle--size-m input[type=checkbox].gform-toggle__toggle::after{height:1.125rem;inset-inline-start:0.1875rem;top:.1875rem;width:1.125rem}.gravitysmtp-admin .gform-toggle--size-m input[type=checkbox].gform-toggle__toggle:checked::after{transform:translateX(1.5rem)}.gravitysmtp-admin .gform-toggle--size-l input[type=checkbox].gform-toggle__toggle{height:1.75rem}.gravitysmtp-admin .gform-toggle--size-l input[type=checkbox].gform-toggle__toggle::before{border-radius:.875rem;height:1.75rem;width:3.4375rem}.gravitysmtp-admin .gform-toggle--size-l input[type=checkbox].gform-toggle__toggle::after{height:1.25rem;inset-inline-start:0.25rem;top:.25rem;width:1.25rem}.gravitysmtp-admin .gform-toggle--size-l input[type=checkbox].gform-toggle__toggle:checked::after{transform:translateX(1.6875rem)}.gravitysmtp-admin .gform-toggle__label{cursor:pointer}html[dir=rtl] .gravitysmtp-admin .gform-toggle--size-s input[type=checkbox].gform-toggle__toggle:checked::after{transform:translateX(-1.3125rem)}html[dir=rtl] .gravitysmtp-admin .gform-toggle--size-m input[type=checkbox].gform-toggle__toggle:checked::after{transform:translateX(-1.5rem)}html[dir=rtl] .gravitysmtp-admin .gform-toggle--size-l input[type=checkbox].gform-toggle__toggle:checked::after{transform:translateX(-1.6875rem)}.gravitysmtp-admin .gform-text{font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:.8125rem;font-style:normal}.gravitysmtp-admin .gform-text--color-port{color:#242748}.gravitysmtp-admin .gform-text--color-comet{color:#5b5e80}.gravitysmtp-admin .gform-text--color-white{color:#fff}.gravitysmtp-admin .gform-text--color-secondary-text{color:#6a6a80}.gravitysmtp-admin h1.gform-text,.gravitysmtp-admin h2.gform-text,.gravitysmtp-admin h3.gform-text,.gravitysmtp-admin h4.gform-text,.gravitysmtp-admin h5.gform-text,.gravitysmtp-admin h6.gform-text,.gravitysmtp-admin p.gform-text{color:#242748;font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;margin:0;padding:0}.gravitysmtp-admin .gform-typography--size-text-xxs{font-size:.625rem;line-height:1.6}.gravitysmtp-admin .gform-typography--size-text-xs{font-size:.75rem;line-height:1.5}.gravitysmtp-admin .gform-typography--size-text-sm{font-size:.875rem;line-height:1.43}.gravitysmtp-admin .gform-typography--size-text-md{font-size:1rem;line-height:1.5}.gravitysmtp-admin .gform-typography--size-text-lg{font-size:1.125rem;line-height:1.56}.gravitysmtp-admin .gform-typography--size-text-xl{font-size:1.25rem;line-height:1.5}.gravitysmtp-admin .gform-typography--size-display-xs{font-size:1.5rem;line-height:1.33}.gravitysmtp-admin .gform-typography--size-display-sm{font-size:1.875rem;line-height:1.27}.gravitysmtp-admin .gform-typography--size-display-md{font-size:2.25rem;letter-spacing:-.02em;line-height:1.22}.gravitysmtp-admin .gform-typography--size-display-lg{font-size:2.875rem;letter-spacing:-.02em;line-height:1.09}.gravitysmtp-admin .gform-typography--size-display-xl{font-size:3rem;letter-spacing:-.02em;line-height:1.25}.gravitysmtp-admin .gform-typography--size-display-2xl{font-size:3.75rem;letter-spacing:-.02em;line-height:1.2}.gravitysmtp-admin .gform-typography--size-display-3xl{font-size:4.5rem;letter-spacing:-.02em;line-height:1.25}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-text-xxs{font-size:.625rem;line-height:1.6}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-text-xs{font-size:.75rem;line-height:1.5}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-text-sm{font-size:.875rem;line-height:1.43}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-text-md{font-size:1rem;line-height:1.5}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-text-lg{font-size:1.125rem;line-height:1.56}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-text-xl{font-size:1.25rem;line-height:1.5}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-display-xs{font-size:1.5rem;line-height:1.33}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-display-sm{font-size:1.875rem;line-height:1.27}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-display-md{font-size:2.25rem;letter-spacing:-.02em;line-height:1.22}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-display-lg{font-size:2.875rem;letter-spacing:-.02em;line-height:1.09}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-display-xl{font-size:3rem;letter-spacing:-.02em;line-height:1.25}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-display-2xl{font-size:3.75rem;letter-spacing:-.02em;line-height:1.2}}@media (min-width:768px){.gravitysmtp-admin .gform-typography--md-size-display-3xl{font-size:4.5rem;letter-spacing:-.02em;line-height:1.25}}.gravitysmtp-admin .gform-typography--weight-regular{font-weight:400}.gravitysmtp-admin .gform-typography--weight-medium{font-weight:500}.gravitysmtp-admin .gform-typography--weight-semibold{font-weight:600} \ No newline at end of file diff --git a/assets/css/dist/admin-icons.min.css b/assets/css/dist/admin-icons.min.css index 25950a9..b388599 100644 --- a/assets/css/dist/admin-icons.min.css +++ b/assets/css/dist/admin-icons.min.css @@ -1 +1 @@ -@font-face{font-family:gravitysmtp-icons-admin;src:url('../../fonts/gravitysmtp-icons-admin.woff2?bqduf7') format('woff2'),url('../../fonts/gravitysmtp-icons-admin.ttf?bqduf7') format('truetype'),url('../../fonts/gravitysmtp-icons-admin.woff?bqduf7') format('woff'),url('../../fonts/gravitysmtp-icons-admin.svg?bqduf7#gravitysmtp-icons-admin') format('svg');font-weight:400;font-style:normal;font-display:block}.gravitysmtp-admin-icon{font-family:gravitysmtp-icons-admin!important;speak:never;font-style:normal;font-weight:400;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.gravitysmtp-admin-icon--circle-lightning-bolt:before{content:"\e937"}.gravitysmtp-admin-icon--chevron-right:before{content:"\e936"}.gravitysmtp-admin-icon--check-alt:before{content:"\e935"}.gravitysmtp-admin-icon--filters:before{content:"\e934"}.gravitysmtp-admin-icon--arrow-sm-down:before{content:"\e932"}.gravitysmtp-admin-icon--arrow-sm-up:before{content:"\e933"}.gravitysmtp-admin-icon--exclamation-circle:before{content:"\e92b"}.gravitysmtp-admin-icon--document-text:before{content:"\e92c"}.gravitysmtp-admin-icon--check-circle:before{content:"\e92a"}.gravitysmtp-admin-icon--x-circle:before{content:"\e930"}.gravitysmtp-admin-icon--failed:before{content:"\e939"}.gravitysmtp-admin-icon--arrow-narrow-left:before{content:"\e929"}.gravitysmtp-admin-icon--arrow-narrow-right:before{content:"\e926"}.gravitysmtp-admin-icon--expand:before{content:"\e927"}.gravitysmtp-admin-icon--contract:before{content:"\e928"}.gravitysmtp-admin-icon--dashboard-icon:before{content:"\e904"}.gravitysmtp-admin-icon--account:before{content:"\e92d"}.gravitysmtp-admin-icon--circle-tool:before{content:"\e908"}.gravitysmtp-admin-icon--clipboard-check:before{content:"\e909"}.gravitysmtp-admin-icon--cloud1:before{content:"\e90b"}.gravitysmtp-admin-icon--cog:before{content:"\e90c"}.gravitysmtp-admin-icon--cursor-click:before{content:"\e90d"}.gravitysmtp-admin-icon--wand:before{content:"\e924"}.gravitysmtp-admin-icon--dots-horizontal:before{content:"\e90e"}.gravitysmtp-admin-icon--dots-vertical:before{content:"\e90f"}.gravitysmtp-admin-icon--export:before{content:"\e910"}.gravitysmtp-admin-icon--switch-horizontal:before{content:"\e917"}.gravitysmtp-admin-icon--eye:before{content:"\e911"}.gravitysmtp-admin-icon--mail-open:before{content:"\e912"}.gravitysmtp-admin-icon--mail:before{content:"\e913"}.gravitysmtp-admin-icon--paper-plane:before{content:"\e915"}.gravitysmtp-admin-icon--paper-clip:before{content:"\e914"}.gravitysmtp-admin-icon--routing:before{content:"\e916"}.gravitysmtp-admin-icon--beaker:before{content:"\e919"}.gravitysmtp-admin-icon--settings:before{content:"\e901"}.gravitysmtp-admin-icon--calendar:before{content:"\e905"}.gravitysmtp-admin-icon--save-disk:before{content:"\e907"}.gravitysmtp-admin-icon--desktop:before{content:"\e92e"}.gravitysmtp-admin-icon--mobile:before{content:"\e92f"}.gravitysmtp-admin-icon--copy:before{content:"\e923"}.gravitysmtp-admin-icon--clock:before{content:"\e918"}.gravitysmtp-admin-icon--trash:before{content:"\e900"}.gravitysmtp-admin-icon--debug:before{content:"\e902"}.gravitysmtp-admin-icon--closed-lock:before{content:"\e903"}.gravitysmtp-admin-icon--check:before{content:"\e906"}.gravitysmtp-admin-icon--x:before{content:"\e90a"}.gravitysmtp-admin-icon--api:before{content:"\e91a"}.gravitysmtp-admin-icon--primary:before{content:"\e91b"}.gravitysmtp-admin-icon--left-arrow:before{content:"\e91c"}.gravitysmtp-admin-icon--right-arrow:before{content:"\e925"}.gravitysmtp-admin-icon--accordion-arrow:before{content:"\e931"}.gravitysmtp-admin-icon--correct:before{content:"\e91d"}.gravitysmtp-admin-icon--exclamation-simple:before{content:"\e91e"}.gravitysmtp-admin-icon--checkmark-simple:before{content:"\e91f"}.gravitysmtp-admin-icon--information-simple:before{content:"\e920"}.gravitysmtp-admin-icon--lock:before{content:"\e938"}.gravitysmtp-admin-icon--question-mark-simple:before{content:"\e921"}.gravitysmtp-admin-icon--x-simple:before{content:"\e922"} \ No newline at end of file +@font-face{font-family:gravitysmtp-icons-admin;src:url('../../fonts/gravitysmtp-icons-admin.woff2?r66urt') format('woff2'),url('../../fonts/gravitysmtp-icons-admin.ttf?r66urt') format('truetype'),url('../../fonts/gravitysmtp-icons-admin.woff?r66urt') format('woff'),url('../../fonts/gravitysmtp-icons-admin.svg?r66urt#gravitysmtp-icons-admin') format('svg');font-weight:400;font-style:normal;font-display:block}.gravitysmtp-admin-icon{font-family:gravitysmtp-icons-admin!important;speak:never;font-style:normal;font-weight:400;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.gravitysmtp-admin-icon--circle-lightning-bolt:before{content:"\e937"}.gravitysmtp-admin-icon--chevron-right:before{content:"\e936"}.gravitysmtp-admin-icon--check-alt:before{content:"\e935"}.gravitysmtp-admin-icon--filters:before{content:"\e934"}.gravitysmtp-admin-icon--arrow-sm-down:before{content:"\e932"}.gravitysmtp-admin-icon--arrow-sm-up:before{content:"\e933"}.gravitysmtp-admin-icon--exclamation-circle:before{content:"\e92b"}.gravitysmtp-admin-icon--exclamation-triangle:before{content:"\e93d"}.gravitysmtp-admin-icon--document-text:before{content:"\e92c"}.gravitysmtp-admin-icon--check-circle:before{content:"\e92a"}.gravitysmtp-admin-icon--x-circle:before{content:"\e930"}.gravitysmtp-admin-icon--failed:before{content:"\e939"}.gravitysmtp-admin-icon--reactivate:before{content:"\e93e"}.gravitysmtp-admin-icon--arrow-narrow-left:before{content:"\e929"}.gravitysmtp-admin-icon--arrow-narrow-right:before{content:"\e926"}.gravitysmtp-admin-icon--expand:before{content:"\e927"}.gravitysmtp-admin-icon--contract:before{content:"\e928"}.gravitysmtp-admin-icon--dashboard-icon:before{content:"\e904"}.gravitysmtp-admin-icon--account:before{content:"\e92d"}.gravitysmtp-admin-icon--circle-tool:before{content:"\e908"}.gravitysmtp-admin-icon--clipboard-check:before{content:"\e909"}.gravitysmtp-admin-icon--cloud1:before{content:"\e90b"}.gravitysmtp-admin-icon--cog:before{content:"\e90c"}.gravitysmtp-admin-icon--cursor-click:before{content:"\e90d"}.gravitysmtp-admin-icon--wand:before{content:"\e924"}.gravitysmtp-admin-icon--dots-horizontal:before{content:"\e90e"}.gravitysmtp-admin-icon--dots-vertical:before{content:"\e90f"}.gravitysmtp-admin-icon--export:before{content:"\e910"}.gravitysmtp-admin-icon--switch-horizontal:before{content:"\e917"}.gravitysmtp-admin-icon--eye:before{content:"\e911"}.gravitysmtp-admin-icon--mail-open:before{content:"\e912"}.gravitysmtp-admin-icon--mail:before{content:"\e913"}.gravitysmtp-admin-icon--paper-plane:before{content:"\e915"}.gravitysmtp-admin-icon--paper-clip:before{content:"\e914"}.gravitysmtp-admin-icon--routing:before{content:"\e916"}.gravitysmtp-admin-icon--beaker:before{content:"\e919"}.gravitysmtp-admin-icon--settings:before{content:"\e901"}.gravitysmtp-admin-icon--calendar:before{content:"\e905"}.gravitysmtp-admin-icon--save-disk:before{content:"\e907"}.gravitysmtp-admin-icon--desktop:before{content:"\e92e"}.gravitysmtp-admin-icon--mobile:before{content:"\e92f"}.gravitysmtp-admin-icon--copy:before{content:"\e923"}.gravitysmtp-admin-icon--clock:before{content:"\e918"}.gravitysmtp-admin-icon--trash:before{content:"\e900"}.gravitysmtp-admin-icon--debug:before{content:"\e902"}.gravitysmtp-admin-icon--closed-lock:before{content:"\e903"}.gravitysmtp-admin-icon--check:before{content:"\e906"}.gravitysmtp-admin-icon--x:before{content:"\e90a"}.gravitysmtp-admin-icon--api:before{content:"\e91a"}.gravitysmtp-admin-icon--primary:before{content:"\e91b"}.gravitysmtp-admin-icon--left-arrow:before{content:"\e91c"}.gravitysmtp-admin-icon--right-arrow:before{content:"\e925"}.gravitysmtp-admin-icon--accordion-arrow:before{content:"\e931"}.gravitysmtp-admin-icon--correct:before{content:"\e91d"}.gravitysmtp-admin-icon--exclamation-simple:before{content:"\e91e"}.gravitysmtp-admin-icon--checkmark-simple:before{content:"\e91f"}.gravitysmtp-admin-icon--information-simple:before{content:"\e920"}.gravitysmtp-admin-icon--lock:before{content:"\e938"}.gravitysmtp-admin-icon--question-mark-simple:before{content:"\e921"}.gravitysmtp-admin-icon--x-simple:before{content:"\e922"}.gravitysmtp-admin-icon--drag-indicator:before{content:"\e93a"}.gravitysmtp-admin-icon--chevron-down:before{content:"\e93b"}.gravitysmtp-admin-icon--chevron-up:before{content:"\e93c"} \ No newline at end of file diff --git a/assets/css/dist/admin.min.css b/assets/css/dist/admin.min.css index 8977bdd..e6fc5ea 100644 --- a/assets/css/dist/admin.min.css +++ b/assets/css/dist/admin.min.css @@ -1 +1 @@ -@font-face{font-display:swap;font-family:inter;font-style:normal;font-weight:400;src:url(../../fonts/inter-regular-webfont.woff2) format("woff2"),url(../../fonts/inter-regular-webfont.woff) format("woff")}@font-face{font-display:swap;font-family:inter;font-style:normal;font-weight:500;src:url(../../fonts/inter-medium-webfont.woff2) format("woff2"),url(../../fonts/inter-medium-webfont.woff) format("woff")}@font-face{font-display:swap;font-family:inter;font-style:normal;font-weight:600;src:url(../../fonts/inter-semibold-webfont.woff2) format("woff2"),url(../../fonts/inter-semibold-webfont.woff) format("woff")}.smtp_page_gravitysmtp-activity-log #wpwrap,.smtp_page_gravitysmtp-settings #wpwrap,.smtp_page_gravitysmtp-tools #wpwrap,.toplevel_page_gravitysmtp-dashboard #wpwrap{background:#f7f9fc}.smtp_page_gravitysmtp-activity-log #wpbody,.smtp_page_gravitysmtp-settings #wpbody,.smtp_page_gravitysmtp-tools #wpbody,.toplevel_page_gravitysmtp-dashboard #wpbody{block-size:100%}.smtp_page_gravitysmtp-activity-log #wpcontent,.smtp_page_gravitysmtp-settings #wpcontent,.smtp_page_gravitysmtp-tools #wpcontent,.toplevel_page_gravitysmtp-dashboard #wpcontent{padding-left:0}.smtp_page_gravitysmtp-activity-log #wpbody-content,.smtp_page_gravitysmtp-settings #wpbody-content,.smtp_page_gravitysmtp-tools #wpbody-content,.toplevel_page_gravitysmtp-dashboard #wpbody-content{block-size:100%;padding-bottom:0}.smtp_page_gravitysmtp-activity-log #wpbody-content>:not(.gravitysmtp-admin),.smtp_page_gravitysmtp-settings #wpbody-content>:not(.gravitysmtp-admin),.smtp_page_gravitysmtp-tools #wpbody-content>:not(.gravitysmtp-admin),.toplevel_page_gravitysmtp-dashboard #wpbody-content>:not(.gravitysmtp-admin){display:none!important}.smtp_page_gravitysmtp-activity-log #wpfooter,.smtp_page_gravitysmtp-settings #wpfooter,.smtp_page_gravitysmtp-tools #wpfooter,.toplevel_page_gravitysmtp-dashboard #wpfooter{display:none}.smtp_page_gravitysmtp-activity-log .gravitysmtp-admin:not(.gravitysmtp-admin--setup-wizard),.smtp_page_gravitysmtp-settings .gravitysmtp-admin:not(.gravitysmtp-admin--setup-wizard),.smtp_page_gravitysmtp-tools .gravitysmtp-admin:not(.gravitysmtp-admin--setup-wizard),.toplevel_page_gravitysmtp-dashboard .gravitysmtp-admin:not(.gravitysmtp-admin--setup-wizard){block-size:100%;position:relative;z-index:1}.smtp_page_gravitysmtp-activity-log .gravitysmtp-app,.smtp_page_gravitysmtp-settings .gravitysmtp-app,.smtp_page_gravitysmtp-tools .gravitysmtp-app,.toplevel_page_gravitysmtp-dashboard .gravitysmtp-app{block-size:100%}.smtp_page_gravitysmtp-activity-log .gform-toggle__toggle,.smtp_page_gravitysmtp-settings .gform-toggle__toggle,.smtp_page_gravitysmtp-tools .gform-toggle__toggle,.toplevel_page_gravitysmtp-dashboard .gform-toggle__toggle{width:auto}.gravitysmtp-apps--hidden .gravitysmtp-app__wrapper{display:none}.smtp_page_gravitysmtp-activity-log #wpcontent{padding-left:0}.gravitysmtp-app>.gform-loader__mask{justify-content:center}.gravitysmtp-admin *{-webkit-font-smoothing:antialiased}.gravitysmtp-admin .gform--display-block{display:block}.gravitysmtp-admin .gform-input--email,.gravitysmtp-admin .gform-input--text{width:100%}.gravitysmtp-admin .gform-visually-hidden{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.gravitysmtp-admin .gravitysmtp-app:not([data-js=gravitysmtp-setup-wizard-root]){height:calc(100vh - 46px);position:fixed;width:calc(100% - 160px)}@media (min-width:783px){.gravitysmtp-admin .gravitysmtp-app:not([data-js=gravitysmtp-setup-wizard-root]){height:calc(100vh - 32px)}}body.folded .gravitysmtp-admin .gravitysmtp-app:not([data-js=gravitysmtp-setup-wizard-root]){width:calc(100% - 36px)}[data-simplebar]{align-content:flex-start;align-items:flex-start;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;position:relative}.simplebar-wrapper{height:inherit;max-height:inherit;max-width:inherit;overflow:hidden;width:inherit}.simplebar-mask{bottom:0;direction:inherit;height:auto!important;left:0;margin:0;overflow:hidden;padding:0;position:absolute;right:0;top:0;width:auto!important;z-index:0}.simplebar-offset{bottom:0;box-sizing:inherit!important;direction:inherit!important;left:0;margin:0;-webkit-overflow-scrolling:touch;padding:0;position:absolute;resize:none!important;right:0;top:0}.simplebar-content-wrapper{box-sizing:border-box!important;direction:inherit;display:block;height:100%;max-height:100%;max-width:100%;-ms-overflow-style:none;position:relative;scrollbar-width:none;width:auto}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{height:0;width:0}.simplebar-content:after,.simplebar-content:before{content:' ';display:table}.simplebar-placeholder{max-height:100%;max-width:100%;pointer-events:none;width:100%}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;flex-basis:0;flex-grow:inherit;flex-shrink:0;float:left;height:100%;margin:0;max-height:1px;max-width:1px;overflow:hidden;padding:0;pointer-events:none;position:relative;width:100%;z-index:-1}.simplebar-height-auto-observer{box-sizing:inherit;display:block;height:1000%;left:0;min-height:1px;min-width:1px;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:0;width:1000%;z-index:-1}.simplebar-track{bottom:0;overflow:hidden;pointer-events:none;position:absolute;right:0;z-index:1}[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}[data-simplebar]::-webkit-scrollbar{-webkit-appearance:none;display:none;height:0;width:0}.simplebar-content-wrapper::-webkit-scrollbar{-webkit-appearance:none;display:none;height:0;width:0}.simplebar-scrollbar{left:0;min-height:10px;position:absolute;right:0}.simplebar-scrollbar:before{background:#d5d7e9;border-radius:3px;content:'';left:3px;opacity:0;position:absolute;right:4px;transition:opacity .2s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:1;transition:opacity 0s linear}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{bottom:2px;top:2px}.simplebar-track.simplebar-horizontal{height:11px;left:0}.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{height:100%;left:2px;right:2px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{height:7px;left:0;min-height:0;min-width:10px;right:auto;top:2px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{left:0;right:auto}.hs-dummy-scrollbar-size{direction:rtl;height:500px;opacity:0;overflow-x:scroll;overflow-y:hidden;position:fixed;visibility:hidden;width:500px}.simplebar-hide-scrollbar{left:0;overflow-y:scroll;position:fixed;scrollbar-width:none;visibility:hidden} \ No newline at end of file +@font-face{font-display:swap;font-family:inter;font-style:normal;font-weight:400;src:url(../../fonts/inter-regular-webfont.woff2) format("woff2"),url(../../fonts/inter-regular-webfont.woff) format("woff")}@font-face{font-display:swap;font-family:inter;font-style:normal;font-weight:500;src:url(../../fonts/inter-medium-webfont.woff2) format("woff2"),url(../../fonts/inter-medium-webfont.woff) format("woff")}@font-face{font-display:swap;font-family:inter;font-style:normal;font-weight:600;src:url(../../fonts/inter-semibold-webfont.woff2) format("woff2"),url(../../fonts/inter-semibold-webfont.woff) format("woff")}.smtp_page_gravitysmtp-activity-log #wpwrap,.smtp_page_gravitysmtp-settings #wpwrap,.smtp_page_gravitysmtp-suppression #wpwrap,.smtp_page_gravitysmtp-tools #wpwrap,.toplevel_page_gravitysmtp-dashboard #wpwrap{background:#f7f9fc}.smtp_page_gravitysmtp-activity-log #wpbody,.smtp_page_gravitysmtp-settings #wpbody,.smtp_page_gravitysmtp-suppression #wpbody,.smtp_page_gravitysmtp-tools #wpbody,.toplevel_page_gravitysmtp-dashboard #wpbody{block-size:100%}.smtp_page_gravitysmtp-activity-log #wpcontent,.smtp_page_gravitysmtp-settings #wpcontent,.smtp_page_gravitysmtp-suppression #wpcontent,.smtp_page_gravitysmtp-tools #wpcontent,.toplevel_page_gravitysmtp-dashboard #wpcontent{padding-left:0}.smtp_page_gravitysmtp-activity-log #wpbody-content,.smtp_page_gravitysmtp-settings #wpbody-content,.smtp_page_gravitysmtp-suppression #wpbody-content,.smtp_page_gravitysmtp-tools #wpbody-content,.toplevel_page_gravitysmtp-dashboard #wpbody-content{block-size:100%;padding-bottom:0}.smtp_page_gravitysmtp-activity-log #wpbody-content>:not(.gravitysmtp-admin),.smtp_page_gravitysmtp-settings #wpbody-content>:not(.gravitysmtp-admin),.smtp_page_gravitysmtp-suppression #wpbody-content>:not(.gravitysmtp-admin),.smtp_page_gravitysmtp-tools #wpbody-content>:not(.gravitysmtp-admin),.toplevel_page_gravitysmtp-dashboard #wpbody-content>:not(.gravitysmtp-admin){display:none!important}.smtp_page_gravitysmtp-activity-log #wpfooter,.smtp_page_gravitysmtp-settings #wpfooter,.smtp_page_gravitysmtp-suppression #wpfooter,.smtp_page_gravitysmtp-tools #wpfooter,.toplevel_page_gravitysmtp-dashboard #wpfooter{display:none}.smtp_page_gravitysmtp-activity-log .gravitysmtp-admin:not(.gravitysmtp-admin--setup-wizard),.smtp_page_gravitysmtp-settings .gravitysmtp-admin:not(.gravitysmtp-admin--setup-wizard),.smtp_page_gravitysmtp-suppression .gravitysmtp-admin:not(.gravitysmtp-admin--setup-wizard),.smtp_page_gravitysmtp-tools .gravitysmtp-admin:not(.gravitysmtp-admin--setup-wizard),.toplevel_page_gravitysmtp-dashboard .gravitysmtp-admin:not(.gravitysmtp-admin--setup-wizard){block-size:100%;position:relative;z-index:1}.smtp_page_gravitysmtp-activity-log .gravitysmtp-app,.smtp_page_gravitysmtp-settings .gravitysmtp-app,.smtp_page_gravitysmtp-suppression .gravitysmtp-app,.smtp_page_gravitysmtp-tools .gravitysmtp-app,.toplevel_page_gravitysmtp-dashboard .gravitysmtp-app{block-size:100%}.smtp_page_gravitysmtp-activity-log .gform-toggle__toggle,.smtp_page_gravitysmtp-settings .gform-toggle__toggle,.smtp_page_gravitysmtp-suppression .gform-toggle__toggle,.smtp_page_gravitysmtp-tools .gform-toggle__toggle,.toplevel_page_gravitysmtp-dashboard .gform-toggle__toggle{width:auto}.gravitysmtp-apps--hidden .gravitysmtp-app__wrapper{display:none}.smtp_page_gravitysmtp-activity-log #wpcontent{padding-left:0}.gravitysmtp-app>.gform-loader__mask{justify-content:center}.gravitysmtp-admin *{-webkit-font-smoothing:antialiased}.gravitysmtp-admin .gform--display-block{display:block}.gravitysmtp-admin .gform-input--email,.gravitysmtp-admin .gform-input--text{width:100%}.gravitysmtp-admin .gform-visually-hidden{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.gravitysmtp-admin .gravitysmtp-app:not([data-js=gravitysmtp-setup-wizard-root]){block-size:calc(100vh - 46px);inline-size:100%;position:fixed}@media (min-width:783px){.gravitysmtp-admin .gravitysmtp-app:not([data-js=gravitysmtp-setup-wizard-root]){block-size:calc(100vh - 32px);inline-size:calc(100% - 160px)}body.auto-fold .gravitysmtp-admin .gravitysmtp-app:not([data-js=gravitysmtp-setup-wizard-root]),body.folded .gravitysmtp-admin .gravitysmtp-app:not([data-js=gravitysmtp-setup-wizard-root]){inline-size:calc(100% - 36px)}}@media (min-width:961px){body.auto-fold:not(.folded) .gravitysmtp-admin .gravitysmtp-app:not([data-js=gravitysmtp-setup-wizard-root]){inline-size:calc(100% - 160px)}}[data-simplebar]{align-content:flex-start;align-items:flex-start;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;position:relative}.simplebar-wrapper{height:inherit;max-height:inherit;max-width:inherit;overflow:hidden;width:inherit}.simplebar-mask{bottom:0;direction:inherit;height:auto!important;left:0;margin:0;overflow:hidden;padding:0;position:absolute;right:0;top:0;width:auto!important;z-index:0}.simplebar-offset{bottom:0;box-sizing:inherit!important;direction:inherit!important;left:0;margin:0;-webkit-overflow-scrolling:touch;padding:0;position:absolute;resize:none!important;right:0;top:0}.simplebar-content-wrapper{box-sizing:border-box!important;direction:inherit;display:block;height:100%;max-height:100%;max-width:100%;-ms-overflow-style:none;position:relative;scrollbar-width:none;width:auto}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{height:0;width:0}.simplebar-content:after,.simplebar-content:before{content:' ';display:table}.simplebar-placeholder{max-height:100%;max-width:100%;pointer-events:none;width:100%}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;flex-basis:0;flex-grow:inherit;flex-shrink:0;float:left;height:100%;margin:0;max-height:1px;max-width:1px;overflow:hidden;padding:0;pointer-events:none;position:relative;width:100%;z-index:-1}.simplebar-height-auto-observer{box-sizing:inherit;display:block;height:1000%;left:0;min-height:1px;min-width:1px;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:0;width:1000%;z-index:-1}.simplebar-track{bottom:0;overflow:hidden;pointer-events:none;position:absolute;right:0;z-index:1}[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}[data-simplebar]::-webkit-scrollbar{-webkit-appearance:none;display:none;height:0;width:0}.simplebar-content-wrapper::-webkit-scrollbar{-webkit-appearance:none;display:none;height:0;width:0}.simplebar-scrollbar{left:0;min-height:10px;position:absolute;right:0}.simplebar-scrollbar:before{background:#d5d7e9;border-radius:3px;content:'';left:3px;opacity:0;position:absolute;right:4px;transition:opacity .2s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:1;transition:opacity 0s linear}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{bottom:2px;top:2px}.simplebar-track.simplebar-horizontal{height:11px;left:0}.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{height:100%;left:2px;right:2px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{height:7px;left:0;min-height:0;min-width:10px;right:auto;top:2px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{left:0;right:auto}.hs-dummy-scrollbar-size{direction:rtl;height:500px;opacity:0;overflow-x:scroll;overflow-y:hidden;position:fixed;visibility:hidden;width:500px}.simplebar-hide-scrollbar{left:0;overflow-y:scroll;position:fixed;scrollbar-width:none;visibility:hidden} \ No newline at end of file diff --git a/assets/css/dist/assets.php b/assets/css/dist/assets.php index 6696954..9d0c48f 100644 --- a/assets/css/dist/assets.php +++ b/assets/css/dist/assets.php @@ -1 +1 @@ - array('activity-log.min.css' => array('version' => '1fc0077164b64067d825482fe97a8769', 'file' => 'activity-log.min.css'), 'admin-components.min.css' => array('version' => '0b56b558d6e438848cc79e9c78c98328', 'file' => 'admin-components.min.css'), 'admin-icons.min.css' => array('version' => '0ba8338f36e2e6504bfcbf4c630e901b', 'file' => 'admin-icons.min.css'), 'admin.min.css' => array('version' => 'de2d776db75278e21d871f360e20687c', 'file' => 'admin.min.css'), 'base.min.css' => array('version' => '11edd75da0d63f29a8c07f5944ce415f', 'file' => 'base.min.css'), 'dashboard.min.css' => array('version' => 'e3575ba808bbdcd0efc4829832e868f5', 'file' => 'dashboard.min.css'), 'settings.min.css' => array('version' => '10ccdd4698b0701dd1c04875cdc15b70', 'file' => 'settings.min.css'), 'setup-wizard.min.css' => array('version' => '22e50798e1c62ffcc3904f776226b9ca', 'file' => 'setup-wizard.min.css'), 'tools.min.css' => array('version' => '873a93658959423a3c3892823376b04d', 'file' => 'tools.min.css'))); \ No newline at end of file + array('activity-log.min.css' => array('version' => 'f3fc7bcb6a0a78f61c8e70722a578dd0', 'file' => 'activity-log.min.css'), 'admin-components.min.css' => array('version' => '83ec954b027166fec6f3227d93fad522', 'file' => 'admin-components.min.css'), 'admin-icons.min.css' => array('version' => '5923439e3732d14b033789c96763146f', 'file' => 'admin-icons.min.css'), 'admin.min.css' => array('version' => '1337ace597379a556e9a7dfe185c6898', 'file' => 'admin.min.css'), 'base.min.css' => array('version' => '11edd75da0d63f29a8c07f5944ce415f', 'file' => 'base.min.css'), 'dashboard.min.css' => array('version' => 'e93fbea3d3c8cf59d9a5527d4ae19b8d', 'file' => 'dashboard.min.css'), 'settings.min.css' => array('version' => 'b2ded4807224ecdced5615ac219b1d56', 'file' => 'settings.min.css'), 'setup-wizard.min.css' => array('version' => '22e50798e1c62ffcc3904f776226b9ca', 'file' => 'setup-wizard.min.css'), 'suppression.min.css' => array('version' => 'db7436fc09411eedeb9786005d751fb7', 'file' => 'suppression.min.css'), 'tools.min.css' => array('version' => '873a93658959423a3c3892823376b04d', 'file' => 'tools.min.css'))); \ No newline at end of file diff --git a/assets/css/dist/dashboard.min.css b/assets/css/dist/dashboard.min.css index e289f95..16b9156 100644 --- a/assets/css/dist/dashboard.min.css +++ b/assets/css/dist/dashboard.min.css @@ -1 +1 @@ -.gravitysmtp-admin .gravitysmtp-dashboard-app{block-size:calc(100vh - 46px)}@media (min-width:783px){.gravitysmtp-admin .gravitysmtp-dashboard-app{block-size:calc(100vh - 32px)}}.gravitysmtp-admin .gravitysmtp-dashboard-app__content{container-type:inline-size;padding:1.5rem}.gravitysmtp-admin .gravitysmtp-dashboard-app__header{background:#fff;border-bottom:1px solid #ecedf8;display:flex;height:62px;inline-size:100%}.gravitysmtp-admin .gravitysmtp-dashboard-app__header-main{align-items:center;display:flex;height:62px;inline-size:100%;justify-content:space-between;padding:0 24px}.gravitysmtp-admin .gravitysmtp-dashboard-app__header-logo{align-items:center;display:flex}.gravitysmtp-admin .gravitysmtp-dashboard-app__loader{align-items:center;background:rgba(255,255,255,.7);block-size:100%;display:flex;inline-size:100%;justify-content:center;left:0;position:absolute;top:0;z-index:10}.gravitysmtp-admin .gravitysmtp-dashboard-app__loader.gravitysmtp-dashboard-app__loader--mask-off-white{background:rgba(247,249,252,.7)}.gravitysmtp-admin .gravitysmtp-dashboard-app__date-filters .gravitysmtp-dashboard-app__date-filters__date-filter .gform-button{border-end-end-radius:0;border-inline-end:0;border-start-end-radius:0}.gravitysmtp-admin .gravitysmtp-dashboard-app__date-filters .gravitysmtp-dashboard-app__date-filters__date-filter .gform-button .gform-button__icon{font-size:1rem}.gravitysmtp-admin .gravitysmtp-dashboard-app__date-filters .gravitysmtp-dashboard-app__date-filters__datepicker.gform-button{border-end-start-radius:0;border-start-start-radius:0}.gravitysmtp-admin .gravitysmtp-dashboard-app__date-filters .gravitysmtp-dashboard-app__date-filters__datepicker.gform-button .gform-button__icon{display:none}@media (min-width:410px){.gravitysmtp-admin .gravitysmtp-dashboard-app__date-filters .gravitysmtp-dashboard-app__date-filters__datepicker.gform-button .gform-button__icon{display:inline-block}}.gravitysmtp-admin .gravitysmtp-dashboard-app__metrics-grid,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-grid{display:grid;grid-template-columns:1fr}@container (min-width:700px){.gravitysmtp-admin .gravitysmtp-dashboard-app__metrics-grid,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-grid{grid-template-columns:repeat(2,1fr)}}@container (min-width:1300px){.gravitysmtp-admin .gravitysmtp-dashboard-app__metrics-grid,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-grid{grid-template-columns:repeat(4,1fr)}}.gravitysmtp-admin .gravitysmtp-dashboard-app__metrics-grid .gform-grid--item,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-grid .gform-grid--item{display:flex;flex-direction:column;inline-size:calc(100% - 1.5rem);position:relative}.gravitysmtp-admin .gravitysmtp-dashboard-app__metrics-grid .gform-card--metric,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-grid .gform-card--metric{position:relative}@container (min-width:1300px){.gravitysmtp-admin .gravitysmtp-dashboard-app__metrics-grid--no-open-tracking{grid-template-columns:repeat(3,1fr)}}.gravitysmtp-admin .gravitysmtp-dashboard-app__email-stats-chart{position:relative}.gravitysmtp-admin .gravitysmtp-dashboard-app__email-stats-chart .gform-meta-box__content{min-block-size:286px;padding-inline:0}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-grid-box{container-type:inline-size;display:flex;flex-direction:column;flex-grow:1}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-grid-box .gform-meta-box__content{flex-grow:1;position:relative}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-item,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-recipients-item,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-sources-item,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-your-int-item{align-items:center;justify-content:space-between}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-item{height:24px}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-link,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-recipients-name,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-sources-name,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-your-int-name{align-items:center;min-width:0}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-link .gform-text,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-recipients-name .gform-text,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-sources-name .gform-text,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-your-int-name .gform-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-icon,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-recipients-status,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-sources-status{white-space:nowrap}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-your-int-status .gform-text{display:none}@container (min-width:320px){.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-your-int-status .gform-text{display:block}}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-icon,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-recipients-status,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-sources-status,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-your-int-status{align-items:center}.gravitysmtp-admin .gform-gravatar--circular{flex-shrink:0}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-href{color:#242748;text-decoration:none}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-href:hover{text-decoration:underline}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-icon .gravitysmtp-admin-icon{color:#5b5e80;font-size:1.1rem}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-sources-figure{flex-shrink:0;height:24px;margin:0}.gravitysmtp-admin .gravitysmtp-dashboard-app__no-data{align-items:center;block-size:286px;display:flex;inline-size:100%;justify-content:center}.gravitysmtp-admin .gravitysmtp-dashboard-app__no-data-card{align-items:center;border:1px rgba(18,25,97,.04);border-radius:3px;box-shadow:0 0 1px 0 rgba(18,25,97,.24),0 24px 24px 0 rgba(18,25,97,.03),0 2px 2px 0 rgba(18,25,97,.03),0 4px 4px 0 rgba(18,25,97,.03),0 8px 8px 0 rgba(18,25,97,.03),0 16px 16px 0 rgba(18,25,97,.03);flex-direction:column;justify-content:center;max-inline-size:370px;padding:1.5rem} \ No newline at end of file +.gravitysmtp-admin .gravitysmtp-dashboard-app{block-size:calc(100vh - 46px)}@media (min-width:783px){.gravitysmtp-admin .gravitysmtp-dashboard-app{block-size:calc(100vh - 32px)}}.gravitysmtp-admin .gravitysmtp-dashboard-app__content{container-type:inline-size;padding:1.5rem}.gravitysmtp-admin .gravitysmtp-dashboard-app__header{background:#fff;border-bottom:1px solid #ecedf8;display:flex;height:62px;inline-size:100%}.gravitysmtp-admin .gravitysmtp-dashboard-app__header-main{align-items:center;display:flex;height:62px;inline-size:100%;justify-content:space-between;padding:0 24px}.gravitysmtp-admin .gravitysmtp-dashboard-app__header-logo{align-items:center;display:flex}.gravitysmtp-admin .gravitysmtp-dashboard-app__loader{align-items:center;background:rgba(255,255,255,.7);block-size:100%;display:flex;inline-size:100%;justify-content:center;left:0;position:absolute;top:0;z-index:10}.gravitysmtp-admin .gravitysmtp-dashboard-app__loader.gravitysmtp-dashboard-app__loader--mask-off-white{background:rgba(247,249,252,.7)}.gravitysmtp-admin .gravitysmtp-dashboard-app__date-filters .gravitysmtp-dashboard-app__date-filters__date-filter .gform-button{border-end-end-radius:0;border-inline-end:0;border-start-end-radius:0}.gravitysmtp-admin .gravitysmtp-dashboard-app__date-filters .gravitysmtp-dashboard-app__date-filters__date-filter .gform-button .gform-button__icon{font-size:1rem}.gravitysmtp-admin .gravitysmtp-dashboard-app__date-filters .gravitysmtp-dashboard-app__date-filters__datepicker.gform-button{border-end-start-radius:0;border-start-start-radius:0}.gravitysmtp-admin .gravitysmtp-dashboard-app__date-filters .gravitysmtp-dashboard-app__date-filters__datepicker.gform-button .gform-button__icon{display:none}@media (min-width:410px){.gravitysmtp-admin .gravitysmtp-dashboard-app__date-filters .gravitysmtp-dashboard-app__date-filters__datepicker.gform-button .gform-button__icon{display:inline-block}}.gravitysmtp-admin .gravitysmtp-dashboard-app__metrics-grid,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-grid{display:grid;grid-template-columns:1fr}@container (min-width:700px){.gravitysmtp-admin .gravitysmtp-dashboard-app__metrics-grid,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-grid{grid-template-columns:repeat(2,1fr)}}@container (min-width:1300px){.gravitysmtp-admin .gravitysmtp-dashboard-app__metrics-grid,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-grid{grid-template-columns:repeat(4,1fr)}}.gravitysmtp-admin .gravitysmtp-dashboard-app__metrics-grid .gform-grid--item,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-grid .gform-grid--item{display:flex;flex-direction:column;inline-size:calc(100% - 1.5rem);position:relative}.gravitysmtp-admin .gravitysmtp-dashboard-app__metrics-grid .gform-card--metric,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-grid .gform-card--metric{position:relative}@container (min-width:1300px){.gravitysmtp-admin .gravitysmtp-dashboard-app__metrics-grid--no-open-tracking{grid-template-columns:repeat(3,1fr)}}@container (min-width:700px){.gravitysmtp-admin .gravitysmtp-dashboard-app__metrics-grid--no-open-tracking .gform-grid--item:last-child:nth-child(odd){grid-column:span 2}}@container (min-width:1300px){.gravitysmtp-admin .gravitysmtp-dashboard-app__metrics-grid--no-open-tracking .gform-grid--item:last-child:nth-child(odd){grid-column:span 1}}.gravitysmtp-admin .gravitysmtp-dashboard-app__email-stats-chart{position:relative}.gravitysmtp-admin .gravitysmtp-dashboard-app__email-stats-chart .gform-meta-box__content{min-block-size:286px;padding-inline:0}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-grid-box{container-type:inline-size;display:flex;flex-direction:column;flex-grow:1}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-grid-box .gform-meta-box__content{flex-grow:1;position:relative}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-item,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-recipients-item,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-sources-item,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-your-int-item{align-items:center;justify-content:space-between}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-item{height:24px}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-link,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-recipients-name,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-sources-name,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-your-int-name{align-items:center;min-width:0}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-link .gform-text,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-recipients-name .gform-text,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-sources-name .gform-text,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-your-int-name .gform-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-icon,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-recipients-status,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-sources-status{white-space:nowrap}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-your-int-status .gform-text{display:none}@container (min-width:320px){.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-your-int-status .gform-text{display:block}}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-icon,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-recipients-status,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-sources-status,.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-your-int-status{align-items:center}.gravitysmtp-admin .gform-gravatar--circular{flex-shrink:0}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-href{color:#242748;text-decoration:none}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-href:hover{text-decoration:underline}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-links-icon .gravitysmtp-admin-icon{color:#5b5e80;font-size:1.1rem}.gravitysmtp-admin .gravitysmtp-dashboard-app__rankings-sources-figure{flex-shrink:0;height:24px;margin:0}.gravitysmtp-admin .gravitysmtp-dashboard-app__no-data{align-items:center;block-size:286px;display:flex;inline-size:100%;justify-content:center}.gravitysmtp-admin .gravitysmtp-dashboard-app__no-data-card{align-items:center;border:1px rgba(18,25,97,.04);border-radius:3px;box-shadow:0 0 1px 0 rgba(18,25,97,.24),0 24px 24px 0 rgba(18,25,97,.03),0 2px 2px 0 rgba(18,25,97,.03),0 4px 4px 0 rgba(18,25,97,.03),0 8px 8px 0 rgba(18,25,97,.03),0 16px 16px 0 rgba(18,25,97,.03);flex-direction:column;justify-content:center;max-inline-size:370px;padding:1.5rem} \ No newline at end of file diff --git a/assets/css/dist/settings.min.css b/assets/css/dist/settings.min.css index 4ab1cdd..81462d9 100644 --- a/assets/css/dist/settings.min.css +++ b/assets/css/dist/settings.min.css @@ -1 +1 @@ -.gravitysmtp-admin .gravitysmtp-app__wrapper{block-size:100%;position:relative}.gravitysmtp-admin .gravitysmtp-settings-app{block-size:calc(100vh - 46px);font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif}@media (min-width:783px){.gravitysmtp-admin .gravitysmtp-settings-app{block-size:calc(100vh - 32px)}}.gravitysmtp-admin .gravitysmtp-settings-app *{box-sizing:border-box}.gravitysmtp-admin .gravitysmtp-settings-app .gform-modular-sidebar__primary-sidebar{border-right:1px solid #ecedf8;inline-size:95px}.gravitysmtp-admin .gravitysmtp-settings-app .gform-modular-sidebar__content{background:#f7f9fc}.gravitysmtp-admin .gravitysmtp-settings-app__header{background:#fff;block-size:62px;border-bottom:1px solid #ecedf8;display:flex;inline-size:100%}.gravitysmtp-admin .gravitysmtp-settings-app__header-logo{align-items:center;background:var(--gravitysmtp-admin-color-primary);block-size:62px;border-right:1px solid #ecedf8;display:flex;inline-size:95px;justify-content:center}.gravitysmtp-admin .gravitysmtp-settings-app__header-main{align-items:center;block-size:62px;display:flex;inline-size:calc(100% - 95px);justify-content:space-between;padding:0 24px}.gravitysmtp-admin .gform-modular-sidebar__primary-sidebar{background:#fff}.gravitysmtp-admin .gravitysmtp-settings-app__content{padding-block:1.5rem 6rem;padding-inline:1.5rem}.gravitysmtp-admin .gravitysmtp-integration-settings__actions{inline-size:100%;justify-content:flex-end}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(18.5rem,1fr))}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card-grid-item{block-size:calc(100% - 1.5rem)}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card{block-size:100%}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card .gform-card__top-container-header>:first-child,.gravitysmtp-admin .gravitysmtp-settings-app__integration-card .gform-card__top-container-header>:nth-child(2){flex-basis:auto;flex-grow:0;flex-shrink:0}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card .gform-card__top-container-header>:nth-child(2){margin-inline-end:auto}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card .gform-card__top-container-header>:nth-child(3){flex-grow:0;flex-shrink:0;margin-inline-start:auto}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card .gform-card__top-container-header-item svg{display:block}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card .gform-card__top-container-buttons{gap:.25rem}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card .gform-toggle{display:flex;padding-block:5px}.gravitysmtp-admin .gravitysmtp-general-settings__license-save,.gravitysmtp-admin .gravitysmtp-integration-settings__save{justify-content:center}.gravitysmtp-admin .gravitysmtp-general-settings__license-save--saving .gravitysmtp-admin-icon--save-disk,.gravitysmtp-admin .gravitysmtp-integration-settings__save--saving .gravitysmtp-admin-icon--save-disk{display:none}.gravitysmtp-admin .gravitysmtp-general-settings__license-input-container .gform-alert{margin-block-end:0}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-integration-settings__mask{align-items:flex-start}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-integration-settings__mask .gform-dialog{margin-block-start:80px}.gravitysmtp-admin .gravitysmtp-logging-settings__debug-log-buttons{-moz-column-gap:1rem;column-gap:1rem;display:flex;flex-wrap:wrap;row-gap:.5rem}.gravitysmtp-admin .gravitysmtp-google-integration__connected-message{width:100%}.gravitysmtp-admin .gravitysmtp-google-integration__connected-message .gravitysmtp-google-integration__checkmark{display:inline-flex;inset-block-start:0;inset-inline-start:0;margin-inline-end:.75rem}.gravitysmtp-admin .gravitysmtp-google-integration__connected-message .gravitysmtp-google-integration__checkmark::before{inset-block-start:0;left:0;transform:none}.gravitysmtp-admin .gravitysmtp-integration__notice-message{color:#044ad3;font-weight:500}.gravitysmtp-admin .gravitysmtp-integration__notice-link{border:1px solid #c3d9ff;font-weight:500}.gravitysmtp-admin .gravitysmtp-integration__notice-link:focus{border-color:#c3d9ff}.gravitysmtp-admin .gravitysmtp-logging-settings__log-retention--locked .gform-select,.gravitysmtp-admin .gravitysmtp-logging-settings__log-retention--locked .gform-select__wrapper::after{display:none} \ No newline at end of file +.gravitysmtp-admin .gravitysmtp-app__wrapper{block-size:100%;position:relative}.gravitysmtp-admin .gravitysmtp-settings-app{block-size:calc(100vh - 46px);font-family:inter,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif}@media (min-width:783px){.gravitysmtp-admin .gravitysmtp-settings-app{block-size:calc(100vh - 32px)}}.gravitysmtp-admin .gravitysmtp-settings-app *{box-sizing:border-box}.gravitysmtp-admin .gravitysmtp-settings-app .gform-modular-sidebar__primary-sidebar{border-right:1px solid #ecedf8;inline-size:95px}.gravitysmtp-admin .gravitysmtp-settings-app .gform-modular-sidebar__content{background:#f7f9fc}.gravitysmtp-admin .gravitysmtp-settings-app__header{background:#fff;block-size:62px;border-bottom:1px solid #ecedf8;display:flex;inline-size:100%}.gravitysmtp-admin .gravitysmtp-settings-app__header-logo{align-items:center;background:var(--gravitysmtp-admin-color-primary);block-size:62px;border-right:1px solid #ecedf8;display:flex;inline-size:95px;justify-content:center}.gravitysmtp-admin .gravitysmtp-settings-app__header-main{align-items:center;block-size:62px;display:flex;inline-size:calc(100% - 95px);justify-content:space-between;padding:0 24px}.gravitysmtp-admin .gform-modular-sidebar__primary-sidebar{background:#fff}.gravitysmtp-admin .gravitysmtp-settings-app__content{padding-block:1.5rem 6rem;padding-inline:1.5rem}.gravitysmtp-admin .gravitysmtp-integration-settings__actions{inline-size:100%;justify-content:flex-end}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(18.5rem,1fr))}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card-grid-item{block-size:calc(100% - 1.5rem)}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card{block-size:100%}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card .gform-card__top-container-header>:first-child svg{border-radius:50%;box-shadow:0 1px 4px rgba(18,25,97,.0779552)}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card .gform-card__top-container-header>:first-child,.gravitysmtp-admin .gravitysmtp-settings-app__integration-card .gform-card__top-container-header>:nth-child(2){flex-basis:auto;flex-grow:0;flex-shrink:0}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card .gform-card__top-container-header>:nth-child(2){margin-inline-end:auto}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card .gform-card__top-container-header>:nth-child(3){flex-grow:0;flex-shrink:0;margin-inline-start:auto}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card .gform-card__top-container-header-item svg{display:block}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card .gform-card__top-container-buttons{gap:.25rem}.gravitysmtp-admin .gravitysmtp-settings-app__integration-card .gform-toggle{display:flex;padding-block:5px}.gravitysmtp-admin .gravitysmtp-general-settings__license-save,.gravitysmtp-admin .gravitysmtp-integration-settings__save{justify-content:center}.gravitysmtp-admin .gravitysmtp-alerts-settings__save-settings--saving .gravitysmtp-admin-icon--save-disk,.gravitysmtp-admin .gravitysmtp-general-settings__license-save--saving .gravitysmtp-admin-icon--save-disk,.gravitysmtp-admin .gravitysmtp-integration-settings__save--saving .gravitysmtp-admin-icon--save-disk{display:none}.gravitysmtp-admin .gravitysmtp-general-settings__license-input-container .gform-alert{margin-block-end:0}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-integration-settings__mask{align-items:flex-start}.gravitysmtp-admin .gform-dialog__mask.gravitysmtp-integration-settings__mask .gform-dialog{margin-block-start:80px}.gravitysmtp-admin .gravitysmtp-logging-settings__debug-log-buttons{-moz-column-gap:1rem;column-gap:1rem;display:flex;flex-wrap:wrap;row-gap:.5rem}.gravitysmtp-admin .gravitysmtp-alerts-settings__count,.gravitysmtp-admin .gravitysmtp-alerts-settings__interval{width:100%}.gravitysmtp-admin .gravitysmtp-google-integration__connected-message{width:100%}.gravitysmtp-admin .gravitysmtp-google-integration__connected-message .gravitysmtp-google-integration__checkmark{display:inline-flex;inset-block-start:0;inset-inline-start:0;margin-inline-end:.75rem}.gravitysmtp-admin .gravitysmtp-google-integration__connected-message .gravitysmtp-google-integration__checkmark::before{inset-block-start:0;left:0;transform:none}.gravitysmtp-admin .gravitysmtp-integration__notice-message{color:#044ad3;font-weight:500}.gravitysmtp-admin .gravitysmtp-integration__notice-link{border:1px solid #c3d9ff;font-weight:500}.gravitysmtp-admin .gravitysmtp-integration__notice-link:focus{border-color:#c3d9ff}.gravitysmtp-admin .gravitysmtp-logging-settings__log-retention--locked .gform-select,.gravitysmtp-admin .gravitysmtp-logging-settings__log-retention--locked .gform-select__wrapper::after{display:none} \ No newline at end of file diff --git a/assets/css/dist/suppression.min.css b/assets/css/dist/suppression.min.css new file mode 100644 index 0000000..a5fb91a --- /dev/null +++ b/assets/css/dist/suppression.min.css @@ -0,0 +1 @@ +.gravitysmtp-admin .gravitysmtp-suppression-app{block-size:calc(100vh - 46px)}@media (min-width:783px){.gravitysmtp-admin .gravitysmtp-suppression-app{block-size:calc(100vh - 32px)}}.gravitysmtp-admin .gravitysmtp-suppression-app__content{container-type:inline-size;padding:1.5rem}.gravitysmtp-admin .gravitysmtp-suppression-app__header{background:#fff;border-bottom:1px solid #ecedf8;display:flex;height:62px;inline-size:100%}.gravitysmtp-admin .gravitysmtp-suppression-app__header-main{align-items:center;display:flex;height:62px;inline-size:100%;justify-content:space-between;padding:0 24px}.gravitysmtp-admin .gravitysmtp-suppression-app__header-logo{align-items:center;display:flex}.gravitysmtp-admin .gravitysmtp-suppression-app__suppression-dialog-manually-add-email-addresses{block-size:8.125rem}.gravitysmtp-admin .gravitysmtp-suppression-app__suppression-dialog-manually-add-add-notes{block-size:4.375rem}.gravitysmtp-admin .gravitysmtp-suppression-app__suppression-dialog-reactivate{border:1px solid #d5d7e9;border-radius:3px;padding:24px}.gravitysmtp-admin .gravitysmtp-suppression-app__suppression-dialog-footer{gap:.75rem;justify-content:flex-end} \ No newline at end of file diff --git a/assets/fonts/gravitysmtp-icons-admin.svg b/assets/fonts/gravitysmtp-icons-admin.svg index efc6e0b..b3e5cff 100644 --- a/assets/fonts/gravitysmtp-icons-admin.svg +++ b/assets/fonts/gravitysmtp-icons-admin.svg @@ -65,4 +65,9 @@ + + + + + \ No newline at end of file diff --git a/assets/fonts/gravitysmtp-icons-admin.ttf b/assets/fonts/gravitysmtp-icons-admin.ttf index 3c1f733c0f0c535484d2086d2aff35e9dfacd97f..28974afcc9570a59a49d892bfe538bcaeb72770c 100644 GIT binary patch delta 1258 zcmah}&ube;6n<|v%#0<+Bdt~|q{x=N>*~kaO|-IhmBf~m){sM^lDKUOJ+zJNsVE`cQa1DrxB4aq6F^w5IZrjUy-?IpL6=4@!722(KU+Z9g14s>8<-uKPC z?|rj7yW1ZgN{P&DF$*zyAh+X~G|zZ(dlXIYQW< z#rfsSpU-Xou}OFhz<#pWYJOJubMzp<Gc!rH?I&gD7`;AKy_r}oI_7?j{`cn{{OTG^X&N=Dq#ndO*S*NOfwu{ULJ z#$JqPlbY5^(y*^1ypHubrMJ8LCG3xs*Kq&sqf-TkeL;tf5%5YG>{Pr`!q6o$^9W|k z6_nDJckj|5k*`KDH(Z_Bc`#EQ#@wxpVPyR7 z_NR=Y{Ns5$f4fUdt}?i@waemnnfSU7*5euID1m`>GH?Uvmc3E(DmAP)HKc2TZn5k- zm({ zT8+X6n(GV&)5M^Qj z6XFY@g%Cp;d5}VULYBix5s6BS*vUgxv#*wKj0bLpFe34npfcxo>f}YI+Ve~Z_G|Df zq8oi_=%>w3<;)g@5BQ%tJYU{?ygPS$`3lZ{ z1*D$g(dPv<>VPKlP(Li`}vR*0^0LPw4 AegFUf diff --git a/assets/fonts/gravitysmtp-icons-admin.woff b/assets/fonts/gravitysmtp-icons-admin.woff index 2810df051567a7fbd65200fece84906ff9126f93..4d39f899c2abc5efa8ac16b68d107d395e7b110d 100644 GIT binary patch delta 1303 zcmah}O=ufO6n<|v%#0<~vyxUTq}rCf>q^!-b+xi~)zp>*P4FR6e;k?~3T=^HHFmM; zKvI%GsS2ggLkkJ&p@)J~D20%onri}1;y^CGv_13|lAe7C#9#s@eY2`lumc@}L`mN$Tl{+UN~d*!8c%&o@n~qr;lZb^PMfe_0kk<~r@p+^ zKC^oE9G&Cwvpk(VUEl7-uz~en6Hj3M`VTl?=rVw(>)JJa9Sj(QGQ18aVSzMMf@!a8 zr96{4o}Kr-`2Pa?OZHdnkMUF{k?3YnhMrZIp}JkfHe~E9ncke zsT@@6SoP}ao}gc<_+BMnm_nyyA3>Y(K}?yYBWNnmvDJ=WQ5Dl30epydt+Y2np%sJ# zm6A{Oo?_@%zlv0C<K1fvPTh3ihXUz=&WljOMVnIuos4`Rt^)D|5f1YZ_Ikq9LYbQ8ir z8WV3g`ZFR!8g4dQvvsFg++=(xHIQIGHF!K?4hy!x5>(1IV$zT*%hAS~MeMijE1Z zztSKrCiPxmLa;mGn?*PJv%#BNAIjNnh^nUo;O~{KdwXjyR;=RD-m&6N?^4n1&AMM? eO<^83-!?C$RziZKa3AOmprNTJ@A`eWt^EV_?A)0E delta 336 zcmbP|bRM9_7b#4FUjMT&w1_q56Ks9C{tnt3JGy^Eez@VuB z13=4q>00bZfghmG-8zLxCl#*H>vab$oQ*(!2Aj0C1 zuZ_@7Wsp^JcyNXbLs$c$&;=Mw`dZ}PjF4pZ|0g&5`vi5FQHq%vEGXDvj0Qxv*;i~> zuz|r&l!u;JkvK^=owR1ew4$aqwskREOt!oGcg=49Y%N%@)@JT}_oazAViwg)IzlH} zqS2_y8x5$By>8!2sm;0QA6=S{P`LoEHVw{n%Xl0{{#()z$k_l-E@=U($F+kZ24+hrwD>0KK^= zI{S#Ik`L`W_5pE^C2-MERo%9C{v`o6s0l@^vc7N8VZZqqb6roSm}3kJko2m)?l}N2 z^s9YA1o%BCy#oL{*0%-y11%E3`uI>Dytx2hXY-!@-)cCIApHPjh0SvtWPmQ~d2lVC zi5>zEqs~tXUuXON{ttuzI2i`u@TtbnO+5*bqG|eO{xY&*{5C-N4nWeJq1vyV6LzvG z8vsO%wS<-p)l(3`x2<&3I@m@|wS*2(bhK0@R{*bY5V26dC0Znme0pQy5eh*>Y^;c) zgM>1S=YYY>?I(cwVjXWag!pos4BB&~^p)Of2mr*KdY!DU1H}hF4NF=gF878Pk zte_>5i1gT4Ru+T%$z+r)NJxv)Lt_0U!YEBbypZVVc&k(pB^FCi5+8@6f`did7oflY zvdt%{T4Hkunjq7Ls0MH0^xsl|FeX&f@M%JwzxpgGBXEU;h>=n^$3@<9hTL=eYa!@- ze0ieA!&nKz;sjoBf`a0wC?-O2=vxu!TpT>><-_S>ge8f*)deI!^G@#YYI*hWD8fLx ze~gs5bk=@z9%rT5QR%EawkV!bHFi@vc0Il>L;5}!uy2AMe!AD+7&60vn8Tr)qLKZl_m~sK(%6(?;hVuXHnq8vKh(Dg%HAf6Gam$1>sA7w5Fs8i^xmzEGddn zh%hLd!vbhlXgJS{jg52I9zswHaBvFSBjlW!HmSw|(|j`*RP*tgiBj%4j>=u5v|9wU zwu4O6PVg$_^ne^Fl%rknYNhCwiLH8($-rfmn&?%-C2Fi2-Kf#Ma=lrn^Vvp`lA5SQ z2uKEgece!)?kcV8noBa;RGX9(HP;#&^77*Lx=k)Wi-eu~f^z|kWkpQUYZ+l=l!e-m zBgX2{0Y`Bt%tB5#!U+4}1(Fk)2m;aYM`e&&gZ!|o(0IS$8y6HmNLHB@rgA|E>a-?q z?o(U+st_~D86su}U=-RHY4iDAET_7bR9()MrBd8Or}}d%$VjC>w0(%>(i-|lZX2Z8 zR4}!hji#Wnhy}-%bXHSkQj*$qVgBaytgO1GEU&<>VuwQ{^CG{nm%Na>LI8hVr<|;t zDEEx(eo2C_O&>Exl?+nAd8T)PvJolpixn!LE}ej8eGdZ@K@S?nk>gqU{#uD_x9@S_ zPh%MPb7PAsXi=ga9HDc1f~hh~dCfUZkqj?Mu_zwi>LhPhidq zW_%c}XfViJOQ;+*|80isn*ihvVtF2FE>Uo~L>Hu0>NCv;86>r(`l^S(B<{T1l#prP z6@80xp~WQ??N>=XLnYW;+%(xmnKNnFjcpA{fG@`QMW>aTnX#;Ne3p=E@SMWmtX5)zc&d3&(S4Y(i ztwqG3>|_fnqmpbqwUcj1N?mg#$q(;ot~e=S+#wvDM3p2;-Ee_$kZo0TMX8{zd`a^74S!j>b0JQ`Um&?P)b8_u*lWXl87=@w41< zBjGoxY+=A=fv`U(*NH{hXua&qD)U?0%1xKDD*2fqeqQDkyv!Ul)Fvb_Q4(30@3G^} zRcUAu-x9<{fgw#exFE^3(gq_}S{V>!g;{AOdAFLf>)Z8F9x{R)loU16(w^s8UR=L7 zWk||9y)JSE17n!<5TJ9+>oNrad#QqA=ux4+ylFeNHryh#eO0Y(Hj9;R6F875+$58% zz3pm*J)>1SJ~ybbDpaW*+oP%r_mF!7>6~{l8yzP2Gln(f zV!&jelk}v#P~}4m63+)yVI;K&;4|`gYDn9-H*kye`{Dd%&1M7bbT3$|ika{X>!cmI z<{;N4(P`LFjR266OYJ-u)q_Q`z<|*L+fl`45<38DeOL~FvOKPtrb-gvNExL#2~RnN zHma=*-Jx-9mqK)aM6GzpYr9OL^Jqme1-0-B%TRR7<66I?-pm4$Y`16Gw#=IzuVq(g z0UJ=a7NL!kYj`AO2E>c#8S@IN05Cs@ckIa*_JN@;zDidS=j}; z=?CfQ52kg2?5uQ~3)|9cIc9Ti?i3D>RZ+5(`Q7BviTCGM;pT)0=?eA$$xP&d)%=qT zPc*}2?FQwvvLs<)Y%LD}2=Ic~goP!E_cyE{SImF^+QYsT?_ayTf&_%r6jE+l9j~U{ zwCmNVHYvYSI#ne^6n2Itmis)`&N*l&eMNybgBEOw;?k%c7AwihVr5}a@al~v3cb9i zN3K_t7>zBivBM!wvoXTniuOm`?ily-5;tx1o^10T-T{KKB8 zIm|wC2-{lP(V;JBwB`q7s)Cb#`4vwYl8U?Q#QByV#%*@*nn|kEYGv5RyS}R-?uDq~ z;wZ{sGW~LBesSkh%b)55C+`>EF;KZHG5q2EhbgJj-w*NwJrn}Et+`g0uG7^#mtRnj zrej~UglcpJLE_N-+S)YP3$i*H+VeiFH@~wpO@9FQIUOH2C(p!9O&;F~{9p9&qr$DO zQD{k{-qyl*z7`2X@A(EXJ(DP-%>3z7mB?f^i2w>cvRJqk;`#4)zi3~j1J|x2&<OqvYwU1{Q(QX6$e6mhr8D;BledaT@vAI{V8sNCtq^(@_yozGi(E!-6NjR z_?QZ-#-v*HfNOGyciB?CY%;ihV!hC*^z5vHg6Y}x^x0|Mkd>WYE$@^*A}=DhwKZ4O z$n^RN6Lvg;GyUm(va)r$*$4aFo7L&E%PH-BQ*8q?mJ@$;InbT2|F=9VedF47x~_); zlM5%L%((?`Kh%1^VBI>dCW(FXglbH$^Ib({ps9Yox*GQq;LWU?*BBrW1Q@~CDx}tD zU{$Ef<=^f5;p|Sy0RWWvE&pNxLQud*{{=*^5n|dk zpcg1`!%TU~8!B>(_`@OQO<Zxb0_cb<+ zc`Zs#*)orEQ*%Z!uXW>d_)^UmO4v-6L?@6US4hA+iFmxIG}VZr;J zZ{PlYDnER5;Qg+Mb2!Kt{sO44MCvki(Eigx~RJpEK`AHFcl!WDth zDZhP|XKo*ML@Ya+mK7*yF+str{iu?xv|Q7HL>B@}BZ3KjnEJXza>c+4ONQja|n#Y>4||&^&ZD*8TaXd&wP(#Vb)*y?9@+G5idsHeL=2*M$eIe-0mU zo%oh)gx{>U1B5((KX_X@?JtrnmhdVSXmdEXRVdjQ;^&Xxu_V!D&S9{0JhMu;g^1y% zLgEZbN(xadL@~fJi7Z(jA|XEa2+pDzl5VpZB^DyG~_o$NeyAa_5v7QY=O-z<^}EZ&9s+c{_i}~ z%nSq5^v7KC{(5S;#e+(c@iOF^JBztmE+fMdoFL6CU4SnXY`*)}-99s;B6<)GhpekG zn*;11l8qTQQt|78_O1PY_wGzY`?YJAFW;^tIfI@pI}$kV`qoG08kE-E5Z641}uy1G+j+E36}?>4f8y{Rm5B#T@gJn zAX>`J=4cNyUO`!zWAh)*!HFc}Td&zM6!dYt7C?{c@Z~ln+m*yTaDC;-7LmEd{Sxzz zVBz*nk;3tB&rrMf&k zq`RpR&r7WCmI&$g%h*nk{dmNM6A3aAPkL~F^SVhX9v^c!Vz6lkaNNzp$9rbljnK6W z_FUs+hG?~1IDqv@qg)?V($lL~40T4RHJPHPyZcK^phm^vsFJG6sVC?77e{fnAzn&R zHmTW9g8+UGG#LMBaUnkdghXS8+@1o0-(t_ji7wxhwVBUCp%-+UJ`S4!_YfO2ag?l7Q=yKiXHvs$)oj=skxlZ_6^BRjjTU~+6#(` zCM|9?S6xSTpOJMlyxia+=KJrTU|z3q>}9>wBHc{oa)IE7tDC$G!(Q<`Mde#L!jWAkm?{ZOA&=g9v1+@nC zyFr(Hqzzi;B0v|E1=aqeo4E}t97Ln#d9yi-0C_U64?y-;?BXCWOKMLam*v#CXGN125fk6I&k2?ON7x6#w=8h{$-aL~Q1JoKF z@CgJ=Gi)1#ytm(4L|psW?T5=B=amrN%_olhcl)EPN&ze3Y!5*S>2IuMSkTY|skhr8 z!ap|=t=MhRL$cjAF{qTBmGJz4FoN2D$g_8#+tHW&6L0Z>0cnf|21Rw>3Mh74p-Xu{}tO}wi6O=If;=pe2g9L59 z6PknB?Z8HdGrJbXeHkP1T%+gbY<~p#DX}I$;Gsc(N*V~%v63J`f`ucsB&B(QDH;MF zTId-EsTp==l{3$o^XUognZb$WR00aS{RJLNag_K3`cap@-?=Eu=McC6I1$Zh1P5hb z<05;pR%tba0H)IaYhZFNTl+8UZ?gd4H%-naHn9a9_5tC1!e))-Ze=p>lFI|LZ#9DL zc>HOuUORiqd>9z}M@9Plul#g^+-|8WgP~gr-DLe7g|TRuR_r(TIW|kEWpgdR_Rxa2Nn) z1w&MLafyOCB8nO<8L^7;#K_dkfS3+I_NGVb$3SQlp&|e&A=pZRvc*Q-fhi!4$Zd%_ zTM(#6FiDTX0&T@zLRjxfl}VG{-0krR+UNwGPIeVV#W-p2vPz5g95^!?7Hr#P;<{ax zIN;3}7a?4=Kg&<-+GQ6VDcy&Q@TT;pqeYm~DYm2pSLf|6&d;yBuy5Z{doMZ8wu@|> zEVc>@_HE8j?mVMV;YIfBIq`_8;Pz`wsI6C+3#U{N>uR87UXS(PbDf>@LjloDlC zMbs~dEK%nfF^V@I8s~3k1y)<}G@A@Pb&6VBH!Uh^Le(u;;>=xDSZQke`tZVgS~<6*U*Ps!U^F&s2-Gz>zklK(HCdK%+C4^mi4n&!&jv_1g=S`|1V zAZ6QX83{t(5s^-0?`v!O4E4FOu@A(@ z`g-Jp!vRWcQuX^)rFwN*&7v@7WUo&aX$Z`-L^UKLAbly0*HjeKC$dY#=4UZX5i-L1 zQUP!p;^2>BJO~c^Ltuo02|-|g1cNinan-y-&CheEg>PokO5Vh-s=GNl8ZtZ_B-`1P z*CY@BOXHwi{Q|cp#b``i&5L3ysyD0cUu7Cm>)-J1j2@5c%Q;=?z_pap6iTFk^1pu6 z?5yPW)D1g5^*rewWNWLf+g;;AL#=(saaUYInq2*A?&`;MHbOs_QvZL}34UMI==aMnPR%#K&!D)RE<@5dzD(YwlO#rt?brHX)(Sm5TE! zhtnm&;d0Zoi=#7VI?=WS4oJpOp=ZK=SoG&ib-~+mElARrwNy4NW*R{>t@E#~-2BX< zfN(VqQ&bY121B#itLok~_jjW9LFuIGfi~X>*w`QuyCX*sRmTl`eN`|evuuMm%w_Yv zIxU-4sk<%{e&O{m-#1Q}FEv8vK)REBCOx8@Cdm_mi1X5vJRz81dZ_$laGMG2fT=Q* zw;^j9wrM^MP6RMLi2!c^_WMznuo6mdUmqU0@0@*dMlp{#Ew6F{{HdxrLCgf+FMlxU z+`hHZ{>Ej7e*4^!f^ODPiN8fUxu8vV4o@$u+SW`~dQad&CiO!Lu`fKE1!lAx7wsTmCMs{& z#mM(F*$x+W#m~0WNZG&hfOOJ0=i6prCKVHGBc&u!&c-en_LL%bN}IUS`%v`u{Jl3IoOfGrg|}bZ+RjY6ywYj^ zE753>bIGjP)!Xq3c~NDtbIf8~yvn02oUSZYHa;dSPmeV;Fyst6IZx>Y(+3HO{j*kK zCaVXSGapfE#3;KIcyk7Wbfv=R*`PW-4Ia|1glBdqor3Fw&2=TZ1PA;G0hL@E<>0Il zC@}&9qYb?yGiGUh00e!O#DK6zq?uJpvXE05wI&Cjh{B`l=%YJC*Kq;j0}}7zVXEVz zLZ@g=4S?GF4b)Vz?U8nQuDn@gmmHT_j-z?Azt{e+k}PCXVe_-sqJE}P3M15{U@XGDrm$v>lYK6W~-RgtAls5F!AF6Q4qeRn^E=Hy}%) zint(Y4&3(8j+#Q1L4K4vnU3d@@Q}MQgY92WW`)St|JL)yO`#{+<24If)yu!N+%ZEj z1kIZ|(&k3KS$1h>TGgHE57q5t=!5Jm8`MKI?$ic5FO?BuVm@R*GNuwS(iE0qEf}D= zhw#t7ll-0MlM>H&mR8TCwDZZtq$fN5Cd&QLljzAy4WGyG{KMn5Badg6otmth40A4; z?&Z7;O*39H{PVsc#e|u-)u4AUQbKEpF0gJ36i;#?+oRosZ-VcyBK$KOWRH9m=v>lUP*`L!FDw-lEG_UdMTG_48RE_N7CRgzCEbq%>l##vhSo00 z4U(?bM1vzEK{Lu;Eoo_yT+M1m<1-z&*EF8BkX4njOV=y}Kmo#LUB<4e%!}ihlF`<8 zAL#5IrR7>jC4jQ2ToqIs(~W8hESQ_UFYBwUKz0?O8JW#ot??@nDwZBsx!;m%9Ao>p zUn0wu$#dlsdsB=uM`=aUxD-P?a&FEE{;OO{Q>Jb2PT85ZB5g_Wad3F|Pgk$5u3p{M z)AxuhhK|vVp=0Ht6>hdyX{{;U-6>XWmEB&FoXkWf>Upu7zKES`g25HRk&&8u*@wKm z=9cU{Qd2WiTkTzO!dfHeKa|zKV4+U9#I;M+CYP^|gnc&1K9Pb@Q9L`Qt3KNFqb|gT zLi*6{x0jY~D3ipa^zl62U(Ch(HO&^lesIJctZr|&TDE%1A~t5n=zsl{v)S~OU6;tq z+&@Mck01LmF576#iu>r;F(cBROP;JuR@quwel1O|?0912i4Jf}e-&MuN_RUZ-yeD3 z;Z^@pay{^_9Mo;wo6QAgbJH_r7E3-)f8iAB%$8;8nai4+^An#-d`zZka||0Q>*&bW zw*cPJO;Hywo;|y58y~K{{1e%AUF8R7W{nli&KxX%>uZ@b_ClDa<*CfU%uLeKL7v{0 za5VdjItxH6tW7her6XZRI!Mz&frD@mZjJ^2vp&dvt8#vL*Il6{^~0n@-P-K-4J91c z)Ywfb-q4;kmf+z}p)(IO@frsF$9(UL@}4@p{%}90>$>=p`kp1Svj z;e_y+N3@SXAYu51d#C8dsb(L@@oB!K=JsroeY?hF?4OxyGC6EiKbwP@pD(?V^94nP z7R$n7LBZkzZz?P*cv!)CYeH#4iOW@z)g@Z39U){E3DmH9A5&OlHZLw6b79eJE~@3{ ze%bu70cI3$|8T|VDzpA~-%SM*SB{xGqat(4&uExCcDxzox@Z|2o>oZwJ

R`BKI;8C?HZzRyHcHLiDB0xRs{? zMHO`#0*KvvxroAJ!VtbLh23v<^sW2g!}{KpGoFQ7J+S}og?_(f-j>4N<95tE#T=zh zCVA7Q>pw6(Gq{7McMNjva=)LON|Wcp?i&)}^tY{CDmg!cw2vG;dinlpFTeZ|Fm0P< z$F^3O9{$Jk~g-x#;rIfL0u?ORnRSB&(cRT$Xc{DyUi>RIPFiVmVu4 zL*4enACS`cIT-4QiE#w}{BvTQuNj|+3$(_>nd4$k4IMuGZhTpM>*C!iCNQ}yW^w{B z-j`(FXok-3zT3JrlShuE(^68fk&iRQq1+ga)-RNmArLRRaYa}io}kVydnZs&BUU9c z@8GH9ZPs(wC}z9!WtuLUHxu>K$2U**%6*e}EmGy9k*S8?m*iP;oj+mE4f%zU(asiF zUhbpnCH3wH%utw>*qsnVi{gwADirtGgpnc$#B$0lZ+x&R=edFCSb*DiFNkG| zA%(DBOYJ|s(j`?)CG!jSI){Uj8I<$lFpbsz_O=eM4DZ_2 z)3noKx%b}jc47ndbnINy@UW2yGej2rL#%fwl*K*)z$daa@q9-R`JK-A%ZG0Vkg`~4 z>*=GwY2vQ`mYX8)lxGWrM7*JwSXkvp^w3`$(YO zX8@x>=gaUsLqJ}Oo&5J|&a*T8Ejq{|!U{NQQ|nUu`_r~sha*)WiKrvz$)SzDu9##> zm@p&p5m@RBxl+Pwb@O^JrTEm$2t2rV`hZM!VERjpoZc@@-j^gjy$^A5hC1oh)7;&6 z+CjHG{Mb18dJk7X)<1S{jj<8%a!JoSJwBbt`o_zf;jbYbylH+`t3w$S`0gb>TGB_R zXGkXXWs*6b^gX?PiH4lM-S5|su@ms0_YtRSqs5v~*E56<6A}&OEUq-*dEB02O|I(h zv1*$JJDNW-Wp`Kgr&ggUng6coO$6nsLR0+igc2HSiPrUI0G0lTah2oUABe`+poYb)>en-jUjvvxDjt~7rQ zeT>XlcjMFeI&f0j@n7Cz-JFzH!g)XYmMFZ)s4EybB*gye?8VNpaV)+DbvA&4&eu#E(K~!sM_B8cKXv3<)eKVk6G=(TJz4 z5nCxybdv!ZJS>0|e+VJs(ZeDbsKmo!FsMfn8}aNAjeKh752*F`clmpBep)BfpYwxA zZy8?r;Km?2;Kwlf(FH$xkt6rDp$FY7k>e6O2|=g(XMPKF4Mw!UvzzEo!RN`ZMJ^05 z-on!FLI2lfZD@ptJoyLE2{(L;!tY_t`PtQms + * ); + * + */ +const NoSuppressions = forwardRef( ( { + height = 91, + title = '', + width = 390, +}, ref ) => { + return ( + + { title !== '' && { title } } + + + + + + + + + + + + + + + + + + + + + + ); +} ); + +NoSuppressions.propTypes = { + height: PropTypes.number, + title: PropTypes.string, + width: PropTypes.number, +}; + +NoSuppressions.displayName = 'NoSuppressions'; + +export default NoSuppressions; diff --git a/assets/js/dist/2217.047561ae72fbc06578dd.min.js b/assets/js/dist/2217.047561ae72fbc06578dd.min.js deleted file mode 100644 index 712edc8..0000000 --- a/assets/js/dist/2217.047561ae72fbc06578dd.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[2217],{52217:function(e,t,n){n.r(t),n.d(t,{default:function(){return q}});var a,i=n(71860),r=n(88856),o=n(90455),c=n(8140),l=n(78564),s=n.n(l),d=n(27122),u=n.n(d),m=n(97867),v=n(60177),g=n(13296),p=n(71376),_=n(84860),y=n(30242),f=n(80509),b=n(29549),h=n(5529),A=n(25980),x=n(82263),R=n(13379),E=n(43632),w=n(66598),k=n(22397),C=n(83707),z=n(93313),O=n(36770),P=n(40450),j=n.n(P);function S(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return L(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,r=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw r}}}}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n1&&void 0!==arguments[1]&&arguments[1],n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("."),a=T,i=S(n);try{for(i.s();!(e=i.n()).done;){var r=e.value;if(!a||!(r in a))return t;a=a[r]}}catch(e){i.e(e)}finally{i.f()}return void 0!==a?a:t}("activity_log.data.open_tracking_enabled")&&B.push({key:"opened",icon:"mail-open"}),B.push({key:"source",icon:"cog"});var $=I((function(e,t){var n,a,r=e.common,l=void 0===r?{}:r,d=e.data,O=void 0===d?{}:d,P=e.endpoints,j=void 0===P?{}:P,S=e.i18n,L=void 0===S?{}:S,T=U(),D=M(),I=(0,N.default)((function(e){return e.setDeleteEventDialogOpen})),$=(0,N.default)((function(e){return e.setDeletingEventId})),q=(0,N.default)((function(e){return e.setViewEmailDialogOpen})),Q=(0,N.default)((function(e){return e.setViewEmailEventProperties})),W=(0,N.default)((function(e){return e.setLogDetail})),X=window.matchMedia("(min-width: 640px)"),Y=J(X.matches),Z=(0,c.A)(Y,2),ee=Z[0],te=Z[1],ne=J(!1),ae=(0,c.A)(ne,2),ie=ae[0],re=ae[1],oe=J(!1),ce=(0,c.A)(oe,2),le=ce[0],se=ce[1],de=K(),ue=(0,c.A)(de,2),me=ue[0],ve=ue[1],ge=me.get("event_id"),pe=F(),_e=(null==l||null===(n=l.endpoints)||void 0===n||null===(n=n.get_single_email)||void 0===n?void 0:n.action)||"",ye=(null==l||null===(a=l.endpoints)||void 0===a||null===(a=a.get_single_email)||void 0===a?void 0:a.nonce)||"",fe=(0,_.dh)();G((function(){var e=function(e){return te(e.matches)};return X.addListener(e),function(){return X.removeListener(e)}}),[X]);var be=(0,N.default)((function(e){return e.logDetail})),he=(null==be?void 0:be.technical_information)||[],Ae=(j||{}).gravitysmtp_resend_email,xe=void 0===Ae?{}:Ae,Re=xe.action,Ee=void 0===Re?"":Re,we=xe.nonce,ke=void 0===we?"":we,Ce=L||{},ze=Ce.debug_messages,Oe=void 0===ze?{}:ze,Pe=Oe.fetching_single_activity_log,je=void 0===Pe?"":Pe,Se=Oe.fetching_single_activity_log_error,Le=void 0===Se?"":Se,Te=Ce.log_detail,Ne=void 0===Te?{}:Te,De=Ne.top_heading,He=void 0===De?"":De,Ie=Ne.top_error,Ge=void 0===Ie?"":Ie,Je=Ne.action_button_view_email_label,Fe=void 0===Je?"":Je,Me=Ne.action_button_resend_label,Ue=void 0===Me?"":Me,Ke=(Ne.action_button_print_label,Ne.action_button_export_label,Ne.action_button_delete_label),Ve=void 0===Ke?"":Ke,Be=Ne.back_button_label,$e=void 0===Be?"":Be,qe=Ne.main_box_heading,Qe=void 0===qe?"":qe,We=Ne.nav_button_next_title,Xe=void 0===We?"":We,Ye=Ne.nav_button_prev_title,Ze=void 0===Ye?"":Ye,et=Ne.secondary_box_heading,tt=void 0===et?"":et,nt=Ne.sidebar_status_heading,at=void 0===nt?"":nt,it=Ne.sidebar_attachments_heading,rt=void 0===it?"":it,ot=Ce.resending_email,ct=Ce.resending_error,lt=Ce.snackbar_resend_error,st=Ce.snackbar_resend_success,dt=(null==l?void 0:l.i18n)||{},ut=dt.aria_label_collapsed_metabox,mt=void 0===ut?"":ut,vt=dt.aria_label_expanded_metabox,gt=void 0===vt?"":vt,pt=dt.snackbar_email_log_detail_empty_error,_t=void 0===pt?"":pt,yt=dt.snackbar_email_log_detail_generic_error,ft=void 0===yt?"":yt,bt=(null==O?void 0:O.caps)||{};G((function(){window.scrollTo(0,0)}),[]);var ht=function(){var e=(0,o.A)(s().mark((function e(){var t,n,a,i,r,o;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return re(!0),t={action:_e,security:ye,event_id:ge},e.next=4,(0,C.A)((0,p.nv)(je,JSON.stringify((0,z.A)(["security"],t))),"info");case 4:return e.prev=4,e.next=7,(0,v.bE)({endpoint:u(),body:t});case 7:if(a=e.sent,re(!1),null==a||null===(n=a.data)||void 0===n||!n.success){e.next=17;break}if(o=null==a||null===(i=a.data)||void 0===i||null===(i=i.data)||void 0===i?void 0:i.log_detail,(!Array.isArray(o)||o.length)&&o){e.next=14;break}return fe(_t,"error"),e.abrupt("return");case 14:W((null==a||null===(r=a.data)||void 0===r||null===(r=r.data)||void 0===r?void 0:r.log_detail)||{}),e.next=18;break;case 17:fe(ft,"error");case 18:e.next=25;break;case 20:return e.prev=20,e.t0=e.catch(4),fe(e.t0,"error"),e.next=25,(0,C.A)((0,p.nv)(Le,JSON.stringify(e.t0)),"error");case 25:case"end":return e.stop()}}),e,null,[[4,20]])})));return function(){return e.apply(this,arguments)}}();G((function(){pe.current?ge&&ht():pe.current=!0}),[ge]);var At=function(){var e=(0,o.A)(s().mark((function e(){var t,n,a;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(be.log_id){e.next=2;break}return e.abrupt("return");case 2:return se(!0),t={action:Ee,security:ke,email_id:be.log_id},e.next=6,(0,C.A)((0,p.nv)(ot,JSON.stringify((0,z.A)(["security"],t))),"info");case 6:return e.prev=6,e.next=9,(0,v.bE)({endpoint:u(),body:t});case 9:null!=(a=e.sent)&&null!==(n=a.data)&&void 0!==n&&n.success?fe(st):fe(lt,"error"),e.next=18;break;case 13:return e.prev=13,e.t0=e.catch(6),fe(lt,"error"),e.next=18,(0,C.A)((0,p.nv)(ct,JSON.stringify(e.t0)),"error");case 18:se(!1);case 19:case"end":return e.stop()}}),e,null,[[6,13]])})));return function(){return e.apply(this,arguments)}}(),xt=function(){return m.React.createElement(m.React.Fragment,null,m.React.createElement(y.A,{spacing:4},m.React.createElement(b.A,{container:!0,alignItems:"flex-start",elementType:"div",justifyContent:"flex-start",rowSpacing:4,type:"fluid",wrap:!ee},m.React.createElement(b.A,{item:!0,elementType:"div",customAttributes:{style:{flex:ee?"auto":"0 0 100%"}}},m.React.createElement(h.A,{content:He,size:"display-sm",weight:"semibold",tagName:"h2"})))),be.log_id?m.React.createElement(b.A,{container:!0,alignItems:"flex-start",elementType:"div",justifyContent:"flex-start",type:"fluid",wrap:!ee},m.React.createElement(b.A,{item:!0,elementType:"div",customAttributes:{style:{flex:ee?"auto":"0 0 100%"}}},m.React.createElement(f.A,{customAttributes:{title:$e},icon:"left-arrow",iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",onClick:function(){var e;if("activity-log"===(null==D||null===(e=D.state)||void 0===e?void 0:e.previous))T(-1);else{var t=new URLSearchParams(D.search),n=O.nav_item_param_key||"tab";t.set(n,"activity-log"),t.delete("event_id");var a=H(H({},D),{},{search:"?".concat(t.toString())});T(a,{state:{previous:"log-details"}})}},size:"size-height-m",spacing:[0,4,4,0],type:"icon-white"}),m.React.createElement(f.A,{icon:"mail",iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",label:Fe,onClick:function(){Q({date:be.date,isHtml:be.is_html,id:be.log_id,fromHash:be.fromHash,from:be.from,to:be.to,title:be.subject}),q(!0)},spacing:[0,4,4,0],size:"size-height-m",type:"white",disabled:!bt.gravitysmtp_view_email_log_preview}),m.React.createElement(f.A,{icon:"paper-plane",iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",label:Ue,onClick:At,size:"size-height-m",spacing:[0,4,4,0],type:"white",disabled:!be.can_resend||le}),m.React.createElement(f.A,{icon:"trash",iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",label:Ve,onClick:function(){I(!0),$(be.log_id)},size:"size-height-m",spacing:[0,0,4,0],type:"amaranth-red",disabled:!bt.gravitysmtp_delete_email_log_details})),m.React.createElement(b.A,{item:!0,elementType:"div",customAttributes:{style:{flex:"none"}}},m.React.createElement(f.A,{customAttributes:{title:Ze},disabled:null===be.next_id||ie,icon:"left-arrow",iconPrefix:"gravitysmtp-admin-icon",onClick:function(){ve(H(H({},(0,p.K_)()),{},{event_id:be.next_id}))},size:"size-height-s",spacing:[0,2,0,0],type:"icon-white"}),m.React.createElement(f.A,{customAttributes:{title:Xe},disabled:null===be.prev_id||ie,icon:"right-arrow",iconPrefix:"gravitysmtp-admin-icon",onClick:function(){ve(H(H({},(0,p.K_)()),{},{event_id:be.prev_id}))},size:"size-height-s",type:"icon-white"}))):m.React.createElement(x.A,{theme:"cosmos",type:"error",customIconPrefix:"gravitysmtp-admin-icon",content:Ge,spacing:[6,0,6,0]}))},Rt=function(e){return m.React.createElement(w.A,(0,i.A)({customClasses:["gravitysmtp-log-details__secondary-box-entry"],size:"text-sm"},e))},Et=function e(t){var n=t.id;return t.data.map((function(t,a){var i="".concat(n,"-").concat(a);return Array.isArray(t)?m.React.createElement(e,{key:i,id:i,data:t}):(0,p.Gv)(t)?m.React.createElement(wt,{key:i,id:i,data:t,isTopLevel:!1}):m.React.createElement(Rt,{key:i,content:t,spacing:4})}))},wt=function e(t){var n=t.id,a=t.data,i=t.isTopLevel;return Object.keys(a).map((function(t,r){var o=a[t],c="".concat(n,"-").concat(t,"-").concat(r);return Array.isArray(o)?m.React.createElement(Et,{key:c,id:c,data:o}):(0,p.Gv)(o)?m.React.createElement(y.A,{key:c,spacing:4},m.React.createElement(w.A,{customClasses:["gravitysmtp-log-details__secondary-box-entry"],content:t,size:"text-sm",weight:"medium"}),m.React.createElement(e,{id:c,data:o,isTopLevel:!1})):i?m.React.createElement(y.A,{key:c,spacing:4},m.React.createElement(w.A,{customClasses:["gravitysmtp-log-details__secondary-box-entry"],content:t,size:"text-sm",weight:"medium"}),m.React.createElement(Rt,{content:o})):m.React.createElement(Rt,{key:c,content:"".concat(t,": ").concat(o)})}))},kt=function(e){var t=e.id,n=e.data,a=e.isLast,i=null;return i=Array.isArray(n)?m.React.createElement(Et,{id:t,data:n}):(0,p.Gv)(n)?m.React.createElement(wt,{id:t,data:n,isTopLevel:!0}):m.React.createElement(Rt,{content:n}),m.React.createElement(R.A,{collapsed:"headers"===t,collapsible:"headers"===t,contentId:"gravitysmtp-log-details__secondary-box-".concat(t),customClasses:["gravitysmtp-log-details__secondary-box-".concat(t)],HeaderContent:function(){var e,n;return"headers"===t?m.React.createElement(w.A,{content:(null==L||null===(e=L.log_detail)||void 0===e?void 0:e.secondary_box_headers_heading)||"",size:"text-md",weight:"medium",tagName:"span"}):m.React.createElement(h.A,{content:(null==L||null===(n=L.log_detail)||void 0===n?void 0:n.secondary_box_log_heading)||"",size:"text-md",weight:"medium",tagName:"h3"})},i18n:{collapsedAriaLabel:mt,expandedAriaLabel:gt},collapsibleIconPrefix:"gravitysmtp-admin-icon",spacing:a?"":6},i)},Ct=function(){return m.React.createElement(h.A,{content:tt,size:"text-lg",weight:"medium",tagName:"h2"})},zt=function(){var e=Object.keys(he).filter((function(e){var t=he[e];return Array.isArray(t)?!!t.length:(0,p.Gv)(t)?!(0===Object.keys(t).length&&t.constructor===Object):!!t}));return m.React.createElement(R.A,{customClasses:["gravitysmtp-log-details__secondary-box"],HeaderContent:Ct},e.map((function(t,n){return m.React.createElement(kt,{key:t,id:t,data:he[t],isLast:n===e.length-1})})))},Ot=function(){return m.React.createElement(h.A,{content:at,size:"text-lg",weight:"medium",tagName:"h2"})},Pt=function(){return m.React.createElement(m.React.Fragment,null,m.React.createElement(R.A,{customClasses:["gravitysmtp-log-details__sidebar-box"],HeaderContent:Ot},B.map((function(e,t){var n,a=e.key,r=e.icon;return m.React.createElement(y.A,{key:a,customClasses:["gravitysmtp-log-details__sidebar-item"],display:"flex",spacing:0!==t?[3,0,0,0]:void 0},m.React.createElement(A.A,{icon:r,iconPrefix:"gravitysmtp-admin-icon",customClasses:["gravitysmtp-log-details__sidebar-item-icon"],spacing:[0,1,0,0]}),m.React.createElement(w.A,{content:null==L||null===(n=L.log_detail)||void 0===n?void 0:n["sidebar_".concat(a,"_label")],customClasses:["gravitysmtp-log-details__sidebar-item-label"],size:"text-sm",spacing:[0,1,0,0],weight:"regular"}),"status"===a?m.React.createElement(E.A,(0,i.A)({},(null==be?void 0:be[a])||{},{customClasses:["gravitysmtp-log-details__sidebar-item-value"]})):m.React.createElement(w.A,{color:"comet",content:null==be?void 0:be[a],customClasses:["gravitysmtp-log-details__sidebar-item-value"],size:"text-sm"}))}))),null!=be&&be.has_attachment?m.React.createElement(R.A,{HeaderContent:function(){return m.React.createElement(h.A,{content:rt,size:"text-lg",weight:"medium",tagName:"h2"})},spacing:[6,0,0,0]},be.attachments.map((function(e,t){return m.React.createElement(y.A,{key:"attachment-".concat(t),customClasses:["gravitysmtp-log-details__sidebar-item"],display:"flex",spacing:0!==t?[3,0,0,0]:void 0},m.React.createElement(A.A,{icon:"paper-clip",iconPrefix:"gravitysmtp-admin-icon",customClasses:["gravitysmtp-log-details__sidebar-item-icon"],spacing:[0,1,0,0]}),m.React.createElement(w.A,{content:e.file_extension.toUpperCase(),customClasses:["gravitysmtp-log-details__sidebar-item-label"],size:"text-sm",spacing:[0,1,0,0],weight:"regular"}),m.React.createElement(w.A,{color:"comet",content:e.file_name,customClasses:["gravitysmtp-log-details__sidebar-item-value"],size:"text-sm"}))}))):null)};return bt.gravitysmtp_view_email_log_details&&m.React.createElement("div",{className:"gravitysmtp-activity-log-app__log-details-wrapper",ref:t},m.React.createElement(g.e7,{condition:be.log_id,wrapper:function(e){return m.React.createElement(k.A,{customClasses:["gravitysmtp-activity-log-app__log-details"],Header:xt,SecondaryContentChildren:zt,SideBarChildren:Pt,sidebarMobilePosition:"start"},e)}},be.log_id?null:m.React.createElement(xt,null),m.React.createElement(R.A,{HeaderContent:function(){return m.React.createElement(m.React.Fragment,null,m.React.createElement(h.A,{content:Qe,size:"text-lg",weight:"medium"}))},customClasses:["gravitysmtp-log-details__main-box"]},V.map((function(e){var t;return m.React.createElement(y.A,{key:e,customClasses:["gravitysmtp-log-details__main-box-item"]},m.React.createElement(h.A,{content:null==L||null===(t=L.log_detail)||void 0===t?void 0:t["main_box_".concat(e,"_label")],customClasses:["gravitysmtp-log-details__main-box-heading"],size:"text-sm",weight:"semibold"}),m.React.createElement(w.A,{content:null==be?void 0:be[e],customClasses:["gravitysmtp-log-details__main-box-entry"],size:"text-sm"}))})))))}));$.propTypes={data:m.PropTypes.object,i18n:m.PropTypes.object},$.displayName="LogDetailsScreen";var q=$},36770:function(e,t,n){n.d(t,{A:function(){return s}});var a,i,r=n(40450),o=n.n(r),c=(null===(a=(0,n(71376).zj)(o(),"gravitysmtp_admin_config"))||void 0===a?void 0:a.common)||{},l=(null==c||null===(i=c.feature_flags)||void 0===i||null===(i=i.data)||void 0===i?void 0:i.statuses)||{};function s(){return l[arguments.length>0&&void 0!==arguments[0]?arguments[0]:""]||!1}}}]); \ No newline at end of file diff --git a/assets/js/dist/2217.94939f0efd406ed06d81.min.js b/assets/js/dist/2217.94939f0efd406ed06d81.min.js new file mode 100644 index 0000000..64bc2e2 --- /dev/null +++ b/assets/js/dist/2217.94939f0efd406ed06d81.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[2217],{52217:function(e,t,n){n.r(t),n.d(t,{default:function(){return q}});var a,i=n(71860),r=n(88856),o=n(90455),c=n(8140),l=n(78564),s=n.n(l),d=n(27122),m=n.n(d),u=n(97867),g=n(60177),v=n(8173),p=n(71376),_=n(84860),y=n(30242),f=n(80509),b=n(29549),h=n(5529),A=n(25980),R=n(82263),x=n(13379),E=n(43632),w=n(66598),k=n(22397),C=n(83707),z=n(93313),P=n(36770),j=n(40450),O=n.n(j);function S(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return T(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,r=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw r}}}}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n1&&void 0!==arguments[1]&&arguments[1],n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("."),a=L,i=S(n);try{for(i.s();!(e=i.n()).done;){var r=e.value;if(!a||!(r in a))return t;a=a[r]}}catch(e){i.e(e)}finally{i.f()}return void 0!==a?a:t}("activity_log.data.open_tracking_enabled")&&B.push({key:"opened",icon:"mail-open"}),B.push({key:"source",icon:"cog"});var $=I((function(e,t){var n,a,r=e.common,l=void 0===r?{}:r,d=e.data,P=void 0===d?{}:d,j=e.i18n,O=void 0===j?{}:j,S=J(),T=U(),L=(0,N.default)((function(e){return e.setSingleActivityDialogOpen})),D=(0,N.default)((function(e){return e.setSingleActivityEventId})),I=(0,N.default)((function(e){return e.setSingleActivityType})),$=(0,N.default)((function(e){return e.setViewEmailDialogOpen})),q=(0,N.default)((function(e){return e.setViewEmailEventProperties})),Q=(0,N.default)((function(e){return e.setLogDetail})),W=window.matchMedia("(min-width: 640px)"),X=F(W.matches),Y=(0,c.A)(X,2),Z=Y[0],ee=Y[1],te=F(!1),ne=(0,c.A)(te,2),ae=ne[0],ie=ne[1],re=K(),oe=(0,c.A)(re,2),ce=oe[0],le=oe[1],se=ce.get("event_id"),de=M(),me=(null==l||null===(n=l.endpoints)||void 0===n||null===(n=n.get_single_email)||void 0===n?void 0:n.action)||"",ue=(null==l||null===(a=l.endpoints)||void 0===a||null===(a=a.get_single_email)||void 0===a?void 0:a.nonce)||"",ge=(0,_.dh)();G((function(){var e=function(e){return ee(e.matches)};return W.addListener(e),function(){return W.removeListener(e)}}),[W]);var ve=(0,N.default)((function(e){return e.logDetail})),pe=(null==ve?void 0:ve.technical_information)||[],_e=O||{},ye=_e.debug_messages,fe=void 0===ye?{}:ye,be=fe.fetching_single_activity_log,he=void 0===be?"":be,Ae=fe.fetching_single_activity_log_error,Re=void 0===Ae?"":Ae,xe=_e.log_detail,Ee=void 0===xe?{}:xe,we=Ee.top_heading,ke=void 0===we?"":we,Ce=Ee.top_error,ze=void 0===Ce?"":Ce,Pe=Ee.action_button_view_email_label,je=void 0===Pe?"":Pe,Oe=Ee.action_button_resend_label,Se=void 0===Oe?"":Oe,Te=(Ee.action_button_print_label,Ee.action_button_export_label,Ee.action_button_delete_label),Le=void 0===Te?"":Te,Ne=Ee.back_button_label,De=void 0===Ne?"":Ne,He=Ee.main_box_heading,Ie=void 0===He?"":He,Ge=Ee.nav_button_next_title,Fe=void 0===Ge?"":Ge,Me=Ee.nav_button_prev_title,Ue=void 0===Me?"":Me,Je=Ee.secondary_box_heading,Ke=void 0===Je?"":Je,Ve=Ee.sidebar_status_heading,Be=void 0===Ve?"":Ve,$e=Ee.sidebar_attachments_heading,qe=void 0===$e?"":$e,Qe=(null==l?void 0:l.i18n)||{},We=Qe.aria_label_collapsed_metabox,Xe=void 0===We?"":We,Ye=Qe.aria_label_expanded_metabox,Ze=void 0===Ye?"":Ye,et=Qe.snackbar_email_log_detail_empty_error,tt=void 0===et?"":et,nt=Qe.snackbar_email_log_detail_generic_error,at=void 0===nt?"":nt,it=(null==P?void 0:P.caps)||{};G((function(){window.scrollTo(0,0)}),[]);var rt=function(){var e=(0,o.A)(s().mark((function e(){var t,n,a,i,r,o;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return ie(!0),t={action:me,security:ue,event_id:se},e.next=4,(0,C.A)((0,p.nv)(he,JSON.stringify((0,z.A)(["security"],t))),"info");case 4:return e.prev=4,e.next=7,(0,g.bE)({endpoint:m(),body:t});case 7:if(a=e.sent,ie(!1),null==a||null===(n=a.data)||void 0===n||!n.success){e.next=17;break}if(o=null==a||null===(i=a.data)||void 0===i||null===(i=i.data)||void 0===i?void 0:i.log_detail,(!Array.isArray(o)||o.length)&&o){e.next=14;break}return ge(tt,"error"),e.abrupt("return");case 14:Q((null==a||null===(r=a.data)||void 0===r||null===(r=r.data)||void 0===r?void 0:r.log_detail)||{}),e.next=18;break;case 17:ge(at,"error");case 18:e.next=25;break;case 20:return e.prev=20,e.t0=e.catch(4),ge(e.t0.message,"error"),e.next=25,(0,C.A)((0,p.nv)(Re,JSON.stringify(e.t0)),"error");case 25:case"end":return e.stop()}}),e,null,[[4,20]])})));return function(){return e.apply(this,arguments)}}();G((function(){de.current?se&&rt():de.current=!0}),[se]);var ot=function(){return u.React.createElement(u.React.Fragment,null,u.React.createElement(y.A,{spacing:4},u.React.createElement(b.A,{container:!0,alignItems:"flex-start",elementType:"div",justifyContent:"flex-start",rowSpacing:4,type:"fluid",wrap:!Z},u.React.createElement(b.A,{item:!0,elementType:"div",customAttributes:{style:{flex:Z?"auto":"0 0 100%"}}},u.React.createElement(h.A,{content:ke,size:"display-sm",weight:"semibold",tagName:"h2"})))),ve.log_id?u.React.createElement(b.A,{container:!0,alignItems:"flex-start",elementType:"div",justifyContent:"flex-start",type:"fluid",wrap:!Z},u.React.createElement(b.A,{item:!0,elementType:"div",customAttributes:{style:{flex:Z?"auto":"0 0 100%"}}},u.React.createElement(f.A,{customAttributes:{title:De},icon:"left-arrow",iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",onClick:function(){var e;if("activity-log"===(null==T||null===(e=T.state)||void 0===e?void 0:e.previous))S(-1);else{var t=new URLSearchParams(T.search),n=P.nav_item_param_key||"tab";t.set(n,"activity-log"),t.delete("event_id");var a=H(H({},T),{},{search:"?".concat(t.toString())});S(a,{state:{previous:"log-details"}})}},size:"size-height-m",spacing:[0,4,4,0],type:"icon-white"}),u.React.createElement(f.A,{icon:"mail",iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",label:je,onClick:function(){q({date:ve.date,isHtml:ve.is_html,id:ve.log_id,fromHash:ve.fromHash,from:ve.from,to:ve.to,title:ve.subject}),$(!0)},spacing:[0,4,4,0],size:"size-height-m",type:"white",disabled:!it.gravitysmtp_view_email_log_preview}),u.React.createElement(f.A,{icon:"paper-plane",iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",label:Se,onClick:function(){L(!0),D(ve.log_id),I("resend")},size:"size-height-m",spacing:[0,4,4,0],type:"white",disabled:!ve.can_resend}),u.React.createElement(f.A,{icon:"trash",iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",label:Le,onClick:function(){L(!0),D(ve.log_id),I("delete")},size:"size-height-m",spacing:[0,0,4,0],type:"amaranth-red",disabled:!it.gravitysmtp_delete_email_log_details})),u.React.createElement(b.A,{item:!0,elementType:"div",customAttributes:{style:{flex:"none"}}},u.React.createElement(f.A,{customAttributes:{title:Ue},disabled:null===ve.next_id||ae,icon:"left-arrow",iconPrefix:"gravitysmtp-admin-icon",onClick:function(){le(H(H({},(0,p.K_)()),{},{event_id:ve.next_id}))},size:"size-height-s",spacing:[0,2,0,0],type:"icon-white"}),u.React.createElement(f.A,{customAttributes:{title:Fe},disabled:null===ve.prev_id||ae,icon:"right-arrow",iconPrefix:"gravitysmtp-admin-icon",onClick:function(){le(H(H({},(0,p.K_)()),{},{event_id:ve.prev_id}))},size:"size-height-s",type:"icon-white"}))):u.React.createElement(R.A,{theme:"cosmos",type:"error",customIconPrefix:"gravitysmtp-admin-icon",content:ze,spacing:[6,0,6,0]}))},ct=function(e){return u.React.createElement(w.A,(0,i.A)({customClasses:["gravitysmtp-log-details__secondary-box-entry"],size:"text-sm"},e))},lt=function(e){var t=e.id;return e.data.map((function(e,n){var a="".concat(t,"-").concat(n);return Array.isArray(e)?u.React.createElement(lt,{key:a,id:a,data:e}):(0,p.Gv)(e)?u.React.createElement(st,{key:a,id:a,data:e,isTopLevel:!1}):u.React.createElement(ct,{key:a,content:e,spacing:4})}))},st=function(e){var t=e.id,n=e.data,a=e.isTopLevel;return Object.keys(n).map((function(e,i){var r=n[e],o="".concat(t,"-").concat(e,"-").concat(i);return Array.isArray(r)?u.React.createElement(lt,{key:o,id:o,data:r}):(0,p.Gv)(r)?u.React.createElement(y.A,{key:o,spacing:4},u.React.createElement(w.A,{customClasses:["gravitysmtp-log-details__secondary-box-entry"],content:e,size:"text-sm",weight:"medium"}),u.React.createElement(st,{id:o,data:r,isTopLevel:!1})):a?u.React.createElement(y.A,{key:o,spacing:4},u.React.createElement(w.A,{customClasses:["gravitysmtp-log-details__secondary-box-entry"],content:e,size:"text-sm",weight:"medium"}),u.React.createElement(ct,{content:r})):u.React.createElement(ct,{key:o,content:"".concat(e,": ").concat(r)})}))},dt=function(e){var t=e.id,n=e.data,a=e.isLast,i=null;return i=Array.isArray(n)?u.React.createElement(lt,{id:t,data:n}):(0,p.Gv)(n)?u.React.createElement(st,{id:t,data:n,isTopLevel:!0}):u.React.createElement(ct,{content:n}),u.React.createElement(x.A,{collapsed:"headers"===t,collapsible:"headers"===t,contentId:"gravitysmtp-log-details__secondary-box-".concat(t),customClasses:["gravitysmtp-log-details__secondary-box-".concat(t)],HeaderContent:function(){var e,n;return"headers"===t?u.React.createElement(w.A,{content:(null==O||null===(e=O.log_detail)||void 0===e?void 0:e.secondary_box_headers_heading)||"",size:"text-md",weight:"medium",tagName:"span"}):u.React.createElement(h.A,{content:(null==O||null===(n=O.log_detail)||void 0===n?void 0:n.secondary_box_log_heading)||"",size:"text-md",weight:"medium",tagName:"h3"})},i18n:{collapsedAriaLabel:Xe,expandedAriaLabel:Ze},collapsibleIconPrefix:"gravitysmtp-admin-icon",spacing:a?"":6},i)},mt=function(){return u.React.createElement(h.A,{content:Ke,size:"text-lg",weight:"medium",tagName:"h2"})},ut=function(){var e=Object.keys(pe).filter((function(e){var t=pe[e];return Array.isArray(t)?!!t.length:(0,p.Gv)(t)?!(0===Object.keys(t).length&&t.constructor===Object):!!t}));return u.React.createElement(x.A,{customClasses:["gravitysmtp-log-details__secondary-box"],HeaderContent:mt},e.map((function(t,n){return u.React.createElement(dt,{key:t,id:t,data:pe[t],isLast:n===e.length-1})})))},gt=function(){return u.React.createElement(h.A,{content:Be,size:"text-lg",weight:"medium",tagName:"h2"})},vt=function(){return u.React.createElement(u.React.Fragment,null,u.React.createElement(x.A,{customClasses:["gravitysmtp-log-details__sidebar-box"],HeaderContent:gt},B.map((function(e,t){var n,a=e.key,r=e.icon;return u.React.createElement(y.A,{key:a,customClasses:["gravitysmtp-log-details__sidebar-item"],display:"flex",spacing:0!==t?[3,0,0,0]:void 0},u.React.createElement(A.A,{icon:r,iconPrefix:"gravitysmtp-admin-icon",customClasses:["gravitysmtp-log-details__sidebar-item-icon"],spacing:[0,1,0,0]}),u.React.createElement(w.A,{content:null==O||null===(n=O.log_detail)||void 0===n?void 0:n["sidebar_".concat(a,"_label")],customClasses:["gravitysmtp-log-details__sidebar-item-label"],size:"text-sm",spacing:[0,1,0,0],weight:"regular"}),"status"===a?u.React.createElement(E.A,(0,i.A)({},(null==ve?void 0:ve[a])||{},{customClasses:["gravitysmtp-log-details__sidebar-item-value"]})):u.React.createElement(w.A,{color:"comet",content:null==ve?void 0:ve[a],customClasses:["gravitysmtp-log-details__sidebar-item-value"],size:"text-sm"}))}))),null!=ve&&ve.has_attachment?u.React.createElement(x.A,{HeaderContent:function(){return u.React.createElement(h.A,{content:qe,size:"text-lg",weight:"medium",tagName:"h2"})},spacing:[6,0,0,0]},ve.attachments.map((function(e,t){return u.React.createElement(y.A,{key:"attachment-".concat(t),customClasses:["gravitysmtp-log-details__sidebar-item"],display:"flex",spacing:0!==t?[3,0,0,0]:void 0},u.React.createElement(A.A,{icon:"paper-clip",iconPrefix:"gravitysmtp-admin-icon",customClasses:["gravitysmtp-log-details__sidebar-item-icon"],spacing:[0,1,0,0]}),u.React.createElement(w.A,{content:e.file_extension.toUpperCase(),customClasses:["gravitysmtp-log-details__sidebar-item-label"],size:"text-sm",spacing:[0,1,0,0],weight:"regular"}),u.React.createElement(w.A,{color:"comet",content:e.file_name,customClasses:["gravitysmtp-log-details__sidebar-item-value"],size:"text-sm"}))}))):null)};return it.gravitysmtp_view_email_log_details&&u.React.createElement("div",{className:"gravitysmtp-activity-log-app__log-details-wrapper",ref:t},u.React.createElement(v.e7,{condition:ve.log_id,wrapper:function(e){return u.React.createElement(k.A,{customClasses:["gravitysmtp-activity-log-app__log-details"],Header:ot,SecondaryContentChildren:ut,SideBarChildren:vt,sidebarMobilePosition:"start"},e)}},ve.log_id?null:u.React.createElement(ot,null),u.React.createElement(x.A,{HeaderContent:function(){return u.React.createElement(u.React.Fragment,null,u.React.createElement(h.A,{content:Ie,size:"text-lg",weight:"medium"}))},customClasses:["gravitysmtp-log-details__main-box"]},V.map((function(e){var t;return u.React.createElement(y.A,{key:e,customClasses:["gravitysmtp-log-details__main-box-item"]},u.React.createElement(h.A,{content:null==O||null===(t=O.log_detail)||void 0===t?void 0:t["main_box_".concat(e,"_label")],customClasses:["gravitysmtp-log-details__main-box-heading"],size:"text-sm",weight:"semibold"}),u.React.createElement(w.A,{content:null==ve?void 0:ve[e],customClasses:["gravitysmtp-log-details__main-box-entry"],size:"text-sm"}))})))))}));$.propTypes={common:u.PropTypes.object,data:u.PropTypes.object,i18n:u.PropTypes.object},$.displayName="LogDetailsScreen";var q=$},36770:function(e,t,n){n.d(t,{A:function(){return s}});var a,i,r=n(40450),o=n.n(r),c=(null===(a=(0,n(71376).zj)(o(),"gravitysmtp_admin_config"))||void 0===a?void 0:a.common)||{},l=(null==c||null===(i=c.feature_flags)||void 0===i||null===(i=i.data)||void 0===i?void 0:i.statuses)||{};function s(){return l[arguments.length>0&&void 0!==arguments[0]?arguments[0]:""]||!1}}}]); \ No newline at end of file diff --git a/assets/js/dist/5862.8f4234f62512c8e59393.min.js b/assets/js/dist/5862.8f4234f62512c8e59393.min.js new file mode 100644 index 0000000..49ccb7e --- /dev/null +++ b/assets/js/dist/5862.8f4234f62512c8e59393.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[5862],{65862:function(e,t,n){n.r(t),n.d(t,{default:function(){return J}});var a,i=n(90455),o=n(71860),r=n(8140),s=n(88856),l=n(78564),c=n.n(l),d=n(97867),g=n(30242),u=n(80509),_=n(5529),b=n(87029),m=n(53377),v=n(66598),f=n(16265),p=n(13379),A=n(84860),h=n(68381),k=n(27122),y=n.n(k),S=n(40450),E=n.n(S),x=n(60177),C=n(71376),w=n(83707),D=n(93313),O=(null===(a=(0,C.zj)(E(),"gravitysmtp_admin_config"))||void 0===a?void 0:a.common)||{},T=function(e){(0,e.addSnackbarMessage)(e.saveSuccessSnackBarMessage,"success")},M=function(e){var t=e.addSnackbarMessage;e.error;t(e.saveErrorSnackBarMessage,"error")},P=function(){var e=(0,i.A)(c().mark((function e(t){var n,a,i,o,r,s,l,d,g,u,_,b,m,v,f,p,A,h,k,S,E,P,z,I,L,B,G,R,j,N,V,U,W,J,H,q,F,K,Q,X,Y,Z,$,ee,te,ne,ae,ie,oe,re,se,le,ce;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.addSnackbarMessage,a=void 0===n?function(){}:n,i=t.errorCallback,o=void 0===i?null:i,r=t.snackBarErrorMessage,s=void 0===r?"":r,l=t.snackBarSuccessMessage,d=void 0===l?"":l,g=t.successCallback,u=void 0===g?null:g,_=t.type,b=void 0===_?"debug":_,m=t.useDebugLogger,v=void 0===m||m,f=O.i18n,A=(p=void 0===f?{}:f).debug_messages,k=(h=void 0===A?{}:A).deleting_activity_log_rows,S=void 0===k?"":k,E=h.deleting_activity_log_rows_error,P=void 0===E?"":E,z=h.deleting_all_debug_logs,I=void 0===z?"":z,L=h.deleting_all_debug_logs_error,B=void 0===L?"":L,G=p.snackbar_activity_log_delete_error,R=void 0===G?"":G,j=p.snackbar_activity_log_delete_success,N=void 0===j?"":j,V=p.snackbar_debug_log_delete_error,U=void 0===V?"":V,W=p.snackbar_debug_log_delete_success,J=void 0===W?"":W,H=O.endpoints,F=(q=void 0===H?{}:H).delete_events,Q=(K=void 0===F?{}:F).action,X=void 0===Q?"":Q,Y=K.nonce,Z=void 0===Y?"":Y,$=q.delete_debug_logs,te=(ee=void 0===$?{}:$).action,ne=void 0===te?"":te,ae=ee.nonce,ie=void 0===ae?"":ae,oe=d||"debug"===b?J:N,re=s||"debug"===b?U:R,se={action:"debug"===b?ne:X,security:"debug"===b?ie:Z},"debug"===b?se.all_logs="1":(se.all_events="1",se.event_ids=[1]),!v){e.next=9;break}return e.next=9,(0,w.A)((0,C.nv)("debug"===b?I:S,JSON.stringify((0,D.A)(["security"],se))),"info");case 9:return e.prev=9,e.next=12,(0,x.bE)({endpoint:y(),body:se});case 12:null!=(ce=e.sent)&&null!==(le=ce.data)&&void 0!==le&&le.success?(u||T)({addSnackbarMessage:a,data:null==ce?void 0:ce.data,saveSuccessSnackBarMessage:oe}):(o||M)({addSnackbarMessage:a,error:null==ce?void 0:ce.error,saveErrorSnackBarMessage:re}),e.next=23;break;case 16:if(e.prev=16,e.t0=e.catch(9),a(re,"error"),!v){e.next=23;break}return e.next=23,(0,w.A)((0,C.nv)("debug"===b?B:P,JSON.stringify(e.t0)),"error");case 23:case"end":return e.stop()}}),e,null,[[9,16]])})));return function(t){return e.apply(this,arguments)}}(),z=P,I=n(33695),L=n(49572),B=n(27764),G=n(36770),R=n(59092);function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function N(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:""]||!1}},90266:function(e,t,n){n.d(t,{A:function(){return c}});var a,i,o=n(40450),r=n.n(o),s=(null===(a=(0,n(71376).zj)(r(),"gravitysmtp_admin_config"))||void 0===a?void 0:a.common)||{},l=(null==s||null===(i=s.data)||void 0===i?void 0:i.constants)||{};function c(){return l[arguments.length>0&&void 0!==arguments[0]?arguments[0]:""]||""}},33695:function(e,t,n){n.d(t,{A:function(){return c}});var a,i,o=n(40450),r=n.n(o),s=(null===(a=(0,n(71376).zj)(r(),"gravitysmtp_admin_config"))||void 0===a?void 0:a.common)||{},l=(null==s||null===(i=s.data)||void 0===i?void 0:i.param_keys)||{};function c(){return l[arguments.length>0&&void 0!==arguments[0]?arguments[0]:""]||""}},49572:function(e,t,n){n.d(t,{A:function(){return m}});var a,i,o,r,s=n(40450),l=n.n(s),c=n(71376),d=n(90266),g=(null===(a=(0,c.zj)(l(),"gravitysmtp_admin_config"))||void 0===a?void 0:a.components)||{},u=(null==g||null===(i=g.activity_log)||void 0===i||null===(i=i.data)||void 0===i?void 0:i.caps)||{},_=(null==g||null===(o=g.settings)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.caps)||{},b=(null==g||null===(r=g.tools)||void 0===r||null===(r=r.data)||void 0===r?void 0:r.caps)||{};function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=(0,d.A)(e);return u[t]||_[t]||b[t]||!1}},27764:function(e,t,n){var a,i=n(40450),o=n.n(i),r=(null===(a=(0,n(71376).zj)(o(),"gravitysmtp_admin_config"))||void 0===a?void 0:a.common)||{};t.A=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{iconPrefix:"gravitysmtp-admin-icon",locked:(null==r||null===(e=r.data)||void 0===e||null===(e=e.locked_settings)||void 0===e?void 0:e.includes(n))||a,lockedMessage:i||(null==r||null===(t=r.i18n)||void 0===t?void 0:t.setting_locked)||""}}}}]); \ No newline at end of file diff --git a/assets/js/dist/9456.5d96fe0ca45f063e61c8.min.js b/assets/js/dist/9456.5d96fe0ca45f063e61c8.min.js deleted file mode 100644 index f7703ed..0000000 --- a/assets/js/dist/9456.5d96fe0ca45f063e61c8.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[9456],{9456:function(e,t,n){n.r(t),n.d(t,{default:function(){return K}});var a,i,o,r=n(90455),s=n(71860),l=n(8140),c=n(88856),d=n(78564),g=n.n(d),u=n(97867),_=n(30242),b=n(80509),m=n(5529),v=n(87029),p=n(53377),f=n(66598),h=n(16265),A=n(13379),k=n(84860),y=n(68381),S=n(27122),E=n.n(S),x=n(40450),C=n.n(x),w=n(60177),D=n(71376),O=n(83707),T=n(93313),M=(null===(a=(0,D.zj)(C(),"gravitysmtp_admin_config"))||void 0===a?void 0:a.common)||{},P=function(e){(0,e.addSnackbarMessage)(e.saveSuccessSnackBarMessage,"success")},z=function(e){var t=e.addSnackbarMessage;e.error;t(e.saveErrorSnackBarMessage,"error")},I=function(){var e=(0,r.A)(g().mark((function e(t){var n,a,i,o,r,s,l,c,d,u,_,b,m,v,p,f,h,A,k,y,S,x,C,I,L,B,G,R,j,N,V,U,W,J,H,q,F,K,Q,X,Y,Z,$,ee,te,ne,ae,ie,oe,re,se,le,ce;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.addSnackbarMessage,a=void 0===n?function(){}:n,i=t.errorCallback,o=void 0===i?null:i,r=t.snackBarErrorMessage,s=void 0===r?"":r,l=t.snackBarSuccessMessage,c=void 0===l?"":l,d=t.successCallback,u=void 0===d?null:d,_=t.type,b=void 0===_?"debug":_,m=t.useDebugLogger,v=void 0===m||m,p=M.i18n,h=(f=void 0===p?{}:p).debug_messages,k=(A=void 0===h?{}:h).deleting_activity_log_rows,y=void 0===k?"":k,S=A.deleting_activity_log_rows_error,x=void 0===S?"":S,C=A.deleting_all_debug_logs,I=void 0===C?"":C,L=A.deleting_all_debug_logs_error,B=void 0===L?"":L,G=f.snackbar_activity_log_delete_error,R=void 0===G?"":G,j=f.snackbar_activity_log_delete_success,N=void 0===j?"":j,V=f.snackbar_debug_log_delete_error,U=void 0===V?"":V,W=f.snackbar_debug_log_delete_success,J=void 0===W?"":W,H=M.endpoints,F=(q=void 0===H?{}:H).delete_events,Q=(K=void 0===F?{}:F).action,X=void 0===Q?"":Q,Y=K.nonce,Z=void 0===Y?"":Y,$=q.delete_debug_logs,te=(ee=void 0===$?{}:$).action,ne=void 0===te?"":te,ae=ee.nonce,ie=void 0===ae?"":ae,oe=c||"debug"===b?J:N,re=s||"debug"===b?U:R,se={action:"debug"===b?ne:X,security:"debug"===b?ie:Z},"debug"===b?se.all_logs="1":(se.all_events="1",se.event_ids=[1]),!v){e.next=9;break}return e.next=9,(0,O.A)((0,D.nv)("debug"===b?I:y,JSON.stringify((0,T.A)(["security"],se))),"info");case 9:return e.prev=9,e.next=12,(0,w.bE)({endpoint:E(),body:se});case 12:null!=(ce=e.sent)&&null!==(le=ce.data)&&void 0!==le&&le.success?(u||P)({addSnackbarMessage:a,data:null==ce?void 0:ce.data,saveSuccessSnackBarMessage:oe}):(o||z)({addSnackbarMessage:a,error:null==ce?void 0:ce.error,saveErrorSnackBarMessage:re}),e.next=23;break;case 16:if(e.prev=16,e.t0=e.catch(9),a(re,"error"),!v){e.next=23;break}return e.next=23,(0,O.A)((0,D.nv)("debug"===b?B:x,JSON.stringify(e.t0)),"error");case 23:case"end":return e.stop()}}),e,null,[[9,16]])})));return function(t){return e.apply(this,arguments)}}(),L=I,B=(null===(i=(0,D.zj)(C(),"gravitysmtp_admin_config"))||void 0===i?void 0:i.common)||{},G=(null==B||null===(o=B.data)||void 0===o?void 0:o.param_keys)||{};function R(){return G[arguments.length>0&&void 0!==arguments[0]?arguments[0]:""]||""}var j=n(49572),N=n(27764),V=n(36770),U=n(59092);function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function J(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:""]||!1}},90266:function(e,t,n){n.d(t,{A:function(){return c}});var a,i,o=n(40450),r=n.n(o),s=(null===(a=(0,n(71376).zj)(r(),"gravitysmtp_admin_config"))||void 0===a?void 0:a.common)||{},l=(null==s||null===(i=s.data)||void 0===i?void 0:i.constants)||{};function c(){return l[arguments.length>0&&void 0!==arguments[0]?arguments[0]:""]||""}},49572:function(e,t,n){n.d(t,{A:function(){return m}});var a,i,o,r,s=n(40450),l=n.n(s),c=n(71376),d=n(90266),g=(null===(a=(0,c.zj)(l(),"gravitysmtp_admin_config"))||void 0===a?void 0:a.components)||{},u=(null==g||null===(i=g.activity_log)||void 0===i||null===(i=i.data)||void 0===i?void 0:i.caps)||{},_=(null==g||null===(o=g.settings)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.caps)||{},b=(null==g||null===(r=g.tools)||void 0===r||null===(r=r.data)||void 0===r?void 0:r.caps)||{};function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=(0,d.A)(e);return u[t]||_[t]||b[t]||!1}},27764:function(e,t,n){var a,i=n(40450),o=n.n(i),r=(null===(a=(0,n(71376).zj)(o(),"gravitysmtp_admin_config"))||void 0===a?void 0:a.common)||{};t.A=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{iconPrefix:"gravitysmtp-admin-icon",locked:(null==r||null===(e=r.data)||void 0===e||null===(e=e.locked_settings)||void 0===e?void 0:e.includes(n))||a,lockedMessage:i||(null==r||null===(t=r.i18n)||void 0===t?void 0:t.setting_locked)||""}}}}]); \ No newline at end of file diff --git a/assets/js/dist/9586.1e877b21e6280faf1f4f.min.js b/assets/js/dist/9586.1e877b21e6280faf1f4f.min.js new file mode 100644 index 0000000..589d4f8 --- /dev/null +++ b/assets/js/dist/9586.1e877b21e6280faf1f4f.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[9586],{69586:function(e,t,n){n.r(t);var a=n(90455),i=n(71860),r=n(8140),s=n(88856),c=n(78564),l=n.n(c),o=n(27122),u=n.n(o),_=n(97867),g=n(8173),m=n(60177),d=n(71376),p=n(30242),A=n(80509),f=n(5529),v=n(25787),b=n(87029),y=n(66598),x=n(16265),h=n(82263),E=n(13379),S=n(84860),C=n(68381),R=n(27764),k=n(33695),P=n(49572),T=n(83707),w=n(93313),O=n(59092);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function I(e){for(var t=1;t array('scripts-admin.min.js' => array('version' => '8112cd40e8c26db86c54defd1f7d98b0', 'file' => 'scripts-admin.min.js'), 'vendor-admin.min.js' => array('version' => '9b98046ec7ff3f8f8638da99348b3e6a', 'file' => 'vendor-admin.min.js'))); \ No newline at end of file + array('scripts-admin.min.js' => array('version' => '37fced3a01ed40246bb272aa036af8e8', 'file' => 'scripts-admin.min.js'), 'vendor-admin.min.js' => array('version' => '8301b5fe60c00471c38a2729e61f7815', 'file' => 'vendor-admin.min.js'))); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.activity-log-activity-log.1d7ce1b4f43e1f658dde.min.js b/assets/js/dist/scripts-admin.activity-log-activity-log.1d7ce1b4f43e1f658dde.min.js deleted file mode 100644 index fe2413c..0000000 --- a/assets/js/dist/scripts-admin.activity-log-activity-log.1d7ce1b4f43e1f658dde.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[628,812],{59238:function(e,t,a){a.r(t);var i=a(88856),r=a(8140),n=a(97867),o=a(62825),c=a(84860),s=a(3258),l=a(64688),m=a(72695),d=a(16954),p=a(23664),u=a(52217),v=a(98895);function f(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function g(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0],a=new URLSearchParams(S.search),i=T.nav_item_param_key||"tab";if("activity-log"!==a.get(i))if(a.delete("event_id"),a.set(i,"activity-log"),"activity-log"===(null==S||null===(e=S.state)||void 0===e?void 0:e.previous)){if(!t)return void D(-1);window.location.href="".concat(S.pathname,"?").concat(a.toString())}else{if(!t){var r=E(E({},S),{},{search:"?".concat(a.toString())});D(r,{state:{previous:"log-details"}})}window.location.href="".concat(S.pathname,"?").concat(a.toString())}else t&&window.location.reload()},de={onCloseAfterAnimation:function(){I(0),V(!1)},closeOnMaskClick:!1,customWrapperClasses:["gravitysmtp-delete-activity__dialog"],customCloseButtonLabelAttributes:{className:(0,d.classnames)({"gform-button__icon":!0,"gravitysmtp-admin-icon":!0,"gravitysmtp-admin-icon--x":!0})},description:Z,isOpen:z,maskTheme:"light",maxHeight:"90vh",mode:"modal",padContent:!1,position:"absolute",showCloseButton:!1,theme:"cosmos",title:X},pe=function(){var e=(0,r.A)(s().mark((function e(){var t,a,i,r;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return V(!0),t={action:U,security:q,event_id:H},e.next=4,(0,_.A)((0,u.nv)(oe,JSON.stringify((0,w.A)(["security"],t))),"info");case 4:return e.prev=4,e.next=7,(0,p.bE)({endpoint:m(),body:t});case 7:null!=(i=e.sent)&&null!==(a=i.data)&&void 0!==a&&a.success?(L(H),W(null==i||null===(r=i.data)||void 0===r||null===(r=r.data)||void 0===r?void 0:r.message)):W(K,"error"),B(!1),me(!0),e.next=18;break;case 13:return e.prev=13,e.t0=e.catch(4),W(e.t0,"error"),e.next=18,(0,_.A)((0,u.nv)(se,JSON.stringify(e.t0)),"error");case 18:case"end":return e.stop()}}),e,null,[[4,13]])})));return function(){return e.apply(this,arguments)}}();return d.React.createElement("div",(0,i.A)({},le,{ref:t}),d.React.createElement(g.A,de,d.React.createElement(f.A,{container:!0,customClasses:["gravitysmtp-delete-activity__dialog-actions"],justifyContent:"flex-start",columnSpacing:3,spacing:[8,0,0,0],type:"fluid"},d.React.createElement(f.A,{item:!0,width:6},d.React.createElement(v.A,{label:ae,onClick:function(){return B(!1)},type:"white",width:"full"})),d.React.createElement(f.A,{item:!0,width:6},d.React.createElement(v.A,{active:J,activeType:"loader",label:ee,onClick:pe,width:"full"})))))}));A.propTypes={customAttributes:d.PropTypes.object,customClasses:d.PropTypes.oneOfType([d.PropTypes.string,d.PropTypes.array,d.PropTypes.object]),common:d.PropTypes.object,data:d.PropTypes.object,i18n:d.PropTypes.object},t.default=A},16954:function(e,t,a){a.r(t);var i=a(71860),r=a(88856),n=a(97867),o=a(10997),c=a(30242),s=a(43632);function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}var m=(0,n.React.forwardRef)((function(e,t){var a=e.customAttributes,m=void 0===a?{}:a,d=e.customClasses,p=void 0===d?[]:d,u=e.common,v=void 0===u?{}:u,f=e.showModes,g=void 0===f||f,y=function(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0],a=new URLSearchParams(B.search),i=T.nav_item_param_key||"tab";if("activity-log"!==a.get(i))if(a.delete("event_id"),a.set(i,"activity-log"),"activity-log"===(null==B||null===(e=B.state)||void 0===e?void 0:e.previous)){if(!t)return void z(-1);window.location.href="".concat(B.pathname,"?").concat(a.toString())}else{if(!t){var r=R(R({},B),{},{search:"?".concat(a.toString())});z(r,{state:{previous:"log-details"}})}window.location.href="".concat(B.pathname,"?").concat(a.toString())}else t&&window.location.reload()},xe=function(){var e=(0,r.A)(c().mark((function e(){var t,a,i,r;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return q(!0),t={action:K,security:Q,event_id:L},e.next=4,(0,_.A)((0,u.nv)(Ee,JSON.stringify((0,b.A)(["security"],t))),"info");case 4:return e.prev=4,e.next=7,(0,p.bE)({endpoint:m(),body:t});case 7:null!=(i=e.sent)&&null!==(a=i.data)&&void 0!==a&&a.success?G(null==i||null===(r=i.data)||void 0===r||null===(r=r.data)||void 0===r?void 0:r.message):G(Y,"error"),I(!1),ke(!0),e.next=18;break;case 13:return e.prev=13,e.t0=e.catch(4),G(e.t0.message,"error"),e.next=18,(0,_.A)((0,u.nv)(Ae,JSON.stringify(e.t0)),"error");case 18:case"end":return e.stop()}}),e,null,[[4,13]])})));return function(){return e.apply(this,arguments)}}(),De=function(){var e=(0,r.A)(c().mark((function e(){var t,a,i;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return q(!0),t={action:te,security:ie,email_id:L},e.next=4,(0,_.A)((0,u.nv)(Pe,JSON.stringify((0,b.A)(["security"],t))),"info");case 4:return e.prev=4,e.next=7,(0,p.bE)({endpoint:m(),body:t});case 7:null!=(i=e.sent)&&null!==(a=i.data)&&void 0!==a&&a.success?G(Ne):G(Ce,"error"),e.next=16;break;case 11:return e.prev=11,e.t0=e.catch(4),G(Ce,"error"),e.next=16,(0,_.A)((0,u.nv)(je,JSON.stringify(e.t0)),"error");case 16:q(!1),I(!1),J(0),F("");case 20:case"end":return e.stop()}}),e,null,[[4,11]])})));return function(){return e.apply(this,arguments)}}(),Se="delete"===M,ze=Se?ne:ue,Be=Se?se:fe,He=Se?le:ye,Ie=Se?de:be,Le=Se?xe:De,Je={onCloseAfterAnimation:function(){J(0),F(""),q(!1)},closeOnMaskClick:!1,customWrapperClasses:["gravitysmtp-single-activity__dialog"],customCloseButtonLabelAttributes:{className:(0,d.classnames)({"gform-button__icon":!0,"gravitysmtp-admin-icon":!0,"gravitysmtp-admin-icon--x":!0})},description:Be,isOpen:H,maskTheme:"light",maxHeight:"90vh",mode:"modal",padContent:!1,position:"absolute",showCloseButton:!1,theme:"cosmos",title:ze};return d.React.createElement("div",(0,i.A)({},Te,{ref:t}),d.React.createElement(g.A,Je,d.React.createElement(f.A,{container:!0,customClasses:["gravitysmtp-single-activity__dialog-actions"],justifyContent:"flex-start",columnSpacing:3,spacing:[8,0,0,0],type:"fluid"},d.React.createElement(f.A,{item:!0,width:6},d.React.createElement(v.A,{label:Ie,onClick:function(){return I(!1)},type:"white",width:"full"})),d.React.createElement(f.A,{item:!0,width:6},d.React.createElement(v.A,{active:U,activeType:"loader",label:He,onClick:Le,width:"full"})))))}));j.propTypes={customAttributes:d.PropTypes.object,customClasses:d.PropTypes.oneOfType([d.PropTypes.string,d.PropTypes.array,d.PropTypes.object]),common:d.PropTypes.object,data:d.PropTypes.object,endpoints:d.PropTypes.object,i18n:d.PropTypes.object},t.default=j},72695:function(e,t,a){a.r(t);var i=a(71860),r=a(88856),n=a(8140),o=a(97867),s=a(62825),c=a(16954),l=a(48959),m=a(15635),d=a(32722),p=a(80509),u=a(5529),v=a(25980),f=a(66598),g=a(98895);function y(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}var _=o.React.forwardRef,b=o.React.useEffect,w=o.React.useState,h=function(e){var t=e.wrapperClasses,a=void 0===t?[]:t,i=e.dot,r=void 0===i||i,n=e.width,s=void 0===n?"62px":n,c={className:(0,o.classnames)(["gravitysmtp-view-email__placeholder-stripe"],a)};return o.React.createElement("div",c,r&&o.React.createElement("span",{className:"gravitysmtp-view-email__placeholder-stripe-dot"}),o.React.createElement("span",{className:"gravitysmtp-view-email__placeholder-stripe-line",style:{width:s}}))},R=_((function(e,t){var a,_,R=e.customAttributes,E=void 0===R?{}:R,O=e.customClasses,A=void 0===O?[]:O,P=e.common,j=void 0===P?{}:P,C=e.data,N=void 0===C?{}:C,T=e.i18n,k=void 0===T?{}:T,x=(0,g.default)((function(e){return e.viewEmailDialogOpen})),D=(0,g.default)((function(e){return e.setViewEmailDialogOpen})),S=(0,g.default)((function(e){return e.viewEmailEventId})),z=(0,g.default)((function(e){return e.viewEmailEventIsHtml})),B=(0,g.default)((function(e){return e.viewEmailEventDate})),H=(0,g.default)((function(e){return e.viewEmailEventFromHash})),I=(0,g.default)((function(e){return e.viewEmailEventFrom})),L=(0,g.default)((function(e){return e.viewEmailEventTo})),J=(0,g.default)((function(e){return e.viewEmailEventTitle})),M=(0,g.default)((function(e){return e.setViewEmailEventProperties})),F=w(!1),V=(0,n.A)(F,2),W=V[0],U=V[1],q=w("desktop"),G=(0,n.A)(q,2),K=G[0],Q=G[1],X=(null==j||null===(a=j.endpoints)||void 0===a||null===(a=a.get_email_message)||void 0===a?void 0:a.action)||"",Y=(null==j||null===(_=j.endpoints)||void 0===_||null===(_=_.get_email_message)||void 0===_?void 0:_.nonce)||"",Z="".concat(null==N?void 0:N.ajax_url,"?action=").concat(X,"&security=").concat(Y,"&event_id=").concat(S),$=function(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0],n=new URLSearchParams(x.search),i=T.nav_item_param_key||"tab";if("activity-log"!==n.get(i))if(n.delete("event_id"),n.set(i,"activity-log"),"activity-log"===(null==x||null===(e=x.state)||void 0===e?void 0:e.previous)){if(!t)return void S(-1);window.location.href="".concat(x.pathname,"?").concat(n.toString())}else{if(!t){var o=_(_({},x),{},{search:"?".concat(n.toString())});S(o,{state:{previous:"log-details"}})}window.location.href="".concat(x.pathname,"?").concat(n.toString())}else t&&window.location.reload()},se={onCloseAfterAnimation:function(){B(0),V(!1)},closeOnMaskClick:!1,customWrapperClasses:["gravitysmtp-delete-activity__dialog"],customCloseButtonLabelAttributes:{className:(0,s.classnames)({"gform-button__icon":!0,"gravitysmtp-admin-icon":!0,"gravitysmtp-admin-icon--x":!0})},description:Z,isOpen:G,maskTheme:"light",maxHeight:"90vh",mode:"modal",padContent:!1,position:"absolute",showCloseButton:!1,theme:"cosmos",title:X},ve=function(){var e=(0,o.A)(c().mark((function e(){var t,n,i,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return V(!0),t={action:U,security:W,event_id:H},e.next=4,(0,b.A)((0,f.nv)(ae,JSON.stringify((0,w.A)(["security"],t))),"info");case 4:return e.prev=4,e.next=7,(0,v.bE)({endpoint:d(),body:t});case 7:null!=(i=e.sent)&&null!==(n=i.data)&&void 0!==n&&n.success?(N(H),M(null==i||null===(o=i.data)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.message)):M(K,"error"),L(!1),de(!0),e.next=18;break;case 13:return e.prev=13,e.t0=e.catch(4),M(e.t0,"error"),e.next=18,(0,b.A)((0,f.nv)(ce,JSON.stringify(e.t0)),"error");case 18:case"end":return e.stop()}}),e,null,[[4,13]])})));return function(){return e.apply(this,arguments)}}();return s.React.createElement("div",(0,i.A)({},ue,{ref:t}),s.React.createElement(g.A,se,s.React.createElement(p.A,{container:!0,customClasses:["gravitysmtp-delete-activity__dialog-actions"],justifyContent:"flex-start",columnSpacing:3,spacing:[8,0,0,0],type:"fluid"},s.React.createElement(p.A,{item:!0,width:6},s.React.createElement(m.A,{label:ne,onClick:function(){return L(!1)},type:"white",width:"full"})),s.React.createElement(p.A,{item:!0,width:6},s.React.createElement(m.A,{active:J,activeType:"loader",label:ee,onClick:ve,width:"full"})))))}));A.propTypes={customAttributes:s.PropTypes.object,customClasses:s.PropTypes.oneOfType([s.PropTypes.string,s.PropTypes.array,s.PropTypes.object]),common:s.PropTypes.object,data:s.PropTypes.object,i18n:s.PropTypes.object},t.default=A},98895:function(e,t,n){n.r(t);var i,o,r,a,l=n(88856),c=n(40450),u=n.n(c),d=n(13296);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function v(e){for(var t=1;t0&&void 0!==p[0]?p[0]:"",o=p.length>1&&void 0!==p[1]?p[1]:"debug",r=v.data,l=void 0===r?{}:r,u=v.endpoints,f=(null==(d=void 0===u?{}:u)||null===(t=d.log_debug_item)||void 0===t?void 0:t.action)||"",m=(null==d||null===(n=d.log_debug_item)||void 0===n?void 0:n.nonce)||"",null!=l&&l.debug_log_enabled&&f&&m&&i){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,(0,s.bE)({endpoint:c(),body:{action:f,security:m,message:i,priority:o}}).catch((function(e){}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}},93313:function(e,t,n){var i=n(52888),o=n(8140);t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*";return function n(r){return Object.entries(r).reduce((function(r,a){var l=(0,o.A)(a,2),c=l[0],u=l[1];return"object"===(0,i.A)(u)&&null!==u?r[c]=n(u):e.includes(c)?r[c]=null===u?null:t.repeat(u.length):r[c]=u,r}),Array.isArray(r)?[]:{})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.activity-log-components-single-activity.44fad78f4edaec7d1668.min.js b/assets/js/dist/scripts-admin.activity-log-components-single-activity.44fad78f4edaec7d1668.min.js new file mode 100644 index 0000000..55f40b6 --- /dev/null +++ b/assets/js/dist/scripts-admin.activity-log-components-single-activity.44fad78f4edaec7d1668.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[751,6793,6961],{99201:function(e,t,n){n.r(t);var i=n(71860),o=n(90455),r=n(88856),a=n(8140),l=n(78564),c=n.n(l),s=n(27122),u=n.n(s),v=n(97867),d=n(60177),m=n(71376),f=n(80509),p=n(29549),g=n(48959),y=n(84860),_=n(83707),b=n(93313),E=n(98895);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function w(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0],n=new URLSearchParams(N.search),i=P.nav_item_param_key||"tab";if("activity-log"!==n.get(i))if(n.delete("event_id"),n.set(i,"activity-log"),"activity-log"===(null==N||null===(e=N.state)||void 0===e?void 0:e.previous)){if(!t)return void H(-1);window.location.href="".concat(N.pathname,"?").concat(n.toString())}else{if(!t){var o=w(w({},N),{},{search:"?".concat(n.toString())});H(o,{state:{previous:"log-details"}})}window.location.href="".concat(N.pathname,"?").concat(n.toString())}else t&&window.location.reload()},xe=function(){var e=(0,o.A)(c().mark((function e(){var t,n,i,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return q(!0),t={action:K,security:Q,event_id:J},e.next=4,(0,_.A)((0,m.nv)(Oe,JSON.stringify((0,b.A)(["security"],t))),"info");case 4:return e.prev=4,e.next=7,(0,d.bE)({endpoint:u(),body:t});case 7:null!=(i=e.sent)&&null!==(n=i.data)&&void 0!==n&&n.success?G(null==i||null===(o=i.data)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.message):G(Y,"error"),F(!1),Se(!0),e.next=18;break;case 13:return e.prev=13,e.t0=e.catch(4),G(e.t0.message,"error"),e.next=18,(0,_.A)((0,m.nv)(De,JSON.stringify(e.t0)),"error");case 18:case"end":return e.stop()}}),e,null,[[4,13]])})));return function(){return e.apply(this,arguments)}}(),Re=function(){var e=(0,o.A)(c().mark((function e(){var t,n,i;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return q(!0),t={action:te,security:ie,email_id:J},e.next=4,(0,_.A)((0,m.nv)(Ce,JSON.stringify((0,b.A)(["security"],t))),"info");case 4:return e.prev=4,e.next=7,(0,d.bE)({endpoint:u(),body:t});case 7:null!=(i=e.sent)&&null!==(n=i.data)&&void 0!==n&&n.success?G(ke):G(je,"error"),e.next=16;break;case 11:return e.prev=11,e.t0=e.catch(4),G(je,"error"),e.next=16,(0,_.A)((0,m.nv)(Te,JSON.stringify(e.t0)),"error");case 16:q(!1),F(!1),L(0),V("");case 20:case"end":return e.stop()}}),e,null,[[4,11]])})));return function(){return e.apply(this,arguments)}}(),Ie="delete"===z,He=Ie?re:me,Ne=Ie?le:pe,Be=Ie?se:ye,Fe=Ie?ve:be,Je=Ie?xe:Re,Le={onCloseAfterAnimation:function(){L(0),V(""),q(!1)},closeOnMaskClick:!1,customWrapperClasses:["gravitysmtp-single-activity__dialog"],customCloseButtonLabelAttributes:{className:(0,v.classnames)({"gform-button__icon":!0,"gravitysmtp-admin-icon":!0,"gravitysmtp-admin-icon--x":!0})},description:Ne,isOpen:B,maskTheme:"light",maxHeight:"90vh",mode:"modal",padContent:!1,position:"absolute",showCloseButton:!1,theme:"cosmos",title:He};return v.React.createElement("div",(0,i.A)({},Pe,{ref:t}),v.React.createElement(g.A,Le,v.React.createElement(p.A,{container:!0,customClasses:["gravitysmtp-single-activity__dialog-actions"],justifyContent:"flex-start",columnSpacing:3,spacing:[8,0,0,0],type:"fluid"},v.React.createElement(p.A,{item:!0,width:6},v.React.createElement(f.A,{label:Fe,onClick:function(){return F(!1)},type:"white",width:"full"})),v.React.createElement(p.A,{item:!0,width:6},v.React.createElement(f.A,{active:W,activeType:"loader",label:Be,onClick:Je,width:"full"})))))}));T.propTypes={customAttributes:v.PropTypes.object,customClasses:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.array,v.PropTypes.object]),common:v.PropTypes.object,data:v.PropTypes.object,endpoints:v.PropTypes.object,i18n:v.PropTypes.object},t.default=T},98895:function(e,t,n){n.r(t);var i,o,r=n(40450),a=n.n(r),l=n(8173),c=(null===(i=(0,n(71376).zj)(a(),"gravitysmtp_admin_config"))||void 0===i||null===(i=i.components)||void 0===i?void 0:i.activity_log)||{},s={confirmDialogConfirmButtonType:"primary-new",confirmDialogI18n:{},confirmDialogOnCancel:function(){},confirmDialogOnConfirm:function(){},confirmDialogOpen:!1,logDetail:(null==c||null===(o=c.data)||void 0===o?void 0:o.log_detail)||{},singleActivityDialogOpen:!1,singleActivityEventId:0,singleActivityType:"",viewEmailDialogOpen:!1,viewEmailEventId:0,viewEmailEventIsHtml:!1,viewEmailEventDate:"",viewEmailEventFromHash:"",viewEmailEventFrom:"",viewEmailEventTo:"",viewEmailEventTitle:""},u=(0,l.vt)(s,(function(e){return{setConfirmDialogOpen:function(t){return e((function(){return{confirmDialogOpen:t}}))},setConfirmDialogSettings:function(t){var n=t.confirmDialogConfirmButtonType,i=void 0===n?"primary-new":n,o=t.confirmDialogI18n,r=void 0===o?{}:o,a=t.confirmDialogOpen,l=void 0!==a&&a,c=t.confirmDialogOnCancel,s=void 0===c?function(){}:c,u=t.confirmDialogOnClose,v=void 0===u?function(){}:u,d=t.confirmDialogOnConfirm,m=void 0===d?function(){}:d;e((function(){return{confirmDialogConfirmButtonType:i,confirmDialogI18n:r,confirmDialogOpen:l,confirmDialogOnCancel:s,confirmDialogOnClose:v,confirmDialogOnConfirm:m}}))},setLogDetail:function(t){return e({logDetail:t})},setSingleActivityDialogOpen:function(t){return e({singleActivityDialogOpen:t})},setSingleActivityEventId:function(t){return e({singleActivityEventId:t})},setSingleActivityType:function(t){return e({singleActivityType:t})},setViewEmailDialogOpen:function(t){return e({viewEmailDialogOpen:t})},setViewEmailEventProperties:function(t){return e({viewEmailEventId:t.id,viewEmailEventIsHtml:t.isHtml,viewEmailEventDate:t.date,viewEmailEventFromHash:t.fromHash,viewEmailEventFrom:t.from,viewEmailEventTo:t.to,viewEmailEventTitle:t.title})}}}));t.default=u},83707:function(e,t,n){n.d(t,{A:function(){return m}});var i,o=n(90455),r=n(78564),a=n.n(r),l=n(27122),c=n.n(l),s=n(40450),u=n.n(s),v=n(60177),d=(null===(i=(0,n(71376).zj)(u(),"gravitysmtp_admin_config"))||void 0===i?void 0:i.common)||{};function m(){return f.apply(this,arguments)}function f(){return f=(0,o.A)(a().mark((function e(){var t,n,i,o,r,l,s,u,m,f,p=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=p.length>0&&void 0!==p[0]?p[0]:"",o=p.length>1&&void 0!==p[1]?p[1]:"debug",r=d.data,l=void 0===r?{}:r,s=d.endpoints,m=(null==(u=void 0===s?{}:s)||null===(t=u.log_debug_item)||void 0===t?void 0:t.action)||"",f=(null==u||null===(n=u.log_debug_item)||void 0===n?void 0:n.nonce)||"",null!=l&&l.debug_log_enabled&&m&&f&&i){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,(0,v.bE)({endpoint:c(),body:{action:m,security:f,message:i,priority:o}}).catch((function(e){}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}},93313:function(e,t,n){var i=n(52888),o=n(8140);t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*",n=function(r){return Object.entries(r).reduce((function(r,a){var l=(0,o.A)(a,2),c=l[0],s=l[1];return"object"===(0,i.A)(s)&&null!==s?r[c]=n(s):e.includes(c)?r[c]=null===s?null:t.repeat(s.length):r[c]=s,r}),Array.isArray(r)?[]:{})};return n(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.activity-log-components-view-email.154b2862ef52286cef8c.min.js b/assets/js/dist/scripts-admin.activity-log-components-view-email.154b2862ef52286cef8c.min.js deleted file mode 100644 index ec7c6a5..0000000 --- a/assets/js/dist/scripts-admin.activity-log-components-view-email.154b2862ef52286cef8c.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[5683,812,6793],{16954:function(e,t,a){a.r(t);var i=a(71860),n=a(88856),r=a(97867),o=a(10997),s=a(30242),l=a(43632);function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}var m=(0,r.React.forwardRef)((function(e,t){var a=e.customAttributes,m=void 0===a?{}:a,d=e.customClasses,v=void 0===d?[]:d,p=e.common,u=void 0===p?{}:p,g=e.showModes,f=void 0===g||g,w=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.page,n=void 0===t?1:t,o=e.searchTerm,r=void 0===o?"":o,i="page-".concat(n);return r&&(i+="-".concat(r)),i},z=k((function(e,t){var n,i=e.customAttributes,c=void 0===i?{}:i,u=e.customClasses,L=void 0===u?[]:u,k=e.common,G=void 0===k?{}:k,z=e.data,B=void 0===z?{}:z,J=e.i18n,W=void 0===J?{}:J,V=R(),F=S(),U=(0,E.default)((function(e){return e.setConfirmDialogOpen})),q=(0,E.default)((function(e){return e.setConfirmDialogSettings})),Z=(0,E.default)((function(e){return e.setDeleteEventDialogOpen})),K=(0,E.default)((function(e){return e.setDeletingEventId})),$=(0,E.default)((function(e){return e.setDataGridLoading})),Q=(0,E.default)((function(e){return e.setLogDetail})),X=(0,E.default)((function(e){return e.setViewEmailDialogOpen})),Y=(0,E.default)((function(e){return e.setViewEmailEventProperties})),ee=(0,E.default)((function(e){return e.dataGridLoading})),te=(0,E.default)((function(e){return e.dataGridRows})),ne=(0,E.default)((function(e){return e.dataGridRowCount})),oe=(0,E.default)((function(e){return e.setDataGridRowCount})),re=(0,E.default)((function(e){return e.setDataGridRows})),ie=C(),ae=(0,a.A)(ie,2),ce=ae[0],le=(ae[1],x()),ue=x(""),se=D({className:(0,d.classnames)({"gravitysmtp-activity-log-app__email-log":!0},L)},c),de=B.ajax_grid_pagination_url,ge=void 0===de?"":de,ve=B.base_url,fe=void 0===ve?"":ve,pe=B.data_grid,me=void 0===pe?{}:pe,_e=me.bulk_actions_options,be=void 0===_e?[]:_e,ye=me.columns,he=void 0===ye?[]:ye,we=me.column_style_props,Ae=void 0===we?{}:we,Oe=B.initial_load_timestamp,Ee=void 0===Oe?"":Oe,Le=B.initial_row_count,De=void 0===Le?0:Le,ke=B.rows_per_page,Pe=void 0===ke?7:ke,xe=W.confirm_bulk_delete_heading,Re=void 0===xe?"":xe,Se=W.confirm_bulk_delete_content,Ce=void 0===Se?"":Se,je=W.data_grid,Te=void 0===je?{}:je,Ie=Te.bulk_select,Ge=void 0===Ie?"":Ie,Ne=Te.clear_search_aria_label,Me=void 0===Ne?"":Ne,He=Te.empty_message,ze=void 0===He?"":He,Be=Te.empty_title,Je=void 0===Be?"":Be,We=Te.top_heading,Ve=void 0===We?"":We,Fe=Te.top_content,Ue=void 0===Fe?"":Fe,qe=Te.grid_heading,Ze=void 0===qe?"":qe,Ke=Te.grid_controls_bulk_actions_select_label,$e=void 0===Ke?"":Ke,Qe=Te.grid_controls_bulk_actions_button_label,Xe=void 0===Qe?"":Qe,Ye=Te.grid_controls_search_placeholder,et=void 0===Ye?"":Ye,tt=Te.grid_controls_search_button_label,nt=void 0===tt?"":tt,ot=Te.pagination_next,rt=void 0===ot?"":ot,it=Te.pagination_prev,at=void 0===it?"":it,ct=Te.pagination_next_aria_label,lt=void 0===ct?"":ct,ut=Te.pagination_prev_aria_label,st=void 0===ut?"":ut,dt=Te.search_no_results_title,gt=void 0===dt?"":dt,vt=Te.search_no_results_message,ft=void 0===vt?"":vt,pt=Te.select_notice_selected_number_entries,mt=void 0===pt?"":pt,_t=Te.select_notice_selected_all_number_entries,bt=void 0===_t?"":_t,yt=Te.select_notice_select_all_number_entries,ht=void 0===yt?"":yt,wt=Te.select_notice_clear_selection,At=void 0===wt?"":wt,Ot=Te.select_row,Et=void 0===Ot?"":Ot,Lt=W.debug_messages,Dt=void 0===Lt?{}:Lt,kt=Dt.deleting_activity_log_rows,Pt=void 0===kt?"":kt,xt=Dt.deleting_activity_log_rows_error,Rt=void 0===xt?"":xt,St=Dt.fetching_activity_log_page,Ct=void 0===St?"":St,jt=Dt.fetching_activity_log_page_error,Tt=void 0===jt?"":jt,It=Dt.fetching_single_activity_log,Gt=void 0===It?"":It,Nt=Dt.fetching_single_activity_log_error,Mt=void 0===Nt?"":Nt,Ht=G.i18n,zt=void 0===Ht?{}:Ht,Bt=zt.snackbar_activity_log_delete_error,Jt=void 0===Bt?"":Bt,Wt=zt.snackbar_email_log_error,Vt=void 0===Wt?"":Wt,Ft=zt.snackbar_email_log_detail_empty_error,Ut=void 0===Ft?"":Ft,qt=zt.snackbar_email_log_detail_generic_error,Zt=void 0===qt?"":qt,Kt=G.endpoints,$t=void 0===Kt?{}:Kt,Qt=$t.activity_log_page,Xt=void 0===Qt?{}:Qt,Yt=Xt.action,en=void 0===Yt?"":Yt,tn=Xt.nonce,nn=void 0===tn?"":tn,on=$t.delete_events,rn=void 0===on?{}:on,an=rn.action,cn=void 0===an?"":an,ln=rn.nonce,un=void 0===ln?"":ln,sn=$t.get_single_email,dn=void 0===sn?{}:sn,gn=dn.action,vn=void 0===gn?"":gn,fn=dn.nonce,pn=void 0===fn?"":fn,mn=(null==B?void 0:B.caps)||{},_n=(0,f.dh)(),bn=H({page:N,searchTerm:M});I[bn]={},I[bn].rows=(null==B||null===(n=B.data_grid)||void 0===n?void 0:n.data)||[],I[bn].newRowCount=De;var yn=function(){ue.current=""};P((function(){return window.addEventListener("popstate",yn),function(){window.removeEventListener("popstate",yn)}}),[]);var hn=function(){var e=(0,r.A)(l().mark((function e(t){var n,o,r,i,a,c,u,d,f;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"preview"===t.action&&X(!0),n={action:vn,security:pn,event_id:t.data.event_id},e.next=4,(0,A.A)((0,v.nv)(Gt,JSON.stringify((0,O.A)(["security"],n))),"info");case 4:return e.prev=4,e.next=7,(0,g.bE)({endpoint:s(),body:n});case 7:if(null==(r=e.sent)||null===(o=r.data)||void 0===o||!o.success){e.next=16;break}if(a=null==r||null===(i=r.data)||void 0===i||null===(i=i.data)||void 0===i?void 0:i.log_detail,(!Array.isArray(a)||a.length)&&a){e.next=13;break}return _n(Ut,"error"),e.abrupt("return");case 13:"preview"===t.action?Y({date:a.date,isHtml:a.is_html,id:a.log_id,fromHash:a.fromHash,from:a.from,to:a.to,title:a.subject}):(Q((null==r||null===(c=r.data)||void 0===c||null===(c=c.data)||void 0===c?void 0:c.log_detail)||{}),u=new URLSearchParams(V.search),d=B.nav_item_param_key||"tab",u.set(d,"log-details"),u.set("event_id",t.data.event_id),f=D(D({},V),{},{search:"?".concat(u.toString())}),F(f,{state:{previous:"activity-log"}})),e.next=18;break;case 16:"preview"===t.action&&X(!1),_n(Zt,"error");case 18:e.next=25;break;case 20:return e.prev=20,e.t0=e.catch(4),_n(e.t0,"error"),e.next=25,(0,A.A)((0,v.nv)(Mt,JSON.stringify(e.t0)),"error");case 25:case"end":return e.stop()}}),e,null,[[4,20]])})));return function(t){return e.apply(this,arguments)}}(),wn=function(){var e=(0,r.A)(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Z(!0),K(t.data.event_id);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),An=function(){var e=(0,r.A)(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("view"!==t.action&&"preview"!==t.action){e.next=5;break}return e.next=3,hn(t);case 3:e.next=8;break;case 5:if("delete"!==t.action){e.next=8;break}return e.next=8,wn(t);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();P((function(){if(le.current){var e=ce.get(j)||"1",t=ce.get(T)||"";Ln({currentPage:parseInt(e,10)-1,searchTerm:t},!0)}else le.current=!0}),[ce]);var On,En=function(e){var t=e.page,n=e.searchTerm,o=void 0===n?"":n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=new URLSearchParams(V.search);i.set(j,t),o?i.set(T,o):i.delete(T),F("?".concat(i.toString()),{replace:r})},Ln=function(){var e=(0,r.A)(l().mark((function e(t){var n,o,r,i,a,c,u,s,d,f,p=arguments;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=p.length>1&&void 0!==p[1]&&p[1],o=H({page:t.currentPage+1}),t.searchTerm||!I[o]){e.next=8;break}return re(I[o].rows),oe(parseInt(I[o].newRowCount,10)),En({page:t.currentPage+1},n),ue.current="",e.abrupt("return",t.currentPage);case 8:if(r={action:en,security:nn,max_date:Ee,requested_page:t.currentPage+1,search_term:t.searchTerm||""},(i=JSON.stringify(r))!==ue.current){e.next=12;break}return e.abrupt("return");case 12:return e.next=14,(0,A.A)((0,v.nv)(Ct,JSON.stringify((0,O.A)(["security"],r))),"info");case 14:return e.prev=14,e.next=17,(0,g.bE)({endpoint:ge,body:r});case 17:if(s=e.sent,d=(null==s||null===(a=s.data)||void 0===a||null===(a=a.data)||void 0===a?void 0:a.rows)||[],f=(null==s||null===(c=s.data)||void 0===c||null===(c=c.data)||void 0===c?void 0:c.total)||"0",null==s||null===(u=s.data)||void 0===u||!u.success){e.next=27;break}return t.searchTerm||(I[o]={rows:d,newRowCount:f}),re(d),oe(parseInt(f,10)),En({page:t.currentPage+1,searchTerm:t.searchTerm||""},n),ue.current=i,e.abrupt("return",t.currentPage);case 27:_n(Vt,"error"),e.next=35;break;case 30:return e.prev=30,e.t0=e.catch(14),_n(e.t0,"error"),e.next=35,(0,A.A)((0,v.nv)(Tt,JSON.stringify(e.t0)),"error");case 35:case"end":return e.stop()}}),e,null,[[14,30]])})));return function(t){return e.apply(this,arguments)}}(),Dn=function(){var e=(0,r.A)(l().mark((function e(t){var n,o,r;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={action:cn,security:un,max_date:Ee,event_ids:t.selectedRows||[],all_events:t.selectedAllRowsOnAllPages?"1":"0",search_term:t.searchTerm||""},e.next=3,(0,A.A)((0,v.nv)(Pt,JSON.stringify((0,O.A)(["security"],n))),"info");case 3:return e.prev=3,e.next=6,(0,g.bE)({endpoint:s(),body:n});case 6:null!=(r=e.sent)&&null!==(o=r.data)&&void 0!==o&&o.success?window.location.href=fe:(_n(Jt,"error"),$(!1)),e.next=16;break;case 10:return e.prev=10,e.t0=e.catch(3),_n(Jt,"error"),$(!1),e.next=16,(0,A.A)((0,v.nv)(Rt,JSON.stringify(e.t0)),"error");case 16:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}(),kn=function(){var e=(0,r.A)(l().mark((function e(t){var n,o;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"delete"===t.selectedBulkAction&&(n=t.selectedRows,o=t.selectedAllRowsOnAllPages,q({confirmDialogI18n:{confirm_change_heading:Re,confirm_change_content:Ce.replace("%1$s",String(o?ne.toLocaleString():n.length))},confirmDialogOnCancel:function(){return U(!1)},confirmDialogOnClose:function(){return U(!1)},confirmDialogOnConfirm:function(){var e=(0,r.A)(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return U(!1),$(!0),e.next=4,Dn(t);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),confirmDialogOpen:!0}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Pn=te.length>0,xn={customClasses:["gravitysmtp-activity-log-app__activity-log-table"],id:"gravitysmtp-activity-log-app__activity-log-table",columns:he,columnStyleProps:Ae,data:(On=te,On.map((function(e){return D(D({},e),Object.fromEntries(Object.entries(e).map((function(e){var t=(0,a.A)(e,2),n=t[0],o=t[1];return[n,"id"===n?o:D(D({},o),{},{component:o.external?w.default[o.key]:o.component})]}))))}))),dataPerPage:Pn?Pe:7,EmptyImage:m.A,emptyMessageAttributes:{style:{maxWidth:"362px"}},handleGridClicks:An,i18n:{emptyMessageI18n:ze,emptyTitleI18n:Je,gridHeadingI18n:Ze},isLoading:ee,maintainHeight:!Pn,modules:[h.qg,h.dK,h.vj],moduleAttributes:{bulkActions:{button:{customAttributes:{"data-test-id":"activity-log-bulk-actions-trigger"},label:Xe,onClick:kn},select:{customAttributes:{"data-test-id":"activity-log-bulk-actions-select"},labelAttributes:{label:$e,isVisible:!1},options:be},i18n:{bulkSelectI18n:Ge,selectNoticeSelectedNumberEntriesI18n:mt,selectNoticeSelectedAllNumberEntriesI18n:bt,selectNoticeSelectAllNumberEntriesI18n:ht,selectNoticeClearSelectionI18n:At,selectRowI18n:Et},notice:{rowCount:ne}},pagination:{nextLabel:rt,nextAriaLabel:lt,onClick:Ln,page:parseInt(ce.get(j)||"1",10)-1,pageCount:Math.ceil(ne/Pe),previousLabel:at,previousAriaLabel:st},search:{button:{customAttributes:{"data-test-id":"activity-log-search-trigger"},label:nt},input:{clearableButtonAttributes:{ariaLabel:Me,icon:"x-circle",iconPrefix:"gravitysmtp-admin-icon"},customAttributes:{"data-test-id":"activity-log-search-input"},placeholder:et,value:ce.get(T)||""},noResults:{Image:_.A},i18n:{searchNoResultsTitleI18n:gt,searchNoResultsMessageI18n:ft},onSearch:Ln}},sortable:!0,sortHandler:Ln,sortIconPrefix:"gravitysmtp-admin-icon",useAjax:!0};return mn.gravitysmtp_view_email_log&&d.React.createElement("div",(0,o.A)({},se,{ref:t}),d.React.createElement(p.A,{size:"display-sm",weight:"semibold",spacing:1,content:Ve}),d.React.createElement(b.A,{size:"text-sm",spacing:6,color:"comet",content:Ue}),d.React.createElement("div",{className:"gravitysmtp-activity-log-app__wrapper"},d.React.createElement(y.A,xn)))}));z.propTypes={customAttributes:d.PropTypes.object,customClasses:d.PropTypes.oneOfType([d.PropTypes.string,d.PropTypes.array,d.PropTypes.object])},z.displayName="ActivityLogScreen",t.default=z},98895:function(e,t,n){n.r(t);var o,r,i,a,c=n(88856),l=n(40450),u=n.n(l),s=n(13296);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function g(e){for(var t=1;t0&&void 0!==p[0]?p[0]:"",r=p.length>1&&void 0!==p[1]?p[1]:"debug",i=g.data,c=void 0===i?{}:i,u=g.endpoints,v=(null==(s=void 0===u?{}:u)||null===(t=s.log_debug_item)||void 0===t?void 0:t.action)||"",f=(null==s||null===(n=s.log_debug_item)||void 0===n?void 0:n.nonce)||"",null!=c&&c.debug_log_enabled&&v&&f&&o){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,(0,d.bE)({endpoint:l(),body:{action:v,security:f,message:o,priority:r}}).catch((function(e){}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}},93313:function(e,t,n){var o=n(52888),r=n(8140);t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*";return function n(i){return Object.entries(i).reduce((function(i,a){var c=(0,r.A)(a,2),l=c[0],u=c[1];return"object"===(0,o.A)(u)&&null!==u?i[l]=n(u):e.includes(l)?i[l]=null===u?null:t.repeat(u.length):i[l]=u,i}),Array.isArray(i)?[]:{})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.activity-log-screens-activity-log.b34bdc2523eeb9c8c24a.min.js b/assets/js/dist/scripts-admin.activity-log-screens-activity-log.b34bdc2523eeb9c8c24a.min.js new file mode 100644 index 0000000..e30bea7 --- /dev/null +++ b/assets/js/dist/scripts-admin.activity-log-screens-activity-log.b34bdc2523eeb9c8c24a.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[747,966,1920,6793,6961,7199],{77766:function(e,t,i){i.r(t);var r=i(55809),n={amazon_logo:r.AmazonAWSLogo,brevo_logo:r.BrevoLogo,generic_logo:r.CustomSMTPLogo,google_logo:r.GoogleLogo,mailgun_logo:r.MailgunLogo,mailchimp_logo:r.MailchimpLogo,microsoft_logo:r.MicrosoftLogo,php_logo:r.PHPLogo,postmark_logo:r.PostmarkLogo,sendgrid_logo:r.SendGridLogo,slack_logo:r.SlackLogo,smtp2go_logo:r.SMTP2GOLogo,sparkpost_logo:r.SparkPostLogo,telegram_logo:r.TelegramLogo,twilio_logo:r.TwilioLogo,whatsapp_logo:r.WhatsAppLogo,wp_mail_logo:r.WordPressLogo,zoho_logo:r.ZohoLogo};t.default=n},23664:function(e,t,i){i.r(t);var r=i(71860),n=i(90455),o=i(8140),a=i(88856),l=i(78564),c=i.n(l),s=i(27122),u=i.n(s),d=i(97867),g=i(60177),v=i(71376),f=i(84860),p=i(5529),m=i(30053),_=i(76910),y=i(66598),b=i(83391),h=i(12084),A=i(43054),w=i(77766),O=i(83707),k=i(93313),P=i(79929),S=i(98895),D=i(15027);function L(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function x(e){for(var t=1;t0?pe:7)),Fi=(0,o.A)(Ii,2),Mi=Fi[0],Ni=Fi[1],Hi=C(ve),zi=(0,o.A)(Hi,2),qi=zi[0],Gi=zi[1],Ji=T(),Ui=T(!1),Zi=(0,f.dh)(),Bi=(0,P.h)({page:q,searchTerm:G,filters:J}),Wi=(0,P.A)((0,a.A)({},Bi,{rows:oe,totalRowCount:ve})),Vi=Wi.pageCache,Yi=Wi.addPageCache;j((function(){if(Ji.current)if(Ui.current)Ui.current=!1;else{var e=Ri.get(M)||"1",t=parseInt(e,10)-1,i=Ri.get(N)||"",r=Ri.get(H)||"",n=(0,D.decodeFiltersFromUri)(r);ir({currentPage:t,searchTerm:i,filters:n},!0);var o=(0,D.getStateFromRequestData)(n,i,ar);vr(x(x({currentPage:t,searchTerm:i,searchActive:""!==i},o),h.qg.getDefaultState()))}else Ji.current=!0}),[Ri]);var $i,Ki=function(){var e=(0,n.A)(c().mark((function e(t){var i,r,n,o,a,l,s,d,f;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"preview"===t.action&&Ei(!0),i={action:bi,security:Ai,event_id:t.data.event_id},e.next=4,(0,O.A)((0,v.nv)(Jt,JSON.stringify((0,k.A)(["security"],i))),"info");case 4:return e.prev=4,e.next=7,(0,g.bE)({endpoint:u(),body:i});case 7:if(null==(n=e.sent)||null===(r=n.data)||void 0===r||!r.success){e.next=16;break}if(a=null==n||null===(o=n.data)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.log_detail,(!Array.isArray(a)||a.length)&&a){e.next=13;break}return Zi(Xt,"error"),e.abrupt("return");case 13:"preview"===t.action?ji({date:a.date,isHtml:a.is_html,id:a.log_id,fromHash:a.fromHash,from:a.from,to:a.to,title:a.subject}):(xi((null==n||null===(l=n.data)||void 0===l||null===(l=l.data)||void 0===l?void 0:l.log_detail)||{}),s=new URLSearchParams(wi.search),d=Z.nav_item_param_key||"tab",s.set(d,"log-details"),s.set("event_id",t.data.event_id),f=x(x({},wi),{},{search:"?".concat(s.toString())}),Oi(f,{state:{previous:"activity-log"}})),e.next=18;break;case 16:"preview"===t.action&&Ei(!1),Zi(ti,"error");case 18:e.next=25;break;case 20:return e.prev=20,e.t0=e.catch(4),Zi(e.t0.message,"error"),e.next=25,(0,O.A)((0,v.nv)(Zt,JSON.stringify(e.t0)),"error");case 25:case"end":return e.stop()}}),e,null,[[4,20]])})));return function(t){return e.apply(this,arguments)}}(),Qi=function(){var e=(0,n.A)(c().mark((function e(t){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Si(!0),Di(t.data.event_id),Li(t.action);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Xi=function(){var e=(0,n.A)(c().mark((function e(t){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("view"!==t.action&&"preview"!==t.action){e.next=5;break}return e.next=3,Ki(t);case 3:e.next=8;break;case 5:if(!["delete","resend"].includes(t.action)){e.next=8;break}return e.next=8,Qi(t);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),er=function(e){var t=e.page,i=e.searchTerm,r=void 0===i?"":i,n=e.filters,o=void 0===n?"":n,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=new URLSearchParams(wi.search);l.set(M,t),r?l.set(N,r):l.delete(N),o?l.set(H,o):l.delete(H),Oi("?".concat(l.toString()),{replace:a})},tr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.rows,i=void 0===t?[]:t,r=e.totalRowCount,n=void 0===r?0:r,o=i.length>0;Ni(o?pe:7),yr(i),Gi(parseInt(n,10))},ir=function(){var e=(0,n.A)(c().mark((function e(t){var i,r,n,o,a,l,s,u,d,f,p,m,_=arguments;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((i=_.length>1&&void 0!==_[1]&&_[1])||(Ui.current=!0),r=(0,D.encodeFiltersToUri)(t.filters),n={page:t.currentPage+1,searchTerm:t.searchTerm,filters:r},o=(0,P.h)(n),!Vi[o]){e.next=9;break}return tr(Vi[o]),er(n,i),e.abrupt("return",t.currentPage);case 9:return a={action:li,security:si,max_date:de,requested_page:t.currentPage+1,search_term:t.searchTerm||"",filters:t.filters},e.next=12,(0,O.A)((0,v.nv)(Ht,JSON.stringify((0,k.A)(["security"],a))),"info");case 12:return e.prev=12,e.next=15,(0,g.bE)({endpoint:Y,body:a});case 15:if(d=e.sent,f=(null==d||null===(l=d.data)||void 0===l||null===(l=l.data)||void 0===l?void 0:l.rows)||[],p=(null==d||null===(s=d.data)||void 0===s||null===(s=s.data)||void 0===s?void 0:s.total)||"0",null==d||null===(u=d.data)||void 0===u||!u.success){e.next=24;break}return Yi(o,m={rows:f,totalRowCount:p}),tr(m),er(n,i),e.abrupt("return",t.currentPage);case 24:Zi(Kt,"error"),e.next=32;break;case 27:return e.prev=27,e.t0=e.catch(12),Zi(e.t0.message,"error"),e.next=32,(0,O.A)((0,v.nv)(qt,JSON.stringify(e.t0)),"error");case 32:case"end":return e.stop()}}),e,null,[[12,27]])})));return function(t){return e.apply(this,arguments)}}(),rr=function(){var e=(0,n.A)(c().mark((function e(t){var i,r=arguments;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.length>1&&void 0!==r[1]&&r[1],e.next=3,ir((0,D.getRequestDataFromState)(t),i);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),nr=function(){var e=(0,n.A)(c().mark((function e(t){var i,r,n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={action:vi,security:pi,max_date:de,event_ids:(null==gr?void 0:gr.selectedRows)||[],all_events:null!=gr&&gr.selectedAllRowsOnAllPages?"1":"0",search_term:(null==gr?void 0:gr.searchTerm)||"",filters:(null==gr?void 0:gr.filters)||[]},e.next=3,(0,O.A)((0,v.nv)(It,JSON.stringify((0,k.A)(["security"],i))),"info");case 3:return e.prev=3,e.next=6,(0,g.bE)({endpoint:u(),body:i});case 6:null!=(n=e.sent)&&null!==(r=n.data)&&void 0!==r&&r.success?window.location.href=K:(Zi(Yt,"error"),pr(!1)),e.next=16;break;case 10:return e.prev=10,e.t0=e.catch(3),Zi(Yt,"error"),pr(!1),e.next=16,(0,O.A)((0,v.nv)(Mt,JSON.stringify(e.t0)),"error");case 16:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}(),or=function(){var e=(0,n.A)(c().mark((function e(t){var i;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"delete"===(null==gr?void 0:gr.selectedBulkAction)&&Pi({confirmDialogI18n:{confirm_change_heading:be,confirm_change_content:Ae.replace("%1$s",String(null!=gr&&gr.selectedAllRowsOnAllPages?qi.toLocaleString():null==gr||null===(i=gr.selectedRows)||void 0===i?void 0:i.length))},confirmDialogOnCancel:function(){return ki(!1)},confirmDialogOnClose:function(){return ki(!1)},confirmDialogOnConfirm:function(){var e=(0,n.A)(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return ki(!1),pr(!0),e.next=4,nr(t);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),confirmDialogOpen:!0});case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ar={bulkActions:{button:{customAttributes:{"data-test-id":"activity-log-bulk-actions-trigger"},id:"activity-log-bulk-actions-trigger",label:Xe,onClick:or},select:{customAttributes:{"data-test-id":"activity-log-bulk-actions-select"},id:"activity-log-bulk-actions-select",labelAttributes:{label:Ke,isVisible:!1},options:te},i18n:{bulkSelectI18n:xe,selectNoticeSelectedNumberEntriesI18n:bt,selectNoticeSelectedAllNumberEntriesI18n:At,selectNoticeSelectAllNumberEntriesI18n:Ot,selectNoticeClearSelectionI18n:Pt,selectRowI18n:Dt},notice:{rowCount:qi}},pagination:{nextLabel:ot,nextAriaLabel:st,onClick:rr,pageCount:Math.ceil(qi/Mi),previousLabel:lt,previousAriaLabel:dt},search:{button:{customAttributes:{"data-test-id":"activity-log-search-trigger"},id:"activity-log-search-trigger",label:rt},input:{clearableButtonAttributes:{ariaLabel:je,icon:"x-circle",iconPrefix:"gravitysmtp-admin-icon"},customAttributes:{"data-test-id":"activity-log-search-input"},id:"activity-log-search-input",placeholder:tt},noResults:{Image:_.A},i18n:{noResultsTitle:vt,noResultsMessage:pt,pillLabel:_t},onSearch:rr},activeFilters:{pill:{icon:"x-circle",iconPrefix:"gravitysmtp-admin-icon"},reset:{label:De},i18n:{activeFiltersLabel:Pe},onFilterChange:rr},simpleFilters:{droplist:{customClasses:["gravitysmtp-activity-log-app__activity-log-filters"],id:"activity-log-simple-filters",listItems:se,listItemAttributes:{iconAfter:"check-alt",groupIcon:"chevron-right",iconPrefix:"gravitysmtp-admin-icon"},reset:{hasReset:!0,label:jt},triggerAttributes:{ariaId:"activity-log-simple-filters-aria-text",ariaText:xt,icon:"filters",iconPrefix:"gravitysmtp-admin-icon",id:"activity-log-simple-filters-trigger",size:"size-height-m"}},onFilterChange:rr},dateFilters:{calendarAttributes:{tileDisabled:function(e){return e.date>new Date}},customClasses:["gravitysmtp-activity-log-app__activity-log-date-filters"],triggerAttributes:{ariaText:Ie,icon:"calendar",iconPrefix:"gravitysmtp-admin-icon",id:"date-filters"},id:"activity-log-date-filters",onChange:rr,resetAttributes:{label:Me},todayAttributes:{label:He},i18n:{pillLabel:Ce}}},lr=(0,D.decodeFiltersFromUri)(Ri.get(H)||""),cr=(0,D.getStateFromRequestData)(lr,Ri.get(N)||"",ar),sr=[h.qg,h.hi,h.vj,h.MM,h.CI,h.Sv],ur=!0,dr=(0,A.A)({data:oe,dataPerPage:pe,initialState:{isLoading:!1,moduleState:{currentPage:parseInt(q,10)-1,searchTerm:G,searchActive:""!==G,filters:cr.filters,dateFilters:cr.dateFilters}},modules:sr,useAjax:ur}),gr=dr.moduleState,vr=dr.updateModuleState,fr=dr.isLoading,pr=dr.setIsLoading,mr=dr.gridLocked,_r=dr.organizedData,yr=dr.setOrganizedData,br={customClasses:["gravitysmtp-activity-log-app__activity-log-table"],id:"gravitysmtp-activity-log-app__activity-log-table",columns:re,columnStyleProps:le,data:($i=_r,$i.map((function(e){return x(x({},e),Object.fromEntries(Object.entries(e).map((function(e){var t=(0,o.A)(e,2),i=t[0],r=t[1];return[i,"id"===i?r:x(x({},r),{},{component:r.external?w.default[r.key]||w.default.generic_logo:r.component})]}))))}))),dataPerPage:Mi,EmptyImage:m.A,emptyMessageAttributes:{style:{maxWidth:"362px"}},gridLocked:mr,handleGridClicks:Xi,i18n:{emptyMessageI18n:qe,emptyTitleI18n:Je,gridHeadingI18n:Ye},isLoading:fr,maintainHeight:0===_r.length,modules:sr,moduleAttributes:ar,moduleState:gr,setIsLoading:pr,updateModuleState:vr,useAjax:ur},hr=x({className:(0,d.classnames)({"gravitysmtp-activity-log-app__email-log":!0},L)},l);return _e.gravitysmtp_view_email_log&&d.React.createElement("div",(0,r.A)({},hr,{ref:t}),d.React.createElement(p.A,{size:"display-sm",weight:"semibold",spacing:1,content:Ze}),d.React.createElement(y.A,{size:"text-sm",spacing:6,color:"comet",content:We}),d.React.createElement("div",{className:"gravitysmtp-activity-log-app__wrapper"},d.React.createElement(b.A,br)))}));U.propTypes={customAttributes:d.PropTypes.object,customClasses:d.PropTypes.oneOfType([d.PropTypes.string,d.PropTypes.array,d.PropTypes.object]),common:d.PropTypes.object,data:d.PropTypes.object,i18n:d.PropTypes.object},U.displayName="ActivityLogScreen",t.default=U},98895:function(e,t,i){i.r(t);var r,n,o=i(40450),a=i.n(o),l=i(8173),c=(null===(r=(0,i(71376).zj)(a(),"gravitysmtp_admin_config"))||void 0===r||null===(r=r.components)||void 0===r?void 0:r.activity_log)||{},s={confirmDialogConfirmButtonType:"primary-new",confirmDialogI18n:{},confirmDialogOnCancel:function(){},confirmDialogOnConfirm:function(){},confirmDialogOpen:!1,logDetail:(null==c||null===(n=c.data)||void 0===n?void 0:n.log_detail)||{},singleActivityDialogOpen:!1,singleActivityEventId:0,singleActivityType:"",viewEmailDialogOpen:!1,viewEmailEventId:0,viewEmailEventIsHtml:!1,viewEmailEventDate:"",viewEmailEventFromHash:"",viewEmailEventFrom:"",viewEmailEventTo:"",viewEmailEventTitle:""},u=(0,l.vt)(s,(function(e){return{setConfirmDialogOpen:function(t){return e((function(){return{confirmDialogOpen:t}}))},setConfirmDialogSettings:function(t){var i=t.confirmDialogConfirmButtonType,r=void 0===i?"primary-new":i,n=t.confirmDialogI18n,o=void 0===n?{}:n,a=t.confirmDialogOpen,l=void 0!==a&&a,c=t.confirmDialogOnCancel,s=void 0===c?function(){}:c,u=t.confirmDialogOnClose,d=void 0===u?function(){}:u,g=t.confirmDialogOnConfirm,v=void 0===g?function(){}:g;e((function(){return{confirmDialogConfirmButtonType:r,confirmDialogI18n:o,confirmDialogOpen:l,confirmDialogOnCancel:s,confirmDialogOnClose:d,confirmDialogOnConfirm:v}}))},setLogDetail:function(t){return e({logDetail:t})},setSingleActivityDialogOpen:function(t){return e({singleActivityDialogOpen:t})},setSingleActivityEventId:function(t){return e({singleActivityEventId:t})},setSingleActivityType:function(t){return e({singleActivityType:t})},setViewEmailDialogOpen:function(t){return e({viewEmailDialogOpen:t})},setViewEmailEventProperties:function(t){return e({viewEmailEventId:t.id,viewEmailEventIsHtml:t.isHtml,viewEmailEventDate:t.date,viewEmailEventFromHash:t.fromHash,viewEmailEventFrom:t.from,viewEmailEventTo:t.to,viewEmailEventTitle:t.title})}}}));t.default=u},15027:function(e,t,i){i.r(t),i.d(t,{decodeFiltersFromUri:function(){return d},encodeFiltersToUri:function(){return g},getRequestDataFromState:function(){return f},getStateFromRequestData:function(){return m}});var r=i(88856),n=i(18134),o=i(87708),a=i(39577),l=i(71376);function c(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function s(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",t={};if(e)try{t=JSON.parse(atob(e))}catch(e){}return t},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t="";if(e&&!(0,l.RI)(e))try{t=btoa(JSON.stringify(e))}catch(e){}return t},v=function(e){var t=e.getFullYear(),i=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(i,"-").concat(r)},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.filters,i=(void 0===t?[]:t).reduce((function(e,t){return t.key===a.xw?e:t.key===a.Zu&&2===t.value.length?(e[t.key]=t.value.map(v),e):e[t.key]?(e[t.key]=[].concat((0,n.A)(e[t.key]),[t.value]),e):(e[t.key]=[t.value],e)}),{});return s(s({},e),{},{filters:i})},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:[]).reduce((function(i,r){var n;if(i)return i;if(r.listItems){var o=p(e,t,r.listItems);if(o)return o}var a=(null==r||null===(n=r.props)||void 0===n?void 0:n.customAttributes)||{},l=a["data-key"],c=a["data-value"],s=a["data-pill-label"],u=a.id;return l===e&&c===t?{id:u,key:e,label:s,value:t}:i}),null)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=i.dateFilter,o=void 0===r?{}:r,l=o.dateFormatOptions,c=void 0===l?{day:"numeric",month:"short",year:"numeric"}:l,s=o.i18n,d=(void 0===s?{}:s).pillLabel,g=void 0===d?"Date: %s":d,v=i.search.i18n.pillLabel,f=void 0===v?"Search: %s":v,m=i.simpleFilters.droplist,_=(void 0===m?{}:m).listItems,y=void 0===_?[]:_,b=[],h=[];return t&&b.push({id:a.xw,key:a.xw,label:u(a.xw,t,f),value:t}),Object.keys(e).forEach((function(t){if(t===a.Zu&&Array.isArray(e[t]))h.push.apply(h,(0,n.A)(["".concat(e[t][0]," 00:00:00"),"".concat(e[t][1]," 23:59:59")].map((function(e){return new Date(e)})))),b.push({id:a.Zu,key:a.Zu,label:u(a.Zu,h,g,c),value:h});else if(Array.isArray(e[t]))e[t].forEach((function(e){var i=p(t,e,y);i&&b.push(i)}));else{var i=p(t,e[t],y);i&&b.push(i)}})),{dateFilters:h,filters:b}}},55809:function(e,t,i){i.r(t),i.d(t,{AmazonAWSLogo:function(){return r.A},BrevoLogo:function(){return n.A},CustomSMTPLogo:function(){return o.A},GoogleAltLogo:function(){return a.A},GoogleLogo:function(){return l.A},MailchimpLogo:function(){return s.A},MailgunLogo:function(){return c.A},MandrillLogo:function(){return u.A},MicrosoftAltLogo:function(){return d.A},MicrosoftLogo:function(){return g.A},PHPLogo:function(){return v.A},PostmarkLogo:function(){return f.A},SMTP2GOLogo:function(){return _.A},SendGridLogo:function(){return p.A},SlackLogo:function(){return m.A},SparkPostLogo:function(){return y.A},TelegramLogo:function(){return b.A},TwilioLogo:function(){return h.A},WhatsAppLogo:function(){return A.A},WordPressLogo:function(){return w.A},ZohoAltLogo:function(){return k},ZohoLogo:function(){return O.A}});var r=i(80403),n=i(53214),o=i(26220),a=i(63660),l=i(80419),c=i(73437),s=i(8524),u=i(49501),d=i(40783),g=i(55582),v=i(814),f=i(10503),p=i(83654),m=i(15034),_=i(68694),y=i(14945),b=i(23203),h=i(6560),A=i(73650),w=i(84173),O=i(64158),k=O.A},83707:function(e,t,i){i.d(t,{A:function(){return v}});var r,n=i(90455),o=i(78564),a=i.n(o),l=i(27122),c=i.n(l),s=i(40450),u=i.n(s),d=i(60177),g=(null===(r=(0,i(71376).zj)(u(),"gravitysmtp_admin_config"))||void 0===r?void 0:r.common)||{};function v(){return f.apply(this,arguments)}function f(){return f=(0,n.A)(a().mark((function e(){var t,i,r,n,o,l,s,u,v,f,p=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=p.length>0&&void 0!==p[0]?p[0]:"",n=p.length>1&&void 0!==p[1]?p[1]:"debug",o=g.data,l=void 0===o?{}:o,s=g.endpoints,v=(null==(u=void 0===s?{}:s)||null===(t=u.log_debug_item)||void 0===t?void 0:t.action)||"",f=(null==u||null===(i=u.log_debug_item)||void 0===i?void 0:i.nonce)||"",null!=l&&l.debug_log_enabled&&v&&f&&r){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,(0,d.bE)({endpoint:c(),body:{action:v,security:f,message:r,priority:n}}).catch((function(e){}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}},93313:function(e,t,i){var r=i(52888),n=i(8140);t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*",i=function(o){return Object.entries(o).reduce((function(o,a){var l=(0,n.A)(a,2),c=l[0],s=l[1];return"object"===(0,r.A)(s)&&null!==s?o[c]=i(s):e.includes(c)?o[c]=null===s?null:t.repeat(s.length):o[c]=s,o}),Array.isArray(o)?[]:{})};return i(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},79929:function(e,t,i){i.d(t,{h:function(){return s}});var r=i(88856),n=i(8140),o=i(97867);function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function l(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.page,i=void 0===t?1:t,r=e.searchTerm,n=void 0===r?"":r,o=e.filters,a=void 0===o?"":o,l="page-".concat(i);return n&&(l+="-".concat(n)),a&&(l+="-".concat(a)),l};t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=c((function(){return e})),i=(0,n.A)(t,2),o=i[0],a=i[1];return{pageCache:o,addPageCache:function(e,t){a((function(i){return l(l({},i),{},(0,r.A)({},e,t))}))}}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.activity-log-screens-log-details.5040fe9b27cf4de723c8.min.js b/assets/js/dist/scripts-admin.activity-log-screens-log-details.5040fe9b27cf4de723c8.min.js deleted file mode 100644 index a9bd51a..0000000 --- a/assets/js/dist/scripts-admin.activity-log-screens-log-details.5040fe9b27cf4de723c8.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[6961,6793],{98895:function(n,t,i){i.r(t);var e,o,r,a,l=i(88856),u=i(40450),c=i.n(u),d=i(13296);function v(n,t){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.push.apply(i,e)}return i}function f(n){for(var t=1;t0&&void 0!==s[0]?s[0]:"",o=s.length>1&&void 0!==s[1]?s[1]:"debug",r=f.data,l=void 0===r?{}:r,c=f.endpoints,m=(null==(d=void 0===c?{}:c)||null===(t=d.log_debug_item)||void 0===t?void 0:t.action)||"",g=(null==d||null===(i=d.log_debug_item)||void 0===i?void 0:i.nonce)||"",null!=l&&l.debug_log_enabled&&m&&g&&e){n.next=7;break}return n.abrupt("return");case 7:return n.next=9,(0,v.bE)({endpoint:u(),body:{action:m,security:g,message:e,priority:o}}).catch((function(n){}));case 9:return n.abrupt("return",n.sent);case 10:case"end":return n.stop()}}),n)}))),g.apply(this,arguments)}},93313:function(n,t,i){var e=i(52888),o=i(8140);t.A=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*";return function i(r){return Object.entries(r).reduce((function(r,a){var l=(0,o.A)(a,2),u=l[0],c=l[1];return"object"===(0,e.A)(c)&&null!==c?r[u]=i(c):n.includes(u)?r[u]=null===c?null:t.repeat(c.length):r[u]=c,r}),Array.isArray(r)?[]:{})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.activity-log-screens-log-details.a631c1c29f0776c9dcfa.min.js b/assets/js/dist/scripts-admin.activity-log-screens-log-details.a631c1c29f0776c9dcfa.min.js new file mode 100644 index 0000000..dda5869 --- /dev/null +++ b/assets/js/dist/scripts-admin.activity-log-screens-log-details.a631c1c29f0776c9dcfa.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[6793,6961],{98895:function(n,i,t){t.r(i);var e,o,l=t(40450),r=t.n(l),a=t(8173),c=(null===(e=(0,t(71376).zj)(r(),"gravitysmtp_admin_config"))||void 0===e||null===(e=e.components)||void 0===e?void 0:e.activity_log)||{},u={confirmDialogConfirmButtonType:"primary-new",confirmDialogI18n:{},confirmDialogOnCancel:function(){},confirmDialogOnConfirm:function(){},confirmDialogOpen:!1,logDetail:(null==c||null===(o=c.data)||void 0===o?void 0:o.log_detail)||{},singleActivityDialogOpen:!1,singleActivityEventId:0,singleActivityType:"",viewEmailDialogOpen:!1,viewEmailEventId:0,viewEmailEventIsHtml:!1,viewEmailEventDate:"",viewEmailEventFromHash:"",viewEmailEventFrom:"",viewEmailEventTo:"",viewEmailEventTitle:""},v=(0,a.vt)(u,(function(n){return{setConfirmDialogOpen:function(i){return n((function(){return{confirmDialogOpen:i}}))},setConfirmDialogSettings:function(i){var t=i.confirmDialogConfirmButtonType,e=void 0===t?"primary-new":t,o=i.confirmDialogI18n,l=void 0===o?{}:o,r=i.confirmDialogOpen,a=void 0!==r&&r,c=i.confirmDialogOnCancel,u=void 0===c?function(){}:c,v=i.confirmDialogOnClose,m=void 0===v?function(){}:v,f=i.confirmDialogOnConfirm,g=void 0===f?function(){}:f;n((function(){return{confirmDialogConfirmButtonType:e,confirmDialogI18n:l,confirmDialogOpen:a,confirmDialogOnCancel:u,confirmDialogOnClose:m,confirmDialogOnConfirm:g}}))},setLogDetail:function(i){return n({logDetail:i})},setSingleActivityDialogOpen:function(i){return n({singleActivityDialogOpen:i})},setSingleActivityEventId:function(i){return n({singleActivityEventId:i})},setSingleActivityType:function(i){return n({singleActivityType:i})},setViewEmailDialogOpen:function(i){return n({viewEmailDialogOpen:i})},setViewEmailEventProperties:function(i){return n({viewEmailEventId:i.id,viewEmailEventIsHtml:i.isHtml,viewEmailEventDate:i.date,viewEmailEventFromHash:i.fromHash,viewEmailEventFrom:i.from,viewEmailEventTo:i.to,viewEmailEventTitle:i.title})}}}));i.default=v},83707:function(n,i,t){t.d(i,{A:function(){return g}});var e,o=t(90455),l=t(78564),r=t.n(l),a=t(27122),c=t.n(a),u=t(40450),v=t.n(u),m=t(60177),f=(null===(e=(0,t(71376).zj)(v(),"gravitysmtp_admin_config"))||void 0===e?void 0:e.common)||{};function g(){return s.apply(this,arguments)}function s(){return s=(0,o.A)(r().mark((function n(){var i,t,e,o,l,a,u,v,g,s,d=arguments;return r().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e=d.length>0&&void 0!==d[0]?d[0]:"",o=d.length>1&&void 0!==d[1]?d[1]:"debug",l=f.data,a=void 0===l?{}:l,u=f.endpoints,g=(null==(v=void 0===u?{}:u)||null===(i=v.log_debug_item)||void 0===i?void 0:i.action)||"",s=(null==v||null===(t=v.log_debug_item)||void 0===t?void 0:t.nonce)||"",null!=a&&a.debug_log_enabled&&g&&s&&e){n.next=7;break}return n.abrupt("return");case 7:return n.next=9,(0,m.bE)({endpoint:c(),body:{action:g,security:s,message:e,priority:o}}).catch((function(n){}));case 9:return n.abrupt("return",n.sent);case 10:case"end":return n.stop()}}),n)}))),s.apply(this,arguments)}},93313:function(n,i,t){var e=t(52888),o=t(8140);i.A=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*",t=function(l){return Object.entries(l).reduce((function(l,r){var a=(0,o.A)(r,2),c=a[0],u=a[1];return"object"===(0,e.A)(u)&&null!==u?l[c]=t(u):n.includes(c)?l[c]=null===u?null:i.repeat(u.length):l[c]=u,l}),Array.isArray(l)?[]:{})};return t(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.activity-log-store.587bc3da141cb3b000ca.min.js b/assets/js/dist/scripts-admin.activity-log-store.587bc3da141cb3b000ca.min.js deleted file mode 100644 index 0a9171d..0000000 --- a/assets/js/dist/scripts-admin.activity-log-store.587bc3da141cb3b000ca.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[6793],{98895:function(n,i,t){t.r(i);var e,o,r,a,l=t(88856),u=t(40450),c=t.n(u),v=t(13296);function f(n,i){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);i&&(e=e.filter((function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),t.push.apply(t,e)}return t}function d(n){for(var i=1;i0&&void 0!==arguments[0]?arguments[0]:"",e={};if(t)try{e=JSON.parse(atob(t))}catch(t){}return e},f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e="";if(t&&!(0,u.RI)(t))try{e=btoa(JSON.stringify(t))}catch(t){}return e},d=function(t){var e=t.getFullYear(),r=String(t.getMonth()+1).padStart(2,"0"),n=String(t.getDate()).padStart(2,"0");return"".concat(e,"-").concat(r,"-").concat(n)},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.filters,r=(void 0===e?[]:e).reduce((function(t,e){return e.key===o.xw?t:e.key===o.Zu&&2===e.value.length?(t[e.key]=e.value.map(d),t):t[e.key]?(t[e.key]=[].concat((0,i.A)(t[e.key]),[e.value]),t):(t[e.key]=[e.value],t)}),{});return l(l({},t),{},{filters:r})},y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:[]).reduce((function(r,n){var i;if(r)return r;if(n.listItems){var a=y(t,e,n.listItems);if(a)return a}var o=(null==n||null===(i=n.props)||void 0===i?void 0:i.customAttributes)||{},u=o["data-key"],c=o["data-value"],l=o["data-pill-label"],s=o.id;return u===t&&c===e?{id:s,key:t,label:l,value:e}:r}),null)},h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.dateFilter,a=void 0===n?{}:n,u=a.dateFormatOptions,c=void 0===u?{day:"numeric",month:"short",year:"numeric"}:u,l=a.i18n,v=(void 0===l?{}:l).pillLabel,f=void 0===v?"Date: %s":v,d=r.search.i18n.pillLabel,p=void 0===d?"Search: %s":d,h=r.simpleFilters.droplist,g=(void 0===h?{}:h).listItems,b=void 0===g?[]:g,O=[],m=[];return e&&O.push({id:o.xw,key:o.xw,label:s(o.xw,e,p),value:e}),Object.keys(t).forEach((function(e){if(e===o.Zu&&Array.isArray(t[e]))m.push.apply(m,(0,i.A)(["".concat(t[e][0]," 00:00:00"),"".concat(t[e][1]," 23:59:59")].map((function(t){return new Date(t)})))),O.push({id:o.Zu,key:o.Zu,label:s(o.Zu,m,f,c),value:m});else if(Array.isArray(t[e]))t[e].forEach((function(t){var r=y(e,t,b);r&&O.push(r)}));else{var r=y(e,t[e],b);r&&O.push(r)}})),{dateFilters:m,filters:O}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.activity-log.f192e72f2ecad5c0aa91.min.js b/assets/js/dist/scripts-admin.activity-log.f192e72f2ecad5c0aa91.min.js deleted file mode 100644 index 4197444..0000000 --- a/assets/js/dist/scripts-admin.activity-log.f192e72f2ecad5c0aa91.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[3409,628,812],{59238:function(e,t,a){a.r(t);var i=a(88856),n=a(8140),r=a(97867),o=a(62825),c=a(84860),s=a(3258),l=a(64688),m=a(72695),d=a(16954),u=a(23664),p=a(52217),v=a(98895);function f(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function g(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0],a=new URLSearchParams(S.search),i=T.nav_item_param_key||"tab";if("activity-log"!==a.get(i))if(a.delete("event_id"),a.set(i,"activity-log"),"activity-log"===(null==S||null===(e=S.state)||void 0===e?void 0:e.previous)){if(!t)return void x(-1);window.location.href="".concat(S.pathname,"?").concat(a.toString())}else{if(!t){var n=E(E({},S),{},{search:"?".concat(a.toString())});x(n,{state:{previous:"log-details"}})}window.location.href="".concat(S.pathname,"?").concat(a.toString())}else t&&window.location.reload()},de={onCloseAfterAnimation:function(){I(0),V(!1)},closeOnMaskClick:!1,customWrapperClasses:["gravitysmtp-delete-activity__dialog"],customCloseButtonLabelAttributes:{className:(0,d.classnames)({"gform-button__icon":!0,"gravitysmtp-admin-icon":!0,"gravitysmtp-admin-icon--x":!0})},description:Z,isOpen:z,maskTheme:"light",maxHeight:"90vh",mode:"modal",padContent:!1,position:"absolute",showCloseButton:!1,theme:"cosmos",title:X},ue=function(){var e=(0,n.A)(s().mark((function e(){var t,a,i,n;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return V(!0),t={action:U,security:q,event_id:H},e.next=4,(0,_.A)((0,p.nv)(oe,JSON.stringify((0,w.A)(["security"],t))),"info");case 4:return e.prev=4,e.next=7,(0,u.bE)({endpoint:m(),body:t});case 7:null!=(i=e.sent)&&null!==(a=i.data)&&void 0!==a&&a.success?(L(H),W(null==i||null===(n=i.data)||void 0===n||null===(n=n.data)||void 0===n?void 0:n.message)):W(K,"error"),B(!1),me(!0),e.next=18;break;case 13:return e.prev=13,e.t0=e.catch(4),W(e.t0,"error"),e.next=18,(0,_.A)((0,p.nv)(se,JSON.stringify(e.t0)),"error");case 18:case"end":return e.stop()}}),e,null,[[4,13]])})));return function(){return e.apply(this,arguments)}}();return d.React.createElement("div",(0,i.A)({},le,{ref:t}),d.React.createElement(g.A,de,d.React.createElement(f.A,{container:!0,customClasses:["gravitysmtp-delete-activity__dialog-actions"],justifyContent:"flex-start",columnSpacing:3,spacing:[8,0,0,0],type:"fluid"},d.React.createElement(f.A,{item:!0,width:6},d.React.createElement(v.A,{label:ae,onClick:function(){return B(!1)},type:"white",width:"full"})),d.React.createElement(f.A,{item:!0,width:6},d.React.createElement(v.A,{active:J,activeType:"loader",label:ee,onClick:ue,width:"full"})))))}));A.propTypes={customAttributes:d.PropTypes.object,customClasses:d.PropTypes.oneOfType([d.PropTypes.string,d.PropTypes.array,d.PropTypes.object]),common:d.PropTypes.object,data:d.PropTypes.object,i18n:d.PropTypes.object},t.default=A},16954:function(e,t,a){a.r(t);var i=a(71860),n=a(88856),r=a(97867),o=a(10997),c=a(30242),s=a(43632);function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}var m=(0,r.React.forwardRef)((function(e,t){var a=e.customAttributes,m=void 0===a?{}:a,d=e.customClasses,u=void 0===d?[]:d,p=e.common,v=void 0===p?{}:p,f=e.showModes,g=void 0===f||f,y=function(e){for(var t=1;t1&&n.setDate(e.getDate()-t+1),1===t?[e,e]:[n,e]},E=function(t,e){var n,a,r,o;return n=e,a={year:"numeric",month:"short",day:"numeric"},r=t.toLocaleDateString(void 0,a),o=n.toLocaleDateString(void 0,a),r===o?r:"".concat(r," - ").concat(o)},x=A((function(t,e){var n,a=t.customAttributes,s=void 0===a?{}:a,f=t.customClasses,m=void 0===f?[]:f,g=t.data,b=void 0===g?{}:g,y=t.i18n,O=void 0===y?{}:y,h=b.date_ranges,D=void 0===h?{}:h,w=D.initial_value,A=void 0===w?0:w,x=D.max_end,C=void 0===x?"":x,R=D.min_start,F=void 0===R?"":R,T=D.options,z=void 0===T?[]:T,L=C?new Date(C):null,N=F?new Date(F):null,V=O.stats,I=(void 0===V?{}:V).date_range_label,M=void 0===I?"":I,Y=(null===(n=z.find((function(t){return t.value===A})))||void 0===n?void 0:n.label)||"",q=S(A),B=E(q[0],q[1]),G=(0,j.default)((function(t){return t.setLoadingData})),H=(0,j.default)((function(t){return t.setStateValues})),J=k(Y),K=(0,c.A)(J,2),Q=K[0],U=K[1],W=k(A),X=(0,c.A)(W,2),Z=X[0],$=X[1],tt=k(B),et=(0,c.A)(tt,2),nt=et[0],at=et[1],rt=k(q),ot=(0,c.A)(rt,2),it=ot[0],ct=ot[1],st=function(t){for(var e=1;e1&&void 0!==arguments[1])||arguments[1],n=t.getFullYear(),a=String(t.getMonth()+1).padStart(2,"0"),r=String(t.getDate()).padStart(2,"0");return"".concat(n,"-").concat(a,"-").concat(r," ").concat(e?"00:00:00":"23:59:59")},i=o(n),s=o(a,!1),u=E(n,a),at(u),t.next=12,P({startDate:i,endDate:s,successCallback:function(t){lt(t)}});case 12:ct(e),G(!1);case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),vt={calendarAttributes:{maxDate:L,minDate:N,onChange:dt,selectRange:!0,value:it},triggerAttributes:{customClasses:["gravitysmtp-dashboard-app__date-filters__datepicker"],label:nt,icon:"calendar",iconPrefix:"gravitysmtp-admin-icon",iconPosition:"leading"},withTrigger:!0},pt=z.map((function(t){return{key:"list-item-".concat(t.value),props:{id:"list-item-".concat(t.value),label:t.label,customAttributes:{disabled:Z===t.value,id:"list-item-".concat(t.value),onClick:(e=(0,o.A)(l().mark((function e(n){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ut(n,t.label,t.value);case 2:G(!1);case 3:case"end":return e.stop()}}),e)}))),function(t){return e.apply(this,arguments)})}}};var e})),ft={closeOnClick:!0,customClasses:["gravitysmtp-dashboard-app__date-filters__date-filter"],listItems:pt,triggerAttributes:{iconPrefix:"gravitysmtp-admin-icon",icon:"accordion-arrow",iconPosition:"trailing",label:Q,size:"size-height-m",type:"white"},width:192};return u.React.createElement("div",(0,r.A)({},st,{ref:e}),u.React.createElement(d.A,{display:"flex",spacing:6},u.React.createElement(p.Ay,ft),u.React.createElement(v.A,vt)))}));x.propTypes={customAttributes:u.PropTypes.object,customClasses:u.PropTypes.oneOfType([u.PropTypes.string,u.PropTypes.array,u.PropTypes.object])},x.displayName="DateFilters";var C=x},84437:function(t,e,n){n.r(e);var a,r,o,i,c,s,l,u,d=n(88856),v=n(40450),p=n.n(v),f=n(13296);function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function g(t){for(var e=1;e1&&n.setDate(e.getDate()-t+1),1===t?[e,e]:[n,e]},E=function(t,e){var n,a,r,o;return n=e,a={year:"numeric",month:"short",day:"numeric"},r=t.toLocaleDateString(void 0,a),o=n.toLocaleDateString(void 0,a),r===o?r:"".concat(r," - ").concat(o)},x=A((function(t,e){var n,a=t.customAttributes,s=void 0===a?{}:a,f=t.customClasses,m=void 0===f?[]:f,g=t.data,b=void 0===g?{}:g,y=t.i18n,O=void 0===y?{}:y,h=b.date_ranges,D=void 0===h?{}:h,w=D.initial_value,A=void 0===w?0:w,x=D.max_end,C=void 0===x?"":x,R=D.min_start,F=void 0===R?"":R,T=D.options,z=void 0===T?[]:T,L=C?new Date(C):null,N=F?new Date(F):null,V=O.stats,I=(void 0===V?{}:V).date_range_label,M=void 0===I?"":I,Y=(null===(n=z.find((function(t){return t.value===A})))||void 0===n?void 0:n.label)||"",q=S(A),B=E(q[0],q[1]),G=(0,j.default)((function(t){return t.setLoadingData})),H=(0,j.default)((function(t){return t.setStateValues})),J=k(Y),K=(0,c.A)(J,2),Q=K[0],U=K[1],W=k(A),X=(0,c.A)(W,2),Z=X[0],$=X[1],tt=k(B),et=(0,c.A)(tt,2),nt=et[0],at=et[1],rt=k(q),ot=(0,c.A)(rt,2),it=ot[0],ct=ot[1],st=function(t){for(var e=1;e1&&void 0!==arguments[1])||arguments[1],n=t.getFullYear(),a=String(t.getMonth()+1).padStart(2,"0"),r=String(t.getDate()).padStart(2,"0");return"".concat(n,"-").concat(a,"-").concat(r," ").concat(e?"00:00:00":"23:59:59")},i=o(n),s=o(a,!1),u=E(n,a),at(u),t.next=12,P({startDate:i,endDate:s,successCallback:function(t){lt(t)}});case 12:ct(e),G(!1);case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),vt={calendarAttributes:{maxDate:L,minDate:N,onChange:dt,selectRange:!0,value:it},triggerAttributes:{customClasses:["gravitysmtp-dashboard-app__date-filters__datepicker"],label:nt,icon:"calendar",iconPrefix:"gravitysmtp-admin-icon",iconPosition:"leading"},withTrigger:!0},pt=z.map((function(t){return{key:"list-item-".concat(t.value),props:{id:"list-item-".concat(t.value),label:t.label,customAttributes:{disabled:Z===t.value,id:"list-item-".concat(t.value),onClick:(e=(0,o.A)(l().mark((function e(n){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ut(n,t.label,t.value);case 2:G(!1);case 3:case"end":return e.stop()}}),e)}))),function(t){return e.apply(this,arguments)})}}};var e})),ft={closeOnClick:!0,customClasses:["gravitysmtp-dashboard-app__date-filters__date-filter"],listItems:pt,triggerAttributes:{iconPrefix:"gravitysmtp-admin-icon",icon:"accordion-arrow",iconPosition:"trailing",label:Q,size:"size-height-m",type:"white"},width:192};return u.React.createElement("div",(0,r.A)({},st,{ref:e}),u.React.createElement(d.A,{display:"flex",spacing:6},u.React.createElement(p.Ay,ft),u.React.createElement(v.A,vt)))}));x.propTypes={customAttributes:u.PropTypes.object,customClasses:u.PropTypes.oneOfType([u.PropTypes.string,u.PropTypes.array,u.PropTypes.object])},x.displayName="DateFilters";var C=x},84437:function(t,e,n){n.r(e);var a,r,o,i,c,s,l,u,d=n(88856),v=n(40450),p=n.n(v),f=n(8173);function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function g(t){for(var e=1;e0?n.React.createElement(s.A,{data:w,height:250,options:_,xAxisProps:{dataKey:"xAxisKey"}}):n.React.createElement(u.default,{i18n:P});return n.React.createElement("div",(0,a.A)({},j,{ref:e}),n.React.createElement(c.A,{HeaderContent:function(t){return n.React.createElement(l.A,(0,a.A)({content:A,tagName:"h2",size:"text-lg",weight:"medium"},t))},spacing:[6,0,6,0]},n.React.createElement(i.A,{customClasses:["gravitysmtp-dashboard-app__email-stats-chart"]},h&&n.React.createElement(p.default,null),S)))}));v.propTypes={customAttributes:n.PropTypes.object,customClasses:n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.array,n.PropTypes.object])},v.displayName="EmailStatsChart",e.default=v},9562:function(t,e,r){r.r(e);var a=r(71860),o=r(88856),n=r(97867),s=r(32722);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}var i=(0,n.React.forwardRef)((function(t,e){var r=t.customAttributes,i=void 0===r?{}:r,l=t.customClasses,p=void 0===l?[]:l,u=t.maskColor,d=void 0===u?"white":u,f=function(t){for(var e=1;e0?n.React.createElement(s.A,{data:w,height:250,options:_,xAxisProps:{dataKey:"xAxisKey"}}):n.React.createElement(u.default,{i18n:P});return n.React.createElement("div",(0,a.A)({},j,{ref:e}),n.React.createElement(c.A,{HeaderContent:function(t){return n.React.createElement(l.A,(0,a.A)({content:A,tagName:"h2",size:"text-lg",weight:"medium"},t))},spacing:[6,0,6,0]},n.React.createElement(i.A,{customClasses:["gravitysmtp-dashboard-app__email-stats-chart"]},h&&n.React.createElement(p.default,null),S)))}));v.propTypes={customAttributes:n.PropTypes.object,customClasses:n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.array,n.PropTypes.object])},v.displayName="EmailStatsChart",e.default=v},9562:function(t,e,r){r.r(e);var a=r(71860),o=r(88856),n=r(97867),s=r(32722);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}var i=(0,n.React.forwardRef)((function(t,e){var r=t.customAttributes,i=void 0===r?{}:r,l=t.customClasses,p=void 0===l?[]:l,u=t.maskColor,d=void 0===u?"white":u,f=function(t){for(var e=1;e1?(0,v.nv)(E.emails,e.total):(0,v.nv)(E.email,e.total);return o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-sources-item"],spacing:r,key:"source-".concat(a)},o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-sources-name"],tagName:"span"},o.React.createElement(u.A,{altText:e.source,customClasses:["gravitysmtp-dashboard-app__rankings-sources-figure"],height:24,imageAttributes:{onError:function(e){e.target.src="".concat(w,"default-92.png")}},url:"".concat(w).concat(a,"-92.png"),width:24}),o.React.createElement(d.A,{content:e.source,size:"text-sm",spacing:[0,0,0,2],tagName:"span"})),o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-sources-status"],tagName:"span"},o.React.createElement(d.A,{color:"comet",content:n,size:"text-sm",spacing:[0,0,0,2],tagName:"span"})))})):[54,43,80,60,58].map((function(e,t){return o.React.createElement(h.default,{key:"stripe-recipient-".concat(t,"-").concat(e),spacing:[3,0,6,0],width:"".concat(e,"%")})}));case"recipients":return T.length?T.map((function(e,t){var r=t+1===T.length?[0,0,0,0]:[0,0,4,0],a=(0,v.Yv)(e.recipients),n=Number(e.total)>1?(0,v.nv)(E.emails,e.total):(0,v.nv)(E.email,e.total);return o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-recipients-item"],spacing:r,key:"recipient-".concat(a)},o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-recipients-name"],tagName:"span"},o.React.createElement(y.A,{circular:!0,emailHash:e.hash,defaultImage:"mp",height:24,width:24}),o.React.createElement(d.A,{content:e.recipients,size:"text-sm",spacing:[0,0,0,2],tagName:"span"})),o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-recipients-status"],tagName:"span"},o.React.createElement(d.A,{color:"comet",content:n,size:"text-sm",spacing:[0,0,0,2],tagName:"span"})))})):[62,80,55,81,71,42].map((function(e,t){return o.React.createElement(h.default,{key:"stripe-recipient-".concat(t,"-").concat(e),spacing:[3,0,6,0],width:"".concat(e,"%")})}));case"quick_links":return k.map((function(e,t){var r=t+1===k.length?[0,0,0,0]:[0,0,4,0],a=(0,v.Yv)(e.label);return o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-links-item"],spacing:r,key:"quick-link-".concat(a)},o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-links-link"],tagName:"span"},o.React.createElement(g.A,{customClasses:["gravitysmtp-dashboard-app__rankings-links-href"],content:e.label,href:e.href,target:"_blank"})),o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-links-icon"],tagName:"span"},o.React.createElement(p.A,{icon:"chevron-right",iconPrefix:"gravitysmtp-admin-icon"})))}));default:return null}},E=_((function(e,t){var r,i=e.customAttributes,p=void 0===i?{}:i,u=e.customClasses,g=void 0===u?[]:u,m=e.data,d=void 0===m?{}:m,f=e.i18n,y=void 0===f?{}:f,v=function(e){for(var t=1;t1?(0,v.nv)(E.emails,e.total):(0,v.nv)(E.email,e.total);return o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-sources-item"],spacing:r,key:"source-".concat(a)},o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-sources-name"],tagName:"span"},o.React.createElement(u.A,{altText:e.source,customClasses:["gravitysmtp-dashboard-app__rankings-sources-figure"],height:24,imageAttributes:{onError:function(e){e.target.src="".concat(w,"default-92.png")}},url:"".concat(w).concat(a,"-92.png"),width:24}),o.React.createElement(d.A,{content:e.source,size:"text-sm",spacing:[0,0,0,2],tagName:"span"})),o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-sources-status"],tagName:"span"},o.React.createElement(d.A,{color:"comet",content:n,size:"text-sm",spacing:[0,0,0,2],tagName:"span"})))})):[54,43,80,60,58].map((function(e,t){return o.React.createElement(h.default,{key:"stripe-recipient-".concat(t,"-").concat(e),spacing:[3,0,6,0],width:"".concat(e,"%")})}));case"recipients":return T.length?T.map((function(e,t){var r=t+1===T.length?[0,0,0,0]:[0,0,4,0],a=(0,v.Yv)(e.recipients),n=Number(e.total)>1?(0,v.nv)(E.emails,e.total):(0,v.nv)(E.email,e.total);return o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-recipients-item"],spacing:r,key:"recipient-".concat(a)},o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-recipients-name"],tagName:"span"},o.React.createElement(y.A,{circular:!0,emailHash:e.hash,defaultImage:"mp",height:24,width:24}),o.React.createElement(d.A,{content:e.recipients,size:"text-sm",spacing:[0,0,0,2],tagName:"span"})),o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-recipients-status"],tagName:"span"},o.React.createElement(d.A,{color:"comet",content:n,size:"text-sm",spacing:[0,0,0,2],tagName:"span"})))})):[62,80,55,81,71,42].map((function(e,t){return o.React.createElement(h.default,{key:"stripe-recipient-".concat(t,"-").concat(e),spacing:[3,0,6,0],width:"".concat(e,"%")})}));case"quick_links":return k.map((function(e,t){var r=t+1===k.length?[0,0,0,0]:[0,0,4,0],a=(0,v.Yv)(e.label);return o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-links-item"],spacing:r,key:"quick-link-".concat(a)},o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-links-link"],tagName:"span"},o.React.createElement(g.A,{customClasses:["gravitysmtp-dashboard-app__rankings-links-href"],content:e.label,href:e.href,target:"_blank"})),o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-links-icon"],tagName:"span"},o.React.createElement(p.A,{icon:"chevron-right",iconPrefix:"gravitysmtp-admin-icon"})))}));default:return null}},E=_((function(e,t){var r,i=e.customAttributes,p=void 0===i?{}:i,u=e.customClasses,g=void 0===u?[]:u,m=e.data,d=void 0===m?{}:m,f=e.i18n,y=void 0===f?{}:f,v=function(e){for(var t=1;t1&&r.setDate(t.getDate()-e+1),1===e?[t,t]:[r,t]},T=function(e,t){var r,a,n,o;return r=t,a={year:"numeric",month:"short",day:"numeric"},n=e.toLocaleDateString(void 0,a),o=r.toLocaleDateString(void 0,a),n===o?n:"".concat(n," - ").concat(o)},D=E((function(e,t){var r,a=e.customAttributes,c=void 0===a?{}:a,f=e.customClasses,g=void 0===f?[]:f,y=e.data,v=void 0===y?{}:y,b=e.i18n,h=void 0===b?{}:b,O=v.date_ranges,P=void 0===O?{}:O,A=P.initial_value,E=void 0===A?0:A,D=P.max_end,x=void 0===D?"":D,C=P.min_start,S=void 0===C?"":C,N=P.options,L=void 0===N?[]:N,z=x?new Date(x):null,F=S?new Date(S):null,M=h.stats,H=(void 0===M?{}:M).date_range_label,q=void 0===H?"":H,G=(null===(r=L.find((function(e){return e.value===E})))||void 0===r?void 0:r.label)||"",Y=k(E),I=T(Y[0],Y[1]),W=(0,_.default)((function(e){return e.setLoadingData})),K=(0,_.default)((function(e){return e.setStateValues})),V=R(G),B=(0,i.A)(V,2),Z=B[0],J=B[1],Q=R(E),U=(0,i.A)(Q,2),X=U[0],$=U[1],ee=R(I),te=(0,i.A)(ee,2),re=te[0],ae=te[1],ne=R(Y),oe=(0,i.A)(ne,2),se=oe[0],ie=oe[1],ce=function(e){for(var t=1;t1&&void 0!==arguments[1])||arguments[1],r=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return"".concat(r,"-").concat(a,"-").concat(n," ").concat(t?"00:00:00":"23:59:59")},s=o(r),c=o(a,!1),p=T(r,a),ae(p),e.next=12,j({startDate:s,endDate:c,successCallback:function(e){le(e)}});case 12:ie(t),W(!1);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),de={calendarAttributes:{maxDate:z,minDate:F,onChange:ue,selectRange:!0,value:se},triggerAttributes:{customClasses:["gravitysmtp-dashboard-app__date-filters__datepicker"],label:re,icon:"calendar",iconPrefix:"gravitysmtp-admin-icon",iconPosition:"leading"},withTrigger:!0},me=L.map((function(e){return{key:"list-item-".concat(e.value),props:{id:"list-item-".concat(e.value),label:e.label,customAttributes:{disabled:X===e.value,id:"list-item-".concat(e.value),onClick:(t=(0,o.A)(l().mark((function t(r){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,pe(r,e.label,e.value);case 2:W(!1);case 3:case"end":return t.stop()}}),t)}))),function(e){return t.apply(this,arguments)})}}};var t})),fe={closeOnClick:!0,customClasses:["gravitysmtp-dashboard-app__date-filters__date-filter"],listItems:me,triggerAttributes:{iconPrefix:"gravitysmtp-admin-icon",icon:"accordion-arrow",iconPosition:"trailing",label:Z,size:"size-height-m",type:"white"},width:192};return p.React.createElement("div",(0,n.A)({},ce,{ref:t}),p.React.createElement(u.A,{display:"flex",spacing:6},p.React.createElement(m.Ay,fe),p.React.createElement(d.A,de)))}));D.propTypes={customAttributes:p.PropTypes.object,customClasses:p.PropTypes.oneOfType([p.PropTypes.string,p.PropTypes.array,p.PropTypes.object])},D.displayName="DateFilters";var x=D},23198:function(e,t,r){r.r(t);var a=r(71860),n=r(88856),o=r(97867),s=r(64681),i=r(13379),c=r(30242),l=r(5529),p=r(9562),u=r(78703),d=r(84437);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}var f=(0,o.React.forwardRef)((function(e,t){var r=e.customAttributes,f=void 0===r?{}:r,g=e.customClasses,y=void 0===g?[]:g,v=e.data,b=void 0===v?{}:v,h=e.i18n,O=void 0===h?{}:h,P=function(e){for(var t=1;t0?o.React.createElement(s.A,{data:j,height:250,options:T,xAxisProps:{dataKey:"xAxisKey"}}):o.React.createElement(u.default,{i18n:O});return o.React.createElement("div",(0,a.A)({},P,{ref:t}),o.React.createElement(i.A,{HeaderContent:function(e){return o.React.createElement(l.A,(0,a.A)({content:E,tagName:"h2",size:"text-lg",weight:"medium"},e))},spacing:[6,0,6,0]},o.React.createElement(c.A,{customClasses:["gravitysmtp-dashboard-app__email-stats-chart"]},A&&o.React.createElement(p.default,null),D)))}));f.propTypes={customAttributes:o.PropTypes.object,customClasses:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.array,o.PropTypes.object])},f.displayName="EmailStatsChart",t.default=f},9562:function(e,t,r){r.r(t);var a=r(71860),n=r(88856),o=r(97867),s=r(32722);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}var c=(0,o.React.forwardRef)((function(e,t){var r=e.customAttributes,c=void 0===r?{}:r,l=e.customClasses,p=void 0===l?[]:l,u=e.maskColor,d=void 0===u?"white":u,m=function(e){for(var t=1;t1?(0,v.nv)(w.emails,e.total):(0,v.nv)(w.email,e.total);return o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-sources-item"],spacing:r,key:"source-".concat(a)},o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-sources-name"],tagName:"span"},o.React.createElement(u.A,{altText:e.source,customClasses:["gravitysmtp-dashboard-app__rankings-sources-figure"],height:24,imageAttributes:{onError:function(e){e.target.src="".concat(R,"default-92.png")}},url:"".concat(R).concat(a,"-92.png"),width:24}),o.React.createElement(f.A,{content:e.source,size:"text-sm",spacing:[0,0,0,2],tagName:"span"})),o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-sources-status"],tagName:"span"},o.React.createElement(f.A,{color:"comet",content:n,size:"text-sm",spacing:[0,0,0,2],tagName:"span"})))})):[54,43,80,60,58].map((function(e,t){return o.React.createElement(h.default,{key:"stripe-recipient-".concat(t,"-").concat(e),spacing:[3,0,6,0],width:"".concat(e,"%")})}));case"recipients":return T.length?T.map((function(e,t){var r=t+1===T.length?[0,0,0,0]:[0,0,4,0],a=(0,v.Yv)(e.recipients),n=Number(e.total)>1?(0,v.nv)(w.emails,e.total):(0,v.nv)(w.email,e.total);return o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-recipients-item"],spacing:r,key:"recipient-".concat(a)},o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-recipients-name"],tagName:"span"},o.React.createElement(y.A,{circular:!0,emailHash:e.hash,defaultImage:"mp",height:24,width:24}),o.React.createElement(f.A,{content:e.recipients,size:"text-sm",spacing:[0,0,0,2],tagName:"span"})),o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-recipients-status"],tagName:"span"},o.React.createElement(f.A,{color:"comet",content:n,size:"text-sm",spacing:[0,0,0,2],tagName:"span"})))})):[62,80,55,81,71,42].map((function(e,t){return o.React.createElement(h.default,{key:"stripe-recipient-".concat(t,"-").concat(e),spacing:[3,0,6,0],width:"".concat(e,"%")})}));case"quick_links":return _.map((function(e,t){var r=t+1===_.length?[0,0,0,0]:[0,0,4,0],a=(0,v.Yv)(e.label);return o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-links-item"],spacing:r,key:"quick-link-".concat(a)},o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-links-link"],tagName:"span"},o.React.createElement(d.A,{customClasses:["gravitysmtp-dashboard-app__rankings-links-href"],content:e.label,href:e.href,target:"_blank"})),o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-links-icon"],tagName:"span"},o.React.createElement(p.A,{icon:"chevron-right",iconPrefix:"gravitysmtp-admin-icon"})))}));default:return null}},w=j((function(e,t){var r,i=e.customAttributes,p=void 0===i?{}:i,u=e.customClasses,d=void 0===u?[]:u,m=e.data,f=void 0===m?{}:m,g=e.i18n,y=void 0===g?{}:g,v=function(e){for(var t=1;t1&&r.setDate(t.getDate()-e+1),1===e?[t,t]:[r,t]},T=function(e,t){var r,a,n,o;return r=t,a={year:"numeric",month:"short",day:"numeric"},n=e.toLocaleDateString(void 0,a),o=r.toLocaleDateString(void 0,a),n===o?n:"".concat(n," - ").concat(o)},D=E((function(e,t){var r,a=e.customAttributes,c=void 0===a?{}:a,f=e.customClasses,g=void 0===f?[]:f,y=e.data,v=void 0===y?{}:y,b=e.i18n,h=void 0===b?{}:b,O=v.date_ranges,P=void 0===O?{}:O,A=P.initial_value,E=void 0===A?0:A,D=P.max_end,x=void 0===D?"":D,C=P.min_start,S=void 0===C?"":C,N=P.options,L=void 0===N?[]:N,z=x?new Date(x):null,F=S?new Date(S):null,M=h.stats,H=(void 0===M?{}:M).date_range_label,q=void 0===H?"":H,G=(null===(r=L.find((function(e){return e.value===E})))||void 0===r?void 0:r.label)||"",Y=k(E),I=T(Y[0],Y[1]),W=(0,_.default)((function(e){return e.setLoadingData})),K=(0,_.default)((function(e){return e.setStateValues})),V=R(G),Z=(0,i.A)(V,2),B=Z[0],J=Z[1],Q=R(E),U=(0,i.A)(Q,2),X=U[0],$=U[1],ee=R(I),te=(0,i.A)(ee,2),re=te[0],ae=te[1],ne=R(Y),oe=(0,i.A)(ne,2),se=oe[0],ie=oe[1],ce=function(e){for(var t=1;t1&&void 0!==arguments[1])||arguments[1],r=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return"".concat(r,"-").concat(a,"-").concat(n," ").concat(t?"00:00:00":"23:59:59")},s=o(r),c=o(a,!1),p=T(r,a),ae(p),e.next=12,j({startDate:s,endDate:c,successCallback:function(e){le(e)}});case 12:ie(t),W(!1);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),de={calendarAttributes:{maxDate:z,minDate:F,onChange:ue,selectRange:!0,value:se},triggerAttributes:{customClasses:["gravitysmtp-dashboard-app__date-filters__datepicker"],label:re,icon:"calendar",iconPrefix:"gravitysmtp-admin-icon",iconPosition:"leading"},withTrigger:!0},me=L.map((function(e){return{key:"list-item-".concat(e.value),props:{id:"list-item-".concat(e.value),label:e.label,customAttributes:{disabled:X===e.value,id:"list-item-".concat(e.value),onClick:(t=(0,o.A)(l().mark((function t(r){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,pe(r,e.label,e.value);case 2:W(!1);case 3:case"end":return t.stop()}}),t)}))),function(e){return t.apply(this,arguments)})}}};var t})),fe={closeOnClick:!0,customClasses:["gravitysmtp-dashboard-app__date-filters__date-filter"],listItems:me,triggerAttributes:{iconPrefix:"gravitysmtp-admin-icon",icon:"accordion-arrow",iconPosition:"trailing",label:B,size:"size-height-m",type:"white"},width:192};return p.React.createElement("div",(0,n.A)({},ce,{ref:t}),p.React.createElement(u.A,{display:"flex",spacing:6},p.React.createElement(m.Ay,fe),p.React.createElement(d.A,de)))}));D.propTypes={customAttributes:p.PropTypes.object,customClasses:p.PropTypes.oneOfType([p.PropTypes.string,p.PropTypes.array,p.PropTypes.object])},D.displayName="DateFilters";var x=D},23198:function(e,t,r){r.r(t);var a=r(71860),n=r(88856),o=r(97867),s=r(64681),i=r(13379),c=r(30242),l=r(5529),p=r(9562),u=r(78703),d=r(84437);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}var f=(0,o.React.forwardRef)((function(e,t){var r=e.customAttributes,f=void 0===r?{}:r,g=e.customClasses,y=void 0===g?[]:g,v=e.data,b=void 0===v?{}:v,h=e.i18n,O=void 0===h?{}:h,P=function(e){for(var t=1;t0?o.React.createElement(s.A,{data:j,height:250,options:T,xAxisProps:{dataKey:"xAxisKey"}}):o.React.createElement(u.default,{i18n:O});return o.React.createElement("div",(0,a.A)({},P,{ref:t}),o.React.createElement(i.A,{HeaderContent:function(e){return o.React.createElement(l.A,(0,a.A)({content:E,tagName:"h2",size:"text-lg",weight:"medium"},e))},spacing:[6,0,6,0]},o.React.createElement(c.A,{customClasses:["gravitysmtp-dashboard-app__email-stats-chart"]},A&&o.React.createElement(p.default,null),D)))}));f.propTypes={customAttributes:o.PropTypes.object,customClasses:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.array,o.PropTypes.object])},f.displayName="EmailStatsChart",t.default=f},9562:function(e,t,r){r.r(t);var a=r(71860),n=r(88856),o=r(97867),s=r(32722);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}var c=(0,o.React.forwardRef)((function(e,t){var r=e.customAttributes,c=void 0===r?{}:r,l=e.customClasses,p=void 0===l?[]:l,u=e.maskColor,d=void 0===u?"white":u,m=function(e){for(var t=1;t1?(0,v.nv)(w.emails,e.total):(0,v.nv)(w.email,e.total);return o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-sources-item"],spacing:r,key:"source-".concat(a)},o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-sources-name"],tagName:"span"},o.React.createElement(u.A,{altText:e.source,customClasses:["gravitysmtp-dashboard-app__rankings-sources-figure"],height:24,imageAttributes:{onError:function(e){e.target.src="".concat(R,"default-92.png")}},url:"".concat(R).concat(a,"-92.png"),width:24}),o.React.createElement(f.A,{content:e.source,size:"text-sm",spacing:[0,0,0,2],tagName:"span"})),o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-sources-status"],tagName:"span"},o.React.createElement(f.A,{color:"comet",content:n,size:"text-sm",spacing:[0,0,0,2],tagName:"span"})))})):[54,43,80,60,58].map((function(e,t){return o.React.createElement(h.default,{key:"stripe-recipient-".concat(t,"-").concat(e),spacing:[3,0,6,0],width:"".concat(e,"%")})}));case"recipients":return T.length?T.map((function(e,t){var r=t+1===T.length?[0,0,0,0]:[0,0,4,0],a=(0,v.Yv)(e.recipients),n=Number(e.total)>1?(0,v.nv)(w.emails,e.total):(0,v.nv)(w.email,e.total);return o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-recipients-item"],spacing:r,key:"recipient-".concat(a)},o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-recipients-name"],tagName:"span"},o.React.createElement(y.A,{circular:!0,emailHash:e.hash,defaultImage:"mp",height:24,width:24}),o.React.createElement(f.A,{content:e.recipients,size:"text-sm",spacing:[0,0,0,2],tagName:"span"})),o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-recipients-status"],tagName:"span"},o.React.createElement(f.A,{color:"comet",content:n,size:"text-sm",spacing:[0,0,0,2],tagName:"span"})))})):[62,80,55,81,71,42].map((function(e,t){return o.React.createElement(h.default,{key:"stripe-recipient-".concat(t,"-").concat(e),spacing:[3,0,6,0],width:"".concat(e,"%")})}));case"quick_links":return _.map((function(e,t){var r=t+1===_.length?[0,0,0,0]:[0,0,4,0],a=(0,v.Yv)(e.label);return o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-links-item"],spacing:r,key:"quick-link-".concat(a)},o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-links-link"],tagName:"span"},o.React.createElement(d.A,{customClasses:["gravitysmtp-dashboard-app__rankings-links-href"],content:e.label,href:e.href,target:"_blank"})),o.React.createElement(i.A,{display:"flex",customClasses:["gravitysmtp-dashboard-app__rankings-links-icon"],tagName:"span"},o.React.createElement(p.A,{icon:"chevron-right",iconPrefix:"gravitysmtp-admin-icon"})))}));default:return null}},w=j((function(e,t){var r,i=e.customAttributes,p=void 0===i?{}:i,u=e.customClasses,d=void 0===u?[]:u,m=e.data,f=void 0===m?{}:m,g=e.i18n,y=void 0===g?{}:g,v=function(e){for(var t=1;t=a)&&Object.keys(o.O).every((function(e){return o.O[e](s[d])}))?s.splice(d--,1):(i=!1,a0&&e[p-1][2]>a;p--)e[p]=e[p-1];e[p]=[s,n,a]},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var s in t)o.o(t,s)&&!o.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce((function(t,s){return o.f[s](e,t),t}),[]))},o.u=function(e){return({358:"scripts-admin.tools-tools",560:"scripts-admin.setup-wizard-components-FooterButtons",622:"scripts-admin.settings-settings",628:"scripts-admin.activity-log-activity-log",656:"scripts-admin.activity-log-components-delete-activity",812:"scripts-admin.activity-log-components-header",825:"scripts-admin.tools-screens-import-export",966:"scripts-admin.activity-log-elements-grid-cell-external-components",1090:"scripts-admin.dashboard-components-loader",1114:"scripts-admin.settings-components-integration-settings",1479:"vendor-simplebar",1669:"scripts-admin.settings-screens-routing",1694:"scripts-admin.setup-wizard-setup-wizard",1707:"scripts-admin.setup-wizard-Screen04",1920:"scripts-admin.activity-log-screens-activity-log",2305:"vendor-lodash",2441:"scripts-admin.settings-components-header",2666:"vendor-components",2668:"scripts-admin.tools-store",2801:"scripts-admin.dashboard-store",3020:"scripts-admin.shared-elements-app-logo-svgs",3201:"scripts-admin.tools-screens-system-report",3348:"scripts-admin.settings-components-navbar",3387:"scripts-admin.tools-components-debug-log-details",3403:"scripts-admin.dashboard-screens-home",3409:"scripts-admin.activity-log",3528:"scripts-admin.tools-components-navbar",4570:"vendor-react-calendar",4635:"scripts-admin.dashboard-components-no-data",4688:"scripts-admin.settings-store",4736:"scripts-admin.settings-screens-alerts",4806:"scripts-admin.tools-screens-send-a-test",4832:"scripts-admin.setup-wizard-elements-Svgs",4854:"scripts-admin.setup-wizard-store",4874:"scripts-admin.setup-wizard",4880:"scripts-admin.settings-screens-logging",4993:"scripts-admin.dashboard-components-date-filters",5455:"scripts-admin.tools-screens-permissions",5491:"scripts-admin.tools-screens-debug-log",5683:"scripts-admin.activity-log-components-view-email",5901:"scripts-admin.tools-screens-system-status",6100:"scripts-admin.setup-wizard-Screen03",6124:"scripts-admin.settings-screens-integrations",6153:"scripts-admin.dashboard",6422:"scripts-admin.dashboard-components-rankings",6514:"vendor-recharts",6558:"scripts-admin.setup-wizard-components-ScreenNavButtons",6686:"scripts-admin.settings-screens-emails",6793:"scripts-admin.activity-log-store",6961:"scripts-admin.activity-log-screens-log-details",6964:"scripts-admin.dashboard-components-email-stats-chart",6988:"scripts-admin.tools",7157:"scripts-admin.tools-components-header",7199:"scripts-admin.shared-elements-integration-logo-svgs",7758:"scripts-admin.dashboard-dashboard",7804:"scripts-admin.shared-elements-placeholder-stripe",7910:"scripts-admin.setup-wizard-Screen01",8898:"scripts-admin.setup-wizard-Screen05",8909:"scripts-admin.setup-wizard-Screen02",9072:"scripts-admin.settings",9631:"vendor-react-router",9702:"scripts-admin.settings-screens-settings",9710:"scripts-admin.dashboard-components-metrics",9884:"scripts-admin.tools-screens-scheduled-events",9892:"scripts-admin.dashboard-components-header",9967:"vendor-react"}[e]||e)+"."+{358:"cefd79af6a98ead6e86c",560:"ebaba8312043892ef044",622:"0958060282dd29effaba",628:"1d7ce1b4f43e1f658dde",656:"a519ef3a7c8665896972",812:"a5a2c572a538bb86bb2b",825:"50f69df3221f7f73f441",966:"492cae83fa7d5c70be76",1090:"85ad072c6e3c44010d3b",1114:"768c0d144448d7fd6960",1479:"61f8744bc47546f66a28",1669:"f1f812bc14e5f7856a66",1694:"37d05b96c78c3599d4d5",1707:"d033d783f829838f28e1",1920:"2cd2df3db651fdc3ad06",2217:"047561ae72fbc06578dd",2305:"f69a25ed6a4be58a0562",2441:"67fcad713820078955d4",2666:"3af577c99a5e10ed49d3",2668:"aae858a011c1c7141550",2801:"2553d8352119154523bd",3020:"d51696a53ce4e2569200",3201:"408483ff5d2f55bf4f9d",3348:"25badd930bf8ae9f103f",3387:"963aaeb5f4fd49135e7b",3403:"b9383d7c9b1d744c3857",3409:"f192e72f2ecad5c0aa91",3528:"bf319661af698c5c9906",4570:"9cb4d072d8285e9126bc",4635:"02cfe35874b84edb070f",4688:"9fe5bb4d91c6e8f5b0fe",4736:"853534a3242d43bcab35",4806:"81f8f9a5ae2edce0a4d1",4832:"b4b7101578072863a3f5",4854:"2133d8ab64bbc5d3b11c",4874:"5f15abb3947bdb4bfd49",4880:"d3c84a80b2447a17299c",4993:"fac0d88e504841be2b27",5455:"13445aafb1c2a1d1367a",5491:"25fe9261112390a3651b",5683:"154b2862ef52286cef8c",5901:"7ad7450e2c934c236b86",6100:"03d9f4294929628dd27d",6124:"e30d706b254cf493be9f",6153:"43e704c42877bccd031a",6422:"a3f5c041ef77f5933d96",6514:"7a0de997b9a339d14d52",6558:"fc622933ed61588ffc71",6686:"82ca1d96a764b4f3fcac",6793:"587bc3da141cb3b000ca",6961:"5040fe9b27cf4de723c8",6964:"f032e6f681c87f90104a",6988:"2dee009f6ad291aa8da4",7157:"0d98f2c13ad731d1747c",7199:"658067f735c343bcabe4",7758:"0fdc05858d523f6c3931",7804:"f361e9731d2121bdb783",7910:"323de10fc44c26be3127",8898:"429aad8142af5203432d",8909:"8980956640ad8b5bfe04",9072:"46a8287694b9bcc6fe53",9456:"5d96fe0ca45f063e61c8",9631:"fb5612bcac69d50255f3",9702:"b3b43dae07bfd049f2e8",9710:"7c5307faabd05a932151",9884:"17b2a62207593e5f12c1",9892:"11cc104ab580fbd357e3",9967:"ebf21105a09d41d2c205"}[e]+".min.js"},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t={},s="gravitysmtp:",o.l=function(e,n,a,r){if(t[e])t[e].push(n);else{var i,d;if(void 0!==a)for(var c=document.getElementsByTagName("script"),p=0;p-1&&(!e||!/^http(s?):/.test(e));)e=s[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e}(),function(){var e={3699:0};o.f.j=function(t,s){var n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)s.push(n[2]);else{var a=new Promise((function(s,a){n=e[t]=[s,a]}));s.push(n[2]=a);var r=o.p+o.u(t),i=new Error;o.l(r,(function(s){if(o.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=s&&("load"===s.type?"missing":s.type),r=s&&s.target&&s.target.src;i.message="Loading chunk "+t+" failed.\n("+a+": "+r+")",i.name="ChunkLoadError",i.type=a,i.request=r,n[1](i)}}),"chunk-"+t,t)}},o.O.j=function(t){return 0===e[t]};var t=function(t,s){var n,a,r=s[0],i=s[1],d=s[2],c=0;if(r.some((function(t){return 0!==e[t]}))){for(n in i)o.o(i,n)&&(o.m[n]=i[n]);if(d)var p=d(o)}for(t&&t(s);c=o)&&Object.keys(r.O).every((function(e){return r.O[e](t[c])}))?t.splice(c--,1):(a=!1,o0&&e[p-1][2]>o;p--)e[p]=e[p-1];e[p]=[t,n,o]},r.n=function(e){var s=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(s,{a:s}),s},r.d=function(e,s){for(var t in s)r.o(s,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:s[t]})},r.f={},r.e=function(e){return Promise.all(Object.keys(r.f).reduce((function(s,t){return r.f[t](e,s),s}),[]))},r.u=function(e){return({358:"scripts-admin.tools-tools",560:"scripts-admin.setup-wizard-components-FooterButtons",622:"scripts-admin.settings-settings",628:"scripts-admin.activity-log-activity-log",747:"scripts-admin.activity-log-utils-filters",751:"scripts-admin.activity-log-components-single-activity",812:"scripts-admin.activity-log-components-header",825:"scripts-admin.tools-screens-import-export",966:"scripts-admin.activity-log-elements-grid-cell-external-components",1090:"scripts-admin.dashboard-components-loader",1114:"scripts-admin.settings-components-integration-settings",1479:"vendor-simplebar",1669:"scripts-admin.settings-screens-routing",1694:"scripts-admin.setup-wizard-setup-wizard",1707:"scripts-admin.setup-wizard-Screen04",1920:"scripts-admin.activity-log-screens-activity-log",2268:"scripts-admin.suppression-screens-home",2305:"vendor-lodash",2441:"scripts-admin.settings-components-header",2666:"vendor-components",2668:"scripts-admin.tools-store",2801:"scripts-admin.dashboard-store",3020:"scripts-admin.shared-elements-app-logo-svgs",3201:"scripts-admin.tools-screens-system-report",3348:"scripts-admin.settings-components-navbar",3387:"scripts-admin.tools-components-debug-log-details",3403:"scripts-admin.dashboard-screens-home",3409:"scripts-admin.activity-log",3528:"scripts-admin.tools-components-navbar",3625:"scripts-admin.suppression-components-header",4448:"scripts-admin.suppression-store",4570:"vendor-react-calendar",4635:"scripts-admin.dashboard-components-no-data",4664:"scripts-admin.suppression-components-suppression-dialog",4688:"scripts-admin.settings-store",4736:"scripts-admin.settings-screens-alerts",4806:"scripts-admin.tools-screens-send-a-test",4832:"scripts-admin.setup-wizard-elements-Svgs",4854:"scripts-admin.setup-wizard-store",4874:"scripts-admin.setup-wizard",4880:"scripts-admin.settings-screens-logging",4993:"scripts-admin.dashboard-components-date-filters",5106:"scripts-admin.suppression-suppression",5455:"scripts-admin.tools-screens-permissions",5491:"scripts-admin.tools-screens-debug-log",5683:"scripts-admin.activity-log-components-view-email",5901:"scripts-admin.tools-screens-system-status",6100:"scripts-admin.setup-wizard-Screen03",6124:"scripts-admin.settings-screens-integrations",6153:"scripts-admin.dashboard",6422:"scripts-admin.dashboard-components-rankings",6514:"vendor-recharts",6558:"scripts-admin.setup-wizard-components-ScreenNavButtons",6686:"scripts-admin.settings-screens-emails",6793:"scripts-admin.activity-log-store",6961:"scripts-admin.activity-log-screens-log-details",6964:"scripts-admin.dashboard-components-email-stats-chart",6988:"scripts-admin.tools",7157:"scripts-admin.tools-components-header",7199:"scripts-admin.shared-elements-integration-logo-svgs",7216:"scripts-admin.suppression",7758:"scripts-admin.dashboard-dashboard",7804:"scripts-admin.shared-elements-placeholder-stripe",7910:"scripts-admin.setup-wizard-Screen01",8898:"scripts-admin.setup-wizard-Screen05",8909:"scripts-admin.setup-wizard-Screen02",9072:"scripts-admin.settings",9631:"vendor-react-router",9702:"scripts-admin.settings-screens-settings",9710:"scripts-admin.dashboard-components-metrics",9884:"scripts-admin.tools-screens-scheduled-events",9892:"scripts-admin.dashboard-components-header",9967:"vendor-react"}[e]||e)+"."+{358:"ff49a05f15d5a8068f94",560:"2c797fff2cc113c78715",622:"7bb90e1fe1857f6a33ec",628:"8b364e13c6187d2699e7",747:"bdbccd76c3583b834776",751:"44fad78f4edaec7d1668",812:"a5a2c572a538bb86bb2b",825:"50f69df3221f7f73f441",966:"76963ed279325d651a3b",1090:"85ad072c6e3c44010d3b",1114:"207f86672e13632942cd",1479:"61f8744bc47546f66a28",1669:"f1f812bc14e5f7856a66",1694:"44cebff00bea5c4475cb",1707:"2137670e41dfce46b5aa",1920:"b34bdc2523eeb9c8c24a",2217:"94939f0efd406ed06d81",2268:"ae9fe03a5913503074b5",2305:"f69a25ed6a4be58a0562",2441:"0d63446439f44fbbece7",2666:"ab77c19673f0a8790e31",2668:"2abf9b376012330602e5",2801:"8d7d15baa4463821fb7c",3020:"d51696a53ce4e2569200",3201:"a5e00b7114a468494aae",3348:"9521125162f8b8d264d2",3387:"ab83e103f77c72795979",3403:"c0fe97da12cca0d338df",3409:"f88a8b7acad620a66325",3528:"bf319661af698c5c9906",3625:"a6cee30f13ca2fb23e36",4448:"31080dec9525cbf0cdad",4570:"9cb4d072d8285e9126bc",4635:"02cfe35874b84edb070f",4664:"89475dbe2117da910630",4688:"54d4416a6e6b28bdecda",4736:"c1762426e651dae76ff6",4806:"62d3d4fea24946a79c93",4832:"0a1d1257489ff88923f5",4854:"750646dd8886ff995b46",4874:"39ce5b16e1edefecd007",4880:"fadd5e8b55b87a832e02",4993:"4218bbbc81df39e46fb7",5106:"bb10ed07953a4b74e883",5455:"13445aafb1c2a1d1367a",5491:"670fb287749c03aa67bf",5683:"4e1bfccc203b0bba62b4",5862:"8f4234f62512c8e59393",5901:"7ad7450e2c934c236b86",6100:"3d7ef4e33f09afe8fe99",6124:"53cbf6b02e1debd4f197",6153:"0424bd167ba504e39389",6422:"1363fdb9ac02223f90e9",6514:"7a0de997b9a339d14d52",6558:"86c008ce2eb135c1d467",6686:"176f37401de499ca6a72",6793:"a21411c4ba4d7ed8a0b2",6961:"a631c1c29f0776c9dcfa",6964:"4e754322c7d6e987c32f",6988:"9bb8b019e9c97ec407ae",7157:"0d98f2c13ad731d1747c",7199:"dac8cda7a14831433198",7216:"6fa21b4f2e6c7a6e1185",7758:"d326c48a5d146d405fed",7804:"cd9b2e4271c66912101e",7910:"d5b055571380a7a921b8",8898:"b633de7404706a9c3eb9",8909:"a4aff98a48c678462ea5",9072:"2a4eaa26ae7ab9263663",9586:"1e877b21e6280faf1f4f",9631:"fb5612bcac69d50255f3",9702:"35a082d00db019292db2",9710:"6e7859e21908aee47694",9884:"17b2a62207593e5f12c1",9892:"11cc104ab580fbd357e3",9967:"ebf21105a09d41d2c205"}[e]+".min.js"},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,s){return Object.prototype.hasOwnProperty.call(e,s)},s={},t="gravitysmtp:",r.l=function(e,n,o,i){if(s[e])s[e].push(n);else{var a,c;if(void 0!==o)for(var d=document.getElementsByTagName("script"),p=0;p-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e}(),function(){var e={3699:0};r.f.j=function(s,t){var n=r.o(e,s)?e[s]:void 0;if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,o){n=e[s]=[t,o]}));t.push(n[2]=o);var i=r.p+r.u(s),a=new Error;r.l(i,(function(t){if(r.o(e,s)&&(0!==(n=e[s])&&(e[s]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;a.message="Loading chunk "+s+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}}),"chunk-"+s,s)}},r.O.j=function(s){return 0===e[s]};var s=function(s,t){var n,o,i=t[0],a=t[1],c=t[2],d=0;if(i.some((function(s){return 0!==e[s]}))){for(n in a)r.o(a,n)&&(r.m[n]=a[n]);if(c)var p=c(r)}for(s&&s(t);d1&&void 0!==arguments[1]?arguments[1]:{},e=h(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t),n=O(e),i=y(n,t.activeIntegrationSettings);if(!["microsoft","google","generic","amazon","zoho"].includes(t.activeIntegrationSettings))return i;var r=i;return"google"===t.activeIntegrationSettings&&(r=_(r,t)),["microsoft","google","amazon","zoho"].includes(t.activeIntegrationSettings)?r=S(r,t):"generic"===t.activeIntegrationSettings&&(r=k(r,t)),r}},27764:function(t,e,n){var i,r=n(40450),o=n.n(r),a=(null===(i=(0,n(71376).zj)(o(),"gravitysmtp_admin_config"))||void 0===i?void 0:i.common)||{};e.A=function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{iconPrefix:"gravitysmtp-admin-icon",locked:(null==a||null===(t=a.data)||void 0===t||null===(t=t.locked_settings)||void 0===t?void 0:t.includes(n))||i,lockedMessage:r||(null==a||null===(e=a.i18n)||void 0===e?void 0:e.setting_locked)||""}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.settings-components-integration-settings.768c0d144448d7fd6960.min.js b/assets/js/dist/scripts-admin.settings-components-integration-settings.768c0d144448d7fd6960.min.js deleted file mode 100644 index 2a799da..0000000 --- a/assets/js/dist/scripts-admin.settings-components-integration-settings.768c0d144448d7fd6960.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[1114],{77072:function(t,e,n){n.r(e);var i=n(71860),r=n(90455),o=n(8140),a=n(88856),s=n(78564),c=n.n(s),l=n(27122),u=n.n(l),p=n(97867),d=n(60177),g=n(71376),v=n(46716),f=n(30242),m=n(80509),y=n(48959),b=n(84860),h=n(55899),_=n(28099),S=n(83707),O=n(93313),k=n(55809),w=n(59092);function A(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}var P=p.React.forwardRef,j=p.React.useEffect,x=p.React.useState,C=p.React.useRef,T=P((function(t,e){var n,s,l,P,T,R,D,I=t.customAttributes,E=void 0===I?{}:I,B=t.customClasses,z=void 0===B?[]:B,N=t.common,F=void 0===N?{}:N,L=t.data,H=void 0===L?{}:L,M=t.i18n,J=void 0===M?{}:M,U=(null==J?void 0:J.integrations)||{},W=U.integration_settings_apply,X=U.integration_settings_cancel,q=U.integration_settings_error,G=(null==F?void 0:F.i18n)||{},K=G.debug_messages,Q=void 0===K?{}:K,V=Q.saving_integration_settings,Y=void 0===V?"":V,Z=Q.saving_integration_settings_error,$=void 0===Z?"":Z,tt=G.snackbar_api_save_success,et=function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},e=b(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t),n=y(e,t.activeIntegrationSettings);if(!["microsoft","google","generic","amazon"].includes(t.activeIntegrationSettings))return n;var i=n;return["microsoft","google","amazon"].includes(t.activeIntegrationSettings)?i=h(n,t):"generic"===t.activeIntegrationSettings&&(i=_(n,t)),i}},27764:function(t,e,n){var i,r=n(40450),o=n.n(r),a=(null===(i=(0,n(71376).zj)(o(),"gravitysmtp_admin_config"))||void 0===i?void 0:i.common)||{};e.A=function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{iconPrefix:"gravitysmtp-admin-icon",locked:(null==a||null===(t=a.data)||void 0===t||null===(t=t.locked_settings)||void 0===t?void 0:t.includes(n))||i,lockedMessage:r||(null==a||null===(e=a.i18n)||void 0===e?void 0:e.setting_locked)||""}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.settings-components-navbar.25badd930bf8ae9f103f.min.js b/assets/js/dist/scripts-admin.settings-components-navbar.25badd930bf8ae9f103f.min.js deleted file mode 100644 index f1591bb..0000000 --- a/assets/js/dist/scripts-admin.settings-components-navbar.25badd930bf8ae9f103f.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[3348],{52166:function(t,e,s){s.r(e);var a=s(71860),r=s(88856),n=s(97867),i=s(8412);function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function p(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(n){return T(T({},n),{},{props:T(T({},n.props),{},{id:t[e].repeater_item_id,onChange:o(n.props.name,e),value:t[e][n.props.name]})})}))}(n,i).map((function(t){return d.React.createElement(f.A,(0,a.A)({key:"".concat(r,"-repeater-input-").concat(t.props.id,"-").concat(t.props.name),disabled:!(0,O.A)("CAPS_EDIT_ALERTS")},t.props))}))},He=(0,O.A)("CAPS_EDIT_ALERTS")?{}:{disabled:!0},Me=function(){var t=(0,i.A)(s().mark((function t(){var e,n,i,a;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=Ne.current.offsetWidth,Se(e),Ce(!0),n={action:Yt,security:$t,alerts_settings:(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)({},(0,E.A)("alert_threshold_count"),me),(0,E.A)("alert_threshold_interval"),be),(0,E.A)("notify_when_email_sending_fails_enabled"),ne),(0,E.A)("slack_alerts_enabled"),re),(0,E.A)("twilio_alerts_enabled"),ue),(0,E.A)("slack_alerts"),Pe),(0,E.A)("twilio_alerts"),je)},t.next=6,(0,C.A)((0,_.nv)(Jt,JSON.stringify((0,D.A)(["security"],n))),"info");case 6:return t.prev=6,t.next=9,(0,g.bE)({endpoint:u(),body:n});case 9:a=t.sent,Ce(!1),Se(""),null!=a&&null!==(i=a.data)&&void 0!==i&&i.success?(We(Kt),ke(!1),Fe.current=JSON.stringify(N.alerts_settings)):We(Vt,"error"),t.next=20;break;case 15:return t.prev=15,t.t0=t.catch(6),t.next=20,(0,C.A)((0,_.nv)(Ht,JSON.stringify(t.t0)),"error");case 20:case"end":return t.stop()}}),t,null,[[6,15]])})));return function(){return t.apply(this,arguments)}}(),Ve=function(t,e){e.target.name===(0,E.A)("alert_threshold_count")?(ve(t),Je((0,E.A)("alert_threshold_count"),t)):(Ae(t),Je((0,E.A)("alert_threshold_interval"),t))},qe={controlled:!0,customAttributes:{min:1,"data-test-id":"alerts-settings-count"},customClasses:["gravitysmtp-alerts-settings__count"],disabled:!(0,O.A)("CAPS_EDIT_ALERTS"),helpTextAttributes:{content:V,size:"text-xs",weight:"regular"},labelAttributes:T({label:M},(0,k.A)((0,E.A)("alert_threshold_count"))),name:(0,E.A)("alert_threshold_count"),onChange:Ve,spacing:4,type:"number",value:String(me)},Ke={controlled:!0,customAttributes:{min:1,"data-test-id":"alerts-settings-interval"},customClasses:["gravitysmtp-alerts-settings__interval"],disabled:!(0,O.A)("CAPS_EDIT_ALERTS"),helpTextAttributes:{content:K,size:"text-xs",weight:"regular"},labelAttributes:T({label:q},(0,k.A)((0,E.A)("alert_threshold_interval"))),name:(0,E.A)("alert_threshold_interval"),onChange:Ve,spacing:4,type:"number",value:String(be)};return d.React.createElement("div",(0,a.A)({},J,{ref:e}),d.React.createElement(p.A,{size:"display-sm",weight:"semibold",spacing:1,content:ct}),d.React.createElement(m.A,{x:1100},d.React.createElement(b.A,{size:"text-sm",spacing:6,color:"comet",content:st})),d.React.createElement(h.A,{HeaderContent:function(t){return d.React.createElement(m.A,{x:630},d.React.createElement(p.A,(0,a.A)({content:H,tagName:"h2",size:"text-lg",weight:"medium"},t)))},FooterContent:function(t){var e={"data-test-id":"alerts-settings-save"};we&&(e.style={width:"".concat(we,"px")});var n=(0,d.classnames)({"gravitysmtp-alerts-settings__save-settings":!0,"gravitysmtp-alerts-settings__save-settings--saving":De});return d.React.createElement(v.A,(0,a.A)({active:De,activeType:"loader",customAttributes:e,customClasses:n,disabled:!(0,O.A)("CAPS_EDIT_ALERTS")||De,icon:"save-disk",iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",label:nt,onClick:Me,size:"size-height-m",ref:Ne},t))}},d.React.createElement(m.A,{customClasses:["gravitysmtp-alerts-settings__box-container"],x:630},d.React.createElement(p.A,{size:"text-sm",weight:"medium",type:"boxed",spacing:4,content:et}),d.React.createElement(A.A,{customAttributes:{"data-test-id":"settings-alerts-email-request-fails"},helpTextAttributes:{content:X,size:"text-sm"},initialChecked:ne,labelAttributes:{label:Y},onChange:function(t){ie(t),Je((0,E.A)("notify_when_email_sending_fails_enabled"),t)},labelPosition:"left",name:(0,E.A)("notify_when_email_sending_fails_enabled"),spacing:6,size:"size-m",width:"full",disabled:!(0,O.A)("CAPS_EDIT_ALERTS")}),ne&&((0,O.A)("CAPS_VIEW_ALERTS_SLACK_SETTINGS")||(0,O.A)("CAPS_VIEW_ALERTS_TWILIO_SETTINGS"))&&d.React.createElement(d.React.Fragment,null,d.React.createElement(f.A,qe),d.React.createElement(f.A,Ke),d.React.createElement(p.A,{size:"text-sm",weight:"medium",type:"boxed",spacing:4,content:ot}),d.React.createElement(A.A,{customAttributes:{"data-test-id":"settings-alerts-slack-alerts"},helpTextAttributes:{content:it,size:"text-sm"},initialChecked:re,labelAttributes:{label:at},onChange:function(t){le(t),Je((0,E.A)("slack_alerts_enabled"),t)},labelPosition:"left",name:(0,E.A)("slack_alerts_enabled"),spacing:6,size:"size-m",width:"full",disabled:!(0,O.A)("CAPS_EDIT_ALERTS")}),re&&(0,O.A)("CAPS_VIEW_ALERTS_SLACK_SETTINGS")&&d.React.createElement(y.A,{addButtonAttributes:T({label:rt},He),collapsibleButtonAttributes:T({iconPrefix:"gravitysmtp-admin-icon"},He),customClasses:["gravitysmtp-alerts-settings__slack-webhooks"],dragHandleAttributes:{iconPrefix:"gravitysmtp-admin-icon"},deleteButtonAttributes:T({iconPrefix:"gravitysmtp-admin-icon"},He),downButtonAttributes:T({iconPrefix:"gravitysmtp-admin-icon"},He),fillContent:!0,id:"repeater-slack-alerts",i18n:Be,isDraggable:!0,isSortable:!0,items:Pe,minItems:1,newItemState:{slack_webhook_url:""},onChange:Te,renderItem:function(t,e){return Ge(0,e,Et,Dt,Ie,"slack")},showArrows:!1,showDelete:!0,showDragHandle:!0,spacing:6,upButtonAttributes:T({iconPrefix:"gravitysmtp-admin-icon"},He)}),d.React.createElement(p.A,{size:"text-sm",weight:"medium",type:"boxed",spacing:4,content:mt}),d.React.createElement(A.A,{customAttributes:{"data-test-id":"settings-alerts-slack-alerts"},helpTextAttributes:{content:gt,size:"text-sm"},initialChecked:ue,labelAttributes:{label:_t},onChange:function(t){de(t),Je((0,E.A)("twilio_alerts_enabled"),t)},labelPosition:"left",name:(0,E.A)("twilio_alerts_enabled"),spacing:ue?6:0,size:"size-m",width:"full",disabled:!(0,O.A)("CAPS_EDIT_ALERTS")}),ue&&(0,O.A)("CAPS_VIEW_ALERTS_TWILIO_SETTINGS")&&d.React.createElement(y.A,{addButtonAttributes:T({label:ut},He),collapsible:!0,collapsibleButtonAttributes:T({iconPrefix:"gravitysmtp-admin-icon"},He),customClasses:["gravitysmtp-alerts-settings__twilio-accounts"],deleteButtonAttributes:T({iconPrefix:"gravitysmtp-admin-icon"},He),downButtonAttributes:T({iconPrefix:"gravitysmtp-admin-icon"},He),id:"twilio-alerts",i18n:Be,items:je,isDraggable:!0,isSortable:!0,minItems:1,newItemState:{twilio_account_name:"",twilio_account_id:"",twilio_auth_token:"",twilio_from_phone_number:"",twilio_to_phone_number:"",repeater_item_block_content_title:dt.replace("%s",""),repeater_item_collapsed:!1},onChange:ze,renderItem:function(t,e){return Ge(0,e,It,jt,Le,"twilio")},showArrows:!0,showDelete:!0,showDragHandle:!0,type:"block",upButtonAttributes:T({iconPrefix:"gravitysmtp-admin-icon"},He)})))))}));L.propTypes={customAttributes:d.PropTypes.object,customClasses:d.PropTypes.oneOfType([d.PropTypes.string,d.PropTypes.array,d.PropTypes.object])},L.displayName="AlertsScreen",e.default=L},59092:function(t,e,n){n.r(e);var i,a,o,r,l,s,c=n(88856),u=n(40450),d=n.n(u),g=n(97867),_=n(8173),m=n(71376);function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function p(t){for(var e=1;e0&&void 0!==v[0]?v[0]:"",a=v.length>1&&void 0!==v[1]?v[1]:"debug",o=g.data,l=void 0===o?{}:o,c=g.endpoints,_=(null==(u=void 0===c?{}:c)||null===(e=u.log_debug_item)||void 0===e?void 0:e.action)||"",m=(null==u||null===(n=u.log_debug_item)||void 0===n?void 0:n.nonce)||"",null!=l&&l.debug_log_enabled&&_&&m&&i){t.next=7;break}return t.abrupt("return");case 7:return t.next=9,(0,d.bE)({endpoint:s(),body:{action:_,security:m,message:i,priority:a}}).catch((function(t){}));case 9:return t.abrupt("return",t.sent);case 10:case"end":return t.stop()}}),t)}))),m.apply(this,arguments)}},90266:function(t,e,n){n.d(e,{A:function(){return c}});var i,a,o=n(40450),r=n.n(o),l=(null===(i=(0,n(71376).zj)(r(),"gravitysmtp_admin_config"))||void 0===i?void 0:i.common)||{},s=(null==l||null===(a=l.data)||void 0===a?void 0:a.constants)||{};function c(){return s[arguments.length>0&&void 0!==arguments[0]?arguments[0]:""]||""}},33695:function(t,e,n){n.d(e,{A:function(){return c}});var i,a,o=n(40450),r=n.n(o),l=(null===(i=(0,n(71376).zj)(r(),"gravitysmtp_admin_config"))||void 0===i?void 0:i.common)||{},s=(null==l||null===(a=l.data)||void 0===a?void 0:a.param_keys)||{};function c(){return s[arguments.length>0&&void 0!==arguments[0]?arguments[0]:""]||""}},49572:function(t,e,n){n.d(e,{A:function(){return v}});var i,a,o,r,l=n(40450),s=n.n(l),c=n(71376),u=n(90266),d=(null===(i=(0,c.zj)(s(),"gravitysmtp_admin_config"))||void 0===i?void 0:i.components)||{},g=(null==d||null===(a=d.activity_log)||void 0===a||null===(a=a.data)||void 0===a?void 0:a.caps)||{},_=(null==d||null===(o=d.settings)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.caps)||{},m=(null==d||null===(r=d.tools)||void 0===r||null===(r=r.data)||void 0===r?void 0:r.caps)||{};function v(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=(0,u.A)(t);return g[e]||_[e]||m[e]||!1}},93313:function(t,e,n){var i=n(52888),a=n(8140);e.A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*",n=function(o){return Object.entries(o).reduce((function(o,r){var l=(0,a.A)(r,2),s=l[0],c=l[1];return"object"===(0,i.A)(c)&&null!==c?o[s]=n(c):t.includes(s)?o[s]=null===c?null:e.repeat(c.length):o[s]=c,o}),Array.isArray(o)?[]:{})};return n(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},27764:function(t,e,n){var i,a=n(40450),o=n.n(a),r=(null===(i=(0,n(71376).zj)(o(),"gravitysmtp_admin_config"))||void 0===i?void 0:i.common)||{};e.A=function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{iconPrefix:"gravitysmtp-admin-icon",locked:(null==r||null===(t=r.data)||void 0===t||null===(t=t.locked_settings)||void 0===t?void 0:t.includes(n))||i,lockedMessage:a||(null==r||null===(e=r.i18n)||void 0===e?void 0:e.setting_locked)||""}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.settings-screens-emails.82ca1d96a764b4f3fcac.min.js b/assets/js/dist/scripts-admin.settings-screens-emails.176f37401de499ca6a72.min.js similarity index 90% rename from assets/js/dist/scripts-admin.settings-screens-emails.82ca1d96a764b4f3fcac.min.js rename to assets/js/dist/scripts-admin.settings-screens-emails.176f37401de499ca6a72.min.js index eec49ee..3d2beba 100644 --- a/assets/js/dist/scripts-admin.settings-screens-emails.82ca1d96a764b4f3fcac.min.js +++ b/assets/js/dist/scripts-admin.settings-screens-emails.176f37401de499ca6a72.min.js @@ -1 +1 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[6686],{12526:function(e,n,t){t.r(n);var r=t(71860),a=t(88856),o=t(97867),i=t(71376),c=t(30242),s=t(5529),u=t(66598),l=t(16265),d=t(13379),v=t(84860),p=t(49572),f=t(27764),g=t(68381);function y(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(e){if("string"==typeof e)return m(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?m(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){c=!0,o=e},f:function(){try{i||null==t.return||t.return()}finally{if(c)throw o}}}}function m(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==g[0]?g[0]:"",a=g.length>1&&void 0!==g[1]?g[1]:"debug",o=v.data,c=void 0===o?{}:o,u=v.endpoints,p=(null==(l=void 0===u?{}:u)||null===(n=l.log_debug_item)||void 0===n?void 0:n.action)||"",f=(null==l||null===(t=l.log_debug_item)||void 0===t?void 0:t.nonce)||"",null!=c&&c.debug_log_enabled&&p&&f&&r){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,(0,d.bE)({endpoint:s(),body:{action:p,security:f,message:r,priority:a}}).catch((function(e){}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}},90266:function(e,n,t){t.d(n,{A:function(){return u}});var r,a,o=t(40450),i=t.n(o),c=(null===(r=(0,t(71376).zj)(i(),"gravitysmtp_admin_config"))||void 0===r?void 0:r.common)||{},s=(null==c||null===(a=c.data)||void 0===a?void 0:a.constants)||{};function u(){return s[arguments.length>0&&void 0!==arguments[0]?arguments[0]:""]||""}},49572:function(e,n,t){t.d(n,{A:function(){return g}});var r,a,o,i,c=t(40450),s=t.n(c),u=t(71376),l=t(90266),d=(null===(r=(0,u.zj)(s(),"gravitysmtp_admin_config"))||void 0===r?void 0:r.components)||{},v=(null==d||null===(a=d.activity_log)||void 0===a||null===(a=a.data)||void 0===a?void 0:a.caps)||{},p=(null==d||null===(o=d.settings)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.caps)||{},f=(null==d||null===(i=d.tools)||void 0===i||null===(i=i.data)||void 0===i?void 0:i.caps)||{};function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=(0,l.A)(e);return v[n]||p[n]||f[n]||!1}},93313:function(e,n,t){var r=t(52888),a=t(8140);n.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*";return function t(o){return Object.entries(o).reduce((function(o,i){var c=(0,a.A)(i,2),s=c[0],u=c[1];return"object"===(0,r.A)(u)&&null!==u?o[s]=t(u):e.includes(s)?o[s]=null===u?null:n.repeat(u.length):o[s]=u,o}),Array.isArray(o)?[]:{})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},27764:function(e,n,t){var r,a=t(40450),o=t.n(a),i=(null===(r=(0,t(71376).zj)(o(),"gravitysmtp_admin_config"))||void 0===r?void 0:r.common)||{};n.A=function(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{iconPrefix:"gravitysmtp-admin-icon",locked:(null==i||null===(e=i.data)||void 0===e||null===(e=e.locked_settings)||void 0===e?void 0:e.includes(t))||r,lockedMessage:a||(null==i||null===(n=i.i18n)||void 0===n?void 0:n.setting_locked)||""}}}}]); \ No newline at end of file +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[6686],{12526:function(e,n,t){t.r(n);var r=t(71860),a=t(88856),o=t(97867),i=t(71376),c=t(30242),s=t(5529),u=t(66598),l=t(16265),d=t(13379),v=t(84860),p=t(49572),f=t(27764),g=t(68381);function y(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(e){if("string"==typeof e)return m(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?m(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){c=!0,o=e},f:function(){try{i||null==t.return||t.return()}finally{if(c)throw o}}}}function m(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==g[0]?g[0]:"",a=g.length>1&&void 0!==g[1]?g[1]:"debug",o=v.data,c=void 0===o?{}:o,u=v.endpoints,p=(null==(l=void 0===u?{}:u)||null===(n=l.log_debug_item)||void 0===n?void 0:n.action)||"",f=(null==l||null===(t=l.log_debug_item)||void 0===t?void 0:t.nonce)||"",null!=c&&c.debug_log_enabled&&p&&f&&r){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,(0,d.bE)({endpoint:s(),body:{action:p,security:f,message:r,priority:a}}).catch((function(e){}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}},90266:function(e,n,t){t.d(n,{A:function(){return u}});var r,a,o=t(40450),i=t.n(o),c=(null===(r=(0,t(71376).zj)(i(),"gravitysmtp_admin_config"))||void 0===r?void 0:r.common)||{},s=(null==c||null===(a=c.data)||void 0===a?void 0:a.constants)||{};function u(){return s[arguments.length>0&&void 0!==arguments[0]?arguments[0]:""]||""}},49572:function(e,n,t){t.d(n,{A:function(){return g}});var r,a,o,i,c=t(40450),s=t.n(c),u=t(71376),l=t(90266),d=(null===(r=(0,u.zj)(s(),"gravitysmtp_admin_config"))||void 0===r?void 0:r.components)||{},v=(null==d||null===(a=d.activity_log)||void 0===a||null===(a=a.data)||void 0===a?void 0:a.caps)||{},p=(null==d||null===(o=d.settings)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.caps)||{},f=(null==d||null===(i=d.tools)||void 0===i||null===(i=i.data)||void 0===i?void 0:i.caps)||{};function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=(0,l.A)(e);return v[n]||p[n]||f[n]||!1}},93313:function(e,n,t){var r=t(52888),a=t(8140);n.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*",t=function(o){return Object.entries(o).reduce((function(o,i){var c=(0,a.A)(i,2),s=c[0],u=c[1];return"object"===(0,r.A)(u)&&null!==u?o[s]=t(u):e.includes(s)?o[s]=null===u?null:n.repeat(u.length):o[s]=u,o}),Array.isArray(o)?[]:{})};return t(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},27764:function(e,n,t){var r,a=t(40450),o=t.n(a),i=(null===(r=(0,t(71376).zj)(o(),"gravitysmtp_admin_config"))||void 0===r?void 0:r.common)||{};n.A=function(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{iconPrefix:"gravitysmtp-admin-icon",locked:(null==i||null===(e=i.data)||void 0===e||null===(e=e.locked_settings)||void 0===e?void 0:e.includes(t))||r,lockedMessage:a||(null==i||null===(n=i.i18n)||void 0===n?void 0:n.setting_locked)||""}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.settings-screens-integrations.53cbf6b02e1debd4f197.min.js b/assets/js/dist/scripts-admin.settings-screens-integrations.53cbf6b02e1debd4f197.min.js new file mode 100644 index 0000000..e85cf6e --- /dev/null +++ b/assets/js/dist/scripts-admin.settings-screens-integrations.53cbf6b02e1debd4f197.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[4688,4880,6124,7199],{46716:function(t,n,e){e.r(n),e.d(n,{deactivateIntegrations:function(){return B},saveActivationState:function(){return G}});var i,o=e(71860),r=e(90455),a=e(88856),c=e(78564),u=e.n(c),s=e(27122),l=e.n(s),d=e(40450),g=e.n(d),p=e(97867),f=e(71376),m=e(60177),v=e(55809),b=e(30242),_=e(80509),y=e(29549),A=e(5529),h=e(87029),O=e(80371),D=e(66598),k=e(16265),C=e(99270),S=e(60661),E=e(51994),w=e(84860),j=e(83707),P=e(93313),I=e(59092);function L(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,i)}return e}function R(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"";(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(r){var c;r.id!==e&&!0!==(null==r||null===(c=r.data)||void 0===c?void 0:c.disabled)&&!1!==(null==r?void 0:r.data[t])&&(G(r.id,i,o,(0,a.A)({},t,!1)),n(r.id,(0,a.A)({},t,!1)))}))},G=function(t,n,e,i){var o=i.activated,r=i.configured,a=i.enabled,c=i.is_primary,u=i.is_backup,s=x.i18n,d=(void 0===s?{}:s).debug_messages,g=void 0===d?{}:d,p=g.saving_integration_settings,v=void 0===p?"":p,b=g.saving_integration_settings_error,_=void 0===b?"":b,y={action:n,security:e,connector_type:t,settings:R(R(R(R(R({},void 0!==o&&{activated:o}),void 0!==r&&{configured:r}),void 0!==a&&{enabled:a}),void 0!==c&&{is_primary:c}),void 0!==u&&{is_backup:u})};return(0,j.A)((0,f.nv)(v,t,JSON.stringify((0,P.A)(["security"],y))),"info"),(0,m.bE)({endpoint:l(),body:y}).then((function(t){return t})).catch((function(n){throw(0,j.A)((0,f.nv)(_,t,JSON.stringify(n)),"error"),n}))},W=z((function(t){var n,e,i,o,a=t.common,c=t.data,s=t.i18n,l=t.actionItems,d=t.caps,g=(0,I.default)((function(t){return t.integrations})),f=(0,I.default)((function(t){return t.updateIntegrationSettings})),m=(0,I.default)((function(t){return t.setConfirmDialogOpen})),h=(0,I.default)((function(t){return t.setConfirmDialogSettings})),C=(0,I.default)((function(t){return t.setIntegrationSettingsFormData})),w=(0,I.default)((function(t){return t.updateIntegrationStatus})),j=(null==c||null===(n=c.data)||void 0===n?void 0:n.enabled)||!1,P=(null==c||null===(e=c.data)||void 0===e?void 0:e.configured)||!1,L=(null==a||null===(i=a.endpoints)||void 0===i||null===(i=i.save_connector_settings)||void 0===i?void 0:i.action)||"",R=(null==a||null===(o=a.endpoints)||void 0===o||null===(o=o.save_connector_settings)||void 0===o?void 0:o.nonce)||"",x=M((function(){return p.React.createElement(A.A,{customClasses:["gform-card__top-container-heading"],tagName:"h3",content:c.title,size:"text-md",weight:"medium"})}),[c.title]),T=M((function(){return c.data.is_primary?p.React.createElement(O.A,{content:s.integrations.card_primary.toUpperCase(),size:"text-xxs",spacing:[0,0,0,2],type:"blue"}):c.data.is_backup?p.React.createElement(O.A,{content:s.integrations.card_backup.toUpperCase(),size:"text-xxs",spacing:[0,0,0,2],type:"upgrade"}):null}),[c.data.is_primary,c.data.is_backup,s.integrations.card_primary,s.integrations.card_backup]),z=M((function(){return p.React.createElement(D.A,{customClasses:["gform-card__top-container-description"],color:"comet",size:"text-sm"},c.description)}),[c.description]),B=M((function(){return v["".concat(c.logo,"Logo")]}),[c.logo]),W=p.React.createElement(B,null),J=F((function(){f(c.id,!0)}),[f,c.id]),U=[W],Y=[];U.push(T);var Z=(null==s?void 0:s.integrations)||{},H=Z.card_toggle,V=Z.card_connected,q=Z.card_configured,K=Z.card_not_configured,Q=Z.card_settings,X=Z.primary_disabled_heading,$=Z.primary_disabled_content,tt=function(){m(!1)},nt=function(){var t=(0,r.A)(u().mark((function t(n){var e;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:!n&&c.data.is_primary&&(h({confirmDialogCustomAttributes:{showCancelButton:!1},confirmDialogI18n:{confirm_change_content:$,confirm_change_heading:X},confirmDialogOpen:!0,confirmDialogOnClose:tt,confirmDialogOnConfirm:tt}),m(!0)),e={enabled:n},n?(g.every((function(t){return!t.data.enabled}))&&(e.is_primary=!0),C(c.id,"enabled",n)):(e.is_primary=!1,e.is_backup=!1,C(c.id,"enabled",n),C(c.id,"is_primary",!1),C(c.id,"is_backup",!1)),G(c.id,L,R,e),w(c.id,e);case 5:case"end":return t.stop()}}),t)})));return function(n){return t.apply(this,arguments)}}(),et=p.React.createElement(k.A,{externalChecked:j,externalControl:!0,labelAttributes:{label:H,isVisible:!1},onChange:nt,disabled:!d.gravitysmtp_edit_integrations}),it=p.React.createElement(y.A,{container:!0,elementType:"div"},p.React.createElement(y.A,{item:!0,elementType:"div"},p.React.createElement(D.A,{size:"text-xs",spacing:[0,2,0,0],weight:"medium"},P?j?V:q:K)),p.React.createElement(y.A,{item:!0,elementType:"div"},p.React.createElement(E.A,{type:P?j?"success":"warning":"error"})));Y.push(it,et);var ot=p.React.createElement(_.A,{customClasses:["gform-card__top-container-settings-button"],icon:"cog",customAttributes:{"data-test-id":"integration-settings-button-".concat(c.id)},iconPrefix:"gravitysmtp-admin-icon",label:Q,onClick:J,size:"size-height-s",type:"icon-white",disabled:!d.gravitysmtp_edit_integrations}),rt=p.React.createElement(b.A,{customClasses:["gform-card__top-container-buttons"],display:"flex"},ot,p.React.createElement(N,{actionItems:l,common:a,data:c,i18n:s}));return U.push(rt),p.React.createElement(S.A,{customClasses:["gravitysmtp-settings-app__integration-card"],title:x,description:z,headerContent:U,footerContent:Y,disabled:c.data.disabled})})),J=T((function(t,n){var e=t.customAttributes,i=void 0===e?{}:e,r=t.customClasses,a=void 0===r?[]:r,c=t.common,u=void 0===c?{}:c,s=t.data,l=void 0===s?{}:s,d=t.i18n,g=void 0===d?{}:d,m=(0,I.default)((function(t){return t.integrations})),v=R({className:(0,p.classnames)({"gravitysmtp-settings-app__integrations":!0},a),"data-test-id":"settings-integrations-screen"},i),_=(null==g?void 0:g.integrations)||{},O=_.top_heading,k=_.top_content,C=_.suggestion_link_text,S=(_.lower_heading,_.lower_content,(null==l?void 0:l.integrations_actions)||[]),E=(null==l?void 0:l.caps)||{};return p.React.createElement("div",(0,o.A)({},v,{ref:n}),p.React.createElement(A.A,{size:"display-sm",weight:"semibold",spacing:1,content:O}),p.React.createElement(D.A,{size:"text-sm",color:"comet",spacing:6},k,p.React.createElement(h.A,{spacing:[0,0,0,1],target:"_blank",href:"https://roadmap.smtp.gravity.com/",content:C})),!!m.length&&E.gravitysmtp_view_integrations&&p.React.createElement(b.A,{spacing:6},p.React.createElement(y.A,{container:!0,wrap:!0,customClasses:["gravitysmtp-settings-app__integration-card-grid"],justifyContent:"flex-start",columnSpacing:5,rowSpacing:6},m.map((function(t){var n;return null!=t&&null!==(n=t.data)&&void 0!==n&&n.disabled?null:p.React.createElement(y.A,{item:!0,key:"integrations-".concat((0,f.Yv)(t.title)),customClasses:["gravitysmtp-settings-app__integration-card-grid-item","gravitysmtp-settings-app__integration-card-grid-item--".concat((0,f.Yv)(t.title))],customAttributes:{"data-test-id":"integration-card-".concat(t.id)}},p.React.createElement(W,{common:u,data:t,i18n:g,actionItems:S,caps:E}))})))))}));J.propTypes={customAttributes:p.PropTypes.object,customClasses:p.PropTypes.oneOfType([p.PropTypes.string,p.PropTypes.array,p.PropTypes.object]),data:p.PropTypes.object,i18n:p.PropTypes.object},J.displayName="IntegrationsScreen",n.default=J},59092:function(t,n,e){e.r(n);var i,o,r,a,c,u,s=e(88856),l=e(40450),d=e.n(l),g=e(97867),p=e(8173),f=e(71376);function m(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,i)}return e}function v(t){for(var n=1;n0&&void 0!==m[0]?m[0]:"",o=m.length>1&&void 0!==m[1]?m[1]:"debug",r=g.data,c=void 0===r?{}:r,s=g.endpoints,p=(null==(l=void 0===s?{}:s)||null===(n=l.log_debug_item)||void 0===n?void 0:n.action)||"",f=(null==l||null===(e=l.log_debug_item)||void 0===e?void 0:e.nonce)||"",null!=c&&c.debug_log_enabled&&p&&f&&i){t.next=7;break}return t.abrupt("return");case 7:return t.next=9,(0,d.bE)({endpoint:u(),body:{action:p,security:f,message:i,priority:o}}).catch((function(t){}));case 9:return t.abrupt("return",t.sent);case 10:case"end":return t.stop()}}),t)}))),f.apply(this,arguments)}},93313:function(t,n,e){var i=e(52888),o=e(8140);n.A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*",e=function(r){return Object.entries(r).reduce((function(r,a){var c=(0,o.A)(a,2),u=c[0],s=c[1];return"object"===(0,i.A)(s)&&null!==s?r[u]=e(s):t.includes(u)?r[u]=null===s?null:n.repeat(s.length):r[u]=s,r}),Array.isArray(r)?[]:{})};return e(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.settings-screens-integrations.e30d706b254cf493be9f.min.js b/assets/js/dist/scripts-admin.settings-screens-integrations.e30d706b254cf493be9f.min.js deleted file mode 100644 index 4c16db2..0000000 --- a/assets/js/dist/scripts-admin.settings-screens-integrations.e30d706b254cf493be9f.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[6124,4880,4688,7199],{46716:function(t,n,e){e.r(n),e.d(n,{deactivateIntegrations:function(){return B},saveActivationState:function(){return G}});var i,o=e(71860),r=e(90455),a=e(88856),c=e(78564),s=e.n(c),u=e(27122),l=e.n(u),d=e(40450),g=e.n(d),p=e(97867),m=e(71376),f=e(60177),v=e(55809),b=e(30242),_=e(80509),y=e(29549),A=e(5529),h=e(87029),D=e(80371),C=e(66598),O=e(16265),k=e(99270),S=e(60661),E=e(51994),w=e(84860),I=e(83707),R=e(93313),L=e(59092);function P(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,i)}return e}function x(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"";(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(r){var c;r.id!==e&&!0!==(null==r||null===(c=r.data)||void 0===c?void 0:c.disabled)&&!1!==(null==r?void 0:r.data[t])&&(G(r.id,i,o,(0,a.A)({},t,!1)),n(r.id,(0,a.A)({},t,!1)))}))},G=function(t,n,e,i){var o=i.activated,r=i.configured,a=i.enabled,c=i.is_primary,s=i.is_backup,u=j.i18n,d=(void 0===u?{}:u).debug_messages,g=void 0===d?{}:d,p=g.saving_integration_settings,v=void 0===p?"":p,b=g.saving_integration_settings_error,_=void 0===b?"":b,y={action:n,security:e,connector_type:t,settings:x(x(x(x(x({},void 0!==o&&{activated:o}),void 0!==r&&{configured:r}),void 0!==a&&{enabled:a}),void 0!==c&&{is_primary:c}),void 0!==s&&{is_backup:s})};return(0,I.A)((0,m.nv)(v,t,JSON.stringify((0,R.A)(["security"],y))),"info"),(0,f.bE)({endpoint:l(),body:y}).then((function(t){return t})).catch((function(n){throw(0,I.A)((0,m.nv)(_,t,JSON.stringify(n)),"error"),n}))},W=z((function(t){var n,e,i,o,a=t.common,c=t.data,u=t.i18n,l=t.actionItems,d=t.caps,g=(0,L.default)((function(t){return t.integrations})),m=(0,L.default)((function(t){return t.updateIntegrationSettings})),f=(0,L.default)((function(t){return t.setConfirmDialogOpen})),h=(0,L.default)((function(t){return t.setConfirmDialogSettings})),k=(0,L.default)((function(t){return t.setIntegrationSettingsFormData})),w=(0,L.default)((function(t){return t.updateIntegrationStatus})),I=(null==c||null===(n=c.data)||void 0===n?void 0:n.enabled)||!1,R=(null==c||null===(e=c.data)||void 0===e?void 0:e.configured)||!1,P=(null==a||null===(i=a.endpoints)||void 0===i||null===(i=i.save_connector_settings)||void 0===i?void 0:i.action)||"",x=(null==a||null===(o=a.endpoints)||void 0===o||null===(o=o.save_connector_settings)||void 0===o?void 0:o.nonce)||"",j=F((function(){return p.React.createElement(A.A,{customClasses:["gform-card__top-container-heading"],tagName:"h3",content:c.title,size:"text-md",weight:"medium"})}),[c.title]),T=F((function(){return c.data.is_primary?p.React.createElement(D.A,{content:u.integrations.card_primary.toUpperCase(),size:"text-xxs",spacing:[0,0,0,2],type:"blue"}):c.data.is_backup?p.React.createElement(D.A,{content:u.integrations.card_backup.toUpperCase(),size:"text-xxs",spacing:[0,0,0,2],type:"upgrade"}):null}),[c.data.is_primary,c.data.is_backup,u.integrations.card_primary,u.integrations.card_backup]),z=F((function(){return p.React.createElement(C.A,{customClasses:["gform-card__top-container-description"],color:"comet",size:"text-sm"},c.description)}),[c.description]),B=F((function(){return v["".concat(c.logo,"Logo")]}),[c.logo]),W=p.React.createElement(B,null),J=M((function(){m(c.id,!0)}),[m,c.id]),U=[W],Y=[];U.push(T);var H=(null==u?void 0:u.integrations)||{},V=H.card_toggle,Z=H.card_connected,q=H.card_configured,K=H.card_not_configured,Q=H.card_settings,X=H.primary_disabled_heading,$=H.primary_disabled_content,tt=function(){f(!1)},nt=function(){var t=(0,r.A)(s().mark((function t(n){var e;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:!n&&c.data.is_primary&&(h({confirmDialogCustomAttributes:{showCancelButton:!1},confirmDialogI18n:{confirm_change_content:$,confirm_change_heading:X},confirmDialogOpen:!0,confirmDialogOnClose:tt,confirmDialogOnConfirm:tt}),f(!0)),e={enabled:n},n?(g.every((function(t){return!t.data.enabled}))&&(e.is_primary=!0),k(c.id,"enabled",n)):(e.is_primary=!1,e.is_backup=!1,k(c.id,"enabled",n),k(c.id,"is_primary",!1),k(c.id,"is_backup",!1)),G(c.id,P,x,e),w(c.id,e);case 5:case"end":return t.stop()}}),t)})));return function(n){return t.apply(this,arguments)}}(),et=p.React.createElement(O.A,{externalChecked:I,externalControl:!0,labelAttributes:{label:V,isVisible:!1},onChange:nt,disabled:!d.gravitysmtp_edit_integrations}),it=p.React.createElement(y.A,{container:!0,elementType:"div"},p.React.createElement(y.A,{item:!0,elementType:"div"},p.React.createElement(C.A,{size:"text-xs",spacing:[0,2,0,0],weight:"medium"},R?I?Z:q:K)),p.React.createElement(y.A,{item:!0,elementType:"div"},p.React.createElement(E.A,{type:R?I?"success":"warning":"error"})));Y.push(it,et);var ot=p.React.createElement(_.A,{customClasses:["gform-card__top-container-settings-button"],icon:"cog",customAttributes:{"data-test-id":"integration-settings-button-".concat(c.id)},iconPrefix:"gravitysmtp-admin-icon",label:Q,onClick:J,size:"size-height-s",type:"icon-white",disabled:!d.gravitysmtp_edit_integrations}),rt=p.React.createElement(b.A,{customClasses:["gform-card__top-container-buttons"],display:"flex"},ot,p.React.createElement(N,{actionItems:l,common:a,data:c,i18n:u}));return U.push(rt),p.React.createElement(S.A,{customClasses:["gravitysmtp-settings-app__integration-card"],title:j,description:z,headerContent:U,footerContent:Y,disabled:c.data.disabled})})),J=T((function(t,n){var e=t.customAttributes,i=void 0===e?{}:e,r=t.customClasses,a=void 0===r?[]:r,c=t.common,s=void 0===c?{}:c,u=t.data,l=void 0===u?{}:u,d=t.i18n,g=void 0===d?{}:d,f=(0,L.default)((function(t){return t.integrations})),v=x({className:(0,p.classnames)({"gravitysmtp-settings-app__integrations":!0},a),"data-test-id":"settings-integrations-screen"},i),_=(null==g?void 0:g.integrations)||{},D=_.top_heading,O=_.top_content,k=_.suggestion_link_text,S=(_.lower_heading,_.lower_content,(null==l?void 0:l.integrations_actions)||[]),E=(null==l?void 0:l.caps)||{};return p.React.createElement("div",(0,o.A)({},v,{ref:n}),p.React.createElement(A.A,{size:"display-sm",weight:"semibold",spacing:1,content:D}),p.React.createElement(C.A,{size:"text-sm",color:"comet",spacing:6},O,p.React.createElement(h.A,{spacing:[0,0,0,1],target:"_blank",href:"https://roadmap.smtp.gravity.com/",content:k})),!!f.length&&E.gravitysmtp_view_integrations&&p.React.createElement(b.A,{spacing:6},p.React.createElement(y.A,{container:!0,wrap:!0,customClasses:["gravitysmtp-settings-app__integration-card-grid"],justifyContent:"flex-start",columnSpacing:5,rowSpacing:6},f.map((function(t){var n;return null!=t&&null!==(n=t.data)&&void 0!==n&&n.disabled?null:p.React.createElement(y.A,{item:!0,key:"integrations-".concat((0,m.Yv)(t.title)),customClasses:["gravitysmtp-settings-app__integration-card-grid-item","gravitysmtp-settings-app__integration-card-grid-item--".concat((0,m.Yv)(t.title))],customAttributes:{"data-test-id":"integration-card-".concat(t.id)}},p.React.createElement(W,{common:s,data:t,i18n:g,actionItems:S,caps:E}))})))))}));J.propTypes={customAttributes:p.PropTypes.object,customClasses:p.PropTypes.oneOfType([p.PropTypes.string,p.PropTypes.array,p.PropTypes.object]),data:p.PropTypes.object,i18n:p.PropTypes.object},J.displayName="IntegrationsScreen",n.default=J},59092:function(t,n,e){e.r(n);var i,o,r,a,c,s,u,l,d,g=e(40450),p=e.n(g),m=e(97867),f=e(13296),v=e(71376),b=(null===(i=(0,v.zj)(p(),"gravitysmtp_admin_config"))||void 0===i||null===(i=i.components)||void 0===i?void 0:i.settings)||{},_=(null===(o=(0,v.zj)(p(),"gravitysmtp_admin_config"))||void 0===o?void 0:o.common)||{},y={activeIntegration:(d=null==b||null===(l=b.data)||void 0===l||null===(l=l.integrations)||void 0===l?void 0:l.find((function(t){var n;return null==t||null===(n=t.data)||void 0===n?void 0:n.enabled})),(null==d?void 0:d.id)||""),activeIntegrationSettings:"",confirmDialogCustomAttributes:{},confirmDialogI18n:{},confirmDialogOnCancel:function(){},confirmDialogOnClose:function(){},confirmDialogOnConfirm:function(){},confirmDialogOpen:!1,confirmDialogConfirmButtonType:"primary-new",debugLogEnabled:(null==_||null===(r=_.data)||void 0===r?void 0:r.debug_log_enabled)||!1,integrations:(null==b||null===(a=b.data)||void 0===a?void 0:a.integrations)||[],integrationSettingsDialogOpen:!1,integrationSettingsFormData:(u={},null==b||null===(s=b.data)||void 0===s||null===(s=s.integrations)||void 0===s||s.forEach((function(t){u[t.id]=(null==t?void 0:t.data)||{}})),u),noticeDialogOpen:!1,pageLoaderActive:!1,testModeEnabled:(null==_||null===(c=_.data)||void 0===c?void 0:c.test_mode_enabled)||!1},A=(0,f.vt)(y,(function(t){return{setActiveIntegration:function(n){return t((function(){return{activeIntegration:n}}))},setActiveIntegrationSettings:function(n){return t((function(){return{activeIntegrationSettings:n}}))},setConfirmDialogOpen:function(n){return t((function(){return{confirmDialogOpen:n}}))},setConfirmDialogSettings:function(n){var e=n.confirmDialogCustomAttributes,i=void 0===e?{}:e,o=n.confirmDialogI18n,r=void 0===o?{}:o,a=n.confirmDialogOpen,c=void 0!==a&&a,s=n.confirmDialogOnCancel,u=void 0===s?function(){}:s,l=n.confirmDialogOnClose,d=void 0===l?function(){}:l,g=n.confirmDialogOnConfirm,p=void 0===g?function(){}:g,m=n.confirmDialogConfirmButtonType,f=void 0===m?"primary-new":m;t((function(){return{confirmDialogCustomAttributes:i,confirmDialogConfirmButtonType:f,confirmDialogI18n:r,confirmDialogOpen:c,confirmDialogOnCancel:u,confirmDialogOnClose:d,confirmDialogOnConfirm:p}}))},setIntegrationSettingsDialogOpen:function(n){return t((function(){return{integrationSettingsDialogOpen:n}}))},setNoticeDialogOpen:function(n){return t((function(){return{noticeDialogOpen:n}}))},setPageLoaderActive:function(n){return t((function(){return{pageLoaderActive:n}}))},setIntegrationSettingsFormData:function(n,e,i){return t((0,m.immer)((function(t){t.integrationSettingsFormData[n]||(t.integrationSettingsFormData[n]={}),t.integrationSettingsFormData[n][e]=i})))},setDebugLogEnabled:function(n){return t((function(){return{debugLogEnabled:n}}))},setTestModeEnabled:function(n){return t((function(){return{testModeEnabled:n}}))},updateIntegrationSettings:function(n,e){return t((function(){return{activeIntegrationSettings:n,integrationSettingsDialogOpen:e}}))},updateIntegrationStatus:function(n,e){var i=e.activated,o=e.configured,r=e.enabled,a=e.is_primary,c=e.is_backup;return t((0,m.immer)((function(t){var e=t.integrations.find((function(t){return t.id===n}));e&&(e.data||(e.data={}),void 0!==i&&(e.data.activated=i),void 0!==o&&(e.data.configured=o),void 0!==r&&(e.data.enabled=r),void 0!==a&&(e.data.is_primary=a),void 0!==c&&(e.data.is_backup=c))})))}}}));n.default=A},55809:function(t,n,e){e.r(n),e.d(n,{AmazonAWSLogo:function(){return i.A},BrevoLogo:function(){return o.A},CustomSMTPLogo:function(){return r.A},GoogleAltLogo:function(){return a.A},GoogleLogo:function(){return c.A},MailchimpLogo:function(){return u.A},MailgunLogo:function(){return s.A},MandrillLogo:function(){return l.A},MicrosoftAltLogo:function(){return d.A},MicrosoftLogo:function(){return g.A},PHPLogo:function(){return p.A},PostmarkLogo:function(){return m.A},SMTP2GOLogo:function(){return b.A},SendGridLogo:function(){return f.A},SlackLogo:function(){return v.A},SparkPostLogo:function(){return _.A},TelegramLogo:function(){return y.A},TwilioLogo:function(){return A.A},WhatsAppLogo:function(){return h.A},WordPressLogo:function(){return D.A},ZohoLogo:function(){return C.A}});var i=e(80403),o=e(53214),r=e(26220),a=e(63660),c=e(80419),s=e(73437),u=e(8524),l=e(49501),d=e(40783),g=e(55582),p=e(814),m=e(10503),f=e(83654),v=e(15034),b=e(68694),_=e(14945),y=e(23203),A=e(6560),h=e(73650),D=e(84173),C=e(64158)},83707:function(t,n,e){e.d(n,{A:function(){return p}});var i,o=e(90455),r=e(78564),a=e.n(r),c=e(27122),s=e.n(c),u=e(40450),l=e.n(u),d=e(60177),g=(null===(i=(0,e(71376).zj)(l(),"gravitysmtp_admin_config"))||void 0===i?void 0:i.common)||{};function p(){return m.apply(this,arguments)}function m(){return m=(0,o.A)(a().mark((function t(){var n,e,i,o,r,c,u,l,p,m,f=arguments;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=f.length>0&&void 0!==f[0]?f[0]:"",o=f.length>1&&void 0!==f[1]?f[1]:"debug",r=g.data,c=void 0===r?{}:r,u=g.endpoints,p=(null==(l=void 0===u?{}:u)||null===(n=l.log_debug_item)||void 0===n?void 0:n.action)||"",m=(null==l||null===(e=l.log_debug_item)||void 0===e?void 0:e.nonce)||"",null!=c&&c.debug_log_enabled&&p&&m&&i){t.next=7;break}return t.abrupt("return");case 7:return t.next=9,(0,d.bE)({endpoint:s(),body:{action:p,security:m,message:i,priority:o}}).catch((function(t){}));case 9:return t.abrupt("return",t.sent);case 10:case"end":return t.stop()}}),t)}))),m.apply(this,arguments)}},93313:function(t,n,e){var i=e(52888),o=e(8140);n.A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*";return function e(r){return Object.entries(r).reduce((function(r,a){var c=(0,o.A)(a,2),s=c[0],u=c[1];return"object"===(0,i.A)(u)&&null!==u?r[s]=e(u):t.includes(s)?r[s]=null===u?null:n.repeat(u.length):r[s]=u,r}),Array.isArray(r)?[]:{})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.settings-screens-logging.d3c84a80b2447a17299c.min.js b/assets/js/dist/scripts-admin.settings-screens-logging.d3c84a80b2447a17299c.min.js deleted file mode 100644 index 6f32a0c..0000000 --- a/assets/js/dist/scripts-admin.settings-screens-logging.d3c84a80b2447a17299c.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[4880,4688],{59092:function(n,t,i){i.r(t);var o,e,r,a,u,l,c,d,g,f=i(40450),s=i.n(f),v=i(97867),m=i(13296),p=i(71376),D=(null===(o=(0,p.zj)(s(),"gravitysmtp_admin_config"))||void 0===o||null===(o=o.components)||void 0===o?void 0:o.settings)||{},b=(null===(e=(0,p.zj)(s(),"gravitysmtp_admin_config"))||void 0===e?void 0:e.common)||{},O={activeIntegration:(g=null==D||null===(d=D.data)||void 0===d||null===(d=d.integrations)||void 0===d?void 0:d.find((function(n){var t;return null==n||null===(t=n.data)||void 0===t?void 0:t.enabled})),(null==g?void 0:g.id)||""),activeIntegrationSettings:"",confirmDialogCustomAttributes:{},confirmDialogI18n:{},confirmDialogOnCancel:function(){},confirmDialogOnClose:function(){},confirmDialogOnConfirm:function(){},confirmDialogOpen:!1,confirmDialogConfirmButtonType:"primary-new",debugLogEnabled:(null==b||null===(r=b.data)||void 0===r?void 0:r.debug_log_enabled)||!1,integrations:(null==D||null===(a=D.data)||void 0===a?void 0:a.integrations)||[],integrationSettingsDialogOpen:!1,integrationSettingsFormData:(c={},null==D||null===(l=D.data)||void 0===l||null===(l=l.integrations)||void 0===l||l.forEach((function(n){c[n.id]=(null==n?void 0:n.data)||{}})),c),noticeDialogOpen:!1,pageLoaderActive:!1,testModeEnabled:(null==b||null===(u=b.data)||void 0===u?void 0:u.test_mode_enabled)||!1},_=(0,m.vt)(O,(function(n){return{setActiveIntegration:function(t){return n((function(){return{activeIntegration:t}}))},setActiveIntegrationSettings:function(t){return n((function(){return{activeIntegrationSettings:t}}))},setConfirmDialogOpen:function(t){return n((function(){return{confirmDialogOpen:t}}))},setConfirmDialogSettings:function(t){var i=t.confirmDialogCustomAttributes,o=void 0===i?{}:i,e=t.confirmDialogI18n,r=void 0===e?{}:e,a=t.confirmDialogOpen,u=void 0!==a&&a,l=t.confirmDialogOnCancel,c=void 0===l?function(){}:l,d=t.confirmDialogOnClose,g=void 0===d?function(){}:d,f=t.confirmDialogOnConfirm,s=void 0===f?function(){}:f,v=t.confirmDialogConfirmButtonType,m=void 0===v?"primary-new":v;n((function(){return{confirmDialogCustomAttributes:o,confirmDialogConfirmButtonType:m,confirmDialogI18n:r,confirmDialogOpen:u,confirmDialogOnCancel:c,confirmDialogOnClose:g,confirmDialogOnConfirm:s}}))},setIntegrationSettingsDialogOpen:function(t){return n((function(){return{integrationSettingsDialogOpen:t}}))},setNoticeDialogOpen:function(t){return n((function(){return{noticeDialogOpen:t}}))},setPageLoaderActive:function(t){return n((function(){return{pageLoaderActive:t}}))},setIntegrationSettingsFormData:function(t,i,o){return n((0,v.immer)((function(n){n.integrationSettingsFormData[t]||(n.integrationSettingsFormData[t]={}),n.integrationSettingsFormData[t][i]=o})))},setDebugLogEnabled:function(t){return n((function(){return{debugLogEnabled:t}}))},setTestModeEnabled:function(t){return n((function(){return{testModeEnabled:t}}))},updateIntegrationSettings:function(t,i){return n((function(){return{activeIntegrationSettings:t,integrationSettingsDialogOpen:i}}))},updateIntegrationStatus:function(t,i){var o=i.activated,e=i.configured,r=i.enabled,a=i.is_primary,u=i.is_backup;return n((0,v.immer)((function(n){var i=n.integrations.find((function(n){return n.id===t}));i&&(i.data||(i.data={}),void 0!==o&&(i.data.activated=o),void 0!==e&&(i.data.configured=e),void 0!==r&&(i.data.enabled=r),void 0!==a&&(i.data.is_primary=a),void 0!==u&&(i.data.is_backup=u))})))}}}));t.default=_},83707:function(n,t,i){i.d(t,{A:function(){return s}});var o,e=i(90455),r=i(78564),a=i.n(r),u=i(27122),l=i.n(u),c=i(40450),d=i.n(c),g=i(60177),f=(null===(o=(0,i(71376).zj)(d(),"gravitysmtp_admin_config"))||void 0===o?void 0:o.common)||{};function s(){return v.apply(this,arguments)}function v(){return v=(0,e.A)(a().mark((function n(){var t,i,o,e,r,u,c,d,s,v,m=arguments;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o=m.length>0&&void 0!==m[0]?m[0]:"",e=m.length>1&&void 0!==m[1]?m[1]:"debug",r=f.data,u=void 0===r?{}:r,c=f.endpoints,s=(null==(d=void 0===c?{}:c)||null===(t=d.log_debug_item)||void 0===t?void 0:t.action)||"",v=(null==d||null===(i=d.log_debug_item)||void 0===i?void 0:i.nonce)||"",null!=u&&u.debug_log_enabled&&s&&v&&o){n.next=7;break}return n.abrupt("return");case 7:return n.next=9,(0,g.bE)({endpoint:l(),body:{action:s,security:v,message:o,priority:e}}).catch((function(n){}));case 9:return n.abrupt("return",n.sent);case 10:case"end":return n.stop()}}),n)}))),v.apply(this,arguments)}},93313:function(n,t,i){var o=i(52888),e=i(8140);t.A=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*";return function i(r){return Object.entries(r).reduce((function(r,a){var u=(0,e.A)(a,2),l=u[0],c=u[1];return"object"===(0,o.A)(c)&&null!==c?r[l]=i(c):n.includes(l)?r[l]=null===c?null:t.repeat(c.length):r[l]=c,r}),Array.isArray(r)?[]:{})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.settings-screens-logging.fadd5e8b55b87a832e02.min.js b/assets/js/dist/scripts-admin.settings-screens-logging.fadd5e8b55b87a832e02.min.js new file mode 100644 index 0000000..43c04cc --- /dev/null +++ b/assets/js/dist/scripts-admin.settings-screens-logging.fadd5e8b55b87a832e02.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[4688,4880],{59092:function(n,t,e){e.r(t);var i,o,r,a,u,c,l=e(88856),d=e(40450),g=e.n(d),f=e(97867),s=e(8173),v=e(71376);function m(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,i)}return e}function p(n){for(var t=1;t0&&void 0!==m[0]?m[0]:"",o=m.length>1&&void 0!==m[1]?m[1]:"debug",r=f.data,u=void 0===r?{}:r,l=f.endpoints,s=(null==(d=void 0===l?{}:l)||null===(t=d.log_debug_item)||void 0===t?void 0:t.action)||"",v=(null==d||null===(e=d.log_debug_item)||void 0===e?void 0:e.nonce)||"",null!=u&&u.debug_log_enabled&&s&&v&&i){n.next=7;break}return n.abrupt("return");case 7:return n.next=9,(0,g.bE)({endpoint:c(),body:{action:s,security:v,message:i,priority:o}}).catch((function(n){}));case 9:return n.abrupt("return",n.sent);case 10:case"end":return n.stop()}}),n)}))),v.apply(this,arguments)}},93313:function(n,t,e){var i=e(52888),o=e(8140);t.A=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*",e=function(r){return Object.entries(r).reduce((function(r,a){var u=(0,o.A)(a,2),c=u[0],l=u[1];return"object"===(0,i.A)(l)&&null!==l?r[c]=e(l):n.includes(c)?r[c]=null===l?null:t.repeat(l.length):r[c]=l,r}),Array.isArray(r)?[]:{})};return e(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.settings-screens-settings.35a082d00db019292db2.min.js b/assets/js/dist/scripts-admin.settings-screens-settings.35a082d00db019292db2.min.js new file mode 100644 index 0000000..3bc9787 --- /dev/null +++ b/assets/js/dist/scripts-admin.settings-screens-settings.35a082d00db019292db2.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[4688,4880,9702],{59092:function(n,t,e){e.r(t);var i,o,r,a,u,c,l=e(88856),d=e(40450),s=e.n(d),v=e(97867),g=e(8173),f=e(71376);function p(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,i)}return e}function m(n){for(var t=1;t0&&void 0!==p[0]?p[0]:"",o=p.length>1&&void 0!==p[1]?p[1]:"debug",r=v.data,u=void 0===r?{}:r,l=v.endpoints,g=(null==(d=void 0===l?{}:l)||null===(t=d.log_debug_item)||void 0===t?void 0:t.action)||"",f=(null==d||null===(e=d.log_debug_item)||void 0===e?void 0:e.nonce)||"",null!=u&&u.debug_log_enabled&&g&&f&&i){n.next=7;break}return n.abrupt("return");case 7:return n.next=9,(0,s.bE)({endpoint:c(),body:{action:g,security:f,message:i,priority:o}}).catch((function(n){}));case 9:return n.abrupt("return",n.sent);case 10:case"end":return n.stop()}}),n)}))),f.apply(this,arguments)}},90266:function(n,t,e){e.d(t,{A:function(){return l}});var i,o,r=e(40450),a=e.n(r),u=(null===(i=(0,e(71376).zj)(a(),"gravitysmtp_admin_config"))||void 0===i?void 0:i.common)||{},c=(null==u||null===(o=u.data)||void 0===o?void 0:o.constants)||{};function l(){return c[arguments.length>0&&void 0!==arguments[0]?arguments[0]:""]||""}},33695:function(n,t,e){e.d(t,{A:function(){return l}});var i,o,r=e(40450),a=e.n(r),u=(null===(i=(0,e(71376).zj)(a(),"gravitysmtp_admin_config"))||void 0===i?void 0:i.common)||{},c=(null==u||null===(o=u.data)||void 0===o?void 0:o.param_keys)||{};function l(){return c[arguments.length>0&&void 0!==arguments[0]?arguments[0]:""]||""}},49572:function(n,t,e){e.d(t,{A:function(){return p}});var i,o,r,a,u=e(40450),c=e.n(u),l=e(71376),d=e(90266),s=(null===(i=(0,l.zj)(c(),"gravitysmtp_admin_config"))||void 0===i?void 0:i.components)||{},v=(null==s||null===(o=s.activity_log)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.caps)||{},g=(null==s||null===(r=s.settings)||void 0===r||null===(r=r.data)||void 0===r?void 0:r.caps)||{},f=(null==s||null===(a=s.tools)||void 0===a||null===(a=a.data)||void 0===a?void 0:a.caps)||{};function p(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=(0,d.A)(n);return v[t]||g[t]||f[t]||!1}},93313:function(n,t,e){var i=e(52888),o=e(8140);t.A=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*",e=function(r){return Object.entries(r).reduce((function(r,a){var u=(0,o.A)(a,2),c=u[0],l=u[1];return"object"===(0,i.A)(l)&&null!==l?r[c]=e(l):n.includes(c)?r[c]=null===l?null:t.repeat(l.length):r[c]=l,r}),Array.isArray(r)?[]:{})};return e(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},27764:function(n,t,e){var i,o=e(40450),r=e.n(o),a=(null===(i=(0,e(71376).zj)(r(),"gravitysmtp_admin_config"))||void 0===i?void 0:i.common)||{};t.A=function(){var n,t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{iconPrefix:"gravitysmtp-admin-icon",locked:(null==a||null===(n=a.data)||void 0===n||null===(n=n.locked_settings)||void 0===n?void 0:n.includes(e))||i,lockedMessage:o||(null==a||null===(t=a.i18n)||void 0===t?void 0:t.setting_locked)||""}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.settings-screens-settings.b3b43dae07bfd049f2e8.min.js b/assets/js/dist/scripts-admin.settings-screens-settings.b3b43dae07bfd049f2e8.min.js deleted file mode 100644 index 8cca6f8..0000000 --- a/assets/js/dist/scripts-admin.settings-screens-settings.b3b43dae07bfd049f2e8.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[9702,4880,4688],{69586:function(e,t,n){n.r(t);var i=n(90455),a=n(71860),r=n(8140),o=n(88856),s=n(78564),c=n.n(s),l=n(27122),u=n.n(l),d=n(97867),g=n(13296),m=n(60177),v=n(71376),f=n(30242),p=n(80509),_=n(5529),y=n(25787),b=n(87029),h=n(66598),A=n(16265),x=n(82263),O=n(13379),k=n(84860),D=n(27764),C=n(83707),w=n(93313),E=n(59092);function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function S(e){for(var t=1;t0&&void 0!==f[0]?f[0]:"",a=f.length>1&&void 0!==f[1]?f[1]:"debug",r=g.data,s=void 0===r?{}:r,l=g.endpoints,m=(null==(u=void 0===l?{}:l)||null===(t=u.log_debug_item)||void 0===t?void 0:t.action)||"",v=(null==u||null===(n=u.log_debug_item)||void 0===n?void 0:n.nonce)||"",null!=s&&s.debug_log_enabled&&m&&v&&i){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,(0,d.bE)({endpoint:c(),body:{action:m,security:v,message:i,priority:a}}).catch((function(e){}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}},93313:function(e,t,n){var i=n(52888),a=n(8140);t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*";return function n(r){return Object.entries(r).reduce((function(r,o){var s=(0,a.A)(o,2),c=s[0],l=s[1];return"object"===(0,i.A)(l)&&null!==l?r[c]=n(l):e.includes(c)?r[c]=null===l?null:t.repeat(l.length):r[c]=l,r}),Array.isArray(r)?[]:{})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},27764:function(e,t,n){var i,a=n(40450),r=n.n(a),o=(null===(i=(0,n(71376).zj)(r(),"gravitysmtp_admin_config"))||void 0===i?void 0:i.common)||{};t.A=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{iconPrefix:"gravitysmtp-admin-icon",locked:(null==o||null===(e=o.data)||void 0===e||null===(e=e.locked_settings)||void 0===e?void 0:e.includes(n))||i,lockedMessage:a||(null==o||null===(t=o.i18n)||void 0===t?void 0:t.setting_locked)||""}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.settings-settings.0958060282dd29effaba.min.js b/assets/js/dist/scripts-admin.settings-settings.0958060282dd29effaba.min.js deleted file mode 100644 index 915abaa..0000000 --- a/assets/js/dist/scripts-admin.settings-settings.0958060282dd29effaba.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[622,3348,3020],{56985:function(e,t,n){n.r(t);var r=n(71860),a=n(88856),i=n(97867),o=n(24316),s=n(30242),c=n(43632),l=n(59092);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var p=(0,i.React.forwardRef)((function(e,t){var n=e.customAttributes,p=void 0===n?{}:n,m=e.customClasses,d=void 0===m?[]:m,g=e.common,f=void 0===g?{}:g,v=function(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},t=_(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e),n=y(t,e.activeIntegrationSettings);if(!["microsoft","google","generic","amazon"].includes(e.activeIntegrationSettings))return n;var r=n;return["microsoft","google","amazon"].includes(e.activeIntegrationSettings)?r=b(n,e):"generic"===e.activeIntegrationSettings&&(r=h(n,e)),r}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.settings-settings.7bb90e1fe1857f6a33ec.min.js b/assets/js/dist/scripts-admin.settings-settings.7bb90e1fe1857f6a33ec.min.js new file mode 100644 index 0000000..1c90333 --- /dev/null +++ b/assets/js/dist/scripts-admin.settings-settings.7bb90e1fe1857f6a33ec.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[622,3020],{56985:function(e,t,n){n.r(t);var r=n(71860),a=n(88856),i=n(97867),o=n(24316),s=n(30242),c=n(43632),l=n(59092);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var p=(0,i.React.forwardRef)((function(e,t){var n=e.customAttributes,p=void 0===n?{}:n,d=e.customClasses,m=void 0===d?[]:d,g=e.common,f=void 0===g?{}:g,v=function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(n){return j(j({},n),{},{props:j(j({},n.props),{},{id:e[t].repeater_item_id,onChange:i(n.props.name,t),value:e[t][n.props.name]})})}))}(n,r).map((function(e){return p.React.createElement(_.A,(0,a.A)({key:"".concat(o,"-repeater-input-").concat(e.props.id,"-").concat(e.props.name),disabled:!(0,E.A)("CAPS_EDIT_ALERTS")},e.props))}))},Vt=(0,E.A)("CAPS_EDIT_ALERTS")?{}:{disabled:!0},Ft=function(){var e=(0,r.A)(c().mark((function e(){var t,n,r,a;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Bt.current.offsetWidth,St(t),Rt(!0),n={action:$e,security:Ze,alerts_settings:(0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)({},(0,w.A)("alert_threshold_count"),gt),(0,w.A)("alert_threshold_interval"),bt),(0,w.A)("notify_when_email_sending_fails_enabled"),nt),(0,w.A)("slack_alerts_enabled"),ot),(0,w.A)("twilio_alerts_enabled"),ut),(0,w.A)("slack_alerts"),Ct),(0,w.A)("twilio_alerts"),It)},e.next=6,(0,R.A)((0,m.nv)(We,JSON.stringify((0,P.A)(["security"],n))),"info");case 6:return e.prev=6,e.next=9,(0,d.bE)({endpoint:u(),body:n});case 9:a=e.sent,Rt(!1),St(""),null!=a&&null!==(r=a.data)&&void 0!==r&&r.success?(Gt(qe),Tt(!1),Mt.current=JSON.stringify(B.alerts_settings)):Gt(Je,"error"),e.next=20;break;case 15:return e.prev=15,e.t0=e.catch(6),e.next=20,(0,R.A)((0,m.nv)(Ve,JSON.stringify(e.t0)),"error");case 20:case"end":return e.stop()}}),e,null,[[6,15]])})));return function(){return e.apply(this,arguments)}}(),Jt=function(e,t){t.target.name===(0,w.A)("alert_threshold_count")?(ft(e),Wt((0,w.A)("alert_threshold_count"),e)):(yt(e),Wt((0,w.A)("alert_threshold_interval"),e))},Ut={controlled:!0,customAttributes:{min:1,"data-test-id":"alerts-settings-count"},customClasses:["gravitysmtp-alerts-settings__count"],disabled:!(0,E.A)("CAPS_EDIT_ALERTS"),helpTextAttributes:{content:J,size:"text-xs",weight:"regular"},labelAttributes:j({label:F},(0,T.A)((0,w.A)("alert_threshold_count"))),name:(0,w.A)("alert_threshold_count"),onChange:Jt,spacing:4,type:"number",value:String(gt)},qt={controlled:!0,customAttributes:{min:1,"data-test-id":"alerts-settings-interval"},customClasses:["gravitysmtp-alerts-settings__interval"],disabled:!(0,E.A)("CAPS_EDIT_ALERTS"),helpTextAttributes:{content:q,size:"text-xs",weight:"regular"},labelAttributes:j({label:U},(0,T.A)((0,w.A)("alert_threshold_interval"))),name:(0,w.A)("alert_threshold_interval"),onChange:Jt,spacing:4,type:"number",value:String(bt)};return p.React.createElement("div",(0,a.A)({},W,{ref:t}),p.React.createElement(v.A,{size:"display-sm",weight:"semibold",spacing:1,content:le}),p.React.createElement(g.A,{x:1100},p.React.createElement(b.A,{size:"text-sm",spacing:6,color:"comet",content:ce})),p.React.createElement(A.A,{HeaderContent:function(e){return p.React.createElement(g.A,{x:630},p.React.createElement(v.A,(0,a.A)({content:V,tagName:"h2",size:"text-lg",weight:"medium"},e)))},FooterContent:function(e){var t={"data-test-id":"alerts-settings-save"};Ot&&(t.style={width:"".concat(Ot,"px")});var n=(0,p.classnames)({"gravitysmtp-alerts-settings__save-settings":!0,"gravitysmtp-alerts-settings__save-settings--saving":Pt});return p.React.createElement(f.A,(0,a.A)({active:Pt,activeType:"loader",customAttributes:t,customClasses:n,disabled:!(0,E.A)("CAPS_EDIT_ALERTS")||Pt,icon:"save-disk",iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",label:ne,onClick:Ft,size:"size-height-m",ref:Bt},e))}},p.React.createElement(g.A,{customClasses:["gravitysmtp-alerts-settings__box-container"],x:630},p.React.createElement(v.A,{size:"text-sm",weight:"medium",type:"boxed",spacing:4,content:te}),p.React.createElement(y.A,{customAttributes:{"data-test-id":"settings-alerts-email-request-fails"},helpTextAttributes:{content:X,size:"text-sm"},initialChecked:nt,labelAttributes:{label:$},onChange:function(e){rt(e),Wt((0,w.A)("notify_when_email_sending_fails_enabled"),e)},labelPosition:"left",name:(0,w.A)("notify_when_email_sending_fails_enabled"),spacing:6,size:"size-m",width:"full",disabled:!(0,E.A)("CAPS_EDIT_ALERTS")}),nt&&((0,E.A)("CAPS_VIEW_ALERTS_SLACK_SETTINGS")||(0,E.A)("CAPS_VIEW_ALERTS_TWILIO_SETTINGS"))&&p.React.createElement(p.React.Fragment,null,p.React.createElement(_.A,Ut),p.React.createElement(_.A,qt),p.React.createElement(v.A,{size:"text-sm",weight:"medium",type:"boxed",spacing:4,content:ie}),p.React.createElement(y.A,{customAttributes:{"data-test-id":"settings-alerts-slack-alerts"},helpTextAttributes:{content:re,size:"text-sm"},initialChecked:ot,labelAttributes:{label:ae},onChange:function(e){st(e),Wt((0,w.A)("slack_alerts_enabled"),e)},labelPosition:"left",name:(0,w.A)("slack_alerts_enabled"),spacing:6,size:"size-m",width:"full",disabled:!(0,E.A)("CAPS_EDIT_ALERTS")}),ot&&(0,E.A)("CAPS_VIEW_ALERTS_SLACK_SETTINGS")&&p.React.createElement(h.A,{addButtonAttributes:j({label:oe},Vt),collapsibleButtonAttributes:j({iconPrefix:"gravitysmtp-admin-icon"},Vt),customClasses:["gravitysmtp-alerts-settings__slack-webhooks"],dragHandleAttributes:{iconPrefix:"gravitysmtp-admin-icon"},deleteButtonAttributes:j({iconPrefix:"gravitysmtp-admin-icon"},Vt),downButtonAttributes:j({iconPrefix:"gravitysmtp-admin-icon"},Vt),fillContent:!0,id:"repeater-slack-alerts",i18n:zt,isDraggable:!0,isSortable:!0,items:Ct,minItems:1,newItemState:{slack_webhook_url:""},onChange:jt,renderItem:function(e,t){return Ht(0,t,we,Pe,xt,"slack")},showArrows:!1,showDelete:!0,showDragHandle:!0,spacing:6,upButtonAttributes:j({iconPrefix:"gravitysmtp-admin-icon"},Vt)}),p.React.createElement(v.A,{size:"text-sm",weight:"medium",type:"boxed",spacing:4,content:ge}),p.React.createElement(y.A,{customAttributes:{"data-test-id":"settings-alerts-slack-alerts"},helpTextAttributes:{content:de,size:"text-sm"},initialChecked:ut,labelAttributes:{label:me},onChange:function(e){pt(e),Wt((0,w.A)("twilio_alerts_enabled"),e)},labelPosition:"left",name:(0,w.A)("twilio_alerts_enabled"),spacing:ut?6:0,size:"size-m",width:"full",disabled:!(0,E.A)("CAPS_EDIT_ALERTS")}),ut&&(0,E.A)("CAPS_VIEW_ALERTS_TWILIO_SETTINGS")&&p.React.createElement(h.A,{addButtonAttributes:j({label:ue},Vt),collapsible:!0,collapsibleButtonAttributes:j({iconPrefix:"gravitysmtp-admin-icon"},Vt),customClasses:["gravitysmtp-alerts-settings__twilio-accounts"],deleteButtonAttributes:j({iconPrefix:"gravitysmtp-admin-icon"},Vt),downButtonAttributes:j({iconPrefix:"gravitysmtp-admin-icon"},Vt),id:"twilio-alerts",i18n:zt,items:It,isDraggable:!0,isSortable:!0,minItems:1,newItemState:{twilio_account_name:"",twilio_account_id:"",twilio_auth_token:"",twilio_from_phone_number:"",twilio_to_phone_number:"",repeater_item_block_content_title:pe.replace("%s",""),repeater_item_collapsed:!1},onChange:Nt,renderItem:function(e,t){return Ht(0,t,xe,Ie,Lt,"twilio")},showArrows:!0,showDelete:!0,showDragHandle:!0,type:"block",upButtonAttributes:j({iconPrefix:"gravitysmtp-admin-icon"},Vt)})))))}));L.propTypes={customAttributes:p.PropTypes.object,customClasses:p.PropTypes.oneOfType([p.PropTypes.string,p.PropTypes.array,p.PropTypes.object])},L.displayName="AlertsScreen",t.default=L},12526:function(e,t,n){n.r(t);var r=n(71860),a=n(88856),i=n(97867),o=n(71376),s=n(30242),c=n(5529),l=n(66598),u=n(16265),p=n(13379),d=n(84860),m=n(49572),g=n(27764),f=n(68381);function v(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return _(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},t=y(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e),n=S(t),r=b(n,e.activeIntegrationSettings);if(!["microsoft","google","generic","amazon","zoho"].includes(e.activeIntegrationSettings))return r;var a=r;return"google"===e.activeIntegrationSettings&&(a=A(a,e)),["microsoft","google","amazon","zoho"].includes(e.activeIntegrationSettings)?a=h(a,e):"generic"===e.activeIntegrationSettings&&(a=O(a,e)),a}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.settings-store.54d4416a6e6b28bdecda.min.js b/assets/js/dist/scripts-admin.settings-store.54d4416a6e6b28bdecda.min.js new file mode 100644 index 0000000..593a357 --- /dev/null +++ b/assets/js/dist/scripts-admin.settings-store.54d4416a6e6b28bdecda.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[4688],{59092:function(n,t,i){i.r(t);var e,o,r,a,u,c,l=i(88856),g=i(40450),f=i.n(g),d=i(97867),s=i(8173),v=i(71376);function m(n,t){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.push.apply(i,e)}return i}function p(n){for(var t=1;t0&&void 0!==g[0]?g[0]:"",i=g.length>1&&void 0!==g[1]?g[1]:"debug",a=p.data,c=void 0===a?{}:a,s=p.endpoints,v=(null==(l=void 0===s?{}:s)||null===(t=l.log_debug_item)||void 0===t?void 0:t.action)||"",f=(null==l||null===(n=l.log_debug_item)||void 0===n?void 0:n.nonce)||"",null!=c&&c.debug_log_enabled&&v&&f&&r){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,(0,d.bE)({endpoint:o(),body:{action:v,security:f,message:r,priority:i}}).catch((function(e){}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}},93313:function(e,t,n){var r=n(52888),i=n(8140);t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*";return function n(a){return Object.entries(a).reduce((function(a,u){var c=(0,i.A)(u,2),o=c[0],s=c[1];return"object"===(0,r.A)(s)&&null!==s?a[o]=n(s):e.includes(o)?a[o]=null===s?null:t.repeat(s.length):a[o]=s,a}),Array.isArray(a)?[]:{})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},27764:function(e,t,n){var r,i=n(40450),a=n.n(i),u=(null===(r=(0,n(71376).zj)(a(),"gravitysmtp_admin_config"))||void 0===r?void 0:r.common)||{};t.A=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{iconPrefix:"gravitysmtp-admin-icon",locked:(null==u||null===(e=u.data)||void 0===e||null===(e=e.locked_settings)||void 0===e?void 0:e.includes(n))||r,lockedMessage:i||(null==u||null===(t=u.i18n)||void 0===t?void 0:t.setting_locked)||""}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.setup-wizard-Screen01.d5b055571380a7a921b8.min.js b/assets/js/dist/scripts-admin.setup-wizard-Screen01.d5b055571380a7a921b8.min.js new file mode 100644 index 0000000..5e9bdff --- /dev/null +++ b/assets/js/dist/scripts-admin.setup-wizard-Screen01.d5b055571380a7a921b8.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[4832,4854,7910],{19708:function(e,t,n){n.r(t);var r=n(90455),i=n(88856),a=n(8140),u=n(78564),o=n.n(u),c=n(27122),s=n.n(c),l=n(97867),d=n(8173),p=n(60177),v=n(30242),f=n(80509),g=n(5529),_=n(25787),m=n(66598),y=n(84860),b=n(18698),A=n(57290),h=n(71376),w=n(87029),S=n(16265),k=n(83707),x=n(93313),O=n(27764);function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t0&&void 0!==g[0]?g[0]:"",i=g.length>1&&void 0!==g[1]?g[1]:"debug",a=p.data,o=void 0===a?{}:a,s=p.endpoints,v=(null==(l=void 0===s?{}:s)||null===(t=l.log_debug_item)||void 0===t?void 0:t.action)||"",f=(null==l||null===(n=l.log_debug_item)||void 0===n?void 0:n.nonce)||"",null!=o&&o.debug_log_enabled&&v&&f&&r){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,(0,d.bE)({endpoint:c(),body:{action:v,security:f,message:r,priority:i}}).catch((function(e){}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}},93313:function(e,t,n){var r=n(52888),i=n(8140);t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*",n=function(a){return Object.entries(a).reduce((function(a,u){var o=(0,i.A)(u,2),c=o[0],s=o[1];return"object"===(0,r.A)(s)&&null!==s?a[c]=n(s):e.includes(c)?a[c]=null===s?null:t.repeat(s.length):a[c]=s,a}),Array.isArray(a)?[]:{})};return n(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},27764:function(e,t,n){var r,i=n(40450),a=n.n(i),u=(null===(r=(0,n(71376).zj)(a(),"gravitysmtp_admin_config"))||void 0===r?void 0:r.common)||{};t.A=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{iconPrefix:"gravitysmtp-admin-icon",locked:(null==u||null===(e=u.data)||void 0===e||null===(e=e.locked_settings)||void 0===e?void 0:e.includes(n))||r,lockedMessage:i||(null==u||null===(t=u.i18n)||void 0===t?void 0:t.setting_locked)||""}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.setup-wizard-Screen02.8980956640ad8b5bfe04.min.js b/assets/js/dist/scripts-admin.setup-wizard-Screen02.8980956640ad8b5bfe04.min.js deleted file mode 100644 index 90929d6..0000000 --- a/assets/js/dist/scripts-admin.setup-wizard-Screen02.8980956640ad8b5bfe04.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[8909,6558,4832,4854],{49445:function(t,e,n){n.r(e);var r=n(88856),i=n(90455),o=n(52888),a=n(8140),u=n(78564),c=n.n(u),s=n(27122),l=n.n(s),d=n(97867),p=n(13296),f=n(60177),v=n(71376),g=n(30242),m=n(5529),b=n(66598),A=n(83852),y=n(65224),_=n(18698),w=n(83707),h=n(93313),S=n(57290),O=d.React.useEffect,k=d.React.useRef,z=d.React.useState;e.default=function(t){var e,n,u,s=t.data,P=t.endpoints,j=t.i18n,x=j.debug_messages,C=void 0===x?{}:x,E=C.migrating_data,B=C.migrating_data_error,N=j.setup_wizard_next_button,R=j.setup_wizard_import_data_title,D=j.setup_wizard_import_data_copy,F=s.import_data,L=s.integrations,I=(0,S.default)((function(t){return t.activeStep})),M=(0,S.default)((function(t){return t.isAnimatedIn})),G=(0,S.default)((function(t){return t.importPlugin})),T=(0,S.default)((function(t){return t.setActiveStepNext})),U=(0,S.default)((function(t){return t.setHasDebugError})),H=(0,S.default)((function(t){return t.setImportPlugin})),J=(0,S.default)((function(t){return t.setIntegrationSettingsFormData})),W=(0,S.default)((function(t){return t.setSettingsUpdated})),V=(null==P||null===(e=P.migrate_settings)||void 0===e?void 0:e.action)||"",q=(null==P||null===(n=P.migrate_settings)||void 0===n?void 0:n.nonce)||"",K=z(!1),Q=(0,a.A)(K,2),X=Q[0],Y=Q[1],Z=function t(e,n,r){e.forEach((function(e){var i,o;((null===(i=e.props)||void 0===i?void 0:i.name)===n||"InputGroup"===e.component&&(null===(o=e.props)||void 0===o?void 0:o.id)==="".concat(n,"_group"))&&("Toggle"===e.component?e.props.initialChecked=r:"InputGroup"===e.component?e.props.initialValue=r:e.props.value=r),e.fields&&t(e.fields,n,r)}))},$=function(t,e){t.forEach((function(t){var n=e[t.id];"object"!==(0,o.A)(n)||null===n||Array.isArray(n)||Object.entries(n).forEach((function(e){var n=(0,a.A)(e,2),r=n[0],i=n[1];t.settings&&Array.isArray(t.settings.fields)&&Z(t.settings.fields,r,i)}))}))},tt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.entries(t).forEach((function(t){var e=(0,a.A)(t,2),n=e[0],r=e[1];"object"===(0,o.A)(r)&&null!==r&&!Array.isArray(r)&&Object.keys(r).length>0&&Object.entries(r).forEach((function(t){var e=(0,a.A)(t,2),r=e[0],i=e[1];J(n,r,i)}))}))},et=function(){var t=(0,i.A)(c().mark((function t(){var e,n,r,i,o;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,n={action:V,security:q,plugin_to_migrate:G},t.next=4,(0,w.A)((0,v.nv)(E,JSON.stringify((0,h.A)(["security"],n))),"info");case 4:return t.next=6,(0,f.bE)({endpoint:l(),body:n});case 6:if(r=t.sent,Y(!1),null!=r&&null!==(e=r.data)&&void 0!==e&&e.success){t.next=15;break}return t.next=12,(0,w.A)((0,v.nv)(B,JSON.stringify(null==r?void 0:r.error)),"error");case 12:U(!0),t.next=18;break;case 15:tt(null==r||null===(i=r.data)||void 0===i?void 0:i.data),$(L,null==r||null===(o=r.data)||void 0===o?void 0:o.data),W();case 18:t.next=26;break;case 20:return t.prev=20,t.t0=t.catch(0),t.next=25,(0,w.A)((0,v.nv)(B,JSON.stringify(t.t0)),"error");case 25:U(!0);case 26:case"end":return t.stop()}}),t,null,[[0,20]])})));return function(){return t.apply(this,arguments)}}(),nt=F.filter((function(t){return t.activated})).map((function(t){var e="import_data_".concat(t.id),n=_["".concat(t.logo,"Logo")];return{id:e,labelAttributes:{label:t.title},name:"import_data",type:"image",value:t.id,children:d.React.createElement(n,null)}})),rt=k();O((function(){2===I&&rt.current&&rt.current.focus()}),[I]);var it,ot={ref:(0,p.rM)(2===I&&M),className:(0,d.classnames)((0,r.A)({"gravitysmtp-setup-wizard__screen":!0},"gravitysmtp-setup-wizard__screen--step-".concat(2),!0)),"aria-hidden":2!==I,"data-test-id":"setup-wizard-screen-02"},at=(null===(u=F.filter((function(t){return t.activated&&t.initialChecked}))[0])||void 0===u?void 0:u.id)||"";return d.React.createElement("div",ot,d.React.createElement("div",{className:"gravitysmtp-setup-wizard__screen-inner"},d.React.createElement(d.SimpleBar,{scrollableNodeProps:{ref:rt}},d.React.createElement("div",{className:"gravitysmtp-setup-wizard__content"},d.React.createElement(g.A,{customClasses:["gravitysmtp-setup-wizard__content-header"],spacing:6},d.React.createElement(m.A,{content:R,spacing:4,size:"display-sm",tagName:"h2",weight:"medium"}),d.React.createElement(b.A,{content:D,spacing:8})),d.React.createElement(A.A,{customClasses:["gravitysmtp-setup-wizard__content-cards","gform-grid--container","gform-grid--wrap","gform-grid--row-spacing-6","gform-grid--col-spacing-6"],data:nt,id:"import_data",inputType:"radio",initialValue:at,onChange:function(t,e){return H(e.target.value)},useWrapper:!0,wrapperAttributes:{customClasses:["gravitysmtp-setup-wizard__content-card","gform-grid--item"]}}),d.React.createElement(y.default,{i18n:j,backButtonCustomAttributes:{customAttributes:{"data-test-id":"setup-wizard-screen-02-back-button"}},nextButtonCustomAttributes:{disabled:!G||X,onClick:(it=(0,i.A)(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Y(!0),t.next=3,et();case 3:T();case 4:case"end":return t.stop()}}),t)}))),function(){return it.apply(this,arguments)}),active:X,activeType:"loader",activeText:N,icon:X?"":"arrow-narrow-right",lockSize:!0,customAttributes:{"data-test-id":"setup-wizard-screen-02-next-button"}},skipButtonCustomAttributes:{customAttributes:{"data-test-id":"setup-wizard-screen-02-skip-button"}}})))))}},65224:function(t,e,n){n.r(e);var r=n(18134),i=n(88856),o=n(58449),a=n(97867),u=n(30242),c=n(80509),s=n(57290),l=["customClasses"],d=["customClasses"],p=["customClasses"],f=["customClasses"];function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function g(t){for(var e=1;e0&&void 0!==g[0]?g[0]:"",i=g.length>1&&void 0!==g[1]?g[1]:"debug",o=p.data,u=void 0===o?{}:o,s=p.endpoints,f=(null==(l=void 0===s?{}:s)||null===(e=l.log_debug_item)||void 0===e?void 0:e.action)||"",v=(null==l||null===(n=l.log_debug_item)||void 0===n?void 0:n.nonce)||"",null!=u&&u.debug_log_enabled&&f&&v&&r){t.next=7;break}return t.abrupt("return");case 7:return t.next=9,(0,d.bE)({endpoint:c(),body:{action:f,security:v,message:r,priority:i}}).catch((function(t){}));case 9:return t.abrupt("return",t.sent);case 10:case"end":return t.stop()}}),t)}))),v.apply(this,arguments)}},93313:function(t,e,n){var r=n(52888),i=n(8140);e.A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*";return function n(o){return Object.entries(o).reduce((function(o,a){var u=(0,i.A)(a,2),c=u[0],s=u[1];return"object"===(0,r.A)(s)&&null!==s?o[c]=n(s):t.includes(c)?o[c]=null===s?null:e.repeat(s.length):o[c]=s,o}),Array.isArray(o)?[]:{})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.setup-wizard-Screen02.a4aff98a48c678462ea5.min.js b/assets/js/dist/scripts-admin.setup-wizard-Screen02.a4aff98a48c678462ea5.min.js new file mode 100644 index 0000000..d38b786 --- /dev/null +++ b/assets/js/dist/scripts-admin.setup-wizard-Screen02.a4aff98a48c678462ea5.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[4832,4854,6558,8909],{49445:function(t,e,n){n.r(e);var r=n(88856),i=n(90455),o=n(52888),a=n(8140),u=n(78564),c=n.n(u),s=n(27122),l=n.n(s),d=n(97867),p=n(8173),f=n(60177),v=n(71376),g=n(30242),m=n(5529),A=n(66598),b=n(83852),y=n(65224),_=n(18698),h=n(83707),w=n(93313),S=n(57290),O=d.React.useEffect,k=d.React.useRef,z=d.React.useState;e.default=function(t){var e,n,u,s=t.data,P=t.endpoints,j=t.i18n,x=j.debug_messages,C=void 0===x?{}:x,E=C.migrating_data,B=C.migrating_data_error,N=j.setup_wizard_next_button,R=j.setup_wizard_import_data_title,D=j.setup_wizard_import_data_copy,F=s.import_data,L=s.integrations,I=(0,S.default)((function(t){return t.activeStep})),M=(0,S.default)((function(t){return t.isAnimatedIn})),G=(0,S.default)((function(t){return t.importPlugin})),T=(0,S.default)((function(t){return t.setActiveStepNext})),U=(0,S.default)((function(t){return t.setHasDebugError})),H=(0,S.default)((function(t){return t.setImportPlugin})),J=(0,S.default)((function(t){return t.setIntegrationSettingsFormData})),W=(0,S.default)((function(t){return t.setSettingsUpdated})),V=(null==P||null===(e=P.migrate_settings)||void 0===e?void 0:e.action)||"",Z=(null==P||null===(n=P.migrate_settings)||void 0===n?void 0:n.nonce)||"",q=z(!1),K=(0,a.A)(q,2),Q=K[0],X=K[1],Y=function(t,e,n){t.forEach((function(t){var r,i;((null===(r=t.props)||void 0===r?void 0:r.name)===e||"InputGroup"===t.component&&(null===(i=t.props)||void 0===i?void 0:i.id)==="".concat(e,"_group"))&&("Toggle"===t.component?t.props.initialChecked=n:"InputGroup"===t.component?t.props.initialValue=n:t.props.value=n),t.fields&&Y(t.fields,e,n)}))},$=function(t,e){t.forEach((function(t){var n=e[t.id];"object"!==(0,o.A)(n)||null===n||Array.isArray(n)||Object.entries(n).forEach((function(e){var n=(0,a.A)(e,2),r=n[0],i=n[1];t.settings&&Array.isArray(t.settings.fields)&&Y(t.settings.fields,r,i)}))}))},tt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.entries(t).forEach((function(t){var e=(0,a.A)(t,2),n=e[0],r=e[1];"object"===(0,o.A)(r)&&null!==r&&!Array.isArray(r)&&Object.keys(r).length>0&&Object.entries(r).forEach((function(t){var e=(0,a.A)(t,2),r=e[0],i=e[1];J(n,r,i)}))}))},et=function(){var t=(0,i.A)(c().mark((function t(){var e,n,r,i,o;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,n={action:V,security:Z,plugin_to_migrate:G},t.next=4,(0,h.A)((0,v.nv)(E,JSON.stringify((0,w.A)(["security"],n))),"info");case 4:return t.next=6,(0,f.bE)({endpoint:l(),body:n});case 6:if(r=t.sent,X(!1),null!=r&&null!==(e=r.data)&&void 0!==e&&e.success){t.next=15;break}return t.next=12,(0,h.A)((0,v.nv)(B,JSON.stringify(null==r?void 0:r.error)),"error");case 12:U(!0),t.next=18;break;case 15:tt(null==r||null===(i=r.data)||void 0===i?void 0:i.data),$(L,null==r||null===(o=r.data)||void 0===o?void 0:o.data),W();case 18:t.next=26;break;case 20:return t.prev=20,t.t0=t.catch(0),t.next=25,(0,h.A)((0,v.nv)(B,JSON.stringify(t.t0)),"error");case 25:U(!0);case 26:case"end":return t.stop()}}),t,null,[[0,20]])})));return function(){return t.apply(this,arguments)}}(),nt=F.filter((function(t){return t.activated})).map((function(t){var e="import_data_".concat(t.id),n=_["".concat(t.logo,"Logo")];return{id:e,labelAttributes:{label:t.title},name:"import_data",type:"image",value:t.id,children:d.React.createElement(n,null)}})),rt=k();O((function(){2===I&&rt.current&&rt.current.focus()}),[I]);var it,ot={ref:(0,p.rM)(2===I&&M),className:(0,d.classnames)((0,r.A)({"gravitysmtp-setup-wizard__screen":!0},"gravitysmtp-setup-wizard__screen--step-".concat(2),!0)),"aria-hidden":2!==I,"data-test-id":"setup-wizard-screen-02"},at=(null===(u=F.filter((function(t){return t.activated&&t.initialChecked}))[0])||void 0===u?void 0:u.id)||"";return d.React.createElement("div",ot,d.React.createElement("div",{className:"gravitysmtp-setup-wizard__screen-inner"},d.React.createElement(d.SimpleBar,{scrollableNodeProps:{ref:rt}},d.React.createElement("div",{className:"gravitysmtp-setup-wizard__content"},d.React.createElement(g.A,{customClasses:["gravitysmtp-setup-wizard__content-header"],spacing:6},d.React.createElement(m.A,{content:R,spacing:4,size:"display-sm",tagName:"h2",weight:"medium"}),d.React.createElement(A.A,{content:D,spacing:8})),d.React.createElement(b.A,{customClasses:["gravitysmtp-setup-wizard__content-cards","gform-grid--container","gform-grid--wrap","gform-grid--row-spacing-6","gform-grid--col-spacing-6"],data:nt,id:"import_data",inputType:"radio",initialValue:at,onChange:function(t,e){return H(e.target.value)},useWrapper:!0,wrapperAttributes:{customClasses:["gravitysmtp-setup-wizard__content-card","gform-grid--item"]}}),d.React.createElement(y.default,{i18n:j,backButtonCustomAttributes:{customAttributes:{"data-test-id":"setup-wizard-screen-02-back-button"}},nextButtonCustomAttributes:{disabled:!G||Q,onClick:(it=(0,i.A)(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return X(!0),t.next=3,et();case 3:T();case 4:case"end":return t.stop()}}),t)}))),function(){return it.apply(this,arguments)}),active:Q,activeType:"loader",activeText:N,icon:Q?"":"arrow-narrow-right",lockSize:!0,customAttributes:{"data-test-id":"setup-wizard-screen-02-next-button"}},skipButtonCustomAttributes:{customAttributes:{"data-test-id":"setup-wizard-screen-02-skip-button"}}})))))}},65224:function(t,e,n){n.r(e);var r=n(18134),i=n(88856),o=n(58449),a=n(97867),u=n(30242),c=n(80509),s=n(57290),l=["customClasses"],d=["customClasses"],p=["customClasses"],f=["customClasses"];function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function g(t){for(var e=1;e0&&void 0!==g[0]?g[0]:"",i=g.length>1&&void 0!==g[1]?g[1]:"debug",o=p.data,u=void 0===o?{}:o,s=p.endpoints,f=(null==(l=void 0===s?{}:s)||null===(e=l.log_debug_item)||void 0===e?void 0:e.action)||"",v=(null==l||null===(n=l.log_debug_item)||void 0===n?void 0:n.nonce)||"",null!=u&&u.debug_log_enabled&&f&&v&&r){t.next=7;break}return t.abrupt("return");case 7:return t.next=9,(0,d.bE)({endpoint:c(),body:{action:f,security:v,message:r,priority:i}}).catch((function(t){}));case 9:return t.abrupt("return",t.sent);case 10:case"end":return t.stop()}}),t)}))),v.apply(this,arguments)}},93313:function(t,e,n){var r=n(52888),i=n(8140);e.A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*",n=function(o){return Object.entries(o).reduce((function(o,a){var u=(0,i.A)(a,2),c=u[0],s=u[1];return"object"===(0,r.A)(s)&&null!==s?o[c]=n(s):t.includes(c)?o[c]=null===s?null:e.repeat(s.length):o[c]=s,o}),Array.isArray(o)?[]:{})};return n(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.setup-wizard-Screen03.03d9f4294929628dd27d.min.js b/assets/js/dist/scripts-admin.setup-wizard-Screen03.03d9f4294929628dd27d.min.js deleted file mode 100644 index 99f9cf6..0000000 --- a/assets/js/dist/scripts-admin.setup-wizard-Screen03.03d9f4294929628dd27d.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[6100,6558,4832,4854],{47526:function(t,e,n){n.r(e);var r=n(88856),i=n(8140),o=n(97867),a=n(13296),u=n(30242),c=n(5529),s=n(66598),l=n(83852),p=n(65224),d=n(18698),f=n(57290),v=o.React.useEffect,g=o.React.useRef;e.default=function(t){var e=t.data,n=t.i18n,m=n.setup_wizard_integration_title,A=n.setup_wizard_integration_copy_1,b=(n.setup_wizard_integration_copy_2,e.integrations),_=(0,f.default)((function(t){return t.activeStep})),w=(0,f.default)((function(t){return t.isAnimatedIn})),y=(0,f.default)((function(t){return t.integration})),S=(0,f.default)((function(t){return t.integrationSettingsFormData})),h=(0,f.default)((function(t){return t.setIntegration})),O=(0,f.default)((function(t){return t.setActiveStep})),z=(0,f.default)((function(t){return t.setActiveNavBarStep})),P=(0,f.default)((function(t){return t.setActiveNavBarStepNext})),C=(0,f.default)((function(t){return t.setActiveNavBarStepPrevious})),k=(0,f.default)((function(t){return t.setIntegrationSetupAction})),B=(0,f.default)((function(t){return t.setSetupStatus})),j=b.filter((function(t){var e;return!(null!=t&&null!==(e=t.data)&&void 0!==e&&e.disabled)})).map((function(t){var e="integration_".concat(t.id),n=null!=t&&t.full_logo?d["".concat(t.full_logo,"Logo")]:null;return{customAttributes:{"data-test-id":"setup-wizard-screen-03-integration-".concat(t.id)},id:e,labelAttributes:{label:t.title},name:"integration",type:"image",value:t.id,children:n?o.React.createElement(n,null):null}})),N=g();v((function(){3===_&&N.current&&N.current.focus()}),[_]);var E={ref:(0,a.rM)(3===_&&w),className:(0,o.classnames)((0,r.A)({"gravitysmtp-setup-wizard__screen":!0},"gravitysmtp-setup-wizard__screen--step-".concat(3),!0)),"aria-hidden":3!==_,"data-test-id":"setup-wizard-screen-03"};return o.React.createElement("div",E,o.React.createElement("div",{className:"gravitysmtp-setup-wizard__screen-inner"},o.React.createElement(o.SimpleBar,{scrollableNodeProps:{ref:N}},o.React.createElement("div",{className:"gravitysmtp-setup-wizard__content"},o.React.createElement(u.A,{customClasses:["gravitysmtp-setup-wizard__content-header"],spacing:6},o.React.createElement(c.A,{content:m,spacing:4,size:"display-sm",tagName:"h2",weight:"medium"}),o.React.createElement(s.A,{content:A,spacing:8})),o.React.createElement(l.A,{customClasses:["gravitysmtp-setup-wizard__content-cards","gform-grid--container","gform-grid--wrap","gform-grid--row-spacing-6","gform-grid--col-spacing-6"],data:j,id:"integrations",inputType:"radio",initialValue:function(){for(var t=0,e=Object.entries(S);t1&&void 0!==arguments[1]?arguments[1]:{},e=y(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t),n=w(e),r=A(n,t.activeIntegrationSettings);if(!["microsoft","google","generic","amazon","zoho"].includes(t.activeIntegrationSettings))return r;var i=r;return"google"===t.activeIntegrationSettings&&(i=_(i,t)),["microsoft","google","amazon","zoho"].includes(t.activeIntegrationSettings)?i=S(i,t):"generic"===t.activeIntegrationSettings&&(i=h(i,t)),i}},83707:function(t,e,n){n.d(e,{A:function(){return v}});var r,i=n(90455),o=n(78564),a=n.n(o),u=n(27122),s=n.n(u),c=n(40450),l=n.n(c),p=n(60177),d=(null===(r=(0,n(71376).zj)(l(),"gravitysmtp_admin_config"))||void 0===r?void 0:r.common)||{};function v(){return f.apply(this,arguments)}function f(){return f=(0,i.A)(a().mark((function t(){var e,n,r,i,o,u,c,l,v,f,g=arguments;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=g.length>0&&void 0!==g[0]?g[0]:"",i=g.length>1&&void 0!==g[1]?g[1]:"debug",o=d.data,u=void 0===o?{}:o,c=d.endpoints,v=(null==(l=void 0===c?{}:c)||null===(e=l.log_debug_item)||void 0===e?void 0:e.action)||"",f=(null==l||null===(n=l.log_debug_item)||void 0===n?void 0:n.nonce)||"",null!=u&&u.debug_log_enabled&&v&&f&&r){t.next=7;break}return t.abrupt("return");case 7:return t.next=9,(0,p.bE)({endpoint:s(),body:{action:v,security:f,message:r,priority:i}}).catch((function(t){}));case 9:return t.abrupt("return",t.sent);case 10:case"end":return t.stop()}}),t)}))),f.apply(this,arguments)}},93313:function(t,e,n){var r=n(52888),i=n(8140);e.A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*",n=function(o){return Object.entries(o).reduce((function(o,a){var u=(0,i.A)(a,2),s=u[0],c=u[1];return"object"===(0,r.A)(c)&&null!==c?o[s]=n(c):t.includes(s)?o[s]=null===c?null:e.repeat(c.length):o[s]=c,o}),Array.isArray(o)?[]:{})};return n(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},27764:function(t,e,n){var r,i=n(40450),o=n.n(i),a=(null===(r=(0,n(71376).zj)(o(),"gravitysmtp_admin_config"))||void 0===r?void 0:r.common)||{};e.A=function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{iconPrefix:"gravitysmtp-admin-icon",locked:(null==a||null===(t=a.data)||void 0===t||null===(t=t.locked_settings)||void 0===t?void 0:t.includes(n))||r,lockedMessage:i||(null==a||null===(e=a.i18n)||void 0===e?void 0:e.setting_locked)||""}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.setup-wizard-Screen04.d033d783f829838f28e1.min.js b/assets/js/dist/scripts-admin.setup-wizard-Screen04.d033d783f829838f28e1.min.js deleted file mode 100644 index 61a5ffa..0000000 --- a/assets/js/dist/scripts-admin.setup-wizard-Screen04.d033d783f829838f28e1.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[1707,6558,4832,4854],{24679:function(t,e,n){n.r(e);var r=n(88856),i=n(90455),o=n(8140),a=n(78564),u=n.n(a),c=n(27122),s=n.n(c),l=n(97867),d=n(13296),p=n(71376),v=n(60177),f=n(30242),g=n(5529),m=n(66598),b=n(55899),A=n(84860),_=n(28099),y=n(83707),S=n(93313),h=n(18698),w=n(65224),k=n(57290),O=l.React.useEffect,x=l.React.useRef,P=l.React.useState,z=["google","microsoft"];e.default=function(t){var e,n,a,c=t.common,j=t.data,C=t.endpoints,B=t.i18n,D=c.i18n,E=(void 0===D?{}:D).debug_messages,N=void 0===E?{}:E,F=N.saving_integration_settings,R=void 0===F?"":F,I=N.saving_integration_settings_error,L=void 0===I?"":I,M=B.setup_wizard_next_button,T=void 0===M?"":M,H=B.setup_wizard_mail_settings_title,G=void 0===H?"":H,J=B.setup_wizard_mail_settings_copy,U=void 0===J?"":J,W=B.setup_wizard_integration_settings_error,X=void 0===W?"":W,q=j.integrations,K=(0,k.default)((function(t){return t.activeStep})),Q=(0,k.default)((function(t){return t.isAnimatedIn})),V=(0,k.default)((function(t){return t.integration})),Y=(0,k.default)((function(t){return t.integrationSettingsFormData})),Z=(0,k.default)((function(t){return t.setActiveStepNext})),$=(0,k.default)((function(t){return t.setActiveNavBarStepNext})),tt=(0,k.default)((function(t){return t.setSetupStatus})),et=(0,k.default)((function(t){return t.setIntegrationSettingsFormData})),nt=(0,k.default)((function(t){return t.setSettingsUpdated})),rt=(0,k.default)((function(t){return t.setHasDebugError})),it=x(null),ot=P(!1),at=(0,o.A)(ot,2),ut=at[0],ct=at[1],st=(0,p.uN)(q,"id",V),lt=(null==st||null===(e=st.settings)||void 0===e?void 0:e.fields)||[],dt=(null==C||null===(n=C.save_connector_settings)||void 0===n?void 0:n.action)||"",pt=(null==C||null===(a=C.save_connector_settings)||void 0===a?void 0:a.nonce)||"",vt=(0,A.dh)(),ft=function(){var t=(0,i.A)(u().mark((function t(){var e,n,r,i,o,a,c;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return ct(!0),e=it.current.offsetWidth,it.current.style.width="".concat(e,"px"),n={action:dt,security:pt,connector_type:V,settings:Y[V]},t.next=6,(0,y.A)((0,p.nv)(R,V,JSON.stringify((0,S.A)(["api_key","server_api_token","password","security"],n))),"info");case 6:return t.prev=6,t.next=9,(0,v.bE)({endpoint:s(),body:n});case 9:if(i=t.sent,ct(!1),null!=i&&null!==(r=i.data)&&void 0!==r&&r.success){t.next=19;break}return c=(0,p.Fh)(null==i||null===(o=i.error)||void 0===o||null===(o=o.detail)||void 0===o?void 0:o.data)?JSON.parse(null==i||null===(a=i.error)||void 0===a||null===(a=a.detail)||void 0===a?void 0:a.data):"",t.next=15,(0,y.A)((0,p.nv)(L,V,JSON.stringify(c)),"error");case 15:rt(!0),vt((null==c?void 0:c.data)||X,"error"),t.next=22;break;case 19:tt("success"),z.includes(V)||(Z(),$()),nt();case 22:t.next=30;break;case 24:return t.prev=24,t.t0=t.catch(6),t.next=29,(0,y.A)((0,p.nv)(L,V,JSON.stringify(t.t0)),"error");case 29:rt(!0);case 30:it.current&&(it.current.style.width="");case 31:case"end":return t.stop()}}),t,null,[[6,24]])})));return function(){return t.apply(this,arguments)}}(),gt=x();O((function(){4===K&>.current&>.current.focus()}),[K]);var mt={ref:(0,d.rM)(4===K&&Q),className:(0,l.classnames)((0,r.A)({"gravitysmtp-setup-wizard__screen":!0},"gravitysmtp-setup-wizard__screen--step-".concat(4),!0)),"aria-hidden":4!==K,"data-test-id":"setup-wizard-screen-04"},bt=(0,_.A)(lt,{activeIntegrationSettings:V,context:"wizard",integrationSettingsFormData:Y,saveConnectorSettings:ft,savingSettings:ut,Svgs:h,i18n:null==c?void 0:c.i18n,addSnackBarMessage:vt});return l.React.createElement("div",mt,l.React.createElement("div",{className:"gravitysmtp-setup-wizard__screen-inner"},l.React.createElement(l.SimpleBar,{scrollableNodeProps:{ref:gt}},l.React.createElement("div",{className:"gravitysmtp-setup-wizard__content"},l.React.createElement(f.A,{customClasses:["gravitysmtp-setup-wizard__content-header"],spacing:6},l.React.createElement(g.A,{content:G,spacing:8,size:"display-sm",tagName:"h2",weight:"medium"}),l.React.createElement(m.A,{content:(0,p.nv)(U,null==st?void 0:st.title),spacing:6,size:"text-lg",weight:"medium"}),l.React.createElement("form",{id:V},l.React.createElement(b.A,{id:V,fields:bt,setFieldData:function(t,e){return et(V,t,e)}}))),l.React.createElement(w.default,{i18n:B,backButtonCustomAttributes:{customAttributes:{"data-test-id":"setup-wizard-screen-04-back-button"}},skipButtonCustomAttributes:{customAttributes:{"data-test-id":"setup-wizard-screen-04-skip-button"},onClick:function(){tt("skipped"),Z(),$()}},nextButtonCustomAttributes:{customAttributes:{"data-test-id":"setup-wizard-screen-04-next-button"},onClick:ft,active:ut,activeType:"loader",activeText:T,disabled:ut||z.includes(V),icon:ut?"":"arrow-narrow-right",lockSize:!0,ref:it}})))))}},65224:function(t,e,n){n.r(e);var r=n(18134),i=n(88856),o=n(58449),a=n(97867),u=n(30242),c=n(80509),s=n(57290),l=["customClasses"],d=["customClasses"],p=["customClasses"],v=["customClasses"];function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function g(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},e=A(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t),n=b(e,t.activeIntegrationSettings);if(!["microsoft","google","generic","amazon"].includes(t.activeIntegrationSettings))return n;var r=n;return["microsoft","google","amazon"].includes(t.activeIntegrationSettings)?r=_(n,t):"generic"===t.activeIntegrationSettings&&(r=y(n,t)),r}},83707:function(t,e,n){n.d(e,{A:function(){return v}});var r,i=n(90455),o=n(78564),a=n.n(o),u=n(27122),c=n.n(u),s=n(40450),l=n.n(s),d=n(60177),p=(null===(r=(0,n(71376).zj)(l(),"gravitysmtp_admin_config"))||void 0===r?void 0:r.common)||{};function v(){return f.apply(this,arguments)}function f(){return f=(0,i.A)(a().mark((function t(){var e,n,r,i,o,u,s,l,v,f,g=arguments;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=g.length>0&&void 0!==g[0]?g[0]:"",i=g.length>1&&void 0!==g[1]?g[1]:"debug",o=p.data,u=void 0===o?{}:o,s=p.endpoints,v=(null==(l=void 0===s?{}:s)||null===(e=l.log_debug_item)||void 0===e?void 0:e.action)||"",f=(null==l||null===(n=l.log_debug_item)||void 0===n?void 0:n.nonce)||"",null!=u&&u.debug_log_enabled&&v&&f&&r){t.next=7;break}return t.abrupt("return");case 7:return t.next=9,(0,d.bE)({endpoint:c(),body:{action:v,security:f,message:r,priority:i}}).catch((function(t){}));case 9:return t.abrupt("return",t.sent);case 10:case"end":return t.stop()}}),t)}))),f.apply(this,arguments)}},93313:function(t,e,n){var r=n(52888),i=n(8140);e.A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*";return function n(o){return Object.entries(o).reduce((function(o,a){var u=(0,i.A)(a,2),c=u[0],s=u[1];return"object"===(0,r.A)(s)&&null!==s?o[c]=n(s):t.includes(c)?o[c]=null===s?null:e.repeat(s.length):o[c]=s,o}),Array.isArray(o)?[]:{})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},27764:function(t,e,n){var r,i=n(40450),o=n.n(i),a=(null===(r=(0,n(71376).zj)(o(),"gravitysmtp_admin_config"))||void 0===r?void 0:r.common)||{};e.A=function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{iconPrefix:"gravitysmtp-admin-icon",locked:(null==a||null===(t=a.data)||void 0===t||null===(t=t.locked_settings)||void 0===t?void 0:t.includes(n))||r,lockedMessage:i||(null==a||null===(e=a.i18n)||void 0===e?void 0:e.setting_locked)||""}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.setup-wizard-Screen05.429aad8142af5203432d.min.js b/assets/js/dist/scripts-admin.setup-wizard-Screen05.429aad8142af5203432d.min.js deleted file mode 100644 index 0ab7039..0000000 --- a/assets/js/dist/scripts-admin.setup-wizard-Screen05.429aad8142af5203432d.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[8898,4832,4854],{528:function(t,e,n){n.r(e);var r=n(90455),i=n(88856),a=n(8140),u=n(78564),o=n.n(u),c=n(27122),s=n.n(c),l=n(97867),d=n(13296),p=n(60177),f=n(71376),v=n(30242),g=n(80509),m=n(5529),_=n(66598),b=n(83707),y=n(93313),A=n(18698),w=n(57290),S=l.React.useEffect,h=l.React.useRef,z=l.React.useState;e.default=function(t){var e=t.common,n=t.data,u=t.i18n,c=u.setup_wizard_back_button,k=u.setup_wizard_dashboard_button,x=u.setup_wizard_setup_skipped_title,O=u.setup_wizard_setup_skipped_copy,P=u.setup_wizard_setup_success_title,E=u.setup_wizard_setup_success_copy,N=u.setup_wizard_setup_failed_title,F=u.setup_wizard_setup_failed_copy,R=u.setup_wizard_activate_integration_button,D=n.integrations,j=e.endpoints,B=(void 0===j?{}:j).save_connector_settings,L=void 0===B?{}:B,C=L.action,M=void 0===C?"":C,I=L.nonce,G=void 0===I?"":I,J=e.i18n,T=(void 0===J?{}:J).debug_messages,U=void 0===T?{}:T,H=U.saving_integration_settings,W=void 0===H?"":H,q=U.saving_integration_settings_error,K=void 0===q?"":q,Q=(0,w.default)((function(t){return t.activeStep})),V=(0,w.default)((function(t){return t.isAnimatedIn})),X=(0,w.default)((function(t){return t.integrationSetupAction})),Y=(0,w.default)((function(t){return t.setupStatus})),Z=(0,w.default)((function(t){return t.integration})),$=(0,w.default)((function(t){return t.closeDialog})),tt=(0,w.default)((function(t){return t.setActiveStep})),et=(0,w.default)((function(t){return t.setActiveNavBarStep})),nt=(0,w.default)((function(t){return t.setSettingsUpdated})),rt=(0,w.default)((function(t){return t.setHasDebugError})),it=z(!1),at=(0,a.A)(it,2),ut=at[0],ot=at[1],ct="failed"===Y?A.MailFailedBg:A.MailSuccessBg,st="",lt="",dt="primary-new";switch(Y){case"skipped":st=x,lt=O;break;case"success":st=P,lt=E,dt="white";break;case"failed":st=N,lt=F}var pt=h();S((function(){5===Q&&pt.current&&pt.current.focus()}),[Q]);var ft={ref:(0,d.rM)(5===Q&&V),className:(0,l.classnames)((0,i.A)({"gravitysmtp-setup-wizard__screen":!0},"gravitysmtp-setup-wizard__screen--step-".concat(5),!0)),"aria-hidden":5!==Q,"data-test-id":"setup-wizard-screen-05"},vt=D.reduce((function(t,e){return t||e.id!==Z?t:e.title}),""),gt=(0,f.nv)(R,vt),mt=D.filter((function(t){return!(t.data&&t.data.disabled)})).map((function(t){return t.id})),_t=function(){var t=(0,r.A)(o().mark((function t(e){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={action:M,security:G,connector_type:e,no_validate:!0,settings:{is_primary:!1}},t.next=3,(0,b.A)((0,f.nv)(W,e,JSON.stringify((0,y.A)(["security"],n))),"info");case 3:t.prev=3,(0,p.bE)({endpoint:s(),body:n}),t.next=12;break;case 7:return t.prev=7,t.t0=t.catch(3),t.next=12,(0,b.A)((0,f.nv)(K,e,JSON.stringify(t.t0)),"error");case 12:case"end":return t.stop()}}),t,null,[[3,7]])})));return function(e){return t.apply(this,arguments)}}(),bt=function(){var t=(0,r.A)(o().mark((function t(){var e,n,r,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=mt.filter((function(t){return t!==Z})).map(_t),t.next=3,Promise.all(e);case 3:return n={action:M,security:G,connector_type:Z,settings:{enabled:!0,is_primary:!0}},t.next=6,(0,b.A)((0,f.nv)(W,Z,JSON.stringify((0,y.A)(["security"],n))),"info");case 6:return t.prev=6,t.next=9,(0,p.bE)({endpoint:s(),body:n});case 9:if(null!=(i=t.sent)&&null!==(r=i.data)&&void 0!==r&&r.success){t.next=17;break}return t.next=14,(0,b.A)((0,f.nv)(K,Z,JSON.stringify(null==i?void 0:i.error)),"error");case 14:rt(!0),t.next=18;break;case 17:nt();case 18:t.next=26;break;case 20:return t.prev=20,t.t0=t.catch(6),t.next=25,(0,b.A)((0,f.nv)(K,Z,JSON.stringify(t.t0)),"error");case 25:rt(!0);case 26:case"end":return t.stop()}}),t,null,[[6,20]])})));return function(){return t.apply(this,arguments)}}();return l.React.createElement("div",ft,l.React.createElement("div",{className:"gravitysmtp-setup-wizard__screen-inner"},l.React.createElement(l.SimpleBar,{scrollableNodeProps:{ref:pt}},l.React.createElement("div",{className:"gravitysmtp-setup-wizard__content"},l.React.createElement(v.A,{customClasses:["gravitysmtp-setup-wizard__screen-nav-buttons"],display:"flex",spacing:10},l.React.createElement(g.A,{customAttributes:{"data-test-id":"setup-wizard-screen-05-back-button"},customClasses:["gravitysmtp-setup-wizard__screen-nav-button","gravitysmtp-setup-wizard__screen-nav-button--back"],icon:"arrow-narrow-left",iconPrefix:"gravitysmtp-admin-icon",label:c,size:"size-height-xl",type:"icon-white",onClick:function(){var t="skip"===X?3:4;tt(t),et(t)}}),l.React.createElement(g.A,{customAttributes:{"data-test-id":"setup-wizard-screen-05-skip-button"},customClasses:["gravitysmtp-setup-wizard__screen-nav-button","gravitysmtp-setup-wizard__screen-nav-button--skip"],icon:"arrow-narrow-right",iconPrefix:"gravitysmtp-admin-icon",iconPosition:"trailing",label:k,size:"size-height-xl",type:dt,onClick:function(){return $()}}),"success"===Y&&l.React.createElement(g.A,{customAttributes:{"data-test-id":"setup-wizard-screen-05-next-button"},active:ut,activeType:"loader",customClasses:["gravitysmtp-setup-wizard__screen-nav-button","gravitysmtp-setup-wizard__screen-nav-button--next"],label:gt,lockSize:!0,size:"size-height-xl",type:"primary-new",onClick:(0,r.A)(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return ot(!0),t.next=3,bt();case 3:(0,f.Ak)({event:"gravitysmtp/page_loader/active",native:!1,data:!0}),$();case 5:case"end":return t.stop()}}),t)})))})),l.React.createElement(v.A,{customClasses:["gravitysmtp-setup-wizard__content-header"],spacing:4},l.React.createElement(m.A,{content:st,spacing:4,size:"display-sm",tagName:"h2",weight:"medium"}),l.React.createElement(_.A,{content:lt})),l.React.createElement(v.A,{customClasses:["gravitysmtp-setup-wizard__content-body"]},l.React.createElement(ct,null))))))}},18698:function(t,e,n){n.r(e),n.d(e,{AmazonAWSFullLogo:function(){return r.A},BrevoFullLogo:function(){return i.A},CustomSMTPFullLogo:function(){return a.A},GoogleAltLogo:function(){return u.A},GoogleFullLogo:function(){return o.A},GravityFormsStackedLogo:function(){return c.A},GravitySMTPFullLogo:function(){return s.A},MailFailedBg:function(){return l.A},MailSuccessBg:function(){return p.A},MailchimpFullLogo:function(){return y.A},MailgunFullLogo:function(){return d.A},MicrosoftAltLogo:function(){return f.A},MicrosoftFullLogo:function(){return v.A},PHPFullLogo:function(){return g.A},PostmarkFullLogo:function(){return m.A},SendGridFullLogo:function(){return _.A},WPMailSMTPFullLogo:function(){return b.A}});var r=n(61294),i=n(93015),a=n(59417),u=n(63660),o=n(57438),c=n(79124),s=n(10997),l=n(91570),d=n(67652),p=n(89564),f=n(40783),v=n(51511),g=n(69703),m=n(10162),_=n(45279),b=n(33653),y=n(41921)},57290:function(t,e,n){n.r(e);var r,i,a,u,o,c=n(88856),s=n(97867),l=n(13296),d=n(71376),p=n(40450),f=n.n(p);function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function g(t){for(var e=1;e0&&void 0!==g[0]?g[0]:"",i=g.length>1&&void 0!==g[1]?g[1]:"debug",a=p.data,o=void 0===a?{}:a,s=p.endpoints,f=(null==(l=void 0===s?{}:s)||null===(e=l.log_debug_item)||void 0===e?void 0:e.action)||"",v=(null==l||null===(n=l.log_debug_item)||void 0===n?void 0:n.nonce)||"",null!=o&&o.debug_log_enabled&&f&&v&&r){t.next=7;break}return t.abrupt("return");case 7:return t.next=9,(0,d.bE)({endpoint:c(),body:{action:f,security:v,message:r,priority:i}}).catch((function(t){}));case 9:return t.abrupt("return",t.sent);case 10:case"end":return t.stop()}}),t)}))),v.apply(this,arguments)}},93313:function(t,e,n){var r=n(52888),i=n(8140);e.A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*";return function n(a){return Object.entries(a).reduce((function(a,u){var o=(0,i.A)(u,2),c=o[0],s=o[1];return"object"===(0,r.A)(s)&&null!==s?a[c]=n(s):t.includes(c)?a[c]=null===s?null:e.repeat(s.length):a[c]=s,a}),Array.isArray(a)?[]:{})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.setup-wizard-Screen05.b633de7404706a9c3eb9.min.js b/assets/js/dist/scripts-admin.setup-wizard-Screen05.b633de7404706a9c3eb9.min.js new file mode 100644 index 0000000..d92631d --- /dev/null +++ b/assets/js/dist/scripts-admin.setup-wizard-Screen05.b633de7404706a9c3eb9.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[4832,4854,8898],{528:function(t,e,n){n.r(e);var r=n(90455),i=n(88856),a=n(8140),u=n(78564),o=n.n(u),c=n(27122),s=n.n(c),l=n(97867),d=n(8173),p=n(60177),f=n(71376),v=n(30242),g=n(80509),m=n(5529),_=n(66598),A=n(83707),b=n(93313),y=n(18698),w=n(57290),S=l.React.useEffect,h=l.React.useRef,z=l.React.useState;e.default=function(t){var e=t.common,n=t.data,u=t.i18n,c=u.setup_wizard_back_button,k=u.setup_wizard_dashboard_button,x=u.setup_wizard_setup_skipped_title,O=u.setup_wizard_setup_skipped_copy,P=u.setup_wizard_setup_success_title,E=u.setup_wizard_setup_success_copy,F=u.setup_wizard_setup_failed_title,N=u.setup_wizard_setup_failed_copy,R=u.setup_wizard_activate_integration_button,D=n.integrations,L=e.endpoints,j=(void 0===L?{}:L).save_connector_settings,B=void 0===j?{}:j,C=B.action,M=void 0===C?"":C,I=B.nonce,G=void 0===I?"":I,J=e.i18n,T=(void 0===J?{}:J).debug_messages,U=void 0===T?{}:T,H=U.saving_integration_settings,W=void 0===H?"":H,Z=U.saving_integration_settings_error,q=void 0===Z?"":Z,K=(0,w.default)((function(t){return t.activeStep})),Q=(0,w.default)((function(t){return t.isAnimatedIn})),V=(0,w.default)((function(t){return t.integrationSetupAction})),X=(0,w.default)((function(t){return t.setupStatus})),Y=(0,w.default)((function(t){return t.integration})),$=(0,w.default)((function(t){return t.closeDialog})),tt=(0,w.default)((function(t){return t.setActiveStep})),et=(0,w.default)((function(t){return t.setActiveNavBarStep})),nt=(0,w.default)((function(t){return t.setSettingsUpdated})),rt=(0,w.default)((function(t){return t.setHasDebugError})),it=z(!1),at=(0,a.A)(it,2),ut=at[0],ot=at[1],ct="failed"===X?y.MailFailedBg:y.MailSuccessBg,st="",lt="",dt="primary-new";switch(X){case"skipped":st=x,lt=O;break;case"success":st=P,lt=E,dt="white";break;case"failed":st=F,lt=N}var pt=h();S((function(){5===K&&pt.current&&pt.current.focus()}),[K]);var ft={ref:(0,d.rM)(5===K&&Q),className:(0,l.classnames)((0,i.A)({"gravitysmtp-setup-wizard__screen":!0},"gravitysmtp-setup-wizard__screen--step-".concat(5),!0)),"aria-hidden":5!==K,"data-test-id":"setup-wizard-screen-05"},vt=D.reduce((function(t,e){return t||e.id!==Y?t:e.title}),""),gt=(0,f.nv)(R,vt),mt=D.filter((function(t){return!(t.data&&t.data.disabled)})).map((function(t){return t.id})),_t=function(){var t=(0,r.A)(o().mark((function t(e){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={action:M,security:G,connector_type:e,no_validate:!0,settings:{is_primary:!1}},t.next=3,(0,A.A)((0,f.nv)(W,e,JSON.stringify((0,b.A)(["security"],n))),"info");case 3:t.prev=3,(0,p.bE)({endpoint:s(),body:n}),t.next=12;break;case 7:return t.prev=7,t.t0=t.catch(3),t.next=12,(0,A.A)((0,f.nv)(q,e,JSON.stringify(t.t0)),"error");case 12:case"end":return t.stop()}}),t,null,[[3,7]])})));return function(e){return t.apply(this,arguments)}}(),At=function(){var t=(0,r.A)(o().mark((function t(){var e,n,r,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=mt.filter((function(t){return t!==Y})).map(_t),t.next=3,Promise.all(e);case 3:return n={action:M,security:G,connector_type:Y,settings:{enabled:!0,is_primary:!0}},t.next=6,(0,A.A)((0,f.nv)(W,Y,JSON.stringify((0,b.A)(["security"],n))),"info");case 6:return t.prev=6,t.next=9,(0,p.bE)({endpoint:s(),body:n});case 9:if(null!=(i=t.sent)&&null!==(r=i.data)&&void 0!==r&&r.success){t.next=17;break}return t.next=14,(0,A.A)((0,f.nv)(q,Y,JSON.stringify(null==i?void 0:i.error)),"error");case 14:rt(!0),t.next=18;break;case 17:nt();case 18:t.next=26;break;case 20:return t.prev=20,t.t0=t.catch(6),t.next=25,(0,A.A)((0,f.nv)(q,Y,JSON.stringify(t.t0)),"error");case 25:rt(!0);case 26:case"end":return t.stop()}}),t,null,[[6,20]])})));return function(){return t.apply(this,arguments)}}();return l.React.createElement("div",ft,l.React.createElement("div",{className:"gravitysmtp-setup-wizard__screen-inner"},l.React.createElement(l.SimpleBar,{scrollableNodeProps:{ref:pt}},l.React.createElement("div",{className:"gravitysmtp-setup-wizard__content"},l.React.createElement(v.A,{customClasses:["gravitysmtp-setup-wizard__screen-nav-buttons"],display:"flex",spacing:10},l.React.createElement(g.A,{customAttributes:{"data-test-id":"setup-wizard-screen-05-back-button"},customClasses:["gravitysmtp-setup-wizard__screen-nav-button","gravitysmtp-setup-wizard__screen-nav-button--back"],icon:"arrow-narrow-left",iconPrefix:"gravitysmtp-admin-icon",label:c,size:"size-height-xl",type:"icon-white",onClick:function(){var t="skip"===V?3:4;tt(t),et(t)}}),l.React.createElement(g.A,{customAttributes:{"data-test-id":"setup-wizard-screen-05-skip-button"},customClasses:["gravitysmtp-setup-wizard__screen-nav-button","gravitysmtp-setup-wizard__screen-nav-button--skip"],icon:"arrow-narrow-right",iconPrefix:"gravitysmtp-admin-icon",iconPosition:"trailing",label:k,size:"size-height-xl",type:dt,onClick:function(){return $()}}),"success"===X&&l.React.createElement(g.A,{customAttributes:{"data-test-id":"setup-wizard-screen-05-next-button"},active:ut,activeType:"loader",customClasses:["gravitysmtp-setup-wizard__screen-nav-button","gravitysmtp-setup-wizard__screen-nav-button--next"],label:gt,lockSize:!0,size:"size-height-xl",type:"primary-new",onClick:(0,r.A)(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return ot(!0),t.next=3,At();case 3:(0,f.Ak)({event:"gravitysmtp/page_loader/active",native:!1,data:!0}),$();case 5:case"end":return t.stop()}}),t)})))})),l.React.createElement(v.A,{customClasses:["gravitysmtp-setup-wizard__content-header"],spacing:4},l.React.createElement(m.A,{content:st,spacing:4,size:"display-sm",tagName:"h2",weight:"medium"}),l.React.createElement(_.A,{content:lt})),l.React.createElement(v.A,{customClasses:["gravitysmtp-setup-wizard__content-body"]},l.React.createElement(ct,null))))))}},18698:function(t,e,n){n.r(e),n.d(e,{AmazonAWSFullLogo:function(){return r.A},BrevoFullLogo:function(){return i.A},CustomSMTPFullLogo:function(){return a.A},GoogleAltLogo:function(){return u.A},GoogleFullLogo:function(){return o.A},GravityFormsStackedLogo:function(){return c.A},GravitySMTPFullLogo:function(){return s.A},MailFailedBg:function(){return l.A},MailSuccessBg:function(){return p.A},MailchimpFullLogo:function(){return b.A},MailgunFullLogo:function(){return d.A},MicrosoftAltLogo:function(){return f.A},MicrosoftFullLogo:function(){return v.A},PHPFullLogo:function(){return g.A},PostmarkFullLogo:function(){return m.A},SendGridFullLogo:function(){return _.A},WPMailSMTPFullLogo:function(){return A.A},ZohoAltLogo:function(){return y.A},ZohoFullLogo:function(){return w.A}});var r=n(61294),i=n(93015),a=n(59417),u=n(63660),o=n(57438),c=n(79124),s=n(10997),l=n(91570),d=n(67652),p=n(89564),f=n(40783),v=n(51511),g=n(69703),m=n(10162),_=n(45279),A=n(33653),b=n(41921),y=n(64158),w=n(65911)},57290:function(t,e,n){n.r(e);var r,i,a,u,o,c=n(88856),s=n(97867),l=n(8173),d=n(71376),p=n(40450),f=n.n(p);function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function g(t){for(var e=1;e0&&void 0!==g[0]?g[0]:"",i=g.length>1&&void 0!==g[1]?g[1]:"debug",a=p.data,o=void 0===a?{}:a,s=p.endpoints,f=(null==(l=void 0===s?{}:s)||null===(e=l.log_debug_item)||void 0===e?void 0:e.action)||"",v=(null==l||null===(n=l.log_debug_item)||void 0===n?void 0:n.nonce)||"",null!=o&&o.debug_log_enabled&&f&&v&&r){t.next=7;break}return t.abrupt("return");case 7:return t.next=9,(0,d.bE)({endpoint:c(),body:{action:f,security:v,message:r,priority:i}}).catch((function(t){}));case 9:return t.abrupt("return",t.sent);case 10:case"end":return t.stop()}}),t)}))),v.apply(this,arguments)}},93313:function(t,e,n){var r=n(52888),i=n(8140);e.A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*",n=function(a){return Object.entries(a).reduce((function(a,u){var o=(0,i.A)(u,2),c=o[0],s=o[1];return"object"===(0,r.A)(s)&&null!==s?a[c]=n(s):t.includes(c)?a[c]=null===s?null:e.repeat(s.length):a[c]=s,a}),Array.isArray(a)?[]:{})};return n(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.setup-wizard-components-FooterButtons.2c797fff2cc113c78715.min.js b/assets/js/dist/scripts-admin.setup-wizard-components-FooterButtons.2c797fff2cc113c78715.min.js new file mode 100644 index 0000000..9e7f4b2 --- /dev/null +++ b/assets/js/dist/scripts-admin.setup-wizard-components-FooterButtons.2c797fff2cc113c78715.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[560,4854],{17484:function(t,e,n){n.r(e);var r=n(18134),i=n(88856),o=n(58449),u=n(97867),a=n(30242),c=n(80509),s=n(57290),p=["customClasses"],l=["customClasses"];function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{};Object.entries(e).forEach((function(e){var t=(0,s.A)(e,2),n=t[0],r=t[1];"object"===(0,i.A)(r)&&null!==r&&!Array.isArray(r)&&Object.keys(r).length>0&&Object.entries(r).forEach((function(e){var t=(0,s.A)(e,2),r=t[0],a=t[1];U(n,r,a)}))}))},te=function(){var e=(0,a.A)(u().mark((function e(){var t,n,r,a,i;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n={action:G,security:K,plugin_to_migrate:M},e.next=4,(0,A.A)((0,m.nv)(O,JSON.stringify((0,h.A)(["security"],n))),"info");case 4:return e.next=6,(0,f.bE)({endpoint:l(),body:n});case 6:if(r=e.sent,Y(!1),null!=r&&null!==(t=r.data)&&void 0!==t&&t.success){e.next=15;break}return e.next=12,(0,A.A)((0,m.nv)(P,JSON.stringify(null==r?void 0:r.error)),"error");case 12:V(!0),e.next=18;break;case 15:ee(null==r||null===(a=r.data)||void 0===a?void 0:a.data),$(D,null==r||null===(i=r.data)||void 0===i?void 0:i.data),W();case 18:e.next=26;break;case 20:return e.prev=20,e.t0=e.catch(0),e.next=25,(0,A.A)((0,m.nv)(P,JSON.stringify(e.t0)),"error");case 25:V(!0);case 26:case"end":return e.stop()}}),e,null,[[0,20]])})));return function(){return e.apply(this,arguments)}}(),ne=I.filter((function(e){return e.activated})).map((function(e){var t="import_data_".concat(e.id),n=w["".concat(e.logo,"Logo")];return{id:t,labelAttributes:{label:e.title},name:"import_data",type:"image",value:e.id,children:d.React.createElement(n,null)}})),re=x();k((function(){2===T&&re.current&&re.current.focus()}),[T]);var ae,ie={ref:(0,p.rM)(2===T&&L),className:(0,d.classnames)((0,r.A)({"gravitysmtp-setup-wizard__screen":!0},"gravitysmtp-setup-wizard__screen--step-".concat(2),!0)),"aria-hidden":2!==T,"data-test-id":"setup-wizard-screen-02"},se=(null===(c=I.filter((function(e){return e.activated&&e.initialChecked}))[0])||void 0===c?void 0:c.id)||"";return d.React.createElement("div",ie,d.React.createElement("div",{className:"gravitysmtp-setup-wizard__screen-inner"},d.React.createElement(d.SimpleBar,{scrollableNodeProps:{ref:re}},d.React.createElement("div",{className:"gravitysmtp-setup-wizard__content"},d.React.createElement(v.A,{customClasses:["gravitysmtp-setup-wizard__content-header"],spacing:6},d.React.createElement(g.A,{content:B,spacing:4,size:"display-sm",tagName:"h2",weight:"medium"}),d.React.createElement(_.A,{content:j,spacing:8})),d.React.createElement(y.A,{customClasses:["gravitysmtp-setup-wizard__content-cards","gform-grid--container","gform-grid--wrap","gform-grid--row-spacing-6","gform-grid--col-spacing-6"],data:ne,id:"import_data",inputType:"radio",initialValue:se,onChange:function(e,t){return H(t.target.value)},useWrapper:!0,wrapperAttributes:{customClasses:["gravitysmtp-setup-wizard__content-card","gform-grid--item"]}}),d.React.createElement(b.default,{i18n:S,backButtonCustomAttributes:{customAttributes:{"data-test-id":"setup-wizard-screen-02-back-button"}},nextButtonCustomAttributes:{disabled:!M||Q,onClick:(ae=(0,a.A)(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Y(!0),e.next=3,te();case 3:F();case 4:case"end":return e.stop()}}),e)}))),function(){return ae.apply(this,arguments)}),active:Q,activeType:"loader",activeText:J,icon:Q?"":"arrow-narrow-right",lockSize:!0,customAttributes:{"data-test-id":"setup-wizard-screen-02-next-button"}},skipButtonCustomAttributes:{customAttributes:{"data-test-id":"setup-wizard-screen-02-skip-button"}}})))))}},47526:function(e,t,n){n.r(t);var r=n(88856),a=n(8140),i=n(97867),s=n(13296),c=n(30242),u=n(5529),o=n(66598),l=n(83852),d=n(65224),p=n(18698),f=n(57290),m=i.React.useEffect,v=i.React.useRef;t.default=function(e){var t=e.data,n=e.i18n,g=n.setup_wizard_integration_title,_=n.setup_wizard_integration_copy_1,y=(n.setup_wizard_integration_copy_2,t.integrations),b=(0,f.default)((function(e){return e.activeStep})),w=(0,f.default)((function(e){return e.isAnimatedIn})),A=(0,f.default)((function(e){return e.integration})),h=(0,f.default)((function(e){return e.integrationSettingsFormData})),z=(0,f.default)((function(e){return e.setIntegration})),k=(0,f.default)((function(e){return e.setActiveStep})),x=(0,f.default)((function(e){return e.setActiveNavBarStep})),E=(0,f.default)((function(e){return e.setActiveNavBarStepNext})),R=(0,f.default)((function(e){return e.setActiveNavBarStepPrevious})),S=(0,f.default)((function(e){return e.setIntegrationSetupAction})),C=(0,f.default)((function(e){return e.setSetupStatus})),N=y.filter((function(e){var t;return!(null!=e&&null!==(t=e.data)&&void 0!==t&&t.disabled)})).map((function(e){var t="integration_".concat(e.id),n=null!=e&&e.full_logo?p["".concat(e.full_logo,"Logo")]:null;return{customAttributes:{"data-test-id":"setup-wizard-screen-03-integration-".concat(e.id)},id:t,labelAttributes:{label:e.title},name:"integration",type:"image",value:e.id,children:n?i.React.createElement(n,null):null}})),O=v();m((function(){3===b&&O.current&&O.current.focus()}),[b]);var P={ref:(0,s.rM)(3===b&&w),className:(0,i.classnames)((0,r.A)({"gravitysmtp-setup-wizard__screen":!0},"gravitysmtp-setup-wizard__screen--step-".concat(3),!0)),"aria-hidden":3!==b,"data-test-id":"setup-wizard-screen-03"};return i.React.createElement("div",P,i.React.createElement("div",{className:"gravitysmtp-setup-wizard__screen-inner"},i.React.createElement(i.SimpleBar,{scrollableNodeProps:{ref:O}},i.React.createElement("div",{className:"gravitysmtp-setup-wizard__content"},i.React.createElement(c.A,{customClasses:["gravitysmtp-setup-wizard__content-header"],spacing:6},i.React.createElement(u.A,{content:g,spacing:4,size:"display-sm",tagName:"h2",weight:"medium"}),i.React.createElement(o.A,{content:_,spacing:8})),i.React.createElement(l.A,{customClasses:["gravitysmtp-setup-wizard__content-cards","gform-grid--container","gform-grid--wrap","gform-grid--row-spacing-6","gform-grid--col-spacing-6"],data:N,id:"integrations",inputType:"radio",initialValue:function(){for(var e=0,t=Object.entries(h);e0&&void 0!==arguments[0]?arguments[0]:{};Object.entries(e).forEach((function(e){var t=(0,s.A)(e,2),n=t[0],r=t[1];"object"===(0,i.A)(r)&&null!==r&&!Array.isArray(r)&&Object.keys(r).length>0&&Object.entries(r).forEach((function(e){var t=(0,s.A)(e,2),r=t[0],a=t[1];U(n,r,a)}))}))},te=function(){var e=(0,a.A)(u().mark((function e(){var t,n,r,a,i;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n={action:G,security:K,plugin_to_migrate:M},e.next=4,(0,A.A)((0,m.nv)(O,JSON.stringify((0,h.A)(["security"],n))),"info");case 4:return e.next=6,(0,f.bE)({endpoint:l(),body:n});case 6:if(r=e.sent,Y(!1),null!=r&&null!==(t=r.data)&&void 0!==t&&t.success){e.next=15;break}return e.next=12,(0,A.A)((0,m.nv)(P,JSON.stringify(null==r?void 0:r.error)),"error");case 12:V(!0),e.next=18;break;case 15:ee(null==r||null===(a=r.data)||void 0===a?void 0:a.data),$(D,null==r||null===(i=r.data)||void 0===i?void 0:i.data),W();case 18:e.next=26;break;case 20:return e.prev=20,e.t0=e.catch(0),e.next=25,(0,A.A)((0,m.nv)(P,JSON.stringify(e.t0)),"error");case 25:V(!0);case 26:case"end":return e.stop()}}),e,null,[[0,20]])})));return function(){return e.apply(this,arguments)}}(),ne=I.filter((function(e){return e.activated})).map((function(e){var t="import_data_".concat(e.id),n=w["".concat(e.logo,"Logo")];return{id:t,labelAttributes:{label:e.title},name:"import_data",type:"image",value:e.id,children:d.React.createElement(n,null)}})),re=x();k((function(){2===T&&re.current&&re.current.focus()}),[T]);var ae,ie={ref:(0,p.rM)(2===T&&L),className:(0,d.classnames)((0,r.A)({"gravitysmtp-setup-wizard__screen":!0},"gravitysmtp-setup-wizard__screen--step-".concat(2),!0)),"aria-hidden":2!==T,"data-test-id":"setup-wizard-screen-02"},se=(null===(c=I.filter((function(e){return e.activated&&e.initialChecked}))[0])||void 0===c?void 0:c.id)||"";return d.React.createElement("div",ie,d.React.createElement("div",{className:"gravitysmtp-setup-wizard__screen-inner"},d.React.createElement(d.SimpleBar,{scrollableNodeProps:{ref:re}},d.React.createElement("div",{className:"gravitysmtp-setup-wizard__content"},d.React.createElement(v.A,{customClasses:["gravitysmtp-setup-wizard__content-header"],spacing:6},d.React.createElement(g.A,{content:B,spacing:4,size:"display-sm",tagName:"h2",weight:"medium"}),d.React.createElement(_.A,{content:j,spacing:8})),d.React.createElement(y.A,{customClasses:["gravitysmtp-setup-wizard__content-cards","gform-grid--container","gform-grid--wrap","gform-grid--row-spacing-6","gform-grid--col-spacing-6"],data:ne,id:"import_data",inputType:"radio",initialValue:se,onChange:function(e,t){return H(t.target.value)},useWrapper:!0,wrapperAttributes:{customClasses:["gravitysmtp-setup-wizard__content-card","gform-grid--item"]}}),d.React.createElement(b.default,{i18n:S,backButtonCustomAttributes:{customAttributes:{"data-test-id":"setup-wizard-screen-02-back-button"}},nextButtonCustomAttributes:{disabled:!M||Q,onClick:(ae=(0,a.A)(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Y(!0),e.next=3,te();case 3:F();case 4:case"end":return e.stop()}}),e)}))),function(){return ae.apply(this,arguments)}),active:Q,activeType:"loader",activeText:J,icon:Q?"":"arrow-narrow-right",lockSize:!0,customAttributes:{"data-test-id":"setup-wizard-screen-02-next-button"}},skipButtonCustomAttributes:{customAttributes:{"data-test-id":"setup-wizard-screen-02-skip-button"}}})))))}},47526:function(e,t,n){n.r(t);var r=n(88856),a=n(8140),i=n(97867),s=n(8173),c=n(30242),u=n(5529),o=n(66598),l=n(83852),d=n(65224),p=n(18698),f=n(57290),m=i.React.useEffect,v=i.React.useRef;t.default=function(e){var t=e.data,n=e.i18n,g=n.setup_wizard_integration_title,_=n.setup_wizard_integration_copy_1,y=(n.setup_wizard_integration_copy_2,t.integrations),b=(0,f.default)((function(e){return e.activeStep})),w=(0,f.default)((function(e){return e.isAnimatedIn})),A=(0,f.default)((function(e){return e.integration})),h=(0,f.default)((function(e){return e.integrationSettingsFormData})),z=(0,f.default)((function(e){return e.setIntegration})),k=(0,f.default)((function(e){return e.setActiveStep})),x=(0,f.default)((function(e){return e.setActiveNavBarStep})),E=(0,f.default)((function(e){return e.setActiveNavBarStepNext})),R=(0,f.default)((function(e){return e.setActiveNavBarStepPrevious})),S=(0,f.default)((function(e){return e.setIntegrationSetupAction})),C=(0,f.default)((function(e){return e.setSetupStatus})),N=y.filter((function(e){var t;return!(null!=e&&null!==(t=e.data)&&void 0!==t&&t.disabled)})).map((function(e){var t="integration_".concat(e.id),n=null!=e&&e.full_logo?p["".concat(e.full_logo,"Logo")]:null;return{customAttributes:{"data-test-id":"setup-wizard-screen-03-integration-".concat(e.id)},id:t,labelAttributes:{label:e.title},name:"integration",type:"image",value:e.id,children:n?i.React.createElement(n,null):null}})),O=v();m((function(){3===b&&O.current&&O.current.focus()}),[b]);var P={ref:(0,s.rM)(3===b&&w),className:(0,i.classnames)((0,r.A)({"gravitysmtp-setup-wizard__screen":!0},"gravitysmtp-setup-wizard__screen--step-".concat(3),!0)),"aria-hidden":3!==b,"data-test-id":"setup-wizard-screen-03"};return i.React.createElement("div",P,i.React.createElement("div",{className:"gravitysmtp-setup-wizard__screen-inner"},i.React.createElement(i.SimpleBar,{scrollableNodeProps:{ref:O}},i.React.createElement("div",{className:"gravitysmtp-setup-wizard__content"},i.React.createElement(c.A,{customClasses:["gravitysmtp-setup-wizard__content-header"],spacing:6},i.React.createElement(u.A,{content:g,spacing:4,size:"display-sm",tagName:"h2",weight:"medium"}),i.React.createElement(o.A,{content:_,spacing:8})),i.React.createElement(l.A,{customClasses:["gravitysmtp-setup-wizard__content-cards","gform-grid--container","gform-grid--wrap","gform-grid--row-spacing-6","gform-grid--col-spacing-6"],data:N,id:"integrations",inputType:"radio",initialValue:function(){for(var e=0,t=Object.entries(h);e0&&l.React.createElement(y.A,{HeaderContent:function(){return l.React.createElement(d.A,{content:k,size:"text-md",weight:"medium",tagName:"h3"})}},l.React.createElement(v.A,{content:(null==H||null===(g=H.notes)||void 0===g||null===(g=g.props)||void 0===g?void 0:g.content)||"",size:"text-sm"}))),l.React.createElement(u.A,{customClasses:["gravitysmtp-suppression-app__suppression-dialog-footer"],display:"flex",spacing:[8,0,0,0]},l.React.createElement(p.A,{label:_,onClick:function(){return K(!1)},size:"size-height-m",type:"white"}),l.React.createElement(p.A,{active:M,activeType:"loader",icon:M?void 0:"reactivate",iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",label:w,onClick:(0,o.A)(c().mark((function e(){var t,n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return null!=F&&F.current&&(n=F.current.offsetWidth,F.current.style.width="".concat(n,"px")),q(!0),e.next=4,B([(null==H||null===(t=H.email)||void 0===t||null===(t=t.props)||void 0===t?void 0:t.content)||""]);case 4:q(!1),null!=F&&F.current&&(F.current.style.width="");case 6:case"end":return e.stop()}}),e)}))),ref:F,size:"size-height-m"})))},_=R((function(e,t){var n=e.customAttributes,o=void 0===n?{}:n,s=e.customClasses,r=void 0===s?[]:s,c=e.i18n,u=void 0===c?{}:c,p=(0,h.default)((function(e){return e.suppressionDialogOpen})),d=(0,h.default)((function(e){return e.suppressionDialogContentKey})),m=(0,h.default)((function(e){return e.suppressionDialogTitle})),v=(0,h.default)((function(e){return e.setSuppressionDialogOpen})),g=function(e){for(var t=1;t0?kt:7)),nr=(0,s.A)(rr,2),ir=nr[0],ar=nr[1],sr=E(Dt),or=(0,s.A)(sr,2),cr=or[0],lr=or[1],ur=E(!1),pr=(0,s.A)(ur,2),dr=pr[0],vr=pr[1],gr=(0,P.default)((function(e){return e.setSuppressionDialogOpen})),fr=(0,P.default)((function(e){return e.setSuppressionDialogSettings})),mr=S(),hr=S(!1),_r=(0,C.h)({page:L,searchTerm:M}),br=(0,C.A)((0,a.A)({},_r,{rows:Ct,totalRowCount:Dt})),yr=br.pageCache,Ar=br.addPageCache;k((function(){if(mr.current)if(hr.current)hr.current=!1;else{var e=tr.get(N)||"1",t=parseInt(e,10)-1,r=tr.get(Z)||"";Dr({currentPage:t,searchTerm:r},!0),Br({currentPage:t,searchTerm:r,searchActive:""!==r})}else mr.current=!0}),[tr]);var wr=function(){var e=(0,i.A)(c().mark((function e(t,r){var n,i,a;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={action:Bt,security:Zt,emails:t,note:r},e.next=3,(0,O.A)((0,v.nv)(it,JSON.stringify((0,R.A)(["security"],n))),"info");case 3:return e.prev=3,e.next=6,(0,d.bE)({endpoint:u(),body:n});case 6:null!=(a=e.sent)&&null!==(i=a.data)&&void 0!==i&&i.success?(Yt(Ye),gr(!1),window.location.reload()):Yt(et,"error"),e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(3),Yt(e.t0.message,"error"),e.next=15,(0,O.A)((0,v.nv)(st,JSON.stringify(e.t0)),"error");case 15:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t,r){return e.apply(this,arguments)}}(),Or=function(){var e=(0,i.A)(c().mark((function e(t){var r,n,i;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={action:Vt,security:Jt,emails:t,all_emails:null!=Tr&&Tr.selectedAllRowsOnAllPages?"1":"0"},e.next=3,(0,O.A)((0,v.nv)(dt,JSON.stringify((0,R.A)(["security"],r))),"info");case 3:return e.prev=3,e.next=6,(0,d.bE)({endpoint:u(),body:r});case 6:null!=(i=e.sent)&&null!==(n=i.data)&&void 0!==n&&n.success?(Yt(Ge),gr(!1),window.location.reload()):Yt(Fe,"error"),e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(3),Yt(e.t0.message,"error"),e.next=15,(0,O.A)((0,v.nv)(gt,JSON.stringify(e.t0)),"error");case 15:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}(),Rr=function(){var e=(0,i.A)(c().mark((function e(){var t,r,n=arguments;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>1&&void 0!==n[1]?n[1]:"",r=(n.length>0&&void 0!==n[0]?n[0]:"").split(/[\s,]+/).filter((function(e){return""!==e.trim()})),e.next=5,wr(r,t);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Cr=function(e){var t=e.page,r=e.searchTerm,n=void 0===r?"":r,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=new URLSearchParams(Wt.search);a.set(N,t),n?a.set(Z,n):a.delete(Z),Xt("?".concat(a.toString()),{replace:i})},Pr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.rows,r=void 0===t?[]:t,n=e.totalRowCount,i=void 0===n?0:n,a=r.length>0;ar(a?kt:7),Mr(r),lr(parseInt(i,10))},Dr=function(){var e=(0,i.A)(c().mark((function e(t){var r,n,i,a,s,o,l,u,p,g,f,m=arguments;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((r=m.length>1&&void 0!==m[1]&&m[1])||(hr.current=!0),n={page:t.currentPage+1,searchTerm:t.searchTerm},i=(0,C.h)(n),!yr[i]){e.next=8;break}return Pr(yr[i]),Cr(n,r),e.abrupt("return",t.currentPage);case 8:return a={action:Gt,security:Ft,requested_page:t.currentPage+1,search_term:t.searchTerm||""},e.next=11,(0,O.A)((0,v.nv)(ct,JSON.stringify((0,R.A)(["security"],a))),"info");case 11:return e.prev=11,e.next=14,(0,d.bE)({endpoint:ht,body:a});case 14:if(u=e.sent,p=(null==u||null===(s=u.data)||void 0===s||null===(s=s.data)||void 0===s?void 0:s.rows)||[],g=(null==u||null===(o=u.data)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.total)||"0",null==u||null===(l=u.data)||void 0===l||!l.success){e.next=23;break}return Ar(i,f={rows:p,totalRowCount:g}),Pr(f),Cr(n,r),e.abrupt("return",t.currentPage);case 23:Yt(We,"error"),e.next=31;break;case 26:return e.prev=26,e.t0=e.catch(11),Yt(e.t0.message,"error"),e.next=31,(0,O.A)((0,v.nv)(ut,JSON.stringify(e.t0)),"error");case 31:case"end":return e.stop()}}),e,null,[[11,26]])})));return function(t){return e.apply(this,arguments)}}(),xr=function(){var e=(0,i.A)(c().mark((function e(){var t;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("reactivate"!==(null==Tr?void 0:Tr.selectedBulkAction)){e.next=6;break}return vr(!0),t=V(null==Tr?void 0:Tr.selectedRows,Lr),e.next=5,Or(t);case 5:vr(!1);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),kr={iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",icon:"failed",label:"Add Suppressed Recipients",onClick:function(){fr({suppressionDialogContentKey:"add",suppressionDialogAddOnConfirm:Rr,suppressionDialogTitle:Ve}),gr(!0)},size:"size-height-m",type:"white"},Sr=[A.qg,A.hi,A.vj],Er=!0,jr=(0,w.A)({data:Ct,dataPerPage:kt,initialState:{isLoading:!1,moduleState:{currentPage:parseInt(L,10)-1,pageCount:Math.ceil(Dt/kt),searchTerm:M,searchActive:""!==M}},modules:Sr,useAjax:Er}),Tr=jr.moduleState,Br=jr.updateModuleState,Nr=jr.isLoading,Zr=jr.setIsLoading,Ir=jr.gridLocked,Lr=jr.organizedData,Mr=jr.setOrganizedData,Vr={afterGridHeading:p.React.createElement(f.A,kr),customClasses:["gravitysmtp-suppression-app__suppressions-grid"],id:"gravitysmtp-suppression-app__suppressions-grid",columns:Ot,columnStyleProps:At,data:Lr,dataPerPage:ir,EmptyImage:_,gridLocked:Ir,handleGridClicks:function(e){"reactivate"===e.action&&(fr({suppressionDialogContentKey:"reactivate",suppressionDialogReactivateOnConfirm:Or,suppressionDialogReactivateData:Lr.find((function(t){return t.id===e.data.email_id}))||{},suppressionDialogTitle:Je}),gr(!0))},i18n:{emptyMessageI18n:se,emptyTitleI18n:ie,gridHeadingI18n:ee},isLoading:Nr,maintainHeight:0===Lr.length,modules:Sr,moduleAttributes:{bulkActions:{button:{customAttributes:{"data-test-id":"suppressions-grid-bulk-actions-trigger"},disabled:dr,id:"suppressions-grid-bulk-actions-trigger",label:ue,onClick:xr},select:{customAttributes:{"data-test-id":"suppressions-grid-bulk-actions-select"},id:"suppressions-grid-bulk-actions-select",labelAttributes:{label:ce,isVisible:!1},options:bt},i18n:{bulkSelectI18n:Y,selectNoticeSelectedNumberEntriesI18n:xe,selectNoticeSelectedAllNumberEntriesI18n:Se,selectNoticeSelectAllNumberEntriesI18n:je,selectNoticeClearSelectionI18n:Be,selectRowI18n:Ze},notice:{rowCount:cr}},pagination:{nextLabel:me,nextAriaLabel:ye,onClick:Dr,pageCount:Math.ceil(cr/ir),previousLabel:_e,previousAriaLabel:we},search:{button:{customAttributes:{"data-test-id":"suppressions-grid-search-trigger"},id:"suppressions-grid-search-trigger",label:ge},input:{customAttributes:{"data-test-id":"suppressions-grid-search-input"},clearableButtonAttributes:{ariaLabel:re,icon:"x-circle",iconPrefix:"gravitysmtp-admin-icon"},id:"suppressions-grid-search-input",placeholder:de},noResults:{Image:b.A},i18n:{noResultsTitle:Re,noResultsMessage:Pe},onSearch:Dr}},moduleState:Tr,setIsLoading:Zr,titleAttributes:{tagName:"h2"},updateModuleState:Br,useAjax:Er},zr=function(e){for(var t=1;t0&&void 0!==f[0]?f[0]:"",i=f.length>1&&void 0!==f[1]?f[1]:"debug",a=d.data,o=void 0===a?{}:a,l=d.endpoints,v=(null==(u=void 0===l?{}:l)||null===(t=u.log_debug_item)||void 0===t?void 0:t.action)||"",g=(null==u||null===(r=u.log_debug_item)||void 0===r?void 0:r.nonce)||"",null!=o&&o.debug_log_enabled&&v&&g&&n){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,(0,p.bE)({endpoint:c(),body:{action:v,security:g,message:n,priority:i}}).catch((function(e){}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)}))),g.apply(this,arguments)}},93313:function(e,t,r){var n=r(52888),i=r(8140);t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*",r=function(a){return Object.entries(a).reduce((function(a,s){var o=(0,i.A)(s,2),c=o[0],l=o[1];return"object"===(0,n.A)(l)&&null!==l?a[c]=r(l):e.includes(c)?a[c]=null===l?null:t.repeat(l.length):a[c]=l,a}),Array.isArray(a)?[]:{})};return r(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},79929:function(e,t,r){r.d(t,{h:function(){return l}});var n=r(88856),i=r(8140),a=r(97867);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.page,r=void 0===t?1:t,n=e.searchTerm,i=void 0===n?"":n,a=e.filters,s=void 0===a?"":a,o="page-".concat(r);return i&&(o+="-".concat(i)),s&&(o+="-".concat(s)),o};t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=c((function(){return e})),r=(0,i.A)(t,2),a=r[0],s=r[1];return{pageCache:a,addPageCache:function(e,t){s((function(r){return o(o({},r),{},(0,n.A)({},e,t))}))}}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.suppression-store.31080dec9525cbf0cdad.min.js b/assets/js/dist/scripts-admin.suppression-store.31080dec9525cbf0cdad.min.js new file mode 100644 index 0000000..fd169cb --- /dev/null +++ b/assets/js/dist/scripts-admin.suppression-store.31080dec9525cbf0cdad.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[4448],{6082:function(i,n,s){s.r(n);var o=(0,s(8173).vt)({suppressionDialogContentKey:"add",suppressionDialogOpen:!1,suppressionDialogAddOnConfirm:function(){},suppressionDialogReactivateOnConfirm:function(){},suppressionDialogReactivateData:{},suppressionDialogTitle:""},(function(i){return{setSuppressionDialogOpen:function(n){return i((function(){return{suppressionDialogOpen:n}}))},setSuppressionDialogSettings:function(n){var s=n.suppressionDialogContentKey,o=void 0===s?"add":s,e=n.suppressionDialogAddOnConfirm,t=void 0===e?function(){}:e,a=n.suppressionDialogReactivateOnConfirm,p=void 0===a?function(){}:a,r=n.suppressionDialogReactivateData,u=void 0===r?{}:r,l=n.suppressionDialogTitle,g=void 0===l?"":l;i((function(){return{suppressionDialogContentKey:o,suppressionDialogAddOnConfirm:t,suppressionDialogReactivateOnConfirm:p,suppressionDialogReactivateData:u,suppressionDialogTitle:g}}))}}}));n.default=o}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.suppression-suppression.bb10ed07953a4b74e883.min.js b/assets/js/dist/scripts-admin.suppression-suppression.bb10ed07953a4b74e883.min.js new file mode 100644 index 0000000..395bfcd --- /dev/null +++ b/assets/js/dist/scripts-admin.suppression-suppression.bb10ed07953a4b74e883.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[3625,5106],{57043:function(e,t,n){n.r(t);var a=n(71860),r=n(88856),s=n(97867),i=n(10997),o=n(30242),c=n(43632);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var p=(0,s.React.forwardRef)((function(e,t){var n=e.customAttributes,p=void 0===n?{}:n,u=e.customClasses,d=void 0===u?[]:u,m=e.common,v=void 0===m?{}:m,f=e.showModes,g=void 0===f||f,y=function(e){for(var t=1;t0&&l.React.createElement(y.A,{HeaderContent:function(){return l.React.createElement(d.A,{content:k,size:"text-md",weight:"medium",tagName:"h3"})}},l.React.createElement(v.A,{content:(null==H||null===(f=H.notes)||void 0===f||null===(f=f.props)||void 0===f?void 0:f.content)||"",size:"text-sm"}))),l.React.createElement(p.A,{customClasses:["gravitysmtp-suppression-app__suppression-dialog-footer"],display:"flex",spacing:[8,0,0,0]},l.React.createElement(u.A,{label:w,onClick:function(){return B(!1)},size:"size-height-m",type:"white"}),l.React.createElement(u.A,{active:K,activeType:"loader",icon:K?void 0:"reactivate",iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",label:C,onClick:(0,s.A)(c().mark((function e(){var t,n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return null!=q&&q.current&&(n=q.current.offsetWidth,q.current.style.width="".concat(n,"px")),L(!0),e.next=4,I([(null==H||null===(t=H.email)||void 0===t||null===(t=t.props)||void 0===t?void 0:t.content)||""]);case 4:L(!1),null!=q&&q.current&&(q.current.style.width="");case 6:case"end":return e.stop()}}),e)}))),ref:q,size:"size-height-m"})))},w=R((function(e,t){var n=e.customAttributes,s=void 0===n?{}:n,i=e.customClasses,o=void 0===i?[]:i,c=e.i18n,p=void 0===c?{}:c,u=(0,b.default)((function(e){return e.suppressionDialogOpen})),d=(0,b.default)((function(e){return e.suppressionDialogContentKey})),m=(0,b.default)((function(e){return e.suppressionDialogTitle})),v=(0,b.default)((function(e){return e.setSuppressionDialogOpen})),f=function(e){for(var t=1;t0&&l.React.createElement(y.A,{HeaderContent:function(){return l.React.createElement(d.A,{content:k,size:"text-md",weight:"medium",tagName:"h3"})}},l.React.createElement(v.A,{content:(null==H||null===(f=H.notes)||void 0===f||null===(f=f.props)||void 0===f?void 0:f.content)||"",size:"text-sm"}))),l.React.createElement(p.A,{customClasses:["gravitysmtp-suppression-app__suppression-dialog-footer"],display:"flex",spacing:[8,0,0,0]},l.React.createElement(u.A,{label:w,onClick:function(){return B(!1)},size:"size-height-m",type:"white"}),l.React.createElement(u.A,{active:W,activeType:"loader",icon:W?void 0:"reactivate",iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",label:C,onClick:(0,s.A)(c().mark((function e(){var t,n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return null!=q&&q.current&&(n=q.current.offsetWidth,q.current.style.width="".concat(n,"px")),K(!0),e.next=4,M([(null==H||null===(t=H.email)||void 0===t||null===(t=t.props)||void 0===t?void 0:t.content)||""]);case 4:K(!1),null!=q&&q.current&&(q.current.style.width="");case 6:case"end":return e.stop()}}),e)}))),ref:q,size:"size-height-m"})))},w=h((function(e,t){var n=e.customAttributes,s=void 0===n?{}:n,i=e.customClasses,o=void 0===i?[]:i,c=e.i18n,p=void 0===c?{}:c,u=(0,b.default)((function(e){return e.suppressionDialogOpen})),d=(0,b.default)((function(e){return e.suppressionDialogContentKey})),m=(0,b.default)((function(e){return e.suppressionDialogTitle})),v=(0,b.default)((function(e){return e.setSuppressionDialogOpen})),f=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.page,n=void 0===t?1:t,r=e.searchTerm,a=void 0===r?"":r,o="page-".concat(n);return a&&(o+="-".concat(a)),o},N=D((function(e,t){var n,u=e.customAttributes,D=void 0===u?{}:u,S=e.customClasses,N=void 0===S?[]:S,G=e.common,z=void 0===G?{}:G,J=e.data,M=void 0===J?{}:J,H=e.i18n,U=void 0===H?{}:H,q=z.endpoints,B=(void 0===q?{}:q).debug_log_page,K=B.action,F=void 0===K?"":K,Q=B.nonce,V=void 0===Q?"":Q,W=U||{},X=W.debug_log,Y=void 0===X?{}:X,Z=Y.top_heading,$=void 0===Z?"":Z,ee=Y.data_grid,te=void 0===ee?{}:ee,ne=te.top_heading,re=void 0===ne?"":ne,ae=te.clear_search_aria_label,oe=void 0===ae?"":ae,ie=te.empty_title,ue=void 0===ie?"":ie,le=te.empty_message,se=void 0===le?"":le,ce=te.grid_controls_search_button_label,de=void 0===ce?"":ce,ge=te.grid_controls_search_placeholder,pe=void 0===ge?"":ge,ve=te.pagination_next,be=void 0===ve?"":ve,_e=te.pagination_prev,fe=void 0===_e?"":_e,me=te.pagination_next_aria_label,he=void 0===me?"":me,ye=te.pagination_prev_aria_label,we=void 0===ye?"":ye,De=te.search_no_results_title,Ae=void 0===De?"":De,Pe=te.search_no_results_message,Re=void 0===Pe?"":Pe,Oe=Y.snackbar_debug_log_error,je=void 0===Oe?"":Oe,xe=W.debug_messages,Te=void 0===xe?{}:xe,Le=Te.fetching_debug_log_page,ke=void 0===Le?"":Le,Se=Te.fetching_debug_log_page_error,Ce=void 0===Se?"":Se,Ee=(null==M?void 0:M.debug_log)||{},Ie=Ee.ajax_grid_pagination_url,Ne=void 0===Ie?"":Ie,Ge=Ee.data_grid,ze=void 0===Ge?{}:Ge,Je=ze.columns,Me=void 0===Je?[]:Je,He=ze.column_style_props,Ue=void 0===He?{}:He,qe=Ee.initial_load_timestamp,Be=void 0===qe?"":qe,Ke=Ee.initial_row_count,Fe=void 0===Ke?0:Ke,Qe=Ee.rows_per_page,Ve=void 0===Qe?7:Qe,We=(null==M?void 0:M.caps)||{},Xe=O(),Ye=j(),Ze=(0,g.dh)(),$e=R(Fe),et=(0,i.A)($e,2),tt=et[0],nt=et[1],rt=x(),at=(0,i.A)(rt,2),ot=at[0],it=(at[1],(0,y.default)((function(e){return e.debugLogDataGridRows}))),ut=(0,y.default)((function(e){return e.setDebugLogDataGridRows})),lt=(0,y.default)((function(e){return e.setDebugDetailsDialogData})),st=(0,y.default)((function(e){return e.setDebugDetailsDialogOpen})),ct=P(),dt=P("");A((function(){if(ct.current){var e=ot.get(T)||"1",t=ot.get(L)||"";bt({currentPage:parseInt(e,10)-1,searchTerm:t},!0)}else ct.current=!0}),[ot]),A((function(){return window.addEventListener("popstate",pt),function(){window.removeEventListener("popstate",pt)}}),[]);var gt=I({page:C,searchTerm:E});k[gt]={},k[gt].rows=(null==M||null===(n=M.debug_log)||void 0===n||null===(n=n.data_grid)||void 0===n?void 0:n.data)||[],k[gt].newRowCount=Fe;var pt=function(){dt.current=""},vt=function(e){var t=e.page,n=e.searchTerm,r=void 0===n?"":n,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=new URLSearchParams(Xe.search);o.set(T,t),r?o.set(L,r):o.delete(L),Ye("?".concat(o.toString()),{replace:a})},bt=function(){var e=(0,o.A)(l().mark((function e(t){var n,r,a,o,i,u,s,g,p,v,b=arguments;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=b.length>1&&void 0!==b[1]&&b[1],r=I({page:t.currentPage+1}),t.searchTerm||!k[r]){e.next=8;break}return ut(k[r].rows),nt(parseInt(k[r].newRowCount,10)),vt({page:t.currentPage+1},n),dt.current="",e.abrupt("return",t.currentPage);case 8:if(a={action:F,security:V,max_date:Be,requested_page:t.currentPage+1,search_term:t.searchTerm||""},(o=JSON.stringify(a))!==dt.current){e.next=12;break}return e.abrupt("return");case 12:return e.next=14,(0,m.A)((0,d.nv)(ke,JSON.stringify((0,h.A)(["security"],a))),"info");case 14:return e.prev=14,e.next=17,(0,c.bE)({endpoint:Ne,body:a});case 17:if(g=e.sent,p=(null==g||null===(i=g.data)||void 0===i||null===(i=i.data)||void 0===i?void 0:i.rows)||[],v=(null==g||null===(u=g.data)||void 0===u||null===(u=u.data)||void 0===u?void 0:u.total)||"0",null==g||null===(s=g.data)||void 0===s||!s.success){e.next=27;break}return t.searchTerm||(k[r]={rows:p,newRowCount:v}),ut(p),nt(parseInt(v,10)),vt({page:t.currentPage+1,searchTerm:t.searchTerm||""},n),dt.current=o,e.abrupt("return",t.currentPage);case 27:Ze(je,"error"),e.next=35;break;case 30:return e.prev=30,e.t0=e.catch(14),Ze(e.t0,"error"),e.next=35,(0,m.A)((0,d.nv)(Ce,JSON.stringify(e.t0)),"error");case 35:case"end":return e.stop()}}),e,null,[[14,30]])})));return function(t){return e.apply(this,arguments)}}(),_t=function(e){for(var t=1;t0,mt={customClasses:["gravitysmtp-tools-app__debug-log-table"],id:"gravitysmtp-tools-app__debug-log-table",columns:Me,columnStyleProps:Ue,data:it,dataPerPage:ft?Ve:7,EmptyImage:v.A,handleGridClicks:function(e){if("view"===e.action){var t,n,r,a,o=(null==e||null===(t=e.data)||void 0===t?void 0:t.id)||0,i=it.filter((function(e){var t;return(null==e||null===(t=e.id)||void 0===t||null===(t=t.props)||void 0===t?void 0:t.content)===o}))[0];if(!i)return;lt({date:(null==i||null===(n=i.date)||void 0===n||null===(n=n.props)||void 0===n?void 0:n.content)||"",event:(null==i||null===(r=i.status)||void 0===r?void 0:r.props)||{},log:(null==i||null===(a=i.log)||void 0===a||null===(a=a.props)||void 0===a?void 0:a.label)||""}),st(!0)}},i18n:{emptyMessageI18n:se,emptyTitleI18n:ue,gridHeadingI18n:re},maintainHeight:!ft,modules:[f.dK,f.vj],moduleAttributes:{pagination:{nextLabel:be,nextAriaLabel:he,onClick:bt,page:parseInt(ot.get(T)||"1",10)-1,pageCount:Math.ceil(tt/Ve),previousLabel:fe,previousAriaLabel:we},search:{button:{customAttributes:{"data-test-id":"debug-log-search-trigger"},label:de},input:{customAttributes:{"data-test-id":"debug-log-search-input"},clearableButtonAttributes:{ariaLabel:oe,icon:"x-circle",iconPrefix:"gravitysmtp-admin-icon"},placeholder:pe,value:ot.get(L)||""},noResults:{Image:b.A},i18n:{searchNoResultsTitleI18n:Ae,searchNoResultsMessageI18n:Re},onSearch:bt}},titleAttributes:{tagName:"h2"},useAjax:!0};return We.gravitysmtp_view_debug_log&&s.React.createElement("div",(0,r.A)({},_t,{ref:t}),s.React.createElement(p.A,{size:"display-sm",weight:"semibold",spacing:6,content:$}),s.React.createElement(_.A,mt))}));N.propTypes={customAttributes:s.PropTypes.object,customClasses:s.PropTypes.oneOfType([s.PropTypes.string,s.PropTypes.array,s.PropTypes.object]),data:s.PropTypes.object,i18n:s.PropTypes.object},N.displayName="DebugLogScreen",t.default=N},52014:function(e,t,n){n.r(t);var r,a,o=n(40450),i=n.n(o),u=n(13296),l=(null===(r=(0,n(71376).zj)(i(),"gravitysmtp_admin_config"))||void 0===r||null===(r=r.components)||void 0===r?void 0:r.tools)||{},s={debugLogDataGridRows:(null==l||null===(a=l.data)||void 0===a||null===(a=a.debug_log)||void 0===a||null===(a=a.data_grid)||void 0===a?void 0:a.data)||[],debugDetailsDialogData:{},debugDetailsDialogOpen:!1},c=(0,u.vt)(s,(function(e){return{setDebugLogDataGridRows:function(t){return e((function(){return{debugLogDataGridRows:t}}))},setDebugDetailsDialogData:function(t){return e((function(){return{debugDetailsDialogData:t}}))},setDebugDetailsDialogOpen:function(t){return e((function(){return{debugDetailsDialogOpen:t}}))}}}));t.default=c},83707:function(e,t,n){n.d(t,{A:function(){return p}});var r,a=n(90455),o=n(78564),i=n.n(o),u=n(27122),l=n.n(u),s=n(40450),c=n.n(s),d=n(60177),g=(null===(r=(0,n(71376).zj)(c(),"gravitysmtp_admin_config"))||void 0===r?void 0:r.common)||{};function p(){return v.apply(this,arguments)}function v(){return v=(0,a.A)(i().mark((function e(){var t,n,r,a,o,u,s,c,p,v,b=arguments;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=b.length>0&&void 0!==b[0]?b[0]:"",a=b.length>1&&void 0!==b[1]?b[1]:"debug",o=g.data,u=void 0===o?{}:o,s=g.endpoints,p=(null==(c=void 0===s?{}:s)||null===(t=c.log_debug_item)||void 0===t?void 0:t.action)||"",v=(null==c||null===(n=c.log_debug_item)||void 0===n?void 0:n.nonce)||"",null!=u&&u.debug_log_enabled&&p&&v&&r){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,(0,d.bE)({endpoint:l(),body:{action:p,security:v,message:r,priority:a}}).catch((function(e){}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}},93313:function(e,t,n){var r=n(52888),a=n(8140);t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*";return function n(o){return Object.entries(o).reduce((function(o,i){var u=(0,a.A)(i,2),l=u[0],s=u[1];return"object"===(0,r.A)(s)&&null!==s?o[l]=n(s):e.includes(l)?o[l]=null===s?null:t.repeat(s.length):o[l]=s,o}),Array.isArray(o)?[]:{})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.tools-screens-debug-log.670fb287749c03aa67bf.min.js b/assets/js/dist/scripts-admin.tools-screens-debug-log.670fb287749c03aa67bf.min.js new file mode 100644 index 0000000..876d926 --- /dev/null +++ b/assets/js/dist/scripts-admin.tools-screens-debug-log.670fb287749c03aa67bf.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[2668,5491],{43645:function(e,t,r){r.r(t);var n=r(71860),a=r(90455),o=r(88856),i=r(8140),u=r(78564),c=r.n(u),s=r(97867),l=r(60177),d=r(71376),g=r(84860),p=r(5529),v=r(96343),b=r(76910),f=r(83391),m=r(12084),h=r(43054),_=r(83707),y=r(93313),O=r(79929),P=r(52014);function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var j=s.React.forwardRef,w=s.React.useEffect,D=s.React.useRef,R=s.React.useState,S=s.ReactRouter.useLocation,T=s.ReactRouter.useNavigate,x=s.ReactRouter.useSearchParams,k="log_page",L="search_term",C=new URLSearchParams(window.location.search),E=C.get(k)||"1",I=C.get(L)||"",N=j((function(e,t){var r=e.customAttributes,u=void 0===r?{}:r,j=e.customClasses,C=void 0===j?[]:j,N=e.common,z=void 0===N?{}:N,M=e.data,H=void 0===M?{}:M,J=e.i18n,U=void 0===J?{}:J,q=z.endpoints,B=(void 0===q?{}:q).debug_log_page,G=B.action,F=void 0===G?"":G,K=B.nonce,Q=void 0===K?"":K,V=U||{},W=V.debug_log,X=void 0===W?{}:W,Y=X.top_heading,Z=void 0===Y?"":Y,$=X.data_grid,ee=void 0===$?{}:$,te=ee.top_heading,re=void 0===te?"":te,ne=ee.clear_search_aria_label,ae=void 0===ne?"":ne,oe=ee.empty_title,ie=void 0===oe?"":oe,ue=ee.empty_message,ce=void 0===ue?"":ue,se=ee.grid_controls_search_button_label,le=void 0===se?"":se,de=ee.grid_controls_search_placeholder,ge=void 0===de?"":de,pe=ee.pagination_next,ve=void 0===pe?"":pe,be=ee.pagination_prev,fe=void 0===be?"":be,me=ee.pagination_next_aria_label,he=void 0===me?"":me,_e=ee.pagination_prev_aria_label,ye=void 0===_e?"":_e,Oe=ee.search_no_results_title,Pe=void 0===Oe?"":Oe,Ae=ee.search_no_results_message,je=void 0===Ae?"":Ae,we=X.snackbar_debug_log_error,De=void 0===we?"":we,Re=V.debug_messages,Se=void 0===Re?{}:Re,Te=Se.fetching_debug_log_page,xe=void 0===Te?"":Te,ke=Se.fetching_debug_log_page_error,Le=void 0===ke?"":ke,Ce=(null==H?void 0:H.debug_log)||{},Ee=Ce.ajax_grid_pagination_url,Ie=void 0===Ee?"":Ee,Ne=Ce.data_grid,ze=void 0===Ne?{}:Ne,Me=ze.columns,He=void 0===Me?[]:Me,Je=ze.column_style_props,Ue=void 0===Je?{}:Je,qe=ze.data,Be=void 0===qe?[]:qe,Ge=Ce.initial_load_timestamp,Fe=void 0===Ge?"":Ge,Ke=Ce.initial_row_count,Qe=void 0===Ke?0:Ke,Ve=Ce.rows_per_page,We=void 0===Ve?7:Ve,Xe=(null==H?void 0:H.caps)||{},Ye=S(),Ze=T(),$e=(0,g.dh)(),et=x(),tt=(0,i.A)(et,2),rt=tt[0],nt=(tt[1],R(Be.length>0?We:7)),at=(0,i.A)(nt,2),ot=at[0],it=at[1],ut=R(Qe),ct=(0,i.A)(ut,2),st=ct[0],lt=ct[1],dt=(0,P.default)((function(e){return e.setDebugDetailsDialogData})),gt=(0,P.default)((function(e){return e.setDebugDetailsDialogOpen})),pt=D(),vt=D(!1),bt=(0,O.h)({page:E,searchTerm:I}),ft=(0,O.A)((0,o.A)({},bt,{rows:Be,totalRowCount:Qe})),mt=ft.pageCache,ht=ft.addPageCache;w((function(){if(pt.current)if(vt.current)vt.current=!1;else{var e=rt.get(k)||"1",t=parseInt(e,10)-1,r=rt.get(L)||"";Ot({currentPage:t,searchTerm:r},!0),Dt({currentPage:t,searchTerm:r,searchActive:""!==r})}else pt.current=!0}),[rt]);var _t=function(e){var t=e.page,r=e.searchTerm,n=void 0===r?"":r,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=new URLSearchParams(Ye.search);o.set(k,t),n?o.set(L,n):o.delete(L),Ze("?".concat(o.toString()),{replace:a})},yt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.rows,r=void 0===t?[]:t,n=e.totalRowCount,a=void 0===n?0:n,o=r.length>0;it(o?We:7),kt(r),lt(parseInt(a,10))},Ot=function(){var e=(0,a.A)(c().mark((function e(t){var r,n,a,o,i,u,s,g,p,v,b,f=arguments;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((r=f.length>1&&void 0!==f[1]&&f[1])||(vt.current=!0),n={page:t.currentPage+1,searchTerm:t.searchTerm},a=(0,O.h)(n),!mt[a]){e.next=8;break}return yt(mt[a]),_t(n,r),e.abrupt("return",t.currentPage);case 8:return o={action:F,security:Q,max_date:Fe,requested_page:t.currentPage+1,search_term:t.searchTerm||""},e.next=11,(0,_.A)((0,d.nv)(xe,JSON.stringify((0,y.A)(["security"],o))),"info");case 11:return e.prev=11,e.next=14,(0,l.bE)({endpoint:Ie,body:o});case 14:if(g=e.sent,p=(null==g||null===(i=g.data)||void 0===i||null===(i=i.data)||void 0===i?void 0:i.rows)||[],v=(null==g||null===(u=g.data)||void 0===u||null===(u=u.data)||void 0===u?void 0:u.total)||"0",null==g||null===(s=g.data)||void 0===s||!s.success){e.next=23;break}return ht(a,b={rows:p,totalRowCount:v}),yt(b),_t(n,r),e.abrupt("return",t.currentPage);case 23:$e(De,"error"),e.next=31;break;case 26:return e.prev=26,e.t0=e.catch(11),$e(e.t0.message,"error"),e.next=31,(0,_.A)((0,d.nv)(Le,JSON.stringify(e.t0)),"error");case 31:case"end":return e.stop()}}),e,null,[[11,26]])})));return function(t){return e.apply(this,arguments)}}(),Pt=function(e){for(var t=1;t0&&void 0!==b[0]?b[0]:"",a=b.length>1&&void 0!==b[1]?b[1]:"debug",o=g.data,u=void 0===o?{}:o,s=g.endpoints,p=(null==(l=void 0===s?{}:s)||null===(t=l.log_debug_item)||void 0===t?void 0:t.action)||"",v=(null==l||null===(r=l.log_debug_item)||void 0===r?void 0:r.nonce)||"",null!=u&&u.debug_log_enabled&&p&&v&&n){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,(0,d.bE)({endpoint:c(),body:{action:p,security:v,message:n,priority:a}}).catch((function(e){}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}},93313:function(e,t,r){var n=r(52888),a=r(8140);t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*",r=function(o){return Object.entries(o).reduce((function(o,i){var u=(0,a.A)(i,2),c=u[0],s=u[1];return"object"===(0,n.A)(s)&&null!==s?o[c]=r(s):e.includes(c)?o[c]=null===s?null:t.repeat(s.length):o[c]=s,o}),Array.isArray(o)?[]:{})};return r(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},79929:function(e,t,r){r.d(t,{h:function(){return s}});var n=r(88856),a=r(8140),o=r(97867);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.page,r=void 0===t?1:t,n=e.searchTerm,a=void 0===n?"":n,o=e.filters,i=void 0===o?"":o,u="page-".concat(r);return a&&(u+="-".concat(a)),i&&(u+="-".concat(i)),u};t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=c((function(){return e})),r=(0,a.A)(t,2),o=r[0],i=r[1];return{pageCache:o,addPageCache:function(e,t){i((function(r){return u(u({},r),{},(0,n.A)({},e,t))}))}}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.tools-screens-send-a-test.62d3d4fea24946a79c93.min.js b/assets/js/dist/scripts-admin.tools-screens-send-a-test.62d3d4fea24946a79c93.min.js new file mode 100644 index 0000000..9eeb0b9 --- /dev/null +++ b/assets/js/dist/scripts-admin.tools-screens-send-a-test.62d3d4fea24946a79c93.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[4806],{91614:function(e,t,n){n.r(t);var a=n(71860),i=n(90455),s=n(8140),r=n(88856),o=n(78564),l=n.n(o),c=n(27122),u=n.n(c),d=n(97867),m=n(60177),_=n(71376),p=n(82263),g=n(30242),b=n(80509),f=n(5529),v=n(25787),h=n(53377),y=n(13379),A=n(84860),R=n(66598),x=n(16265),E=n(83707),w=n(93313),k=n(27764);function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function O(e){for(var t=1;t0&&He.issues[0]&&d.React.createElement(d.React.Fragment,null,d.React.createElement(f.A,{size:"text-sm",tagName:"h5",weight:"medium",spacing:5,content:le}),d.React.createElement(R.A,{size:"text-sm",spacing:5},d.React.createElement("ul",{className:"gform-list--bulleted"},He.issues.map((function(e,t){return d.React.createElement("li",{key:"issues-".concat(t)},e)}))))),(null==He?void 0:He.possible_reasons)&&He.possible_reasons.length>0&&d.React.createElement(d.React.Fragment,null,d.React.createElement(f.A,{size:"text-sm",tagName:"h5",weight:"medium",spacing:5,content:ce}),d.React.createElement(R.A,{size:"text-sm",spacing:5},d.React.createElement("ul",{className:"gform-list--bulleted"},He.possible_reasons.map((function(e,t){return d.React.createElement("li",{key:"possible-reasons-".concat(t)},e)}))))),(null==He?void 0:He.recommended_steps)&&He.recommended_steps.length>0&&d.React.createElement(d.React.Fragment,null,d.React.createElement(f.A,{size:"text-sm",tagName:"h5",weight:"medium",spacing:3,content:ue}),d.React.createElement(R.A,{size:"text-sm",spacing:5},d.React.createElement("ul",{className:"gform-list--bulleted"},He.recommended_steps.map((function(e,t){return d.React.createElement("li",{key:"recommended-steps-".concat(t)},e)}))))),d.React.createElement(g.A,{display:"flex",spacing:2},d.React.createElement(b.A,{label:de,onClick:function(){window.location.href="//".concat(window.location.host).concat(window.location.pathname,"?page=gravitysmtp-activity-log&tab=log-details&event_id=").concat(He.full_log.log_id)},size:"size-height-m",spacing:[0,3,0,0],type:"white",ref:lt}),d.React.createElement(b.A,{icon:"copy",iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",label:me,onClick:function(){(0,_.Ns)(He.log_copy),bt(_e),pt(!0)},ref:ut,size:"size-height-m",type:"white"}))):d.React.createElement(d.React.Fragment,null,d.React.createElement(v.A,{labelAttributes:{label:$},helpTextAttributes:{content:te},placeholder:ee,onChange:function(e){return qe(e)},type:"email",disabled:we,customAttributes:{"data-test-id":"send-a-test-email-input",ref:ot},spacing:6}),xe&&d.React.createElement(h.A,{customAttributes:{"data-test-id":"send-a-test-integration"},initialValue:Qe,labelAttributes:{label:ne},helpTextAttributes:{content:ae},name:"integration",onChange:function(e){return Ue(e)},options:Re,disabled:we,spacing:6}),d.React.createElement(x.A,{customAttributes:{"data-test-id":"send-a-test-html"},initialChecked:Ze,labelAttributes:O({label:ie},(0,k.A)("send-a-test-html")),helpTextAttributes:{content:se,size:"text-sm"},helpTextWidth:"full",labelPosition:"left",id:"send-a-test-html",name:"send-a-test-html",onChange:function(e){return $e(e)},size:"size-m",width:"full",disabled:we})))))}));F.propTypes={customAttributes:d.PropTypes.object,customClasses:d.PropTypes.oneOfType([d.PropTypes.string,d.PropTypes.array,d.PropTypes.object])},F.displayName="SendATestScreen",t.default=F},83707:function(e,t,n){n.d(t,{A:function(){return _}});var a,i=n(90455),s=n(78564),r=n.n(s),o=n(27122),l=n.n(o),c=n(40450),u=n.n(c),d=n(60177),m=(null===(a=(0,n(71376).zj)(u(),"gravitysmtp_admin_config"))||void 0===a?void 0:a.common)||{};function _(){return p.apply(this,arguments)}function p(){return p=(0,i.A)(r().mark((function e(){var t,n,a,i,s,o,c,u,_,p,g=arguments;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=g.length>0&&void 0!==g[0]?g[0]:"",i=g.length>1&&void 0!==g[1]?g[1]:"debug",s=m.data,o=void 0===s?{}:s,c=m.endpoints,_=(null==(u=void 0===c?{}:c)||null===(t=u.log_debug_item)||void 0===t?void 0:t.action)||"",p=(null==u||null===(n=u.log_debug_item)||void 0===n?void 0:n.nonce)||"",null!=o&&o.debug_log_enabled&&_&&p&&a){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,(0,d.bE)({endpoint:l(),body:{action:_,security:p,message:a,priority:i}}).catch((function(e){}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}},93313:function(e,t,n){var a=n(52888),i=n(8140);t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*",n=function(s){return Object.entries(s).reduce((function(s,r){var o=(0,i.A)(r,2),l=o[0],c=o[1];return"object"===(0,a.A)(c)&&null!==c?s[l]=n(c):e.includes(l)?s[l]=null===c?null:t.repeat(c.length):s[l]=c,s}),Array.isArray(s)?[]:{})};return n(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},27764:function(e,t,n){var a,i=n(40450),s=n.n(i),r=(null===(a=(0,n(71376).zj)(s(),"gravitysmtp_admin_config"))||void 0===a?void 0:a.common)||{};t.A=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{iconPrefix:"gravitysmtp-admin-icon",locked:(null==r||null===(e=r.data)||void 0===e||null===(e=e.locked_settings)||void 0===e?void 0:e.includes(n))||a,lockedMessage:i||(null==r||null===(t=r.i18n)||void 0===t?void 0:t.setting_locked)||""}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.tools-screens-send-a-test.81f8f9a5ae2edce0a4d1.min.js b/assets/js/dist/scripts-admin.tools-screens-send-a-test.81f8f9a5ae2edce0a4d1.min.js deleted file mode 100644 index 9be924d..0000000 --- a/assets/js/dist/scripts-admin.tools-screens-send-a-test.81f8f9a5ae2edce0a4d1.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[4806],{91614:function(e,t,n){n.r(t);var a=n(71860),i=n(90455),s=n(8140),r=n(88856),o=n(78564),l=n.n(o),c=n(27122),u=n.n(c),d=n(97867),m=n(60177),_=n(71376),p=n(82263),g=n(30242),b=n(80509),f=n(5529),v=n(25787),h=n(53377),y=n(13379),A=n(84860),R=n(66598),x=n(16265),E=n(83707),w=n(93313),k=n(27764);function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function O(e){for(var t=1;t0&&He.issues[0]&&d.React.createElement(d.React.Fragment,null,d.React.createElement(f.A,{size:"text-sm",tagName:"h5",weight:"medium",spacing:5,content:le}),d.React.createElement(R.A,{size:"text-sm",spacing:5},d.React.createElement("ul",{className:"gform-list--bulleted"},He.issues.map((function(e,t){return d.React.createElement("li",{key:"issues-".concat(t)},e)}))))),(null==He?void 0:He.possible_reasons)&&He.possible_reasons.length>0&&d.React.createElement(d.React.Fragment,null,d.React.createElement(f.A,{size:"text-sm",tagName:"h5",weight:"medium",spacing:5,content:ce}),d.React.createElement(R.A,{size:"text-sm",spacing:5},d.React.createElement("ul",{className:"gform-list--bulleted"},He.possible_reasons.map((function(e,t){return d.React.createElement("li",{key:"possible-reasons-".concat(t)},e)}))))),(null==He?void 0:He.recommended_steps)&&He.recommended_steps.length>0&&d.React.createElement(d.React.Fragment,null,d.React.createElement(f.A,{size:"text-sm",tagName:"h5",weight:"medium",spacing:3,content:ue}),d.React.createElement(R.A,{size:"text-sm",spacing:5},d.React.createElement("ul",{className:"gform-list--bulleted"},He.recommended_steps.map((function(e,t){return d.React.createElement("li",{key:"recommended-steps-".concat(t)},e)}))))),d.React.createElement(g.A,{display:"flex",spacing:2},d.React.createElement(b.A,{label:de,onClick:function(){window.location.href="//".concat(window.location.host).concat(window.location.pathname,"?page=gravitysmtp-activity-log&tab=log-details&event_id=").concat(He.full_log.log_id)},size:"size-height-m",spacing:[0,3,0,0],type:"white",ref:lt}),d.React.createElement(b.A,{icon:"copy",iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",label:me,onClick:function(){(0,_.Ns)(He.log_copy),bt(_e),pt(!0)},ref:ut,size:"size-height-m",type:"white"}))):d.React.createElement(d.React.Fragment,null,d.React.createElement(v.A,{labelAttributes:{label:$},helpTextAttributes:{content:te},placeholder:ee,onChange:function(e){return qe(e)},type:"email",disabled:we,customAttributes:{"data-test-id":"send-a-test-email-input",ref:ot},spacing:6}),xe&&d.React.createElement(h.A,{customAttributes:{"data-test-id":"send-a-test-integration"},initialValue:Qe,labelAttributes:{label:ne},helpTextAttributes:{content:ae},name:"integration",onChange:function(e){return Ue(e)},options:Re,disabled:we,spacing:6}),d.React.createElement(x.A,{customAttributes:{"data-test-id":"send-a-test-html"},initialChecked:Ze,labelAttributes:O({label:ie},(0,k.A)("send-a-test-html")),helpTextAttributes:{content:se,size:"text-sm"},helpTextWidth:"full",labelPosition:"left",id:"send-a-test-html",name:"send-a-test-html",onChange:function(e){return $e(e)},size:"size-m",width:"full",disabled:we})))))}));F.propTypes={customAttributes:d.PropTypes.object,customClasses:d.PropTypes.oneOfType([d.PropTypes.string,d.PropTypes.array,d.PropTypes.object])},F.displayName="SendATestScreen",t.default=F},83707:function(e,t,n){n.d(t,{A:function(){return _}});var a,i=n(90455),s=n(78564),r=n.n(s),o=n(27122),l=n.n(o),c=n(40450),u=n.n(c),d=n(60177),m=(null===(a=(0,n(71376).zj)(u(),"gravitysmtp_admin_config"))||void 0===a?void 0:a.common)||{};function _(){return p.apply(this,arguments)}function p(){return p=(0,i.A)(r().mark((function e(){var t,n,a,i,s,o,c,u,_,p,g=arguments;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=g.length>0&&void 0!==g[0]?g[0]:"",i=g.length>1&&void 0!==g[1]?g[1]:"debug",s=m.data,o=void 0===s?{}:s,c=m.endpoints,_=(null==(u=void 0===c?{}:c)||null===(t=u.log_debug_item)||void 0===t?void 0:t.action)||"",p=(null==u||null===(n=u.log_debug_item)||void 0===n?void 0:n.nonce)||"",null!=o&&o.debug_log_enabled&&_&&p&&a){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,(0,d.bE)({endpoint:l(),body:{action:_,security:p,message:a,priority:i}}).catch((function(e){}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}},93313:function(e,t,n){var a=n(52888),i=n(8140);t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*";return function n(s){return Object.entries(s).reduce((function(s,r){var o=(0,i.A)(r,2),l=o[0],c=o[1];return"object"===(0,a.A)(c)&&null!==c?s[l]=n(c):e.includes(l)?s[l]=null===c?null:t.repeat(c.length):s[l]=c,s}),Array.isArray(s)?[]:{})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},27764:function(e,t,n){var a,i=n(40450),s=n.n(i),r=(null===(a=(0,n(71376).zj)(s(),"gravitysmtp_admin_config"))||void 0===a?void 0:a.common)||{};t.A=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{iconPrefix:"gravitysmtp-admin-icon",locked:(null==r||null===(e=r.data)||void 0===e||null===(e=e.locked_settings)||void 0===e?void 0:e.includes(n))||a,lockedMessage:i||(null==r||null===(t=r.i18n)||void 0===t?void 0:t.setting_locked)||""}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.tools-screens-system-report.408483ff5d2f55bf4f9d.min.js b/assets/js/dist/scripts-admin.tools-screens-system-report.a5e00b7114a468494aae.min.js similarity index 100% rename from assets/js/dist/scripts-admin.tools-screens-system-report.408483ff5d2f55bf4f9d.min.js rename to assets/js/dist/scripts-admin.tools-screens-system-report.a5e00b7114a468494aae.min.js diff --git a/assets/js/dist/scripts-admin.tools-store.2abf9b376012330602e5.min.js b/assets/js/dist/scripts-admin.tools-store.2abf9b376012330602e5.min.js new file mode 100644 index 0000000..1dc408e --- /dev/null +++ b/assets/js/dist/scripts-admin.tools-store.2abf9b376012330602e5.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[2668],{52014:function(t,e,n){n.r(e);var a,i=n(40450),u=n.n(i),l=n(8173),o=(null===(a=(0,n(71376).zj)(u(),"gravitysmtp_admin_config"))||void 0===a||null===(a=a.components)||void 0===a||a.tools,(0,l.vt)({debugDetailsDialogData:{},debugDetailsDialogOpen:!1},(function(t){return{setDebugDetailsDialogData:function(e){return t((function(){return{debugDetailsDialogData:e}}))},setDebugDetailsDialogOpen:function(e){return t((function(){return{debugDetailsDialogOpen:e}}))}}})));e.default=o}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.tools-store.aae858a011c1c7141550.min.js b/assets/js/dist/scripts-admin.tools-store.aae858a011c1c7141550.min.js deleted file mode 100644 index 063807f..0000000 --- a/assets/js/dist/scripts-admin.tools-store.aae858a011c1c7141550.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[2668],{52014:function(t,n,a){a.r(n);var i,e,u=a(40450),o=a.n(u),l=a(13296),g=(null===(i=(0,a(71376).zj)(o(),"gravitysmtp_admin_config"))||void 0===i||null===(i=i.components)||void 0===i?void 0:i.tools)||{},r={debugLogDataGridRows:(null==g||null===(e=g.data)||void 0===e||null===(e=e.debug_log)||void 0===e||null===(e=e.data_grid)||void 0===e?void 0:e.data)||[],debugDetailsDialogData:{},debugDetailsDialogOpen:!1},d=(0,l.vt)(r,(function(t){return{setDebugLogDataGridRows:function(n){return t((function(){return{debugLogDataGridRows:n}}))},setDebugDetailsDialogData:function(n){return t((function(){return{debugDetailsDialogData:n}}))},setDebugDetailsDialogOpen:function(n){return t((function(){return{debugDetailsDialogOpen:n}}))}}}));n.default=d}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.tools-tools.cefd79af6a98ead6e86c.min.js b/assets/js/dist/scripts-admin.tools-tools.cefd79af6a98ead6e86c.min.js deleted file mode 100644 index 184d793..0000000 --- a/assets/js/dist/scripts-admin.tools-tools.cefd79af6a98ead6e86c.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[358,3387,7157,3528,5491,4806,3201,2668],{28715:function(e,t,n){n.r(t);var a=n(71860),r=n(88856),o=n(97867),s=n(30242),i=n(5529),c=n(43632),l=n(66598),u=n(48959),d=n(13379),p=n(52014);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var g=(0,o.React.forwardRef)((function(e,t){var n=e.customAttributes,g=void 0===n?{}:n,v=e.customClasses,b=void 0===v?[]:v,_=e.i18n,f=void 0===_?{}:_,y=(null==f?void 0:f.debug_log)||{},h=y.details_dialog_heading,R=void 0===h?"":h,O=y.details_dialog_event,A=void 0===O?"":O,P=y.details_dialog_date,w=void 0===P?"":P,j=y.details_dialog_log,E=void 0===j?"":j,x=(0,p.default)((function(e){return e.debugDetailsDialogOpen})),T=(0,p.default)((function(e){return e.debugDetailsDialogData})),D=(0,p.default)((function(e){return e.setDebugDetailsDialogOpen})),k=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.page,n=void 0===t?1:t,a=e.searchTerm,r=void 0===a?"":a,o="page-".concat(n);return r&&(o+="-".concat(r)),o},L=O((function(e,t){var n,i=e.customAttributes,O=void 0===i?{}:i,C=e.customClasses,L=void 0===C?[]:C,I=e.common,F=void 0===I?{}:I,G=e.data,H=void 0===G?{}:G,B=e.i18n,J=void 0===B?{}:B,M=F.endpoints,U=(void 0===M?{}:M).debug_log_page,W=U.action,q=void 0===W?"":W,K=U.nonce,V=void 0===K?"":K,Q=J||{},X=Q.debug_log,Y=void 0===X?{}:X,Z=Y.top_heading,$=void 0===Z?"":Z,ee=Y.data_grid,te=void 0===ee?{}:ee,ne=te.top_heading,ae=void 0===ne?"":ne,re=te.clear_search_aria_label,oe=void 0===re?"":re,se=te.empty_title,ie=void 0===se?"":se,ce=te.empty_message,le=void 0===ce?"":ce,ue=te.grid_controls_search_button_label,de=void 0===ue?"":ue,pe=te.grid_controls_search_placeholder,me=void 0===pe?"":pe,ge=te.pagination_next,ve=void 0===ge?"":ge,be=te.pagination_prev,_e=void 0===be?"":be,fe=te.pagination_next_aria_label,ye=void 0===fe?"":fe,he=te.pagination_prev_aria_label,Re=void 0===he?"":he,Oe=te.search_no_results_title,Ae=void 0===Oe?"":Oe,Pe=te.search_no_results_message,we=void 0===Pe?"":Pe,je=Y.snackbar_debug_log_error,Ee=void 0===je?"":je,xe=Q.debug_messages,Te=void 0===xe?{}:xe,De=Te.fetching_debug_log_page,ke=void 0===De?"":De,Ce=Te.fetching_debug_log_page_error,Se=void 0===Ce?"":Ce,Ne=(null==H?void 0:H.debug_log)||{},ze=Ne.ajax_grid_pagination_url,Le=void 0===ze?"":ze,Ie=Ne.data_grid,Fe=void 0===Ie?{}:Ie,Ge=Fe.columns,He=void 0===Ge?[]:Ge,Be=Fe.column_style_props,Je=void 0===Be?{}:Be,Me=Ne.initial_load_timestamp,Ue=void 0===Me?"":Me,We=Ne.initial_row_count,qe=void 0===We?0:We,Ke=Ne.rows_per_page,Ve=void 0===Ke?7:Ke,Qe=(null==H?void 0:H.caps)||{},Xe=j(),Ye=E(),Ze=(0,p.dh)(),$e=w(qe),et=(0,s.A)($e,2),tt=et[0],nt=et[1],at=x(),rt=(0,s.A)(at,2),ot=rt[0],st=(rt[1],(0,h.default)((function(e){return e.debugLogDataGridRows}))),it=(0,h.default)((function(e){return e.setDebugLogDataGridRows})),ct=(0,h.default)((function(e){return e.setDebugDetailsDialogData})),lt=(0,h.default)((function(e){return e.setDebugDetailsDialogOpen})),ut=P(),dt=P("");A((function(){if(ut.current){var e=ot.get(T)||"1",t=ot.get(D)||"";vt({currentPage:parseInt(e,10)-1,searchTerm:t},!0)}else ut.current=!0}),[ot]),A((function(){return window.addEventListener("popstate",mt),function(){window.removeEventListener("popstate",mt)}}),[]);var pt=z({page:S,searchTerm:N});k[pt]={},k[pt].rows=(null==H||null===(n=H.debug_log)||void 0===n||null===(n=n.data_grid)||void 0===n?void 0:n.data)||[],k[pt].newRowCount=qe;var mt=function(){dt.current=""},gt=function(e){var t=e.page,n=e.searchTerm,a=void 0===n?"":n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=new URLSearchParams(Xe.search);o.set(T,t),a?o.set(D,a):o.delete(D),Ye("?".concat(o.toString()),{replace:r})},vt=function(){var e=(0,o.A)(c().mark((function e(t){var n,a,r,o,s,i,l,p,m,g,v=arguments;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=v.length>1&&void 0!==v[1]&&v[1],a=z({page:t.currentPage+1}),t.searchTerm||!k[a]){e.next=8;break}return it(k[a].rows),nt(parseInt(k[a].newRowCount,10)),gt({page:t.currentPage+1},n),dt.current="",e.abrupt("return",t.currentPage);case 8:if(r={action:q,security:V,max_date:Ue,requested_page:t.currentPage+1,search_term:t.searchTerm||""},(o=JSON.stringify(r))!==dt.current){e.next=12;break}return e.abrupt("return");case 12:return e.next=14,(0,f.A)((0,d.nv)(ke,JSON.stringify((0,y.A)(["security"],r))),"info");case 14:return e.prev=14,e.next=17,(0,u.bE)({endpoint:Le,body:r});case 17:if(p=e.sent,m=(null==p||null===(s=p.data)||void 0===s||null===(s=s.data)||void 0===s?void 0:s.rows)||[],g=(null==p||null===(i=p.data)||void 0===i||null===(i=i.data)||void 0===i?void 0:i.total)||"0",null==p||null===(l=p.data)||void 0===l||!l.success){e.next=27;break}return t.searchTerm||(k[a]={rows:m,newRowCount:g}),it(m),nt(parseInt(g,10)),gt({page:t.currentPage+1,searchTerm:t.searchTerm||""},n),dt.current=o,e.abrupt("return",t.currentPage);case 27:Ze(Ee,"error"),e.next=35;break;case 30:return e.prev=30,e.t0=e.catch(14),Ze(e.t0,"error"),e.next=35,(0,f.A)((0,d.nv)(Se,JSON.stringify(e.t0)),"error");case 35:case"end":return e.stop()}}),e,null,[[14,30]])})));return function(t){return e.apply(this,arguments)}}(),bt=function(e){for(var t=1;t0,ft={customClasses:["gravitysmtp-tools-app__debug-log-table"],id:"gravitysmtp-tools-app__debug-log-table",columns:He,columnStyleProps:Je,data:st,dataPerPage:_t?Ve:7,EmptyImage:g.A,handleGridClicks:function(e){if("view"===e.action){var t,n,a,r,o=(null==e||null===(t=e.data)||void 0===t?void 0:t.id)||0,s=st.filter((function(e){var t;return(null==e||null===(t=e.id)||void 0===t||null===(t=t.props)||void 0===t?void 0:t.content)===o}))[0];if(!s)return;ct({date:(null==s||null===(n=s.date)||void 0===n||null===(n=n.props)||void 0===n?void 0:n.content)||"",event:(null==s||null===(a=s.status)||void 0===a?void 0:a.props)||{},log:(null==s||null===(r=s.log)||void 0===r||null===(r=r.props)||void 0===r?void 0:r.label)||""}),lt(!0)}},i18n:{emptyMessageI18n:le,emptyTitleI18n:ie,gridHeadingI18n:ae},maintainHeight:!_t,modules:[_.dK,_.vj],moduleAttributes:{pagination:{nextLabel:ve,nextAriaLabel:ye,onClick:vt,page:parseInt(ot.get(T)||"1",10)-1,pageCount:Math.ceil(tt/Ve),previousLabel:_e,previousAriaLabel:Re},search:{button:{customAttributes:{"data-test-id":"debug-log-search-trigger"},label:de},input:{customAttributes:{"data-test-id":"debug-log-search-input"},clearableButtonAttributes:{ariaLabel:oe,icon:"x-circle",iconPrefix:"gravitysmtp-admin-icon"},placeholder:me,value:ot.get(D)||""},noResults:{Image:v.A},i18n:{searchNoResultsTitleI18n:Ae,searchNoResultsMessageI18n:we},onSearch:vt}},titleAttributes:{tagName:"h2"},useAjax:!0};return Qe.gravitysmtp_view_debug_log&&l.React.createElement("div",(0,a.A)({},bt,{ref:t}),l.React.createElement(m.A,{size:"display-sm",weight:"semibold",spacing:6,content:$}),l.React.createElement(b.A,ft))}));L.propTypes={customAttributes:l.PropTypes.object,customClasses:l.PropTypes.oneOfType([l.PropTypes.string,l.PropTypes.array,l.PropTypes.object]),data:l.PropTypes.object,i18n:l.PropTypes.object},L.displayName="DebugLogScreen",t.default=L},91614:function(e,t,n){n.r(t);var a=n(71860),r=n(90455),o=n(8140),s=n(88856),i=n(78564),c=n.n(i),l=n(27122),u=n.n(l),d=n(97867),p=n(60177),m=n(71376),g=n(82263),v=n(30242),b=n(80509),_=n(5529),f=n(25787),y=n(53377),h=n(13379),R=n(84860),O=n(66598),A=n(16265),P=n(83707),w=n(93313),j=n(27764);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function x(e){for(var t=1;t0&&He.issues[0]&&d.React.createElement(d.React.Fragment,null,d.React.createElement(_.A,{size:"text-sm",tagName:"h5",weight:"medium",spacing:5,content:ce}),d.React.createElement(O.A,{size:"text-sm",spacing:5},d.React.createElement("ul",{className:"gform-list--bulleted"},He.issues.map((function(e,t){return d.React.createElement("li",{key:"issues-".concat(t)},e)}))))),(null==He?void 0:He.possible_reasons)&&He.possible_reasons.length>0&&d.React.createElement(d.React.Fragment,null,d.React.createElement(_.A,{size:"text-sm",tagName:"h5",weight:"medium",spacing:5,content:le}),d.React.createElement(O.A,{size:"text-sm",spacing:5},d.React.createElement("ul",{className:"gform-list--bulleted"},He.possible_reasons.map((function(e,t){return d.React.createElement("li",{key:"possible-reasons-".concat(t)},e)}))))),(null==He?void 0:He.recommended_steps)&&He.recommended_steps.length>0&&d.React.createElement(d.React.Fragment,null,d.React.createElement(_.A,{size:"text-sm",tagName:"h5",weight:"medium",spacing:3,content:ue}),d.React.createElement(O.A,{size:"text-sm",spacing:5},d.React.createElement("ul",{className:"gform-list--bulleted"},He.recommended_steps.map((function(e,t){return d.React.createElement("li",{key:"recommended-steps-".concat(t)},e)}))))),d.React.createElement(v.A,{display:"flex",spacing:2},d.React.createElement(b.A,{label:de,onClick:function(){window.location.href="//".concat(window.location.host).concat(window.location.pathname,"?page=gravitysmtp-activity-log&tab=log-details&event_id=").concat(He.full_log.log_id)},size:"size-height-m",spacing:[0,3,0,0],type:"white",ref:ct}),d.React.createElement(b.A,{icon:"copy",iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",label:pe,onClick:function(){(0,m.Ns)(He.log_copy),bt(me),gt(!0)},ref:ut,size:"size-height-m",type:"white"}))):d.React.createElement(d.React.Fragment,null,d.React.createElement(f.A,{labelAttributes:{label:$},helpTextAttributes:{content:te},placeholder:ee,onChange:function(e){return We(e)},type:"email",disabled:we,customAttributes:{"data-test-id":"send-a-test-email-input",ref:it},spacing:6}),Ae&&d.React.createElement(y.A,{customAttributes:{"data-test-id":"send-a-test-integration"},initialValue:Ve,labelAttributes:{label:ne},helpTextAttributes:{content:ae},name:"integration",onChange:function(e){return Qe(e)},options:Oe,disabled:we,spacing:6}),d.React.createElement(A.A,{customAttributes:{"data-test-id":"send-a-test-html"},initialChecked:Ze,labelAttributes:x({label:re},(0,j.A)("send-a-test-html")),helpTextAttributes:{content:oe,size:"text-sm"},helpTextWidth:"full",labelPosition:"left",id:"send-a-test-html",name:"send-a-test-html",onChange:function(e){return $e(e)},size:"size-m",width:"full",disabled:we})))))}));z.propTypes={customAttributes:d.PropTypes.object,customClasses:d.PropTypes.oneOfType([d.PropTypes.string,d.PropTypes.array,d.PropTypes.object])},z.displayName="SendATestScreen",t.default=z},11823:function(e,t,n){n.r(t);var a=n(71860),r=n(88856),o=n(97867),s=n(71376),i=n(80509),c=n(77619),l=n(5529),u=n(66598),d=n(84860);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var m=(0,o.React.forwardRef)((function(e,t){var n=e.customAttributes,m=void 0===n?{}:n,g=e.customClasses,v=void 0===g?[]:g,b=e.data,_=void 0===b?{}:b,f=e.i18n,y=void 0===f?{}:f,h=(0,d.dh)(),R=function(e){for(var t=1;t0&&void 0!==v[0]?v[0]:"",r=v.length>1&&void 0!==v[1]?v[1]:"debug",o=p.data,i=void 0===o?{}:o,l=p.endpoints,m=(null==(u=void 0===l?{}:l)||null===(t=u.log_debug_item)||void 0===t?void 0:t.action)||"",g=(null==u||null===(n=u.log_debug_item)||void 0===n?void 0:n.nonce)||"",null!=i&&i.debug_log_enabled&&m&&g&&a){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,(0,d.bE)({endpoint:c(),body:{action:m,security:g,message:a,priority:r}}).catch((function(e){}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)}))),g.apply(this,arguments)}},93313:function(e,t,n){var a=n(52888),r=n(8140);t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*";return function n(o){return Object.entries(o).reduce((function(o,s){var i=(0,r.A)(s,2),c=i[0],l=i[1];return"object"===(0,a.A)(l)&&null!==l?o[c]=n(l):e.includes(c)?o[c]=null===l?null:t.repeat(l.length):o[c]=l,o}),Array.isArray(o)?[]:{})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},27764:function(e,t,n){var a,r=n(40450),o=n.n(r),s=(null===(a=(0,n(71376).zj)(o(),"gravitysmtp_admin_config"))||void 0===a?void 0:a.common)||{};t.A=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{iconPrefix:"gravitysmtp-admin-icon",locked:(null==s||null===(e=s.data)||void 0===e||null===(e=e.locked_settings)||void 0===e?void 0:e.includes(n))||a,lockedMessage:r||(null==s||null===(t=s.i18n)||void 0===t?void 0:t.setting_locked)||""}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.tools-tools.ff49a05f15d5a8068f94.min.js b/assets/js/dist/scripts-admin.tools-tools.ff49a05f15d5a8068f94.min.js new file mode 100644 index 0000000..8a70753 --- /dev/null +++ b/assets/js/dist/scripts-admin.tools-tools.ff49a05f15d5a8068f94.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[358,3201,3528,7157],{28715:function(e,t,a){a.r(t);var n=a(71860),r=a(88856),s=a(97867),o=a(30242),i=a(5529),c=a(43632),l=a(66598),p=a(48959),u=a(13379),m=a(52014);function d(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}var g=(0,s.React.forwardRef)((function(e,t){var a=e.customAttributes,g=void 0===a?{}:a,_=e.customClasses,b=void 0===_?[]:_,v=e.i18n,y=void 0===v?{}:v,f=(null==y?void 0:y.debug_log)||{},h=f.details_dialog_heading,R=void 0===h?"":h,O=f.details_dialog_event,A=void 0===O?"":O,P=f.details_dialog_date,E=void 0===P?"":P,w=f.details_dialog_log,j=void 0===w?"":w,x=(0,m.default)((function(e){return e.debugDetailsDialogOpen})),T=(0,m.default)((function(e){return e.debugDetailsDialogData})),k=(0,m.default)((function(e){return e.setDebugDetailsDialogOpen})),C=function(e){for(var t=1;t0&&Le.issues[0]&&u.React.createElement(u.React.Fragment,null,u.React.createElement(v.A,{size:"text-sm",tagName:"h5",weight:"medium",spacing:5,content:ce}),u.React.createElement(O.A,{size:"text-sm",spacing:5},u.React.createElement("ul",{className:"gform-list--bulleted"},Le.issues.map((function(e,t){return u.React.createElement("li",{key:"issues-".concat(t)},e)}))))),(null==Le?void 0:Le.possible_reasons)&&Le.possible_reasons.length>0&&u.React.createElement(u.React.Fragment,null,u.React.createElement(v.A,{size:"text-sm",tagName:"h5",weight:"medium",spacing:5,content:le}),u.React.createElement(O.A,{size:"text-sm",spacing:5},u.React.createElement("ul",{className:"gform-list--bulleted"},Le.possible_reasons.map((function(e,t){return u.React.createElement("li",{key:"possible-reasons-".concat(t)},e)}))))),(null==Le?void 0:Le.recommended_steps)&&Le.recommended_steps.length>0&&u.React.createElement(u.React.Fragment,null,u.React.createElement(v.A,{size:"text-sm",tagName:"h5",weight:"medium",spacing:3,content:pe}),u.React.createElement(O.A,{size:"text-sm",spacing:5},u.React.createElement("ul",{className:"gform-list--bulleted"},Le.recommended_steps.map((function(e,t){return u.React.createElement("li",{key:"recommended-steps-".concat(t)},e)}))))),u.React.createElement(_.A,{display:"flex",spacing:2},u.React.createElement(b.A,{label:ue,onClick:function(){window.location.href="//".concat(window.location.host).concat(window.location.pathname,"?page=gravitysmtp-activity-log&tab=log-details&event_id=").concat(Le.full_log.log_id)},size:"size-height-m",spacing:[0,3,0,0],type:"white",ref:ct}),u.React.createElement(b.A,{icon:"copy",iconPosition:"leading",iconPrefix:"gravitysmtp-admin-icon",label:me,onClick:function(){(0,d.Ns)(Le.log_copy),bt(de),gt(!0)},ref:pt,size:"size-height-m",type:"white"}))):u.React.createElement(u.React.Fragment,null,u.React.createElement(y.A,{labelAttributes:{label:$},helpTextAttributes:{content:te},placeholder:ee,onChange:function(e){return Ue(e)},type:"email",disabled:Ee,customAttributes:{"data-test-id":"send-a-test-email-input",ref:it},spacing:6}),Ae&&u.React.createElement(f.A,{customAttributes:{"data-test-id":"send-a-test-integration"},initialValue:Ke,labelAttributes:{label:ae},helpTextAttributes:{content:ne},name:"integration",onChange:function(e){return Qe(e)},options:Oe,disabled:Ee,spacing:6}),u.React.createElement(A.A,{customAttributes:{"data-test-id":"send-a-test-html"},initialChecked:Ze,labelAttributes:x({label:re},(0,w.A)("send-a-test-html")),helpTextAttributes:{content:se,size:"text-sm"},helpTextWidth:"full",labelPosition:"left",id:"send-a-test-html",name:"send-a-test-html",onChange:function(e){return $e(e)},size:"size-m",width:"full",disabled:Ee})))))}));S.propTypes={customAttributes:u.PropTypes.object,customClasses:u.PropTypes.oneOfType([u.PropTypes.string,u.PropTypes.array,u.PropTypes.object])},S.displayName="SendATestScreen",t.default=S},11823:function(e,t,a){a.r(t);var n=a(71860),r=a(88856),s=a(97867),o=a(71376),i=a(80509),c=a(77619),l=a(5529),p=a(66598),u=a(84860);function m(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}var d=(0,s.React.forwardRef)((function(e,t){var a=e.customAttributes,d=void 0===a?{}:a,g=e.customClasses,_=void 0===g?[]:g,b=e.data,v=void 0===b?{}:b,y=e.i18n,f=void 0===y?{}:y,h=(0,u.dh)(),R=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{iconPrefix:"gravitysmtp-admin-icon",locked:(null==o||null===(e=o.data)||void 0===e||null===(e=e.locked_settings)||void 0===e?void 0:e.includes(a))||n,lockedMessage:r||(null==o||null===(t=o.i18n)||void 0===t?void 0:t.setting_locked)||""}}}}]); \ No newline at end of file diff --git a/assets/js/dist/scripts-admin.tools.2dee009f6ad291aa8da4.min.js b/assets/js/dist/scripts-admin.tools.9bb8b019e9c97ec407ae.min.js similarity index 100% rename from assets/js/dist/scripts-admin.tools.2dee009f6ad291aa8da4.min.js rename to assets/js/dist/scripts-admin.tools.9bb8b019e9c97ec407ae.min.js diff --git a/assets/js/dist/vendor-admin.min.js b/assets/js/dist/vendor-admin.min.js index 9be37eb..ed81cf3 100644 --- a/assets/js/dist/vendor-admin.min.js +++ b/assets/js/dist/vendor-admin.min.js @@ -1 +1 @@ -(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[8187],{23782:function(t,e,r){"use strict";r.d(e,{tb:function(){return z}});var n,o=[],i="ResizeObserver loop completed with undelivered notifications.";!function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(n||(n={}));var a,s=function(t){return Object.freeze(t)},u=function(t,e){this.inlineSize=t,this.blockSize=e,s(this)},c=function(){function t(t,e,r,n){return this.x=t,this.y=e,this.width=r,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,s(this)}return t.prototype.toJSON=function(){var t=this;return{x:t.x,y:t.y,top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),l=function(t){return t instanceof SVGElement&&"getBBox"in t},f=function(t){if(l(t)){var e=t.getBBox(),r=e.width,n=e.height;return!r&&!n}var o=t,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||t.getClientRects().length)},d=function(t){var e;if(t instanceof Element)return!0;var r=null===(e=null==t?void 0:t.ownerDocument)||void 0===e?void 0:e.defaultView;return!!(r&&t instanceof r.Element)},p="undefined"!=typeof window?window:{},h=new WeakMap,g=/auto|scroll/,v=/^tb|vertical/,y=/msie|trident/i.test(p.navigator&&p.navigator.userAgent),m=function(t){return parseFloat(t||"0")},b=function(t,e,r){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===r&&(r=!1),new u((r?e:t)||0,(r?t:e)||0)},w=s({devicePixelContentBoxSize:b(),borderBoxSize:b(),contentBoxSize:b(),contentRect:new c(0,0,0,0)}),O=function(t,e){if(void 0===e&&(e=!1),h.has(t)&&!e)return h.get(t);if(f(t))return h.set(t,w),w;var r=getComputedStyle(t),n=l(t)&&t.ownerSVGElement&&t.getBBox(),o=!y&&"border-box"===r.boxSizing,i=v.test(r.writingMode||""),a=!n&&g.test(r.overflowY||""),u=!n&&g.test(r.overflowX||""),d=n?0:m(r.paddingTop),p=n?0:m(r.paddingRight),O=n?0:m(r.paddingBottom),E=n?0:m(r.paddingLeft),x=n?0:m(r.borderTopWidth),S=n?0:m(r.borderRightWidth),D=n?0:m(r.borderBottomWidth),T=E+p,C=d+O,P=(n?0:m(r.borderLeftWidth))+S,I=x+D,k=u?t.offsetHeight-I-t.clientHeight:0,N=a?t.offsetWidth-P-t.clientWidth:0,j=o?T+P:0,_=o?C+I:0,A=n?n.width:m(r.width)-j-N,M=n?n.height:m(r.height)-_-k,R=A+T+N+P,L=M+C+k+I,F=s({devicePixelContentBoxSize:b(Math.round(A*devicePixelRatio),Math.round(M*devicePixelRatio),i),borderBoxSize:b(R,L,i),contentBoxSize:b(A,M,i),contentRect:new c(E,d,A,M)});return h.set(t,F),F},E=function(t,e,r){var o=O(t,r),i=o.borderBoxSize,a=o.contentBoxSize,s=o.devicePixelContentBoxSize;switch(e){case n.DEVICE_PIXEL_CONTENT_BOX:return s;case n.BORDER_BOX:return i;default:return a}},x=function(t){var e=O(t);this.target=t,this.contentRect=e.contentRect,this.borderBoxSize=s([e.borderBoxSize]),this.contentBoxSize=s([e.contentBoxSize]),this.devicePixelContentBoxSize=s([e.devicePixelContentBoxSize])},S=function(t){if(f(t))return 1/0;for(var e=0,r=t.parentNode;r;)e+=1,r=r.parentNode;return e},D=function(){var t=1/0,e=[];o.forEach((function(r){if(0!==r.activeTargets.length){var n=[];r.activeTargets.forEach((function(e){var r=new x(e.target),o=S(e.target);n.push(r),e.lastReportedSize=E(e.target,e.observedBox),ot?e.activeTargets.push(r):e.skippedTargets.push(r))}))}))},C=function(){var t,e=0;for(T(e);o.some((function(t){return t.activeTargets.length>0}));)e=D(),T(e);return o.some((function(t){return t.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?t=new ErrorEvent("error",{message:i}):((t=document.createEvent("Event")).initEvent("error",!1,!1),t.message=i),window.dispatchEvent(t)),e>0},P=[],I=function(t){if(!a){var e=0,r=document.createTextNode("");new MutationObserver((function(){return P.splice(0).forEach((function(t){return t()}))})).observe(r,{characterData:!0}),a=function(){r.textContent="".concat(e?e--:e++)}}P.push(t),a()},k=0,N={attributes:!0,characterData:!0,childList:!0,subtree:!0},j=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],_=function(t){return void 0===t&&(t=0),Date.now()+t},A=!1,M=new(function(){function t(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return t.prototype.run=function(t){var e=this;if(void 0===t&&(t=250),!A){A=!0;var r,n=_(t);r=function(){var r=!1;try{r=C()}finally{if(A=!1,t=n-_(),!k)return;r?e.run(1e3):t>0?e.run(t):e.start()}},I((function(){requestAnimationFrame(r)}))}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var t=this,e=function(){return t.observer&&t.observer.observe(document.body,N)};document.body?e():p.addEventListener("DOMContentLoaded",e)},t.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),j.forEach((function(e){return p.addEventListener(e,t.listener,!0)})))},t.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),j.forEach((function(e){return p.removeEventListener(e,t.listener,!0)})),this.stopped=!0)},t}()),R=function(t){!k&&t>0&&M.start(),!(k+=t)&&M.stop()},L=function(){function t(t,e){this.target=t,this.observedBox=e||n.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var t,e=E(this.target,this.observedBox,!0);return t=this.target,l(t)||function(t){switch(t.tagName){case"INPUT":if("image"!==t.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(t)||"inline"!==getComputedStyle(t).display||(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),F=function(t,e){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=e},H=new WeakMap,B=function(t,e){for(var r=0;r=0&&(i&&o.splice(o.indexOf(r),1),r.observationTargets.splice(n,1),R(-1))},t.disconnect=function(t){var e=this,r=H.get(t);r.observationTargets.slice().forEach((function(r){return e.unobserve(t,r.target)})),r.activeTargets.splice(0,r.activeTargets.length)},t}(),z=function(){function t(t){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof t)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");q.connect(this,t)}return t.prototype.observe=function(t,e){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!d(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");q.observe(this,t,e)},t.prototype.unobserve=function(t){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!d(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");q.unobserve(this,t)},t.prototype.disconnect=function(){q.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}()},97867:function(t,e,r){var n=r(26322),o=r(55964),i=r(13100),a=r(93266),s=r(87435),u=r(48126),c=r(83619),l=r(8591),f=r(29033),d=r(93492),p=r(12080),h=r(21418),g=r(80960),v=r(78314),y=r(59562);t.exports={classnames:s,FileDrop:i.FileDrop,HexColorInput:g.HexColorInput,HexColorPicker:g.HexColorPicker,immer:c.produce,PropTypes:a,React:n,ReactCalendar:h,ReactDOM:o,ReactDND:f,ReactDNDMultiBackend:d,ReactDNDHtml5ToTouch:p,ReactPaginate:v.default,ReactRouter:{BrowserRouter:y.BrowserRouter,Route:y.Route,Routes:y.Routes,Link:y.Link,NavLink:y.NavLink,useLocation:y.useLocation,useNavigate:y.useNavigate,useSearchParams:y.useSearchParams},SimpleBar:l.default,zustand:u.default}},13296:function(t,e,r){"use strict";r.d(e,{e7:function(){return n},_A:function(){return u},Xx:function(){return l},bL:function(){return f},vt:function(){return T},rM:function(){return E},uH:function(){return I}});var n=function(t){var e=t.condition,r=t.wrapper,n=t.children;return e?r(n):n},o=r(8140),i=r(97867),a=i.React.useState,s=i.React.useEffect;function u(t){var e=a(0),r=(0,o.A)(e,2),n=r[0],u=r[1],c="number"==typeof t.transitionDuration?t.transitionDuration:400,l="number"==typeof t.transformDistance?t.transformDistance:20,f="number"==typeof t.delay?t.delay:50,d=t.wrapperTag||"div",p=t.childTag||"div",h=void 0===t.visible||t.visible;return s((function(){var e=i.React.Children.count(t.children);if(h||(e=0),e===n){var r=setTimeout((function(){t.onComplete&&t.onComplete()}),c);return function(){return clearTimeout(r)}}var o=e>n?1:-1,a=setTimeout((function(){u(n+o)}),f);return function(){return clearTimeout(a)}}),[i.React.Children.count(t.children),f,n,h,c]),i.React.createElement(d,{className:t.className},i.React.Children.map(t.children,(function(e,r){return i.React.createElement(p,{className:t.childClassName,style:{transition:"opacity ".concat(c,"ms, transform ").concat(c,"ms"),transform:n>r?"none":"translateY(".concat(l,"px)"),opacity:n>r?1:0}},e)})))}var c=r(71860);function l(t){var e,r,n,o,a=t.closingSymbol,s=void 0===a?"%%":a,u=t.openingSymbol,l=void 0===u?"%%":u,f=t.text,d=void 0===f?"":f,p=t.tokens,h=(void 0===p?[]:p).reduce((function(t,e){return t[e.key]=e,t}),{});return i.React.createElement(i.React.Fragment,null,(e=d,r=new RegExp("".concat(l,"(.*?)").concat(s,"([\\s\\S]*?)").concat(l,"\\1").concat(s),"g"),n=0,o=[],e.replace(r,(function(t,r,a,s){o.push(e.slice(n,s));var u=h[r];if(u){var l=u.component;o.push(i.React.createElement(l,(0,c.A)({},u.props,{key:"".concat(r,"-").concat(s)}),a))}else o.push(a);n=s+t.length})),o.push(e.slice(n)),o))}function f(t){var e=t.text,r=void 0===e?"":e,n=t.tokens,o=void 0===n?[]:n;return i.React.createElement(i.React.Fragment,null,r.split(/(%\d\$s)/).map((function(t,e){var r=t.match(/%(\d)\$s/);if(r){var n=parseInt(r[1],10)-1,a=o[n];if(!a)return null;var s=a.component;return i.React.createElement(s,(0,c.A)({key:e},a.props))}return t})))}i.React.useState,i.React.useEffect,"undefined"!=typeof window&&window.document;var d=r(71376),p=/input|select|textarea|button|object/,h="a, input, select, textarea, button, object, [tabindex]";function g(t){var e=t.getAttribute("tabindex");return null===e&&(e=void 0),parseInt(e,10)}function v(t){var e=t.nodeName.toLowerCase(),r=!isNaN(g(t));return(p.test(e)&&!t.disabled||t instanceof HTMLAnchorElement&&t.href||r)&&function(t){for(var e,r=t;r&&r!==document.body;){if(e=r,!(0,d.Pu)()&&(e.offsetWidth<=0&&e.offsetHeight<=0||"none"===e.style.display))return!1;r=r.parentNode}return!0}(t)}function y(t){var e=g(t);return(isNaN(e)||e>=0)&&v(t)}function m(t){return Array.from(t.querySelectorAll(h)).filter(y)}var b=i.React.useCallback,w=i.React.useEffect,O=i.React.useRef;var E=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=O(),n=O(null),o=function(){var t=[],e=null,r=!1;function n(){r=!0}function o(){r&&(r=!1,e&&(e.contains(document.activeElement)||(m(e)[0]||e).focus()))}return{markForFocusLater:function(){t.push(document.activeElement)},returnFocus:function(){var e=null;try{(e=t.pop())&&setTimeout((function(){return e.focus()}))}catch(t){}},setupScopedFocus:function(t){(e=t).addEventListener("focusout",n,!1),e.addEventListener("focusin",o,!0)},teardownScopedFocus:function(){e.removeEventListener("focusout",n),e.removeEventListener("focusin",o),e=null}}}(),i=o.markForFocusLater,a=o.returnFocus,s=o.setupScopedFocus,u=o.teardownScopedFocus,c=b((function(o){if(n.current&&n.current(),r.current&&(a(),u()),t&&o){s(o),i();var c=function(t){n.current=e.disableAriaHider?null:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body > :not(script)",r=Array.from(document.querySelectorAll(e)).map((function(e){if(!e.contains(t)){var r=e.getAttribute("aria-hidden");return null!==r&&"false"!==r||e.setAttribute("aria-hidden","true"),{node:e,ariaHidden:r}}}));return function(){r.forEach((function(t){t&&(null===t.ariaHidden?t.node.removeAttribute("aria-hidden"):t.node.setAttribute("aria-hidden",t.ariaHidden))}))}}(t);var r=null;if(e.focusSelector&&(r="string"==typeof e.focusSelector?t.querySelector(e.focusSelector):e.focusSelector),!r){var o=Array.from(t.querySelectorAll(h));!(r=o.find(y)||o.find(v)||null)&&v(t)&&(r=t)}r&&r.focus()};setTimeout((function(){o.ownerDocument&&c(o)})),r.current=o}else r.current=null}),[t,e.focusSelector,e.disableAriaHider]);return w((function(){if(t){var e=function(t){"Tab"===t.key&&r.current&&function(t,e){var r=m(t);if(r.length){if(r[e.shiftKey?0:r.length-1]===document.activeElement||t===document.activeElement){e.preventDefault();var n=r[e.shiftKey?r.length-1:0];n&&n.focus()}}else e.preventDefault()}(r.current,t)};return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}}}),[t]),c},x=(i.React.useState,i.React.useEffect,r(88856));function S(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function D(t){for(var e=1;e=0;)d(e=m[r],t)&&!w(n,e)&&(n[n.length]=e),r-=1;return n})):u((function(t){return Object(t)!==t?[]:Object.keys(t)})),E=u((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function x(t,e,r,n){var o=l(t);function i(t,e){return S(t,e,r.slice(),n.slice())}return!f((function(t,e){return!f(i,e,t)}),l(e),o)}function S(t,e,r,n){if(p(t,e))return!0;var o,i,a=E(t);if(a!==E(e))return!1;if(null==t||null==e)return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(a){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(o=t.constructor,null==(i=String(o).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!p(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!p(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var s=r.length-1;s>=0;){if(r[s]===t)return n[s]===e;s-=1}switch(a){case"Map":return t.size===e.size&&x(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&x(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var u=O(t);if(u.length!==O(e).length)return!1;var c=r.concat([t]),l=n.concat([e]);for(s=u.length-1;s>=0;){var f=u[s];if(!d(f,e)||!S(e[f],t[f],c,l))return!1;s-=1}return!0}var D=c((function(t,e){return S(t,e,[],[])})),T=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function C(t,e,r){return function(){if(0===arguments.length)return r();var n=Array.prototype.slice.call(arguments,0),o=n.pop();if(!T(o)){for(var i=0;i=0&&this.i>=this.n?(r=n)&&r["@@transducer/reduced"]?r:{"@@transducer/value":r,"@@transducer/reduced":!0}:n},t}(),N=c((function(t,e){return new k(t,e)}));function j(t,e){return function(){var r=arguments.length;if(0===r)return e();var n=arguments[r-1];return T(n)||"function"!=typeof n[t]?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}function _(t){return function e(r,n,o){switch(arguments.length){case 0:return e;case 1:return s(r)?e:c((function(e,n){return t(r,e,n)}));case 2:return s(r)&&s(n)?e:s(r)?c((function(e,r){return t(e,n,r)})):s(n)?c((function(e,n){return t(r,e,n)})):u((function(e){return t(r,n,e)}));default:return s(r)&&s(n)&&s(o)?e:s(r)&&s(n)?c((function(e,r){return t(e,r,o)})):s(r)&&s(o)?c((function(e,r){return t(e,n,r)})):s(n)&&s(o)?c((function(e,n){return t(r,e,n)})):s(r)?u((function(e){return t(e,n,o)})):s(n)?u((function(e){return t(r,e,o)})):s(o)?u((function(e){return t(r,n,e)})):t(r,n,o)}}}var A=_(j("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)}))),M=c(C(["take"],N,(function(t,e){return A(0,t<0?1/0:t,e)}))),R=c((function(t,e){return D(M(t.length,e),t)})),L=r(52888);function F(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",i=new window.FormData;return function t(e,a){if(!function(t){return Array.isArray(r)&&r.some((function(e){return e===t}))}(a))if(a=a||"",e instanceof window.File)i.append(a,e);else if(Array.isArray(e))for(var s=0;s2&&void 0!==arguments[2]?arguments[2]:{};r.arrayMerge=function(t){var e,r=f;return"combine"===t.arrayMerge?r=d:(e=t.arrayMerge)&&"[object Function]"==={}.toString.call(e)&&(r=t.arrayMerge),r}(r),r.isMergeableObject=r.isMergeableObject||c,r.cloneUnlessOtherwiseSpecified=l;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):g(t,e,r):l(e,r)}v.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return v(t,r,e)}),{})};var y=v,m=function(t,e){var r=Object.entries(t).filter(e);return Object.fromEntries(r)};function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return function t(n){if("object"===(0,i.A)(n))for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){if(o===e&&n[o]===r)return n;var a=t(n[o]);if(a)return a}return null}(t)}function w(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e&&t[e]?t[e]:t}function O(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return JSON.stringify(t)===JSON.stringify({})}function E(){return!!window.__TEST__}function x(t){if(null===t)return!1;try{JSON.parse(t)}catch(t){return!1}return!0}function S(t){return!(!t||"object"!==(0,i.A)(t)||Array.isArray(t))}var D=r(88856);function T(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return C(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&void 0!==arguments[0]?arguments[0]:"").toString().normalize("NFKD").toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/-$/g,"")}var F={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function H(t){return function(t,e){var r,n,o,a,s,u,c,l,f,d=1,p=t.length,h="";for(n=0;n=0),a.type){case"b":r=parseInt(r,10).toString(2);break;case"c":r=String.fromCharCode(parseInt(r,10));break;case"d":case"i":r=parseInt(r,10);break;case"j":r=JSON.stringify(r,null,a.width?parseInt(a.width):0);break;case"e":r=a.precision?parseFloat(r).toExponential(a.precision):parseFloat(r).toExponential();break;case"f":r=a.precision?parseFloat(r).toFixed(a.precision):parseFloat(r);break;case"g":r=a.precision?String(Number(r.toPrecision(a.precision))):parseFloat(r);break;case"o":r=(parseInt(r,10)>>>0).toString(8);break;case"s":r=String(r),r=a.precision?r.substring(0,a.precision):r;break;case"t":r=String(!!r),r=a.precision?r.substring(0,a.precision):r;break;case"T":r=Object.prototype.toString.call(r).slice(8,-1).toLowerCase(),r=a.precision?r.substring(0,a.precision):r;break;case"u":r=parseInt(r,10)>>>0;break;case"v":r=r.valueOf(),r=a.precision?r.substring(0,a.precision):r;break;case"x":r=(parseInt(r,10)>>>0).toString(16);break;case"X":r=(parseInt(r,10)>>>0).toString(16).toUpperCase()}F.json.test(a.type)?h+=r:(!F.number.test(a.type)||l&&!a.sign?f="":(f=l?"+":"-",r=r.toString().replace(F.sign,"")),u=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",c=a.width-(f+r).length,s=a.width&&c>0?u.repeat(c):"",h+=a.align?f+r+s:"0"===u?f+s+r:s+f+r)}return h}(function(t){if(B[t])return B[t];var e,r=t,n=[],o=0;for(;r;){if(null!==(e=F.text.exec(r)))n.push(e[0]);else if(null!==(e=F.modulo.exec(r)))n.push("%");else{if(null===(e=F.placeholder.exec(r)))throw new SyntaxError("[sprintf] unexpected placeholder");if(e[2]){o|=1;var i=[],a=e[2],s=[];if(null===(s=F.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(i.push(s[1]);""!==(a=a.substring(s[0].length));)if(null!==(s=F.key_access.exec(a)))i.push(s[1]);else{if(null===(s=F.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");i.push(s[1])}e[2]=i}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");n.push({placeholder:e[0],param_no:e[1],keys:e[2],sign:e[3],pad_char:e[4],align:e[5],width:e[6],precision:e[7],type:e[8]})}r=r.substring(e[0].length)}return B[t]=n}(t),arguments)}var B=Object.create(null);var q=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.length?t:window.location.search.slice(1),r=e.length?e.split("&"):[],n={},o=[];return r.forEach((function(t){o=t.split("="),n[o[0]]=decodeURIComponent(o[1]||"")})),JSON.parse(JSON.stringify(n))};function z(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id";return"".concat(t.length?"".concat(t,"-"):"").concat(Math.random().toString(36).substr(2,9))}var U=/(android)/i.test(window.navigator.userAgent),$=!!window.chrome,V="undefined"!=typeof InstallTrigger,W=document.documentMode||!1,Y=!W&&!!window.StyleMedia,G=!!window.navigator.userAgent.match(/(iPod|iPhone|iPad)/i),K=!!window.navigator.userAgent.match(/(iPod|iPhone)/i),X=!!window.opera||window.navigator.userAgent.indexOf(" OPR/")>=0,J=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0||!$&&!X&&"undefined"!==window.webkitAudioContext,Z=window.navigator.platform;var Q=0,tt=function(){var t={android:U,chrome:$,edge:Y,firefox:V,ie:W,ios:G,iosMobile:K,opera:X,safari:J,os:Z};return t.ie||t.firefox||t.chrome&&!t.edge?document.documentElement:document.body},et=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=tt(),r=document.body.style;Q=e.scrollTop,r.overflowY="scroll",r.position="fixed",r.width="100%",t&&(r.marginTop="-".concat(Q,"px"))},rt=function(){var t=tt(),e=document.body.style;e.overflowY="",e.position="static",e.marginTop="0px",e.width="",t.scrollTop=Q};function nt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(window.clipboardData&&window.clipboardData.setData)return window.clipboardData.setData("Text",t);if(document.queryCommandSupported&&document.queryCommandSupported("copy")){var e=document.createElement("textarea");e.textContent=t,e.style.position="fixed",document.body.appendChild(e),e.select();try{return document.execCommand("copy")}catch(t){return window.console&&E(),!1}finally{document.body.removeChild(e)}}}function ot(t,e){var r,n;for(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].some((function(t){return"function"==typeof document.body[t]&&(r=t,!0)}));t;){if((n=t.parentElement)&&n[r](e))return n;t=n}return null}function it(){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3]?t:'[data-js="'.concat(t,'"]'),o=r.querySelectorAll(n);return e&&(o=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[],r=t.length;r--;e.unshift(t[r]));return e}(o)),o}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",!1,arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,arguments.length>2&&void 0!==arguments[2]&&arguments[2]);return t.length>0?t[0]:null}function at(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function st(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"gform-spacing",n={};return!t||"string"!=typeof t&&"number"!=typeof t&&!Array.isArray(t)||Array.isArray(t)&&!t.length?n:"string"==typeof t||"number"==typeof t?(n["".concat(r,"--").concat(e,"bottom-").concat(t)]=!0,n):1===t.length?(["top","right","bottom","left"].forEach((function(o){n["".concat(r,"--").concat(e).concat(o,"-").concat(t[0])]=!0})),n):2===t.length?(["top","bottom"].forEach((function(o){n["".concat(r,"--").concat(e).concat(o,"-").concat(t[0])]=!0})),["right","left"].forEach((function(o){n["".concat(r,"--").concat(e).concat(o,"-").concat(t[1])]=!0})),n):3===t.length?(n["".concat(r,"--").concat(e,"top-").concat(t[0])]=!0,["right","left"].forEach((function(o){n["".concat(r,"--").concat(e).concat(o,"-").concat(t[1])]=!0})),n["gform-spacing--".concat(e,"bottom-").concat(t[2])]=!0,n):4===t.length?(n["".concat(r,"--").concat(e,"top-").concat(t[0])]=!0,n["".concat(r,"--").concat(e,"right-").concat(t[1])]=!0,n["".concat(r,"--").concat(e,"bottom-").concat(t[2])]=!0,n["".concat(r,"--").concat(e,"left-").concat(t[3])]=!0,n):n};function ct(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"gform-spacing",r={};return!t||"string"!=typeof t&&"number"!=typeof t&&!Array.isArray(t)&&("object"!==(0,i.A)(t)||Array.isArray(t))||Array.isArray(t)&&!t.length?r:(r[e]=!0,"string"==typeof t||"number"==typeof t||Array.isArray(t)?st(st({},r),ut(t,"",e)):["","md","lg"].reduce((function(r,n){return Object.prototype.hasOwnProperty.call(t,n)?st(st({},r),ut(t[n],n?"".concat(n,"-"):"",e)):r}),r))}function lt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("function"!=typeof t)throw new TypeError("Expected the first argument to be a function, got `".concat((0,i.A)(t),"`"));var r,n,o,a=e.wait,s=void 0===a?0:a,u=e.maxWait,c=void 0===u?Number.Infinity:u,l=e.before,f=void 0!==l&&l,d=e.after,p=void 0===d||d;if(!f&&!p)throw new Error("Both `before` and `after` are false, function wouldn't be called.");var h=function(){for(var e=arguments.length,i=new Array(e),a=0;a0&&c!==Number.Infinity&&!n&&(n=setTimeout((function(){n=void 0,r&&(clearTimeout(r),r=void 0),p&&(o=t.apply(u,i))}),c)),l&&(o=t.apply(u,i)),o};return function(t,e){var r,n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).ignoreNonConfigurable,o=void 0!==n&&n,i=t.name,a=T(Reflect.ownKeys(e));try{for(a.s();!(r=a.n()).done;){var s=r.value;k(t,e,s,o)}}catch(t){a.e(t)}finally{a.f()}j(t,e),R(t,e,i)}(h,t),h.cancel=function(){r&&(clearTimeout(r),r=void 0),n&&(clearTimeout(n),n=void 0)},h}if("undefined"!=typeof Element&&!Element.prototype.matches){var ft=Element.prototype;ft.matches=ft.matchesSelector||ft.mozMatchesSelector||ft.msMatchesSelector||ft.oMatchesSelector||ft.webkitMatchesSelector}r(78564);window.gform=window.gform||{},window.gform.instances=window.gform.instances||{},window.gform.instances.filters=window.gform.instances.filters||[];window.gform.instances.filters;function dt(t){"loading"!==document.readyState?t():document.addEventListener?document.addEventListener("DOMContentLoaded",t):document.attachEvent("onreadystatechange",(function(){"loading"!==document.readyState&&t()}))}function pt(){var t,e=function(){for(var t={},e=0;e0&&void 0!==arguments[0]?arguments[0]:{});if(e.native)(t=document.createEvent("HTMLEvents")).initEvent(e.event,!0,!1);else try{t=new window.CustomEvent(e.event,{detail:e.data})}catch(r){(t=document.createEvent("CustomEvent")).initCustomEvent(e.event,!0,!0,e.data)}e.el.dispatchEvent(t)}},88624:function(t){var e=!("undefined"==typeof window||!window.document||!window.document.createElement);t.exports=e},87435:function(t,e){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e(s=(a=Math.ceil(d/v))>s?a+1:s+1)&&(i=s,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((s=c.length)-(i=l.length)<0&&(i=s,n=l,l=c,c=n),r=0;i;)r=(c[--i]=c[i]+l[i]+r)/g|0,c[i]%=g;for(r&&(c.unshift(r),++o),s=c.length;0==c[--s];)c.pop();return e.d=c,e.e=o,u?k(e,d):e}function O(t,e,r){if(t!==~~t||tr)throw Error(l+t)}function E(t){var e,r,n,o=t.length-1,i="",a=t[0];if(o>0){for(i+=a,e=1;et.e^i.s<0?1:-1;for(e=0,r=(n=i.d.length)<(o=t.d.length)?n:o;et.d[e]^i.s<0?1:-1;return n===o?0:n>o^i.s<0?1:-1},b.decimalPlaces=b.dp=function(){var t=this,e=t.d.length-1,r=(e-t.e)*v;if(e=t.d[e])for(;e%10==0;e/=10)r--;return r<0?0:r},b.dividedBy=b.div=function(t){return x(this,new this.constructor(t))},b.dividedToIntegerBy=b.idiv=function(t){var e=this.constructor;return k(x(this,new e(t),0,1),e.precision)},b.equals=b.eq=function(t){return!this.cmp(t)},b.exponent=function(){return D(this)},b.greaterThan=b.gt=function(t){return this.cmp(t)>0},b.greaterThanOrEqualTo=b.gte=function(t){return this.cmp(t)>=0},b.isInteger=b.isint=function(){return this.e>this.d.length-2},b.isNegative=b.isneg=function(){return this.s<0},b.isPositive=b.ispos=function(){return this.s>0},b.isZero=function(){return 0===this.s},b.lessThan=b.lt=function(t){return this.cmp(t)<0},b.lessThanOrEqualTo=b.lte=function(t){return this.cmp(t)<1},b.logarithm=b.log=function(t){var e,r=this,n=r.constructor,o=n.precision,a=o+5;if(void 0===t)t=new n(10);else if((t=new n(t)).s<1||t.eq(i))throw Error(c+"NaN");if(r.s<1)throw Error(c+(r.s?"NaN":"-Infinity"));return r.eq(i)?new n(0):(u=!1,e=x(P(r,a),P(t,a),a),u=!0,k(e,o))},b.minus=b.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?N(e,t):w(e,(t.s=-t.s,t))},b.modulo=b.mod=function(t){var e,r=this,n=r.constructor,o=n.precision;if(!(t=new n(t)).s)throw Error(c+"NaN");return r.s?(u=!1,e=x(r,t,0,1).times(t),u=!0,r.minus(e)):k(new n(r),o)},b.naturalExponential=b.exp=function(){return S(this)},b.naturalLogarithm=b.ln=function(){return P(this)},b.negated=b.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},b.plus=b.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?w(e,t):N(e,(t.s=-t.s,t))},b.precision=b.sd=function(t){var e,r,n,o=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(l+t);if(e=D(o)+1,r=(n=o.d.length-1)*v+1,n=o.d[n]){for(;n%10==0;n/=10)r--;for(n=o.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},b.squareRoot=b.sqrt=function(){var t,e,r,n,o,i,a,s=this,l=s.constructor;if(s.s<1){if(!s.s)return new l(0);throw Error(c+"NaN")}for(t=D(s),u=!1,0==(o=Math.sqrt(+s))||o==1/0?(((e=E(s.d)).length+t)%2==0&&(e+="0"),o=Math.sqrt(e),t=d((t+1)/2)-(t<0||t%2),n=new l(e=o==1/0?"5e"+t:(e=o.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new l(o.toString()),o=a=(r=l.precision)+3;;)if(n=(i=n).plus(x(s,i,a+2)).times(.5),E(i.d).slice(0,a)===(e=E(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),o==a&&"4999"==e){if(k(i,r+1,0),i.times(i).eq(s)){n=i;break}}else if("9999"!=e)break;a+=4}return u=!0,k(n,r)},b.times=b.mul=function(t){var e,r,n,o,i,a,s,c,l,f=this,d=f.constructor,p=f.d,h=(t=new d(t)).d;if(!f.s||!t.s)return new d(0);for(t.s*=f.s,r=f.e+t.e,(c=p.length)<(l=h.length)&&(i=p,p=h,h=i,a=c,c=l,l=a),i=[],n=a=c+l;n--;)i.push(0);for(n=l;--n>=0;){for(e=0,o=c+n;o>n;)s=i[o]+h[n]*p[o-n-1]+e,i[o--]=s%g|0,e=s/g|0;i[o]=(i[o]+e)%g|0}for(;!i[--a];)i.pop();return e?++r:i.shift(),t.d=i,t.e=r,u?k(t,d.precision):t},b.toDecimalPlaces=b.todp=function(t,e){var r=this,n=r.constructor;return r=new n(r),void 0===t?r:(O(t,0,a),void 0===e?e=n.rounding:O(e,0,8),k(r,t+D(r)+1,e))},b.toExponential=function(t,e){var r,n=this,o=n.constructor;return void 0===t?r=j(n,!0):(O(t,0,a),void 0===e?e=o.rounding:O(e,0,8),r=j(n=k(new o(n),t+1,e),!0,t+1)),r},b.toFixed=function(t,e){var r,n,o=this,i=o.constructor;return void 0===t?j(o):(O(t,0,a),void 0===e?e=i.rounding:O(e,0,8),r=j((n=k(new i(o),t+D(o)+1,e)).abs(),!1,t+D(n)+1),o.isneg()&&!o.isZero()?"-"+r:r)},b.toInteger=b.toint=function(){var t=this,e=t.constructor;return k(new e(t),D(t)+1,e.rounding)},b.toNumber=function(){return+this},b.toPower=b.pow=function(t){var e,r,n,o,a,s,l=this,f=l.constructor,p=+(t=new f(t));if(!t.s)return new f(i);if(!(l=new f(l)).s){if(t.s<1)throw Error(c+"Infinity");return l}if(l.eq(i))return l;if(n=f.precision,t.eq(i))return k(l,n);if(s=(e=t.e)>=(r=t.d.length-1),a=l.s,s){if((r=p<0?-p:p)<=y){for(o=new f(i),e=Math.ceil(n/v+4),u=!1;r%2&&_((o=o.times(l)).d,e),0!==(r=d(r/2));)_((l=l.times(l)).d,e);return u=!0,t.s<0?new f(i).div(o):k(o,n)}}else if(a<0)throw Error(c+"NaN");return a=a<0&&1&t.d[Math.max(e,r)]?-1:1,l.s=1,u=!1,o=t.times(P(l,n+12)),u=!0,(o=S(o)).s=a,o},b.toPrecision=function(t,e){var r,n,o=this,i=o.constructor;return void 0===t?n=j(o,(r=D(o))<=i.toExpNeg||r>=i.toExpPos):(O(t,1,a),void 0===e?e=i.rounding:O(e,0,8),n=j(o=k(new i(o),t,e),t<=(r=D(o))||r<=i.toExpNeg,t)),n},b.toSignificantDigits=b.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(O(t,1,a),void 0===e?e=r.rounding:O(e,0,8)),k(new r(this),t,e)},b.toString=b.valueOf=b.val=b.toJSON=function(){var t=this,e=D(t),r=t.constructor;return j(t,e<=r.toExpNeg||e>=r.toExpPos)};var x=function(){function t(t,e){var r,n=0,o=t.length;for(t=t.slice();o--;)r=t[o]*e+n,t[o]=r%g|0,n=r/g|0;return n&&t.unshift(n),t}function e(t,e,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;oe[o]?1:-1;break}return i}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=t[r]1;)t.shift()}return function(n,o,i,a){var s,u,l,f,d,p,h,y,m,b,w,O,E,x,S,T,C,P,I=n.constructor,N=n.s==o.s?1:-1,j=n.d,_=o.d;if(!n.s)return new I(n);if(!o.s)throw Error(c+"Division by zero");for(u=n.e-o.e,C=_.length,S=j.length,y=(h=new I(N)).d=[],l=0;_[l]==(j[l]||0);)++l;if(_[l]>(j[l]||0)&&--u,(O=null==i?i=I.precision:a?i+(D(n)-D(o))+1:i)<0)return new I(0);if(O=O/v+2|0,l=0,1==C)for(f=0,_=_[0],O++;(l1&&(_=t(_,f),j=t(j,f),C=_.length,S=j.length),x=C,b=(m=j.slice(0,C)).length;b=g/2&&++T;do{f=0,(s=e(_,m,C,b))<0?(w=m[0],C!=b&&(w=w*g+(m[1]||0)),(f=w/T|0)>1?(f>=g&&(f=g-1),1==(s=e(d=t(_,f),m,p=d.length,b=m.length))&&(f--,r(d,C16)throw Error(f+D(t));if(!t.s)return new d(i);for(null==e?(u=!1,s=h):s=e,a=new d(.03125);t.abs().gte(.1);)t=t.times(a),l+=5;for(s+=Math.log(p(2,l))/Math.LN10*2+5|0,r=n=o=new d(i),d.precision=s;;){if(n=k(n.times(t),s),r=r.times(++c),E((a=o.plus(x(n,r,s))).d).slice(0,s)===E(o.d).slice(0,s)){for(;l--;)o=k(o.times(o),s);return d.precision=h,null==e?(u=!0,k(o,h)):o}o=a}}function D(t){for(var e=t.e*v,r=t.d[0];r>=10;r/=10)e++;return e}function T(t,e,r){if(e>t.LN10.sd())throw u=!0,r&&(t.precision=r),Error(c+"LN10 precision limit exceeded");return k(new t(t.LN10),e)}function C(t){for(var e="";t--;)e+="0";return e}function P(t,e){var r,n,o,a,s,l,f,d,p,h=1,g=t,v=g.d,y=g.constructor,m=y.precision;if(g.s<1)throw Error(c+(g.s?"NaN":"-Infinity"));if(g.eq(i))return new y(0);if(null==e?(u=!1,d=m):d=e,g.eq(10))return null==e&&(u=!0),T(y,d);if(d+=10,y.precision=d,n=(r=E(v)).charAt(0),a=D(g),!(Math.abs(a)<15e14))return f=T(y,d+2,m).times(a+""),g=P(new y(n+"."+r.slice(1)),d-10).plus(f),y.precision=m,null==e?(u=!0,k(g,m)):g;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=E((g=g.times(t)).d)).charAt(0),h++;for(a=D(g),n>1?(g=new y("0."+r),a++):g=new y(n+"."+r.slice(1)),l=s=g=x(g.minus(i),g.plus(i),d),p=k(g.times(g),d),o=3;;){if(s=k(s.times(p),d),E((f=l.plus(x(s,new y(o),d))).d).slice(0,d)===E(l.d).slice(0,d))return l=l.times(2),0!==a&&(l=l.plus(T(y,d+2,m).times(a+""))),l=x(l,new y(h),d),y.precision=m,null==e?(u=!0,k(l,m)):l;l=f,o+=2}}function I(t,e){var r,n,o;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);)++n;for(o=e.length;48===e.charCodeAt(o-1);)--o;if(e=e.slice(n,o)){if(o-=n,r=r-n-1,t.e=d(r/v),t.d=[],n=(r+1)%v,r<0&&(n+=v),nm||t.e<-m))throw Error(f+r)}else t.s=0,t.e=0,t.d=[0];return t}function k(t,e,r){var n,o,i,a,s,c,l,h,y=t.d;for(a=1,i=y[0];i>=10;i/=10)a++;if((n=e-a)<0)n+=v,o=e,l=y[h=0];else{if((h=Math.ceil((n+1)/v))>=(i=y.length))return t;for(l=i=y[h],a=1;i>=10;i/=10)a++;o=(n%=v)-v+a}if(void 0!==r&&(s=l/(i=p(10,a-o-1))%10|0,c=e<0||void 0!==y[h+1]||l%i,c=r<4?(s||c)&&(0==r||r==(t.s<0?3:2)):s>5||5==s&&(4==r||c||6==r&&(n>0?o>0?l/p(10,a-o):0:y[h-1])%10&1||r==(t.s<0?8:7))),e<1||!y[0])return c?(i=D(t),y.length=1,e=e-i-1,y[0]=p(10,(v-e%v)%v),t.e=d(-e/v)||0):(y.length=1,y[0]=t.e=t.s=0),t;if(0==n?(y.length=h,i=1,h--):(y.length=h+1,i=p(10,v-n),y[h]=o>0?(l/p(10,a-o)%p(10,o)|0)*i:0),c)for(;;){if(0==h){(y[0]+=i)==g&&(y[0]=1,++t.e);break}if(y[h]+=i,y[h]!=g)break;y[h--]=0,i=1}for(n=y.length;0===y[--n];)y.pop();if(u&&(t.e>m||t.e<-m))throw Error(f+D(t));return t}function N(t,e){var r,n,o,i,a,s,c,l,f,d,p=t.constructor,h=p.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new p(t),u?k(e,h):e;if(c=t.d,d=e.d,n=e.e,l=t.e,c=c.slice(),a=l-n){for((f=a<0)?(r=c,a=-a,s=d.length):(r=d,n=l,s=c.length),a>(o=Math.max(Math.ceil(h/v),s)+2)&&(a=o,r.length=1),r.reverse(),o=a;o--;)r.push(0);r.reverse()}else{for((f=(o=c.length)<(s=d.length))&&(s=o),o=0;o0;--o)c[s++]=0;for(o=d.length;o>a;){if(c[--o]0?i=i.charAt(0)+"."+i.slice(1)+C(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+C(-o-1)+i,r&&(n=r-a)>0&&(i+=C(n))):o>=a?(i+=C(o+1-a),r&&(n=r-o-1)>0&&(i=i+"."+C(n))):((n=o+1)0&&(o+1===a&&(i+="."),i+=C(n))),t.s<0?"-"+i:i}function _(t,e){if(t.length>e)return t.length=e,!0}function A(t){if(!t||"object"!=typeof t)throw Error(c+"Object expected");var e,r,n,o=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e=o[e+1]&&n<=o[e+2]))throw Error(l+r+": "+n);this[r]=n}if(void 0!==(n=t[r="LN10"])){if(n!=Math.LN10)throw Error(l+r+": "+n);this[r]=new this(n)}return this}s=function t(e){var r,n,o;function i(t){var e=this;if(!(e instanceof i))return new i(t);if(e.constructor=i,t instanceof i)return e.s=t.s,e.e=t.e,void(e.d=(t=t.d)?t.slice():t);if("number"==typeof t){if(0*t!=0)throw Error(l+t);if(t>0)e.s=1;else{if(!(t<0))return e.s=0,e.e=0,void(e.d=[0]);t=-t,e.s=-1}return t===~~t&&t<1e7?(e.e=0,void(e.d=[t])):I(e,t.toString())}if("string"!=typeof t)throw Error(l+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!h.test(t))throw Error(l+t);I(e,t)}if(i.prototype=b,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=t,i.config=i.set=A,void 0===e&&(e={}),e)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r1?e-1:0),n=1;n3?e.i-4:e.i:Array.isArray(t)?1:p(t)?2:h(t)?3:0}function c(t,e){return 2===u(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function l(t,e){return 2===u(t)?t.get(e):t[e]}function f(t,e,r){var n=u(t);2===n?t.set(e,r):3===n?(t.delete(e),t.add(r)):t[e]=r}function d(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function p(t){return G&&t instanceof Map}function h(t){return K&&t instanceof Set}function g(t){return t.o||t.t}function v(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=nt(t);delete e[Q];for(var r=rt(e),n=0;n1&&(t.set=t.add=t.clear=t.delete=m),Object.freeze(t),e&&s(t,(function(t,e){return y(e,!0)}),!0)),t}function m(){n(2)}function b(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function w(t){var e=ot[t];return e||n(18,t),e}function O(t,e){ot[t]||(ot[t]=e)}function E(){return W}function x(t,e){e&&(w("Patches"),t.u=[],t.s=[],t.v=e)}function S(t){D(t),t.p.forEach(C),t.p=null}function D(t){t===W&&(W=t.l)}function T(t){return W={p:[],l:W,h:t,m:!0,_:0}}function C(t){var e=t[Q];0===e.i||1===e.i?e.j():e.O=!0}function P(t,e){e._=e.p.length;var r=e.p[0],o=void 0!==t&&t!==r;return e.h.g||w("ES5").S(e,t,o),o?(r[Q].P&&(S(e),n(4)),i(t)&&(t=I(e,t),e.l||N(e,t)),e.u&&w("Patches").M(r[Q].t,t,e.u,e.s)):t=I(e,r,[]),S(e),e.u&&e.v(e.u,e.s),t!==J?t:void 0}function I(t,e,r){if(b(e))return e;var n=e[Q];if(!n)return s(e,(function(o,i){return k(t,n,e,o,i,r)}),!0),e;if(n.A!==t)return e;if(!n.P)return N(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=4===n.i||5===n.i?n.o=v(n.k):n.o;s(3===n.i?new Set(o):o,(function(e,i){return k(t,n,o,e,i,r)})),N(t,o,!1),r&&t.u&&w("Patches").R(n,r,t.u,t.s)}return n.o}function k(t,e,r,n,a,s){if(o(a)){var u=I(t,a,s&&e&&3!==e.i&&!c(e.D,n)?s.concat(n):void 0);if(f(r,n,u),!o(u))return;t.m=!1}if(i(a)&&!b(a)){if(!t.h.F&&t._<1)return;I(t,a),e&&e.A.l||N(t,a)}}function N(t,e,r){void 0===r&&(r=!1),t.h.F&&t.m&&y(e,r)}function j(t,e){var r=t[Q];return(r?g(r):t)[e]}function _(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function A(t){t.P||(t.P=!0,t.l&&A(t.l))}function M(t){t.o||(t.o=v(t.t))}function R(t,e,r){var n=p(e)?w("MapSet").N(e,r):h(e)?w("MapSet").T(e,r):t.g?function(t,e){var r=Array.isArray(t),n={i:r?1:0,A:e?e.A:E(),P:!1,I:!1,D:{},l:e,t:t,k:null,o:null,j:null,C:!1},o=n,i=it;r&&(o=[n],i=at);var a=Proxy.revocable(o,i),s=a.revoke,u=a.proxy;return n.k=u,n.j=s,u}(e,r):w("ES5").J(e,r);return(r?r.A:E()).p.push(n),n}function L(t){return o(t)||n(22,t),function t(e){if(!i(e))return e;var r,n=e[Q],o=u(e);if(n){if(!n.P&&(n.i<4||!w("ES5").K(n)))return n.t;n.I=!0,r=F(e,o),n.I=!1}else r=F(e,o);return s(r,(function(e,o){n&&l(n.t,e)===o||f(r,e,t(o))})),3===o?new Set(r):r}(t)}function F(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return v(t)}function H(){function t(t,e){var r=i[t];return r?r.enumerable=e:i[t]=r={configurable:!0,enumerable:e,get:function(){var e=this[Q];return it.get(e,t)},set:function(e){var r=this[Q];it.set(r,t,e)}},r}function e(t){for(var e=t.length-1;e>=0;e--){var o=t[e][Q];if(!o.P)switch(o.i){case 5:n(o)&&A(o);break;case 4:r(o)&&A(o)}}}function r(t){for(var e=t.t,r=t.k,n=rt(r),o=n.length-1;o>=0;o--){var i=n[o];if(i!==Q){var a=e[i];if(void 0===a&&!c(e,i))return!0;var s=r[i],u=s&&s[Q];if(u?u.t!==a:!d(s,a))return!0}}var l=!!e[Q];return n.length!==rt(e).length+(l?0:1)}function n(t){var e=t.k;if(e.length!==t.t.length)return!0;var r=Object.getOwnPropertyDescriptor(e,e.length-1);if(r&&!r.get)return!0;for(var n=0;n1?n-1:0),i=1;i1?n-1:0),i=1;i=0;r--){var n=e[r];if(0===n.path.length&&"replace"===n.op){t=n.value;break}}r>-1&&(e=e.slice(r+1));var i=w("Patches").$;return o(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),ut=new st,ct=ut.produce,lt=ut.produceWithPatches.bind(ut),ft=ut.setAutoFreeze.bind(ut),dt=ut.setUseProxies.bind(ut),pt=ut.applyPatches.bind(ut),ht=ut.createDraft.bind(ut),gt=ut.finishDraft.bind(ut);e.default=ct},66783:function(t,e,r){var n=NaN,o="[object Symbol]",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt,l="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,f="object"==typeof self&&self&&self.Object===Object&&self,d=l||f||Function("return this")(),p=Object.prototype.toString,h=Math.max,g=Math.min,v=function(){return d.Date.now()};function y(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function m(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&p.call(t)==o}(t))return n;if(y(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=y(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(i,"");var r=s.test(t);return r||u.test(t)?c(t.slice(2),r?2:8):a.test(t)?n:+t}t.exports=function(t,e,r){var n,o,i,a,s,u,c=0,l=!1,f=!1,d=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function p(e){var r=n,i=o;return n=o=void 0,c=e,a=t.apply(i,r)}function b(t){var r=t-u;return void 0===u||r>=e||r<0||f&&t-c>=i}function w(){var t=v();if(b(t))return O(t);s=setTimeout(w,function(t){var r=e-(t-u);return f?g(r,i-(t-c)):r}(t))}function O(t){return s=void 0,d&&n?p(t):(n=o=void 0,a)}function E(){var t=v(),r=b(t);if(n=arguments,o=this,u=t,r){if(void 0===s)return function(t){return c=t,s=setTimeout(w,e),l?p(t):a}(u);if(f)return s=setTimeout(w,e),p(u)}return void 0===s&&(s=setTimeout(w,e)),a}return e=m(e)||0,y(r)&&(l=!!r.leading,i=(f="maxWait"in r)?h(m(r.maxWait)||0,e):i,d="trailing"in r?!!r.trailing:d),E.cancel=function(){void 0!==s&&clearTimeout(s),c=0,n=u=o=s=void 0},E.flush=function(){return void 0===s?a:O(v())},E}},77876:function(t,e,r){var n="__lodash_hash_undefined__",o="[object Function]",i="[object GeneratorFunction]",a=/^\[object .+?Constructor\]$/,s="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,u="object"==typeof self&&self&&self.Object===Object&&self,c=s||u||Function("return this")();var l,f=Array.prototype,d=Function.prototype,p=Object.prototype,h=c["__core-js_shared__"],g=(l=/[^.]+$/.exec(h&&h.keys&&h.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",v=d.toString,y=p.hasOwnProperty,m=p.toString,b=RegExp("^"+v.call(y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),w=f.splice,O=I(c,"Map"),E=I(Object,"create");function x(t){var e=-1,r=t?t.length:0;for(this.clear();++e-1},S.prototype.set=function(t,e){var r=this.__data__,n=T(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},D.prototype.clear=function(){this.__data__={hash:new x,map:new(O||S),string:new x}},D.prototype.delete=function(t){return P(this,t).delete(t)},D.prototype.get=function(t){return P(this,t).get(t)},D.prototype.has=function(t){return P(this,t).has(t)},D.prototype.set=function(t,e){return P(this,t).set(t,e),this},k.Cache=D,t.exports=k},24804:function(t,e,r){var n="Expected a function",o=NaN,i="[object Symbol]",a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,f="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,d="object"==typeof self&&self&&self.Object===Object&&self,p=f||d||Function("return this")(),h=Object.prototype.toString,g=Math.max,v=Math.min,y=function(){return p.Date.now()};function m(t,e,r){var o,i,a,s,u,c,l=0,f=!1,d=!1,p=!0;if("function"!=typeof t)throw new TypeError(n);function h(e){var r=o,n=i;return o=i=void 0,l=e,s=t.apply(n,r)}function m(t){var r=t-c;return void 0===c||r>=e||r<0||d&&t-l>=a}function O(){var t=y();if(m(t))return E(t);u=setTimeout(O,function(t){var r=e-(t-c);return d?v(r,a-(t-l)):r}(t))}function E(t){return u=void 0,p&&o?h(t):(o=i=void 0,s)}function x(){var t=y(),r=m(t);if(o=arguments,i=this,c=t,r){if(void 0===u)return function(t){return l=t,u=setTimeout(O,e),f?h(t):s}(c);if(d)return u=setTimeout(O,e),h(c)}return void 0===u&&(u=setTimeout(O,e)),s}return e=w(e)||0,b(r)&&(f=!!r.leading,a=(d="maxWait"in r)?g(w(r.maxWait)||0,e):a,p="trailing"in r?!!r.trailing:p),x.cancel=function(){void 0!==u&&clearTimeout(u),l=0,o=c=i=u=void 0},x.flush=function(){return void 0===u?s:E(y())},x}function b(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function w(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&h.call(t)==i}(t))return o;if(b(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=b(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var r=u.test(t);return r||c.test(t)?l(t.slice(2),r?2:8):s.test(t)?o:+t}t.exports=function(t,e,r){var o=!0,i=!0;if("function"!=typeof t)throw new TypeError(n);return b(r)&&(o="leading"in r?!!r.leading:o,i="trailing"in r?!!r.trailing:i),m(t,e,{leading:o,maxWait:e,trailing:i})}},74363:function(t,e,r){"use strict";var n=this&&this.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function s(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){t.done?o(t.value):new r((function(e){e(t.value)})).then(a,s)}u((n=n.apply(t,e||[])).next())}))},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const i=o(r(54464));function a(t,e="maxAge"){let r,o,a;const s=()=>n(this,void 0,void 0,(function*(){if(void 0!==r)return;const s=s=>n(this,void 0,void 0,(function*(){a=i.default();const n=s[1][e]-Date.now();return n<=0?(t.delete(s[0]),void a.resolve()):(r=s[0],o=setTimeout((()=>{t.delete(s[0]),a&&a.resolve()}),n),"function"==typeof o.unref&&o.unref(),a.promise)}));try{for(const e of t)yield s(e)}catch(t){}r=void 0})),u=t.set.bind(t);return t.set=(e,n)=>{t.has(e)&&t.delete(e);const i=u(e,n);return r&&r===e&&(r=void 0,void 0!==o&&(clearTimeout(o),o=void 0),void 0!==a&&(a.reject(void 0),a=void 0)),s(),i},s(),t}e.default=a,t.exports=a,t.exports.default=a},56033:function(t,e,r){"use strict";const n=r(60672),o=r(74363),i=new WeakMap,a=new WeakMap,s=(t,{cacheKey:e,cache:r=new Map,maxAge:i}={})=>{"number"==typeof i&&o(r);const s=function(...n){const o=e?e(n):n[0],a=r.get(o);if(a)return a.data;const s=t.apply(this,n);return r.set(o,{data:s,maxAge:i?Date.now()+i:Number.POSITIVE_INFINITY}),s};return n(s,t,{ignoreNonConfigurable:!0}),a.set(s,r),s};s.decorator=(t={})=>(e,r,n)=>{const o=e[r];if("function"!=typeof o)throw new TypeError("The decorated value must be a function");delete n.value,delete n.writable,n.get=function(){if(!i.has(this)){const e=s(o,t);return i.set(this,e),e}return i.get(this)}},s.clear=t=>{const e=a.get(t);if(!e)throw new TypeError("Can't clear a function that was not memoized!");if("function"!=typeof e.clear)throw new TypeError("The cache Map can't be cleared!");e.clear()},t.exports=s},60672:function(t){"use strict";const e=(t,e,n,o)=>{if("length"===n||"prototype"===n)return;if("arguments"===n||"caller"===n)return;const i=Object.getOwnPropertyDescriptor(t,n),a=Object.getOwnPropertyDescriptor(e,n);!r(i,a)&&o||Object.defineProperty(t,n,a)},r=function(t,e){return void 0===t||t.configurable||t.writable===e.writable&&t.enumerable===e.enumerable&&t.configurable===e.configurable&&(t.writable||t.value===e.value)},n=(t,e)=>`/* Wrapped ${t}*/\n${e}`,o=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),i=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name");t.exports=(t,r,{ignoreNonConfigurable:a=!1}={})=>{const{name:s}=t;for(const n of Reflect.ownKeys(r))e(t,r,n,a);return((t,e)=>{const r=Object.getPrototypeOf(e);r!==Object.getPrototypeOf(t)&&Object.setPrototypeOf(t,r)})(t,r),((t,e,r)=>{const a=""===r?"":`with ${r.trim()}() `,s=n.bind(null,a,e.toString());Object.defineProperty(s,"name",i),Object.defineProperty(t,"toString",{...o,value:s})})(t,r,s),t}},54464:function(t){"use strict";t.exports=()=>{const t={};return t.promise=new Promise(((e,r)=>{t.resolve=e,t.reject=r})),t}},82244:function(t,e,r){"use strict";var n=r(47891);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},93266:function(t,e,r){t.exports=r(82244)()},47891:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},54285:function(t,e,r){"use strict";const n=r(45466),o=r(77056),i=r(79202),a=r(59325),s=Symbol("encodeFragmentIdentifier");function u(t){if("string"!=typeof t||1!==t.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(t,e){return e.encode?e.strict?n(t):encodeURIComponent(t):t}function l(t,e){return e.decode?o(t):t}function f(t){return Array.isArray(t)?t.sort():"object"==typeof t?f(Object.keys(t)).sort(((t,e)=>Number(t)-Number(e))).map((e=>t[e])):t}function d(t){const e=t.indexOf("#");return-1!==e&&(t=t.slice(0,e)),t}function p(t){const e=(t=d(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function h(t,e){return e.parseNumbers&&!Number.isNaN(Number(t))&&"string"==typeof t&&""!==t.trim()?t=Number(t):!e.parseBooleans||null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()||(t="true"===t.toLowerCase()),t}function g(t,e){u((e=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},e)).arrayFormatSeparator);const r=function(t){let e;switch(t.arrayFormat){case"index":return(t,r,n)=>{e=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),e?(void 0===n[t]&&(n[t]={}),n[t][e[1]]=r):n[t]=r};case"bracket":return(t,r,n)=>{e=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),e?void 0!==n[t]?n[t]=[].concat(n[t],r):n[t]=[r]:n[t]=r};case"comma":case"separator":return(e,r,n)=>{const o="string"==typeof r&&r.includes(t.arrayFormatSeparator),i="string"==typeof r&&!o&&l(r,t).includes(t.arrayFormatSeparator);r=i?l(r,t):r;const a=o||i?r.split(t.arrayFormatSeparator).map((e=>l(e,t))):null===r?r:l(r,t);n[e]=a};case"bracket-separator":return(e,r,n)=>{const o=/(\[\])$/.test(e);if(e=e.replace(/\[\]$/,""),!o)return void(n[e]=r?l(r,t):r);const i=null===r?[]:r.split(t.arrayFormatSeparator).map((e=>l(e,t)));void 0!==n[e]?n[e]=[].concat(n[e],i):n[e]=i};default:return(t,e,r)=>{void 0!==r[t]?r[t]=[].concat(r[t],e):r[t]=e}}}(e),n=Object.create(null);if("string"!=typeof t)return n;if(!(t=t.trim().replace(/^[?#&]/,"")))return n;for(const o of t.split("&")){if(""===o)continue;let[t,a]=i(e.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?a:l(a,e),r(l(t,e),a,n)}for(const t of Object.keys(n)){const r=n[t];if("object"==typeof r&&null!==r)for(const t of Object.keys(r))r[t]=h(r[t],e);else n[t]=h(r,e)}return!1===e.sort?n:(!0===e.sort?Object.keys(n).sort():Object.keys(n).sort(e.sort)).reduce(((t,e)=>{const r=n[e];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?t[e]=f(r):t[e]=r,t}),Object.create(null))}e.extract=p,e.parse=g,e.stringify=(t,e)=>{if(!t)return"";u((e=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},e)).arrayFormatSeparator);const r=r=>e.skipNull&&null==t[r]||e.skipEmptyString&&""===t[r],n=function(t){switch(t.arrayFormat){case"index":return e=>(r,n)=>{const o=r.length;return void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:null===n?[...r,[c(e,t),"[",o,"]"].join("")]:[...r,[c(e,t),"[",c(o,t),"]=",c(n,t)].join("")]};case"bracket":return e=>(r,n)=>void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:null===n?[...r,[c(e,t),"[]"].join("")]:[...r,[c(e,t),"[]=",c(n,t)].join("")];case"comma":case"separator":case"bracket-separator":{const e="bracket-separator"===t.arrayFormat?"[]=":"=";return r=>(n,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?n:(o=null===o?"":o,0===n.length?[[c(r,t),e,c(o,t)].join("")]:[[n,c(o,t)].join(t.arrayFormatSeparator)])}default:return e=>(r,n)=>void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:null===n?[...r,c(e,t)]:[...r,[c(e,t),"=",c(n,t)].join("")]}}(e),o={};for(const e of Object.keys(t))r(e)||(o[e]=t[e]);const i=Object.keys(o);return!1!==e.sort&&i.sort(e.sort),i.map((r=>{const o=t[r];return void 0===o?"":null===o?c(r,e):Array.isArray(o)?0===o.length&&"bracket-separator"===e.arrayFormat?c(r,e)+"[]":o.reduce(n(r),[]).join("&"):c(r,e)+"="+c(o,e)})).filter((t=>t.length>0)).join("&")},e.parseUrl=(t,e)=>{e=Object.assign({decode:!0},e);const[r,n]=i(t,"#");return Object.assign({url:r.split("?")[0]||"",query:g(p(t),e)},e&&e.parseFragmentIdentifier&&n?{fragmentIdentifier:l(n,e)}:{})},e.stringifyUrl=(t,r)=>{r=Object.assign({encode:!0,strict:!0,[s]:!0},r);const n=d(t.url).split("?")[0]||"",o=e.extract(t.url),i=e.parse(o,{sort:!1}),a=Object.assign(i,t.query);let u=e.stringify(a,r);u&&(u=`?${u}`);let l=function(t){let e="";const r=t.indexOf("#");return-1!==r&&(e=t.slice(r)),e}(t.url);return t.fragmentIdentifier&&(l=`#${r[s]?c(t.fragmentIdentifier,r):t.fragmentIdentifier}`),`${n}${u}${l}`},e.pick=(t,r,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[s]:!1},n);const{url:o,query:i,fragmentIdentifier:u}=e.parseUrl(t,n);return e.stringifyUrl({url:o,query:a(i,r),fragmentIdentifier:u},n)},e.exclude=(t,r,n)=>{const o=Array.isArray(r)?t=>!r.includes(t):(t,e)=>!r(t,e);return e.pick(t,o,n)}},80960:function(t,e,r){var n=r(26322);var o=function(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}(n);function i(){return(i=Object.assign||function(t){for(var e=1;e=0||(o[r]=t[r]);return o}function s(t){var e=n.useRef(t),r=n.useRef((function(t){e.current&&e.current(t)}));return e.current=t,r.current}var u=function(t,e,r){return void 0===e&&(e=0),void 0===r&&(r=1),t>r?r:t0:t.buttons>0)&&p.current?h(f(p.current,t,v.current)):r(!1)},e=function(){return r(!1)};function r(r){var n=y.current,o=l(p.current),i=r?o.addEventListener:o.removeEventListener;i(n?"touchmove":"mousemove",t),i(n?"touchend":"mouseup",e)}return[function(t){var e=t.nativeEvent,n=p.current;if(n&&(d(e),!function(t,e){return e&&!c(t)}(e,y.current)&&n)){if(c(e)){y.current=!0;var o=e.changedTouches||[];o.length&&(v.current=o[0].identifier)}n.focus(),h(f(n,e,v.current)),r(!0)}},function(t){var e=t.which||t.keyCode;e<37||e>40||(t.preventDefault(),g({left:39===e?.05:37===e?-.05:0,top:40===e?.05:38===e?-.05:0}))},r]}),[g,h]),b=m[0],w=m[1],O=m[2];return n.useEffect((function(){return O}),[O]),o.default.createElement("div",i({},u,{onTouchStart:b,onMouseDown:b,className:"react-colorful__interactive",ref:p,onKeyDown:w,tabIndex:0,role:"slider"}))})),h=function(t){return t.filter(Boolean).join(" ")},g=function(t){var e=t.color,r=t.left,n=t.top,i=void 0===n?.5:n,a=h(["react-colorful__pointer",t.className]);return o.default.createElement("div",{className:a,style:{top:100*i+"%",left:100*r+"%"}},o.default.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:e}}))},v=function(t,e,r){return void 0===e&&(e=0),void 0===r&&(r=Math.pow(10,e)),Math.round(r*t)/r},y={grad:.9,turn:360,rad:360/(2*Math.PI)},m=function(t){return M(b(t))},b=function(t){return"#"===t[0]&&(t=t.substring(1)),t.length<6?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:4===t.length?v(parseInt(t[3]+t[3],16)/255,2):1}:{r:parseInt(t.substring(0,2),16),g:parseInt(t.substring(2,4),16),b:parseInt(t.substring(4,6),16),a:8===t.length?v(parseInt(t.substring(6,8),16)/255,2):1}},w=function(t,e){return void 0===e&&(e="deg"),Number(t)*(y[e]||1)},O=function(t){var e=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(t);return e?x({h:w(e[1],e[2]),s:Number(e[3]),l:Number(e[4]),a:void 0===e[5]?1:Number(e[5])/(e[6]?100:1)}):{h:0,s:0,v:0,a:1}},E=O,x=function(t){var e=t.s,r=t.l;return{h:t.h,s:(e*=(r<50?r:100-r)/100)>0?2*e/(r+e)*100:0,v:r+e,a:t.a}},S=function(t){return A(P(t))},D=function(t){var e=t.s,r=t.v,n=t.a,o=(200-e)*r/100;return{h:v(t.h),s:v(o>0&&o<200?e*r/100/(o<=100?o:200-o)*100:0),l:v(o/2),a:v(n,2)}},T=function(t){var e=D(t);return"hsl("+e.h+", "+e.s+"%, "+e.l+"%)"},C=function(t){var e=D(t);return"hsla("+e.h+", "+e.s+"%, "+e.l+"%, "+e.a+")"},P=function(t){var e=t.h,r=t.s,n=t.v,o=t.a;e=e/360*6,r/=100,n/=100;var i=Math.floor(e),a=n*(1-r),s=n*(1-(e-i)*r),u=n*(1-(1-e+i)*r),c=i%6;return{r:v(255*[n,s,a,a,u,n][c]),g:v(255*[u,n,n,s,a,a][c]),b:v(255*[a,a,u,n,n,s][c]),a:v(o,2)}},I=function(t){var e=/hsva?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(t);return e?R({h:w(e[1],e[2]),s:Number(e[3]),v:Number(e[4]),a:void 0===e[5]?1:Number(e[5])/(e[6]?100:1)}):{h:0,s:0,v:0,a:1}},k=I,N=function(t){var e=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(t);return e?M({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:void 0===e[7]?1:Number(e[7])/(e[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=N,_=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},A=function(t){var e=t.r,r=t.g,n=t.b,o=t.a,i=o<1?_(v(255*o)):"";return"#"+_(e)+_(r)+_(n)+i},M=function(t){var e=t.r,r=t.g,n=t.b,o=t.a,i=Math.max(e,r,n),a=i-Math.min(e,r,n),s=a?i===e?(r-n)/a:i===r?2+(n-e)/a:4+(e-r)/a:0;return{h:v(60*(s<0?s+6:s)),s:v(i?a/i*100:0),v:v(i/255*100),a:o}},R=function(t){return{h:v(t.h),s:v(t.s),v:v(t.v),a:v(t.a,2)}},L=o.default.memo((function(t){var e=t.hue,r=t.onChange,n=h(["react-colorful__hue",t.className]);return o.default.createElement("div",{className:n},o.default.createElement(p,{onMove:function(t){r({h:360*t.left})},onKey:function(t){r({h:u(e+360*t.left,0,360)})},"aria-label":"Hue","aria-valuenow":v(e),"aria-valuemax":"360","aria-valuemin":"0"},o.default.createElement(g,{className:"react-colorful__hue-pointer",left:e/360,color:T({h:e,s:100,v:100,a:1})})))})),F=o.default.memo((function(t){var e=t.hsva,r=t.onChange,n={backgroundColor:T({h:e.h,s:100,v:100,a:1})};return o.default.createElement("div",{className:"react-colorful__saturation",style:n},o.default.createElement(p,{onMove:function(t){r({s:100*t.left,v:100-100*t.top})},onKey:function(t){r({s:u(e.s+100*t.left,0,100),v:u(e.v-100*t.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+v(e.s)+"%, Brightness "+v(e.v)+"%"},o.default.createElement(g,{className:"react-colorful__saturation-pointer",top:1-e.v/100,left:e.s/100,color:T(e)})))})),H=function(t,e){if(t===e)return!0;for(var r in t)if(t[r]!==e[r])return!1;return!0},B=function(t,e){return t.replace(/\s/g,"")===e.replace(/\s/g,"")},q=function(t,e){return t.toLowerCase()===e.toLowerCase()||H(b(t),b(e))};function z(t,e,r){var o=s(r),i=n.useState((function(){return t.toHsva(e)})),a=i[0],u=i[1],c=n.useRef({color:e,hsva:a});n.useEffect((function(){if(!t.equal(e,c.current.color)){var r=t.toHsva(e);c.current={hsva:r,color:e},u(r)}}),[e,t]),n.useEffect((function(){var e;H(a,c.current.hsva)||t.equal(e=t.fromHsva(a),c.current.color)||(c.current={hsva:a,color:e},o(e))}),[a,t,o]);var l=n.useCallback((function(t){u((function(e){return Object.assign({},e,t)}))}),[]);return[a,l]}var U,$="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,V=new Map,W=function(t){$((function(){var e=t.current?t.current.ownerDocument:document;if(void 0!==e&&!V.has(e)){var n=e.createElement("style");n.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',V.set(e,n);var o=U||r.nc;o&&n.setAttribute("nonce",o),e.head.appendChild(n)}}),[])},Y=function(t){var e=t.className,r=t.colorModel,s=t.color,u=void 0===s?r.defaultColor:s,c=t.onChange,l=a(t,["className","colorModel","color","onChange"]),f=n.useRef(null);W(f);var d=z(r,u,c),p=d[0],g=d[1],v=h(["react-colorful",e]);return o.default.createElement("div",i({},l,{ref:f,className:v}),o.default.createElement(F,{hsva:p,onChange:g}),o.default.createElement(L,{hue:p.h,onChange:g,className:"react-colorful__last-control"}))},G={defaultColor:"000",toHsva:m,fromHsva:function(t){return S({h:t.h,s:t.s,v:t.v,a:1})},equal:q},K=function(t){var e=t.className,r=t.hsva,n=t.onChange,i={backgroundImage:"linear-gradient(90deg, "+C(Object.assign({},r,{a:0}))+", "+C(Object.assign({},r,{a:1}))+")"},a=h(["react-colorful__alpha",e]),s=v(100*r.a);return o.default.createElement("div",{className:a},o.default.createElement("div",{className:"react-colorful__alpha-gradient",style:i}),o.default.createElement(p,{onMove:function(t){n({a:t.left})},onKey:function(t){n({a:u(r.a+t.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},o.default.createElement(g,{className:"react-colorful__alpha-pointer",left:r.a,color:C(r)})))},X=function(t){var e=t.className,r=t.colorModel,s=t.color,u=void 0===s?r.defaultColor:s,c=t.onChange,l=a(t,["className","colorModel","color","onChange"]),f=n.useRef(null);W(f);var d=z(r,u,c),p=d[0],g=d[1],v=h(["react-colorful",e]);return o.default.createElement("div",i({},l,{ref:f,className:v}),o.default.createElement(F,{hsva:p,onChange:g}),o.default.createElement(L,{hue:p.h,onChange:g}),o.default.createElement(K,{hsva:p,onChange:g,className:"react-colorful__last-control"}))},J={defaultColor:"0001",toHsva:m,fromHsva:S,equal:q},Z={defaultColor:{h:0,s:0,l:0,a:1},toHsva:x,fromHsva:D,equal:H},Q={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:O,fromHsva:C,equal:B},tt={defaultColor:{h:0,s:0,l:0},toHsva:function(t){return x({h:t.h,s:t.s,l:t.l,a:1})},fromHsva:function(t){return{h:(e=D(t)).h,s:e.s,l:e.l};var e},equal:H},et={defaultColor:"hsl(0, 0%, 0%)",toHsva:E,fromHsva:T,equal:B},rt={defaultColor:{h:0,s:0,v:0,a:1},toHsva:function(t){return t},fromHsva:R,equal:H},nt={defaultColor:"hsva(0, 0%, 0%, 1)",toHsva:I,fromHsva:function(t){var e=R(t);return"hsva("+e.h+", "+e.s+"%, "+e.v+"%, "+e.a+")"},equal:B},ot={defaultColor:{h:0,s:0,v:0},toHsva:function(t){return{h:t.h,s:t.s,v:t.v,a:1}},fromHsva:function(t){var e=R(t);return{h:e.h,s:e.s,v:e.v}},equal:H},it={defaultColor:"hsv(0, 0%, 0%)",toHsva:k,fromHsva:function(t){var e=R(t);return"hsv("+e.h+", "+e.s+"%, "+e.v+"%)"},equal:B},at={defaultColor:{r:0,g:0,b:0,a:1},toHsva:M,fromHsva:P,equal:H},st={defaultColor:"rgba(0, 0, 0, 1)",toHsva:N,fromHsva:function(t){var e=P(t);return"rgba("+e.r+", "+e.g+", "+e.b+", "+e.a+")"},equal:B},ut={defaultColor:{r:0,g:0,b:0},toHsva:function(t){return M({r:t.r,g:t.g,b:t.b,a:1})},fromHsva:function(t){return{r:(e=P(t)).r,g:e.g,b:e.b};var e},equal:H},ct={defaultColor:"rgb(0, 0, 0)",toHsva:j,fromHsva:function(t){var e=P(t);return"rgb("+e.r+", "+e.g+", "+e.b+")"},equal:B},lt=/^#?([0-9A-F]{3,8})$/i,ft=function(t){var e=t.color,r=void 0===e?"":e,u=t.onChange,c=t.onBlur,l=t.escape,f=t.validate,d=t.format,p=t.process,h=a(t,["color","onChange","onBlur","escape","validate","format","process"]),g=n.useState((function(){return l(r)})),v=g[0],y=g[1],m=s(u),b=s(c),w=n.useCallback((function(t){var e=l(t.target.value);y(e),f(e)&&m(p?p(e):e)}),[l,p,f,m]),O=n.useCallback((function(t){f(t.target.value)||y(l(r)),b(t)}),[r,l,f,b]);return n.useEffect((function(){y(l(r))}),[r,l]),o.default.createElement("input",i({},h,{value:d?d(v):v,spellCheck:"false",onChange:w,onBlur:O}))},dt=function(t){return"#"+t};e.HexAlphaColorPicker=function(t){return o.default.createElement(X,i({},t,{colorModel:J}))},e.HexColorInput=function(t){var e=t.prefixed,r=t.alpha,s=a(t,["prefixed","alpha"]),u=n.useCallback((function(t){return t.replace(/([^0-9A-F]+)/gi,"").substring(0,r?8:6)}),[r]),c=n.useCallback((function(t){return function(t,e){var r=lt.exec(t),n=r?r[1].length:0;return 3===n||6===n||!!e&&4===n||!!e&&8===n}(t,r)}),[r]);return o.default.createElement(ft,i({},s,{escape:u,format:e?dt:void 0,process:dt,validate:c}))},e.HexColorPicker=function(t){return o.default.createElement(Y,i({},t,{colorModel:G}))},e.HslColorPicker=function(t){return o.default.createElement(Y,i({},t,{colorModel:tt}))},e.HslStringColorPicker=function(t){return o.default.createElement(Y,i({},t,{colorModel:et}))},e.HslaColorPicker=function(t){return o.default.createElement(X,i({},t,{colorModel:Z}))},e.HslaStringColorPicker=function(t){return o.default.createElement(X,i({},t,{colorModel:Q}))},e.HsvColorPicker=function(t){return o.default.createElement(Y,i({},t,{colorModel:ot}))},e.HsvStringColorPicker=function(t){return o.default.createElement(Y,i({},t,{colorModel:it}))},e.HsvaColorPicker=function(t){return o.default.createElement(X,i({},t,{colorModel:rt}))},e.HsvaStringColorPicker=function(t){return o.default.createElement(X,i({},t,{colorModel:nt}))},e.RgbColorPicker=function(t){return o.default.createElement(Y,i({},t,{colorModel:ut}))},e.RgbStringColorPicker=function(t){return o.default.createElement(Y,i({},t,{colorModel:ct}))},e.RgbaColorPicker=function(t){return o.default.createElement(X,i({},t,{colorModel:at}))},e.RgbaStringColorPicker=function(t){return o.default.createElement(X,i({},t,{colorModel:st}))},e.setNonce=function(t){U=t}},13100:function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(r(93266)),s=i(r(26322)),u=function(t){function e(r){var n=t.call(this,r)||this;return n.resetDragging=function(){n.frameDragCounter=0,n.setState({draggingOverFrame:!1,draggingOverTarget:!1})},n.handleWindowDragOverOrDrop=function(t){t.preventDefault()},n.handleFrameDrag=function(t){if(e.eventHasFiles(t))return n.frameDragCounter+="dragenter"===t.type?1:-1,1===n.frameDragCounter?(n.setState({draggingOverFrame:!0}),void(n.props.onFrameDragEnter&&n.props.onFrameDragEnter(t))):0===n.frameDragCounter?(n.setState({draggingOverFrame:!1}),void(n.props.onFrameDragLeave&&n.props.onFrameDragLeave(t))):void 0},n.handleFrameDrop=function(t){n.state.draggingOverTarget||(n.resetDragging(),n.props.onFrameDrop&&n.props.onFrameDrop(t))},n.handleDragOver=function(t){e.eventHasFiles(t)&&(n.setState({draggingOverTarget:!0}),!e.isIE()&&n.props.dropEffect&&(t.dataTransfer.dropEffect=n.props.dropEffect),n.props.onDragOver&&n.props.onDragOver(t))},n.handleDragLeave=function(t){n.setState({draggingOverTarget:!1}),n.props.onDragLeave&&n.props.onDragLeave(t)},n.handleDrop=function(t){if(n.props.onDrop&&e.eventHasFiles(t)){var r=t.dataTransfer?t.dataTransfer.files:null;n.props.onDrop(r,t)}n.resetDragging()},n.handleTargetClick=function(t){n.props.onTargetClick&&n.props.onTargetClick(t),n.resetDragging()},n.stopFrameListeners=function(t){t&&(t.removeEventListener("dragenter",n.handleFrameDrag),t.removeEventListener("dragleave",n.handleFrameDrag),t.removeEventListener("drop",n.handleFrameDrop))},n.startFrameListeners=function(t){t&&(t.addEventListener("dragenter",n.handleFrameDrag),t.addEventListener("dragleave",n.handleFrameDrag),t.addEventListener("drop",n.handleFrameDrop))},n.frameDragCounter=0,n.state={draggingOverFrame:!1,draggingOverTarget:!1},n}return o(e,t),e.prototype.componentDidMount=function(){this.startFrameListeners(this.props.frame),this.resetDragging(),window.addEventListener("dragover",this.handleWindowDragOverOrDrop),window.addEventListener("drop",this.handleWindowDragOverOrDrop)},e.prototype.componentDidUpdate=function(t){t.frame!==this.props.frame&&(this.resetDragging(),this.stopFrameListeners(t.frame),this.startFrameListeners(this.props.frame))},e.prototype.componentWillUnmount=function(){this.stopFrameListeners(this.props.frame),window.removeEventListener("dragover",this.handleWindowDragOverOrDrop),window.removeEventListener("drop",this.handleWindowDragOverOrDrop)},e.prototype.render=function(){var t=this.props,e=t.children,r=t.className,n=t.targetClassName,o=t.draggingOverFrameClassName,i=t.draggingOverTargetClassName,a=this.state,u=a.draggingOverTarget,c=n;return a.draggingOverFrame&&(c+=" "+o),u&&(c+=" "+i),s.default.createElement("div",{className:r,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},s.default.createElement("div",{className:c,onClick:this.handleTargetClick},e))},e.isIE=function(){return"undefined"!=typeof window&&(-1!==window.navigator.userAgent.indexOf("MSIE")||window.navigator.appVersion.indexOf("Trident/")>0)},e.eventHasFiles=function(t){var e=!1;if(t.dataTransfer){var r=t.dataTransfer.types;for(var n in r)if("Files"===r[n]){e=!0;break}}return e},e.propTypes={className:a.default.string,targetClassName:a.default.string,draggingOverFrameClassName:a.default.string,draggingOverTargetClassName:a.default.string,onDragOver:a.default.func,onDragLeave:a.default.func,onDrop:a.default.func,onTargetClick:a.default.func,dropEffect:a.default.oneOf(["copy","move","link","none"]),frame:function(t,e,r){var n=t[e];return null==n?new Error("Warning: Required prop `"+e+"` was not specified in `"+r+"`"):n===document||n instanceof HTMLElement?void 0:new Error("Warning: Prop `"+e+"` must be one of the following: document, HTMLElement!")},onFrameDragEnter:a.default.func,onFrameDragLeave:a.default.func,onFrameDrop:a.default.func},e.defaultProps={dropEffect:"copy",frame:"undefined"==typeof window?void 0:window.document,className:"file-drop",targetClassName:"file-drop-target",draggingOverFrameClassName:"file-drop-dragging-over-frame",draggingOverTargetClassName:"file-drop-dragging-over-target"},e}(s.default.PureComponent);e.FileDrop=u},78314:function(t,e,r){var n;n=t=>(()=>{var e={703:(t,e,r)=>{"use strict";var n=r(414);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},697:(t,e,r)=>{t.exports=r(703)()},414:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:e=>{"use strict";e.exports=t}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={exports:{}};return e[t](i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};return(()=>{"use strict";n.r(o),n.d(o,{default:()=>w});var t=n(98),e=n.n(t),r=n(697),i=n.n(r);function a(){return a=Object.assign?Object.assign.bind():function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:""}function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function h(){return h=Object.assign?Object.assign.bind():function(t){for(var e=1;e0?e-1:void 0,{isPrevious:!0})})),m(v(r),"handleNextPage",(function(t){var e=r.state.selected,n=r.props.pageCount;r.handleClick(t,null,e3&&void 0!==arguments[3]?arguments[3]:{},i=o.isPrevious,a=void 0!==i&&i,s=o.isNext,u=void 0!==s&&s,c=o.isBreak,l=void 0!==c&&c,f=o.isActive,d=void 0!==f&&f;t.preventDefault?t.preventDefault():t.returnValue=!1;var p=r.state.selected,h=r.props.onClick,g=n;if(h){var v=h({index:e,selected:p,nextSelectedPage:n,event:t,isPrevious:a,isNext:u,isBreak:l,isActive:d});if(!1===v)return;Number.isInteger(v)&&(g=v)}void 0!==g&&r.handlePageChange(g)})),m(v(r),"handleBreakClick",(function(t,e){var n=r.state.selected;r.handleClick(e,t,ni-o/2?h=o-(g=i-d):di-a)b.push({type:"page",index:v,display:m(v)});else if(v>=d-h&&v<=d+(0===d&&o>1?g-1:g))b.push({type:"page",index:v,display:m(v)});else if(s&&b.length>0&&b[b.length-1].display!==y&&(o>0||a>0)){var O=v=r?r-1:n}},{key:"getBackwardJump",value:function(){var t=this.state.selected-this.props.pageRangeDisplayed;return t<0?0:t}},{key:"getElementHref",value:function(t){var e=this.props,r=e.hrefBuilder,n=e.pageCount,o=e.hrefAllControls;if(r)return o||t>=0&&t=0&&t>>1,o=t[n];if(!(0>>1;ni(u,r))ci(l,u)?(t[n]=l,t[c]=r,n=c):(t[n]=u,t[s]=r,n=s);else{if(!(ci(l,r)))break t;t[n]=l,t[c]=r,n=c}}}return e}function i(t,e){var r=t.sortIndex-e.sortIndex;return 0!==r?r:t.id-e.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();e.unstable_now=function(){return s.now()-u}}var c=[],l=[],f=1,d=null,p=3,h=!1,g=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,m="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(t){for(var e=n(l);null!==e;){if(null===e.callback)o(l);else{if(!(e.startTime<=t))break;o(l),e.sortIndex=e.expirationTime,r(c,e)}e=n(l)}}function O(t){if(v=!1,w(t),!g)if(null!==n(c))g=!0,_(E);else{var e=n(l);null!==e&&A(O,e.startTime-t)}}function E(t,r){g=!1,v&&(v=!1,m(T),T=-1),h=!0;var i=p;try{for(w(r),d=n(c);null!==d&&(!(d.expirationTime>r)||t&&!I());){var a=d.callback;if("function"==typeof a){d.callback=null,p=d.priorityLevel;var s=a(d.expirationTime<=r);r=e.unstable_now(),"function"==typeof s?d.callback=s:d===n(c)&&o(c),w(r)}else o(c);d=n(c)}if(null!==d)var u=!0;else{var f=n(l);null!==f&&A(O,f.startTime-r),u=!1}return u}finally{d=null,p=i,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,S=!1,D=null,T=-1,C=5,P=-1;function I(){return!(e.unstable_now()-Pt||125a?(t.sortIndex=i,r(l,t),null===n(c)&&t===n(l)&&(v?(m(T),T=-1):v=!0,A(O,i-a))):(t.sortIndex=s,r(c,t),g||h||(g=!0,_(E))),t},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(t){var e=p;return function(){var r=p;p=e;try{return t.apply(this,arguments)}finally{p=r}}}},23576:function(t,e,r){"use strict";t.exports=r(70797)},79202:function(t){"use strict";t.exports=(t,e)=>{if("string"!=typeof t||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===e)return[t];const r=t.indexOf(e);return-1===r?[t]:[t.slice(0,r),t.slice(r+e.length)]}},45466:function(t){"use strict";t.exports=t=>encodeURIComponent(t).replace(/[!'()*]/g,(t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`))},2574:function(t,e,r){var n=r(93389);t.exports=function(t){return null==t?"\\s":t.source?t.source:"["+n(t)+"]"}},93389:function(t,e,r){var n=r(148);t.exports=function(t){return n(t).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}},76969:function(t){t.exports={nbsp:" ",cent:"¢",pound:"£",yen:"¥",euro:"€",copy:"©",reg:"®",lt:"<",gt:">",quot:'"',amp:"&",apos:"'"}},148:function(t){t.exports=function(t){return null==t?"":""+t}},2029:function(t,e,r){var n=r(148);t.exports=function(t){return n(t).replace(/<\/?[^>]+>/g,"")}},41780:function(t,e,r){var n=r(148),o=r(2574),i=String.prototype.trim;t.exports=function(t,e){return t=n(t),!e&&i?i.call(t):(e=o(e),t.replace(new RegExp("^"+e+"+|"+e+"+$","g"),""))}},39105:function(t,e,r){var n=r(148),o=r(76969);t.exports=function(t){return n(t).replace(/\&([^;]{1,10});/g,(function(t,e){var r;return e in o?o[e]:(r=e.match(/^#x([\da-fA-F]+)$/))?String.fromCharCode(parseInt(r[1],16)):(r=e.match(/^#(\d+)$/))?String.fromCharCode(~~r[1]):t}))}},48126:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return a}});var n=r(26322);function o(t){let e;const r=new Set,n=(t,n)=>{const o="function"==typeof t?t(e):t;if(o!==e){const t=e;e=n?o:Object.assign({},e,o),r.forEach((r=>r(e,t)))}},o=()=>e,i={setState:n,getState:o,subscribe:(t,n,i)=>n||i?((t,n=o,i=Object.is)=>{let a=n(e);function s(){const r=n(e);if(!i(a,r)){const e=a;t(a=r,e)}}return r.add(s),()=>r.delete(s)})(t,n,i):(r.add(t),()=>r.delete(t)),destroy:()=>r.clear()};return e=t(n,o,i),i}const i="undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)?n.useEffect:n.useLayoutEffect;function a(t){const e="function"==typeof t?o(t):t,r=(t=e.getState,r=Object.is)=>{const[,o]=(0,n.useReducer)((t=>t+1),0),a=e.getState(),s=(0,n.useRef)(a),u=(0,n.useRef)(t),c=(0,n.useRef)(r),l=(0,n.useRef)(!1),f=(0,n.useRef)();let d;void 0===f.current&&(f.current=t(a));let p=!1;(s.current!==a||u.current!==t||c.current!==r||l.current)&&(d=t(a),p=!r(f.current,d)),i((()=>{p&&(f.current=d),s.current=a,u.current=t,c.current=r,l.current=!1}));const h=(0,n.useRef)(a);i((()=>{const t=()=>{try{const t=e.getState(),r=u.current(t);c.current(f.current,r)||(s.current=t,f.current=r,o())}catch(t){l.current=!0,o()}},r=e.subscribe(t);return e.getState()!==h.current&&t(),r}),[]);const g=p?d:f.current;return(0,n.useDebugValue)(g),g};return Object.assign(r,e),r[Symbol.iterator]=function(){const t=[r,e];return{next(){const e=t.length<=0;return{value:t.shift(),done:e}}}},r}},79321:function(t,e,r){var n=r(85898).default;function o(){"use strict";t.exports=o=function(){return r},t.exports.__esModule=!0,t.exports.default=t.exports;var e,r={},i=Object.prototype,a=i.hasOwnProperty,s=Object.defineProperty||function(t,e,r){t[e]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(e){d=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof w?e:w,i=Object.create(o.prototype),a=new _(n||[]);return s(i,"_invoke",{value:I(t,r,a)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=p;var g="suspendedStart",v="suspendedYield",y="executing",m="completed",b={};function w(){}function O(){}function E(){}var x={};d(x,c,(function(){return this}));var S=Object.getPrototypeOf,D=S&&S(S(A([])));D&&D!==i&&a.call(D,c)&&(x=D);var T=E.prototype=w.prototype=Object.create(x);function C(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function r(o,i,s,u){var c=h(t[o],t,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==n(f)&&a.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,s,u)}),(function(t){r("throw",t,s,u)})):e.resolve(f).then((function(t){l.value=t,s(l)}),(function(t){return r("throw",t,s,u)}))}u(c.arg)}var o;s(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function I(t,r,n){var o=g;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=k(s,n);if(u){if(u===b)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===g)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=h(t,r,n);if("normal"===c.type){if(o=n.done?m:v,c.arg===b)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=h(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function N(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},r}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},85898:function(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},78564:function(t,e,r){var n=r(79321)();t.exports=n;try{regeneratorRuntime=n}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},38141:function(t,e){"use strict";function r(t,e,r){return function(n,o){void 0===o&&(o=r);var i=t(n)+o;return e(i)}}function n(t){return function(e){return new Date(t(e).getTime()-1)}}function o(t,e){return function(r){return[t(r),e(r)]}}function i(t){if(t instanceof Date)return t.getFullYear();if("number"==typeof t)return t;var e=parseInt(t,10);if("string"==typeof t&&!isNaN(e))return e;throw new Error("Failed to get year from date: ".concat(t,"."))}function a(t){if(t instanceof Date)return t.getMonth();throw new Error("Failed to get month from date: ".concat(t,"."))}function s(t){if(t instanceof Date)return t.getMonth()+1;throw new Error("Failed to get human-readable month from date: ".concat(t,"."))}function u(t){if(t instanceof Date)return t.getDate();throw new Error("Failed to get year from date: ".concat(t,"."))}function c(t){if(t instanceof Date)return t.getHours();if("string"==typeof t){var e=t.split(":");if(e.length>=2){var r=e[0];if(r){var n=parseInt(r,10);if(!isNaN(n))return n}}}throw new Error("Failed to get hours from date: ".concat(t,"."))}function l(t){if(t instanceof Date)return t.getMinutes();if("string"==typeof t){var e=t.split(":");if(e.length>=2){var r=e[1]||"0",n=parseInt(r,10);if(!isNaN(n))return n}}throw new Error("Failed to get minutes from date: ".concat(t,"."))}function f(t){if(t instanceof Date)return t.getSeconds();if("string"==typeof t){var e=t.split(":");if(e.length>=2){var r=e[2]||"0",n=parseInt(r,10);if(!isNaN(n))return n}}throw new Error("Failed to get seconds from date: ".concat(t,"."))}function d(t){var e=i(t),r=e+(1-e)%100,n=new Date;return n.setFullYear(r,0,1),n.setHours(0,0,0,0),n}function p(t){var e=i(t),r=e+(1-e)%10,n=new Date;return n.setFullYear(r,0,1),n.setHours(0,0,0,0),n}function h(t){var e=i(t),r=new Date;return r.setFullYear(e,0,1),r.setHours(0,0,0,0),r}function g(t,e){return function(r,n){void 0===n&&(n=e);var o=i(r),s=a(r)+n,u=new Date;return u.setFullYear(o,s,1),u.setHours(0,0,0,0),t(u)}}function v(t){var e=i(t),r=a(t),n=new Date;return n.setFullYear(e,r,1),n.setHours(0,0,0,0),n}function y(t,e){return function(r,n){void 0===n&&(n=e);var o=i(r),s=a(r),c=u(r)+n,l=new Date;return l.setFullYear(o,s,c),l.setHours(0,0,0,0),t(l)}}function m(t){var e=i(t),r=a(t),n=u(t),o=new Date;return o.setFullYear(e,r,n),o.setHours(0,0,0,0),o}function b(t,e){void 0===e&&(e=2);var r="".concat(t);return r.length>=e?t:"0000".concat(r).slice(-e)}function w(t){var e=b(c(t)),r=b(l(t)),n=b(f(t));return"".concat(e,":").concat(r,":").concat(n)}function O(t){var e=b(i(t),4),r=b(s(t)),n=b(u(t));return"".concat(e,"-").concat(r,"-").concat(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.getISOLocalDateTime=e.getISOLocalDate=e.getISOLocalMonth=e.getHoursMinutesSeconds=e.getHoursMinutes=e.getDaysInMonth=e.getDayRange=e.getNextDayEnd=e.getPreviousDayEnd=e.getDayEnd=e.getNextDayStart=e.getPreviousDayStart=e.getDayStart=e.getMonthRange=e.getNextMonthEnd=e.getPreviousMonthEnd=e.getMonthEnd=e.getNextMonthStart=e.getPreviousMonthStart=e.getMonthStart=e.getYearRange=e.getNextYearEnd=e.getPreviousYearEnd=e.getYearEnd=e.getNextYearStart=e.getPreviousYearStart=e.getYearStart=e.getDecadeRange=e.getNextDecadeEnd=e.getPreviousDecadeEnd=e.getDecadeEnd=e.getNextDecadeStart=e.getPreviousDecadeStart=e.getDecadeStart=e.getCenturyRange=e.getNextCenturyEnd=e.getPreviousCenturyEnd=e.getCenturyEnd=e.getNextCenturyStart=e.getPreviousCenturyStart=e.getCenturyStart=e.getMilliseconds=e.getSeconds=e.getMinutes=e.getHours=e.getDate=e.getMonthHuman=e.getMonth=e.getYear=void 0,e.getYear=i,e.getMonth=a,e.getMonthHuman=s,e.getDate=u,e.getHours=c,e.getMinutes=l,e.getSeconds=f,e.getMilliseconds=function(t){if(t instanceof Date)return t.getMilliseconds();if("string"==typeof t){var e=t.split(":");if(e.length>=2){var r=(e[2]||"0").split(".")[1]||"0",n=parseInt(r,10);if(!isNaN(n))return n}}throw new Error("Failed to get seconds from date: ".concat(t,"."))},e.getCenturyStart=d,e.getPreviousCenturyStart=r(i,d,-100),e.getNextCenturyStart=r(i,d,100),e.getCenturyEnd=n(e.getNextCenturyStart),e.getPreviousCenturyEnd=r(i,e.getCenturyEnd,-100),e.getNextCenturyEnd=r(i,e.getCenturyEnd,100),e.getCenturyRange=o(d,e.getCenturyEnd),e.getDecadeStart=p,e.getPreviousDecadeStart=r(i,p,-10),e.getNextDecadeStart=r(i,p,10),e.getDecadeEnd=n(e.getNextDecadeStart),e.getPreviousDecadeEnd=r(i,e.getDecadeEnd,-10),e.getNextDecadeEnd=r(i,e.getDecadeEnd,10),e.getDecadeRange=o(p,e.getDecadeEnd),e.getYearStart=h,e.getPreviousYearStart=r(i,h,-1),e.getNextYearStart=r(i,h,1),e.getYearEnd=n(e.getNextYearStart),e.getPreviousYearEnd=r(i,e.getYearEnd,-1),e.getNextYearEnd=r(i,e.getYearEnd,1),e.getYearRange=o(h,e.getYearEnd),e.getMonthStart=v,e.getPreviousMonthStart=g(v,-1),e.getNextMonthStart=g(v,1),e.getMonthEnd=n(e.getNextMonthStart),e.getPreviousMonthEnd=g(e.getMonthEnd,-1),e.getNextMonthEnd=g(e.getMonthEnd,1),e.getMonthRange=o(v,e.getMonthEnd),e.getDayStart=m,e.getPreviousDayStart=y(m,-1),e.getNextDayStart=y(m,1),e.getDayEnd=n(e.getNextDayStart),e.getPreviousDayEnd=y(e.getDayEnd,-1),e.getNextDayEnd=y(e.getDayEnd,1),e.getDayRange=o(m,e.getDayEnd),e.getDaysInMonth=function(t){return u((0,e.getMonthEnd)(t))},e.getHoursMinutes=function(t){var e=b(c(t)),r=b(l(t));return"".concat(e,":").concat(r)},e.getHoursMinutesSeconds=w,e.getISOLocalMonth=function(t){var e=b(i(t),4),r=b(s(t));return"".concat(e,"-").concat(r)},e.getISOLocalDate=O,e.getISOLocalDateTime=function(t){return"".concat(O(t),"T").concat(w(t))}},25514:function(t,e,r){"use strict";var n=r(38389),o=r(24983),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},44546:function(t,e,r){"use strict";var n=r(38389),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},71461:function(t,e,r){"use strict";var n=r(8979),o=r(98584),i=r(49617).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&i(s,a,{configurable:!0,value:o(null)}),t.exports=function(t){s[a][t]=!0}},15365:function(t,e,r){"use strict";var n=r(33655).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},18039:function(t,e,r){"use strict";var n=r(74937),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new o("Incorrect invocation")}},45735:function(t,e,r){"use strict";var n=r(20962),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},3524:function(t,e,r){"use strict";var n=r(79391);t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},81409:function(t,e,r){"use strict";var n=r(86805),o=r(2170),i=r(78742),a=function(t){return function(e,r,a){var s,u=n(e),c=i(u),l=o(a,c);if(t&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},38189:function(t,e,r){"use strict";var n=r(51824),o=r(15920),i=r(92943),a=r(38805),s=r(78742),u=r(72317),c=o([].push),l=function(t){var e=1===t,r=2===t,o=3===t,l=4===t,f=6===t,d=7===t,p=5===t||f;return function(h,g,v,y){for(var m,b,w=a(h),O=i(w),E=n(g,v),x=s(O),S=0,D=y||u,T=e?D(h,x):r||d?D(h,0):void 0;x>S;S++)if((p||S in O)&&(b=E(m=O[S],S,w),t))if(e)T[S]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return S;case 2:c(T,m)}else switch(t){case 4:return!1;case 7:c(T,m)}return f?-1:o||l?l:T}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},30661:function(t,e,r){"use strict";var n=r(79391),o=r(8979),i=r(95724),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},29830:function(t,e,r){"use strict";var n=r(79391);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},89758:function(t,e,r){"use strict";var n=r(25514),o=r(38805),i=r(92943),a=r(78742),s=TypeError,u=function(t){return function(e,r,u,c){n(r);var l=o(e),f=i(l),d=a(l),p=t?d-1:0,h=t?-1:1;if(u<2)for(;;){if(p in f){c=f[p],p+=h;break}if(p+=h,t?p<0:d<=p)throw new s("Reduce of empty array with no initial value")}for(;t?p>=0:d>p;p+=h)p in f&&(c=r(c,f[p],p,l));return c}};t.exports={left:u(!1),right:u(!0)}},99911:function(t,e,r){"use strict";var n=r(2170),o=r(78742),i=r(46096),a=Array,s=Math.max;t.exports=function(t,e,r){for(var u=o(t),c=n(e,u),l=n(void 0===r?u:r,u),f=a(s(l-c,0)),d=0;c0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},22103:function(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},86454:function(t,e,r){"use strict";var n=r(64411),o=r(13763).f,i=r(39915),a=r(97448),s=r(63817),u=r(33036),c=r(44156);t.exports=function(t,e){var r,l,f,d,p,h=t.target,g=t.global,v=t.stat;if(r=g?n:v?n[h]||s(h,{}):(n[h]||{}).prototype)for(l in e){if(d=e[l],f=t.dontCallGetSet?(p=o(r,l))&&p.value:r[l],!c(g?l:h+(v?".":"#")+l,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(t.sham||f&&f.sham)&&i(d,"sham",!0),a(r,l,d,t)}}},79391:function(t){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},86988:function(t,e,r){"use strict";r(47847);var n=r(60180),o=r(97448),i=r(14507),a=r(79391),s=r(8979),u=r(39915),c=s("species"),l=RegExp.prototype;t.exports=function(t,e,r,f){var d=s(t),p=!a((function(){var e={};return e[d]=function(){return 7},7!==""[t](e)})),h=p&&!a((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!p||!h||r){var g=n(/./[d]),v=e(d,""[t],(function(t,e,r,o,a){var s=n(t),u=e.exec;return u===i||u===l.exec?p&&!a?{done:!0,value:g(e,r,o)}:{done:!0,value:s(r,e,o)}:{done:!1}}));o(String.prototype,t,v[0]),o(l,d,v[1])}f&&u(l[d],"sham",!0)}},9224:function(t,e,r){"use strict";var n=r(79391);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},53721:function(t,e,r){"use strict";var n=r(26344),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},51824:function(t,e,r){"use strict";var n=r(60180),o=r(25514),i=r(26344),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},26344:function(t,e,r){"use strict";var n=r(79391);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},96733:function(t,e,r){"use strict";var n=r(26344),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},59470:function(t,e,r){"use strict";var n=r(27084),o=r(6401),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},51154:function(t,e,r){"use strict";var n=r(15920),o=r(25514);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},60180:function(t,e,r){"use strict";var n=r(64512),o=r(15920);t.exports=function(t){if("Function"===n(t))return o(t)}},15920:function(t,e,r){"use strict";var n=r(26344),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},27383:function(t,e,r){"use strict";var n=r(64411),o=r(38389);t.exports=function(t,e){return arguments.length<2?(r=n[t],o(r)?r:void 0):n[t]&&n[t][e];var r}},39715:function(t,e,r){"use strict";var n=r(48731),o=r(89950),i=r(33237),a=r(90237),s=r(8979)("iterator");t.exports=function(t){if(!i(t))return o(t,s)||o(t,"@@iterator")||a[n(t)]}},85633:function(t,e,r){"use strict";var n=r(96733),o=r(25514),i=r(45735),a=r(24983),s=r(39715),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(o(r))return i(n(r,t));throw new u(a(t)+" is not iterable")}},89950:function(t,e,r){"use strict";var n=r(25514),o=r(33237);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},60718:function(t,e,r){"use strict";var n=r(15920),o=r(38805),i=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,f,d){var p=r+t.length,h=n.length,g=l;return void 0!==f&&(f=o(f),g=c),s(d,g,(function(o,s){var c;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,r);case"'":return u(e,p);case"<":c=f[u(s,1,-1)];break;default:var l=+s;if(0===l)return o;if(l>h){var d=i(l/10);return 0===d?o:d<=h?void 0===n[d-1]?a(s,1):n[d-1]+a(s,1):o}c=n[l-1]}return void 0===c?"":c}))}},64411:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},6401:function(t,e,r){"use strict";var n=r(15920),o=r(38805),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},47285:function(t){"use strict";t.exports={}},37453:function(t,e,r){"use strict";var n=r(27383);t.exports=n("document","documentElement")},38669:function(t,e,r){"use strict";var n=r(27084),o=r(79391),i=r(99511);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},92943:function(t,e,r){"use strict";var n=r(15920),o=r(79391),i=r(64512),a=Object,s=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?s(t,""):a(t)}:a},72511:function(t,e,r){"use strict";var n=r(38389),o=r(20962),i=r(63175);t.exports=function(t,e,r){var a,s;return i&&n(a=e.constructor)&&a!==r&&o(s=a.prototype)&&s!==r.prototype&&i(t,s),t}},96746:function(t,e,r){"use strict";var n=r(15920),o=r(38389),i=r(30877),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},38395:function(t,e,r){"use strict";var n=r(86454),o=r(15920),i=r(47285),a=r(20962),s=r(6401),u=r(49617).f,c=r(28560),l=r(83002),f=r(86028),d=r(75376),p=r(9224),h=!1,g=d("meta"),v=0,y=function(t){u(t,g,{value:{objectID:"O"+v++,weakData:{}}})},m=t.exports={enable:function(){m.enable=function(){},h=!0;var t=c.f,e=o([].splice),r={};r[g]=1,t(r).length&&(c.f=function(r){for(var n=t(r),o=0,i=n.length;om;m++)if((w=k(t[m]))&&c(g,w))return w;return new h(!1)}v=l(t,y)}for(O=D?t.next:v.next;!(E=o(O,v)).done;){try{w=k(E.value)}catch(t){d(v,"throw",t)}if("object"==typeof w&&w&&c(g,w))return w}return new h(!1)}},35075:function(t,e,r){"use strict";var n=r(96733),o=r(45735),i=r(89950);t.exports=function(t,e,r){var a,s;o(t);try{if(!(a=i(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw r;if(s)throw a;return o(a),r}},60394:function(t,e,r){"use strict";var n=r(12697).IteratorPrototype,o=r(98584),i=r(48612),a=r(30079),s=r(90237),u=function(){return this};t.exports=function(t,e,r,c){var l=e+" Iterator";return t.prototype=o(n,{next:i(+!c,r)}),a(t,l,!1,!0),s[l]=u,t}},49552:function(t,e,r){"use strict";var n=r(86454),o=r(96733),i=r(42411),a=r(59470),s=r(38389),u=r(60394),c=r(26371),l=r(63175),f=r(30079),d=r(39915),p=r(97448),h=r(8979),g=r(90237),v=r(12697),y=a.PROPER,m=a.CONFIGURABLE,b=v.IteratorPrototype,w=v.BUGGY_SAFARI_ITERATORS,O=h("iterator"),E="keys",x="values",S="entries",D=function(){return this};t.exports=function(t,e,r,a,h,v,T){u(r,e,a);var C,P,I,k=function(t){if(t===h&&M)return M;if(!w&&t&&t in _)return _[t];switch(t){case E:case x:case S:return function(){return new r(this,t)}}return function(){return new r(this)}},N=e+" Iterator",j=!1,_=t.prototype,A=_[O]||_["@@iterator"]||h&&_[h],M=!w&&A||k(h),R="Array"===e&&_.entries||A;if(R&&(C=c(R.call(new t)))!==Object.prototype&&C.next&&(i||c(C)===b||(l?l(C,b):s(C[O])||p(C,O,D)),f(C,N,!0,!0),i&&(g[N]=D)),y&&h===x&&A&&A.name!==x&&(!i&&m?d(_,"name",x):(j=!0,M=function(){return o(A,this)})),h)if(P={values:k(x),keys:v?M:k(E),entries:k(S)},T)for(I in P)(w||j||!(I in _))&&p(_,I,P[I]);else n({target:e,proto:!0,forced:w||j},P);return i&&!T||_[O]===M||p(_,O,M,{name:h}),g[e]=M,P}},12697:function(t,e,r){"use strict";var n,o,i,a=r(79391),s=r(38389),u=r(20962),c=r(98584),l=r(26371),f=r(97448),d=r(8979),p=r(42411),h=d("iterator"),g=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):g=!0),!u(n)||a((function(){var t={};return n[h].call(t)!==t}))?n={}:p&&(n=c(n)),s(n[h])||f(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},90237:function(t){"use strict";t.exports={}},78742:function(t,e,r){"use strict";var n=r(446);t.exports=function(t){return n(t.length)}},88075:function(t,e,r){"use strict";var n=r(15920),o=r(79391),i=r(38389),a=r(6401),s=r(27084),u=r(59470).CONFIGURABLE,c=r(96746),l=r(31789),f=l.enforce,d=l.get,p=String,h=Object.defineProperty,g=n("".slice),v=n("".replace),y=n([].join),m=s&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===g(p(e),0,7)&&(e="["+v(p(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(s?h(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&a(r,"arity")&&t.length!==r.arity&&h(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=f(t);return a(n,"source")||(n.source=y(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return i(this)&&d(this).source||c(this)}),"toString")},90469:function(t){"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},95135:function(t,e,r){"use strict";var n=r(64411),o=r(79391),i=r(15920),a=r(85327),s=r(4058).trim,u=r(20572),c=n.parseInt,l=n.Symbol,f=l&&l.iterator,d=/^[+-]?0x/i,p=i(d.exec),h=8!==c(u+"08")||22!==c(u+"0x16")||f&&!o((function(){c(Object(f))}));t.exports=h?function(t,e){var r=s(a(t));return c(r,e>>>0||(p(d,r)?16:10))}:c},54997:function(t,e,r){"use strict";var n=r(27084),o=r(15920),i=r(96733),a=r(79391),s=r(18784),u=r(80213),c=r(54373),l=r(38805),f=r(92943),d=Object.assign,p=Object.defineProperty,h=o([].concat);t.exports=!d||a((function(){if(n&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach((function(t){e[t]=t})),7!==d({},t)[r]||s(d({},e)).join("")!==o}))?function(t,e){for(var r=l(t),o=arguments.length,a=1,d=u.f,p=c.f;o>a;)for(var g,v=f(arguments[a++]),y=d?h(s(v),d(v)):s(v),m=y.length,b=0;m>b;)g=y[b++],n&&!i(p,v,g)||(r[g]=v[g]);return r}:d},98584:function(t,e,r){"use strict";var n,o=r(45735),i=r(83809),a=r(22103),s=r(47285),u=r(37453),c=r(99511),l=r(10023),f="prototype",d="script",p=l("IE_PROTO"),h=function(){},g=function(t){return"<"+d+">"+t+""},v=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;y="undefined"!=typeof document?document.domain&&n?v(n):(e=c("iframe"),r="java"+d+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(g("document.F=Object")),t.close(),t.F):v(n);for(var o=a.length;o--;)delete y[f][a[o]];return y()};s[p]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(h[f]=o(t),r=new h,h[f]=null,r[p]=t):r=y(),void 0===e?r:i.f(r,e)}},83809:function(t,e,r){"use strict";var n=r(27084),o=r(74542),i=r(49617),a=r(45735),s=r(86805),u=r(18784);e.f=n&&!o?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),o=u(e),c=o.length,l=0;c>l;)i.f(t,r=o[l++],n[r]);return t}},49617:function(t,e,r){"use strict";var n=r(27084),o=r(38669),i=r(74542),a=r(45735),s=r(48745),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";e.f=n?i?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&p in r&&!r[p]){var n=l(t,e);n&&n[p]&&(t[e]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:f in r?r[f]:n[f],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(a(t),e=s(e),a(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},13763:function(t,e,r){"use strict";var n=r(27084),o=r(96733),i=r(54373),a=r(48612),s=r(86805),u=r(48745),c=r(6401),l=r(38669),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=s(t),e=u(e),l)try{return f(t,e)}catch(t){}if(c(t,e))return a(!o(i.f,t,e),t[e])}},83002:function(t,e,r){"use strict";var n=r(64512),o=r(86805),i=r(28560).f,a=r(99911),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"===n(t)?function(t){try{return i(t)}catch(t){return a(s)}}(t):i(o(t))}},28560:function(t,e,r){"use strict";var n=r(23332),o=r(22103).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},80213:function(t,e){"use strict";e.f=Object.getOwnPropertySymbols},26371:function(t,e,r){"use strict";var n=r(6401),o=r(38389),i=r(38805),a=r(10023),s=r(59731),u=a("IE_PROTO"),c=Object,l=c.prototype;t.exports=s?c.getPrototypeOf:function(t){var e=i(t);if(n(e,u))return e[u];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof c?l:null}},86028:function(t,e,r){"use strict";var n=r(79391),o=r(20962),i=r(64512),a=r(3524),s=Object.isExtensible,u=n((function(){s(1)}));t.exports=u||a?function(t){return!!o(t)&&((!a||"ArrayBuffer"!==i(t))&&(!s||s(t)))}:s},74937:function(t,e,r){"use strict";var n=r(15920);t.exports=n({}.isPrototypeOf)},23332:function(t,e,r){"use strict";var n=r(15920),o=r(6401),i=r(86805),a=r(81409).indexOf,s=r(47285),u=n([].push);t.exports=function(t,e){var r,n=i(t),c=0,l=[];for(r in n)!o(s,r)&&o(n,r)&&u(l,r);for(;e.length>c;)o(n,r=e[c++])&&(~a(l,r)||u(l,r));return l}},18784:function(t,e,r){"use strict";var n=r(23332),o=r(22103);t.exports=Object.keys||function(t){return n(t,o)}},54373:function(t,e){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},63175:function(t,e,r){"use strict";var n=r(51154),o=r(45735),i=r(44546);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},69755:function(t,e,r){"use strict";var n=r(684),o=r(48731);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},20078:function(t,e,r){"use strict";var n=r(96733),o=r(38389),i=r(20962),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&o(r=t.toString)&&!i(s=n(r,t)))return s;if(o(r=t.valueOf)&&!i(s=n(r,t)))return s;if("string"!==e&&o(r=t.toString)&&!i(s=n(r,t)))return s;throw new a("Can't convert object to primitive value")}},31575:function(t,e,r){"use strict";var n=r(27383),o=r(15920),i=r(28560),a=r(80213),s=r(45735),u=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(s(t)),r=a.f;return r?u(e,r(t)):e}},55274:function(t,e,r){"use strict";var n=r(96733),o=r(45735),i=r(38389),a=r(64512),s=r(14507),u=TypeError;t.exports=function(t,e){var r=t.exec;if(i(r)){var c=n(r,t,e);return null!==c&&o(c),c}if("RegExp"===a(t))return n(s,t,e);throw new u("RegExp#exec called on incompatible receiver")}},14507:function(t,e,r){"use strict";var n,o,i=r(96733),a=r(15920),s=r(85327),u=r(45771),c=r(85149),l=r(49329),f=r(98584),d=r(31789).get,p=r(38259),h=r(87518),g=l("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,y=v,m=a("".charAt),b=a("".indexOf),w=a("".replace),O=a("".slice),E=(o=/b*/g,i(v,n=/a/,"a"),i(v,o,"a"),0!==n.lastIndex||0!==o.lastIndex),x=c.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];(E||S||x||p||h)&&(y=function(t){var e,r,n,o,a,c,l,p=this,h=d(p),D=s(t),T=h.raw;if(T)return T.lastIndex=p.lastIndex,e=i(y,T,D),p.lastIndex=T.lastIndex,e;var C=h.groups,P=x&&p.sticky,I=i(u,p),k=p.source,N=0,j=D;if(P&&(I=w(I,"y",""),-1===b(I,"g")&&(I+="g"),j=O(D,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==m(D,p.lastIndex-1))&&(k="(?: "+k+")",j=" "+j,N++),r=new RegExp("^(?:"+k+")",I)),S&&(r=new RegExp("^"+k+"$(?!\\s)",I)),E&&(n=p.lastIndex),o=i(v,P?r:p,j),P?o?(o.input=O(o.input,N),o[0]=O(o[0],N),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:E&&o&&(p.lastIndex=p.global?o.index+o[0].length:n),S&&o&&o.length>1&&i(g,o[0],r,(function(){for(a=1;ab)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},71814:function(t,e,r){"use strict";var n=r(33237),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},30079:function(t,e,r){"use strict";var n=r(49617).f,o=r(6401),i=r(8979)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:e})}},10023:function(t,e,r){"use strict";var n=r(49329),o=r(75376),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},30877:function(t,e,r){"use strict";var n=r(64411),o=r(63817),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},49329:function(t,e,r){"use strict";var n=r(42411),o=r(30877);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.33.3",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE",source:"https://github.com/zloirock/core-js"})},33655:function(t,e,r){"use strict";var n=r(15920),o=r(79227),i=r(85327),a=r(71814),s=n("".charAt),u=n("".charCodeAt),c=n("".slice),l=function(t){return function(e,r){var n,l,f=i(a(e)),d=o(r),p=f.length;return d<0||d>=p?t?"":void 0:(n=u(f,d))<55296||n>56319||d+1===p||(l=u(f,d+1))<56320||l>57343?t?s(f,d):n:t?c(f,d,d+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},4058:function(t,e,r){"use strict";var n=r(15920),o=r(71814),i=r(85327),a=r(20572),s=n("".replace),u=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),l=function(t){return function(e){var r=i(o(e));return 1&t&&(r=s(r,u,"")),2&t&&(r=s(r,c,"$1")),r}};t.exports={start:l(1),end:l(2),trim:l(3)}},25007:function(t,e,r){"use strict";var n=r(95724),o=r(79391),i=r(64411).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},2170:function(t,e,r){"use strict";var n=r(79227),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},86805:function(t,e,r){"use strict";var n=r(92943),o=r(71814);t.exports=function(t){return n(o(t))}},79227:function(t,e,r){"use strict";var n=r(90469);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},446:function(t,e,r){"use strict";var n=r(79227),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},38805:function(t,e,r){"use strict";var n=r(71814),o=Object;t.exports=function(t){return o(n(t))}},7593:function(t,e,r){"use strict";var n=r(96733),o=r(20962),i=r(90565),a=r(89950),s=r(20078),u=r(8979),c=TypeError,l=u("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,u=a(t,l);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!o(r)||i(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},48745:function(t,e,r){"use strict";var n=r(7593),o=r(90565);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},684:function(t,e,r){"use strict";var n={};n[r(8979)("toStringTag")]="z",t.exports="[object z]"===String(n)},85327:function(t,e,r){"use strict";var n=r(48731),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},24983:function(t){"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},75376:function(t,e,r){"use strict";var n=r(15920),o=0,i=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},54272:function(t,e,r){"use strict";var n=r(25007);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},74542:function(t,e,r){"use strict";var n=r(27084),o=r(79391);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},80798:function(t,e,r){"use strict";var n=r(64411),o=r(38389),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8979:function(t,e,r){"use strict";var n=r(64411),o=r(49329),i=r(6401),a=r(75376),s=r(25007),u=r(54272),c=n.Symbol,l=o("wks"),f=u?c.for||c:c&&c.withoutSetter||a;t.exports=function(t){return i(l,t)||(l[t]=s&&i(c,t)?c[t]:f("Symbol."+t)),l[t]}},20572:function(t){"use strict";t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},27384:function(t,e,r){"use strict";var n=r(86454),o=r(38189).filter;n({target:"Array",proto:!0,forced:!r(30661)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},7920:function(t,e,r){"use strict";var n=r(86805),o=r(71461),i=r(90237),a=r(31789),s=r(49617).f,u=r(49552),c=r(70017),l=r(42411),f=r(27084),d="Array Iterator",p=a.set,h=a.getterFor(d);t.exports=u(Array,"Array",(function(t,e){p(this,{type:d,target:n(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,c(void 0,!0);switch(t.kind){case"keys":return c(r,!1);case"values":return c(e[r],!1)}return c([r,e[r]],!1)}),"values");var g=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==g.name)try{s(g,"name",{value:"values"})}catch(t){}},35336:function(t,e,r){"use strict";var n=r(86454),o=r(89758).left,i=r(29830),a=r(95724);n({target:"Array",proto:!0,forced:!r(48144)&&a>79&&a<83||!i("reduce")},{reduce:function(t){var e=arguments.length;return o(this,t,e,e>1?arguments[1]:void 0)}})},67834:function(t,e,r){"use strict";var n=r(27084),o=r(59470).EXISTS,i=r(15920),a=r(3578),s=Function.prototype,u=i(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=i(c.exec);n&&!o&&a(s,"name",{configurable:!0,get:function(){try{return l(c,u(this))[1]}catch(t){return""}}})},36605:function(t,e,r){"use strict";var n=r(86454),o=r(54997);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},6547:function(t,e,r){"use strict";var n=r(684),o=r(97448),i=r(69755);n||o(Object.prototype,"toString",i,{unsafe:!0})},80316:function(t,e,r){"use strict";var n=r(86454),o=r(95135);n({global:!0,forced:parseInt!==o},{parseInt:o})},47847:function(t,e,r){"use strict";var n=r(86454),o=r(14507);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},4212:function(t,e,r){"use strict";var n=r(33655).charAt,o=r(85327),i=r(31789),a=r(49552),s=r(70017),u="String Iterator",c=i.set,l=i.getterFor(u);a(String,"String",(function(t){c(this,{type:u,string:o(t),index:0})}),(function(){var t,e=l(this),r=e.string,o=e.index;return o>=r.length?s(void 0,!0):(t=n(r,o),e.index+=t.length,s(t,!1))}))},88209:function(t,e,r){"use strict";var n=r(96733),o=r(86988),i=r(45735),a=r(33237),s=r(446),u=r(85327),c=r(71814),l=r(89950),f=r(15365),d=r(55274);o("match",(function(t,e,r){return[function(e){var r=c(this),o=a(e)?void 0:l(e,t);return o?n(o,e,r):new RegExp(e)[t](u(r))},function(t){var n=i(this),o=u(t),a=r(e,n,o);if(a.done)return a.value;if(!n.global)return d(n,o);var c=n.unicode;n.lastIndex=0;for(var l,p=[],h=0;null!==(l=d(n,o));){var g=u(l[0]);p[h]=g,""===g&&(n.lastIndex=f(o,s(n.lastIndex),c)),h++}return 0===h?null:p}]}))},17216:function(t,e,r){"use strict";var n=r(53721),o=r(96733),i=r(15920),a=r(86988),s=r(79391),u=r(45735),c=r(38389),l=r(33237),f=r(79227),d=r(446),p=r(85327),h=r(71814),g=r(15365),v=r(89950),y=r(60718),m=r(55274),b=r(8979)("replace"),w=Math.max,O=Math.min,E=i([].concat),x=i([].push),S=i("".indexOf),D=i("".slice),T="$0"==="a".replace(/./,"$0"),C=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(t,e,r){var i=C?"$":"$0";return[function(t,r){var n=h(this),i=l(t)?void 0:v(t,b);return i?o(i,t,n,r):o(e,p(n),t,r)},function(t,o){var a=u(this),s=p(t);if("string"==typeof o&&-1===S(o,i)&&-1===S(o,"$<")){var l=r(e,a,s,o);if(l.done)return l.value}var h=c(o);h||(o=p(o));var v,b=a.global;b&&(v=a.unicode,a.lastIndex=0);for(var T,C=[];null!==(T=m(a,s))&&(x(C,T),b);){""===p(T[0])&&(a.lastIndex=g(s,d(a.lastIndex),v))}for(var P,I="",k=0,N=0;N=k&&(I+=D(s,k,A)+j,k=A+_.length)}return I+D(s,k)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}))||!T||C)},73682:function(t,e,r){"use strict";var n,o=r(9224),i=r(64411),a=r(15920),s=r(67287),u=r(38395),c=r(884),l=r(7049),f=r(20962),d=r(31789).enforce,p=r(79391),h=r(80798),g=Object,v=Array.isArray,y=g.isExtensible,m=g.isFrozen,b=g.isSealed,w=g.freeze,O=g.seal,E={},x={},S=!i.ActiveXObject&&"ActiveXObject"in i,D=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},T=c("WeakMap",D,l),C=T.prototype,P=a(C.set);if(h)if(S){n=l.getConstructor(D,"WeakMap",!0),u.enable();var I=a(C.delete),k=a(C.has),N=a(C.get);s(C,{delete:function(t){if(f(t)&&!y(t)){var e=d(this);return e.frozen||(e.frozen=new n),I(this,t)||e.frozen.delete(t)}return I(this,t)},has:function(t){if(f(t)&&!y(t)){var e=d(this);return e.frozen||(e.frozen=new n),k(this,t)||e.frozen.has(t)}return k(this,t)},get:function(t){if(f(t)&&!y(t)){var e=d(this);return e.frozen||(e.frozen=new n),k(this,t)?N(this,t):e.frozen.get(t)}return N(this,t)},set:function(t,e){if(f(t)&&!y(t)){var r=d(this);r.frozen||(r.frozen=new n),k(this,t)?P(this,t,e):r.frozen.set(t,e)}else P(this,t,e);return this}})}else o&&p((function(){var t=w([]);return P(new T,t,1),!m(t)}))&&s(C,{set:function(t,e){var r;return v(t)&&(m(t)?r=E:b(t)&&(r=x)),P(this,t,e),r===E&&w(t),r===x&&O(t),this}})},33132:function(t,e,r){"use strict";r(73682)},38185:function(t,e,r){"use strict";var n=r(64411),o=r(59688),i=r(9376),a=r(7920),s=r(39915),u=r(8979),c=u("iterator"),l=u("toStringTag"),f=a.values,d=function(t,e){if(t){if(t[c]!==f)try{s(t,c,f)}catch(e){t[c]=f}if(t[l]||s(t,l,e),o[e])for(var r in a)if(t[r]!==a[r])try{s(t,r,a[r])}catch(e){t[r]=a[r]}}};for(var p in o)d(n[p]&&n[p].prototype,p);d(i,"DOMTokenList")},75729:function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.getUserLocale=e.getUserLocales=void 0;var o=n(r(56033));function i(t){return"string"==typeof t}function a(t,e,r){return r.indexOf(t)===e}function s(t){return-1===t.indexOf(",")?t:t.split(",")}function u(t){if(!t)return t;if("C"===t||"posix"===t||"POSIX"===t)return"en-US";if(-1!==t.indexOf(".")){var e=t.split(".")[0];return u(void 0===e?"":e)}if(-1!==t.indexOf("@")){var r=t.split("@")[0];return u(void 0===r?"":r)}if(-1===t.indexOf("-")||(n=t).toLowerCase()!==n)return t;var n,o=t.split("-"),i=o[0],a=o[1],s=void 0===a?"":a;return"".concat(i,"-").concat(s.toUpperCase())}e.getUserLocales=(0,o.default)((function(t){var e=void 0===t?{}:t,r=e.useFallbackLocale,n=void 0===r||r,o=e.fallbackLocale,c=void 0===o?"en-US":o,l=[];if("undefined"!=typeof navigator){for(var f=[],d=0,p=navigator.languages||[];dt.length)&&(e=t.length);for(var r=0,n=Array(e);r=0||{}.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}},60263:function(t,e,r){"use strict";function n(t,e){if(null==t)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}r.d(e,{A:function(){return n}})},8140:function(t,e,r){"use strict";r.d(e,{A:function(){return o}});var n=r(43948);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,s=[],u=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(t,e)||(0,n.A)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},18134:function(t,e,r){"use strict";r.d(e,{A:function(){return i}});var n=r(41381);var o=r(43948);function i(t){return function(t){if(Array.isArray(t))return(0,n.A)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||(0,o.A)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},52888:function(t,e,r){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r.d(e,{A:function(){return n}})},43948:function(t,e,r){"use strict";r.d(e,{A:function(){return o}});var n=r(41381);function o(t,e){if(t){if("string"==typeof t)return(0,n.A)(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.A)(t,e):void 0}}},4384:function(t,e,r){"use strict";function n(t,e,...r){if("undefined"!=typeof process&&void 0===e)throw new Error("invariant requires an error message argument");if(!t){let t;if(void 0===e)t=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let n=0;t=new Error(e.replace(/%s/g,(function(){return r[n++]}))),t.name="Invariant Violation"}throw t.framesToPop=1,t}}r.d(e,{V:function(){return n}})},81954:function(t,e,r){"use strict";function n(t,e,r,n){let o=r?r.call(n,t,e):void 0;if(void 0!==o)return!!o;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;const i=Object.keys(t),a=Object.keys(e);if(i.length!==a.length)return!1;const s=Object.prototype.hasOwnProperty.bind(e);for(let a=0;a{if(!e.has(t))throw TypeError("Cannot "+r)},i=(t,e,r)=>(o(t,e,"read from private field"),r?r.call(t):e.get(t)),a=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},s=(t,e,r,n)=>(o(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),u=class{constructor(){a(this,n,void 0),this.register=t=>{i(this,n).push(t)},this.unregister=t=>{let e;for(;-1!==(e=i(this,n).indexOf(t));)i(this,n).splice(e,1)},this.backendChanged=t=>{for(let e of i(this,n))e.backendChanged(t)},s(this,n,[])}};n=new WeakMap;var c,l,f,d,p,h,g,v,y,m,b,w=class t{constructor(e,r,n){if(a(this,c,void 0),a(this,l,void 0),a(this,f,void 0),a(this,d,void 0),a(this,p,void 0),a(this,h,((t,e,r)=>{if(!r.backend)throw new Error(`You must specify a 'backend' property in your Backend entry: ${JSON.stringify(r)}`);let n=r.backend(t,e,r.options),o=r.id,a=!r.id&&n&&n.constructor;if(a&&(o=n.constructor.name),!o)throw new Error(`You must specify an 'id' property in your Backend entry: ${JSON.stringify(r)}\n see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-5xx`);if(i(this,f)[o])throw new Error(`You must specify a unique 'id' property in your Backend entry:\n ${JSON.stringify(r)} (conflicts with: ${JSON.stringify(i(this,f)[o])})`);return{id:o,instance:n,preview:r.preview??!1,transition:r.transition,skipDispatchOnTransition:r.skipDispatchOnTransition??!1}})),this.setup=()=>{if(!(typeof window>"u")){if(t.isSetUp)throw new Error("Cannot have two MultiBackends at the same time.");t.isSetUp=!0,i(this,g).call(this,window),i(this,f)[i(this,c)].instance.setup()}},this.teardown=()=>{typeof window>"u"||(t.isSetUp=!1,i(this,v).call(this,window),i(this,f)[i(this,c)].instance.teardown())},this.connectDragSource=(t,e,r)=>i(this,b).call(this,"connectDragSource",t,e,r),this.connectDragPreview=(t,e,r)=>i(this,b).call(this,"connectDragPreview",t,e,r),this.connectDropTarget=(t,e,r)=>i(this,b).call(this,"connectDropTarget",t,e,r),this.profile=()=>i(this,f)[i(this,c)].instance.profile(),this.previewEnabled=()=>i(this,f)[i(this,c)].preview,this.previewsList=()=>i(this,l),this.backendsList=()=>i(this,d),a(this,g,(t=>{i(this,d).forEach((e=>{e.transition&&t.addEventListener(e.transition.event,i(this,y))}))})),a(this,v,(t=>{i(this,d).forEach((e=>{e.transition&&t.removeEventListener(e.transition.event,i(this,y))}))})),a(this,y,(t=>{let e=i(this,c);if(i(this,d).some((e=>!(e.id===i(this,c)||!e.transition||!e.transition.check(t))&&(s(this,c,e.id),!0))),i(this,c)!==e){i(this,f)[e].instance.teardown(),Object.keys(i(this,p)).forEach((t=>{let e=i(this,p)[t];e.unsubscribe(),e.unsubscribe=i(this,m).call(this,e.func,...e.args)})),i(this,l).backendChanged(this);let r=i(this,f)[i(this,c)];if(r.instance.setup(),r.skipDispatchOnTransition)return;let n=new(0,t.constructor)(t.type,t);t.target?.dispatchEvent(n)}})),a(this,m,((t,e,r,n)=>i(this,f)[i(this,c)].instance[t](e,r,n))),a(this,b,((t,e,r,n)=>{let o=`${t}_${e}`,a=i(this,m).call(this,t,e,r,n);return i(this,p)[o]={func:t,args:[e,r,n],unsubscribe:a},()=>{i(this,p)[o].unsubscribe(),delete i(this,p)[o]}})),!n||!n.backends||n.backends.length<1)throw new Error("You must specify at least one Backend, if you are coming from 2.x.x (or don't understand this error)\n see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-2xx");s(this,l,new u),s(this,f,{}),s(this,d,[]),n.backends.forEach((t=>{let n=i(this,h).call(this,e,r,t);i(this,f)[n.id]=n,i(this,d).push(n)})),s(this,c,i(this,d)[0].id),s(this,p,{})}};c=new WeakMap,l=new WeakMap,f=new WeakMap,d=new WeakMap,p=new WeakMap,h=new WeakMap,g=new WeakMap,v=new WeakMap,y=new WeakMap,m=new WeakMap,b=new WeakMap,w.isSetUp=!1;var O=w,E=(t,e,r)=>new O(t,e,r),x=(t,e)=>({event:t,check:e}),S=x("touchstart",(t=>{let e=t;return null!==e.touches&&void 0!==e.touches})),D=x("dragstart",(t=>-1!==t.type.indexOf("drag")||-1!==t.type.indexOf("drop"))),T=x("mousedown",(t=>-1===t.type.indexOf("touch")&&-1!==t.type.indexOf("mouse"))),C=x("pointerdown",(t=>"mouse"==t.pointerType))},57632:function(t,e,r){"use strict";r.d(e,{bD:function(){return R}});var n=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty;function a(t,e){return function(r,n,o){return t(r,n,o)&&e(r,n,o)}}function s(t){return function(e,r,n){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,n);var o=n.cache,i=o.get(e),a=o.get(r);if(i&&a)return i===r&&a===e;o.set(e,r),o.set(r,e);var s=t(e,r,n);return o.delete(e),o.delete(r),s}}function u(t){return n(t).concat(o(t))}var c=Object.hasOwn||function(t,e){return i.call(t,e)};function l(t,e){return t||e?t===e:t===e||t!=t&&e!=e}var f="_owner",d=Object.getOwnPropertyDescriptor,p=Object.keys;function h(t,e,r){var n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;return!0}function g(t,e){return l(t.getTime(),e.getTime())}function v(t,e,r){if(t.size!==e.size)return!1;for(var n,o,i={},a=t.entries(),s=0;(n=a.next())&&!n.done;){for(var u=e.entries(),c=!1,l=0;(o=u.next())&&!o.done;){var f=n.value,d=f[0],p=f[1],h=o.value,g=h[0],v=h[1];c||i[l]||!(c=r.equals(d,g,s,l,t,e,r)&&r.equals(p,v,d,g,t,e,r))||(i[l]=!0),l++}if(!c)return!1;s++}return!0}function y(t,e,r){var n,o=p(t),i=o.length;if(p(e).length!==i)return!1;for(;i-- >0;){if((n=o[i])===f&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!c(e,n)||!r.equals(t[n],e[n],n,n,t,e,r))return!1}return!0}function m(t,e,r){var n,o,i,a=u(t),s=a.length;if(u(e).length!==s)return!1;for(;s-- >0;){if((n=a[s])===f&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!c(e,n))return!1;if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;if(o=d(t,n),i=d(e,n),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable))return!1}return!0}function b(t,e){return l(t.valueOf(),e.valueOf())}function w(t,e){return t.source===e.source&&t.flags===e.flags}function O(t,e,r){if(t.size!==e.size)return!1;for(var n,o,i={},a=t.values();(n=a.next())&&!n.done;){for(var s=e.values(),u=!1,c=0;(o=s.next())&&!o.done;)u||i[c]||!(u=r.equals(n.value,o.value,n.value,o.value,t,e,r))||(i[c]=!0),c++;if(!u)return!1}return!0}function E(t,e){var r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}var x="[object Arguments]",S="[object Boolean]",D="[object Date]",T="[object Map]",C="[object Number]",P="[object Object]",I="[object RegExp]",k="[object Set]",N="[object String]",j=Array.isArray,_="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,A=Object.assign,M=Object.prototype.toString.call.bind(Object.prototype.toString);var R=L();L({strict:!0}),L({circular:!0}),L({circular:!0,strict:!0}),L({createInternalComparator:function(){return l}}),L({strict:!0,createInternalComparator:function(){return l}}),L({circular:!0,createInternalComparator:function(){return l}}),L({circular:!0,createInternalComparator:function(){return l},strict:!0});function L(t){void 0===t&&(t={});var e,r=t.circular,n=void 0!==r&&r,o=t.createInternalComparator,i=t.createState,u=t.strict,c=void 0!==u&&u,l=function(t){var e=t.circular,r=t.createCustomConfig,n=t.strict,o={areArraysEqual:n?m:h,areDatesEqual:g,areMapsEqual:n?a(v,m):v,areObjectsEqual:n?m:y,arePrimitiveWrappersEqual:b,areRegExpsEqual:w,areSetsEqual:n?a(O,m):O,areTypedArraysEqual:n?m:E};if(r&&(o=A({},o,r(o))),e){var i=s(o.areArraysEqual),u=s(o.areMapsEqual),c=s(o.areObjectsEqual),l=s(o.areSetsEqual);o=A({},o,{areArraysEqual:i,areMapsEqual:u,areObjectsEqual:c,areSetsEqual:l})}return o}(t),f=function(t){var e=t.areArraysEqual,r=t.areDatesEqual,n=t.areMapsEqual,o=t.areObjectsEqual,i=t.arePrimitiveWrappersEqual,a=t.areRegExpsEqual,s=t.areSetsEqual,u=t.areTypedArraysEqual;return function(t,c,l){if(t===c)return!0;if(null==t||null==c||"object"!=typeof t||"object"!=typeof c)return t!=t&&c!=c;var f=t.constructor;if(f!==c.constructor)return!1;if(f===Object)return o(t,c,l);if(j(t))return e(t,c,l);if(null!=_&&_(t))return u(t,c,l);if(f===Date)return r(t,c,l);if(f===RegExp)return a(t,c,l);if(f===Map)return n(t,c,l);if(f===Set)return s(t,c,l);var d=M(t);return d===D?r(t,c,l):d===I?a(t,c,l):d===T?n(t,c,l):d===k?s(t,c,l):d===P?"function"!=typeof t.then&&"function"!=typeof c.then&&o(t,c,l):d===x?o(t,c,l):(d===S||d===C||d===N)&&i(t,c,l)}}(l);return function(t){var e=t.circular,r=t.comparator,n=t.createState,o=t.equals,i=t.strict;if(n)return function(t,a){var s=n(),u=s.cache,c=void 0===u?e?new WeakMap:void 0:u,l=s.meta;return r(t,a,{cache:c,equals:o,meta:l,strict:i})};if(e)return function(t,e){return r(t,e,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var a={cache:void 0,equals:o,meta:void 0,strict:i};return function(t,e){return r(t,e,a)}}({circular:n,comparator:f,createState:i,equals:o?o(f):(e=f,function(t,r,n,o,i,a,s){return e(t,r,s)}),strict:c})}},73891:function(t,e,r){"use strict";r.d(e,{B:function(){return n}});class n extends Map{constructor(t,e=s){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,r]of t)this.set(e,r)}get(t){return super.get(o(this,t))}has(t){return super.has(o(this,t))}set(t,e){return super.set(i(this,t),e)}delete(t){return super.delete(a(this,t))}}Set;function o({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):r}function i({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}function a({_intern:t,_key:e},r){const n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}function s(t){return null!==t&&"object"==typeof t?t.valueOf():t}},12080:function(t,e,r){"use strict";r.r(e),r.d(e,{HTML5toTouch:function(){return L}});var n={};function o(t){let e=null;return()=>(null==e&&(e=t()),e)}r.r(n),r.d(n,{FILE:function(){return s},HTML:function(){return l},TEXT:function(){return c},URL:function(){return u}});class i{enter(t){const e=this.entered.length;return this.entered=function(t,e){const r=new Set,n=t=>r.add(t);t.forEach(n),e.forEach(n);const o=[];return r.forEach((t=>o.push(t))),o}(this.entered.filter((e=>this.isNodeInDocument(e)&&(!e.contains||e.contains(t)))),[t]),0===e&&this.entered.length>0}leave(t){const e=this.entered.length;var r,n;return this.entered=(r=this.entered.filter(this.isNodeInDocument),n=t,r.filter((t=>t!==n))),e>0&&0===this.entered.length}reset(){this.entered=[]}constructor(t){this.entered=[],this.isNodeInDocument=t}}class a{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach((t=>{Object.defineProperty(this.item,t,{configurable:!0,enumerable:!0,get(){return null}})}))}loadDataTransfer(t){if(t){const e={};Object.keys(this.config.exposeProperties).forEach((r=>{const n=this.config.exposeProperties[r];null!=n&&(e[r]={value:n(t,this.config.matchesTypes),configurable:!0,enumerable:!0})})),Object.defineProperties(this.item,e)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(t,e){return e===t.getSourceId()}endDrag(){}constructor(t){this.config=t,this.item={},this.initializeExposedProperties()}}const s="__NATIVE_FILE__",u="__NATIVE_URL__",c="__NATIVE_TEXT__",l="__NATIVE_HTML__";function f(t,e,r){const n=e.reduce(((e,r)=>e||t.getData(r)),"");return null!=n?n:r}const d={[s]:{exposeProperties:{files:t=>Array.prototype.slice.call(t.files),items:t=>t.items,dataTransfer:t=>t},matchesTypes:["Files"]},[l]:{exposeProperties:{html:(t,e)=>f(t,e,""),dataTransfer:t=>t},matchesTypes:["Html","text/html"]},[u]:{exposeProperties:{urls:(t,e)=>f(t,e,"").split("\n"),dataTransfer:t=>t},matchesTypes:["Url","text/uri-list"]},[c]:{exposeProperties:{text:(t,e)=>f(t,e,""),dataTransfer:t=>t},matchesTypes:["Text","text/plain"]}};function p(t){if(!t)return null;const e=Array.prototype.slice.call(t.types||[]);return Object.keys(d).filter((t=>{const r=d[t];return!!(null==r?void 0:r.matchesTypes)&&r.matchesTypes.some((t=>e.indexOf(t)>-1))}))[0]||null}const h=o((()=>/firefox/i.test(navigator.userAgent))),g=o((()=>Boolean(window.safari)));class v{interpolate(t){const{xs:e,ys:r,c1s:n,c2s:o,c3s:i}=this;let a=e.length-1;if(t===e[a])return r[a];let s,u=0,c=i.length-1;for(;u<=c;){s=Math.floor(.5*(u+c));const n=e[s];if(nt))return r[s];c=s-1}}a=Math.max(0,c);const l=t-e[a],f=l*l;return r[a]+n[a]*l+o[a]*f+i[a]*l*f}constructor(t,e){const{length:r}=t,n=[];for(let t=0;tt[e]{let t=new v([0,.5,1],[c.y,c.y/f*b,c.y+b-f]).interpolate(p);return g()&&i&&(t+=(window.devicePixelRatio-1)*b),t})()}}class O{get window(){return this.globalContext?this.globalContext:"undefined"!=typeof window?window:void 0}get document(){var t;return(null===(t=this.globalContext)||void 0===t?void 0:t.document)?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var t;return(null===(t=this.optionsArgs)||void 0===t?void 0:t.rootElement)||this.window}constructor(t,e){this.ownerDocument=null,this.globalContext=t,this.optionsArgs=e}}function E(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function x(t){for(var e=1;e{this.sourcePreviewNodes.delete(t),this.sourcePreviewNodeOptions.delete(t)}}connectDragSource(t,e,r){this.sourceNodes.set(t,e),this.sourceNodeOptions.set(t,r);const n=e=>this.handleDragStart(e,t),o=t=>this.handleSelectStart(t);return e.setAttribute("draggable","true"),e.addEventListener("dragstart",n),e.addEventListener("selectstart",o),()=>{this.sourceNodes.delete(t),this.sourceNodeOptions.delete(t),e.removeEventListener("dragstart",n),e.removeEventListener("selectstart",o),e.setAttribute("draggable","false")}}connectDropTarget(t,e){const r=e=>this.handleDragEnter(e,t),n=e=>this.handleDragOver(e,t),o=e=>this.handleDrop(e,t);return e.addEventListener("dragenter",r),e.addEventListener("dragover",n),e.addEventListener("drop",o),()=>{e.removeEventListener("dragenter",r),e.removeEventListener("dragover",n),e.removeEventListener("drop",o)}}addEventListeners(t){t.addEventListener&&(t.addEventListener("dragstart",this.handleTopDragStart),t.addEventListener("dragstart",this.handleTopDragStartCapture,!0),t.addEventListener("dragend",this.handleTopDragEndCapture,!0),t.addEventListener("dragenter",this.handleTopDragEnter),t.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.addEventListener("dragover",this.handleTopDragOver),t.addEventListener("dragover",this.handleTopDragOverCapture,!0),t.addEventListener("drop",this.handleTopDrop),t.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(t){t.removeEventListener&&(t.removeEventListener("dragstart",this.handleTopDragStart),t.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),t.removeEventListener("dragend",this.handleTopDragEndCapture,!0),t.removeEventListener("dragenter",this.handleTopDragEnter),t.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.removeEventListener("dragover",this.handleTopDragOver),t.removeEventListener("dragover",this.handleTopDragOverCapture,!0),t.removeEventListener("drop",this.handleTopDrop),t.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const t=this.monitor.getSourceId(),e=this.sourceNodeOptions.get(t);return x({dropEffect:this.altKeyPressed?"copy":"move"},e||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const t=this.monitor.getSourceId();return x({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(t)||{})}isDraggingNativeItem(){const t=this.monitor.getItemType();return Object.keys(n).some((e=>n[e]===t))}beginDragNativeItem(t,e){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(t,e){const r=d[t];if(!r)throw new Error(`native type ${t} has no configuration`);const n=new a(r);return n.loadDataTransfer(e),n}(t,e),this.currentNativeHandle=this.registry.addSource(t,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(t){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=t;this.mouseMoveTimeoutTimer=setTimeout((()=>{var t;return null===(t=this.rootElement)||void 0===t?void 0:t.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}),1e3)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){var t;if(this.currentDragSourceNode=null,this.rootElement)null===(t=this.window)||void 0===t||t.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0);return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(t,e){t.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(e))}handleDragEnter(t,e){this.dragEnterTargetIds.unshift(e)}handleDragOver(t,e){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(e)}handleDrop(t,e){this.dropTargetIds.unshift(e)}constructor(t,e,r){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=t=>{const e=this.sourceNodes.get(t);return e&&m(e)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=t=>Boolean(t&&this.document&&this.document.body&&this.document.body.contains(t)),this.endDragIfSourceWasRemovedFromDOM=()=>{const t=this.currentDragSourceNode;null==t||this.isNodeInDocument(t)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=t=>{null===this.hoverRafId&&"undefined"!=typeof requestAnimationFrame&&(this.hoverRafId=requestAnimationFrame((()=>{this.monitor.isDragging()&&this.actions.hover(t||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null})))},this.cancelHover=()=>{null!==this.hoverRafId&&"undefined"!=typeof cancelAnimationFrame&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=t=>{if(t.defaultPrevented)return;const{dragStartSourceIds:e}=this;this.dragStartSourceIds=null;const r=b(t);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(e||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});const{dataTransfer:n}=t,o=p(n);if(this.monitor.isDragging()){if(n&&"function"==typeof n.setDragImage){const t=this.monitor.getSourceId(),e=this.sourceNodes.get(t),o=this.sourcePreviewNodes.get(t)||e;if(o){const{anchorX:t,anchorY:i,offsetX:a,offsetY:s}=this.getCurrentSourcePreviewNodeOptions(),u=w(e,o,r,{anchorX:t,anchorY:i},{offsetX:a,offsetY:s});n.setDragImage(o,u.x,u.y)}}try{null==n||n.setData("application/json",{})}catch(t){}this.setCurrentDragSourceNode(t.target);const{captureDraggingState:e}=this.getCurrentSourcePreviewNodeOptions();e?this.actions.publishDragSource():setTimeout((()=>this.actions.publishDragSource()),0)}else if(o)this.beginDragNativeItem(o);else{if(n&&!n.types&&(t.target&&!t.target.hasAttribute||!t.target.hasAttribute("draggable")))return;t.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=t=>{var e;(this.dragEnterTargetIds=[],this.isDraggingNativeItem())&&(null===(e=this.currentNativeSource)||void 0===e||e.loadDataTransfer(t.dataTransfer));if(!this.enterLeaveCounter.enter(t.target)||this.monitor.isDragging())return;const{dataTransfer:r}=t,n=p(r);n&&this.beginDragNativeItem(n,r)},this.handleTopDragEnter=t=>{const{dragEnterTargetIds:e}=this;if(this.dragEnterTargetIds=[],!this.monitor.isDragging())return;this.altKeyPressed=t.altKey,e.length>0&&this.actions.hover(e,{clientOffset:b(t)});e.some((t=>this.monitor.canDropOnTarget(t)))&&(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect=this.getCurrentDropEffect()))},this.handleTopDragOverCapture=t=>{var e;(this.dragOverTargetIds=[],this.isDraggingNativeItem())&&(null===(e=this.currentNativeSource)||void 0===e||e.loadDataTransfer(t.dataTransfer))},this.handleTopDragOver=t=>{const{dragOverTargetIds:e}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return t.preventDefault(),void(t.dataTransfer&&(t.dataTransfer.dropEffect="none"));this.altKeyPressed=t.altKey,this.lastClientOffset=b(t),this.scheduleHover(e);(e||[]).some((t=>this.monitor.canDropOnTarget(t)))?(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?t.preventDefault():(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=t=>{this.isDraggingNativeItem()&&t.preventDefault();this.enterLeaveCounter.leave(t.target)&&(this.isDraggingNativeItem()&&setTimeout((()=>this.endDragNativeItem()),0),this.cancelHover())},this.handleTopDropCapture=t=>{var e;(this.dropTargetIds=[],this.isDraggingNativeItem())?(t.preventDefault(),null===(e=this.currentNativeSource)||void 0===e||e.loadDataTransfer(t.dataTransfer)):p(t.dataTransfer)&&t.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=t=>{const{dropTargetIds:e}=this;this.dropTargetIds=[],this.actions.hover(e,{clientOffset:b(t)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=t=>{const e=t.target;"function"==typeof e.dragDrop&&("INPUT"===e.tagName||"SELECT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable||(t.preventDefault(),e.dragDrop()))},this.options=new O(e,r),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enterLeaveCounter=new i(this.isNodeInDocument)}}var D,T=r(4384);!function(t){t.mouse="mouse",t.touch="touch",t.keyboard="keyboard"}(D||(D={}));class C{get delay(){var t;return null!==(t=this.args.delay)&&void 0!==t?t:0}get scrollAngleRanges(){return this.args.scrollAngleRanges}get getDropTargetElementsAtPoint(){return this.args.getDropTargetElementsAtPoint}get ignoreContextMenu(){var t;return null!==(t=this.args.ignoreContextMenu)&&void 0!==t&&t}get enableHoverOutsideTarget(){var t;return null!==(t=this.args.enableHoverOutsideTarget)&&void 0!==t&&t}get enableKeyboardEvents(){var t;return null!==(t=this.args.enableKeyboardEvents)&&void 0!==t&&t}get enableMouseEvents(){var t;return null!==(t=this.args.enableMouseEvents)&&void 0!==t&&t}get enableTouchEvents(){var t;return null===(t=this.args.enableTouchEvents)||void 0===t||t}get touchSlop(){return this.args.touchSlop||0}get delayTouchStart(){var t,e,r,n;return null!==(n=null!==(r=null===(t=this.args)||void 0===t?void 0:t.delayTouchStart)&&void 0!==r?r:null===(e=this.args)||void 0===e?void 0:e.delay)&&void 0!==n?n:0}get delayMouseStart(){var t,e,r,n;return null!==(n=null!==(r=null===(t=this.args)||void 0===t?void 0:t.delayMouseStart)&&void 0!==r?r:null===(e=this.args)||void 0===e?void 0:e.delay)&&void 0!==n?n:0}get window(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}get document(){var t;return(null===(t=this.context)||void 0===t?void 0:t.document)?this.context.document:this.window?this.window.document:void 0}get rootElement(){var t;return(null===(t=this.args)||void 0===t?void 0:t.rootElement)||this.document}constructor(t,e){this.args=t,this.context=e}}const P=1,I=0;function k(t){return void 0===t.button||t.button===I}function N(t){return!!t.targetTouches}function j(t,e){return N(t)?function(t,e){return 1===t.targetTouches.length?j(t.targetTouches[0]):e&&1===t.touches.length&&t.touches[0].target===e.target?j(t.touches[0]):void 0}(t,e):{x:t.clientX,y:t.clientY}}const _=(()=>{let t=!1;try{addEventListener("test",(()=>{}),Object.defineProperty({},"passive",{get(){return t=!0,!0}}))}catch(t){}return t})(),A={[D.mouse]:{start:"mousedown",move:"mousemove",end:"mouseup",contextmenu:"contextmenu"},[D.touch]:{start:"touchstart",move:"touchmove",end:"touchend"},[D.keyboard]:{keydown:"keydown"}};class M{profile(){var t;return{sourceNodes:this.sourceNodes.size,sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,targetNodes:this.targetNodes.size,dragOverTargetIds:(null===(t=this.dragOverTargetIds)||void 0===t?void 0:t.length)||0}}get document(){return this.options.document}setup(){const t=this.options.rootElement;t&&((0,T.V)(!M.isSetUp,"Cannot have two Touch backends at the same time."),M.isSetUp=!0,this.addEventListener(t,"start",this.getTopMoveStartHandler()),this.addEventListener(t,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(t,"move",this.handleTopMove),this.addEventListener(t,"move",this.handleTopMoveCapture,!0),this.addEventListener(t,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.addEventListener(t,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.addEventListener(t,"keydown",this.handleCancelOnEscape,!0))}teardown(){const t=this.options.rootElement;t&&(M.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(t,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(t,"start",this.handleTopMoveStart),this.removeEventListener(t,"move",this.handleTopMoveCapture,!0),this.removeEventListener(t,"move",this.handleTopMove),this.removeEventListener(t,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.removeEventListener(t,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.removeEventListener(t,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}addEventListener(t,e,r,n=!1){const o=_?{capture:n,passive:!1}:n;this.listenerTypes.forEach((function(n){const i=A[n][e];i&&t.addEventListener(i,r,o)}))}removeEventListener(t,e,r,n=!1){const o=_?{capture:n,passive:!1}:n;this.listenerTypes.forEach((function(n){const i=A[n][e];i&&t.removeEventListener(i,r,o)}))}connectDragSource(t,e){const r=this.handleMoveStart.bind(this,t);return this.sourceNodes.set(t,e),this.addEventListener(e,"start",r),()=>{this.sourceNodes.delete(t),this.removeEventListener(e,"start",r)}}connectDragPreview(t,e,r){return this.sourcePreviewNodeOptions.set(t,r),this.sourcePreviewNodes.set(t,e),()=>{this.sourcePreviewNodes.delete(t),this.sourcePreviewNodeOptions.delete(t)}}connectDropTarget(t,e){const r=this.options.rootElement;if(!this.document||!r)return()=>{};const n=n=>{if(!this.document||!r||!this.monitor.isDragging())return;let o;switch(n.type){case A.mouse.move:o={x:n.clientX,y:n.clientY};break;case A.touch.move:var i,a;o={x:(null===(i=n.touches[0])||void 0===i?void 0:i.clientX)||0,y:(null===(a=n.touches[0])||void 0===a?void 0:a.clientY)||0}}const s=null!=o?this.document.elementFromPoint(o.x,o.y):void 0,u=s&&e.contains(s);return s===e||u?this.handleMove(n,t):void 0};return this.addEventListener(this.document.body,"move",n),this.targetNodes.set(t,e),()=>{this.document&&(this.targetNodes.delete(t),this.removeEventListener(this.document.body,"move",n))}}getTopMoveStartHandler(){return this.options.delayTouchStart||this.options.delayMouseStart?this.handleTopMoveStartDelay:this.handleTopMoveStart}installSourceNodeRemovalObserver(t){this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=t,this.draggedSourceNodeRemovalObserver=new MutationObserver((()=>{t&&!t.parentElement&&(this.resurrectSourceNode(),this.uninstallSourceNodeRemovalObserver())})),t&&t.parentElement&&this.draggedSourceNodeRemovalObserver.observe(t.parentElement,{childList:!0})}resurrectSourceNode(){this.document&&this.draggedSourceNode&&(this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),this.document.body.appendChild(this.draggedSourceNode))}uninstallSourceNodeRemovalObserver(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=void 0,this.draggedSourceNode=void 0}constructor(t,e,r){this.getSourceClientOffset=t=>{const e=this.sourceNodes.get(t);return e&&function(t){const e=1===t.nodeType?t:t.parentElement;if(!e)return;const{top:r,left:n}=e.getBoundingClientRect();return{x:n,y:r}}(e)},this.handleTopMoveStartCapture=t=>{k(t)&&(this.moveStartSourceIds=[])},this.handleMoveStart=t=>{Array.isArray(this.moveStartSourceIds)&&this.moveStartSourceIds.unshift(t)},this.handleTopMoveStart=t=>{if(!k(t))return;const e=j(t);e&&(N(t)&&(this.lastTargetTouchFallback=t.targetTouches[0]),this._mouseClientOffset=e),this.waitingForDelay=!1},this.handleTopMoveStartDelay=t=>{if(!k(t))return;const e=t.type===A.touch.start?this.options.delayTouchStart:this.options.delayMouseStart;this.timeout=setTimeout(this.handleTopMoveStart.bind(this,t),e),this.waitingForDelay=!0},this.handleTopMoveCapture=()=>{this.dragOverTargetIds=[]},this.handleMove=(t,e)=>{this.dragOverTargetIds&&this.dragOverTargetIds.unshift(e)},this.handleTopMove=t=>{if(this.timeout&&clearTimeout(this.timeout),!this.document||this.waitingForDelay)return;const{moveStartSourceIds:e,dragOverTargetIds:r}=this,n=this.options.enableHoverOutsideTarget,o=j(t,this.lastTargetTouchFallback);if(!o)return;if(this._isScrolling||!this.monitor.isDragging()&&function(t,e,r,n,o){if(!o)return!1;const i=180*Math.atan2(n-e,r-t)/Math.PI+180;for(let t=0;t=e.start)&&(null==e.end||i<=e.end))return!0}return!1}(this._mouseClientOffset.x||0,this._mouseClientOffset.y||0,o.x,o.y,this.options.scrollAngleRanges))return void(this._isScrolling=!0);var i,a,s,u;if(!this.monitor.isDragging()&&this._mouseClientOffset.hasOwnProperty("x")&&e&&(i=this._mouseClientOffset.x||0,a=this._mouseClientOffset.y||0,s=o.x,u=o.y,Math.sqrt(Math.pow(Math.abs(s-i),2)+Math.pow(Math.abs(u-a),2))>(this.options.touchSlop?this.options.touchSlop:0))&&(this.moveStartSourceIds=void 0,this.actions.beginDrag(e,{clientOffset:this._mouseClientOffset,getSourceClientOffset:this.getSourceClientOffset,publishSource:!1})),!this.monitor.isDragging())return;const c=this.sourceNodes.get(this.monitor.getSourceId());this.installSourceNodeRemovalObserver(c),this.actions.publishDragSource(),t.cancelable&&t.preventDefault();const l=(r||[]).map((t=>this.targetNodes.get(t))).filter((t=>!!t)),f=this.options.getDropTargetElementsAtPoint?this.options.getDropTargetElementsAtPoint(o.x,o.y,l):this.document.elementsFromPoint(o.x,o.y),d=[];for(const t in f){if(!f.hasOwnProperty(t))continue;let e=f[t];for(null!=e&&d.push(e);e;)e=e.parentElement,e&&-1===d.indexOf(e)&&d.push(e)}const p=d.filter((t=>l.indexOf(t)>-1)).map((t=>this._getDropTargetId(t))).filter((t=>!!t)).filter(((t,e,r)=>r.indexOf(t)===e));if(n)for(const t in this.targetNodes){const e=this.targetNodes.get(t);if(c&&e&&e.contains(c)&&-1===p.indexOf(t)){p.unshift(t);break}}p.reverse(),this.actions.hover(p,{clientOffset:o})},this._getDropTargetId=t=>{const e=this.targetNodes.keys();let r=e.next();for(;!1===r.done;){const n=r.value;if(t===this.targetNodes.get(n))return n;r=e.next()}},this.handleTopMoveEndCapture=t=>{this._isScrolling=!1,this.lastTargetTouchFallback=void 0,function(t){return void 0===t.buttons||!(t.buttons&P)}(t)&&(this.monitor.isDragging()&&!this.monitor.didDrop()?(t.cancelable&&t.preventDefault(),this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.drop(),this.actions.endDrag()):this.moveStartSourceIds=void 0)},this.handleCancelOnEscape=t=>{"Escape"===t.key&&this.monitor.isDragging()&&(this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.endDrag())},this.options=new C(r,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.sourceNodes=new Map,this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.targetNodes=new Map,this.listenerTypes=[],this._mouseClientOffset={},this._isScrolling=!1,this.options.enableMouseEvents&&this.listenerTypes.push(D.mouse),this.options.enableTouchEvents&&this.listenerTypes.push(D.touch),this.options.enableKeyboardEvents&&this.listenerTypes.push(D.keyboard)}}var R=r(96472),L={backends:[{id:"html5",backend:function(t,e,r){return new S(t,e,r)},transition:R.nf},{id:"touch",backend:function(t,e={},r={}){return new M(t,e,r)},options:{enableMouseEvents:!0},preview:!0,transition:R.lr}]}},93492:function(t,e,r){"use strict";r.r(e),r.d(e,{DndProvider:function(){return m},HTML5DragTransition:function(){return n.Ik},MouseTransition:function(){return n.v8},MultiBackend:function(){return n.U2},PointerTransition:function(){return n.nf},Preview:function(){return w},PreviewContext:function(){return d},TouchTransition:function(){return n.lr},createTransition:function(){return n.eV},useMultiDrag:function(){return x},useMultiDrop:function(){return S},usePreview:function(){return D}});var n=r(96472),o=r(26322),i=r(99622),a=r(63987),s=r(86238),u=(t,e)=>({x:t.x-e.x,y:t.y-e.y}),c=(t,e)=>{let r=t.getClientOffset();if(null===r)return null;if(!e.current||!e.current.getBoundingClientRect)return u(r,(t=>{let e=t.getInitialClientOffset(),r=t.getInitialSourceClientOffset();return null===e||null===r?{x:0,y:0}:u(e,r)})(t));let n=e.current.getBoundingClientRect(),o={x:n.width/2,y:n.height/2};return u(r,o)},l=t=>{let e=`translate(${t.x.toFixed(1)}px, ${t.y.toFixed(1)}px)`;return{pointerEvents:"none",position:"fixed",top:0,left:0,transform:e,WebkitTransform:e}},f=()=>{let t=(0,o.useRef)(null),e=(0,s.V)((e=>({currentOffset:c(e,t),isDragging:e.isDragging(),itemType:e.getItemType(),item:e.getItem(),monitor:e})));return e.isDragging&&null!==e.currentOffset?{display:!0,itemType:e.itemType,item:e.item,style:l(e.currentOffset),monitor:e.monitor,ref:t}:{display:!1}},d=(0,o.createContext)(void 0),p=t=>{let e=f();if(!e.display)return null;let r,{display:n,...i}=e;return r="children"in t?"function"==typeof t.children?t.children(i):t.children:t.generator(i),o.createElement(d.Provider,{value:i},r)},h=r(91644),g=r(9102),v=r(88771),y=(0,o.createContext)(null),m=({portal:t,...e})=>{let[r,a]=(0,o.useState)(null);return o.createElement(y.Provider,{value:t??r},o.createElement(i.Q,{backend:n.U2,...e}),t?null:o.createElement("div",{ref:a}))},b=()=>{let[t,e]=(0,o.useState)(!1),r=(0,o.useContext)(h.M);return(0,o.useEffect)((()=>{let t=r?.dragDropManager?.getBackend(),n={backendChanged:t=>{e(t.previewEnabled())}};return e(t.previewEnabled()),t.previewsList().register(n),()=>{t.previewsList().unregister(n)}}),[r,r.dragDropManager]),t},w=t=>{let e=b(),r=(0,o.useContext)(y);if(!e)return null;let n=o.createElement(p,{...t});return null!==r?(0,a.createPortal)(n,r):n};w.Context=d;var O=(t,e,r,n)=>{let o=r.getBackend();r.receiveBackend(n);let i=e(t);return r.receiveBackend(o),i},E=(t,e)=>{let r=(0,o.useContext)(h.M),n=r?.dragDropManager?.getBackend();if(void 0===n)throw new Error("could not find backend, make sure you are using a ");let i=e(t),a={},s=n.backendsList();for(let n of s)a[n.id]=O(t,e,r.dragDropManager,n.instance);return[i,a]},x=t=>E(t,g.i),S=t=>E(t,v.H),D=()=>{let t=b(),e=f();return t?e:{display:!1}}},91644:function(t,e,r){"use strict";r.d(e,{M:function(){return n}});const n=(0,r(26322).createContext)({dragDropManager:void 0})},99622:function(t,e,r){"use strict";r.d(e,{Q:function(){return yt}});var n=r(73146);function o(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var i="function"==typeof Symbol&&Symbol.observable||"@@observable",a=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function u(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function c(t,e,r){var n;if("function"==typeof e&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(o(0));if("function"==typeof e&&void 0===r&&(r=e,e=void 0),void 0!==r){if("function"!=typeof r)throw new Error(o(1));return r(c)(t,e)}if("function"!=typeof t)throw new Error(o(2));var a=t,l=e,f=[],d=f,p=!1;function h(){d===f&&(d=f.slice())}function g(){if(p)throw new Error(o(3));return l}function v(t){if("function"!=typeof t)throw new Error(o(4));if(p)throw new Error(o(5));var e=!0;return h(),d.push(t),function(){if(e){if(p)throw new Error(o(6));e=!1,h();var r=d.indexOf(t);d.splice(r,1),f=null}}}function y(t){if(!u(t))throw new Error(o(7));if(void 0===t.type)throw new Error(o(8));if(p)throw new Error(o(9));try{p=!0,l=a(l,t)}finally{p=!1}for(var e=f=d,r=0;r=0;n--)if(e.canDragSource(t[n])){r=t[n];break}return r}(e,a);if(null==u)return void t.dispatch(b);let c=null;if(o){if(!i)throw new Error("getSourceClientOffset must be defined");!function(t){(0,l.V)("function"==typeof t,"When clientOffset is provided, getSourceClientOffset must be a function.")}(i),c=i(u)}t.dispatch(m(o,c));const d=s.getSource(u).beginDrag(a,u);if(null==d)return;!function(t){(0,l.V)(f(t),"Item must be an object.")}(d),s.pinSource(u);const h=s.getSourceType(u);return{type:p,payload:{itemType:h,item:d,sourceId:u,clientOffset:o||null,sourceClientOffset:c||null,isSourcePublic:!!n}}}}function O(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function E(t){for(var e=1;e{const a=function(t,e,r,n){const o=r.getTarget(t);let i=o?o.drop(n,t):void 0;(function(t){(0,l.V)(void 0===t||f(t),"Drop result must either be an object or undefined.")})(i),void 0===i&&(i=0===e?{}:n.getDropResult());return i}(o,i,n,r),s={type:v,payload:{dropResult:E({},e,a)}};t.dispatch(s)}))}}function S(t){return function(){const e=t.getMonitor(),r=t.getRegistry();!function(t){(0,l.V)(t.isDragging(),"Cannot call endDrag while not dragging.")}(e);const n=e.getSourceId();if(null!=n){r.getSource(n,!0).endDrag(e,n),r.unpinSource()}return{type:y}}}function D(t,e){return null===e?null===t:Array.isArray(t)?t.some((t=>t===e)):t===e}function T(t){return function(e,{clientOffset:r}={}){!function(t){(0,l.V)(Array.isArray(t),"Expected targetIds to be an array.")}(e);const n=e.slice(0),o=t.getMonitor(),i=t.getRegistry();return function(t,e,r){for(let n=t.length-1;n>=0;n--){const o=t[n];D(e.getTargetType(o),r)||t.splice(n,1)}}(n,i,o.getItemType()),function(t,e,r){(0,l.V)(e.isDragging(),"Cannot call hover while not dragging."),(0,l.V)(!e.didDrop(),"Cannot call hover after drop.");for(let e=0;e{const i=r[o];var a;return n[o]=(a=i,(...r)=>{const n=a.apply(t,r);void 0!==n&&e(n)}),n}),{})}dispatch(t){this.store.dispatch(t)}constructor(t,e){this.isSetUp=!1,this.handleRefCountChange=()=>{const t=this.store.getState().refCount>0;this.backend&&(t&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!t&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=t,this.monitor=e,t.subscribe(this.handleRefCountChange)}}function I(t,e){return{x:t.x-e.x,y:t.y-e.y}}const k=[],N=[];k.__IS_NONE__=!0,N.__IS_ALL__=!0;class j{subscribeToStateChange(t,e={}){const{handlerIds:r}=e;(0,l.V)("function"==typeof t,"listener must be a function."),(0,l.V)(void 0===r||Array.isArray(r),"handlerIds, when specified, must be an array of strings.");let n=this.store.getState().stateId;return this.store.subscribe((()=>{const e=this.store.getState(),o=e.stateId;try{const i=o===n||o===n+1&&!function(t,e){return t!==k&&(t===N||void 0===e||(r=t,e.filter((t=>r.indexOf(t)>-1))).length>0);var r}(e.dirtyHandlerIds,r);i||t()}finally{n=o}}))}subscribeToOffsetChange(t){(0,l.V)("function"==typeof t,"listener must be a function.");let e=this.store.getState().dragOffset;return this.store.subscribe((()=>{const r=this.store.getState().dragOffset;r!==e&&(e=r,t())}))}canDragSource(t){if(!t)return!1;const e=this.registry.getSource(t);return(0,l.V)(e,`Expected to find a valid source. sourceId=${t}`),!this.isDragging()&&e.canDrag(this,t)}canDropOnTarget(t){if(!t)return!1;const e=this.registry.getTarget(t);if((0,l.V)(e,`Expected to find a valid target. targetId=${t}`),!this.isDragging()||this.didDrop())return!1;return D(this.registry.getTargetType(t),this.getItemType())&&e.canDrop(this,t)}isDragging(){return Boolean(this.getItemType())}isDraggingSource(t){if(!t)return!1;const e=this.registry.getSource(t,!0);if((0,l.V)(e,`Expected to find a valid source. sourceId=${t}`),!this.isDragging()||!this.isSourcePublic())return!1;return this.registry.getSourceType(t)===this.getItemType()&&e.isDragging(this,t)}isOverTarget(t,e={shallow:!1}){if(!t)return!1;const{shallow:r}=e;if(!this.isDragging())return!1;const n=this.registry.getTargetType(t),o=this.getItemType();if(o&&!D(n,o))return!1;const i=this.getTargetIds();if(!i.length)return!1;const a=i.indexOf(t);return r?a===i.length-1:a>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return Boolean(this.store.getState().dragOperation.isSourcePublic)}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(t){const{clientOffset:e,initialClientOffset:r,initialSourceClientOffset:n}=t;return e&&r&&n?I((i=n,{x:(o=e).x+i.x,y:o.y+i.y}),r):null;var o,i}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return function(t){const{clientOffset:e,initialClientOffset:r}=t;return e&&r?I(e,r):null}(this.store.getState().dragOffset)}constructor(t,e){this.store=t,this.registry=e}}const _="undefined"!=typeof global?global:self,A=_.MutationObserver||_.WebKitMutationObserver;function M(t){return function(){const e=setTimeout(n,0),r=setInterval(n,50);function n(){clearTimeout(e),clearInterval(r),t()}}}const R="function"==typeof A?function(t){let e=1;const r=new A(t),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){e=-e,n.data=e}}:M;class L{call(){try{this.task&&this.task()}catch(t){this.onError(t)}finally{this.task=null,this.release(this)}}constructor(t,e){this.onError=t,this.release=e,this.task=null}}const F=new class{enqueueTask(t){const{queue:e,requestFlush:r}=this;e.length||(r(),this.flushing=!0),e[e.length]=t}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:t}=this;for(;this.indexthis.capacity){for(let e=0,r=t.length-this.index;e{this.pendingErrors.push(t),this.requestErrorThrow()},this.requestFlush=R(this.flush),this.requestErrorThrow=M((()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()}))}},H=new class{create(t){const e=this.freeTasks,r=e.length?e.pop():new L(this.onError,(t=>e[e.length]=t));return r.task=t,r}constructor(t){this.onError=t,this.freeTasks=[]}}(F.registerPendingError);const B="dnd-core/ADD_SOURCE",q="dnd-core/ADD_TARGET",z="dnd-core/REMOVE_SOURCE",U="dnd-core/REMOVE_TARGET";function $(t,e){e&&Array.isArray(t)?t.forEach((t=>$(t,!1))):(0,l.V)("string"==typeof t||"symbol"==typeof t,e?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var V;!function(t){t.SOURCE="SOURCE",t.TARGET="TARGET"}(V||(V={}));let W=0;function Y(t){const e=(W++).toString();switch(t){case V.SOURCE:return`S${e}`;case V.TARGET:return`T${e}`;default:throw new Error(`Unknown Handler Role: ${t}`)}}function G(t){switch(t[0]){case"S":return V.SOURCE;case"T":return V.TARGET;default:throw new Error(`Cannot parse handler ID: ${t}`)}}function K(t,e){const r=t.entries();let n=!1;do{const{done:t,value:[,o]}=r.next();if(o===e)return!0;n=!!t}while(!n);return!1}class X{addSource(t,e){$(t),function(t){(0,l.V)("function"==typeof t.canDrag,"Expected canDrag to be a function."),(0,l.V)("function"==typeof t.beginDrag,"Expected beginDrag to be a function."),(0,l.V)("function"==typeof t.endDrag,"Expected endDrag to be a function.")}(e);const r=this.addHandler(V.SOURCE,t,e);return this.store.dispatch(function(t){return{type:B,payload:{sourceId:t}}}(r)),r}addTarget(t,e){$(t,!0),function(t){(0,l.V)("function"==typeof t.canDrop,"Expected canDrop to be a function."),(0,l.V)("function"==typeof t.hover,"Expected hover to be a function."),(0,l.V)("function"==typeof t.drop,"Expected beginDrag to be a function.")}(e);const r=this.addHandler(V.TARGET,t,e);return this.store.dispatch(function(t){return{type:q,payload:{targetId:t}}}(r)),r}containsHandler(t){return K(this.dragSources,t)||K(this.dropTargets,t)}getSource(t,e=!1){(0,l.V)(this.isSourceId(t),"Expected a valid source ID.");return e&&t===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(t)}getTarget(t){return(0,l.V)(this.isTargetId(t),"Expected a valid target ID."),this.dropTargets.get(t)}getSourceType(t){return(0,l.V)(this.isSourceId(t),"Expected a valid source ID."),this.types.get(t)}getTargetType(t){return(0,l.V)(this.isTargetId(t),"Expected a valid target ID."),this.types.get(t)}isSourceId(t){return G(t)===V.SOURCE}isTargetId(t){return G(t)===V.TARGET}removeSource(t){var e;(0,l.V)(this.getSource(t),"Expected an existing source."),this.store.dispatch(function(t){return{type:z,payload:{sourceId:t}}}(t)),e=()=>{this.dragSources.delete(t),this.types.delete(t)},F.enqueueTask(H.create(e))}removeTarget(t){(0,l.V)(this.getTarget(t),"Expected an existing target."),this.store.dispatch(function(t){return{type:U,payload:{targetId:t}}}(t)),this.dropTargets.delete(t),this.types.delete(t)}pinSource(t){const e=this.getSource(t);(0,l.V)(e,"Expected an existing source."),this.pinnedSourceId=t,this.pinnedSource=e}unpinSource(){(0,l.V)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(t,e,r){const n=Y(t);return this.types.set(n,e),t===V.SOURCE?this.dragSources.set(n,r):t===V.TARGET&&this.dropTargets.set(n,r),n}constructor(t){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=t}}const J=(t,e)=>t===e;function Z(t=k,e){switch(e.type){case g:break;case B:case q:case U:case z:return k;default:return N}const{targetIds:r=[],prevTargetIds:n=[]}=e.payload,o=function(t,e){const r=new Map,n=t=>{r.set(t,r.has(t)?r.get(t)+1:1)};t.forEach(n),e.forEach(n);const o=[];return r.forEach(((t,e)=>{1===t&&o.push(e)})),o}(r,n);if(!(o.length>0||!function(t,e,r=J){if(t.length!==e.length)return!1;for(let n=0;nt!==o)))});case v:return nt({},t,{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case y:return nt({},t,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return t}var n,o}function at(t=0,e){switch(e.type){case B:case q:return t+1;case z:case U:return t-1;default:return t}}function st(t=0){return t+1}function ut(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ct(t){for(var e=1;et&&t[e]?t[e]:o||null),r))})}),dragOffset:et(t.dragOffset,e),refCount:at(t.refCount,e),dragOperation:it(t.dragOperation,e),stateId:st(t.stateId)};var r,n,o}function ft(t,e=void 0,r={},n=!1){const o=function(t){const e="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return c(lt,t&&e&&e({name:"dnd-core",instanceId:"dnd-core"}))}(n),i=new j(o,new X(o)),a=new P(o,i),s=t(a,e,r);return a.receiveBackend(s),a}var dt=r(26322),pt=r(91644);function ht(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}let gt=0;const vt=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var yt=(0,dt.memo)((function(t){var{children:e}=t,r=ht(t,["children"]);const[o,i]=function(t){if("manager"in t){return[{dragDropManager:t.manager},!1]}const e=function(t,e=mt(),r,n){const o=e;o[vt]||(o[vt]={dragDropManager:ft(t,e,r,n)});return o[vt]}(t.backend,t.context,t.options,t.debugMode),r=!t.context;return[e,r]}(r);return(0,dt.useEffect)((()=>{if(i){const t=mt();return++gt,()=>{0==--gt&&(t[vt]=null)}}}),[]),(0,n.jsx)(pt.M.Provider,{value:o,children:e})}));function mt(){return"undefined"!=typeof global?global:window}},46156:function(t,e,r){"use strict";r.d(e,{j:function(){return i}});var n=r(25342),o=r(22283);function i(t,e,r){return function(t,e,r){const[i,a]=(0,n.F)(t,e,r);return(0,o.E)((function(){const e=t.getHandlerId();if(null!=e)return t.subscribeToStateChange(a,{handlerIds:[e]})}),[t,a]),i}(e,t||(()=>({})),(()=>r.reconnect()))}},25342:function(t,e,r){"use strict";r.d(e,{F:function(){return a}});var n=r(57567),o=r(26322),i=r(22283);function a(t,e,r){const[a,s]=(0,o.useState)((()=>e(t))),u=(0,o.useCallback)((()=>{const o=e(t);n(a,o)||(s(o),r&&r())}),[a,t,r]);return(0,i.E)(u),[a,u]}},9102:function(t,e,r){"use strict";r.d(e,{i:function(){return O}});var n=r(4384),o=r(46156),i=r(73823),a=r(26322);function s(t){return(0,a.useMemo)((()=>t.hooks.dragSource()),[t])}function u(t){return(0,a.useMemo)((()=>t.hooks.dragPreview()),[t])}var c=r(81954),l=r(14665),f=r(86351);class d{receiveHandlerId(t){this.handlerId!==t&&(this.handlerId=t,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(t){this.dragSourceOptionsInternal=t}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(t){this.dragPreviewOptionsInternal=t}reconnect(){const t=this.reconnectDragSource();this.reconnectDragPreview(t)}reconnectDragSource(){const t=this.dragSource,e=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return e&&this.disconnectDragSource(),this.handlerId?t?(e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=t,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,t,this.dragSourceOptions)),e):(this.lastConnectedDragSource=t,e):e}reconnectDragPreview(t=!1){const e=this.dragPreview,r=t||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();r&&this.disconnectDragPreview(),this.handlerId&&(e?r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=e,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,e,this.dragPreviewOptions)):this.lastConnectedDragPreview=e)}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!(0,c.b)(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!(0,c.b)(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(t){this.hooks=(0,f.i)({dragSource:(t,e)=>{this.clearDragSource(),this.dragSourceOptions=e||null,(0,l.i)(t)?this.dragSourceRef=t:this.dragSourceNode=t,this.reconnectDragSource()},dragPreview:(t,e)=>{this.clearDragPreview(),this.dragPreviewOptions=e||null,(0,l.i)(t)?this.dragPreviewRef=t:this.dragPreviewNode=t,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=t}}var p=r(87955),h=r(22283);let g=!1,v=!1;class y{receiveHandlerId(t){this.sourceId=t}getHandlerId(){return this.sourceId}canDrag(){(0,n.V)(!g,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return g=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{g=!1}}isDragging(){if(!this.sourceId)return!1;(0,n.V)(!v,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return v=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{v=!1}}subscribeToStateChange(t,e){return this.internalMonitor.subscribeToStateChange(t,e)}isDraggingSource(t){return this.internalMonitor.isDraggingSource(t)}isOverTarget(t,e){return this.internalMonitor.isOverTarget(t,e)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(t){return this.internalMonitor.subscribeToOffsetChange(t)}canDragSource(t){return this.internalMonitor.canDragSource(t)}canDropOnTarget(t){return this.internalMonitor.canDropOnTarget(t)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(t){this.sourceId=null,this.internalMonitor=t.getMonitor()}}var m=r(53787);class b{beginDrag(){const t=this.spec,e=this.monitor;let r=null;return r="object"==typeof t.item?t.item:"function"==typeof t.item?t.item(e):{},null!=r?r:null}canDrag(){const t=this.spec,e=this.monitor;return"boolean"==typeof t.canDrag?t.canDrag:"function"!=typeof t.canDrag||t.canDrag(e)}isDragging(t,e){const r=this.spec,n=this.monitor,{isDragging:o}=r;return o?o(n):e===t.getSourceId()}endDrag(){const t=this.spec,e=this.monitor,r=this.connector,{end:n}=t;n&&n(e.getItem(),e),r.reconnect()}constructor(t,e,r){this.spec=t,this.monitor=e,this.connector=r}}function w(t,e,r){const o=(0,p.u)(),i=function(t,e,r){const n=(0,a.useMemo)((()=>new b(t,e,r)),[e,r]);return(0,a.useEffect)((()=>{n.spec=t}),[t]),n}(t,e,r),s=function(t){return(0,a.useMemo)((()=>{const e=t.type;return(0,n.V)(null!=e,"spec.type must be defined"),e}),[t])}(t);(0,h.E)((function(){if(null!=s){const[t,n]=(0,m.V)(s,i,o);return e.receiveHandlerId(t),r.receiveHandlerId(t),n}}),[o,e,r,i,s])}function O(t,e){const r=(0,i.I)(t,e);(0,n.V)(!r.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const c=function(){const t=(0,p.u)();return(0,a.useMemo)((()=>new y(t)),[t])}(),l=function(t,e){const r=(0,p.u)(),n=(0,a.useMemo)((()=>new d(r.getBackend())),[r]);return(0,h.E)((()=>(n.dragSourceOptions=t||null,n.reconnect(),()=>n.disconnectDragSource())),[n,t]),(0,h.E)((()=>(n.dragPreviewOptions=e||null,n.reconnect(),()=>n.disconnectDragPreview())),[n,e]),n}(r.options,r.previewOptions);return w(r,c,l),[(0,o.j)(r.collect,c,l),s(l),u(l)]}},87955:function(t,e,r){"use strict";r.d(e,{u:function(){return a}});var n=r(4384),o=r(26322),i=r(91644);function a(){const{dragDropManager:t}=(0,o.useContext)(i.M);return(0,n.V)(null!=t,"Expected drag drop context"),t}},86238:function(t,e,r){"use strict";r.d(e,{V:function(){return a}});var n=r(26322),o=r(25342),i=r(87955);function a(t){const e=(0,i.u)().getMonitor(),[r,a]=(0,o.F)(e,t);return(0,n.useEffect)((()=>e.subscribeToOffsetChange(a))),(0,n.useEffect)((()=>e.subscribeToStateChange(a))),r}},88771:function(t,e,r){"use strict";r.d(e,{H:function(){return b}});var n=r(46156),o=r(73823),i=r(26322);function a(t){return(0,i.useMemo)((()=>t.hooks.dropTarget()),[t])}var s=r(81954),u=r(14665),c=r(86351);class l{get connectTarget(){return this.dropTarget}reconnect(){const t=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();t&&this.disconnectDropTarget();const e=this.dropTarget;this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=e,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,e,this.dropTargetOptions)):this.lastConnectedDropTarget=e)}receiveHandlerId(t){t!==this.handlerId&&(this.handlerId=t,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(t){this.dropTargetOptionsInternal=t}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!(0,s.b)(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(t){this.hooks=(0,c.i)({dropTarget:(t,e)=>{this.clearDropTarget(),this.dropTargetOptions=e,(0,u.i)(t)?this.dropTargetRef=t:this.dropTargetNode=t,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=t}}var f=r(87955),d=r(22283);var p=r(4384);let h=!1;class g{receiveHandlerId(t){this.targetId=t}getHandlerId(){return this.targetId}subscribeToStateChange(t,e){return this.internalMonitor.subscribeToStateChange(t,e)}canDrop(){if(!this.targetId)return!1;(0,p.V)(!h,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return h=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{h=!1}}isOver(t){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,t)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(t){this.targetId=null,this.internalMonitor=t.getMonitor()}}var v=r(53787);class y{canDrop(){const t=this.spec,e=this.monitor;return!t.canDrop||t.canDrop(e.getItem(),e)}hover(){const t=this.spec,e=this.monitor;t.hover&&t.hover(e.getItem(),e)}drop(){const t=this.spec,e=this.monitor;if(t.drop)return t.drop(e.getItem(),e)}constructor(t,e){this.spec=t,this.monitor=e}}function m(t,e,r){const n=(0,f.u)(),o=function(t,e){const r=(0,i.useMemo)((()=>new y(t,e)),[e]);return(0,i.useEffect)((()=>{r.spec=t}),[t]),r}(t,e),a=function(t){const{accept:e}=t;return(0,i.useMemo)((()=>((0,p.V)(null!=t.accept,"accept must be defined"),Array.isArray(e)?e:[e])),[e])}(t);(0,d.E)((function(){const[t,i]=(0,v.l)(a,o,n);return e.receiveHandlerId(t),r.receiveHandlerId(t),i}),[n,e,o,r,a.map((t=>t.toString())).join("|")])}function b(t,e){const r=(0,o.I)(t,e),s=function(){const t=(0,f.u)();return(0,i.useMemo)((()=>new g(t)),[t])}(),u=function(t){const e=(0,f.u)(),r=(0,i.useMemo)((()=>new l(e.getBackend())),[e]);return(0,d.E)((()=>(r.dropTargetOptions=t||null,r.reconnect(),()=>r.disconnectDropTarget())),[t]),r}(r.options);return m(r,s,u),[(0,n.j)(r.collect,s,u),a(u)]}},22283:function(t,e,r){"use strict";r.d(e,{E:function(){return o}});var n=r(26322);const o="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},73823:function(t,e,r){"use strict";r.d(e,{I:function(){return o}});var n=r(26322);function o(t,e){const r=[...e||[]];return null==e&&"function"!=typeof t&&r.push(t),(0,n.useMemo)((()=>"function"==typeof t?t():t),r)}},29033:function(t,e,r){"use strict";r.r(e),r.d(e,{DndContext:function(){return n.M},DndProvider:function(){return o.Q},DragPreviewImage:function(){return a},useDrag:function(){return s.i},useDragDropManager:function(){return u.u},useDragLayer:function(){return c.V},useDrop:function(){return l.H}});var n=r(91644),o=r(99622),i=r(26322);const a=(0,i.memo)((function({connect:t,src:e}){return(0,i.useEffect)((()=>{if("undefined"==typeof Image)return;let r=!1;const n=new Image;return n.src=e,n.onload=()=>{t(n),r=!0},()=>{r&&t(null)}})),null}));var s=r(9102),u=r(87955),c=r(86238),l=r(88771)},14665:function(t,e,r){"use strict";function n(t){return null!==t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}r.d(e,{i:function(){return n}})},53787:function(t,e,r){"use strict";function n(t,e,r){const n=r.getRegistry(),o=n.addTarget(t,e);return[o,()=>n.removeTarget(o)]}function o(t,e,r){const n=r.getRegistry(),o=n.addSource(t,e);return[o,()=>n.removeSource(o)]}r.d(e,{V:function(){return o},l:function(){return n}})},86351:function(t,e,r){"use strict";r.d(e,{i:function(){return a}});var n=r(4384),o=r(26322);function i(t){return(e=null,r=null)=>{if(!(0,o.isValidElement)(e)){const n=e;return t(n,r),n}const i=e;!function(t){if("string"==typeof t.type)return;const e=t.type.displayName||t.type.name||"the component";throw new Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${e} into a
, or turn it into a drag source or a drop target itself.`)}(i);return function(t,e){const r=t.ref;return(0,n.V)("string"!=typeof r,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a or
. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),r?(0,o.cloneElement)(t,{ref:t=>{s(r,t),s(e,t)}}):(0,o.cloneElement)(t,{ref:e})}(i,r?e=>t(e,r):t)}}function a(t){const e={};return Object.keys(t).forEach((r=>{const n=t[r];if(r.endsWith("Ref"))e[r]=t[r];else{const t=i(n);e[r]=()=>t}})),e}function s(t,e){"function"==typeof t?t(e):t.current=e}},95365:function(t,e,r){"use strict";r.d(e,{A:function(){return i}});var n=!0,o="Invariant failed";function i(t,e){if(!t){if(n)throw new Error(o);var r="function"==typeof e?e():e,i=r?"".concat(o,": ").concat(r):o;throw new Error(i)}}}}]); \ No newline at end of file +(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[8187],{23782:function(t,e,r){"use strict";r.d(e,{tb:function(){return z}});var n,o=[],i="ResizeObserver loop completed with undelivered notifications.";!function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(n||(n={}));var a,s=function(t){return Object.freeze(t)},u=function(t,e){this.inlineSize=t,this.blockSize=e,s(this)},c=function(){function t(t,e,r,n){return this.x=t,this.y=e,this.width=r,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,s(this)}return t.prototype.toJSON=function(){var t=this;return{x:t.x,y:t.y,top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),l=function(t){return t instanceof SVGElement&&"getBBox"in t},f=function(t){if(l(t)){var e=t.getBBox(),r=e.width,n=e.height;return!r&&!n}var o=t,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||t.getClientRects().length)},d=function(t){var e;if(t instanceof Element)return!0;var r=null===(e=null==t?void 0:t.ownerDocument)||void 0===e?void 0:e.defaultView;return!!(r&&t instanceof r.Element)},p="undefined"!=typeof window?window:{},h=new WeakMap,g=/auto|scroll/,v=/^tb|vertical/,y=/msie|trident/i.test(p.navigator&&p.navigator.userAgent),m=function(t){return parseFloat(t||"0")},b=function(t,e,r){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===r&&(r=!1),new u((r?e:t)||0,(r?t:e)||0)},w=s({devicePixelContentBoxSize:b(),borderBoxSize:b(),contentBoxSize:b(),contentRect:new c(0,0,0,0)}),O=function(t,e){if(void 0===e&&(e=!1),h.has(t)&&!e)return h.get(t);if(f(t))return h.set(t,w),w;var r=getComputedStyle(t),n=l(t)&&t.ownerSVGElement&&t.getBBox(),o=!y&&"border-box"===r.boxSizing,i=v.test(r.writingMode||""),a=!n&&g.test(r.overflowY||""),u=!n&&g.test(r.overflowX||""),d=n?0:m(r.paddingTop),p=n?0:m(r.paddingRight),O=n?0:m(r.paddingBottom),E=n?0:m(r.paddingLeft),x=n?0:m(r.borderTopWidth),S=n?0:m(r.borderRightWidth),D=n?0:m(r.borderBottomWidth),T=E+p,C=d+O,P=(n?0:m(r.borderLeftWidth))+S,I=x+D,k=u?t.offsetHeight-I-t.clientHeight:0,j=a?t.offsetWidth-P-t.clientWidth:0,N=o?T+P:0,_=o?C+I:0,A=n?n.width:m(r.width)-N-j,M=n?n.height:m(r.height)-_-k,R=A+T+j+P,L=M+C+k+I,F=s({devicePixelContentBoxSize:b(Math.round(A*devicePixelRatio),Math.round(M*devicePixelRatio),i),borderBoxSize:b(R,L,i),contentBoxSize:b(A,M,i),contentRect:new c(E,d,A,M)});return h.set(t,F),F},E=function(t,e,r){var o=O(t,r),i=o.borderBoxSize,a=o.contentBoxSize,s=o.devicePixelContentBoxSize;switch(e){case n.DEVICE_PIXEL_CONTENT_BOX:return s;case n.BORDER_BOX:return i;default:return a}},x=function(t){var e=O(t);this.target=t,this.contentRect=e.contentRect,this.borderBoxSize=s([e.borderBoxSize]),this.contentBoxSize=s([e.contentBoxSize]),this.devicePixelContentBoxSize=s([e.devicePixelContentBoxSize])},S=function(t){if(f(t))return 1/0;for(var e=0,r=t.parentNode;r;)e+=1,r=r.parentNode;return e},D=function(){var t=1/0,e=[];o.forEach((function(r){if(0!==r.activeTargets.length){var n=[];r.activeTargets.forEach((function(e){var r=new x(e.target),o=S(e.target);n.push(r),e.lastReportedSize=E(e.target,e.observedBox),ot?e.activeTargets.push(r):e.skippedTargets.push(r))}))}))},C=function(){var t,e=0;for(T(e);o.some((function(t){return t.activeTargets.length>0}));)e=D(),T(e);return o.some((function(t){return t.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?t=new ErrorEvent("error",{message:i}):((t=document.createEvent("Event")).initEvent("error",!1,!1),t.message=i),window.dispatchEvent(t)),e>0},P=[],I=function(t){if(!a){var e=0,r=document.createTextNode("");new MutationObserver((function(){return P.splice(0).forEach((function(t){return t()}))})).observe(r,{characterData:!0}),a=function(){r.textContent="".concat(e?e--:e++)}}P.push(t),a()},k=0,j={attributes:!0,characterData:!0,childList:!0,subtree:!0},N=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],_=function(t){return void 0===t&&(t=0),Date.now()+t},A=!1,M=new(function(){function t(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return t.prototype.run=function(t){var e=this;if(void 0===t&&(t=250),!A){A=!0;var r,n=_(t);r=function(){var r=!1;try{r=C()}finally{if(A=!1,t=n-_(),!k)return;r?e.run(1e3):t>0?e.run(t):e.start()}},I((function(){requestAnimationFrame(r)}))}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var t=this,e=function(){return t.observer&&t.observer.observe(document.body,j)};document.body?e():p.addEventListener("DOMContentLoaded",e)},t.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),N.forEach((function(e){return p.addEventListener(e,t.listener,!0)})))},t.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),N.forEach((function(e){return p.removeEventListener(e,t.listener,!0)})),this.stopped=!0)},t}()),R=function(t){!k&&t>0&&M.start(),!(k+=t)&&M.stop()},L=function(){function t(t,e){this.target=t,this.observedBox=e||n.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var t,e=E(this.target,this.observedBox,!0);return t=this.target,l(t)||function(t){switch(t.tagName){case"INPUT":if("image"!==t.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(t)||"inline"!==getComputedStyle(t).display||(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),F=function(t,e){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=e},H=new WeakMap,B=function(t,e){for(var r=0;r=0&&(i&&o.splice(o.indexOf(r),1),r.observationTargets.splice(n,1),R(-1))},t.disconnect=function(t){var e=this,r=H.get(t);r.observationTargets.slice().forEach((function(r){return e.unobserve(t,r.target)})),r.activeTargets.splice(0,r.activeTargets.length)},t}(),z=function(){function t(t){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof t)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");q.connect(this,t)}return t.prototype.observe=function(t,e){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!d(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");q.observe(this,t,e)},t.prototype.unobserve=function(t){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!d(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");q.unobserve(this,t)},t.prototype.disconnect=function(){q.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}()},97867:function(t,e,r){var n=r(26322),o=r(55964),i=r(13100),a=r(93266),s=r(87435),u=r(48126),c=r(83619),l=r(8591),f=r(29033),d=r(93492),p=r(12080),h=r(21418),g=r(80960),v=r(78314),y=r(59562);t.exports={classnames:s,FileDrop:i.FileDrop,HexColorInput:g.HexColorInput,HexColorPicker:g.HexColorPicker,immer:c.produce,PropTypes:a,React:n,ReactCalendar:h,ReactDOM:o,ReactDND:f,ReactDNDMultiBackend:d,ReactDNDHtml5ToTouch:p,ReactPaginate:v.default,ReactRouter:{BrowserRouter:y.BrowserRouter,Route:y.Route,Routes:y.Routes,Link:y.Link,NavLink:y.NavLink,useLocation:y.useLocation,useNavigate:y.useNavigate,useSearchParams:y.useSearchParams},SimpleBar:l.default,zustand:u.default}},8173:function(t,e,r){"use strict";r.d(e,{e7:function(){return n},_A:function(){return w},JE:function(){return C},Xx:function(){return O},bL:function(){return E},vt:function(){return $},rM:function(){return F},y0:function(){return T},OJ:function(){return q},uH:function(){return Y}});var n=function(t){var e=t.condition,r=t.wrapper,n=t.children;return e?r(n):n},o=r(71860),i=r(88856),a=r(8140),s=r(97867),u=r(71376),c=s.React.useState,l=function(t){var e=c((function(){return t||(0,u.NF)("id")}));return(0,a.A)(e,1)[0]};function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;en?1:-1,u=setTimeout((function(){o(n+a)}),c);return function(){return clearTimeout(u)}}),[s.React.Children.count(t.children),c,n,d,i]),s.React.createElement(l,{className:t.className},s.React.Children.map(t.children,(function(e,r){return s.React.createElement(f,{className:t.childClassName,style:{transition:"opacity ".concat(i,"ms, transform ").concat(i,"ms"),transform:n>r?"none":"translateY(".concat(u,"px)"),opacity:n>r?1:0}},e)})))}function O(t){var e,r,n,i,a=t.closingSymbol,u=void 0===a?"%%":a,c=t.openingSymbol,l=void 0===c?"%%":c,f=t.text,d=void 0===f?"":f,p=t.tokens,h=(void 0===p?[]:p).reduce((function(t,e){return t[e.key]=e,t}),{});return s.React.createElement(s.React.Fragment,null,(e=d,r=new RegExp("".concat(l,"(.*?)").concat(u,"([\\s\\S]*?)").concat(l,"\\1").concat(u),"g"),n=0,i=[],e.replace(r,(function(t,r,a,u){i.push(e.slice(n,u));var c=h[r];if(c){var l=c.component;i.push(s.React.createElement(l,(0,o.A)({},c.props,{key:"".concat(r,"-").concat(u)}),a))}else i.push(a);n=u+t.length})),i.push(e.slice(n)),i))}function E(t){var e=t.text,r=void 0===e?"":e,n=t.tokens,i=void 0===n?[]:n;return s.React.createElement(s.React.Fragment,null,r.split(/(%\d\$s)/).map((function(t,e){var r=t.match(/%(\d)\$s/);if(r){var n=parseInt(r[1],10)-1,a=i[n];if(!a)return null;var u=a.component;return s.React.createElement(u,(0,o.A)({key:e},a.props))}return t})))}var x=s.React.createContext,S=s.React.useContext,D=x(null),T=function(){return S(D)},C=function(t){var e=t.children,r=t.id,n=l(void 0===r?"":r);return s.React.createElement(D.Provider,{value:n},e)},P=s.React.createContext;s.React.useContext,s.React.useState,P(null);s.React.useState;var I=/input|select|textarea|button|object/,k="a, input, select, textarea, button, object, [tabindex]";function j(t){var e=t.getAttribute("tabindex");return null===e&&(e=void 0),parseInt(e,10)}function N(t){var e=t.nodeName.toLowerCase(),r=!isNaN(j(t));return(I.test(e)&&!t.disabled||t instanceof HTMLAnchorElement&&t.href||r)&&function(t){for(var e,r=t;r&&r!==document.body;){if(e=r,!(0,u.Pu)()&&(e.offsetWidth<=0&&e.offsetHeight<=0||"none"===e.style.display))return!1;r=r.parentNode}return!0}(t)}function _(t){var e=j(t);return(isNaN(e)||e>=0)&&N(t)}function A(t){return Array.from(t.querySelectorAll(k)).filter(_)}var M=s.React.useCallback,R=s.React.useEffect,L=s.React.useRef;var F=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=L(),n=L(null),o=function(){var t=[],e=null,r=!1;function n(){r=!0}function o(){r&&(r=!1,e&&(e.contains(document.activeElement)||(A(e)[0]||e).focus()))}return{markForFocusLater:function(){t.push(document.activeElement)},returnFocus:function(){var e=null;try{(e=t.pop())&&setTimeout((function(){return e.focus()}))}catch(t){}},setupScopedFocus:function(t){(e=t).addEventListener("focusout",n,!1),e.addEventListener("focusin",o,!0)},teardownScopedFocus:function(){e.removeEventListener("focusout",n),e.removeEventListener("focusin",o),e=null}}}(),i=o.markForFocusLater,a=o.returnFocus,s=o.setupScopedFocus,u=o.teardownScopedFocus,c=M((function(o){if(n.current&&n.current(),r.current&&(a(),u()),t&&o){s(o),i();var c=function(t){n.current=e.disableAriaHider?null:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body > :not(script)",r=Array.from(document.querySelectorAll(e)).map((function(e){if(!e.contains(t)){var r=e.getAttribute("aria-hidden");return null!==r&&"false"!==r||e.setAttribute("aria-hidden","true"),{node:e,ariaHidden:r}}}));return function(){r.forEach((function(t){t&&(null===t.ariaHidden?t.node.removeAttribute("aria-hidden"):t.node.setAttribute("aria-hidden",t.ariaHidden))}))}}(t);var r=null;if(e.focusSelector&&(r="string"==typeof e.focusSelector?t.querySelector(e.focusSelector):e.focusSelector),!r){var o=Array.from(t.querySelectorAll(k));!(r=o.find(_)||o.find(N)||null)&&N(t)&&(r=t)}r&&r.focus()};setTimeout((function(){o.ownerDocument&&c(o)})),r.current=o}else r.current=null}),[t,e.focusSelector,e.disableAriaHider]);return R((function(){if(t){var e=function(t){"Tab"===t.key&&r.current&&function(t,e){var r=A(t);if(r.length){if(r[e.shiftKey?0:r.length-1]===document.activeElement||t===document.activeElement){e.preventDefault();var n=r[e.shiftKey?r.length-1:0];n&&n.focus()}}else e.preventDefault()}(r.current,t)};return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}}}),[t]),c},H=(s.React.useEffect,s.ReactRouter.useNavigate,s.React.useEffect),B=s.React.useState,q=function(t){var e=t.closeOnClickOutside,r=void 0===e||e,n=t.customClickOutsideLogic,o=void 0===n?function(){}:n,i=t.duration,s=void 0===i?150:i,u=t.initialOpen,c=void 0!==u&&u,l=t.onAfterClose,f=void 0===l?function(){}:l,d=t.onAfterOpen,p=void 0===d?function(){}:d,h=t.onClose,g=void 0===h?function(){}:h,v=t.onOpen,y=void 0===v?function(){}:v,m=t.popupRef,b=void 0===m?null:m,w=t.triggerRef,O=void 0===w?null:w,E=B(!1),x=(0,a.A)(E,2),S=x[0],D=x[1],T=B(!1),C=(0,a.A)(T,2),P=C[0],I=C[1],k=B(c),j=(0,a.A)(k,2),N=j[0],_=j[1];H((function(){if(r){var t=function(t){N&&null!=O&&O.current&&null!=b&&b.current&&(O.current.contains(t.target)||b.current.contains(t.target)||o(t)||A())};return document.addEventListener("click",t),function(){document.removeEventListener("click",t)}}}),[N,b,O]);var A=function(){g(),_(!1),I(!0),setTimeout((function(){I(!1),f()}),s)};return{closePopup:A,openPopup:function(){y(),D(!0),requestAnimationFrame((function(){_(!0),setTimeout((function(){D(!1),p()}),s)}))},handleEscKeyDown:function(t){var e;"Escape"===t.key&&(A(),null==O||null===(e=O.current)||void 0===e||e.focus())},popupHide:P,popupOpen:N,popupReveal:S,setPopupHide:I,setPopupOpen:_,setPopupReveal:D}};s.React.useState,s.React.useEffect,"undefined"!=typeof window&&window.document;function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function U(t){for(var e=1;e=0;)d(e=m[r],t)&&!w(n,e)&&(n[n.length]=e),r-=1;return n})):u((function(t){return Object(t)!==t?[]:Object.keys(t)})),E=u((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function x(t,e,r,n){var o=l(t);function i(t,e){return S(t,e,r.slice(),n.slice())}return!f((function(t,e){return!f(i,e,t)}),l(e),o)}function S(t,e,r,n){if(p(t,e))return!0;var o,i,a=E(t);if(a!==E(e))return!1;if(null==t||null==e)return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(a){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(o=t.constructor,null==(i=String(o).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!p(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!p(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var s=r.length-1;s>=0;){if(r[s]===t)return n[s]===e;s-=1}switch(a){case"Map":return t.size===e.size&&x(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&x(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var u=O(t);if(u.length!==O(e).length)return!1;var c=r.concat([t]),l=n.concat([e]);for(s=u.length-1;s>=0;){var f=u[s];if(!d(f,e)||!S(e[f],t[f],c,l))return!1;s-=1}return!0}var D=c((function(t,e){return S(t,e,[],[])})),T=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function C(t,e,r){return function(){if(0===arguments.length)return r();var n=Array.prototype.slice.call(arguments,0),o=n.pop();if(!T(o)){for(var i=0;i=0&&this.i>=this.n?(r=n)&&r["@@transducer/reduced"]?r:{"@@transducer/value":r,"@@transducer/reduced":!0}:n},t}(),j=c((function(t,e){return new k(t,e)}));function N(t,e){return function(){var r=arguments.length;if(0===r)return e();var n=arguments[r-1];return T(n)||"function"!=typeof n[t]?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}function _(t){return function e(r,n,o){switch(arguments.length){case 0:return e;case 1:return s(r)?e:c((function(e,n){return t(r,e,n)}));case 2:return s(r)&&s(n)?e:s(r)?c((function(e,r){return t(e,n,r)})):s(n)?c((function(e,n){return t(r,e,n)})):u((function(e){return t(r,n,e)}));default:return s(r)&&s(n)&&s(o)?e:s(r)&&s(n)?c((function(e,r){return t(e,r,o)})):s(r)&&s(o)?c((function(e,r){return t(e,n,r)})):s(n)&&s(o)?c((function(e,n){return t(r,e,n)})):s(r)?u((function(e){return t(e,n,o)})):s(n)?u((function(e){return t(r,e,o)})):s(o)?u((function(e){return t(r,n,e)})):t(r,n,o)}}}var A=_(N("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)}))),M=c(C(["take"],j,(function(t,e){return A(0,t<0?1/0:t,e)}))),R=c((function(t,e){return D(M(t.length,e),t)})),L=r(52888);function F(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",i=new window.FormData;return function t(e,a){if(!function(t){return Array.isArray(r)&&r.some((function(e){return e===t}))}(a))if(a=a||"",e instanceof window.File)i.append(a,e);else if(Array.isArray(e))for(var s=0;s2&&void 0!==arguments[2]?arguments[2]:{};r.arrayMerge=function(t){var e,r=f;return"combine"===t.arrayMerge?r=d:(e=t.arrayMerge)&&"[object Function]"==={}.toString.call(e)&&(r=t.arrayMerge),r}(r),r.isMergeableObject=r.isMergeableObject||c,r.cloneUnlessOtherwiseSpecified=l;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):g(t,e,r):l(e,r)}v.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return v(t,r,e)}),{})};var y=v,m=function(t,e){var r=Object.entries(t).filter(e);return Object.fromEntries(r)};function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=function(t){if("object"===(0,i.A)(t))for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){if(o===e&&t[o]===r)return t;var a=n(t[o]);if(a)return a}return null};return n(t)}function w(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e&&t[e]?t[e]:t}function O(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return JSON.stringify(t)===JSON.stringify({})}function E(){return!!window.__TEST__}function x(t){if(null===t)return!1;try{JSON.parse(t)}catch(t){return!1}return!0}function S(t){return!(!t||"object"!==(0,i.A)(t)||Array.isArray(t))}var D=r(88856);function T(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return C(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&void 0!==arguments[0]?arguments[0]:"").toString().normalize("NFKD").toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/-$/g,"")}var F={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function H(t){return function(t,e){var r,n,o,a,s,u,c,l,f,d=1,p=t.length,h="";for(n=0;n=0),a.type){case"b":r=parseInt(r,10).toString(2);break;case"c":r=String.fromCharCode(parseInt(r,10));break;case"d":case"i":r=parseInt(r,10);break;case"j":r=JSON.stringify(r,null,a.width?parseInt(a.width):0);break;case"e":r=a.precision?parseFloat(r).toExponential(a.precision):parseFloat(r).toExponential();break;case"f":r=a.precision?parseFloat(r).toFixed(a.precision):parseFloat(r);break;case"g":r=a.precision?String(Number(r.toPrecision(a.precision))):parseFloat(r);break;case"o":r=(parseInt(r,10)>>>0).toString(8);break;case"s":r=String(r),r=a.precision?r.substring(0,a.precision):r;break;case"t":r=String(!!r),r=a.precision?r.substring(0,a.precision):r;break;case"T":r=Object.prototype.toString.call(r).slice(8,-1).toLowerCase(),r=a.precision?r.substring(0,a.precision):r;break;case"u":r=parseInt(r,10)>>>0;break;case"v":r=r.valueOf(),r=a.precision?r.substring(0,a.precision):r;break;case"x":r=(parseInt(r,10)>>>0).toString(16);break;case"X":r=(parseInt(r,10)>>>0).toString(16).toUpperCase()}F.json.test(a.type)?h+=r:(!F.number.test(a.type)||l&&!a.sign?f="":(f=l?"+":"-",r=r.toString().replace(F.sign,"")),u=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",c=a.width-(f+r).length,s=a.width&&c>0?u.repeat(c):"",h+=a.align?f+r+s:"0"===u?f+s+r:s+f+r)}return h}(function(t){if(B[t])return B[t];var e,r=t,n=[],o=0;for(;r;){if(null!==(e=F.text.exec(r)))n.push(e[0]);else if(null!==(e=F.modulo.exec(r)))n.push("%");else{if(null===(e=F.placeholder.exec(r)))throw new SyntaxError("[sprintf] unexpected placeholder");if(e[2]){o|=1;var i=[],a=e[2],s=[];if(null===(s=F.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(i.push(s[1]);""!==(a=a.substring(s[0].length));)if(null!==(s=F.key_access.exec(a)))i.push(s[1]);else{if(null===(s=F.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");i.push(s[1])}e[2]=i}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");n.push({placeholder:e[0],param_no:e[1],keys:e[2],sign:e[3],pad_char:e[4],align:e[5],width:e[6],precision:e[7],type:e[8]})}r=r.substring(e[0].length)}return B[t]=n}(t),arguments)}var B=Object.create(null);var q=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.length?t:window.location.search.slice(1),r=e.length?e.split("&"):[],n={},o=[];return r.forEach((function(t){o=t.split("="),n[o[0]]=decodeURIComponent(o[1]||"")})),JSON.parse(JSON.stringify(n))};function z(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id";return"".concat(t.length?"".concat(t,"-"):"").concat(Math.random().toString(36).substr(2,9))}var U=/(android)/i.test(window.navigator.userAgent),$=!!window.chrome,V="undefined"!=typeof InstallTrigger,W=document.documentMode||!1,Y=!W&&!!window.StyleMedia,G=!!window.navigator.userAgent.match(/(iPod|iPhone|iPad)/i),K=!!window.navigator.userAgent.match(/(iPod|iPhone)/i),X=!!window.opera||window.navigator.userAgent.indexOf(" OPR/")>=0,J=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0||!$&&!X&&"undefined"!==window.webkitAudioContext,Z=window.navigator.platform;var Q=0,tt=function(){var t={android:U,chrome:$,edge:Y,firefox:V,ie:W,ios:G,iosMobile:K,opera:X,safari:J,os:Z};return t.ie||t.firefox||t.chrome&&!t.edge?document.documentElement:document.body},et=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=tt(),r=document.body.style;Q=e.scrollTop,r.overflowY="scroll",r.position="fixed",r.width="100%",t&&(r.marginTop="-".concat(Q,"px"))},rt=function(){var t=tt(),e=document.body.style;e.overflowY="",e.position="static",e.marginTop="0px",e.width="",t.scrollTop=Q};function nt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(window.clipboardData&&window.clipboardData.setData)return window.clipboardData.setData("Text",t);if(document.queryCommandSupported&&document.queryCommandSupported("copy")){var e=document.createElement("textarea");e.textContent=t,e.style.position="fixed",document.body.appendChild(e),e.select();try{return document.execCommand("copy")}catch(t){return window.console&&E(),!1}finally{document.body.removeChild(e)}}}function ot(t,e){var r,n;for(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].some((function(t){return"function"==typeof document.body[t]&&(r=t,!0)}));t;){if((n=t.parentElement)&&n[r](e))return n;t=n}return null}function it(){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3]?t:'[data-js="'.concat(t,'"]'),o=r.querySelectorAll(n);return e&&(o=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[],r=t.length;r--;e.unshift(t[r]));return e}(o)),o}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",!1,arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,arguments.length>2&&void 0!==arguments[2]&&arguments[2]);return t.length>0?t[0]:null}function at(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function st(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"gform-spacing",n={};return!t||"string"!=typeof t&&"number"!=typeof t&&!Array.isArray(t)||Array.isArray(t)&&!t.length?n:"string"==typeof t||"number"==typeof t?(n["".concat(r,"--").concat(e,"bottom-").concat(t)]=!0,n):1===t.length?(["top","right","bottom","left"].forEach((function(o){n["".concat(r,"--").concat(e).concat(o,"-").concat(t[0])]=!0})),n):2===t.length?(["top","bottom"].forEach((function(o){n["".concat(r,"--").concat(e).concat(o,"-").concat(t[0])]=!0})),["right","left"].forEach((function(o){n["".concat(r,"--").concat(e).concat(o,"-").concat(t[1])]=!0})),n):3===t.length?(n["".concat(r,"--").concat(e,"top-").concat(t[0])]=!0,["right","left"].forEach((function(o){n["".concat(r,"--").concat(e).concat(o,"-").concat(t[1])]=!0})),n["gform-spacing--".concat(e,"bottom-").concat(t[2])]=!0,n):4===t.length?(n["".concat(r,"--").concat(e,"top-").concat(t[0])]=!0,n["".concat(r,"--").concat(e,"right-").concat(t[1])]=!0,n["".concat(r,"--").concat(e,"bottom-").concat(t[2])]=!0,n["".concat(r,"--").concat(e,"left-").concat(t[3])]=!0,n):n};function ct(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"gform-spacing",r={};return!t||"string"!=typeof t&&"number"!=typeof t&&!Array.isArray(t)&&("object"!==(0,i.A)(t)||Array.isArray(t))||Array.isArray(t)&&!t.length?r:(r[e]=!0,"string"==typeof t||"number"==typeof t||Array.isArray(t)?st(st({},r),ut(t,"",e)):["","md","lg"].reduce((function(r,n){return Object.prototype.hasOwnProperty.call(t,n)?st(st({},r),ut(t[n],n?"".concat(n,"-"):"",e)):r}),r))}function lt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("function"!=typeof t)throw new TypeError("Expected the first argument to be a function, got `".concat((0,i.A)(t),"`"));var r,n,o,a=e.wait,s=void 0===a?0:a,u=e.maxWait,c=void 0===u?Number.Infinity:u,l=e.before,f=void 0!==l&&l,d=e.after,p=void 0===d||d;if(!f&&!p)throw new Error("Both `before` and `after` are false, function wouldn't be called.");var h=function(){for(var e=arguments.length,i=new Array(e),a=0;a0&&c!==Number.Infinity&&!n&&(n=setTimeout((function(){n=void 0,r&&(clearTimeout(r),r=void 0),p&&(o=t.apply(u,i))}),c)),l&&(o=t.apply(u,i)),o};return function(t,e){var r,n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).ignoreNonConfigurable,o=void 0!==n&&n,i=t.name,a=T(Reflect.ownKeys(e));try{for(a.s();!(r=a.n()).done;){var s=r.value;k(t,e,s,o)}}catch(t){a.e(t)}finally{a.f()}N(t,e),R(t,e,i)}(h,t),h.cancel=function(){r&&(clearTimeout(r),r=void 0),n&&(clearTimeout(n),n=void 0)},h}if("undefined"!=typeof Element&&!Element.prototype.matches){var ft=Element.prototype;ft.matches=ft.matchesSelector||ft.mozMatchesSelector||ft.msMatchesSelector||ft.oMatchesSelector||ft.webkitMatchesSelector}r(78564);window.gform=window.gform||{},window.gform.instances=window.gform.instances||{},window.gform.instances.filters=window.gform.instances.filters||[];window.gform.instances.filters;function dt(t){"loading"!==document.readyState?t():document.addEventListener?document.addEventListener("DOMContentLoaded",t):document.attachEvent("onreadystatechange",(function(){"loading"!==document.readyState&&t()}))}function pt(){var t,e=function(){for(var t={},e=0;e0&&void 0!==arguments[0]?arguments[0]:{});if(e.native)(t=document.createEvent("HTMLEvents")).initEvent(e.event,!0,!1);else try{t=new window.CustomEvent(e.event,{detail:e.data})}catch(r){(t=document.createEvent("CustomEvent")).initCustomEvent(e.event,!0,!0,e.data)}e.el.dispatchEvent(t)}},88624:function(t){var e=!("undefined"==typeof window||!window.document||!window.document.createElement);t.exports=e},87435:function(t,e){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e(s=(a=Math.ceil(d/v))>s?a+1:s+1)&&(i=s,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((s=c.length)-(i=l.length)<0&&(i=s,n=l,l=c,c=n),r=0;i;)r=(c[--i]=c[i]+l[i]+r)/g|0,c[i]%=g;for(r&&(c.unshift(r),++o),s=c.length;0==c[--s];)c.pop();return e.d=c,e.e=o,u?k(e,d):e}function O(t,e,r){if(t!==~~t||tr)throw Error(l+t)}function E(t){var e,r,n,o=t.length-1,i="",a=t[0];if(o>0){for(i+=a,e=1;et.e^i.s<0?1:-1;for(e=0,r=(n=i.d.length)<(o=t.d.length)?n:o;et.d[e]^i.s<0?1:-1;return n===o?0:n>o^i.s<0?1:-1},b.decimalPlaces=b.dp=function(){var t=this,e=t.d.length-1,r=(e-t.e)*v;if(e=t.d[e])for(;e%10==0;e/=10)r--;return r<0?0:r},b.dividedBy=b.div=function(t){return x(this,new this.constructor(t))},b.dividedToIntegerBy=b.idiv=function(t){var e=this.constructor;return k(x(this,new e(t),0,1),e.precision)},b.equals=b.eq=function(t){return!this.cmp(t)},b.exponent=function(){return D(this)},b.greaterThan=b.gt=function(t){return this.cmp(t)>0},b.greaterThanOrEqualTo=b.gte=function(t){return this.cmp(t)>=0},b.isInteger=b.isint=function(){return this.e>this.d.length-2},b.isNegative=b.isneg=function(){return this.s<0},b.isPositive=b.ispos=function(){return this.s>0},b.isZero=function(){return 0===this.s},b.lessThan=b.lt=function(t){return this.cmp(t)<0},b.lessThanOrEqualTo=b.lte=function(t){return this.cmp(t)<1},b.logarithm=b.log=function(t){var e,r=this,n=r.constructor,o=n.precision,a=o+5;if(void 0===t)t=new n(10);else if((t=new n(t)).s<1||t.eq(i))throw Error(c+"NaN");if(r.s<1)throw Error(c+(r.s?"NaN":"-Infinity"));return r.eq(i)?new n(0):(u=!1,e=x(P(r,a),P(t,a),a),u=!0,k(e,o))},b.minus=b.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?j(e,t):w(e,(t.s=-t.s,t))},b.modulo=b.mod=function(t){var e,r=this,n=r.constructor,o=n.precision;if(!(t=new n(t)).s)throw Error(c+"NaN");return r.s?(u=!1,e=x(r,t,0,1).times(t),u=!0,r.minus(e)):k(new n(r),o)},b.naturalExponential=b.exp=function(){return S(this)},b.naturalLogarithm=b.ln=function(){return P(this)},b.negated=b.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},b.plus=b.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?w(e,t):j(e,(t.s=-t.s,t))},b.precision=b.sd=function(t){var e,r,n,o=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(l+t);if(e=D(o)+1,r=(n=o.d.length-1)*v+1,n=o.d[n]){for(;n%10==0;n/=10)r--;for(n=o.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},b.squareRoot=b.sqrt=function(){var t,e,r,n,o,i,a,s=this,l=s.constructor;if(s.s<1){if(!s.s)return new l(0);throw Error(c+"NaN")}for(t=D(s),u=!1,0==(o=Math.sqrt(+s))||o==1/0?(((e=E(s.d)).length+t)%2==0&&(e+="0"),o=Math.sqrt(e),t=d((t+1)/2)-(t<0||t%2),n=new l(e=o==1/0?"5e"+t:(e=o.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new l(o.toString()),o=a=(r=l.precision)+3;;)if(n=(i=n).plus(x(s,i,a+2)).times(.5),E(i.d).slice(0,a)===(e=E(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),o==a&&"4999"==e){if(k(i,r+1,0),i.times(i).eq(s)){n=i;break}}else if("9999"!=e)break;a+=4}return u=!0,k(n,r)},b.times=b.mul=function(t){var e,r,n,o,i,a,s,c,l,f=this,d=f.constructor,p=f.d,h=(t=new d(t)).d;if(!f.s||!t.s)return new d(0);for(t.s*=f.s,r=f.e+t.e,(c=p.length)<(l=h.length)&&(i=p,p=h,h=i,a=c,c=l,l=a),i=[],n=a=c+l;n--;)i.push(0);for(n=l;--n>=0;){for(e=0,o=c+n;o>n;)s=i[o]+h[n]*p[o-n-1]+e,i[o--]=s%g|0,e=s/g|0;i[o]=(i[o]+e)%g|0}for(;!i[--a];)i.pop();return e?++r:i.shift(),t.d=i,t.e=r,u?k(t,d.precision):t},b.toDecimalPlaces=b.todp=function(t,e){var r=this,n=r.constructor;return r=new n(r),void 0===t?r:(O(t,0,a),void 0===e?e=n.rounding:O(e,0,8),k(r,t+D(r)+1,e))},b.toExponential=function(t,e){var r,n=this,o=n.constructor;return void 0===t?r=N(n,!0):(O(t,0,a),void 0===e?e=o.rounding:O(e,0,8),r=N(n=k(new o(n),t+1,e),!0,t+1)),r},b.toFixed=function(t,e){var r,n,o=this,i=o.constructor;return void 0===t?N(o):(O(t,0,a),void 0===e?e=i.rounding:O(e,0,8),r=N((n=k(new i(o),t+D(o)+1,e)).abs(),!1,t+D(n)+1),o.isneg()&&!o.isZero()?"-"+r:r)},b.toInteger=b.toint=function(){var t=this,e=t.constructor;return k(new e(t),D(t)+1,e.rounding)},b.toNumber=function(){return+this},b.toPower=b.pow=function(t){var e,r,n,o,a,s,l=this,f=l.constructor,p=+(t=new f(t));if(!t.s)return new f(i);if(!(l=new f(l)).s){if(t.s<1)throw Error(c+"Infinity");return l}if(l.eq(i))return l;if(n=f.precision,t.eq(i))return k(l,n);if(s=(e=t.e)>=(r=t.d.length-1),a=l.s,s){if((r=p<0?-p:p)<=y){for(o=new f(i),e=Math.ceil(n/v+4),u=!1;r%2&&_((o=o.times(l)).d,e),0!==(r=d(r/2));)_((l=l.times(l)).d,e);return u=!0,t.s<0?new f(i).div(o):k(o,n)}}else if(a<0)throw Error(c+"NaN");return a=a<0&&1&t.d[Math.max(e,r)]?-1:1,l.s=1,u=!1,o=t.times(P(l,n+12)),u=!0,(o=S(o)).s=a,o},b.toPrecision=function(t,e){var r,n,o=this,i=o.constructor;return void 0===t?n=N(o,(r=D(o))<=i.toExpNeg||r>=i.toExpPos):(O(t,1,a),void 0===e?e=i.rounding:O(e,0,8),n=N(o=k(new i(o),t,e),t<=(r=D(o))||r<=i.toExpNeg,t)),n},b.toSignificantDigits=b.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(O(t,1,a),void 0===e?e=r.rounding:O(e,0,8)),k(new r(this),t,e)},b.toString=b.valueOf=b.val=b.toJSON=function(){var t=this,e=D(t),r=t.constructor;return N(t,e<=r.toExpNeg||e>=r.toExpPos)};var x=function(){function t(t,e){var r,n=0,o=t.length;for(t=t.slice();o--;)r=t[o]*e+n,t[o]=r%g|0,n=r/g|0;return n&&t.unshift(n),t}function e(t,e,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;oe[o]?1:-1;break}return i}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=t[r]1;)t.shift()}return function(n,o,i,a){var s,u,l,f,d,p,h,y,m,b,w,O,E,x,S,T,C,P,I=n.constructor,j=n.s==o.s?1:-1,N=n.d,_=o.d;if(!n.s)return new I(n);if(!o.s)throw Error(c+"Division by zero");for(u=n.e-o.e,C=_.length,S=N.length,y=(h=new I(j)).d=[],l=0;_[l]==(N[l]||0);)++l;if(_[l]>(N[l]||0)&&--u,(O=null==i?i=I.precision:a?i+(D(n)-D(o))+1:i)<0)return new I(0);if(O=O/v+2|0,l=0,1==C)for(f=0,_=_[0],O++;(l1&&(_=t(_,f),N=t(N,f),C=_.length,S=N.length),x=C,b=(m=N.slice(0,C)).length;b=g/2&&++T;do{f=0,(s=e(_,m,C,b))<0?(w=m[0],C!=b&&(w=w*g+(m[1]||0)),(f=w/T|0)>1?(f>=g&&(f=g-1),1==(s=e(d=t(_,f),m,p=d.length,b=m.length))&&(f--,r(d,C16)throw Error(f+D(t));if(!t.s)return new d(i);for(null==e?(u=!1,s=h):s=e,a=new d(.03125);t.abs().gte(.1);)t=t.times(a),l+=5;for(s+=Math.log(p(2,l))/Math.LN10*2+5|0,r=n=o=new d(i),d.precision=s;;){if(n=k(n.times(t),s),r=r.times(++c),E((a=o.plus(x(n,r,s))).d).slice(0,s)===E(o.d).slice(0,s)){for(;l--;)o=k(o.times(o),s);return d.precision=h,null==e?(u=!0,k(o,h)):o}o=a}}function D(t){for(var e=t.e*v,r=t.d[0];r>=10;r/=10)e++;return e}function T(t,e,r){if(e>t.LN10.sd())throw u=!0,r&&(t.precision=r),Error(c+"LN10 precision limit exceeded");return k(new t(t.LN10),e)}function C(t){for(var e="";t--;)e+="0";return e}function P(t,e){var r,n,o,a,s,l,f,d,p,h=1,g=t,v=g.d,y=g.constructor,m=y.precision;if(g.s<1)throw Error(c+(g.s?"NaN":"-Infinity"));if(g.eq(i))return new y(0);if(null==e?(u=!1,d=m):d=e,g.eq(10))return null==e&&(u=!0),T(y,d);if(d+=10,y.precision=d,n=(r=E(v)).charAt(0),a=D(g),!(Math.abs(a)<15e14))return f=T(y,d+2,m).times(a+""),g=P(new y(n+"."+r.slice(1)),d-10).plus(f),y.precision=m,null==e?(u=!0,k(g,m)):g;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=E((g=g.times(t)).d)).charAt(0),h++;for(a=D(g),n>1?(g=new y("0."+r),a++):g=new y(n+"."+r.slice(1)),l=s=g=x(g.minus(i),g.plus(i),d),p=k(g.times(g),d),o=3;;){if(s=k(s.times(p),d),E((f=l.plus(x(s,new y(o),d))).d).slice(0,d)===E(l.d).slice(0,d))return l=l.times(2),0!==a&&(l=l.plus(T(y,d+2,m).times(a+""))),l=x(l,new y(h),d),y.precision=m,null==e?(u=!0,k(l,m)):l;l=f,o+=2}}function I(t,e){var r,n,o;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);)++n;for(o=e.length;48===e.charCodeAt(o-1);)--o;if(e=e.slice(n,o)){if(o-=n,r=r-n-1,t.e=d(r/v),t.d=[],n=(r+1)%v,r<0&&(n+=v),nm||t.e<-m))throw Error(f+r)}else t.s=0,t.e=0,t.d=[0];return t}function k(t,e,r){var n,o,i,a,s,c,l,h,y=t.d;for(a=1,i=y[0];i>=10;i/=10)a++;if((n=e-a)<0)n+=v,o=e,l=y[h=0];else{if((h=Math.ceil((n+1)/v))>=(i=y.length))return t;for(l=i=y[h],a=1;i>=10;i/=10)a++;o=(n%=v)-v+a}if(void 0!==r&&(s=l/(i=p(10,a-o-1))%10|0,c=e<0||void 0!==y[h+1]||l%i,c=r<4?(s||c)&&(0==r||r==(t.s<0?3:2)):s>5||5==s&&(4==r||c||6==r&&(n>0?o>0?l/p(10,a-o):0:y[h-1])%10&1||r==(t.s<0?8:7))),e<1||!y[0])return c?(i=D(t),y.length=1,e=e-i-1,y[0]=p(10,(v-e%v)%v),t.e=d(-e/v)||0):(y.length=1,y[0]=t.e=t.s=0),t;if(0==n?(y.length=h,i=1,h--):(y.length=h+1,i=p(10,v-n),y[h]=o>0?(l/p(10,a-o)%p(10,o)|0)*i:0),c)for(;;){if(0==h){(y[0]+=i)==g&&(y[0]=1,++t.e);break}if(y[h]+=i,y[h]!=g)break;y[h--]=0,i=1}for(n=y.length;0===y[--n];)y.pop();if(u&&(t.e>m||t.e<-m))throw Error(f+D(t));return t}function j(t,e){var r,n,o,i,a,s,c,l,f,d,p=t.constructor,h=p.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new p(t),u?k(e,h):e;if(c=t.d,d=e.d,n=e.e,l=t.e,c=c.slice(),a=l-n){for((f=a<0)?(r=c,a=-a,s=d.length):(r=d,n=l,s=c.length),a>(o=Math.max(Math.ceil(h/v),s)+2)&&(a=o,r.length=1),r.reverse(),o=a;o--;)r.push(0);r.reverse()}else{for((f=(o=c.length)<(s=d.length))&&(s=o),o=0;o0;--o)c[s++]=0;for(o=d.length;o>a;){if(c[--o]0?i=i.charAt(0)+"."+i.slice(1)+C(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+C(-o-1)+i,r&&(n=r-a)>0&&(i+=C(n))):o>=a?(i+=C(o+1-a),r&&(n=r-o-1)>0&&(i=i+"."+C(n))):((n=o+1)0&&(o+1===a&&(i+="."),i+=C(n))),t.s<0?"-"+i:i}function _(t,e){if(t.length>e)return t.length=e,!0}function A(t){if(!t||"object"!=typeof t)throw Error(c+"Object expected");var e,r,n,o=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e=o[e+1]&&n<=o[e+2]))throw Error(l+r+": "+n);this[r]=n}if(void 0!==(n=t[r="LN10"])){if(n!=Math.LN10)throw Error(l+r+": "+n);this[r]=new this(n)}return this}s=function t(e){var r,n,o;function i(t){var e=this;if(!(e instanceof i))return new i(t);if(e.constructor=i,t instanceof i)return e.s=t.s,e.e=t.e,void(e.d=(t=t.d)?t.slice():t);if("number"==typeof t){if(0*t!=0)throw Error(l+t);if(t>0)e.s=1;else{if(!(t<0))return e.s=0,e.e=0,void(e.d=[0]);t=-t,e.s=-1}return t===~~t&&t<1e7?(e.e=0,void(e.d=[t])):I(e,t.toString())}if("string"!=typeof t)throw Error(l+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!h.test(t))throw Error(l+t);I(e,t)}if(i.prototype=b,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=t,i.config=i.set=A,void 0===e&&(e={}),e)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r1?e-1:0),n=1;n3?e.i-4:e.i:Array.isArray(t)?1:p(t)?2:h(t)?3:0}function c(t,e){return 2===u(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function l(t,e){return 2===u(t)?t.get(e):t[e]}function f(t,e,r){var n=u(t);2===n?t.set(e,r):3===n?(t.delete(e),t.add(r)):t[e]=r}function d(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function p(t){return G&&t instanceof Map}function h(t){return K&&t instanceof Set}function g(t){return t.o||t.t}function v(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=nt(t);delete e[Q];for(var r=rt(e),n=0;n1&&(t.set=t.add=t.clear=t.delete=m),Object.freeze(t),e&&s(t,(function(t,e){return y(e,!0)}),!0)),t}function m(){n(2)}function b(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function w(t){var e=ot[t];return e||n(18,t),e}function O(t,e){ot[t]||(ot[t]=e)}function E(){return W}function x(t,e){e&&(w("Patches"),t.u=[],t.s=[],t.v=e)}function S(t){D(t),t.p.forEach(C),t.p=null}function D(t){t===W&&(W=t.l)}function T(t){return W={p:[],l:W,h:t,m:!0,_:0}}function C(t){var e=t[Q];0===e.i||1===e.i?e.j():e.O=!0}function P(t,e){e._=e.p.length;var r=e.p[0],o=void 0!==t&&t!==r;return e.h.g||w("ES5").S(e,t,o),o?(r[Q].P&&(S(e),n(4)),i(t)&&(t=I(e,t),e.l||j(e,t)),e.u&&w("Patches").M(r[Q].t,t,e.u,e.s)):t=I(e,r,[]),S(e),e.u&&e.v(e.u,e.s),t!==J?t:void 0}function I(t,e,r){if(b(e))return e;var n=e[Q];if(!n)return s(e,(function(o,i){return k(t,n,e,o,i,r)}),!0),e;if(n.A!==t)return e;if(!n.P)return j(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=4===n.i||5===n.i?n.o=v(n.k):n.o;s(3===n.i?new Set(o):o,(function(e,i){return k(t,n,o,e,i,r)})),j(t,o,!1),r&&t.u&&w("Patches").R(n,r,t.u,t.s)}return n.o}function k(t,e,r,n,a,s){if(o(a)){var u=I(t,a,s&&e&&3!==e.i&&!c(e.D,n)?s.concat(n):void 0);if(f(r,n,u),!o(u))return;t.m=!1}if(i(a)&&!b(a)){if(!t.h.F&&t._<1)return;I(t,a),e&&e.A.l||j(t,a)}}function j(t,e,r){void 0===r&&(r=!1),t.h.F&&t.m&&y(e,r)}function N(t,e){var r=t[Q];return(r?g(r):t)[e]}function _(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function A(t){t.P||(t.P=!0,t.l&&A(t.l))}function M(t){t.o||(t.o=v(t.t))}function R(t,e,r){var n=p(e)?w("MapSet").N(e,r):h(e)?w("MapSet").T(e,r):t.g?function(t,e){var r=Array.isArray(t),n={i:r?1:0,A:e?e.A:E(),P:!1,I:!1,D:{},l:e,t:t,k:null,o:null,j:null,C:!1},o=n,i=it;r&&(o=[n],i=at);var a=Proxy.revocable(o,i),s=a.revoke,u=a.proxy;return n.k=u,n.j=s,u}(e,r):w("ES5").J(e,r);return(r?r.A:E()).p.push(n),n}function L(t){return o(t)||n(22,t),function t(e){if(!i(e))return e;var r,n=e[Q],o=u(e);if(n){if(!n.P&&(n.i<4||!w("ES5").K(n)))return n.t;n.I=!0,r=F(e,o),n.I=!1}else r=F(e,o);return s(r,(function(e,o){n&&l(n.t,e)===o||f(r,e,t(o))})),3===o?new Set(r):r}(t)}function F(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return v(t)}function H(){function t(t,e){var r=i[t];return r?r.enumerable=e:i[t]=r={configurable:!0,enumerable:e,get:function(){var e=this[Q];return it.get(e,t)},set:function(e){var r=this[Q];it.set(r,t,e)}},r}function e(t){for(var e=t.length-1;e>=0;e--){var o=t[e][Q];if(!o.P)switch(o.i){case 5:n(o)&&A(o);break;case 4:r(o)&&A(o)}}}function r(t){for(var e=t.t,r=t.k,n=rt(r),o=n.length-1;o>=0;o--){var i=n[o];if(i!==Q){var a=e[i];if(void 0===a&&!c(e,i))return!0;var s=r[i],u=s&&s[Q];if(u?u.t!==a:!d(s,a))return!0}}var l=!!e[Q];return n.length!==rt(e).length+(l?0:1)}function n(t){var e=t.k;if(e.length!==t.t.length)return!0;var r=Object.getOwnPropertyDescriptor(e,e.length-1);if(r&&!r.get)return!0;for(var n=0;n1?n-1:0),i=1;i1?n-1:0),i=1;i=0;r--){var n=e[r];if(0===n.path.length&&"replace"===n.op){t=n.value;break}}r>-1&&(e=e.slice(r+1));var i=w("Patches").$;return o(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),ut=new st,ct=ut.produce,lt=ut.produceWithPatches.bind(ut),ft=ut.setAutoFreeze.bind(ut),dt=ut.setUseProxies.bind(ut),pt=ut.applyPatches.bind(ut),ht=ut.createDraft.bind(ut),gt=ut.finishDraft.bind(ut);e.default=ct},66783:function(t,e,r){var n=NaN,o="[object Symbol]",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt,l="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,f="object"==typeof self&&self&&self.Object===Object&&self,d=l||f||Function("return this")(),p=Object.prototype.toString,h=Math.max,g=Math.min,v=function(){return d.Date.now()};function y(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function m(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&p.call(t)==o}(t))return n;if(y(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=y(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(i,"");var r=s.test(t);return r||u.test(t)?c(t.slice(2),r?2:8):a.test(t)?n:+t}t.exports=function(t,e,r){var n,o,i,a,s,u,c=0,l=!1,f=!1,d=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function p(e){var r=n,i=o;return n=o=void 0,c=e,a=t.apply(i,r)}function b(t){var r=t-u;return void 0===u||r>=e||r<0||f&&t-c>=i}function w(){var t=v();if(b(t))return O(t);s=setTimeout(w,function(t){var r=e-(t-u);return f?g(r,i-(t-c)):r}(t))}function O(t){return s=void 0,d&&n?p(t):(n=o=void 0,a)}function E(){var t=v(),r=b(t);if(n=arguments,o=this,u=t,r){if(void 0===s)return function(t){return c=t,s=setTimeout(w,e),l?p(t):a}(u);if(f)return s=setTimeout(w,e),p(u)}return void 0===s&&(s=setTimeout(w,e)),a}return e=m(e)||0,y(r)&&(l=!!r.leading,i=(f="maxWait"in r)?h(m(r.maxWait)||0,e):i,d="trailing"in r?!!r.trailing:d),E.cancel=function(){void 0!==s&&clearTimeout(s),c=0,n=u=o=s=void 0},E.flush=function(){return void 0===s?a:O(v())},E}},77876:function(t,e,r){var n="__lodash_hash_undefined__",o="[object Function]",i="[object GeneratorFunction]",a=/^\[object .+?Constructor\]$/,s="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,u="object"==typeof self&&self&&self.Object===Object&&self,c=s||u||Function("return this")();var l,f=Array.prototype,d=Function.prototype,p=Object.prototype,h=c["__core-js_shared__"],g=(l=/[^.]+$/.exec(h&&h.keys&&h.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",v=d.toString,y=p.hasOwnProperty,m=p.toString,b=RegExp("^"+v.call(y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),w=f.splice,O=I(c,"Map"),E=I(Object,"create");function x(t){var e=-1,r=t?t.length:0;for(this.clear();++e-1},S.prototype.set=function(t,e){var r=this.__data__,n=T(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},D.prototype.clear=function(){this.__data__={hash:new x,map:new(O||S),string:new x}},D.prototype.delete=function(t){return P(this,t).delete(t)},D.prototype.get=function(t){return P(this,t).get(t)},D.prototype.has=function(t){return P(this,t).has(t)},D.prototype.set=function(t,e){return P(this,t).set(t,e),this},k.Cache=D,t.exports=k},24804:function(t,e,r){var n="Expected a function",o=NaN,i="[object Symbol]",a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,f="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,d="object"==typeof self&&self&&self.Object===Object&&self,p=f||d||Function("return this")(),h=Object.prototype.toString,g=Math.max,v=Math.min,y=function(){return p.Date.now()};function m(t,e,r){var o,i,a,s,u,c,l=0,f=!1,d=!1,p=!0;if("function"!=typeof t)throw new TypeError(n);function h(e){var r=o,n=i;return o=i=void 0,l=e,s=t.apply(n,r)}function m(t){var r=t-c;return void 0===c||r>=e||r<0||d&&t-l>=a}function O(){var t=y();if(m(t))return E(t);u=setTimeout(O,function(t){var r=e-(t-c);return d?v(r,a-(t-l)):r}(t))}function E(t){return u=void 0,p&&o?h(t):(o=i=void 0,s)}function x(){var t=y(),r=m(t);if(o=arguments,i=this,c=t,r){if(void 0===u)return function(t){return l=t,u=setTimeout(O,e),f?h(t):s}(c);if(d)return u=setTimeout(O,e),h(c)}return void 0===u&&(u=setTimeout(O,e)),s}return e=w(e)||0,b(r)&&(f=!!r.leading,a=(d="maxWait"in r)?g(w(r.maxWait)||0,e):a,p="trailing"in r?!!r.trailing:p),x.cancel=function(){void 0!==u&&clearTimeout(u),l=0,o=c=i=u=void 0},x.flush=function(){return void 0===u?s:E(y())},x}function b(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function w(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&h.call(t)==i}(t))return o;if(b(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=b(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var r=u.test(t);return r||c.test(t)?l(t.slice(2),r?2:8):s.test(t)?o:+t}t.exports=function(t,e,r){var o=!0,i=!0;if("function"!=typeof t)throw new TypeError(n);return b(r)&&(o="leading"in r?!!r.leading:o,i="trailing"in r?!!r.trailing:i),m(t,e,{leading:o,maxWait:e,trailing:i})}},74363:function(t,e,r){"use strict";var n=this&&this.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function s(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){t.done?o(t.value):new r((function(e){e(t.value)})).then(a,s)}u((n=n.apply(t,e||[])).next())}))},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const i=o(r(54464));function a(t,e="maxAge"){let r,o,a;const s=()=>n(this,void 0,void 0,(function*(){if(void 0!==r)return;const s=s=>n(this,void 0,void 0,(function*(){a=i.default();const n=s[1][e]-Date.now();return n<=0?(t.delete(s[0]),void a.resolve()):(r=s[0],o=setTimeout((()=>{t.delete(s[0]),a&&a.resolve()}),n),"function"==typeof o.unref&&o.unref(),a.promise)}));try{for(const e of t)yield s(e)}catch(t){}r=void 0})),u=t.set.bind(t);return t.set=(e,n)=>{t.has(e)&&t.delete(e);const i=u(e,n);return r&&r===e&&(r=void 0,void 0!==o&&(clearTimeout(o),o=void 0),void 0!==a&&(a.reject(void 0),a=void 0)),s(),i},s(),t}e.default=a,t.exports=a,t.exports.default=a},56033:function(t,e,r){"use strict";const n=r(60672),o=r(74363),i=new WeakMap,a=new WeakMap,s=(t,{cacheKey:e,cache:r=new Map,maxAge:i}={})=>{"number"==typeof i&&o(r);const s=function(...n){const o=e?e(n):n[0],a=r.get(o);if(a)return a.data;const s=t.apply(this,n);return r.set(o,{data:s,maxAge:i?Date.now()+i:Number.POSITIVE_INFINITY}),s};return n(s,t,{ignoreNonConfigurable:!0}),a.set(s,r),s};s.decorator=(t={})=>(e,r,n)=>{const o=e[r];if("function"!=typeof o)throw new TypeError("The decorated value must be a function");delete n.value,delete n.writable,n.get=function(){if(!i.has(this)){const e=s(o,t);return i.set(this,e),e}return i.get(this)}},s.clear=t=>{const e=a.get(t);if(!e)throw new TypeError("Can't clear a function that was not memoized!");if("function"!=typeof e.clear)throw new TypeError("The cache Map can't be cleared!");e.clear()},t.exports=s},60672:function(t){"use strict";const e=(t,e,n,o)=>{if("length"===n||"prototype"===n)return;if("arguments"===n||"caller"===n)return;const i=Object.getOwnPropertyDescriptor(t,n),a=Object.getOwnPropertyDescriptor(e,n);!r(i,a)&&o||Object.defineProperty(t,n,a)},r=function(t,e){return void 0===t||t.configurable||t.writable===e.writable&&t.enumerable===e.enumerable&&t.configurable===e.configurable&&(t.writable||t.value===e.value)},n=(t,e)=>`/* Wrapped ${t}*/\n${e}`,o=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),i=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name");t.exports=(t,r,{ignoreNonConfigurable:a=!1}={})=>{const{name:s}=t;for(const n of Reflect.ownKeys(r))e(t,r,n,a);return((t,e)=>{const r=Object.getPrototypeOf(e);r!==Object.getPrototypeOf(t)&&Object.setPrototypeOf(t,r)})(t,r),((t,e,r)=>{const a=""===r?"":`with ${r.trim()}() `,s=n.bind(null,a,e.toString());Object.defineProperty(s,"name",i),Object.defineProperty(t,"toString",{...o,value:s})})(t,r,s),t}},54464:function(t){"use strict";t.exports=()=>{const t={};return t.promise=new Promise(((e,r)=>{t.resolve=e,t.reject=r})),t}},82244:function(t,e,r){"use strict";var n=r(47891);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},93266:function(t,e,r){t.exports=r(82244)()},47891:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},54285:function(t,e,r){"use strict";const n=r(45466),o=r(77056),i=r(79202),a=r(59325),s=Symbol("encodeFragmentIdentifier");function u(t){if("string"!=typeof t||1!==t.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(t,e){return e.encode?e.strict?n(t):encodeURIComponent(t):t}function l(t,e){return e.decode?o(t):t}function f(t){return Array.isArray(t)?t.sort():"object"==typeof t?f(Object.keys(t)).sort(((t,e)=>Number(t)-Number(e))).map((e=>t[e])):t}function d(t){const e=t.indexOf("#");return-1!==e&&(t=t.slice(0,e)),t}function p(t){const e=(t=d(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function h(t,e){return e.parseNumbers&&!Number.isNaN(Number(t))&&"string"==typeof t&&""!==t.trim()?t=Number(t):!e.parseBooleans||null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()||(t="true"===t.toLowerCase()),t}function g(t,e){u((e=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},e)).arrayFormatSeparator);const r=function(t){let e;switch(t.arrayFormat){case"index":return(t,r,n)=>{e=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),e?(void 0===n[t]&&(n[t]={}),n[t][e[1]]=r):n[t]=r};case"bracket":return(t,r,n)=>{e=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),e?void 0!==n[t]?n[t]=[].concat(n[t],r):n[t]=[r]:n[t]=r};case"comma":case"separator":return(e,r,n)=>{const o="string"==typeof r&&r.includes(t.arrayFormatSeparator),i="string"==typeof r&&!o&&l(r,t).includes(t.arrayFormatSeparator);r=i?l(r,t):r;const a=o||i?r.split(t.arrayFormatSeparator).map((e=>l(e,t))):null===r?r:l(r,t);n[e]=a};case"bracket-separator":return(e,r,n)=>{const o=/(\[\])$/.test(e);if(e=e.replace(/\[\]$/,""),!o)return void(n[e]=r?l(r,t):r);const i=null===r?[]:r.split(t.arrayFormatSeparator).map((e=>l(e,t)));void 0!==n[e]?n[e]=[].concat(n[e],i):n[e]=i};default:return(t,e,r)=>{void 0!==r[t]?r[t]=[].concat(r[t],e):r[t]=e}}}(e),n=Object.create(null);if("string"!=typeof t)return n;if(!(t=t.trim().replace(/^[?#&]/,"")))return n;for(const o of t.split("&")){if(""===o)continue;let[t,a]=i(e.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?a:l(a,e),r(l(t,e),a,n)}for(const t of Object.keys(n)){const r=n[t];if("object"==typeof r&&null!==r)for(const t of Object.keys(r))r[t]=h(r[t],e);else n[t]=h(r,e)}return!1===e.sort?n:(!0===e.sort?Object.keys(n).sort():Object.keys(n).sort(e.sort)).reduce(((t,e)=>{const r=n[e];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?t[e]=f(r):t[e]=r,t}),Object.create(null))}e.extract=p,e.parse=g,e.stringify=(t,e)=>{if(!t)return"";u((e=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},e)).arrayFormatSeparator);const r=r=>e.skipNull&&null==t[r]||e.skipEmptyString&&""===t[r],n=function(t){switch(t.arrayFormat){case"index":return e=>(r,n)=>{const o=r.length;return void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:null===n?[...r,[c(e,t),"[",o,"]"].join("")]:[...r,[c(e,t),"[",c(o,t),"]=",c(n,t)].join("")]};case"bracket":return e=>(r,n)=>void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:null===n?[...r,[c(e,t),"[]"].join("")]:[...r,[c(e,t),"[]=",c(n,t)].join("")];case"comma":case"separator":case"bracket-separator":{const e="bracket-separator"===t.arrayFormat?"[]=":"=";return r=>(n,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?n:(o=null===o?"":o,0===n.length?[[c(r,t),e,c(o,t)].join("")]:[[n,c(o,t)].join(t.arrayFormatSeparator)])}default:return e=>(r,n)=>void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:null===n?[...r,c(e,t)]:[...r,[c(e,t),"=",c(n,t)].join("")]}}(e),o={};for(const e of Object.keys(t))r(e)||(o[e]=t[e]);const i=Object.keys(o);return!1!==e.sort&&i.sort(e.sort),i.map((r=>{const o=t[r];return void 0===o?"":null===o?c(r,e):Array.isArray(o)?0===o.length&&"bracket-separator"===e.arrayFormat?c(r,e)+"[]":o.reduce(n(r),[]).join("&"):c(r,e)+"="+c(o,e)})).filter((t=>t.length>0)).join("&")},e.parseUrl=(t,e)=>{e=Object.assign({decode:!0},e);const[r,n]=i(t,"#");return Object.assign({url:r.split("?")[0]||"",query:g(p(t),e)},e&&e.parseFragmentIdentifier&&n?{fragmentIdentifier:l(n,e)}:{})},e.stringifyUrl=(t,r)=>{r=Object.assign({encode:!0,strict:!0,[s]:!0},r);const n=d(t.url).split("?")[0]||"",o=e.extract(t.url),i=e.parse(o,{sort:!1}),a=Object.assign(i,t.query);let u=e.stringify(a,r);u&&(u=`?${u}`);let l=function(t){let e="";const r=t.indexOf("#");return-1!==r&&(e=t.slice(r)),e}(t.url);return t.fragmentIdentifier&&(l=`#${r[s]?c(t.fragmentIdentifier,r):t.fragmentIdentifier}`),`${n}${u}${l}`},e.pick=(t,r,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[s]:!1},n);const{url:o,query:i,fragmentIdentifier:u}=e.parseUrl(t,n);return e.stringifyUrl({url:o,query:a(i,r),fragmentIdentifier:u},n)},e.exclude=(t,r,n)=>{const o=Array.isArray(r)?t=>!r.includes(t):(t,e)=>!r(t,e);return e.pick(t,o,n)}},80960:function(t,e,r){var n=r(26322);var o=function(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}(n);function i(){return(i=Object.assign||function(t){for(var e=1;e=0||(o[r]=t[r]);return o}function s(t){var e=n.useRef(t),r=n.useRef((function(t){e.current&&e.current(t)}));return e.current=t,r.current}var u=function(t,e,r){return void 0===e&&(e=0),void 0===r&&(r=1),t>r?r:t0:t.buttons>0)&&p.current?h(f(p.current,t,v.current)):r(!1)},e=function(){return r(!1)};function r(r){var n=y.current,o=l(p.current),i=r?o.addEventListener:o.removeEventListener;i(n?"touchmove":"mousemove",t),i(n?"touchend":"mouseup",e)}return[function(t){var e=t.nativeEvent,n=p.current;if(n&&(d(e),!function(t,e){return e&&!c(t)}(e,y.current)&&n)){if(c(e)){y.current=!0;var o=e.changedTouches||[];o.length&&(v.current=o[0].identifier)}n.focus(),h(f(n,e,v.current)),r(!0)}},function(t){var e=t.which||t.keyCode;e<37||e>40||(t.preventDefault(),g({left:39===e?.05:37===e?-.05:0,top:40===e?.05:38===e?-.05:0}))},r]}),[g,h]),b=m[0],w=m[1],O=m[2];return n.useEffect((function(){return O}),[O]),o.default.createElement("div",i({},u,{onTouchStart:b,onMouseDown:b,className:"react-colorful__interactive",ref:p,onKeyDown:w,tabIndex:0,role:"slider"}))})),h=function(t){return t.filter(Boolean).join(" ")},g=function(t){var e=t.color,r=t.left,n=t.top,i=void 0===n?.5:n,a=h(["react-colorful__pointer",t.className]);return o.default.createElement("div",{className:a,style:{top:100*i+"%",left:100*r+"%"}},o.default.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:e}}))},v=function(t,e,r){return void 0===e&&(e=0),void 0===r&&(r=Math.pow(10,e)),Math.round(r*t)/r},y={grad:.9,turn:360,rad:360/(2*Math.PI)},m=function(t){return M(b(t))},b=function(t){return"#"===t[0]&&(t=t.substring(1)),t.length<6?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:4===t.length?v(parseInt(t[3]+t[3],16)/255,2):1}:{r:parseInt(t.substring(0,2),16),g:parseInt(t.substring(2,4),16),b:parseInt(t.substring(4,6),16),a:8===t.length?v(parseInt(t.substring(6,8),16)/255,2):1}},w=function(t,e){return void 0===e&&(e="deg"),Number(t)*(y[e]||1)},O=function(t){var e=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(t);return e?x({h:w(e[1],e[2]),s:Number(e[3]),l:Number(e[4]),a:void 0===e[5]?1:Number(e[5])/(e[6]?100:1)}):{h:0,s:0,v:0,a:1}},E=O,x=function(t){var e=t.s,r=t.l;return{h:t.h,s:(e*=(r<50?r:100-r)/100)>0?2*e/(r+e)*100:0,v:r+e,a:t.a}},S=function(t){return A(P(t))},D=function(t){var e=t.s,r=t.v,n=t.a,o=(200-e)*r/100;return{h:v(t.h),s:v(o>0&&o<200?e*r/100/(o<=100?o:200-o)*100:0),l:v(o/2),a:v(n,2)}},T=function(t){var e=D(t);return"hsl("+e.h+", "+e.s+"%, "+e.l+"%)"},C=function(t){var e=D(t);return"hsla("+e.h+", "+e.s+"%, "+e.l+"%, "+e.a+")"},P=function(t){var e=t.h,r=t.s,n=t.v,o=t.a;e=e/360*6,r/=100,n/=100;var i=Math.floor(e),a=n*(1-r),s=n*(1-(e-i)*r),u=n*(1-(1-e+i)*r),c=i%6;return{r:v(255*[n,s,a,a,u,n][c]),g:v(255*[u,n,n,s,a,a][c]),b:v(255*[a,a,u,n,n,s][c]),a:v(o,2)}},I=function(t){var e=/hsva?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(t);return e?R({h:w(e[1],e[2]),s:Number(e[3]),v:Number(e[4]),a:void 0===e[5]?1:Number(e[5])/(e[6]?100:1)}):{h:0,s:0,v:0,a:1}},k=I,j=function(t){var e=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(t);return e?M({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:void 0===e[7]?1:Number(e[7])/(e[8]?100:1)}):{h:0,s:0,v:0,a:1}},N=j,_=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},A=function(t){var e=t.r,r=t.g,n=t.b,o=t.a,i=o<1?_(v(255*o)):"";return"#"+_(e)+_(r)+_(n)+i},M=function(t){var e=t.r,r=t.g,n=t.b,o=t.a,i=Math.max(e,r,n),a=i-Math.min(e,r,n),s=a?i===e?(r-n)/a:i===r?2+(n-e)/a:4+(e-r)/a:0;return{h:v(60*(s<0?s+6:s)),s:v(i?a/i*100:0),v:v(i/255*100),a:o}},R=function(t){return{h:v(t.h),s:v(t.s),v:v(t.v),a:v(t.a,2)}},L=o.default.memo((function(t){var e=t.hue,r=t.onChange,n=h(["react-colorful__hue",t.className]);return o.default.createElement("div",{className:n},o.default.createElement(p,{onMove:function(t){r({h:360*t.left})},onKey:function(t){r({h:u(e+360*t.left,0,360)})},"aria-label":"Hue","aria-valuenow":v(e),"aria-valuemax":"360","aria-valuemin":"0"},o.default.createElement(g,{className:"react-colorful__hue-pointer",left:e/360,color:T({h:e,s:100,v:100,a:1})})))})),F=o.default.memo((function(t){var e=t.hsva,r=t.onChange,n={backgroundColor:T({h:e.h,s:100,v:100,a:1})};return o.default.createElement("div",{className:"react-colorful__saturation",style:n},o.default.createElement(p,{onMove:function(t){r({s:100*t.left,v:100-100*t.top})},onKey:function(t){r({s:u(e.s+100*t.left,0,100),v:u(e.v-100*t.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+v(e.s)+"%, Brightness "+v(e.v)+"%"},o.default.createElement(g,{className:"react-colorful__saturation-pointer",top:1-e.v/100,left:e.s/100,color:T(e)})))})),H=function(t,e){if(t===e)return!0;for(var r in t)if(t[r]!==e[r])return!1;return!0},B=function(t,e){return t.replace(/\s/g,"")===e.replace(/\s/g,"")},q=function(t,e){return t.toLowerCase()===e.toLowerCase()||H(b(t),b(e))};function z(t,e,r){var o=s(r),i=n.useState((function(){return t.toHsva(e)})),a=i[0],u=i[1],c=n.useRef({color:e,hsva:a});n.useEffect((function(){if(!t.equal(e,c.current.color)){var r=t.toHsva(e);c.current={hsva:r,color:e},u(r)}}),[e,t]),n.useEffect((function(){var e;H(a,c.current.hsva)||t.equal(e=t.fromHsva(a),c.current.color)||(c.current={hsva:a,color:e},o(e))}),[a,t,o]);var l=n.useCallback((function(t){u((function(e){return Object.assign({},e,t)}))}),[]);return[a,l]}var U,$="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,V=new Map,W=function(t){$((function(){var e=t.current?t.current.ownerDocument:document;if(void 0!==e&&!V.has(e)){var n=e.createElement("style");n.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',V.set(e,n);var o=U||r.nc;o&&n.setAttribute("nonce",o),e.head.appendChild(n)}}),[])},Y=function(t){var e=t.className,r=t.colorModel,s=t.color,u=void 0===s?r.defaultColor:s,c=t.onChange,l=a(t,["className","colorModel","color","onChange"]),f=n.useRef(null);W(f);var d=z(r,u,c),p=d[0],g=d[1],v=h(["react-colorful",e]);return o.default.createElement("div",i({},l,{ref:f,className:v}),o.default.createElement(F,{hsva:p,onChange:g}),o.default.createElement(L,{hue:p.h,onChange:g,className:"react-colorful__last-control"}))},G={defaultColor:"000",toHsva:m,fromHsva:function(t){return S({h:t.h,s:t.s,v:t.v,a:1})},equal:q},K=function(t){var e=t.className,r=t.hsva,n=t.onChange,i={backgroundImage:"linear-gradient(90deg, "+C(Object.assign({},r,{a:0}))+", "+C(Object.assign({},r,{a:1}))+")"},a=h(["react-colorful__alpha",e]),s=v(100*r.a);return o.default.createElement("div",{className:a},o.default.createElement("div",{className:"react-colorful__alpha-gradient",style:i}),o.default.createElement(p,{onMove:function(t){n({a:t.left})},onKey:function(t){n({a:u(r.a+t.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},o.default.createElement(g,{className:"react-colorful__alpha-pointer",left:r.a,color:C(r)})))},X=function(t){var e=t.className,r=t.colorModel,s=t.color,u=void 0===s?r.defaultColor:s,c=t.onChange,l=a(t,["className","colorModel","color","onChange"]),f=n.useRef(null);W(f);var d=z(r,u,c),p=d[0],g=d[1],v=h(["react-colorful",e]);return o.default.createElement("div",i({},l,{ref:f,className:v}),o.default.createElement(F,{hsva:p,onChange:g}),o.default.createElement(L,{hue:p.h,onChange:g}),o.default.createElement(K,{hsva:p,onChange:g,className:"react-colorful__last-control"}))},J={defaultColor:"0001",toHsva:m,fromHsva:S,equal:q},Z={defaultColor:{h:0,s:0,l:0,a:1},toHsva:x,fromHsva:D,equal:H},Q={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:O,fromHsva:C,equal:B},tt={defaultColor:{h:0,s:0,l:0},toHsva:function(t){return x({h:t.h,s:t.s,l:t.l,a:1})},fromHsva:function(t){return{h:(e=D(t)).h,s:e.s,l:e.l};var e},equal:H},et={defaultColor:"hsl(0, 0%, 0%)",toHsva:E,fromHsva:T,equal:B},rt={defaultColor:{h:0,s:0,v:0,a:1},toHsva:function(t){return t},fromHsva:R,equal:H},nt={defaultColor:"hsva(0, 0%, 0%, 1)",toHsva:I,fromHsva:function(t){var e=R(t);return"hsva("+e.h+", "+e.s+"%, "+e.v+"%, "+e.a+")"},equal:B},ot={defaultColor:{h:0,s:0,v:0},toHsva:function(t){return{h:t.h,s:t.s,v:t.v,a:1}},fromHsva:function(t){var e=R(t);return{h:e.h,s:e.s,v:e.v}},equal:H},it={defaultColor:"hsv(0, 0%, 0%)",toHsva:k,fromHsva:function(t){var e=R(t);return"hsv("+e.h+", "+e.s+"%, "+e.v+"%)"},equal:B},at={defaultColor:{r:0,g:0,b:0,a:1},toHsva:M,fromHsva:P,equal:H},st={defaultColor:"rgba(0, 0, 0, 1)",toHsva:j,fromHsva:function(t){var e=P(t);return"rgba("+e.r+", "+e.g+", "+e.b+", "+e.a+")"},equal:B},ut={defaultColor:{r:0,g:0,b:0},toHsva:function(t){return M({r:t.r,g:t.g,b:t.b,a:1})},fromHsva:function(t){return{r:(e=P(t)).r,g:e.g,b:e.b};var e},equal:H},ct={defaultColor:"rgb(0, 0, 0)",toHsva:N,fromHsva:function(t){var e=P(t);return"rgb("+e.r+", "+e.g+", "+e.b+")"},equal:B},lt=/^#?([0-9A-F]{3,8})$/i,ft=function(t){var e=t.color,r=void 0===e?"":e,u=t.onChange,c=t.onBlur,l=t.escape,f=t.validate,d=t.format,p=t.process,h=a(t,["color","onChange","onBlur","escape","validate","format","process"]),g=n.useState((function(){return l(r)})),v=g[0],y=g[1],m=s(u),b=s(c),w=n.useCallback((function(t){var e=l(t.target.value);y(e),f(e)&&m(p?p(e):e)}),[l,p,f,m]),O=n.useCallback((function(t){f(t.target.value)||y(l(r)),b(t)}),[r,l,f,b]);return n.useEffect((function(){y(l(r))}),[r,l]),o.default.createElement("input",i({},h,{value:d?d(v):v,spellCheck:"false",onChange:w,onBlur:O}))},dt=function(t){return"#"+t};e.HexAlphaColorPicker=function(t){return o.default.createElement(X,i({},t,{colorModel:J}))},e.HexColorInput=function(t){var e=t.prefixed,r=t.alpha,s=a(t,["prefixed","alpha"]),u=n.useCallback((function(t){return t.replace(/([^0-9A-F]+)/gi,"").substring(0,r?8:6)}),[r]),c=n.useCallback((function(t){return function(t,e){var r=lt.exec(t),n=r?r[1].length:0;return 3===n||6===n||!!e&&4===n||!!e&&8===n}(t,r)}),[r]);return o.default.createElement(ft,i({},s,{escape:u,format:e?dt:void 0,process:dt,validate:c}))},e.HexColorPicker=function(t){return o.default.createElement(Y,i({},t,{colorModel:G}))},e.HslColorPicker=function(t){return o.default.createElement(Y,i({},t,{colorModel:tt}))},e.HslStringColorPicker=function(t){return o.default.createElement(Y,i({},t,{colorModel:et}))},e.HslaColorPicker=function(t){return o.default.createElement(X,i({},t,{colorModel:Z}))},e.HslaStringColorPicker=function(t){return o.default.createElement(X,i({},t,{colorModel:Q}))},e.HsvColorPicker=function(t){return o.default.createElement(Y,i({},t,{colorModel:ot}))},e.HsvStringColorPicker=function(t){return o.default.createElement(Y,i({},t,{colorModel:it}))},e.HsvaColorPicker=function(t){return o.default.createElement(X,i({},t,{colorModel:rt}))},e.HsvaStringColorPicker=function(t){return o.default.createElement(X,i({},t,{colorModel:nt}))},e.RgbColorPicker=function(t){return o.default.createElement(Y,i({},t,{colorModel:ut}))},e.RgbStringColorPicker=function(t){return o.default.createElement(Y,i({},t,{colorModel:ct}))},e.RgbaColorPicker=function(t){return o.default.createElement(X,i({},t,{colorModel:at}))},e.RgbaStringColorPicker=function(t){return o.default.createElement(X,i({},t,{colorModel:st}))},e.setNonce=function(t){U=t}},13100:function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(r(93266)),s=i(r(26322)),u=function(t){function e(r){var n=t.call(this,r)||this;return n.resetDragging=function(){n.frameDragCounter=0,n.setState({draggingOverFrame:!1,draggingOverTarget:!1})},n.handleWindowDragOverOrDrop=function(t){t.preventDefault()},n.handleFrameDrag=function(t){if(e.eventHasFiles(t))return n.frameDragCounter+="dragenter"===t.type?1:-1,1===n.frameDragCounter?(n.setState({draggingOverFrame:!0}),void(n.props.onFrameDragEnter&&n.props.onFrameDragEnter(t))):0===n.frameDragCounter?(n.setState({draggingOverFrame:!1}),void(n.props.onFrameDragLeave&&n.props.onFrameDragLeave(t))):void 0},n.handleFrameDrop=function(t){n.state.draggingOverTarget||(n.resetDragging(),n.props.onFrameDrop&&n.props.onFrameDrop(t))},n.handleDragOver=function(t){e.eventHasFiles(t)&&(n.setState({draggingOverTarget:!0}),!e.isIE()&&n.props.dropEffect&&(t.dataTransfer.dropEffect=n.props.dropEffect),n.props.onDragOver&&n.props.onDragOver(t))},n.handleDragLeave=function(t){n.setState({draggingOverTarget:!1}),n.props.onDragLeave&&n.props.onDragLeave(t)},n.handleDrop=function(t){if(n.props.onDrop&&e.eventHasFiles(t)){var r=t.dataTransfer?t.dataTransfer.files:null;n.props.onDrop(r,t)}n.resetDragging()},n.handleTargetClick=function(t){n.props.onTargetClick&&n.props.onTargetClick(t),n.resetDragging()},n.stopFrameListeners=function(t){t&&(t.removeEventListener("dragenter",n.handleFrameDrag),t.removeEventListener("dragleave",n.handleFrameDrag),t.removeEventListener("drop",n.handleFrameDrop))},n.startFrameListeners=function(t){t&&(t.addEventListener("dragenter",n.handleFrameDrag),t.addEventListener("dragleave",n.handleFrameDrag),t.addEventListener("drop",n.handleFrameDrop))},n.frameDragCounter=0,n.state={draggingOverFrame:!1,draggingOverTarget:!1},n}return o(e,t),e.prototype.componentDidMount=function(){this.startFrameListeners(this.props.frame),this.resetDragging(),window.addEventListener("dragover",this.handleWindowDragOverOrDrop),window.addEventListener("drop",this.handleWindowDragOverOrDrop)},e.prototype.componentDidUpdate=function(t){t.frame!==this.props.frame&&(this.resetDragging(),this.stopFrameListeners(t.frame),this.startFrameListeners(this.props.frame))},e.prototype.componentWillUnmount=function(){this.stopFrameListeners(this.props.frame),window.removeEventListener("dragover",this.handleWindowDragOverOrDrop),window.removeEventListener("drop",this.handleWindowDragOverOrDrop)},e.prototype.render=function(){var t=this.props,e=t.children,r=t.className,n=t.targetClassName,o=t.draggingOverFrameClassName,i=t.draggingOverTargetClassName,a=this.state,u=a.draggingOverTarget,c=n;return a.draggingOverFrame&&(c+=" "+o),u&&(c+=" "+i),s.default.createElement("div",{className:r,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},s.default.createElement("div",{className:c,onClick:this.handleTargetClick},e))},e.isIE=function(){return"undefined"!=typeof window&&(-1!==window.navigator.userAgent.indexOf("MSIE")||window.navigator.appVersion.indexOf("Trident/")>0)},e.eventHasFiles=function(t){var e=!1;if(t.dataTransfer){var r=t.dataTransfer.types;for(var n in r)if("Files"===r[n]){e=!0;break}}return e},e.propTypes={className:a.default.string,targetClassName:a.default.string,draggingOverFrameClassName:a.default.string,draggingOverTargetClassName:a.default.string,onDragOver:a.default.func,onDragLeave:a.default.func,onDrop:a.default.func,onTargetClick:a.default.func,dropEffect:a.default.oneOf(["copy","move","link","none"]),frame:function(t,e,r){var n=t[e];return null==n?new Error("Warning: Required prop `"+e+"` was not specified in `"+r+"`"):n===document||n instanceof HTMLElement?void 0:new Error("Warning: Prop `"+e+"` must be one of the following: document, HTMLElement!")},onFrameDragEnter:a.default.func,onFrameDragLeave:a.default.func,onFrameDrop:a.default.func},e.defaultProps={dropEffect:"copy",frame:"undefined"==typeof window?void 0:window.document,className:"file-drop",targetClassName:"file-drop-target",draggingOverFrameClassName:"file-drop-dragging-over-frame",draggingOverTargetClassName:"file-drop-dragging-over-target"},e}(s.default.PureComponent);e.FileDrop=u},78314:function(t,e,r){var n;n=t=>(()=>{var e={703:(t,e,r)=>{"use strict";var n=r(414);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},697:(t,e,r)=>{t.exports=r(703)()},414:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:e=>{"use strict";e.exports=t}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={exports:{}};return e[t](i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};return(()=>{"use strict";n.r(o),n.d(o,{default:()=>w});var t=n(98),e=n.n(t),r=n(697),i=n.n(r);function a(){return a=Object.assign?Object.assign.bind():function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:""}function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function h(){return h=Object.assign?Object.assign.bind():function(t){for(var e=1;e0?e-1:void 0,{isPrevious:!0})})),m(v(r),"handleNextPage",(function(t){var e=r.state.selected,n=r.props.pageCount;r.handleClick(t,null,e3&&void 0!==arguments[3]?arguments[3]:{},i=o.isPrevious,a=void 0!==i&&i,s=o.isNext,u=void 0!==s&&s,c=o.isBreak,l=void 0!==c&&c,f=o.isActive,d=void 0!==f&&f;t.preventDefault?t.preventDefault():t.returnValue=!1;var p=r.state.selected,h=r.props.onClick,g=n;if(h){var v=h({index:e,selected:p,nextSelectedPage:n,event:t,isPrevious:a,isNext:u,isBreak:l,isActive:d});if(!1===v)return;Number.isInteger(v)&&(g=v)}void 0!==g&&r.handlePageChange(g)})),m(v(r),"handleBreakClick",(function(t,e){var n=r.state.selected;r.handleClick(e,t,ni-o/2?h=o-(g=i-d):di-a)b.push({type:"page",index:v,display:m(v)});else if(v>=d-h&&v<=d+(0===d&&o>1?g-1:g))b.push({type:"page",index:v,display:m(v)});else if(s&&b.length>0&&b[b.length-1].display!==y&&(o>0||a>0)){var O=v=r?r-1:n}},{key:"getBackwardJump",value:function(){var t=this.state.selected-this.props.pageRangeDisplayed;return t<0?0:t}},{key:"getElementHref",value:function(t){var e=this.props,r=e.hrefBuilder,n=e.pageCount,o=e.hrefAllControls;if(r)return o||t>=0&&t=0&&t>>1,o=t[n];if(!(0>>1;ni(u,r))ci(l,u)?(t[n]=l,t[c]=r,n=c):(t[n]=u,t[s]=r,n=s);else{if(!(ci(l,r)))break t;t[n]=l,t[c]=r,n=c}}}return e}function i(t,e){var r=t.sortIndex-e.sortIndex;return 0!==r?r:t.id-e.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();e.unstable_now=function(){return s.now()-u}}var c=[],l=[],f=1,d=null,p=3,h=!1,g=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,m="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(t){for(var e=n(l);null!==e;){if(null===e.callback)o(l);else{if(!(e.startTime<=t))break;o(l),e.sortIndex=e.expirationTime,r(c,e)}e=n(l)}}function O(t){if(v=!1,w(t),!g)if(null!==n(c))g=!0,_(E);else{var e=n(l);null!==e&&A(O,e.startTime-t)}}function E(t,r){g=!1,v&&(v=!1,m(T),T=-1),h=!0;var i=p;try{for(w(r),d=n(c);null!==d&&(!(d.expirationTime>r)||t&&!I());){var a=d.callback;if("function"==typeof a){d.callback=null,p=d.priorityLevel;var s=a(d.expirationTime<=r);r=e.unstable_now(),"function"==typeof s?d.callback=s:d===n(c)&&o(c),w(r)}else o(c);d=n(c)}if(null!==d)var u=!0;else{var f=n(l);null!==f&&A(O,f.startTime-r),u=!1}return u}finally{d=null,p=i,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,S=!1,D=null,T=-1,C=5,P=-1;function I(){return!(e.unstable_now()-Pt||125a?(t.sortIndex=i,r(l,t),null===n(c)&&t===n(l)&&(v?(m(T),T=-1):v=!0,A(O,i-a))):(t.sortIndex=s,r(c,t),g||h||(g=!0,_(E))),t},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(t){var e=p;return function(){var r=p;p=e;try{return t.apply(this,arguments)}finally{p=r}}}},23576:function(t,e,r){"use strict";t.exports=r(70797)},79202:function(t){"use strict";t.exports=(t,e)=>{if("string"!=typeof t||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===e)return[t];const r=t.indexOf(e);return-1===r?[t]:[t.slice(0,r),t.slice(r+e.length)]}},45466:function(t){"use strict";t.exports=t=>encodeURIComponent(t).replace(/[!'()*]/g,(t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`))},2574:function(t,e,r){var n=r(93389);t.exports=function(t){return null==t?"\\s":t.source?t.source:"["+n(t)+"]"}},93389:function(t,e,r){var n=r(148);t.exports=function(t){return n(t).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}},76969:function(t){t.exports={nbsp:" ",cent:"¢",pound:"£",yen:"¥",euro:"€",copy:"©",reg:"®",lt:"<",gt:">",quot:'"',amp:"&",apos:"'"}},148:function(t){t.exports=function(t){return null==t?"":""+t}},2029:function(t,e,r){var n=r(148);t.exports=function(t){return n(t).replace(/<\/?[^>]+>/g,"")}},41780:function(t,e,r){var n=r(148),o=r(2574),i=String.prototype.trim;t.exports=function(t,e){return t=n(t),!e&&i?i.call(t):(e=o(e),t.replace(new RegExp("^"+e+"+|"+e+"+$","g"),""))}},39105:function(t,e,r){var n=r(148),o=r(76969);t.exports=function(t){return n(t).replace(/\&([^;]{1,10});/g,(function(t,e){var r;return e in o?o[e]:(r=e.match(/^#x([\da-fA-F]+)$/))?String.fromCharCode(parseInt(r[1],16)):(r=e.match(/^#(\d+)$/))?String.fromCharCode(~~r[1]):t}))}},48126:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return a}});var n=r(26322);function o(t){let e;const r=new Set,n=(t,n)=>{const o="function"==typeof t?t(e):t;if(o!==e){const t=e;e=n?o:Object.assign({},e,o),r.forEach((r=>r(e,t)))}},o=()=>e,i={setState:n,getState:o,subscribe:(t,n,i)=>n||i?((t,n=o,i=Object.is)=>{let a=n(e);function s(){const r=n(e);if(!i(a,r)){const e=a;t(a=r,e)}}return r.add(s),()=>r.delete(s)})(t,n,i):(r.add(t),()=>r.delete(t)),destroy:()=>r.clear()};return e=t(n,o,i),i}const i="undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)?n.useEffect:n.useLayoutEffect;function a(t){const e="function"==typeof t?o(t):t,r=(t=e.getState,r=Object.is)=>{const[,o]=(0,n.useReducer)((t=>t+1),0),a=e.getState(),s=(0,n.useRef)(a),u=(0,n.useRef)(t),c=(0,n.useRef)(r),l=(0,n.useRef)(!1),f=(0,n.useRef)();let d;void 0===f.current&&(f.current=t(a));let p=!1;(s.current!==a||u.current!==t||c.current!==r||l.current)&&(d=t(a),p=!r(f.current,d)),i((()=>{p&&(f.current=d),s.current=a,u.current=t,c.current=r,l.current=!1}));const h=(0,n.useRef)(a);i((()=>{const t=()=>{try{const t=e.getState(),r=u.current(t);c.current(f.current,r)||(s.current=t,f.current=r,o())}catch(t){l.current=!0,o()}},r=e.subscribe(t);return e.getState()!==h.current&&t(),r}),[]);const g=p?d:f.current;return(0,n.useDebugValue)(g),g};return Object.assign(r,e),r[Symbol.iterator]=function(){const t=[r,e];return{next(){const e=t.length<=0;return{value:t.shift(),done:e}}}},r}},79321:function(t,e,r){var n=r(85898).default;function o(){"use strict";t.exports=o=function(){return r},t.exports.__esModule=!0,t.exports.default=t.exports;var e,r={},i=Object.prototype,a=i.hasOwnProperty,s=Object.defineProperty||function(t,e,r){t[e]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(e){d=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof w?e:w,i=Object.create(o.prototype),a=new _(n||[]);return s(i,"_invoke",{value:I(t,r,a)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=p;var g="suspendedStart",v="suspendedYield",y="executing",m="completed",b={};function w(){}function O(){}function E(){}var x={};d(x,c,(function(){return this}));var S=Object.getPrototypeOf,D=S&&S(S(A([])));D&&D!==i&&a.call(D,c)&&(x=D);var T=E.prototype=w.prototype=Object.create(x);function C(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function r(o,i,s,u){var c=h(t[o],t,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==n(f)&&a.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,s,u)}),(function(t){r("throw",t,s,u)})):e.resolve(f).then((function(t){l.value=t,s(l)}),(function(t){return r("throw",t,s,u)}))}u(c.arg)}var o;s(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function I(t,r,n){var o=g;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=k(s,n);if(u){if(u===b)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===g)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=h(t,r,n);if("normal"===c.type){if(o=n.done?m:v,c.arg===b)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=h(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},r}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},85898:function(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},78564:function(t,e,r){var n=r(79321)();t.exports=n;try{regeneratorRuntime=n}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},38141:function(t,e){"use strict";function r(t,e,r){return function(n,o){void 0===o&&(o=r);var i=t(n)+o;return e(i)}}function n(t){return function(e){return new Date(t(e).getTime()-1)}}function o(t,e){return function(r){return[t(r),e(r)]}}function i(t){if(t instanceof Date)return t.getFullYear();if("number"==typeof t)return t;var e=parseInt(t,10);if("string"==typeof t&&!isNaN(e))return e;throw new Error("Failed to get year from date: ".concat(t,"."))}function a(t){if(t instanceof Date)return t.getMonth();throw new Error("Failed to get month from date: ".concat(t,"."))}function s(t){if(t instanceof Date)return t.getMonth()+1;throw new Error("Failed to get human-readable month from date: ".concat(t,"."))}function u(t){if(t instanceof Date)return t.getDate();throw new Error("Failed to get year from date: ".concat(t,"."))}function c(t){if(t instanceof Date)return t.getHours();if("string"==typeof t){var e=t.split(":");if(e.length>=2){var r=e[0];if(r){var n=parseInt(r,10);if(!isNaN(n))return n}}}throw new Error("Failed to get hours from date: ".concat(t,"."))}function l(t){if(t instanceof Date)return t.getMinutes();if("string"==typeof t){var e=t.split(":");if(e.length>=2){var r=e[1]||"0",n=parseInt(r,10);if(!isNaN(n))return n}}throw new Error("Failed to get minutes from date: ".concat(t,"."))}function f(t){if(t instanceof Date)return t.getSeconds();if("string"==typeof t){var e=t.split(":");if(e.length>=2){var r=e[2]||"0",n=parseInt(r,10);if(!isNaN(n))return n}}throw new Error("Failed to get seconds from date: ".concat(t,"."))}function d(t){var e=i(t),r=e+(1-e)%100,n=new Date;return n.setFullYear(r,0,1),n.setHours(0,0,0,0),n}function p(t){var e=i(t),r=e+(1-e)%10,n=new Date;return n.setFullYear(r,0,1),n.setHours(0,0,0,0),n}function h(t){var e=i(t),r=new Date;return r.setFullYear(e,0,1),r.setHours(0,0,0,0),r}function g(t,e){return function(r,n){void 0===n&&(n=e);var o=i(r),s=a(r)+n,u=new Date;return u.setFullYear(o,s,1),u.setHours(0,0,0,0),t(u)}}function v(t){var e=i(t),r=a(t),n=new Date;return n.setFullYear(e,r,1),n.setHours(0,0,0,0),n}function y(t,e){return function(r,n){void 0===n&&(n=e);var o=i(r),s=a(r),c=u(r)+n,l=new Date;return l.setFullYear(o,s,c),l.setHours(0,0,0,0),t(l)}}function m(t){var e=i(t),r=a(t),n=u(t),o=new Date;return o.setFullYear(e,r,n),o.setHours(0,0,0,0),o}function b(t,e){void 0===e&&(e=2);var r="".concat(t);return r.length>=e?t:"0000".concat(r).slice(-e)}function w(t){var e=b(c(t)),r=b(l(t)),n=b(f(t));return"".concat(e,":").concat(r,":").concat(n)}function O(t){var e=b(i(t),4),r=b(s(t)),n=b(u(t));return"".concat(e,"-").concat(r,"-").concat(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.getISOLocalDateTime=e.getISOLocalDate=e.getISOLocalMonth=e.getHoursMinutesSeconds=e.getHoursMinutes=e.getDaysInMonth=e.getDayRange=e.getNextDayEnd=e.getPreviousDayEnd=e.getDayEnd=e.getNextDayStart=e.getPreviousDayStart=e.getDayStart=e.getMonthRange=e.getNextMonthEnd=e.getPreviousMonthEnd=e.getMonthEnd=e.getNextMonthStart=e.getPreviousMonthStart=e.getMonthStart=e.getYearRange=e.getNextYearEnd=e.getPreviousYearEnd=e.getYearEnd=e.getNextYearStart=e.getPreviousYearStart=e.getYearStart=e.getDecadeRange=e.getNextDecadeEnd=e.getPreviousDecadeEnd=e.getDecadeEnd=e.getNextDecadeStart=e.getPreviousDecadeStart=e.getDecadeStart=e.getCenturyRange=e.getNextCenturyEnd=e.getPreviousCenturyEnd=e.getCenturyEnd=e.getNextCenturyStart=e.getPreviousCenturyStart=e.getCenturyStart=e.getMilliseconds=e.getSeconds=e.getMinutes=e.getHours=e.getDate=e.getMonthHuman=e.getMonth=e.getYear=void 0,e.getYear=i,e.getMonth=a,e.getMonthHuman=s,e.getDate=u,e.getHours=c,e.getMinutes=l,e.getSeconds=f,e.getMilliseconds=function(t){if(t instanceof Date)return t.getMilliseconds();if("string"==typeof t){var e=t.split(":");if(e.length>=2){var r=(e[2]||"0").split(".")[1]||"0",n=parseInt(r,10);if(!isNaN(n))return n}}throw new Error("Failed to get seconds from date: ".concat(t,"."))},e.getCenturyStart=d,e.getPreviousCenturyStart=r(i,d,-100),e.getNextCenturyStart=r(i,d,100),e.getCenturyEnd=n(e.getNextCenturyStart),e.getPreviousCenturyEnd=r(i,e.getCenturyEnd,-100),e.getNextCenturyEnd=r(i,e.getCenturyEnd,100),e.getCenturyRange=o(d,e.getCenturyEnd),e.getDecadeStart=p,e.getPreviousDecadeStart=r(i,p,-10),e.getNextDecadeStart=r(i,p,10),e.getDecadeEnd=n(e.getNextDecadeStart),e.getPreviousDecadeEnd=r(i,e.getDecadeEnd,-10),e.getNextDecadeEnd=r(i,e.getDecadeEnd,10),e.getDecadeRange=o(p,e.getDecadeEnd),e.getYearStart=h,e.getPreviousYearStart=r(i,h,-1),e.getNextYearStart=r(i,h,1),e.getYearEnd=n(e.getNextYearStart),e.getPreviousYearEnd=r(i,e.getYearEnd,-1),e.getNextYearEnd=r(i,e.getYearEnd,1),e.getYearRange=o(h,e.getYearEnd),e.getMonthStart=v,e.getPreviousMonthStart=g(v,-1),e.getNextMonthStart=g(v,1),e.getMonthEnd=n(e.getNextMonthStart),e.getPreviousMonthEnd=g(e.getMonthEnd,-1),e.getNextMonthEnd=g(e.getMonthEnd,1),e.getMonthRange=o(v,e.getMonthEnd),e.getDayStart=m,e.getPreviousDayStart=y(m,-1),e.getNextDayStart=y(m,1),e.getDayEnd=n(e.getNextDayStart),e.getPreviousDayEnd=y(e.getDayEnd,-1),e.getNextDayEnd=y(e.getDayEnd,1),e.getDayRange=o(m,e.getDayEnd),e.getDaysInMonth=function(t){return u((0,e.getMonthEnd)(t))},e.getHoursMinutes=function(t){var e=b(c(t)),r=b(l(t));return"".concat(e,":").concat(r)},e.getHoursMinutesSeconds=w,e.getISOLocalMonth=function(t){var e=b(i(t),4),r=b(s(t));return"".concat(e,"-").concat(r)},e.getISOLocalDate=O,e.getISOLocalDateTime=function(t){return"".concat(O(t),"T").concat(w(t))}},25514:function(t,e,r){"use strict";var n=r(38389),o=r(24983),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},44546:function(t,e,r){"use strict";var n=r(38389),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},71461:function(t,e,r){"use strict";var n=r(8979),o=r(98584),i=r(49617).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&i(s,a,{configurable:!0,value:o(null)}),t.exports=function(t){s[a][t]=!0}},15365:function(t,e,r){"use strict";var n=r(33655).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},18039:function(t,e,r){"use strict";var n=r(74937),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new o("Incorrect invocation")}},45735:function(t,e,r){"use strict";var n=r(20962),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},3524:function(t,e,r){"use strict";var n=r(79391);t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},81409:function(t,e,r){"use strict";var n=r(86805),o=r(2170),i=r(78742),a=function(t){return function(e,r,a){var s,u=n(e),c=i(u),l=o(a,c);if(t&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},38189:function(t,e,r){"use strict";var n=r(51824),o=r(15920),i=r(92943),a=r(38805),s=r(78742),u=r(72317),c=o([].push),l=function(t){var e=1===t,r=2===t,o=3===t,l=4===t,f=6===t,d=7===t,p=5===t||f;return function(h,g,v,y){for(var m,b,w=a(h),O=i(w),E=n(g,v),x=s(O),S=0,D=y||u,T=e?D(h,x):r||d?D(h,0):void 0;x>S;S++)if((p||S in O)&&(b=E(m=O[S],S,w),t))if(e)T[S]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return S;case 2:c(T,m)}else switch(t){case 4:return!1;case 7:c(T,m)}return f?-1:o||l?l:T}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},30661:function(t,e,r){"use strict";var n=r(79391),o=r(8979),i=r(95724),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},29830:function(t,e,r){"use strict";var n=r(79391);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},89758:function(t,e,r){"use strict";var n=r(25514),o=r(38805),i=r(92943),a=r(78742),s=TypeError,u=function(t){return function(e,r,u,c){n(r);var l=o(e),f=i(l),d=a(l),p=t?d-1:0,h=t?-1:1;if(u<2)for(;;){if(p in f){c=f[p],p+=h;break}if(p+=h,t?p<0:d<=p)throw new s("Reduce of empty array with no initial value")}for(;t?p>=0:d>p;p+=h)p in f&&(c=r(c,f[p],p,l));return c}};t.exports={left:u(!1),right:u(!0)}},99911:function(t,e,r){"use strict";var n=r(2170),o=r(78742),i=r(46096),a=Array,s=Math.max;t.exports=function(t,e,r){for(var u=o(t),c=n(e,u),l=n(void 0===r?u:r,u),f=a(s(l-c,0)),d=0;c0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},22103:function(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},86454:function(t,e,r){"use strict";var n=r(64411),o=r(13763).f,i=r(39915),a=r(97448),s=r(63817),u=r(33036),c=r(44156);t.exports=function(t,e){var r,l,f,d,p,h=t.target,g=t.global,v=t.stat;if(r=g?n:v?n[h]||s(h,{}):(n[h]||{}).prototype)for(l in e){if(d=e[l],f=t.dontCallGetSet?(p=o(r,l))&&p.value:r[l],!c(g?l:h+(v?".":"#")+l,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(t.sham||f&&f.sham)&&i(d,"sham",!0),a(r,l,d,t)}}},79391:function(t){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},86988:function(t,e,r){"use strict";r(47847);var n=r(60180),o=r(97448),i=r(14507),a=r(79391),s=r(8979),u=r(39915),c=s("species"),l=RegExp.prototype;t.exports=function(t,e,r,f){var d=s(t),p=!a((function(){var e={};return e[d]=function(){return 7},7!==""[t](e)})),h=p&&!a((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!p||!h||r){var g=n(/./[d]),v=e(d,""[t],(function(t,e,r,o,a){var s=n(t),u=e.exec;return u===i||u===l.exec?p&&!a?{done:!0,value:g(e,r,o)}:{done:!0,value:s(r,e,o)}:{done:!1}}));o(String.prototype,t,v[0]),o(l,d,v[1])}f&&u(l[d],"sham",!0)}},9224:function(t,e,r){"use strict";var n=r(79391);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},53721:function(t,e,r){"use strict";var n=r(26344),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},51824:function(t,e,r){"use strict";var n=r(60180),o=r(25514),i=r(26344),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},26344:function(t,e,r){"use strict";var n=r(79391);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},96733:function(t,e,r){"use strict";var n=r(26344),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},59470:function(t,e,r){"use strict";var n=r(27084),o=r(6401),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},51154:function(t,e,r){"use strict";var n=r(15920),o=r(25514);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},60180:function(t,e,r){"use strict";var n=r(64512),o=r(15920);t.exports=function(t){if("Function"===n(t))return o(t)}},15920:function(t,e,r){"use strict";var n=r(26344),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},27383:function(t,e,r){"use strict";var n=r(64411),o=r(38389);t.exports=function(t,e){return arguments.length<2?(r=n[t],o(r)?r:void 0):n[t]&&n[t][e];var r}},39715:function(t,e,r){"use strict";var n=r(48731),o=r(89950),i=r(33237),a=r(90237),s=r(8979)("iterator");t.exports=function(t){if(!i(t))return o(t,s)||o(t,"@@iterator")||a[n(t)]}},85633:function(t,e,r){"use strict";var n=r(96733),o=r(25514),i=r(45735),a=r(24983),s=r(39715),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(o(r))return i(n(r,t));throw new u(a(t)+" is not iterable")}},89950:function(t,e,r){"use strict";var n=r(25514),o=r(33237);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},60718:function(t,e,r){"use strict";var n=r(15920),o=r(38805),i=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,f,d){var p=r+t.length,h=n.length,g=l;return void 0!==f&&(f=o(f),g=c),s(d,g,(function(o,s){var c;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,r);case"'":return u(e,p);case"<":c=f[u(s,1,-1)];break;default:var l=+s;if(0===l)return o;if(l>h){var d=i(l/10);return 0===d?o:d<=h?void 0===n[d-1]?a(s,1):n[d-1]+a(s,1):o}c=n[l-1]}return void 0===c?"":c}))}},64411:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},6401:function(t,e,r){"use strict";var n=r(15920),o=r(38805),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},47285:function(t){"use strict";t.exports={}},37453:function(t,e,r){"use strict";var n=r(27383);t.exports=n("document","documentElement")},38669:function(t,e,r){"use strict";var n=r(27084),o=r(79391),i=r(99511);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},92943:function(t,e,r){"use strict";var n=r(15920),o=r(79391),i=r(64512),a=Object,s=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?s(t,""):a(t)}:a},72511:function(t,e,r){"use strict";var n=r(38389),o=r(20962),i=r(63175);t.exports=function(t,e,r){var a,s;return i&&n(a=e.constructor)&&a!==r&&o(s=a.prototype)&&s!==r.prototype&&i(t,s),t}},96746:function(t,e,r){"use strict";var n=r(15920),o=r(38389),i=r(30877),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},38395:function(t,e,r){"use strict";var n=r(86454),o=r(15920),i=r(47285),a=r(20962),s=r(6401),u=r(49617).f,c=r(28560),l=r(83002),f=r(86028),d=r(75376),p=r(9224),h=!1,g=d("meta"),v=0,y=function(t){u(t,g,{value:{objectID:"O"+v++,weakData:{}}})},m=t.exports={enable:function(){m.enable=function(){},h=!0;var t=c.f,e=o([].splice),r={};r[g]=1,t(r).length&&(c.f=function(r){for(var n=t(r),o=0,i=n.length;om;m++)if((w=k(t[m]))&&c(g,w))return w;return new h(!1)}v=l(t,y)}for(O=D?t.next:v.next;!(E=o(O,v)).done;){try{w=k(E.value)}catch(t){d(v,"throw",t)}if("object"==typeof w&&w&&c(g,w))return w}return new h(!1)}},35075:function(t,e,r){"use strict";var n=r(96733),o=r(45735),i=r(89950);t.exports=function(t,e,r){var a,s;o(t);try{if(!(a=i(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw r;if(s)throw a;return o(a),r}},60394:function(t,e,r){"use strict";var n=r(12697).IteratorPrototype,o=r(98584),i=r(48612),a=r(30079),s=r(90237),u=function(){return this};t.exports=function(t,e,r,c){var l=e+" Iterator";return t.prototype=o(n,{next:i(+!c,r)}),a(t,l,!1,!0),s[l]=u,t}},49552:function(t,e,r){"use strict";var n=r(86454),o=r(96733),i=r(42411),a=r(59470),s=r(38389),u=r(60394),c=r(26371),l=r(63175),f=r(30079),d=r(39915),p=r(97448),h=r(8979),g=r(90237),v=r(12697),y=a.PROPER,m=a.CONFIGURABLE,b=v.IteratorPrototype,w=v.BUGGY_SAFARI_ITERATORS,O=h("iterator"),E="keys",x="values",S="entries",D=function(){return this};t.exports=function(t,e,r,a,h,v,T){u(r,e,a);var C,P,I,k=function(t){if(t===h&&M)return M;if(!w&&t&&t in _)return _[t];switch(t){case E:case x:case S:return function(){return new r(this,t)}}return function(){return new r(this)}},j=e+" Iterator",N=!1,_=t.prototype,A=_[O]||_["@@iterator"]||h&&_[h],M=!w&&A||k(h),R="Array"===e&&_.entries||A;if(R&&(C=c(R.call(new t)))!==Object.prototype&&C.next&&(i||c(C)===b||(l?l(C,b):s(C[O])||p(C,O,D)),f(C,j,!0,!0),i&&(g[j]=D)),y&&h===x&&A&&A.name!==x&&(!i&&m?d(_,"name",x):(N=!0,M=function(){return o(A,this)})),h)if(P={values:k(x),keys:v?M:k(E),entries:k(S)},T)for(I in P)(w||N||!(I in _))&&p(_,I,P[I]);else n({target:e,proto:!0,forced:w||N},P);return i&&!T||_[O]===M||p(_,O,M,{name:h}),g[e]=M,P}},12697:function(t,e,r){"use strict";var n,o,i,a=r(79391),s=r(38389),u=r(20962),c=r(98584),l=r(26371),f=r(97448),d=r(8979),p=r(42411),h=d("iterator"),g=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):g=!0),!u(n)||a((function(){var t={};return n[h].call(t)!==t}))?n={}:p&&(n=c(n)),s(n[h])||f(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},90237:function(t){"use strict";t.exports={}},78742:function(t,e,r){"use strict";var n=r(446);t.exports=function(t){return n(t.length)}},88075:function(t,e,r){"use strict";var n=r(15920),o=r(79391),i=r(38389),a=r(6401),s=r(27084),u=r(59470).CONFIGURABLE,c=r(96746),l=r(31789),f=l.enforce,d=l.get,p=String,h=Object.defineProperty,g=n("".slice),v=n("".replace),y=n([].join),m=s&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===g(p(e),0,7)&&(e="["+v(p(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(s?h(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&a(r,"arity")&&t.length!==r.arity&&h(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=f(t);return a(n,"source")||(n.source=y(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return i(this)&&d(this).source||c(this)}),"toString")},90469:function(t){"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},95135:function(t,e,r){"use strict";var n=r(64411),o=r(79391),i=r(15920),a=r(85327),s=r(4058).trim,u=r(20572),c=n.parseInt,l=n.Symbol,f=l&&l.iterator,d=/^[+-]?0x/i,p=i(d.exec),h=8!==c(u+"08")||22!==c(u+"0x16")||f&&!o((function(){c(Object(f))}));t.exports=h?function(t,e){var r=s(a(t));return c(r,e>>>0||(p(d,r)?16:10))}:c},54997:function(t,e,r){"use strict";var n=r(27084),o=r(15920),i=r(96733),a=r(79391),s=r(18784),u=r(80213),c=r(54373),l=r(38805),f=r(92943),d=Object.assign,p=Object.defineProperty,h=o([].concat);t.exports=!d||a((function(){if(n&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach((function(t){e[t]=t})),7!==d({},t)[r]||s(d({},e)).join("")!==o}))?function(t,e){for(var r=l(t),o=arguments.length,a=1,d=u.f,p=c.f;o>a;)for(var g,v=f(arguments[a++]),y=d?h(s(v),d(v)):s(v),m=y.length,b=0;m>b;)g=y[b++],n&&!i(p,v,g)||(r[g]=v[g]);return r}:d},98584:function(t,e,r){"use strict";var n,o=r(45735),i=r(83809),a=r(22103),s=r(47285),u=r(37453),c=r(99511),l=r(10023),f="prototype",d="script",p=l("IE_PROTO"),h=function(){},g=function(t){return"<"+d+">"+t+""},v=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;y="undefined"!=typeof document?document.domain&&n?v(n):(e=c("iframe"),r="java"+d+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(g("document.F=Object")),t.close(),t.F):v(n);for(var o=a.length;o--;)delete y[f][a[o]];return y()};s[p]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(h[f]=o(t),r=new h,h[f]=null,r[p]=t):r=y(),void 0===e?r:i.f(r,e)}},83809:function(t,e,r){"use strict";var n=r(27084),o=r(74542),i=r(49617),a=r(45735),s=r(86805),u=r(18784);e.f=n&&!o?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),o=u(e),c=o.length,l=0;c>l;)i.f(t,r=o[l++],n[r]);return t}},49617:function(t,e,r){"use strict";var n=r(27084),o=r(38669),i=r(74542),a=r(45735),s=r(48745),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";e.f=n?i?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&p in r&&!r[p]){var n=l(t,e);n&&n[p]&&(t[e]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:f in r?r[f]:n[f],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(a(t),e=s(e),a(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},13763:function(t,e,r){"use strict";var n=r(27084),o=r(96733),i=r(54373),a=r(48612),s=r(86805),u=r(48745),c=r(6401),l=r(38669),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=s(t),e=u(e),l)try{return f(t,e)}catch(t){}if(c(t,e))return a(!o(i.f,t,e),t[e])}},83002:function(t,e,r){"use strict";var n=r(64512),o=r(86805),i=r(28560).f,a=r(99911),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"===n(t)?function(t){try{return i(t)}catch(t){return a(s)}}(t):i(o(t))}},28560:function(t,e,r){"use strict";var n=r(23332),o=r(22103).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},80213:function(t,e){"use strict";e.f=Object.getOwnPropertySymbols},26371:function(t,e,r){"use strict";var n=r(6401),o=r(38389),i=r(38805),a=r(10023),s=r(59731),u=a("IE_PROTO"),c=Object,l=c.prototype;t.exports=s?c.getPrototypeOf:function(t){var e=i(t);if(n(e,u))return e[u];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof c?l:null}},86028:function(t,e,r){"use strict";var n=r(79391),o=r(20962),i=r(64512),a=r(3524),s=Object.isExtensible,u=n((function(){s(1)}));t.exports=u||a?function(t){return!!o(t)&&((!a||"ArrayBuffer"!==i(t))&&(!s||s(t)))}:s},74937:function(t,e,r){"use strict";var n=r(15920);t.exports=n({}.isPrototypeOf)},23332:function(t,e,r){"use strict";var n=r(15920),o=r(6401),i=r(86805),a=r(81409).indexOf,s=r(47285),u=n([].push);t.exports=function(t,e){var r,n=i(t),c=0,l=[];for(r in n)!o(s,r)&&o(n,r)&&u(l,r);for(;e.length>c;)o(n,r=e[c++])&&(~a(l,r)||u(l,r));return l}},18784:function(t,e,r){"use strict";var n=r(23332),o=r(22103);t.exports=Object.keys||function(t){return n(t,o)}},54373:function(t,e){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},63175:function(t,e,r){"use strict";var n=r(51154),o=r(45735),i=r(44546);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},69755:function(t,e,r){"use strict";var n=r(684),o=r(48731);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},20078:function(t,e,r){"use strict";var n=r(96733),o=r(38389),i=r(20962),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&o(r=t.toString)&&!i(s=n(r,t)))return s;if(o(r=t.valueOf)&&!i(s=n(r,t)))return s;if("string"!==e&&o(r=t.toString)&&!i(s=n(r,t)))return s;throw new a("Can't convert object to primitive value")}},31575:function(t,e,r){"use strict";var n=r(27383),o=r(15920),i=r(28560),a=r(80213),s=r(45735),u=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(s(t)),r=a.f;return r?u(e,r(t)):e}},55274:function(t,e,r){"use strict";var n=r(96733),o=r(45735),i=r(38389),a=r(64512),s=r(14507),u=TypeError;t.exports=function(t,e){var r=t.exec;if(i(r)){var c=n(r,t,e);return null!==c&&o(c),c}if("RegExp"===a(t))return n(s,t,e);throw new u("RegExp#exec called on incompatible receiver")}},14507:function(t,e,r){"use strict";var n,o,i=r(96733),a=r(15920),s=r(85327),u=r(45771),c=r(85149),l=r(49329),f=r(98584),d=r(31789).get,p=r(38259),h=r(87518),g=l("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,y=v,m=a("".charAt),b=a("".indexOf),w=a("".replace),O=a("".slice),E=(o=/b*/g,i(v,n=/a/,"a"),i(v,o,"a"),0!==n.lastIndex||0!==o.lastIndex),x=c.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];(E||S||x||p||h)&&(y=function(t){var e,r,n,o,a,c,l,p=this,h=d(p),D=s(t),T=h.raw;if(T)return T.lastIndex=p.lastIndex,e=i(y,T,D),p.lastIndex=T.lastIndex,e;var C=h.groups,P=x&&p.sticky,I=i(u,p),k=p.source,j=0,N=D;if(P&&(I=w(I,"y",""),-1===b(I,"g")&&(I+="g"),N=O(D,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==m(D,p.lastIndex-1))&&(k="(?: "+k+")",N=" "+N,j++),r=new RegExp("^(?:"+k+")",I)),S&&(r=new RegExp("^"+k+"$(?!\\s)",I)),E&&(n=p.lastIndex),o=i(v,P?r:p,N),P?o?(o.input=O(o.input,j),o[0]=O(o[0],j),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:E&&o&&(p.lastIndex=p.global?o.index+o[0].length:n),S&&o&&o.length>1&&i(g,o[0],r,(function(){for(a=1;ab)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},71814:function(t,e,r){"use strict";var n=r(33237),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},30079:function(t,e,r){"use strict";var n=r(49617).f,o=r(6401),i=r(8979)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:e})}},10023:function(t,e,r){"use strict";var n=r(49329),o=r(75376),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},30877:function(t,e,r){"use strict";var n=r(64411),o=r(63817),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},49329:function(t,e,r){"use strict";var n=r(42411),o=r(30877);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.33.3",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE",source:"https://github.com/zloirock/core-js"})},33655:function(t,e,r){"use strict";var n=r(15920),o=r(79227),i=r(85327),a=r(71814),s=n("".charAt),u=n("".charCodeAt),c=n("".slice),l=function(t){return function(e,r){var n,l,f=i(a(e)),d=o(r),p=f.length;return d<0||d>=p?t?"":void 0:(n=u(f,d))<55296||n>56319||d+1===p||(l=u(f,d+1))<56320||l>57343?t?s(f,d):n:t?c(f,d,d+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},4058:function(t,e,r){"use strict";var n=r(15920),o=r(71814),i=r(85327),a=r(20572),s=n("".replace),u=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),l=function(t){return function(e){var r=i(o(e));return 1&t&&(r=s(r,u,"")),2&t&&(r=s(r,c,"$1")),r}};t.exports={start:l(1),end:l(2),trim:l(3)}},25007:function(t,e,r){"use strict";var n=r(95724),o=r(79391),i=r(64411).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},2170:function(t,e,r){"use strict";var n=r(79227),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},86805:function(t,e,r){"use strict";var n=r(92943),o=r(71814);t.exports=function(t){return n(o(t))}},79227:function(t,e,r){"use strict";var n=r(90469);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},446:function(t,e,r){"use strict";var n=r(79227),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},38805:function(t,e,r){"use strict";var n=r(71814),o=Object;t.exports=function(t){return o(n(t))}},7593:function(t,e,r){"use strict";var n=r(96733),o=r(20962),i=r(90565),a=r(89950),s=r(20078),u=r(8979),c=TypeError,l=u("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,u=a(t,l);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!o(r)||i(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},48745:function(t,e,r){"use strict";var n=r(7593),o=r(90565);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},684:function(t,e,r){"use strict";var n={};n[r(8979)("toStringTag")]="z",t.exports="[object z]"===String(n)},85327:function(t,e,r){"use strict";var n=r(48731),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},24983:function(t){"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},75376:function(t,e,r){"use strict";var n=r(15920),o=0,i=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},54272:function(t,e,r){"use strict";var n=r(25007);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},74542:function(t,e,r){"use strict";var n=r(27084),o=r(79391);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},80798:function(t,e,r){"use strict";var n=r(64411),o=r(38389),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8979:function(t,e,r){"use strict";var n=r(64411),o=r(49329),i=r(6401),a=r(75376),s=r(25007),u=r(54272),c=n.Symbol,l=o("wks"),f=u?c.for||c:c&&c.withoutSetter||a;t.exports=function(t){return i(l,t)||(l[t]=s&&i(c,t)?c[t]:f("Symbol."+t)),l[t]}},20572:function(t){"use strict";t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},27384:function(t,e,r){"use strict";var n=r(86454),o=r(38189).filter;n({target:"Array",proto:!0,forced:!r(30661)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},7920:function(t,e,r){"use strict";var n=r(86805),o=r(71461),i=r(90237),a=r(31789),s=r(49617).f,u=r(49552),c=r(70017),l=r(42411),f=r(27084),d="Array Iterator",p=a.set,h=a.getterFor(d);t.exports=u(Array,"Array",(function(t,e){p(this,{type:d,target:n(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,c(void 0,!0);switch(t.kind){case"keys":return c(r,!1);case"values":return c(e[r],!1)}return c([r,e[r]],!1)}),"values");var g=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==g.name)try{s(g,"name",{value:"values"})}catch(t){}},35336:function(t,e,r){"use strict";var n=r(86454),o=r(89758).left,i=r(29830),a=r(95724);n({target:"Array",proto:!0,forced:!r(48144)&&a>79&&a<83||!i("reduce")},{reduce:function(t){var e=arguments.length;return o(this,t,e,e>1?arguments[1]:void 0)}})},67834:function(t,e,r){"use strict";var n=r(27084),o=r(59470).EXISTS,i=r(15920),a=r(3578),s=Function.prototype,u=i(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=i(c.exec);n&&!o&&a(s,"name",{configurable:!0,get:function(){try{return l(c,u(this))[1]}catch(t){return""}}})},36605:function(t,e,r){"use strict";var n=r(86454),o=r(54997);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},6547:function(t,e,r){"use strict";var n=r(684),o=r(97448),i=r(69755);n||o(Object.prototype,"toString",i,{unsafe:!0})},80316:function(t,e,r){"use strict";var n=r(86454),o=r(95135);n({global:!0,forced:parseInt!==o},{parseInt:o})},47847:function(t,e,r){"use strict";var n=r(86454),o=r(14507);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},4212:function(t,e,r){"use strict";var n=r(33655).charAt,o=r(85327),i=r(31789),a=r(49552),s=r(70017),u="String Iterator",c=i.set,l=i.getterFor(u);a(String,"String",(function(t){c(this,{type:u,string:o(t),index:0})}),(function(){var t,e=l(this),r=e.string,o=e.index;return o>=r.length?s(void 0,!0):(t=n(r,o),e.index+=t.length,s(t,!1))}))},88209:function(t,e,r){"use strict";var n=r(96733),o=r(86988),i=r(45735),a=r(33237),s=r(446),u=r(85327),c=r(71814),l=r(89950),f=r(15365),d=r(55274);o("match",(function(t,e,r){return[function(e){var r=c(this),o=a(e)?void 0:l(e,t);return o?n(o,e,r):new RegExp(e)[t](u(r))},function(t){var n=i(this),o=u(t),a=r(e,n,o);if(a.done)return a.value;if(!n.global)return d(n,o);var c=n.unicode;n.lastIndex=0;for(var l,p=[],h=0;null!==(l=d(n,o));){var g=u(l[0]);p[h]=g,""===g&&(n.lastIndex=f(o,s(n.lastIndex),c)),h++}return 0===h?null:p}]}))},17216:function(t,e,r){"use strict";var n=r(53721),o=r(96733),i=r(15920),a=r(86988),s=r(79391),u=r(45735),c=r(38389),l=r(33237),f=r(79227),d=r(446),p=r(85327),h=r(71814),g=r(15365),v=r(89950),y=r(60718),m=r(55274),b=r(8979)("replace"),w=Math.max,O=Math.min,E=i([].concat),x=i([].push),S=i("".indexOf),D=i("".slice),T="$0"==="a".replace(/./,"$0"),C=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(t,e,r){var i=C?"$":"$0";return[function(t,r){var n=h(this),i=l(t)?void 0:v(t,b);return i?o(i,t,n,r):o(e,p(n),t,r)},function(t,o){var a=u(this),s=p(t);if("string"==typeof o&&-1===S(o,i)&&-1===S(o,"$<")){var l=r(e,a,s,o);if(l.done)return l.value}var h=c(o);h||(o=p(o));var v,b=a.global;b&&(v=a.unicode,a.lastIndex=0);for(var T,C=[];null!==(T=m(a,s))&&(x(C,T),b);){""===p(T[0])&&(a.lastIndex=g(s,d(a.lastIndex),v))}for(var P,I="",k=0,j=0;j=k&&(I+=D(s,k,A)+N,k=A+_.length)}return I+D(s,k)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}))||!T||C)},73682:function(t,e,r){"use strict";var n,o=r(9224),i=r(64411),a=r(15920),s=r(67287),u=r(38395),c=r(884),l=r(7049),f=r(20962),d=r(31789).enforce,p=r(79391),h=r(80798),g=Object,v=Array.isArray,y=g.isExtensible,m=g.isFrozen,b=g.isSealed,w=g.freeze,O=g.seal,E={},x={},S=!i.ActiveXObject&&"ActiveXObject"in i,D=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},T=c("WeakMap",D,l),C=T.prototype,P=a(C.set);if(h)if(S){n=l.getConstructor(D,"WeakMap",!0),u.enable();var I=a(C.delete),k=a(C.has),j=a(C.get);s(C,{delete:function(t){if(f(t)&&!y(t)){var e=d(this);return e.frozen||(e.frozen=new n),I(this,t)||e.frozen.delete(t)}return I(this,t)},has:function(t){if(f(t)&&!y(t)){var e=d(this);return e.frozen||(e.frozen=new n),k(this,t)||e.frozen.has(t)}return k(this,t)},get:function(t){if(f(t)&&!y(t)){var e=d(this);return e.frozen||(e.frozen=new n),k(this,t)?j(this,t):e.frozen.get(t)}return j(this,t)},set:function(t,e){if(f(t)&&!y(t)){var r=d(this);r.frozen||(r.frozen=new n),k(this,t)?P(this,t,e):r.frozen.set(t,e)}else P(this,t,e);return this}})}else o&&p((function(){var t=w([]);return P(new T,t,1),!m(t)}))&&s(C,{set:function(t,e){var r;return v(t)&&(m(t)?r=E:b(t)&&(r=x)),P(this,t,e),r===E&&w(t),r===x&&O(t),this}})},33132:function(t,e,r){"use strict";r(73682)},38185:function(t,e,r){"use strict";var n=r(64411),o=r(59688),i=r(9376),a=r(7920),s=r(39915),u=r(8979),c=u("iterator"),l=u("toStringTag"),f=a.values,d=function(t,e){if(t){if(t[c]!==f)try{s(t,c,f)}catch(e){t[c]=f}if(t[l]||s(t,l,e),o[e])for(var r in a)if(t[r]!==a[r])try{s(t,r,a[r])}catch(e){t[r]=a[r]}}};for(var p in o)d(n[p]&&n[p].prototype,p);d(i,"DOMTokenList")},75729:function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.getUserLocale=e.getUserLocales=void 0;var o=n(r(56033));function i(t){return"string"==typeof t}function a(t,e,r){return r.indexOf(t)===e}function s(t){return-1===t.indexOf(",")?t:t.split(",")}function u(t){if(!t)return t;if("C"===t||"posix"===t||"POSIX"===t)return"en-US";if(-1!==t.indexOf(".")){var e=t.split(".")[0];return u(void 0===e?"":e)}if(-1!==t.indexOf("@")){var r=t.split("@")[0];return u(void 0===r?"":r)}if(-1===t.indexOf("-")||(n=t).toLowerCase()!==n)return t;var n,o=t.split("-"),i=o[0],a=o[1],s=void 0===a?"":a;return"".concat(i,"-").concat(s.toUpperCase())}e.getUserLocales=(0,o.default)((function(t){var e=void 0===t?{}:t,r=e.useFallbackLocale,n=void 0===r||r,o=e.fallbackLocale,c=void 0===o?"en-US":o,l=[];if("undefined"!=typeof navigator){for(var f=[],d=0,p=navigator.languages||[];dt.length)&&(e=t.length);for(var r=0,n=Array(e);r{if(!e.has(t))throw TypeError("Cannot "+r)},i=(t,e,r)=>(o(t,e,"read from private field"),r?r.call(t):e.get(t)),a=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},s=(t,e,r,n)=>(o(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),u=class{constructor(){a(this,n,void 0),this.register=t=>{i(this,n).push(t)},this.unregister=t=>{let e;for(;-1!==(e=i(this,n).indexOf(t));)i(this,n).splice(e,1)},this.backendChanged=t=>{for(let e of i(this,n))e.backendChanged(t)},s(this,n,[])}};n=new WeakMap;var c,l,f,d,p,h,g,v,y,m,b,w=class t{constructor(e,r,n){if(a(this,c,void 0),a(this,l,void 0),a(this,f,void 0),a(this,d,void 0),a(this,p,void 0),a(this,h,((t,e,r)=>{if(!r.backend)throw new Error(`You must specify a 'backend' property in your Backend entry: ${JSON.stringify(r)}`);let n=r.backend(t,e,r.options),o=r.id,a=!r.id&&n&&n.constructor;if(a&&(o=n.constructor.name),!o)throw new Error(`You must specify an 'id' property in your Backend entry: ${JSON.stringify(r)}\n see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-5xx`);if(i(this,f)[o])throw new Error(`You must specify a unique 'id' property in your Backend entry:\n ${JSON.stringify(r)} (conflicts with: ${JSON.stringify(i(this,f)[o])})`);return{id:o,instance:n,preview:r.preview??!1,transition:r.transition,skipDispatchOnTransition:r.skipDispatchOnTransition??!1}})),this.setup=()=>{if(!(typeof window>"u")){if(t.isSetUp)throw new Error("Cannot have two MultiBackends at the same time.");t.isSetUp=!0,i(this,g).call(this,window),i(this,f)[i(this,c)].instance.setup()}},this.teardown=()=>{typeof window>"u"||(t.isSetUp=!1,i(this,v).call(this,window),i(this,f)[i(this,c)].instance.teardown())},this.connectDragSource=(t,e,r)=>i(this,b).call(this,"connectDragSource",t,e,r),this.connectDragPreview=(t,e,r)=>i(this,b).call(this,"connectDragPreview",t,e,r),this.connectDropTarget=(t,e,r)=>i(this,b).call(this,"connectDropTarget",t,e,r),this.profile=()=>i(this,f)[i(this,c)].instance.profile(),this.previewEnabled=()=>i(this,f)[i(this,c)].preview,this.previewsList=()=>i(this,l),this.backendsList=()=>i(this,d),a(this,g,(t=>{i(this,d).forEach((e=>{e.transition&&t.addEventListener(e.transition.event,i(this,y))}))})),a(this,v,(t=>{i(this,d).forEach((e=>{e.transition&&t.removeEventListener(e.transition.event,i(this,y))}))})),a(this,y,(t=>{let e=i(this,c);if(i(this,d).some((e=>!(e.id===i(this,c)||!e.transition||!e.transition.check(t))&&(s(this,c,e.id),!0))),i(this,c)!==e){i(this,f)[e].instance.teardown(),Object.keys(i(this,p)).forEach((t=>{let e=i(this,p)[t];e.unsubscribe(),e.unsubscribe=i(this,m).call(this,e.func,...e.args)})),i(this,l).backendChanged(this);let r=i(this,f)[i(this,c)];if(r.instance.setup(),r.skipDispatchOnTransition)return;let n=new(0,t.constructor)(t.type,t);t.target?.dispatchEvent(n)}})),a(this,m,((t,e,r,n)=>i(this,f)[i(this,c)].instance[t](e,r,n))),a(this,b,((t,e,r,n)=>{let o=`${t}_${e}`,a=i(this,m).call(this,t,e,r,n);return i(this,p)[o]={func:t,args:[e,r,n],unsubscribe:a},()=>{i(this,p)[o].unsubscribe(),delete i(this,p)[o]}})),!n||!n.backends||n.backends.length<1)throw new Error("You must specify at least one Backend, if you are coming from 2.x.x (or don't understand this error)\n see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-2xx");s(this,l,new u),s(this,f,{}),s(this,d,[]),n.backends.forEach((t=>{let n=i(this,h).call(this,e,r,t);i(this,f)[n.id]=n,i(this,d).push(n)})),s(this,c,i(this,d)[0].id),s(this,p,{})}};c=new WeakMap,l=new WeakMap,f=new WeakMap,d=new WeakMap,p=new WeakMap,h=new WeakMap,g=new WeakMap,v=new WeakMap,y=new WeakMap,m=new WeakMap,b=new WeakMap,w.isSetUp=!1;var O=w,E=(t,e,r)=>new O(t,e,r),x=(t,e)=>({event:t,check:e}),S=x("touchstart",(t=>{let e=t;return null!==e.touches&&void 0!==e.touches})),D=x("dragstart",(t=>-1!==t.type.indexOf("drag")||-1!==t.type.indexOf("drop"))),T=x("mousedown",(t=>-1===t.type.indexOf("touch")&&-1!==t.type.indexOf("mouse"))),C=x("pointerdown",(t=>"mouse"==t.pointerType))},57632:function(t,e,r){"use strict";r.d(e,{bD:function(){return R}});var n=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty;function a(t,e){return function(r,n,o){return t(r,n,o)&&e(r,n,o)}}function s(t){return function(e,r,n){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,n);var o=n.cache,i=o.get(e),a=o.get(r);if(i&&a)return i===r&&a===e;o.set(e,r),o.set(r,e);var s=t(e,r,n);return o.delete(e),o.delete(r),s}}function u(t){return n(t).concat(o(t))}var c=Object.hasOwn||function(t,e){return i.call(t,e)};function l(t,e){return t||e?t===e:t===e||t!=t&&e!=e}var f="_owner",d=Object.getOwnPropertyDescriptor,p=Object.keys;function h(t,e,r){var n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;return!0}function g(t,e){return l(t.getTime(),e.getTime())}function v(t,e,r){if(t.size!==e.size)return!1;for(var n,o,i={},a=t.entries(),s=0;(n=a.next())&&!n.done;){for(var u=e.entries(),c=!1,l=0;(o=u.next())&&!o.done;){var f=n.value,d=f[0],p=f[1],h=o.value,g=h[0],v=h[1];c||i[l]||!(c=r.equals(d,g,s,l,t,e,r)&&r.equals(p,v,d,g,t,e,r))||(i[l]=!0),l++}if(!c)return!1;s++}return!0}function y(t,e,r){var n,o=p(t),i=o.length;if(p(e).length!==i)return!1;for(;i-- >0;){if((n=o[i])===f&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!c(e,n)||!r.equals(t[n],e[n],n,n,t,e,r))return!1}return!0}function m(t,e,r){var n,o,i,a=u(t),s=a.length;if(u(e).length!==s)return!1;for(;s-- >0;){if((n=a[s])===f&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!c(e,n))return!1;if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;if(o=d(t,n),i=d(e,n),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable))return!1}return!0}function b(t,e){return l(t.valueOf(),e.valueOf())}function w(t,e){return t.source===e.source&&t.flags===e.flags}function O(t,e,r){if(t.size!==e.size)return!1;for(var n,o,i={},a=t.values();(n=a.next())&&!n.done;){for(var s=e.values(),u=!1,c=0;(o=s.next())&&!o.done;)u||i[c]||!(u=r.equals(n.value,o.value,n.value,o.value,t,e,r))||(i[c]=!0),c++;if(!u)return!1}return!0}function E(t,e){var r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}var x="[object Arguments]",S="[object Boolean]",D="[object Date]",T="[object Map]",C="[object Number]",P="[object Object]",I="[object RegExp]",k="[object Set]",j="[object String]",N=Array.isArray,_="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,A=Object.assign,M=Object.prototype.toString.call.bind(Object.prototype.toString);var R=L();L({strict:!0}),L({circular:!0}),L({circular:!0,strict:!0}),L({createInternalComparator:function(){return l}}),L({strict:!0,createInternalComparator:function(){return l}}),L({circular:!0,createInternalComparator:function(){return l}}),L({circular:!0,createInternalComparator:function(){return l},strict:!0});function L(t){void 0===t&&(t={});var e,r=t.circular,n=void 0!==r&&r,o=t.createInternalComparator,i=t.createState,u=t.strict,c=void 0!==u&&u,l=function(t){var e=t.circular,r=t.createCustomConfig,n=t.strict,o={areArraysEqual:n?m:h,areDatesEqual:g,areMapsEqual:n?a(v,m):v,areObjectsEqual:n?m:y,arePrimitiveWrappersEqual:b,areRegExpsEqual:w,areSetsEqual:n?a(O,m):O,areTypedArraysEqual:n?m:E};if(r&&(o=A({},o,r(o))),e){var i=s(o.areArraysEqual),u=s(o.areMapsEqual),c=s(o.areObjectsEqual),l=s(o.areSetsEqual);o=A({},o,{areArraysEqual:i,areMapsEqual:u,areObjectsEqual:c,areSetsEqual:l})}return o}(t),f=function(t){var e=t.areArraysEqual,r=t.areDatesEqual,n=t.areMapsEqual,o=t.areObjectsEqual,i=t.arePrimitiveWrappersEqual,a=t.areRegExpsEqual,s=t.areSetsEqual,u=t.areTypedArraysEqual;return function(t,c,l){if(t===c)return!0;if(null==t||null==c||"object"!=typeof t||"object"!=typeof c)return t!=t&&c!=c;var f=t.constructor;if(f!==c.constructor)return!1;if(f===Object)return o(t,c,l);if(N(t))return e(t,c,l);if(null!=_&&_(t))return u(t,c,l);if(f===Date)return r(t,c,l);if(f===RegExp)return a(t,c,l);if(f===Map)return n(t,c,l);if(f===Set)return s(t,c,l);var d=M(t);return d===D?r(t,c,l):d===I?a(t,c,l):d===T?n(t,c,l):d===k?s(t,c,l):d===P?"function"!=typeof t.then&&"function"!=typeof c.then&&o(t,c,l):d===x?o(t,c,l):(d===S||d===C||d===j)&&i(t,c,l)}}(l);return function(t){var e=t.circular,r=t.comparator,n=t.createState,o=t.equals,i=t.strict;if(n)return function(t,a){var s=n(),u=s.cache,c=void 0===u?e?new WeakMap:void 0:u,l=s.meta;return r(t,a,{cache:c,equals:o,meta:l,strict:i})};if(e)return function(t,e){return r(t,e,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var a={cache:void 0,equals:o,meta:void 0,strict:i};return function(t,e){return r(t,e,a)}}({circular:n,comparator:f,createState:i,equals:o?o(f):(e=f,function(t,r,n,o,i,a,s){return e(t,r,s)}),strict:c})}},73891:function(t,e,r){"use strict";r.d(e,{B:function(){return n}});class n extends Map{constructor(t,e=s){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,r]of t)this.set(e,r)}get(t){return super.get(o(this,t))}has(t){return super.has(o(this,t))}set(t,e){return super.set(i(this,t),e)}delete(t){return super.delete(a(this,t))}}Set;function o({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):r}function i({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}function a({_intern:t,_key:e},r){const n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}function s(t){return null!==t&&"object"==typeof t?t.valueOf():t}},12080:function(t,e,r){"use strict";r.r(e),r.d(e,{HTML5toTouch:function(){return L}});var n={};function o(t){let e=null;return()=>(null==e&&(e=t()),e)}r.r(n),r.d(n,{FILE:function(){return s},HTML:function(){return l},TEXT:function(){return c},URL:function(){return u}});class i{enter(t){const e=this.entered.length;return this.entered=function(t,e){const r=new Set,n=t=>r.add(t);t.forEach(n),e.forEach(n);const o=[];return r.forEach((t=>o.push(t))),o}(this.entered.filter((e=>this.isNodeInDocument(e)&&(!e.contains||e.contains(t)))),[t]),0===e&&this.entered.length>0}leave(t){const e=this.entered.length;var r,n;return this.entered=(r=this.entered.filter(this.isNodeInDocument),n=t,r.filter((t=>t!==n))),e>0&&0===this.entered.length}reset(){this.entered=[]}constructor(t){this.entered=[],this.isNodeInDocument=t}}class a{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach((t=>{Object.defineProperty(this.item,t,{configurable:!0,enumerable:!0,get(){return null}})}))}loadDataTransfer(t){if(t){const e={};Object.keys(this.config.exposeProperties).forEach((r=>{const n=this.config.exposeProperties[r];null!=n&&(e[r]={value:n(t,this.config.matchesTypes),configurable:!0,enumerable:!0})})),Object.defineProperties(this.item,e)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(t,e){return e===t.getSourceId()}endDrag(){}constructor(t){this.config=t,this.item={},this.initializeExposedProperties()}}const s="__NATIVE_FILE__",u="__NATIVE_URL__",c="__NATIVE_TEXT__",l="__NATIVE_HTML__";function f(t,e,r){const n=e.reduce(((e,r)=>e||t.getData(r)),"");return null!=n?n:r}const d={[s]:{exposeProperties:{files:t=>Array.prototype.slice.call(t.files),items:t=>t.items,dataTransfer:t=>t},matchesTypes:["Files"]},[l]:{exposeProperties:{html:(t,e)=>f(t,e,""),dataTransfer:t=>t},matchesTypes:["Html","text/html"]},[u]:{exposeProperties:{urls:(t,e)=>f(t,e,"").split("\n"),dataTransfer:t=>t},matchesTypes:["Url","text/uri-list"]},[c]:{exposeProperties:{text:(t,e)=>f(t,e,""),dataTransfer:t=>t},matchesTypes:["Text","text/plain"]}};function p(t){if(!t)return null;const e=Array.prototype.slice.call(t.types||[]);return Object.keys(d).filter((t=>{const r=d[t];return!!(null==r?void 0:r.matchesTypes)&&r.matchesTypes.some((t=>e.indexOf(t)>-1))}))[0]||null}const h=o((()=>/firefox/i.test(navigator.userAgent))),g=o((()=>Boolean(window.safari)));class v{interpolate(t){const{xs:e,ys:r,c1s:n,c2s:o,c3s:i}=this;let a=e.length-1;if(t===e[a])return r[a];let s,u=0,c=i.length-1;for(;u<=c;){s=Math.floor(.5*(u+c));const n=e[s];if(nt))return r[s];c=s-1}}a=Math.max(0,c);const l=t-e[a],f=l*l;return r[a]+n[a]*l+o[a]*f+i[a]*l*f}constructor(t,e){const{length:r}=t,n=[];for(let t=0;tt[e]{let t=new v([0,.5,1],[c.y,c.y/f*b,c.y+b-f]).interpolate(p);return g()&&i&&(t+=(window.devicePixelRatio-1)*b),t})()}}class O{get window(){return this.globalContext?this.globalContext:"undefined"!=typeof window?window:void 0}get document(){var t;return(null===(t=this.globalContext)||void 0===t?void 0:t.document)?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var t;return(null===(t=this.optionsArgs)||void 0===t?void 0:t.rootElement)||this.window}constructor(t,e){this.ownerDocument=null,this.globalContext=t,this.optionsArgs=e}}function E(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function x(t){for(var e=1;e{this.sourcePreviewNodes.delete(t),this.sourcePreviewNodeOptions.delete(t)}}connectDragSource(t,e,r){this.sourceNodes.set(t,e),this.sourceNodeOptions.set(t,r);const n=e=>this.handleDragStart(e,t),o=t=>this.handleSelectStart(t);return e.setAttribute("draggable","true"),e.addEventListener("dragstart",n),e.addEventListener("selectstart",o),()=>{this.sourceNodes.delete(t),this.sourceNodeOptions.delete(t),e.removeEventListener("dragstart",n),e.removeEventListener("selectstart",o),e.setAttribute("draggable","false")}}connectDropTarget(t,e){const r=e=>this.handleDragEnter(e,t),n=e=>this.handleDragOver(e,t),o=e=>this.handleDrop(e,t);return e.addEventListener("dragenter",r),e.addEventListener("dragover",n),e.addEventListener("drop",o),()=>{e.removeEventListener("dragenter",r),e.removeEventListener("dragover",n),e.removeEventListener("drop",o)}}addEventListeners(t){t.addEventListener&&(t.addEventListener("dragstart",this.handleTopDragStart),t.addEventListener("dragstart",this.handleTopDragStartCapture,!0),t.addEventListener("dragend",this.handleTopDragEndCapture,!0),t.addEventListener("dragenter",this.handleTopDragEnter),t.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.addEventListener("dragover",this.handleTopDragOver),t.addEventListener("dragover",this.handleTopDragOverCapture,!0),t.addEventListener("drop",this.handleTopDrop),t.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(t){t.removeEventListener&&(t.removeEventListener("dragstart",this.handleTopDragStart),t.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),t.removeEventListener("dragend",this.handleTopDragEndCapture,!0),t.removeEventListener("dragenter",this.handleTopDragEnter),t.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.removeEventListener("dragover",this.handleTopDragOver),t.removeEventListener("dragover",this.handleTopDragOverCapture,!0),t.removeEventListener("drop",this.handleTopDrop),t.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const t=this.monitor.getSourceId(),e=this.sourceNodeOptions.get(t);return x({dropEffect:this.altKeyPressed?"copy":"move"},e||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const t=this.monitor.getSourceId();return x({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(t)||{})}isDraggingNativeItem(){const t=this.monitor.getItemType();return Object.keys(n).some((e=>n[e]===t))}beginDragNativeItem(t,e){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(t,e){const r=d[t];if(!r)throw new Error(`native type ${t} has no configuration`);const n=new a(r);return n.loadDataTransfer(e),n}(t,e),this.currentNativeHandle=this.registry.addSource(t,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(t){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=t;this.mouseMoveTimeoutTimer=setTimeout((()=>{var t;return null===(t=this.rootElement)||void 0===t?void 0:t.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}),1e3)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){var t;if(this.currentDragSourceNode=null,this.rootElement)null===(t=this.window)||void 0===t||t.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0);return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(t,e){t.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(e))}handleDragEnter(t,e){this.dragEnterTargetIds.unshift(e)}handleDragOver(t,e){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(e)}handleDrop(t,e){this.dropTargetIds.unshift(e)}constructor(t,e,r){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=t=>{const e=this.sourceNodes.get(t);return e&&m(e)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=t=>Boolean(t&&this.document&&this.document.body&&this.document.body.contains(t)),this.endDragIfSourceWasRemovedFromDOM=()=>{const t=this.currentDragSourceNode;null==t||this.isNodeInDocument(t)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=t=>{null===this.hoverRafId&&"undefined"!=typeof requestAnimationFrame&&(this.hoverRafId=requestAnimationFrame((()=>{this.monitor.isDragging()&&this.actions.hover(t||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null})))},this.cancelHover=()=>{null!==this.hoverRafId&&"undefined"!=typeof cancelAnimationFrame&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=t=>{if(t.defaultPrevented)return;const{dragStartSourceIds:e}=this;this.dragStartSourceIds=null;const r=b(t);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(e||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});const{dataTransfer:n}=t,o=p(n);if(this.monitor.isDragging()){if(n&&"function"==typeof n.setDragImage){const t=this.monitor.getSourceId(),e=this.sourceNodes.get(t),o=this.sourcePreviewNodes.get(t)||e;if(o){const{anchorX:t,anchorY:i,offsetX:a,offsetY:s}=this.getCurrentSourcePreviewNodeOptions(),u=w(e,o,r,{anchorX:t,anchorY:i},{offsetX:a,offsetY:s});n.setDragImage(o,u.x,u.y)}}try{null==n||n.setData("application/json",{})}catch(t){}this.setCurrentDragSourceNode(t.target);const{captureDraggingState:e}=this.getCurrentSourcePreviewNodeOptions();e?this.actions.publishDragSource():setTimeout((()=>this.actions.publishDragSource()),0)}else if(o)this.beginDragNativeItem(o);else{if(n&&!n.types&&(t.target&&!t.target.hasAttribute||!t.target.hasAttribute("draggable")))return;t.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=t=>{var e;(this.dragEnterTargetIds=[],this.isDraggingNativeItem())&&(null===(e=this.currentNativeSource)||void 0===e||e.loadDataTransfer(t.dataTransfer));if(!this.enterLeaveCounter.enter(t.target)||this.monitor.isDragging())return;const{dataTransfer:r}=t,n=p(r);n&&this.beginDragNativeItem(n,r)},this.handleTopDragEnter=t=>{const{dragEnterTargetIds:e}=this;if(this.dragEnterTargetIds=[],!this.monitor.isDragging())return;this.altKeyPressed=t.altKey,e.length>0&&this.actions.hover(e,{clientOffset:b(t)});e.some((t=>this.monitor.canDropOnTarget(t)))&&(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect=this.getCurrentDropEffect()))},this.handleTopDragOverCapture=t=>{var e;(this.dragOverTargetIds=[],this.isDraggingNativeItem())&&(null===(e=this.currentNativeSource)||void 0===e||e.loadDataTransfer(t.dataTransfer))},this.handleTopDragOver=t=>{const{dragOverTargetIds:e}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return t.preventDefault(),void(t.dataTransfer&&(t.dataTransfer.dropEffect="none"));this.altKeyPressed=t.altKey,this.lastClientOffset=b(t),this.scheduleHover(e);(e||[]).some((t=>this.monitor.canDropOnTarget(t)))?(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?t.preventDefault():(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=t=>{this.isDraggingNativeItem()&&t.preventDefault();this.enterLeaveCounter.leave(t.target)&&(this.isDraggingNativeItem()&&setTimeout((()=>this.endDragNativeItem()),0),this.cancelHover())},this.handleTopDropCapture=t=>{var e;(this.dropTargetIds=[],this.isDraggingNativeItem())?(t.preventDefault(),null===(e=this.currentNativeSource)||void 0===e||e.loadDataTransfer(t.dataTransfer)):p(t.dataTransfer)&&t.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=t=>{const{dropTargetIds:e}=this;this.dropTargetIds=[],this.actions.hover(e,{clientOffset:b(t)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=t=>{const e=t.target;"function"==typeof e.dragDrop&&("INPUT"===e.tagName||"SELECT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable||(t.preventDefault(),e.dragDrop()))},this.options=new O(e,r),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enterLeaveCounter=new i(this.isNodeInDocument)}}var D,T=r(4384);!function(t){t.mouse="mouse",t.touch="touch",t.keyboard="keyboard"}(D||(D={}));class C{get delay(){var t;return null!==(t=this.args.delay)&&void 0!==t?t:0}get scrollAngleRanges(){return this.args.scrollAngleRanges}get getDropTargetElementsAtPoint(){return this.args.getDropTargetElementsAtPoint}get ignoreContextMenu(){var t;return null!==(t=this.args.ignoreContextMenu)&&void 0!==t&&t}get enableHoverOutsideTarget(){var t;return null!==(t=this.args.enableHoverOutsideTarget)&&void 0!==t&&t}get enableKeyboardEvents(){var t;return null!==(t=this.args.enableKeyboardEvents)&&void 0!==t&&t}get enableMouseEvents(){var t;return null!==(t=this.args.enableMouseEvents)&&void 0!==t&&t}get enableTouchEvents(){var t;return null===(t=this.args.enableTouchEvents)||void 0===t||t}get touchSlop(){return this.args.touchSlop||0}get delayTouchStart(){var t,e,r,n;return null!==(n=null!==(r=null===(t=this.args)||void 0===t?void 0:t.delayTouchStart)&&void 0!==r?r:null===(e=this.args)||void 0===e?void 0:e.delay)&&void 0!==n?n:0}get delayMouseStart(){var t,e,r,n;return null!==(n=null!==(r=null===(t=this.args)||void 0===t?void 0:t.delayMouseStart)&&void 0!==r?r:null===(e=this.args)||void 0===e?void 0:e.delay)&&void 0!==n?n:0}get window(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}get document(){var t;return(null===(t=this.context)||void 0===t?void 0:t.document)?this.context.document:this.window?this.window.document:void 0}get rootElement(){var t;return(null===(t=this.args)||void 0===t?void 0:t.rootElement)||this.document}constructor(t,e){this.args=t,this.context=e}}const P=1,I=0;function k(t){return void 0===t.button||t.button===I}function j(t){return!!t.targetTouches}function N(t,e){return j(t)?function(t,e){return 1===t.targetTouches.length?N(t.targetTouches[0]):e&&1===t.touches.length&&t.touches[0].target===e.target?N(t.touches[0]):void 0}(t,e):{x:t.clientX,y:t.clientY}}const _=(()=>{let t=!1;try{addEventListener("test",(()=>{}),Object.defineProperty({},"passive",{get(){return t=!0,!0}}))}catch(t){}return t})(),A={[D.mouse]:{start:"mousedown",move:"mousemove",end:"mouseup",contextmenu:"contextmenu"},[D.touch]:{start:"touchstart",move:"touchmove",end:"touchend"},[D.keyboard]:{keydown:"keydown"}};class M{profile(){var t;return{sourceNodes:this.sourceNodes.size,sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,targetNodes:this.targetNodes.size,dragOverTargetIds:(null===(t=this.dragOverTargetIds)||void 0===t?void 0:t.length)||0}}get document(){return this.options.document}setup(){const t=this.options.rootElement;t&&((0,T.V)(!M.isSetUp,"Cannot have two Touch backends at the same time."),M.isSetUp=!0,this.addEventListener(t,"start",this.getTopMoveStartHandler()),this.addEventListener(t,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(t,"move",this.handleTopMove),this.addEventListener(t,"move",this.handleTopMoveCapture,!0),this.addEventListener(t,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.addEventListener(t,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.addEventListener(t,"keydown",this.handleCancelOnEscape,!0))}teardown(){const t=this.options.rootElement;t&&(M.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(t,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(t,"start",this.handleTopMoveStart),this.removeEventListener(t,"move",this.handleTopMoveCapture,!0),this.removeEventListener(t,"move",this.handleTopMove),this.removeEventListener(t,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.removeEventListener(t,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.removeEventListener(t,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}addEventListener(t,e,r,n=!1){const o=_?{capture:n,passive:!1}:n;this.listenerTypes.forEach((function(n){const i=A[n][e];i&&t.addEventListener(i,r,o)}))}removeEventListener(t,e,r,n=!1){const o=_?{capture:n,passive:!1}:n;this.listenerTypes.forEach((function(n){const i=A[n][e];i&&t.removeEventListener(i,r,o)}))}connectDragSource(t,e){const r=this.handleMoveStart.bind(this,t);return this.sourceNodes.set(t,e),this.addEventListener(e,"start",r),()=>{this.sourceNodes.delete(t),this.removeEventListener(e,"start",r)}}connectDragPreview(t,e,r){return this.sourcePreviewNodeOptions.set(t,r),this.sourcePreviewNodes.set(t,e),()=>{this.sourcePreviewNodes.delete(t),this.sourcePreviewNodeOptions.delete(t)}}connectDropTarget(t,e){const r=this.options.rootElement;if(!this.document||!r)return()=>{};const n=n=>{if(!this.document||!r||!this.monitor.isDragging())return;let o;switch(n.type){case A.mouse.move:o={x:n.clientX,y:n.clientY};break;case A.touch.move:var i,a;o={x:(null===(i=n.touches[0])||void 0===i?void 0:i.clientX)||0,y:(null===(a=n.touches[0])||void 0===a?void 0:a.clientY)||0}}const s=null!=o?this.document.elementFromPoint(o.x,o.y):void 0,u=s&&e.contains(s);return s===e||u?this.handleMove(n,t):void 0};return this.addEventListener(this.document.body,"move",n),this.targetNodes.set(t,e),()=>{this.document&&(this.targetNodes.delete(t),this.removeEventListener(this.document.body,"move",n))}}getTopMoveStartHandler(){return this.options.delayTouchStart||this.options.delayMouseStart?this.handleTopMoveStartDelay:this.handleTopMoveStart}installSourceNodeRemovalObserver(t){this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=t,this.draggedSourceNodeRemovalObserver=new MutationObserver((()=>{t&&!t.parentElement&&(this.resurrectSourceNode(),this.uninstallSourceNodeRemovalObserver())})),t&&t.parentElement&&this.draggedSourceNodeRemovalObserver.observe(t.parentElement,{childList:!0})}resurrectSourceNode(){this.document&&this.draggedSourceNode&&(this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),this.document.body.appendChild(this.draggedSourceNode))}uninstallSourceNodeRemovalObserver(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=void 0,this.draggedSourceNode=void 0}constructor(t,e,r){this.getSourceClientOffset=t=>{const e=this.sourceNodes.get(t);return e&&function(t){const e=1===t.nodeType?t:t.parentElement;if(!e)return;const{top:r,left:n}=e.getBoundingClientRect();return{x:n,y:r}}(e)},this.handleTopMoveStartCapture=t=>{k(t)&&(this.moveStartSourceIds=[])},this.handleMoveStart=t=>{Array.isArray(this.moveStartSourceIds)&&this.moveStartSourceIds.unshift(t)},this.handleTopMoveStart=t=>{if(!k(t))return;const e=N(t);e&&(j(t)&&(this.lastTargetTouchFallback=t.targetTouches[0]),this._mouseClientOffset=e),this.waitingForDelay=!1},this.handleTopMoveStartDelay=t=>{if(!k(t))return;const e=t.type===A.touch.start?this.options.delayTouchStart:this.options.delayMouseStart;this.timeout=setTimeout(this.handleTopMoveStart.bind(this,t),e),this.waitingForDelay=!0},this.handleTopMoveCapture=()=>{this.dragOverTargetIds=[]},this.handleMove=(t,e)=>{this.dragOverTargetIds&&this.dragOverTargetIds.unshift(e)},this.handleTopMove=t=>{if(this.timeout&&clearTimeout(this.timeout),!this.document||this.waitingForDelay)return;const{moveStartSourceIds:e,dragOverTargetIds:r}=this,n=this.options.enableHoverOutsideTarget,o=N(t,this.lastTargetTouchFallback);if(!o)return;if(this._isScrolling||!this.monitor.isDragging()&&function(t,e,r,n,o){if(!o)return!1;const i=180*Math.atan2(n-e,r-t)/Math.PI+180;for(let t=0;t=e.start)&&(null==e.end||i<=e.end))return!0}return!1}(this._mouseClientOffset.x||0,this._mouseClientOffset.y||0,o.x,o.y,this.options.scrollAngleRanges))return void(this._isScrolling=!0);var i,a,s,u;if(!this.monitor.isDragging()&&this._mouseClientOffset.hasOwnProperty("x")&&e&&(i=this._mouseClientOffset.x||0,a=this._mouseClientOffset.y||0,s=o.x,u=o.y,Math.sqrt(Math.pow(Math.abs(s-i),2)+Math.pow(Math.abs(u-a),2))>(this.options.touchSlop?this.options.touchSlop:0))&&(this.moveStartSourceIds=void 0,this.actions.beginDrag(e,{clientOffset:this._mouseClientOffset,getSourceClientOffset:this.getSourceClientOffset,publishSource:!1})),!this.monitor.isDragging())return;const c=this.sourceNodes.get(this.monitor.getSourceId());this.installSourceNodeRemovalObserver(c),this.actions.publishDragSource(),t.cancelable&&t.preventDefault();const l=(r||[]).map((t=>this.targetNodes.get(t))).filter((t=>!!t)),f=this.options.getDropTargetElementsAtPoint?this.options.getDropTargetElementsAtPoint(o.x,o.y,l):this.document.elementsFromPoint(o.x,o.y),d=[];for(const t in f){if(!f.hasOwnProperty(t))continue;let e=f[t];for(null!=e&&d.push(e);e;)e=e.parentElement,e&&-1===d.indexOf(e)&&d.push(e)}const p=d.filter((t=>l.indexOf(t)>-1)).map((t=>this._getDropTargetId(t))).filter((t=>!!t)).filter(((t,e,r)=>r.indexOf(t)===e));if(n)for(const t in this.targetNodes){const e=this.targetNodes.get(t);if(c&&e&&e.contains(c)&&-1===p.indexOf(t)){p.unshift(t);break}}p.reverse(),this.actions.hover(p,{clientOffset:o})},this._getDropTargetId=t=>{const e=this.targetNodes.keys();let r=e.next();for(;!1===r.done;){const n=r.value;if(t===this.targetNodes.get(n))return n;r=e.next()}},this.handleTopMoveEndCapture=t=>{this._isScrolling=!1,this.lastTargetTouchFallback=void 0,function(t){return void 0===t.buttons||!(t.buttons&P)}(t)&&(this.monitor.isDragging()&&!this.monitor.didDrop()?(t.cancelable&&t.preventDefault(),this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.drop(),this.actions.endDrag()):this.moveStartSourceIds=void 0)},this.handleCancelOnEscape=t=>{"Escape"===t.key&&this.monitor.isDragging()&&(this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.endDrag())},this.options=new C(r,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.sourceNodes=new Map,this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.targetNodes=new Map,this.listenerTypes=[],this._mouseClientOffset={},this._isScrolling=!1,this.options.enableMouseEvents&&this.listenerTypes.push(D.mouse),this.options.enableTouchEvents&&this.listenerTypes.push(D.touch),this.options.enableKeyboardEvents&&this.listenerTypes.push(D.keyboard)}}var R=r(96472),L={backends:[{id:"html5",backend:function(t,e,r){return new S(t,e,r)},transition:R.nf},{id:"touch",backend:function(t,e={},r={}){return new M(t,e,r)},options:{enableMouseEvents:!0},preview:!0,transition:R.lr}]}},93492:function(t,e,r){"use strict";r.r(e),r.d(e,{DndProvider:function(){return m},HTML5DragTransition:function(){return n.Ik},MouseTransition:function(){return n.v8},MultiBackend:function(){return n.U2},PointerTransition:function(){return n.nf},Preview:function(){return w},PreviewContext:function(){return d},TouchTransition:function(){return n.lr},createTransition:function(){return n.eV},useMultiDrag:function(){return x},useMultiDrop:function(){return S},usePreview:function(){return D}});var n=r(96472),o=r(26322),i=r(99622),a=r(63987),s=r(86238),u=(t,e)=>({x:t.x-e.x,y:t.y-e.y}),c=(t,e)=>{let r=t.getClientOffset();if(null===r)return null;if(!e.current||!e.current.getBoundingClientRect)return u(r,(t=>{let e=t.getInitialClientOffset(),r=t.getInitialSourceClientOffset();return null===e||null===r?{x:0,y:0}:u(e,r)})(t));let n=e.current.getBoundingClientRect(),o={x:n.width/2,y:n.height/2};return u(r,o)},l=t=>{let e=`translate(${t.x.toFixed(1)}px, ${t.y.toFixed(1)}px)`;return{pointerEvents:"none",position:"fixed",top:0,left:0,transform:e,WebkitTransform:e}},f=()=>{let t=(0,o.useRef)(null),e=(0,s.V)((e=>({currentOffset:c(e,t),isDragging:e.isDragging(),itemType:e.getItemType(),item:e.getItem(),monitor:e})));return e.isDragging&&null!==e.currentOffset?{display:!0,itemType:e.itemType,item:e.item,style:l(e.currentOffset),monitor:e.monitor,ref:t}:{display:!1}},d=(0,o.createContext)(void 0),p=t=>{let e=f();if(!e.display)return null;let r,{display:n,...i}=e;return r="children"in t?"function"==typeof t.children?t.children(i):t.children:t.generator(i),o.createElement(d.Provider,{value:i},r)},h=r(91644),g=r(9102),v=r(88771),y=(0,o.createContext)(null),m=({portal:t,...e})=>{let[r,a]=(0,o.useState)(null);return o.createElement(y.Provider,{value:t??r},o.createElement(i.Q,{backend:n.U2,...e}),t?null:o.createElement("div",{ref:a}))},b=()=>{let[t,e]=(0,o.useState)(!1),r=(0,o.useContext)(h.M);return(0,o.useEffect)((()=>{let t=r?.dragDropManager?.getBackend(),n={backendChanged:t=>{e(t.previewEnabled())}};return e(t.previewEnabled()),t.previewsList().register(n),()=>{t.previewsList().unregister(n)}}),[r,r.dragDropManager]),t},w=t=>{let e=b(),r=(0,o.useContext)(y);if(!e)return null;let n=o.createElement(p,{...t});return null!==r?(0,a.createPortal)(n,r):n};w.Context=d;var O=(t,e,r,n)=>{let o=r.getBackend();r.receiveBackend(n);let i=e(t);return r.receiveBackend(o),i},E=(t,e)=>{let r=(0,o.useContext)(h.M),n=r?.dragDropManager?.getBackend();if(void 0===n)throw new Error("could not find backend, make sure you are using a ");let i=e(t),a={},s=n.backendsList();for(let n of s)a[n.id]=O(t,e,r.dragDropManager,n.instance);return[i,a]},x=t=>E(t,g.i),S=t=>E(t,v.H),D=()=>{let t=b(),e=f();return t?e:{display:!1}}},91644:function(t,e,r){"use strict";r.d(e,{M:function(){return n}});const n=(0,r(26322).createContext)({dragDropManager:void 0})},99622:function(t,e,r){"use strict";r.d(e,{Q:function(){return yt}});var n=r(73146);function o(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var i="function"==typeof Symbol&&Symbol.observable||"@@observable",a=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function u(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function c(t,e,r){var n;if("function"==typeof e&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(o(0));if("function"==typeof e&&void 0===r&&(r=e,e=void 0),void 0!==r){if("function"!=typeof r)throw new Error(o(1));return r(c)(t,e)}if("function"!=typeof t)throw new Error(o(2));var a=t,l=e,f=[],d=f,p=!1;function h(){d===f&&(d=f.slice())}function g(){if(p)throw new Error(o(3));return l}function v(t){if("function"!=typeof t)throw new Error(o(4));if(p)throw new Error(o(5));var e=!0;return h(),d.push(t),function(){if(e){if(p)throw new Error(o(6));e=!1,h();var r=d.indexOf(t);d.splice(r,1),f=null}}}function y(t){if(!u(t))throw new Error(o(7));if(void 0===t.type)throw new Error(o(8));if(p)throw new Error(o(9));try{p=!0,l=a(l,t)}finally{p=!1}for(var e=f=d,r=0;r=0;n--)if(e.canDragSource(t[n])){r=t[n];break}return r}(e,a);if(null==u)return void t.dispatch(b);let c=null;if(o){if(!i)throw new Error("getSourceClientOffset must be defined");!function(t){(0,l.V)("function"==typeof t,"When clientOffset is provided, getSourceClientOffset must be a function.")}(i),c=i(u)}t.dispatch(m(o,c));const d=s.getSource(u).beginDrag(a,u);if(null==d)return;!function(t){(0,l.V)(f(t),"Item must be an object.")}(d),s.pinSource(u);const h=s.getSourceType(u);return{type:p,payload:{itemType:h,item:d,sourceId:u,clientOffset:o||null,sourceClientOffset:c||null,isSourcePublic:!!n}}}}function O(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function E(t){for(var e=1;e{const a=function(t,e,r,n){const o=r.getTarget(t);let i=o?o.drop(n,t):void 0;(function(t){(0,l.V)(void 0===t||f(t),"Drop result must either be an object or undefined.")})(i),void 0===i&&(i=0===e?{}:n.getDropResult());return i}(o,i,n,r),s={type:v,payload:{dropResult:E({},e,a)}};t.dispatch(s)}))}}function S(t){return function(){const e=t.getMonitor(),r=t.getRegistry();!function(t){(0,l.V)(t.isDragging(),"Cannot call endDrag while not dragging.")}(e);const n=e.getSourceId();if(null!=n){r.getSource(n,!0).endDrag(e,n),r.unpinSource()}return{type:y}}}function D(t,e){return null===e?null===t:Array.isArray(t)?t.some((t=>t===e)):t===e}function T(t){return function(e,{clientOffset:r}={}){!function(t){(0,l.V)(Array.isArray(t),"Expected targetIds to be an array.")}(e);const n=e.slice(0),o=t.getMonitor(),i=t.getRegistry();return function(t,e,r){for(let n=t.length-1;n>=0;n--){const o=t[n];D(e.getTargetType(o),r)||t.splice(n,1)}}(n,i,o.getItemType()),function(t,e,r){(0,l.V)(e.isDragging(),"Cannot call hover while not dragging."),(0,l.V)(!e.didDrop(),"Cannot call hover after drop.");for(let e=0;e{const i=r[o];var a;return n[o]=(a=i,(...r)=>{const n=a.apply(t,r);void 0!==n&&e(n)}),n}),{})}dispatch(t){this.store.dispatch(t)}constructor(t,e){this.isSetUp=!1,this.handleRefCountChange=()=>{const t=this.store.getState().refCount>0;this.backend&&(t&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!t&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=t,this.monitor=e,t.subscribe(this.handleRefCountChange)}}function I(t,e){return{x:t.x-e.x,y:t.y-e.y}}const k=[],j=[];k.__IS_NONE__=!0,j.__IS_ALL__=!0;class N{subscribeToStateChange(t,e={}){const{handlerIds:r}=e;(0,l.V)("function"==typeof t,"listener must be a function."),(0,l.V)(void 0===r||Array.isArray(r),"handlerIds, when specified, must be an array of strings.");let n=this.store.getState().stateId;return this.store.subscribe((()=>{const e=this.store.getState(),o=e.stateId;try{const i=o===n||o===n+1&&!function(t,e){return t!==k&&(t===j||void 0===e||(r=t,e.filter((t=>r.indexOf(t)>-1))).length>0);var r}(e.dirtyHandlerIds,r);i||t()}finally{n=o}}))}subscribeToOffsetChange(t){(0,l.V)("function"==typeof t,"listener must be a function.");let e=this.store.getState().dragOffset;return this.store.subscribe((()=>{const r=this.store.getState().dragOffset;r!==e&&(e=r,t())}))}canDragSource(t){if(!t)return!1;const e=this.registry.getSource(t);return(0,l.V)(e,`Expected to find a valid source. sourceId=${t}`),!this.isDragging()&&e.canDrag(this,t)}canDropOnTarget(t){if(!t)return!1;const e=this.registry.getTarget(t);if((0,l.V)(e,`Expected to find a valid target. targetId=${t}`),!this.isDragging()||this.didDrop())return!1;return D(this.registry.getTargetType(t),this.getItemType())&&e.canDrop(this,t)}isDragging(){return Boolean(this.getItemType())}isDraggingSource(t){if(!t)return!1;const e=this.registry.getSource(t,!0);if((0,l.V)(e,`Expected to find a valid source. sourceId=${t}`),!this.isDragging()||!this.isSourcePublic())return!1;return this.registry.getSourceType(t)===this.getItemType()&&e.isDragging(this,t)}isOverTarget(t,e={shallow:!1}){if(!t)return!1;const{shallow:r}=e;if(!this.isDragging())return!1;const n=this.registry.getTargetType(t),o=this.getItemType();if(o&&!D(n,o))return!1;const i=this.getTargetIds();if(!i.length)return!1;const a=i.indexOf(t);return r?a===i.length-1:a>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return Boolean(this.store.getState().dragOperation.isSourcePublic)}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(t){const{clientOffset:e,initialClientOffset:r,initialSourceClientOffset:n}=t;return e&&r&&n?I((i=n,{x:(o=e).x+i.x,y:o.y+i.y}),r):null;var o,i}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return function(t){const{clientOffset:e,initialClientOffset:r}=t;return e&&r?I(e,r):null}(this.store.getState().dragOffset)}constructor(t,e){this.store=t,this.registry=e}}const _="undefined"!=typeof global?global:self,A=_.MutationObserver||_.WebKitMutationObserver;function M(t){return function(){const e=setTimeout(n,0),r=setInterval(n,50);function n(){clearTimeout(e),clearInterval(r),t()}}}const R="function"==typeof A?function(t){let e=1;const r=new A(t),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){e=-e,n.data=e}}:M;class L{call(){try{this.task&&this.task()}catch(t){this.onError(t)}finally{this.task=null,this.release(this)}}constructor(t,e){this.onError=t,this.release=e,this.task=null}}const F=new class{enqueueTask(t){const{queue:e,requestFlush:r}=this;e.length||(r(),this.flushing=!0),e[e.length]=t}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:t}=this;for(;this.indexthis.capacity){for(let e=0,r=t.length-this.index;e{this.pendingErrors.push(t),this.requestErrorThrow()},this.requestFlush=R(this.flush),this.requestErrorThrow=M((()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()}))}},H=new class{create(t){const e=this.freeTasks,r=e.length?e.pop():new L(this.onError,(t=>e[e.length]=t));return r.task=t,r}constructor(t){this.onError=t,this.freeTasks=[]}}(F.registerPendingError);const B="dnd-core/ADD_SOURCE",q="dnd-core/ADD_TARGET",z="dnd-core/REMOVE_SOURCE",U="dnd-core/REMOVE_TARGET";function $(t,e){e&&Array.isArray(t)?t.forEach((t=>$(t,!1))):(0,l.V)("string"==typeof t||"symbol"==typeof t,e?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var V;!function(t){t.SOURCE="SOURCE",t.TARGET="TARGET"}(V||(V={}));let W=0;function Y(t){const e=(W++).toString();switch(t){case V.SOURCE:return`S${e}`;case V.TARGET:return`T${e}`;default:throw new Error(`Unknown Handler Role: ${t}`)}}function G(t){switch(t[0]){case"S":return V.SOURCE;case"T":return V.TARGET;default:throw new Error(`Cannot parse handler ID: ${t}`)}}function K(t,e){const r=t.entries();let n=!1;do{const{done:t,value:[,o]}=r.next();if(o===e)return!0;n=!!t}while(!n);return!1}class X{addSource(t,e){$(t),function(t){(0,l.V)("function"==typeof t.canDrag,"Expected canDrag to be a function."),(0,l.V)("function"==typeof t.beginDrag,"Expected beginDrag to be a function."),(0,l.V)("function"==typeof t.endDrag,"Expected endDrag to be a function.")}(e);const r=this.addHandler(V.SOURCE,t,e);return this.store.dispatch(function(t){return{type:B,payload:{sourceId:t}}}(r)),r}addTarget(t,e){$(t,!0),function(t){(0,l.V)("function"==typeof t.canDrop,"Expected canDrop to be a function."),(0,l.V)("function"==typeof t.hover,"Expected hover to be a function."),(0,l.V)("function"==typeof t.drop,"Expected beginDrag to be a function.")}(e);const r=this.addHandler(V.TARGET,t,e);return this.store.dispatch(function(t){return{type:q,payload:{targetId:t}}}(r)),r}containsHandler(t){return K(this.dragSources,t)||K(this.dropTargets,t)}getSource(t,e=!1){(0,l.V)(this.isSourceId(t),"Expected a valid source ID.");return e&&t===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(t)}getTarget(t){return(0,l.V)(this.isTargetId(t),"Expected a valid target ID."),this.dropTargets.get(t)}getSourceType(t){return(0,l.V)(this.isSourceId(t),"Expected a valid source ID."),this.types.get(t)}getTargetType(t){return(0,l.V)(this.isTargetId(t),"Expected a valid target ID."),this.types.get(t)}isSourceId(t){return G(t)===V.SOURCE}isTargetId(t){return G(t)===V.TARGET}removeSource(t){var e;(0,l.V)(this.getSource(t),"Expected an existing source."),this.store.dispatch(function(t){return{type:z,payload:{sourceId:t}}}(t)),e=()=>{this.dragSources.delete(t),this.types.delete(t)},F.enqueueTask(H.create(e))}removeTarget(t){(0,l.V)(this.getTarget(t),"Expected an existing target."),this.store.dispatch(function(t){return{type:U,payload:{targetId:t}}}(t)),this.dropTargets.delete(t),this.types.delete(t)}pinSource(t){const e=this.getSource(t);(0,l.V)(e,"Expected an existing source."),this.pinnedSourceId=t,this.pinnedSource=e}unpinSource(){(0,l.V)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(t,e,r){const n=Y(t);return this.types.set(n,e),t===V.SOURCE?this.dragSources.set(n,r):t===V.TARGET&&this.dropTargets.set(n,r),n}constructor(t){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=t}}const J=(t,e)=>t===e;function Z(t=k,e){switch(e.type){case g:break;case B:case q:case U:case z:return k;default:return j}const{targetIds:r=[],prevTargetIds:n=[]}=e.payload,o=function(t,e){const r=new Map,n=t=>{r.set(t,r.has(t)?r.get(t)+1:1)};t.forEach(n),e.forEach(n);const o=[];return r.forEach(((t,e)=>{1===t&&o.push(e)})),o}(r,n);if(!(o.length>0||!function(t,e,r=J){if(t.length!==e.length)return!1;for(let n=0;nt!==o)))});case v:return nt({},t,{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case y:return nt({},t,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return t}var n,o}function at(t=0,e){switch(e.type){case B:case q:return t+1;case z:case U:return t-1;default:return t}}function st(t=0){return t+1}function ut(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ct(t){for(var e=1;et&&t[e]?t[e]:o||null),r))})}),dragOffset:et(t.dragOffset,e),refCount:at(t.refCount,e),dragOperation:it(t.dragOperation,e),stateId:st(t.stateId)};var r,n,o}function ft(t,e=void 0,r={},n=!1){const o=function(t){const e="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return c(lt,t&&e&&e({name:"dnd-core",instanceId:"dnd-core"}))}(n),i=new N(o,new X(o)),a=new P(o,i),s=t(a,e,r);return a.receiveBackend(s),a}var dt=r(26322),pt=r(91644);function ht(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}let gt=0;const vt=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var yt=(0,dt.memo)((function(t){var{children:e}=t,r=ht(t,["children"]);const[o,i]=function(t){if("manager"in t){return[{dragDropManager:t.manager},!1]}const e=function(t,e=mt(),r,n){const o=e;o[vt]||(o[vt]={dragDropManager:ft(t,e,r,n)});return o[vt]}(t.backend,t.context,t.options,t.debugMode),r=!t.context;return[e,r]}(r);return(0,dt.useEffect)((()=>{if(i){const t=mt();return++gt,()=>{0==--gt&&(t[vt]=null)}}}),[]),(0,n.jsx)(pt.M.Provider,{value:o,children:e})}));function mt(){return"undefined"!=typeof global?global:window}},46156:function(t,e,r){"use strict";r.d(e,{j:function(){return i}});var n=r(25342),o=r(22283);function i(t,e,r){return function(t,e,r){const[i,a]=(0,n.F)(t,e,r);return(0,o.E)((function(){const e=t.getHandlerId();if(null!=e)return t.subscribeToStateChange(a,{handlerIds:[e]})}),[t,a]),i}(e,t||(()=>({})),(()=>r.reconnect()))}},25342:function(t,e,r){"use strict";r.d(e,{F:function(){return a}});var n=r(57567),o=r(26322),i=r(22283);function a(t,e,r){const[a,s]=(0,o.useState)((()=>e(t))),u=(0,o.useCallback)((()=>{const o=e(t);n(a,o)||(s(o),r&&r())}),[a,t,r]);return(0,i.E)(u),[a,u]}},9102:function(t,e,r){"use strict";r.d(e,{i:function(){return O}});var n=r(4384),o=r(46156),i=r(73823),a=r(26322);function s(t){return(0,a.useMemo)((()=>t.hooks.dragSource()),[t])}function u(t){return(0,a.useMemo)((()=>t.hooks.dragPreview()),[t])}var c=r(81954),l=r(14665),f=r(86351);class d{receiveHandlerId(t){this.handlerId!==t&&(this.handlerId=t,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(t){this.dragSourceOptionsInternal=t}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(t){this.dragPreviewOptionsInternal=t}reconnect(){const t=this.reconnectDragSource();this.reconnectDragPreview(t)}reconnectDragSource(){const t=this.dragSource,e=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return e&&this.disconnectDragSource(),this.handlerId?t?(e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=t,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,t,this.dragSourceOptions)),e):(this.lastConnectedDragSource=t,e):e}reconnectDragPreview(t=!1){const e=this.dragPreview,r=t||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();r&&this.disconnectDragPreview(),this.handlerId&&(e?r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=e,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,e,this.dragPreviewOptions)):this.lastConnectedDragPreview=e)}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!(0,c.b)(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!(0,c.b)(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(t){this.hooks=(0,f.i)({dragSource:(t,e)=>{this.clearDragSource(),this.dragSourceOptions=e||null,(0,l.i)(t)?this.dragSourceRef=t:this.dragSourceNode=t,this.reconnectDragSource()},dragPreview:(t,e)=>{this.clearDragPreview(),this.dragPreviewOptions=e||null,(0,l.i)(t)?this.dragPreviewRef=t:this.dragPreviewNode=t,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=t}}var p=r(87955),h=r(22283);let g=!1,v=!1;class y{receiveHandlerId(t){this.sourceId=t}getHandlerId(){return this.sourceId}canDrag(){(0,n.V)(!g,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return g=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{g=!1}}isDragging(){if(!this.sourceId)return!1;(0,n.V)(!v,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return v=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{v=!1}}subscribeToStateChange(t,e){return this.internalMonitor.subscribeToStateChange(t,e)}isDraggingSource(t){return this.internalMonitor.isDraggingSource(t)}isOverTarget(t,e){return this.internalMonitor.isOverTarget(t,e)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(t){return this.internalMonitor.subscribeToOffsetChange(t)}canDragSource(t){return this.internalMonitor.canDragSource(t)}canDropOnTarget(t){return this.internalMonitor.canDropOnTarget(t)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(t){this.sourceId=null,this.internalMonitor=t.getMonitor()}}var m=r(53787);class b{beginDrag(){const t=this.spec,e=this.monitor;let r=null;return r="object"==typeof t.item?t.item:"function"==typeof t.item?t.item(e):{},null!=r?r:null}canDrag(){const t=this.spec,e=this.monitor;return"boolean"==typeof t.canDrag?t.canDrag:"function"!=typeof t.canDrag||t.canDrag(e)}isDragging(t,e){const r=this.spec,n=this.monitor,{isDragging:o}=r;return o?o(n):e===t.getSourceId()}endDrag(){const t=this.spec,e=this.monitor,r=this.connector,{end:n}=t;n&&n(e.getItem(),e),r.reconnect()}constructor(t,e,r){this.spec=t,this.monitor=e,this.connector=r}}function w(t,e,r){const o=(0,p.u)(),i=function(t,e,r){const n=(0,a.useMemo)((()=>new b(t,e,r)),[e,r]);return(0,a.useEffect)((()=>{n.spec=t}),[t]),n}(t,e,r),s=function(t){return(0,a.useMemo)((()=>{const e=t.type;return(0,n.V)(null!=e,"spec.type must be defined"),e}),[t])}(t);(0,h.E)((function(){if(null!=s){const[t,n]=(0,m.V)(s,i,o);return e.receiveHandlerId(t),r.receiveHandlerId(t),n}}),[o,e,r,i,s])}function O(t,e){const r=(0,i.I)(t,e);(0,n.V)(!r.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const c=function(){const t=(0,p.u)();return(0,a.useMemo)((()=>new y(t)),[t])}(),l=function(t,e){const r=(0,p.u)(),n=(0,a.useMemo)((()=>new d(r.getBackend())),[r]);return(0,h.E)((()=>(n.dragSourceOptions=t||null,n.reconnect(),()=>n.disconnectDragSource())),[n,t]),(0,h.E)((()=>(n.dragPreviewOptions=e||null,n.reconnect(),()=>n.disconnectDragPreview())),[n,e]),n}(r.options,r.previewOptions);return w(r,c,l),[(0,o.j)(r.collect,c,l),s(l),u(l)]}},87955:function(t,e,r){"use strict";r.d(e,{u:function(){return a}});var n=r(4384),o=r(26322),i=r(91644);function a(){const{dragDropManager:t}=(0,o.useContext)(i.M);return(0,n.V)(null!=t,"Expected drag drop context"),t}},86238:function(t,e,r){"use strict";r.d(e,{V:function(){return a}});var n=r(26322),o=r(25342),i=r(87955);function a(t){const e=(0,i.u)().getMonitor(),[r,a]=(0,o.F)(e,t);return(0,n.useEffect)((()=>e.subscribeToOffsetChange(a))),(0,n.useEffect)((()=>e.subscribeToStateChange(a))),r}},88771:function(t,e,r){"use strict";r.d(e,{H:function(){return b}});var n=r(46156),o=r(73823),i=r(26322);function a(t){return(0,i.useMemo)((()=>t.hooks.dropTarget()),[t])}var s=r(81954),u=r(14665),c=r(86351);class l{get connectTarget(){return this.dropTarget}reconnect(){const t=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();t&&this.disconnectDropTarget();const e=this.dropTarget;this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=e,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,e,this.dropTargetOptions)):this.lastConnectedDropTarget=e)}receiveHandlerId(t){t!==this.handlerId&&(this.handlerId=t,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(t){this.dropTargetOptionsInternal=t}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!(0,s.b)(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(t){this.hooks=(0,c.i)({dropTarget:(t,e)=>{this.clearDropTarget(),this.dropTargetOptions=e,(0,u.i)(t)?this.dropTargetRef=t:this.dropTargetNode=t,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=t}}var f=r(87955),d=r(22283);var p=r(4384);let h=!1;class g{receiveHandlerId(t){this.targetId=t}getHandlerId(){return this.targetId}subscribeToStateChange(t,e){return this.internalMonitor.subscribeToStateChange(t,e)}canDrop(){if(!this.targetId)return!1;(0,p.V)(!h,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return h=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{h=!1}}isOver(t){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,t)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(t){this.targetId=null,this.internalMonitor=t.getMonitor()}}var v=r(53787);class y{canDrop(){const t=this.spec,e=this.monitor;return!t.canDrop||t.canDrop(e.getItem(),e)}hover(){const t=this.spec,e=this.monitor;t.hover&&t.hover(e.getItem(),e)}drop(){const t=this.spec,e=this.monitor;if(t.drop)return t.drop(e.getItem(),e)}constructor(t,e){this.spec=t,this.monitor=e}}function m(t,e,r){const n=(0,f.u)(),o=function(t,e){const r=(0,i.useMemo)((()=>new y(t,e)),[e]);return(0,i.useEffect)((()=>{r.spec=t}),[t]),r}(t,e),a=function(t){const{accept:e}=t;return(0,i.useMemo)((()=>((0,p.V)(null!=t.accept,"accept must be defined"),Array.isArray(e)?e:[e])),[e])}(t);(0,d.E)((function(){const[t,i]=(0,v.l)(a,o,n);return e.receiveHandlerId(t),r.receiveHandlerId(t),i}),[n,e,o,r,a.map((t=>t.toString())).join("|")])}function b(t,e){const r=(0,o.I)(t,e),s=function(){const t=(0,f.u)();return(0,i.useMemo)((()=>new g(t)),[t])}(),u=function(t){const e=(0,f.u)(),r=(0,i.useMemo)((()=>new l(e.getBackend())),[e]);return(0,d.E)((()=>(r.dropTargetOptions=t||null,r.reconnect(),()=>r.disconnectDropTarget())),[t]),r}(r.options);return m(r,s,u),[(0,n.j)(r.collect,s,u),a(u)]}},22283:function(t,e,r){"use strict";r.d(e,{E:function(){return o}});var n=r(26322);const o="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},73823:function(t,e,r){"use strict";r.d(e,{I:function(){return o}});var n=r(26322);function o(t,e){const r=[...e||[]];return null==e&&"function"!=typeof t&&r.push(t),(0,n.useMemo)((()=>"function"==typeof t?t():t),r)}},29033:function(t,e,r){"use strict";r.r(e),r.d(e,{DndContext:function(){return n.M},DndProvider:function(){return o.Q},DragPreviewImage:function(){return a},useDrag:function(){return s.i},useDragDropManager:function(){return u.u},useDragLayer:function(){return c.V},useDrop:function(){return l.H}});var n=r(91644),o=r(99622),i=r(26322);const a=(0,i.memo)((function({connect:t,src:e}){return(0,i.useEffect)((()=>{if("undefined"==typeof Image)return;let r=!1;const n=new Image;return n.src=e,n.onload=()=>{t(n),r=!0},()=>{r&&t(null)}})),null}));var s=r(9102),u=r(87955),c=r(86238),l=r(88771)},14665:function(t,e,r){"use strict";function n(t){return null!==t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}r.d(e,{i:function(){return n}})},53787:function(t,e,r){"use strict";function n(t,e,r){const n=r.getRegistry(),o=n.addTarget(t,e);return[o,()=>n.removeTarget(o)]}function o(t,e,r){const n=r.getRegistry(),o=n.addSource(t,e);return[o,()=>n.removeSource(o)]}r.d(e,{V:function(){return o},l:function(){return n}})},86351:function(t,e,r){"use strict";r.d(e,{i:function(){return a}});var n=r(4384),o=r(26322);function i(t){return(e=null,r=null)=>{if(!(0,o.isValidElement)(e)){const n=e;return t(n,r),n}const i=e;!function(t){if("string"==typeof t.type)return;const e=t.type.displayName||t.type.name||"the component";throw new Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${e} into a
, or turn it into a drag source or a drop target itself.`)}(i);return function(t,e){const r=t.ref;return(0,n.V)("string"!=typeof r,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a or
. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),r?(0,o.cloneElement)(t,{ref:t=>{s(r,t),s(e,t)}}):(0,o.cloneElement)(t,{ref:e})}(i,r?e=>t(e,r):t)}}function a(t){const e={};return Object.keys(t).forEach((r=>{const n=t[r];if(r.endsWith("Ref"))e[r]=t[r];else{const t=i(n);e[r]=()=>t}})),e}function s(t,e){"function"==typeof t?t(e):t.current=e}},95365:function(t,e,r){"use strict";r.d(e,{A:function(){return i}});var n=!0,o="Invariant failed";function i(t,e){if(!t){if(n)throw new Error(o);var r="function"==typeof e?e():e,i=r?"".concat(o,": ").concat(r):o;throw new Error(i)}}}}]); \ No newline at end of file diff --git a/assets/js/dist/vendor-components.3af577c99a5e10ed49d3.min.js b/assets/js/dist/vendor-components.3af577c99a5e10ed49d3.min.js deleted file mode 100644 index da9cce6..0000000 --- a/assets/js/dist/vendor-components.3af577c99a5e10ed49d3.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgravitysmtp=self.webpackChunkgravitysmtp||[]).push([[2666],{30242:function(e,t,r){var o=r(88856),a=r(97867),n=r(71376);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function i(e){for(var t=1;t0),"gform-icon--preset-active",v.length>0),"gform-icon-preset--".concat(v),v.length>0),(0,n.Rh)(P)),u),ref:t},p);return a.React.createElement("span",T,c)}));p.propTypes={children:a.PropTypes.oneOfType([a.PropTypes.arrayOf(a.PropTypes.node),a.PropTypes.node]),customAttributes:a.PropTypes.object,customClasses:a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.array,a.PropTypes.object]),icon:a.PropTypes.string,iconPrefix:a.PropTypes.string,spacing:a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.number,a.PropTypes.array,a.PropTypes.object])},p.displayName="Icon",t.A=p},79210:function(e,t,r){var o=r(58449),a=r(88856),n=r(97867),c=r(71376),i=["customClasses"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function l(e){for(var t=1;t0,xe=f(f({},he),{},{className:(0,c.classnames)(f(f((0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)({"gform-input-wrapper":!0},"gform-input-wrapper--theme-".concat(de),!0),"gform-input-wrapper--input",!0),"gform-input-wrapper--with-action",_e),"gform-input-wrapper--clearable",b),"gform-input-wrapper--disabled",_),(0,i.Rh)(ie)),{},(0,a.A)((0,a.A)((0,a.A)({"gform-input-wrapper--required":te},"gform-input-wrapper--border-".concat(h),!0),"gform-input-wrapper--with-icon",je),"gform-input-wrapper--text-security-".concat(le),"password"!==me&&"none"!==le)),be),ref:t}),ke=f(f({},w),{},{className:(0,c.classnames)((0,a.A)((0,a.A)({"gform-input":!0,"gform-typography--size-text-sm":"cosmos"===de},"gform-input--".concat(ne),!0),"gform-input--".concat(me),!0),A),disabled:_||!0===(null==L?void 0:L.locked),id:Ee,name:V,onBlur:z,onKeyDown:Y,onChange:function(e){var t=e.target.value;we(t),U(t,e)},onFocus:J,type:me,value:Oe});X&&(ke.placeholder=X),k.content&&(ke["aria-describedby"]=Ae),te&&(ke.required=!0);var Be=f(f({},L),{},{htmlFor:Ee}),Se=f(f({},k),{},{id:Ae}),Ze=f({customClasses:(0,c.classnames)(["gform-input-help-text--required"]),id:Ae},oe),Me=f(f({},M),{},{customClasses:(0,c.classnames)(["gform-input__icon"],M.customClasses||[])}),De=f(f({icon:"circle-close",type:"unstyled"},T),{},{customClasses:(0,c.classnames)(["gform-input__clearable-button"],T.customClasses||[])}),Ne=f(f({iconPosition:"leading",type:"white"},m),{},{customClasses:(0,c.classnames)(["gform-input__action-button"],m.customClasses||[]),onClick:function(e){m.onClick&&m.onClick(e,Oe)}}),Fe=Te;return c.React.createElement(Fe,xe,c.React.createElement(p.A,Be),te&&c.React.createElement(d.A,Ze),"above"===S&&c.React.createElement(d.A,Se),c.React.createElement(s.e7,{condition:_e,wrapper:function(e){return c.React.createElement("div",{className:"gform-input__action-wrapper"},e,c.React.createElement(l.A,Ne))}},c.React.createElement(s.e7,{condition:je,wrapper:function(e){return c.React.createElement("div",{className:"gform-input__wrapper"},e)}},c.React.createElement("input",ke),je&&c.React.createElement(u.A,Me),b&&Oe&&c.React.createElement(l.A,(0,o.A)({},De,{onClick:function(){we(""),q()}})))),"below"===S&&c.React.createElement(d.A,Se))}));g.propTypes={borderStyle:c.PropTypes.string,clearable:c.PropTypes.bool,clearableButtonAttributes:c.PropTypes.object,controlled:c.PropTypes.bool,customAttributes:c.PropTypes.object,customClasses:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.array,c.PropTypes.object]),disabled:c.PropTypes.bool,helpTextAttributes:c.PropTypes.object,helpTextPosition:c.PropTypes.string,iconAttributes:c.PropTypes.object,id:c.PropTypes.string,labelAttributes:c.PropTypes.object,name:c.PropTypes.string,onBlur:c.PropTypes.func,onChange:c.PropTypes.func,onClear:c.PropTypes.func,onKeyDown:c.PropTypes.func,onFocus:c.PropTypes.func,placeholder:c.PropTypes.string,required:c.PropTypes.bool,requiredLabel:c.PropTypes.object,size:c.PropTypes.string,spacing:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.number,c.PropTypes.array,c.PropTypes.object]),textSecurity:c.PropTypes.string,theme:c.PropTypes.string,type:c.PropTypes.string,value:c.PropTypes.string,wrapperAttributes:c.PropTypes.object,wrapperClasses:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.array,c.PropTypes.object]),wrapperTagName:c.PropTypes.string},g.displayName="Input",t.A=g},81145:function(e,t,r){r.d(t,{A:function(){return O}});var o=r(88856),a=r(97867),n=r(71376),c=r(71860),i=r(58449),s=r(8140),l=r(25980),p=r(66598),d=["customClasses"];function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function m(e){for(var t=1;t0&&(i+=r*t),o>0&&(i+=o*t),a>0&&(i+=a*e),n>0&&(i+=n*e),a>0&&r>0&&(i-=a*r),a>0&&o>0&&(i-=a*o),n>0&&r>0&&(i-=n*r),n>0&&o>0&&(i-=n*o),(c-i)/c},Oe=function(e,t,r,o,a){var n,c,i,s,l,p,d=o.innerWidth,u=o.innerHeight,m=a-r.top,f=r.bottom-(u-a),y=a-r.left,g=r.right-(d-a);switch(e){case"top":switch(t){case"top":return!0;case"bottom":i=a-(n=r.bottom+44),s=n+r.height-(u-a),l=y,p=g;break;case"left":i=a-(n=r.bottom+v+8-r.height/2),s=n+r.height-(u-a),l=a-(c=r.left+r.width/2-8-v-r.width),p=c+r.width-(d-a);break;case"right":i=a-(n=r.bottom+v+8-r.height/2),s=n+r.height-(u-a),l=a-(c=r.left+r.width/2+8+v),p=c+r.width-(d-a);break;default:return!1}break;case"bottom":switch(t){case"top":i=a-(n=r.top-44-r.height),s=n+r.height-(u-a),l=y,p=g;break;case"bottom":return!0;case"left":i=a-(n=r.top-v-8-r.height/2),s=n+r.height-(u-a),l=a-(c=r.left+r.width/2-8-v-r.width),p=c+r.width-(d-a);break;case"right":i=a-(n=r.top-v-8-r.height/2),s=n+r.height-(u-a),l=a-(c=r.left+r.width/2+8+v),p=c+r.width-(d-a);break;default:return!1}break;case"left":switch(t){case"top":i=a-(n=r.top+r.height/2-8-v-r.height),s=n+r.height-(u-a),l=a-(c=r.right+v+8-r.width/2),p=c+r.width-(d-a);break;case"bottom":i=a-(n=r.top+r.height/2+8+v),s=n+r.height-(u-a),l=a-(c=r.right+v+8-r.width/2),p=c+r.width-(d-a);break;case"left":return!0;case"right":i=m,s=f,l=a-(c=r.right+44),p=c+r.width-(d-a);break;default:return!1}break;case"right":switch(t){case"top":i=a-(n=r.top+r.height/2-8-v-r.height),s=n+r.height-(u-a),l=a-(c=r.left-v-8-r.width/2),p=c+r.width-(d-a);break;case"bottom":i=a-(n=r.top+r.height/2+8+v),s=n+r.height-(u-a),l=a-(c=r.left-v-8-r.width/2),p=c+r.width-(d-a);break;case"left":i=m,s=f,l=a-(c=r.left-44-r.width),p=c+r.width-(d-a);break;case"right":return!0;default:return!1}break;default:return!1}return Ce(r.width,r.height,l,p,i,s)},we=function(e,t,r){if(!r.current)return t;var o=r.current.getBoundingClientRect(),a=r.current.ownerDocument.defaultView,n=a.innerWidth,c=a.innerHeight,i=e-o.top,s=o.bottom-(c-e),l=e-o.left,p=o.right-(n-e),d=Ce(o.width,o.height,l,p,i,s),u={};switch(t){case"top":u.top=d,u.bottom=Oe("top","bottom",o,a,e),u.left=Oe("top","left",o,a,e),u.right=Oe("top","right",o,a,e);break;case"bottom":u.top=Oe("bottom","top",o,a,e),u.bottom=d,u.left=Oe("bottom","left",o,a,e),u.right=Oe("bottom","right",o,a,e);break;case"left":u.top=Oe("left","top",o,a,e),u.bottom=Oe("left","bottom",o,a,e),u.left=d,u.right=Oe("left","right",o,a,e);break;case"right":u.top=Oe("right","top",o,a,e),u.bottom=Oe("right","bottom",o,a,e),u.left=Oe("right","left",o,a,e),u.right=d;break;default:return t}return Object.keys(u).reduce((function(e,t){return u[t]>u[e]?t:e}),t)},Ee=function(e){var t=e.con,r=void 0===t?"":t,o=e.cAttributes,n=void 0===o?{size:"text-xs"}:o;if(!r)return null;var c=n.customClasses,s=(0,i.A)(n,d),l=m({customClasses:(0,a.classnames)(["gform-tooltip__tooltip-content"],c),color:"white",size:"text-xs"},s);return a.React.createElement(p.A,l,r)},Ae=m({className:(0,a.classnames)(m((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)({"gform-tooltip":!0},"gform-tooltip--position-".concat(ve),!0),"gform-tooltip--theme-".concat(q),!0),"gform-tooltip--type-".concat(J),!0),"gform-tooltip--initialized",!!re),"gform-tooltip--anim-in-ready",pe),"gform-tooltip--anim-in-active",pe&&fe),(0,n.Rh)(z)),A)},w),je={className:"gform-tooltip__trigger","aria-describedby":Q,onBlur:Te,onFocus:Pe,onMouseEnter:Pe,onMouseLeave:Te},_e=m({className:"gform-tooltip__tooltip",role:"tooltip",id:Q,onTransitionEnd:function(){fe||de(!1)}},Y),xe={icon:_,iconPrefix:k,preset:S},ke={};re&&(ke.width=re+"px"),L&&(ke.maxWidth=L+"px"),_e.style=ke;var Be=U;return a.React.createElement(Be,(0,c.A)({},Ae,{ref:t}),a.React.createElement("button",je,a.React.createElement(l.A,xe)),a.React.createElement("div",(0,c.A)({ref:X},_e),a.React.createElement(Ee,{con:T,cAttributes:C}),b,a.React.createElement("span",{className:"gform-tooltip__tooltip-arrow"})))}));b.propTypes={buffer:a.PropTypes.number,children:a.PropTypes.oneOfType([a.PropTypes.arrayOf(a.PropTypes.node),a.PropTypes.node]),content:a.PropTypes.string,contentAttributes:a.PropTypes.object,customAttributes:a.PropTypes.object,customClasses:a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.array,a.PropTypes.object]),icon:a.PropTypes.string,iconPrefix:a.PropTypes.string,iconPreset:a.PropTypes.string,intentDelay:a.PropTypes.number,id:a.PropTypes.string,maxWidth:a.PropTypes.number,position:a.PropTypes.string,spacing:a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.number,a.PropTypes.array,a.PropTypes.object]),theme:a.PropTypes.string,tooltipCustomAttributes:a.PropTypes.object,type:a.PropTypes.string},b.displayName="Tooltip";var P=b;function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function R(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[];return(0,l.Gv)(e)&&!(0,l.RI)(e)?Object.entries(e).map((function(t){var r=(0,n.A)(t,1)[0];return e[r]})):e}(e.choices);return r.length?c.React.createElement("optgroup",{label:e.label,key:"".concat((0,l.Yv)(e.label),"-").concat(t)},r.map((function(e,t){return se(e,t)}))):se(e,t)}));return c.React.createElement(ie,oe,c.React.createElement(i.A,ne),"above"===P&&c.React.createElement(s.A,ce),c.React.createElement("div",{className:"gform-select__wrapper"},c.React.createElement("select",ae,le)),"below"===P&&c.React.createElement(s.A,ce))}));m.propTypes={customAttributes:c.PropTypes.object,customClasses:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.array,c.PropTypes.object]),disabled:c.PropTypes.bool,helpTextAttributes:c.PropTypes.object,helpTextPosition:c.PropTypes.string,id:c.PropTypes.string,initialValue:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.number]),labelAttributes:c.PropTypes.object,name:c.PropTypes.string,onBlur:c.PropTypes.func,onChange:c.PropTypes.func,onFocus:c.PropTypes.func,options:c.PropTypes.array,size:c.PropTypes.string,spacing:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.number,c.PropTypes.array,c.PropTypes.object]),theme:c.PropTypes.string,wrapperAttributes:c.PropTypes.object,wrapperClasses:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.array,c.PropTypes.object]),wrapperTagName:c.PropTypes.string},m.displayName="Select",t.A=m},43632:function(e,t,r){var o=r(88856),a=r(97867),n=r(71376);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function i(e){for(var t=1;t=0&&(r=-(e.right+20-t)),X.current.style.marginInlineStart="".concat(r,"px")}};b((function(){if(D&&J){function e(e){X.current&&!X.current.contains(e.target)&&ee.current&&!ee.current.contains(e.target)&&Q(!1)}return ae(),document.addEventListener("mousedown",e),window.addEventListener("resize",ae),function(){document.removeEventListener("mousedown",e),window.removeEventListener("resize",ae)}}}),[D,J]);var ne=function(e){L&&H(null),K(e.view)},ce=(0,s.$N)(T,g(g({className:(0,c.classnames)(["gform-calendar__calendar"],p)},te),{},{activeStartDate:L,onActiveStartDateChange:function(e){["drillDown","drillUp"].includes(e.action)||(ne(e),te.onActiveStartDateChange(e))},onChange:function(e,t){G(e),te.onChange(e,t)},onViewChange:function(e){ne(e),te.onViewChange(e)},value:z,view:q})),ie={label:"Today",onClick:function(){var e,t=new Date,r=ce.selectRange?[(e=new Date,e.setHours(0,0,0,0),e),R()]:t;H(t),K(re),O(),ce.onChange(r),q!==re&&ce.onViewChange({action:"drillDown",activeStartDate:C(re,t),value:t,view:re})},size:"size-height-s",type:"white"},se=g({className:(0,c.classnames)("gform-calendar__trigger",Z),onClick:function(){Q(!J)},size:"size-height-m",type:"white"},B),le={className:(0,c.classnames)(g({"gform-calendar__wrapper":!0,"gform-calendar__wrapper--trigger-active":J},D?(0,s.Rh)(j):{}))},pe=D?"div":P;return c.React.createElement(pe,"div"===pe?le:{},D&&c.React.createElement(f.A,(0,o.A)({},se,{ref:ee})),c.React.createElement("div",(0,o.A)({},oe,{ref:function(e){X.current=e,"function"==typeof t?t(e):t&&(t.current=e)}}),c.React.createElement(c.ReactCalendar.Calendar,ce),E&&c.React.createElement("div",{className:"gform-calendar__footer"},c.React.createElement(f.A,ie))))}));O.propTypes={calendarAttributes:c.PropTypes.object,calendarClasses:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.array,c.PropTypes.object]),customAttributes:c.PropTypes.object,customClasses:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.array,c.PropTypes.object]),onTodayClick:c.PropTypes.func,showTodayButton:c.PropTypes.bool,spacing:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.number,c.PropTypes.array,c.PropTypes.object]),triggerActive:c.PropTypes.bool,triggerAttributes:c.PropTypes.object,triggerClasses:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.array,c.PropTypes.object]),withTrigger:c.PropTypes.bool};var w=O},42230:function(e,t,r){var o=r(71860),a=r(88856),n=r(97867),c=r(71376);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function s(e){for(var t=1;tt[ae]?"asc"===se?1:-1:0})),X)Re=y;else{var Oe=(null==te?void 0:te.currentPage)||0;Re=Ce.slice(Oe*h,(Oe+1)*h)}if(M&&Re.length0&&void 0!==arguments[0]?arguments[0]:{},t={flex:"1 0px"};if(!e||arguments.length>1&&void 0!==arguments[1]&&arguments[1])return t;var r=["flex","flexGrow","flexShrink","flexBasis"],o=Object.keys(e).filter((function(e){return r.includes(e)})).reduce((function(t,r){return t[r]=e[r],t}),{});return(0,a.A)(t,o)},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=t.reduce((function(e,t){return e[t]=!1,e}),{});return e.reduce((function(e,r){return t.includes(r.name)?c(c({},e),{},(0,o.A)({},r.name,r)):e}),r)}},48959:function(e,t,r){r.d(t,{A:function(){return P}});var o=r(71860),a=r(88856),n=r(8140),c=r(97867),i=r(71376),s=r(13296),l=r(25980);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function d(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(r){if(r.listItems){var o={depth:t,item:r,propsWithState:e};return i.React.createElement(w,(0,c.A)({key:r.key},o))}var a=(0,i.classnames)({"gform-droplist__item":!0,"gform-droplist__item--has-divider":r.hasDivider},r.customClasses||[]),n=v(v({},r.props||{}),{},{depth:t,propsWithState:e});return i.React.createElement("li",{key:r.key,className:a},i.React.createElement(O,n))}))},O=b((function(e,t){var r=e.customAttributes,o=void 0===r?{}:r,a=e.customClasses,s=void 0===a?[]:a,l=e.depth,p=void 0===l?0:l,m=e.element,f=void 0===m?"button":m,y=e.groupIcon,g=void 0===y?"":y,h=e.icon,b=void 0===h?"":h,P=e.iconAttributes,T=void 0===P?{}:P,R=e.iconClasses,C=void 0===R?[]:R,O=e.iconPrefix,w=void 0===O?"gform-icon":O,E=e.label,A=void 0===E?"":E,j=e.labelAttributes,_=void 0===j?{}:j,x=e.labelClasses,k=void 0===x?[]:x,B=e.propsWithState,S=void 0===B?{}:B,Z=e.style,M=void 0===Z?"info":Z;if(!["button","link"].includes(f))return null;var D=S.openOnHover,N=S.selectedState,F=S.setSelectedState,L=!!o["aria-haspopup"],H=v({className:(0,i.classnames)((0,n.A)((0,n.A)((0,n.A)({"gform-droplist__item-trigger":!0},"gform-droplist__item-trigger--".concat(M),!0),"gform-droplist__item-trigger--depth-".concat(p),!0),"gform-droplist__item-trigger--disabled","button"===f&&o.disabled),s),onMouseEnter:D?function(){!function(){var e=o.id,t=void 0===e?"":e;if(N[p]!==t){var r=v(v({},Object.keys(N).filter((function(e){return e1&&void 0!==arguments[1]?arguments[1]:"success",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=y(y({},i),{},{type:t},r),n=Math.random().toString(36).substring(7);u((function(t){return[].concat((0,o.A)(t),[y({id:n,message:e},a)])}))}},t,d.map((function(e,t){var r=e.id,o=e.message,n=e.type,i=(0,c.A)(e,m);return s.React.createElement(C,(0,a.A)({customAttributes:{style:{"--gform-snackbar-index":t}},id:r,key:r,message:o,onDismiss:f,type:n},i))}))))},w=function(){return P(R)};C.propTypes={children:s.PropTypes.oneOfType([s.PropTypes.arrayOf(s.PropTypes.node),s.PropTypes.node]),customAttributes:s.PropTypes.object,customClasses:s.PropTypes.oneOfType([s.PropTypes.string,s.PropTypes.array,s.PropTypes.object]),delay:s.PropTypes.number,id:s.PropTypes.string,message:s.PropTypes.string,onDismiss:s.PropTypes.func,spacing:s.PropTypes.oneOfType([s.PropTypes.string,s.PropTypes.number,s.PropTypes.array,s.PropTypes.object]),theme:s.PropTypes.string,type:s.PropTypes.string},C.displayName="SnackBar"},88358:function(e,t,r){var o=r(71860),a=r(18134),n=r(88856),c=r(97867),i=r(71376),s=r(25980);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}var p=(0,c.React.forwardRef)((function(e,t){var r=e.activeStep,p=void 0===r?1:r,d=e.customAttributes,u=void 0===d?{}:d,m=e.customClasses,f=void 0===m?[]:m,y=e.icon,g=void 0===y?"check-mark-alt":y,h=e.iconPrefix,v=void 0===h?"gform-common-icon":h,b=e.numSteps,P=void 0===b?1:b,T=e.spacing,R=void 0===T?"":T,C=(0,c.classnames)(function(e){for(var t=1;t0),"gform-icon--preset-active",h.length>0),"gform-icon-preset--".concat(h),h.length>0),(0,n.Rh)(P)),u),ref:t},p);return a.React.createElement("span",T,i)}));p.propTypes={children:a.PropTypes.oneOfType([a.PropTypes.arrayOf(a.PropTypes.node),a.PropTypes.node]),customAttributes:a.PropTypes.object,customClasses:a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.array,a.PropTypes.object]),icon:a.PropTypes.string,iconPrefix:a.PropTypes.string,spacing:a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.number,a.PropTypes.array,a.PropTypes.object])},p.displayName="Icon",t.A=p},79210:function(e,t,r){var o=r(58449),a=r(88856),n=r(97867),i=r(71376),c=["customClasses"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function l(e){for(var t=1;t0,xe=f(f({},ve),{},{className:(0,i.classnames)(f(f((0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)({"gform-input-wrapper":!0},"gform-input-wrapper--theme-".concat(de),!0),"gform-input-wrapper--input",!0),"gform-input-wrapper--with-action",_e),"gform-input-wrapper--clearable",b),"gform-input-wrapper--disabled",_),(0,c.Rh)(ce)),{},(0,a.A)((0,a.A)((0,a.A)({"gform-input-wrapper--required":te},"gform-input-wrapper--border-".concat(v),!0),"gform-input-wrapper--with-icon",je),"gform-input-wrapper--text-security-".concat(le),"password"!==me&&"none"!==le)),be),ref:t}),ke=f(f({},w),{},{className:(0,i.classnames)((0,a.A)((0,a.A)({"gform-input":!0,"gform-typography--size-text-sm":"cosmos"===de},"gform-input--".concat(ne),!0),"gform-input--".concat(me),!0),A),disabled:_||!0===(null==F?void 0:F.locked),id:Ee,name:I,onBlur:z,onKeyDown:$,onChange:function(e){var t=e.target.value;we(t),U(t,e)},onFocus:Y,type:me,value:Oe});X&&(ke.placeholder=X),k.content&&(ke["aria-describedby"]=Ae),te&&(ke.required=!0);var Se=f(f({},F),{},{htmlFor:Ee}),Be=f(f({},k),{},{id:Ae}),De=f({customClasses:(0,i.classnames)(["gform-input-help-text--required"]),id:Ae},oe),Ze=f(f({},Z),{},{customClasses:(0,i.classnames)(["gform-input__icon"],Z.customClasses||[])}),Me=f(f({icon:"circle-close",type:"unstyled"},T),{},{customClasses:(0,i.classnames)(["gform-input__clearable-button"],T.customClasses||[])}),Ne=f(f({iconPosition:"leading",type:"white"},m),{},{customClasses:(0,i.classnames)(["gform-input__action-button"],m.customClasses||[]),onClick:function(e){m.onClick&&m.onClick(e,Oe)}}),Le=Te;return i.React.createElement(Le,xe,i.React.createElement(p.A,Se),te&&i.React.createElement(d.A,De),"above"===B&&i.React.createElement(d.A,Be),i.React.createElement(s.e7,{condition:_e,wrapper:function(e){return i.React.createElement("div",{className:"gform-input__action-wrapper"},e,i.React.createElement(l.A,Ne))}},i.React.createElement(s.e7,{condition:je,wrapper:function(e){return i.React.createElement("div",{className:"gform-input__wrapper"},e)}},i.React.createElement("input",ke),je&&i.React.createElement(u.A,Ze),b&&Oe&&i.React.createElement(l.A,(0,o.A)({},Me,{onClick:function(){we(""),q()}})))),"below"===B&&i.React.createElement(d.A,Be))}));g.propTypes={borderStyle:i.PropTypes.string,clearable:i.PropTypes.bool,clearableButtonAttributes:i.PropTypes.object,controlled:i.PropTypes.bool,customAttributes:i.PropTypes.object,customClasses:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.array,i.PropTypes.object]),disabled:i.PropTypes.bool,helpTextAttributes:i.PropTypes.object,helpTextPosition:i.PropTypes.string,iconAttributes:i.PropTypes.object,id:i.PropTypes.string,labelAttributes:i.PropTypes.object,name:i.PropTypes.string,onBlur:i.PropTypes.func,onChange:i.PropTypes.func,onClear:i.PropTypes.func,onKeyDown:i.PropTypes.func,onFocus:i.PropTypes.func,placeholder:i.PropTypes.string,required:i.PropTypes.bool,requiredLabel:i.PropTypes.object,size:i.PropTypes.string,spacing:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.number,i.PropTypes.array,i.PropTypes.object]),textSecurity:i.PropTypes.string,theme:i.PropTypes.string,type:i.PropTypes.string,value:i.PropTypes.string,wrapperAttributes:i.PropTypes.object,wrapperClasses:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.array,i.PropTypes.object]),wrapperTagName:i.PropTypes.string},g.displayName="Input",t.A=g},81145:function(e,t,r){r.d(t,{A:function(){return O}});var o=r(88856),a=r(97867),n=r(71376),i=r(71860),c=r(58449),s=r(8140),l=r(25980),p=r(66598),d=["customClasses"];function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function m(e){for(var t=1;t0&&(c+=r*t),o>0&&(c+=o*t),a>0&&(c+=a*e),n>0&&(c+=n*e),a>0&&r>0&&(c-=a*r),a>0&&o>0&&(c-=a*o),n>0&&r>0&&(c-=n*r),n>0&&o>0&&(c-=n*o),(i-c)/i},Oe=function(e,t,r,o,a){var n,i,c,s,l,p,d=o.innerWidth,u=o.innerHeight,m=a-r.top,f=r.bottom-(u-a),y=a-r.left,g=r.right-(d-a);switch(e){case"top":switch(t){case"top":return!0;case"bottom":c=a-(n=r.bottom+44),s=n+r.height-(u-a),l=y,p=g;break;case"left":c=a-(n=r.bottom+h+8-r.height/2),s=n+r.height-(u-a),l=a-(i=r.left+r.width/2-8-h-r.width),p=i+r.width-(d-a);break;case"right":c=a-(n=r.bottom+h+8-r.height/2),s=n+r.height-(u-a),l=a-(i=r.left+r.width/2+8+h),p=i+r.width-(d-a);break;default:return!1}break;case"bottom":switch(t){case"top":c=a-(n=r.top-44-r.height),s=n+r.height-(u-a),l=y,p=g;break;case"bottom":return!0;case"left":c=a-(n=r.top-h-8-r.height/2),s=n+r.height-(u-a),l=a-(i=r.left+r.width/2-8-h-r.width),p=i+r.width-(d-a);break;case"right":c=a-(n=r.top-h-8-r.height/2),s=n+r.height-(u-a),l=a-(i=r.left+r.width/2+8+h),p=i+r.width-(d-a);break;default:return!1}break;case"left":switch(t){case"top":c=a-(n=r.top+r.height/2-8-h-r.height),s=n+r.height-(u-a),l=a-(i=r.right+h+8-r.width/2),p=i+r.width-(d-a);break;case"bottom":c=a-(n=r.top+r.height/2+8+h),s=n+r.height-(u-a),l=a-(i=r.right+h+8-r.width/2),p=i+r.width-(d-a);break;case"left":return!0;case"right":c=m,s=f,l=a-(i=r.right+44),p=i+r.width-(d-a);break;default:return!1}break;case"right":switch(t){case"top":c=a-(n=r.top+r.height/2-8-h-r.height),s=n+r.height-(u-a),l=a-(i=r.left-h-8-r.width/2),p=i+r.width-(d-a);break;case"bottom":c=a-(n=r.top+r.height/2+8+h),s=n+r.height-(u-a),l=a-(i=r.left-h-8-r.width/2),p=i+r.width-(d-a);break;case"left":c=m,s=f,l=a-(i=r.left-44-r.width),p=i+r.width-(d-a);break;case"right":return!0;default:return!1}break;default:return!1}return Ce(r.width,r.height,l,p,c,s)},we=function(e,t,r){if(!r.current)return t;var o=r.current.getBoundingClientRect(),a=r.current.ownerDocument.defaultView,n=a.innerWidth,i=a.innerHeight,c=e-o.top,s=o.bottom-(i-e),l=e-o.left,p=o.right-(n-e),d=Ce(o.width,o.height,l,p,c,s),u={};switch(t){case"top":u.top=d,u.bottom=Oe("top","bottom",o,a,e),u.left=Oe("top","left",o,a,e),u.right=Oe("top","right",o,a,e);break;case"bottom":u.top=Oe("bottom","top",o,a,e),u.bottom=d,u.left=Oe("bottom","left",o,a,e),u.right=Oe("bottom","right",o,a,e);break;case"left":u.top=Oe("left","top",o,a,e),u.bottom=Oe("left","bottom",o,a,e),u.left=d,u.right=Oe("left","right",o,a,e);break;case"right":u.top=Oe("right","top",o,a,e),u.bottom=Oe("right","bottom",o,a,e),u.left=Oe("right","left",o,a,e),u.right=d;break;default:return t}return Object.keys(u).reduce((function(e,t){return u[t]>u[e]?t:e}),t)},Ee=function(e){var t=e.con,r=void 0===t?"":t,o=e.cAttributes,n=void 0===o?{size:"text-xs"}:o;if(!r)return null;var i=n.customClasses,s=(0,c.A)(n,d),l=m({customClasses:(0,a.classnames)(["gform-tooltip__tooltip-content"],i),color:"white",size:"text-xs"},s);return a.React.createElement(p.A,l,r)},Ae=m({className:(0,a.classnames)(m((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)({"gform-tooltip":!0},"gform-tooltip--position-".concat(he),!0),"gform-tooltip--theme-".concat(q),!0),"gform-tooltip--type-".concat(Y),!0),"gform-tooltip--initialized",!!re),"gform-tooltip--anim-in-ready",pe),"gform-tooltip--anim-in-active",pe&&fe),(0,n.Rh)(z)),A)},w),je={className:"gform-tooltip__trigger","aria-describedby":Q,onBlur:Te,onFocus:Pe,onMouseEnter:Pe,onMouseLeave:Te},_e=m({className:"gform-tooltip__tooltip",role:"tooltip",id:Q,onTransitionEnd:function(){fe||de(!1)}},$),xe={icon:_,iconPrefix:k,preset:B},ke={};re&&(ke.width=re+"px"),F&&(ke.maxWidth=F+"px"),_e.style=ke;var Se=U;return a.React.createElement(Se,(0,i.A)({},Ae,{ref:t}),a.React.createElement("button",je,a.React.createElement(l.A,xe)),a.React.createElement("div",(0,i.A)({ref:X},_e),a.React.createElement(Ee,{con:T,cAttributes:C}),b,a.React.createElement("span",{className:"gform-tooltip__tooltip-arrow"})))}));b.propTypes={buffer:a.PropTypes.number,children:a.PropTypes.oneOfType([a.PropTypes.arrayOf(a.PropTypes.node),a.PropTypes.node]),content:a.PropTypes.string,contentAttributes:a.PropTypes.object,customAttributes:a.PropTypes.object,customClasses:a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.array,a.PropTypes.object]),icon:a.PropTypes.string,iconPrefix:a.PropTypes.string,iconPreset:a.PropTypes.string,intentDelay:a.PropTypes.number,id:a.PropTypes.string,maxWidth:a.PropTypes.number,position:a.PropTypes.string,spacing:a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.number,a.PropTypes.array,a.PropTypes.object]),theme:a.PropTypes.string,tooltipCustomAttributes:a.PropTypes.object,type:a.PropTypes.string},b.displayName="Tooltip";var P=b;function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function R(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[];return(0,l.Gv)(e)&&!(0,l.RI)(e)?Object.entries(e).map((function(t){var r=(0,n.A)(t,1)[0];return e[r]})):e}(e.choices);return r.length?i.React.createElement("optgroup",{label:e.label,key:"".concat((0,l.Yv)(e.label),"-").concat(t)},r.map((function(e,t){return de(e,t)}))):de(e,t)}));return i.React.createElement(pe,ie,i.React.createElement(c.A,se),"above"===C&&i.React.createElement(s.A,le),i.React.createElement("div",{className:"gform-select__wrapper"},i.React.createElement("select",ce,ue)),"below"===C&&i.React.createElement(s.A,le))}));f.propTypes={customAttributes:i.PropTypes.object,customClasses:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.array,i.PropTypes.object]),disabled:i.PropTypes.bool,helpTextAttributes:i.PropTypes.object,helpTextPosition:i.PropTypes.string,id:i.PropTypes.string,initialValue:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.number]),labelAttributes:i.PropTypes.object,name:i.PropTypes.string,onBlur:i.PropTypes.func,onChange:i.PropTypes.func,onFocus:i.PropTypes.func,options:i.PropTypes.array,size:i.PropTypes.string,spacing:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.number,i.PropTypes.array,i.PropTypes.object]),theme:i.PropTypes.string,wrapperAttributes:i.PropTypes.object,wrapperClasses:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.array,i.PropTypes.object]),wrapperTagName:i.PropTypes.string},f.displayName="Select",t.A=f},43632:function(e,t,r){var o=r(88856),a=r(97867),n=r(71376);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function c(e){for(var t=1;t=0&&(r=-(e.right+20-t)),Q.current.style.marginInlineStart="".concat(r,"px")}};R((function(){if(L&&ne)return fe(),window.addEventListener("resize",fe),function(){window.removeEventListener("resize",fe)}}),[L,ne]);var ye=function(e){I&&V(null),J(e.view)},ge=(0,l.$N)(O,b(b({className:(0,c.classnames)(["gform-calendar__calendar"],a)},ce),{},{activeStartDate:I,onActiveStartDateChange:function(e){["drillDown","drillUp"].includes(e.action)||(ye(e),ce.onActiveStartDateChange(e))},onChange:function(e,t){W(e),ce.onChange(e,t),p&&te()},onViewChange:function(e){ye(e),ce.onViewChange(e)},value:U,view:$})),ve=b({label:"Today",customClasses:(0,c.classnames)("gform-calendar__today-button",Z),onClick:function(){var e,t=new Date,r=ge.selectRange?[(e=new Date,e.setHours(0,0,0,0),e),w()]:t;V(t),J(se),j(),ge.onChange(r),$!==se&&ge.onViewChange({action:"drillDown",activeStartDate:E(se,t),value:t,view:se}),p&&te()},size:"size-height-s",type:"white"},D),he=b({label:"Reset",customClasses:(0,c.classnames)("gform-calendar__reset-button",x),onClick:function(){var e=ge.selectRange?[]:null;A(),ge.onChange(e),p&&te()},size:"size-height-s",type:"white"},_),be=M.ariaId,Pe=void 0===be?"".concat(Y,"-trigger-aria"):be,Te=M.ariaText,Re=void 0===Te?"":Te,Ce=M.customAttributes,Oe=void 0===Ce?{}:Ce,we=M.id,Ee=void 0===we?"".concat(Y,"-trigger"):we,Ae=M.onClick,je=void 0===Ae?function(){}:Ae,_e=M.onKeyDown,xe=void 0===_e?function(){}:_e,ke=M.title,Se=void 0===ke?"":ke,Be=(0,n.A)(M,v),De=b({className:(0,c.classnames)("gform-calendar__trigger",N),customAttributes:b({"aria-expanded":ne?"true":"false","aria-haspopup":"dialog","aria-labelledby":Se?void 0:"".concat(Pe," ").concat(Ee),id:Ee,onKeyDown:function(e){oe(e),xe(e)},title:Se||void 0},Oe),onClick:function(e){je(e),ne?te():re()},size:"size-height-m",type:"white"},Be),Ze={className:(0,c.classnames)(b({"gform-calendar__wrapper":!0,"gform-calendar__wrapper--open":ne,"gform-calendar__wrapper--hide":ae,"gform-calendar__wrapper--reveal":ie},L?(0,l.Rh)(B):{})),ref:le},Me=L?"div":C,Ne=S||k;return c.React.createElement(Me,"div"===Me?Ze:{},L&&c.React.createElement(c.React.Fragment,null,c.React.createElement("span",{className:"gform-visually-hidden",id:Pe},Re),c.React.createElement(y.A,(0,o.A)({},De,{ref:X}))),c.React.createElement("div",(0,o.A)({},me,{ref:function(e){Q.current=e,"function"==typeof t?t(e):t&&(t.current=e)}}),c.React.createElement(c.ReactCalendar.Calendar,ge),Ne&&c.React.createElement("div",{className:"gform-calendar__footer"},S&&c.React.createElement(y.A,ve),k&&c.React.createElement(y.A,he))))})),j=P((function(e,t){var r=b(b({},{calendarAttributes:{},calendarClasses:[],closeOnChange:!0,customAttributes:{},customClasses:[],id:"",onAfterClose:function(){},onAfterOpen:function(){},onClose:function(){},onOpen:function(){},onResetClick:function(){},onTodayClick:function(){},resetAttributes:{},resetClasses:[],showResetButton:!1,showTodayButton:!0,spacing:"",todayAttributes:{},todayClasses:[],triggerAttributes:{},triggerClasses:[],withTrigger:!1}),e),a={id:r.id};return c.React.createElement(s.JE,a,c.React.createElement(A,(0,o.A)({},r,{ref:t})))}));j.propTypes={calendarAttributes:c.PropTypes.object,calendarClasses:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.array,c.PropTypes.object]),closeOnChange:c.PropTypes.bool,customAttributes:c.PropTypes.object,customClasses:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.array,c.PropTypes.object]),id:c.PropTypes.string,onAfterClose:c.PropTypes.func,onAfterOpen:c.PropTypes.func,onClose:c.PropTypes.func,onOpen:c.PropTypes.func,onResetClick:c.PropTypes.func,onTodayClick:c.PropTypes.func,resetAttributes:c.PropTypes.object,resetClasses:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.array,c.PropTypes.object]),showResetButton:c.PropTypes.bool,showTodayButton:c.PropTypes.bool,spacing:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.number,c.PropTypes.array,c.PropTypes.object]),todayAttributes:c.PropTypes.object,todayClasses:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.array,c.PropTypes.object]),triggerAttributes:c.PropTypes.object,triggerClasses:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.array,c.PropTypes.object]),withTrigger:c.PropTypes.bool};var _=j},42230:function(e,t,r){var o=r(71860),a=r(88856),n=r(97867),i=r(71376);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function s(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e===l.xw)return(0,c.nv)(r,t);if(e===l.Zu&&Array.isArray(t)&&2===t.length){var a=t[0].toLocaleDateString(void 0,o),n=t[1].toLocaleDateString(void 0,o);return a===n?(0,c.nv)(r,a):(0,c.nv)(r,"".concat(a," - ").concat(n))}return""},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=t.isLoading,n=void 0!==o&&o,c=t.setIsLoading,s=void 0===c?function(){}:c,p=t.moduleState,d=void 0===p?{}:p,u=t.updateModuleState,f=void 0===u?function(){}:u,y=t.listItemAttributes,v=void 0===y?{}:y,h=v.groupIcon,b=void 0===h?"":h,P=v.iconPrefix,T=void 0===P?"":P,R=t.modules,C=void 0===R?[]:R,O=t.onFilterChange,w=void 0===O?function(){}:O,E=t.reset,A=E.hasReset,j=void 0!==A&&A,_=E.label,x=void 0===_?"":_,k=e.map((function(o,n){if(o.listItems){var c=m({},(null==o?void 0:o.triggerAttributes)||{});return b&&(c.iconAfter=b),T&&(c.iconPrefix=T),m(m({},o),{},{triggerAttributes:c,customClasses:(0,i.classnames)("gform-data-grid__controls-simple-filters-list-item","gform-data-grid__controls-simple-filters-list-item--group",o.customClasses||[]),listItems:g(o.listItems,t,r+1),hasDivider:n===e.length-1&&j&&0===r})}return function(){var e,t,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,i=n.listItemAttributes,c=void 0===i?{}:i,s=n.modules,p=void 0===s?[]:s,d=n.isLoading,u=void 0!==d&&d,f=n.onFilterChange,y=void 0===f?function(){}:f,g=n.setIsLoading,v=void 0===g?function(){}:g,h=n.moduleState,b=void 0===h?{}:h,P=n.updateModuleState,T=void 0===P?function(){}:P;if("link"===(null==o||null===(e=o.props)||void 0===e?void 0:e.element))return o;var R=c.iconAfter,C=void 0===R?"":R,O=c.iconPrefix,w=void 0===O?"":O,E=((null==o||null===(t=o.props)||void 0===t?void 0:t.customAttributes)||{}).onClick,A=void 0===E?function(){}:E,j=b.filters,_=void 0===j?[]:j,x=_.find((function(e){var t;return e.id===(null===(t=o.props.customAttributes)||void 0===t?void 0:t.id)}));return m(m({},o),{},{props:m(m({},(null==o?void 0:o.props)||{}),{},{customAttributes:m(m({},(null==o||null===(r=o.props)||void 0===r?void 0:r.customAttributes)||{}),{},{onClick:function(e){var t,r,n,i;if(!u){A(e);var c=x?_.filter((function(e){var t;return e.id!==(null===(t=o.props.customAttributes)||void 0===t?void 0:t.id)})):[].concat((0,a.A)(_),[{key:(null===(t=o.props.customAttributes)||void 0===t?void 0:t["data-key"])||"",value:(null===(r=o.props.customAttributes)||void 0===r?void 0:r["data-value"])||"",id:(null===(n=o.props.customAttributes)||void 0===n?void 0:n.id)||"",label:(null===(i=o.props.customAttributes)||void 0===i?void 0:i["data-pill-label"])||""}]),s=(0,l.eI)(p,["BulkActions","GridPagination"]),d=s.BulkActions,f=s.GridPagination,g=m(m({filters:c},d&&(null==d?void 0:d.getDefaultState())||{}),f&&(null==f?void 0:f.getDefaultState())||{}),h=m(m({},b),g);v(!0),y(h).then((function(){v(!1),T(g)})).catch((function(e){v(!1)}))}}}),iconAfter:x?C:void 0,iconPrefix:w})})}(o,t)}));return j&&0===r&&k.push({key:"reset",customClasses:["gform-data-grid__controls-simple-filters-list-item","gform-data-grid__controls-simple-filters-list-item--reset"],props:{element:"button",label:x,customAttributes:{id:"reset",onClick:function(){if(!n){var e=d.filters,t=(void 0===e?[]:e).filter((function(e){return[l.Zu,l.xw].includes(e.key)})),r=(0,l.eI)(C,["BulkActions","GridPagination"]),o=r.BulkActions,a=r.GridPagination,i=m(m({filters:t},o&&(null==o?void 0:o.getDefaultState())||{}),a&&(null==a?void 0:a.getDefaultState())||{}),c=m(m({},d),i);s(!0),w(c).then((function(){f(i),s(!1)})).catch((function(e){s(!1)}))}}}}}),k},v=f((function(e,t){var r=e.isLoading,a=void 0!==r&&r,n=e.modules,u=void 0===n?[]:n,f=e.moduleAttributes,y=void 0===f?{}:f,v=e.moduleState,h=void 0===v?{}:v,b=e.setIsLoading,P=void 0===b?function(){}:b,T=e.updateModuleState,R=void 0===T?function(){}:T,C=(null==y?void 0:y.simpleFilters)||{},O=C.droplist,w=void 0===O?{}:O,E=w.customClasses,A=void 0===E?[]:E,j=w.listItems,_=void 0===j?[]:j,x=w.listItemAttributes,k=void 0===x?{}:x,S=w.reset,B=void 0===S?{}:S,D=w.triggerAttributes,Z=void 0===D?{}:D,M=Z.ariaText,N=void 0===M?"":M,L=(0,o.A)(Z,p),F=(0,o.A)(w,d),H=C.onFilterChange,I=void 0===H?function(){}:H,V=h.filters,z=void 0===V?[]:V,G=g(_,{listItemAttributes:k,modules:u,onFilterChange:I,reset:B,moduleState:h,updateModuleState:R,isLoading:a,setIsLoading:P},0),U=z.filter((function(e){return![l.Zu,l.xw].includes(e.key)})).length,W=m({align:"right",closeOnClick:!0,listItems:G,openOnHover:!0,triggerAttributes:m({ariaText:(0,c.nv)(N,U)},L),customClasses:(0,i.classnames)("gform-data-grid__controls-simple-filters-droplist",A)},F);return i.React.createElement("div",{className:"gform-data-grid__controls-simple-filters",ref:t},i.React.createElement(s.Ay,W),U?i.React.createElement("span",{className:"gform-data-grid__controls-simple-filters-count gform-typography--size-text-xxs gform-typography--weight-medium"},U):null)}));v.propTypes={isLoading:i.PropTypes.bool,modules:i.PropTypes.array,moduleAttributes:i.PropTypes.object,moduleState:i.PropTypes.object,setIsLoading:i.PropTypes.func,updateModuleState:i.PropTypes.func},v.displayName="SimpleFilters";t.A={name:"SimpleFilters",SimpleFilters:v,getActiveFilterLabel:y,getUpdatedFilters:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=e.find((function(e){return e.key===t})),c=r.length>0;return c&&i?e.map((function(e){return e.key===t?m(m({},e),{},{value:r,label:y(t,r,o,n)}):e})):c?[].concat((0,a.A)(e),[{id:t,key:t,label:y(t,r,o,n),value:r}]):e.filter((function(e){return e.key!==t}))},getDefaultState:function(){return{filters:[]}}}},12084:function(e,t,r){r.d(t,{Sv:function(){return b},qg:function(){return N},CI:function(){return U},hi:function(){return ue},vj:function(){return te},MM:function(){return me.A}});var o=r(71860),a=r(88856),n=r(58449),i=r(97867),c=r(80509),s=r(25980),l=r(66598);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function d(e){for(var t=1;t0,W=G.length?(0,L.nv)(x,G[0],G[1]):"",q=z({calendarAttributes:z({onChange:function(e){if(!a){var t=(0,f.eI)(s,["BulkActions","GridPagination","SimpleFilters"]),r=t.BulkActions,o=t.GridPagination,n=t.SimpleFilters,i=z(z(z({dateFilters:e},n&&{filters:null==n?void 0:n.getUpdatedFilters(N,f.Zu,e,D,O)}||{}),r&&(null==r?void 0:r.getDefaultState())||{}),o&&(null==o?void 0:o.getDefaultState())||{}),c=z(z({},u),i);y(!0),E(c).then((function(){y(!1),v(i)})).catch((function(e){y(!1)}))}},selectRange:!0,value:G},P),customClasses:(0,i.classnames)("gform-data-grid__controls-date-filters-calendar",R),showResetButton:!0,triggerAttributes:z({ariaText:W},k),withTrigger:!0},Z),K={className:(0,i.classnames)({"gform-data-grid__controls-date-filters":!0,"gform-data-grid__controls-date-filters--has-filter":U})};return i.React.createElement("div",(0,o.A)({},K,{ref:t}),i.React.createElement(F.A,q))}));G.propTypes={isLoading:i.PropTypes.bool,modules:i.PropTypes.array,moduleAttributes:i.PropTypes.object,moduleState:i.PropTypes.object,setIsLoading:i.PropTypes.func,updateModuleState:i.PropTypes.func},G.displayName="DateFilters";var U={name:"DateFilters",DateFilters:G,getDefaultState:function(){return{dateFilters:[]}}},W=r(25787),q=["onChange","onClear","onKeyDown","wrapperClasses"],K=["customClasses"],$=["customClasses","Image"];function J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Y(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0]?"":E,t=(0,f.eI)(d,["BulkActions","GridPagination","SimpleFilters"]),r=t.BulkActions,o=t.GridPagination,a=t.SimpleFilters,n=Y(Y(Y({searchTerm:e,searchActive:""!==e},a&&{filters:null==a?void 0:a.getUpdatedFilters(O,f.xw,e,Q)}||{}),r&&(null==r?void 0:r.getDefaultState())||{}),o&&(null==o?void 0:o.getDefaultState())||{}),i=Y(Y({},g),n);h(!0),U(i).then((function(){P(n),h(!1)})).catch((function(e){h(!1)}))}},ee=Y({clearable:!0,controlled:!0,onClear:function(){B(),X(!0)},onKeyDown:function(e){"Enter"===e.key&&X(),Z(e)},onChange:function(e){P({searchTerm:e}),k(e)},value:E,wrapperClasses:(0,i.classnames)(["gform-data-grid__controls-search-input"],N)},L),te=Y({customClasses:(0,i.classnames)(["gform-data-grid__controls-search-button"],V),onClick:function(){return X()},size:"size-height-m",type:"white"},z);return i.React.createElement("div",{className:"gform-data-grid__controls-search",ref:t},i.React.createElement(W.A,(0,o.A)({},ee,{disabled:a&&""===E})),i.React.createElement(c.A,(0,o.A)({},te,{disabled:a&&""===E})))}));X.propTypes={gridLocked:i.PropTypes.bool,isLoading:i.PropTypes.bool,modules:i.PropTypes.array,moduleAttributes:i.PropTypes.object,moduleState:i.PropTypes.object,setIsLoading:i.PropTypes.func,updateModuleState:i.PropTypes.func,useAjax:i.PropTypes.bool},X.displayName="Search";var ee=Q((function(e,t){var r=e.moduleAttributes,a=void 0===r?{}:r,c=(null==a?void 0:a.search)||{},s=c.noResults,p=s.customClasses,d=void 0===p?[]:p,u=s.Image,m=void 0===u?null:u,f=(0,n.A)(s,$),y=c.i18n,g=y.noResultsTitle,v=void 0===g?"":g,h=y.noResultsMessage,b=void 0===h?"":h,P=Y({className:(0,i.classnames)({"gform-data-grid__no-data-message":!0,"gform-data-grid__no-search-results-message":!0},d)},f);return i.React.createElement("div",(0,o.A)({},P,{ref:t}),m&&i.React.createElement(m,null),v&&i.React.createElement(l.A,{size:"text-md",weight:"medium",spacing:[5,0,0,0]},v),b&&i.React.createElement(l.A,{size:"text-sm",spacing:[3,0,0,0]},b))}));ee.propTypes={moduleAttributes:i.PropTypes.object},ee.displayName="NoResults";var te={name:"Search",Search:X,NoResults:ee,getDefaultState:function(){return{searchTerm:"",searchActive:!1}}};function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function oe(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t={flex:"1 0px"};if(!e||arguments.length>1&&void 0!==arguments[1]&&arguments[1])return t;var r=["flex","flexGrow","flexShrink","flexBasis"],o=Object.keys(e).filter((function(e){return r.includes(e)})).reduce((function(t,r){return t[r]=e[r],t}),{});return(0,a.A)(t,o)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=t.reduce((function(e,t){return e[t]=!1,e}),{});return e.reduce((function(e,r){return t.includes(r.name)?i(i({},e),{},(0,o.A)({},r.name,r)):e}),r)}},48959:function(e,t,r){r.d(t,{A:function(){return P}});var o=r(71860),a=r(88856),n=r(8140),i=r(97867),c=r(71376),s=r(8173),l=r(25980);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function d(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(r,o){if(r.listItems){var a=r.key||"".concat(e.droplistId,"-group-").concat(t,"-").concat(o),n={depth:t,index:o,item:r,propsWithState:e};return c.React.createElement(O,(0,i.A)({key:a},n))}var s=(0,c.classnames)({"gform-droplist__item":!0,"gform-droplist__item--has-divider":r.hasDivider},r.customClasses||[]),l=v(v({},r.props||{}),{},{depth:t,propsWithState:e}),p=r.key||"".concat(e.droplistId,"-group-").concat(t,"-").concat(o);return c.React.createElement("li",{key:p,className:s},c.React.createElement(C,l))}))},C=h((function(e,t){var r=e.customAttributes,o=void 0===r?{}:r,a=e.customClasses,s=void 0===a?[]:a,l=e.depth,u=void 0===l?0:l,m=e.element,f=void 0===m?"button":m,y=e.iconAfter,g=void 0===y?"":y,h=e.iconAfterAttributes,b=void 0===h?{}:h,P=e.iconAfterClasses,T=void 0===P?[]:P,R=e.iconBefore,C=void 0===R?"":R,O=e.iconBeforeAttributes,w=void 0===O?{}:O,E=e.iconBeforeClasses,A=void 0===E?[]:E,j=e.iconPrefix,_=void 0===j?"gravity-component-icon":j,x=e.index,k=void 0===x?0:x,S=e.label,B=void 0===S?"":S,D=e.labelAttributes,Z=void 0===D?{}:D,M=e.labelClasses,N=void 0===M?[]:M,L=e.propsWithState,F=void 0===L?{}:L,H=e.style,I=void 0===H?"info":H;if(!["button","link"].includes(f))return null;var V=F.openOnHover,z=F.selectedState,G=F.setSelectedState,U=v({className:(0,c.classnames)((0,n.A)((0,n.A)((0,n.A)((0,n.A)({"gform-droplist__item-trigger":!0},"gform-droplist__item-trigger--".concat(I),!0),"gform-droplist__item-trigger--depth-".concat(u),!0),"gform-droplist__item-trigger--".concat(k),!0),"gform-droplist__item-trigger--disabled","button"===f&&o.disabled),s),onMouseEnter:V?function(){!function(){var e=o.id,t=void 0===e?"":e;if(z[u]!==t){var r=v(v({},Object.keys(z).filter((function(e){return ea&&c>i||(be(o,a,Y),e.index=a)}}},drop:function(e){Ae((0,c.nv)($.endDrop,Y,e.index))}}),Je=(0,n.A)($e,2),Ye=Je[0].handlerId,Qe=Je[1];me&&oe&&ne?qe(Qe(De)):Ce&&oe&&ne&&(qe(Ze),Ke(Qe(De)));var Xe={className:"gform-repeater-item__wrapper"},et=y({className:(0,i.classnames)(["gform-repeater-item__block-header"],T),size:"text-sm",weight:"medium"},f),tt=y({size:"size-height-m",type:_e===l?"icon-white":"white",icon:"trash",iconPosition:"leading",label:$.deleteLabel,onClick:function(){return N(X,Y)},disabled:ve&&de<=ve,customClasses:(0,i.classnames)(["gform-repeater-item__delete"],Z)},B),rt=y({size:"size-height-m",type:"unstyled",iconPrefix:"gravity-component-icon",icon:"chevron-down",onClick:function(e){w(X,Y)},customClasses:(0,i.classnames)(["gform-repeater-item__collapsible"],k)},_),ot=y({className:(0,i.classnames)(y((0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)({"gform-repeater-item":!0},"gform-repeater-item--type-".concat(_e),_e),"gform-repeater-item--has-arrows",Te&&ne),"gform-repeater-item--has-drag-handle",Ce&&oe&&ne),"gform-repeater-item--is-draggable",oe&&ne),"gform-repeater-item--is-sortable",ne),"gform-repeater-item--is-collapsed",te),"gform-repeater-item--is-dragging",We),"gform-repeater-item--fill-content",q),"gform-repeater-item--disable-item-drag",!me),"gform-repeater-item--is-keyboard-nav",Fe),(0,c.Rh)(ye)),le),"data-index":X,"data-handler-id":Ye,id:Y},ce);return i.React.createElement("div",(0,p.A)({},ot,{ref:De}),i.React.createElement("div",Xe,function(){if(!((Te||Ce&&oe)&&ne))return null;var e=y({size:"size-height-m",type:"icon-white",icon:"drag-indicator",iconPrefix:"gravity-component-icon",label:$.dragLabel,customAttributes:{onKeyDown:Ie},onClick:function(e){return Ve()},customClasses:(0,i.classnames)(["gform-repeater-item__control","gform-repeater-item__control--drag-toggle"],U),ref:Ce&&!me?Ze:void 0,disabled:1===de},z),t=y({size:"size-height-m",type:"icon-white",label:(0,c.nv)($.upLabel,Y),iconPrefix:"gravity-component-icon",icon:"chevron-up",onClick:function(e){return ze(0,"up")},customClasses:(0,i.classnames)(["gform-repeater-item__control","gform-repeater-item__control--up"],Be),disabled:1===de||1!==de&&0===X},ke),r=y({size:"size-height-m",type:"icon-white",label:(0,c.nv)($.downLabel,Y),iconPrefix:"gravity-component-icon",icon:"chevron-down",onClick:function(e){return ze(0,"down")},customClasses:(0,i.classnames)(["gform-repeater-item__control","gform-repeater-item__control--down"],I),disabled:1===de||1!==de&&X===de-1},F),o=(0,i.classnames)(["gform-repeater-item__controls"]);return i.React.createElement("div",{className:o},Ce&&oe&&ne&&i.React.createElement(u.A,e),Te&&ne&&i.React.createElement(u.A,t),Te&&ne&&i.React.createElement(u.A,r))}(),_e===s&&r&&i.React.createElement(m.A,et,r),_e===l&&C,we&&_e===l&&i.React.createElement(u.A,tt),A&&_e===s&&i.React.createElement(u.A,rt)),_e===s&&i.React.createElement("div",{className:"gform-repeater-item__block-content"},C,we&&i.React.createElement(u.A,tt)))};P.propTypes={blockContentTitle:i.PropTypes.string,blockHeaderAttributes:i.PropTypes.object,blockHeaderClasses:i.PropTypes.oneOfType([i.PropTypes.element,i.PropTypes.func,i.PropTypes.array,i.PropTypes.string]),children:i.PropTypes.node,collapseItem:i.PropTypes.func,collapsible:i.PropTypes.bool,collapsibleButtonAttributes:i.PropTypes.object,collapsibleButtonClasses:i.PropTypes.oneOfType([i.PropTypes.element,i.PropTypes.func,i.PropTypes.array,i.PropTypes.string]),deleteButtonAttributes:i.PropTypes.object,deleteButtonClasses:i.PropTypes.oneOfType([i.PropTypes.element,i.PropTypes.func,i.PropTypes.array,i.PropTypes.string]),deleteItem:i.PropTypes.func,downButtonAttributes:i.PropTypes.object,downButtonClasses:i.PropTypes.oneOfType([i.PropTypes.element,i.PropTypes.func,i.PropTypes.array,i.PropTypes.string]),dragHandleAttributes:i.PropTypes.object,dragHandleClasses:i.PropTypes.oneOfType([i.PropTypes.element,i.PropTypes.func,i.PropTypes.array,i.PropTypes.string]),fillContent:i.PropTypes.bool,i18n:i.PropTypes.object,id:i.PropTypes.string.isRequired,index:i.PropTypes.number.isRequired,isCollapsed:i.PropTypes.bool,isDraggable:i.PropTypes.bool,isSortable:i.PropTypes.bool,itemAttributes:i.PropTypes.object,itemClasses:i.PropTypes.oneOfType([i.PropTypes.element,i.PropTypes.func,i.PropTypes.array,i.PropTypes.string]),itemCount:i.PropTypes.number,itemDraggable:i.PropTypes.bool,itemSpacing:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.number,i.PropTypes.array,i.PropTypes.object]),minItems:i.PropTypes.number,moveItem:i.PropTypes.func.isRequired,showArrows:i.PropTypes.bool,showDragHandle:i.PropTypes.bool,showDelete:i.PropTypes.bool,speak:i.PropTypes.func,type:i.PropTypes.string,upButtonAttributes:i.PropTypes.object,upButtonClasses:i.PropTypes.oneOfType([i.PropTypes.element,i.PropTypes.func,i.PropTypes.array,i.PropTypes.string])};var T=P;function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function C(e){for(var t=1;t=se)},r),Ue=C({id:"".concat(Q,"-repeater-screen-reader-text"),className:(0,i.classnames)(["gform-repeater__screen-reader-text","gform-visually-hidden"],Pe),"aria-live":"polite"},he),We=C({className:(0,i.classnames)(C((0,a.A)({"gform-repeater":!0,"gform-repeater--collapsible":v},"gform-repeater--type-".concat(Se),!0),(0,c.Rh)(xe)),j),id:"".concat(Q,"-list-wrapper")},E);return i.React.createElement("div",We,i.React.createElement("div",Ue,Fe),ae.map((function(e,t){return i.React.createElement(T,{blockContentTitle:(null==e?void 0:e.repeater_item_block_content_title)||"",blockHeaderAttributes:m,blockHeaderClasses:y,collapseItem:Ie,collapsible:v,collapsibleButtonAttributes:b,collapsibleButtonClasses:R,deleteButtonAttributes:x,deleteButtonClasses:S,deleteItem:Ve,downButtonAttributes:D,downButtonClasses:M,dragHandleAttributes:L,dragHandleClasses:H,fillContent:V,i18n:G,id:e.repeater_item_id,index:t,isCollapsed:e.repeater_item_collapsed,isDraggable:W,isSortable:K,itemAttributes:ee,itemClasses:re,itemCount:ae.length,itemDraggable:J,itemSpacing:ie,key:e.repeater_item_id,minItems:pe,moveItem:ze,showArrows:Oe,showDelete:Ee,showDragHandle:je,speak:He,type:Se,upButtonAttributes:De,upButtonClasses:Me},ge(e,t))})),Re&&i.React.createElement(u.A,Ge))};w.propTypes={addButtonAttributes:i.PropTypes.object,addButtonClasses:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.array,i.PropTypes.object]),blockHeaderAttributes:i.PropTypes.object,blockHeaderClasses:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.array,i.PropTypes.object]),collapsible:i.PropTypes.bool,collapsibleButtonAttributes:i.PropTypes.object,collapsibleButtonClasses:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.array,i.PropTypes.object]),customAttributes:i.PropTypes.object,customClasses:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.array,i.PropTypes.object]),deleteButtonAttributes:i.PropTypes.object,deleteButtonClasses:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.array,i.PropTypes.object]),downButtonAttributes:i.PropTypes.object,downButtonClasses:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.array,i.PropTypes.object]),dragHandleAttributes:i.PropTypes.object,dragHandleClasses:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.array,i.PropTypes.object]),fillContent:i.PropTypes.bool,i18n:i.PropTypes.object,id:i.PropTypes.string.isRequired,items:i.PropTypes.array,isDraggable:i.PropTypes.bool,isSortable:i.PropTypes.bool,itemAttributes:i.PropTypes.object,itemClasses:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.array,i.PropTypes.object]),itemDraggable:i.PropTypes.bool,itemSpacing:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.number,i.PropTypes.array,i.PropTypes.object]),maxItems:i.PropTypes.number,minItems:i.PropTypes.number,newItemState:i.PropTypes.object,onChange:i.PropTypes.func,renderItem:i.PropTypes.elementType,screenReaderAttributes:i.PropTypes.object,screenReaderClasses:i.PropTypes.oneOfType([i.PropTypes.element,i.PropTypes.func,i.PropTypes.array,i.PropTypes.string]),showAdd:i.PropTypes.bool,showArrows:i.PropTypes.bool,showDelete:i.PropTypes.bool,showDragHandle:i.PropTypes.bool,spacing:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.number,i.PropTypes.array,i.PropTypes.object]),type:i.PropTypes.oneOf([s,l]),upButtonAttributes:i.PropTypes.object,upButtonClasses:i.PropTypes.oneOfType([i.PropTypes.element,i.PropTypes.func,i.PropTypes.array,i.PropTypes.string])},w.displayName="Repeater";var E=w},60325:function(e,t,r){var o=r(18134),a=r(8140),n=r(97867),i=r(71376),c=n.React.useState,s=n.React.useCallback,l=function(e){return JSON.parse(JSON.stringify(e))},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return e.split(".").reduce((function(e,t){return e&&e[t]}),t)};t.A=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"inline",d=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",u="string"==typeof e,m=l(u?p(e)||[]:e),f=c(m),y=(0,a.A)(f,2),g=y[0],v=y[1],h=s((function(r){v(r),function(r){if(u&&t){var a=p(e);a&&(a.length=0,a.push.apply(a,(0,o.A)(r)))}}(r)}),[u,e,t]),b=s((function(e,t){return function(a){var c=(0,o.A)(g);c[t][e]=a,r&&"block"===n&&e===r&&(c[t].repeater_item_block_content_title=d?(0,i.nv)(d,a):a),h(c)}}),[g,h,n,r]);return{items:g,handleChange:h,onChange:b}}},8412:function(e,t,r){var o=r(71860),a=r(58449),n=r(88856),i=r(97867),c=r(71376),s=r(80509),l=r(25980),p=r(66598),d=["customClasses","key","active","disabled"],u=["customClasses"],m=["customClasses"],f=["customClasses"],y=["customClasses"],g=["customClasses","key","active","disabled"],v=["customClasses"],h=["customClasses"],b=["customClasses"],P=["customClasses"];function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function R(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"success",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=y(y({},c),{},{type:t},r),n=Math.random().toString(36).substring(7);u((function(t){return[].concat((0,o.A)(t),[y({id:n,message:e},a)])}))}},t,d.map((function(e,t){var r=e.id,o=e.message,n=e.type,c=(0,i.A)(e,m);return s.React.createElement(C,(0,a.A)({customAttributes:{style:{"--gform-snackbar-index":t}},id:r,key:r,message:o,onDismiss:f,type:n},c))}))))},w=function(){return P(R)};C.propTypes={children:s.PropTypes.oneOfType([s.PropTypes.arrayOf(s.PropTypes.node),s.PropTypes.node]),customAttributes:s.PropTypes.object,customClasses:s.PropTypes.oneOfType([s.PropTypes.string,s.PropTypes.array,s.PropTypes.object]),delay:s.PropTypes.number,id:s.PropTypes.string,message:s.PropTypes.string,onDismiss:s.PropTypes.func,spacing:s.PropTypes.oneOfType([s.PropTypes.string,s.PropTypes.number,s.PropTypes.array,s.PropTypes.object]),theme:s.PropTypes.string,type:s.PropTypes.string},C.displayName="SnackBar"},88358:function(e,t,r){var o=r(71860),a=r(18134),n=r(88856),i=r(97867),c=r(71376),s=r(25980);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}var p=(0,i.React.forwardRef)((function(e,t){var r=e.activeStep,p=void 0===r?1:r,d=e.customAttributes,u=void 0===d?{}:d,m=e.customClasses,f=void 0===m?[]:m,y=e.icon,g=void 0===y?"check-mark-alt":y,v=e.iconPrefix,h=void 0===v?"gravity-component-icon":v,b=e.numSteps,P=void 0===b?1:b,T=e.spacing,R=void 0===T?"":T,C=(0,i.classnames)(function(e){for(var t=1;tevents = $events; + $this->plugin_data = $plugin_data; + $this->connectors = $connectors; + } + + protected function default_settings() { + return array( + Save_Alerts_Settings_Endpoint::PARAM_NOTIFY_WHEN_EMAIL_FAILS => false, + Save_Alerts_Settings_Endpoint::PARAM_SLACK_ALERTS_ENABLED => false, + Save_Alerts_Settings_Endpoint::PARAM_SLACK_ALERTS => array(), + Save_Alerts_Settings_Endpoint::PARAM_TWILIO_ALERTS_ENABLED => false, + Save_Alerts_Settings_Endpoint::PARAM_TWILIO_ALERTS => array(), + Save_Alerts_Settings_Endpoint::PARAM_ALERT_THRESHOLD_COUNT => 5, + Save_Alerts_Settings_Endpoint::PARAM_ALERT_THRESHOLD_INTERVAL => 5, + ); + } + + public function record_failed_email() { + $current_data = get_transient( self::ALERTS_DATA_TRANSIENT ); + $alert_count_interval = $this->plugin_data->get_plugin_setting( Save_Alerts_Settings_Endpoint::PARAM_ALERT_THRESHOLD_INTERVAL, 5 ); + + if ( $current_data !== false ) { + $current_data['count'] += 1; + $created_at = new \DateTime( date( 'Y-m-d H:i:s', $current_data['created_at'] ) ); + $now = new \DateTime(); + $interval = $now->diff( $created_at ); + $seconds_diff = (int) $interval->format( '%i' ) * 60 + ( (int) $interval->format( '%s' ) ); + $new_exp = ( MINUTE_IN_SECONDS * ( $alert_count_interval + 2 ) ) - $seconds_diff; + + set_transient( self::ALERTS_DATA_TRANSIENT, $current_data, $new_exp ); + + return; + } + + $current_data = array( + 'count' => 1, + 'created_at' => time(), + ); + + set_transient( self::ALERTS_DATA_TRANSIENT, $current_data, MINUTE_IN_SECONDS * ( $alert_count_interval + 2 ) ); + } + + public function failed_emails_alert() { + $alerts_settings = $this->plugin_data->get_plugin_setting( Save_Alerts_Settings_Endpoint::PARAM_SETTINGS, $this->default_settings() ); + $logging_enabled = $this->plugin_data->get_plugin_setting( Save_Plugin_Settings_Endpoint::PARAM_EVENT_LOG_ENABLED, false ); + + $send_on_fail_enabled = Booliesh::get( $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_NOTIFY_WHEN_EMAIL_FAILS ] ); + + // This alert trigger is not enabled. + if ( ! $send_on_fail_enabled ) { + return; + } + + $count = isset( $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_ALERT_THRESHOLD_COUNT ] ) ? $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_ALERT_THRESHOLD_COUNT ] : 5; + $failures = get_transient( self::ALERTS_DATA_TRANSIENT ); + + if ( false === $failures ) { + return; + } + + if ( $failures['count'] < $count ) { + return; + } + + $slack_enabled = Booliesh::get( $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_SLACK_ALERTS_ENABLED ] ); + + if ( $slack_enabled ) { + $this->send_slack_alerts( $failures['count'], $logging_enabled, $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_SLACK_ALERTS ] ); + } + + $twilio_enabled = Booliesh::get( $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_TWILIO_ALERTS_ENABLED ] ); + + if ( $twilio_enabled ) { + $this->send_twilio_alerts( $failures['count'], $logging_enabled, $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_TWILIO_ALERTS ] ); + } + + delete_transient( self::ALERTS_DATA_TRANSIENT ); + } + + private function failed_email_message( $count, $logging_enabled ) { + $base_url = admin_url( 'admin.php' ); + + if ( $logging_enabled ) { + $url = add_query_arg( array( + 'page' => 'gravitysmtp-activity-log', + ), $base_url ); + } else { + $url = add_query_arg( array( + 'page' => 'gravitysmtp-dashboard', + ), $base_url ); + } + + return esc_html__( sprintf( 'Your site %s has experienced %d email send failures. For more details visit %s', get_bloginfo( 'name' ), $count, $url ) ); + } + + private function send_slack_alerts( $count, $logging_enabled, $alerts ) { + if ( empty( $alerts ) ) { + return; + } + + /** + * @var Slack_Alert_Connector $slack_connector + */ + $slack_connector = $this->connectors['slack']; + $message = $this->failed_email_message( $count, $logging_enabled ); + + foreach ( $alerts as $alert ) { + $args = array( + 'webhook_url' => $alert['slack_webhook_url'], + 'message' => $message + ); + + $slack_connector->send( $args ); + } + } + + private function send_twilio_alerts( $count, $logging_enabled, $alerts ) { + if ( empty( $alerts ) ) { + return; + } + + /** + * @var Twilio_Alert_Connector $twilio_connector + */ + $twilio_connector = $this->connectors['twilio']; + $message = $this->failed_email_message( $count, $logging_enabled ); + + foreach ( $alerts as $alert ) { + $args = array( + 'account_id' => $alert['twilio_account_id'], + 'auth_token' => $alert['twilio_auth_token'], + 'to' => $alert['twilio_to_phone_number'], + 'from' => $alert['twilio_from_phone_number'], + 'message' => $message, + ); + + $twilio_connector->send( $args ); + } + } + +} diff --git a/includes/alerts/class-alerts-service-provider.php b/includes/alerts/class-alerts-service-provider.php new file mode 100644 index 0000000..d491fcd --- /dev/null +++ b/includes/alerts/class-alerts-service-provider.php @@ -0,0 +1,84 @@ + Alerts_Config::class, + self::ALERTS_ENDPOINTS_CONFIG => Alerts_Endpoints_Config::class + ); + + public function register( Service_Container $container ) { + parent::register( $container ); + + $container->add( self::TWILIO_ALERT_CONNECTOR, function () use ( $container ) { + $debug_logger = $container->get( Logging_Service_Provider::DEBUG_LOGGER ); + + return new Twilio_Alert_Connector( $debug_logger ); + } ); + + $container->add( self::SLACK_ALERT_CONNECTOR, function () use ( $container ) { + $debug_logger = $container->get( Logging_Service_Provider::DEBUG_LOGGER ); + + return new Slack_Alert_Connector( $debug_logger ); + } ); + + $container->add( self::SAVE_ALERTS_SETTINGS_ENDPOINT, function () use ( $container ) { + $plugin_data_store = $container->get( Connector_Service_Provider::DATA_STORE_PLUGIN_OPTS ); + + return new Save_Alerts_Settings_Endpoint( $plugin_data_store ); + } ); + + $container->add( self::ALERTS_HANDLER, function() use ( $container ) { + $connectors = array( + 'slack' => $container->get( self::SLACK_ALERT_CONNECTOR ), + 'twilio' => $container->get( self::TWILIO_ALERT_CONNECTOR ), + ); + + $data_store = $container->get( Connector_Service_Provider::DATA_STORE_ROUTER ); + $event_model = $container->get( Connector_Service_Provider::EVENT_MODEL ); + + return new Alerts_Handler( $event_model, $data_store, $connectors ); + } ); + } + + public function init( \Gravity_Forms\Gravity_Tools\Service_Container $container ) { + add_action( 'wp_ajax_' . Save_Alerts_Settings_Endpoint::ACTION_NAME, function () use ( $container ) { + $container->get( self::SAVE_ALERTS_SETTINGS_ENDPOINT )->handle(); + } ); + + if ( ! wp_next_scheduled( self::FAILED_EMAILS_ALERT_ACTION_NAME ) ) { + wp_schedule_event( time(), 'every-minute', self::FAILED_EMAILS_ALERT_ACTION_NAME ); + } + + add_action( 'gravitysmtp_on_send_failure', function ( $email_id ) use ( $container ) { + $container->get( self::ALERTS_HANDLER )->record_failed_email(); + } ); + + add_action( self::FAILED_EMAILS_ALERT_ACTION_NAME, function () use ( $container ) { + $container->get( self::ALERTS_HANDLER )->failed_emails_alert(); + } ); + } + +} \ No newline at end of file diff --git a/includes/alerts/config/class-alerts-config.php b/includes/alerts/config/class-alerts-config.php new file mode 100644 index 0000000..61c3174 --- /dev/null +++ b/includes/alerts/config/class-alerts-config.php @@ -0,0 +1,239 @@ + array( + 'settings' => array( + 'i18n' => $this->i18n_values(), + 'data' => $this->data_values(), + ), + ) + ); + } + + protected function i18n_values() { + return array( + 'alerts' => array( + 'top_heading' => esc_html__( 'Alerts', 'gravitysmtp' ), + 'top_content' => __( "Use these settings to configure alerts for failed email sending attempts. Set up notifications through Slack or SMS (via Twilio) to ensure you're informed when an email fails to send. Multiple integrations can be added and managed.", 'gravitysmtp' ), + 'alerts_box_heading' => esc_html__( 'Alerts Settings', 'gravitysmtp' ), + 'notify_heading' => esc_html__( 'When to Notify', 'gravitysmtp' ), + 'email_request_fails_label' => esc_html__( 'Email send request fails', 'gravitysmtp' ), + 'email_request_fails_help_text' => esc_html__( 'Enable this option send an alert when an email send attempt fails for any reason.', 'gravitysmtp' ), + 'alert_threshold_count_label' => esc_html__( 'Failure Amount', 'gravitysmtp' ), + 'alert_threshold_count_help_text' => esc_html__( 'The number of failures to trigger an alert.', 'gravitysmtp' ), + 'alert_threshold_interval_label' => esc_html__( 'Alert Rate', 'gravitysmtp' ), + 'alert_threshold_interval_help_text' => esc_html__( 'Interval for sending alerts about failures (in minutes).', 'gravitysmtp' ), + 'slack_heading' => esc_html__( 'Slack', 'gravitysmtp' ), + 'slack_alerts_label' => esc_html__( 'Slack Alerts', 'gravitysmtp' ), + 'slack_alerts_help_text' => __( "Enable the Slack webhook URL you'd like to use to alerts when email sending fails.", 'gravitysmtp' ), + 'slack_webhook_add_button_label' => esc_html__( 'Add Webhook', 'gravitysmtp' ), + 'slack_webhook_delete_button_label' => esc_html__( 'Delete', 'gravitysmtp' ), + 'twilio_heading' => esc_html__( 'Twilio', 'gravitysmtp' ), + 'twilio_alerts_block_heading' => esc_html__( 'Twilio Account: %s', 'gravitysmtp' ), + 'twilio_alerts_label' => esc_html__( 'SMS via Twilio Alerts', 'gravitysmtp' ), + 'twilio_alerts_help_text' => __( "Enter the Twilio account you'd like to use to send alerts when email sending fails.", 'gravitysmtp' ), + 'twilio_account_add_button_label' => esc_html__( 'Add Another Account', 'gravitysmtp' ), + 'twilio_account_delete_button_label' => esc_html__( 'Delete', 'gravitysmtp' ), + 'save_settings_button_label' => esc_html__( 'Save Settings', 'gravitysmtp' ), + 'drag_button_label' => esc_html__( 'Click to toggle drag and drop.', 'gravitysmtp' ), + 'begin_drag_notice' => __( 'Entering drag and drop for item %1$s.', 'gravitysmtp' ), + 'end_drag_notice' => __( 'Exiting drag and drop for item %1$s.', 'gravitysmtp' ), + 'end_drop_notice' => __( 'Item %1$s moved to position %2$s.', 'gravitysmtp' ), + 'move_item_notice' => __( 'Moving item %1$s to position %2$s.', 'gravitysmtp' ), + ) + ); + } + + private function empty_twilio_item() { + return array( + 'repeater_item_block_content_title' => esc_html__( 'Twilio Account:', 'gravitysmtp' ), + 'repeater_item_collapsed' => false, + 'repeater_item_id' => 'repeater-twilio-alerts-0', + 'twilio_account_name' => '', + 'twilio_account_id' => '', + 'twilio_auth_token' => '', + 'twilio_from_phone_number' => '', + 'twilio_to_phone_number' => '', + ); + } + + private function empty_slack_item() { + return array( + 'repeater_item_id' => 'repeater-slack-alerts-0', + 'slack_webhook_url' => '', + ); + } + + private function default_setting_values() { + return array( + Save_Alerts_Settings_Endpoint::PARAM_NOTIFY_WHEN_EMAIL_FAILS => false, + Save_Alerts_Settings_Endpoint::PARAM_SLACK_ALERTS_ENABLED => false, + Save_Alerts_Settings_Endpoint::PARAM_SLACK_ALERTS => array(), + Save_Alerts_Settings_Endpoint::PARAM_TWILIO_ALERTS_ENABLED => false, + Save_Alerts_Settings_Endpoint::PARAM_TWILIO_ALERTS => array(), + Save_Alerts_Settings_Endpoint::PARAM_ALERT_THRESHOLD_COUNT => 5, + Save_Alerts_Settings_Endpoint::PARAM_ALERT_THRESHOLD_INTERVAL => 5, + ); + } + + protected function data_values() { + $container = Gravity_SMTP::container(); + $plugin_data_store = $container->get( Connector_Service_Provider::DATA_STORE_ROUTER ); + // todo: not sure these defaults work correctly + $alerts_settings = $plugin_data_store->get_plugin_setting( Save_Alerts_Settings_Endpoint::PARAM_SETTINGS, $this->default_setting_values() ); + + $notify_when_email_sending_fails_enabled = Booliesh::get( $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_NOTIFY_WHEN_EMAIL_FAILS ] ); + $slack_alerts_enabled = Booliesh::get( $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_SLACK_ALERTS_ENABLED ] ); + $twilio_alerts_enabled = Booliesh::get( $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_TWILIO_ALERTS_ENABLED ] ); + $alert_threshold_count = isset( $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_ALERT_THRESHOLD_COUNT ] ) ? $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_ALERT_THRESHOLD_COUNT ] : 5; + $alert_threshold_interval = isset( $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_ALERT_THRESHOLD_INTERVAL ] ) ? $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_ALERT_THRESHOLD_INTERVAL ] : 5; + + $slack_alerts = ! empty( $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_SLACK_ALERTS ] ) ? $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_SLACK_ALERTS ] : array( $this->empty_slack_item() ); + $twilio_alerts = ! empty( $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_TWILIO_ALERTS ] ) ? $alerts_settings[ Save_Alerts_Settings_Endpoint::PARAM_TWILIO_ALERTS ] : array( $this->empty_twilio_item() ); + + // Fix boolean strings + foreach ( $twilio_alerts as $key => $values ) { + $values['repeater_item_collapsed'] = Booliesh::get( $values['repeater_item_collapsed'] ); + $twilio_alerts[ $key ] = $values; + } + + return array( + 'alerts_settings' => array( + 'notify_when_email_sending_fails_enabled' => $notify_when_email_sending_fails_enabled, + 'slack_alerts_enabled' => $slack_alerts_enabled, + 'twilio_alerts_enabled' => $twilio_alerts_enabled, + 'alert_threshold_count' => $alert_threshold_count, + 'alert_threshold_interval' => $alert_threshold_interval, + self::SETTING_SLACK_ALERTS => array( + 'fields' => array( + array( + 'component' => 'Input', + 'props' => array( + 'labelAttributes' => array( + 'label' => esc_html__( 'Webhook URL', 'gravitysmtp' ), + 'isVisible' => false, + ), + 'name' => self::SETTING_SLACK_WEBHOOK_URL, + ), + ) + ), + 'items' => $slack_alerts, + 'path' => 'gravitysmtp_admin_config.components.settings.data.alerts_settings.' . self::SETTING_SLACK_ALERTS . '.items', + ), + self::SETTING_TWILIO_ALERTS => array( + 'fields' => array( + array( + 'component' => 'Input', + 'props' => array( + 'labelAttributes' => array( + 'label' => esc_html__( 'Account Name', 'gravitysmtp' ), + 'size' => 'text-sm', + 'weight' => 'medium', + ), + 'name' => self::SETTING_TWILIO_ACCOUNT_NAME, + ), + ), + array( + 'component' => 'Input', + 'props' => array( + 'labelAttributes' => array( + 'label' => esc_html__( 'Twilio Account ID', 'gravitysmtp' ), + 'size' => 'text-sm', + 'weight' => 'medium', + ), + 'name' => self::SETTING_TWILIO_ACCOUNT_ID, + ), + ), + array( + 'component' => 'Input', + 'props' => array( + 'labelAttributes' => array( + 'label' => esc_html__( 'Twilio Auth Token', 'gravitysmtp' ), + 'size' => 'text-sm', + 'weight' => 'medium', + ), + 'name' => self::SETTING_TWILIO_AUTH_TOKEN, + ), + ), + array( + 'component' => 'Input', + 'props' => array( + 'labelAttributes' => array( + 'label' => esc_html__( 'From Phone Number', 'gravitysmtp' ), + 'size' => 'text-sm', + 'weight' => 'medium', + ), + 'name' => self::SETTING_TWILIO_FROM_PHONE_NUMBER, + ), + ), + array( + 'component' => 'Input', + 'props' => array( + 'labelAttributes' => array( + 'label' => esc_html__( 'To Phone Number', 'gravitysmtp' ), + 'size' => 'text-sm', + 'weight' => 'medium', + ), + 'name' => self::SETTING_TWILIO_TO_PHONE_NUMBER, + ), + ), + ), + 'items' => $twilio_alerts, + 'path' => 'gravitysmtp_admin_config.components.settings.data.alerts_settings.' . self::SETTING_TWILIO_ALERTS . '.items', + ), + ), + ); + } +} diff --git a/includes/alerts/config/class-alerts-endpoints-config.php b/includes/alerts/config/class-alerts-endpoints-config.php new file mode 100644 index 0000000..a7dc26b --- /dev/null +++ b/includes/alerts/config/class-alerts-endpoints-config.php @@ -0,0 +1,36 @@ + array( + 'endpoints' => array( + Save_Alerts_Settings_Endpoint::ACTION_NAME => array( + 'action' => array( + 'value' => Save_Alerts_Settings_Endpoint::ACTION_NAME, + 'default' => 'mock_endpoint', + ), + 'nonce' => array( + 'value' => wp_create_nonce( Save_Alerts_Settings_Endpoint::ACTION_NAME ), + 'default' => 'nonce', + ), + ), + ), + ), + ); + } + +} \ No newline at end of file diff --git a/includes/alerts/connectors/class-slack-alert-connector.php b/includes/alerts/connectors/class-slack-alert-connector.php new file mode 100644 index 0000000..a0c572d --- /dev/null +++ b/includes/alerts/connectors/class-slack-alert-connector.php @@ -0,0 +1,62 @@ +debug_logger = $debug_logger; + } + + public function send( $send_args ) { + $webhook_url = $send_args['webhook_url']; + $message = $send_args['message']; + + $request_body = array( + 'text' => $message, + ); + + $request_body = apply_filters( 'gravitysmtp_slack_alert_request_body', $request_body, $send_args ); + + $this->debug_logger->log_debug( __METHOD__ . '(): About to make request to Slack with the following request args: ' . json_encode( $request_body ) ); + + $request_params = array( + 'body' => json_encode( $request_body ), + 'headers' => array( + 'Content-Type' => 'application/json', + ), + ); + + $request = $this->make_request( $webhook_url, $request_params ); + + if ( is_wp_error( $request ) ) { + $this->debug_logger->log_error( __METHOD__ . '(): Request to Slack failed.' ); + + return false; + } + + $this->debug_logger->log_debug( __METHOD__ . '(): Request to Slack succeeded.' ); + + return true; + } + + public function make_request( $url, $request_args ) { + $request = wp_remote_post( $url, $request_args ); + $code = wp_remote_retrieve_response_code( $request ); + + if ( (int) $code !== 200 ) { + $this->debug_logger->log_error( wp_remote_retrieve_body( $request ) ); + + return new \WP_Error( 'Could not send message via Slack.' ); + } + + return true; + } +} \ No newline at end of file diff --git a/includes/alerts/connectors/class-twilio-alert-connector.php b/includes/alerts/connectors/class-twilio-alert-connector.php new file mode 100644 index 0000000..fa8508c --- /dev/null +++ b/includes/alerts/connectors/class-twilio-alert-connector.php @@ -0,0 +1,80 @@ +debug_logger = $debug_logger; + } + + public function send( $send_args ) { + $account_id = $send_args['account_id']; + $auth_token = $send_args['auth_token']; + $to = $send_args['to']; + $from = $send_args['from']; + $message = $send_args['message']; + + $request_body = array( + 'ApplicationSid' => $account_id, + 'Body' => $message, + 'To' => $to, + 'From' => $from, + ); + + $request_body = apply_filters( 'gravitysmtp_twilio_alert_request_body', $request_body, $send_args ); + + $request_headers = array( + 'Authorization' => $this->get_auth_header( $account_id, $auth_token ), + ); + + $this->debug_logger->log_debug( __METHOD__ . '(): About to make request to Twilio with the following request args: ' . json_encode( $request_body ) ); + + $request_params = array( + 'body' => $request_body, + 'headers' => $request_headers, + ); + + $request = $this->make_request( $this->get_request_url( $account_id ), $request_params ); + + if ( is_wp_error( $request ) ) { + $this->debug_logger->log_error( __METHOD__ . '(): Request to Twilio failed.' ); + + return false; + } + + $this->debug_logger->log_debug( __METHOD__ . '(): Request to Twilio succeeded.' ); + + return true; + } + + public function make_request( $url, $request_args ) { + $request = wp_remote_post( $url, $request_args ); + $code = wp_remote_retrieve_response_code( $request ); + + if ( (int) $code !== 201 ) { + $this->debug_logger->log_error( wp_remote_retrieve_body( $request ) ); + + return new \WP_Error( 'Could not send message via Twilio.' ); + } + + return true; + } + + private function get_request_url( $account_id ) { + return sprintf( '%s/%s/Messages.json', self::BASE_URL, $account_id ); + } + + private function get_auth_header( $account_id, $auth_token ) { + return 'Basic ' . base64_encode( sprintf( '%s:%s', $account_id, $auth_token ) ); + } +} \ No newline at end of file diff --git a/includes/alerts/connectors/interface-alert-connector.php b/includes/alerts/connectors/interface-alert-connector.php new file mode 100644 index 0000000..63e5ad8 --- /dev/null +++ b/includes/alerts/connectors/interface-alert-connector.php @@ -0,0 +1,11 @@ +plugin_data_store = $plugin_data_store; + } + + protected function get_nonce_name() { + return self::ACTION_NAME; + } + + public function handle() { + if ( ! $this->validate() ) { + wp_send_json_error( __( 'Missing required parameters.', 'gravitysmtp' ), 400 ); + } + + $settings = filter_input( INPUT_POST, self::PARAM_SETTINGS, FILTER_DEFAULT, FILTER_REQUIRE_ARRAY ); + + $this->plugin_data_store->save( self::PARAM_SETTINGS, $settings ); + + wp_send_json_success( $settings ); + } + +} \ No newline at end of file diff --git a/includes/apps/class-apps-service-provider.php b/includes/apps/class-apps-service-provider.php index 6eb4fb9..6b90127 100644 --- a/includes/apps/class-apps-service-provider.php +++ b/includes/apps/class-apps-service-provider.php @@ -14,6 +14,7 @@ use Gravity_Forms\Gravity_SMTP\Connectors\Endpoints\Save_Plugin_Settings_Endpoint; use Gravity_Forms\Gravity_SMTP\Feature_Flags\Feature_Flag_Manager; use Gravity_Forms\Gravity_SMTP\Gravity_SMTP; +use Gravity_Forms\Gravity_SMTP\Models\Suppressed_Emails_Model; use Gravity_Forms\Gravity_Tools\Apps\Registers_Apps; use Gravity_Forms\Gravity_Tools\Providers\Config_Service_Provider; use Gravity_Forms\Gravity_Tools\Service_Container; @@ -78,6 +79,7 @@ public function register( Service_Container $container ) { $this->register_activity_log_app( $min, $ver ); $this->register_tools_app( $min, $ver ); $this->register_dashboard_app( $min, $ver ); + $this->register_suppression_app( $min, $ver ); $this->container->add( self::GET_DASHBOARD_DATA_ENDPOINT, function() use ( $container ) { $dashboard_config = $container->get( self::DASHBOARD_CONFIG ); @@ -186,6 +188,25 @@ protected function register_dashboard_app( $min, $ver ) { $this->register_app( $args ); } + protected function register_suppression_app( $min, $ver ) { + $args = array( + 'app_name' => 'suppression', + 'script_name' => 'gravitysmtp_scripts_admin', + 'object_name' => 'gravitysmtp_admin_config', + 'chunk' => './suppression', + 'enqueue' => array( $this, 'should_enqueue_suppression' ), + 'css' => array( + 'handle' => 'suppression_styles', + 'src' => $this->plugin_url . "/assets/css/dist/suppression{$min}.css", + 'deps' => array( 'gravitysmtp_styles_base' ), + 'ver' => $ver, + ), + 'root_element' => 'gravitysmtp-suppression-app-root', + ); + + $this->register_app( $args ); + } + public function should_enqueue_dashboard() { $enabled = Feature_Flag_Manager::is_enabled( self::FEATURE_FLAG_DASHBOARD ); @@ -240,6 +261,18 @@ public function should_enqueue_tools() { return $page === 'gravitysmtp-tools'; } + public function should_enqueue_suppression() { + $page = filter_input( INPUT_GET, 'page' ); + + if ( ! is_string( $page ) ) { + return false; + } + + $page = htmlspecialchars( $page ); + + return $page === 'gravitysmtp-suppression'; + } + protected function get_root_markup( $root ) { return '
'; } diff --git a/includes/apps/config/class-apps-config.php b/includes/apps/config/class-apps-config.php index 8674957..9f76e6a 100644 --- a/includes/apps/config/class-apps-config.php +++ b/includes/apps/config/class-apps-config.php @@ -2,11 +2,14 @@ namespace Gravity_Forms\Gravity_SMTP\Apps\Config; +use Gravity_Forms\Gravity_SMTP\Alerts\Endpoints\Save_Alerts_Settings_Endpoint; use Gravity_Forms\Gravity_SMTP\Connectors\Connector_Service_Provider; use Gravity_Forms\Gravity_SMTP\Connectors\Endpoints\Save_Plugin_Settings_Endpoint; +use Gravity_Forms\Gravity_SMTP\Experimental_Features\Experiment_Features_Handler; use Gravity_Forms\Gravity_SMTP\Tracking\Tracking_Service_Provider; use Gravity_Forms\Gravity_SMTP\Gravity_SMTP; use Gravity_Forms\Gravity_SMTP\Users\Roles; +use Gravity_Forms\Gravity_SMTP\Utils\Booliesh; use Gravity_Forms\Gravity_Tools\Config; class Apps_Config extends Config { @@ -27,6 +30,17 @@ public function data() { $usage_analytics_enabled = $plugin_data_store->get_plugin_setting( Save_Plugin_Settings_Endpoint::PARAM_USAGE_ANALYTICS, 'true' ); $usage_analytics_enabled = isset( $usage_analytics_enabled ) && $usage_analytics_enabled !== 'false'; + // todo: @aaron from here to line 42, please refactor as you see fit. We need deep defaults maybe, or a pattern, and i need deep Booliesh hahaha unless what i did there is cool + $experimental_features = $plugin_data_store->get_plugin_setting( Experiment_Features_Handler::ENABLED_EXPERIMENTS_PARAM, array() ); + + if ( ! isset( $experimental_features[ 'alerts_management' ] ) ) { + $experimental_features[ 'alerts_management' ] = false; + } + + foreach( $experimental_features as $feature => $enabled ) { + $experimental_features[ $feature ] = Booliesh::get( $enabled ); + } + return array( 'common' => array( 'i18n' => array( @@ -79,6 +93,9 @@ public function data() { 'CAPS_DELETE_DEBUG_LOG' => Roles::DELETE_DEBUG_LOG, 'CAPS_DELETE_EMAIL_LOG' => Roles::DELETE_EMAIL_LOG, 'CAPS_DELETE_EMAIL_LOG_DETAILS' => Roles::DELETE_EMAIL_LOG_DETAILS, + 'CAPS_EDIT_ALERTS' => Roles::EDIT_ALERTS, + 'CAPS_EDIT_ALERTS_SLACK_SETTINGS' => Roles::EDIT_ALERTS_SLACK_SETTINGS, + 'CAPS_EDIT_ALERTS_TWILIO_SETTINGS' => Roles::EDIT_ALERTS_TWILIO_SETTINGS, 'CAPS_EDIT_DEBUG_LOG' => Roles::EDIT_DEBUG_LOG, 'CAPS_EDIT_EMAIL_LOG' => Roles::EDIT_EMAIL_LOG, 'CAPS_EDIT_EMAIL_LOG_DETAILS' => Roles::EDIT_EMAIL_LOG_DETAILS, @@ -88,9 +105,13 @@ public function data() { 'CAPS_EDIT_GENERAL_SETTINGS' => Roles::EDIT_GENERAL_SETTINGS, 'CAPS_EDIT_INTEGRATIONS' => Roles::EDIT_INTEGRATIONS, 'CAPS_EDIT_LICENSE_KEY' => Roles::EDIT_LICENSE_KEY, + 'CAPS_EDIT_EXPERIMENTAL_FEATURES' => Roles::EDIT_EXPERIMENTAL_FEATURES, 'CAPS_EDIT_TEST_MODE' => Roles::EDIT_TEST_MODE, 'CAPS_EDIT_UNINSTALL' => Roles::EDIT_UNINSTALL, 'CAPS_EDIT_USAGE_ANALYTICS' => Roles::EDIT_USAGE_ANALYTICS, + 'CAPS_VIEW_ALERTS' => Roles::VIEW_ALERTS, + 'CAPS_VIEW_ALERTS_SLACK_SETTINGS' => Roles::VIEW_ALERTS_SLACK_SETTINGS, + 'CAPS_VIEW_ALERTS_TWILIO_SETTINGS' => Roles::VIEW_ALERTS_TWILIO_SETTINGS, 'CAPS_VIEW_DEBUG_LOG' => Roles::VIEW_DEBUG_LOG, 'CAPS_VIEW_EMAIL_LOG' => Roles::VIEW_EMAIL_LOG, 'CAPS_VIEW_EMAIL_LOG_DETAILS' => Roles::VIEW_EMAIL_LOG_DETAILS, @@ -101,6 +122,7 @@ public function data() { 'CAPS_VIEW_GENERAL_SETTINGS' => Roles::VIEW_GENERAL_SETTINGS, 'CAPS_VIEW_INTEGRATIONS' => Roles::VIEW_INTEGRATIONS, 'CAPS_VIEW_LICENSE_KEY' => Roles::VIEW_LICENSE_KEY, + 'CAPS_VIEW_EXPERIMENTAL_FEATURES' => Roles::VIEW_EXPERIMENTAL_FEATURES, 'CAPS_VIEW_TEST_MODE' => Roles::VIEW_TEST_MODE, 'CAPS_VIEW_TOOLS' => Roles::VIEW_TOOLS, 'CAPS_VIEW_TOOLS_SENDATEST' => Roles::VIEW_TOOLS_SENDATEST, @@ -110,17 +132,26 @@ public function data() { 'CAPS_VIEW_DASHBOARD' => Roles::VIEW_DASHBOARD, ), 'debug_log_enabled' => $debug_log_enabled, - 'param_keys' => array( - 'debug_log_enabled' => Save_Plugin_Settings_Endpoint::PARAM_DEBUG_LOG_ENABLED, - 'debug_log_retention' => Save_Plugin_Settings_Endpoint::PARAM_DEBUG_LOG_RETENTION, - 'event_log_enabled' => Save_Plugin_Settings_Endpoint::PARAM_EVENT_LOG_ENABLED, - 'event_log_retention' => Save_Plugin_Settings_Endpoint::PARAM_EVENT_LOG_RETENTION, - 'license_key' => Save_Plugin_Settings_Endpoint::PARAM_LICENSE_KEY, - 'open_tracking' => Tracking_Service_Provider::SETTING_OPEN_TRACKING, - 'save_attachments_enabled' => Save_Plugin_Settings_Endpoint::PARAM_SAVE_ATTACHMENTS_ENABLED, - 'save_email_body_enabled' => Save_Plugin_Settings_Endpoint::PARAM_SAVE_EMAIL_BODY_ENABLED, - 'test_mode' => Save_Plugin_Settings_Endpoint::PARAM_TEST_MODE, - 'usage_analytics' => Save_Plugin_Settings_Endpoint::PARAM_USAGE_ANALYTICS, + 'experimental_features' => $experimental_features, + 'param_keys' => array( + 'alert_threshold_count' => Save_Alerts_Settings_Endpoint::PARAM_ALERT_THRESHOLD_COUNT, + 'alert_threshold_interval' => Save_Alerts_Settings_Endpoint::PARAM_ALERT_THRESHOLD_INTERVAL, + 'debug_log_enabled' => Save_Plugin_Settings_Endpoint::PARAM_DEBUG_LOG_ENABLED, + 'debug_log_retention' => Save_Plugin_Settings_Endpoint::PARAM_DEBUG_LOG_RETENTION, + 'enabled_experimental_features' => Experiment_Features_Handler::ENABLED_EXPERIMENTS_PARAM, + 'event_log_enabled' => Save_Plugin_Settings_Endpoint::PARAM_EVENT_LOG_ENABLED, + 'event_log_retention' => Save_Plugin_Settings_Endpoint::PARAM_EVENT_LOG_RETENTION, + 'license_key' => Save_Plugin_Settings_Endpoint::PARAM_LICENSE_KEY, + 'notify_when_email_sending_fails_enabled' => Save_Plugin_Settings_Endpoint::PARAM_NOTIFY_WHEN_EMAIL_SENDING_FAILS_ENABLED, + 'open_tracking' => Tracking_Service_Provider::SETTING_OPEN_TRACKING, + 'save_attachments_enabled' => Save_Plugin_Settings_Endpoint::PARAM_SAVE_ATTACHMENTS_ENABLED, + 'save_email_body_enabled' => Save_Plugin_Settings_Endpoint::PARAM_SAVE_EMAIL_BODY_ENABLED, + 'slack_alerts' => Save_Alerts_Settings_Endpoint::PARAM_SLACK_ALERTS, + 'slack_alerts_enabled' => Save_Plugin_Settings_Endpoint::PARAM_SLACK_ALERTS_ENABLED, + 'test_mode' => Save_Plugin_Settings_Endpoint::PARAM_TEST_MODE, + 'twilio_alerts' => Save_Alerts_Settings_Endpoint::PARAM_TWILIO_ALERTS, + 'twilio_alerts_enabled' => Save_Plugin_Settings_Endpoint::PARAM_TWILIO_ALERTS_ENABLED, + 'usage_analytics' => Save_Plugin_Settings_Endpoint::PARAM_USAGE_ANALYTICS, ), 'locked_settings' => $this->get_locked_settings(), 'test_mode_enabled' => $test_mode, diff --git a/includes/apps/config/class-dashboard-config.php b/includes/apps/config/class-dashboard-config.php index 3b4e1bf..a1e9db1 100644 --- a/includes/apps/config/class-dashboard-config.php +++ b/includes/apps/config/class-dashboard-config.php @@ -153,10 +153,10 @@ protected function i18n_values() { return array( 'totals' => array( 'headings' => array( - 'emails' => __( 'Total Emails', 'gravitysmtp' ), - 'sent' => __( 'Total Sent', 'gravitysmtp' ), - 'percentOpen' => __( 'Percent Opened', 'gravitysmtp' ), - 'failed' => __( 'Total Failed', 'gravitysmtp' ), + 'emails' => __( 'Processed', 'gravitysmtp' ), + 'sent' => __( 'Sent', 'gravitysmtp' ), + 'percentOpen' => __( 'Opened', 'gravitysmtp' ), + 'failed' => __( 'Failed', 'gravitysmtp' ), ), ), 'stats' => array( @@ -317,6 +317,10 @@ protected function get_chart_data() { ); } + if ( $datum['status'] !== 'sent' && $datum['status'] !== 'failed' ) { + continue; + } + $sorted[ $datum['date_created'] ][ $datum['status'] ] += $datum['total']; } diff --git a/includes/apps/config/class-email-log-config.php b/includes/apps/config/class-email-log-config.php index b7af15c..0a8b48a 100644 --- a/includes/apps/config/class-email-log-config.php +++ b/includes/apps/config/class-email-log-config.php @@ -18,6 +18,8 @@ class Email_Log_Config extends Config { + const SOURCE_LIST_ITEMS_TRANSIENT = 'gravitysmtp_source_cache'; + protected $script_to_localize = 'gravitysmtp_scripts_admin'; protected $name = 'gravitysmtp_admin_config'; protected $overwrite = false; @@ -43,7 +45,7 @@ public function should_enqueue() { return true; } - public function get_grid_actions( $event_id ) { + public function get_grid_actions( $row ) { $actions = array( 'component' => 'Box', 'components' => array( @@ -61,7 +63,7 @@ public function get_grid_actions( $event_id ) { 'size' => 'size-height-s', 'type' => 'icon-white', 'data' => array( - 'event_id' => $event_id, + 'event_id' => $row['id'], ), 'disabled' => ! current_user_can( Roles::VIEW_EMAIL_LOG_DETAILS ), ), @@ -80,11 +82,30 @@ public function get_grid_actions( $event_id ) { 'size' => 'size-height-s', 'type' => 'icon-white', 'data' => array( - 'event_id' => $event_id, + 'event_id' => $row['id'], ), 'disabled' => ! current_user_can( Roles::VIEW_EMAIL_LOG_PREVIEW ), ), ), + array( + 'component' => 'Button', + 'props' => array( + 'action' => 'resend', + 'customAttributes' => array( + 'title' => esc_html__( 'Resend email', 'gravitysmtp' ), + ), + 'customClasses' => array( 'gravitysmtp-data-grid__action' ), + 'icon' => 'paper-plane', + 'iconPrefix' => 'gravitysmtp-admin-icon', + 'spacing' => [ 0, 2, 0, 0 ], + 'size' => 'size-height-s', + 'type' => 'icon-white', + 'data' => array( + 'event_id' => $row['id'], + ), + 'disabled' => ! current_user_can( Roles::VIEW_EMAIL_LOG_PREVIEW ) || ! $row['can_resend'], // @todo: Add resend permission? + ), + ), array( 'component' => 'Button', 'props' => array( @@ -98,7 +119,7 @@ public function get_grid_actions( $event_id ) { 'size' => 'size-height-s', 'type' => 'icon-white', 'data' => array( - 'event_id' => $event_id, + 'event_id' => $row['id'], ), 'disabled' => ! current_user_can( Roles::DELETE_EMAIL_LOG ), ), @@ -110,7 +131,7 @@ public function get_grid_actions( $event_id ) { } public function get_demo_data_rows() { - $grid_actions = $this->get_grid_actions( null ); + $grid_actions = $this->get_grid_actions( array( 'id' => null, 'can_resend' => true ) ); return array( array( @@ -2397,7 +2418,7 @@ public function get_column_style_props() { $props['source'] = array( 'flexBasis' => '104px' ); $props['integration'] = array( 'flex' => '0 0 122px' ); $props['date'] = array( 'flexBasis' => '250px' ); - $props['actions'] = array( 'flex' => '0 0 130px' ); + $props['actions'] = array( 'flex' => '0 0 168px' ); return apply_filters( 'gravitysmtp_email_log_column_style_props', $props ); } @@ -2413,15 +2434,18 @@ public function get_i18n() { 'top_heading' => esc_html__( 'Email Log', 'gravitysmtp' ), // 'top_content' => __( '', 'gravitysmtp' ), // removing text for now as it is redundant. 'grid_heading' => esc_html__( 'Activity', 'gravitysmtp' ), - // 'active_filters_label' => esc_html__( 'Filters:', 'gravitysmtp' ), + 'active_filters_label' => esc_html__( 'Filters:', 'gravitysmtp' ), + 'active_filters_reset' => esc_html__( 'Reset Filters', 'gravitysmtp' ), 'bulk_select' => esc_html__( 'Select all rows', 'gravitysmtp' ), 'clear_search_aria_label' => esc_html__( 'Clear search', 'gravitysmtp' ), + /* translators: %s: date range */ + 'date_filters_pill_label' => esc_html__( 'Date: %s', 'gravitysmtp' ), + /* translators: 1: from date, 2: to date */ + 'date_filters_trigger_aria_text' => esc_html__( 'Date filters: %1$s to %2$s', 'gravitysmtp' ), + 'date_filters_reset' => esc_html__( 'Reset', 'gravitysmtp' ), + 'date_filters_today' => esc_html__( 'Today', 'gravitysmtp' ), 'empty_title' => esc_html__( 'No emails yet', 'gravitysmtp' ), 'empty_message' => esc_html__( 'As soon as your site sends some emails, you will see them here!', 'gravitysmtp' ), - // 'filters_droplist_reset' => esc_html__( 'Reset', 'gravitysmtp' ), - // 'filters_reset' => esc_html__( 'Reset Filters', 'gravitysmtp' ), - /* translators: %s: number of filters active. */ - // 'filters_trigger_aria_text' => esc_html__( 'Filters: %s filters active.', 'gravitysmtp' ), 'grid_controls_bulk_actions_select_label' => esc_html__( 'Select bulk actions', 'gravitysmtp' ), 'grid_controls_bulk_actions_button_label' => esc_html__( 'Apply', 'gravitysmtp' ), 'grid_controls_search_placeholder' => esc_html__( 'Search', 'gravitysmtp' ), @@ -2433,12 +2457,17 @@ public function get_i18n() { /* translators: 1: number of entries to be selected. */ 'select_notice_select_all_number_entries' => esc_html__( 'Select All %1$s Emails', 'gravitysmtp' ), 'select_notice_clear_selection' => esc_html__( 'Clear Selection', 'gravitysmtp' ), + 'simple_filters_droplist_reset' => esc_html__( 'Reset', 'gravitysmtp' ), + /* translators: %s: number of filters active. */ + 'simple_filters_trigger_aria_text' => esc_html__( 'Filters: %s filters active.', 'gravitysmtp' ), 'pagination_next' => esc_html__( 'Next', 'gravitysmtp' ), 'pagination_prev' => esc_html__( 'Previous', 'gravitysmtp' ), 'pagination_next_aria_label' => esc_html__( 'Next Page', 'gravitysmtp' ), 'pagination_prev_aria_label' => esc_html__( 'Previous Page', 'gravitysmtp' ), 'search_no_results_title' => esc_html__( 'No results found', 'gravitysmtp' ), 'search_no_results_message' => esc_html__( 'No results found for your search', 'gravitysmtp' ), + /* translators: %s: search term */ + 'search_pill_label' => esc_html__( 'Search: %s', 'gravitysmtp' ), 'select_row' => esc_html__( 'Select row', 'gravitysmtp' ), ), 'debug_messages' => array( @@ -2463,16 +2492,183 @@ public function get_i18n() { 'confirm_delete_email_content' => esc_html__( 'Are you sure you want to delete this email log?', 'gravitysmtp' ), 'confirm_delete_email_delete' => esc_html__( 'Delete', 'gravitysmtp' ), 'confirm_delete_email_cancel' => esc_html__( 'Cancel', 'gravitysmtp' ), + 'confirm_resend_email_heading' => esc_html__( 'Resend Email', 'gravitysmtp' ), + 'confirm_resend_email_content' => esc_html__( 'Are you sure you want to resend this email?', 'gravitysmtp' ), + 'confirm_resend_email_resend' => esc_html__( 'Resend', 'gravitysmtp' ), + 'confirm_resend_email_cancel' => esc_html__( 'Cancel', 'gravitysmtp' ), 'confirm_bulk_delete_heading' => esc_html__( 'Confirm Deletion', 'gravitysmtp' ), /* translators: 1: number of selected entries. */ 'confirm_bulk_delete_content' => esc_html__( 'Are you sure you want to delete %1$s entries? This action is irreversible, and all records will be permanently removed from the database.', 'gravitysmtp' ), + 'confirm_resend_email_heading' => esc_html__( 'Resend Email', 'gravitysmtp' ), + 'confirm_resend_email_content' => esc_html__( 'Are you sure you want to resend this email?', 'gravitysmtp' ), + 'confirm_resend_email_resend' => esc_html__( 'Resend', 'gravitysmtp' ), + 'confirm_resend_email_cancel' => esc_html__( 'Cancel', 'gravitysmtp' ), ); } + protected function get_connectors_list_items() { + $connectors = Gravity_SMTP::container()->get( Connector_Service_Provider::CONNECTOR_DATA_MAP ); + $pill_label = esc_html__( '%1$s: %2$s', 'gravitysmtp' ); + + $list_items = array(); + foreach ( $connectors as $connector_slug => $connector ) { + if ( isset( $connector['data']['disabled'] ) && $connector['data']['disabled'] ) { + continue; + } + + $list_items[] = array( + 'key' => "service-$connector_slug", + 'props' => array( + 'customAttributes' => array( + 'data-key' => 'service', + 'data-value' => $connector_slug, + 'data-pill-label' => sprintf( $pill_label, esc_html__( 'Service', 'gravitysmtp' ), $connector['title'] ), + 'id' => "service-$connector_slug", + ), + 'element' => 'button', + 'label' => $connector['title'], + ), + ); + } + + return $list_items; + } + + protected function get_simple_filter_options() { + /* translators: 1: label of filter key, 2: label of filter value. */ + $pill_label = esc_html__( '%1$s: %2$s', 'gravitysmtp' ); + + return array( + array( + 'key' => 'status', + 'triggerAttributes' => array( + 'id' => 'status', + 'label' => esc_html__( 'Status', 'gravitysmtp' ), + ), + 'listItems' => array( + array( + 'key' => 'status-sent', + 'props' => array( + 'customAttributes' => array( + 'data-key' => 'status', + 'data-value' => 'sent', + 'data-pill-label' => sprintf( $pill_label, esc_html__( 'Status', 'gravitysmtp' ), esc_html__( 'Sent', 'gravitysmtp' ) ), + 'id' => 'status-sent', + ), + 'element' => 'button', + 'label' => esc_html__( 'Sent', 'gravitysmtp' ), + ), + ), + array( + 'key' => 'status-failed', + 'props' => array( + 'customAttributes' => array( + 'data-key' => 'status', + 'data-value' => 'failed', + 'data-pill-label' => sprintf( $pill_label, esc_html__( 'Status', 'gravitysmtp' ), esc_html__( 'Failed', 'gravitysmtp' ) ), + 'id' => 'status-failed', + ), + 'element' => 'button', + 'label' => esc_html__( 'Failed', 'gravitysmtp' ), + ), + ), + array( + 'key' => 'status-sandboxed', + 'props' => array( + 'customAttributes' => array( + 'data-key' => 'status', + 'data-value' => 'sandboxed', + 'data-pill-label' => sprintf( $pill_label, esc_html__( 'Status', 'gravitysmtp' ), esc_html__( 'Sandboxed', 'gravitysmtp' ) ), + 'id' => 'status-sandboxed', + ), + 'element' => 'button', + 'label' => esc_html__( 'Sandboxed', 'gravitysmtp' ), + ), + ), + array( + 'key' => 'status-suppressed', + 'props' => array( + 'customAttributes' => array( + 'data-key' => 'status', + 'data-value' => 'suppressed', + 'data-pill-label' => sprintf( $pill_label, esc_html__( 'Status', 'gravitysmtp' ), esc_html__( 'Suppressed', 'gravitysmtp' ) ), + 'id' => 'status-suppressed', + ), + 'element' => 'button', + 'label' => esc_html__( 'Suppressed', 'gravitysmtp' ), + ), + ), + array( + 'key' => 'status-pending', + 'props' => array( + 'customAttributes' => array( + 'data-key' => 'status', + 'data-value' => 'pending', + 'data-pill-label' => sprintf( $pill_label, esc_html__( 'Status', 'gravitysmtp' ), esc_html__( 'Pending', 'gravitysmtp' ) ), + 'id' => 'status-pending', + ), + 'element' => 'button', + 'label' => esc_html__( 'Pending', 'gravitysmtp' ), + ), + ), + ), + ), + array( + 'key' => 'service', + 'triggerAttributes' => array( + 'id' => 'service', + 'label' => esc_html__( 'Service', 'gravitysmtp' ), + ), + 'listItems' => $this->get_connectors_list_items(), + ), + array( + 'key' => 'source', + 'triggerAttributes' => array( + 'id' => 'source', + 'label' => esc_html__( 'Source', 'gravitysmtp' ), + ), + 'listItems' => $this->get_source_list_items( $pill_label ), + ), + ); + } + + private function get_source_list_items( $pill_label ) { + $transient = get_transient( self::SOURCE_LIST_ITEMS_TRANSIENT, array() ); + if ( ! empty( $transient ) ) { + return $transient; + } + + $emails = Gravity_SMTP::container()->get( Connector_Service_Provider::EVENT_MODEL ); + $sources = $emails->get_all_sending_sources(); + $items = array(); + + foreach ( $sources as $source ) { + $slug = sanitize_title( $source ); + $items[] = array( + 'key' => 'source-' . $slug, + 'props' => array( + 'customAttributes' => array( + 'data-key' => 'source', + 'data-value' => $source, + 'data-pill-label' => sprintf( $pill_label, esc_html__( 'Source', 'gravitysmtp' ), $source ), + 'id' => 'source-' . $slug, + ), + 'element' => 'button', + 'label' => $source, + ), + ); + } + + set_transient( self::SOURCE_LIST_ITEMS_TRANSIENT, $items ); + + return $items; + } + public function get_log_data() { $emails = Gravity_SMTP::container()->get( Connector_Service_Provider::EVENT_MODEL ); $search_term = filter_input( INPUT_GET, 'search_term' ); $search_type = filter_input( INPUT_GET, 'search_type' ); + $filters = filter_input( INPUT_GET, 'filters' ); $plugin_data_store = Gravity_SMTP::container()->get( Connector_Service_Provider::DATA_STORE_ROUTER ); @@ -2487,7 +2683,14 @@ public function get_log_data() { $search_type = htmlspecialchars( $search_type ); } - $count = $emails->count( $search_term, $search_type ); + if ( ! empty( $filters ) ) { + $filters = json_decode( base64_decode( $filters ), true ); + if ( ! is_array( $filters ) ) { + $filters = array(); + } + } + + $count = $emails->count( $search_term, $search_type, $filters ); $opts = Gravity_SMTP::container()->get( Connector_Service_Provider::DATA_STORE_ROUTER ); $per_page = $opts->get_plugin_setting( Save_Plugin_Settings_Endpoint::PARAM_PER_PAGE, 20 ); @@ -2496,7 +2699,7 @@ public function get_log_data() { 'version' => GF_GRAVITY_SMTP_VERSION, 'route_path' => admin_url( 'admin.php' ), 'ajax_url' => admin_url( 'admin-ajax.php' ), - 'ajax_grid_pagination_url' => site_url( 'wp-content/plugins/gravitysmtp/includes/logging/endpoints/get-paginated-items.php' ), + 'ajax_grid_pagination_url' => trailingslashit( GF_GRAVITY_SMTP_PLUGIN_URL ) . 'includes/logging/endpoints/get-paginated-items.php', 'base_url' => admin_url( 'admin.php?page=gravitysmtp-activity-log' ), 'nav_item_param_key' => 'tab', 'open_tracking_enabled' => Feature_Flag_Manager::is_enabled( 'email_open_tracking' ) && $open_tracking_enabled, @@ -2511,6 +2714,7 @@ public function get_log_data() { 'value' => $this->get_data_rows(), 'default' => $this->get_demo_data_rows(), ), + 'simple_filter_options' => $this->get_simple_filter_options(), ), 'caps' => array( Roles::VIEW_EMAIL_LOG => current_user_can( Roles::VIEW_EMAIL_LOG ), @@ -2543,6 +2747,7 @@ public function get_data_rows() { $search_term = filter_input( INPUT_GET, 'search_term' ); $search_type = filter_input( INPUT_GET, 'search_type' ); + $filters = filter_input( INPUT_GET, 'filters' ); if ( ! empty( $search_term ) ) { $search_term = htmlspecialchars( $search_term ); @@ -2552,13 +2757,21 @@ public function get_data_rows() { $search_type = htmlspecialchars( $search_type ); } - $data = $emails->paginate( $current_page, $per_page, false, $search_term, $search_type ); + if ( ! empty( $filters ) ) { + $filters = json_decode( base64_decode( $filters ), true ); + if ( ! is_array( $filters ) ) { + $filters = array(); + } + } + + $data = $emails->paginate( $current_page, $per_page, false, $search_term, $search_type, null, null, $filters ); $rows = array(); foreach ( $data as $row ) { - $grid_actions = $this->get_grid_actions( $row['id'] ); + $grid_actions = $this->get_grid_actions( $row ); $extra = strpos( $row['extra'], '{' ) === 0 ? json_decode( $row['extra'], true ) : unserialize( $row['extra'] ); - $to_address = $recipient_parser->parse( $extra['to'] )->first()->email(); + $to = isset( $extra['to'] ) ? $extra['to'] : ''; + $to_address = $recipient_parser->parse( $to )->first()->email(); $more_count = max( 0, $row['email_counts'] - 1 ); $row_data = array( diff --git a/includes/apps/config/class-settings-config.php b/includes/apps/config/class-settings-config.php index c1d59c5..8a22ebc 100644 --- a/includes/apps/config/class-settings-config.php +++ b/includes/apps/config/class-settings-config.php @@ -10,6 +10,7 @@ use Gravity_Forms\Gravity_SMTP\Utils\Booliesh; use Gravity_Forms\Gravity_Tools\Config; use Gravity_Forms\Gravity_Tools\License\License_Statuses; +use Gravity_Forms\Gravity_SMTP\Experimental_Features\Experiment_Features_Handler; use Gravity_Forms\Gravity_Tools\Updates\Updates_Service_Provider; class Settings_Config extends Config { @@ -60,7 +61,7 @@ public function data() { $email_log_retention = $plugin_data_store->get_plugin_setting( Save_Plugin_Settings_Endpoint::PARAM_EVENT_LOG_RETENTION, 7 ); $max_records_value = $plugin_data_store->get_plugin_setting( Save_Plugin_Settings_Endpoint::PARAM_MAX_EVENT_RECORDS, 0 ); $open_tracking_enabled = $plugin_data_store->get_plugin_setting( Tracking_Service_Provider::SETTING_OPEN_TRACKING, 'false' ); - $open_tracking_enabled = ! empty( $open_tracking_enabled ) ? $open_tracking_enabled !== 'false' : false; + $open_tracking_enabled = ! empty( $open_tracking_enabled ) ? $open_tracking_enabled !== 'false' : false; $debug_log_enabled = $plugin_data_store->get_plugin_setting( Save_Plugin_Settings_Endpoint::PARAM_DEBUG_LOG_ENABLED, 'false' ); $debug_log_enabled = ! empty( $debug_log_enabled ) ? $debug_log_enabled !== 'false' : false; @@ -72,7 +73,7 @@ public function data() { return array( 'components' => array( 'settings' => array( - 'i18n' => array( + 'i18n' => array( 'error_alert_title' => esc_html__( 'Error Saving', 'gravitysmtp' ), 'error_alert_generic_message' => esc_html__( 'Could not save, please check your logs.', 'gravitysmtp' ), 'error_alert_close_text' => esc_html__( 'Close', 'gravitysmtp' ), @@ -82,6 +83,8 @@ public function data() { /* translators: %1$s is the error. */ 'uninstalling_plugin_error' => esc_html__( 'Error uninstalling plugin: %1$s', 'gravitysmtp' ), ), + 'unsaved_changes_title' => esc_html__( 'Unsaved Changes', 'gravitysmtp' ), + 'unsaved_changes_message' => esc_html__( 'You have unsaved changes. Are you sure you want to leave this page?', 'gravitysmtp' ), 'settings' => array( 'top_heading' => esc_html__( 'Settings', 'gravitysmtp' ), @@ -94,6 +97,10 @@ public function data() { 'license_box_button_text' => esc_html__( 'Save License', 'gravitysmtp' ), 'license_valid' => esc_html__( 'License key successfully validated!', 'gravitysmtp' ), 'license_invalid' => esc_html__( 'Invalid license key entered. Please check your license key and try again.', 'gravitysmtp' ), + 'experiments_box_heading' => esc_html__( 'Experimental Features', 'gravitysmtp' ), + 'experiments_box_content' => esc_html__( 'These features are works-in-progress, so you may find some bugs along the way.', 'gravitysmtp' ), + 'experiments_box_toggle_label' => esc_html__( 'Alerts', 'gravitysmtp' ), + 'experiments_box_toggle_help_text' => esc_html__( 'Setup alerts via Slack or SMS (using Twilio) to stay informed when emails fail to send.', 'gravitysmtp' ), 'email_digest_box_heading' => esc_html__( 'Email Digest Notification', 'gravitysmtp' ), 'email_digest_box_content' => esc_html__( 'Keep track of your email communication with ease using our Email Digest Notification feature. Receive regular email updates on your email activity and address potential issues promptly. Stay in control of your WordPress email communication and never miss an important message again.', 'gravitysmtp' ), 'email_digest_box_summary_toggle_label' => esc_html__( 'Enable Digest Summary', 'gravitysmtp' ), @@ -117,7 +124,7 @@ public function data() { 'uninstall_dialog_confirm_change_confirm' => esc_html__( 'Delete', 'gravitysmtp' ), 'error_uninstalling_message' => esc_html__( 'There was an error uninstalling Gravity SMTP', 'gravitysmtp' ), ), - 'integrations' => + 'integrations' => array( 'top_heading' => esc_html__( 'Integrations', 'gravitysmtp' ), 'top_content' => __( "Select and configure the integration you would like to use to send emails from this site. Don't see an integration you're looking for?", 'gravitysmtp' ), @@ -147,13 +154,13 @@ public function data() { 'primary_disabled_heading' => esc_html__( 'Primary Integration Disabled', 'gravitysmtp' ), 'primary_disabled_content' => esc_html__( 'You have disabled your primary email integration. To continue sending emails via Gravity SMTP, please enable a backup integration or set and enable a new primary integration.', 'gravitysmtp' ), ), - 'emails' => + 'emails' => array( - 'top_heading' => esc_html__( 'Email Management', 'gravitysmtp' ), - 'top_content' => __( "WordPress, by default, will send out emails for many events on your site. Using the toggles below, you can decide exactly which emails you'd like enabled.", 'gravitysmtp' ), - 'email_notifications_box_heading' => esc_html__( 'Manage Emails', 'gravitysmtp' ), + 'top_heading' => esc_html__( 'Email Management', 'gravitysmtp' ), + 'top_content' => __( "WordPress, by default, will send out emails for many events on your site. Using the toggles below, you can decide exactly which emails you'd like enabled.", 'gravitysmtp' ), + 'email_notifications_box_heading' => esc_html__( 'Manage Emails', 'gravitysmtp' ), ), - 'logging' => + 'logging' => array( 'top_heading' => esc_html__( 'Email Logging', 'gravitysmtp' ), 'top_content' => esc_html__( 'Email logging keeps copies of all emails sent from your WordPress site, so you can review your sent emails and check their delivery status.', 'gravitysmtp' ), @@ -186,11 +193,11 @@ public function data() { 'delete_debug_log_dialog_confirm_change_confirm' => esc_html__( 'Delete', 'gravitysmtp' ), ), ), - 'data' => array( + 'data' => array( 'license_key' => $license_key, 'license_key_is_valid' => $is_valid, 'version' => GF_GRAVITY_SMTP_VERSION, - 'email_log_settings' => array( + 'email_log_settings' => array( 'email_log_enabled' => $email_log_enabled, 'email_log_retention' => $email_log_retention, 'email_log_url' => admin_url( 'admin.php?page=gravitysmtp-activity-log' ), @@ -211,21 +218,29 @@ public function data() { 'caps' => array( Roles::DELETE_DEBUG_LOG => current_user_can( Roles::DELETE_DEBUG_LOG ), Roles::DELETE_EMAIL_LOG => current_user_can( Roles::DELETE_EMAIL_LOG ), + Roles::EDIT_ALERTS => current_user_can( Roles::EDIT_ALERTS ), + Roles::EDIT_ALERTS_SLACK_SETTINGS => current_user_can( Roles::EDIT_ALERTS_SLACK_SETTINGS ), + Roles::EDIT_ALERTS_TWILIO_SETTINGS => current_user_can( Roles::EDIT_ALERTS_TWILIO_SETTINGS ), Roles::EDIT_DEBUG_LOG_SETTINGS => current_user_can( Roles::EDIT_DEBUG_LOG_SETTINGS ), Roles::EDIT_EMAIL_LOG_SETTINGS => current_user_can( Roles::EDIT_EMAIL_LOG_SETTINGS ), Roles::EDIT_EMAIL_MANAGEMENT_SETTINGS => current_user_can( Roles::EDIT_EMAIL_MANAGEMENT_SETTINGS ), Roles::EDIT_INTEGRATIONS => current_user_can( Roles::EDIT_INTEGRATIONS ), Roles::EDIT_LICENSE_KEY => current_user_can( Roles::EDIT_LICENSE_KEY ), + Roles::EDIT_EXPERIMENTAL_FEATURES => current_user_can( Roles::EDIT_EXPERIMENTAL_FEATURES ), Roles::EDIT_TEST_MODE => current_user_can( Roles::EDIT_TEST_MODE ), Roles::EDIT_UNINSTALL => current_user_can( Roles::EDIT_UNINSTALL ), Roles::EDIT_USAGE_ANALYTICS => current_user_can( Roles::EDIT_USAGE_ANALYTICS ), + Roles::VIEW_ALERTS => current_user_can( Roles::VIEW_ALERTS ), + Roles::VIEW_ALERTS_SLACK_SETTINGS => current_user_can( Roles::VIEW_ALERTS_SLACK_SETTINGS ), + Roles::VIEW_ALERTS_TWILIO_SETTINGS => current_user_can( Roles::VIEW_ALERTS_TWILIO_SETTINGS ), Roles::VIEW_DEBUG_LOG => current_user_can( Roles::VIEW_DEBUG_LOG ), - Roles::VIEW_EMAIL_LOG => current_user_can( Roles::VIEW_EMAIL_LOG ), Roles::VIEW_DEBUG_LOG_SETTINGS => current_user_can( Roles::VIEW_DEBUG_LOG_SETTINGS ), + Roles::VIEW_EMAIL_LOG => current_user_can( Roles::VIEW_EMAIL_LOG ), Roles::VIEW_EMAIL_LOG_SETTINGS => current_user_can( Roles::VIEW_EMAIL_LOG_SETTINGS ), Roles::VIEW_EMAIL_MANAGEMENT_SETTINGS => current_user_can( Roles::VIEW_EMAIL_MANAGEMENT_SETTINGS ), Roles::VIEW_INTEGRATIONS => current_user_can( Roles::VIEW_INTEGRATIONS ), Roles::VIEW_LICENSE_KEY => current_user_can( Roles::VIEW_LICENSE_KEY ), + Roles::VIEW_EXPERIMENTAL_FEATURES => current_user_can( Roles::VIEW_EXPERIMENTAL_FEATURES ), Roles::VIEW_TEST_MODE => current_user_can( Roles::VIEW_TEST_MODE ), Roles::VIEW_UNINSTALL => current_user_can( Roles::VIEW_UNINSTALL ), Roles::VIEW_USAGE_ANALYTICS => current_user_can( Roles::VIEW_USAGE_ANALYTICS ), @@ -282,7 +297,7 @@ public function data() { array( 'param' => 'alerts', 'label' => esc_html__( 'Alerts', 'gravitysmtp' ), - 'icon' => 'cog', + 'icon' => 'exclamation-triangle', ), array( 'param' => 'emails', @@ -306,7 +321,7 @@ public function data() { 'key' => 'edit', 'props' => array( 'element' => 'button', - 'icon' => 'api', + 'iconBefore' => 'api', 'iconPrefix' => 'gravitysmtp-admin-icon', 'label' => esc_html__( 'API Settings', 'gravitysmtp' ), ), @@ -316,10 +331,11 @@ public function data() { 'key' => 'send-a-test', 'props' => array( 'customAttributes' => array( - 'href' => admin_url( 'admin.php?page=gravitysmtp-tools&tab=send-a-test' ), + 'href' => admin_url( 'admin.php?page=gravitysmtp-tools&tab=send-a-test' ), + 'data-test-id' => 'send-a-test-action' ), 'element' => 'link', - 'icon' => 'paper-plane', + 'iconBefore' => 'paper-plane', 'iconPrefix' => 'gravitysmtp-admin-icon', 'label' => esc_html__( 'Send A Test', 'gravitysmtp' ), ), @@ -329,7 +345,7 @@ public function data() { 'key' => 'set-as-primary', 'props' => array( 'element' => 'button', - 'icon' => 'primary', + 'iconBefore' => 'primary', 'iconPrefix' => 'gravitysmtp-admin-icon', 'label' => esc_html__( 'Set As Primary', 'gravitysmtp' ), ), @@ -339,7 +355,7 @@ public function data() { 'key' => 'set-as-backup', 'props' => array( 'element' => 'button', - 'icon' => 'circle-lightning-bolt', + 'iconBefore' => 'circle-lightning-bolt', 'iconPrefix' => 'gravitysmtp-admin-icon', 'label' => esc_html__( 'Set As Backup', 'gravitysmtp' ), ), @@ -635,5 +651,4 @@ public function get_debug_log_retention_options() { return apply_filters( 'gravitysmtp_debug_log_retention_options', $options ); } - } diff --git a/includes/apps/config/class-tools-config.php b/includes/apps/config/class-tools-config.php index c45d40d..8dc8c5b 100644 --- a/includes/apps/config/class-tools-config.php +++ b/includes/apps/config/class-tools-config.php @@ -54,8 +54,8 @@ public function data() { * @var Debug_Log_Model $debug_model */ $debug_model = $container->get( Logging_Service_Provider::DEBUG_LOG_MODEL ); - $search_term = filter_input( INPUT_POST, 'search_term' ); - $search_type = filter_input( INPUT_POST, 'search_type' ); + $search_term = filter_input( INPUT_GET, 'search_term' ); + $search_type = filter_input( INPUT_GET, 'search_type' ); if ( ! empty( $search_term ) ) { $search_term = htmlspecialchars( $search_term ); @@ -116,7 +116,7 @@ public function data() { 'system_report_clipboard' => $this->get_clipboard_string(), 'debug_log_settings' => $this->get_debug_log_settings(), 'debug_log' => array( - 'ajax_grid_pagination_url' => site_url( 'wp-content/plugins/gravitysmtp/includes/logging/endpoints/get-paginated-debug-log-items.php' ), + 'ajax_grid_pagination_url' => trailingslashit( GF_GRAVITY_SMTP_PLUGIN_URL ) . 'includes/logging/endpoints/get-paginated-debug-log-items.php', 'data_grid' => array( 'columns' => $this->get_debug_log_columns(), 'column_style_props' => $this->get_debug_log_column_style_props(), @@ -841,8 +841,9 @@ protected function get_integrations_data() { protected function get_database_server_data() { global $wpdb; - $db_version = $wpdb->get_var( 'SELECT version();' ); - $db_type = strpos( strtolower( $db_version ), 'mariadb' ) ? 'MariaDB' : 'MySQL'; + + $db_version = Common::get_db_version(); + $db_type = Common::get_dbms_type(); return array( array( @@ -858,12 +859,12 @@ protected function get_database_server_data() { array( 'label' => esc_html__( 'Database Character Set', 'gravitysmtp' ), 'label_export' => 'Database Character Set', - 'value' => esc_html( $wpdb->get_var( 'SELECT @@character_set_database' ) ), + 'value' => esc_html( ( Common::get_dbms_type() === 'SQLite' ) ? $wpdb->charset : $wpdb->get_var( 'SELECT @@character_set_database' ) ), ), array( 'label' => esc_html__( 'Database Collation', 'gravitysmtp' ), 'label_export' => 'Database Collation', - 'value' => esc_html( $wpdb->get_var( 'SELECT @@collation_database' ) ), + 'value' => esc_html( ( Common::get_dbms_type() === 'SQLite' ) ? ( empty( $wpdb->collate ) ? 'N/A' : $wpdb->collate ) : $wpdb->get_var( 'SELECT @@collation_database' ) ), ), ); } @@ -1040,8 +1041,18 @@ protected function get_debug_log_data_rows() { $current_page = 1; } + $search_term = filter_input( INPUT_GET, 'search_term' ); + $search_type = filter_input( INPUT_GET, 'search_type' ); + if ( ! empty( $search_term ) ) { + $search_term = htmlspecialchars( $search_term ); + } + + if ( ! empty( $search_type ) ) { + $search_type = htmlspecialchars( $search_type ); + } + $per_page = $opts->get_plugin_setting( Save_Plugin_Settings_Endpoint::PARAM_PER_PAGE, 20 ); - $lines = $debug_model->paginate( $current_page, $per_page ); + $lines = $debug_model->paginate( $current_page, $per_page, false, $search_term, $search_type ); return $debug_model->lines_as_data_grid( $lines ); } diff --git a/includes/class-gravity-smtp.php b/includes/class-gravity-smtp.php index a24f918..66555d9 100644 --- a/includes/class-gravity-smtp.php +++ b/includes/class-gravity-smtp.php @@ -2,6 +2,7 @@ namespace Gravity_Forms\Gravity_SMTP; +use Gravity_Forms\Gravity_SMTP\Alerts\Alerts_Service_Provider; use Gravity_Forms\Gravity_SMTP\Apps\App_Service_Provider; use Gravity_Forms\Gravity_SMTP\Apps\Setup_Wizard\Setup_Wizard_Service_Provider; use Gravity_Forms\Gravity_SMTP\Assets\Assets_Service_Provider; @@ -14,6 +15,7 @@ use Gravity_Forms\Gravity_SMTP\Data_Store\Plugin_Opts_Data_Store; use Gravity_Forms\Gravity_SMTP\Email_Management\Email_Management_Service_Provider; use Gravity_Forms\Gravity_SMTP\Environment\Environment_Service_Provider; +use Gravity_Forms\Gravity_SMTP\Experimental_Features\Experimental_Features_Service_Provider; use Gravity_Forms\Gravity_SMTP\Feature_Flags\Feature_Flag_Manager; use Gravity_Forms\Gravity_SMTP\Feature_Flags\Feature_Flags_Service_Provider; use Gravity_Forms\Gravity_SMTP\Errors\Error_Handler_Service_Provider; @@ -22,6 +24,7 @@ use Gravity_Forms\Gravity_SMTP\Migration\Migration_Service_Provider; use Gravity_Forms\Gravity_SMTP\Pages\Page_Service_Provider; use Gravity_Forms\Gravity_SMTP\Routing\Routing_Service_Provider; +use Gravity_Forms\Gravity_SMTP\Suppression\Suppression_Service_Provider; use Gravity_Forms\Gravity_SMTP\Telemetry\Telemetry_Service_Provider; use Gravity_Forms\Gravity_SMTP\Tracking\Tracking_Service_Provider; use Gravity_Forms\Gravity_SMTP\Translations\Translations_Service_Provider; @@ -85,6 +88,9 @@ public static function run_upgrade_routines() { // Ensure tracking table is set up properly $routines->add( 'tracking_tables', array( self::class, 'create_tracking_tables' ) ); + // Ensure suppression table is set up properly + $routines->add( 'suppression_tables', array( self::class, 'create_suppression_table' ) ); + add_action( 'plugins_loaded', function() use ( $routines ) { $routines->handle(); }, 10 ); @@ -211,6 +217,29 @@ public static function create_tracking_tables() { dbDelta( $sql ); } + public static function create_suppression_table() { + require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); + + global $wpdb; + + $table_name = $wpdb->prefix . 'gravitysmtp_suppressed_emails'; + $charset_collate = $wpdb->get_charset_collate(); + + $sql = " + CREATE TABLE $table_name ( + id mediumint(9) NOT NULL AUTO_INCREMENT, + email varchar(100) NOT NULL, + reason varchar(100) NOT NULL, + notes text, + date_created datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, + PRIMARY KEY (id), + FULLTEXT(email, notes) + ) $charset_collate; + "; + + dbDelta( $sql ); + } + public static function container() { if ( is_null( self::$container ) ) { self::load_providers(); @@ -244,6 +273,17 @@ public static function handle_feature_flags() { Feature_Flag_Manager::add( 'email_open_tracking', 'Email Open Tracking' ); Feature_Flag_Manager::enable_flag( 'email_open_tracking' ); + + Feature_Flag_Manager::add( 'email_suppression', 'Email Suppression' ); + Feature_Flag_Manager::enable_flag( 'email_suppression' ); + + Feature_Flag_Manager::add( 'zoho_integration', 'Zoho Integration' ); + Feature_Flag_Manager::enable_flag( 'zoho_integration' ); + + Feature_Flag_Manager::add( 'experimental_features_setting', 'Experimental Features Setting' ); + Feature_Flag_Manager::enable_flag( 'experimental_features_setting' ); + + Feature_Flag_Manager::add( 'alerts_management', 'Alerts Management' ); } ); } @@ -264,11 +304,20 @@ protected static function load_providers() { self::load_early_providers(); } + if ( Feature_Flag_Manager::is_enabled( 'email_suppression' ) ) { + self::$container->add_provider( new Suppression_Service_Provider() ); + } + // Common Providers self::$container->add_provider( new Connector_Service_Provider() ); self::$container->add_provider( new Assets_Service_Provider( self::get_base_url(), self::get_local_dev_base_url(), self::get_base_dir() ) ); self::$container->add_provider( new App_Service_Provider( self::get_base_url() ) ); self::$container->add_provider( new Logging_Service_Provider() ); + + if ( Feature_Flag_Manager::is_enabled( 'experimental_features_setting' ) ) { + self::$container->add_provider( new Experimental_Features_Service_Provider() ); + } + self::$container->add_provider( new Handler_Service_Provider() ); self::$container->add_provider( new Page_Service_Provider( self::get_base_url() ) ); self::$container->add_provider( new Setup_Wizard_Service_Provider() ); @@ -282,6 +331,10 @@ protected static function load_providers() { self::$container->add_provider( new Email_Management_Service_Provider() ); } + if ( Feature_Flag_Manager::is_enabled( 'alerts_management' ) ) { + self::$container->add_provider( new Alerts_Service_Provider() ); + } + if ( Feature_Flag_Manager::is_enabled( 'email_open_tracking' ) ) { self::$container->add_provider( new Tracking_Service_Provider() ); } diff --git a/includes/connectors/class-connector-base.php b/includes/connectors/class-connector-base.php index 2212dce..6d66094 100644 --- a/includes/connectors/class-connector-base.php +++ b/includes/connectors/class-connector-base.php @@ -30,6 +30,8 @@ abstract class Connector_Base { const SETTING_IS_PRIMARY = 'is_primary'; const SETTING_IS_BACKUP = 'is_backup'; + const OBFUSCATED_STRING = '****************'; + protected static $configured = null; /** @@ -112,6 +114,13 @@ abstract class Connector_Base { */ protected $email; + /** + * If populated, these fields will be obfuscated when they are displayed. Useful for API keys, etc. + * + * @var array + */ + protected $sensitive_fields = array(); + /** * Calls to wp_mail() will be routed to this method if this connector is enabled. Parameters * are a match for wp_mail(). @@ -209,6 +218,14 @@ public function __construct( $php_mailer, $data_store, $logger, $events, $header $this->debug_logger = $debug_logger; } + public function handle_suppressed_email( $email, $source ) { + $atts = $this->get_atts(); + $this->set_email_log_data( $atts['subject'], $atts['message'], $email, $atts['from'], $atts['headers'], $atts['attachments'], $source, array() ); + $this->events->update( array( 'status' => 'suppressed' ), $this->email ); + $this->logger->log( $this->email, 'failed', 'Recipient email address ' . $email . ' is suppressed.' ); + $this->debug_logger->log_error( $this->wrap_debug_with_details( __FUNCTION__, $this->email, 'Recipient email address ' . $email . ' is suppressed.' ) ); + } + /** * Initialize the connector and map attributes as necessary. * @@ -223,8 +240,10 @@ public function __construct( $php_mailer, $data_store, $logger, $events, $header * @return void */ public function init( $to, $subject, $message, $headers = '', $attachments = array(), $source = '' ) { + $service_name = $this->name === 'phpmail' ? 'wp_mail' : $this->name; + $this->email = $this->events->create( - $this->name, + $service_name, 'pending', '', '', @@ -569,9 +588,55 @@ protected function get_plugin_setting( $setting_name, $default = null ) { * @return mixed */ protected function get_setting( $setting_name, $default = null ) { + if ( $setting_name === self::SETTING_IS_BACKUP || $setting_name === self::SETTING_IS_PRIMARY ) { + $const_setting = $this->check_for_connector_status_flag( $setting_name ); + if ( ! empty( $const_setting ) ) { + return $const_setting === $this->name; + } + } + return $this->data_store->get_setting( $this->name, $setting_name, $default ); } + protected function setting_should_be_obfuscated( $setting_name ) { + if ( ! in_array( $setting_name, $this->sensitive_fields ) ) { + return false; + } + + $locked = $this->get_locked_settings(); + + if ( ! in_array( sprintf( '%s_%s', $this->name, $setting_name ), $locked ) ) { + return false; + } + + return true; + } + + protected function get_locked_settings() { + $return = array(); + + $defined_constants = array_filter( get_defined_constants(), function( $constant ) { + return strpos( $constant, 'GRAVITYSMTP_' ) !== false; + }, ARRAY_FILTER_USE_KEY ); + + foreach( $defined_constants as $constant => $constant_value ) { + $setting_name = strtolower( str_replace( 'GRAVITYSMTP_', '', $constant ) ); + $return[] = $setting_name; + } + + return $return; + } + + private function check_for_connector_status_flag( $setting_name ) { + $const_check = $setting_name === self::SETTING_IS_PRIMARY ? 'GRAVITYSMTP_INTEGRATION_PRIMARY' : 'GRAVITYSMTP_INTEGRATION_BACKUP'; + + if ( defined( $const_check ) ) { + return constant( $const_check ); + } + + return false; + } + /** * Get the mapped data for this connector to use in a Config. * @@ -580,9 +645,36 @@ protected function get_setting( $setting_name, $default = null ) { * @return array */ public function get_data() { + $fields = $this->settings_fields(); + $data = $this->get_merged_data(); + + if ( ! empty( $fields['fields'] ) ) { + foreach( $fields['fields'] as $idx => $field_data ) { + if ( ! array_key_exists( 'value', $field_data['props'] ) ) { + continue; + } + + $name = $field_data['props']['name']; + + if ( ! $this->setting_should_be_obfuscated( $name ) ) { + continue; + } + + $fields['fields'][$idx]['props']['value'] = self::OBFUSCATED_STRING; + } + } + + foreach( $data as $key => $value ) { + if ( ! $this->setting_should_be_obfuscated( $key ) ) { + continue; + } + + $data[ $key ] = self::OBFUSCATED_STRING; + } + return array( - 'fields' => $this->settings_fields(), - 'data' => $this->get_merged_data(), + 'fields' => $fields, + 'data' => $data, 'i18n' => $this->connector_i18n(), 'name' => $this->name, 'logo' => $this->logo, diff --git a/includes/connectors/class-connector-service-provider.php b/includes/connectors/class-connector-service-provider.php index dddac26..427bd21 100644 --- a/includes/connectors/class-connector-service-provider.php +++ b/includes/connectors/class-connector-service-provider.php @@ -7,6 +7,7 @@ use Gravity_Forms\Gravity_SMTP\Connectors\Endpoints\Migrate_Settings_Endpoint; use Gravity_Forms\Gravity_SMTP\Connectors\Oauth\Google_Oauth_Handler; use Gravity_Forms\Gravity_SMTP\Connectors\Oauth\Microsoft_Oauth_Handler; +use Gravity_Forms\Gravity_SMTP\Connectors\Oauth\Zoho_Oauth_Handler; use Gravity_Forms\Gravity_SMTP\Connectors\Types\Connector_Mailchimp; use Gravity_Forms\Gravity_SMTP\Connectors\Types\Connector_PHPMail; use Gravity_Forms\Gravity_SMTP\Data_Store\Data_Store_Router; @@ -70,6 +71,7 @@ class Connector_Service_Provider extends Config_Service_Provider { const OAUTH_DATA_HANDLER = 'oauth_data_handler'; const GOOGLE_OAUTH_HANDLER = 'google_oauth_handler'; const MICROSOFT_OAUTH_HANDLER = 'microsoft_oauth_handler'; + const ZOHO_OAUTH_HANDLER = 'zoho_oauth_handler'; const SEND_TEST_ENDPOINT = 'send_test_endpoint'; const CLEANUP_DATA_ENDPOINT = 'cleanup_data_endpoint'; @@ -247,7 +249,11 @@ public function register( \Gravity_Forms\Gravity_Tools\Service_Container $contai return new Microsoft_Oauth_Handler( $container->get( self::OAUTH_DATA_HANDLER ) ); } ); - $this->container->add( self::REGISTERED_CONNECTORS, function() use ( $self ) { + $this->container->add( self::ZOHO_OAUTH_HANDLER, function () use ( $container ) { + return new Zoho_Oauth_Handler( $container->get( self::OAUTH_DATA_HANDLER ) ); + } ); + + $this->container->add( self::REGISTERED_CONNECTORS, function () use ( $self ) { return $self->connectors; } ); @@ -284,7 +290,7 @@ public function init( \Gravity_Forms\Gravity_Tools\Service_Container $container $connector_values = array(); } - $connector_values[ 'google' ] = 'false'; + $connector_values['google'] = 'false'; $plugin_data_store->save( Save_Connector_Settings_Endpoint::SETTING_PRIMARY_CONNECTOR, $connector_values ); $connector_values = $data_router->get_plugin_setting( Save_Connector_Settings_Endpoint::SETTING_BACKUP_CONNECTOR, array() ); @@ -293,7 +299,7 @@ public function init( \Gravity_Forms\Gravity_Tools\Service_Container $container $connector_values = array(); } - $connector_values[ 'google' ] = 'false'; + $connector_values['google'] = 'false'; $plugin_data_store->save( Save_Connector_Settings_Endpoint::SETTING_BACKUP_CONNECTOR, $connector_values ); $connector_values = $data_router->get_plugin_setting( Save_Connector_Settings_Endpoint::SETTING_ENABLED_CONNECTOR, array() ); @@ -302,7 +308,7 @@ public function init( \Gravity_Forms\Gravity_Tools\Service_Container $container $connector_values = array(); } - $connector_values[ 'google' ] = 'false'; + $connector_values['google'] = 'false'; $plugin_data_store->save( Save_Connector_Settings_Endpoint::SETTING_ENABLED_CONNECTOR, $connector_values ); /** @@ -314,7 +320,7 @@ public function init( \Gravity_Forms\Gravity_Tools\Service_Container $container wp_safe_redirect( $return_url ); } ); - add_action( 'admin_post_smtp_disconnect_microsoft', function() use ( $container ) { + add_action( 'admin_post_smtp_disconnect_microsoft', function () use ( $container ) { $configured_key = sprintf( 'gsmtp_connector_configured_%s', 'microsoft' ); delete_transient( $configured_key ); @@ -342,7 +348,7 @@ public function init( \Gravity_Forms\Gravity_Tools\Service_Container $container $connector_values = array(); } - $connector_values[ 'microsoft' ] = 'false'; + $connector_values['microsoft'] = 'false'; $plugin_data_store->save( Save_Connector_Settings_Endpoint::SETTING_PRIMARY_CONNECTOR, $connector_values ); $connector_values = $data_router->get_plugin_setting( Save_Connector_Settings_Endpoint::SETTING_BACKUP_CONNECTOR, array() ); @@ -351,7 +357,7 @@ public function init( \Gravity_Forms\Gravity_Tools\Service_Container $container $connector_values = array(); } - $connector_values[ 'microsoft' ] = 'false'; + $connector_values['microsoft'] = 'false'; $plugin_data_store->save( Save_Connector_Settings_Endpoint::SETTING_BACKUP_CONNECTOR, $connector_values ); $connector_values = $data_router->get_plugin_setting( Save_Connector_Settings_Endpoint::SETTING_ENABLED_CONNECTOR, array() ); @@ -360,7 +366,7 @@ public function init( \Gravity_Forms\Gravity_Tools\Service_Container $container $connector_values = array(); } - $connector_values[ 'microsoft' ] = 'false'; + $connector_values['microsoft'] = 'false'; $plugin_data_store->save( Save_Connector_Settings_Endpoint::SETTING_ENABLED_CONNECTOR, $connector_values ); /** @@ -370,7 +376,65 @@ public function init( \Gravity_Forms\Gravity_Tools\Service_Container $container $return_url = urldecode( $oauth_handler->get_return_url( 'settings' ) ); wp_safe_redirect( $return_url ); - }); + } ); + + add_action( 'admin_post_smtp_disconnect_zoho', function () use ( $container ) { + $configured_key = sprintf( 'gsmtp_connector_configured_%s', 'zoho' ); + + delete_transient( $configured_key ); + + /** + * @var Opts_Data_Store $data + */ + $data = $container->get( self::DATA_STORE_OPTS ); + + /** + * @var Data_Store_Router + */ + $data_router = $container->get( self::DATA_STORE_ROUTER ); + + /** + * @var Plugin_Opts_Data_Store + */ + $plugin_data_store = $container->get( self::DATA_STORE_PLUGIN_OPTS ); + + $data->delete_all( 'zoho' ); + + $connector_values = $data_router->get_plugin_setting( Save_Connector_Settings_Endpoint::SETTING_PRIMARY_CONNECTOR, array() ); + + if ( ! is_array( $connector_values ) ) { + $connector_values = array(); + } + + $connector_values['zoho'] = 'false'; + $plugin_data_store->save( Save_Connector_Settings_Endpoint::SETTING_PRIMARY_CONNECTOR, $connector_values ); + + $connector_values = $data_router->get_plugin_setting( Save_Connector_Settings_Endpoint::SETTING_BACKUP_CONNECTOR, array() ); + + if ( ! is_array( $connector_values ) ) { + $connector_values = array(); + } + + $connector_values['zoho'] = 'false'; + $plugin_data_store->save( Save_Connector_Settings_Endpoint::SETTING_BACKUP_CONNECTOR, $connector_values ); + + $connector_values = $data_router->get_plugin_setting( Save_Connector_Settings_Endpoint::SETTING_ENABLED_CONNECTOR, array() ); + + if ( ! is_array( $connector_values ) ) { + $connector_values = array(); + } + + $connector_values['zoho'] = 'false'; + $plugin_data_store->save( Save_Connector_Settings_Endpoint::SETTING_ENABLED_CONNECTOR, $connector_values ); + + /** + * @var Zoho_Oauth_Handler $oauth_handler + */ + $oauth_handler = $container->get( self::ZOHO_OAUTH_HANDLER ); + $return_url = urldecode( $oauth_handler->get_return_url( false ) ); + + wp_safe_redirect( $return_url ); + } ); add_action( 'wp_ajax_' . Cleanup_Data_Endpoint::ACTION_NAME, function () use ( $container ) { $container->get( self::CLEANUP_DATA_ENDPOINT )->handle(); diff --git a/includes/connectors/endpoints/class-save-plugin-settings-endpoint.php b/includes/connectors/endpoints/class-save-plugin-settings-endpoint.php index 4b452cf..5bca73a 100644 --- a/includes/connectors/endpoints/class-save-plugin-settings-endpoint.php +++ b/includes/connectors/endpoints/class-save-plugin-settings-endpoint.php @@ -16,17 +16,20 @@ class Save_Plugin_Settings_Endpoint extends Endpoint { const PARAM_SETTING_KEY = 'key'; const PARAM_SETTING_VALUE = 'value'; - const PARAM_LICENSE_KEY = 'license_key'; - const PARAM_TEST_MODE = 'test_mode'; - const PARAM_EVENT_LOG_ENABLED = 'event_log_enabled'; - const PARAM_SAVE_EMAIL_BODY_ENABLED = 'save_email_body_enabled'; - const PARAM_SAVE_ATTACHMENTS_ENABLED = 'save_attachments_enabled'; - const PARAM_EVENT_LOG_RETENTION = 'event_log_retention'; - const PARAM_DEBUG_LOG_ENABLED = 'debug_log_enabled'; - const PARAM_DEBUG_LOG_RETENTION = 'debug_log_retention'; - const PARAM_USAGE_ANALYTICS = 'usage_analytics'; - const PARAM_PER_PAGE = 'activity_log_per_page'; - const PARAM_MAX_EVENT_RECORDS = 'max_event_records'; + const PARAM_LICENSE_KEY = 'license_key'; + const PARAM_TEST_MODE = 'test_mode'; + const PARAM_EVENT_LOG_ENABLED = 'event_log_enabled'; + const PARAM_SAVE_EMAIL_BODY_ENABLED = 'save_email_body_enabled'; + const PARAM_SAVE_ATTACHMENTS_ENABLED = 'save_attachments_enabled'; + const PARAM_EVENT_LOG_RETENTION = 'event_log_retention'; + const PARAM_DEBUG_LOG_ENABLED = 'debug_log_enabled'; + const PARAM_DEBUG_LOG_RETENTION = 'debug_log_retention'; + const PARAM_USAGE_ANALYTICS = 'usage_analytics'; + const PARAM_PER_PAGE = 'activity_log_per_page'; + const PARAM_MAX_EVENT_RECORDS = 'max_event_records'; + const PARAM_NOTIFY_WHEN_EMAIL_SENDING_FAILS_ENABLED = 'notify_when_email_sending_fails_enabled'; + const PARAM_SLACK_ALERTS_ENABLED = 'slack_alerts_enabled'; + const PARAM_TWILIO_ALERTS_ENABLED = 'twilio_alerts_enabled'; const PARAM_SETUP_WIZARD_SHOULD_DISPLAY = 'setup_wizard_should_display'; @@ -79,10 +82,14 @@ protected function handle_bulk_settings( $settings ) { } protected function handle_individual_setting() { - $key = filter_input( INPUT_POST, self::PARAM_SETTING_KEY ); - $key = htmlspecialchars( $key ); - $value = filter_input( INPUT_POST, self::PARAM_SETTING_VALUE ); - $value = htmlspecialchars( $value ); + $key = htmlspecialchars( filter_input( INPUT_POST, self::PARAM_SETTING_KEY ) ); + $value = isset( $_POST[ self::PARAM_SETTING_VALUE ] ) ? $_POST[ self::PARAM_SETTING_VALUE ] : null; + + if ( is_array( $value ) ) { + $value = filter_input( INPUT_POST, self::PARAM_SETTING_VALUE, FILTER_DEFAULT, FILTER_REQUIRE_ARRAY ); + } else { + $value = htmlspecialchars( $value ); + } switch ( $key ) { case self::PARAM_LICENSE_KEY: diff --git a/includes/connectors/endpoints/class-send-test-endpoint.php b/includes/connectors/endpoints/class-send-test-endpoint.php index e2667c5..039e6ec 100644 --- a/includes/connectors/endpoints/class-send-test-endpoint.php +++ b/includes/connectors/endpoints/class-send-test-endpoint.php @@ -202,21 +202,30 @@ public function handle() { $log_copy = implode( "\r\n", $full_log['technical_information']['log'] ); } - $error_data = array( - 'error_message' => __( 'There was a problem sending the test email.', 'gravitysmtp' ), - 'issues' => $issues, - 'full_log' => $full_log, - 'log_copy' => $log_copy, - 'possible_reasons' => array( + $reasons = array(); + $steps = array(); + + if ( empty( $issues ) ) { + $reasons = array( __( 'Incorrect plugin settings, such as invalid SMTP credentials or expired API key.', 'gravitysmtp' ), __( 'The SMTP server blocking the incoming connection.', 'gravitysmtp' ), __( 'Your web host rejecting the connection.', 'gravitysmtp' ), - ), - 'recommended_steps' => array( + ); + + $steps = array( __( 'Triple check the plugin settings and ensure they are accurate, especially if you copy-pasted the values.', 'gravitysmtp' ), __( 'Contact your web hosting provider to verify if your server allows outside connections and if any firewall or security policies are in place that could interfere.', 'gravitysmtp' ), __( 'Consider using one of the other available integration types.', 'gravitysmtp' ), - ), + ); + } + + $error_data = array( + 'error_message' => __( 'There was a problem sending the test email.', 'gravitysmtp' ), + 'issues' => $issues, + 'full_log' => $full_log, + 'log_copy' => $log_copy, + 'possible_reasons' => $reasons, + 'recommended_steps' => $steps, ); Debug_Logger::log_message( diff --git a/includes/connectors/oauth/class-zoho-oauth-handler.php b/includes/connectors/oauth/class-zoho-oauth-handler.php new file mode 100644 index 0000000..f50e537 --- /dev/null +++ b/includes/connectors/oauth/class-zoho-oauth-handler.php @@ -0,0 +1,234 @@ + $this->data->get( Connector_Zoho::SETTING_ACCOUNT_ID, $this->namespace ) + ); + } + + public function handle_response() { + if ( ! $this->is_response() ) { + return; + } + + $url = 'https://accounts.zoho.com/oauth/v2/token'; + $state = $this->get_state(); + + // Require code and state, and valid mode; otherwise redirect back. + if ( ! isset( $_GET['code'] ) || empty( $state ) ) { //phpcs:ignore + return; + } + + $code = FILTER_INPUT( INPUT_GET, 'code', FILTER_DEFAULT ); + + $args = array( + 'client_id' => $this->data->get( Connector_Zoho::SETTING_CLIENT_ID, $this->namespace ), + 'client_secret' => $this->data->get( Connector_Zoho::SETTING_CLIENT_SECRET, $this->namespace ), + 'grant_type' => 'authorization_code', + 'code' => $code, + 'redirect_uri' => $this->get_return_url( 'settings', true ), + ); + + $url = add_query_arg( $args, $url ); + + $request = wp_remote_post( $url, array( 'body' => array() ) ); + + if ( (int) wp_remote_retrieve_response_code( $request ) !== 200 ) { //phpcs:ignore + return; + } + + $response = wp_remote_retrieve_body( $request ); + $response = json_decode( $response, true ); + + if ( isset( $response[ $this->payload_access_token_name ] ) ) { + $this->store_access_token( $response[ $this->payload_access_token_name ] ); + } + + if ( isset( $response[ $this->payload_refresh_token_name ] ) ) { + $this->store_refresh_token( $response[ $this->payload_refresh_token_name ] ); + } + + // Add Account ID + $accounts_url = $this->get_api_url( 'api/accounts' ); + $headers = array( + 'Authorization' => 'Zoho-oauthtoken ' . $response[ $this->payload_access_token_name ], + ); + + $request = wp_remote_get( $accounts_url, array( 'headers' => $headers ) ); + $response = wp_remote_retrieve_body( $request ); + $data = json_decode( $response, true ); + + if ( ! isset( $data['data'][0]['accountId'] ) ) { + return; + } + + $this->data->save( Connector_Zoho::SETTING_ACCOUNT_ID, $data['data'][0]['accountId'], $this->namespace ); + } + + public function get_scope() { + return 'ZohoMail.messages.CREATE,ZohoMail.accounts.READ'; + } + + protected function refresh_expired_token() { + $refresh_token = $this->get_refresh_token(); + + if ( empty( $refresh_token ) ) { + return new \WP_Error( __( 'Token is invalid or expired.', 'gravitysmtp' ) ); + } + + $refresh_url = $this->get_refresh_url(); + $args = array( + 'refresh_token' => $refresh_token, + 'client_id' => $this->data->get( Connector_Zoho::SETTING_CLIENT_ID, $this->namespace ), + 'client_secret' => $this->data->get( Connector_Zoho::SETTING_CLIENT_SECRET, $this->namespace ), + 'grant_type' => 'refresh_token', + 'redirect_uri' => $this->get_return_url( 'settings', true ), + ); + + $url = add_query_arg( $args, $refresh_url ); + + $request = wp_remote_post( $url, array( 'body' => array() ) ); + $code = wp_remote_retrieve_response_code( $request ); + + if ( (int) $code !== 200 ) { + return new \WP_Error( __( 'Token is invalid or expired.', 'gravitysmtp' ) ); + } + + $response_body = json_decode( wp_remote_retrieve_body( $request ), true ); + + if ( empty( $response_body['access_token'] ) ) { + return new \WP_Error( __( 'Token is invalid or expired.', 'gravitysmtp' ) ); + } + + $new_token = $response_body['access_token']; + $this->store_access_token( $new_token ); + + return $new_token; + } + + protected function is_response() { + $page = filter_input( INPUT_GET, 'page' ); + $tab = filter_input( INPUT_GET, 'tab' ); + $integration = filter_input( INPUT_GET, 'integration' ); + $wizard_screen = filter_input( INPUT_GET, 'setup-wizard-page', FILTER_SANITIZE_NUMBER_INT ); + $payload = filter_input( INPUT_GET, $this->response_payload_name ); + + // Valid screens are a specific integration tab, or the setup wizard page. + $is_valid_screen = $page === 'gravitysmtp-settings' && + ( + ( $tab === 'integrations' && $integration === $this->namespace ) || + ( ! empty( $wizard_screen ) ) + ); + + return ! empty( $payload ) && $is_valid_screen; + } + + public function get_return_url( $context = 'settings', $encode = true ) { + $base = admin_url( 'admin.php' ); + + if ( $context === 'copy' ) { + return $base; + } + + $args = array( + 'page' => 'gravitysmtp-settings', + ); + + if ( $context === 'settings' ) { + $args['integration'] = $this->namespace; + $args['tab'] = 'integrations'; + } + + if ( $context === 'wizard' ) { + $args['tab'] = 'integrations'; + $args['setup-wizard-page'] = 4; + } + + $value = add_query_arg( $args, $base ); + + if ( ! $encode ) { + return $value; + } + + return urlencode( $value ); + } + + public function get_refresh_url() { + return esc_url( 'https://accounts.zoho.com/oauth/v2/token' ); + } + + private function get_state( $context = 'settings' ) { + $state = array( + 'url' => admin_url( 'admin.php' ), + 'page' => 'gravitysmtp-settings', + 'nonce' => wp_create_nonce( 'gravitysmtp' ), + ); + + if ( $context === 'settings' ) { + $state['tab'] = 'integrations'; + $state['integration'] = $this->namespace; + } + + return $state; + } + + public function get_oauth_url( $context = 'settings' ) { + return ''; + } + + protected function is_valid_token( $token ) { + static $is_valid; + + if ( ! is_null( $is_valid ) ) { + return $is_valid; + } + + if ( empty( $token ) ) { + return false; + } + + $check_url = $this->get_api_url( 'api/accounts' ); + $headers = array( + 'Authorization' => 'Zoho-oauthtoken ' . $token, + 'Content-type' => 'application/json', + 'Accept' => 'application/json', + ); + + $response = wp_remote_get( $check_url, array( 'headers' => $headers ) ); + $code = wp_remote_retrieve_response_code( $response ); + + $is_valid = (int) $code === 200; + + return $is_valid; + } + + private function get_api_url( $endpoint ) { + $data_center_location = $this->data->get( Connector_Zoho::SETTING_DATA_CENTER_REGION, $this->namespace ); + + if ( empty( $data_center_location ) ) { + $data_center_location = 'us'; + } + + $base = Zoho_Datacenters_Enum::url_for_datacenter( $data_center_location ); + + return trailingslashit( $base ) . $endpoint; + } + +} diff --git a/includes/connectors/types/class-connector-amazon.php b/includes/connectors/types/class-connector-amazon.php index b225656..1aa3f94 100644 --- a/includes/connectors/types/class-connector-amazon.php +++ b/includes/connectors/types/class-connector-amazon.php @@ -55,6 +55,11 @@ public function get_description() { return __( "Amazon SES offers a reliable and cost-effective service for sending and receiving emails using your own domain. It leverages Amazon’s robust infrastructure, making it a powerful option for managing your email communication.", 'gravitysmtp' ); } + protected $sensitive_fields = array( + self::SETTING_CLIENT_ID, + self::SETTING_CLIENT_SECRET, + ); + /** * Sending logic. * @@ -87,7 +92,7 @@ public function send() { $this->php_mailer->CharSet = 'UTF-8'; - $this->php_mailer->setFrom( $from['email'], $from['name'] ); + $this->php_mailer->setFrom( $from['email'], empty( $from['name'] ) ? '' : $from['name'] ); foreach( $to->recipients() as $recipient ) { if ( ! empty( $recipient->name() ) ) { @@ -248,6 +253,7 @@ public function connector_data() { self::SETTING_CLIENT_ID => $this->get_setting( self::SETTING_CLIENT_ID, '' ), self::SETTING_CLIENT_SECRET => $this->get_setting( self::SETTING_CLIENT_SECRET, '' ), self::SETTING_REGION => $this->get_setting( self::SETTING_REGION, self::REGION_US_EAST_N_VIRGINIA ), + self::SETTING_FROM_EMAIL => $this->get_setting( self::SETTING_FROM_EMAIL, '' ), self::SETTING_FORCE_FROM_EMAIL => $this->get_setting( self::SETTING_FORCE_FROM_EMAIL, false ), self::SETTING_FROM_NAME => $this->get_setting( self::SETTING_FROM_NAME, '' ), self::SETTING_FORCE_FROM_NAME => $this->get_setting( self::SETTING_FORCE_FROM_NAME, false ), diff --git a/includes/connectors/types/class-connector-brevo.php b/includes/connectors/types/class-connector-brevo.php index 968e761..0c8765d 100644 --- a/includes/connectors/types/class-connector-brevo.php +++ b/includes/connectors/types/class-connector-brevo.php @@ -20,6 +20,10 @@ class Connector_Brevo extends Connector_Base { protected $full_logo = 'BrevoFull'; protected $url = 'https://api.brevo.com/v3/smtp/email'; + protected $sensitive_fields = array( + self::SETTING_API_KEY, + ); + public function get_description() { return esc_html__( 'Confidently send transactional emails with Brevo, formerly Sendinblue. With an impressive free plan, Brevo allows you to send up to 300 transactional emails a day! And for those who need to send more, simply pay for what you send. For more information on how to get started with Brevo, read our documentation.', 'gravitysmtp' ); } diff --git a/includes/connectors/types/class-connector-generic.php b/includes/connectors/types/class-connector-generic.php index 73e4d30..6068828 100644 --- a/includes/connectors/types/class-connector-generic.php +++ b/includes/connectors/types/class-connector-generic.php @@ -32,6 +32,10 @@ public function get_description() { return __( "Use our Custom SMTP feature to easily connect to any SMTP server. If you don't want to use one of Gravity SMTP's built-in integrations, with Custom SMTP you can sync with a huge array of services that can reliably send your site's emails. For more information on how to get started with Custom SMTP, read our documentation.", 'gravitysmtp' ); } + protected $sensitive_fields = array( + self::SETTING_PASSWORD, + ); + /** * Sending logic. * @@ -66,9 +70,9 @@ public function send() { $this->reset_phpmailer(); $this->configure_phpmailer(); - $this->php_mailer->setFrom( $from['email'], $from['name'] ); + $this->php_mailer->setFrom( $from['email'], empty( $from['name'] ) ? '' : $from['name'] ); - $this->debug_logger->log_debug( $this->wrap_debug_with_details( __FUNCTION__, $email, sprintf( 'Using From Name: %s, From Email: %s', $from['name'], $from['email'] ) ) ); + $this->debug_logger->log_debug( $this->wrap_debug_with_details( __FUNCTION__, $email, sprintf( 'Using From Name: %s, From Email: %s', empty( $from['name'] ) ? '' : $from['name'], $from['email'] ) ) ); foreach( $to->recipients() as $recipient ) { if ( ! empty( $recipient->name() ) ) { diff --git a/includes/connectors/types/class-connector-google.php b/includes/connectors/types/class-connector-google.php index a64d0be..1da4d36 100644 --- a/includes/connectors/types/class-connector-google.php +++ b/includes/connectors/types/class-connector-google.php @@ -43,6 +43,12 @@ public function get_description() { return esc_html__( 'Integrate your website with Gmail or a Google Workspace account, helping to improve email deliverability and prevent your carefully crafted content from ending up in spam folders. Be sure to check the email sending limits for Gmail and Google Workspace. For more information on how to get started with Gmail / Google Workspace, read our documentation.', 'gravitysmtp' ); } + protected $sensitive_fields = array( + self::SETTING_ACCESS_TOKEN, + self::SETTING_CLIENT_ID, + self::SETTING_CLIENT_SECRET, + ); + /** * Sending logic. * @@ -72,7 +78,7 @@ public function send() { $this->logger->log( $email, 'started', __( 'Starting email send for Google connector.', 'gravitysmtp' ) ); - $this->php_mailer->setFrom( $from['email'], $from['name'] ); + $this->php_mailer->setFrom( $from['email'], empty( $from['name'] ) ? '' : $from['name'] ); foreach( $to->recipients() as $recipient ) { if ( ! empty( $recipient->name() ) ) { @@ -167,6 +173,10 @@ public function send() { $oauth_handler = Gravity_SMTP::container()->get( Connector_Service_Provider::GOOGLE_OAUTH_HANDLER ); $token = $oauth_handler->get_access_token(); + if ( is_wp_error( $token ) ) { + throw new \Exception( $token->get_error_message() ); + } + $headers = array( 'Authorization' => 'Bearer ' . $token, 'Content-Type' => 'application/json', @@ -282,6 +292,7 @@ public function settings_fields() { $settings['fields'][] = array( 'component' => 'Alert', 'props' => array( + 'id' => 'google-connection-notice', 'customIconPrefix' => 'gravitysmtp-admin-icon', 'theme' => 'cosmos', 'type' => 'notice', @@ -316,12 +327,47 @@ public function settings_fields() { ), ), ); + } else { + $settings['fields'][] = array( + 'component' => 'Alert', + 'props' => array( + 'id' => 'google-alias-notice', + 'customIconPrefix' => 'gravitysmtp-admin-icon', + 'theme' => 'cosmos', + 'type' => 'info', + 'spacing' => 3, + ), + 'fields' => array( + array( + 'component' => 'LinkedText', + 'external' => true, + 'links' => array( + array( + 'key' => 'link', + 'props' => array( + 'href' => 'https://docs.gravitysmtp.com/how-to-send-emails-from-an-alias-google-gmail/', + 'size' => 'text-sm', + 'target' => '_blank', + ), + ), + ), + 'props' => array( + 'customClasses' => array( 'gform--display-block' ), + 'content' => esc_html__( 'Important: To use alias email addresses with Gravity SMTP, ensure your primary Google account is authenticated, then add and verify your alias in your Google account settings. For detailed instructions, please refer to our {{link}}documentation article{{link}}.', 'gravitysmtp' ), + 'weight' => 'medium', + 'size' => 'text-sm', + 'tagName' => 'span', + ), + ), + ), + ); } if ( isset( $_GET['code'] ) && ! $has_token ) { $settings['fields'][] = array( 'component' => 'Alert', 'props' => array( + 'id' => 'google-connection-error', 'customIconPrefix' => 'gravitysmtp-admin-icon', 'theme' => 'cosmos', 'type' => 'error', diff --git a/includes/connectors/types/class-connector-mailchimp.php b/includes/connectors/types/class-connector-mailchimp.php index cfebf5d..616e833 100644 --- a/includes/connectors/types/class-connector-mailchimp.php +++ b/includes/connectors/types/class-connector-mailchimp.php @@ -25,6 +25,9 @@ public function get_description() { return esc_html__( 'Reach inboxes when it matters most. Send email notifications to your contacts with MailChimp Transactional Email.', 'gravitysmtp' ); } + protected $sensitive_fields = array( + self::SETTING_API_KEY, + ); protected function get_merged_data() { $data = parent::get_merged_data(); @@ -123,6 +126,7 @@ public function get_request_params() { 'message' => array( 'subject' => $atts['subject'], 'from_email' => $atts['from']['email'], + 'headers' => array(), ), ); @@ -144,21 +148,33 @@ public function get_request_params() { $body['message']['text'] = $atts['message']; } + // Setting reply-to + if ( ! empty( $atts['headers']['reply-to'] ) ) { + $address = str_replace( 'Reply-To: ', '', $atts['headers']['reply-to'] ); + $body['message']['headers']['reply-to'] = $address; + } + // Setting cc if ( ! empty( $atts['headers']['cc'] ) ) { foreach ( $atts['headers']['cc']->as_array() as $recipient ) { - $data = $recipient->as_array(); - $data['type'] = 'cc'; - $body['message']['to'][] = array_filter( $data ); + if ( isset( $recipient['email'] ) ) { + $body['message']['to'][] = array( + 'type' => 'cc', + 'email' => $recipient['email'], + ); + } } } // Setting bcc if ( ! empty( $atts['headers']['bcc'] ) ) { foreach ( $atts['headers']['bcc']->as_array() as $recipient ) { - $data = $recipient->as_array(); - $data['type'] = 'bcc'; - $body['message']['to'][] = array_filter( $data ); + if ( isset( $recipient['email'] ) ) { + $body['message']['to'][] = array( + 'type' => 'bcc', + 'email' => $recipient['email'], + ); + } } } diff --git a/includes/connectors/types/class-connector-mailgun.php b/includes/connectors/types/class-connector-mailgun.php index 951377d..2e5a4c8 100644 --- a/includes/connectors/types/class-connector-mailgun.php +++ b/includes/connectors/types/class-connector-mailgun.php @@ -22,7 +22,6 @@ class Connector_Mailgun extends Connector_Base { const API_URL_US = 'https://api.mailgun.net/v3/'; const API_URL_EU = 'https://api.eu.mailgun.net/v3/'; - protected $name = 'mailgun'; protected $title = 'Mailgun'; protected $disabled = true; @@ -34,6 +33,10 @@ public function get_description() { return esc_html__( 'Mailgun is a transactional email service that provides industry-leading reliability, compliance, and speed. Offering a 30-day trial, Mailgun’s premium service starts at $35 a month, which allows you to send up to 50,000 emails. For more information on how to get started with Mailgun, read our documentation.', 'gravitysmtp' ); } + protected $sensitive_fields = array( + self::SETTING_API_KEY, + ); + /** * Sending logic. * diff --git a/includes/connectors/types/class-connector-microsoft.php b/includes/connectors/types/class-connector-microsoft.php index 9afebe9..de52ccf 100644 --- a/includes/connectors/types/class-connector-microsoft.php +++ b/includes/connectors/types/class-connector-microsoft.php @@ -33,6 +33,12 @@ public function get_description() { return __( "Deliver emails with confidence using Microsoft 365 / Outlook. Connect to Microsoft’s API to securely authenticate and send any emails or form notifications from your website.", 'gravitysmtp' ); } + protected $sensitive_fields = array( + self::SETTING_ACCESS_TOKEN, + self::SETTING_CLIENT_ID, + self::SETTING_CLIENT_SECRET, + ); + /** * Sending logic. * diff --git a/includes/connectors/types/class-connector-phpmail.php b/includes/connectors/types/class-connector-phpmail.php index 82f4054..edbe3cc 100644 --- a/includes/connectors/types/class-connector-phpmail.php +++ b/includes/connectors/types/class-connector-phpmail.php @@ -33,8 +33,24 @@ public function get_description() { * @return bool */ public function send() { - // noop - this connector just allows the default wp_mail to handle sends. - return; + $to = $this->get_att( 'to', '' ); + $subject = $this->get_att( 'subject', '' ); + $message = $this->get_att( 'message', '' ); + $headers = $this->get_parsed_headers( $this->get_att( 'headers', array() ) ); + $attachments = $this->get_att( 'attachments', array() ); + $from = $this->get_from( true ); + $reply_to = $this->get_reply_to( true ); + $source = $this->get_att( 'source' ); + $params = $this->get_request_params(); + $email = $this->email; + + if ( ! empty( $headers['content-type'] ) ) { + $headers['content-type'] = $this->get_att( 'content_type', $headers['content-type'] ); + } + + $this->set_email_log_data( $subject, $message, $to, empty( $from['name'] ) ? $from['email'] : sprintf( '%s <%s>', $from['name'], $from['email'] ), $headers, $attachments, $source, $params ); + + return true; } /** diff --git a/includes/connectors/types/class-connector-postmark.php b/includes/connectors/types/class-connector-postmark.php index b489138..c4b52bd 100644 --- a/includes/connectors/types/class-connector-postmark.php +++ b/includes/connectors/types/class-connector-postmark.php @@ -19,6 +19,10 @@ public function get_description() { return esc_html__( 'Owned by ActiveCampaign, Postmark is a popular email-sending service with an impressive reputation for reliability and deliverability. Postmark offers a free plan that allows you to send up to 100 emails a month. Over 100, prices vary depending on the number of emails sent. For more information on how to get started with Postmark, read our documentation.', 'gravitysmtp' ); } + protected $sensitive_fields = array( + self::SETTING_SERVER_API_TOKEN, + ); + /** * Sending logic. * diff --git a/includes/connectors/types/class-connector-sendgrid.php b/includes/connectors/types/class-connector-sendgrid.php index 46bed74..9356b50 100644 --- a/includes/connectors/types/class-connector-sendgrid.php +++ b/includes/connectors/types/class-connector-sendgrid.php @@ -19,6 +19,10 @@ public function get_description() { return esc_html__( 'Send at scale with Twilio SendGrid, boasting an industry-leading 99% deliverability rate. SendGrid offers both a free-forever plan of 100 emails a day, and, if you need to exceed that limit, a selection of preset pricing plans, starting at $19.95 per month for up to 50,000 emails. For more information on how to get started with SendGrid, read our documentation.', 'gravitysmtp' ); } + protected $sensitive_fields = array( + self::SETTING_API_KEY, + ); + public function send() { try { $atts = $this->get_send_atts(); diff --git a/includes/connectors/types/class-connector-zoho.php b/includes/connectors/types/class-connector-zoho.php index 0ad7fe0..cae1615 100644 --- a/includes/connectors/types/class-connector-zoho.php +++ b/includes/connectors/types/class-connector-zoho.php @@ -3,6 +3,11 @@ namespace Gravity_Forms\Gravity_SMTP\Connectors\Types; use Gravity_Forms\Gravity_SMTP\Connectors\Connector_Base; +use Gravity_Forms\Gravity_SMTP\Connectors\Connector_Service_Provider; +use Gravity_Forms\Gravity_SMTP\Connectors\Oauth\Zoho_Oauth_Handler; +use Gravity_Forms\Gravity_SMTP\Enums\Zoho_Datacenters_Enum; +use Gravity_Forms\Gravity_SMTP\Feature_Flags\Feature_Flag_Manager; +use Gravity_Forms\Gravity_SMTP\Gravity_SMTP; /** * Connector for Zoho @@ -11,12 +16,25 @@ */ class Connector_Zoho extends Connector_Base { - protected $name = 'zoho-mail'; - protected $title = 'Zoho'; - protected $disabled = true; - protected $description = 'Zoho is a popular and robust payment processing platform that allows businesses and websites to accept credit card payments online.'; - protected $logo = 'Zoho'; - protected $full_logo = ''; + const SETTING_ACCESS_TOKEN = 'access_token'; + const SETTING_CLIENT_ID = 'client_id'; + const SETTING_CLIENT_SECRET = 'client_secret'; + const SETTING_DATA_CENTER_REGION = 'data_center_region'; + const SETTING_ACCOUNT_ID = 'account_id'; + + const VALUE_REDIRECT_URI = 'redirect_uri'; + const VALUE_REDIRECT_URI_FULL = 'redirect_uri_full'; + + protected $name = 'zoho'; + protected $title = 'Zoho Mail'; + protected $logo = 'Zoho'; + protected $full_logo = 'ZohoFull'; + + protected $sensitive_fields = array( + self::SETTING_ACCESS_TOKEN, + self::SETTING_CLIENT_ID, + self::SETTING_CLIENT_SECRET, + ); /** * Sending logic. @@ -26,10 +44,173 @@ class Connector_Zoho extends Connector_Base { * @return bool */ public function send() { - // @todo - set up actual send logic. + $atts = $this->get_send_atts(); + $email = $this->email; + $source = $this->get_att( 'source' ); + $params = $this->get_request_body( $atts ); + + $this->set_email_log_data( $atts['subject'], $atts['message'], $atts['to'], $atts['from']['email'], $atts['headers'], $atts['attachments'], $source, $params ); + + $args = array( + 'headers' => $this->get_request_headers(), + 'body' => json_encode( $params ), + ); + + $this->set_email_log_data( $atts['subject'], $atts['message'], $atts['to'], $atts['from']['from'], $atts['headers'], $atts['attachments'], $source, $params ); + + $this->logger->log( $email, 'started', __( 'Starting email send for Mailchimp connector.', 'gravitysmtp' ) ); + + $this->debug_logger->log_debug( $this->wrap_debug_with_details( __FUNCTION__, $email, 'Starting email send with Zoho connector and the following params: ' . json_encode( $params ) ) ); + + if ( $this->is_test_mode() ) { + $this->events->update( array( 'status' => 'sandboxed' ), $email ); + $this->logger->log( $email, 'sandboxed', __( 'Email sandboxed.', 'gravitysmtp' ) ); + $this->debug_logger->log_debug( $this->wrap_debug_with_details( __FUNCTION__, $email, 'Test mode is enabled, sandboxing email.' ) ); + + return true; + } + + $request_url = $this->get_api_url( sprintf( 'api/accounts/%s/messages', $this->get_setting( self::SETTING_ACCOUNT_ID, '' ) ) ); + $request = wp_remote_post( $request_url, $args ); + $response_code = wp_remote_retrieve_response_code( $request ); + $body = wp_remote_retrieve_body( $request ); + $decoded = json_decode( $body, true ); + + if ( $response_code >= 300 ) { + $this->log_failure( $email, $body ); + $this->debug_logger->log_error( $this->wrap_debug_with_details( __FUNCTION__, $email, 'Email failed to send. Details: ' . $body ) ); + + return $email; + } + + $this->debug_logger->log_debug( $this->wrap_debug_with_details( __FUNCTION__, $email, 'Received response of: ' . $body ) ); + + $this->events->update( array( 'status' => 'sent' ), $email ); + $this->logger->log( $email, 'sent', __( 'Email successfully sent.', 'gravitysmtp' ) ); + $this->debug_logger->log_debug( $this->wrap_debug_with_details( __FUNCTION__, $email, 'Email successfully sent.' ) ); + return true; } + private function get_request_headers() { + return array( + 'Authorization' => 'Zoho-oauthtoken ' . $this->get_setting( self::SETTING_ACCESS_TOKEN ), + 'Content-Type' => 'application/json', + ); + } + + private function get_request_body( $atts ) { + $body = array( + 'fromAddress' => $atts['from']['email'], + 'toAddress' => $atts['to']->first()->email, + 'subject' => $atts['subject'], + 'content' => $atts['message'], + 'encoding' => 'UTF-8', + ); + + $is_html = ! empty( $atts['headers']['content-type'] ) && strpos( $atts['headers']['content-type'], 'text/html' ) !== false; + + $body['mailFormat'] = $is_html ? 'html' : 'plaintext'; + + if ( ! empty( $atts['attachments'] ) ) { + $body['attachments'] = $this->handle_attachments( $atts['attachments'] ); + } + + return $body; + } + + private function handle_attachments( $attachments ) { + $data = []; + + $headers = $this->get_request_headers(); + $headers['Content-Type'] = 'application/octet-stream'; + + foreach ( $attachments as $attachment ) { + if ( ! file_exists( $attachment ) ) { + continue; + } + + $file = file_get_contents( $attachment ); + + if ( $file === false ) { + continue; + } + + $file_name = basename( $attachment ); + + // Upload the attachment via Zoho API. + $url = add_query_arg( + 'fileName', + $file_name, + $this->get_api_url( sprintf( 'api/accounts/%s/messages/attachments', $this->get_setting( self::SETTING_ACCOUNT_ID, '' ) ) ) + ); + + $params = array( + 'headers' => $headers, + 'body' => $file, + ); + + $response = wp_safe_remote_post( $url, $params ); + + if ( is_wp_error( $response ) || wp_remote_retrieve_response_code( $response ) !== 200 ) { + continue; + } + + $body = json_decode( wp_remote_retrieve_body( $response ), true ); + + if ( ! empty( $body['data'] ) ) { + $data[] = $body['data']; + } + } + + return $data; + } + + /** + * Get the attributes for sending email. + * + * @since 1.0 + * + * @return array + */ + private function get_send_atts() { + $headers = $this->get_parsed_headers( $this->get_att( 'headers', array() ) ); + + if ( ! empty( $headers['content-type'] ) ) { + $headers['content-type'] = $this->get_att( 'content_type', $headers['content-type'] ); + } + + return array( + 'to' => $this->get_att( 'to', '' ), + 'subject' => $this->get_att( 'subject', '' ), + 'message' => $this->get_att( 'message', '' ), + 'headers' => $headers, + 'attachments' => $this->get_att( 'attachments', array() ), + 'from' => $this->get_from( true ), + 'reply_to' => $this->get_reply_to( true ), + ); + } + + private function get_api_url( $endpoint ) { + $data_center_location = $this->get_setting( self::SETTING_DATA_CENTER_REGION, 'us' ); + + $base = Zoho_Datacenters_Enum::url_for_datacenter( $data_center_location ); + + return trailingslashit( $base ) . $endpoint; + } + + public function get_description() { + return esc_html__( 'Reach inboxes when it matters most. Send email notifications to your contacts with Zoho Mail.', 'gravitysmtp' ); + } + + + protected function get_merged_data() { + $data = parent::get_merged_data(); + $data['disabled'] = ! Feature_Flag_Manager::is_enabled( 'zoho_integration' ); + + return $data; + } + /** * Connector data. * @@ -38,8 +219,49 @@ public function send() { * @return array */ public function connector_data() { - // @todo - set up actual connector data. - return array(); + return array( + self::SETTING_CLIENT_ID => $this->get_setting( self::SETTING_CLIENT_ID, '' ), + self::SETTING_CLIENT_SECRET => $this->get_setting( self::SETTING_CLIENT_SECRET, '' ), + self::SETTING_ACCESS_TOKEN => $this->get_setting( self::SETTING_ACCESS_TOKEN, '' ), + self::SETTING_FROM_EMAIL => $this->get_setting( self::SETTING_FROM_EMAIL, '' ), + self::SETTING_FORCE_FROM_EMAIL => $this->get_setting( self::SETTING_FORCE_FROM_EMAIL, false ), + self::SETTING_FROM_NAME => $this->get_setting( self::SETTING_FROM_NAME, '' ), + self::SETTING_FORCE_FROM_NAME => $this->get_setting( self::SETTING_FORCE_FROM_NAME, false ), + 'oauth_url' => 'https://accounts.zoho.com/oauth/v2/auth', + 'oauth_params' => '&' . $this->get_oauth_params(), + ); + } + + protected function get_oauth_params() { + /** + * @var Zoho_Oauth_Handler $oauth_handler + */ + $oauth_handler = Gravity_SMTP::container()->get( Connector_Service_Provider::ZOHO_OAUTH_HANDLER ); + + $params = array( + 'response_type' => 'code', + 'redirect_uri' => urldecode( $oauth_handler->get_return_url() ), + 'scope' => $oauth_handler->get_scope(), + 'state' => 1, + 'access_type' => 'offline', + 'prompt' => 'consent', + ); + + return http_build_query( $params ); + } + + public function is_configured() { + if ( $this->get_setting( 'access_token', false ) ) { + /** + * @var Zoho_Oauth_Handler $oauth_handler + */ + $oauth_handler = Gravity_SMTP::container()->get( Connector_Service_Provider::ZOHO_OAUTH_HANDLER ); + $token = $oauth_handler->get_access_token(); + + return $token; + } + + return false; } /** @@ -50,25 +272,319 @@ public function connector_data() { * @return array */ public function settings_fields() { - // @todo - set up actual settings fields. - return array(); + /** + * @var Zoho_Oauth_Handler $oauth_handler + */ + $oauth_handler = Gravity_SMTP::container()->get( Connector_Service_Provider::ZOHO_OAUTH_HANDLER ); + + $oauth_handler->handle_response( $this->name ); + + $token = $oauth_handler->get_access_token( $this->name ); + $has_token = $token && ! is_wp_error( $token ); + + $settings = array( + 'title' => esc_html__( 'Zoho Mail Settings', 'gravitysmtp' ), + 'hide_save' => ( ! $has_token ), + 'fields' => array(), + ); + + if ( ! $token || is_wp_error( $token ) ) { + $settings['fields'][] = array( + 'component' => 'Alert', + 'props' => array( + 'customIconPrefix' => 'gravitysmtp-admin-icon', + 'theme' => 'cosmos', + 'type' => 'notice', + 'spacing' => 3, + ), + 'fields' => array( + array( + 'component' => 'Text', + 'props' => array( + 'content' => esc_html__( 'Please click the button below to initiate a connection with your Zoho Mail account. Remember to fill out both the Client ID and Client Secret fields before proceeding.', 'gravitysmtp' ), + 'customClasses' => array( + 'gform--display-block', + 'gravitysmtp-integration__notice-message' + ), + 'size' => 'text-sm', + 'spacing' => 4, + 'tagName' => 'span', + ), + ), + array( + 'component' => 'Link', + 'props' => array( + 'content' => esc_html__( 'Read our Zoho Mail documentation', 'gravitysmtp' ), + 'customClasses' => array( + 'gform-link--theme-cosmos', + 'gravitysmtp-integration__notice-link', + 'gform-button', + 'gform-button--size-height-m', + 'gform-button--white', + 'gform-button--width-auto' + ), + 'href' => 'https://docs.gravitysmtp.com/category/integrations/zoho/', + 'target' => '_blank', + ), + ), + ), + ); + } + + if ( isset( $_GET['code'] ) && ! $has_token ) { + $settings['fields'][] = array( + 'component' => 'Alert', + 'props' => array( + 'customIconPrefix' => 'gravitysmtp-admin-icon', + 'theme' => 'cosmos', + 'type' => 'error', + 'spacing' => 3, + ), + 'fields' => array( + array( + 'component' => 'Text', + 'props' => array( + 'content' => esc_html__( 'Error Connecting to Zoho Mail. Check your credentials and try again.', 'gravitysmtp' ), + 'weight' => 'medium', + 'size' => 'text-sm', + 'spacing' => 2, + 'tagName' => 'span', + ), + ), + ), + ); + } + + $settings['fields'][] = array( + 'component' => 'Heading', + 'props' => array( + 'content' => esc_html__( 'Configuration', 'gravitysmtp' ), + 'size' => 'text-sm', + 'spacing' => [ 4, 0, 3, 0 ], + 'tagName' => 'h3', + 'type' => 'boxed', + 'weight' => 'medium', + ), + ); + + $settings['fields'][] = array( + 'component' => 'Select', + 'props' => array( + 'name' => self::SETTING_DATA_CENTER_REGION, + 'size' => 'size-l', + 'spacing' => [ 4, 0, 3, 0 ], + 'helpTextAttributes' => array( + 'content' => esc_html__( 'If you are unsure about your Datacenter location, check your Zoho account.', 'gravitysmtp' ), + 'size' => 'text-xs', + 'weight' => 'regular', + ), + 'labelAttributes' => array( + 'label' => esc_html__( 'Datacenter Region', 'gravitysmtp' ), + 'size' => 'text-sm', + 'weight' => 'medium', + ), + 'options' => Zoho_Datacenters_Enum::select_component_options(), + 'initialValue' => $this->get_setting( self::SETTING_DATA_CENTER_REGION, 'us' ), + ), + ); + + if ( ! $token || is_wp_error( $token ) ) { + $settings['fields'][] = array( + 'component' => 'LinkedHelpTextInput', + 'external' => true, + 'handle_change' => true, + 'links' => array( + array( + 'key' => 'link', + 'props' => array( + 'href' => 'https://api-console.zoho.com/', + 'size' => 'text-xs', + 'target' => '_blank', + ), + ), + ), + 'props' => array( + 'helpTextAttributes' => array( + 'content' => esc_html__( 'To obtain an Client ID from Zoho Mail, login to your {{link}}Zoho API{{link}} dashboard and generate a Client ID.', 'gravitysmtp' ), + 'size' => 'text-xs', + 'weight' => 'regular', + ), + 'labelAttributes' => array( + 'label' => esc_html__( 'Client ID', 'gravitysmtp' ), + 'size' => 'text-sm', + 'weight' => 'medium', + ), + 'name' => self::SETTING_CLIENT_ID, + 'spacing' => 4, + 'size' => 'size-l', + 'value' => $this->get_setting( self::SETTING_CLIENT_ID, '' ), + ), + ); + + $settings['fields'][] = array( + 'component' => 'LinkedHelpTextInput', + 'external' => true, + 'handle_change' => true, + 'links' => array( + array( + 'key' => 'link', + 'props' => array( + 'href' => 'https://api-console.zoho.com/', + 'size' => 'text-xs', + 'target' => '_blank', + ), + ), + ), + 'props' => array( + 'helpTextAttributes' => array( + 'content' => esc_html__( 'To obtain a Client Secret password, log in to your {{link}}Zoho API{{link}} dashboard and generate a new client secret. Then, copy the value into this field.', 'gravitysmtp' ), + 'size' => 'text-xs', + 'weight' => 'regular', + ), + 'labelAttributes' => array( + 'label' => esc_html__( 'Client Secret', 'gravitysmtp' ), + 'size' => 'text-sm', + 'weight' => 'medium', + ), + 'name' => self::SETTING_CLIENT_SECRET, + 'spacing' => 6, + 'size' => 'size-l', + 'value' => $this->get_setting( self::SETTING_CLIENT_SECRET, '' ), + ), + ); + + $settings['fields'][] = array( + 'component' => 'CopyInput', + 'external' => true, + 'props' => array( + 'actionButtonAttributes' => array( + 'customAttributes' => array( + 'type' => 'button', + ), + 'icon' => 'copy', + 'iconPrefix' => 'gravitysmtp-admin-icon', + 'label' => esc_html__( 'Copy', 'gravitysmtp' ), + ), + 'labelAttributes' => array( + 'label' => esc_html__( 'Redirect URI', 'gravitysmtp' ), + 'size' => 'text-sm', + 'weight' => 'medium', + ), + 'name' => self::VALUE_REDIRECT_URI, + 'spacing' => 6, + 'size' => 'size-l', + 'customAttributes' => array( + 'readOnly' => true, + ), + 'value' => urldecode( $oauth_handler->get_return_url( 'copy' ) . '?page=gravitysmtp-settings&integration=zoho&tab=integrations' ), + 'helpTextAttributes' => array( + 'content' => __( 'Copy this URL into the "Authorized redirect URIs" field of your Zoho Mail application.', 'gravitysmtp' ), + 'size' => 'text-xs', + 'weight' => 'regular', + ), + ), + ); + + $settings['fields'][] = array( + 'component' => 'Heading', + 'props' => array( + 'content' => esc_html__( 'Authorization', 'gravitysmtp' ), + 'size' => 'text-sm', + 'spacing' => [ 4, 0, 3, 0 ], + 'tagName' => 'h3', + 'type' => 'boxed', + 'weight' => 'medium', + ), + ); + + $settings['fields'][] = array( + 'component' => 'BrandedButton', + 'external' => true, + 'props' => array( + 'label' => esc_html__( 'Sign in with Zoho Mail', 'gravitysmtp' ), + 'spacing' => 6, + 'Svg' => 'ZohoAltLogo', + 'type' => 'color', + ), + ); + } else { + $settings['fields'][] = array( + 'component' => 'Box', + 'props' => array( + 'customClasses' => array( 'gravitysmtp-google-integration__connected-message' ), + 'display' => 'flex', + 'spacing' => 3, + ), + 'fields' => array( + array( + 'component' => 'Icon', + 'props' => array( + 'customClasses' => array( + 'gravitysmtp-google-integration__checkmark', + 'gform-icon--preset-active', + 'gform-icon-preset--status-correct', + 'gform-alert__icon' + ), + 'icon' => 'checkmark-simple', + 'iconPrefix' => 'gravitysmtp-admin-icon', + ), + ), + array( + 'component' => 'Text', + 'props' => array( + 'asHtml' => true, + 'content' => sprintf( + '%s %s', + esc_html__( 'Connected to Zoho Mail with account:', 'gravitysmtp' ), + esc_html( $oauth_handler->get_connection_details()['account_id'] ) + ), + 'size' => 'text-sm', + 'tagName' => 'span', + ), + ), + ), + ); + + $disconnect_url = admin_url( 'admin-post.php?action=smtp_disconnect_zoho' ); + + $settings['fields'][] = array( + 'component' => 'Text', + 'props' => array( + 'content' => sprintf( '
%s', $disconnect_url, 'gform-link gform-link--theme-cosmos gform-button gform-button--size-height-m gform-button--white gform-button--width-auto gform-button--active-type-loader gform-button--loader-after gform-button--icon-leading', __( 'Disconnect from Zoho Mail', 'gravitysmtp' ) ), + 'asHtml' => true, + 'spacing' => 6, + ), + ); + + $settings['fields'][] = array( + 'component' => 'Heading', + 'props' => array( + 'content' => esc_html__( 'Configuration', 'gravitysmtp' ), + 'size' => 'text-sm', + 'spacing' => [ 4, 0, 4, 0 ], + 'tagName' => 'h3', + 'type' => 'boxed', + 'weight' => 'medium', + ), + ); + + $settings['fields'] = array_merge( $settings['fields'], $this->get_from_settings_fields() ); + } + + return $settings; } /** - * Get the unique data for this connector, merged with the default/common data for all - * connectors in the system. + * Logs an email send failure. * - * @since 1.0 + * @since 1.4.0 * - * @return array + * @param string $email The email that failed. + * @param string $error_message The error message. */ - protected function get_merged_data() { - return array( - self::SETTING_ACTIVATED => true, - self::SETTING_CONFIGURED => false, - self::SETTING_ENABLED => false, - 'disabled' => $this->disabled, - ); + private function log_failure( $email, $error_message ) { + $this->events->update( array( 'status' => 'failed' ), $email ); + $this->logger->log( $email, 'failed', $error_message ); } } diff --git a/includes/datastore/class-data-store-router.php b/includes/datastore/class-data-store-router.php index 9634d0a..9dd23ca 100644 --- a/includes/datastore/class-data-store-router.php +++ b/includes/datastore/class-data-store-router.php @@ -82,6 +82,12 @@ public function get_active_connector( $default = false ) { } public function get_connector_status_of_type( $status_type, $default = false ) { + $const_check = sprintf( 'GRAVITYSMTP_INTEGRATION_%s', strtoupper( $status_type ) ); + + if ( defined( $const_check ) ) { + return constant( $const_check ); + } + $setting = Connector_Status_Enum::setting_for_status( $status_type ); $connectors = $this->get_plugin_setting( $setting, array() ); $connectors = array_filter( $connectors, function( $enabled ) { diff --git a/includes/datastore/class-opts-data-store.php b/includes/datastore/class-opts-data-store.php index 8a68171..ba916d5 100644 --- a/includes/datastore/class-opts-data-store.php +++ b/includes/datastore/class-opts-data-store.php @@ -23,6 +23,10 @@ public function save_all( $value, $connector ) { $opts_name = sprintf( 'gravitysmtp_%s', strtolower( $connector ) ); foreach( $value as $key => $val ) { + if ( $val === '****************' ){ + continue; + } + if ( $val === 'true' ) { $val = true; } diff --git a/includes/enums/class-status-enum.php b/includes/enums/class-status-enum.php index b031b66..6329b07 100644 --- a/includes/enums/class-status-enum.php +++ b/includes/enums/class-status-enum.php @@ -40,19 +40,21 @@ public static function indicator( $key ) { private static function get_status_map() { return array( - 'pending' => 'warning', - 'sent' => 'active', - 'failed' => 'error', - 'sandboxed' => 'warning', + 'pending' => 'warning', + 'sent' => 'active', + 'failed' => 'error', + 'sandboxed' => 'warning', + 'suppressed' => 'warning', ); } private static function get_labels() { return array( - 'pending' => __( 'Pending', 'gravitysmtp' ), - 'sent' => __( 'Sent', 'gravitysmtp' ), - 'failed' => __( 'Failed', 'gravitysmtp' ), - 'sandboxed' => __( 'Sandboxed', 'gravitysmtp' ), + 'pending' => __( 'Pending', 'gravitysmtp' ), + 'sent' => __( 'Sent', 'gravitysmtp' ), + 'failed' => __( 'Failed', 'gravitysmtp' ), + 'sandboxed' => __( 'Sandboxed', 'gravitysmtp' ), + 'suppressed' => __( 'Suppressed', 'gravitysmtp' ), ); } diff --git a/includes/enums/class-suppression-reason-enum.php b/includes/enums/class-suppression-reason-enum.php new file mode 100644 index 0000000..203abc3 --- /dev/null +++ b/includes/enums/class-suppression-reason-enum.php @@ -0,0 +1,53 @@ + 'warning', + ); + } + + private static function get_labels() { + return array( + 'manually_added' => __( 'Manually Suppressed', 'gravitysmtp' ), + ); + } + +} diff --git a/includes/enums/class-zoho-datacenters-enum.php b/includes/enums/class-zoho-datacenters-enum.php new file mode 100644 index 0000000..54b240c --- /dev/null +++ b/includes/enums/class-zoho-datacenters-enum.php @@ -0,0 +1,55 @@ + 'us', + __( 'Europe', 'gravitysmtp' ) => 'eu', + __( 'India', 'gravitysmtp' ) => 'in', + __( 'Australia', 'gravitysmtp' ) => 'au', + __( 'Japan', 'gravitysmtp' ) => 'jp', + __( 'Canada', 'gravitysmtp' ) => 'ca', + __( 'Saudi Arabia', 'gravitysmtp' ) => 'sa', + ); + } + + protected static function datacenter_to_url() { + return array( + 'us' => 'https://mail.zoho.com', + 'eu' => 'https://mail.zoho.uk', + 'in' => 'https://mail.zoho.in', + 'au' => 'https://mail.zoho.com.au', + 'jp' => 'https://mail.zoho.jp', + 'ca' => 'https://mail.zoho.ca', + 'sa' => 'https://mail.zoho.sa', + ); + } + + public static function url_for_datacenter( $datacenter ) { + $map = self::datacenter_to_url(); + + if ( isset( $map[ $datacenter ] ) ) { + return $map[ $datacenter ]; + } + + return $map['us']; + } + + public static function select_component_options() { + $values = self::map(); + $return = array(); + + foreach ( $values as $label => $key ) { + $return[] = array( + 'label' => $label, + 'value' => $key + ); + } + + return $return; + } + +} \ No newline at end of file diff --git a/includes/experimental-features/class-experimental-features-handler.php b/includes/experimental-features/class-experimental-features-handler.php new file mode 100644 index 0000000..8dc09ff --- /dev/null +++ b/includes/experimental-features/class-experimental-features-handler.php @@ -0,0 +1,43 @@ +data_router = $data_router; + } + + public function feature_flag_callback( $is_enabled, $flag_slug ) { + if ( ! in_array( $flag_slug, $this->experiments ) ) { + return $is_enabled; + } + + $enabled_experiments = $this->data_router->get_plugin_setting( self::ENABLED_EXPERIMENTS_PARAM, array() ); + + if ( empty( $enabled_experiments ) ) { + return false; + } + + if ( ! isset( $enabled_experiments[ $flag_slug ] ) ) { + return false; + } + + return Booliesh::get( $enabled_experiments[ $flag_slug ] ); + } + +} \ No newline at end of file diff --git a/includes/experimental-features/class-experimental-features-service-provider.php b/includes/experimental-features/class-experimental-features-service-provider.php new file mode 100644 index 0000000..831a21b --- /dev/null +++ b/includes/experimental-features/class-experimental-features-service-provider.php @@ -0,0 +1,26 @@ +add( self::EXPERIMENTAL_FEATURE_HANDLER, function() use ( $container ) { + return new Experiment_Features_Handler( $container->get( Connector_Service_Provider::DATA_STORE_ROUTER ) ); + } ); + } + + public function init( Service_Container $container ) { + add_filter( Feature_Flag_Repository::FILTER_SINGLE_FEATURE_FLAG, function( $is_enabled, $flag_slug ) use ( $container ) { + return $container->get( self::EXPERIMENTAL_FEATURE_HANDLER )->feature_flag_callback( $is_enabled, $flag_slug ); + }, 10, 2 ); + } + +} \ No newline at end of file diff --git a/includes/handler/class-handler-service-provider.php b/includes/handler/class-handler-service-provider.php index 521f9d7..3ed327d 100644 --- a/includes/handler/class-handler-service-provider.php +++ b/includes/handler/class-handler-service-provider.php @@ -2,6 +2,7 @@ namespace Gravity_Forms\Gravity_SMTP\Handler; +use Gravity_Forms\Gravity_SMTP\Apps\App_Service_Provider; use Gravity_Forms\Gravity_SMTP\Connectors\Connector_Service_Provider; use Gravity_Forms\Gravity_SMTP\Feature_Flags\Feature_Flag_Manager; use Gravity_Forms\Gravity_SMTP\Handler\Config\Handler_Endpoints_Config; @@ -9,6 +10,7 @@ use Gravity_Forms\Gravity_SMTP\Handler\External\Gravity_Forms_Note_Handler; use Gravity_Forms\Gravity_SMTP\Logging\Logging_Service_Provider; use Gravity_Forms\Gravity_SMTP\Models\Event_Model; +use Gravity_Forms\Gravity_SMTP\Suppression\Suppression_Service_Provider; use Gravity_Forms\Gravity_Tools\Providers\Config_Service_Provider; use Gravity_Forms\Gravity_Tools\Service_Container; use Gravity_Forms\Gravity_Tools\Utils\Utils_Service_Provider; @@ -32,8 +34,9 @@ public function register( Service_Container $container ) { $factory = $container->get( Connector_Service_Provider::CONNECTOR_FACTORY ); $data_store = $container->get( Connector_Service_Provider::DATA_STORE_ROUTER ); $source_parser = $container->get( Utils_Service_Provider::SOURCE_PARSER ); + $suppressed_model = $container->get( Suppression_Service_Provider::SUPPRESSED_EMAILS_MODEL ); - return new Mail_Handler( $factory, $data_store, $source_parser ); + return new Mail_Handler( $factory, $data_store, $source_parser, $suppressed_model ); } ); $container->add( self::RESEND_EMAIL_ENDPOINT, function () use ( $container ) { diff --git a/includes/handler/class-mail-handler.php b/includes/handler/class-mail-handler.php index 6d55e22..dfd7e78 100644 --- a/includes/handler/class-mail-handler.php +++ b/includes/handler/class-mail-handler.php @@ -2,10 +2,13 @@ namespace Gravity_Forms\Gravity_SMTP\Handler; +use Gravity_Forms\Gravity_SMTP\Apps\Config\Email_Log_Config; use Gravity_Forms\Gravity_SMTP\Connectors\Connector_Factory; use Gravity_Forms\Gravity_SMTP\Connectors\Endpoints\Save_Connector_Settings_Endpoint; use Gravity_Forms\Gravity_SMTP\Connectors\Endpoints\Save_Plugin_Settings_Endpoint; use Gravity_Forms\Gravity_SMTP\Data_Store\Data_Store_Router; +use Gravity_Forms\Gravity_SMTP\Feature_Flags\Feature_Flag_Manager; +use Gravity_Forms\Gravity_SMTP\Models\Suppressed_Emails_Model; use Gravity_Forms\Gravity_SMTP\Utils\Source_Parser; class Mail_Handler { @@ -27,15 +30,21 @@ class Mail_Handler { */ private $source_parser; + /** + * @var Suppressed_Emails_Model + */ + private $suppressed_model; + /** * @var null A way to store the entry ID being acted upon. */ protected $entry_id = null; - public function __construct( $connector_factory, $data_store, $source_parser ) { + public function __construct( $connector_factory, $data_store, $source_parser, $suppressed_model ) { $this->connector_factory = $connector_factory; $this->data_store = $data_store; $this->source_parser = $source_parser; + $this->suppressed_model = $suppressed_model; } public function set_entry_id( $entry_id ) { @@ -106,6 +115,9 @@ public static function is_test_mode() { } public function mail( $to, $subject, $message, $headers = '', $attachments = array() ) { + // Clear sources cache to ensure up-to-date info + delete_transient( Email_Log_Config::SOURCE_LIST_ITEMS_TRANSIENT ); + // Re-send attempts put the source in the $headers array. if ( is_array( $headers ) && isset( $headers['source'] ) ) { $source = $headers['source']; @@ -143,6 +155,14 @@ public function mail( $to, $subject, $message, $headers = '', $attachments = arr $connector = $this->get_connector( $type ); $connector->init( $to, $subject, $message, $headers, $attachments, $source ); + + $to_email = $connector->get_att( 'to' )->first()->email(); + + if ( Feature_Flag_Manager::is_enabled( 'email_suppression' ) && $this->suppressed_model->is_email_suppressed( $to_email ) ) { + $connector->handle_suppressed_email( $to_email, $source ); + return false; + } + $send = $connector->send(); if ( $send === true ) { @@ -150,6 +170,8 @@ public function mail( $to, $subject, $message, $headers = '', $attachments = arr } if ( $send !== true && $skip_retry ) { + $failed_email_id = $send; + do_action( 'gravitysmtp_on_send_failure', $failed_email_id ); return false; } diff --git a/includes/logging/endpoints/get-paginated-debug-log-items.php b/includes/logging/endpoints/get-paginated-debug-log-items.php index 8cb9166..2dbfd2d 100644 --- a/includes/logging/endpoints/get-paginated-debug-log-items.php +++ b/includes/logging/endpoints/get-paginated-debug-log-items.php @@ -3,163 +3,144 @@ ini_set( 'html_errors', 0 ); define( 'SHORTINIT', true ); -function run() { - require '../../../../../../wp-load.php'; - require '../../models/class-debug-log-model.php'; - require '../../datastore/interface-data-store.php'; - require '../../datastore/class-plugin-opts-data-store.php'; - require '../../users/class-roles.php'; - require '../../utils/class-recipient.php'; - require '../../../vendor/gravityforms/gravity-tools/src/Logging/class-log-line.php'; - - require_once( ABSPATH . WPINC . '/default-constants.php' ); - require_once( ABSPATH . WPINC . '/class-wp-textdomain-registry.php' ); - require_once( ABSPATH . WPINC . '/capabilities.php' ); - require_once( ABSPATH . WPINC . '/class-wp-session-tokens.php' ); - require_once( ABSPATH . WPINC . '/class-wp-user-meta-session-tokens.php' ); - require_once( ABSPATH . WPINC . '/class-wp-role.php' ); - require_once( ABSPATH . WPINC . '/class-wp-roles.php' ); - require_once( ABSPATH . WPINC . '/class-wp-user.php' ); - require_once( ABSPATH . WPINC . '/l10n.php' ); - require_once( ABSPATH . WPINC . '/user.php' ); - require_once( ABSPATH . WPINC . '/pluggable.php' ); - require_once( ABSPATH . WPINC . '/rest-api.php' ); - require_once( ABSPATH . WPINC . '/kses.php' ); - require_once( ABSPATH . WPINC . '/blocks.php' ); - require_once( ABSPATH . WPINC . '/theme.php' ); - - wp_plugin_directory_constants(); - wp_cookie_constants(); - - check_ajax_referer( 'debug_log_page', 'security' ); - - $GLOBALS['wp_textdomain_registry'] = new WP_Textdomain_Registry(); - - $per_page = filter_input( INPUT_POST, 'per_page', FILTER_SANITIZE_NUMBER_INT ); - $requested_page = filter_input( INPUT_POST, 'requested_page', FILTER_SANITIZE_NUMBER_INT ); - $max_date = filter_input( INPUT_POST, 'max_date' ); - $search_term = filter_input( INPUT_POST, 'search_term' ); - $search_type = filter_input( INPUT_POST, 'search_type' ); - $priority = filter_input( INPUT_POST, 'priority' ); - - if ( ! empty( $max_date ) ) { - $max_date = htmlspecialchars( $max_date ); +require '../../utils/class-fast-endpoint.php'; + +class Get_Paginated_Debug_Log_Items extends \Gravity_Forms\Gravity_SMTP\Utils\Fast_Endpoint { + + protected function extra_includes() { + return array( + '../../models/class-debug-log-model.php', + '../../datastore/interface-data-store.php', + '../../datastore/class-plugin-opts-data-store.php', + '../../users/class-roles.php', + '../../utils/class-recipient.php', + '../../../vendor/gravityforms/gravity-tools/src/Logging/class-log-line.php', + ); } - if ( ! empty( $search_term ) ) { - $search_term = htmlspecialchars( $search_term ); - } + public function run() { + check_ajax_referer( 'debug_log_page', 'security' ); - if ( ! empty( $search_type ) ) { - $search_type = htmlspecialchars( $search_type ); - } + $per_page = filter_input( INPUT_POST, 'per_page', FILTER_SANITIZE_NUMBER_INT ); + $requested_page = filter_input( INPUT_POST, 'requested_page', FILTER_SANITIZE_NUMBER_INT ); + $max_date = filter_input( INPUT_POST, 'max_date' ); + $search_term = filter_input( INPUT_POST, 'search_term' ); + $search_type = filter_input( INPUT_POST, 'search_type' ); + $priority = filter_input( INPUT_POST, 'priority' ); - if ( ! empty( $priority ) ) { - $priority = htmlspecialchars( $priority ); - } + if ( ! empty( $max_date ) ) { + $max_date = htmlspecialchars( $max_date ); + } - $requested_page = intval( $requested_page ); - $offset = ( $requested_page - 1 ) * $per_page; + if ( ! empty( $search_term ) ) { + $search_term = htmlspecialchars( $search_term ); + } - if ( ! $max_date ) { - $max_date = date( 'Y-m-d H:i:s', time() ); - } + if ( ! empty( $search_type ) ) { + $search_type = htmlspecialchars( $search_type ); + } - if ( empty( $per_page ) ) { - $per_page = 20; - } + if ( ! empty( $priority ) ) { + $priority = htmlspecialchars( $priority ); + } - $debug_log_model = new \Gravity_Forms\Gravity_SMTP\Models\Debug_Log_Model(); - $rows = $debug_log_model->paginate( $requested_page, $per_page, $max_date, $search_term, $search_type, $priority ); - $count = $debug_log_model->count( $search_term, $search_type, $priority ); + $requested_page = intval( $requested_page ); + $offset = ( $requested_page - 1 ) * $per_page; - $data = array( - 'rows' => get_formatted_data_rows( $rows ), - 'total' => $count, - 'row_count' => count( $rows ), - ); + if ( ! $max_date ) { + $max_date = date( 'Y-m-d H:i:s', time() ); + } - wp_send_json_success( $data ); -} + if ( empty( $per_page ) ) { + $per_page = 20; + } -function get_formatted_data_rows( $data ) { - $debug_log_model = new \Gravity_Forms\Gravity_SMTP\Models\Debug_Log_Model(); - return $debug_log_model->lines_as_data_grid( $data ); -} + $debug_log_model = new \Gravity_Forms\Gravity_SMTP\Models\Debug_Log_Model(); + $rows = $debug_log_model->paginate( $requested_page, $per_page, $max_date, $search_term, $search_type, $priority ); + $count = $debug_log_model->count( $search_term, $search_type, $priority ); -function convert_dates_to_timezone( $date ) { - $gmt_time = new \DateTimeZone( 'UTC' ); - $local_time = new \DateTimeZone( wp_timezone_string() ); - $datetime = new \DateTime( $date, $gmt_time ); - $datetime->setTimezone( $local_time ); + $data = array( + 'rows' => $this->get_formatted_data_rows( $rows ), + 'total' => $count, + 'row_count' => count( $rows ), + ); - return $datetime->format( 'F d, Y \a\t h:ia' ); -} + wp_send_json_success( $data ); + } -function get_grid_actions( $event_id ) { - $actions = array( - 'component' => 'Box', - 'components' => array( - array( - 'component' => 'Button', - 'props' => array( - 'action' => 'view', - 'customAttributes' => array( - 'title' => esc_html__( 'View email log', 'gravitysmtp' ), - ), - 'customClasses' => array( 'gravitysmtp-data-grid__action' ), - 'icon' => 'eye', - 'iconPrefix' => 'gravitysmtp-admin-icon', - 'spacing' => [ 0, 2, 0, 0 ], - 'size' => 'size-height-s', - 'type' => 'icon-white', - 'data' => array( - 'event_id' => $event_id, + private function get_formatted_data_rows( $data ) { + $debug_log_model = new \Gravity_Forms\Gravity_SMTP\Models\Debug_Log_Model(); + + return $debug_log_model->lines_as_data_grid( $data ); + } + + private function get_grid_actions( $event_id ) { + $actions = array( + 'component' => 'Box', + 'components' => array( + array( + 'component' => 'Button', + 'props' => array( + 'action' => 'view', + 'customAttributes' => array( + 'title' => esc_html__( 'View email log', 'gravitysmtp' ), + ), + 'customClasses' => array( 'gravitysmtp-data-grid__action' ), + 'icon' => 'eye', + 'iconPrefix' => 'gravitysmtp-admin-icon', + 'spacing' => [ 0, 2, 0, 0 ], + 'size' => 'size-height-s', + 'type' => 'icon-white', + 'data' => array( + 'event_id' => $event_id, + ), + 'disabled' => ! current_user_can( \Gravity_Forms\Gravity_SMTP\Users\Roles::VIEW_EMAIL_LOG_DETAILS ), ), - 'disabled' => ! current_user_can( \Gravity_Forms\Gravity_SMTP\Users\Roles::VIEW_EMAIL_LOG_DETAILS ), ), - ), - array( - 'component' => 'Button', - 'props' => array( - 'action' => 'preview', - 'customAttributes' => array( - 'title' => esc_html__( 'View email', 'gravitysmtp' ), - ), - 'customClasses' => array( 'gravitysmtp-data-grid__action' ), - 'icon' => 'mail', - 'iconPrefix' => 'gravitysmtp-admin-icon', - 'spacing' => [ 0, 2, 0, 0 ], - 'size' => 'size-height-s', - 'type' => 'icon-white', - 'data' => array( - 'event_id' => $event_id, + array( + 'component' => 'Button', + 'props' => array( + 'action' => 'preview', + 'customAttributes' => array( + 'title' => esc_html__( 'View email', 'gravitysmtp' ), + ), + 'customClasses' => array( 'gravitysmtp-data-grid__action' ), + 'icon' => 'mail', + 'iconPrefix' => 'gravitysmtp-admin-icon', + 'spacing' => [ 0, 2, 0, 0 ], + 'size' => 'size-height-s', + 'type' => 'icon-white', + 'data' => array( + 'event_id' => $event_id, + ), + 'disabled' => ! current_user_can( \Gravity_Forms\Gravity_SMTP\Users\Roles::VIEW_EMAIL_LOG_PREVIEW ), ), - 'disabled' => ! current_user_can( \Gravity_Forms\Gravity_SMTP\Users\Roles::VIEW_EMAIL_LOG_PREVIEW ), ), - ), - array( - 'component' => 'Button', - 'props' => array( - 'action' => 'delete', - 'customAttributes' => array( - 'title' => esc_html__( 'Delete email log', 'gravitysmtp' ), - ), - 'customClasses' => array( 'gravitysmtp-data-grid__action' ), - 'icon' => 'trash', - 'iconPrefix' => 'gravitysmtp-admin-icon', - 'size' => 'size-height-s', - 'type' => 'icon-white', - 'data' => array( - 'event_id' => $event_id, + array( + 'component' => 'Button', + 'props' => array( + 'action' => 'delete', + 'customAttributes' => array( + 'title' => esc_html__( 'Delete email log', 'gravitysmtp' ), + ), + 'customClasses' => array( 'gravitysmtp-data-grid__action' ), + 'icon' => 'trash', + 'iconPrefix' => 'gravitysmtp-admin-icon', + 'size' => 'size-height-s', + 'type' => 'icon-white', + 'data' => array( + 'event_id' => $event_id, + ), + 'disabled' => ! current_user_can( \Gravity_Forms\Gravity_SMTP\Users\Roles::DELETE_EMAIL_LOG ), ), - 'disabled' => ! current_user_can( \Gravity_Forms\Gravity_SMTP\Users\Roles::DELETE_EMAIL_LOG ), ), ), - ), - ); + ); + + return apply_filters( 'gravitysmtp_email_log_actions', $actions ); + } - return apply_filters( 'gravitysmtp_email_log_actions', $actions ); } -run(); +$endpoint = new Get_Paginated_Debug_Log_Items(); +$endpoint->run(); diff --git a/includes/logging/endpoints/get-paginated-items.php b/includes/logging/endpoints/get-paginated-items.php index 2caa4ef..43a198b 100644 --- a/includes/logging/endpoints/get-paginated-items.php +++ b/includes/logging/endpoints/get-paginated-items.php @@ -3,296 +3,303 @@ ini_set( 'html_errors', 0 ); define( 'SHORTINIT', true ); -function run() { - require '../../../../../../wp-load.php'; - require '../../models/traits/trait-can-compare-dynamically.php'; - require '../../models/class-event-model.php'; - require '../../models/hydrators/class-hydrator-factory.php'; - require '../../datastore/interface-data-store.php'; - require '../../datastore/class-plugin-opts-data-store.php'; - require '../../users/class-roles.php'; - require '../../utils/class-recipient.php'; - require '../../utils/class-recipient-collection.php'; - require '../../utils/class-recipient-parser.php'; - require '../../utils/class-sql-filter-parser.php'; - require '../../enums/class-integration-enum.php'; - require '../../enums/class-status-enum.php'; - require '../../models/hydrators/interface-hydrator.php'; - require '../../models/hydrators/class-hydrator-wp-mail.php'; - require '../../models/hydrators/class-hydrator-brevo.php'; - require '../../models/hydrators/class-hydrator-generic.php'; - require '../../models/hydrators/class-hydrator-mailgun.php'; - require '../../models/hydrators/class-hydrator-postmark.php'; - require '../../models/hydrators/class-hydrator-sendgrid.php'; +require '../../utils/class-fast-endpoint.php'; - require_once( ABSPATH . WPINC . '/default-constants.php' ); - require_once( ABSPATH . WPINC . '/class-wp-textdomain-registry.php' ); - require_once( ABSPATH . WPINC . '/capabilities.php' ); - require_once( ABSPATH . WPINC . '/class-wp-session-tokens.php' ); - require_once( ABSPATH . WPINC . '/class-wp-user-meta-session-tokens.php' ); - require_once( ABSPATH . WPINC . '/class-wp-role.php' ); - require_once( ABSPATH . WPINC . '/class-wp-roles.php' ); - require_once( ABSPATH . WPINC . '/class-wp-user.php' ); - require_once( ABSPATH . WPINC . '/l10n.php' ); - require_once( ABSPATH . WPINC . '/user.php' ); - require_once( ABSPATH . WPINC . '/pluggable.php' ); - require_once( ABSPATH . WPINC . '/rest-api.php' ); - require_once( ABSPATH . WPINC . '/kses.php' ); - require_once( ABSPATH . WPINC . '/blocks.php' ); - require_once( ABSPATH . WPINC . '/theme.php' ); +class Get_Paginated_Log_Items extends \Gravity_Forms\Gravity_SMTP\Utils\Fast_Endpoint { + public function run() { + check_ajax_referer( 'activity_log_page', 'security' ); + $per_page = filter_input( INPUT_POST, 'per_page', FILTER_SANITIZE_NUMBER_INT ); + $requested_page = filter_input( INPUT_POST, 'requested_page', FILTER_SANITIZE_NUMBER_INT ); + $max_date = filter_input( INPUT_POST, 'max_date' ); + $search_term = filter_input( INPUT_POST, 'search_term' ); + $search_type = filter_input( INPUT_POST, 'search_type' ); + $sort_by = filter_input( INPUT_POST, 'sort_by' ); + $sort_order = filter_input( INPUT_POST, 'sort_order' ); + $filters = filter_input( INPUT_POST, 'filters', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY ); - wp_plugin_directory_constants(); - wp_cookie_constants(); + if ( ! empty( $max_date ) ) { + $max_date = htmlspecialchars( $max_date ); + } - check_ajax_referer( 'activity_log_page', 'security' ); + if ( ! empty( $search_term ) ) { + $search_term = htmlspecialchars( $search_term ); + } - $GLOBALS['wp_textdomain_registry'] = new WP_Textdomain_Registry(); + if ( ! empty( $search_type ) ) { + $search_type = htmlspecialchars( $search_type ); + } - $per_page = filter_input( INPUT_POST, 'per_page', FILTER_SANITIZE_NUMBER_INT ); - $requested_page = filter_input( INPUT_POST, 'requested_page', FILTER_SANITIZE_NUMBER_INT ); - $max_date = filter_input( INPUT_POST, 'max_date' ); - $search_term = filter_input( INPUT_POST, 'search_term' ); - $search_type = filter_input( INPUT_POST, 'search_type' ); - $sort_by = filter_input( INPUT_POST, 'sort_by' ); - $sort_order = filter_input( INPUT_POST, 'sort_order' ); - $filters = filter_input( INPUT_POST, 'filters', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY ); + if ( ! empty( $sort_by ) ) { + $sort_by = htmlspecialchars( $sort_by ); + } - if ( ! empty( $max_date ) ) { - $max_date = htmlspecialchars( $max_date ); - } + if ( ! empty( $sort_order ) ) { + $sort_order = htmlspecialchars( $sort_order ); + } - if ( ! empty( $search_term ) ) { - $search_term = htmlspecialchars( $search_term ); - } + $requested_page = intval( $requested_page ); + $offset = ( $requested_page - 1 ) * $per_page; - if ( ! empty( $search_type ) ) { - $search_type = htmlspecialchars( $search_type ); - } + if ( ! $max_date ) { + $max_date = date( 'Y-m-d H:i:s', time() ); + } - if ( ! empty( $sort_by ) ) { - $sort_by = htmlspecialchars( $sort_by ); - } + if ( empty( $per_page ) ) { + $per_page = 20; + } - if ( ! empty( $sort_order ) ) { - $sort_order = htmlspecialchars( $sort_order ); - } + if ( ! is_array( $filters ) || empty( $filters ) ) { + $filters = array(); + } - $requested_page = intval( $requested_page ); - $offset = ( $requested_page - 1 ) * $per_page; + $event_model = new \Gravity_Forms\Gravity_SMTP\Models\Event_Model( new \Gravity_Forms\Gravity_SMTP\Models\Hydrators\Hydrator_Factory(), new \Gravity_Forms\Gravity_SMTP\Data_Store\Plugin_Opts_Data_Store(), new \Gravity_Forms\Gravity_SMTP\Utils\Recipient_Parser(), new \Gravity_Forms\Gravity_SMTP\Utils\SQL_Filter_Parser() ); + $rows = $event_model->paginate( $requested_page, $per_page, $max_date, $search_term, $search_type, $sort_by, $sort_order, $filters ); + $count = $event_model->count( $search_term, $search_type, $filters ); - if ( ! $max_date ) { - $max_date = date( 'Y-m-d H:i:s', time() ); - } + $data = array( + 'rows' => $this->get_formatted_data_rows( $rows ), + 'total' => $count, + 'row_count' => count( $rows ), + ); - if ( empty( $per_page ) ) { - $per_page = 20; + wp_send_json_success( $data ); } - if ( empty( $filters ) ) { - $filters = array(); + protected function extra_includes() { + return array( + '../../models/traits/trait-can-compare-dynamically.php', + '../../models/class-event-model.php', + '../../models/hydrators/class-hydrator-factory.php', + '../../datastore/interface-data-store.php', + '../../datastore/class-plugin-opts-data-store.php', + '../../users/class-roles.php', + '../../utils/class-recipient.php', + '../../utils/class-recipient-collection.php', + '../../utils/class-recipient-parser.php', + '../../utils/class-sql-filter-parser.php', + '../../enums/class-integration-enum.php', + '../../enums/class-status-enum.php', + '../../models/hydrators/interface-hydrator.php', + '../../models/hydrators/class-hydrator-wp-mail.php', + '../../models/hydrators/class-hydrator-brevo.php', + '../../models/hydrators/class-hydrator-generic.php', + '../../models/hydrators/class-hydrator-mailgun.php', + '../../models/hydrators/class-hydrator-postmark.php', + '../../models/hydrators/class-hydrator-sendgrid.php', + ); } - $event_model = new \Gravity_Forms\Gravity_SMTP\Models\Event_Model( new \Gravity_Forms\Gravity_SMTP\Models\Hydrators\Hydrator_Factory(), new \Gravity_Forms\Gravity_SMTP\Data_Store\Plugin_Opts_Data_Store(), new \Gravity_Forms\Gravity_SMTP\Utils\Recipient_Parser(), new \Gravity_Forms\Gravity_SMTP\Utils\SQL_Filter_Parser() ); - $rows = $event_model->paginate( $requested_page, $per_page, $max_date, $search_term, $search_type, $sort_by, $sort_order, $filters ); - $count = $event_model->count( $search_term, $search_type, $filters ); - - $data = array( - 'rows' => get_formatted_data_rows( $rows ), - 'total' => $count, - 'row_count' => count( $rows ), - ); - - wp_send_json_success( $data ); -} + private function get_formatted_data_rows( $data ) { + $rows = array(); + $recipient_parser = new \Gravity_Forms\Gravity_SMTP\Utils\Recipient_Parser(); -function get_formatted_data_rows( $data ) { - $rows = array(); - $recipient_parser = new \Gravity_Forms\Gravity_SMTP\Utils\Recipient_Parser(); + foreach ( $data as $row ) { + $grid_actions = $this->get_grid_actions( $row ); + $extra = strpos( $row['extra'], '{' ) === 0 ? json_decode( $row['extra'], true ) : unserialize( $row['extra'] ); + $to = isset( $extra['to'] ) ? $extra['to'] : ''; + $to_address = $recipient_parser->parse( $to )->first()->email(); + $more_count = max( 0, $row['email_counts'] - 1 ); - foreach ( $data as $row ) { - $grid_actions = get_grid_actions( $row['id'] ); - $extra = strpos( $row['extra'], '{' ) === 0 ? json_decode( $row['extra'], true ) : unserialize( $row['extra'] ); - $to_address = $recipient_parser->parse( $extra['to'] )->first()->email(); - $more_count = max( 0, $row['email_counts'] - 1 ); - - $rows[] = array( - 'id' => $row['id'], - 'subject' => array( - 'component' => 'Button', - 'props' => array( - 'action' => 'view', - 'customClasses' => array( 'gravitysmtp-data-grid__subject' ), - 'label' => $row['subject'], - 'type' => 'unstyled', - 'data' => array( - 'event_id' => $row['id'], + $rows[] = array( + 'id' => $row['id'], + 'subject' => array( + 'component' => 'Button', + 'props' => array( + 'action' => 'view', + 'customClasses' => array( 'gravitysmtp-data-grid__subject' ), + 'label' => $row['subject'], + 'type' => 'unstyled', + 'data' => array( + 'event_id' => $row['id'], + ), ), ), - ), - 'status' => array( - 'component' => 'StatusIndicator', - 'props' => array( - 'label' => \Gravity_Forms\Gravity_SMTP\Enums\Status_Enum::label( $row['status'] ), - 'status' => \Gravity_Forms\Gravity_SMTP\Enums\Status_Enum::indicator( $row['status'] ), - 'hasDot' => false, - ), - ), - 'to' => array( - 'component' => 'Box', - 'props' => array( - 'customClasses' => array( 'gravitysmtp-activity-log-app__activity-log-table-recipient' ), - 'display' => 'flex', + 'status' => array( + 'component' => 'StatusIndicator', + 'props' => array( + 'label' => \Gravity_Forms\Gravity_SMTP\Enums\Status_Enum::label( $row['status'] ), + 'status' => \Gravity_Forms\Gravity_SMTP\Enums\Status_Enum::indicator( $row['status'] ), + 'hasDot' => false, + ), ), - 'components' => array( - array( - 'component' => 'Box', - 'props' => array( - 'customClasses' => array( 'gravitysmtp-activity-log-app__activity-log-table-recipient-meta' ), - 'display' => 'flex', - ), - 'components' => array( - array( - 'component' => 'Gravatar', - 'props' => array( - 'circular' => true, - 'customClasses' => array( 'gravitysmtp-activity-log-app__activity-log-table-recipient-gravatar' ), - 'defaultImage' => 'mp', - 'emailHash' => hash( 'sha256', $to_address ), - 'height' => 24, - 'width' => 24, - ), + 'to' => array( + 'component' => 'Box', + 'props' => array( + 'customClasses' => array( 'gravitysmtp-activity-log-app__activity-log-table-recipient' ), + 'display' => 'flex', + ), + 'components' => array( + array( + 'component' => 'Box', + 'props' => array( + 'customClasses' => array( 'gravitysmtp-activity-log-app__activity-log-table-recipient-meta' ), + 'display' => 'flex', ), - array( - 'component' => $more_count > 0 ? 'Text' : null, - 'props' => array( - 'content' => '+' . (string) $more_count, - 'customClasses' => array( 'gravitysmtp-activity-log-app__activity-log-table-recipient-more' ), - 'size' => 'text-xxs', + 'components' => array( + array( + 'component' => 'Gravatar', + 'props' => array( + 'circular' => true, + 'customClasses' => array( 'gravitysmtp-activity-log-app__activity-log-table-recipient-gravatar' ), + 'defaultImage' => 'mp', + 'emailHash' => hash( 'sha256', $to_address ), + 'height' => 24, + 'width' => 24, + ), + ), + array( + 'component' => $more_count > 0 ? 'Text' : null, + 'props' => array( + 'content' => '+' . (string) $more_count, + 'customClasses' => array( 'gravitysmtp-activity-log-app__activity-log-table-recipient-more' ), + 'size' => 'text-xxs', + ), ), ), ), - ), - array( - 'component' => 'Text', - 'props' => array( - 'content' => $to_address, - 'customClasses' => array( 'gravitysmtp-activity-log-app__activity-log-table-recipient-email' ), - 'size' => 'text-sm', + array( + 'component' => 'Text', + 'props' => array( + 'content' => $to_address, + 'customClasses' => array( 'gravitysmtp-activity-log-app__activity-log-table-recipient-email' ), + 'size' => 'text-sm', + ), ), ), ), - ), - 'opened' => array( - 'component' => 'Text', - 'props' => array( - 'content' => $row['opened'], - 'size' => 'text-sm', + 'opened' => array( + 'component' => 'Text', + 'props' => array( + 'content' => $row['opened'], + 'size' => 'text-sm', + ), ), - ), - 'source' => array( - 'component' => 'Text', - 'props' => array( - 'content' => $row['source'], - 'size' => 'text-sm', + 'source' => array( + 'component' => 'Text', + 'props' => array( + 'content' => $row['source'], + 'size' => 'text-sm', + ), ), - ), - 'integration' => array( - 'external' => true, - 'key' => $row['service'] . '_logo', - 'props' => array( - 'height' => 24, - 'title' => \Gravity_Forms\Gravity_SMTP\Enums\Integration_Enum::svg_title( $row['service'] ), - 'width' => 24, + 'integration' => array( + 'external' => true, + 'key' => $row['service'] . '_logo', + 'props' => array( + 'height' => 24, + 'title' => \Gravity_Forms\Gravity_SMTP\Enums\Integration_Enum::svg_title( $row['service'] ), + 'width' => 24, + ), ), - ), - 'date' => array( - 'component' => 'Text', - 'props' => array( - 'content' => convert_dates_to_timezone( $row['date_updated'] ), - 'size' => 'text-sm', + 'date' => array( + 'component' => 'Text', + 'props' => array( + 'content' => $this->convert_dates_to_timezone( $row['date_updated'] ), + 'size' => 'text-sm', + ), ), - ), - 'actions' => $grid_actions, - ); - } + 'actions' => $grid_actions, + ); + } - return $rows; -} + return $rows; + } -function convert_dates_to_timezone( $date ) { - $gmt_time = new \DateTimeZone( 'UTC' ); - $local_time = new \DateTimeZone( wp_timezone_string() ); - $datetime = new \DateTime( $date, $gmt_time ); - $datetime->setTimezone( $local_time ); + private function convert_dates_to_timezone( $date ) { + $gmt_time = new \DateTimeZone( 'UTC' ); + $local_time = new \DateTimeZone( wp_timezone_string() ); + $datetime = new \DateTime( $date, $gmt_time ); + $datetime->setTimezone( $local_time ); - return $datetime->format( 'F d, Y \a\t h:ia' ); -} + return $datetime->format( 'F d, Y \a\t h:ia' ); + } -function get_grid_actions( $event_id ) { - $actions = array( - 'component' => 'Box', - 'components' => array( - array( - 'component' => 'Button', - 'props' => array( - 'action' => 'view', - 'customAttributes' => array( - 'title' => esc_html__( 'View email log', 'gravitysmtp' ), - ), - 'customClasses' => array( 'gravitysmtp-data-grid__action' ), - 'icon' => 'eye', - 'iconPrefix' => 'gravitysmtp-admin-icon', - 'spacing' => [ 0, 2, 0, 0 ], - 'size' => 'size-height-s', - 'type' => 'icon-white', - 'data' => array( - 'event_id' => $event_id, + private function get_grid_actions( $row ) { + $actions = array( + 'component' => 'Box', + 'components' => array( + array( + 'component' => 'Button', + 'props' => array( + 'action' => 'view', + 'customAttributes' => array( + 'title' => esc_html__( 'View email log', 'gravitysmtp' ), + ), + 'customClasses' => array( 'gravitysmtp-data-grid__action' ), + 'icon' => 'eye', + 'iconPrefix' => 'gravitysmtp-admin-icon', + 'spacing' => [ 0, 2, 0, 0 ], + 'size' => 'size-height-s', + 'type' => 'icon-white', + 'data' => array( + 'event_id' => $row['id'], + ), + 'disabled' => ! current_user_can( \Gravity_Forms\Gravity_SMTP\Users\Roles::VIEW_EMAIL_LOG_DETAILS ), ), - 'disabled' => ! current_user_can( \Gravity_Forms\Gravity_SMTP\Users\Roles::VIEW_EMAIL_LOG_DETAILS ), ), - ), - array( - 'component' => 'Button', - 'props' => array( - 'action' => 'preview', - 'customAttributes' => array( - 'title' => esc_html__( 'View email', 'gravitysmtp' ), - ), - 'customClasses' => array( 'gravitysmtp-data-grid__action' ), - 'icon' => 'mail', - 'iconPrefix' => 'gravitysmtp-admin-icon', - 'spacing' => [ 0, 2, 0, 0 ], - 'size' => 'size-height-s', - 'type' => 'icon-white', - 'data' => array( - 'event_id' => $event_id, + array( + 'component' => 'Button', + 'props' => array( + 'action' => 'preview', + 'customAttributes' => array( + 'title' => esc_html__( 'View email', 'gravitysmtp' ), + ), + 'customClasses' => array( 'gravitysmtp-data-grid__action' ), + 'icon' => 'mail', + 'iconPrefix' => 'gravitysmtp-admin-icon', + 'spacing' => [ 0, 2, 0, 0 ], + 'size' => 'size-height-s', + 'type' => 'icon-white', + 'data' => array( + 'event_id' => $row['id'], + ), + 'disabled' => ! current_user_can( \Gravity_Forms\Gravity_SMTP\Users\Roles::VIEW_EMAIL_LOG_PREVIEW ), ), - 'disabled' => ! current_user_can( \Gravity_Forms\Gravity_SMTP\Users\Roles::VIEW_EMAIL_LOG_PREVIEW ), ), - ), - array( - 'component' => 'Button', - 'props' => array( - 'action' => 'delete', - 'customAttributes' => array( - 'title' => esc_html__( 'Delete email log', 'gravitysmtp' ), + array( + 'component' => 'Button', + 'props' => array( + 'action' => 'resend', + 'customAttributes' => array( + 'title' => esc_html__( 'Resend email', 'gravitysmtp' ), + ), + 'customClasses' => array( 'gravitysmtp-data-grid__action' ), + 'icon' => 'paper-plane', + 'iconPrefix' => 'gravitysmtp-admin-icon', + 'spacing' => [ 0, 2, 0, 0 ], + 'size' => 'size-height-s', + 'type' => 'icon-white', + 'data' => array( + 'event_id' => $row['id'], + ), + 'disabled' => ! current_user_can( \Gravity_Forms\Gravity_SMTP\Users\Roles::VIEW_EMAIL_LOG_PREVIEW ) || ! $row['can_resend'], // @todo: Add resend permission? ), - 'customClasses' => array( 'gravitysmtp-data-grid__action' ), - 'icon' => 'trash', - 'iconPrefix' => 'gravitysmtp-admin-icon', - 'size' => 'size-height-s', - 'type' => 'icon-white', - 'data' => array( - 'event_id' => $event_id, + ), + array( + 'component' => 'Button', + 'props' => array( + 'action' => 'delete', + 'customAttributes' => array( + 'title' => esc_html__( 'Delete email log', 'gravitysmtp' ), + ), + 'customClasses' => array( 'gravitysmtp-data-grid__action' ), + 'icon' => 'trash', + 'iconPrefix' => 'gravitysmtp-admin-icon', + 'size' => 'size-height-s', + 'type' => 'icon-white', + 'data' => array( + 'event_id' => $row['id'], + ), + 'disabled' => ! current_user_can( \Gravity_Forms\Gravity_SMTP\Users\Roles::DELETE_EMAIL_LOG ), ), - 'disabled' => ! current_user_can( \Gravity_Forms\Gravity_SMTP\Users\Roles::DELETE_EMAIL_LOG ), ), ), - ), - ); + ); - return apply_filters( 'gravitysmtp_email_log_actions', $actions ); + return apply_filters( 'gravitysmtp_email_log_actions', $actions ); + } } -run(); + +$endpoint = new Get_Paginated_Log_Items(); +$endpoint->run(); diff --git a/includes/migration/endpoints/class-migrate-settings-endpoint.php b/includes/migration/endpoints/class-migrate-settings-endpoint.php index f764e33..4ac3ff4 100644 --- a/includes/migration/endpoints/class-migrate-settings-endpoint.php +++ b/includes/migration/endpoints/class-migrate-settings-endpoint.php @@ -60,7 +60,8 @@ public function handle() { $handler_classname = $this->base_namespace . '\\Data\\Migration_Data_' . ucfirst( strtolower( $plugin_to_migrate ) ); if ( ! class_exists( $handler_classname ) ) { - wp_send_json_error( __( 'Could not find handler for migration type: ', 'gravitysmtp' ) . $plugin_to_migrate, 400 ); + /* translators: %1$s: plugin name */ + wp_send_json_error( sprintf( __( 'Could not find handler for migration type: %1$s', 'gravitysmtp' ), $plugin_to_migrate ), 400 ); } $handler = new $handler_classname(); diff --git a/includes/models/class-event-model.php b/includes/models/class-event-model.php index aeeaa54..167bd8a 100644 --- a/includes/models/class-event-model.php +++ b/includes/models/class-event-model.php @@ -169,7 +169,7 @@ public function slice( $count, $offset = 0 ) { public function count( $search_term = null, $search_type = null, $filters = array() ) { global $wpdb; - $table_name = $this->get_table_name(); + $table_name = $this->get_table_name(); $search_clause = null; if ( ! empty( $search_term ) ) { @@ -188,7 +188,7 @@ public function count( $search_term = null, $search_type = null, $filters = arra } } - $sql = "SELECT COUNT(1) as 'count' FROM $table_name $search_clause $filter_clause;"; + $sql = "SELECT COUNT(1) as 'count' FROM $table_name $search_clause $filter_clause;"; $results = $wpdb->get_row( $sql, ARRAY_A ); return $results['count']; @@ -196,9 +196,9 @@ public function count( $search_term = null, $search_type = null, $filters = arra public function paginate( $page, $per_page, $max_date = false, $search_term = null, $search_type = null, $sort_by = null, $sort_order = null, $filters = array() ) { global $wpdb; - $table_name = $this->get_table_name(); + $table_name = $this->get_table_name(); $tracking_table_name = $wpdb->prefix . 'gravitysmtp_event_tracking'; - $offset = ( $page - 1 ) * $per_page; + $offset = ( $page - 1 ) * $per_page; if ( ! $max_date ) { $max_date = current_time( 'mysql', true ); @@ -238,7 +238,7 @@ private function get_search_clause( $search_term, $search_type ) { global $wpdb; $table_name = $this->get_table_name(); - switch( $search_type ) { + switch ( $search_type ) { case 'email_and_headers': $prepared_sql = $wpdb->prepare( "`extra` LIKE '%%%s%%' AND", @@ -275,7 +275,7 @@ public function create( $service, $status, $to, $from, $subject, $message, $extr } if ( ! $this->save_email_body() ) { - $message = ''; + $message = ''; $extra['message_omitted'] = true; } @@ -299,7 +299,7 @@ public function create( $service, $status, $to, $from, $subject, $message, $extr ) ); - $created_id = $wpdb->insert_id; + $created_id = $wpdb->insert_id; $this->latest_id = $created_id; do_action( 'gravitysmtp_after_mail_created', $created_id, compact( 'service', 'status', 'to', 'from', 'subject', 'message', 'extra' ) ); @@ -327,7 +327,7 @@ public function update( $values, $id ) { if ( ! $this->save_email_body() ) { unset( $values['message'] ); - $extra = unserialize( $values['extra'] ); + $extra = isset( $values['extra'] ) ? unserialize( $values['extra'] ) : array(); $extra['message_omitted'] = true; $values['extra'] = serialize( $extra ); } @@ -349,6 +349,7 @@ public function update( $values, $id ) { public function delete( $id ) { global $wpdb; + $wpdb->query( "SET FOREIGN_KEY_CHECKS = 0;" ); $wpdb->delete( $this->get_table_name(), array( 'id' => $id ) ); } @@ -358,6 +359,7 @@ public function delete_before( $date ) { $table_name = $this->get_table_name(); $query = $wpdb->prepare( "DELETE FROM $table_name WHERE `date_created` <= %s", $date ); + $wpdb->query( "SET FOREIGN_KEY_CHECKS = 0;" ); $wpdb->query( $query ); } @@ -365,7 +367,7 @@ public function delete_all() { global $wpdb; $table_name = $this->get_table_name(); - $wpdb->query( "SET FOREIGN_KEY_CHECKS = 0;"); + $wpdb->query( "SET FOREIGN_KEY_CHECKS = 0;" ); $wpdb->query( "TRUNCATE TABLE $table_name" ); } @@ -398,6 +400,11 @@ protected function hydrate( $rows ) { $service = 'amazon'; } + // Cleanup bad old data. + if ( $row['service'] === 'phpmail' ) { + $row['service'] = 'php'; + } + if ( ! isset( $row['opened'] ) || is_null( $row['opened'] ) ) { $row['opened'] = __( 'No', 'gravitysmtp' ); } else { @@ -410,7 +417,7 @@ protected function hydrate( $rows ) { $row['clicked'] = $row['clicked'] ? __( 'Yes', 'gravitysmtp' ) : __( 'No', 'gravitysmtp' ); } - $extra = strpos( $row['extra'], '{' ) === 0 ? json_decode( $row['extra'], true ) : unserialize( $row['extra'] ); + $extra = strpos( $row['extra'], '{' ) === 0 ? json_decode( $row['extra'], true ) : unserialize( $row['extra'] ); try { if ( isset( $hydrators[ $service ] ) ) { @@ -425,7 +432,7 @@ protected function hydrate( $rows ) { $row['source'] = isset( $extra['source'] ) ? $extra['source'] : __( 'N/A', 'gravitysmtp' ); $row['email_counts'] = $this->get_email_counts( $extra ); - $row['can_resend'] = empty( $extra['message_omitted'] ) && ( empty( $extra['attachments'] ) || ( ! empty( $extra['attachments_saved'] ) ) ); + $row['can_resend'] = empty( $extra['message_omitted'] ) && ( empty( $extra['attachments'] ) || ( ! empty( $extra['attachments_saved'] ) ) ); if ( $hydrator ) { $rows[ $idx ] = $hydrator->hydrate( $row ); @@ -453,14 +460,14 @@ public function get( $id ) { public function get_earliest_event_date() { static $found; - if ( ! empty( $found ) ){ + if ( ! empty( $found ) ) { return $found; } global $wpdb; $table_name = $this->get_table_name(); - $sql = $wpdb->prepare( "SELECT date_created FROM $table_name ORDER BY date_created ASC LIMIT %d, %d", 0, 1 ); + $sql = $wpdb->prepare( "SELECT date_created FROM $table_name ORDER BY date_created ASC LIMIT %d, %d", 0, 1 ); $results = $wpdb->get_results( $sql, ARRAY_A ); if ( empty( $results ) ) { @@ -490,6 +497,34 @@ public function get_top_sending_sources( $start, $end ) { return $results; } + public function get_all_sending_sources() { + global $wpdb; + $table_name = $this->get_table_name(); + + $sql = $wpdb->prepare( "SELECT SUBSTRING_INDEX( + SUBSTRING_INDEX( SUBSTRING(extra, (INSTR(extra, CONCAT('source', '\";')) + CHAR_LENGTH('source') + 1)), '\"', 2), + '\"', -1) as source + FROM ( SELECT * FROM $table_name LIMIT 0, %d ) AS timeboxed + GROUP BY source", 5000 ); + + $results = $wpdb->get_results( $sql, ARRAY_A ); + $sources = wp_list_pluck( $results, 'source' ); + + $filtered = array_filter( $sources, function ( $source ) { + if ( strpos( $source, ':[' ) !== false || strpos( $source, ':{' ) !== false ) { + return false; + } + + if ( $source === 'headers' || $source === 'params' || $source === 'to' || $source === 'message_omitted' ) { + return false; + } + + return true; + } ); + + return $filtered; + } + public function get_top_recipients( $start, $end ) { global $wpdb; @@ -518,10 +553,13 @@ public function get_event_stats( $start, $end ) { $results = $wpdb->get_results( $sql, ARRAY_A ); - $return = array(); + $return = array( + 'failed' => 0, + 'sent' => 0, + ); // Map to key/value pair. - foreach( $results as $result ) { + foreach ( $results as $result ) { $return[ $result['status'] ] = (int) $result['total']; } @@ -531,18 +569,22 @@ public function get_event_stats( $start, $end ) { public function get_opens_for_period( $start, $end ) { global $wpdb; - $table_name = $this->get_table_name(); + $table_name = $this->get_table_name(); $tracking_table_name = $wpdb->prefix . 'gravitysmtp_event_tracking'; $sql = $wpdb->prepare( "SELECT count( * ) AS total FROM ( SELECT * FROM $table_name WHERE date_created >= %s AND date_created <= %s ORDER BY date_created DESC ) AS timeboxed LEFT JOIN $tracking_table_name AS tt ON tt.event_id = timeboxed.id WHERE tt.opened = 1", $start, $end ); $results = $wpdb->get_results( $sql, ARRAY_A ); + if ( empty( $results ) ) { + return 0; + } + return (int) $results[0]['total']; } public function get_chart_data( $start, $end, $period = 'month' ) { - switch( $period ) { + switch ( $period ) { case 'day': default: $format = '%b %d'; @@ -593,7 +635,7 @@ public function set_clicked( $email_id, $email_address, $is = 1 ) { $table_name = $this->get_tracking_table_name(); - $record = $this->get_existing_tracking_entry( $email_id, $email_address ); + $record = $this->get_existing_tracking_entry( $email_id, $email_address ); $record['clicked'] = $is; $this->insert_tracking_record( $record ); @@ -604,7 +646,7 @@ public function set_opened( $email_id, $email_address, $is = 1 ) { $table_name = $this->get_tracking_table_name(); - $record = $this->get_existing_tracking_entry( $email_id, $email_address ); + $record = $this->get_existing_tracking_entry( $email_id, $email_address ); $record['opened'] = $is; $this->insert_tracking_record( $record ); diff --git a/includes/models/class-log-details-model.php b/includes/models/class-log-details-model.php index 07fd51b..428d92f 100644 --- a/includes/models/class-log-details-model.php +++ b/includes/models/class-log-details-model.php @@ -183,8 +183,8 @@ public function full_details( $id ) { 'hasDot' => false, ), 'service' => empty( $map[ $row['service'] ] ) ? $row['service'] : $map[ $row['service'] ], - 'has_attachment' => is_array( $extra['attachments'] ) ? count( $extra['attachments'] ) : 0, - 'attachments' => $this->get_attachments( $extra['attachments'] ), + 'has_attachment' => isset( $extra['attachments'] ) && is_array( $extra['attachments'] ) ? count( $extra['attachments'] ) : 0, + 'attachments' => isset( $extra['attachments'] ) ? $this->get_attachments( $extra['attachments'] ) : array(), 'log_id' => $row['id'], 'next_id' => $this->get_next_id( $row['id'] ), 'prev_id' => $this->get_prev_id( $row['id'] ), diff --git a/includes/models/class-suppressed-emails-model.php b/includes/models/class-suppressed-emails-model.php new file mode 100644 index 0000000..12349d6 --- /dev/null +++ b/includes/models/class-suppressed-emails-model.php @@ -0,0 +1,267 @@ +prefix . $this->table_name; + } + + public function suppress_email( $email, $reason, $notes = '' ) { + + /** + * Allows third-parties to abort suppressing a given email based on the data. + * + * @since 1.5.1 + * + * @param string $email + * @param string $reason + * @param string $notes + * + * @return boolean + */ + $skip = apply_filters( 'gravitysmtp_abort_email_suppression', false, $email, $reason, $notes ); + + if ( $skip ) { + return; + } + + global $wpdb; + $table_name = $this->get_table_name(); + + $data = array( + 'date_created' => current_time( 'mysql', true ), + 'email' => $email, + 'reason' => $reason, + 'notes' => $notes, + ); + + $sql = $wpdb->prepare( "SELECT * FROM $table_name WHERE email = %s", $email ); + $existing = $wpdb->get_results( $sql, ARRAY_A ); + + if ( ! empty( $existing ) ) { + $data = array( + 'notes' => $notes, + ); + + $this->update( $email, array( 'notes' => $notes ) ); + return $existing[0]['id']; + } + + + $wpdb->insert( + $table_name, + array( + 'date_created' => current_time( 'mysql', true ), + 'email' => $email, + 'reason' => $reason, + 'notes' => $notes, + ) + ); + + $created_id = $wpdb->insert_id; + + /** + * Allows third-parties to perform an action after an email is suppressed. + * + * @since 1.5.1 + * + * @param string $email + * @param string $reason + * @param string $notes + * + * @return boolean + */ + do_action( 'gravitysmtp_after_email_suppressed', $created_id, $email, $reason, $notes ); + + return $created_id; + } + + public function is_email_suppressed( $email ) { + global $wpdb; + $table_name = $this->get_table_name(); + + $sql = $wpdb->prepare( "SELECT * FROM $table_name WHERE email = %s", $email ); + $results = $wpdb->get_results( $sql, ARRAY_A ); + + return ! empty( $results ); + } + + public function update( $email, $values ) { + global $wpdb; + + $self = $this; + $values = array_filter( $values, function ( $key ) use ( $self ) { + return in_array( $key, $self->fillable ); + }, ARRAY_FILTER_USE_KEY ); + + $wpdb->update( + $this->get_table_name(), + $values, + array( 'email' => $email ) + ); + } + + public function reactivate_email( $email ) { + global $wpdb; + + $wpdb->delete( $this->get_table_name(), array( 'email' => $email ) ); + } + + public function delete_all() { + global $wpdb; + $table_name = $this->get_table_name(); + + $wpdb->query( "TRUNCATE TABLE $table_name" ); + } + + public function all() { + global $wpdb; + + $sql = 'SELECT * FROM %1$s ORDER BY %2$s ASC;'; + + $results = $wpdb->get_results( $wpdb->prepare( $sql, $this->get_table_name(), 'date_created' ), ARRAY_A ); + + return $results; + } + + public function paginate( $page, $per_page, $search_term = null, $sort_by = null, $sort_order = null ) { + global $wpdb; + $table_name = $this->get_table_name(); + $offset = ( $page - 1 ) * $per_page; + + if ( empty( $sort_by ) ) { + $sort_by = 'date_created'; + } + if ( empty( $sort_order ) ) { + $sort_order = 'DESC'; + } + + $search_clause = null; + + if ( ! empty( $search_term ) ) { + $search_clause .= $wpdb->prepare( "WHERE email = %s", $search_term ); + } + + $prepared_sql = $wpdb->prepare( + "SELECT * FROM $table_name $search_clause ORDER BY `$sort_by` $sort_order LIMIT %d, %d", + $offset, + $per_page + ); + + $results = $wpdb->get_results( $prepared_sql, ARRAY_A ); + + return $results; + } + + public function count( $search_term = null ) { + global $wpdb; + $table_name = $this->get_table_name(); + $search_clause = null; + + if ( ! empty( $search_term ) ) { + $search_clause = $wpdb->prepare( "WHERE MATCH(email,notes) AGAINST(%s IN NATURAL LANGUAGE MODE)", $search_term ); + } + + $sql = "SELECT COUNT(1) as 'count' FROM $table_name $search_clause;"; + $results = $wpdb->get_row( $sql, ARRAY_A ); + + return $results['count']; + } + + public function format_as_data_rows( $data ) { + $rows = array(); + + foreach ( $data as $row ) { + $grid_actions = $this->get_suppression_grid_actions( $row['id'] ); + + $row_data = array( + 'id' => $row['id'], + 'email' => array( + 'component' => 'Text', + 'props' => array( + 'content' => $row['email'], + 'size' => 'text-sm', + ), + ), + 'reason' => array( + 'component' => 'StatusIndicator', + 'props' => array( + 'label' => Suppression_Reason_Enum::label( $row['reason'] ), + 'status' => Suppression_Reason_Enum::indicator( $row['reason'] ), + 'hasDot' => false, + ), + ), + 'date' => array( + 'component' => 'Text', + 'props' => array( + 'content' => $this->convert_dates_to_timezone( $row['date_created'] ), + 'size' => 'text-sm', + ), + ), + 'notes' => array( + 'component' => 'Text', + 'props' => array( + 'content' => $row['notes'], + 'size' => 'text-sm', + ), + ), + 'actions' => $grid_actions, + ); + + $rows[] = $row_data; + } + + return $rows; + } + + private function convert_dates_to_timezone( $date ) { + $gmt_time = new \DateTimeZone( 'UTC' ); + $local_time = new \DateTimeZone( wp_timezone_string() ); + $datetime = new \DateTime( $date, $gmt_time ); + $datetime->setTimezone( $local_time ); + + return $datetime->format( 'F d, Y \a\t h:ia' ); + } + + private function get_suppression_grid_actions( $email_id ) { + $actions = array( + 'component' => 'Box', + 'components' => array( + array( + 'component' => 'Button', + 'props' => array( + 'action' => 'reactivate', + 'customAttributes' => array( + 'title' => esc_html__( 'Reactivate', 'gravitysmtp' ), + ), + 'customClasses' => array( 'gravitysmtp-data-grid__action' ), + 'icon' => 'reactivate', + 'iconPrefix' => 'gravitysmtp-admin-icon', + 'size' => 'size-height-s', + 'type' => 'icon-white', + 'data' => array( + 'email_id' => $email_id, + ), + ), + ), + ), + ); + + return apply_filters( 'gravitysmtp_email_suppression_actions', $actions ); + } +} diff --git a/includes/pages/class-admin-page.php b/includes/pages/class-admin-page.php index 032206b..8655703 100644 --- a/includes/pages/class-admin-page.php +++ b/includes/pages/class-admin-page.php @@ -11,24 +11,14 @@ class Admin_Page { const ICON_DATA_URI = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDEwMDAgMTAwMCI+PHBhdGggZmlsbD0iI2E3YWFhZCIgZD0iTTkwNS4yOCA2OTMuOTYgNjE5Ljg4IDEzNC40Yy03LjMtMTIuMzMtMjUuMjctMjIuMzktMzkuOC0yMi4zOUg0MTkuOWMtMTQuNTMgMC0zMi40MyAxMC4xMi0zOS44NyAyMi4zOUw5NC41NiA2OTMuOTZjLTcuMzcgMTIuMzMtMy4zIDI4LjY1LS4yOCA0NC45OGwyMy45NCAxMjUuNjNjMy4zIDE0LjYgMjQuOTkgMjIuNTkgMzkuNTkgMjIuNTlsMzQyLjU0LjgyIDM0MS43Ny0uODJjMTQuNiAwIDM2LjUtNy45OSAzOS41OS0yMi41OWwyMy45NC0xMjUuNjNjMy4zLTE0Ljg4IDcuMDktMzIuNjUtLjI4LTQ0Ljk4aC0uMDdabS0xNzguNSA1MS4zOC0xMzQuMzUtNDAuMjljLTE5LjE2LTYuMjctMzIuMjItMTAuNTQtMzguODItMjMuNDhsLTM4LjgyLTEwNy41OWMtMy4zLTYuNDEtNy41OC05LjQ0LTExLjkzLTkuNDRoLS4zNWMtLjA3IDAtLjI4LS4wNy0uNDIgMC00LjI4LjA3LTguNTcgMy4xLTExLjg2IDkuNWwtMzguODIgMTA3LjU5Yy02LjYgMTIuOTUtMTkuNTEgMTYuNjctMzguODIgMjMuNDhMMjc4LjE3IDc0NS40Yy0xNC43NCAwLTIwLjcxLTEwLjE5LTEzLjM0LTIyLjczbDIxOC4zLTQzNi43NWM4LjU2LTE3Ljg0IDI4LjQzLTE5LjQ5IDM4LjgyIDBsMjE4LjMgNDM2Ljc1YzcuMzcgMTIuNDcgMS40IDIyLjczLTEzLjM0IDIyLjczbC0uMTQtLjA3WiIgc3R5bGU9InN0cm9rZS13aWR0aDowIi8+PC9zdmc+'; public function admin_pages() { - if ( Feature_Flag_Manager::is_enabled( App_Service_Provider::FEATURE_FLAG_DASHBOARD ) ) { - $this->pages_with_dashboard(); - return; - } - - add_menu_page( 'Gravity SMTP', __( 'SMTP', 'gravitysmtp' ), Roles::VIEW_EMAIL_LOG, 'gravitysmtp-activity-log', [ $this, 'app_page' ], self::ICON_DATA_URI, 81 ); - // add_submenu_page( 'gravitysmtp-dashboard', __( 'Dashboard', 'gravitysmtp' ), __( 'Dashboard', 'gravitysmtp' ), 'manage_options', 'gravitysmtp-dashboard', [ $this, 'app_page' ] ); - add_submenu_page( 'gravitysmtp-activity-log', __( 'Email Log', 'gravitysmtp' ), __( 'Email Log', 'gravitysmtp' ), Roles::VIEW_EMAIL_LOG, 'gravitysmtp-activity-log', [ $this, 'app_page' ] ); - add_submenu_page( 'gravitysmtp-activity-log', __( 'Settings', 'gravitysmtp' ), __( 'Settings', 'gravitysmtp' ), Roles::VIEW_GENERAL_SETTINGS, 'gravitysmtp-settings', [ $this, 'app_page' ] ); - add_submenu_page( 'gravitysmtp-activity-log', __( 'Tools', 'gravitysmtp' ), __( 'Tools', 'gravitysmtp' ), Roles::VIEW_TOOLS, 'gravitysmtp-tools', [ $this, 'app_page' ] ); - // add_submenu_page( 'gravitysmtp-email-log', __( 'Help', 'gravitysmtp' ), __( 'Help', 'gravitysmtp' ), 'manage_options', 'gravitysmtp-help', [ $this, 'app_page' ] ); - } - - // @todo - rename this method back to admin_pages() once the feature flag is enabled. - private function pages_with_dashboard() { add_menu_page( 'Gravity SMTP', __( 'SMTP', 'gravitysmtp' ), Roles::VIEW_EMAIL_LOG, 'gravitysmtp-dashboard', [ $this, 'app_page' ], self::ICON_DATA_URI, 81 ); add_submenu_page( 'gravitysmtp-dashboard', __( 'Dashboard', 'gravitysmtp' ), __( 'Dashboard', 'gravitysmtp' ), Roles::VIEW_DASHBOARD, 'gravitysmtp-dashboard', [ $this, 'app_page' ] ); add_submenu_page( 'gravitysmtp-dashboard', __( 'Email Log', 'gravitysmtp' ), __( 'Email Log', 'gravitysmtp' ), Roles::VIEW_EMAIL_LOG, 'gravitysmtp-activity-log', [ $this, 'app_page' ] ); + + if ( Feature_Flag_Manager::is_enabled( 'email_suppression' ) ) { + add_submenu_page( 'gravitysmtp-dashboard', __( 'Suppressions', 'gravitysmtp' ), __( 'Suppressions', 'gravitysmtp' ), Roles::VIEW_EMAIL_SUPPRESSION_SETTINGS, 'gravitysmtp-suppression', [ $this, 'app_page' ] ); + } + add_submenu_page( 'gravitysmtp-dashboard', __( 'Settings', 'gravitysmtp' ), __( 'Settings', 'gravitysmtp' ), Roles::VIEW_GENERAL_SETTINGS, 'gravitysmtp-settings', [ $this, 'app_page' ] ); add_submenu_page( 'gravitysmtp-dashboard', __( 'Tools', 'gravitysmtp' ), __( 'Tools', 'gravitysmtp' ), Roles::VIEW_TOOLS, 'gravitysmtp-tools', [ $this, 'app_page' ] ); } @@ -40,44 +30,4 @@ public function app_page() {
-
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- data_router->get_setting( $type, Connector_Base::SETTING_ENABLED, false ); - $this->logger->log_debug( $this->error_prefix() . __( 'Secondary integration identified: ', 'gravitysmtp' ) . $type ); + /* translators: %1$s: integration type */ + $this->logger->log_debug( $this->error_prefix() . sprintf( __( 'Secondary integration identified: %1$s', 'gravitysmtp' ), $type ) ); if ( $enabled ) { return $type; @@ -78,7 +79,8 @@ public function handle( $current_connector, $email_data ) { $enabled = $this->data_router->get_setting( $type, Connector_Base::SETTING_ENABLED, false ); - $this->logger->log_debug( $this->error_prefix() . __( 'Primary integration identified: ', 'gravitysmtp' ) . $type ); + /* translators: %1$s: integration type */ + $this->logger->log_debug( $this->error_prefix() . sprintf( __( 'Primary integration identified: %1$s', 'gravitysmtp' ), $type ) ); // Primary connection not enabled; immediately try backup connection. if ( ! $enabled ) { @@ -90,4 +92,4 @@ public function handle( $current_connector, $email_data ) { return $type; } -} \ No newline at end of file +} diff --git a/includes/suppression/class-suppression-service-provider.php b/includes/suppression/class-suppression-service-provider.php new file mode 100644 index 0000000..b263411 --- /dev/null +++ b/includes/suppression/class-suppression-service-provider.php @@ -0,0 +1,50 @@ + Suppression_Settings_Config::class, + ); + + public function register( Service_Container $container ) { + parent::register( $container ); + + $this->container->add( self::SUPPRESSED_EMAILS_MODEL, function () { + return new Suppressed_Emails_Model(); + } ); + + $this->container->add( self::ADD_SUPPRESSED_EMAILS_ENDPOINT, function () use ( $container ) { + return new Add_Suppressed_Emails_Endpoint( $container->get( self::SUPPRESSED_EMAILS_MODEL ) ); + } ); + + $this->container->add( self::REACTIVATE_SUPPRESSED_EMAILS_ENDPOINT, function () use ( $container ) { + return new Reactivate_Suppressed_Emails_Endpoint( $container->get( self::SUPPRESSED_EMAILS_MODEL ) ); + } ); + } + + public function init( Service_Container $container ) { + add_action( 'wp_ajax_' . Add_Suppressed_Emails_Endpoint::ACTION_NAME, function () use ( $container ) { + $container->get( self::ADD_SUPPRESSED_EMAILS_ENDPOINT )->handle(); + } ); + + add_action( 'wp_ajax_' . Reactivate_Suppressed_Emails_Endpoint::ACTION_NAME, function () use ( $container ) { + $container->get( self::REACTIVATE_SUPPRESSED_EMAILS_ENDPOINT )->handle(); + } ); + } + +} \ No newline at end of file diff --git a/includes/suppression/config/class-suppression-settings-config.php b/includes/suppression/config/class-suppression-settings-config.php new file mode 100644 index 0000000..65d374a --- /dev/null +++ b/includes/suppression/config/class-suppression-settings-config.php @@ -0,0 +1,261 @@ +get( Connector_Service_Provider::DATA_STORE_ROUTER ); + $per_page = $opts->get_plugin_setting( Save_Plugin_Settings_Endpoint::PARAM_PER_PAGE, 20 ); + + return array( + 'components' => array( + 'suppression' => array( + 'endpoints' => array( + Add_Suppressed_Emails_Endpoint::ACTION_NAME => array( + 'action' => array( + 'value' => Add_Suppressed_Emails_Endpoint::ACTION_NAME, + 'default' => 'mock_endpoint', + ), + 'nonce' => array( + 'value' => wp_create_nonce( Add_Suppressed_Emails_Endpoint::ACTION_NAME ), + 'default' => 'nonce', + ), + ), + Reactivate_Suppressed_Emails_Endpoint::ACTION_NAME => array( + 'action' => array( + 'value' => Reactivate_Suppressed_Emails_Endpoint::ACTION_NAME, + 'default' => 'mock_endpoint', + ), + 'nonce' => array( + 'value' => wp_create_nonce( Reactivate_Suppressed_Emails_Endpoint::ACTION_NAME ), + 'default' => 'nonce', + ), + ), + 'suppressed_emails_page' => array( + 'action' => array( + 'value' => 'suppressed_emails_page', + 'default' => 'mock_endpoint', + ), + 'nonce' => array( + 'value' => wp_create_nonce( 'suppressed_emails_page' ), + 'default' => 'nonce', + ), + ), + ), + 'i18n' => array( + 'suppression' => array( + 'top_heading' => esc_html__( 'Suppressions', 'gravitysmtp' ), + 'top_content' => __( "Add specific email addresses to a blacklist to suppress send attempts to those recipients.", 'gravitysmtp' ), + 'data_grid' => array( + 'bulk_select' => esc_html__( 'Select all rows', 'gravitysmtp' ), + 'top_heading' => esc_html__( 'Suppressed Recipients', 'gravitysmtp' ), + 'clear_search_aria_label' => esc_html__( 'Clear search', 'gravitysmtp' ), + 'empty_title' => esc_html__( 'No suppressions', 'gravitysmtp' ), + 'empty_message' => esc_html__( 'You will see suppressions here when you set some up.', 'gravitysmtp' ), + 'grid_controls_search_button_label' => esc_html__( 'Search', 'gravitysmtp' ), + 'grid_controls_search_placeholder' => esc_html__( 'Search', 'gravitysmtp' ), + 'grid_controls_bulk_actions_select_label' => esc_html__( 'Select bulk actions', 'gravitysmtp' ), + 'grid_controls_bulk_actions_button_label' => esc_html__( 'Apply', 'gravitysmtp' ), + /* translators: 1: number of selected entries. */ + 'select_notice_selected_number_entries' => esc_html__( 'All %1$s suppressions on this page are selected', 'gravitysmtp' ), + /* translators: 1: number of selected entries. */ + 'select_notice_selected_all_number_entries' => esc_html__( 'All %1$s suppressions are selected', 'gravitysmtp' ), + /* translators: 1: number of entries to be selected. */ + 'select_notice_select_all_number_entries' => esc_html__( 'Select All %1$s Suppressions', 'gravitysmtp' ), + 'select_notice_clear_selection' => esc_html__( 'Clear Selection', 'gravitysmtp' ), + 'pagination_next' => esc_html__( 'Next', 'gravitysmtp' ), + 'pagination_prev' => esc_html__( 'Previous', 'gravitysmtp' ), + 'pagination_next_aria_label' => esc_html__( 'Next Page', 'gravitysmtp' ), + 'pagination_prev_aria_label' => esc_html__( 'Previous Page', 'gravitysmtp' ), + 'search_no_results_title' => esc_html__( 'No results found', 'gravitysmtp' ), + 'search_no_results_message' => esc_html__( 'No results found for your search', 'gravitysmtp' ), + ), + 'dialog' => array( + 'add_note' => esc_html__( 'Add Note', 'gravitysmtp' ), + 'cancel' => esc_html__( 'Cancel', 'gravitysmtp' ), + 'confirm_add' => esc_html__( 'Add Suppressed Recipients', 'gravitysmtp' ), + 'confirm_reactivate' => esc_html__( 'Reactivate', 'gravitysmtp' ), + 'description_add' => esc_html__( 'Recipients on the suppression list will not receive emails.', 'gravitysmtp' ), + 'email_addresses' => esc_html__( 'Email Addresses', 'gravitysmtp' ), + 'heading_add' => esc_html__( 'Add Recipients', 'gravitysmtp' ), + 'heading_reactivate' => esc_html__( 'Reactivate', 'gravitysmtp' ), + 'manually_add' => esc_html__( 'Manually Add', 'gravitysmtp' ), + 'mb_heading_email_address' => esc_html__( 'Email Address', 'gravitysmtp' ), + 'mb_heading_reason' => esc_html__( 'Reason', 'gravitysmtp' ), + 'mb_heading_note' => esc_html__( 'Note', 'gravitysmtp' ), + 'mb_heading_date' => esc_html__( 'Date Suppressed', 'gravitysmtp' ), + ), + 'snackbar' => array( + 'emails_reactivated' => esc_html__( 'Emails reactivated.', 'gravitysmtp' ), + 'emails_reactivated_error' => esc_html__( 'Error reactivating emails.', 'gravitysmtp' ), + 'fetching_suppressions_error' => esc_html__( 'Error getting suppressions for requested page.', 'gravitysmtp' ) , + 'suppressions_added' => esc_html__( 'Suppressions added.', 'gravitysmtp' ), + 'suppressions_added_error' => esc_html__( 'Error adding suppressions.', 'gravitysmtp' ), + ), + ), + 'debug_messages' => array( + /* translators: %s: body of the ajax request. */ + 'adding_suppressed_emails' => esc_html__( 'Adding suppressed emails: %s', 'gravitysmtp' ), + /* translators: %s: error data. */ + 'adding_suppressed_emails_error' => esc_html__( 'Error adding suppressed emails: %s', 'gravitysmtp' ), + /* translators: %s: body of the ajax request. */ + 'fetching_suppressions_page' => esc_html__( 'Fetching suppressions page: %1$s', 'gravitysmtp' ), + /* translators: %s: error data. */ + 'fetching_suppressions_page_error' => esc_html__( 'Error fetching suppressions page: %1$s', 'gravitysmtp' ), + /* translators: %s: body of the ajax request. */ + 'reactivating_suppressed_emails' => esc_html__( 'Reactivating suppressed emails: %s', 'gravitysmtp' ), + /* translators: %s: error data. */ + 'reactivating_suppressed_emails_error' => esc_html__( 'Error reactivating suppressed emails: %s', 'gravitysmtp' ), + + ), + ), + 'data' => array( + 'caps' => array( + Roles::VIEW_EMAIL_SUPPRESSION_SETTINGS => current_user_can( Roles::VIEW_EMAIL_SUPPRESSION_SETTINGS ), + Roles::EDIT_EMAIL_SUPPRESSION_SETTINGS => current_user_can( Roles::EDIT_EMAIL_SUPPRESSION_SETTINGS ), + ), + 'suppressed_emails' => array( + 'ajax_grid_pagination_url' => trailingslashit( GF_GRAVITY_SMTP_PLUGIN_URL ) . 'includes/suppression/endpoints/get-paginated-items.php', + 'bulk_actions_options' => $this->get_suppression_bulk_actions(), + 'columns' => $this->get_suppression_columns(), + 'column_style_props' => $this->get_suppression_column_style_props(), + 'initial_row_count' => $this->get_suppression_data_row_count(), + 'initial_load_timestamp' => current_time( 'mysql', true ), + 'rows_per_page' => $per_page, + 'data' => array( + 'value' => $this->get_suppression_data_rows(), + 'default' => array(), + ), + ), + ) + ), + ), + ); + } + + public function get_suppression_bulk_actions() { + return array( + array( + 'label' => esc_html__( 'Bulk Actions', 'gravitysmtp' ), + 'value' => '-1', + ), + array( + 'label' => esc_html__( 'Reactivate', 'gravitysmtp' ), + 'value' => 'reactivate', + ), + ); + } + + public function get_suppression_columns() { + $columns = array( + array( + 'component' => 'Text', + 'hideWhenLoading' => true, + 'key' => 'email', + 'props' => array( + 'content' => esc_html__( 'Email', 'gravitysmtp' ), + 'size' => 'text-sm', + 'weight' => 'medium', + ), + 'sortable' => true, + 'variableLoader' => true, + ), + array( + 'component' => 'Text', + 'hideWhenLoading' => true, + 'key' => 'reason', + 'props' => array( + 'content' => esc_html__( 'Reason', 'gravitysmtp' ), + 'size' => 'text-sm', + 'weight' => 'medium', + ), + 'sortable' => true, + ), + array( + 'component' => 'Text', + 'hideAt' => 640, + 'hideWhenLoading' => false, + 'key' => 'date', + 'props' => array( + 'content' => esc_html__( 'Date Suppressed', 'gravitysmtp' ), + 'size' => 'text-sm', + 'weight' => 'medium', + ), + 'sortable' => true, + ), + array( + 'component' => 'Text', + 'hideAt' => 640, + 'key' => 'actions', + 'props' => array( + 'content' => esc_html__( 'Actions', 'gravitysmtp' ), + 'size' => 'text-sm', + 'weight' => 'medium', + ), + ), + ); + + return apply_filters( 'gravitysmtp_email_suppression_columns', $columns ); + } + + public function get_suppression_column_style_props() { + $props = array( + 'email' => array( 'flexBasis' => '292px' ), + 'reason' => array( 'flex' => '0 0 200px' ), + 'date' => array( 'flexBasis' => '250px' ), + 'actions' => array( 'flex' => '0 0 130px' ), + ); + + return apply_filters( 'gravitysmtp_email_suppression_column_style_props', $props ); + } + + public function get_suppression_data_rows() { + $opts = Gravity_SMTP::container()->get( Connector_Service_Provider::DATA_STORE_ROUTER ); + $per_page = $opts->get_plugin_setting( Save_Plugin_Settings_Endpoint::PARAM_PER_PAGE, 20 ); + + $current_page = filter_input( INPUT_GET, 'log_page', FILTER_SANITIZE_NUMBER_INT ); + $search_term = filter_input( INPUT_GET, 'search_term' ); + if ( empty( $current_page ) ) { + $current_page = 1; + } + + $suppressed_emails = Gravity_SMTP::$container->get( Suppression_Service_Provider::SUPPRESSED_EMAILS_MODEL ); + $data = $suppressed_emails->paginate( $current_page, $per_page, $search_term, null, null); + + return $suppressed_emails->format_as_data_rows( $data ); + } + + public function get_suppression_data_row_count() { + $suppressed_emails = Gravity_SMTP::$container->get( Suppression_Service_Provider::SUPPRESSED_EMAILS_MODEL ); + return $suppressed_emails->count(); + } + +} diff --git a/includes/suppression/endpoints/class-add-suppressed-emails-endpoint.php b/includes/suppression/endpoints/class-add-suppressed-emails-endpoint.php new file mode 100644 index 0000000..690644c --- /dev/null +++ b/includes/suppression/endpoints/class-add-suppressed-emails-endpoint.php @@ -0,0 +1,60 @@ +suppressed_emails = $suppressed_emails_model; + } + + protected function get_nonce_name() { + return self::ACTION_NAME; + } + + public function handle() { + if ( ! $this->validate() ) { + wp_send_json_error( 'Missing required parameters.', 400 ); + } + + $emails = FILTER_INPUT( INPUT_POST, self::PARAM_EMAILS, FILTER_DEFAULT, FILTER_REQUIRE_ARRAY ); + $note = FILTER_INPUT( INPUT_POST, self::PARAM_NOTE, FILTER_DEFAULT ); + + // Sanitize + $note = ! empty( $note ) ? htmlspecialchars( $note ) : ''; + $valid_emails = array(); + + foreach( $emails as $email ) { + if ( ! filter_var( $email, FILTER_VALIDATE_EMAIL ) ) { + continue; + } + + $valid_emails[] = $email; + } + + foreach( $valid_emails as $email ) { + $this->suppressed_emails->suppress_email( $email, 'manually_added', $note ); + } + + wp_send_json_success( $emails ); + } + +} diff --git a/includes/suppression/endpoints/class-reactivate-suppressed-emails-endpoint.php b/includes/suppression/endpoints/class-reactivate-suppressed-emails-endpoint.php new file mode 100644 index 0000000..340fe3d --- /dev/null +++ b/includes/suppression/endpoints/class-reactivate-suppressed-emails-endpoint.php @@ -0,0 +1,66 @@ +suppressed_emails = $suppressed_emails_model; + } + + protected function get_nonce_name() { + return self::ACTION_NAME; + } + + public function handle() { + if ( ! $this->validate() ) { + wp_send_json_error( 'Missing required parameters.', 400 ); + } + + $delete_all_emails = filter_input( INPUT_POST, self::PARAM_ALL_EMAILS ); + $delete_all_emails = htmlspecialchars( $delete_all_emails ); + + if ( $delete_all_emails == '1' ) { + $this->suppressed_emails->delete_all(); + wp_send_json_success( array( 'message' => 'All emails reactivated successfully' ), 200 ); + } + + $emails = filter_input( INPUT_POST, self::PARAM_EMAILS, FILTER_DEFAULT, FILTER_REQUIRE_ARRAY ); + + // Split into lines + $valid_emails = array(); + + foreach( $emails as $email ) { + if ( ! filter_var( $email, FILTER_VALIDATE_EMAIL ) ) { + continue; + } + + $valid_emails[] = $email; + } + + foreach( $valid_emails as $email ) { + $this->suppressed_emails->reactivate_email( $email ); + } + + wp_send_json_success( $emails ); + } + +} diff --git a/includes/suppression/endpoints/get-paginated-items.php b/includes/suppression/endpoints/get-paginated-items.php new file mode 100644 index 0000000..ca4ede4 --- /dev/null +++ b/includes/suppression/endpoints/get-paginated-items.php @@ -0,0 +1,58 @@ +paginate( $requested_page, $per_page, $search_term ); + $count = $suppression_model->count( $search_term ); + + $data = array( + 'rows' => $this->get_suppression_data_formatted_as_rows( $rows ), + 'total' => $count, + 'row_count' => count( $rows ), + ); + + wp_send_json_success( $data ); + } + + protected function extra_includes() { + return array( + '../../users/class-roles.php', + '../../enums/class-suppression-reason-enum.php', + '../../models/class-suppressed-emails-model.php', + ); + } + + private function get_suppression_data_formatted_as_rows( $data ) { + $suppression_model = new \Gravity_Forms\Gravity_SMTP\Models\Suppressed_Emails_Model(); + + return $suppression_model->format_as_data_rows( $data ); + } + +} + +$endpoint = new Get_Paginated_Suppression_Items(); +$endpoint->run(); \ No newline at end of file diff --git a/includes/tracking/class-open-pixel-handler.php b/includes/tracking/class-open-pixel-handler.php index f02f1d1..e3a788e 100644 --- a/includes/tracking/class-open-pixel-handler.php +++ b/includes/tracking/class-open-pixel-handler.php @@ -35,9 +35,10 @@ public function add_pixel( $email_id, $message, $attributes ) { $to = $to->first()->email(); } - $hash = $this->encrypter->encrypt( sprintf( '%s:%s:%s', $email_id, $to, $this->generate_random_string() ) ); - $callback_url = $this->get_callback_url( $hash ); - $image = sprintf( '', $callback_url ); + $hash = $this->encrypter->encrypt( sprintf( '%s:%s:%s', $email_id, $to, $this->generate_random_string() ) ); + $url_safe_hash = strtr( rtrim( $hash, '=' ), '+/', '-_' ); // Replace + with -, / with _, and remove padding = + $callback_url = $this->get_callback_url( $url_safe_hash ); + $image = sprintf( '', $callback_url ); $message = str_replace( '', $image . '', $message ); @@ -72,8 +73,9 @@ public function handle_redirect() { $this->send_response(); } - $decrypted = $this->encrypter->decrypt( $message ); - $parts = explode( ':', $decrypted ); + $encoded_hash = strtr( $message, '-_', '+/' ); // Replace - with +, _ with / + $decrypted = $this->encrypter->decrypt( $encoded_hash ); + $parts = explode( ':', $decrypted ); if ( count( $parts ) !== 3 ) { $this->send_response(); diff --git a/includes/users/class-roles.php b/includes/users/class-roles.php index fa570ad..8930c6d 100644 --- a/includes/users/class-roles.php +++ b/includes/users/class-roles.php @@ -4,86 +4,95 @@ class Roles { - const VIEW_EMAIL_LOG = 'gravitysmtp_view_email_log'; - const EDIT_EMAIL_LOG = 'gravitysmtp_edit_email_log'; - const DELETE_EMAIL_LOG = 'gravitysmtp_delete_email_log'; - - const VIEW_EMAIL_LOG_DETAILS = 'gravitysmtp_view_email_log_details'; - const EDIT_EMAIL_LOG_DETAILS = 'gravitysmtp_edit_email_log_details'; - const DELETE_EMAIL_LOG_DETAILS = 'gravitysmtp_delete_email_log_details'; - const VIEW_EMAIL_LOG_PREVIEW = 'gravitysmtp_view_email_log_preview'; - - const VIEW_GENERAL_SETTINGS = 'gravitysmtp_view_general_settings'; - const EDIT_GENERAL_SETTINGS = 'gravitysmtp_edit_general_settings'; - - const VIEW_EMAIL_MANAGEMENT_SETTINGS = 'gravitysmtp_view_email_management_settings'; + const DELETE_DEBUG_LOG = 'gravitysmtp_delete_debug_log'; + const DELETE_EMAIL_LOG = 'gravitysmtp_delete_email_log'; + const DELETE_EMAIL_LOG_DETAILS = 'gravitysmtp_delete_email_log_details'; + const EDIT_ALERTS = 'gravitysmtp_edit_alerts'; + const EDIT_ALERTS_SLACK_SETTINGS = 'gravitysmtp_edit_alerts_slack_settings'; + const EDIT_ALERTS_TWILIO_SETTINGS = 'gravitysmtp_edit_alerts_twilio_settings'; + const EDIT_DEBUG_LOG = 'gravitysmtp_edit_debug_log'; + const EDIT_DEBUG_LOG_SETTINGS = 'gravitysmtp_edit_debug_log_settings'; + const EDIT_EMAIL_LOG = 'gravitysmtp_edit_email_log'; + const EDIT_EMAIL_LOG_DETAILS = 'gravitysmtp_edit_email_log_details'; + const EDIT_EMAIL_LOG_SETTINGS = 'gravitysmtp_edit_email_log_settings'; const EDIT_EMAIL_MANAGEMENT_SETTINGS = 'gravitysmtp_edit_email_management_settings'; - - const VIEW_LICENSE_KEY = 'gravitysmtp_view_license_key'; - const EDIT_LICENSE_KEY = 'gravitysmtp_edit_license_key'; - - const VIEW_TEST_MODE = 'gravitysmtp_view_test_mode'; - const EDIT_TEST_MODE = 'gravitysmtp_edit_test_mode'; - - const VIEW_USAGE_ANALYTICS = 'gravitysmtp_view_usage_analytics'; - const EDIT_USAGE_ANALYTICS = 'gravitysmtp_edit_usage_analytics'; - - const VIEW_UNINSTALL = 'gravitysmtp_view_uninstall'; - const EDIT_UNINSTALL = 'gravitysmtp_edit_uninstall'; - - const VIEW_INTEGRATIONS = 'gravitysmtp_view_integrations'; - const EDIT_INTEGRATIONS = 'gravitysmtp_edit_integrations'; - - const VIEW_EMAIL_LOG_SETTINGS = 'gravitysmtp_view_email_log_settings'; - const EDIT_EMAIL_LOG_SETTINGS = 'gravitysmtp_edit_email_log_settings'; - - const VIEW_DEBUG_LOG_SETTINGS = 'gravitysmtp_view_debug_log_settings'; - const EDIT_DEBUG_LOG_SETTINGS = 'gravitysmtp_edit_debug_log_settings'; - - const VIEW_DEBUG_LOG = 'gravitysmtp_view_debug_log'; - const EDIT_DEBUG_LOG = 'gravitysmtp_edit_debug_log'; - const DELETE_DEBUG_LOG = 'gravitysmtp_delete_debug_log'; - - const VIEW_TOOLS = 'gravitysmtp_view_tools'; - const VIEW_TOOLS_SENDATEST = 'gravitysmtp_view_tools_sendatest'; - const VIEW_TOOLS_SYSTEMREPORT = 'gravitysmtp_view_tools_systemreport'; - - const VIEW_DASHBOARD = 'gravitysmtp_view_dashboard'; + const EDIT_GENERAL_SETTINGS = 'gravitysmtp_edit_general_settings'; + const EDIT_INTEGRATIONS = 'gravitysmtp_edit_integrations'; + const EDIT_LICENSE_KEY = 'gravitysmtp_edit_license_key'; + const EDIT_TEST_MODE = 'gravitysmtp_edit_test_mode'; + const EDIT_UNINSTALL = 'gravitysmtp_edit_uninstall'; + const EDIT_USAGE_ANALYTICS = 'gravitysmtp_edit_usage_analytics'; + const VIEW_ALERTS = 'gravitysmtp_view_alerts'; + const VIEW_ALERTS_SLACK_SETTINGS = 'gravitysmtp_view_alerts_slack_settings'; + const VIEW_ALERTS_TWILIO_SETTINGS = 'gravitysmtp_view_alerts_twilio_settings'; + const VIEW_DASHBOARD = 'gravitysmtp_view_dashboard'; + const VIEW_DEBUG_LOG = 'gravitysmtp_view_debug_log'; + const VIEW_DEBUG_LOG_SETTINGS = 'gravitysmtp_view_debug_log_settings'; + const VIEW_EMAIL_LOG = 'gravitysmtp_view_email_log'; + const VIEW_EMAIL_LOG_DETAILS = 'gravitysmtp_view_email_log_details'; + const VIEW_EMAIL_LOG_PREVIEW = 'gravitysmtp_view_email_log_preview'; + const VIEW_EMAIL_LOG_SETTINGS = 'gravitysmtp_view_email_log_settings'; + const VIEW_EMAIL_MANAGEMENT_SETTINGS = 'gravitysmtp_view_email_management_settings'; + const VIEW_GENERAL_SETTINGS = 'gravitysmtp_view_general_settings'; + const VIEW_INTEGRATIONS = 'gravitysmtp_view_integrations'; + const VIEW_LICENSE_KEY = 'gravitysmtp_view_license_key'; + const VIEW_TEST_MODE = 'gravitysmtp_view_test_mode'; + const VIEW_TOOLS = 'gravitysmtp_view_tools'; + const VIEW_TOOLS_SENDATEST = 'gravitysmtp_view_tools_sendatest'; + const VIEW_TOOLS_SYSTEMREPORT = 'gravitysmtp_view_tools_systemreport'; + const VIEW_UNINSTALL = 'gravitysmtp_view_uninstall'; + const VIEW_USAGE_ANALYTICS = 'gravitysmtp_view_usage_analytics'; + + const VIEW_EMAIL_SUPPRESSION_SETTINGS = 'gravitysmtp_view_email_suppression_settings'; + const EDIT_EMAIL_SUPPRESSION_SETTINGS = 'gravitysmtp_edit_email_suppression_settings'; + + const VIEW_EXPERIMENTAL_FEATURES = 'gravitysmtp_view_experimental_features'; + const EDIT_EXPERIMENTAL_FEATURES = 'gravitysmtp_edit_experimental_features'; private $caps = array( - self::VIEW_EMAIL_LOG, - self::EDIT_EMAIL_LOG, + self::DELETE_DEBUG_LOG, + self::DELETE_EMAIL_LOG, self::DELETE_EMAIL_LOG, - self::VIEW_EMAIL_LOG_DETAILS, - self::EDIT_EMAIL_LOG_DETAILS, self::DELETE_EMAIL_LOG_DETAILS, - self::VIEW_EMAIL_LOG_PREVIEW, - self::VIEW_GENERAL_SETTINGS, - self::EDIT_GENERAL_SETTINGS, - self::VIEW_EMAIL_MANAGEMENT_SETTINGS, + self::EDIT_ALERTS, + self::EDIT_ALERTS_SLACK_SETTINGS, + self::EDIT_ALERTS_TWILIO_SETTINGS, + self::EDIT_DEBUG_LOG, + self::EDIT_DEBUG_LOG_SETTINGS, + self::EDIT_EMAIL_LOG, + self::EDIT_EMAIL_LOG_DETAILS, + self::EDIT_EMAIL_LOG_SETTINGS, self::EDIT_EMAIL_MANAGEMENT_SETTINGS, - self::VIEW_LICENSE_KEY, + self::EDIT_GENERAL_SETTINGS, + self::EDIT_INTEGRATIONS, self::EDIT_LICENSE_KEY, - self::VIEW_TEST_MODE, self::EDIT_TEST_MODE, - self::VIEW_USAGE_ANALYTICS, - self::EDIT_USAGE_ANALYTICS, - self::VIEW_UNINSTALL, self::EDIT_UNINSTALL, - self::VIEW_INTEGRATIONS, - self::EDIT_INTEGRATIONS, - self::VIEW_EMAIL_LOG_SETTINGS, - self::EDIT_EMAIL_LOG_SETTINGS, - self::VIEW_DEBUG_LOG_SETTINGS, - self::EDIT_DEBUG_LOG_SETTINGS, - self::DELETE_EMAIL_LOG, + self::EDIT_USAGE_ANALYTICS, + self::VIEW_ALERTS, + self::VIEW_ALERTS_SLACK_SETTINGS, + self::VIEW_ALERTS_TWILIO_SETTINGS, + self::VIEW_DASHBOARD, self::VIEW_DEBUG_LOG, - self::EDIT_DEBUG_LOG, - self::DELETE_DEBUG_LOG, + self::VIEW_DEBUG_LOG_SETTINGS, + self::VIEW_EMAIL_LOG, + self::VIEW_EMAIL_LOG_DETAILS, + self::VIEW_EMAIL_LOG_PREVIEW, + self::VIEW_EMAIL_LOG_SETTINGS, + self::VIEW_EMAIL_MANAGEMENT_SETTINGS, + self::VIEW_GENERAL_SETTINGS, + self::VIEW_INTEGRATIONS, + self::VIEW_LICENSE_KEY, + self::VIEW_TEST_MODE, self::VIEW_TOOLS, self::VIEW_TOOLS_SENDATEST, self::VIEW_TOOLS_SYSTEMREPORT, - self::VIEW_DASHBOARD, + self::VIEW_EMAIL_SUPPRESSION_SETTINGS, + self::EDIT_EMAIL_SUPPRESSION_SETTINGS, + self::VIEW_UNINSTALL, + self::VIEW_USAGE_ANALYTICS, + self::VIEW_EXPERIMENTAL_FEATURES, + self::EDIT_EXPERIMENTAL_FEATURES, ); public function register() { diff --git a/includes/utils/class-attachments-saver.php b/includes/utils/class-attachments-saver.php index c3b2e3c..007d4d5 100644 --- a/includes/utils/class-attachments-saver.php +++ b/includes/utils/class-attachments-saver.php @@ -19,13 +19,15 @@ public function save_attachments( $email_id, $attachments ) { $uploads_dir = $this->get_uploads_dir_path( $email_id, $attachments ); if ( ! is_dir( $uploads_dir ) ) { - $this->logger->log_debug( __METHOD__ . '(): ' . __( 'Creating a new uploads directory at path: ', 'gravitysmtp' ) . $uploads_dir ); + /* translators: %1$s: directory path */ + $this->logger->log_debug( __METHOD__ . '(): ' . sprintf( __( 'Creating a new uploads directory at path: %1$s', 'gravitysmtp' ), $uploads_dir ) ); mkdir( $uploads_dir, 0755, true ); } foreach ( $attachments as $file_path ) { if ( ! file_exists( $file_path ) ) { - $this->logger->log_warning( __METHOD__ . '(): ' . __( 'Could not locate file at path: ', 'gravitysmtp' ) . $file_path ); + /* translators: %1$s: file path */ + $this->logger->log_warning( __METHOD__ . '(): ' . sprintf( __( 'Could not locate file at path: %1$s', 'gravitysmtp' ), $file_path ) ); continue; } @@ -33,7 +35,8 @@ public function save_attachments( $email_id, $attachments ) { $contents = file_get_contents( $file_path ); $new_path = sprintf( '%s%s', trailingslashit( $uploads_dir ), $file_name ); - $this->logger->log_debug( __METHOD__ . '(): ' . $file_name . __( ' being moved to new location: ', 'gravitysmtp' ) . $new_path ); + /* translators: %1$s: file name, %2$s: new path */ + $this->logger->log_debug( __METHOD__ . '(): ' . sprintf( __( '%1$s being moved to new location: %2$s', 'gravitysmtp' ), $file_name, $new_path ) ); file_put_contents( $new_path, $contents ); } @@ -60,4 +63,4 @@ private function get_uploads_dir_path( $email_id, $attachments ) { return apply_filters( 'gravitysmtp_attachment_uploads_dir_path', $uploads_dir, $email_id, $attachments ); } -} \ No newline at end of file +} diff --git a/includes/utils/class-fast-endpoint.php b/includes/utils/class-fast-endpoint.php new file mode 100644 index 0000000..b18ad8d --- /dev/null +++ b/includes/utils/class-fast-endpoint.php @@ -0,0 +1,57 @@ +load_wp(); + + foreach( $this->extra_includes() as $file_to_include ) { + require_once( $file_to_include ); + } + } + + public abstract function run(); + + protected function extra_includes() { + return array(); + } + + private function load_wp() { + $found = false; + $cwd = dirname( __FILE__ ); + + while( ! $found ) { + $checked_path = $cwd . '/wp-load.php'; + + if ( file_exists( $checked_path ) ) { + require_once( $checked_path ); + $found = true; + } + + $cwd = dirname( $cwd ); + } + + require_once( ABSPATH . WPINC . '/default-constants.php' ); + require_once( ABSPATH . WPINC . '/class-wp-textdomain-registry.php' ); + require_once( ABSPATH . WPINC . '/capabilities.php' ); + require_once( ABSPATH . WPINC . '/class-wp-session-tokens.php' ); + require_once( ABSPATH . WPINC . '/class-wp-user-meta-session-tokens.php' ); + require_once( ABSPATH . WPINC . '/class-wp-role.php' ); + require_once( ABSPATH . WPINC . '/class-wp-roles.php' ); + require_once( ABSPATH . WPINC . '/class-wp-user.php' ); + require_once( ABSPATH . WPINC . '/l10n.php' ); + require_once( ABSPATH . WPINC . '/user.php' ); + require_once( ABSPATH . WPINC . '/pluggable.php' ); + require_once( ABSPATH . WPINC . '/rest-api.php' ); + require_once( ABSPATH . WPINC . '/kses.php' ); + require_once( ABSPATH . WPINC . '/blocks.php' ); + require_once( ABSPATH . WPINC . '/theme.php' ); + + wp_plugin_directory_constants(); + wp_cookie_constants(); + + $GLOBALS['wp_textdomain_registry'] = new \WP_Textdomain_Registry(); + } +} \ No newline at end of file diff --git a/includes/utils/class-sql-filter-parser.php b/includes/utils/class-sql-filter-parser.php index 4731efc..498e499 100644 --- a/includes/utils/class-sql-filter-parser.php +++ b/includes/utils/class-sql-filter-parser.php @@ -14,6 +14,11 @@ class SQL_Filter_Parser { 'status', ); + protected $date_queryable = array( + 'date_created', + 'date_updated', + ); + public function process_filters( $filters, $trailing_union = false, $union = 'AND', $passed_key = null ) { global $wpdb; @@ -21,6 +26,14 @@ public function process_filters( $filters, $trailing_union = false, $union = 'AN foreach( $filters as $key => $value ) { + if ( in_array( $key, $this->date_queryable ) && is_array( $value ) ) { + $from = $value[0]; + $to = $value[1]; + + $sql_array[] = $wpdb->prepare( "`" . $key . "` BETWEEN %s AND %s", $from, $to ); + continue; + } + if ( is_array( $value ) ) { $sql_array[] = $this->process_filters( $value, false, 'OR', $key ); continue; @@ -41,7 +54,7 @@ public function process_filters( $filters, $trailing_union = false, $union = 'AN continue; } - $sql_array[] = sprintf( 'REGEXP_LIKE( `extra`, \'"%s"[^"]+"%s"\' )', $key, $value ); + $sql_array[] = sprintf( '`extra` RLIKE \'"%s"[^"]+"%s"\'', $key, $value ); } $sql = implode( ' ' . $union . ' ', $sql_array ); diff --git a/includes/utils/class-utils-service-provider.php b/includes/utils/class-utils-service-provider.php index 5534b89..4f936d7 100644 --- a/includes/utils/class-utils-service-provider.php +++ b/includes/utils/class-utils-service-provider.php @@ -99,6 +99,15 @@ public function register( Service_Container $container ) { } public function init( \Gravity_Forms\Gravity_Tools\Service_Container $container ) { + add_filter( 'cron_schedules', function( $schedules ) { + $schedules[ 'every-minute' ] = array( + 'interval' => MINUTE_IN_SECONDS, + 'display' => esc_html__( 'Every Minute', 'gravitysmtp' ), + ); + + return $schedules; + } ); + add_action( 'gravitysmtp_after_mail_created', function ( $email_id, $email_data ) use ( $container ) { if ( empty( $email_data['extra']['attachments'] ) ) { return; diff --git a/languages/gravitysmtp.pot b/languages/gravitysmtp.pot index 8663d70..1ac0c86 100644 --- a/languages/gravitysmtp.pot +++ b/languages/gravitysmtp.pot @@ -1,15 +1,15 @@ -# Copyright (C) 2024 Gravity Forms +# Copyright (C) 2025 Gravity Forms # This file is distributed under the GPL-3.0+. msgid "" msgstr "" -"Project-Id-Version: Gravity SMTP 1.5.0\n" +"Project-Id-Version: Gravity SMTP 1.6.1\n" "Report-Msgid-Bugs-To: https://gravityforms.com/support\n" "Last-Translator: Gravity Forms \n" "Language-Team: Gravity Forms \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-11-06T19:00:44+00:00\n" +"POT-Creation-Date: 2025-01-16T17:43:44+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.11.0\n" "X-Domain: gravitysmtp\n" @@ -32,164 +32,335 @@ msgstr "" msgid "Gravity Forms" msgstr "" -#: includes/apps/config/class-apps-config.php:33 +#: includes/alerts/config/class-alerts-config.php:68 +#: includes/apps/config/class-settings-config.php:102 +#: includes/apps/config/class-settings-config.php:299 +msgid "Alerts" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:69 +msgid "Use these settings to configure alerts for failed email sending attempts. Set up notifications through Slack or SMS (via Twilio) to ensure you're informed when an email fails to send. Multiple integrations can be added and managed." +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:70 +msgid "Alerts Settings" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:71 +msgid "When to Notify" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:72 +msgid "Email send request fails" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:73 +msgid "Enable this option send an alert when an email send attempt fails for any reason." +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:74 +msgid "Failure Amount" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:75 +msgid "The number of failures to trigger an alert." +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:76 +msgid "Alert Rate" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:77 +msgid "Interval for sending alerts about failures (in minutes)." +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:78 +msgid "Slack" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:79 +msgid "Slack Alerts" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:80 +msgid "Enable the Slack webhook URL you'd like to use to alerts when email sending fails." +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:81 +msgid "Add Webhook" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:82 +#: includes/alerts/config/class-alerts-config.php:88 +#: includes/apps/config/class-email-log-config.php:2280 +#: includes/apps/config/class-email-log-config.php:2493 +#: includes/apps/config/class-settings-config.php:124 +#: includes/apps/config/class-settings-config.php:193 +msgid "Delete" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:83 +msgid "Twilio" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:84 +msgid "Twilio Account: %s" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:85 +msgid "SMS via Twilio Alerts" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:86 +msgid "Enter the Twilio account you'd like to use to send alerts when email sending fails." +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:87 +msgid "Add Another Account" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:89 +#: includes/apps/config/class-settings-config.php:112 +msgid "Save Settings" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:90 +msgid "Click to toggle drag and drop." +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:91 +msgid "Entering drag and drop for item %1$s." +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:92 +msgid "Exiting drag and drop for item %1$s." +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:93 +msgid "Item %1$s moved to position %2$s." +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:94 +msgid "Moving item %1$s to position %2$s." +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:101 +msgid "Twilio Account:" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:165 +msgid "Webhook URL" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:181 +msgid "Account Name" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:192 +msgid "Twilio Account ID" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:203 +msgid "Twilio Auth Token" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:214 +msgid "From Phone Number" +msgstr "" + +#: includes/alerts/config/class-alerts-config.php:225 +msgid "To Phone Number" +msgstr "" + +#: includes/alerts/endpoints/class-save-alerts-settings-endpoint.php:44 +#: includes/apps/endpoints/class-get-dashboard-data-endpoint.php:32 +#: includes/apps/setup-wizard/endpoints/class-license-check-endpoint.php:22 +#: includes/connectors/endpoints/class-cleanup-data-endpoint.php:40 +#: includes/connectors/endpoints/class-get-connector-emails-endpoint.php:34 +#: includes/connectors/endpoints/class-get-single-email-data-endpoint.php:46 +#: includes/connectors/endpoints/class-save-connector-settings-endpoint.php:57 +#: includes/connectors/endpoints/class-send-test-endpoint.php:161 +#: includes/handler/endpoints/class-resend-email-endpoint.php:47 +#: includes/logging/endpoints/class-delete-debug-logs-endpoint.php:36 +#: includes/logging/endpoints/class-delete-email-endpoint.php:29 +#: includes/logging/endpoints/class-delete-events-endpoint.php:36 +#: includes/logging/endpoints/class-get-email-message-endpoint.php:29 +#: includes/logging/endpoints/class-log-item-endpoint.php:31 +msgid "Missing required parameters." +msgstr "" + +#: includes/apps/config/class-apps-config.php:47 msgid "Expand" msgstr "" -#: includes/apps/config/class-apps-config.php:34 +#: includes/apps/config/class-apps-config.php:48 msgid "Collapse" msgstr "" -#: includes/apps/config/class-apps-config.php:35 -#: includes/apps/config/class-email-log-config.php:2465 -#: includes/apps/config/class-settings-config.php:138 +#: includes/apps/config/class-apps-config.php:49 +#: includes/apps/config/class-email-log-config.php:2494 +#: includes/apps/config/class-email-log-config.php:2498 +#: includes/apps/config/class-email-log-config.php:2505 +#: includes/apps/config/class-settings-config.php:145 +#: includes/suppression/config/class-suppression-settings-config.php:103 msgid "Cancel" msgstr "" -#: includes/apps/config/class-apps-config.php:36 +#: includes/apps/config/class-apps-config.php:50 msgid "Confirm" msgstr "" -#: includes/apps/config/class-apps-config.php:37 +#: includes/apps/config/class-apps-config.php:51 #: includes/apps/config/class-tools-config.php:753 msgid "Debug Log Enabled" msgstr "" -#: includes/apps/config/class-apps-config.php:38 +#: includes/apps/config/class-apps-config.php:52 msgid "Test Mode Enabled" msgstr "" -#: includes/apps/config/class-apps-config.php:39 +#: includes/apps/config/class-apps-config.php:53 msgid "This setting is locked due to a defined constant and cannot be modified." msgstr "" #. translators: %1$s is the body of the ajax request. #. translators: %1$s is the body of the ajax request. -#: includes/apps/config/class-apps-config.php:42 -#: includes/apps/config/class-email-log-config.php:2446 +#: includes/apps/config/class-apps-config.php:56 +#: includes/apps/config/class-email-log-config.php:2475 msgid "Deleting activity log rows: %1$s" msgstr "" #. translators: %1$s is the error. #. translators: %1$s is the error. -#: includes/apps/config/class-apps-config.php:44 -#: includes/apps/config/class-email-log-config.php:2448 +#: includes/apps/config/class-apps-config.php:58 +#: includes/apps/config/class-email-log-config.php:2477 msgid "Error deleting activity log rows: %1$s" msgstr "" #. translators: %1$s is the body of the ajax request. -#: includes/apps/config/class-apps-config.php:46 +#: includes/apps/config/class-apps-config.php:60 msgid "Deleting all debug logs: %1$s" msgstr "" #. translators: %1$s is the error. -#: includes/apps/config/class-apps-config.php:48 +#: includes/apps/config/class-apps-config.php:62 msgid "Error deleting all debug logs: %1$s" msgstr "" #. translators: %1$s is the active connector they are saving settings for, %2$s is the body of the ajax request. -#: includes/apps/config/class-apps-config.php:50 +#: includes/apps/config/class-apps-config.php:64 msgid "Saving integration settings for the %1$s connector: %2$s" msgstr "" #. translators: %1$s is the active connector they are saving settings for, %2$s is the error. -#: includes/apps/config/class-apps-config.php:52 +#: includes/apps/config/class-apps-config.php:66 msgid "Error saving integration settings for the %1$s connector: %2$s" msgstr "" #. translators: %1$s is the body of the ajax request. -#: includes/apps/config/class-apps-config.php:54 +#: includes/apps/config/class-apps-config.php:68 msgid "Saving plugin settings: %1$s" msgstr "" #. translators: %1$s is the error. -#: includes/apps/config/class-apps-config.php:56 +#: includes/apps/config/class-apps-config.php:70 msgid "Error saving plugin settings: %1$s" msgstr "" -#: includes/apps/config/class-apps-config.php:58 +#: includes/apps/config/class-apps-config.php:72 msgid "Share Gravity SMTP Analytics" msgstr "" #. translators: {{learn_link}} tags are replaced by opening and closing tags for a link to our learn more page for usage -#: includes/apps/config/class-apps-config.php:60 +#: includes/apps/config/class-apps-config.php:74 msgid "We love improving the email sending experience for everyone in our community. By enabling analytics you can help us learn more about how our customers use Gravity SMTP. {{learn_link}}Learn more{{learn_link}}" msgstr "" -#: includes/apps/config/class-apps-config.php:61 +#: includes/apps/config/class-apps-config.php:75 msgid "API settings saved" msgstr "" -#: includes/apps/config/class-apps-config.php:62 +#: includes/apps/config/class-apps-config.php:76 msgid "Error saving setting" msgstr "" -#: includes/apps/config/class-apps-config.php:63 +#: includes/apps/config/class-apps-config.php:77 msgid "Setting successfully updated" msgstr "" -#: includes/apps/config/class-apps-config.php:64 +#: includes/apps/config/class-apps-config.php:78 msgid "Could not send test email; please check your logs" msgstr "" -#: includes/apps/config/class-apps-config.php:65 +#: includes/apps/config/class-apps-config.php:79 msgid "Email successfully sent" msgstr "" -#: includes/apps/config/class-apps-config.php:66 +#: includes/apps/config/class-apps-config.php:80 msgid "Error deleting log entries" msgstr "" -#: includes/apps/config/class-apps-config.php:67 +#: includes/apps/config/class-apps-config.php:81 msgid "Error getting email log for requested page" msgstr "" -#: includes/apps/config/class-apps-config.php:68 +#: includes/apps/config/class-apps-config.php:82 msgid "Error getting email log details" msgstr "" -#: includes/apps/config/class-apps-config.php:69 +#: includes/apps/config/class-apps-config.php:83 msgid "Error getting email log details, the log data was empty" msgstr "" -#: includes/apps/config/class-apps-config.php:70 +#: includes/apps/config/class-apps-config.php:84 msgid "Error deleting email log" msgstr "" -#: includes/apps/config/class-apps-config.php:71 +#: includes/apps/config/class-apps-config.php:85 msgid "Email log successfully deleted" msgstr "" -#: includes/apps/config/class-apps-config.php:72 +#: includes/apps/config/class-apps-config.php:86 msgid "Error deleting debug log" msgstr "" -#: includes/apps/config/class-apps-config.php:73 +#: includes/apps/config/class-apps-config.php:87 msgid "Debug log successfully deleted" msgstr "" -#: includes/apps/config/class-apps-config.php:74 +#: includes/apps/config/class-apps-config.php:88 msgid "URL copied to clipboard" msgstr "" -#: includes/apps/config/class-apps-config.php:75 +#: includes/apps/config/class-apps-config.php:89 msgid "Test mode is enabled, emails will not be sent." msgstr "" #: includes/apps/config/class-dashboard-config.php:156 -msgid "Total Emails" +msgid "Processed" msgstr "" #: includes/apps/config/class-dashboard-config.php:157 -msgid "Total Sent" +#: includes/apps/config/class-dashboard-config.php:167 +#: includes/apps/config/class-dashboard-config.php:364 +#: includes/apps/config/class-email-log-config.php:2555 +#: includes/apps/config/class-email-log-config.php:2559 +#: includes/enums/class-status-enum.php:54 +msgid "Sent" msgstr "" #: includes/apps/config/class-dashboard-config.php:158 -msgid "Percent Opened" +#: includes/apps/config/class-email-log-config.php:2337 +msgid "Opened" msgstr "" #: includes/apps/config/class-dashboard-config.php:159 -msgid "Total Failed" +#: includes/apps/config/class-dashboard-config.php:168 +#: includes/apps/config/class-dashboard-config.php:370 +#: includes/apps/config/class-email-log-config.php:2568 +#: includes/apps/config/class-email-log-config.php:2572 +#: includes/enums/class-status-enum.php:55 +msgid "Failed" msgstr "" #: includes/apps/config/class-dashboard-config.php:164 @@ -200,18 +371,6 @@ msgstr "" msgid "No data for the selected date range." msgstr "" -#: includes/apps/config/class-dashboard-config.php:167 -#: includes/apps/config/class-dashboard-config.php:360 -#: includes/enums/class-status-enum.php:53 -msgid "Sent" -msgstr "" - -#: includes/apps/config/class-dashboard-config.php:168 -#: includes/apps/config/class-dashboard-config.php:366 -#: includes/enums/class-status-enum.php:54 -msgid "Failed" -msgstr "" - #: includes/apps/config/class-dashboard-config.php:170 msgid "Date Range" msgstr "" @@ -245,27 +404,27 @@ msgid "%1$s Emails" msgstr "" #: includes/apps/config/class-dashboard-config.php:183 -#: includes/apps/config/class-settings-config.php:134 +#: includes/apps/config/class-settings-config.php:141 msgid "Primary" msgstr "" #: includes/apps/config/class-dashboard-config.php:184 -#: includes/apps/config/class-settings-config.php:135 +#: includes/apps/config/class-settings-config.php:142 msgid "Backup" msgstr "" #: includes/apps/config/class-dashboard-config.php:185 -#: includes/apps/config/class-settings-config.php:132 +#: includes/apps/config/class-settings-config.php:139 msgid "Connected" msgstr "" #: includes/apps/config/class-dashboard-config.php:186 -#: includes/apps/config/class-settings-config.php:133 +#: includes/apps/config/class-settings-config.php:140 msgid "Configured" msgstr "" #: includes/apps/config/class-dashboard-config.php:187 -#: includes/apps/config/class-settings-config.php:136 +#: includes/apps/config/class-settings-config.php:143 msgid "Not Configured" msgstr "" @@ -293,276 +452,372 @@ msgstr "" msgid "Last 365 Days" msgstr "" -#: includes/apps/config/class-dashboard-config.php:503 +#: includes/apps/config/class-dashboard-config.php:507 msgid "Getting Started" msgstr "" -#: includes/apps/config/class-dashboard-config.php:507 +#: includes/apps/config/class-dashboard-config.php:511 msgid "Troubleshooting Gravity SMTP" msgstr "" -#: includes/apps/config/class-dashboard-config.php:511 +#: includes/apps/config/class-dashboard-config.php:515 msgid "Email Delivery Best Practices" msgstr "" -#: includes/apps/config/class-dashboard-config.php:515 +#: includes/apps/config/class-dashboard-config.php:519 msgid "An Overview of Gravity SMTP" msgstr "" -#: includes/apps/config/class-dashboard-config.php:519 -#: includes/apps/config/class-settings-config.php:122 -#: includes/apps/config/class-settings-config.php:279 +#: includes/apps/config/class-dashboard-config.php:523 +#: includes/apps/config/class-settings-config.php:129 +#: includes/apps/config/class-settings-config.php:294 msgid "Integrations" msgstr "" -#: includes/apps/config/class-dashboard-config.php:523 +#: includes/apps/config/class-dashboard-config.php:527 msgid "Frequently Asked Questions" msgstr "" -#: includes/apps/config/class-dashboard-config.php:527 +#: includes/apps/config/class-dashboard-config.php:531 msgid "Gravity SMTP Changelog" msgstr "" -#: includes/apps/config/class-dashboard-config.php:531 +#: includes/apps/config/class-dashboard-config.php:535 msgid "Open Support Ticket" msgstr "" -#: includes/apps/config/class-email-log-config.php:55 -#: includes/logging/endpoints/get-paginated-debug-log-items.php:108 -#: includes/logging/endpoints/get-paginated-items.php:241 +#: includes/apps/config/class-email-log-config.php:57 +#: includes/logging/endpoints/get-paginated-debug-log-items.php:86 +#: includes/logging/endpoints/get-paginated-items.php:226 msgid "View email log" msgstr "" -#: includes/apps/config/class-email-log-config.php:74 -#: includes/logging/endpoints/get-paginated-debug-log-items.php:127 -#: includes/logging/endpoints/get-paginated-items.php:260 +#: includes/apps/config/class-email-log-config.php:76 +#: includes/logging/endpoints/get-paginated-debug-log-items.php:105 +#: includes/logging/endpoints/get-paginated-items.php:245 msgid "View email" msgstr "" -#: includes/apps/config/class-email-log-config.php:93 -#: includes/logging/endpoints/get-paginated-debug-log-items.php:146 -#: includes/logging/endpoints/get-paginated-items.php:279 -msgid "Delete email log" +#: includes/apps/config/class-email-log-config.php:95 +#: includes/logging/endpoints/get-paginated-items.php:264 +msgid "Resend email" msgstr "" -#: includes/apps/config/class-email-log-config.php:2255 -msgid "Bulk Actions" +#: includes/apps/config/class-email-log-config.php:114 +#: includes/logging/endpoints/get-paginated-debug-log-items.php:124 +#: includes/logging/endpoints/get-paginated-items.php:283 +msgid "Delete email log" msgstr "" -#: includes/apps/config/class-email-log-config.php:2259 -#: includes/apps/config/class-email-log-config.php:2464 -#: includes/apps/config/class-settings-config.php:117 -#: includes/apps/config/class-settings-config.php:186 -msgid "Delete" +#: includes/apps/config/class-email-log-config.php:2276 +#: includes/suppression/config/class-suppression-settings-config.php:167 +msgid "Bulk Actions" msgstr "" -#: includes/apps/config/class-email-log-config.php:2277 +#: includes/apps/config/class-email-log-config.php:2298 #: includes/apps/config/class-email-log-single-config.php:59 #: includes/connectors/endpoints/class-get-single-email-data-endpoint.php:90 msgid "Subject" msgstr "" -#: includes/apps/config/class-email-log-config.php:2289 -#: includes/apps/config/class-tools-config.php:970 +#: includes/apps/config/class-email-log-config.php:2310 +#: includes/apps/config/class-email-log-config.php:2546 +#: includes/apps/config/class-email-log-config.php:2555 +#: includes/apps/config/class-email-log-config.php:2568 +#: includes/apps/config/class-email-log-config.php:2581 +#: includes/apps/config/class-email-log-config.php:2594 +#: includes/apps/config/class-email-log-config.php:2607 +#: includes/apps/config/class-tools-config.php:971 #: includes/connectors/endpoints/class-get-single-email-data-endpoint.php:92 #: includes/connectors/endpoints/class-get-single-email-data-endpoint.php:93 msgid "Status" msgstr "" -#: includes/apps/config/class-email-log-config.php:2301 +#: includes/apps/config/class-email-log-config.php:2322 msgid "Recipient" msgstr "" -#: includes/apps/config/class-email-log-config.php:2316 -msgid "Opened" -msgstr "" - -#: includes/apps/config/class-email-log-config.php:2330 +#: includes/apps/config/class-email-log-config.php:2351 +#: includes/apps/config/class-email-log-config.php:2628 +#: includes/apps/config/class-email-log-config.php:2653 msgid "Source" msgstr "" -#: includes/apps/config/class-email-log-config.php:2345 +#: includes/apps/config/class-email-log-config.php:2366 +#: includes/apps/config/class-email-log-config.php:2525 +#: includes/apps/config/class-email-log-config.php:2620 msgid "Service" msgstr "" -#: includes/apps/config/class-email-log-config.php:2358 +#: includes/apps/config/class-email-log-config.php:2379 #: includes/apps/config/class-email-log-single-config.php:56 msgid "Date Sent" msgstr "" -#: includes/apps/config/class-email-log-config.php:2370 -#: includes/apps/config/class-tools-config.php:1006 +#: includes/apps/config/class-email-log-config.php:2391 +#: includes/apps/config/class-tools-config.php:1007 +#: includes/suppression/config/class-suppression-settings-config.php:219 msgid "Actions" msgstr "" -#: includes/apps/config/class-email-log-config.php:2408 +#: includes/apps/config/class-email-log-config.php:2429 #: includes/apps/config/class-email-log-single-config.php:42 -#: includes/apps/config/class-settings-config.php:76 +#: includes/apps/config/class-settings-config.php:77 #: includes/apps/config/class-tools-config.php:140 #: includes/connectors/endpoints/class-get-single-email-data-endpoint.php:75 msgid "Error Saving" msgstr "" -#: includes/apps/config/class-email-log-config.php:2410 +#: includes/apps/config/class-email-log-config.php:2431 #: includes/apps/config/class-email-log-single-config.php:43 #: includes/connectors/endpoints/class-get-single-email-data-endpoint.php:76 msgid "Could not save; please check your logs." msgstr "" -#: includes/apps/config/class-email-log-config.php:2411 +#: includes/apps/config/class-email-log-config.php:2432 #: includes/apps/config/class-email-log-single-config.php:44 -#: includes/apps/config/class-settings-config.php:78 +#: includes/apps/config/class-settings-config.php:79 #: includes/apps/config/class-tools-config.php:142 #: includes/apps/setup-wizard/config/class-setup-wizard-config.php:97 #: includes/connectors/endpoints/class-get-single-email-data-endpoint.php:77 msgid "Close" msgstr "" -#: includes/apps/config/class-email-log-config.php:2413 +#: includes/apps/config/class-email-log-config.php:2434 #: includes/connectors/endpoints/class-get-single-email-data-endpoint.php:86 -#: includes/pages/class-admin-page.php:21 -#: includes/pages/class-admin-page.php:31 +#: includes/pages/class-admin-page.php:16 msgid "Email Log" msgstr "" -#: includes/apps/config/class-email-log-config.php:2415 +#: includes/apps/config/class-email-log-config.php:2436 msgid "Activity" msgstr "" -#: includes/apps/config/class-email-log-config.php:2417 +#: includes/apps/config/class-email-log-config.php:2437 +msgid "Filters:" +msgstr "" + +#: includes/apps/config/class-email-log-config.php:2438 +msgid "Reset Filters" +msgstr "" + +#: includes/apps/config/class-email-log-config.php:2439 +#: includes/suppression/config/class-suppression-settings-config.php:78 msgid "Select all rows" msgstr "" -#: includes/apps/config/class-email-log-config.php:2418 +#: includes/apps/config/class-email-log-config.php:2440 #: includes/apps/config/class-tools-config.php:147 +#: includes/suppression/config/class-suppression-settings-config.php:80 msgid "Clear search" msgstr "" -#: includes/apps/config/class-email-log-config.php:2419 +#. translators: %s: date range +#: includes/apps/config/class-email-log-config.php:2442 +msgid "Date: %s" +msgstr "" + +#. translators: 1: from date, 2: to date +#: includes/apps/config/class-email-log-config.php:2444 +msgid "Date filters: %1$s to %2$s" +msgstr "" + +#: includes/apps/config/class-email-log-config.php:2445 +#: includes/apps/config/class-email-log-config.php:2460 +msgid "Reset" +msgstr "" + +#: includes/apps/config/class-email-log-config.php:2446 +msgid "Today" +msgstr "" + +#: includes/apps/config/class-email-log-config.php:2447 msgid "No emails yet" msgstr "" -#: includes/apps/config/class-email-log-config.php:2420 +#: includes/apps/config/class-email-log-config.php:2448 msgid "As soon as your site sends some emails, you will see them here!" msgstr "" -#: includes/apps/config/class-email-log-config.php:2425 +#: includes/apps/config/class-email-log-config.php:2449 +#: includes/suppression/config/class-suppression-settings-config.php:85 msgid "Select bulk actions" msgstr "" -#: includes/apps/config/class-email-log-config.php:2426 +#: includes/apps/config/class-email-log-config.php:2450 +#: includes/suppression/config/class-suppression-settings-config.php:86 msgid "Apply" msgstr "" -#: includes/apps/config/class-email-log-config.php:2427 -#: includes/apps/config/class-email-log-config.php:2428 +#: includes/apps/config/class-email-log-config.php:2451 +#: includes/apps/config/class-email-log-config.php:2452 #: includes/apps/config/class-tools-config.php:150 #: includes/apps/config/class-tools-config.php:151 +#: includes/suppression/config/class-suppression-settings-config.php:83 +#: includes/suppression/config/class-suppression-settings-config.php:84 msgid "Search" msgstr "" #. translators: 1: number of selected entries. -#: includes/apps/config/class-email-log-config.php:2430 +#: includes/apps/config/class-email-log-config.php:2454 msgid "All %1$s emails on this page are selected" msgstr "" #. translators: 1: number of selected entries. -#: includes/apps/config/class-email-log-config.php:2432 +#: includes/apps/config/class-email-log-config.php:2456 msgid "All %1$s emails in the email log are selected" msgstr "" #. translators: 1: number of entries to be selected. -#: includes/apps/config/class-email-log-config.php:2434 +#: includes/apps/config/class-email-log-config.php:2458 msgid "Select All %1$s Emails" msgstr "" -#: includes/apps/config/class-email-log-config.php:2435 +#: includes/apps/config/class-email-log-config.php:2459 +#: includes/suppression/config/class-suppression-settings-config.php:93 msgid "Clear Selection" msgstr "" -#: includes/apps/config/class-email-log-config.php:2436 +#. translators: %s: number of filters active. +#: includes/apps/config/class-email-log-config.php:2462 +msgid "Filters: %s filters active." +msgstr "" + +#: includes/apps/config/class-email-log-config.php:2463 #: includes/apps/config/class-tools-config.php:152 #: includes/apps/setup-wizard/config/class-setup-wizard-config.php:87 #: includes/apps/setup-wizard/config/class-setup-wizard-config.php:100 +#: includes/suppression/config/class-suppression-settings-config.php:94 msgid "Next" msgstr "" -#: includes/apps/config/class-email-log-config.php:2437 +#: includes/apps/config/class-email-log-config.php:2464 #: includes/apps/config/class-tools-config.php:153 +#: includes/suppression/config/class-suppression-settings-config.php:95 msgid "Previous" msgstr "" -#: includes/apps/config/class-email-log-config.php:2438 +#: includes/apps/config/class-email-log-config.php:2465 #: includes/apps/config/class-tools-config.php:154 +#: includes/suppression/config/class-suppression-settings-config.php:96 msgid "Next Page" msgstr "" -#: includes/apps/config/class-email-log-config.php:2439 +#: includes/apps/config/class-email-log-config.php:2466 #: includes/apps/config/class-tools-config.php:155 +#: includes/suppression/config/class-suppression-settings-config.php:97 msgid "Previous Page" msgstr "" -#: includes/apps/config/class-email-log-config.php:2440 +#: includes/apps/config/class-email-log-config.php:2467 #: includes/apps/config/class-tools-config.php:156 +#: includes/suppression/config/class-suppression-settings-config.php:98 msgid "No results found" msgstr "" -#: includes/apps/config/class-email-log-config.php:2441 +#: includes/apps/config/class-email-log-config.php:2468 #: includes/apps/config/class-tools-config.php:157 +#: includes/suppression/config/class-suppression-settings-config.php:99 msgid "No results found for your search" msgstr "" -#: includes/apps/config/class-email-log-config.php:2442 +#. translators: %s: search term +#: includes/apps/config/class-email-log-config.php:2470 +msgid "Search: %s" +msgstr "" + +#: includes/apps/config/class-email-log-config.php:2471 msgid "Select row" msgstr "" #. translators: %1$s is the body of the ajax request. -#: includes/apps/config/class-email-log-config.php:2450 +#: includes/apps/config/class-email-log-config.php:2479 msgid "Deleting activity log: %1$s" msgstr "" #. translators: %1$s is the error. -#: includes/apps/config/class-email-log-config.php:2452 +#: includes/apps/config/class-email-log-config.php:2481 msgid "Error deleting activity log: %1$s" msgstr "" #. translators: %1$s is the body of the ajax request. -#: includes/apps/config/class-email-log-config.php:2454 +#: includes/apps/config/class-email-log-config.php:2483 msgid "Fetching activity log page: %1$s" msgstr "" #. translators: %1$s is the error. -#: includes/apps/config/class-email-log-config.php:2456 +#: includes/apps/config/class-email-log-config.php:2485 msgid "Error fetching activity log page: %1$s" msgstr "" #. translators: %1$s is the body of the ajax request. -#: includes/apps/config/class-email-log-config.php:2458 +#: includes/apps/config/class-email-log-config.php:2487 msgid "Fetching activity log details: %1$s" msgstr "" #. translators: %1$s is the error. -#: includes/apps/config/class-email-log-config.php:2460 +#: includes/apps/config/class-email-log-config.php:2489 msgid "Error fetching activity log details: %1$s" msgstr "" -#: includes/apps/config/class-email-log-config.php:2462 +#: includes/apps/config/class-email-log-config.php:2491 msgid "Delete Email" msgstr "" -#: includes/apps/config/class-email-log-config.php:2463 +#: includes/apps/config/class-email-log-config.php:2492 msgid "Are you sure you want to delete this email log?" msgstr "" -#: includes/apps/config/class-email-log-config.php:2466 +#: includes/apps/config/class-email-log-config.php:2495 +#: includes/apps/config/class-email-log-config.php:2502 +msgid "Resend Email" +msgstr "" + +#: includes/apps/config/class-email-log-config.php:2496 +#: includes/apps/config/class-email-log-config.php:2503 +msgid "Are you sure you want to resend this email?" +msgstr "" + +#: includes/apps/config/class-email-log-config.php:2497 +#: includes/apps/config/class-email-log-config.php:2504 +#: includes/apps/config/class-email-log-single-config.php:50 +#: includes/connectors/endpoints/class-get-single-email-data-endpoint.php:82 +msgid "Resend" +msgstr "" + +#: includes/apps/config/class-email-log-config.php:2499 msgid "Confirm Deletion" msgstr "" #. translators: 1: number of selected entries. -#: includes/apps/config/class-email-log-config.php:2468 +#: includes/apps/config/class-email-log-config.php:2501 msgid "Are you sure you want to delete %1$s entries? This action is irreversible, and all records will be permanently removed from the database." msgstr "" +#. translators: 1: label of filter key, 2: label of filter value. +#: includes/apps/config/class-email-log-config.php:2511 +#: includes/apps/config/class-email-log-config.php:2539 +msgid "%1$s: %2$s" +msgstr "" + +#: includes/apps/config/class-email-log-config.php:2581 +#: includes/apps/config/class-email-log-config.php:2585 +#: includes/enums/class-status-enum.php:56 +msgid "Sandboxed" +msgstr "" + +#: includes/apps/config/class-email-log-config.php:2594 +#: includes/apps/config/class-email-log-config.php:2598 +#: includes/enums/class-status-enum.php:57 +msgid "Suppressed" +msgstr "" + +#: includes/apps/config/class-email-log-config.php:2607 +#: includes/apps/config/class-email-log-config.php:2611 +#: includes/enums/class-status-enum.php:53 +msgid "Pending" +msgstr "" + #: includes/apps/config/class-email-log-single-config.php:46 msgid "Email Log Details" msgstr "" @@ -577,11 +832,6 @@ msgstr "" msgid "View Email" msgstr "" -#: includes/apps/config/class-email-log-single-config.php:50 -#: includes/connectors/endpoints/class-get-single-email-data-endpoint.php:82 -msgid "Resend" -msgstr "" - #: includes/apps/config/class-email-log-single-config.php:51 #: includes/connectors/endpoints/class-get-single-email-data-endpoint.php:83 msgid "Print" @@ -630,7 +880,7 @@ msgstr "" #: includes/apps/config/class-email-log-single-config.php:63 #: includes/apps/config/class-tools-config.php:162 -#: includes/apps/config/class-tools-config.php:994 +#: includes/apps/config/class-tools-config.php:995 msgid "Log" msgstr "" @@ -701,440 +951,451 @@ msgstr "" msgid "Email successfully resent" msgstr "" -#: includes/apps/config/class-settings-config.php:70 +#: includes/apps/config/class-settings-config.php:71 msgid "The Email Log is set to store a maximum of %d records. Any records over that limit will be deleted, starting with oldest records first." msgstr "" -#: includes/apps/config/class-settings-config.php:77 +#: includes/apps/config/class-settings-config.php:78 #: includes/apps/config/class-tools-config.php:141 msgid "Could not save, please check your logs." msgstr "" #. translators: %1$s is the body of the ajax request. -#: includes/apps/config/class-settings-config.php:81 +#: includes/apps/config/class-settings-config.php:82 msgid "Uninstalling plugin: %1$s" msgstr "" #. translators: %1$s is the error. -#: includes/apps/config/class-settings-config.php:83 +#: includes/apps/config/class-settings-config.php:84 msgid "Error uninstalling plugin: %1$s" msgstr "" +#: includes/apps/config/class-settings-config.php:86 +msgid "Unsaved Changes" +msgstr "" + #: includes/apps/config/class-settings-config.php:87 -#: includes/apps/config/class-settings-config.php:131 -#: includes/apps/config/class-settings-config.php:274 +msgid "You have unsaved changes. Are you sure you want to leave this page?" +msgstr "" + +#: includes/apps/config/class-settings-config.php:90 +#: includes/apps/config/class-settings-config.php:138 +#: includes/apps/config/class-settings-config.php:289 #: includes/pages/class-admin-page.php:22 -#: includes/pages/class-admin-page.php:32 #: includes/pages/class-page-service-provider.php:38 msgid "Settings" msgstr "" -#: includes/apps/config/class-settings-config.php:89 +#: includes/apps/config/class-settings-config.php:92 msgid "License" msgstr "" -#: includes/apps/config/class-settings-config.php:90 +#: includes/apps/config/class-settings-config.php:93 msgid "A valid license key is required for access to automatic plugin upgrades and product support." msgstr "" -#: includes/apps/config/class-settings-config.php:91 +#: includes/apps/config/class-settings-config.php:94 msgid "License Key" msgstr "" -#: includes/apps/config/class-settings-config.php:92 +#: includes/apps/config/class-settings-config.php:95 msgid "Enter your license key to gain access to plugin updates." msgstr "" -#: includes/apps/config/class-settings-config.php:93 +#: includes/apps/config/class-settings-config.php:96 msgid "Already purchased?" msgstr "" -#: includes/apps/config/class-settings-config.php:94 +#: includes/apps/config/class-settings-config.php:97 msgid "Save License" msgstr "" -#: includes/apps/config/class-settings-config.php:95 +#: includes/apps/config/class-settings-config.php:98 msgid "License key successfully validated!" msgstr "" -#: includes/apps/config/class-settings-config.php:96 +#: includes/apps/config/class-settings-config.php:99 msgid "Invalid license key entered. Please check your license key and try again." msgstr "" -#: includes/apps/config/class-settings-config.php:97 +#: includes/apps/config/class-settings-config.php:100 +msgid "Experimental Features" +msgstr "" + +#: includes/apps/config/class-settings-config.php:101 +msgid "These features are works-in-progress, so you may find some bugs along the way." +msgstr "" + +#: includes/apps/config/class-settings-config.php:103 +msgid "Setup alerts via Slack or SMS (using Twilio) to stay informed when emails fail to send." +msgstr "" + +#: includes/apps/config/class-settings-config.php:104 msgid "Email Digest Notification" msgstr "" -#: includes/apps/config/class-settings-config.php:98 +#: includes/apps/config/class-settings-config.php:105 msgid "Keep track of your email communication with ease using our Email Digest Notification feature. Receive regular email updates on your email activity and address potential issues promptly. Stay in control of your WordPress email communication and never miss an important message again." msgstr "" -#: includes/apps/config/class-settings-config.php:99 +#: includes/apps/config/class-settings-config.php:106 msgid "Enable Digest Summary" msgstr "" -#: includes/apps/config/class-settings-config.php:100 +#: includes/apps/config/class-settings-config.php:107 msgid "Notification Day" msgstr "" -#: includes/apps/config/class-settings-config.php:101 +#: includes/apps/config/class-settings-config.php:108 msgid "Select when you want the email digest to be sent." msgstr "" -#: includes/apps/config/class-settings-config.php:102 +#: includes/apps/config/class-settings-config.php:109 msgid "Notification Email Addresses" msgstr "" -#: includes/apps/config/class-settings-config.php:103 +#: includes/apps/config/class-settings-config.php:110 msgid "This is a hint text to help users." msgstr "" -#: includes/apps/config/class-settings-config.php:104 +#: includes/apps/config/class-settings-config.php:111 msgid "Enable HTML Mode" msgstr "" -#: includes/apps/config/class-settings-config.php:105 -msgid "Save Settings" -msgstr "" - -#: includes/apps/config/class-settings-config.php:106 +#: includes/apps/config/class-settings-config.php:113 msgid "Test Mode" msgstr "" #. translators: %s: opening and closing anchor tags -#: includes/apps/config/class-settings-config.php:108 +#: includes/apps/config/class-settings-config.php:115 msgid "When test mode is on, your site will not send out any emails. If you turn on %semail logging%s, all emails will be stored in the Email Logs." msgstr "" -#: includes/apps/config/class-settings-config.php:109 +#: includes/apps/config/class-settings-config.php:116 msgid "Note: Some WordPress plugins use their own email delivery system instead of the standard wp_mail() function. Test mode might not block emails sent by these plugins. Consult their documentation to learn how to enable test emails." msgstr "" -#: includes/apps/config/class-settings-config.php:110 +#: includes/apps/config/class-settings-config.php:117 msgid "Enable Test Mode" msgstr "" -#: includes/apps/config/class-settings-config.php:111 -#: includes/connectors/types/class-connector-amazon.php:344 -#: includes/connectors/types/class-connector-brevo.php:292 -#: includes/connectors/types/class-connector-generic.php:318 -#: includes/connectors/types/class-connector-mailchimp.php:306 -#: includes/connectors/types/class-connector-mailgun.php:367 -#: includes/connectors/types/class-connector-phpmail.php:103 -#: includes/connectors/types/class-connector-postmark.php:264 -#: includes/connectors/types/class-connector-sendgrid.php:263 +#: includes/apps/config/class-settings-config.php:118 +#: includes/connectors/types/class-connector-amazon.php:350 +#: includes/connectors/types/class-connector-brevo.php:296 +#: includes/connectors/types/class-connector-generic.php:322 +#: includes/connectors/types/class-connector-mailchimp.php:322 +#: includes/connectors/types/class-connector-mailgun.php:370 +#: includes/connectors/types/class-connector-phpmail.php:119 +#: includes/connectors/types/class-connector-postmark.php:268 +#: includes/connectors/types/class-connector-sendgrid.php:267 msgid "General Settings" msgstr "" -#: includes/apps/config/class-settings-config.php:112 +#: includes/apps/config/class-settings-config.php:119 msgid "Uninstall" msgstr "" -#: includes/apps/config/class-settings-config.php:113 -#: includes/apps/config/class-settings-config.php:116 +#: includes/apps/config/class-settings-config.php:120 +#: includes/apps/config/class-settings-config.php:123 msgid "This operation deletes ALL Gravity SMTP settings. If you continue, you will NOT be able to retrieve these settings." msgstr "" -#: includes/apps/config/class-settings-config.php:114 +#: includes/apps/config/class-settings-config.php:121 msgid "Erase ALL Gravity SMTP Data" msgstr "" -#: includes/apps/config/class-settings-config.php:115 -#: includes/apps/config/class-settings-config.php:183 +#: includes/apps/config/class-settings-config.php:122 +#: includes/apps/config/class-settings-config.php:190 msgid "Confirm Delete" msgstr "" -#: includes/apps/config/class-settings-config.php:118 +#: includes/apps/config/class-settings-config.php:125 msgid "There was an error uninstalling Gravity SMTP" msgstr "" -#: includes/apps/config/class-settings-config.php:123 +#: includes/apps/config/class-settings-config.php:130 msgid "Select and configure the integration you would like to use to send emails from this site. Don't see an integration you're looking for?" msgstr "" -#: includes/apps/config/class-settings-config.php:124 +#: includes/apps/config/class-settings-config.php:131 msgid "Suggest an integration." msgstr "" -#: includes/apps/config/class-settings-config.php:125 +#: includes/apps/config/class-settings-config.php:132 msgid "Alerts & Notifications" msgstr "" -#: includes/apps/config/class-settings-config.php:126 +#: includes/apps/config/class-settings-config.php:133 msgid "Don't miss important notifications, leads, or sales again. Get notified instantly through Slack, SMS, WhatsApp, or Telegram if there are any issues with your SMTP service." msgstr "" -#: includes/apps/config/class-settings-config.php:127 +#: includes/apps/config/class-settings-config.php:134 msgid "Activate Integration" msgstr "" -#: includes/apps/config/class-settings-config.php:128 +#: includes/apps/config/class-settings-config.php:135 msgid "Currently Enabled" msgstr "" -#: includes/apps/config/class-settings-config.php:129 +#: includes/apps/config/class-settings-config.php:136 msgid "Learn More" msgstr "" -#: includes/apps/config/class-settings-config.php:130 +#: includes/apps/config/class-settings-config.php:137 msgid "More Settings" msgstr "" -#: includes/apps/config/class-settings-config.php:137 +#: includes/apps/config/class-settings-config.php:144 #: includes/apps/setup-wizard/config/class-setup-wizard-config.php:116 msgid "There was an error saving your settings" msgstr "" -#: includes/apps/config/class-settings-config.php:139 +#: includes/apps/config/class-settings-config.php:146 msgid "Save Changes" msgstr "" -#: includes/apps/config/class-settings-config.php:140 +#: includes/apps/config/class-settings-config.php:147 msgid "Saved" msgstr "" -#: includes/apps/config/class-settings-config.php:141 +#: includes/apps/config/class-settings-config.php:148 msgid "Confirm Change" msgstr "" -#: includes/apps/config/class-settings-config.php:142 +#: includes/apps/config/class-settings-config.php:149 msgid "Please confirm that you'd like to switch the active email integration." msgstr "" #. translators: %1$s is the integration name -#: includes/apps/config/class-settings-config.php:144 +#: includes/apps/config/class-settings-config.php:151 msgid "%1$s set as primary integration" msgstr "" #. translators: %1$s is the integration name -#: includes/apps/config/class-settings-config.php:146 +#: includes/apps/config/class-settings-config.php:153 msgid "%1$s set as backup integration" msgstr "" -#: includes/apps/config/class-settings-config.php:147 +#: includes/apps/config/class-settings-config.php:154 msgid "Primary Integration Disabled" msgstr "" -#: includes/apps/config/class-settings-config.php:148 +#: includes/apps/config/class-settings-config.php:155 msgid "You have disabled your primary email integration. To continue sending emails via Gravity SMTP, please enable a backup integration or set and enable a new primary integration." msgstr "" -#: includes/apps/config/class-settings-config.php:152 +#: includes/apps/config/class-settings-config.php:159 msgid "Email Management" msgstr "" -#: includes/apps/config/class-settings-config.php:153 +#: includes/apps/config/class-settings-config.php:160 msgid "WordPress, by default, will send out emails for many events on your site. Using the toggles below, you can decide exactly which emails you'd like enabled." msgstr "" -#: includes/apps/config/class-settings-config.php:154 +#: includes/apps/config/class-settings-config.php:161 msgid "Manage Emails" msgstr "" -#: includes/apps/config/class-settings-config.php:158 -#: includes/apps/config/class-settings-config.php:160 +#: includes/apps/config/class-settings-config.php:165 +#: includes/apps/config/class-settings-config.php:167 msgid "Email Logging" msgstr "" -#: includes/apps/config/class-settings-config.php:159 +#: includes/apps/config/class-settings-config.php:166 msgid "Email logging keeps copies of all emails sent from your WordPress site, so you can review your sent emails and check their delivery status." msgstr "" -#: includes/apps/config/class-settings-config.php:161 +#: includes/apps/config/class-settings-config.php:168 msgid "Enable Log" msgstr "" -#: includes/apps/config/class-settings-config.php:162 +#: includes/apps/config/class-settings-config.php:169 msgid "Keep copies of all emails sent from your site." msgstr "" -#: includes/apps/config/class-settings-config.php:163 +#: includes/apps/config/class-settings-config.php:170 msgid "Save Email Body" msgstr "" -#: includes/apps/config/class-settings-config.php:164 +#: includes/apps/config/class-settings-config.php:171 msgid "Store the email body for all emails sent from your site." msgstr "" -#: includes/apps/config/class-settings-config.php:165 +#: includes/apps/config/class-settings-config.php:172 msgid "Save Attachments" msgstr "" -#: includes/apps/config/class-settings-config.php:166 +#: includes/apps/config/class-settings-config.php:173 msgid "Store attachments on the server in the uploads folder." msgstr "" -#: includes/apps/config/class-settings-config.php:167 +#: includes/apps/config/class-settings-config.php:174 msgid "Open Email Tracking" msgstr "" -#: includes/apps/config/class-settings-config.php:168 +#: includes/apps/config/class-settings-config.php:175 msgid "Track viewed emails by recipients." msgstr "" -#: includes/apps/config/class-settings-config.php:169 +#: includes/apps/config/class-settings-config.php:176 msgid "Log Retention Period" msgstr "" -#: includes/apps/config/class-settings-config.php:170 +#: includes/apps/config/class-settings-config.php:177 msgid "Email logs older than the selected timeframe will be permanently deleted." msgstr "" -#: includes/apps/config/class-settings-config.php:172 +#: includes/apps/config/class-settings-config.php:179 msgid "There was an error saving the settings" msgstr "" -#: includes/apps/config/class-settings-config.php:173 +#: includes/apps/config/class-settings-config.php:180 msgid "Debug Logging" msgstr "" -#: includes/apps/config/class-settings-config.php:174 +#: includes/apps/config/class-settings-config.php:181 msgid "Enable Debug Log" msgstr "" -#: includes/apps/config/class-settings-config.php:175 +#: includes/apps/config/class-settings-config.php:182 msgid "When enabled email sending errors debugging events will be logged, allowing you to detect email sending issues." msgstr "" -#: includes/apps/config/class-settings-config.php:176 +#: includes/apps/config/class-settings-config.php:183 msgid "Debug Log Retention Period" msgstr "" -#: includes/apps/config/class-settings-config.php:177 +#: includes/apps/config/class-settings-config.php:184 msgid "Debug events older than the selected period will be permanently deleted from the database." msgstr "" -#: includes/apps/config/class-settings-config.php:178 +#: includes/apps/config/class-settings-config.php:185 msgid "View Email Log" msgstr "" -#: includes/apps/config/class-settings-config.php:179 +#: includes/apps/config/class-settings-config.php:186 msgid "Delete Email Log" msgstr "" -#: includes/apps/config/class-settings-config.php:180 +#: includes/apps/config/class-settings-config.php:187 msgid "View Debug Log" msgstr "" -#: includes/apps/config/class-settings-config.php:181 +#: includes/apps/config/class-settings-config.php:188 msgid "Copy Debug Log Link" msgstr "" -#: includes/apps/config/class-settings-config.php:182 +#: includes/apps/config/class-settings-config.php:189 msgid "Delete Debug Log" msgstr "" -#: includes/apps/config/class-settings-config.php:184 +#: includes/apps/config/class-settings-config.php:191 msgid "This operation deletes ALL email logs. If you continue, you will NOT be able to retrieve these logs." msgstr "" -#: includes/apps/config/class-settings-config.php:185 +#: includes/apps/config/class-settings-config.php:192 msgid "This operation deletes ALL debug logs. If you continue, you will NOT be able to retrieve these logs." msgstr "" -#: includes/apps/config/class-settings-config.php:241 +#: includes/apps/config/class-settings-config.php:256 msgid "Every Day" msgstr "" -#: includes/apps/config/class-settings-config.php:245 +#: includes/apps/config/class-settings-config.php:260 msgid "Every Week" msgstr "" -#: includes/apps/config/class-settings-config.php:249 +#: includes/apps/config/class-settings-config.php:264 msgid "Every Month" msgstr "" -#: includes/apps/config/class-settings-config.php:253 +#: includes/apps/config/class-settings-config.php:268 msgid "Every Year" msgstr "" -#: includes/apps/config/class-settings-config.php:284 -msgid "Alerts" -msgstr "" - -#: includes/apps/config/class-settings-config.php:289 +#: includes/apps/config/class-settings-config.php:304 msgid "Emails" msgstr "" -#: includes/apps/config/class-settings-config.php:294 +#: includes/apps/config/class-settings-config.php:309 msgid "Logging" msgstr "" -#: includes/apps/config/class-settings-config.php:299 +#: includes/apps/config/class-settings-config.php:314 msgid "Routing" msgstr "" -#: includes/apps/config/class-settings-config.php:311 +#: includes/apps/config/class-settings-config.php:326 msgid "API Settings" msgstr "" -#: includes/apps/config/class-settings-config.php:324 +#: includes/apps/config/class-settings-config.php:340 msgid "Send A Test" msgstr "" -#: includes/apps/config/class-settings-config.php:334 +#: includes/apps/config/class-settings-config.php:350 msgid "Set As Primary" msgstr "" -#: includes/apps/config/class-settings-config.php:344 +#: includes/apps/config/class-settings-config.php:360 msgid "Set As Backup" msgstr "" -#: includes/apps/config/class-settings-config.php:447 +#: includes/apps/config/class-settings-config.php:463 msgid "Change of Admin Email" msgstr "" -#: includes/apps/config/class-settings-config.php:450 +#: includes/apps/config/class-settings-config.php:466 #: includes/email-management/class-managed-email-types.php:36 msgid "Site Admin Email Change Attempt" msgstr "" -#: includes/apps/config/class-settings-config.php:455 +#: includes/apps/config/class-settings-config.php:471 #: includes/email-management/class-managed-email-types.php:48 msgid "Site Admin Email Changed" msgstr "" -#: includes/apps/config/class-settings-config.php:462 +#: includes/apps/config/class-settings-config.php:478 msgid "Change of User Email or Password" msgstr "" -#: includes/apps/config/class-settings-config.php:465 +#: includes/apps/config/class-settings-config.php:481 msgid "Reset Password Request" msgstr "" -#: includes/apps/config/class-settings-config.php:470 +#: includes/apps/config/class-settings-config.php:486 msgid "Password Reset Successfully" msgstr "" -#: includes/apps/config/class-settings-config.php:475 +#: includes/apps/config/class-settings-config.php:491 msgid "Password Changed" msgstr "" -#: includes/apps/config/class-settings-config.php:480 +#: includes/apps/config/class-settings-config.php:496 msgid "Email Change Attempt" msgstr "" -#: includes/apps/config/class-settings-config.php:485 +#: includes/apps/config/class-settings-config.php:501 msgid "Email Changed" msgstr "" -#: includes/apps/config/class-settings-config.php:492 +#: includes/apps/config/class-settings-config.php:508 msgid "Personal Data Requests" msgstr "" -#: includes/apps/config/class-settings-config.php:495 +#: includes/apps/config/class-settings-config.php:511 msgid "User Confirmed Export / Erasure Request" msgstr "" -#: includes/apps/config/class-settings-config.php:500 +#: includes/apps/config/class-settings-config.php:516 msgid "Admin Erased Data" msgstr "" -#: includes/apps/config/class-settings-config.php:505 +#: includes/apps/config/class-settings-config.php:521 msgid "Admin Sent Link to Export Data" msgstr "" -#: includes/apps/config/class-settings-config.php:512 +#: includes/apps/config/class-settings-config.php:528 #: includes/email-management/class-managed-email-types.php:173 #: includes/email-management/class-managed-email-types.php:183 #: includes/email-management/class-managed-email-types.php:193 @@ -1142,23 +1403,23 @@ msgstr "" msgid "Automatic Updates" msgstr "" -#: includes/apps/config/class-settings-config.php:515 +#: includes/apps/config/class-settings-config.php:531 msgid "Plugin Status" msgstr "" -#: includes/apps/config/class-settings-config.php:520 +#: includes/apps/config/class-settings-config.php:536 msgid "Theme Status" msgstr "" -#: includes/apps/config/class-settings-config.php:525 +#: includes/apps/config/class-settings-config.php:541 msgid "WP Core Status" msgstr "" -#: includes/apps/config/class-settings-config.php:530 +#: includes/apps/config/class-settings-config.php:546 msgid "Full Log" msgstr "" -#: includes/apps/config/class-settings-config.php:537 +#: includes/apps/config/class-settings-config.php:553 #: includes/email-management/class-managed-email-types.php:221 #: includes/email-management/class-managed-email-types.php:231 #: includes/email-management/class-managed-email-types.php:241 @@ -1167,67 +1428,67 @@ msgstr "" msgid "New User" msgstr "" -#: includes/apps/config/class-settings-config.php:540 +#: includes/apps/config/class-settings-config.php:556 msgid "Created (Admin)" msgstr "" -#: includes/apps/config/class-settings-config.php:545 +#: includes/apps/config/class-settings-config.php:561 msgid "Created (User)" msgstr "" -#: includes/apps/config/class-settings-config.php:552 +#: includes/apps/config/class-settings-config.php:568 #: includes/email-management/class-managed-email-types.php:277 #: includes/email-management/class-managed-email-types.php:286 msgid "Comments" msgstr "" -#: includes/apps/config/class-settings-config.php:555 +#: includes/apps/config/class-settings-config.php:571 msgid "Awaiting Moderation" msgstr "" -#: includes/apps/config/class-settings-config.php:560 +#: includes/apps/config/class-settings-config.php:576 msgid "Published" msgstr "" -#: includes/apps/config/class-settings-config.php:567 +#: includes/apps/config/class-settings-config.php:583 msgid "WooCommerce" msgstr "" -#: includes/apps/config/class-settings-config.php:570 +#: includes/apps/config/class-settings-config.php:586 msgid "Purchase Receipt" msgstr "" -#: includes/apps/config/class-settings-config.php:575 +#: includes/apps/config/class-settings-config.php:591 msgid "Password Change" msgstr "" -#: includes/apps/config/class-settings-config.php:592 +#: includes/apps/config/class-settings-config.php:608 msgid "1 Day" msgstr "" -#: includes/apps/config/class-settings-config.php:596 -#: includes/apps/config/class-settings-config.php:627 +#: includes/apps/config/class-settings-config.php:612 +#: includes/apps/config/class-settings-config.php:643 msgid "1 Week" msgstr "" -#: includes/apps/config/class-settings-config.php:600 -#: includes/apps/config/class-settings-config.php:631 +#: includes/apps/config/class-settings-config.php:616 +#: includes/apps/config/class-settings-config.php:647 msgid "1 Month" msgstr "" -#: includes/apps/config/class-settings-config.php:604 +#: includes/apps/config/class-settings-config.php:620 msgid "3 Months" msgstr "" -#: includes/apps/config/class-settings-config.php:608 +#: includes/apps/config/class-settings-config.php:624 msgid "6 Months" msgstr "" -#: includes/apps/config/class-settings-config.php:612 +#: includes/apps/config/class-settings-config.php:628 msgid "1 Year" msgstr "" -#: includes/apps/config/class-settings-config.php:616 +#: includes/apps/config/class-settings-config.php:632 msgid "Never Delete" msgstr "" @@ -1442,7 +1703,7 @@ msgstr "" #: includes/apps/config/class-tools-config.php:461 #: includes/apps/config/class-tools-config.php:656 -#: includes/apps/config/class-tools-config.php:854 +#: includes/apps/config/class-tools-config.php:855 msgid "Version" msgstr "" @@ -1475,8 +1736,8 @@ msgstr "" #: includes/apps/config/class-tools-config.php:556 #: includes/apps/config/class-tools-config.php:713 #: includes/apps/config/class-tools-config.php:719 -#: includes/models/class-event-model.php:404 -#: includes/models/class-event-model.php:410 +#: includes/models/class-event-model.php:411 +#: includes/models/class-event-model.php:417 msgid "Yes" msgstr "" @@ -1491,10 +1752,10 @@ msgstr "" #: includes/apps/config/class-tools-config.php:707 #: includes/apps/config/class-tools-config.php:713 #: includes/apps/config/class-tools-config.php:719 -#: includes/models/class-event-model.php:402 -#: includes/models/class-event-model.php:404 -#: includes/models/class-event-model.php:408 -#: includes/models/class-event-model.php:410 +#: includes/models/class-event-model.php:409 +#: includes/models/class-event-model.php:411 +#: includes/models/class-event-model.php:415 +#: includes/models/class-event-model.php:417 #: includes/models/class-log-details-model.php:191 #: includes/models/class-log-details-model.php:197 msgid "No" @@ -1631,69 +1892,53 @@ msgstr "" msgid "Backup Integration" msgstr "" -#: includes/apps/config/class-tools-config.php:849 +#: includes/apps/config/class-tools-config.php:850 msgid "Database Management System" msgstr "" -#: includes/apps/config/class-tools-config.php:859 +#: includes/apps/config/class-tools-config.php:860 msgid "Database Character Set" msgstr "" -#: includes/apps/config/class-tools-config.php:864 +#: includes/apps/config/class-tools-config.php:865 msgid "Database Collation" msgstr "" #. translators: 1: date, 2: time #. translators: 1: date, 2: time -#: includes/apps/config/class-tools-config.php:886 -#: includes/apps/config/class-tools-config.php:895 +#: includes/apps/config/class-tools-config.php:887 +#: includes/apps/config/class-tools-config.php:896 msgid "%1$s at %2$s" msgstr "" -#: includes/apps/config/class-tools-config.php:902 +#: includes/apps/config/class-tools-config.php:903 msgid "WordPress (Local) Timezone" msgstr "" -#: includes/apps/config/class-tools-config.php:907 +#: includes/apps/config/class-tools-config.php:908 msgid "MySQL - Universal time (UTC)" msgstr "" -#: includes/apps/config/class-tools-config.php:912 +#: includes/apps/config/class-tools-config.php:913 msgid "MySQL - Local time" msgstr "" -#: includes/apps/config/class-tools-config.php:917 +#: includes/apps/config/class-tools-config.php:918 msgid "PHP - Universal time (UTC)" msgstr "" -#: includes/apps/config/class-tools-config.php:922 +#: includes/apps/config/class-tools-config.php:923 msgid "PHP - Local time" msgstr "" -#: includes/apps/config/class-tools-config.php:958 +#: includes/apps/config/class-tools-config.php:959 msgid "ID" msgstr "" -#: includes/apps/config/class-tools-config.php:982 +#: includes/apps/config/class-tools-config.php:983 msgid "Date & Time" msgstr "" -#: includes/apps/endpoints/class-get-dashboard-data-endpoint.php:32 -#: includes/apps/setup-wizard/endpoints/class-license-check-endpoint.php:22 -#: includes/connectors/endpoints/class-cleanup-data-endpoint.php:40 -#: includes/connectors/endpoints/class-get-connector-emails-endpoint.php:34 -#: includes/connectors/endpoints/class-get-single-email-data-endpoint.php:46 -#: includes/connectors/endpoints/class-save-connector-settings-endpoint.php:57 -#: includes/connectors/endpoints/class-send-test-endpoint.php:161 -#: includes/handler/endpoints/class-resend-email-endpoint.php:47 -#: includes/logging/endpoints/class-delete-debug-logs-endpoint.php:36 -#: includes/logging/endpoints/class-delete-email-endpoint.php:29 -#: includes/logging/endpoints/class-delete-events-endpoint.php:36 -#: includes/logging/endpoints/class-get-email-message-endpoint.php:29 -#: includes/logging/endpoints/class-log-item-endpoint.php:31 -msgid "Missing required parameters." -msgstr "" - #: includes/apps/endpoints/class-get-dashboard-data-endpoint.php:40 msgid "Send either a date range value or start/end dates; do not send both." msgstr "" @@ -1877,31 +2122,31 @@ msgstr "" msgid "Invalid license key." msgstr "" -#: includes/connectors/class-connector-base.php:406 +#: includes/connectors/class-connector-base.php:425 msgid "Default From Email" msgstr "" -#: includes/connectors/class-connector-base.php:421 +#: includes/connectors/class-connector-base.php:440 msgid "Force From Email" msgstr "" -#: includes/connectors/class-connector-base.php:424 +#: includes/connectors/class-connector-base.php:443 msgid "If Force Email is enabled, the Default From Email address will override other plugin settings for all outgoing emails." msgstr "" -#: includes/connectors/class-connector-base.php:441 +#: includes/connectors/class-connector-base.php:460 msgid "Default From Name" msgstr "" -#: includes/connectors/class-connector-base.php:456 +#: includes/connectors/class-connector-base.php:475 msgid "Force From Name" msgstr "" -#: includes/connectors/class-connector-base.php:459 +#: includes/connectors/class-connector-base.php:478 msgid "If Force Name is enabled, the Default From Name will override other plugin settings for all outgoing emails." msgstr "" -#: includes/connectors/class-connector-service-provider.php:488 +#: includes/connectors/class-connector-service-provider.php:552 msgid "No Primary or Backup connections enabled. Using wp_mail() to send message." msgstr "" @@ -1932,7 +2177,7 @@ msgstr "" msgid "Error saving settings for %1$s: %2$s" msgstr "" -#: includes/connectors/endpoints/class-save-plugin-settings-endpoint.php:58 +#: includes/connectors/endpoints/class-save-plugin-settings-endpoint.php:61 msgid "Request must contain either an array of values to update, or a key and value to update individually." msgstr "" @@ -1963,19 +2208,15 @@ msgstr "" msgid "Test Email from Gravity SMTP" msgstr "" -#: includes/connectors/endpoints/class-send-test-endpoint.php:206 -msgid "There was a problem sending the test email." -msgstr "" - -#: includes/connectors/endpoints/class-send-test-endpoint.php:211 +#: includes/connectors/endpoints/class-send-test-endpoint.php:210 msgid "Incorrect plugin settings, such as invalid SMTP credentials or expired API key." msgstr "" -#: includes/connectors/endpoints/class-send-test-endpoint.php:212 +#: includes/connectors/endpoints/class-send-test-endpoint.php:211 msgid "The SMTP server blocking the incoming connection." msgstr "" -#: includes/connectors/endpoints/class-send-test-endpoint.php:213 +#: includes/connectors/endpoints/class-send-test-endpoint.php:212 msgid "Your web host rejecting the connection." msgstr "" @@ -1991,7 +2232,11 @@ msgstr "" msgid "Consider using one of the other available integration types." msgstr "" -#: includes/connectors/endpoints/class-send-test-endpoint.php:224 +#: includes/connectors/endpoints/class-send-test-endpoint.php:223 +msgid "There was a problem sending the test email." +msgstr "" + +#: includes/connectors/endpoints/class-send-test-endpoint.php:233 msgid "Send a test error: %1$s" msgstr "" @@ -2001,6 +2246,9 @@ msgstr "" #: includes/connectors/oauth/class-microsoft-oauth-handler.php:69 #: includes/connectors/oauth/class-microsoft-oauth-handler.php:85 #: includes/connectors/oauth/class-microsoft-oauth-handler.php:91 +#: includes/connectors/oauth/class-zoho-oauth-handler.php:93 +#: includes/connectors/oauth/class-zoho-oauth-handler.php:111 +#: includes/connectors/oauth/class-zoho-oauth-handler.php:117 msgid "Token is invalid or expired." msgstr "" @@ -2013,190 +2261,194 @@ msgstr "" msgid "Amazon SES offers a reliable and cost-effective service for sending and receiving emails using your own domain. It leverages Amazon’s robust infrastructure, making it a powerful option for managing your email communication." msgstr "" -#: includes/connectors/types/class-connector-amazon.php:86 +#: includes/connectors/types/class-connector-amazon.php:91 msgid "Starting email send for Amazon SES connector." msgstr "" -#: includes/connectors/types/class-connector-amazon.php:157 -#: includes/connectors/types/class-connector-brevo.php:47 -#: includes/connectors/types/class-connector-google.php:148 -#: includes/connectors/types/class-connector-mailchimp.php:61 -#: includes/connectors/types/class-connector-mailgun.php:57 -#: includes/connectors/types/class-connector-microsoft.php:138 -#: includes/connectors/types/class-connector-postmark.php:42 -#: includes/connectors/types/class-connector-sendgrid.php:35 +#: includes/connectors/types/class-connector-amazon.php:162 +#: includes/connectors/types/class-connector-brevo.php:51 +#: includes/connectors/types/class-connector-google.php:154 +#: includes/connectors/types/class-connector-mailchimp.php:64 +#: includes/connectors/types/class-connector-mailgun.php:60 +#: includes/connectors/types/class-connector-microsoft.php:144 +#: includes/connectors/types/class-connector-postmark.php:46 +#: includes/connectors/types/class-connector-sendgrid.php:39 +#: includes/connectors/types/class-connector-zoho.php:67 #: includes/logging/log/class-wp-mail-logger.php:76 msgid "Email sandboxed." msgstr "" -#: includes/connectors/types/class-connector-amazon.php:195 -#: includes/connectors/types/class-connector-brevo.php:62 -#: includes/connectors/types/class-connector-google.php:194 -#: includes/connectors/types/class-connector-mailchimp.php:84 -#: includes/connectors/types/class-connector-mailgun.php:83 -#: includes/connectors/types/class-connector-microsoft.php:170 -#: includes/connectors/types/class-connector-postmark.php:59 -#: includes/connectors/types/class-connector-sendgrid.php:52 +#: includes/connectors/types/class-connector-amazon.php:200 +#: includes/connectors/types/class-connector-brevo.php:66 +#: includes/connectors/types/class-connector-google.php:204 +#: includes/connectors/types/class-connector-mailchimp.php:87 +#: includes/connectors/types/class-connector-mailgun.php:86 +#: includes/connectors/types/class-connector-microsoft.php:176 +#: includes/connectors/types/class-connector-postmark.php:63 +#: includes/connectors/types/class-connector-sendgrid.php:56 +#: includes/connectors/types/class-connector-zoho.php:89 #: includes/logging/log/class-wp-mail-logger.php:79 msgid "Email successfully sent." msgstr "" -#: includes/connectors/types/class-connector-amazon.php:266 +#: includes/connectors/types/class-connector-amazon.php:272 msgid "Amazon SES Settings" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:273 -#: includes/connectors/types/class-connector-brevo.php:260 -#: includes/connectors/types/class-connector-generic.php:261 -#: includes/connectors/types/class-connector-google.php:348 -#: includes/connectors/types/class-connector-google.php:524 -#: includes/connectors/types/class-connector-mailchimp.php:272 -#: includes/connectors/types/class-connector-mailgun.php:335 -#: includes/connectors/types/class-connector-microsoft.php:319 -#: includes/connectors/types/class-connector-microsoft.php:531 -#: includes/connectors/types/class-connector-postmark.php:218 -#: includes/connectors/types/class-connector-sendgrid.php:217 +#: includes/connectors/types/class-connector-amazon.php:279 +#: includes/connectors/types/class-connector-brevo.php:264 +#: includes/connectors/types/class-connector-generic.php:265 +#: includes/connectors/types/class-connector-google.php:394 +#: includes/connectors/types/class-connector-google.php:570 +#: includes/connectors/types/class-connector-mailchimp.php:288 +#: includes/connectors/types/class-connector-mailgun.php:338 +#: includes/connectors/types/class-connector-microsoft.php:325 +#: includes/connectors/types/class-connector-microsoft.php:537 +#: includes/connectors/types/class-connector-postmark.php:222 +#: includes/connectors/types/class-connector-sendgrid.php:221 +#: includes/connectors/types/class-connector-zoho.php:361 +#: includes/connectors/types/class-connector-zoho.php:562 msgid "Configuration" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:297 +#: includes/connectors/types/class-connector-amazon.php:303 msgid "Log in to your {{link}}AWS Console{{link}}, go to the IAM dashboard, and create a new access key for an IAM user with AmazonSESFullAccess and AmazonSNSFullAccess permissions." msgstr "" -#: includes/connectors/types/class-connector-amazon.php:302 +#: includes/connectors/types/class-connector-amazon.php:308 msgid "Access Key ID" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:316 +#: includes/connectors/types/class-connector-amazon.php:322 msgid "Secret Access Key" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:330 -#: includes/connectors/types/class-connector-mailgun.php:406 +#: includes/connectors/types/class-connector-amazon.php:336 +#: includes/connectors/types/class-connector-mailgun.php:409 msgid "Region" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:360 +#: includes/connectors/types/class-connector-amazon.php:366 msgid "US East (N. Virginia)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:361 +#: includes/connectors/types/class-connector-amazon.php:367 msgid "US East (Ohio)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:362 +#: includes/connectors/types/class-connector-amazon.php:368 msgid "US West (N. California)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:363 +#: includes/connectors/types/class-connector-amazon.php:369 msgid "US West (Oregon)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:364 +#: includes/connectors/types/class-connector-amazon.php:370 msgid "Africa (Cape Town)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:365 +#: includes/connectors/types/class-connector-amazon.php:371 msgid "Asia Pacific (Hong Kong)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:366 +#: includes/connectors/types/class-connector-amazon.php:372 msgid "Asia Pacific (Jakarta)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:367 +#: includes/connectors/types/class-connector-amazon.php:373 msgid "Asia Pacific (Mumbai)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:368 +#: includes/connectors/types/class-connector-amazon.php:374 msgid "Asia Pacific (Osaka)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:369 +#: includes/connectors/types/class-connector-amazon.php:375 msgid "Asia Pacific (Seoul)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:370 +#: includes/connectors/types/class-connector-amazon.php:376 msgid "Asia Pacific (Singapore)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:371 +#: includes/connectors/types/class-connector-amazon.php:377 msgid "Asia Pacific (Sydney)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:372 +#: includes/connectors/types/class-connector-amazon.php:378 msgid "Asia Pacific (Tokyo)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:373 +#: includes/connectors/types/class-connector-amazon.php:379 msgid "Canada (Central)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:374 +#: includes/connectors/types/class-connector-amazon.php:380 msgid "Europe (Frankfurt)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:375 +#: includes/connectors/types/class-connector-amazon.php:381 msgid "Europe (Ireland)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:376 +#: includes/connectors/types/class-connector-amazon.php:382 msgid "Europe (London)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:377 +#: includes/connectors/types/class-connector-amazon.php:383 msgid "Europe (Milan)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:378 +#: includes/connectors/types/class-connector-amazon.php:384 msgid "Europe (Paris)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:379 +#: includes/connectors/types/class-connector-amazon.php:385 msgid "Europe (Stockholm)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:380 +#: includes/connectors/types/class-connector-amazon.php:386 msgid "Middle East (Bahrain)" msgstr "" -#: includes/connectors/types/class-connector-amazon.php:381 +#: includes/connectors/types/class-connector-amazon.php:387 msgid "South America (São Paulo)" msgstr "" -#: includes/connectors/types/class-connector-brevo.php:24 +#: includes/connectors/types/class-connector-brevo.php:28 msgid "Confidently send transactional emails with Brevo, formerly Sendinblue. With an impressive free plan, Brevo allows you to send up to 300 transactional emails a day! And for those who need to send more, simply pay for what you send. For more information on how to get started with Brevo, read our documentation." msgstr "" -#: includes/connectors/types/class-connector-brevo.php:43 +#: includes/connectors/types/class-connector-brevo.php:47 msgid "Starting email send for Brevo connector." msgstr "" -#: includes/connectors/types/class-connector-brevo.php:253 +#: includes/connectors/types/class-connector-brevo.php:257 msgid "Brevo Settings" msgstr "" -#: includes/connectors/types/class-connector-brevo.php:272 -#: includes/connectors/types/class-connector-mailchimp.php:284 +#: includes/connectors/types/class-connector-brevo.php:276 +#: includes/connectors/types/class-connector-mailchimp.php:300 msgid "API Key" msgstr "" #. translators: 1: opening anchor tag, 2: closing anchor tag -#: includes/connectors/types/class-connector-brevo.php:279 +#: includes/connectors/types/class-connector-brevo.php:283 msgid "To generate an API key from Brevo, log in to your Brevo dashboard and navigate to the API section. %1$sCreate a new API key%2$s and ensure your %3$sAuthorized IPs settings%2$s are configured correctly." msgstr "" -#: includes/connectors/types/class-connector-brevo.php:339 -#: includes/connectors/types/class-connector-mailgun.php:521 -#: includes/connectors/types/class-connector-postmark.php:300 -#: includes/connectors/types/class-connector-sendgrid.php:299 +#: includes/connectors/types/class-connector-brevo.php:343 +#: includes/connectors/types/class-connector-mailgun.php:524 +#: includes/connectors/types/class-connector-postmark.php:304 +#: includes/connectors/types/class-connector-sendgrid.php:303 msgid "No API Key provided." msgstr "" -#: includes/connectors/types/class-connector-brevo.php:350 -#: includes/connectors/types/class-connector-mailgun.php:539 -#: includes/connectors/types/class-connector-postmark.php:311 -#: includes/connectors/types/class-connector-sendgrid.php:312 +#: includes/connectors/types/class-connector-brevo.php:354 +#: includes/connectors/types/class-connector-mailgun.php:542 +#: includes/connectors/types/class-connector-postmark.php:315 +#: includes/connectors/types/class-connector-sendgrid.php:316 msgid "Invalid API Key provided." msgstr "" @@ -2204,97 +2456,97 @@ msgstr "" msgid "Use our Custom SMTP feature to easily connect to any SMTP server. If you don't want to use one of Gravity SMTP's built-in integrations, with Custom SMTP you can sync with a huge array of services that can reliably send your site's emails. For more information on how to get started with Custom SMTP, read our documentation." msgstr "" -#: includes/connectors/types/class-connector-generic.php:254 +#: includes/connectors/types/class-connector-generic.php:258 msgid "Custom SMTP Settings" msgstr "" -#: includes/connectors/types/class-connector-generic.php:287 +#: includes/connectors/types/class-connector-generic.php:291 msgid "The URL (such as smtp.mailprovider.com) or IP address of your SMTP host." msgstr "" -#: includes/connectors/types/class-connector-generic.php:291 +#: includes/connectors/types/class-connector-generic.php:295 msgid "SMTP Hostname" msgstr "" -#: includes/connectors/types/class-connector-generic.php:303 +#: includes/connectors/types/class-connector-generic.php:307 msgid "Port 465 is usually used with SSL. Ports 25 and 587 are usually used with TLS." msgstr "" -#: includes/connectors/types/class-connector-generic.php:307 +#: includes/connectors/types/class-connector-generic.php:311 msgid "SMTP Port" msgstr "" -#: includes/connectors/types/class-connector-generic.php:330 -#: includes/connectors/types/class-connector-google.php:537 -#: includes/connectors/types/class-connector-mailchimp.php:318 -#: includes/connectors/types/class-connector-mailgun.php:379 -#: includes/connectors/types/class-connector-microsoft.php:544 -#: includes/connectors/types/class-connector-phpmail.php:115 +#: includes/connectors/types/class-connector-generic.php:334 +#: includes/connectors/types/class-connector-google.php:583 +#: includes/connectors/types/class-connector-mailchimp.php:334 +#: includes/connectors/types/class-connector-mailgun.php:382 +#: includes/connectors/types/class-connector-microsoft.php:550 +#: includes/connectors/types/class-connector-phpmail.php:131 msgid "If Return Path is enabled this adds the return path to the email header which indicates where non-deliverable notifications should be sent. Bounce messages may be lost if not enabled." msgstr "" -#: includes/connectors/types/class-connector-generic.php:338 -#: includes/connectors/types/class-connector-google.php:545 -#: includes/connectors/types/class-connector-mailchimp.php:326 -#: includes/connectors/types/class-connector-mailgun.php:387 -#: includes/connectors/types/class-connector-microsoft.php:552 -#: includes/connectors/types/class-connector-phpmail.php:123 +#: includes/connectors/types/class-connector-generic.php:342 +#: includes/connectors/types/class-connector-google.php:591 +#: includes/connectors/types/class-connector-mailchimp.php:342 +#: includes/connectors/types/class-connector-mailgun.php:390 +#: includes/connectors/types/class-connector-microsoft.php:558 +#: includes/connectors/types/class-connector-phpmail.php:139 msgid "Return Path" msgstr "" -#: includes/connectors/types/class-connector-generic.php:351 +#: includes/connectors/types/class-connector-generic.php:355 msgid "SMTP servers usually use TLS if available. However, on some servers, you may need to disable it to prevent issues." msgstr "" -#: includes/connectors/types/class-connector-generic.php:359 +#: includes/connectors/types/class-connector-generic.php:363 msgid "Auto TLS" msgstr "" -#: includes/connectors/types/class-connector-generic.php:378 +#: includes/connectors/types/class-connector-generic.php:382 msgid "Encryption" msgstr "" -#: includes/connectors/types/class-connector-generic.php:405 +#: includes/connectors/types/class-connector-generic.php:409 msgid "TLS" msgstr "" -#: includes/connectors/types/class-connector-generic.php:417 +#: includes/connectors/types/class-connector-generic.php:421 msgid "SSL" msgstr "" -#: includes/connectors/types/class-connector-generic.php:429 +#: includes/connectors/types/class-connector-generic.php:433 msgid "None" msgstr "" -#: includes/connectors/types/class-connector-generic.php:442 +#: includes/connectors/types/class-connector-generic.php:446 msgid "In most cases, TLS is the preferred encryption method." msgstr "" -#: includes/connectors/types/class-connector-generic.php:451 +#: includes/connectors/types/class-connector-generic.php:455 msgid "Enable authentication if your SMTP server requires a username and password. This option should be enabled in most cases." msgstr "" -#: includes/connectors/types/class-connector-generic.php:459 +#: includes/connectors/types/class-connector-generic.php:463 msgid "Authentication" msgstr "" -#: includes/connectors/types/class-connector-generic.php:472 +#: includes/connectors/types/class-connector-generic.php:476 msgid "The username for logging into your mail server." msgstr "" -#: includes/connectors/types/class-connector-generic.php:477 +#: includes/connectors/types/class-connector-generic.php:481 msgid "Authentication Username" msgstr "" -#: includes/connectors/types/class-connector-generic.php:489 +#: includes/connectors/types/class-connector-generic.php:493 msgid "The password for accessing your mail server. It will be stored securely in the database." msgstr "" -#: includes/connectors/types/class-connector-generic.php:500 +#: includes/connectors/types/class-connector-generic.php:504 msgid "Authentication Password" msgstr "" -#: includes/connectors/types/class-connector-generic.php:526 +#: includes/connectors/types/class-connector-generic.php:530 msgid "PHPMailer is not configured on this system." msgstr "" @@ -2302,72 +2554,80 @@ msgstr "" msgid "Integrate your website with Gmail or a Google Workspace account, helping to improve email deliverability and prevent your carefully crafted content from ending up in spam folders. Be sure to check the email sending limits for Gmail and Google Workspace. For more information on how to get started with Gmail / Google Workspace, read our documentation." msgstr "" -#: includes/connectors/types/class-connector-google.php:73 +#: includes/connectors/types/class-connector-google.php:79 msgid "Starting email send for Google connector." msgstr "" -#: includes/connectors/types/class-connector-google.php:276 +#: includes/connectors/types/class-connector-google.php:286 msgid "Google / Gmail Settings" msgstr "" -#: includes/connectors/types/class-connector-google.php:294 +#: includes/connectors/types/class-connector-google.php:305 msgid "Before proceeding, make sure to save your settings with the Client ID and Client Secret." msgstr "" -#: includes/connectors/types/class-connector-google.php:304 +#: includes/connectors/types/class-connector-google.php:315 msgid "Read our Google / Gmail documentation" msgstr "" -#: includes/connectors/types/class-connector-google.php:334 +#: includes/connectors/types/class-connector-google.php:356 +msgid "Important: To use alias email addresses with Gravity SMTP, ensure your primary Google account is authenticated, then add and verify your alias in your Google account settings. For detailed instructions, please refer to our {{link}}documentation article{{link}}." +msgstr "" + +#: includes/connectors/types/class-connector-google.php:380 msgid "Error Connecting to Google. Check your credentials and try again." msgstr "" -#: includes/connectors/types/class-connector-google.php:374 +#: includes/connectors/types/class-connector-google.php:420 msgid "To obtain a Client ID from Google / Gmail, log in to your {{link}}Google Cloud Console{{link}} and generate the Client ID." msgstr "" -#: includes/connectors/types/class-connector-google.php:379 +#: includes/connectors/types/class-connector-google.php:425 +#: includes/connectors/types/class-connector-zoho.php:413 msgid "Client ID" msgstr "" -#: includes/connectors/types/class-connector-google.php:406 +#: includes/connectors/types/class-connector-google.php:452 msgid "To obtain a Client Secret from Google / Gmail, log in to your {{link}}Google Cloud Console{{link}} and generate the Client ID." msgstr "" -#: includes/connectors/types/class-connector-google.php:411 -#: includes/connectors/types/class-connector-microsoft.php:382 +#: includes/connectors/types/class-connector-google.php:457 +#: includes/connectors/types/class-connector-microsoft.php:388 +#: includes/connectors/types/class-connector-zoho.php:445 msgid "Client Secret" msgstr "" -#: includes/connectors/types/class-connector-google.php:432 -#: includes/connectors/types/class-connector-microsoft.php:403 -#: includes/connectors/types/class-connector-microsoft.php:435 +#: includes/connectors/types/class-connector-google.php:478 +#: includes/connectors/types/class-connector-microsoft.php:409 +#: includes/connectors/types/class-connector-microsoft.php:441 +#: includes/connectors/types/class-connector-zoho.php:466 msgid "Copy" msgstr "" -#: includes/connectors/types/class-connector-google.php:435 +#: includes/connectors/types/class-connector-google.php:481 msgid "Authorized redirect URI" msgstr "" -#: includes/connectors/types/class-connector-google.php:447 +#: includes/connectors/types/class-connector-google.php:493 msgid "Copy this URL into the \"Authorized redirect URIs\" field of your Google web application." msgstr "" -#: includes/connectors/types/class-connector-google.php:457 -#: includes/connectors/types/class-connector-microsoft.php:460 +#: includes/connectors/types/class-connector-google.php:503 +#: includes/connectors/types/class-connector-microsoft.php:466 +#: includes/connectors/types/class-connector-zoho.php:491 msgid "Authorization" msgstr "" -#: includes/connectors/types/class-connector-google.php:471 +#: includes/connectors/types/class-connector-google.php:517 msgid "Sign in with Google" msgstr "" -#: includes/connectors/types/class-connector-google.php:500 -#: includes/connectors/types/class-connector-microsoft.php:507 +#: includes/connectors/types/class-connector-google.php:546 +#: includes/connectors/types/class-connector-microsoft.php:513 msgid "Connected with email account:" msgstr "" -#: includes/connectors/types/class-connector-google.php:515 +#: includes/connectors/types/class-connector-google.php:561 msgid "Disconnect from Google" msgstr "" @@ -2375,71 +2635,72 @@ msgstr "" msgid "Reach inboxes when it matters most. Send email notifications to your contacts with MailChimp Transactional Email." msgstr "" -#: includes/connectors/types/class-connector-mailchimp.php:53 +#: includes/connectors/types/class-connector-mailchimp.php:56 +#: includes/connectors/types/class-connector-zoho.php:61 msgid "Starting email send for Mailchimp connector." msgstr "" -#: includes/connectors/types/class-connector-mailchimp.php:265 +#: includes/connectors/types/class-connector-mailchimp.php:281 msgid "Mailchimp Settings" msgstr "" #. translators: 1: opening anchor tag, 2: closing anchor tag -#: includes/connectors/types/class-connector-mailchimp.php:291 +#: includes/connectors/types/class-connector-mailchimp.php:307 msgid "To generate an API key from Mailchimp, navigate to the %ssettings of your Mailchimp Transactional account%s and look for the API Keys section." msgstr "" -#: includes/connectors/types/class-connector-mailchimp.php:367 +#: includes/connectors/types/class-connector-mailchimp.php:383 msgid "Could not authenticate with Mailchimp." msgstr "" -#: includes/connectors/types/class-connector-mailchimp.php:387 +#: includes/connectors/types/class-connector-mailchimp.php:403 msgid "No authenticated Domains found in your account. Sending will not be possible until you add a verified domain to your Mailchimp Account." msgstr "" -#: includes/connectors/types/class-connector-mailgun.php:34 +#: includes/connectors/types/class-connector-mailgun.php:33 msgid "Mailgun is a transactional email service that provides industry-leading reliability, compliance, and speed. Offering a 30-day trial, Mailgun’s premium service starts at $35 a month, which allows you to send up to 50,000 emails. For more information on how to get started with Mailgun, read our documentation." msgstr "" -#: includes/connectors/types/class-connector-mailgun.php:53 +#: includes/connectors/types/class-connector-mailgun.php:56 msgid "Starting email send for Mailgun connector." msgstr "" -#: includes/connectors/types/class-connector-mailgun.php:328 +#: includes/connectors/types/class-connector-mailgun.php:331 msgid "Mailgun Settings" msgstr "" -#: includes/connectors/types/class-connector-mailgun.php:347 +#: includes/connectors/types/class-connector-mailgun.php:350 msgid "Mailgun API Key" msgstr "" #. translators: 1: opening anchor tag, 2: closing anchor tag -#: includes/connectors/types/class-connector-mailgun.php:354 +#: includes/connectors/types/class-connector-mailgun.php:357 msgid "To obtain a %1$sMailgun API Key%2$s, please navigate to the 'Mailgun API Keys' and generate a key." msgstr "" -#: includes/connectors/types/class-connector-mailgun.php:433 +#: includes/connectors/types/class-connector-mailgun.php:436 msgid "US" msgstr "" -#: includes/connectors/types/class-connector-mailgun.php:445 +#: includes/connectors/types/class-connector-mailgun.php:448 msgid "EU" msgstr "" #. translators: 1: opening anchor tag, 2: closing anchor tag -#: includes/connectors/types/class-connector-mailgun.php:458 +#: includes/connectors/types/class-connector-mailgun.php:461 msgid "Choose your message sending endpoint. If subject to EU regulations, consider the EU region. For more information, visit %1$sMailgun.com%2$s." msgstr "" -#: includes/connectors/types/class-connector-mailgun.php:472 +#: includes/connectors/types/class-connector-mailgun.php:475 msgid "Sending Domain" msgstr "" #. translators: 1: opening anchor tag, 2: closing anchor tag -#: includes/connectors/types/class-connector-mailgun.php:479 +#: includes/connectors/types/class-connector-mailgun.php:482 msgid "Verify your Mailgun domain name. %1$sView domains%2$s." msgstr "" -#: includes/connectors/types/class-connector-mailgun.php:563 +#: includes/connectors/types/class-connector-mailgun.php:566 msgid "Invalid sending domain provided." msgstr "" @@ -2447,59 +2708,59 @@ msgstr "" msgid "Deliver emails with confidence using Microsoft 365 / Outlook. Connect to Microsoft’s API to securely authenticate and send any emails or form notifications from your website." msgstr "" -#: includes/connectors/types/class-connector-microsoft.php:63 +#: includes/connectors/types/class-connector-microsoft.php:69 msgid "Starting email send for Microsoft connector." msgstr "" -#: includes/connectors/types/class-connector-microsoft.php:247 +#: includes/connectors/types/class-connector-microsoft.php:253 msgid "365 / Outlook Settings" msgstr "" -#: includes/connectors/types/class-connector-microsoft.php:265 +#: includes/connectors/types/class-connector-microsoft.php:271 msgid "Please click the button below to initiate a connection with your Microsoft account. Remember to fill out both the Client ID and Client Secret fields before proceeding." msgstr "" -#: includes/connectors/types/class-connector-microsoft.php:275 +#: includes/connectors/types/class-connector-microsoft.php:281 msgid "Read our Microsoft 365 / Outlook documentation" msgstr "" -#: includes/connectors/types/class-connector-microsoft.php:305 +#: includes/connectors/types/class-connector-microsoft.php:311 msgid "Error Connecting to Microsoft. Check your credentials and try again." msgstr "" -#: includes/connectors/types/class-connector-microsoft.php:345 +#: includes/connectors/types/class-connector-microsoft.php:351 msgid "To obtain an Application ID from 365 / Outlook, login to your {{link}}Microsoft Azure{{link}} dashboard and generate an Application ID." msgstr "" -#: includes/connectors/types/class-connector-microsoft.php:350 +#: includes/connectors/types/class-connector-microsoft.php:356 msgid "Application ID" msgstr "" -#: includes/connectors/types/class-connector-microsoft.php:377 +#: includes/connectors/types/class-connector-microsoft.php:383 msgid "To obtain a Client Secret password, log in to your {{link}}Microsoft Azure{{link}} dashboard and generate a new client secret. Then, copy the value into this field." msgstr "" -#: includes/connectors/types/class-connector-microsoft.php:406 +#: includes/connectors/types/class-connector-microsoft.php:412 msgid "Redirect URI (Personal Accounts)" msgstr "" -#: includes/connectors/types/class-connector-microsoft.php:418 +#: includes/connectors/types/class-connector-microsoft.php:424 msgid "If your app is set up to support Personal Accounts, copy this URL and enter it as a Redirect URI in your App Settings." msgstr "" -#: includes/connectors/types/class-connector-microsoft.php:438 +#: includes/connectors/types/class-connector-microsoft.php:444 msgid "Redirect URI (School or Work Accounts)" msgstr "" -#: includes/connectors/types/class-connector-microsoft.php:450 +#: includes/connectors/types/class-connector-microsoft.php:456 msgid "If your app is set up to support School and Work accounts, copy this URL and enter it as a Redirect URI in your App Settings." msgstr "" -#: includes/connectors/types/class-connector-microsoft.php:473 +#: includes/connectors/types/class-connector-microsoft.php:479 msgid "Sign in with Microsoft" msgstr "" -#: includes/connectors/types/class-connector-microsoft.php:522 +#: includes/connectors/types/class-connector-microsoft.php:528 msgid "Disconnect from Microsoft" msgstr "" @@ -2507,11 +2768,11 @@ msgstr "" msgid "Use your server's default PHP Mailer to send email." msgstr "" -#: includes/connectors/types/class-connector-phpmail.php:77 +#: includes/connectors/types/class-connector-phpmail.php:93 msgid "PHP Mail Settings" msgstr "" -#: includes/connectors/types/class-connector-phpmail.php:93 +#: includes/connectors/types/class-connector-phpmail.php:109 msgid "When using PHP Mail, emails might not be delivered reliably. For optimal performance, we recommend using a dedicated email provider." msgstr "" @@ -2519,20 +2780,20 @@ msgstr "" msgid "Owned by ActiveCampaign, Postmark is a popular email-sending service with an impressive reputation for reliability and deliverability. Postmark offers a free plan that allows you to send up to 100 emails a month. Over 100, prices vary depending on the number of emails sent. For more information on how to get started with Postmark, read our documentation." msgstr "" -#: includes/connectors/types/class-connector-postmark.php:38 +#: includes/connectors/types/class-connector-postmark.php:42 msgid "Starting email send for Postmark connector." msgstr "" -#: includes/connectors/types/class-connector-postmark.php:211 +#: includes/connectors/types/class-connector-postmark.php:215 msgid "Postmark Settings" msgstr "" -#: includes/connectors/types/class-connector-postmark.php:244 +#: includes/connectors/types/class-connector-postmark.php:248 msgid "Server API Token" msgstr "" #. translators: 1: opening anchor tag, 2: closing anchor tag -#: includes/connectors/types/class-connector-postmark.php:251 +#: includes/connectors/types/class-connector-postmark.php:255 msgid "To get a Server API Token, go to the %1$sAPI Token%2$s tab on your Postmark account page." msgstr "" @@ -2540,27 +2801,83 @@ msgstr "" msgid "Send at scale with Twilio SendGrid, boasting an industry-leading 99% deliverability rate. SendGrid offers both a free-forever plan of 100 emails a day, and, if you need to exceed that limit, a selection of preset pricing plans, starting at $19.95 per month for up to 50,000 emails. For more information on how to get started with SendGrid, read our documentation." msgstr "" -#: includes/connectors/types/class-connector-sendgrid.php:31 +#: includes/connectors/types/class-connector-sendgrid.php:35 msgid "Starting email send for SendGrid connector." msgstr "" -#: includes/connectors/types/class-connector-sendgrid.php:210 +#: includes/connectors/types/class-connector-sendgrid.php:214 msgid "SendGrid Settings" msgstr "" -#: includes/connectors/types/class-connector-sendgrid.php:243 +#: includes/connectors/types/class-connector-sendgrid.php:247 msgid "SendGrid API Key" msgstr "" #. translators: 1: opening anchor tag, 2: closing anchor tag -#: includes/connectors/types/class-connector-sendgrid.php:250 +#: includes/connectors/types/class-connector-sendgrid.php:254 msgid "To obtain an API key from SendGrid you will need to %1$sgenerate an API key%2$s. To send emails, the API key only requires 'Mail Send' access." msgstr "" -#: includes/connectors/types/class-connector-sendgrid.php:318 +#: includes/connectors/types/class-connector-sendgrid.php:322 msgid "API Key does not have permission to send mail." msgstr "" +#: includes/connectors/types/class-connector-zoho.php:203 +msgid "Reach inboxes when it matters most. Send email notifications to your contacts with Zoho Mail." +msgstr "" + +#: includes/connectors/types/class-connector-zoho.php:286 +msgid "Zoho Mail Settings" +msgstr "" + +#: includes/connectors/types/class-connector-zoho.php:304 +msgid "Please click the button below to initiate a connection with your Zoho Mail account. Remember to fill out both the Client ID and Client Secret fields before proceeding." +msgstr "" + +#: includes/connectors/types/class-connector-zoho.php:317 +msgid "Read our Zoho Mail documentation" +msgstr "" + +#: includes/connectors/types/class-connector-zoho.php:347 +msgid "Error Connecting to Zoho Mail. Check your credentials and try again." +msgstr "" + +#: includes/connectors/types/class-connector-zoho.php:377 +msgid "If you are unsure about your Datacenter location, check your Zoho account." +msgstr "" + +#: includes/connectors/types/class-connector-zoho.php:382 +msgid "Datacenter Region" +msgstr "" + +#: includes/connectors/types/class-connector-zoho.php:408 +msgid "To obtain an Client ID from Zoho Mail, login to your {{link}}Zoho API{{link}} dashboard and generate a Client ID." +msgstr "" + +#: includes/connectors/types/class-connector-zoho.php:440 +msgid "To obtain a Client Secret password, log in to your {{link}}Zoho API{{link}} dashboard and generate a new client secret. Then, copy the value into this field." +msgstr "" + +#: includes/connectors/types/class-connector-zoho.php:469 +msgid "Redirect URI" +msgstr "" + +#: includes/connectors/types/class-connector-zoho.php:481 +msgid "Copy this URL into the \"Authorized redirect URIs\" field of your Zoho Mail application." +msgstr "" + +#: includes/connectors/types/class-connector-zoho.php:504 +msgid "Sign in with Zoho Mail" +msgstr "" + +#: includes/connectors/types/class-connector-zoho.php:538 +msgid "Connected to Zoho Mail with account:" +msgstr "" + +#: includes/connectors/types/class-connector-zoho.php:553 +msgid "Disconnect from Zoho Mail" +msgstr "" + #: includes/email-management/class-managed-email-types.php:37 #: includes/email-management/class-managed-email-types.php:49 #: includes/email-management/class-managed-email-types.php:61 @@ -2822,12 +3139,36 @@ msgstr "" msgid "The %1$s integration was used to send this email" msgstr "" -#: includes/enums/class-status-enum.php:52 -msgid "Pending" +#: includes/enums/class-suppression-reason-enum.php:49 +msgid "Manually Suppressed" msgstr "" -#: includes/enums/class-status-enum.php:55 -msgid "Sandboxed" +#: includes/enums/class-zoho-datacenters-enum.php:9 +msgid "United States" +msgstr "" + +#: includes/enums/class-zoho-datacenters-enum.php:10 +msgid "Europe" +msgstr "" + +#: includes/enums/class-zoho-datacenters-enum.php:11 +msgid "India" +msgstr "" + +#: includes/enums/class-zoho-datacenters-enum.php:12 +msgid "Australia" +msgstr "" + +#: includes/enums/class-zoho-datacenters-enum.php:13 +msgid "Japan" +msgstr "" + +#: includes/enums/class-zoho-datacenters-enum.php:14 +msgid "Canada" +msgstr "" + +#: includes/enums/class-zoho-datacenters-enum.php:15 +msgid "Saudi Arabia" msgstr "" #: includes/environment/endpoints/class-uninstall-endpoint.php:16 @@ -2883,8 +3224,9 @@ msgstr "" msgid "Unauthorized" msgstr "" -#: includes/migration/endpoints/class-migrate-settings-endpoint.php:63 -msgid "Could not find handler for migration type: " +#. translators: %1$s: plugin name +#: includes/migration/endpoints/class-migrate-settings-endpoint.php:64 +msgid "Could not find handler for migration type: %1$s" msgstr "" #: includes/models/class-debug-log-model.php:154 @@ -2907,27 +3249,37 @@ msgstr "" msgid "Info" msgstr "" -#: includes/models/class-event-model.php:426 +#: includes/models/class-event-model.php:433 #: includes/models/class-log-details-model.php:192 #: includes/utils/class-source-parser.php:26 #: includes/utils/class-source-parser.php:89 msgid "N/A" msgstr "" -#: includes/pages/class-admin-page.php:19 -#: includes/pages/class-admin-page.php:29 -msgid "SMTP" +#: includes/models/class-suppressed-emails-model.php:250 +#: includes/suppression/config/class-suppression-settings-config.php:105 +#: includes/suppression/config/class-suppression-settings-config.php:109 +#: includes/suppression/config/class-suppression-settings-config.php:171 +msgid "Reactivate" msgstr "" -#: includes/pages/class-admin-page.php:23 -#: includes/pages/class-admin-page.php:33 -msgid "Tools" +#: includes/pages/class-admin-page.php:14 +msgid "SMTP" msgstr "" -#: includes/pages/class-admin-page.php:30 +#: includes/pages/class-admin-page.php:15 msgid "Dashboard" msgstr "" +#: includes/pages/class-admin-page.php:19 +#: includes/suppression/config/class-suppression-settings-config.php:75 +msgid "Suppressions" +msgstr "" + +#: includes/pages/class-admin-page.php:23 +msgid "Tools" +msgstr "" + #: includes/routing/handlers/class-primary-backup-handler.php:43 msgid "Primary and Backup integrations failed to send. Aborting email send." msgstr "" @@ -2936,38 +3288,174 @@ msgstr "" msgid "Backup integration not set, aborting email send." msgstr "" -#: includes/routing/handlers/class-primary-backup-handler.php:59 -msgid "Secondary integration identified: " +#. translators: %1$s: integration type +#: includes/routing/handlers/class-primary-backup-handler.php:60 +msgid "Secondary integration identified: %1$s" msgstr "" -#: includes/routing/handlers/class-primary-backup-handler.php:65 +#: includes/routing/handlers/class-primary-backup-handler.php:66 msgid "Secondary integration not enabled. Skipping." msgstr "" -#: includes/routing/handlers/class-primary-backup-handler.php:75 +#: includes/routing/handlers/class-primary-backup-handler.php:76 msgid "Primary integration not set, checking for Backup integration." msgstr "" -#: includes/routing/handlers/class-primary-backup-handler.php:81 -msgid "Primary integration identified: " +#. translators: %1$s: integration type +#: includes/routing/handlers/class-primary-backup-handler.php:83 +msgid "Primary integration identified: %1$s" msgstr "" -#: includes/routing/handlers/class-primary-backup-handler.php:85 +#: includes/routing/handlers/class-primary-backup-handler.php:87 msgid "Primary integration not enabled, moving on to Backup integration." msgstr "" -#: includes/utils/class-attachments-saver.php:22 -msgid "Creating a new uploads directory at path: " +#: includes/suppression/config/class-suppression-settings-config.php:76 +msgid "Add specific email addresses to a blacklist to suppress send attempts to those recipients." +msgstr "" + +#: includes/suppression/config/class-suppression-settings-config.php:79 +msgid "Suppressed Recipients" +msgstr "" + +#: includes/suppression/config/class-suppression-settings-config.php:81 +msgid "No suppressions" +msgstr "" + +#: includes/suppression/config/class-suppression-settings-config.php:82 +msgid "You will see suppressions here when you set some up." +msgstr "" + +#. translators: 1: number of selected entries. +#: includes/suppression/config/class-suppression-settings-config.php:88 +msgid "All %1$s suppressions on this page are selected" +msgstr "" + +#. translators: 1: number of selected entries. +#: includes/suppression/config/class-suppression-settings-config.php:90 +msgid "All %1$s suppressions are selected" +msgstr "" + +#. translators: 1: number of entries to be selected. +#: includes/suppression/config/class-suppression-settings-config.php:92 +msgid "Select All %1$s Suppressions" +msgstr "" + +#: includes/suppression/config/class-suppression-settings-config.php:102 +msgid "Add Note" +msgstr "" + +#: includes/suppression/config/class-suppression-settings-config.php:104 +msgid "Add Suppressed Recipients" +msgstr "" + +#: includes/suppression/config/class-suppression-settings-config.php:106 +msgid "Recipients on the suppression list will not receive emails." +msgstr "" + +#: includes/suppression/config/class-suppression-settings-config.php:107 +msgid "Email Addresses" +msgstr "" + +#: includes/suppression/config/class-suppression-settings-config.php:108 +msgid "Add Recipients" +msgstr "" + +#: includes/suppression/config/class-suppression-settings-config.php:110 +msgid "Manually Add" +msgstr "" + +#: includes/suppression/config/class-suppression-settings-config.php:111 +msgid "Email Address" +msgstr "" + +#: includes/suppression/config/class-suppression-settings-config.php:112 +#: includes/suppression/config/class-suppression-settings-config.php:196 +msgid "Reason" msgstr "" -#: includes/utils/class-attachments-saver.php:28 -msgid "Could not locate file at path: " +#: includes/suppression/config/class-suppression-settings-config.php:113 +msgid "Note" msgstr "" -#: includes/utils/class-attachments-saver.php:36 -msgid " being moved to new location: " +#: includes/suppression/config/class-suppression-settings-config.php:114 +#: includes/suppression/config/class-suppression-settings-config.php:208 +msgid "Date Suppressed" +msgstr "" + +#: includes/suppression/config/class-suppression-settings-config.php:117 +msgid "Emails reactivated." +msgstr "" + +#: includes/suppression/config/class-suppression-settings-config.php:118 +msgid "Error reactivating emails." +msgstr "" + +#: includes/suppression/config/class-suppression-settings-config.php:119 +msgid "Error getting suppressions for requested page." +msgstr "" + +#: includes/suppression/config/class-suppression-settings-config.php:120 +msgid "Suppressions added." +msgstr "" + +#: includes/suppression/config/class-suppression-settings-config.php:121 +msgid "Error adding suppressions." +msgstr "" + +#. translators: %s: body of the ajax request. +#: includes/suppression/config/class-suppression-settings-config.php:126 +msgid "Adding suppressed emails: %s" +msgstr "" + +#. translators: %s: error data. +#: includes/suppression/config/class-suppression-settings-config.php:128 +msgid "Error adding suppressed emails: %s" +msgstr "" + +#. translators: %s: body of the ajax request. +#: includes/suppression/config/class-suppression-settings-config.php:130 +msgid "Fetching suppressions page: %1$s" +msgstr "" + +#. translators: %s: error data. +#: includes/suppression/config/class-suppression-settings-config.php:132 +msgid "Error fetching suppressions page: %1$s" +msgstr "" + +#. translators: %s: body of the ajax request. +#: includes/suppression/config/class-suppression-settings-config.php:134 +msgid "Reactivating suppressed emails: %s" +msgstr "" + +#. translators: %s: error data. +#: includes/suppression/config/class-suppression-settings-config.php:136 +msgid "Error reactivating suppressed emails: %s" +msgstr "" + +#: includes/suppression/config/class-suppression-settings-config.php:184 +msgid "Email" +msgstr "" + +#. translators: %1$s: directory path +#: includes/utils/class-attachments-saver.php:23 +msgid "Creating a new uploads directory at path: %1$s" +msgstr "" + +#. translators: %1$s: file path +#: includes/utils/class-attachments-saver.php:30 +msgid "Could not locate file at path: %1$s" +msgstr "" + +#. translators: %1$s: file name, %2$s: new path +#: includes/utils/class-attachments-saver.php:39 +msgid "%1$s being moved to new location: %2$s" msgstr "" #: includes/utils/class-source-parser.php:106 msgid "WordPress" msgstr "" + +#: includes/utils/class-utils-service-provider.php:105 +msgid "Every Minute" +msgstr "" diff --git a/vendor/autoload.php b/vendor/autoload.php index 78630d8..b37a9a8 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -22,4 +22,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInitafc46fa43a9f59f1824e8877a98abe17::getLoader(); +return ComposerAutoloaderInitdccbae485ed1cb784e521fe56eec9a94::getLoader(); diff --git a/vendor/composer/InstalledVersions.php b/vendor/composer/InstalledVersions.php index 51e734a..07b32ed 100644 --- a/vendor/composer/InstalledVersions.php +++ b/vendor/composer/InstalledVersions.php @@ -322,6 +322,7 @@ private static function getInstalled() } $installed = array(); + $copiedLocalDir = false; if (self::$canGetVendors) { foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { @@ -330,9 +331,11 @@ private static function getInstalled() } elseif (is_file($vendorDir.'/composer/installed.php')) { /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $required */ $required = require $vendorDir.'/composer/installed.php'; - $installed[] = self::$installedByVendor[$vendorDir] = $required; - if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { - self::$installed = $installed[count($installed) - 1]; + self::$installedByVendor[$vendorDir] = $required; + $installed[] = $required; + if (strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { + self::$installed = $required; + $copiedLocalDir = true; } } } @@ -350,7 +353,7 @@ private static function getInstalled() } } - if (self::$installed !== array()) { + if (self::$installed !== array() && !$copiedLocalDir) { $installed[] = self::$installed; } diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 2b043c7..463cdf0 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -7,6 +7,17 @@ return array( 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', + 'Get_Paginated_Debug_Log_Items' => $baseDir . '/includes/logging/endpoints/get-paginated-debug-log-items.php', + 'Get_Paginated_Log_Items' => $baseDir . '/includes/logging/endpoints/get-paginated-items.php', + 'Get_Paginated_Suppression_Items' => $baseDir . '/includes/suppression/endpoints/get-paginated-items.php', + 'Gravity_Forms\\Gravity_SMTP\\Alerts\\Alerts_Handler' => $baseDir . '/includes/alerts/class-alerts-handler.php', + 'Gravity_Forms\\Gravity_SMTP\\Alerts\\Alerts_Service_Provider' => $baseDir . '/includes/alerts/class-alerts-service-provider.php', + 'Gravity_Forms\\Gravity_SMTP\\Alerts\\Config\\Alerts_Config' => $baseDir . '/includes/alerts/config/class-alerts-config.php', + 'Gravity_Forms\\Gravity_SMTP\\Alerts\\Config\\Alerts_Endpoints_Config' => $baseDir . '/includes/alerts/config/class-alerts-endpoints-config.php', + 'Gravity_Forms\\Gravity_SMTP\\Alerts\\Connectors\\Alert_Connector' => $baseDir . '/includes/alerts/connectors/interface-alert-connector.php', + 'Gravity_Forms\\Gravity_SMTP\\Alerts\\Connectors\\Slack_Alert_Connector' => $baseDir . '/includes/alerts/connectors/class-slack-alert-connector.php', + 'Gravity_Forms\\Gravity_SMTP\\Alerts\\Connectors\\Twilio_Alert_Connector' => $baseDir . '/includes/alerts/connectors/class-twilio-alert-connector.php', + 'Gravity_Forms\\Gravity_SMTP\\Alerts\\Endpoints\\Save_Alerts_Settings_Endpoint' => $baseDir . '/includes/alerts/endpoints/class-save-alerts-settings-endpoint.php', 'Gravity_Forms\\Gravity_SMTP\\Apps\\App_Service_Provider' => $baseDir . '/includes/apps/class-apps-service-provider.php', 'Gravity_Forms\\Gravity_SMTP\\Apps\\Config\\Apps_Config' => $baseDir . '/includes/apps/config/class-apps-config.php', 'Gravity_Forms\\Gravity_SMTP\\Apps\\Config\\Dashboard_Config' => $baseDir . '/includes/apps/config/class-dashboard-config.php', @@ -35,6 +46,7 @@ 'Gravity_Forms\\Gravity_SMTP\\Connectors\\Endpoints\\Send_Test_Endpoint' => $baseDir . '/includes/connectors/endpoints/class-send-test-endpoint.php', 'Gravity_Forms\\Gravity_SMTP\\Connectors\\Oauth\\Google_Oauth_Handler' => $baseDir . '/includes/connectors/oauth/class-google-oauth-handler.php', 'Gravity_Forms\\Gravity_SMTP\\Connectors\\Oauth\\Microsoft_Oauth_Handler' => $baseDir . '/includes/connectors/oauth/class-microsoft-oauth-handler.php', + 'Gravity_Forms\\Gravity_SMTP\\Connectors\\Oauth\\Zoho_Oauth_Handler' => $baseDir . '/includes/connectors/oauth/class-zoho-oauth-handler.php', 'Gravity_Forms\\Gravity_SMTP\\Connectors\\Oauth_Data_Handler' => $baseDir . '/includes/connectors/class-oauth-data-handler.php', 'Gravity_Forms\\Gravity_SMTP\\Connectors\\Types\\Connector_Amazon' => $baseDir . '/includes/connectors/types/class-connector-amazon.php', 'Gravity_Forms\\Gravity_SMTP\\Connectors\\Types\\Connector_Brevo' => $baseDir . '/includes/connectors/types/class-connector-brevo.php', @@ -61,12 +73,16 @@ 'Gravity_Forms\\Gravity_SMTP\\Enums\\Connector_Status_Enum' => $baseDir . '/includes/enums/class-connector-status-enum.php', 'Gravity_Forms\\Gravity_SMTP\\Enums\\Integration_Enum' => $baseDir . '/includes/enums/class-integration-enum.php', 'Gravity_Forms\\Gravity_SMTP\\Enums\\Status_Enum' => $baseDir . '/includes/enums/class-status-enum.php', + 'Gravity_Forms\\Gravity_SMTP\\Enums\\Suppression_Reason_Enum' => $baseDir . '/includes/enums/class-suppression-reason-enum.php', + 'Gravity_Forms\\Gravity_SMTP\\Enums\\Zoho_Datacenters_Enum' => $baseDir . '/includes/enums/class-zoho-datacenters-enum.php', 'Gravity_Forms\\Gravity_SMTP\\Environment\\Config\\Environment_Endpoints_Config' => $baseDir . '/includes/environment/config/class-environment-endpoints-config.php', 'Gravity_Forms\\Gravity_SMTP\\Environment\\Endpoints\\Uninstall_Endpoint' => $baseDir . '/includes/environment/endpoints/class-uninstall-endpoint.php', 'Gravity_Forms\\Gravity_SMTP\\Environment\\Environment_Details' => $baseDir . '/includes/environment/class-environment-details.php', 'Gravity_Forms\\Gravity_SMTP\\Environment\\Environment_Service_Provider' => $baseDir . '/includes/environment/class-environment-service-provider.php', 'Gravity_Forms\\Gravity_SMTP\\Errors\\Error_Handler' => $baseDir . '/includes/errors/class-error-handler.php', 'Gravity_Forms\\Gravity_SMTP\\Errors\\Error_Handler_Service_Provider' => $baseDir . '/includes/errors/class-error-handler-service-provider.php', + 'Gravity_Forms\\Gravity_SMTP\\Experimental_Features\\Experiment_Features_Handler' => $baseDir . '/includes/experimental-features/class-experimental-features-handler.php', + 'Gravity_Forms\\Gravity_SMTP\\Experimental_Features\\Experimental_Features_Service_Provider' => $baseDir . '/includes/experimental-features/class-experimental-features-service-provider.php', 'Gravity_Forms\\Gravity_SMTP\\Feature_Flags\\Config\\Feature_Flags_Config' => $baseDir . '/includes/feature-flags/config/class-feature-flags-config.php', 'Gravity_Forms\\Gravity_SMTP\\Feature_Flags\\Feature_Flag_Manager' => $baseDir . '/includes/feature-flags/class-feature-flag-manager.php', 'Gravity_Forms\\Gravity_SMTP\\Feature_Flags\\Feature_Flag_Repository' => $baseDir . '/includes/feature-flags/class-feature-flag-repository.php', @@ -116,12 +132,17 @@ 'Gravity_Forms\\Gravity_SMTP\\Models\\Hydrators\\Hydrator_WP_Mail' => $baseDir . '/includes/models/hydrators/class-hydrator-wp-mail.php', 'Gravity_Forms\\Gravity_SMTP\\Models\\Log_Details_Model' => $baseDir . '/includes/models/class-log-details-model.php', 'Gravity_Forms\\Gravity_SMTP\\Models\\Notifications_Model' => $baseDir . '/includes/models/class-notifications-model.php', + 'Gravity_Forms\\Gravity_SMTP\\Models\\Suppressed_Emails_Model' => $baseDir . '/includes/models/class-suppressed-emails-model.php', 'Gravity_Forms\\Gravity_SMTP\\Models\\Traits\\Can_Compare_Dynamically' => $baseDir . '/includes/models/traits/trait-can-compare-dynamically.php', 'Gravity_Forms\\Gravity_SMTP\\Pages\\Admin_Page' => $baseDir . '/includes/pages/class-admin-page.php', 'Gravity_Forms\\Gravity_SMTP\\Pages\\Page_Service_Provider' => $baseDir . '/includes/pages/class-page-service-provider.php', 'Gravity_Forms\\Gravity_SMTP\\Routing\\Handlers\\Primary_Backup_Handler' => $baseDir . '/includes/routing/handlers/class-primary-backup-handler.php', 'Gravity_Forms\\Gravity_SMTP\\Routing\\Handlers\\Routing_Handler' => $baseDir . '/includes/routing/handlers/interface-routing-handler.php', 'Gravity_Forms\\Gravity_SMTP\\Routing\\Routing_Service_Provider' => $baseDir . '/includes/routing/class-routing-service-provider.php', + 'Gravity_Forms\\Gravity_SMTP\\Suppression\\Config\\Suppression_Settings_Config' => $baseDir . '/includes/suppression/config/class-suppression-settings-config.php', + 'Gravity_Forms\\Gravity_SMTP\\Suppression\\Endpoints\\Add_Suppressed_Emails_Endpoint' => $baseDir . '/includes/suppression/endpoints/class-add-suppressed-emails-endpoint.php', + 'Gravity_Forms\\Gravity_SMTP\\Suppression\\Endpoints\\Reactivate_Suppressed_Emails_Endpoint' => $baseDir . '/includes/suppression/endpoints/class-reactivate-suppressed-emails-endpoint.php', + 'Gravity_Forms\\Gravity_SMTP\\Suppression\\Suppression_Service_Provider' => $baseDir . '/includes/suppression/class-suppression-service-provider.php', 'Gravity_Forms\\Gravity_SMTP\\Telemetry\\Telemetry_Background_Processor' => $baseDir . '/includes/telemetry/class-telemetry-background-processor.php', 'Gravity_Forms\\Gravity_SMTP\\Telemetry\\Telemetry_Handler' => $baseDir . '/includes/telemetry/class-telemetry-handler.php', 'Gravity_Forms\\Gravity_SMTP\\Telemetry\\Telemetry_Service_Provider' => $baseDir . '/includes/telemetry/class-telemetry-service-provider.php', @@ -136,6 +157,7 @@ 'Gravity_Forms\\Gravity_SMTP\\Utils\\Attachments_Saver' => $baseDir . '/includes/utils/class-attachments-saver.php', 'Gravity_Forms\\Gravity_SMTP\\Utils\\Basic_Encrypted_Hash' => $baseDir . '/includes/utils/class-basic-ecrypted-hash.php', 'Gravity_Forms\\Gravity_SMTP\\Utils\\Booliesh' => $baseDir . '/includes/utils/class-booleish.php', + 'Gravity_Forms\\Gravity_SMTP\\Utils\\Fast_Endpoint' => $baseDir . '/includes/utils/class-fast-endpoint.php', 'Gravity_Forms\\Gravity_SMTP\\Utils\\Header_Parser' => $baseDir . '/includes/utils/class-header-parser.php', 'Gravity_Forms\\Gravity_SMTP\\Utils\\Import_Data_Checker' => $baseDir . '/includes/utils/class-import-data-checker.php', 'Gravity_Forms\\Gravity_SMTP\\Utils\\Recipient' => $baseDir . '/includes/utils/class-recipient.php', diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 28ae9b1..4a7a25c 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInitafc46fa43a9f59f1824e8877a98abe17 +class ComposerAutoloaderInitdccbae485ed1cb784e521fe56eec9a94 { private static $loader; @@ -22,16 +22,16 @@ public static function getLoader() return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInitafc46fa43a9f59f1824e8877a98abe17', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInitdccbae485ed1cb784e521fe56eec9a94', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInitafc46fa43a9f59f1824e8877a98abe17', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInitdccbae485ed1cb784e521fe56eec9a94', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInitafc46fa43a9f59f1824e8877a98abe17::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInitdccbae485ed1cb784e521fe56eec9a94::getInitializer($loader)); $loader->register(true); - $filesToLoad = \Composer\Autoload\ComposerStaticInitafc46fa43a9f59f1824e8877a98abe17::$files; + $filesToLoad = \Composer\Autoload\ComposerStaticInitdccbae485ed1cb784e521fe56eec9a94::$files; $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 296590f..9bc49b4 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInitafc46fa43a9f59f1824e8877a98abe17 +class ComposerStaticInitdccbae485ed1cb784e521fe56eec9a94 { public static $files = array ( 'de106312193d3b5d7e278f8e63c27774' => __DIR__ . '/../..' . '/includes/functions_include.php', @@ -12,6 +12,17 @@ class ComposerStaticInitafc46fa43a9f59f1824e8877a98abe17 public static $classMap = array ( 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', + 'Get_Paginated_Debug_Log_Items' => __DIR__ . '/../..' . '/includes/logging/endpoints/get-paginated-debug-log-items.php', + 'Get_Paginated_Log_Items' => __DIR__ . '/../..' . '/includes/logging/endpoints/get-paginated-items.php', + 'Get_Paginated_Suppression_Items' => __DIR__ . '/../..' . '/includes/suppression/endpoints/get-paginated-items.php', + 'Gravity_Forms\\Gravity_SMTP\\Alerts\\Alerts_Handler' => __DIR__ . '/../..' . '/includes/alerts/class-alerts-handler.php', + 'Gravity_Forms\\Gravity_SMTP\\Alerts\\Alerts_Service_Provider' => __DIR__ . '/../..' . '/includes/alerts/class-alerts-service-provider.php', + 'Gravity_Forms\\Gravity_SMTP\\Alerts\\Config\\Alerts_Config' => __DIR__ . '/../..' . '/includes/alerts/config/class-alerts-config.php', + 'Gravity_Forms\\Gravity_SMTP\\Alerts\\Config\\Alerts_Endpoints_Config' => __DIR__ . '/../..' . '/includes/alerts/config/class-alerts-endpoints-config.php', + 'Gravity_Forms\\Gravity_SMTP\\Alerts\\Connectors\\Alert_Connector' => __DIR__ . '/../..' . '/includes/alerts/connectors/interface-alert-connector.php', + 'Gravity_Forms\\Gravity_SMTP\\Alerts\\Connectors\\Slack_Alert_Connector' => __DIR__ . '/../..' . '/includes/alerts/connectors/class-slack-alert-connector.php', + 'Gravity_Forms\\Gravity_SMTP\\Alerts\\Connectors\\Twilio_Alert_Connector' => __DIR__ . '/../..' . '/includes/alerts/connectors/class-twilio-alert-connector.php', + 'Gravity_Forms\\Gravity_SMTP\\Alerts\\Endpoints\\Save_Alerts_Settings_Endpoint' => __DIR__ . '/../..' . '/includes/alerts/endpoints/class-save-alerts-settings-endpoint.php', 'Gravity_Forms\\Gravity_SMTP\\Apps\\App_Service_Provider' => __DIR__ . '/../..' . '/includes/apps/class-apps-service-provider.php', 'Gravity_Forms\\Gravity_SMTP\\Apps\\Config\\Apps_Config' => __DIR__ . '/../..' . '/includes/apps/config/class-apps-config.php', 'Gravity_Forms\\Gravity_SMTP\\Apps\\Config\\Dashboard_Config' => __DIR__ . '/../..' . '/includes/apps/config/class-dashboard-config.php', @@ -40,6 +51,7 @@ class ComposerStaticInitafc46fa43a9f59f1824e8877a98abe17 'Gravity_Forms\\Gravity_SMTP\\Connectors\\Endpoints\\Send_Test_Endpoint' => __DIR__ . '/../..' . '/includes/connectors/endpoints/class-send-test-endpoint.php', 'Gravity_Forms\\Gravity_SMTP\\Connectors\\Oauth\\Google_Oauth_Handler' => __DIR__ . '/../..' . '/includes/connectors/oauth/class-google-oauth-handler.php', 'Gravity_Forms\\Gravity_SMTP\\Connectors\\Oauth\\Microsoft_Oauth_Handler' => __DIR__ . '/../..' . '/includes/connectors/oauth/class-microsoft-oauth-handler.php', + 'Gravity_Forms\\Gravity_SMTP\\Connectors\\Oauth\\Zoho_Oauth_Handler' => __DIR__ . '/../..' . '/includes/connectors/oauth/class-zoho-oauth-handler.php', 'Gravity_Forms\\Gravity_SMTP\\Connectors\\Oauth_Data_Handler' => __DIR__ . '/../..' . '/includes/connectors/class-oauth-data-handler.php', 'Gravity_Forms\\Gravity_SMTP\\Connectors\\Types\\Connector_Amazon' => __DIR__ . '/../..' . '/includes/connectors/types/class-connector-amazon.php', 'Gravity_Forms\\Gravity_SMTP\\Connectors\\Types\\Connector_Brevo' => __DIR__ . '/../..' . '/includes/connectors/types/class-connector-brevo.php', @@ -66,12 +78,16 @@ class ComposerStaticInitafc46fa43a9f59f1824e8877a98abe17 'Gravity_Forms\\Gravity_SMTP\\Enums\\Connector_Status_Enum' => __DIR__ . '/../..' . '/includes/enums/class-connector-status-enum.php', 'Gravity_Forms\\Gravity_SMTP\\Enums\\Integration_Enum' => __DIR__ . '/../..' . '/includes/enums/class-integration-enum.php', 'Gravity_Forms\\Gravity_SMTP\\Enums\\Status_Enum' => __DIR__ . '/../..' . '/includes/enums/class-status-enum.php', + 'Gravity_Forms\\Gravity_SMTP\\Enums\\Suppression_Reason_Enum' => __DIR__ . '/../..' . '/includes/enums/class-suppression-reason-enum.php', + 'Gravity_Forms\\Gravity_SMTP\\Enums\\Zoho_Datacenters_Enum' => __DIR__ . '/../..' . '/includes/enums/class-zoho-datacenters-enum.php', 'Gravity_Forms\\Gravity_SMTP\\Environment\\Config\\Environment_Endpoints_Config' => __DIR__ . '/../..' . '/includes/environment/config/class-environment-endpoints-config.php', 'Gravity_Forms\\Gravity_SMTP\\Environment\\Endpoints\\Uninstall_Endpoint' => __DIR__ . '/../..' . '/includes/environment/endpoints/class-uninstall-endpoint.php', 'Gravity_Forms\\Gravity_SMTP\\Environment\\Environment_Details' => __DIR__ . '/../..' . '/includes/environment/class-environment-details.php', 'Gravity_Forms\\Gravity_SMTP\\Environment\\Environment_Service_Provider' => __DIR__ . '/../..' . '/includes/environment/class-environment-service-provider.php', 'Gravity_Forms\\Gravity_SMTP\\Errors\\Error_Handler' => __DIR__ . '/../..' . '/includes/errors/class-error-handler.php', 'Gravity_Forms\\Gravity_SMTP\\Errors\\Error_Handler_Service_Provider' => __DIR__ . '/../..' . '/includes/errors/class-error-handler-service-provider.php', + 'Gravity_Forms\\Gravity_SMTP\\Experimental_Features\\Experiment_Features_Handler' => __DIR__ . '/../..' . '/includes/experimental-features/class-experimental-features-handler.php', + 'Gravity_Forms\\Gravity_SMTP\\Experimental_Features\\Experimental_Features_Service_Provider' => __DIR__ . '/../..' . '/includes/experimental-features/class-experimental-features-service-provider.php', 'Gravity_Forms\\Gravity_SMTP\\Feature_Flags\\Config\\Feature_Flags_Config' => __DIR__ . '/../..' . '/includes/feature-flags/config/class-feature-flags-config.php', 'Gravity_Forms\\Gravity_SMTP\\Feature_Flags\\Feature_Flag_Manager' => __DIR__ . '/../..' . '/includes/feature-flags/class-feature-flag-manager.php', 'Gravity_Forms\\Gravity_SMTP\\Feature_Flags\\Feature_Flag_Repository' => __DIR__ . '/../..' . '/includes/feature-flags/class-feature-flag-repository.php', @@ -121,12 +137,17 @@ class ComposerStaticInitafc46fa43a9f59f1824e8877a98abe17 'Gravity_Forms\\Gravity_SMTP\\Models\\Hydrators\\Hydrator_WP_Mail' => __DIR__ . '/../..' . '/includes/models/hydrators/class-hydrator-wp-mail.php', 'Gravity_Forms\\Gravity_SMTP\\Models\\Log_Details_Model' => __DIR__ . '/../..' . '/includes/models/class-log-details-model.php', 'Gravity_Forms\\Gravity_SMTP\\Models\\Notifications_Model' => __DIR__ . '/../..' . '/includes/models/class-notifications-model.php', + 'Gravity_Forms\\Gravity_SMTP\\Models\\Suppressed_Emails_Model' => __DIR__ . '/../..' . '/includes/models/class-suppressed-emails-model.php', 'Gravity_Forms\\Gravity_SMTP\\Models\\Traits\\Can_Compare_Dynamically' => __DIR__ . '/../..' . '/includes/models/traits/trait-can-compare-dynamically.php', 'Gravity_Forms\\Gravity_SMTP\\Pages\\Admin_Page' => __DIR__ . '/../..' . '/includes/pages/class-admin-page.php', 'Gravity_Forms\\Gravity_SMTP\\Pages\\Page_Service_Provider' => __DIR__ . '/../..' . '/includes/pages/class-page-service-provider.php', 'Gravity_Forms\\Gravity_SMTP\\Routing\\Handlers\\Primary_Backup_Handler' => __DIR__ . '/../..' . '/includes/routing/handlers/class-primary-backup-handler.php', 'Gravity_Forms\\Gravity_SMTP\\Routing\\Handlers\\Routing_Handler' => __DIR__ . '/../..' . '/includes/routing/handlers/interface-routing-handler.php', 'Gravity_Forms\\Gravity_SMTP\\Routing\\Routing_Service_Provider' => __DIR__ . '/../..' . '/includes/routing/class-routing-service-provider.php', + 'Gravity_Forms\\Gravity_SMTP\\Suppression\\Config\\Suppression_Settings_Config' => __DIR__ . '/../..' . '/includes/suppression/config/class-suppression-settings-config.php', + 'Gravity_Forms\\Gravity_SMTP\\Suppression\\Endpoints\\Add_Suppressed_Emails_Endpoint' => __DIR__ . '/../..' . '/includes/suppression/endpoints/class-add-suppressed-emails-endpoint.php', + 'Gravity_Forms\\Gravity_SMTP\\Suppression\\Endpoints\\Reactivate_Suppressed_Emails_Endpoint' => __DIR__ . '/../..' . '/includes/suppression/endpoints/class-reactivate-suppressed-emails-endpoint.php', + 'Gravity_Forms\\Gravity_SMTP\\Suppression\\Suppression_Service_Provider' => __DIR__ . '/../..' . '/includes/suppression/class-suppression-service-provider.php', 'Gravity_Forms\\Gravity_SMTP\\Telemetry\\Telemetry_Background_Processor' => __DIR__ . '/../..' . '/includes/telemetry/class-telemetry-background-processor.php', 'Gravity_Forms\\Gravity_SMTP\\Telemetry\\Telemetry_Handler' => __DIR__ . '/../..' . '/includes/telemetry/class-telemetry-handler.php', 'Gravity_Forms\\Gravity_SMTP\\Telemetry\\Telemetry_Service_Provider' => __DIR__ . '/../..' . '/includes/telemetry/class-telemetry-service-provider.php', @@ -141,6 +162,7 @@ class ComposerStaticInitafc46fa43a9f59f1824e8877a98abe17 'Gravity_Forms\\Gravity_SMTP\\Utils\\Attachments_Saver' => __DIR__ . '/../..' . '/includes/utils/class-attachments-saver.php', 'Gravity_Forms\\Gravity_SMTP\\Utils\\Basic_Encrypted_Hash' => __DIR__ . '/../..' . '/includes/utils/class-basic-ecrypted-hash.php', 'Gravity_Forms\\Gravity_SMTP\\Utils\\Booliesh' => __DIR__ . '/../..' . '/includes/utils/class-booleish.php', + 'Gravity_Forms\\Gravity_SMTP\\Utils\\Fast_Endpoint' => __DIR__ . '/../..' . '/includes/utils/class-fast-endpoint.php', 'Gravity_Forms\\Gravity_SMTP\\Utils\\Header_Parser' => __DIR__ . '/../..' . '/includes/utils/class-header-parser.php', 'Gravity_Forms\\Gravity_SMTP\\Utils\\Import_Data_Checker' => __DIR__ . '/../..' . '/includes/utils/class-import-data-checker.php', 'Gravity_Forms\\Gravity_SMTP\\Utils\\Recipient' => __DIR__ . '/../..' . '/includes/utils/class-recipient.php', @@ -190,7 +212,7 @@ class ComposerStaticInitafc46fa43a9f59f1824e8877a98abe17 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->classMap = ComposerStaticInitafc46fa43a9f59f1824e8877a98abe17::$classMap; + $loader->classMap = ComposerStaticInitdccbae485ed1cb784e521fe56eec9a94::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 16a64c1..645ab01 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -2,23 +2,23 @@ "packages": [ { "name": "gravityforms/gravity-tools", - "version": "0.2.15", - "version_normalized": "0.2.15.0", + "version": "0.2.17", + "version_normalized": "0.2.17.0", "source": { "type": "git", "url": "https://github.com/gravityforms/gravity-tools.git", - "reference": "1bdbbb2c008b5a3d788b0e2960e723033c9812f4" + "reference": "c6d21cbf0b8c42437dd8f9cdcd0f8675b94ae609" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/gravityforms/gravity-tools/zipball/1bdbbb2c008b5a3d788b0e2960e723033c9812f4", - "reference": "1bdbbb2c008b5a3d788b0e2960e723033c9812f4", + "url": "https://api.github.com/repos/gravityforms/gravity-tools/zipball/c6d21cbf0b8c42437dd8f9cdcd0f8675b94ae609", + "reference": "c6d21cbf0b8c42437dd8f9cdcd0f8675b94ae609", "shasum": "" }, "require-dev": { "phpunit/phpunit": ">4.0 <7" }, - "time": "2024-09-04T15:41:57+00:00", + "time": "2025-01-08T21:44:46+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -35,7 +35,7 @@ ], "description": "PHP libraries to support Gravity Forms applications.", "support": { - "source": "https://github.com/gravityforms/gravity-tools/tree/0.2.15" + "source": "https://github.com/gravityforms/gravity-tools/tree/0.2.17" }, "install-path": "../gravityforms/gravity-tools" } diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 5cb74b2..ba9ac5f 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -3,7 +3,7 @@ 'name' => 'gravityforms/gravitysmtp', 'pretty_version' => 'dev-main', 'version' => 'dev-main', - 'reference' => '6264efa3fb46998f7a15666ab11429fd72412056', + 'reference' => '02363db5c3d51997c84487b1825af36a409f02c6', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -11,9 +11,9 @@ ), 'versions' => array( 'gravityforms/gravity-tools' => array( - 'pretty_version' => '0.2.15', - 'version' => '0.2.15.0', - 'reference' => '1bdbbb2c008b5a3d788b0e2960e723033c9812f4', + 'pretty_version' => '0.2.17', + 'version' => '0.2.17.0', + 'reference' => 'c6d21cbf0b8c42437dd8f9cdcd0f8675b94ae609', 'type' => 'library', 'install_path' => __DIR__ . '/../gravityforms/gravity-tools', 'aliases' => array(), @@ -22,7 +22,7 @@ 'gravityforms/gravitysmtp' => array( 'pretty_version' => 'dev-main', 'version' => 'dev-main', - 'reference' => '6264efa3fb46998f7a15666ab11429fd72412056', + 'reference' => '02363db5c3d51997c84487b1825af36a409f02c6', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), diff --git a/vendor/gravityforms/gravity-tools/bin/namespace b/vendor/gravityforms/gravity-tools/bin/namespace new file mode 100755 index 0000000..31eb79c --- /dev/null +++ b/vendor/gravityforms/gravity-tools/bin/namespace @@ -0,0 +1,45 @@ +#!/usr/bin/env php + \ No newline at end of file diff --git a/vendor/gravityforms/gravity-tools/src/Utils/class-common.php b/vendor/gravityforms/gravity-tools/src/Utils/class-common.php index d7ad2a8..1f5f6f6 100644 --- a/vendor/gravityforms/gravity-tools/src/Utils/class-common.php +++ b/vendor/gravityforms/gravity-tools/src/Utils/class-common.php @@ -74,7 +74,7 @@ public function get_key() { * * @since 1.0 * - * @return string The version number or the version number and system type. + * @return string Returns the raw value from a SELECT version() or SELECT sqlite_version() db query. */ public static function get_dbms_version() { static $value; @@ -82,6 +82,10 @@ public static function get_dbms_version() { if ( empty( $value ) ) { global $wpdb; $value = $wpdb->get_var( 'SELECT version();' ); + + if ( ( get_class( $wpdb ) === 'WP_SQLite_DB' ) || $wpdb->last_error ) { + $value = $wpdb->get_var( 'SELECT sqlite_version();' ); + } } return $value; @@ -92,13 +96,18 @@ public static function get_dbms_version() { * * @since 1.0 * - * @return string either MySQL or MariaDB + * @return string either MySQL, MariaDB, or SQLite. */ public static function get_dbms_type() { static $type; + global $wpdb; if ( empty( $type ) ) { $type = strpos( strtolower( self::get_dbms_version() ), 'mariadb' ) ? 'MariaDB' : 'MySQL'; + + if ( get_class( $wpdb ) === 'WP_SQLite_DB' ) { + $type = 'SQLite'; + } } return $type;