
$("#modal-container").html("<div class=\'modal modal-fullscreen\' role=\'dialog\' tabindex=\'-1\'>\n<div class=\'modal-dialog modal-dialog-centered modal-lg\' role=\'document\'>\n<div class=\'modal-content\'>\n<div class=\'modal-header\'>\n<h5 class=\'modal-title\'>Alege<\/h5>\n<button aria-label=\'Close\' class=\'close\' data-dismiss=\'modal\' type=\'button\'>\n<span aria-hidden=\'true\'>×<\/span>\n<\/button>\n<\/div>\n<div class=\'modal-body\' data-track-modal-analytics>\n<div class=\'row justify-content-center align-items-stretch list-group-selector\'>\n<div class=\'col-12 col-md-6\'>\n<a data-product-path-in-modal=\"true\" href=\"/scott-pack-perform-evo-hy-16-sulphur-yellow\"><div class=\'tile-img tile-group-selector\'>\n<img alt=\'Scott Pack Perform Evo HY&#39; 16 Sulphur Yellow\' class=\'img-fluid\' data-image-change src=\'https://muzikercdn.com/uploads/products/4072/407267/thumb_5a3d3190.jpg\'>\n<\/div>\n<p class=\'product-tile-header\' data-product-name title=\'Scott Pack Perform Evo HY&#39; 16 Sulphur Yellow\'>\nScott Pack Perform Evo HY&#39; 16 Sulphur Yellow\n<\/p>\n<\/a><div class=\'d-flex align-items-center justify-content-between\'>\n<div class=\'product-price-group-selector\' data-product-price><\/div>\n<\/div>\n<\/div>\n<div class=\'col-12 col-md-6\' data-wish-list-product>\n<div class=\'d-flex flex-column justify-content-between h-100\' data-group-products=\'[{&quot;param_values&quot;:&quot;Sulphur_Yellow|16_L|&quot;,&quot;path&quot;:&quot;/scott-pack-perform-evo-hy-16-sulphur-yellow&quot;,&quot;image&quot;:&quot;https://muzikercdn.com/uploads/products/4072/407267/thumb_5a3d3190.jpg&quot;,&quot;technical_params&quot;:{&quot;290&quot;:&quot;Sulphur_Yellow&quot;,&quot;253&quot;:&quot;16_L&quot;},&quot;id_hash&quot;:&quot;496b6fdbd8&quot;,&quot;name&quot;:&quot;Scott Pack Perform Evo HY&#39; 16 Sulphur Yellow&quot;,&quot;code&quot;:348113,&quot;price_with_vat&quot;:&quot;600.0&quot;,&quot;brand&quot;:&quot;Scott&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;504.2&quot;,&quot;eshop_available&quot;:true},{&quot;param_values&quot;:&quot;Light_Grey/Dark_Shadow_Grey|10_L|&quot;,&quot;path&quot;:&quot;/scott-pack-perform-evo-hy-10-light-grey-dark-shadow-grey&quot;,&quot;image&quot;:&quot;https://muzikercdn.com/uploads/products/4072/407280/thumb_c0e0b845.jpg&quot;,&quot;technical_params&quot;:{&quot;290&quot;:&quot;Light_Grey/Dark_Shadow_Grey&quot;,&quot;253&quot;:&quot;10_L&quot;},&quot;id_hash&quot;:&quot;f2bcaab0be&quot;,&quot;name&quot;:&quot;Scott Pack Perform Evo HY&#39; 10 Light Grey/Dark Shadow Grey&quot;,&quot;code&quot;:348116,&quot;price_with_vat&quot;:&quot;460.0&quot;,&quot;brand&quot;:&quot;Scott&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;386.55&quot;,&quot;eshop_available&quot;:true},{&quot;param_values&quot;:&quot;Caviar_Black|16_L|&quot;,&quot;path&quot;:&quot;/scott-pack-perform-evo-hy-16-caviar-black&quot;,&quot;image&quot;:&quot;https://muzikercdn.com/uploads/products/4072/407272/thumb_5e6f0dcb.jpg&quot;,&quot;technical_params&quot;:{&quot;290&quot;:&quot;Caviar_Black&quot;,&quot;253&quot;:&quot;16_L&quot;},&quot;id_hash&quot;:&quot;2865c77b43&quot;,&quot;name&quot;:&quot;Scott Pack Perform Evo HY&#39; 16 Caviar Black&quot;,&quot;code&quot;:348114,&quot;price_with_vat&quot;:&quot;600.0&quot;,&quot;brand&quot;:&quot;Scott&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;504.2&quot;,&quot;eshop_available&quot;:true},{&quot;param_values&quot;:&quot;Caviar_Black|10_L|&quot;,&quot;path&quot;:&quot;/scott-pack-perform-evo-hy-10-caviar-black&quot;,&quot;image&quot;:&quot;https://muzikercdn.com/uploads/products/4072/407277/thumb_e6fb6bb5.jpg&quot;,&quot;technical_params&quot;:{&quot;290&quot;:&quot;Caviar_Black&quot;,&quot;253&quot;:&quot;10_L&quot;},&quot;id_hash&quot;:&quot;d15961f847&quot;,&quot;name&quot;:&quot;Scott Pack Perform Evo HY&#39; 10 Caviar Black&quot;,&quot;code&quot;:348115,&quot;price_with_vat&quot;:&quot;460.0&quot;,&quot;brand&quot;:&quot;Scott&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;386.55&quot;,&quot;eshop_available&quot;:false}]\' data-selector-position=\'product_list\' data-technical-param-values=\'{&quot;290&quot;:[{&quot;value&quot;:&quot;Sulphur_Yellow&quot;,&quot;translate_value&quot;:&quot;Sulphur Yellow&quot;,&quot;product_image&quot;:null,&quot;position&quot;:5607},{&quot;value&quot;:&quot;Light_Grey/Dark_Shadow_Grey&quot;,&quot;translate_value&quot;:&quot;Light Grey/Dark Shadow Grey&quot;,&quot;product_image&quot;:null,&quot;position&quot;:5606},{&quot;value&quot;:&quot;Caviar_Black&quot;,&quot;translate_value&quot;:&quot;Caviar Black&quot;,&quot;product_image&quot;:null,&quot;position&quot;:5605}],&quot;253&quot;:[{&quot;value&quot;:&quot;16_L&quot;,&quot;translate_value&quot;:&quot;16 L&quot;,&quot;product_image&quot;:null,&quot;position&quot;:76},{&quot;value&quot;:&quot;10_L&quot;,&quot;translate_value&quot;:&quot;10 L&quot;,&quot;product_image&quot;:null,&quot;position&quot;:67}]}\' id=\'group_selector_section\'>\n<div class=\'row\'>\n<div class=\'col-12 col-sm-6 mb-3\' data-param-id=\'290\' data-param-position=\'1\' data-param-type=\'select_box\'>\n<div class=\'d-flex flex-column\'>\n<div class=\'product-select-text d-flex align-items-center mb-2\'>\n<div class=\'counter-green mr-2\'>\n1\n<\/div>\nCuloare conform producătorului\n<\/div>\n<select class=\'no-select2 select-product\' data-selector-for=\'290\'>\n<option disabled=\'disabled\' hidden selected=\'selected\' value=\'\'>Alege <\/option>\n<\/select>\n<\/div>\n<\/div>\n<div class=\'col-12 col-sm-6 mb-3\' data-param-id=\'253\' data-param-position=\'2\' data-param-type=\'select_box\'>\n<div class=\'d-flex flex-column\'>\n<div class=\'product-select-text d-flex align-items-center mb-2\'>\n<div class=\'counter-green mr-2\'>\n2\n<\/div>\nVolumul\n<\/div>\n<select class=\'no-select2 select-product\' data-selector-for=\'253\'>\n<option disabled=\'disabled\' hidden selected=\'selected\' value=\'\'>Alege <\/option>\n<\/select>\n<\/div>\n<\/div>\n<\/div>\n<div class=\'row\'>\n<div class=\'col-12\'>\n<div class=\'d-flex\'>\n<div class=\'d-flex\' data-analytics-actions=\'[&quot;sendClick&quot;]\' data-analytics-data-click-event=\'[&quot;{\\&quot;trackers\\&quot;:[\\&quot;mainTracker\\&quot;,\\&quot;generalTracker\\&quot;],\\&quot;fieldsObject\\&quot;:{\\&quot;hitType\\&quot;:\\&quot;event\\&quot;,\\&quot;eventCategory\\&quot;:\\&quot;Wishlist\\&quot;,\\&quot;eventAction\\&quot;:\\&quot;add\\&quot;,\\&quot;eventLabel\\&quot;:\\&quot;348113\\&quot;,\\&quot;nonInteraction\\&quot;:true}}&quot;]\' data-analytics-track data-wish-list-item-analytics>\n<a title=\"Adaugă în Wishlist\" class=\"wish-list-link wish-icon-lg nav-link my-2 disabled far fa-heart\" data-analytics-click-to-link=\"true\" data-disable-with=\"\" rel=\"nofollow\" data-remote=\"true\" data-method=\"post\" href=\"/shop/wish_list_items?product_code=348113\"><\/a>\n<\/div>\n<div class=\'w-100\' data-analytics-actions=\'[&quot;addProductToBasket&quot;]\' data-analytics-data-click-event=\'[&quot;{\\&quot;trackers\\&quot;:[\\&quot;mainTracker\\&quot;,\\&quot;generalTracker\\&quot;],\\&quot;fieldsObject\\&quot;:{\\&quot;hitType\\&quot;:\\&quot;event\\&quot;,\\&quot;eventCategory\\&quot;:\\&quot;UX\\&quot;,\\&quot;eventAction\\&quot;:\\&quot;click\\&quot;,\\&quot;eventLabel\\&quot;:\\&quot;add to cart from listing\\&quot;}}&quot;, &quot;{\\&quot;trackers\\&quot;:[\\&quot;mainTracker\\&quot;,\\&quot;generalTracker\\&quot;],\\&quot;fieldsObject\\&quot;:{\\&quot;hitType\\&quot;:\\&quot;event\\&quot;,\\&quot;eventCategory\\&quot;:\\&quot;Basket\\&quot;,\\&quot;eventAction\\&quot;:\\&quot;Add\\&quot;,\\&quot;eventLabel\\&quot;:\\&quot;\\&quot;,\\&quot;eventValue\\&quot;:0}}&quot;]\' data-analytics-data-ecommerce-set-action=\'{&quot;actionName&quot;:&quot;add&quot;}\' data-analytics-data-ecommerce-trackers=\'[&quot;mainTracker&quot;, &quot;generalTracker&quot;]\' data-analytics-ga-data=\'\' data-analytics-track data-selector-analytics>\n<form class=\"text-center\" id=\"new_public_shop_basket_item_form\" autocomplete=\"off\" role=\"form\" action=\"/shop/basket_items\" accept-charset=\"UTF-8\" data-remote=\"true\" method=\"post\"><input name=\"utf8\" type=\"hidden\" value=\"&#x2713;\" /><input value=\"1\" type=\"hidden\" name=\"public_shop_basket_item_form[quantity]\" id=\"public_shop_basket_item_form_quantity\" />\n<input data-basket-product-id-hash=\"true\" type=\"hidden\" name=\"public_shop_basket_item_form[product_hash]\" id=\"public_shop_basket_item_form_product_hash\" />\n<input value=\"standard\" type=\"hidden\" name=\"public_shop_basket_item_form[item_type]\" id=\"public_shop_basket_item_form_item_type\" />\n<input type=\"submit\" name=\"commit\" value=\"Adaugă în coș\" class=\"btn btn-buy btn-green my-2\" disabled=\"disabled\" data-analytics-add-to-basket=\"true\" data-add-to-cart-button=\"true\" data-disable-with=\"Adaugă în coș\" />\n<\/form><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\'modal-footer\'>\n<button class=\'btn btn-outline-dark\' data-dismiss=\'modal\' type=\'button\'>Închide<\/button>\n<\/div>\n\n<\/div>\n<\/div>\n<\/div>\n");
$("#modal-container").find('.modal').modal();
PublicUtility.Layout.initInScope('.modal');

var groupSelectorSection;

groupSelectorSection = $('#group_selector_section');

if (groupSelectorSection.length) {
  new PublicUtility.ProductGroupSelector(groupSelectorSection);
}

new PublicUtility.Analytics('[data-track-modal-analytics]')
