1import{u as e,i as r,S as w}from"./esnext-vendor.BDPAaZdq.js";import{h as k,Q as x,R as A,z as T,V as E,X as I,q as M,Y as o,Z as l,W as O,E as B,r as R,m as F,_ as L,n as c,b as m,P as d,p as N,$ as z,c as D,I as H,o as W}from"./hydrate.B0xlt2dG.js";import{a6 as V,O as U,P as Y,a7 as $,a8 as j}from"./hooks-useReplaceShopPayInHistory.C8UL-mAH.js";import{C as q}from"./Captcha.DnnR7xVp.js";import{M as J}from"./hooks-useShopPayNewSignupLoginExperiment.CrD2gvGR.js";import{u as K,P as Q,R as X,a as Z,V as G,S as ee}from"./PaymentButtons.bhaFVFMx.js";import{P as p}from"./hooks-useWalletsTimeout.i08rvNYN.js";import{S as ae}from"./Section-SectionStyleOverride.CP0VFRId.js";import{T as re}from"./helpers-getNormalizedPaymentMethodName.B-mE5wnL.js";import{u as te,S as ie}from"./hooks-usePostPurchase.BPY08f0g.js";import"./app.D1P6yWfp.js";import"./shared-permissions.BaDWlj5_.js";import"./hooks-useShopPayExternalAppContext.DyGXtar4.js";import"./ShopPayCaptcha.CPpzhmEJ.js";import"./PaymentErrorBanner.CHfgrXa-.js";import"./hooks-useGeneralPaymentErrorMessage.Zl8_48Ok.js";import"./hooks-useHasOrdersFromMultipleShops.C_XGQrjx.js";import"./PayButton-helpers.Dg5kgVMm.js";import"./graphql-PaymentSessionMutation.BhOnX3QJ.js";import"./hooks-useWalletsMonorailTrack.CvfUTPBc.js";import"./utilities-publishMessage.BORnEDuA.js";import"./utilities-stable-ref.Dvd2X3ul.js";function Ae(){const{progress:u,progressing:t}=k(),h=V().isBlocked.value,{nextPage:a,previousPage:i}=x(),{i18n:n,shop:g,source:P}=U(),b=P.type==="simulated",y=n.translate("general.pay_now_button_label");te({stage:ie.Complete,id:"Review"}),A("review");const S=Y().managedByMarketsPro,v=T(),s=$(),f=K(),C=g.hasFlagEnabled(j);return e(w,{children:[e(re,{children:n.translate("review.title")}),e(E,{section:"review",children:e(I,{section:"review",children:e(M,{children:[e(
1o,{grouped:!0,children:C?e(ae,{target:"card",children:e(l,{})}):e(l,{})}),e(r,{when:v,children:_=>e(o,{children:e(O,{tone:"critical",errorType:B.PaymentError,children:_})})}),e(r,{when:S,children:e(J,{})}),e(r,{when:s,children:e(p,{placement:"default"})}),e(r,{when:f,children:e(q,{})}),e(Q,{}),e(r,{when:s,children:e(p,{placement:"above-pay-button"})}),e(R,{children:[e(F,{children:e(L,{onSubmit:()=>u("review-page-submit"),disabled:t.value,implicitSubmit:y,children:[e(X,{children:e(Z,{disabled:b||h,loading:t.value,defaultLabel:a.label,pixelId:"go_to_next_step"})}),a.notice?e(c,{above:"small",children:[e(m,{blockSize:"small-200"}),e(d,{textAlign:"center",color:"subdued",type:"small",children:a.notice})]}):null]})}),e(N,{children:e(z,{href:i.route,variant:"plain",inlineSize:"fill",textDecoration:"none",pixelId:"go_to_previous_step",children:e(D,{direction:"inline",gap:"small-200",alignItems:"center",children:[e(H,{type:"chevron-left",size:"small"}),e(W,{children:i.label})]})})})]}),e(G,{}),e(ee,{}),a.notice?e(c,{below:"medium",children:[e(m,{blockSize:"small-200"}),e(d,{textAlign:"end",color:"subdued",type:"small",children:a.notice})]}):null]})})})]})}export{Ae as default};
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.