PageSourceSearch

https://gourmantehealth.com/cdn/shop/t/5/assets/z__jsCart.js?v=159145312106676088261565270496

js gourmantehealth.com collected 2026-10-04 07:02:41 UTC 2,457 bytes, 2 lines download raw bytes

1"use strict";function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Shopify.theme.jsCart={init:function($section){this.$section=$section,$(document).on("click","[data-cart-page-delete]",function(e){e.preventDefault();var variantId2=$(this).data("cart-variant-id");return Shopify.theme.jsCart.removeFromCart(variantId2),!1})},removeFromCart:function removeFromCart(variantId){var $cartItem=Shopify.theme.jsCart.$section.find('[data-cart-variant-id="'.concat(variantId,'"]')).parents(".cart__card");$cartItem.css("opacity","0.5"),$.ajax({type:"POST",url:"/cart/change.js",data:"quantity=0&id="+variantId,dataType:"json",success:function(cart){$cartItem.addClass("animated zoomOut").delay(1e3).queue(function(){$cartItem.addClass("is-hidden")}),Shopify.theme.jsCart.updateView(cart),Shopify.theme.jsAjaxCart.updateView()},error:function error(XMLHttpRequest,textStatus){var response=eval("("+XMLHttpRequest.responseText+")");response=response.description}})},updateView:function updateView(cart){var variantId2=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(cart.item_count>0){var _$$ajax;$.ajax((_$$ajax={dataType:"json",async:!1,cache:!1},_defineProperty(_$$ajax,"dataType","html"),_defineProperty(_$$ajax,"url","/cart"),_defineProperty(_$$ajax,"success",function(html){if(variantId2!==null){var itemTotal=$(html).find('[data-cart-item="'.concat(variantId2,'"]')).find(".cart__total"),quantityInput=$(html).find('[data-cart-item="'.concat(variantId2,'"]')).find(".quantity-input");$('[data-cart-item="'.concat(variantId2,'"]')).find(".cart__total").replaceWith(itemTotal),$('[data-cart-item="'.concat(variantId2,'"]')).find(".quantity-input").replaceWith(quantityInput)}var savings=$(html).find(".cart__savings"),subtotal=$(html).find(".cart__subtotal");$(".cart__savings").replaceWith(savings),$(".cart__subtotal").replaceWith(subtotal),$('[data-bind="itemCount"]').text(cart.item_count)}),_$$ajax))}else $(".cart__empty-cart-message").removeClass("is-hidden"),$(".cart__form").addClass("is-hidden"),$("[data-ajax-cart-trigger]").removeClass("has-cart-count"),$('[data-bind="itemCount"]').text("0");Shopify.theme_settings.show_multiple_currencies&&convertCurrencies()},unload:function unload($section){$("[data-cart-page-delete]").off()}};
2//# sourceMappingURL=/cdn/shop/t/5/assets/z__jsCart.js.map?v=159145312106676088261565270496

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.