jQuery(document).ready(function(t){"use strict";var n=null,e="";t(".wpb_edit_form_elements .svg_icon_button_field").each(function(){var n,e,s;n=t(this).prev(),e=function(t){n.html(t)},s=function(t){},wp.ajax.send("svg_get",{success:e,error:s,data:{nonce:t(this).attr("data-nonce"),icon:t(this).val()}})}).on("keyup",function(){var s;e!==t(this).val()&&(e=t(this).val(),null!==n&&(clearTimeout(n),n=null),s=t(this),n=setTimeout(function(){var n,e,a,i=s.parent().find(".svg_select_window");i.html("").show(),n=s.val(),e=function(n){var e,s;i.html("").show();for(e in n)n.hasOwnProperty(e)&&((s=document.createElement("DIV")).classList.add(e),s.innerHTML=n[e],i.append(t(s)))},a=function(t){},wp.ajax.send("svg_search",{success:e,error:a,data:{nonce:s.attr("data-nonce"),search_terms:n}})},500))}),t(".wpb_edit_form_elements .svg_icon_button_field ~ .svg_select_window").on("click","div",function(){t(this).parents(".svg_select_window").parent().find("input").val(t(this).attr("class")).prev().html(t(this).html())})});