PageSourceSearch

https://www.hessischer-jobanzeiger.de/_next/static/chunks/6685.ce23d96b69a55ce8.js

js hessischer-jobanzeiger.de collected 2026-10-09 04:09:43 UTC 11,203 bytes, 1 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:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];if(null!=a)for(var n in a)a.hasOwnProperty(n)&&(e[n]=a[n])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:takumi-application":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d2c4e7fc-bf81-488e-81f2-ca0c406b5ffe",e._sentryDebugIdIdentifier="sentry-dbid-d2c4e7fc-bf81-488e-81f2-ca0c406b5ffe")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6685],{76685:(e,t,a)=>{a.r(t),a.d(t,{JobsPerMailContent:()=>ee});var n=a(95155),o=a(92954),s=a(12115),l=a(49649),i=a(71074),r=a(63279),u=a(74651),c=a(52536),d=a(24581),m=a(29714),p=a(94778),g=a(31189),h=a(30492),y=a(47972),f=a(67022),I=a(36776),L=a(97968),T=a(67389),A=a(44397),C=a(27450),x=a(42768),M=a(78972),v=a(23741),w=a(32874),_=a(54543),b=a(44066),E=a(8323),j=a(52133),S=a(29603),z=a(88721),Z=a(2511),F=a(14770),P=a(14968),N=a(8395),O=a(67651),R=a(32963),B=a(82063);let k=N.Ay.div.withConfig({componentId:"sc-261c4251-0"})(["display:flex;flex-direction:column;gap:",";"],(0,B.Y)(4)),U=N.Ay.div.withConfig({componentId:"sc-261c4251-1"})(["display:flex;flex-direction:column;"]),G=N.Ay.h4.withConfig({componentId:"sc-261c4251-2"})(["",""],({theme:e})=>(0,R.q8)(e,e=>(0,O.EY)(e?.inputLabel))),D=N.Ay.input.withConfig({componentId:"sc-261c4251-3"})(["",""],({theme:e})=>(0,R.q8)(e,e=>(0,O.$n)(e?.confirmButton))),J=N.Ay.div.withConfig({componentId:"sc-261c4251-4"})(["p{","}a{","}"],({theme:e})=>(0,R.q8)(e,e=>(0,O.EY)(e?.footerText)),({theme:e})=>(0,R.q8)(e,e=>(0,O.Mz)(e?.footerTextLinks))),V=N.Ay.span.withConfig({componentId:"sc-261c4251-5"})(["",""],({theme:e})=>(0,R.q8)(e,e=>(0,O.pd)(e?.validationError))),X=({errorMessage:e,hasError:t})=>t?(0,n.jsx)(V,{children:e}):null,$=({inputTheme:e,hasError:t,errorMessage:a,onChange:o,defaultValue:s,...l})=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(P.A,{id:"email-jpm",mediaQueriesTheme:e,onChange:o,defaultValue:s,...l}),(0,n.jsx)(X,{errorMessage:a,hasError:t})]});var K=a(13527),q=a(10290),Y=a(33950),Q=a(6564),H=a(41463);let W=(e,t)=>{let a="NotSet"!==e.homeOfficeType;return{fulltext:e.fulltexts[0]??void 0,locationIds:!a&&t.id?[t.id]:void 0,employmentType:(0,o.EIu)(e.employmentTypes)?e.employmentTypes:void 0,managementType:"NotSet"!==e.managementType?e.managementType:void 0,homeOfficeType:"NotSet"!==e.homeOfficeType?e.homeOfficeType:void 0,perimeterRadius:e.radius||void 0,company:e.adCustomers[0]??void 0,subcategoryIds:(0,o.EIu)(e.subCategoryIds)?e.subCategoryIds:void 0,contractType:(0,o.EIu)(e.contractTypes)?e.contractTypes:void 0}},ee=({email:e,onChangeEmail:t,isEditMode:a=!1})=>{var P;let{labels:N,footerText:O,fulltextIcon:R,locationIdIcon:B,validationErrors:V,fulltext:ee,location:et,filters:ea,searchPageUrl:en,jpmDefaultParams:eo,editingSubscription:es,theme:el}=(0,b.u)(),ei=(0,y.b)(),er=(0,T.jL)(),eu=(0,v.useGetPageType)(),{defaultSearchParams:ec,additionalSearchInfo:ed}=(0,j.i)(),{defaultSearchParams:em}=(0,j.D)(),ep=(0,T.GV)(S.Dm),eg=(0,m.Z)(),eh=(()=>{let{filterCategories:e}=(0,T.GV)(L.dx),{hasCompany:t,companyName:a,companyNameUrlFormat:n}=(0,g.o)({filterCategories:e});return(0,s.useCallback)((e,s)=>t?{name:a,nameUrlFormat:n}:(0,o.hXl)(e)||e.suggestType!==I.L.CompanySuggest?(0,o.hXl)(s)||s.suggestType!==I.L.CompanySuggest?{name:"",nameUrlFormat:""}:{name:s.match,nameUrlFormat:s.id}:{name:e.match,nameUrlFormat:e.id},[a,n,t])})(),ey=(0,T.GV)(E.nY),ef=(0,o.VPX)(ep.locationIds),eI=ep.locationIds?.[0]===ec.locationIds?.[0],eL=ep.locationIds?.[0]===eg,eT=(P=ey&&(ef||eI||eL),!a&&(P||eu===l.g.StartPage)&&ed.locationDisplayName?ed.locationDisplayName:(0,o.uIM)(et.name)?et.name:""),[eA,eC]=(0,s.useState)(eT),ex=ei?"":ee?.value||"",[eM,ev]=(0,s.useState)(ex),[ew,e_]=(0,s.useState)(!1),eb=eu===l.g.CompanyLandingpage,eE=eu===l.g.CompanyLandingpageGroup,ej=!(0,o.uIM)(eM)&&!(0,o.uIM)(eA)&&!eb&&!eE;(0,s.useEffect)(()=>{ev(ex)},[ex]),(0,s.useEffect)(()=>{eC(eT)},[eT]);let{trackJpmEvent:eS}=(0,d.W)(),ez=(0,f.A)(),{resolveLocation:eZ}=(0,h.R)(),[eF]=(0,M.FJ)(),[eP]=(0,M.Br)(),{filterCategories:eN}=(0,w.Q)(),{hasCompany:eO,hasCompanyGroup:eR,hasHomeOfficeType:eB}=(0,g.o)({filterCategories:eN}),ek=eO||eR||eB,{label:eU,errorMessage:eG}=(0,K.I)(N,V),{selectedOptionTerm:eD,selectedOptionLocation:eJ,handleSelectTermSuggest:eV,handleSelectLocationSuggest:eX,geoOption:e$,geoError:eK}=(0,u.Z)({handleSelectFulltext:e=>{e&&(ev(e.match),er((0,_.AE)({value:e.match,suggestInfo:{id:e.id,match:e.match,suggestType:e.suggestType}})))},handleSelectLocation:e=>{e&&(eC(e.match),e.id!==p.dM.GET_GEO_OPTION&&(er((0,_.dr)({status:i.n.Resolved,id:e.id,name:e.match})),e4(!1)))}}),{handleGetSuggestTerms:eq,isFetchingTerm:eY,mappedOptionsTerm:eQ,handleGetSuggestLocations:eH,isFetchingLocation:eW,mappedOptionsLocation:e0}
1=(0,c._)(),e1=(0,s.useRef)(!1),[e2,e4]=(0,s.useState)(""!==et.name&&""!==eA&&et.status!==i.n.Resolved),[e9,e6]=(0,s.useState)(""!==e&&!/^(([a-zA-Z0-9]{1}[\.]?)([a-zA-Z0-9+_-]+[\.]?)*)?[a-zA-Z0-9_-]{1}@[a-zA-Z0-9][a-zA-Z0-9\.-]*[a-zA-Z0-9]\.[a-zA-Z]{2,}/gm.test(e)),e8=async e=>{if(e){if(r.R2.includes(e.toLowerCase())){e4(!1),er((0,_.dr)({id:e,name:e,status:i.n.Resolved}));return}let t=await eZ(e,_.Et);er((0,_.dr)(t)),e4(t.status!==i.n.Resolved);return}er((0,_.dr)(_.Et)),e4(!1)},e5=async()=>{e1.current&&(0,o.hXl)(eJ)&&(""===eA?!a&&(0,o.EIu)(ec.locationIds)?await e8(ec.locationIds[0]):await e8():await e8(eA))},e7=(0,s.useMemo)(()=>(0,q.o)("fulltextInput",el),[el]),e3=(0,s.useMemo)(()=>(0,q.o)("locationIdInput",el),[el]),te=(0,s.useMemo)(()=>(0,o.kZJ)(e$)?e0:[e$,...e0],[e$,e0]),tt=(0,s.useMemo)(()=>eD?[eD]:[],[eD]),ta=(0,s.useMemo)(()=>eJ?[eJ]:[],[eJ]),tn=(0,s.useMemo)(()=>(0,q.o)("emailInput",el),[el]),to=async n=>{n.preventDefault(),e_(!0);let s=!a&&!/^(([a-zA-Z0-9]{1}[\.]?)([a-zA-Z0-9+_-]+[\.]?)*)?[a-zA-Z0-9_-]{1}@[a-zA-Z0-9][a-zA-Z0-9\.-]*[a-zA-Z0-9]\.[a-zA-Z]{2,}/gm.test(e),{locationDisplayName:u}=ed,c=r.R2.includes(eA.toLowerCase()),d=c?Object.keys(r.p2).find(e=>r.p2[e].includes(eA.toLowerCase())):void 0,m=!1,p=!(0,o.uIM)(eA)&&!(0,o.uIM)(eM)&&!eb&&!eE;a&&ek&&(p=!1);let g=et;if(""!==eA&&eA!==u&&(0,o.hXl)(eJ)&&g.status!==i.n.Resolved&&!c&&(g=await eZ(eA,_.Et),er((0,_.dr)(g)),m=g.status!==i.n.Resolved,p=!1),p||m&&!c||s)e4(m),e6(s);else{(0,A.j)(er);g.id;!a&&ey&&u&&eA===u&&(0,o.EIu)(ec.locationIds)&&ec.locationIds;let n={isHomeOfficeSearch:c,homeOfficeFilter:d,jpmLocationState:eA},s=((e,t,a)=>{var n;let{isHomeOfficeSearch:s,homeOfficeFilter:l}=a,i=[];return(0,o.uIM)(t.company)&&i.push(t.company),(0,o.EIu)(t.companies)&&i.push(...t.companies),{fulltexts:(0,o.uIM)(e)?[e]:[],adCustomers:i,locations:[],radius:t.perimeterRadius??0,subCategoryIds:t.subcategoryIds??[],managementType:(0,o.uIM)(t.managementType)?t.managementType:"NotSet",employmentTypes:t.employmentType??[],homeOfficeType:(n=t.homeOfficeType,s?(0,o.uIM)(l)?l:"NotSet":(0,o.uIM)(n)?n:"NotSet"),contractTypes:t.contractType??[]}})(eM,a?{...ea,company:eO?ea.company:"",companies:eR?ea.companies:[]}:ea,n),i=eh(eD,ee?.suggestInfo);if(a&&es?.subscriptionId){try{let e=es.shippings?.map(e=>e.type).filter(o.uIM)??null,t=((e,t,a,n,s,i,r,u,c)=>{let d=W(n,s),m=(0,Q.s)(d,i),p="";if((0,o.uIM)(c))try{p=new URL(c).origin}catch{p="localhost"===window.location.hostname?H.env.NEXT_PUBLIC_JPM_FALLBACK_PORTAL??"":window.location.origin}else p="localhost"===window.location.hostname?H.env.NEXT_PUBLIC_JPM_FALLBACK_PORTAL??"":window.location.origin;(0,o.uIM)(a.nameUrlFormat)&&(m.company=a.nameUrlFormat,e!==l.g.CompanyLandingpage&&e!==l.g.CompanyLandingpageGroup&&(m.fulltext=""));let g=`${p}${t}?${(0,Y.OJ)(m)}`,{isHomeOfficeSearch:h,jpmLocationState:y}=r,f=e!==l.g.CompanyLandingpage&&e!==l.g.CompanyLandingpageGroup,I={...n,locations:s.id&&s.name&&!h?[{locationId:s.id,locationName:s.name}]:[]};if((0,o.uIM)(a.nameUrlFormat)&&f&&(I.fulltexts=[]),(0,o.uIM)(a.name)){let e=[...I.adCustomers];e.includes(a.name)||e.push(a.name),I.adCustomers=e}return h&&y&&(I.locations=[]),{searchLink:g,searchFilter:I,shippings:u}})(eu,en,i,s,g,em,n,e,es.searchLink??null);await eP({id:es.subscriptionId,...t}).unwrap(),ez("success"),er((0,_.o8)(eo)),er((0,_.S6)(null)),e_(!1)}catch(e){Z.z.captureException(e),ez("error")}return}try{let a=((e,t,a,n,s,i,r,u)=>{let c=W(s,i),d=(0,Q.s)(c,r),m="localhost"===window.location.hostname?H.env.NEXT_PUBLIC_JPM_FALLBACK_PORTAL??"":window.location.origin,p=e!==l.g.CompanyLandingpage&&e!==l.g.CompanyLandingpageGroup;(0,o.uIM)(n.nameUrlFormat)&&(d.company=n.nameUrlFormat,p&&(d.fulltext=""));let g=`${m}${a}?${(0,Y.OJ)(d)}`,{isHomeOfficeSearch:h,jpmLocationState:y}=u,f={...s,locations:i.id&&i.name&&!h?[{locationId:i.id,locationName:i.name}]:[]};if((0,o.uIM)(n.nameUrlFormat)&&p&&(f.fulltexts=[]),(0,o.uIM)(n.name)){let e=[...f.adCustomers];e.includes(n.name)||e.push(n.name),f.adCustomers=e}return h&&y&&(f.locations=[]),{email:t,searchLink:g,searchFilter:f}})(eu,e,en,i,s,g,em,n);await eF(a).unwrap(),ez("success");let r=await (0,F.s)(e);eS({eventType:z.B.JPM_SUBSCRIBED,otherParams:{mailhash:r}}),er((0,_.o8)(eo)),t(""),e_(!1)}catch(e){Z.z.captureException(e),ez("error")}}};return(0,n.jsx)("form",{onSubmit:e=>{to(e)},children:(0,n.jsxs)(k,{children:[(0,n.jsxs)(U,{children:[(0,n.jsx)(G,{children:eU("fulltextLabel")}),(0,n.jsx)(x.A,{id:"fulltext-jpm",labelKey:"match",url:"",icon:R,placeholder:eU("fulltextPlaceholder"),defaultInputValue:ex,isLoading:eY,options:eQ,onSearch:eq,onInputChange:e=>{ev(e)},minLength:1,selected:tt,onChange:eV,onBlur:()=>{let e={value:eM||""};eD&&(e.suggestInfo={id:eD.id,match:eD.match,suggestType:eD.suggestType}),er((0,_.AE)(e))},inputTheme:e7,disableItemsNavigation:!0},ex),(0,n.jsx)(X,{errorMessage:eG("missingFulltextAndLocationId-fulltextInput"),hasError:ej&&ew})]}),(0,n.jsxs)(U,{children:[(0,n.jsx)(G,{children:eU("locationIdLabel")}),(0,n.jsx)(x.A,{labelKey:"match",id:"locationId-jpm",url:"",icon:B,placeholder:eU("locationIdPlaceholder"),isLoading:eW,options:te,onSearch:eH,onInputChange:e=>{e.trim()!==eA&&(eC(e),e1.current=!0)},defaultInputValue:eT,minLength:+!!eK,selected:ta,onChange:eX,isInputFieldLoading:eJ?.id===p.dM.GET_GEO_LOADING,onBlur:e5,inputTheme:e3,toggleSearchRadius:!0,isJpm:!0},eT),(0,n.jsx)(X,{errorMessage:eG(ej?"missingFulltextAndLocationId-locationIdInput":"unresolvedLocationId"),hasError:ew&&(ej||e2)})]}),(0,n.jsx)(C.A,{filterCategories:eN,customLabel:(0,n.jsx)(G,{children:eU("selectedFiltersLabel")})}),!a&&(0,n.jsxs)(U,{children:[(0,n.jsx)(G,{children:eU("emailLabel")}),(0,n.jsx)($,{inputTheme:tn,placeholder:eU("emailPlaceholder"),onChange:e=>{t(e),e6(!1)},onBlur:e=>{if(""===e.target.value)e6(!1);else{var t;e6((t=e.target.value,!/^(([a-zA-Z0-9]{1}[\.]?)([a-zA-Z0-9+_-]+[\.]?)*)?[a-zA-Z0-9_-]{1}@[a-zA-Z0-9][a-zA-Z0-9\.-]*[a-zA-Z0-9]\.[a-zA-Z]{2,}/gm.test(t)))}},defaultValue:e,errorMessage:eG("invalidEmail"),hasError:e9})]}),(0,n.jsx)(D,{value:eU(a?"editConfirmButton":"confirmButton"),type:"submit"}),O?.html&&(0,n.jsx)(J,{dangerouslySetInnerHTML:{__html:O.html}})]})})}}}]);

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.