1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[5983],{24526:(R,h,e)=>{e.d(h,{m:()=>f});var t=e(54438),E=e(98666),C=e(77648),d=e(89079),P=e(88141),g=e(2490),u=e(81958),O=e(42331);let f=(()=>{class p{constructor(l,c,M,T){this.cookieService=l,this.userService=c,this.utils=M,this._inj=T,this.DEFAULT_SIZE=25,this.DEFAULT_SIZES=[25,50,100],this.LOGGED_IN_SIZES=[10,25,50,100,150],this.sizes=(0,t.vPA)(this.DEFAULT_SIZES),this.size=(0,t.vPA)(0),this.index=(0,t.vPA)(1),this.totalElements=(0,t.vPA)(0),this.totalPages=(0,t.EWP)(()=>Math.ceil(this.totalElements()/this.size())),this.offset=(0,t.EWP)(()=>this.size()*(this.index()-1)),this.offsetEnd=(0,t.EWP)(()=>this.offset()+this.size()),this.isFirst=(0,t.EWP)(()=>1===this.index()),this.isLast=(0,t.EWP)(()=>this.index()===this.totalPages()),this.hasPrevious=(0,t.EWP)(()=>this.index()>1),this.hasNext=(0,t.EWP)(()=>this.index()<this.totalPages()),(0,t.QZP)(()=>{this.sizes().includes(this.size())||(this.sizes().push(this.size()),this.sizes().sort((s,r)=>s-r))});const m=this.utils.isBrowser?this.cookieService.get(C.oK):this._inj.get(E.je);this.size.set(m?Number(m):this.DEFAULT_SIZE),this.userService.refreshed$.pipe((0,P.M)(s=>{this.size.set(s.result_rows_on_page||this.DEFAULT_SIZE),this.sizes.set(this.LOGGED_IN_SIZES)}),(0,d.pQ)()).subscribe(),this.userService.logout$.pipe((0,P.M)(()=>{this.size.set(this.DEFAULT_SIZE),this.sizes.set(this.DEFAULT_SIZES)}),(0,d.pQ)()).subscribe()}updatePagination(l,c=!0){this.updateTotal(l),c&&this.resetPage()}resetPage(){this.index.set(1)}updateTotal(l){this.totalElements.set(l||0)}static{this.\u0275fac=function(c){return new(c||p)(t.KVO(g.O),t.KVO(u.D),t.KVO(O.T),t.KVO(t.zZn))}}static{this.\u0275prov=t.jDH({token:p,factory:p.\u0275fac})}}return p})()},49213:(R,h,e)=>{e.d(h,{e:()=>r});var t=e(54438),E=e(60177),C=e(89079),d=e(24526),P=e(83038),g=e(68580),u=e(96354),O=e(84480);const f=(i,o)=>o.page,p=i=>({disabled:i}),x=i=>({active:i});function l(i,o){1&i&&t.nrm(0,"div",3)}function c(i,o){if(1&i){const n=t.RV6();t.j41(0,"li",8)(1,"a",15),t.bIt("click",function(){const a=t.eBV(n).$implicit,D=t.XpG(2);return t.Njj(D.goToPage(a.page))}),t.EFF(2),t.k0s()()}if(2&i){const n=o.$implicit,_=t.XpG(2);t.Y8G("ngClass",t.eq3(2,x,n.page===_.pagination.index())),t.R7$(2),t.SpI(" ",n.label," ")}}function M(i,o){if(1&i){const n=t.RV6();t.j41(0,"a",20),t.bIt("click",function(){const a=t.eBV(n).$implicit,D=t.XpG(4);return t.Njj(D.setPageSize(a))}),t.EFF(1),t.qex(2),t.pXf(3,1),t.bVm(),t.k0s()}if(2&i){const n=o.$implicit,_=t.XpG(4);t.Y8G("ngClass",t.eq3(2,x,n===_.pagination.size())),t.R7$(),t.SpI(" ",n," ")}}function T(i,o){if(1&i&&(t.j41(0,"div",18),t.Z7z(1,M,4,4,"a",19,t.fX1),t.k0s()),2&i){const n=t.XpG(3);t.R7$(),t.Dyx(n.pagination.sizes())}}function m(i,o){if(1&i&&(t.j41(0,"div",14)(1,"button",16),t.EFF(2),t.qex(3),t.pXf(4,0),t.bVm(),t.k0s(),t.DNE(5,T,3,0,"div",17),t.k0s()),2&i){const n=t.XpG(2);t.R7$(2),t.SpI(" ",n.pagination.size()," ")}}function s(i,o){if(1&i){const n=t.RV6();t.j41(0,"nav",2),t.DNE(1,l,1,0,"div",3),t.j41(2,"ul",4)(3,"li",5)(4,"a",6),t.bIt("click",function(){t.eBV(n);const a=t.XpG();return t.Njj(a.goToPage(1))}),t.nrm(5,"xetf-icon",7),t.k0s()(),t.j41(6,"li",8)(7,"a",9),t.bIt("click",function(){t.eBV(n);const a=t.XpG();return t.Njj(a.previous())}),t.nrm(8,"xetf-icon",7),t.k0s()(),t.Z7z(9,c,3,4,"li",8,f),t.j41(11,"li",8)(12,"a",10),t.bIt("click",function(){t.eBV(n);const a=t.XpG();return t.Njj(a.next())}),t.nrm(13,"xetf-icon",11),t.k0s()(),t.j41(14,"li",12)(15,"a",13),t.bIt("click",function(){t.eBV(n);const a=t.XpG();return t.Njj(a.goToPage(a.pagination.totalPages()))}),t.nrm(16,"xetf-icon",11),t.k0s()()(),t.DNE(17,m,6,1,"div",14),t.k0s()}if(2&i){const n=t.XpG();t.R7$(),t.vxM(n.hideDropdown?-1:1),t.R7$(2),t.Y8G("ngClass",t.eq3(10,p,n.pagination.isFirst())),t.R7$(2),t.Y8G("name","chevronDouble"),t.R7$(),t.Y8G("ngClass",t.eq3(12,p,n.pagination.isFirst())),t.R7$(2),t.Y8G("name","chevron"),t.R7$(),t.Dyx(n.paginationRecords()),t.R7$(2),t.Y8G("ngClass",t.eq3(14,p,n.pagination.isLast())),t.R7$(2),t.Y8G("name","chevron"),t.R7$(),t.Y8G("ngClass",t.eq3(16,p,n.pagination.isLast())),t.R7$(2),t.Y8G("name","chevronDouble"),t.R7$(),t.vxM(n.hideDropdown?-1:17)}}let r=(()=>{class i{constructor(n,_){this.pagination=n,this.resizeService=_,this.PAGINATION_RECORDS_SM=3,this.PAGINATION_RECORDS=7,this.paginationChange=new t.bkB,this.show=(0,t.EWP)(()=>!!this.paginationRecords().length&&this.pagination.totalElements()>this.pagination.sizes()[0]),this.paginationRecords=(0,t.EWP)(()=>{const a=[],D=Math.floor(this.maxPaginationRecords()/2);let I=Math.max(1,this.pagination.index()-D),A=I+this.maxPaginationRecords()-1;A>this.pagination.totalPages()&&(A=this.pagination.totalPages(),I=Math.max(1,A-this.maxPaginationRecords()+1));for(let v=I;v<=A;++v)a.push({page:v,label:String(v),isCurrent:v===this.pagination.index()});return a}),this.maxPaginationRecords=(0,C.ot)(this.resizeService.breakpointBootstrap$.pipe((0,u.T)(a=>a.isMd?this.PAGINATION_RECORDS:this.PAGINATION_RECORDS_SM)))}previous(){this.pagination.index.set(this.pagination.index()-1),this.paginationChange.emit()}next(){this.pagination.index.set(this.pagination.index()+1),this.paginationChange.emit()}goToPage(n){this.pagination.index.set(n),this.paginationChange.emit()}setPageSize(n){this.pagination.size.set(n),this.goToPage(1)}static{this.\u0275fac=function(_){return new(_||i)(t.rXU(d.m,12),t.rXU(O.cD))}}static{this.\u0275cmp=t.VBU({type:i,selectors:[["app-pagination"]],inputs:{hideDropdown:"hideDropdown"},outputs:{paginationChange:"paginationChange"},standalone:!0,features:[t.Jv_([d.m]),t.aNF],decls:1,vars:1,consts:()=>{let n,_;return n="Zeilen",_="Zeilen",[n,_,["aria-label","Page navigation",1,"d-flex","align-items-center","justify-content-center","justify-content-md-between","mt-2"],[1,"d-none","d-md-block",2,"width","115px"],[1,"pagination","mx-auto","my-1"],[1,"page-item","first",3,"ngClass"],["aria-label","First",1,"page-link",3,"click"],[1,"rotate-90",3,"name"],[1,"page-item",3,"ngClass"],["aria-label","Previous",1,"page-link",3,"click"],["aria-label","Next",1,"page-link",3,"click"],[1,"rotate-90-inverse",3,"name"],[1,"page-item","last",3,"ngClass"],["aria-label","Last",1,"page-link",3,"click"],["dropdown","","container","body",1,"btn-group","d-none","d-md-block"],["tabindex","-1",1,"page-link",3,"click"],["type","button","dropdownToggle","",1,"btn","dropdown-toggle"],["class","dropdown-menu arrow-top",4,"dropdownMenu"],[1,"dropdown-menu","arrow-top"],[1,"dropdown-item",3,"ngClass"],[1,"dropdown-item",3,"click","ngClass"]]},template:function(_,a){1&_&&t.DNE(0,s,18,18,"nav",2),2&_&&t.vxM(a.show()?0:-1)},dependencies:[E.YU,g.zE,g.hs,g.UL,g.Kk,P.Rl],styles:[".page-item[_ngcontent-%COMP%]{border-radius:50%;transition:background-color ease-in-out .15s}.page-item[_ngcontent-%COMP%]:not(.disabled):hover{background-color:#eee}.page-item.active[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]{color:#2196f3;font-weight:700;font-size:1.125rem}.page-link[_ngcontent-%COMP%]{width:36px;height:36px;--bs-pagination-padding-y: 8px;
1--bs-pagination-padding-x: var(--bs-pagination-padding-y);display:flex;justify-content:center;align-items:center;background-color:transparent!important;line-height:1;-webkit-user-select:none;user-select:none;border-width:0}.dropdown-menu.show[_ngcontent-%COMP%]{transform:translate(-40%)}.dropdown-menu.show[_ngcontent-%COMP%]:before, .dropdown-menu.show[_ngcontent-%COMP%]:after{left:67%}"]})}}return i})()},55983:(R,h,e)=>{e.r(h),e.d(h,{PodcastEpisodesComponent:()=>m});var t=e(54438),E=e(21626),C=e(99720),d=e(24526),P=e(18223),g=e(49213),u=e(96354),O=e(88141),f=e(11978),p=e(60177);const x=(s,r)=>r.id,l=s=>({"mb-2":s});function c(s,r){if(1&s&&t.nrm(0,"app-podcast-episode",1),2&s){const o=r.$index,n=r.$count;t.Y8G("episode",r.$implicit)("ngClass",t.eq3(2,l,o!==n-1))}}function M(s,r){if(1&s&&t.Z7z(0,c,1,4,"app-podcast-episode",1,x),2&s){const i=t.XpG();t.Dyx(i.$episodes())}}function T(s,r){if(1&s){const i=t.RV6();t.j41(0,"app-pagination",2),t.bIt("paginationChange",function(){t.eBV(i);const n=t.XpG();return t.Njj(n.getEpisodes())}),t.k0s()}2&s&&t.Y8G("hideDropdown",!0)}let m=(()=>{class s{constructor(i,o){this.http=i,this.pagination=o,this.PODCASTS_URL="/api-v2/podcast/",this.$limit=(0,t.hFB)(1,{alias:"limit"}),this.$episodes=(0,t.vPA)([]),this.$enablePagination=(0,t.EWP)(()=>this.$limit()>1)}ngOnInit(){this.pagination.size.set(this.$limit()),this.getEpisodes()}getEpisodes(){const i=(new E.Nl).set("exclude_external_id_prefix","external").append("limit",this.pagination.size()).append("offset",this.pagination.offset());this.http.get(this.PODCASTS_URL,{params:i}).pipe((0,u.T)(o=>new C.Z(o)),(0,O.M)(o=>{this.pagination.totalElements.set(o.count),this.$episodes.set(o.getItems())})).subscribe()}static{this.\u0275fac=function(o){return new(o||s)(t.rXU(E.Qq),t.rXU(d.m))}}static{this.\u0275cmp=t.VBU({type:s,selectors:[["app-podcast-episodes"]],inputs:{$limit:[1,"limit","$limit"]},standalone:!0,features:[t.Jv_([d.m]),t.aNF],decls:2,vars:2,consts:[[3,"hideDropdown"],[3,"episode","ngClass"],[3,"paginationChange","hideDropdown"]],template:function(o,n){1&o&&t.DNE(0,M,2,0)(1,T,1,1,"app-pagination",0),2&o&&(t.vxM(n.$episodes().length?0:-1),t.R7$(),t.vxM(n.$enablePagination()?1:-1))},dependencies:[P.U,f.Z,p.YU,g.e],encapsulation:2,changeDetection:0})}}return s})()}}]);
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.