
$("#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 border-white-gray\'>\n<h5 class=\'modal-title\'>Select a product for shopping cart<\/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 col-lg-5\'>\n<div class=\'badges badges-left pt-1\'>\n\n<\/div>\n<a data-product-path-in-modal=\"true\" href=\"/compressport-armforce-ultralight-black-t3\"><div class=\'tile-img tile-group-selector\'>\n<img alt=\'Compressport ArmForce Ultralight\' class=\'img-fluid\' data-image-change src=\'https://muzikercdn.com/uploads/products/6463/646332/thumb_bfe45b72.jpg\'>\n<\/div>\n<\/a><\/div>\n<div class=\'col-12 col-md-6 col-lg-7\'>\n<div class=\'light-gray\'>\nRunning arm warmers\n<\/div>\n<div class=\'product-tile-header font-weight-bold mb-3\' data-product-name title=\'Compressport ArmForce Ultralight\'>\nCompressport ArmForce Ultralight\n<\/div>\n<div data-group-products=\'[{&quot;param_values&quot;:&quot;Black|T3|&quot;,&quot;path&quot;:&quot;/compressport-armforce-ultralight-black-t3&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646332/thumb_bfe45b72.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646332/icon_bfe45b72.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646332/icon_base_bfe45b72.jpg&quot;},&quot;technical_params&quot;:{&quot;290&quot;:&quot;Black&quot;,&quot;80&quot;:&quot;T3&quot;},&quot;id_hash&quot;:&quot;677d307f36&quot;,&quot;name&quot;:&quot;Compressport ArmForce Ultralight&quot;,&quot;code&quot;:397290,&quot;brand&quot;:&quot;Compressport&quot;,&quot;price_with_vat&quot;:&quot;26.9&quot;,&quot;base_price_with_vat&quot;:&quot;29.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;21.87&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;24.31&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Running arm warmers&quot;,&quot;discount_percentage&quot;:10,&quot;product_description_short&quot;:&quot;Versatile, lightweight arm sleeves for optimised thermoregulation and flexibility whatever the sport a...&quot;},{&quot;param_values&quot;:&quot;Pink_Melange|T2|&quot;,&quot;path&quot;:&quot;/compressport-armforce-ultralight-pink-melange-t2&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646341/thumb_d4a46e0f.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646341/icon_d4a46e0f.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646341/icon_base_d4a46e0f.jpg&quot;},&quot;technical_params&quot;:{&quot;290&quot;:&quot;Pink_Melange&quot;,&quot;80&quot;:&quot;T2&quot;},&quot;id_hash&quot;:&quot;dade7891b5&quot;,&quot;name&quot;:&quot;Compressport ArmForce Ultralight&quot;,&quot;code&quot;:397293,&quot;brand&quot;:&quot;Compressport&quot;,&quot;price_with_vat&quot;:&quot;22.9&quot;,&quot;base_price_with_vat&quot;:&quot;28.0&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;18.62&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;22.76&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Running arm warmers&quot;,&quot;discount_percentage&quot;:18,&quot;product_description_short&quot;:&quot;Versatile, lightweight arm sleeves for optimised thermoregulation and flexibility whatever the sport a...&quot;},{&quot;param_values&quot;:&quot;Black|T1|&quot;,&quot;path&quot;:&quot;/compressport-armforce-ultralight-black-t1&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646328/thumb_bbc00b43.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646328/icon_bbc00b43.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646328/icon_base_bbc00b43.jpg&quot;},&quot;technical_params&quot;:{&quot;290&quot;:&quot;Black&quot;,&quot;80&quot;:&quot;T1&quot;},&quot;id_hash&quot;:&quot;9098b6fd0e&quot;,&quot;name&quot;:&quot;Compressport ArmForce Ultralight&quot;,&quot;code&quot;:397288,&quot;brand&quot;:&quot;Compressport&quot;,&quot;price_with_vat&quot;:&quot;26.9&quot;,&quot;base_price_with_vat&quot;:&quot;29.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;21.87&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;24.31&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Running arm warmers&quot;,&quot;discount_percentage&quot;:10,&quot;product_description_short&quot;:&quot;Versatile, lightweight arm sleeves for optimised thermoregulation and flexibility whatever the sport a...&quot;},{&quot;param_values&quot;:&quot;Black|T2|&quot;,&quot;path&quot;:&quot;/compressport-armforce-ultralight-black-t2&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646330/thumb_e9910543.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646330/icon_e9910543.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646330/icon_base_e9910543.jpg&quot;},&quot;technical_params&quot;:{&quot;290&quot;:&quot;Black&quot;,&quot;80&quot;:&quot;T2&quot;},&quot;id_hash&quot;:&quot;d1d2c425ce&quot;,&quot;name&quot;:&quot;Compressport ArmForce Ultralight&quot;,&quot;code&quot;:397289,&quot;brand&quot;:&quot;Compressport&quot;,&quot;price_with_vat&quot;:&quot;26.9&quot;,&quot;base_price_with_vat&quot;:&quot;29.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;21.87&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;24.31&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Running arm warmers&quot;,&quot;discount_percentage&quot;:10,&quot;product_description_short&quot;:&quot;Versatile, lightweight arm sleeves for optimised thermoregulation and flexibility whatever the sport a...&quot;},{&quot;param_values&quot;:&quot;Pink_Melange|T1|&quot;,&quot;path&quot;:&quot;/compressport-armforce-ultralight-pink-melange-t1&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646336/thumb_e4aa4732.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646336/icon_e4aa4732.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646336/icon_base_e4aa4732.jpg&quot;},&quot;technical_params&quot;:{&quot;290&quot;:&quot;Pink_Melange&quot;,&quot;80&quot;:&quot;T1&quot;},&quot;id_hash&quot;:&quot;d243f855c8&quot;,&quot;name&quot;:&quot;Compressport ArmForce Ultralight&quot;,&quot;code&quot;:397292,&quot;brand&quot;:&quot;Compressport&quot;,&quot;price_with_vat&quot;:&quot;26.9&quot;,&quot;base_price_with_vat&quot;:&quot;29.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;21.87&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;24.31&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Running arm warmers&quot;,&quot;discount_percentage&quot;:10,&quot;product_description_short&quot;:&quot;Versatile, lightweight arm sleeves for optimised thermoregulation and flexibility whatever the sport a...&quot;},{&quot;param_values&quot;:&quot;Pink_Melange|T3|&quot;,&quot;path&quot;:&quot;/compressport-armforce-ultralight-pink-melange-t3&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646346/thumb_a23963f8.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646346/icon_a23963f8.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646346/icon_base_a23963f8.jpg&quot;},&quot;technical_params&quot;:{&quot;290&quot;:&quot;Pink_Melange&quot;,&quot;80&quot;:&quot;T3&quot;},&quot;id_hash&quot;:&quot;3b6dda1c50&quot;,&quot;name&quot;:&quot;Compressport ArmForce Ultralight&quot;,&quot;code&quot;:397294,&quot;brand&quot;:&quot;Compressport&quot;,&quot;price_with_vat&quot;:&quot;22.9&quot;,&quot;base_price_with_vat&quot;:&quot;28.0&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;18.62&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;22.76&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Running arm warmers&quot;,&quot;discount_percentage&quot;:18,&quot;product_description_short&quot;:&quot;Versatile, lightweight arm sleeves for optimised thermoregulation and flexibility whatever the sport a...&quot;},{&quot;param_values&quot;:&quot;Black|T4|&quot;,&quot;path&quot;:&quot;/compressport-armforce-ultralight-black-t4&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646334/thumb_fc2c9017.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646334/icon_fc2c9017.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646334/icon_base_fc2c9017.jpg&quot;},&quot;technical_params&quot;:{&quot;290&quot;:&quot;Black&quot;,&quot;80&quot;:&quot;T4&quot;},&quot;id_hash&quot;:&quot;744fac19b8&quot;,&quot;name&quot;:&quot;Compressport ArmForce Ultralight&quot;,&quot;code&quot;:397291,&quot;brand&quot;:&quot;Compressport&quot;,&quot;price_with_vat&quot;:&quot;26.9&quot;,&quot;base_price_with_vat&quot;:&quot;29.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;21.87&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;24.31&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Running arm warmers&quot;,&quot;discount_percentage&quot;:10,&quot;product_description_short&quot;:&quot;Versatile, lightweight arm sleeves for optimised thermoregulation and flexibility whatever the sport a...&quot;}]\' data-selector-position=\'product_list\' data-technical-param-values=\'{&quot;290&quot;:[{&quot;value&quot;:&quot;Black&quot;,&quot;translate_value&quot;:&quot;Black&quot;,&quot;product_image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646334/icon_fc2c9017.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646334/icon_base_fc2c9017.jpg&quot;},&quot;position&quot;:493},{&quot;value&quot;:&quot;Pink_Melange&quot;,&quot;translate_value&quot;:&quot;Pink Melange&quot;,&quot;product_image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646346/icon_a23963f8.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/6463/646346/icon_base_a23963f8.jpg&quot;},&quot;position&quot;:8800}],&quot;80&quot;:[{&quot;value&quot;:&quot;T3&quot;,&quot;translate_value&quot;:&quot;T3&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2599},{&quot;value&quot;:&quot;T2&quot;,&quot;translate_value&quot;:&quot;T2&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2598},{&quot;value&quot;:&quot;T1&quot;,&quot;translate_value&quot;:&quot;T1&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2597},{&quot;value&quot;:&quot;T4&quot;,&quot;translate_value&quot;:&quot;T4&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2600}]}\' id=\'group_selector_section\'>\n<div class=\'row\'>\n<div class=\'col-12 mb-3\' data-param-id=\'290\' data-param-position=\'1\' data-param-type=\'product_image\'>\n<div class=\'d-flex flex-column\'>\n<div class=\'product-select-text js-param-name d-flex mb-2 flex-wrap\'>\n<div class=\'counter-green mr-2\'>\n1\n<\/div>\nOriginal Colour by Producer\n<div class=\'js-param-value param-value ml-2\'><\/div>\n<\/div>\n<div class=\'d-flex flex-wrap tile-group-selector group-product-image\' data-selector-for=\'290\'><\/div>\n<div class=\'js-show-more p-mid py-2 primary-link cursor-pointer d-none\'>\nOther variants\n<\/div>\n<\/div>\n<\/div>\n<div class=\'col-12 mb-3\' data-param-id=\'80\' data-param-position=\'2\' data-param-type=\'icon\'>\n<div class=\'d-flex flex-column\'>\n<div class=\'product-select-text js-param-name d-flex mb-2 flex-wrap\'>\n<div class=\'counter-green mr-2\'>\n2\n<\/div>\nSize\n<div class=\'js-param-value param-value ml-2\'><\/div>\n<\/div>\n<div class=\'d-flex flex-wrap tile-group-selector group-icon\' data-selector-for=\'80\'><\/div>\n<div class=\'js-show-more p-mid py-2 primary-link cursor-pointer d-none\'>\nOther variants\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\'p-14\'>\nVersatile, lightweight arm sleeves for optimised thermoregulation and flexibility whatever the sport a...\n<\/div>\n<a class=\"link-primary p-14\" href=\"/compressport-armforce-ultralight-black-t3\">Go to product<\/a>\n<div class=\'d-flex align-items-center mt-4\'>\n<div class=\'product-price-group-selector p-25 font-weight-bold mr-3 d-none\' data-product-price><\/div>\n<div class=\'product-price-group-selector p-25 font-weight-bold mr-3 d-none text-crossed light-gray\' data-product-base-price><\/div>\n<div class=\'badge badge-discount text-white mb-0 p-14 js-discount-percentage d-none\'><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\'modal-footer d-flex justify-content-end border-white-gray\'>\n<button class=\'btn btn-outline-dark\' data-dismiss=\'modal\' type=\'button\'>Close<\/button>\n<div 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 role=\"form\" class=\"text-center\" id=\"new_public_shop_basket_item_form\" autocomplete=\"off\" action=\"/shop/basket_items\" accept-charset=\"UTF-8\" data-remote=\"true\" method=\"post\"><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\" data-basket-product-type=\"true\" data-basket-extra-gift=\"false\" 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=\"Add to Cart\" class=\"btn font-weight-bold btn-green\" disabled=\"disabled\" data-analytics-add-to-basket=\"true\" data-add-to-cart-button=\"true\" data-disable-with=\"Add to Cart\" />\n<\/form><\/div>\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]')
