import{F as w,D as J}from"./DesktopLayout.6985d4ce.js";import{L as D,J as L,S as W,T as I,a as V,H as M}from"./ListBlock.a068a424.js";import{M as E}from"./MediumAdWidget.c32876a5.js";import{J as N}from"./JobArticle.97724992.js";import{_ as x}from"./_plugin-vue_export-helper.cdc0426e.js";import{d as A,r as s,o as r,b as o,a as t,g as i,t as k,s as c,L as P,c as a,w as S,f as z,F as _,y as u,I as H,z as R,A as T}from"./app.a25618e4.js";import{A as O}from"./ArticleWidget.4ceaf673.js";import"./clipboard.eeddc9f6.js";const Y=A({name:"JobCarouselVerticalCards",components:{FontAwesomeIcon:w},props:{job_description:{heading:String,commune:String,date:String,image:String,ribbon_nyt:Boolean,external_link:String}}}),q=["href"],G={class:"w-[300px] h-[150px] border-2 flex justify-between"},K={class:"w-[300px] overflow-hidden flex flex-col justify-between p-3 relative"},Q={key:0,class:"bg-primary w-full text-center translate-x-1/2 rotate-45 absolute top-[10px] right-[18px]"},U=t("p",{class:"text-[10px] text-white font-bold"},"NYT",-1),X=[U],Z={class:""},ee={class:"text-sm font-semibold leading-5 max-w-[95%] h-[50px]"},te={class:"flex justify-between items-end mt-3 bottom-0"},re={class:"flex items-center mb-2"},se={class:"text-gray-400 text-xs ml-3"},ae={class:"flex"},oe={class:"text-gray-400 text-xs ml-2"},ne={key:0,class:"flex justify-end w-[75px] h-[40px]"},ie=["src"];function le(e,l,g,y,j,p){const n=s("FontAwesomeIcon");return r(),o("a",{href:e.job_description.external_link,target:"_blank"},[t("div",G,[t("div",K,[e.job_description.ribbon_nyt?(r(),o("div",Q,X)):i("",!0),t("div",Z,[t("h3",ee,k(e.job_description.heading),1)]),t("div",te,[t("div",null,[t("div",re,[c(n,{icon:"fa-solid fa-map-pin",class:"text-gray-400"}),t("p",se,k(e.job_description.commune),1)]),t("div",ae,[c(n,{icon:"fa-regular fa-calendar",class:"text-gray-400"}),t("p",oe,"Frist: "+k(e.job_description.date),1)])]),e.job_description.image?(r(),o("div",ne,[t("img",{src:e.job_description.image,alt:"",class:"h-full object-contain"},null,8,ie)])):i("",!0)])])])],8,q)}const de=x(Y,[["render",le]]),ce={name:"JobCarouselVertical",components:{JobCarouselVerticalCards:de,JobArticle:N,FontAwesomeIcon:w,Link:P},props:{job_descriptions:Array},data(){return{}},computed:{jobdescription_chunks_count(){return Math.ceil(this.job_descriptions.length/3)}},methods:{nextSlide(){typeof document>"u"||document.getElementById("job-carousel-vertical").scrollBy(300,0)},prevSlide(){typeof document>"u"||document.getElementById("job-carousel-vertical").scrollBy(-300,0)}}},pe={class:"relative w-[300px] h-[525px]"},me={class:"flex justify-between mb-[10px]"},_e=t("div",null,[t("h2",{class:"font-bold text-[14px] text-primary"},"Jobopslag")],-1),ue={class:"flex"},ge={id:"job-carousel-vertical",class:"flex flex-row overflow-x-scroll scroll-smooth touch-auto snap-x snap-mandatory no-scrollbar gap-[25px]"},fe={class:"flex flex-col gap-[20px]"};function be(e,l,g,y,j,p){const n=s("FontAwesomeIcon"),f=s("JobCarouselVerticalCards");return r(),o("div",pe,[t("div",me,[_e,t("div",ue,[t("button",{onClick:l[0]||(l[0]=d=>p.prevSlide()),class:"rounded-full bg-gray-50 shadow-custom-sm-buttons w-6 h-6 mr-1 flex items-center justify-center"},[c(n,{icon:"fa-solid fa-angle-left",class:"text-[10px]"})]),t("button",{onClick:l[1]||(l[1]=d=>p.nextSlide()),class:"rounded-full bg-gray-50 shadow-custom-sm-buttons w-6 h-6 mr-1 flex items-center justify-center"},[c(n,{icon:"fa-solid fa-angle-right",class:"text-[10px]"})]),(r(),a(z(e.$page.props.link_component),{href:e.route("jobs_archive",{},!1),class:"rounded-full bg-primary shadow-custom-sm-buttons w-6 h-6 mr-1 flex items-center justify-center"},{default:S(()=>[c(n,{icon:"fa-solid fa-link",class:"text-white text-[10px]"})]),_:1},8,["href"]))])]),t("div",ge,[(r(!0),o(_,null,u(p.jobdescription_chunks_count,d=>(r(),o("div",fe,[(r(!0),o(_,null,u(g.job_descriptions.slice((d-1)*3,d*3),b=>(r(),a(f,{job_description:b,class:"snap-start"},null,8,["job_description"]))),256))]))),256))])])}const he=x(ce,[["render",be]]);const ke=A({name:"ArticlePage",components:{ListBlock:D,ArticleWidget:O,JobCarouselVertical:he,JobCarousel:L,ScrollableListWidget:W,TrialBanner:I,DesktopLayout:J,ArticleFull:V,MediumAdWidget:E,HeadlineWidget:M},props:{meta:{type:Object,default:()=>({title:"Artikel"})},article_pagination:{type:[Array,Object]},sponsored_articles:Array,related_articles:Array,job_descriptions:Array,press_releases_list:Array,ads_new:Array,article:{type:Object,default:()=>[{image:{src:"/images/hovedbillede.png",caption:"Der har v\xE6ret en stigning i antallet af \xE6ldre under den nuv\xE6rende regering, men antallet af hjemmehj\xE6lpstimer er ikke fulgt med. - Foto: Martin Sylvest/Ritzau Scanpix",alt:""},heading:"Faldet i hjemmehj\xE6lpstimer pr. \xE6ldre forts\xE6tter",subheading:"Faldet i hjemmehj\xE6lpstimer pr. \xE6ldre er mindsket under den nuv\xE6rende regering, men der bliver stadigt f\xE6rre hjemmehj\xE6lpstimer pr. modtager for s\xE6rligt de \xE6ldste borgere.",body:`<p class="text-[20px] leading-[32px] mb-6">
            En gennemsnitlig 85-\xE5rig i Danmark f\xE5r 3,5 procent f\xE6rre hjemmehj\xE6lpstimer i dag end i 2019, da den socialdemokratiske regering kom til magten. Det viser nye tal fra Danmarks Statistik. Fra 2015 til 2019 faldt antallet hjemmehj\xE6lpstimer pr. 85-\xE5rig med 14,3 procent.
        </p>
        <div>
            <img src="/images/dk.png" alt="" class="w-full">
            <p class="font-light italic text-[14px] text-gray-400 my-3">Der har v\xE6ret en stigning i antallet af \xE6ldre under den nuv\xE6rende regering, men antallet af hjemmehj\xE6lpstimer er ikke fulgt med. - Foto: Martin Sylvest/Ritzau Scanpix</p>
        </div>

        <p class="text-[20px] leading-[32px] my-2">
            Dermed er faldet v\xE6sentligt mindre nu, end det tidligere har v\xE6ret, men der bliver fortsat f\xE6rre hjemmehj\xE6lpstimer til hver borger.
        </p>

        <div class="bg-gray-100 w-full h-[130px] flex justify-center items-center">
            <img src="/images/bannerAdd.png" alt="" class="w-[728px] h-[90px]">
        </div>

        <p class="text-[20px] leading-[32px] my-2">
            Det sker til trods for, at regeringen nu har indg\xE5et fire \xF8konomiaftaler med kommunerne med l\xF8fter til borgerne om, at de \xE6ldre ikke f\xE5r en forringet service i...
        </p>

        <p class="text-[20px] leading-[32px] mt-6">
            Det sker til trods for, at regeringen nu har indg\xE5et fire \xF8konomiaftaler med kommunerne med l\xF8fter til borgerne om, at de \xE6ldre ikke f\xE5r en forringet service i...
        </p>`,journalist:{name:"Peter Risager",link:"",email:"peter@nb-medier.dk"},tags:[{tag:"\xC6ldre",tag_link:"/\xE6ldre"},{tag:"Artikel",tag_link:"/artikel"},{tag:"\xD8konomi",tag_link:"/\xF8konomi"}],themes:[{theme:"Fakta og tal",theme_link:"/faktaogtal"},{theme:"\xD8konomiaftale",theme_link:"/\xF8konomiaftale"}],last_edited:"10/06/22 - 10:35"}]}},methods:{loop_ads(){let e={...this.ads_new};return delete e.ad_leaderboard,delete e.top_banner,e}},mounted(){typeof document>"u"||document.dispatchEvent(new Event("paywall_do_load"))}}),xe=e=>(R("data-v-aab8791f"),e=e(),T(),e),ye={class:"grid articlepage-grid gap-[25px] mt-[30px]"},je=xe(()=>t("div",{style:{"grid-area":"gap"},class:"hidden lg:block"},null,-1));function ve(e,l,g,y,j,p){var v;const n=s("ArticleFull"),f=s("MediumAdWidget"),d=s("JobCarouselVertical"),b=s("JobCarousel"),$=s("ListBlock"),we=s("ScrollableListWidget"),C=s("HeadlineWidget"),F=s("ArticleWidget"),B=s("DesktopLayout");return r(),a(B,{main_class:"bg-white container",title:(v=e.meta)==null?void 0:v.title,top_banner:e.ads_new.top_banner},{default:S(()=>[t("section",ye,[c(n,{class:"article-single",article:e.article,article_pagination:e.article_pagination,ad_leaderboard:e.ads_new.ad_leaderboard,ad_id:"ad_leaderboard"},null,8,["article","article_pagination","ad_leaderboard"]),(r(!0),o(_,null,u(e.loop_ads(),(h,m)=>(r(),a(f,{ad:h,ad_id:m,class:"w-[300px] mx-auto"},null,8,["ad","ad_id"]))),256)),e.job_descriptions.length?(r(),a(d,{key:0,job_descriptions:e.job_descriptions,header_big:!1,class:"w-[300px] mx-auto md:hidden lg:block"},null,8,["job_descriptions"])):i("",!0),e.job_descriptions?(r(),a(b,{key:1,job_descriptions:e.job_descriptions,header_big:!1,style:{"grid-area":"job-carousel"},class:"job-carousel hidden md:block lg:hidden my-auto"},null,8,["job_descriptions"])):i("",!0),e.sponsored_articles?(r(),a($,{key:2,is_sponsored:!0,articles:e.sponsored_articles,heading_url:e.route("sponsors_page"),heading:"Nyheder fra Samarbejdspartnere"},null,8,["articles","heading_url"])):i("",!0),i("",!0),je,e.related_articles?(r(),a(C,{key:4,title:"Relaterede artikler",right_button_text:"",link:"",style:{"grid-area":"headline"},class:"my-10"})):i("",!0),e.related_articles?(r(!0),o(_,{key:5},u(e.related_articles,(h,m)=>(r(),a(F,{article:h,key:m,style:H(`grid-area: related-article-${m}`),class:"w-[300px] mx-auto"},null,8,["article","style"]))),128)):i("",!0)])]),_:1},8,["title","top_banner"])}const Le=x(ke,[["render",ve],["__scopeId","data-v-aab8791f"]]);export{Le as default};