Submit
Path:
~
/
home
/
getwphos
/
public_html
/
almajd
/
wp-content
/
plugins
/
woocommerce
/
assets
/
client
/
blocks
/
cart-blocks
/
File Content:
proceed-to-checkout-frontend.js
"use strict";(globalThis.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp=globalThis.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp||[]).push([[936],{8436:(e,t,o)=>{o.r(t),o.d(t,{default:()=>C});var c=o(1616),a=o(4921),r=o(6087),n=o(9874),s=o(8331),u=o(2754),l=o(5703),i=o(7143),d=o(7594),b=o(1e3),k=o(3993),p=o(3224),h=o(4656);const g=(0,o(7723).__)("Proceed to Checkout","woocommerce");var m=o(790);const f={checkoutPageId:{type:"number",default:0},lock:{type:"object",default:{move:!0,remove:!0}},buttonLabel:{type:"string",default:g}},C=(0,c.withFilteredAttributes)(f)((({checkoutPageId:e,className:t,buttonLabel:c})=>{const f=(0,l.getSetting)("page-"+e,!1),C=(0,i.useSelect)((e=>e(d.checkoutStore).isCalculating()),[]),[w,v]=(0,u.E)(),[_,y]=(0,r.useState)(!1);(0,r.useEffect)((()=>{if("function"!=typeof o.g.addEventListener||"function"!=typeof o.g.removeEventListener)return;const e=()=>{y(!1)};return o.g.addEventListener("pageshow",e),()=>{o.g.removeEventListener("pageshow",e)}}),[]);const L=(0,i.useSelect)((e=>e(d.cartStore).getCartData()),[]),S=(0,b.applyCheckoutFilter)({filterName:"proceedToCheckoutButtonLabel",defaultValue:c||g,arg:{cart:L}}),E=(0,b.applyCheckoutFilter)({filterName:"proceedToCheckoutButtonLink",defaultValue:f||s.tn,arg:{cart:L}}),{dispatchOnProceedToCheckout:N}=(0,p.e)(),j=(0,m.jsxs)(n.A,{className:(0,a.A)("wc-block-cart__submit-button",{"wc-block-cart__submit-button--loading":_}),href:E,disabled:C,onClick:e=>{N().then((t=>{t.some(k.isErrorResponse)?e.preventDefault():y(!0)}))},children:[_&&(0,m.jsx)(h.Spinner,{}),S]}),A=(0,r.useMemo)((()=>{const e=getComputedStyle(document.body).backgroundColor;return e&&"rgba(0, 0, 0, 0)"!==e&&"transparent"!==e?e:"#fff"}),[]),F="below"===v,T=(0,a.A)("wc-block-cart__submit-container",{"wc-block-cart__submit-container--sticky":F});return(0,m.jsxs)("div",{className:(0,a.A)("wc-block-cart__submit",t),children:[w,(0,m.jsx)("div",{className:T,style:F?{backgroundColor:A}:{},children:j})]})}))}}]);
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