1if (!window.shop_searchpro) { 2 window.shop_searchpro = { 3 plugin_url: 'https://jbizhu.ru/wa-apps/shop/plugins/searchpro/', 4 dropdown_url: 'https://jbizhu.ru/searchpro-plugin/dropdown/', 5 results_url: 'https://jbizhu.ru/search', 6 version: '1.11.0.1790418074', 7 loader: { 8 assets: {}, 9 is_loading: {}, 10 loadJs: function(url, asset, callback) { 11 var resolve = function() { 12 if (typeof callback === 'function' && window.shop_searchpro.loader.assets[asset]) { 13 callback.call(window.shop_searchpro.loader.assets[asset]); 14 } 15 }; 16 17 if (window.shop_searchpro.loader.is_loading[asset]) { 18 $(document).on('shop_searchpro_asset_loaded_' + asset, resolve); 19 return false; 20 } 21 22 if ( 23 Object.keys(this.assets).indexOf(asset) === -1 && 24 !window.shop_searchpro.loader.is_loading[asset] 25 ) { 26 window.shop_searchpro.loader.is_loading[asset] = true; 27 28 $.ajax({ 29 dataType: 'script', 30 cache: true, 31 url: url, 32 complete: function() { 33 window.shop_searchpro.loader.is_loading[asset] = false; 34 window.shop_searchpro.loader.assets[asset] = true; 35 $(document).trigger('shop_searchpro_asset_loaded_' + asset); 36 resolve(); 37 } 38 }); 39 } else { 40 resolve(); 41 } 42 }, 43 loadCss: function(url) { 44 $('<link>') 45 .appendTo('head') 46 .attr({ 47 type: 'text/css', 48 rel: 'stylesheet', 49 href: url 50 }); 51 } 52 } 53 }; 54}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.