1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},i=(new e.Error).stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c8056ce1-9cd4-439b-ae38-b173f32a8463",e._sentryDebugIdIdentifier="sentry-dbid-c8056ce1-9cd4-439b-ae38-b173f32a8463")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1556,1735,2055,3110,3462,4459,4834,5230,5763,7471,7551,9153],{2876:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"searchRoute"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"route"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}},{kind:"Argument",name:{kind:"Name",value:"language"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"RedirectResponse"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"target"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SearchResponse"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"facets"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"facetId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"facetKey"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"geoLocation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"administrativeArea"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"locationType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lat"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"radius"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"termId"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:469}};i.loc.source={body:"query searchRoute($path: String!, $language: String) {\n route(path: $path, language: $language) {\n ... on RedirectResponse {\n code\n target\n }\n errors\n ... on SearchResponse {\n statusCode\n facets {\n facetId\n path\n facetKey\n }\n geoLocation {\n label\n administrativeArea\n country\n locationType\n lat\n lon\n radius\n path\n termId\n }\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function t(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.searchRoute=function(e,i){var a={kind:e.kind,definitions:[t(e,i)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=n[i]||new Set,l=new Set,d=new Set;for(r.forEach(function(e){d.add(e)});d.size>0;){var s=d;
1d=new Set,s.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return l.forEach(function(i){var n=t(e,i);n&&a.definitions.push(n)}),a}(i,"searchRoute")},3106:(e,i,n)=>{"use strict";n.d(i,{A:()=>u,v:()=>o});var t=n(37876),a=n(17175);n(14232);var r=n(70185),l=n.n(r);let d=(0,a.F)([l().chip],{variants:{chipStyle:{primary:l().chipPrimary,secondary:l().chipSecondary,default:l().chipDefault}},defaultVariants:{chipStyle:"default"}}),s=(0,a.F)([l().icon],{variants:{iconStyle:{primary:l().iconPrimary,secondary:l().iconSecondary,default:l().iconDefault}},defaultVariants:{iconStyle:"default"}});function o({chipStyle:e="default",chipId:i,children:n,onRemove:a}){return(0,t.jsxs)("div",{"data-testid":`chip-${i}`,className:d({chipStyle:e}),children:[n,a&&(0,t.jsx)("button",{"data-testid":`chip-${i}-remove`,id:`chip-${i}-remove`,className:s({iconStyle:e}),"aria-label":"string"==typeof n?`Close ${n}`:`Close ${i}`,onClick:e=>a(i)})]})}let u=o},3644:(e,i,n)=>{"use strict";n.d(i,{A:()=>d,q:()=>l});var t=n(37876);n(14232);let a=e=>"currentColor"===e?"":`var(--color-${e})`,r=({title:e,theme:i=null,titleId:n="",...a})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"1em",height:"1em","aria-labelledby":n,...a,children:[e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsxs)("g",{className:"edit_svg__nc-icon-wrapper",children:[(0,t.jsx)("path",{"data-color":"color-2",d:"M45 9.586 22.293 32.293a1 1 0 0 0-.258.444l-3 11A1 1 0 0 0 20 45a1.028 1.028 0 0 0 .263-.035l11-3a1 1 0 0 0 .444-.258L54.414 19ZM60.414 10.172l-6.586-6.586a2 2 0 0 0-2.828 0l-4.586 4.586 9.414 9.414L60.414 13a2 2 0 0 0 0-2.828Z"}),(0,t.jsx)("path",{d:"M50 61H6a3 3 0 0 1-3-3V14a3 3 0 0 1 3-3h20a1 1 0 0 1 0 2H6a1 1 0 0 0-1 1v44a1 1 0 0 0 1 1h44a1 1 0 0 0 1-1V38a1 1 0 0 1 2 0v20a3 3 0 0 1-3 3Z"})]})]}),l=({color:e="currentColor",title:i,fill:n,...l})=>(0,t.jsx)(r,{color:a(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:a(e),fill:a(e)}}:null,fill:n??a(e),title:i,...l}),d=l},3946:(e,i,n)=>{"use strict";n.d(i,{A:()=>l});var t=n(37876);n(14232);let a=e=>"currentColor"===e?"currentColor":`var(--color-${e})`,r=({title:e,theme:i=null,titleId:n="",...r})=>(0,t.jsxs)("svg",{viewBox:"0 0 32 28",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em","aria-labelledby":n,...r,children:[e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor"===a(r.color)?"var(--color-linkedin)":a(r.color),children:[(0,t.jsx)("path",{d:"M1.40095 0.120963C1.13388 0.218267 0.889155 0.368367 0.681362 0.562308C0.473568 0.756248 0.306967 0.990055 0.191498 1.24978L0.075592 1.53703V25.474L0.191498 25.7613C0.387361 26.1848 0.711841 26.5357 1.11874 26.7641L1.43622 26.9355H25.6252L25.9376 26.7641C26.3333 26.5491 26.6521 26.2162 26.8498 25.8117L26.9858 25.5244V1.48663L26.8498 1.19939C26.6466 0.79154 26.3252 0.454371 25.9276 0.231829L25.6252 0.0756083L13.6063 0.0655296C3.80473 0.0554508 1.55213 0.0655296 1.40095 0.120963ZM6.69732 3.8249C7.09198 3.93673 7.44563 4.16083 7.71528 4.46994C7.99663 4.74001 8.1958 5.08419 8.28977 5.4627C8.39933 5.92694 8.37486 6.41275 8.21921 6.86364C8.06047 7.28434 7.78254 7.64965 7.41943 7.91488C7.05632 8.1801 6.62378 8.33374 6.17472 8.357C5.72567 8.38026 5.27957 8.27212 4.89101 8.04582C4.50244 7.81953 4.18826 7.48488 3.9869 7.08283C3.78554 6.68078 3.70574 6.22875 3.75725 5.78206C3.80875 5.33536 3.98935 4.91336 4.27693 4.56769C4.56451 4.22202 4.94661 3.96766 5.37648 3.83574C5.80635 3.70382 6.26535 3.70005 6.69732 3.8249ZM19.4872 9.90742C19.714 9.94774 20.092 10.0485 20.3288 10.1342C21.765 10.6532 22.531 11.7266 22.8939 13.7323C23.0047 14.3219 23.0047 14.4328 23.0047 18.6709V23.0047H19.0236L18.9934 19.074C18.9682 15.4961 18.9581 15.1181 18.8775 14.841C18.7807 14.4515 18.5845 14.0938 18.308 13.8029C17.9805 13.5005 17.6983 13.3947 17.1238 13.3644C16 13.309 15.3096 13.6567 14.9165 14.4882C14.594 15.1786 14.594 15.1685 14.5638 19.2756L14.5386 23.0047H10.5575L10.5424 16.5644L10.5323 10.1292H14.4126V11.9181L14.5487 11.7166C14.8871 11.214 15.3261 10.7871 15.8378 10.4627C16.3495 10.1383 16.923 9.92348 17.5219 9.83183C17.9452 9.77136 18.9329 9.81167 19.4872 9.90742ZM8.05291 16.5644L8.0378 23.0047H4.05669L4.04158 16.5644L4.0315 10.1292H8.06299L8.05291 16.5644ZM29.2939 23.7103C29.0895 23.8086 28.9036 23.9416 28.7446 24.1033C28.5727 24.3002 28.4442 24.531 28.3673 24.7808C28.2904 25.0305 28.2669 25.2937 28.2983 25.5531C28.3296 25.8126 28.4152 26.0625 28.5494 26.2868C28.6835 26.511 28.8634 26.7046 29.0772 26.8548C29.4239 27.0918 29.8439 27.1972 30.2614 27.1521C30.6562 27.1155 31.0284 26.9515 31.322 26.685C31.6155 26.4185 31.8145 26.0637 31.889 25.6743C31.9635 25.2848 31.9094 24.8817 31.7349 24.5257C31.5604 24.1696 31.275 23.8799 30.9216 23.7002C30.7049 23.5843 30.5839 23.5591 30.1606 23.544C29.6617 23.5238 29.6517 23.5288 29.2939 23.7103ZM30.7553 23.8514C31.1117 24.01 31.4032 24.2856 31.5817 24.6325C31.7027 24.8743 31.7228 24.9852 31.7228 25.3229C31.7228 25.6605 31.6976 25.7764 31.5868 26.0132C31.45
158 26.295 31.2474 26.5336 30.9859 26.7013C30.7244 26.8691 30.4206 26.959 30.11 26.9606C29.7993 26.9621 29.4946 26.8753 29.2315 26.7103C28.9683 26.5452 28.7575 26.3087 28.6236 26.0284C28.4556 25.5986 28.4484 25.1225 28.6035 24.6879C28.9915 23.8514 29.9439 23.4784 30.7553 23.8514Z"}),(0,t.jsx)("path",{d:"M29.4803 25.348V26.3055H29.6063C29.7323 26.3055 29.7323 26.3005 29.7323 25.8772V25.4488H29.9036C30.0598 25.4488 30.0901 25.4791 30.342 25.8772C30.5789 26.2501 30.6293 26.3055 30.7553 26.3055C30.9165 26.3055 30.9266 26.3358 30.5839 25.8167L30.342 25.4589L30.4781 25.4236C30.8057 25.343 30.9619 25.0054 30.8208 24.6778C30.72 24.4359 30.594 24.3906 29.9792 24.3906H29.4803V25.348ZM30.4983 24.6778C30.5487 24.7232 30.589 24.829 30.589 24.9247C30.589 25.1616 30.4428 25.2473 30.0498 25.2473H29.7323V24.5921H30.0699C30.3118 24.5921 30.4328 24.6173 30.4983 24.6778Z"})]})]}),l=({color:e="currentColor",title:i,fill:n,...l})=>(0,t.jsx)(r,{color:a(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:a(e),fill:a(e)}}:null,fill:n??a(e),title:i,...l})},4132:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getDefaultProduct"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"getDefaultProduct"},arguments:[{kind:"Argument",name:{kind:"Name",value:"language"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"priceNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"priceCurrency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"allowedJobTypes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"weight"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"productCanBePaidWithCredits"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"balances"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"frontend"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"transactionBalances"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"creditType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"amount"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"relatedJobUpgrades"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"frontends"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"priceBeforeAdjustments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"number"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:496}};i.loc.source={body:"query getDefaultProduct($language: String!) {\n getDefaultProduct(language: $language) {\n id\n type\n name\n description\n icon\n priceNumber\n priceCurrency\n allowedJobTypes\n weight\n productCanBePaidWithCredits {\n amount\n type\n balances {\n frontend\n transactionBalances {\n creditType\n amount\n }\n }\n }\n relatedJobUpgrades {\n id\n }\n frontends\n priceBeforeAdjustments {\n number\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function t(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}i.definitions.forEach(function(e){if(e.name){var i=new Set;
1!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.getDefaultProduct=function(e,i){var a={kind:e.kind,definitions:[t(e,i)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=n[i]||new Set,l=new Set,d=new Set;for(r.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return l.forEach(function(i){var n=t(e,i);n&&a.definitions.push(n)}),a}(i,"getDefaultProduct")},4599:e=>{e.exports={button:"jobPreview_button__7PORO",jobPreviewContainer:"jobPreview_jobPreviewContainer__g5CIT",jobPreviewContainerMobile:"jobPreview_jobPreviewContainerMobile__fAtDv",jobPreviewButtonDesktop:"jobPreview_jobPreviewButtonDesktop__DhET6",jobPreviewButtonMobile:"jobPreview_jobPreviewButtonMobile__srT1f"}},5970:(e,i,n)=>{"use strict";n.d(i,{VT:()=>s,r_:()=>l,y0:()=>d});var t=n(90336),a=n(89099),r=n.n(a);function l(e){if(!e.includes("?"))return null;let i=new URLSearchParams(e.split("?")[1]).get("bundle");return i?isNaN(parseInt(i))?null:parseInt(i):null}function d(e,i){return e.filter(e=>e.id===Number(i.bundle))[0]}function s(e,i,n,a,l,d,s,o){return l({variables:{id:e,language:s,acceptPublishedJob:d===t.xr.Upgrades,products:o}}).then(t=>{t.errors||t.data?.jobCheckoutOrder?.errors?.length>0||(a?r().push("/job-manager"):r().push({pathname:n,query:{params:[e,t.data?.jobCheckoutOrder?.order?.id,d||{}],...i.bundle&&{bundle:i.bundle}}}))})}},6005:(e,i,n)=>{"use strict";n.d(i,{Hr:()=>l});var t=n(37876),a=n(81528),r=n.n(a);function l(){return(0,t.jsx)("hr",{className:r().hr})}},7753:(e,i,n)=>{"use strict";n.d(i,{Td:()=>C,Em:()=>F,Ay:()=>E,Wp:()=>w});var t=n(37876),a=n(64177),r=n(89099),l=n(14232),d=n(77742),s=n(10797),o=n(63200),u=n(49513),c=n(47562),m=n(78805),v=n(26483),f=n(87732);let g=(e,i,n,t="",a=u.g$.JOB_SEARCH)=>(0,u.N1)({[u.Yf.entity_id]:e?.id,[u.Yf.title]:e?.name,[u.Yf.current_user_id]:i?.id,[u.Yf.user_role]:(0,f.q)(i?.roles,"targetId")??m.Iv,[u.Yf.entity_type]:"saved_searches",[u.Yf.entity_subtype]:"job_alert",[u.Yf.occupations]:(0,v.Q4)(n,"field_job_occupational_field_parents_all"),[u.Yf.employment_types]:(0,v.Q4)(n,"field_job_employment_type"),[u.Yf.regions]:t,[u.Yf.page_type]:a});var k=n(17611),p=n(16800),h=n(10582),b=n(74386),j=n.n(b),_=n(19667),x=n.n(_),N=n(85234),y=n.n(N),S=n(35581);let F="#save-search";function w(e){e.evict({fieldName:"getJobAlertById"}),e.evict({fieldName:"getJobAlerts"}),e.evict({fieldName:"getJobAlertsCount"}),e.evict({fieldName:"getJobAlertByPath"})}let C=(0,l.createContext)({querystring:"",selectedFacets:[],showModal:!1,jobAlert:null,jobAlertTitle:"",createJobAlertLoading:!1,setSelectedFacets:()=>{},setQuerystring:()=>{},setShowModal:()=>{},setJobAlert:()=>{},setJobAlertTitle:()=>{},updateJobAlert:()=>new Promise(()=>{}),setJobId:()=>{}});function E({children:e,additionalConditionGroups:i=[],forceJobSearchPage:n=!1,pageType:m}){let{path:v}=(0,l.useContext)(h.f),{user:f}=(0,l.useContext)(c.Rs),{locale:b}=(0,l.useContext)(h.B),[_,N]=(0,l.useState)([]),[A,D]=(0,l.useState)(""),[T,I]=(0,l.useState)(!1),[O,P]=(0,l.useState)(null),[L,V]=(0,l.useState)(""),[M,J]=(0,l.useState)(null),z=(0,o.o)(),B=(0,s.D)(),q=(0,r.useRouter)(),R=(0,d.A)(),$=n||(0,k.O_)(),U=m??($?u.g$.JOB_SEARCH:u.g$.JOB_DETAIL),{JOBS:H}=(0,S.WV)(),K=Object.values(H.FACETS),[G,{loading:W}]=(0,a.n)(O?j():$?x():y(),{update(e){w(e)},onCompleted:e=>{I(!1),_&&e.createJobAlert&&(0,u.DP)(f?u.qY.JOB_ALERT_SIGNUP:u.qY.JOB_ALERT_SIGNUP_ANONYMOUS,g(e.createJobAlert.alert,f??null,_,A.geo_location,U)),q.push(e.createJobAlert?(0,p.gD)(v):v+F,void 0,{shallow:!0}).then(()=>Z(e))},onError:()=>{B.addFlag({text:R.formatMessage({id:"generic_error",defaultMessage:"There was an error"}),type:"danger"})}}),Z=e=>{e.createJobAlert?e.createJobAlert.errors.length>0?B.addFlag({text:e.createJobAlert.errors[0].message,type:"danger"}):z.addMessage({text:f?R.formatMessage({id:"job_alert_save_anon",defaultMessage:"Your job alert was successfully created."}):R.formatMessage({id:"job_alert_save",defaultMessage:`Your job alert was successfully created. 2 You will soon receive an e-mail with a confirmation link to activate it.`}),type:"success",test_id:"job_alert_save_success"}):e.deleteJobAlert&&(e.deleteJobAlert.errors.length>0?B.addFlag({text:e.deleteJobAlert.errors[0].message,type:"danger"}):z.addMessage({text:R.formatMessage({id:"job_alert_remove",defaultMessage:"Your Search was removed"}),type:"success"}))};return(0,l.useEffect)(()=>{T&&(0,u.DP)(u.qY.JOB_ALERT_PROMPT,g(O??null,f??null,_,A.geo_location,U))},[T]),(0,l.useEffect)(()=>{O&&!v.includes(F)?q.push(v+F,void 0,{shallow:!0}):null===O&&v.includes(F)&&q.push((0,p.gD)(v),void 0,{shallow:!0})},[O]),(0,t.jsx)(C.Provider,{value:{selectedFacets:_,querystring:A,showModal:T,jobAlert:O,jobAlertTitle:L,createJobAlertLoading:W,updateJobAlert:e=>{let n=(0,p.NG)((0,p.gD)(v),["jobId","page"]);return G(e?{...e,variables:{data:{...e.variables.data,path:n,condition_group:{conjunction:"AND",groups:[...(0,p.xr)(A,K),...i]},...!$&&{jobId:M}}},update(e){w(e)}}:function(e,i,n,t,a,r,l=[]){return t?{variables:{id:t.id},update(e){w(e)}}:{variables:{data:{name:e,path:i,language:r,condition_group:{conjunction:"AND",groups:[...(0,p.xr)(n,a),...l]}},update(e){w(e)}}}}(L,n,A,O,K,b,i))},setSelectedFacets:N,setQuerystring:D,setShowModal:I,setJobAlert:P,setJobAlertTitle:V,setJobId:J},children:e})}},8288:(e,i,n)=>{"use strict";n.d(i,{A:()=>l});var t=n(37876);n(14232);let a=e=>"currentColor"===e?"currentColor":`var(--color-${e})`,r=({title:e,theme:i=null,titleId:n="",...r})=>(0,t.jsxs)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em","aria-labelledby":n,...r,children:[e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsx)("path",{fill:"currentColor"===a(r.color)?"var(--color-facebook)":a(r.color),d:"M32 16C32 7.16347 24.8365 9.83819e-06 16 9.83819e-06C7.16346 9.83819e-06 0 7.16347 0 16C0 23.5037 5.16576 29.7998 12.1348 31.5288V20.8894H8.83546V16H12.1348V13.8932C12.1348 8.44731 14.5993 5.92315 19.9459 5.92315C20.9595 5.92315 22.7085 6.12
2187 23.4241 6.32065V10.7529C23.0464 10.7132 22.3905 10.6933 21.5756 10.6933C18.9521 10.6933 17.9384 11.687 17.9384 14.2709V16H23.1645L22.2668 20.8894H17.9384V31.8828C25.8607 30.926 32 24.1804 32 16Z"}),(0,t.jsx)("path",{fill:"currentColor"===a(r.color)?"var(--color-facebook-logo-white)":a(r.color),d:"M22.2667 20.8894L23.1646 16H17.9384V14.2708C17.9384 11.687 18.9521 10.6933 21.5756 10.6933C22.3905 10.6933 23.0464 10.7131 23.4241 10.7529V6.32067C22.7085 6.12189 20.9595 5.9231 19.9459 5.9231C14.5994 5.9231 12.1348 8.44732 12.1348 13.8932V16H8.83545V20.8894H12.1348V31.5289C13.3727 31.8359 14.6671 32 16 32C16.6562 32 17.3029 31.9596 17.9384 31.8828V20.8894H22.2667Z"})]}),l=({color:e="currentColor",title:i,fill:n,...l})=>(0,t.jsx)(r,{color:a(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:a(e),fill:a(e)}}:null,fill:n??a(e),title:i,...l})},8541:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"addJob"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"data"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"JobInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"addJob"},name:{kind:"Name",value:"createJob"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"EnumValue",value:"JOB_PER_FILE"}},{kind:"Argument",name:{kind:"Name",value:"data"},value:{kind:"Variable",name:{kind:"Name",value:"data"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentResponse"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"job"},name:{kind:"Name",value:"content"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Job"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"urlNoPrefix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ownerId"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:301}};i.loc.source={body:"mutation addJob($data: JobInput!) {\n addJob: createJob(type: JOB_PER_FILE, data: $data) {\n errors\n ... on ContentResponse {\n job: content {\n ... on Job {\n id\n url {\n path\n }\n urlNoPrefix\n ownerId\n }\n }\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function t(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.addJob=function(e,i){var a={kind:e.kind,definitions:[t(e,i)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=n[i]||new Set,l=new Set,d=new Set;for(r.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return l.forEach(function(i){var n=t(e,i);n&&a.definitions.push(n)}),a}(i,"addJob")},9680:(e,i,n)=>{"use strict";n.r(i),n.d(i,{default:()=>et});var t=n(37876),a=n(14232),r=n(46680),l=n(52852),d=n(52512),s=n(24373),o=n(35581),u=n(95283),c=n(10582);let m=({job:e})=>
2{if(e.isExcluded||!e?.description?.replace(/<[^>]*>?/gm,"")||!e.title||!e.organization)return null;let i=(0,a.useCallback)((e,i,n)=>({"@type":"Place",...i&&n&&{geo:{"@type":"GeoCoordinates",latitude:i,longitude:n}},address:{"@type":"PostalAddress",addressLocality:e.locality||"",addressRegion:e.administrativeArea||"",addressCountry:e.countryCode||"",postalCode:e.zip||"",streetAddress:e.addressLine1||e.addressLine2?`${e.addressLine1} ${e.addressLine2??""}`:""}}),[]),n={locality:"",administrativeArea:"",countryCode:"",zip:"",addressLine1:"",addressLine2:""},r=(0,a.useContext)(c.f),m=Array.isArray(e.location)?e.location:[],v=m.length>0,f=e.latitude&&e.longitude,g=m||e.latitude&&e.description,k=function({applicationWorkflow:e}){return(0,o.Ob)().JOBS?.SCHEMA_ORG?.DIRECT_APPLY??!0?e===s.O.EXTERNAL?null:(e===s.O.INTERNAL||s.O.NONE,"True"):"False"}(e),p=(0,a.useCallback)(()=>{if(v){let n=m.map((n,t)=>{let a=0===t&&f;return i(n,a?e.latitude:null,a?e.longitude:null)});return 1===n.length?n[0]:n}return f?i(n,e.latitude,e.longitude):i(n,null,null)},[i,v,f,m,e.latitude,e.longitude,n]);return g&&(0,t.jsx)(l.Zn,{item:{"@context":"https://schema.org","@type":"JobPosting",title:e.title,description:e.description||"",datePosted:e.published||"",validThrough:function(e){if(e.expiration)return e.expiration;let i=(0,d.A)(new Date(e.published),30),n=(0,d.A)(new Date(e.published),60),t=(0,d.A)(new Date(e.published),365),a=new Date,r=i>a?i:n>a?n:t;return r<a?(0,d.A)(a,30).toISOString():r.toISOString()}(e),employmentType:e.schemaOrgEmployment||"FULL_TIME",...k&&{directApply:k},hiringOrganization:{"@type":"Organization",name:e.organization?e.organization:"",logo:e.logo?.url||e.organizationProfile?.logo?.url||"",...(0,u.T)(e.organizationProfile)&&{sameAs:`${r.host}${e.organizationProfile?.url?.path}`}},jobLocation:p(),...e?.remoteOptions&&e?.remoteOptions?.length>0?{jobLocationType:"TELECOMMUTE",applicantLocationRequirements:{"@type":"Country",name:v&&m[0]&&m[0].countryCode||""}}:null,baseSalary:function({schemaOrgSalary:e}){let i={"@type":"MonetaryAmount"},n={"@type":"QuantitativeValue",unitText:"",value:""};return(e?.defaultCurrency&&(i.currency=e.defaultCurrency),e?.unitText&&(n.unitText=e.unitText),e?.exactValue)?n.value=parseFloat(e.exactValue.number):e?.minValue&&e.maxValue&&(n.minValue=parseFloat(e.minValue.number),n.maxValue=parseFloat(e.maxValue.number)),i.value=n,i}(e)}})};var v=n(97531),f=n(77066),g=n(28701),k=n(90255),p=n(89099),h=n(17611),b=n(8733),j=n(30017),_=n.n(j),x=n(44319),N=n(80841);let y=({children:e,job:i,jobsPage:n})=>{let a=(0,p.useRouter)(),{JOBS:r}=(0,o.WV)(),l=r.UNPUBLISHED_JOB_FADE_HEIGHT_PX,d=(0,h.z9)(i),s=(0,h.Ud)(i),u="full"===a.query.view;return(0,t.jsxs)(t.Fragment,{children:[(d||s)&&(0,t.jsx)(N.s,{alertStyle:"warning",children:(0,t.jsx)("div",{"data-test-id":"job_detail_job_no_longer_active",children:(0,t.jsx)(x.E,{marginTop:0,fontSize:4,textAlign:"center",children:(0,t.jsx)(b.A,{id:"job_detail_job_no_longer_active",defaultMessage:"This job ad is no longer active. Search for {search_url}",values:{search_url:(0,t.jsx)(k.A,{href:n,children:(0,t.jsx)(b.A,{id:"job_detail_link_to_search",defaultMessage:"New jobs"})})}})})})}),(d||s)&&!i.canEdit&&+l>0&&!u?(0,t.jsxs)("div",{className:_().contentFade,style:{height:`${l}px`},"data-test-id":"job_detail_container_fade",children:[e,(0,t.jsx)("div",{id:"overlay",className:_().contentFadeOverlay,style:{height:`${l/3*2}px`}})]}):(0,t.jsx)("div",{"data-test-id":"job_detail_container",children:e})]})};var S=n(49134),F=n(61045),w=n(34219),C=n(18847);let E=n.n(C)()(Promise.resolve().then(n.bind(n,35880)),{loadableGenerated:{webpack:()=>[35880]}}),A=a.memo(({job:e,children:i})=>(0,h.O_)()?(0,t.jsx)(t.Fragment,{children:i}):(0,t.jsx)(E,{initialState:e.bookmarked?[e]:[],children:i}),(e,i)=>e.job.id===i.job.id);var D=n(7753),T=n(47562),I=n(53988);let O="job_alert_frequency";var P=n(14192),L=n(77742),V=n(515),M=n(65516);function J(e,i){return e?.label&&e?.tid?(0,M.oA)({name:i,label:e.label,filter:e.tid.toString(),alias:e.urlAlias??void 0}):null}function z({job:e}){let i=(0,L.A)(),{JOBS:n}=(0,o.WV)(),a=function({job:e,jobsPage:i,jobsLabel:n}){let t=[{label:n,path:i}],a=[],r=J(e.organizationProfile?.industry,M.Ff);r&&(a.push(r),t.push({label:r.label,path:(0,M.$X)(i,a)}));let l=J(e.occupationalField?.find(e=>!!e?.label),M.At);return l&&(a.push(l),t.push({label:l.label,path:(0,M.$X)(i,a)})),e.title&&e.url?.path&&t.push({label:e.title,path:e.url.path}),t}({job:e,jobsPage:n.JOBS_PAGE,jobsLabel:i.formatMessage({id:"jobs",defaultMessage:"Jobs"})});return(0,t.jsx)(V.A,{items:a})}var B=n(16375),q=n.n(B),R=n(52416),$=n(23795),U=n(65656),H=n(79581),K=n(60010);let G=(0,a.memo)(({trackingPixelCode:e,jobId:i,identifier:n})=>{let r=(0,p.useRouter)(),{JOBS:l}=(0,o.WV)(),d=new URLSearchParams(r.query),s=(0,a.useMemo)(()=>(0,h.J8)(e,d,l.JOB_TRACKING_PIXEL_WITH_REQUIRED_FROM_QUERY_PARAMS)??"",[l.JOB_TRACKING_PIXEL_WITH_REQUIRED_FROM_QUERY_PARAMS,e,d]),{strippedJsString:u}=(0,K.v)({content:s,id:i,identifier:n});return u?(0,t.jsx)("div",{style:{height:0},dangerouslySetInnerHTML:{__html:u}},n):null});var W=n(31680),Z=n(69139);let Q=({job:e,editLink:i,fullContainer:n=!1,isPreview:l=!1,overflow:d=!1,jobsPage:s,onApply:u,children:c,noFollowExternalLinks:k=!1,plainTextExternalLinks:p=!1,disableCoverOverlap:b=!1,hideBreadcrumbs:j=!1})=>{let[_,x]=(0,f.X)(),N=(0,a.useContext)(T.Rs),[C,E]=(0,a.useState)(!1),{showModal:V,setShowModal:M}=(0,a.useContext)(D.Td),[J,B]=(0,a.useState)(!1),K=(0,L.A)(),{JOBS:Q}=(0,o.WV)(),Y=Q.JOB_TRACKING_PIXEL_ENABLED,X=(0,h.O_)(),ee=!!(N.user&&N.user.isEligibleForJobApply&&N.user.id==e.ownerId||N.user&&e.applicationRestricted?.restrictionStatus),ei=(0,r.ET)(e);return(0,a.useEffect)(()=>
2{C&&!V&&(E(!1),u())},[V]),(0,t.jsx)("div",{className:!b&&!X&&e.organizationProfile?.cover?.url?q().detailWrapper:"",children:(0,t.jsx)(y,{job:e,jobsPage:s,children:(0,t.jsxs)($.C,{ref:_,type:e.type,overflow:d,isIframe:ei,...e.isHighlight?{"data-test-id":"highlight-job"}:null,children:[!j&&!X&&!l&&(0,t.jsx)(U.K,{paddingLeft:6,paddingTop:7,paddingBottom:3,marginTop:0,children:(0,t.jsx)(z,{job:e})}),(0,t.jsxs)(H.x,{fullContainer:n,overflow:d,verticalLayoutTablet:!0,...Q.JOB_SEARCH_SHOW_ORG_BANNER&&X&&e.organizationProfile?.cover?.url&&{Banner:(0,t.jsx)(P.A,{src:e.organizationProfile.cover.url,width:e.organizationProfile.cover.width??1920,height:e.organizationProfile.cover.height??500,alt:e.organizationProfile.cover.alt??""})},titleElement:n?"h2":"h1",actions:(0,t.jsx)(g.I,{job:e,onApply:()=>{!N.user&&e.applicationRestricted?.restrictionStatus&&"external"!==e.applicationWorkflow&&window.open((0,Z.mC)("/user/register",(0,W.q)(e)),"_self"),function({applicationWorkflow:e},{authenticated:i},n){if(i||!n.APPLICABLE_JOB_APPLICATION_WORKFLOW.includes(e))return!1;let t=parseInt(n.FREQUENCY_DAYS),a=!1;return!isNaN(t)&&((a=!!(0,I.hV)(O))||(0,I.lz)(O,n.FREQUENCY_DAYS,{expires:t})),!a}(e,N,Q.JOB_ALERT.MODAL)?(M(!0),E(!0)):u(),e.clickApplyTrackingPixel&&B(!0)},applicationRestricted:ee}),withBottomMenu:!!N.user?.id,edit:i,Bookmark:(0,t.jsx)(A,{job:e,children:(0,t.jsx)(S.A,{job:e,placement:w.A.JOB_DETAIL,bookmarkMutationCallback:i=>{e.bookmarked=i}})}),...(0,h.PH)(e,K),children:[(0,t.jsx)("div",{children:(0,t.jsxs)(v.A,{whenIdle:!0,children:[ee&&(0,t.jsx)(U.K,{marginTop:0,marginBottom:7,children:(0,t.jsx)(R.A,{message:e.applicationRestricted?.restrictionMessage??""})}),(0,t.jsx)(F.A,{job:e,isPreview:l,isIframe:ei,dimensions:x,noFollowExternalLinks:k,plainTextExternalLinks:p}),"published"===e.workflowState.value&&!X&&!l&&(0,t.jsx)(m,{job:e})]})}),c,Y&&(0,t.jsxs)(t.Fragment,{children:[e.trackingPixel&&(0,t.jsx)(G,{trackingPixelCode:e.trackingPixel,jobId:e.id.toString(),identifier:"job-tracking-px-script"}),J&&(0,t.jsx)(G,{trackingPixelCode:e.clickApplyTrackingPixel,jobId:e.id.toString(),identifier:"job-click-apply-tracking-px-script"})]})]})]})})})};var Y=n(88772),X=n(88993),ee=n(49513),ei=n(97750),en=n(3644);let et=({job:e,user:i,fullContainer:n=!1,overflow:l=!1,children:d,isPreview:s=!1,noFollowExternalLinks:u=!1,plainTextExternalLinks:c=!1,pageType:m=ee.g$.JOB_DETAIL,disableCoverOverlap:v=!1,hideBreadcrumbs:f=!1})=>{let{JOBS:g}=(0,o.WV)(),p=g.JOBS_PAGE,h=(0,X.c)(e);(0,a.useEffect)(()=>{e?.id&&(ei.J.postViewEvent(e.id),(0,ee.t6)(ee.qY.JOB_VISIT,(0,Y.V)(e,i,m)))},[e?.id]);let b=i&&e.canEdit?(0,t.jsx)(k.A,{href:`/job/edit/${e.id}`,children:(0,t.jsx)(en.q,{color:"primary",title:"Edit job"})}):null;return(0,t.jsx)(Q,{job:e,logo:h||"",fullContainer:n,isPreview:s,overflow:l,jobsPage:p,editLink:b,noFollowExternalLinks:u,plainTextExternalLinks:c,disableCoverOverlap:v,hideBreadcrumbs:f,onApply:()=>(0,r.Sx)(e,i,m),children:d})}},12627:e=>{e.exports={previewContainer:"jobForm_previewContainer__73zfo"}},12832:(e,i,n)=>{"use strict";n.d(i,{A:()=>d,u:()=>l});var t=n(37876);n(14232);let a=e=>"currentColor"===e?"":`var(--color-${e})`,r=({title:e,theme:i=null,titleId:n="",...a})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",xmlSpace:"preserve",width:"1em",height:"1em","aria-labelledby":n,...a,children:[e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsxs)("g",{className:"envelope_svg__nc-icon-wrapper",children:[(0,t.jsx)("path",{d:"M12.5 17.9c-.2.1-.3.1-.5.1s-.3 0-.5-.1L0 11.7V23c0 .6.4 1 1 1h22c.6 0 1-.4 1-1V11.7l-11.5 6.2z"}),(0,t.jsx)("path",{d:"M6 12.6V2h12v10.6l5.1-2.8L20 7.5V1c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v6.6L.9 9.9 6 12.6z"}),(0,t.jsx)("path",{"data-color":"color-2",d:"M8 5h8v2H8zM8 9h8v2H8z"})]})]}),l=({color:e="currentColor",title:i,fill:n,...l})=>(0,t.jsx)(r,{color:a(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:a(e),fill:a(e)}}:null,fill:n??a(e),title:i,...l}),d=l},13430:(e,i,n)=>{"use strict";n.d(i,{A:()=>d,_:()=>l});var t=n(37876);n(14232);let a=e=>"currentColor"===e?"":`var(--color-${e})`,r=({title:e,theme:i=null,titleId:n="",...a})=>(0,t.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...a,children:[e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsx)("path",{d:"M1.401.121A2.116 2.116 0 0 0 .19 1.25l-.115.287v23.937l.115.287c.196.424.52.775.928 1.003l.317.172h24.19l.312-.172c.395-.215.714-.548.912-.952l.136-.288V1.487l-.136-.288a2.268 2.268 0 0 0-.922-.967l-.303
2-.156-12.019-.01C3.805.056 1.552.066 1.401.12Zm5.296 3.704c.395.112.749.336 1.018.645.282.27.48.614.575.993.11.464.085.95-.07 1.4a2.313 2.313 0 1 1-1.523-3.038Zm12.79 6.082c.227.04.605.142.842.227 1.436.52 2.202 1.593 2.565 3.598.11.59.11.7.11 4.939v4.334h-3.98l-.03-3.931c-.026-3.578-.036-3.956-.116-4.233a2.318 2.318 0 0 0-.57-1.038c-.328-.303-.61-.408-1.184-.439-1.124-.055-1.814.293-2.207 1.124-.323.69-.323.68-.353 4.788l-.025 3.729h-3.982l-.015-6.44-.01-6.436h3.88v1.79l.137-.202a4.383 4.383 0 0 1 2.973-1.885c.423-.06 1.41-.02 1.965.075ZM8.053 16.564l-.015 6.44H4.057l-.015-6.44-.01-6.435h4.031l-.01 6.435Zm21.24 7.146c-.203.099-.39.232-.548.393a1.864 1.864 0 0 0 .332 2.752c.347.237.767.342 1.184.297a1.83 1.83 0 0 0 .66-3.452c-.216-.116-.337-.14-.76-.156-.5-.02-.51-.015-.867.166Zm1.462.141c.357.159.648.435.827.782.12.241.14.352.14.69 0 .337-.024.453-.135.69a1.638 1.638 0 0 1-2.963.015 1.915 1.915 0 0 1-.02-1.34c.387-.837 1.34-1.21 2.151-.837Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M29.48 25.348v.957h.126c.126 0 .126-.005.126-.428v-.428h.172c.156 0 .186.03.438.428.237.373.287.428.413.428.162 0 .172.03-.171-.488l-.242-.358.136-.035c.328-.081.484-.419.343-.746-.101-.242-.227-.287-.842-.287h-.499v.957Zm1.018-.67c.05.045.091.151.091.247 0 .237-.146.322-.54.322h-.317v-.655h.338c.242 0 .363.025.428.086Z",fill:"currentColor"})]}),l=({color:e="currentColor",title:i,fill:n,...l})=>(0,t.jsx)(r,{color:a(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:a(e),fill:a(e)}}:null,fill:n??a(e),title:i,...l}),d=l},14834:(e,i,n)=>{"use strict";n.r(i),n.d(i,{default:()=>u});var t=n(37876),a=n(14232),r=n(66386),l=n(22993),d=n(21179),s=n(76421),o=n(35856);let u=({entityField:e,fieldRules:i={},...n})=>{let{control:u,setValue:c,getValues:m}=(0,r.xW)(),v=m(),{hidden:f,disabled:g,required:k}=(0,o.bA)(e.id,v,i);return((0,a.useEffect)(()=>{f&&v[e.id]&&c(e.id,null)},[f,v,e]),f)?null:(0,t.jsx)(r.xI,{name:e.id,control:u,render:({field:i,fieldState:{error:a}})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.S,{...i,checked:i.value,id:e.id,required:e.required||k,disabled:e.disabled||g,error:!!a,label:e.label,...n}),e.description&&(0,t.jsx)(d.R,{content:e.description}),!!a&&(0,t.jsx)(s.W,{message:a.message})]})})}},15937:e=>{e.exports={clickableChip:"clickable-chip_clickableChip__CL37G"}},16375:e=>{e.exports={detailWrapper:"detailView_detailWrapper__AAcJZ"}},19667:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createJobAlert"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"data"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"JobAlertInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createJobAlert"},arguments:[{kind:"Argument",name:{kind:"Name",value:"data"},value:{kind:"Variable",name:{kind:"Name",value:"data"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alert"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:136}};i.loc.source={body:"mutation createJobAlert($data: JobAlertInput!) {\n createJobAlert(data: $data) {\n errors\n alert {\n id\n name\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function t(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.createJobAlert=function(e,i){var a={kind:e.kind,definitions:[t(e,i)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=n[i]||new Set,l=new Set,d=new Set;for(r.forEach(function(e){d.add(e)});d.size>0;){var s=d;
2d=new Set,s.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return l.forEach(function(i){var n=t(e,i);n&&a.definitions.push(n)}),a}(i,"createJobAlert")},21963:(e,i,n)=>{"use strict";n.d(i,{AI:()=>c,Br:()=>l,IT:()=>m,LI:()=>o,Wx:()=>a,ii:()=>s,lv:()=>v,yB:()=>r});var t=n(16636);let a=e=>({...e,fields:Object.keys(e.fields).filter(i=>e.fields[i])}),r=(e,i)=>{let n={};return e.forEach(e=>{n={...n,...l(e,i)}}),n},l=(e,i)=>{let n=Object.keys(e.fields),a={};for(let r of n){if("object"==typeof e.fields[r]){a={...a,[r]:d(r,e,i)};continue}let n=e.fields[r];if(i[n]&&i[n].tid){a={...a,[r]:(0,t.DD)(i[n])};continue}if(i[n]&&i[n].length>0&&i[n][0].tid){a={...a,[r]:(0,t.BC)(i[n])};continue}i[n]&&"Image"===i[n].__typename&&(a=i[n].url?{...a,[r]:i[n].url}:{...a,[r]:null}),a={...a,[r]:i[n]}}return a},d=(e,i,n)=>{let t=i.fields[e],a={};return t&&Object.keys(t.fields).forEach(r=>{if("object"==typeof t.fields[e])a={...a,[r]:d(r,i,n)};else{let e=t.fields[r];a={...a,[r]:n?.[t.name]?.[e]}}}),a},s=(e,i,n=!1)=>{let t={};return e.forEach(e=>{t={...t,...o(e,i,n)}}),t},o=(e,i,n=!1)=>{let t=Object.keys(e.fields),a={};for(let r of t){let t=e.fields[r];if(t){if(i[r]&&i[r].tid&&!i[r].level){a={...a,[t]:n?{tid:i[r].tid,label:i[r].name}:i[r].tid};continue}if(i[r]&&i[r].length>0&&i[r][0]?.tid&&!i[r][0]?.level){a={...a,[t]:i[r].map(e=>n?{tid:e.tid,label:e.label}:e.tid)};continue}if(i[r]&&i[r].length>0&&i[r][0]?.term&&i[r][0]?.level>=0&&i[r][0]?.term?.tid===0){a={...a,[t]:i[r].map(e=>({level:e.level,label:e.term.label}))};continue}if(i[r]&&i[r].length>0&&i[r][0]?.term&&i[r][0]?.level>=0){a={...a,[t]:i[r].map(({term:e,__typename:i,label:n,...t})=>({tid:e.tid,...t}))};continue}if(e.fields[r]&&"object"==typeof e.fields[r]){let n=e.fields[r];if(!i?.[r]||0===Object.keys(i?.[r]).length){a={...a,[n.name]:void 0};continue}a={...a,[n.name]:u(r,e,i)};continue}a={...a,[t]:i[r]}}}return a},u=(e,i,n)=>{let t=i.fields[e],a={};return t&&Object.keys(t.fields).forEach(r=>{"object"==typeof t.fields[e]?a={...a,[t.fields[r]]:u(r,i,n)}:n?.[e]&&(a={...a,[t.fields[r]]:n[e][r]})}),a},c=(e,i)=>i.privateFields?.[e],m=(e,i)=>{if(!i?.includes)return!1;let n=0,t=Object.keys(e.fields);for(let e of t)i.includes(e)&&n++;return n===t.length},v=e=>Object.values(e).sort((i,n)=>{let t=i?.order??Object.keys(e).indexOf(i.key),a=n?.order??Object.keys(e).indexOf(n.key);return t<a?-1:+(t>a)}).reduce(function(e,i){return e[i.key]=i,e},{})},22183:(e,i,n)=>{"use strict";n.d(i,{U:()=>u,e:()=>o});var t=n(14232),a=n(5970),r=n(10582),l=n(31167),d=n(4132),s=n.n(d);function o(e){let[i,n]=(0,t.useState)(null),{path:l}=(0,t.useContext)(r.f);return(0,t.useEffect)(()=>{n((0,a.r_)(l)??null)},[l]),i}function u(e,i){let n=null,{error:t,data:a}=(0,l.I)(s(),{variables:{language:i},skip:e});return e||t||a?.getDefaultProduct?.type!=="job_bundle"||(n=a.getDefaultProduct),n}},25849:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"addJob"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"data"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"JobInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"addJob"},name:{kind:"Name",value:"createJob"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"EnumValue",value:"JOB_PER_TEMPLATE"}},{kind:"Argument",name:{kind:"Name",value:"data"},value:{kind:"Variable",name:{kind:"Name",value:"data"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentResponse"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"job"},name:{kind:"Name",value:"content"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Job"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"urlNoPrefix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ownerId"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:305}};i.loc.source={body:"mutation addJob($data: JobInput!) {\n addJob: createJob(type: JOB_PER_TEMPLATE, data: $data) {\n errors\n ... on ContentResponse {\n job: content {\n ... on Job {\n id\n url {\n path\n }\n urlNoPrefix\n ownerId\n }\n }\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function t(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}i.definitions.forEach(function(e){if(e.name){var i=new Set;
2!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.addJob=function(e,i){var a={kind:e.kind,definitions:[t(e,i)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=n[i]||new Set,l=new Set,d=new Set;for(r.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return l.forEach(function(i){var n=t(e,i);n&&a.definitions.push(n)}),a}(i,"addJob")},26483:(e,i,n)=>{"use strict";n.d(i,{Q4:()=>t}),n(2876),n(92535),n(53988),n(62656),n(97878);let t=(e,i,n=" | ")=>e.filter(e=>e.name===i).map(e=>e.values.map(e=>e.label)).join(n)},26951:(e,i,n)=>{"use strict";n.r(i),n.d(i,{TextLongWidget:()=>p,default:()=>p});var t=n(37876),a=n(14232),r=n(66386),l=n(8733),d=n(34952),s=n(76421),o=n(57738),u=n(45062),c=n(21179),m=n(3098),v=n(44319),f=n(81068),g=n(35898),k=n(35856);function p({entityField:e,fieldRules:i={},...n}){let h,{setValue:b,getValues:j,control:_}=(0,r.xW)(),x=j(),{hidden:N,required:y}=(0,k.bA)(e.id,x,i),S=(h=e.settings.filter(e=>"form_settings"===e.key)).length>0&&h[0].value.rows?h[0].value.rows:10,F=(0,g.P)(e),w=0===F;return((0,a.useEffect)(()=>{N&&x[e.id]&&b(e.id,null)},[N,x,e]),N)?null:(0,t.jsx)("div",{id:e.id,children:(0,t.jsx)(r.xI,{name:e.id,control:_,render:({field:i,fieldState:{error:r}})=>{let g=F-(0,a.useDeferredValue)(i.value?.length??0);return g<0&&(g=0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(o.e,{children:[(0,t.jsx)(u.l,{required:e.required||y,htmlFor:i.name,children:e.label}),(0,t.jsx)(d.P,{...i,...n,id:i.name,placeholder:(0,f.G)(e),rows:S,onChange:(e,n)=>{b(i.name,n.getData(),{shouldValidate:!0})},content:i.value,maxLength:(0,f.P)("max_length",e)}),(0,t.jsxs)(m.q,{gap:10,justifyContent:"space-between",className:"vcl-full-width",children:[e.description&&(0,t.jsx)(c.R,{content:e.description}),e.allowedFormatsMaxTextLength?.length>0&&!w&&(0,t.jsx)(v.E,{marginTop:4,fontSize:2,...0===g&&{color:"danger"},children:(0,t.jsx)(l.A,{id:"number_of_characters_remaining",defaultMessage:"{remainingCharacters} characters remaining",values:{remainingCharacters:g}})})]})]}),!!r&&(0,t.jsx)(s.W,{message:r.message})]})}})})}},28579:(e,i,n)=>{"use strict";n.d(i,{J:()=>m,l:()=>f});var t=n(37876),a=n(57738),r=n(45062),l=n(21179),d=n(15039),s=n.n(d),o=n(14232),u=n(80228),c=n.n(u);let m=(e,i=" ")=>`${i.repeat(e.depth??0)} ${e.name}`,v=()=>(0,t.jsx)("svg",{viewBox:"0 0 20 20",preserveAspectRatio:"none",width:16,fill:"transparent",stroke:"#979797",strokeWidth:"1.1px",children:(0,t.jsx)("path",{d:"M1,6 L10,15 L19,6"})}),f=(0,o.forwardRef)(({id:e,items:i=[],label:n,description:d,error:o=!1,required:u=!1,onChange:f,onBlur:g,selectedValue:k,emptyValue:p,name:h},b)=>{let j,_=(j=i.filter(e=>e.code===k)).length>0?j[0].code:"";return(0,t.jsxs)(a.e,{children:[n&&(0,t.jsx)(r.l,{error:o,required:u,htmlFor:e,children:n}),(0,t.jsxs)("div",{className:s()(c().relative,"jobiqo-select__wrapper"),children:[(0,t.jsxs)("select",{className:c().select,id:e,name:h,required:u,style:{borderColor:o?"var(--color-danger)":"var(--select-border-color)"},onChange:e=>{f&&f(i.filter(i=>i.code===e.target.value)[0])},onBlur:g,value:_||"",ref:b,children:[p?(0,t.jsx)("option",{value:"",disabled:u,children:p}):null,i.map(e=>(0,t.jsx)("option",{value:e.code,children:m(e,"-")},e.code))]}),(0,t.jsx)(v,{})]}),d&&(0,t.jsx)(l.R,{children:d})]})})},29261:e=>{e.exports={hideDesktop:"visibility_hideDesktop__aQ5a0",hideMobile:"visibility_hideMobile__oJeQo",hideLarge:"visibility_hideLarge__UNKWE",hideTablet:"visibility_hideTablet__eyfiV"}},29913:e=>{e.exports={item:"item_item__34fcQ"}},30017:e=>{e.exports={contentFade:"container_contentFade__I0JvT",contentFadeOverlay:"container_
2contentFadeOverlay__41vPI"}},32024:(e,i,n)=>{"use strict";n.d(i,{Z:()=>p});var t=n(37876),a=n(14232),r=n(28579),l=n(57738),d=n(45062),s=n(21179),o=n(12140),u=n(69425),c=n(30775),m=n(83687),v=n(39653),f=n.n(v),g=n(57370);let k={width:"100%"},p=(0,a.forwardRef)(({id:e,name:i,error:n=!1,placeholder:v="Search something here...",values:p,items:h=[],label:b,description:j,required:_=!1,showSuggestionsOnClick:x=!0,onChange:N,onInputChange:y,onBlur:S,selectedMark:F="Selected",hasFreeItems:w=!1,freeItemsAddButtonText:C="Add new term"},E)=>{let[A,D]=(0,a.useState)(""),[T,I]=(0,a.useState)([]),[O,P]=(0,a.useState)(!1),L=(0,g.d)(A,200),V=a.useCallback(e=>{N&&p.length&&!A.length&&8===e.keyCode&&N(p.slice(0,p.length-1),T)},[N,p,A.length,T]),M=a.useCallback(e=>{if(p.includes(e)){let i=p.filter(i=>i!==e);N&&N(i,T)}else{let i=T.filter(i=>i!==e);I(i),N&&N(p,i)}},[p,T,N]),J=e=>{D(e.target.value),y&&y(e.target.value),w&&(h.map(e=>e.name).includes(e.target.value)?P(!1):P(!0))},z=a.useCallback(()=>{let e=[...T,A];I(e),P(!1),D(""),N&&N(p,e)},[T,A,N,p]),B=a.useMemo(()=>e=>{let i=h.find(i=>i.code===e);return i?i.name:e},[h]),q=a.useMemo(()=>L.length?(0,c.Ht)(h.map(e=>e.name),L,{threshold:c.Ht.rankings.CONTAINS}):h.map(e=>e.name),[L,h]),R=a.useMemo(()=>h.filter(e=>q.includes(e.name)),[h,q]),$=a.useMemo(()=>{var e,i;return e=R,i=p,e.filter(e=>-1===i.indexOf(e.code)).reduce((e,i,n)=>(e[i.code]=n,e),{})},[R,p]);return(0,t.jsxs)(l.e,{children:[b&&(0,t.jsx)(d.l,{error:n,required:_,htmlFor:e,children:b}),(0,t.jsx)(u.Ay,{inputValue:A,onChange:e=>{N&&e&&(a.startTransition(()=>{N([...p,e.code],T)}),D(""))},selectedItem:w&&T.length>0?[...p,...T]:p,itemToString:e=>e?e.code:"",labelId:e,children:({getInputProps:l,getItemProps:d,getRootProps:s,getLabelProps:u,openMenu:c,highlightedIndex:g,isOpen:h,selectedItem:j})=>(0,t.jsxs)("div",{style:k,children:[(0,t.jsxs)("div",{className:f().inputWrapper,style:{borderColor:n?"var(--color-danger)":"var(--select-border-color)"},onClick:()=>{x&&c()},children:[j?.map(e=>(0,t.jsxs)("span",{className:f().spanElement,onClick:()=>{M(e)},children:[B(e),"\xa0",(0,t.jsx)(o.A,{title:"Close"})]},e)),(0,t.jsx)("input",{className:f().downshiftInput,...l({placeholder:v,name:i,id:e,"aria-labelledby":e,"aria-label":b,onChange:J,onKeyDown:V,onBlur:S,ref:E})})]}),h&&(0,t.jsx)("div",{className:f().itemsWrapper,children:R.map(e=>{let i=-1!==p.indexOf(e.code),n=i?{}:d({item:e,index:$[e.code]});return(0,a.createElement)(m.q,{...n,isActive:g===$[e.code],key:e.code,children:[(0,r.J)(e),i&&(0,t.jsx)("span",{className:f().itemLabel,children:F},e.code)]})})}),w&&O&&(0,t.jsx)("button",{className:f().freeTermsButton,onClick:z,children:C})]})}),j&&(0,t.jsx)(s.R,{children:j})]})})},32521:(e,i,n)=>{"use strict";n.d(i,{A:()=>d,X:()=>l});var t=n(37876);n(14232);let a=e=>"currentColor"===e?"":`var(--color-${e})`,r=({title:e,theme:i=null,titleId:n="",...a})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"1em",height:"1em","aria-labelledby":n,...a,children:[e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsxs)("g",{className:"lock_svg__nc-icon-wrapper",children:[(0,t.jsx)("circle",{cx:32,cy:38,r:2}),(0,t.jsx)("path",{d:"m56.242 8.031-24-6a.968.968 0 0 0-.484 0l-24 6A1 1 0 0 0 7 9v28a25 25 0 0 0 50 0V9a1 1 0 0 0-.758-.969ZM25 23a7 7 0 0 1 14 0v5h-2v-5a5 5 0 0 0-10 0v5h-2Zm18 22a1 1 0 0 1-1 1H22a1 1 0 0 1-1-1V31a1 1 0 0 1 1-1h20a1 1 0 0 1 1 1Z"})]})]}),l=({color:e="currentColor",title:i,fill:n,...l})=>(0,t.jsx)(r,{color:a(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:a(e),fill:a(e)}}:null,fill:n??a(e),title:i,...l}),d=l},32535:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"addJob"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"data"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"JobInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"addJob"},name:{kind:"Name",value:"createJob"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"EnumValue",value:"JOB_PER_LINK"}},{kind:"Argument",name:{kind:"Name",value:"data"},value:{kind:"Variable",name:{kind:"Name",value:"data"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentResponse"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"job"},name:{kind:"Name",value:"content"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Job"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"urlNoPrefix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ownerId"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:301}};i.loc.source={body:"mutation addJob($data: JobInput!) {\n addJob: createJob(type: JOB_PER_LINK, data: $data) {\n errors\n ... on ContentResponse {\n job: content {\n ... on Job {\n id\n url {\n path\n }\n urlNoPrefix\n ownerId\n }\n }\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function t(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}i.definitions.forEach(function(e){if(e.name){var i=new Set;
2!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.addJob=function(e,i){var a={kind:e.kind,definitions:[t(e,i)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=n[i]||new Set,l=new Set,d=new Set;for(r.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return l.forEach(function(i){var n=t(e,i);n&&a.definitions.push(n)}),a}(i,"addJob")},33110:(e,i,n)=>{"use strict";n.d(i,{Xh:()=>c,c0:()=>m,rE:()=>u,wP:()=>v});var t=n(35181),a=n(64567),r=n.n(a),l=n(56144),d=n.n(l),s=n(92172),o=n.n(s);let u=()=>(0,t.J1)` 3 ${d()} 4 ${r()} 5 query organizationProfileById($id: Int!) { 6 organizationProfileById(id: $id) { 7 errors 8 content { 9 ... on OrganizationProfile { 10 ...OrganizationFragment 11 ...CustomOrganizationFields 12 } 13 } 14 } 15 } 16 `,c=(e=!1)=>(0,t.J1)` 17 ${d()} 18 ${e?o():""} 19 ${r()} 20 query organizationProfileByPath($path: String!, $language: String) { 21 organizationProfileByPath(path: $path, language: $language) { 22 errors 23 ... on ErrorResponse { 24 code 25 reason 26 errors 27 } 28 ... on ContentResponse { 29 content { 30 ... on OrganizationProfile { 31 ...OrganizationFragment 32 ...CustomOrganizationFields 33 ${e?"...OrganizationMinisiteFragment":""} 34 } 35 } 36 } 37 } 38 route(path: $path) { 39 ... on ErrorResponse { 40 code 41 } 42 ... on RedirectResponse { 43 code 44 target 45 } 46 } 47 } 48 `,m=()=>(0,t.J1)` 49 ${r()} 50 query organizationProfileByUserId($id: Int!) { 51 organizationProfileByUserId(id: $id) { 52 errors 53 content { 54 ... on OrganizationProfile { 55 frontends 56 workflowState { 57 value 58 } 59 ...CustomOrganizationFields 60 } 61 } 62 } 63 } 64 `,v=()=>(0,t.J1)` 65 query getAgencyOrganizations($id: Int!) { 66 getAgencyOrganizations(id: $id) { 67 ... on Organization { 68 name 69 id 70 } 71 } 72 } 73 `},34952:(e,i,n)=>{"use strict";n.d(i,{A:()=>v,P:()=>m});var t=n(37876),a=n(14232),r=n(10582),l=n(35581),d=n(47562),s=n(78805),o=n(91098);n(85202);var u=n(66742),c=n.n(u);let m=a.forwardRef(({id:e,content:i="",placeholder:u="",onChange:m,onBlur:v,onFocus:f,rows:g=3,maxLength:k},p)=>{var h;let b=(0,a.useContext)(d.Rs),{locale:j}=(0,a.useContext)(r.B),{USER:_}=(0,l.WV)(),[x,N]=(0,a.useState)(null),{CKEditor:y,ClassicEditor:S}=x||{},F=(0,a.useMemo)(()=>"en"===j?"en-gb":"es-419"===j?"es":j,[j]);(0,a.useEffect)(()=>{let e=!0;return Promise.all([n.e(1804).then(n.bind(n,31804)),Promise.all([n.e(8882),n.e(4799),n.e(1384),n.e(4955),n.e(3869),n.e(629),n.e(7273),n.e(8220),n.e(9549)]).then(n.bind(n,49897)),n(36388)(`./${F}.js`).catch(()=>(e&&console.error(`CKEditor does not support ${j} language config.`),null))]).then(([i,n,t])=>{e&&N({CKEditor:i.CKEditor,ClassicEditor:n.ClassicEditor,plugins:[n.Autoformat,n.BlockQuote,n.Bold,n.Essentials,n.Heading,n.Indent,n.Italic,n.Link,n.List,n.MediaEmbed,n.Paragraph,n.PasteFromOffice,n.Table,n.TableToolbar],translations:t?.default})}).catch(i=>{e&&console.error("Failed to load CKEditor.",i)}),()=>{e=!1}},[j,F]),(0,a.useEffect)(()=>{document.documentElement.style.setProperty("--ck-editor-rows",g.toString())},[g]);let w=(h=b.user,h?(0,s.vT)(h)||(0,s.Gv)(h)?_.APPLICANT.editor:(0,s.Gv)(h)?_.RECRUITER.editor:(0,s.qc)(h)?_.ADMIN.editor:null:_.ANON.editor),C=(0,a.useMemo)(()=>({...w,licenseKey:"GPL",plugins:x?.plugins||[],ui:{height:"300px",viewportOffset:{top:0}},toolbar:{items:w.toolbar},language:F,...x?.translations?{translations:x.translations}:{},placeholder:u}),[w,x,F,u]);return(0,t.jsx)("div",{className:c().editorWrapper,children:y&&S?(0,t.jsx)(y,{ref:p,editor:S,onReady:e=>{window.CKEDITOR=e},data:i,config:C,onChange:m,onBlur:v,onFocus:f},e):(0,t.jsx)(o.T,{rows:g,disabled:!0,maxLength:k},e)})}),v=m},36274:(e,i,n)=>{"use strict";n.r(i),n.d(i,{__N_SSP:()=>L,default:()=>V});var t=n(37876),a=n(14232),r=n(8541),l=n.n(r),d=n(32535),s=n.n(d),o=n(25849),u=n.n(o),c=n(64177),m=n(77742),v=n(8733),f=n(53248),g=n(53988),k=n(89099),p=n.n(k),h=n(47562),b=n(63200),j=n(21963),_=n(35581),x=n(90336),N=n(10582),y=n(59534),S=n(78805),F=n(51611),w=n(54827),C=n(80841),E=n(51666),A=n(5970),D=n(90805),T=n.n(D),I=n(59584),O=n(22183);let P=({jobType:e})=>{let i=(0,m.A)(),n=null,{JOBS:r}=(0,_.WV)(),d=Object.values(r.JOB_DETAIL_FIELDS),o=(0,a.useContext)(h.Rs),k=(0,a.useContext)(N.f),D=(0,a.useContext)(N.B),{stepsInfo:P}=(0,w.$)(x.xr.New),{bundles:L}=(0,E.N)(),V=(0,b.o)(),M=(0,A.y0)(L,k.querystring),J=(0,O.U)(!!M,D.locale);(0,I.v)(M??J,D.locale);let z=P.findIndex(e=>e.page===k.pathname),B=z===P.length-1,[q,{data:R,loading:$,error:U}]=(0,c.n)((e=>{switch(e){case F.A.JOB_PER_TEMPLATE:return u();case F.A.JOB_PER_LINK:return s();case F.A.JOB_PER_FILE:return l()}})(e),{update(e,i){e.evict({fieldName:"organizationJobs"})}});(U||R&&!R.addJob)&&(n=(0,t.jsx)(C.s,{alertStyle:"danger",type:"assertive",children:(0,t.jsx)(v.A,{id:"job_create_error",defaultMessage:"There was an error creating the job."})})),R?.addJob?.errors?.length>0&&(n=(0,t.jsx)(f.k,{errors:R.addJob.errors}));let[H,{data:K,loading:G,error:W}]=(0,c.n)(T());W&&(n=(0,t.jsx)(C.s,{alertStyle:"danger",type:"assertive",children:(0,t.jsx)(v.A,{id:"job_order_create_error",defaultMessage:"There was an error creating the order."})})),K?.jobCheckoutOrder?.errors?.length>0&&(n=(0,t.jsx)(f.k,{errors:K.jobCheckoutOrder.errors}));let Z=[...R?.addJob?.errors||[],...K?.jobCheckoutOrder?.errors||[]];return(0,t.jsx)(y.A,{errorList:n,fieldErrorList:Z,jobType:e,submitting:$||G,bundle:M,onSubmit:e=>{let n=(0,j.ii)(d,{...e});n.anonymousUserToken=(0,g.So)(),n.bundle=M?.id,q({variables:{data:Object.assign(n,{organizationProfileId:o?.currentOrganizationProfile?.id})}}).then(e=>{e.data?.addJob?.job&&((e,i,n,t,a,r,l,d,s,o,u)=>{if(0!==e.data.addJob.job.ownerId)if(s&&s.isUserApprovedAndVerified&&a){let e=r.edit===x.xr.Republish?x.xr.Republish:r.edit===x.xr.Upgrades?x.xr.Upgrades:x.xr.New,n=[];u&&n.push(u.id),(0,A.VT)(a,r,i,l,d,e,o,n)}else p().replace("/job-manager").then(()=>{n.addMessage({type:"warning",text:t.formatMessage({id:"job_saved_account_verification_needed",defaultMessage:"Your job was saved, In order to publish it you need to verify your account first."})})});else p().replace(`/user/register/${S.$G}`).then(()=>{n.addMessage({type:"success",text:t.formatMessage({id:"job_create_redirect_registration",defaultMessage:"Your job was saved, you need to register to complete the job publishing."})})})})(e,P[z+1].page,V,i,e.data?.addJob?.job?.id,k.querystring,B,H,o.user,D.locale,M)})}})};(0,n(37839).q)({gssp:async({query:e})=>{let i=e.jobType?.toString()||"job_per_template";return["job_per_template","job_per_link","job_per_file"].includes(i)||(i="job_per_template"),{props:{jobType:i}}}});var L=!0;let V=({jobType:e})=>(0,t.jsx)(E.V,{children:(0,t.jsx)(P,{jobType:e})})},36388:(e,i,n)=>{var t={"./af.js":[12716,2716],"./af.umd.js":[94132,4132],"./ar.js":[25624,5624],"./ar.umd.js":[62992,2992],"./ast.js":[42793,2793],"./ast.umd.js":[55189,5189],"./az.js":[79072,9072],"./az.umd.js":[38456,8456],"./be.js":[61510,1510],"./be.umd.js":[82754,2754],"./bg.js":[80260,260],"./bg.umd.js":[56844,6844],"./bn.js":[59263,9263],"./bn.umd.js":[25551,5551],"./bs.js":[70064,64],"./bs.umd.js":[78408,8408],"./ca.js":[8727,8727],"./ca.umd.js":[99911,9911],"./cs.js":[22305,2305],"./cs.umd.js":[96589,6589],"./da.js":[50676,676],"./da.umd.js":[93148,3148],"./de-ch.js":[14884,4884],"./de-ch.umd.js":[72460,2460],"./de.js":[91984,1984],"./de.umd.js":[12712,2712],"./el.js":[44186,4186],"./el.umd.js":[74662,4662],"./en-au.js":[5673,5673],"./en-au.umd.js":[46101,6101],"./en-gb.js":[52466,2466],"./en-gb.umd.js":[27742,7742],"./en.js":[94840,4840],"./en.umd.js":[59440,9440],"./eo.js":[28043,8043],"./eo.umd.js":[667,667],"./es-co.js":[49188,9188],"./es-co.umd.js":[78828,8828],"./es.js":[76535,6535],"./es.umd.js":[64615,4615],"./et.js":[75826,5826],"./et.umd.js":[31774,1774],"./eu.js":[39549,1930],"./eu.umd.js":[78057,8057],"./fa.js":[22974,2974],"./fa.umd.js":[8890,8890],"./fi.js":[52614,2614],"./fi.umd.js":[92706,2706],"./fr.js":[42031,2031],"./fr.umd.js":[1663,1663],"./gl.js":[75868,5868],"./gl.umd.js":[77508,7508],"./gu.js":[44471,4471],"./gu.umd.js":[96679,6679],"./he.js":[80132,132],"./he.umd.js":[10604,604],"./hi.js":[23576,3576],"./hi.umd.js":[56080,6080],"./hr.js":[30973,973],"./hr.umd.js":[6057,6057],"./hu.js":[53140,3140],"./hu.umd.js":[77404,7404],"./hy.js":[75912,3531],"./hy.umd.js":[98816,8816],"./id.js":[32470,2470],"./id.umd.js":[13682,3682],"./it.js":[55302,5302],"./it.umd.js":[78914,8914],"./ja.js":[35626,5626],"./ja.umd.js":[58390,8390],"./jv.js":[54495,4495],"./jv.umd.js":[20975,975],"./kk.js":[96289,6289],"./kk.umd.js":[54490,2109],"./km.js":[85651,5651],"./km.umd.js":[42435,2435],"./kn.js":[37026,7026],"./kn.umd.js":[3438,3438],"./ko.js":[85325,5325],"./ko.umd.js":[21049,1049],"./ku.js":[41243,1243],"./ku.umd.js":[92587,2587],"./lt.js":[99611,9611],"./lt.umd.js":[38123,8123],"./lv.js":[87669,7669],"./lv.umd.js":[85953,5953],"./ms.js":[52447,2447],"./ms.umd.js":[97711,7711],"./nb.js":[59783,9783],"./nb.umd.js":[46647,6647],"./ne.js":[36578,6578],"./ne.umd.js":[66254,6254],"./nl.js":[27493,7493],"./nl.umd.js":[79281,9281],"./no.js":[55256,5256],"./no.umd.js":[6576,6576],"./oc.js":[11637,1637],"./oc.umd.js":[43521,3521],"./pl.js":[64343,4343],"./pl.umd.js":[40423,423],"./pt-br.js":[21990,1990],"./pt-br.umd.js":[74402,4402],"./pt.js":[73759,3759],"./pt.umd.js":[24079,4079],"./ro.js":[32588,2588],"./ro.umd.js":[21524,1524],"./ru.js":[96454,6454],"./ru.umd.js":[77666,7666],"./si.js":[17247,7247],"./si.umd.js":[71631,1631],"./sk.js":[21497,1497],"./sk.umd.js":[47621,7621],"./sl.js":[21528,1528],"./sl.umd.js":[32816,2816],"./sq.js":[37527,7527],"./sq.umd.js":[76871,6871],"./sr-latn.js":[13860,3860],"./sr-latn.umd.js":[28108,8108],"./sr.js":[34166,4166],"./sr.umd.js":[82098,2098],"./sv.js":[27602,7602],"./sv.umd.js":[92926,2926],"./th.js":[50399,399],"./th.umd.js":[90799,799],"./ti.js":[11996,1996],"./ti.umd.js":[58180,8180],"./tk.js":[80414,414],"./tk.umd.js":[85946,5946],"./tr.js":[77745,7745],"./tr.umd.js":[70141,141],"./tt.js":[41827,1827],"./tt.umd.js":[58995,8995],"./ug.js":[90211,211],"./ug.umd.js":[88787,8787],"./uk.js":[83823,3823],"./uk.umd.js":[79711,9711],"./ur.js":[4,4],"./ur.umd.js":[54348,4348],"./uz.js":[62428,2428],"./uz.umd.js":[38884,8884],"./vi.js":[63414,3414],"./vi.umd.js":[58610,8610],"./zh-cn.js":[43729,3729],"./zh-cn.umd.js":[82269,2269],"./zh.js":[24717,4717],"./zh.umd.js":[70553,553]};function a(e){if(!n.o(t,e))return Promise.resolve().then(()=>{var i=Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i});var i=t[e],a=i[0];return n.e(i[1]).then(()=>n(a))}a.keys=()=>Object.keys(t),a.id=36388,e.exports=a},37839:(e,i,n)=>{"use strict";n.d(i,{q:()=>a});var t=n(78805);let a=({gssp:e,redirectTo:i="/403"})=>async n=>{let a=await (0,t.wz)(n);return await (0,t.vT)(a)?{redirect:{destination:i,permanent:!1},props:{}}:e?await e(n):{props:{}}}},38661:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"previewLinkContent"}
73,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"url"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"previewContent"},name:{kind:"Name",value:"previewLinkContent"},arguments:[{kind:"Argument",name:{kind:"Name",value:"url"},value:{kind:"Variable",name:{kind:"Name",value:"url"}}}],directives:[]}]}}],loc:{start:0,end:89}};i.loc.source={body:"query previewLinkContent($url:String!) {\n previewContent:previewLinkContent(url:$url)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function t(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.previewLinkContent=function(e,i){var a={kind:e.kind,definitions:[t(e,i)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=n[i]||new Set,l=new Set,d=new Set;for(r.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return l.forEach(function(i){var n=t(e,i);n&&a.definitions.push(n)}),a}(i,"previewLinkContent")},38713:e=>{e.exports={inputIcon:"textarea_inputIcon__DX2s2",inputWrapper:"textarea_inputWrapper__NUcxM",iconStart:"textarea_iconStart__ms5Xd",iconEnd:"textarea_iconEnd__uCDcG",jclInputClear:"textarea_jclInputClear__vxe1c",input:"textarea_input__HU2QO",inputError:"textarea_inputError__gpSWx",inputIconEnd:"textarea_inputIconEnd__lPSfe",inputIconStart:"textarea_inputIconStart__5HyZa",textarea:"textarea_textarea__OXKs9"}},39653:e=>{e.exports={itemLabel:"multiple_itemLabel__KpIgS",inputWrapper:"multiple_inputWrapper__2dOVD",downshiftInput:"multiple_downshiftInput__74Vq1",spanElement:"multiple_spanElement__iSvqQ",itemsWrapper:"multiple_itemsWrapper__28aPr",freeTermsButton:"multiple_freeTermsButton__WKghh"}},42692:(e,i,n)=>{"use strict";n.d(i,{A:()=>d,y:()=>l});var t=n(37876);n(14232);let a=e=>"currentColor"===e?"":`var(--color-${e})`,r=({title:e,theme:i=null,titleId:n="",...a})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",xmlSpace:"preserve",width:"1em",height:"1em","aria-labelledby":n,...a,children:[e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsxs)("g",{className:"graduation_cap_svg__nc-icon-wrapper",children:[(0,t.jsx)("path",{d:"m62.423 17.094-30-14a1.001 1.001 0 0 0-.846 0l-30 14a.999.999 0 0 0 0 1.812l30 14a.992.992 0 0 0 .846 0L43 27.97v25.71l-4.814 6.739A1 1 0 0 0 39 62h10a.999.999 0 0 0 .814-1.581L45 53.68V27.037l17.423-8.131a.999.999 0 0 0 0-1.812z"}),(0,t.jsx)("path",{"data-color":"color-2",d:"m41 31.111-7.731 3.608c-.394.183-.833.281-1.269.281s-.875-.098-1.27-.281L11 25.511V42c0 5.607 9.224 10 21 10 3.244 0 6.283-.343 9-.944V31.111zM47 28.311v20.748c3.726-1.796 6-4.277 6-7.059V25.51l-6 2.801z"})]})]}),l=({color:e="currentColor",title:i,fill:n,...l})=>(0,t.jsx)(r,{color:a(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:a(e),fill:a(e)}}:null,fill:n??a(e),title:i,...l}),d=l},44300:(e,i,n)=>{"use strict";n.d(i,{A:()=>d,i:()=>l});var t=n(37876);n(14232);let a=e=>"currentColor"===e?"":`var(--color-${e})`,r=({title:e,theme:i=null,titleId:n="",...a})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32","aria-labelledby":n,...a,children:[e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsx)("path",{d:"M6.261 25.953a2.751 2.751 0 0 1-1.495-.5A5.844 5.844 0 0 1 3.01 23.5 5.867 5.867 0 0 1 2.2 21a2.266 2.266 0 0 1 .978-2.218 1.929 1.929 0 0 1 1.5-.162A4.894 4.894 0 0 1 7.34 21a5.87 5.87 0 0 1 .812 2.5 2.266 2.266 0 0 1-.977 2.218 1.811 1.811 0 0 1-.914.235ZM4.1 20.545Zm-.42-.893Z",fill:"currentColor","data-color":"color-2"}),(0,t.jsx)("path",{d:"M15 30.434V18.31a3 3 0 0 0-1.5-2.6L3 9.649v7.058a3.861 3.861 0 0 1 1.093-.162 4.237 4.237 0 0 1 1.1.148A6.8 6.8 0 0 1 9.072 20a7.9 7.9 0 0 1 1.077 3.377A4.421 4.421 0 0 1 8.883 26.9Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M24.825 25.714a2.266 2.266 0 0 1-.977-2.218A5.87 5.87 0 0 1 24.66 21a4.894 4.894 0 0 1 2.67-2.376 1.929 1.929 0 0 1 1.5.162A2.266 2.266 0 0 1 29.8 21a6.331 6.331 0 0 1-2.569 4.448 2.751 2.751 0 0 1-1.5.5 1.811 1.811 0 0 1-.906-.234Zm3.08
73-5.169Zm.41-.893Z",fill:"currentColor","data-color":"color-2"}),(0,t.jsx)("path",{d:"M17 30.434V18.31a3 3 0 0 1 1.5-2.6L29 9.649v7.058a3.861 3.861 0 0 0-1.093-.162 4.237 4.237 0 0 0-1.1.148A6.8 6.8 0 0 0 22.928 20a7.9 7.9 0 0 0-1.077 3.377 4.421 4.421 0 0 0 1.266 3.523ZM21.894 4.392C21.387 6.527 19.066 8 16 8s-5.387-1.473-5.894-3.608L4 7.917l10.5 6.063a3 3 0 0 0 3 0L28 7.917Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M16 6c-2.318 0-4-1.052-4-2.5S13.682 1 16 1s4 1.052 4 2.5S18.318 6 16 6Zm2.017-2.417Z",fill:"currentColor","data-color":"color-2"})]}),l=({color:e="currentColor",title:i,fill:n,...l})=>(0,t.jsx)(r,{color:a(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:a(e),fill:a(e)}}:null,fill:n??a(e),title:i,...l}),d=l},44565:(e,i,n)=>{"use strict";n.d(i,{W:()=>eJ});var t=n(37876),a=n(14232),r=n(77742),l=n(8733),d=n(93619),s=n(80243),o=n(17611),u=n(92347),c=n(59128);let m=({isSubmitting:e=!1,saveLabel:i,showButtons:n,submittingJobMutation:a,onFormCancel:r})=>n?(0,t.jsxs)(c.I,{orientation:"right",children:[r&&(0,t.jsx)(u.$n,{type:"button",buttonStyle:"secondary",raised:!1,onClick:e=>{r&&r()},children:(0,t.jsx)(l.A,{id:"cancel",defaultMessage:"Cancel"})}),(0,t.jsx)(u.$n,{disabled:e||a,buttonStyle:"primary","data-test-id":"ef-submit",type:"submit",children:i||(0,t.jsx)(l.A,{id:"save",defaultMessage:"Save"})})]}):null;var v=n(31167),f=n(51350),g=n(50797),k=n.n(g),p=n(35581),h=n(33110),b=n(47562),j=n(51611),_=n(21963),x=n(10582),N=n(62864),y=n(14834),S=n(62055),F=n(64672),w=n(65656),C=n(44319),E=n(75913),A=n(34536);let D=({field:e,values:i})=>"quick"===i.field_job_application_workflow?(0,t.jsxs)("div",{children:[(0,t.jsx)(y.default,{entityField:e}),(0,t.jsx)(w.K,{size:"medium"})]},e.id):null;var T=n(78248),I=n(77471),O=n(26951),P=n(3106),L=n(15937),V=n.n(L);let M=function({onClick:e,fieldName:i,chipName:n,...a}){return(0,t.jsx)("div",{className:V().clickableChip,onClick:()=>{e&&e(i,a.chipId,n)},children:(0,t.jsx)(P.v,{...a})})};var J=n(72247),z=n.n(J);let B=function({suggestions:e,fieldName:i,onClick:n}){let a=(0,r.A)();return(0,t.jsxs)("div",{className:z().autoSuggestions,children:[(0,t.jsx)("span",{className:z().title,children:a.formatMessage({id:"job_autosuggestions_label",defaultMessage:"Suggestions:"})}),e.map(e=>(0,t.jsx)(M,{chipId:e.tid.toString(),chipName:e.label,onClick:n,fieldName:i,children:e.label},e.tid))]})};var q=n(65050),R=n.n(q),$=n(38661),U=n.n($),H=n(58588),K=n(18847),G=n.n(K),W=n(74352),Z=n(62478),Q=n(52044),Y=n(18652);function X(e,i,n=0){let t=i+Number(n),a=i,r=new Date,l=e?.[f.FIELD_JOB_PUBLISHING_DATE]||f.DEFAULT_JOB_PUBLISHING_DATE,d=(0,Y.A)(l);if(d>r&&e?.field_job_expiration_date){let i=(0,Y.A)(e.field_job_expiration_date);if(!isNaN(i.getTime())&&!isNaN(d.getTime())){let e=(0,Q.A)(i,d);t=a=e>0?e:1}}return{maxAllowedDuration:t,defaultDuration:a}}let ee=G()(Promise.resolve().then(n.bind(n,51350)),{loadableGenerated:{webpack:()=>[51350]}}),ei=G()(Promise.resolve().then(n.bind(n,74352)),{loadableGenerated:{webpack:()=>[74352]}}),en=G()(Promise.resolve().then(n.bind(n,64672)),{loadableGenerated:{webpack:()=>[64672]}});var et=n(3098),ea=n(56897),er=n(32521),el=n(61138),ed=n(66874),es=n(66386),eo=n(44300),eu=n(21179),ec=n(12140),em=n(64828),ev=n(87809),ef=n(72323),eg=n.n(ef);let ek=function({}){let e=(0,a.useContext)(x.B),{JOBS:i}=(0,p.WV)(),{setValue:n,watch:d}=(0,es.xW)(),{currentOrganizationProfile:s}=(0,a.useContext)(b.Rs),c=(0,r.A)(),m=i.AI.JOB_DESCRIPTION.temperature,v=i.AI.JOB_DESCRIPTION.maxTokens,f=i.AI.JOB_DESCRIPTION.languages,g=d("title"),k=d("field_job_location"),h=d("field_job_skills"),j=d("field_job_employment_type"),_=d("field_job_salary_range"),N=d("field_job_salary_range_free_inpu"),y=d("field_job_application_workflow"),S=(0,o.O8)(N??{},c),F=(0,o.o6)(N?.salaryUnit??"",c),w=`${S} ${F}`.trim(),[C,E]=(0,a.useState)(null),A=(0,a.useMemo)(()=>()=>({jobTitle:g,locations:k?.join(", "),companyName:s?.name,benefits:s?.benefits?.map(e=>e?.label).join(", "),industry:s?.industry?.label,companyPresentation:s?.presentation,skills:h?.map(e=>e.label).join(", "),employmentType:j?.map(e=>e?.label).join(", "),salaryRange:_?.name,salaryRangeFreeInput:w,applicationWorkflow:y}),[g,k,s,h,j,_,w,y]),{messages:D,setMessages:T,sendMessage:I,stop:O,status:P}=(0,em.Y_)({transport:new ev.rL({api:"/api/openai-job-description",body:()=>({temperature:m,maxTokens:v,languages:f,locale:e.locale,...A()})})}),L=async e=>{e.preventDefault(),e.stopPropagation(),T([]),I({text:"Generate job description"},{body:{...A()}})};return(0,a.useEffect)(()=>{C&&C?.length>15&&n("field_job_description",C)},[C]),(0,a.useEffect)(()=>{let e=[...D].reverse().find(e=>"assistant"===e.role),i=e?.parts.filter(e=>"text"===e.type).map(e=>e.text).join("");i&&E(i)},[D]),(0,a.useEffect)(()=>{"streaming"===P||"submitted"===P?eg().start():eg().done()},[P]),(0,t.jsxs)(t.Fragment,{children:["streaming"===P?(0,t.jsxs)(u.$n,{onClick:()=>O(),bordered:!0,buttonStyle:"default",children:[(0,t.jsx)(ec.U,{}),(0,t.jsx)("span",{children:(0,t.jsx)(l.A,{id:"ai_generate_job_description_button_stop",defaultMessage:"Stop generating"})})]}):(0,t.jsxs)(u.$n,{type:"button",buttonStyle:"primary",bordered:!0,disabled:!g,onClick:L,children:[(0,t.jsx)(eo.i,{}),(0,t.jsx)("span",{children:(0,t.jsx)(l.A,{id:"ai_generate_job_description_button",defaultMessage:"Generate with AI"})})]}),(0,t.jsx)(eu.R,{children:(0,t.jsx)(l.A,{id:"ai_generate_job_description_description",defaultMessage:"To achieve the best accuracy in generating results, we encourage you to complete as many fields as possible. Nevertheless, you can generate text by simply entering the job title."})})]})};var ep=n(78805);n(25127);var eh=n(81068),eb=n(7241),ej=n(76421),e_=n(57738),ex=n(45062),eN=n(22993);function ey({entityField:e,singleItemLabel:i,hasQuestions:n=!1}
73){let l=(0,r.A)(),{control:d,setError:s,clearErrors:o,getValues:c,setValue:m}=(0,es.xW)(),{fields:v,remove:f,append:g}=(0,es.jz)({control:d,name:e.id}),{ADD_ANOTHER:k,FIELD_REQUIRED:p}=(0,Z.w)(),h=()=>{g({question:"",required:!1},{shouldFocus:!1})};return((0,a.useEffect)(()=>{n&&(0===v.length&&e.defaultKeyValues.length>0?(m(e.id,[]),g(e.defaultKeyValues.map((e,i)=>({question:e.text,required:e.required})),{shouldFocus:!1})):0===v.length&&0===e.defaultKeyValues.length&&(m(e.id,[]),h()))},[e,v,n]),(0,a.useEffect)(()=>{n||m(e.id,[])},[n]),n)?(0,t.jsxs)(e_.e,{children:[(0,t.jsx)(w.K,{}),(0,t.jsx)(ex.l,{required:e.required,children:e.label}),(0,t.jsx)(et.q,{gap:3,children:v.map((n,a)=>{let r=`${e.id}.${a}`,m=`${r}.question`,g=`${r}.required`,k=0===a;return(0,t.jsxs)(et.q,{flexWrap:"nowrap",children:[(0,t.jsxs)(ea.Z,{children:[(0,t.jsx)(es.xI,{name:m,control:d,render:({field:n,fieldState:{error:a}})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eb.p,{...n,id:n.name,type:e.type,required:e.required,disabled:e.disabled,error:!!a,label:i,size:60,description:e.description,placeholder:(0,eh.G)(e),maxLength:(0,eh.P)("max_length",e)}),k&&e.description&&(0,t.jsx)(eu.R,{content:e.description}),a&&(0,t.jsx)(ej.W,{message:a.message})]})}),(0,t.jsx)(w.K,{}),(0,t.jsx)(es.xI,{name:g,control:d,render:({field:i,fieldState:{error:n}})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eN.S,{...i,id:i.name,checked:i.value,disabled:e.disabled,error:!!n,label:l.formatMessage({id:"job_application_quick_screening_question_required",defaultMessage:"This question is required."}),onChange:n=>{let t=n.currentTarget.checked,r=c();i.onChange(t),t&&!r[e.id]?.[a]?.question?s(m,{type:"required",message:p}):o(m)}}),k&&e.description&&(0,t.jsx)(eu.R,{content:e.description}),!!n&&(0,t.jsx)(ej.W,{message:n.message})]})}),(0,t.jsx)(w.K,{size:"medium"})]}),v.length>1&&(0,t.jsx)(ea.Z,{children:(0,t.jsx)(u.$n,{raised:!1,iconed:!0,buttonStyle:"danger",type:"button",onClick:()=>f(a),children:(0,t.jsx)(ec.U,{title:"remove"})})}),(0,t.jsx)(w.K,{})]},r)})}),(0,t.jsx)(w.K,{}),(0,t.jsx)(u.$n,{buttonStyle:"primary",onClick:function(e){e.preventDefault(),h()},children:k})]}):null}var eS=n(28579),eF=n(91793),ew=n(9680),eC=n(5591),eE=n(4599),eA=n.n(eE),eD=n(56201),eT=n(17175),eI=n(52639);let eO=(0,eT.F)([eA().jobPreviewContainer,"job_preview_container"],{variants:{isMobile:{true:eA().jobPreviewContainerMobile}}}),eP=(0,eT.F)([eA().jobPreviewButton,"job_preview_button"],{variants:{isMobile:{true:eA().jobPreviewButtonMobile,false:eA().jobPreviewButtonDesktop}}});function eL({jobType:e}){let[i,n]=(0,a.useState)(!1),{getValues:r}=(0,es.xW)(),{JOBS:d}=(0,p.WV)(),s=Object.values(d.JOB_DETAIL_FIELDS),{user:o,currentOrganizationProfile:c}=(0,a.useContext)(b.Rs),m=(0,eD.a)(),{getConfigByName:v}=(0,E.UK)(),f=!!v("job_preview_enabled")?.value[0],g=(0,_.ii)(s,r(),!0);return"job_per_file"!==e&&f?(Object.keys(g).forEach(e=>{g[e]?.tid&&!Array.isArray(g[e])&&(g[e]=[g[e]])}),(0,t.jsxs)("div",{className:eA().button,children:[(0,t.jsxs)(u.Ay,{type:"button",bordered:!m,rounded:m,iconed:m,fab:m,buttonStyle:"primary",className:eP({isMobile:m}),onClick:e=>{e.stopPropagation(),e.preventDefault(),n(!0)},children:[(0,t.jsx)(eC.b,{width:24,height:24}),m?(0,t.jsx)(eI.h,{children:(0,t.jsx)(l.A,{id:"job_preview_button",defaultMessage:"Preview"})}):(0,t.jsx)("span",{children:(0,t.jsx)(l.A,{id:"job_preview_button",defaultMessage:"Preview"})})]}),(0,t.jsxs)(eF._,{maxWidth:m?"90%":"800px",full:!0,position:"right",isOpen:i,onToggle:()=>n(!i),children:[i&&(0,t.jsx)(et.A,{justifyContent:"flex-end",children:(0,t.jsx)(u.Ay,{dense:!0,type:"button",onClick:()=>n(!1),children:(0,t.jsx)(ec.U,{height:20,width:20})})}),(0,t.jsx)("div",{className:eO({isMobile:m}),children:(0,t.jsx)(ew.default,{user:o,fullContainer:!0,overflow:!0,isPreview:!0,job:{...g,type:e,organization:c?.name||o?.organization?.name,organizationProfile:c,workflowState:{value:"published"},url:{path:"/job/preview"}}})})]})]})):null}var eV=n(12627),eM=n.n(eV);let eJ=({jobType:e,onSubmit:i,onCancel:n,entity:u,showButtons:c=!0,saveLabel:g,submittingJobMutation:P=!1,workflowState:L,republishing:V,bundle:M,fieldErrorList:J,...z})=>{var q,$;let K,G,es,eo,eu,ec=(0,r.A)(),{user:em}=(0,a.useContext)(b.Rs),ev=function(e){let{JOBS:i}=(0,p.WV)();if(i.SCHEDULED_JOB_FEATURE_ACTIVE){let{data:i}=(0,v.I)(k(),{variables:{name:"node",bundle:e},fetchPolicy:"no-cache"});return{maximumJobDuration:i?.definition.fields.find(e=>e.id===f.FIELD_JOB_PUBLISHING_DATE)?.maximumJobDuration}}return null}(e),ef=function(e){let{JOBS:i}=(0,p.WV)(),n=Object.values(i.JOB_DETAIL_FIELDS).map(e=>(0,_.Wx)(e)),{user:t}=(0,a.useContext)(b.Rs),{data:r}=(0,v.I)((0,h.c0)(),{variables:{id:t?.id},skip:!t?.id});return r?.organizationProfileByUserId?.content?.workflowState.value==="published"&&(n=n.filter(e=>"company_info"!==e.key)),i.SCHEDULED_JOB_FEATURE_ACTIVE||(n=n.filter(e=>"job_schedule"!==e.key)),n.map(i=>{var n;return n=i,e===j.A.JOB_PER_FILE&&(n.fields=n.fields.filter(e=>"field_job_description"!==e.id)),n})}(e),{isEditPage:eg}=function(){let{pathname:e}=(0,a.useContext)(x.f);return{isEditPage:"/job/edit/[id]"===e}}(),eh=(0,o.Hu)(L),eb=(0,o.VS)(L),ej=(0,o.VA)(L),e_=(0,Z.w)(),{values:ex,loading:eN}=function(e=null){return{values:{},loading:!1}}(em),eF=function({isEditPage:e,isJobPublished:i,isJobPaused:n,entity:r,republishing:l,maximumJobDuration:d,extendedRuntime:s=0}){let o=(0,p.Ob)().JOBS.SCHEDULED_JOB_FEATURE_ACTIVE,{getConfigByName:u}=(0,E.UK)(),c=!!u("job_end_date_picker")?.value[0];if(!o)return{};let{maxAllowedDuration:m,defaultDuration:v}=X(r,d,s);return{additionalFieldList:[F.FIELD_JOB_DURATION,f.FIELD_JOB_PUBLISHING_DATE],formGroupsChildren:{job_schedule:({definition:d})=>{let o=d?.fields.find(e=>e.id===f.FIELD_JOB_PUBLISHING_DATE)?.attributes?.find(e=>"default_timezone"===e.key)?.value,u=d?.fields.find(e=>e.id===f.FIELD_JOB_PUBLISHING_DATE)?.defaultValue?new Date(1e3*Number(d.fields.find(e=>
73e.id===f.FIELD_JOB_PUBLISHING_DATE).defaultValue)).toLocaleString("en-US",{timeZone:o}):f.DEFAULT_JOB_PUBLISHING_DATE,[g,k]=(0,a.useState)(u),p=function(e,i,n,t,a){if(i&&!n&&e?.[W.FIELD_JOB_EXPIRATION_DATE]){let i=(0,Y.A)(e[W.FIELD_JOB_EXPIRATION_DATE]),n=(0,Y.A)(e?.[f.FIELD_JOB_PUBLISHING_DATE]||f.DEFAULT_JOB_PUBLISHING_DATE);if(!isNaN(i.getTime())&&!isNaN(n.getTime())){let e=(0,Q.A)(i,n);if(e>0&&e<=a)return e}}return t}(r,e,i,v,m);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ee,{isReadOnly:e&&(i||n),value:l?g:r?.[f.FIELD_JOB_PUBLISHING_DATE]}),(0,t.jsx)(w.K,{size:"medium"}),e&&i?(0,t.jsx)(ei,{value:r[W.FIELD_JOB_EXPIRATION_DATE]}):(0,t.jsx)(en,{maxValue:m,defaultValue:p,extendedRuntime:!!s,useDatePicker:c,initialPublishingDate:r?.[f.FIELD_JOB_PUBLISHING_DATE]},`${F.FIELD_JOB_DURATION}-${m}-${p}`),(0,t.jsx)(w.K,{size:"medium"})]})}}}}({isEditPage:eg,isJobPublished:eh,isJobPaused:eb,republishing:V,entity:u,maximumJobDuration:ev?.maximumJobDuration??0,extendedRuntime:M?.extendedDuration}),ew={...function(){let{user:e}=(0,a.useContext)(b.Rs),{getConfigByName:i}=(0,E.UK)(),n=!!i("quick_application_remove_cv_option")?.value[0],r=!!i("quick_application_remove_cover_letter")?.value[0],l=!!i("quick_application_remove_qualifying_questions")?.value[0];return{field_job_application_link:({field:e,values:i,setFieldValue:n})=>"external"===i.field_job_application_workflow?(0,t.jsxs)("div",{children:[(0,t.jsx)(S.default,{required:!0,entityField:e}),(0,t.jsx)(w.K,{size:"medium"})]},e.id):(n("field_job_application_link",""),null),field_job_application_email:({field:i,values:n,setFieldValue:r,formState:l,reset:d})=>{let s=n.field_job_application_workflow,o="internal"===s||"quick"===s,[u,c]=(0,a.useState)(void 0);return o?(n?.field_job_application_email?.length===0&&!l?.touchedFields?.field_job_application_email&&e?.email&&u!==e?.email&&c(e?.email),(0,t.jsxs)("div",{children:[(0,t.jsx)(S.default,{defaultValue:u,required:o,type:"email",entityField:i}),(0,t.jsx)(w.K,{size:"medium"})]})):null},field_job_application_require_cv:({field:e,values:i})=>"quick"!==i.field_job_application_workflow||n&&r&&l?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(C.E,{tag:"h4",fontSize:3,children:[(0,t.jsx)(A.A,{id:"job_posting_quick_apply_title",defaultMessage:"Which of the following Quick Apply Features would you like to enable?"}),(0,t.jsx)(w.K,{size:"medium"})]}),n?null:D({field:e,values:i})]}),field_job_app_require_cover:({field:e,values:i})=>"quick"===i.field_job_application_workflow&&r?null:D({field:e,values:i}),field_job_app_require_questions:({field:e,values:i})=>{let n=i.field_job_application_workflow;return("internal"===n||"quick"===n)&&l?null:(({field:e,values:i})=>"quick"===i.field_job_application_workflow||"internal"===i.field_job_application_workflow?(0,t.jsxs)("div",{children:[(0,t.jsx)(y.default,{entityField:e}),(0,t.jsx)(w.K,{size:"medium"})]},e.id):null)({field:e,values:i})}}}(),...function(e,i){if(e!==j.A.JOB_PER_LINK)return null;let[n,r]=(0,a.useState)(!1),[l,{data:d,error:s,loading:o}]=(0,T._)(U(),{onCompleted(){s||r(!0)}});return{field_job_link:({field:e,setFieldValue:i})=>(0,t.jsxs)("div",{children:[(0,t.jsx)(S.default,{onChange:n=>{i(e.id,n.target.value),l({variables:{url:n.target.value}})},required:!0,entityField:e}),(0,t.jsx)(w.K,{size:"medium"})]},e.id),field_job_description:({field:e,setFieldValue:a})=>(n&&(r(!1),a(e.id,d.previewContent)),(0,t.jsxs)("div",{children:[o&&(0,t.jsx)(H.G,{color:"primary",height:"100",width:"100",title:i.formatMessage({id:"loading_message",defaultMessage:"Loading"})}),(0,t.jsx)(O.default,{entityField:e}),(0,t.jsx)(w.K,{size:"medium"})]},e.id))}}(e,ec),...function(){let e=(0,p.Ob)().JOBS||{};if(!e.AUTOSUGGESTIONS_ENABLED)return null;let i=e.AUTOSUGGESTIONS_AUTOFILL_FIELDS,[n,r]=(0,a.useState)([]),[l,{}]=(0,T._)(R()),[d,s]=(0,a.useState)(!1);async function o(e){let i=e?.title,t=e?.field_job_description;if(i&&t)try{let e=await l({variables:{title:i,description:t}});n!==e?.data?.getAutoSuggestions&&s(!1),r(e?.data?.getAutoSuggestions)}catch(e){console.error("Failed to get any autosuggestions data.")}}function u(e,i,n,t,a){e[i].push({tid:n,name:t}),a(i,[...m(e[i])])}function c(e,n,t,a){if(i.includes(e)&&a&&!d){let i=t[e];
73a.forEach(e=>{i.includes(e)||i.push({tid:e.tid.toString(),name:e.label})}),n(e,[...m(t[e])]),s(!0)}}function m(e){return e.filter((e,i,n)=>i===n.findIndex(i=>i.tid===e.tid))}return{field_job_description:({field:e,values:i})=>(0,t.jsxs)("div",{children:[(0,t.jsx)(O.default,{entityField:e,onBlur:()=>o(i)}),(0,t.jsx)(w.K,{size:"medium"})]},e.id),field_job_employment_type:({field:e,values:i,setFieldValue:a})=>{let r=n?.find(e=>"employment_type"===e.name);return r?(c("field_job_employment_type",a,i,r.autofill),(0,t.jsxs)("div",{children:[(0,t.jsx)(I.default,{required:!0,entityField:e,refresh:n}),(0,t.jsx)(w.K,{size:"small"}),(0,t.jsx)("div",{children:(0,t.jsx)(B,{suggestions:r.terms,onClick:(e,n,t)=>u(i,e,n,t,a),fieldName:e.id})})]},e.id)):(0,t.jsxs)("div",{children:[(0,t.jsx)(I.default,{required:!0,entityField:e}),(0,t.jsx)(w.K,{size:"small"})]},e.id)},field_job_occupational_field:({field:e,values:i,setFieldValue:a})=>{let r=n?.find(e=>"occupational_fields"===e.name);return r?(c("field_job_occupational_field",a,i,r.autofill),(0,t.jsxs)("div",{children:[(0,t.jsx)(I.default,{required:!0,entityField:e,refresh:n}),(0,t.jsx)(w.K,{size:"small"}),(0,t.jsx)("div",{children:(0,t.jsx)(B,{suggestions:r.terms,onClick:(e,n,t)=>u(i,e,n,t,a),fieldName:e.id})})]},e.id)):(0,t.jsxs)("div",{children:[(0,t.jsx)(I.default,{required:!0,entityField:e}),(0,t.jsx)(w.K,{size:"small"})]},e.id)},field_job_fields_of_study:({field:e,values:i,setFieldValue:a})=>{let r=n?.find(e=>"fields_of_study"===e.name);return r?(c("field_job_fields_of_study",a,i,r.autofill),(0,t.jsxs)("div",{children:[(0,t.jsx)(I.default,{required:!0,entityField:e,refresh:n}),(0,t.jsx)(w.K,{size:"small"}),(0,t.jsx)("div",{children:(0,t.jsx)(B,{suggestions:r.terms,onClick:(e,n,t)=>u(i,e,n,t,a),fieldName:e.id})})]},e.id)):(0,t.jsxs)("div",{children:[(0,t.jsx)(I.default,{required:!0,entityField:e}),(0,t.jsx)(w.K,{size:"small"})]},e.id)},field_job_skills:({field:e,values:i,setFieldValue:a})=>{let r=n?.find(e=>"skills"===e.name);return r?(c("field_job_skills",a,i,r.autofill),(0,t.jsxs)("div",{children:[(0,t.jsx)(I.default,{required:!0,entityField:e,refresh:n}),(0,t.jsx)(w.K,{size:"small"}),(0,t.jsx)("div",{children:(0,t.jsx)(B,{suggestions:r.terms,onClick:(e,n,t)=>u(i,e,n,t,a),fieldName:e.id})})]},e.id)):(0,t.jsxs)("div",{children:[(0,t.jsx)(I.default,{required:!0,entityField:e}),(0,t.jsx)(w.K,{size:"small"})]},e.id)}}}(),...(q=eh||ej,K=(0,r.A)(),G={}
73,es=(0,p.Ob)().JOBS.JOB_EDIT_HIDDEN_FIELDS||[],eg&&q&&es.forEach(i=>{Object.assign(G,{[i]:({field:n})=>(0,t.jsxs)("div",{children:[(0,t.jsx)(el.A,{name:"node",bundle:e,fields:[Object.assign({},n,{disabled:!0})]}),(0,t.jsx)(w.K,{size:"medium"}),(0,t.jsxs)(et.q,{alignItems:"center",children:[(0,t.jsx)(ea.Z,{marginRight:5,children:(0,t.jsx)(er.X,{title:K.formatMessage({id:"job_edit_hidden_field_info_icon",defaultMessage:"Info"}),color:"warning"})}),(0,t.jsx)(ea.Z,{children:(0,t.jsx)(C.E,{tag:"span",color:"gray6",fontSize:2,children:(0,t.jsx)(l.A,{id:"job_edit_hidden_field_info",defaultMessage:"The field {fieldLabel} can not be edited. To change the field you need to republish the job.",values:{fieldLabel:(0,t.jsx)("strong",{children:n.label})}})})})]}),(0,t.jsx)(w.K,{size:"medium"})]},i)})}),G),...(eo=(0,p.Ob)().JOBS.AI?.JOB_DESCRIPTION||{}).enabled&&((0,ep.Gv)(em)||eo.dangerous_enabled_anonymous)&&{field_job_description:({field:e,values:i,setFieldValue:n})=>(0,t.jsxs)("div",{children:[(0,t.jsx)(O.default,{entityField:e}),(0,t.jsx)(ek,{}),(0,t.jsx)(w.K,{size:"medium"})]},e.id)},field_job_app_questions:({field:e,values:i})=>{let n=i.field_job_application_workflow;return(0,t.jsxs)("div",{children:[(0,t.jsx)(w.K,{size:"medium"}),(0,t.jsx)(ey,{entityField:e,hasQuestions:("internal"===n||"quick"===n)&&i?.field_job_app_require_questions}),(0,t.jsx)(w.K,{size:"medium"})]},e.id)},...function(e,i){let{getConfigByName:n}=(0,E.UK)(),l=!!n("jobiqo_organization_agency")?.value[0],d=(0,r.A)(),{data:s,loading:o,error:u}=(0,v.I)((0,h.wP)(),{variables:{id:e?.organization?.id},skip:!l||!(0,ep.Gv)(e)}),[c,m]=(0,a.useState)([]),[f,g]=(0,a.useState)(null);return((0,a.useEffect)(()=>{if(s&&s.getAgencyOrganizations){let e=s.getAgencyOrganizations.map(e=>({code:e.id.toString(),name:e.name}));e.unshift({code:"none",name:d.formatMessage({id:"agency_recruiter_unassign_group",defaultMessage:"No organization assigned"})}),m(e),i&&i.field_organization_assignment&&g(i.field_organization_assignment)}},[s,i,d]),o)?(0,t.jsx)("div",{children:"Loading organizations..."}):u?(0,t.jsxs)("div",{children:["Error loading organizations: ",u.message]}):{field_organization_assignment:({field:i,values:n,setFieldValue:a})=>(0,ep.Gv)(e)&&c.length?(0,t.jsx)("div",{children:(0,t.jsx)(eS.l,{id:i.id,items:c,name:i.id,selectedValue:f??"",onChange:e=>{e?(g(e.code),a(i.id,e.code)):(g(null),a(i.id,null))},label:i.label,description:i.description})},i.id):null}}(em,u)},eC={...($=ev?.maximumJobDuration??0,eu=(0,p.Ob)().JOBS.SCHEDULED_JOB_FEATURE_ACTIVE,{field_job_application_link:N.string().when("field_job_application_workflow",e=>"external"===e?N.string().required(ec.formatMessage({id:"field_required",defaultMessage:"Field is required"})):N.string().nullable()),field_job_application_email:N.string().when("field_job_application_workflow",e=>"internal"===e||"quick"===e?N.string().required(ec.formatMessage({id:"field_required",defaultMessage:"Field is required"})):N.string().nullable()),...eu&&{[F.FIELD_JOB_DURATION]:N.number().max($,ec.formatMessage({id:"job_duration_max_value",defaultMessage:"The maximum number of days online is {maxValue}."},{maxValue:$}))}}),...function(e,i,n=0,t){let a=(0,p.Ob)().JOBS.SCHEDULED_JOB_FEATURE_ACTIVE,{FIELD_NUMBER:r}=(0,Z.w)(),{maxAllowedDuration:l}=X(t,i,n);return{...a&&{[F.FIELD_JOB_DURATION]:N.number().typeError(r).max(l,e.formatMessage({id:"job_duration_max_value",defaultMessage:"The maximum number of days online is {maxValue}."},{maxValue:l}))}}}(ec,ev?.maximumJobDuration??0,M?.extendedDuration??void 0,u),...function({FIELD_REQUIRED:e}){return{field_job_app_questions:N.array().of(N.object().shape({question:N.string().nullable().required(e),required:N.boolean()}))}}(e_)};return eN?(0,t.jsx)(ed.g,{children:(0,t.jsx)(s.$,{children:(0,t.jsx)(l.A,{id:"form_loading",defaultMessage:"Loading form..."})})}):(0,t.jsx)(ed.g,{children:(0,t.jsx)("div",{className:"job-form",children:(0,t.jsx)(d.A,{showLabel:!1,name:"node",bundle:e,...u?{entity:u}:null,fieldGroups:ef,...eF,overrides:ew,extraValidationSchema:eC,extraInitialValues:ex,fieldErrorList:J,onCancel:n,onSubmit:i,renderButtons:e
73=>(0,t.jsx)(m,{...e,showButtons:c,submittingJobMutation:P,saveLabel:g}),...z,children:(0,t.jsx)("div",{className:eM().previewContainer,children:(0,t.jsx)(eL,{jobType:e,isEdit:eg})})})})})}},48882:e=>{var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OrderFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommerceOrder"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"totalNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"totalCurrency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subtotalNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subtotalCurrency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isFree"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"skipBillingInformation"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"product"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"relatedJobUpgrades"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"excludeJobFlatrateSubscription"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"quantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"priceNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"priceCurrency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"adjustments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"priceNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"priceCurrency"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"messages"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"appliedCoupons"},arguments:[],directives:[]}]}}],loc:{start:0,end:440}};i.loc.source={body:"fragment OrderFields on CommerceOrder {\n id\n totalNumber\n totalCurrency\n subtotalNumber\n subtotalCurrency\n isFree\n skipBillingInformation\n items {\n product {\n id\n type\n relatedJobUpgrades {\n id\n }\n excludeJobFlatrateSubscription\n }\n quantity\n priceNumber\n priceCurrency\n title\n }\n adjustments {\n id\n label\n priceNumber\n priceCurrency\n }\n messages\n appliedCoupons\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function t(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.OrderFields=function(e,i){var a={kind:e.kind,definitions:[t(e,i)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=n[i]||new Set,l=new Set,d=new Set;for(r.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return l.forEach(function(i){var n=t(e,i);n&&a.definitions.push(n)}),a}(i,"OrderFields")},50797:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"maximumJobDuration"}
73,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"bundle"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"field_types"}},type:{kind:"NamedType",name:{kind:"Name",value:"FieldTypes"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"definition"},name:{kind:"Name",value:"entityDefinition"},arguments:[{kind:"Argument",name:{kind:"Name",value:"entity_type"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"Argument",name:{kind:"Name",value:"bundle"},value:{kind:"Variable",name:{kind:"Name",value:"bundle"}}},{kind:"Argument",name:{kind:"Name",value:"field_types"},value:{kind:"Variable",name:{kind:"Name",value:"field_types"}}},{kind:"Argument",name:{kind:"Name",value:"language"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fields"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maximumJobDuration"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:306}};i.loc.source={body:"query maximumJobDuration(\n $name: String!\n $bundle: String\n $field_types: FieldTypes\n $language: String\n) {\n definition: entityDefinition(\n entity_type: $name\n bundle: $bundle\n field_types: $field_types\n language: $language\n ) {\n fields {\n id\n maximumJobDuration\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function t(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.maximumJobDuration=function(e,i){var a={kind:e.kind,definitions:[t(e,i)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=n[i]||new Set,l=new Set,d=new Set;for(r.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return l.forEach(function(i){var n=t(e,i);n&&a.definitions.push(n)}),a}(i,"maximumJobDuration")},51350:(e,i,n)=>{"use strict";n.r(i),n.d(i,{DEFAULT_JOB_PUBLISHING_DATE:()=>k,FIELD_JOB_PUBLISHING_DATE:()=>g,JobFormPublishingDateInput:()=>p,default:()=>h});var t=n(37876),a=n(14232),r=n(77742),l=n(10582),d=n(37944),s=n(2766),o=n(66386),u=n(46680),c=n(7241),m=n(211
7379),v=n(46383),f=n(76421);let g="field_job_publishing_date",k=new Date;function p({isReadOnly:e,value:i}){let n=(0,r.A)(),{locale:h}=(0,a.useContext)(l.B),{control:b,formState:{errors:j},setValue:_}=(0,o.xW)(),x=(0,s.ty)(n),N=n.formatMessage({id:"job_publishing_date_label",defaultMessage:"Publishing date"});return(0,a.useEffect)(()=>{i&&!e&&_(g,(0,d.A)(new Date(i),"yyyy-MM-dd"))},[i]),e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.xI,{name:g,control:b,render:({field:e,fieldState:{error:a}})=>(0,t.jsx)(c.p,{...e,error:!!a,id:g,label:N,type:"text",disabled:!0,value:(0,u.TT)(i,n)})}),(0,t.jsx)(m.R,{children:n.formatMessage({id:"job_publishing_date_description_read_only",defaultMessage:"You cannot change the publishing date for an already published job."})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.xI,{name:g,control:b,render:({fieldState:{error:a}})=>(0,t.jsx)(v.B,{id:g,minDate:new Date,label:N,description:n.formatMessage({id:"job_publishing_date_description",defaultMessage:"Please set the date when the job should be published (note: if the review needs some time the job will be published as soon as possible)"}),placeholder:n.formatMessage({id:"job_publishing_date_placeholder",defaultMessage:"Date"}),error:!!a,initialDate:i?new Date(i):k,locale:h,readOnly:e,displayFormat:x,onDateChange:e=>{e&&_(g,(0,d.A)(e,"yyyy-MM-dd"))}})}),j[g]&&!e&&(0,t.jsx)(f.W,{message:j[g]?.message})]})}let h=p},51700:(e,i,n)=>{"use strict";n.d(i,{A:()=>d,_:()=>l});var t=n(37876);n(14232);let a=e=>"currentColor"===e?"":`var(--color-${e})`,r=({title:e,theme:i=null,titleId:n="",...a})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",xmlSpace:"preserve",width:"1em",height:"1em","aria-labelledby":n,...a,children:[e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsxs)("g",{className:"briefcase_svg__nc-icon-wrapper",children:[(0,t.jsx)("path",{"data-color":"color-2",d:"M43 10h-2V5H23v5h-2V4a1 1 0 0 1 1-1h20a1 1 0 0 1 1 1v6zM39 46v3a1 1 0 0 1-1 1H26a1 1 0 0 1-1-1v-3H5v11a4 4 0 0 0 4 4h46a4 4 0 0 0 4-4V46H39z"}),(0,t.jsx)("path",{d:"M59 12H5a4 4 0 0 0-4 4v27a1 1 0 0 0 1 1h23v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3h23a1 1 0 0 0 1-1V16a4 4 0 0 0-4-4z"})]})]}),l=({color:e="currentColor",title:i,fill:n,...l})=>(0,t.jsx)(r,{color:a(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:a(e),fill:a(e)}}:null,fill:n??a(e),title:i,...l}),d=l},52639:(e,i,n)=>{"use strict";n.d(i,{A:()=>r,h:()=>l});var t=n(37876),a=n(59319);n(14232);let r=({children:e,...i})=>(0,t.jsx)(a.bL,{...i,children:e}),l=r},53965:e=>{e.exports={drawerOverlay:"drawer_drawerOverlay__XFuSO",sideNavBlock:"drawer_sideNavBlock__G9AZ_",sideNavBlockPositionRight:"drawer_sideNavBlockPositionRight__nOkGN",sideNavBlockPositionLeft:"drawer_sideNavBlockPositionLeft__LRe4G",sideNavBlockPositionTop:"drawer_sideNavBlockPositionTop__pelL9",sideNavBlockPositionBottom:"drawer_sideNavBlockPositionBottom__LFjHG",sideNavBlockFull:"drawer_sideNavBlockFull__UH4tH",focusArea:"drawer_focusArea__sHOXM"}},56144:e=>{var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OrganizationFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"OrganizationProfile"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ownerId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"canEdit"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"urlNoPrefix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alternativeName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"organizationLocation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"countryCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine1"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine2"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"administrativeArea"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"locality"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zip"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lat"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"countryName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"logo"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"job_squared_logo_medium",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"cover"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"organization_cover",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"teaserCover"},name:{kind:"Name",value:"cover"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"organization_teaser_cover",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"presentation"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"contactPersons"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"salutation"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"academicPrefix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firstName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"academicPostfix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"contactInfo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"linkedinProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"photo"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"medium",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"gallery"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"wide",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"gallery_thumb_1"},name:{kind:"Name",value:"gallery"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"organization_gallery_thumb_1",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"gallery_thumb_2"},name:{kind:"Name",value:"gallery"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"organization_gallery_thumb_2",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"gallery_thumb_3"},name:{kind:"Name",value:"gallery"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"organization_gallery_thumb_3",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"videos"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"source"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"coverTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cover"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"medium",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"furtherLocations"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addressLine1"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"countryCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zip"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"locality"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lat"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lon"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"size"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"occupation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"industry"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"benefits"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"fieldsOfStudy"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"linkedinProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"twitterProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"facebookProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"youtubeProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"xingProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"instagramProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tiktokProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"blueSkyProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"website"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"workflowState"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"hiddenFields"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"organization"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ownerId"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"faq"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"answer"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"question"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"isPremium"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isMinisiteEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"organizationJobsCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"attachments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fileName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"frontends"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"metatags"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"meta"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:2128}};i.loc.source={body:'fragment OrganizationFragment on OrganizationProfile {\n id\n nam
73e\n ownerId\n canEdit\n url {\n path\n }\n urlNoPrefix\n alternativeName\n organizationLocation {\n address\n countryCode\n addressLine1\n addressLine2\n administrativeArea\n locality\n zip\n lat\n lon\n city\n countryName\n }\n logo(style: "job_squared_logo_medium") {\n url\n alt\n title\n }\n cover(style: "organization_cover") {\n url\n alt\n title\n width\n height\n }\n teaserCover: cover(style: "organization_teaser_cover") {\n url\n alt\n title\n width\n height\n }\n presentation\n contactPersons {\n id\n salutation\n academicPrefix\n firstName\n lastName\n academicPostfix\n email\n phone\n position\n contactInfo\n linkedinProfile\n photo(style: "medium") {\n url\n }\n }\n gallery(style: "wide") {\n url\n alt\n title\n width\n height\n }\n gallery_thumb_1: gallery(style: "organization_gallery_thumb_1") {\n url\n alt\n title\n }\n gallery_thumb_2: gallery(style: "organization_gallery_thumb_2") {\n url\n alt\n title\n }\n gallery_thumb_3: gallery(style: "organization_gallery_thumb_3") {\n url\n alt\n title\n }\n videos {\n id\n type\n source\n coverTitle\n cover(style: "medium") {\n url\n width\n height\n }\n }\n furtherLocations {\n id\n address {\n addressLine1\n countryCode\n zip\n locality\n lat\n lon\n }\n name\n }\n size {\n tid\n label\n }\n occupation {\n tid\n label\n }\n industry {\n tid\n label\n }\n benefits {\n tid\n label\n }\n fieldsOfStudy {\n tid\n label\n }\n linkedinProfile\n twitterProfile\n facebookProfile\n youtubeProfile\n xingProfile\n instagramProfile\n tiktokProfile\n blueSkyProfile\n website\n workflowState {\n value\n label\n }\n hiddenFields\n organization {\n id\n name\n ownerId\n }\n faq {\n id\n answer\n question {\n label\n tid\n }\n }\n isPremium\n isMinisiteEnabled\n organizationJobsCount\n attachments {\n id\n url\n fileName\n }\n frontends\n metatags {\n meta\n value\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function t(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.OrganizationFragment=function(e,i){var a={kind:e.kind,definitions:[t(e,i)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=n[i]||new Set,l=new Set,d=new Set;for(r.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return l.forEach(function(i){var n=t(e,i);n&&a.definitions.push(n)}),a}(i,"OrganizationFragment")},57370:(e,i,n)=>{"use strict";n.d(i,{d:()=>a});var t=n(14232);let a=(e,i)=>{let[n,a]=(0,t.useState)(e);return(0,t.useEffect)(()=>{let n=setTimeout(()=>{a(e)},i);return()=>{clearTimeout(n)}},[e,i]),n}},58588:(e,i,n)=>{"use strict";n.d(i,{G:()=>l});var t=n(37876);n(14232);let a=e=>"currentColor"===e?"":`var(--color-${e})`,r=({title:e,theme:i=null,titleId:n="",...a})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",xmlSpace:"preserve",width:"1em",height:"1em","aria-labelledby":n,...a,children:[e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M73 50c0-12.7-10.3-23-23-23S27 37.3 27 50m3.9 0c0-10.5 8.5-19.1 19.1-19.1S69.1 39.5 69.1 50",children:(0,t.jsx)("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"1s",from:"0 50 50",to:"360 50 50",repeatCount:"indef
73inite"})})]}),l=({color:e="currentColor",title:i,fill:n,...l})=>(0,t.jsx)(r,{color:a(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:a(e),fill:a(e)}}:null,fill:n??a(e),title:i,...l})},58824:(e,i,n)=>{"use strict";n.d(i,{G:()=>function e(i,n){let t=n.find(e=>e?.code===i),a=[];if(t?.code){a=[t.code];let i=n.filter(e=>e.parent?.tid.toString()===t.code);i.length>0&&i.forEach(i=>{a=[...a,...e(i.code,n)]})}return a},I:()=>t});let t=e=>{let i=e.settings.filter(e=>"handler_settings"===e.key);return i.length>0?Object.keys(i[0].value.target_bundles):[]}},59319:(e,i,n)=>{"use strict";n.d(i,{bL:()=>s});var t=n(14232),a=n(72288),r=n(37876),l=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),d=t.forwardRef((e,i)=>(0,r.jsx)(a.sG.span,{...e,ref:i,style:{...l,...e.style}}));d.displayName="VisuallyHidden";var s=d},59534:(e,i,n)=>{"use strict";n.d(i,{A:()=>b});var t=n(37876),a=n(89099),r=n.n(a);n(14232);var l=n(8733),d=n(44565),s=n(64853),o=n(7317),u=n(90336),c=n(63424),m=n(65656),v=n(50278),f=n(77410),g=n(66874),k=n(63809),p=n(89340),h=n(35581);let b=({errorList:e,jobType:i,entity:n,onSubmit:a,flow:b=u.xr.New,submitting:j=!1,job:_,fieldErrorList:x,bundle:N,republishing:y=!1})=>{let{JOBS:S}=(0,h.WV)(),F=S.HIDE_JOB_CART;return(0,t.jsx)(c.I,{size:"xLarge",Steps:(0,t.jsx)(o.A,{flow:b}),children:(0,t.jsx)(f.X,{sidebarPosition:"right",sidebar:(0,t.jsxs)(t.Fragment,{children:[F?null:(0,t.jsx)(s.o,{flow:b,..._?{job:_}:null}),(0,t.jsx)(k.o,{}),(0,t.jsx)(p.A,{})]}),children:(0,t.jsxs)("div",{children:[e&&(0,t.jsx)(g.g,{children:(0,t.jsxs)(v.D,{children:[e,(0,t.jsx)(m.K,{size:"medium"})]})}),(0,t.jsx)(d.W,{jobType:i,...n?{entity:n}:null,bundle:N,saveLabel:(0,t.jsx)(l.A,{id:"next",defaultMessage:"Next"}),onCancel:()=>r().back(),submittingJobMutation:j,onSubmit:a,fieldErrorList:x,republishing:!0})]})})})}},59584:(e,i,n)=>{"use strict";n.d(i,{v:()=>u});var t=n(51666),a=n(94761),r=n(31167),l=n(62261),d=n.n(l),s=n(14232),o=n(35581);let u=(e,i)=>{let{setShouldShowUpgradesStep:n}=(0,t.N)(),{JOBS:l}=(0,o.WV)(),[,u]=(0,a.M)("should-skip-job-upgrade-step",null),{data:c}=(0,r.I)(d(),{variables:{locale:i}});(0,s.useEffect)(()=>{if(e?.relatedJobUpgrades&&c?.jobUpgrades?.length>0){let i=c.jobUpgrades.every(i=>e?.relatedJobUpgrades?.some(e=>e?.id===i.id));l.SHOW_UPGRADES_IN_DESTINATION_STEP||n(!i),!0===i&&u("skip")}},[e,c])}},60010:(e,i,n)=>{"use strict";n.d(i,{v:()=>a});var t=n(14232);let a=({content:e,id:i,identifier:n})=>{let a=/<script\b[^>]*>([\s\S]*?)<\/script>/gi,r=e&&[...e?.matchAll(a)],l=e?.replace(a,"");return(0,t.useEffect)(()=>{let e=document.getElementsByTagName("head")[0];return r&&r.forEach((t,a)=>{let r=`${n}-script-${i}-${a}`,l=t[0],d=/<script\b[^>]*\ssrc\s*=\s*["'][^"']*["'][^>]*>/.test(l),s=document.createElement("script");s.id=r;let o=document.createElement("div");o.innerHTML=l;let u=o.firstChild?.attributes;if(u)for(let e=0;e<u.length;e++){let i=u[e];s.setAttribute(i.name,i.value)}if(d){let e=l.match(/<script\b[^>]*\ssrc\s*=\s*(['"])(.*?)\1[^>]*>/i);e&&(s.src=e[2])}else{var c=document.createTextNode(t[1]);s.appendChild(c)}let m=document.getElementById(i);m&&e.removeChild(m),e.appendChild(s)}),()=>{document.querySelectorAll(`script[id^=${n}-script-${i}]`).forEach(e=>e.remove())}},[e,i]),{strippedJsString:l}}},60395:e=>{e.exports={sidebar:"oneSideBar_sidebar__mvwaM",sidebarLeft:"oneSideBar_sidebarLeft__l4uTb",sidebarRight:"oneSideBar_sidebarRight__j4BSu"}},62055:(e,i,n)=>{"use strict";n.r(i),n.d(i,{StringWidget:()=>j,default:()=>j});var t=n(37876),a=n(14232),r=n(66386),l=n(81068),d=n(7241),s=n(76421),o=n(35856),u=n(92347),c=n(12140),m=n(65656),v=n(3098),f=n(49125),g=n(21179),k=n(8733),p=n(62864),h=n(62478);function b(e,i){return"email"!==i.type||p.string().email().isValidSync(e)}function j({entityField:e,fieldRules:i={},required:n=!1,defaultValue:p,..._}){let{setValue:x,getValues:N,control:y,setError:S}=(0,r.xW)(),F=N(),{hidden:w,disabled:C,required:E}=(0,o.bA)(e.id,F,i),{EMAIL_VALIDATION:A}=(0,h.w)();if((0,a.useEffect)(()=>{w&&F[e.id]&&x(e.id,null)},[w,F,e]),w)return null;if(!e.multiple)return(0,t.jsx)(r.xI,{name:e.id,control:y,render:({field:i,fieldState:{error:n}})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.p,{...i,id:i.name,type:e.type,required:e.required||E,disabled:e.disabled||C,error:!!n,label:e.label,size:40,description:e.description,placeholder:(0,l.G)(e),maxLength:(0,l.P)("max_length",e),min:(0,l.P)("min",e),max:(0,l.P)("max",e),..._,onChange:n=>{"integer"===e.type?x(i.name,Number.parseInt(n.currentTarget.value),{shouldValidate:!0}):x(i.name,n.currentTarget.value,{shouldValidate:!0})}}),!!n&&(0,t.jsx)(s.W,{message:n.message})]})});{let{fields:i,remove:o,append:h}=(0,r.jz)({control:y,name:e.id});return(0,a.useEffect)(()=>{p&&x(e.id,[p])}
73,[p]),(0,t.jsx)("div",{children:(0,t.jsxs)(t.Fragment,{children:[i.map((i,a)=>{let f=`${e.id}.${a}`;return(0,t.jsxs)(v.A,{flexWrap:"nowrap",alignItems:"center",children:[(0,t.jsx)(r.xI,{name:f,control:y,render:({field:i,fieldState:{error:r}})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.p,{...i,name:f,id:f,type:e.type,required:e.required||n||E,disabled:e.disabled||C,error:!!r,...0===a&&{label:e.label},size:40,placeholder:(0,l.G)(e),maxLength:(0,l.P)("max_length",e),onBlur:i=>{"integer"===e.type?x(f,Number.parseInt(i.currentTarget.value)):x(f,i.currentTarget.value)}}),r&&(0,t.jsx)(s.W,{message:r.message})]})}),(0,t.jsxs)(u.$n,{raised:!1,iconed:!0,buttonStyle:"danger",type:"button",style:{marginTop:"1rem"},onClick:()=>{o(a)},children:[(0,t.jsx)(c.U,{title:"remove"}),(0,t.jsx)("span",{children:(0,t.jsx)(k.A,{id:"remove_email",defaultMessage:"Remove email"})})]}),(0,t.jsx)(m.K,{})]},i.id)}),(0,t.jsx)(m.K,{}),(0,t.jsx)(r.xI,{name:`${e.id}_add`,control:y,render:({field:a,fieldState:{error:r}})=>(0,t.jsxs)("div",{children:[(0,t.jsxs)(v.A,{gap:3,alignItems:"center",children:[(0,t.jsx)(d.p,{...a,name:`${e.id}_add`,id:`${e.id}_add`,"data-test-id":"add-email-input",type:e.type,required:F[e.id]?.length===0&&(e.required||n||E),...0===i.length&&{label:e.label},disabled:e.disabled||C,error:!!r,size:40,placeholder:(0,l.G)(e),maxLength:(0,l.P)("max_length",e),onBlur:i=>{a.value&&b(a.value,e)&&(h(a.value),a.onChange(""),i.relatedTarget?.type==="submit"&&i.relatedTarget.click())}}),(0,t.jsxs)(u.$n,{raised:!1,iconed:!0,buttonStyle:"primary",type:"button",style:{marginTop:"1rem"},"data-test-id":"button-add-email",onClick:()=>{let i=b(a.value,e);i||S(`${e.id}_add`,{message:A}),a.value&&i&&(h(a.value),a.onChange(""))},children:[(0,t.jsx)(f.R,{title:"add"}),(0,t.jsx)("span",{children:(0,t.jsx)(k.A,{id:"add_email",defaultMessage:"Add email"})})]})]}),r&&(0,t.jsx)(m.K,{children:(0,t.jsx)(s.W,{message:r.message})})]})}),(0,t.jsx)(g.R,{children:e.description})]})})}}},63200:(e,i,n)=>{"use strict";n.d(i,{o:()=>a});var t=n(58318);let a=()=>{let{state:e,dispatch:i}=(0,t.Pj)();return{addMessage:e=>{i({type:"addMessage",message:e})},removeMessage:e=>{i({type:"addMessage",message:e})},messages:e&&e.messages?e.messages:[]}}},64567:e=>{var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CustomOrganizationFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"OrganizationProfile"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}],loc:{start:0,end:66}};i.loc.source={body:"fragment CustomOrganizationFields on OrganizationProfile {\n id\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function t(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.CustomOrganizationFields=function(e,i){var a={kind:e.kind,definitions:[t(e,i)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=n[i]||new Set,l=new Set,d=new Set;for(r.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return l.forEach(function(i){var n=t(e,i);n&&a.definitions.push(n)}),a}(i,"CustomOrganizationFields")},64672:(e,i,n)=>{"use strict";n.r(i),n.d(i,{FIELD_JOB_DURATION:()=>x,JobFormDurationInput:()=>N,default:()=>y});var t=n(37876),a=n(14232),r=n(77742),l=n(52512),d=n(52044),s=n(10582),o=n(51350),u=n(66386),c=n(46680),m=n(7241),v=n(21179),f=n(76421),g=n(3098),k=n(56897),p=n(65656),h=n(18370);function b({maxValue:e,publishingDate:i}){let n=(0,r.A)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(g.q,{alignItems:"baseline",gap:3,children:[(0,t.jsx)(k.Z,{children:(0,t.jsx)(h.C,{color:"primary"})}),(0,t.jsx)(k.Z,{children:(0,t.jsx)(v.R,{children:n.formatMessage({id:"job_duration_runtime_expiration_days_online",defaultMessage:"This
73job will be online for {daysOnline} days"},{daysOnline:(0,t.jsx)("strong",{children:e})})})})]}),(0,t.jsx)(p.K,{}),(0,t.jsx)(v.R,{children:n.formatMessage({id:"job_duration_runtime_expiration_datetime",defaultMessage:"Based on the start date and runtime, the job will go offline on {date} at {time}."},{date:(0,t.jsx)("b",{children:(0,c.TT)((0,l.A)(new Date(i),Number(e)),n)}),time:(0,t.jsx)("b",{children:n.formatTime(new Date)})})})]})}var j=n(46383),_=n(2766);let x="field_job_duration";function N({maxValue:e,defaultValue:i,extendedRuntime:n=!1,useDatePicker:g=!1,initialPublishingDate:k}){let p=(0,r.A)(),{locale:h}=(0,a.useContext)(s.B),y=(0,_.ty)(p),{setValue:S,control:F,formState:{errors:w},watch:C}=(0,u.xW)(),E=C(o.FIELD_JOB_PUBLISHING_DATE),A=C(x)??i,D=E||k,T=A&&D?(0,l.A)((0,_.l4)(D),Number(A)):null;if((0,a.useEffect)(()=>{S(x,i)},[e,i]),n)return(0,t.jsx)(b,{maxValue:e,publishingDate:E});let I=e=>{if(e&&D){let i=(0,d.A)(e,(0,_.l4)(D));S(x,i>0?i:1)}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.xI,{name:x,control:F,render:({field:a,fieldState:{error:r}})=>g?(0,t.jsx)(j.B,{id:x,label:p.formatMessage({id:"job_end_date_label",defaultMessage:"End date"}),description:p.formatMessage({id:"job_end_date_description",defaultMessage:"Select the date when the job should go offline"}),placeholder:p.formatMessage({id:"job_end_date_placeholder",defaultMessage:"End date"}),error:!!r,initialDate:T||(0,l.A)(D?(0,_.l4)(D):new Date,i||30),locale:h,readOnly:n,displayFormat:y,minDate:D?(0,l.A)((0,_.l4)(D),1):new Date,maxDate:D?(0,l.A)((0,_.l4)(D),e||30):void 0,onDateChange:I}):(0,t.jsx)(m.p,{...a,value:a.value??i,id:x,type:"number",readOnly:n,error:!!r,label:p.formatMessage({id:"job_duration_label",defaultMessage:"Days online"}),size:40,description:p.formatMessage({id:"job_duration_description",defaultMessage:"The days online are set to the default {defaultValue} days.{br}If you need to take the job posting offline earlier, please adapt the day."},{defaultValue:i,br:(0,t.jsx)("br",{})}),placeholder:p.formatMessage({id:"job_duration_placeholder",defaultMessage:"Duration"}),min:1,max:e,onChange:e=>S(x,Number.parseInt(e.currentTarget.value))})}),T&&!g&&(0,t.jsx)(v.R,{children:p.formatMessage({id:"job_duration_expiration_datetime",defaultMessage:"Based on the start date and runtime, the job will go offline on {date} at {time}."},{date:(0,t.jsx)("b",{children:(0,c.TT)(T,p)}),time:(0,t.jsx)("b",{children:p.formatTime(new Date)})})}),w[x]&&(0,t.jsx)(f.W,{message:w[x]?.message})]})}let y=N},64853:(e,i,n)=>{"use strict";n.d(i,{o:()=>N});var t=n(37876),a=n(14232),r=n(8733),l=n(31167),d=n(97849),s=n(90336),o=n(22183),u=n(47562),c=n(98696),m=n(3098),v=n(56897),f=n(65656),g=n(6005),k=n(44319),p=n(75913),h=n(78361),b=n(35581);let j=({flow:e=s.xr.New,job:i})=>{let n=(0,a.useContext)(u.Rs),{JOBS:j}=(0,b.WV)(),_=j.JOB_POSTING_WIZARD_SHOW_DESTINATION,{getConfigByName:x}=(0,p.UK)(),N=!!x("jobiqo_subscription")?.value[0],y=(0,o.e)(i&&i.id),{data:S,error:F}=(0,l.I)((0,d.K)(N),{fetchPolicy:"no-cache",variables:{organizationProfileId:n?.currentOrganizationProfile?.id,defaultProducts:y?[y]:[]}});if(F)return(0,t.jsx)(f.K,{size:"medium"});let w=null;S?.getCartMetaData?.defaultProduct&&(w=new c.A(S?.getCartMetaData?.defaultProduct?.priceNumber,S?.getCartMetaData?.defaultProduct?.priceCurrency));let C=S?.getCartMetaData?.credits,E=S?.getCartMetaData?.flatrateSubscription?.availableJobSlots,A=(0,h.o)(S?.getCartMetaData,S?.getCartMetaData?.defaultProduct?.excludeJobFlatrateSubscription);return A&&_&&(A=S?.getCartMetaData?.defaultProduct?.frontends?.some(e=>S?.getCartMetaData?.activeJobFlatrateSubscriptions?.some(i=>i?.frontend===e||i?.frontend===null))||!1),(0,t.jsxs)(t.Fragment,{children:[A&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(k.E,{color:"gray8",children:(0,t.jsx)(r.A,{id:"cart_meta_data_flatrate_subscription",defaultMessage:"Flat rate will be used"})}),(0,t.jsx)(f.K,{})]}),e!==s.xr.Upgrades?(0,t.jsx)(t.Fragment,{children:w&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g.Hr,{}),(0,t.jsx)(f.K,{}),(0,t.jsxs)(m.q,{justifyContent:"space-between",children:[(0,t.jsx)(v.Z,{children:(0,t.jsx)(k.E,{margin:0,color:"gray9",children:S.getCartMetaData.defaultProduct.name})}),(0,t.jsx)(v.Z,{children:(0,t.jsx)(k.E,{margin:0,color:"gray5",children:S?.getCartMetaData?.defaultProductUserCredits?.amount&&!S?.getCartMetaData?.flatrateSubscription?S?.getCartMetaData?.defaultProductUserCredits?.amount>1?(0,t.jsx)(r.A,{id:"cart_meta_default_product_price_free_plural",defaultMessage:"{amount} job credits",values:{amount:S?.getCartMetaData.defaultProductUserCredits.amount}}):(0,t.jsx)(r.A,{id:"cart_meta_default_product_price_free_singular",defaultMessage:"{amount} job credit",values:{amount:S?.getCartMetaData.defaultProductUserCredits.amount}}):(0,t.jsx)("span",{style:{textDecoration:A?"line-through":"none"},children:w.getPriceRepresentation()})})})]}),(0,t.jsx)(f.K,{size:"medium"}),(0,t.jsx)(g.Hr,{})]})}):(0,t.jsx)(m.q,{alignItems:"center",gap:4,children:i&&i.title}
73),C&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.K,{}),(0,t.jsx)("strong",{children:(0,t.jsx)(k.E,{tag:"span",margin:0,color:"gray8",children:(0,t.jsx)(r.A,{id:"cart_meta_available_credits",defaultMessage:"Available credits"})})})," ",": ",C.reduce((e,{amount:i})=>e+i,0),(0,t.jsx)(f.K,{marginLeft:4,marginTop:0,children:(0,t.jsx)("ul",{children:C.map(({label:e,amount:i,organizationName:n,fromParentOrg:a},r)=>!!i&&(0,t.jsxs)("li",{children:[e," ",a?`(${n})`:"",":"," ",i]},r))})})]}),(0,t.jsx)(f.K,{size:"medium"}),S?.getCartMetaData?.flatrateSubscription&&null!==E&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.K,{}),(0,t.jsx)("strong",{children:(0,t.jsx)(k.E,{tag:"span",margin:0,color:"gray8",children:(0,t.jsx)(r.A,{id:"cart_meta_available_job_slots",defaultMessage:"Available job slots"})})})," ",": ",E]}),(0,t.jsx)(f.K,{size:"medium"})]})};var _=n(98924),x=n(88564);let N=({order:e,message:i,flow:n=s.xr.New,job:a})=>(0,t.jsxs)(x.a,{marginTop:0,children:[(0,t.jsx)(k.E,{"data-test-id":"job-cart-title",margin:0,fontWeight:"bold",children:(0,t.jsx)(r.A,{id:"cart_title",defaultMessage:"Cart summary"})}),(0,t.jsx)(f.K,{size:"large"}),(0,t.jsxs)(t.Fragment,{children:[!e&&i&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.q,{justifyContent:"space-between",children:(0,t.jsx)(v.Z,{children:(0,t.jsx)(k.E,{margin:0,color:"gray9",children:i})})}),(0,t.jsx)(f.K,{size:"medium",children:(0,t.jsx)(g.Hr,{})})]}),e?(0,t.jsxs)(t.Fragment,{children:[i&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.q,{justifyContent:"space-between",children:(0,t.jsx)(v.Z,{children:(0,t.jsx)(k.E,{margin:0,color:"gray9",children:i})})}),(0,t.jsx)(f.K,{size:"medium",children:(0,t.jsx)(g.Hr,{})})]}),(0,t.jsx)(_.z,{order:e})]}):(0,t.jsx)(t.Fragment,{children:i||e?null:(0,t.jsx)(j,{job:a,flow:n})})]}),(0,t.jsx)(f.K,{size:"medium"}),(0,t.jsx)(k.E,{color:"gray4",fontSize:2,children:(0,t.jsx)(r.A,{id:"order_vat_info",defaultMessage:"The total amount includes VAT, an invoice will be sent by email."})})]})},65050:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getAutoSuggestions"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"title"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"description"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"getAutoSuggestions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"title"},value:{kind:"Variable",name:{kind:"Name",value:"title"}}},{kind:"Argument",name:{kind:"Name",value:"description"},value:{kind:"Variable",name:{kind:"Name",value:"description"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"terms"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"autofill"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:230}};i.loc.source={body:"query getAutoSuggestions($title: String!, $description: String!) {\n getAutoSuggestions(title: $title, description: $description) {\n name\n terms {\n tid\n label\n }\n autofill {\n tid\n label\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function t(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}i.definitions.forEach(function(e){if(e.name){var i=new Set;
73!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.getAutoSuggestions=function(e,i){var a={kind:e.kind,definitions:[t(e,i)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=n[i]||new Set,l=new Set,d=new Set;for(r.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return l.forEach(function(i){var n=t(e,i);n&&a.definitions.push(n)}),a}(i,"getAutoSuggestions")},66742:e=>{e.exports={editorWrapper:"wysiwyg_editorWrapper__meioL"}},66964:(e,i,n)=>{"use strict";n.d(i,{A:()=>d,i:()=>l});var t=n(37876);n(14232);let a=e=>"currentColor"===e?"":`var(--color-${e})`,r=({title:e,theme:i=null,titleId:n="",...a})=>(0,t.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...a,children:[e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsx)("path",{d:"M15.232.03c-2.046.11-3.921.555-5.727 1.36a16.016 16.016 0 0 0-8.93 10.395 15.768 15.768 0 0 0-.555 4.468 15.93 15.93 0 0 0 1.94 7.406 16.05 16.05 0 0 0 6.846 6.629 15.892 15.892 0 0 0 3.283 1.227l.042.009V20.898l-1.646-.003-1.648-.004v-4.883l1.644-.005L12.127 16l.008-1.425c.008-1.382.014-1.582.066-2.137.261-2.813 1.382-4.691 3.386-5.674.901-.442 1.97-.702 3.315-.806.35-.028 1.265-.037 1.628-.017.877.05 1.848.163 2.503.293.164.034.32.066.345.074l.046.012.005 2.225.003 2.224-.095-.01c-.45-.046-2.044-.064-2.431-.029-1.007.092-1.668.343-2.134.81-.352.351-.58.813-.705 1.424-.098.478-.117.811-.117 2.041V16h2.61c1.436 0 2.61.006 2.61.012 0 .008-.199 1.104-.444 2.437-.245 1.333-.446 2.43-.446 2.437 0 .006-.973.012-2.165.012H17.95v5.49c0 4.38.005 5.49.02 5.49a15.95 15.95 0 0 0 7.842-3.238 16.55 16.55 0 0 0 2.45-2.361 16.52 16.52 0 0 0 1.733-2.517c.302-.54.721-1.437.947-2.031a16.088 16.088 0 0 0 .734-8.93 16.012 16.012 0 0 0-5.327-8.994A15.951 15.951 0 0 0 18.65.23c-.48-.08-1.02-.14-1.597-.184a28.613 28.613 0 0 0-1.82-.015Z",fill:"currentColor"})]}),l=({color:e="currentColor",title:i,fill:n,...l})=>(0,t.jsx)(r,{color:a(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:a(e),fill:a(e)}}:null,fill:n??a(e),title:i,...l}),d=l},70185:e=>{e.exports={chip:"chip_chip__kRRSJ",chipDefault:"chip_chipDefault__vRv9Y",chipPrimary:"chip_chipPrimary__SzqtU",chipSecondary:"chip_chipSecondary__IQs21",icon:"chip_icon__FVIT0",iconDefault:"chip_iconDefault__4VbRO",iconPrimary:"chip_iconPrimary__5efZS",iconSecondary:"chip_iconSecondary__luiFc"}},72247:e=>{e.exports={title:"autosuggestions_title__OpYNY",autoSuggestions:"autosuggestions_autoSuggestions__s_xlG"}},72576:(e,i,n)=>{"use strict";n.d(i,{A:()=>d,o:()=>l});var t=n(37876);n(14232);let a=e=>"currentColor"===e?"":`var(--color-${e})`,r=({title:e,theme:i=null,titleId:n="",...a})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"1em",height:"1em","aria-labelledby":n,...a,children:[e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsxs)("g",{className:"office_svg__nc-icon-wrapper",children:[(0,t.jsx)("path",{"data-color":"color-2",d:"M47 7H33V2a1 1 0 1 0-2 0v5H17a1 1 0 0 0-1 1v30h9c1.654 0 3 1.346 3 3v22h8V34c0-1.654 1.346-3 3-3h9V8a1 1 0 0 0-1-1zm-8 17H25a1 1 0 1 1 0-2h14a1 1 0 1 1 0 2zm0-7H25a1 1 0 1 1 0-2h14a1 1 0 1 1 0 2z"}),(0,t.jsx)("path",{d:"M61 33H39a1 1 0 0 0-1 1v28a1 1 0 0 0 1 1h22a1 1 0 0 0 1-1V34a1 1 0 0 0-1-1zm-7 23h-8a1 1 0 1 1 0-2h8a1 1 0 1 1 0 2zm0-7h-8a1 1 0 1 1 0-2h8a1 1 0 1 1 0 2zm0-7h-8a1 1 0 1 1 0-2h8a1 1 0 1 1 0 2zM25 40H3a1 1 0 0 0-1 1v21a1 1 0 0 0 1 1h22a1 1 0 0 0 1-1V41a1 1 0 0 0-1-1zm-7 16h-8a1 1 0 1 1 0-2h8a1 1 0 1 1 0 2zm0-7h-8a1 1 0 1 1 0-2h8a1 1 0 1 1 0 2z"})]})]}),l=({color:e="currentColor",title:i,fill:n,...l})=>(0,t.jsx)(r,{color:a(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:a(e),fill:a(e)}}:null,fill:n??a(e),title:i,...l}),d=l},74352:(e,i,n)=>{"use strict";n.r(i),n.d(i,{FIELD_JOB_EXPIRATION_DATE:()=>s,JobFormExpirationDate:()=>
73o,default:()=>u});var t=n(37876),a=n(77742),r=n(46680),l=n(7241),d=n(21179);let s="field_job_expiration_date";function o({value:e}){let i=(0,a.A)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.p,{id:s,label:i.formatMessage({id:"job_expiration_date_label",defaultMessage:"Expiration date"}),type:"text",disabled:!0,value:(0,r.TT)(e,i)}),(0,t.jsx)(d.R,{children:i.formatMessage({id:"job_expiration_date_description",defaultMessage:"You cannot change the expiration date for an already published job."})})]})}let u=o},74386:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"deleteAlert"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"token"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteJobAlert"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"token"},value:{kind:"Variable",name:{kind:"Name",value:"token"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alert"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:137}};i.loc.source={body:"mutation deleteAlert($id: Int!, $token: String) {\n deleteJobAlert(id: $id, token: $token) {\n errors\n alert {\n id\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function t(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.deleteAlert=function(e,i){var a={kind:e.kind,definitions:[t(e,i)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=n[i]||new Set,l=new Set,d=new Set;for(r.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return l.forEach(function(i){var n=t(e,i);n&&a.definitions.push(n)}),a}(i,"deleteAlert")},75381:(e,i,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/job/wizard/form",function(){return n(36274)}])},77410:(e,i,n)=>{"use strict";n.d(i,{X:()=>u});var t=n(37876),a=n(17175);n(14232);var r=n(28398),l=n(11773),d=n(60395),s=n.n(d);let o=(0,a.F)([s().sidebar],{variants:{sidebarPosition:{left:s().sidebarLeft,right:s().sidebarRight}}}),u=({children:e,sidebar:i,sidebarPosition:n="left",gap:a=7})=>(0,t.jsxs)(r.A,{className:o({sidebarPosition:i?n:null}),gap:a,children:["left"===n&&i&&(0,t.jsx)(l.A,{gridArea:"sidebar",children:i}),(0,t.jsx)(l.A,{gridArea:"content",children:e}),"right"===n&&i&&(0,t.jsx)(l.A,{gridArea:"sidebar",children:i})]})},77471:(e,i,n)=>{"use strict";n.r(i),n.d(i,{TaxonomyReferenceMultiple:()=>h,default:()=>b});var t=n(37876),a=n(14232),r=n(31167),l=n(77742),d=n(66386),s=n(10582),o=n(84811),u=n.n(o),c=n(58824),m=n(81068),v=n(80841),f=n(32024),g=n(76421),k=n(35856),p=n(75913);let h=({entityField:e,fieldRules:i={},refresh:n})=>{let o=(0,a.useContext)(s.B),{control:h,getValues:b,setValue:j}=(0,d.xW)(),_=b(),{hidden:x,required:N,hideSubTreeElements:y}=(0,k.bA)(e.id,_,i),{getConfigByName:S}=(0,p.UK)(),F=!!S("jobiqo_job_salary_range_free_input")?.value[0],[w,C]=(0,a.useState)(""),E=(0,l.A)(),A=_?.[e.id]?.map(e=>Number(e.tid))||[],{loading:D,error:T,data:I,previousData:O,refetch:P}=(0,r.I)(u(),{variables:{vocabularies:(0,c.I)(e),freeTids:A,language:o?.locale}}),L=I??O;(0,a.useEffect)(()=>{P()},[n,P]),(0,a.useEffect)(()=>{x&&_[e.id]&&(0,a.startTransition)(()=>{j(e.id,[])})},[x,_,e,j]),(0,a.useEffect)(()=>{y&&(y.includes(_[e.id])||y?.some(i=>_?.[e.id]?.map(e=>e.tid)?.includes(i)))&&(0,a.startTransition)(()=>{j(e.id,[])})},[y,_,e,j]);let V=(0,a.useMemo)(()=>
73{if(!L)return[];let e=L.vocabulariesTerms.map(e=>{let i=e?.parent;return{...e,name:i&&w?`${e.name} (${i?.name})`:e.name,code:e.code.toString(),parent:i}});return y&&y.forEach(i=>{let n=(0,c.G)(i.toString(),e);e=e.filter(e=>!n.includes(e.code))}),Array.from(new Map(e.map(e=>[e.code,e])).values())},[L,w,y]),M=(0,a.useCallback)(e=>{C(e)},[]),J=(0,a.useCallback)((i,n)=>{(0,a.startTransition)(()=>{let t=[...V,...i.filter(e=>!V.some(i=>i.code===e?.tid?.toString())).map(e=>({name:e.label,code:e?.tid?.toString(),parent:e?.parent?.tid}))],a=i.map(e=>t.find(i=>i.code===e)).filter(e=>!!e).map(e=>({tid:Number(e.code),label:e.name,parent:t.find(i=>i.code===e.code)?.parent}));j(e.id,a,{shouldValidate:!0,shouldDirty:!0}),n&&n?.length>0&&j(`${e.id}_free`,n.filter(e=>!!e),{shouldValidate:!0,shouldDirty:!0})})},[V,j,e.id]);return x||D&&!L||"field_job_salary_range"==e.id&&F?null:T?(0,t.jsx)(v.s,{alertStyle:"danger",type:"assertive",children:"Error loading terms for field."}):(0,t.jsx)(d.xI,{name:e.id,control:h,render:({field:i,fieldState:{error:n}})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.Z,{...i,id:i.name,selectedMark:E.formatMessage({id:"multiple_autocomplete_selected_mark",defaultMessage:"Selected"}),label:e.label,description:e.description,placeholder:(0,m.G)(e),required:e.required||N,values:i.value.map(e=>e.tid.toString()),items:V,hasFreeItems:Object.keys(e?.settings?.filter(e=>"handler_settings"===e.key)?.[0]?.value?.target_bundles).some(e=>e.includes("free_tagging")),freeItemsAddButtonText:E.formatMessage({id:"multiple_autocomplete_add_button_text",defaultMessage:"Add free term"}),onChange:J,error:!!n,onInputChange:M}),!!n&&(0,t.jsx)(g.W,{message:n.message})]})})},b=h},78361:(e,i,n)=>{"use strict";function t(e,i=!1){return!i&&e?.flatrateSubscription&&(e?.flatrateSubscription?.availableJobSlots===null||e?.flatrateSubscription?.availableJobSlots>0)}n.d(i,{o:()=>t})},80228:e=>{e.exports={inputIcon:"select_inputIcon__VbZqJ",inputWrapper:"select_inputWrapper__ql2en",iconStart:"select_iconStart__I22_S",iconEnd:"select_iconEnd__o26AP",jclInputClear:"select_jclInputClear__PTtX8",input:"select_input__2Szai",inputError:"select_inputError__U75yy",inputIconEnd:"select_inputIconEnd__9hzKk",inputIconStart:"select_inputIconStart__QlMhl",select:"select_select__Lq7YX",relative:"select_relative__K9qB2"}},81528:e=>{e.exports={hr:"Hr_hr__N6zbU"}},83687:(e,i,n)=>{"use strict";n.d(i,{A:()=>l,q:()=>l});var t=n(37876);n(14232);var a=n(29913),r=n.n(a);function l({children:e,isActive:i,isOpen:n,...a}){return(0,t.jsx)("div",{className:r().item,style:{...i?{background:"var(--select-item-background-hover)"}:null,...n?{fontWeight:700}:null},...a,children:e})}},83999:(e,i,n)=>{"use strict";n.d(i,{A:()=>d,D:()=>l});var t=n(37876);n(14232);var a=n(29261),r=n.n(a);function l({children:e,className:i=""}){return(0,t.jsx)("div",{className:`${r().hideMobile} ${i}`,children:e})}let d=l},84811:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"taxonomyValues"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"vocabularies"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"freeTids"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"vocabulariesTerms"},name:{kind:"Name",value:"termTree"},arguments:[{kind:"Argument",name:{kind:"Name",value:"vids"},value:{kind:"Variable",name:{kind:"Name",value:"vocabularies"}}},{kind:"Argument",name:{kind:"Name",value:"freeTids"},value:{kind:"Variable",name:{kind:"Name",value:"freeTids"}}},{kind:"Argument",name:{kind:"Name",value:"language"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"name"},name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"code"},name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parent"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"name"},name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"depth"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:274}};i.loc.source={body:"query taxonomyValues($vocabularies: [String]!, $freeTids: [Int], $language: String) {\n vocabulariesTerms: termTree(vids: $vocabularies, freeTids: $freeTids, language: $language) {\n name: label\n code: tid\n parent {\n tid\n name: label\n }\n depth\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function t(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}i.definitions.forEach(function(e){if(e.name){var i=new Set;
73!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.taxonomyValues=function(e,i){var a={kind:e.kind,definitions:[t(e,i)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=n[i]||new Set,l=new Set,d=new Set;for(r.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return l.forEach(function(i){var n=t(e,i);n&&a.definitions.push(n)}),a}(i,"taxonomyValues")},85234:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createSimilarJobAlert"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"data"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"JobAlertInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"createJobAlert"},name:{kind:"Name",value:"createSimilarJobAlert"},arguments:[{kind:"Argument",name:{kind:"Name",value:"data"},value:{kind:"Variable",name:{kind:"Name",value:"data"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alert"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:166}};i.loc.source={body:"mutation createSimilarJobAlert($data: JobAlertInput!) {\n createJobAlert: createSimilarJobAlert(data: $data) {\n errors\n alert {\n id\n name\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function t(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.createSimilarJobAlert=function(e,i){var a={kind:e.kind,definitions:[t(e,i)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=n[i]||new Set,l=new Set,d=new Set;for(r.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return l.forEach(function(i){var n=t(e,i);n&&a.definitions.push(n)}),a}(i,"createSimilarJobAlert")},89340:(e,i,n)=>{"use strict";n.d(i,{A:()=>t});let t=()=>null},90805:(e,i,n)=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"jobCheckoutOrder"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"acceptPublishedJob"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"coupons"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"products"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jobCheckoutOrder"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"language"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}},{kind:"Argument",name:{kind:"Name",value:"acceptPublishedJob"},value:{kind:"Variable",name:{kind:"Name",value:"acceptPublishedJob"}}},{kind:"Argument",name:{kind:"Name",value:"coupons"},value:{kind:"Variable",name:{kind:"Name",value:"coupons"}}},{kind:"Argument",name:{kind:"Name",value:"products"},value:{kind:"Variable",name:{kind:"Name",value:"products"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"order"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"OrderFields"},directives:[]}]}}]}}]}}],loc:{start:0,end:429}};t.loc.source={body:'#import "~/jobiqo/components/Checkout/graphql/fragments/orderFragment.gql"\n\nmutation jobCheckoutOrder(\n $id: Int!\n $language: String\n $acceptPublishedJob: Boolean\n $coupons: [String]\n $products: [Int]\n) {\n jobCheckoutOrder(\n id: $id\n language: $language\n acceptPublishedJob: $acceptPublishedJob\n coupons: $coupons\n products: $products\n ) {\n errors\n status\n order {\n ...OrderFields\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};t.definitions=t.definitions.concat(n(48882).definitions.filter(function(e){if("FragmentDefinition"!==e.kind)return!0;var i=e.name.value;return!a[i]&&(a[i]=!0,!0)}));var r={};function l(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}t.definitions.forEach(function(e){if(e.name){var i=new Set;
73!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),r[e.name.value]=i}}),e.exports=t,e.exports.jobCheckoutOrder=function(e,i){var n={kind:e.kind,definitions:[l(e,i)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var t=r[i]||new Set,a=new Set,d=new Set;for(t.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach(function(e){d.add(e)}))})}return a.forEach(function(i){var t=l(e,i);t&&n.definitions.push(t)}),n}(t,"jobCheckoutOrder")},91098:(e,i,n)=>{"use strict";n.d(i,{T:()=>o});var t=n(37876),a=n(57738),r=n(45062),l=n(21179);n(14232);var d=n(38713),s=n.n(d);let o=({label:e,id:i,description:n,rows:d=10,columns:o,disabled:u=!1,required:c=!1,error:m=!1,...v})=>e?(0,t.jsxs)(a.e,{children:[(0,t.jsx)(r.l,{htmlFor:i,error:m,required:c,children:e}),(0,t.jsx)("textarea",{className:s().textarea,id:i,rows:d,style:{borderColor:m?"var(--color-danger)":"var(--input-border-color)",opacity:u?.5:1},required:c,disabled:u,...v}),n&&(0,t.jsx)(l.R,{children:n})]}):(0,t.jsx)("textarea",{className:s().textarea,id:i,rows:d,style:{borderColor:m?"var(--color-danger)":"var(--input-border-color)",opacity:u?.5:1},required:c,disabled:u,...v})},91793:(e,i,n)=>{"use strict";n.d(i,{_:()=>k});var t=n(37876),a=n(17175),r=n(66894),l=n.n(r),d=n(71411),s=n(14232),o=n(52639),u=n(53965),c=n.n(u);let m=(0,d.P)("div"),v={left:{open:{x:"0%",opacity:1,transition:{ease:"easeIn",duration:.3,staggerChildren:.3}},closed:{x:"-150%",opacity:0,transition:{ease:"easeOut",duration:.3,staggerChildren:.3}}},right:{open:{x:"0%",opacity:1,transition:{ease:"easeIn",duration:.3,staggerChildren:.3}},closed:{x:"200%",opacity:0,transition:{ease:"easeOut",duration:.3,staggerChildren:.3}}},bottom:{open:{y:"0%",opacity:1,transition:{ease:"easeIn",duration:.2,staggerChildren:.2}},closed:{y:"100%",opacity:0,transition:{ease:"easeOut",duration:.2,staggerChildren:.2}}},top:{open:{y:"0%",opacity:1,transition:{ease:"easeIn",duration:.3,staggerChildren:.3}},closed:{y:"-100%",opacity:0,transition:{ease:"easeOut",duration:.3,staggerChildren:.3}}}},f=(0,a.F)([c().sideNavBlock],{variants:{position:{left:c().sideNavBlockPositionLeft,right:c().sideNavBlockPositionRight,bottom:c().sideNavBlockPositionBottom,top:c().sideNavBlockPositionTop},full:{true:c().sideNavBlockFull}},defaultVariants:{position:"left",full:!1}}),g=e=>{e(!1)};function k({children:e,height:i,maxWidth:n,full:a=!1,isOpen:r=!1,position:d="left",allowDrag:u=!0,onToggle:p}){let[h,b]=(0,s.useState)(!1);(0,s.useEffect)(()=>{r?b(!0):b(!1)},[r]);let j=(0,t.jsx)(m,{className:f({position:d,full:a}),dragDirectionLock:!0,...u?{drag:"left"===d||"right"===d?"x":"y"}:null,dragElastic:0,"data-testid":"sidenav",onDragEnd:(e,i)=>{"left"===d&&i.point.x<0&&g(p),"right"===d&&i.point.x>0&&g(p),"top"===d&&i.point.y<0&&g(p),"bottom"===d&&i.point.y>0&&g(p)},onKeyDown:e=>{27===e.keyCode&&g(p)},initial:"closed",animate:r?"open":"closed",...d&&{variants:v[d],dragConstraints:"left"===d?{right:0}
73:"right"===d?{left:0}:"top"===d?{bottom:0}:"bottom"===d?{top:0}:{right:0}},style:{height:i,maxWidth:n},children:r&&(0,t.jsxs)(l(),{active:h,className:"focus-area",focusTrapOptions:{clickOutsideDeactivates:!0,escapeDeactivates:!1,onDeactivate:()=>b(!1)},children:[e,(0,t.jsx)("a",{href:"#",children:(0,t.jsx)(o.h,{children:"First targetable element"})})]})});return(0,t.jsxs)("div",{role:"navigation",children:[j,r&&(0,t.jsx)("button",{className:c().drawerOverlay,"data-testid":"sidenav-overlay",onClick:e=>g(p)})]})}},92172:e=>{var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OrganizationMinisiteFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"OrganizationProfile"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"minisiteMenu"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"landingPage"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fixedHeader"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"backgroundColor"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxContainerSize"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"landingPageRows"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bundle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"uuid"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"metatags"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"meta"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:316}};i.loc.source={body:"fragment OrganizationMinisiteFragment on OrganizationProfile {\n minisiteMenu {\n path\n landingPage {\n id\n title\n fixedHeader\n backgroundColor\n maxContainerSize\n landingPageRows {\n bundle\n uuid\n }\n metatags {\n meta\n value\n }\n }\n }\n}\n\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function t(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.OrganizationMinisiteFragment=function(e,i){var a={kind:e.kind,definitions:[t(e,i)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=n[i]||new Set,l=new Set,d=new Set;for(r.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return l.forEach(function(i){var n=t(e,i);n&&a.definitions.push(n)}),a}(i,"OrganizationMinisiteFragment")},97849:(e,i,n)=>{"use strict";n.d(i,{K:()=>a});var t=n(35181);let a=(e=null)=>(0,t.Ay)` 74 query getCartMetaData($organizationProfileId: Int, $defaultProducts: [Int]) { 75 getCartMetaData( 76 organizationProfileId: $organizationProfileId 77 defaultProducts: $defaultProducts 78 ) { 79 credits { 80 label 81 amount 82 organizationName 83 fromParentOrg 84 balances { 85 frontend 86 transactionBalances { 87 creditType 88 amount 89 } 90 } 91 } 92 defaultProduct { 93 id 94 name 95 priceNumber 96 priceCurrency 97 excludeJobFlatrateSubscription 98 frontends 99 } 100 store { 101 id 102 name 103 mail 104 currency 105 address { 106 countryCode 107 administrativeArea 108 locality 109 addressLine1 110 addressLine2 111 zip 112 } 113 } 114 defaultProductUserCredits { 115 amount 116 type 117 balances { 118 frontend 119 transactionBalances { 120 creditType 121 amount 122 } 123 } 124 } 125 ${e?` 126 flatrateSubscription { 127 type 128 label 129 availableJobSlots 130 } 131 activeJobFlatrateSubscriptions { 132 id 133 label 134 frontend 135 }`:""} 136 } 137 } 138`},98696:(e,i,n)=>{"use strict";n.d(i,{A:()=>l});var t,a=((t={}).BEFORE="before",t.AFTER="after",t),r=n(35581);class l{constructor(e,i,n){this._priceNumber=e,this._priceCurrency=i,this._intl=n,this.formatNumber(e)}formatNumber(e){e?this._intl&&(this._priceNumber=this._intl.formatNumber("number"==typeof e?e:parseFloat(e),{minimumFractionDigits:2})):this._priceNumber=""}getPriceRepresentation(){if(!this._priceCurrency&&!this._priceNumber)return"";{if(this._priceNumber&&!this._priceCurrency)return this._priceNumber.toString();if(!this._priceNumber&&this._priceCurrency)return this._priceCurrency;let e=(0,r.Ob)().APP.PRICE_CONFIG||{},i=e.CURRENCY_PLACEMENT;return e.USE_SPACING?i===a.BEFORE?`${this._priceCurrency} ${this._priceNumber}`:`${this._priceNumber} ${this._priceCurrency}`:i===a.BEFORE?`${this._priceCurrency}${this._priceNumber}`:`${this._priceNumber}${this._priceCurrency}`}}}},98924:(e,i,n)=>{"use strict";n.d(i,{z:()=>g});var t=n(37876);n(14232);var a=n(8733),r=n(98696),l=n(28579),d=n(75913);
138let s=({orderItem:e,onChange:i})=>{if("subscription"===e.product.type)return null;let{getConfigByName:n}=(0,d.UK)(),a=n("max_quantity")?.value[0];return(0,t.jsx)(l.l,{selectedValue:e.quantity.toString(),items:Array.from({length:a??10},(e,i)=>i+1).map(e=>({name:e.toString(),code:e.toString()})),onChange:i})};function o({order:e}){return null}var u=n(3098),c=n(56897),m=n(44319),v=n(65656),f=n(6005);let g=({order:e,showQuantities:i=!1,onChange:n})=>{let l=new r.A(e?.totalNumber,e?.totalCurrency),d=new r.A(e?.subtotalNumber,e?.subtotalCurrency);return(0,t.jsxs)(t.Fragment,{children:[e.items.map((e,a)=>{let l=new r.A(e?.priceNumber,e?.priceCurrency);return e&&(0,t.jsxs)("div",{children:[(0,t.jsxs)(u.q,{justifyContent:"space-between",children:[(0,t.jsx)(c.Z,{marginRight:6,children:(0,t.jsxs)(u.q,{gap:5,flexDirection:i?"column":"row",children:[(0,t.jsx)(c.Z,{children:(0,t.jsx)(m.E,{margin:0,color:"gray9",children:e.title})}),(0,t.jsx)(c.Z,{flexBasis:i?"100%":"inherit",children:(0,t.jsx)(m.E,{margin:0,color:"gray5",children:l.getPriceRepresentation()})})]})}),i&&(0,t.jsx)(c.Z,{children:(0,t.jsx)(s,{orderItem:e,onChange:i=>{n?.({...e,quantity:Number(i.code)})}})})]}),(0,t.jsx)(v.K,{size:"medium",children:(0,t.jsx)(f.Hr,{})})]},a)}),(0,t.jsx)(t.Fragment,{children:e.messages&&e.messages.map((e,i)=>(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{children:(0,t.jsx)(m.E,{tag:"span",color:"gray7",children:e})}),(0,t.jsx)(v.K,{})]},i))}),(0,t.jsx)(v.K,{size:"large"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("strong",{children:(0,t.jsx)(m.E,{tag:"span",color:"gray8",children:(0,t.jsx)(a.A,{id:"order_subtotal_amount",defaultMessage:"Subtotal"})})})," ",": ",d.getPriceRepresentation()]}),(0,t.jsx)(v.K,{}),(0,t.jsx)(t.Fragment,{children:e.adjustments&&e.adjustments.map((e,i)=>{let n=new r.A(e?.priceNumber,e?.priceCurrency);return e&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("strong",{children:(0,t.jsx)(m.E,{tag:"span",color:"gray8",children:e.label})})," ",": ",n.getPriceRepresentation()]}),(0,t.jsx)(v.K,{})]},i)})}),(0,t.jsx)(v.K,{size:"large"}),(0,t.jsxs)(u.q,{justifyContent:"space-between",children:[(0,t.jsx)(c.Z,{children:(0,t.jsx)(m.E,{margin:0,color:"gray9",fontWeight:"bold",children:(0,t.jsx)(a.A,{id:"order_amount",defaultMessage:"Total order amount"})})}),(0,t.jsx)(c.Z,{children:(0,t.jsx)(m.E,{margin:0,color:"gray5",fontWeight:"bold",children:l.getPriceRepresentation()})})]}),(0,t.jsx)(v.K,{size:"medium"}),(0,t.jsx)(o,{order:e})]})}}},e=>{e.O(0,[1121,6701,9963,8230,4587,9307,4272,5406,8724,9511,3012,6032,4133,7302,7579,8564,8618,2557,2243,512,6989,7843,5411,3057,261,126,9099,6820,5904,636,6593,8792],()=>e(e.s=75381)),_N_E=e.O()}]); 139//# sourceMappingURL=form-cd9d268b7447233c.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.