PageSourceSearch

https://makezine.com/wp-content/plugins/shopwp-pro/dist/CartLineItemPrice-public.e341fc5e35d8e95d96a9.js

js makezine.com collected 2026-09-24 08:08:16 UTC 1,616 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["CartLineItemPrice-public"],{"./npm-packages/@shopwp/components/src/cart/lineitem/price/index.jsx"(e,t,c){c.r(t),c.d(t,{default:()=>i});var a=c("./npm-packages/@shopwp/components/src/price/index.jsx");function r(e){var t=e.subscriptionDiscount,c=e.price;return React.createElement(React.Fragment,null,React.createElement("p",{className:"swp-discount-label"},"You're saving ",t,"%"," "),React.createElement("p",{className:"swp-discount-price"},React.createElement(a.A,{price:c})))}function n(e){var t=e.regPrice;return React.createElement("div",{className:"swp-cart-lineitem-price wps-cart-lineitem-price wps-cart-lineitem-price-total"},React.createElement(a.A,{price:t}))}const i=wp.element.memo((function(e){var t=e.regPrice,c=e.salePrice,i=e.subscriptionDiscount;return React.createElement("div",{className:"swp-cart-lineitem-price-total-wrapper wps-cart-lineitem-price-total-wrapper"},i?React.createElement(r,{subscriptionDiscount:i,price:t}):null,c?React.createElement(React.Fragment,null,React.createElement("div",{className:"swp-lineitem-was-price-wrap"},React.createElement("svg",{"aria-hidden":"true",focusable:"false",className:"swp-icon-discount",viewBox:"0 0 12 12"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3a2 2 0 012 2v3a1 1 0 01-.3.7l-6 6a1 1 0 01-1.4 0l-4-4a1 1 0 010-1.4l6-6A1 1 0 017 0zm2 2a1 1 0 102 0 1 1 0 00-2 0z",fill:"currentColor"})),React.createElement("span",null,React.createElement(a.A,{price:c}))),React.createElement(n,{regPrice:t})):React.createElement(n,{regPrice:t}))}))}}]);

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.