File "title-frontend.js"
Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/woocommerce/assets/client/blocks/mini-cart-contents-block/title-frontend.js
File size: 1.46 KB
MIME-type: text/plain
Charset: utf-8
"use strict";(self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp=self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp||[]).push([[7311,319,8722],{3488:(e,t,s)=>{s.r(t),s.d(t,{default:()=>u});var l=s(1609),a=s(8509),c=s(851),n=s(2500),r=s(9586),o=s(1692);const u=({children:e,className:t})=>{const{cartIsLoading:s}=(0,a.V)();if(s)return null;const u=(0,o.G)(e);return(0,l.createElement)("h2",{className:(0,c.A)(t,"wc-block-mini-cart__title")},u?e:(0,l.createElement)(l.Fragment,null,(0,l.createElement)(r.default,null),(0,l.createElement)(n.default,null)))}},2500:(e,t,s)=>{s.r(t),s.d(t,{default:()=>o});var l=s(1609),a=s(8509),c=s(851),n=s(7723),r=s(3566);const o=e=>{const{cartItemsCount:t}=(0,a.V)(),s=(0,r.p)(e);return(0,l.createElement)("span",{className:(0,c.A)(e.className,s.className),style:s.style},(0,n.sprintf)(/* translators: %d is the count of items in the cart. */ /* translators: %d is the count of items in the cart. */
(0,n._n)("(%d item)","(%d items)",t,"woocommerce"),t))}},9586:(e,t,s)=>{s.r(t),s.d(t,{default:()=>r});var l=s(1609),a=s(3566),c=s(851);const n=(0,s(7723).__)("Your cart","woocommerce"),r=e=>{const t=(0,a.p)(e);return(0,l.createElement)("span",{className:(0,c.A)(e.className,t.className),style:t.style},e.label||n)}},1692:(e,t,s)=>{s.d(t,{G:()=>c,I:()=>a});var l=s(3993);const a=(e="",t)=>e.includes("is-style-outline")?"outlined":e.includes("is-style-fill")?"contained":t,c=e=>e.some((e=>Array.isArray(e)?c(e):(0,l.isObject)(e)&&null!==e.key))}}]);