PageSourceSearch

https://internazionalibnlditalia.com/assets/DettaglioVideo-433c63a5.js

js internazionalibnlditalia.com collected 2026-10-02 10:10:26 UTC 4,413 bytes, 1 lines download raw bytes

1import{u as x}from"./apiCall-7f5599ba.js";import{_ as P,B as T,r as B,S as z,A as W,h as N,w as M,L as f,D as p,b as _,c as g,i as U,F as q,d as s,l as v,j as F,t as w,v as C,k as G}from"./index-2e9905b2.js";import{S as R}from"./SponsorList-1ab75dca.js";import{C as Z}from"./CarouselSponsorWidget-7a8251fc.js";import{e as D}from"./formatDate-1dda15f6.js";import{u as j}from"./vue.f36acd1f-7d6c8106.js";import{C as H}from"./CondividiStickySide-6c6eed76.js";import"./callApiSaveStore-a7fa4728.js";import"./swAlert-cd67e95d.js";import"./callApiSaveStoreBanner-8147d416.js";import"./getWindowWidth-17ed1663.js";const Q={name:"dettaglio-photo",components:{CondividiStickySide:H,SponsorList:R,CarouselSponsorWidget:Z},setup(){var h;const S=(h=window.location.pathname.match(/^\/([^\/]+)/))==null?void 0:h[1],m=T(),b=B({idVideo:localStorage.getItem("id_video"),idSite:S,url:m.path}),t=x(W.MEDIA_VIDEO_VIEW,b,z.MEDIA_VIDEO_VIEW),{loading:k,data:a,status:y}=t,o=N(()=>a.value&&a.value.results&&a.value.results[0]?a.value.results[0]:[]),E=N(()=>{const i=o.value&&o.value.url;if(!i||typeof i!="string")return"";try{const e=new URL(i,window.location.origin),d=e.hostname.toLowerCase();if(d.includes("youtube.com")||d==="youtu.be"){let n="";if(d==="youtu.be"?n=e.pathname.replace("/",""):e.pathname.startsWith("/embed/")?n=e.pathname.replace("/embed/",""):n=e.searchParams.get("v")||"",!n)return i;const r=new URLSearchParams(e.search);return r.set("origin",window.location.origin),r.set("modestbranding","1"),r.set("rel","0"),r.set("playsinline","1"),`https://www.youtube.com/embed/${n}?${r.toString()}`}return i}catch{return i}});return M(o,async()=>{if(o.value&&o.value&&o.value.seo){const e=new DOMParser().parseFromString(o.value.seo,"text/html"),d=e.head,n=d.firstElementChild,r=d.lastElementChild,L=Array.from(e.querySelectorAll("meta")).map(c=>{const l={};return Array.from(c.attributes).forEach(u=>{l[u.name]=u.value}),l.name==="title"?null:l}).filter(c=>c!==null),O=Array.from(e.querySelectorAll("link")).map(c=>{const l={};return Array.from(c.attributes).forEach(u=>{l[u.name]=u.value}),l});let I="";const A=e.querySelector("title"),V=e.querySelector('meta[name="title"]');A?I=A.textContent:V&&(I=V.getAttribute("content")||""),j({title:I,meta:L,link:O}),n&&r&&setTimeout(()=>{const c=document.createComment(" INIZIO CODICE SEO "),l=document.createComment(" FINE CODICE SEO ");n.parentNode.insertBefore(c,n),r.parentNode.insertBefore(l,r.nextSibling)},200)}}),{loading:k,payload:b,data:a,status:y,calcolaDifferenza:D,dettaglioVideo:o,videoSrc:E,LINGUE:f}},computed:{mesiDiPubblicazione(){return this.data&&this.data.results&&this.data.results[0]?D(this.data.results[0].data):{}},language(){var m;return((m=window.location.pathname.match(/^\/([^\/]+)/))==null?void 0:m[1])==f.ITALIANO?f.ITALIANO:f.INGLESE}}},Y={key:0,class:"container"},J={class:"single-intro has-media",id:"article-intro"},K={class:"single-intro-spacer"},X={class:"article-title"},$={class:"article-summary"},ee={key:0,class:"obsolete-post-warning"},te={class:"article-info"},oe={class:"time"},se={class:"single-content",id:"article-content",style:{position:"relative"}},ae={class:"single-content-main"},ie={class:"single-media rich-text"},ne={class:"video"},re=["src","title"];function le(S,m,b,t,k,a){const y=p("gestione-errore"),o=p("router-link"),E=p("CondividiStickySide"),h=p("CarouselSponsorWidget"),i=p("SponsorList");return t.loading?C("",!0):(_(),g("div",Y,[t.status!=200?(_(),U(y,{key:0})):(_(),g(q,{key:1},[s("div",J,[s("div",K,[v(o,{to:a.language==t.LINGUE.INGLESE?"/en/video":"/it/video",class:"crumb"},{default:F(()=>[G("Video")]),_:1},8,["to"]),s("h1",X,w(t.dettaglioVideo.title),1),s("div",$,[a.mesiDiPubblicazione.diffInMesi>=6?(_(),g("p",ee," Questo contenuto è stato pubblicato "+w(a.mesiDiPubblicazione.label)+" fa. Potrebbe essere riferito ad un’edizione passata degli Internazionali d’Italia. ",1)):C("",!0)]),s("div",te,[s("span",oe,w(t.dettaglioVideo.formatted_date),1)])])]),s("div",se,[s("div",ae,[s("div",ie,[s("div",ne,[t.videoSrc?(_(),g("iframe",{key:0,src:t.videoSrc,title:t.dettaglioVideo.title||"Video YouTube",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
1 web-share",allowfullscreen:"",referrerpolicy:"strict-origin-when-cross-origin"},null,8,re)):C("",!0)])])]),v(E)])],64)),v(h),v(i)]))}const Ee=P(Q,[["render",le]]);export{Ee 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.