PageSourceSearch

https://pininfarina.it/_nuxt/index.DDVoAfm3.js

js pininfarina.it collected 2026-09-24 17:48:29 UTC 5,164 bytes, 1 lines download raw bytes

1import{_ as H,C as D,a1 as y,a2 as I,F as S,p as j,e as d,h as _,x as q,l as n,Q as L,f as B,L as C,j as g,v as w,y as R,X as E,af as O,D as V,E as A,u as F,w as h,q as M,c as U,o as z,a as G,b as J,d as Q,g as p,k,m as W,n as X,P as K}from"./entry.C1lcUavs.js";import{S as Y}from"./Project.BJqIy0yf.js";import{S as Z}from"./ScrollToPlugin.BTW0wQox.js";import{_ as ee}from"./MainContent.BxJnCnUt.js";import{_ as te,a as oe}from"./PardotGeneral.DCXLLaKR.js";import{_ as ae,m as se}from"./footerCtas.-5cyie9n.js";import{u as ne}from"./useRecaptcha.HYZ_1Pih.js";import{u as re}from"./index.COrjwyK0.js";import{u as ie}from"./mediahubStore.DihA6nXZ.js";import{u as ce}from"./modalStore.BmtL4ThZ.js";import"./Image.DL89YwNj.js";import"./useDateFormatter.PSbuNZzr.js";import"./ComposableContent.BHN_5l25.js";import"./Resource.B2baoCtP.js";import"./useEndpoint.Cmu8aAzu.js";const le=r=>(V("data-v-02c2070c"),r=r(),A(),r),ue={class:"hero-content"},de={key:0,class:"hero-content-nav animate-in-stagger-bottom animate-out-right"},me={class:"hero-content-top"},pe={class:"hero-title animate-in-bottom animate-out-left"},_e={class:"hero-subtitle-wrapper animate-in-bottom animate-out-right"},ge=["innerHTML"],fe={class:"hero-content-bottom"},he=le(()=>n("div",{class:"menu-link-btn btn btn--round-small btn--round-light"},[n("svg",{class:"icon icon--btn-round-small icon--rotate-90"},[n("use",{"xlink:href":"#icon-arrow"})])],-1)),ve={__name:"Hero",props:{color:{type:String,default:"dark",validator(r){return["dark","light"].includes(r)}},content:{type:Object,required:!0},goBack:{type:Boolean,default:!1},internalNav:{type:Object,required:!1},layout:{type:Number,default:1,validator(r){return r>=0&&r<=2}},logout:{type:Boolean,default:!1},pattern:{type:Boolean,default:!1}},setup(r){D(),y.registerPlugin(Z);const t=r;I(t.content.section);const i=S();function m(e){const c=e.target.dataset.scroll;y.to(window,{duration:.6,scrollTo:c,ease:"power2.inOut"})}const l=j();function v(e){return e==="dark"?"light":"dark"}const b=Y();let u="";return t.internalNav&&t.internalNav.menu_items.forEach(e=>{l.params.sectorSlug?u=l.params.sectorSlug:l.params.serviceSlug?u=l.params.serviceSlug:u=l.path.split("/").pop(),b(e.label)===u&&(i.value=e.label)}),S(),S(),(e,c)=>{const f=O;return d(),_(E,null,{default:q(()=>[n("section",{class:L(["hero hero--general",["hero--"+t.color]])},[n("div",ue,[t.goBack||t.logout||t.internalNav?(d(),B("div",de,[t.goBack?(d(),_(f,{key:0,class:"animate-stagger-item",label:e.$t("go_back"),direction:"left",position:"left",url:"",onClick:c[0]||(c[0]=C($=>e.$router.back(),["prevent"])),color:v(t.color)},null,8,["label","color"])):g("",!0),t.logout?(d(),_(f,{key:1,class:"animate-stagger-item",label:e.$t("logout"),direction:"left",position:"left",url:"",onClick:c[1]||(c[1]=C(()=>{},["prevent"])),color:v(t.color)},null,8,["label","color"])):g("",!0)])):g("",!0),n("div",me,[n("h1",pe,w(t.content.section.title),1),n("div",_e,[n("div",{class:"hero-subtitle",innerHTML:t.content.section.description},null,8,ge)])]),n("div",fe,[n("div",{"data-scroll":"#content",class:"cta cta--light sensible animate-in-fade-early animate-out-left",onClick:m},[R(w(e.$t("discover_more"))+" ",1),he])])])],2)]),_:1})}}},be=H(ve,[["__scopeId","data-v-02c2070c"]]),Se=n("div",{class:"scroll-target",id:"content"},null,-1),qe={__name:"index",async setup(r){let t,i;const{locale:m}=F();try{([t,i]=h(()=>ie()),t=await t,i(),t).getSalesforceLogin&&(m.value==="en"?([t,i]=h(()=>M("/media-hub/hq-resources")),await t,i()):([t,i]=h(()=>M("/"+m.value+"/media-hub/hq-resources")),await t,i()))}catch(o){console.error("Error fetching data:",o.message)}const l=K();let b=W().public.apiBase+m.value+"/pages/mediahub.json";const{fetchedData:u}=([t,i]=h(()=>X(b)),t=await t,i(),t),e=U(()=>u.value?l.generalPage(u.value):null),{injectScriptRecaptcha:c,deleteScriptRecaptcha:f}=ne();return z(()=>{c(),G()}),J(()=>{f()}),Q({title:()=>{var o,s,a;return((s=(o=e.value)==null?void 0:o.section.seo)==null?void 0:s.title)||((a=e.value)==null?void 0:a.section.title)||""},meta:[{name:"description",content:()=>{var o,s,a;return((s=(o=e.value)==null?void 0:o.section.seo)==null?void 0:s.description)||((a=e.value)==null?void 0:a.section.description)||""}}],bodyAttrs:{class:"page page--media-hub"}}),re({ogTitle:()=>{var o,s,a;return((s=(o=e.value)==null?void 0:o.section.seo)==null?void 0:s.title)||((a=e.value)==null?void 0:a.section.title)||""},description:()=>{var o,s,a;return((s=(o=e.value)==null?void 0:o.section.seo)==null?void 0:s.description)||((a=e.value)==null?void 0:a.section.description)||""},ogDescription:()=>{var o,s,a;return((s=(o=e.value)==null?void 0:o.section.seo)==null?void 0:s.description)||((a=e.value)==null?void 0:a.section.description)||""},ogImage:()=>{var o;return`${(o=e.value)==null?void 0:o.section.seo.image}`},twitterCard:"summary_large_image"}),ce().setCurrentPage("mediahub-page"),(o,s)=>{const a=be,N=ee,P=te,T=oe,x=ae;return d(),B("div",null,[p(e)?(d(),_(a,{key:0,content:p(e)},null,8,["content"])):g("",!0),Se,p(e)?(d(),_(N,{key:1,content:p(e)},null,8,["content"])):g("",!0),k(P,{content:p(se)[p(m)]},null,8,["content"]),k(T),k(x)])}}};export{qe 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.