PageSourceSearch

https://www.ui.torino.it/_next/static/chunks/8013.81863178d5c510b3.js

js ui.torino.it collected 2026-10-02 04:19:16 UTC 3,083 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8013],{8013:(e,t,a)=>{a.r(t),a.d(t,{ViaFantiLabPage:()=>h});var i=a(6029),r=a(87755),n=a(42972),l=a(55729),o=a(1492),s=a(16611),d=a(49300),c=a(39490),u=a(93655);let p=[{text:"Home",url:"/"},{text:"Podcast di Via Fanti Lab",url:""}],g=e=>{if(!e)return null;let t=e.trim();if(!t)return null;if(/^[a-zA-Z0-9_-]{11}$/.test(t))return t;for(let e of[/youtube\.com\/embed\/([a-zA-Z0-9_-]{11})/i,/youtube\.com\/watch\?[^"']*v=([a-zA-Z0-9_-]{11})/i,/youtu\.be\/([a-zA-Z0-9_-]{11})/i,/youtube\.com\/v\/([a-zA-Z0-9_-]{11})/i,/\/embed\/([a-zA-Z0-9_-]{11})/i]){let a=t.match(e);if(null==a?void 0:a[1])return a[1]}return null},m=e=>{var t,a;return g(e.field_external_id)||g(null==(t=e.body)?void 0:t.value)||g(null==(a=e.body)?void 0:a.processed)},h=()=>{let[e,t]=(0,l.useState)([]),[a,g]=(0,l.useState)(!1),[h,f]=(0,l.useState)(0),[b,v]=(0,l.useState)(0),[x]=(0,l.useState)(12),y=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;g(!0);try{let a=new URLSearchParams({page:e.toString(),items_per_page:x.toString()}),i=await fetch("/api/multimedia/via-fanti-lab?".concat(a.toString())),r=await i.json();t(r.data),f(parseInt(r.count)),v(e)}catch(e){console.error("❌ Errore nel caricamento via fanti lab:",e),t([]),f(0)}finally{g(!1)}};return(0,l.useEffect)(()=>{y()},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.g,{children:(0,i.jsxs)(r.A,{sx:{pt:3,pb:2},children:[(0,i.jsx)(d.U,{pageTitle:"Podcast di Via Fanti Lab",items:p}),(0,i.jsx)(n.A,{variant:"h3",sx:{mt:2,color:"primary.main",fontWeight:"bold"},children:"Podcast di Via Fanti Lab"})]})}),(0,i.jsxs)(o.g,{children:[(0,i.jsx)(r.A,{sx:{py:4},children:(0,i.jsx)(u.p,{media:e,loading:a,totalCount:h,currentPage:b,itemsPerPage:x,onPageChange:e=>{y(e)},transformToMediaData:e=>{var t,a;
1let i=new Date(e.field_date.value),r=e.title.replace(/\\n/g," ").replace(/\/n/g," ").replace(/\n/g," ").replace(/\s+/g," ").trim(),n=m(e),l=n?"https://img.youtube.com/vi/".concat(n,"/hqdefault.jpg"):void 0;return{id:e.id,drupalId:e.id,title:r,description:(null==(t=e.field_description)?void 0:t.processed)||(null==(a=e.body)?void 0:a.processed)||"",imageUrl:l,bannerUrl:l,inEvidenza:!1,area:"",path:e.path.alias,created:e.field_date.value,formattedDate:i.toLocaleDateString("it-IT",{day:"2-digit",month:"long",year:"numeric"}).toUpperCase()}},handleViewMore:e=>{window.open(e.path,"_blank","noopener,noreferrer")},CardComponent:c.I,emptyMessage:"Nessun podcast trovato",loadingMessage:"Caricamento podcast..."})}),(0,i.jsxs)(r.A,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:2,pb:5},children:[h>14&&(0,i.jsx)(n.A,{variant:"body2",sx:{color:"#637381",textAlign:"center"},children:"Stai visualizzando gli ultimi 15 episodi. I video precedenti sono disponibili sul nostro canale YouTube."}),(0,i.jsx)(s.R,{href:"https://www.youtube.com/playlist?list=PL_GxAx0RWHgVgCBBAMS75drZ247u7OQNF",target:"_blank",rel:"noopener noreferrer",variant:"filled",color:"primary",size:"small",children:"VISITA IL NOSTRO PODCAST SU YOUTUBE"})]})]})]})}}}]);

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.