1(function(root){'use strict';function initTaggingProviders(config){function waitForNostoJs(callback,maxAttempts=50,interval=100){if(typeof root.nostojs==='function'){callback();return;} 2let attempts=0;const checkNostoJs=setInterval(function(){attempts++;if(typeof root.nostojs==='function'){clearInterval(checkNostoJs);callback();return;} 3if(attempts>=maxAttempts){clearInterval(checkNostoJs);console.log('Failed to load nostojs after '+maxAttempts+' attempts');}},interval);} 4function setupTaggingProviders(){root.nostojs(function(api){api.internal.setTaggingProvider("pageType",function(){return config.pageType;});if(config.products){api.internal.setTaggingProvider("products",function(){return config.products;});} 5if(config.cart){api.internal.setTaggingProvider("cart",function(){return config.cart;});} 6if(config.customer){api.internal.setTaggingProvider("customer",function(){return config.customer;});} 7if(config.categories){api.internal.setTaggingProvider("categories",function(){return config.categories;});} 8if(config.variation){a
8pi.internal.setTaggingProvider("variation",function(){return config.variation;});} 9if(config.searchTerm){api.internal.setTaggingProvider("searchTerm",function(){return config.searchTerm;});} 10if(config.customFields){api.internal.setTaggingProvider("customFields",function(){return config.customFields;});}});} 11waitForNostoJs(setupTaggingProviders);} 12root.initNostoTaggingProviders=initTaggingProviders;if(typeof define==='function'&&define.amd){define('Nosto_Tagging/js/tagging-providers',['Nosto_Tagging/js/nostojs'],function(nostojs){return initTaggingProviders;});}}(typeof self!=='undefined'?self:this));
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.