Submit
Path:
~
/
home
/
getwphos
/
public_html
/
almajd
/
wp-content
/
plugins
/
woocommerce
/
assets
/
client
/
blocks
/
cart-blocks
/
File Content:
proceed-to-checkout-style.js
"use strict";(globalThis.webpackChunkwebpackWcBlocksStylingJsonp=globalThis.webpackChunkwebpackWcBlocksStylingJsonp||[]).push([[9936],{31335:(e,t,o)=>{o.r(t),o.d(t,{default:()=>m});var n=o(41616),r=o(4921),c=o(86087),s=o(89874),a=o(78331),i=o(10790);const u={bottom:0,left:0,opacity:0,pointerEvents:"none",position:"absolute",right:0,top:0,zIndex:-1};var l=o(15703),b=o(47143),d=o(47594),p=o(71e3),g=o(73993),h=o(30743),k=o(14656),f=o(91869);var v=o(66867);const m=(0,n.withFilteredAttributes)(v.A)((({checkoutPageId:e,className:t,buttonLabel:n})=>{const v=(0,l.getSetting)("page-"+e,!1),m=(0,b.useSelect)((e=>e(d.checkoutStore).isCalculating()),[]),[w,C]=(()=>{const[e,t]=(0,c.useState)(""),o=(0,c.useRef)(null),n=(0,c.useRef)(new IntersectionObserver((e=>{e[0].isIntersecting?t("visible"):t(e[0].boundingClientRect.top>0?"below":"above")}),{threshold:[0,.5,1]}));return(0,c.useLayoutEffect)((()=>{const e=o.current,t=n.current;return e&&t.observe(e),()=>{t.unobserve(e)}}),[]),[(0,i.jsx)("div",{"aria-hidden":!0,ref:o,style:u}),e]})(),[y,S]=(0,c.useState)(!1);(0,c.useEffect)((()=>{if("function"!=typeof o.g.addEventListener||"function"!=typeof o.g.removeEventListener)return;const e=()=>{S(!1)};return o.g.addEventListener("pageshow",e),()=>{o.g.removeEventListener("pageshow",e)}}),[]);const _=(0,b.useSelect)((e=>e(d.cartStore).getCartData()),[]),E=(0,p.applyCheckoutFilter)({filterName:"proceedToCheckoutButtonLabel",defaultValue:n||f.G,arg:{cart:_}}),L=(0,p.applyCheckoutFilter)({filterName:"proceedToCheckoutButtonLink",defaultValue:v||a.tn,arg:{cart:_}}),{dispatchOnProceedToCheckout:x}=(0,h.e)(),A=(0,i.jsxs)(s.A,{className:(0,r.A)("wc-block-cart__submit-button",{"wc-block-cart__submit-button--loading":y}),href:L,disabled:m,onClick:e=>{x().then((t=>{t.some(g.isErrorResponse)?e.preventDefault():S(!0)}))},children:[y&&(0,i.jsx)(k.Spinner,{}),E]}),N=(0,c.useMemo)((()=>{const e=getComputedStyle(document.body).backgroundColor;return e&&"rgba(0, 0, 0, 0)"!==e&&"transparent"!==e?e:"#fff"}),[]),j="below"===C,T=(0,r.A)("wc-block-cart__submit-container",{"wc-block-cart__submit-container--sticky":j});return(0,i.jsxs)("div",{className:(0,r.A)("wc-block-cart__submit",t),children:[w,(0,i.jsx)("div",{className:T,style:j?{backgroundColor:N}:{},children:A})]})}))}}]);
Submit
FILE
FOLDER
Name
Size
Permission
Action
cart-accepted-payment-methods-frontend.js
364 bytes
0644
cart-accepted-payment-methods-style.js
204 bytes
0644
cart-cross-sells-frontend.js
395 bytes
0644
cart-cross-sells-products-frontend.js
13341 bytes
0644
cart-cross-sells-products-style.js
204 bytes
0644
cart-cross-sells-style.js
373 bytes
0644
cart-express-payment-frontend.js
708 bytes
0644
cart-express-payment-style.js
491 bytes
0644
cart-items-frontend.js
349 bytes
0644
cart-items-style.js
328 bytes
0644
cart-line-items-frontend.js
373 bytes
0644
cart-line-items-style.js
204 bytes
0644
cart-order-summary-frontend.js
725 bytes
0644
cart-order-summary-style.js
550 bytes
0644
cart-totals-frontend.js
375 bytes
0644
cart-totals-style.js
345 bytes
0644
empty-cart-frontend.js
587 bytes
0644
empty-cart-style.js
556 bytes
0644
filled-cart-frontend.js
490 bytes
0644
filled-cart-style.js
470 bytes
0644
order-summary-coupon-form-frontend.js
513 bytes
0644
order-summary-coupon-form-style.js
203 bytes
0644
order-summary-discount-frontend.js
891 bytes
0644
order-summary-discount-style.js
203 bytes
0644
order-summary-fee-frontend.js
493 bytes
0644
order-summary-fee-style.js
204 bytes
0644
order-summary-heading-frontend.js
524 bytes
0644
order-summary-heading-style.js
504 bytes
0644
order-summary-shipping-frontend.js
636 bytes
0644
order-summary-shipping-style.js
204 bytes
0644
order-summary-subtotal-frontend.js
609 bytes
0644
order-summary-subtotal-style.js
203 bytes
0644
order-summary-taxes-frontend.js
856 bytes
0644
order-summary-taxes-style.js
269 bytes
0644
order-summary-totals-frontend.js
303 bytes
0644
order-summary-totals-style.js
281 bytes
0644
proceed-to-checkout-frontend.js
1984 bytes
0644
proceed-to-checkout-style.js
2273 bytes
0644
N4ST4R_ID | Naxtarrr