PageSourceSearch

https://www.coterieseniorliving.com/_nuxt/DF2z20HP.js

js coterieseniorliving.com collected 2026-09-29 14:23:53 UTC 3,202 bytes, 1 lines download raw bytes

1import{_ as C}from"./BdMn5CsR.js";import L from"./BQLoaLsa.js";import _ from"./CgcJoydG.js";import{d as w,e as B,w as P,f as l,i as n,K as m,L as b,u as i,M as x,p as h,g as d,l as u,j as g,t as T,b as y,c as S}from"./CvG0wzej.js";import N from"./CwCvJ9JX.js";import{n as M}from"./CSSxz1HG.js";import"./Cga8d3Ty.js";const O=["tabindex","role","onKeydown"],$=["src"],D=["aria-label"],j={class:"brand-home-hero__caption"},z={class:"brand-home-hero__row"},H=["target","href"],I=w({__name:"CoterieBrandHero",props:{...N,image:{type:Object,default:()=>({source:""})},hasDarkOverlay:{type:Boolean,default:!1},video:{type:Object,default:()=>({source:""})},title:{type:String},titleTag:{type:String,default:"h1"},titleStyleLevel:{type:String,default:"1"},ctaText:{type:String},ctaLink:{type:String},hasTopBorder:{type:Boolean},allowBackgroundClick:{type:Boolean,default:!1},newTab:{type:Boolean,default:!1}},setup(e){const o=e,r=y(null),a=y(!1),s=S(()=>o.allowBackgroundClick&&o.ctaLink);async function c(t){o.ctaLink&&o.allowBackgroundClick&&(t?.stopPropagation(),await M(o.ctaLink,{open:{target:o.newTab?"_blank":"_self"},external:!0}))}function f(){r.value&&(a.value?r.value.play():r.value.pause(),a.value=!a.value)}return(t,K)=>{const v=C,k=L,p=_;return l(),B(p,{className:`brand-home-hero ${t.className}${e.hasTopBorder?" brand-home-hero--border":""}${e.video?.source?.length?" brand-home-hero--video":""}`,bottomMargin:t.bottomMargin,bottomPadding:t.bottomPadding,topPadding:t.topPadding,extraContainerClassName:t.extraContainerClassName,componentId:t.componentId,topLine:t.topLine,bottomLine:t.bottomLine,allowMaxWidth:!0},{default:P(()=>[n("div",{class:h(["brand-home-hero__background-container",{"brand-home-hero__background-container--is-clickable":i(s)}]),style:x(`background: url(${e.image.source})${e.hasDarkOverlay?", rgba(32, 34, 34, 0.5)":""}; background-repeat: no-repeat; background-size: cover;`),tabindex:i(s)?0:-1,role:i(s)?"link":"generic",onClick:c,onKeydown:[m(c,["enter"]),m(b(c,["prevent"]),["space"])]},[e.video?.source?.length?(l(),d("video",{key:0,ref_key:"videoRef",ref:r,autoplay:"","webkit-playsinline":"",playsinline:"",muted:"",loop:""},[n("source",{src:e.video.source,type:"video/mp4"},null,8,$)],512)):u("",!0),e.video?.source?.length?(l(),d("button",{key:1,class:"brand-home-hero__pause-button",onClick:b(f,["stop"]),"aria-label":i(a)?"Play video":"Pause video"},[g(v,{iconSize:"xxlarge",iconColor:"light",icon:i(a)?"circlePlay":"circlePause"},null,8,["icon"])],8,D)):u("",!0),n("div",{class:h({"brand-home-hero__overlay":e.video?.source?.length>0&&e.hasDarkOverlay})},[n("div",j,[n("div",z,[g(k,{text:e.title,tag:e.titleTag,styleLevel:e.titleStyleLevel,extraClass:"brand-home-hero__title"},null,8,["text","tag","styleLevel"]),e.ctaLink&&e.ctaText?(l(),d("a",{key:0,class:"button button--is-primary button--is-solid-pulse button--is-solid-pulse-hover button--is-primary-hover",target:e.newTab?"_blank":"_self",href:e.ctaLink},T(e.ctaText),9,H)):u("",!0)])])],2)],46,O)]),_:1},8,["className","bottomMargin","bottomPadding","topPadding","extraContainerClassName","componentId","topLine","bottomLine"])}}}),A=Object.assign(I,{__name:"CoterieBrandHero"});export{A 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.