
$("#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\'>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\'>\n<a data-product-path-in-modal=\"true\" href=\"/savage-gear-sg2-medium-game-73-221-cm-12-35-g\"><div class=\'tile-img tile-group-selector\'>\n<img alt=\'Savage Gear SG2 Medium Game 2,21 m 12 - 35 g\' class=\'img-fluid\' data-image-change src=\'https://muzikercdn.com/uploads/products/5661/566181/thumb_b0cede3e.jpg\'>\n<\/div>\n<p class=\'product-tile-header\' data-product-name title=\'Savage Gear SG2 Medium Game 2,21 m 12 - 35 g\'>\nSavage Gear SG2 Medium Game 2,21 m 12 - 35 g\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\'>\n<div class=\'d-flex flex-column justify-content-between h-100\' data-group-products=\'[{&quot;param_values&quot;:&quot;2,21_m|12_-_35_g|2|&quot;,&quot;path&quot;:&quot;/savage-gear-sg2-medium-game-73-221-cm-12-35-g&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/5661/566181/thumb_b0cede3e.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/5661/566181/icon_b0cede3e.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/5661/566181/icon_base_b0cede3e.jpg&quot;},&quot;technical_params&quot;:{&quot;28&quot;:&quot;2,21_m&quot;,&quot;574&quot;:&quot;12_-_35_g&quot;,&quot;576&quot;:&quot;2&quot;},&quot;id_hash&quot;:&quot;d6ef60ab2b&quot;,&quot;name&quot;:&quot;Savage Gear SG2 Medium Game 2,21 m 12 - 35 g&quot;,&quot;code&quot;:375659,&quot;price_with_vat&quot;:&quot;73.9&quot;,&quot;brand&quot;:&quot;Savage Gear&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;61.58&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true},{&quot;param_values&quot;:&quot;2,51_m|12_-_35_g|2|&quot;,&quot;path&quot;:&quot;/savage-gear-sg2-medium-game-83-251-cm-12-35-g&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/5661/566197/thumb_914a69e5.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/5661/566197/icon_914a69e5.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/5661/566197/icon_base_914a69e5.jpg&quot;},&quot;technical_params&quot;:{&quot;28&quot;:&quot;2,51_m&quot;,&quot;574&quot;:&quot;12_-_35_g&quot;,&quot;576&quot;:&quot;2&quot;},&quot;id_hash&quot;:&quot;1d18f8b315&quot;,&quot;name&quot;:&quot;Savage Gear SG2 Medium Game 2,51 m 12 - 35 g&quot;,&quot;code&quot;:375661,&quot;price_with_vat&quot;:&quot;79.9&quot;,&quot;brand&quot;:&quot;Savage Gear&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;66.58&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true},{&quot;param_values&quot;:&quot;2,21_m|7_-_23_g|2|&quot;,&quot;path&quot;:&quot;/savage-gear-sg2-medium-game-73-221-cm-7-23-g&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/5661/566172/thumb_c05d902d.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/5661/566172/icon_c05d902d.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/5661/566172/icon_base_c05d902d.jpg&quot;},&quot;technical_params&quot;:{&quot;28&quot;:&quot;2,21_m&quot;,&quot;574&quot;:&quot;7_-_23_g&quot;,&quot;576&quot;:&quot;2&quot;},&quot;id_hash&quot;:&quot;f1414afb30&quot;,&quot;name&quot;:&quot;Savage Gear SG2 Medium Game 2,21 m 7 - 23 g&quot;,&quot;code&quot;:375658,&quot;price_with_vat&quot;:&quot;69.9&quot;,&quot;brand&quot;:&quot;Savage Gear&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;58.25&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true},{&quot;param_values&quot;:&quot;2,51_m|7_-_23_g|2|&quot;,&quot;path&quot;:&quot;/savage-gear-sg2-medium-game-83-251-cm-7-23-g&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/5661/566189/thumb_c6f10121.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/5661/566189/icon_c6f10121.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/5661/566189/icon_base_c6f10121.jpg&quot;},&quot;technical_params&quot;:{&quot;28&quot;:&quot;2,51_m&quot;,&quot;574&quot;:&quot;7_-_23_g&quot;,&quot;576&quot;:&quot;2&quot;},&quot;id_hash&quot;:&quot;92c0948946&quot;,&quot;name&quot;:&quot;Savage Gear SG2 Medium Game 2,51 m 7 - 23 g&quot;,&quot;code&quot;:375660,&quot;price_with_vat&quot;:&quot;75.9&quot;,&quot;brand&quot;:&quot;Savage Gear&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;63.25&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true},{&quot;param_values&quot;:&quot;2,13_m|10_-_30_g|2|&quot;,&quot;path&quot;:&quot;/savage-gear-sg2-medium-game-trigger-7-213-cm-10-30-g&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/5662/566205/thumb_531b49b6.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/5662/566205/icon_531b49b6.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/5662/566205/icon_base_531b49b6.jpg&quot;},&quot;technical_params&quot;:{&quot;28&quot;:&quot;2,13_m&quot;,&quot;574&quot;:&quot;10_-_30_g&quot;,&quot;576&quot;:&quot;2&quot;},&quot;id_hash&quot;:&quot;91d2f7b8d1&quot;,&quot;name&quot;:&quot;Savage Gear SG2 Medium Game Trigger 2,13 m 10 - 30 g&quot;,&quot;code&quot;:375662,&quot;price_with_vat&quot;:&quot;73.9&quot;,&quot;brand&quot;:&quot;Savage Gear&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;61.58&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true},{&quot;param_values&quot;:&quot;2,15_m|10_-_40_g|4|&quot;,&quot;path&quot;:&quot;/savage-gear-sg2-medium-game-travel-71-215-cm-10-40-g&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/5662/566213/thumb_cad35e16.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/5662/566213/icon_cad35e16.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/5662/566213/icon_base_cad35e16.jpg&quot;},&quot;technical_params&quot;:{&quot;28&quot;:&quot;2,15_m&quot;,&quot;574&quot;:&quot;10_-_40_g&quot;,&quot;576&quot;:&quot;4&quot;},&quot;id_hash&quot;:&quot;63280dbef8&quot;,&quot;name&quot;:&quot;Savage Gear SG2 Medium Game Travel 2,15 m 10 - 40 g&quot;,&quot;code&quot;:375663,&quot;price_with_vat&quot;:&quot;75.9&quot;,&quot;brand&quot;:&quot;Savage Gear&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;63.25&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true}]\' data-selector-position=\'product_list\' data-technical-param-values=\'{&quot;28&quot;:[{&quot;value&quot;:&quot;2,13_m&quot;,&quot;translate_value&quot;:&quot;2,13 m&quot;,&quot;product_image&quot;:null,&quot;position&quot;:0},{&quot;value&quot;:&quot;2,15_m&quot;,&quot;translate_value&quot;:&quot;2,15 m&quot;,&quot;product_image&quot;:null,&quot;position&quot;:1},{&quot;value&quot;:&quot;2,21_m&quot;,&quot;translate_value&quot;:&quot;2,21 m&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2},{&quot;value&quot;:&quot;2,51_m&quot;,&quot;translate_value&quot;:&quot;2,51 m&quot;,&quot;product_image&quot;:null,&quot;position&quot;:3}],&quot;574&quot;:[{&quot;value&quot;:&quot;12_-_35_g&quot;,&quot;translate_value&quot;:&quot;12 - 35 g&quot;,&quot;product_image&quot;:null,&quot;position&quot;:46},{&quot;value&quot;:&quot;7_-_23_g&quot;,&quot;translate_value&quot;:&quot;7 - 23 g&quot;,&quot;product_image&quot;:null,&quot;position&quot;:31},{&quot;value&quot;:&quot;10_-_30_g&quot;,&quot;translate_value&quot;:&quot;10 - 30 g&quot;,&quot;product_image&quot;:null,&quot;position&quot;:41},{&quot;value&quot;:&quot;10_-_40_g&quot;,&quot;translate_value&quot;:&quot;10 - 40 g&quot;,&quot;product_image&quot;:null,&quot;position&quot;:43}],&quot;576&quot;:[{&quot;value&quot;:&quot;2&quot;,&quot;translate_value&quot;:&quot;2&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2},{&quot;value&quot;:&quot;4&quot;,&quot;translate_value&quot;:&quot;4&quot;,&quot;product_image&quot;:null,&quot;position&quot;:11}]}\' id=\'group_selector_section\'>\n<div class=\'row\'>\n<div class=\'col-12 mb-3\' data-param-id=\'28\' data-param-position=\'1\' data-param-type=\'select_box\'>\n<div class=\'d-flex flex-column justify-content-between h-100\'>\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>\nLength\n<div class=\'js-param-value param-value ml-2\'><\/div>\n<\/div>\n<select class=\'no-select2 select-product\' data-selector-for=\'28\'>\n<option disabled=\'disabled\' hidden selected=\'selected\' value=\'\'>Select an option<\/option>\n<\/select>\n<\/div>\n<\/div>\n<div class=\'col-12 mb-3\' data-param-id=\'574\' data-param-position=\'2\' data-param-type=\'select_box\'>\n<div class=\'d-flex flex-column justify-content-between h-100\'>\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>\nCasting Weight\n<div class=\'js-param-value param-value ml-2\'><\/div>\n<\/div>\n<select class=\'no-select2 select-product\' data-selector-for=\'574\'>\n<option disabled=\'disabled\' hidden selected=\'selected\' value=\'\'>Select an option<\/option>\n<\/select>\n<\/div>\n<\/div>\n<div class=\'col-12 mb-3\' data-param-id=\'576\' data-param-position=\'3\' data-param-type=\'select_box\'>\n<div class=\'d-flex flex-column justify-content-between h-100\'>\n<div class=\'product-select-text js-param-name d-flex mb-2 flex-wrap\'>\n<div class=\'counter-green mr-2\'>\n3\n<\/div>\nNumber of Sections\n<div class=\'js-param-value param-value ml-2\'><\/div>\n<\/div>\n<select class=\'no-select2 select-product\' data-selector-for=\'576\'>\n<option disabled=\'disabled\' hidden selected=\'selected\' value=\'\'>Select an option<\/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=\'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 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 btn-buy btn-green my-2\" 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<\/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\'>Close<\/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]')
