PageSourceSearch

https://identity-style-chronicle.lovable.app/assets/articolo._slug-BebKUpIq.js

js identity-style-chronicle.lovable.app collected 2026-10-03 03:29:18 UTC 5,726 bytes, 1 lines download raw bytes

1import{C as v,d as m,e as b,j as e,h as d,L as c,E as j,l as N,M as i}from"./index-Be-Y2S-r.js";function y(t){return/youtube\.com|youtu\.be|vimeo\.com/i.test(t)}function w(t){const r=t.trim(),n=r.match(/(?:youtube\.com\/(?:watch\?v=|embed\/|shorts\/)|youtu\.be\/)([\w-]{6,})/i);if(n)return`https://www.youtube.com/embed/${n[1]}`;const s=r.match(/vimeo\.com\/(?:video\/)?(\d+)/i);return s?`https://player.vimeo.com/video/${s[1]}`:r}function F(){const t=m();return e.jsxs("div",{className:"container-editorial py-32 text-center",children:[e.jsx("h1",{className:"font-serif text-4xl",children:t("article.notFound")}),e.jsx(c,{to:"/",className:"mt-6 inline-flex editorial-link uppercase tracking-[0.22em] text-[11px]",children:t("article.backHome")})]})}function C({article:t}){const r=v[t.category],n=i.startsWith("http"),s=m(),{title:l,subtitle:x,body:u,category:p,galleryCaption:g,videoCaption:h,isTranslating:f}=b(t);return e.jsxs("article",{className:"bg-background",children:[t.slug==="bocelli-potere-musica"?e.jsx("div",{className:"w-full bg-black flex justify-center items-center overflow-hidden",children:e.jsx("img",{src:t.image,alt:l,className:"max-h-[85vh] max-w-full object-contain kenburns"})}):e.jsxs("div",{className:"relative w-full aspect-[16/9] md:aspect-[21/9] overflow-hidden bg-muted",children:[e.jsx("img",{src:t.image,alt:l,className:"absolute inset-0 h-full w-full object-cover kenburns"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-foreground
1/55 via-foreground/10 to-transparent"})]}),e.jsx("header",{className:"container-editorial pt-12 md:pt-16 max-w-3xl",children:e.jsxs(d,{children:[e.jsx("div",{className:"flex items-center gap-4 text-[10.5px] uppercase tracking-[0.22em]",children:e.jsx(c,{to:r,className:"text-gold hover:text-foreground transition-colors",children:p})}),e.jsx("h1",{className:"mt-6 font-serif text-4xl md:text-6xl leading-[1.05]",children:l}),e.jsx("p",{className:"mt-6 text-lg md:text-xl leading-relaxed text-muted-foreground font-light",children:x}),e.jsxs("div",{className:"mt-8 flex items-center gap-3 text-[11px] uppercase tracking-[0.22em] text-foreground",children:[e.jsx("span",{className:"rule-gold"}),e.jsxs("span",{children:[s("article.by")," ",t.author]}),f&&e.jsx("span",{className:"text-muted-foreground normal-case tracking-normal text-[11px]",children:"…"})]})]})}),e.jsxs("div",{className:"container-editorial mt-12 md:mt-16 max-w-3xl",children:[e.jsx("div",{className:"space-y-7 text-[17px] leading-[1.75] text-foreground/90 font-light",children:u.map((a,o)=>e.jsx("p",{children:a},o))}),t.videoUrl&&t.videoUrl.trim()!==""&&e.jsxs("figure",{className:"mt-12 space-y-3",children:[y(t.videoUrl)?e.jsx("div",{className:"relative w-full aspect-video overflow-hidden bg-black",children:e.jsx("iframe",{src:w(t.videoUrl),title:l,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,loading:"lazy",className:"absolute inset-0 h-full w-full border-0"})}):e.jsx("div",{className:"overflow-hidden bg-black",children:e.jsx("video",{src:t.videoUrl,controls:!0,playsInline:!0,preload:"metadata",className:"w-full h-auto"})}),t.videoCaption&&e.jsx("figcaption",{className:"text-[12px] uppercase tracking-[0.22em] text-muted-foreground text-center",children:h||t.videoCaption})]}),t.videoFile&&e.jsxs("figure",{className:"mt-12 space-y-3",children:[e.jsx("div",{className:"overflow-hidden bg-black",children:e.jsx("video",{src:t.videoFile.src,poster:t.videoFile.poster,controls:!0,playsInline:!0,preload:"metadata",className:"w-full h-auto"})}),t.videoFile.caption&&e.jsx("figcaption",{className:"text-[12px] uppercase tracking-[0.22em] text-muted-foreground text-center",children:t.videoFile.caption})]}),t.gallery&&t.gallery.length>0&&e.jsx("div",{className:"mt-14 space-y-10",children:t.gallery.map((a,o)=>e.jsxs(d,{as:"figure",className:"space-y-3",children:[e.jsx("div",{className:"overflow-hidden bg-muted hover-zoom",children:e.jsx("img",{src:a.src,alt:a.alt??l,loading:"lazy",className:"w-full h-auto object-cover"})}),a.caption&&e.jsx("figcaption",{className:"text-[12px] uppercase tracking-[0.22em] text-muted-foreground text-center",children:g(o,a.caption)})]},o))}),t.listenUrl&&e.jsx("div",{className:"mt-14 flex justify-center",children:e.jsxs("a",{href:t.listenUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-3 bg-foreground px-8 py-4 text-[11px] font-medium uppercase tracking-[0.22em] text-background transition-all hover:bg-gold hover:text-foreground",children:[s("article.listenSong"),e.jsx(j,{className:"h-3.5 w-3.5",strokeWidth:1.5})]})}),e.jsx("div",{className:"mt-16 flex justify-center",children:e.jsx("img",{src:N,alt:"Identity Style",className:"h-10 w-auto opacity-60"})}),!t.hideMagazineCta&&e.jsxs("div",{className:"mt-12 mb-24 flex flex-col items-center gap-5 border-t border-border pt-12",children:[e.jsx("span",{className:"eyebrow",children:s("article.continueReading")}),e.jsx("h2",{className:"font-serif text-2xl md:text-3xl text-center max-w-xl",children:s("article.fullOnMagazine")}),n?e.jsx("a",{href:i,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-3 bg-foreground px-8 py-4 text-[11px] font-medium uppercase tracking-[0.22em] text-background transition-all hover:bg-gold hover:text-foreground",children:s("article.readFull")}):e.jsx(c,{to:i,className:"inline-flex items-center gap-3 bg-foreground px-8 py-4 text-[11px] font-medium uppercase tracking-[0.22em] text-background transition-all hover:bg-gold hover:text-foreground",children:s("article.readFull")})]}),t.hideMagazineCta&&e.jsx("div",{className:"mb-24"})]})]})}export{C as ArticlePage,F as notFoundComponent};

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.