PageSourceSearch

https://campertunity.com/chunk-ANEUQTC7.js

js campertunity.com collected 2026-10-03 22:52:34 UTC 8,625 bytes, 1 lines download raw bytes

1import{a as Q}from"./chunk-F3O2WKT3.js";import{a as K}from"./chunk-O7YGG7RM.js";import"./chunk-SIMBLE3Q.js";import{O as J,b as Y,c as q,d as h}from"./chunk-KUO5X3JT.js";import"./chunk-JWIE767S.js";import{a as L,e as N}from"./chunk-WPBLXIKM.js";import{M as D,N as B,O as H,P as V,R as $,S as U,U as A,aa as G,z as T}from"./chunk-GSIVSSTW.js";import{L as F,w as R}from"./chunk-O6CGIT4T.js";import"./chunk-WHHI63HG.js";import{Bc as c,Cc as v,Dc as z,Ob as p,Qb as l,Sb as y,Tb as E,Ub as S,Vb as s,Wb as o,Xb as a,Yb as d,aa as M,ab as f,ea as _,eb as r,fa as u,fc as k,i as P,kc as I,la as O,ma as x,mc as C,ob as m,ra as b,rd as j,ub as w}from"./chunk-KMSAVGVC.js";import"./chunk-7KGURMOZ.js";import"./chunk-NWZBPKKX.js";import"./chunk-YXEUUAKN.js";import"./chunk-YA3I5NNS.js";import"./chunk-S675HRXH.js";import"./chunk-7EURVKQN.js";import"./chunk-4WFVMWDK.js";import"./chunk-M2X7KQLB.js";import"./chunk-DVVH2KKN.js";import"./chunk-NV3QH4JK.js";import"./chunk-42C7ZIID.js";import"./chunk-KXPJIINS.js";import"./chunk-5PFKGSSD.js";import"./chunk-G7SWQJ6W.js";import"./chunk-OZYWYLNK.js";import"./chunk-FIRXXYNY.js";var W=(()=>{class e extends Y{eventCache=new Map;constructor(t,n){super(t,n)}getEvent(t){if(this.eventCache.has(t))return P(this.eventCache.get(t));let n=`${q.cloudFunctionRoot}/api/event/${t}`;return this.get(n,i=>(this.eventCache.set(t,i),i))}static \u0275fac=function(n){return new(n||e)(_(R),_(J))};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function nt(e,g){if(e&1&&(o(0,"div",3),c(1),a()),e&2){let t=C();r(),z(" ",t.error," ")}}function ot(e,g){e&1&&(o(0,"div",4),d(1,"app-spinner"),o(2,"p"),c(3,"Loading..."),a()())}function it(e,g){if(e&1){let t=k();o(0,"ion-col",10)(1,"ion-card",11),d(2,"img",12),o(3,"ion-card-header")(4,"ion-card-title"),c(5),a()(),o(6,"ion-card-content")(7,"p"),c(8),a(),o(9,"app-button",13),I("clicked",function(){let i=O(t).$implicit,Z=C(2);return x(Z.viewSite(i.id))}),c(10," View Site "),a()()()()}if(e&2){let t=g.$implicit;r(2),s("src",t.image,f)("alt",t.title),r(3),v(t.title),r(3),v(t.description)}}function rt(e,g){if(e&1&&(o(0,"div",5)(1,"div",6),d(2,"img",7),o(3,"p",8),c(4),a()(),o(5,"div",9)(6,"ion-grid")(7,"ion-row"),E(8,it,11,4,"ion-col",10,y),a()()()()),e&2){let t=C();r(2),s("src",t.event.image,f)("alt",t.event.title),r(2),v(t.event.description),r(4),S(t.event.campgrounds)}}var X=(()=>{class e{navCtrl;route;eventService;destroyRef=u(b);loading=!0;error=null;event=null;cdr=u(j);constructor(t,n,i){this.navCtrl=t,this.route=n,this.eventService=i}ngOnInit(){this.route.params.pipe(h(this.destroyRef)).subscribe(t=>{let n=t.eventId;n&&this.fetchEvent(n),this.cdr.markForCheck()})}
1viewSite(t){this.navCtrl.navigateForward(Q.campground.url({id:t}))}fetchEvent(t){this.loading=!0,this.eventService.getEvent(t).pipe(h(this.destroyRef)).subscribe({next:n=>{this.event=n,this.loading=!1,this.cdr.markForCheck()},error:()=>{this.loading=!1,this.cdr.markForCheck()}})}static \u0275fac=function(n){return new(n||e)(m(T),m(F),m(W))};static \u0275cmp=w({type:e,selectors:[["app-event-page"]],decls:6,vars:4,consts:[[3,"showBack"],[1,"ion-padding"],[2,"max-width","1280px","margin","20px auto"],[1,"error-message"],[1,"loading"],[1,"event-details"],[1,"event-header",2,"display","flex","flex-direction","column","gap","16px","align-items","center"],[1,"event-image",2,"height","200px","width","200px",3,"src","alt"],[1,"description"],[1,"campgrounds-section"],["size","12","size-md","6","size-lg","4"],[1,"campground-card"],[1,"campground-image",3,"src","alt"],["fill","outline",1,"view-details",3,"clicked"]],template:function(n,i){n&1&&(d(0,"app-header",0),o(1,"ion-content",1)(2,"div",2),p(3,nt,2,1,"div",3),p(4,ot,4,0,"div",4),p(5,rt,10,3,"div",5),a()()),n&2&&(s("showBack",!0),r(3),l(i.error?3:-1),r(),l(i.loading?4:-1),r(),l(!i.loading&&i.event?5:-1))},dependencies:[K,L,N,D,B,H,V,$,U,A,G],styles:[".event-container[_ngcontent-%COMP%]{max-width:1200px;margin:0 auto;padding:2rem 1rem}.header[_ngcontent-%COMP%]{margin-bottom:2rem}.header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:2rem;font-weight:700;color:#333}.large-title[_ngcontent-%COMP%]{font-size:24px;line-height:32px;font-weight:700;color:var(--ion-color-primary);margin-bottom:16px}.small-title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;color:var(--ion-color-primary);margin-bottom:16px}.description[_ngcontent-%COMP%]{font-size:16px;line-height:1.5;color:var(--ion-color-dark);margin-bottom:32px}.error-message[_ngcontent-%COMP%]{background-color:var(--ion-color-danger-tint);color:var(--ion-color-danger);padding:16px;border-radius:8px;margin-bottom:16px}.loading[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:200px;gap:16px}.loading[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--ion-color-medium);font-size:16px}.event-details[_ngcontent-%COMP%]{background-color:#fff;border-radius:.5rem;box-shadow:0 4px 6px -1px #0000001a;overflow:hidden}.event-details[_ngcontent-%COMP%]   .event-content[_ngcontent-%COMP%]{padding:2rem}.event-details[_ngcontent-%COMP%]   .event-content[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.875rem;font-weight:600;color:#111827;margin-bottom:1rem}.event-details[_ngcontent-%COMP%]   .event-content[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{color:#4b5563;font-size:1.125rem;line-height:1.75;margin-bottom:2rem}.event-details[_ngcontent-%COMP%]   .campgrounds-section[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:600;color:#111827;margin-bottom:1.5rem}.event-details[_ngcontent-%COMP%]   .campgrounds-section[_ngcontent-%COMP%]   .campgrounds-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.event-details[_ngcontent-%COMP%]   .campgrounds-section[_ngcontent-%COMP%]   .campground-card[_ngcontent-%COMP%]{background-color:#f9fafb;border-radius:.5rem;overflow:hidden;transition:transform .2s}.event-details[_ngcontent-%COMP%]   .campgrounds-section[_ngcontent-%COMP%]   .campground-card[_ngcontent-%COMP%]:hover{transform:translateY(-2px)}.event-details[_ngcontent-%COMP%]   .campgrounds-section[_ngcontent-%COMP%]   .campground-card[_ngcontent-%COMP%]   .campground-image[_ngcontent-%COMP%]{width:100%;height:200px;object-fit:cover}.event-details[_ngcontent-%COMP%]   .campgrounds-section[_ngcontent-%COMP%]   .campground-card[_ngcontent-%COMP%]   .campground-info[_ngcontent-%COMP%]{padding:1.5rem}.event-details[_ngcontent-%COMP%]   .campgrounds-section[_ngcontent-%COMP%]   .campground-card[_ngcontent-%COMP%]   .campground-info[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:600;color:#111827;margin-bottom:.5rem}.event-details[_ngcontent-%COMP%]   .campgrounds-section[_ngcontent-%COMP%]   .campground-card[_ngcontent-%COMP%]   .campground-info[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#6b7280;margin-bottom:1rem;line-height:1.5}.event-details[_ngcontent-%COMP%]   .campgrounds-section[_ngcontent-%COMP%]   .campground-card[_ngcontent-%COMP%]   .campground-info[_ngcontent-%COMP%]   .view-details[_ngcontent-%COMP%]{color:#3b82f6;text-decoration:none;font-weight:500;cursor:pointer;transition:color .2s}.event-details[_ngcontent-%COMP%]   .campgrounds-section[_ngcontent-%COMP%]   .campground-card[_ngcontent-%COMP%]   .campground-info[_ngcontent-%COMP%]   .view-details[_ngcontent-%COMP%]:hover{color:#2563eb}.campgrounds-section[_ngcontent-%COMP%]{margin-top:32px}.campground-card[_ngcontent-%COMP%]{height:100%;margin:0;border-radius:16px;box-shadow:0 4px 6px #0000001a}.campground-card[_ngcontent-%COMP%]   .campground-image[_ngcontent-%COMP%]{width:100%;height:200px;object-fit:cover;border-top-left-radius:16px;border-top-right-radius:16px}.campground-card[_ngcontent-%COMP%]   ion-card-header[_ngcontent-%COMP%]{padding:16px}.campground-card[_ngcontent-%COMP%]   ion-card-title[_ngcontent-%COMP%]{font-size:18px;font-weight:600;color:var(--ion-color-dark)}.campground-card[_ngcontent-%COMP%]   ion-card-content[_ngcontent-%COMP%]{padding:16px}.campground-card[_ngcontent-%COMP%]   ion-card-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--ion-color-medium);margin-bottom:16px;line-height:1.5}.campground-card[_ngcontent-%COMP%]   .view-details[_ngcontent-%COMP%]{width:100%;--border-radius: 8px;height:48px}@media(max-width:768px){.large-title[_ngcontent-%COMP%]{font-size:20px;line-height:28px}.small-title[_ngcontent-%COMP%]{font-size:16px}.description[_ngcontent-%COMP%]{font-size:14px}}"],changeDetection:0})}return e})();var xt=[{path:":eventId",component:X}];export{xt as eventRoutes};

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.