PageSourceSearch

https://www.charityvillage.com/_next/static/chunks/pages/job/wizard/form/[jobId]-956d24468b0bb56f.js

js charityvillage.com collected 2026-10-01 11:36:53 UTC 161,439 bytes, 142 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},i=(new e.Error).stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="958179fd-1ebb-4dfd-95b2-ad041fa1b2cd",e._sentryDebugIdIdentifier="sentry-dbid-958179fd-1ebb-4dfd-95b2-ad041fa1b2cd")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1556,2055,2887,3110,3462,4459,4834,5763,7471,7551,7611],{1190:(e,i,n)=>{"use strict";n.d(i,{h:()=>r});var t=n(37876),a=n(45237);function r({width:e,height:i}){return(0,t.jsx)(a.b,{...e?{width:e}:{},...i?{height:i}:{},color:"featured"})}},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},3589:(e,i,n)=>{"use strict";n.d(i,{A:()=>u});var t=n(37876);n(14232);var a=n(79525),r=n(30304),l=n.n(r),d=n(12914),s=n(35581);let o=({serviceId:e})=>{let{APP:i}=(0,s.WV)(),n=i.CMP_PROVIDER,r=i.CMP_TCF;switch(e){case a.Bg.Youtube:switch(n){case a.$d.Usercentrics:return(0,t.jsx)("div",{className:"uc-embed","uc-layout":"serviceDetails","uc-embed-type":"service-specific","uc-embed-service-id":"BJz7qNsdj-7"});case a.$d.CivicCookieControl:if(!r)return(0,t.jsxs)("div",{children:[(0,d._R)(a.Bg.Youtube)," Cookies"]});return(0,t.jsx)("div",{children:"YouTube Video"});case a.$d.CookieScript:return(0,t.jsx)("div",{children:(0,d._R)(a.Bg.Youtube)});default:return(0,t.jsx)("div",{children:"YouTube Video"})}case a.Bg.Vimeo:switch(n){case a.$d.Usercentrics:return(0,t.jsx)("div",{className:"uc-embed","uc-layout":"serviceDetails","uc-embed-type":"service-specific","uc-embed-service-id":"HyEX5Nidi-m"});case a.$d.CivicCookieControl:if(!r)return(0,t.jsxs)("div",{children:[(0,d._R)(a.Bg.Vimeo)," Cookies"]});return(0,t.jsx)("div",{children:"Vimeo"});case a.$d.CookieScript:return(0,t.jsx)("div",{children:(0,d._R)(a.Bg.Vimeo)});default:return(0,t.jsx)("div",{children:"Vimeo"})}case a.Bg.Mapbox:switch(n){case a.$d.Usercentrics:return(0,t.jsx)("div",{className:"uc-embed","uc-layout":"serviceDetails","uc-embed-type":"service-specific","uc-embed-service-id":"U8QkTd2W"});case a.$d.CivicCookieControl:if(!r)return(0,t.jsxs)("div",{children:[(0,d._R)(a.Bg.Mapbox)," Cookies"]});return(0,t.jsx)("div",{children:"Mapbox"});case a.$d.CookieScript:return(0,t.jsx)("div",{children:(0,d._R)(a.Bg.Mapbox)});default:return(0,t.jsx)("div",{children:"Mapbox"})}default:return null}},u=({serviceId:e})=>(0,t.jsx)("div",{className:l().checkboxDivWrapper,children:(0,t.jsx)(o,{serviceId:e})})},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},4132:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getDefaultProduct"}
1,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;!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=>
1{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})}},9428:(e,i,n)=>{"use strict";n.d(i,{q:()=>t});let t=e=>{if(null==e);else if(Array.isArray(e))return e.map(e=>t(e));else if("object"==typeof e){if(e instanceof File||e instanceof Blob)return e;let i={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&"__typename"!==n&&(i[n]=t(e[n]));return i}return e}},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})=>{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:[],f=m.length>0,g=e.latitude&&e.longitude,v=m||e.latitude&&e.description,p=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),k=(0,a.useCallback)(()=>{if(f){let n=m.map((n,t)=>{let a=0===t&&g;return i(n,a?e.latitude:null,a?e.longitude:null)});return 1===n.length?n[0]:n}return g?i(n,e.latitude,e.longitude):i(n,null,null)},[i,f,g,m,e.latitude,e.longitude,n]);return v&&(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",...p&&{directApply:p},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:k(),...e?.remoteOptions&&e?.remoteOptions?.length>0?{jobLocationType:"TELECOMMUTE",applicantLocationRequirements:{"@type":"Country",name:f&&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 f=n(97531),g=n(77066),v=n(28701),p=n(90255),k=n(89099),b=n(17611),h=n(8733),_=n(30017),j=n.n(_),x=n(44319),y=n(80841);let N=({children:e,job:i,jobsPage:n})=>{let a=(0,k.useRouter)(),{JOBS:r}=(0,o.WV)(),l=r.UNPUBLISHED_JOB_FADE_HEIGHT_PX,d=(0,b.z9)(i),s=(0,b.Ud)(i),u="full"===a.query.view;return(0,t.jsxs)(t.Fragment,{children:[(d||s)&&(0,t.jsx)(y.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)(h.A,{id:"job_detail_job_no_longer_active",defaultMessage:"This 
1job ad is no longer active. Search for {search_url}",values:{search_url:(0,t.jsx)(p.A,{href:n,children:(0,t.jsx)(h.A,{id:"job_detail_link_to_search",defaultMessage:"New jobs"})})}})})})}),(d||s)&&!i.canEdit&&+l>0&&!u?(0,t.jsxs)("div",{className:j().contentFade,style:{height:`${l}px`},"data-test-id":"job_detail_container_fade",children:[e,(0,t.jsx)("div",{id:"overlay",className:j().contentFadeOverlay,style:{height:`${l/3*2}px`}})]}):(0,t.jsx)("div",{"data-test-id":"job_detail_container",children:e})]})};var S=n(88781),F=n(61045),w=n(34219),E=n(18847);let C=n.n(E)()(Promise.resolve().then(n.bind(n,35880)),{loadableGenerated:{webpack:()=>[35880]}}),A=a.memo(({job:e,children:i})=>(0,b.O_)()?(0,t.jsx)(t.Fragment,{children:i}):(0,t.jsx)(C,{initialState:e.bookmarked?[e]:[],children:i}),(e,i)=>e.job.id===i.job.id);var D=n(7753),I=n(47562),O=n(53988);let P="job_alert_frequency";var T=n(14192),L=n(77742),B=n(515),M=n(65516);function V(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=V(e.organizationProfile?.industry,M.Ff);r&&(a.push(r),t.push({label:r.label,path:(0,M.$X)(i,a)}));let l=V(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)(B.A,{items:a})}var J=n(16375),q=n.n(J),R=n(52416),$=n(23795),U=n(65656),W=n(79581),K=n(60010);let G=(0,a.memo)(({trackingPixelCode:e,jobId:i,identifier:n})=>{let r=(0,k.useRouter)(),{JOBS:l}=(0,o.WV)(),d=new URLSearchParams(r.query),s=(0,a.useMemo)(()=>(0,b.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 H=n(31680),Z=n(69139);let Y=({job:e,editLink:i,fullContainer:n=!1,isPreview:l=!1,overflow:d=!1,jobsPage:s,onApply:u,children:c,noFollowExternalLinks:p=!1,plainTextExternalLinks:k=!1,disableCoverOverlap:h=!1,hideBreadcrumbs:_=!1})=>{let[j,x]=(0,g.X)(),y=(0,a.useContext)(I.Rs),[E,C]=(0,a.useState)(!1),{showModal:B,setShowModal:M}=(0,a.useContext)(D.Td),[V,J]=(0,a.useState)(!1),K=(0,L.A)(),{JOBS:Y}=(0,o.WV)(),Q=Y.JOB_TRACKING_PIXEL_ENABLED,X=(0,b.O_)(),ee=!!(y.user&&y.user.isEligibleForJobApply&&y.user.id==e.ownerId||y.user&&e.applicationRestricted?.restrictionStatus),ei=(0,r.ET)(e);return(0,a.useEffect)(()=>{E&&!B&&(C(!1),u())},[B]),(0,t.jsx)("div",{className:!h&&!X&&e.organizationProfile?.cover?.url?q().detailWrapper:"",children:(0,t.jsx)(N,{job:e,jobsPage:s,children:(0,t.jsxs)($.C,{ref:j,type:e.type,overflow:d,isIframe:ei,...e.isHighlight?{"data-test-id":"highlight-job"}:null,children:[!_&&!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)(W.x,{fullContainer:n,overflow:d,verticalLayoutTablet:!0,...Y.JOB_SEARCH_SHOW_ORG_BANNER&&X&&e.organizationProfile?.cover?.url&&{Banner:(0,t.jsx)(T.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)(v.I,{job:e,onApply:()=>{!y.user&&e.applicationRestricted?.restrictionStatus&&"external"!==e.applicationWorkflow&&window.open((0,Z.mC)("/user/register",(0,H.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,O.hV)(P))||(0,O.lz)(P,n.FREQUENCY_DAYS,{expires:t})),!a}(e,y,Y.JOB_ALERT.MODAL)?(M(!0),C(!0)):u(),e.clickApplyTrackingPixel&&J(!0)},applicationRestricted:ee}),withBottomMenu:!!y.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,b.PH)(e,K),children:[(0,t.jsx)("div",{children:(0,t.jsxs)(f.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:p,plainTextExternalLinks:k}),"published"===e.workflowState.value&&!X&&!l&&(0,t.jsx)(m,{job:e})]})}),c,Q&&(0,t.jsxs)(t.Fragment,{children:[e.trackingPixel&&(0,t.jsx)(G,{trackingPixelCode:e.trackingPixel,jobId:e.id.toString(),identifier:"job-tracking-px-script"}),V&&(0,t.jsx)(G,{trackingPixelCode:e.clickApplyTrackingPixel,jobId:e.id.toString(),identifier:"job-click-apply-tracking-px-script"})]})]})]})})})};var Q=n(88772),X=n(88993),ee=n(49513),ei=n(97750),en=n(3644);
1let 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:f=!1,hideBreadcrumbs:g=!1})=>{let{JOBS:v}=(0,o.WV)(),k=v.JOBS_PAGE,b=(0,X.c)(e);(0,a.useEffect)(()=>{e?.id&&(ei.J.postViewEvent(e.id),(0,ee.t6)(ee.qY.JOB_VISIT,(0,Q.V)(e,i,m)))},[e?.id]);let h=i&&e.canEdit?(0,t.jsx)(p.A,{href:`/job/edit/${e.id}`,children:(0,t.jsx)(en.q,{color:"primary",title:"Edit job"})}):null;return(0,t.jsx)(Y,{job:e,logo:b||"",fullContainer:n,isPreview:s,overflow:l,jobsPage:k,editLink:h,noFollowExternalLinks:u,plainTextExternalLinks:c,disableCoverOverlap:f,hideBreadcrumbs:g,onApply:()=>(0,r.Sx)(e,i,m),children:d})}},12627:e=>{e.exports={previewContainer:"jobForm_previewContainer__73zfo"}},12914:(e,i,n)=>{"use strict";n.d(i,{_R:()=>t,sL:()=>a});let t=e=>e.replace(/([A-Z0-9])/g,e=>` ${e}`).replace(/^./,e=>e.toUpperCase()).trim(),a=e=>e.replace(/[A-Z]/g,e=>`_${e.toLowerCase()}`)},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)(),f=m(),{hidden:g,disabled:v,required:p}=(0,o.bA)(e.id,f,i);return((0,a.useEffect)(()=>{g&&f[e.id]&&c(e.id,null)},[g,f,e]),g)?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||p,disabled:e.disabled||v,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"}},17611:(e,i,n)=>{"use strict";n.d(i,{PH:()=>N,O8:()=>O,HP:()=>B,sS:()=>I,VA:()=>D,Ud:()=>w,G:()=>E,z9:()=>F,VS:()=>A,Hu:()=>C,Lb:()=>T,J8:()=>j,o6:()=>L,O_:()=>S});var t=n(37876),a=n(48230),r=n.n(a),l=n(89099),d=n.n(l),s=n(14232),o=n(8733),u=n(22340),c=n(88993);function m({job:e}){return null}var f=n(10582),g=n(46680);function v({job:e}){return null}var p=n(76740),k=n(68135),b=n(1190),h=n(79534),_=n(35581);function j(e,i,n=[]){if(!e)return null;if(0===n.length)return e;let t=!1,a=e.replace(/\[fromQueryParams:([^\]]+)\]/,(e,a)=>{let r=a.split(",").filter(e=>n.includes(e.trim())&&i.has(e.trim())).map(e=>{let n=e.trim(),t=i.get(n)??"";return`${n}=${encodeURIComponent(t)}`});return(t=r.length>0)?r.join("&"):""});return t?a:null}function x(e,i){return`${e}?${Object.keys(i).map(e=>Array.isArray(i[e])?i[e].map(i=>e+"="+encodeURIComponent(i)).join("&"):e+"="+encodeURIComponent(i[e])).join("&")}`}function y(e,i){return`${e}/${i.replace(/^\//,"")}`}function N(e,i){var n;let a,l=(0,_.Ob)(),s=(0,c.c)(e),f=(0,g.ET)(e),j=(0,u.Z)(e),N=l.JOBS.JOBS_PAGE,S=B(("salaryRangeFree"in e?e.salaryRangeFree:void 0)??{},i),F=[];if(e.occupationalField&&e.occupationalField.length>0&&F.push((0,g.zt)(e.occupationalField)),e.employmentType&&e.employmentType.length>0){let i=(n=e.employmentType,(n??[]).filter(e=>!!e?.label).map(e=>{let i=e.urlAlias?y(N,e.urlAlias):x(N,{field_job_employment_type:e.tid});return(0,t.jsx)(r(),{href:i,children:e.label},e.tid)}));i.length>0&&F.push(i)}return e.yearsOfExperience&&e.yearsOfExperience.length>0&&F.push((0,g.zt)(e.yearsOfExperience)),e.salaryRange?.[0]?.label&&F.push([e.salaryRange[0].label]),S&&F.push([S]),{onShrinkHeaderBack:()=>d().back(),title:e.title,dates:(0,g.i5)(e,i),company:(a=e.absoluteOrgUrl??e.organizationProfile?.urlNoPrefix??e.organizationProfile?.url?.path)&&j.isPublished?(0,t.jsx)(r(),{href:a,...e.absoluteOrgUrl&&{target:"_blank"},children:j.label}):j.label?(0,t.jsx)(r(),{href:x(N,{job_organization_name:j.label}),children:j.label}):j.label,...s&&{picture:{url:s,alt:e.title,title:e.title}},featured:l.JOBS.DETAIL_SHOW_FEATURED_INDICATORS&&e.isHighlight&&!e.isTopJob,topJob:l.JOBS.DETAIL_SHOW_TOP_JOB_INDICATORS&&e.isTopJob,topJobText:(0,t.jsx)(o.A,{id:"top_job",defaultMessage:"Top job"}),topJobIcon:(0,t.jsx)(p.$,{job:e}),premiumCompany:l.ORGANIZATIONS.SHOW_PREMIUM_INDICATIONS&&e.organizationProfile?.isPremium,featuredtext:(0,t.jsx)(o.A,{id:"job_featured",defaultMessage:"Featured job"}),featuredJobIcon:(0,t.jsx)(k.a,{job:e}),organizationIcon:(0,t.jsx)(h.p,{}),promotedOrganizationIcon:(0,t.jsx)(b.h,{}),...e.remoteOptions&&e.remoteOptions?.length>0&&{remote:e?.remoteOptions.map(e=>e?.label).join(" | ")},isIframe:f,locations:(0,g.u8)(e).map((i,n)=>{let a=e.region?.[n],l=a?.urlAlias;return i&&l?(0,t.jsx)(r(),{href:y(N,l),children:i},`${i}-${l}`):i}),jobFieldsValues:F,jobHeaderExtraInfo:(0,t.jsx)(m,{job:e}),customBadge:(0,t.jsx)(v,{job:e}),sourcePortals:e.sourcePortals}}let S=()=>{let{originalPath:e}=(0,s.useContext)(f.f);return e?.startsWith("/jobs")??!1};function F(e){return"unpublished"===e.workflowState.value}function w(e){return"paused"===e.workflowState.value}function E(e){return C(e.workflowState)}function C(e){return e?.value==="published"}function A(e){return e?.value==="paused"}function D(e){return e?.value==="in_progress"||e?.value==="needs_review"}function I(){return"ConsentManager"===(0,_.Ob)().APP.CMP_PROVIDER?{"data-cmp-ab":"1"}:null}function O(e,i){let n="",t=i.formatMessage({id:"job_salary_min_value_prefix",defaultMessage:"From"}),a=i.formatMessage({id:"job_salary_max_value_prefix",defaultMessage:"Up to"}),r=P(e?.minSalary??"",e?.currencyCode??"",i),l=P(e?.maxSalary??"",e?.currencyCode??"",i);return r&&l?n=e?.minSalary==e?.maxSalary?r:`${r} - ${l}`:r?n=`${t} ${r}`:l&&(n=`${a} ${l}`),n}function P(e,i,n){return parseFloat(e)>0&&i?n.formatNumber(parseFloat(e),{style:"currency",currency:i,trailingZeroDisplay:"str
1ipIfInteger",maximumFractionDigits:2}):""}function T(e,i){return e.formatNumber(i,{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2,useGrouping:!0})}function L(e,i){switch(e){case"HOUR":return i.formatMessage({id:"job_salary_unit_hour",defaultMessage:"per hour"});case"DAY":return i.formatMessage({id:"job_salary_unit_day",defaultMessage:"per day"});case"WEEK":return i.formatMessage({id:"job_salary_unit_week",defaultMessage:"per week"});case"MONTH":return i.formatMessage({id:"job_salary_unit_month",defaultMessage:"per month"});case"YEAR":return i.formatMessage({id:"job_salary_unit_year",defaultMessage:"per year"});default:return""}}function B(e,i){let n=O(e,i),t=L(e?.salaryUnit??"",i);return`${n} ${t}`.trim()}},18370:(e,i,n)=>{"use strict";n.d(i,{A:()=>d,C:()=>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:"calendar_svg__nc-icon-wrapper",children:[(0,t.jsx)("path",{d:"M32 12a1 1 0 0 1-1-1V2a1 1 0 0 1 2 0v9a1 1 0 0 1-1 1ZM15 12a1 1 0 0 1-1-1V2a1 1 0 0 1 2 0v9a1 1 0 0 1-1 1ZM49 12a1 1 0 0 1-1-1V2a1 1 0 0 1 2 0v9a1 1 0 0 1-1 1Z"}),(0,t.jsx)("path",{d:"M35.587 55H6a1 1 0 0 1-1-1V21a1 1 0 0 1 1-1h52a1 1 0 0 1 1 1v20.211a14.065 14.065 0 0 1 2 2.605V9a2 2 0 0 0-2-2h-7v4a3 3 0 0 1-6 0V7H35v4a3 3 0 0 1-6 0V7H18v4a3 3 0 0 1-6 0V7H5a2 2 0 0 0-2 2v46a2 2 0 0 0 2 2h31.365a13.972 13.972 0 0 1-.778-2Z"}),(0,t.jsx)("path",{d:"M49 39a12 12 0 1 0 12 12 12 12 0 0 0-12-12Zm5 13h-4v4a1 1 0 0 1-2 0v-4h-4a1 1 0 0 1 0-2h4v-4a1 1 0 0 1 2 0v4h4a1 1 0 0 1 0 2Z","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},21963:(e,i,n)=>{"use strict";n.d(i,{AI:()=>c,Br:()=>l,IT:()=>m,LI:()=>o,Wx:()=>a,ii:()=>s,lv:()=>f,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},f=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}},22340:(e,i,n)=>{"use strict";n.d(i,{Z:()=>a});var t=n(95283);function a(e){let i=(0,t.T)(e.organizationProfile),n=e.organization??"";return{label:i?e.organizationProfile?.name??n:n,isPublished:i}}},26192:(e,i,n)=>{"use strict";n.d(i,{X:()=>u});var t=n(37876);n(14232);var a=n(4808),r=n(68262),l=n(28838),d=n(28681),s=n.n(d);let o=(0,n(71411).P)("button"),u=({text:e,isBookmarked:i,onBookmark:n,variant:d="icon"})=>"badge"===d?(0,t.jsx)("button",{className:s().badgeButton,"data-testid":"badge-button",onClick:e=>{e.stopPropagation(),n()},title:e,children:(0,t.jsxs)(l.A,{badgeStyle:i?"primary":"secondaryVeryLight",className:s().badge,children:[(0,t.jsx)(a.A,{}),(0,t.jsx)("span",{children:e})]})}):(0,t.jsx)(o,{whileHover:{scale:1.15},whileTap:{scale:.9},"data-testid":"icon-button",onClick:e=>{e.stopPropagation(),n()},title:e,className:s().iconWrapper,children:i?(0,t.jsx)(a.A,{"data-testid":"star-icon"}):(0,t.jsx)(r.A,{"data-testid":"star-line-icon"})})},26326:(e,i,n)=>{"use strict";n.d(i,{f:()=>r});var t=n(78805),a=n(69139);let r=({gssp:e,redirectTo:i="/403",addDestinationParameterFromUrl:n=!0})=>async r=>{let l=await (0,t.wz)(r),d=await (0,t.wR)(r),s=await (0,t.Gv)(l),o=await (0,t.qc)(l);if(!d){let e="/user/login";return n&&(e+="?destination="+encodeURIComponent(r.resolvedUrl)),{redirect:{destination:(0,a.OM)(r,e),permanent:!1},props:{}}}return s||o?e?await e(r):{props:{}}
1:{redirect:{destination:(0,a.OM)(r,i),permanent:!1},props:{}}}},26951:(e,i,n)=>{"use strict";n.r(i),n.d(i,{TextLongWidget:()=>k,default:()=>k});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),f=n(44319),g=n(81068),v=n(35898),p=n(35856);function k({entityField:e,fieldRules:i={},...n}){let b,{setValue:h,getValues:_,control:j}=(0,r.xW)(),x=_(),{hidden:y,required:N}=(0,p.bA)(e.id,x,i),S=(b=e.settings.filter(e=>"form_settings"===e.key)).length>0&&b[0].value.rows?b[0].value.rows:10,F=(0,v.P)(e),w=0===F;return((0,a.useEffect)(()=>{y&&x[e.id]&&h(e.id,null)},[y,x,e]),y)?null:(0,t.jsx)("div",{id:e.id,children:(0,t.jsx)(r.xI,{name:e.id,control:j,render:({field:i,fieldState:{error:r}})=>{let v=F-(0,a.useDeferredValue)(i.value?.length??0);return v<0&&(v=0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(o.e,{children:[(0,t.jsx)(u.l,{required:e.required||N,htmlFor:i.name,children:e.label}),(0,t.jsx)(d.P,{...i,...n,id:i.name,placeholder:(0,g.G)(e),rows:S,onChange:(e,n)=>{h(i.name,n.getData(),{shouldValidate:!0})},content:i.value,maxLength:(0,g.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)(f.E,{marginTop:4,fontSize:2,...0===v&&{color:"danger"},children:(0,t.jsx)(l.A,{id:"number_of_characters_remaining",defaultMessage:"{remainingCharacters} characters remaining",values:{remainingCharacters:v}})})]})]}),!!r&&(0,t.jsx)(s.W,{message:r.message})]})}})})}},27822:(e,i,n)=>{"use strict";n.d(i,{A:()=>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 16 16","aria-labelledby":n,...a,children:[e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M15 6H8.4L10 1.3c.3-1-.9-1.8-1.7-1l-8 8C-.3 8.9.1 10 1 10h6.6L6 14.7c-.3 1 .9 1.8 1.7 1l8-8c.6-.6.2-1.7-.7-1.7z"})]}),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})},28579:(e,i,n)=>{"use strict";n.d(i,{J:()=>m,l:()=>g});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}`,f=()=>(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"})}),g=(0,o.forwardRef)(({id:e,items:i=[],label:n,description:d,error:o=!1,required:u=!1,onChange:g,onBlur:v,selectedValue:p,emptyValue:k,name:b},h)=>{let _,j=(_=i.filter(e=>e.code===p)).length>0?_[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:b,required:u,style:{borderColor:o?"var(--color-danger)":"var(--select-border-color)"},onChange:e=>{g&&g(i.filter(i=>i.code===e.target.value)[0])},onBlur:v,value:j||"",ref:h,children:[k?(0,t.jsx)("option",{value:"",disabled:u,children:k}):null,i.map(e=>(0,t.jsx)("option",{value:e.code,children:m(e,"-")},e.code))]}),(0,t.jsx)(f,{})]}),d&&(0,t.jsx)(l.R,{children:d})]})})},28681:e=>{e.exports={iconWrapper:"bookmark_iconWrapper__QQkQd",badgeButton:"bookmark_badgeButton__JgT7k",badge:"bookmark_badge__dr7dg"}},28838:(e,i,n)=>{"use strict";n.d(i,{A:()=>o,E:()=>s});var t=n(37876),a=n(17175);n(14232);var r=n(66146),l=n.n(r);let d=(0,a.F)([l().badge],{variants:{badgeStyle:{primary:l().primary,primaryLight:l().primaryLight,primaryVeryLight:l().primaryVeryLight,secondary:l().secondary,secondaryLight:l().secondaryLight,secondaryVeryLight:l().secondaryVeryLight,default:l().default,success:l().success,successLight:l().successLight,successVeryLight:l().successVeryLight,danger:l().danger,dangerLight:l().dangerLight,dangerVeryLight:l().dangerVeryLight,warning:l().warning,warningLight:l().warningLight,warningVeryLight:l().warningVeryLight,featured:l().featured,featuredLight:l().featuredLight,featuredVeryLight:l().featuredVeryLight,topJob:l().topJob}},defaultVariants:{badgeStyle:"default"}}),s=({children:e,badgeStyle:i="primary",className:n,...a})=>(0,t.jsx)("div",{className:`${d({badgeStyle:i})} ${n}`,"data-testid":"styled-badge",...a,children:e}),o=s},29913:e=>{e.exports={item:"item_item__34fcQ"}},30017:e=>
1{e.exports={contentFade:"container_contentFade__I0JvT",contentFadeOverlay:"container_contentFadeOverlay__41vPI"}},30304:e=>{e.exports={checkboxDivWrapper:"cmpServiceCheckbox_checkboxDivWrapper__bxYNV"}},32024:(e,i,n)=>{"use strict";n.d(i,{Z:()=>k});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),f=n(39653),g=n.n(f),v=n(57370);let p={width:"100%"},k=(0,a.forwardRef)(({id:e,name:i,error:n=!1,placeholder:f="Search something here...",values:k,items:b=[],label:h,description:_,required:j=!1,showSuggestionsOnClick:x=!0,onChange:y,onInputChange:N,onBlur:S,selectedMark:F="Selected",hasFreeItems:w=!1,freeItemsAddButtonText:E="Add new term"},C)=>{let[A,D]=(0,a.useState)(""),[I,O]=(0,a.useState)([]),[P,T]=(0,a.useState)(!1),L=(0,v.d)(A,200),B=a.useCallback(e=>{y&&k.length&&!A.length&&8===e.keyCode&&y(k.slice(0,k.length-1),I)},[y,k,A.length,I]),M=a.useCallback(e=>{if(k.includes(e)){let i=k.filter(i=>i!==e);y&&y(i,I)}else{let i=I.filter(i=>i!==e);O(i),y&&y(k,i)}},[k,I,y]),V=e=>{D(e.target.value),N&&N(e.target.value),w&&(b.map(e=>e.name).includes(e.target.value)?T(!1):T(!0))},z=a.useCallback(()=>{let e=[...I,A];O(e),T(!1),D(""),y&&y(k,e)},[I,A,y,k]),J=a.useMemo(()=>e=>{let i=b.find(i=>i.code===e);return i?i.name:e},[b]),q=a.useMemo(()=>L.length?(0,c.Ht)(b.map(e=>e.name),L,{threshold:c.Ht.rankings.CONTAINS}):b.map(e=>e.name),[L,b]),R=a.useMemo(()=>b.filter(e=>q.includes(e.name)),[b,q]),$=a.useMemo(()=>{var e,i;return e=R,i=k,e.filter(e=>-1===i.indexOf(e.code)).reduce((e,i,n)=>(e[i.code]=n,e),{})},[R,k]);return(0,t.jsxs)(l.e,{children:[h&&(0,t.jsx)(d.l,{error:n,required:j,htmlFor:e,children:h}),(0,t.jsx)(u.Ay,{inputValue:A,onChange:e=>{y&&e&&(a.startTransition(()=>{y([...k,e.code],I)}),D(""))},selectedItem:w&&I.length>0?[...k,...I]:k,itemToString:e=>e?e.code:"",labelId:e,children:({getInputProps:l,getItemProps:d,getRootProps:s,getLabelProps:u,openMenu:c,highlightedIndex:v,isOpen:b,selectedItem:_})=>(0,t.jsxs)("div",{style:p,children:[(0,t.jsxs)("div",{className:g().inputWrapper,style:{borderColor:n?"var(--color-danger)":"var(--select-border-color)"},onClick:()=>{x&&c()},children:[_?.map(e=>(0,t.jsxs)("span",{className:g().spanElement,onClick:()=>{M(e)},children:[J(e),"\xa0",(0,t.jsx)(o.A,{title:"Close"})]},e)),(0,t.jsx)("input",{className:g().downshiftInput,...l({placeholder:f,name:i,id:e,"aria-labelledby":e,"aria-label":h,onChange:V,onKeyDown:B,onBlur:S,ref:C})})]}),b&&(0,t.jsx)("div",{className:g().itemsWrapper,children:R.map(e=>{let i=-1!==k.indexOf(e.code),n=i?{}:d({item:e,index:$[e.code]});return(0,a.createElement)(m.q,{...n,isActive:v===$[e.code],key:e.code,children:[(0,r.J)(e),i&&(0,t.jsx)("span",{className:g().itemLabel,children:F},e.code)]})})}),w&&P&&(0,t.jsx)("button",{className:g().freeTermsButton,onClick:z,children:E})]})}),_&&(0,t.jsx)(s.R,{children:_})]})})},33110:(e,i,n)=>{"use strict";n.d(i,{Xh:()=>c,c0:()=>m,rE:()=>u,wP:()=>f});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)`
2    ${d()}
3    ${r()}
4    query organizationProfileById($id: Int!) {
5      organizationProfileById(id: $id) {
6        errors
7        content {
8          ... on OrganizationProfile {
9            ...OrganizationFragment
10            ...CustomOrganizationFields
11          }
12        }
13      }
14    }
15  `,c=(e=!1)=>(0,t.J1)`
16    ${d()}
17    ${e?o():""}
18    ${r()}
19    query organizationProfileByPath($path: String!, $language: String) {
20      organizationProfileByPath(path: $path, language: $language) {
21        errors
22        ... on ErrorResponse {
23          code
24          reason
25          errors
26        }
27        ... on ContentResponse {
28          content {
29            ... on OrganizationProfile {
30              ...OrganizationFragment
31              ...CustomOrganizationFields
32              ${e?"...OrganizationMinisiteFragment":""}
33            }
34          }
35        }
36      }
37      route(path: $path) {
38        ... on ErrorResponse {
39          code
40        }
41        ... on RedirectResponse {
42          code
43          target
44        }
45      }
46    }
47  `,m=()=>(0,t.J1)`
48    ${r()}
49    query organizationProfileByUserId($id: Int!) {
50      organizationProfileByUserId(id: $id) {
51        errors
52        content {
53          ... on OrganizationProfile {
54            frontends
55            workflowState {
56              value
57            }
58            ...CustomOrganizationFields
59          }
60        }
61      }
62    }
63  `,f=()=>(0,t.J1)`
64    query getAgencyOrganizations($id: Int!) {
65      getAgencyOrganizations(id: $id) {
66        ... on Organization {
67          name
68          id
69        }
70      }
71    }
72  `},33468:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateJob"}
72,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:"data"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"JobInput"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"republishing"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateJob"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"data"},value:{kind:"Variable",name:{kind:"Name",value:"data"}}},{kind:"Argument",name:{kind:"Name",value:"republishing"},value:{kind:"Variable",name:{kind:"Name",value:"republishing"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{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:[]}]}}]}}]}}]}}],loc:{start:0,end:278}};i.loc.source={body:"mutation updateJob($id: Int!, $data: JobInput!, $republishing: Boolean) {\n  updateJob(id: $id, data: $data, republishing: $republishing) {\n    errors\n    job: content {\n      ... on Job {\n        id\n        url {\n          path\n        }\n        urlNoPrefix\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.updateJob=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,"updateJob")},34219:(e,i,n)=>{"use strict";var t;n.d(i,{A:()=>a});let a=((t={}).JOB_TEASER="job teaser",t.JOB_DETAIL="job detail",t)},34952:(e,i,n)=>{"use strict";n.d(i,{A:()=>f,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:f,onFocus:g,rows:v=3,maxLength:p},k)=>{var b;let h=(0,a.useContext)(d.Rs),{locale:_}=(0,a.useContext)(r.B),{USER:j}=(0,l.WV)(),[x,y]=(0,a.useState)(null),{CKEditor:N,ClassicEditor:S}=x||{},F=(0,a.useMemo)(()=>"en"===_?"en-gb":"es-419"===_?"es":_,[_]);(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 ${_} language config.`),null))]).then(([i,n,t])=>{e&&y({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,
72n.MediaEmbed,n.Paragraph,n.PasteFromOffice,n.Table,n.TableToolbar],translations:t?.default})}).catch(i=>{e&&console.error("Failed to load CKEditor.",i)}),()=>{e=!1}},[_,F]),(0,a.useEffect)(()=>{document.documentElement.style.setProperty("--ck-editor-rows",v.toString())},[v]);let w=(b=h.user,b?(0,s.vT)(b)||(0,s.Gv)(b)?j.APPLICANT.editor:(0,s.Gv)(b)?j.RECRUITER.editor:(0,s.qc)(b)?j.ADMIN.editor:null:j.ANON.editor),E=(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:N&&S?(0,t.jsx)(N,{ref:k,editor:S,onReady:e=>{window.CKEDITOR=e},data:i,config:E,onChange:m,onBlur:f,onFocus:g},e):(0,t.jsx)(o.T,{rows:v,disabled:!0,maxLength:p},e)})}),f=m},35880:(e,i,n)=>{"use strict";n.r(i),n.d(i,{BookmarkedJobsContext:()=>r,default:()=>l});var t=n(37876),a=n(14232);let r=(0,a.createContext)({bookmarkedJobs:[],setBookmarkedJobs:()=>{}}),l=({children:e,initialState:i})=>{let[n,l]=(0,a.useState)(i),d=(0,a.useRef)(JSON.stringify(i.map(e=>e.id).sort()));return(0,a.useEffect)(()=>{let e=JSON.stringify(i.map(e=>e.id).sort());e!==d.current&&(d.current=e,l(i))},[i]),(0,t.jsx)(r.Provider,{value:{bookmarkedJobs:n,setBookmarkedJobs:l,getBookmarkedJob:e=>n.find(i=>i.id===e)??null},children: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,6204],"./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},38661:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"previewLinkContent"}
72,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"}},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-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:()=>eV});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.$
72n,{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 f=n(31167),g=n(51350),v=n(50797),p=n.n(v),k=n(35581),b=n(33110),h=n(47562),_=n(51611),j=n(21963),x=n(10582),y=n(62864),N=n(14834),S=n(62055),F=n(64672),w=n(65656),E=n(44319),C=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)(N.default,{entityField:e}),(0,t.jsx)(w.K,{size:"medium"})]},e.id):null;var I=n(78248),O=n(77471),P=n(26951),T=n(3106),L=n(15937),B=n.n(L);let M=function({onClick:e,fieldName:i,chipName:n,...a}){return(0,t.jsx)("div",{className:B().clickableChip,onClick:()=>{e&&e(i,a.chipId,n)},children:(0,t.jsx)(T.v,{...a})})};var V=n(72247),z=n.n(V);let J=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($),W=n(58588),K=n(18847),G=n.n(K),H=n(74352),Z=n(62478),Y=n(52044),Q=n(18652);function X(e,i,n=0){let t=i+Number(n),a=i,r=new Date,l=e?.[g.FIELD_JOB_PUBLISHING_DATE]||g.DEFAULT_JOB_PUBLISHING_DATE,d=(0,Q.A)(l);if(d>r&&e?.field_job_expiration_date){let i=(0,Q.A)(e.field_job_expiration_date);if(!isNaN(i.getTime())&&!isNaN(d.getTime())){let e=(0,Y.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),ef=n(87809),eg=n(72323),ev=n.n(eg);let ep=function({}){let e=(0,a.useContext)(x.B),{JOBS:i}=(0,k.WV)(),{setValue:n,watch:d}=(0,es.xW)(),{currentOrganizationProfile:s}=(0,a.useContext)(h.Rs),c=(0,r.A)(),m=i.AI.JOB_DESCRIPTION.temperature,f=i.AI.JOB_DESCRIPTION.maxTokens,g=i.AI.JOB_DESCRIPTION.languages,v=d("title"),p=d("field_job_location"),b=d("field_job_skills"),_=d("field_job_employment_type"),j=d("field_job_salary_range"),y=d("field_job_salary_range_free_inpu"),N=d("field_job_application_workflow"),S=(0,o.O8)(y??{},c),F=(0,o.o6)(y?.salaryUnit??"",c),w=`${S} ${F}`.trim(),[E,C]=(0,a.useState)(null),A=(0,a.useMemo)(()=>()=>({jobTitle:v,locations:p?.join(", "),companyName:s?.name,benefits:s?.benefits?.map(e=>e?.label).join(", "),industry:s?.industry?.label,companyPresentation:s?.presentation,skills:b?.map(e=>e.label).join(", "),employmentType:_?.map(e=>e?.label).join(", "),salaryRange:j?.name,salaryRangeFreeInput:w,applicationWorkflow:N}),[v,p,s,b,_,j,w,N]),{messages:D,setMessages:I,sendMessage:O,stop:P,status:T}=(0,em.Y_)({transport:new ef.rL({api:"/api/openai-job-description",body:()=>({temperature:m,maxTokens:f,languages:g,locale:e.locale,...A()})})}),L=async e=>{e.preventDefault(),e.stopPropagation(),I([]),O({text:"Generate job description"},{body:{...A()}})};return(0,a.useEffect)(()=>{E&&E?.length>15&&n("field_job_description",E)},[E]),(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&&C(i)},[D]),(0,a.useEffect)(()=>{"streaming"===T||"submitted"===T?ev().start():ev().done()},[T]),(0,t.jsxs)(t.Fragment,{children:["streaming"===T?(0,t.jsxs)(u.$n,{onClick:()=>P(),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:!v,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 ek=n(78805);n(25127);var eb=n(81068),eh=n(7241),e_=n(76421),ej=n(57738),ex=n(45062),ey=n(22993);function eN({entityField:e,singleItemLabel:i,hasQuestions:n=!1}
72){let l=(0,r.A)(),{control:d,setError:s,clearErrors:o,getValues:c,setValue:m}=(0,es.xW)(),{fields:f,remove:g,append:v}=(0,es.jz)({control:d,name:e.id}),{ADD_ANOTHER:p,FIELD_REQUIRED:k}=(0,Z.w)(),b=()=>{v({question:"",required:!1},{shouldFocus:!1})};return((0,a.useEffect)(()=>{n&&(0===f.length&&e.defaultKeyValues.length>0?(m(e.id,[]),v(e.defaultKeyValues.map((e,i)=>({question:e.text,required:e.required})),{shouldFocus:!1})):0===f.length&&0===e.defaultKeyValues.length&&(m(e.id,[]),b()))},[e,f,n]),(0,a.useEffect)(()=>{n||m(e.id,[])},[n]),n)?(0,t.jsxs)(ej.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:f.map((n,a)=>{let r=`${e.id}.${a}`,m=`${r}.question`,v=`${r}.required`,p=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)(eh.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,eb.G)(e),maxLength:(0,eb.P)("max_length",e)}),p&&e.description&&(0,t.jsx)(eu.R,{content:e.description}),a&&(0,t.jsx)(e_.W,{message:a.message})]})}),(0,t.jsx)(w.K,{}),(0,t.jsx)(es.xI,{name:v,control:d,render:({field:i,fieldState:{error:n}})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ey.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:k}):o(m)}}),p&&e.description&&(0,t.jsx)(eu.R,{content:e.description}),!!n&&(0,t.jsx)(e_.W,{message:n.message})]})}),(0,t.jsx)(w.K,{size:"medium"})]}),f.length>1&&(0,t.jsx)(ea.Z,{children:(0,t.jsx)(u.$n,{raised:!1,iconed:!0,buttonStyle:"danger",type:"button",onClick:()=>g(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(),b()},children:p})]}):null}var eS=n(28579),eF=n(91793),ew=n(9680),eE=n(5591),eC=n(4599),eA=n.n(eC),eD=n(56201),eI=n(17175),eO=n(52639);let eP=(0,eI.F)([eA().jobPreviewContainer,"job_preview_container"],{variants:{isMobile:{true:eA().jobPreviewContainerMobile}}}),eT=(0,eI.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,k.WV)(),s=Object.values(d.JOB_DETAIL_FIELDS),{user:o,currentOrganizationProfile:c}=(0,a.useContext)(h.Rs),m=(0,eD.a)(),{getConfigByName:f}=(0,C.UK)(),g=!!f("job_preview_enabled")?.value[0],v=(0,j.ii)(s,r(),!0);return"job_per_file"!==e&&g?(Object.keys(v).forEach(e=>{v[e]?.tid&&!Array.isArray(v[e])&&(v[e]=[v[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:eT({isMobile:m}),onClick:e=>{e.stopPropagation(),e.preventDefault(),n(!0)},children:[(0,t.jsx)(eE.b,{width:24,height:24}),m?(0,t.jsx)(eO.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:eP({isMobile:m}),children:(0,t.jsx)(ew.default,{user:o,fullContainer:!0,overflow:!0,isPreview:!0,job:{...v,type:e,organization:c?.name||o?.organization?.name,organizationProfile:c,workflowState:{value:"published"},url:{path:"/job/preview"}}})})]})]})):null}var eB=n(12627),eM=n.n(eB);let eV=({jobType:e,onSubmit:i,onCancel:n,entity:u,showButtons:c=!0,saveLabel:v,submittingJobMutation:T=!1,workflowState:L,republishing:B,bundle:M,fieldErrorList:V,...z})=>{var q,$;let K,G,es,eo,eu,ec=(0,r.A)(),{user:em}=(0,a.useContext)(h.Rs),ef=function(e){let{JOBS:i}=(0,k.WV)();if(i.SCHEDULED_JOB_FEATURE_ACTIVE){let{data:i}=(0,f.I)(p(),{variables:{name:"node",bundle:e},fetchPolicy:"no-cache"});return{maximumJobDuration:i?.definition.fields.find(e=>e.id===g.FIELD_JOB_PUBLISHING_DATE)?.maximumJobDuration}}return null}(e),eg=function(e){let{JOBS:i}=(0,k.WV)(),n=Object.values(i.JOB_DETAIL_FIELDS).map(e=>(0,j.Wx)(e)),{user:t}=(0,a.useContext)(h.Rs),{data:r}=(0,f.I)((0,b.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===_.A.JOB_PER_FILE&&(n.fields=n.fields.filter(e=>"field_job_description"!==e.id)),n})}(e),{isEditPage:ev}=function(){let{pathname:e}=(0,a.useContext)(x.f);return{isEditPage:"/job/edit/[id]"===e}}(),eb=(0,o.Hu)(L),eh=(0,o.VS)(L),e_=(0,o.VA)(L),ej=(0,Z.w)(),{values:ex,loading:ey}=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,k.Ob)().JOBS.SCHEDULED_JOB_FEATURE_ACTIVE,{getConfigByName:u}=(0,C.UK)(),c=!!u("job_end_date_picker")?.value[0];if(!o)return{};let{maxAllowedDuration:m,defaultDuration:f}=X(r,d,s);return{additionalFieldList:[F.FIELD_JOB_DURATION,g.FIELD_JOB_PUBLISHING_DATE],formGroupsChildren:{job_schedule:({definition:d})=>{let o=d?.fields.find(e=>e.id===g.FIELD_JOB_PUBLISHING_DATE)?.attributes?.find(e=>"default_timezone"===e.key)?.value,u=d?.fields.find(e=>e.id===g.FIELD_JOB_PUBLISHING_DATE)?.defaultValue?new Date(1e3*Number(d.fields.find(e=>
72e.id===g.FIELD_JOB_PUBLISHING_DATE).defaultValue)).toLocaleString("en-US",{timeZone:o}):g.DEFAULT_JOB_PUBLISHING_DATE,[v,p]=(0,a.useState)(u),k=function(e,i,n,t,a){if(i&&!n&&e?.[H.FIELD_JOB_EXPIRATION_DATE]){let i=(0,Q.A)(e[H.FIELD_JOB_EXPIRATION_DATE]),n=(0,Q.A)(e?.[g.FIELD_JOB_PUBLISHING_DATE]||g.DEFAULT_JOB_PUBLISHING_DATE);if(!isNaN(i.getTime())&&!isNaN(n.getTime())){let e=(0,Y.A)(i,n);if(e>0&&e<=a)return e}}return t}(r,e,i,f,m);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ee,{isReadOnly:e&&(i||n),value:l?v:r?.[g.FIELD_JOB_PUBLISHING_DATE]}),(0,t.jsx)(w.K,{size:"medium"}),e&&i?(0,t.jsx)(ei,{value:r[H.FIELD_JOB_EXPIRATION_DATE]}):(0,t.jsx)(en,{maxValue:m,defaultValue:k,extendedRuntime:!!s,useDatePicker:c,initialPublishingDate:r?.[g.FIELD_JOB_PUBLISHING_DATE]},`${F.FIELD_JOB_DURATION}-${m}-${k}`),(0,t.jsx)(w.K,{size:"medium"})]})}}}}({isEditPage:ev,isJobPublished:eb,isJobPaused:eh,republishing:B,entity:u,maximumJobDuration:ef?.maximumJobDuration??0,extendedRuntime:M?.extendedDuration}),ew={...function(){let{user:e}=(0,a.useContext)(h.Rs),{getConfigByName:i}=(0,C.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)(E.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)(N.default,{entityField:e}),(0,t.jsx)(w.K,{size:"medium"})]},e.id):null)({field:e,values:i})}}}(),...function(e,i){if(e!==_.A.JOB_PER_LINK)return null;let[n,r]=(0,a.useState)(!1),[l,{data:d,error:s,loading:o}]=(0,I._)(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)(W.G,{color:"primary",height:"100",width:"100",title:i.formatMessage({id:"loading_message",defaultMessage:"Loading"})}),(0,t.jsx)(P.default,{entityField:e}),(0,t.jsx)(w.K,{size:"medium"})]},e.id))}}(e,ec),...function(){let e=(0,k.Ob)().JOBS||{};if(!e.AUTOSUGGESTIONS_ENABLED)return null;let i=e.AUTOSUGGESTIONS_AUTOFILL_FIELDS,[n,r]=(0,a.useState)([]),[l,{}]=(0,I._)(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];
72a.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)(P.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)(O.default,{required:!0,entityField:e,refresh:n}),(0,t.jsx)(w.K,{size:"small"}),(0,t.jsx)("div",{children:(0,t.jsx)(J,{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)(O.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)(O.default,{required:!0,entityField:e,refresh:n}),(0,t.jsx)(w.K,{size:"small"}),(0,t.jsx)("div",{children:(0,t.jsx)(J,{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)(O.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)(O.default,{required:!0,entityField:e,refresh:n}),(0,t.jsx)(w.K,{size:"small"}),(0,t.jsx)("div",{children:(0,t.jsx)(J,{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)(O.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)(O.default,{required:!0,entityField:e,refresh:n}),(0,t.jsx)(w.K,{size:"small"}),(0,t.jsx)("div",{children:(0,t.jsx)(J,{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)(O.default,{required:!0,entityField:e}),(0,t.jsx)(w.K,{size:"small"})]},e.id)}}}(),...(q=eb||e_,K=(0,r.A)(),G={}
72,es=(0,k.Ob)().JOBS.JOB_EDIT_HIDDEN_FIELDS||[],ev&&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)(E.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,k.Ob)().JOBS.AI?.JOB_DESCRIPTION||{}).enabled&&((0,ek.Gv)(em)||eo.dangerous_enabled_anonymous)&&{field_job_description:({field:e,values:i,setFieldValue:n})=>(0,t.jsxs)("div",{children:[(0,t.jsx)(P.default,{entityField:e}),(0,t.jsx)(ep,{}),(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)(eN,{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,C.UK)(),l=!!n("jobiqo_organization_agency")?.value[0],d=(0,r.A)(),{data:s,loading:o,error:u}=(0,f.I)((0,b.wP)(),{variables:{id:e?.organization?.id},skip:!l||!(0,ek.Gv)(e)}),[c,m]=(0,a.useState)([]),[g,v]=(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&&v(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,ek.Gv)(e)&&c.length?(0,t.jsx)("div",{children:(0,t.jsx)(eS.l,{id:i.id,items:c,name:i.id,selectedValue:g??"",onChange:e=>{e?(v(e.code),a(i.id,e.code)):(v(null),a(i.id,null))},label:i.label,description:i.description})},i.id):null}}(em,u)},eE={...($=ef?.maximumJobDuration??0,eu=(0,k.Ob)().JOBS.SCHEDULED_JOB_FEATURE_ACTIVE,{field_job_application_link:y.string().when("field_job_application_workflow",e=>"external"===e?y.string().required(ec.formatMessage({id:"field_required",defaultMessage:"Field is required"})):y.string().nullable()),field_job_application_email:y.string().when("field_job_application_workflow",e=>"internal"===e||"quick"===e?y.string().required(ec.formatMessage({id:"field_required",defaultMessage:"Field is required"})):y.string().nullable()),...eu&&{[F.FIELD_JOB_DURATION]:y.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,k.Ob)().JOBS.SCHEDULED_JOB_FEATURE_ACTIVE,{FIELD_NUMBER:r}=(0,Z.w)(),{maxAllowedDuration:l}=X(t,i,n);return{...a&&{[F.FIELD_JOB_DURATION]:y.number().typeError(r).max(l,e.formatMessage({id:"job_duration_max_value",defaultMessage:"The maximum number of days online is {maxValue}."},{maxValue:l}))}}}(ec,ef?.maximumJobDuration??0,M?.extendedDuration??void 0,u),...function({FIELD_REQUIRED:e}){return{field_job_app_questions:y.array().of(y.object().shape({question:y.string().nullable().required(e),required:y.boolean()}))}}(ej)};return ey?(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:eg,...eF,overrides:ew,extraValidationSchema:eE,extraInitialValues:ex,fieldErrorList:V,onCancel:n,onSubmit:i,renderButtons:e
72=>(0,t.jsx)(m,{...e,showButtons:c,submittingJobMutation:T,saveLabel:v}),...z,children:(0,t.jsx)("div",{className:eM().previewContainer,children:(0,t.jsx)(eL,{jobType:e,isEdit:ev})})})})})}},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"}
72,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:()=>p,FIELD_JOB_PUBLISHING_DATE:()=>v,JobFormPublishingDateInput:()=>k,default:()=>b});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
7279),f=n(46383),g=n(76421);let v="field_job_publishing_date",p=new Date;function k({isReadOnly:e,value:i}){let n=(0,r.A)(),{locale:b}=(0,a.useContext)(l.B),{control:h,formState:{errors:_},setValue:j}=(0,o.xW)(),x=(0,s.ty)(n),y=n.formatMessage({id:"job_publishing_date_label",defaultMessage:"Publishing date"});return(0,a.useEffect)(()=>{i&&!e&&j(v,(0,d.A)(new Date(i),"yyyy-MM-dd"))},[i]),e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.xI,{name:v,control:h,render:({field:e,fieldState:{error:a}})=>(0,t.jsx)(c.p,{...e,error:!!a,id:v,label:y,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:v,control:h,render:({fieldState:{error:a}})=>(0,t.jsx)(f.B,{id:v,minDate:new Date,label:y,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):p,locale:b,readOnly:e,displayFormat:x,onDateChange:e=>{e&&j(v,(0,d.A)(e,"yyyy-MM-dd"))}})}),_[v]&&!e&&(0,t.jsx)(g.W,{message:_[v]?.message})]})}let b=k},53298:(e,i,n)=>{"use strict";n.d(i,{d:()=>a,t:()=>t});let t=e=>"published"===e.workflowState.value&&!e?.isCipher,a=e=>"quick"===e.applicationWorkflow},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  name\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  }
72\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:"indefinite"})})]}),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:()=>h});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),f=n(50278),g=n(77410),v=n(66874),p=n(63809),k=n(89340),b=n(35581);let h=({errorList:e,jobType:i,entity:n,onSubmit:a,flow:h=u.xr.New,submitting:_=!1,job:j,fieldErrorList:x,bundle:y,republishing:N=!1})=>{let{JOBS:S}=(0,b.WV)(),F=S.HIDE_JOB_CART;return(0,t.jsx)(c.I,{size:"xLarge",Steps:(0,t.jsx)(o.A,{flow:h}),children:(0,t.jsx)(g.X,{sidebarPosition:"right",sidebar:(0,t.jsxs)(t.Fragment,{children:[F?null:(0,t.jsx)(s.o,{flow:h,...j?{job:j}:null}),(0,t.jsx)(p.o,{}),(0,t.jsx)(k.A,{})]}),children:(0,t.jsxs)("div",{children:[e&&(0,t.jsx)(v.g,{children:(0,t.jsxs)(f.D,{children:[e,(0,t.jsx)(m.K,{size:"medium"})]})}),(0,t.jsx)(d.W,{jobType:i,...n?{entity:n}:null,bundle:y,saveLabel:(0,t.jsx)(l.A,{id:"next",defaultMessage:"Next"}),onCancel:()=>r().back(),submittingJobMutation:_,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)(()=>
72{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:()=>_,default:()=>_});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),f=n(3098),g=n(49125),v=n(21179),p=n(8733),k=n(62864),b=n(62478);function h(e,i){return"email"!==i.type||k.string().email().isValidSync(e)}function _({entityField:e,fieldRules:i={},required:n=!1,defaultValue:k,...j}){let{setValue:x,getValues:y,control:N,setError:S}=(0,r.xW)(),F=y(),{hidden:w,disabled:E,required:C}=(0,o.bA)(e.id,F,i),{EMAIL_VALIDATION:A}=(0,b.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:N,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||C,disabled:e.disabled||E,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),...j,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:b}=(0,r.jz)({control:N,name:e.id});return(0,a.useEffect)(()=>{k&&x(e.id,[k])},[k]),(0,t.jsx)("div",{children:(0,t.jsxs)(t.Fragment,{children:[i.map((i,a)=>{let g=`${e.id}.${a}`;return(0,t.jsxs)(f.A,{flexWrap:"nowrap",alignItems:"center",children:[(0,t.jsx)(r.xI,{name:g,control:N,render:({field:i,fieldState:{error:r}})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.p,{...i,name:g,id:g,type:e.type,required:e.required||n||C,disabled:e.disabled||E,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(g,Number.parseInt(i.currentTarget.value)):x(g,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)(p.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:N,render:({field:a,fieldState:{error:r}})=>(0,t.jsxs)("div",{children:[(0,t.jsxs)(f.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||C),...0===i.length&&{label:e.label},disabled:e.disabled||E,error:!!r,size:40,placeholder:(0,l.G)(e),maxLength:(0,l.P)("max_length",e),onBlur:i=>{a.value&&h(a.value,e)&&(b(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=h(a.value,e);i||S(`${e.id}_add`,{message:A}),a.value&&i&&(b(a.value),a.onChange(""))},children:[(0,t.jsx)(g.R,{title:"add"}),(0,t.jsx)("span",{children:(0,t.jsx)(p.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)(v.R,{children:e.description})]})})}}},64672:(e,i,n)=>{"use strict";n.r(i),n.d(i,{FIELD_JOB_DURATION:()=>x,JobFormDurationInput:()=>y,default:()=>N});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),f=n(21179),g=n(76421),v=n(3098),p=n(56897),k=n(65656),b=n(18370);function h({maxValue:e,publishingDate:i}){let n=(0,r.A)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(v.q,{alignItems:"baseline",gap:3,children:[(0,t.jsx)(p.Z,{children:(0,t.jsx)(b.C,{color:"primary"})}),(0,t.jsx)(p.Z,{children:(0,t.jsx)(f.R,{children:n.formatMessage({id:"job_duration_runtime_expiration_days_online",defaultMessage:"This 
72job will be online for {daysOnline} days"},{daysOnline:(0,t.jsx)("strong",{children:e})})})})]}),(0,t.jsx)(k.K,{}),(0,t.jsx)(f.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 _=n(46383),j=n(2766);let x="field_job_duration";function y({maxValue:e,defaultValue:i,extendedRuntime:n=!1,useDatePicker:v=!1,initialPublishingDate:p}){let k=(0,r.A)(),{locale:b}=(0,a.useContext)(s.B),N=(0,j.ty)(k),{setValue:S,control:F,formState:{errors:w},watch:E}=(0,u.xW)(),C=E(o.FIELD_JOB_PUBLISHING_DATE),A=E(x)??i,D=C||p,I=A&&D?(0,l.A)((0,j.l4)(D),Number(A)):null;if((0,a.useEffect)(()=>{S(x,i)},[e,i]),n)return(0,t.jsx)(h,{maxValue:e,publishingDate:C});let O=e=>{if(e&&D){let i=(0,d.A)(e,(0,j.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}})=>v?(0,t.jsx)(_.B,{id:x,label:k.formatMessage({id:"job_end_date_label",defaultMessage:"End date"}),description:k.formatMessage({id:"job_end_date_description",defaultMessage:"Select the date when the job should go offline"}),placeholder:k.formatMessage({id:"job_end_date_placeholder",defaultMessage:"End date"}),error:!!r,initialDate:I||(0,l.A)(D?(0,j.l4)(D):new Date,i||30),locale:b,readOnly:n,displayFormat:N,minDate:D?(0,l.A)((0,j.l4)(D),1):new Date,maxDate:D?(0,l.A)((0,j.l4)(D),e||30):void 0,onDateChange:O}):(0,t.jsx)(m.p,{...a,value:a.value??i,id:x,type:"number",readOnly:n,error:!!r,label:k.formatMessage({id:"job_duration_label",defaultMessage:"Days online"}),size:40,description:k.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:k.formatMessage({id:"job_duration_placeholder",defaultMessage:"Duration"}),min:1,max:e,onChange:e=>S(x,Number.parseInt(e.currentTarget.value))})}),I&&!v&&(0,t.jsx)(f.R,{children:k.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)(I,k)}),time:(0,t.jsx)("b",{children:k.formatTime(new Date)})})}),w[x]&&(0,t.jsx)(g.W,{message:w[x]?.message})]})}let N=y},64853:(e,i,n)=>{"use strict";n.d(i,{o:()=>y});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),f=n(56897),g=n(65656),v=n(6005),p=n(44319),k=n(75913),b=n(78361),h=n(35581);let _=({flow:e=s.xr.New,job:i})=>{let n=(0,a.useContext)(u.Rs),{JOBS:_}=(0,h.WV)(),j=_.JOB_POSTING_WIZARD_SHOW_DESTINATION,{getConfigByName:x}=(0,k.UK)(),y=!!x("jobiqo_subscription")?.value[0],N=(0,o.e)(i&&i.id),{data:S,error:F}=(0,l.I)((0,d.K)(y),{fetchPolicy:"no-cache",variables:{organizationProfileId:n?.currentOrganizationProfile?.id,defaultProducts:N?[N]:[]}});if(F)return(0,t.jsx)(g.K,{size:"medium"});let w=null;S?.getCartMetaData?.defaultProduct&&(w=new c.A(S?.getCartMetaData?.defaultProduct?.priceNumber,S?.getCartMetaData?.defaultProduct?.priceCurrency));let E=S?.getCartMetaData?.credits,C=S?.getCartMetaData?.flatrateSubscription?.availableJobSlots,A=(0,b.o)(S?.getCartMetaData,S?.getCartMetaData?.defaultProduct?.excludeJobFlatrateSubscription);return A&&j&&(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)(p.E,{color:"gray8",children:(0,t.jsx)(r.A,{id:"cart_meta_data_flatrate_subscription",defaultMessage:"Flat rate will be used"})}),(0,t.jsx)(g.K,{})]}),e!==s.xr.Upgrades?(0,t.jsx)(t.Fragment,{children:w&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v.Hr,{}),(0,t.jsx)(g.K,{}),(0,t.jsxs)(m.q,{justifyContent:"space-between",children:[(0,t.jsx)(f.Z,{children:(0,t.jsx)(p.E,{margin:0,color:"gray9",children:S.getCartMetaData.defaultProduct.name})}),(0,t.jsx)(f.Z,{children:(0,t.jsx)(p.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)(g.K,{size:"medium"}),(0,t.jsx)(v.Hr,{})]})}):(0,t.jsx)(m.q,{alignItems:"center",gap:4,children:i&&i.title}),E&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g.K,{}),(0,t.jsx)("strong",{children:(0,t.jsx)(p.E,{tag:"span",margin:0,color:"gray8",children:(0,t.jsx)(r.A,{id:"cart_meta_available_credits",defaultMessage:"Available credits"})})})," ",": ",E.reduce((e,{amount:i})=>e+i,0),(0,t.jsx)(g.K,{marginLeft:4,marginTop:0,children:(0,t.jsx)("ul",{children:E.map(({label:e,amount:i,organizationName:n,fromParentOrg:a},r)=>!!i&&(0,t.jsxs)("li",{children:[e," ",a?`(${n})`:"",":"," ",i]},r))})})]}),(0,t.jsx)(g.K,{size:"medium"}),S?.getCartMetaData?.flatrateSubscription&&null!==C&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g.K,{}),(0,t.jsx)("strong",{children:(0,t.jsx)(p.E,{tag:"span",margin:0,color:"gray8",children:(0,t.jsx)(r.A,{id:"cart_meta_available_job_slots",defaultMessage:"Available job slots"})})})," ",": ",C]}),(0,t.jsx)(g.K,{size:"medium"})]})};var j=n(98924),x=n(88564);let y=({order:e,message:i,flow:n=s.xr.New,job:a})=>(0,t.jsxs)(x.a,{marginTop:0,children:[(0,t.jsx)(p.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)(g.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)(f.Z,{children:(0,t.jsx)(p.E,{margin:0,color:"gray9",children:i})})}),(0,t.jsx)(g.K,{size:"medium",children:(0,t.jsx)(v.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)(f.Z,{children:(0,t.jsx)(p.E,{margin:0,color:"gray9",children:i})})}),(0,t.jsx)(g.K,{size:"medium",children:(0,t.jsx)(v.Hr,{})})]}),(0,t.jsx)(j.z,{order:e})]}):(0,t.jsx)(t.Fragment,{children:i||e?null:(0,t.jsx)(_,{job:a,flow:n})})]}),(0,t.jsx)(g.K,{size:"medium"}),(0,t.jsx)(p.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."})})]})}
72,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;!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")},66146:e=>{e.exports={badge:"badge_badge__uwntI",primary:"badge_primary__mGyjZ",primaryLight:"badge_primaryLight__PDGEf",primaryVeryLight:"badge_primaryVeryLight__QkT0a",secondary:"badge_secondary__qLYIk",secondaryLight:"badge_secondaryLight__IIn9W",secondaryVeryLight:"badge_secondaryVeryLight__xBsP9",default:"badge_default__cL3D7",success:"badge_success__S0DyD",successLight:"badge_successLight__SZFqN",successVeryLight:"badge_successVeryLight__gbUln",danger:"badge_danger__NZpZw",dangerLight:"badge_dangerLight__geI5_",dangerVeryLight:"badge_dangerVeryLight__DppqQ",warning:"badge_warning__LyvkQ",warningLight:"badge_warningLight__w7cyE",warningVeryLight:"badge_warningVeryLight__EXB0h",featured:"badge_featured__9nw0K",featuredLight:"badge_featuredLight__9ymhH",featuredVeryLight:"badge_featuredVeryLight__LQ2Ra",topJob:"badge_topJob__bC2IG"}},66742:e=>{e.exports={editorWrapper:"wysiwyg_editorWrapper__meioL"}},68262:(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",width:"1em",height:"1em",viewBox:"0 0 64 64","aria-labelledby":n,...a,children:[e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"square",strokeMiterlimit:10,d:"M32 6.833 38 26h20L42.108 37.941l6.246 19.226L32 45.285 15.646 57.167l6.246-19.226L6 26h20l6-19.167z",strokeWidth: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},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"}},73747:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"removeJobBookmark"}
72,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"nid"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"bookmark"},name:{kind:"Name",value:"removeJobBookmark"},arguments:[{kind:"Argument",name:{kind:"Name",value:"nid"},value:{kind:"Variable",name:{kind:"Name",value:"nid"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isBookmarked"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:118}};i.loc.source={body:"mutation removeJobBookmark($nid: Int!) {\n  bookmark: removeJobBookmark(nid: $nid) {\n    isBookmarked\n    errors\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.removeJobBookmark=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,"removeJobBookmark")},74006:(e,i,n)=>{"use strict";n.d(i,{A:()=>d});var t=n(37876),a=n(14232),r=n(3098),l=n(26734);let d=({Icon:e,iconGap:i=4,items:n,position:d="bottom"})=>{let[s,o]=(0,a.useState)(!1);return n.length>1?(0,t.jsx)(l.A,{position:d,onToggle:o,trigger:(0,t.jsxs)(r.A,{alignItems:"center",gap:i,flexWrap:"nowrap",children:[e,n[0]," ",s?"-":"+"]}),children:(0,t.jsx)("ul",{children:n.slice(1).map((e,i)=>(0,t.jsx)("li",{children:e},i))})}):n[0]?(0,t.jsxs)(r.A,{alignItems:"center",gap:i,flexWrap:"nowrap",children:[e,(0,t.jsx)("span",{className:"popoverlist-no-list-item",children:n[0]})]}):null}},74352:(e,i,n)=>{"use strict";n.r(i),n.d(i,{FIELD_JOB_EXPIRATION_DATE:()=>s,JobFormExpirationDate:()=>o,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},74820:(e,i,n)=>{"use strict";n.d(i,{A:()=>l,h:()=>d});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:"map_marker_svg__nc-icon-wrapper",children:[(0,t.jsx)("path",{d:"m61.713 5.042-19.666 5.9-19.676-7.871a1.01 1.01 0 0 0-.658-.029l-20 6A1 1 0 0 0 1 10v48a1 1 0 0 0 1.287.958l19.666-5.9 16.676 6.67a1 1 0 0 0 .742-1.858L23 51.323V5.477l18 7.2V25a1 1 0 0 0 2 0V12.744l18-5.4V28a1 1 0 0 0 2 0V6a1 1 0 0 0-1.287-.958ZM21 51.256l-18 5.4V10.744l18-5.4Z"}),(0,t.jsx)("path",{d:"M50 30c-6.391 0-13 4.746-13 12.688 0 7.565 11.818 18.581 12.321 19.046a1 1 0 0 0 1.358 0C51.182 61.269 63 50.253 63 42.688 63 34.746 56.391 30 50 30Zm0 17a4 4 0 1 1 4-4 4 4 0 0 1-4 4Z","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},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:()=>b,default:()=>h});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),f=n(80841),g=n(32024),v=n(76421),p=n(35856),k=n(75913);let b=({entityField:e,fieldRules:i={},refresh:n})=>{let o=(0,a.useContext)(s.B),{control:b,getValues:h,setValue:_}=(0,d.xW)(),j=h(),{hidden:x,required:y,hideSubTreeElements:N}=(0,p.bA)(e.id,j,i),{getConfigByName:S}=(0,k.UK)(),F=!!S("jobiqo_job_salary_range_free_input")?.value[0],[w,E]=(0,a.useState)(""),C=(0,l.A)(),A=j?.[e.id]?.map(e=>Number(e.tid))||[],{loading:D,error:I,data:O,previousData:P,refetch:T}=(0,r.I)(u(),{variables:{vocabularies:(0,c.I)(e),freeTids:A,language:o?.locale}}),L=O??P;(0,a.useEffect)(()=>{T()},[n,T]),(0,a.useEffect)(()=>{x&&j[e.id]&&(0,a.startTransition)(()=>{_(e.id,[])})},[x,j,e,_]),(0,a.useEffect)(()=>{N&&(N.includes(j[e.id])||N?.some(i=>j?.[e.id]?.map(e=>e.tid)?.includes(i)))&&(0,a.startTransition)(()=>{_(e.id,[])})},[N,j,e,_]);let B=(0,a.useMemo)(()=>
72{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 N&&N.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,N]),M=(0,a.useCallback)(e=>{E(e)},[]),V=(0,a.useCallback)((i,n)=>{(0,a.startTransition)(()=>{let t=[...B,...i.filter(e=>!B.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}));_(e.id,a,{shouldValidate:!0,shouldDirty:!0}),n&&n?.length>0&&_(`${e.id}_free`,n.filter(e=>!!e),{shouldValidate:!0,shouldDirty:!0})})},[B,_,e.id]);return x||D&&!L||"field_job_salary_range"==e.id&&F?null:I?(0,t.jsx)(f.s,{alertStyle:"danger",type:"assertive",children:"Error loading terms for field."}):(0,t.jsx)(d.xI,{name:e.id,control:b,render:({field:i,fieldState:{error:n}})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g.Z,{...i,id:i.name,selectedMark:C.formatMessage({id:"multiple_autocomplete_selected_mark",defaultMessage:"Selected"}),label:e.label,description:e.description,placeholder:(0,m.G)(e),required:e.required||y,values:i.value.map(e=>e.tid.toString()),items:B,hasFreeItems:Object.keys(e?.settings?.filter(e=>"handler_settings"===e.key)?.[0]?.value?.target_bundles).some(e=>e.includes("free_tagging")),freeItemsAddButtonText:C.formatMessage({id:"multiple_autocomplete_add_button_text",defaultMessage:"Add free term"}),onChange:V,error:!!n,onInputChange:M}),!!n&&(0,t.jsx)(v.W,{message:n.message})]})})},h=b},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})},79534:(e,i,n)=>{"use strict";n.d(i,{p:()=>r});var t=n(37876),a=n(72576);function r({width:e,height:i}){return(0,t.jsx)(a.o,{...e?{width:e}:{},...i?{height:i}:{}})}},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"}},83024:(e,i,n)=>{"use strict";n.r(i),n.d(i,{__N_SSP:()=>P,default:()=>T});var t=n(37876),a=n(14232),r=n(32422),l=n(62656),d=n(33468),s=n.n(d),o=n(64177),u=n(77742),c=n(8733),m=n(53248),f=n(53988),g=n(89099),v=n.n(g),p=n(47562),k=n(63200),b=n(21963),h=n(90336),_=n(10582),j=n(59534),x=n(78805),y=n(54827),N=n(80841),S=n(51666),F=n(5970),w=n(9428),E=n(90805),C=n.n(E),A=n(59584),D=n(22183),I=n(35581);let O=({job:e})=>{let i=(0,u.A)(),n=null,{JOBS:r}=(0,I.WV)(),l=(0,a.useContext)(p.Rs),d=(0,a.useContext)(_.f),g=(0,a.useContext)(_.B),{stepsInfo:E}=(0,y.$)(h.xr.Republish),{bundles:O,shouldShowUpgradesStep:P}=(0,S.N)(),T=(0,k.o)(),L=Object.values(r.JOB_DETAIL_FIELDS),B=r.JOB_POSTING_WIZARD_SHOW_DESTINATION,M=(0,F.y0)(O,d.querystring),V=(0,D.U)(!!M,g.locale);(0,A.v)(M??V,g.locale);let z=E.findIndex(e=>e.page===d.pathname),J=z===E.length-1;(0,a.useEffect)(()=>{window.onpopstate=()=>{v().pathname===E[z].page&&v().replace({pathname:`/job/wizard/bundles/${e.id}`})}},[v()]);let[q,{data:R,loading:$,error:U}]=(0,o.n)(s(),{update(e,i){e.evict({fieldName:"organizationJobs"})}});(U||R&&!R.updateJob)&&(n=(0,t.jsx)(N.s,{alertStyle:"danger",type:"assertive",children:(0,t.jsx)(c.A,{id:"job_update_error",defaultMessage:"There was an error updating the job."})})),R?.updateJob?.errors?.length>0&&(n=(0,t.jsx)(m.k,{errors:R.updateJob.errors}));let[W,{data:K,loading:G,error:H}]=(0,o.n)(C());H&&(n=(0,t.jsx)(N.s,{alertStyle:"danger",type:"assertive",children:(0,t.jsx)(c.A,{id:"job_order_create_error",defaultMessage:"There was an error creating the order."})})),K?.jobCheckoutOrder?.errors?.length>0&&(n=(0,t.jsx)(m.k,{errors:K.jobCheckoutOrder.errors}));let Z=[...R?.updateJob?.errors||[],...K?.jobCheckoutOrder?.errors||[]];return(0,t.jsx)(j.A,{errorList:n,fieldErrorList:Z,jobType:e.type,bundle:M,flow:h.xr.Republish,submitting:$||G,entity:(0,b.yB)(L,e),job:e,republishing:!0,onSubmit:n=>{let t=(0,w.q)((0,b.ii)(L,{...n}));t.anonymousUserToken=(0,f.So)(),t.bundle=M?.id,q({variables:{id:e.id,data:t,republishing:!0}}).then(e=>{e.data?.updateJob?.job&&((e,i,n,t,a,r,l,d,s,o,u,c,m)=>{if(0!==e.data.updateJob.job.ownerId)if(o&&o.isUserApprovedAndVerified&&a){if(!l){let e=h.xr.Republish,n=[];c&&n.push(c.id),(0,F.VT)(a,r,i,d,s,e,u,n)}m?v().push({pathname:i,query:{params:[a]}}):v().push({pathname:i,query:{params:[a,h.xr.Republish],...r.bundle&&{bundle:r.bundle}}})}else v().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 v().replace(`/user/register/${x.$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,E[z+1].page,T,i,e.data?.updateJob?.job?.id,d.querystring,P,J,W,l.user,g.locale,M,B)})}})};(0,n(26326).f)({gssp:async e=>{let{jobId:i}=e.query;if(!Number(i))return{props:{user:null}};let n=(0,l.Ay)({},e),{loading:t,error:a,data:d}=await n.query({query:(0,r.Y)(),variables:{id:Number(i)}});return{props:{job:d?.jobById?.job,error:a||!t&&!d?.jobById?.job}}},redirectTo:"/user"});var P=!0;let T=({user:e,job:i})=>e?(0,t.jsx)(S.V,{children:(0,t.jsx)(O,{job:i})}):null},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})}},84811:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"taxonomyValues"}
72,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;!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")},85208:(e,i,n)=>{"use strict";n.d(i,{A:()=>u});var t=n(37876),a=n(98232),r=n.n(a);n(14232);let l=e=>"currentColor"===e?"":`var(--color-${e})`,d=({title:e,theme:i=null,titleId:n="",...a})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"1em",height:"1em","aria-labelledby":n,...a,children:[e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsx)("path",{d:"M7.49996 1.80002C4.35194 1.80002 1.79996 4.352 1.79996 7.50002C1.79996 10.648 4.35194 13.2 7.49996 13.2C10.648 13.2 13.2 10.648 13.2 7.50002C13.2 4.352 10.648 1.80002 7.49996 1.80002ZM0.899963 7.50002C0.899963 3.85494 3.85488 0.900024 7.49996 0.900024C11.145 0.900024 14.1 3.85494 14.1 7.50002C14.1 11.1451 11.145 14.1 7.49996 14.1C3.85488 14.1 0.899963 11.1451 0.899963 7.50002Z"}),(0,t.jsx)("path",{d:"M13.4999 7.89998H1.49994V7.09998H13.4999V7.89998Z"}),(0,t.jsx)("path",{d:"M7.09991 13.5V1.5H7.89991V13.5H7.09991zM10.375 7.49998C10.375 5.32724 9.59364 3.17778 8.06183 1.75656L8.53793 1.24341C10.2396 2.82218 11.075 5.17273 11.075 7.49998 11.075 9.82724 10.2396 12.1778 8.53793 13.7566L8.06183 13.2434C9.59364 11.8222 10.375 9.67273 10.375 7.49998zM3.99969 7.5C3.99969 5.17611 4.80786 2.82678 6.45768 1.24719L6.94177 1.75281C5.4582 3.17323 4.69969 5.32389 4.69969 7.5 4.6997 9.67611 5.45822 11.8268 6.94179 13.2472L6.45769 13.7528C4.80788 12.1732 3.9997 9.8239 3.99969 7.5z"}),(0,t.jsx)("path",{d:"M7.49996 3.95801C9.66928 3.95801 11.8753 4.35915 13.3706 5.19448 13.5394 5.28875 13.5998 5.50197 13.5055 5.67073 13.4113 5.83948 13.198 5.89987 13.0293 5.8056 11.6794 5.05155 9.60799 4.65801 7.49996 4.65801 5.39192 4.65801 3.32052 5.05155 1.97064 5.8056 1.80188 5.89987 1.58866 5.83948 1.49439 5.67073 1.40013 5.50197 1.46051 5.28875 1.62927 5.19448 3.12466 4.35915 5.33063 3.95801 7.49996 3.95801zM7.49996 10.85C9.66928 10.85 11.8753 10.4488 13.3706 9.6135 13.5394 9.51924 13.5998 9.30601 13.5055 9.13726 13.4113 8.9685 13.198 8.90812 13.0293 9.00238 11.6794 9.75643 9.60799 10.15 7.49996 10.15 5.39192 10.15 3.32052 9.75643 1.97064 9.00239 1.80188 8.90812 1.58866 8.9685 1.49439 9.13726 1.40013 9.30601 1.46051 9.51924 1.62927 9.6135 3.12466 10.4488 5.33063 10.85 7.49996 10.85z"})]}),s=({color:e="currentColor",title:i,fill:n,...a})=>(0,t.jsx)(d,{color:l(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:l(e),fill:l(e)}}:null,fill:n??l(e),title:i,...a});var o=n(28838);let u=({sourcePortals:e})=>(0,t.jsxs)("div",{className:r().sourcePortalsWrapper,children:[(0,t.jsx)("span",{className:r().sourcePortalsIcon,children:(0,t.jsx)(s,{color:"secondary",title:"source portals"})}),e?.map((e,i)=>(0,t.jsx)(o.A,{badgeStyle:"primaryVeryLight",children:(0,t.jsx)("span",{children:e})},i))]})},85370:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"addJobBookmark"}
72,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"nid"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"bookmark"},name:{kind:"Name",value:"addJobBookmark"},arguments:[{kind:"Argument",name:{kind:"Name",value:"nid"},value:{kind:"Variable",name:{kind:"Name",value:"nid"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isBookmarked"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:112}};i.loc.source={body:"mutation addJobBookmark($nid: Int!) {\n  bookmark: addJobBookmark(nid: $nid) {\n    isBookmarked\n    errors\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.addJobBookmark=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,"addJobBookmark")},85677:(e,i,n)=>{"use strict";n.d(i,{I:()=>l,s:()=>r});var t=n(7381),a=n(79525);let r=(e,i)=>{let n=!0;switch(e){case"youtube":n=(0,t.WQ)(i?.consents,a.Bg.Youtube);break;case"vimeo":n=(0,t.WQ)(i?.consents,a.Bg.Vimeo)}return n},l=e=>{switch(e){case"youtube":return a.Bg.Youtube;case"vimeo":return a.Bg.Vimeo;default:return""}}},88781:(e,i,n)=>{"use strict";n.d(i,{A:()=>F});var t=n(37876),a=n(73747),r=n.n(a),l=n(85370),d=n.n(l),s=n(64177),o=n(35181),u=n(14232),c=n(77742),m=n(10797),f=n(8733),g=n(89099),v=n.n(g),p=n(35880),k=n(49513),b=n(78805),h=n(87732),_=n(47562),j=n(99598),x=n(34219),y=n(26192),N=n(86989),S=n(35581);let F=u.memo(({placement:e=x.A.JOB_TEASER,job:i,reloadAfterMutation:n=!1,bookmarkMutationCallback:a})=>{let{JOBS:l}=(0,S.WV)(),{user:g}=(0,u.useContext)(_.Rs),F=(0,c.A)(),w=(0,m.D)(),{bookmarkedJobs:E,setBookmarkedJobs:C,getBookmarkedJob:A}=(0,u.useContext)(p.BookmarkedJobsContext),D=u.useMemo(()=>E,[E]),[I,O]=(0,u.useState)(!!i.bookmarked),[P,T]=(0,u.useState)(!1),[L,B]=(0,u.useState)(!1),[M]=(0,s.n)(I?r():d(),{variables:{nid:i.id},onCompleted({bookmark:t}){T(!1),a?.(!I),n?v().reload():C(I?D.filter(e=>e.id!==i.id):[...D,i]),t.errors.length>0?w.addFlag({type:"danger",text:I?F.formatMessage({id:"bookmarked_jobs_delete_error",defaultMessage:"An error happened while deleting the job bookmark"}):F.formatMessage({id:"bookmarked_jobs_remove_error",defaultMessage:"An error happened while creating the job bookmark"})}):w.addFlag({type:"success",text:I?F.formatMessage({id:"bookmarked_jobs_remove_success",defaultMessage:"Job bookmark removed successfully"}):F.formatMessage({id:"bookmarked_jobs_add_success",defaultMessage:"Job bookmark added successfully"})}),I||(0,k.DP)(k.qY.JOB_BOOKMARK,((e,i=null,n)=>(0,k.N1)({[k.Yf.entity_id]:e.id,[k.Yf.entity_type]:"node",[k.Yf.entity_subtype]:"job_per_template",[k.Yf.entity_user_id]:e.organizationProfile?.id,[k.Yf.entity_user_name]:e.organization,[k.Yf.organization_name]:e.organizationProfile?.name??e.organization,[k.Yf.entity_title]:e.title,[k.Yf.application_type]:e.applicationWorkflow,[k.Yf.importer_ID]:e.source,[k.Yf.occupations]:(0,h.q)(e.occupationalField,"label"),[k.Yf.regions]:(0,h.q)(e.region,"label"),[k.Yf.upgrades]:e.jobUpgrades?.join(" | "),[k.Yf.current_user_role]:(0,h.q)(i?.roles,"targetId")??b.Iv,[k.Yf.current_user_id]:i?.id,[k.Yf.event_occurrence_place]:n}))(i,g,e))},update(e){e.evict({id:`Job:${i.id}`}),e.writeFragment({data:{...i,bookmarked:!i.bookmarked},fragment:(0,o.J1)`
73            fragment UpdateJobBookmark on Job {
74              bookmarked
75            }
76          `})}});(0,u.useEffect)(()=>{let e=A&&!!A(i.id);e!==I&&O(!!e)},[E,i,A]);let V=(0,u.useCallback)(()=>{g?I?T(!0):M():(0,u.startTransition)(()=>B(!0))},[g,I,M,T,B]);return"job_per_backfill"===i.type||!l.BOOKMARKS_ENABLED||g&&(0,b.Gv)(g)?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.X,{variant:e===x.A.JOB_DETAIL?"badge":"icon",isBookmarked:I,onBo
76okmark:V,text:I?F.formatMessage({id:"bookmarked_jobs_bookmarked",defaultMessage:"bookmarked"}):F.formatMessage({id:"bookmarked_jobs_bookmark",defaultMessage:"bookmark"})}),(0,t.jsx)(N.F,{isShown:P,onConfirm:M,onClose:()=>T(!1),confirmText:(0,t.jsx)(f.A,{id:"bookmark_jobs_confirm_remove",defaultMessage:"Yes, remove"}),cancelText:(0,t.jsx)(f.A,{id:"cancel",defaultMessage:"Cancel"}),alertLabel:(0,t.jsx)(f.A,{id:"bookmark_jobs_confirm_remove_label",defaultMessage:"remove"}),children:(0,t.jsx)(f.A,{id:"bookmark_jobs_confirm_remove_text",defaultMessage:"Are you sure you want to remove job bookmark?"})}),(0,t.jsx)(j.A,{onHide:()=>B(!1),isShown:L,onLoginSuccess:()=>window.location.reload()})]})})},88993:(e,i,n)=>{"use strict";n.d(i,{c:()=>t});let t=e=>e?.logo?.url?e.logo.url:e?.organizationProfile?.logo?.url?e.organizationProfile?.logo?.url:null},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;!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;
76d=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,...f})=>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,...f}),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,...f})},91793:(e,i,n)=>{"use strict";n.d(i,{_:()=>p});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"),f={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}}}},g=(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}}),v=e=>{e(!1)};function p({children:e,height:i,maxWidth:n,full:a=!1,isOpen:r=!1,position:d="left",allowDrag:u=!0,onToggle:k}){let[b,h]=(0,s.useState)(!1);(0,s.useEffect)(()=>{r?h(!0):h(!1)},[r]);let _=(0,t.jsx)(m,{className:g({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&&v(k),"right"===d&&i.point.x>0&&v(k),"top"===d&&i.point.y<0&&v(k),"bottom"===d&&i.point.y>0&&v(k)},onKeyDown:e=>{27===e.keyCode&&v(k)},initial:"closed",animate:r?"open":"closed",...d&&{variants:f[d],dragConstraints:"left"===d?{right:0}
76:"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:b,className:"focus-area",focusTrapOptions:{clickOutsideDeactivates:!0,escapeDeactivates:!1,onDeactivate:()=>h(!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:[_,r&&(0,t.jsx)("button",{className:c().drawerOverlay,"data-testid":"sidenav-overlay",onClick:e=>v(k)})]})}},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")},95283:(e,i,n)=>{"use strict";function t(e){return e?.workflowState?.value==="published"}n.d(i,{T:()=>t})},95560:(e,i,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/job/wizard/form/[jobId]",function(){return n(83024)}])},97849:(e,i,n)=>{"use strict";n.d(i,{K:()=>a});var t=n(35181);let a=(e=null)=>(0,t.Ay)`
77  query getCartMetaData($organizationProfileId: Int, $defaultProducts: [Int]) {
78    getCartMetaData(
79      organizationProfileId: $organizationProfileId
80      defaultProducts: $defaultProducts
81    ) {
82      credits {
83        label
84        amount
85        organizationName
86        fromParentOrg
87        balances {
88          frontend
89          transactionBalances {
90            creditType
91            amount
92          }
93        }
94      }
95      defaultProduct {
96        id
97        name
98        priceNumber
99        priceCurrency
100        excludeJobFlatrateSubscription
101        frontends
102      }
103      store {
104        id
105        name
106        mail
107        currency
108        address {
109          countryCode
110          administrativeArea
111          locality
112          addressLine1
113          addressLine2
114          zip
115        }
116      }
117      defaultProductUserCredits {
118        amount
119        type
120        balances {
121          frontend
122          transactionBalances {
123            creditType
124            amount
125          }
126        }
127      }
128      ${e?`
129          flatrateSubscription {
130            type
131            label
132            availableJobSlots
133          }
134          activeJobFlatrateSubscriptions {
135            id
136            label
137            frontend
138          }`:""}
139    }
140  }
141`},98232:e=>{e.exports={sourcePortalsWrapper:"sourcePortalsBadge_sourcePortalsWrapper__t27jm",sourcePortalsIcon:"sourcePortalsBadge_sourcePortalsIcon__Ixy2q"}},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:()=>v});var t=n(37876);n(14232);var a=n(8733),r=n(98696),l=n(28579),d=n(75913);
141let 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),f=n(65656),g=n(6005);let v=({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)(f.K,{size:"medium",children:(0,t.jsx)(g.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)(f.K,{})]},i))}),(0,t.jsx)(f.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)(f.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)(f.K,{})]},i)})}),(0,t.jsx)(f.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)(f.K,{size:"medium"}),(0,t.jsx)(o,{order:e})]})}}},e=>{e.O(0,[1121,6701,9963,4587,9307,4272,5406,8724,9511,3012,6032,7579,8564,8618,2557,2243,9418,6989,7843,6734,3057,261,2422,7007,4692,6820,5904,636,6593,8792],()=>e(e.s=95560)),_N_E=e.O()}]);
142//# sourceMappingURL=[jobId]-956d24468b0bb56f.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.