{
  "version": 3,
  "sources": ["/cdn/shop/t/1/assets/custom.js?t=1779396770"],
  "sourcesContent": ["var do_debug = false;\nfunction do_console(data){\n\tif(do_debug == true) {\n\t\tdebugger;\n\t\tconsole.log(data);\n\t}\n}\n/* Test Parameters */\nvar test_ca = false;\nif(window.location.href.toString().trim().indexOf('test_ca') !== -1) {\n\ttest_ca = true;\t\n\tdo_console('test_ca' + test_ca);\n}\n\nvar Shopify = Shopify || {};\n// ---------------------------------------------------------------------------\n// Money format handler\n// ---------------------------------------------------------------------------\n\nShopify.formatMoney = function (cents, format) {\n\tif (typeof cents == 'string') { cents = cents.replace('.', ''); }\n\tvar value = '';\n\tvar placeholderRegex = /\\{\\{\\s*(\\w+)\\s*\\}\\}/;\n\tvar formatString = (format || this.money_format);\n\n\tfunction defaultOption(opt, def) {\n\t\treturn (typeof opt == 'undefined' ? def : opt);\n\t}\n\n\tfunction formatWithDelimiters(number, precision, thousands, decimal) {\n\t\tprecision = defaultOption(precision, 2);\n\t\tthousands = defaultOption(thousands, ',');\n\t\tdecimal = defaultOption(decimal, '.');\n\n\t\tif (isNaN(number) || number == null) { return 0; }\n\n\t\tnumber = (number / 100.0).toFixed(precision);\n\n\t\tvar parts = number.split('.'),\n\t\t\tdollars = parts[0].replace(/(\\d)(?=(\\d\\d\\d)+(?!\\d))/g, '$1' + thousands),\n\t\t\tcents = parts[1] ? (decimal + parts[1]) : '';\n\n\t\treturn dollars + cents;\n\t}\n\n\tswitch (formatString.match(placeholderRegex)[1]) {\n\t\tcase 'amount':\n\t\t\tvalue = formatWithDelimiters(cents, 2);\n\t\t\tbreak;\n\t\tcase 'amount_no_decimals':\n\t\t\tvalue = formatWithDelimiters(cents, 0);\n\t\t\tbreak;\n\t\tcase 'amount_with_comma_separator':\n\t\t\tvalue = formatWithDelimiters(cents, 2, '.', ',');\n\t\t\tbreak;\n\t\tcase 'amount_no_decimals_with_comma_separator':\n\t\t\tvalue = formatWithDelimiters(cents, 0, '.', ',');\n\t\t\tbreak;\n\t}\n\n\treturn formatString.replace(placeholderRegex, value);\n};\n\nfunction findGetParameter(parameterName) {\n    var result = null,\n        tmp = [];\n    location.search\n        .substr(1)\n        .split(\"&\")\n        .forEach(function (item) {\n          tmp = item.split(\"=\");\n          if (tmp[0] === parameterName) result = decodeURIComponent(tmp[1]);\n        });\n    return result;\n}\n\nfunction adjust_sub_options(){\n\tlet freq_val = $(\"#frequency-select\").val().toString().trim().toLowerCase();\n\tlet variant_name = \"\";\n\tlet new_freq_val = \"\";\n\tif( $(`.product-cart-box [name=\"id\"]:checked`).length > 0 ){\n\tvariant_name = $(`.product-cart-box [name=\"id\"]:checked`).attr('data-variant-title').trim().toLowerCase();\t\n\tnew_freq_val = variant_name + \"/\" + freq_val;\n\t}else{\n\t\tnew_freq_val = freq_val;\n\t}\n\n\n\t$('.product-info .subscription-freq option').prop('selected',false);\n\t$('.product-info .subscription-freq option').each(function(ix,em){\n\t  let current_lower_val = $(em).text().trim().toLowerCase();\n\t  debugger;\n\t  if( current_lower_val.indexOf(new_freq_val) !== -1 ) {\n\t\t// $(em).attr('selected','selected');\n\t\t$(em).prop('selected',true);\n\t\t$('.product-info .subscription-freq').trigger('change');\n\t  }else{\n\t\t$(em).prop('selected',false);\n\t\t$(em).removeProp('selected')\n\t  }\n\t});\n}\n\n$(document).ready(function(){\n\tlet selected_variant = findGetParameter('variant');\n\tif(selected_variant != null){\n\t\tadjust_sub_options()\n\t}\n})\n\nfunction sendOneSignalTags(productName, productImageURL) {\n\t//let productName = \"Teami Clean, 2-in-1 Silicone Bottle Brush\";//Replace with the name of item\n\t//let productImageURL = \"https://cdn.shopify.com/s/files/1/0191/6439/7668/products/Teami_Cleancopy.png?v=1596568143\";//Replace with the url to the image\n\t//Use this example method when user adds item to cart\t\n\tif (typeof OneSignal != \"undefined\") {\n\t\tOneSignal.push(function () {\n\t\t\tvar timestamp = Math.floor(Date.now() / 1000);\n\t\t\tOneSignal.sendTags({\n\t\t\t\tcart_update: timestamp,\n\t\t\t\tproduct_name: productName,\n\t\t\t\tproduct_image: productImageURL,\n\t\t\t}).then(function (tagsSent) {\n\n\t\t\t});\n\t\t});\n\t}\n\n}\n\n\n\nvar cart_items_object = [];\nvar is_DOM_Ready = false;\njQuery(document).ready(function (e) {\n\t// jQuery( \"#addtocart\" ).on( \"submit\", function( event ) {\n\t// \tevent.preventDefault();\n\t// \tvar $this = jQuery( this );\n\t// \tif ( $this.hasClass( \"is-uploading\" ) ) {} else {\n\t// \t\tevent.preventDefault();\n\t// \t\tjQuery( \"#crtbtn1\" ).attr( \"disabled\", \"disabled\" );\n\t// \t\tjQuery( \"#addtocart\" ).addClass( \"is-uploading\" );\n\t// \t\tvar totalquantity = parseInt( jQuery( \"#item_Quantity\", $this ).val() );\n\t// \t\tvar varianttoadd = jQuery( \"select[data-variant-select]\", $this ).val();\n\t// \t\tvar product_id = jQuery( \"input[name='id']\", $this ).val();\n\t// \t\tvar data_to_send = {\n\t// \t\t\t'quantity': totalquantity,\n\t// \t\t\t'id': product_id,\n\t// \t\t\t'variant_id': varianttoadd\n\t// \t\t}\n\t// \t\tif(jQuery(\"#is_subscribed_yes\").is(':checked')) {\n\t// \t\t\t// updated data_to_send\n\t// \t\t\tvar subscription_variant_id = subscription_product_info.variant_to_duplicate[product_id];\n\t// \t\t\tvar selectedfrequency = jQuery('.fre_option').children(\"option:selected\").attr(\"data-fre\");\n\t// \t\t\t//var selectedfrequency = jQuery(\"#shipping_interval_frequency_box input[name='shipping_interval_frequency']:checked\").val();\n\t// \t\t\tvar line_properties = {};\n\t// \t\t\tline_properties.subscription_id = subscription_product_info.subscription_id;\t\t\t\t\n\t// \t\t\tline_properties.shipping_interval_frequency = selectedfrequency;\n\t// \t\t\tline_properties.shipping_interval_unit_type = subscription_product_info.shipping_interval_unit;\n\t// \t\t\tdata_to_send = {\n\t// \t\t\t\t'quantity': totalquantity,\n\t// \t\t\t\t'id': subscription_variant_id,\n\t// \t\t\t\tproperties: line_properties\n\t// \t\t\t}\n\n\t// \t\t}\n\t// \t\tjQuery.ajax( {\n\t// \t\t\turl: '/cart/add.js',\n\t// \t\t\tmethod: \"POST\",\n\t// \t\t\tdataType: \"JSON\",\n\t// \t\t\tdata:data_to_send,\n\t// \t\t\tsuccess: function( data ) {\n\t// \t\t\t\tsendOneSignalTags(data.product_title,data.image);\n\t// \t\t\t\tupdate_cart_popup();\n\t// \t\t\t\tjQuery( \".nav-item.nav-shop .badge\" ).show();\n\t// \t\t\t\tjQuery( \".nav-shop-mobile .badge\" ).show();\n\t// \t\t\t\tvar valueToUpdate = parseInt( jQuery( \".nav-item.nav-shop .badge\" ).text() ) +\n\t// \t\t\t\t\ttotalquantity;\n\t// \t\t\t\tjQuery( \".nav-shop-mobile .badge\" ).text( valueToUpdate.toString() );\n\t// \t\t\t\tjQuery( \".nav-item.nav-shop .badge\" ).text( valueToUpdate.toString() );\n\t// \t\t\t\tjQuery( \"#crtbtn1\" ).removeAttr( \"disabled\" );\n\t// \t\t\t\tjQuery( \"#addtocart\" ).removeClass( \"is-uploading\" );\n\t// \t\t\t},\n\t// \t\t\terror: function( data ) {\n\t// \t\t\t\tif ( typeof data.responseJSON.description !== \"undefined\" ) {\n\t// \t\t\t\t\tvar message = data.responseJSON.description;\n\t// \t\t\t\t} else {\n\t// \t\t\t\t\tvar message = \"Please try again later!\";\n\t// \t\t\t\t}\n\t// \t\t\t\tswal( {\n\t// \t\t\t\t\ttitle: \"Oops!!\",\n\t// \t\t\t\t\ttext: message,\n\t// \t\t\t\t\ticon: \"error\",\n\t// \t\t\t\t\tclassName: \"add-ajax-outofstock\",\n\t// \t\t\t\t\tbuttons: false,\n\t// \t\t\t\t\ttimer: 1500\n\t// \t\t\t\t} );\n\t// \t\t\t\tjQuery( \"#crtbtn1\" ).removeAttr( \"disabled\" );\n\t// \t\t\t\tjQuery( \"#addtocart\" ).removeClass( \"is-uploading\" );\n\t// \t\t\t}\n\t// \t\t} );\n\t// \t}\n\t// } );\n\tjQuery(\"#addtocart\").on(\"submit\", function (event) {\n\t\tevent.preventDefault();\n\t\tvar $this = jQuery(this);\n\t\tif ($this.hasClass(\"is-uploading\")) { } else {\n\t\t\tevent.preventDefault();\n\t\t\tjQuery(\"#crtbtn1\").attr(\"disabled\", \"disabled\");\n\t\t\tjQuery(\"#addtocart\").addClass(\"is-uploading\");\n\t\t\tvar totalquantity = parseInt(jQuery(\"#item_Quantity\", $this).val());\n\t\t\t//var varianttoadd = jQuery( \"select[data-variant-select]\", $this ).val();\n\t\t\tdebugger\n\t\t\tvar product_id = jQuery(\"input[name='id']\", $this).val();\n\t\t\tif(product_id == ''){\n\t\t\t\tproduct_id = jQuery(\"input[name='id']\", $this).attr('first-var-id');\n\t\t\t}\n\t\t\tif($(`#addtocart #is_subscribed_yes:checked`).length > 0) {\n\t\t\t\tlet selling_plan = $(\"#addtocart select#frequency-select option:selected\").attr(`data-subscription-id-to-add`);\n\t\t\t\tdata_to_send = {\n\t\t\t\t\t'quantity': totalquantity,\n\t\t\t\t\t'id': product_id,\n\t\t\t\t\t'selling_plan' : selling_plan\n\t\t\t\t\t/*\n\t\t\t\t\tproperties: line_properties\n\t\t\t\t\t*/\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdata_to_send = {\n\t\t\t\t\t'quantity': totalquantity,\n\t\t\t\t\t'id': product_id\n\t\t\t\t}\n\t\t\t}\n\t\t\t/*\n\t\t\tif (jQuery(\".subscription_value.product_add .subscription-freq\").length) {\n\t\t\t\tjQuery(\".subscription_value.product_add .subscription-freq option:selected\").each(function (ix, em) {\n\t\t\t\t\tvar sub_val = jQuery(em).val();\n\t\t\t\t\tif (sub_val == 'subscribe-save') {\n\t\t\t\t\t\t/ *\n\t\t\t\t\t\tif (jQuery(\".form-check-wrapper\").length) {\n\t\t\t\t\t\t\tvar product_id_to_add = jQuery(em).attr('data-subscription-id');\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar subscription_variant_id = jQuery(em).attr(\"data-subscription-id-to-add\");\n\t\t\t\t\t\tvar selectedfrequency = jQuery(em).attr(\"data-freq\");\n\t\t\t\t\t\tvar selectedfrequencyunit = jQuery(em).attr('data-unit');\n\t\t\t\t\t\tvar line_properties = {};\n\t\t\t\t\t\tline_properties.subscription_id = subscription_variant_id;\n\t\t\t\t\t\tline_properties.shipping_interval_frequency = selectedfrequency;\n\t\t\t\t\t\tline_properties.shipping_interval_unit_type = selectedfrequencyunit;\n\t\t\t\t\t\tline_properties.selling_plan_id = $(this).attr('selling_plan_id')\n\t\t\t\t\t\t* /\n\t\t\t\t\t\tlet selling_plan = $(\"#addtocart select#frequency-select option:selected\").attr(`data-subscription-id-to-add`);\n\t\t\t\t\t\tdata_to_send = {\n\t\t\t\t\t\t\t'quantity': totalquantity,\n\t\t\t\t\t\t\t'id': product_id,\n\t\t\t\t\t\t\t'selling_plan' : selling_plan\n\t\t\t\t\t\t\t/ *\n\t\t\t\t\t\t\tproperties: line_properties\n\t\t\t\t\t\t\t* /\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdata_to_send = {\n\t\t\t\t\t\t\t'quantity': totalquantity,\n\t\t\t\t\t\t\t'id': product_id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tvar data_to_send = {\n\t\t\t\t\t'quantity': totalquantity,\n\t\t\t\t\t'id': product_id\n\t\t\t\t}\n\t\t\t}*/\n\t\t\tif (jQuery(\"#crtbtn1.easeter_popup_product\").length) {\n\t\t\t\tif (jQuery('.subscription_value.product_add .subscription-freq').length) {\n\t\t\t\t\tjQuery(\".subscription_value.product_add .subscription-freq option:selected\").each(function (ix, ex) {\n\t\t\t\t\t\tvar sub_val = jQuery(ex).val();\n\t\t\t\t\t\tif (sub_val == 'onetime') {\n\t\t\t\t\t\t\tvar $this = jQuery('#crtbtn1.easeter_popup_product');\n\t\t\t\t\t\t\tdata_url = $this.attr('data-url');\n\t\t\t\t\t\t\tjQuery('#easter_popup_overlay_product').fadeIn();\n\t\t\t\t\t\t\tjQuery('#easter_popup').fadeIn();\n\t\t\t\t\t\t\tjQuery('body').addClass(\"is_easterpopup_open\");\n\t\t\t\t\t\t\tjQuery('body').addClass(\"overflow-hidden\");\n\n\t\t\t\t\t\t\tvar easter_image = $this.attr(\"data-e-image\");\n\t\t\t\t\t\t\tvar discount_code = $this.attr(\"data-e-dcode\");\n\t\t\t\t\t\t\tvar easter_desc = $this.attr(\"data-e-desc\");\n\t\t\t\t\t\t\tvar easter_howto = $this.attr(\"data-e-redeem\");\n\t\t\t\t\t\t\tvar hover_info_text = $this.attr(\"data-e-info\");\n\n\t\t\t\t\t\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_img img\").attr(\"src\", easter_image);\n\t\t\t\t\t\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text p span b\").text(discount_code);\n\t\t\t\t\t\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text p.deal span\").text(easter_desc);\n\t\t\t\t\t\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text .prod_info h2\").text(easter_howto);\n\t\t\t\t\t\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text .prod_info .icon_info .eag-note\").text(hover_info_text);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tdo_console(212);\n\t\t\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\t\t\turl: '/cart/add.js',\n\t\t\t\t\t\t\t\tmethod: \"POST\",\n\t\t\t\t\t\t\t\tdataType: \"JSON\",\n\t\t\t\t\t\t\t\tdata: data_to_send,\n\t\t\t\t\t\t\t\tsuccess: function (data) {\n\t\t\t\t\t\t\t\t\tupdate_cart_popup();\n\t\t\t\t\t\t\t\t\tif(typeof window.customer_email !== 'undefined') {\n\t\t\t\t\t\t\t\t\t\twindow.liQ = window.liQ || [];\n\t\t\t\t\t\t\t\t\t\twindow.liQ.push({\n\t\t\t\t\t\t\t\t\t\t\"event\": \"addToCart\",\n\t\t\t\t\t\t\t\t\t\t\"email\": window.customer_email\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").show();\n\t\t\t\t\t\t\t\t\tjQuery(\".nav-shop-mobile .badge\").show();\n\t\t\t\t\t\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").show();\n\t\t\t\t\t\t\t\t\tjQuery(\".nav-shop-mobile .badge\").show();\n\t\t\t\t\t\t\t\t\tvar valueToUpdate = parseInt(jQuery(\".nav-item.nav-shop .badge\").text()) +\n\t\t\t\t\t\t\t\t\t\ttotalquantity;\n\t\t\t\t\t\t\t\t\tjQuery(\".nav-shop-mobile .badge\").text(valueToUpdate.toString());\n\t\t\t\t\t\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").text(valueToUpdate.toString());\n\t\t\t\t\t\t\t\t\tjQuery(\"#crtbtn1\").removeAttr(\"disabled\");\n\t\t\t\t\t\t\t\t\tjQuery(\"#addtocart\").removeClass(\"is-uploading\");\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\terror: function (data) {\n\t\t\t\t\t\t\t\t\tif (typeof data.responseJSON.description !== \"undefined\") {\n\t\t\t\t\t\t\t\t\t\tvar message = data.responseJSON.description;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvar message = \"Please try again later!\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tswal({\n\t\t\t\t\t\t\t\t\t\ttitle: \"Oops!!\",\n\t\t\t\t\t\t\t\t\t\ttext: message,\n\t\t\t\t\t\t\t\t\t\ticon: \"error\",\n\t\t\t\t\t\t\t\t\t\tclassName: \"add-ajax-outofstock\",\n\t\t\t\t\t\t\t\t\t\tbuttons: false,\n\t\t\t\t\t\t\t\t\t\ttimer: 1500\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\tjQuery(\"#crtbtn1\").removeAttr(\"disabled\");\n\t\t\t\t\t\t\t\t\tjQuery(\"#addtocart\").removeClass(\"is-uploading\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tvar $this = jQuery('#crtbtn1.easeter_popup_product');\n\t\t\t\t\tdata_url = $this.attr('data-url');\n\t\t\t\t\tjQuery('#easter_popup_overlay_product').fadeIn();\n\t\t\t\t\tjQuery('#easter_popup').fadeIn();\n\t\t\t\t\tjQuery('body').addClass(\"is_easterpopup_open\");\n\t\t\t\t\tjQuery('body').addClass(\"overflow-hidden\");\n\n\t\t\t\t\tvar easter_image = $this.attr(\"data-e-image\");\n\t\t\t\t\tvar discount_code = $this.attr(\"data-e-dcode\");\n\t\t\t\t\tvar easter_desc = $this.attr(\"data-e-desc\");\n\t\t\t\t\tvar easter_howto = $this.attr(\"data-e-redeem\");\n\t\t\t\t\tvar hover_info_text = $this.attr(\"data-e-info\");\n\n\t\t\t\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_img img\").attr(\"src\", easter_image);\n\t\t\t\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text p span b\").text(discount_code);\n\t\t\t\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text p.deal span\").text(easter_desc);\n\t\t\t\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text .prod_info h2\").text(easter_howto);\n\t\t\t\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text .prod_info .icon_info .eag-note\").text(hover_info_text);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdo_console(279);\n\t\t\t\tdebugger;\n\t\t\t\tdo_console(data_to_send);\n\t\t\t\tjQuery.ajax({\n\t\t\t\t\turl: '/cart/add.js',\n\t\t\t\t\tmethod: \"POST\",\n\t\t\t\t\tdataType: \"JSON\",\n\t\t\t\t\tdata: data_to_send,\n\t\t\t\t\tsuccess: function (data) {\n\t\t\t\t\t\tupdate_cart_popup();\n\t\t\t\t\t\tif(typeof window.customer_email !== 'undefined') {\n\t\t\t\t\t\t\twindow.liQ = window.liQ || [];\n\t\t\t\t\t\t\twindow.liQ.push({\n\t\t\t\t\t\t\t\"event\": \"addToCart\",\n\t\t\t\t\t\t\t\"email\": window.customer_email\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").show();\n\t\t\t\t\t\tjQuery(\".nav-shop-mobile .badge\").show();\n\t\t\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").show();\n\t\t\t\t\t\tjQuery(\".nav-shop-mobile .badge\").show();\n\t\t\t\t\t\tvar valueToUpdate = parseInt(jQuery(\".nav-item.nav-shop .badge\").text()) +\n\t\t\t\t\t\t\ttotalquantity;\n\t\t\t\t\t\tjQuery(\".nav-shop-mobile .badge\").text(valueToUpdate.toString());\n\t\t\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").text(valueToUpdate.toString());\n\t\t\t\t\t\t//swal(\"\", \"Product added to the cart\", \"success\");\n\t\t\t\t\t\t// swal( {\n\t\t\t\t\t\t// \ttitle: \"\",\n\t\t\t\t\t\t// \ttext: \"Product added to the cart\",\n\t\t\t\t\t\t// \ticon: \"success\",\n\t\t\t\t\t\t// \tbuttons: false,\n\t\t\t\t\t\t// \ttimer: 1500\n\t\t\t\t\t\t// } );\n\t\t\t\t\t\tjQuery(\"#crtbtn1\").removeAttr(\"disabled\");\n\t\t\t\t\t\tjQuery(\"#addtocart\").removeClass(\"is-uploading\");\n\t\t\t\t\t},\n\t\t\t\t\terror: function (data) {\n\t\t\t\t\t\tif (typeof data.responseJSON.description !== \"undefined\") {\n\t\t\t\t\t\t\tvar message = data.responseJSON.description;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar message = \"Please try again later!\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tswal({\n\t\t\t\t\t\t\ttitle: \"Oops!!\",\n\t\t\t\t\t\t\ttext: message,\n\t\t\t\t\t\t\ticon: \"error\",\n\t\t\t\t\t\t\tclassName: \"add-ajax-outofstock\",\n\t\t\t\t\t\t\tbuttons: false,\n\t\t\t\t\t\t\ttimer: 1500\n\t\t\t\t\t\t});\n\t\t\t\t\t\tjQuery(\"#crtbtn1\").removeAttr(\"disabled\");\n\t\t\t\t\t\tjQuery(\"#addtocart\").removeClass(\"is-uploading\");\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t});\n\t/* Home page Starts*/\n\tif (jQuery(\".template-index\").length > 0) {\n\t\tjQuery(\"[data-home-slide]\").fadeIn(100);\n\t\tjQuery('.single-slider-auto').slick({\n\t\t\tlazyLoad: 'ondemand',\n\t\t\tslidesToShow: 1,\n\t\t\tslidesToScroll: 1,\n\t\t\tautoplay: true,\n\t\t\tautoplaySpeed: 5000,\t\t\n\t\t\tspeed: 1000,\n\t\t\tpauseOnHover:false,\n            pauseOnFocus:false,\n\t\t\tdots: true,\n\t\t\tarrow: true,\n\t\t\tprevArrow: '<button type=\"button\" class=\"arrow-prev\"><i class=\"fal fa-angle-left\"></i></button>',\n\t\t\tnextArrow: '<button type=\"button\" class=\"arrow-next\"><i class=\"fal fa-angle-right\"></i></button>',\n\t\t\tresponsive: [{\n\t\t\t\tbreakpoint: 550,\n\t\t\t\tsettings: {\n\t\t\t\t\tarrows: false\n\t\t\t\t}\n\t\t\t}]\n\t\t});\n\t}\n\t/* Home Page ends */\n\tjQuery.fn.reviewfy = function () {\n\t\tvar product_id = jQuery(this).attr(\"data-review-product-id\");\n\t\tvar product_review_details = reviews[product_id];\n\t\tif (typeof product_review_details === 'undefined') {\n\t\t\treturn false;\n\t\t}\n\t\tvar rating = product_review_details.rating;\n\t\tvar stringToPut = \"\";\n\t\tfor (i = 1; i <= 5; i++) {\n\t\t\tif (rating > 0) {\n\t\t\t\tif (rating == 0.5) {\n\t\t\t\t\tstringToPut += '<i class=\"fas fa-star-half\"></i>';\n\t\t\t\t} else {\n\t\t\t\t\tstringToPut += '<i class=\"fas fa-star\"></i>';\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// stringToPut += '<i class=\"far fa-star\"></i>';\n\t\t\t}\n\t\t\trating = rating - 1;\n\t\t}\n\t\tif (jQuery(this).hasClass('has-count')) {\n\t\t\tstringToPut += '<span class=\"rating-count\">' + product_review_details.totalreviews +\n\t\t\t\t' Reviews</span>';\n\t\t}\n\t\tjQuery(this).html(stringToPut);\n\t\treturn true;\n\t};\n\n\tfunction create_review_markup_reviews_page(rating, rating_name, rating_date,\n\t\trating_date_preformatted, total_review_count, rating_content) {\n\t\tvar return_string = \"\";\n\t\treturn_string =\n\t\t\t'<div class=\"review-item\" itemscope itemtype=\"http://data-vocabulary.org/Review-aggregate\">\\\n            <meta itemprop=\"rating\" content=\"' +\n\t\t\trating + '\" />\\\n            <meta itemprop=\"count\" content=\"' +\n\t\t\ttotal_review_count +\n\t\t\t'\" />\\\n            <div class=\"user col-lg-6\">\\\n                <i class=\"far fa-smile t-color\"></i>\\\n                <div class=\"rating\">';\n\t\tfor (i = 1; i <= 5; i++) {\n\t\t\tif (rating > 0) {\n\t\t\t\tif (rating == 0.5) {\n\t\t\t\t\treturn_string += '<i class=\"fas fa-star-half\"></i>';\n\t\t\t\t} else {\n\t\t\t\t\treturn_string += '<i class=\"fas fa-star\"></i>';\n\t\t\t\t}\n\t\t\t} else { }\n\t\t\trating = rating - 1;\n\t\t}\n\t\treturn_string +=\n\t\t\t'</div>\\\n                <p>Reviewed<br/> on \\\n                <time itemprop=\"dtreviewed\" datetime=\"' +\n\t\t\trating_date_preformatted + '\">' + rating_date +\n\t\t\t'</time>\\\n                <br/> by <b><span itemprop=\"itemreviewed\">' +\n\t\t\trating_name +\n\t\t\t'</span></b></p>\\\n            </div>\\\n            <div class=\"content col-lg-6\">\\\n                <p>' +\n\t\t\trating_content + '</p>\\\n            </div>\\\n        </div>';\n\t\treturn return_string;\n\t}\n\n\tfunction create_review_markup(rating, rating_name, rating_date,\n\t\trating_date_preformatted, total_review_count, rating_content) {\n\t\tvar return_string = \"\";\n\t\treturn_string +=\n\t\t\t'<div class=\"review-item\" \\\n        itemscope=\"\" itemtype=\"http://data-vocabulary.org/Review-aggregate\">\\\n        <meta itemprop=\"rating\" content=\"' +\n\t\t\trating + '\">\\\n        <meta itemprop=\"count\" content=\"' +\n\t\t\ttotal_review_count +\n\t\t\t'\">\\\n        <div class=\"user col-lg-6\">\\\n          <i class=\"far fa-smile t-color\"></i>\\\n          <div class=\"rating\">';\n\t\tfor (i = 1; i <= 5; i++) {\n\t\t\tif (rating > 0) {\n\t\t\t\tif (rating == 0.5) {\n\t\t\t\t\treturn_string += '<i class=\"fas fa-star-half\"></i>';\n\t\t\t\t} else {\n\t\t\t\t\treturn_string += '<i class=\"fas fa-star\"></i>';\n\t\t\t\t}\n\t\t\t} else { }\n\t\t\trating = rating - 1;\n\t\t}\n\t\treturn_string +=\n\t\t\t'</div>\\\n                <p>Reviewed<br> on \\\n                <time itemprop=\"dtreviewed\" datetime=\"' +\n\t\t\trating_date_preformatted + '\">\\\n                ' + rating_date +\n\t\t\t'</time><br> by <b>\\\n                <span itemprop=\"itemreviewed\">' +\n\t\t\trating_name +\n\t\t\t'</span></b></p>\\\n            </div>\\\n            <div class=\"content col-lg-6\">\\\n            <p>' +\n\t\t\trating_content + '</p>\\\n            </div>\\\n        </div>';\n\t\treturn return_string;\n\t}\n\n\tfunction show_spinner() {\n\t\tjQuery(\"#loadingspinner\").fadeIn(100);\n\t}\n\n\tfunction hide_spinner() {\n\t\tjQuery(\"#loadingspinner\").fadeOut(100);\n\t}\n\tjQuery(\"[data-review-product-id]\").each(function (ix, em) {\n\t\tjQuery(em).reviewfy();\n\t});\n\n\tfunction update_reviews_on_dom(show_loader) {\n\t\tif (show_loader == true) {\n\t\t\tshow_spinner();\n\t\t}\n\t\tvar product_id_for_reviews = jQuery(\"#review-filter-product\").val();\n\t\tjQuery(\"#ProductID\").val(product_id_for_reviews);\n\t\tvar ajax_url = app_url + \"/reviews/index/\" + product_id_for_reviews +\n\t\t\t\"?limit=9&ajax=true&page=1\";\n\t\tjQuery.ajax({\n\t\t\turl: ajax_url,\n\t\t\tmethod: \"GET\",\n\t\t\ttype: \"JSON\",\n\t\t\tsuccess: function (data) {\n\t\t\t\tvar content_for_reviews = \"\";\n\t\t\t\tvar reviews_ajax = data[product_id_for_reviews];\n\t\t\t\tjQuery(reviews_ajax.reviews).each(function (ix, em) {\n\t\t\t\t\tcontent_for_reviews += create_review_markup_reviews_page(em.rating,\n\t\t\t\t\t\tem.by, em.date, em.date_time, data.totalreviews, em.text);\n\t\t\t\t});\n\t\t\t\tjQuery(\"[data-page-reviews]\").html(content_for_reviews);\n\t\t\t\tif (show_loader == true) {\n\t\t\t\t\thide_spinner();\n\t\t\t\t}\n\t\t\t\tjQuery(\"[data-page-reviews]\").attr('data-page-reviews-current-page', 1);\n\t\t\t}\n\t\t});\n\t}\n\t/* Reviews page on DOM ready*/\n\tif (jQuery(\"[data-page-reviews]\").length > 0) {\n\t\t//Just to load when the DOM is ready\n\t\tupdate_reviews_on_dom(false);\n\t\tjQuery(document).on('change', '#review-filter-product', function (e) {\n\t\t\tvar product_id_for_reviews = jQuery(\"#review-filter-product\").val();\n\t\t\tjQuery(\"#ProductID\").val(product_id_for_reviews);\n\t\t});\n\t\tjQuery(document).on('click', '[data-reviews-load-more]', function (e) {\n\t\t\te.preventDefault();\n\t\t\tvar current_reviews_page = parseInt(jQuery(\"[data-page-reviews]\").attr(\n\t\t\t\t'data-page-reviews-current-page'));\n\t\t\tvar page_to_call = current_reviews_page;\n\t\t\tvar reviews_per_page = 3;\n\t\t\tif (current_reviews_page == 1) {\n\t\t\t\t//We make call for page 4 with count 3\n\t\t\t\tpage_to_call = 4;\n\t\t\t} else {\n\t\t\t\t//We make call for current-page + 1 with count 3\n\t\t\t\tpage_to_call = current_reviews_page + 1;\n\t\t\t}\n\t\t\tvar product_id_for_reviews = jQuery(\"#review-filter-product\").val();\n\t\t\tvar ajax_url = app_url + \"/reviews/index/\" + product_id_for_reviews +\n\t\t\t\t\"?limit=\" + reviews_per_page + \"&ajax=true&page=\" + page_to_call;\n\t\t\tshow_spinner();\n\t\t\tjQuery.ajax({\n\t\t\t\turl: ajax_url,\n\t\t\t\tmethod: \"GET\",\n\t\t\t\ttype: \"JSON\",\n\t\t\t\tsuccess: function (data) {\n\t\t\t\t\tvar content_for_reviews = \"\";\n\t\t\t\t\tvar reviews_ajax = data[product_id_for_reviews];\n\t\t\t\t\tjQuery(reviews_ajax.reviews).each(function (ix, em) {\n\t\t\t\t\t\tcontent_for_reviews += create_review_markup_reviews_page(em.rating,\n\t\t\t\t\t\t\tem.by, em.date, em.date_time, data.totalreviews, em.text);\n\t\t\t\t\t});\n\t\t\t\t\tjQuery(\"[data-page-reviews]\").append(content_for_reviews);\n\t\t\t\t\tjQuery(\"[data-page-reviews]\").attr('data-page-reviews-current-page',\n\t\t\t\t\t\tpage_to_call);\n\t\t\t\t\thide_spinner();\n\t\t\t\t},\n\t\t\t\terror: function (data) {\n\t\t\t\t\thide_spinner();\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t\tjQuery(document).on('click', '[data-reviews-filter-button]', function (e) {\n\t\t\te.preventDefault();\n\t\t\t//To load when Filter Reviews button is clicked\n\t\t\tupdate_reviews_on_dom(true);\n\t\t});\n\t}\n\t/* Lifestyle Blog Page */\n\tif (jQuery(\"[data-loadblogs]\").length > 0) {\n\t\tjQuery(document).on('click', '[data-loadblogs]', function (e) {\n\t\t\te.preventDefault();\n\t\t\tvar $this = e.target;\n\t\t\tvar total_blog_count = jQuery(\"[data-total-blog-count]\").attr(\n\t\t\t\t'data-total-blog-count');\n\t\t\tvar page_to_call = parseInt(jQuery($this).attr(\n\t\t\t\t'data-loadblogs-current-page')) + 1;\n\t\t\tvar url_to_call = jQuery($this).attr('data-loadblogs-url') + '/?page=' +\n\t\t\t\tpage_to_call;\n\t\t\tshow_spinner();\n\t\t\tjQuery.ajax({\n\t\t\t\turl: url_to_call,\n\t\t\t\tmethod: \"GET\",\n\t\t\t\tdataType: \"html\",\n\t\t\t\tsuccess: function (data) {\n\t\t\t\t\tvar markup_data = data;\n\t\t\t\t\tjQuery(markup_data).find(\".forajax .blog_single_landing\").each(\n\t\t\t\t\t\tfunction (ix, em) {\n\t\t\t\t\t\t\tjQuery(em).insertAfter(\"#blogcont .blog_single_landing:last\");\n\t\t\t\t\t\t});\n\t\t\t\t\tjQuery($this).attr('data-loadblogs-current-page', page_to_call);\n\t\t\t\t\tvar current_blog_count = jQuery(\"#blogcont\").find(\n\t\t\t\t\t\t\".blog_single_landing\").length;\n\t\t\t\t\tif (current_blog_count == total_blog_count) {\n\t\t\t\t\t\tjQuery(\"[data-loadblogs]\").fadeOut(10);\n\t\t\t\t\t}\n\t\t\t\t\thide_spinner();\n\t\t\t\t},\n\t\t\t\terror: function (error) {\n\t\t\t\t\thide_spinner();\n\t\t\t\t}\n\t\t\t});\n\t\t\t/* jQuery.ajax ends */\n\t\t});\n\t}\n\t/* Lifestyle Blog Page ends */\n\t/* Press page Podcast Blog  */\n\tif (jQuery(\"[data-loadpodcastblogs]\").length > 0) {\n\t\tjQuery(document).on('click', '[data-loadpodcastblogs]', function (e) {\n\t\t\te.preventDefault();\n\t\t\tvar $this = e.target;\n\t\t\tvar total_blog_count = jQuery(\"[data-total-podcastblog-count]\").attr(\n\t\t\t\t'data-total-podcastblog-count');\n\t\t\tvar page_to_call = parseInt(jQuery($this).attr(\n\t\t\t\t'data-loadpodcastblogs-current-page')) + 1;\n\t\t\tvar url_to_call = jQuery($this).attr('data-loadpodcastblogs-url') +\n\t\t\t\t'/?page=' + page_to_call;\n\t\t\tshow_spinner();\n\t\t\tjQuery.ajax({\n\t\t\t\turl: url_to_call,\n\t\t\t\tmethod: \"GET\",\n\t\t\t\tdataType: \"html\",\n\t\t\t\tsuccess: function (data) {\n\t\t\t\t\tvar markup_data = data;\n\t\t\t\t\tjQuery(markup_data).find(\".forajax_new .blog_single_landing\").each(\n\t\t\t\t\t\tfunction (ix, em) {\n\t\t\t\t\t\t\tjQuery(em).insertAfter(\"#blog_cont .blog_single_landing:last\");\n\t\t\t\t\t\t});\n\t\t\t\t\tjQuery($this).attr('data-loadpodcastblogs-current-page', page_to_call);\n\t\t\t\t\tvar current_blog_count = jQuery(\"#blog_cont\").find(\n\t\t\t\t\t\t\".blog_single_landing\").length;\n\t\t\t\t\tif (current_blog_count == total_blog_count) {\n\t\t\t\t\t\tjQuery(\"[data-loadpodcastblogs]\").fadeOut(10);\n\t\t\t\t\t}\n\t\t\t\t\thide_spinner();\n\t\t\t\t},\n\t\t\t\terror: function (error) {\n\t\t\t\t\thide_spinner();\n\t\t\t\t}\n\t\t\t});\n\t\t\t/* jQuery.ajax ends */\n\t\t});\n\t}\n\t/*  Press page Podcast Blog ends */\n\t/* Product Page Review section */\n\tif (jQuery(\"[data-review-pagination]\").length > 0) {\n\t\tvar first_reviews_set = reviews_single[current_product_id];\n\t\tif (typeof first_reviews_set === 'undefined') { } else {\n\t\t\tvar content_for_reviews = \"\";\n\t\t\tjQuery(first_reviews_set.reviews).each(function (ix, em) {\n\t\t\t\tcontent_for_reviews += create_review_markup(em.rating, em.by, em.date,\n\t\t\t\t\tem.date_time, first_reviews_set.totalreviews, em.text);\n\t\t\t});\n\t\t\tjQuery(\"[data-review-pagination]\").find('#reviews-cont').html(\n\t\t\t\tcontent_for_reviews);\n\t\t\tvar reviews_pagination = \"\";\n\t\t\tif (first_reviews_set.pagelength > 1) {\n\t\t\t\treviews_pagination += '<div class=\"pagination\" id=\"rev-pag\"><ul>';\n\t\t\t\tfor (i = 1; i <= first_reviews_set.pagelength; i++) {\n\t\t\t\t\tif (i > 5) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tif (i == 1) {\n\t\t\t\t\t\treviews_pagination +=\n\t\t\t\t\t\t\t'<li class=\"active\"><a href=\"#\" data-review-pagination-number=\"' + i +\n\t\t\t\t\t\t\t'\" >' + i + '</a>';\n\t\t\t\t\t} else {\n\t\t\t\t\t\treviews_pagination += '<li><a href=\"#\" data-review-pagination-number=\"' +\n\t\t\t\t\t\t\ti + '\" >' + i + '</a>';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treviews_pagination += \"</ul></div>\";\n\t\t\t\tjQuery(\".reviews-cta .reviews-pagination\").html(reviews_pagination);\n\t\t\t}\n\t\t}\n\t\tjQuery(document).on(\"click\", \"[data-review-pagination-number]\", function (e) {\n\t\t\te.preventDefault();\n\t\t\tvar $this = e.target;\n\t\t\tvar page_number = parseInt(jQuery($this).attr(\n\t\t\t\t'data-review-pagination-number'));\n\t\t\tvar ajax_url = app_url + \"/reviews/index/\" + current_product_id +\n\t\t\t\t\"?limit=3&ajax=true&page=\" + page_number;\n\t\t\tshow_spinner();\n\t\t\tjQuery.ajax({\n\t\t\t\turl: ajax_url,\n\t\t\t\tmethod: \"GET\",\n\t\t\t\ttype: \"JSON\",\n\t\t\t\tsuccess: function (data) {\n\t\t\t\t\tvar content_for_reviews = \"\";\n\t\t\t\t\tjQuery(data[current_product_id].reviews).each(function (ix, em) {\n\t\t\t\t\t\tcontent_for_reviews += create_review_markup(em.rating, em.by,\n\t\t\t\t\t\t\tem.date, em.date_time, first_reviews_set.totalreviews, em.text\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tjQuery(\"[data-review-pagination]\").find('#reviews-cont').html(\n\t\t\t\t\t\tcontent_for_reviews);\n\t\t\t\t\tvar reviews_pagination = \"\";\n\t\t\t\t\tif (data[current_product_id].pagelength > 1) {\n\t\t\t\t\t\treviews_pagination += '<div class=\"pagination\" id=\"rev-pag\"><ul>';\n\t\t\t\t\t\tif (page_number < 4) {\n\t\t\t\t\t\t\tfor (i = 1; i <= data[current_product_id].pagelength; i++) {\n\t\t\t\t\t\t\t\tif (i > 5) {\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (i == page_number) {\n\t\t\t\t\t\t\t\t\treviews_pagination +=\n\t\t\t\t\t\t\t\t\t\t'<li class=\"active\">\\\n                                    <a href=\"#\" data-review-pagination-number=\"' +\n\t\t\t\t\t\t\t\t\t\ti + '\" >' + i + '</a>';\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\treviews_pagination +=\n\t\t\t\t\t\t\t\t\t\t'<li>\\\n                                    <a href=\"#\" data-review-pagination-number=\"' +\n\t\t\t\t\t\t\t\t\t\ti + '\" >' + i + '</a>';\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if ((page_number + 2) <= data[current_product_id].pagelength) {\n\t\t\t\t\t\t\tfor (i = (page_number - 2); i <= (page_number + 2); i++) {\n\t\t\t\t\t\t\t\tif (i == page_number) {\n\t\t\t\t\t\t\t\t\treviews_pagination +=\n\t\t\t\t\t\t\t\t\t\t'<li class=\"active\">\\\n                                    <a href=\"#\" data-review-pagination-number=\"' +\n\t\t\t\t\t\t\t\t\t\ti + '\" >' + i + '</a>';\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\treviews_pagination +=\n\t\t\t\t\t\t\t\t\t\t'<li>\\\n                                    <a href=\"#\" data-review-pagination-number=\"' +\n\t\t\t\t\t\t\t\t\t\ti + '\" >' + i + '</a>';\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tfor (i = (data[current_product_id].pagelength - 4); i <=\n\t\t\t\t\t\t\t\tdata[current_product_id].pagelength; i++) {\n\t\t\t\t\t\t\t\tif (i == page_number) {\n\t\t\t\t\t\t\t\t\treviews_pagination +=\n\t\t\t\t\t\t\t\t\t\t'<li class=\"active\">\\\n                                    <a href=\"#\" data-review-pagination-number=\"' +\n\t\t\t\t\t\t\t\t\t\ti + '\" >' + i + '</a>';\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\treviews_pagination +=\n\t\t\t\t\t\t\t\t\t\t'<li>\\\n                                    <a href=\"#\" data-review-pagination-number=\"' +\n\t\t\t\t\t\t\t\t\t\ti + '\" >' + i + '</a>';\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treviews_pagination += \"</ul></div>\";\n\t\t\t\t\t\tjQuery(\".reviews-cta .reviews-pagination\").html(reviews_pagination);\n\t\t\t\t\t}\n\t\t\t\t\thide_spinner();\n\t\t\t\t},\n\t\t\t\terror: function (data) {\n\t\t\t\t\thide_spinner();\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\t/* if (jQuery(\"[data-review-pagination]\").length > 0) { ends */\n\t/* Store Locator JS starts */\n\tif (jQuery('[data-store-locators]').length > 0) {\n\t\tvar country_options = \"\";\n\t\tcountry_options += \"<option value='-1'>ALL COUNTRIES</option>\";\n\t\tfor (key in store_locators) {\n\t\t\tif (key == \"United States\") {\n\t\t\t\tcountry_options += \"<option selected='selected' value='\" + key + \"'>\" +\n\t\t\t\t\tkey + \"</option>\";\n\t\t\t} else {\n\t\t\t\tcountry_options += \"<option value='\" + key + \"'>\" + key + \"</option>\";\n\t\t\t}\n\t\t}\n\t\tjQuery(\"#SCountry\").html(country_options);\n\t\tvar select_SCountry = jQuery('#SCountry');\n\t\tselect_SCountry.html(select_SCountry.find('option').sort(function (x, y) {\n\t\t\treturn jQuery(x).text() > jQuery(y).text() ? 1 : -1;\n\t\t}));\n\t\tjQuery(\"#SCountry\").val(\"United States\");\n\t\tvar us_states = Array();\n\t\tvar stores = \"\";\n\t\tjQuery(store_locators['United States']).each(function (ix, em) {\n\t\t\tif (us_states.indexOf(em.state) === -1) {\n\t\t\t\tus_states.push(em.state);\n\t\t\t}\n\t\t\tif (em.state === \"FL\") {\n\t\t\t\tstores += '<div class=\"col-6\"> \\\n                            <h2>' + em\n\t\t\t\t\t\t.store_name + '</h2>\\\n                            <p>' + em.store_details +\n\t\t\t\t\t'</p>\\\n                        </div>';\n\t\t\t}\n\t\t});\n\t\tjQuery(\"#wlocations .row\").html(stores);\n\t\tvar state_options = \"\";\n\t\tstate_options += \"<option value='FL' selected='selected'>State</option>\";\n\t\tjQuery(us_states).each(function (ix, em) {\n\t\t\tstate_options += \"<option value='\" + em + \"'>\" + em + \"</option>\";\n\t\t});\n\t\tjQuery(\"#SState\").html(state_options);\n\t\tvar select_SState = jQuery('#SState');\n\t\tselect_SState.html(select_SState.find('option').sort(function (x, y) {\n\t\t\treturn jQuery(x).text() > jQuery(y).text() ? 1 : -1;\n\t\t}));\n\t\tjQuery(\"#SState option[selected='selected']\").detach().prependTo('#SState');\n\t\tjQuery(\"#SState\").val(\"FL\");\n\t\tjQuery(document).on(\"change\", \"#SCountry\", function (e) {\n\t\t\tvar current_selected_country = jQuery(\"#SCountry\").val();\n\t\t\tif (current_selected_country == \"United States\") {\n\t\t\t\tjQuery(\"#SState\").fadeIn(50);\n\t\t\t} else {\n\t\t\t\tjQuery(\"#SState\").fadeOut(50);\n\t\t\t}\n\t\t});\n\t\tjQuery(document).on('click', \"[data-store-locators-search-button]\", function (\n\t\t\te) {\n\t\t\tshow_spinner();\n\t\t\te.preventDefault();\n\t\t\tvar stores = \"\";\n\t\t\t//Clear Markers array\n\t\t\tmarkers = [];\n\t\t\t//Clear Clustere's Markers\n\t\t\tmarkerCluster.clearMarkers();\n\t\t\t//For Bounds\n\t\t\tvar bounds = new google.maps.LatLngBounds();\n\t\t\tvar current_selected_country = jQuery(\"#SCountry\").val();\n\t\t\tif (current_selected_country == -1) {\n\t\t\t\tjQuery(\"[data-store-locators-current-country]\").html(\"All Stores\");\n\t\t\t} else {\n\t\t\t\tjQuery(\"[data-store-locators-current-country]\").html(\n\t\t\t\t\tcurrent_selected_country);\n\t\t\t}\n\t\t\tif (current_selected_country == \"United States\") {\n\t\t\t\tvar state_value = jQuery(\"#SState\").val();\n\t\t\t\tjQuery(store_locators['United States']).each(function (ix, em) {\n\t\t\t\t\tif (em.state === state_value) {\n\t\t\t\t\t\tstores +=\n\t\t\t\t\t\t\t'<div class=\"col-6\"> \\\n                                        <h2>' +\n\t\t\t\t\t\t\tem.store_name +\n\t\t\t\t\t\t\t'</h2>\\\n                                        <p>' + em.store_details +\n\t\t\t\t\t\t\t'</p>\\\n                                    </div>';\n\t\t\t\t\t\tvar marker = new google.maps.Marker({\n\t\t\t\t\t\t\tposition: new google.maps.LatLng(em.lat, em.lng)\n\t\t\t\t\t\t});\n\t\t\t\t\t\tvar infoWin = new google.maps.InfoWindow();\n\t\t\t\t\t\tgoogle.maps.event.addListener(marker, 'click', function (evt) {\n\t\t\t\t\t\t\tinfoWin.setContent(em.marker_store_details);\n\t\t\t\t\t\t\tinfoWin.open(map, marker);\n\t\t\t\t\t\t})\n\t\t\t\t\t\tvar bound = new google.maps.LatLng(em.lat, em.lng);\n\t\t\t\t\t\tbounds.extend(bound);\n\t\t\t\t\t\tmarkers.push(marker);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else if (current_selected_country == -1) {\n\t\t\t\tvar state_value = \"FL\"\n\t\t\t\tjQuery(store_locators['United States']).each(function (ix, em) {\n\t\t\t\t\t//WHEN ALL COUNTRIES SELECTED\n\t\t\t\t\t//SHOW STORES FROM US/FL\n\t\t\t\t\tif (em.state === state_value) {\n\t\t\t\t\t\tstores +=\n\t\t\t\t\t\t\t'<div class=\"col-6\"> \\\n                                        <h2>' +\n\t\t\t\t\t\t\tem.store_name +\n\t\t\t\t\t\t\t'</h2>\\\n                                        <p>' + em.store_details +\n\t\t\t\t\t\t\t'</p>\\\n                                    </div>';\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tfor (country in store_locators) {\n\t\t\t\t\tjQuery(store_locators[country]).each(function (ix, em) {\n\t\t\t\t\t\tvar marker = new google.maps.Marker({\n\t\t\t\t\t\t\tposition: new google.maps.LatLng(em.lat, em.lng)\n\t\t\t\t\t\t});\n\t\t\t\t\t\tvar infoWin = new google.maps.InfoWindow();\n\t\t\t\t\t\tgoogle.maps.event.addListener(marker, 'click', function (evt) {\n\t\t\t\t\t\t\tinfoWin.setContent(em.marker_store_details);\n\t\t\t\t\t\t\tinfoWin.open(map, marker);\n\t\t\t\t\t\t})\n\t\t\t\t\t\tvar bound = new google.maps.LatLng(em.lat, em.lng);\n\t\t\t\t\t\tbounds.extend(bound);\n\t\t\t\t\t\tmarkers.push(marker);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tjQuery(store_locators[current_selected_country]).each(function (ix, em) {\n\t\t\t\t\tstores +=\n\t\t\t\t\t\t'<div class=\"col-6\"> \\\n                                    <h2>' +\n\t\t\t\t\t\tem.store_name + '</h2>\\\n                                    <p>' +\n\t\t\t\t\t\tem.store_details + '</p>\\\n                                </div>';\n\t\t\t\t\tvar marker = new google.maps.Marker({\n\t\t\t\t\t\tposition: new google.maps.LatLng(em.lat, em.lng)\n\t\t\t\t\t});\n\t\t\t\t\tvar infoWin = new google.maps.InfoWindow();\n\t\t\t\t\tgoogle.maps.event.addListener(marker, 'click', function (evt) {\n\t\t\t\t\t\tinfoWin.setContent(em.marker_store_details);\n\t\t\t\t\t\tinfoWin.open(map, marker);\n\t\t\t\t\t})\n\t\t\t\t\tvar bound = new google.maps.LatLng(em.lat, em.lng);\n\t\t\t\t\tbounds.extend(bound);\n\t\t\t\t\tmarkers.push(marker);\n\t\t\t\t});\n\t\t\t}\n\t\t\tjQuery(\"#wlocations .row\").html(stores);\n\t\t\tmarkerCluster.addMarkers(markers, false);\n\t\t\tmarkerCluster.getMap().fitBounds(bounds);\n\t\t\tif (markers.length == 1) {\n\t\t\t\tmarkerCluster.getMap().setZoom(14);\n\t\t\t}\n\t\t\thide_spinner();\n\t\t});\n\t}\n\t/* Locators Page ends */\n\t/* FAQs Page begins */\n\tif (jQuery(\"[data-faq-accordion-list]\").length > 0) {\n\t\tvar list_markup = \"\";\n\t\tvar counter = 0;\n\t\tvar first_faq_cat = \"\";\n\t\tfor (key in faqs) {\n\t\t\tif (counter == 0) {\n\t\t\t\tfirst_faq_cat = key;\n\t\t\t}\n\t\t\tlist_markup += '<li><a data-faq-list-li data-faq-listname=\"' + key +\n\t\t\t\t'\" href=\"#\">\\\n            ' + key + '\\\n            </a></li>';\n\t\t\tcounter++;\n\t\t}\n\t\tjQuery(\"[data-faq-accordion-list]\").html(list_markup);\n\t\tvar accordion_content = \"\";\n\t\tcounter = 1;\n\t\tfaqs[first_faq_cat].forEach(function (em, ix) {\n\t\t\taccordion_content +=\n\t\t\t\t'<div class=\"card\">\\\n                                    <div class=\"card-header\" id=\"heading' +\n\t\t\t\tcounter +\n\t\t\t\t'\">\\\n                                        <h5 class=\"mb-0\">\\\n                                            <button class=\"collapsed\" data-target=\"#collapse' +\n\t\t\t\tcounter +\n\t\t\t\t'\" data-toggle=\"collapse\" >\\\n                                            ' +\n\t\t\t\tem.question +\n\t\t\t\t'\\\n                                            </button>\\\n                                        </h5>\\\n                                    </div>\\\n                                    <div class=\"collapse\" data-parent=\"#accordion-faqs\" id=\"collapse' +\n\t\t\t\tcounter +\n\t\t\t\t'\">\\\n                                        <div class=\"card-body\">\\\n                                        ' +\n\t\t\t\tem.answer +\n\t\t\t\t'\\\n                                        </div>\\\n                                    </div>\\\n                                </div>';\n\t\t\tcounter++;\n\t\t});\n\t\tjQuery(\"[data-faq-accordion-content]\").html(accordion_content);\n\t\tjQuery(document).on('click', \"[data-faq-list-li]\", function (e) {\n\t\t\tshow_spinner();\n\t\t\te.preventDefault();\n\t\t\tvar $this = e.target;\n\t\t\tvar faq_cat_name = jQuery($this).attr('data-faq-listname');\n\t\t\tvar accordion_content = \"\";\n\t\t\tcounter = 1;\n\t\t\tfaqs[faq_cat_name].forEach(function (em, ix) {\n\t\t\t\taccordion_content +=\n\t\t\t\t\t'<div class=\"card\">\\\n                                        <div class=\"card-header\" id=\"heading' +\n\t\t\t\t\tcounter +\n\t\t\t\t\t'\">\\\n                                            <h5 class=\"mb-0\">\\\n                                                <button class=\"collapsed\" data-target=\"#collapse' +\n\t\t\t\t\tcounter +\n\t\t\t\t\t'\" data-toggle=\"collapse\" >\\\n                                                ' +\n\t\t\t\t\tem.question +\n\t\t\t\t\t'\\\n                                                </button>\\\n                                            </h5>\\\n                                        </div>\\\n                                        <div class=\"collapse\" data-parent=\"#accordion-faqs\" id=\"collapse' +\n\t\t\t\t\tcounter +\n\t\t\t\t\t'\">\\\n                                            <div class=\"card-body\">\\\n                                            ' +\n\t\t\t\t\tem.answer +\n\t\t\t\t\t'\\\n                                            </div>\\\n                                        </div>\\\n                                    </div>';\n\t\t\t\tcounter++;\n\t\t\t});\n\t\t\tjQuery(\"[data-faq-accordion-content]\").html(accordion_content);\n\t\t\thide_spinner();\n\t\t});\n\t}\n\t/* FAQs Page Ends */\n\t/* Retail partners Page */\n\tjQuery(document).on('click', '[data-retail-partners-form-open]', function (e) {\n\t\te.preventDefault();\n\t\tjQuery(\"[data-retail-partners-form]\").slideDown(400);\n\t});\n\t/* Retail partners Page Ends*/\n\t/* Single Product Page */\n\tif (jQuery(\"[data-featured-ingredients-block]\").length > 0) {\n\t\tvar featured_ingredients_markup = \"\";\n\t\tvar prod_title = \"\";\n\t\tjQuery( featured_ingredients ).each( function( ix, em ) {\n\t\t\tvar img_url = app_uploads_url + em.image;\n\t\t\tvar ingredient_name = em.name;\n\t\t\tvar ingredient_info = em.description;\n           \n            prod_title += '<div class=\"col-6 col-sm-6 ing-block\">\\\n\t\t\t\t\t\t\t\t<div class=\"image\">\\\n\t\t\t\t\t\t\t\t<img src=\"' + img_url + '\" data-src=\"' + img_url +'\">\\\n\t\t\t\t\t\t\t\t<h5 class=\"mobile_title\">' + ingredient_name + '</h5>\\\n\t\t\t\t\t\t\t\t</div>\\\n\t\t\t\t\t\t\t\t<div class=\"ingre_wrapper\">\\\n\t\t\t\t\t\t\t\t<h5>' + ingredient_name +'</h5>';\n            if(typeof ingredient_info !== 'undefined'){\n               prod_title += '<div class=\"ing_info\"><p>' + ingredient_info +'</p></div>';\n            }\n            prod_title += '</div></div>';            \n\t\t\n\t\t} );\n\t\tjQuery(\"[data-featured-ingredients-row]\").html(prod_title);\n\t}\n\n\t\n\n\tif (jQuery(\"[data-product-page-quantity]\").length > 0) {\n\t\tjQuery(document).on('change', '#item_Quantity', function (e) {\n\t\t\t/*\n\t\t\tif ( parseInt( jQuery( \"#item_Quantity\" ).val() ) > 1 || parseInt( jQuery(\n\t\t\t\t\t\"#item_Quantity\" ).val() ) < 3 ) {\n\t\t\t\tjQuery( \"[data-type='minus']\" ).removeAttr( 'disabled' );\n\t\t\t\tjQuery( \"[data-type='plus']\" ).removeAttr( 'disabled' );\n\t\t\t} else {\n\t\t\t\tjQuery( \"[data-type='minus']\" ).attr( 'disabled', 'disabled' );\n\t\t\t\tjQuery( \"[data-type='plus']\" ).removeAttr( 'disabled' );\n\t\t\t}\n\t\t\t*/\n\t\t});\n\t\tjQuery(document).on('change', '#quantitym', function (e) {\n\t\t\tvar $this = e.target;\n\t\t\tjQuery(\"input[name='quantity']\").val(jQuery($this).val());\n\t\t});\n\t}\n\njQuery(document).on('click', \"[data-type='minus']\", function (e) {\n\t\tdo_console(1058);\n\t\te.preventDefault();\n\t\tvar current_val = jQuery(e.target).parents('.input-group').eq(0).find('[name=\"quantity\"]').val();\n\t\tvar update_val = parseInt(current_val) - 1;\n\t\tif (update_val < 1) {\n\t\t\tjQuery(e.target).parents('.input-group').eq(0).find('[name=\"quantity\"]').val(1);\n\t\t} else {\n\t\t\tjQuery(e.target).parents('.input-group').eq(0).find('[name=\"quantity\"]').val(update_val);\n\t\t}\n\t\tjQuery(e.target).parents('.input-group').eq(0).find('[name=\"quantity\"]').trigger('change');\n\t});\n\n\tjQuery(document).on('click', \"[data-type='plus']\", function (e) {\n\t\tdo_console(1070);\n    e.preventDefault();\n\t\tvar current_val = jQuery(e.target).parents('.input-group').eq(0).find('[name=\"quantity\"]').val();\n\t\tvar update_val = parseInt(current_val) + 1;\n\t\tif (update_val > 8) {\n\t\t\tjQuery(e.target).parents('.input-group').eq(0).find('[name=\"quantity\"]').val(3);\n\t\t} else {\n\t\t\tjQuery(e.target).parents('.input-group').eq(0).find('[name=\"quantity\"]').val(update_val);\n\t\t}\n\t\tjQuery(e.target).parents('.input-group').eq(0).find('[name=\"quantity\"]').trigger('change');\n\t});\n\n\n\n\n\tif (jQuery(\"[data-single-product-faqs]\").length > 0) {\n\t\tvar single_product_faq_markup = \"\";\n\t\tvar count = 1;\n\t\tjQuery(single_product_faqs).each(function (ix, em) {\n\t\t\tsingle_product_faq_markup +=\n\t\t\t\t'<div class=\"col-lg-6\">\\\n            <div class=\"faqs-header\" id=\"faqsH' +\n\t\t\t\tcount +\n\t\t\t\t'\">\\\n              <h5 class=\"mb-0\">\\\n                <button class=\"btn\" \\\n                data-toggle=\"collapse\" \\\n                data-target=\"#faqs' +\n\t\t\t\tcount +\n\t\t\t\t'\" aria-expanded=\"true\" aria-controls=\"faqs' +\n\t\t\t\tcount +\n\t\t\t\t'\">\\\n                  ' +\n\t\t\t\tem.question +\n\t\t\t\t'\\\n                  <i class=\"far fa-plus-circle\"></i>\\\n                </button>\\\n              </h5>\\\n            </div>\\\n            <div id=\"faqs' +\n\t\t\t\tcount +\n\t\t\t\t'\" class=\"collapse show\" aria-labelledby=\"faqsH' +\n\t\t\t\tcount +\n\t\t\t\t'\" data-parent=\"#accordion\">\\\n              <div class=\"faqs-body\">\\\n              ' +\n\t\t\t\tem.answer +\n\t\t\t\t'\\\n              </div>\\\n            </div>\\\n          </div>';\n\t\t\tcount++;\n\t\t});\n\t\tjQuery(\"[data-single-product-faqs]\").html(single_product_faq_markup);\n\t}\n\t// WHEN COLOR & SIZE BOTH OPTIONS ARE PRESENT\n\tif (jQuery(\"[data-product-size-color]\").length > 0 || jQuery(\n\t\t\"[data-product-size-color-flavor]\").length > 0) {\n\t\tjQuery(document).on('change',\n\t\t\t'[data-add-to-cart] [name=\"color\"],[data-add-to-cart] [name=\"size\"],[data-add-to-cart] [name=\"flavor\"]',\n\t\t\tfunction (e) {\n\t\t\t\tvar selected_size = jQuery('[data-add-to-cart] [name=\"size\"]:checked').val();\n\t\t\t\tvar selected_color = jQuery('[data-add-to-cart] [name=\"color\"]:checked').val();\n\t\t\t\tvar is_flavor_option_present = false;\n\t\t\t\tif (jQuery(\"[data-product-size-color-flavor]\").length > 0) {\n\t\t\t\t\tis_flavor_option_present = true;\n\t\t\t\t}\n\t\t\t\tvar selected_flavor = \"\";\n\t\t\t\tif (is_flavor_option_present) {\n\t\t\t\t\tselected_flavor = jQuery('[data-add-to-cart] [name=\"flavor\"]:checked').val();\n\t\t\t\t}\n\t\t\t\tjQuery(\".form-check\").removeAttr('disabled');\n\t\t\t\tjQuery(\".form-check input\").removeAttr('disabled');\n\t\t\t\tif (is_flavor_option_present) {\n\n\t\t\t\t\tif (selected_size) {\n\t\t\t\t\t\tjQuery(\"[data-variants] option:disabled[data-size-display='\" +\n\t\t\t\t\t\t\tselected_size + \"'][data-flavor-display='\" + selected_flavor + \"']\")\n\t\t\t\t\t\t\t.each(function (ix, em) {\n\t\t\t\t\t\t\t\tvar $this = jQuery(em);\n\t\t\t\t\t\t\t\tvar color = jQuery($this).attr('data-color');\n\t\t\t\t\t\t\t\tjQuery(\"#color-\" + color).attr('disabled', 'disabled');\n\t\t\t\t\t\t\t\tjQuery(\"#color-\" + color).find('input').attr('disabled', 'disabled');\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\tjQuery(\".color-group .form-check:not([disabled])\").each(function (ix, em) {\n\t\t\t\t\t\t\tvar current_color = jQuery(em).find('.form-check-input').val();\n\t\t\t\t\t\t\tif (jQuery(\"[data-variant-select] option[data-size-display='\" +\n\t\t\t\t\t\t\t\tselected_size + \"'][data-color-display='\" + current_color +\n\t\t\t\t\t\t\t\t\"'][data-flavor-display='\" + selected_flavor + \"']\").length == 0) {\n\t\t\t\t\t\t\t\tjQuery(em).attr('disabled', 'disabled');\n\t\t\t\t\t\t\t\tjQuery(em).find('input').attr('disabled', 'disabled');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\tjQuery(\"[data-variants] option:disabled[data-color-display='\" +\n\t\t\t\t\t\t\tselected_color + \"'][data-flavor-display='\" + selected_flavor + \"']\")\n\t\t\t\t\t\t\t.each(function (ix, em) {\n\t\t\t\t\t\t\t\tvar $this = jQuery(em);\n\t\t\t\t\t\t\t\tvar size = jQuery($this).attr('data-size');\n\t\t\t\t\t\t\t\tjQuery(\"#size-\" + size).attr('disabled', 'disabled');\n\t\t\t\t\t\t\t\tjQuery(\"#size-\" + size).find('input').attr('disabled', 'disabled');\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\tjQuery(\".size-group-new .form-check:not([disabled])\").each(function (ix,\n\t\t\t\t\t\t\tem) {\n\t\t\t\t\t\t\tvar current_size = jQuery(em).find('.form-check-input').val();\n\t\t\t\t\t\t\tif (jQuery(\"[data-variant-select] option[data-size-display='\" +\n\t\t\t\t\t\t\t\tcurrent_size + \"'][data-color-display='\" + selected_color +\n\t\t\t\t\t\t\t\t\"'][data-flavor-display='\" + selected_flavor + \"']\").length == 0) {\n\t\t\t\t\t\t\t\tjQuery(em).attr('disabled', 'disabled');\n\t\t\t\t\t\t\t\tjQuery(em).find('input').attr('disabled', 'disabled');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\tjQuery(\"[data-variants] option:disabled[data-color-display='\" +\n\t\t\t\t\t\t\tselected_color + \"'][data-size-display='\" + selected_size + \"']\").each(\n\t\t\t\t\t\t\t\tfunction (ix, em) {\n\t\t\t\t\t\t\t\t\tvar $this = jQuery(em);\n\t\t\t\t\t\t\t\t\tvar flavor = jQuery($this).attr('data-flavor');\n\t\t\t\t\t\t\t\t\tjQuery(\"#flavor-\" + flavor).attr('disabled', 'disabled');\n\t\t\t\t\t\t\t\t\tjQuery(\"#flavor-\" + flavor).find('input').attr('disabled',\n\t\t\t\t\t\t\t\t\t\t'disabled');\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\tjQuery(\".flavor-group-new .form-check:not([disabled])\").each(function (ix,\n\t\t\t\t\t\t\tem) {\n\t\t\t\t\t\t\tvar current_flavor = jQuery(em).find('.form-check-input').val();\n\t\t\t\t\t\t\tif (jQuery(\"[data-variant-select] option[data-size-display='\" +\n\t\t\t\t\t\t\t\tselected_size + \"'][data-color-display='\" + selected_color +\n\t\t\t\t\t\t\t\t\"'][data-flavor-display='\" + current_flavor + \"']\").length == 0) {\n\t\t\t\t\t\t\t\tjQuery(em).attr('disabled', 'disabled');\n\t\t\t\t\t\t\t\tjQuery(em).find('input').attr('disabled', 'disabled');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tjQuery(\"[data-variants] option:disabled[data-flavor-display='\" +\n\t\t\t\t\t\t\tselected_flavor + \"']\").each(function (ix, em) {\n\t\t\t\t\t\t\t\tvar $this = jQuery(em);\n\t\t\t\t\t\t\t\tvar color = jQuery($this).attr('data-color');\n\t\t\t\t\t\t\t\tjQuery(\"#color-\" + color).attr('disabled', 'disabled');\n\t\t\t\t\t\t\t\tjQuery(\"#color-\" + color).find('input').attr('disabled', 'disabled');\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\tjQuery(\".color-group .form-check:not([disabled])\").each(function (ix, em) {\n\t\t\t\t\t\t\tvar current_color = jQuery(em).find('.form-check-input').val();\n\t\t\t\t\t\t\tif (jQuery(\"[data-variant-select] option[data-flavor-display='\" +\n\t\t\t\t\t\t\t\tselected_flavor + \"'][data-color-display='\" + current_color + \"']\")\n\t\t\t\t\t\t\t\t.length == 0) {\n\n\t\t\t\t\t\t\t\tjQuery(em).attr('disabled', 'disabled');\n\t\t\t\t\t\t\t\tjQuery(em).find('input').attr('disabled', 'disabled');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\tjQuery(\"[data-variants] option:disabled[data-color-display='\" +\n\t\t\t\t\t\t\tselected_color + \"']\").each(function (ix, em) {\n\t\t\t\t\t\t\t\tvar $this = jQuery(em);\n\t\t\t\t\t\t\t\tvar size = jQuery($this).attr('data-flavor');\n\t\t\t\t\t\t\t\tjQuery(\"#flavor-\" + size).attr('disabled', 'disabled');\n\t\t\t\t\t\t\t\tjQuery(\"#flavor-\" + size).find('input').attr('disabled', 'disabled');\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\tjQuery(\".flavor-group-new .form-check:not([disabled])\").each(function (ix,\n\t\t\t\t\t\t\tem) {\n\t\t\t\t\t\t\tvar current_size = jQuery(em).find('.form-check-input').val();\n\t\t\t\t\t\t\tif (jQuery(\"[data-variant-select] option[data-flavor-display='\" +\n\t\t\t\t\t\t\t\tcurrent_size + \"'][data-color-display='\" + selected_color + \"']\")\n\t\t\t\t\t\t\t\t.length == 0) {\n\t\t\t\t\t\t\t\tjQuery(em).attr('disabled', 'disabled');\n\t\t\t\t\t\t\t\tjQuery(em).find('input').attr('disabled', 'disabled');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tjQuery(\"[data-variants] option:disabled[data-size-display='\" +\n\t\t\t\t\t\tselected_size + \"']\").each(function (ix, em) {\n\t\t\t\t\t\t\tvar $this = jQuery(em);\n\t\t\t\t\t\t\tvar color = jQuery($this).attr('data-color');\n\t\t\t\t\t\t\tjQuery(\"#color-\" + color).attr('disabled', 'disabled');\n\t\t\t\t\t\t\tjQuery(\"#color-\" + color).find('input').attr('disabled', 'disabled');\n\t\t\t\t\t\t});\n\t\t\t\t\tjQuery(\".color-group .form-check:not([disabled])\").each(function (ix, em) {\n\t\t\t\t\t\tvar current_color = jQuery(em).find('.form-check-input').val();\n\t\t\t\t\t\tif (jQuery(\"[data-variant-select] option[data-size-display='\" +\n\t\t\t\t\t\t\tselected_size + \"'][data-color-display='\" + current_color + \"']\")\n\t\t\t\t\t\t\t.length == 0) {\n\t\t\t\t\t\t\t//do_console(\"[data-variant-select] option[data-size-display='\"+selected_size+\"'][data-color-display='\"+current_color+\"']\" + \" Unavailable\");\n\t\t\t\t\t\t\tjQuery(em).attr('disabled', 'disabled');\n\t\t\t\t\t\t\tjQuery(em).find('input').attr('disabled', 'disabled');\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tjQuery(\"[data-variants] option:disabled[data-color-display='\" +\n\t\t\t\t\t\tselected_color + \"']\").each(function (ix, em) {\n\t\t\t\t\t\t\tvar $this = jQuery(em);\n\t\t\t\t\t\t\tvar size = jQuery($this).attr('data-size');\n\t\t\t\t\t\t\tjQuery(\"#size-\" + size).attr('disabled', 'disabled');\n\t\t\t\t\t\t\tjQuery(\"#size-\" + size).find('input').attr('disabled', 'disabled');\n\t\t\t\t\t\t});\n\t\t\t\t\tjQuery(\".size-group-new .form-check:not([disabled])\").each(function (ix,\n\t\t\t\t\t\tem) {\n\t\t\t\t\t\tvar current_size = jQuery(em).find('.form-check-input').val();\n\t\t\t\t\t\tif (jQuery(\"[data-variant-select] option[data-size-display='\" +\n\t\t\t\t\t\t\tcurrent_size + \"'][data-color-display='\" + selected_color + \"']\")\n\t\t\t\t\t\t\t.length == 0) {\n\t\t\t\t\t\t\tjQuery(em).attr('disabled', 'disabled');\n\t\t\t\t\t\t\tjQuery(em).find('input').attr('disabled', 'disabled');\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tvar selected_variant_title = selected_size + \" / \" + selected_color;\n\t\t\t\tif (is_flavor_option_present) {\n\t\t\t\t\tif (selected_size) {\n\t\t\t\t\t\tselected_variant_title += \" / \" + selected_flavor;\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tvar selected_variant_title = selected_color;\n\t\t\t\t\t\tselected_variant_title += \" / \" + selected_flavor;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tjQuery(\"[data-variant-select]\").find('option').each(function (ix, em) {\n\t\t\t\t\tvar loop_variant_text = jQuery(em).html().trim();\n\t\t\t\t\tdebugger;\n\t\t\t\t\tif (selected_variant_title.trim() == loop_variant_text) {\n\t\t\t\t\t\tvar selected_variant_id = jQuery(em).attr('value');\n\t\t\t\t\t\tjQuery(\"[data-variant-select]\").val(selected_variant_id);\n\t\t\t\t\t\tdebugger;\n\t\t\t\t\t\tjQuery(em).prop('selected', true);\n\t\t\t\t\t\tjQuery(\"[data-variant-select]\").trigger('change');\n\t\t\t\t\t\tif (jQuery(em).attr('disabled') == 'disabled') {\n\t\t\t\t\t\t\tjQuery(\"#text-color\").text(\"Not available.\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjQuery(\"#text-color\").text(selected_variant_title);\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\tjQuery(document).on('change', '[data-variant-select]', function (e) {\n\t\t\tvar em = jQuery('[data-variant-select] option:selected');\n\t\t\t//var product_id = jQuery( em ).val();\n\t\t\tvar show_selected_image = jQuery(em).attr('data-variant-image');\n\t\t\tvar show_selected_image_srcset = jQuery(em).attr('data-variant-srcset');\n\n\t\t\tvar price_to_update = jQuery(em).attr('data-price');\n\t\t\tjQuery(\"#proprice\").html(price_to_update);\n\t\t\tjQuery(\"#proprice2\").html(price_to_update);\n\n\t\t\t//jQuery( \"[name='id']\" ).val( product_id );\n\t\t\tvar product_id = '';\n\t\t\tif (jQuery('.subscription_value.product_add .subscription-freq').length) {\n\t\t\t\tjQuery(\".subscription_value.product_add .subscription-freq option:selected\").each(function (ix, ex) {\n\t\t\t\t\tvar sub_val = jQuery(ex).val();\n\t\t\t\t\tif (sub_val == 'subscribe-save') {\n\t\t\t\t\t\t//product_id = jQuery(em).attr('data-subs-id');\n\t\t\t\t\t\tproduct_id = jQuery(em).val();\n\t\t\t\t\t\tjQuery(\".hidden_input_value\").val(product_id);\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tproduct_id = jQuery(em).val();\n\t\t\t\t\t\tjQuery(\".hidden_input_value\").val(product_id);\n\t\t\t\t\t\tjQuery(\".hidden_input_value\").attr('data-single-product', product_id);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tproduct_id = jQuery(em).val();\n\t\t\t\tjQuery(\".hidden_input_value\").val(product_id);\n\t\t\t\tjQuery(\".hidden_input_value\").attr('data-single-product', product_id);\n\t\t\t}\n\t\t\tproduct_id_onetime = jQuery(em).val();\n\t\t\tjQuery(\".hidden_input_value\").attr('data-single-product', product_id_onetime);\n\t\t\tupdate_rechargeprice(product_id);\n\t\t\tif (is_DOM_Ready == true) {\n\t\t\t\tjQuery(\"#product-content-slider0\").slick('slickGoTo', 0);\n\t\t\t\tjQuery(\"#product-content-slider0 .slick-active\").find('img').attr('src',\n\t\t\t\t\tshow_selected_image);\n\t\t\t\tjQuery(\"#product-content-slider0 .slick-active\").find('img').attr(\n\t\t\t\t\t'srcset', show_selected_image_srcset);\n\t\t\t}\n\t\t\twindow.history.replaceState(null, null, \"?variant=\" + product_id);\n\t\t});\n\t\tvar em = jQuery('[data-variant-select] option:selected');\n\t\tvar show_selected_image = jQuery(em).attr('data-variant-image');\n\t\tvar show_selected_image_srcset = jQuery(em).attr('data-variant-srcset');\n\t\tjQuery(\"#product-content-slider0\").slick('slickGoTo', 0);\n\t\tjQuery(\"#product-content-slider0 .slick-active\").find('img').attr('src',\n\t\t\tshow_selected_image);\n\t\tjQuery(\"#product-content-slider0 .slick-active\").find('img').attr('srcset',\n\t\t\tshow_selected_image_srcset);\n\t\tvar default_selected_size = jQuery(em).attr('data-size')\n\t\tjQuery(\"[data-variants] option:disabled[data-size='\" + default_selected_size +\n\t\t\t\"']\").each(function (ix, em) {\n\t\t\t\tvar $this = jQuery(em);\n\t\t\t\tvar color = jQuery($this).attr('data-color');\n\t\t\t\tjQuery(\"#color-\" + color).attr('disabled', 'disabled');\n\t\t\t\tjQuery(\"#color-\" + color).find('input').attr('disabled', 'disabled');\n\t\t\t});\n\t\tjQuery('[data-add-to-cart] [name=\"color\"]').trigger('change');\n\t}\n\t// WHEN SIZE & SIGN BOTH OPTIONS ARE PRESENT\n\tif (jQuery(\"[data-product-size-sign]\").length > 0) {\n\t\tjQuery('[data-select-sign]').selectric();\n\t\tjQuery(document).on('change',\n\t\t\t'[data-add-to-cart] [name=\"sign\"],[data-add-to-cart] [name=\"size\"]',\n\t\t\tfunction (e) {\n\t\t\t\tvar selected_size = jQuery('[data-add-to-cart] [name=\"size\"]:checked').val();\n\t\t\t\tvar selected_color = jQuery('[data-add-to-cart] [name=\"sign\"]').val();\n\t\t\t\tjQuery(\".form-check\").removeAttr('disabled');\n\t\t\t\tjQuery(\".form-check input\").removeAttr('disabled');\n\t\t\t\tjQuery(\"[data-select-sign] option\").removeAttr('disabled');\n\t\t\t\tjQuery(\"[data-variants] option:disabled[data-size-display='\" + selected_size +\n\t\t\t\t\t\"']\").each(function (ix, em) {\n\t\t\t\t\t\tvar $this = jQuery(em);\n\t\t\t\t\t\tvar color = jQuery($this).attr('data-sign');\n\t\t\t\t\t\tjQuery(\"#sign-\" + color).attr('disabled', 'disabled');\n\t\t\t\t\t\tjQuery(\"#sign-\" + color).find('input').attr('disabled', 'disabled');\n\t\t\t\t\t});\n\t\t\t\tjQuery(\"[data-sign-group] option:not([disabled])\").each(function (ix, em) {\n\t\t\t\t\tvar current_sign = jQuery(em).text().trim();\n\t\t\t\t\tif (jQuery(\"[data-variant-select] option[data-size-display='\" +\n\t\t\t\t\t\tselected_size + \"'][data-sign-display='\" + current_sign + \"']\").length ==\n\t\t\t\t\t\t0) {\n\t\t\t\t\t\tjQuery(em).attr('disabled', 'disabled');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tjQuery(\"[data-variants] option:disabled[data-sign-display='\" +\n\t\t\t\t\tselected_color + \"']\").each(function (ix, em) {\n\t\t\t\t\t\tvar $this = jQuery(em);\n\t\t\t\t\t\tvar size = jQuery($this).attr('data-size');\n\t\t\t\t\t\tjQuery(\"#size-\" + size).attr('disabled', 'disabled');\n\t\t\t\t\t\tjQuery(\"#size-\" + size).find('input').attr('disabled', 'disabled');\n\t\t\t\t\t});\n\t\t\t\tjQuery(\"[data-size-group] .form-check:not([disabled])\").each(function (ix,\n\t\t\t\t\tem) {\n\t\t\t\t\tvar current_size = jQuery(em).find('.form-check-input').val();\n\t\t\t\t\tif (jQuery(\"[data-variant-select] option[data-size-display='\" +\n\t\t\t\t\t\tcurrent_size + \"'][data-sign-display='\" + selected_color + \"']\").length ==\n\t\t\t\t\t\t0) {\n\t\t\t\t\t\tjQuery(em).attr('disabled', 'disabled');\n\t\t\t\t\t\tjQuery(em).find('input').attr('disabled', 'disabled');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tjQuery('[data-select-sign]').data('selectric').refresh();\n\t\t\t\tvar selected_variant_title = selected_size + \" / \" + selected_color;\n\t\t\t\tjQuery(\"[data-variant-select]\").find('option').each(function (ix, em) {\n\t\t\t\t\tvar loop_variant_text = jQuery(em).html().trim();\n\t\t\t\t\tdebugger;\n\t\t\t\t\tif (selected_variant_title.trim() == loop_variant_text) {\n\t\t\t\t\t\tvar selected_variant_id = jQuery(em).attr('value');\n\t\t\t\t\t\tjQuery(\"[data-variant-select]\").val(selected_variant_id);\n\t\t\t\t\t\tjQuery(em).prop('selected', true);\n\t\t\t\t\t\tjQuery(\"[data-variant-select]\").trigger('change');\n\t\t\t\t\t\tif (jQuery(em).attr('disabled') == 'disabled') {\n\t\t\t\t\t\t\tjQuery(\"#text-color\").text(\"Not available.\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjQuery(\"#text-color\").text(selected_variant_title);\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\tjQuery(document).on('change', '[data-variant-select]', function (e) {\n\t\t\tvar em = jQuery('[data-variant-select] option:selected');\n\t\t\t//var product_id = jQuery( em ).val();\n\t\t\tvar show_selected_image = jQuery(em).attr('data-variant-image');\n\t\t\tvar show_selected_image_srcset = jQuery(em).attr('data-variant-srcset');\n\t\t\tvar price_to_update = jQuery(em).attr('data-price');\n\t\t\tjQuery(\"#proprice\").html(price_to_update);\n\t\t\tjQuery(\"#proprice2\").html(price_to_update);\n\t\t\t//jQuery( \"[name='id']\" ).val( product_id );\n\t\t\tvar product_id = '';\n\t\t\tif (jQuery('.subscription_value.product_add .subscription-freq').length) {\n\t\t\t\tjQuery(\".subscription_value.product_add .subscription-freq option:selected\").each(function (ix, ex) {\n\t\t\t\t\tvar sub_val = jQuery(ex).val();\n\t\t\t\t\tif (sub_val == 'subscribe-save') {\n\t\t\t\t\t\t//product_id = jQuery(em).attr('data-subs-id');\n\t\t\t\t\t\tproduct_id = jQuery(em).val();\n\t\t\t\t\t\tjQuery(\".hidden_input_value\").val(product_id);\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tproduct_id = jQuery(em).val();\n\t\t\t\t\t\tjQuery(\".hidden_input_value\").val(product_id);\n\t\t\t\t\t\tjQuery(\".hidden_input_value\").attr('data-single-product', product_id);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tproduct_id = jQuery(em).val();\n\t\t\t\tjQuery(\".hidden_input_value\").val(product_id);\n\t\t\t\tjQuery(\".hidden_input_value\").attr('data-single-product', product_id);\n\t\t\t}\n\t\t\tproduct_id_onetime = jQuery(em).val();\n\t\t\tjQuery(\".hidden_input_value\").attr('data-single-product', product_id_onetime);\n\t\t\tupdate_rechargeprice(product_id);\n\t\t\tvar sliderToMoveTo = jQuery(\"#product-content-slider0 .slide-item img[src='\" +\n\t\t\t\tshow_selected_image + \"']\").parents('.slide-item').eq(0).attr(\n\t\t\t\t\t'data-slick-index');\n\t\t\tjQuery(\"#product-content-slider0\").slick('slickGoTo', 0);\n\t\t\tjQuery(\"#product-content-slider0 .slick-active\").find('img').attr('src',\n\t\t\t\tshow_selected_image);\n\t\t\tjQuery(\"#product-content-slider0 .slick-active\").find('img').attr(\n\t\t\t\t'srcset', show_selected_image_srcset);\n\t\t\twindow.history.replaceState(null, null, \"?variant=\" + product_id);\n\t\t});\n\t\t// dhara 12-june comment this code\n\t\t// var em = jQuery('[data-variant-select] option:selected');\n\t\t// var show_selected_image = jQuery(em).attr('data-variant-image');\n\t\t// jQuery(\"#product-content-slider0\").slick('slickGoTo', 0);\n\t\t// jQuery(\"#product-content-slider0 .slick-active\").find('img').attr('src', show_selected_image);\n\t\tvar default_selected_size = jQuery(em).attr('data-size')\n\t\tjQuery(\"[data-variants] option:disabled[data-size='\" + default_selected_size +\n\t\t\t\"']\").each(function (ix, em) {\n\t\t\t\tvar $this = jQuery(em);\n\t\t\t\tvar color = jQuery($this).attr('data-color');\n\t\t\t\tjQuery(\"#color-\" + color).attr('disabled', 'disabled');\n\t\t\t\tjQuery(\"#color-\" + color).find('input').attr('disabled', 'disabled');\n\t\t\t});\n\t\tjQuery('[data-add-to-cart] [name=\"color\"]').trigger('change');\n\t}\n\t// WHEN SINGLE OPTION IS PRESENT\n\tif (jQuery(\"[data-product-single-variant-option]\").length > 0) {\n\t\tjQuery(document).on('change', '[data-variant-select]', function (e) {\n\t\t\tvar em = jQuery('[data-variant-select] option:selected');\n\t\t\t//var product_id = jQuery( em ).val();\n\t\t\tvar product_id = '';\n\t\t\tif (jQuery('.subscription_value.product_add .subscription-freq').length) {\n\t\t\t\tjQuery(\".subscription_value.product_add .subscription-freq option:selected\").each(function (ix, ex) {\n\t\t\t\t\tvar sub_val = jQuery(ex).val();\n\t\t\t\t\tif (sub_val == 'subscribe-save') {\n\t\t\t\t\t\t//product_id = jQuery(em).attr('data-subs-id');\n\t\t\t\t\t\tproduct_id = jQuery(em).val();\n\t\t\t\t\t\tjQuery(\".hidden_input_value\").val(product_id);\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tproduct_id = jQuery(em).val();\n\t\t\t\t\t\tjQuery(\".hidden_input_value\").val(product_id);\n\t\t\t\t\t\tjQuery(\".hidden_input_value\").attr('data-single-product', product_id);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tproduct_id = jQuery(em).val();\n\t\t\t\tjQuery(\".hidden_input_value\").val(product_id);\n\t\t\t\tjQuery(\".hidden_input_value\").attr('data-single-product', product_id);\n\t\t\t}\n\t\t\tproduct_id_onetime = jQuery(em).val();\n\t\t\tjQuery(\".hidden_input_value\").attr('data-single-product', product_id_onetime);\n\t\t\tupdate_rechargeprice(product_id);\n\t\t\tvar show_selected_image = jQuery(em).attr('data-variant-image').trim();\n\t\t\tvar show_selected_image_srcset = jQuery(em).attr('data-variant-srcset');\n\t\t\tvar price_to_update = jQuery(em).attr('data-price');\n\t\t\tjQuery(\"#proprice\").html(price_to_update);\n\t\t\tjQuery(\"#proprice2\").html(price_to_update);\n\t\t\tif (show_selected_image != -1) {\n\t\t\t\tjQuery(\"#product-content-slider0\").slick('slickGoTo', 0);\n\t\t\t\tjQuery(\"#product-content-slider0 .slick-active\").find('img').attr('src',\n\t\t\t\t\tshow_selected_image);\n\t\t\t\tjQuery(\"#product-content-slider0 .slick-active\").find('img').attr(\n\t\t\t\t\t'srcset', show_selected_image_srcset);\n\t\t\t}\n\t\t\twindow.history.replaceState(null, null, \"?variant=\" + product_id);\n\t\t});\n\t\tjQuery(document).on('change', '[data-variant-radio-select]', function (e) {\n\t\t\tdo_console('test 1517');\n\t\t\t\n\t\t\t\n\t\t\tvar em = jQuery('[data-variant-radio-select]:checked');\n\t\t\tvar product_id = '';\n\t\t\tif (jQuery('.subscription_value.product_add .subscription-freq').length) {\n\t\t\t\tjQuery(\".subscription_value.product_add .subscription-freq option:selected\").each(function (ix, ex) {\n\t\t\t\t\tdebugger\n\t\t\t\t\tvar sub_val = jQuery(ex).val();\n\t\t\t\t\tif (sub_val == 'subscribe-save') {\n\t\t\t\t\t\tadjust_sub_options();\n\t\t\t\t\t\t//product_id = jQuery(em).attr('data-subs-id');\n\t\t\t\t\t\tproduct_id = jQuery(em).val();\n\t\t\t\t\t\tjQuery(\".hidden_input_value\").val(product_id);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tproduct_id = jQuery(em).val();\n\t\t\t\t\t\tjQuery(\".hidden_input_value\").val(product_id);\n\t\t\t\t\t\tjQuery(\".hidden_input_value\").attr('data-single-product', product_id);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tproduct_id = jQuery(em).val();\n\t\t\t\tjQuery(\".hidden_input_value\").val(product_id);\n\t\t\t\tjQuery(\".hidden_input_value\").attr('data-single-product', product_id);\n\t\t\t}\n\t\t\tproduct_id_onetime = jQuery(em).val();\n\t\t\tjQuery(\".hidden_input_value\").attr('data-single-product', product_id_onetime);\n\t\t\tupdate_rechargeprice(product_id);\n\t\t\t//do_console(product_id);\n\n\t\t\tvar show_selected_image = jQuery(em).attr('data-variant-image').trim();\n\t\t\tvar show_selected_image_srcset = jQuery(em).attr('data-variant-srcset');\n\t\t\tdebugger;\n\t\t\tvar price_to_update = jQuery(em).attr('data-price');\n\t\t\tvar variant_title = jQuery(em).attr('data-variant-title');\n\t\t\tvar pre_order_text = jQuery('#crtbtn1').attr('data-pre-text');\n\t\t\tif (jQuery(em).attr('data-is-not-available') == 'not-available') {\n\t\t\t\tif (typeof pre_order_text !== typeof undefined && pre_order_text !== false) {\n\t\t\t\t\tjQuery(\"#crtbtn1\").text(pre_order_text);\n\t\t\t\t} else {\n\t\t\t\t\tjQuery(\"#crtbtn1\").text(\"Out Of stock\");\n\t\t\t\t}\n\t\t\t\tjQuery(\"#crtbtn1\").attr('disabled', 'disabled');\n\t\t\t\t//do_console(\"is not avialable\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tif (typeof pre_order_text !== typeof undefined && pre_order_text !== false) {\n\t\t\t\t\tjQuery(\"#crtbtn1\").text(pre_order_text);\n\t\t\t\t} else {\n\t\t\t\t\tif (jQuery('.subscription_value.product_add .subscription-freq').length) {\n\t\t\t\t\t\tdo_console('there is subs');\n\t\t\t\t\t\tjQuery(\".subscription_value.product_add .subscription-freq option:selected\").each(function (ix, ex) {\n\t\t\t\t\t\t\tvar sub_val = jQuery(ex).val();\n\t\t\t\t\t\t\tif (sub_val == 'onetime') {\n\t\t\t\t\t\t\t\tvar variant_orig_price =parseInt(jQuery(em).attr('data-price').replace('.','').replace(',',''));\n\t\t\t\t\t\t\t\tconsole.log('value is onetime' + variant_orig_price);\n\t\t\t\t\t\t\t\tdebugger\n\t\t\t\t\t\t\t\tvariant_orig_price = Shopify.formatMoney(variant_orig_price,theme.moneyFormat);\n\t\t\t\t\t\t\t\tjQuery('.sub_wrap_new_ui .subscribe_wrapper .subscribe_one_purchase .subscribe_price .one_time_price').text(variant_orig_price);\n\t\t\t\t\t\t\t\tjQuery('#crtbtn1').html(\"Add to Cart \" + \"<span id='AddToCartText-product-template'>(\" + variant_orig_price + \")</span>\");\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tvar pro_disc_price = jQuery(ex).attr('data-discount-price');\n\t\t\t\t\t\t\t\tjQuery('#crtbtn1').html(\"Subscribe and Save \" + \"<span id='AddToCartText-product-template'>(\" + pro_disc_price + \")</span>\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlet current_price = parseInt($(`.product-cart-box [name=\"id\"]:checked`).attr('data-price').replace('.','').replace(',',''));\n\t\t\t\t\t\tcurrent_price = Shopify.formatMoney(current_price,theme.moneyFormat);\n\t\t\t\t\t\tdo_console('there is no subs');\n\t\t\t\t\t\tdebugger\n\t\t\t\t\t\tjQuery(\"#crtbtn1\").html(\"Add To Cart \"+ \"<span id='AddToCartText-product-template'>(\" + current_price + \")</span>\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tjQuery(\"#crtbtn1\").removeAttr('disabled');\n\t\t\t\t//do_console(\"is-avialable\");\n\t\t\t\tif (jQuery(em).attr('disabled') == 'disabled') {\n\t\t\t\t\tjQuery(\"#text-color\").text(\"Not available.\");\n\t\t\t\t} else {\n\t\t\t\t\tjQuery(\"#text-color\").text(variant_title);\n\t\t\t\t}\n\t\t\t}\n\t\t\tjQuery(\"#proprice\").html(price_to_update);\n\t\t\tjQuery(\"#proprice2\").html(price_to_update);\n\t\t\tif (show_selected_image != -1) {\n\t\t\t\tjQuery(\"#product-content-slider0\").slick('slickGoTo', 0);\n\t\t\t\tjQuery(\"#product-content-slider0 .slick-active\").find('img').attr('src',\n\t\t\t\t\tshow_selected_image);\n\t\t\t\tjQuery(\"#product-content-slider0 .slick-active\").find('img').attr(\n\t\t\t\t\t'srcset', show_selected_image_srcset);\n\t\t\t}\n\t\t\twindow.history.replaceState(null, null, \"?variant=\" + product_id);\n\t\t});\n\t\t/* chnage price and image sponge product */\n\t}\n\tjQuery(document).on('change', '[data-variant-sponge-radio-select ]', function (\n\t\te) {\n\t\tvar em = jQuery('[data-variant-sponge-radio-select ]:checked');\n\t\tvar product_id = '';\n\t\tif (jQuery('.subscription_value.product_add .subscription-freq').length) {\n\t\t\tjQuery(\".subscription_value.product_add .subscription-freq option:selected\").each(function (ix, ex) {\n\t\t\t\tvar sub_val = jQuery(ex).val();\n\t\t\t\tif (sub_val == 'subscribe-save') {\n\t\t\t\t\t//product_id = jQuery(em).attr('data-subs-id');\n\t\t\t\t\tproduct_id = jQuery(em).val();\n\t\t\t\t\tjQuery(\".hidden_input_value\").val(product_id);\n\t\t\t\t} else {\n\t\t\t\t\tproduct_id = jQuery(em).val();\n\t\t\t\t\tjQuery(\".hidden_input_value\").val(product_id);\n\t\t\t\t\tjQuery(\".hidden_input_value\").attr('data-single-product', product_id);\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\tproduct_id = jQuery(em).val();\n\t\t\tjQuery(\".hidden_input_value\").val(product_id);\n\t\t\tjQuery(\".hidden_input_value\").attr('data-single-product', product_id);\n\t\t}\n\t\tupdate_rechargeprice(product_id);\n\t\tvar show_selected_image = jQuery(em).attr('data-variant-image').trim();\n\t\tvar show_selected_image_srcset = jQuery(em).attr('data-variant-srcset').trim();\n\t\tvar price_to_update = jQuery(em).attr('data-price');\n\t\tvar variant_title = jQuery(em).attr('data-variant-title');\n\t\tvar sliderToMoveTo = jQuery(\"#product-content-slider0 .slide-item img[src='\" +\n\t\t\tshow_selected_image + \"']\").parents('.slide-item').eq(0).attr(\n\t\t\t\t'data-slick-index');\n\t\tif (jQuery(em).attr('disabled') == 'disabled') {\n\t\t\tjQuery(\"#text-color\").text(\"Not available.\");\n\t\t} else {\n\t\t\tjQuery(\"#text-color\").text(variant_title);\n\t\t}\n\t\tjQuery(\"#proprice\").html(price_to_update);\n\t\tjQuery(\"#proprice2\").html(price_to_update);\n\t\tif (show_selected_image != -1) {\n\t\t\tjQuery(\"#product-content-slider0\").slick('slickGoTo', 0);\n\t\t\tjQuery(\"#product-content-slider0 .slick-active\").find('img').attr('src',\n\t\t\t\tshow_selected_image);\n\t\t\tjQuery(\"#product-content-slider0 .slick-active\").find('img').attr(\n\t\t\t\t'srcset', show_selected_image_srcset);\n\t\t}\n\t\twindow.history.replaceState(null, null, \"?variant=\" + product_id);\n\t\t$(`[name=\"subscribe_and_save\"]:checked`).trigger('change');\n\t});\n\t/* Single Product Page Ends */\n\t/* All Collection Page */\n\tif (jQuery(\"[data-collection-all-url]\").length > 0) {\n\t\tjQuery(document).on('change', \"[data-collection-all-url]\", function (e) {\n\t\t\t$em = e.target;\n\t\t\tvar url_to_move_to = jQuery($em).attr('data-collection-all-url')\n\t\t\twindow.location = url_to_move_to;\n\t\t});\n\t}\n\t/* Cart page */\n\tif (jQuery(\"body.template-cart [data-cart-section]\").length > 0) {\n\t\t/*\n\t\tjQuery(document).on('change', \"[name='updates[]']\", function (e) {\n\t\t\t//jQuery( \"[name='update']\" ).trigger( 'click' );\n\t\t\tjQuery(\"form.cart\")[0].submit();\n\t\t});\n\t\t*/\n\t\tjQuery(document).on('change','[data-itemkey]',function(e){\n\t\t\tlet em = jQuery(e.target);\n\t\t\tlet key = jQuery(em).attr('data-itemkey');\n\t\t\tlet quantity = jQuery(em).val();\n\t\t\tlet current_item = {};\n\t\t\tcurrent_item[key] = quantity;\n\t\t\tjQuery.ajax({\n\t\t\t  url: \"/cart/update.js\",\n\t\t\t  data: { 'updates': current_item },\n\t\t\t  method: \"POST\",\n\t\t\t  dataType: \"JSON\",\n\t\t\t  success: function (data) {\n\t\t\t\twindow.location = \"/cart\";\n\t\t\t  }, error: function (error) {\n\t\t\t\t\n\t\t\t  }\n\t\t\t});\n\t\t});\n\n\t\tjQuery(document).on('click', '.cart-h3', function (e) {\n\t\t\tvar $this = e.target;\n\t\t\tvar url_to_move = jQuery($this).attr('data-product-url');\n\t\t\twindow.location = (url_to_move);\n\t\t});\n\t}\n\t/* Cart page ends */\n\t/* blog page */\n\tjQuery(\".blog-post\").find(\"p\").each(function (ix, em) {\n\t\tif (jQuery(em).html() == \"&nbsp;\") {\n\t\t\tjQuery(em).remove();\n\t\t}\n\t});\n\t/* blog page ends */\n\t/* recipe page */\n\tif (jQuery(\".ingredients-directions\").length > 0) {\n\t\tjQuery(\".ingredients-directions\").find('h4').each(function (ix, em) {\n\t\t\tif (jQuery(em).parents('.checkbox-cont').eq(0).length > 0) {\n\t\t\t\tjQuery(em).insertAfter(jQuery(em).parents('.checkbox-cont').eq(0));\n\t\t\t}\n\t\t});\n\t}\n\t/* recipe page ends */\n\t/* Product Review submit */\n\tjQuery(document).on('click', '[data-submit=\"product_review\"]', function (e) {\n\t\tif (jQuery(\"#rating-form\")[0].checkValidity()) {\n\t\t\tshow_spinner();\n\t\t\te.preventDefault();\n\t\t\tjQuery.ajax({\n\t\t\t\ttype: 'post',\n\t\t\t\turl: app_url + '/feajax/add_review',\n\t\t\t\tdataType: \"json\",\n\t\t\t\tdata: jQuery('#rating-form').serialize(),\n\t\t\t\tsuccess: function (data) {\n\t\t\t\t\tif (data.success == \"true\") {\n\t\t\t\t\t\tjQuery(\"#rev2\").show(200);\n\t\t\t\t\t\tjQuery(\"#rev1\").hide(200);\n\t\t\t\t\t}\n\t\t\t\t\thide_spinner();\n\t\t\t\t},\n\t\t\t\terror: function (data) {\n\t\t\t\t\thide_spinner();\n\t\t\t\t\tjQuery(\"#rev2\").html(\"<h5>Error occured.<br/>Please try later.</h5>\");\n\t\t\t\t\tjQuery(\"#rev2\").show(200);\n\t\t\t\t\tjQuery(\"#rev1\").hide(200);\n\t\t\t\t\tjQuery(\n\t\t\t\t\t\t\"#rating-form input[type='text'], #rating-form input[type='email'], #rating-form textarea\"\n\t\t\t\t\t).val(\"\");\n\t\t\t\t}\n\t\t\t});\n\t\t\t/* jQuery.ajax ends */\n\t\t}\n\t});\n\t/* Product Review submit */\n\t/* Retail Partners Application Form submit */\n\tjQuery(document).on('click', '[data-submit-retailes-application]', function (e) {\n\t\tif (jQuery(\"[data-retailers-application]\")[0].checkValidity()) {\n\t\t\tif (grecaptcha.getResponse() == \"\") {\n\t\t\t\te.preventDefault();\n\t\t\t\talert(\"Please Fill captcha\");\n\t\t\t} else {\n\t\t\t\tshow_spinner();\n\t\t\t\te.preventDefault();\n\t\t\t\tjQuery.ajax({\n\t\t\t\t\ttype: 'post',\n\t\t\t\t\turl: app_url + '/feajax/add_retail_partner',\n\t\t\t\t\tdataType: \"json\",\n\t\t\t\t\tdata: jQuery('[data-retailers-application]').serialize(),\n\t\t\t\t\tsuccess: function (data) {\n\t\t\t\t\t\tif (data.success == \"true\") {\n\t\t\t\t\t\t\tjQuery('.retail_partner_ref_no').text(data.reference_id);\n\t\t\t\t\t\t\tjQuery(\".aplication-form-thankyou\").show(200);\n\t\t\t\t\t\t\tjQuery(\".aplication-form\").hide(200);\n\t\t\t\t\t\t\tjQuery(\n\t\t\t\t\t\t\t\t\"[data-retailers-application] input, [data-retailers-application] textarea, [data-retailers-application] radio\"\n\t\t\t\t\t\t\t).val(\"\");\n\t\t\t\t\t\t\tjQuery(\"[data-retailers-application] input[type='radio']\").prop(\n\t\t\t\t\t\t\t\t'checked', false);\n\t\t\t\t\t\t\tgrecaptcha.reset();\n\t\t\t\t\t\t}\n\t\t\t\t\t\thide_spinner();\n\t\t\t\t\t},\n\t\t\t\t\terror: function (data) {\n\t\t\t\t\t\thide_spinner();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t\t/* jQuery.ajax ends */\n\t\t}\n\t});\n\t/* Retail Partners Application Form submit */\n\t/* Contact Form submit */\n\tjQuery(document).on('click', '[data-contact-form-submit]', function (e) {\n\t\tif (jQuery(\"[data-contact-form]\")[0].checkValidity()) {\n\t\t\tif (grecaptcha.getResponse() == \"\") {\n\t\t\t\te.preventDefault();\n\t\t\t\talert(\"Please Fill captcha\");\n\t\t\t} else {\n\t\t\t\tshow_spinner();\n\t\t\t\te.preventDefault();\n\t\t\t\tjQuery.ajax({\n\t\t\t\t\ttype: 'post',\n\t\t\t\t\turl: app_url + '/feajax/add_contact_us',\n\t\t\t\t\tdataType: \"json\",\n\t\t\t\t\tdata: jQuery('[data-contact-form]').serialize(),\n\t\t\t\t\tsuccess: function (data) {\n\t\t\t\t\t\tif (data.success == \"true\") {\n\t\t\t\t\t\t\tjQuery('.contact_ref_no').text(data.reference_id);\n\t\t\t\t\t\t\tjQuery(\".contact-thankyou\").show(200);\n\t\t\t\t\t\t\tjQuery(\"#contactfrm\").hide(200);\n\t\t\t\t\t\t\tjQuery(\"[data-contact-form] input, [data-contact-form] textarea\").val(\n\t\t\t\t\t\t\t\t\"\");\n\t\t\t\t\t\t\tjQuery(\"[data-contact-form] select\").val(-1);\n\t\t\t\t\t\t\tgrecaptcha.reset();\n\t\t\t\t\t\t}\n\t\t\t\t\t\thide_spinner();\n\t\t\t\t\t},\n\t\t\t\t\terror: function (data) {\n\t\t\t\t\t\thide_spinner();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t\t/* jQuery.ajax ends */\n\t\t}\n\t});\n\t/* Contact Form submit */\n\t/* Single Variant Product addition javascript */\n\tjQuery(\".prouct-item a.image\").on('click', function (e) {\n\t\tvar currentEm = e.target;\n\t\tif (jQuery(currentEm).hasClass('add-to')) {\n\t\t\te.preventDefault;\n\t\t}\n\t});\n\t/**\n\t * jQuery Bar Rating Plugin v1.2.2\n\t * http://github.com/antennaio/jquery-bar-rating\n\t * Copyright (c) 2012-2016 Kazik Pietruszewski\n\t * This plugin is available under the MIT license.\n\t * http://www.opensource.org/licenses/mit-license.php\n\t */\n\t! function (t) {\n\t\t\"function\" == typeof define && define.amd ? define([\"jquery\"], t) :\n\t\t\t\"object\" == typeof module && module.exports ? module.exports = t(require(\n\t\t\t\t\"jquery\")) : t(jQuery)\n\t}(function (t) {\n\t\tvar e = function () {\n\t\t\tfunction e() {\n\t\t\t\tvar e = this,\n\t\t\t\t\tn = function () {\n\t\t\t\t\t\tvar n = [\"br-wrapper\"];\n\t\t\t\t\t\t\"\" !== e.options.theme && n.push(\"br-theme-\" + e.options.theme),\n\t\t\t\t\t\t\te.$elem.wrap(t(\"<div />\", {\n\t\t\t\t\t\t\t\t\"class\": n.join(\" \")\n\t\t\t\t\t\t\t}))\n\t\t\t\t\t},\n\t\t\t\t\ti = function () {\n\t\t\t\t\t\te.$elem.unwrap()\n\t\t\t\t\t},\n\t\t\t\t\ta = function (n) {\n\t\t\t\t\t\treturn t.isNumeric(n) && (n = Math.floor(n)), t(\n\t\t\t\t\t\t\t'option[value=\"' + n + '\"]', e.$elem)\n\t\t\t\t\t},\n\t\t\t\t\tr = function () {\n\t\t\t\t\t\tvar n = e.options.initialRating;\n\t\t\t\t\t\treturn n ? a(n) : t(\"option:selected\", e.$elem)\n\t\t\t\t\t},\n\t\t\t\t\to = function () {\n\t\t\t\t\t\tvar n = e.$elem.find('option[value=\"' + e.options.emptyValue + '\"]');\n\t\t\t\t\t\treturn !n.length && e.options.allowEmpty ? (n = t(\"<option />\", {\n\t\t\t\t\t\t\tvalue: e.options.emptyValue\n\t\t\t\t\t\t}), n.prependTo(e.$elem)) : n\n\t\t\t\t\t},\n\t\t\t\t\tl = function (t) {\n\t\t\t\t\t\tvar n = e.$elem.data(\"barrating\");\n\t\t\t\t\t\treturn \"undefined\" != typeof t ? n[t] : n\n\t\t\t\t\t},\n\t\t\t\t\ts = function (t, n) {\n\t\t\t\t\t\tnull !== n && \"object\" == typeof n ? e.$elem.data(\"barrating\", n) :\n\t\t\t\t\t\t\te.$elem.data(\"barrating\")[t] = n\n\t\t\t\t\t},\n\t\t\t\t\tu = function () {\n\t\t\t\t\t\tvar t = r(),\n\t\t\t\t\t\t\tn = o(),\n\t\t\t\t\t\t\ti = t.val(),\n\t\t\t\t\t\t\ta = t.data(\"html\") ? t.data(\"html\") : t.text(),\n\t\t\t\t\t\t\tl = null !== e.options.allowEmpty ? e.options.allowEmpty : !!n.length,\n\t\t\t\t\t\t\tu = n.length ? n.val() : null,\n\t\t\t\t\t\t\td = n.length ? n.text() : null;\n\t\t\t\t\t\ts(null, {\n\t\t\t\t\t\t\tuserOptions: e.options,\n\t\t\t\t\t\t\tratingValue: i,\n\t\t\t\t\t\t\tratingText: a,\n\t\t\t\t\t\t\toriginalRatingValue: i,\n\t\t\t\t\t\t\toriginalRatingText: a,\n\t\t\t\t\t\t\tallowEmpty: l,\n\t\t\t\t\t\t\temptyRatingValue: u,\n\t\t\t\t\t\t\temptyRatingText: d,\n\t\t\t\t\t\t\treadOnly: e.options.readonly,\n\t\t\t\t\t\t\tratingMade: !1\n\t\t\t\t\t\t})\n\t\t\t\t\t},\n\t\t\t\t\td = function () {\n\t\t\t\t\t\te.$elem.removeData(\"barrating\")\n\t\t\t\t\t},\n\t\t\t\t\tc = function () {\n\t\t\t\t\t\treturn l(\"ratingText\")\n\t\t\t\t\t},\n\t\t\t\t\tf = function () {\n\t\t\t\t\t\treturn l(\"ratingValue\")\n\t\t\t\t\t},\n\t\t\t\t\tg = function () {\n\t\t\t\t\t\tvar n = t(\"<div />\", {\n\t\t\t\t\t\t\t\"class\": \"br-widget\"\n\t\t\t\t\t\t});\n\t\t\t\t\t\treturn e.$elem.find(\"option\").each(function () {\n\t\t\t\t\t\t\tvar i, a, r, o;\n\t\t\t\t\t\t\ti = t(this).val(), i !== l(\"emptyRatingValue\") && (a = t(\n\t\t\t\t\t\t\t\tthis).text(), r = t(this).data(\"html\"), r && (a = r), o =\n\t\t\t\t\t\t\t\tt(\"<a />\", {\n\t\t\t\t\t\t\t\t\thref: \"#\",\n\t\t\t\t\t\t\t\t\t\"data-rating-value\": i,\n\t\t\t\t\t\t\t\t\t\"data-rating-text\": a,\n\t\t\t\t\t\t\t\t\thtml: e.options.showValues ? a : \"\"\n\t\t\t\t\t\t\t\t}), n.append(o))\n\t\t\t\t\t\t}), e.options.showSelectedRating && n.append(t(\"<div />\", {\n\t\t\t\t\t\t\ttext: \"\",\n\t\t\t\t\t\t\t\"class\": \"br-current-rating\"\n\t\t\t\t\t\t})), e.options.reverse && n.addClass(\"br-reverse\"),\n\t\t\t\t\t\t\te.options.readonly && n.addClass(\"br-readonly\"), n\n\t\t\t\t\t},\n\t\t\t\t\tp = function () {\n\t\t\t\t\t\treturn l(\"userOptions\").reverse ? \"nextAll\" : \"prevAll\"\n\t\t\t\t\t},\n\t\t\t\t\th = function (t) {\n\t\t\t\t\t\ta(t).prop(\"selected\", !0), l(\"userOptions\").triggerChange && e.$elem\n\t\t\t\t\t\t\t.change()\n\t\t\t\t\t},\n\t\t\t\t\tm = function () {\n\t\t\t\t\t\tt(\"option\", e.$elem).prop(\"selected\", function () {\n\t\t\t\t\t\t\treturn this.defaultSelected\n\t\t\t\t\t\t}), l(\"userOptions\").triggerChange && e.$elem.change()\n\t\t\t\t\t},\n\t\t\t\t\tv = function (t) {\n\t\t\t\t\t\tt = t ? t : c(), t == l(\"emptyRatingText\") && (t = \"\"),\n\t\t\t\t\t\t\te.options.showSelectedRating && e.$elem.parent().find(\n\t\t\t\t\t\t\t\t\".br-current-rating\").text(t)\n\t\t\t\t\t},\n\t\t\t\t\ty = function (t) {\n\t\t\t\t\t\treturn Math.round(Math.floor(10 * t) / 10 % 1 * 100)\n\t\t\t\t\t},\n\t\t\t\t\tb = function () {\n\t\t\t\t\t\te.$widget.find(\"a\").removeClass(function (t, e) {\n\t\t\t\t\t\t\treturn (e.match(/(^|\\s)br-\\S+/g) || []).join(\" \")\n\t\t\t\t\t\t})\n\t\t\t\t\t},\n\t\t\t\t\tw = function () {\n\t\t\t\t\t\tvar n, i, a = e.$widget.find('a[data-rating-value=\"' + f() + '\"]'),\n\t\t\t\t\t\t\tr = l(\"userOptions\").initialRating,\n\t\t\t\t\t\t\to = t.isNumeric(f()) ? f() : 0,\n\t\t\t\t\t\t\ts = y(r);\n\t\t\t\t\t\tif (b(), a.addClass(\"br-selected br-current\")[p()]().addClass(\n\t\t\t\t\t\t\t\"br-selected\"), !l(\"ratingMade\") && t.isNumeric(r)) {\n\t\t\t\t\t\t\tif (o >= r || !s) return;\n\t\t\t\t\t\t\tn = e.$widget.find(\"a\"), i = a.length ? a[l(\"userOptions\").reverse ?\n\t\t\t\t\t\t\t\t\"prev\" : \"next\"]() : n[l(\"userOptions\").reverse ? \"last\" :\n\t\t\t\t\t\t\t\t\t\"first\"](), i.addClass(\"br-fractional\"), i.addClass(\n\t\t\t\t\t\t\t\t\t\t\"br-fractional-\" + s)\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\t$ = function (t) {\n\t\t\t\t\t\treturn l(\"allowEmpty\") && l(\"userOptions\").deselectable ? f() ==\n\t\t\t\t\t\t\tt.attr(\"data-rating-value\") : !1\n\t\t\t\t\t},\n\t\t\t\t\tx = function (n) {\n\t\t\t\t\t\tn.on(\"click.barrating\", function (n) {\n\t\t\t\t\t\t\tvar i, a, r = t(this),\n\t\t\t\t\t\t\t\to = l(\"userOptions\");\n\t\t\t\t\t\t\treturn n.preventDefault(), i = r.attr(\"data-rating-value\"), a =\n\t\t\t\t\t\t\t\tr.attr(\"data-rating-text\"), jQuery(r) && (i = l(\n\t\t\t\t\t\t\t\t\t\"emptyRatingValue\"), a = l(\"emptyRatingText\")),\n\t\t\t\t\t\t\t\ts(\"ratingValue\", i), s(\"ratingText\", a), s(\"ratingMade\", !0),\n\t\t\t\t\t\t\t\th(i), v(a), w(), o.onSelect.call(e, f(), c(), n), !1\n\t\t\t\t\t\t})\n\t\t\t\t\t},\n\t\t\t\t\tC = function (e) {\n\t\t\t\t\t\te.on(\"mouseenter.barrating\", function () {\n\t\t\t\t\t\t\tvar e = t(this);\n\t\t\t\t\t\t\tb(), e.addClass(\"br-active\")[p()]().addClass(\"br-active\"), v(\n\t\t\t\t\t\t\t\te.attr(\"data-rating-text\"))\n\t\t\t\t\t\t})\n\t\t\t\t\t},\n\t\t\t\t\tO = function (t) {\n\t\t\t\t\t\te.$widget.on(\"mouseleave.barrating blur.barrating\", function () {\n\t\t\t\t\t\t\tv(), w()\n\t\t\t\t\t\t})\n\t\t\t\t\t},\n\t\t\t\t\tR = function (e) {\n\t\t\t\t\t\te.on(\"touchstart.barrating\", function (e) {\n\t\t\t\t\t\t\te.preventDefault(), e.stopPropagation(), t(this).click()\n\t\t\t\t\t\t})\n\t\t\t\t\t},\n\t\t\t\t\tV = function (t) {\n\t\t\t\t\t\tt.on(\"click.barrating\", function (t) {\n\t\t\t\t\t\t\tt.preventDefault()\n\t\t\t\t\t\t})\n\t\t\t\t\t},\n\t\t\t\t\tS = function (t) {\n\t\t\t\t\t\tx(t), e.options.hoverState && (C(t), O(t))\n\t\t\t\t\t},\n\t\t\t\t\tT = function (t) {\n\t\t\t\t\t\tt.off(\".barrating\")\n\t\t\t\t\t},\n\t\t\t\t\tj = function (t) {\n\t\t\t\t\t\tvar n = e.$widget.find(\"a\");\n\t\t\t\t\t\tl(\"userOptions\").fastClicks && R(n), t ? (T(n), V(n)) : S(\n\t\t\t\t\t\t\tn)\n\t\t\t\t\t};\n\t\t\t\tthis.show = function () {\n\t\t\t\t\tl() || (n(), u(), e.$widget = g(), e.$widget.insertAfter(e.$elem),\n\t\t\t\t\t\tw(), v(), j(e.options.readonly), e.$elem.hide())\n\t\t\t\t}, this.readonly = function (t) {\n\t\t\t\t\t\"boolean\" == typeof t && l(\"readOnly\") != t && (j(t), s(\n\t\t\t\t\t\t\"readOnly\", t), e.$widget.toggleClass(\"br-readonly\"))\n\t\t\t\t}, this.set = function (t) {\n\t\t\t\t\tvar n = l(\"userOptions\");\n\t\t\t\t\t0 !== e.$elem.find('option[value=\"' + t + '\"]').length && (s(\n\t\t\t\t\t\t\"ratingValue\", t), s(\"ratingText\", e.$elem.find(\n\t\t\t\t\t\t\t'option[value=\"' + t + '\"]').text()), s(\"ratingMade\", !0), h(\n\t\t\t\t\t\t\t\tf()), v(c()), w(), n.silent || n.onSelect.call(this, f(), c()))\n\t\t\t\t}, this.clear = function () {\n\t\t\t\t\tvar t = l(\"userOptions\");\n\t\t\t\t\ts(\"ratingValue\", l(\"originalRatingValue\")), s(\"ratingText\", l(\n\t\t\t\t\t\t\"originalRatingText\")), s(\"ratingMade\", !1), m(), v(c()), w(),\n\t\t\t\t\t\tt.onClear.call(this, f(), c())\n\t\t\t\t}, this.destroy = function () {\n\t\t\t\t\tvar t = f(),\n\t\t\t\t\t\tn = c(),\n\t\t\t\t\t\ta = l(\"userOptions\");\n\t\t\t\t\tT(e.$widget.find(\"a\")), e.$widget.remove(), d(), i(), e.$elem.show(),\n\t\t\t\t\t\ta.onDestroy.call(this, t, n)\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn e.prototype.init = function (e, n) {\n\t\t\t\treturn this.$elem = t(n), this.options = t.extend({}, t.fn.barrating\n\t\t\t\t\t.defaults, e), this.options\n\t\t\t}, e\n\t\t}();\n\t\tt.fn.barrating = function (n, i) {\n\t\t\treturn this.each(function () {\n\t\t\t\tvar a = new e;\n\t\t\t\tif (t(this).is(\"select\") || t.error(\n\t\t\t\t\t\"Sorry, this plugin only works with select fields.\"), a.hasOwnProperty(\n\t\t\t\t\t\tn)) {\n\t\t\t\t\tif (a.init(i, this), \"show\" === n) return a.show(i);\n\t\t\t\t\tif (a.$elem.data(\"barrating\")) return a.$widget = t(this).next(\n\t\t\t\t\t\t\".br-widget\"), a[n](i)\n\t\t\t\t} else {\n\t\t\t\t\tif (\"object\" == typeof n || !n) return i = n, a.init(i, this), a\n\t\t\t\t\t\t.show();\n\t\t\t\t\tt.error(\"Method \" + n + \" does not exist on jQuery.barrating\")\n\t\t\t\t}\n\t\t\t})\n\t\t}, t.fn.barrating.defaults = {\n\t\t\ttheme: \"\",\n\t\t\tinitialRating: null,\n\t\t\tallowEmpty: null,\n\t\t\temptyValue: \"\",\n\t\t\tshowValues: !1,\n\t\t\tshowSelectedRating: !0,\n\t\t\tdeselectable: !0,\n\t\t\treverse: !1,\n\t\t\treadonly: !1,\n\t\t\tfastClicks: !0,\n\t\t\thoverState: !0,\n\t\t\tsilent: !1,\n\t\t\ttriggerChange: !0,\n\t\t\tonSelect: function (t, e, n) { },\n\t\t\tonClear: function (t, e) { },\n\t\t\tonDestroy: function (t, e) { }\n\t\t}, t.fn.barrating.BarRating = e\n\t});\n\tjQuery(\"#review-rating\").barrating({\n\t\ttheme: \"fontawesome-stars\"\n\t});\n\t/* Loyalty page Js */\n\tjQuery('#f-tryagain').on('click', function () {\n\t\tdisplaydiv('reg-step-2', 1);\n\t\tdisplaydiv('reg-step-3', 0)\n\t});\n\tvar getUrlParameter = function getUrlParameter(sParam) {\n\t\tvar sPageURL = window.location.search.substring(1),\n\t\t\tsURLVariables = sPageURL.split('&'),\n\t\t\tsParameterName,\n\t\t\ti;\n\t\tfor (i = 0; i < sURLVariables.length; i++) {\n\t\t\tsParameterName = sURLVariables[i].split('=');\n\t\t\tif (sParameterName[0] === sParam) {\n\t\t\t\treturn sParameterName[1] === undefined ? true : decodeURIComponent(\n\t\t\t\t\tsParameterName[1]);\n\t\t\t}\n\t\t}\n\t}\n\tvar coupon_code = getUrlParameter('CouponCode');\n\tjQuery(\".coupon_code_loyalty\").attr(\"value\", coupon_code);\n\tjQuery(\".twitter-share-btn\").attr('href', encodeURI(\n\t\t'https://twitter.com/intent/tweet?url=https://www.teamiblends.com/&text=I will be starting my @teamiblends 30 Days detox. It helps to increase my energy, boost my metabolism, and most importantly decrease cravings, flatten my tummy and it also tastes great! Don\u2019t forget to use my code \u201C' +\n\t\tcoupon_code +\n\t\t'\u201D for discount your purchase! %23thankyouteami&via=teamiblends'));\n\tjQuery(\".facebook-share-btn\").attr('href',\n\t\t'https://www.facebook.com/sharer/sharer.php?u=www.teamiblends.com&quote=I%20will%20be%20starting%20my%20@teamiblends%2030%20Days%20detox.%20It%20helps%20to%20increase%20my%20energy,%20boost%20my%20metabolism,%20and%20most%20importantly%20decrease%20cravings,%20flatten%20my%20tummy%20and%20it%20also%20tastes%20great!%20Don%E2%80%99t%20forget%20to%20use%20my%20code%20%E2%80%9C' +\n\t\tcoupon_code +\n\t\t'%E2%80%9D%20for%20discount%20your%20purchase!%20%23thankyouteami');\n\t/* Document.ready ends */\n\tis_DOM_Ready = true;\n});\n/* Loyalty page Js */\nfunction loadingspinner(x) {\n\tif (x == 1) {\n\t\tdisplaydiv('loadingspinner', 1)\n\t} else {\n\t\tdisplaydiv('loadingspinner', 0)\n\t}\n}\n\nfunction addHidden(theForm, key, value) {\n\tvar input = document.createElement('input');\n\tinput.type = 'hidden';\n\tinput.name = key;\n\tinput.value = value;\n\ttheForm.appendChild(input)\n}\n\nfunction displaydiv(id, x) {\n\tif (x == 0) {\n\t\tvar dd = 'none'\n\t} else {\n\t\tvar dd = 'block'\n\t}\n\tdocument.getElementById(id).style.display = dd\n}\n\nfunction loyaltyRegister(x) {\n\tif (x == 1) {\n\t\tfixemail('RegEmail');\n\t\tfixemail('RegPayPal');\n\t\tjQuery(\".contact-section #RegEmail\").val(jQuery(\".contact-section #RegEmail\").val()\n\t\t\t.toLowerCase());\n\t\tjQuery(\".contact-section #RegPayPal\").val(jQuery(\".contact-section #RegPayPal\").val()\n\t\t\t.toLowerCase());\n\t\tdisplaydiv('reg-step-1', 0);\n\t\tdisplaydiv('reg-step-2', 1)\n\t} else if (x == 2) {\n\t\tloadingspinner(1);\n\t\tvar RegInstagram = jQuery('#RegInstagram').val();\n\t\tvar RegYouTube = jQuery('#RegYouTube').val();\n\t\tjQuery.ajax({\n\t\t\ttype: 'post',\n\t\t\turl: loyalty_app_url + '/auth/check_instagram_user',\n\t\t\tdataType: \"json\",\n\t\t\tdata: {\n\t\t\t\tinstagram_username: RegInstagram,\n\t\t\t\tyoutube_link: RegYouTube\n\t\t\t},\n\t\t\tsuccess: function (data) {\n\t\t\t\tif (data.error == \"true\") {\n\t\t\t\t\tloadingspinner(0);\n\t\t\t\t\talert(data.message);\n\t\t\t\t\treturn false;\n\t\t\t\t} else {\n\t\t\t\t\tjQuery(\"#f-username\").text(data.user_data.username);\n\t\t\t\t\tjQuery(\"#f-followers\").text(data.user_data.followers);\n\t\t\t\t\tjQuery(\"#f-image\").attr('src', data.user_data.profile_image);\n\t\t\t\t\tjQuery(\"#IgUserID\").val(data.user_data.instagram_id);\n\t\t\t\t\tjQuery(\"#IgImage\").val(data.user_data.profile_image);\n\t\t\t\t\tjQuery(\"#IgFollowers\").val(data.user_data.followers);\n\t\t\t\t\tjQuery(\"#IgFollowing\").val(data.user_data.follow);\n\t\t\t\t\tjQuery(\"#IgMedia\").val(data.user_data.media);\n\t\t\t\t\tdisplaydiv('reg-step-2', 0);\n\t\t\t\t\tdisplaydiv('reg-step-3', 1);\n\t\t\t\t\tloadingspinner(0);\n\t\t\t\t}\n\t\t\t},\n\t\t\terror: function (data) {\n\t\t\t\thide_spinner();\n\t\t\t}\n\t\t});\n\t} else if (x == 3) {\n\t\tdisplaydiv('reg-step-3', 0);\n\t\tdisplaydiv('reg-step-4', 1)\n\t} else if (x == 4) {\n\t\tloadingspinner(1);\n\t\tvar CouponCode = jQuery('#CouponCode').val();\n\t\tjQuery('#Coupon_code').val(CouponCode);\n\t\tjQuery.ajax({\n\t\t\ttype: 'post',\n\t\t\turl: loyalty_app_url + '/auth/check_coupon_code',\n\t\t\tdataType: \"json\",\n\t\t\tdata: {\n\t\t\t\tCouponCode: CouponCode\n\t\t\t},\n\t\t\tsuccess: function (data) {\n\t\t\t\tif (data.error == \"true\") {\n\t\t\t\t\talert(data.message);\n\t\t\t\t\tloadingspinner(0);\n\t\t\t\t\treturn false;\n\t\t\t\t} else {\n\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\ttype: 'post',\n\t\t\t\t\t\turl: loyalty_app_url + '/auth/add_shopify_user',\n\t\t\t\t\t\tdataType: \"json\",\n\t\t\t\t\t\tdata: jQuery('#loyalty-form-1,#loyalty-form-2').serialize(),\n\t\t\t\t\t\tsuccess: function (data) {\n\t\t\t\t\t\t\tloadingspinner(0);\n\t\t\t\t\t\t\tif (data.error == \"true\") {\n\t\t\t\t\t\t\t\talert(data.message)\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tloyalty_success_page_url + '?CouponCode=' + data.coupon_code\n\t\t\t\t\t\t\t\twindow.location = loyalty_success_page_url + '?CouponCode=' +\n\t\t\t\t\t\t\t\t\tdata.coupon_code;\n\t\t\t\t\t\t\t\tjQuery(\".coupon_code_loyalty\").attr(\"value\", data.coupon_code);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\terror: function (data) {\n\t\t\t\t\t\t\tloadingspinner(0);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t},\n\t\t\terror: function (data) {\n\t\t\t\tloadingspinner(0);\n\t\t\t}\n\t\t});\n\t}\n\treturn !1\n}\n/* Contact Form submit */\njQuery(document).on('click', '[data-tracking-form-submit]', function (e) {\n\te.preventDefault();\n\tloadingspinner(1);\n\tjQuery.ajax({\n\t\ttype: 'post',\n\t\turl: app_url + '/feajax/get_tracking_url',\n\t\tdataType: \"json\",\n\t\tdata: jQuery('[data-track-form]').serialize(),\n\t\tsuccess: function (data) {\n\t\t\tif (data.success == \"true\") {\n\t\t\t\twindow.location = data.tracking_url;\n\t\t\t} else {\n\t\t\t\talert(data.message);\n\t\t\t\tloadingspinner(0);\n\t\t\t}\n\t\t},\n\t\terror: function (data) {\n\t\t\tloadingspinner(0);\n\t\t}\n\t});\n});\n/* Single Product Ajax */\njQuery(document).ready(function () {\n\tjQuery('a.add-to.add-to-ajax-single-product').show();\n\tjQuery(\"a.add-to.add-to-ajax-single-product\").on('click', function (e) {\n\t\te.preventDefault;\n\t\tvar currentElement = e.target;\n\t\tvar product_id_to_add = jQuery(currentElement).attr(\n\t\t\t'data-product-id-to-add');\n\t\tif (product_id_to_add) {\n\t\t\tjQuery(currentElement).parents('.product-item').find('.product-ajax-loader').fadeIn(300);\n\t\t\tjQuery(currentElement).parents('.product-item').find(\".subscription_value .subscription-freq option:selected\").each(function (ix, em) {\n\t\t\t\tvar sub_val = jQuery(this).val();\n\t\t\t\tdebugger;\n\t\t\t\tif (sub_val == 'subscribe-save') {\n\t\t\t\t\tdo_console(product_id_to_add);\n\t\t\t\t\tlet parent = $(this).parents('.product-item');\n\t\t\t\t\tlet selling_plan = $(parent).find(`select.subscription-freq option:selected`).attr('data-subscription-id-to-add');\n\t\t\t\t\t/*\n\t\t\t\t\tvar selectedfrequency = jQuery(this).attr(\"data-freq\");\n\t\t\t\t\tvar selectedfrequencyunit = jQuery(this).attr('data-unit');\n\t\t\t\t\tvar subscription_id = jQuery(currentElement).attr('data-subscription-id');\n\t\t\t\t\t//var selectedfrequency = jQuery(\"#shipping_interval_frequency_box input[name='shipping_interval_frequency']:checked\").val();\n\t\t\t\t\tvar line_properties = {};\n\t\t\t\t\tline_properties.subscription_id = subscription_id;\n\t\t\t\t\tline_properties.shipping_interval_frequency = selectedfrequency;\n\t\t\t\t\tline_properties.shipping_interval_unit_type = selectedfrequencyunit;\n\t\t\t\t\tline_properties.selling_plan_id = $(this).attr('selling_plan_id');\n\t\t\t\t\t*/\n\t\t\t\t\tdata_to_send = {\n\t\t\t\t\t\t'quantity': 1,\n\t\t\t\t\t\t'id': product_id_to_add,\n\t\t\t\t\t\t\"selling_plan\" : selling_plan\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tdata_to_send = {\n\t\t\t\t\t\t'quantity': 1,\n\t\t\t\t\t\t'id': product_id_to_add\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\t//MAKE AJAX CALLS\n\t\t\tdo_console(2260);\n\t\t\tjQuery.ajax({\n\t\t\t\turl: '/cart/add.js',\n\t\t\t\tmethod: \"POST\",\n\t\t\t\tdataType: \"JSON\",\n\t\t\t\tdata: data_to_send,\n\t\t\t\tsuccess: function (data) {\n\t\t\t\t\tsendOneSignalTags(data.product_title, data.image);\n\t\t\t\t\tupdate_cart_popup();\n\t\t\t\t\tif(typeof window.customer_email !== 'undefined') {\n\t\t\t\t\t\twindow.liQ = window.liQ || [];\n\t\t\t\t\t\twindow.liQ.push({\n\t\t\t\t\t\t\"event\": \"addToCart\",\n\t\t\t\t\t\t\"email\": window.customer_email\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tjQuery(currentElement).parents('.product-item').find(\n\t\t\t\t\t\t'.product-ajax-loader').fadeOut(300);\n\t\t\t\t\t//Update CART COUNT + 1\n\t\t\t\t\t//.nav-shop-mobile .badge\n\t\t\t\t\t//.nav-item.nav-shop .badge\n\t\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").show();\n\t\t\t\t\tjQuery(\".nav-shop-mobile .badge\").show();\n\t\t\t\t\tvar valueToUpdate = parseInt(jQuery(\".nav-item.nav-shop .badge\").text()) +\n\t\t\t\t\t\t1;\n\t\t\t\t\tjQuery(\".nav-shop-mobile .badge\").text(valueToUpdate.toString());\n\t\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").text(valueToUpdate.toString());\n\t\t\t\t\t//do_console(valueToUpdate);\n\t\t\t\t\t// swal( {\n\t\t\t\t\t// \ttitle: \"\",\n\t\t\t\t\t// \ttext: \"Product added to the cart\",\n\t\t\t\t\t// \ticon: \"success\",\n\t\t\t\t\t// \tbuttons: false,\n\t\t\t\t\t// \ttimer: 1500\n\t\t\t\t\t// } );\n\t\t\t\t\tjQuery(currentElement).parents('.product-item').find(\n\t\t\t\t\t\t'.add-to-ajax-single-product').find('i').removeClass(\n\t\t\t\t\t\t\t'fa-cart-plus').addClass('fa-check');\n\t\t\t\t},\n\t\t\t\terror: function (data) {\n\t\t\t\t\tjQuery(currentElement).parents('.product-item').find(\n\t\t\t\t\t\t'.product-ajax-loader').fadeOut(300);\n\t\t\t\t\tif (typeof data.responseJSON.description !== \"undefined\") {\n\t\t\t\t\t\tvar message = data.responseJSON.description;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvar message = \"Please try again later!\";\n\t\t\t\t\t}\n\t\t\t\t\tswal({\n\t\t\t\t\t\ttitle: \"Oops!!\",\n\t\t\t\t\t\ttext: message,\n\t\t\t\t\t\ticon: \"error\",\n\t\t\t\t\t\tclassName: \"add-ajax-outofstock\",\n\t\t\t\t\t\tbuttons: false,\n\t\t\t\t\t\ttimer: 1500\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn false;\n\t});\n});\n\njQuery(document).ready(function (e) {\n\tif (jQuery('.oos-klaviyo-activated').length > 0) {\n\t\tjQuery(document).on('change', \".klavio_form input[type='checkbox']\", function (e) {\n\t\t\tif (jQuery(\".klavio_form input[type='checkbox']:checked\").length) {\n\t\t\t\tjQuery(\"#crtbtn1,#crtbtn2\").removeClass(\"oos-klaviyo-activated\");\n\t\t\t} else {\n\t\t\t\tjQuery(\"#crtbtn1,#crtbtn2\").addClass(\"oos-klaviyo-activated\");\n\t\t\t}\n\t\t});\n\t}\n});\n\njQuery(document).on('click', '.oos-klaviyo-activated', function (e) {\n\tswal(\"\", \"Oops! Please select the terms & conditions box to add to cart!\", \"\");\n\treturn false;\n});\n\n/* Customer Login form*/\nwindow.theme = theme || {};\ntheme.customerTemplates = (function () {\n\tvar selectors = {\n\t\tRecoverHeading: '#RecoverHeading',\n\t\tRecoverEmail: '#RecoverEmail',\n\t\tLoginHeading: '#LoginHeading'\n\t};\n\n\tfunction initEventListeners() {\n\t\tthis.$RecoverHeading = jQuery(selectors.RecoverHeading);\n\t\tthis.$RecoverEmail = jQuery(selectors.RecoverEmail);\n\t\tthis.$LoginHeading = jQuery(selectors.LoginHeading);\n\t\t// Show reset password form\n\t\tjQuery('#RecoverPassword').on('click', function (evt) {\n\t\t\tevt.preventDefault();\n\t\t\tshowRecoverPasswordForm();\n\t\t\tthis.$RecoverHeading.attr('tabindex', '-1').focus();\n\t\t}.bind(this));\n\t\t// Hide reset password form\n\t\tjQuery('#HideRecoverPasswordLink').on('click', function (evt) {\n\t\t\tevt.preventDefault();\n\t\t\thideRecoverPasswordForm();\n\t\t\tthis.$LoginHeading.attr('tabindex', '-1').focus();\n\t\t}.bind(this));\n\t\tthis.$RecoverHeading.on('blur', function () {\n\t\t\tjQuery(this).removeAttr('tabindex');\n\t\t});\n\t\tthis.$LoginHeading.on('blur', function () {\n\t\t\tjQuery(this).removeAttr('tabindex');\n\t\t});\n\t}\n\t/**\n\t *\n\t *  Show/Hide recover password form\n\t *\n\t */\n\tfunction showRecoverPasswordForm() {\n\t\tjQuery('#RecoverPasswordForm').removeClass('hide');\n\t\tjQuery('#CustomerLoginForm').addClass('hide');\n\t\tif (this.$RecoverEmail.attr('aria-invalid') === 'true') {\n\t\t\tthis.$RecoverEmail.focus();\n\t\t}\n\t}\n\n\tfunction hideRecoverPasswordForm() {\n\t\tjQuery('#RecoverPasswordForm').addClass('hide');\n\t\tjQuery('#CustomerLoginForm').removeClass('hide');\n\t}\n\t/**\n\t *\n\t *  Show reset password success message\n\t *\n\t */\n\tfunction resetPasswordSuccess() {\n\t\tvar $formState = jQuery('.reset-password-success');\n\t\t// check if reset password form was successfully submited.\n\t\tif (!$formState.length) {\n\t\t\treturn;\n\t\t}\n\t\t// show success message\n\t\tjQuery('#ResetSuccess').removeClass('hide').focus();\n\t}\n\t/**\n\t *\n\t *  Show/hide customer address forms\n\t *\n\t */\n\tfunction customerAddressForm() {\n\t\tvar $newAddressForm = jQuery('#AddressNewForm');\n\t\tvar $newAddressFormButton = jQuery('#AddressNewButton');\n\t\tif (!$newAddressForm.length) {\n\t\t\treturn;\n\t\t}\n\t\t// Initialize observers on address selectors, defined in shopify_common.js\n\t\tif (Shopify) {\n\t\t\t// eslint-disable-next-line no-new\n\t\t\tnew Shopify.CountryProvinceSelector('AddressCountryNew',\n\t\t\t\t'AddressProvinceNew', {\n\t\t\t\thideElement: 'AddressProvinceContainerNew'\n\t\t\t});\n\t\t}\n\t\t// Initialize each edit form's country/province selector\n\t\tjQuery('.address-country-option').each(function () {\n\t\t\tvar formId = jQuery(this).data('form-id');\n\t\t\tvar countrySelector = 'AddressCountry_' + formId;\n\t\t\tvar provinceSelector = 'AddressProvince_' + formId;\n\t\t\tvar containerSelector = 'AddressProvinceContainer_' + formId;\n\t\t\t// eslint-disable-next-line no-new\n\t\t\tnew Shopify.CountryProvinceSelector(countrySelector, provinceSelector, {\n\t\t\t\thideElement: containerSelector\n\t\t\t});\n\t\t});\n\t\t// Toggle new/edit address forms\n\t\tjQuery('.address-new-toggle').on('click', function () {\n\t\t\tvar isExpanded = $newAddressFormButton.attr('aria-expanded') ===\n\t\t\t\t'true';\n\t\t\t$newAddressForm.toggleClass('hide');\n\t\t\t$newAddressFormButton.attr('aria-expanded', !isExpanded).focus();\n\t\t});\n\t\tjQuery('.address-edit-toggle').on('click', function () {\n\t\t\tvar formId = jQuery(this).data('form-id');\n\t\t\tvar $editButton = jQuery('#EditFormButton_' + formId);\n\t\t\tvar $editAddress = jQuery('#EditAddress_' + formId);\n\t\t\tvar isExpanded = $editButton.attr('aria-expanded') === 'true';\n\t\t\t$editAddress.toggleClass('hide');\n\t\t\t$editButton.attr('aria-expanded', !isExpanded).focus();\n\t\t});\n\t\tjQuery('.address-delete').on('click', function () {\n\t\t\tvar $el = jQuery(this);\n\t\t\tvar formId = $el.data('form-id');\n\t\t\tvar confirmMessage = $el.data('confirm-message');\n\t\t\t// eslint-disable-next-line no-alert\n\t\t\tif (confirm(confirmMessage ||\n\t\t\t\t'Are you sure you wish to delete this address?')) {\n\t\t\t\tShopify.postLink('/account/addresses/' + formId, {\n\t\t\t\t\tparameters: {\n\t\t\t\t\t\t_method: 'delete'\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t}\n\t/**\n\t *\n\t *  Check URL for reset password hash\n\t *\n\t */\n\tfunction checkUrlHash() {\n\t\tvar hash = window.location.hash;\n\t\t// Allow deep linking to recover password form\n\t\tif (hash === '#recover') {\n\t\t\tshowRecoverPasswordForm.bind(this)();\n\t\t}\n\t}\n\treturn {\n\t\tinit: function () {\n\t\t\tinitEventListeners();\n\t\t\tcheckUrlHash();\n\t\t\tresetPasswordSuccess();\n\t\t\tcustomerAddressForm();\n\t\t}\n\t};\n})();\ntheme.init = function () {\n\ttheme.customerTemplates.init();\n};\njQuery(theme.init);\n/* stop video on slide chnage */\nvar slideWrapper = jQuery(\".product-content-slider\"),\n\tiframes = slideWrapper.find('.embed-player'),\n\tlazyCounter = 0;\n// POST commands to YouTube or Vimeo API\nfunction postMessageToPlayer(player, command) {\n\tif (player == null || command == null) return;\n\tplayer.contentWindow.postMessage(JSON.stringify(command), \"*\");\n}\n// When the slide is changing\nfunction playPauseVideo(slick, control) {\n\n\tvar currentSlide, slideType, startTime, player, video;\n\tcurrentSlide = slick.find(\".slick-current\");\n\tif (typeof currentSlide.attr('class') !== \"undefined\") {\n\t\tslideType = currentSlide.attr(\"class\").split(\" \")[1];\n\t\tplayer = currentSlide.find(\"iframe\").get(0);\n\t\tstartTime = currentSlide.data(\"video-start\");\n\t\tif (slideType === \"vimeo\") {\n\t\t\tswitch (control) {\n\t\t\t\t// case \"play\":\n\t\t\t\t//     if ((startTime != null && startTime > 0 ) && !currentSlide.hasClass('started')) {\n\t\t\t\t//     currentSlide.addClass('started');\n\t\t\t\t//     postMessageToPlayer(player, {\n\t\t\t\t//         \"method\": \"setCurrentTime\",\n\t\t\t\t//         \"value\" : startTime\n\t\t\t\t//     });\n\t\t\t\t//     }\n\t\t\t\t//     postMessageToPlayer(player, {\n\t\t\t\t//     \"method\": \"play\",\n\t\t\t\t//     \"value\" : 1\n\t\t\t\t//     });\n\t\t\t\t//     break;\n\t\t\t\tcase \"pause\":\n\t\t\t\t\tpostMessageToPlayer(player, {\n\t\t\t\t\t\t\"method\": \"pause\",\n\t\t\t\t\t\t\"value\": 1\n\t\t\t\t\t});\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t} else if (slideType === \"youtube\") {\n\t\t\tswitch (control) {\n\t\t\t\t// case \"play\":\n\t\t\t\t//     postMessageToPlayer(player, {\n\t\t\t\t//     \"event\": \"command\",\n\t\t\t\t//     \"func\": \"mute\"\n\t\t\t\t//     });\n\t\t\t\t//     postMessageToPlayer(player, {\n\t\t\t\t//     \"event\": \"command\",\n\t\t\t\t//     \"func\": \"playVideo\"\n\t\t\t\t//     });\n\t\t\t\t//     break;\n\t\t\t\tcase \"pause\":\n\t\t\t\t\tpostMessageToPlayer(player, {\n\t\t\t\t\t\t\"event\": \"command\",\n\t\t\t\t\t\t\"func\": \"pauseVideo\"\n\t\t\t\t\t});\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t} else if (slideType === \"video\") {\n\t\t\tvideo = currentSlide.children(\"video\").get(0);\n\t\t\tif (video != null) {\n\t\t\t\tif (control === \"play\") {\n\t\t\t\t\tvideo.play();\n\t\t\t\t} else {\n\t\t\t\t\tvideo.pause();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}// !== Undefined check \n\n\n\n\n}\n// Resize player\nfunction resizePlayer(iframes, ratio) {\n\t// if (!iframes[0]) return;\n\t// var win = jQuery(\".product-content-slider\"),\n\t//     width = win.width(),\n\t//     playerWidth,\n\t//     height = win.height(),\n\t//     playerHeight,\n\t//     ratio = ratio || 16/9;\n\t// iframes.each(function(){\n\t//     var current = jQuery(this);\n\t//     if (width / ratio < height) {\n\t//     playerWidth = Math.ceil(height * ratio);\n\t//     current.width(playerWidth).height(height).css({\n\t//         left: (width - playerWidth) / 2,\n\t//         top: 0\n\t//         });\n\t//     } else {\n\t//     playerHeight = Math.ceil(width / ratio);\n\t//     current.width(width).height(playerHeight).css({\n\t//         left: 0,\n\t//         top: (height - playerHeight) / 2\n\t//     });\n\t//     }\n\t// });\n}\n// DOM Ready\njQuery(function () {\n\t// Initialize\n\tslideWrapper.on(\"init\", function (slick) {\n\t\tslick = jQuery(slick.currentTarget);\n\t\tsetTimeout(function () {\n\t\t\tplayPauseVideo(slick, \"play\");\n\t\t}, 1000);\n\t\tresizePlayer(iframes, 16 / 9);\n\t});\n\tslideWrapper.on(\"beforeChange\", function (event, slick) {\n\t\tslick = jQuery(slick.$slider);\n\t\tplayPauseVideo(slick, \"pause\");\n\t});\n\tslideWrapper.on(\"afterChange\", function (event, slick) {\n\t\tslick = jQuery(slick.$slider);\n\t\tplayPauseVideo(slick, \"play\");\n\t});\n\tslideWrapper.on(\"lazyLoaded\", function (event, slick, image, imageSource) {\n\t\tlazyCounter++;\n\t\tif (lazyCounter === lazyImages.length) {\n\t\t\tlazyImages.addClass('show');\n\t\t\t// slideWrapper.slick(\"slickPlay\");\n\t\t}\n\t});\n});\n// Resize event\njQuery(window).on(\"resize.slickVideoPlayer\", function () {\n\tresizePlayer(iframes, 16 / 9);\n});\n// FTB App Code\njQuery(document).on('change', '#addtocart input,#addtocart select', function (e) {\n\tsetTimeout(function () {\n\t\tvar current_selected_value = jQuery(\"[name='id']\").val();\n\t\tjQuery(\"select.cbb-recommendations-variant-select\").find('option').each(\n\t\t\tfunction (ix, em) {\n\t\t\t\tvar current_variant_id = jQuery(em).attr('data-variant-id');\n\t\t\t\tif (current_variant_id == current_selected_value) {\n\t\t\t\t\tvar value_to_set = jQuery(em).val();\n\t\t\t\t\tjQuery(\"select.cbb-recommendations-variant-select\").eq(0).val(\n\t\t\t\t\t\tvalue_to_set);\n\t\t\t\t\tjQuery(\"select.cbb-recommendations-variant-select\").trigger('change');\n\t\t\t\t}\n\t\t\t});\n\t}, 200);\n});\njQuery(document).ready(function (e) {\n\tjQuery(\"a.banner_info_icon\").on('click', function (e) {\n\t\te.preventDefault();\n\t\tvar current_target = e.target;\n\t\tvar popup_text = \"\";\n\t\tpopup_text = jQuery(\"a.banner_info_icon\").attr('data-swal-text');\n\t\tvar popup_text_div = document.createElement('div');\n\t\tpopup_text_div.innerHTML = popup_text;\n\t\tswal({\n\t\t\ttitle: \"\",\n\t\t\tcontent: popup_text_div,\n\t\t\ticon: \"info\",\n\t\t\tbuttons: false,\n\t\t\tcloseModal: true\n\t\t});\n\t});\n\n\tjQuery(\".header-timer a.banner_info_icon\").on('click', function (e) {\n\t\te.preventDefault();\n\t\tvar current_target = e.target;\n\t\tvar popup_text = \"\";\n\t\tpopup_text = jQuery(\".header-timer a.banner_info_icon\").attr('data-swal-text');\n\t\tvar popup_text_div = document.createElement('div');\n\t\tpopup_text_div.innerHTML = popup_text;\n\t\tswal({\n\t\t\ttitle: \"\",\n\t\t\tcontent: popup_text_div,\n\t\t\ticon: \"info\",\n\t\t\tbuttons: false,\n\t\t\tcloseModal: true\n\t\t});\n\t});\n\n});\n// Shipping Info Popup \njQuery(\".shipping_info_icon\").on('click', function () {\n\tvar popup_shippinginfo = \"\";\n\tpopup_shippinginfo = jQuery(\".free_shipping-text\").attr('data-swal-info');\n\tvar popup_shippinginfo_div = document.createElement('div');\n\tpopup_shippinginfo_div.innerHTML = popup_shippinginfo;\n\tswal({\n\t\ttitle: \"\",\n\t\tcontent: popup_shippinginfo_div,\n\t\tbutton: \"I GET IT!\",\n\t\tcloseModal: true\n\t});\n});\n\njQuery(window).on('load', function () {\n\tif (jQuery(\".product-icons .product-icons-row > div\").length) {\n\t\tjQuery('.product-icons .product-icons-row').slick({\n\t\t\tlazyLoad: 'ondemand',\n\t\t\tdots: false,\n\t\t\tarrow: true,\n\t\t\tinfinite: false,\n\t\t\tspeed: 300,\n\t\t\tslidesToShow: 8,\n\t\t\tslidesToScroll: 1,\n\t\t\tresponsive: [\n\t\t\t\t{\n\t\t\t\t\tbreakpoint: 1024,\n\t\t\t\t\tsettings: {\n\t\t\t\t\t\tslidesToShow: 6,\n\t\t\t\t\t\tslidesToScroll: 1\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tbreakpoint: 767,\n\t\t\t\t\tsettings: {\n\t\t\t\t\t\tslidesToShow: 4,\n\t\t\t\t\t\tslidesToScroll: 1\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tbreakpoint: 480,\n\t\t\t\t\tsettings: {\n\t\t\t\t\t\tslidesToShow: 4,\n\t\t\t\t\t\tslidesToScroll: 1\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t});\n\t}\n\n\t// if(typeof subscription_product_info  !== \"undefined\") {\n\t// \t// Get Price Of Subscribe product\n\t// \tvar variant_to_dup_id = subscription_product_info.variant_to_duplicate;\n\t// \tvar variant_to_dup_price = subscription_product_info.duplicate_to_price;\n\t// \tvar current_p =  jQuery('[name=\"id\"]').val();\n\t// \tvar this_formate = jQuery(\".subscribe_info_wrapper .subscribe_price p\").data('money-format');\n\t// \tvar New_variant_id = jQuery.map(variant_to_dup_id, function(value, key) {\n\t// \t\tif (key == current_p) {\n\t// \t\t\treturn value;\n\t// \t\t}\n\t// \t});\n\n\t// \tjQuery(\".subscription_offer_value .subscribe_info_wrapper .subscribe_price p\").html(Shopify.formatMoney(variant_to_dup_price[New_variant_id],this_formate)); \n\t// \tjQuery(\".subscription_offer_value .subscribe_info_wrapper .subscribe_price p.discounted_price\").append(' USD');\n\t// }\n\n});\n\njQuery(document).ready(function (e) {\n\tjQuery('.product-cart-box .form-group').each(function () {\n\t\tvar checked_val = jQuery(this).find('input:checked').next('label').text();\n\n\t\tjQuery(this).find('.form-check.init').html(checked_val);\n\n\t\tjQuery(this).children('.form-check:not(.init)').wrapAll(\"<div class='form-check-wrapper'></div>\");\n\t\tjQuery(this).find(\"input[type='radio'][disabled]\").closest('.form-check').addClass('d-none');\n\t});\n\n\n\tjQuery(\".product-cart-box .form-group\").on(\"click\", \".init\", function () {\n\t\tjQuery(this).closest(\".form-group\").children('.form-check-wrapper').slideToggle();\n\t});\n\n\tvar allOptions = jQuery(this).closest(\".form-group\").children('.form-check:not(.init)');\n\tjQuery(\".product-cart-box .form-group\").on(\"click\", \".form-check:not(.init)\", function () {\n\t\tjQuery(this).closest(\".form-group\").children('.form-check:not(.init)').removeClass('selected');\n\t\tjQuery(this).addClass('selected');\n\t\tjQuery(this).closest(\".form-group\").children('.init').html(jQuery(this).find('label').html());\n\t\tjQuery(this).closest(\".form-group\").children('.form-check-wrapper').slideUp();\n\t});\n\n});\n\n//   Update Price Of Subscribe product on Variant change\n\nfunction update_rechargeprice(product_id) {\n\t//   Change Accoriding Variant On change variant\n\tjQuery('.product-cart-box .form-check').each(function () {\n\t\tif (jQuery(this).find(\"input[type='radio']\").is(':enabled')) {\n\t\t\tjQuery(this).find(\"input[type='radio']\").closest('.form-check').removeClass('d-none');\n\t\t}\n\t\telse {\n\t\t\tjQuery(this).find(\"input[type='radio']\").closest('.form-check').addClass('d-none');\n\t\t}\n\t});\n}\n\n\n// Show Extended Note on cart page\njQuery(document).ready(function () {\n\tif (typeof cart_page_selling_out != \"undefined\") {\n\t\tjQuery(\".cart .item\").each(function (ix, em) {\n\t\t\tvar current_cart_item = jQuery(em);\n\t\t\tvar current_cart_pid = jQuery(em).attr('data-productid');\n\t\t\tif (typeof cart_page_selling_out[current_cart_pid.toString()] !== \"undefined\") {\n\t\t\t\tvar message_text = cart_page_selling_out[current_cart_pid];\n\t\t\t\tcurrent_cart_item.find('span.cart-high-demand').html(message_text);\n\t\t\t}\n\t\t});\n\t}\n\n});\n\n// Product Image change when its on first index\n\njQuery('.product-nav-slider .slide-item.slick-active').on('click', function () {\n\tvar current_slide = jQuery(this).attr('data-slick-index');\n\tvar current_slide_img = jQuery(this).find('img').attr('data-srcset2x-img');\n\tif (current_slide == 0) {\n\t\tjQuery(\"#product-content-slider0\").slick('slickGoTo', 0);\n\t\tjQuery(\"#product-content-slider0 .slick-active\").find('img').attr('src',\n\t\t\t'');\n\t\tjQuery(\"#product-content-slider0 .slick-active\").find('img').attr(\n\t\t\t'srcset', current_slide_img);\n\t}\n});\n\n\n// Product Image change when its on first index End\n\njQuery(document).ready(function () {\n\tjQuery('.form-check-input').on('click', function (e) {\n\t\tif (jQuery(this).parent().hasClass(\"selected\")) {\n\t\t\tjQuery(this).trigger('change');\n\t\t}\n\t});\n});\n\n\n// Side Cart Popup Js Start\n\n// Open Cart Popup\n\njQuery('.site-header__cart').on(\"click\", function (e) {\n\te.preventDefault();\n\tupdate_cart_popup();\n\t//do_console('G1');\n\n});\n\njQuery(document).ready(function () {\n\tjQuery(\".btn_checkout\").on(\"click\", function () {\n\n\t\tif (jQuery(\".ajax_cart_data_html .item .cart_line_items\") > 0) {\n\n\t\t}\n\t\telse {\n\t\t\tjQuery(\"form[name='checkout']\").submit();\n\t\t}\n\t});\n});\n// Close Cart Popup\n\njQuery(document).ready(function () {\n\tjQuery('.close-cart-popup').on(\"click\", function (e) {\n\t\te.preventDefault();\n\t\tjQuery('.side-cart-popup').removeClass('open');\n\t\tjQuery('.modalOverlay').fadeOut();\n\t\tjQuery('body').removeClass('overflow-hidden');\n\t});\n\n\n\tjQuery(document).click(function (e) {\n\t\tvar container = jQuery(\".side-cart-popup\");\n\t\tif (!container.is(e.target) && container.has(e.target).length === 0) {\n\t\t\tcontainer.removeClass('open');\n\t\t\tjQuery('.modalOverlay').fadeOut();\n\t\t\tjQuery('body').removeClass('overflow-hidden');\n\t\t}\n\t});\n\n\t// Update Cart Quantity on Change\n\tif (jQuery(\"[data-cart-popup]\").length > 0 && jQuery(\"body.template-cart\").length == 0) {\n\t\t/* do_console(\"2421\");*/\n\t\tjQuery(document).on('change', \"[name='updates[]']\", function (e) {\n\t\t\tjQuery(\"[name='update']\").click(function (e) {\n\t\t\t\te.stopPropagation();\n\t\t\t});\n\t\t\tvar product_id_to_change = jQuery(this).attr(\"data-product-id\");\n\t\t\tvar selected_quntity = jQuery(this).children(\"option:selected\").val();\n\t\t\tjQuery.ajax({\n\t\t\t\turl: shop_url + '/cart/change.js',\n\t\t\t\tmethod: \"POST\",\n\t\t\t\tdataType: \"JSON\",\n\t\t\t\tdata: {\n\t\t\t\t\t'id': product_id_to_change,\n\t\t\t\t\t'quantity': selected_quntity\n\t\t\t\t},\n\t\t\t\tsuccess: function (data) {\n\t\t\t\t\tupdate_cart_popup();\n\t\t\t\t}\n\t\t\t})\n\t\t});\n\t}\n})\n\n// Remove Item From Cart\n\njQuery(document).on('click', \".ajax_cart_data_html .remove-item\", function (e) {\n\te.preventDefault();\n\tvar forloop_index = jQuery(this).attr(\"data-cart-remove\");\n\tvar item_quntity = 0;\n\tjQuery.ajax({\n\t\turl: shop_url + '/cart/change.js',\n\t\tmethod: \"POST\",\n\t\tdataType: \"JSON\",\n\t\tdata: {\n\t\t\t'line': forloop_index,\n\t\t\t'quantity': item_quntity\n\t\t},\n\t\tsuccess: function (data) {\n\t\t\tupdate_cart_popup();\n\t\t\tvar selected_qunty = jQuery('.quantity_select .form-control.b-color').children(\"option:selected\").val();\n\t\t\tvar valueToUpdate = parseInt(jQuery(\".nav-item.nav-shop .badge\").text()) - selected_qunty;\n\t\t\tjQuery(\".nav-shop-mobile .badge\").text(valueToUpdate.toString());\n\t\t\tjQuery(\".nav-item.nav-shop .badge\").text(valueToUpdate.toString());\n\t\t}\n\t});\n});\n\n\n\n// Get Cart Value using Ajax\n\nfunction update_cart_popup() {\n\tjQuery.ajax({\n\t\turl: '/cart?view=popup',\n\t\tmethod: \"GET\",\n\t\tsuccess: function (data) {\n\n\t\t\tcalcMaxHeightSideCart();\n\n\t\t\tvar raw_data = data.trim();\n\t\t\tvar json_data = JSON.parse(raw_data);\n\t\t\tvar cart_json = json_data.cart_json;\n\t\t\tvar cart_total_price = cart_json.items_subtotal_price;\n\t\t\tvar did_get_free = false;\n\t\t\tfreeshippingbar(cart_json);\n\t\t\tjQuery(\".nav-shop-mobile .badge\").text(json_data.cart_item_count);\n\t\t\tjQuery(\".nav-item.nav-shop .badge\").text(json_data.cart_item_count);\n\t\t\t//jQuery(\"div.ajax_cart_data_html\").html(json_data.cart_html_markup);\n\t\t\t//jQuery(\"[data-cart-subtotal]\").html(json_data.cart_sub_total);\n\t\t\t//jQuery(\"[data-cart-count]\").text(json_data.cart_item_count);\n\n\t\t\t// if free product selected in settings \n\t\t\tjQuery(cart_json.items).each(function (ix, em) {\n\t\t\t\tdo_console('OP Cart Update');\n\t\t\t\tvar timestamp = Math.floor(Date.now() / 1000);\n\t\t\t\tif (typeof OneSignal != \"undefined\") {\n\t\t\t\t\tOneSignal.push(function () {\n\t\t\t\t\t\tOneSignal.sendTags({\n\t\t\t\t\t\t\tcart_update: timestamp,\n\t\t\t\t\t\t\tproduct_name: em.product_title,\n\t\t\t\t\t\t\tproduct_image: em.image,\n\t\t\t\t\t\t}).then(function (tagsSent) {\n\t\t\t\t\t\t\t// Callback called when tags have finished sending\n\t\t\t\t\t\t\tdo_console(tagsSent);\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tif (jQuery('.Side_Cart_free_product').length) {\n\t\t\t\tvar free_product_variant_id = jQuery('.Side_Cart_free_product').attr('data-productid');\n\t\t\t\tvar fre_pro_min_amnt = parseFloat(jQuery('.Side_Cart_free_product').attr('data-min-amnt'));\n\t\t\t\tvar new_cart_total = '';\n\t\t\t\tvar cart_current_count = parseFloat(jQuery('.js-cart_subtotal .price').attr('data-cart-total-money'));\n\t\t\t\tvar free_prod_price = jQuery('.Side_Cart_free_product').attr('data-pro-price');\n\n\t\t\t\tvar this_formate = jQuery('.Side_Cart_free_product').attr('data-money-format');\n\n\t\t\t\tjQuery(cart_json.items).each(function (ix, em) {\n\t\t\t\t\tvar item_id = em.product_id;\n\t\t\t\t\tif (item_id == free_product_variant_id) {\n\t\t\t\t\t\tdid_get_free = true;\n\t\t\t\t\t\tnew_cart_total = cart_current_count;\n\t\t\t\t\t\tdo_console('when pro is not added=' + new_cart_total);\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tnew_cart_total = cart_current_count - free_prod_price;\n\t\t\t\t\t\tdo_console('product-adde-' + new_cart_total);\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\tif (did_get_free == false) {\n\n\t\t\t\t\tif (cart_total_price > fre_pro_min_amnt) {\n\t\t\t\t\t\tvar free_product = jQuery('.Side_Cart_free_product').attr('data-free-product');\n\t\t\t\t\t\tdata_to_send = {\n\t\t\t\t\t\t\t'quantity': 1,\n\t\t\t\t\t\t\t'id': free_product,\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdo_console(3012);\n\t\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\t\turl: '/cart/add.js',\n\t\t\t\t\t\t\tmethod: \"POST\",\n\t\t\t\t\t\t\tdataType: \"JSON\",\n\t\t\t\t\t\t\tdata: data_to_send,\n\t\t\t\t\t\t\tsuccess: function (data) {\n\t\t\t\t\t\t\t\tsendOneSignalTags(data.product_title, data.image);\n\t\t\t\t\t\t\t\tif(typeof window.customer_email !== 'undefined') {\n\t\t\t\t\t\t\t\t\twindow.liQ = window.liQ || [];\n\t\t\t\t\t\t\t\t\twindow.liQ.push({\n\t\t\t\t\t\t\t\t\t\"event\": \"addToCart\",\n\t\t\t\t\t\t\t\t\t\"email\": window.customer_email\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\t\t\t\turl: '/cart?view=popup',\n\t\t\t\t\t\t\t\t\tmethod: \"GET\",\n\t\t\t\t\t\t\t\t\tsuccess: function (data) {\n\t\t\t\t\t\t\t\t\t\tvar raw_data = data.trim();\n\t\t\t\t\t\t\t\t\t\tvar json_data = JSON.parse(raw_data);\n\t\t\t\t\t\t\t\t\t\tjQuery(\"div.ajax_cart_data_html\").html(json_data.cart_html_markup);\n\t\t\t\t\t\t\t\t\t\tjQuery(\"[data-cart-subtotal]\").html(json_data.cart_sub_total);\n\t\t\t\t\t\t\t\t\t\t//jQuery(\"[data-cart-subtotal]\").html(Shopify.formatMoney(new_cart_total,this_formate));\n\t\t\t\t\t\t\t\t\t\tjQuery(\"[data-cart-count]\").text(json_data.cart_item_count);\n\t\t\t\t\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\t\t\t\t\tjQuery('.side-cart-popup').addClass('open');\n\t\t\t\t\t\t\t\t\t\t\tjQuery('.modalOverlay').fadeIn();\n\t\t\t\t\t\t\t\t\t\t\tjQuery('body').addClass('overflow-hidden');\n\t\t\t\t\t\t\t\t\t\t\tdo_console(\"Add to cart Done\");\n\t\t\t\t\t\t\t\t\t\t}, 1000);\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\terror: function (data) {\n\t\t\t\t\t\t\t\tif (typeof data.responseJSON.description !== \"undefined\") {\n\t\t\t\t\t\t\t\t\tvar message = data.responseJSON.description;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tvar message = \"Please try again later!\";\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tjQuery(\"div.ajax_cart_data_html\").html(json_data.cart_html_markup);\n\t\t\t\t\t\tjQuery(\"[data-cart-subtotal]\").html(json_data.cart_sub_total);\n\t\t\t\t\t\t//jQuery(\"[data-cart-subtotal]\").html(Shopify.formatMoney(new_cart_total,this_formate));\n\t\t\t\t\t\tjQuery(\"[data-cart-count]\").text(json_data.cart_item_count);\n\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\tjQuery('.side-cart-popup').addClass('open');\n\t\t\t\t\t\t\tjQuery('.modalOverlay').fadeIn();\n\t\t\t\t\t\t\tjQuery('body').addClass('overflow-hidden');\n\t\t\t\t\t\t\tdo_console(\"Cart Count is low-- Free Pro. Not Added\");\n\t\t\t\t\t\t}, 1000);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (cart_total_price > fre_pro_min_amnt) {\n\t\t\t\t\t\tjQuery(\"div.ajax_cart_data_html\").html(json_data.cart_html_markup);\n\t\t\t\t\t\tjQuery(\"[data-cart-subtotal]\").html(json_data.cart_sub_total);\n\t\t\t\t\t\t//jQuery(\"[data-cart-subtotal]\").html(Shopify.formatMoney(new_cart_total,this_formate));\n\t\t\t\t\t\tjQuery(\"[data-cart-count]\").text(json_data.cart_item_count);\n\n\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\tjQuery('.side-cart-popup').addClass('open');\n\t\t\t\t\t\t\tjQuery('.modalOverlay').fadeIn();\n\t\t\t\t\t\t\tjQuery('body').addClass('overflow-hidden');\n\t\t\t\t\t\t\tdo_console(\"Cart Count is low-- Free Pro. Not Added\");\n\t\t\t\t\t\t}, 1000);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvar free_product = jQuery('.Side_Cart_free_product').attr('data-free-product');\n\t\t\t\t\t\tvar data = { updates: {} };\n\t\t\t\t\t\tdata.updates[free_product] = 0;\n\t\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\t\turl: '/cart/update.js',\n\t\t\t\t\t\t\tmethod: \"POST\",\n\t\t\t\t\t\t\tdataType: \"JSON\",\n\t\t\t\t\t\t\tdata: data,\n\t\t\t\t\t\t\tsuccess: function (data) {\n\t\t\t\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\t\t\t\turl: '/cart?view=popup',\n\t\t\t\t\t\t\t\t\tmethod: \"GET\",\n\t\t\t\t\t\t\t\t\tsuccess: function (data) {\n\t\t\t\t\t\t\t\t\t\tvar raw_data = data.trim();\n\t\t\t\t\t\t\t\t\t\tvar json_data = JSON.parse(raw_data);\n\t\t\t\t\t\t\t\t\t\tjQuery(\"div.ajax_cart_data_html\").html(json_data.cart_html_markup);\n\t\t\t\t\t\t\t\t\t\tjQuery(\"[data-cart-subtotal]\").html(json_data.cart_sub_total);\n\t\t\t\t\t\t\t\t\t\t//jQuery(\"[data-cart-subtotal]\").html(Shopify.formatMoney(new_cart_total,this_formate));\n\t\t\t\t\t\t\t\t\t\tjQuery(\"[data-cart-count]\").text(json_data.cart_item_count);\n\t\t\t\t\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\t\t\t\t\tjQuery('.side-cart-popup').addClass('open');\n\t\t\t\t\t\t\t\t\t\t\tjQuery('.modalOverlay').fadeIn();\n\t\t\t\t\t\t\t\t\t\t\tjQuery('body').addClass('overflow-hidden');\n\t\t\t\t\t\t\t\t\t\t\tdo_console(\"Add to cart not done\");\n\t\t\t\t\t\t\t\t\t\t}, 1000);\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\terror: function (data) {\n\t\t\t\t\t\t\t\tif (typeof data.responseJSON.description !== \"undefined\") {\n\t\t\t\t\t\t\t\t\tvar message = data.responseJSON.description;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tvar message = \"Please try again later!\";\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tjQuery(\"div.ajax_cart_data_html\").html(json_data.cart_html_markup);\n\t\t\t\tjQuery(\"[data-cart-subtotal]\").html(json_data.cart_sub_total);\n\t\t\t\tjQuery(\"[data-cart-count]\").text(json_data.cart_item_count);\n\t\t\t\tjQuery('.side-cart-popup').addClass('open');\n\t\t\t\tjQuery('.modalOverlay').fadeIn();\n\t\t\t\tjQuery('body').addClass('overflow-hidden');\n\t\t\t}\n\n\t\t\tjQuery(\"div.ajax_cart_data_html\").find('.cart-h3').each(function (ix, em) {\n\t\t\t\tvar name = jQuery(em).text();\n\t\t\t\t//do_console(name);\n\t\t\t\tvar upsell_product = jQuery(\".Single_product_wrapper .item .cart-h3\").text();\n\t\t\t\t//do_console(upsell_product);\n\t\t\t\tif (name === upsell_product) {\n\t\t\t\t\tjQuery(\".Single_product_wrapper\").hide();\n\t\t\t\t\tdo_console(\"is match\");\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t//jQuery('.side-cart-popup').addClass('open');\t\n\n\t\t\tvar promocode = '';\n\t\t\t// check cookie \n\t\t\tif (getCookie(\"discount_code\")) {\n\t\t\t\tpromocode = getCookie(\"discount_code\");\n\t\t\t\t//do_console(\"is there cookie\");\t\n\t\t\t} else {\n\t\t\t\tpromocode = localStorage.getItem(\"couponname\");\n\t\t\t\t//do_console(\"is there no cookie\");\t\n\t\t\t}\n\t\t\tjQuery('.loader_img').hide();\n\t\t\tjQuery('#promo-code').val(\"\");\n\t\t\tjQuery(document).on('click', \"#promo-code-apply-btn\", function (event) {\n\t\t\t\t//do_console(\"is clicked\");\n\t\t\t\tevent.preventDefault();\n\t\t\t\tvar delay = 3000;\n\t\t\t\tentered_promocode = jQuery('#promo-code').val();\n\t\t\t\tif (entered_promocode == \"\") {\n\t\t\t\t\tjQuery('.side-cart-popup').removeClass('open');\n\t\t\t\t\tjQuery('.modalOverlay').fadeOut();\n\t\t\t\t\tjQuery('body').removeClass('overflow-hidden');\n\t\t\t\t\tswal({\n\t\t\t\t\t\ticon: 'error',\n\t\t\t\t\t\ttitle: 'Oops...',\n\t\t\t\t\t\ttext: 'Please enter a discount code'\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tif (entered_promocode == promocode) {\n\t\t\t\t\t\tdo_console(\"yes is matched\");\n\t\t\t\t\t\tjQuery('.loader_img').show();\n\t\t\t\t\t\tjQuery(this).hide();\n\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\twindow.location = shop_url + \"/cart\";\n\t\t\t\t\t\t}, delay);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdo_console(\"is matched\");\n\t\t\t\t\t\t// set Cookie\n\t\t\t\t\t\tentered_promocode = jQuery('#promo-code').val();\n\n\n\t\t\t\t\t\t//setCookie(\"discount_code\", entered_promocode);\n\t\t\t\t\t\t//var d = new Date();\n\t\t\t\t\t\t//d.setTime(d.getTime() + (24 * 60 * 60 * 1000));\n\t\t\t\t\t\t//var expires = \"expires=\"+d.toUTCString();\n\t\t\t\t\t\t//document.cookie = \"discount_code=\" + entered_promocode + \";\" + expires + \";path=/\";  \n\n\t\t\t\t\t\tlocalStorage.setItem(\"couponname\", entered_promocode);\n\t\t\t\t\t\tjQuery('.loader_img').show();\n\t\t\t\t\t\tjQuery(this).hide();\n\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\twindow.location = shop_url + \"/cart\";\n\t\t\t\t\t\t}, delay);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\t//    \n\t\t\tif (jQuery(\".cart_line_items\").length > 0) {\n\t\t\t\tjQuery(\"#cart-discount-data\").hide();\n\t\t\t} else {\n\t\t\t\tjQuery(\"#cart-discount-data\").show();\n\t\t\t}\n\t\t\t//jQuery('.modalOverlay').fadeIn();\n\t\t\t//jQuery('body').addClass('overflow-hidden');\n\n\t\t\t// fbt section\n\n\t\t\tif (jQuery('.side_cart_footer .fbt_wrapper').length) {\n\t\t\t\tvar fbt = jQuery('.cbb-frequently-bought-container').html();\n\t\t\t\tif (jQuery('.cbb-frequently-bought-recommendations-container').length > 1) {\n\n\t\t\t\t} else {\n\t\t\t\t\tjQuery('.side_cart_footer .fbt_wrapper').append(fbt);\n\t\t\t\t}\n\t\t\t}\n\t\t\tcalcMaxHeightSideCart();\n\t\t}\n\t});\n}\n\n\n// Side Cart Popup Js End\n\n\nfunction calcMaxHeightSideCart() {\n\t// set window height\n\tif (jQuery('.side-cart-popup-banner-img').length > 0) {\n\t\tif (jQuery(window).width() > 767) {\n\t\t\tvar hederheight = jQuery('.side-cart-popup-header').outerHeight();\n\t\t\tvar bannerheight = jQuery('.side-cart-popup-banner-img').outerHeight();\n\t\t\tvar footer_height = jQuery(\".side_cart_footer\").outerHeight();\n\t\t\tvar window_height = jQuery(\".side-cart-popup\").outerHeight();\n\n\t\t\tvar total_height = hederheight + bannerheight + footer_height;\n\t\t\tvar items_height = window_height - total_height;\n\t\t\tjQuery(\".ajax_cart_data_html\").css({ \"height\": items_height });\n\t\t}\n\t\telse {\n\t\t\tvar hederheight = jQuery('.side-cart-popup-header').outerHeight();\n\t\t\tvar footer_height = jQuery(\".side_cart_footer\").outerHeight();\n\t\t\tvar window_height = jQuery(\".side-cart-popup\").outerHeight();\n\t\t\tvar total_height = hederheight + footer_height;\n\t\t\tvar items_height = window_height - total_height;\n\t\t\tjQuery(\".ajax_cart_data_html\").css({ \"height\": items_height });\n\t\t}\n\t}\n\telse {\n\t\tvar notesheight = jQuery('.side-cart-popup-notes').outerHeight();\n\t\tvar hederheight = jQuery('.side-cart-popup-header').outerHeight();\n\t\tvar footer_height = jQuery(\".side_cart_footer\").outerHeight();\n\t\tvar window_height = jQuery(\".side-cart-popup\").outerHeight();\n\n\t\tvar total_height = notesheight + hederheight + footer_height;\n\n\t\tvar items_height = window_height - total_height;\n\t\tjQuery(\".ajax_cart_data_html\").css(\"height\", items_height);\n\t}\n};\n\n\njQuery(window).on('resize', function () {\n\tcalcMaxHeightSideCart();\n});\n\njQuery(document).ready(function () {\n\tcalcMaxHeightSideCart();\n\n\tif (jQuery('[data-add-to-cart] [name=\"color\"]').length) {\n\t\tjQuery('.form-check-input').on('click', function (e) {\n\t\t\tif (jQuery(this).parent().hasClass(\"selected\")) {\n\t\t\t\tjQuery(this).trigger('change');\n\t\t\t}\n\t\t});\n\t}\n\n\tif (jQuery(window).height() < 800) {\n\t\tjQuery('.side-cart-popup .fbt_wrapper').hide();\n\t}\n\n\t// Easter Egg JS\n\tvar data_url = \"\";\n\n\tjQuery(\".easeter_popup\").on(\"click\", function (e) {\n\t\te.preventDefault();\n\t\tdata_url = jQuery(this).attr('data-url');\n\t\tjQuery('#easter_popup_overlay').fadeIn();\n\t\tjQuery('#easter_popup').fadeIn();\n\t\tjQuery('body').addClass(\"is_easterpopup_open\");\n\t\tjQuery('body').addClass(\"overflow-hidden\");\n\n\t\tvar easter_image = jQuery(this).attr(\"data-e-image\");\n\t\tvar discount_code = jQuery(this).attr(\"data-e-dcode\");\n\t\tvar easter_desc = jQuery(this).attr(\"data-e-desc\");\n\t\tvar easter_howto = jQuery(this).attr(\"data-e-redeem\");\n\t\tvar hover_info_text = jQuery(this).attr(\"data-e-info\");\n\n\t\tdo_console(hover_info_text);\n\n\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_img img\").attr(\"src\", easter_image);\n\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text p span b\").text(discount_code);\n\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text p.deal span\").text(easter_desc);\n\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text .prod_info h2\").text(easter_howto);\n\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text .prod_info .icon_info .eag-note\").text(hover_info_text);\n\n\t});\n\tdata_url\n\n\t// Collection page Close_Popup\n\tjQuery(\"#easter_popup .close_popup\").click(function (e) {\n\t\te.preventDefault();\n\t\tjQuery('#easter_popup_overlay').fadeOut();\n\t\tjQuery('#easter_popup').fadeOut();\n\t\tjQuery('body').removeClass(\"is_easterpopup_open\");\n\t\tjQuery('body').removeClass(\"overflow-hidden\");\n\t\twindow.location.href = data_url;\n\t});\n\n\t// Collection page clode Overlay Popup\n\tjQuery('#easter_popup_overlay').click(function (e) {\n\t\te.preventDefault();\n\t\tjQuery(this).hide();\n\t\tjQuery('#easter_popup').fadeOut();\n\t\tjQuery('body').removeClass(\"is_easterpopup_open\");\n\t\tjQuery('body').removeClass(\"overflow-hidden\");\n\t\twindow.location.href = data_url;\n\t});\n\n\tif (jQuery(\".popup_code_text .icon_info\").length) {\n\n\t\tjQuery(\".popup_code_text .icon_info a\").hover(function () {\n\t\t\tjQuery(\".eag-note\").fadeIn();\n\t\t});\n\t\tjQuery(\".popup_code_text .icon_info a\").mouseout(function () {\n\t\t\tjQuery(\".eag-note\").fadeOut();\n\t\t});\n\t}\n\n\t// Product page Popup\n\tvar data_pro_url = \"\";\n\tjQuery(\".template-product .easeter_popup.you_may_also\").on(\"click\", function (e) {\n\t\te.preventDefault();\n\t\tdata_pro_url = jQuery(this).attr('data-url');\n\t\tjQuery('#easter_popup').addClass('yo_may_like');\n\t\tjQuery('#easter_popup_overlay_product').fadeIn();\n\t});\n\t// if(jQuery( \".easeter_popup_product\" ).length ){\n\t// \tjQuery(document).on( \"click\", \".easeter_popup_product\", function( e ){\n\t// \t\te.preventDefault();\n\t// \t\tdata_url = jQuery(this).attr('data-url');\n\t// \t\tjQuery('#easter_popup_overlay_product').fadeIn();  \n\t// \t\tjQuery('#easter_popup').fadeIn();\n\t// \t\tjQuery('body').addClass(\"is_easterpopup_open\");\n\t// \t\tjQuery('body').addClass(\"overflow-hidden\");\n\n\t// \t\tvar easter_image = jQuery(this).attr(\"data-e-image\");\n\t// \t\tvar discount_code = jQuery(this).attr(\"data-e-dcode\");\n\t// \t\tvar easter_desc = jQuery(this).attr(\"data-e-desc\");\n\t// \t\tvar easter_howto = jQuery(this).attr(\"data-e-redeem\");\n\t// \t\tvar hover_info_text = jQuery(this).attr(\"data-e-info\");\n\n\t// \t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_img img\"). attr(\"src\", easter_image);\n\t// \t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text p span b\").text(discount_code);\n\t// \t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text p.deal span\").text(easter_desc);\n\t// \t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text .prod_info h2\").text(easter_howto);\n\t// \t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text .prod_info .icon_info .eag-note\").text(hover_info_text);\n\n\t// \t});\n\t// }\n\n\t// Product page Close_Popup\n\tjQuery(\"#easter_popup .close_product_popup\").click(function (e) {\n\t\tif (jQuery('#easter_popup').hasClass('collection_popup')) {\n\t\t\te.preventDefault();\n\t\t\tjQuery('#easter_popup').fadeOut();\n\t\t\tjQuery('body').removeClass(\"is_easterpopup_open\");\n\t\t\tjQuery('body').removeClass(\"overflow-hidden\");\n\t\t\tjQuery('#easter_popup').removeClass('collection_popup');\n\t\t\tjQuery('#easter_popup_overlay_product').fadeOut();\n\t\t} else if (jQuery('#easter_popup').hasClass('yo_may_like')) {\n\t\t\te.preventDefault();\n\t\t\tjQuery('#easter_popup_overlay_product').fadeOut();\n\t\t\tjQuery('#easter_popup').fadeOut();\n\t\t\tjQuery('body').removeClass(\"is_easterpopup_open\");\n\t\t\tjQuery('body').removeClass(\"overflow-hidden\");\n\t\t\tjQuery('#easter_popup').removeClass('yo_may_like');\n\t\t\twindow.location.href = data_pro_url;\n\t\t}\n\t\telse {\n\t\t\tvar totalquantity = parseInt(jQuery(\"form#addtocart #item_Quantity\").val());\n\t\t\te.preventDefault();\n\t\t\tjQuery('#easter_popup_overlay_product').fadeOut();\n\t\t\tjQuery('#easter_popup').fadeOut();\n\t\t\tjQuery('body').removeClass(\"is_easterpopup_open\");\n\t\t\tjQuery('body').removeClass(\"overflow-hidden\");\n\t\t\tvar product_id = jQuery(\"form#addtocart input[name='id']\").val();\n\n\t\t\tif (jQuery(\".subscription_value.product_add .subscription-freq\").length) {\n\t\t\t\tjQuery(\".subscription_value.product_add .subscription-freq option:selected\").each(function (ix, em) {\n\t\t\t\t\tvar sub_val = jQuery(em).val();\n\t\t\t\t\tif (sub_val == 'subscribe-save') {\n\t\t\t\t\t\tvar subscription_variant_id = jQuery(em).attr(\"data-subscription-id-to-add\");\n\t\t\t\t\t\tvar selectedfrequency = jQuery(em).attr(\"data-freq\");\n\t\t\t\t\t\tvar selectedfrequencyunit = jQuery(em).attr('data-unit');\n\t\t\t\t\t\tvar line_properties = {};\n\t\t\t\t\t\tline_properties.subscription_id = subscription_variant_id;\n\t\t\t\t\t\tline_properties.shipping_interval_frequency = selectedfrequency;\n\t\t\t\t\t\tline_properties.shipping_interval_unit_type = selectedfrequencyunit;\n\t\t\t\t\t\tline_properties.selling_plan_id = $(this).attr('selling_plan_id');\n\t\t\t\t\t\tdata_to_send = {\n\t\t\t\t\t\t\t'quantity': totalquantity,\n\t\t\t\t\t\t\t'id': product_id,\n\t\t\t\t\t\t\tproperties: line_properties\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdata_to_send = {\n\t\t\t\t\t\t\t'quantity': totalquantity,\n\t\t\t\t\t\t\t'id': product_id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tvar data_to_send = {\n\t\t\t\t\t'quantity': totalquantity,\n\t\t\t\t\t'id': product_id\n\t\t\t\t}\n\t\t\t}\n\t\t\tdo_console(3424);\n\t\t\tjQuery.ajax({\n\t\t\t\turl: '/cart/add.js',\n\t\t\t\tmethod: \"POST\",\n\t\t\t\tdataType: \"JSON\",\n\t\t\t\tdata: data_to_send,\n\t\t\t\tsuccess: function (data) {\n\t\t\t\t\tsendOneSignalTags(data.product_title, data.image);\n\t\t\t\t\tif(typeof window.customer_email !== 'undefined') {\n\t\t\t\t\t\twindow.liQ = window.liQ || [];\n\t\t\t\t\t\twindow.liQ.push({\n\t\t\t\t\t\t\"event\": \"addToCart\",\n\t\t\t\t\t\t\"email\": window.customer_email\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tupdate_cart_popup();\n\t\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").show();\n\t\t\t\t\tjQuery(\".nav-shop-mobile .badge\").show();\n\t\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").show();\n\t\t\t\t\tjQuery(\".nav-shop-mobile .badge\").show();\n\t\t\t\t\tvar valueToUpdate = parseInt(jQuery(\".nav-item.nav-shop .badge\").text()) +\n\t\t\t\t\t\ttotalquantity;\n\t\t\t\t\tjQuery(\".nav-shop-mobile .badge\").text(valueToUpdate.toString());\n\t\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").text(valueToUpdate.toString());\n\t\t\t\t\tjQuery(\"#crtbtn1\").removeAttr(\"disabled\");\n\t\t\t\t\tjQuery(\"#addtocart\").removeClass(\"is-uploading\");\n\t\t\t\t},\n\t\t\t\terror: function (data) {\n\t\t\t\t\tif (typeof data.responseJSON.description !== \"undefined\") {\n\t\t\t\t\t\tvar message = data.responseJSON.description;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvar message = \"Please try again later!\";\n\t\t\t\t\t}\n\t\t\t\t\tswal({\n\t\t\t\t\t\ttitle: \"Oops!!\",\n\t\t\t\t\t\ttext: message,\n\t\t\t\t\t\ticon: \"error\",\n\t\t\t\t\t\tclassName: \"add-ajax-outofstock\",\n\t\t\t\t\t\tbuttons: false,\n\t\t\t\t\t\ttimer: 1500\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t});\n\n\t// Product page Close_overlay\n\tjQuery('#easter_popup_overlay_product').click(function (e) {\n\t\tif (jQuery('#easter_popup').hasClass('collection_popup')) {\n\t\t\te.preventDefault();\n\t\t\tjQuery(this).hide();\n\t\t\tjQuery('#easter_popup').fadeOut();\n\t\t\tjQuery('body').removeClass(\"is_easterpopup_open\");\n\t\t\tjQuery('body').removeClass(\"overflow-hidden\");\n\t\t\tjQuery('#easter_popup').removeClass('collection_popup');\n\t\t} else if (jQuery('#easter_popup').hasClass('yo_may_like')) {\n\t\t\te.preventDefault();\n\t\t\tjQuery('#easter_popup').fadeOut();\n\t\t\tjQuery('body').removeClass(\"is_easterpopup_open\");\n\t\t\tjQuery('body').removeClass(\"overflow-hidden\");\n\t\t\tjQuery('#easter_popup').removeClass('yo_may_like');\n\t\t\tjQuery('#easter_popup_overlay_product').fadeOut();\n\t\t\twindow.location.href = data_pro_url;\n\t\t} else {\n\t\t\tvar totalquantity = parseInt(jQuery(\"form#addtocart #item_Quantity\").val());\n\t\t\te.preventDefault();\n\t\t\tjQuery('#easter_popup_overlay_product').fadeOut();\n\t\t\tjQuery('#easter_popup').fadeOut();\n\t\t\tjQuery('body').removeClass(\"is_easterpopup_open\");\n\t\t\tjQuery('body').removeClass(\"overflow-hidden\");\n\t\t\tvar product_id = jQuery(\"form#addtocart input[name='id']\").val();\n\n\t\t\tif (jQuery(\".subscription_value.product_add .subscription-freq\").length) {\n\t\t\t\tjQuery(\".subscription_value.product_add .subscription-freq option:selected\").each(function (ix, em) {\n\t\t\t\t\tvar sub_val = jQuery(em).val();\n\t\t\t\t\tif (sub_val == 'subscribe-save') {\n\t\t\t\t\t\tvar subscription_variant_id = jQuery(em).attr(\"data-subscription-id-to-add\");\n\t\t\t\t\t\tvar selectedfrequency = jQuery(em).attr(\"data-freq\");\n\t\t\t\t\t\tvar selectedfrequencyunit = jQuery(em).attr('data-unit');\n\t\t\t\t\t\tvar line_properties = {};\n\t\t\t\t\t\tline_properties.subscription_id = subscription_variant_id;\n\t\t\t\t\t\tline_properties.shipping_interval_frequency = selectedfrequency;\n\t\t\t\t\t\tline_properties.shipping_interval_unit_type = selectedfrequencyunit;\n\t\t\t\t\t\tline_properties.selling_plan_id = $(this).attr('selling_plan_id');\n\t\t\t\t\t\tdata_to_send = {\n\t\t\t\t\t\t\t'quantity': totalquantity,\n\t\t\t\t\t\t\t'id': product_id,\n\t\t\t\t\t\t\tproperties: line_properties\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdata_to_send = {\n\t\t\t\t\t\t\t'quantity': totalquantity,\n\t\t\t\t\t\t\t'id': product_id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tvar data_to_send = {\n\t\t\t\t\t'quantity': totalquantity,\n\t\t\t\t\t'id': product_id\n\t\t\t\t}\n\t\t\t}\n\t\t\tdo_console(3525);\n\t\t\tjQuery.ajax({\n\t\t\t\turl: '/cart/add.js',\n\t\t\t\tmethod: \"POST\",\n\t\t\t\tdataType: \"JSON\",\n\t\t\t\tdata: data_to_send,\n\t\t\t\tsuccess: function (data) {\n\t\t\t\t\tsendOneSignalTags(data.product_title, data.image);\n\t\t\t\t\tupdate_cart_popup();\n\t\t\t\t\tif(typeof window.customer_email !== 'undefined') {\n\t\t\t\t\t\twindow.liQ = window.liQ || [];\n\t\t\t\t\t\twindow.liQ.push({\n\t\t\t\t\t\t\"event\": \"addToCart\",\n\t\t\t\t\t\t\"email\": window.customer_email\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").show();\n\t\t\t\t\tjQuery(\".nav-shop-mobile .badge\").show();\n\t\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").show();\n\t\t\t\t\tjQuery(\".nav-shop-mobile .badge\").show();\n\t\t\t\t\tvar valueToUpdate = parseInt(jQuery(\".nav-item.nav-shop .badge\").text()) +\n\t\t\t\t\t\ttotalquantity;\n\t\t\t\t\tjQuery(\".nav-shop-mobile .badge\").text(valueToUpdate.toString());\n\t\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").text(valueToUpdate.toString());\n\t\t\t\t\tjQuery(\"#crtbtn1\").removeAttr(\"disabled\");\n\t\t\t\t\tjQuery(\"#addtocart\").removeClass(\"is-uploading\");\n\t\t\t\t},\n\t\t\t\terror: function (data) {\n\t\t\t\t\tif (typeof data.responseJSON.description !== \"undefined\") {\n\t\t\t\t\t\tvar message = data.responseJSON.description;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvar message = \"Please try again later!\";\n\t\t\t\t\t}\n\t\t\t\t\tswal({\n\t\t\t\t\t\ttitle: \"Oops!!\",\n\t\t\t\t\t\ttext: message,\n\t\t\t\t\t\ticon: \"error\",\n\t\t\t\t\t\tclassName: \"add-ajax-outofstock\",\n\t\t\t\t\t\tbuttons: false,\n\t\t\t\t\t\ttimer: 1500\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t});\n\n\t// Popup Show only on category Page\n\tif (jQuery('#category_easter_popup').length) {\n\t\tsetTimeout(function () {\n\t\t\tjQuery('#easter_category_popup_overlay').fadeIn();\n\t\t\tjQuery('#category_easter_popup').fadeIn();\n\t\t\tjQuery('body').addClass(\"is_easterpopup_open\");\n\t\t\tjQuery('body').addClass(\"overflow-hidden\");\n\t\t}, 5000); // 5000 to load it after 5 seconds from page load\n\t}\n\t// Popup Close only on category Page\n\tjQuery(\"#category_easter_popup .close_category_popup\").click(function (e) {\n\t\te.preventDefault();\n\t\tjQuery('#easter_category_popup_overlay').fadeOut();\n\t\tjQuery('#category_easter_popup').fadeOut();\n\t\tjQuery('body').removeClass(\"is_easterpopup_open\");\n\t\tjQuery('body').removeClass(\"overflow-hidden\");\n\t});\n\n\t// category page close Overlay Popup\n\tjQuery('#easter_category_popup_overlay').click(function (e) {\n\t\te.preventDefault();\n\t\tjQuery(this).hide();\n\t\tjQuery('#category_easter_popup').fadeOut();\n\t\tjQuery('body').removeClass(\"is_easterpopup_open\");\n\t\tjQuery('body').removeClass(\"overflow-hidden\");\n\t});\n\n\t// sidecart-js start\n\tif (jQuery(\"#banner_img\").length) {\n\t\tjQuery(\".side-cart-popup-notes\").hide();\n\t\tvar get_cart_img = jQuery(\"#banner_img\").attr(\"data-image\");\n\t\tvar get_cart_url = jQuery(\"#banner_img\").attr(\"data-url\");\n\t\tjQuery(\".side-cart-popup .side-cart-popup-banner-img img\").attr(\"src\", get_cart_img);\n\t\tif(get_cart_url.toString().trim() !== \"\") {\n\t\t\tjQuery(\".side-cart-popup .side-cart-popup-banner-img img\").wrap(`<a href=\"${get_cart_url.toString().trim()}\"></a>`);\n\t\t}\n\t}\n\telse {\n\n\t\tjQuery(\".side-cart-popup-banner-img\").hide();\n\n\t\tvar get_title = jQuery(\"#banner_text\").attr(\"data-title\");\n\t\tvar get_title_color = jQuery(\"#banner_text\").attr(\"data-title-color\");\n\n\t\tvar get_info = jQuery(\"#banner_text\").attr(\"data-info\");\n\t\tvar get_info_color = jQuery(\"#banner_text\").attr(\"data-info-color\");\n\n\t\tvar bg_popup_color = jQuery(\"#banner_text\").attr(\"data-info-bg-color\");\n\n\t\tjQuery(\".side-cart-popup-notes\").css({ \"background-color\": bg_popup_color });\n\n\t\tjQuery(\".side-cart-popup-notes h2\").text(get_title);\n\t\tjQuery(\".side-cart-popup-notes h2\").css({ \"color\": get_title_color });\n\n\t\tjQuery(\".side-cart-popup-notes p\").text(get_info);\n\t\tjQuery(\".side-cart-popup-notes p\").css({ \"color\": get_info_color });\n\t}\n\t// sidecart-js end\n\n\n\t// Show More Blog Btn Js\n\n\tjQuery(\".show_hidden_tag\").on(\"click\", function (e) {\n\t\te.preventDefault();\n\t\tjQuery(this).hide();\n\t\tjQuery(\".filter_wrapper .blog_filtter .filtter_tag .is-hidden_tag\").show();\n\t});\n\n\t// Show More Blog Btn Js End\n\n\t// Blog Post JS For CB Fonts Start\n\n\tjQuery(\"link\").each(function (ix, em) {\n\t\tif (typeof jQuery(em).attr('href') !== 'undefined' && jQuery(em).attr('href').trim().indexOf('Quicksand') !== -1) {\n\t\t\tdo_console('got inside');\n\t\t\tjQuery(\"section.blog-post\").attr(\"style\", \"font-family:'Quicksand'\");\n\t\t}\n\t});\n\t// Blog Post JS For CB Fonts End\n\n});\n\n\n// On Scroll Product Page\n\njQuery(window).on('scroll', function () {\n\tif (jQuery('#product-sticky').length > 0) {\n\t\tvar window_top = jQuery(window).scrollTop();\n\t\tvar btn_cart = jQuery(\"#crtbtn1\").offset().top;\n\t\tvar half_window_height = jQuery(window).height() / 1.2;\n\t\tvar heder_height = jQuery(\".navbar-custom\").outerHeight();\n\t\tvar top = jQuery('.product-about').offset().top - btn_cart;\n\t\tif (window_top > btn_cart) {\n\t\t\tjQuery('#product-sticky').fadeIn();\n\t\t\tjQuery('#product-sticky').addClass('issticky');\n\t\t\tjQuery('#product-sticky').css({ \"top\": heder_height });\n\t\t} else {\n\t\t\tjQuery('#product-sticky').fadeOut();\n\t\t\tjQuery('#product-sticky').removeClass('issticky');\n\t\t}\n\t}\n\n});\n\n// On Scroll Product Page End \n\n\n// Product Filter tag\n\njQuery(document).ready(function () {\n\n\t// Get Review Data\n\tvar review_product_id = jQuery('.hidden_input_value').attr('data-productid');\n\tif (jQuery('.product-tag .tag a').length > 0) {\n\t\tfor (var i = 1; i <= 4; i++) {\n\t\t\tjQuery.get('https://judge.me/reviews/reviews_for_widget?url=teamiblends-us.myshopify.com&shop_domain=teamiblends-us.myshopify.com&platform=shopify&page=' + i + '&per_page=100&product_id=' + review_product_id + '', function (data) {\n\t\t\t\tjQuery('.product-review-class').append(data.html);\n\t\t\t})\n\t\t}\n\t}\n\n\t// Check Review Tag\n\n\t// Check Review Tag\n\n\tjQuery('.product-tag .tag a').on('click', function (e) {\n\t\te.preventDefault();\n\t\tjQuery(\"mark\").each(function (ix, em) {\n\t\t\tjQuery(em).replaceWith(jQuery(em).html());\n\t\t});\n\t\t//jQuery(\".jdgm-rev__cf-ans__value\").removeClass(\"hightLight_text\");\n\t\tjQuery(\".product-review-class .jdgm-rev-widg__reviews\").show();\n\t\tjQuery(\"#judgeme_product_reviews\").hide();\n\t\tvar tag_value = jQuery(this).attr('data-review-tag');\n\t\ttag_value = tag_value.toLowerCase();\n\t\tvar count = 0;\n\t\tjQuery(\".product-review-class .jdgm-rev-widg__reviews .jdgm-rev.jdgm-divider-top\").each(function (index, element) {\n\t\t\t// Fetch Review Text\n\t\t\tvar full_name = jQuery(element).find(\".jdgm-rev__header .jdgm-rev__author-wrapper\").attr(\"data-fullname\");\n\t\t\tvar find_name = jQuery(element).find(\".jdgm-rev__header .jdgm-rev__author-wrapper .jdgm-rev__author\");\n\t\t\tjQuery(find_name).text(full_name);\n\n\t\t\tvar desc = jQuery(\".jdgm-rev__cf-ans__value\", jQuery(element)).text();\n\t\t\tdesc = desc.toLowerCase();\n\t\t\t// Check if filter text is present\t\t\t\n\t\t\tif (desc.indexOf(tag_value) > -1) {\n\t\t\t\tjQuery(element).show();\n\t\t\t\tcount = count + 1;\n\t\t\t\tjQuery(\".jdgm-rev__cf-ans__value\", jQuery(element)).each(function (i, e) {\n\t\t\t\t\tvar desc_text = jQuery(e).text();\n\t\t\t\t\tdesc_text = desc_text.toLowerCase();\n\t\t\t\t\tif (desc_text.indexOf(tag_value) > -1) {\n\t\t\t\t\t\t//jQuery(e).addClass(\"hightLight_text\");\t\t\t\t\t\t\n\t\t\t\t\t\tvar words = [];\n\t\t\t\t\t\tvar words = desc_text.split(',');\n\t\t\t\t\t\tvar w_l = words.length;\n\t\t\t\t\t\tvar $new_string = \"\";\n\n\t\t\t\t\t\tif (words.length > 0) {\n\t\t\t\t\t\t\tjQuery(words).each(function (i, e) {\n\t\t\t\t\t\t\t\tif (e.indexOf(tag_value) > -1) {\n\t\t\t\t\t\t\t\t\t$new_string = \"<mark>\" + e + \",</mark>\";\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t$new_string = $new_string + e;\n\t\t\t\t\t\t\t\t\tif (i !== (w_l - 1)) {\n\t\t\t\t\t\t\t\t\t\t$new_string = $new_string + \",\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tjQuery(e, jQuery(element)).html('').html($new_string);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tjQuery(element).hide();\n\n\t\t\t}\n\t\t});\n\t\tif (count > 1) {\n\t\t\tjQuery(\".error_msg\").hide();\n\t\t} else {\n\t\t\tjQuery(\".error_msg\").show();\n\t\t}\n\t});\n\n\t// show all review\n\tjQuery(\".show_all_reviews a\").on(\"click\", function (e) {\n\t\te.preventDefault();\n\t\tjQuery(\".product-review-class .jdgm-rev-widg__reviews\").hide();\n\t\tjQuery(\"#judgeme_product_reviews\").show();\n\t\tjQuery(\".error_msg\").hide();\n\t});\n\n\t// Upsell Side-Cart  Add Tocart Code\n\n\tjQuery(document).on('click', \".Add_single_product\", function (e) {\n\t\te.preventDefault();\n\t\tvar totalquantity = 1;\n\t\tvar variant_id = jQuery('.Single_product_wrapper .description').attr('data-variant-id');\n\t\tdo_console(variant_id);\n\t\tdo_console(totalquantity);\n\t\tvar data_to_send = {\n\t\t\t'quantity': totalquantity,\n\t\t\t'id': variant_id\n\t\t}\n\t\tdo_console(3774);\n\t\tjQuery.ajax({\n\t\t\turl: '/cart/add.js',\n\t\t\tmethod: \"POST\",\n\t\t\tdataType: \"JSON\",\n\t\t\tdata: data_to_send,\n\t\t\tsuccess: function (data) {\n\t\t\t\tsendOneSignalTags(data.product_title, data.image);\n\t\t\t\tif(typeof window.customer_email !== 'undefined') {\n\t\t\t\t\twindow.liQ = window.liQ || [];\n\t\t\t\t\twindow.liQ.push({\n\t\t\t\t\t\"event\": \"addToCart\",\n\t\t\t\t\t\"email\": window.customer_email\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tupdate_cart_popup();\n\t\t\t\tjQuery('.Single_product_wrapper').hide();\n\t\t\t},\n\t\t\terror: function (data) {\n\t\t\t\tif (typeof data.responseJSON.description !== \"undefined\") {\n\t\t\t\t\tvar message = data.responseJSON.description;\n\t\t\t\t} else {\n\t\t\t\t\tvar message = \"Please try again later!\";\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t});\n\n\tjQuery(document).on('click', \".Add_single_product_cart\", function (e) {\n\t\te.preventDefault();\n\t\tvar totalquantity = 1;\n\t\tvar variant_id = jQuery('.Single_product_wrapper .description').attr('data-variant-id');\n\t\tdo_console(variant_id);\n\t\tdo_console(totalquantity);\n\t\tvar data_to_send = {\n\t\t\t'quantity': totalquantity,\n\t\t\t'id': variant_id\n\t\t}\n\t\tdo_console(3812);\n\t\tjQuery.ajax({\n\t\t\turl: '/cart/add.js',\n\t\t\tmethod: \"POST\",\n\t\t\tdataType: \"JSON\",\n\t\t\tdata: data_to_send,\n\t\t\tsuccess: function (data) {\n\t\t\t\tsendOneSignalTags(data.product_title, data.image);\n\t\t\t\tif(typeof window.customer_email !== 'undefined') {\n\t\t\t\t\twindow.liQ = window.liQ || [];\n\t\t\t\t\twindow.liQ.push({\n\t\t\t\t\t\"event\": \"addToCart\",\n\t\t\t\t\t\"email\": window.customer_email\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlocation.reload();\n\t\t\t\tjQuery('.Single_product_wrapper').hide();\n\t\t\t},\n\t\t\terror: function (data) {\n\t\t\t\tif (typeof data.responseJSON.description !== \"undefined\") {\n\t\t\t\t\tvar message = data.responseJSON.description;\n\t\t\t\t} else {\n\t\t\t\t\tvar message = \"Please try again later!\";\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t});\n\n\t// FAQ Page Back to top js\n\n\tif (jQuery('.back_srcoll').length) {\n\t\tvar scrollTrigger = 100, // px\n\t\t\tbackToTop = function () {\n\t\t\t\tvar scrollTop = jQuery(window).scrollTop();\n\t\t\t\tif (scrollTop > scrollTrigger) {\n\t\t\t\t\tjQuery('.back_srcoll').addClass('show');\n\t\t\t\t} else {\n\t\t\t\t\tjQuery('.back_srcoll').removeClass('show');\n\t\t\t\t}\n\t\t\t};\n\t\tbackToTop();\n\t\tjQuery(window).on('scroll', function () {\n\t\t\tbackToTop();\n\t\t});\n\t\tjQuery('.back_srcoll').on('click', function (e) {\n\t\t\te.preventDefault();\n\t\t\tjQuery('html,body').animate({\n\t\t\t\tscrollTop: 0\n\t\t\t}, 700);\n\t\t});\n\t}\n\n\t// FAQ PAge Form Search\n\tjQuery('#search_form').on('submit', function (e) {\n\t\te.preventDefault();\n\t\tvar searchWord = jQuery('#search_form input.form-control').val().toString().toLowerCase();\n\t\tjQuery(\"#accordion .card\").each(function (ix, em) {\n\t\t\tif (jQuery(em).find(\".card-link\").text().trim().toLowerCase().indexOf(searchWord) != -1 || jQuery(em).find(\".card-body\").text().trim().toLowerCase().indexOf(searchWord) != -1) {\n\t\t\t\tjQuery(this).find('.collapse').addClass(\"show\");\n\t\t\t\tvar target = jQuery('.collapse.show');\n\t\t\t\tif (target.length) {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\tjQuery('html, body').stop().animate({\n\t\t\t\t\t\tscrollTop: target.offset().top\n\t\t\t\t\t}, 1000);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tjQuery(this).find('.collapse').removeClass(\"show\");\n\t\t\t}\n\t\t});\n\t});\n\n\t// FAQ PAge On click Scroll and open faq\n\n\tjQuery('.service_block').on('click', function (e) {\n\t\tvar match_id = jQuery(this).attr('data-id');\n\t\tvar is_true = false;\n\t\tjQuery(\"#accordion .card\").each(function (ix, em) {\n\t\t\tvar new_id = jQuery(this).attr('id');\n\t\t\tif (match_id == new_id) {\n\t\t\t\tjQuery(em).find('.collapse').addClass(\"show\");\n\t\t\t} else {\n\t\t\t\tjQuery(em).find('.collapse').removeClass(\"show\");\n\t\t\t}\n\t\t});\n\t});\n\n\tif (jQuery(window).width() < 991) {\n\t\t// do_console(\"is mobile\");\n\t\tif (jQuery(\".product-form__cart-submit.mobile-show\").length) {\n\t\t\tjQuery(document).on('click', '.product-form__cart-submit.mobile-show', function (e) {\n\t\t\t\tvar header_height = jQuery(\".navbar-custom\").outerHeight();\n\t\t\t\tvar product_sticky_height = jQuery(\"#product-sticky\").outerHeight();\n\n\t\t\t\tvar top_height = header_height + product_sticky_height;\n\t\t\t\te.preventDefault();\n\t\t\t\tjQuery(\".mobile_popup\").show();\n\t\t\t\tjQuery(\".mobile_popup\").css({ \"top\": top_height });\n\t\t\t\tjQuery(this).attr(\"disabled\", \"disabled\");\n\t\t\t});\n\t\t}\n\t\telse {\n\t\t\tjQuery(\".product_sticky_form\").on(\"submit\", function (e) {\n\t\t\t\te.preventDefault();\n\t\t\t\tvar $this = jQuery(this);\n\t\t\t\tvar qnty = jQuery(\"#Quantity-product-template\", $this).val();\n\t\t\t\tvar totalquantity = parseInt(qnty);\n\t\t\t\tdo_console(totalquantity);\n\t\t\t\tif (jQuery(\".product-form__variants[data-variant-select-value]\").length) {\n\t\t\t\t\tvar varianttoadd = jQuery(\".product-form__variants[data-variant-select-value]\", $this).val();\n\t\t\t\t} else {\n\t\t\t\t\tvar varianttoadd = jQuery(\"#variant_drfault\").attr('data-varint-default');\n\t\t\t\t}\n\t\t\t\tvar product_id = jQuery(\"#product-sticky .sticky-bar-inner\").attr('data-productId');\n\n\t\t\t\tvar data_to_send = {\n\t\t\t\t\t'quantity': totalquantity,\n\t\t\t\t\t'id': varianttoadd\n\t\t\t\t}\n\t\t\t\tdo_console(3931);\n\t\t\t\tjQuery.ajax({\n\t\t\t\t\turl: '/cart/add.js',\n\t\t\t\t\tmethod: \"POST\",\n\t\t\t\t\tdataType: \"JSON\",\n\t\t\t\t\tdata: data_to_send,\n\t\t\t\t\tsuccess: function (data) {\n\t\t\t\t\t\tsendOneSignalTags(data.product_title, data.image);\n\t\t\t\t\t\tupdate_cart_popup();\n\t\t\t\t\t\tif(typeof window.customer_email !== 'undefined') {\n\t\t\t\t\t\t\twindow.liQ = window.liQ || [];\n\t\t\t\t\t\t\twindow.liQ.push({\n\t\t\t\t\t\t\t\"event\": \"addToCart\",\n\t\t\t\t\t\t\t\"email\": window.customer_email\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\terror: function (data) {\n\t\t\t\t\t\tif (typeof data.responseJSON.description !== \"undefined\") {\n\t\t\t\t\t\t\tvar message = data.responseJSON.description;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar message = \"Please try again later!\";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\t} else {\n\t\tjQuery(\".product_sticky_form\").on(\"submit\", function (e) {\n\t\t\te.preventDefault();\n\t\t\tvar $this = jQuery(this);\n\t\t\tvar qnty = jQuery(\"#Quantity-product-template\", $this).val();\n\t\t\tvar totalquantity = parseInt(qnty);\n\t\t\tdo_console(totalquantity);\n\t\t\tif (jQuery(\".product-form__variants[data-variant-select-value]\").length) {\n\t\t\t\tvar varianttoadd = jQuery(\".product-form__variants[data-variant-select-value]\", $this).val();\n\t\t\t} else {\n\t\t\t\tvar varianttoadd = jQuery(\"#variant_drfault\").attr('data-varint-default');\n\t\t\t}\n\t\t\tvar product_id = jQuery(\"#product-sticky .sticky-bar-inner\").attr('data-productId');\n\n\t\t\tvar data_to_send = {\n\t\t\t\t'quantity': totalquantity,\n\t\t\t\t'id': varianttoadd\n\t\t\t}\n\t\t\tdo_console(3976);\n\t\t\tjQuery.ajax({\n\t\t\t\turl: '/cart/add.js',\n\t\t\t\tmethod: \"POST\",\n\t\t\t\tdataType: \"JSON\",\n\t\t\t\tdata: data_to_send,\n\t\t\t\tsuccess: function (data) {\n\t\t\t\t\tsendOneSignalTags(data.product_title, data.image);\n\t\t\t\t\tupdate_cart_popup();\n\t\t\t\t\tif(typeof window.customer_email !== 'undefined') {\n\t\t\t\t\t\twindow.liQ = window.liQ || [];\n\t\t\t\t\t\twindow.liQ.push({\n\t\t\t\t\t\t\"event\": \"addToCart\",\n\t\t\t\t\t\t\"email\": window.customer_email\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\terror: function (data) {\n\t\t\t\t\tif (typeof data.responseJSON.description !== \"undefined\") {\n\t\t\t\t\t\tvar message = data.responseJSON.description;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvar message = \"Please try again later!\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\tjQuery('.product_sticky_form').on('submit', function (e) {\n\t\te.preventDefault();\n\t\tvar $this = jQuery(this);\n\n\t\tvar qnty = jQuery(\"#Quantity-product-template\", $this).val();\n\t\tvar totalquantity = parseInt(qnty);\n\t\tdo_console($this);\n\t\tif (jQuery(\".product-form__variants[data-variant-select-value]\", $this).length) {\n\t\t\tvar varianttoadd = jQuery(\".product-form__variants[data-variant-select-value]\", $this).val();\n\t\t} else {\n\t\t\tvar varianttoadd = jQuery(\"#variant_drfault\").attr('data-varint-default');\n\t\t}\n\t\tvar product_id = jQuery(\"#product-sticky .sticky-bar-inner\").attr('data-productId');\n\n\t\tvar data_to_send = {\n\t\t\t'quantity': totalquantity,\n\t\t\t'id': varianttoadd\n\t\t}\n\t\tdo_console(4022);\n\t\tjQuery.ajax({\n\t\t\turl: '/cart/add.js',\n\t\t\tmethod: \"POST\",\n\t\t\tdataType: \"JSON\",\n\t\t\tdata: data_to_send,\n\t\t\tsuccess: function (data) {\n\t\t\t\tsendOneSignalTags(data.product_title, data.image);\n\t\t\t\tupdate_cart_popup();\n\t\t\t\tif(typeof window.customer_email !== 'undefined') {\n\t\t\t\t\twindow.liQ = window.liQ || [];\n\t\t\t\t\twindow.liQ.push({\n\t\t\t\t\t\"event\": \"addToCart\",\n\t\t\t\t\t\"email\": window.customer_email\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tif (jQuery(window).width() < 991) {\n\t\t\t\t\tif (jQuery(\".mobile_popup\").length) {\n\t\t\t\t\t\tjQuery(\".mobile_popup\").hide();\n\t\t\t\t\t\tjQuery('.product-form__cart-submit.mobile-show').removeAttr(\"disabled\", \"disabled\");\n\t\t\t\t\t\tjQuery(\".product-form__cart-submit.mobile-show #AddToCartText-product-template\").text(\"Add to Cart\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\terror: function (data) {\n\t\t\t\tif (typeof data.responseJSON.description !== \"undefined\") {\n\t\t\t\t\tvar message = data.responseJSON.description;\n\t\t\t\t} else {\n\t\t\t\t\tvar message = \"Please try again later!\";\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t});\n\n\n\n\tif (jQuery(\".selector-wrapper.product-form__item\").length > 1) {\n\t\tjQuery(\".single-option-selector\").on('change', function () {\n\t\t\tget_variant_id();\n\t\t});\n\t} else {\n\t\tjQuery(\".single-option-selector\").on('change', function () {\n\t\t\tget_single_variant_id();\n\t\t});\n\t}\n\n\tjQuery('.mobile_popup .close_popup a').on(\"click\", function (e) {\n\t\te.preventDefault();\n\t\tjQuery(\".mobile_popup\").hide();\n\t\tvar preorder_text = jQuery(\"#AddToCart-product-template #AddToCartText-product-template\").attr('data-preorder-btn');\n\t\tif (preorder_text) {\n\t\t\tjQuery(\".product-form__cart-submit.mobile-show\").removeAttr(\"disabled\");\n\t\t\tjQuery(\".product-form__cart-submit.mobile-show #AddToCartText-product-template\").text(preorder_text);\n\t\t} else {\n\t\t\tjQuery(\".product-form__cart-submit.mobile-show\").removeAttr(\"disabled\");\n\t\t\tjQuery(\".product-form__cart-submit.mobile-show #AddToCartText-product-template\").text(\"Add to Cart\");\n\t\t}\n\t});\n\n\tif (jQuery(\".product_sticky\").length) {\n\t\t//IF single \n\t\tif (jQuery(\".product_sticky .single-option-selector\").length == 1) {\n\t\t\t//DISABLE THE ONES NOT AVAILABLE\n\t\t\tjQuery(\".product_sticky .single-option-selector\").find('option').each(function (ix, em) {\n\t\t\t\tvar option_val = jQuery(em).text().trim();\n\t\t\t\tdo_console('option_val' + option_val);\n\t\t\t\tjQuery(\".product_sticky select[name='product_variant']\").find('option').each(function (ix2, em2) {\n\t\t\t\t\tvar option_val_2 = jQuery(em2).text().trim().replace(\" - Sold out\", \"\");\n\t\t\t\t\tdo_console('option_val_2' + option_val_2);\n\t\t\t\t\tif (option_val == option_val_2) {\n\t\t\t\t\t\tif (jQuery(em2).attr('disabled')) {\n\t\t\t\t\t\t\tjQuery(em).attr('disabled', 'disabled');\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjQuery(em).removeAttr('disabled');\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t} else if (jQuery(\".product_sticky .single-option-selector\").length == 2) {\n\t\t\t//DISABLE THE ONES NOT AVAILABLE\n\t\t\tfunction enable_disable_selection() {\n\t\t\t\tjQuery(\".product_sticky .single-option-selector\").eq(0).find('option').each(function (ix, em) {\n\t\t\t\t\tvar option_val = jQuery(em).text().trim();\n\t\t\t\t\tvar option_2_val = jQuery(\".product_sticky .single-option-selector\").eq(1).val();\n\t\t\t\t\t//do_console('option_val' + option_val);\n\t\t\t\t\toption_val = option_val + \" / \" + option_2_val;\n\t\t\t\t\tjQuery(\".product_sticky select[name='product_variant']\").find('option').each(function (ix2, em2) {\n\t\t\t\t\t\tvar option_val_2 = jQuery(em2).text().trim().replace(\" - Sold out\", \"\");\n\t\t\t\t\t\t//do_console('option_val_2' + option_val_2);\n\t\t\t\t\t\tif (option_val == option_val_2) {\n\t\t\t\t\t\t\tif (jQuery(em2).attr('disabled')) {\n\t\t\t\t\t\t\t\tjQuery(em).attr('disabled', 'disabled');\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery(em).removeAttr('disabled');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t});\n\n\t\t\t\tjQuery(\".product_sticky .single-option-selector\").eq(1).find('option').each(function (ix, em) {\n\t\t\t\t\tvar option_val = jQuery(em).text().trim();\n\t\t\t\t\tvar option_1_val = jQuery(\".product_sticky .single-option-selector\").eq(0).val();\n\t\t\t\t\t//do_console('option_val' + option_val);\n\t\t\t\t\toption_val = option_1_val + \" / \" + option_val;\n\t\t\t\t\tjQuery(\".product_sticky select[name='product_variant']\").find('option').each(function (ix2, em2) {\n\t\t\t\t\t\tvar option_val_2 = jQuery(em2).text().trim().replace(\" - Sold out\", \"\");\n\t\t\t\t\t\t//do_console('option_val_2' + option_val_2);\n\t\t\t\t\t\tif (option_val == option_val_2) {\n\t\t\t\t\t\t\tif (jQuery(em2).attr('disabled')) {\n\t\t\t\t\t\t\t\tjQuery(em).attr('disabled', 'disabled');\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery(em).removeAttr('disabled');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t} //function ends\n\t\t\tenable_disable_selection();\n\t\t\tjQuery(document).on('change', \".product_sticky .single-option-selector\", function (e) {\n\t\t\t\tenable_disable_selection();\n\t\t\t});\n\n\n\t\t}\n\t}\n\n\t// Recharge option on change change product price\n\tjQuery(document).on('change', '.subscribe_info input', function (e) {\n\t\tvar original_price = jQuery('.subscribe_price').attr('data-pro-price');\n\t\tvar d_price = jQuery('.subscribe_price.disc_price').attr('data-dis-price');\n\t\tif (this.value == 'Yes') {\n\t\t\tjQuery(\"#proprice\").html(d_price);\n\t\t} else {\n\t\t\tjQuery(\"#proprice\").html(original_price);\n\t\t}\n\t});\n\n});\n\n\nfunction get_variant_id() {\n\n\tvar final_var_sel = jQuery(\"#SingleOptionSelector-0\").val() + \" / \" + jQuery(\"#SingleOptionSelector-1\").val();\n\tvar did_get_select = false;\n\tvar preorder_text = jQuery(\"#AddToCart-product-template #AddToCartText-product-template\").attr('data-preorder-btn');\n\n\tjQuery(\".product-form__variants\").find('option').each(function (ix, em) {\n\t\tif (jQuery(em).text().trim() == final_var_sel) {\n\t\t\tdid_get_select = true;\n\t\t\tif (jQuery(window).width() > 991) {\n\t\t\t\tif (preorder_text) {\n\t\t\t\t\tjQuery(\".product-form__cart-submit\").removeAttr(\"disabled\");\n\t\t\t\t\tjQuery(\".product-form__cart-submit #AddToCartText-product-template\").text(preorder_text);\n\t\t\t\t} else {\n\t\t\t\t\tjQuery(\".product-form__cart-submit\").removeAttr(\"disabled\");\n\t\t\t\t\tjQuery(\".product-form__cart-submit #AddToCartText-product-template\").text(\"Add to Cart\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (preorder_text) {\n\t\t\t\t\tjQuery(\".product-form__cart-submit\").removeAttr(\"disabled\");\n\t\t\t\t\tjQuery(\".product-form__cart-submit #AddToCartText-product-template\").text(preorder_text);\n\t\t\t\t\tjQuery(\".mobile_popup .product-form__cart-submit\").removeAttr(\"disabled\");\n\t\t\t\t\tjQuery(\".mobile_popup .product-form__cart-submit #AddToCartText-product-template\").text(preorder_text);\n\t\t\t\t} else {\n\t\t\t\t\tjQuery(\".product-form__cart-submit\").removeAttr(\"disabled\");\n\t\t\t\t\tjQuery(\".product-form__cart-submit #AddToCartText-product-template\").text(\"Add to Cart\");\n\t\t\t\t\tjQuery(\".product-form__cart-submit\").attr(\"disabled\", \"disabled\");\n\t\t\t\t\tjQuery(\".mobile_popup .product-form__cart-submit\").removeAttr(\"disabled\");\n\t\t\t\t\tjQuery(\".mobile_popup .product-form__cart-submit #AddToCartText-product-template\").text(\"Ok\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tvar selected_variant_id = jQuery(em).attr('value');\n\t\t\tjQuery(em).val(selected_variant_id);\n\t\t\tdebugger;\n\t\t\tjQuery(em).prop('selected', true);\n\t\t\tjQuery(em).trigger('change');\n\t\t} else {\n\t\t\tjQuery(em).prop('selected',false);\n\t\t}\n\t});\n\tif (did_get_select == false) {\n\n\t\tjQuery(\".product-form__cart-submit\").attr(\"disabled\", \"disabled\");\n\t\tjQuery(\".product-form__cart-submit #AddToCartText-product-template\").text(\"Sold Out\");\n\n\t}\n}\n\nfunction get_single_variant_id() {\n\n\tvar final_var_sel = jQuery(\"#SingleOptionSelector-0\").val();\n\tvar did_get_select = false;\n\tvar preorder_text = jQuery(\"#AddToCart-product-template #AddToCartText-product-template\").attr('data-preorder-btn');\n\n\n\tjQuery(\".product-form__variants\").find('option').each(function (ix, em) {\n\t\tif (jQuery(em).text().trim() == final_var_sel) {\n\t\t\tdid_get_select = true;\n\t\t\tif (jQuery(window).width() > 991) {\n\t\t\t\tif (preorder_text) {\n\t\t\t\t\tjQuery(\".product-form__cart-submit\").removeAttr(\"disabled\");\n\t\t\t\t\tjQuery(\".product-form__cart-submit #AddToCartText-product-template\").text(preorder_text);\n\t\t\t\t} else {\n\t\t\t\t\tjQuery(\".product-form__cart-submit\").removeAttr(\"disabled\");\n\t\t\t\t\tjQuery(\".product-form__cart-submit #AddToCartText-product-template\").text(\"Add to Cart\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (preorder_text) {\n\t\t\t\t\tjQuery(\".product-form__cart-submit\").removeAttr(\"disabled\");\n\t\t\t\t\tjQuery(\".product-form__cart-submit #AddToCartText-product-template\").text(preorder_text);\n\t\t\t\t\tjQuery(\".mobile_popup .product-form__cart-submit\").removeAttr(\"disabled\");\n\t\t\t\t\tjQuery(\".mobile_popup .product-form__cart-submit #AddToCartText-product-template\").text(preorder_text);\n\t\t\t\t} else {\n\t\t\t\t\tjQuery(\".product-form__cart-submit\").removeAttr(\"disabled\");\n\t\t\t\t\tjQuery(\".product-form__cart-submit #AddToCartText-product-template\").text(\"Add to Cart\");\n\t\t\t\t\tjQuery(\".product-form__cart-submit\").attr(\"disabled\", \"disabled\");\n\t\t\t\t\tjQuery(\".mobile_popup .product-form__cart-submit\").removeAttr(\"disabled\");\n\t\t\t\t\tjQuery(\".mobile_popup .product-form__cart-submit #AddToCartText-product-template\").text(\"Ok\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tvar selected_variant_id = jQuery(em).attr('value');\n\t\t\tjQuery(em).val(selected_variant_id);\n\t\t\tdebugger;\n\t\t\tjQuery(em).prop('selected', true);\n\t\t\tjQuery(em).trigger('change');\n\t\t} else {\n\t\t\tjQuery(em).prop('selected',false);\n\t\t}\n\t});\n\n\tif (did_get_select == false) {\n\t\tjQuery(\".product-form__cart-submit\").attr(\"disabled\", \"disabled\");\n\t\tjQuery(\".product-form__cart-submit #AddToCartText-product-template\").text(\"Sold Out\");\n\t}\n}\n\n// Function for Skincare and wellness form\n\nfunction GetURLParameter(sParam) {\n\tvar sPageURL = window.location.search.substring(1);\n\tvar sURLVariables = sPageURL.split('&');\n\tfor (var i = 0; i < sURLVariables.length; i++) {\n\t\tvar sParameterName = sURLVariables[i].split('=');\n\t\tif (sParameterName[0] == sParam) {\n\t\t\treturn sParameterName[1];\n\t\t}\n\t}\n}\n// Skincare and welness form\njQuery(document).ready(function (e) {\n\tvar success = '';\n\tsuccess = GetURLParameter('s');\n\n\n\tif (success == '1') {\n\t\tswal(\n\t\t\t'Success',\n\t\t\t'Thank You! Your form is submitted successfully. Our team will contact you shortly.',\n\t\t\t'success'\n\t\t);\n\t}\n\tif (success == '2') {\n\t\tswal(\n\t\t\t'Error',\n\t\t\t'Oops! Form data not submitted. Please try again after some time.',\n\t\t\t'error'\n\t\t);\n\t}\n\t$ = jQuery;\n\t// on fileinput change\n\tjQuery('#file1').change(function () {\n\t\tvar fileExtension = ['png', 'jpg', 'jpeg', 'gif'];\n\t\tif (jQuery.inArray(jQuery(this).val().split('.').pop().toLowerCase(), fileExtension) == -1) {\n\t\t\tjQuery('.error_msg_for_file_formate_1').show();\n\t\t\tjQuery('#file1').val('');\n\t\t\tif (this.files[0].size > 2097152) {\n\t\t\t\talert(\"Try to upload file less than 2MB!\");\n\t\t\t\tthis.value = ''; // Clean field\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} else {\n\t\t\tjQuery('.error_msg_for_file_formate_1').hide();\n\t\t}\n\t});\n\t$ = jQuery;\n\tjQuery('#file2').change(function () {\n\t\tvar fileExtension = ['png', 'jpg', 'jpeg', 'gif'];\n\t\tif (jQuery.inArray(jQuery(this).val().split('.').pop().toLowerCase(), fileExtension) == -1) {\n\t\t\tjQuery('.error_msg_for_file_formate_2').show();\n\t\t\tjQuery('#file2').val('');\n\t\t\tif (this.files[0].size > 2097152) {\n\t\t\t\talert(\"Try to upload file less than 2MB!\");\n\t\t\t\tthis.value = ''; // Clean field\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} else {\n\t\t\tjQuery('.error_msg_for_file_formate_2').hide();\n\t\t}\n\t});\n\t$ = jQuery;\n\n\t// benifit div hide show\n\tjQuery(\".subscribe_info input\").on('change', function () {\n\t\tvar name = jQuery(this).val();\n\t\tif (name == 'onetime') {\n\t\t\tjQuery('.cbb-frequently-bought-container').show();\n\t\t\tjQuery('.subscription_benifits').hide();\n\t\t\tjQuery('.free_shipping-text').show();\n\t\t} else {\n\t\t\tjQuery('.cbb-frequently-bought-container').hide();\n\t\t\tjQuery('.subscription_benifits').show();\n\t\t\tjQuery('.free_shipping-text').hide();\n\t\t}\n\t});\n\t// Header search popup js\n\tjQuery(\".nav-item.nav-search .nav-link\").on(\"click\", function (e) {\n\t\te.preventDefault();\n\t\tif (jQuery(this).hasClass(\"is-open\")) {\n\t\t\tjQuery(\".nav-item.nav-search .nav-link\").removeClass('is-open');\n\t\t\tjQuery(\".header_search-bar\").removeClass(\"is_show\");\n\t\t\tjQuery('body').removeClass('overflow-hidden');\n\t\t} else {\n\t\t\tjQuery(this).addClass('is-open');\n\n\t\t\tjQuery(\".header_search-bar\").addClass(\"is_show\");\n\t\t\tjQuery('body').addClass(\"overflow-hidden\");\n\t\t}\n\t});\n\tjQuery(\".close_searchbox\").on(\"click\", function (e) {\n\t\te.preventDefault();\n\t\tjQuery(\".nav-item.nav-search .nav-link\").removeClass('is-open');\n\t\tjQuery(\".header_search-bar\").removeClass(\"is_show\");\n\t\tjQuery('body').removeClass('overflow-hidden');\n\t});\n\t$ = jQuery;\n\t// Benfit Popup\n\tjQuery('[data-toggle=\"tooltip\"]').tooltip();\n\tjQuery(document).on('click', \".beni_url a\", function (e) {\n\t\te.preventDefault();\n\t\tvar popup_subscriptioninfo = \"\";\n\t\tpopup_subscriptioninfo = jQuery(\".beni_url a\").attr('data-swal-info');\n\t\tvar popup_subscriptioninfo_div = document.createElement('div');\n\t\tpopup_subscriptioninfo_div.innerHTML = popup_subscriptioninfo;\n\t\tswal({\n\t\t\ttitle: \"COMMUNITEA MEMBERSHIP BENEFITS:\",\n\t\t\tcontent: popup_subscriptioninfo_div,\n\t\t\tbutton: \"GOT IT!\",\n\t\t\tshowCloseButton: true,\n\t\t\tcloseModal: true\n\t\t});\n\t});\n\n\tjQuery(\".cart-h3\").each(function (ix, em) {\n\t\tif (jQuery(em).text().indexOf('Auto renew') !== -1) {\n\t\t\tjQuery('#cart-discount-data').fadeOut(100);\n\t\t}\n\t});\n\t$ = jQuery;\n\t// chnage price of top products when sub-value change\n\tjQuery(document).on('change', \".subscription_value.sub_save_section .subscription-freq\", function (e) {\n\t\tvar subscription_val = this.value;\n\t\tconsole.log(\"call this also\");\n\t\tif (subscription_val == 'subscribe-save') {\n\t\t\t//Sub & Save\n\t\t\tconsole.log(\"subscribe call this also\");\n\t\t\t\n\t\t\tvar dis_price = jQuery(this).find(':selected').attr('data-discount-price');\n\t\t\tvar original_price = jQuery(this).find(':selected').attr('data-original-price');\n\t\t\tjQuery(this).parents('.product-item').find('.subscribe_one_purchase .subscribe_price .one_time_price').text(original_price);\n\t\t\tif($(`[data-variant-sponge-radio-select]`).length > 0 ) {\n\t\t\t\toriginal_price = $(`.product-cart-box [data-variant-sponge-radio-select]:checked`).attr('data-price').replace(\".\",\"\");\n\t\t\t\toriginal_price = Shopify.formatMoney(ori_price,theme.moneyFormat);\n\t\t\t\tdis_price = $(`.product-cart-box [data-variant-sponge-radio-select]:checked`).attr('data-sub-price').replace(\".\",\"\");\n\t\t\t\tdis_price = Shopify.formatMoney(dis_price,theme.moneyFormat);\n\t\t\t} else if($(`[data-variant-radio-select]`).length > 0 ) {\n\t\t\t\toriginal_price = $(`.product-cart-box [data-variant-radio-select]:checked`).attr('data-price').replace(\".\",\"\");\n\t\t\t\toriginal_price = Shopify.formatMoney(ori_price,theme.moneyFormat);\n\t\t\t\tdis_price = $(`.product-cart-box [data-variant-radio-select]:checked`).attr('data-sub-price').replace(\".\",\"\");\n\t\t\t\t\n\t\t\t\tdis_price = Shopify.formatMoney(dis_price,theme.moneyFormat);\n\t\t\t}\n\t\t\t\n\t\t\tjQuery(this).parents('.product-item').find('.price').text(dis_price);\n\t\t\tjQuery(this).parents('.product-item').find('.discount-price').show();\n\t\t\tjQuery(this).parents('.product-item').find('.discount-price').text(original_price);\n\t\t\tjQuery(this).parents('.product-item').find('.add-subscribe').text('Subscribe');\n\t\t\t\n\t\t\t//jQuery(this).parents('.product-item').find('.subscribe_one_purchase .subscribe_price .one_time_price').text(original_price);\n\t\t\t/*\n\t\t\t\tvar subs_id = jQuery(this).parents('.product-item').find('.add-subscribe').attr('data-product-subs-id');\n\t\t\t\tjQuery(this).parents('.product-item').find('.add-subscribe').attr('data-product-id-to-add', subs_id);\n\t\t\t*/\n\t\t\tjQuery(this).parents('.product-content').find('.product-cart-box .add-cart-div .btn-dark-color').html(\"Subscribe and Save \" + \"<span class='sub-price'>(\" + dis_price + \")</span>\");\n\t\t\tjQuery(this).parents('.product-content').find('.product-cart-box .add-cart-div .btn-dark-color').removeClass('easeter_popup_product');\n\n\t\t\tvar ispro_avail = jQuery(this).parents('.product-content.product-item').attr('data-check-available');\n\t\t\tif (ispro_avail == 'not-available') {\n\t\t\t\tjQuery(this).parents('.product-content').find('.product-cart-box .add-cart-div .btn-dark-color').html(\" Out of Stock \" + \"<span class='sub-price'></span>\");\n\t\t\t}\n\t\t\tif (jQuery('.form-check-wrapper').length) {\n\t\t\t\t//var product_id = jQuery('.form-check-wrapper .form-check input:checked').attr('data-subs-id');\n\t\t\t\tvar product_id = jQuery('.form-check-wrapper .form-check input:checked').val();\n\t\t\t\tjQuery(\".hidden_input_value\").val(product_id);\n\t\t\t} else {\n\t\t\t\t//var prod_id = jQuery(this).find(':selected').attr('data-subscription-id');\n\t\t\t\tvar prod_id = jQuery(this).find(':selected').attr('data-variant-id');\n\t\t\t\tjQuery(\".hidden_input_value\").val(prod_id);\n\t\t\t}\n\t\t} else {\n\t\t\t//OTP\n\t\t\tvar ori_price = jQuery(this).find(':selected').attr('data-original-price');\n\t\t\tif( $(`[data-variant-sponge-radio-select]`).length > 0){\n\t\t\t\tori_price = $(`.product-cart-box [data-variant-sponge-radio-select]:checked`).attr('data-price').replace(\",\",\"\").replace(\".\",\"\");\n\t\t\t\tori_price = Shopify.formatMoney(ori_price,theme.moneyFormat);\n\t\t} \n            else if( $(`[data-variant-radio-select]`).length > 0 ) {\n\t\t\t\tori_price = $(`.product-cart-box [data-variant-radio-select]:checked`).attr('data-price').replace(\",\",\"\").replace(\".\",\"\");\n                console.log(ori_price,theme.moneyFormat)\n\t\t\t\tori_price = Shopify.formatMoney(ori_price,theme.moneyFormat);\n\t\t\t}\t\t\n\t\t\tjQuery(this).parents('.product-item').find('.price').text(ori_price);\n\t\t\tjQuery(this).parents('.product-item').find('.add-subscribe').text('Add to Bag');\n\t\t\tjQuery(this).parents('.product-item').find('.discount-price').hide();\n\t\t\tvar variant_id = jQuery(this).parents('.product-item').find('.add-subscribe').attr('data-product-variant-id');\n\t\t\tjQuery(this).parents('.product-item').find('.add-subscribe').attr('data-product-id-to-add', variant_id);\n\t\t\tconsole.log(\"!!\",ori_price)\n\n\t\t\tjQuery(this).parents('.product-item').find('.subscribe_one_purchase .subscribe_price .one_time_price').text(ori_price);\n\t\t\tjQuery(this).parents('.product-content').find('.product-cart-box .add-cart-div .btn-dark-color').html(\"Add to Cart \" + \"<span class='sub-price'>(\" + ori_price + \")</span>\");\n\t\t\tvar is_easter_enable = jQuery(this).find(':selected').attr('data-is_easter');\n\t\t\tif (is_easter_enable == 'true') {\n\t\t\t\tvar is_popup_atc = jQuery('#crtbtn1').attr('data-enable-atc-popup');\n\t\t\t\tif (is_popup_atc == 'true') {\n\t\t\t\t\tjQuery(this).parents('.product-content').find('.product-cart-box .add-cart-div .btn-dark-color').addClass('easeter_popup_product');\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (jQuery('.form-check-wrapper').length) {\n\t\t\t\tvar prod_id = jQuery('.form-check-wrapper .form-check input:checked').val();\n\t\t\t\tjQuery(\".hidden_input_value\").val(prod_id);\n\t\t\t} else {\n\t\t\t\tvar prod_id = jQuery('.subscription_value.product_add .subscription-freq option:selected').attr('data-subscription-id');\n\t\t\t\tjQuery(\".hidden_input_value\").val(prod_id);\n\t\t\t}\n\t\t\tif (ispro_avail == 'not-available') {\n\t\t\t\tjQuery(this).parents('.product-content').find('.product-cart-box .add-cart-div .btn-dark-color').html(\" Out of Stock \" + \"<span class='sub-price'></span>\");\n\t\t\t}\n\t\t}\n\t});\n\n\tjQuery(document).on('change', \".subscription_value.top_products .subscription-freq\", function (e) {\n\t\tvar subscription_val = this.value;\n\t\tif (subscription_val == 'subscribe-save') {\n\t\t\tvar dis_price = jQuery(this).find(':selected').attr('data-discount-price');\n\t\t\tvar original_price = jQuery(this).find(':selected').attr('data-original-price');\n\t\t\tjQuery(this).parents('.product-item').find('.price').text(dis_price);\n\t\t\tjQuery(this).parents('.product-item').find('.discount-price').show();\n\t\t\tjQuery(this).parents('.product-item').find('.discount-price').text(original_price);\n\t\t\t/*\n\t\t\tvar subs_id = jQuery(this).parents('.product-item').find('.add-top-product').attr('data-product-subs-id');\n\t\t\tjQuery(this).parents('.product-item').find('.add-top-product').attr('data-product-id-to-add', subs_id);\n\t\t\t*/\n\t\t} else {\n\t\t\tvar ori_price = jQuery(this).find(':selected').attr('data-original-price');\n\t\t\tjQuery(this).parents('.product-item').find('.price').text(ori_price);\n\t\t\tjQuery(this).parents('.product-item').find('.discount-price').hide();\n\t\t\tvar variant_id = jQuery(this).parents('.product-item').find('.add-top-product').attr('data-product-variant-id');\n\t\t\tjQuery(this).parents('.product-item').find('.add-top-product').attr('data-product-id-to-add', variant_id);\n\t\t}\n\t});\n\n\t// Scroll Header text\t\n\t// Srcoll Text\n\t!function (n) { var e, o, t, i, r, l, a, s, c = { container: \".scroll_content\", sections: \"li\", duration: 1e3, loop: !0, currentClass: \"current\", direction: \"up\" }, u = {}, d = 0, f = [], h = n.fn.scrollText = function (h) { return u = n.extend({}, c, h || {}), e = n(u.container), e.find(u.sections).each(function (n, e) { f.push(e) }), this.children(\"ul\").addClass(\"ulzone\"), o = n(\".ulzone\").eq(0), do_console(o), t = o.height(), i = o.children().eq(0).height(), r = i, s = u.duration, l = u.currentClass, this.each(function () { var e, t; t = e = this, o.clone().insertAfter(o), function (e) { (f = n(e).find(\"li\")).length, f.eq(d).addClass(l) }(t), v(), function (n) { n.hover(function () { clearInterval(a) }, function () { v() }) }(n(e)) }) }; function v() { a = setInterval(h.up, s) } h.up = function () { o.animate({ marginTop: \"-\" + i }), f.removeClass(l), n(f[d += 1]).addClass(l), t === i ? o.animate({ marginTop: \"-\" + i }, \"normal\", h.over) : i += r }, h.over = function () { o.attr(\"style\", \"margin-top:0\"), i = r, d = 0, f.removeClass(l), n(f[d]).addClass(l) } }(jQuery);\n\tsetTimeout(function () {\n\t\tjQuery(\".scroll_content\").scrollText({\n\t\t\t'duration': 2000\n\t\t});\n\t}, 2000);\n\n\t// FB-PIXEl-2021 initchekout-event\n\n\tjQuery(\".btn_checkout_green\").on(\"click\", function () {\n\t\tfbq('track', 'InitiateCheckout');\n\t\tsetTimeout(function () {\n\t\t}, 200);\n\t});\n\n\t// Ing Slider\n\tjQuery(\".ingredients-section\").slick({\n\t\tslidesToShow: 2,\n\t\tslidesToScroll: 1,\n\t\tdots: true,\n\t\tarrow: false,\n\t\tresponsive: [\n\t\t\t{\n\t\t\t\tbreakpoint: 767,\n\t\t\t\tsettings: {\n\t\t\t\t\tslidesToShow: 1,\n\t\t\t\t\tslidesToScroll: 1,\n\t\t\t\t\tarrow: false,\n\t\t\t\t\tdots: true\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\tbreakpoint: 480,\n\t\t\t\tsettings: {\n\t\t\t\t\tslidesToShow: 1,\n\t\t\t\t\tslidesToScroll: 1,\n\t\t\t\t\tarrow: false,\n\t\t\t\t\tdots: true\n\t\t\t\t}\n\t\t\t}\n\t\t]\n\t});\n\n\tjQuery(\"#product-accordion .nav-tabs li.nav-item a.nav-link\").click(function () {\n\t\tjQuery(\".nav-tabs li.nav-item a.nav-link\").removeClass('active');\n\t});\n\n\t/* Single Product Ajax */\n\tjQuery(\"a.add-to.add-to-single-product\").on('click', function (e) {\n\t\tdo_console(4512);\n\t\te.preventDefault;\n\t\tvar currentElement = e.target;\n\t\tvar $this = jQuery(this).parents('#addtocart');\n\t\tvar totalquantity = parseInt(jQuery(\"#item_Quantity\", $this).val());\n\t\tvar product_id = jQuery(\"input[name='id']\", $this).attr('data-single-product');\n\t\t$this.find('.product-ajax-loader').fadeIn(300);\n\t\tif (product_id) {\n\t\t\tvar data_to_send = {\n\t\t\t\t'quantity': totalquantity,\n\t\t\t\t'id': product_id\n\t\t\t}\n\t\t\t//MAKE AJAX CALLS\n\t\t\tdo_console(4515);\n\t\t\tjQuery.ajax({\n\t\t\t\turl: '/cart/add.js',\n\t\t\t\tmethod: \"POST\",\n\t\t\t\tdataType: \"JSON\",\n\t\t\t\tdata: data_to_send,\n\t\t\t\tsuccess: function (data) {\n\t\t\t\t\tupdate_cart_popup();\n\t\t\t\t\tif(typeof window.customer_email !== 'undefined') {\n\t\t\t\t\t\twindow.liQ = window.liQ || [];\n\t\t\t\t\t\twindow.liQ.push({\n\t\t\t\t\t\t\"event\": \"addToCart\",\n\t\t\t\t\t\t\"email\": window.customer_email\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\t$this.find('.product-ajax-loader').fadeOut(300);\n\t\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").show();\n\t\t\t\t\tjQuery(\".nav-shop-mobile .badge\").show();\n\t\t\t\t\tvar valueToUpdate = parseInt(jQuery(\".nav-item.nav-shop .badge\").text()) + totalquantity;\n\t\t\t\t\tjQuery(\".nav-shop-mobile .badge\").text(valueToUpdate.toString());\n\t\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").text(valueToUpdate.toString());\n\n\t\t\t\t},\n\t\t\t\terror: function (data) {\n\t\t\t\t\t$this.find('.product-ajax-loader').fadeOut(300);\n\t\t\t\t\tif (typeof data.responseJSON.description !== \"undefined\") {\n\t\t\t\t\t\tvar message = data.responseJSON.description;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvar message = \"Please try again later!\";\n\t\t\t\t\t}\n\t\t\t\t\tswal({\n\t\t\t\t\t\ttitle: \"Oops!!\",\n\t\t\t\t\t\ttext: message,\n\t\t\t\t\t\ticon: \"error\",\n\t\t\t\t\t\tclassName: \"add-ajax-outofstock\",\n\t\t\t\t\t\tbuttons: false,\n\t\t\t\t\t\ttimer: 1500\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn false;\n\t});\n\n\t// Variant popup js\n\t\n\tjQuery(document).on(\"click\", \".btn-subs\", function (e) {\n\t\te.preventDefault();\n\t\tdo_console('open popup');\n\t\t\n\t\tjQuery(\"#variant_popup .product_inner .product_img img\").attr('');\n\t\tjQuery(\"#variant_popup .product_inner .pro_desc .prod_title\").text('');\n\t\tjQuery(\"#variant_popup .product_inner .pro_desc .prod_review\").html('');\n\t\tjQuery(\"#variant_popup .product_inner .pro_desc .price_wrapper .original_price\").text('');\n\t\tjQuery(\"#variant_popup .product_inner .pro_desc .price_wrapper .discount_price\").text('');\n\t\tjQuery(\"#variant_popup #addtocart_popup .benifit_wrapper\").html('');\n\t\tjQuery(\"#variant_popup .product_inner .pro_desc  .sub_title .bold_field\").text('');\n\t\tjQuery(\"#variant_popup .product_inner .pro_desc  .sub_title .thin_filed\").text('');\n\t\tjQuery(\"#variant_popup .sub_info .quantity_subs_wrapper .freq_wrap\").html('');\n\t\tjQuery(\"#variant_popup .variant_wrapper\").html('');\n\t\tjQuery(\"#variant_popup #addtocart_popup .pro_id\").val('');\n\t\tjQuery(\"#variant_popup #addtocart_popup input[name='id']\").val('');\n\t\tjQuery(\".add_to_cart_popup\").text('Add to Cart');\n\t\tjQuery(\"#variant_popup #item_Quantity\").val('1');\n\n\t\tvar discount_per = jQuery(this).attr('data-discount');\n\t\tvar pro_img = jQuery(this).attr('data-pro-img');do_console(pro_img);\n\t\tvar pro_title = jQuery(this).attr('data-title');\n\t\tvar pro_price = jQuery(this).attr('data-pro-price');\n\t\tvar pro_disc_price = jQuery(this).attr('data-pro-disc-price');\n\t\tvar product_review = jQuery(this).attr('data-review-widget');\n\t\tvar freq_code = jQuery(this).attr('data-fre-unit');\n\t\tvar benifit_url = jQuery(this).attr('data-sub-benifit');\n\t\tvar bold_text = jQuery(this).attr('data-bold-text');\n\t\tvar light_text = jQuery(this).attr('data-light-text');\n\t\tvar variant_ui = jQuery(this).attr('data-variant-ui');\n\t\tvar prod_id = jQuery(this).attr('data-por-id');\n\t\tdebugger\n\t\tvar pre_order = jQuery(this).attr('data-preorder-btn');\n\t\tvar compare_at_price = jQuery(this).attr('data-is-compare-at-price');\n\n\t\tjQuery(\"#variant_popup .product_inner .product_img img\").attr('src', pro_img);\n\t\tjQuery(\"#variant_popup .product_inner .pro_desc .prod_title\").text(pro_title);\n\t\tjQuery(\"#variant_popup .product_inner .pro_desc .prod_review\").html(product_review);\n\n\t\tjQuery(\"#variant_popup #addtocart_popup input[name='id']\").val(prod_id);\n\t\tif (typeof benifit_url !== typeof undefined && benifit_url !== false) {\n\t\t\tjQuery(\"#variant_popup #addtocart_popup .benifit_wrapper\").html(benifit_url);\n\t\t}\n\n\t\tif (typeof bold_text !== typeof undefined && bold_text !== false) {\n\t\t\tjQuery(\"#variant_popup .product_inner .pro_desc  .sub_title .bold_field\").text(bold_text);\n\t\t}\n\t\tif (typeof light_text !== typeof undefined && light_text !== false) {\n\t\t\tjQuery(\"#variant_popup .product_inner .pro_desc  .sub_title .thin_filed\").text(light_text);\n\t\t}\n\n\t\tif (typeof freq_code !== typeof undefined && freq_code !== false) {\n\t\t\tjQuery(\"#variant_popup .sub_info .quantity_subs_wrapper .freq_wrap\").html(freq_code);\n\t\t}\n\n\t\tif (typeof variant_ui !== typeof undefined && variant_ui !== false) {\n\t\t\tjQuery(\"#variant_popup .variant_wrapper\").html(variant_ui);\n\t\t}\n\n\t\tif (typeof pre_order !== typeof undefined && pre_order !== false) {\n\t\t\tjQuery(\"#variant_popup #AddToCartText-product-template #AddToCartText-product-template\").attr('data-preorder-btn', pre_order);\n\t\t}\n\t\tif (jQuery(\"#variant_popup .selector-wrapper.product-form__item\").length > 1) {\n\t\t\tjQuery('#variant_popup .single-option-selector').on('change', function () {\n\t\t\t\tpopup_get_variant_id();\n\t\t\t\tdo_console(\"is changes double\");\n\t\t\t});\n\t\t} else {\n\t\t\tjQuery('#variant_popup .single-option-selector').on('change', function () {\n\t\t\t\tdo_console(\"is changes\");\n\t\t\t\tpopup_get_single_variant_id();\n\t\t\t});\n\t\t}\n\n\t\tvar sub_val = '';\n\t\tjQuery(this).parents('.product-item').find(\".subscription_value .subscription-freq option:selected\").each(function (ix, em) {\n\t\t\tsub_val = jQuery(em).text().trim();\n\t\t});\n\n\t\tif (jQuery('#variant_popup .quantity_subs_wrapper .freq_wrap .subscription_value.sub_save_popup .subscription-freq').length) {\n\t\t\tdo_console('there is subs');\n\t\t\tjQuery(\"#variant_popup .sub_info .quantity_subs_wrapper .subscription_value .subscription-freq option\").each(function (ix, ex) {\n\t\t\t\tif (sub_val == 'One-time') {\n\t\t\t\t\tdebugger\n\t\t\t\t\tjQuery('#variant_popup .add_to_cart_btn .add_to_cart_popup').html(\"Add to Cart \" + \"<span id='AddToCartText-product-template'>(\" + pro_price + \")</span>\");\n\t\t\t\t} else {\n\t\t\t\t\tjQuery('#variant_popup .add_to_cart_btn .add_to_cart_popup').html(\"Subscribe - \" + \"<span id='AddToCartText-product-template'>(\" + pro_disc_price + \")</span>\");\n\t\t\t\t}\n\t\t\t\tdebugger;\n\t\t\t\tif (jQuery(ex).text().trim() == sub_val) {\n\t\t\t\t\tvar selected_freq = jQuery(ex).attr('value');\n\t\t\t\t\tjQuery(ex).val(selected_freq);\n\t\t\t\t\tdebugger;\n\t\t\t\t\tjQuery(ex).prop('selected', true);\n\t\t\t\t\tjQuery(ex).trigger('change');\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\tdo_console('there is no subs');\n\t\t\tif(typeof  jQuery(\"#variant_popup #ProductSelect-product-template-popup option:selected\").attr('data-p-price') != 'undefined'){\n\t\t\t\tpro_o_price = jQuery(\"#variant_popup #ProductSelect-product-template-popup option:selected\").attr('data-p-price');\n\t\t\t}else{\n\t\t\t\tpro_o_price = jQuery(\"#variant_popup #ProductSelect-product-template-popup option:selected\").attr('data-original-price');\n\t\t\t}\n\t\t\tjQuery('#variant_popup .add_to_cart_btn .add_to_cart_popup').html(\"Add to Cart \" + \"<span id='AddToCartText-product-template'>(\" + pro_o_price + \")</span>\");\n\t\t}\n\n\t\t// disable which option not available in variantpopup\n\t\t//IF single \n\t\tif (jQuery(\"#variant_popup .single-option-selector\").length == 1) {\n\t\t\t//DISABLE THE ONES NOT AVAILABLE\n\t\t\tjQuery(\"#variant_popup .single-option-selector\").find('option').each(function (ix, em) {\n\t\t\t\tvar option_val = jQuery(em).text().trim();\n\t\t\t\tdebugger\n\t\t\t\tjQuery(\"#variant_popup select[name='product_variant_popup']\").find('option').each(function (ix2, em2) {\n\t\t\t\t\tvar option_val_2 = jQuery(em2).text().trim().replace(\" - Sold out\", \"\");\n\t\t\t\t\tif (option_val == option_val_2) {\n\t\t\t\t\t\tif (jQuery(em2).attr('disabled')) {\n\t\t\t\t\t\t\tjQuery(em).attr('disabled', 'disabled');\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjQuery(em).removeAttr('disabled');\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t} else if (jQuery(\"#variant_popup .single-option-selector\").length == 2) {\n\t\t\t//DISABLE THE ONES NOT AVAILABLE\n\t\t\tfunction enable_disable_selection() {\n\t\t\t\tjQuery(\"#variant_popup .single-option-selector\").eq(0).find('option').each(function (ix, em) {\n\t\t\t\t\tvar option_val = jQuery(em).text().trim();\n\t\t\t\t\tdebugger;\n\t\t\t\t\tvar option_2_val = jQuery(\"#variant_popup .single-option-selector\").eq(1).val();\n\t\t\t\t\toption_val = option_val + \" / \" + option_2_val;\n\t\t\t\t\tjQuery(\"#variant_popup select[name='product_variant_popup']\").find('option').each(function (ix2, em2) {\n\t\t\t\t\t\tvar option_val_2 = jQuery(em2).text().trim().replace(\" - Sold out\", \"\");\n\t\t\t\t\t\tif (option_val == option_val_2) {\n\t\t\t\t\t\t\tif (jQuery(em2).attr('disabled')) {\n\t\t\t\t\t\t\t\tjQuery(em).attr('disabled', 'disabled');\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery(em).removeAttr('disabled');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t});\n\n\t\t\t\tjQuery(\"#variant_popup .single-option-selector\").eq(1).find('option').each(function (ix, em) {\n\t\t\t\t\tvar option_val = jQuery(em).text().trim();\n\t\t\t\t\tdebugger\n\t\t\t\t\tvar option_1_val = jQuery(\"#variant_popup .single-option-selector\").eq(0).val();\n\t\t\t\t\toption_val = option_1_val + \" / \" + option_val;\n\t\t\t\t\tjQuery(\"#variant_popup select[name='product_variant_popup']\").find('option').each(function (ix2, em2) {\n\t\t\t\t\t\tvar option_val_2 = jQuery(em2).text().trim().replace(\" - Sold out\", \"\");\n\t\t\t\t\t\tif (option_val == option_val_2) {\n\t\t\t\t\t\t\tif (jQuery(em2).attr('disabled')) {\n\t\t\t\t\t\t\t\tjQuery(em).attr('disabled', 'disabled');\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery(em).removeAttr('disabled');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t} //function ends\n\t\t\tenable_disable_selection();\n\t\t\tjQuery(document).on('change', \"#variant_popup .single-option-selector\", function (e) {\n\t\t\t\tenable_disable_selection();\n\t\t\t});\n\t\t}\n\n\t\tvar pro_img = jQuery(\"#variant_popup #ProductSelect-product-template-popup option:selected\").attr('data-variant-image');\n\t\tjQuery(\"#variant_popup .product_inner .product_img img\").attr('src', pro_img);\n        // $('.subscription-freq option').not('.subs_save').prop('selected','selected');\t\n\t\t// $('.subscription-freq option.subs_save').hide();\n\t});\n\n\tjQuery('#addtocart_popup').on('submit', function (e) {\n\t\te.preventDefault();\n\t\tvar $this = jQuery(this);\n\t\tvar qnty = jQuery(\"#item_Quantity\", $this).val();\n\t\tvar totalquantity = parseInt(qnty);\n\t\t$this.find(\".product-ajax-loader\").fadeIn();\n\t\tvar data_to_send = '';\n\t\t// check there is sub or not\n\n\t\tdebugger;\n\n\t\tif ($this.find('.subscription_value.sub_save_popup').length) {\n\t\t\tjQuery(\".subscription_value.sub_save_popup .subscription-freq option:selected\").each(function (ix, em) {\n\t\t\t\t//var sub_info = '';\n\t\t\t\tvar is_subs = jQuery(em).val();\n\t\t\t\tif (is_subs == 'subscribe-save') {\n\t\t\t\t\t/*\n\t\t\t\t\tvar subscription_variant_id = jQuery(\"#ProductSelect-product-template-popup option:selected\").attr('data-d-id');\n\t\t\t\t\t*/\n\t\t\t\t\tvar subscription_variant_id = jQuery(\".product-form__variants_popup[data-variant-select-value-popup]\", $this).val();\n\t\t\t\t\tvar selectedfrequency = jQuery(em).attr(\"data-freq\");\n\t\t\t\t\tvar selectedfrequencyunit = jQuery(em).attr('data-unit');\n\t\t\t\t\tlet selling_plan_id = $(em).attr('data-subscription-id-to-add');\n\t\t\t\t\t/*\n\t\t\t\t\tvar line_properties = {};\n\t\t\t\t\tline_properties.subscription_id = subscription_variant_id;\n\t\t\t\t\tline_properties.shipping_interval_frequency = selectedfrequency;\n\t\t\t\t\tline_properties.shipping_interval_unit_type = selectedfrequencyunit;\n\t\t\t\t\tline_properties.selling_plan_id = $(this).attr('selling_plan_id');\n\t\t\t\t\t*/\n\t\t\t\t\tdata_to_send = {\n\t\t\t\t\t\t'quantity': totalquantity,\n\t\t\t\t\t\t'id': subscription_variant_id,\n\t\t\t\t\t\t'selling_plan' : selling_plan_id\n\t\t\t\t\t\t/*properties: line_properties*/\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (jQuery(\".product-form__variants_popup[data-variant-select-value-popup]\", $this).length) {\n\t\t\t\t\t\tvar varianttoadd = jQuery(\".product-form__variants_popup[data-variant-select-value-popup]\", $this).val();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvar varianttoadd = jQuery(\"#variant_drfault\").attr('data-varint-default');\n\t\t\t\t\t}\n\t\t\t\t\tdata_to_send = {\n\t\t\t\t\t\t'quantity': totalquantity,\n\t\t\t\t\t\t'id': varianttoadd\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\n\t\t} else {\n\t\t\tif (jQuery(\".product-form__variants_popup[data-variant-select-value-popup]\", $this).length) {\n\t\t\t\tvar varianttoadd = jQuery(\".product-form__variants_popup[data-variant-select-value-popup]\", $this).val();\n\t\t\t} else {\n\t\t\t\tvar varianttoadd = jQuery(\"#variant_drfault\").attr('data-varint-default');\n\t\t\t}\n\t\t\tdata_to_send = {\n\t\t\t\t'quantity': totalquantity,\n\t\t\t\t'id': varianttoadd\n\t\t\t}\n\t\t}\n\t\tdo_console(4771);\n\t\tdebugger;\n\t\tjQuery.ajax({\n\t\t\turl: '/cart/add.js',\n\t\t\tmethod: \"POST\",\n\t\t\tdataType: \"JSON\",\n\t\t\tdata: data_to_send,\n\t\t\tsuccess: function (data) {\n\t\t\t\t$this.find(\".product-ajax-loader\").fadeOut();\n\t\t\t\tjQuery(\".add_to_cart_popup\").text('Product added to the cart');\n\t\t\t\tif(typeof window.customer_email !== 'undefined') {\n\t\t\t\t\twindow.liQ = window.liQ || [];\n\t\t\t\t\twindow.liQ.push({\n\t\t\t\t\t\"event\": \"addToCart\",\n\t\t\t\t\t\"email\": window.customer_email\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").show();\n\t\t\t\tjQuery(\".nav-shop-mobile .badge\").show();\n\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").show();\n\t\t\t\tjQuery(\".nav-shop-mobile .badge\").show();\n\t\t\t\tvar valueToUpdate = parseInt(jQuery(\".nav-item.nav-shop .badge\").text()) +\n\t\t\t\t\ttotalquantity;\n\t\t\t\tjQuery(\".nav-shop-mobile .badge\").text(valueToUpdate.toString());\n\t\t\t\tjQuery(\".nav-item.nav-shop .badge\").text(valueToUpdate.toString());\n\t\t\t\tjQuery(\"#variant_popup .close\").trigger(\"click\");\n\t\t\t\tupdate_cart_popup();\n\t\t\t},\n\t\t\terror: function (data) {\n\t\t\t\tif (typeof data.responseJSON.description !== \"undefined\") {\n\t\t\t\t\tvar message = data.responseJSON.description;\n\t\t\t\t} else {\n\t\t\t\t\tvar message = \"Please try again later!\";\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t})\n\nfunction onPopupFrequencyChange(final_var_sel,did_get_select,pro_price,pro_disc_price){\n\tjQuery(\"#variant_popup .product-form__variants_popup\").find('option').each(function (ix, em) {\n\t\tdebugger;\n\t\tlet val = jQuery(em).text().trim();\n\t\tconsole.log(val == final_var_sel);\n\t\tif (jQuery(em).text().trim() == final_var_sel.trim()) {\n\t\t\tconsole.log(val); \n\t\t\tconsole.log(final_var_sel)\n\t\t\tdid_get_select = true;\n\t\t\tif(typeof pro_disc_price != 'undefined'){\n\t\t\tjQuery('#variant_popup .add_to_cart_btn .add_to_cart_popup').html(\"Subscribe - \" + \"<span id='AddToCartText-product-template'>(\" + pro_disc_price + \")</span>\");\n\t\t\t}else{\n\t\t\t\tjQuery('#variant_popup .add_to_cart_btn .add_to_cart_popup').html(\"Add To Cart \" + \"<span id='AddToCartText-product-template'>(\" + pro_price + \")</span>\");\n\t\t\t}\n\t\t} else {\n\t\t\tjQuery(em).prop('selected',false);\n\t\t}\n\t});\n\tif (did_get_select == false) {\n\t\tjQuery(\"#variant_popup .add_to_cart_btn .add_to_cart_popup .product-form__cart-submit\").attr(\"disabled\", \"disabled\");\n\t\tjQuery(\"#variant_popup .add_to_cart_btn .add_to_cart_popup\").text(\"Sold Out\");\n\t}\n}\n\n\tjQuery(document).on('change', \"#variant_popup .subscription_value.sub_save_popup .subscription-freq\", function (e) {\n\t\tvar subscription_val = this.value;\n\t\tlet pro_disc_price = jQuery(this).children(\"option:selected\").attr('data-discount-price');\n\t\tvar pro_price = jQuery(this).children(\"option:selected\").attr('data-original-price');\n\n\t\t// if(typeof jQuery(this).children(\"option:selected\").attr('data-discount-price') == 'undefined'){\n\t\t// pro_disc_price = jQuery(this).children(\"option:selected\").attr('data-original-price');\n\t\t// }\n\t\tif (subscription_val == 'subscribe-save') {\n\t\t\tif (jQuery(\".variant_wrapper .selector-wrapper.product-form__item\").length > 1) {\n\t\t\t\tvar final_var_sel = jQuery(\"#variant_popup #SingleOptionSelector-0\").val() + \" / \" \n\t\t\t\t+ jQuery(\"#variant_popup #SingleOptionSelector-1\").val()+\"/Delivery \"\n\t\t\t\t+$('#variant_popup .subscription-freq option:selected').text().split(\"(\")[0].toLowerCase().replace('days',\"Days\").trim();;\n\t\t\t\tjQuery('#variant_popup .product-form__variants_popup option').each(function(ix,em){\n\t\t\t\t\tvar get_val = jQuery(em).text().trim();\n\t\t\t\t\tif(final_var_sel === get_val){\n\t\t\t\t\t\t$(em).attr('selected','selected');\n\t\t\t\t\t\tvar did_get_select = false;\n\t\t\t\t\t\tconsole.log(1);\n\t\t\t\t\t\tpro_price = $(em).attr('data-p-price');\n\t\t\t\t\t\tpro_disc_price = $(em).attr('data-d-price');\n\t\t\t\t\t\tonPopupFrequencyChange(final_var_sel,did_get_select,pro_price,pro_disc_price);\n\t\t\t\t\t}else{\n\t\t\t\t\t\t$(em).removeAttr('selected');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\t// var did_get_select = false;\n\t\t\t\t// console.log(1)\n\t\t\t\t// onPopupFrequencyChange(final_var_sel,did_get_select,pro_price,pro_disc_price);\n\t\t\t} else {\n\t\t\t\tvar final_var_sel = jQuery(\"#variant_popup #SingleOptionSelector-0\").val();\n\t\t\t\tvar did_get_select = false;\n\t\t\t\tconsole.log(2)\n\t\t\t\tlet new_final_var_sel = jQuery(\"#variant_popup #SingleOptionSelector-0\").val()\n\t\t\t\t+\"/Delivery \"+$('#variant_popup .subscription-freq option:selected').text().split(\"(\")[0].toLowerCase().replace('days',\"Days\").trim();\n\t\t\t\t\n\t\t\t\tjQuery('#variant_popup .product-form__variants_popup option').each(function(ix,em){\n\t\t\t\t\tvar get_val = jQuery(em).text().trim();\n\t\t\t\t\tif(new_final_var_sel === get_val){\n\t\t\t\t\t\t$(em).attr('selected','selected');\n\t\t\t\t\t\tpro_price = $(em).attr('data-p-price');\n\t\t\t\t\t\tpro_disc_price = $(em).attr('data-d-price');\n\t\t\t\t\t\tonPopupFrequencyChange(new_final_var_sel,did_get_select,pro_price,pro_disc_price);\n\t\t\t\t\t}else{\n\t\t\t\t\t\t$(em).removeAttr('selected');\n\t\t\t\t\t}\n\t\t\t\t});\t\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tif (jQuery(\"#variant_popup .selector-wrapper.product-form__item\").length > 1) {\n\t\t\t\tvar final_var_sel = jQuery(\"#variant_popup #SingleOptionSelector-0\").val() \n\t\t\t\t+ \" / \" + jQuery(\"#SingleOptionSelector-1\").val()+\"/ \"+\n\t\t\t\t$('#variant_popup .subscription-freq option:selected').text().split(\"(\")[0].toLowerCase().replace('days',\"Days\").trim();;\n\t\t\t\tvar did_get_select = false;\n\t\t\t\tconsole.log(3)\n\t\t\t\tonPopupFrequencyChange(final_var_sel,did_get_select,pro_price,pro_disc_price);\n\t\t\t} else {\n\t\t\t\tvar final_var_sel = jQuery(\"#variant_popup #SingleOptionSelector-0\").val()+\"/\"\n\t\t\t\t+$('#variant_popup .subscription-freq option:selected').text().split(\"(\")[0].toLowerCase().replace('days',\"Days\").trim();\n\t\t\t\tjQuery('#variant_popup .product-form__variants_popup option').each(function(ix,em){\n\t\t\t\t\tvar get_val = jQuery(em).text().trim();\n\n\t\t\t\t\tif(final_var_sel === get_val){\n\t\t\t\t\t\t$(em).attr('selected','selected');\n\t\t\t\t\t\tpro_price = $(em).attr('data-pro-price');\n\t\t\t\t\t\tvar did_get_select = false;\n\t\t\t\t\t\tconsole.log(4)\n\t\t\t\t\t\tonPopupFrequencyChange(final_var_sel,did_get_select,pro_price,pro_disc_price);\n\t\t\t\t\t}else{\n\t\t\t\t\t\t$(em).removeAttr('selected');\n\t\t\t\t\t}\n\t\t\t\t});\t\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t});\n\n\t// product-page-ballon-popup\n\tjQuery('.ballon_popup.easeter_popup_product').on('click', function (e) {\n\t\te.preventDefault();\n\t\tjQuery('#easter_popup_overlay_product').fadeIn();\n\t\tjQuery('#easter_popup').addClass('collection_popup');\n\t\tjQuery('#easter_popup').fadeIn();\n\t\tjQuery('body').addClass(\"is_easterpopup_open\");\n\t\tjQuery('body').addClass(\"overflow-hidden\");\n\t\tvar $this = jQuery(this);\n\t\tvar easter_image = $this.attr(\"data-e-image\");\n\t\tvar discount_code = $this.attr(\"data-e-dcode\");\n\t\tvar easter_desc = $this.attr(\"data-e-desc\");\n\t\tvar easter_howto = $this.attr(\"data-e-redeem\");\n\t\tvar hover_info_text = $this.attr(\"data-e-info\");\n\n\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_img img\").attr(\"src\", easter_image);\n\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text p span b\").text(discount_code);\n\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text p.deal span\").text(easter_desc);\n\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text .prod_info h2\").text(easter_howto);\n\t\tjQuery(\"#easter_popup .popup_modal .popup-body .popup_code .popup_code_text .prod_info .icon_info .eag-note\").text(hover_info_text);\n\n\t});\n\tjQuery('.ballon_popup').on('click', function (e) {\n\t\te.preventDefault();\n\t});\n\n\tjQuery(document).on('click','.data-open-url',function(e){\n\t\te.preventDefault();\n\t\twindow.location = jQuery(e.target).attr('href').toString().trim();\n\t})\n\n\t// Prop Warn 65 \n\tlet califorina_stop = ['plant-based-protein-powder', 'plant-based-protein-powder-vanilla', 'matcha-powder-1', 'super-smoothie-kit', 'super-inner-wellness-kit', 'wellness-essentials-duo', 'matcha-powder-1', 'matcha-starter-set'];\n\tlet allowed_with_sku_in_ca = ['plant-based-protein-powder-vanilla','plant-based-protein-powder'];\n\tjQuery.ajax({\n\t\ttype: \"GET\",\n\t\turl: 'https://api.ipstack.com/check?access_key=c1faa041771b160efc0792f442dea5ab',\n\t\tdataType: \"json\",\n\t\tsuccess: function (data) {\n\t\t\tlet did_process_for_CA_allowed = false;\n\t\t\tif (typeof data.region_code != 'undefined' && data.region_code) {\n\t\t\t\tvar r_code = data.region_code;\n\t\t\t\tvar c_code = data.country_code;\n\t\t\t\tif ( (r_code == 'CA' && c_code == 'US' && jQuery(`[data-allowedinca=\"true\"]`).length > 0) || test_ca == true ) {\n\t\t\t\t\tdid_process_for_CA_allowed = true;\n\t\t\t\t\tjQuery(`[data-allowedinca=\"false\"]`).remove();\n\t\t\t\t\tjQuery(`[data-allowedinca=\"true\"]`).addClass('displayinca');\n\t\t\t\t\tjQuery(`[data-allowedinca=\"true\"] input`).removeAttr('disabled');\n                    jQuery(`[data-allowedinca=\"true\"] input`).prop('checked',true);\n\t\t\t\t\tjQuery(`[data-allowedinca=\"true\"]`).eq(0).trigger('click');\n                    jQuery(`[data-allowedinca=\"true\"]`).eq(0).trigger('change');\n\t\t\t\t\tjQuery(\".subscription-freq\").trigger('change');\n\t\t\t\t\tjQuery(`[id=\"SingleOptionSelector-0\"]`).find('option').each(function(ix,em){\n\t\t\t\t\t\tlet did_find = false;\n\t\t\t\t\t\tjQuery(`[data-allowedinca=\"true\"]`).each(function(ix2,em2){\n\t\t\t\t\t\t\tlet variant_title = jQuery(em2).find('label').text().trim();\n\t\t\t\t\t\t\tdebugger\n\t\t\t\t\t\t\tif(jQuery(em).text().trim() == variant_title) {\n\t\t\t\t\t\t\t\tdid_find = true;\n\t\t\t\t\t\t\t\tdo_console('Found ' + variant_title)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\tif(did_find == false ) {\n\t\t\t\t\t\t\tjQuery(em).remove();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tjQuery(`[id=\"SingleOptionSelector-0\"]`).trigger('change');\n\t\t\t\t\tjQuery('.form-check[data-allowedinca=\"true\"]').eq(0).find('input').trigger('change')\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (typeof data.region_code != 'undefined' && data.region_code) {\n\t\t\t\tvar r_code = data.region_code;\n\t\t\t\tvar c_code = data.country_code;\n\t\t\t\t/*\n\t\t\t\tdo_console('Region-cod--' + r_code);\n\t\t\t\tdo_console('Country-cod--' + c_code);\n\t\t\t\t*/\n\t\t\t\tif (jQuery('.wraningin_wrapper').length) {\n\t\t\t\t\tif ( (r_code == 'CA' && c_code == 'US') || test_ca == true ) {\n\t\t\t\t\t\tjQuery('.wraningin_wrapper').show();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tjQuery('.wraningin_wrapper').hide();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdo_console('ERROR');\n\t\t\t}\n\t\t\tif (typeof data.region_code != 'undefined' && data.region_code) {\n\t\t\t\tvar r_code = data.region_code;\n\t\t\t\tvar c_code = data.country_code;\n\t\t\t\tif ( (r_code == 'CA' && c_code == 'US' && did_process_for_CA_allowed == false) || test_ca == true ) {\n\t\t\t\t\tlet current_url = window.location.href.toString();\n\t\t\t\t\tjQuery.each(califorina_stop, function (ix, em) {\n\t\t\t\t\t\tif (current_url.indexOf(em) !== -1) {\n\t\t\t\t\t\t\tjQuery('#crtbtn1,#AddToCart-product-template').prop('disabled', 'disabled').text('Unavailable').css('cursor', 'no-drop').css('pointer-events', 'none');\n\t\t\t\t\t\t\tjQuery(\"#addtocartsection .one_time_wrapper\").remove(0);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tjQuery(\".products-slider-top-products .product-item\").each(function (ix, em) {\n\t\t\t\t\t\tlet a_tag = jQuery(em).find('a').eq(0);\n\t\t\t\t\t\tlet location = jQuery(a_tag).attr('href').toString().trim();\n\t\t\t\t\t\tjQuery.each(califorina_stop, function (ix2, em2) {\n\t\t\t\t\t\t\tif (location.indexOf(em2) !== -1) {\n\t\t\t\t\t\t\t\tlet element = jQuery(em).find('.add-to-bag').eq(0);\n\t\t\t\t\t\t\t\tjQuery(element).prop('disabled', 'disabled').text('Unavailable').css('cursor', 'no-drop').css('pointer-events', 'none');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\n\t\t\t\t\tjQuery(\".products-slider-subscribe-save .product-item\").each(function (ix, em) {\n\t\t\t\t\t\tlet a_tag = jQuery(em).find('a').eq(0);\n\t\t\t\t\t\tlet location = jQuery(a_tag).attr('href').toString().trim();\n\t\t\t\t\t\tjQuery.each(califorina_stop, function (ix2, em2) {\n\t\t\t\t\t\t\tif (location.indexOf(em2) !== -1) {\n\t\t\t\t\t\t\t\tlet element = jQuery(em).find('.add-to-bag').eq(0);\n\t\t\t\t\t\t\t\tjQuery(element).prop('disabled', 'disabled').text('Unavailable').css('cursor', 'no-drop').css('pointer-events', 'none');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\n\t\t\t\t\tjQuery(\"section.product-category .product-item\").each(function (ix, em) {\n\t\t\t\t\t\tlet a_tag = jQuery(em).find('a').eq(0);\n\t\t\t\t\t\tlet location = jQuery(a_tag).attr('href').toString().trim();\n\t\t\t\t\t\tlet did_find = false;\n\t\t\t\t\t\tjQuery.each(allowed_with_sku_in_ca, function (ix2, em2) {\n\t\t\t\t\t\t\tif (location.indexOf(em2) !== -1) {\n\t\t\t\t\t\t\t\tlet element = jQuery(em).find('.add-to-bag').eq(0);\n\t\t\t\t\t\t\t\tjQuery(element).text('View Product').addClass('data-open-url');\n\t\t\t\t\t\t\t\tjQuery(element).removeAttr('data-toggle');\n\t\t\t\t\t\t\t\tjQuery(element).removeAttr('data-target');\n\t\t\t\t\t\t\t\tdid_find = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tif( did_find == false ){\n\t\t\t\t\t\t\tjQuery.each(califorina_stop, function (ix2, em2) {\n\t\t\t\t\t\t\t\tif (location.indexOf(em2) !== -1) {\n\t\t\t\t\t\t\t\t\tlet element = jQuery(em).find('.add-to-bag').eq(0);\n\t\t\t\t\t\t\t\t\tjQuery(element).prop('disabled', 'disabled').text('Unavailable').css('cursor', 'no-drop').css('pointer-events', 'none');\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t}\n\n\t\t\t\n\t\t},\n\t\terror: function (data) {\n\t\t\tif (typeof data.responseJSON !== \"undefined\") {\n\t\t\t\tvar message = data.responseJSON.description;\n\t\t\t} else {\n\t\t\t\tvar message = \"Please try again later!\";\n\t\t\t}\n\t\t}\n\t});\n});\n\nfunction popup_get_variant_id() {\n\n\tvar final_var_sel = jQuery(\"#addtocart_popup #SingleOptionSelector-0\").val() + \" / \" + jQuery(\"#addtocart_popup #SingleOptionSelector-1\").val();\n\tvar did_get_select = false;\n\tvar preorder_text = jQuery(\"#AddToCart-product-template #AddToCartText-product-template\").attr('data-preorder-btn');\n\tvar product_price = jQuery(\"#addtocart_popup #ProductSelect-product-template-popup option:selected\").attr('data-p-price');\n\tvar product_d_price = jQuery(\"#addtocart_popup #ProductSelect-product-template-popup option:selected\").attr('data-d-price');\n\n\n\tjQuery(\"#addtocart_popup .product-form__variants_popup\").find('option').each(function (ix, em) {\n\t\tdebugger\n\t\tif (jQuery(em).text().trim() == final_var_sel) {\n\t\t\tvar selected_variant_id = jQuery(em).attr('value');\n\t\t\tjQuery(em).val(selected_variant_id);\n\t\t\tdebugger;\n\t\t\tjQuery(em).prop('selected', true);\n\t\t\tjQuery(em).trigger('change');\n\t\t\tjQuery(\"#addtocart_popup input[name='id']\").val(selected_variant_id);\n\t\t\tvar check_sub = jQuery(em).attr('data-d-id');\n\t\t\tdid_get_select = true;\n\t\t\tif (preorder_text) {\n\t\t\t\tjQuery(\"#addtocart_popup .product-form__cart-submit\").removeAttr(\"disabled\");\n\t\t\t\tjQuery(\"#addtocart_popup .product-form__cart-submit #AddToCartText-product-template\").text(preorder_text);\n\t\t\t} else {\n\t\t\t\tjQuery(\"#addtocart_popup .product-form__cart-submit\").removeAttr(\"disabled\");\n\t\t\t\tdebugger\n\t\t\t\tif (jQuery('#addtocart_popup .subscription_value.sub_save_popup').length) {\n\t\t\t\t\tjQuery(\"#addtocart_popup .subscription_value.sub_save_popup .subscription-freq option:selected\").each(function (ix, em) {\n\t\t\t\t\t\tvar is_subs = jQuery(em).val();\n\t\t\t\t\t\tif (is_subs == 'subscribe-save') {\n\t\t\t\t\t\t\tif (typeof check_sub !== typeof undefined && check_sub !== false) {\n\t\t\t\t\t\t\t\tjQuery('#variant_popup .add_to_cart_btn .add_to_cart_popup').html(\"Subscribe - \" + \"<span id='AddToCartText-product-template'>(\" + product_d_price + \")</span>\");\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tdebugger\n\t\t\t\t\t\t\t\tjQuery('#variant_popup .add_to_cart_btn .add_to_cart_popup').html(\"Add to Cart \" + \"<span id='AddToCartText-product-template'>(\" + product_price + \")</span>\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjQuery('#variant_popup .add_to_cart_btn .add_to_cart_popup').html(\"Add to Cart \" + \"<span id='AddToCartText-product-template'>(\" + product_price + \")</span>\");\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tif(typeof jQuery(\"#variant_popup #ProductSelect-product-template-popup option:selected\").attr('data-p-price') != 'undefined'){\n\t\t\t\t\tpro_o_price = jQuery(\"#variant_popup #ProductSelect-product-template-popup option:selected\").attr('data-p-price');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tpro_o_price = jQuery(\"#variant_popup #ProductSelect-product-template-popup option:selected\").attr('data-original-price');\n\t\t\t\t\t}\n\t\t\t\t\tjQuery('#variant_popup .add_to_cart_btn .add_to_cart_popup').html(\"Add to Cart \" + \"<span id='AddToCartText-product-template'>(\" + pro_o_price + \")</span>\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tvar product_variant_img = jQuery(\"#addtocart_popup #ProductSelect-product-template-popup option:selected\").attr('data-variant-image');\n\t\t\tjQuery('#variant_popup #addtocart_popup .product_inner .product_img img').attr('src', product_variant_img);\n\t\t} else {\n\t\t\tjQuery(em).prop('selected',false);\n\t\t}\n\t});\n\tif (did_get_select == false) {\n\t\tjQuery(\"#addtocart_popup.product-form__cart-submit\").attr(\"disabled\", \"disabled\");\n\t\tjQuery(\"#addtocart_popup .product-form__cart-submit\").text(\"Sold Out\");\n\n\t}\n}\nfunction popup_get_single_variant_id() {\n\n\t$('#variant_popup .subscription_value.sub_save_popup .subscription-freq').trigger('change')\n\tvar final_var_sel = jQuery(\"#addtocart_popup #SingleOptionSelector-0\").val();\n\tvar did_get_select = false;\n\tvar preorder_text = jQuery(\"#AddToCart-product-template #AddToCartText-product-template\").attr('data-preorder-btn');\n\tvar product_price = jQuery(\"#addtocart_popup #ProductSelect-product-template-popup option:selected\").attr('data-p-price');\n\tvar product_d_price = jQuery(\"#addtocart_popup #ProductSelect-product-template-popup option:selected\").attr('data-d-price');\n\n\tjQuery(\"#addtocart_popup .product-form__variants_popup\").find('option').each(function (ix, em) {\n\t\tlet val = jQuery(em).text().trim();\n\t\t// console.log(jQuery(em))\n\t\t// console.log(val); //full\n\t\tlet new_final_val = \"\"\n\t\tif($('#variant_popup .subscription-freq option:selected').length>0){\n\t\tif($('#variant_popup .subscription-freq option:selected').text().split(\"(\")[0].toLowerCase().replace('days',\"Days\").trim().indexOf('one-time') != -1){\n\t\t\tnew_final_val = final_var_sel+\"/\"+ $('#variant_popup .subscription-freq option:selected').text().split(\"(\")[0].toLowerCase().replace('days',\"Days\").trim();\n\t\t\tsetTimeout(function () {\n\t\t\t\tvar get_p_price = $('#variant_popup .product-form__variants_popup option:selected').attr('data-pro-price');\t\t\t\n\t\t\t\tjQuery('#variant_popup .add_to_cart_btn .add_to_cart_popup').html(\"Add to Cart \" + \"<span id='AddToCartText-product-template'>(\" + get_p_price + \")</span>\");\n\t\t\t},  1000);\n\t\t}else{\n\t\t\tnew_final_val = final_var_sel+\"/Delivery \"+ $('#variant_popup .subscription-freq option:selected').text().split(\"(\")[0].toLowerCase().replace('days',\"Days\").trim();\n\t\t\tsetTimeout(function () {\n\t\t\t\tvar get_d_price = $('#variant_popup .product-form__variants_popup option:selected').attr('data-d-price');\n\t\t\t\tjQuery('#variant_popup .add_to_cart_btn .add_to_cart_popup').html(\"Subscribe - \" + \"<span id='AddToCartText-product-template'>(\" + get_d_price + \")</span>\");\n\t\t\t},  1000);\n\t\t}\n\t\t}else{\n\t\t\tnew_final_val = final_var_sel\n\t\t}\n\t\t// console.log(new_final_val);\n\t\tdebugger\n\t\tif (jQuery(em).text().trim() == new_final_val) {\n\t\t\tdo_console(\"check-sele-text-\" + jQuery(em).text().trim());\n\t\t\tdo_console(\"check-mathctext-\" + final_var_sel);\n\n\t\t\tvar selected_variant_id = jQuery(em).attr('value');\n\t\t\tjQuery(em).val(selected_variant_id);\n\t\t\tdebugger;\n\t\t\tjQuery(em).prop('selected', true);\n\t\t\tjQuery(em).trigger('change');\n\t\t\tjQuery(\"#addtocart_popup input[name='id']\").val(selected_variant_id);\n\t\t\tvar check_sub = jQuery(em).attr('data-d-id');\n\t\t\tdid_get_select = true;\n\t\t\tif (preorder_text) {\n\t\t\t\tjQuery(\"#addtocart_popup .product-form__cart-submit\").removeAttr(\"disabled\");\n\t\t\t\tjQuery(\"#addtocart_popup .product-form__cart-submit #AddToCartText-product-template\").text(preorder_text);\n\t\t\t} else {\n\t\t\t\tjQuery(\"#addtocart_popup .product-form__cart-submit\").removeAttr(\"disabled\");\n\t\t\t\tif (jQuery('#addtocart_popup .subscription_value.sub_save_popup').length) {\n\t\t\t\t\tjQuery(\"#addtocart_popup .subscription_value.sub_save_popup .subscription-freq option:selected\").each(function (ix, em) {\n\t\t\t\t\t\tvar is_subs = jQuery(em).val();\n\t\t\t\t\t\tif (is_subs == 'subscribe-save') {\n\t\t\t\t\t\t\tif (typeof check_sub !== typeof undefined && check_sub !== false) {\n\t\t\t\t\t\t\t\tvar get_d_price = $('#variant_popup .product-form__variants_popup option:selected').attr('data-d-price');\n\t\t\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\t\t\tjQuery('#variant_popup .add_to_cart_btn .add_to_cart_popup').html(\"Subscribe - \" + \"<span id='AddToCartText-product-template'>(\" + get_d_price + \")</span>\");\n\t\t\t\t\t\t\t\t},  1000);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tdebugger\n\t\t\t\t\t\t\t\tjQuery('#variant_popup .add_to_cart_btn .add_to_cart_popup').html(\"Add to Cart \" + \"<span id='AddToCartText-product-template'>(\" + product_price + \")</span>\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tdebugger\n\t\t\t\t\t\t\tvar get_p_price = $('#variant_popup .product-form__variants_popup option:selected').attr('data-pro-price');\n\t\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tjQuery('#variant_popup .add_to_cart_btn .add_to_cart_popup').html(\"Add to Cart \" + \"<span id='AddToCartText-product-template'>(\" + get_p_price + \")</span>\");\n\t\t\t\t\t\t\t},  1000);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tvar pro_o_price = jQuery(\"#variant_popup #ProductSelect-product-template-popup option:selected\").attr('data-p-price');\n\t\t\t\t\tdebugger\n\t\t\t\t\tjQuery('#variant_popup .add_to_cart_btn .add_to_cart_popup').html(\"Add to Cart \" + \"<span id='AddToCartText-product-template'>(\" + pro_o_price + \")</span>\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tvar product_variant_img = jQuery(\"#addtocart_popup #ProductSelect-product-template-popup option:selected\").attr('data-variant-image');\n\t\t\tjQuery('#variant_popup #addtocart_popup  .product_inner .product_img img').attr('src', product_variant_img);\n\t\t} else {\n\t\t\tjQuery(em).prop('selected',false);\n\t\t}\n\t});\n\n\tif (did_get_select == false) {\n\t\tjQuery(\"#addtocart_popup .product-form__cart-submit\").attr(\"disabled\", \"disabled\");\n\t\tjQuery(\"#addtocart_popup .product-form__cart-submit\").text(\"Sold Out\");\n\t}\n\n\n}\n\n// Free Shipping Bar\n\nfunction freeshippingbar(cart_json) {\n\tvar cart_total_price = cart_json.items_subtotal_price;\n\tdo_console(cart_total_price);\n\tvar bar = jQuery('.free_shipping_progress_bar span');\n\tvar total = jQuery(\".subtotal.js-cart_subtotal .price\").text().replace(/\\D/g, '');\n\tvar subtotal = (parseFloat(cart_total_price) / 100);\n\tvar free_max_value = jQuery('.free_shipping_progress').attr('data-max-free-charge');\n\tvar free_shipping = Math.abs(free_max_value - subtotal).toFixed(2);\n\tvar bar_width = (subtotal / free_max_value) * 100;\n\tif (subtotal < free_max_value) {\n\t\tjQuery(\".free_shipping_progress p\").html(\"You are \" + Shopify.formatMoney(free_shipping, theme.moneyFormat) + \" away from FREE shipping (U.S. only)\");\n\t\tbar.animate({\n\t\t\twidth: bar_width + '%'\n\t\t}, 100);\n\t}\n\telse {\n\t\tjQuery(\".free_shipping_progress p\").text(\"Your shipping is FREE (U.S. only)\");\n\t\tbar.animate({\n\t\t\twidth: 100 + '%'\n\t\t}, 100);\n\t}\n}\n\n//   Top header Sticky\n\njQuery(window).on('scroll', function () {\n\tvar window_top = jQuery(window).scrollTop();\n\tvar final_height = 0;\n\n\tif (jQuery(\".header-top\").length) {\n\t\tvar top_header = jQuery(\".header-top\").outerHeight();\n\t\tfinal_height = top_header;\n\t}\n\n\tif (jQuery(\".header-timer\").length) {\n\t\tvar timer_header = jQuery(\".header-timer\").outerHeight();\n\t\tfinal_height = timer_header;\n\t}\n\n\tvar new_final_height = final_height + 95;\n\n\tif (window_top > new_final_height) {\n\t\tjQuery('.navbar-nav-logo').fadeIn();\n\t\tjQuery('.navbar-custom').addClass('issticky');\n\t} else {\n\t\tjQuery('.navbar-nav-logo').fadeOut();\n\t\tjQuery('.navbar-custom').removeClass('issticky');\n\t}\n});\n\n// window resize\njQuery(window).on('resize', function () {\n\tsetTimeout(function () {\n\t\t//jQuery('.top-products .product-item a').matchHeight({ byRow: false });\n\t\t//jQuery('.collection_page .product-item a').matchHeight({ byRow: false });\n\t\t//jQuery('.top-products .product-item .wrapper_div').matchHeight({ byRow: false });\n\t\t//jQuery('.subscribe-save-products .top-products .product-item .wrapper_div').matchHeight({ byRow: false });\n\t}, 3000);\n});\n\njQuery(document).ready(function () {\n\t// Mobile Menu JS\n\tjQuery('.mobile_menu .dropdown-menu a.dropdown-toggle').on('click', function (e) {\n\t\tif (!jQuery(this).next().hasClass('show')) {\n\t\t\tjQuery(this).parents('.dropdown-menu').first().find('.show').removeClass(\"show\");\n\t\t}\n\t\tvar $subMenu = jQuery(this).next(\".dropdown-menu\");\n\t\t$subMenu.toggleClass('show');\n\t\tjQuery(this).parents('li.nav-item.dropdown.show').on('hidden.bs.dropdown', function (e) {\n\t\t\tjQuery('.dropdown-submenu .show').removeClass(\"show\");\n\t\t});\n\t\treturn false;\n\t});\n\n\t/*\n\tlet califorina_stop = ['plant-based-protein-powder', 'plant-based-protein-powder-vanilla', 'matcha-powder-1', 'super-smoothie-kit', 'super-inner-wellness-kit', 'wellness-essentials-duo', 'matcha-powder-1', 'matcha-starter-set'];\n\tjQuery.ajax({\n\t\ttype: \"GET\",\n\t\turl: 'https://api.ipstack.com/check?access_key=c1faa041771b160efc0792f442dea5ab',\n\t\tdataType: \"json\",\n\t\tsuccess: function (data) {\n\t\t\tif (typeof data.region_code != 'undefined' && data.region_code) {\n\t\t\t\tvar r_code = data.region_code;\n\t\t\t\tvar c_code = data.country_code;\n\t\t\t\tif (r_code == 'CA' && c_code == 'US') {\n\t\t\t\t\tlet current_url = window.location.href.toString();\n\t\t\t\t\tjQuery.each(califorina_stop, function (ix, em) {\n\t\t\t\t\t\tif (current_url.indexOf(em) !== -1) {\n\t\t\t\t\t\t\tjQuery('#crtbtn1,#AddToCart-product-template').prop('disabled', 'disabled').text('Unavailable').css('cursor', 'no-drop').css('pointer-events', 'none');\n\t\t\t\t\t\t\tjQuery(\"#addtocartsection .one_time_wrapper\").remove(0);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tjQuery(\".products-slider-top-products .product-item\").each(function (ix, em) {\n\t\t\t\t\t\tlet a_tag = jQuery(em).find('a').eq(0);\n\t\t\t\t\t\tlet location = jQuery(a_tag).attr('href').toString().trim();\n\t\t\t\t\t\tjQuery.each(califorina_stop, function (ix2, em2) {\n\t\t\t\t\t\t\tif (location.indexOf(em2) !== -1) {\n\t\t\t\t\t\t\t\tlet element = jQuery(em).find('.add-to-bag').eq(0);\n\t\t\t\t\t\t\t\tjQuery(element).prop('disabled', 'disabled').text('Unavailable').css('cursor', 'no-drop').css('pointer-events', 'none');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t\tjQuery(\".products-slider-subscribe-save .product-item\").each(function (ix, em) {\n\t\t\t\t\t\tlet a_tag = jQuery(em).find('a').eq(0);\n\t\t\t\t\t\tlet location = jQuery(a_tag).attr('href').toString().trim();\n\t\t\t\t\t\tjQuery.each(califorina_stop, function (ix2, em2) {\n\t\t\t\t\t\t\tif (location.indexOf(em2) !== -1) {\n\t\t\t\t\t\t\t\tlet element = jQuery(em).find('.add-to-bag').eq(0);\n\t\t\t\t\t\t\t\tjQuery(element).prop('disabled', 'disabled').text('Unavailable').css('cursor', 'no-drop').css('pointer-events', 'none');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t\tjQuery(\"section.product-category .product-item\").each(function (ix, em) {\n\t\t\t\t\t\tlet a_tag = jQuery(em).find('a').eq(0);\n\t\t\t\t\t\tlet location = jQuery(a_tag).attr('href').toString().trim();\n\t\t\t\t\t\tjQuery.each(califorina_stop, function (ix2, em2) {\n\t\t\t\t\t\t\tif (location.indexOf(em2) !== -1) {\n\t\t\t\t\t\t\t\tlet element = jQuery(em).find('.add-to-bag').eq(0);\n\t\t\t\t\t\t\t\tjQuery(element).prop('disabled', 'disabled').text('Unavailable').css('cursor', 'no-drop').css('pointer-events', 'none');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t}\n\t\t},\n\t\terror: function (data) {\n\t\t}\n\t});\n\t*/\n\n\n\t// Customer Review POPUP\n\tfunction readURL(input, imgControlName) {\n\t\tif (input.files && input.files[0]) {\n\t\t  var reader = new FileReader();\n\t\t  reader.onload = function(e) {\n\t\t\tjQuery(imgControlName).attr('src', e.target.result);\n\t\t  }\n\t\t  reader.readAsDataURL(input.files[0]);\n\t\t}\n\t}\n\n\tjQuery(\"#imag1\").change(function() {\n\t\t// add your logic to decide which image control you'll use\n\t\tvar imgControlName = \"#ImgPreview1\";\n\t\treadURL(this, imgControlName);\n\t\tjQuery('.preview1').addClass('it');\n\t\tjQuery('.btn-rmv1').addClass('rmv');\n\t  });\n\t\n\t  jQuery(\"#removeImage1\").click(function(e) {\n\t\te.preventDefault();\n\t\tjQuery(\"#imag1\").val(\"\");\n\t\tjQuery(\"#ImgPreview1\").attr(\"src\", \"\");\n\t\tjQuery('.preview1').removeClass('it');\n\t\tjQuery('.btn-rmv1').removeClass('rmv');\n\t  });\n\t  jQuery(\"#imag2\").change(function() {\n\t\t// add your logic to decide which image control you'll use\n\t\tvar imgControlName = \"#ImgPreview2\";\n\t\treadURL(this, imgControlName);\n\t\tjQuery('.preview2').addClass('it');\n\t\tjQuery('.btn-rmv2').addClass('rmv');\n\t  });\n\t\n\t  jQuery(\"#removeImage2\").click(function(e) {\n\t\te.preventDefault();\n\t\tjQuery(\"#imag2\").val(\"\");\n\t\tjQuery(\"#ImgPreview2\").attr(\"src\", \"\");\n\t\tjQuery('.preview2').removeClass('it');\n\t\tjQuery('.btn-rmv2').removeClass('rmv');\n\t  });\n\n\tjQuery('.back_to_link a').on('click', function(e){\n\t\te.preventDefault();\n\t\twindow.history.back();\n\t}); \n\n\t// Add Back icon on portal acoount page\n\tif(jQuery(\"#customer_tab_content.rc_layout__full\").length){\n\t\tjQuery(\"#customer_tab_content.rc_layout__full\").prepend(\"<p class='text-left back_to_link'><a href='/account'><img src='//cdn.shopify.com/s/files/1/0191/6439/7668/t/1/assets/arrow-left-account.png?v=3158433559246080487' class='img-fluid'></a></p>\");\n\t}\n// });\n\n\n\n// $(document).ready(function(e){\n\t// benifit div hide show\n\t$(\".subscribe_info input[type='radio']\").on('change', function () {\n\t\tvar name = $(this).val();\n\t\tif (name == 'onetime') {\n\t\t\t$('.cbb-frequently-bought-container').show();\n\t\t\t$('.subscription_benifits').hide();\n\t\t\t$('.free_shipping-text').show();\n\t\t\t$(\".product-info .subscription-freq\").val('onetime').trigger('change');\n\t\t} else {\n\t\t\t$('.cbb-frequently-bought-container').hide();\n\t\t\t$('.subscription_benifits').show();\n\t\t\t$('.free_shipping-text').hide();\n\t\t\tadjust_sub_options()\n\t\t}\n\t});\n\n    $(document).on('change','#frequency-select',function(e){\n\t\tadjust_sub_options()\n\t\t$(\"#is_subscribed_yes\").prop('checked',true);\n\t\t$(\"#is_subscribed_yes\").trigger('change');\n\t});\n\n\t// changes for product page \n\t// update variant/frequence\n\t\n});\n\n// for subscribe and save update price as first plan selected\n$(document).ready(function(){\n\t$('.products-slider-subscribe-save .subscription-freq').each(function(){\n\t\t$(this).find('option:first').trigger('change')\n\t })\n})"],
  "mappings": "AAAA,IAAI,SAAW,GACf,SAAS,WAAW,KAAK,CACxB,GAAG,UAAY,GAAM,CACpB,SACA,QAAQ,IAAI,IAAI,CACjB,CACD,C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AAQ,EAAE,IAAI,EAAE,EACvB,OAAO,cAAc,EAAE,KAAK,MAAO,EAAE,EACrC,OAAO,WAAW,EAAE,YAAY,IAAI,EACpC,OAAO,WAAW,EAAE,YAAY,KAAK,CACpC,CAAC,EAEH,OAAO,iBAAiB,EAAE,GAAG,QAAS,SAAS,EAAE,CAChD,EAAE,eAAe,EACjB,OAAO,QAAQ,KAAK,CACrB,CAAC,EAGE,OAAO,uCAAuC,EAAE,QAClD,OAAO,uCAAuC,EAAE,QAAQ,+LAA+L,EAQxP,EAAE,qCAAqC,EAAE,GAAG,SAAU,UAAY,CACjE,IAAI,KAAO,EAAE,IAAI,EAAE,IAAI,EACnB,MAAQ,WACX,EAAE,kCAAkC,EAAE,KAAK,EAC3C,EAAE,wBAAwB,EAAE,KAAK,EACjC,EAAE,qBAAqB,EAAE,KAAK,EAC9B,EAAE,kCAAkC,EAAE,IAAI,SAAS,EAAE,QAAQ,QAAQ,IAErE,EAAE,kCAAkC,EAAE,KAAK,EAC3C,EAAE,wBAAwB,EAAE,KAAK,EACjC,EAAE,qBAAqB,EAAE,KAAK,EAC9B,mBAAmB,EAErB,CAAC,EAEE,EAAE,QAAQ,EAAE,GAAG,SAAS,oBAAoB,SAAS,EAAE,CACzD,mBAAmB,EACnB,EAAE,oBAAoB,EAAE,KAAK,UAAU,EAAI,EAC3C,EAAE,oBAAoB,EAAE,QAAQ,QAAQ,CACzC,CAAC,CAKF,CAAC,EAGD,EAAE,QAAQ,EAAE,MAAM,UAAU,CAC3B,EAAE,oDAAoD,EAAE,KAAK,UAAU,CACtE,EAAE,IAAI,EAAE,KAAK,cAAc,EAAE,QAAQ,QAAQ,CAC7C,CAAC,CACH,CAAC",
  "names": ["cents", "event", "$this", "easter_image", "discount_code", "easter_desc", "easter_howto", "hover_info_text", "hide_spinner", "em", "content_for_reviews", "e", "reviews_pagination", "stores", "accordion_content", "show_selected_image", "show_selected_image_srcset", "key", "n", "i", "t", "a", "l", "u", "d", "r", "o", "s", "$", "data", "iframes", "raw_data", "json_data", "data_url", "data_to_send", "enable_disable_selection", "h", "varianttoadd", "did_get_select", "location", "ix", "pro_o_price"]
}
