1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6061],{86369:function(e,t,r){var n=r(85893),l=r(54506),o=r(30980),i=r(4296),s=r(82206),a=r(89342),u=r(32761),d=r(68029),c=r(90092),x=r(67294),p=r(24446);t.Z=e=>{let{label:t,isRequired:r,inputStyle:h,placeholder:f,autoComplete:m,name:g,value:b,width:j={base:"full"},height:v={base:"full"},type:y="text",isInvalid:w="",invalidTextProps:S,isOpenSelect:C=!1,onChange:_,onClickSelect:z=()=>{}}=e,[k,I]=(0,x.useState)(!1);return(0,n.jsxs)(l.NI,{w:"full",h:"full",isRequired:r,children:[(0,n.jsx)(o.l,{m:0,fontSize:{base:"18px",md:"20px",xl:"24px"},color:"blue.600",fontWeight:600,children:t}),(0,n.jsxs)(i.B,{mt:"15px",alignContent:"center",alignItems:"center",size:"md",children:[(0,n.jsx)(s.I,{width:j,height:v,name:g,value:b,fontFamily:k||"password"!==y?"":"Verdana",borderColor:w?"error":"grey.170",color:"black",type:"password"===y?k?"text":"password":y,fontSize:"20px",placeholder:f,_hover:{borderColor:w?"error":"grey.170"},_focusVisible:{outline:"none"},_focus:{outline:"none"},boxShadow:"inset 0 0 0 50px #FFFF",autoComplete:m,onChange:_,_placeholder:{fontSize:"16px",opacity:.6},...h}),"password"===y&&(0,n.jsx)(a.x,{h:"full",mx:"5px",color:"grey.170",userSelect:"none",cursor:"pointer",onClick:()=>I(!k),children:k?(0,n.jsx)(u.E,{src:"/assets/auth/hide.svg",alt:""}):(0,n.jsx)(u.E,{src:"/assets/auth/show.svg",alt:""})}),"select"===y&&(0,n.jsx)(a.x,{h:"full",mx:"5px",color:(null==h?void 0:h.colorarrow)||"grey.350",userSelect:"none",cursor:"pointer",onClick:z,children:C?(0,n.jsx)(d.x,{children:(0,n.jsx)(p.gcy,{size:25})}):(0,n.jsx)(d.x,{children:(0,n.jsx)(p.ZXJ,{size:25})})})]}),w&&(0,n.jsx)(c.x,{textAlign:"end",fontSize:{base:"12px",md:"16px"},fontWeight:300,color:"error",...S,children:w})]})}},46667:function(e,t,r){var n=r(85893),l=r(83658),o=r(54506),i=r(30980),s=r(68029),a=r(90092),u=r(86369),d=r(67294);t.Z=e=>{let{label:t,isRequired:r,name:c,value:x,placeholder:p,width:h={base:"full"},height:f={base:"full"},isInvalid:m="",labelStyle:g,inputStyle:b,elements:j,onChange:v}=e,[y,w]=(0,d.useState)(""),{isOpen:S,onClose:C,onOpen:_}=(0,l.q)(),{isOpen:z,onOpen:k,onClose:I,onToggle:E}=(0,l.q)(),R=(e,t)=>{w(e),C(),I(),v({target:{name:"country",value:t}})};return(0,d.useEffect)(()=>{let e=j.find(e=>{let{value:t}=e;return t===x});e?w(e.label):w(x)},[x]),(0,n.jsxs)(o.NI,{w:"full",h:"full",isRequired:r,children:[(0,n.jsx)(i.l,{m:0,fontSize:{base:"18px",md:"20px",xl:"24"},color:"blue.600",fontWeight:600,...g,children:t}),(0,n.jsxs)(s.x,{mt:"15px",position:"relative",children:[(0,n.jsx)(u.Z,{width:h,height:f,name:c,type:"select",value:y,placeholder:p,isInvalid:m,inputStyle:b,isOpenSelect:z,onChange:e=>{let{target:{value:t}}=e;t?(_(),k()):(v({target:{name:"country",value:""}}),C(),I()),w(t)},onClickSelect:E}),(S||z)&&(0,n.jsx)(s.x,{w:h,h:"auto",maxH:"200px",bg:"white",border:"1px",position:"absolute",borderColor:"grey.170",borderTop:0,zIndex:1,overflowY:"auto",children:j.filter(e=>{let{label:t}=e;return t.toLowerCase().includes(y.toLowerCase())}).map(e=>{let{label:t,value:r}=e;return(0,n.jsx)(a.x,{p:"10px",cursor:"pointer",_hover:{bg:"grey.170"},onClick:()=>R(t,r),children:t},r)})})]})]})}}
1,74170:function(e,t,r){var n=r(85893),l=r(32512),o=r(68029),i=r(67294);t.Z=e=>{let{button:t,accepts:r=[],rules:s,isDisabled:a,onErrors:u=()=>{},onChange:d=()=>{}}=e,c=(null==s?void 0:s.maxSizeFile)&&1e6*s.maxSizeFile.value,{getRootProps:x,getInputProps:p,fileRejections:h}=(0,l.uI)({disabled:a,validator:e=>{if((null==s?void 0:s.maxSizeFile)&&e.size>c)return{name:e.name,message:s.maxSizeFile.message}},onDrop:d,accept:r.reduce((e,t)=>(e["application/".concat(t)]=[],e),{})});return(0,i.useEffect)(()=>{u(h)},[h]),(0,n.jsxs)(o.x,{w:"full",...x({"aria-disabled":!0}),cursor:"pointer",children:[(0,n.jsx)("input",{...p()}),t]})}},46061:function(e,t,r){r.d(t,{Yt:function(){return H},Tp:function(){return T},uv:function(){return M}});var n=r(85893),l=r(8186),o=r(68029),i=r(88329),s=r(90092),a=r(87536),u=r(9669),d=r.n(u);let c=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};try{let n;let l=e.url_portfolio,o=!0;l&&"object"==typeof l&&delete e.url_portfolio;let{data:{portfolio_id:i=null,url:s}={}}=await d()({method:"POST",url:"/api/portfolio/create_session_for_payment",data:e});if(i&&"object"==typeof l){let e=new FormData;e.append("portfolio_id",i),e.append("file",l),await d()({method:"POST",url:"/api/portfolio/add_document_to_portfolio",data:e}).catch(e=>{o=!1,n=e.response||e})}o?t({url:s}):r(n)}catch(e){r(e.response||e),console.log(e.response||e)}};var x=r(6459),p=()=>{let e=(0,x.p)(),{control:t,handleSubmit:r,formState:{errors:n}}=(0,a.cI)({defaultValues:{email:"",first_name:"",last_name:"",country:"",is_student:!1,url_portfolio:"",reason_review:"",what_wish_to_get:"",other_comment:"",type_payment:0}});return{control:t,errors:n,onSubmitForm:r(async t=>{await c(t,e=>{let{url:t}=e;return t&&window.location.replace(t)},t=>{e({title:"Something went wrong",isClosable:!0,position:"top-right",status:"error"}),console.log(t)})})}},h=r(86369),f=r(4772),m=e=>{let{label:t,value:r,onChange:l,error:o,isDisabled:i,element:s=e=>(0,n.jsx)(h.Z,{height:"60px",isInvalid:e.error&&" ",inputStyle:{...e}})}=e;return(0,n.jsx)(f.Z,{label:t,error:o,errorStyle:{fontSize:{base:"16px",md:"20px"},fontWeight:400},formLabelStyle:{w:"full",fontSize:"18px",opacity:.4},children:s({value:r,onChange:l,error:o,isDisabled:i})})},g=r(46667),b=r(92554),j=r(73636),v=r(68980),y=e=>{let{value:t,onChange:r}=e;return(0,n.jsxs)(j.U,{spacing:"45px",children:[(0,n.jsxs)(j.U,{spacing:"15px",children:[(0,n.jsx)(v.Z,{isChecked:t,onChange:()=>r(!0)}),(0,n.jsx)(s.x,{fontSize:"18px",fontWeight:700,opacity:.4,userSelect:"none",children:"Yes"})]}),(0,n.jsxs)(j.U,{spacing:"15px",children:[(0,n.jsx)(v.Z,{isChecked:!t,onChange:()=>r(!1)}),(0,n.jsx)(s.x,{fontSize:"18px",fontWeight:700,opacity:.4,userSelect:"none",children:"No"})]})]})},w=r(83658),S=r(24446),C=r(67294);function _(e){let{value:t,onChange:r,props:l,isInvalid:i,optionsPanel:a=()=>{}}=e,[u,d]=(0,C.useState)(""),{isOpen:c,onToggle:x,onClose:p}=(0,w.q)();return(0,C.useEffect)(()=>{d(t)},[t]),(0,n.jsxs)(o.x,{position:"relative",children:[(0,n.jsxs)(j.U,{px:"15px",align:"center",justify:"space-between",borderRadius:"8px",border:"1px",borderColor:i?"error":"grey.170",onClick:x,fontSize:"20px",cursor:"pointer",...l,children:[(0,n.jsx)(s.x,{noOfLines:1,children:u}),(0,n.jsx)(o.x,{flex:"0 0 20px",color:null==l?void 0:l.colorarrow,children:c?(0,n.jsx)(o.x,{children:(0,n.jsx)(S.gcy,{size:25})}):(0,n.jsx)(o.x,{children:(0,n.jsx)(S.ZXJ,{size:25})})})]}),c&&a({state:u,setState:e=>{d(e),r(e)},onClose:p,onToggle:x})]})}var z=r(69006),k=r(93977),I=r(4176),E=r(44431);let R=["To apply for a job at an agency","To apply for a design school","I have a dilemma and want to solve it (what is it?)","I want to improve my brand"];var q=e=>{let{selectControl:t}=e,r=(0,C.useRef)(),[i,a]=(0,C.useState)(""),[u,d]=(0,C.useState)(!1);return(0,C.useEffect)(()=>{t.state&&!R.includes(t.state)&&a(t.state)},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(k.h,{children:(0,n.jsx)(o.x,{top:0,w:"100vw",h:"full",position:"absolute",onClick:t.onClose})}),(0,n.jsx)(I.Z,{w:"full",style:{mt:"8px",px:"25px",w:"full",position:"absolute",zIndex:1,borderRadius:"8px"},children:(0,n.jsxs)(l.g,{w:"full",alignItems:"start",spacing:"20px",fontSize:"18px",children:[R.map(e=>(0,n.jsxs)(j.U,{cursor:"pointer",userSelect:"none",onClick:()=>{t.setState(e),t.onClose()},children:[(0,n.jsx)(v.Z,{isChecked:e===t.state}),(0,n.jsx)(s.x,{children:e})]},e)),(0,n.jsxs)(j.U,{cursor:"pointer",userSelect:"none",onClick:()=>{r.current.focus(),t.setState(""),d(!0)},children:[(0,n.jsx)(v.Z,{isChecked:u||t.state&&!R.includes(t.state)}),(0,n.jsx)(s.x,{children:"Other reason - please specify"})]}),(0,n.jsx)(E.Z,{inputStyle:{ref:r,h:"59px",borderRadius:"4px"},value:i?t.state:"",onChange:e=>{let{target:{value:r}}=e;a(r),t.setState(r)}})]})})]})},F=r(71856),Z=r(32761),L=r(90748),N=e=>{let{element:t,isDisabled:r,isInvalid:a,onRemoveDocument:u=()=>{}}=e;return(0,n.jsx)(o.x,{w:"full",h:t&&!r?"auto":"281px",bg:"rgba(168, 109, 246, 0.1)",border:"1px",borderStyle:"dashed",borderColor:a?"error":"rgba(94, 86, 237, 0.5)",borderRadius:"8px",fontSize:"18px",fontWeight:300,lineHeight:"135%",color:"blue.600",p:"21px",opacity:r&&.5,children:t&&!r?(0,n.jsxs)(i.k,{align:"center",justify:"space-between",children:[(0,n.jsxs)(i.k,{gap:"10px",color:"rgba(94, 86, 237, 0.50)",children:[(0,n.jsx)(L.jyt,{size:25}),(0,n.jsx)(s.x,{fontSize:"",color:"blue.600",noOfLines:1,children:t})]}),(0,n.jsx)(F.P,{w:"24px",h:"24px",bg:"rgba(94, 86, 237, 0.1)",borderRadius:"full",onClick:u})]}):(0,n.jsx)(i.k,{w:"full",h:"full",align:"center",justify:"center",cursor:r?"not-allowed":"pointer",children:(0,n.jsxs)(l.g,{spacing:"15px",userSelect:"none",children:[(0,n.jsx)(Z.E,{src:"/assets/uploader_icon.svg",alt:"no-photo"}),(0,n.jsxs)(s.x,{w:"135px",textAlign:"center",children:["Drag a file here of"," ",(0,n.jsx)(s.x,{as:"span",fontWeight:700,textDecoration:"underline",children:"browse"})," ","for a file to upload"]})]})})})},W=r(74170),P=e=>{let{error:t,onChange:r}=e,[o,i]=(0,C.useState)(""),[a,u]=(0,C.useState)(""),[d,c]=(0,C.useState)(null),[x,p]=(0,C.useState)({field:"",uploader:""}),h=e=>{i(e[0])},f=()=>{c(null),r("")},g=e=>{let t=e[0];t&&Object.keys(null==t?void 0:t.errors)&&p({field:"",uploader:t.errors[0].message})};return(0,C.useEffect)(()=>{"string"==typeof o&&u(o),"object"==typeof o&&o.name&&c(o.name),r(o)},[o]),(0,C.useEffect)(()=>(null==t?void 0:t.includes("http://"))?p({field:t,uploader:""}):(null==t?void 0:t.includes("*required"))?p({field:" ",uploader:"*Please upload your portfolio as link or PDF file"}):void 0,[t]),(0,n.jsxs)(l.g,{w:"full",align:"start",spacing:"15px",fontSize:"22px",fontWeight:600,children:[(0,n.jsx)(s.x,{color:"blue.600",children:"Share your portfolio with us; you can share a link or a PDF with 3-6 works"}),(0,n.jsx)(m,{isDisabled:!!d,error:null==x?void 0:x.field,label:"Portfolio URL (you can add a link to your website or a Behance account)",value:a,onChange:e=>{let{target:{value:t}}=e;i(t)}}),(0,n.jsx)(s.x,{color:"blue.600",children:"Or"}),(0,n.jsx)(m,{error:null==x?void 0:x.uploader,element:()=>(0,n.jsx)(W.Z,{accepts:["pdf"],isDisabled:!!a.length||d,onChange:h,rules:{maxSizeFile:{value:5,message:"max size 5MB"}},onErrors:g,button:(0,n.jsx)(N,{element:d,isInvalid:!a.length&&(null==x?void 0:x.uploader),onRemoveDocument:f,isDisabled:!!a.length})})})]})},O=r(51372),H=e=>{let{submitBtn:t}=e,{control:r,errors:u,onSubmitForm:d}=p();return(0,n.jsxs)("form",{onSubmit:d,children:[(0,n.jsxs)(l.g,{w:"full",spacing:"25px",children:[(0,n.jsx)(a.Qr,{control:r,rules:{required:{value:!0,message:"*required to fill in"},pattern:{value:O.Qs,message:"Enter a valid email"}},name:"email",render:e=>{let{field:{value:t,onChange:r},fieldState:{error:l}}=e;return(0,n.jsx)(m,{label:"Email",error:null==l?void 0:l.message,value:t,onChange:r})}}
1),(0,n.jsx)(a.Qr,{control:r,name:"first_name",rules:{required:{value:!0,message:"*required to fill in"}},render:e=>{let{field:{value:t,onChange:r},fieldState:{error:l}}=e;return(0,n.jsx)(m,{label:"First Name",error:null==l?void 0:l.message,value:t,onChange:r})}}),(0,n.jsx)(a.Qr,{control:r,name:"last_name",rules:{required:{value:!0,message:"*required to fill in"}},render:e=>{let{field:{value:t,onChange:r},fieldState:{error:l}}=e;return(0,n.jsx)(m,{label:"Last Name",value:t,error:null==l?void 0:l.message,onChange:r})}}),(0,n.jsx)(a.Qr,{control:r,name:"country",rules:{required:{value:!0,message:"*required to fill in"}},render:e=>{let{field:{value:t,onChange:r},fieldState:{error:l}}=e;return(0,n.jsx)(m,{label:"Country",error:null==l?void 0:l.message,element:()=>(0,n.jsx)(g.Z,{inputStyle:{colorarrow:"blue.600"},elements:b.z,isInvalid:(null==l?void 0:l.message)&&" ",height:"60px",value:t,onChange:r})})}}),(0,n.jsx)(a.Qr,{control:r,name:"is_student",render:e=>{let{field:{value:t,onChange:r}}=e;return(0,n.jsx)(m,{label:"Are you a student?",element:()=>(0,n.jsx)(y,{value:t,onChange:r})})}})]}),(0,n.jsx)(o.x,{mt:"25px",w:"full",children:(0,n.jsx)(a.Qr,{control:r,name:"url_portfolio",rules:{required:{value:!0,message:"*required to fill in"},pattern:{value:O.G4,message:"format error. It should start with http://"}},render:e=>{let{field:{onChange:t},fieldState:{error:r}}=e;return(0,n.jsx)(P,{error:null==r?void 0:r.message,onChange:t})}})}),(0,n.jsxs)(l.g,{mt:"25px",w:"full",spacing:"25px",children:[(0,n.jsx)(a.Qr,{control:r,name:"reason_review",rules:{required:{value:!0,message:"*required to fill in"}},render:e=>{let{field:{value:t,onChange:r},fieldState:{error:l}}=e;return(0,n.jsx)(m,{label:"Why do you need a portfolio review?",error:null==l?void 0:l.message,element:()=>(0,n.jsx)(_,{value:t,onChange:r,isInvalid:null==l?void 0:l.message,props:{h:"59px",colorarrow:"blue.600"},optionsPanel:e=>(0,n.jsx)(q,{selectControl:e})})})}}),(0,n.jsx)(a.Qr,{control:r,name:"what_wish_to_get",render:e=>{let{field:{value:t,onChange:r}}=e;return(0,n.jsx)(m,{label:"Please specify what you wish to get from the review.",element:()=>(0,n.jsx)(z.Z,{minH:"150px",value:t,onChange:r,inputProps:{borderRadius:"8px",borderColor:"grey.170",fontSize:"20px",_hover:{borderColor:"grey.170"}}})})}}),(0,n.jsx)(a.Qr,{control:r,name:"other_comment",render:e=>{let{field:{value:t,onChange:r}}=e;return(0,n.jsx)(m,{label:"Please specify If you have any additional questions or comments.",element:()=>(0,n.jsx)(z.Z,{minH:"150px",value:t,onChange:r,inputProps:{borderRadius:"8px",borderColor:"grey.170",fontSize:"20px",_hover:{borderColor:"grey.170"}}})})}})]}),(0,n.jsxs)(o.x,{mt:"30px",mb:"60px",children:[(0,n.jsxs)(i.k,{justify:"space-between",children:[(0,n.jsxs)(o.x,{children:[(0,n.jsx)(s.x,{fontSize:{base:"16px",md:"18px"},opacity:.4,children:"Amount to pay:"}),(0,n.jsx)(s.x,{fontSize:{base:"25px",md:"35px"},color:"blue.600",fontWeight:700,children:"$50"})]}),(0,n.jsx)(o.x,{children:t})]}),!!Object.keys(u).length&&(0,n.jsx)(s.x,{mt:"20px",fontSize:{base:"16px",md:"20px"},color:"error",children:"Please fill all required fields to submit"})]})]})},Q=()=>{let e=(0,x.p)(),{control:t,handleSubmit:r,formState:{errors:n}}=(0,a.cI)({defaultValues:{email:"",first_name:"",last_name:"",type_payment:1,country:""}});return{control:t,errors:n,onSubmitForm:r(async t=>{await c(t,e=>{let{url:t}=e;return t&&window.location.replace(t)},t=>{e({title:"Something went wrong",isClosable:!0,position:"top-right",status:"error"}),console.log(t)})})}},T=e=>{let{submitBtn:t}=e,{control:r,errors:u,onSubmitForm:d}=Q();return(0,n.jsxs)("form",{onSubmit:d,children:[(0,n.jsxs)(l.g,{w:"full",spacing:"25px",children:[(0,n.jsx)(a.Qr,{control:r,rules:{required:{value:!0,message:"*required to fill in"},pattern:{value:O.Qs,message:"Enter a valid email"}},name:"email",render:e=>{let{field:{value:t,onChange:r},fieldState:{error:l}}=e;return(0,n.jsx)(m,{label:"Email",error:null==l?void 0:l.message,value:t,onChange:r})}}),(0,n.jsx)(a.Qr,{control:r,rules:{required:{value:!0,message:"*required to fill in"}},name:"first_name",render:e=>{let{field:{value:t,onChange:r},fieldState:{error:l}}=e;return(0,n.jsx)(m,{label:"First Name",error:null==l?void 0:l.message,value:t,onChange:r})}}),(0,n.jsx)(a.Qr,{control:r,rules:{required:{value:!0,message:"*required to fill in"}},name:"last_name",render:e=>{let{field:{value:t,onChange:r},fieldState:{error:l}}=e;return(0,n.jsx)(m,{label:"Last Name",value:t,error:null==l?void 0:l.message,onChange:r})}}
1),(0,n.jsx)(a.Qr,{control:r,name:"country",rules:{required:{value:!0,message:"*required to fill in"}},render:e=>{let{field:{value:t,onChange:r},fieldState:{error:l}}=e;return(0,n.jsx)(m,{label:"Country",error:null==l?void 0:l.message,element:()=>(0,n.jsx)(g.Z,{inputStyle:{colorarrow:"blue.600"},isInvalid:(null==l?void 0:l.message)&&" ",elements:b.z,height:"60px",value:t,onChange:r})})}})]}),(0,n.jsxs)(o.x,{mt:"30px",mb:"60px",children:[(0,n.jsxs)(i.k,{justify:"space-between",children:[(0,n.jsxs)(o.x,{children:[(0,n.jsx)(s.x,{fontSize:{base:"16px",md:"18px"},opacity:.4,children:"Amount to pay:"}),(0,n.jsx)(s.x,{fontSize:{base:"25px",md:"35px"},color:"blue.600",fontWeight:700,children:"$20"})]}),(0,n.jsx)(o.x,{children:t})]}),!!Object.keys(u).length&&(0,n.jsx)(s.x,{mt:"20px",fontSize:{base:"16px",md:"20px"},color:"error",children:"Please fill all required fields to submit"})]})]})},G=r(91816),A=r(9232),B=r(41664),D=r.n(B),U=r(15663),M=function(){let{renderForm:e=()=>{},renderWrapperProps:t,btnText:r="Submit your portfolio",title:l="Submit Your Portfolio",titleStyle:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,n.jsxs)(o.x,{px:{base:"20px",xl:0},children:[(0,n.jsx)(j.U,{mt:"60px",justify:"center",children:(0,n.jsx)(D(),{href:U.Z.HOME,children:(0,n.jsx)(Z.E,{w:"113px",h:"42px",src:"/assets/indigoawards_horizontal.png",alt:"no-photo"})})}),(0,n.jsx)(s.x,{mt:{base:"50px",xl:"120px"},as:"h1",textAlign:"center",whiteSpace:"pre-wrap",lineHeight:"108%",color:"blue.600",...i,children:l}),(0,n.jsx)(j.U,{w:"full",justify:"center",children:(0,n.jsx)(o.x,{mt:{base:"40px",md:"60px",xl:"80px"},w:{base:"full",md:"550px"},...t,children:e({submitBtn:(0,n.jsx)(o.x,{w:"232px",h:"60px",fontSize:"20px",color:"white",children:(0,n.jsx)(A.RE,{marginButton:(0,G.S)({base:"8px",md:"12px"}),color:"blue.600",btnProps:{type:"submit"},children:r})})})})})]})}},44431:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(85893),l=r(82206);function o(e){let{inputStyle:t,placeholder:r,autoComplete:o,name:i,value:s,width:a={base:"full"},height:u={base:"full"},isInvalid:d="",onChange:c}=e;return(0,n.jsx)(l.I,{width:a,height:u,name:i,value:s,borderColor:d?"error":"grey.170",color:"black",fontSize:"20px",placeholder:r,_hover:{borderColor:d?"error":"grey.170"},_focusVisible:{outline:"none"},_focus:{outline:"none"},boxShadow:"inset 0 0 0 50px #FFFF",autoComplete:o,onChange:c,_placeholder:{fontSize:"16px",opacity:.6},...t})}},68980:function(e,t,r){r.d(t,{Z:function(){return s}});var n=r(85893),l=r(75312),o=r(88329),i=r(68029);function s(e){let{state:t,getInputProps:r,getLabelProps:s,htmlProps:a}=(0,l.O)(e),u={sm:{wrapper:{w:"20px",h:"20px"},circle:{w:"14px",h:"14px"}}};return(0,n.jsxs)(o.k,{as:"label",justify:"center",align:"center",cursor:"pointer",border:"1px",borderRadius:"full",borderColor:"blue.600",...a,...u[(null==e?void 0:e.size)||"sm"].wrapper,children:[(0,n.jsx)("input",{...r(),hidden:!0}),t.isChecked&&(0,n.jsx)(i.x,{bg:"blue.600",borderRadius:"full",...s(),...u[(null==e?void 0:e.size)||"sm"].circle})]})}},69006:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(85893),l=r(73244),o=r(6096);function i(e){let{invalidText:t,value:r,onChange:i,inputProps:s,minH:a="206px"}=e;return(0,n.jsx)(l.g,{as:o.Z,minH:a,borderColor:t?"error":"grey.110",borderRadius:0,value:r,autoComplete:"new-password",_hover:{borderColor:t?"error":"grey.110"},_focus:{outline:"none"},_focusVisible:{outline:"none"},_placeholder:{opacity:.5},...s,onChange:i})}},4772:function(e,t,r){var n=r(85893),l=r(68029),o=r(54506),i=r(30980),s=r(90092);t.Z=e=>{let{children:t,error:r,errorStyle:a,isRequired:u,fromControlProps:d,formLabelStyle:c,label:x}=e;return(0,n.jsxs)(l.x,{w:"inherit",position:"relative",children:[(0,n.jsxs)(o.NI,{w:"inherit",isRequired:u,...d,children:[(0,n.jsx)(i.l,{fontSize:"20px",fontWeight:400,...c,children:x}),t]}),r&&(0,n.jsx)(l.x,{color:"error",fontSize:"15px",...a,children:(0,n.jsx)(s.x,{as:"span",children:r})})]})}},4176:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(85893),l=r(68029);function o(e){let{children:t,style:r,variant:o="white"}=e;return(0,n.jsx)(l.x,{bg:"white",borderRadius:"20px",p:"30px 34px",boxShadow:"rgb(0 0 0 / 10%) -2px 0.5px 14.5px",...{white:{bg:"white",boxShadow:"rgb(0 0 0 / 10%) -2px 0.5px 14.5px"},grey:{boxShadow:"none",bg:"grey.190"}}[o],...r,children:t})}},6096:function(e,t,r){r.d(t,{Z:function(){return b}});var n=r(87462),l=r(67294),o=l.useLayoutEffect,i=function(e){var t=l.useRef(e);return o(function(){t.current=e}),t},s=function(e,t){if("function"==typeof e){e(t);return}e.current=t},a=function(e,t){var r=(0,l.useRef)();return(0,l.useCallback)(function(n){e.current=n,r.current&&s(r.current,null),r.current=t,t&&s(t,n)},[t])},u={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},d=function(e){Object.keys(u).forEach(function(t){e.style.setProperty(t,u[t],"important")})},c=null,x=function(e,t){var r=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?r+t.borderSize:r-t.paddingSize},p=function(){},h=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],f=!!document.documentElement.currentStyle,m=function(e){var t=window.getComputedStyle(e);
1if(null===t)return null;var r=h.reduce(function(e,r){return e[r]=t[r],e},{}),n=r.boxSizing;if(""===n)return null;f&&"border-box"===n&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var l=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),o=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:l,borderSize:o}},g=function(e){var t=i(e);(0,l.useLayoutEffect)(function(){var e=function(e){t.current(e)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[])},b=(0,l.forwardRef)(function(e,t){var r=e.cacheMeasurements,o=e.maxRows,i=e.minRows,s=e.onChange,u=void 0===s?p:s,h=e.onHeightChange,f=void 0===h?p:h,b=function(e,t){if(null==e)return{};var r,n,l={},o=Object.keys(e);for(n=0;n<o.length;n++)t.indexOf(r=o[n])>=0||(l[r]=e[r]);return l}(e,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]),j=void 0!==b.value,v=(0,l.useRef)(null),y=a(v,t),w=(0,l.useRef)(0),S=(0,l.useRef)(),C=function(){var e,t,n,l,s,a,u,p,h,g,b,j=v.current,y=r&&S.current?S.current:m(j);if(y){S.current=y;var C=(e=j.value||j.placeholder||"x",void 0===(t=i)&&(t=1),void 0===(n=o)&&(n=1/0),c||((c=document.createElement("textarea")).setAttribute("tabindex","-1"),c.setAttribute("aria-hidden","true"),d(c)),null===c.parentNode&&document.body.appendChild(c),l=y.paddingSize,s=y.borderSize,u=(a=y.sizingStyle).boxSizing,Object.keys(a).forEach(function(e){c.style[e]=a[e]}),d(c),c.value=e,p=x(c,y),c.value="x",g=(h=c.scrollHeight-l)*t,"border-box"===u&&(g=g+l+s),p=Math.max(g,p),b=h*n,"border-box"===u&&(b=b+l+s),[p=Math.min(b,p),h]),_=C[0],z=C[1];w.current!==_&&(w.current=_,j.style.setProperty("height",_+"px","important"),f(_,{rowHeight:z}))}};return(0,l.useLayoutEffect)(C),g(C),(0,l.createElement)("textarea",(0,n.Z)({},b,{onChange:function(e){j||C(),u(e)},ref:y}))})},30980:function(e,t,r){r.d(t,{l:function(){return d}});var n=r(85893),l=r(65544),o=r(34926),i=r(54506),s=r(49381),a=r(73035),u=r(37430);let d=(0,s.G)(function(e,t){let r=(0,a.m)("FormLabel",e),s=(0,l.L)(e),{className:d,children:x,requiredIndicator:p=(0,n.jsx)(c,{}),optionalIndicator:h=null,...f}=s,m=(0,i.NJ)(),g=m?.getLabelProps(f,t)??{ref:t,...f};return(0,n.jsxs)(u.m.label,{...g,className:(0,o.cx)("chakra-form__label",s.className),__css:{display:"block",textAlign:"start",...r},children:[x,m?.isRequired?p:h]})});d.displayName="FormLabel";let c=(0,s.G)(function(e,t){let r=(0,i.NJ)(),l=(0,i.e)();if(!r?.isRequired)return null;let s=(0,o.cx)("chakra-form__required-indicator",e.className);return(0,n.jsx)(u.m.span,{...r?.getRequiredIndicatorProps(e,t),__css:l.requiredIndicator,className:s})});c.displayName="RequiredIndicator"},89342:function(e,t,r){r.d(t,{Z:function(){return d},x:function(){return c}});var n=r(85893),l=r(34926),o=r(4296),i=r(37430),s=r(49381);let a=(0,i.m)("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),u=(0,s.G)(function(e,t){let{placement:r="left",...l}=e,i=(0,o.m)(),s=i.field,u={["left"===r?"insetStart":"insetEnd"]:"0",width:s?.height??s?.h,height:s?.height??s?.h,fontSize:s?.fontSize,...i.element};return(0,n.jsx)(a,{ref:t,__css:u,...l})});u.id="InputElement",u.displayName="InputElement";let d=(0,s.G)(function(e,t){let{className:r,...o}=e,i=(0,l.cx)("chakra-input__left-element",r);return(0,n.jsx)(u,{ref:t,placement:"left",className:i,...o})});d.id="InputLeftElement",d.displayName="InputLeftElement";let c=(0,s.G)(function(e,t){let{className:r,...o}=e,i=(0,l.cx)("chakra-input__right-element",r);return(0,n.jsx)(u,{ref:t,placement:"right",className:i,...o})});c.id="InputRightElement",c.displayName="InputRightElement"},4296:function(e,t,r){r.d(t,{B:function(){return f},m:function(){return h}});var n=r(85893),l=r(65544),o=r(52110),i=r(34926),s=r(90911),a=r(87155),u=r(67294),d=r(49381),c=r(73035),x=r(37430);let[p,h]=(0,o.k)({name:"InputGroupStylesContext",errorMessage:"useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<InputGroup />\" "}),f=(0,d.G)(function(e,t){let r=(0,c.j)("Input",e),{children:o,className:d,...h}=(0,l.L)(e),f=(0,i.cx)("chakra-input__group",d),m={},g=(0,s.W)(o),b=r.field;
1g.forEach(e=>{r&&(b&&"InputLeftElement"===e.type.id&&(m.paddingStart=b.height??b.h),b&&"InputRightElement"===e.type.id&&(m.paddingEnd=b.height??b.h),"InputRightAddon"===e.type.id&&(m.borderEndRadius=0),"InputLeftAddon"===e.type.id&&(m.borderStartRadius=0))});let j=g.map(t=>{let r=(0,a.o)({size:t.props?.size||e.size,variant:t.props?.variant||e.variant});return"Input"!==t.type.id?(0,u.cloneElement)(t,r):(0,u.cloneElement)(t,Object.assign(r,m,t.props))});return(0,n.jsx)(x.m.div,{className:f,ref:t,__css:{width:"100%",display:"flex",position:"relative",isolation:"isolate",...r.group},"data-group":!0,...h,children:(0,n.jsx)(p,{value:r,children:j})})});f.displayName="InputGroup"},73244:function(e,t,r){r.d(t,{g:function(){return x}});var n=r(85893),l=r(65544),o=r(8297),i=r(34926),s=r(16013),a=r(49381),u=r(73035),d=r(37430);let c=["h","minH","height","minHeight"],x=(0,a.G)((e,t)=>{let r=(0,u.m)("Textarea",e),{className:a,rows:x,...p}=(0,l.L)(e),h=(0,s.Y)(p),f=x?(0,o.C)(r,c):r;return(0,n.jsx)(d.m.textarea,{ref:t,rows:x,...h,className:(0,i.cx)("chakra-textarea",a),__css:f})});x.displayName="Textarea"}}]);
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.