PageSourceSearch

https://dnagb.de/chunk-BDTND6EP.js

js dnagb.de collected 2026-10-06 19:26:58 UTC 6,505 bytes, 1 lines download raw bytes

1import{a as N}from"./chunk-NBQMHE5X.js";import{a as A}from"./chunk-BPOYHNOQ.js";import{b as B,c as z,g as U,j,l as x,q as y}from"./chunk-IUCSSG42.js";import{$a as w,Ab as $,Bb as S,Da as l,J as D,Jb as F,Kb as L,Mb as V,R as c,Ra as v,W as _,X as u,ab as E,bb as f,cb as h,db as b,eb as M,fb as g,gb as p,hb as C,ib as s,j as T,jb as m,lb as O,mb as I,qb as P,rb as k,sb as d,zb as a}from"./chunk-3COEIBHW.js";function G(e,t){if(e&1){let o=O();s(0,"li",2),a(1,"Es stehen gerade keine Events an."),m(),s(2,"li",2),a(3," Schau doch mal welche "),s(4,"a",3),k("click",function(){_(o);let i=d();return u(i.router.navigateByUrl("/news#events"))}),a(5,"Events"),m(),a(6," es schon gab! "),m()}}function J(e,t){if(e&1){let o=O();s(0,"li",5),k("click",function(){_(o);let i=d().$implicit,r=d();return u(r.openDetails("event",i.id))})("keyup.enter",function(){_(o);let i=d().$implicit,r=d();return u(r.openDetails("event",i.id))}),s(1,"span",6),a(2),L(3,"date"),m(),a(4,": "),s(5,"span",7),a(6),m()()}if(e&2){let o=d().$implicit;I("title",o.type.length?o.title+": "+o.type:o.title),l(2),S(" ",V(3,3,o.date_start,"dd.MM.yyyy")),l(4),S(" ",o.title," ")}}function K(e,t){if(e&1&&w(0,J,7,6,"li",4),e&2){let o=t.$implicit;E(o.status==="published"?0:-1)}}var H=(()=>{let t=class t{constructor(){this.state=c(y),this.router=c(x),this.list=[]}openDetails(n,i){n==="event"&&this.router.navigateByUrl(`/news/event-details/${i}`),n==="news"&&this.router.navigateByUrl(`/news/news-details/${i}`)}ngOnInit(){for(let n of this.state.getConf().events)n.date_start>=new Date&&n.status==="published"&&this.list.push(n)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=v({type:t,selectors:[["app-event-list"]],decls:6,vars:1,consts:[[1,"event-list-header"],[1,"event-list"],[1,"null-event-item"],[3,"click"],["tabindex","0",1,"event-item",3,"title"],["tabindex","0",1,"event-item",3,"click","keyup.enter","title"],[1,"event-date"],[1,"event-title"]],template:function(i,r){i&1&&(s(0,"h2",0),a(1,"N\xE4chste Events"),m(),s(2,"ul",1),w(3,G,7,0),h(4,K,1,1,null,null,f),m()),i&2&&(l(3),E(!r.list||!r.list.length?3:-1),l(),b(r.list))},dependencies:[z],styles:['[_nghost-%COMP%]{padding:.75rem;border-radius:var(--border-radius);background-color:var(--white);filter:drop-shadow(0 4px 4px rgba(0,0,0,.25))}.event-list-header[_ngcontent-%COMP%]{font-size:2rem;margin:0 0 .5rem}.event-list[_ngcontent-%COMP%]{list-style-type:"\\1f338";padding-left:1.5rem;margin:0;overflow:auto;max-height:17.0625rem}.event-list[_ngcontent-%COMP%]   .null-event-item[_ngcontent-%COMP%]{padding:.5rem}.event-list[_ngcontent-%COMP%]   .event-item[_ngcontent-%COMP%]{padding:.5rem;cursor:pointer;border-radius:var(--border-radius);transition:var(--transition)}.event-list[_ngcontent-%COMP%]   .event-item[_ngcontent-%COMP%]:hover, .event-list[_ngcontent-%COMP%]   .event-item[_ngcontent-%COMP%]:focus{background-color:#00000020}.event-list[_ngcontent-%COMP%]   .event-item[_ngcontent-%COMP%]:active{background-color:#00000040}.event-list[_ngcontent-%COMP%]   .event-item[_ngcontent-%COMP%]   .event-date[_ngcontent-%COMP%]{color:var(--gray-800);font-size:.875rem;font-style:italic}']});let e=t;return e})();var Q=e=>({"background-image":e});function W(e,t){if(e&1&&C(0,"app-news-card",9),e&2){let o=t.$implicit;M("data",o)}}var ge=(()=>{let t=class t{constructor(){this.url=A.cmsUrl,this.news=[],this.bannerImage="url(./assets/placeholder.jpg)",this.state=c(y),this.router=c(x),this.route=c(j),this.titleService=c(U),this.unsubscribeAll=new T}navigateTo(n){this.router.navigateByUrl(n)}ngOnInit(){this.route.data.pipe(D(this.unsubscribeAll)).subscribe({next:n=>{this.titleService.setTitle(n.title+` \xB7 ${this.state.getConf().appSettings.title.short}`)}}),this.title=this.state.getConf().appSettings.title,this.news=[...this.state.getConf().news].splice(0,2),this.state.getConf().appSettings.banner&&(this.bannerImage=`url(${this.url}/assets/${this.state.getConf().appSettings.banner})`)}ngOnDestroy(){this.unsubscribeAll.next(void 0),this.unsubscribeAll.complete()}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=v({type:t,selectors:[["app-home"]],decls:15,vars:4,consts:[[1,"page"],["id","banner",1,"banner_bg-fill",3,"ngStyle"],[1,"banner_content","container"],[1,"banner_title"],[1,"banner_stack"],[1,"nag_button","button-fill","glow",3,"click"],[1,"nag_button","button-outline","dar
1k-bg","glow",3,"click"],[1,"bg-overlay"],["id","short-info",1,"container"],[3,"data"]],template:function(i,r){i&1&&(g(0,"div",0)(1,"section",1)(2,"div",2)(3,"h1",3),a(4),p(),g(5,"div",4)(6,"button",5),P("click",function(){return r.navigateTo("/dnagb/mitglied-werden")}),a(7," Mitglied werden "),p(),g(8,"button",6),P("click",function(){return r.navigateTo("/naginata/kampfsport")}),a(9," Das ist Naginata "),p()()(),C(10,"div",7),p(),g(11,"section",8),C(12,"app-event-list"),h(13,W,1,1,"app-news-card",9,f),p()()),i&2&&(l(),M("ngStyle",F(2,Q,r.bannerImage)),l(3),$(r.title.long_1),l(9),b(r.news))},dependencies:[H,N,B],styles:[".page[_ngcontent-%COMP%]{padding-top:calc(var(--page-padding-number) * (-1));padding-left:calc(var(--page-padding-number) * (-1));padding-right:calc(var(--page-padding-number) * (-1))}.banner_bg-fill[_ngcontent-%COMP%]{position:relative;background-position:right 50%;background-size:cover}.banner_bg-fill[_ngcontent-%COMP%]   .bg-overlay[_ngcontent-%COMP%]{width:100%;height:20rem;position:absolute;top:0;left:0;background:linear-gradient(90deg,rgba(0,0,0,.93) 30%,transparent 100%);z-index:1}.banner_bg-fill[_ngcontent-%COMP%]   .banner_content[_ngcontent-%COMP%]{position:relative;height:20rem;display:flex;flex-direction:column;justify-content:center;gap:1rem;padding:var(--section-padding);z-index:2}.banner_bg-fill[_ngcontent-%COMP%]   .banner_title[_ngcontent-%COMP%]{margin:0;font-size:clamp(2.5rem,1.45rem + 2.9126vw,4rem);width:clamp(17.5rem,8rem + 25vw,28rem);line-height:1.25;
1font-family:Fira Sans;color:var(--text-inverse)}.banner_stack[_ngcontent-%COMP%]{display:flex;gap:1rem}#short-info[_ngcontent-%COMP%]{display:grid;gap:2rem;padding:2rem 1rem;grid-template-columns:repeat(3,1fr)}@media screen and (max-width: 992px){.banner_bg-fill[_ngcontent-%COMP%]   .bg-overlay[_ngcontent-%COMP%], .banner_bg-fill[_ngcontent-%COMP%]   .banner_content[_ngcontent-%COMP%]{height:15rem}#short-info[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width: 768px){#short-info[_ngcontent-%COMP%]{grid-template-columns:1fr;grid-template-rows:auto}}"]});let e=t;return e})();export{ge as HomeComponent};

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.