{:uriI"ùfile:///D:/Ruby23x64/lib/ruby/gems/2.3.0/gems/bootstrap_autocomplete_input-0.2.0/lib/assets/javascripts/bootstrap-autocomplete-input.min.js?type=application/javascript&pipeline=self&id=879bcff92629094a171661121abe4a04c56ffbd6f6d06b010e011d000675df66:ET:load_pathI"dD:/Ruby23x64/lib/ruby/gems/2.3.0/gems/bootstrap_autocomplete_input-0.2.0/lib/assets/javascripts;T: filenameI"ƒD:/Ruby23x64/lib/ruby/gems/2.3.0/gems/bootstrap_autocomplete_input-0.2.0/lib/assets/javascripts/bootstrap-autocomplete-input.min.js;T: nameI"%bootstrap-autocomplete-input.min;T:logical_pathI"-bootstrap-autocomplete-input.min.self.js;T:content_typeI"application/javascript;T: sourceI"¨function autocomplete_get_hidden_field(t){var a=t.attr("data-field-id");return a?(a=a.replace(/(:|\.|\[|\])/g,"\\$1"),$("#"+a)):!1}function autocomplete_query(t){t.typeahead({source:function(a,e){t=this.$element,rows=[];var o=t.attr("name");$.getJSON(t.attr("data-source-query"),{q:a},function(t){autocomplete_data_static[o]={map:[],values:[]},$.each(t,function(t,a){autocomplete_data_static[o].values.push(a[1]),autocomplete_data_static[o].map[a[1]]=a[0]}),e(autocomplete_data_static[o].values)})},updater:function(a){t=this.$element;var e=autocomplete_get_hidden_field(t);if(e){var o=t.attr("name");e.val(autocomplete_data_static[o].map[a])}return a},items:t.attr("data-items"),minLength:t.attr("data-min-length"),afterSelect:function(a){var e=t.attr("data-afterSelect")||"";if(""!=e){var o=window[e];"function"==typeof o&&o(a)}}}).on("change",function(){var t=$(this),a=t.typeahead("getActive"),e=autocomplete_get_hidden_field(t);e&&(a?a==t.val()||e&&e.val(""):e&&e.val(""))})}var autocomplete_data_static={};$(document).ready(function(){$('input[data-provide="typeahead"][data-source-array]').each(function(){obj=$(this);var t=JSON.parse(obj.attr("data-source-array").replace(/"/g,'"'));obj.typeahead({source:t,items:obj.attr("data-items"),minLength:obj.attr("data-min-length")})}),$('input[data-provide="typeahead"][data-source]').each(function(){obj=$(this);var t=obj.attr("id");autocomplete_data_static[t]={map:[],values:[]},$.get(obj.attr("data-source"),function(a){$.each(a,function(a,e){autocomplete_data_static[t].values.push(e[1]),autocomplete_data_static[t].map[e[1]]=e[0]}),obj.typeahead({source:autocomplete_data_static[t].values,updater:function(a){return obj_id=$("#"+obj.attr("data-field-id")),obj_id&&obj_id.val(autocomplete_data_static[t].map[a]),a},items:obj.attr("data-items"),minLength:obj.attr("data-min-length")})},"json")}),$('input[data-provide="typeahead"][data-source-query]').each(function(){autocomplete_query($(this))})}); ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"’file-digest:///D:/Ruby23x64/lib/ruby/gems/2.3.0/gems/bootstrap_autocomplete_input-0.2.0/lib/assets/javascripts/bootstrap-autocomplete-input.min.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%¦-\…ö_ŸA#I6÷GÁÐnÑL’H#¬31ìŒÂg: lengthi¨:dependencies_digest"%H!xûœ§!ò§Žz ¶„×VpR#‹ŒÃm"ûÿ${:idI"E879bcff92629094a171661121abe4a04c56ffbd6f6d06b010e011d000675df66;F: mtimel+yWzX