PageSourceSearch

https://contact.xyz/static/js/8443.70d024ec.chunk.js

js contact.xyz collected 2026-10-04 02:28:07 UTC 12,255 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgloss=self.webpackChunkgloss||[]).push([[8443],{54191(e,a,t){t.d(a,{N:()=>l});t(27565);var n=t(55334),r=t(286),i=t(81758),o=t(27929),s=e=>{var a=e.setModalOpen,t=e.title,i=void 0===t?"Job Details Guide":t;return(0,o.jsxs)(n.az,{css:{height:"$12",borderRadius:"5px",backgroundColor:"black",display:"flex","@bp3":{display:"none"},justifyContent:"space-between",alignItems:"center",mb:"$4"},onClick:()=>{a(!0)},children:[(0,o.jsxs)(n.az,{css:{display:"flex",alignItems:"inherit",marginLeft:"$4",gap:"10px"},children:[(0,o.jsx)(r.In,{variant:"question",size:14,color:"white"}),(0,o.jsx)(r.EY,{variant:"meta",color:"white",css:{textDecoration:"underline"},children:"Read our ".concat(i)})]}),(0,o.jsx)(r.In,{variant:"expandArrows",size:12,color:"white",css:{marginRight:"$4"}})]})},l=e=>{var a=e.focusedHelpBox,t=e.setFocusedHelpBox,n=e.modalOpen,l=e.setModalOpen,d=e.helperBoxes,c=e.title;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s,{setModalOpen:l,title:c}),(0,o.jsx)(r.aF,{isOpen:n,onClose:()=>{l(!1)},showCloseButton:!0,children:(0,o.jsx)(i.A0,{context:"HelperBoxesModal",focusedHelpBox:a,setFocusedHelpBox:t,helperBoxes:d,title:c})})]})}},22862(e,a,t){t.d(a,{N:()=>y});var n=t(5544),r=t(89379),i=(t(27565),t(86644)),o=t(99790),s=t(14292),l=t(11796),d=t(55334),c=t(70161),u=t(286),m=t(58743),p=t(95578),h=t(40217),x=t(27929),j=e=>{var a=e.vertical,t=e.budget,n=e.talentRequired,r=t&&n?"".concat((0,m.vv)(t)," x \n      ").concat((0,p.td)(n,h.To[a])):"",i=t&&n?(0,m.vv)(t*n):(0,m.vv)(0),o=!!(t&&t>0);return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(d.so,{css:{justifyContent:"space-between"},children:[(0,x.jsx)(u.EY,{variant:"small",css:{fontWeight:"$medium",textTransform:"uppercase","@bp2":{fontSize:"16px",lineHeight:"26px",textTransform:"revert"}},children:"Total ".concat(h.To[a]," fee")}),(0,x.jsx)(u.EY,{variant:"small","data-test-id":"VerticalFeeValue",css:{fontWeight:"$medium","@bp2":{fontSize:"16px",lineHeight:"26px"}},children:i})]}),o&&(0,x.jsx)(u.EY,{"data-test-id":"VerticalFeeBreakdown",color:"grey6",variant:"meta",css:{alignSelf:"flex-end",fontWeight:"400","@bp2":{fontSize:"16px",lineHeight:"26px"}},children:r})]})},g=t(23627),b=t(28774),v=t(59531),w=e=>{var a=e.verticalValues,t=e.fields,n=e.verticalTalent,o=e.formValuesIndex,l=e.headerComponent,u=e.toggleFullSelectionModal,m=e.cardTitle,p=e.cardSubtitle,h=e.fieldProps,g=a.vertical;return(0,x.jsx)(d.az,{children:(0,x.jsxs)(c.RE,{testId:"CAJFormCard.".concat(g),headerComponent:(0,x.jsx)(b.d,{onClick:u,title:m,subtitle:p,talentUsers:n,iconVariant:v.ZO[g],headerComponent:l}),footerComponent:(0,x.jsx)(j,{vertical:g,talentRequired:a.talentRequired,budget:a.budget}),children:[t.map((e,t)=>(0,x.jsx)(i.gU,{field:e,props:(0,r.A)((0,r.A)({},h),{},{vertical:g,values:a}),formValuesIndex:o},t)),(0,x.jsx)(s.jF,{hidden:!0,name:"jobVerticals.".concat(o,".vertical"),type:"string",value:g})]})})},f=()=>(0,x.jsxs)(d.so,{css:{backgroundColor:"$turquoiseDark",borderRadius:"$pill",px:"$4",py:"$2",alignItems:"center",maxWidth:"fit-content"},children:[(0,x.jsx)(u.In,{variant:"stars",size:14,color:"white"}),(0,x.jsx)(u.EY,{color:"white",css:{ml:"$2"},children:"Just added"})]}),y=e=>{var a=e.fieldProps,t=e.jobVerticals,r=e.talent,i=e.context,s=void 0===i?"createJob":i,u=e.newlyAddedVerticals,m=void 0===u?[]:u,p=e.getCardTitle,j=void 0===p?e=>"".concat(h.To[e]," details"):p,b=e.cardSubtitle,v=e.showFeeEstimate,y=void 0===v||v,k=(0,g.wm)("currentUser"),C=(0,g.qA)(k),F=(0,g.NK)().configurations,I=(0,g.eY)(),S=(0,n.A)(I,2),N=S[0],A=S[1],Y=(0,g.eY)(),$=(0,n.A)(Y,2),q=$[0],V=$[1];return(0,x.jsxs)(d.az,{children:[(0,x.jsx)(o.Dw,{isOpen:N,onClose:A,talent:r,buttonVariant:"client"!==C&&k.loggedIn?"primary":"secondary",setShowShareShortlistModal:()=>{A(),V()},showShareShortlistButton:"client"===C||!k.loggedIn,flowContext:s}),(0,x.jsx)(c.$G,{talent:r,isOpen:q,onClose:V,talentVerticals:(0,h.Uz)(r)}),(0,x.jsxs)(d.xA,{css:{flexDirection:"column",gap:"$8","@bp3":{gap:"editJob"===s?"$9":"$11"}},children:[t.map((e,t)=>{var n=e.vertical,i=r.filter(e=>(0,h.P7)(n,e)),o=m.includes(n),s=(0,h.o)(F||[],n);return(0,x.jsx)(w,{toggleFullSelectionModal:A,verticalValues:e,fields:(null===s||void 0===s?void 0:s.jobVerticalDetailsFields)||[],fieldProps:a,verticalTalent:i,formValuesIndex:t,headerComponent:o&&(0,x.jsx)(f,{}),cardTitle:j(n),cardSubtitle:b},t)}),y&&(0,x.jsx)(d.az,{css:{"@bp3":{display:"none"}},children:(0,x.jsx)(l.Z,{values:t.map(e=>(e.budget||0)*(e.talentRequired||0))})})]})]})}},45422(e,a,t){t.d(a,{gm:()=>o,fL:()=>b,Fx:()=>f,_m:()=>S,ex:()=>y,bN:()=>$});var n=t(27565),r=t(55334),i=t(27929),o=e=>{var a=e.actionBar,t=e.packageData;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(y,{title:"Sign in to your account",leadIn:(0,i.jsx)(i.Fragment,{children:"You'll need to sign in to your account to confirm this package."})}),(0,i.jsx)($,{wrapperComponent:r.xI,actionBar:a,initialValues:{email:t.bookerEmail||"",password:""}})]})},s=t(89379),l=t(10467),d=t(5544),c=t(77265),u=t(65030),m=t(23627),p=t(42746),h=t(286),x=t(88702),j=t(62890),g=t(75792),b=e=>{var a,t,o=e.actionBar,b=e.packageData,v=(0,m.wm)("currentUser"),w=(0,u.W6)(),f=(0,n.use
1State)("createAccount"),k=(0,d.A)(f,2),C=k[0],F=k[1],I=(0,c.n)(p.uB),N=(0,d.A)(I,2),A=N[0],Y=N[1],q=Y.error,V=Y.loading,R=b.bookerName?b.bookerName.split(" "):["",""],D=(0,d.A)(R,2),z=D[0],B=D[1],T={name:b.bookerName||"",firstName:z,lastName:B,email:b.bookerEmail||"",phoneNumber:b.bookerPhoneNumber||"",password:"",company:b.bookerCompany||""},E={packageName:null===b||void 0===b?void 0:b.name,agencyName:null===b||void 0===b||null===(a=b.agency)||void 0===a?void 0:a.name,agencyId:null===b||void 0===b||null===(t=b.agency)||void 0===t?void 0:t.id};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(y,{title:"Tell us about you",leadIn:(0,i.jsx)(i.Fragment,{children:"Sign in or create an account with the email address your agency used for this package. You'll need to verify that address before you can confirm the job."})}),(0,i.jsx)(r.N,{variant:"gutter",children:(0,i.jsxs)(h.EY,{weight:"bold",children:["createAccount"===C&&(0,i.jsxs)(i.Fragment,{children:["Already have an account?"," ",(0,i.jsx)(x.N_,{to:"#","data-test-id":"AccountNoBookerSignIn",onClick:()=>
1F("signIn"),children:"Sign in"})," ","instead."]}),"signIn"===C&&(0,i.jsxs)(i.Fragment,{children:["Haven't got an account?"," ",(0,i.jsx)(x.N_,{to:"#",onClick:()=>F("createAccount"),children:"Sign up"})," ","instead."]})]})}),"createAccount"===C&&(0,i.jsxs)(i.Fragment,{children:[q&&(0,i.jsx)(j.z2,{variant:"error",css:{mt:"$3"},title:q.message}),(0,i.jsx)(S,{initialValues:T,disabled:V,onSubmit:function(){var e=(0,l.A)(function*(e){yield A({variables:(0,s.A)({},e)}),q||(yield v.logIn({email:e.email,password:e.password}),v.loggedIn&&w.push("/packages/".concat(b.slug,"/summary"))),(0,g.s)("packages:createAccount"),(0,g.P)("booker package account - creates account",E)});return function(a){return e.apply(this,arguments)}}(),actionBar:o})]}),"signIn"===C&&(0,i.jsx)($,{actionBar:o,wrapperComponent:r.xI,packageAmplitudeProps:E})]})},v=t(1570),w=t(78744),f=e=>{var a=e.logoutAction;return(0,i.jsx)(v.Zv,{FooterComponent:w.RebrandFooter,children:(0,i.jsxs)(r.so,{css:{flexDirection:"column",alignItems:"center",textAlign:"center",mt:"$8"},children:[(0,i.jsx)(h.In,{variant:"noGifting",size:120}),(0,i.jsx)(h.EY,{variant:{"@initial":"nh2","@bp2":"nh1"},css:{mb:"$7"},children:"No Can Do"}),(0,i.jsxs)(r.N,{variant:"gutter",css:{mb:"$9"},children:[(0,i.jsx)(h.EY,{variant:"rebrand",css:{mb:"$5"},children:"The package you\u2019re trying to view belongs to somebody else. If you think you\u2019re logged in with the wrong account, please sign out:"}),(0,i.jsx)(x.z9,{variant:"primaryV2",to:"/",onClick:a,children:"Sign out"})]})]})})},y=e=>{var a=e.title,t=e.leadIn;return(0,i.jsxs)(r.N,{variant:"gutter",children:[(0,i.jsx)(h.EY,{variant:"h1",css:{mb:"$5"},children:a}),(0,i.jsx)(h.EY,{variant:{"@initial":"body","@bp3":"impact"},css:{mb:"$5",width:"100%","@bp3":{width:"66%"}},children:t})]})},k=t(26248),C=t(50588),F=t(14292),I=C.Ik().shape({firstName:C.Yj().required("Required"),lastName:C.Yj().required("Required"),email:C.Yj().required("Required").email("Must be a valid email"),phoneNumber:C.Yj().required("Required"),company:C.Yj().required("Required"),website:C.Yj(),password:C.Yj().min(8,"Must be at least 8 characters").required("Required"),passwordConfirmation:C.Yj().oneOf([C.KR("password"),null],"Must match the provided password").required("Required")}),S=e=>{var a=e.disabled,t=e.onSubmit,o=e.actionBar,s=e.fullWidth,l=void 0!==s&&s,d=e.wrapperComponent,c=void 0===d?n.Fragment:d,u=e.initialValues;return(0,i.jsx)(k.l1,{initialValues:u,onSubmit:t,validationSchema:I,children:(0,i.jsxs)(k.lV,{children:[(0,i.jsx)(c,{children:(0,i.jsxs)(r.N,{variant:l?"full":"gutter",css:{mt:"$4"},children:[(0,i.jsx)(F.D0,{label:"First name",name:"name",children:(0,i.jsx)(F.jF,{name:"firstName",autoComplete:"name",type:"text"})}),(0,i.jsx)(F.D0,{label:"Last name",name:"name",children:(0,i.jsx)(F.jF,{name:"lastName",autoComplete:"name",type:"text"})}),(0,i.jsx)(F.D0,{label:"Your email",name:"email",children:(0,i.jsx)(F.jF,{name:"email",type:"email",autoComplete:"email"})}),(0,i.jsx)(F.D0,{label:"Your phone number",name:"phoneNumber",children:(0,i.jsx)(F.jF,{name:"phoneNumber",type:"tel",autoComplete:"tel"})}),(0,i.jsx)(F.D0,{label:"Your company (or self employed)",name:"company",children:(0,i.jsx)(F.jF,{placeholder:"Where you work",name:"company",autoComplete:"organization",type:"text"})}),(0,i.jsx)(F.D0,{label:"Your website / Instagram link",name:"website",children:(0,i.jsx)(F.jF,{name:"website",autoComplete:"url",type:"text"})}),(0,i.jsx)(F.D0,{label:"Choose a password (minimum 8 characters)",name:"password",children:(0,i.jsx)(F.jF,{name:"password",type:"password",autoComplete:"new-password"})}),(0,i.jsx)(F.D0,{label:"Retype the password",name:"passwordConfirmation",children:(0,i.jsx)(F.jF,{name:"passwordConfirmation",type:"password",autoComplete:"new-password"})})]})}),o&&o(a)]})})},N=t(3696),A=(0,t(23819).I4)(N.N_,{color:"$black",fontSize:"$14"}),Y=C.Ik().shape({email:C.Yj().required("Required").email("Must be an email address"),password:C.Yj().required("Required")}),$=e=>{var a=e.actionBar,t=e.initialValues,o=e.onSubmit,s=e.wrapperComponent,l=void 0===s?n.Fragment:s,d=e.packageAmplitudeProps,c=(0,m.wm)("currentUser");return(0,i.jsx)(k.l1,{initialValues:t||{email:"",password:""},onSubmit:e=>{c.logIn(e),o&&o(),(0,g.P)("booker package account - signs in",d)},validationSchema:Y,children:(0,i.jsxs)(k.lV,{children:[(0,i.jsx)(l,{children:(0,i.jsxs)(r.az,{css:{mb:"$9"},children:["unauthorized"===c.authState&&(0,i.jsx)(j.z2,{title:"Invalid email / password combination.",variant:"error"}),(0,i.jsx)(F.D0,{name:"email",label:"Email",children:(0,i.jsx)(F.jF,{name:"email",type:"email",id:"sign-in-id",disabled:t&&""!==(null===t||void 0===t?void 0:t.email),autoComplete:"email"})}),(0,i.jsx)(F.D0,{name:"password",label:"Password",children:(0,i.jsx)(F.jF,{name:"password",type:"password",id:"sign-in-password",autoComplete:"current-password"})}),(0,i.jsx)(r.az,{css:{mt:"$9"},children:(0,i.jsx)(A,{to:"/reset-password",children:"Forgot your password?"})})]})}),a&&a(c.loading)]})})}},96791(e,a,t){t.d(a,{Bx:()=>l,Wo:()=>o,X_:()=>i,k$:()=>s});var n=t(26709),r=e=>""!==e.name&&void 0!==e.startDate&&void 0!==e.endDate&&(!e.virtual&&void 0!==e.location&&""!==e.location||e.virtual)&&void 0!==e.brand&&""!==e.brand&&void 0!==e.description&&""!==e.description&&void 0!==e.usage&&""!==e.usage,i=e=>e.every(e=>void 0!==e.budget&&e.talentRequired&&e.talentRequired>
10&&e.jobLength&&""!==e.jobLength),o=e=>e.state===n.Ap.ConvertedToJob?"convertedToJob":e.packageTalent.some(e=>e.state===n.ok.Optioned)?r(e)?i(e.packageVerticals)?e.booker?"summary":"account":"creative-details":"details":"talentSelection",s=(e,a,t)=>{var o=e.packageTalent.some(e=>e.state===n.ok.Optioned),s=r(e),l=i(e.packageVerticals);switch(a){case"talentSelection":return!0;case"details":return o;case"creative-details":return o&&s;case"account":return o&&s&&l;case"summary":return o&&s&&l&&t;case"convertedToJob":return e.state===n.Ap.ConvertedToJob}},l=(e,a)=>!(!a||!e.booker)&&a.id===e.booker.id}}]);
2//# sourceMappingURL=8443.70d024ec.chunk.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.