PageSourceSearch

https://www.seoghoer.dk/_nuxt/C5AjRfLI.js

js seoghoer.dk collected 2026-10-02 04:13:37 UTC 3,117 bytes, 1 lines download raw bytes

1import{d as y,K as H,H as M,b6 as C,L as $,a2 as L,ac as P,b9 as K,aX as O,o as A,c as k,F as V,f as m,aF as q,w as E,aH as T,a as i,r as U,g as x,p as b}from"./DVeNsz_0.js";const R={class:"lc-feed-container"},D={style:{"text-align":"center"}},J=y({__name:"allerLiveBlog",props:{componentContent:{type:Object,required:!0},adPostInterval:{type:Number,default:3},showAds:{type:Boolean,default:!0},scrollElementId:{type:String,default:"linked-post"}},setup(r){const s=r;H(async()=>{await B(),w(),N()});const a=b(),d=b();function w(){const e=window.NcPosts,t=window.NcLiveCenterExtensions;!e||!t||(s.showAds&&e.hookOptionsAfterDefaults(n=>S(e,n)),e.start({channelId:s.componentContent.channelId,tenantKey:s.componentContent.tenantKey,container:a.value,showMoreElement:d.value,extensionContainer:t,baseUrl:"https://livecenter.norkon.net/",wsBaseUrl:"wss://livecenterws.norkon.net/"}))}const v=M("liveCenterLoaded",()=>!1);async function B(){v.value||(await C("https://livecenter.norkon.net/scripts/ncposts/ncposts-6.1.1.min.js"),await C(`https://livecentercdn.norkon.net/LiveCenter/ExtensionJs/${s.componentContent.tenantKey}`),v.value=!0)}const I=$();function N(){if(I.query.p){const e=document.getElementById(s.scrollElementId);e&&L(()=>e.scrollIntoView())}}function S(e,t){let n=null;const o=[];t.starting=e.appendFunction(t.starting,c=>{c.listManager.listChanged=e.appendFunction(c.listManager.listChanged,u=>{u.forEach((l,f)=>{const F=u.findIndex(p=>p.id===n);((p,h)=>h?p-h:p)(f,F)%s.adPostInterval===0&&!o.includes(l.id)&&(o.push(l.id),j(l.container))}),n=o[o.length-1]})})}const _=[];P(()=>{_.forEach(e=>e())});function j(e){const t="mob_intext_ad_liveblog",n="dsk_intext_ad_liveblog";g(t,e),g(n,e)}function g(e,t){if(t.hasAttribute(`data-ad-loaded-${e}`))return;t.setAttribute(`data-ad-loaded-${e}`,"true");const n=document.createElement("div");n.setAttribute("data-type","ad");const{isMobileAd:o,minHeight:c,cleanupAd:u,injectAd:l}=K({},O(n)),f=o?["lg:hidden","flex"]:["hidden","lg:flex"];n.classList.add(...f,"items-center","justify-center","mb-20"),n.style.minHeight=`${c}px`,t.parentNode?.insertBefore(n,t.nextSibling),L(l),_.push(u)}return(e,t)=>{const n=T,o=q;return A(),k(V,null,[m(o,null,{default:E(()=>[m(n,{href:"https://livecenter.norkon.net/scripts/ncposts/ncposts-6.1.1.min.css",rel:"stylesheet"}),m(n,{href:`https://livecentercdn.norkon.net/LiveCenter/ExtensionCss/${r.componentContent.tenantKey}`,rel:"stylesheet"},null,8,["href"])]),_:1}),i("div",R,[t[1]||(t[1]=i("div",{id:"linked-post"},null,-1)),i("div",{ref_key:"feedElement",ref:a},null,512),i("div",D,[i("button",{ref_key:"loadMoreElement",ref:d,class:"lc-load-more"},[U(e.$slots,"buttonContent",{},()=>[t[0]||(t[0]=x(" Læs mere ",-1))])],512)])])],64)}}}),X=Object.assign(J,{__name:"AllerLiveBlog"}),z=y({__name:"LiveBlog",props:{componentContent:{type:Object,required:!0}},setup(r){return(s,a)=>{const d=X;return A(),k("div",null,[m(d,{componentContent:r.componentContent},{buttonContent:E(()=>[...a[0]||(a[0]=[x(" Hent flere ",-1)])]),_:1},8,["componentContent"])])}}}),W=Object.assign(z,{__name:"ContentLiveBlog"});export{W 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.