From 871eefc0da38bea5913ec50cdc28f6859701b11c Mon Sep 17 00:00:00 2001 From: Dan Phiffer Date: Wed, 29 Jan 2025 07:19:32 -0500 Subject: [PATCH] upgrade plugins --- .../advanced-custom-fields-pro/acf.php | 58 +- .../assets/build/js/acf-input.min.js | 2 +- .../assets/build/js/pro/acf-pro-blocks.min.js | 2 +- .../includes/Updater/init.php | 126 + .../includes/admin/admin.php | 11 +- .../includes/assets.php | 1 + .../includes/class-acf-site-health.php | 2 +- .../includes/upgrades.php | 44 - .../includes/validation.php | 12 +- .../lang/acf-ar.l10n.php | 2 +- .../advanced-custom-fields-pro/lang/acf-ar.mo | Bin 10117 -> 10117 bytes .../advanced-custom-fields-pro/lang/acf-ar.po | 2 +- .../lang/acf-bg_BG.l10n.php | 2 +- .../lang/acf-bg_BG.mo | Bin 18977 -> 18977 bytes .../lang/acf-bg_BG.po | 2 +- .../lang/acf-ca.l10n.php | 2 +- .../advanced-custom-fields-pro/lang/acf-ca.mo | Bin 115587 -> 115110 bytes .../advanced-custom-fields-pro/lang/acf-ca.po | 702 +- .../lang/acf-cs_CZ.l10n.php | 2 +- .../lang/acf-cs_CZ.mo | Bin 105747 -> 105278 bytes .../lang/acf-cs_CZ.po | 698 +- .../lang/acf-da_DK.l10n.php | 2 +- .../lang/acf-de_CH.l10n.php | 2 +- .../lang/acf-de_CH.mo | Bin 8555 -> 8555 bytes .../lang/acf-de_CH.po | 2 +- .../lang/acf-de_DE.l10n.php | 2 +- .../lang/acf-de_DE.mo | Bin 113100 -> 117312 bytes .../lang/acf-de_DE.po | 850 +- .../lang/acf-de_DE_formal.l10n.php | 2 +- .../lang/acf-de_DE_formal.mo | Bin 113143 -> 117355 bytes .../lang/acf-de_DE_formal.po | 850 +- .../lang/acf-el.l10n.php | 2 +- .../advanced-custom-fields-pro/lang/acf-el.mo | Bin 56276 -> 56189 bytes .../advanced-custom-fields-pro/lang/acf-el.po | 696 +- .../lang/acf-en_CA.l10n.php | 2 +- .../lang/acf-en_GB.l10n.php | 2 +- .../lang/acf-en_GB.mo | Bin 131120 -> 133196 bytes .../lang/acf-en_GB.po | 726 +- .../lang/acf-en_ZA.l10n.php | 2 +- .../lang/acf-es_CL.l10n.php | 2 + .../lang/acf-es_CL.mo | Bin 0 -> 133119 bytes .../lang/acf-es_CL.po | 7723 +++++++++++++++++ .../lang/acf-es_CO.l10n.php | 2 +- .../lang/acf-es_CR.l10n.php | 2 +- .../lang/acf-es_EC.l10n.php | 2 +- .../lang/acf-es_ES.l10n.php | 2 +- .../lang/acf-es_ES.mo | Bin 149737 -> 150688 bytes .../lang/acf-es_ES.po | 729 +- .../lang/acf-es_MX.l10n.php | 2 +- .../lang/acf-es_MX.mo | Bin 44633 -> 44565 bytes .../lang/acf-es_MX.po | 692 +- .../lang/acf-es_VE.l10n.php | 2 +- .../lang/acf-fa_AF.l10n.php | 2 +- .../lang/acf-fa_AF.mo | Bin 55047 -> 54973 bytes .../lang/acf-fa_AF.po | 696 +- .../lang/acf-fa_IR.l10n.php | 2 +- .../lang/acf-fa_IR.mo | Bin 83566 -> 83492 bytes .../lang/acf-fa_IR.po | 696 +- .../lang/acf-fi.l10n.php | 2 +- .../advanced-custom-fields-pro/lang/acf-fi.mo | Bin 66475 -> 66385 bytes .../advanced-custom-fields-pro/lang/acf-fi.po | 692 +- .../lang/acf-fr_CA.l10n.php | 2 +- .../lang/acf-fr_CA.mo | Bin 9227 -> 9227 bytes .../lang/acf-fr_CA.po | 2 +- .../lang/acf-fr_FR.l10n.php | 2 +- .../lang/acf-fr_FR.mo | Bin 141138 -> 140658 bytes .../lang/acf-fr_FR.po | 702 +- .../lang/acf-gl_ES.l10n.php | 2 +- .../lang/acf-gl_ES.mo | Bin 46998 -> 46929 bytes .../lang/acf-gl_ES.po | 696 +- .../lang/acf-gu.l10n.php | 2 +- .../advanced-custom-fields-pro/lang/acf-gu.mo | Bin 127846 -> 133916 bytes .../advanced-custom-fields-pro/lang/acf-gu.po | 778 +- .../lang/acf-he_IL.l10n.php | 2 +- .../lang/acf-he_IL.mo | Bin 5745 -> 5745 bytes .../lang/acf-he_IL.po | 2 +- .../lang/acf-hr.l10n.php | 2 +- .../advanced-custom-fields-pro/lang/acf-hr.mo | Bin 7889 -> 7889 bytes .../advanced-custom-fields-pro/lang/acf-hr.po | 2 +- .../lang/acf-hu_HU.l10n.php | 2 +- .../lang/acf-hu_HU.mo | Bin 5325 -> 5325 bytes .../lang/acf-hu_HU.po | 2 +- .../lang/acf-id_ID.l10n.php | 2 +- .../lang/acf-id_ID.mo | Bin 8855 -> 8855 bytes .../lang/acf-id_ID.po | 2 +- .../lang/acf-it_IT.l10n.php | 2 +- .../lang/acf-it_IT.mo | Bin 51552 -> 144709 bytes .../lang/acf-it_IT.po | 2857 +++--- .../lang/acf-ja.l10n.php | 4 +- .../advanced-custom-fields-pro/lang/acf-ja.mo | Bin 77108 -> 87862 bytes .../advanced-custom-fields-pro/lang/acf-ja.po | 990 +-- .../lang/acf-ko_KR.l10n.php | 2 +- .../lang/acf-ko_KR.mo | Bin 141481 -> 142454 bytes .../lang/acf-ko_KR.po | 711 +- .../lang/acf-nb_NO.l10n.php | 2 +- .../lang/acf-nb_NO.mo | Bin 43869 -> 63127 bytes .../lang/acf-nb_NO.po | 1289 ++- .../lang/acf-nl_BE.l10n.php | 4 +- .../lang/acf-nl_BE.mo | Bin 139379 -> 140266 bytes .../lang/acf-nl_BE.po | 711 +- .../lang/acf-nl_NL.l10n.php | 2 +- .../lang/acf-nl_NL.mo | Bin 139527 -> 140355 bytes .../lang/acf-nl_NL.po | 738 +- .../lang/acf-nl_NL_formal.l10n.php | 2 +- .../lang/acf-nl_NL_formal.mo | Bin 134044 -> 134864 bytes .../lang/acf-nl_NL_formal.po | 738 +- .../lang/acf-pl_PL.l10n.php | 2 +- .../lang/acf-pl_PL.mo | Bin 121420 -> 122501 bytes .../lang/acf-pl_PL.po | 750 +- .../lang/acf-pt_AO.l10n.php | 2 +- .../lang/acf-pt_BR.l10n.php | 2 +- .../lang/acf-pt_BR.mo | Bin 116675 -> 116162 bytes .../lang/acf-pt_BR.po | 700 +- .../lang/acf-pt_PT.l10n.php | 2 +- .../lang/acf-pt_PT.mo | Bin 73032 -> 72959 bytes .../lang/acf-pt_PT.po | 696 +- .../lang/acf-ro_RO.l10n.php | 2 +- .../lang/acf-ro_RO.mo | Bin 50247 -> 50181 bytes .../lang/acf-ro_RO.po | 700 +- .../lang/acf-ru_RU.l10n.php | 2 +- .../lang/acf-ru_RU.mo | Bin 100930 -> 133912 bytes .../lang/acf-ru_RU.po | 1394 ++- .../lang/acf-sk_SK.l10n.php | 2 +- .../lang/acf-sk_SK.mo | Bin 5838 -> 5838 bytes .../lang/acf-sk_SK.po | 2 +- .../lang/acf-sv_SE.l10n.php | 2 +- .../lang/acf-sv_SE.mo | Bin 126068 -> 125920 bytes .../lang/acf-sv_SE.po | 702 +- .../lang/acf-tr_TR.l10n.php | 2 +- .../lang/acf-tr_TR.mo | Bin 145084 -> 144568 bytes .../lang/acf-tr_TR.po | 700 +- .../lang/acf-uk.l10n.php | 2 +- .../advanced-custom-fields-pro/lang/acf-uk.mo | Bin 59514 -> 72427 bytes .../advanced-custom-fields-pro/lang/acf-uk.po | 1042 +-- .../lang/acf-vi.l10n.php | 2 +- .../advanced-custom-fields-pro/lang/acf-vi.mo | Bin 150597 -> 151680 bytes .../advanced-custom-fields-pro/lang/acf-vi.po | 717 +- .../lang/acf-zh_CN.l10n.php | 2 +- .../lang/acf-zh_CN.mo | Bin 102405 -> 128044 bytes .../lang/acf-zh_CN.po | 2855 +++--- .../lang/acf-zh_TW.l10n.php | 2 +- .../lang/acf-zh_TW.mo | Bin 7873 -> 78858 bytes .../lang/acf-zh_TW.po | 7573 +++++++++++++++- .../lang/pro/acf.pot | 26 +- .../advanced-custom-fields-pro/readme.txt | 11 +- .../events-calendar-pro.php | 10 +- .../lang/tribe-events-calendar-pro-cs_CZ.mo | Bin 58512 -> 58300 bytes .../lang/tribe-events-calendar-pro-da_DK.mo | Bin 145371 -> 145184 bytes .../lang/tribe-events-calendar-pro-de_DE.mo | Bin 150351 -> 150150 bytes .../tribe-events-calendar-pro-de_DE_formal.mo | Bin 151618 -> 151411 bytes .../lang/tribe-events-calendar-pro-es_ES.mo | Bin 91372 -> 91165 bytes .../lang/tribe-events-calendar-pro-fi.mo | Bin 60452 -> 60240 bytes .../lang/tribe-events-calendar-pro-fr_FR.mo | Bin 81766 -> 81546 bytes .../lang/tribe-events-calendar-pro-it_IT.mo | Bin 58876 -> 58684 bytes .../lang/tribe-events-calendar-pro-nl_NL.mo | Bin 109525 -> 109314 bytes .../lang/tribe-events-calendar-pro-pl_PL.mo | Bin 48185 -> 47979 bytes .../lang/tribe-events-calendar-pro-pt_BR.mo | Bin 109041 -> 108838 bytes .../lang/tribe-events-calendar-pro-pt_PT.mo | Bin 0 -> 41510 bytes .../lang/tribe-events-calendar-pro-sl_SI.mo | Bin 142629 -> 142424 bytes .../lang/tribe-events-calendar-pro-sv_SE.mo | Bin 105638 -> 105447 bytes .../lang/tribe-events-calendar-pro-tr_TR.mo | Bin 65313 -> 65102 bytes .../lang/tribe-events-calendar-pro.pot | 130 +- .../plugins/events-calendar-pro/readme.txt | 31 +- .../src/Events_Pro/Admin/Settings.php | 7 + .../V1/Events/Event_Cleaner/Event_Cleaner.php | 9 +- .../Custom_Tables/V1/Templates/Templates.php | 2 +- .../Custom_Tables/V1/Updates/Controller.php | 4 +- .../Custom_Tables/V1/Views/V2/Provider.php | 94 +- .../Contracts/Taxonomy_Abstract.php | 4 +- .../events-calendar-pro/src/Tribe/Geo_Loc.php | 111 +- .../events-calendar-pro/src/Tribe/Main.php | 2 +- .../src/Tribe/Recurrence/Meta.php | 2 +- .../src/Tribe/Views/V2/Hooks.php | 17 + .../Virtual/Meetings/YouTube/Settings.php | 4 +- .../src/resources/css/views-skeleton.min.css | 2 +- .../js/events-virtual-youtube-settings.js | 15 + .../js/events-virtual-youtube-settings.min.js | 2 +- .../v2/organizer/meta/featured-image.php | 2 +- .../vendor/composer/InstalledVersions.php | 11 +- .../vendor/composer/installed.php | 4 +- .../lang/tribe-events-filter-view-bg_BG.mo | Bin 2682 -> 2682 bytes .../lang/tribe-events-filter-view-ca.mo | Bin 2023 -> 2023 bytes .../lang/tribe-events-filter-view-cs_CZ.mo | Bin 5406 -> 5406 bytes .../lang/tribe-events-filter-view-da_DK.mo | Bin 5615 -> 5615 bytes .../lang/tribe-events-filter-view-de_DE.mo | Bin 6130 -> 6130 bytes .../lang/tribe-events-filter-view-el.mo | Bin 2415 -> 2415 bytes .../lang/tribe-events-filter-view-es_ES.mo | Bin 6168 -> 6168 bytes .../lang/tribe-events-filter-view-fi.mo | Bin 2377 -> 2377 bytes .../lang/tribe-events-filter-view-fr_FR.mo | Bin 6084 -> 6084 bytes .../lang/tribe-events-filter-view-hr.mo | Bin 1668 -> 1668 bytes .../lang/tribe-events-filter-view-id_ID.mo | Bin 1922 -> 1922 bytes .../lang/tribe-events-filter-view-it_IT.mo | Bin 2078 -> 2078 bytes .../lang/tribe-events-filter-view-ja.mo | Bin 4812 -> 4812 bytes .../lang/tribe-events-filter-view-lt_LT.mo | Bin 2226 -> 2226 bytes .../lang/tribe-events-filter-view-nb_NO.mo | Bin 1708 -> 1708 bytes .../lang/tribe-events-filter-view-nl_NL.mo | Bin 5775 -> 5775 bytes .../lang/tribe-events-filter-view-pl_PL.mo | Bin 2052 -> 2052 bytes .../lang/tribe-events-filter-view-pt_BR.mo | Bin 6112 -> 6112 bytes .../lang/tribe-events-filter-view-pt_PT.mo | Bin 1865 -> 1865 bytes .../lang/tribe-events-filter-view-ro_RO.mo | Bin 1779 -> 1779 bytes .../lang/tribe-events-filter-view-ru_RU.mo | Bin 2458 -> 2458 bytes .../lang/tribe-events-filter-view-sl_SI.mo | Bin 6236 -> 6236 bytes .../lang/tribe-events-filter-view-sv_SE.mo | Bin 4531 -> 4531 bytes .../lang/tribe-events-filter-view-tr_TR.mo | Bin 5854 -> 5854 bytes .../lang/tribe-events-filter-view-uk.mo | Bin 2166 -> 2166 bytes .../lang/tribe-events-filter-view-zh_TW.mo | Bin 1771 -> 1771 bytes .../the-events-calendar-filterbar/readme.txt | 13 +- .../src/Tribe/Filters/Category.php | 74 +- .../src/Tribe/View.php | 2 +- .../the-events-calendar-filter-view.php | 2 +- .../vendor/composer/installed.php | 4 +- .../admin/api-auth-settings.php | 97 +- .../admin/ect-base.php | 2 +- .../admin/ect-codestar-settings.php | 1 + .../admin/ect-event-shortcode.php | 1 + .../elementor/ect-elementor-shortcode.php | 9 +- .../admin/gutenberg-block/dist/block.css | 2 +- .../admin/gutenberg-block/dist/block.js | 2 +- .../admin/visual-composer/ect-class-vc.php | 1 + .../assets/css/bootstrap.css | 6 +- .../assets/css/bootstrap.min.css | 2 +- .../assets/css/ect-accordion-view.css | 83 +- .../assets/css/ect-carousel-view.css | 128 +- .../assets/css/ect-common-styles.css | 23 - .../assets/css/ect-grid-view.css | 136 +- .../assets/css/ect-highlighted-layout.css | 39 +- .../assets/css/ect-list-view.css | 193 +- .../assets/css/ect-minimal-list-view.css | 133 +- .../assets/css/ect-slider-view.css | 115 +- .../assets/css/ect-timeline-view.css | 204 +- .../assets/js/ect-apply-filterbar.js | 8 +- .../assets/js/ect-highlighted-layout.js | 69 +- .../assets/js/shortcode-generator.js | 2 +- .../events-addons.code-workspace | 11 + .../includes/ect-get-event-data.php | 4 +- .../includes/ect-load-more-handler.php | 4 +- .../includes/ect-masonry-loop.php | 4 +- .../includes/ect-pro-styles.php | 6 +- .../dist/index.asset.php | 2 +- .../dist/style-index.css | 2 +- .../includes/events-shortcode-pro.php | 45 +- .../readme.txt | 12 +- .../templates/accordion/accordion-css.php | 62 +- .../templates/accordion/accordion.php | 121 +- .../templates/carousel/carousel-css.php | 58 +- .../templates/carousel/carousel.php | 110 +- .../templates/grid/grid-css.php | 72 +- .../templates/grid/grid.php | 94 +- .../highlighted-layout-css.php | 45 +- .../highlighted-layout/highlighted-layout.php | 77 +- .../templates/list/list-css.php | 58 +- .../templates/list/list.php | 75 +- .../templates/masonry/masonry.php | 76 +- .../minimal-list/minimal-list-css.php | 32 + .../templates/minimal-list/minimal-list.php | 49 +- .../templates/slider/slider-css.php | 16 + .../templates/slider/slider.php | 95 +- .../templates/timeline/timeline-css.php | 49 +- .../templates/timeline/timeline.php | 85 +- ...vents-calendar-templates-and-shortcode.php | 6 +- .../images/wizard-welcome-img.c3798c4a.png | Bin 0 -> 48189 bytes .../build/wizard/index-rtl.css | 1 + .../build/wizard/index.asset.php | 1 + .../build/wizard/index.css | 1 + .../the-events-calendar/build/wizard/index.js | 1 + .../the-events-calendar/common/README.md | 2 - .../common/lang/tribe-common.pot | 264 +- .../src/Common/Admin/Abstract_Admin_Page.php | 519 ++ .../Conditional_Content/Dismissible_Trait.php | 2 +- .../common/src/Common/Admin/Help_Hub/Hub.php | 22 +- .../Common/Admin/Traits/Is_Events_Page.php | 60 + .../Common/Admin/Traits/Is_Tickets_Page.php | 60 + .../common/src/Common/Configuration/readme.md | 60 - .../Admin/Tabs/Integrations.php | 63 +- .../Admin/Tabs/Tabs_Provider.php | 36 +- .../src/Common/Event_Automator/Hooks.php | 4 +- .../Plugin_Merge_Provider_Abstract.php | 2 +- .../src/Common/Notifications/Conditionals.php | 186 + .../src/Common/Notifications/Controller.php | 233 + .../Common/Notifications/Notifications.php | 286 + .../Common/Notifications/Readable_Trait.php | 189 + .../src/Common/Notifications/Template.php | 88 + .../common/src/Tribe/Admin/Help_Page.php | 4 +- .../src/Tribe/Admin/Upsell_Notice/README.md | 65 - .../common/src/Tribe/Cost_Utils.php | 4 +- .../common/src/Tribe/Log/README.md | 154 - .../common/src/Tribe/Main.php | 26 +- .../common/src/Tribe/Onboarding/README.md | 242 - .../common/src/Tribe/PUE/Checker.php | 221 +- .../common/src/Tribe/PUE/Notices.php | 146 +- .../common/src/Tribe/PUE/Utility.php | 58 +- .../Tribe/Service_Providers/Onboarding.php | 44 +- .../common/src/Tribe/Settings.php | 53 +- .../src/Tribe/Values/Abstract_Value.php | 5 +- .../common/src/Tribe/Values/Value_Update.php | 5 +- .../help-hub/support/iframe-content.php | 20 +- .../notifications/notification.php | 38 + .../src/admin-views/notifications/sidebar.php | 50 + .../src/functions/template-tags/general.php | 15 +- .../resources/css/customizer-controls.min.css | 2 +- .../common/src/resources/css/help-hub.min.css | 2 +- .../src/resources/css/ian-client.min.css | 1 + .../resources/css/tribe-common-admin.min.css | 2 +- .../src/resources/css/validation.min.css | 2 +- .../src/resources/images/icons/bell-hover.svg | 6 + .../resources/images/icons/bell-on-hover.svg | 8 + .../src/resources/images/icons/bell-on.svg | 5 + .../src/resources/images/icons/bell.svg | 3 + .../src/resources/images/icons/book.svg | 8 + .../src/resources/images/icons/close.svg | 3 + .../src/resources/images/icons/customize.svg | 6 + .../resources/images/icons/green-check.svg | 5 + .../images/onboarding-background.svg | 1 + .../src/resources/js/admin/help-hub-iframe.js | 30 +- .../resources/js/admin/help-hub-iframe.min.js | 2 +- .../common/src/resources/js/app/main.min.js | 2 +- .../common/src/resources/js/ian-client.js | 459 + .../common/src/resources/js/ian-client.min.js | 11 + .../src/resources/vendor/clipboard.min.js | 7 + .../common/src/resources/vendor/intro.min.js | 10 + .../src/resources/vendor/introjs.min.css | 1 + .../common/vendor/autoload.php | 2 +- .../vendor/composer/InstalledVersions.php | 11 +- .../vendor/composer/autoload_classmap.php | 248 - .../common/vendor/composer/autoload_real.php | 8 +- .../vendor/composer/autoload_static.php | 256 +- .../common/vendor/composer/installed.json | 60 +- .../common/vendor/composer/installed.php | 27 +- .../vendor-prefixed/autoload-classmap.php | 556 +- .../API/V3/Auth/Auth_Url_Cache_Decorator.php | 2 +- .../Uplink/API/V3/Auth/Token_Authorizer.php | 2 +- .../src/Uplink/API/Validation_Response.php | 2 +- .../uplink/src/Uplink/Admin/Ajax.php | 4 +- .../uplink/src/Uplink/Admin/Fields/Field.php | 2 +- .../uplink/src/Uplink/Admin/Fields/Form.php | 2 +- .../uplink/src/Uplink/Admin/License_Field.php | 6 +- .../src/Uplink/Admin/Package_Handler.php | 2 +- .../src/Uplink/Admin/Update_Prevention.php | 4 +- .../Uplink/Auth/Admin/Connect_Controller.php | 23 +- .../Auth/Admin/Disconnect_Controller.php | 25 +- .../src/Uplink/Auth/Token/Token_Manager.php | 2 +- .../Admin/Authorize_Button_Controller.php | 8 +- .../stellarwp/uplink/src/Uplink/Config.php | 10 +- .../ResourceAlreadyRegisteredException.php | 2 +- .../src/Uplink/Messages/Expired_Key.php | 6 +- .../src/Uplink/Messages/Network_Licensed.php | 2 +- .../Uplink/Messages/Network_Unlicensed.php | 2 +- .../src/Uplink/Messages/Nework_Expired.php | 2 +- .../uplink/src/Uplink/Messages/Unlicensed.php | 2 +- .../src/Uplink/Messages/Unreachable.php | 2 +- .../src/Uplink/Messages/Update_Available.php | 2 +- .../uplink/src/Uplink/Messages/Update_Now.php | 4 +- .../uplink/src/Uplink/Messages/Valid_Key.php | 4 +- .../uplink/src/Uplink/Notice/Notice.php | 4 +- .../Uplink/Storage/Drivers/Option_Storage.php | 2 +- .../stellarwp/uplink/src/Uplink/Uplink.php | 2 +- .../uplink/src/Uplink/View/WordPress_View.php | 2 +- .../src/admin-views/fields/settings.php | 2 +- .../src/views/admin/fields/key-status.php | 2 +- .../action-scheduler/action-scheduler.php | 0 .../classes/ActionScheduler_ActionClaim.php | 0 .../classes/ActionScheduler_ActionFactory.php | 0 .../classes/ActionScheduler_AdminView.php | 0 ...tionScheduler_AsyncRequest_QueueRunner.php | 0 .../classes/ActionScheduler_Compatibility.php | 0 .../ActionScheduler_DataController.php | 0 .../classes/ActionScheduler_DateTime.php | 0 .../classes/ActionScheduler_Exception.php | 0 .../ActionScheduler_FatalErrorMonitor.php | 0 ...ActionScheduler_InvalidActionException.php | 0 .../classes/ActionScheduler_ListTable.php | 0 .../classes/ActionScheduler_LogEntry.php | 0 .../classes/ActionScheduler_NullLogEntry.php | 0 .../classes/ActionScheduler_OptionLock.php | 0 .../classes/ActionScheduler_QueueCleaner.php | 0 .../classes/ActionScheduler_QueueRunner.php | 0 .../classes/ActionScheduler_Versions.php | 0 .../ActionScheduler_WPCommentCleaner.php | 0 .../ActionScheduler_wcSystemStatus.php | 0 .../ActionScheduler_WPCLI_Clean_Command.php | 0 .../ActionScheduler_WPCLI_QueueRunner.php | 0 ...ctionScheduler_WPCLI_Scheduler_command.php | 0 .../classes/WP_CLI/Migration_Command.php | 0 .../classes/WP_CLI/ProgressBar.php | 0 .../classes/abstracts/ActionScheduler.php | 0 .../ActionScheduler_Abstract_ListTable.php | 0 .../ActionScheduler_Abstract_QueueRunner.php | 0 ...onScheduler_Abstract_RecurringSchedule.php | 0 .../ActionScheduler_Abstract_Schedule.php | 0 .../ActionScheduler_Abstract_Schema.php | 0 .../abstracts/ActionScheduler_Lock.php | 0 .../abstracts/ActionScheduler_Logger.php | 0 .../abstracts/ActionScheduler_Store.php | 0 .../ActionScheduler_TimezoneHelper.php | 0 .../actions/ActionScheduler_Action.php | 0 .../ActionScheduler_CanceledAction.php | 0 .../ActionScheduler_FinishedAction.php | 0 .../actions/ActionScheduler_NullAction.php | 0 .../data-stores/ActionScheduler_DBLogger.php | 0 .../data-stores/ActionScheduler_DBStore.php | 0 .../ActionScheduler_HybridStore.php | 0 .../ActionScheduler_wpCommentLogger.php | 0 .../ActionScheduler_wpPostStore.php | 0 ...eduler_wpPostStore_PostStatusRegistrar.php | 0 ...cheduler_wpPostStore_PostTypeRegistrar.php | 0 ...cheduler_wpPostStore_TaxonomyRegistrar.php | 0 .../classes/migration/ActionMigrator.php | 0 .../ActionScheduler_DBStoreMigrator.php | 0 .../classes/migration/BatchFetcher.php | 0 .../classes/migration/Config.php | 0 .../classes/migration/Controller.php | 0 .../migration/DryRun_ActionMigrator.php | 0 .../classes/migration/DryRun_LogMigrator.php | 0 .../classes/migration/LogMigrator.php | 0 .../classes/migration/Runner.php | 0 .../classes/migration/Scheduler.php | 0 .../ActionScheduler_CanceledSchedule.php | 0 .../ActionScheduler_CronSchedule.php | 0 .../ActionScheduler_IntervalSchedule.php | 0 .../ActionScheduler_NullSchedule.php | 0 .../schedules/ActionScheduler_Schedule.php | 0 .../ActionScheduler_SimpleSchedule.php | 0 .../schema/ActionScheduler_LoggerSchema.php | 0 .../schema/ActionScheduler_StoreSchema.php | 0 ...eduler_Abstract_QueueRunner_Deprecated.php | 0 .../ActionScheduler_AdminView_Deprecated.php | 0 .../ActionScheduler_Schedule_Deprecated.php | 0 .../ActionScheduler_Store_Deprecated.php | 0 .../action-scheduler/deprecated/functions.php | 0 .../action-scheduler/functions.php | 0 .../action-scheduler/lib/WP_Async_Request.php | 0 .../lib/cron-expression/CronExpression.php | 0 .../CronExpression_AbstractField.php | 0 .../CronExpression_DayOfMonthField.php | 0 .../CronExpression_DayOfWeekField.php | 0 .../CronExpression_FieldFactory.php | 0 .../CronExpression_FieldInterface.php | 0 .../CronExpression_HoursField.php | 0 .../CronExpression_MinutesField.php | 0 .../CronExpression_MonthField.php | 0 .../CronExpression_YearField.php | 0 .../lang/the-events-calendar-ar.mo | Bin 48892 -> 0 bytes .../lang/the-events-calendar-bg_BG.mo | Bin 106288 -> 106299 bytes .../lang/the-events-calendar-ca.mo | Bin 301357 -> 300647 bytes .../lang/the-events-calendar-cs_CZ.mo | Bin 92241 -> 92295 bytes .../lang/the-events-calendar-da_DK.mo | Bin 228799 -> 228535 bytes .../lang/the-events-calendar-de_CH.mo | Bin 291750 -> 291506 bytes .../the-events-calendar-de_CH_informal.mo | Bin 291750 -> 291102 bytes .../lang/the-events-calendar-de_DE.mo | Bin 312414 -> 341687 bytes .../lang/the-events-calendar-de_DE_formal.mo | Bin 312414 -> 392443 bytes .../lang/the-events-calendar-el.mo | Bin 68628 -> 0 bytes .../lang/the-events-calendar-en_AU.mo | Bin 170854 -> 170610 bytes .../lang/the-events-calendar-en_CA.mo | Bin 206748 -> 206504 bytes .../lang/the-events-calendar-en_GB.mo | Bin 183158 -> 183102 bytes .../lang/the-events-calendar-en_NZ.mo | Bin 170862 -> 170618 bytes .../lang/the-events-calendar-en_ZA.mo | Bin 230660 -> 230384 bytes .../lang/the-events-calendar-es_AR.mo | Bin 175171 -> 174769 bytes .../lang/the-events-calendar-es_CL.mo | Bin 0 -> 362986 bytes .../lang/the-events-calendar-es_CO.mo | Bin 256648 -> 256257 bytes .../lang/the-events-calendar-es_DO.mo | Bin 224903 -> 224512 bytes .../lang/the-events-calendar-es_EC.mo | Bin 259347 -> 258991 bytes .../lang/the-events-calendar-es_ES.mo | Bin 363895 -> 364575 bytes .../lang/the-events-calendar-es_MX.mo | Bin 225475 -> 225153 bytes .../lang/the-events-calendar-es_VE.mo | Bin 256160 -> 255879 bytes .../lang/the-events-calendar-et.mo | Bin 44855 -> 0 bytes .../lang/the-events-calendar-eu.mo | Bin 63549 -> 0 bytes .../lang/the-events-calendar-fi.mo | Bin 114194 -> 114281 bytes .../lang/the-events-calendar-fr_CA.mo | Bin 67741 -> 0 bytes .../lang/the-events-calendar-fr_FR.mo | Bin 299471 -> 300238 bytes .../lang/the-events-calendar-gl_ES.mo | Bin 192676 -> 192636 bytes .../lang/the-events-calendar-he_IL.mo | Bin 66239 -> 0 bytes .../lang/the-events-calendar-hr.mo | Bin 101288 -> 101157 bytes .../lang/the-events-calendar-hu_HU.mo | Bin 184338 -> 184085 bytes .../lang/the-events-calendar-it_IT.mo | Bin 239793 -> 239557 bytes .../lang/the-events-calendar-ja.mo | Bin 244418 -> 245532 bytes .../lang/the-events-calendar-ko_KR.mo | Bin 370151 -> 396356 bytes .../lang/the-events-calendar-lt_LT.mo | Bin 118598 -> 118616 bytes .../lang/the-events-calendar-nb_NO.mo | Bin 133932 -> 135132 bytes .../lang/the-events-calendar-nl_BE.mo | Bin 178178 -> 177671 bytes .../lang/the-events-calendar-nl_NL.mo | Bin 357905 -> 382854 bytes .../lang/the-events-calendar-nl_NL_formal.mo | Bin 357905 -> 383324 bytes .../lang/the-events-calendar-nn_NO.mo | Bin 210294 -> 210039 bytes .../lang/the-events-calendar-pl_PL.mo | Bin 102315 -> 102399 bytes .../lang/the-events-calendar-pt_BR.mo | Bin 260682 -> 260441 bytes .../lang/the-events-calendar-pt_PT.mo | Bin 152061 -> 152145 bytes .../lang/the-events-calendar-ro_RO.mo | Bin 80231 -> 259700 bytes .../lang/the-events-calendar-ru_RU.mo | Bin 389125 -> 388141 bytes .../lang/the-events-calendar-sk_SK.mo | Bin 57275 -> 0 bytes .../lang/the-events-calendar-sl_SI.mo | Bin 354919 -> 354184 bytes .../lang/the-events-calendar-sq.mo | Bin 62665 -> 62688 bytes .../lang/the-events-calendar-sv_SE.mo | Bin 178598 -> 215533 bytes .../lang/the-events-calendar-tr_TR.mo | Bin 231571 -> 231311 bytes .../lang/the-events-calendar-uk.mo | Bin 132298 -> 156939 bytes .../lang/the-events-calendar-zh_CN.mo | Bin 244847 -> 244630 bytes .../lang/the-events-calendar-zh_HK.mo | Bin 130532 -> 130337 bytes .../lang/the-events-calendar.pot | 978 ++- .../plugins/the-events-calendar/readme.txt | 45 +- .../src/Events/Admin/Onboarding/API.php | 218 + .../Events/Admin/Onboarding/Controller.php | 156 + .../src/Events/Admin/Onboarding/Data.php | 798 ++ .../Events/Admin/Onboarding/Landing_Page.php | 607 ++ .../Admin/Onboarding/Steps/Abstract_Step.php | 132 + .../Steps/Contracts/Step_Interface.php | 47 + .../Events/Admin/Onboarding/Steps/Optin.php | 63 + .../Admin/Onboarding/Steps/Organizer.php | 73 + .../Admin/Onboarding/Steps/Settings.php | 170 + .../Events/Admin/Onboarding/Steps/Tickets.php | 97 + .../Events/Admin/Onboarding/Steps/Venue.php | 85 + .../Admin/Settings/Community_Upsell.php | 9 +- .../Admin/Settings/Filter_Bar_Upsell.php | 9 +- .../V1/Events/Event_Cleaner/Event_Cleaner.php | 9 +- .../Custom_Tables/V1/Migration/Provider.php | 41 +- .../Events/Editor/Full_Site/Controller.php | 1 - .../Plugins/Elementor/Controller.php | 6 + .../Elementor/Widgets/Event_Datetime.php | 12 +- .../Plugins/TEC_Tweaks_Extension/Provider.php | 13 +- .../Events/Notifications/Notifications.php | 47 + .../src/Events/Notifications/Provider.php | 44 + .../src/Events/Telemetry/Telemetry.php | 15 +- .../Admin/Notice/Install_Event_Tickets.php | 9 +- .../src/Tribe/Admin/Notice/Timezones.php | 16 +- .../src/Tribe/Admin/Settings.php | 13 +- .../src/Tribe/Aggregator/API/Origins.php | 10 + .../src/Tribe/Aggregator/Errors.php | 15 +- .../src/Tribe/Aggregator/Record/Abstract.php | 11 +- .../src/Tribe/Event_Cleaner_Scheduler.php | 16 +- .../the-events-calendar/src/Tribe/I18n.php | 4 +- .../Tribe/Importer/File_Importer_Events.php | 166 +- .../the-events-calendar/src/Tribe/Main.php | 16 +- .../the-events-calendar/src/Tribe/Venue.php | 4 +- .../src/Tribe/Views/V2/README.md | 342 - .../src/Tribe/Views/V2/Rest_Endpoint.php | 18 +- .../V2/iCalendar/Links/Link_Abstract.php | 2 +- .../notices/install-event-tickets.php | 2 +- .../tabs/display/display-calendar.php | 8 + .../src/functions/template-tags/link.php | 75 +- .../classic-event-details/frontend.min.css | 1 - .../css/app/event-category/frontend.min.css | 1 - .../css/app/event-datetime/frontend.min.css | 2 +- .../css/app/event-links/frontend.min.css | 2 +- .../css/app/event-organizer/frontend.min.css | 2 +- .../css/app/event-price/frontend.min.css | 2 +- .../css/app/event-tags/frontend.min.css | 1 - .../css/app/event-venue/frontend.min.css | 2 +- .../css/app/event-website/frontend.min.css | 2 +- .../src/resources/css/app/main.min.css | 29 +- .../src/resources/css/app/widgets.min.css | 2 +- .../css/custom-tables-v1/ct1-upgrade.css | 4 +- .../css/custom-tables-v1/ct1-upgrade.min.css | 2 +- .../src/resources/css/events-admin.min.css | 2 +- .../src/resources/js/app/main.min.js | 12 +- .../src/resources/js/app/vendor.min.js | 12 +- .../src/resources/js/app/widgets.min.js | 12 +- .../src/resources/js/views/README.md | 93 - .../elementor/widgets/event-calendar-link.php | 8 +- .../event-datetime/range-separator.php | 1 - .../elementor/widgets/event-export.php | 4 +- .../widgets/event-export/list-item.php | 2 +- .../src/views/v2/components/loader.php | 15 +- .../src/views/v2/components/messages.php | 2 +- .../the-events-calendar.php | 4 +- .../the-events-calendar/vendor/autoload.php | 2 +- .../vendor/composer/InstalledVersions.php | 11 +- .../vendor/composer/autoload_classmap.php | 321 - .../vendor/composer/autoload_real.php | 10 +- .../vendor/composer/autoload_static.php | 329 +- .../vendor/composer/installed.json | 49 +- .../vendor/composer/installed.php | 21 +- .../vendor/composer/platform_check.php | 26 - .../woocommerce/action-scheduler/README.md | 35 - .../action-scheduler/changelog.txt | 163 - .../lib/cron-expression/LICENSE | 19 - .../lib/cron-expression/README.md | 92 - .../woocommerce/action-scheduler/license.txt | 674 -- .../woocommerce/action-scheduler/readme.txt | 207 - .../plugins/user-switching/composer.json | 3 +- wp-content/plugins/user-switching/readme.md | 21 +- .../plugins/user-switching/user-switching.php | 6 +- wp-content/themes/blank/index.php | 0 wp-content/themes/blank/style.css | 0 .../themes/mediasanctuary/lib/redirects.php | 4 + .../sections/section-events.php | 22 +- 582 files changed, 37240 insertions(+), 21796 deletions(-) create mode 100644 wp-content/plugins/advanced-custom-fields-pro/includes/Updater/init.php create mode 100644 wp-content/plugins/advanced-custom-fields-pro/lang/acf-es_CL.l10n.php create mode 100644 wp-content/plugins/advanced-custom-fields-pro/lang/acf-es_CL.mo create mode 100644 wp-content/plugins/advanced-custom-fields-pro/lang/acf-es_CL.po create mode 100644 wp-content/plugins/events-calendar-pro/lang/tribe-events-calendar-pro-pt_PT.mo create mode 100644 wp-content/plugins/the-events-calendar-templates-and-shortcode/events-addons.code-workspace create mode 100644 wp-content/plugins/the-events-calendar/build/wizard/images/wizard-welcome-img.c3798c4a.png create mode 100644 wp-content/plugins/the-events-calendar/build/wizard/index-rtl.css create mode 100644 wp-content/plugins/the-events-calendar/build/wizard/index.asset.php create mode 100644 wp-content/plugins/the-events-calendar/build/wizard/index.css create mode 100644 wp-content/plugins/the-events-calendar/build/wizard/index.js delete mode 100644 wp-content/plugins/the-events-calendar/common/README.md create mode 100644 wp-content/plugins/the-events-calendar/common/src/Common/Admin/Abstract_Admin_Page.php create mode 100644 wp-content/plugins/the-events-calendar/common/src/Common/Admin/Traits/Is_Events_Page.php create mode 100644 wp-content/plugins/the-events-calendar/common/src/Common/Admin/Traits/Is_Tickets_Page.php delete mode 100644 wp-content/plugins/the-events-calendar/common/src/Common/Configuration/readme.md create mode 100644 wp-content/plugins/the-events-calendar/common/src/Common/Notifications/Conditionals.php create mode 100644 wp-content/plugins/the-events-calendar/common/src/Common/Notifications/Controller.php create mode 100644 wp-content/plugins/the-events-calendar/common/src/Common/Notifications/Notifications.php create mode 100644 wp-content/plugins/the-events-calendar/common/src/Common/Notifications/Readable_Trait.php create mode 100644 wp-content/plugins/the-events-calendar/common/src/Common/Notifications/Template.php delete mode 100644 wp-content/plugins/the-events-calendar/common/src/Tribe/Admin/Upsell_Notice/README.md delete mode 100644 wp-content/plugins/the-events-calendar/common/src/Tribe/Log/README.md delete mode 100644 wp-content/plugins/the-events-calendar/common/src/Tribe/Onboarding/README.md create mode 100644 wp-content/plugins/the-events-calendar/common/src/admin-views/notifications/notification.php create mode 100644 wp-content/plugins/the-events-calendar/common/src/admin-views/notifications/sidebar.php create mode 100644 wp-content/plugins/the-events-calendar/common/src/resources/css/ian-client.min.css create mode 100644 wp-content/plugins/the-events-calendar/common/src/resources/images/icons/bell-hover.svg create mode 100644 wp-content/plugins/the-events-calendar/common/src/resources/images/icons/bell-on-hover.svg create mode 100644 wp-content/plugins/the-events-calendar/common/src/resources/images/icons/bell-on.svg create mode 100644 wp-content/plugins/the-events-calendar/common/src/resources/images/icons/bell.svg create mode 100644 wp-content/plugins/the-events-calendar/common/src/resources/images/icons/book.svg create mode 100644 wp-content/plugins/the-events-calendar/common/src/resources/images/icons/close.svg create mode 100644 wp-content/plugins/the-events-calendar/common/src/resources/images/icons/customize.svg create mode 100644 wp-content/plugins/the-events-calendar/common/src/resources/images/icons/green-check.svg create mode 100644 wp-content/plugins/the-events-calendar/common/src/resources/images/onboarding-background.svg create mode 100644 wp-content/plugins/the-events-calendar/common/src/resources/js/ian-client.js create mode 100644 wp-content/plugins/the-events-calendar/common/src/resources/js/ian-client.min.js create mode 100644 wp-content/plugins/the-events-calendar/common/src/resources/vendor/clipboard.min.js create mode 100644 wp-content/plugins/the-events-calendar/common/src/resources/vendor/intro.min.js create mode 100644 wp-content/plugins/the-events-calendar/common/src/resources/vendor/introjs.min.css rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/action-scheduler.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionClaim.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_AdminView.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_Compatibility.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_DataController.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_DateTime.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_Exception.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_FatalErrorMonitor.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_InvalidActionException.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ListTable.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_LogEntry.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_NullLogEntry.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_OptionLock.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueCleaner.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_Versions.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_WPCommentCleaner.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/ActionScheduler_wcSystemStatus.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_Clean_Command.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_QueueRunner.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_Scheduler_command.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/WP_CLI/Migration_Command.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/WP_CLI/ProgressBar.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_RecurringSchedule.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_Schedule.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_Schema.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Lock.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Logger.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Store.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_TimezoneHelper.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/actions/ActionScheduler_Action.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/actions/ActionScheduler_CanceledAction.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/actions/ActionScheduler_FinishedAction.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/actions/ActionScheduler_NullAction.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBLogger.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_wpCommentLogger.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore_PostStatusRegistrar.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore_PostTypeRegistrar.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore_TaxonomyRegistrar.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/migration/ActionMigrator.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/migration/BatchFetcher.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/migration/Config.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/migration/Controller.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/migration/DryRun_ActionMigrator.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/migration/DryRun_LogMigrator.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/migration/LogMigrator.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/migration/Runner.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/migration/Scheduler.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_CanceledSchedule.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_CronSchedule.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_IntervalSchedule.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_NullSchedule.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_Schedule.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_SimpleSchedule.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_LoggerSchema.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/deprecated/ActionScheduler_Abstract_QueueRunner_Deprecated.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/deprecated/ActionScheduler_AdminView_Deprecated.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/deprecated/ActionScheduler_Schedule_Deprecated.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/deprecated/ActionScheduler_Store_Deprecated.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/deprecated/functions.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/functions.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/lib/WP_Async_Request.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_AbstractField.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfMonthField.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfWeekField.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_FieldFactory.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_FieldInterface.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_HoursField.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_MinutesField.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_MonthField.php (100%) rename wp-content/plugins/the-events-calendar/{ => common}/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_YearField.php (100%) delete mode 100644 wp-content/plugins/the-events-calendar/lang/the-events-calendar-ar.mo delete mode 100644 wp-content/plugins/the-events-calendar/lang/the-events-calendar-el.mo create mode 100644 wp-content/plugins/the-events-calendar/lang/the-events-calendar-es_CL.mo delete mode 100644 wp-content/plugins/the-events-calendar/lang/the-events-calendar-et.mo delete mode 100644 wp-content/plugins/the-events-calendar/lang/the-events-calendar-eu.mo delete mode 100644 wp-content/plugins/the-events-calendar/lang/the-events-calendar-fr_CA.mo delete mode 100644 wp-content/plugins/the-events-calendar/lang/the-events-calendar-he_IL.mo delete mode 100644 wp-content/plugins/the-events-calendar/lang/the-events-calendar-sk_SK.mo create mode 100644 wp-content/plugins/the-events-calendar/src/Events/Admin/Onboarding/API.php create mode 100644 wp-content/plugins/the-events-calendar/src/Events/Admin/Onboarding/Controller.php create mode 100644 wp-content/plugins/the-events-calendar/src/Events/Admin/Onboarding/Data.php create mode 100644 wp-content/plugins/the-events-calendar/src/Events/Admin/Onboarding/Landing_Page.php create mode 100644 wp-content/plugins/the-events-calendar/src/Events/Admin/Onboarding/Steps/Abstract_Step.php create mode 100644 wp-content/plugins/the-events-calendar/src/Events/Admin/Onboarding/Steps/Contracts/Step_Interface.php create mode 100644 wp-content/plugins/the-events-calendar/src/Events/Admin/Onboarding/Steps/Optin.php create mode 100644 wp-content/plugins/the-events-calendar/src/Events/Admin/Onboarding/Steps/Organizer.php create mode 100644 wp-content/plugins/the-events-calendar/src/Events/Admin/Onboarding/Steps/Settings.php create mode 100644 wp-content/plugins/the-events-calendar/src/Events/Admin/Onboarding/Steps/Tickets.php create mode 100644 wp-content/plugins/the-events-calendar/src/Events/Admin/Onboarding/Steps/Venue.php create mode 100644 wp-content/plugins/the-events-calendar/src/Events/Notifications/Notifications.php create mode 100644 wp-content/plugins/the-events-calendar/src/Events/Notifications/Provider.php delete mode 100644 wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/README.md delete mode 100644 wp-content/plugins/the-events-calendar/src/resources/js/views/README.md delete mode 100644 wp-content/plugins/the-events-calendar/vendor/composer/platform_check.php delete mode 100644 wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/README.md delete mode 100644 wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/changelog.txt delete mode 100644 wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/lib/cron-expression/LICENSE delete mode 100644 wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/lib/cron-expression/README.md delete mode 100644 wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/license.txt delete mode 100644 wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/readme.txt create mode 100644 wp-content/themes/blank/index.php create mode 100644 wp-content/themes/blank/style.css diff --git a/wp-content/plugins/advanced-custom-fields-pro/acf.php b/wp-content/plugins/advanced-custom-fields-pro/acf.php index 716ca9de0..056a6868b 100644 --- a/wp-content/plugins/advanced-custom-fields-pro/acf.php +++ b/wp-content/plugins/advanced-custom-fields-pro/acf.php @@ -9,7 +9,7 @@ * Plugin Name: Advanced Custom Fields PRO * Plugin URI: https://www.advancedcustomfields.com * Description: Customize WordPress with powerful, professional and intuitive fields. - * Version: 6.3.11 + * Version: 6.3.12 * Author: WP Engine * Author URI: https://wpengine.com/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=plugin_directory&utm_content=advanced_custom_fields * Update URI: false @@ -36,7 +36,7 @@ class ACF { * * @var string */ - public $version = '6.3.11'; + public $version = '6.3.12'; /** * The plugin settings array. @@ -228,10 +228,10 @@ public function initialize() { // Include legacy. acf_include( 'includes/legacy/legacy-locations.php' ); - // Include updater. - acf_include( 'includes/Updater/Updater.php' ); + // Include updater if included with this build. + acf_include( 'includes/Updater/init.php' ); - // Include PRO. + // Include PRO if included with this build. acf_include( 'pro/acf-pro.php' ); if ( is_admin() && function_exists( 'acf_is_pro' ) && ! acf_is_pro() ) { @@ -401,18 +401,6 @@ public function init() { new ACF\Blocks\Bindings(); } - // If we're ACF free, register the updater. - if ( function_exists( 'acf_is_pro' ) && ! acf_is_pro() ) { - acf_register_plugin_update( - array( - 'id' => 'acf', - 'slug' => acf_get_setting( 'slug' ), - 'basename' => acf_get_setting( 'basename' ), - 'version' => acf_get_setting( 'version' ), - ) - ); - } - /** * Fires after ACF is completely "initialized". * @@ -799,42 +787,6 @@ public function acf_plugin_activated() { } } - if ( ! class_exists( 'ACF_Updates' ) ) { - /** - * The main function responsible for returning the acf_updates singleton. - * Use this function like you would a global variable, except without needing to declare the global. - * - * Example: - * - * @since 5.5.12 - * - * @return ACF\Updater The singleton instance of Updater. - */ - function acf_updates() { - global $acf_updates; - if ( ! isset( $acf_updates ) ) { - $acf_updates = new ACF\Updater(); - } - return $acf_updates; - } - - /** - * Alias of acf_updates()->add_plugin(). - * - * @since 5.5.10 - * - * @param array $plugin Plugin data array. - */ - function acf_register_plugin_update( $plugin ) { - acf_updates()->add_plugin( $plugin ); - } - - /** - * Register a dummy ACF_Updates class for back compat. - */ - class ACF_Updates {} //phpcs:ignore -- Back compat. - } - /** * An ACF specific getter to replace `home_url` in our license checks to ensure we can avoid third party filters. * diff --git a/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js b/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js index 16fd0e015..e0ae36fa3 100644 --- a/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js +++ b/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js @@ -1 +1 @@ -(()=>{var e={4750:()=>{!function(e){acf.newCompatibility=function(e,t){return(t=t||{}).__proto__=e.__proto__,e.__proto__=t,e.compatibility=t,t},acf.getCompatibility=function(e){return e.compatibility||null};var t=acf.newCompatibility(acf,{l10n:{},o:{},fields:{},update:acf.set,add_action:acf.addAction,remove_action:acf.removeAction,do_action:acf.doAction,add_filter:acf.addFilter,remove_filter:acf.removeFilter,apply_filters:acf.applyFilters,parse_args:acf.parseArgs,disable_el:acf.disable,disable_form:acf.disable,enable_el:acf.enable,enable_form:acf.enable,update_user_setting:acf.updateUserSetting,prepare_for_ajax:acf.prepareForAjax,is_ajax_success:acf.isAjaxSuccess,remove_el:acf.remove,remove_tr:acf.remove,str_replace:acf.strReplace,render_select:acf.renderSelect,get_uniqid:acf.uniqid,serialize_form:acf.serialize,esc_html:acf.strEscape,str_sanitize:acf.strSanitize});t._e=function(e,t){e=e||"";var i=(t=t||"")?e+"."+t:e,a={"image.select":"Select Image","image.edit":"Edit Image","image.update":"Update Image"};if(a[i])return acf.__(a[i]);var n=this.l10n[e]||"";return t&&(n=n[t]||""),n},t.get_selector=function(t){var i=".acf-field";if(!t)return i;if(e.isPlainObject(t)){if(e.isEmptyObject(t))return i;for(var a in t){t=t[a];break}}return i+="-"+t,i=acf.strReplace("_","-",i),acf.strReplace("field-field-","field-",i)},t.get_fields=function(e,t,i){var a={is:e||"",parent:t||!1,suppressFilters:i||!1};return a.is&&(a.is=this.get_selector(a.is)),acf.findFields(a)},t.get_field=function(e,t){var i=this.get_fields.apply(this,arguments);return!!i.length&&i.first()},t.get_closest_field=function(e,t){return e.closest(this.get_selector(t))},t.get_field_wrap=function(e){return e.closest(this.get_selector())},t.get_field_key=function(e){return e.data("key")},t.get_field_type=function(e){return e.data("type")},t.get_data=function(e,t){return acf.parseArgs(e.data(),t)},t.maybe_get=function(e,t,i){void 0===i&&(i=null),keys=String(t).split(".");for(var a=0;a1){for(var c=0;c0?t.substr(0,n):t,o=n>0?t.substr(n+1):"",r=function(t){t.$el=e(this),acf.field_group&&(t.$field=t.$el.closest(".acf-field-object")),"function"==typeof a.event&&(t=a.event(t)),a[i].apply(a,arguments)};o?e(document).on(s,o,r):e(document).on(s,r)},get:function(e,t){return t=t||null,void 0!==this[e]&&(t=this[e]),t},set:function(e,t){return this[e]=t,"function"==typeof this["_set_"+e]&&this["_set_"+e].apply(this),this}},t.field=acf.model.extend({type:"",o:{},$field:null,_add_action:function(e,t){var i=this;e=e+"_field/type="+i.type,acf.add_action(e,(function(e){i.set("$field",e),i[t].apply(i,arguments)}))},_add_filter:function(e,t){var i=this;e=e+"_field/type="+i.type,acf.add_filter(e,(function(e){i.set("$field",e),i[t].apply(i,arguments)}))},_add_event:function(t,i){var a=this,n=t.substr(0,t.indexOf(" ")),s=t.substr(t.indexOf(" ")+1),o=acf.get_selector(a.type);e(document).on(n,o+" "+s,(function(t){var n=e(this),s=acf.get_closest_field(n,a.type);s.length&&(s.is(a.$field)||a.set("$field",s),t.$el=n,t.$field=s,a[i].apply(a,[t]))}))},_set_$field:function(){"function"==typeof this.focus&&this.focus()},doFocus:function(e){return this.set("$field",e)}}),acf.newCompatibility(acf.validation,{remove_error:function(e){acf.getField(e).removeError()},add_warning:function(e,t){acf.getField(e).showNotice({text:t,type:"warning",timeout:1e3})},fetch:acf.validateForm,enableSubmit:acf.enableSubmit,disableSubmit:acf.disableSubmit,showSpinner:acf.showSpinner,hideSpinner:acf.hideSpinner,unlockForm:acf.unlockForm,lockForm:acf.lockForm}),t.tooltip={tooltip:function(e,t){return acf.newTooltip({text:e,target:t}).$el},temp:function(e,t){acf.newTooltip({text:e,target:t,timeout:250})},confirm:function(e,t,i,a,n){acf.newTooltip({confirm:!0,text:i,target:e,confirm:function(){t(!0)},cancel:function(){t(!1)}})},confirm_remove:function(e,t){acf.newTooltip({confirmRemove:!0,target:e,confirm:function(){t(!0)},cancel:function(){t(!1)}})}},t.media=new acf.Model({activeFrame:!1,actions:{new_media_popup:"onNewMediaPopup"},frame:function(){return this.activeFrame},onNewMediaPopup:function(e){this.activeFrame=e.frame},popup:function(e){return e.mime_types&&(e.allowedTypes=e.mime_types),e.id&&(e.attachment=e.id),acf.newMediaPopup(e).frame}}),t.select2={init:function(e,t,i){return t.allow_null&&(t.allowNull=t.allow_null),t.ajax_action&&(t.ajaxAction=t.ajax_action),i&&(t.field=acf.getField(i)),acf.newSelect2(e,t)},destroy:function(e){return acf.getInstance(e).destroy()}},t.postbox={render:function(e){return e.edit_url&&(e.editLink=e.edit_url),e.edit_title&&(e.editTitle=e.edit_title),acf.newPostbox(e)}},acf.newCompatibility(acf.screen,{update:function(){return this.set.apply(this,arguments)},fetch:acf.screen.check}),t.ajax=acf.screen}(jQuery)},2747:()=>{!function(e){var __=acf.__,t=function(e){return e?""+e:""},i=function(e,i){return t(e).toLowerCase()===t(i).toLowerCase()},a=function(e,t){return t instanceof Array?1===t.length&&a(e,t[0]):parseFloat(e)===parseFloat(t)};const n=function(t,i){const a=e("");let n=`acf/fields/${i}/query`;"user"===i&&(n="acf/ajax/query_users");const s={action:n,field_key:t.data.key,s:"",type:t.data.key},o=acf.escAttr(i),r={field:!1,ajax:!0,ajaxAction:n,ajaxData:function(t){return s.paged=t.paged,s.s=t.s,s.conditional_logic=!0,s.include=e.isNumeric(t.s)?Number(t.s):"",acf.prepareForAjax(s)},escapeMarkup:function(e){return acf.escHtml(e)},templateSelection:function(e){return``+acf.escHtml(e.text)+""},templateResult:function(e){return''+acf.escHtml(e.text)+""+``+(e.id?e.id:"")+""}};return a.data("acfSelect2Props",r),a};var s=acf.Condition.extend({type:"hasPageLink",operator:"==",label:__("Page is equal to"),fieldTypes:["page_link"],match:function(e,t){return i(e.value,t.val())},choices:function(e){return n(e,"page_link")}});acf.registerConditionType(s);var o=acf.Condition.extend({type:"hasPageLinkNotEqual",operator:"!==",label:__("Page is not equal to"),fieldTypes:["page_link"],match:function(e,t){return!i(e.value,t.val())},choices:function(e){return n(e,"page_link")}});acf.registerConditionType(o);var r=acf.Condition.extend({type:"containsPageLink",operator:"==contains",label:__("Pages contain"),fieldTypes:["page_link"],match:function(e,t){const i=t.val(),a=e.value;let n=!1;return n=i instanceof Array?i.includes(a):i===a,n},choices:function(e){return n(e,"page_link")}});acf.registerConditionType(r);var c=acf.Condition.extend({type:"containsNotPageLink",operator:"!=contains",label:__("Pages do not contain"),fieldTypes:["page_link"],match:function(e,t){const i=t.val(),a=e.value;let n=!0;return n=i instanceof Array?!i.includes(a):i!==a,n},choices:function(e){return n(e,"page_link")}});acf.registerConditionType(c);var l=acf.Condition.extend({type:"hasAnyPageLink",operator:"!=empty",label:__("Has any page selected"),fieldTypes:["page_link"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!!i},choices:function(){return''}});acf.registerConditionType(l);var d=acf.Condition.extend({type:"hasNoPageLink",operator:"==empty",label:__("Has no page selected"),fieldTypes:["page_link"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!i},choices:function(){return''}});acf.registerConditionType(d);var u=acf.Condition.extend({type:"hasUser",operator:"==",label:__("User is equal to"),fieldTypes:["user"],match:function(e,t){return a(e.value,t.val())},choices:function(e){return n(e,"user")}});acf.registerConditionType(u);var f=acf.Condition.extend({type:"hasUserNotEqual",operator:"!==",label:__("User is not equal to"),fieldTypes:["user"],match:function(e,t){return!a(e.value,t.val())},choices:function(e){return n(e,"user")}});acf.registerConditionType(f);var p=acf.Condition.extend({type:"containsUser",operator:"==contains",label:__("Users contain"),fieldTypes:["user"],match:function(e,t){const i=t.val(),a=e.value;let n=!1;return n=i instanceof Array?i.includes(a):i===a,n},choices:function(e){return n(e,"user")}});acf.registerConditionType(p);var h=acf.Condition.extend({type:"containsNotUser",operator:"!=contains",label:__("Users do not contain"),fieldTypes:["user"],match:function(e,t){const i=t.val(),a=e.value;let n=!0;n=i instanceof Array?!i.includes(a):!i===a},choices:function(e){return n(e,"user")}});acf.registerConditionType(h);var g=acf.Condition.extend({type:"hasAnyUser",operator:"!=empty",label:__("Has any user selected"),fieldTypes:["user"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!!i},choices:function(){return''}});acf.registerConditionType(g);var m=acf.Condition.extend({type:"hasNoUser",operator:"==empty",label:__("Has no user selected"),fieldTypes:["user"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!i},choices:function(){return''}});acf.registerConditionType(m);var v=acf.Condition.extend({type:"hasRelationship",operator:"==",label:__("Relationship is equal to"),fieldTypes:["relationship"],match:function(e,t){return a(e.value,t.val())},choices:function(e){return n(e,"relationship")}});acf.registerConditionType(v);var y=acf.Condition.extend({type:"hasRelationshipNotEqual",operator:"!==",label:__("Relationship is not equal to"),fieldTypes:["relationship"],match:function(e,t){return!a(e.value,t.val())},choices:function(e){return n(e,"relationship")}});acf.registerConditionType(y);var b=acf.Condition.extend({type:"containsRelationship",operator:"==contains",label:__("Relationships contain"),fieldTypes:["relationship"],match:function(e,t){const i=t.val(),a=parseInt(e.value);let n=!1;return i instanceof Array&&(n=i.includes(a)),n},choices:function(e){return n(e,"relationship")}});acf.registerConditionType(b);var _=acf.Condition.extend({type:"containsNotRelationship",operator:"!=contains",label:__("Relationships do not contain"),fieldTypes:["relationship"],match:function(e,t){const i=t.val(),a=parseInt(e.value);let n=!0;return i instanceof Array&&(n=!i.includes(a)),n},choices:function(e){return n(e,"relationship")}});acf.registerConditionType(_);var w=acf.Condition.extend({type:"hasAnyRelation",operator:"!=empty",label:__("Has any relationship selected"),fieldTypes:["relationship"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!!i},choices:function(){return''}});acf.registerConditionType(w);var x=acf.Condition.extend({type:"hasNoRelation",operator:"==empty",label:__("Has no relationship selected"),fieldTypes:["relationship"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!i},choices:function(){return''}});acf.registerConditionType(x);var k=acf.Condition.extend({type:"hasPostObject",operator:"==",label:__("Post is equal to"),fieldTypes:["post_object"],match:function(e,t){return a(e.value,t.val())},choices:function(e){return n(e,"post_object")}});acf.registerConditionType(k);var $=acf.Condition.extend({type:"hasPostObjectNotEqual",operator:"!==",label:__("Post is not equal to"),fieldTypes:["post_object"],match:function(e,t){return!a(e.value,t.val())},choices:function(e){return n(e,"post_object")}});acf.registerConditionType($);var T=acf.Condition.extend({type:"containsPostObject",operator:"==contains",label:__("Posts contain"),fieldTypes:["post_object"],match:function(e,t){const i=t.val(),a=e.value;let n=!1;return n=i instanceof Array?i.includes(a):i===a,n},choices:function(e){return n(e,"post_object")}});acf.registerConditionType(T);var C=acf.Condition.extend({type:"containsNotPostObject",operator:"!=contains",label:__("Posts do not contain"),fieldTypes:["post_object"],match:function(e,t){const i=t.val(),a=e.value;let n=!0;return n=i instanceof Array?!i.includes(a):i!==a,n},choices:function(e){return n(e,"post_object")}});acf.registerConditionType(C);var F=acf.Condition.extend({type:"hasAnyPostObject",operator:"!=empty",label:__("Has any post selected"),fieldTypes:["post_object"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!!i},choices:function(){return''}});acf.registerConditionType(F);var A=acf.Condition.extend({type:"hasNoPostObject",operator:"==empty",label:__("Has no post selected"),fieldTypes:["post_object"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!i},choices:function(){return''}});acf.registerConditionType(A);var P=acf.Condition.extend({type:"hasTerm",operator:"==",label:__("Term is equal to"),fieldTypes:["taxonomy"],match:function(e,t){return a(e.value,t.val())},choices:function(e){return n(e,"taxonomy")}});acf.registerConditionType(P);var j=acf.Condition.extend({type:"hasTermNotEqual",operator:"!==",label:__("Term is not equal to"),fieldTypes:["taxonomy"],match:function(e,t){return!a(e.value,t.val())},choices:function(e){return n(e,"taxonomy")}});acf.registerConditionType(j);var S=acf.Condition.extend({type:"containsTerm",operator:"==contains",label:__("Terms contain"),fieldTypes:["taxonomy"],match:function(e,t){const i=t.val(),a=e.value;let n=!1;return i instanceof Array&&(n=i.includes(a)),n},choices:function(e){return n(e,"taxonomy")}});acf.registerConditionType(S);var E=acf.Condition.extend({type:"containsNotTerm",operator:"!=contains",label:__("Terms do not contain"),fieldTypes:["taxonomy"],match:function(e,t){const i=t.val(),a=e.value;let n=!0;return i instanceof Array&&(n=!i.includes(a)),n},choices:function(e){return n(e,"taxonomy")}});acf.registerConditionType(E);var M=acf.Condition.extend({type:"hasAnyTerm",operator:"!=empty",label:__("Has any term selected"),fieldTypes:["taxonomy"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!!i},choices:function(){return''}});acf.registerConditionType(M);var D=acf.Condition.extend({type:"hasNoTerm",operator:"==empty",label:__("Has no term selected"),fieldTypes:["taxonomy"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!i},choices:function(){return''}});acf.registerConditionType(D);var L=acf.Condition.extend({type:"hasValue",operator:"!=empty",label:__("Has any value"),fieldTypes:["text","textarea","number","range","email","url","password","image","file","wysiwyg","oembed","select","checkbox","radio","button_group","link","google_map","date_picker","date_time_picker","time_picker","color_picker","icon_picker"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!!i},choices:function(e){return''}});acf.registerConditionType(L);var V=L.extend({type:"hasNoValue",operator:"==empty",label:__("Has no value"),match:function(e,t){return!L.prototype.match.apply(this,arguments)}});acf.registerConditionType(V);var R=acf.Condition.extend({type:"equalTo",operator:"==",label:__("Value is equal to"),fieldTypes:["text","textarea","number","range","email","url","password"],match:function(e,t){return acf.isNumeric(e.value)?a(e.value,t.val()):i(e.value,t.val())},choices:function(e){return''}});acf.registerConditionType(R);var z=R.extend({type:"notEqualTo",operator:"!=",label:__("Value is not equal to"),match:function(e,t){return!R.prototype.match.apply(this,arguments)}});acf.registerConditionType(z);var O=acf.Condition.extend({type:"patternMatch",operator:"==pattern",label:__("Value matches pattern"),fieldTypes:["text","textarea","email","url","password","wysiwyg"],match:function(e,i){return a=i.val(),n=e.value,s=new RegExp(t(n),"gi"),t(a).match(s);var a,n,s},choices:function(e){return''}});acf.registerConditionType(O);var I=acf.Condition.extend({type:"contains",operator:"==contains",label:__("Value contains"),fieldTypes:["text","textarea","number","email","url","password","wysiwyg","oembed","select"],match:function(e,i){return a=i.val(),n=e.value,t(a).indexOf(t(n))>-1;var a,n},choices:function(e){return''}});acf.registerConditionType(I);var N=R.extend({type:"trueFalseEqualTo",choiceType:"select",fieldTypes:["true_false"],choices:function(e){return[{id:1,text:__("Checked")}]}});acf.registerConditionType(N);var B=z.extend({type:"trueFalseNotEqualTo",choiceType:"select",fieldTypes:["true_false"],choices:function(e){return[{id:1,text:__("Checked")}]}});acf.registerConditionType(B);var Q=acf.Condition.extend({type:"selectEqualTo",operator:"==",label:__("Value is equal to"),fieldTypes:["select","checkbox","radio","button_group"],match:function(e,a){var n,s=a.val();return s instanceof Array?(n=e.value,s.map((function(e){return t(e)})).indexOf(n)>-1):i(e.value,s)},choices:function(e){var t=[],i=e.$setting("choices textarea").val().split("\n");return e.$input("allow_null").prop("checked")&&t.push({id:"",text:__("Null")}),i.map((function(e){(e=e.split(":"))[1]=e[1]||e[0],t.push({id:e[0].trim(),text:e[1].trim()})})),t}});acf.registerConditionType(Q);var q=Q.extend({type:"selectNotEqualTo",operator:"!=",label:__("Value is not equal to"),match:function(e,t){return!Q.prototype.match.apply(this,arguments)}});acf.registerConditionType(q);var H=acf.Condition.extend({type:"greaterThan",operator:">",label:__("Value is greater than"),fieldTypes:["number","range"],match:function(e,t){var i,a,n=t.val();return n instanceof Array&&(n=n.length),i=n,a=e.value,parseFloat(i)>parseFloat(a)},choices:function(e){return''}});acf.registerConditionType(H);var U=H.extend({type:"lessThan",operator:"<",label:__("Value is less than"),match:function(e,t){var i,a,n=t.val();return n instanceof Array&&(n=n.length),null==n||!1===n||(i=n,a=e.value,parseFloat(i)'}});acf.registerConditionType(U);var G=H.extend({type:"selectionGreaterThan",label:__("Selection is greater than"),fieldTypes:["checkbox","select","post_object","page_link","relationship","taxonomy","user"]});acf.registerConditionType(G);var K=U.extend({type:"selectionLessThan",label:__("Selection is less than"),fieldTypes:["checkbox","select","post_object","page_link","relationship","taxonomy","user"]});acf.registerConditionType(K)}(jQuery)},8903:()=>{!function(e){var t=[];acf.Condition=acf.Model.extend({type:"",operator:"==",label:"",choiceType:"input",fieldTypes:[],data:{conditions:!1,field:!1,rule:{}},events:{change:"change",keyup:"change",enableField:"change",disableField:"change"},setup:function(t){e.extend(this.data,t)},getEventTarget:function(e,t){return e||this.get("field").$el},change:function(e,t){this.get("conditions").change(e)},match:function(e,t){return!1},calculate:function(){return this.match(this.get("rule"),this.get("field"))},choices:function(e){return''}}),acf.newCondition=function(e,t){var i=t.get("field"),a=i.getField(e.field);if(!i||!a)return!1;var n={rule:e,target:i,conditions:t,field:a},s=a.get("type"),o=e.operator;return new(acf.getConditionTypes({fieldType:s,operator:o})[0]||acf.Condition)(n)};var i=function(e){return acf.strPascalCase(e||"")+"Condition"};acf.registerConditionType=function(e){var a=e.prototype.type,n=i(a);acf.models[n]=e,t.push(a)},acf.getConditionType=function(e){var t=i(e);return acf.models[t]||!1},acf.registerConditionForFieldType=function(e,t){var i=acf.getConditionType(e);i&&i.prototype.fieldTypes.push(t)},acf.getConditionTypes=function(e){e=acf.parseArgs(e,{fieldType:"",operator:""});var i=[];return t.map((function(t){var a=acf.getConditionType(t),n=a.prototype.fieldTypes,s=a.prototype.operator;e.fieldType&&-1===n.indexOf(e.fieldType)||e.operator&&s!==e.operator||i.push(a)})),i}}(jQuery)},3858:()=>{!function(e){var t="conditional_logic",i=(new acf.Model({id:"conditionsManager",priority:20,actions:{new_field:"onNewField"},onNewField:function(e){e.has("conditions")&&e.getConditions().render()}}),function(t,i){var a=acf.getFields({key:i,sibling:t.$el,suppressFilters:!0});return a.length||(a=acf.getFields({key:i,parent:t.$el.parent(),suppressFilters:!0})),!a.length&&e(".acf-field-settings").length&&(a=acf.getFields({key:i,parent:t.$el.parents(".acf-field-settings:first"),suppressFilters:!0})),!a.length&&e("#acf-basic-settings").length&&(a=acf.getFields({key:i,parent:e("#acf-basic-settings"),suppressFilters:!0})),!!a.length&&a[0]});acf.Field.prototype.getField=function(e){var t=i(this,e);if(t)return t;for(var a=this.parents(),n=0;n{!function(e){var t=0,i=acf.Field.extend({type:"accordion",wait:"",$control:function(){return this.$(".acf-fields:first")},initialize:function(){if(!this.$el.hasClass("acf-accordion")&&!this.$el.is("td")){if(this.get("endpoint"))return this.remove();var i=this.$el,n=this.$labelWrap(),s=this.$inputWrap(),o=this.$control(),r=s.children(".description");if(r.length&&n.append(r),this.$el.is("tr")){var c=this.$el.closest("table"),l=e('
'),d=e('
'),u=e(''),f=e("");l.append(n.html()),u.append(f),d.append(u),s.append(l),s.append(d),n.remove(),o.remove(),s.attr("colspan",2),n=l,s=d,o=f}i.addClass("acf-accordion"),n.addClass("acf-accordion-title"),s.addClass("acf-accordion-content"),t++,this.get("multi_expand")&&i.attr("multi-expand",1);var p=acf.getPreference("this.accordions")||[];void 0!==p[t-1]&&this.set("open",p[t-1]),this.get("open")&&(i.addClass("-open"),s.css("display","block")),n.prepend(a.iconHtml({open:this.get("open")}));var h=i.parent();o.addClass(h.hasClass("-left")?"-left":""),o.addClass(h.hasClass("-clear")?"-clear":""),o.append(i.nextUntil(".acf-field-accordion",".acf-field")),o.removeAttr("data-open data-multi_expand data-endpoint")}}});acf.registerFieldType(i);var a=new acf.Model({actions:{unload:"onUnload"},events:{"click .acf-accordion-title":"onClick","invalidField .acf-accordion":"onInvalidField"},isOpen:function(e){return e.hasClass("-open")},toggle:function(e){this.isOpen(e)?this.close(e):this.open(e)},iconHtml:function(e){return acf.isGutenberg()?e.open?'':'':e.open?'':''},open:function(t){var i=acf.isGutenberg()?0:300;t.find(".acf-accordion-content:first").slideDown(i).css("display","block"),t.find(".acf-accordion-icon:first").replaceWith(this.iconHtml({open:!0})),t.addClass("-open"),acf.doAction("show",t),t.attr("multi-expand")||t.siblings(".acf-accordion.-open").each((function(){a.close(e(this))}))},close:function(e){var t=acf.isGutenberg()?0:300;e.find(".acf-accordion-content:first").slideUp(t),e.find(".acf-accordion-icon:first").replaceWith(this.iconHtml({open:!1})),e.removeClass("-open"),acf.doAction("hide",e)},onClick:function(e,t){e.preventDefault(),this.toggle(t.parent())},onInvalidField:function(e,t){this.busy||(this.busy=!0,this.setTimeout((function(){this.busy=!1}),1e3),this.open(t))},onUnload:function(t){var i=[];e(".acf-accordion").each((function(){var t=e(this).hasClass("-open")?1:0;i.push(t)})),i.length&&acf.setPreference("this.accordions",i)}})}(jQuery)},6289:()=>{var e;jQuery,e=acf.Field.extend({type:"button_group",events:{'click input[type="radio"]':"onClick"},$control:function(){return this.$(".acf-button-group")},$input:function(){return this.$("input:checked")},setValue:function(e){this.$('input[value="'+e+'"]').prop("checked",!0).trigger("change")},onClick:function(e,t){var i=t.parent("label"),a=i.hasClass("selected");this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&a&&(i.removeClass("selected"),t.prop("checked",!1).trigger("change"))}}),acf.registerFieldType(e)},774:()=>{var e,t;e=jQuery,t=acf.Field.extend({type:"checkbox",events:{"change input":"onChange","click .acf-add-checkbox":"onClickAdd","click .acf-checkbox-toggle":"onClickToggle","click .acf-checkbox-custom":"onClickCustom"},$control:function(){return this.$(".acf-checkbox-list")},$toggle:function(){return this.$(".acf-checkbox-toggle")},$input:function(){return this.$('input[type="hidden"]')},$inputs:function(){return this.$('input[type="checkbox"]').not(".acf-checkbox-toggle")},getValue:function(){var t=[];return this.$(":checked").each((function(){t.push(e(this).val())})),!!t.length&&t},onChange:function(e,t){var i=t.prop("checked"),a=t.parent("label"),n=this.$toggle();i?a.addClass("selected"):a.removeClass("selected"),n.length&&(0==this.$inputs().not(":checked").length?n.prop("checked",!0):n.prop("checked",!1))},onClickAdd:function(e,t){var i='
  • ';t.parent("li").before(i),t.parent("li").parent().find('input[type="text"]').last().focus()},onClickToggle:function(e,t){var i=t.prop("checked"),a=this.$('input[type="checkbox"]'),n=this.$("label");a.prop("checked",i),i?n.addClass("selected"):n.removeClass("selected")},onClickCustom:function(e,t){var i=t.prop("checked"),a=t.next('input[type="text"]');i?a.prop("disabled",!1):(a.prop("disabled",!0),""==a.val()&&t.parent("li").remove())}}),acf.registerFieldType(t)},3623:()=>{var e;jQuery,e=acf.Field.extend({type:"color_picker",wait:"load",events:{duplicateField:"onDuplicate"},$control:function(){return this.$(".acf-color-picker")},$input:function(){return this.$('input[type="hidden"]')},$inputText:function(){return this.$('input[type="text"]')},setValue:function(e){acf.val(this.$input(),e),this.$inputText().iris("color",e)},initialize:function(){var e=this.$input(),t=this.$inputText(),i=function(i){setTimeout((function(){acf.val(e,t.val())}),1)},a={defaultColor:!1,palettes:!0,hide:!0,change:i,clear:i};a=acf.applyFilters("color_picker_args",a,this),t.wpColorPicker(a)},onDuplicate:function(e,t,i){$colorPicker=i.find(".wp-picker-container"),$inputText=i.find('input[type="text"]'),$colorPicker.replaceWith($inputText)}}),acf.registerFieldType(e)},9982:()=>{var e,t;e=jQuery,t=acf.Field.extend({type:"date_picker",events:{'blur input[type="text"]':"onBlur",duplicateField:"onDuplicate"},$control:function(){return this.$(".acf-date-picker")},$input:function(){return this.$('input[type="hidden"]')},$inputText:function(){return this.$('input[type="text"]')},initialize:function(){if(this.has("save_format"))return this.initializeCompatibility();var e=this.$input(),t=this.$inputText(),i={dateFormat:this.get("date_format"),altField:e,altFormat:"yymmdd",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day")};i=acf.applyFilters("date_picker_args",i,this),acf.newDatePicker(t,i),acf.doAction("date_picker_init",t,i,this)},initializeCompatibility:function(){var e=this.$input(),t=this.$inputText();t.val(e.val());var i={dateFormat:this.get("date_format"),altField:e,altFormat:this.get("save_format"),changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day")},a=(i=acf.applyFilters("date_picker_args",i,this)).dateFormat;i.dateFormat=this.get("save_format"),acf.newDatePicker(t,i),t.datepicker("option","dateFormat",a),acf.doAction("date_picker_init",t,i,this)},onBlur:function(){this.$inputText().val()||acf.val(this.$input(),"")},onDuplicate:function(e,t,i){i.find('input[type="text"]').removeClass("hasDatepicker").removeAttr("id")}}),acf.registerFieldType(t),new acf.Model({priority:5,wait:"ready",initialize:function(){var t=acf.get("locale"),i=acf.get("rtl"),a=acf.get("datePickerL10n");return!!a&&void 0!==e.datepicker&&(a.isRTL=i,e.datepicker.regional[t]=a,void e.datepicker.setDefaults(a))}}),acf.newDatePicker=function(t,i){if(void 0===e.datepicker)return!1;i=i||{},t.datepicker(i),e("body > #ui-datepicker-div").exists()&&e("body > #ui-datepicker-div").wrap('
    ')}},960:()=>{var e,t;e=jQuery,t=acf.models.DatePickerField.extend({type:"date_time_picker",$control:function(){return this.$(".acf-date-time-picker")},initialize:function(){var e=this.$input(),t=this.$inputText(),i={dateFormat:this.get("date_format"),timeFormat:this.get("time_format"),altField:e,altFieldTimeOnly:!1,altFormat:"yy-mm-dd",altTimeFormat:"HH:mm:ss",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day"),controlType:"select",oneLine:!0};i=acf.applyFilters("date_time_picker_args",i,this),acf.newDateTimePicker(t,i),acf.doAction("date_time_picker_init",t,i,this)}}),acf.registerFieldType(t),new acf.Model({priority:5,wait:"ready",initialize:function(){var t=acf.get("locale"),i=acf.get("rtl"),a=acf.get("dateTimePickerL10n");return!!a&&void 0!==e.timepicker&&(a.isRTL=i,e.timepicker.regional[t]=a,void e.timepicker.setDefaults(a))}}),acf.newDateTimePicker=function(t,i){if(void 0===e.timepicker)return!1;i=i||{},t.datetimepicker(i),e("body > #ui-datepicker-div").exists()&&e("body > #ui-datepicker-div").wrap('
    ')}},2093:()=>{var e,t;e=jQuery,t=acf.models.ImageField.extend({type:"file",$control:function(){return this.$(".acf-file-uploader")},$input:function(){return this.$('input[type="hidden"]:first')},validateAttachment:function(e){return void 0!==(e=e||{}).id&&(e=e.attributes),acf.parseArgs(e,{url:"",alt:"",title:"",filename:"",filesizeHumanReadable:"",icon:"/wp-includes/images/media/default.png"})},render:function(e){e=this.validateAttachment(e),this.$("img").attr({src:e.icon,alt:e.alt,title:e.title}),this.$('[data-name="title"]').text(e.title),this.$('[data-name="filename"]').text(e.filename).attr("href",e.url),this.$('[data-name="filesize"]').text(e.filesizeHumanReadable);var t=e.id||"";acf.val(this.$input(),t),t?this.$control().addClass("has-value"):this.$control().removeClass("has-value")},selectAttachment:function(){var t=this.parent(),i=t&&"repeater"===t.get("type");acf.newMediaPopup({mode:"select",title:acf.__("Select File"),field:this.get("key"),multiple:i,library:this.get("library"),allowedTypes:this.get("mime_types"),select:e.proxy((function(e,i){i>0?this.append(e,t):this.render(e)}),this)})},editAttachment:function(){var t=this.val();if(!t)return!1;acf.newMediaPopup({mode:"edit",title:acf.__("Edit File"),button:acf.__("Update File"),attachment:t,field:this.get("key"),select:e.proxy((function(e,t){this.render(e)}),this)})}}),acf.registerFieldType(t)},1163:()=>{!function(e){var t=acf.Field.extend({type:"google_map",map:!1,wait:"load",events:{'click a[data-name="clear"]':"onClickClear",'click a[data-name="locate"]':"onClickLocate",'click a[data-name="search"]':"onClickSearch","keydown .search":"onKeydownSearch","keyup .search":"onKeyupSearch","focus .search":"onFocusSearch","blur .search":"onBlurSearch",showField:"onShow"},$control:function(){return this.$(".acf-google-map")},$search:function(){return this.$(".search")},$canvas:function(){return this.$(".canvas")},setState:function(e){this.$control().removeClass("-value -loading -searching"),"default"===e&&(e=this.val()?"value":""),e&&this.$control().addClass("-"+e)},getValue:function(){var e=this.$input().val();return!!e&&JSON.parse(e)},setValue:function(e,t){var i="";e&&(i=JSON.stringify(e)),acf.val(this.$input(),i),t||(this.renderVal(e),acf.doAction("google_map_change",e,this.map,this))},renderVal:function(e){e?(this.setState("value"),this.$search().val(e.address),this.setPosition(e.lat,e.lng)):(this.setState(""),this.$search().val(""),this.map.marker.setVisible(!1))},newLatLng:function(e,t){return new google.maps.LatLng(parseFloat(e),parseFloat(t))},setPosition:function(e,t){this.map.marker.setPosition({lat:parseFloat(e),lng:parseFloat(t)}),this.map.marker.setVisible(!0),this.center()},center:function(){var e=this.map.marker.getPosition();if(e)var t=e.lat(),i=e.lng();else t=this.get("lat"),i=this.get("lng");this.map.setCenter({lat:parseFloat(t),lng:parseFloat(i)})},initialize:function(){!function(t){if(a)return t();if(acf.isset(window,"google","maps","Geocoder"))return a=new google.maps.Geocoder,t();if(acf.addAction("google_map_api_loaded",t),!i){var n=acf.get("google_map_api");n&&(i=!0,e.ajax({url:n,dataType:"script",cache:!0,success:function(){a=new google.maps.Geocoder,acf.doAction("google_map_api_loaded")}}))}}(this.initializeMap.bind(this))},initializeMap:function(){var e=this.getValue(),t=acf.parseArgs(e,{zoom:this.get("zoom"),lat:this.get("lat"),lng:this.get("lng")}),i={scrollwheel:!1,zoom:parseInt(t.zoom),center:{lat:parseFloat(t.lat),lng:parseFloat(t.lng)},mapTypeId:google.maps.MapTypeId.ROADMAP,marker:{draggable:!0,raiseOnDrag:!0},autocomplete:{}};i=acf.applyFilters("google_map_args",i,this);var a=new google.maps.Map(this.$canvas()[0],i),n=acf.parseArgs(i.marker,{draggable:!0,raiseOnDrag:!0,map:a});n=acf.applyFilters("google_map_marker_args",n,this);var s=new google.maps.Marker(n),o=!1;if(acf.isset(google,"maps","places","Autocomplete")){var r=i.autocomplete||{};r=acf.applyFilters("google_map_autocomplete_args",r,this),(o=new google.maps.places.Autocomplete(this.$search()[0],r)).bindTo("bounds",a)}this.addMapEvents(this,a,s,o),a.acf=this,a.marker=s,a.autocomplete=o,this.map=a,e&&this.setPosition(e.lat,e.lng),acf.doAction("google_map_init",a,s,this)},addMapEvents:function(e,t,i,a){google.maps.event.addListener(t,"click",(function(t){var i=t.latLng.lat(),a=t.latLng.lng();e.searchPosition(i,a)})),google.maps.event.addListener(i,"dragend",(function(){var t=this.getPosition().lat(),i=this.getPosition().lng();e.searchPosition(t,i)})),a&&google.maps.event.addListener(a,"place_changed",(function(){var t=this.getPlace();e.searchPlace(t)})),google.maps.event.addListener(t,"zoom_changed",(function(){var i=e.val();i&&(i.zoom=t.getZoom(),e.setValue(i,!0))}))},searchPosition:function(e,t){this.setState("loading");var i={lat:e,lng:t};a.geocode({location:i},function(i,a){if(this.setState(""),"OK"!==a)this.showNotice({text:acf.__("Location not found: %s").replace("%s",a),type:"warning"});else{var n=this.parseResult(i[0]);n.lat=e,n.lng=t,this.val(n)}}.bind(this))},searchPlace:function(e){if(e)if(e.geometry){e.formatted_address=this.$search().val();var t=this.parseResult(e);this.val(t)}else e.name&&this.searchAddress(e.name)},searchAddress:function(e){if(e){var t=e.split(",");if(2==t.length){var i=parseFloat(t[0]),n=parseFloat(t[1]);if(i&&n)return this.searchPosition(i,n)}this.setState("loading"),a.geocode({address:e},function(t,i){if(this.setState(""),"OK"!==i)this.showNotice({text:acf.__("Location not found: %s").replace("%s",i),type:"warning"});else{var a=this.parseResult(t[0]);a.address=e,this.val(a)}}.bind(this))}},searchLocation:function(){if(!navigator.geolocation)return alert(acf.__("Sorry, this browser does not support geolocation"));this.setState("loading"),navigator.geolocation.getCurrentPosition(function(e){this.setState("");var t=e.coords.latitude,i=e.coords.longitude;this.searchPosition(t,i)}.bind(this),function(e){this.setState("")}.bind(this))},parseResult:function(e){var t={address:e.formatted_address,lat:e.geometry.location.lat(),lng:e.geometry.location.lng()};t.zoom=this.map.getZoom(),e.place_id&&(t.place_id=e.place_id),e.name&&(t.name=e.name);var i={street_number:["street_number"],street_name:["street_address","route"],city:["locality","postal_town"],state:["administrative_area_level_1","administrative_area_level_2","administrative_area_level_3","administrative_area_level_4","administrative_area_level_5"],post_code:["postal_code"],country:["country"]};for(var a in i)for(var n=i[a],s=0;s{!function(e){const t=acf.Field.extend({type:"icon_picker",wait:"load",events:{showField:"scrollToSelectedDashicon","input .acf-icon_url":"onUrlChange","click .acf-icon-picker-dashicon":"onDashiconClick","focus .acf-icon-picker-dashicon-radio":"onDashiconRadioFocus","blur .acf-icon-picker-dashicon-radio":"onDashiconRadioBlur","keydown .acf-icon-picker-dashicon-radio":"onDashiconKeyDown","input .acf-dashicons-search-input":"onDashiconSearch","keydown .acf-dashicons-search-input":"onDashiconSearchKeyDown","click .acf-icon-picker-media-library-button":"onMediaLibraryButtonClick","click .acf-icon-picker-media-library-preview":"onMediaLibraryButtonClick"},$typeInput(){return this.$('input[type="hidden"][data-hidden-type="type"]:first')},$valueInput(){return this.$('input[type="hidden"][data-hidden-type="value"]:first')},$tabButton(){return this.$(".acf-tab-button")},$selectedIcon(){return this.$(".acf-icon-picker-dashicon.active")},$selectedRadio(){return this.$(".acf-icon-picker-dashicon.active input")},$dashiconsList(){return this.$(".acf-dashicons-list")},$mediaLibraryButton(){return this.$(".acf-icon-picker-media-library-button")},initialize(){this.addActions();let t={type:this.$typeInput().val(),value:this.$valueInput().val()};this.set("typeAndValue",t),e(".acf-tab-button").on("click",(()=>{this.initializeDashiconsTab(this.get("typeAndValue"))})),acf.doAction(this.get("name")+"/type_and_value_change",t),this.initializeDashiconsTab(t),this.alignMediaLibraryTabToCurrentValue(t)},addActions(){acf.addAction(this.get("name")+"/type_and_value_change",(e=>{this.alignDashiconsTabToCurrentValue(e),this.alignMediaLibraryTabToCurrentValue(e),this.alignUrlTabToCurrentValue(e)}))},updateTypeAndValue(e,t){const i={type:e,value:t};acf.val(this.$typeInput(),e),acf.val(this.$valueInput(),t),acf.doAction(this.get("name")+"/type_and_value_change",i),this.set("typeAndValue",i)},scrollToSelectedDashicon(){const e=this.$selectedIcon();if(0===e.length)return;const t=this.$dashiconsList();t.scrollTop(0);const i=e.position().top-50;0!==i&&t.scrollTop(i)},initializeDashiconsTab(e){const t=this.getDashiconsList()||[];this.set("dashicons",t),this.renderDashiconList(),this.initializeSelectedDashicon(e)},initializeSelectedDashicon(e){"dashicons"===e.type&&this.selectDashicon(e.value,!1).then((()=>{this.scrollToSelectedDashicon()}))},alignDashiconsTabToCurrentValue(e){"dashicons"!==e.type&&this.unselectDashicon()},renderDashiconHTML(e){const t=`${this.get("name")}-${e.key}`;return`
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    `},renderDashiconList(){const e=this.get("dashicons");this.$dashiconsList().empty(),e.forEach((e=>{this.$dashiconsList().append(this.renderDashiconHTML(e))}))},getDashiconsList(){const e=acf.get("iconPickeri10n")||[];return Object.entries(e).map((([e,t])=>({key:e,label:t})))},getDashiconsBySearch(e){const t=e.toLowerCase();return this.getDashiconsList().filter((function(e){return e.label.toLowerCase().indexOf(t)>-1}))},selectDashicon(e,t=!0){this.set("selectedDashicon",e);const i=this.$dashiconsList().find('.acf-icon-picker-dashicon[data-icon="'+e+'"]');i.addClass("active");const a=i.find("input"),n=a.prop("checked",!0).promise();return t&&a.trigger("focus"),this.updateTypeAndValue("dashicons",e),n},unselectDashicon(){this.$dashiconsList().find(".acf-icon-picker-dashicon").removeClass("active"),this.set("selectedDashicon",!1)},onDashiconRadioFocus(e){const t=e.target.value;this.$dashiconsList().find('.acf-icon-picker-dashicon[data-icon="'+t+'"]').addClass("focus"),this.get("selectedDashicon")!==t&&(this.unselectDashicon(),this.selectDashicon(t))},onDashiconRadioBlur(e){this.$(e.target).parent().removeClass("focus")},onDashiconClick(e){e.preventDefault();const t=this.$(e.target).find("input").val();this.$dashiconsList().find('.acf-icon-picker-dashicon[data-icon="'+t+'"]').find("input").prop("checked",!0).trigger("focus")},onDashiconSearch(e){const t=e.target.value,i=this.getDashiconsBySearch(t);if(i.length>0||!t)this.set("dashicons",i),this.$(".acf-dashicons-list-empty").hide(),this.$(".acf-dashicons-list ").show(),this.renderDashiconList(),wp.a11y.speak(acf.get("iconPickerA11yStrings").newResultsFoundForSearchTerm,"polite");else{const e=t.length>30?t.substring(0,30)+"…":t;this.$(".acf-dashicons-list ").hide(),this.$(".acf-dashicons-list-empty").find(".acf-invalid-dashicon-search-term").text(e),this.$(".acf-dashicons-list-empty").css("display","flex"),this.$(".acf-dashicons-list-empty").show(),wp.a11y.speak(acf.get("iconPickerA11yStrings").noResultsForSearchTerm,"polite")}},onDashiconSearchKeyDown(e){13===e.which&&e.preventDefault()},onDashiconKeyDown(e){13===e.which&&e.preventDefault()},alignMediaLibraryTabToCurrentValue(e){const t=e.type,i=e.value;if("media_library"!==t&&"dashicons"!==t&&this.$(".acf-icon-picker-media-library-preview").hide(),"media_library"===t){const e=this.get("mediaLibraryPreviewUrl");this.$(".acf-icon-picker-media-library-preview-img img").attr("src",e),this.$(".acf-icon-picker-media-library-preview-dashicon").hide(),this.$(".acf-icon-picker-media-library-preview-img").show(),this.$(".acf-icon-picker-media-library-preview").show()}"dashicons"===t&&(this.$(".acf-icon-picker-media-library-preview-dashicon .dashicons").attr("class","dashicons "+i),this.$(".acf-icon-picker-media-library-preview-img").hide(),this.$(".acf-icon-picker-media-library-preview-dashicon").show(),this.$(".acf-icon-picker-media-library-preview").show())},async onMediaLibraryButtonClick(e){e.preventDefault(),await this.selectAndReturnAttachment().then((e=>{this.set("mediaLibraryPreviewUrl",e.attributes.url),this.updateTypeAndValue("media_library",e.id)}))},selectAndReturnAttachment(){return new Promise((e=>{acf.newMediaPopup({mode:"select",type:"image",title:acf.__("Select Image"),field:this.get("key"),multiple:!1,library:"all",allowedTypes:"image",select:e})}))},alignUrlTabToCurrentValue(e){"url"!==e.type&&this.$(".acf-icon_url").val("")},onUrlChange(e){const t=e.target.value;this.updateTypeAndValue("url",t)}});acf.registerFieldType(t)}(jQuery)},2410:()=>{var e,t;e=jQuery,t=acf.Field.extend({type:"image",$control:function(){return this.$(".acf-image-uploader")},$input:function(){return this.$('input[type="hidden"]:first')},events:{'click a[data-name="add"]':"onClickAdd",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove",'change input[type="file"]':"onChange"},initialize:function(){"basic"===this.get("uploader")&&this.$el.closest("form").attr("enctype","multipart/form-data")},validateAttachment:function(e){e&&e.attributes&&(e=e.attributes),e=acf.parseArgs(e,{id:0,url:"",alt:"",title:"",caption:"",description:"",width:0,height:0});var t=acf.isget(e,"sizes",this.get("preview_size"));return t&&(e.url=t.url,e.width=t.width,e.height=t.height),e},render:function(e){e=this.validateAttachment(e),this.$("img").attr({src:e.url,alt:e.alt}),e.id?(this.val(e.id),this.$control().addClass("has-value")):(this.val(""),this.$control().removeClass("has-value"))},append:function(e,t){var i=function(e,t){for(var i=acf.getFields({key:e.get("key"),parent:t.$el}),a=0;a0?this.append(e,t):this.render(e)}),this)})},editAttachment:function(){var t=this.val();t&&acf.newMediaPopup({mode:"edit",title:acf.__("Edit Image"),button:acf.__("Update Image"),attachment:t,field:this.get("key"),select:e.proxy((function(e,t){this.render(e)}),this)})},removeAttachment:function(){this.render(!1)},onClickAdd:function(e,t){this.selectAttachment()},onClickEdit:function(e,t){this.editAttachment()},onClickRemove:function(e,t){this.removeAttachment()},onChange:function(t,i){var a=this.$input();i.val()||a.val(""),acf.getFileInputData(i,(function(t){a.val(e.param(t))}))}}),acf.registerFieldType(t)},5915:()=>{var e,t;e=jQuery,t=acf.Field.extend({type:"link",events:{'click a[data-name="add"]':"onClickEdit",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove","change .link-node":"onChange"},$control:function(){return this.$(".acf-link")},$node:function(){return this.$(".link-node")},getValue:function(){var e=this.$node();return!!e.attr("href")&&{title:e.html(),url:e.attr("href"),target:e.attr("target")}},setValue:function(e){e=acf.parseArgs(e,{title:"",url:"",target:""});var t=this.$control(),i=this.$node();t.removeClass("-value -external"),e.url&&t.addClass("-value"),"_blank"===e.target&&t.addClass("-external"),this.$(".link-title").html(e.title),this.$(".link-url").attr("href",e.url).html(e.url),i.html(e.title),i.attr("href",e.url),i.attr("target",e.target),this.$(".input-title").val(e.title),this.$(".input-target").val(e.target),this.$(".input-url").val(e.url).trigger("change")},onClickEdit:function(e,t){acf.wpLink.open(this.$node())},onClickRemove:function(e,t){this.setValue(!1)},onChange:function(e,t){var i=this.getValue();this.setValue(i)}}),acf.registerFieldType(t),acf.wpLink=new acf.Model({getNodeValue:function(){var e=this.get("node");return{title:acf.decode(e.html()),url:e.attr("href"),target:e.attr("target")}},setNodeValue:function(e){var t=this.get("node");t.text(e.title),t.attr("href",e.url),t.attr("target",e.target),t.trigger("change")},getInputValue:function(){return{title:e("#wp-link-text").val(),url:e("#wp-link-url").val(),target:e("#wp-link-target").prop("checked")?"_blank":""}},setInputValue:function(t){e("#wp-link-text").val(t.title),e("#wp-link-url").val(t.url),e("#wp-link-target").prop("checked","_blank"===t.target)},open:function(t){this.on("wplink-open","onOpen"),this.on("wplink-close","onClose"),this.set("node",t);var i=e('');e("body").append(i);var a=this.getNodeValue();wpLink.open("acf-link-textarea",a.url,a.title,null)},onOpen:function(){e("#wp-link-wrap").addClass("has-text-field");var t=this.getNodeValue();this.setInputValue(t),t.url&&wpLinkL10n&&e("#wp-link-submit").val(wpLinkL10n.update)},close:function(){wpLink.close()},onClose:function(){if(!this.has("node"))return!1;var t=e("#wp-link-submit");if(t.is(":hover")||t.is(":focus")){var i=this.getInputValue();this.setNodeValue(i)}this.off("wplink-open"),this.off("wplink-close"),e("#acf-link-textarea").remove(),this.set("node",null)}})},2237:()=>{var e,t;e=jQuery,t=acf.Field.extend({type:"oembed",events:{'click [data-name="clear-button"]':"onClickClear","keypress .input-search":"onKeypressSearch","keyup .input-search":"onKeyupSearch","change .input-search":"onChangeSearch"},$control:function(){return this.$(".acf-oembed")},$input:function(){return this.$(".input-value")},$search:function(){return this.$(".input-search")},getValue:function(){return this.$input().val()},getSearchVal:function(){return this.$search().val()},setValue:function(e){e?this.$control().addClass("has-value"):this.$control().removeClass("has-value"),acf.val(this.$input(),e)},showLoading:function(e){acf.showLoading(this.$(".canvas"))},hideLoading:function(){acf.hideLoading(this.$(".canvas"))},maybeSearch:function(){var t=this.val(),i=this.getSearchVal();if(!i)return this.clear();if("http"!=i.substr(0,4)&&(i="http://"+i),i!==t){var a=this.get("timeout");a&&clearTimeout(a);var n=e.proxy(this.search,this,i);this.set("timeout",setTimeout(n,300))}},search:function(t){const i={action:"acf/fields/oembed/search",s:t,field_key:this.get("key"),nonce:this.get("nonce")};let a=this.get("xhr");a&&a.abort(),this.showLoading(),a=e.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(i),type:"post",dataType:"json",context:this,success:function(e){e&&e.html||(e={url:!1,html:""}),this.val(e.url),this.$(".canvas-media").html(e.html)},complete:function(){this.hideLoading()}}),this.set("xhr",a)},clear:function(){this.val(""),this.$search().val(""),this.$(".canvas-media").html("")},onClickClear:function(e,t){this.clear()},onKeypressSearch:function(e,t){13==e.which&&(e.preventDefault(),this.maybeSearch())},onKeyupSearch:function(e,t){t.val()&&this.maybeSearch()},onChangeSearch:function(e,t){this.maybeSearch()}}),acf.registerFieldType(t)},7513:()=>{var e;jQuery,e=acf.models.SelectField.extend({type:"page_link"}),acf.registerFieldType(e)},2553:()=>{var e;jQuery,e=acf.models.SelectField.extend({type:"post_object"}),acf.registerFieldType(e)},9252:()=>{var e;jQuery,e=acf.Field.extend({type:"radio",events:{'click input[type="radio"]':"onClick"},$control:function(){return this.$(".acf-radio-list")},$input:function(){return this.$("input:checked")},$inputText:function(){return this.$('input[type="text"]')},getValue:function(){var e=this.$input().val();return"other"===e&&this.get("other_choice")&&(e=this.$inputText().val()),e},onClick:function(e,t){var i=t.parent("label"),a=i.hasClass("selected"),n=t.val();this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&a&&(i.removeClass("selected"),t.prop("checked",!1).trigger("change"),n=!1),this.get("other_choice")&&("other"===n?this.$inputText().prop("disabled",!1):this.$inputText().prop("disabled",!0))}}),acf.registerFieldType(e)},6290:()=>{var e;jQuery,e=acf.Field.extend({type:"range",events:{'input input[type="range"]':"onChange","change input":"onChange"},$input:function(){return this.$('input[type="range"]')},$inputAlt:function(){return this.$('input[type="number"]')},setValue:function(e){this.busy=!0,acf.val(this.$input(),e),acf.val(this.$inputAlt(),this.$input().val(),!0),this.busy=!1},onChange:function(e,t){this.busy||this.setValue(t.val())}}),acf.registerFieldType(e)},7509:()=>{var e,t;e=jQuery,t=acf.Field.extend({type:"relationship",events:{"keypress [data-filter]":"onKeypressFilter","change [data-filter]":"onChangeFilter","keyup [data-filter]":"onChangeFilter","click .choices-list .acf-rel-item":"onClickAdd","keypress .choices-list .acf-rel-item":"onKeypressFilter","keypress .values-list .acf-rel-item":"onKeypressFilter",'click [data-name="remove_item"]':"onClickRemove","touchstart .values-list .acf-rel-item":"onTouchStartValues"},$control:function(){return this.$(".acf-relationship")},$list:function(e){return this.$("."+e+"-list")},$listItems:function(e){return this.$list(e).find(".acf-rel-item")},$listItem:function(e,t){return this.$list(e).find('.acf-rel-item[data-id="'+t+'"]')},getValue:function(){var t=[];return this.$listItems("values").each((function(){t.push(e(this).data("id"))})),!!t.length&&t},newChoice:function(e){return["
  • ",''+e.text+"","
  • "].join("")},newValue:function(e){return["
  • ",'',''+e.text,'',"","
  • "].join("")},initialize:function(){var e=this.proxy(acf.once((function(){this.$list("values").sortable({items:"li",forceHelperSize:!0,forcePlaceholderSize:!0,scroll:!0,update:this.proxy((function(){this.$input().trigger("change")}))}),this.$list("choices").scrollTop(0).on("scroll",this.proxy(this.onScrollChoices)),this.fetch()})));this.$el.one("mouseover",e),this.$el.one("focus","input",e),acf.onceInView(this.$el,e)},onScrollChoices:function(e){if(!this.get("loading")&&this.get("more")){var t=this.$list("choices"),i=Math.ceil(t.scrollTop()),a=Math.ceil(t[0].scrollHeight),n=Math.ceil(t.innerHeight()),s=this.get("paged")||1;i+n>=a&&(this.set("paged",s+1),this.fetch())}},onKeypressFilter:function(e,t){t.hasClass("acf-rel-item-add")&&13==e.which&&this.onClickAdd(e,t),t.hasClass("acf-rel-item-remove")&&13==e.which&&this.onClickRemove(e,t),13==e.which&&e.preventDefault()},onChangeFilter:function(e,t){var i=t.val(),a=t.data("filter");this.get(a)!==i&&(this.set(a,i),"s"===a&&parseInt(i)&&this.set("include",i),this.set("paged",1),t.is("select")?this.fetch():this.maybeFetch())},onClickAdd:function(e,t){var i=this.val(),a=parseInt(this.get("max"));if(t.hasClass("disabled"))return!1;if(a>0&&i&&i.length>=a)return this.showNotice({text:acf.__("Maximum values reached ( {max} values )").replace("{max}",a),type:"warning"}),!1;t.addClass("disabled");var n=this.newValue({id:t.data("id"),text:t.html()});this.$list("values").append(n),this.$input().trigger("change")},onClickRemove:function(e,t){let i;e.preventDefault(),i=t.hasClass("acf-rel-item-remove")?t:t.parent();const a=i.parent(),n=i.data("id");a.remove(),this.$listItem("choices",n).removeClass("disabled"),this.$input().trigger("change")},onTouchStartValues:function(t,i){e(this.$listItems("values")).removeClass("relationship-hover"),i.addClass("relationship-hover")},maybeFetch:function(){var e=this.get("timeout");e&&clearTimeout(e),e=this.setTimeout(this.fetch,300),this.set("timeout",e)},getAjaxData:function(){var e=this.$control().data();for(var t in e)e[t]=this.get(t);return e.action="acf/fields/relationship/query",e.field_key=this.get("key"),e.nonce=this.get("nonce"),acf.applyFilters("relationship_ajax_data",e,this)},fetch:function(){(n=this.get("xhr"))&&n.abort();var t=this.getAjaxData(),i=this.$list("choices");1==t.paged&&i.html("");var a=e('
  • '+acf.__("Loading")+"
  • ");i.append(a),this.set("loading",!0);var n=e.ajax({url:acf.get("ajaxurl"),dataType:"json",type:"post",data:acf.prepareForAjax(t),context:this,success:function(t){if(!t||!t.results||!t.results.length)return this.set("more",!1),void(1==this.get("paged")&&this.$list("choices").append("
  • "+acf.__("No matches found")+"
  • "));this.set("more",t.more);var a=this.walkChoices(t.results),n=e(a),s=this.val();s&&s.length&&s.map((function(e){n.find('.acf-rel-item[data-id="'+e+'"]').addClass("disabled")})),i.append(n);var o=!1,r=!1;i.find(".acf-rel-label").each((function(){var t=e(this),i=t.siblings("ul");if(o&&o.text()==t.text())return r.append(i.children()),void e(this).parent().remove();o=t,r=i}))},complete:function(){this.set("loading",!1),a.remove()}});this.set("xhr",n)},walkChoices:function(t){var i=function(t){var a="";return e.isArray(t)?t.map((function(e){a+=i(e)})):e.isPlainObject(t)&&(void 0!==t.children?(a+='
  • '+acf.escHtml(t.text)+'
      ',a+=i(t.children),a+="
  • "):a+='
  • '+acf.escHtml(t.text)+"
  • "),a};return i(t)}}),acf.registerFieldType(t)},6403:()=>{var e;jQuery,e=acf.Field.extend({type:"select",select2:!1,wait:"load",events:{removeField:"onRemove",duplicateField:"onDuplicate"},$input:function(){return this.$("select")},initialize:function(){var e=this.$input();if(this.inherit(e),this.get("ui")){var t=this.get("ajax_action");t||(t="acf/fields/"+this.get("type")+"/query"),this.select2=acf.newSelect2(e,{field:this,ajax:this.get("ajax"),multiple:this.get("multiple"),placeholder:this.get("placeholder"),allowNull:this.get("allow_null"),ajaxAction:t})}},onRemove:function(){this.select2&&this.select2.destroy()},onDuplicate:function(e,t,i){this.select2&&(i.find(".select2-container").remove(),i.find("select").removeClass("select2-hidden-accessible"))}}),acf.registerFieldType(e)},5848:()=>{!function(e){var t="tab",i=acf.Field.extend({type:"tab",wait:"",tabs:!1,tab:!1,events:{duplicateField:"onDuplicate"},findFields:function(){let e;switch(this.get("key")){case"acf_field_settings_tabs":e=".acf-field-settings-main";break;case"acf_field_group_settings_tabs":e=".field-group-settings-tab";break;case"acf_browse_fields_tabs":e=".acf-field-types-tab";break;case"acf_icon_picker_tabs":e=".acf-icon-picker-tabs";break;case"acf_post_type_tabs":e=".acf-post-type-advanced-settings";break;case"acf_taxonomy_tabs":e=".acf-taxonomy-advanced-settings";break;case"acf_ui_options_page_tabs":e=".acf-ui-options-page-advanced-settings";break;default:e=".acf-field"}return this.$el.nextUntil(".acf-field-tab",e)},getFields:function(){return acf.getFields(this.findFields())},findTabs:function(){return this.$el.prevAll(".acf-tab-wrap:first")},findTab:function(){return this.$(".acf-tab-button")},initialize:function(){if(this.$el.is("td"))return this.events={},!1;var e=this.findTabs(),t=this.findTab(),i=acf.parseArgs(t.data(),{endpoint:!1,placement:"",before:this.$el});!e.length||i.endpoint?this.tabs=new n(i):this.tabs=e.data("acf"),this.tab=this.tabs.addTab(t,this)},isActive:function(){return this.tab.isActive()},showFields:function(){this.getFields().map((function(e){e.show(this.cid,t),e.hiddenByTab=!1}),this)},hideFields:function(){this.getFields().map((function(e){e.hide(this.cid,t),e.hiddenByTab=this.tab}),this)},show:function(e){var t=acf.Field.prototype.show.apply(this,arguments);return t&&(this.tab.show(),this.tabs.refresh()),t},hide:function(e){var t=acf.Field.prototype.hide.apply(this,arguments);return t&&(this.tab.hide(),this.isActive()&&this.tabs.reset()),t},enable:function(e){this.getFields().map((function(e){e.enable(t)}))},disable:function(e){this.getFields().map((function(e){e.disable(t)}))},onDuplicate:function(e,t,i){this.isActive()&&i.prevAll(".acf-tab-wrap:first").remove()}});acf.registerFieldType(i);var a=0,n=acf.Model.extend({tabs:[],active:!1,actions:{refresh:"onRefresh",close_field_object:"onCloseFieldObject"},data:{before:!1,placement:"top",index:0,initialized:!1},setup:function(t){e.extend(this.data,t),this.tabs=[],this.active=!1;var i=this.get("placement"),n=this.get("before"),s=n.parent();if("left"==i&&s.hasClass("acf-fields")&&s.addClass("-sidebar"),n.is("tr"))this.$el=e('
    ');else{let t="acf-hl acf-tab-group";"acf_field_settings_tabs"===this.get("key")&&(t="acf-field-settings-tab-bar"),this.$el=e('
      ')}n.before(this.$el),this.set("index",a,!0),a++},initializeTabs:function(){if("acf_field_settings_tabs"!==this.get("key")||!e("#acf-field-group-fields").hasClass("hide-tabs")){var t=!1,i=acf.getPreference("this.tabs")||!1;if(i){var a=i[this.get("index")];this.tabs[a]&&this.tabs[a].isVisible()&&(t=this.tabs[a])}!t&&this.data.defaultTab&&this.data.defaultTab.isVisible()&&(t=this.data.defaultTab),t||(t=this.getVisible().shift()),t?this.selectTab(t):this.closeTabs(),this.set("initialized",!0)}},getVisible:function(){return this.tabs.filter((function(e){return e.isVisible()}))},getActive:function(){return this.active},setActive:function(e){return this.active=e},hasActive:function(){return!1!==this.active},isActive:function(e){var t=this.getActive();return t&&t.cid===e.cid},closeActive:function(){this.hasActive()&&this.closeTab(this.getActive())},openTab:function(e){this.closeActive(),e.open(),this.setActive(e)},closeTab:function(e){e.close(),this.setActive(!1)},closeTabs:function(){this.tabs.map(this.closeTab,this)},selectTab:function(e){this.tabs.map((function(t){e.cid!==t.cid&&this.closeTab(t)}),this),this.openTab(e)},addTab:function(t,i){var a=e("
    • "+t.outerHTML()+"
    • "),n=t.data("settings-type");n&&a.addClass("acf-settings-type-"+n),this.$("ul").append(a);var o=new s({$el:a,field:i,group:this});return this.tabs.push(o),t.data("selected")&&(this.data.defaultTab=o),o},reset:function(){return this.closeActive(),this.refresh()},refresh:function(){if(this.hasActive())return!1;var e=this.getVisible().shift();return e&&this.openTab(e),e},onRefresh:function(){if("left"===this.get("placement")){var e=this.$el.parent(),t=this.$el.children("ul"),i=e.is("td")?"height":"min-height",a=t.position().top+t.outerHeight(!0)-1;e.css(i,a)}},onCloseFieldObject:function(e){const t=this.getVisible().find((t=>{const i=t.$el.closest("div[data-id]").data("id");if(e.data.id===i)return t}));t&&setTimeout((()=>{this.openTab(t)}),300)}}),s=acf.Model.extend({group:!1,field:!1,events:{"click a":"onClick"},index:function(){return this.$el.index()},isVisible:function(){return acf.isVisible(this.$el)},isActive:function(){return this.$el.hasClass("active")},open:function(){this.$el.addClass("active"),this.field.showFields()},close:function(){this.$el.removeClass("active"),this.field.hideFields()},onClick:function(e,t){e.preventDefault(),this.toggle()},toggle:function(){this.isActive()||this.group.openTab(this)}});new acf.Model({priority:50,actions:{prepare:"render",append:"render",unload:"onUnload",show:"render",invalid_field:"onInvalidField"},findTabs:function(){return e(".acf-tab-wrap")},getTabs:function(){return acf.getInstances(this.findTabs())},render:function(e){this.getTabs().map((function(e){e.get("initialized")||e.initializeTabs()}))},onInvalidField:function(e){this.busy||e.hiddenByTab&&(e.hiddenByTab.toggle(),this.busy=!0,this.setTimeout((function(){this.busy=!1}),100))},onUnload:function(){var e=[];this.getTabs().map((function(t){if(t.$el.children(".acf-field-settings-tab-bar").length||t.$el.parents("#acf-advanced-settings.postbox").length)return!0;var i=t.hasActive()?t.getActive().index():0;e.push(i)})),e.length&&acf.setPreference("this.tabs",e)}})}(jQuery)},3284:()=>{var e,t;e=jQuery,t=acf.Field.extend({type:"taxonomy",data:{ftype:"select"},select2:!1,wait:"load",events:{'click a[data-name="add"]':"onClickAdd",'click input[type="radio"]':"onClickRadio",removeField:"onRemove"},$control:function(){return this.$(".acf-taxonomy-field")},$input:function(){return this.getRelatedPrototype().$input.apply(this,arguments)},getRelatedType:function(){var e=this.get("ftype");return"multi_select"==e&&(e="select"),e},getRelatedPrototype:function(){return acf.getFieldType(this.getRelatedType()).prototype},getValue:function(){return this.getRelatedPrototype().getValue.apply(this,arguments)},setValue:function(){return this.getRelatedPrototype().setValue.apply(this,arguments)},initialize:function(){this.getRelatedPrototype().initialize.apply(this,arguments)},onRemove:function(){var e=this.getRelatedPrototype();e.onRemove&&e.onRemove.apply(this,arguments)},onClickAdd:function(t,i){var a=this,n=!1,s=!1,o=!1,r=!1,c=!1,l=!1,d=function(e){n.loading(!1),n.content(e),s=n.$("form"),o=n.$('input[name="term_name"]'),r=n.$('select[name="term_parent"]'),c=n.$(".acf-submit-button"),o.trigger("focus"),n.on("submit","form",u)},u=function(t,i){if(t.preventDefault(),t.stopImmediatePropagation(),""===o.val())return o.trigger("focus"),!1;acf.startButtonLoading(c);var n={action:"acf/fields/taxonomy/add_term",field_key:a.get("key"),nonce:a.get("nonce"),term_name:o.val(),term_parent:r.length?r.val():0};e.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(n),type:"post",dataType:"json",success:f})},f=function(e){acf.stopButtonLoading(c),l&&l.remove(),acf.isAjaxSuccess(e)?(o.val(""),p(e.data),l=acf.newNotice({type:"success",text:acf.getAjaxMessage(e),target:s,timeout:2e3,dismiss:!1})):l=acf.newNotice({type:"error",text:acf.getAjaxError(e),target:s,timeout:2e3,dismiss:!1}),o.trigger("focus")},p=function(t){var i=e('");t.term_parent?r.children('option[value="'+t.term_parent+'"]').after(i):r.append(i),acf.getFields({type:"taxonomy"}).map((function(e){e.get("taxonomy")==a.get("taxonomy")&&e.appendTerm(t)})),a.selectTerm(t.term_id)};!function(){n=acf.newPopup({title:i.attr("title"),loading:!0,width:"300px"});var t={action:"acf/fields/taxonomy/add_term",field_key:a.get("key"),nonce:a.get("nonce")};e.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(t),type:"post",dataType:"html",success:d})}()},appendTerm:function(e){"select"==this.getRelatedType()?this.appendTermSelect(e):this.appendTermCheckbox(e)},appendTermSelect:function(e){this.select2.addOption({id:e.term_id,text:e.term_label})},appendTermCheckbox:function(t){var i=this.$("[name]:first").attr("name"),a=this.$("ul:first");"checkbox"==this.getRelatedType()&&(i+="[]");var n=e(['
    • ',"","
    • "].join(""));if(t.term_parent){var s=a.find('li[data-id="'+t.term_parent+'"]');(a=s.children("ul")).exists()||(a=e('
        '),s.append(a))}a.append(n)},selectTerm:function(e){"select"==this.getRelatedType()?this.select2.selectOption(e):this.$('input[value="'+e+'"]').prop("checked",!0).trigger("change")},onClickRadio:function(e,t){var i=t.parent("label"),a=i.hasClass("selected");this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&a&&(i.removeClass("selected"),t.prop("checked",!1).trigger("change"))}}),acf.registerFieldType(t)},9213:()=>{var e,t;e=jQuery,t=acf.models.DatePickerField.extend({type:"time_picker",$control:function(){return this.$(".acf-time-picker")},initialize:function(){var e=this.$input(),t=this.$inputText(),i={timeFormat:this.get("time_format"),altField:e,altFieldTimeOnly:!1,altTimeFormat:"HH:mm:ss",showButtonPanel:!0,controlType:"select",oneLine:!0,closeText:acf.get("dateTimePickerL10n").selectText,timeOnly:!0,onClose:function(e,t,i){var a=t.dpDiv.find(".ui-datepicker-close");!e&&a.is(":hover")&&i._updateDateTime()}};i=acf.applyFilters("time_picker_args",i,this),acf.newTimePicker(t,i),acf.doAction("time_picker_init",t,i,this)}}),acf.registerFieldType(t),acf.newTimePicker=function(t,i){if(void 0===e.timepicker)return!1;i=i||{},t.timepicker(i),e("body > #ui-datepicker-div").exists()&&e("body > #ui-datepicker-div").wrap('
        ')}},1525:()=>{var e;jQuery,e=acf.Field.extend({type:"true_false",events:{"change .acf-switch-input":"onChange","focus .acf-switch-input":"onFocus","blur .acf-switch-input":"onBlur","keypress .acf-switch-input":"onKeypress"},$input:function(){return this.$('input[type="checkbox"]')},$switch:function(){return this.$(".acf-switch")},getValue:function(){return this.$input().prop("checked")?1:0},initialize:function(){this.render()},render:function(){var e=this.$switch();if(e.length){var t=e.children(".acf-switch-on"),i=e.children(".acf-switch-off"),a=Math.max(t.width(),i.width());a&&(t.css("min-width",a),i.css("min-width",a))}},switchOn:function(){this.$input().prop("checked",!0),this.$switch().addClass("-on")},switchOff:function(){this.$input().prop("checked",!1),this.$switch().removeClass("-on")},onChange:function(e,t){t.prop("checked")?this.switchOn():this.switchOff()},onFocus:function(e,t){this.$switch().addClass("-focus")},onBlur:function(e,t){this.$switch().removeClass("-focus")},onKeypress:function(e,t){return 37===e.keyCode?this.switchOff():39===e.keyCode?this.switchOn():void 0}}),acf.registerFieldType(e)},5942:()=>{var e;jQuery,e=acf.Field.extend({type:"url",events:{'keyup input[type="url"]':"onkeyup"},$control:function(){return this.$(".acf-input-wrap")},$input:function(){return this.$('input[type="url"]')},initialize:function(){this.render()},isValid:function(){var e=this.val();return!!e&&(-1!==e.indexOf("://")||0===e.indexOf("//"))},render:function(){this.isValid()?this.$control().addClass("-valid"):this.$control().removeClass("-valid")},onkeyup:function(e,t){this.render()}}),acf.registerFieldType(e)},9732:()=>{var e;jQuery,e=acf.models.SelectField.extend({type:"user"}),acf.registerFieldType(e)},9938:()=>{var e;jQuery,e=acf.Field.extend({type:"wysiwyg",wait:"load",events:{"mousedown .acf-editor-wrap.delay":"onMousedown",unmountField:"disableEditor",remountField:"enableEditor",removeField:"disableEditor"},$control:function(){return this.$(".acf-editor-wrap")},$input:function(){return this.$("textarea")},getMode:function(){return this.$control().hasClass("tmce-active")?"visual":"text"},initialize:function(){this.$control().hasClass("delay")||this.initializeEditor()},initializeEditor:function(){var e=this.$control(),t=this.$input(),i={tinymce:!0,quicktags:!0,toolbar:this.get("toolbar"),mode:this.getMode(),field:this},a=t.attr("id"),n=acf.uniqueId("acf-editor-"),s=t.data(),o=t.val();acf.rename({target:e,search:a,replace:n,destructive:!0}),this.set("id",n,!0),this.$input().data(s).val(o),acf.tinymce.initialize(n,i)},onMousedown:function(e){e.preventDefault();var t=this.$control();t.removeClass("delay"),t.find(".acf-editor-toolbar").remove(),this.initializeEditor()},enableEditor:function(){"visual"==this.getMode()&&acf.tinymce.enable(this.get("id"))},disableEditor:function(){acf.tinymce.destroy(this.get("id"))}}),acf.registerFieldType(e)},5338:()=>{!function(e,t){var i=[];acf.Field=acf.Model.extend({type:"",eventScope:".acf-field",wait:"ready",setup:function(e){this.$el=e,this.inherit(e),this.inherit(this.$control())},val:function(e){return e!==t?this.setValue(e):this.prop("disabled")?null:this.getValue()},getValue:function(){return this.$input().val()},setValue:function(e){return acf.val(this.$input(),e)},__:function(e){return acf._e(this.type,e)},$control:function(){return!1},$input:function(){return this.$("[name]:first")},$inputWrap:function(){return this.$(".acf-input:first")},$labelWrap:function(){return this.$(".acf-label:first")},getInputName:function(){return this.$input().attr("name")||""},parent:function(){var e=this.parents();return!!e.length&&e[0]},parents:function(){var e=this.$el.parents(".acf-field");return acf.getFields(e)},show:function(e,t){var i=acf.show(this.$el,e);return i&&(this.prop("hidden",!1),acf.doAction("show_field",this,t),"conditional_logic"===t&&this.setFieldSettingsLastVisible()),i},hide:function(e,t){var i=acf.hide(this.$el,e);return i&&(this.prop("hidden",!0),acf.doAction("hide_field",this,t),"conditional_logic"===t&&this.setFieldSettingsLastVisible()),i},setFieldSettingsLastVisible:function(){var e=this.$el.parents(".acf-field-settings-main");if(e.length){var t=e.find(".acf-field");t.removeClass("acf-last-visible"),t.not(".acf-hidden").last().addClass("acf-last-visible")}},enable:function(e,t){var i=acf.enable(this.$el,e);return i&&(this.prop("disabled",!1),acf.doAction("enable_field",this,t)),i},disable:function(e,t){var i=acf.disable(this.$el,e);return i&&(this.prop("disabled",!0),acf.doAction("disable_field",this,t)),i},showEnable:function(e,t){return this.enable.apply(this,arguments),this.show.apply(this,arguments)},hideDisable:function(e,t){return this.disable.apply(this,arguments),this.hide.apply(this,arguments)},showNotice:function(e){"object"!=typeof e&&(e={text:e}),this.notice&&this.notice.remove(),e.target=this.$inputWrap(),this.notice=acf.newNotice(e)},removeNotice:function(e){this.notice&&(this.notice.away(e||0),this.notice=!1)},showError:function(i,a="before"){this.$el.addClass("acf-error"),i!==t&&this.showNotice({text:i,type:"error",dismiss:!1,location:a}),acf.doAction("invalid_field",this),this.$el.one("focus change","input, select, textarea",e.proxy(this.removeError,this))},removeError:function(){this.$el.removeClass("acf-error"),this.removeNotice(250),acf.doAction("valid_field",this)},trigger:function(e,t,i){return"invalidField"==e&&(i=!0),acf.Model.prototype.trigger.apply(this,[e,t,i])}}),acf.newField=function(e){var t=e.data("type"),i=a(t),n=new(acf.models[i]||acf.Field)(e);return acf.doAction("new_field",n),n};var a=function(e){return acf.strPascalCase(e||"")+"Field"};acf.registerFieldType=function(e){var t=e.prototype.type,n=a(t);acf.models[n]=e,i.push(t)},acf.getFieldType=function(e){var t=a(e);return acf.models[t]||!1},acf.getFieldTypes=function(e){e=acf.parseArgs(e,{category:""});var t=[];return i.map((function(i){var a=acf.getFieldType(i),n=a.prototype;e.category&&n.category!==e.category||t.push(a)})),t}}(jQuery)},2457:()=>{!function(e){acf.findFields=function(t){var i=".acf-field",a=!1;return(t=acf.parseArgs(t,{key:"",name:"",type:"",is:"",parent:!1,sibling:!1,limit:!1,visible:!1,suppressFilters:!1,excludeSubFields:!1})).suppressFilters||(t=acf.applyFilters("find_fields_args",t)),t.key&&(i+='[data-key="'+t.key+'"]'),t.type&&(i+='[data-type="'+t.type+'"]'),t.name&&(i+='[data-name="'+t.name+'"]'),t.is&&(i+=t.is),t.visible&&(i+=":visible"),t.suppressFilters||(i=acf.applyFilters("find_fields_selector",i,t)),t.parent?(a=t.parent.find(i),t.excludeSubFields&&(a=a.not(t.parent.find(".acf-is-subfields .acf-field")))):a=t.sibling?t.sibling.siblings(i):e(i),t.suppressFilters||(a=a.not(".acf-clone .acf-field"),a=acf.applyFilters("find_fields",a)),t.limit&&(a=a.slice(0,t.limit)),a},acf.findField=function(e,t){return acf.findFields({key:e,limit:1,parent:t,suppressFilters:!0})},acf.getField=function(e){e instanceof jQuery||(e=acf.findField(e));var t=e.data("acf");return t||(t=acf.newField(e)),t},acf.getFields=function(t){t instanceof jQuery||(t=acf.findFields(t));var i=[];return t.each((function(){var t=acf.getField(e(this));i.push(t)})),i},acf.findClosestField=function(e){return e.closest(".acf-field")},acf.getClosestField=function(e){var t=acf.findClosestField(e);return this.getField(t)};var t=function(e){var t=e+"_field",a=e+"Field";acf.addAction(t,(function(n){var s=acf.arrayArgs(arguments),o=s.slice(1);["type","name","key"].map((function(e){var i="/"+e+"="+n.get(e);s=[t+i,n].concat(o),acf.doAction.apply(null,s)})),i.indexOf(e)>-1&&n.trigger(a,o)}))},i=["remove","unmount","remount","sortstart","sortstop","show","hide","unload","valid","invalid","enable","disable","duplicate"];["prepare","ready","load","append","remove","unmount","remount","sortstart","sortstop","show","hide","unload"].map((function(e){var i=e,a=e+"_fields",n=e+"_field";acf.addAction(i,(function(e){var t=acf.arrayArgs(arguments).slice(1),i=acf.getFields({parent:e});if(i.length){var n=[a,i].concat(t);acf.doAction.apply(null,n)}})),acf.addAction(a,(function(e){var t=acf.arrayArgs(arguments).slice(1);e.map((function(e,i){var a=[n,e].concat(t);acf.doAction.apply(null,a)}))})),t(e)})),["valid","invalid","enable","disable","new","duplicate"].map(t),new acf.Model({id:"fieldsEventManager",events:{'click .acf-field a[href="#"]':"onClick","change .acf-field":"onChange"},onClick:function(e){e.preventDefault()},onChange:function(){if(e("#_acf_changed").val(1),acf.isGutenbergPostEditor())try{wp.data.dispatch("core/editor").editPost({meta:{_acf_changed:1}})}catch(e){console.log("ACF: Failed to update _acf_changed meta",e)}}}),new acf.Model({id:"duplicateFieldsManager",actions:{duplicate:"onDuplicate",duplicate_fields:"onDuplicateFields"},onDuplicate:function(e,t){var i=acf.getFields({parent:e});if(i.length){var a=acf.findFields({parent:t});acf.doAction("duplicate_fields",i,a)}},onDuplicateFields:function(t,i){t.map((function(t,a){acf.doAction("duplicate_field",t,e(i[a]))}))}})}(jQuery)},8223:()=>{var e;e=jQuery,new acf.Model({priority:90,actions:{new_field:"refresh",show_field:"refresh",hide_field:"refresh",remove_field:"refresh",unmount_field:"refresh",remount_field:"refresh"},refresh:function(){acf.refresh()}}),new acf.Model({priority:1,actions:{sortstart:"onSortstart",sortstop:"onSortstop"},onSortstart:function(e){acf.doAction("unmount",e)},onSortstop:function(e){acf.doAction("remount",e)}}),new acf.Model({actions:{sortstart:"onSortstart"},onSortstart:function(t,i){t.is("tr")&&(i.html('
        '),t.addClass("acf-sortable-tr-helper"),t.children().each((function(){e(this).width(e(this).width())})),i.height(t.height()+"px"),t.removeClass("acf-sortable-tr-helper"))}}),new acf.Model({actions:{after_duplicate:"onAfterDuplicate"},onAfterDuplicate:function(t,i){var a=[];t.find("select").each((function(t){a.push(e(this).val())})),i.find("select").each((function(t){e(this).val(a[t])}))}}),new acf.Model({id:"tableHelper",priority:20,wait:"load",actions:{refresh:"renderTables"},initialize:function(){this.renderTables()},renderTables:function(t){var i=this;e(".acf-table:visible").each((function(){i.renderTable(e(this))}))},renderTable:function(t){var i=t.find("> thead > tr:visible > th[data-key]"),a=t.find("> tbody > tr:visible > td[data-key]");if(!i.length||!a.length)return!1;i.each((function(t){var i=e(this),n=i.data("key"),s=a.filter('[data-key="'+n+'"]'),o=s.filter(".acf-hidden");s.removeClass("acf-empty"),s.length===o.length?acf.hide(i):(acf.show(i),o.addClass("acf-empty"))})),i.css("width","auto"),i=i.not(".acf-hidden");var n=100;i.length,i.filter("[data-width]").each((function(){var t=e(this).data("width");e(this).css("width",t+"%"),n-=t}));var s=i.not("[data-width]");if(s.length){var o=n/s.length;s.css("width",o+"%"),n=0}n>0&&i.last().css("width","auto"),a.filter(".-collapsed-target").each((function(){var t=e(this);t.parent().hasClass("-collapsed")?t.attr("colspan",i.length):t.removeAttr("colspan")}))}}),new acf.Model({id:"fieldsHelper",priority:30,actions:{refresh:"renderGroups"},renderGroups:function(){var t=this;e(".acf-fields:visible").each((function(){t.renderGroup(e(this))}))},renderGroup:function(t){var i=0,a=0,n=e(),s=t.children(".acf-field[data-width]:visible");return!!s.length&&(t.hasClass("-left")?(s.removeAttr("data-width"),s.css("width","auto"),!1):(s.removeClass("-r0 -c0").css({"min-height":0}),s.each((function(t){var s=e(this),o=s.position(),r=Math.ceil(o.top),c=Math.ceil(o.left);n.length&&r>i&&(n.css({"min-height":a+"px"}),o=s.position(),r=Math.ceil(o.top),c=Math.ceil(o.left),i=0,a=0,n=e()),acf.get("rtl")&&(c=Math.ceil(s.parent().width()-(o.left+s.outerWidth()))),0==r?s.addClass("-r0"):0==c&&s.addClass("-c0");var l=Math.ceil(s.outerHeight())+1;a=Math.max(a,l),i=Math.max(i,r),n=n.add(s)})),void(n.length&&n.css({"min-height":a+"px"}))))}}),new acf.Model({id:"bodyClassShiftHelper",events:{keydown:"onKeyDown",keyup:"onKeyUp"},isShiftKey:function(e){return 16===e.keyCode},onKeyDown:function(t){this.isShiftKey(t)&&e("body").addClass("acf-keydown-shift")},onKeyUp:function(t){this.isShiftKey(t)&&e("body").removeClass("acf-keydown-shift")}})},1218:()=>{!function(e){acf.newMediaPopup=function(e){var t=null;return e=acf.parseArgs(e,{mode:"select",title:"",button:"",type:"",field:!1,allowedTypes:"",library:"all",multiple:!1,attachment:0,autoOpen:!0,open:function(){},select:function(){},close:function(){}}),t="edit"==e.mode?new acf.models.EditMediaPopup(e):new acf.models.SelectMediaPopup(e),e.autoOpen&&setTimeout((function(){t.open()}),1),acf.doAction("new_media_popup",t),t};var t=function(){var e=acf.get("post_id");return acf.isNumeric(e)?e:0};acf.getMimeTypes=function(){return this.get("mimeTypes")},acf.getMimeType=function(e){var t=acf.getMimeTypes();if(void 0!==t[e])return t[e];for(var i in t)if(-1!==i.indexOf(e))return t[i];return!1};var i=acf.Model.extend({id:"MediaPopup",data:{},defaults:{},frame:!1,setup:function(t){e.extend(this.data,t)},initialize:function(){var e=this.getFrameOptions();this.addFrameStates(e);var t=wp.media(e);t.acf=this,this.addFrameEvents(t,e),this.frame=t},open:function(){this.frame.open()},close:function(){this.frame.close()},remove:function(){this.frame.detach(),this.frame.remove()},getFrameOptions:function(){var e={title:this.get("title"),multiple:this.get("multiple"),library:{},states:[]};return this.get("type")&&(e.library.type=this.get("type")),"uploadedTo"===this.get("library")&&(e.library.uploadedTo=t()),this.get("attachment")&&(e.library.post__in=[this.get("attachment")]),this.get("button")&&(e.button={text:this.get("button")}),e},addFrameStates:function(e){var t=wp.media.query(e.library);this.get("field")&&acf.isset(t,"mirroring","args")&&(t.mirroring.args._acfuploader=this.get("field")),e.states.push(new wp.media.controller.Library({library:t,multiple:this.get("multiple"),title:this.get("title"),priority:20,filterable:"all",editable:!0,allowLocalEdits:!0})),acf.isset(wp,"media","controller","EditImage")&&e.states.push(new wp.media.controller.EditImage)},addFrameEvents:function(e,t){e.on("open",(function(){this.$el.closest(".media-modal").addClass("acf-media-modal -"+this.acf.get("mode"))}),e),e.on("content:render:edit-image",(function(){var e=this.state().get("image"),t=new wp.media.view.EditImage({model:e,controller:this}).render();this.content.set(t),t.loadEditor()}),e),e.on("select",(function(){var t=e.state().get("selection");t&&t.each((function(t,i){e.acf.get("select").apply(e.acf,[t,i])}))})),e.on("close",(function(){setTimeout((function(){e.acf.get("close").apply(e.acf),e.acf.remove()}),1)}))}});acf.models.SelectMediaPopup=i.extend({id:"SelectMediaPopup",setup:function(e){e.button||(e.button=acf._x("Select","verb")),i.prototype.setup.apply(this,arguments)},addFrameEvents:function(e,t){acf.isset(_wpPluploadSettings,"defaults","multipart_params")&&(_wpPluploadSettings.defaults.multipart_params._acfuploader=this.get("field"),e.on("open",(function(){delete _wpPluploadSettings.defaults.multipart_params._acfuploader}))),e.on("content:activate:browse",(function(){var t=!1;try{t=e.content.get().toolbar}catch(e){return void console.log(e)}e.acf.customizeFilters.apply(e.acf,[t])})),i.prototype.addFrameEvents.apply(this,arguments)},customizeFilters:function(t){var i=t.get("filters");if("image"==this.get("type")&&(i.filters.all.text=acf.__("All images"),delete i.filters.audio,delete i.filters.video,delete i.filters.image,e.each(i.filters,(function(e,t){t.props.type=t.props.type||"image"}))),this.get("allowedTypes")&&this.get("allowedTypes").split(" ").join("").split(".").join("").split(",").map((function(e){var t=acf.getMimeType(e);if(t){var a={text:t,props:{status:null,type:t,uploadedTo:null,orderby:"date",order:"DESC"},priority:20};i.filters[t]=a}})),"uploadedTo"===this.get("library")){var a=this.frame.options.library.uploadedTo;delete i.filters.unattached,delete i.filters.uploaded,e.each(i.filters,(function(e,t){t.text+=" ("+acf.__("Uploaded to this post")+")",t.props.uploadedTo=a}))}var n=this.get("field");e.each(i.filters,(function(e,t){t.props._acfuploader=n})),t.get("search").model.attributes._acfuploader=n,i.renderFilters&&i.renderFilters()}}),acf.models.EditMediaPopup=i.extend({id:"SelectMediaPopup",setup:function(e){e.button||(e.button=acf._x("Update","verb")),i.prototype.setup.apply(this,arguments)},addFrameEvents:function(e,t){e.on("open",(function(){this.$el.closest(".media-modal").addClass("acf-expanded"),"browse"!=this.content.mode()&&this.content.mode("browse");var t=this.state().get("selection"),i=wp.media.attachment(e.acf.get("attachment"));t.add(i)}),e),i.prototype.addFrameEvents.apply(this,arguments)}}),new acf.Model({id:"customizePrototypes",wait:"ready",initialize:function(){if(acf.isset(window,"wp","media","view")){var e=t();e&&acf.isset(wp,"media","view","settings","post")&&(wp.media.view.settings.post.id=e),this.customizeAttachmentsButton(),this.customizeAttachmentsRouter(),this.customizeAttachmentFilters(),this.customizeAttachmentCompat(),this.customizeAttachmentLibrary()}},customizeAttachmentsButton:function(){if(acf.isset(wp,"media","view","Button")){var e=wp.media.view.Button;wp.media.view.Button=e.extend({initialize:function(){var e=_.defaults(this.options,this.defaults);this.model=new Backbone.Model(e),this.listenTo(this.model,"change",this.render)}})}},customizeAttachmentsRouter:function(){if(acf.isset(wp,"media","view","Router")){var t=wp.media.view.Router;wp.media.view.Router=t.extend({addExpand:function(){var t=e(['',''+acf.__("Expand Details")+"",''+acf.__("Collapse Details")+"",""].join(""));t.on("click",(function(t){t.preventDefault();var i=e(this).closest(".media-modal");i.hasClass("acf-expanded")?i.removeClass("acf-expanded"):i.addClass("acf-expanded")})),this.$el.append(t)},initialize:function(){return t.prototype.initialize.apply(this,arguments),this.addExpand(),this}})}},customizeAttachmentFilters:function(){acf.isset(wp,"media","view","AttachmentFilters","All")&&(wp.media.view.AttachmentFilters.All.prototype.renderFilters=function(){this.$el.html(_.chain(this.filters).map((function(t,i){return{el:e("").val(i).html(t.text)[0],priority:t.priority||50}}),this).sortBy("priority").pluck("el").value())})},customizeAttachmentCompat:function(){if(acf.isset(wp,"media","view","AttachmentCompat")){var t=wp.media.view.AttachmentCompat,i=!1;wp.media.view.AttachmentCompat=t.extend({render:function(){return this.rendered?this:(t.prototype.render.apply(this,arguments),this.$("#acf-form-data").length?(clearTimeout(i),i=setTimeout(e.proxy((function(){this.rendered=!0,acf.doAction("append",this.$el)}),this),50),this):this)},save:function(e){var t;e&&e.preventDefault(),t=acf.serializeForAjax(this.$el),this.controller.trigger("attachment:compat:waiting",["waiting"]),this.model.saveCompat(t).always(_.bind(this.postSave,this))}})}},customizeAttachmentLibrary:function(){if(acf.isset(wp,"media","view","Attachment","Library")){var e=wp.media.view.Attachment.Library;wp.media.view.Attachment.Library=e.extend({render:function(){var t=acf.isget(this,"controller","acf"),i=acf.isget(this,"model","attributes");if(t&&i){i.acf_errors&&this.$el.addClass("acf-disabled");var a=t.get("selected");a&&a.indexOf(i.id)>-1&&this.$el.addClass("acf-selected")}return e.prototype.render.apply(this,arguments)},toggleSelection:function(t){this.collection;var i=this.options.selection,a=this.model,n=(i.single(),this.controller),s=acf.isget(this,"model","attributes","acf_errors"),o=n.$el.find(".media-frame-content .media-sidebar");if(o.children(".acf-selection-error").remove(),o.children().removeClass("acf-hidden"),n&&s){var r=acf.isget(this,"model","attributes","filename");return o.children().addClass("acf-hidden"),o.prepend(['
        ',''+acf.__("Restricted")+"",''+r+"",''+s+"","
        "].join("")),i.reset(),void i.single(a)}return e.prototype.toggleSelection.apply(this,arguments)}})}}})}(jQuery)},993:()=>{var e;e=jQuery,new acf.Model({wait:"prepare",priority:1,initialize:function(){(acf.get("postboxes")||[]).map(acf.newPostbox)}}),acf.getPostbox=function(t){return"string"==typeof arguments[0]&&(t=e("#"+arguments[0])),acf.getInstance(t)},acf.getPostboxes=function(){return acf.getInstances(e(".acf-postbox"))},acf.newPostbox=function(e){return new acf.models.Postbox(e)},acf.models.Postbox=acf.Model.extend({data:{id:"",key:"",style:"default",label:"top",edit:""},setup:function(t){t.editLink&&(t.edit=t.editLink),e.extend(this.data,t),this.$el=this.$postbox()},$postbox:function(){return e("#"+this.get("id"))},$hide:function(){return e("#"+this.get("id")+"-hide")},$hideLabel:function(){return this.$hide().parent()},$hndle:function(){return this.$("> .hndle")},$handleActions:function(){return this.$("> .postbox-header .handle-actions")},$inside:function(){return this.$("> .inside")},isVisible:function(){return this.$el.hasClass("acf-hidden")},isHiddenByScreenOptions:function(){return this.$el.hasClass("hide-if-js")||"none"==this.$el.css("display")},initialize:function(){if(this.$el.addClass("acf-postbox"),"block"!==acf.get("editor")){var e=this.get("style");"default"!==e&&this.$el.addClass(e)}this.$inside().addClass("acf-fields").addClass("-"+this.get("label"));var t=this.get("edit");if(t){var i='',a=this.$handleActions();a.length?a.prepend(i):this.$hndle().append(i)}this.show()},show:function(){this.$el.hasClass("hide-if-js")?this.$hide().prop("checked",!1):(this.$hideLabel().show(),this.$hide().prop("checked",!0),this.$el.show().removeClass("acf-hidden"),acf.doAction("show_postbox",this))},enable:function(){acf.enable(this.$el,"postbox")},showEnable:function(){this.enable(),this.show()},hide:function(){this.$hideLabel().hide(),this.$el.hide().addClass("acf-hidden"),acf.doAction("hide_postbox",this)},disable:function(){acf.disable(this.$el,"postbox")},hideDisable:function(){this.disable(),this.hide()},html:function(e){this.$inside().html(e),acf.doAction("append",this.$el)}})},9400:()=>{var e;e=jQuery,acf.screen=new acf.Model({active:!0,xhr:!1,timeout:!1,wait:"load",events:{"change #page_template":"onChange","change #parent_id":"onChange","change #post-formats-select":"onChange","change .categorychecklist":"onChange","change .tagsdiv":"onChange",'change .acf-taxonomy-field[data-save="1"]':"onChange","change #product-type":"onChange"},isPost:function(){return"post"===acf.get("screen")},isUser:function(){return"user"===acf.get("screen")},isTaxonomy:function(){return"taxonomy"===acf.get("screen")},isAttachment:function(){return"attachment"===acf.get("screen")},isNavMenu:function(){return"nav_menu"===acf.get("screen")},isWidget:function(){return"widget"===acf.get("screen")},isComment:function(){return"comment"===acf.get("screen")},getPageTemplate:function(){var t=e("#page_template");return t.length?t.val():null},getPageParent:function(t,i){return(i=e("#parent_id")).length?i.val():null},getPageType:function(e,t){return this.getPageParent()?"child":"parent"},getPostType:function(){return e("#post_type").val()},getPostFormat:function(t,i){if((i=e("#post-formats-select input:checked")).length){var a=i.val();return"0"==a?"standard":a}return null},getPostCoreTerms:function(){var t={},i=acf.serialize(e(".categorydiv, .tagsdiv"));for(var a in i.tax_input&&(t=i.tax_input),i.post_category&&(t.category=i.post_category),t)acf.isArray(t[a])||(t[a]=t[a].split(/,[\s]?/));return t},getPostTerms:function(){var e=this.getPostCoreTerms();for(var t in acf.getFields({type:"taxonomy"}).map((function(t){if(t.get("save")){var i=t.val(),a=t.get("taxonomy");i&&(e[a]=e[a]||[],i=acf.isArray(i)?i:[i],e[a]=e[a].concat(i))}})),null!==(productType=this.getProductType())&&(e.product_type=[productType]),e)e[t]=acf.uniqueArray(e[t]);return e},getProductType:function(){var t=e("#product-type");return t.length?t.val():null},check:function(){if("post"===acf.get("screen")){this.xhr&&this.xhr.abort();var t=acf.parseArgs(this.data,{action:"acf/ajax/check_screen",screen:acf.get("screen"),exists:[]});this.isPost()&&(t.post_id=acf.get("post_id")),null!==(postType=this.getPostType())&&(t.post_type=postType),null!==(pageTemplate=this.getPageTemplate())&&(t.page_template=pageTemplate),null!==(pageParent=this.getPageParent())&&(t.page_parent=pageParent),null!==(pageType=this.getPageType())&&(t.page_type=pageType),null!==(postFormat=this.getPostFormat())&&(t.post_format=postFormat),null!==(postTerms=this.getPostTerms())&&(t.post_terms=postTerms),acf.getPostboxes().map((function(e){t.exists.push(e.get("key"))})),t=acf.applyFilters("check_screen_args",t),this.xhr=e.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(t),type:"post",dataType:"json",context:this,success:function(e){"post"==acf.get("screen")?this.renderPostScreen(e):"user"==acf.get("screen")&&this.renderUserScreen(e),acf.doAction("check_screen_complete",e,t)}})}},onChange:function(e,t){this.setTimeout(this.check,1)},renderPostScreen:function(t){var i=function(t,i){var a=e._data(t[0]).events;for(var n in a)for(var s=0;s=0;n--)if(e("#"+i[n]).length)return e("#"+i[n]).after(e("#"+t));for(n=a+1;n=5.5)var r=['
        ','

        ',""+acf.escHtml(n.title)+"","

        ",'
        ','","
        ","
        "].join("");else r=['",'

        ',""+acf.escHtml(n.title)+"","

        "].join("");n.classes||(n.classes="");var c=e(['
        ',r,'
        ',n.html,"
        ","
        "].join(""));if(e("#adv-settings").length){var l=e("#adv-settings .metabox-prefs"),d=e(['"].join(""));i(l.find("input").first(),d.find("input")),l.append(d)}e(".postbox").length&&(i(e(".postbox .handlediv").first(),c.children(".handlediv")),i(e(".postbox .hndle").first(),c.children(".hndle"))),"side"===n.position?e("#"+n.position+"-sortables").append(c):e("#"+n.position+"-sortables").prepend(c);var u=[];if(t.results.map((function(t){n.position===t.position&&e("#"+n.position+"-sortables #"+t.id).length&&u.push(t.id)})),a(n.id,u),t.sorted)for(var f in t.sorted){let e=t.sorted[f];if("string"==typeof e&&(e=e.split(","),a(n.id,e)))break}o=acf.newPostbox(n),acf.doAction("append",c),acf.doAction("append_postbox",o)}return o.showEnable(),t.visible.push(n.id),n})),acf.getPostboxes().map((function(e){-1===t.visible.indexOf(e.get("id"))&&(e.hideDisable(),t.hidden.push(e.get("id")))})),e("#acf-style").html(t.style),acf.doAction("refresh_post_screen",t)},renderUserScreen:function(e){}}),new acf.Model({postEdits:{},wait:"prepare",initialize:function(){acf.isGutenbergPostEditor()&&(wp.data.subscribe(acf.debounce(this.onChange).bind(this)),acf.screen.getPageTemplate=this.getPageTemplate,acf.screen.getPageParent=this.getPageParent,acf.screen.getPostType=this.getPostType,acf.screen.getPostFormat=this.getPostFormat,acf.screen.getPostCoreTerms=this.getPostCoreTerms,acf.unload.disable(),parseFloat(acf.get("wp_version"))>=5.3&&this.addAction("refresh_post_screen",this.onRefreshPostScreen),wp.domReady(acf.refresh))},onChange:function(){var e=["template","parent","format"];(wp.data.select("core").getTaxonomies()||[]).map((function(t){e.push(t.rest_base)}));var t=wp.data.select("core/editor").getPostEdits(),i={};e.map((function(e){void 0!==t[e]&&(i[e]=t[e])})),JSON.stringify(i)!==JSON.stringify(this.postEdits)&&(this.postEdits=i,acf.screen.check())},getPageTemplate:function(){return wp.data.select("core/editor").getEditedPostAttribute("template")},getPageParent:function(e,t){return wp.data.select("core/editor").getEditedPostAttribute("parent")},getPostType:function(){return wp.data.select("core/editor").getEditedPostAttribute("type")},getPostFormat:function(e,t){return wp.data.select("core/editor").getEditedPostAttribute("format")},getPostCoreTerms:function(){var e={};return(wp.data.select("core").getTaxonomies()||[]).map((function(t){var i=wp.data.select("core/editor").getEditedPostAttribute(t.rest_base);i&&(e[t.slug]=i)})),e},onRefreshPostScreen:function(e){var t=wp.data.select("core/edit-post"),i=wp.data.dispatch("core/edit-post"),a={};t.getActiveMetaBoxLocations().map((function(e){a[e]=t.getMetaBoxesPerLocation(e)}));var n=[];for(var s in a)a[s].map((function(e){n.push(e.id)}));for(var s in e.results.filter((function(e){return-1===n.indexOf(e.id)})).map((function(e,t){var i=e.position;a[i]=a[i]||[],a[i].push({id:e.id,title:e.title})})),a)a[s]=a[s].filter((function(t){return-1===e.hidden.indexOf(t.id)}));i.setAvailableMetaBoxesPerLocation(a)}})},2900:()=>{!function(e,t){function i(){return acf.isset(window,"jQuery","fn","select2","amd")?4:!!acf.isset(window,"Select2")&&3}acf.newSelect2=function(e,t){if(t=acf.parseArgs(t,{allowNull:!1,placeholder:"",multiple:!1,field:!1,ajax:!1,ajaxAction:"",ajaxData:function(e){return e},ajaxResults:function(e){return e},escapeMarkup:!1,templateSelection:!1,templateResult:!1,dropdownCssClass:"",suppressFilters:!1}),4==i())var a=new n(e,t);else a=new s(e,t);return acf.doAction("new_select2",a),a};var a=acf.Model.extend({setup:function(t,i){e.extend(this.data,i),this.$el=t},initialize:function(){},selectOption:function(e){var t=this.getOption(e);t.prop("selected")||t.prop("selected",!0).trigger("change")},unselectOption:function(e){var t=this.getOption(e);t.prop("selected")&&t.prop("selected",!1).trigger("change")},getOption:function(e){return this.$('option[value="'+e+'"]')},addOption:function(t){t=acf.parseArgs(t,{id:"",text:"",selected:!1});var i=this.getOption(t.id);return i.length||((i=e("")).html(t.text),i.attr("value",t.id),i.prop("selected",t.selected),this.$el.append(i)),i},getValue:function(){var t=[],i=this.$el.find("option:selected");return i.exists()?((i=i.sort((function(e,t){return+e.getAttribute("data-i")-+t.getAttribute("data-i")}))).each((function(){var i=e(this);t.push({$el:i,id:i.attr("value"),text:i.text()})})),t):t},mergeOptions:function(){},getChoices:function(){var t=function(i){var a=[];return i.children().each((function(){var i=e(this);i.is("optgroup")?a.push({text:i.attr("label"),children:t(i)}):a.push({id:i.attr("value"),text:i.text()})})),a};return t(this.$el)},getAjaxData:function(e){var t={action:this.get("ajaxAction"),s:e.term||"",paged:e.page||1},i=this.get("field");i&&(t.field_key=i.get("key"),i.get("nonce")&&(t.nonce=i.get("nonce")));var a=this.get("ajaxData");return a&&(t=a.apply(this,[t,e])),t=acf.applyFilters("select2_ajax_data",t,this.data,this.$el,i||!1,this),acf.prepareForAjax(t)},getAjaxResults:function(e,t){e=acf.parseArgs(e,{results:!1,more:!1});var i=this.get("ajaxResults");return i&&(e=i.apply(this,[e,t])),acf.applyFilters("select2_ajax_results",e,t,this)},processAjaxResults:function(t,i){return(t=this.getAjaxResults(t,i)).more&&(t.pagination={more:!0}),setTimeout(e.proxy(this.mergeOptions,this),1),t},destroy:function(){this.$el.data("select2")&&this.$el.select2("destroy"),this.$el.siblings(".select2-container").remove()}}),n=a.extend({initialize:function(){var i=this.$el,a={width:"100%",allowClear:this.get("allowNull"),placeholder:this.get("placeholder"),multiple:this.get("multiple"),escapeMarkup:this.get("escapeMarkup"),templateSelection:this.get("templateSelection"),templateResult:this.get("templateResult"),dropdownCssClass:this.get("dropdownCssClass"),suppressFilters:this.get("suppressFilters"),data:[]};a.templateSelection||delete a.templateSelection,a.templateResult||delete a.templateResult,a.dropdownCssClass||delete a.dropdownCssClass,acf.isset(window,"jQuery","fn","selectWoo")?(delete a.templateSelection,delete a.templateResult):a.templateSelection||(a.templateSelection=function(t){var i=e('');return i.html(a.escapeMarkup(t.text)),i.data("element",t.element),i}),a.escapeMarkup||(a.escapeMarkup=function(e){return"string"!=typeof e?e:this.suppressFilters?acf.strEscape(e):acf.applyFilters("select2_escape_markup",acf.strEscape(e),e,i,this.data,s||!1,this)}),a.multiple&&this.getValue().map((function(e){e.$el.detach().appendTo(i)}));var n=i.attr("data-ajax");if(n!==t&&(i.removeData("ajax"),i.removeAttr("data-ajax")),this.get("ajax")&&(a.ajax={url:acf.get("ajaxurl"),delay:250,dataType:"json",type:"post",cache:!1,data:e.proxy(this.getAjaxData,this),processResults:e.proxy(this.processAjaxResults,this)}),!a.suppressFilters){var s=this.get("field");a=acf.applyFilters("select2_args",a,i,this.data,s||!1,this)}i.select2(a);var o=i.next(".select2-container");if(a.multiple){var r=o.find("ul");r.sortable({stop:function(t){r.find(".select2-selection__choice").each((function(){if(e(this).data("data"))var t=e(e(this).data("data").element);else t=e(e(this).find("span.acf-selection").data("element"));t.detach().appendTo(i)})),i.trigger("change")}}),i.on("select2:select",this.proxy((function(e){this.getOption(e.params.data.id).detach().appendTo(this.$el)})))}i.on("select2:open",(()=>{e(".select2-container--open .select2-search__field").get(-1).focus()})),o.addClass("-acf"),n!==t&&i.attr("data-ajax",n),a.suppressFilters||acf.doAction("select2_init",i,a,this.data,s||!1,this)},mergeOptions:function(){var t=!1,i=!1;e('.select2-results__option[role="group"]').each((function(){var a=e(this).children("ul"),n=e(this).children("strong");if(i&&i.text()===n.text())return t.append(a.children()),void e(this).remove();t=a,i=n}))}}),s=a.extend({initialize:function(){var t=this.$el,i=this.getValue(),a=this.get("multiple"),n={width:"100%",allowClear:this.get("allowNull"),placeholder:this.get("placeholder"),separator:"||",multiple:this.get("multiple"),data:this.getChoices(),escapeMarkup:function(e){return acf.escHtml(e)},dropdownCss:{"z-index":"999999999"},initSelection:function(e,t){t(a?i:i.shift())}},s=t.siblings("input");s.length||(s=e(''),t.before(s)),inputValue=i.map((function(e){return e.id})).join("||"),s.val(inputValue),n.multiple&&i.map((function(e){e.$el.detach().appendTo(t)})),n.allowClear&&(n.data=n.data.filter((function(e){return""!==e.id}))),t.removeData("ajax"),t.removeAttr("data-ajax"),this.get("ajax")&&(n.ajax={url:acf.get("ajaxurl"),quietMillis:250,dataType:"json",type:"post",cache:!1,data:e.proxy(this.getAjaxData,this),results:e.proxy(this.processAjaxResults,this)});var o=this.get("field");n=acf.applyFilters("select2_args",n,t,this.data,o||!1,this),s.select2(n);var r=s.select2("container"),c=e.proxy(this.getOption,this);if(n.multiple){var l=r.find("ul");l.sortable({stop:function(){l.find(".select2-search-choice").each((function(){var i=e(this).data("select2Data");c(i.id).detach().appendTo(t)})),t.trigger("change")}})}s.on("select2-selecting",(function(i){var a=i.choice,n=c(a.id);n.length||(n=e('")),n.detach().appendTo(t)})),r.addClass("-acf"),acf.doAction("select2_init",t,n,this.data,o||!1,this),s.on("change",(function(){var e=s.val();e.indexOf("||")&&(e=e.split("||")),t.val(e).trigger("change")})),t.hide()},mergeOptions:function(){var t=!1;e("#select2-drop .select2-result-with-children").each((function(){var i=e(this).children("ul"),a=e(this).children(".select2-result-label");if(t&&t.text()===a.text())return t.append(i.children()),void e(this).remove();t=a}))},getAjaxData:function(e,t){var i={term:e,page:t},n=this.get("field");return i=acf.applyFilters("select2_ajax_data",i,this.data,this.$el,n||!1,this),a.prototype.getAjaxData.apply(this,[i])}});new acf.Model({priority:5,wait:"prepare",actions:{duplicate:"onDuplicate"},initialize:function(){var e=acf.get("locale"),t=(acf.get("rtl"),acf.get("select2L10n")),a=i();return!!t&&0!==e.indexOf("en")&&void(4==a?this.addTranslations4():3==a&&this.addTranslations3())},addTranslations4:function(){var e=acf.get("select2L10n"),t=acf.get("locale");t=t.replace("_","-");var i={errorLoading:function(){return e.load_fail},inputTooLong:function(t){var i=t.input.length-t.maximum;return i>1?e.input_too_long_n.replace("%d",i):e.input_too_long_1},inputTooShort:function(t){var i=t.minimum-t.input.length;return i>1?e.input_too_short_n.replace("%d",i):e.input_too_short_1},loadingMore:function(){return e.load_more},maximumSelected:function(t){var i=t.maximum;return i>1?e.selection_too_long_n.replace("%d",i):e.selection_too_long_1},noResults:function(){return e.matches_0},searching:function(){return e.searching}};jQuery.fn.select2.amd.define("select2/i18n/"+t,[],(function(){return i}))},addTranslations3:function(){var t=acf.get("select2L10n"),i=acf.get("locale");i=i.replace("_","-");var a={formatMatches:function(e){return e>1?t.matches_n.replace("%d",e):t.matches_1},formatNoMatches:function(){return t.matches_0},formatAjaxError:function(){return t.load_fail},formatInputTooShort:function(e,i){var a=i-e.length;return a>1?t.input_too_short_n.replace("%d",a):t.input_too_short_1},formatInputTooLong:function(e,i){var a=e.length-i;return a>1?t.input_too_long_n.replace("%d",a):t.input_too_long_1},formatSelectionTooBig:function(e){return e>1?t.selection_too_long_n.replace("%d",e):t.selection_too_long_1},formatLoadMore:function(){return t.load_more},formatSearching:function(){return t.searching}};e.fn.select2.locales=e.fn.select2.locales||{},e.fn.select2.locales[i]=a,e.extend(e.fn.select2.defaults,a)},onDuplicate:function(e,t){t.find(".select2-container").remove()}})}(jQuery)},1087:()=>{var e;e=jQuery,acf.tinymce={defaults:function(){return"undefined"!=typeof tinyMCEPreInit&&{tinymce:tinyMCEPreInit.mceInit.acf_content,quicktags:tinyMCEPreInit.qtInit.acf_content}},initialize:function(e,t){(t=acf.parseArgs(t,{tinymce:!0,quicktags:!0,toolbar:"full",mode:"visual",field:!1})).tinymce&&this.initializeTinymce(e,t),t.quicktags&&this.initializeQuicktags(e,t)},initializeTinymce:function(t,i){var a=e("#"+t),n=this.defaults(),s=acf.get("toolbars"),o=i.field||!1;if(o.$el,"undefined"==typeof tinymce)return!1;if(!n)return!1;if(tinymce.get(t))return this.enable(t);var r=e.extend({},n.tinymce,i.tinymce);r.id=t,r.selector="#"+t;var c=i.toolbar;if(c&&s&&s[c])for(var l=1;l<=4;l++)r["toolbar"+l]=s[c][l]||"";if(r.setup=function(e){e.on("change",(function(t){e.save(),a.trigger("change")})),e.on("mouseup",(function(e){var t=new MouseEvent("mouseup");window.dispatchEvent(t)}))},r.wp_autoresize_on=!1,r.tadv_noautop||(r.wpautop=!0),r=acf.applyFilters("wysiwyg_tinymce_settings",r,t,o),tinyMCEPreInit.mceInit[t]=r,"visual"==i.mode){tinymce.init(r);var d=tinymce.get(t);if(!d)return!1;d.acf=i.field,acf.doAction("wysiwyg_tinymce_init",d,d.id,r,o)}},initializeQuicktags:function(t,i){var a=this.defaults();if("undefined"==typeof quicktags)return!1;if(!a)return!1;var n=e.extend({},a.quicktags,i.quicktags);n.id=t;var s=i.field||!1;s.$el,n=acf.applyFilters("wysiwyg_quicktags_settings",n,n.id,s),tinyMCEPreInit.qtInit[t]=n;var o=quicktags(n);if(!o)return!1;this.buildQuicktags(o),acf.doAction("wysiwyg_quicktags_init",o,o.id,n,s)},buildQuicktags:function(e){var t,i,a,n,s,o,r,c;for(o in e.canvas,t=e.name,i=e.settings,n="",a={},r="",c=e.id,i.buttons&&(r=","+i.buttons+","),edButtons)edButtons[o]&&(s=edButtons[o].id,r&&-1!==",strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,".indexOf(","+s+",")&&-1===r.indexOf(","+s+",")||edButtons[o].instance&&edButtons[o].instance!==c||(a[s]=edButtons[o],edButtons[o].html&&(n+=edButtons[o].html(t+"_"))));r&&-1!==r.indexOf(",dfw,")&&(a.dfw=new QTags.DFWButton,n+=a.dfw.html(t+"_")),"rtl"===document.getElementsByTagName("html")[0].dir&&(a.textdirection=new QTags.TextDirectionButton,n+=a.textdirection.html(t+"_")),e.toolbar.innerHTML=n,e.theButtons=a,"undefined"!=typeof jQuery&&jQuery(document).triggerHandler("quicktags-init",[e])},disable:function(e){this.destroyTinymce(e)},remove:function(e){this.destroyTinymce(e)},destroy:function(e){this.destroyTinymce(e)},destroyTinymce:function(e){if("undefined"==typeof tinymce)return!1;var t=tinymce.get(e);return!!t&&(t.save(),t.destroy(),!0)},enable:function(e){this.enableTinymce(e)},enableTinymce:function(t){return"undefined"!=typeof switchEditors&&void 0!==tinyMCEPreInit.mceInit[t]&&(e("#"+t).show(),switchEditors.go(t,"tmce"),!0)}},new acf.Model({priority:5,actions:{prepare:"onPrepare",ready:"onReady"},onPrepare:function(){var t=e("#acf-hidden-wp-editor");t.exists()&&t.appendTo("body")},onReady:function(){acf.isset(window,"wp","oldEditor")&&(wp.editor.autop=wp.oldEditor.autop,wp.editor.removep=wp.oldEditor.removep),acf.isset(window,"tinymce","on")&&tinymce.on("AddEditor",(function(e){var t=e.editor;"acf"===t.id.substr(0,3)&&(t=tinymce.editors.content||t,tinymce.activeEditor=t,wpActiveEditor=t.id)}))}})},963:()=>{var e;e=jQuery,acf.unload=new acf.Model({wait:"load",active:!0,changed:!1,actions:{validation_failure:"startListening",validation_success:"stopListening"},events:{"change form .acf-field":"startListening","submit form":"stopListening"},enable:function(){this.active=!0},disable:function(){this.active=!1},reset:function(){this.stopListening()},startListening:function(){!this.changed&&this.active&&(this.changed=!0,e(window).on("beforeunload",this.onUnload))},stopListening:function(){this.changed=!1,e(window).off("beforeunload",this.onUnload)},onUnload:function(){return acf.__("The changes you made will be lost if you navigate away from this page")}})},2631:()=>{!function(e){var t=acf.Model.extend({id:"Validator",data:{errors:[],notice:null,status:""},events:{"changed:status":"onChangeStatus"},addErrors:function(e){e.map(this.addError,this)},addError:function(e){this.data.errors.push(e)},hasErrors:function(){return this.data.errors.length},clearErrors:function(){return this.data.errors=[]},getErrors:function(){return this.data.errors},getFieldErrors:function(){var e=[],t=[];return this.getErrors().map((function(i){if(i.input){var a=t.indexOf(i.input);a>-1?e[a]=i:(e.push(i),t.push(i.input))}})),e},getGlobalErrors:function(){return this.getErrors().filter((function(e){return!e.input}))},showErrors:function(t="before"){if(this.hasErrors()){var i=this.getFieldErrors(),a=this.getGlobalErrors(),n=0,o=!1;i.map((function(e){var i=this.$('[name="'+e.input+'"]').first();if(i.length||(i=this.$('[name^="'+e.input+'"]').first()),i.length){n++;var a=acf.getClosestField(i);s(a.$el),a.showError(e.message,t),o||(o=a.$el)}}),this);var r=acf.__("Validation failed");if(a.map((function(e){r+=". "+e.message})),1==n?r+=". "+acf.__("1 field requires attention"):n>1&&(r+=". "+acf.__("%d fields require attention").replace("%d",n)),this.has("notice"))this.get("notice").update({type:"error",text:r});else{var c=acf.newNotice({type:"error",text:r,target:this.$el});this.set("notice",c)}this.$el.parents(".acf-popup-box").length||(o||(o=this.get("notice").$el),setTimeout((function(){e("html, body").animate({scrollTop:o.offset().top-e(window).height()/2},500)}),10))}},onChangeStatus:function(e,t,i,a){this.$el.removeClass("is-"+a).addClass("is-"+i)},validate:function(t){if(t=acf.parseArgs(t,{event:!1,reset:!1,loading:function(){},complete:function(){},failure:function(){},success:function(e){e.submit()}}),"valid"==this.get("status"))return!0;if("validating"==this.get("status"))return!1;if(!this.$(".acf-field").length)return!0;if(t.event){var i=e.Event(null,t.event);t.success=function(){acf.enableSubmit(e(i.target)).trigger(i)}}acf.doAction("validation_begin",this.$el),acf.lockForm(this.$el),t.loading(this.$el,this),this.set("status","validating");var a=acf.serialize(this.$el);return a.action="acf/validate_save_post",e.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a,!0),type:"post",dataType:"json",context:this,success:function(e){if(acf.isAjaxSuccess(e)){var t=acf.applyFilters("validation_complete",e.data,this.$el,this);t.valid||this.addErrors(t.errors)}},complete:function(){acf.unlockForm(this.$el),this.hasErrors()?(this.set("status","invalid"),acf.doAction("validation_failure",this.$el,this),this.showErrors(),t.failure(this.$el,this)):(this.set("status","valid"),this.has("notice")&&this.get("notice").update({type:"success",text:acf.__("Validation successful"),timeout:1e3}),acf.doAction("validation_success",this.$el,this),acf.doAction("submit",this.$el),t.success(this.$el,this),acf.lockForm(this.$el),t.reset&&this.reset()),t.complete(this.$el,this),this.clearErrors()}}),!1},setup:function(e){this.$el=e},reset:function(){this.set("errors",[]),this.set("notice",null),this.set("status",""),acf.unlockForm(this.$el)}}),i=function(e){var i=e.data("acf");return i||(i=new t(e)),i};acf.getBlockFormValidator=function(e){return i(e)},acf.validateForm=function(e){return i(e.form).validate(e)},acf.enableSubmit=function(e){return e.removeClass("disabled").removeAttr("disabled")},acf.disableSubmit=function(e){return e.addClass("disabled").attr("disabled",!0)},acf.showSpinner=function(e){return e.addClass("is-active"),e.css("display","inline-block"),e},acf.hideSpinner=function(e){return e.removeClass("is-active"),e.css("display","none"),e},acf.lockForm=function(e){var t=a(e),i=t.find('.button, [type="submit"]').not(".acf-nav, .acf-repeater-add-row"),n=t.find(".spinner, .acf-spinner");return acf.hideSpinner(n),acf.disableSubmit(i),acf.showSpinner(n.last()),e},acf.unlockForm=function(e){var t=a(e),i=t.find('.button, [type="submit"]').not(".acf-nav, .acf-repeater-add-row"),n=t.find(".spinner, .acf-spinner");return acf.enableSubmit(i),acf.hideSpinner(n),e};var a=function(t){var i;return(i=t.find("#submitdiv")).length||(i=t.find("#submitpost")).length||(i=t.find("p.submit").last()).length||(i=t.find(".acf-form-submit")).length||(i=e("#acf-create-options-page-form .acf-actions")).length||(i=e(".acf-headerbar-actions")).length?i:t},n=acf.debounce((function(e){e.submit()})),s=function(e){var t=e.parents(".acf-postbox");if(t.length){var i=acf.getPostbox(t);i&&i.isHiddenByScreenOptions()&&(i.$el.removeClass("hide-if-js"),i.$el.css("display",""))}};acf.validation=new acf.Model({id:"validation",active:!0,wait:"prepare",actions:{ready:"addInputEvents",append:"addInputEvents"},events:{'click input[type="submit"]':"onClickSubmit",'click button[type="submit"]':"onClickSubmit","click #save-post":"onClickSave","submit form#post":"onSubmitPost","submit form":"onSubmit"},initialize:function(){acf.get("validation")||(this.active=!1,this.actions={},this.events={})},enable:function(){this.active=!0},disable:function(){this.active=!1},reset:function(e){i(e).reset()},addInputEvents:function(t){if("safari"!==acf.get("browser")){var i=e(".acf-field [name]",t);i.length&&this.on(i,"invalid","onInvalid")}},onInvalid:function(e,t){e.preventDefault();var a=t.closest("form");a.length&&(i(a).addError({input:t.attr("name"),message:acf.strEscape(e.target.validationMessage)}),n(a))},onClickSubmit:function(t,i){e(".acf-field input").each((function(){this.checkValidity()||s(e(this))})),this.set("originalEvent",t)},onClickSave:function(e,t){this.set("ignore",!0)},onSubmitPost:function(t,i){"dopreview"===e("input#wp-preview").val()&&(this.set("ignore",!0),acf.unlockForm(i))},onSubmit:function(e,t){if(!this.active||this.get("ignore")||e.isDefaultPrevented())return this.allowSubmit();acf.validateForm({form:t,event:this.get("originalEvent")})||e.preventDefault()},allowSubmit:function(){return this.set("ignore",!1),this.set("originalEvent",!1),!0}}),new acf.Model({wait:"prepare",initialize:function(){acf.isGutenberg()&&this.customizeEditor()},customizeEditor:function(){var t=wp.data.dispatch("core/editor"),i=wp.data.select("core/editor"),a=wp.data.dispatch("core/notices"),n=t.savePost,s=!1,o="";wp.data.subscribe((function(){var e=i.getEditedPostAttribute("status");s="publish"===e||"future"===e,o="publish"!==e?e:o})),t.savePost=function(i){i=i||{};var r=this,c=arguments;return new Promise((function(n,r){if(i.isAutosave||i.isPreview)return n("Validation ignored (autosave).");if(!s)return n("Validation ignored (draft).");if(void 0!==acf.blockInstances){const e=wp.data.select("core/block-editor").getSelectedBlockClientId();if(e&&e in acf.blockInstances&&acf.blockInstances[e].validation_errors)return acf.debug("Rejecting save because the block editor has a invalid ACF block selected."),a.createErrorNotice(acf.__("An ACF Block on this page requires attention before you can save."),{id:"acf-validation",isDismissible:!0}),wp.data.dispatch("core/editor").lockPostSaving("acf/block/"+e),wp.data.dispatch("core/block-editor").selectBlock(!1),r("ACF Validation failed for selected block.")}acf.validateForm({form:e("#wpbody-content > .block-editor"),reset:!0,complete:function(e,i){t.unlockPostSaving("acf")},failure:function(e,i){var n=i.get("notice");a.createErrorNotice(n.get("text"),{id:"acf-validation",isDismissible:!0}),n.remove(),o&&t.editPost({status:o}),r("Validation failed.")},success:function(){a.removeNotice("acf-validation"),n("Validation success.")}})?n("Validation bypassed."):t.lockPostSaving("acf")})).then((function(){return n.apply(r,c)}),(e=>{}))}}})}(jQuery)}},t={};function i(a){var n=t[a];if(void 0!==n)return n.exports;var s=t[a]={exports:{}};return e[a](s,s.exports,i),s.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var a in t)i.o(t,a)&&!i.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";i(5338),i(2457),i(5593),i(6289),i(774),i(3623),i(9982),i(960),i(1163),i(3045),i(2410),i(2093),i(5915),i(2237),i(9252),i(6290),i(7509),i(6403),i(5848),i(2553),i(7513),i(9732),i(3284),i(9213),i(1525),i(5942),i(9938),i(8903),i(3858),i(2747),i(963),i(993),i(1218),i(9400),i(2900),i(1087),i(2631),i(8223),i(4750)})()})(); \ No newline at end of file +(()=>{var e={4750:()=>{!function(e){acf.newCompatibility=function(e,t){return(t=t||{}).__proto__=e.__proto__,e.__proto__=t,e.compatibility=t,t},acf.getCompatibility=function(e){return e.compatibility||null};var t=acf.newCompatibility(acf,{l10n:{},o:{},fields:{},update:acf.set,add_action:acf.addAction,remove_action:acf.removeAction,do_action:acf.doAction,add_filter:acf.addFilter,remove_filter:acf.removeFilter,apply_filters:acf.applyFilters,parse_args:acf.parseArgs,disable_el:acf.disable,disable_form:acf.disable,enable_el:acf.enable,enable_form:acf.enable,update_user_setting:acf.updateUserSetting,prepare_for_ajax:acf.prepareForAjax,is_ajax_success:acf.isAjaxSuccess,remove_el:acf.remove,remove_tr:acf.remove,str_replace:acf.strReplace,render_select:acf.renderSelect,get_uniqid:acf.uniqid,serialize_form:acf.serialize,esc_html:acf.strEscape,str_sanitize:acf.strSanitize});t._e=function(e,t){e=e||"";var i=(t=t||"")?e+"."+t:e,a={"image.select":"Select Image","image.edit":"Edit Image","image.update":"Update Image"};if(a[i])return acf.__(a[i]);var n=this.l10n[e]||"";return t&&(n=n[t]||""),n},t.get_selector=function(t){var i=".acf-field";if(!t)return i;if(e.isPlainObject(t)){if(e.isEmptyObject(t))return i;for(var a in t){t=t[a];break}}return i+="-"+t,i=acf.strReplace("_","-",i),acf.strReplace("field-field-","field-",i)},t.get_fields=function(e,t,i){var a={is:e||"",parent:t||!1,suppressFilters:i||!1};return a.is&&(a.is=this.get_selector(a.is)),acf.findFields(a)},t.get_field=function(e,t){var i=this.get_fields.apply(this,arguments);return!!i.length&&i.first()},t.get_closest_field=function(e,t){return e.closest(this.get_selector(t))},t.get_field_wrap=function(e){return e.closest(this.get_selector())},t.get_field_key=function(e){return e.data("key")},t.get_field_type=function(e){return e.data("type")},t.get_data=function(e,t){return acf.parseArgs(e.data(),t)},t.maybe_get=function(e,t,i){void 0===i&&(i=null),keys=String(t).split(".");for(var a=0;a1){for(var c=0;c0?t.substr(0,n):t,o=n>0?t.substr(n+1):"",r=function(t){t.$el=e(this),acf.field_group&&(t.$field=t.$el.closest(".acf-field-object")),"function"==typeof a.event&&(t=a.event(t)),a[i].apply(a,arguments)};o?e(document).on(s,o,r):e(document).on(s,r)},get:function(e,t){return t=t||null,void 0!==this[e]&&(t=this[e]),t},set:function(e,t){return this[e]=t,"function"==typeof this["_set_"+e]&&this["_set_"+e].apply(this),this}},t.field=acf.model.extend({type:"",o:{},$field:null,_add_action:function(e,t){var i=this;e=e+"_field/type="+i.type,acf.add_action(e,(function(e){i.set("$field",e),i[t].apply(i,arguments)}))},_add_filter:function(e,t){var i=this;e=e+"_field/type="+i.type,acf.add_filter(e,(function(e){i.set("$field",e),i[t].apply(i,arguments)}))},_add_event:function(t,i){var a=this,n=t.substr(0,t.indexOf(" ")),s=t.substr(t.indexOf(" ")+1),o=acf.get_selector(a.type);e(document).on(n,o+" "+s,(function(t){var n=e(this),s=acf.get_closest_field(n,a.type);s.length&&(s.is(a.$field)||a.set("$field",s),t.$el=n,t.$field=s,a[i].apply(a,[t]))}))},_set_$field:function(){"function"==typeof this.focus&&this.focus()},doFocus:function(e){return this.set("$field",e)}}),acf.newCompatibility(acf.validation,{remove_error:function(e){acf.getField(e).removeError()},add_warning:function(e,t){acf.getField(e).showNotice({text:t,type:"warning",timeout:1e3})},fetch:acf.validateForm,enableSubmit:acf.enableSubmit,disableSubmit:acf.disableSubmit,showSpinner:acf.showSpinner,hideSpinner:acf.hideSpinner,unlockForm:acf.unlockForm,lockForm:acf.lockForm}),t.tooltip={tooltip:function(e,t){return acf.newTooltip({text:e,target:t}).$el},temp:function(e,t){acf.newTooltip({text:e,target:t,timeout:250})},confirm:function(e,t,i,a,n){acf.newTooltip({confirm:!0,text:i,target:e,confirm:function(){t(!0)},cancel:function(){t(!1)}})},confirm_remove:function(e,t){acf.newTooltip({confirmRemove:!0,target:e,confirm:function(){t(!0)},cancel:function(){t(!1)}})}},t.media=new acf.Model({activeFrame:!1,actions:{new_media_popup:"onNewMediaPopup"},frame:function(){return this.activeFrame},onNewMediaPopup:function(e){this.activeFrame=e.frame},popup:function(e){return e.mime_types&&(e.allowedTypes=e.mime_types),e.id&&(e.attachment=e.id),acf.newMediaPopup(e).frame}}),t.select2={init:function(e,t,i){return t.allow_null&&(t.allowNull=t.allow_null),t.ajax_action&&(t.ajaxAction=t.ajax_action),i&&(t.field=acf.getField(i)),acf.newSelect2(e,t)},destroy:function(e){return acf.getInstance(e).destroy()}},t.postbox={render:function(e){return e.edit_url&&(e.editLink=e.edit_url),e.edit_title&&(e.editTitle=e.edit_title),acf.newPostbox(e)}},acf.newCompatibility(acf.screen,{update:function(){return this.set.apply(this,arguments)},fetch:acf.screen.check}),t.ajax=acf.screen}(jQuery)},2747:()=>{!function(e){var __=acf.__,t=function(e){return e?""+e:""},i=function(e,i){return t(e).toLowerCase()===t(i).toLowerCase()},a=function(e,t){return t instanceof Array?1===t.length&&a(e,t[0]):parseFloat(e)===parseFloat(t)};const n=function(t,i){const a=e("");let n=`acf/fields/${i}/query`;"user"===i&&(n="acf/ajax/query_users");const s={action:n,field_key:t.data.key,s:"",type:t.data.key},o=acf.escAttr(i),r={field:!1,ajax:!0,ajaxAction:n,ajaxData:function(t){return s.paged=t.paged,s.s=t.s,s.conditional_logic=!0,s.include=e.isNumeric(t.s)?Number(t.s):"",acf.prepareForAjax(s)},escapeMarkup:function(e){return acf.escHtml(e)},templateSelection:function(e){return``+acf.escHtml(e.text)+""},templateResult:function(e){return''+acf.escHtml(e.text)+""+``+(e.id?e.id:"")+""}};return a.data("acfSelect2Props",r),a};var s=acf.Condition.extend({type:"hasPageLink",operator:"==",label:__("Page is equal to"),fieldTypes:["page_link"],match:function(e,t){return i(e.value,t.val())},choices:function(e){return n(e,"page_link")}});acf.registerConditionType(s);var o=acf.Condition.extend({type:"hasPageLinkNotEqual",operator:"!==",label:__("Page is not equal to"),fieldTypes:["page_link"],match:function(e,t){return!i(e.value,t.val())},choices:function(e){return n(e,"page_link")}});acf.registerConditionType(o);var r=acf.Condition.extend({type:"containsPageLink",operator:"==contains",label:__("Pages contain"),fieldTypes:["page_link"],match:function(e,t){const i=t.val(),a=e.value;let n=!1;return n=i instanceof Array?i.includes(a):i===a,n},choices:function(e){return n(e,"page_link")}});acf.registerConditionType(r);var c=acf.Condition.extend({type:"containsNotPageLink",operator:"!=contains",label:__("Pages do not contain"),fieldTypes:["page_link"],match:function(e,t){const i=t.val(),a=e.value;let n=!0;return n=i instanceof Array?!i.includes(a):i!==a,n},choices:function(e){return n(e,"page_link")}});acf.registerConditionType(c);var l=acf.Condition.extend({type:"hasAnyPageLink",operator:"!=empty",label:__("Has any page selected"),fieldTypes:["page_link"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!!i},choices:function(){return''}});acf.registerConditionType(l);var d=acf.Condition.extend({type:"hasNoPageLink",operator:"==empty",label:__("Has no page selected"),fieldTypes:["page_link"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!i},choices:function(){return''}});acf.registerConditionType(d);var u=acf.Condition.extend({type:"hasUser",operator:"==",label:__("User is equal to"),fieldTypes:["user"],match:function(e,t){return a(e.value,t.val())},choices:function(e){return n(e,"user")}});acf.registerConditionType(u);var f=acf.Condition.extend({type:"hasUserNotEqual",operator:"!==",label:__("User is not equal to"),fieldTypes:["user"],match:function(e,t){return!a(e.value,t.val())},choices:function(e){return n(e,"user")}});acf.registerConditionType(f);var p=acf.Condition.extend({type:"containsUser",operator:"==contains",label:__("Users contain"),fieldTypes:["user"],match:function(e,t){const i=t.val(),a=e.value;let n=!1;return n=i instanceof Array?i.includes(a):i===a,n},choices:function(e){return n(e,"user")}});acf.registerConditionType(p);var h=acf.Condition.extend({type:"containsNotUser",operator:"!=contains",label:__("Users do not contain"),fieldTypes:["user"],match:function(e,t){const i=t.val(),a=e.value;let n=!0;n=i instanceof Array?!i.includes(a):!i===a},choices:function(e){return n(e,"user")}});acf.registerConditionType(h);var g=acf.Condition.extend({type:"hasAnyUser",operator:"!=empty",label:__("Has any user selected"),fieldTypes:["user"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!!i},choices:function(){return''}});acf.registerConditionType(g);var m=acf.Condition.extend({type:"hasNoUser",operator:"==empty",label:__("Has no user selected"),fieldTypes:["user"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!i},choices:function(){return''}});acf.registerConditionType(m);var v=acf.Condition.extend({type:"hasRelationship",operator:"==",label:__("Relationship is equal to"),fieldTypes:["relationship"],match:function(e,t){return a(e.value,t.val())},choices:function(e){return n(e,"relationship")}});acf.registerConditionType(v);var y=acf.Condition.extend({type:"hasRelationshipNotEqual",operator:"!==",label:__("Relationship is not equal to"),fieldTypes:["relationship"],match:function(e,t){return!a(e.value,t.val())},choices:function(e){return n(e,"relationship")}});acf.registerConditionType(y);var b=acf.Condition.extend({type:"containsRelationship",operator:"==contains",label:__("Relationships contain"),fieldTypes:["relationship"],match:function(e,t){const i=t.val(),a=parseInt(e.value);let n=!1;return i instanceof Array&&(n=i.includes(a)),n},choices:function(e){return n(e,"relationship")}});acf.registerConditionType(b);var _=acf.Condition.extend({type:"containsNotRelationship",operator:"!=contains",label:__("Relationships do not contain"),fieldTypes:["relationship"],match:function(e,t){const i=t.val(),a=parseInt(e.value);let n=!0;return i instanceof Array&&(n=!i.includes(a)),n},choices:function(e){return n(e,"relationship")}});acf.registerConditionType(_);var w=acf.Condition.extend({type:"hasAnyRelation",operator:"!=empty",label:__("Has any relationship selected"),fieldTypes:["relationship"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!!i},choices:function(){return''}});acf.registerConditionType(w);var x=acf.Condition.extend({type:"hasNoRelation",operator:"==empty",label:__("Has no relationship selected"),fieldTypes:["relationship"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!i},choices:function(){return''}});acf.registerConditionType(x);var k=acf.Condition.extend({type:"hasPostObject",operator:"==",label:__("Post is equal to"),fieldTypes:["post_object"],match:function(e,t){return a(e.value,t.val())},choices:function(e){return n(e,"post_object")}});acf.registerConditionType(k);var $=acf.Condition.extend({type:"hasPostObjectNotEqual",operator:"!==",label:__("Post is not equal to"),fieldTypes:["post_object"],match:function(e,t){return!a(e.value,t.val())},choices:function(e){return n(e,"post_object")}});acf.registerConditionType($);var T=acf.Condition.extend({type:"containsPostObject",operator:"==contains",label:__("Posts contain"),fieldTypes:["post_object"],match:function(e,t){const i=t.val(),a=e.value;let n=!1;return n=i instanceof Array?i.includes(a):i===a,n},choices:function(e){return n(e,"post_object")}});acf.registerConditionType(T);var C=acf.Condition.extend({type:"containsNotPostObject",operator:"!=contains",label:__("Posts do not contain"),fieldTypes:["post_object"],match:function(e,t){const i=t.val(),a=e.value;let n=!0;return n=i instanceof Array?!i.includes(a):i!==a,n},choices:function(e){return n(e,"post_object")}});acf.registerConditionType(C);var F=acf.Condition.extend({type:"hasAnyPostObject",operator:"!=empty",label:__("Has any post selected"),fieldTypes:["post_object"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!!i},choices:function(){return''}});acf.registerConditionType(F);var A=acf.Condition.extend({type:"hasNoPostObject",operator:"==empty",label:__("Has no post selected"),fieldTypes:["post_object"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!i},choices:function(){return''}});acf.registerConditionType(A);var P=acf.Condition.extend({type:"hasTerm",operator:"==",label:__("Term is equal to"),fieldTypes:["taxonomy"],match:function(e,t){return a(e.value,t.val())},choices:function(e){return n(e,"taxonomy")}});acf.registerConditionType(P);var j=acf.Condition.extend({type:"hasTermNotEqual",operator:"!==",label:__("Term is not equal to"),fieldTypes:["taxonomy"],match:function(e,t){return!a(e.value,t.val())},choices:function(e){return n(e,"taxonomy")}});acf.registerConditionType(j);var S=acf.Condition.extend({type:"containsTerm",operator:"==contains",label:__("Terms contain"),fieldTypes:["taxonomy"],match:function(e,t){const i=t.val(),a=e.value;let n=!1;return i instanceof Array&&(n=i.includes(a)),n},choices:function(e){return n(e,"taxonomy")}});acf.registerConditionType(S);var E=acf.Condition.extend({type:"containsNotTerm",operator:"!=contains",label:__("Terms do not contain"),fieldTypes:["taxonomy"],match:function(e,t){const i=t.val(),a=e.value;let n=!0;return i instanceof Array&&(n=!i.includes(a)),n},choices:function(e){return n(e,"taxonomy")}});acf.registerConditionType(E);var M=acf.Condition.extend({type:"hasAnyTerm",operator:"!=empty",label:__("Has any term selected"),fieldTypes:["taxonomy"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!!i},choices:function(){return''}});acf.registerConditionType(M);var D=acf.Condition.extend({type:"hasNoTerm",operator:"==empty",label:__("Has no term selected"),fieldTypes:["taxonomy"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!i},choices:function(){return''}});acf.registerConditionType(D);var L=acf.Condition.extend({type:"hasValue",operator:"!=empty",label:__("Has any value"),fieldTypes:["text","textarea","number","range","email","url","password","image","file","wysiwyg","oembed","select","checkbox","radio","button_group","link","google_map","date_picker","date_time_picker","time_picker","color_picker","icon_picker"],match:function(e,t){let i=t.val();return i instanceof Array&&(i=i.length),!!i},choices:function(e){return''}});acf.registerConditionType(L);var V=L.extend({type:"hasNoValue",operator:"==empty",label:__("Has no value"),match:function(e,t){return!L.prototype.match.apply(this,arguments)}});acf.registerConditionType(V);var R=acf.Condition.extend({type:"equalTo",operator:"==",label:__("Value is equal to"),fieldTypes:["text","textarea","number","range","email","url","password"],match:function(e,t){return acf.isNumeric(e.value)?a(e.value,t.val()):i(e.value,t.val())},choices:function(e){return''}});acf.registerConditionType(R);var z=R.extend({type:"notEqualTo",operator:"!=",label:__("Value is not equal to"),match:function(e,t){return!R.prototype.match.apply(this,arguments)}});acf.registerConditionType(z);var O=acf.Condition.extend({type:"patternMatch",operator:"==pattern",label:__("Value matches pattern"),fieldTypes:["text","textarea","email","url","password","wysiwyg"],match:function(e,i){return a=i.val(),n=e.value,s=new RegExp(t(n),"gi"),t(a).match(s);var a,n,s},choices:function(e){return''}});acf.registerConditionType(O);var I=acf.Condition.extend({type:"contains",operator:"==contains",label:__("Value contains"),fieldTypes:["text","textarea","number","email","url","password","wysiwyg","oembed","select"],match:function(e,i){return a=i.val(),n=e.value,t(a).indexOf(t(n))>-1;var a,n},choices:function(e){return''}});acf.registerConditionType(I);var N=R.extend({type:"trueFalseEqualTo",choiceType:"select",fieldTypes:["true_false"],choices:function(e){return[{id:1,text:__("Checked")}]}});acf.registerConditionType(N);var B=z.extend({type:"trueFalseNotEqualTo",choiceType:"select",fieldTypes:["true_false"],choices:function(e){return[{id:1,text:__("Checked")}]}});acf.registerConditionType(B);var Q=acf.Condition.extend({type:"selectEqualTo",operator:"==",label:__("Value is equal to"),fieldTypes:["select","checkbox","radio","button_group"],match:function(e,a){var n,s=a.val();return s instanceof Array?(n=e.value,s.map((function(e){return t(e)})).indexOf(n)>-1):i(e.value,s)},choices:function(e){var t=[],i=e.$setting("choices textarea").val().split("\n");return e.$input("allow_null").prop("checked")&&t.push({id:"",text:__("Null")}),i.map((function(e){(e=e.split(":"))[1]=e[1]||e[0],t.push({id:e[0].trim(),text:e[1].trim()})})),t}});acf.registerConditionType(Q);var q=Q.extend({type:"selectNotEqualTo",operator:"!=",label:__("Value is not equal to"),match:function(e,t){return!Q.prototype.match.apply(this,arguments)}});acf.registerConditionType(q);var H=acf.Condition.extend({type:"greaterThan",operator:">",label:__("Value is greater than"),fieldTypes:["number","range"],match:function(e,t){var i,a,n=t.val();return n instanceof Array&&(n=n.length),i=n,a=e.value,parseFloat(i)>parseFloat(a)},choices:function(e){return''}});acf.registerConditionType(H);var U=H.extend({type:"lessThan",operator:"<",label:__("Value is less than"),match:function(e,t){var i,a,n=t.val();return n instanceof Array&&(n=n.length),null==n||!1===n||(i=n,a=e.value,parseFloat(i)'}});acf.registerConditionType(U);var G=H.extend({type:"selectionGreaterThan",label:__("Selection is greater than"),fieldTypes:["checkbox","select","post_object","page_link","relationship","taxonomy","user"]});acf.registerConditionType(G);var K=U.extend({type:"selectionLessThan",label:__("Selection is less than"),fieldTypes:["checkbox","select","post_object","page_link","relationship","taxonomy","user"]});acf.registerConditionType(K)}(jQuery)},8903:()=>{!function(e){var t=[];acf.Condition=acf.Model.extend({type:"",operator:"==",label:"",choiceType:"input",fieldTypes:[],data:{conditions:!1,field:!1,rule:{}},events:{change:"change",keyup:"change",enableField:"change",disableField:"change"},setup:function(t){e.extend(this.data,t)},getEventTarget:function(e,t){return e||this.get("field").$el},change:function(e,t){this.get("conditions").change(e)},match:function(e,t){return!1},calculate:function(){return this.match(this.get("rule"),this.get("field"))},choices:function(e){return''}}),acf.newCondition=function(e,t){var i=t.get("field"),a=i.getField(e.field);if(!i||!a)return!1;var n={rule:e,target:i,conditions:t,field:a},s=a.get("type"),o=e.operator;return new(acf.getConditionTypes({fieldType:s,operator:o})[0]||acf.Condition)(n)};var i=function(e){return acf.strPascalCase(e||"")+"Condition"};acf.registerConditionType=function(e){var a=e.prototype.type,n=i(a);acf.models[n]=e,t.push(a)},acf.getConditionType=function(e){var t=i(e);return acf.models[t]||!1},acf.registerConditionForFieldType=function(e,t){var i=acf.getConditionType(e);i&&i.prototype.fieldTypes.push(t)},acf.getConditionTypes=function(e){e=acf.parseArgs(e,{fieldType:"",operator:""});var i=[];return t.map((function(t){var a=acf.getConditionType(t),n=a.prototype.fieldTypes,s=a.prototype.operator;e.fieldType&&-1===n.indexOf(e.fieldType)||e.operator&&s!==e.operator||i.push(a)})),i}}(jQuery)},3858:()=>{!function(e){var t="conditional_logic",i=(new acf.Model({id:"conditionsManager",priority:20,actions:{new_field:"onNewField"},onNewField:function(e){e.has("conditions")&&e.getConditions().render()}}),function(t,i){var a=acf.getFields({key:i,sibling:t.$el,suppressFilters:!0});return a.length||(a=acf.getFields({key:i,parent:t.$el.parent(),suppressFilters:!0})),!a.length&&e(".acf-field-settings").length&&(a=acf.getFields({key:i,parent:t.$el.parents(".acf-field-settings:first"),suppressFilters:!0})),!a.length&&e("#acf-basic-settings").length&&(a=acf.getFields({key:i,parent:e("#acf-basic-settings"),suppressFilters:!0})),!!a.length&&a[0]});acf.Field.prototype.getField=function(e){var t=i(this,e);if(t)return t;for(var a=this.parents(),n=0;n{!function(e){var t=0,i=acf.Field.extend({type:"accordion",wait:"",$control:function(){return this.$(".acf-fields:first")},initialize:function(){if(!this.$el.hasClass("acf-accordion")&&!this.$el.is("td")){if(this.get("endpoint"))return this.remove();var i=this.$el,n=this.$labelWrap(),s=this.$inputWrap(),o=this.$control(),r=s.children(".description");if(r.length&&n.append(r),this.$el.is("tr")){var c=this.$el.closest("table"),l=e('
        '),d=e('
        '),u=e('
          '),f=e("");l.append(n.html()),u.append(f),d.append(u),s.append(l),s.append(d),n.remove(),o.remove(),s.attr("colspan",2),n=l,s=d,o=f}i.addClass("acf-accordion"),n.addClass("acf-accordion-title"),s.addClass("acf-accordion-content"),t++,this.get("multi_expand")&&i.attr("multi-expand",1);var p=acf.getPreference("this.accordions")||[];void 0!==p[t-1]&&this.set("open",p[t-1]),this.get("open")&&(i.addClass("-open"),s.css("display","block")),n.prepend(a.iconHtml({open:this.get("open")}));var h=i.parent();o.addClass(h.hasClass("-left")?"-left":""),o.addClass(h.hasClass("-clear")?"-clear":""),o.append(i.nextUntil(".acf-field-accordion",".acf-field")),o.removeAttr("data-open data-multi_expand data-endpoint")}}});acf.registerFieldType(i);var a=new acf.Model({actions:{unload:"onUnload"},events:{"click .acf-accordion-title":"onClick","invalidField .acf-accordion":"onInvalidField"},isOpen:function(e){return e.hasClass("-open")},toggle:function(e){this.isOpen(e)?this.close(e):this.open(e)},iconHtml:function(e){return acf.isGutenberg()?e.open?'':'':e.open?'':''},open:function(t){var i=acf.isGutenberg()?0:300;t.find(".acf-accordion-content:first").slideDown(i).css("display","block"),t.find(".acf-accordion-icon:first").replaceWith(this.iconHtml({open:!0})),t.addClass("-open"),acf.doAction("show",t),t.attr("multi-expand")||t.siblings(".acf-accordion.-open").each((function(){a.close(e(this))}))},close:function(e){var t=acf.isGutenberg()?0:300;e.find(".acf-accordion-content:first").slideUp(t),e.find(".acf-accordion-icon:first").replaceWith(this.iconHtml({open:!1})),e.removeClass("-open"),acf.doAction("hide",e)},onClick:function(e,t){e.preventDefault(),this.toggle(t.parent())},onInvalidField:function(e,t){this.busy||(this.busy=!0,this.setTimeout((function(){this.busy=!1}),1e3),this.open(t))},onUnload:function(t){var i=[];e(".acf-accordion").each((function(){var t=e(this).hasClass("-open")?1:0;i.push(t)})),i.length&&acf.setPreference("this.accordions",i)}})}(jQuery)},6289:()=>{var e;jQuery,e=acf.Field.extend({type:"button_group",events:{'click input[type="radio"]':"onClick"},$control:function(){return this.$(".acf-button-group")},$input:function(){return this.$("input:checked")},setValue:function(e){this.$('input[value="'+e+'"]').prop("checked",!0).trigger("change")},onClick:function(e,t){var i=t.parent("label"),a=i.hasClass("selected");this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&a&&(i.removeClass("selected"),t.prop("checked",!1).trigger("change"))}}),acf.registerFieldType(e)},774:()=>{var e,t;e=jQuery,t=acf.Field.extend({type:"checkbox",events:{"change input":"onChange","click .acf-add-checkbox":"onClickAdd","click .acf-checkbox-toggle":"onClickToggle","click .acf-checkbox-custom":"onClickCustom"},$control:function(){return this.$(".acf-checkbox-list")},$toggle:function(){return this.$(".acf-checkbox-toggle")},$input:function(){return this.$('input[type="hidden"]')},$inputs:function(){return this.$('input[type="checkbox"]').not(".acf-checkbox-toggle")},getValue:function(){var t=[];return this.$(":checked").each((function(){t.push(e(this).val())})),!!t.length&&t},onChange:function(e,t){var i=t.prop("checked"),a=t.parent("label"),n=this.$toggle();i?a.addClass("selected"):a.removeClass("selected"),n.length&&(0==this.$inputs().not(":checked").length?n.prop("checked",!0):n.prop("checked",!1))},onClickAdd:function(e,t){var i='
        • ';t.parent("li").before(i),t.parent("li").parent().find('input[type="text"]').last().focus()},onClickToggle:function(e,t){var i=t.prop("checked"),a=this.$('input[type="checkbox"]'),n=this.$("label");a.prop("checked",i),i?n.addClass("selected"):n.removeClass("selected")},onClickCustom:function(e,t){var i=t.prop("checked"),a=t.next('input[type="text"]');i?a.prop("disabled",!1):(a.prop("disabled",!0),""==a.val()&&t.parent("li").remove())}}),acf.registerFieldType(t)},3623:()=>{var e;jQuery,e=acf.Field.extend({type:"color_picker",wait:"load",events:{duplicateField:"onDuplicate"},$control:function(){return this.$(".acf-color-picker")},$input:function(){return this.$('input[type="hidden"]')},$inputText:function(){return this.$('input[type="text"]')},setValue:function(e){acf.val(this.$input(),e),this.$inputText().iris("color",e)},initialize:function(){var e=this.$input(),t=this.$inputText(),i=function(i){setTimeout((function(){acf.val(e,t.val())}),1)},a={defaultColor:!1,palettes:!0,hide:!0,change:i,clear:i};a=acf.applyFilters("color_picker_args",a,this),t.wpColorPicker(a)},onDuplicate:function(e,t,i){$colorPicker=i.find(".wp-picker-container"),$inputText=i.find('input[type="text"]'),$colorPicker.replaceWith($inputText)}}),acf.registerFieldType(e)},9982:()=>{var e,t;e=jQuery,t=acf.Field.extend({type:"date_picker",events:{'blur input[type="text"]':"onBlur",duplicateField:"onDuplicate"},$control:function(){return this.$(".acf-date-picker")},$input:function(){return this.$('input[type="hidden"]')},$inputText:function(){return this.$('input[type="text"]')},initialize:function(){if(this.has("save_format"))return this.initializeCompatibility();var e=this.$input(),t=this.$inputText(),i={dateFormat:this.get("date_format"),altField:e,altFormat:"yymmdd",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day")};i=acf.applyFilters("date_picker_args",i,this),acf.newDatePicker(t,i),acf.doAction("date_picker_init",t,i,this)},initializeCompatibility:function(){var e=this.$input(),t=this.$inputText();t.val(e.val());var i={dateFormat:this.get("date_format"),altField:e,altFormat:this.get("save_format"),changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day")},a=(i=acf.applyFilters("date_picker_args",i,this)).dateFormat;i.dateFormat=this.get("save_format"),acf.newDatePicker(t,i),t.datepicker("option","dateFormat",a),acf.doAction("date_picker_init",t,i,this)},onBlur:function(){this.$inputText().val()||acf.val(this.$input(),"")},onDuplicate:function(e,t,i){i.find('input[type="text"]').removeClass("hasDatepicker").removeAttr("id")}}),acf.registerFieldType(t),new acf.Model({priority:5,wait:"ready",initialize:function(){var t=acf.get("locale"),i=acf.get("rtl"),a=acf.get("datePickerL10n");return!!a&&void 0!==e.datepicker&&(a.isRTL=i,e.datepicker.regional[t]=a,void e.datepicker.setDefaults(a))}}),acf.newDatePicker=function(t,i){if(void 0===e.datepicker)return!1;i=i||{},t.datepicker(i),e("body > #ui-datepicker-div").exists()&&e("body > #ui-datepicker-div").wrap('
          ')}},960:()=>{var e,t;e=jQuery,t=acf.models.DatePickerField.extend({type:"date_time_picker",$control:function(){return this.$(".acf-date-time-picker")},initialize:function(){var e=this.$input(),t=this.$inputText(),i={dateFormat:this.get("date_format"),timeFormat:this.get("time_format"),altField:e,altFieldTimeOnly:!1,altFormat:"yy-mm-dd",altTimeFormat:"HH:mm:ss",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day"),controlType:"select",oneLine:!0};i=acf.applyFilters("date_time_picker_args",i,this),acf.newDateTimePicker(t,i),acf.doAction("date_time_picker_init",t,i,this)}}),acf.registerFieldType(t),new acf.Model({priority:5,wait:"ready",initialize:function(){var t=acf.get("locale"),i=acf.get("rtl"),a=acf.get("dateTimePickerL10n");return!!a&&void 0!==e.timepicker&&(a.isRTL=i,e.timepicker.regional[t]=a,void e.timepicker.setDefaults(a))}}),acf.newDateTimePicker=function(t,i){if(void 0===e.timepicker)return!1;i=i||{},t.datetimepicker(i),e("body > #ui-datepicker-div").exists()&&e("body > #ui-datepicker-div").wrap('
          ')}},2093:()=>{var e,t;e=jQuery,t=acf.models.ImageField.extend({type:"file",$control:function(){return this.$(".acf-file-uploader")},$input:function(){return this.$('input[type="hidden"]:first')},validateAttachment:function(e){return void 0!==(e=e||{}).id&&(e=e.attributes),acf.parseArgs(e,{url:"",alt:"",title:"",filename:"",filesizeHumanReadable:"",icon:"/wp-includes/images/media/default.png"})},render:function(e){e=this.validateAttachment(e),this.$("img").attr({src:e.icon,alt:e.alt,title:e.title}),this.$('[data-name="title"]').text(e.title),this.$('[data-name="filename"]').text(e.filename).attr("href",e.url),this.$('[data-name="filesize"]').text(e.filesizeHumanReadable);var t=e.id||"";acf.val(this.$input(),t),t?this.$control().addClass("has-value"):this.$control().removeClass("has-value")},selectAttachment:function(){var t=this.parent(),i=t&&"repeater"===t.get("type");acf.newMediaPopup({mode:"select",title:acf.__("Select File"),field:this.get("key"),multiple:i,library:this.get("library"),allowedTypes:this.get("mime_types"),select:e.proxy((function(e,i){i>0?this.append(e,t):this.render(e)}),this)})},editAttachment:function(){var t=this.val();if(!t)return!1;acf.newMediaPopup({mode:"edit",title:acf.__("Edit File"),button:acf.__("Update File"),attachment:t,field:this.get("key"),select:e.proxy((function(e,t){this.render(e)}),this)})}}),acf.registerFieldType(t)},1163:()=>{!function(e){var t=acf.Field.extend({type:"google_map",map:!1,wait:"load",events:{'click a[data-name="clear"]':"onClickClear",'click a[data-name="locate"]':"onClickLocate",'click a[data-name="search"]':"onClickSearch","keydown .search":"onKeydownSearch","keyup .search":"onKeyupSearch","focus .search":"onFocusSearch","blur .search":"onBlurSearch",showField:"onShow"},$control:function(){return this.$(".acf-google-map")},$search:function(){return this.$(".search")},$canvas:function(){return this.$(".canvas")},setState:function(e){this.$control().removeClass("-value -loading -searching"),"default"===e&&(e=this.val()?"value":""),e&&this.$control().addClass("-"+e)},getValue:function(){var e=this.$input().val();return!!e&&JSON.parse(e)},setValue:function(e,t){var i="";e&&(i=JSON.stringify(e)),acf.val(this.$input(),i),t||(this.renderVal(e),acf.doAction("google_map_change",e,this.map,this))},renderVal:function(e){e?(this.setState("value"),this.$search().val(e.address),this.setPosition(e.lat,e.lng)):(this.setState(""),this.$search().val(""),this.map.marker.setVisible(!1))},newLatLng:function(e,t){return new google.maps.LatLng(parseFloat(e),parseFloat(t))},setPosition:function(e,t){this.map.marker.setPosition({lat:parseFloat(e),lng:parseFloat(t)}),this.map.marker.setVisible(!0),this.center()},center:function(){var e=this.map.marker.getPosition();if(e)var t=e.lat(),i=e.lng();else t=this.get("lat"),i=this.get("lng");this.map.setCenter({lat:parseFloat(t),lng:parseFloat(i)})},initialize:function(){!function(t){if(a)return t();if(acf.isset(window,"google","maps","Geocoder"))return a=new google.maps.Geocoder,t();if(acf.addAction("google_map_api_loaded",t),!i){var n=acf.get("google_map_api");n&&(i=!0,e.ajax({url:n,dataType:"script",cache:!0,success:function(){a=new google.maps.Geocoder,acf.doAction("google_map_api_loaded")}}))}}(this.initializeMap.bind(this))},initializeMap:function(){var e=this.getValue(),t=acf.parseArgs(e,{zoom:this.get("zoom"),lat:this.get("lat"),lng:this.get("lng")}),i={scrollwheel:!1,zoom:parseInt(t.zoom),center:{lat:parseFloat(t.lat),lng:parseFloat(t.lng)},mapTypeId:google.maps.MapTypeId.ROADMAP,marker:{draggable:!0,raiseOnDrag:!0},autocomplete:{}};i=acf.applyFilters("google_map_args",i,this);var a=new google.maps.Map(this.$canvas()[0],i),n=acf.parseArgs(i.marker,{draggable:!0,raiseOnDrag:!0,map:a});n=acf.applyFilters("google_map_marker_args",n,this);var s=new google.maps.Marker(n),o=!1;if(acf.isset(google,"maps","places","Autocomplete")){var r=i.autocomplete||{};r=acf.applyFilters("google_map_autocomplete_args",r,this),(o=new google.maps.places.Autocomplete(this.$search()[0],r)).bindTo("bounds",a)}this.addMapEvents(this,a,s,o),a.acf=this,a.marker=s,a.autocomplete=o,this.map=a,e&&this.setPosition(e.lat,e.lng),acf.doAction("google_map_init",a,s,this)},addMapEvents:function(e,t,i,a){google.maps.event.addListener(t,"click",(function(t){var i=t.latLng.lat(),a=t.latLng.lng();e.searchPosition(i,a)})),google.maps.event.addListener(i,"dragend",(function(){var t=this.getPosition().lat(),i=this.getPosition().lng();e.searchPosition(t,i)})),a&&google.maps.event.addListener(a,"place_changed",(function(){var t=this.getPlace();e.searchPlace(t)})),google.maps.event.addListener(t,"zoom_changed",(function(){var i=e.val();i&&(i.zoom=t.getZoom(),e.setValue(i,!0))}))},searchPosition:function(e,t){this.setState("loading");var i={lat:e,lng:t};a.geocode({location:i},function(i,a){if(this.setState(""),"OK"!==a)this.showNotice({text:acf.__("Location not found: %s").replace("%s",a),type:"warning"});else{var n=this.parseResult(i[0]);n.lat=e,n.lng=t,this.val(n)}}.bind(this))},searchPlace:function(e){if(e)if(e.geometry){e.formatted_address=this.$search().val();var t=this.parseResult(e);this.val(t)}else e.name&&this.searchAddress(e.name)},searchAddress:function(e){if(e){var t=e.split(",");if(2==t.length){var i=parseFloat(t[0]),n=parseFloat(t[1]);if(i&&n)return this.searchPosition(i,n)}this.setState("loading"),a.geocode({address:e},function(t,i){if(this.setState(""),"OK"!==i)this.showNotice({text:acf.__("Location not found: %s").replace("%s",i),type:"warning"});else{var a=this.parseResult(t[0]);a.address=e,this.val(a)}}.bind(this))}},searchLocation:function(){if(!navigator.geolocation)return alert(acf.__("Sorry, this browser does not support geolocation"));this.setState("loading"),navigator.geolocation.getCurrentPosition(function(e){this.setState("");var t=e.coords.latitude,i=e.coords.longitude;this.searchPosition(t,i)}.bind(this),function(e){this.setState("")}.bind(this))},parseResult:function(e){var t={address:e.formatted_address,lat:e.geometry.location.lat(),lng:e.geometry.location.lng()};t.zoom=this.map.getZoom(),e.place_id&&(t.place_id=e.place_id),e.name&&(t.name=e.name);var i={street_number:["street_number"],street_name:["street_address","route"],city:["locality","postal_town"],state:["administrative_area_level_1","administrative_area_level_2","administrative_area_level_3","administrative_area_level_4","administrative_area_level_5"],post_code:["postal_code"],country:["country"]};for(var a in i)for(var n=i[a],s=0;s{!function(e){const t=acf.Field.extend({type:"icon_picker",wait:"load",events:{showField:"scrollToSelectedDashicon","input .acf-icon_url":"onUrlChange","click .acf-icon-picker-dashicon":"onDashiconClick","focus .acf-icon-picker-dashicon-radio":"onDashiconRadioFocus","blur .acf-icon-picker-dashicon-radio":"onDashiconRadioBlur","keydown .acf-icon-picker-dashicon-radio":"onDashiconKeyDown","input .acf-dashicons-search-input":"onDashiconSearch","keydown .acf-dashicons-search-input":"onDashiconSearchKeyDown","click .acf-icon-picker-media-library-button":"onMediaLibraryButtonClick","click .acf-icon-picker-media-library-preview":"onMediaLibraryButtonClick"},$typeInput(){return this.$('input[type="hidden"][data-hidden-type="type"]:first')},$valueInput(){return this.$('input[type="hidden"][data-hidden-type="value"]:first')},$tabButton(){return this.$(".acf-tab-button")},$selectedIcon(){return this.$(".acf-icon-picker-dashicon.active")},$selectedRadio(){return this.$(".acf-icon-picker-dashicon.active input")},$dashiconsList(){return this.$(".acf-dashicons-list")},$mediaLibraryButton(){return this.$(".acf-icon-picker-media-library-button")},initialize(){this.addActions();let t={type:this.$typeInput().val(),value:this.$valueInput().val()};this.set("typeAndValue",t),e(".acf-tab-button").on("click",(()=>{this.initializeDashiconsTab(this.get("typeAndValue"))})),acf.doAction(this.get("name")+"/type_and_value_change",t),this.initializeDashiconsTab(t),this.alignMediaLibraryTabToCurrentValue(t)},addActions(){acf.addAction(this.get("name")+"/type_and_value_change",(e=>{this.alignDashiconsTabToCurrentValue(e),this.alignMediaLibraryTabToCurrentValue(e),this.alignUrlTabToCurrentValue(e)}))},updateTypeAndValue(e,t){const i={type:e,value:t};acf.val(this.$typeInput(),e),acf.val(this.$valueInput(),t),acf.doAction(this.get("name")+"/type_and_value_change",i),this.set("typeAndValue",i)},scrollToSelectedDashicon(){const e=this.$selectedIcon();if(0===e.length)return;const t=this.$dashiconsList();t.scrollTop(0);const i=e.position().top-50;0!==i&&t.scrollTop(i)},initializeDashiconsTab(e){const t=this.getDashiconsList()||[];this.set("dashicons",t),this.renderDashiconList(),this.initializeSelectedDashicon(e)},initializeSelectedDashicon(e){"dashicons"===e.type&&this.selectDashicon(e.value,!1).then((()=>{this.scrollToSelectedDashicon()}))},alignDashiconsTabToCurrentValue(e){"dashicons"!==e.type&&this.unselectDashicon()},renderDashiconHTML(e){const t=`${this.get("name")}-${e.key}`;return`
          \n\t\t\t\t\n\t\t\t\t\n\t\t\t
          `},renderDashiconList(){const e=this.get("dashicons");this.$dashiconsList().empty(),e.forEach((e=>{this.$dashiconsList().append(this.renderDashiconHTML(e))}))},getDashiconsList(){const e=acf.get("iconPickeri10n")||[];return Object.entries(e).map((([e,t])=>({key:e,label:t})))},getDashiconsBySearch(e){const t=e.toLowerCase();return this.getDashiconsList().filter((function(e){return e.label.toLowerCase().indexOf(t)>-1}))},selectDashicon(e,t=!0){this.set("selectedDashicon",e);const i=this.$dashiconsList().find('.acf-icon-picker-dashicon[data-icon="'+e+'"]');i.addClass("active");const a=i.find("input"),n=a.prop("checked",!0).promise();return t&&a.trigger("focus"),this.updateTypeAndValue("dashicons",e),n},unselectDashicon(){this.$dashiconsList().find(".acf-icon-picker-dashicon").removeClass("active"),this.set("selectedDashicon",!1)},onDashiconRadioFocus(e){const t=e.target.value;this.$dashiconsList().find('.acf-icon-picker-dashicon[data-icon="'+t+'"]').addClass("focus"),this.get("selectedDashicon")!==t&&(this.unselectDashicon(),this.selectDashicon(t))},onDashiconRadioBlur(e){this.$(e.target).parent().removeClass("focus")},onDashiconClick(e){e.preventDefault();const t=this.$(e.target).find("input").val();this.$dashiconsList().find('.acf-icon-picker-dashicon[data-icon="'+t+'"]').find("input").prop("checked",!0).trigger("focus")},onDashiconSearch(e){const t=e.target.value,i=this.getDashiconsBySearch(t);if(i.length>0||!t)this.set("dashicons",i),this.$(".acf-dashicons-list-empty").hide(),this.$(".acf-dashicons-list ").show(),this.renderDashiconList(),wp.a11y.speak(acf.get("iconPickerA11yStrings").newResultsFoundForSearchTerm,"polite");else{const e=t.length>30?t.substring(0,30)+"…":t;this.$(".acf-dashicons-list ").hide(),this.$(".acf-dashicons-list-empty").find(".acf-invalid-dashicon-search-term").text(e),this.$(".acf-dashicons-list-empty").css("display","flex"),this.$(".acf-dashicons-list-empty").show(),wp.a11y.speak(acf.get("iconPickerA11yStrings").noResultsForSearchTerm,"polite")}},onDashiconSearchKeyDown(e){13===e.which&&e.preventDefault()},onDashiconKeyDown(e){13===e.which&&e.preventDefault()},alignMediaLibraryTabToCurrentValue(e){const t=e.type,i=e.value;if("media_library"!==t&&"dashicons"!==t&&this.$(".acf-icon-picker-media-library-preview").hide(),"media_library"===t){const e=this.get("mediaLibraryPreviewUrl");this.$(".acf-icon-picker-media-library-preview-img img").attr("src",e),this.$(".acf-icon-picker-media-library-preview-dashicon").hide(),this.$(".acf-icon-picker-media-library-preview-img").show(),this.$(".acf-icon-picker-media-library-preview").show()}"dashicons"===t&&(this.$(".acf-icon-picker-media-library-preview-dashicon .dashicons").attr("class","dashicons "+i),this.$(".acf-icon-picker-media-library-preview-img").hide(),this.$(".acf-icon-picker-media-library-preview-dashicon").show(),this.$(".acf-icon-picker-media-library-preview").show())},async onMediaLibraryButtonClick(e){e.preventDefault(),await this.selectAndReturnAttachment().then((e=>{this.set("mediaLibraryPreviewUrl",e.attributes.url),this.updateTypeAndValue("media_library",e.id)}))},selectAndReturnAttachment(){return new Promise((e=>{acf.newMediaPopup({mode:"select",type:"image",title:acf.__("Select Image"),field:this.get("key"),multiple:!1,library:"all",allowedTypes:"image",select:e})}))},alignUrlTabToCurrentValue(e){"url"!==e.type&&this.$(".acf-icon_url").val("")},onUrlChange(e){const t=e.target.value;this.updateTypeAndValue("url",t)}});acf.registerFieldType(t)}(jQuery)},2410:()=>{var e,t;e=jQuery,t=acf.Field.extend({type:"image",$control:function(){return this.$(".acf-image-uploader")},$input:function(){return this.$('input[type="hidden"]:first')},events:{'click a[data-name="add"]':"onClickAdd",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove",'change input[type="file"]':"onChange"},initialize:function(){"basic"===this.get("uploader")&&this.$el.closest("form").attr("enctype","multipart/form-data")},validateAttachment:function(e){e&&e.attributes&&(e=e.attributes),e=acf.parseArgs(e,{id:0,url:"",alt:"",title:"",caption:"",description:"",width:0,height:0});var t=acf.isget(e,"sizes",this.get("preview_size"));return t&&(e.url=t.url,e.width=t.width,e.height=t.height),e},render:function(e){e=this.validateAttachment(e),this.$("img").attr({src:e.url,alt:e.alt}),e.id?(this.val(e.id),this.$control().addClass("has-value")):(this.val(""),this.$control().removeClass("has-value"))},append:function(e,t){var i=function(e,t){for(var i=acf.getFields({key:e.get("key"),parent:t.$el}),a=0;a0?this.append(e,t):this.render(e)}),this)})},editAttachment:function(){var t=this.val();t&&acf.newMediaPopup({mode:"edit",title:acf.__("Edit Image"),button:acf.__("Update Image"),attachment:t,field:this.get("key"),select:e.proxy((function(e,t){this.render(e)}),this)})},removeAttachment:function(){this.render(!1)},onClickAdd:function(e,t){this.selectAttachment()},onClickEdit:function(e,t){this.editAttachment()},onClickRemove:function(e,t){this.removeAttachment()},onChange:function(t,i){var a=this.$input();i.val()||a.val(""),acf.getFileInputData(i,(function(t){a.val(e.param(t))}))}}),acf.registerFieldType(t)},5915:()=>{var e,t;e=jQuery,t=acf.Field.extend({type:"link",events:{'click a[data-name="add"]':"onClickEdit",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove","change .link-node":"onChange"},$control:function(){return this.$(".acf-link")},$node:function(){return this.$(".link-node")},getValue:function(){var e=this.$node();return!!e.attr("href")&&{title:e.html(),url:e.attr("href"),target:e.attr("target")}},setValue:function(e){e=acf.parseArgs(e,{title:"",url:"",target:""});var t=this.$control(),i=this.$node();t.removeClass("-value -external"),e.url&&t.addClass("-value"),"_blank"===e.target&&t.addClass("-external"),this.$(".link-title").html(e.title),this.$(".link-url").attr("href",e.url).html(e.url),i.html(e.title),i.attr("href",e.url),i.attr("target",e.target),this.$(".input-title").val(e.title),this.$(".input-target").val(e.target),this.$(".input-url").val(e.url).trigger("change")},onClickEdit:function(e,t){acf.wpLink.open(this.$node())},onClickRemove:function(e,t){this.setValue(!1)},onChange:function(e,t){var i=this.getValue();this.setValue(i)}}),acf.registerFieldType(t),acf.wpLink=new acf.Model({getNodeValue:function(){var e=this.get("node");return{title:acf.decode(e.html()),url:e.attr("href"),target:e.attr("target")}},setNodeValue:function(e){var t=this.get("node");t.text(e.title),t.attr("href",e.url),t.attr("target",e.target),t.trigger("change")},getInputValue:function(){return{title:e("#wp-link-text").val(),url:e("#wp-link-url").val(),target:e("#wp-link-target").prop("checked")?"_blank":""}},setInputValue:function(t){e("#wp-link-text").val(t.title),e("#wp-link-url").val(t.url),e("#wp-link-target").prop("checked","_blank"===t.target)},open:function(t){this.on("wplink-open","onOpen"),this.on("wplink-close","onClose"),this.set("node",t);var i=e('');e("body").append(i);var a=this.getNodeValue();wpLink.open("acf-link-textarea",a.url,a.title,null)},onOpen:function(){e("#wp-link-wrap").addClass("has-text-field");var t=this.getNodeValue();this.setInputValue(t),t.url&&wpLinkL10n&&e("#wp-link-submit").val(wpLinkL10n.update)},close:function(){wpLink.close()},onClose:function(){if(!this.has("node"))return!1;var t=e("#wp-link-submit");if(t.is(":hover")||t.is(":focus")){var i=this.getInputValue();this.setNodeValue(i)}this.off("wplink-open"),this.off("wplink-close"),e("#acf-link-textarea").remove(),this.set("node",null)}})},2237:()=>{var e,t;e=jQuery,t=acf.Field.extend({type:"oembed",events:{'click [data-name="clear-button"]':"onClickClear","keypress .input-search":"onKeypressSearch","keyup .input-search":"onKeyupSearch","change .input-search":"onChangeSearch"},$control:function(){return this.$(".acf-oembed")},$input:function(){return this.$(".input-value")},$search:function(){return this.$(".input-search")},getValue:function(){return this.$input().val()},getSearchVal:function(){return this.$search().val()},setValue:function(e){e?this.$control().addClass("has-value"):this.$control().removeClass("has-value"),acf.val(this.$input(),e)},showLoading:function(e){acf.showLoading(this.$(".canvas"))},hideLoading:function(){acf.hideLoading(this.$(".canvas"))},maybeSearch:function(){var t=this.val(),i=this.getSearchVal();if(!i)return this.clear();if("http"!=i.substr(0,4)&&(i="http://"+i),i!==t){var a=this.get("timeout");a&&clearTimeout(a);var n=e.proxy(this.search,this,i);this.set("timeout",setTimeout(n,300))}},search:function(t){const i={action:"acf/fields/oembed/search",s:t,field_key:this.get("key"),nonce:this.get("nonce")};let a=this.get("xhr");a&&a.abort(),this.showLoading(),a=e.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(i),type:"post",dataType:"json",context:this,success:function(e){e&&e.html||(e={url:!1,html:""}),this.val(e.url),this.$(".canvas-media").html(e.html)},complete:function(){this.hideLoading()}}),this.set("xhr",a)},clear:function(){this.val(""),this.$search().val(""),this.$(".canvas-media").html("")},onClickClear:function(e,t){this.clear()},onKeypressSearch:function(e,t){13==e.which&&(e.preventDefault(),this.maybeSearch())},onKeyupSearch:function(e,t){t.val()&&this.maybeSearch()},onChangeSearch:function(e,t){this.maybeSearch()}}),acf.registerFieldType(t)},7513:()=>{var e;jQuery,e=acf.models.SelectField.extend({type:"page_link"}),acf.registerFieldType(e)},2553:()=>{var e;jQuery,e=acf.models.SelectField.extend({type:"post_object"}),acf.registerFieldType(e)},9252:()=>{var e;jQuery,e=acf.Field.extend({type:"radio",events:{'click input[type="radio"]':"onClick"},$control:function(){return this.$(".acf-radio-list")},$input:function(){return this.$("input:checked")},$inputText:function(){return this.$('input[type="text"]')},getValue:function(){var e=this.$input().val();return"other"===e&&this.get("other_choice")&&(e=this.$inputText().val()),e},onClick:function(e,t){var i=t.parent("label"),a=i.hasClass("selected"),n=t.val();this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&a&&(i.removeClass("selected"),t.prop("checked",!1).trigger("change"),n=!1),this.get("other_choice")&&("other"===n?this.$inputText().prop("disabled",!1):this.$inputText().prop("disabled",!0))}}),acf.registerFieldType(e)},6290:()=>{var e;jQuery,e=acf.Field.extend({type:"range",events:{'input input[type="range"]':"onChange","change input":"onChange"},$input:function(){return this.$('input[type="range"]')},$inputAlt:function(){return this.$('input[type="number"]')},setValue:function(e){this.busy=!0,acf.val(this.$input(),e),acf.val(this.$inputAlt(),this.$input().val(),!0),this.busy=!1},onChange:function(e,t){this.busy||this.setValue(t.val())}}),acf.registerFieldType(e)},7509:()=>{var e,t;e=jQuery,t=acf.Field.extend({type:"relationship",events:{"keypress [data-filter]":"onKeypressFilter","change [data-filter]":"onChangeFilter","keyup [data-filter]":"onChangeFilter","click .choices-list .acf-rel-item":"onClickAdd","keypress .choices-list .acf-rel-item":"onKeypressFilter","keypress .values-list .acf-rel-item":"onKeypressFilter",'click [data-name="remove_item"]':"onClickRemove","touchstart .values-list .acf-rel-item":"onTouchStartValues"},$control:function(){return this.$(".acf-relationship")},$list:function(e){return this.$("."+e+"-list")},$listItems:function(e){return this.$list(e).find(".acf-rel-item")},$listItem:function(e,t){return this.$list(e).find('.acf-rel-item[data-id="'+t+'"]')},getValue:function(){var t=[];return this.$listItems("values").each((function(){t.push(e(this).data("id"))})),!!t.length&&t},newChoice:function(e){return["
        • ",''+e.text+"","
        • "].join("")},newValue:function(e){return["
        • ",'',''+e.text,'',"","
        • "].join("")},initialize:function(){var e=this.proxy(acf.once((function(){this.$list("values").sortable({items:"li",forceHelperSize:!0,forcePlaceholderSize:!0,scroll:!0,update:this.proxy((function(){this.$input().trigger("change")}))}),this.$list("choices").scrollTop(0).on("scroll",this.proxy(this.onScrollChoices)),this.fetch()})));this.$el.one("mouseover",e),this.$el.one("focus","input",e),acf.onceInView(this.$el,e)},onScrollChoices:function(e){if(!this.get("loading")&&this.get("more")){var t=this.$list("choices"),i=Math.ceil(t.scrollTop()),a=Math.ceil(t[0].scrollHeight),n=Math.ceil(t.innerHeight()),s=this.get("paged")||1;i+n>=a&&(this.set("paged",s+1),this.fetch())}},onKeypressFilter:function(e,t){t.hasClass("acf-rel-item-add")&&13==e.which&&this.onClickAdd(e,t),t.hasClass("acf-rel-item-remove")&&13==e.which&&this.onClickRemove(e,t),13==e.which&&e.preventDefault()},onChangeFilter:function(e,t){var i=t.val(),a=t.data("filter");this.get(a)!==i&&(this.set(a,i),"s"===a&&parseInt(i)&&this.set("include",i),this.set("paged",1),t.is("select")?this.fetch():this.maybeFetch())},onClickAdd:function(e,t){var i=this.val(),a=parseInt(this.get("max"));if(t.hasClass("disabled"))return!1;if(a>0&&i&&i.length>=a)return this.showNotice({text:acf.__("Maximum values reached ( {max} values )").replace("{max}",a),type:"warning"}),!1;t.addClass("disabled");var n=this.newValue({id:t.data("id"),text:t.html()});this.$list("values").append(n),this.$input().trigger("change")},onClickRemove:function(e,t){let i;e.preventDefault(),i=t.hasClass("acf-rel-item-remove")?t:t.parent();const a=i.parent(),n=i.data("id");a.remove(),this.$listItem("choices",n).removeClass("disabled"),this.$input().trigger("change")},onTouchStartValues:function(t,i){e(this.$listItems("values")).removeClass("relationship-hover"),i.addClass("relationship-hover")},maybeFetch:function(){var e=this.get("timeout");e&&clearTimeout(e),e=this.setTimeout(this.fetch,300),this.set("timeout",e)},getAjaxData:function(){var e=this.$control().data();for(var t in e)e[t]=this.get(t);return e.action="acf/fields/relationship/query",e.field_key=this.get("key"),e.nonce=this.get("nonce"),acf.applyFilters("relationship_ajax_data",e,this)},fetch:function(){(n=this.get("xhr"))&&n.abort();var t=this.getAjaxData(),i=this.$list("choices");1==t.paged&&i.html("");var a=e('
        • '+acf.__("Loading")+"
        • ");i.append(a),this.set("loading",!0);var n=e.ajax({url:acf.get("ajaxurl"),dataType:"json",type:"post",data:acf.prepareForAjax(t),context:this,success:function(t){if(!t||!t.results||!t.results.length)return this.set("more",!1),void(1==this.get("paged")&&this.$list("choices").append("
        • "+acf.__("No matches found")+"
        • "));this.set("more",t.more);var a=this.walkChoices(t.results),n=e(a),s=this.val();s&&s.length&&s.map((function(e){n.find('.acf-rel-item[data-id="'+e+'"]').addClass("disabled")})),i.append(n);var o=!1,r=!1;i.find(".acf-rel-label").each((function(){var t=e(this),i=t.siblings("ul");if(o&&o.text()==t.text())return r.append(i.children()),void e(this).parent().remove();o=t,r=i}))},complete:function(){this.set("loading",!1),a.remove()}});this.set("xhr",n)},walkChoices:function(t){var i=function(t){var a="";return e.isArray(t)?t.map((function(e){a+=i(e)})):e.isPlainObject(t)&&(void 0!==t.children?(a+='
        • '+acf.escHtml(t.text)+'
            ',a+=i(t.children),a+="
        • "):a+='
        • '+acf.escHtml(t.text)+"
        • "),a};return i(t)}}),acf.registerFieldType(t)},6403:()=>{var e;jQuery,e=acf.Field.extend({type:"select",select2:!1,wait:"load",events:{removeField:"onRemove",duplicateField:"onDuplicate"},$input:function(){return this.$("select")},initialize:function(){var e=this.$input();if(this.inherit(e),this.get("ui")){var t=this.get("ajax_action");t||(t="acf/fields/"+this.get("type")+"/query"),this.select2=acf.newSelect2(e,{field:this,ajax:this.get("ajax"),multiple:this.get("multiple"),placeholder:this.get("placeholder"),allowNull:this.get("allow_null"),ajaxAction:t})}},onRemove:function(){this.select2&&this.select2.destroy()},onDuplicate:function(e,t,i){this.select2&&(i.find(".select2-container").remove(),i.find("select").removeClass("select2-hidden-accessible"))}}),acf.registerFieldType(e)},5848:()=>{!function(e){var t="tab",i=acf.Field.extend({type:"tab",wait:"",tabs:!1,tab:!1,events:{duplicateField:"onDuplicate"},findFields:function(){let e;switch(this.get("key")){case"acf_field_settings_tabs":e=".acf-field-settings-main";break;case"acf_field_group_settings_tabs":e=".field-group-settings-tab";break;case"acf_browse_fields_tabs":e=".acf-field-types-tab";break;case"acf_icon_picker_tabs":e=".acf-icon-picker-tabs";break;case"acf_post_type_tabs":e=".acf-post-type-advanced-settings";break;case"acf_taxonomy_tabs":e=".acf-taxonomy-advanced-settings";break;case"acf_ui_options_page_tabs":e=".acf-ui-options-page-advanced-settings";break;default:e=".acf-field"}return this.$el.nextUntil(".acf-field-tab",e)},getFields:function(){return acf.getFields(this.findFields())},findTabs:function(){return this.$el.prevAll(".acf-tab-wrap:first")},findTab:function(){return this.$(".acf-tab-button")},initialize:function(){if(this.$el.is("td"))return this.events={},!1;var e=this.findTabs(),t=this.findTab(),i=acf.parseArgs(t.data(),{endpoint:!1,placement:"",before:this.$el});!e.length||i.endpoint?this.tabs=new n(i):this.tabs=e.data("acf"),this.tab=this.tabs.addTab(t,this)},isActive:function(){return this.tab.isActive()},showFields:function(){this.getFields().map((function(e){e.show(this.cid,t),e.hiddenByTab=!1}),this)},hideFields:function(){this.getFields().map((function(e){e.hide(this.cid,t),e.hiddenByTab=this.tab}),this)},show:function(e){var t=acf.Field.prototype.show.apply(this,arguments);return t&&(this.tab.show(),this.tabs.refresh()),t},hide:function(e){var t=acf.Field.prototype.hide.apply(this,arguments);return t&&(this.tab.hide(),this.isActive()&&this.tabs.reset()),t},enable:function(e){this.getFields().map((function(e){e.enable(t)}))},disable:function(e){this.getFields().map((function(e){e.disable(t)}))},onDuplicate:function(e,t,i){this.isActive()&&i.prevAll(".acf-tab-wrap:first").remove()}});acf.registerFieldType(i);var a=0,n=acf.Model.extend({tabs:[],active:!1,actions:{refresh:"onRefresh",close_field_object:"onCloseFieldObject"},data:{before:!1,placement:"top",index:0,initialized:!1},setup:function(t){e.extend(this.data,t),this.tabs=[],this.active=!1;var i=this.get("placement"),n=this.get("before"),s=n.parent();if("left"==i&&s.hasClass("acf-fields")&&s.addClass("-sidebar"),n.is("tr"))this.$el=e('
          ');else{let t="acf-hl acf-tab-group";"acf_field_settings_tabs"===this.get("key")&&(t="acf-field-settings-tab-bar"),this.$el=e('
            ')}n.before(this.$el),this.set("index",a,!0),a++},initializeTabs:function(){if("acf_field_settings_tabs"!==this.get("key")||!e("#acf-field-group-fields").hasClass("hide-tabs")){var t=!1,i=acf.getPreference("this.tabs")||!1;if(i){var a=i[this.get("index")];this.tabs[a]&&this.tabs[a].isVisible()&&(t=this.tabs[a])}!t&&this.data.defaultTab&&this.data.defaultTab.isVisible()&&(t=this.data.defaultTab),t||(t=this.getVisible().shift()),t?this.selectTab(t):this.closeTabs(),this.set("initialized",!0)}},getVisible:function(){return this.tabs.filter((function(e){return e.isVisible()}))},getActive:function(){return this.active},setActive:function(e){return this.active=e},hasActive:function(){return!1!==this.active},isActive:function(e){var t=this.getActive();return t&&t.cid===e.cid},closeActive:function(){this.hasActive()&&this.closeTab(this.getActive())},openTab:function(e){this.closeActive(),e.open(),this.setActive(e)},closeTab:function(e){e.close(),this.setActive(!1)},closeTabs:function(){this.tabs.map(this.closeTab,this)},selectTab:function(e){this.tabs.map((function(t){e.cid!==t.cid&&this.closeTab(t)}),this),this.openTab(e)},addTab:function(t,i){var a=e("
          • "+t.outerHTML()+"
          • "),n=t.data("settings-type");n&&a.addClass("acf-settings-type-"+n),this.$("ul").append(a);var o=new s({$el:a,field:i,group:this});return this.tabs.push(o),t.data("selected")&&(this.data.defaultTab=o),o},reset:function(){return this.closeActive(),this.refresh()},refresh:function(){if(this.hasActive())return!1;var e=this.getVisible().shift();return e&&this.openTab(e),e},onRefresh:function(){if("left"===this.get("placement")){var e=this.$el.parent(),t=this.$el.children("ul"),i=e.is("td")?"height":"min-height",a=t.position().top+t.outerHeight(!0)-1;e.css(i,a)}},onCloseFieldObject:function(e){const t=this.getVisible().find((t=>{const i=t.$el.closest("div[data-id]").data("id");if(e.data.id===i)return t}));t&&setTimeout((()=>{this.openTab(t)}),300)}}),s=acf.Model.extend({group:!1,field:!1,events:{"click a":"onClick"},index:function(){return this.$el.index()},isVisible:function(){return acf.isVisible(this.$el)},isActive:function(){return this.$el.hasClass("active")},open:function(){this.$el.addClass("active"),this.field.showFields()},close:function(){this.$el.removeClass("active"),this.field.hideFields()},onClick:function(e,t){e.preventDefault(),this.toggle()},toggle:function(){this.isActive()||this.group.openTab(this)}});new acf.Model({priority:50,actions:{prepare:"render",append:"render",unload:"onUnload",show:"render",invalid_field:"onInvalidField"},findTabs:function(){return e(".acf-tab-wrap")},getTabs:function(){return acf.getInstances(this.findTabs())},render:function(e){this.getTabs().map((function(e){e.get("initialized")||e.initializeTabs()}))},onInvalidField:function(e){this.busy||e.hiddenByTab&&(e.hiddenByTab.toggle(),this.busy=!0,this.setTimeout((function(){this.busy=!1}),100))},onUnload:function(){var e=[];this.getTabs().map((function(t){if(t.$el.children(".acf-field-settings-tab-bar").length||t.$el.parents("#acf-advanced-settings.postbox").length)return!0;var i=t.hasActive()?t.getActive().index():0;e.push(i)})),e.length&&acf.setPreference("this.tabs",e)}})}(jQuery)},3284:()=>{var e,t;e=jQuery,t=acf.Field.extend({type:"taxonomy",data:{ftype:"select"},select2:!1,wait:"load",events:{'click a[data-name="add"]':"onClickAdd",'click input[type="radio"]':"onClickRadio",removeField:"onRemove"},$control:function(){return this.$(".acf-taxonomy-field")},$input:function(){return this.getRelatedPrototype().$input.apply(this,arguments)},getRelatedType:function(){var e=this.get("ftype");return"multi_select"==e&&(e="select"),e},getRelatedPrototype:function(){return acf.getFieldType(this.getRelatedType()).prototype},getValue:function(){return this.getRelatedPrototype().getValue.apply(this,arguments)},setValue:function(){return this.getRelatedPrototype().setValue.apply(this,arguments)},initialize:function(){this.getRelatedPrototype().initialize.apply(this,arguments)},onRemove:function(){var e=this.getRelatedPrototype();e.onRemove&&e.onRemove.apply(this,arguments)},onClickAdd:function(t,i){var a=this,n=!1,s=!1,o=!1,r=!1,c=!1,l=!1,d=function(e){n.loading(!1),n.content(e),s=n.$("form"),o=n.$('input[name="term_name"]'),r=n.$('select[name="term_parent"]'),c=n.$(".acf-submit-button"),o.trigger("focus"),n.on("submit","form",u)},u=function(t,i){if(t.preventDefault(),t.stopImmediatePropagation(),""===o.val())return o.trigger("focus"),!1;acf.startButtonLoading(c);var n={action:"acf/fields/taxonomy/add_term",field_key:a.get("key"),nonce:a.get("nonce"),term_name:o.val(),term_parent:r.length?r.val():0};e.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(n),type:"post",dataType:"json",success:f})},f=function(e){acf.stopButtonLoading(c),l&&l.remove(),acf.isAjaxSuccess(e)?(o.val(""),p(e.data),l=acf.newNotice({type:"success",text:acf.getAjaxMessage(e),target:s,timeout:2e3,dismiss:!1})):l=acf.newNotice({type:"error",text:acf.getAjaxError(e),target:s,timeout:2e3,dismiss:!1}),o.trigger("focus")},p=function(t){var i=e('");t.term_parent?r.children('option[value="'+t.term_parent+'"]').after(i):r.append(i),acf.getFields({type:"taxonomy"}).map((function(e){e.get("taxonomy")==a.get("taxonomy")&&e.appendTerm(t)})),a.selectTerm(t.term_id)};!function(){n=acf.newPopup({title:i.attr("title"),loading:!0,width:"300px"});var t={action:"acf/fields/taxonomy/add_term",field_key:a.get("key"),nonce:a.get("nonce")};e.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(t),type:"post",dataType:"html",success:d})}()},appendTerm:function(e){"select"==this.getRelatedType()?this.appendTermSelect(e):this.appendTermCheckbox(e)},appendTermSelect:function(e){this.select2.addOption({id:e.term_id,text:e.term_label})},appendTermCheckbox:function(t){var i=this.$("[name]:first").attr("name"),a=this.$("ul:first");"checkbox"==this.getRelatedType()&&(i+="[]");var n=e(['
          • ',"","
          • "].join(""));if(t.term_parent){var s=a.find('li[data-id="'+t.term_parent+'"]');(a=s.children("ul")).exists()||(a=e('
              '),s.append(a))}a.append(n)},selectTerm:function(e){"select"==this.getRelatedType()?this.select2.selectOption(e):this.$('input[value="'+e+'"]').prop("checked",!0).trigger("change")},onClickRadio:function(e,t){var i=t.parent("label"),a=i.hasClass("selected");this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&a&&(i.removeClass("selected"),t.prop("checked",!1).trigger("change"))}}),acf.registerFieldType(t)},9213:()=>{var e,t;e=jQuery,t=acf.models.DatePickerField.extend({type:"time_picker",$control:function(){return this.$(".acf-time-picker")},initialize:function(){var e=this.$input(),t=this.$inputText(),i={timeFormat:this.get("time_format"),altField:e,altFieldTimeOnly:!1,altTimeFormat:"HH:mm:ss",showButtonPanel:!0,controlType:"select",oneLine:!0,closeText:acf.get("dateTimePickerL10n").selectText,timeOnly:!0,onClose:function(e,t,i){var a=t.dpDiv.find(".ui-datepicker-close");!e&&a.is(":hover")&&i._updateDateTime()}};i=acf.applyFilters("time_picker_args",i,this),acf.newTimePicker(t,i),acf.doAction("time_picker_init",t,i,this)}}),acf.registerFieldType(t),acf.newTimePicker=function(t,i){if(void 0===e.timepicker)return!1;i=i||{},t.timepicker(i),e("body > #ui-datepicker-div").exists()&&e("body > #ui-datepicker-div").wrap('
              ')}},1525:()=>{var e;jQuery,e=acf.Field.extend({type:"true_false",events:{"change .acf-switch-input":"onChange","focus .acf-switch-input":"onFocus","blur .acf-switch-input":"onBlur","keypress .acf-switch-input":"onKeypress"},$input:function(){return this.$('input[type="checkbox"]')},$switch:function(){return this.$(".acf-switch")},getValue:function(){return this.$input().prop("checked")?1:0},initialize:function(){this.render()},render:function(){var e=this.$switch();if(e.length){var t=e.children(".acf-switch-on"),i=e.children(".acf-switch-off"),a=Math.max(t.width(),i.width());a&&(t.css("min-width",a),i.css("min-width",a))}},switchOn:function(){this.$input().prop("checked",!0),this.$switch().addClass("-on")},switchOff:function(){this.$input().prop("checked",!1),this.$switch().removeClass("-on")},onChange:function(e,t){t.prop("checked")?this.switchOn():this.switchOff()},onFocus:function(e,t){this.$switch().addClass("-focus")},onBlur:function(e,t){this.$switch().removeClass("-focus")},onKeypress:function(e,t){return 37===e.keyCode?this.switchOff():39===e.keyCode?this.switchOn():void 0}}),acf.registerFieldType(e)},5942:()=>{var e;jQuery,e=acf.Field.extend({type:"url",events:{'keyup input[type="url"]':"onkeyup"},$control:function(){return this.$(".acf-input-wrap")},$input:function(){return this.$('input[type="url"]')},initialize:function(){this.render()},isValid:function(){var e=this.val();return!!e&&(-1!==e.indexOf("://")||0===e.indexOf("//"))},render:function(){this.isValid()?this.$control().addClass("-valid"):this.$control().removeClass("-valid")},onkeyup:function(e,t){this.render()}}),acf.registerFieldType(e)},9732:()=>{var e;jQuery,e=acf.models.SelectField.extend({type:"user"}),acf.registerFieldType(e)},9938:()=>{var e;jQuery,e=acf.Field.extend({type:"wysiwyg",wait:"load",events:{"mousedown .acf-editor-wrap.delay":"onMousedown",unmountField:"disableEditor",remountField:"enableEditor",removeField:"disableEditor"},$control:function(){return this.$(".acf-editor-wrap")},$input:function(){return this.$("textarea")},getMode:function(){return this.$control().hasClass("tmce-active")?"visual":"text"},initialize:function(){this.$control().hasClass("delay")||this.initializeEditor()},initializeEditor:function(){var e=this.$control(),t=this.$input(),i={tinymce:!0,quicktags:!0,toolbar:this.get("toolbar"),mode:this.getMode(),field:this},a=t.attr("id"),n=acf.uniqueId("acf-editor-"),s=t.data(),o=t.val();acf.rename({target:e,search:a,replace:n,destructive:!0}),this.set("id",n,!0),this.$input().data(s).val(o),acf.tinymce.initialize(n,i)},onMousedown:function(e){e.preventDefault();var t=this.$control();t.removeClass("delay"),t.find(".acf-editor-toolbar").remove(),this.initializeEditor()},enableEditor:function(){"visual"==this.getMode()&&acf.tinymce.enable(this.get("id"))},disableEditor:function(){acf.tinymce.destroy(this.get("id"))}}),acf.registerFieldType(e)},5338:()=>{!function(e,t){var i=[];acf.Field=acf.Model.extend({type:"",eventScope:".acf-field",wait:"ready",setup:function(e){this.$el=e,this.inherit(e),this.inherit(this.$control())},val:function(e){return e!==t?this.setValue(e):this.prop("disabled")?null:this.getValue()},getValue:function(){return this.$input().val()},setValue:function(e){return acf.val(this.$input(),e)},__:function(e){return acf._e(this.type,e)},$control:function(){return!1},$input:function(){return this.$("[name]:first")},$inputWrap:function(){return this.$(".acf-input:first")},$labelWrap:function(){return this.$(".acf-label:first")},getInputName:function(){return this.$input().attr("name")||""},parent:function(){var e=this.parents();return!!e.length&&e[0]},parents:function(){var e=this.$el.parents(".acf-field");return acf.getFields(e)},show:function(e,t){var i=acf.show(this.$el,e);return i&&(this.prop("hidden",!1),acf.doAction("show_field",this,t),"conditional_logic"===t&&this.setFieldSettingsLastVisible()),i},hide:function(e,t){var i=acf.hide(this.$el,e);return i&&(this.prop("hidden",!0),acf.doAction("hide_field",this,t),"conditional_logic"===t&&this.setFieldSettingsLastVisible()),i},setFieldSettingsLastVisible:function(){var e=this.$el.parents(".acf-field-settings-main");if(e.length){var t=e.find(".acf-field");t.removeClass("acf-last-visible"),t.not(".acf-hidden").last().addClass("acf-last-visible")}},enable:function(e,t){var i=acf.enable(this.$el,e);return i&&(this.prop("disabled",!1),acf.doAction("enable_field",this,t)),i},disable:function(e,t){var i=acf.disable(this.$el,e);return i&&(this.prop("disabled",!0),acf.doAction("disable_field",this,t)),i},showEnable:function(e,t){return this.enable.apply(this,arguments),this.show.apply(this,arguments)},hideDisable:function(e,t){return this.disable.apply(this,arguments),this.hide.apply(this,arguments)},showNotice:function(e){"object"!=typeof e&&(e={text:e}),this.notice&&this.notice.remove(),e.target=this.$inputWrap(),this.notice=acf.newNotice(e)},removeNotice:function(e){this.notice&&(this.notice.away(e||0),this.notice=!1)},showError:function(i,a="before"){this.$el.addClass("acf-error"),i!==t&&this.showNotice({text:i,type:"error",dismiss:!1,location:a}),acf.doAction("invalid_field",this),this.$el.one("focus change","input, select, textarea",e.proxy(this.removeError,this))},removeError:function(){this.$el.removeClass("acf-error"),this.removeNotice(250),acf.doAction("valid_field",this)},trigger:function(e,t,i){return"invalidField"==e&&(i=!0),acf.Model.prototype.trigger.apply(this,[e,t,i])}}),acf.newField=function(e){var t=e.data("type"),i=a(t),n=new(acf.models[i]||acf.Field)(e);return acf.doAction("new_field",n),n};var a=function(e){return acf.strPascalCase(e||"")+"Field"};acf.registerFieldType=function(e){var t=e.prototype.type,n=a(t);acf.models[n]=e,i.push(t)},acf.getFieldType=function(e){var t=a(e);return acf.models[t]||!1},acf.getFieldTypes=function(e){e=acf.parseArgs(e,{category:""});var t=[];return i.map((function(i){var a=acf.getFieldType(i),n=a.prototype;e.category&&n.category!==e.category||t.push(a)})),t}}(jQuery)},2457:()=>{!function(e){acf.findFields=function(t){var i=".acf-field",a=!1;return(t=acf.parseArgs(t,{key:"",name:"",type:"",is:"",parent:!1,sibling:!1,limit:!1,visible:!1,suppressFilters:!1,excludeSubFields:!1})).suppressFilters||(t=acf.applyFilters("find_fields_args",t)),t.key&&(i+='[data-key="'+t.key+'"]'),t.type&&(i+='[data-type="'+t.type+'"]'),t.name&&(i+='[data-name="'+t.name+'"]'),t.is&&(i+=t.is),t.visible&&(i+=":visible"),t.suppressFilters||(i=acf.applyFilters("find_fields_selector",i,t)),t.parent?(a=t.parent.find(i),t.excludeSubFields&&(a=a.not(t.parent.find(".acf-is-subfields .acf-field")))):a=t.sibling?t.sibling.siblings(i):e(i),t.suppressFilters||(a=a.not(".acf-clone .acf-field"),a=acf.applyFilters("find_fields",a)),t.limit&&(a=a.slice(0,t.limit)),a},acf.findField=function(e,t){return acf.findFields({key:e,limit:1,parent:t,suppressFilters:!0})},acf.getField=function(e){e instanceof jQuery||(e=acf.findField(e));var t=e.data("acf");return t||(t=acf.newField(e)),t},acf.getFields=function(t){t instanceof jQuery||(t=acf.findFields(t));var i=[];return t.each((function(){var t=acf.getField(e(this));i.push(t)})),i},acf.findClosestField=function(e){return e.closest(".acf-field")},acf.getClosestField=function(e){var t=acf.findClosestField(e);return this.getField(t)};var t=function(e){var t=e+"_field",a=e+"Field";acf.addAction(t,(function(n){var s=acf.arrayArgs(arguments),o=s.slice(1);["type","name","key"].map((function(e){var i="/"+e+"="+n.get(e);s=[t+i,n].concat(o),acf.doAction.apply(null,s)})),i.indexOf(e)>-1&&n.trigger(a,o)}))},i=["remove","unmount","remount","sortstart","sortstop","show","hide","unload","valid","invalid","enable","disable","duplicate"];["prepare","ready","load","append","remove","unmount","remount","sortstart","sortstop","show","hide","unload"].map((function(e){var i=e,a=e+"_fields",n=e+"_field";acf.addAction(i,(function(e){var t=acf.arrayArgs(arguments).slice(1),i=acf.getFields({parent:e});if(i.length){var n=[a,i].concat(t);acf.doAction.apply(null,n)}})),acf.addAction(a,(function(e){var t=acf.arrayArgs(arguments).slice(1);e.map((function(e,i){var a=[n,e].concat(t);acf.doAction.apply(null,a)}))})),t(e)})),["valid","invalid","enable","disable","new","duplicate"].map(t),new acf.Model({id:"fieldsEventManager",events:{'click .acf-field a[href="#"]':"onClick","change .acf-field":"onChange"},onClick:function(e){e.preventDefault()},onChange:function(){if(e("#_acf_changed").val(1),acf.isGutenbergPostEditor())try{wp.data.dispatch("core/editor").editPost({meta:{_acf_changed:1}})}catch(e){console.log("ACF: Failed to update _acf_changed meta",e)}}}),new acf.Model({id:"duplicateFieldsManager",actions:{duplicate:"onDuplicate",duplicate_fields:"onDuplicateFields"},onDuplicate:function(e,t){var i=acf.getFields({parent:e});if(i.length){var a=acf.findFields({parent:t});acf.doAction("duplicate_fields",i,a)}},onDuplicateFields:function(t,i){t.map((function(t,a){acf.doAction("duplicate_field",t,e(i[a]))}))}})}(jQuery)},8223:()=>{var e;e=jQuery,new acf.Model({priority:90,actions:{new_field:"refresh",show_field:"refresh",hide_field:"refresh",remove_field:"refresh",unmount_field:"refresh",remount_field:"refresh"},refresh:function(){acf.refresh()}}),new acf.Model({priority:1,actions:{sortstart:"onSortstart",sortstop:"onSortstop"},onSortstart:function(e){acf.doAction("unmount",e)},onSortstop:function(e){acf.doAction("remount",e)}}),new acf.Model({actions:{sortstart:"onSortstart"},onSortstart:function(t,i){t.is("tr")&&(i.html('
              '),t.addClass("acf-sortable-tr-helper"),t.children().each((function(){e(this).width(e(this).width())})),i.height(t.height()+"px"),t.removeClass("acf-sortable-tr-helper"))}}),new acf.Model({actions:{after_duplicate:"onAfterDuplicate"},onAfterDuplicate:function(t,i){var a=[];t.find("select").each((function(t){a.push(e(this).val())})),i.find("select").each((function(t){e(this).val(a[t])}))}}),new acf.Model({id:"tableHelper",priority:20,wait:"load",actions:{refresh:"renderTables"},initialize:function(){this.renderTables()},renderTables:function(t){var i=this;e(".acf-table:visible").each((function(){i.renderTable(e(this))}))},renderTable:function(t){var i=t.find("> thead > tr:visible > th[data-key]"),a=t.find("> tbody > tr:visible > td[data-key]");if(!i.length||!a.length)return!1;i.each((function(t){var i=e(this),n=i.data("key"),s=a.filter('[data-key="'+n+'"]'),o=s.filter(".acf-hidden");s.removeClass("acf-empty"),s.length===o.length?acf.hide(i):(acf.show(i),o.addClass("acf-empty"))})),i.css("width","auto"),i=i.not(".acf-hidden");var n=100;i.length,i.filter("[data-width]").each((function(){var t=e(this).data("width");e(this).css("width",t+"%"),n-=t}));var s=i.not("[data-width]");if(s.length){var o=n/s.length;s.css("width",o+"%"),n=0}n>0&&i.last().css("width","auto"),a.filter(".-collapsed-target").each((function(){var t=e(this);t.parent().hasClass("-collapsed")?t.attr("colspan",i.length):t.removeAttr("colspan")}))}}),new acf.Model({id:"fieldsHelper",priority:30,actions:{refresh:"renderGroups"},renderGroups:function(){var t=this;e(".acf-fields:visible").each((function(){t.renderGroup(e(this))}))},renderGroup:function(t){var i=0,a=0,n=e(),s=t.children(".acf-field[data-width]:visible");return!!s.length&&(t.hasClass("-left")?(s.removeAttr("data-width"),s.css("width","auto"),!1):(s.removeClass("-r0 -c0").css({"min-height":0}),s.each((function(t){var s=e(this),o=s.position(),r=Math.ceil(o.top),c=Math.ceil(o.left);n.length&&r>i&&(n.css({"min-height":a+"px"}),o=s.position(),r=Math.ceil(o.top),c=Math.ceil(o.left),i=0,a=0,n=e()),acf.get("rtl")&&(c=Math.ceil(s.parent().width()-(o.left+s.outerWidth()))),0==r?s.addClass("-r0"):0==c&&s.addClass("-c0");var l=Math.ceil(s.outerHeight())+1;a=Math.max(a,l),i=Math.max(i,r),n=n.add(s)})),void(n.length&&n.css({"min-height":a+"px"}))))}}),new acf.Model({id:"bodyClassShiftHelper",events:{keydown:"onKeyDown",keyup:"onKeyUp"},isShiftKey:function(e){return 16===e.keyCode},onKeyDown:function(t){this.isShiftKey(t)&&e("body").addClass("acf-keydown-shift")},onKeyUp:function(t){this.isShiftKey(t)&&e("body").removeClass("acf-keydown-shift")}})},1218:()=>{!function(e){acf.newMediaPopup=function(e){var t=null;return e=acf.parseArgs(e,{mode:"select",title:"",button:"",type:"",field:!1,allowedTypes:"",library:"all",multiple:!1,attachment:0,autoOpen:!0,open:function(){},select:function(){},close:function(){}}),t="edit"==e.mode?new acf.models.EditMediaPopup(e):new acf.models.SelectMediaPopup(e),e.autoOpen&&setTimeout((function(){t.open()}),1),acf.doAction("new_media_popup",t),t};var t=function(){var e=acf.get("post_id");return acf.isNumeric(e)?e:0};acf.getMimeTypes=function(){return this.get("mimeTypes")},acf.getMimeType=function(e){var t=acf.getMimeTypes();if(void 0!==t[e])return t[e];for(var i in t)if(-1!==i.indexOf(e))return t[i];return!1};var i=acf.Model.extend({id:"MediaPopup",data:{},defaults:{},frame:!1,setup:function(t){e.extend(this.data,t)},initialize:function(){var e=this.getFrameOptions();this.addFrameStates(e);var t=wp.media(e);t.acf=this,this.addFrameEvents(t,e),this.frame=t},open:function(){this.frame.open()},close:function(){this.frame.close()},remove:function(){this.frame.detach(),this.frame.remove()},getFrameOptions:function(){var e={title:this.get("title"),multiple:this.get("multiple"),library:{},states:[]};return this.get("type")&&(e.library.type=this.get("type")),"uploadedTo"===this.get("library")&&(e.library.uploadedTo=t()),this.get("attachment")&&(e.library.post__in=[this.get("attachment")]),this.get("button")&&(e.button={text:this.get("button")}),e},addFrameStates:function(e){var t=wp.media.query(e.library);this.get("field")&&acf.isset(t,"mirroring","args")&&(t.mirroring.args._acfuploader=this.get("field")),e.states.push(new wp.media.controller.Library({library:t,multiple:this.get("multiple"),title:this.get("title"),priority:20,filterable:"all",editable:!0,allowLocalEdits:!0})),acf.isset(wp,"media","controller","EditImage")&&e.states.push(new wp.media.controller.EditImage)},addFrameEvents:function(e,t){e.on("open",(function(){this.$el.closest(".media-modal").addClass("acf-media-modal -"+this.acf.get("mode"))}),e),e.on("content:render:edit-image",(function(){var e=this.state().get("image"),t=new wp.media.view.EditImage({model:e,controller:this}).render();this.content.set(t),t.loadEditor()}),e),e.on("select",(function(){var t=e.state().get("selection");t&&t.each((function(t,i){e.acf.get("select").apply(e.acf,[t,i])}))})),e.on("close",(function(){setTimeout((function(){e.acf.get("close").apply(e.acf),e.acf.remove()}),1)}))}});acf.models.SelectMediaPopup=i.extend({id:"SelectMediaPopup",setup:function(e){e.button||(e.button=acf._x("Select","verb")),i.prototype.setup.apply(this,arguments)},addFrameEvents:function(e,t){acf.isset(_wpPluploadSettings,"defaults","multipart_params")&&(_wpPluploadSettings.defaults.multipart_params._acfuploader=this.get("field"),e.on("open",(function(){delete _wpPluploadSettings.defaults.multipart_params._acfuploader}))),e.on("content:activate:browse",(function(){var t=!1;try{t=e.content.get().toolbar}catch(e){return void console.log(e)}e.acf.customizeFilters.apply(e.acf,[t])})),i.prototype.addFrameEvents.apply(this,arguments)},customizeFilters:function(t){var i=t.get("filters");if("image"==this.get("type")&&(i.filters.all.text=acf.__("All images"),delete i.filters.audio,delete i.filters.video,delete i.filters.image,e.each(i.filters,(function(e,t){t.props.type=t.props.type||"image"}))),this.get("allowedTypes")&&this.get("allowedTypes").split(" ").join("").split(".").join("").split(",").map((function(e){var t=acf.getMimeType(e);if(t){var a={text:t,props:{status:null,type:t,uploadedTo:null,orderby:"date",order:"DESC"},priority:20};i.filters[t]=a}})),"uploadedTo"===this.get("library")){var a=this.frame.options.library.uploadedTo;delete i.filters.unattached,delete i.filters.uploaded,e.each(i.filters,(function(e,t){t.text+=" ("+acf.__("Uploaded to this post")+")",t.props.uploadedTo=a}))}var n=this.get("field");e.each(i.filters,(function(e,t){t.props._acfuploader=n})),t.get("search").model.attributes._acfuploader=n,i.renderFilters&&i.renderFilters()}}),acf.models.EditMediaPopup=i.extend({id:"SelectMediaPopup",setup:function(e){e.button||(e.button=acf._x("Update","verb")),i.prototype.setup.apply(this,arguments)},addFrameEvents:function(e,t){e.on("open",(function(){this.$el.closest(".media-modal").addClass("acf-expanded"),"browse"!=this.content.mode()&&this.content.mode("browse");var t=this.state().get("selection"),i=wp.media.attachment(e.acf.get("attachment"));t.add(i)}),e),i.prototype.addFrameEvents.apply(this,arguments)}}),new acf.Model({id:"customizePrototypes",wait:"ready",initialize:function(){if(acf.isset(window,"wp","media","view")){var e=t();e&&acf.isset(wp,"media","view","settings","post")&&(wp.media.view.settings.post.id=e),this.customizeAttachmentsButton(),this.customizeAttachmentsRouter(),this.customizeAttachmentFilters(),this.customizeAttachmentCompat(),this.customizeAttachmentLibrary()}},customizeAttachmentsButton:function(){if(acf.isset(wp,"media","view","Button")){var e=wp.media.view.Button;wp.media.view.Button=e.extend({initialize:function(){var e=_.defaults(this.options,this.defaults);this.model=new Backbone.Model(e),this.listenTo(this.model,"change",this.render)}})}},customizeAttachmentsRouter:function(){if(acf.isset(wp,"media","view","Router")){var t=wp.media.view.Router;wp.media.view.Router=t.extend({addExpand:function(){var t=e(['',''+acf.__("Expand Details")+"",''+acf.__("Collapse Details")+"",""].join(""));t.on("click",(function(t){t.preventDefault();var i=e(this).closest(".media-modal");i.hasClass("acf-expanded")?i.removeClass("acf-expanded"):i.addClass("acf-expanded")})),this.$el.append(t)},initialize:function(){return t.prototype.initialize.apply(this,arguments),this.addExpand(),this}})}},customizeAttachmentFilters:function(){acf.isset(wp,"media","view","AttachmentFilters","All")&&(wp.media.view.AttachmentFilters.All.prototype.renderFilters=function(){this.$el.html(_.chain(this.filters).map((function(t,i){return{el:e("").val(i).html(t.text)[0],priority:t.priority||50}}),this).sortBy("priority").pluck("el").value())})},customizeAttachmentCompat:function(){if(acf.isset(wp,"media","view","AttachmentCompat")){var t=wp.media.view.AttachmentCompat,i=!1;wp.media.view.AttachmentCompat=t.extend({render:function(){return this.rendered?this:(t.prototype.render.apply(this,arguments),this.$("#acf-form-data").length?(clearTimeout(i),i=setTimeout(e.proxy((function(){this.rendered=!0,acf.doAction("append",this.$el)}),this),50),this):this)},save:function(e){var t;e&&e.preventDefault(),t=acf.serializeForAjax(this.$el),this.controller.trigger("attachment:compat:waiting",["waiting"]),this.model.saveCompat(t).always(_.bind(this.postSave,this))}})}},customizeAttachmentLibrary:function(){if(acf.isset(wp,"media","view","Attachment","Library")){var e=wp.media.view.Attachment.Library;wp.media.view.Attachment.Library=e.extend({render:function(){var t=acf.isget(this,"controller","acf"),i=acf.isget(this,"model","attributes");if(t&&i){i.acf_errors&&this.$el.addClass("acf-disabled");var a=t.get("selected");a&&a.indexOf(i.id)>-1&&this.$el.addClass("acf-selected")}return e.prototype.render.apply(this,arguments)},toggleSelection:function(t){this.collection;var i=this.options.selection,a=this.model,n=(i.single(),this.controller),s=acf.isget(this,"model","attributes","acf_errors"),o=n.$el.find(".media-frame-content .media-sidebar");if(o.children(".acf-selection-error").remove(),o.children().removeClass("acf-hidden"),n&&s){var r=acf.isget(this,"model","attributes","filename");return o.children().addClass("acf-hidden"),o.prepend(['
              ',''+acf.__("Restricted")+"",''+r+"",''+s+"","
              "].join("")),i.reset(),void i.single(a)}return e.prototype.toggleSelection.apply(this,arguments)}})}}})}(jQuery)},993:()=>{var e;e=jQuery,new acf.Model({wait:"prepare",priority:1,initialize:function(){(acf.get("postboxes")||[]).map(acf.newPostbox)}}),acf.getPostbox=function(t){return"string"==typeof arguments[0]&&(t=e("#"+arguments[0])),acf.getInstance(t)},acf.getPostboxes=function(){return acf.getInstances(e(".acf-postbox"))},acf.newPostbox=function(e){return new acf.models.Postbox(e)},acf.models.Postbox=acf.Model.extend({data:{id:"",key:"",style:"default",label:"top",edit:""},setup:function(t){t.editLink&&(t.edit=t.editLink),e.extend(this.data,t),this.$el=this.$postbox()},$postbox:function(){return e("#"+this.get("id"))},$hide:function(){return e("#"+this.get("id")+"-hide")},$hideLabel:function(){return this.$hide().parent()},$hndle:function(){return this.$("> .hndle")},$handleActions:function(){return this.$("> .postbox-header .handle-actions")},$inside:function(){return this.$("> .inside")},isVisible:function(){return this.$el.hasClass("acf-hidden")},isHiddenByScreenOptions:function(){return this.$el.hasClass("hide-if-js")||"none"==this.$el.css("display")},initialize:function(){if(this.$el.addClass("acf-postbox"),"block"!==acf.get("editor")){var e=this.get("style");"default"!==e&&this.$el.addClass(e)}this.$inside().addClass("acf-fields").addClass("-"+this.get("label"));var t=this.get("edit");if(t){var i='',a=this.$handleActions();a.length?a.prepend(i):this.$hndle().append(i)}this.show()},show:function(){this.$el.hasClass("hide-if-js")?this.$hide().prop("checked",!1):(this.$hideLabel().show(),this.$hide().prop("checked",!0),this.$el.show().removeClass("acf-hidden"),acf.doAction("show_postbox",this))},enable:function(){acf.enable(this.$el,"postbox")},showEnable:function(){this.enable(),this.show()},hide:function(){this.$hideLabel().hide(),this.$el.hide().addClass("acf-hidden"),acf.doAction("hide_postbox",this)},disable:function(){acf.disable(this.$el,"postbox")},hideDisable:function(){this.disable(),this.hide()},html:function(e){this.$inside().html(e),acf.doAction("append",this.$el)}})},9400:()=>{var e;e=jQuery,acf.screen=new acf.Model({active:!0,xhr:!1,timeout:!1,wait:"load",events:{"change #page_template":"onChange","change #parent_id":"onChange","change #post-formats-select":"onChange","change .categorychecklist":"onChange","change .tagsdiv":"onChange",'change .acf-taxonomy-field[data-save="1"]':"onChange","change #product-type":"onChange"},isPost:function(){return"post"===acf.get("screen")},isUser:function(){return"user"===acf.get("screen")},isTaxonomy:function(){return"taxonomy"===acf.get("screen")},isAttachment:function(){return"attachment"===acf.get("screen")},isNavMenu:function(){return"nav_menu"===acf.get("screen")},isWidget:function(){return"widget"===acf.get("screen")},isComment:function(){return"comment"===acf.get("screen")},getPageTemplate:function(){var t=e("#page_template");return t.length?t.val():null},getPageParent:function(t,i){return(i=e("#parent_id")).length?i.val():null},getPageType:function(e,t){return this.getPageParent()?"child":"parent"},getPostType:function(){return e("#post_type").val()},getPostFormat:function(t,i){if((i=e("#post-formats-select input:checked")).length){var a=i.val();return"0"==a?"standard":a}return null},getPostCoreTerms:function(){var t={},i=acf.serialize(e(".categorydiv, .tagsdiv"));for(var a in i.tax_input&&(t=i.tax_input),i.post_category&&(t.category=i.post_category),t)acf.isArray(t[a])||(t[a]=t[a].split(/,[\s]?/));return t},getPostTerms:function(){var e=this.getPostCoreTerms();for(var t in acf.getFields({type:"taxonomy"}).map((function(t){if(t.get("save")){var i=t.val(),a=t.get("taxonomy");i&&(e[a]=e[a]||[],i=acf.isArray(i)?i:[i],e[a]=e[a].concat(i))}})),null!==(productType=this.getProductType())&&(e.product_type=[productType]),e)e[t]=acf.uniqueArray(e[t]);return e},getProductType:function(){var t=e("#product-type");return t.length?t.val():null},check:function(){if("post"===acf.get("screen")){this.xhr&&this.xhr.abort();var t=acf.parseArgs(this.data,{action:"acf/ajax/check_screen",screen:acf.get("screen"),exists:[]});this.isPost()&&(t.post_id=acf.get("post_id")),null!==(postType=this.getPostType())&&(t.post_type=postType),null!==(pageTemplate=this.getPageTemplate())&&(t.page_template=pageTemplate),null!==(pageParent=this.getPageParent())&&(t.page_parent=pageParent),null!==(pageType=this.getPageType())&&(t.page_type=pageType),null!==(postFormat=this.getPostFormat())&&(t.post_format=postFormat),null!==(postTerms=this.getPostTerms())&&(t.post_terms=postTerms),acf.getPostboxes().map((function(e){t.exists.push(e.get("key"))})),t=acf.applyFilters("check_screen_args",t),this.xhr=e.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(t),type:"post",dataType:"json",context:this,success:function(e){"post"==acf.get("screen")?this.renderPostScreen(e):"user"==acf.get("screen")&&this.renderUserScreen(e),acf.doAction("check_screen_complete",e,t)}})}},onChange:function(e,t){this.setTimeout(this.check,1)},renderPostScreen:function(t){var i=function(t,i){var a=e._data(t[0]).events;for(var n in a)for(var s=0;s=0;n--)if(e("#"+i[n]).length)return e("#"+i[n]).after(e("#"+t));for(n=a+1;n=5.5)var r=['
              ','

              ',""+acf.escHtml(n.title)+"","

              ",'
              ','","
              ","
              "].join("");else r=['",'

              ',""+acf.escHtml(n.title)+"","

              "].join("");n.classes||(n.classes="");var c=e(['
              ',r,'
              ',n.html,"
              ","
              "].join(""));if(e("#adv-settings").length){var l=e("#adv-settings .metabox-prefs"),d=e(['"].join(""));i(l.find("input").first(),d.find("input")),l.append(d)}e(".postbox").length&&(i(e(".postbox .handlediv").first(),c.children(".handlediv")),i(e(".postbox .hndle").first(),c.children(".hndle"))),"side"===n.position?e("#"+n.position+"-sortables").append(c):e("#"+n.position+"-sortables").prepend(c);var u=[];if(t.results.map((function(t){n.position===t.position&&e("#"+n.position+"-sortables #"+t.id).length&&u.push(t.id)})),a(n.id,u),t.sorted)for(var f in t.sorted){let e=t.sorted[f];if("string"==typeof e&&(e=e.split(","),a(n.id,e)))break}o=acf.newPostbox(n),acf.doAction("append",c),acf.doAction("append_postbox",o)}return o.showEnable(),t.visible.push(n.id),n})),acf.getPostboxes().map((function(e){-1===t.visible.indexOf(e.get("id"))&&(e.hideDisable(),t.hidden.push(e.get("id")))})),e("#acf-style").html(t.style),acf.doAction("refresh_post_screen",t)},renderUserScreen:function(e){}}),new acf.Model({postEdits:{},wait:"prepare",initialize:function(){acf.isGutenbergPostEditor()&&(wp.data.subscribe(acf.debounce(this.onChange).bind(this)),acf.screen.getPageTemplate=this.getPageTemplate,acf.screen.getPageParent=this.getPageParent,acf.screen.getPostType=this.getPostType,acf.screen.getPostFormat=this.getPostFormat,acf.screen.getPostCoreTerms=this.getPostCoreTerms,acf.unload.disable(),parseFloat(acf.get("wp_version"))>=5.3&&this.addAction("refresh_post_screen",this.onRefreshPostScreen),wp.domReady(acf.refresh))},onChange:function(){var e=["template","parent","format"];(wp.data.select("core").getTaxonomies()||[]).map((function(t){e.push(t.rest_base)}));var t=wp.data.select("core/editor").getPostEdits(),i={};e.map((function(e){void 0!==t[e]&&(i[e]=t[e])})),JSON.stringify(i)!==JSON.stringify(this.postEdits)&&(this.postEdits=i,acf.screen.check())},getPageTemplate:function(){return wp.data.select("core/editor").getEditedPostAttribute("template")},getPageParent:function(e,t){return wp.data.select("core/editor").getEditedPostAttribute("parent")},getPostType:function(){return wp.data.select("core/editor").getEditedPostAttribute("type")},getPostFormat:function(e,t){return wp.data.select("core/editor").getEditedPostAttribute("format")},getPostCoreTerms:function(){var e={};return(wp.data.select("core").getTaxonomies()||[]).map((function(t){var i=wp.data.select("core/editor").getEditedPostAttribute(t.rest_base);i&&(e[t.slug]=i)})),e},onRefreshPostScreen:function(e){var t=wp.data.select("core/edit-post"),i=wp.data.dispatch("core/edit-post"),a={};t.getActiveMetaBoxLocations().map((function(e){a[e]=t.getMetaBoxesPerLocation(e)}));var n=[];for(var s in a)a[s].map((function(e){n.push(e.id)}));for(var s in e.results.filter((function(e){return-1===n.indexOf(e.id)})).map((function(e,t){var i=e.position;a[i]=a[i]||[],a[i].push({id:e.id,title:e.title})})),a)a[s]=a[s].filter((function(t){return-1===e.hidden.indexOf(t.id)}));i.setAvailableMetaBoxesPerLocation(a)}})},2900:()=>{!function(e,t){function i(){return acf.isset(window,"jQuery","fn","select2","amd")?4:!!acf.isset(window,"Select2")&&3}acf.newSelect2=function(e,t){if(t=acf.parseArgs(t,{allowNull:!1,placeholder:"",multiple:!1,field:!1,ajax:!1,ajaxAction:"",ajaxData:function(e){return e},ajaxResults:function(e){return e},escapeMarkup:!1,templateSelection:!1,templateResult:!1,dropdownCssClass:"",suppressFilters:!1}),4==i())var a=new n(e,t);else a=new s(e,t);return acf.doAction("new_select2",a),a};var a=acf.Model.extend({setup:function(t,i){e.extend(this.data,i),this.$el=t},initialize:function(){},selectOption:function(e){var t=this.getOption(e);t.prop("selected")||t.prop("selected",!0).trigger("change")},unselectOption:function(e){var t=this.getOption(e);t.prop("selected")&&t.prop("selected",!1).trigger("change")},getOption:function(e){return this.$('option[value="'+e+'"]')},addOption:function(t){t=acf.parseArgs(t,{id:"",text:"",selected:!1});var i=this.getOption(t.id);return i.length||((i=e("")).html(t.text),i.attr("value",t.id),i.prop("selected",t.selected),this.$el.append(i)),i},getValue:function(){var t=[],i=this.$el.find("option:selected");return i.exists()?((i=i.sort((function(e,t){return+e.getAttribute("data-i")-+t.getAttribute("data-i")}))).each((function(){var i=e(this);t.push({$el:i,id:i.attr("value"),text:i.text()})})),t):t},mergeOptions:function(){},getChoices:function(){var t=function(i){var a=[];return i.children().each((function(){var i=e(this);i.is("optgroup")?a.push({text:i.attr("label"),children:t(i)}):a.push({id:i.attr("value"),text:i.text()})})),a};return t(this.$el)},getAjaxData:function(e){var t={action:this.get("ajaxAction"),s:e.term||"",paged:e.page||1},i=this.get("field");i&&(t.field_key=i.get("key"),i.get("nonce")&&(t.nonce=i.get("nonce")));var a=this.get("ajaxData");return a&&(t=a.apply(this,[t,e])),t=acf.applyFilters("select2_ajax_data",t,this.data,this.$el,i||!1,this),acf.prepareForAjax(t)},getAjaxResults:function(e,t){e=acf.parseArgs(e,{results:!1,more:!1});var i=this.get("ajaxResults");return i&&(e=i.apply(this,[e,t])),acf.applyFilters("select2_ajax_results",e,t,this)},processAjaxResults:function(t,i){return(t=this.getAjaxResults(t,i)).more&&(t.pagination={more:!0}),setTimeout(e.proxy(this.mergeOptions,this),1),t},destroy:function(){this.$el.data("select2")&&this.$el.select2("destroy"),this.$el.siblings(".select2-container").remove()}}),n=a.extend({initialize:function(){var i=this.$el,a={width:"100%",allowClear:this.get("allowNull"),placeholder:this.get("placeholder"),multiple:this.get("multiple"),escapeMarkup:this.get("escapeMarkup"),templateSelection:this.get("templateSelection"),templateResult:this.get("templateResult"),dropdownCssClass:this.get("dropdownCssClass"),suppressFilters:this.get("suppressFilters"),data:[]};a.templateSelection||delete a.templateSelection,a.templateResult||delete a.templateResult,a.dropdownCssClass||delete a.dropdownCssClass,acf.isset(window,"jQuery","fn","selectWoo")?(delete a.templateSelection,delete a.templateResult):a.templateSelection||(a.templateSelection=function(t){var i=e('');return i.html(a.escapeMarkup(t.text)),i.data("element",t.element),i}),a.escapeMarkup||(a.escapeMarkup=function(e){return"string"!=typeof e?e:this.suppressFilters?acf.strEscape(e):acf.applyFilters("select2_escape_markup",acf.strEscape(e),e,i,this.data,s||!1,this)}),a.multiple&&this.getValue().map((function(e){e.$el.detach().appendTo(i)}));var n=i.attr("data-ajax");if(n!==t&&(i.removeData("ajax"),i.removeAttr("data-ajax")),this.get("ajax")&&(a.ajax={url:acf.get("ajaxurl"),delay:250,dataType:"json",type:"post",cache:!1,data:e.proxy(this.getAjaxData,this),processResults:e.proxy(this.processAjaxResults,this)}),!a.suppressFilters){var s=this.get("field");a=acf.applyFilters("select2_args",a,i,this.data,s||!1,this)}i.select2(a);var o=i.next(".select2-container");if(a.multiple){var r=o.find("ul");r.sortable({stop:function(t){r.find(".select2-selection__choice").each((function(){if(e(this).data("data"))var t=e(e(this).data("data").element);else t=e(e(this).find("span.acf-selection").data("element"));t.detach().appendTo(i)})),i.trigger("change")}}),i.on("select2:select",this.proxy((function(e){this.getOption(e.params.data.id).detach().appendTo(this.$el)})))}i.on("select2:open",(()=>{e(".select2-container--open .select2-search__field").get(-1).focus()})),o.addClass("-acf"),n!==t&&i.attr("data-ajax",n),a.suppressFilters||acf.doAction("select2_init",i,a,this.data,s||!1,this)},mergeOptions:function(){var t=!1,i=!1;e('.select2-results__option[role="group"]').each((function(){var a=e(this).children("ul"),n=e(this).children("strong");if(i&&i.text()===n.text())return t.append(a.children()),void e(this).remove();t=a,i=n}))}}),s=a.extend({initialize:function(){var t=this.$el,i=this.getValue(),a=this.get("multiple"),n={width:"100%",allowClear:this.get("allowNull"),placeholder:this.get("placeholder"),separator:"||",multiple:this.get("multiple"),data:this.getChoices(),escapeMarkup:function(e){return acf.escHtml(e)},dropdownCss:{"z-index":"999999999"},initSelection:function(e,t){t(a?i:i.shift())}},s=t.siblings("input");s.length||(s=e(''),t.before(s)),inputValue=i.map((function(e){return e.id})).join("||"),s.val(inputValue),n.multiple&&i.map((function(e){e.$el.detach().appendTo(t)})),n.allowClear&&(n.data=n.data.filter((function(e){return""!==e.id}))),t.removeData("ajax"),t.removeAttr("data-ajax"),this.get("ajax")&&(n.ajax={url:acf.get("ajaxurl"),quietMillis:250,dataType:"json",type:"post",cache:!1,data:e.proxy(this.getAjaxData,this),results:e.proxy(this.processAjaxResults,this)});var o=this.get("field");n=acf.applyFilters("select2_args",n,t,this.data,o||!1,this),s.select2(n);var r=s.select2("container"),c=e.proxy(this.getOption,this);if(n.multiple){var l=r.find("ul");l.sortable({stop:function(){l.find(".select2-search-choice").each((function(){var i=e(this).data("select2Data");c(i.id).detach().appendTo(t)})),t.trigger("change")}})}s.on("select2-selecting",(function(i){var a=i.choice,n=c(a.id);n.length||(n=e('")),n.detach().appendTo(t)})),r.addClass("-acf"),acf.doAction("select2_init",t,n,this.data,o||!1,this),s.on("change",(function(){var e=s.val();e.indexOf("||")&&(e=e.split("||")),t.val(e).trigger("change")})),t.hide()},mergeOptions:function(){var t=!1;e("#select2-drop .select2-result-with-children").each((function(){var i=e(this).children("ul"),a=e(this).children(".select2-result-label");if(t&&t.text()===a.text())return t.append(i.children()),void e(this).remove();t=a}))},getAjaxData:function(e,t){var i={term:e,page:t},n=this.get("field");return i=acf.applyFilters("select2_ajax_data",i,this.data,this.$el,n||!1,this),a.prototype.getAjaxData.apply(this,[i])}});new acf.Model({priority:5,wait:"prepare",actions:{duplicate:"onDuplicate"},initialize:function(){var e=acf.get("locale"),t=(acf.get("rtl"),acf.get("select2L10n")),a=i();return!!t&&0!==e.indexOf("en")&&void(4==a?this.addTranslations4():3==a&&this.addTranslations3())},addTranslations4:function(){var e=acf.get("select2L10n"),t=acf.get("locale");t=t.replace("_","-");var i={errorLoading:function(){return e.load_fail},inputTooLong:function(t){var i=t.input.length-t.maximum;return i>1?e.input_too_long_n.replace("%d",i):e.input_too_long_1},inputTooShort:function(t){var i=t.minimum-t.input.length;return i>1?e.input_too_short_n.replace("%d",i):e.input_too_short_1},loadingMore:function(){return e.load_more},maximumSelected:function(t){var i=t.maximum;return i>1?e.selection_too_long_n.replace("%d",i):e.selection_too_long_1},noResults:function(){return e.matches_0},searching:function(){return e.searching}};jQuery.fn.select2.amd.define("select2/i18n/"+t,[],(function(){return i}))},addTranslations3:function(){var t=acf.get("select2L10n"),i=acf.get("locale");i=i.replace("_","-");var a={formatMatches:function(e){return e>1?t.matches_n.replace("%d",e):t.matches_1},formatNoMatches:function(){return t.matches_0},formatAjaxError:function(){return t.load_fail},formatInputTooShort:function(e,i){var a=i-e.length;return a>1?t.input_too_short_n.replace("%d",a):t.input_too_short_1},formatInputTooLong:function(e,i){var a=e.length-i;return a>1?t.input_too_long_n.replace("%d",a):t.input_too_long_1},formatSelectionTooBig:function(e){return e>1?t.selection_too_long_n.replace("%d",e):t.selection_too_long_1},formatLoadMore:function(){return t.load_more},formatSearching:function(){return t.searching}};e.fn.select2.locales=e.fn.select2.locales||{},e.fn.select2.locales[i]=a,e.extend(e.fn.select2.defaults,a)},onDuplicate:function(e,t){t.find(".select2-container").remove()}})}(jQuery)},1087:()=>{var e;e=jQuery,acf.tinymce={defaults:function(){return"undefined"!=typeof tinyMCEPreInit&&{tinymce:tinyMCEPreInit.mceInit.acf_content,quicktags:tinyMCEPreInit.qtInit.acf_content}},initialize:function(e,t){(t=acf.parseArgs(t,{tinymce:!0,quicktags:!0,toolbar:"full",mode:"visual",field:!1})).tinymce&&this.initializeTinymce(e,t),t.quicktags&&this.initializeQuicktags(e,t)},initializeTinymce:function(t,i){var a=e("#"+t),n=this.defaults(),s=acf.get("toolbars"),o=i.field||!1;if(o.$el,"undefined"==typeof tinymce)return!1;if(!n)return!1;if(tinymce.get(t))return this.enable(t);var r=e.extend({},n.tinymce,i.tinymce);r.id=t,r.selector="#"+t;var c=i.toolbar;if(c&&s&&s[c])for(var l=1;l<=4;l++)r["toolbar"+l]=s[c][l]||"";if(r.setup=function(e){e.on("change",(function(t){e.save(),a.trigger("change")})),e.on("mouseup",(function(e){var t=new MouseEvent("mouseup");window.dispatchEvent(t)}))},r.wp_autoresize_on=!1,r.tadv_noautop||(r.wpautop=!0),r=acf.applyFilters("wysiwyg_tinymce_settings",r,t,o),tinyMCEPreInit.mceInit[t]=r,"visual"==i.mode){tinymce.init(r);var d=tinymce.get(t);if(!d)return!1;d.acf=i.field,acf.doAction("wysiwyg_tinymce_init",d,d.id,r,o)}},initializeQuicktags:function(t,i){var a=this.defaults();if("undefined"==typeof quicktags)return!1;if(!a)return!1;var n=e.extend({},a.quicktags,i.quicktags);n.id=t;var s=i.field||!1;s.$el,n=acf.applyFilters("wysiwyg_quicktags_settings",n,n.id,s),tinyMCEPreInit.qtInit[t]=n;var o=quicktags(n);if(!o)return!1;this.buildQuicktags(o),acf.doAction("wysiwyg_quicktags_init",o,o.id,n,s)},buildQuicktags:function(e){var t,i,a,n,s,o,r,c;for(o in e.canvas,t=e.name,i=e.settings,n="",a={},r="",c=e.id,i.buttons&&(r=","+i.buttons+","),edButtons)edButtons[o]&&(s=edButtons[o].id,r&&-1!==",strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,".indexOf(","+s+",")&&-1===r.indexOf(","+s+",")||edButtons[o].instance&&edButtons[o].instance!==c||(a[s]=edButtons[o],edButtons[o].html&&(n+=edButtons[o].html(t+"_"))));r&&-1!==r.indexOf(",dfw,")&&(a.dfw=new QTags.DFWButton,n+=a.dfw.html(t+"_")),"rtl"===document.getElementsByTagName("html")[0].dir&&(a.textdirection=new QTags.TextDirectionButton,n+=a.textdirection.html(t+"_")),e.toolbar.innerHTML=n,e.theButtons=a,"undefined"!=typeof jQuery&&jQuery(document).triggerHandler("quicktags-init",[e])},disable:function(e){this.destroyTinymce(e)},remove:function(e){this.destroyTinymce(e)},destroy:function(e){this.destroyTinymce(e)},destroyTinymce:function(e){if("undefined"==typeof tinymce)return!1;var t=tinymce.get(e);return!!t&&(t.save(),t.destroy(),!0)},enable:function(e){this.enableTinymce(e)},enableTinymce:function(t){return"undefined"!=typeof switchEditors&&void 0!==tinyMCEPreInit.mceInit[t]&&(e("#"+t).show(),switchEditors.go(t,"tmce"),!0)}},new acf.Model({priority:5,actions:{prepare:"onPrepare",ready:"onReady"},onPrepare:function(){var t=e("#acf-hidden-wp-editor");t.exists()&&t.appendTo("body")},onReady:function(){acf.isset(window,"wp","oldEditor")&&(wp.editor.autop=wp.oldEditor.autop,wp.editor.removep=wp.oldEditor.removep),acf.isset(window,"tinymce","on")&&tinymce.on("AddEditor",(function(e){var t=e.editor;"acf"===t.id.substr(0,3)&&(t=tinymce.editors.content||t,tinymce.activeEditor=t,wpActiveEditor=t.id)}))}})},963:()=>{var e;e=jQuery,acf.unload=new acf.Model({wait:"load",active:!0,changed:!1,actions:{validation_failure:"startListening",validation_success:"stopListening"},events:{"change form .acf-field":"startListening","submit form":"stopListening"},enable:function(){this.active=!0},disable:function(){this.active=!1},reset:function(){this.stopListening()},startListening:function(){!this.changed&&this.active&&(this.changed=!0,e(window).on("beforeunload",this.onUnload))},stopListening:function(){this.changed=!1,e(window).off("beforeunload",this.onUnload)},onUnload:function(){return acf.__("The changes you made will be lost if you navigate away from this page")}})},2631:()=>{!function(e){var t=acf.Model.extend({id:"Validator",data:{errors:[],notice:null,status:""},events:{"changed:status":"onChangeStatus"},addErrors:function(e){e.map(this.addError,this)},addError:function(e){this.data.errors.push(e)},hasErrors:function(){return this.data.errors.length},clearErrors:function(){return this.data.errors=[]},getErrors:function(){return this.data.errors},getFieldErrors:function(){var e=[],t=[];return this.getErrors().map((function(i){if(i.input){var a=t.indexOf(i.input);a>-1?e[a]=i:(e.push(i),t.push(i.input))}})),e},getGlobalErrors:function(){return this.getErrors().filter((function(e){return!e.input}))},showErrors:function(t="before"){if(this.hasErrors()){var i=this.getFieldErrors(),a=this.getGlobalErrors(),n=0,o=!1;i.map((function(e){var i=this.$('[name="'+e.input+'"]').first();if(i.length||(i=this.$('[name^="'+e.input+'"]').first()),i.length){n++;var a=acf.getClosestField(i);s(a.$el),a.showError(e.message,t),o||(o=a.$el)}}),this);var r=acf.__("Validation failed"),c={};if(a.map((function(e){r+=". "+e.message,e.action&&"object"==typeof e.action&&(c=e.action)})),1==n?r+=". "+acf.__("1 field requires attention"):n>1&&(r+=". "+acf.__("%d fields require attention").replace("%d",n)),this.has("notice"))this.get("notice").update({type:"error",text:r,action:c});else{var l=acf.newNotice({type:"error",text:r,target:this.$el,action:c});this.set("notice",l)}this.$el.parents(".acf-popup-box").length||(o||(o=this.get("notice").$el),setTimeout((function(){e("html, body").animate({scrollTop:o.offset().top-e(window).height()/2},500)}),10))}},onChangeStatus:function(e,t,i,a){this.$el.removeClass("is-"+a).addClass("is-"+i)},validate:function(t){if(t=acf.parseArgs(t,{event:!1,reset:!1,loading:function(){},complete:function(){},failure:function(){},success:function(e){e.submit()}}),"valid"==this.get("status"))return!0;if("validating"==this.get("status"))return!1;if(!this.$(".acf-field").length)return!0;if(t.event){var i=e.Event(null,t.event);t.success=function(){acf.enableSubmit(e(i.target)).trigger(i)}}acf.doAction("validation_begin",this.$el),acf.lockForm(this.$el),t.loading(this.$el,this),this.set("status","validating");var a=acf.serialize(this.$el);return a.action="acf/validate_save_post",e.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a,!0),type:"post",dataType:"json",context:this,success:function(e){if(acf.isAjaxSuccess(e)){var t=acf.applyFilters("validation_complete",e.data,this.$el,this);t.valid||this.addErrors(t.errors)}},complete:function(){acf.unlockForm(this.$el),this.hasErrors()?(this.set("status","invalid"),acf.doAction("validation_failure",this.$el,this),this.showErrors(),t.failure(this.$el,this)):(this.set("status","valid"),this.has("notice")&&this.get("notice").update({type:"success",text:acf.__("Validation successful"),timeout:1e3}),acf.doAction("validation_success",this.$el,this),acf.doAction("submit",this.$el),t.success(this.$el,this),acf.lockForm(this.$el),t.reset&&this.reset()),t.complete(this.$el,this),this.clearErrors()}}),!1},setup:function(e){this.$el=e},reset:function(){this.set("errors",[]),this.set("notice",null),this.set("status",""),acf.unlockForm(this.$el)}}),i=function(e){var i=e.data("acf");return i||(i=new t(e)),i};acf.getBlockFormValidator=function(e){return i(e)},acf.validateForm=function(e){return i(e.form).validate(e)},acf.enableSubmit=function(e){return e.removeClass("disabled").removeAttr("disabled")},acf.disableSubmit=function(e){return e.addClass("disabled").attr("disabled",!0)},acf.showSpinner=function(e){return e.addClass("is-active"),e.css("display","inline-block"),e},acf.hideSpinner=function(e){return e.removeClass("is-active"),e.css("display","none"),e},acf.lockForm=function(e){var t=a(e),i=t.find('.button, [type="submit"]').not(".acf-nav, .acf-repeater-add-row"),n=t.find(".spinner, .acf-spinner");return acf.hideSpinner(n),acf.disableSubmit(i),acf.showSpinner(n.last()),e},acf.unlockForm=function(e){var t=a(e),i=t.find('.button, [type="submit"]').not(".acf-nav, .acf-repeater-add-row"),n=t.find(".spinner, .acf-spinner");return acf.enableSubmit(i),acf.hideSpinner(n),e};var a=function(t){var i;return(i=t.find("#submitdiv")).length||(i=t.find("#submitpost")).length||(i=t.find("p.submit").last()).length||(i=t.find(".acf-form-submit")).length||(i=e("#acf-create-options-page-form .acf-actions")).length||(i=e(".acf-headerbar-actions")).length?i:t},n=acf.debounce((function(e){e.submit()})),s=function(e){var t=e.parents(".acf-postbox");if(t.length){var i=acf.getPostbox(t);i&&i.isHiddenByScreenOptions()&&(i.$el.removeClass("hide-if-js"),i.$el.css("display",""))}};acf.validation=new acf.Model({id:"validation",active:!0,wait:"prepare",actions:{ready:"addInputEvents",append:"addInputEvents"},events:{'click input[type="submit"]':"onClickSubmit",'click button[type="submit"]':"onClickSubmit","click #save-post":"onClickSave","submit form#post":"onSubmitPost","submit form":"onSubmit"},initialize:function(){acf.get("validation")||(this.active=!1,this.actions={},this.events={})},enable:function(){this.active=!0},disable:function(){this.active=!1},reset:function(e){i(e).reset()},addInputEvents:function(t){if("safari"!==acf.get("browser")){var i=e(".acf-field [name]",t);i.length&&this.on(i,"invalid","onInvalid")}},onInvalid:function(e,t){e.preventDefault();var a=t.closest("form");a.length&&(i(a).addError({input:t.attr("name"),message:acf.strEscape(e.target.validationMessage)}),n(a))},onClickSubmit:function(t,i){e(".acf-field input").each((function(){this.checkValidity()||s(e(this))})),this.set("originalEvent",t)},onClickSave:function(e,t){this.set("ignore",!0)},onSubmitPost:function(t,i){"dopreview"===e("input#wp-preview").val()&&(this.set("ignore",!0),acf.unlockForm(i))},onSubmit:function(e,t){if(!this.active||this.get("ignore")||e.isDefaultPrevented())return this.allowSubmit();acf.validateForm({form:t,event:this.get("originalEvent")})||e.preventDefault()},allowSubmit:function(){return this.set("ignore",!1),this.set("originalEvent",!1),!0}}),new acf.Model({wait:"prepare",initialize:function(){acf.isGutenberg()&&this.customizeEditor()},customizeEditor:function(){var t=wp.data.dispatch("core/editor"),i=wp.data.select("core/editor"),a=wp.data.dispatch("core/notices"),n=t.savePost,s=!1,o="";wp.data.subscribe((function(){var e=i.getEditedPostAttribute("status");s="publish"===e||"future"===e,o="publish"!==e?e:o})),t.savePost=function(i){i=i||{};var r=this,c=arguments;return new Promise((function(n,r){if(i.isAutosave||i.isPreview)return n("Validation ignored (autosave).");if(!s)return n("Validation ignored (draft).");if(void 0!==acf.blockInstances){const e=wp.data.select("core/block-editor").getSelectedBlockClientId();if(e&&e in acf.blockInstances&&acf.blockInstances[e].validation_errors)return acf.debug("Rejecting save because the block editor has a invalid ACF block selected."),a.createErrorNotice(acf.__("An ACF Block on this page requires attention before you can save."),{id:"acf-validation",isDismissible:!0}),wp.data.dispatch("core/editor").lockPostSaving("acf/block/"+e),wp.data.dispatch("core/block-editor").selectBlock(!1),r("ACF Validation failed for selected block.")}acf.validateForm({form:e("#wpbody-content > .block-editor"),reset:!0,complete:function(e,i){t.unlockPostSaving("acf")},failure:function(e,i){var n=i.get("notice"),s=n.get("action");s&&"object"==typeof s&&s.label&&s.url?a.createErrorNotice(n.get("text"),{id:"acf-validation",isDismissible:!0,actions:[{label:s.label,url:s.url}]}):a.createErrorNotice(n.get("text"),{id:"acf-validation",isDismissible:!0}),n.remove(),o&&t.editPost({status:o}),r("Validation failed.")},success:function(){a.removeNotice("acf-validation"),n("Validation success.")}})?n("Validation bypassed."):t.lockPostSaving("acf")})).then((function(){return n.apply(r,c)}),(e=>{}))}}})}(jQuery)}},t={};function i(a){var n=t[a];if(void 0!==n)return n.exports;var s=t[a]={exports:{}};return e[a](s,s.exports,i),s.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var a in t)i.o(t,a)&&!i.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";i(5338),i(2457),i(5593),i(6289),i(774),i(3623),i(9982),i(960),i(1163),i(3045),i(2410),i(2093),i(5915),i(2237),i(9252),i(6290),i(7509),i(6403),i(5848),i(2553),i(7513),i(9732),i(3284),i(9213),i(1525),i(5942),i(9938),i(8903),i(3858),i(2747),i(963),i(993),i(1218),i(9400),i(2900),i(1087),i(2631),i(8223),i(4750)})()})(); \ No newline at end of file diff --git a/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/pro/acf-pro-blocks.min.js b/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/pro/acf-pro-blocks.min.js index 5c08a3fae..d4d76d5b6 100644 --- a/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/pro/acf-pro-blocks.min.js +++ b/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/pro/acf-pro-blocks.min.js @@ -1 +1 @@ -(()=>{var e={138:()=>{jQuery,acf.jsxNameReplacements={"accent-height":"accentHeight",accentheight:"accentHeight","accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey","alignment-baseline":"alignmentBaseline",alignmentbaseline:"alignmentBaseline",allowedblocks:"allowedBlocks",allowfullscreen:"allowFullScreen",allowreorder:"allowReorder","arabic-form":"arabicForm",arabicform:"arabicForm",attributename:"attributeName",attributetype:"attributeType",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autoreverse:"autoReverse",autosave:"autoSave",basefrequency:"baseFrequency","baseline-shift":"baselineShift",baselineshift:"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode","cap-height":"capHeight",capheight:"capHeight",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className","clip-path":"clipPath","clip-rule":"clipRule",clippath:"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","color-interpolation":"colorInterpolation","color-interpolation-filters":"colorInterpolationFilters","color-profile":"colorProfile","color-rendering":"colorRendering",colorinterpolation:"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters",colorprofile:"colorProfile",colorrendering:"colorRendering",colspan:"colSpan",contenteditable:"contentEditable",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",diffuseconstant:"diffuseConstant",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback","dominant-baseline":"dominantBaseline",dominantbaseline:"dominantBaseline",edgemode:"edgeMode","enable-background":"enableBackground",enablebackground:"enableBackground",enctype:"encType",enterkeyhint:"enterKeyHint",externalresourcesrequired:"externalResourcesRequired","fill-opacity":"fillOpacity","fill-rule":"fillRule",fillopacity:"fillOpacity",fillrule:"fillRule",filterres:"filterRes",filterunits:"filterUnits","flood-color":"floodColor","flood-opacity":"floodOpacity",floodcolor:"floodColor",floodopacity:"floodOpacity","font-family":"fontFamily","font-size":"fontSize","font-size-adjust":"fontSizeAdjust","font-stretch":"fontStretch","font-style":"fontStyle","font-variant":"fontVariant","font-weight":"fontWeight",fontfamily:"fontFamily",fontsize:"fontSize",fontsizeadjust:"fontSizeAdjust",fontstretch:"fontStretch",fontstyle:"fontStyle",fontvariant:"fontVariant",fontweight:"fontWeight",for:"htmlFor",foreignobject:"foreignObject",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder","glyph-name":"glyphName","glyph-orientation-horizontal":"glyphOrientationHorizontal","glyph-orientation-vertical":"glyphOrientationVertical",glyphname:"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits","horiz-adv-x":"horizAdvX","horiz-origin-x":"horizOriginX",horizadvx:"horizAdvX",horizoriginx:"horizOriginX",hreflang:"hrefLang",htmlfor:"htmlFor","http-equiv":"httpEquiv",httpequiv:"httpEquiv","image-rendering":"imageRendering",imagerendering:"imageRendering",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keyparams:"keyParams",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",keytype:"keyType",lengthadjust:"lengthAdjust","letter-spacing":"letterSpacing",letterspacing:"letterSpacing","lighting-color":"lightingColor",lightingcolor:"lightingColor",limitingconeangle:"limitingConeAngle",marginheight:"marginHeight",marginwidth:"marginWidth","marker-end":"markerEnd","marker-mid":"markerMid","marker-start":"markerStart",markerend:"markerEnd",markerheight:"markerHeight",markermid:"markerMid",markerstart:"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",numoctaves:"numOctaves","overline-position":"overlinePosition","overline-thickness":"overlineThickness",overlineposition:"overlinePosition",overlinethickness:"overlineThickness","paint-order":"paintOrder",paintorder:"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",playsinline:"playsInline","pointer-events":"pointerEvents",pointerevents:"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",refx:"refX",refy:"refY","rendering-intent":"renderingIntent",renderingintent:"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",rowspan:"rowSpan","shape-rendering":"shapeRendering",shaperendering:"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spellcheck:"spellCheck",spreadmethod:"spreadMethod",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles","stop-color":"stopColor","stop-opacity":"stopOpacity",stopcolor:"stopColor",stopopacity:"stopOpacity","strikethrough-position":"strikethroughPosition","strikethrough-thickness":"strikethroughThickness",strikethroughposition:"strikethroughPosition",strikethroughthickness:"strikethroughThickness","stroke-dasharray":"strokeDasharray","stroke-dashoffset":"strokeDashoffset","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","stroke-miterlimit":"strokeMiterlimit","stroke-opacity":"strokeOpacity","stroke-width":"strokeWidth",strokedasharray:"strokeDasharray",strokedashoffset:"strokeDashoffset",strokelinecap:"strokeLinecap",strokelinejoin:"strokeLinejoin",strokemiterlimit:"strokeMiterlimit",strokeopacity:"strokeOpacity",strokewidth:"strokeWidth",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tabindex:"tabIndex",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",templatelock:"templateLock","text-anchor":"textAnchor","text-decoration":"textDecoration","text-rendering":"textRendering",textanchor:"textAnchor",textdecoration:"textDecoration",textlength:"textLength",textrendering:"textRendering","underline-position":"underlinePosition","underline-thickness":"underlineThickness",underlineposition:"underlinePosition",underlinethickness:"underlineThickness","unicode-bidi":"unicodeBidi","unicode-range":"unicodeRange",unicodebidi:"unicodeBidi",unicoderange:"unicodeRange","units-per-em":"unitsPerEm",unitsperem:"unitsPerEm",usemap:"useMap","v-alphabetic":"vAlphabetic","v-hanging":"vHanging","v-ideographic":"vIdeographic","v-mathematical":"vMathematical",valphabetic:"vAlphabetic","vector-effect":"vectorEffect",vectoreffect:"vectorEffect","vert-adv-y":"vertAdvY","vert-origin-x":"vertOriginX","vert-origin-y":"vertOriginY",vertadvy:"vertAdvY",vertoriginx:"vertOriginX",vertoriginy:"vertOriginY",vhanging:"vHanging",videographic:"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","word-spacing":"wordSpacing",wordspacing:"wordSpacing","writing-mode":"writingMode",writingmode:"writingMode","x-height":"xHeight",xchannelselector:"xChannelSelector",xheight:"xHeight","xlink:actuate":"xlinkActuate","xlink:arcrole":"xlinkArcrole","xlink:href":"xlinkHref","xlink:role":"xlinkRole","xlink:show":"xlinkShow","xlink:title":"xlinkTitle","xlink:type":"xlinkType",xlinkactuate:"xlinkActuate",xlinkarcrole:"xlinkArcrole",xlinkhref:"xlinkHref",xlinkrole:"xlinkRole",xlinkshow:"xlinkShow",xlinktitle:"xlinkTitle",xlinktype:"xlinkType","xml:base":"xmlBase","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlbase:"xmlBase",xmllang:"xmlLang","xmlns:xlink":"xmlnsXlink",xmlnsxlink:"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"}},151:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n{var t,n;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n>>6*(3-i)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,o=0;r>>6-2*o);return n}},e.exports=n},206:e=>{function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},503:(e,t,n)=>{var r,o,i,s,a;r=n(939),o=n(151).utf8,i=n(206),s=n(151).bin,(a=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?s.stringToBytes(e):o.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=r.bytesToWords(e),c=8*e.length,l=1732584193,u=-271733879,p=-1732584194,d=271733878,f=0;f>>24)|4278255360&(n[f]<<24|n[f]>>>8);n[c>>>5]|=128<>>9<<4)]=c;var h=a._ff,m=a._gg,g=a._hh,y=a._ii;for(f=0;f>>0,u=u+b>>>0,p=p+v>>>0,d=d+x>>>0}return r.endian([l,u,p,d])})._ff=function(e,t,n,r,o,i,s){var a=e+(t&n|~t&r)+(o>>>0)+s;return(a<>>32-i)+t},a._gg=function(e,t,n,r,o,i,s){var a=e+(t&r|n&~r)+(o>>>0)+s;return(a<>>32-i)+t},a._hh=function(e,t,n,r,o,i,s){var a=e+(t^n^r)+(o>>>0)+s;return(a<>>32-i)+t},a._ii=function(e,t,n,r,o,i,s){var a=e+(n^(t|~r))+(o>>>0)+s;return(a<>>32-i)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(a(e,t));return t&&t.asBytes?n:t&&t.asString?s.bytesToString(n):r.bytesToHex(n)}},20:(e,t,n)=>{"use strict";var r=n(540),o=Symbol.for("react.element"),i=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,c={},l=null,u=null;for(r in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!a.hasOwnProperty(r)&&(c[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===c[r]&&(c[r]=t[r]);return{$$typeof:o,type:e,key:l,ref:u,props:c,_owner:s.current}}t.jsx=c,t.jsxs=c},287:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function k(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=y.prototype;var v=b.prototype=new k;v.constructor=b,m(v,y.prototype),v.isPureReactComponent=!0;var x=Array.isArray,w=Object.prototype.hasOwnProperty,_={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,r){var o,i={},s=null,a=null;if(null!=t)for(o in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(s=""+t.key),t)w.call(t,o)&&!S.hasOwnProperty(o)&&(i[o]=t[o]);var c=arguments.length-2;if(1===c)i.children=r;else if(1{"use strict";e.exports=n(287)},848:(e,t,n)=>{"use strict";e.exports=n(20)}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}(()=>{"use strict";n(138);var e=n(848);const t=n(503);((n,r)=>{const{BlockControls:o,InspectorControls:i,InnerBlocks:s,useBlockProps:a,AlignmentToolbar:c,BlockVerticalAlignmentToolbar:l}=wp.blockEditor,{ToolbarGroup:u,ToolbarButton:p,Placeholder:d,Spinner:f}=wp.components,{Fragment:h}=wp.element,{Component:m}=React,{useSelect:g}=wp.data,{createHigherOrderComponent:y}=wp.compose,k=wp.blockEditor.__experimentalBlockAlignmentMatrixToolbar||wp.blockEditor.BlockAlignmentMatrixToolbar,b=wp.blockEditor.__experimentalBlockAlignmentMatrixControl||wp.blockEditor.BlockAlignmentMatrixControl,v=wp.blockEditor.__experimentalBlockFullHeightAligmentControl||wp.blockEditor.__experimentalBlockFullHeightAlignmentControl||wp.blockEditor.BlockFullHeightAlignmentControl,x=wp.blockEditor.__experimentalUseInnerBlocksProps||wp.blockEditor.useInnerBlocksProps,w={};function _(e){return w[e]||!1}function S(e){return _(e).acf_block_version||1}function j(e){return _(e).validate}function A(e){const t=wp.data.select("core/block-editor").getBlockParents(e);return wp.data.select("core/block-editor").getBlocksByClientId(t).filter((e=>"core/query"===e.name)).length}function I(){return"string"==typeof pagenow&&"site-editor"===pagenow}function T(){const e=B("core/edit-post");return!!e&&!!e.isEditingTemplate&&e.isEditingTemplate()}function C(){return n("iframe[name=editor-canvas]").length&&!function(){const e=B("core/edit-post");return!e||(e.__experimentalGetPreviewDeviceType?"Desktop"===e.__experimentalGetPreviewDeviceType():!e.getPreviewDeviceType||"Desktop"===e.getPreviewDeviceType())}()}function E(t){const n=t.post_types||[];if(n.length){n.push("wp_block");const e=acf.get("postType");if(!n.includes(e))return!1}if("string"==typeof t.icon&&"e===t.category)).pop()||(t.category="common"),t=acf.parseArgs(t,{title:"",name:"",category:"",api_version:2,acf_block_version:1});for(const e in t.attributes)"default"in t.attributes[e]&&0===t.attributes[e].default.length&&delete t.attributes[e].default;t.supports.anchor&&(t.attributes.anchor={type:"string"});let i=L,s=V;var a;(t.supports.alignText||t.supports.align_text)&&(t.attributes=K(t.attributes,"align_text","string"),i=function(t,n){const r=G;return n.alignText=r(n.alignText),class extends m{render(){const{attributes:n,setAttributes:i}=this.props,{alignText:s}=n;return(0,e.jsxs)(h,{children:[(0,e.jsx)(o,{group:"block",children:(0,e.jsx)(c,{value:r(s),onChange:function(e){i({alignText:r(e)})}})}),(0,e.jsx)(t,{...this.props})]})}}}(i,t)),(t.supports.alignContent||t.supports.align_content)&&(t.attributes=K(t.attributes,"align_content","string"),i=function(t,n){let i,s,a=n.supports.align_content||n.supports.alignContent;return"matrix"===a?(i=b||k,s=Q):(i=l,s=Y),i===r?(console.warn(`The "${a}" alignment component was not found.`),t):(n.alignContent=s(n.alignContent),class extends m{render(){const{attributes:n,setAttributes:r}=this.props,{alignContent:a}=n;return(0,e.jsxs)(h,{children:[(0,e.jsx)(o,{group:"block",children:(0,e.jsx)(i,{label:acf.__("Change content alignment"),value:s(a),onChange:function(e){r({alignContent:s(e)})}})}),(0,e.jsx)(t,{...this.props})]})}})}(i,t)),(t.supports.fullHeight||t.supports.full_height)&&(t.attributes=K(t.attributes,"full_height","boolean"),a=i,t.blockType,i=v?class extends m{render(){const{attributes:t,setAttributes:n}=this.props,{fullHeight:r}=t;return(0,e.jsxs)(h,{children:[(0,e.jsx)(o,{group:"block",children:(0,e.jsx)(v,{isActive:r,onToggle:function(e){n({fullHeight:e})}})}),(0,e.jsx)(a,{...this.props})]})}}:a),t.edit=t=>(wp.element.useEffect((()=>()=>{wp.data.dispatch("core/editor")&&wp.data.dispatch("core/editor").unlockPostSaving("acf/block/"+t.clientId)}),[]),(0,e.jsx)(i,{...t})),t.save=()=>(0,e.jsx)(s,{}),w[t.name]=t;const u=wp.blocks.registerBlockType(t.name,t);return u.attributes.anchor&&(u.attributes.anchor={type:"string"}),u}function B(e){return"core/block-editor"===e?wp.data.select("core/block-editor")||wp.data.select("core/editor"):wp.data.select(e)}acf.blockInstances={};const R={},O={};function P(e){const{attributes:r={},context:o={},query:i={},clientId:s=null,delay:a=0}=e,c=t(JSON.stringify({...r,...o,...i})),l=R[c]||{query:{},timeout:!1,promise:n.Deferred(),started:!1};return l.query={...l.query,...i},l.started||(clearTimeout(l.timeout),l.timeout=setTimeout((()=>{l.started=!0,O[c]?(R[c]=null,l.promise.resolve.apply(O[c][0],O[c][1])):n.ajax({url:acf.get("ajaxurl"),dataType:"json",type:"post",cache:!1,data:acf.prepareForAjax({action:"acf/ajax/fetch-block",block:JSON.stringify(r),clientId:s,context:JSON.stringify(o),query:l.query})}).always((()=>{R[c]=null})).done((function(){O[c]=[this,arguments],l.promise.resolve.apply(this,arguments)})).fail((function(){l.promise.reject.apply(this,arguments)}))}),a),R[c]=l),l.promise}function $(e,t){return JSON.stringify(e)===JSON.stringify(t)}function F(t,n,r=0){const o=function(e,t){switch(e){case"innerblocks":return t<2?s:"ACFInnerBlocks";case"script":return q;case"#comment":return null;default:e=N(e)}return e}(t.nodeName.toLowerCase(),n);if(!o)return null;const i={};if(1===r&&"ACFInnerBlocks"!==o&&(i.ref=React.createRef()),acf.arrayArgs(t.attributes).map(M).forEach((({name:e,value:t})=>{i[e]=t})),"ACFInnerBlocks"===o)return(0,e.jsx)(D,{...i});const a=[o,i];return acf.arrayArgs(t.childNodes).forEach((e=>{if(e instanceof Text){const t=e.textContent;t&&a.push(t)}else a.push(F(e,n,r+1))})),React.createElement.apply(this,a)}function N(e){return acf.isget(acf,"jsxNameReplacements",e)||e}function D(t){const{className:n="acf-innerblocks-container"}=t,r=x({className:n},t);return(0,e.jsx)("div",{...r,children:r.children})}function M(e){let t=e.name,n=e.value,r=acf.applyFilters("acf_blocks_parse_node_attr",!1,e);if(r)return r;switch(t){case"class":t="className";break;case"style":const e={};n.split(";").forEach((t=>{const n=t.indexOf(":");if(n>0){let r=t.substr(0,n).trim();const o=t.substr(n+1).trim();"-"!==r.charAt(0)&&(r=acf.strCamelCase(r)),e[r]=o}})),n=e;break;default:if(0===t.indexOf("data-"))break;t=N(t);const r=n.charAt(0);"["!==r&&"{"!==r||(n=JSON.parse(n)),"true"!==n&&"false"!==n||(n="true"===n)}return{name:t,value:n}}acf.parseJSX=(e,t)=>(e=(e="
              "+e+"
              ").replace(/]+)?\/>/,""),F(n(e)[0],t,0).props.children);const H=y((t=>class extends m{constructor(e){super(e);const{name:t,attributes:n}=this.props,o=_(t);if(!o)return;Object.keys(n).forEach((e=>{""===n[e]&&delete n[e]}));const i={full_height:"fullHeight",align_content:"alignContent",align_text:"alignText"};Object.keys(i).forEach((e=>{n[e]!==r?n[i[e]]=n[e]:n[i[e]]===r&&o[e]!==r&&(n[i[e]]=o[e]),delete o[e],delete n[e]}));for(let e in o.attributes)n[e]===r&&o[e]!==r&&(n[e]=o[e])}render(){return(0,e.jsx)(t,{...this.props})}}),"withDefaultAttributes");function V(){return(0,e.jsx)(s.Content,{})}wp.hooks.addFilter("editor.BlockListBlock","acf/with-default-attributes",H);class L extends m{constructor(e){super(e),this.setup()}setup(){const{name:e,attributes:t,clientId:n}=this.props,r=_(e);function o(e){e.includes(t.mode)||(t.mode=e[0])}if(A(n)||I()||C()||T()||r.api_version>2)o(["preview"]);else switch(r.mode){case"edit":o(["edit","preview"]);break;case"preview":o(["preview","edit"]);break;default:o(["auto"])}}render(){const{name:t,attributes:n,setAttributes:r,clientId:s}=this.props,a=_(t),c=A(s)||I()||C()||T()||a.api_version>2;let{mode:l}=n;c&&(l="preview");let d=a.supports.mode;("auto"===l||c)&&(d=!1);const f="preview"===l?acf.__("Switch to Edit"):acf.__("Switch to Preview"),m="preview"===l?"edit":"welcome-view-site";return(0,e.jsxs)(h,{children:[(0,e.jsx)(o,{children:d&&(0,e.jsx)(u,{children:(0,e.jsx)(p,{className:"components-icon-button components-toolbar__control",label:f,icon:m,onClick:function(){r({mode:"preview"===l?"edit":"preview"})}})})}),(0,e.jsx)(i,{children:"preview"===l&&(0,e.jsx)("div",{className:"acf-block-component acf-block-panel",children:(0,e.jsx)(X,{...this.props})})}),(0,e.jsx)(U,{...this.props})]})}}function U(t){const{attributes:n,isSelected:r,name:o,clientId:i}=t,{mode:s}=n,c=g((e=>{const t=e("core/block-editor").getBlockRootClientId(i);return e("core/block-editor").getBlockIndex(i,t)}));let l=!0,u="acf-block-component acf-block-body";return("auto"===s&&!r||"preview"===s)&&(u+=" acf-block-preview",l=!1),i in acf.blockInstances||(acf.blockInstances[i]={validation_errors:!1,mode:s}),acf.blockInstances[i].mode=s,r||(j(o)&&acf.blockInstances[i].validation_errors&&(u+=" acf-block-has-validation-error"),acf.blockInstances[i].has_been_deselected=!0),S(o)>1?(0,e.jsx)("div",{...a({className:u}),children:l?(0,e.jsx)(X,{...t,index:c}):(0,e.jsx)(J,{...t,index:c})}):(0,e.jsx)("div",{...a(),children:(0,e.jsx)("div",{className:"acf-block-component acf-block-body",children:l?(0,e.jsx)(X,{...t,index:c}):(0,e.jsx)(J,{...t,index:c})})})}class z extends m{render(){return(0,e.jsx)("div",{dangerouslySetInnerHTML:{__html:this.props.children}})}}class q extends m{render(){return(0,e.jsx)("div",{ref:e=>this.el=e})}setHTML(e){n(this.el).html(`'; } - } $output .= ''; if ( $attribute['filterbar'] === 'yes' ) { $output .= ''; @@ -577,15 +566,17 @@ public function ect_shortcodes( $atts ) { if($showfilterbar === 'yes'){ $output .= ' '; } + if($style !== 'style-4'){ $output .= '
              -
              - - '; + '; + } + $output .= ' + '; if ( $attribute['filterbar'] === 'yes' ) { $output .= ''; diff --git a/wp-content/plugins/the-events-calendar-templates-and-shortcode/readme.txt b/wp-content/plugins/the-events-calendar-templates-and-shortcode/readme.txt index 653410252..26f9d2342 100644 --- a/wp-content/plugins/the-events-calendar-templates-and-shortcode/readme.txt +++ b/wp-content/plugins/the-events-calendar-templates-and-shortcode/readme.txt @@ -1,8 +1,8 @@ === Events Shortcode Pro === Requires at least: 5.0 -Tested up to: 6.7 +Tested up to: 6.7.1 Requires PHP: 7.2 -Version: 3.2.1 +Version: 3.3.0 License: GPLv3 @@ -28,6 +28,14 @@ When you purchase this premium plugin it includes a license key, you need to add == Changelog == +Version 3.3.0 | 17 December 2024 +Added: New Design for every template. +Fixed: Console error related to venue in minimal list. +Fixed: Slider auto play functionality when using filter bar. +Fixed: Load Textdomain issue. +Improved: CSS files to remove conflict with website CSS. +Improved: Highlighted layout designs clickable functionality. + Version 3.2.1 | 20 November 2024 Added: Events Shortcode Gutenberg block. diff --git a/wp-content/plugins/the-events-calendar-templates-and-shortcode/templates/accordion/accordion-css.php b/wp-content/plugins/the-events-calendar-templates-and-shortcode/templates/accordion/accordion-css.php index 47a0cb6de..af94929ac 100644 --- a/wp-content/plugins/the-events-calendar-templates-and-shortcode/templates/accordion/accordion-css.php +++ b/wp-content/plugins/the-events-calendar-templates-and-shortcode/templates/accordion/accordion-css.php @@ -124,11 +124,64 @@ } '; break; + /** STYLE-4 */ default: - $ect_output_css .= '#ect-accordion-wrapper.ect-accordion-view.style-4 span.month-year-box { - color: ' . esc_attr($main_skin_color) . '; - } - '; + $ect_output_css .= ' + #ect-accordion-wrapper .ect-simple-event.style-4 { + border-color: ' . esc_attr(Ecttinycolor($main_skin_color)->darken(7)->toString()) . '; + background: ' . esc_attr($event_desc_bg_color) . '; + } + #ect-accordion-wrapper .ect-accordion-event.style-4.ect-simple-event .ect-accordion-footer { + background: ' . esc_attr($thisPlugin::ect_hex2rgba($main_skin_color, .20)) . '; + } + #ect-accordion-wrapper .ect-simple-event.style-4.active-event .ect-accordion-header:after { + color: ' . esc_attr(Ecttinycolor($main_skin_color)->darken(12)->toString()) . '; + } + #ect-accordion-wrapper .ect-featured-event.style-4.active-event .ect-share-wrapper i.ect-icon-share:before, + #ect-accordion-wrapper .ect-featured-event.style-4.active-event .ect-accordion-content a.ect-events-read-more{ + background: ' . esc_attr($featured_event_skin_color) . '; + } + '; + + if ($ect_date_color === '#ffffff' && $event_desc_bg_color === '#ffffff') { + $ect_output_css .= ' + #ect-accordion-wrapper .style-4 .ect-date-area.accordion-view-schedule{ + color: ' . esc_attr($ect_title_color) . '; + } + '; + } else { + $ect_output_css .= ' + #ect-accordion-wrapper .style-4 .ect-date-area.accordion-view-schedule{ + color: ' . esc_attr($ect_date_color) . '; + } + '; + } + + /*--- Featured Event Color - CSS ---*/ + $ect_output_css .= ' + #ect-accordion-wrapper .ect-featured-event.style-4 { + border-color: ' . esc_attr(Ecttinycolor($featured_event_skin_color)->lighten(7)->toString()) . '; + background-color: ' . esc_attr($event_desc_bg_color) . '; + } + #ect-accordion-wrapper .ect-accordion-event.style-4.ect-featured-event .ect-accordion-footer { + background: ' . esc_attr($thisPlugin::ect_hex2rgba($featured_event_skin_color, .20)) . '; + } + #ect-accordion-wrapper .ect-featured-event.style-4.active-event .ect-accordion-header:after { + color: ' . esc_attr(Ecttinycolor($featured_event_skin_color)->darken(12)->toString()) . '; + } + #ect-accordion-wrapper .ect-featured-event.active-event .ect-accordion-header:after + { + color: ' . esc_attr(Ecttinycolor($featured_event_skin_color)->darken(12)->toString()) . '; + } + #ect-accordion-wrapper .ect-featured-event .ect-accordion-header:after + { + color: ' . esc_attr(Ecttinycolor($featured_event_skin_color)->darken(12)->toString()) . '; + } + + #ect-accordion-wrapper .style-4 .ect-accordion-date-full { + color:'. esc_attr(Ecttinycolor($ect_venue_color)->darken(5)->toString()) . '; + } + '; break; } @@ -184,6 +237,7 @@ '; /*--- Event Venue Color - CSS ---*/ $ect_output_css .= ' +#ect-accordion-wrapper .ect-accordion-venue a, #ect-accordion-wrapper .ect-accordion-venue { ' . $ect_venue_styles . ' } diff --git a/wp-content/plugins/the-events-calendar-templates-and-shortcode/templates/accordion/accordion.php b/wp-content/plugins/the-events-calendar-templates-and-shortcode/templates/accordion/accordion.php index 17f756325..9c5729ca0 100644 --- a/wp-content/plugins/the-events-calendar-templates-and-shortcode/templates/accordion/accordion.php +++ b/wp-content/plugins/the-events-calendar-templates-and-shortcode/templates/accordion/accordion.php @@ -21,7 +21,7 @@
              -
              ' . ($event_schedule) . '
              +
              ' . wp_kses_post($event_schedule) . '
              '; @@ -75,65 +75,84 @@ /*---Accordion STYLE 4 START---*/ elseif ($style == 'style-4') { - if ($ect_compare != $events_date_header && $count > 0) { - - $events_html .= '
              '; - $ect_compare = $events_date_header; - } - - if ($events_date_header !== '') { - - $events_html .= '
              ' . esc_html($events_date_header); - $count++; - } - $events_html .= ' -
              +
              -
              ' . ($event_schedule) . '
              +
              ' . wp_kses_post($event_schedule) . '
              -
              - ' . $event_title; - if (!empty($ect_cate)) { - $events_html .= '
              '; - $events_html .= $ect_cate; - $events_html .= '
              '; - } - if (tribe_has_venue($event_id)) { - $events_html .= '
              ' . $venue_details_html . '
              '; - } - if ($socialshare == 'yes') { - $events_html .= ect_pro_share_button($event_id); +
              '; + + $events_html .= $event_title; + if($hide_venue == 'no'){ + if (tribe_has_venue($event_id)) { + // Fetching venue details + $venue_name = tribe_get_venue($event_id); // Venue name + $venue_address = tribe_get_address($event_id); // Address + $venue_city = tribe_get_city($event_id); // City + $venue_state = tribe_get_stateprovince( $event_id ); // State + $venue_country = tribe_get_country($event_id); // Country + $venue_zip = tribe_get_zip($event_id); // ZIP/Postal Code + $google_map_link = tribe_get_map_link($event_id); // Google Map Link + + + // Generate venue link + $venue_link = tribe_get_venue_link($event_id); + + // Make venue name a clickable link + if (!empty($venue_name) && !empty($venue_link)) { + $venue_name =$venue_link; + } + + // Constructing a single-line venue details string + $venue_details = trim(implode(', ', array_filter([$venue_name, $venue_address, $venue_city, $venue_state, $venue_zip, $venue_country]))); + + // Adding the venue details to the HTML + if (!empty($venue_details)) { + // Adding Google Map link if available + if (!empty($google_map_link)) { + $venue_details .= ''. __(' + Google Map', 'ect') .''; + } + $events_html .= '
              '; + $events_html .= ' ' . wp_kses_post($venue_details); + $events_html .= '
              '; + } + } } - $events_html .= '
              -
              + + $events_html .= '
              '; -
              '; } /*---Accordion STYLE 4 END---*/ diff --git a/wp-content/plugins/the-events-calendar-templates-and-shortcode/templates/carousel/carousel-css.php b/wp-content/plugins/the-events-calendar-templates-and-shortcode/templates/carousel/carousel-css.php index 6d85b2c0d..02d63f5f8 100644 --- a/wp-content/plugins/the-events-calendar-templates-and-shortcode/templates/carousel/carousel-css.php +++ b/wp-content/plugins/the-events-calendar-templates-and-shortcode/templates/carousel/carousel-css.php @@ -95,21 +95,45 @@ break; default: - /*--- Featured Event Color - CSS ---*/ - $ect_output_css .= ' -#ect-carousel-wrapper .ect-featured-event.style-4 .ect-date-schedule{ - border-color: ' . esc_attr(Ecttinycolor($featured_event_skin_color)->darken(7)->toString()) . '; - background: ' . esc_attr($featured_event_skin_color) . '; - box-shadow : inset 0px 0px 12px 2px ' . esc_attr(Ecttinycolor($featured_event_skin_color)->darken(3)->toString()) . ';; -} - -#ect-carousel-wrapper .ect-featured-event.style-4 .ect-date-schedule-wrap span{ - color: ' . esc_attr($featured_event_font_color) . '; -} -#ect-carousel-wrapper .style-4 .ect-date-schedule,#ect-carousel-wrapper .style-4 .ect-date-schedule-wrap{ - border-color: ' . esc_attr($ect_date_color) . '; -} -'; + /*--- Non Featured Event CSS ---*/ + $ect_output_css .= '#ect-carousel-wrapper .ect-carousel-event.style-4 .ect-carousel-image .ect-date-highlight .ect-date-area, + #ect-carousel-wrapper .ect-carousel-event.style-4 .ect-readmore-cost .ect-readmore{ + background: ' . esc_attr($main_skin_color) . '; + }'; + $ect_output_css .= '#ect-carousel-wrapper .ect-carousel-event.style-4 .ect-carousel-event-area:hover{ + background: ' . esc_attr($thisPlugin::ect_hex2rgba($main_skin_color, .20)) . '; + }'; + $ect_output_css .= '#ect-carousel-wrapper .ect-carousel-event.style-4 .ect-carousel-image .ect-date-highlight .ect-date-area, + #ect-carousel-wrapper .ect-carousel-event.style-4 .ect-readmore-cost .ect-readmore a{ + color: '. esc_attr($main_skin_alternate_color) .'; + }'; + + /*--- Featured Event CSS ---*/ + $ect_output_css .= '#ect-carousel-wrapper .ect-carousel-event.style-4.ect-featured-event .ect-carousel-image .ect-date-highlight .ect-date-area, + #ect-carousel-wrapper .ect-carousel-event.style-4.ect-featured-event .ect-readmore-cost .ect-readmore{ + background: ' . esc_attr($featured_event_skin_color) . '; + }'; + $ect_output_css .= '#ect-carousel-wrapper .ect-featured-event.style-4.ect-featured-event .ect-carousel-event-area:hover{ + background: ' . esc_attr($thisPlugin::ect_hex2rgba($featured_event_skin_color, .20)) . '; + }'; + $ect_output_css .= '#ect-carousel-wrapper .ect-carousel-event.style-4.ect-featured-event .ect-carousel-image .ect-date-highlight .ect-date-area, + #ect-carousel-wrapper .ect-carousel-event.style-4.ect-featured-event .ect-readmore-cost .ect-readmore a{ + color: ' . esc_attr($featured_event_font_color) . '; + }'; + /*--- Event date - CSS ---*/ + if ($ect_date_color === '#ffffff') { + $ect_output_css .= ' + #ect-carousel-wrapper .ect-carousel-event.style-4 .ect-carousel-post-content .ect-event-schedule{ + color: ' . esc_attr($ect_title_color) . '; + } + '; + } else { + $ect_output_css .= ' + #ect-carousel-wrapper .ect-carousel-event.style-4 .ect-carousel-post-content .ect-event-schedule{ + color: ' . esc_attr($ect_date_color) . '; + } + '; + } break; } /*--- Main Skin Color - CSS ---*/ @@ -169,6 +193,8 @@ $venue_font_size = $ect_venue_font_size + 6; /*--- Event Venue Color - CSS ---*/ $ect_output_css .= ' +#ect-carousel-wrapper .ect-carousel-venue-style-4 a, +#ect-carousel-wrapper .ect-carousel-venue-style-4, #ect-carousel-wrapper .ect-carousel-venue{ ' . $ect_venue_styles . ' } @@ -225,7 +251,7 @@ /*--- Event readmore Styles - CSS ---*/ if ($ect_date_styles['font-size'] > '17') { - $ect_output_css .= ' + $ect_output_css .= '#ect-carousel-wrapper .ect-carousel-event.style-4 .ect-carousel-post-content .ect-event-schedule, #ect-carousel-wrapper .ect-carousel-date, #ect-carousel-wrapper .ect-carousel-area span{ font-size:17px; diff --git a/wp-content/plugins/the-events-calendar-templates-and-shortcode/templates/carousel/carousel.php b/wp-content/plugins/the-events-calendar-templates-and-shortcode/templates/carousel/carousel.php index 212500b6a..dbcd2527d 100644 --- a/wp-content/plugins/the-events-calendar-templates-and-shortcode/templates/carousel/carousel.php +++ b/wp-content/plugins/the-events-calendar-templates-and-shortcode/templates/carousel/carousel.php @@ -20,53 +20,83 @@ } $ev_post_img = esc_url(ect_pro_get_event_image($event_id, $size = 'large')); $ect_cate = ect_display_category($event_id); +$event_venue = tribe_get_venue_details( $event_id ); $events_cats = ''; /* * carousel view style-1 */ if ($style == 'style-4') { - $events_html .= ' -