1var h=(e,r,n)=>new Promise((t,s)=>{var c=a=>{try{u(n.next(a))}catch(p){s(p)}},l=a=>{try{u(n.throw(a))}catch(p){s(p)}},u=a=>a.done?t(a.value):Promise.resolve(a.value).then(c,l);u((n=n.apply(e,r)).next())});import{j as o,af as y,a0 as b,p as w,b as f,I as m,P as d,B as C}from"./npm.sellpy-design-system.B0A_XcvV.bundle.js";import{r as j}from"./npm.react-hook-form.BcKDrP-S.bundle.js";import{s as M,g as i}from"./npm.styled-components.VOZMF_kF.bundle.js";import{b as A,l as R}from"./npm.react-router.BFqr5HmA.bundle.js";import{aw as E,z as k,b$ as I,h2 as L,a4 as S,h4 as T,c0 as _,y as P,m as x}from"./index.CV3HU8eM.bundle.js";import{a as v}from"./automaticPayout.vSbmlX3Z.bundle.js";import{B as N}from"./npm.apollo-client.C2rFdN7_.bundle.js";import"./npm.lodash.DM0N9aAz.bundle.js";import{L as B,C as D}from"./LayoutCenteredColumn.CupTtTvz.bundle.js";import{u as K}from"./npm.react-i18next.CvPqcRKx.bundle.js";import{J as V}from"./npm.sellpy-commons.BSScqxr3.bundle.js";import"./npm.react-dom.DHFGPGx0.bundle.js";import"./npm.luxon.3NOFZn7k.bundle.js";import"./npm.zod.DEnjmUYT.bundle.js";import"./npm.parse.BIOWWxO2.bundle.js";import"./npm.sentry-react.uEKouapK.bundle.js";import"./npm.swr.DDFZWYw3.bundle.js";import"./npm.algolia.BDObKZ-5.bundle.js";import"./npm.i18next.B74d65Th.bundle.js";import"./translations.BiE-X-rO.bundle.js";import"./npm.graphql.ClDiDpi3.bundle.js";import"./npm.immutable.BJL6gq_h.bundle.js";try{let e=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="7164b241-cf36-4dce-8cbf-800315b17ef0",e._sentryDebugIdIdentifier="sentry-dbid-7164b241-cf36-4dce-8cbf-800315b17ef0")}catch(e){}{let e=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=Object.assign({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:sellpy-market":!0})}const fe=r=>h(null,[r],function*({request:e}){return yield I({url:new URL(e.url)}),L(S),yield T(),_(v,{variables:{currency:V[P()]}}).toPromise()}),H=i.div` 2 padding: 16px 0; 3 ${x.phone} { 4 width: 100%; 5 } 6 max-width: 664px; 7 background-color: ${({theme:e})=>e.color.white.default}; 8 margin: 16px auto; 9`,$=i.div` 10 border-radius: 8px; 11 background-color: ${({theme:e})=>e.color.blue.shade10}; 12 color: ${({theme:e})=>e.color.white.default}; 13 padding: 8px; 14 gap: 8px; 15`,z=i.div` 16 display: flex; 17 align-items: center; 18 flex-direction: column; 19 padding-left: 24px; 20 padding-right: 24px; 21 margin-top: 100px; 22 23 ${x.phone} { 24 margin-top: 56px; 25 margin-bottom: 40px; 26 } 27`,O=i.div` 28 margin-top: 30px; 29`,g=i.div` 30 display: flex; 31 flex-direction: row; 32`,me=()=>{const e=M(),{method:r}=E(),n=A(),{t}=K(["payoutSetup","common"]),s=R(),{refetch:c}=N(s);j.useEffect(()=>{c()},[]);const l=()=>{switch(r){case"bankAccountVerified":case"bankAccount":return t("choice.bankAccount.header");case"charity":return t("choice.charity.header");case"credits":return t("choice.credits.header");default:return null}};return o.jsx(o.Fragment,{children:o.jsx(B,{variant:D.NARROW,children:o.jsx(H,{children:o.jsxs(z,{children:[o.jsx(y,{style:{width:"229px",marginBottom:"20px"}}),o.jsx(b,{children:t("confirmationPage.selectedMethod.header")}),o.jsx($,{children:o.jsx(w,{noMargin:!0,children:l()})}),o.jsxs(O,{children:[r==="bankAccountVerified"&&o.jsxs(g,{children:[o.jsx(f,{name:m.CHECKMARK,style:{color:e.color.blue.default,paddingRight:"10px",fontSize:"24px"}}),o.jsx(d,{design:"body3",noMargin:!0,style:{color:e.color.grey.shade3,marginTop:"7px"},children:t("confirmationPage.infoList.bankAccountVerified")})]}),o.jsxs(g,{children:[o.jsx(f,{name:m.CHECKMARK,style:{color:e.color.blue.default,paddingRight:"10px",fontSize:"24px"}}),o.jsx(d,{design:"body3",noMargin:!0,style:{color:e.color.grey.shade3,marginTop:"7px"},children:t("confirmationPage.infoList.automaticTransfer")})]}),o.jsxs(g,{children:[o.jsx(f,{name:m.CHECKMARK,style:{color:e.color.blue.default,paddingRight:"10px",fontSize:"24px"}}
32),o.jsx(d,{design:"body3",noMargin:!0,style:{color:e.color.grey.shade3,marginTop:"7px"},children:t("confirmationPage.infoList.withdraw")})]})]}),o.jsx(d,{design:"body3",style:{color:e.color.grey.shade3,marginTop:"30px",marginBottom:"20px",textAlign:"center"},children:t("confirmationPage.bottomNote")}),o.jsx(C,{variant:"outlined",size:k.SMALL,label:t("doneButton.label"),onClick:()=>n("/my-share")})]})})})})};export{me as default,fe as withdrawAutomaticPayoutConfirmationLoader}; 33//# sourceMappingURL=AutomaticPayoutConfirmation.C4cxWnbH.bundle.js.map
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.