1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2796],{62796:(e,a,t)=>{t.r(a),t.d(a,{default:()=>m});var n=t(5740),s=t(76704),i=t(74332),l=t(82980),r=t(71985),o=t(56809),c=t(62104),d=t(45066),x=t(91037);function m(){var e,a;let t=(0,i.c)("cartPage.summary"),[m,u]=(0,s.useState)(!1),h=(0,c.m7)(e=>e.totals),p=(0,c.m7)(e=>e.isFirstLoaded),f=(0,c.m7)(e=>e.itemCount),v=(0,c.gT)(),b=(0,s.useCallback)(()=>{u(e=>!e)},[]);if((0,s.useEffect)(()=>(m?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[m]),!p||0===f)return null;let y=null!=(e=null==h?void 0:h.currency)?e:"",j=h?(0,o.LM)(null!=(a=h.total)?a:0,y):"â";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"fixed inset-0 bg-black/20 transition-opacity ".concat(m?"z-40 opacity-100 duration-150":"pointer-events-none z-[-1] opacity-0 duration-200"),onClick:()=>u(!1)}),(0,n.jsx)("div",{className:"pointer-events-none fixed bottom-0 left-0 right-0 z-50 flex flex-col justify-end",children:(0,n.jsxs)("div",{className:"pointer-events-auto mx-auto w-[calc(100%-3px)] overflow-hidden rounded-t-2xl bg-white shadow-[0_-4px_16px_rgba(0,0,0,0.1)]",children:[(0,n.jsx)("div",{className:"overflow-hidden border-b transition-all ease-in-out ".concat(m?"max-h-[calc(95vh-max(var(--layout-header-h),var(--layout-header-expand-h))-40px)] border-zinc-100 duration-300":"max-h-0 border-transparent duration-200"),children:(0,n.jsx)("div",{className:"scrollbar-thin relative max-h-[calc(75vh-max(var(--layout-header-h),var(--layout-header-expand-h))-40px)] overflow-y-auto",children:(0,n.jsx)(d.A,{hideActions:!0})})}),(0,n.jsx)("div",{style:{paddingBottom:"calc(12px + env(safe-area-inset-bottom))"},children:(0,n.jsxs)("div",{className:"space-y-1.5 px-3 pt-2",children:[(0,n.jsxs)("div",{className:"flex items-start",children:[(0,n.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,n.jsxs)("button",{type:"button","aria-expanded":m,className:"mb-0.5 flex origin-left scale-90 items-center gap-1 text-[11px] leading-none tracking-wide text-zinc-500",onClick:b,children:[t("total"),(0,n.jsx)(r.Hd,{size:.5,className:"scale-120 transition-transform duration-200 ".concat(m?"rotate-180":"")})]}),(0,n.jsxs)("div",{className:"relative my-0.5 min-h-6 truncate text-[18px] leading-tight font-extrabold text-price",children:[(0,n.jsx)("span",{className:v?"invisible":"",children:j}),v&&(0,n.jsx)(l.o,{color:"default",variant:"dots","aria-label":t("total"),className:"absolute top-1/2 left-0 -translate-y-1/2"})]})]}),(0,n.jsxs)("button",{type:"button","aria-expanded":m,className:"-mt-1 inline-flex shrink-0 origin-right cursor-pointer items-center gap-0.5 self-start rounded-full bg-zinc-100 px-1.5 py-0.5 font-medium text-primary capitalize",onClick:b,children:[(0,n.jsx)("span",{className:"text-[11px]",children:t(m?"hide":"details")}),(0,n.jsx)(r.Hd,{size:.8,className:"transition-transform duration-200 ".concat(m?"rotate-180":"")})]})]}),(0,n.jsx)(x.A,{compact:!0,onValidationFail:()=>u(!1)})]})})]})})]})}}}]);
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.