OwlCyberSecurity - MANAGER
Edit File: footer-style.js
"use strict";(globalThis.webpackChunkwebpackWcBlocksStylingJsonp=globalThis.webpackChunkwebpackWcBlocksStylingJsonp||[]).push([[2974,6476,7850],{80371:(t,e,o)=>{o.d(e,{p:()=>r});var s=o(4921),c=o(73993),n=o(70219),a=o(70017);const r=t=>{const e=(t=>{const e=(0,c.isObject)(t)?t:{style:{}};let o=e.style;return(0,c.isString)(o)&&(o=JSON.parse(o)||{}),(0,c.isObject)(o)||(o={}),{...e,style:o}})(t),o=(0,a.BK)(e),r=(0,a.aR)(e),l=(0,a.fo)(e),i=(0,n.x)(e);return{className:(0,s.A)(i.className,o.className,r.className,l.className),style:{...i.style,...o.style,...r.style,...l.style}}}},70219:(t,e,o)=>{o.d(e,{x:()=>c});var s=o(73993);const c=t=>{const e=(0,s.isObject)(t.style.typography)?t.style.typography:{},o=(0,s.isString)(e.fontFamily)?e.fontFamily:"";return{className:t.fontFamily?`has-${t.fontFamily}-font-family`:o,style:{fontSize:t.fontSize?`var(--wp--preset--font-size--${t.fontSize})`:e.fontSize,fontStyle:e.fontStyle,fontWeight:e.fontWeight,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight,textDecoration:e.textDecoration,textTransform:e.textTransform}}}},70017:(t,e,o)=>{o.d(e,{BK:()=>i,aR:()=>u,fo:()=>d});var s=o(4921),c=o(67356),n=o(49786),a=o(73993);function r(t={}){const e={};return(0,n.getCSSRules)(t,{selector:""}).forEach((t=>{e[t.key]=t.value})),e}function l(t,e){return t&&e?`has-${(0,c.c)(e)}-${t}`:""}function i(t){const{backgroundColor:e,textColor:o,gradient:c,style:n}=t,i=l("background-color",e),u=l("color",o),d=function(t){if(t)return`has-${t}-gradient-background`}(c),m=d||n?.color?.gradient;return{className:(0,s.A)(u,d,{[i]:!m&&!!i,"has-text-color":o||n?.color?.text,"has-background":e||n?.color?.background||c||n?.color?.gradient,"has-link-color":(0,a.isObject)(n?.elements?.link)?n?.elements?.link?.color:void 0}),style:r({color:n?.color||{}})}}function u(t){const e=t.style?.border||{};return{className:function(t){const{borderColor:e,style:o}=t,c=e?l("border-color",e):"";return(0,s.A)({"has-border-color":!!e||!!o?.border?.color,[c]:!!c})}(t),style:r({border:e})}}function d(t){return{className:void 0,style:r({spacing:t.style?.spacing||{}})}}},24786:(t,e,o)=>{o.r(e),o.d(e,{default:()=>u});var s=o(78331),c=o(89874),n=o(4921),a=o(80371),r=o(61750),l=o(22805),i=o(10790);const u=({className:t,cartButtonLabel:e,style:o})=>{const u=(0,a.p)({style:o});return s.Vo?(0,i.jsx)(c.A,{className:(0,n.A)(t,u.className,"wc-block-mini-cart__footer-cart"),style:u.style,href:s.Vo,variant:(0,l.I)(t,"outlined"),children:e||r.G}):null}},82752:(t,e,o)=>{o.r(e),o.d(e,{default:()=>m});var s=o(78331),c=o(89874),n=o(4921),a=o(80371),r=o(30743),l=o(73993),i=o(5116),u=o(22805),d=o(10790);const m=({className:t,checkoutButtonLabel:e,style:o})=>{const m=(0,a.p)({style:o}),{dispatchOnProceedToCheckout:y}=(0,r.e)();return s.tn?(0,d.jsx)(c.A,{className:(0,n.A)(t,m.className,"wc-block-mini-cart__footer-checkout"),variant:(0,u.I)(t,"contained"),style:m.style,href:s.tn,onClick:t=>{y().then((e=>{e.some(l.isErrorResponse)&&t.preventDefault()}))},children:e||i.c}):null}},38664:(t,e,o)=>{o.r(e),o.d(e,{default:()=>g});var s=o(27723),c=o(14656),n=o(70910),a=o(28814),r=o(2328),l=o(71117),i=o(53826),u=o(15703),d=o(75495),m=o(4921),y=o(24786),f=o(82752),h=o(22805),b=o(10790);const p=()=>{const{paymentMethods:t}=(0,a.m)();return(0,b.jsx)(l.h,{icons:(0,i.R)(t)})},g=({children:t,className:e,cartButtonLabel:o,checkoutButtonLabel:a})=>{const{cartTotals:l}=(0,r.V)(),i=(0,u.getSetting)("displayCartPricesIncludingTax",!1)?parseInt(l.total_items,10)+parseInt(l.total_items_tax,10):parseInt(l.total_items,10),g=(0,h.G)(t);return(0,b.jsxs)("div",{className:(0,m.A)(e,"wc-block-mini-cart__footer"),children:[(0,b.jsx)(c.TotalsItem,{className:"wc-block-mini-cart__footer-subtotal",currency:(0,n.getCurrencyFromPriceResponse)(l),label:(0,s.__)("Subtotal","woocommerce"),value:i,description:(0,s.__)("Shipping, taxes, and discounts calculated at checkout.","woocommerce")}),(0,b.jsx)("div",{className:"wc-block-mini-cart__footer-actions",children:g?t:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(y.default,{cartButtonLabel:o}),(0,b.jsx)(f.default,{checkoutButtonLabel:a})]})}),(0,b.jsx)(d.n,{children:(0,b.jsx)(p,{})})]})}}}]);