PageSourceSearch

https://www.buildings.com/_nuxt/WebViafouraCommenting-giWj58OH.mjs

js buildings.com collected 2026-10-02 05:07:19 UTC 2,268 bytes, 1 lines download raw bytes

1import{a as e}from"./nuxt-Dw3LQvcO.mjs";import{A as t,D as n,E as r,H as i,Ht as a,Ln as o,Mn as s,N as c,Ot as l,P as u,Pt as d,Zt as f,h as p,it as m,kt as h,l as g,o as _,tt as v,un as y}from"./vue.runtime.esm-bundler-DK-ieOMu.mjs";import{n as b}from"./head-ktf-j9Gb.mjs";import{a as x,i as S,r as C}from"./useOneTrust-GtMgF_Lo.mjs";import{u as w}from"./graphql-spR_bC68.mjs";import{t as T}from"./ClickEventTrigger-DgTvqUpW.mjs";import{f as E,n as D}from"#entry";d(),i(),_(),y();var O=[`id`],k=[`vf-container-id`],A={class:`button`},j=[`href`],M={__name:`WebViafouraCommenting`,props:{containerId:{type:Number,required:!0},gatedMemberships:{type:Array,default:()=>null}},setup(i){g(e=>({v120f9e58:f(I)}));let{isTrayVisible:d}=C(),{trackRegistration:_}=S(),y=i;b({meta:[{name:`vf:container_id`,content:y.containerId}]});let{$ss:M}=e(),{remountVfWidgets:N}=C(),P=a(!1),F=r(()=>({width:`100%`,"--accent-color-light":M.colors.primary.main,"--accent-color":M.colors.primary.main,"--accent-color-dark":M.colors.primary.main,"--text-on-accent-color":`#eeeeee`})),I=r(()=>d.value?`inherit`:`none`);async function L(){await _(w.ClickCommentJoinLink),await x.goToJoinPage(y.gatedMemberships)}return v(()=>{P.value=x.isLoggedIn(),N()}),(e,r)=>{let a=E,d=T;return m(),t(`div`,{style:s(f(F))},[u(f(D),null,{default:l(()=>[n(`div`,{id:`vf-conversations-container-${i.containerId}`,class:`viafoura`},[n(`vf-conversations`,{"vf-container-id":i.containerId},null,8,k)],8,O)]),_:1}),h(n(`div`,{class:`comment-gate`,style:s({borderRadius:f(M).general.roundedCorners?`0 24px`:`0`})},[n(`h3`,null,` To join the conversation, and become an exclusive member of `+o(f(M).tenantInfo.name)+`, create an account today! `,1),n(`div`,A,[u(a,{size:`medium`,onClick:L},{default:l(()=>[c(o(f(M)?.memberships?.overrideRegisterButtonLabel&&f(M)?.memberships?.registerButtonLabel!==``?f(M)?.memberships?.registerButtonLabel:`Join today!`),1)]),_:1}),n(`div`,{class:`login`,style:s({color:`var(--color-primary-main)`,fontFamily:f(M).general.primaryFontFamily})},[u(d,{event:()=>f(_)(f(w).ClickCommentLoginLink)},{default:l(()=>[n(`a`,{href:(`useSiteUser`in e?e.useSiteUser:f(x)).getLoginLink()},` I already have an account `,8,j)]),_:1},8,[`event`])],4)])],4),[[p,!f(P)]])],4)}}};export{M 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.