1var _=Object.defineProperty,M=Object.defineProperties;var v=Object.getOwnPropertyDescriptors;var h=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var x=(e,t,n)=>t in e?_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,r=(e,t)=>{for(var n in t||(t={}))I.call(t,n)&&x(e,n,t[n]);if(h)for(var n of h(t))R.call(t,n)&&x(e,n,t[n]);return e},d=(e,t)=>M(e,v(t));var j=(e,t,n)=>new Promise((b,u)=>{var i=o=>{try{a(n.next(o))}catch(m){u(m)}},y=o=>{try{a(n.throw(o))}catch(m){u(m)}},a=o=>o.done?b(o.value):Promise.resolve(o.value).then(i,y);a((n=n.apply(e,t)).next())});import{j as s,R as E,P as S,H,i as p,B as D,U as k,V as F}from"./npm.sellpy-design-system.DdsWMDHW.bundle.js";import{c as L}from"./npm.react-hook-form.HNw-giVQ.bundle.js";import{c as V,aM as A,ag as w,ah as T,m as O,X as B,D as C}from"./index.DWkcZ-_z.bundle.js";import"./npm.apollo-client.CXJpJPbe.bundle.js";import{M as W}from"./MetaTagPlacer.RJbhKlsg.bundle.js";import{P as $}from"./PlainSlab.BYS6ljpt.bundle.js";import{u as l}from"./npm.react-i18next.BwOa93YU.bundle.js";import{g as c}from"./npm.styled-components.CzYR6Qdp.bundle.js";import{r as q}from"./actions.BwkdxadY.bundle.js";import{u as U}from"./hookFormTools.EA1gch-3.bundle.js";import{am as K,aK as f}from"./npm.sellpy-commons.B413ARrd.bundle.js";import"./npm.react-dom.DlIYrMBD.bundle.js";import"./npm.react-router.BDfxye5A.bundle.js";import"./npm.luxon.3NOFZn7k.bundle.js";import"./npm.zod.DEnjmUYT.bundle.js";import"./npm.lodash.DxN61Y-S.bundle.js";import"./npm.parse.BcWrqAIh.bundle.js";import"./npm.sentry-react.Z7tY98T1.bundle.js";import"./npm.swr.CiJqMJM6.bundle.js";import"./npm.algolia.BDObKZ-5.bundle.js";import"./npm.i18next.B74d65Th.bundle.js";import"./translations.B5c9TvV-.bundle.js";import"./npm.graphql.ClDiDpi3.bundle.js";import"./npm.immutable.DTQZtUT4.bundle.js";import"./utils.DutWSyoJ.bundle.js";try{let e=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c9d5f382-4621-49d0-ac0b-0d1a04ec8380",e._sentryDebugIdIdentifier="sentry-dbid-c9d5f382-4621-49d0-ac0b-0d1a04ec8380")}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{staticImageAssets:X}=V,G=X+"businessLanding/reasonsToSell/",Q=({path:e})=>s.jsx(E,{src:G+e,mobileWidth:"90vw",desktopWidth:"40vw"}),Y=[{imgPath:"business_page_img01.png"},{imgPath:"business_page_img02.png"}],z=()=>s.jsx(s.Fragment,{children:Y.map((e,t)=>s.jsx($,{mirrored:t%2,heading:s.jsx(N,{index:t}),body:s.jsx(J,{index:t}),rightContent:s.jsx(Q,{path:e.imgPath})},e.imgPath))}),J=({index:e})=>{const{t}=l("businessBuyerPage"),n="part"+e;return s.jsxs(S,{design:"body1",children:[t(`reasonToBuy.${n}.body`)," "]})},N=({index:e})=>{const{t}=l("businessBuyerPage"),n="part"+e;return s.jsxs(s.Fragment,{children:[s.jsx(S,{design:"h8",children:t(`reasonToBuy.${n}.preHeading`)}),s.jsx(H,{children:t(`reasonToBuy.${n}.heading`)})]})},P=c.div` 2 width: 100%; 3 display: flex; 4 ${O.tablet} { 5 align-items: stretch; 6 flex-direction: column; 7 } 8 justify-content: space-evenly; 9 gap: 16px; 10`,g=c.div` 11 width: 100%; 12`,Z=c(D)` 13 margin: 24px 0; 14`,ee=c.form` 15 display: flex; 16 flex-wrap: wrap; 17 gap: 16px; 18`,se=c.div` 19 display: flex; 20 flex-direction: column; 21 align-items: flex-end; 22 width: 100%; 23`,te=()=>{const{t:e}=l("businessBuyerPage");return s.jsx(A,{headline:e("businessContact.heading"),body:e("businessContact.body"),inputComponent:s.jsx(ne,{})})},ne=()=>{const{t:e}=l("businessBuyerPage"),{formState:{isSubmitting:t,errors:n,isValid:b},handleSubmit:u,register:i,reset:y}=L({mode:"onTouched"}),{applyValidator:a}=U();return s.jsxs(ee,{onSubmit:u(o=>j(null,null,function*(){try{yield q(o),w({header:e("businessContact.form.successToast.header"),body:e("businessContact.form.successToast.body"),type:T.SUCCESS}),y()}catch(m){w({header:e("common:errorToast.header"),body:e("common:errorToast.body"),type:T.ER
23ROR})}})),children:[s.jsxs(P,{children:[s.jsx(g,{children:s.jsx(p,d(r({},i("email",{setValueAs:o=>o.toLowerCase(),validate:a(K)})),{errors:n,label:e("businessContact.form.email")}))}),s.jsx(g,{children:s.jsx(p,d(r({},i("company",{validate:a(f)})),{errors:n,label:e("businessContact.form.company")}))})]}),s.jsxs(P,{children:[s.jsx(g,{children:s.jsx(p,d(r({},i("type",{validate:a(f)})),{errors:n,label:e("businessContact.form.locations")}))}),s.jsx(g,{children:s.jsx(p,d(r({},i("quantity",{validate:a(f)})),{errors:n,label:e("businessContact.form.quantity")}))})]}),s.jsx(se,{children:s.jsx(Z,{type:"submit",loading:t,disabled:!b||t,label:e("businessContact.button")})})]})},Ie=()=>{const{t:e}=l("businessBuyerPage");return s.jsxs("div",{children:[s.jsx(W,{title:e("helmetMetaTags.title",{domain:B}),description:e("helmetMetaTags.description",{domain:B}),url:"/business-buyer"}),s.jsx(k,{background:{type:"color",color:"blue"},content:{component:s.jsx(F,{headline:e("heading"),subHeadline:e("subHeading")})}}),s.jsx(C,{height:"56px"}),s.jsx(z,{}),s.jsx(C,{height:"56px"}),s.jsx(te,{})]})};export{Ie as default}; 24//# sourceMappingURL=BusinessBuyerLandingPage.BQs-UcXH.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.