1import{a as V}from"./chunk-YSKJGBHD.js";import"./chunk-ZXYJLQLH.js";import{a as E}from"./chunk-2RAL7G6C.js";import"./chunk-3JMLN3K3.js";import{a as O}from"./chunk-O4FXT2CV.js";import{Aa as v,Ab as P,B as l,D as x,E as w,F as k,G as y,Ha as p,Ia as h,K as d,Ka as u,La as f,Ma as H,Nb as R,Q as S,Qb as j,Rb as I,Sb as L,Tb as D,U as o,Wb as N,_ as M,l as b,la as C,ma as z,na as m,oa as n,pa as r,qa as c,wa as _,ya as T}from"./chunk-7OTBOUFM.js";import"./chunk-6MDQTQU3.js";var B=(a,i)=>i.id;function $(a,i){if(a&1){let e=_();n(0,"button",16),T("click",function(){let g=x(e).$implicit,s=v();return w(s.navigate(g.id))}),c(1,"span",17),n(2,"div")(3,"div",18),u(4),r(),n(5,"div",19),u(6),r()()()}if(a&2){let e=i.$implicit,t=i.$index,g=i.$count,s=v();p("background-color",s.activeRoute()===e.id?"#f0fdf4":"transparent")("border-left",s.activeRoute()===e.id?"3px solid #99bc39":"3px solid transparent"),h("border-b",t!==g-1),o(),p("color",s.activeRoute()===e.id?"#99bc39":"#9ca3af"),m("innerHTML",e.icon,S),o(2),p("color",s.activeRoute()===e.id?"#1a2e05":"#374151"),o(),H(" ",e.label," "),o(2),f(e.desc)}}var A=class a{route=l(I);router=l(D);sanitizer=l(R);seoService=l(E);analyticsService=l(O);isMenuOpen=d(!1);isLoading=d(!1);activePage=d("settings");currentClubSlug=d("");activeRoute=d("ogolne");navItems=[{id:"ogolne",label:"Ustawienia og\xF3lne",desc:"W\u0142\u0105czanie, limity, regulaminy, grafik",icon:this.sanitizer.bypassSecurityTrustHtml(` 2 <svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" style="width:16px;height:16px;"> 3 <path stroke-linecap="round" stroke-linejoin="round" 4 d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"/> 5 <path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"/> 6 </svg>`)},{id:"anulowanie",label:"Zasady anulowania",desc:"Zwroty, terminy, typy p\u0142atno\u015Bci",icon:this.sanitizer.bypassSecurityTrustHtml(` 7 <svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" style="width:16px;height:16px;"> 8 <path stroke-linecap="round" stroke-linejoin="round" 9 d="M18.364 18.364A9 9 0 005.636 5.636m12.728 12.728A9 9 0 015.636 5.636m12.728 12.728L5.636 5.636"/> 10 </svg>`)},{id:"komunikaty",label:"Komunikaty i e-maile",desc:"Tre\u015Bci SMS/push i adresy powiadomie\u0144",icon:this.sanitizer.bypassSecurityTrustHtml(` 11 <svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" style="width:16px;height:16px;"> 12 <path stroke-linecap="round" stroke-linejoin="round" 13 d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"/> 14 </svg>`)},{id:"platnosci",label:"P\u0142atno\u015Bci online",desc:"API Przelewy24, dzielenie koszt\xF3w",icon:this.sanitizer.bypassSecurityTrustHtml(` 15 <svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" style="width:16px;height:16px;"> 16 <path stroke-linecap="round" stroke-linejoin="round" 17 d="M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z"/> 18 </svg>`)},{id:"trenerzy",label:"Trenerzy",desc:"Podgl\u0105d, usuwanie, eksport CSV",icon:this.sanitizer.bypassSecurityTrustHtml(` 19 <svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" style="width:16px;height:16px;"> 20 <path stroke-linecap="round" stroke-linejoin="round" 21 d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"/> 22 </svg>`)},{id:"karnety",label:"Karnety",desc:"Do\u0142adowania, p\u0142atno\u015Bci, \u0142\u0105czenie",icon:this.sanitizer.bypassSecurityTrustHtml(` 23 <svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" style="width:16px;height:16px;"> 24 <path stroke-linecap="round" stroke-linejoin="round" 25 d="M15 5v2m0 4v2m0 4v2M5 5a2 2 0 00-2 2v3a2 2 0 110 4v3a2 2 0 002 2h14a2 2 0 002-2v-3a2 2 0 110-4V7a2 2 0 00-2-2H5z"/> 26 </svg>`)}];ngOnInit(){this.seoService.setPage({title:"Ustawienia - RezerwujKort.pl",description:"Ustawienia - RezerwujKort.pl"});let i=this.route.parent?.snapshot.paramMap.get("slug");i&&(this.currentClubSlug.set(i),this.route.firstChild!==null||this.router.navigate(["ogolne"],{relativeTo:this.route}));let e=this.route.firstChild?.snapshot.url[0]?.path??"ogolne";this.activeRoute.set(e),this.router.events.pipe(b(t=>t instanceof j)).subscribe(()=>{let t=this.route.firstChild?.snapshot.url[0]?.path??"ogolne";this.activeRoute.set(t)}),this.analyticsService.trackEvent("Strona","Wej\u015Bcie","Ustawienia")}navigate(i){this.router.navigate([i],{relativeTo:this.route})}toggleMenu=()=>this.isMenuOpen.update(i=>!i);static \u0275fac=function(e){return new(e||a)};static \u0275cmp=M({type:a,selectors:[["app-settings"]],decls:21,vars:8,consts:[[1,"flex","flex-col","min-h-screen","w-full","font-sans","relative",2,"background-color","#eff6ff"],[3,"isLoading","isMenuOpen","activePage","currentClubSlug","toggleMenu"],[1,"grow","p-4","md:p-6","transition-opacity","duration-300"],[1,"bg-white","rounded-2xl","shadow-sm","overflow-hidden","mb
26-6",2,"border","1.5px solid #34495e"],[1,"p-4","md:p-5","flex","items-center","gap-3",2,"background-color","#34495e"],[1,"p-2.5","rounded-xl",2,"background-color","#99bc39"],["fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-5","w-5","text-white"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M15 12a3 3 0 11-6 0 3 3 0 016 0z"],[1,"text-base","font-bold","leading-tight","text-white"],[1,"text-xs",2,"color","rgba(255,255,255,0.6)"],[1,"flex","gap-6","items-start"],[1,"flex-shrink-0","w-56","sticky","top-6"],[1,"bg-white","rounded-2xl","shadow-sm","overflow-hidden",2,"border","1.5px solid #d1d5db"],[1,"w-full","flex","items-center","gap-3","px-4","py-3.5","text-left","border-none","cursor-pointer","transition-all",2,"border-bottom-color","#f3f4f6",3,"border-b","backgroundColor","borderLeft"],[1,"flex-1","min-w-0"],[1,"w-full","flex","items-center","gap-3","px-4","py-3.5","text-left","border-none","cursor-pointer","transition-all",2,"border-bottom-color","#f3f4f6",3,"click"],[1,"h-4","w-4","flex-shrink-0",3,"innerHTML"],[1,"text-xs","font-bold","leading-tight"],[1,"text-[10px]","text-gray-400","mt-0.5","leading-tight"]],template:function(e,t){e&1&&(n(0,"div",0),c(1,"app-booking-header",1),n(2,"main",2)(3,"div",3)(4,"header",4)(5,"div",5),k(),n(6,"svg",6),c(7,"path",7)(8,"path",8),r()(),y(),n(9,"div")(10,"h2",9),u(11,"Ustawienia programu"),r(),n(12,"p",10),u(13),r()()()(),n(14,"div",11)(15,"nav",12)(16,"div",13),C(17,$,7,13,"button",14,B),r()(),n(19,"div",15),c(20,"router-outlet"),r()()()()),e&2&&(o(),m("isLoading",t.isLoading())("isMenuOpen",t.isMenuOpen())("activePage",t.activePage())("currentClubSlug",t.currentClubSlug())("toggleMenu",t.toggleMenu),o(),h("opacity-40",t.isLoading()),o(11),f(t.currentClubSlug()),o(4),z(t.navItems))},dependencies:[P,N,L,V],encapsulation:2})};export{A as Settings};
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.