PageSourceSearch

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

js coterieseniorliving.com collected 2026-09-29 14:26:08 UTC 4,404 bytes, 1 lines download raw bytes

1import{_ as V}from"./BdMn5CsR.js";import{d as D,H as I,o as M,W as U,u as t,g as w,K as h,L as u,j,l as k,i,t as e,p as a,b as z,c as n,f as v}from"./CvG0wzej.js";import{g as E,b as G}from"./CJ3eqfSw.js";import{v as H,e as W}from"./CSSxz1HG.js";import{u as F}from"./BE6AkpVx.js";import{c as O}from"./DhR4oH-R.js";import"./KQsXDnc0.js";import"./a0KI0hBD.js";import"./CM1LkWja.js";import"./Cga8d3Ty.js";import"./DkTjT6lu.js";import"./BHebh01l.js";const R=["aria-label","onKeydown"],q=["aria-label"],J={class:a("community-card-short__community-photo spacing--is-mb-xxxsmall grid-item grid-item grid-item--is-4")},X=["srcset"],Y=["srcset"],Z=["srcset"],tt=["src","alt"],ot={class:"community-card-short__inner-content grid-item grid-item grid-item--is-8"},it={class:a("community-card-short__community-name copy copy--is-small copy--is-semi-bold spacing")},st={class:a("community-card-short__community-address spacing spacing--is-mb-xxsmall spacing--is-mt-xsmall")},et={class:"community-card-short__button-container"},at=D({__name:"CommunityCardShort",props:{community:{type:Object,default:()=>({})},communityId:{type:String,default:""},ariaLabel:{type:String,default:""},showCloseButton:{type:Boolean,default:!1},cardViewQuickLookText:{type:String,default:"Quick Look"},waitlistCopy:{type:String,default:"Waitlist starting at"},cardPerMonthText:{type:String,default:"/ month"},cardPricingPreambleText:{type:String,default:"Pricing starts at"}},emits:["launchQuickLook","closeCard"],async setup(r,{emit:P}){let m,g;const L=W(),S=F(),b=P,d=z("en"),$=H(),p=L.public.PACKAGE_NAME,s=r,{data:N}=([m,g]=I(()=>O(()=>s.communityId?[s.communityId]:[])),m=await m,g(),m),o=n(()=>s.communityId?N.value?.[0]??null:s.community??null);M(()=>{const c=$.path.split("/").find(_=>_.length===2);c&&(d.value=c)}),U(()=>s.community,()=>{o.value=s.community});function y(l){l.preventDefault(),l.stopPropagation(),b("closeCard")}function T(){b("launchQuickLook",o?.value?.communityNumber)}function f(){open(`${d.value==="en"?"":"/"+d.value}/${G[p]}/${o?.value?.communitySlug}`,"_blank")}const A=n(()=>S.backgroundColorClassGenerator("white")),B=n(()=>s.ariaLabel?`${s.ariaLabel} ${o?.value?.communityName}`:`View ${o?.value?.communityName}`),x=n(()=>E(o.value)),K=n(()=>x.value.formattedPrice),Q=n(()=>x.value.isWaitlist?s.waitlistCopy:s.cardPricingPreambleText),C=n(()=>{switch(p.toLowerCase()){case"asl":return"--is-font-primary";case"holiday":return"--is-font-secondary";default:return""}});return(l,c)=>{const _=V;return t(o)?(v(),w("div",{key:0,class:a(["community-card-wrapper radius--is-small",t(A)])},[r.showCloseButton?(v(),w("div",{key:0,class:"community-card-short__close-button",role:"button",tabindex:"0","aria-label":"Close "+t(o).communityName+" card",onClick:u(y,["stop"]),onKeydown:[h(u(y,["stop"]),["enter"]),h(u(y,["prevent","stop"]),["space"])]},[j(_,{icon:"close",iconColor:"text",iconSize:"xsmall"})],40,R)):k("",!0),i("article",{class:"community-card-short grid","aria-label":t(B),tabindex:"0",onKeydown:h(f,["enter"]),onClick:f},[i("div",J,[i("picture",null,[i("source",{srcset:t(o).communityPhotoUrl+"?tr=w-700,f-webp",media:"(min-width: 1200px)"},null,8,X),i("source",{srcset:t(o).communityPhotoUrl+"?tr=w-600,f-webp",media:"(min-width: 992px)"},null,8,Y),i("source",{srcset:t(o).communityPhotoUrl+"?tr=w-400,f-webp",media:"(min-width: 576px)"},null,8,Z),i("img",{class:"community-card-short__community-photo-img",loading:"lazy",src:t(o).communityPhotoUrl+"?tr=w-400,f-webp",alt:t(o).communityPhotoAltText,width:"700",height:"525"},null,8,tt)])]),i("div",ot,[i("div",it,e(t(o).communityName),1),i("p",{class:a(`community-card-short__starting-at-copy copy has-text-${t(p)}-secondary copy--is-xxsmall copy--is-semi-bold spacing--is-mt-xxsmall spacing--is-mb-xxsmall`)},e(t(Q))+" "+e(t(K))+" "+e(r.cardPerMonthText),3),i("div",st,[i("span",{class:a(`community-card-short__community-address1 copy copy--is-xsmall copy${t(C)}`)},e(t(o).streetAddress),3),c[0]||(c[0]=i("br",null,null,-1)),i("span",{class:a(`community-card-short__community-address2 copy copy--is-xsmall copy${t(C)}`)},e(t(o).city)+", "+e(t(o).countryDivision)+" "+e(t(o).postalCode),3)]),i("div",et,[i("button",{class:a(["community-card-short__button",{button:!0,"button--is-primary":!0}]),onClick:u(T,["stop"])},e(r.cardViewQuickLookText),1)])])],40,q)],2)):k("",!0)}}}),bt=Object.assign(at,{__name:"CommunityCardShort"});export{bt 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.