{:uriI"file:///Users/tvd/.gem/ruby/2.7.4/bundler/gems/solidus-2596bdd61623/backend/app/assets/javascripts/spree/backend/option_type_autocomplete.js?type=application/javascript&pipeline=self&id=f1dad69e698eb550fabbec7b808d26bd56c49c2929c01ced1d636e99b4122bb6:ET:load_pathI"`/Users/tvd/.gem/ruby/2.7.4/bundler/gems/solidus-2596bdd61623/backend/app/assets/javascripts;T: filenameI"/Users/tvd/.gem/ruby/2.7.4/bundler/gems/solidus-2596bdd61623/backend/app/assets/javascripts/spree/backend/option_type_autocomplete.js;T: nameI"+spree/backend/option_type_autocomplete;T:logical_pathI"3spree/backend/option_type_autocomplete.self.js;T:content_typeI"application/javascript;T: sourceI"Spree.ready(function () { 'use strict'; function formatOptionType(option_type) { return Select2.util.escapeMarkup(option_type.presentation + ' (' + option_type.name + ')'); } if ($('#product_option_type_ids').length > 0) { $('#product_option_type_ids').select2({ placeholder: Spree.translations.option_type_placeholder, multiple: true, initSelection: function (element, callback) { return Spree.ajax({ url: Spree.routes.option_type_search, data: { ids: element.val() }, type: 'get', success: function(data) { return callback(data); } }); }, ajax: { url: Spree.routes.option_type_search, quietMillis: 200, datatype: 'json', params: { "headers": { 'Authorization': 'Bearer ' + Spree.api_key } }, data: function (term) { return { q: { name_cont: term } }; }, results: function (data) { return { results: data }; } }, formatResult: formatOptionType, formatSelection: formatOptionType }); } }); ;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:///Users/tvd/.gem/ruby/2.7.4/bundler/gems/solidus-2596bdd61623/backend/app/assets/javascripts/spree/backend/option_type_autocomplete.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: to_loado;;}F: to_linko;;}F:map{ I" version;TiI" file;TI".spree/backend/option_type_autocomplete.js;TI" mappings;TI"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;TI" sources;T[I"'option_type_autocomplete.source.js;TI" names;T[I"x_sprockets_linecount;Ti/: charsetI" utf-8;F: digest"%,wӡ¶=_KW3ڿbD: lengthi:environment_versionI"1.0;T:dependencies_digest"%rX'#O*Qx|B%Ef::idI"Ef1dad69e698eb550fabbec7b808d26bd56c49c2929c01ced1d636e99b4122bb6;F