jQuery(document).ready((e=>{e.noConflict(),e("#select_location").on("change",(function(t){-1==e(this).find("option:selected").val()&&e("#wcmlim_get_direction_for_location").hide(),e("#wcmlim_get_direction_for_location").length>0&&e("#wcmlim_get_direction_for_location").hide(),e("#wcmlim_get_direction_for_location").remove();var o=e("#select_location").find(":selected").attr("data-lc-address"),i=atob(o);e('<a id="wcmlim_get_direction_for_location" target="_blank" href="https://www.google.com/maps?saddr=&daddr='+i+'">Get Direction</a>').insertAfter(" .Wcmlim_prefloc_box")}))})),jQuery(document).ready((function(){jQuery("select#select_location").change()}));