PageSourceSearch

https://www.lisca.si/static/version1790832973/frontend/Pearl/weltpixel_custom/sl_SI/js/bundle/bundle5.min.js

js lisca.si collected 2026-10-06 09:22:25 UTC 24,786 bytes, 3 lines download raw bytes

1require.config({"config": {
2        "jsbuild":{"Magento_PageCache/js/page-cache.min.js":"define(['jquery','domReady','consoleLogger','Magento_PageCache/js/form-key-provider','jquery-ui-modules/widget','mage/cookies'],function($,domReady,consoleLogger,formKeyInit){'use strict';function generateRandomString(chars,length){var result='';length=length>0?length:1;while(length--){result+=chars[Math.round(Math.random()*(chars.length-1))];}\nreturn result;}\n$.fn.comments=function(){var elements=[],contents,elementContents;(function lookup(element){var iframeHostName;if($(element).prop('tagName')==='IFRAME'){iframeHostName=$('<a>').prop('href',$(element).prop('src')).prop('hostname');if(window.location.hostname!==iframeHostName){return[];}}\ncontents=function(elem){return $.map(elem,function(el){try{return $.nodeName(el,'iframe')?el.contentDocument||(el.contentWindow?el.contentWindow.document:[]):$.merge([],el.childNodes);}catch(e){consoleLogger.error(e);return[];}});};elementContents=contents($(element));$.each(elementContents,function(index,el){switch(el.nodeType){case 1:lookup(el);break;case 8:elements.push(el);break;case 9:lookup($(el).find('body'));break;}});})(this);return elements;};$.widget('mage.formKey',{options:{inputSelector:'input[name=\"form_key\"]',allowedCharacters:'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ',length:16},_create:function(){var formKey=$.mage.cookies.get('form_key'),options={secure:window.cookiesConfig?window.cookiesConfig.secure:false};if(!formKey){formKey=generateRandomString(this.options.allowedCharacters,this.options.length);$.mage.cookies.set('form_key',formKey,options);}\n$(this.options.inputSelector).val(formKey);}});$.widget('mage.pageCache',{options:{url:'/',patternPlaceholderOpen:/^ BLOCK (.+) $/,patternPlaceholderClose:/^ \\/BLOCK (.+) $/,versionCookieName:'private_content_version',handles:[]},_create:function(){var placeholders,version=$.mage.cookies.get(this.options.versionCookieName);if(!version){return;}\nplaceholders=this._searchPlaceholders(this.element.comments());if(placeholders&&placeholders.length){this._ajax(placeholders,version);}},_searchPlaceholders:function(elements){var placeholders=[],tmp={},ii,len,el,matches,name;if(!(elements&&elements.length)){return placeholders;}\nfor(ii=0,len=elements.length;ii<len;ii++){el=elements[ii];matches=this.options.patternPlaceholderOpen.exec(el.nodeValue);name=null;if(matches){name=matches[1];tmp[name]={name:name,openElement:el};}else{matches=this.options.patternPlaceholderClose.exec(el.nodeValue);if(matches){name=matches[1];if(tmp[name]){tmp[name].closeElement=el;placeholders.push(tmp[name]);delete tmp[name];}}}}\nreturn placeholders;},_replacePlaceholder:function(placeholder,html){var startReplacing=false,prevSibling=null,parent,contents,yy,len,element;if(!placeholder||!html){return;}\nparent=$(placeholder.openElement).parent();contents=parent.contents();for(yy=0,len=contents.length;yy<len;yy++){element=contents[yy];if(element==placeholder.openElement){startReplacing=true;}\nif(startReplacing){$(element).remove();}else if(element.nodeType!=8){prevSibling=element;}\nif(element==placeholder.closeElement){break;}}\nif(prevSibling){$(prevSibling).after(html);}else{$(parent).prepend(html);}\n$(parent).trigger('contentUpdated');},_ajax:function(placeholders,version){var ii,data={blocks:[],handles:this.options.handles,originalRequest:this.options.originalRequest,version:version};for(ii=0;ii<placeholders.length;ii++){data.blocks.push(placeholders[ii].name);}\ndata.blocks=JSON.stringify(data.blocks.sort());data.handles=JSON.stringify(data.handles);data.originalRequest=JSON.stringify(data.originalRequest);$.ajax({url:this.options.url,data:data,type:'GET',cache:true,dataType:'json',context:this,success:function(response){var placeholder,i;for(i=0;i<placeholders.length;i++){placeholder=placeholders[i];if(response.hasOwnProperty(placeholder.name)){this._replacePlaceholder(placeholder,response[placeholder.name]);}}}});}});domReady(function(){formKeyInit();});return{'pageCache':$.mage.pageCache,'formKey':$.mage.formKey};});","Magento_Shipping/js/model/config.min.js":"define([],function(){'use strict';return function(){return window.checkoutConfig.shippingPolicy;};});","Magento_Shipping/js/view/checkout/shipping/shipping-policy.min.js":"define(['uiComponent','Magento_Shipping/js/model/config'],function(Component,config){'use strict';return Component.extend({defaults:{template:'Magento_Shipping/checkout/shipping/shipping-policy'},config:config()});});","Magento_CatalogSearch/js/search-terms-log.min.js":"define(['jquery','mageUtils'],function($,utils){'use strict';return function(data){$.ajax({method:'GET',url:data.url,data:{'q':utils.getUrlParameters(window.location.href).q}});};});","Magento_Vault/js/customer_account/deleteWidget.min.js":"define(['jquery','Magento_Ui/js/modal/modalToggle','mage/translate'],function($,modalToggle){'use strict';return function(config,deleteButton){config.buttons=[{text:$.mage.__('Cancel'),class:'action secondary cancel'},{text:$.mage.__('Delete'),class:'action primary',click:function(event){$(deleteButton.form).trigger('submit');}}];modalToggle(config,deleteButton);};});","Magento_Vault/js/view/payment/vault-enabler.min.js":"define(['uiElement'],function(Component){'use strict';return Component.extend({defaults:{isActivePaymentTokenEnabler:true},setPaymentCode:function(paymentCode){this.paymentCode=paymentCode;},initObservable:function(){this._super().observe(['isActivePaymentTokenEnabler']);return this;},visitAdditionalData:function(data){if(!this.isVaultEnabled()){return;}\nif(!('additional_data'in data)){data['additional_data']={};}\ndata['additional_data']['is_active_payment_token_enabler']=this.isActivePaymentTokenEnabler();},isVaultEnabled:function(){return typeof window.checkoutConfig.vault[this.paymentCode]!=='undefined'&&window.checkoutConfig.vault[this.paymentCode]['is_enabled']===true;}});});","Magento_Vault/js/view/payment/vault.min.js":"define(['underscore','uiComponent','Magento_Checkout/js/model/payment/renderer-list','uiLayout','uiRegistry'],function(_,Component,rendererList,layout,registry){'use strict';var vaultGroupName='vaultGroup';layout([{name:vaultGroupName,component:'Magento_Checkout/js/model/payment/method-group',alias:'vault',sortOrder:10}]);registry.get(vaultGroupName,function(vaultGroup){_.each(window.checkoutConfig.payment.vault,function(config,index){rendererList.push({type:index,config:config.config,component:config.component,group:vaultGroup,typeComparatorCallback:function(typeA,typeB){return typeA.substring(0,typeA.lastIndexOf('_'))===typeB;}});});});return Component.extend({});});","Magento_Vault/js/view/payment/method-renderer/vault.min.js":"define(['Magento_Checkout/js/view/payment/default','Magento_Checkout/js/action/select-payment-method','Magento_Checkout/js/checkout-data'],function(Component,selectPaymentMethod,checkoutData){'use strict';return Component.extend({defaults:{template:'Magento_Vault/payment/form'},initObservable:function(){this._super().observe([]);return this;},selectPaymentMethod:function(){selectPaymentMethod({method:this.getId()});checkoutData.setSelectedPaymentMethod(this.getId());return true;},getTitle:function(){return'';},getToken:function(){return'';},getId:function(){return this.index;}
2,getCode:function(){return this.code;},getMaskedCard:function(){return'';},getExpirationDate:function(){return'';},getCardType:function(){return'';},getIcons:function(type){return window.checkoutConfig.payment.ccform.icons.hasOwnProperty(type)?window.checkoutConfig.payment.ccform.icons[type]:false;},isButtonActive:function(){return this.isActive()&&this.isPlaceOrderActionAllowed();},isActive:function(){return this.isChecked()===this.getId();},getData:function(){var data={method:this.getCode()};data['additional_data']={};data['additional_data']['public_hash']=this.getToken();return data;}});});","Magento_ConfigurableProduct/js/catalog-add-to-cart-mixin.min.js":"define(['underscore','jquery','Magento_ConfigurableProduct/js/product/view/product-info-resolver'],function(_,$,productInfoResolver){'use strict';return function(widget){$.widget('mage.catalogAddToCart',widget,{ajaxSubmit:function(form){var isConfigurable=!!_.find(form.serializeArray(),function(item){return item.name.indexOf('super_attribute')!==-1;});if(isConfigurable){this.options.productInfoResolver=productInfoResolver;}\nreturn this._super(form);}});return $.mage.catalogAddToCart;};});","Magento_ConfigurableProduct/js/catalog-add-to-cart.min.js":"require(['jquery'],function($){'use strict';$('body').on('catalogCategoryAddToCartRedirect',function(event,data){$(data.form).find('select[name*=\"super\"]').each(function(index,item){data.redirectParameters.push(item.config.id+'='+$(item).val());});});});","Magento_ConfigurableProduct/js/configurable-customer-data.min.js":"require(['jquery','Magento_ConfigurableProduct/js/options-updater'],function($,Updater){'use strict';var selectors={formSelector:'#product_addtocart_form'},configurableWidgetName='mageConfigurable',widgetInitEvent='configurable.initialized',updateConfigurableOptions=function(){var configurableWidget=$(selectors.formSelector).data(configurableWidgetName);if(!configurableWidget){return;}\nconfigurableWidget.options.values=this.productOptions||{};configurableWidget._configureForValues();},updater=new Updater(widgetInitEvent,updateConfigurableOptions);updater.listen();});","Magento_ConfigurableProduct/js/configurable.min.js":"define(['jquery','underscore','mage/template','mage/translate','priceUtils','priceBox','jquery-ui-modules/widget','jquery/jquery.parsequery','fotoramaVideoEvents'],function($,_,mageTemplate,$t,priceUtils){'use strict';$.widget('mage.configurable',{options:{superSelector:'.super-attribute-select',selectSimpleProduct:'[name=\"selected_configurable_option\"]',priceHolderSelector:'.price-box',spConfig:{},state:{},priceFormat:{},optionTemplate:'<%- data.label %>'+'<% if (typeof data.finalPrice.value !== \"undefined\") { %>'+' <%- data.finalPrice.formatted %>'+'<% } %>',mediaGallerySelector:'[data-gallery-role=gallery-placeholder]',mediaGalleryInitial:null,slyOldPriceSelector:'.sly-old-price',normalPriceLabelSelector:'.product-info-main .normal-price .price-label',gallerySwitchStrategy:'replace',tierPriceTemplateSelector:'#tier-prices-template',tierPriceBlockSelector:'[data-role=\"tier-price-block\"]',tierPriceTemplate:''},_create:function(){this._initializeOptions();this._overrideDefaults();this._setupChangeEvents();this._fillState();this._setChildSettings();this._configureForValues();$(this.element).trigger('configurable.initialized');},_initializeOptions:function(){var options=this.options,gallery=$(options.mediaGallerySelector),priceBoxOptions=$(this.options.priceHolderSelector).priceBox('option').priceConfig||null;if(priceBoxOptions&&priceBoxOptions.optionTemplate){options.optionTemplate=priceBoxOptions.optionTemplate;}\nif(priceBoxOptions&&priceBoxOptions.priceFormat){options.priceFormat=priceBoxOptions.priceFormat;}\noptions.optionTemplate=mageTemplate(options.optionTemplate);options.tierPriceTemplate=$(this.options.tierPriceTemplateSelector).html();options.settings=options.spConfig.containerId?$(options.spConfig.containerId).find(options.superSelector):$(options.superSelector);options.values=options.spConfig.defaultValues||{};options.parentImage=$('[data-role=base-image-container] img').attr('src');this.inputSimpleProduct=this.element.find(options.selectSimpleProduct);gallery.data('gallery')?this._onGalleryLoaded(gallery):gallery.on('gallery:loaded',this._onGalleryLoaded.bind(this,gallery));},_overrideDefaults:function(){var hashIndex=window.location.href.indexOf('#');if(hashIndex!==-1){this._parseQueryParams(window.location.href.substr(hashIndex+1));}\nif(this.options.spConfig.inputsInitialized){this._setValuesByAttribute();}\nthis._setInitialOptionsLabels();},_parseQueryParams:function(queryString){var queryParams=$.parseQuery({query:queryString});$.each(queryParams,$.proxy(function(key,value){if(this.options.spConfig.attributes[key]!==undefined&&_.find(this.options.spConfig.attributes[key].options,function(element){return element.i
2d===value;})){this.options.values[key]=value;}},this));},_setValuesByAttribute:function(){this.options.values={};$.each(this.options.settings,$.proxy(function(index,element){var attributeId;if(element.value){attributeId=element.id.replace(/[a-z]*/,'');if(this.options.spConfig.attributes[attributeId]!==undefined&&_.find(this.options.spConfig.attributes[attributeId].options,function(optionElement){return optionElement.id===element.value;})){this.options.values[attributeId]=element.value;}}},this));},_setInitialOptionsLabels:function(){$.each(this.options.spConfig.attributes,$.proxy(function(index,element){$.each(element.options,$.proxy(function(optIndex,optElement){this.options.spConfig.attributes[index].options[optIndex].initialLabel=optElement.label;},this));},this));},_setupChangeEvents:function(){$.each(this.options.settings,$.proxy(function(index,element){$(element).on('change',this,this._configure);},this));},_fillState:function(){$.each(this.options.settings,$.proxy(function(index,element){var attributeId=element.id.replace(/[a-z]*/,'');if(attributeId&&this.options.spConfig.attributes[attributeId]){element.config=this.options.spConfig.attributes[attributeId];element.attributeId=attributeId;this.options.state[attributeId]=false;}},this));},_setChildSettings:function(){var childSettings=[],settings=this.options.settings,index=settings.length,option;while(index--){option=settings[index];if(index){option.disabled=true;}else{this._fillSelect(option);}\n_.extend(option,{childSettings:childSettings.slice(),prevSetting:settings[index-1],nextSetting:settings[index+1]});childSettings.push(option);}},_configureForValues:function(){if(this.options.values){this.options.settings.each($.proxy(function(index,element){var attributeId=element.attributeId;element.value=this.options.values[attributeId]||'';this._configureElement(element);},this));}},_configure:function(event){event.data._configureElement(this);},_configureElement:function(element){this.simpleProduct=this._getSimpleProductId(element);if(element.value){this.options.state[element.config.id]=element.value;if(element.nextSetting){element.nextSetting.disabled=false;this._fillSelect(element.nextSetting);this._resetChildren(element.nextSetting);}else{if(!!document.documentMode){this.inputSimpleProduct.val(element.options[element.selectedIndex].config.allowedProducts[0]);}else{this.inputSimpleProduct.val(element.selectedOptions[0].config.allowedProducts[0]);}}}else{this._resetChildren(element);}\nthis._reloadPrice();this._displayRegularPriceBlock(this.simpleProduct);this._displayTierPriceBlock(this.simpleProduct);this._displayNormalPriceLabel();this._changeProductImage();},_changeProductImage:function(){var images,initialImages=this.options.mediaGalleryInitial,gallery=$(this.options.mediaGallerySelector).data('gallery');if(_.isUndefined(gallery)){$(this.options.mediaGallerySelector).on('gallery:loaded',function(){this._changeProductImage();}.bind(this));return;}\nimages=this.options.spConfig.images[this.simpleProduct];if(images){images=this._sortImages(images);if(this.options.gallerySwitchStrategy==='prepend'){images=images.concat(initialImages);}\nimages=$.extend(true,[],images);images=this._setImageIndex(images);gallery.updateData(images);this._addFotoramaVideoEvents(false);}else{gallery.updateData(initialImages);this._addFotoramaVideoEvents(true);}},_addFotoramaVideoEvents:function(isInitial){if(_.isUndefined($.mage.AddFotoramaVideoEvents)){return;}\nif(isInitial){$(this.options.mediaGallerySelector).AddFotoramaVideoEvents();return;}\n$(this.options.mediaGallerySelector).AddFotoramaVideoEvents({selectedOption:this.simpleProduct,dataMergeStrategy:this.options.gallerySwitchStrategy});},_sortImages:function(images){return _.sortBy(images,function(image){return image.position;});},_setImageIndex:function(images){var length=images.length,i;for(i=0;length>i;i++){images[i].i=i+1;}\nreturn images;},_resetChildren:function(element){if(element.childSettings){_.each(element.childSettings,function(set){set.selectedIndex=0;set.disabled=true;});if(element.config){this.options.state[element.config.id]=false;}}}
2,_fillSelect:function(element){var attributeId=element.id.replace(/[a-z]*/,''),options=this._getAttributeOptions(attributeId),prevConfig,index=1,allowedProducts,allowedProductsByOption,allowedProductsAll,i,j,finalPrice=parseFloat(this.options.spConfig.prices.finalPrice.amount),optionFinalPrice,optionPriceDiff,optionPrices=this.options.spConfig.optionPrices,allowedOptions=[],indexKey,allowedProductMinPrice,allowedProductsAllMinPrice;this._clearSelect(element);element.options[0]=new Option('','');element.options[0].innerHTML=this.options.spConfig.chooseText;prevConfig=false;if(element.prevSetting){prevConfig=element.prevSetting.options[element.prevSetting.selectedIndex];}\nif(options){for(indexKey in this.options.spConfig.index){if(this.options.spConfig.index.hasOwnProperty(indexKey)){allowedOptions=allowedOptions.concat(_.values(this.options.spConfig.index[indexKey]));}}\nif(prevConfig){allowedProductsByOption={};allowedProductsAll=[];for(i=0;i<options.length;i++){for(j=0;j<options[i].products.length;j++){if(prevConfig.config&&prevConfig.config.allowedProducts&&prevConfig.config.allowedProducts.indexOf(options[i].products[j])>-1){if(!allowedProductsByOption[i]){allowedProductsByOption[i]=[];}\nallowedProductsByOption[i].push(options[i].products[j]);allowedProductsAll.push(options[i].products[j]);}}}\nif(typeof allowedProductsAll[0]!=='undefined'&&typeof optionPrices[allowedProductsAll[0]]!=='undefined'){allowedProductsAllMinPrice=this._getAllowedProductWithMinPrice(allowedProductsAll);finalPrice=parseFloat(optionPrices[allowedProductsAllMinPrice].finalPrice.amount);}}\nfor(i=0;i<options.length;i++){if(prevConfig&&typeof allowedProductsByOption[i]==='undefined'){continue;}\nallowedProducts=prevConfig?allowedProductsByOption[i]:options[i].products.slice(0);optionPriceDiff=0;if(typeof allowedProducts[0]!=='undefined'&&typeof optionPrices[allowedProducts[0]]!=='undefined'){allowedProductMinPrice=this._getAllowedProductWithMinPrice(allowedProducts);optionFinalPrice=parseFloat(optionPrices[allowedProductMinPrice].finalPrice.amount);optionPriceDiff=optionFinalPrice-finalPrice;options[i].label=options[i].initialLabel;if(optionPriceDiff!==0){options[i].label+=' '+priceUtils.formatPrice(optionPriceDiff,this.options.priceFormat,true);}}\nif(allowedProducts.length>0||_.include(allowedOptions,options[i].id)){options[i].allowedProducts=allowedProducts;element.options[index]=new Option(this._getOptionLabel(options[i]),options[i].id);if(typeof options[i].price!=='undefined'){element.options[index].setAttribute('price',options[i].price);}\nif(allowedProducts.length===0){element.options[index].disabled=true;}\nelement.options[index].config=options[i];index++;}}}},_getOptionLabel:function(option){return option.label;},_clearSelect:function(element){var i;for(i=element.options.length-1;i>=0;i--){element.remove(i);}},_getAttributeOptions:function(attributeId){if(this.options.spConfig.attributes[attributeId]){return this.options.spConfig.attributes[attributeId].options;}},_reloadPrice:function(){$(this.options.priceHolderSelector).trigger('updatePrice',this._getPrices());},_getPrices:function(){var prices={},elements=_.toArray(this.options.settings),allowedProduct;_.each(elements,function(element){var selected=element.options[element.selectedIndex],config=selected&&selected.config,priceValue=this._calculatePrice({});if(config&&config.allowedProducts.length===1){priceValue=this._calculatePrice(config);}else if(element.value){allowedProduct=this._getAllowedProductWithMinPrice(config.allowedProducts);priceValue=this._calculatePrice({'allowedProducts':[allowedProduct]});}\nif(!_.isEmpty(priceValue)){prices.prices=priceValue;}},this);return prices;},_getAllowedProductWithMinPrice:function(allowedProducts){var optionPrices=this.options.spConfig.optionPrices,product={},optionMinPrice,optionFinalPrice;_.each(allowedProducts,function(allowedProduct){optionFinalPrice=parseFloat(optionPrices[allowedProduct].finalPrice.amount);if(_.isEmpty(product)||optionFinalPrice<optionMinPrice){optionMinPrice=optionFinalPrice;product=allowedProduct;}},this);return product;},_calculatePrice:function(config){var displayPrices=$(this.options.priceHolderSelector).priceBox('option').prices,newPrices=this.options.spConfig.optionPrices[_.first(config.allowedProducts)]||{};_.each(displayPrices,function(price,code){displayPrices[code].amount=newPrices[code]?newPrices[code].amount-displayPrices[code].amount:0;});
2return displayPrices;},_getSimpleProductId:function(element){var allOptions=element.config.options,value=element.value,config;config=_.filter(allOptions,function(option){return option.id===value;});config=_.first(config);return _.isEmpty(config)?undefined:_.first(config.allowedProducts);},_displayRegularPriceBlock:function(optionId){var shouldBeShown=true;_.each(this.options.settings,function(element){if(element.value===''){shouldBeShown=false;}});if(shouldBeShown&&this.options.spConfig.optionPrices[optionId].oldPrice.amount!==this.options.spConfig.optionPrices[optionId].finalPrice.amount){$(this.options.slyOldPriceSelector).show();}else{$(this.options.slyOldPriceSelector).hide();}\n$(document).trigger('updateMsrpPriceBlock',[optionId,this.options.spConfig.optionPrices]);},_displayNormalPriceLabel:function(){var shouldBeShown=false;_.each(this.options.settings,function(element){if(element.value===''){shouldBeShown=true;}});if(shouldBeShown){$(this.options.normalPriceLabelSelector).show();}else{$(this.options.normalPriceLabelSelector).hide();}},_onGalleryLoaded:function(element){var galleryObject=element.data('gallery');this.options.mediaGalleryInitial=galleryObject.returnCurrentImages();},_displayTierPriceBlock:function(optionId){var tierPrices=typeof optionId!='undefined'&&this.options.spConfig.optionPrices[optionId].tierPrices;if(_.isArray(tierPrices)&&tierPrices.length>0){if(this.options.tierPriceTemplate){$(this.options.tierPriceBlockSelector).html(mageTemplate(this.options.tierPriceTemplate,{'tierPrices':tierPrices,'$t':$t,'currencyFormat':this.options.spConfig.currencyFormat,'priceUtils':priceUtils})).show();}}else{$(this.options.tierPriceBlockSelector).hide();}}});return $.mage.configurable;});","Magento_ConfigurableProduct/js/options-updater.min.js":"define(['jquery','underscore','Magento_Customer/js/customer-data'],function($,_,customerData){'use strict';var selectors={formSelector:'#product_addtocart_form',productIdSelector:'#product_addtocart_form [name=\"product\"]',itemIdSelector:'#product_addtocart_form [name=\"item\"]'},cartData=customerData.get('cart'),productId=$(selectors.productIdSelector).val(),itemId=$(selectors.itemIdSelector).val(),setProductOptions=function(data){var changedProductOptions;if(!(data&&data.items&&data.items.length&&productId)){return false;}\nchangedProductOptions=_.find(data.items,function(item){if(item['item_id']===itemId){return item['product_id']===productId;}});changedProductOptions=changedProductOptions&&changedProductOptions.options&&changedProductOptions.options.reduce(function(obj,val){obj[val['option_id']]=val['option_value'];return obj;},{});if(JSON.stringify(this.productOptions||{})===JSON.stringify(changedProductOptions||{})){return false;}\nthis.productOptions=changedProductOptions;return true;},listen=function(){cartData.subscribe(function(updateCartData){if(this.setProductOptions(updateCartData)){this.updateOptions();}}.bind(this));$(selectors.formSelector).on(this.eventName,function(){this.setProductOptions(cartData());this.updateOptions();}.bind(this));},Updater=function(eventName,updateOptionsCallback){if(this instanceof Updater){this.eventName=eventName;this.updateOptions=updateOptionsCallback;this.productOptions={};}};Updater.prototype.setProductOptions=setProductOptions;Updater.prototype.listen=listen;return Updater;});","Magento_ConfigurableProduct/js/product/view/product-info-resolver.min.js":"define(['underscore','Magento_Catalog/js/product/view/product-info'],function(_,productInfo){'use strict';return function($form){var optionValues=[],product=_.findWhere($form.serializeArray(),{name:'product'}),productId;if(!_.isUndefined(product)){productId=product.value;_.each($form.serializeArray(),function(item){if(item.name.indexOf('super_attribute')!==-1){optionValues.push(item.value);}});optionValues.sort();productInfo().push({'id':productId,'optionValues':optionValues});}\nreturn _.uniq(productInfo(),function(item){var optionValuesStr=item.optionValues?item.optionValues.join():'';return item.id+optionValuesStr;});};});"}
3}});

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.