1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4856],{26484:function(e,t,r){r.d(t,{s:function(){return k}});var n=r(27812),a=r(59499),i=r(67294),o=r(82241),s=r(93967),u=r.n(s),l=r(25934),c=r(99844);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m={input:function(e){return p(p({},e),{},{height:"42px",display:"flex",alignItems:"center"})},valueContainer:function(e){return p(p({},e),{},{padding:"0px 8px",overflow:"hidden",height:"auto"})}},f=function(e){return{label:e.trim(),value:"".concat(e,"-").concat((0,l.Z)())}},h=r(59122),b=function(e,t){return e?e.filter((function(e){return!function(e,t){return t.some((function(t){return t.label===(0,h.fm)(e)}))}(e.clientName,t)})).map((function(e){var t=e.clientName,r=e.path;return{value:t,label:(0,h.fm)(t),data:{clientName:t,path:r}}})):[]},y=function(e){var t=e.setValue,r=e.setInputValue,a=e.inputValue;t((function(e){return[].concat((0,n.Z)(e),[f(a)])})),r("")},v=r(3753),g=r(25675),w=r.n(g),x=r(33413),j=r(85893);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var S=function(e){var t,r,n=null!==(t=null===e||void 0===e||null===(r=e.data)||void 0===r?void 0:r.data)&&void 0!==t?t:{},a=n.path,o=n.clientName;if(a&&o){var s=(0,i.useMemo)((function(){return(0,h.Gk)(a,"client-logo")}),[a]);return(0,j.jsx)(v.c.Option,N(N({},e),{},{children:(0,j.jsxs)(x.Fj,{className:"d-flex align-items-center",children:[(0,j.jsx)(w(),{width:50,height:50,alt:"company image",src:s}),(0,j.jsx)("span",{className:"ml-2 text-capitalize",children:o})]})}))}return(0,j.jsx)(v.c.Option,N({},e))};function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var k=function(e){var t=e.onChange,r=e.initialValue,a=e.title,s=e.isClearable,d=void 0===s||s,p=e.placeholder,h=void 0===p?"Write your answer and press Enter...":p,v=e.required,g=void 0!==v&&v,w=e.className,x=e.options,O=e.isDisabled,N=void 0!==O&&O,P=(0,i.useRef)("field-".concat((0,l.Z)())),k=(0,i.useState)(""),Z=k[0],D=k[1],I=(0,i.useState)(function(e){var t;return null!==(t=null===e||void 0===e?void 0:e.map(f))&&void 0!==t?t:[]}(r)),q=I[0],E=I[1],W=(0,i.useState)(!1),T=W[0],V=W[1],L=(0,c.Ib)("tablet");return(0,i.useEffect)((function(){null===t||void 0===t||t(q)}),[q]),(0,j.jsxs)("div",{className:u()("form-group",w||"col-12",{required:g}),children:[(0,j.jsx)("label",{htmlFor:P.current,children:a}),(0,j.jsx)(o.Z,{inputId:P.current,styles:m,components:C({Option:S},!(null!==x&&void 0!==x&&x.length)&&{DropdownIndicator:null}),inputValue:Z,isClearable:d,isMulti:!0,menuIsOpen:T,onMenuOpen:function(){(null===x||void 0===x?void 0:x.length)>0?V(!0):V(!1)},onMenuClose:function(){return V(!1)},onChange:function(e){return E(Array.isArray(e)?(0,n.Z)(e):[e])},onInputChange:function(e){return D(e)},onKeyDown:function(e){if(Z){var t=["Tab",",",";","/"];
1null!==x&&void 0!==x&&x.length||t.push("Enter"),t.includes(e.key)&&(y({setValue:E,setInputValue:D,inputValue:Z}),e.preventDefault())}},onBlur:function(e){!Z||null!==x&&void 0!==x&&x.length&&L||(y({setValue:E,setInputValue:D,inputValue:Z}),e.preventDefault())},placeholder:h,value:q,options:b(x,q),isDisabled:N})]})}},99842:function(e,t,r){r.d(t,{x:function(){return N}});var n=r(67294),a=r(59499),i=r(10267),o=r(54383),s=r(26484),u=r(23521),l=r(21046),c=r(72320),d=r(85893);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=(0,u.fg)();function h(e){var t,r=e.onChange,u=e.model,p=e.nextStep,h=e.prevStep,b=e.clientLogos,y=e.handleSubmit,v=e.isLimitedAdminViewing,g=(0,n.useState)(u||{}),w=g[0],x=g[1],j=null!==(t=(0,c.w)({validatorSchema:f,model:w,nextStep:p,handleSubmit:y}))&&void 0!==t?t:{},O=j.validationError,N=j.handleNextStep,S=function(e,t){!function(e){x(e),null===r||void 0===r||r(e)}(m(m({},w),{},(0,a.Z)({},t,e.map((function(e){return e.label})))))};return(0,d.jsxs)("div",{className:"col-12",children:[(0,d.jsxs)("div",{className:"card",children:[(0,d.jsx)(o.Ol,{children:(0,d.jsx)(o.fN,{className:"mb-2",children:(0,d.jsx)("span",{className:"bold float-left",children:"Provide brief answers"})})}),(0,d.jsx)(o.eW,{children:(0,d.jsxs)(i.Z,{children:[(0,d.jsx)(s.s,{className:"col-12 mt-3",initialValue:w.typeOfProducts,onChange:function(e){S(e,"typeOfProducts")},title:"Can you name a few brands that you are carrying in your portfolio now?",required:!0,isDisabled:v}),(0,d.jsx)(s.s,{className:"col-12 mt-3",initialValue:w.clientsYouSellTo,onChange:function(e){S(e,"clientsYouSellTo")},title:"Name a few retailers and clients you work with",options:b,required:!0,isDisabled:v}),(0,d.jsx)(s.s,{className:"col-12 mt-3",initialValue:w.regionToCover,onChange:function(e){S(e,"regionToCover")},title:"Which region(s) do you cover?",required:!0,isDisabled:v}),(0,d.jsx)(s.s,{className:"col-12 mt-3",initialValue:w.importantFactorToWorkCompany,onChange:function(e){S(e,"importantFactorToWorkCompany")},title:" What are the most important factors you consider before deciding to work with a company?",required:!0,isDisabled:v}),(0,d.jsx)(s.s,{className:"col-12 mt-3",initialValue:w.importantFactorToListAProduct,onChange:function(e){S(e,"importantFactorToListAProduct")},title:"What are the most important factors you consider before listing a product?",required:!0,isDisabled:v})]})})]}),(0,d.jsx)(l.M,{handleNextStep:N,validationError:O,prevStep:h})]})}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=(0,u.Q9)();function g(e){var t,r=e.onChange,u=e.model,p=void 0===u?{}:u,m=e.nextStep,f=e.prevStep,h=e.handleSubmit,b=e.isLimitedAdminViewing,g=void 0!==b&&b,w=(0,n.useState)(p),x=w[0],j=w[1],O=null!==(t=(0,c.w)({validatorSchema:v,model:x,nextStep:m,handleSubmit:h}))&&void 0!==t?t:{},N=O.validationError,S=O.handleNextStep,P=function(e,t){!function(e){j(e),null===r||void 0===r||r(e)}(y(y({},x),{},(0,a.Z)({},t,e.map((function(e){return e.label})))))};return(0,d.jsxs)("div",{className:"col-12",children:[(0,d.jsxs)("div",{className:"card",children:[(0,d.jsx)(o.Ol,{children:(0,d.jsx)(o.fN,{className:"mb-0",children:(0,d.jsx)("span",{className:"bold",children:"Provide brief answers"})})}),(0,d.jsxs)(o.eW,{children:[(0,d.jsx)("p",{children:"This information is part of your profile that will be seen by distributors. This is an opportunity to showcase your capabilities and experience."}),(0,d.jsxs)(i.Z,{children:[(0,d.jsx)(s.s,{className:"col-12 mt-3",initialValue:x.workedWithDistributor,onChange:function(e){P(e,"workedWithDistributor")},title:"If you already work with a distributor(s), list a few of them here",required:!0,isDisabled:g}),(0,d.jsx)(s.s,{className:"col-12 mt-3",initialValue:x.typeOfProducts,onChange:function(e){P(e,"typeOfProducts")},title:"What type of products do you carry in your portfolio?",required:!0,isDisabled:g}),(0,d.jsx)(s.s,{className:"col-12 mt-3",initialValue:x.typeOfRetailers,onChange:function(e){P(e,"typeOfRetailers")},title:"Name a few of the retailers that carry your products",required:!0,isDisabled:g}),(0,d.jsx)(s.s,{className:"col-12 mt-3",initialValue:x.typeOfTargetRetailers,onChange:function(e){P(e,"typeOfTargetRetailers")},title:"Name a few of the retailers that you are targeting",required:!0,isDisabled:g}),(0,d.jsx)(s.s,{className:"col-12 mt-3",initialValue:x.importantFactorToWorkWithDistributor,onChange:function(e){P(e,"importantFactorToWorkWithDistributor")},title:"What are the most important factors you consider before deciding to work with a distributor?",required:!0,isDisabled:g})]})]})]}),(0,d.jsx)(l.M,{handleNextStep:S,validationError:N,prevStep:f})]})}function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?w(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var j=(0,u.bY)();function O(e){var t,r=e.onChange,u=e.model,p=void 0===u?{}:u,m=e.nextStep,f=e.prevStep,h=e.handleSubmit,b=e.isLimitedAdminViewing,y=(0,n.useState)(p),v=y[0],g=y[1],w=null!==(t=(0,c.w)({validatorSchema:j,model:v,nextStep:m,handleSubmit:h}))&&void 0!==t?t:{},O=w.validationError,N=w.handleNextStep,S=function(e,t){!function(e){g(e),null===r||void 0===r||r(e)}(x(x({},v),{},(0,a.Z)({},t,e.map((function(e){return e.label})))))};return(0,d.jsxs)("div",{className:"col-12",children:[(0,d.jsxs)("div",{className:"card",children:[(0,d.jsx)(o.Ol,{children:(0,d.jsx)(o.fN,{className:"mb-0",children:(0,d.jsx)("span",{className:"bold",children:"Provide brief answers"})})}),(0,d.jsxs)(o.eW,{children:[(0,d.jsx)("p",{children:"This information is part of your profile that will be seen by brands. This is an opportunity to showcase your capabilities and experience."}),(0,d.jsxs)(i.Z,{children:[(0,d.jsx)(s.s,{className:"col-12 mt-3",initialValue:v.aboutUs,onChange:function(e){S(e,"aboutUs")},title:"Provide brief description of the company (about us)",required:!0,isDisabled:b}),(0,d.jsx)(s.s,{className:"col-12 mt-3",initialValue:v.marketsOfOperation,onChange:function(e){S(e,"marketsOfOperation")},title:"In which markets do you operate?",required:!0,isDisabled:b}),(0,d.jsx)(s.s,{className:"col-12 mt-3",initialValue:v.services,onChange:function(e){S(e,"services")},title:"What type of services do you offer? E.g. consultations, certifications",required:!0,isDisabled:b}),(0,d.jsx)(s.s,{className:"col-12 mt-3",initialValue:v.specializeIn,onChange:function(e){S(e,"specializeIn")},title:"What do you specialize in?",required:!0,isDisabled:b}),(0,d.jsx)(s.s,{className:"col-12 mt-3",initialValue:v.customers,onChange:function(e){S(e,"customers")},title:"Name a few customers that use your services",required:!0,isDisabled:b}),(0,d.jsx)(s.s,{className:"col-12 mt-3",initialValue:v.keyBenefits,onChange:function(e){S(e,"keyBenefits")},title:"What are the key benefits of working with you?",required:!0,isDisabled:b})]})]})]}),(0,d.jsx)(l.M,{handleNextStep:N,validationError:O,prevStep:f})]})}var N=function(e){var t=e.userType,r=e.model,n=e.onChange,a=e.nextStep,i=e.prevStep,o=e.clientLogos,s=e.handleSubmit,u=e.isLimitedAdminViewing,l=void 0!==u&&u;return(0,d.jsxs)(d.Fragment,{children:["manufacturer"===t&&(0,d.jsx)(g,{model:r,onChange:n,nextStep:a,prevStep:i,handleSubmit:s,isLimitedAdminViewing:l}),"distributor"===t&&(0,d.jsx)(h,{model:r,onChange:n,nextStep:a,prevStep:i,clientLogos:o,handleSubmit:s,isLimitedAdminViewing:l}),"serviceProvider"===t&&(0,d.jsx)(O,{model:r,onChange:n,nextStep:a,prevStep:i,handleSubmit:s,isLimitedAdminViewing:l})]})}},61976:function(e,t,r){r.d(t,{Z:function(){return g}});var n=r(59499),a=r(67294),i=r(10267),o=r(59122),s=r(74695),u=r(54383),l=r(90674),c=r(22905),d=r(39261),p=r(76507),m=r(23521),f=r(21046),h=r(72320),b=r(85893);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e){var t,r=e.countries,n=e.disabledEditing,y=void 0!==n&&n,g=e.listOfNumEmployees,w=e.allSubCategories,x=e.allHowDoYouKnowUs,j=e.allSalesChannels,O=e.model,N=e.allStates,S=e.onChange,P=e.allRevenueRanges,C=e.allManufacturerGoals,k=e.user,Z=e.nextStep,D=e.prevStep,I=e.isLimitedAdminViewing,q=void 0!==I&&I,E=(0,a.useState)(O||{}),W=E[0],T=E[1],V=(0,a.useState)(W.selectedCountry?N.filter((function(e){return e.country_id===W.selectedCountry.value})):[]),L=V[0],R=V[1],F=(0,a.useState)(!1),_=F[0],Y=F[1],A=(0,a.useState)(!1),X=A[0],G=A[1];(0,a.useEffect)((function(){var e,t;(null===(e=W.howDoYouKnowUs)||void 0===e?void 0:e.value)===d.im&&Y(!0),(null===(t=W.manufacturerGoal)||void 0===t?void 0:t.value)===d.KR&&G(!0)}),[]);var M=function(e){T(e),null===S||void 0===S||S(e)},K=(0,m.I)(k.userType),U=null!==(t=(0,h.w)({validatorSchema:K,model:W,nextStep:Z}))&&void 0!==t?t:{},z=U.validationError,H=U.handleNextStep;return(0,b.jsxs)("div",{className:"col-12",children:[(0,b.jsxs)("div",{className:"card",children:[(0,b.jsx)(u.Ol,{children:(0,b.jsx)(u.fN,{className:"mb-0",children:(0,b.jsx)("span",{className:"bold float-left",children:"Company Information"})})}),(0,b.jsx)(u.eW,{children:(0,b.jsxs)(i.Z,{children:[(0,b.jsx)(c.Z,{className:"col-sm-12 col-md-4 mt-3",title:"Company Name",value:W.companyName||"",editable:!y,onChange:function(e){return M(v(v({},W),{},{companyName:e}))},required:!0}),(0,b.jsx)(c.Z,{className:"col-sm-12 col-md-4 mt-3",title:"Registration NO",value:W.companyRegistNumber||"",editable:!q,onCh
1ange:function(e){return M(v(v({},W),{},{companyRegistNumber:e}))}}),(0,b.jsx)(c.Z,{className:"col-sm-12 col-md-4 mt-3",title:"VAT",value:W.vatID||"",editable:!q,onChange:function(e){return M(v(v({},W),{},{vatID:e}))}}),(0,b.jsxs)("div",{className:"form-group col-sm-12 col-md-4 mt-3 required",children:[(0,b.jsx)("label",{htmlFor:"country",children:"Country"}),(0,b.jsx)(l.i,{inputId:"country",isClearable:!1,value:W.selectedCountry,placeholder:"Select a country",onChange:function(e){e?(M(v(v({},W),{},{selectedCountry:e,selectedState:null})),R(N.filter((function(t){return t.country_id===e.value})))):(M(v(v({},W),{},{selectedCountry:null,selectedState:null})),R([]))},isDisabled:y,options:null===r||void 0===r?void 0:r.map(s.u)})]}),(0,b.jsxs)("div",{className:"form-group col-sm-12 col-md-4 mt-3",children:[(0,b.jsx)("label",{htmlFor:"state",children:"State"}),(0,b.jsx)(l.i,{inputId:"state",isClearable:!1,value:W.selectedState,placeholder:"Select a state",onChange:function(e){e&&e.value?M(v(v({},W),{},{selectedState:e})):M(v(v({},W),{},{selectedState:null}))},options:null===L||void 0===L?void 0:L.map(s.u),isDisabled:q})]}),(0,b.jsx)(c.Z,{className:"col-sm-12 col-md-4 mt-3",title:"City",value:W.city||"",editable:!y,onChange:function(e){return M(v(v({},W),{},{city:e}))},required:!0}),(0,b.jsx)(c.Z,{className:"col-sm-12 col-md-4 mt-3",title:"Postal Code",value:W.postalCode||"",editable:!q,onChange:function(e){return M(v(v({},W),{},{postalCode:e}))},required:!0}),(0,b.jsx)(c.Z,{className:"col-sm-12 col-md-8 mt-3",title:"Address",value:W.address||"",editable:!q,onChange:function(e){return M(v(v({},W),{},{address:e}))},required:!0}),(0,b.jsx)(c.Z,{className:"col-sm-12 mt-3",title:"Website Link",value:W.websiteLink||"",editable:!q,onChange:function(e){return M(v(v({},W),{},{websiteLink:e}))},required:!0}),(0,b.jsx)(c.Z,{className:"col-sm-6 mt-3",title:"Year established",type:"number",min:d.oX.minYearEstablished,max:(0,p.H8)(),value:W.yearEstablished||"",onChange:function(e){e===d.oX.minYearEstablished?M(v(v({},W),{},{yearEstablished:(0,p.H8)()})):M(v(v({},W),{},{yearEstablished:e}))},required:!0,editable:!q}),(0,b.jsxs)("div",{className:"form-group col-sm-6 mt-3 required",children:[(0,b.jsx)("label",{htmlFor:"numOfEmployees",children:"Total number of employees"}),(0,b.jsx)(l.i,{inputId:"numOfEmployees",isClearable:!0,value:W.numEmployees,placeholder:"No Value Selected",onChange:function(e){M(v(v({},W),{},{numEmployees:e}))},isDisabled:q,options:g.map((function(e){return{value:e.id,label:e.description}}))})]}),(0,b.jsxs)("div",{className:"form-group col-sm-12 mt-3 required",children:[(0,b.jsxs)("label",{htmlFor:"industriesOfProducts",children:["Industries of the products you",(0,o.ZS)(k)?" sell your services to":" sell"]}),(0,b.jsx)(l.i,{inputId:"industriesOfProducts",isClearable:!0,isMulti:!0,value:W.subCategories,placeholder:"No Value Selected",onChange:function(e){M(v(v({},W),{},{subCategories:null!==e&&void 0!==e?e:void 0}))},isDisabled:q,options:null===w||void 0===w?void 0:w.map(s.u)})]}),!(0,o.ZS)(k)&&(0,b.jsxs)("div",{className:"form-group col-sm-12 mt-3 required",children:[(0,b.jsx)("label",{htmlFor:"soldTo",children:(0,o.$e)(k)?"Where are your products currently sold?":"What type of retailers and clients do you sell to?"}),(0,b.jsx)(l.i,{inputId:"soldTo",isClearable:!0,isMulti:!0,value:W.salesChannels,placeholder:"No Value Selected",onChange:function(e){M(v(v({},W),{},{salesChannels:null!==e&&void 0!==e?e:void 0}))},isDisabled:q,options:null===j||void 0===j?void 0:j.map(s.u)})]}),(0,b.jsxs)("div",{className:"form-group col-sm-12 mt-3 required",children:[(0,b.jsx)("label",{htmlFor:"howDoYouKnowUs",children:"Where have you heard about Tradesnest?"}),(0,b.jsx)(l.i,{inputId:"howDoYouKnowUs",isClearable:!0,value:W.howDoYouKnowUs,placeholder:"No Value Selected",onChange:function(e){(null===e||void 0===e?void 0:e.value)===d.im?Y(!0):Y(!1),M(v(v({},W),{},{howDoYouKnowUs:e}))},isDisabled:q,options:null===x||void 0===x?void 0:x.map(s.u)}),_&&(0,b.jsx)(c.Z,{className:"col-sm-12 mt-3",title:"Please state the name here",value:W.referral||"",editable:!q,onCh
1ange:function(e){return M(v(v({},W),{},{referral:e}))},required:!0})]}),(0,o.JH)(k)&&(0,b.jsxs)("div",{className:"form-group col-sm-12 mt-3",children:[(0,b.jsx)("label",{htmlFor:"revenue",children:"Annual revenue (EUR)"}),(0,b.jsx)(l.i,{inputId:"revenue",isClearable:!0,value:W.revenueRange,placeholder:"No Value Selected",onChange:function(e){M(v(v({},W),{},{revenueRange:e}))},isDisabled:q,options:null===P||void 0===P?void 0:P.map(s.u)})]}),(0,o.$e)(k)&&(0,b.jsxs)("div",{className:"form-group col-sm-12 mt-3 mb-0 required",children:[(0,b.jsx)("label",{htmlFor:"manufacturerGoal",children:"What is the primary goal you wish to reach using Tradesnest?"}),(0,b.jsx)(l.i,{inputId:"manufacturerGoal",isClearable:!0,value:W.manufacturerGoal,placeholder:"No Value Selected",onChange:function(e){(null===e||void 0===e?void 0:e.value)===d.KR?G(!0):G(!1),M(v(v({},W),{},{manufacturerGoal:e,manufacturerGoalOther:null}))},isDisabled:q,options:null===C||void 0===C?void 0:C.map(s.u)}),X&&(0,b.jsx)(c.Z,{className:"col-sm-12 mt-3",title:"Please let us know how we can help you",value:W.manufacturerGoalOther||"",editable:!q,onChange:function(e){return M(v(v({},W),{},{manufacturerGoalOther:e}))},required:!0})]})]})})]}),(0,b.jsx)(f.M,{handleNextStep:H,validationError:z,prevStep:D})]})}},67009:function(e,t,r){r.d(t,{v:function(){return P}});var n,a,i=r(50029),o=r(59499),s=r(87794),u=r.n(s),l=r(67294),c=r(10267),d=r(17834),p=r(54383),m=r(2511),f=r(76320),h=r(59122),b=r(15257),y=r(17092),v=r(94876),g=r(71383),w=r(30411),x=w.ZP.img(n||(n=(0,g.Z)(["\n height: 200px;\n width: 100%;\n object-fit: cover;\n overflow: clip;\n border-radius: 10px;\n"]))),j=w.ZP.a.attrs({className:"btn btn-danger ml-3"})(a||(a=(0,g.Z)(["\n position: absolute;\n right: 20px;\n top: 10px;\n"]))),O=r(85893);function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var P=function(e){var t=e.title,r=e.model,n=e.onChange,a=(0,l.useState)(null),o=a[0],s=a[1],g=(0,l.useState)(!1),w=g[0],N=g[1],P=(0,l.useState)(r||{}),C=P[0],k=P[1],Z=function(e){k((function(t){var r=S(S({},t),e);return null===n||void 0===n||n(r),r}))},D=function(e){var t=e&&e[0]?e[0]:null;Z(S(S({},C),{},{companyLogoFile:t})),I(t)},I=function(e){if(e){var t=new FileReader;t.onload=function(e){Z(S(S({},C),{},{companyLogoPreviewImg:e.target.result}))},t.readAsDataURL(e)}else Z(S(S({},C),{},{companyLogoPreviewImg:null}))},q=function(){var e=(0,i.Z)(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!w){e.next=2;break}return e.abrupt("return");case 2:if(null===C||void 0===C||!C.companyLogoPreviewImg){e.next=5;break}return Z(S(S({},C),{},{companyLogoPreviewImg:null})),e.abrupt("return",D(null));case 5:if(C.logo){e.next=7;break}return e.abrupt("return");case 7:return N(!0),e.prev=8,e.next=11,(0,m.MS)(C.id);case 11:Z(S(S({},C),{},{logo:null})),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(8),f.c.child({error:(0,h.JA)(e.t0),modelId:null===C||void 0===C?void 0:C.id}).error("Failed deleting company logo"),s((0,b.iH)(e.t0));case 18:N(!1);case 19:case"end":return e.stop()}}),e,null,[[8,14]])})));return function(){return e.apply(this,arguments)}}();return(0,O.jsx)("div",{className:"col-12 mb-3",children:(0,O.jsxs)("div",{className:"card",children:[(0,O.jsx)(p.Ol,{children:(0,O.jsx)(p.fN,{className:"mb-0",children:(0,O.jsx)("span",{className:"bold float-left",children:t})})}),(0,O.jsx)(p.eW,{children:(0,O.jsx)(c.Z,{children:(0,O.jsxs)("div",{className:"form-group col-sm-12 mt-3",children:[(null===C||void 0===C?void 0:C.companyLogoPreviewImg)&&(0,O.jsx)(d.Z,{color:"info",children:"Logo will be saved upon submitting"}),(0,O.jsx)(y.h,{message:o}),((null===C||void 0===C?void 0:C.companyLogoPreviewImg)||C.logo)&&(0,O.jsx)(c.Z,{children:(0,O.jsxs)("div",{className:"col-sm-4 offset-sm-4",children:[(0,O.jsx)(x,{src:(null===C||void 0===C?void 0:C.companyLogoPreviewImg)||(0,h.Gk)(C.logo,"logo")}),(0,O.jsx)(j,{onClick:q,children:(0,O.jsx)("i",{className:"far fa-trash-alt"})})]})}),(0,O.jsx)(v.Z,{label:"Upload company logo",multiple:!1,formats:"image/*",onDrop:D,onError:function(e){return s(e)}})]})})})]})})}},3600:function(e,t,r){r.d(t,{Z:function(){return y}});var n=r(59499),a=r(54383),i=r(67294),o=r(10267),s=r(22905),u=r(7423
11),l=r(23521);var c={name:u.Z_().max(60,(0,l._E)("First Name",60)).required((0,l.G2)("First name")),surname:u.Z_().max(60,(0,l._E)("Last Name",60)).required((0,l.G2)("Last name")),title:u.Z_().max(65,(0,l._E)("Title",65)).required((0,l.G2)("Job Title")),email:u.Z_().email("Email is not valid!").required((0,l.G2)("Email"))},d=r(21046),p=r(72320),m=r(85893);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b=u.Ry(c);function y(e){var t,r=e.disabledEditing,n=e.onChange,u=e.model,l=void 0===u?{}:u,c=e.isAdminEditing,f=e.nextStep,y=e.handleSubmit,v=(0,i.useState)(l),g=v[0],w=v[1],x=function(e){w(e),null===n||void 0===n||n(e)},j=null!==(t=(0,p.w)({validatorSchema:b,model:g,nextStep:f,handleSubmit:y}))&&void 0!==t?t:{},O=j.validationError,N=j.handleNextStep;return(0,m.jsxs)("div",{className:"col-12",children:[(0,m.jsxs)("div",{className:"card",children:[(0,m.jsx)(a.Ol,{children:(0,m.jsx)(a.fN,{className:"mb-0",children:(0,m.jsx)("span",{className:"bold float-left",children:"User Information"})})}),(0,m.jsx)(a.eW,{children:(0,m.jsxs)(o.Z,{children:[(0,m.jsx)(s.Z,{className:"col-sm-12 col-md-6 mt-2",title:"First Name",value:g.name||"",editable:!r,onChange:function(e){return x(h(h({},g),{},{name:e}))},required:!0}),(0,m.jsx)(s.Z,{className:"col-sm-12 col-md-6 mt-2",title:"Last Name",value:g.surname||"",editable:!r,onChange:function(e){return x(h(h({},g),{},{surname:e}))},required:!0}),(0,m.jsx)(s.Z,{className:"col-sm-12 col-md-6 mt-2",title:"Job Title",value:g.title||"",editable:!r,onChange:function(e){return x(h(h({},g),{},{title:e}))},required:!0}),(0,m.jsx)(s.Z,{className:"col-sm-12 col-md-6 mt-2",title:"Email",editable:c,value:g.email||"",onChange:function(e){return x(h(h({},g),{},{email:e}))},required:!0})]})})]}),(0,m.jsx)(d.M,{handleNextStep:N,validationError:O})]})}},21046:function(e,t,r){r.d(t,{M:function(){return o}});r(67294);var n=r(10267),a=r(17834),i=r(85893),o=function(e){var t=e.handleNextStep,r=e.prevStep,o=e.validationError;return(0,i.jsxs)(n.Z,{className:"d-flex justify-content-center align-items-center mt-4",children:[o&&(0,i.jsx)("div",{className:"col-12 col-md-10 text-center",children:(0,i.jsx)(a.Z,{color:"danger",children:o})}),r&&(0,i.jsxs)("button",{className:"btn m-2 btn-outline-primary col-5 col-md-4",onClick:r,children:[(0,i.jsx)("i",{className:"fas fa-arrow-left mr-2",role:"img"}),"Previous"]}),t&&(0,i.jsxs)("button",{className:"btn m-2 btn-outline-primary col-5 col-md-4",onClick:t,children:["Next",(0,i.jsx)("i",{className:"fas fa-arrow-right ml-2",role:"img"})]})]})}},72320:function(e,t,r){r.d(t,{w:function(){return u}});var n=r(50029),a=r(87794),i=r.n(a),o=r(67294),s=r(74231),u=function(e){var t=e.validatorSchema,r=e.model,a=e.nextStep,u=e.handleSubmit;if(!a)return null;var l=(0,o.useState)(""),c=l[0],d=l[1],p=function(){var e=(0,n.Z)(i().mark((function e(){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.validate(r);case 3:return d(""),e.next=6,null===u||void 0===u?void 0:u();case 6:if(!1!==(null===(n=e.sent)||void 0===n?void 0:n.success)){e.
1next=9;break}return e.abrupt("return",d(null===n||void 0===n?void 0:n.error));case 9:null===a||void 0===a||a(),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),e.t0 instanceof s.p8&&d(e.t0.message);case 15:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(){return e.apply(this,arguments)}}();return{validationError:c,handleNextStep:p}}},2511:function(e,t,r){r.d(t,{GN:function(){return I},I9:function(){return x},K5:function(){return Y},M7:function(){return E},MS:function(){return d},PJ:function(){return X},SP:function(){return O},Sp:function(){return m},TK:function(){return T},d5:function(){return y},gY:function(){return F},gm:function(){return C},hR:function(){return h},jg:function(){return g},mK:function(){return Z},us:function(){return S},wx:function(){return L},z_:function(){return l}});var n=r(50029),a=r(87794),i=r.n(a),o=r(9669),s=r.n(o),u=r(23949);function l(e){return c.apply(this,arguments)}function c(){return(c=(0,n.Z)(i().mark((function e(t){var r,n,a,o;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.userId,n=t.userData,a=t.companyData,o=t.companyAnswers,e.next=3,s().post("/api/user/company",{userId:r,userData:n,companyData:a,companyAnswers:o});case 3:return e.abrupt("return",e.sent.data);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function d(e){return p.apply(this,arguments)}function p(){return(p=(0,n.Z)(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s().post("/api/user/delete-company-logo?userId=".concat(t),{});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(e,t){return f.apply(this,arguments)}function f(){return f=(0,n.Z)(i().mark((function e(t,r){var n,a,o,u,l=arguments;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=l.length>2&&void 0!==l[2]?l[2]:null,a={headers:{"Content-Type":"multipart/form-data"}},(o=new FormData).append("file",r),u="/api/user/upload-company-logo?userId=".concat(t).concat(n?"&access_token=".concat(n):""),e.next=7,s().post(u,o,a);case 7:return e.abrupt("return",e.sent.data);case 8:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}function h(e,t){return b.apply(this,arguments)}function b(){return b=(0,n.Z)(i().mark((function e(t,r){var n,a,o,l,c=arguments;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=c.length>2&&void 0!==c[2]?c[2]:null,a={headers:{"Content-Type":"multipart/form-data"}},o=new FormData,(0,u.A)(r,o),l="/api/user/company-gallery?userId=".concat(t).concat(n?"&access_token=".concat(n):""),e.next=7,s().post(l,o,a);case 7:return e.abrupt("return",e.sent.data);case 8:case"end":return e.stop()}}),e)}))),b.apply(this,arguments)}function y(e){return v.apply(this,arguments)}function v(){return(v=(0,n.Z)(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s().get("/api/user/company-gallery?userId=".concat(t),{});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(e,t){return w.apply(this,arguments)}function w(){return(w=(0,n.Z)(i().mark((function e(t,r){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s().get("/api/user/company-gallery-delete?id=".concat(t,"&userId=").concat(r),{});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(e,t){return j.apply(this,arguments)}function j(){return(j=(0,n.Z)(i().mark((function e(t,r){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s().post("/api/admin/user/activate",{id:t,active:r});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){return N.apply(this,arguments)}function N(){return(N=(0,n.Z)(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s().delete("/api/admin/user/".concat(t));case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function S(e){return P.apply(this,arguments)}function P(){return(P=(0,n.Z)(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s().delete("/api/admin/registered-users/".concat(t));case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function C(e,t){return k.apply(this,arguments)}function k(){return(k=(0,n.Z)(i().mark((function e(t,r){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s().post("/api/admin/user/notes",{id:t,notes:r});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Z(e){return D.apply(this,arguments)}function D(){return(D=(0,n.Z)(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s().get("/api/admin/registered-users/search?page=".concat(t),{});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function I(e,t){return q.apply(this,arguments)}function q(){return(q=(0,n.Z)(i().mark((function e(t,r){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s().post("/api/admin/registered-users/notes",{id:t,notes:r});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(e){return W.apply(this,arguments)}function W(){return(W=(0,n.Z)(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s().get("/api/user/keep-informed?userId=".concat(t),{});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function T(e,t){return V.apply(this,arguments)}function V(){return(V=(0,n.Z)(i().mark((function e(t,r){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s().post("/api/user/keep-informed/update",{userId:t,keepInformed:r});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function L(e){return R.apply(this,arguments)}function R(){return(R=(0,n.Z)(i().mark((function e(t){var r,n,a;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.userId,n=t.code,a=t.token,e.next=3,s().post("/api/user/activate-email",{userId:r,code:n,token:a});case 3:return e.abrupt("return",e.sent.data);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function F(e){return _.apply(this,arguments)}function _(){return(_=(0,n.Z)(i().mark((function e(t){var r,n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.userId,n=t.token,e.next=3,s().post("/api/user/resend-activate-email",{userId:r,token:n});case 3:return e.abrupt("return",e.sent.data);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Y(e){return A.apply(this,arguments)}function A(){return(A=(0,n.Z)(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s().post("/api/admin/user/activate-email",{userId:t});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function X(e){return G.apply(this,arguments)}function G(){return(G=(0,n.Z)(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s().post("/api/admin/user/add-to-crm",{userId:t});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},23521:function(e,t,r){r.d(t,{G2:function(){return o},I:function(){return u},Q9:function(){return l},_E:function(){return s},bY:function(){return d},fg:function(){return c}});var n=r(74231),a=r(39261),i=r(76507),o=function(e){return"Most fields in this form are mandatory".concat(e?', please add missing field "'.concat(e,'".'):".")},s=function(e,t){return"".concat(e," cannot be more than ").concat(t," characters.")},u=function(e){var t="manufacturer"===e,r="distributor"===e,u=t?"Please select where your products are currently sold!":"Please select what type of retailers and clients you sell to!";return n.Ry({companyName:n.Z_().max(60,s("Company name",60)).required(o("Company name")),companyRegistNumber:n.Z_().max(25,s("Registration Number",25)).nullable(),vatID:n.Z_().max(15,s("VAT",15)).nullable(),city:n.Z_().max(40,s("City",40)).required(o("City")),postalCode:n.Z_().max(15,s("Postal code",15)).required(o("Postal code")),address:n.Z_().max(100,s("Address",100)).required(o("Address")),websiteLink:n.Z_().max(80,s("Website link",80)).required(o("Website link")),yearEstablished:n.Rx().min(+a.oX.minYearEstablished,"Year established must be greater than ".concat(a.oX.minYearEstablished)).max(parseInt((0,i.H8)(),10),"Year established must be lower than ".concat(parseInt((0,i.H8)(),10)+1)).required(o("Year established")),numEmployees:n.Ry().required(o("Total number of employees")).nullable().required(o("Total number of employees")),selectedCountry:n.Ry().required(o("Country")),subCategories:n.IX().min(1,o("Industries")).required(o("Industries")),salesChannels:r||t?n.IX().min(1,u).required(u):n.IX().nullable(),howDoYouKnowUs:n.Ry({value:n.Z_().required(o("Where have you heard about Tradesnest"))}).nullable().required(o("Where have you heard about Tradesnest")),referral:n.Z_().when("howDoYouKnowUs.value",(function(e,t){return parseInt(e,10)===a.im?t.required(o("Please state the name here")).nullable().required(o("Please state the name here")):t.nullable()})),manufacturerGoal:t?n.Ry().required(o("What is the primary goal you wish to reach using Tradesnest")).nullable().required(o("What is the primary goal you wish to reach using Tradesnest")):n.Ry().nullable(),manufacturerGoalOther:n.Z_().when("manufacturerGoal.value",(function(e,t){return parseInt(e,10)===a.KR?t.required(o("Please let us know how
1we can help you")).nullable().required(o("Please let us know how we can help you")):t.nullable()}))})},l=function(){return n.Ry({workedWithDistributor:n.IX().min(1,o("If you already work with a distributor(s), list a few of them here")).required(o("If you already work with a distributor(s), list a few of them here")),typeOfProducts:n.IX().min(1,o("What type of products do you carry in your portfolio?")).required(o("What type of products do you carry in your portfolio?")),typeOfRetailers:n.IX().min(1,o("Name a few of the retailers that carry your products")).required(o("Name a few of the retailers that carry your products")),typeOfTargetRetailers:n.IX().min(1,o("Name a few of the retailers that you are targeting")).required(o("Name a few of the retailers that you are targeting")),importantFactorToWorkWithDistributor:n.IX().min(1,o("What are the most important factors you consider before deciding to work with a distributor?")).required(o("What are the most important factors you consider before deciding to work with a distributor?"))})},c=function(){return n.Ry({typeOfProducts:n.IX().min(1,o("What type of products do you carry in your portfolio?")).required(o("What type of products do you carry in your portfolio?")),clientsYouSellTo:n.IX().min(1,o("Name a few retailers and clients you work with")).required(o("Name a few retailers and clients you work with")),regionToCover:n.IX().min(1,o("Which region(s) do you cover?")).required(o("Which region(s) do you cover?")),importantFactorToWorkCompany:n.IX().min(1,o("What are the most important factors you consider before deciding to work with a company?")).required(o("What are the most important factors you consider before deciding to work with a company?")),importantFactorToListAProduct:n.IX().min(1,o("What are the most important factors you consider before listing a product?")).required(o("What are the most important factors you consider before listing a product?"))})},d=function(){return n.Ry({aboutUs:n.IX().min(1,o("Provide brief description of the company (about us)")).required(o("Provide brief description of the company (about us)")),marketsOfOperation:n.IX().min(1,o("In which markets do you operate?")).required(o("In which markets do you operate?")),services:n.IX().min(1,o("What type of services do you offer?")).required(o("What type of services do you offer?")),specializeIn:n.IX().min(1,o("What do you specialize in?")).required(o("What do you specialize in?")),customers:n.IX().min(1,o("Name a few customers that use your services")).required(o("Name a few customers that use your services")),keyBenefits:n.IX().min(1,o("What are the key benefits of working with you?")).required(o("What are the key benefits of working with you?"))})}},76507:function(e,t,r){r.d(t,{H8:function(){return o},Tn:function(){return i}});var n=r(30381),a=r.n(n),i=function(e,t){return a()().subtract(e,"weeks").format(t)},o=function(){return a()().format("YYYY")}},99844:function(e,t,r){r.d(t,{bL:function(){return u},Ib:function(){return s}});var n=r(67294),a=r(23279),i=r.n(a),o={mobile:480,mobileLandscape:480,tablet:768,lap:992,desktop:1200,wide:1400},s=function(e){return function(e,t){return(t||window.innerWidth)<=o[e]}(e,l())},u=function(e){return function(e,t){return(t||window.innerWidth)>=o[e]}(e,l())};function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:125,t=(0,n.useState)(),r=t[0],a=t[1];return(0,n.useEffect)((function(){var t=i()((function(){a(window.innerWidth)}),e,{leading:!0,trailing:!0});return window.addEventListener("resize",t),function(){return window.removeEventListener("resize",t)}}),[e]),r}},33413:function(e,t,r){r.d(t,{Fj:function(){return d},Qs:function(){return p},XO:function(){return m},g$:function(){return c}});var n,a,i,o,s=r(71383),u=r(39261),l=r(30411),c=l.ZP.div(n||(n=(0,s.Z)(["\n display: flex;\n align-items: center;
1\n"]))),d=l.ZP.div(a||(a=(0,s.Z)(["\n img {\n height: auto;\n max-width: 100%;\n\n }\n"]))),p=l.ZP.div(i||(i=(0,s.Z)(["\n img {\n width: auto;\n max-height: 100%;\n }\n"]))),m=l.ZP.div(o||(o=(0,s.Z)(["\n position: relative;\n padding: .75rem 1.25rem;\n margin-bottom: 1rem;\n border: 1px solid transparent;\n border-radius: .25rem;\n border-color: ","\n"])),u.Il.primary)}}]);
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.