1import{u as P}from"./Dqv8l75-.js";import{u as z}from"./D6tmTR3q.js";import{_ as A}from"./D7MPUZXO.js";import{_ as I}from"./UAjQEIXZ.js";import{u as M,r as N}from"./gLVf8bOs.js";import{u as k,_ as O,z as j,y as _,r as E,L as F,c as i,o as r,b as C,a as e,g as J,t as m,F as y,e as S,q as V,O as W}from"./DpAt_SXf.js";import{g as B}from"./BQgyKLSv.js";import"./CkjoUWu0.js";import"./ngrFHoWO.js";import"./CotvSyC_.js";import"./CmTjb1wC.js";const D={meta:{title:"Wedding DJ Portfolio & Event Highlights in Amalfi Coast - Video Gallery",description:"Watch our wedding DJ performances and event highlights in exclusive Amalfi Coast venues. Featuring professional wedding entertainment videos and collaborations with luxury Italian venues.",keywords:"wedding dj videos, event highlights amalfi coast, luxury venue collaborations, wedding entertainment portfolio, professional dj showcase, amalfi coast venues, wedding music videos",image:"/images/header-showcase.webp",url:"/showcase"},schema:{"@context":"https://schema.org","@type":"CollectionPage",name:"Wedding DJ Portfolio & Event Highlights",description:"Professional wedding DJ performances and event highlights in the Amalfi Coast",provider:{"@type":"Organization",name:"Wedding Deejay",areaServed:{"@type":"Place",name:"Amalfi Coast",address:{"@type":"PostalAddress",addressRegion:"Campania",addressCountry:"IT"}}}}};function H(w=[],l=[]){const p=D.meta,v={...D.schema,video:w.map(o=>{var n,g,h,c,d,u;return{"@type":"VideoObject",name:o.name||"Wedding DJ Performance",description:o.description||"Professional wedding DJ performance in Amalfi Coast",thumbnailUrl:(h=(g=(n=o.pictures)==null?void 0:n.sizes)==null?void 0:g[0])==null?void 0:h.link,uploadDate:o.created_time,embedUrl:(u=(d=(c=o.embed)==null?void 0:c.html)==null?void 0:d.match(/src="([^"]+)"/))==null?void 0:u[1],publisher:{"@type":"Organization",name:"Wedding Deejay"}}}),about:{"@type":"ItemList",name:"Our Iconic Collaborations",itemListElement:l.map((o,n)=>({"@type":"ListItem",position:n+1,item:{"@type":"Organization",name:o.identifier,image:o.logo.url,url:o.url}}))}};k(B(p)),k({script:[{type:"application/ld+json",innerHTML:JSON.stringify(v)}]})}const R={class:"bg-third"},U={class:"container mx-auto py-24"},T={key:0,class:"flex justify-center items-center min-h-[200px]"},$={key:1,class:"text-center p-4 bg-red-100 rounded-lg"},q={class:"text-red-600"},G=["disabled"],K={key:2,class:"text-center p-4"},Q={key:3,class:"grid md:grid-cols-2 gap-8 lg:px-0 px-6"},Y={class:"video-embed w-full aspect-video rounded-lg overflow-hidden bg-black"},Z=["src","title"],X={class:"mt-4"},ee={class:"text-gray-900 font-semibold text-lg mb-2"},te={class:"text-gray-600 text-sm mb-3 line-clamp-3"},se={class:"flex items-center gap-4 text-sm text-gray-500"},oe={class:"flex items-center gap-1"},ae={class:"flex items-center gap-1"},ie={class:"bg-secondary"},re={class:"container mx-auto py-24 lg:px-0 px-6"},ne={key:0,class:"grid lg:grid-cols-4 md:grid-cols-2 grid-cols-1 gap-6 py-12"},le=["href"],ce=["src","alt"],de={__name:"showcase",async setup(w){let l,p;const v=P(),o=z(),{data:n,pending:g,error:h}=([l,p]=j(async()=>M("showcase",async()=>{try{const[t,a]=await Promise.all([v.getVideos("UCbsFSdZDpD2vCNHD6Vyf-PQ",20),o.getLocations()]);return{videos:t.data||[],locations:a||[]}}catch(t){throw console.error("Errore nel caricamento dei dati showcase:",t),W({message:"Si è verificato un errore nel caricamento dei video. Riprova più tardi."})}})),l=await l,p(),l),c=_(()=>{var t;return((t=n.value)==null?void 0:t.videos)??[]}),d=_(()=>{var t;return((t=n.value)==null?void 0:t.locations)??[]}),u=_(()=>h.value),f=E(!1),x=()=>{H(c.value,d.value)};x(),F(n,()=>{x()},{deep:!0});const b=t=>t?t>=1e6?(t/1e6).toFixed(1)+"M":t>=1e3?(t/1e3).toFixed(1)+"K":t.toString():"0",L=async()=>{f.value=!0,await N("showcase"),f.value=!1};return(t,a)=>(r(),i(y,null,[C(I,{title:"Showcase",image:"header-showcase"}),e("section",R,[e("div",U,[J(g)?(r(),i("div",T,[C(A)])):u.value?(r(),i("div",$,[e("p",q,m(u.value.message),1),e("button",{onClick:L,class:"mt-2 px-4 py-2 bg-red-500 text-white rounded hover:bg-red-600",disabled:f.value}," Retry ",8,G)])):c.value.length?(r(),i("div",Q,[(r(!0),i(y,null,S(c.value,s=>(r(),i("div",{key:s.video_id,class:"w-full"},[e("div",Y,[e("iframe",{src:`https://www.youtube.com/embed/${s.video_id}`,title:s.title,frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
1 web-share",referrerpolicy:"strict-origin-when-cross-origin",allowfullscreen:"",class:"w-full h-full"},null,8,Z)]),e("div",X,[e("h3",ee,m(s.title),1),e("p",te,m(s.description),1),e("div",se,[e("div",oe,[a[1]||(a[1]=e("svg",{class:"w-4 h-4",fill:"currentColor",viewBox:"0 0 20 20"},[e("path",{d:"M10 12a2 2 0 100-4 2 2 0 000 4z"}),e("path",{"fill-rule":"evenodd",d:"M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z","clip-rule":"evenodd"})],-1)),e("span",null,m(b(s.view_count))+" views",1)]),e("div",ae,[a[2]||(a[2]=e("svg",{class:"w-4 h-4",fill:"currentColor",viewBox:"0 0 20 20"},[e("path",{"fill-rule":"evenodd",d:"M3.172 5.172a4 4 0 015.656 0L10 6.343l1.172-1.171a4 4 0 115.656 5.656L10 17.657l-6.828-6.829a4 4 0 010-5.656z","clip-rule":"evenodd"})],-1)),e("span",null,m(b(s.like_count))+" likes",1)])])])]))),128))])):(r(),i("div",K,[...a[0]||(a[0]=[e("p",null,"No videos available at the moment.",-1)])]))])]),e("section",ie,[e("div",re,[a[3]||(a[3]=e("div",{class:"text-center"},[e("h2",{class:"font-montserrat text-4xl font-black text-white"},"Our Iconic Collaborations"),e("p",{class:"font-montserrat text-lg text-gray-200"}," Discover the magic of our recent events. "),e("p",{class:"font-montserrat text-lg text-gray-200"}," Click on any venue to explore featured videos from our Instagram page. ")],-1)),d.value.length?(r(),i("div",ne,[(r(!0),i(y,null,S(d.value,s=>(r(),i("div",{key:s.indentifier},[e("a",{href:s.url,target:"_blank",class:"block"},[e("img",{src:s.logo.url,alt:s.identifier,class:"w-[200px] h-auto mx-auto"},null,8,ce)],8,le)]))),128))])):V("",!0)])])],64))}},be=O(de,[["__scopeId","data-v-6a5aa2e3"]]);export{be 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.