System.register(["./style.scss-legacy.DAXEeqxI.js"],function(e,t){"use strict";return{setters:[null],execute:function(){!function(e,t,l){const{__:s}=e.wp.i18n;l(function(){e.adtObj.showEliteUpsellModal=function(t){const l=(e.adtObj.upsellL10n[t]||e.adtObj.upsellL10n.default).content;vex.dialog.alert({className:"vex-theme-plain adt-pfp-upsell-modal",unsafeMessage:l})},l("form.adt-edit-feed-form#general tr#refresh_interval select").on("change",function(t){t.preventDefault();const s=l(this),n=s.closest("tr#refresh_interval").next("#custom_refresh_interval_upsell");var o;"custom_upsell"===s.val()?(n.show(),null!==(o=e.adtObj)&&void 0!==o&&o.showEliteUpsellModal&&e.adtObj.showEliteUpsellModal("custom_refresh_interval")):n.hide()})}),l("form.adt-edit-feed-form").on("submit",function(t){const s=l(this),n=s.find("#refresh_interval");var o;if(s.find("#custom_refresh_interval_upsell"),"custom_upsell"===n.find("select").val())return null!==(o=e.adtObj)&&void 0!==o&&o.showEliteUpsellModal&&e.adtObj.showEliteUpsellModal("custom_refresh_interval"),t.preventDefault(),!1}),l(".adt-tw-import-feeds-container").on("click",function(t){var l,n;if(!e.adtObj.isEliteActive)return null!==(l=e.adtObj)&&void 0!==l&&l.showEliteUpsellModal?e.adtObj.showEliteUpsellModal("import_feeds"):alert((null===(n=e.adtObj.upsellL10n)||void 0===n||null===(n=n.import_feeds)||void 0===n?void 0:n.message)||s("Elite plugin required for import functionality.","woo-product-feed-pro")),t.preventDefault(),!1})}(window,document,jQuery)}}});
