File: /www/wwwroot/www.scdc-marine.com/wp-content/plugins/Polylang-Pro/js/build/metabox-button.min.js
var __webpack_exports__={};jQuery((function(t){t("#ml_box").on("click",".pll-button",(function(){var a=t(this).hasClass("wp-ui-text-highlight"),e=t(this).attr("id"),l=t("#htr_lang_"+e.replace("pll_sync_post[","").replace("]","")).val();if(void 0===l||0==l||a||confirm(pll_sync_post.confirm_text)){var p={action:"toggle_"+e,value:a,post_type:t("#post_type").val(),_pll_nonce:t("#_pll_nonce").val()};t.post(ajaxurl,p,(function(a){var l=wpAjax.parseAjaxResponse(a,"pll-ajax-response");t.each(l.responses,(function(){e=e.replace("[","\\[").replace("]","\\]"),t("#"+e).toggleClass("wp-ui-text-highlight").attr("title",this.data).children("span").text(this.data),t('input[name="'+e+'"]').val(!p.value)}))}))}}))}));