PageSourceSearch

https://sallinggroup.com/_nuxt/MediaHero.C8P3mF50.js

js sallinggroup.com collected 2026-09-24 09:48:07 UTC 2,742 bytes, 1 lines download raw bytes

1import{_ as z}from"./UiVideo.vue.3aVUXeO1.js";import{_ as N}from"./UiImageHero.vue.B4qmnOMM.js";import{_ as R}from"./UiPhotoCredit.vue.DRor7R4P.js";import{_ as A}from"./UiCorner.vue.DldYtHjC.js";import{d as H,A as M,r as q,l as L,Q as O,a1 as P,b as m,f as t,g as e,i as a,m as w,e as i,n as v,y as S,q as T,o,p as Q,t as W}from"./entry.SA0OsS3s.js";import{_ as j}from"./UiCTA.vue.FQoGQqaI.js";import{_ as F}from"./UiPlay.vue.CgXgPLQF.js";import{u as G}from"./useDrawer.BOebVybd.js";import{c as J}from"./states.CNDvaHbm.js";import{d as K}from"./debounce.DB-QnjhI.js";import"./index.DvHfnKhk.js";import"./composables.BpH_z0rV.js";import"./nuxt-link.BAkS_7go.js";import"./UiButton.vue.C0ef3HHR.js";const X={key:0,class:"max-w-screen-2xl w-full mx-auto"},Y={class:"grid items-end"},Z={class:"relative row row-start-1 row-end-3 col-start-1 col-end-3 self-stretch max-w-full overflow-hidden"},ee={key:0,class:"aspect-15-7 overflow-hidden hidden lg:block"},te={class:"relative row-start-1 row-end-3 col-start-1 col-end-3 mb-10 sm:ml-4 sm:mb-6 lg:mb-20 xl:ml-0 text-white self-end"},oe={class:"container"},se={key:1,class:"flex gap-x-9 gap-y-6 mt-10 lg:mt-16 flex-col sm:flex-row"},xe=H({__name:"MediaHero",props:{node:{},index:{}},setup(r){const l=r,{image:n,cta:d,videoId:s,title:u}=M(l.node),{setDrawerOpen:x,possibleDrawerStates:y}=G(),g=y.VIDEO_DRAWER,k=J(),b=()=>{s!=null&&s.value&&(k.value=s.value,x({id:g,open:!0}))},_=q(!1),p=()=>{_.value=window.matchMedia("(min-width: 1024px)").matches},f=K(p,200),c=L(()=>!!l.node.autoplay&&!!l.node.videoId);return O(()=>{p(),window.addEventListener("resize",f)}),P(()=>{window.removeEventListener("resize",f)}),(D,ae)=>{var h;const C=z,U=N,V=R,$=A,B=T,E=j,I=F;return e(n)?(o(),m("div",X,[a("div",Y,[a("div",Z,[e(c)?(o(),m("div",ee,[_.value?(o(),i(C,{key:0,"video-id":e(s),isBackground:!0,"auto-play":!0,quality:"360p",class:"!w-full"},null,8,["video-id"])):t("",!0)])):t("",!0),w(U,{class:v(e(c)?"lg:hidden":""),src:e(n).src,alt:e(n).alt,"add-overlay":!0,preload:r.index<=1,loading:r.index<=1?"eager":"lazy"},null,8,["class","src","alt","preload","loading"]),e(n).photoCredit?(o(),i(V,{key:1,credit:e(n).photoCredit,class:v(["absolute right-0 bottom-0",{"block lg:hidden":e(c)}])},null,8,["credit","class"])):t("",!0),w($)]),a("div",te,[a("div",oe,[e(u)?(o(),i(B,{key:0,headline:e(u),tag:r.index===0?"h1":"h3",class:"text-display1-sm lg:text-display1"},null,8,["headline","tag"])):t("",!0),e(d)||e(s)?(o(),m("div",se,[a("div",null,[(h=e(d))!=null&&h.url?(o(),i(E,{key:0,cta:e(d)},null,8,["cta"])):t("",!0)]),a("div",null,[e(s)?(o(),i(I,{key:0,color:"text-primary",onClick:b},{default:S(()=>[Q(W(D.$t("play_button_label")),1)]),_:1})):t("",!0)])])):t("",!0)])])])])):t("",!0)}}});export{xe 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.