1import{_ as Q}from"./JojsxdA5.js";import{_ as D}from"./DZTJzZ12.js";import{_ as J,o,e as b,Q as R,d as y,f as t,m as W,t as w,B as E,S as T,c as r,l as g,h as l,g as m,F as A,r as j,n as F,u as X,i as C,a as s,T as $,a2 as B,b as L,A as Y}from"./DjRoh7cm.js";import{_ as ee,u as V,a as te}from"./B9Trqnn1.js";import{b as oe,_ as se,a as ne}from"./BVeCiwh1.js";import{_ as re}from"./CyGUlbyB.js";import{_ as S}from"./Bf8FvaUU.js";import{u as z}from"./DGVqpFzU.js";import{a as ae,_ as ie}from"./D4rC22O9.js";import{_ as O}from"./j-G2pMb4.js";import{_ as le}from"./B-XV-MsY.js";import{_ as ce}from"./CJduDl6F.js";import{S as me,N as de}from"./Dnorid1v.js";import{a as pe,S as ue}from"./B8LwgWuR.js";import"./BCy0515n.js";import"./BHpFMAvV.js";import"./4xLxiqA7.js";import"./DkWiQduW.js";import"./BKreovk3.js";import"./nrVF34xG.js";import"./CIh4zJK7.js";import"./CaxxwZZk.js";import"./h8Pmu0UI.js";import"./DF97k95f.js";import"./6GKZDNpu.js";import"./BvOfgjZs.js";import"./CDweA_u0.js";import"./YDsiDtve.js";import"./CRk_Kew1.js";import"./DbuGi5j9.js";import"./B7MlD5xA.js";import"./BD0xkjFI.js";import"./BbTHIdhe.js";import"./CqAjjBnD.js";import"./COzwoTgv.js";import"./Co_JqbIc.js";import"./DXG5Rk3N.js";import"./Ds5Wa3Ru.js";import"./B-t7Qo1N.js";import"./DxvwD7dX.js";import"./FVV8vvN_.js";import"./c6zGQ4MN.js";import"./BBlLYS1d.js";import"./Dp3eVIj_.js";import"./DBeXZoyG.js";import"./Ccx1MofX.js";import"./Bsth_Dv9.js";import"./D4G_9L3Y.js";import"./LMNrmiDI.js";import"./CbNLj99q.js";import"./CtnmvCeq.js";import"./CUw4pbXj.js";import"./C85-L6gv.js";import"./B9ZxzQGR.js";import"./dI5mY376.js";import"./8SbNjzgV.js";import"./C-bldVLz.js";import"./BjRwfRbM.js";import"./DuOfCX-Z.js";import"./ATsOHq9R.js";import"./CSv1fF1c.js";import"./CLrBGT7n.js";import"./X5iKEvI2.js";import"./OhjUBzo-.js";import"./DfXMk_Bc.js";import"./CQ8bV0yh.js";const _e={},ge={class:"flex items-center self-start bg-accent pr-2 text-neutral-invert-content"};function fe(v,e){return o(),b("div",ge,[...e[0]||(e[0]=[R('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="fill-none"><circle id="center" cx="12" cy="12" r="2.25" class="fill-secondary"><animate attributeName="r" from="2.25" to="2.5" dur="1.5s" values="2.25; 4; 2.5; 2; 2.5; 2.5;" keyTimes="0; 0.2; 0.4; 0.5; 0.8; 1" repeatCount="indefinite"></animate></circle><circle id="circle" cx="12" cy="12" r="2.25" class="stroke-secondary"><animate attributeName="r" from="2.25" to="10" dur="1.5s" repeatCount="indefinite"></animate><animate attributeName="stroke-opacity" from="1" to="0" dur="1.5s" repeatCount="indefinite"></animate></circle></svg> Siste ',2)])])}const xe=Object.assign(J(_e,[["render",fe]]),{__name:"DNEditorialLatest"}),be={class:"flex items-center gap-2 text-xs text-primary"},ke=y({__name:"DNNewsCommentFooter",props:{name:{}},setup(v){return(e,c)=>(o(),b("div",be,[c[0]||(c[0]=t("svg",{width:"12",height:"11",viewBox:"0 0 12 11",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M2.26772 2.95036C1.37891 4.08971 1.25066 5.238 1.51181 6.04144C2.49873 5.23772 3.87032 5.40601 4.70552 6.20617C5.5492 7.01446 5.62179 8.4353 5.08347 9.35539C4.63063 10.1294 3.83538 10.5957 2.94804 10.5957C0.928629 10.5957 1.42909e-06 8.76917 1.07076e-06 6.71974C8.38084e-07 5.38898 0.330706 4.19713 0.992123 3.14416C1.65354 2.09118 2.65196 1.2417 3.9874 0.595702L4.34646 1.31276C3.54016 1.6616 2.84725 2.20746 2.26772 2.95036ZM8.8441 2.95035C7.9553 4.08971 7.82705 5.238 8.0882 6.04144C8.52914 5.69261 9.00788 5.51818 9.52442 5.51818C10.8831 5.51818 12 6.44621 12 8.05694C12 9.53808 10.8916 10.5957 9.52441 10.5957C7.505 10.5957 6.57638 8.76917 6.57638 6.71973C6.57638 5.38899 6.90708 4.19713 7.5685 3.14415C8.22991 2.09118 9.22834 1.2417 10.5638 0.595701L10.9228 1.31275C10.1165 1.66159 9.42362 2.20746 8.8441 2.95035Z",fill:"currentColor"})],-1)),c[1]||(c[1]=t("span",{class:"text-tertiary"},"|",-1)),W(" "+w(v.name),1)]))}}),he=Object.assign(ke,{__name:"DNNewsCommentFooter"}),ve={class:"flex flex-col gap-4"},we={class:"relative w-full shrink-0 self-start"},ye={class:"flex h-full flex-col gap-4 px-4 lg:px-0"},Ne={class:"font-mono text-xl font-bold lg:text-2xl"},Ce={class:"relative col-span-2 w-full shrink-0 self-start lg:col-span-1"},$e={class:"absolute bottom-0 flex size-full shrink-0 flex-col items-end justify-end gap-2 last:mb-2 lg:flex-row-reverse lg:justify-between lg:gap-0 lg:p-4 last:lg:mb-0"},De={class:"col-span-4 flex h-auto flex-col gap-4 md:h-full lg:col-span-1"},Ae={class:"font-mono text-xl font-bold lg:text-2xl"},je=7200*1e3,Se=y({__name:"DNNewsArticleGroup",props:{articles:{},mainArticle:{}},setup(v){const e=v,c=E("now",()=>T());function k(h){return je>c.value.getTime()-h.date.getTime()}return(h,n)=>{const i=D,d=xe,f=he,x=ee,u=oe;return o(),b("div",ve,[e.mainArticle?(o(),r(u,{key:0,to:e.mainArticle.url,publication:e.mainArticle.publication,class:"flex flex-col gap-4 border-b border-muted pb-4"},{default:g(()=>[t("div",we,[l(i,{src:e.mainArticle.images?.three_two,class:"lg:rounded-md"},null,8,["src"]),e.mainArticle.topic==="Børskommentar"?(o(),r(i,{key:0,class:"absolute bottom-4 right-4 aspect-square h-1/3 rounded-md bg-surface",src:e.mainArticle.byline.authors[0].metadata.profileImage},null,8,["src"])):m("",!0)]),t("div",ye,[k(e.mainArticle)?(o(),r(d,{key:0,class:"flex justify-center self-start rounded-md"})):m("",!0),e.mainArticle.topic==="Børskommentar"?(o(),r(f,{key:1,name:e.mainArticle.byline.authors[0].name?e.mainArticle.byline.authors[0].name:"-",class:"text-base"},null,8,["name"])):m("",!0),t("span",Ne,w(e.mainArticle.title?.replace(/<\/?[^>]+(>|$)/g,"")),1),l(x,{date:e.mainArticle.date,topic:e.mainArticle.topic,paid:e.mainArticle.paid,class:"mt-auto"},null,8,["date","topic","paid"])])]),_:1},8,["to","publication"])):m("",!0),t("div",{class:F(["flex grid-cols-2 flex-col gap-4 last:mb-0 lg:grid lg:gap-8",{"px-4 lg:px-0":e.mainArticle}])},[(o(!0),b(A,null,j(e.articles,a=>(o(),r(u,{key:a.id,to:a.url,publication:a.publication,class:"grid grid-cols-6 flex-col gap-4 border-b border-muted pb-4 last:mb-0 last:border-0 last:pb-0 lg:flex last:lg:border-b last:lg:pb-4"},{default:g(()=>
1[t("div",Ce,[l(i,{src:a.images?.three_two,class:"rounded-md"},null,8,["src"]),t("div",$e,[a.topic==="Børskommentar"?(o(),r(i,{key:0,class:"mr-2 aspect-square h-2/5 rounded-md bg-muted lg:mb-0 lg:mr-0 lg:h-auto lg:w-3/12",src:a.byline.authors[0].metadata.profileImage},null,8,["src"])):m("",!0),k(a)?(o(),r(d,{key:1,class:"-mb-2 flex w-full justify-center self-start rounded-b-md lg:mb-0 lg:mr-auto lg:mt-auto lg:w-auto lg:rounded-t-md"})):m("",!0)])]),t("div",De,[a.topic==="Børskommentar"?(o(),r(f,{key:0,name:a.byline.authors[0].name?a.byline.authors[0].name:"-"},null,8,["name"])):m("",!0),t("span",Ae,w(a.title?.replace(/<\/?[^>]+(>|$)/g,"")),1),l(x,{date:a.date,topic:a.topic,paid:a.paid,class:"mt-auto"},null,8,["date","topic","paid"])])]),_:2},1032,["to","publication"]))),128))],2)])}}}),Ie=Object.assign(Se,{__name:"DNNewsArticleGroup"}),Be={class:"border-b flex py-4 gap-4 whitespace-nowrap border-muted text-base-content"},Le=["onClick"],Ee=y({__name:"DNNewsNewsStudio",setup(v){const{t:e}=X(),{trackUserAction:c}=z();function k(d){return["exchange-messages","dn-investor","financial-calendar"].includes(d)}const h=[{key:"dn-investor",text:"DN Investor"},{key:"financial-calendar",text:e("news.finance-calendar")},{key:"exchange-messages",text:e("news.exchange-messages")}],n=C("dn-investor");function i(d){k(d.key)&&(n.value=d.key,c({action:"news-studio-tab-select",selected:d.key}))}return(d,f)=>{const x=se,u=re,a=ne,p=S;return o(),r(p,{title:d.$t("common.news-studio")},{default:g(()=>[t("div",Be,[(o(),b(A,null,j(h,_=>t("button",{key:_.key,class:F({"border-b-2 border-muted-selected text-primary":s(n)===_.key}),onClick:()=>i(_)},w(_.text),11,Le)),64))]),s(n)==="dn-investor"?(o(),r(x,{key:0})):m("",!0),s(n)==="financial-calendar"?(o(),r(u,{key:1})):m("",!0),s(n)==="exchange-messages"?(o(),r(a,{key:2})):m("",!0)]),_:1},8,["title"])}}}),Te=Object.assign(Ee,{__name:"DNNewsNewsStudio"}),Fe={class:"relative aspect-[16/9]"},Ve={key:0,class:"absolute bottom-2 right-2 flex aspect-square w-1/4 justify-center rounded-md bg-base-200"},ze={class:"mb-2 mt-4 flex items-center gap-2 align-middle text-sm text-base-content"},Oe={class:"flex font-semibold"},Me={class:"mt-4 flex justify-end gap-4"},Pe={class:"comment-slidePrev-btn flex size-10 rotate-180 cursor-pointer items-center justify-center rounded-full border border-base-300 lg:hover:bg-base-300"},qe={class:"comment-slideNext-btn flex size-10 cursor-pointer items-center justify-center rounded-full border border-base-300 lg:hover:bg-base-300"},Ze=y({__name:"CommentsCarousel",setup(v){const{getExchangeComments:e}=V(),{trackUserAction:c}=z(),{data:k,pending:h}=$("exchange-comments",()=>e());return(n,i)=>{const d=D,f=O,x=le,u=ce,a=S;return o(),r(a,{title:n.$t("common.exchange-comments"),class:"mb-0"},{default:g(()=>[l(x,null,{default:g(()=>[s(h)?m("",!0):(o(),r(s(pe),{key:0,modules:[s(me),s(de)],"slides-per-view":2,"touch-events-target":"container","space-between":42,"grab-cursor":!0,navigation:{prevEl:".comment-slidePrev-btn",nextEl:".comment-slideNext-btn"},scrollbar:{draggable:!0,hide:!1},breakpoints:{1024:{slidesPerView:3},1280:{slidesPerView:4}},onSlideChange:i[0]||(i[0]=p=>s(c)({action:"børskommentarer-carousel-slide"}))},{default:g(()=>[(o(!0),b(A,null,j(s(k),p=>(o(),r(s(ue),{key:p.title,class:"mb-8 mt-1 !h-auto"},{default:g(()=>[l(f,{to:p.url,target:"_blank",onClick:_=>s(c)({action:"børskommentarer-carousel-click",linkUrl:p.url,publication:p.publication})},{default:g(()=>[t("div",Fe,[l(d,{src:p.images?.sixteen_nine,class:"aspect-[16/9] rounded-md object-cover"},null,8,["src"]),p.byline?.authors[0]?.metadata?.profileImage?(o(),b("div",Ve,[l(d,{src:p.byline.authors[0].metadata.profileImage,class:"aspect-square rounded-md object-cover"},null,8,["src"])])):m("",!0)]),t("div",null,[t("div",ze,[i[1]||(i[1]=t("span",null,[t("svg",{width:"12",height:"11",viewBox:"0 0 12 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M2.26772 2.95036C1.37891 4.08971 1.25066 5.238 1.51181 6.04144C2.49873 5.23772 3.87032 5.40601 4.70552 6.20617C5.5492 7.01446 5.62179 8.4353 5.08347 9.35539C4.63063 10.1294 3.83538 10.5957 2.94804 10.5957C0.928629 10.5957 1.42909e-06 8.76917 1.07076e-06 6.71974C8.38084e-07 5.38898 0.330706 4.19713 0.992123 3.14416C1.65354 2.09118 2.65196 1.2417 3.9874 0.595702L4.34646 1.31276C3.54016 1.6616 2.84725 2.20746 2.26772 2.95036ZM8.8441 2.95035C7.9553 4.08971 7.82705 5.238 8.0882 6.04144C8.52914 5.69261 9.00788 5.51818 9.52442 5.51818C10.8831 5.51818 12 6.44621 12 8.05694C12 9.53808 10.8916 10.5957 9.52441 10.5957C7.505 10.5957 6.57638 8.76917 6.57638 6.71973C6.57638 5.38899 6.90708 4.19713 7.5685 3.14415C8.22991 2.09118 9.22834 1.2417 10.5638 0.595701L10.9228 1.31275C10.1165 1.66159 9.42362 2.20746 8.8441 2.95035Z",fill:"currentColor"})])],-1)),i[2]||(i[2]=t("span",{class:"text-tertiary"}
1,"|",-1)),t("span",null,w(p.byline?.authors[0]?.name?p.byline.authors[0].name:"-"),1)]),t("div",Oe,w(p.title.replace(/<\/?[^>]+(>|$)/g,"")),1)])]),_:2},1032,["to","onClick"])]),_:2},1024))),128))]),_:1},8,["modules"]))]),_:1}),t("div",Me,[t("button",Pe,[l(u,{icon:"arrow-right"})]),t("button",qe,[l(u,{icon:"arrow-right"})])])]),_:1},8,["title"])}}}),Ge=Object.assign(Ze,{__name:"CarouselCommentsCarousel"}),Ue={class:"flex flex-col gap-4 lg:gap-10"},He={class:"flex grid-cols-3 flex-col items-start gap-4 lg:gap-10 xl:grid"},Ke={class:"col-span-2"},Qe={class:"flex grid-cols-3 flex-col items-start gap-4 lg:gap-10 xl:grid"},Je={class:"col-span-2 hidden flex-col gap-10 md:flex"},Re={key:1,class:"flex flex-col gap-10"},We={class:"grid grid-cols-1 items-start gap-4 lg:gap-10"},Xe=2100*60*1e3,Ye=y({__name:"DNNews",async setup(v){let e,c;const{getNewsArticles:k,getExchangeComments:h}=V(),{data:n}=([e,c]=B(()=>$("news-articles",()=>k(),{lazy:!0,server:!1,default:()=>[]})),e=await e,c(),e),{data:i}=([e,c]=B(()=>$("exchange-comments",()=>h(),{lazy:!0,server:!1,default:()=>[]})),e=await e,c(),e),d=E("now",()=>T()),f=L(()=>i.value[0]),x=C("Nyheter - DN Investor"),u=C("FÃ¥ de siste økonominyhetene pÃ¥ DN Investor. Hold deg oppdatert med vÃ¥rt omfattende nyhetsdekning som inkluderer de siste utviklingene innen aksjer, obligasjoner, rÃ¥varer og valuta fra bÃ¥de Norge og internasjonale markeder. I tillegg gir DN Investor deg markedsanalyse, verktøy og ekspertrÃ¥d som hjelper deg med Ã¥ fÃ¥ oversikt over finansmarkedene og ta velinformerte beslutninger. Bli med pÃ¥ DN Investor og fÃ¥ en unik innsikt i de økonomiske trendene og mulighetene i dagens marked."),a=L(()=>f.value&&f.value.date&&d.value.getTime()-f.value.date.getTime()<=Xe);return Y({title:()=>x.value,meta:[{property:"og:title",content:()=>x.value},{name:"description",content:()=>u.value},{property:"og:description",content:()=>u.value},{property:"og:image",content:"/investor/images/investor.webp"},{name:"twitter:card",content:"summary_large_image"}]}),(p,_)=>{const I=Q,N=Ie,M=Te,P=te,q=ae,Z=D,G=O,U=S,H=ie,K=Ge;return o(),b("div",Ue,[t("div",He,[t("div",Ke,[!s(n)||!s(i)?(o(),r(I,{key:0})):s(n).length>=3?(o(),r(N,{key:1,"main-article":s(n)[0],articles:[s(n)[1],s(n)[2]]},null,8,["main-article","articles"])):m("",!0)]),l(M,{class:"w-full"})]),l(P),t("div",Qe,[t("div",Je,[!s(n)||!s(i)?(o(),r(I,{key:0})):(o(),b("div",Re,[s(n).length>=6?(o(),r(N,{key:0,"main-article":s(n)[3],articles:[s(n)[4],s(n)[5]]},null,8,["main-article","articles"])):m("",!0),s(n).length>=9?(o(),r(N,{key:1,"main-article":s(n)[6],articles:[s(n)[7],s(n)[8]]},null,8,["main-article","articles"])):m("",!0)]))]),t("div",We,[l(q),l(U,{title:p.$t("knowledge-library.header"),"title-link":"/kunnskapsbibliotek",class:"mb-0"},{default:g(()=>[l(G,{to:"/kunnskapsbibliotek",class:"flex flex-col gap-4"},{default:g(()=>[t("div",null,[l(Z,{src:"/images/investor.webp"})]),_[0]||(_[0]=t("div",{class:"text-3xl font-semibold"}," Sjekk ut Kunnskapsbibliotek ",-1)),_[1]||(_[1]=t("div",{class:"text-base-content"}," Aksjeordbok og DNs aksjeskole â for deg som er nybegynner i aksjemarkedet. ",-1))]),_:1})]),_:1},8,["title"]),l(H)])]),s(a)?(o(),r(K,{key:0})):m("",!0)])}}}),uo=Object.assign(Ye,{__name:"DNNews"});export{uo as default};
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.