PageSourceSearch

https://www.bikkarlskoga.se/assets/SingleVideoPage-IOKGzmmo.js

js bikkarlskoga.se collected 2026-09-25 08:11:44 UTC 5,325 bytes, 1 lines download raw bytes

1import{V as E}from"./VideoRenderer-B5tLp8FH.js";import F from"./VideosSection-B_vlhHbT.js";import{ab as B,P,a1 as z,ac as A,f as D,b as $,p as N,o as O,m as U,ax as H,j as n,h as R,au as W,W as G,aO as K,aH as j,z as q,C as m,D as h,E as s,I as J,J as S,F as p,N as V,aa as C,B as v}from"./index-Dx4n2qip.js";import{u as Q}from"./video-D4erEMT6.js";import{g as X,V as Y}from"./fetch-videos-utils-DyGNKHRt.js";import{V as Z}from"./VideoLockedComponent-sczHECAA.js";import"./GameCenterVideoLightbox-BfBTK5hu.js";import"./VideoThumbnail-6NG6-unu.js";import"./SdpPagination-_g_3x7XI.js";import"./useListAdSlots-DFpBPKmi.js";import"./index-CV1yRl8S.js";const x=B({name:"SingleVideoPage",components:{VideoRenderer:E,Videos:F,VideoLockedComponent:Z,SdpStreamlineIcon:z,DynamicAd:P},props:{mediaString:{type:String,required:!0},tags:{type:String,default:""}},setup(t){const d=A(G.SINGLE_VIDEO_TOP),a=Q(),f=D(),{t:b}=$(),I={videoLatest:b("videos.videoLatest")},r=n(()=>K(t.mediaString)),o=n(()=>a.getVideoByMediaString(t.mediaString)),k=n(()=>{var e,i,c;return((i=(e=o==null?void 0:o.value)==null?void 0:e.renderedMedia)==null?void 0:i.videourl)===""&&((c=o==null?void 0:o.value)==null?void 0:c.locked)}),g=R({items:[],meta:{}}),w=async()=>{const[e,i]=[0,5],l=(await X(e,i,[Y.VISIBLE_IN_LISTS],[],!0)).filter(y=>y.mediaString!==r.value)??[];l.length>=i&&l.pop(),g.items=[...l]},u=e=>{W(e,window.location.href,530,530)},_=n(()=>{const e=f.getPublicUrlForCurrentSite,i=r.value;return j(e,`single-video/${encodeURIComponent(i)}`)});return N({title:n(()=>{var e;return(e=o.value)==null?void 0:e.name}),meta:[{name:"description",content:n(()=>{var e;return(e=o.value)==null?void 0:e.description})},{property:"og:video:url",content:n(()=>_.value)},{property:"og:type",content:"video.movie"},{property:"og:video:type",content:"video/mp4"},{property:"og:title",content:n(()=>{var e;return(e=o.value)==null?void 0:e.name})},{property:"og:description",content:n(()=>{var e;return(e=o.value)==null?void 0:e.description})},{property:"og:image",content:n(()=>{var e,i;return(i=(e=o.value)==null?void 0:e.renderedMedia)==null?void 0:i.url})},{property:"og:video:width",content:"1500"},{property:"og:video:height",content:"843"},{name:"twitter:card",content:"player"},{property:"twitter:player",content:n(()=>{var e,i;return(i=(e=o.value)==null?void 0:e.renderedMedia)==null?void 0:i.videourl})},{property:"twitter:title",content:n(()=>{var e;return(e=o.value)==null?void 0:e.name})},{property:"twitter:description",content:n(()=>{var e;return(e=o.value)==null?void 0:e.description})},{property:"twitter:image",content:n(()=>{var e,i;return(i=(e=o.value)==null?void 0:e.renderedMedia)==null?void 0:i.url})},{property:"twitter:player:width",content:"1500"},{property:"twitter:player:height",content:"843"}]}),O(async()=>{a!=null&&a.getIsFetchingVideo||(await a.loadVideoUsingMediaString(r.value),await w())}),U(async()=>{if(!(a!=null&&a.getIsFetchingVideo))try{await a.loadVideoUsingMediaString(r.value)}catch(e){console.error("Error from Single Video",e)}await f.loadSettings()}),{video:o,videoHeader:"",videos:g,videoListHeading:I,showLockedModal:k,shareToSocialMedia:u,dateFormatFull:H,singleVideoTopSlot:d}}}),ee={class:"single-video-page-container"},oe={id:"topVideoContainer",class:"top-video-container"},te={class:"video-block"},ie={key:0,class:"absolute right-0 z-10"},ne={class:"date background-star main-star-container float-right"},se={key:0,class:"subs-level float-right"},ae={class:"subs-label"},de={key:1},re={class:"video-meta"},ce={class:"tag-bar"},le={class:"date"},pe={class:"video-title"},me={class:"video-text"},ve={class:"icon-container"},ge={class:"single-video-page-videos-container"};function ue(t,d,a,f,b,I){var u,_,e,i,c,l,y,L,M;const r=v("dynamic-ad"),o=v("sdp-streamline-icon"),k=v("video-renderer"),g=v("video-locked-component"),w=v("videos");return m(),h("div",ee,[s("div",oe,[t.singleVideoTopSlot.isEnabled?(m(),J(r,{key:0,"desktop-placement-key":((u=t.singleVideoTopSlot.config)==null?void 0:u.desktopPlacementKey)??null,"mobile-placement-key":((_=t.singleVideoTopSlot.config)==null?void 0:_.mobilePlacementKey)??null},null,8,["desktop-placement-key","mobile-placement-key"])):S("",!0),s("div",te,[(e=t.video)!=null&&e.locked?(m(),h("div",ie,[s("div",ne,[p(o,{icon:"starFilled",size:20,class:"text-white star-icon block"})]),(i=t.contentAccessLevel)!=null&&i.name?(m(),h("div",se,[s("div",ae,V((c=t.contentAccessLevel)==null?void 0:c.name),1)])):S("",!0)])):S("",!0),p(k,{video:t.video,class:"img-video"},null,8,["video"]),t.showLockedModal?(m(),h("div",de,[p(g)])):S("",!0),s("div",re,[s("div",ce,[s("p",le,V(t.dateFormatFull((l=t.video)==null?void 0:l.publishedAt)??""),1)]),s("div",pe,V((y=t.video)==null?void 0:y.name),1),s("div",me,V((L=t.video)==null?void 0:L.description),1),s("div",ve,[p(o,{icon:"facebookBoldWhite",size:25,class:C("social-icon cursor-pointer mr-2"),onClick:d[0]||(d[0]=T=>t.shareToSocialMedia("facebook"))}),p(o,{icon:"twitterBoldWhite",size:25,class:C("social-icon cursor-pointer mr-2"),onClick:d[1]||(d[1]=T
1=>t.shareToSocialMedia("twitter"))})])])])]),s("div",ge,[p(w,{"video-list":t.videos.items,"video-header":(M=t.videoListHeading)==null?void 0:M.videoLatest},null,8,["video-list","video-header"])])])}const Me=q(x,[["render",ue],["__scopeId","data-v-b56fda2f"]]);export{Me 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.