PageSourceSearch

https://skat.dk/_next/static/chunks/81.dba0146cfb096f5f.js

js skat.dk collected 2026-09-24 08:29:50 UTC 7,926 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[81,4863],{92696:function(n,e,t){"use strict";var o,i=t(67294);function l(){return(l=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var o in t)({}).hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n}).apply(null,arguments)}e.Z=function(n){return i.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n),o||(o=i.createElement("path",{fill:"#14143C",fillRule:"evenodd",d:"M17.7 6.4V5a1 1 0 0 0-1-1h-.3a1 1 0 0 0-1 1v1.4H9.2V5a1 1 0 0 0-1-1h-.3a1 1 0 0 0-1 1v1.4H5v2h15v-2zM5 9.3v10.1h15V9.3zm4.2 8.1H6.9v-2.3h2.3zm0-3.8H6.9v-2.3h2.3zm4.4 3.8h-2.3v-2.3h2.3zm0-3.8h-2.3v-2.3h2.3zm4.1 3.8h-2.3v-2.3h2.3zm0-3.8h-2.3v-2.3h2.3z",clipRule:"evenodd"})))}},59270:function(n,e,t){"use strict";var o,i=t(67294);function l(){return(l=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var o in t)({}).hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n}).apply(null,arguments)}e.Z=function(n){return i.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n),o||(o=i.createElement("path",{fill:"#14143C",d:"M12 11.143a2.143 2.143 0 1 1 0-4.285 2.143 2.143 0 0 1 0 4.285M12 3a6 6 0 0 0-6 6c0 4.5 6 11.143 6 11.143S18 13.5 18 9a6 6 0 0 0-6-6"})))}},25804:function(n,e,t){"use strict";t.d(e,{L:function(){return r}});var o=t(73413),i=t(57267);let l=async(n,e)=>{var t,l,r;try{let t=await (0,o.b)({url:"/engagement-api/v1/hrmodule/job/".concat("onlyTrainees"===e?"GetTranieByOrganizationShortName?shortName=".concat(n):"GetJobsByOrganizationShortName?shortName=".concat(n,"&includeTranees=").concat("includeTrainees"===e)),method:"GET"});return null==t?void 0:t.data}catch(e){let n=null!==(r=null==e?void 0:null===(l=e.response)||void 0===l?void 0:null===(t=l.data)||void 0===t?void 0:t.message)&&void 0!==r?r:e;throw i.Z.error("Catalog retrieval failed: ".concat(n)),n}},r=async(n,e)=>{var t,o,i;let r=await l(n,e),a=[...new Set(null==r?void 0:null===(t=r.optionalFilterLocations)||void 0===t?void 0:t.map(n=>null==n?void 0:n.name).filter(n=>n).sort())],s=[...new Set(null==r?void 0:null===(o=r.optionalFilterCategories)||void 0===o?void 0:o.map(n=>null==n?void 0:n.name).filter(n=>n).sort())];return{jobs:null==r?void 0:null===(i=r.jobItems)||void 0===i?void 0:i.map(n=>{var e,t;return{heading:n.name,link:{url:n.advertisementUrl,title:n.name,target:"_blank"},additionalInfo:{date:n.applicationDue,location:n.workPlace},location:null===(e=n.positionLocation)||void 0===e?void 0:e.name,category:null===(t=n.positionCategory)||void 0===t?void 0:t.name}}),locations:a,categories:s}}},40081:function(n,e,t){"use strict";t.r(e),t.d(e,{JobTeaserModuleFeature:function(){return v}});var o=t(85893),i=t(16740),l=t(25804),r=t(28990),a=t(67294),s=t(92696),c=t(59270),u=t(47933),d=t(54863);let v=n=>{var e;let{content:t,settings:v}=n,{heading:p,link:_,department:g,traineesOption:m,maxNumberOfJobs:x,numberOfCols:h}=null!==(e=null==t?void 0:t.properties)&&void 0!==e?e:{},T=(0,i.S)(),[f,I]=(0,a.useState)([]);(0,a.useEffect)(()=>{(async()=>{var n;let e=null===(n=(await (0,l.L)(g,m)).jobs)||void 0===n?void 0:n.splice(0,x);I(null==e?void 0:e.map(n=>{let{heading:e,additionalInfo:t,link:i}=null!=n?n:{};return{content:{properties:{heading:e,jobInfo:(0,o.jsxs)("div",{children:[(0,o.jsx)(r.j,{iconSize:"sm",icon:(0,o.jsx)(s.Z,{}),text:"".concat(T.getLabel("Deadline"),": ").concat((0,u.p)(t.date,"dd-mm-yyyy"))}),(0,o.jsx)(r.j,{iconSize:"sm",icon:(0,o.jsx)(c.Z,{}),text:t.location})]}),urlWrapperLink:i.url}}}}))})()},[g,T,x,m]);let j={content:{properties:{heading:p,link:_,columns:h,teaserItems:{items:f},noItemsMessage:T.getServiceInfo("NoJobs")}},settings:v};return(0,o.jsx)(d.TeaserModuleFeature,{...j})}},54863:function(n,e,t){"use strict";t.r(e),t.d(e,{TeaserModuleFeature:function(){return g}});var o=t(85893),i=t(94249),l=t(75237),r=t(20777),a=t(27942),s=t(31873),c=t(44353),u=t(61043),d=t(67294),v=t(73312),p=t(82232),_=t(66947);let g=n=>{var e,t,g;let{content:m,settings:x}=n,{heading:h,link:T,columns:f,teaserItems:I,noItemsMessage:j,imagePosition:k,useWrapper:y,imageWidth:w}=null!==(t=null==m?void 0:m.properties)&&void 0!==t?t:{}
1,{imageIsPDF:b,imageHasBorder:L,hideImagesOnMobile:S,mediaAspectRatio:z}=null!==(g=null==x?void 0:x.properties)&&void 0!==g?g:{},C=(0,i.AA)(),M=null==T?void 0:T[0],[E,O]=(0,d.useState)(!1);(0,d.useEffect)(()=>{O(y)},[y]);let N=null==I?void 0:null===(e=I.items)||void 0===e?void 0:e.map(n=>{var e,t,i,l,r,u,d;let g,{content:m,settings:x}=n,h=null!==(e=null==m?void 0:m.properties)&&void 0!==e?e:{},T=null!==(t=null==x?void 0:x.properties)&&void 0!==t?t:{};if("sharedTeaserCardContentModule"===m.contentType){let n=null==m?void 0:null===(l=m.properties.content)||void 0===l?void 0:null===(i=l[0].properties.modules.items)||void 0===i?void 0:i[0];if("teaserItem"!==n.content.contentType)return;h=n.content.properties,T=n.settings.properties}let{picture:f,indexImage:I,entryId:j,videoUrl:y,heading:w,text:S,link:C,additionalInfo:M,date:O,modals:N,jobInfo:F,urlWrapperLink:H}=h,B=(0,a.k)(f),P=null==C?void 0:C[0];if(null!=P)try{P.route?g=new URL(null===(r=P.route)||void 0===r?void 0:r.path,"".concat(document.location.protocol,"//").concat(document.location.host)).toString():null!==P&&(g=P.url)}catch(n){g=P.url}let{style:Z,imagePosition:R,imageDisplayStyle:V,imageBackgroundStyle:W,teaserHeading:q,linkType:A="Link pil"}=T,J="Top"===k?"Top":R;return{indexImage:I,picture:B,video:(j||y)&&(0,o.jsx)(_.VideoFeature,{documentType:"video",content:{properties:{url:y,entryId:j,title:w},id:m.id},settings:{properties:{aspectRatio:z}},noBackground:!0}),heading:w,date:O,text:null==S?void 0:S.markup,modals:null!==(u=null==N?void 0:N.items.map(n=>{var e,t;let{modalId:i,header:l,body:r}=null!==(t=null==n?void 0:null===(e=n.content)||void 0===e?void 0:e.properties)&&void 0!==t?t:{};return{modalId:i,header:l,body:null==r?void 0:r.items.map((n,e)=>(0,o.jsx)(v.E,{contentModule:n,additionalProps:{noBackground:!0}},e))}}))&&void 0!==u?u:[],imageDisplayStyle:V,link:P?"Link knap"===(d=A||"Link pil")||"Login - Link knap"===d?(0,o.jsx)(s.H,{isCTALink:!0,ctaLinkType:"Link knap"===d?"arrow":"logon",...P}):(0,o.jsx)(s.H,{style:"arrow",...P}):void 0,backgroundStyle:Z||"White",imageBackgroundStyle:W||"White",imagePosition:R?J:k,imageIsPDF:b,imageHasBorder:L,additionalInfo:M?(0,o.jsx)(c.m,{content:(0,p.c)(M)}):F&&F,urlWrapperLink:E?P?g:void 0:H,teaserHeading:q}});return(0,o.jsx)(l.E,{...x,children:(0,o.jsx)(r.Q,{link:M?(0,o.jsx)(s.H,{style:"arrow",...M}):void 0,heading:h,noItemsMessage:j,columns:f||("Top"!==k?null:2),hideImagesOnMobile:S,aspectRatio:z,teaserItems:(null==N?void 0:N.length)>0?N:null,useSpilColorsForCards:(0,u.K)(C.theme),imageWidth:w})})}},28990:function(n,e,t){"use strict";t.d(e,{j:function(){return c}});var o=t(85893),i=t(94184),l=t.n(i),r=t(74800),a=t(6443),s=t.n(a);let c=n=>{let{className:e,icon:t,iconSize:i,text:a,spacing:c="xs"}=n;return(0,o.jsxs)("div",{className:l()(e,s().IconText),children:[(0,o.jsx)(r.JO,{size:i,children:t}),(0,o.jsx)("p",{className:l()(s().IconText_string,s()["IconText_string___spacing-".concat(c)]),children:a})]})}},6443:function(n){n.exports={IconText:"IconText_IconText__e5iCh",IconText_string:"IconText_IconText_string__nXXH2","IconText_string___spacing-2xs":"IconText_IconText_string___spacing-2xs__v3A19","IconText_string___spacing-xs":"IconText_IconText_string___spacing-xs__j3LcX","IconText_string___spacing-sm":"IconText_IconText_string___spacing-sm__48sqo","IconText_string___spacing-md":"IconText_IconText_string___spacing-md__bZB3g","IconText_string___spacing-lg":"IconText_IconText_string___spacing-lg__h9SNV","IconText_string___spacing-xl":"IconText_IconText_string___spacing-xl__OaFqf","IconText_string___spacing-2xl":"IconText_IconText_string___spacing-2xl__qyxqo"}}}]);
2//# sourceMappingURL=81.dba0146cfb096f5f.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.