PageSourceSearch

https://www.vhw.de/_assets/7ef8d23760116a74c8e82edfcb4c7bbe/JavaScript/PublicationList.min.js?1789549157

js vhw.de collected 2026-10-02 06:12:40 UTC 52,423 bytes, 12 lines download raw bytes

vendor: 4,495 bytes, line 1
1(()=>{var ei=Object.defineProperty;var ri=(i,e,t)=>e in i?ei(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var F=(i,e,t)=>ri(i,typeof e!="symbol"?e+"":e,t);function ar(i,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(i,r.key,r)}}function ii(i,e,t){return e&&ar(i.prototype,e),t&&ar(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i}var or="(prefers-reduced-motion: reduce)",Rt=1,ni=2,Ot=3,Bt=4,Qt=5,ce=6,ve=7,si={CREATED:Rt,MOUNTED:ni,IDLE:Ot,MOVING:Bt,SCROLLING:Qt,DRAGGING:ce,DESTROYED:ve};function mt(i){i.length=0}function Lt(i,e,t){return Array.prototype.slice.call(i,e,t)}function $(i){return i.bind.apply(i,[null].concat(Lt(arguments,1)))}var br=setTimeout,ke=function(){};function lr(i){return requestAnimationFrame(i)}function Ee(i,e){return typeof e===i}function Gt(i){return!We(i)&&Ee("object",i)}var Fe=Array.isArray,Tr=$(Ee,"function"),St=$(Ee,"string"),Jt=$(Ee,"undefined");function We(i){return i===null}function Lr(i){try{return i instanceof(i.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function te(i){return Fe(i)?i:[i]}function st(i,e){te(i).forEach(e)}function Ue(i,e){return i.indexOf(e)>-1}function de(i,e){return i.push.apply(i,te(e)),i}function ht(i,e,t){i&&st(e,function(r){r&&i.classList[t?"add":"remove"](r)})}function ut(i,e){ht(i,St(e)?e.split(" "):e,!0)}function ee(i,e){st(e,i.appendChild.bind(i))}function $e(i,e){st(i,function(t){var r=(e||t).parentNode;r&&r.insertBefore(t,e)})}function zt(i,e){return Lr(i)&&(i.msMatchesSelector||i.matches).call(i,e)}function _r(i,e){var t=i?Lt(i.children):[];return e?t.filter(function(r){return zt(r,e)}):t}function re(i,e){return e?_r(i,e)[0]:i.firstElementChild}var qt=Object.keys;function wt(i,e,t){return i&&(t?qt(i).reverse():qt(i)).forEach(function(r){r!=="__proto__"&&e(i[r],r)}),i}function jt(i){return Lt(arguments,1).forEach(function(e){wt(e,function(t,r){i[r]=e[r]})}),i}function yt(i){return Lt(arguments,1).forEach(function(e){wt(e,function(t,r){Fe(t)?i[r]=t.slice():Gt(t)?i[r]=yt({},Gt(i[r])?i[r]:{},t):i[r]=t})}),i}function ur(i,e){st(e||qt(i),function(t){delete i[t]})}function ct(i,e){st(i,function(t){st(e,function(r){t&&t.removeAttribute(r)})})}function H(i,e,t){Gt(e)?wt(e,function(r,n){H(i,n,r)}):st(i,function(r){We(t)||t===""?ct(r,e):r.setAttribute(e,String(t))})}function kt(i,e,t){var r=document.createElement(i);return e&&(St(e)?ut(r,e):H(r,e)),t&&ee(t,r),r}function at(i,e,t){if(Jt(t))return getComputedStyle(i)[e];We(t)||(i.style[e]=""+t)}function Kt(i,e){at(i,"display",e)}function Ir(i){i.setActive&&i.setActive()||i.focus({preventScroll:!0})}function ot(i,e){return i.getAttribute(e)}function cr(i,e){return i&&i.classList.contains(e)}function it(i){return i.getBoundingClientRect()}function xt(i){st(i,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function Ar(i){return re(new DOMParser().parseFromString(i,"text/html").body)}function ft(i,e){i.preventDefault(),e&&(i.stopPropagation(),i.stopImmediatePropagation())}function wr(i,e){return i&&i.querySelector(e)}function Ge(i,e){return e?Lt(i.querySelectorAll(e)):[]}function vt(i,e){ht(i,e,!1)}function Ne(i){return i.timeStamp}function At(i){return St(i)?i:i?i+"px":""}var ie="splide",ze="data-"+ie;function Ut(i,e){if(!i)throw new Error("["+ie+"] "+(e||""))}var bt=Math.min,ge=Math.max,me=Math.floor,Yt=Math.ceil,et=Math.abs;function xr(i,e,t){return et(i-e)<t}function fe(i,e,t,r){var n=bt(e,t),a=ge(e,t);return r?n<i&&i<a:n<=i&&i<=a}function Pt(i,e,t){var r=bt(e,t),n=ge(e,t);return bt(ge(r,i),n)}function Oe(i){return+(i>0)-+(i<0)}function He(i,e){return st(e,function(t){i=i.replace("%s",""+t)}),i}function qe(i){return i<10?"0"+i:""+i}var dr={};function ai(i){return""+i+qe(dr[i]=(dr[i]||0)+1)}function Cr(){var i=[];function e(s,o,l,d){n(s,o,function(u,g,h){var v="addEventListener"in u,c=v?u.removeEventListener.bind(u,g,l,d):u.removeListener.bind(u,l);v?u.addEventListener(g,l,d):u.addListener(l),i.push([u,g,h,l,c])})}function t(s,o,l){n(s,o,function(d,u,g){i=i.filter(function(h){return h[0]===d&&h[1]===u&&h[2]===g&&(!l||h[3]===l)?(h[4](),!1):!0})})}function r(s,o,l){var d,u=!0;return typeof CustomEvent=="function"?d=new CustomEvent(o,{bubbles:u,detail:l}):(d=document.createEvent("CustomEvent"),d.initCustomEvent(o,u,!1,l)),s.dispatchEvent(d),d}function n(s,o,l){st(s,function(d){d&&st(o,function(u){u.split(" ").forEach(function(g){var h=g.split(".");l(d,h[0],h[1])})})})}
vendor: 5,286 bytes, line 1
1function a(){i.forEach(function(s){s[4]()}),mt(i)}return{bind:e,unbind:t,dispatch:r,destroy:a}}var Dt="mounted",fr="ready",Tt="move",ne="moved",Dr="click",oi="active",li="inactive",ui="visible",ci="hidden",Y="refresh",rt="updated",Xt="resize",je="resized",di="drag",fi="dragging",hi="dragged",Ke="scroll",Vt="scrolled",vi="overflow",Pr="destroy",gi="arrows:mounted",mi="arrows:updated",pi="pagination:mounted",Ei="pagination:updated",Mr="navigation:mounted",Rr="autoplay:play",yi="autoplay:playing",kr="autoplay:pause",Nr="lazyload:loaded",Or="sk",Hr="sh",pe="ei";function q(i){var e=i?i.event.bus:document.createDocumentFragment(),t=Cr();function r(a,s){t.bind(e,te(a).join(" "),function(o){s.apply(s,Fe(o.detail)?o.detail:[])})}function n(a){t.dispatch(e,a,Lt(arguments,1))}return i&&i.event.on(Pr,t.destroy),jt(t,{bus:e,on:r,off:$(t.unbind,e),emit:n})}function ye(i,e,t,r){var n=Date.now,a,s=0,o,l=!0,d=0;function u(){if(!l){if(s=i?bt((n()-a)/i,1):1,t&&t(s),s>=1&&(e(),a=n(),r&&++d>=r))return h();o=lr(u)}}function g(E){E||c(),a=n()-(E?s*i:0),l=!1,o=lr(u)}function h(){l=!0}function v(){a=n(),s=0,t&&t(s)}function c(){o&&cancelAnimationFrame(o),s=0,o=0,l=!0}function f(E){i=E}function y(){return l}return{start:g,rewind:v,pause:h,cancel:c,set:f,isPaused:y}}function Si(i){var e=i;function t(n){e=n}function r(n){return Ue(te(n),e)}return{set:t,is:r}}function bi(i,e){var t=ye(e||0,i,null,1);return function(){t.isPaused()&&t.start()}}function Ti(i,e,t){var r=i.state,n=t.breakpoints||{},a=t.reducedMotion||{},s=Cr(),o=[];function l(){var c=t.mediaQuery==="min";qt(n).sort(function(f,y){return c?+f-+y:+y-+f}).forEach(function(f){u(n[f],"("+(c?"min":"max")+"-width:"+f+"px)")}),u(a,or),g()}function d(c){c&&s.destroy()}function u(c,f){var y=matchMedia(f);s.bind(y,"change",g),o.push([c,y])}function g(){var c=r.is(ve),f=t.direction,y=o.reduce(function(E,p){return yt(E,p[1].matches?p[0]:{})},{});ur(t),v(y),t.destroy?i.destroy(t.destroy==="completely"):c?(d(!0),i.mount()):f!==t.direction&&i.refresh()}function h(c){matchMedia(or).matches&&(c?yt(t,a):ur(t,qt(a)))}function v(c,f,y){yt(t,c),f&&yt(Object.getPrototypeOf(t),c),(y||!r.is(Rt))&&i.emit(rt,t)}return{setup:l,destroy:d,reduce:h,set:v}}var Se="Arrow",be=Se+"Left",Te=Se+"Right",Br=Se+"Up",Vr=Se+"Down";var hr="rtl",Le="ttb",De={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Br,Te],ArrowRight:[Vr,be]};function Li(i,e,t){function r(a,s,o){o=o||t.direction;var l=o===hr&&!s?1:o===Le?0:-1;return De[a]&&De[a][l]||a.replace(/width|left|right/i,function(d,u){var g=De[d.toLowerCase()][l]||d;return u>0?g.charAt(0).toUpperCase()+g.slice(1):g})}function n(a){return a*(t.direction===hr?1:-1)}return{resolve:r,orient:n}}var gt="role",Nt="tabindex",_i="disabled",lt="aria-",se=lt+"controls",Fr=lt+"current",vr=lt+"selected",nt=lt+"label",Ye=lt+"labelledby",Wr=lt+"hidden",Xe=lt+"orientation",Zt=lt+"roledescription",gr=lt+"live",mr=lt+"busy",pr=lt+"atomic",Ze=[gt,Nt,_i,se,Fr,nt,Ye,Wr,Xe,Zt],dt=ie+"__",_t="is-",Pe=ie,Er=dt+"track",Ii=dt+"list",_e=dt+"slide",Ur=_e+"--clone",Ai=_e+"__container",Qe=dt+"arrows",Ie=dt+"arrow",$r=Ie+"--prev",Gr=Ie+"--next",Ae=dt+"pagination",zr=Ae+"__page",wi=dt+"progress",xi=wi+"__bar",Je=dt+"toggle",Ln=Je+"__play",_n=Je+"__pause",Ci=dt+"spinner",Di=dt+"sr",Pi=_t+"initialized",Ct=_t+"active",qr=_t+"prev",jr=_t+"next",Be=_t+"visible",Ve=_t+"loading",Kr=_t+"focus-in",Yr=_t+"overflow",Mi=[Ct,Be,qr,jr,Ve,Kr,Yr],Ri={slide:_e,clone:Ur,arrows:Qe,arrow:Ie,prev:$r,next:Gr,pagination:Ae,page:zr,spinner:Ci};function ki(i,e){if(Tr(i.closest))return i.closest(e);for(var t=i;t&&t.nodeType===1&&!zt(t,e);)t=t.parentElement;return t}var Ni=5,yr=200,Xr="touchstart mousedown",Me="touchmove mousemove",Re="touchend touchcancel mouseup click";function Oi(i,e,t){var r=q(i),n=r.on,a=r.bind,s=i.root,o=t.i18n,l={},d=[],u=[],g=[],h,v,c;function f(){m(),R(),p()}function y(){n(Y,E),n(Y,f),n(rt,p),a(document,Xr+" keydown",function(b){c=b.type==="keydown"},{capture:!0}),a(s,"focusin",function(){ht(s,Kr,!!c)})}function E(b){var x=Ze.concat("style");mt(d),vt(s,u),vt(h,g),ct([h,v],x),ct(s,b?x:["style",Zt])}function p(){vt(s,u),vt(h,g),u=N(Pe),g=N(Er),ut(s,u),ut(h,g),H(s,nt,t.label),H(s,Ye,t.labelledby)}function m(){h=w("."+Er),v=re(h,"."+Ii),Ut(h&&v,"A track/list element is missing."),de(d,_r(v,"."+_e+":not(."+Ur+")")),wt({arrows:Qe,pagination:Ae,prev:$r,next:Gr,bar:xi,toggle:Je},function(b,x){l[x]=w("."+b)}),jt(l,{root:s,track:h,list:v,slides:d})}function R(){var b=s.id||ai(ie),x=t.role;s.id=b,h.id=h.id||b+"-track",v.id=v.id||b+"-list",!ot(s,gt)&&s.tagName!=="SECTION"&&x&&H(s,gt,x),H(s,Zt,o.carousel),H(v,gt,"presentation")}function w(b){var x=wr(s,b);return x&&ki(x,"."+Pe)===s?x:void 0}function N(b){return[b+"--"+t.type,b+"--"+t.direction,t.drag&&b+"--draggable",t.isNavigation&&b+"--nav",b===Pe&&Ct]}return jt(l,{setup:f,mount:y,destroy:E})}var Ht="slide",Ft="loop",ae="fade";function Hi(i,e,t,r){var n=q(i),a=n.on,s=n.emit,o=n.bind,l=i.Components,d=i.root,u=i.options,g=u.isNavigation,h=u.updateOnMove,v=u.i18n,c=u.pagination,f=u.slideFocus,y=l.Direction.resolve,E=ot(r,"style"),p=ot(r,nt),m=t>-1,R=re(r,"."+Ai),w;function N(){m||(r.id=d.id+"-slide"+qe(e+1),H(r,gt,c?"tabpanel":"group"),H(r,Zt,v.slide),H(r,nt,p||He(v.slideLabel,[e+1,i.length]))),b()}
vendor: 9,355 bytes, line 1
1function b(){o(r,"click",$(s,Dr,k)),o(r,"keydown",$(s,Or,k)),a([ne,Hr,Vt],L),a(Mr,V),h&&a(Tt,M)}function x(){w=!0,n.destroy(),vt(r,Mi),ct(r,Ze),H(r,"style",E),H(r,nt,p||"")}function V(){var D=i.splides.map(function(T){var C=T.splide.Components.Slides.getAt(e);return C?C.slide.id:""}).join(" ");H(r,nt,He(v.slideX,(m?t:e)+1)),H(r,se,D),H(r,gt,f?"button":""),f&&ct(r,Zt)}function M(){w||L()}function L(){if(!w){var D=i.index;_(),I(),ht(r,qr,e===D-1),ht(r,jr,e===D+1)}}function _(){var D=B();D!==cr(r,Ct)&&(ht(r,Ct,D),H(r,Fr,g&&D||""),s(D?oi:li,k))}function I(){var D=j(),T=!D&&(!B()||m);if(i.state.is([Bt,Qt])||H(r,Wr,T||""),H(Ge(r,u.focusableNodes||""),Nt,T?-1:""),f&&H(r,Nt,T?-1:0),D!==cr(r,Be)&&(ht(r,Be,D),s(D?ui:ci,k)),!D&&document.activeElement===r){var C=l.Slides.getAt(i.index);C&&Ir(C.slide)}}function O(D,T,C){at(C&&R||r,D,T)}function B(){var D=i.index;return D===e||u.cloneStatus&&D===t}function j(){if(i.is(ae))return B();var D=it(l.Elements.track),T=it(r),C=y("left",!0),W=y("right",!0);return me(D[C])<=Yt(T[C])&&me(T[W])<=Yt(D[W])}function z(D,T){var C=et(D-e);return!m&&(u.rewind||i.is(Ft))&&(C=bt(C,i.length-C)),C<=T}var k={index:e,slideIndex:t,slide:r,container:R,isClone:m,mount:N,destroy:x,update:L,style:O,isWithin:z};return k}function Bi(i,e,t){var r=q(i),n=r.on,a=r.emit,s=r.bind,o=e.Elements,l=o.slides,d=o.list,u=[];function g(){h(),n(Y,v),n(Y,h)}function h(){l.forEach(function(L,_){f(L,_,-1)})}function v(){w(function(L){L.destroy()}),mt(u)}function c(){w(function(L){L.update()})}function f(L,_,I){var O=Hi(i,_,I,L);O.mount(),u.push(O),u.sort(function(B,j){return B.index-j.index})}function y(L){return L?N(function(_){return!_.isClone}):u}function E(L){var _=e.Controller,I=_.toIndex(L),O=_.hasFocus()?1:t.perPage;return N(function(B){return fe(B.index,I,I+O-1)})}function p(L){return N(L)[0]}function m(L,_){st(L,function(I){if(St(I)&&(I=Ar(I)),Lr(I)){var O=l[_];O?$e(I,O):ee(d,I),ut(I,t.classes.slide),x(I,$(a,Xt))}}),a(Y)}function R(L){xt(N(L).map(function(_){return _.slide})),a(Y)}function w(L,_){y(_).forEach(L)}function N(L){return u.filter(Tr(L)?L:function(_){return St(L)?zt(_.slide,L):Ue(te(L),_.index)})}function b(L,_,I){w(function(O){O.style(L,_,I)})}function x(L,_){var I=Ge(L,"img"),O=I.length;O?I.forEach(function(B){s(B,"load error",function(){--O||_()})}):_()}function V(L){return L?l.length:u.length}function M(){return u.length>t.perPage}return{mount:g,destroy:v,update:c,register:f,get:y,getIn:E,getAt:p,add:m,remove:R,forEach:w,filter:N,style:b,getLength:V,isEnough:M}}function Vi(i,e,t){var r=q(i),n=r.on,a=r.bind,s=r.emit,o=e.Slides,l=e.Direction.resolve,d=e.Elements,u=d.root,g=d.track,h=d.list,v=o.getAt,c=o.style,f,y,E;function p(){m(),a(window,"resize load",bi($(s,Xt))),n([rt,Y],m),n(Xt,R)}function m(){f=t.direction===Le,at(u,"maxWidth",At(t.width)),at(g,l("paddingLeft"),w(!1)),at(g,l("paddingRight"),w(!0)),R(!0)}function R(k){var D=it(u);(k||y.width!==D.width||y.height!==D.height)&&(at(g,"height",N()),c(l("marginRight"),At(t.gap)),c("width",x()),c("height",V(),!0),y=D,s(je),E!==(E=z())&&(ht(u,Yr,E),s(vi,E)))}function w(k){var D=t.padding,T=l(k?"right":"left");return D&&At(D[T]||(Gt(D)?0:D))||"0px"}function N(){var k="";return f&&(k=b(),Ut(k,"height or heightRatio is missing."),k="calc("+k+" - "+w(!1)+" - "+w(!0)+")"),k}function b(){return At(t.height||it(h).width*t.heightRatio)}function x(){return t.autoWidth?null:At(t.fixedWidth)||(f?"":M())}function V(){return At(t.fixedHeight)||(f?t.autoHeight?null:M():b())}function M(){var k=At(t.gap);return"calc((100%"+(k&&" + "+k)+")/"+(t.perPage||1)+(k&&" - "+k)+")"}function L(){return it(h)[l("width")]}function _(k,D){var T=v(k||0);return T?it(T.slide)[l("width")]+(D?0:B()):0}function I(k,D){var T=v(k);if(T){var C=it(T.slide)[l("right")],W=it(h)[l("left")];return et(C-W)+(D?0:B())}return 0}function O(k){return I(i.length-1)-I(0)+_(0,k)}function B(){var k=v(0);return k&&parseFloat(at(k.slide,l("marginRight")))||0}function j(k){return parseFloat(at(g,l("padding"+(k?"Right":"Left"))))||0}function z(){return i.is(ae)||O(!0)>L()}return{mount:p,resize:R,listSize:L,slideSize:_,sliderSize:O,totalSize:I,getPadding:j,isOverflow:z}}var Fi=2;function Wi(i,e,t){var r=q(i),n=r.on,a=e.Elements,s=e.Slides,o=e.Direction.resolve,l=[],d;function u(){n(Y,g),n([rt,Xt],v),(d=y())&&(c(d),e.Layout.resize(!0))}function g(){h(),u()}function h(){xt(l),mt(l),r.destroy()}function v(){var E=y();d!==E&&(d<E||!E)&&r.emit(Y)}function c(E){var p=s.get().slice(),m=p.length;if(m){for(;p.length<E;)de(p,p);de(p.slice(-E),p.slice(0,E)).forEach(function(R,w){var N=w<E,b=f(R.slide,w);N?$e(b,p[0].slide):ee(a.list,b),de(l,b),s.register(b,w-E+(N?0:m),R.index)})}}function f(E,p){var m=E.cloneNode(!0);return ut(m,t.classes.clone),m.id=i.root.id+"-clone"+qe(p+1),m}function y(){var E=t.clones;if(!i.is(Ft))E=0;else if(Jt(E)){var p=t[o("fixedWidth")]&&e.Layout.slideSize(0),m=p&&Yt(it(a.track)[o("width")]/p);E=m||t[o("autoWidth")]&&i.length||t.perPage*Fi}return E}return{mount:u,destroy:h}}function Ui(i,e,t){var r=q(i),n=r.on,a=r.emit,s=i.state.set,o=e.Layout,l=o.slideSize,d=o.getPadding,u=o.totalSize,g=o.listSize,h=o.sliderSize,v=e.Direction,c=v.resolve,f=v.orient,y=e.Elements,E=y.list,p=y.track,m;function R(){m=e.Transition,n([Dt,je,rt,Y],w)}function w(){e.Controller.isBusy()||(e.Scroll.cancel(),b(i.index),e.Slides.update())}function N(T,C,W,Q){T!==C&&k(T>W)&&(L(),x(M(O(),T>W),!0)),s(Bt),a(Tt,C,W,T),m.start(C,function(){s(Ot),a(ne,C,W,T),Q&&Q()})}function b(T){x(I(T,!0))}function x(T,C){if(!i.is(ae)){var W=C?T:V(T);at(E,"transform","translate"+c("X")+"("+W+"px)"),T!==W&&a(Hr)}}function V(T){if(i.is(Ft)){var C=_(T),W=C>e.Controller.getEnd(),Q=C<0;(Q||W)&&(T=M(T,W))}return T}function M(T,C){var W=T-z(C),Q=h();return T-=f(Q*(Yt(et(W)/Q)||1))*(C?1:-1),T}function L(){x(O(),!0),m.cancel()}function _(T){for(var C=e.Slides.get(),W=0,Q=1/0,Z=0;Z<C.length;Z++){var Et=C[Z].index,S=et(I(Et,!0)-T);if(S<=Q)Q=S,W=Et;else break}return W}function I(T,C){var W=f(u(T-1)-j(T));return C?B(W):W}function O(){var T=c("left");return it(E)[T]-it(p)[T]+f(d(!1))}function B(T){return t.trimSpace&&i.is(Ht)&&(T=Pt(T,0,f(h(!0)-g()))),T}function j(T){var C=t.focus;return C==="center"?(g()-l(T,!0))/2:+C*l(T)||0}function z(T){return I(T?e.Controller.getEnd():0,!!t.trimSpace)}function k(T){var C=f(M(O(),T));return T?C>=0:C<=E[c("scrollWidth")]-it(p)[c("width")]}function D(T,C){C=Jt(C)?O():C;var W=T!==!0&&f(C)<f(z(!1)),Q=T!==!1&&f(C)>f(z(!0));return W||Q}return{mount:R,move:N,jump:b,translate:x,shift:M,cancel:L,toIndex:_,toPosition:I,getPosition:O,getLimit:z,exceededLimit:D,reposition:w}}function $i(i,e,t){var r=q(i),n=r.on,a=r.emit,s=e.Move,o=s.getPosition,l=s.getLimit,d=s.toPosition,u=e.Slides,g=u.isEnough,h=u.getLength,v=t.omitEnd,c=i.is(Ft),f=i.is(Ht),y=$(O,!1),E=$(O,!0),p=t.start||0,m,R=p,w,N,b;function x(){V(),n([rt,Y,pe],V),n(je,M)}function V(){w=h(!0),N=t.perMove,b=t.perPage,m=k();var S=Pt(p,0,v?m:w-1);S!==p&&(p=S,s.reposition())}function M(){m!==k()&&a(pe)}function L(S,U,tt){if(!Et()){var K=I(S),J=z(K);J>-1&&(U||J!==p)&&(W(J),s.move(K,J,R,tt))}}function _(S,U,tt,K){e.Scroll.scroll(S,U,tt,function(){var J=z(s.toIndex(o()));W(v?bt(J,m):J),K&&K()})}function I(S){var U=p;if(St(S)){var tt=S.match(/([+\-<>])(\d+)?/)||[],K=tt[1],J=tt[2];K==="+"||K==="-"?U=B(p+ +(""+K+(+J||1)),p):K===">"?U=J?D(+J):y(!0):K==="<"&&(U=E(!0))}else U=c?S:Pt(S,0,m);return U}function O(S,U){var tt=N||(Z()?1:b),K=B(p+tt*(S?-1:1),p,!(N||Z()));return K===-1&&f&&!xr(o(),l(!S),1)?S?0:m:U?K:z(K)}function B(S,U,tt){if(g()||Z()){var K=j(S);K!==S&&(U=S,S=K,tt=!1),S<0||S>m?!N&&(fe(0,S,U,!0)||fe(m,U,S,!0))?S=D(T(S)):c?S=tt?S<0?-(w%b||b):w:S:t.rewind?S=S<0?m:0:S=-1:tt&&S!==U&&(S=D(T(U)+(S<U?-1:1)))}else S=-1;return S}function j(S){if(f&&t.trimSpace==="move"&&S!==p)for(var U=o();U===d(S,!0)&&fe(S,0,i.length-1,!t.rewind);)S<p?--S:++S;return S}function z(S){return c?(S+w)%w||0:S}function k(){for(var S=w-(Z()||c&&N?1:b);v&&S-- >0;)if(d(w-1,!0)!==d(S,!0)){S++;break}return Pt(S,0,w-1)}function D(S){return Pt(Z()?S:b*S,0,m)}function T(S){return Z()?bt(S,m):me((S>=m?w-1:S)/b)}function C(S){var U=s.toIndex(S);return f?Pt(U,0,m):U}function W(S){S!==p&&(R=p,p=S)}function Q(S){return S?R:p}function Z(){return!Jt(t.focus)||t.isNavigation}function Et(){return i.state.is([Bt,Qt])&&!!t.waitForTransition}return{mount:x,go:L,scroll:_,getNext:y,getPrev:E,getAdjacent:O,getEnd:k,setIndex:W,getIndex:Q,toIndex:D,toPage:T,toDest:C,hasFocus:Z,isBusy:Et}}var Gi="http://www.w3.org/2000/svg",zi="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",ue=40;function qi(i,e,t){var r=q(i),n=r.on,a=r.bind,s=r.emit,o=t.classes,l=t.i18n,d=e.Elements,u=e.Controller,g=d.arrows,h=d.track,v=g,c=d.prev,f=d.next,y,E,p={};function m(){w(),n(rt,R)}function R(){N(),m()}function w(){var _=t.arrows;_&&!(c&&f)&&V(),c&&f&&(jt(p,{prev:c,next:f}),Kt(v,_?"":"none"),ut(v,E=Qe+"--"+t.direction),_&&(b(),L(),H([c,f],se,h.id),s(gi,c,f)))}function N(){r.destroy(),vt(v,E),y?(xt(g?[c,f]:v),c=f=null):ct([c,f],Ze)}function b(){n([Dt,ne,Y,Vt,pe],L),a(f,"click",$(x,">")),a(c,"click",$(x,"<"))}function x(_){u.go(_,!0)}function V(){v=g||kt("div",o.arrows),c=M(!0),f=M(!1),y=!0,ee(v,[c,f]),!g&&$e(v,h)}function M(_){var I='<button class="'+o.arrow+" "+(_?o.prev:o.next)+'" type="button"><svg xmlns="'+Gi+'" viewBox="0 0 '+ue+" "+ue+'" width="'+ue+'" height="'+ue+'" focusable="false">
1<path d="'+(t.arrowPath||zi)+'" />';return Ar(I)}function L(){if(c&&f){var _=i.index,I=u.getPrev(),O=u.getNext(),B=I>-1&&_<I?l.last:l.prev,j=O>-1&&_>O?l.first:l.next;c.disabled=I<0,f.disabled=O<0,H(c,nt,B),H(f,nt,j),s(mi,c,f,I,O)}}return{arrows:p,mount:m,destroy:N,update:L}}var ji=ze+"-interval";function Ki(i,e,t){var r=q(i),n=r.on,a=r.bind,s=r.emit,o=ye(t.interval,i.go.bind(i,">"),b),l=o.isPaused,d=e.Elements,u=e.Elements,g=u.root,h=u.toggle,v=t.autoplay,c,f,y=v==="pause";function E(){v&&(p(),h&&H(h,se,d.track.id),y||m(),N())}function p(){t.pauseOnHover&&a(g,"mouseenter mouseleave",function(V){c=V.type==="mouseenter",w()}),t.pauseOnFocus&&a(g,"focusin focusout",function(V){f=V.type==="focusin",w()}),h&&a(h,"click",function(){y?m():R(!0)}),n([Tt,Ke,Y],o.rewind),n(Tt,x)}function m(){l()&&e.Slides.isEnough()&&(o.start(!t.resetProgress),f=c=y=!1,N(),s(Rr))}function R(V){V===void 0&&(V=!0),y=!!V,N(),l()||(o.pause(),s(kr))}function w(){y||(c||f?R(!1):m())}function N(){h&&(ht(h,Ct,!y),H(h,nt,t.i18n[y?"play":"pause"]))}function b(V){var M=d.bar;M&&at(M,"width",V*100+"%"),s(yi,V)}function x(V){var M=e.Slides.getAt(V);o.set(M&&+ot(M.slide,ji)||t.interval)}return{mount:E,destroy:o.cancel,play:m,pause:R,isPaused:l}}function Yi(i,e,t){var r=q(i),n=r.on;function a(){t.cover&&(n(Nr,$(o,!0)),n([Dt,rt,Y],$(s,!0)))}function s(l){e.Slides.forEach(function(d){var u=re(d.container||d.slide,"img");u&&u.src&&o(l,u,d)})}function o(l,d,u){u.style("background",l?'center/cover no-repeat url("'+d.src+'")':"",!0),Kt(d,l?"none":"")}return{mount:a,destroy:$(s,!1)}}var Xi=10,Zi=600,Qi=.6,Ji=1.5,tn=800;function en(i,e,t){var r=q(i),n=r.on,a=r.emit,s=i.state.set,o=e.Move,l=o.getPosition,d=o.getLimit,u=o.exceededLimit,g=o.translate,h=i.is(Ht),v,c,f=1;function y(){n(Tt,R),n([rt,Y],w)}function E(b,x,V,M,L){var _=l();if(R(),V&&(!h||!u())){var I=e.Layout.sliderSize(),O=Oe(b)*I*me(et(b)/I)||0;b=o.toPosition(e.Controller.toDest(b%I))+O}var B=xr(_,b,1);f=1,x=B?0:x||ge(et(b-_)/Ji,tn),c=M,v=ye(x,p,$(m,_,b,L),1),s(Qt),a(Ke),v.start()}function p(){s(Ot),c&&c(),a(Vt)}function m(b,x,V,M){var L=l(),_=b+(x-b)*N(M),I=(_-L)*f;g(L+I),h&&!V&&u()&&(f*=Qi,et(I)<Xi&&E(d(u(!0)),Zi,!1,c,!0))}function R(){v&&v.cancel()}function w(){v&&!v.isPaused()&&(R(),p())}function N(b){var x=t.easingFunc;return x?x(b):1-Math.pow(1-b,4)}return{mount:y,destroy:R,scroll:E,cancel:w}}var Mt={passive:!1,capture:!0};function rn(i,e,t){var r=q(i),n=r.on,a=r.emit,s=r.bind,o=r.unbind,l=i.state,d=e.Move,u=e.Scroll,g=e.Controller,h=e.Elements.track,v=e.Media.reduce,c=e.Direction,f=c.resolve,y=c.orient,E=d.getPosition,p=d.exceededLimit,m,R,w,N,b,x=!1,V,M,L;function _(){s(h,Me,ke,Mt),s(h,Re,ke,Mt),s(h,Xr,O,Mt),s(h,"click",z,{capture:!0}),s(h,"dragstart",ft),n([Dt,rt],I)}function I(){var A=t.drag;sr(!A),N=A==="free"}function O(A){if(V=!1,!M){var G=J(A);K(A.target)&&(G||!A.button)&&(g.isBusy()?ft(A,!0):(L=G?h:window,b=l.is([Bt,Qt]),w=null,s(L,Me,B,Mt),s(L,Re,j,Mt),d.cancel(),u.cancel(),k(A)))}}function B(A){if(l.is(ce)||(l.set(ce),a(di)),A.cancelable)if(b){d.translate(m+tt(Z(A)));var G=Et(A)>yr,It=x!==(x=p());(G||It)&&k(A),V=!0,a(fi),ft(A)}else C(A)&&(b=T(A),ft(A))}function j(A){l.is(ce)&&(l.set(Ot),a(hi)),b&&(D(A),ft(A)),o(L,Me,B),o(L,Re,j),b=!1}function z(A){!M&&V&&ft(A,!0)}function k(A){w=R,R=A,m=E()}function D(A){var G=W(A),It=Q(G),Wt=t.rewind&&t.rewindByDrag;v(!1),N?g.scroll(It,0,t.snap):i.is(ae)?g.go(y(Oe(G))<0?Wt?"<":"-":Wt?">":"+"):i.is(Ht)&&x&&Wt?g.go(p(!0)?">":"<"):g.go(g.toDest(It),!0),v(!0)}function T(A){var G=t.dragMinThreshold,It=Gt(G),Wt=It&&G.mouse||0,ti=(It?G.touch:+G)||10;return et(Z(A))>(J(A)?ti:Wt)}function C(A){return et(Z(A))>et(Z(A,!0))}function W(A){if(i.is(Ft)||!x){var G=Et(A);if(G&&G<yr)return Z(A)/G}return 0}function Q(A){return E()+Oe(A)*bt(et(A)*(t.flickPower||600),N?1/0:e.Layout.listSize()*(t.flickMaxPages||1))}function Z(A,G){return U(A,G)-U(S(A),G)}function Et(A){return Ne(A)-Ne(S(A))}function S(A){return R===A&&w||R}function U(A,G){return(J(A)?A.changedTouches[0]:A)["page"+f(G?"Y":"X")]}function tt(A){return A/(x&&i.is(Ht)?Ni:1)}function K(A){var G=t.noDrag;return!zt(A,"."+zr+", ."+Ie)&&(!G||!zt(A,G))}function J(A){return typeof TouchEvent<"u"&&A instanceof TouchEvent}function Jr(){return b}function sr(A){M=A}return{mount:_,disable:sr,isDragging:Jr}}var nn={Spacebar:" ",Right:Te,Left:be,Up:Br,Down:Vr};function tr(i){return i=St(i)?i:i.key,nn[i]||i}var Sr="keydown";function sn(i,e,t){var r=q(i),n=r.on,a=r.bind,s=r.unbind,o=i.root,l=e.Direction.resolve,d,u;function g(){h(),n(rt,v),n(rt,h),n(Tt,f)}function h(){var E=t.keyboard;E&&(d=E==="global"?window:o,a(d,Sr,y))}function v(){s(d,Sr)}function c(E){u=E}function f(){var E=u;u=!0,br(function(){u=E})}function y(E){if(!u){var p=tr(E);p===l(be)?i.go("<"):p===l(Te)&&i.go(">")}}return{mount:g,destroy:v,disable:c}}var $t=ze+"-lazy",he=$t+"-srcset",an="["+$t+"], ["+he+"]";function on(i,e,t){var r=q(i),n=r.on,a=r.off,s=r.bind,o=r.emit,l=t.lazyLoad==="sequential",d=[ne,Vt],u=[];function g(){t.lazyLoad&&(h(),n(Y,h))}function h(){mt(u),v(),l?E():(a(d),n(d,c),c())}
vendor: 4,347 bytes, line 1
1function v(){e.Slides.forEach(function(p){Ge(p.slide,an).forEach(function(m){var R=ot(m,$t),w=ot(m,he);if(R!==m.src||w!==m.srcset){var N=t.classes.spinner,b=m.parentElement,x=re(b,"."+N)||kt("span",N,b);u.push([m,p,x]),m.src||Kt(m,"none")}})})}function c(){u=u.filter(function(p){var m=t.perPage*((t.preloadPages||1)+1)-1;return p[1].isWithin(i.index,m)?f(p):!0}),u.length||a(d)}function f(p){var m=p[0];ut(p[1].slide,Ve),s(m,"load error",$(y,p)),H(m,"src",ot(m,$t)),H(m,"srcset",ot(m,he)),ct(m,$t),ct(m,he)}function y(p,m){var R=p[0],w=p[1];vt(w.slide,Ve),m.type!=="error"&&(xt(p[2]),Kt(R,""),o(Nr,R,w),o(Xt)),l&&E()}function E(){u.length&&f(u.shift())}return{mount:g,destroy:$(mt,u),check:c}}function ln(i,e,t){var r=q(i),n=r.on,a=r.emit,s=r.bind,o=e.Slides,l=e.Elements,d=e.Controller,u=d.hasFocus,g=d.getIndex,h=d.go,v=e.Direction.resolve,c=l.pagination,f=[],y,E;function p(){m(),n([rt,Y,pe],p);var M=t.pagination;c&&Kt(c,M?"":"none"),M&&(n([Tt,Ke,Vt],V),R(),V(),a(pi,{list:y,items:f},x(i.index)))}function m(){y&&(xt(c?Lt(y.children):y),vt(y,E),mt(f),y=null),r.destroy()}function R(){var M=i.length,L=t.classes,_=t.i18n,I=t.perPage,O=u()?d.getEnd()+1:Yt(M/I);y=c||kt("ul",L.pagination,l.track.parentElement),ut(y,E=Ae+"--"+b()),H(y,gt,"tablist"),H(y,nt,_.select),H(y,Xe,b()===Le?"vertical":"");for(var B=0;B<O;B++){var j=kt("li",null,y),z=kt("button",{class:L.page,type:"button"},j),k=o.getIn(B).map(function(T){return T.slide.id}),D=!u()&&I>1?_.pageX:_.slideX;s(z,"click",$(w,B)),t.paginationKeyboard&&s(z,"keydown",$(N,B)),H(j,gt,"presentation"),H(z,gt,"tab"),H(z,se,k.join(" ")),H(z,nt,He(D,B+1)),H(z,Nt,-1),f.push({li:j,button:z,page:B})}}function w(M){h(">"+M,!0)}function N(M,L){var _=f.length,I=tr(L),O=b(),B=-1;I===v(Te,!1,O)?B=++M%_:I===v(be,!1,O)?B=(--M+_)%_:I==="Home"?B=0:I==="End"&&(B=_-1);var j=f[B];j&&(Ir(j.button),h(">"+B),ft(L,!0))}function b(){return t.paginationDirection||t.direction}function x(M){return f[d.toPage(M)]}function V(){var M=x(g(!0)),L=x(g());if(M){var _=M.button;vt(_,Ct),ct(_,vr),H(_,Nt,-1)}if(L){var I=L.button;ut(I,Ct),H(I,vr,!0),H(I,Nt,"")}a(Ei,{list:y,items:f},M,L)}return{items:f,mount:p,destroy:m,getAt:x,update:V}}var un=[" ","Enter"];function cn(i,e,t){var r=t.isNavigation,n=t.slideFocus,a=[];function s(){i.splides.forEach(function(c){c.isParent||(d(i,c.splide),d(c.splide,i))}),r&&u()}function o(){a.forEach(function(c){c.destroy()}),mt(a)}function l(){o(),s()}function d(c,f){var y=q(c);y.on(Tt,function(E,p,m){f.go(f.is(Ft)?m:E)}),a.push(y)}function u(){var c=q(i),f=c.on;f(Dr,h),f(Or,v),f([Dt,rt],g),a.push(c),c.emit(Mr,i.splides)}function g(){H(e.Elements.list,Xe,t.direction===Le?"vertical":"")}function h(c){i.go(c.index)}function v(c,f){Ue(un,tr(f))&&(h(c),ft(f))}return{setup:$(e.Media.set,{slideFocus:Jt(n)?r:n},!0),mount:s,destroy:o,remount:l}}function dn(i,e,t){var r=q(i),n=r.bind,a=0;function s(){t.wheel&&n(e.Elements.track,"wheel",o,Mt)}function o(d){if(d.cancelable){var u=d.deltaY,g=u<0,h=Ne(d),v=t.wheelMinThreshold||0,c=t.wheelSleep||0;et(u)>v&&h-a>c&&(i.go(g?"<":">"),a=h),l(g)&&ft(d)}}function l(d){return!t.releaseWheel||i.state.is(Bt)||e.Controller.getAdjacent(d)!==-1}return{mount:s}}var fn=90;function hn(i,e,t){var r=q(i),n=r.on,a=e.Elements.track,s=t.live&&!t.isNavigation,o=kt("span",Di),l=ye(fn,$(u,!1));function d(){s&&(h(!e.Autoplay.isPaused()),H(a,pr,!0),o.textContent="\u2026",n(Rr,$(h,!0)),n(kr,$(h,!1)),n([ne,Vt],$(u,!0)))}function u(v){H(a,mr,v),v?(ee(a,o),l.start()):(xt(o),l.cancel())}function g(){ct(a,[gr,pr,mr]),xt(o)}function h(v){s&&H(a,gr,v?"off":"polite")}return{mount:d,disable:h,destroy:g}}var vn=Object.freeze({__proto__:null,Media:Ti,Direction:Li,Elements:Oi,Slides:Bi,Layout:Vi,Clones:Wi,Move:Ui,Controller:$i,Arrows:qi,Autoplay:Ki,Cover:Yi,Scroll:en,Drag:rn,Keyboard:sn,LazyLoad:on,Pagination:ln,Sync:cn,Wheel:dn,Live:hn}),gn={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},mn={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace
1:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Ri,i18n:gn,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function pn(i,e,t){var r=e.Slides;function n(){q(i).on([Dt,Y],a)}function a(){r.forEach(function(o){o.style("transform","translateX(-"+100*o.index+"%)")})}function s(o,l){r.style("transition","opacity "+t.speed+"ms "+t.easing),br(l)}return{mount:n,start:s,cancel:ke}}function En(i,e,t){var r=e.Move,n=e.Controller,a=e.Scroll,s=e.Elements.list,o=$(at,s,"transition"),l;function d(){q(i).bind(s,"transitionend",function(v){v.target===s&&l&&(g(),l())})}function u(v,c){var f=r.toPosition(v,!0),y=r.getPosition(),E=h(v);et(f-y)>=1&&E>=1?t.useScroll?a.scroll(f,E,!1,c):(o("transform "+E+"ms "+t.easing),r.translate(f,!0),l=c):(r.jump(v),c())}function g(){o(""),a.cancel()}function h(v){var c=t.rewindSpeed;if(i.is(Ht)&&c){var f=n.getIndex(!0),y=n.getEnd();if(f===0&&v>=y||f>=y&&v===0)return c}return t.speed}return{mount:d,start:u,cancel:g}}var yn=(function(){function i(t,r){this.event=q(),this.Components={},this.state=Si(Rt),this.splides=[],this._o={},this._E={};var n=St(t)?wr(document,t):t;Ut(n,n+" is invalid."),this.root=n,r=yt({label:ot(n,nt)||"",labelledby:ot(n,Ye)||""},mn,i.defaults,r||{});try{yt(r,JSON.parse(ot(n,ze)))}catch{Ut(!1,"Invalid JSON")}this._o=Object.create(yt({},r))}var e=i.prototype;return e.mount=function(r,n){var a=this,s=this.state,o=this.Components;Ut(s.is([Rt,ve]),"Already mounted!"),s.set(Rt),this._C=o,this._T=n||this._T||(this.is(ae)?pn:En),this._E=r||this._E;var l=jt({},vn,this._E,{Transition:this._T});return wt(l,function(d,u){var g=d(a,o,a._o);o[u]=g,g.setup&&g.setup()}),wt(o,function(d){d.mount&&d.mount()}),this.emit(Dt),ut(this.root,Pi),s.set(Ot),this.emit(fr),this},e.sync=function(r){return this.splides.push({splide:r}),r.splides.push({splide:this,isParent:!0}),this.state.is(Ot)&&(this._C.Sync.remount(),r.Components.Sync.remount()),this},e.go=function(r){return this._C.Controller.go(r),this},e.on=function(r,n){return this.event.on(r,n),this},e.off=function(r){return this.event.off(r),this},e.emit=function(r){var n;return(n=this.event).emit.apply(n,[r].concat(Lt(arguments,1))),this},e.add=function(r,n){return this._C.Slides.add(r,n),this},e.remove=function(r){return this._C.Slides.remove(r),this},e.is=function(r){return this._o.type===r},e.refresh=function(){return this.emit(Y),this},e.destroy=function(r){r===void 0&&(r=!0);var n=this.event,a=this.state;return a.is(Rt)?q(this).on(fr,this.destroy.bind(this,r)):(wt(this._C,function(s){s.destroy&&s.destroy(r)},!0),n.emit(Pr),n.destroy(),r&&mt(this.splides),a.set(ve)),this},ii(i,[{key:"options",get:function(){return this._o},set:function(r){this._C.Media.set(r,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),i})(),oe=yn;oe.defaults={};oe.STATES=si;var er=class{async get(e){let t=await fetch(e,{method:"GET"});return this.handleResponse(t)}async handleResponse(e){let t=await e.json();if(e.ok===!1)throw new Error(e.statusText);return t}async post(e,t,r,n){try{return fetch(e,{body:r,headers:t,method:"post",signal:n})}catch(a){console.log("Error: ",a)}}},we=new er;var rr={phone:{down:window.matchMedia("(max-width: 319px)"),up:window.matchMedia("(min-width: 320px)")},phoneWide:{down:window.matchMedia("(max-width: 575px)"),up:window.matchMedia("(min-width: 576px)")},tablet:{down:window.matchMedia("(max-width: 767px)"),up:window.matchMedia("(min-width: 768px)")},tabletWide:{down:window.matchMedia("(max-width: 1023px)"),up:window.matchMedia("(min-width: 1024px)")},desktop:{down:window.matchMedia("(max-width: 1247px)"),up:window.matchMedia("(min-width: 1248px)")},desktopWide:{down:window.matchMedia("(max-width: 1439px)"),up:window.matchMedia("(min-width: 1440px)")},fullHd:{down:window.matchMedia("(max-width: 1919px)"),up:window.matchMedia("(min-width: 1920px)")}};var Zr=()=>rr.tabletWide.down.matches;var Qr=i=>document.querySelectorAll(`[data-js=${i}]`);var pt=(i,e)=>i===null?[]:i.querySelectorAll(`[data-js=${e}]`),P=(i,e)=>i===null?null:i.querySelector(`[data-js=${e}]`);var ir="is-active";var X="is-hidden",le="is-loading";var xe=class{constructor(e,t){F(this,"container");F(this,"dropdowns");F(this,"flyout");F(this,"onFilterChange");F(this,"sortDropdown");this.container=e,this.onFilterChange=t,this.dropdowns=pt(this.container,"filter-dropdown"),this.flyout=P(this.container,"filter-flyout"),this.sortDropdown=P(this.container,"filter-sort-dropdown")}init(){this.addDropdownEvents(),this.addFlyoutEvents(),this.addSortEvents()}addDropdownEvents(){this.dropdowns.length!==0&&(this.dropdowns.forEach(e
1=>{let t=pt(e,"filter-checkbox"),r=P(e,"filter-reset"),n=P(e,"filter-submit"),a=P(e,"filter-trigger"),s=a?.dataset.type;a?.addEventListener("click",()=>{let o=a.getAttribute("aria-expanded")==="true";this.closeAllDropdowns(),o||a.setAttribute("aria-expanded","true")}),t.forEach(o=>{o.addEventListener("change",()=>{this.updateResetVisibility(e)})}),n?.addEventListener("click",()=>{s==="category"&&(this.resetDropdownByType("subcategory"),this.filterSubcategoryOptions()),this.updateTriggerState(e),this.closeAllDropdowns(),this.emitFilterChange()}),r?.addEventListener("click",()=>{t.forEach(o=>{o.checked=!1}),this.updateResetVisibility(e),s==="category"&&(this.resetDropdownByType("subcategory"),this.filterSubcategoryOptions()),this.updateTriggerState(e),this.closeAllDropdowns(),this.emitFilterChange()})}),document.addEventListener("click",e=>{let t=e.target;t.closest('[data-js="filter-dropdown"]')===null&&t.closest('[data-js="filter-sort-dropdown"]')===null&&this.closeAllDropdowns()}))}addFlyoutEvents(){if(this.flyout===null)return;let e=this.container.querySelector('[data-js="filter-flyout-backdrop"]'),t=pt(this.flyout,"filter-flyout-checkbox"),r=P(this.flyout,"filter-flyout-close"),n=P(this.flyout,"filter-flyout-reset"),a=P(this.flyout,"filter-flyout-submit");P(this.container,"filter-flyout-trigger")?.addEventListener("click",()=>this.openFlyout()),r?.addEventListener("click",()=>this.closeFlyout()),e?.addEventListener("click",()=>this.closeFlyout()),t.forEach(o=>{o.addEventListener("change",()=>{this.updateFlyoutResetVisibility(),o.dataset.type==="category"&&this.filterFlyoutSubcategoryOptions()})}),a?.addEventListener("click",()=>{this.syncDesktopFromFlyout(),this.updateFlyoutTriggerState(),this.closeFlyout(),this.emitFilterChange()}),n?.addEventListener("click",()=>{t.forEach(o=>{o.checked=!1}),this.syncDesktopFromFlyout(),this.updateFlyoutResetVisibility(),this.updateFlyoutTriggerState(),this.closeFlyout(),this.emitFilterChange()})}addSortEvents(){if(this.sortDropdown===null)return;let e=pt(this.sortDropdown,"filter-sort-radio"),t=P(this.sortDropdown,"filter-sort-reset"),r=P(this.sortDropdown,"filter-sort-submit"),n=P(this.sortDropdown,"filter-sort-trigger"),a=P(this.sortDropdown,"filter-sort-trigger-text");n?.addEventListener("click",()=>{let s=n.getAttribute("aria-expanded")==="true";this.closeAllDropdowns(),s||n.setAttribute("aria-expanded","true")}),e.forEach(s=>{s.addEventListener("change",()=>{this.updateSortResetVisibility()})}),r?.addEventListener("click",()=>{let s=this.sortDropdown?.querySelector('[data-js="filter-sort-radio"]:checked');a!==null&&s?.parentElement!==null&&(a.textContent=s?.parentElement?.textContent??""),this.updateSortTriggerState(),this.closeAllDropdowns(),this.emitFilterChange()}),t?.addEventListener("click",()=>{let s=this.sortDropdown?.querySelector('[data-js="filter-sort-radio"][value="date_desc"]');s!==null&&(s.checked=!0),a!==null&&(a.textContent=a.dataset.defaultText??a.textContent),this.updateSortResetVisibility(),this.updateSortTriggerState(),this.closeAllDropdowns(),this.emitFilterChange()})}closeAllDropdowns(){this.dropdowns.forEach(t=>{P(t,"filter-trigger")?.setAttribute("aria-expanded","false")}),P(this.sortDropdown,"filter-sort-trigger")?.setAttribute("aria-expanded","false")}closeFlyout(){this.flyout?.classList.remove(ir),document.body.style.overflow=""}emitFilterChange(){this.onFilterChange(this.getState())}filterFlyoutSubcategoryOptions(){if(this.flyout===null)return;let e=this.getValuesFromCheckboxes(this.flyout.querySelectorAll('[data-js="filter-flyout-checkbox"][data-type="category"]'));this.flyout.querySelectorAll('[data-js="filter-flyout-checkbox"][data-type="subcategory"]').forEach(t=>{let r=t,n=r.closest(".filter-bar__option"),a=r.dataset.parent;a===void 0||n===null||(e.length===0||e.includes(parseInt(a,10))?n.classList.remove(X):(n.classList.add(X),r.checked=!1))})}filterSubcategoryOptions(){let e=Array.from(this.dropdowns).find(r=>P(r,"filter-trigger")?.dataset.type==="subcategory");if(e===void 0)return;let t=this.getDropdownValues("category");e.querySelectorAll(".filter-bar__option").forEach(r=>{let n=r.querySelector('[data-js="filter-checkbox"]'),a=n?.dataset.parent;if(a===void 0){r.classList.remove(X);return}t.length===0||t.includes(parseInt(a,10))?r.classList.remove(X):(r.classList.add(X),n!==null&&(n.checked=!1))})}getDropdownValues(e){let t=Array.from(this.dropdowns).find(r=>P(r,"filter-trigger")?.dataset.type===e);return t===void 0?[]:this.getValuesFromCheckboxes(t.querySelectorAll('[data-js="filter-checkbox"]'))}getSelectedSorting(){return this.sortDropdown?.querySelector('[data-js="filter-sort-radio"]:checked')?.value??"date_desc"}getState(){return{categories:this.getDropdownValues("category"),sorting:this.getSelectedSorting(),subcategories:this.getDropdownValues("subcategory")}}getValuesFromCheckboxes(e){let t=[];return e.forEach(r=>{let n=r;n.checked&&n.dataset.value&&t.push(parseInt(n.dataset.value,10))}),t}openFlyout(){this.flyout?.classList.add(ir),document.body.style.overflow="hidden"}resetDropdownByType(e){let t=Array.from(this.dropdowns).find(r=>P(r,"filter-trigger")?.dataset.type===e);t!==void 0&&(pt(t,"filter-checkbox").forEach(r=>{r.checked=!1}
1),this.updateResetVisibility(t),this.updateTriggerState(t))}syncDesktopFromFlyout(){if(this.flyout===null)return;let e=this.flyout.querySelectorAll('[data-js="filter-flyout-checkbox"]'),t=new Map;e.forEach(r=>{let n=r,a=n.dataset.type??"",s=n.dataset.value??"";t.has(a)||t.set(a,new Set),n.checked&&t.get(a)?.add(s)}),this.dropdowns.forEach(r=>{let a=P(r,"filter-trigger")?.dataset.type??"",s=t.get(a)??new Set;pt(r,"filter-checkbox").forEach(o=>{let l=o;l.checked=s.has(l.dataset.value??"")}),this.updateResetVisibility(r),this.updateTriggerState(r)})}updateFlyoutResetVisibility(){if(this.flyout===null)return;let e=this.flyout.querySelectorAll('[data-js="filter-flyout-checkbox"]'),t=P(this.flyout,"filter-flyout-reset");Array.from(e).some(n=>n.checked)?t?.classList.remove(X):t?.classList.add(X)}updateFlyoutTriggerState(){let e=P(this.container,"filter-flyout-trigger"),t=P(this.container,"filter-flyout-count");if(e===null||this.flyout===null)return;let r=this.flyout.querySelectorAll('[data-js="filter-flyout-checkbox"]'),n=Array.from(r).filter(a=>a.checked).length;n>0?(e.classList.add("has-selection"),t?.classList.remove(X),t!==null&&(t.textContent=n.toString())):(e.classList.remove("has-selection"),t?.classList.add(X))}updateResetVisibility(e){let t=pt(e,"filter-checkbox"),r=P(e,"filter-reset");Array.from(t).some(a=>a.checked)?r?.classList.remove(X):r?.classList.add(X)}updateSortResetVisibility(){if(this.sortDropdown===null)return;let e=P(this.sortDropdown,"filter-sort-reset");this.sortDropdown.querySelector('[data-js="filter-sort-radio"]:checked')?.value==="date_desc"?e?.classList.add(X):e?.classList.remove(X)}updateSortTriggerState(){if(this.sortDropdown===null)return;let e=P(this.sortDropdown,"filter-sort-trigger");this.sortDropdown.querySelector('[data-js="filter-sort-radio"]:checked')?.value==="date_desc"?e?.classList.remove("has-selection"):e?.classList.add("has-selection")}updateTriggerState(e){let t=pt(e,"filter-checkbox"),r=P(e,"filter-count"),n=P(e,"filter-trigger"),a=Array.from(t).filter(s=>s.checked).length;a>0?(n?.classList.add("has-selection"),r?.classList.remove(X),r!==null&&(r.textContent=a.toString())):(n?.classList.remove("has-selection"),r?.classList.add(X))}};var Ce=class{constructor(e,t){F(this,"apiUrl");F(this,"container");F(this,"currentCategories",[]);F(this,"currentPage",1);F(this,"currentSorting","date_desc");F(this,"currentSubcategories",[]);F(this,"filterBar");F(this,"isLoading",!1);F(this,"isRecordMode");F(this,"itemsPerPage");F(this,"list");F(this,"loadingBar");F(this,"loadingBarButton");F(this,"loadingBarEnd");F(this,"loadingBarProgress");F(this,"loadingBarStart");F(this,"pageIds");F(this,"recordIds");F(this,"skeleton");F(this,"tagId");F(this,"template");F(this,"totalItems",0);this.container=e,this.apiUrl=t.apiUrl??"",this.itemsPerPage=t.itemsPerPage??6,this.pageIds=e.dataset.items?.split(",").map(s=>parseInt(s.trim(),10)).filter(s=>!isNaN(s))??[],this.recordIds=e.dataset.recordIds?.split(",").map(s=>parseInt(s.trim(),10)).filter(s=>!isNaN(s))??[];let r=parseInt(e.dataset.tag??"",10);this.tagId=isNaN(r)?null:r,this.isRecordMode=this.recordIds.length>0,this.list=P(this.container,t.listSelector),this.loadingBar=P(this.container,"loading-bar"),this.loadingBarButton=P(this.loadingBar,"loading-bar-button"),this.loadingBarStart=P(this.loadingBar,"loading-bar-start"),this.loadingBarEnd=P(this.loadingBar,"loading-bar-end"),this.loadingBarProgress=P(this.loadingBar,"loading-bar-progress"),this.skeleton=P(this.container,"skeleton"),this.template=P(this.container,t.templateSelector);let n=P(this.container,"filter-bar");n!==null?(this.filterBar=new xe(n,s=>{this.currentCategories=s.categories,this.currentSorting=s.sorting,this.currentSubcategories=s.subcategories,this.currentPage=1,this.loadItems(!0)}
1),this.filterBar.init()):this.filterBar=null;let a=this.list?.children.length??0;a>0&&(this.currentPage=Math.ceil(a/this.itemsPerPage)),this.addLoadMoreEvent(),this.loadingBarEnd!==null&&(this.totalItems=parseInt(this.loadingBarEnd.textContent??"0",10),this.updateLoadingBar())}buildApiUrl(){let e=new URLSearchParams;return this.isRecordMode?(this.recordSlice(this.currentPage).forEach(t=>{e.append("uid[]",t.toString())}),`${this.apiUrl}?${e.toString()}`):(e.set("page",this.currentPage.toString()),e.set("itemsPerPage",this.itemsPerPage.toString()),this.currentCategories.forEach(t=>{e.append("category[]",t.toString())}),this.currentSubcategories.forEach(t=>{e.append("subcategory[]",t.toString())}),this.currentSorting!=="date_desc"&&e.set("sort",this.currentSorting),this.tagId!==null?(e.set("tags",this.tagId.toString()),`${this.apiUrl}?${e.toString()}`):(this.pageIds.forEach(t=>{e.append("pid[]",t.toString())}),`${this.apiUrl}?${e.toString()}`))}async loadItems(e){if(this.isLoading===!0||this.list===null)return;this.isLoading=!0,this.loadingBarButton?.classList.add(le),e===!0?(this.list.innerHTML="",this.list.style.display="none",this.showSkeleton()):this.appendSkeletonItems();let t=this.buildApiUrl();try{let r=await we.get(t);this.renderItems(this.isRecordMode?this.orderBySelection(r["hydra:member"]):r["hydra:member"]),this.totalItems=this.isRecordMode?this.recordIds.length:r["hydra:totalItems"];let n=this.isRecordMode?this.currentPage*this.itemsPerPage<this.recordIds.length:r["hydra:view"]?.["hydra:next"]!==void 0;this.updateLoadingBar(this.totalItems,n)}catch(r){console.error("Error loading items:",r)}finally{this.isLoading=!1,this.hideSkeleton(),this.removeSkeletonItems(),this.list.style.display="",this.loadingBarButton?.classList.remove(le)}}orderBySelection(e){return[...e].sort((t,r)=>this.recordIds.indexOf(t.uid)-this.recordIds.indexOf(r.uid))}recordSlice(e){return this.recordIds.slice((e-1)*this.itemsPerPage,e*this.itemsPerPage)}truncateText(e,t){let r=e.replace(/<[^>]*>/g,"");return r.length<=t?r:r.substring(0,t).trim()+"\u2026"}updatePictureSources(e,t){let r=t.teaserImageVariants;if(!r)return e.remove(),!1;let n=e.querySelectorAll("source"),a=e.querySelector("img"),s=t.teaserImageData;return n.forEach(o=>{let l=o.getAttribute("media");(l==="(min-width: 321px)"||l==="(min-width: 360px)"||l==="(min-width: 768px)"||l==="(min-width: 1440px)")&&r.teaser440x294?o.srcset=`${r.teaser440x294} 1x${r.teaser440x294_2x?`, ${r.teaser440x294_2x} 2x`:""}`:(l===null||l==="")&&r.teaser272x181&&(o.srcset=`${r.teaser272x181} 1x${r.teaser272x181_2x?`, ${r.teaser272x181_2x} 2x`:""}`)}),a!==null&&r.teaser440x294?(a.src=r.teaser440x294,a.srcset=`${r.teaser440x294} 1x${r.teaser440x294_2x?`, ${r.teaser440x294_2x} 2x`:""}`,a.alt=s?.alternative||t.teaserTitle||t.title,!0):(e.remove(),!1)}addLoadMoreEvent(){this.loadingBarButton!==null&&this.loadingBarButton.addEventListener("click",()=>{this.isLoading!==!0&&(this.currentPage++,this.loadItems(!1))})}appendSkeletonItems(){if(this.list===null||this.skeleton===null)return;let e=this.skeleton.querySelector(".skeleton__item");if(e!==null)for(let t=0;t<this.itemsPerPage;t++){let r=e.cloneNode(!0);r.dataset.skeleton="true",this.list.appendChild(r)}}hideSkeleton(){this.container.classList.remove(le)}removeSkeletonItems(){this.list!==null&&this.list.querySelectorAll('[data-skeleton="true"]').forEach(e=>{e.remove()})}renderItems(e){this.list===null||this.template===null||(this.removeSkeletonItems(),e.forEach(t=>{let r=this.createItem(t);r!==null&&this.list?.appendChild(r)}))}showSkeleton(){this.container.classList.add(le)}updateLoadingBar(e,t){if(this.loadingBar===null)return;let r=e??this.totalItems,n=this.list?.children.length??0;if(this.loadingBarStart!==null&&(this.loadingBarStart.textContent=n.toString()),this.loadingBarEnd!==null&&(this.loadingBarEnd.textContent=r.toString()),this.loadingBarProgress!==null){let s=r>0?n/r*100:0;this.loadingBarProgress.setAttribute("style",`--progress:${s}%`)}t===!1||n>=r?this.loadingBarButton?.classList.add(X):this.loadingBarButton?.classList.remove(X)}};var Sn=3,nr=class extends Ce{constructor(t){let r=t.dataset.apiUrl??"";super(t,{apiUrl:r===""?"":`${r.replace(/\/$/,"")}/publications`,containerSelector:"publication-list",itemsPerPage:8,listSelector:"publication-list-items",templateSelector:"publication-item-template"});F(this,"hasMoreSliderItems",!1);F(this,"layout");F(this,"slider",null);F(this,"sliderElement");F(this,"sliderMounted",!1);this.layout=parseInt(t.dataset.layout??"0",10),this.sliderElement=P(this.container,"publication-sli
1der")}init(){this.layout===0?this.initSlider():this.layout===1&&this.initResponsiveSlider()}createItem(t){if(this.template===null)return null;let n=this.template.content.cloneNode(!0).firstElementChild;if(n===null)return null;let a=P(n,"publication-badge"),s=P(n,"publication-fallback"),o=P(n,"publication-info"),l=P(n,"publication-link"),d=P(n,"publication-picture"),u=P(n,"publication-tags"),g=P(n,"publication-title"),h=P(n,"publication-type");if(d!==null&&this.updatePictureSources(d,t)&&s?.remove(),o!==null&&a!==null&&t.category?(a.textContent=t.category.title,t.category.color&&a.classList.add("bg-"+t.category.color)):o?.remove(),l!==null&&(l.href=t.detailLink||t.slug),g!==null&&(g.textContent=t.teaserTitle||t.title),u!==null&&(t.tags&&t.tags.length>0||t.issueNumber)){if(t.tags&&t.tags.forEach(v=>{let c=document.createElement("li");c.className="tag",c.textContent=v.title,u.appendChild(c)}),t.issueNumber){let v=document.createElement("li");v.className="tag",v.textContent=t.issueNumber,u.appendChild(v)}}else u?.remove();return h!==null&&t.type?h.textContent=t.type:h?.remove(),(this.layout===0||this.layout===1&&this.sliderMounted)&&n.classList.add("splide__slide"),n}updatePictureSources(t,r){let n=r.imageVariants,a=t.querySelector("img");if(!n||!n["392x261"]||a===null)return t.remove(),!1;let s=n["392x261"],o=`${s} 1x${n["392x261_2x"]?`, ${n["392x261_2x"]} 2x`:""}`;return t.querySelectorAll("source").forEach(l=>{l.srcset=o}),a.src=s,a.srcset=o,a.alt=r.imageData?.alternative||r.teaserTitle||r.title,!0}addSlideClasses(){if(this.list===null)return;let t=this.list.children;for(let r=0;r<t.length;r++)t[r].classList.add("splide__slide")}addSliderLazyLoad(){this.slider!==null&&(this.slider.on("moved",t=>{if(this.slider===null||this.isLoading===!0||this.hasMoreSliderItems===!1)return;let r=this.slider.Components.Elements.list.childElementCount,n=this.slider.options.perPage??4;r-t-n<=Sn&&this.loadSliderItems()}),this.slider.on("arrows:updated",(t,r)=>{this.hasMoreSliderItems===!0&&r.disabled===!0&&requestAnimationFrame(()=>{r.disabled=!1})}))}addSliderSkeletonSlides(){if(this.slider===null||this.skeleton===null)return;let t=this.skeleton.querySelector(".skeleton__item");if(t!==null)for(let r=0;r<this.itemsPerPage;r++){let n=t.cloneNode(!0);n.dataset.skeletonSlide="true",this.slider?.add(n)}}buildSliderApiUrl(){let t=new URLSearchParams;return this.isRecordMode?(this.recordSlice(this.currentPage).forEach(r=>{t.append("uid[]",r.toString())}),`${this.apiUrl}?${t.toString()}`):(t.set("page",this.currentPage.toString()),t.set("itemsPerPage",this.itemsPerPage.toString()),this.tagId!==null?(t.set("tags",this.tagId.toString()),`${this.apiUrl}?${t.toString()}`):(this.pageIds.forEach(r=>{t.append("pid[]",r.toString())}),`${this.apiUrl}?${t.toString()}`))}getSliderOptions(){return{arrows:!0,breakpoints:{1024:{perMove:1,perPage:2},768:{pagination:!1,perMove:1,perPage:2},575:{focus:"center",gap:"1rem",pagination:!1,perMove:1,perPage:1.1}},gap:"1.25rem",perMove:1,perPage:4,type:"slide"}}initResponsiveSlider(){if(this.sliderElement===null)return;let t=rr.tabletWide.down,r=this.getSliderOptions();this.slider=new oe(this.sliderElement,r);let n=a=>{this.slider!==null&&(a?this.sliderMounted||(this.addSlideClasses(),this.slider.mount(),this.sliderMounted=!0,this.hasMoreSliderItems=this.isRecordMode?this.recordIds.length>this.slider.length:this.slider.length>=this.itemsPerPage,this.addSliderLazyLoad(),this.slider.on("resized",()=>this.updateControlsVisibility()),this.updateControlsVisibility()):this.sliderMounted&&(this.slider.destroy(!0),this.sliderMounted=!1,this.removeSlideClasses()))};n(Zr()),t.addEventListener("change",a=>{n(a.matches)})}initSlider(){if(this.sliderElement===null)return;let t=this.getSliderOptions();this.slider=new oe(this.sliderElement,t),this.slider.on("resized",()=>this.updateControlsVisibility()),this.slider.mount(),this.sliderMounted=!0,this.hasMoreSliderItems=this.isRecordMode?this.recordIds.length>this.slider.length:this.slider.length>=this.itemsPerPage,this.addSliderLazyLoad(),this.updateControlsVisibility()}async loadSliderItems(){if(this.slider===null||this.isLoading===!0||this.apiUrl==="")return;this.isLoading=!0,this.currentPage++,this.addSliderSkeletonSlides();let t=this.buildSliderApiUrl();try{let r=await we.get(t);this.removeSliderSkeletonSlides(),(this.isRecordMode?this.orderBySelection(r["hydra:member"]):r["hydra:member"]).forEac
1h(a=>{let s=this.createItem(a);s!==null&&this.slider?.add(s)}),this.hasMoreSliderItems=this.isRecordMode?this.currentPage*this.itemsPerPage<this.recordIds.length:r["hydra:view"]?.["hydra:next"]!==void 0}catch(r){console.error("Error loading slider items:",r),this.removeSliderSkeletonSlides()}finally{this.isLoading=!1}}removeSlideClasses(){if(this.list===null)return;let t=this.list.children;for(let r=0;r<t.length;r++)t[r].classList.remove("splide__slide")}removeSliderSkeletonSlides(){if(this.slider===null)return;this.slider.Components.Elements.list.querySelectorAll('[data-skeleton-slide="true"]').forEach(n=>{(n.closest(".splide__slide")??n).remove()}),this.slider.refresh()}updateControlsVisibility(){if(this.slider===null||this.sliderElement===null)return;let t=this.sliderElement.querySelector(".splide__controls");if(t===null)return;let r=Math.ceil(this.slider.options.perPage??4);t.style.display=this.slider.length<=r?"none":""}},bn=Qr("publication-list");bn.forEach(i=>{new nr(i).init()});})();
2/*! Bundled license information:
3
4@splidejs/splide/dist/js/splide.esm.js:
5  (*!
6   * Splide.js
7   * Version  : 4.1.4
8   * License  : MIT
9   * Copyright: 2022 Naotoshi Fujita
10   *)
11*/
12//# sourceMappingURL=PublicationList.min.js.map

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.