1import{a as Q}from"./chunk-FLVWBXL2.js";import{B as Y,f as N,o as A,v as B}from"./chunk-3UBCR55S.js";import"./chunk-HD7VBFP2.js";import"./chunk-YTGP5AAQ.js";import"./chunk-WVCJAPZC.js";import{Ab as y,Ca as l,Cb as T,Ha as c,Pa as I,Qa as F,Ra as o,Sa as i,T as u,Ta as f,Tb as $,Ua as O,Ub as L,Va as P,Z as E,Zb as j,_ as g,bb as _,bc as H,kc as U,lb as a,mb as w,mc as d,n as b,nb as D,ta as M,ua as m,va as S,xb as v,zb as k}from"./chunk-XI3XFPZ6.js";import{a as x,b as C,g as q}from"./chunk-6QEI7AAA.js";var h=q(Q());var Z=(e,t)=>t.id,G=e=>["/events",e],K=e=>["/member-directory",e];function V(e,t){e&1&&(o(0,"section",13)(1,"div",14)(2,"p",15),a(3," The Fairview Chamber of Commerce is seeking an Executive Director to manage the day-to-day operations of Chamber business. The Executive Director will work closely with the Board of Directors to promote the Chamber\u2019s mission and vision. "),i(),o(4,"a",16),a(5,"Executive Director Application"),i()()())}function X(e,t){if(e&1&&(o(0,"span",25),a(1),i()),e&2){let r=_().$implicit;m(),D(" to ",r.to,"")}}function ee(e,t){if(e&1&&(o(0,"li",23)(1,"strong",24)(2,"span",25),a(3),i(),l(4,X,2,1,"span",26),i(),o(5,"a",27),a(6),i()()),e&2){let r=t.$implicit;m(3),w(r.when),m(),c("ngIf",r.to),m(),c("routerLink",v(4,G,r.id)),m(),w(r.title)}}function te(e,t){if(e&1&&(o(0,"div",18)(1,"div",19)(2,"h4",20),a(3,"Upcoming Events"),i(),o(4,"ul",21),l(5,ee,7,6,"li",22),i()()()),e&2){let r=_().$implicit;m(5),c("ngForOf",r)}}function ne(e,t){if(e&1&&(O(0),l(1,te,6,1,"div",17),P()),e&2){let r=t.$implicit;m(),c("ngIf",r.length>0)}}function ie(e,t){if(e&1&&(o(0,"a",12),f(1,"img",28),i()),e&2){let r=t.$implicit;c("routerLink",v(2,K,r.id)),m(),c("src",r.logo,M)}}function oe(e,t){e&1&&(o(0,"div",29),f(1,"app-spinner"),i())}var J=(()=>{let t=class t{constructor(s){this.afs=s,this.platinums$=this.afs.collection("directory",n=>n.where("platinum","==",!0)).valueChanges({idField:"id"}).pipe(b(n=>n.sort((p,W)=>p.name.toLowerCase()>=W.name.toLowerCase()?1:-1)))}ngOnInit(){this.feature$=this.afs.doc("feature/mom").valueChanges(),this.events$=this.afs.collection("events",s=>s.where("end",">=",(0,h.default)().format("YYYY-MM-DD")).orderBy("end","asc").limit(10)).valueChanges({idField:"id"}).pipe(b(s=>s.map(n=>C(x({},n),{when:(0,h.default)(n.start).format("dddd, MMM D"),to:n.start!==n.end?(0,h.default)(n.end).format("dddd, MMM D"):!1})).sort((n,p)=>n.start>=p.start?1:-1)))}};t.\u0275fac=function(n){return new(n||t)(S(N))},t.\u0275cmp=E({type:t,selectors:[["app-home"]],decls:28,vars:6,consts:[["loading",""],[1,"display-4"],[1,"lead"],["routerLink","/join","role","button",1,"btn","btn-primary","btn-lg"],["class","bg-warning",4,"ngIf"],[1,"container","d-block"],[1,"row","my-5"],[1,"col","mb-5","mb-md-0"],[4,"ngIf"],[1,"my-5"],[1,"text-center","mb-5"],[1,"d-flex","flex-wrap","justify-content-around","align-items-center"],[1,"p-2",3,"routerLink"],[1,"bg-warning"],[1,"container","py-5"],[1,"pb-3"],["href","https://docs.google.com/forms/d/e/1FAIpQLSd4Ez5B0UtJUm05zwtbqrZAohFDIWyO_gtP2UxvPuI3Jutwcw/viewform?usp=sf_link",1,"btn","btn-lg","btn-primary"],["class","col-12 col-md-4",4,"ngIf"],[1,"col-12","col-md-4"],[1,"aside"],[1,"font-italic"],[1,"list-unstyled"],["class","mb-3",4,"ngFor","ngForOf"],[1,"mb-3"],[1,"d-block"],[1,"text-nowrap"],["class","text-nowrap",4,"ngIf"],[3,"routerLink"],[1,"img-fluid","d-block","mx-auto",3,"src"],[1,"p-5","text-center"]],template:function(n,p){n&1&&(o(0,"app-hero")(1,"h1",1),a(2,"Welcome to fun!"),i(),o(3,"p",2),a(4," Whether you are here for a visit or here to make a home, the people of our "),o(5,"em")(6,"u"),a(7,"great"),i()(),a(8," town take pride in providing plenty of fun events, attractions, and shopping \u2013 no matter how long your stay. "),i(),o(9,"p",2)(10,"a",3),a(11,"Join Us!"),i()()(),l(12,V,6,0,"section",4),o(13,"div",5)(14,"div",6),f(15,"div",7),l(16,ne,2,1,"ng-container",8),k(17,"async"),i(),f(18,"hr"),o(19,"div",9)(20,"h2",10),a(21,"Our Platinum Partners"),i(),o(22,"div",11),I(23,ie,2,4,"a",12,Z),k(25,"async"),i()()(),l(26,oe,2,0,"ng-template",null,0,T)),n&2&&(m(12),c("ngIf",!1),m(4),c("ngIf",y(17,2,p.events$)),m(7),F(y(25,4,p.platinums$)))},dependencies:[$,L,U,A,B,j],styles:[".aside[_ngcontent-%COMP%]{background-color:#f0f0f080;padding:1em;border:1px solid #ccc;border-radius:.2em;height:100%}
1.aside[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{border-bottom:1px solid #ccc;padding-bottom:.5rem}.aside[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-top:1rem}.heartbeat[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_heartbeat 1.5s ease-in-out infinite both}@-webkit-keyframes _ngcontent-%COMP%_heartbeat{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:center center;transform-origin:center center;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}10%{-webkit-transform:scale(.91);transform:scale(.91);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}17%{-webkit-transform:scale(.98);transform:scale(.98);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}33%{-webkit-transform:scale(.87);transform:scale(.87);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}45%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes _ngcontent-%COMP%_heartbeat{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:center center;transform-origin:center center;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}10%{-webkit-transform:scale(.91);transform:scale(.91);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}17%{-webkit-transform:scale(.98);transform:scale(.98);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}33%{-webkit-transform:scale(.87);transform:scale(.87);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}45%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}"]});let e=t;return e})();var re=[{path:"",children:[{path:"",component:J}]}],R=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=g({type:t}),t.\u0275inj=u({imports:[d.forChild(re),d]});let e=t;return e})();var xe=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=g({type:t}),t.\u0275inj=u({imports:[H,R,Y,d]});let e=t;return e})();export{xe as HomeModule};
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.