PageSourceSearch

https://www.fashionpersonnel.co.uk/_next/static/chunks/pages/job/w…/[...params]-d251fb9049b55a48.js

js fashionpersonnel.co.uk collected 2026-10-05 21:35:15 UTC 4,982 bytes, 2 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="b993d392-372e-4038-839c-795a873bf4b4",e._sentryDebugIdIdentifier="sentry-dbid-b993d392-372e-4038-839c-795a873bf4b4")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1735,7153,9153],{24643:(e,r,t)=>{"use strict";t.r(r),t.d(r,{__N_SSP:()=>Z,default:()=>G});var a=t(37876),n=t(14232),d=t(37839),s=t(62656),i=t(90336),o=t(51666),l=t(89099),u=t.n(l),g=t(10582),c=t(54827),b=t(64177),p=t(80841),f=t(8733),j=t(53248),y=t(17067),_=t.n(y),h=t(7317),x=t(63424),w=t(60567),m=t(80243),I=t(65656),q=t(50278),z=t(44319),v=t(58588),S=t(3098),N=t(56897),k=t(96715),A=t(90255),E=t(94500),B=t(63809),C=t(48230),T=t.n(C);function M({Error:e,loading:r,onSubmit:t,flow:d=i.xr.New,currentBundle:s,querystring:o,job:l,orderId:u}){let[g,c]=(0,n.useState)([]),b=(l?.frontends||[]).filter(e=>null!==e);return(0,a.jsxs)(x.I,{size:"large",Steps:(0,a.jsx)(h.A,{flow:d}),children:[e&&(0,a.jsxs)(q.D,{children:[e,(0,a.jsx)(I.K,{size:"medium"})]}),(0,a.jsx)(B.o,{prefixLabel:!0}),(0,a.jsx)(z.E,{textTransform:"uppercase",fontWeight:600,fontSize:3,color:"gray8",children:(0,a.jsx)(f.A,{id:"job_wizard_destination_upgrades_title",defaultMessage:"Upgrades"})}),(0,a.jsx)(z.E,{color:"gray5",fontSize:2,marginTop:6,children:(0,a.jsx)(f.A,{id:"job_wizard_destination_upgrades_instructions",defaultMessage:"Select upgrades to boost your job visibility on the selected sites."})}),r&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(m.$,{children:(0,a.jsx)(v.G,{color:"primary",height:"100",width:"100",title:(0,a.jsx)(f.A,{id:"loading_message",defaultMessage:"Loading"})})})}),(0,a.jsx)(k.A,{frontendIds:b,selectedFrontends:b,selectedUpgrades:g,onUpgradesChange:e=>{c(e)},currentBundle:s,job:l,flow:d,showUpgrades:!0}),(0,a.jsxs)(S.q,{alignItems:"center",justifyContent:"flex-end",children:[(0,a.jsx)(N.Z,{marginRight:5,children:(0,a.jsx)(A.A,{asChild:!0,href:{pathname:`/job/wizard/destination/${l.id}${u?`/${u}`:""}`,...!!o.bundle&&{query:{bundle:o.bundle}}},children:(0,a.jsx)(E.z,{linkElement:T(),raised:!1,buttonStyle:"default",children:(0,a.jsx)(f.A,{id:"job_upgrade_back",defaultMessage:"Back"})})})}),(0,a.jsx)(N.Z,{children:(0,a.jsx)(w.A,{flow:d,disabled:r,onSubmit:()=>t(g),"data-test-id":"job-wizard-destination-upgrades-continue"})})]})]})}function O({flow:e,loading:r,querystring:t,job:d,order:s,currentBundle:i}){let o=(0,n.useContext)(g.f),{stepsInfo:l}=(0,c.$)(e),y=l.findIndex(e=>e.page===o.pathname),[h,x]=(0,n.useState)(null),[w,{data:m}]=(0,b.n)(_(),{update(e){e.evict({fieldName:"getOrderById"})},onError(){x((0,a.jsx)(p.s,{alertStyle:"danger",type:"assertive",children:(0,a.jsx)(f.A,{id:"job_wizard_destination_upgrades_error",defaultMessage:"There was an error updating the order."})}))}}),I=(0,n.useCallback)(async e=>{let r=s?.id||t.orderId;if(!r)return void x((0,a.jsx)(p.s,{alertStyle:"danger",type:"assertive",children:(0,a.jsx)(f.A,{id:"job_wizard_destination_upgrades_no_order",defaultMessage:"No order found. Please go back and try again."})}));let n=e.map(e=>{let r=e.split(" - ");return{count:1,id:parseInt(r[1],10),frontend:r[0]}}),d=s?.items?.filter(e=>"job_upgrade"!==e.product.type).map(e=>({count:e.quantity,id:e.product.id}))||[];await w({variables:{id:r,products:[...n,...d]}});let i=l[y+1]?.page;i&&u().push({pathname:i,query:{...o.querystring}})},[s,t,w,l,y,o]);return m?.updateOrder?.errors?.length>0&&x((0,a.jsx)(j.k,{errors:m.updateOrder.errors})),(0,a.jsx)(M,{Error:h,loading:r,onSubmit:I,flow:e,currentBundle:i,querystring:t,job:d,orderId:s?.id})}var P=t(32422),U=t(23216),D=t.n(U),$=t(23384),F=t.n($),L=t(78805),R=t(33110),X=t(5970);(0,d.q)({gssp:async function({query:e,resolvedUrl:r,...t}){let[a,n]=e.params?[...e.params]:[],d=await (0,L.wz)(t),o=(0,s.Ay)({},t),{data:l,loading:u}=await o.query({query:(0,P.Y)(),variables:{id:Number(a)}}),g=[],{data:c}=await o.query({query:(0,R.c0)(),variables:{id:d.id,language:t.locale}});c?.organizationProfileByUserId?.content&&(g=c.organizationProfileByUserId.content.frontends||[]);let b=null,p=null,f=!1;if(n){let e=await o.query({query:D(),variables:{id:Number(n),language:t.locale}});b=e.error,p=e.data,f=e.loading}let{error:j,data:y,loading:_}=await o.query({query:F(),variables:{locale:t.locale,frontends:g}}),h=a?i.xr.Republish:i.xr.New,x=(0,X.y0)(y?.jobBundles||[],e);return{props:{error:!!b||!!j,loading:u||f||_,flow:h,job:l?.jobById?.job,order:p?.getOrderById||null,querystring:e,currentBundle:x||null}}}});var Z=!0;let G=e=>(0,a.jsx)(o.V,{children:(0,a.jsx)(O,{...e})})},41580:(e,r,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/job/wizard/destination-upgrades/[...params]",function(){return t(24643)}])}},e=>{e.O(0,[8230,4133,7302,7579,8564,8618,2557,2243,2422,6820,3110,2582,860,636,6593,8792],()=>e(e.s=41580)),_N_E=e.O()}]);
2//# sourceMappingURL=[...params]-d251fb9049b55a48.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.