File: /home/adventp/www/wp-content/themes/brooklyn/unite/core/admin/assets/js/unite-import-export.min.js
!function(t){"use strict";t(document).ready(function(){t(".ut-import-export").on("click",function(o){o.preventDefault(),modal({type:"confirm",title:"Confirm",text:"Load Theme Options now? This cannot be undone!",buttons:[{addClass:"ut-ui-button-health"},{addClass:"ut-ui-button-blue"}],callback:function(o){!0===o&&t("#ut-importer-export-form").submit()}})});var o=new Clipboard(".ut-copy-export");t(".ut-copy-export").click(function(e){e.preventDefault(),o.on("success",function(){modal({type:"info",title:"Successfully copied to clipboard",text:"Export successfully copied to clipboard. Please paste down this export data into the import field of the destination Installation."})}),o.on("error",function(){modal({type:"error",title:"An error occured while copying to clipboard",text:"Please manually copy the export data. Afterwards paste down this export data into the import field of the destination Installation.",callback:function(o){t("#ut-system-report-box").toggleClass("ut-hide")}})})});var e=t("#unite_import_options"),a=e.attr("placeholder");t("#ut-load-demo-default-config").on("change",function(o){o.stopImmediatePropagation();var i=t(this);i.prop("disabled",!0),i.val().length?(t("#unite_import_options").attr("placeholder","Loading Demo Data"),t.ajax({type:"POST",url:ajaxurl,dataType:"html",data:{action:"ut_get_default_theme_options",demo:i.val()},success:function(o){t("#unite_import_options").text(o),i.prop("disabled",!1)}})):(e.attr("placeholder",a),e.text(""),i.prop("disabled",!1))})})}(jQuery);