­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ "use strict";let jetWooProductGallerySettinsMixin={data:function(){return{pageOptions:window.JetWooProductGallerySettingsPageConfig.settingsData,preparedOptions:{},savingStatus:!1,ajaxSaveHandler:null}},watch:{pageOptions:{handler(e){let t={};for(let a in e)e.hasOwnProperty(a)&&(t[a]=e[a].value);this.preparedOptions=t,this.saveOptions()},deep:!0}},methods:{saveOptions:function(){var e=this;e.savingStatus=!0,wp.apiFetch({method:"post",path:window.JetWooProductGallerySettingsPageConfig.settingsApiUrl,data:e.preparedOptions}).then(function(t){e.savingStatus=!1,"success"===t.status&&e.$CXNotice.add({message:t.message,type:"success",duration:3e3}),"error"===t.status&&e.$CXNotice.add({message:t.message,type:"error",duration:3e3})}).catch(function(t){e.$CXNotice.add({message:t.message,type:"error",duration:3e3})})}}};Vue.component("jet-woo-product-gallery-avaliable-addons",{template:"#jet-dashboard-jet-woo-product-gallery-avaliable-addons",mixins:[jetWooProductGallerySettinsMixin]});