PageSourceSearch

https://www.die-neue-welle.de/wp-content/themes/cmms-theme-radio_die_neue_welle/assets/dist/1.70/app-legacy.js

js die-neue-welle.de collected 2026-10-02 07:53:23 UTC 297,948 bytes, 22 lines download raw bytes

1System.register(["./swiper-legacy.js"],(function(e,t){"use strict";var n,a,i,o,r,s,l,c;return{setters:[e=>{n=e.d,a=e.S,i=e.N,o=e.P,r=e.A,s=e.f,l=e.K,c=e.a}],execute:function(){e({$:Ha,D:li,u:z,v:di,x:ui,y:pi,z:ci});const d=new class{#e=null;set(e){this.#e=e}get(){return this.#e}},u={path:"/"};class p{static get(e){const t=document.cookie.split(";");for(const n in t){const a=t[n].split("=");if(a.length>1&&String(a[0]).trim()===String(e))return decodeURIComponent(String(a[1]).trim())}return null}static set(e,t,n=u){let a="";for(const i in n)a+=` ${i}=${n[i]};`;document.cookie=`${e}=${encodeURIComponent(t)};${a}`}static delete(e,t={}){p.set(e,"",Object.assign({},u,t,{"max-age":0}))}}const h="BASE_VIEW_NAV",m="BASE_VIEW_HANDLE_RESPONSE",w={ELEMENT_PROVIDER_READY:"ELEMENT_PROVIDER_READY",AFTER_CONSENT:"SOYLENT_AFTER_CONSENT",APP_MOUNT_READY:"APP_MOUNT_READY"},g=e("k",{AUDIO_ENDED:"PLAYER_AUDIO_ENDED"}),y=e("j",new class{#t={};on(e,t){this.#t[e]||(this.#t[e]=[]),this.#t[e].push(t)}off(e,t){if(!this.#t[e])return;const n=this.#t[e].indexOf(t);n>=0&&this.#t[e].splice(n,1)}dispatch(e,...t){this.#t[e]&&this.#t[e].forEach((e=>e(...t)))}}),f=e("_",((e,t)=>{const n=e.__vccOpts||e;for(const[a,i]of t)n[a]=i;return n})),_="soylent_smartbanner",b={name:"SmartBanner",data:()=>({smartBannerSettings:null,closed:!1,consentReady:!1}),computed:{isActive(){let e=this.getSettings();return e&&!1!==this.consentReady?e.active?Boolean(e.active):void 0:null}},methods:{consentReadyAction(){this.consentReady=!0},getSettings:()=>"soylent_settings"in window&&"smart_banner"in window.soylent_settings?window.soylent_settings.smart_banner:null,showOnStartup(){let e=this.getSettings();return!(!e||!("show_on_startup"in e))&&Boolean(e.show_on_startup)},getUrl(){return this.smartBannerSettings?navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)?`https://apps.apple.com/de/app/${this.smartBannerSettings.id_ios}`:`https://play.google.com/store/apps/details?id=${this.smartBannerSettings.id_android}`:""},close(){this.setDeactivateCookie(),this.closed=!0},setDeactivateCookie(){let e=new Date;e.setTime(e.getTime()+2592e6),p.set(_,!0,{path:"/",expires:e.toGMTString()})}},beforeMount(){this.smartBannerSettings=this.getSettings(),this.closed=Boolean(p.get(_)),this.showOnStartup()?this.consentReadyAction():y.on(w.AFTER_CONSENT,this.consentReadyAction)}},v=window.Vue.createElementVNode,k=window.Vue.openBlock,S=window.Vue.createElementBlock,E=window.Vue.createCommentVNode,C=window.Vue.toDisplayString,A=window.Vue.Transition,V=window.Vue.withCtx,P=window.Vue.createVNode,T=window.Vue.Teleport,x=window.Vue.createBlock,D={key:0,id:"soylent_smartbanner",class:"smartbanner"},O=["href"],I=["src"],M={class:"smartbanner__text"},N={class:"smartbanner__title"},B={class:"smartbanner__description"},L=f(b,[["render",function(e,t,n,a,i,o){return k(),x(T,{to:"body"},[P(A,{name:"slide-down"},{default:V((()=>[o.isActive&&!i.closed?(k(),S("div",D,[v("div",{onClick:t[0]||(t[0]=(...e)=>o.close&&o.close(...e)),class:"iconSet smartbanner__close"},"close"),v("a",{href:o.getUrl(),onClick:t[1]||(t[1]=(...e)=>o.close&&o.close(...e)),target:"_blank",rel:"nofollow",class:"smartbanner__cta"},[i.smartBannerSettings.logo?(k(),S("img",{key:0,src:i.smartBannerSettings.logo,class:"smartbanner__thumb"},null,8,I)):E("",!0),v("div",M,[v("span",N,C(i.smartBannerSettings.label),1),v("span",B,C(i.smartBannerSettings.description),1)]),t[2]||(t[2]=v("div",{class:"smartbanner__button"},"Öffnen",-1))],8,O)])):E("",!0)])),_:1})])}]]),R=e("A","soylent_settings"in window&&window.soylent_settings.app_mode||!1);class j{#n=[];add(e){"string"==typeof e?this.#n.push(e):console.error("[soylent:featureProvider] Cannot add feature, the passed flag is not a string",e)}has(e){return this.#n.includes(e)}remove(e){const t=this.#n.indexOf(e);(e=>0)&&this.#n.splice(t,1)}}function z(){return"__soylent"in window||(window.__soylent={}),"featureProvider"in window.__soylent||(window.__soylent.featureProvider=new j),window.__soylent.featureProvider}const $=e("p","Sso"),U={name:"PageNotificationItem",data:()=>({closed:!1,timeoutId:null}),props:{notification:{type:Object}},methods:{close(){this.closed=!0},openUrl(){const e=this.notification.url;if(e)try{const t=new URL(e,window.location.origin);if(!["http:","https:"].includes(t.protocol))return;if(t.origin===window.location.origin){const e=`${t.pathname}${t.search}${t.hash}`;this.$router.push(e)}else window.open(t.href,"_blank","noopener,noreferrer");this.closed=!0}catch{this.closed=!0}finally{this.closed=!0}}},beforeMount(){""!==this.notification.lifetime_in_seconds&&(this.notification.lifetime_in_seconds<=0?this.close():this.timeoutId=setTimeout((()=>{this.close()}),1e3*this.notification.lifetime_in_seconds))},unmounted(){this.timeoutId&&clearTimeout(this.timeoutId)}},F=window.Vue.toDisplayString,H=window.Vue.createElementVNode,G=window.Vue.openBlock,W=window.Vue.createElementBlock,Y=window.Vue.createCommentVNode,q=window.Vue.resolveDynamicComponent,K=window.Vue.withCtx,J=window.Vue.createBlock,Q=window.Vue.withKeys,Z=window.Vue.resolveDirective,X=window.Vue.withDirectives,ee=window.Vue.Transition,te={class:"page-notification__title"},ne={class:"page-notification__description"},ae={key:0,class:"page-notification__button"},ie={name:"PageNotifications",components:{PageNotificationItem:f(U,[["render",function(e,t,n,a,i,o){const r=Z("focustrap");return G(),J(ee,{name:"slide-up"},{default:K((()=>[n.notification&&!i.closed?X((G(),W("div",{key:0,onKeydown:t[2]||(t[2]=Q(((...e)=>o.close&&o.close(...e)),["esc"])),class:"page-notification"},[(G(),J(q(n.notification.url?"button":"div"),{onClick:t[0]||(t[0]=e=>n.notification.url?o.openUrl():null),class:"page-notification__body"},{default:K((()=>[H("span",te,F(n.notification.title),1),H("span",ne,F(n.notification.text),1),n.notification.url?(G(),W("span",ae,"Öffnen")):Y("",!0)])),_:1})),H("button",{onClick:t[1]||(t[1]=(...e)=>o.close&&o.close(...e)),class:"iconSet page-notification__close"},"close")],32)),[[r]]):Y("",!0)])),_:1})}]])},data:()=>({closed:!0}),computed:{storeCurrentData(){return this.$store.state.app.currentData},notifications(){return this.storeCurrentData.page_notifications&&this.storeCurrentData.page_notifications.length>0?this.storeCurrentData.page_notifications:null},notification(){return this.storeCurrentData.page_notifications&&this.storeCurrentData.page_notifications.length>0?this.storeCurrentData.page_notifications[0]:null}},methods:{close(){this.closed=!0},openUrl(){this.$router.push(this.notification.url),this.closed=!0}},watch:{notification:{handler(e){this.closed=!1}
1,deep:!0,immediate:!0}}},oe=window.Vue.renderList,re=window.Vue.Fragment,se=window.Vue.openBlock,le=window.Vue.createElementBlock,ce=window.Vue.resolveComponent,de=window.Vue.createBlock,ue=window.Vue.createCommentVNode,pe={key:0,class:"page-notification__wrapper"},he=f(ie,[["render",function(e,t,n,a,i,o){const r=ce("PageNotificationItem");return o.notifications?(se(),le("div",pe,[(se(!0),le(re,null,oe(o.notifications,((e,t)=>(se(),de(r,{notification:e,key:`notification_${e.id}`},null,8,["notification"])))),128))])):ue("",!0)}]]),me=new class{#t={};on(e,t,n={}){const{priority:a=10}=n;this.#t[e]||(this.#t[e]=[]),this.#t[e][`p${a}`]||(this.#t[e][`p${a}`]=[]),this.#t[e][`p${a}`].push(t)}off(e,t,n={}){const{priority:a=10}=n;if(console.debug("[SoylentFilterProvider] Unsubscribing "+e),!this.#t[e]||!this.#t[e][`p${a}`])return;const i=this.#t[e][`p${a}`].indexOf(t);i>=0?(this.#t[e][`p${a}`].splice(i,1),console.debug("[SoylentFilterProvider] Callback removed ")):(console.debug("[SoylentFilterProvider] Callback not found "),console.debug(t))}filter(e,t,n={},...a){const{once:i=!1}=n;let o=0;if(!this.#t[e])return t;const r=this.#t[e];return Object.keys(r).sort(((e,t)=>parseInt(e.substring(1),10)-parseInt(t.substring(1),10))).forEach((e=>{r[e].forEach((e=>{(i&&o<1||!i)&&(t=e(t,...a)),o++}))})),t}},we=null,ge="PAUSED",ye=e("G","PLAYING"),fe="BUFFERING",_e="ERROR",be="AUDIO",ve="PODCAST",ke="CHANNEL",Se="durationchange",Ee="ended",Ce="error",Ae="pause",Ve="play",Pe="playing",Te="progress",xe="timeupdate",De="stalled",Oe="waiting",Ie="seeking",Me="skip_next",Ne="player_filter__source_url",Be={data:function(){return{resizeTimer:null}},components:{PageNotifications:he,SmartBanner:L},computed:{layoutComponent:function(){return d.get()},classNames:function(){return{"--loading":this.$store.getters.isLoading,"--header_open":0===this.$store.getters.scrollOffset.y,"--menu_open":this.menuOpen,"--sub-menu__open":this.subMenuOpen,"--with_search":this.$store.getters.isSearchOpen,"--with_category-modal":this.categoryModalOpen}},categoryModalOpen:function(){return this.$store.getters.isCategoryModalOpen},menuOpen:function(){return this.$store.getters.isMenuOpen},subMenuOpen:function(){return this.$store.getters.isSubMenuOpen},hasSmartBanner:()=>!R&&!!(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i)),hasLoginActive(){return!!z().has($)&&this.isAuth},isAuth(){return this.$store.state.sso.auth}},methods:{onWindowChange:function(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(this.setScrollOffset.bind(this),100)},setScrollOffset:function(){this.$store.dispatch("setScrollOffset",{x:window.pageXOffset,y:window.pageYOffset}),window.pageYOffset>0&&this.$store.dispatch("setRenderedFullPage",!0)},fetchCurrentData:function(){window.isDynamicRenderer||(this.$store.dispatch("getCurrentData"),setTimeout((()=>{this.fetchCurrentData()}),6e4))},consentReadyEvent(){new class{#a;#i;constructor(){this.#a=null,this.#i=window.soylent_settings.tcf_query_key,this.getTcfString(),me.on(Ne,this.filter.bind(this))}filter(e){if(this.#a){const t=e.includes("?")?"&":"?";e=`${e}${t}${this.#i}=${this.#a}`,console.debug("[PlayerSourceFilter] - added TCF-String")}return e}getTcfString(){"__tcfapi"in window&&this.#i&&__tcfapi("getTCData",2,((e,t)=>{t&&"tcString"in e&&(this.#a=e.tcString)}))}},window.UC_UI.isConsentRequired()?window.addEventListener("UC_UI_VIEW_CHANGED",(function(e){"NONE"===e.detail.view&&y.dispatch(w.AFTER_CONSENT)})):y.dispatch(w.AFTER_CONSENT)},afterConsent(){const e=new Event(w.AFTER_CONSENT);window.dispatchEvent(e)}},mounted(){z().has("CurrentData")&&this.fetchCurrentData()},watch:{categoryModalOpen:function(e){document.body.style.overflow=!0===e?"hidden":""},menuOpen:function(e){document.body.style.overflow=!0===e?"hidden":""},hasLoginActive:function(e){!0===e&&this.$store.dispatch("BookmarksOnlineStore/fetchBookmarks")}},created(){window.addEventListener("scroll",this.onWindowChange),window.addEventListener("resize",this.onWindowChange),this.$nextTick((()=>{this.onWindowChange(),window.UC_UI&&UC_UI.isInitialized()?this.consentReadyEvent():window.addEventListener("UC_UI_INITIALIZED",this.consentReadyEvent)}))},beforeUnmount(){window.removeEventListener("scroll",this.onWindowChange),window.removeEventListener("resize",this.onWindowChange)}}
1,Le=window.Vue.resolveComponent,Re=window.Vue.openBlock,je=window.Vue.createBlock,ze=window.Vue.createCommentVNode,$e=window.Vue.createVNode,Ue=window.Vue.resolveDynamicComponent,Fe=window.Vue.normalizeClass,He=window.Vue.createElementVNode,Ge=window.Vue.Fragment,We=window.Vue.createElementBlock,Ye=f(Be,[["render",function(e,t,n,a,i,o){const r=Le("SmartBanner"),s=Le("PageNotifications");return Re(),We(Ge,null,[o.hasSmartBanner?(Re(),je(r,{key:0})):ze("",!0),$e(s),He("div",{id:"app",class:Fe(o.classNames)},[(Re(),je(Ue(o.layoutComponent)))],2)],64)}]]);function qe(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:{}}const Ke="function"==typeof Proxy,Je="devtools-plugin:setup";let Qe,Ze;function Xe(){return void 0!==Qe||("undefined"!=typeof window&&window.performance?(Qe=!0,Ze=window.performance):"undefined"!=typeof globalThis&&(null===(e=globalThis.perf_hooks)||void 0===e?void 0:e.performance)?(Qe=!0,Ze=globalThis.perf_hooks.performance):Qe=!1),Qe?Ze.now():Date.now();var e}class et{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const n={};if(e.settings)for(const r in e.settings){const t=e.settings[r];n[r]=t.defaultValue}const a=`__vue-devtools-plugin-settings__${e.id}`;let i=Object.assign({},n);try{const e=localStorage.getItem(a),t=JSON.parse(e);Object.assign(i,t)}catch(o){}this.fallbacks={getSettings:()=>i,setSettings(e){try{localStorage.setItem(a,JSON.stringify(e))}catch(o){}i=e},now:()=>Xe()},t&&t.on("plugin:settings:set",((e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)})),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:"on"===t?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise((n=>{this.targetQueue.push({method:t,args:e,resolve:n})}))})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function tt(e,t){const n=e,a=qe(),i=qe().__VUE_DEVTOOLS_GLOBAL_HOOK__,o=Ke&&n.enableEarlyProxy;if(!i||!a.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&o){const e=o?new et(n,i):null;(a.__VUE_DEVTOOLS_PLUGINS__=a.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:e}),e&&t(e.proxiedTarget)}else i.emit(Je,e,t)}
2/*!
3             * vue-router v4.6.4
4             * (c) 2025 Eduardo San Martin Morote
5             * @license MIT
6             */window.Vue.getCurrentInstance,window.Vue.inject,window.Vue.onActivated,window.Vue.onDeactivated,window.Vue.onUnmounted,window.Vue.watch;const nt="undefined"!=typeof document;function at(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const it=Object.assign;function ot(e,t){const n={};for(const a in t){const i=t[a];n[a]=st(i)?i.map(e):e(i)}return n}const rt=()=>{},st=Array.isArray;function lt(e,t){const n={};for(const a in e)n[a]=a in t?t[a]:e[a];return n}const ct=/#/g,dt=/&/g,ut=/\//g,pt=/=/g,ht=/\?/g,mt=/\+/g,wt=/%5B/g,gt=/%5D/g,yt=/%5E/g,ft=/%60/g,_t=/%7B/g,bt=/%7C/g,vt=/%7D/g,kt=/%20/g;function St(e){return null==e?"":encodeURI(""+e).replace(bt,"|").replace(wt,"[").replace(gt,"]")}function Et(e){return St(e).replace(mt,"%2B").replace(kt,"+").replace(ct,"%23").replace(dt,"%26").replace(ft,"`").replace(_t,"{").replace(vt,"}").replace(yt,"^")}function Ct(e){return function(e){return St(e).replace(ct,"%23").replace(ht,"%3F")}(e).replace(ut,"%2F")}function At(e){if(null==e)return null;try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Vt=/\/$/,Pt=e=>e.replace(Vt,"");function Tt(e,t,n="/"){let a,i={},o="",r="";const s=t.indexOf("#");let l=t.indexOf("?");return l=s>=0&&l>s?-1:l,l>=0&&(a=t.slice(0,l),o=t.slice(l,s>0?s:t.length),i=e(o.slice(1))),s>=0&&(a=a||t.slice(0,s),r=t.slice(s,t.length)),a=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),a=e.split("/"),i=a[a.length-1];".."!==i&&"."!==i||a.push("");let o,r,s=n.length-1;for(o=0;o<a.length;o++)if(r=a[o],"."!==r){if(".."!==r)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+a.slice(o).join("/")}(null!=a?a:t,n),{fullPath:a+o+r,path:a,query:i,hash:At(r)}}function xt(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Dt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ot(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!It(e[n],t[n]))return!1;return!0}function It(e,t){return st(e)?Mt(e,t):st(t)?Mt(t,e):e?.valueOf()===t?.valueOf()}function Mt(e,t){return st(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}const Nt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Bt=function(e){return e.pop="pop",e.push="push",e}({}),Lt=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});const Rt=/^[^#]+#/;function jt(e,t){return e.replace(Rt,"#")+t}const zt=()=>({left:window.scrollX,top:window.scrollY});function $t(e){let t;if("el"in e){const n=e.el,a="string"==typeof n&&n.startsWith("#"),i="string"==typeof n?a?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),a=e.getBoundingClientRect();return{behavior:t.behavior,left:a.left-n.left-(t.left||0),top:a.top-n.top-(t.top||0)}}(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}
6function Ut(e,t){return(history.state?history.state.position-t:-1)+e}const Ft=new Map;function Ht(e){return"string"==typeof e||"symbol"==typeof e}let Gt=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const Wt=Symbol("");function Yt(e,t){return it(new Error,{type:e,[Wt]:!0},t)}function qt(e,t){return e instanceof Error&&Wt in e&&(null==t||!!(e.type&t))}function Kt(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let a=0;a<n.length;++a){const e=n[a].replace(mt," "),i=e.indexOf("="),o=At(i<0?e:e.slice(0,i)),r=i<0?null:At(e.slice(i+1));if(o in t){let e=t[o];st(e)||(e=t[o]=[e]),e.push(r)}else t[o]=r}return t}function Jt(e){let t="";for(let n in e){const a=e[n];n=Et(n).replace(pt,"%3D"),null!=a?(st(a)?a.map((e=>e&&Et(e))):[a&&Et(a)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})):void 0!==a&&(t+=(t.length?"&":"")+n)}return t}function Qt(e){const t={};for(const n in e){const a=e[n];void 0!==a&&(t[n]=st(a)?a.map((e=>null==e?null:""+e)):null==a?a:""+a)}return t}Gt.MATCHER_NOT_FOUND,Gt.NAVIGATION_GUARD_REDIRECT,Gt.NAVIGATION_ABORTED,Gt.NAVIGATION_CANCELLED,Gt.NAVIGATION_DUPLICATED;const Zt=Symbol(""),Xt=Symbol(""),en=Symbol(""),tn=Symbol(""),nn=Symbol("");function an(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function on(e,t,n,a,i,o=(e=>e())){const r=a&&(a.enterCallbacks[i]=a.enterCallbacks[i]||[]);return()=>new Promise(((s,l)=>{const c=e=>{var o;!1===e?l(Yt(Gt.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(o=e)||o&&"object"==typeof o?l(Yt(Gt.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(r&&a.enterCallbacks[i]===r&&"function"==typeof e&&r.push(e),s())},d=o((()=>e.call(a&&a.instances[i],t,n,c)));let u=Promise.resolve(d);e.length<3&&(u=u.then(c)),u.catch((e=>l(e)))}))}function rn(e,t,n,a,i=(e=>e())){const o=[];for(const r of e)for(const e in r.components){let s=r.components[e];if("beforeRouteEnter"===t||r.instances[e])if(at(s)){const l=(s.__vccOpts||s)[t];l&&o.push(on(l,n,a,r,e,i))}else{let l=s();o.push((()=>l.then((o=>{if(!o)throw new Error(`Couldn't resolve component "${e}" at "${r.path}"`);const s=(l=o).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&at(l.default)?o.default:o;var l;r.mods[e]=o,r.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&on(c,n,a,r,e,i)()}))))}}return o}
7/*!
8             * vue-router v4.6.4
9             * (c) 2025 Eduardo San Martin Morote
10             * @license MIT
11             */
12const sn=window.Vue.computed,ln=window.Vue.defineComponent;window.Vue.getCurrentInstance;const cn=window.Vue.h,dn=window.Vue.inject,un=window.Vue.nextTick,pn=window.Vue.provide,hn=window.Vue.reactive,mn=window.Vue.ref,wn=window.Vue.shallowReactive,gn=window.Vue.shallowRef,yn=window.Vue.unref,fn=window.Vue.watch;window.Vue.watchEffect;let _n=()=>location.protocol+"//"+location.host;function bn(e,t){const{pathname:n,search:a,hash:i}=t,o=e.indexOf("#");if(o>-1){let t=i.includes(e.slice(o))?e.slice(o).length:1,n=i.slice(t);return"/"!==n[0]&&(n="/"+n),xt(n,"")}return xt(n,e)+a+i}function vn(e,t,n,a=!1,i=!1){return{back:e,current:t,forward:n,replaced:a,position:window.history.length,scroll:i?zt():null}}let kn=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var Sn=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(Sn||{});const En={type:kn.Static,value:""},Cn=/[a-zA-Z0-9_]/,An="[^/]+?",Vn={sensitive:!1,strict:!1,start:!0,end:!0};var Pn=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e}(Pn||{});const Tn=/[.+*?^${}()[\]/\\]/g;function xn(e,t){let n=0;for(;n<e.length&&n<t.length;){const a=t[n]-e[n];if(a)return a;n++}return e.length<t.length?1===e.length&&e[0]===Pn.Static+Pn.Segment?-1:1:e.length>t.length?1===t.length&&t[0]===Pn.Static+Pn.Segment?1:-1:0}function Dn(e,t){let n=0;const a=e.score,i=t.score;for(;n<a.length&&n<i.length;){const e=xn(a[n],i[n]);if(e)return e;n++}
12if(1===Math.abs(i.length-a.length)){if(On(a))return 1;if(On(i))return-1}return i.length-a.length}function On(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const In={strict:!1,end:!0,sensitive:!1};function Mn(e,t,n){const a=function(e,t){const n=it({},Vn,t),a=[];let i=n.start?"^":"";const o=[];for(const s of e){const e=s.length?[]:[Pn.Root];n.strict&&!s.length&&(i+="/");for(let t=0;t<s.length;t++){const a=s[t];let r=Pn.Segment+(n.sensitive?Pn.BonusCaseSensitive:0);if(a.type===kn.Static)t||(i+="/"),i+=a.value.replace(Tn,"\\$&"),r+=Pn.Static;else if(a.type===kn.Param){const{value:e,repeatable:n,optional:l,regexp:c}=a;o.push({name:e,repeatable:n,optional:l});const d=c||An;d!==An&&(r+=Pn.BonusCustomRegExp);let u=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(u=l&&s.length<2?`(?:/${u})`:"/"+u),l&&(u+="?"),i+=u,r+=Pn.Dynamic,l&&(r+=Pn.BonusOptional),n&&(r+=Pn.BonusRepeatable),".*"===d&&(r+=Pn.BonusWildcard)}e.push(r)}a.push(e)}if(n.strict&&n.end){const e=a.length-1;a[e][a[e].length-1]+=Pn.BonusStrict}n.strict||(i+="/?"),n.end?i+="$":n.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const r=new RegExp(i,n.sensitive?"":"i");return{re:r,score:a,keys:o,parse:function(e){const t=e.match(r),n={};if(!t)return null;for(let a=1;a<t.length;a++){const e=t[a]||"",i=o[a-1];n[i.name]=e&&i.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",a=!1;for(const i of e){a&&n.endsWith("/")||(n+="/"),a=!1;for(const e of i)if(e.type===kn.Static)n+=e.value;else if(e.type===kn.Param){const{value:o,repeatable:r,optional:s}=e,l=o in t?t[o]:"";if(st(l)&&!r)throw new Error(`Provided param "${o}" is an array but it is not repeatable (* or + modifiers)`);const c=st(l)?l.join("/"):l;if(!c){if(!s)throw new Error(`Missing required param "${o}"`);i.length<2&&(n.endsWith("/")?n=n.slice(0,-1):a=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[En]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=Sn.Static,a=n;const i=[];let o;function r(){o&&i.push(o),o=[]}let s,l=0,c="",d="";function u(){c&&(n===Sn.Static?o.push({type:kn.Static,value:c}):n===Sn.Param||n===Sn.ParamRegExp||n===Sn.ParamRegExpEnd?(o.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:kn.Param,value:c,regexp:d,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function p(){c+=s}for(;l<e.length;)if(s=e[l++],"\\"!==s||n===Sn.ParamRegExp)switch(n){case Sn.Static:"/"===s?(c&&u(),r()):":"===s?(u(),n=Sn.Param):p();break;case Sn.EscapeNext:p(),n=a;break;case Sn.Param:"("===s?n=Sn.ParamRegExp:Cn.test(s)?p():(u(),n=Sn.Static,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case Sn.ParamRegExp:")"===s?"\\"==d[d.length-1]?d=d.slice(0,-1)+s:n=Sn.ParamRegExpEnd:d+=s;break;case Sn.ParamRegExpEnd:u(),n=Sn.Static,"*"!==s&&"?"!==s&&"+"!==s&&l--,d="";break;default:t("Unknown state")}else a=n,n=Sn.EscapeNext;return n===Sn.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),u(),r(),i}(e.path),n),i=it(a,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function Nn(e,t){const n=[],a=new Map;function i(e,n,a){const s=!a,l=Ln(e);l.aliasOf=a&&a.record;const c=lt(t,e),d=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)d.push(Ln(it({},l,{components:a?a.record.components:l.components,path:e,aliasOf:a?a.record:l})))}let u,p;for(const t of d){const{path:d}=t;if(n&&"/"!==d[0]){const e=n.record.path,a="/"===e[e.length-1]?"":"/";t.path=n.record.path+(d&&a+d)}if(u=Mn(t,n,c),a?a.alias.push(u):(p=p||u,p!==u&&p.alias.push(u),s&&e.name&&!jn(u)&&o(e.name)),$n(u)&&r(u),l.children){const e=l.children;for(let t=0;t<e.length;t++)i(e[t],u,a&&a.children[t])}a=a||u}return p?()=>{o(p)}:rt}function o(e){if(Ht(e)){const t=a.get(e);t&&(a.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&a.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function r(e){const t=function(e,t){let n=0,a=t.length;for(;n!==a;){const i=n+a>>1;Dn(e,t[i])<0?a=i:n=i+1}const i=function(e){let t=e;for(;t=t.parent;)if($n(t)&&0===Dn(e,t))return t}(e);return i&&(a=t.lastIndexOf(i,a-1)),a}(e,n);n.splice(t,0,e),e.record.name&&!jn(e)&&a.set(e.record.name,e)}return t=lt(In,t),e.forEach((e=>i(e))),{addRoute:i,resolve:function(e,t){let i,o,r,s={};if("name"in e&&e.name){if(i=a.get(e.name),!i)throw Yt(Gt.MATCHER_NOT_FOUND,{location:e});r=i.record.name,s=it(Bn(t.params,i.keys.filter((e=>!e.optional)).concat(i.parent?i.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Bn(e.params,i.keys.map((e=>e.name)))),o=i.stringify(s)}else if(null!=e.path)o=e.path,i=n.find((e=>e.re.test(o))),i&&(s=i.parse(o),r=i.record.name);else{if(i=t.name?a.get(t.name):n.find((e=>e.re.test(t.path))),!i)throw Yt(Gt.MATCHER_NOT_FOUND,{location:e,currentLocation:t});r=i.record.name,s=it({},t.params,e.params),o=i.stringify(s)}const l=[];let c=i;for(;c;)l.unshift(c.record),c=c.parent;return{name:r,path:o,params:s,matched:l,meta:zn(l)}},removeRoute:o,clearRoutes:function(){n.length=0,a.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return a.get(e)}}}function Bn(e,t){const n={};for(const a of t)a in e&&(n[a]=e[a]);return n}function Ln(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Rn(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Rn(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const a in e.components)t[a]="object"==typeof n?n[a]:n;return t}function jn(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function zn(e){return e.reduce(((e,t)=>it(e,t.meta)),{})}function $n({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Un(e){const t=dn(en),n=dn(tn),a=sn((()=>{const n=yn(e.to);return t.resolve(n)})),i=sn((()=>{const{matched:e}=a.value,{length:t}=e,i=e[t-1],o=n.matched;
12if(!i||!o.length)return-1;const r=o.findIndex(Dt.bind(null,i));if(r>-1)return r;const s=Gn(e[t-2]);return t>1&&Gn(i)===s&&o[o.length-1].path!==s?o.findIndex(Dt.bind(null,e[t-2])):r})),o=sn((()=>i.value>-1&&function(e,t){for(const n in t){const a=t[n],i=e[n];if("string"==typeof a){if(a!==i)return!1}else if(!st(i)||i.length!==a.length||a.some(((e,t)=>e.valueOf()!==i[t].valueOf())))return!1}return!0}(n.params,a.value.params))),r=sn((()=>i.value>-1&&i.value===n.matched.length-1&&Ot(n.params,a.value.params)));return{route:a,href:sn((()=>a.value.href)),isActive:o,isExactActive:r,navigate:function(n={}){if(function(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}(n)){const n=t[yn(e.replace)?"replace":"push"](yn(e.to)).catch(rt);return e.viewTransition&&"undefined"!=typeof document&&"startViewTransition"in document&&document.startViewTransition((()=>n)),n}return Promise.resolve()}}}const Fn=ln({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Un,setup(e,{slots:t}){const n=hn(Un(e)),{options:a}=dn(en),i=sn((()=>({[Wn(e.activeClass,a.linkActiveClass,"router-link-active")]:n.isActive,[Wn(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const a=t.default&&(1===(o=t.default(n)).length?o[0]:o);var o;return e.custom?a:cn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},a)}}}),Hn=Fn;function Gn(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Wn=(e,t,n)=>null!=e?e:null!=t?t:n;function Yn(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const qn=ln({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const a=dn(nn),i=sn((()=>e.route||a.value)),o=dn(Xt,0),r=sn((()=>{let e=yn(o);const{matched:t}=i.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),s=sn((()=>i.value.matched[r.value]));pn(Xt,sn((()=>r.value+1))),pn(Zt,s),pn(nn,i);const l=mn();return fn((()=>[l.value,s.value,e.name]),(([e,t,n],[a,i,o])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===a&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),!e||!t||i&&Dt(t,i)&&a||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const a=i.value,o=e.name,r=s.value,c=r&&r.components[o];if(!c)return Yn(n.default,{Component:c,route:a});const d=r.props[o],u=d?!0===d?a.params:"function"==typeof d?d(a):d:null,p=cn(c,it({},u,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(r.instances[o]=null)},ref:l}));return Yn(n.default,{Component:p,route:a})||p}}}),Kn=window.Vue.inject,Jn=window.Vue.effectScope,Qn=window.Vue.reactive,Zn=window.Vue.watch,Xn=window.Vue.computed;var ea="store";function ta(e){return void 0===e&&(e=null),Kn(null!==e?e:ea)}function na(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function aa(e){return null!==e&&"object"==typeof e}function ia(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function oa(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;sa(e,n,[],e._modules.root,!0),ra(e,n,t)}function ra(e,t,n){var a=e._state,i=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,r={},s={},l=Jn(!0);l.run((function(){na(o,(function(t,n){r[n]=function(e,t){return function(){return e(t)}}(t,e),s[n]=Xn((function(){return r[n]()})),Object.defineProperty(e.getters,n,{get:function(){return s[n].value},enumerable:!0})}))})),e._state=Qn({data:t}),e._scope=l,e.strict&&function(e){Zn((function(){return e._state.data}),(function(){}),{deep:!0,flush:"sync"})}(e),a&&n&&e._withCommit((function(){a.data=null})),i&&i.stop()}function sa(e,t,n,a,i){var o=!n.length,r=e._modules.getNamespace(n);if(a.namespaced&&(e._modulesNamespaceMap[r],e._modulesNamespaceMap[r]=a),!o&&!i){var s=ca(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){s[l]=a.state}))}var c=a.context=function(e,t,n){var a=""===t,i={dispatch:a?e.dispatch:function(n,a,i){var o=da(n,a,i),r=o.payload,s=o.options,l=o.type;return s&&s.root||(l=t+l),e.dispatch(l,r)},commit:a?e.commit:function(n,a,i){var o=da(n,a,i),r=o.payload,s=o.options,l=o.type;s&&s.root||(l=t+l),e.commit(l,r,s)}};return Object.defineProperties(i,{getters:{get:a?function(){return e.getters}:function(){return la(e,t)}},state:{get:function(){return ca(e.state,n)}}}),i}(e,r,n);a.forEachMutation((function(t,n){!function(e,t,n,a){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,a.state,t)}))}(e,r+n,t,c)})),a.forEachAction((function(t,n){var a=t.root?n:r+n,i=t.handler||t;!function(e,t,n,a){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i,o=n.call(e,{dispatch:a.dispatch,commit:a.commit,getters:a.getters,state:a.state,rootGetters:e.getters,rootState:e.state},t);return(i=o)&&"function"==typeof i.then||(o=Promise.resolve(o)),e._devtoolHook?o.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):o}))}(e,a,i,c)})),a.forEachGetter((function(t,n){!function(e,t,n,a){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(a.state,a.getters,e.state,e.getters)})}(e,r+n,t,c)})),a.forEachChild((function(a,o){sa(e,t,n.concat(o),a,i)}))}function la(e,t){if(!e._makeLocalGettersCache[t]){var n={},a=t.length;
vendor: 9,471 bytes, line 12
12Object.keys(e.getters).forEach((function(i){if(i.slice(0,a)===t){var o=i.slice(a);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function ca(e,t){return t.reduce((function(e,t){return e[t]}),e)}function da(e,t,n){return aa(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var ua="vuex bindings",pa="vuex:mutations",ha="vuex:actions",ma="vuex",wa=0;function ga(e,t){tt({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[ua]},(function(n){n.addTimelineLayer({id:pa,label:"Vuex Mutations",color:ya}),n.addTimelineLayer({id:ha,label:"Vuex Actions",color:ya}),n.addInspector({id:ma,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===e&&n.inspectorId===ma)if(n.filter){var a=[];va(a,t._modules.root,n.filter,""),n.rootNodes=a}else n.rootNodes=[ba(t._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===e&&n.inspectorId===ma){var a=n.nodeId;la(t,a),n.state=function(e,t,n){t="root"===n?t:t[n];var a=Object.keys(t),i={state:Object.keys(e.state).map((function(t){return{key:t,editable:!0,value:e.state[t]}}))};if(a.length){var o=function(e){var t={};return Object.keys(e).forEach((function(n){var a=n.split("/");if(a.length>1){var i=t,o=a.pop();a.forEach((function(e){i[e]||(i[e]={_custom:{value:{},display:e,tooltip:"Module",abstract:!0}}),i=i[e]._custom.value})),i[o]=ka((function(){return e[n]}))}else t[n]=ka((function(){return e[n]}))})),t}(t);i.getters=Object.keys(o).map((function(e){return{key:e.endsWith("/")?_a(e):e,editable:!1,value:ka((function(){return o[e]}))}}))}return i}((i=t._modules,(r=(o=a).split("/").filter((function(e){return e}))).reduce((function(e,t,n){var a=e[t];if(!a)throw new Error('Missing module "'+t+'" for path "'+o+'".');return n===r.length-1?a:a._children}),"root"===o?i:i.root._children)),"root"===a?t.getters:t._makeLocalGettersCache,a)}var i,o,r})),n.on.editInspectorState((function(n){if(n.app===e&&n.inspectorId===ma){var a=n.nodeId,i=n.path;"root"!==a&&(i=a.split("/").filter(Boolean).concat(i)),t._withCommit((function(){n.set(t._state.data,i,n.state.value)}))}})),t.subscribe((function(e,t){var a={};e.payload&&(a.payload=e.payload),a.state=t,n.notifyComponentUpdate(),n.sendInspectorTree(ma),n.sendInspectorState(ma),n.addTimelineEvent({layerId:pa,event:{time:Date.now(),title:e.type,data:a}})})),t.subscribeAction({before:function(e,t){var a={};e.payload&&(a.payload=e.payload),e._id=wa++,e._time=Date.now(),a.state=t,n.addTimelineEvent({layerId:ha,event:{time:e._time,title:e.type,groupId:e._id,subtitle:"start",data:a}})},after:function(e,t){var a={},i=Date.now()-e._time;a.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},e.payload&&(a.payload=e.payload),a.state=t,n.addTimelineEvent({layerId:ha,event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:"end",data:a}})}})}))}var ya=8702998,fa={label:"namespaced",textColor:16777215,backgroundColor:6710886};function _a(e){return e&&"root"!==e?e.split("/").slice(-2,-1)[0]:"Root"}function ba(e,t){return{id:t||"root",label:_a(t),tags:e.namespaced?[fa]:[],children:Object.keys(e._children).map((function(n){return ba(e._children[n],t+n+"/")}))}}function va(e,t,n,a){a.includes(n)&&e.push({id:a||"root",label:a.endsWith("/")?a.slice(0,a.length-1):a||"Root",tags:t.namespaced?[fa]:[]}),Object.keys(t._children).forEach((function(i){va(e,t._children[i],n,a+i+"/")}))}function ka(e){try{return e()}catch(t){return t}}var Sa=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},Ea={namespaced:{configurable:!0}};Ea.namespaced.get=function(){return!!this._rawModule.namespaced},Sa.prototype.addChild=function(e,t){this._children[e]=t},Sa.prototype.removeChild=function(e){delete this._children[e]},Sa.prototype.getChild=function(e){return this._children[e]},Sa.prototype.hasChild=function(e){return e in this._children},Sa.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},Sa.prototype.forEachChild=function(e){na(this._children,e)},Sa.prototype.forEachGetter=function(e){this._rawModule.getters&&na(this._rawModule.getters,e)},Sa.prototype.forEachAction=function(e){this._rawModule.actions&&na(this._rawModule.actions,e)},Sa.prototype.forEachMutation=function(e){this._rawModule.mutations&&na(this._rawModule.mutations,e)},Object.defineProperties(Sa.prototype,Ea);var Ca=function(e){this.register([],e,!1)};function Aa(e,t,n){if(t.update(n),n.modules)for(var a in n.modules){if(!t.getChild(a))return;Aa(e.concat(a),t.getChild(a),n.modules[a])}}Ca.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},Ca.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},Ca.prototype.update=function(e){Aa([],this.root,e)},Ca.prototype.register=function(e,t,n){var a=this;void 0===n&&(n=!0);var i=new Sa(t,n);0===e.length?this.root=i:this.get(e.slice(0,-1)).addChild(e[e.length-1],i),t.modules&&na(t.modules,(function(t,i){a.register(e.concat(i),t,n)}))},Ca.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],a=t.getChild(n);a&&a.runtime&&t.removeChild(n)},Ca.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var Va=function(e){var t=this;void 0===e&&(e={});var n=e.plugins;void 0===n&&(n=[]);var a=e.strict;void 0===a&&(a=!1);var i=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Ca(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=i;var o=this,r=this.dispatch,s=this.commit;this.dispatch=function(e,t){return r.call(o,e,t)},this.commit=function(e,t,n){return s.call(o,e,t,n)},this.strict=a;var l=this._modules.root.state;sa(this,l,[],this._modules.root),ra(this,l),n.forEach((function(e){return e(t)}))},Pa={state:{configurable:!0}};Va.prototype.install=function(e,t){e.provide(t||ea,this),e.config.globalProperties.$store=this,void 0!==this._devtools&&this._devtools&&ga(e,this)},Pa.state.get=function(){return this._state.data},Pa.state.set=function(e){},Va.prototype.commit=function(e,t,n){var a=this,i=da(e,t,n),o=i.type,r=i.payload,s={type:o,payload:r},l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(e){e(r)}))})),this._subscribers.slice().forEach((function(e){return e(s,a.state)})))},Va.prototype.dispatch=function(e,t){var n=this,a=da(e,t),i=a.type,o=a.payload,r={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(r,n.state)}))}catch(c){}var l=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(r,n.state)}))}catch(c){}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(r,n.state,e)}))}catch(c){}t(e)}))}))}},Va.prototype.subscribe=function(e,t){return ia(e,this._subscribers,t)},Va.prototype.subscribeAction=function(e,t){return ia("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},Va.prototype.watch=function(e,t,n){var a=this;return Zn((function(){return e(a.state,a.getters)}),t,Object.assign({},n))},Va.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._state.data=e}))},Va.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),sa(this,this.state,e,this._modules.get(e),n.preserveState),ra(this,this.state)},Va.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){delete ca(t.state,e.slice(0,-1))[e[e.length-1]]})),oa(this)},Va.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},Va.prototype.hotUpdate=function(e){this._modules.update(e),oa(this,!0)},Va.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(Va.prototype,Pa);var Ta=e("d",Oa((function(e,t){var n={};return Da(t).forEach((function(t){var a=t.key,i=t.val;i=e+i,n[a]=function(){if(!e||Ia(this.$store,0,e))return this.$store.getters[i]},n[a].vuex=!0})),n}))),xa=e("m",Oa((function(e,t){var n={};return Da(t).forEach((function(t){var a=t.key,i=t.val;n[a]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var a=this.$store.dispatch;if(e){var o=Ia(this.$store,0,e);if(!o)return;a=o.context.dispatch}return"function"==typeof i?i.apply(this,[a].concat(t)):a.apply(this.$store,[i].concat(t))}})),n})));function Da(e){return function(e){return Array.isArray(e)||aa(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}
12})):[]}function Oa(e){return function(t,n){return"string"!=typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function Ia(e,t,n){return e._modulesNamespaceMap[n]}const Ma=e("c",function e(t){function n(e,t,a){var i,o={};if(Array.isArray(e))return e.concat(t);for(i in e)o[a?i.toLowerCase():i]=e[i];for(i in t){var r=a?i.toLowerCase():i,s=t[i];o[r]=r in o&&"object"==typeof s?n(o[r],s,"headers"==r):s}return o}function a(e,a,i,o,r){var s="string"!=typeof e?(a=e).url:e,l={config:a},c=n(t,a),d={};o=o||c.data,(c.transformRequest||[]).map((function(e){o=e(o,c.headers)||o})),c.auth&&(d.authorization=c.auth),o&&"object"==typeof o&&"function"!=typeof o.append&&"function"!=typeof o.text&&(o=JSON.stringify(o),d["content-type"]="application/json");try{d[c.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp("(^|; )"+c.xsrfCookieName+"=([^;]*)"))[2])}catch(e){}return c.baseURL&&(s=s.replace(/^(?!.*\/\/)\/?/,c.baseURL+"/")),c.params&&(s+=(~s.indexOf("?")?"&":"?")+(c.paramsSerializer?c.paramsSerializer(c.params):new URLSearchParams(c.params))),(c.fetch||fetch)(s,{method:(i||c.method||"get").toUpperCase(),body:o,headers:n(c.headers,d,!0),credentials:c.withCredentials?"include":r}).then((function(e){for(var t in e)"function"!=typeof e[t]&&(l[t]=e[t]);return"stream"==c.responseType?(l.data=e.body,l):e[c.responseType||"text"]().then((function(e){l.data=e,l.data=JSON.parse(e)})).catch(Object).then((function(){return(c.validateStatus?c.validateStatus(e.status):e.ok)?l:Promise.reject(l)}))}))}return t=t||{},a.request=a,a.get=function(e,t){return a(e,t,"get")},a.delete=function(e,t){return a(e,t,"delete")},a.head=function(e,t){return a(e,t,"head")},a.options=function(e,t){return a(e,t,"options")},a.post=function(e,t,n){return a(e,n,"post",t)},a.put=function(e,t,n){return a(e,n,"put",t)},a.patch=function(e,t,n){return a(e,n,"patch",t)},a.all=Promise.all.bind(Promise),a.spread=function(e){return e.apply.bind(e,e)},a.CancelToken="function"==typeof AbortController?AbortController:Object,a.defaults=t,a.create=e,a}()),Na="soylent_component_data_",Ba={state:{modalVisible:!1,modalType:null},mutations:{SET_MODAL_VISIBLE(e,t){e.modalVisible=t},SET_MODAL_TYPE(e,t){e.modalType=t}},getters:{modalVisible:e=>e.modalVisible,modalType:e=>e.modalType},actions:{setModalVisible(e,t){e.commit("SET_MODAL_VISIBLE",t)},setModalType(e,t){e.commit("SET_MODAL_TYPE",t)}}},La="SHOW_READER",Ra="HIDE_READER",ja="SHOW_READER_AUTOPLAY",za="SET_READER_AUTOPLAY",$a=new Va({modules:{app:{state:{headerHeight:64,loading:!1,menuOpen:!1,subMenuOpen:!1,pageData:{},pageDebugData:null,pageTemplate:null,scrollOffset:{x:0,y:0},categoryModalOpen:!1,searchOpen:!1,currentData:{},hasFavorites:!1,componentData:{},loadedScripts:[],renderedFullPage:!1,renderedImages:0},mutations:{SET_HAS_FAVORITES(e,t){e.hasFavorites=t},CLOSE_CATEGORY_MODAL(e){e.categoryModalOpen=!1},CLOSE_MENU(e){e.menuOpen=!1},CLOSE_SUB_MENU(e){e.subMenuOpen=!1},CLOSE_SEARCH(e){e.searchOpen=!1},SET_LOADING(e,t){e.loading=t},SET_CURRENT_DATA(e,t){e.currentData=t},SET_PAGE_DATA(e,t){e.pageData=t},SET_PAGE_DEBUG_DATA(e,t){e.pageDebugData=t},SET_PAGE_TEMPLATE(e,t){e.pageTemplate=t},SET_SCROLL_OFFSET(e,t){e.scrollOffset=t},SET_HEADER_HEIGHT(e,t){e.headerHeight=t},SET_SUB_MENU_OPEN(e,t){e.subMenuOpen=t},TOGGLE_CATEGORY_MODAL(e){e.categoryModalOpen=!e.categoryModalOpen},TOGGLE_MENU(e){e.menuOpen=!e.menuOpen},TOGGLE_SEARCH(e){e.searchOpen=!e.searchOpen},SET_SCRIPT_LOADED(e,t){e.loadedScripts.includes(t)||e.loadedScripts.push(t)},UPDATE_COMPONENT_DATA(e,t){!1 in t||("persistent"in t&&!0===t.persistent&&window.localStorage.setItem(Na+t.key,JSON.stringify(t.value)),e.componentData[t.key]=t.value)},SET_RENDERED_FULL_PAGE(e,t){e.renderedFullPage=t},SET_RENDERED_IMAGES(e,t){e.renderedImages=t},INCREASE_RENDERED_IMAGES(e){e.renderedImages++},RESET_RENDERED_IMAGES(e){e.renderedImages=0}},getters:{hasFavorites:e=>e.hasFavorites,currentData:e=>e.currentData,headerHeight:e=>e.headerHeight,isLoading:e=>e.loading,isCategoryModalOpen:e=>e.categoryModalOpen,isMenuOpen:e=>e.menuOpen,isSubMenuOpen:e=>e.subMenuOpen,isSearchOpen:e=>e.searchOpen,pageData:e=>e.pageData,pageDebugData:e=>e.pageDebugData,pageTemplate:e=>e.pageTemplate,scrollOffset:e=>e.scrollOffset,isScriptLoaded:e=>t=>e.loadedScripts.includes(t),componentData:e=>e.componentData,renderedFullPage:e=>e.renderedFullPage,renderedImages:e=>e.renderedImages},actions:{setHasFavorites(e,t){e.commit("SET_HAS_FAVORITES",t)},closeCategoryModal(e){e.commit("CLOSE_CATEGORY_MODAL")},closeMenu(e){e.commit("CLOSE_MENU")},closeSubMenu(e){e.commit("CLOSE_SUB_MENU")},closeSearch(e){e.commit("CLOSE_SEARCH")},setHeaderHeight(e,t){e.commit("SET_HEADER_HEIGHT",t)}
12,setLoading(e,t){e.commit("SET_LOADING",!!t)},getCurrentData(e){Ma.get("/cache/soylent/current_data.json").then((t=>{const n=t.data;e.commit("SET_CURRENT_DATA",n)})).catch((e=>{e.response?console.debug(e.response):console.debug(e)}))},setPageData(e,t){e.commit("SET_PAGE_DATA",t)},setPageDebugData(e,t){e.commit("SET_PAGE_DEBUG_DATA",t)},setPageTemplate(e,t){e.commit("SET_PAGE_TEMPLATE",t)},setScrollOffset(e,t){e.commit("SET_SCROLL_OFFSET",t)},setScriptLoaded(e,t){e.commit("SET_SCRIPT_LOADED",t)},setSubMenuOpen(e){e.commit("SET_SUB_MENU_OPEN",!0)},toggleCategoryModal(e){e.commit("TOGGLE_CATEGORY_MODAL")},toggleMenu(e){e.commit("TOGGLE_MENU")},toggleSearch(e){e.commit("TOGGLE_SEARCH")},setComponentData(e,t){e.commit("UPDATE_COMPONENT_DATA",t)},setRenderedFullPage(e,t){e.commit("SET_RENDERED_FULL_PAGE",t)},setRenderedImages(e,t){e.commit("SET_RENDERED_IMAGES",t)},increaseRenderedImages(e){e.commit("INCREASE_RENDERED_IMAGES")},resetRenderedImages(e){e.commit("RESET_RENDERED_IMAGES")}}},modal:Ba,reader:{state:{show:!1,autoplay:!1},namespaced:!0,mutations:{[La]:e=>(e.show=!0,!0),[ja]:e=>(e.show=!0,e.autoplay=!0,!0),[za]:(e,t)=>(e.autoplay=t,!0),[Ra]:(e,t)=>(e.show=!1,e.autoplay=!1,!0)},getters:{show:e=>e.show,autoplay:e=>e.autoplay},actions:{showReader:function({commit:e},t){return e(La,t)},showReaderAutoplay:function({commit:e},t){return e(ja,t)},setReaderAutoplay:function({commit:e},t){return e(za,t)},hideReader:function({commit:e},t){return e(Ra,t)}}}}});window.soylentRegisterStoreModule=function(e,t){$a.hasModule(e)?console.debug(`[soylent] Cannot register store module [${e}] as it already exists`):$a.registerModule(e,t)},Object.keys(window.localStorage).forEach((e=>{const t=new RegExp(`^${Na.replace(/\./g,".")}(.+)$`,"i"),n=e.match(t);n&&$a.dispatch("setComponentData",{key:n[1],value:JSON.parse(window.localStorage.getItem(`${Na}${n[1]}`)),persistant:!1})}));const Ua="BASE_VIEW__RESPONSE_DATA",Fa="BLOCK__SHOW_RESTRICTED";function Ha(e,t=[document.body]){let n=[];return(t=t&&t.constructor===Array?t:[t]).forEach((function(t){n=n.concat([].slice.call((t||document).querySelectorAll(e)))})),n}function Ga(e){let t=(e||"").split("-");return t=t.map((e=>e.substr(0,1).toUpperCase()+e.substr(1))),t.join("")}const Wa={name:"ElementHeader",props:["headline","settings"]},Ya=window.Vue.toDisplayString,qa=window.Vue.openBlock,Ka=window.Vue.createElementBlock,Ja={class:"headline element-header"},Qa=f(Wa,[["render",function(e,t,n,a,i,o){return qa(),Ka("h2",Ja,Ya(n.headline),1)}]]);class Za{#o={};set(e){"object"==typeof e?Object.assign(this.#o,e):console.error("[soylent:componentProvider] set failed, you did not pass a collection",e)}has(e){return Object.keys(this.#o).indexOf(e)>=0}get(){return this.#o}getByName(e,t=null){return this.has(e)?this.#o[e]:t}}e("l",Za);const Xa=e("s",new Za);class ei{static isAvailable(){return"undefined"!=typeof window&&!!window.UC_UI}static isInitialized(){return!(!this.isAvailable()||"function"!=typeof window.UC_UI.isInitialized)&&window.UC_UI.isInitialized()}static getServicesBaseInfo(){if(!this.isInitialized()||"function"!=typeof window.UC_UI.getServicesBaseInfo)return[];const e=window.UC_UI.getServicesBaseInfo();return Array.isArray(e)?e:[]}static hasConsent(e=[]){if(!Array.isArray(e)||0===e.length)return!0;const t=this.isAvailable(),n=this.isInitialized();if(!t||!n)return!1;const a=e.map((e=>String(e).trim().toLowerCase())).filter(Boolean);return 0===a.length||this.getServicesBaseInfo().some((e=>{const t=e?.consent;if(!0!==t?.status&&!0!==t)return!1;const n=[e?.name,e?.serviceName,e?.dataProcessor,e?.categoryName].map((e=>String(e??"").trim().toLowerCase())).filter(Boolean);return a.some((e=>n.includes(e)))}))}static hasService(e=[]){if(!Array.isArray(e)||0===e.length)return!0;const t=this.isAvailable(),n=this.isInitialized();if(!t||!n)return null;const a=e.map((e=>String(e).trim().toLowerCase())).filter(Boolean);return 0===a.length||this.getServicesBaseInfo().some((e=>{const t=[e?.name,e?.serviceName,e?.dataProcessor,e?.categoryName].map((e=>String(e??"").trim().toLowerCase())).filter(Boolean);return a.some((e=>t.includes(e)))}))}static getServiceState(e=[]){const t=this.hasService(e);return!0===t?"matched":!1===t?"missing":"unknown"}static onConsentChanged(e){"function"==typeof e&&(window.addEventListener("UC_UI_INITIALIZED",e),window.addEventListener("UC_UI_VIEW_CHANGED",e))}static offConsentChanged(e){"function"==typeof e&&(window.removeEventListener("UC_UI_INITIALIZED",e),window.removeEventListener("UC_UI_VIEW_CHANGED",e))}static openPrivacySettings(){return!(!this.isAvailable()||"function"!=typeof window.UC_UI.showSecondLayer||(window.UC_UI.showSecondLayer(),0))}static findServiceIds(e=[]){if(!Array.isArray(e)||0===e.length)return[];const t=e.map((e=>
12String(e).trim().toLowerCase())).filter(Boolean);return 0===t.length?[]:this.getServicesBaseInfo().filter((e=>{const n=[e?.name,e?.serviceName,e?.dataProcessor,e?.categoryName].map((e=>String(e??"").trim().toLowerCase())).filter(Boolean);return t.some((e=>n.includes(e)))})).map((e=>e?.id)).filter(Boolean)}static acceptServices(e=[]){if(!this.isAvailable()||"function"!=typeof window.UC_UI.acceptService)return Promise.resolve(!1);const t=this.findServiceIds(e);return 0===t.length?Promise.resolve(!1):Promise.all(t.map((e=>window.UC_UI.acceptService(e)))).then((()=>(window.dispatchEvent(new CustomEvent("consent-changed",{detail:{source:"usercentrics",ids:t}})),!0))).catch((()=>!1))}}e("U",ei);const ti=e("r","none"),ni=e("t","manual"),ai=e("w","usercentrics"),ii="Content freischalten",oi="Dieser Inhalt benötigt eine manuelle Freischaltung",ri="Content freischalten",si="Dieser Inhalt benötigt eine manuelle Freischaltung";function li(e=[]){return Array.isArray(e)?e.map((e=>String(e).trim())).filter(Boolean):[]}function ci({consentNeeded:e,usercentricsAvailable:t,usercentricsServices:n}){return function(e){return 1===parseInt(e,10)}(e)?t&&li(n).length>0?ai:ni:ti}function di(e){return!!e&&"1"===window.localStorage.getItem(e)}function ui(e){e&&(window.localStorage.setItem(e,"1"),window.dispatchEvent(new CustomEvent("consent-changed",{detail:{identifier:e}})))}function pi(e){return e===ai?{buttonLabel:ii,text:oi}:{buttonLabel:ri,text:si}}const hi={name:"CustomHtmlBlock",props:["element"],data:()=>({agreed:!1,forceManualFallback:!1}),computed:{usercentricsDps(){return String(this.element.data.usercentrics_dps??"").trim()},usercentricsServices(){return li([this.usercentricsDps])},usercentricsAvailable(){return this.element.data?.usercentrics_available??!1},consentKey(){return this.element.data.uid},configuredConsentMode(){return ci({consentNeeded:this.element.data.consent_needed,usercentricsAvailable:this.usercentricsAvailable,usercentricsServices:this.usercentricsServices})},activeConsentMode(){return this.configuredConsentMode===ti?ti:this.forceManualFallback?ni:this.configuredConsentMode},canLoad:function(){return this.activeConsentMode===ti||this.agreed},consentButtonLabel:function(){return this.element.data.blocker_button_label?this.element.data.blocker_button_label:pi(this.activeConsentMode).buttonLabel},consentText:function(){return this.element.data.blocker_text?this.element.data.blocker_text:pi(this.activeConsentMode).text},elementClasses:function(){return this.element.display_type&&this.element.display_subtype?[this.element.display_type,this.element.display_subtype]:[this.element.type,this.element.subtype]}},methods:{agree(){if(this.activeConsentMode===ai){const e=ei.getServiceState(this.usercentricsServices);if("missing"!==e)return"matched"===e?void ei.acceptServices(this.usercentricsServices).then((e=>{if(e)return this.refreshConsentState(),void(this.canLoad&&this.initScripts());this.forceManualFallback=!0,this.agreed=!0,ui(this.consentKey),this.initScripts()})):void 0;this.forceManualFallback=!0}this.agreed=!0,ui(this.consentKey),this.initScripts()},onConsentChanged(e){if(this.activeConsentMode!==ai){const t=e?.detail?.identifier;if(t&&t!==this.consentKey)return}this.refreshConsentState(),this.canLoad&&this.initScripts()},refreshConsentState(){if(this.activeConsentMode===ti)return void(this.agreed=!0);if(this.activeConsentMode===ni)return void(this.agreed=di(this.consentKey));const e=ei.getServiceState(this.usercentricsServices);if("missing"===e)return this.forceManualFallback=!0,void(this.agreed=di(this.consentKey));this.agreed="unknown"!==e&&ei.hasConsent(this.usercentricsServices)}
12,loadScript(e,t=!0){if(!0===t&&this.$store.getters.isScriptLoaded(e.identifier))return;const n=document.createElement(e.type);if(e.attr)for(const a in e.attr)"innerText"===a?n[a]=e.attr[a]:n.setAttribute(a,e.attr[a]);t?(this.$store.dispatch("setScriptLoaded",e.identifier),document.body.appendChild(n)):this.$refs.html_data.appendChild(n)},initScripts(){this.element.data.scripts_always&&this.element.data.scripts_always.forEach((e=>{this.loadScript(e,!1)})),this.element.data.scripts_once&&this.element.data.scripts_once.forEach((e=>{this.loadScript(e,!0)}))}},watch:{canLoad(e,t){e&&!t&&this.initScripts()}},mounted(){ei.onConsentChanged(this.onConsentChanged),window.addEventListener("consent-changed",this.onConsentChanged),this.refreshConsentState(),this.canLoad&&this.initScripts()},beforeUnmount(){ei.offConsentChanged(this.onConsentChanged),window.removeEventListener("consent-changed",this.onConsentChanged)}},mi=window.Vue.openBlock,wi=window.Vue.createElementBlock;window.Vue.createCommentVNode;const gi=window.Vue.toDisplayString,yi=window.Vue.createElementVNode,fi=window.Vue.normalizeClass,_i=["innerHTML"],bi={key:1,class:"consent-wrapper"},vi={class:"consent-text"},ki=e("C",f(hi,[["render",function(e,t,n,a,i,o){return mi(),wi("div",{class:fi(["element",o.elementClasses])},[o.canLoad?(mi(),wi("div",{key:0,innerHTML:n.element.data.html_data,ref:"html_data"},null,8,_i)):(mi(),wi("div",bi,[yi("p",vi,gi(o.consentText),1),yi("a",{class:"consent-button",onClick:t[0]||(t[0]=(...e)=>o.agree&&o.agree(...e))},gi(o.consentButtonLabel),1)]))],2)}]])),Si={name:"EditorElement",props:{element:{type:Object,default:function(){return{type:null,subtype:null,data:{}}}}}},Ei={name:"Placeholder",extends:Si},Ci=window.Vue.toDisplayString,Ai=window.Vue.createElementVNode,Vi=window.Vue.createTextVNode,Pi=window.Vue.openBlock,Ti=window.Vue.createElementBlock,xi=window.Vue.createCommentVNode,Di={key:0,class:"element default"},Oi=f(Ei,[["render",function(e,t,n,a,i,o){return this.$production_mode?xi("",!0):(Pi(),Ti("div",Di,[t[0]||(t[0]=Vi(" I am a placeholder, you need to implement me: ",-1)),Ai("code",null,".element."+Ci(e.element.type||"")+"."+Ci(e.element.subtype||""),1)]))}]]),Ii=(window.soylentEditorElementProvider||(window.soylentEditorElementProvider=new Za,window.soylentEditorElementProvider.set({CustomHtmlBlock:ki,Placeholder:Oi})),window.soylentEditorElementProvider),Mi=new Event(w.ELEMENT_PROVIDER_READY);window.dispatchEvent(Mi);const Ni={name:"IdvlEditorSlot",components:Ii.get(),props:["element"],data:()=>({defaultElement:"placeholder"}),computed:{elementComponent:function(){const e=this.getElementComponentName([this.element.type||"",this.element.subtype||""].join("-"));return this.hasElement(e)?e:this.hasElement(e+"Default")?e+"Default":(console.debug("%c[idvl-editor-slot] Element not found","color:white;background:darkred;",e,this.element,Ii.get()),this.getElementComponentName(this.defaultElement))},elementKey:function(){return"SoylentPostShortcutListDefault"===this.elementComponent||"SoylentPostShortcutList"===this.elementComponent?this.element.data.archive_url:"SoylentOpenerMedia"===this.elementComponent?this.element.data.media_id:Date.now()+" _ "+Math.random()},slotHeadline:function(){return this.element.slot_settings.soylent_headline||""},elementHeader:function(){return Xa.getByName("elementHeader",Qa)},slotClasses:function(){return this.element.slot_settings.css||""}},methods:{hasElement:e=>Ii.has(e),getElementComponentName:e=>Ga(e||"")}},Bi=window.Vue.resolveDynamicComponent,Li=window.Vue.openBlock,Ri=window.Vue.createBlock,ji=window.Vue.createCommentVNode,zi=window.Vue.normalizeClass,$i=window.Vue.createElementBlock,Ui=f(Ni,[["render",function(e,t,n,a,i,o){return Li(),$i("div",{class:zi(["slot",o.slotClasses])},[o.slotHeadline?(Li(),Ri(Bi(o.elementHeader),{key:0,headline:o.slotHeadline,settings:n.element.slot_settings},null,8,["headline","settings"])):ji("",!0),n.element.type?(Li(),Ri(Bi(o.elementComponent),{element:n.element,key:o.elementKey},null,8,["element"])):ji("",!0)],2)}]]),Fi=()=>{let e=(new Date).getTime(),t=performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(n=>{let a=16*Math.random();return e>0?(a=(e+a)%16|0,e=Math.floor(e/16)):(a=(t+a)%16|0,t=Math.floor(t/16)),("x"==n?a:7&a|8).toString(16)}))},Hi=e("J",{get:(e,t)=>new Wi({...t,url:e}),post:(e,t,n={})=>new Wi({...n,data:t,method:"post",url:e}),request:e=>new Wi(e)}),Gi=Object.freeze({data:null,headers:{},method:"get",onUploadProgress:null,signal:null,url:""});class Wi{#r;constructor(e=Gi){return e=Object.assign({},Gi,e),this.#r=new XMLHttpRequest,this.#r.open(e.method,e.url),Object.keys(e.headers).forEac
12h((t=>this.#r.setRequestHeader(t,e.headers[t]))),"function"==typeof e.onUploadStart&&(this.#r.upload.onloadstart=e.onUploadStart()),"function"==typeof e.onUploadProgress&&(this.#r.upload.onprogress=t=>{t.lengthComputable&&e.onUploadProgress(t.loaded,t.total)}),e.signal&&e.signal.addEventListener&&e.signal.addEventListener("abort",(()=>{this.#r.abort()})),new Promise(((t,n)=>{this.#r.onload=()=>{if(this.#r.status>=200&&this.#r.status<300){if("application/json"===this.#r.getResponseHeader("Content-Type"))try{t(JSON.parse(this.#r.response))}catch(e){}t(this.#r.response)}else n({status:this.#r.status,statusText:this.#r.statusText})},this.#r.onerror=()=>{n({status:this.#r.status,statusText:this.#r.statusText})},e.data?(e.data.constructor!==FormData&&"object"==typeof e.data&&(e.data=this.#s(e.data)),this.#r.send(e.data)):this.#r.send()}))}#s(e){const t=new FormData;for(const n in e)t.append(n,e[n]);return t}}class Yi{constructor(){this.items={},this.observer=new IntersectionObserver(this.observerCallback.bind(this),{threshold:.3})}add(e,t,n){this.items[e]={el:t,cb:n},t.setAttribute("data-uid",e),this.observer.observe(t)}observerCallback(e,t){e.forEach((e=>{if(e.intersectionRatio>0){let n=e.target.getAttribute("data-uid");n in this.items&&(this.items[n].cb(),t.unobserve(e.target),this.remove(n))}}))}remove(e){this.items[e]&&delete this.items[e]}}let qi;window.cmmsScrollWatcher?qi=window.cmmsScrollWatcher:(qi=new Yi,window.cmmsScrollWatcher=qi);const Ki=qi,Ji=e("M",(function(e,t,n){let a=Promise.resolve();function i(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return a.then((t=>{for(const e of t||[])"rejected"===e.status&&i(e.reason);return e().catch(i)}))}));class Qi{constructor(e,t){this.selectors=e,this.params=t,this.options=this.getOptions(),this.items=this.getItems(),this.lightBox=null,e.forEach(((e,n)=>{let a;"gallery"===t.type?(a=e,a=e):a=e.$el,a.setAttribute("data-pswp-uid",n),a.setAttribute("tabindex","0"),a.addEventListener("keydown",(e=>{13!==e.keyCode&&"Enter"!==e.key&&32!==e.keyCode&&" "!==e.key||(e.preventDefault(),this.options.galleryUID=n,this.open(this.options.galleryUID))})),a.addEventListener("click",(()=>{this.options.galleryUID=n,this.open(this.options.galleryUID)}))}))}getItems(){const e=[];switch(this.params.type){case"picture":e.push({src:this.params.src,width:this.params.size.width,height:this.params.size.height,alt:this.params.desc});break;case"video":case"videolivestream":case"audio":case"audiolivestream":e.push({html:'<div class="pswp-iframe-player-wrapper"><div class="pswp-iframe-player">'+this.params.html+"</div></div>"});break;case"gallery":this.params.items.forEach((function(t){e.push({src:t.src,width:t.size.width,height:t.size.height,alt:t.desc})}))}return e}getOptions(){return{}}async open(e){const{default:n}=await Ji((async()=>{const{default:e}=await t.import("./photoswipe-lightbox.esm-legacy.js");return{default:e}}),void 0),a=new n({dataSource:this.items,showHideAnimationType:"zoom",pswpModule:()=>Ji((()=>t.import("./photoswipe.esm-legacy.js")),void 0)});a.on("uiRegister",(()=>{a.pswp.ui.registerElement({name:"caption",order:9,isButton:!1,appendTo:"root",html:"",onInit:(e,t)=>{a.pswp.on("change",(()=>{let t='<div class="pswp__caption__content">'+a.pswp.currSlide.data.alt+"</div>";e.innerHTML=t||""}))}}),"disableDownload"in this.params&&this.params.disableDownload||a.pswp.ui.registerElement({name:"download-button",isButton:!0,title:"Download",order:9,html:'<span style="display: block; filter: drop-shadow(0px 0px 2px black)"><svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#e8eaed"><g><rect fill="none" height="24" width="24"/></g><g><path d="M18,15v3H6v-3H4v3c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2v-3H18z M17,11l-1.41-1.41L13,12.17V4h-2v8.17L8.41,9.59L7,11l5,5 L17,11z"/></g></svg></span>',onClick:async(e,t,n)=>{const a=n.currSlide.data.src,i=await fetch(a),o=await i.blob(),r=URL.createObjectURL(o),s=document.createElement("a");s.href=r,s.download=a.split("/").pop(),s.click(),URL.revokeObjectURL(r)}})})),a.init(),a.loadAndOpen(parseInt(e,10))}}e("e",Qi);const Zi=[1920,1328,1024,768,425,320],Xi=[480],eo={name:"CmmsResponsiveImage",props:{image:{type:Object,required:!0},fill:{type:Boolean,default:!1},blur:{type:Boolean,default:!1},contain:{type:Boolean,default:!1},hAlign:{type:String,default:"center"},vAlign:{type:String,default:"center"},maxHeight:{type:Number,default:0},imageSizeReference:{type:String,default:"width"},zoom:{type:Boolean,default:!1},withScrollWatcher:{type:Boolean,default:!0},updateVisibility:{type:Boolean,default:!1},fetchPriority:{type:String,default:"auto"}},data:()=>({imageIndex:0,loadingMode:"eager",loadingPriority:"auto",uid:null,visible:!1,
12containerWidth:0,containerHeight:0,containerRatio:0,width:0,height:0,ratio:1,maxWidth:Zi[Zi.length-1],responsiveStep:-1,domRendered:!1}),computed:{...Ta(["renderedImages"]),style:function(){return`background-image: url("${this.src}");`+(0<this.maxHeight?`max-height: ${this.maxHeight}px;`:"")},src:function(){if(!this.image)return"";if(this.image.src)return this.image.src;if(this.visible&&!this.fill&&this.domRendered)return this.buildSrc(Math.min(this.image.width,this.maxWidth));if(this.visible&&this.fill&&this.domRendered){let e=Zi.length-1,t=Zi[e],n=Zi[e]/this.ratio;for(;(t<=this.containerWidth||n<=this.containerHeight)&&t<=this.image.width&&n<=this.image.height&&e>=0;)e--,t=Zi[e],n=Zi[e]/this.ratio;return this.width=t,this.height=n,this.responsiveStep=e,this.buildSrc(this.width,this.height)}return'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="'+(this.fill?20:Math.round(this.image.height/(this.image.width/20)))+'">\n</svg>'},dpr:function(){return Math.ceil(window.devicePixelRatio||1)},alt:function(){let e=[this.image.alt||""];return this.image.copyright&&e.push("© "+this.image.copyright),e.join(" — ")},copyright(){return!(!this.image||!this.image.copyright)&&this.image.copyright}},methods:{...xa(["increaseRenderedImages"]),update:function(){const e=this.$el.parentNode;if(!e)return;const t=e.getBoundingClientRect();if(this.containerWidth=t.width,this.containerHeight=t.height,this.containerRatio=this.containerWidth/this.containerHeight,this.image.src)return;let n=Zi.length-1;for(;n>=0&&this.containerWidth>Zi[n];)n--;this.maxWidth=Zi[n],this.responsiveStep=n},buildSrc(e,t){let n;return!0===this.blur?n="200xeb_20x10/":"height"===this.imageSizeReference?(this.height=Xi[Xi.length-1],this.width=Math.round(this.image.width/(this.image.height/this.height)),n=`x${Math.round(this.height*this.dpr)}/`):(this.width=e,this.height=Math.round(this.image.height/(this.image.width/this.width)),n=`${Math.round(Number(e)*this.dpr)}x/`),`${window.cmms_thumbs_base}${n}${this.image.media_id}.webp`},setVisible:function(){this.visible=!0},buildLightBox(){new Qi([this],{type:"picture",src:`${window.cmms_thumbs_base}f:webp/${this.image.media_id}.webp`,desc:this.image.copyright,size:{width:this.image.width,height:this.image.height}})}},beforeMount(){this.imageIndex=this.$store.getters.renderedImages,this.loadingMode=this.withScrollWatcher&&this.imageIndex>0?"lazy":"eager",this.loadingPriority=this.imageIndex>2?this.fetchPriority:"high",this.$store.dispatch("increaseRenderedImages")},mounted(){this.ratio=this.image.width/this.image.height,!this.image.src&&this.$props.fill||(this.width=this.image.width,this.height=this.image.height),window.addEventListener("resize",this.update,{passive:!0}),this.$nextTick((()=>{this.domRendered=!0,this.update()})),this.withScrollWatcher&&this.fill?(this.uid=Fi(),Ki.add(this.uid,this.$el,this.setVisible)):this.setVisible(),this.zoom&&this.buildLightBox()},watch:{updateVisibility:function(e){!0===e&&this.setVisible()}},beforeUnmount(){window.removeEventListener("resize",this.update),Ki.remove(this.uid)}},to=window.Vue.normalizeStyle,no=window.Vue.createElementVNode,ao=window.Vue.openBlock,io=window.Vue.createElementBlock,oo=window.Vue.createCommentVNode,ro=window.Vue.normalizeClass,so=["innerHTML"],lo=["width","height","loading","src","alt","fetchPriority"],co=e("a",f(eo,[["render",function(e,t,n,a,i,o){return n.fill&&!n.zoom?(ao(),io("span",{key:0,class:ro(["responsive-image",n.fill?"-fill":"",n.contain?"-contain":"",i.visible?"--visible":"",`_align-img-${n.vAlign}-${n.hAlign}`])},[no("span",{style:to(o.style)},null,4),o.copyright?(ao(),io("span",{key:0,class:"responsive-image-copyright",innerHTML:o.copyright},null,8,so)):oo("",!0)],2)):n.fill?oo("",!0):(ao(),io("img",{key:1,width:i.width,height:i.height,loading:i.loadingMode,src:o.src,alt:o.alt,class:ro(`_align-img-${n.vAlign}-${n.hAlign}`),fetchPriority:i.loadingPriority},null,10,lo))}]])),uo={name:"IdvlEditorBlock",components:{CmmsResponsiveImage:co,IdvlEditorSlot:Ui},props:["block"],data:function(){return{uuid:Fi()}},computed:{anchor:function(){let e=null;return this.block.settings&&this.block.settings.soylent_anchor&&this.block.settings.soylent_anchor.length&&(e=this.block.settings.soylent_anchor),e},padding:function(){let e="--padding_default";return this.block.settings&&this.block.settings.soylent_padding&&(e=`${this.block.settings.soylent_padding}`),e},blockWrapperClass:function(){let e="";return this.block.settings&&this.block.settings.soylent_class&&(e=this.block.settings.soylent_class),e},showBlock(){return!this.block.settings||!this.block.settings.soylent_access_restriction||""===this.block.settings.soylent_access_restriction||me.filter(Fa,"no_auth"===this.block.settings.soylent_access_restriction,{},this.block.settings.soylent_access_restriction,this.block)},image(){if(this.block.settings){if(this.block.settings.soylent_corporate_bgr_image)return this.block.settings.soylent_corporate_bgr_image;if(this.block.settings.soylent_radio_bgr_image)return this.block.settings.soylent_radio_bgr_image;if(this.block.settings.soylent_bgr_image)return this.block.settings.soylent_bgr_image}return!1},imageBlur(){if(this.block.settings){if(this.block.settings.soylent_corporate_bgr_image_blur)return this.block.settings.soylent_corporate_bgr_image_blur;if(this.block.settings.soylent_radio_bgr_image_blur)return this.block.settings.soylent_radio_bgr_image_blur;if(this.block.settings.soylent_bgr_image_blur)return this.block.settings.soylent_bgr_image_blur}return!1},editorSlotComponent:()=>Xa.getByName("editorSlot",Ui)}
12,methods:{elementKey:function(e){return`el-${this.uuid}-${e}`},retrieveElements:function(){this.block.retrieve_restricted_url&&Hi.get(this.block.retrieve_restricted_url).then((e=>{this.block.elements=e}))}},mounted(){this.showBlock&&this.retrieveElements()},watch:{showBlock:function(e){!0===e&&this.retrieveElements()}}},po=window.Vue.openBlock,ho=window.Vue.createElementBlock,mo=window.Vue.createCommentVNode,wo=window.Vue.resolveComponent,go=window.Vue.createBlock,yo=window.Vue.renderList,fo=window.Vue.Fragment,_o=window.Vue.resolveDynamicComponent,bo=window.Vue.normalizeClass,vo=window.Vue.createElementVNode,ko=["id"],So={key:1,class:"block__background"},Eo=f(uo,[["render",function(e,t,n,a,i,o){const r=wo("CmmsResponsiveImage");return o.showBlock?(po(),ho("div",{key:0,class:bo(["block-wrapper",o.padding,o.blockWrapperClass])},[o.anchor?(po(),ho("div",{key:0,class:"block-anchor",id:o.anchor},null,8,ko)):mo("",!0),o.image?(po(),ho("div",So,[o.image?(po(),go(r,{key:0,image:o.image,fill:!0,blur:o.imageBlur},null,8,["image","blur"])):mo("",!0)])):mo("",!0),vo("div",{class:bo(["block",n.block.block_type])},[(po(!0),ho(fo,null,yo(n.block.elements,((e,t)=>(po(),go(_o(o.editorSlotComponent),{key:o.elementKey(t),element:e},null,8,["element"])))),128))],2)],2)):mo("",!0)}]]),Co={name:"IdvlEditor",components:{IdvlEditorBlock:Eo},props:["blocks"],data:function(){return{editorDataVersion:"",maxItems:0}},computed:{elementIdvlEditorBlock:function(){return Xa.getByName("idvlEditorBlock",Eo)},getBlocks(){let e=this.$store.getters.renderedFullPage?this.blocks.length:20,t=this.blocks.filter((e=>null!==e));return t=t.slice(0,e),t}},watch:{blocks(){this.bumpEditorDataVersion()}},methods:{blockKey:(e,t)=>null!==e?"block_id_"+e.id:"block_index"+t,bumpEditorDataVersion:function(){this.editorDataVersion=`${Date.now()}_${Math.random()}`}},updated(){this.$nextTick((function(){window.dispatchEvent(new Event("repainted"))}))}},Ao=window.Vue.renderList,Vo=window.Vue.Fragment,Po=window.Vue.openBlock,To=window.Vue.createElementBlock,xo=window.Vue.resolveDynamicComponent,Do=window.Vue.createBlock,Oo=f(Co,[["render",function(e,t,n,a,i,o){return Po(),To("div",{class:"idvl-editor",key:e.editorDataVersion},[(Po(!0),To(Vo,null,Ao(o.getBlocks,((e,t)=>(Po(),Do(xo(o.elementIdvlEditorBlock),{key:o.blockKey(e,t),block:e},null,8,["block"])))),128))])}]]),Io={name:"IdvlEditorTemplate",components:{IdvlEditor:Oo},props:["data"]},Mo=window.Vue.resolveComponent,No=window.Vue.openBlock,Bo=window.Vue.createBlock,Lo=f(Io,[["render",function(e,t,n,a,i,o){const r=Mo("idvl-editor");return No(),Bo(r,{blocks:n.data.blocks},null,8,["blocks"])}]]),Ro=new Za;function jo(e,t=500){e&&setTimeout((()=>{let t=document.querySelector(e);t&&t.scrollIntoView({behavior:"instant",block:"start",inline:"nearest"})}),t)}Ro.set({IdvlEditorTemplateDefault:Lo});class zo{static track(e){if("IOMm"in window&&e.ivw)try{IOMm("pageview",{cp:e.ivw})}catch(t){console.debug("[InfOnline] pv exception:",t.getMessage())}else e.ivw&&console.debug("[InfOnline] not loaded")}}const $o=new class{#l;#c;updateMarkup(e){this.#l=e,this.#d(),this.#u(),this.#p()}#d(){const e=document.querySelector('link[rel="canonical"]');if(this.#l.canonical)if(e)e.setAttribute("href",this.#l.canonical);else{const e=document.createElement("link");e.rel="canonical",e.href=this.#l.canonical,document.getElementsByTagName("head")[0].appendChild(e)}else e&&e.remove()}#u(){if(!("meta"in this.#l))return;const e=Object.keys(this.#l.meta);e.forEach((e=>{const t=-1===e.indexOf(":")?"name":"property",n=document.querySelectorAll("meta["+t+'="'+e+'"]')[0],a=this.#l.meta[e];if(n)a&&"false"!==a?n.setAttribute("content",a):n.remove();else{const n=document.createElement("meta");n.setAttribute(t,e),n.content=this.#l.meta[e],document.getElementsByTagName("head")[0].appendChild(n)}})),document.querySelectorAll('meta[property^="og:"]').forEach((t=>{e.includes(t.getAttribute("property"))||t.remove()}))}#p(){if("json_ld"in this.#l){if(!this.#c){let e=document.querySelector('script[type="application/ld+json"]');e||(e=document.createElement("script"),e.type="application/ld+json",document.getElementsByTagName("head")[0].appendChild(e)),this.#c=e}this.#c.innerHTML=JSON.stringify(this.#l.json_ld)}}},Uo=e("b",new class{constructor(){this.instance=("0000"+Math.round(1e3*Math.random())).substring(-4),this.enabled=!1,this.payloadQueue=[],this.callbacks=[],window.ReactNativeWebView&&(window.wlBasePassPayload=this.dispatchPayload.bind(this),this.enabled=!0)}init(){this.sendPayload("launch")}sendPayload(e,t=!1){if(!this.enabled)return this.payloadQueue.push(e),void console.debug("[bridge] Queued payload",e);if(this.payloadQueue.length&&!t&&(this.payloadQueue.forEach((e=>
12this.sendPayload(e,!0))),this.payloadQueue=[]),null!==e){console.debug("[bridge] Send payload",e);try{e=JSON.stringify(e),window.ReactNativeWebView.postMessage(e)}catch(n){console.debug("[bridge] Could not send payload",n,e)}}}dispatchPayload(e){return console.debug("[bridge] Got payload",e),this.callbacks.forEach((t=>{const{cb:n,type:a}=t;if(!a.length||a===String(e.type))try{n(Object.assign({instance:this.instance},e))}catch(i){console.debug("[bridge] Could not fire callback",n,this.callbacks)}})),!0}onPayload(e,t=""){"function"==typeof e&&this.callbacks.push({cb:e,type:String(t)})}}),Fo={name:"BaseView",components:Ro.get(),data:()=>({lastUri:null,uri:document.location.pathname??null,hash:null,base:document.body.dataset.base,classes:[],title:"",template:null,data:null,debug:null,defaultTemplate:"idvl-editor",firstCall:!0}),computed:{templateComponent:function(){this.template="idvl-editor";let e=this.getTemplateComponentName(this.template);return this.hasTemplate(e)?(this.$store.dispatch("setPageTemplate",e),e):this.hasTemplate(e+"Default")?(this.$store.dispatch("setPageTemplate",e+"Default"),e+"Default"):(this.$store.dispatch("setPageTemplate",null),console.debug("%c[base-view] Template not found","color:white;background:darkred;",e,this.template),this.getTemplateComponentName(this.defaultTemplate,"default"))}},beforeRouteUpdate(e,t,n){n(),this.nav(e.path,e.hash)},beforeUpdate(){this.classes.length>0&&(document.body.className=this.classes.join(" ")),this.maybeAddAppNativeClass()},updated(){this.handleScripts(),this.scrollToAnchor()},methods:{...xa(["resetRenderedImages"]),nav(e,t="",n=!1){this.resetRenderedImages(),this.hash=t,n||e!==this.uri?(n||(this.lastUri=this.uri,this.uri=e),this.$store.dispatch("setLoading",!0),y.dispatch(h),Ma.get(e,{headers:{"X-Headless":1}}).then((e=>this.handleResponse(e))).catch((e=>{e.response?this.handleResponse(e.response):console.debug(e)})).finally((()=>{this.$store.dispatch("setLoading",!1),document.title=this.title,this.$nextTick((()=>{if(this.dispatchPageLoadEvent(e,this.title,this.lastUri),window._paq)try{null!==this.lastUri&&window._paq.push(["setReferrerUrl",this.lastUri]),window._paq.push(["setCustomUrl",e]),window._paq.push(["setDocumentTitle",this.title]),window._paq.push(["trackPageView"])}catch(t){}if(window.qy)try{window.qy.tracking.track("fix:view",{identifier:e,type:"web",occurredon:(new Date).toISOString()})}catch(t){}}))}))):this.scrollToAnchor()},reload(){this.nav(this.uri,this.hash,!0)},handleResponse(e){const t=me.filter(Ua,e.data);if(t.redirect&&t.redirect!==this.uri&&this.$router.replace(t.redirect),this.classes=t.classes||[],this.title=t.title||"",this.template=t.template||null,this.data=t.data||null,this.debug=t.debug||null,this.executeTracking(t.data.tracking),t.data.seo&&$o.updateMarkup(t.data.seo),!this.classes.includes("suppress-cmp"))try{window.cmmsCmpSpawnIfNecessary()}catch(n){}null!==this.template&&this.classes.push(this.template),this.$store.dispatch("setPageData",this.data),this.$store.dispatch("setPageDebugData",this.debug),y.dispatch(m)},handleScripts(){},hasTemplate:e=>Ro.has(e),getTemplateComponentName:(e,t="")=>Ga((e||"")+"-template"+t),scrollToAnchor(){this.hash&&this.hash.length&&function(e,t=document.body){if("<"===e.substr(0,1))return document.createElement(e.replace(/[</>]/g,""));const n=Ha(e,t);return n.length>=1?n[0]:null}(this.hash)&&jo(this.hash,300)},executeTracking(e){zo.track(e)},maybeAddAppNativeClass(){R&&this.$nextTick((()=>{document.body.classList.add("app-native")}))},dispatchPageLoadEvent(e,t,n=null){document.dispatchEvent(new CustomEvent("Page:Load",{cancelable:!0,bubbles:!0,detail:{uri:e,title:t,referer:n}}))}},created(){this.maybeAddAppNativeClass(),this.template=null,this.data=window.soylent_page_data,this.$store.dispatch("setPageData",this.data),this.dispatchPageLoadEvent(this.uri,document.title),Uo.onPayload((e=>{const{eventType:t}=e;"reload"===t&&this.reload()}),"event")}},Ho=window.Vue.resolveDynamicComponent,Go=window.Vue.openBlock,Wo=window.Vue.createBlock,Yo=window.Vue.createElementBlock,qo={class:"content"},Ko=f(Fo,[["render",function(e,t,n,a,i,o){return Go(),Yo("main",qo,[(Go(),Wo(Ho(o.templateComponent),{data:i.data},null,8,["data"]))])}]]),Jo=e("K",function(e){const t=Nn(e.routes,e),n=e.parseQuery||Kt,a=e.stringifyQuery||Jt,i=e.history,o=an(),r=an(),s=an(),l=gn(Nt);let c=Nt;nt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=ot.bind(null,(e=>""+e)),u=ot.bind(null,Ct),p=ot.bind(null,At);function h(e,o){if(o=it({},o||l.value),"string"==typeof e){const a=Tt(n,e,o.path),r=t.resolve({path:a.path},o),s=i.createHref(a.fullPath);return it(a,r,{params:p(r.params),hash:At(a.hash),redirectedFrom:void 0,href:s})}let r;if(null!=e.path)r=it({},e,{path:Tt(n,e.path,o.path).path});else{const t=it({},e.params);for(const e in t)null==t[e]&&delete t[e];r=it({},e,{params:u(t)}),o.params=u(o.params)}const s=t.resolve(r,o),c=e.hash||"";s.params=d(p(s.params));const h=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(a,it({},e,{hash:(m=c,St(m).replace(_t,"{").replace(vt,"}").replace(yt,"^")),path:s.path}));var m;const w=i.createHref(h);return it({fullPath:h,hash:c,query:a===Jt?Qt(e.query):e.query||{}},s,{redirectedFrom:void 0,href:w})}function m(e){return"string"==typeof e?Tt(n,e,l.value.path):it({},e)}function w(e,t){if(c!==e)return Yt(Gt.NAVIGATION_CANCELLED,{from:t,to:e})}function g(e){return f(e)}function y(e,t){const n=e.matched[e.matched.length-1];if(n&&n.redirect){const{redirect:a}=n;let i="function"==typeof a?a(e,t):a;return"string"==typeof i&&(i=i.includes("?")||i.includes("#")?i=m(i):{path:i},i.params={}),it({query:e.query,hash:e.hash,params:null!=i.path?{}:e.params},i)}}function f(e,t){const n=c=h(e),i=l.value,o=e.state,r=e.force,s=!0===e.replace,d=y(n,i);if(d)return f(it(m(d),{state:"object"==typeof d?it({},o,d.state):o,force:r,replace:s}),t||n);const u=n;let p;return u.redirectedFrom=t,!r&&function(e,t,n){const a=t.matched.length-1,i=n.matched.length-1;return a>-1&&a===i&&Dt(t.matched[a],n.matched[i])&&Ot(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(a,i,n)&&(p=Yt(Gt.NAVIGATION_DUPLICATED,{to:u,from:i}),D(i,i,!0,!1)),(p?Promise.resolve(p):v(u,i)).catch((e=>qt(e)?qt(e,Gt.NAVIGATION_GUARD_REDIRECT)?e:x(e):T(e,u,i))).then((e=>{if(e){if(qt(e,Gt.NAVIGATION_GUARD_REDIRECT))return f(it({replace:s},m(e.to),{state:"object"==typeof e.to?it({},o,e.to.state):o,force:r}),t||u)}else e=S(u,i,!0,s,o);return k(u,i,e),e}))}function _(e,t){const n=w(e,t);return n?Promise.reject(n):Promise.resolve()}function b(e){const t=M.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function v(e,t){let n;const[a,i,s]=function(e,t){const n=[],a=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let r=0;r<o;r++){const o=t.matched[r];o&&(e.matched.find((e=>Dt(e,o)))?a.push(o):n.push(o));const s=e.matched[r];s&&(t.matched.find((e=>Dt(e,s)))||i.push(s))}return[n,a,i]}(e,t);n=rn(a.reverse(),"beforeRouteLeave",e,t);for(const o of a)o.leaveGuards.forEach((a=>{n.push(on(a,e,t))}));const l=_.bind(null,e,t);return n.push(l),B(n).then((()=>{n=[];for(const a of o.list())n.push(on(a,e,t));return n.push(l),B(n)})).then((()=>{n=rn(i,"beforeRouteUpdate",e,t);for(const a of i)a.updateGuards.forEach((a=>{n.push(on(a,e,t))}));return n.push(l),B(n)})).then((()=>{n=[];for(const a of s)if(a.beforeEnter)if(st(a.beforeEnter))for(const i of a.beforeEnter)n.push(on(i,e,t));else n.push(on(a.beforeEnter,e,t));return n.push(l),B(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=rn(s,"beforeRouteEnter",e,t,b),n.push(l),B(n)))).then((()=>{n=[];for(const a of r.list())n.push(on(a,e,t));return n.push(l),B(n)})).catch((e=>qt(e,Gt.NAVIGATION_CANCELLED)?e:Promise.reject(e)))}
12function k(e,t,n){s.list().forEach((a=>b((()=>a(e,t,n)))))}function S(e,t,n,a,o){const r=w(e,t);if(r)return r;const s=t===Nt,c=nt?history.state:{};n&&(a||s?i.replace(e.fullPath,it({scroll:s&&c&&c.scroll},o)):i.push(e.fullPath,o)),l.value=e,D(e,t,n,s),x()}let E;function C(){E||(E=i.listen(((e,t,n)=>{if(!N.listening)return;const a=h(e),o=y(a,N.currentRoute.value);if(o)return void f(it(o,{replace:!0,force:!0}),a).catch(rt);c=a;const r=l.value;var s,d;nt&&(s=Ut(r.fullPath,n.delta),d=zt(),Ft.set(s,d)),v(a,r).catch((e=>qt(e,Gt.NAVIGATION_ABORTED|Gt.NAVIGATION_CANCELLED)?e:qt(e,Gt.NAVIGATION_GUARD_REDIRECT)?(f(it(m(e.to),{force:!0}),a).then((e=>{qt(e,Gt.NAVIGATION_ABORTED|Gt.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===Bt.pop&&i.go(-1,!1)})).catch(rt),Promise.reject()):(n.delta&&i.go(-n.delta,!1),T(e,a,r)))).then((e=>{(e=e||S(a,r,!1))&&(n.delta&&!qt(e,Gt.NAVIGATION_CANCELLED)?i.go(-n.delta,!1):n.type===Bt.pop&&qt(e,Gt.NAVIGATION_ABORTED|Gt.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),k(a,r,e)})).catch(rt)})))}let A,V=an(),P=an();function T(e,t,n){x(e);const a=P.list();return a.length?a.forEach((a=>a(e,t,n))):console.error(e),Promise.reject(e)}function x(e){return A||(A=!e,C(),V.list().forEach((([t,n])=>e?n(e):t())),V.reset()),e}function D(t,n,a,i){const{scrollBehavior:o}=e;if(!nt||!o)return Promise.resolve();const r=!a&&function(e){const t=Ft.get(e);return Ft.delete(e),t}(Ut(t.fullPath,0))||(i||!a)&&history.state&&history.state.scroll||null;return un().then((()=>o(t,n,r))).then((e=>e&&$t(e))).catch((e=>T(e,t,n)))}const O=e=>i.go(e);let I;const M=new Set,N={currentRoute:l,listening:!0,addRoute:function(e,n){let a,i;return Ht(e)?(a=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,a)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:h,options:e,push:g,replace:function(e){return g(it(m(e),{replace:!0}))},go:O,back:()=>O(-1),forward:()=>O(1),beforeEach:o.add,beforeResolve:r.add,afterEach:s.add,onError:P.add,isReady:function(){return A&&l.value!==Nt?Promise.resolve():new Promise(((e,t)=>{V.add([e,t])}))},install(e){e.component("RouterLink",Hn),e.component("RouterView",qn),e.config.globalProperties.$router=N,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>yn(l)}),nt&&!I&&l.value===Nt&&(I=!0,g(i.location).catch((e=>{})));const t={};for(const a in Nt)Object.defineProperty(t,a,{get:()=>l.value[a],enumerable:!0});e.provide(en,N),e.provide(tn,wn(t)),e.provide(nn,l);const n=e.unmount;M.add(e),e.unmount=function(){M.delete(e),M.size<1&&(c=Nt,E&&E(),E=null,l.value=Nt,I=!1,A=!1),n()}}};function B(e){return e.reduce(((e,t)=>e.then((()=>b(t)))),Promise.resolve())}return N}({history:function(e){const t=function(e){const{history:t,location:n}=window,a={value:bn(e,n)},i={value:t.state};function o(a,o,r){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+a:_n()+e+a;try{t[r?"replaceState":"pushState"](o,"",l),i.value=o}catch(c){console.error(c),n[r?"replace":"assign"](l)}}return i.value||o(a.value,{back:null,current:a.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:a,state:i,push:function(e,n){const r=it({},i.value,t.state,{forward:e,scroll:zt()});o(r.current,r,!0),o(e,it({},vn(a.value,e,null),{position:r.position+1},n),!1),a.value=e},replace:function(e,n){o(e,it({},t.state,vn(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),a.value=e}}}(e=function(e){if(!e)if(nt){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),Pt(e)}(e)),n=function(e,t,n,a){let i=[],o=[],r=null;const s=({state:o})=>{const s=bn(e,location),l=n.value,c=t.value;let d=0;if(o){if(n.value=s,t.value=o,r&&r===l)return void(r=null);d=c?o.position-c.position:0}else a(s);i.forEach((e=>{e(n.value,l,{delta:d,type:Bt.pop,direction:d?d>0?Lt.forward:Lt.back:Lt.unknown})}))};function l(){if("hidden"===document.visibilityState){const{history:e}=window;if(!e.state)return;e.replaceState(it({},e.state,{scroll:zt()}),"")}}return window.addEventListener("popstate",s),window.addEventListener("pagehide",l),document.addEventListener("visibilitychange",l),{pauseListeners:function(){r=n.value},listen:function(e){i.push(e);const t=()=>{const t=i.indexOf(e);t>-1&&i.splice(t,1)};return o.push(t),t},destroy:function(){for(const e of o)e();o=[],window.removeEventListener("popstate",s),window.removeEventListener("pagehide",l),document.removeEventListener("visibilitychange",l)}}}(e,t.state,t.location,t.replace),a=it({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:jt.bind(null,e)},t,n);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>t.state.value}),a}(),linkExactActiveClass:"-active --active",linkActiveClass:"-active --active",routes:[{path:"/:pathMatch(.*)*",component:Ko}],scrollBehavior:function(e,t,n){try{clearTimeout(Jo.timeout)}catch(a){}return n?$a.dispatch("setScrollOffset",n):$a.dispatch("setScrollOffset",{x:0,y:0}),e.hash?(t.href||(Qo=e.hash),!1):e.href!==t.href&&new Promise(((e,t)=>{Jo.timeout=setTimeout((()=>{e({left:0,top:n?n.top:0})}),300)}))}}));Jo.beforeEach(((e,t,n)=>{""!==e.hash&&$a.dispatch("setRenderedFullPage",!0),n()})),Jo.afterEach((e=>{""!==e.hash&&document.getElementById(e.hash.slice(1)).focus()})),Jo.timeout=null;let Qo=null;function Zo(e,t=2,n="0"){return e.toString().padStart(t,n)}window.onload=function(){null!==Qo&&jo(Qo)};const Xo={appendDurationPrefix:function(e){return e+" Min."},firstNLetters:function(e,t){return e.substring(0,t)},everythingExceptFirstNLetters:function(e,t){return e.substring(t)}
12,padLeft:function(e,t=2,n="0"){return Zo(e,t,n)},date:{dayMonth:function(e){return Zo(e.d)+". "+e.m_txt}},germanDayMonth:function(e){const t=new Date(e);return t.getDate()+". "+t.toLocaleString("de-DE",{month:"long"})},germanDateFull:function(e){const t=new Date(e);return t.getDate()+". "+t.toLocaleString("de-DE",{month:"short",year:"numeric"})},formatDateShort:function(e){const t=new Date(e);return t.getDate().toString().padStart(2,"0")+"."+(t.getMonth()+1).toString().padStart(2,"0")+"."+t.getFullYear()},hourMinute:function(e){const t=new Date(e);return t.getHours().toString().padStart(2,"0")+":"+t.getMinutes().toString().padStart(2,"0")},cutTimeFromDate:function(e){return`${new Date(e).toLocaleDateString("de-DE",{day:"numeric",month:"short",year:"numeric"})}`}};function er(e){if(void 0===e||!e)return"";const t=cs.config.globalProperties.$baseUrl.replace(":8080","");return 0===e.indexOf(t)?e.substr(t.length):e}const tr="SET_AUTH_DATA",nr="SET_REDIRECT_PATH",ar={state:{auth:!1,loginUrl:"",registerUrl:"",logoutUrl:"",redirectPath:"",userData:null},namespaced:!0,mutations:{[tr]:(e,t)=>(e.auth=t.auth,e.loginUrl=t.login_url,e.registerUrl=t.register_url,e.logoutUrl=t.logout_url,e.userData=t.data),[nr]:(e,t)=>e.redirectPath=t},getters:{auth:e=>e.auth,loginUrl:e=>e.loginUrl,registerUrl:e=>e.registerUrl,logoutUrl:e=>e.logoutUrl,redirectPath:e=>e.redirectPath,userData:e=>e.userData,userName:e=>null!==e.userData&&"username"in e.userData?e.userData.username:"",userMail:e=>null!==e.userData&&"email"in e.userData?e.userData.email:"",userNameReadable:e=>null!==e.userData&&"name"in e.userData?e.userData.name:""},actions:{setAuthData:function({commit:e},t){return e(tr,t)},setRedirectPath:function({commit:e},t){return e(nr,t)}}};class ir{#h={};set(e){"object"==typeof e?Object.assign(this.#h,e):console.error("[soylent:serviceProvider] set failed, you did not pass a collection",e)}has(e){return Object.keys(this.#h).indexOf(e)>=0}get(){return this.#h}getByName(e){return this.has(e)?this.#h[e]:null}}function or(){return"__soylent"in window||(window.__soylent={}),"serviceProvider"in window.__soylent||(window.__soylent.serviceProvider=new ir),window.__soylent.serviceProvider}class rr{#m;init(e){this.#m=e,this.#m.registerModule("sso",ar),me.on(Fa,((e,t)=>"auth"===t?this.#m.state.sso.auth:"no_auth"===t?!this.#m.state.sso.auth:e),{priority:1}),this.getAuthData()}getAuthData(){Hi.get("/cmms-api/v3/sso/profile/status").then((e=>{this.#m.dispatch("sso/setAuthData",e)})).catch((e=>{console.error("[auth]",e)}))}getLoginUrl(e){const t=dn(tn);return e||(e=this.#m.getters["sso/loginUrl"]),null!=e?e=t&&"path"in t?`${e}?redirect=${encodeURI(t.path)}`:`${e}?redirect=${encodeURI(window.location.pathname)}`:console.error("[auth] Login url undefined"),e}}
13/*!
14            * tabbable 6.5.0
15            * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
16            */
17var sr=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","area[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],lr=sr.join(","),cr="undefined"==typeof Element,dr=cr?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ur=!cr&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},pr=function(e,t){var n;void 0===t&&(t=!0);var a=null==e||null===(n=e.getAttribute)||void 0===n?void 0:n.call(e,"inert");return""===a||"true"===a||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):pr(e.parentNode))},hr=function(e,t,n){if(pr(e))return[];var a=Array.prototype.slice.apply(e.querySelectorAll(lr));return t&&dr.call(e,lr)&&a.unshift(e),a=a.filter(n)},mr=function(e,t,n){for(var a=[],i=Array.from(e);i.length;){var o=i.shift();if(!pr(o,!1))if("SLOT"===o.tagName){var r=o.assignedElements(),s=r.length?r:o.children,l=mr(s,!0,n);n.flatten?a.push.apply(a,l):a.push({scopeParent:o,candidates:l})}else{dr.call(o,lr)&&n.filter(o)&&(t||!e.includes(o))&&a.push(o);var c=o.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(o),d=!pr(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(o
vendor: 4,272 bytes, lines 17-22
17));if(c&&d){var u=mr(!0===c?o.children:c.children,!0,n);n.flatten?a.push.apply(a,u):a.push({scopeParent:o,candidates:u})}else i.unshift.apply(i,o.children)}}return a},wr=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},gr=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!wr(e)?0:e.tabIndex},yr=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},fr=function(e){return"INPUT"===e.tagName},_r=function(e){return function(e){return fr(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||ur(e),a=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=a(window.CSS.escape(e.name));else try{t=a(e.name)}catch(o){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message),!1}var i=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!i||i===e}(e)},br=function(e){var t=e.getBoundingClientRect(),n=t.width,a=t.height;return 0===n&&0===a},vr=function(e,t){var n=t.displayCheck,a=t.getShadowRoot;if("full-native"===n&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var i=getComputedStyle(e).visibility;if("hidden"===i||"collapse"===i)return!0;var o=dr.call(e,"details>summary:first-of-type")?e.parentElement:e;if(dr.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return br(e)}else{if("function"==typeof a){for(var r=e;e;){var s=e.parentElement,l=ur(e);if(s&&!s.shadowRoot&&!0===a(s))return br(e);e=e.assignedSlot?e.assignedSlot:s||l===e.ownerDocument?s:l.host}e=r}if(function(e){var t,n,a,i,o=e&&ur(e),r=null===(t=o)||void 0===t?void 0:t.host,s=!1;if(o&&o!==e)for(s=!!(null!==(n=r)&&void 0!==n&&null!==(a=n.ownerDocument)&&void 0!==a&&a.contains(r)||null!=e&&null!==(i=e.ownerDocument)&&void 0!==i&&i.contains(e));!s&&r;){var l,c,d;s=!(null===(c=r=null===(l=o=ur(r))||void 0===l?void 0:l.host)||void 0===c||null===(d=c.ownerDocument)||void 0===d||!d.contains(r))}return s}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},kr=function(e,t){return!(t.disabled||function(e){return fr(e)&&"hidden"===e.type}(t)||vr(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var a=t.children.item(n);if("LEGEND"===a.tagName)return!!dr.call(t,"fieldset[disabled] *")||!a.contains(e)}return!0}t=t.parentElement}return!1}(t))},Sr=function(e,t){return!(_r(t)||gr(t)<0||!kr(e,t))},Er=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Cr=function(e){var t=[],n=[];return e.forEach((function(e,a){var i=!!e.scopeParent,o=i?e.scopeParent:e,r=function(e,t){var n=gr(e);return n<0&&t&&!wr(e)?0:n}(o,i),s=i?Cr(e.candidates):o;0===r?i?t.push.apply(t,s):t.push(o):n.push({documentOrder:a,tabIndex:r,item:e,isScope:i,content:s})})),n.sort(yr).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(t)},Ar=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==dr.call(e,lr)&&Sr(t,e)},Vr=sr.concat("iframe:not([inert]):not([inert] *)").join(","),Pr=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==dr.call(e,Vr)&&kr(t,e)};
18/*!
19            * focus-trap 8.2.2
20            * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
21            */
22function Tr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function xr(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
vendor: 4,424 bytes, line 22
22if(!n){if(Array.isArray(e)||(n=Nr(e))||t){n&&(e=n);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,r=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){s=!0,o=e},f:function(){try{r||null==n.return||n.return()}finally{if(s)throw o}}}}function Dr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t);if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Or(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ir(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Or(Object(n),!0).forEach((function(t){Dr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Or(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mr(e){return function(e){if(Array.isArray(e))return Tr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Nr(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nr(e,t){if(e){if("string"==typeof e)return Tr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Tr(e,t):void 0}}var Br={getActiveTrap:function(e){return(null==e?void 0:e.length)>0?e[e.length-1]:null},activateTrap:function(e,t){t!==Br.getActiveTrap(e)&&Br.pauseTrap(e);var n=e.indexOf(t);-1===n||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),Br.unpauseTrap(e)},pauseTrap:function(e){var t=Br.getActiveTrap(e);null==t||t._setPausedState(!0)},unpauseTrap:function(e){var t=Br.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},Lr=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},Rr=function(e){return Lr(e)&&!e.shiftKey},jr=function(e){return Lr(e)&&e.shiftKey},zr=function(e){return setTimeout(e,0)},$r=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return"function"==typeof e?e.apply(void 0,n):e},Ur=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},Fr=[],Hr=function(e,t){var n,a=(null==t?void 0:t.document)||document,i=(null==t?void 0:t.trapStack)||Fr,o=Ir({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,delayReturnFocus:!0,isolateSubtrees:!1,isKeyForward:Rr,isKeyBackward:jr},t),r={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},s=function(e,t,n){return e&&void 0!==e[t]?e[t]:o[n||t]},l=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return r.containerGroups.findIndex((function(t){var a=t.container,i=t.tabbableNodes;return a.contains(e)||(null==n?void 0:n.includes(a))||i.find((function(t){return t===e}))}))},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.hasFallback,i=void 0!==n&&n,r=t.params,s=void 0===r?[]:r,l=o[e];if("function"==typeof l&&(l=l.apply(void 0,Mr(s))),!0===l&&(l=void 0),!l){if(void 0===l||!1===l)return l;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var c=l;if("string"==typeof l){try{c=a.querySelector(l)}catch(d){throw new Error("`".concat(e,'` appears to be an invali
22d selector; error="').concat(d.message,'"'))}if(!c&&!i)throw new Error("`".concat(e,"` as selector refers to no known node"))}return c},d=function(e){var t=e.activeElement;return t?t.shadowRoot&&null!==t.shadowRoot.activeElement?d(t.shadowRoot):t:null},u=function(){var e=c("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!Pr(e,o.tabbableOptions)){var t=d(a);if(l(t)>=0)e=t;else{var n=r.tabbableGroups[0];e=n&&n.firstTabbableNode||c("fallbackFocus")}}else null===e&&(e=c("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},p=function(){if(r.containerGroups=r.containers.map((function(e){var t=function(e,t){var n;return n=(t=t||{}).getShadowRoot?mr([e],t.includeContainer,{filter:Sr.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Er}):hr(e,t.includeContainer,Sr.bind(null,t)),Cr(n)}(e,o.tabbableOptions),n=function(e,t){return(t=t||{}).getShadowRoot?mr([e],t.includeContainer,{filter:kr.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):hr(e,t.includeContainer,kr.bind(null,t))}(e,o.tabbableOptions),a=t.length>0?t[0]:void 0,i=t.length>0?t[t.length-1]:void 0,r=n.find((function(e){return Ar(e)})),s=n.slice().reverse().find((function(e){return Ar(e)})),l=!!t.find((function(e){return gr(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:a,lastTabbableNode:i,firstDomTabbableNode:r,lastDomTabbableNode:s,nextTabbableNode:function(e){var a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.indexOf(e);return i<0?a?n.slice(n.indexOf(e)+1).find((function(e){return Ar(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return Ar(e)})):t[i+(a?1:-1)]}}})),r.tabbableGroups=r.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),r.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(r.containerGroups.find((function(e){return e.posTabIndexesFound}))&&r.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function(e){!1!==e&&e!==d(document)&&(e&&e.focus?(e.focus({preventScroll:!!o.preventScroll}),r.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):h(u()))},m=function(e){var t=c("setReturnFocus",{params:[e]});return t||!1!==t&&e},w=function(e){var t=e.target,n=e.event,a=e.isBackward,i=void 0!==a&&a;t=t||Ur(n),p();var s=null;if(r.tabbableGroups.length>0){var d=l(t,n),u=d>=0?r.containerGroups[d]:void 0;if(d<0)s=i?r.tabbableGroups[r.tabbableGroups.length-1].lastTabbableNode:r.tabbableGroups[0].firstTabbableNode;else if(i){var h=r.tabbableGroups.findIndex((function(e){var n=e.firstTabbableNode;return t===n}));if(h<0&&(u.container===t||Pr(t,o.tabbableOptions)&&!Ar(t,o.tabbableOptions)&&!u.nextTabbableNode(t,!1))&&(h=d),h>=0){var m=0===h?r.tabbableGroups.length-1:h-1,w=r.tabbableGroups[m];s=gr(t)>=0?w.lastTabbableNode:w.lastDomTabbableNode}else Lr(n)||(s=u.nextTabbableNode(t,!1))}else{var g=r.tabbableGroups.findIndex((function(e){var n=e.lastTabbableNode;return t===n}));if(g<0&&(u.container===t||Pr(t,o.tabbableOptions)&&!Ar(t,o.tabbableOptions)&&!u.nextTabbableNode(t))&&(g=d),g>=0){var y=g===r.tabbableGroups.length-1?0:g+1,f=r.tabbableGroups[y];s=gr(t)>=0?f.firstTabbableNode:f.firstDomTabbableNode}else Lr(n)||(s=u.nextTabbableNode(t))}}else s=c("fallbackFocus");return s},g=function(e){var t=Ur(e);l(t,e)>=0||($r(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate}):$r(o.allowOutsideClick,e)||e.preventDefault())},y=function(e){var t=Ur(e),n=l(t,e)>=0;if(n||t instanceof Document)n&&(r.mostRecentlyFocusedNode=t);else{var a;e.stopImmediatePropagation();var i=!0;if(r.mostRecentlyFocusedNode)if(gr(r.mostRecentlyFocusedNode)>0){var s=l(r.mostRecentlyFocusedNode),c=r.containerGroups[s].tabbableNodes;if(c.length>0){var d=c.findIndex((function(e){return e===r.mostRecentlyFocusedNode}));d>
vendor: 3,783 bytes, line 22
22=0&&(o.isKeyForward(r.recentNavEvent)?d+1<c.length&&(a=c[d+1],i=!1):d-1>=0&&(a=c[d-1],i=!1))}}else r.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return gr(e)>0}))}))||(i=!1);else i=!1;i&&(a=w({target:r.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(r.recentNavEvent)})),h(a||r.mostRecentlyFocusedNode||u())}r.recentNavEvent=void 0},f=function(e){(o.isKeyForward(e)||o.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.recentNavEvent=e;var n=w({event:e,isBackward:t});n&&(Lr(e)&&e.preventDefault(),h(n))}(e,o.isKeyBackward(e))},_=function(e){var t;"Escape"!==(null==(t=e)?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===$r(o.escapeDeactivates,e)||(e.preventDefault(),n.deactivate())},b=function(e){var t=Ur(e);l(t,e)>=0||$r(o.clickOutsideDeactivates,e)||$r(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},v=function(){var e;if(r.active)return Br.activateTrap(i,n),o.delayInitialFocus?e=new Promise((function(e){r.delayInitialFocusTimer=zr((function(){h(u()),e()}))})):h(u()),a.addEventListener("focusin",y,!0),a.addEventListener("mousedown",g,{capture:!0,passive:!1}),a.addEventListener("touchstart",g,{capture:!0,passive:!1}),a.addEventListener("click",b,{capture:!0,passive:!1}),a.addEventListener("keydown",f,{capture:!0,passive:!1}),a.addEventListener("keydown",_),e},k=function(){if(r.active)return a.removeEventListener("focusin",y,!0),a.removeEventListener("mousedown",g,!0),a.removeEventListener("touchstart",g,!0),a.removeEventListener("click",b,!0),a.removeEventListener("keydown",f,!0),a.removeEventListener("keydown",_),n},S="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){var t=r.mostRecentlyFocusedNode;if(t&&e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===t||"function"==typeof e.contains&&e.contains(t)}))}))&&r.containers.some((function(e){return null==e?void 0:e.isConnected}))){p();var n=u();h(n)}})):void 0,E=function(){S&&(S.disconnect(),r.active&&!r.paused&&r.containers.map((function(e){S.observe(e,{subtree:!0,childList:!0})})))};return n={get active(){return r.active},get paused(){return r.paused},activate:function(e){if(r.active)return this;var t,o=s(e,"onActivate"),l=s(e,"onPostActivate"),c=s(e,"checkCanFocusTrap"),u=Br.getActiveTrap(i),h=!1;u&&!u.paused&&(null===(t=u._setSubtreeIsolation)||void 0===t||t.call(u,!1),h=!0);try{c||p(),r.active=!0,r.paused=!1,r.nodeFocusedBeforeActivation=d(a),null==o||o({trap:n});var m=function(){c&&p();var e=function(){n._setSubtreeIsolation(!0),E(),null==l||l({trap:n})},t=v();t?t.then(e):e()};if(c)return c(r.containers.concat()).then(m,m),this;m()}catch(g){var w;throw u===Br.getActiveTrap(i)&&h&&(null===(w=u._setSubtreeIsolation)||void 0===w||w.call(u,!0)),g}return this},deactivate:function(e){if(!r.active)return this;var t=Ir({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(r.delayInitialFocusTimer),r.delayInitialFocusTimer=void 0,r.paused||n._setSubtreeIsolation(!1),r.alreadySilent.clear(),k(),r.active=!1,r.paused=!1,E(),Br.deactivateTrap(i,n);var a=s(t,"onDeactivate"),l=s(t,"onPostDeactivate"),c=s(t,"checkCanReturnFocus"),d=s(t,"delayReturnFocus"),u=s(t,"returnFocus","returnFocusOnDeactivate");null==a||a({trap:n});var p=function(){u&&h(m(r.nodeFocusedBeforeActivation)),null==l||l({trap:n})},w=function(){d&&u?zr(p):p()};return u&&c?(c(m(r.nodeFocusedBeforeActivation)).then(w,w),this):(w(),this)},pause:function(e){return r.active?(r.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return r.active?(r.manuallyPaused=!1,i[i.length-1]!==this?this:this._setPausedState(!1,e)):this}
22,updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return r.containers=t.map((function(e){return"string"==typeof e?a.querySelector(e):e})),o.isolateSubtrees&&function(e){r.active&&!r.paused&&n._setSubtreeIsolation(!1),r.adjacentElements.clear(),r.alreadySilent.clear();var t,a=new Set,i=new Set,o=xr(e);try{for(o.s();!(t=o.n()).done;){var s=t.value;a.add(s);for(var l="undefined"!=typeof ShadowRoot&&s.getRootNode()instanceof ShadowRoot,c=s;c;){a.add(c);var d=c.parentElement,u=[];d?u=d.children:!d&&l&&(u=c.getRootNode().children,d=c.getRootNode().host,l="undefined"!=typeof ShadowRoot&&d.getRootNode()instanceof ShadowRoot);var p,h=xr(u);try{for(h.s();!(p=h.n()).done;){var m=p.value;i.add(m)}}catch(w){h.e(w)}finally{h.f()}c=d}}}catch(w){o.e(w)}finally{o.f()}a.forEach((function(e){i.delete(e)})),r.adjacentElements=i}(r.containers),r.active&&(p(),r.paused||n._setSubtreeIsolation(!0)),E(),this}},Object.defineProperties(n,{_isManuallyPaused:{value:function(){return r.manuallyPaused}},_setPausedState:{value:function(e,t){if(r.paused===e)return this;if(r.paused=e,e){var a=s(t,"onPause"),i=s(t,"onPostPause");null==a||a({trap:n}),k(),n._setSubtreeIsolation(!1),E(),null==i||i({trap:n})}else{var o=s(t,"onUnpause"),l=s(t,"onPostUnpause");null==o||o({trap:n}),function(){p();var e=function(){n._setSubtreeIsolation(!0),E(),null==l||l({trap:n})},t=v();t?t.then(e):e()}()}return this}},_setSubtreeIsolation:{value:function(e){o.isolateSubtrees&&r.adjacentElements.forEach((function(t){var n;e?"aria-hidden"===o.isolateSubtrees?("true"!==t.ariaHidden&&"true"!==(null===(n=t.getAttribute("aria-hidden"))||void 0===n?void 0:n.toLowerCase())||r.alreadySilent.add(t),t.setAttribute("aria-hidden","true")):((t.inert||t.hasAttribute("inert"))&&r.alreadySilent.add(t),t.setAttribute("inert",!0)):r.alreadySilent.has(t)||("aria-hidden"===o.isolateSubtrees?t.removeAttribute("aria-hidden"):t.removeAttribute("inert"))}))}}}),n.updateContainerElements(e),n};let Gr;const Wr=(e,t)=>{t.value||void 0===t.value?((e=>{Gr=Hr(e,{escapeDeactivates:!1,allowOutsideClick:!0,initialFocus:!1,fallbackFocus:document.body})})(t.arg?[e,...t.arg]:e),setTimeout((()=>{Gr.activate()}),100),console.debug("[focus-trap] activated")):Gr&&Gr.active&&(Gr.deactivate(),console.debug("[focus-trap] deactivated"))},Yr={mounted(e,t){Wr(e,t)},updated(e,t){Wr(e,t)},unmounted(e,t){Gr&&Gr.active&&(Gr.deactivate(),console.debug("[focus-trap] deactivated"))}},qr=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopedSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideNextClass","slidePrevClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Kr(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function Jr(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter((e=>
22n.indexOf(e)<0)).forEach((n=>{void 0===e[n]?e[n]=t[n]:Kr(t[n])&&Kr(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:Jr(e[n],t[n]):e[n]=t[n]}))}function Qr(e=""){const t=e.split(" ").map((e=>e.trim())).filter((e=>!!e)),n=[];return t.forEach((e=>{n.indexOf(e)<0&&n.push(e)})),n.join(" ")}function Zr(e=""){return e.replace(/-[a-z]/g,(e=>e.toUpperCase().replace("-","")))}const Xr=e=>parseFloat(e)===Number(e)?Number(e):"true"===e||""===e||"false"!==e&&("null"===e?null:"undefined"!==e?e:void 0),es=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function ts(e,t,a){const i={},o={};Jr(i,n);const r=[...qr,"on"],s=r.map((e=>e.replace(/_/,"")));r.forEach((t=>{t=t.replace("_",""),void 0!==e[t]&&(o[t]=e[t])}));const l=[...e.attributes];return"string"==typeof t&&void 0!==a&&l.push({name:t,value:a}),l.forEach((e=>{const t=es.filter((t=>0===e.name.indexOf(`${t}-`)))[0];if(t){const n=Zr(t),a=Zr(e.name.split(`${t}-`)[1]);void 0===o[n]&&(o[n]={}),!0===o[n]&&(o[n]={enabled:!0}),o[n][a]=Xr(e.value)}else{const t=Zr(e.name);if(!s.includes(t))return;const n=Xr(e.value);o[t]&&es.includes(e.name)?(o[t].constructor!==Object&&(o[t]={}),o[t].enabled=n):o[t]=n}})),Jr(i,o),i.navigation?i.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...!0!==i.navigation?i.navigation:{}}:!1===i.navigation&&delete i.navigation,i.scrollbar?i.scrollbar={el:".swiper-scrollbar",...!0!==i.scrollbar?i.scrollbar:{}}:!1===i.scrollbar&&delete i.scrollbar,i.pagination?i.pagination={el:".swiper-pagination",...!0!==i.pagination?i.pagination:{}}:!1===i.pagination&&delete i.pagination,{params:i,passedParams:o}}const ns="@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}";let as=!0;const is=(e,t)=>{let n=document.querySelector("style#swiper-element-styles");const a=n&&n.preInit&&!e;
22!e&&t&&t.cssLinks().forEach((e=>{const t=document.createElement("link");t.rel="stylesheet",t.href=e,document.head.prepend(t)})),n&&!a||(n=n||document.createElement("style"),n.textContent=[ns,t?t.cssStyles():""].join("\n"),n.id="swiper-element-styles",n.preInit=e,document.head.prepend(n))},os="undefined"==typeof window||"undefined"==typeof HTMLElement?class{}:HTMLElement;class rs extends os{constructor(){super(),this.tempDiv=document.createElement("div"),this.shadowEl=this.attachShadow({mode:"open"})}cssStyles(){return[as?":root{--swiper-theme-color:#007aff}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}:host(.swiper-vertical)>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight swiper-slide{height:auto}:host(.swiper-autoheight) .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}:host(.swiper-3d.swiper-css-mode) .swiper-wrapper{perspective:1200px}:host(.swiper-3d) .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d swiper-slide{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}:host(.swiper-css-mode)>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}:host(.swiper-css-mode)>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>swiper-slide{scroll-snap-align:start start}:host(.swiper-horizontal.swiper-css-mode)>.swiper-wrapper{scroll-snap-type:x mandatory}:host(.swiper-vertical.swiper-css-mode)>.swiper-wrapper{scroll-snap-type:y mandatory}:host(.swiper-css-mode.swiper-free-mode)>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>swiper-slide{scroll-snap-align:none}:host(.swiper-centered)>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-centered>swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}:host(.swiper-centered.swiper-horizontal)>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}:host(.swiper-centered.swiper-vertical)>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}":"",...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join("\n")}cssLinks(){return this.injectStylesUrls||[]}
22render(){if(this.rendered)return;as&&is(!1,this);const e=this.cssStyles();e.length&&(this.stylesEl=document.createElement("style"),this.stylesEl.textContent=e,this.shadowEl.appendChild(this.stylesEl)),this.cssLinks().forEach((e=>{if(this.shadowEl.querySelector(`link[href="${e}"]`))return;const t=document.createElement("link");t.rel="stylesheet",t.href=e,this.shadowEl.appendChild(t)})),this.tempDiv.innerHTML=`\n      <slot name="container-start"></slot>\n      <div class="swiper-wrapper">\n        <slot></slot>\n      </div>\n      <slot name="container-end"></slot>\n      ${function(e={}){return e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}(this.passedParams)?'\n        <div part="button-prev" class="swiper-button-prev"></div>\n        <div part="button-next" class="swiper-button-next"></div>\n      ':""}\n      ${function(e={}){return e.pagination&&void 0===e.pagination.el}(this.passedParams)?'\n        <div part="pagination" class="swiper-pagination"></div>\n      ':""}\n      ${function(e={}){return e.scrollbar&&void 0===e.scrollbar.el}(this.passedParams)?'\n        <div part="scrollbar" class="swiper-scrollbar"></div>\n      ':""}\n    `,[...this.tempDiv.children].forEach((e=>{this.shadowEl.appendChild(e)})),this.rendered=!0}initialize(){if(this.initialized)return;this.initialized=!0;const{params:e,passedParams:t}=ts(this);this.swiperParams=e,this.passedParams=t,delete this.swiperParams.init,this.render(),this.swiper=new a(this,{...e,touchEventsTarget:"container",...e.virtual?{}:{observer:!0},onAny:(t,...n)=>{const a=e.eventsPrefix?`${e.eventsPrefix}${t.toLowerCase()}`:t.toLowerCase(),i=new CustomEvent(a,{detail:n,bubbles:!0,cancelable:!0});this.dispatchEvent(i)}})}connectedCallback(){this.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||(!1!==this.init&&"false"!==this.getAttribute("init")?this.initialize():is(!0,this))}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||(this.swiper&&this.swiper.destroy&&this.swiper.destroy(),this.initialized=!1)}updateSwiperOnPropChange(e,t){const{params:n,passedParams:a}=ts(this,e,t);this.passedParams=a,this.swiperParams=n,function({swiper:e,slides:t,passedParams:n,changedParams:a,nextEl:i,prevEl:o,scrollbarEl:r,paginationEl:s}){const l=a.filter((e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e)),{params:c,pagination:d,navigation:u,scrollbar:p,virtual:h,thumbs:m}=e;let w,g,y,f,_,b,v,k;a.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(w=!0),a.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(g=!0),a.includes("pagination")&&n.pagination&&(n.pagination.el||s)&&(c.pagination||!1===c.pagination)&&d&&!d.el&&(y=!0),a.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||r)&&(c.scrollbar||!1===c.scrollbar)&&p&&!p.el&&(f=!0),a.includes("navigation")&&n.navigation&&(n.navigation.prevEl||o)&&(n.navigation.nextEl||i)&&(c.navigation||!1===c.navigation)&&u&&!u.prevEl&&!u.nextEl&&(_=!0);const S=t=>{e[t]&&(e[t].destroy(),"navigation"===t?(e.isElement&&(e[t].prevEl.remove(),e[t].nextEl.remove()),c[t].prevEl=void 0,c[t].nextEl=void 0,e[t].prevEl=void 0,e[t].nextEl=void 0):(e.isElement&&e[t].el.remove(),c[t].el=void 0,e[t].el=void 0))};a.includes("loop")&&e.isElement&&(c.loop&&!n.loop?b=!0:!c.loop&&n.loop?v=!0:k=!0),l.forEach((e=>{if(Kr(c[e])&&Kr(n[e]))Jr(c[e],n[e]),"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e||!("enabled"in n[e])||n[e].enabled||S(e);else{const t=n[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?c[e]=n[e]:!1===t&&S(e)}})),l.includes("controller")&&!g&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),a.includes("children")&&t&&h&&c.virtual.enabled&&(h.slides=t,h.update(!0)),a.includes("children")&&t&&c.loop&&(k=!0),w&&m.init()&&m.update(!0),g&&(e.controller.control=c.controller.control),y&&(!e.isElement||s&&"string"!=typeof s||((s=document.createElement("div")).classList.add("swiper-pagination"),e.el.shadowEl.appendChild(s)),s&&(c.pagination.el=s),d.init(),d.render(),d.update()),f&&(!e.isElement||r&&"string"!=typeof r||((r=document.createElement("div")).classList.add("swiper-scrollbar"),e.el.shadowEl.appendChild(r)),r&&(c.scrollbar.el=r),p.init(),p.updateSize(),p.setTranslate()),_&&(e.isElement&&(i&&"string"!=typeof i||((i=document.createElement("div")).classList.add("swiper-button-next"),e.el.shadowEl.appendChild(i)),o&&"string"!=typeof o||((o=document.createElement("div")).classList.add("swiper-button-prev"),e.el.shadowEl.appendChild(o))),i&&(c.navigation.nextEl=i),o&&(c.navigation.prevEl=o),u.init(
22),u.update()),a.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),a.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),a.includes("direction")&&e.changeDirection(n.direction,!1),(b||k)&&e.loopDestroy(),(v||k)&&e.loopCreate(),e.update()}({swiper:this.swiper,passedParams:this.passedParams,changedParams:[Zr(e)],..."navigation"===e&&a[e]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{},..."pagination"===e&&a[e]?{paginationEl:".swiper-pagination"}:{},..."scrollbar"===e&&a[e]?{scrollbarEl:".swiper-scrollbar"}:{}})}attributeChangedCallback(e,t,n){this.initialized&&("true"===t&&null===n&&(n=!1),this.updateSwiperOnPropChange(e,n))}static get observedAttributes(){return qr.filter((e=>e.includes("_"))).map((e=>e.replace(/[A-Z]/g,(e=>`-${e}`)).replace("_","").toLowerCase()))}}qr.forEach((e=>{"init"!==e&&(e=e.replace("_",""),Object.defineProperty(rs.prototype,e,{configurable:!0,get(){return(this.passedParams||{})[e]},set(t){this.passedParams||(this.passedParams={}),this.passedParams[e]=t,this.initialized&&this.updateSwiperOnPropChange(e)}}))}));let ss=class extends os{constructor(){super(),this.tempDiv=document.createElement("div"),this.shadowEl=this.attachShadow({mode:"open"})}render(){const e=this.lazy||""===this.getAttribute("lazy")||"true"===this.getAttribute("lazy");if(this.tempDiv.innerHTML="<slot />",[...this.tempDiv.children].forEach((e=>{this.shadowEl.appendChild(e)})),e){const e=document.createElement("div");e.classList.add("swiper-lazy-preloader"),this.appendChild(e)}}initialize(){this.render()}connectedCallback(){this.initialize()}};"undefined"!=typeof window&&(window.SwiperElementRegisterParams=e=>{qr.push(...e)});const ls=window.Vue.createApp;window.Vue.inject,window.Vue.provide,((e=!0)=>{"undefined"!=typeof window&&(e||(as=!1),as&&is(!0),window.customElements.get("swiper-container")||window.customElements.define("swiper-container",rs),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",ss))})(),Ma.defaults.headers={"Cache-Control":"no-cache",Pragma:"no-cache",Expires:"0"};const cs=ls(Ye);cs.config.performance=!0,cs.config.globalProperties.$baseUrl=window.cmms_base||"/",document.location.href.indexOf(":8080")>=0&&(cs.config.globalProperties.$baseUrl=cs.config.globalProperties.$baseUrl.replace(/^(https?:\/\/)([^/]*)\/?(.*)\/?$/,"$1$2:8080/$3")),cs.config.globalProperties.$production_mode=!0,cs.config.globalProperties.$appMode="soylent_settings"in window&&window.soylent_settings.app_mode||!1,cs.config.globalProperties.$routerLink=er,cs.config.globalProperties.$translate=(...e)=>window.__(...e),cs.config.globalProperties.$translateN=(...e)=>window._n(...e),R&&document.body.classList.add("app-native"),cs.config.globalProperties.$filters=Xo,cs.use($a),cs.use(Jo),cs.directive("focustrap",Yr);const ds="soylent_features"in window?window.soylent_features:{};Object.entries(ds).forEach((e=>{!0===e[1]&&z().add(e[0])})),window.isDynamicRenderer=navigator.userAgent.includes("WeLocalDynamicRenderer");const us="SET_PLAYER_DRAWER_OPEN",ps="SET_CHANNELS",hs="SET_DEFAULT_CHANNEL_ID",ms="SET_PODCAST_LIST",ws="ADD_PODCAST_OBJECT",gs="SET_PLAYER_STATE",ys="SET_PLAYER_MODE",fs="RESET_PLAYER_IDS",_s="RESET_PLAYER_DURATION",bs="SET_PLAYER_AUDIO_OBJECT",vs="SET_PLAYER_PODCAST_OBJECT",ks="SET_PLAYER_CHANNEL_ID",Ss="SET_PLAYER_DURATION",Es="SET_PLAYER_ELAPSED",Cs="SET_LAST_CHANNEL_ID",As="SET_CURRENT_TRACK_SOURCE",Vs={[us](e,t){const n=document.body;n.style.overflow=!0===t?"hidden":"",e.playerDrawerOpen=t},[ps](e,t){e.channels=t},[ws](e,t){e.podcasts["podcast_"+t.podcastId]=t.podcastData},[gs](e,t){e.player.state=t},[ys](e,t){e.player.mode=t},[fs](e){e.player.audioObject=null,e.player.podcastObject=null,e.player.channelId=null},[bs](e,t){e.player.audioObject=t},[vs](e,t){e.player.podcastObject=t},[ks](e,t){e.player.channelId=t},[hs](e,t){e.player.defaultChannelId=t},[Ss](e,t){e.player.duration=t},[Es](e,t){e.player.elapsed=t},[_s](e){e.player.duration=0,e.player.elapsed=0},[Cs](e,t){e.player.lastChannelId=t},[ms](e,t){e.player.podcastList=t},[As](e,t){e.player.currentTrackSource=t}},Ps={label:"",title:"",excerpt:""};class Ts{constructor(e={}){const t=Object.assign({},Ps);for(const n in e)n in t&&(t[n]=e[n]);return t}}const xs={title:"",interpret:"",cover:null,time:null,id:null,duration:0,live:!1,status:null};class Ds{constructor(e={}){const t=Object.assign({},xs);for(const n in e)n in t&&(t[n]=e[n]);return t}}function Os(e=0,t=":"){const n=new Date(1e3*e);
22let a=n.getUTCHours(),i=n.getUTCMinutes(),o=n.getSeconds(),r="";return a>0&&(r=a.toString().padStart(2,"0")+t),r+i.toString().padStart(2,"0")+t+o.toString().padStart(2,"0")}const Is={playerDrawerOpen:e=>e.playerDrawerOpen,defaultChannelId:e=>e.player.defaultChannelId,currentChannelId:e=>e.player.channelId||e.player.defaultChannelId,hasChannels:(e,t)=>t.channels.length>0||Object.keys(t.channels).length>0,channels:e=>e.channels,channelData:e=>t=>t in e.channels?e.channels[t]:null,currentChannelData:(e,t)=>t.currentChannelId in e.channels?e.channels[t.currentChannelId]:null,podcastData:e=>t=>"podcast_"+t in e.podcasts?e.podcasts["podcast_"+t]:null,podcastList:e=>e.player.podcastList,playerState:e=>e.player.state,playerMode:e=>e.player.mode,playerAudioObject:e=>e.player.audioObject,playerPodcastObject:e=>e.player.podcastObject,hasPodcasts:e=>e.player.podcastList.length>0,playerPodcastIndex:(e,t)=>{if(!t.playerPodcastObject)return 0;const n=t.playerAudioObject.post_id;return t.playerPodcastObject.episodes.findIndex((e=>e.post_id===n))},playerPodcastHasNext:(e,t)=>{if(!t.playerPodcastObject)return!1;const n=t.playerPodcastIndex-1;return!!t.playerPodcastObject.episodes[n]},playerPodcastHasPrev:(e,t)=>{if(!t.playerPodcastObject)return!1;const n=t.playerPodcastIndex+1;return!!t.playerPodcastObject.episodes[n]},playerChannelId:e=>e.player.channelId,playerDuration:e=>e.player.duration,playerDurationHuman:e=>Os(e.player.duration),playerElapsed:e=>e.player.elapsed,playerElapsedHuman:e=>Os(e.player.elapsed),playerElapsedPercent:e=>e.player.elapsed/e.player.duration*100,currentChannelTrack:(e,t)=>t.channelTrackById(t.currentChannelId),channelTrackById:(e,t)=>n=>{let a=n||t.currentChannelId,i=e.channels[a]&&"playlist"in e.channels[a]&&e.channels[a].playlist.length?e.channels[a].playlist[0]:null;return i&&(i=JSON.parse(JSON.stringify(i)),"cover"in i&&(i.cover=window.cmms_thumbs_base+`120x120c/${i.c
22over}`)),new Ds(i)},currentTrack:(e,t)=>{if(e.player.mode===be||e.player.mode===ve){const n=e.player.audioObject?{title:e.player.audioObject.title||"",duration:e.player.audioObject.duration_seconds||0,id:e.player.audioObject.post_id||null}:{};return e.player.audioObject&&e.player.audioObject.image?n.cover=`${window.cmms_thumbs_base}600x600c/${e.player.audioObject.image.media_id}.webp`:e.player.mode===ve&&e.player.podcastObject&&e.player.podcastObject.image&&(n.cover=`${window.cmms_thumbs_base}600x600c/${e.player.podcastObject.image.media_id}.webp`),R?e.player.mode===ve&&e.player.podcastObject?n.interpret=e.player.podcastObject.title:n.interpret="":n.interpret=`${t.playerElapsedHuman} / ${t.playerDurationHuman}`,new Ds(n)}const n=Object.assign({live:!0},e.channels[t.currentChannelId]&&"playlist"in e.channels[t.currentChannelId]&&e.channels[t.currentChannelId].playlist.length?e.channels[t.currentChannelId].playlist[0]:{});return"cover"in n&&!n.cover.length&&n.cover_s3.length&&(n.cover=n.cover_s3),"cover"in n&&"http"!==n.cover.substring(0,4)&&(n.cover=`${window.cmms_thumbs_base}600x600c/${n.cover}`),new Ds(n)},currentPodcastTitle:(e,t)=>
22t.playerPodcastObject?t.playerPodcastObject.title:"",trackCover:(e,t)=>(e,n)=>{if(!t.channelData(n))return null;const a=t.channelData(n).playlist;return e in a&&void 0!==a[e].cover&&"undefined"!==a[e].cover?window.cmms_thumbs_base+`640x640c/${a[e].cover}`:t.channelData(n).default_cover_id?window.cmms_thumbs_base+`640x640c/${t.channelData(n).default_cover_id}.webp`:null},currentShow:(e,t)=>e.player.mode===ve?new Ts(e.player.podcastObject?{label:e.player.podcastObject.title||"",title:""}:null):new Ts(e.channels[t.currentChannelId]&&"show"in e.channels[t.currentChannelId]?e.channels[t.currentChannelId].show:null),currentTrackSource:e=>e.currentTrackSource},Ms=window.Vue.ref;class Ns{#w=Ms(!1);constructor({player:e,type:t}){this.player=e,this.type=t,this.log("Loaded")}setReady(e){this.#w.value=e}ready(){return this.#w}play(e){}pause(){}log(...e){}}class Bs extends Ns{constructor(e){super({player:e,type:"ReactNative"}),Uo.onPayload(this.#g.bind(this),"event"),Uo.sendPayload({type:"setupAudioPlayer"})}#g(e){const{eventType:t,data:n}=e;switch(t){case"audioPlayerReady":this.#y();break;case"audioPlayerState":this.#f(n);break;case"audioPlayerProgress":this.player.setElapsed(parseFloat(n)||0);break;case"automotiveSetChannel":$a.dispatch("player/setPlayerChannelId",{channelId:parseInt(n.channelId,10),autoplay:!1}).then()}}#y(){this.setReady(!0)}#f(e){switch("stopped"===e&&this.player.getState()===fe&&(e="buffering"),e){case"playing":this.player.setState(ye);break;case"paused":this.player.setState(ge);break;case"ready":case"stopped":case"none":this.player.setState(we);break;case"buffering":this.player.setState(fe)}}play(e){const t=$a.getters["player/playerState"],n=$a.getters["player/playerMode"],a=$a.getters["player/currentTrackSource"];if(t===ge&&e===a&&(n===be||n===ve))return void Uo.sendPayload({type:"resumeAudioPlayer"});const i=$a.getters["player/currentTrack"].live,o={id:"default",url:e,title:$a.getters["player/currentTrack"].title,artist:$a.getters["player/currentTrack"].interpret,isLiveStream:i};if($a.getters["player/currentTrack"].cover&&(o.artwork=window.cmms_thumbs_base+"500x500/"+$a.getters["player/currentTrack"].cover),i){const e=$a.getters["player/currentChannelId"];o.metadataApi=`${document.location.origin}/cache/playlists/${e}_5.json`}else o.duration=$a.getters["player/currentTrack"].duration,this.player.setDuration(o.duration);Uo.sendPayload({type:"setAudioPlayerTrack",track:o,autoplay:!0}),$a.dispatch("player/setCurrentTrackSource",e),this.#f("buffering")}pause(){const e=$a.getters["player/playerMode"];e===be||e===ve?Uo.sendPayload({type:"pauseAudioPlayer"}):Uo.sendPayload({type:"stopAudioPlayer"})}seek(e){Uo.sendPayload({type:"audioPlayerSeek",seconds:e})}}class Ls extends Ns{#_=null;#b=this.handleEvent.bind(this);#v=["canplay",Se,Ee,Ce,Ae,Ve,Pe,Te,xe,De,Oe,Ie];constructor(e){super({player:e,type:"HTML"}),this.setReady(!0)}setup(e){this.#_=new Audio(e),this.#v.forEach((e=>this.#_.addEventListener(e,this.#b)))}destroy(){this.#v.forEach((e=>this.#_.removeEventListener(e,this.#b))),this.#_.pause(),this.#_.removeAttribute("src"),this.#_.load(),this.#_=null,this.player.setState(ge)}play(e){this.#_&&this.#_.src===e||(this.#_&&this.destroy(),this.setup(e)),this.#_.play().catch((e=>{this.log("Could not play",e)}))}pause(){this.#_.pause(),this.player.getMode()===ke&&this.destroy()}seek(e){this.#_.currentTime=e}handleEvent(e){switch(e.type){case Ve:case Oe:case De:case Ie:this.player.setState(fe);break;case Pe:this.player.setState(ye);break;case Ae:this.player.setState(ge);break;case Ee:this.player.setState(we),this.player.ended();break;case Ce:this.player.setState(_e);break;case Se:this.player.setDuration(this.#_.duration);break;case Te:case xe:this.player.setElapsed(this.#_.currentTime)}}}const Rs="EVENT_PLAY",js="EVENT_PAUSE",zs="EVENT_DURATION",$s="EVENT_PROGRESS",Us={mode:null,channelId:null,channelLabel:null,audioId:null,podcastId:null,podcastLabel:null},Fs="Audio",Hs="Play",Gs="Pause";class Ws{#k=null;#S={};#E={0:!1,25:!1,50:!1,75:!1,100:!1};#C=0;constructor(e){this.#k=e}configure(e={}){const t=this.#k.getMode(),{audioObject:n,channelObject:a,podcastObject:i}=Object.assign({audioObject:null,channelObject:null,podcastObject:null},e);if(t===this.#S.mode)switch(t){case ke:if(null!==a&&a.post_id===this.#S.channelId)return;break;case be:case ve:if(null!==n&&n.post_id===this.#S.audioId)return}this.#A(),this.#S.mode=t,n&&(this.#S.audioId=n.post_id),a&&(this.#S.channelId=a.channelId,this.#S.channelLabel=a.data.label),i&&(this.#S.podcastId=i.post_id,this.#S.podcastLabel=i.title)}track(e){switch(e){case Rs:this.#V({action:Hs}),this.#P(Hs);break;case js:this.#V({action:Gs}),this.#P(Gs);break;case zs:this.#C=100/this.#k.getDuration()*2;break;case $s:this.#T(this.#k.getElapsedPercent())}}#P(e){let t={};this.#S.mode===be||this.#S.mode===ve?t.media_id=this.#S.audioId:this.#S.mode===ke&&("channelLabel"in this.#S&&(t.channel_name=this.#S.channelLabel),t.channel_id=this.#S.channelId),document.dispatchEvent(new CustomEvent(`Player:${e}`,{cancelable:!0,bubbles:!0,detail:t}))}#T(e=0){isNaN(e)&&(e=0),e>75&&(e+=this.#C);let t=25*Math.floor(e/25);this.#V({action:Hs,percentage:t})}#V(e){if(e=Object.assign({action:null,percentage:0},e),!this.#E[e.percentage]){if(this.#E[e.percentage]=!0,this.#S.mode===be||this.#S.mode===ve){const t=new FormData;t.append("media_id",this.#S.audioId),t.append("percentage",e.percentage),Ma.post("/cmms-api-v2/media-tracking/",t)}if(0===e.percentage?(this.#S.mode!==be&&this.#S.mode!==ve||Ws.#x(["trackEvent",Fs,e.action,this.#S.audioId]),this.#S.mode===ve&&Ws.#x(["trackEvent","Podcast",e.action,this.#S.podcastId]),this.#S.mode===ke&&Ws.#x(["trackEvent","Channel",e.action,this.#S.channelId])):this.#S.mode!==be&&this.#S.mode!==ve||Ws.#x(["trackEvent",Fs,`${e.action}-${e.percentage}%`,this.#S.audioId]),0===e.percentage||100===e.percentage){let t=null;if(100===e.percentage)t="complete";else switch(e.action){case Hs:t="start";break;case Gs:t="pause"}let n="media",a={};switch(this.#S.mode){case be:a.identifier=String(this.#S.audioId),a.type="other-music-content";break;case ve:a.identifier=String(this.#S.podcastId),a.type="podcast",a["media-series-name"]=this.#S.podcastLabel,a["media-series-episode"]=String(this.#S.audioId);break;case ke:n="stream",a.type="audio",a.identifier=String(this.#S.channelId),"pause"===t&&(t="stop")}null!==t&&Ws.#D(`fix:${n}:${t}`,a)}}}static#x(e=[]){try{window._paq.push(e)}catch(t){}}static#D(e="",t={}){try{window.Qyjs("tracking.track",e,t)}catch(n){}}#A(){this.#S=Object.assign({}
22,Us),Object.keys(this.#E).forEach((e=>{this.#E[e]=!1}))}}class Ys{#O=null;#I=null;constructor(){this.#M("Loaded"),this.#O=new(R?Bs:Ls)(this),this.#I=new Ws(this)}init(){this.#M("Init")}ready(){return this.#O.ready()}play(){let e=null;if(this.getMode()===ke){const t=$a.getters["player/channelData"]($a.getters["player/playerChannelId"]);if(!t)return;R&&"sources-app"in t?e=Ys.getSourceCandidate(t["sources-app"]):t.sources&&(e=Ys.getSourceCandidate(t.sources)),this.#I.configure({channelObject:{channelId:$a.getters["player/playerChannelId"],data:t}})}else{const t=$a.getters["player/playerAudioObject"];t.sources&&(e=Ys.getSourceCandidate(t.sources));const n=$a.getters["player/playerPodcastObject"];this.#I.configure({audioObject:t,podcastObject:n})}this.#M("Play source",e),this.#O.play(e),this.#I.track(Rs)}pause(){this.#O.pause(),this.#I.track(js)}seek(e){this.#O.seek(e)}ended(){y.dispatch(g.AUDIO_ENDED),$a.dispatch("player/audioObjectEnded")}toggle(){this.getState()===ye?this.pause():this.play()}setState(e){$a.dispatch("player/setPlayerState",e).then()}getState(){return $a.getters["player/playerState"]}getMode(){return $a.getters["player/playerMode"]}getDuration(){return $a.getters["player/playerDuration"]}setDuration(e){$a.dispatch("player/setPlayerDuration",e).then((()=>{this.#I.track(zs)}))}getElapsed(){return $a.getters["player/playerElapsed"]}getElapsedPercent(){return $a.getters["player/playerElapsedPercent"]}setElapsed(e){$a.dispatch("player/setPlayerElapsed",e).then((()=>{this.#I.track($s)}))}static getSourceCandidate(e){let t=null;return e.constructor===Array&&(e=Ys.sourcesArrayToObject(e)),"aac"in e&&e.aac.length&&R&&(t=e.aac),null===t&&"mp4"in e&&e.mp4.length&&(t=e.mp4),null===t&&"mp3"in e&&e.mp3.length&&(t=e.mp3),t=me.filter(Ne,t),t}static sourcesArrayToObject(e){let t={};return e.forEach((e=>{if(!1 in e||!1 in e||!e.src.length)return;let n=null;switch(e.type){case"audio/mp3":n="mp3";break;case"audio/mp4":n="mp4";break;case"application/vnd.apple.mpegurl":n="hls"}n&&(t[n]=e.src)})),t}#M(...e){}}const qs=new Ys,Ks={setPlayerDrawerOpen:function({commit:e,getters:t},n){e(us,n)},setPlayerState:function({commit:e},t){e(gs,t)},setPlayerMode:function({commit:e},t){e(ys,t)},setPlayerAudioObject:async function({commit:e,dispatch:t,state:n},{audioObject:a,autoplay:i}){let o=null;null!==n.player.channelId&&n.player.state===ye&&n.player.mode===ke&&(o=n.player.channelId,t("setLastChannelId",o)),n.player.mode===be&&n.player.audioObject&&n.player.audioObject===a||(await e(fs),await e(_s),await e(bs,a),await t("setPlayerMode",be)),i&&qs.play()},setPlayerPodcast:async function({commit:e,dispatch:t,state:n,getters:a},{podcastObject:i,audioObject:o,autoplay:r}){let s=!0;if(n.player.mode!==ve||!n.player.audioObject||n.player.audioObject!==o||n.player.podcastObject!==i){await e(ks,null);let n=a.podcastData(i.post_id);null!==n?i=n:("model"in i&&(i=i.model),"api_url"in i&&(i=await t("loadPodcast",i.api_url))),await e(vs,i),o?await e(bs,o):i.episodes.length?await e(bs,i.episodes[0]):s=!1,await t("setPlayerMode",ve)}s&&r&&qs.play()},audioObjectEnded({dispatch:e,state:t}){t.player.mode===ve?e("playerPodcastSkip",Me):t.player.mode===be&&null!==t.player.lastChannelId&&e("setPlayerChannelId",{channelId:t.player.lastChannelId,autoplay:!0})},async playerPodcastSkip({dispatch:e,getters:t,commit:n},a=Me){if(t.playerPodcastObject){const n=t.playerPodcastIndex;let i=-1;i=a===Me?n-1:n+1;const o=t.playerPodcastObject.episodes;o[i]&&await e("setPlayerPodcast",{podcastObject:t.playerPodcastObject,audioObject:o[i],autoplay:!0})}},async setChannels({commit:e},t){if(await e(ps,t),R){const e=[];Object.keys(t).forEach((n=>{e.push({id:n,titleVariants:[t[n].label],image:{uri:window.cmms_thumbs_base+`320x/${t[n].thumbnail_id}.jpg`},order:t[n].order??0,src:Ys.getSourceCandidate(t[n]["sources-app"]??t[n].sources??{}),metadataApi:`${document.location.origin}/cache/playlists/${n}_5.json`})})),e.sort(((e,t)=>e.order-t.order)),e.forEach((e=>{delete e.order})),Uo.sendPayload({type:"automotivePlayerChannels",channels:e})}},setPlayerDefaultChannelId:async function({commit:e},{channelId:t}){e(hs,t)},setPlayerChannelId:async function({commit:e,dispatch:t},{channelId:n,autoplay:a}){t("setLastChannelId",null),await e(fs),await e(ks,n),await t("setPlayerMode",ke),R&&Uo.sendPayload({type:"automotivePlayerCurrentChannel",channel:n}),a&&qs.play()},setPlayerDuration:function({commit:e},t){e(Ss,t)},setPlayerElapsed:function({commit:e},t){e(Es,t)},loadPodcast:async({commit:e,state:t,dispatch:n},a)=>Ma.get(a).then((t=>{if(!0===t.data.success){const n=t.data.podcast,a=n.post_id;return e(ws,{podcastId:a,podcastData:n}),n}})).catch((e=>{if(!e.response)return!1})),async loadPodcastList({commit:e}){Ma.get("/data/soylent/podcast_data_list.json").then((t=>{!0===t.data.success&&e(ms,t.data.podcast_list)})).catch((e=>{if(!e.response)return console.debug(e),!1}))},setLastChannelId({commit:e,state:t,dispatch:n},a){e(Cs,a)},loadChannelData:function({commit:e,state:t,dispatch:n}){Ma.get("/cache/playlists/all-channels.json").then((a=>{const i=a.data;"channels"in window.soylent_settings.child_settings&&n("setChannels",i).then((()=>{const a=window.soylent_settings.child_settings.channels.default_channel_id;t.player.defaultChannelId||e(hs,a),a&&!t.player.channelId&&t.player.mode===ke&&n("setPlayerChannelId",{channelId:a})}))})).catch((e=>{e.response||console.debug(e)}))},async resetPlayer({commit:e,dispatch:t}){await e(ks,null),await e(vs,null),await e(bs,null),await e(_s),await e(bs,null),await t("setPlayerMode","CHANNEL");try{qs.pause()}catch(n){}},setCurrentTrackSource:function({commit:e},t){e(As,t)}},Js={state:{channels:{},podcasts:[],playerDrawerOpen:!1,player:{state:null,mode:ke,duration:0,elapsed:0,audioObject:null,podcastObject:null,channelId:null,defaultChannelId:null,lastChannelId:null,podcastList:[],currentTrackSource:null}},namespaced:!0,mutations:Vs,getters:Is,actions:Ks},Qs={name:"AppDebug",computed:{debug:function(){return this.$store.getters.pageDebugData}}},Zs=window.Vue.renderList,Xs=window.Vue.Fragment,el=window.Vue.openBlock,tl=window.Vue.createElementBlock,nl=window.Vue.createElementVNode,al=window.Vue.createCommentVNode,il={key:0,class:"soylent-debug-wrapper"},ol=["innerHTML"],rl=["innerHTML"],sl=f(Qs,[["render",function(e,t,n,a,i,o){return o.debug?(el(),tl("div",il,[(el(!0),tl(Xs,null,Zs(o.debug,(e=>(el(),tl("div",{key:e.id,class:"soylent-debug-item-wrapper"},[(el(!0),tl(Xs,null,Zs(e,((e,t)=>
22(el(),tl("div",{key:t.id,class:"soylent-debug-item"},[nl("code",{innerHTML:t.replace(".../cmms-theme-imsueden",""),class:"soylent-debug-key"},null,8,ol),nl("code",{innerHTML:e,class:"soylent-debug-value"},null,8,rl)])))),128))])))),128))])):al("",!0)}]]),ll={name:"MainMenuSub",components:{SubMenuItem:(0,window.Vue.defineAsyncComponent)((()=>Ji((()=>Promise.resolve().then((()=>zl))),void 0)))},props:["items"]},cl=window.Vue.renderList,dl=window.Vue.Fragment,ul=window.Vue.openBlock,pl=window.Vue.createElementBlock,hl=window.Vue.resolveComponent,ml=window.Vue.createBlock,wl={class:"sub-menu"},gl=f(ll,[["render",function(e,t,n,a,i,o){const r=hl("sub-menu-item");return ul(),pl("ul",wl,[(ul(!0),pl(dl,null,cl(n.items,(e=>(ul(),ml(r,{key:`sub_${e.id}`,item:e},null,8,["item"])))),128))])}]]),yl={name:"SoylentLink",props:{url:{type:String,default:""},callback:{default:!1},blank:{type:Boolean,default:null},useRouter:{type:Boolean,default:!0}},computed:{isAnchor(){return this.url&&("#"===this.url.charAt(0)||"/#"===this.url.substring(0,2))},useRouterLink:function(){return!1===this.callback&&!this.isExternalLink&&!0!==this.blank&&!this.isAnchor},target:function(){if(!1!==this.blank&&!this.isAnchor||null===this.blank&&this.isExternalLink&&!this.isAnchor)return"_blank"},isExternalLink:function(){return!1===this.useRouter||this.$routerLink(this.url).match(/^(https?:\/\/|mailto:|tel:\/\/)/)||this.url.match(/\.pdf$/i)}}},fl=window.Vue.renderSlot,_l=window.Vue.resolveComponent,bl=window.Vue.withCtx,vl=window.Vue.openBlock,kl=window.Vue.createBlock;window.Vue.createCommentVNode;const Sl=window.Vue.withModifiers,El=window.Vue.createElementBlock,Cl=["href","target"],Al=e("S",f(yl,[["render",function(e,t,n,a,i,o){const r=_l("router-link");return o.useRouterLink?(vl(),kl(r,{key:0,to:e.$routerLink(n.url)},{default:bl((()=>[fl(e.$slots,"default")])),_:3},8,["to"])):!1!==n.callback?(vl(),El("a",{key:1,href:"#",onClick:t[0]||(t[0]=Sl(((...e)=>n.callback&&n.callback(...e)),["prevent","stop"]))},[fl(e.$slots,"default")])):(vl(),El("a",{key:2,href:n.url,target:o.target},[fl(e.$slots,"default")],8,Cl))}]])),Vl={name:"MenuItem",components:{SoylentLink:Al,MainMenuSub:gl},props:["item"],computed:{itemClasses(){let e=this.item.classes;return this.item.items&&(e+=" menu-item-has-children"),e},callback(){return this.item.classes.indexOf("cmms-show-usercentrics-layer")>=0?this.usercentrics.bind(this):this.item.classes.indexOf("cmms-show-cookiebot-layer")>=0&&this.cookiebot.bind(this)}},methods:{closeMenu(){this.$store.dispatch("closeMenu")},usercentrics(){window.UC_UI&&window.UC_UI.showSecondLayer()},cookiebot(){window.Cookiebot&&window.Cookiebot.renew()},shouldOpenInNewTab:e=>"target"in e&&"_blank"===e.target}},Pl=window.Vue.toDisplayString,Tl=window.Vue.createElementVNode,xl=window.Vue.resolveComponent,Dl=window.Vue.withCtx,Ol=window.Vue.createVNode,Il=window.Vue.openBlock,Ml=window.Vue.createBlock,Nl=window.Vue.createCommentVNode,Bl=window.Vue.normalizeClass,Ll=window.Vue.createElementBlock,Rl={class:"nav-label"},jl=f(Vl,[["render",function(e,t,n,a,i,o){const r=xl("soylent-link"),s=xl("MainMenuSub");return Il(),Ll("li",{class:Bl(["item",o.itemClasses])},[Ol(r,{onClick:o.closeMenu,url:n.item.url,callback:o.callback,blank:o.shouldOpenInNewTab(n.item),class:"link"},{default:Dl((()=>[Tl("span",Rl,Pl(n.item.label),1)])),_:1},8,["onClick","url","callback","blank"]),n.item.items?(Il(),Ml(s,{key:0,items:n.item.items},null,8,["items"])):Nl("",!0)],2)}]]),zl=Object.freeze(Object.defineProperty({__proto__:null,default:jl},Symbol.toStringTag,{value:"Module"})),$l={name:"FooterMenu",components:{FooterMenuItem:jl},data:function(){return{items:[]}},beforeMount(){this.items=window.soylent_menus?window.soylent_menus.footer||[]:""}},Ul=window.Vue.renderList,Fl=window.Vue.Fragment,Hl=window.Vue.openBlock,Gl=window.Vue.createElementBlock,Wl=window.Vue.resolveComponent,Yl=window.Vue.createBlock,ql=window.Vue.createElementVNode,Kl={class:"footer-nav"},Jl={class:"menu-footer-container"},Ql={id:"menu-footer",class:"footer-menu"},Zl=f($l,[["render",function(e,t,n,a,i,o){const r=Wl("footer-menu-item");return Hl(),Gl("div",Kl,[ql("div",Jl,[ql("ul",Ql,[(Hl(!0),Gl(Fl,null,Ul(e.items,(e=>(Hl(),Yl(r,{class:"--text-size-xl",key:e.id,item:e},null,8,["item"])))),128))])])])}]]),Xl={name:"SocialShortcuts",data:function(){return{initialItems:[]}},computed:{items(){return this.initialItems}}
22,methods:{getClassNames:function(e){return"ss-"+e.join(" ")}},mounted(){this.initialItems=window.soylent_menus?window.soylent_menus.social||[]:""}},ec=window.Vue.renderList,tc=window.Vue.Fragment,nc=window.Vue.openBlock,ac=window.Vue.createElementBlock,ic=window.Vue.toDisplayString,oc=window.Vue.createElementVNode,rc=window.Vue.normalizeClass,sc={class:"social-shortcuts"},lc=["href","target","title","aria-label"],cc=f(Xl,[["render",function(e,t,n,a,i,o){return nc(),ac("div",sc,[(nc(!0),ac(tc,null,ec(o.items,(e=>(nc(),ac("a",{key:e.id,href:e.url,rel:"nofollow",class:rc(o.getClassNames(e.classes)),target:e.target,title:e.label,"aria-label":e.label},[oc("span",null,ic(e.label),1)],10,lc)))),128))])}]]),dc={name:"AppFooter",components:{IdvlEditor:Oo,SocialShortcuts:cc,FooterMenu:Zl},data:function(){return{editorContent:window.soylent_footer??[]}}},uc=window.Vue.resolveComponent,pc=window.Vue.openBlock,hc=window.Vue.createBlock,mc=window.Vue.createCommentVNode,wc=window.Vue.createVNode,gc=window.Vue.createElementVNode,yc=window.Vue.createElementBlock,fc={id:"colophon",class:"site-footer",role:"contentinfo"},_c={class:"footer-wrapper"},bc={class:"footer-navigation-wrapper"},vc={class:"toolbar"},kc=f(dc,[["render",function(e,t,n,a,i,o){const r=uc("idvl-editor"),s=uc("SocialShortcuts"),l=uc("FooterMenu");return pc(),yc("footer",fc,[e.editorContent?(pc(),hc(r,{key:0,blocks:e.editorContent},null,8,["blocks"])):mc("",!0),gc("div",_c,[gc("div",bc,[gc("div",vc,[wc(s)]),wc(l)])])])}]]),Sc={name:"MenuSwitch",methods:{toggleMenu:function(){this.$store.dispatch("toggleMenu");try{this.$store.dispatch("player/setPlayerDrawerOpen",!1)}catch(e){}}}},Ec=window.Vue.createElementVNode,Cc=window.Vue.openBlock,Ac=window.Vue.createElementBlock,Vc=f(Sc,[["render",function(e,t,n,a,i,o){return Cc(),Ac("button",{"aria-label":"Menu anzeigen",class:"--mobile-only menu-switch",onClick:t[0]||(t[0]=(...e)=>o.toggleMenu&&o.toggleMenu(...e))},[...t[1]||(t[1]=[Ec("span",{class:"iconSet"},"menu",-1),Ec("span",{class:"iconSet"},"close",-1)])])}]]),Pc={name:"MainMenu",components:{SoylentLink:Al},data:function(){return{selectedMain:null,items:[],menuContent:[],clickListener:null,selectedMainId:null}},computed:{menuClass:function(){return null===this.selectedMain?"":"--submenu_open"},isMenuOpen:function(){return this.$store.getters.isMenuOpen}},methods:{selectMain:function(e){if(this.selectedMainId!==e.id)return""!==e.url&&"#"!==e.url?(this.selectedMain=null,this.selectedMainId=null,this.$store.dispatch("closeMenu"),this.$router.push(e.url),void this.$store.dispatch("closeSubMenu")):void(e.items&&e.items.length>0&&(this.selectedMain=e,this.selectedMainId=e.id,this.$store.dispatch("setSubMenuOpen"),this.addClickListener()));this.closeMenuAction()},closeMenu:function(){this.closeMenuAction()},closeMenuAction(){this.selectedMain=null,this.selectedMainId=null,this.$store.dispatch("closeMenu"),this.$store.dispatch("closeSubMenu")},closeSubMenu:function(){this.selectedMain=null,this.selectedMainId=null,this.$store.dispatch("closeSubMenu")},addClickListener(){this.clickListener=e=>{e.target.closest(".menu__wrapper__inner")||e.target.closest(".menu__primary")||this.closeSubMenu()},document.addEventListener("click",this.clickListener,!0)},removeClickListener(){document.removeEventListener("click",this.clickListener,!0),this.clickListener=null}},mounted(){this.items=window.soylent_menus?window.soylent_menus.primary||[]:""},beforeUnmount(){this.removeClickListener()},watch:{$route(e,t){this.closeMenu()}}},Tc=window.Vue.renderList,xc=window.Vue.Fragment,Dc=window.Vue.openBlock,Oc=window.Vue.createElementBlock,Ic=window.Vue.toDisplayString,Mc=window.Vue.createCommentVNode,Nc=window.Vue.createTextVNode,Bc=window.Vue.resolveComponent,Lc=window.Vue.withCtx,Rc=window.Vue.createBlock,jc=window.Vue.normalizeClass,zc=window.Vue.createElementVNode,$c=window.Vue.createVNode,Uc=window.Vue.withKeys,Fc=window.Vue.resolveDirective,Hc=window.Vue.withDirectives,Gc={class:"menu__primary"},Wc=["onClick","data-label","aria-label"],Yc={class:"menu__secondary"},qc={class:"menu__secondary__item --header --text-size-s --text-weight-medium"},Kc={key:1,href:"#",class:jc("--text-weight-medium")},Jc={key:2,class:"menu__secondary__sub-menu"},Qc=f(Pc,[["render",function(e,t,n,a,i,o){const r=Bc("soylent-link"),s=Fc("focustrap");return Dc(),Oc(xc,null,[zc("ul",Gc,[(Dc(!0),Oc(xc,null,Tc(e.items,(t=>(Dc(),Oc("li",{key:t.id,class:jc(["--text-size-m","menu__primary__item",t.items?"--has-children":"",null!==e.selectedMain&&t.id===e.selectedMain.id?"--active":"",t.classes])},[t.items?(Dc(),Oc("button",{key:0,onClick:e=>o.selectMain(t),class:"menu__primary__item__label","data-label":t.label,"aria-label":"Untermenu von "+t.label+" öffnen"},Ic(t.label),9,Wc)):(Dc(),Rc(r,{key:1,url:t.url,"data-label":t.label,class:"menu__primary__item__label"},{default:Lc((()=>[Nc(Ic(t.label),1)])),_:2}
22,1032,["url","data-label"]))],2)))),128))]),e.selectedMain?Hc((Dc(),Oc("div",{key:0,class:"menu__wrapper__inner",onKeydown:t[1]||(t[1]=Uc(((...e)=>o.closeSubMenu&&o.closeSubMenu(...e)),["esc"])),role:"dialog"},[zc("ul",Yc,[zc("li",qc,[zc("button",{onClick:t[0]||(t[0]=(...e)=>o.closeSubMenu&&o.closeSubMenu(...e))},Ic(e.selectedMain.label),1)]),(Dc(!0),Oc(xc,null,Tc(e.selectedMain.items,(e=>(Dc(),Oc("li",{key:"submenu_second_level"+e.id,class:jc(["menu__secondary__item",e.items?"--has-children":""])},["#"!==!e.url?(Dc(),Rc(r,{key:0,url:e.url,"data-label":e.label},{default:Lc((()=>[Nc(Ic(e.label),1)])),_:2},1032,["url","data-label"])):(Dc(),Oc("a",Kc,Ic(e.label),1)),e.items?(Dc(),Oc("ul",Jc,[(Dc(!0),Oc(xc,null,Tc(e.items,(e=>(Dc(),Oc("li",{class:"menu__secondary__item",key:e.url},[$c(r,{url:e.url,"data-label":e.label,class:""},{default:Lc((()=>[Nc(Ic(e.label),1)])),_:2},1032,["url","data-label"])])))),128))])):Mc("",!0)],2)))),128))])],32)),[[s]]):Mc("",!0)],64)}]]),Zc={name:"HeaderTools",components:{SoylentLink:Al},computed:{}},Xc=window.Vue.openBlock,ed=window.Vue.createElementBlock,td={class:"header-tools"},nd=f(Zc,[["render",function(e,t,n,a,i,o){return Xc(),ed("div",td)}]]),ad={name:"AppHeaderLogo",data:function(){return{homeUrl:window.soylent_settings.home_url,title:window.soylent_settings.title,headerLogo:window.soylent_settings.header_logo}},props:{forceImage:{type:Boolean,default:!0}},methods:{scrollToTop(){window.scrollTo(0,0)}}},id=window.Vue.createElementVNode,od=window.Vue.resolveComponent,rd=window.Vue.withCtx,sd=window.Vue.openBlock,ld=window.Vue.createBlock,cd=["src","alt"],dd=f(ad,[["render",function(e,t,n,a,i,o){const r=od("router-link");return sd(),ld(r,{onClick:o.scrollToTop,class:"logo",href:e.homeUrl,to:e.$routerLink(e.homeUrl),title:e.title,"aria-label":e.title+": Zur Startseite"},{default:rd((()=>[id("picture",null,[id("img",{src:e.headerLogo,alt:e.title},null,8,cd)])])),_:1},8,["onClick","href","to","title","aria-label"])}]]),ud="modalComponentdentifier",pd={name:"AppHeader",components:{AppHeaderLogo:dd,HeaderTools:nd,MainMenuSub:gl,MainMenu:Qc,SocialShortcuts:cc,MenuSwitch:Vc},mixins:[{computed:{headerLogoComponent:function(){return Xa.getByName("AppHeaderLogo",dd)}}}],data:function(){return{width:null}},computed:{isDesktop(){return this.width>1024},isMenuOpen:function(){return this.$store.getters.isMenuOpen},headerToolsComponent:function(){return Xa.getByName("headerTools",nd)},mainMenuComponent:function(){return Xa.getByName("mainMenu",Qc)}},methods:{toggleMenu:function(){this.$store.dispatch("toggleMenu")},closeMenu(){this.$store.dispatch("closeMenu")},toggleSearch:function(){document.querySelector("body").style.overflow="hidden",this.$store.dispatch("toggleSearch")},onResize(e){this.width=window.innerWidth}},mounted(){const e=document.getElementById("masthead");e&&this.$store.dispatch("setHeaderHeight",e.getBoundingClientRect().height),window.addEventListener("resize",this.onResize),this.onResize()},updated(){},destroyed(){window.removeEventListener("resize",this.onResize)}},hd=window.Vue.resolveComponent,md=window.Vue.openBlock,wd=window.Vue.createBlock,gd=window.Vue.createCommentVNode,yd=window.Vue.resolveDynamicComponent,fd=window.Vue.createElementVNode,_d=window.Vue.createElementBlock,bd=window.Vue.withKeys,vd=window.Vue.createVNode,kd=window.Vue.vShow,Sd=window.Vue.resolveDirective,Ed=window.Vue.withDirectives,Cd=window.Vue.Transition,Ad=window.Vue.withCtx,Vd=window.Vue.Fragment,Pd={class:"header-banner"},Td={class:"header-banner__logo-container"},xd={key:1,class:"header-tools-wrapper"},Dd={key:0,class:"menu__wrapper"},Od={class:"header-tools-wrapper"},Id=f(pd,[["render",function(e,t,n,a,i,o){const r=hd("SocialShortcuts"),s=hd("MenuSwitch"),l=Sd("focustrap");return md(),_d(Vd,null,[fd("header",{id:"masthead",class:"site-header",role:"banner",onKeydown:t[1]||(t[1]=bd(((...e)=>o.closeMenu&&o.closeMenu(...e)),["esc"]))},[fd("div",Pd,[o.isDesktop?(md(),wd(r,{key:0})):gd("",!0),fd("div",Td,[(md(),wd(yd(e.headerLogoComponent)))]),o.isDesktop?(md(),_d("div",xd,[(md(),wd(yd(o.headerToolsComponent))),fd("button",{class:"search-button iconSet",onClick:t[0]||(t[0]=(...e)=>o.toggleSearch&&o.toggleSearch(...e)),title:"Suche","aria-label":"Suche anzeigen"}," search ")])):gd("",!0),o.isDesktop?gd("",!0):(md(),wd(s,{key:2}))])],32),o.isDesktop?(md(),_d("div",Dd,[(md(),wd(yd(o.mainMenuComponent)))])):(md(),wd(Cd,{key:1,name:"menu-slide"},{default:Ad((()=>[Ed((md(),_d("div",{class:"menu__wrapper",onKeydown:t[3]||(t[3]=bd(((...e)=>o.closeMenu&&o.closeMenu(...e)),["esc"]))},[vd(r),fd("div",Od,[(md(),wd(yd(o.headerToolsComponent))),fd("button",{class:"search-button iconSet","aria-label":"Suche anzeigen",onClick:t[2]||(t[2]=(...e)=>o.toggleSearch&&o.toggleSearch(...e))},"search")]),(md(),wd(yd(o.mainMenuComponent)))],32)),[[kd,o.isMenuOpen],[l,o.isMenuOpen]])])),_:1}))],64)}]]),Md={cmms:{backend:{Montag:"Monday",Dienstag:"Tuesday",Mittwoch:"Wednesday",Donnerstag:"Thursday",Freitag:"Friday",Samstag:"Saturday",Sonntag:"Sunday",Januar:"Januar",Februar:"Februar","März":"März",April:"April",Mai:"Mai",Juni:"Juni",Juli:"Juli",August:"August",September:"September",Oktober:"Oktober",November:"November",Dezember:"Dezember","Bannercode hier einfügen":"Bannercode hier einfügen","Bitte bestätigen":"Bitte bestätigen","Soll dieser Banner wirklich gelöscht werden?":"Soll dieser Banner wirklich gelöscht werden?","Ja, löschen":"Ja, löschen","Nein, abbrechen":"Nein, abbrechen","Der Link wird gerade generiert, bitte warten ...":"Der Link wird gerade generiert, bitte warten ...","Dieser Link kann jetzt veröffentlicht werden und ist":"Dieser Link kann jetzt veröffentlicht werden und ist","Tage gültig.":"Tage gültig.","Ein Fehler ist aufgetreten, bitte versuche es erneut.":"Ein Fehler ist aufgetreten, bitte versuche es erneut.","speichern ...":"speichern ...",Abbrechen:"Abbrechen","Schließen":"Schließen","Tag eingeben und [Enter] drücken ...":"Tag eingeben und [Enter] drücken ...","Meistverwendete Tags":"Meistverwendete Tags","Passend zu deiner Eingabe":"Passend zu deiner Eingabe","Media Datei":"Media Datei","Update erzwingen":"Update erzwingen","Im neuen Tab öffnen":"Im neuen Tab öffnen","Die gewünschten Änderungen werden vorgenommen ...":"Die gewünschten Änderungen werden vorgenommen ...","Alle Änderungen wurden durchgeführt":"Alle Änderungen wurden durchgeführt","es sind dabei Fehler aufgetreten.":"es sind dabei Fehler aufgetreten.","Die Mediathek konnte leider nicht geladen werden, versuche es bitte erneut.":"Die Mediathek konnte leider nicht geladen werden, versuche es bitte erneut.","Die Details konnten nicht geladen werden, bitte versuche es erneut.":"Die Details konnten nicht geladen werden, bitte versuche es erneut.","Möchtest du dieses Bild direkt einfügen, oder es zuerst bearbeiten?":"Möchtest du dieses Bild direkt einfügen, oder es zuerst bearbeiten?",Breite:"Breite","Bearbeiten & einfügen":"Bearbeiten & einfügen",Von:"Von","Überschrift":"Überschrift","Bild wählen":"Bild wählen",Entfernen:"Entfernen",Deaktivieren:"Deaktivieren",Bis:"Bis","Die Daten sind n
22och nicht erfolgreich übermittelt worden. Soll die Übertragung wirklich abgebrochen werden?":"Die Daten sind noch nicht erfolgreich übermittelt worden. Soll die Übertragung wirklich abgebrochen werden?","Einfügen":"Einfügen","Format auswählen":"Format auswählen","Medium einfügen":"Medium einfügen",Zeichen:"Chars","Wörter":"Words","In die Zwischenablage kopieren":"Copy to clipboard"}}},Nd={de_DE:{cmms:{backend:{Montag:"Montag",Dienstag:"Dienstag",Mittwoch:"Mittwoch",Donnerstag:"Donnerstag",Freitag:"Freitag",Samstag:"Samstag",Sonntag:"Sonntag",Januar:"Januar",Februar:"Februar","März":"März",April:"April",Mai:"Mai",Juni:"Juni",Juli:"Juli",August:"August",September:"September",Oktober:"Oktober",November:"November",Dezember:"Dezember","Bannercode hier einfügen":"Bannercode hier einfügen","Bitte bestätigen":"Bitte bestätigen","Soll dieser Banner wirklich gelöscht werden?":"Soll dieser Banner wirklich gelöscht werden?","Ja, löschen":"Ja, löschen","Nein, abbrechen":"Nein, abbrechen","Der Link wird gerade generiert, bitte warten ...":"Der Link wird gerade generiert, bitte warten ...","Dieser Link kann jetzt veröffentlicht werden und ist":"Dieser Link kann jetzt veröffentlicht werden und ist","Tage gültig.":"Tage gültig.","Ein Fehler ist aufgetreten, bitte versuche es erneut.":"Ein Fehler ist aufgetreten, bitte versuche es erneut.","speichern ...":"speichern ...",Abbrechen:"Abbrechen","Schließen":"Schließen","Tag eingeben und [Enter] drücken ...":"Tag eingeben und [Enter] drücken ...","Meistverwendete Tags":"Meistverwendete Tags","Passend zu deiner Eingabe":"Passend zu deiner Eingabe","Media Datei":"Media Datei","Update erzwingen":"Update erzwingen","Im neuen Tab öffnen":"Im neuen Tab öffnen","Die gewünschten Änderungen werden vorgenommen ...":"Die gewünschten Änderungen werden vorgenommen ...","Alle Änderungen wurden durchgeführt":"Alle Änderungen wurden durchgeführt","es sind dabei Fehler aufgetreten.":"es sind dabei Fehler aufgetreten.","Die Mediathek konnte leider nicht geladen werden, versuche es bitte erneut.":"Die Mediathek konnte leider nicht geladen werden, versuche es bitte erneut.","Die Details konnten nicht geladen werden, bitte versuche es erneut.":"Die Details konnten nicht geladen werden, bitte versuche es erneut.","Möchtest du dieses Medium direkt einfügen, oder es zuerst bearbeiten?":"Möchtest du dieses Bild direkt einfügen, oder es zuerst bearbeiten?",Breite:"Breite","Bearbeiten & einfügen":"Bearbeiten & einfügen",Von:"Von","Überschrift":"Überschrift","Bild wählen":"Bild wählen",Entfernen:"Entfernen",Deaktivieren:"Deaktivieren",Bis:"Bis","Die Daten sind noch nicht erfolgreich übermittelt worden. Soll die Übertragung wirklich abgebrochen werden?":"Die Daten sind noch nicht erfolgreich übermittelt worden. Soll die Übertragung wirklich abgebrochen werden?","Einfügen":"Einfügen","Format auswählen":"Format auswählen","Medium einfügen":"Medium einfügen",Zeichen:"Zeichen","Wörter":"Wörter","In die Zwischenablage kopieren":"In die Zwischenablage kopieren",pool__explorer__c
22onfiguration_missing:"Die Explorer-Konfiguration fehlt, es können keine Beiträge angezeigt werden"}}},en_GB:{...Md},en_US:Md};class Bd{static#N="de_DE";static __(e="",t="cmms",...n){const a=Bd.getObjectByNamespace(t)[e]||e;return Bd.#B(a,...n)}static _n(e,t=null,n=0,a="cmms",...i){let o=Bd.getObjectByNamespace(a),r=1===n?e:t;return Bd.#B((o[r]||"").replace(/%d/g,n)||r.replace(/%d/g,n),...i)}static _j(e){let t=Bd.#L();return"object"!=typeof e?e:e[t]?e[t]:e[Bd.#N]?e[Bd.#N]:e[Object.keys(e)[0]]}static getObjectByNamespace(e=""){const t=Bd.#L();if(!Nd[t])return{};e=e.split(".");let n=Nd[t];for(;e.length>0;){let a=e.shift();if(!a.length||!Nd[t][a])return{...n};n=n[a]}return{...n}}static#L(){return window.cmmsLocale??Bd.#N}static#B=(e="",...t)=>t.length?(e.match(/(%[\d]+)/g).forEach((n=>{e=e.replace(new RegExp(n),t[parseInt(n.substr(1),10)-1]||"")})),e):e}const Ld={name:"AppSearch",data:function(){return{searchInput:"",selectedGroup:(window.soylent_settings?.search??{}).default_group??""}},computed:{isVisible(){return this.$store.getters.isSearchOpen},filterOptions:()=>window.soylent_settings?.search?.filter_options??[]},methods:{t:function(e){return Bd.__(e,"cmms")},toggleSearch:function(){document.querySelector("body").style.removeProperty("overflow"),this.$store.dispatch("toggleSearch")},submit:function(){const e=this.searchInput.trim();if(!e)return;this.closeMenu(),this.toggleSearch();let t=`/suche/${encodeURIComponent(e)}/`;this.selectedGroup&&(t+=`gruppe/${encodeURIComponent(this.selectedGroup)}/`),window.pll_current_language&&(t=`/${window.pll_current_language}${t}`),this.$router.push(t),this.searchInput=""},closeMenu:function(){this.$store.dispatch("closeMenu")}}},Rd=window.Vue.vModelText,jd=window.Vue.withKeys,zd=window.Vue.createElementVNode,$d=window.Vue.withDirectives,Ud=window.Vue.toDisplayString,Fd=window.Vue.renderList,Hd=window.Vue.Fragment,Gd=window.Vue.openBlock,Wd=window.Vue.createElementBlock,Yd=window.Vue.vModelRadio,qd=window.Vue.normalizeClass,Kd=window.Vue.createCommentVNode,Jd=window.Vue.withModifiers,Qd=window.Vue.resolveDirective,Zd=window.Vue.Transition,Xd=window.Vue.withCtx,eu=window.Vue.createBlock,tu={class:"search-box-wrapper"},nu={class:"search-box",ref:"search"},au={class:"input-wrapper"},iu=["placeholder"],ou={key:0,class:"search-box__filter"},ru={class:"search-box__filter__header"},su={class:"search-box__filter__group"},lu=["value"],cu={class:"search-box__filter__group__item__text"},du=f(Ld,[["render",function(e,t,n,a,i,o){const r=Qd("focustrap");return Gd(),eu(Zd,{name:"fade_fast"},{default:Xd((()=>[o.isVisible?$d((Gd(),Wd("div",{key:0,class:"main-search-form",role:"dialog",onClick:t[5]||(t[5]=Jd(((...e)=>o.toggleSearch&&o.toggleSearch(...e)),["self"])),onKeydown:t[6]||(t[6]=jd(Jd(((...e)=>o.toggleSearch&&o.toggleSearch(...e)),["stop"]),["esc"]))},[zd("div",tu,[zd("div",nu,[zd("div",au,[$d(zd("input",{ref:"searchInput",type:"text","onUpdate:modelValue":t[0]||(t[0]=t=>e.searchInput=t),onKeydown:t[1]||(t[1]=jd(((...e)=>o.submit&&o.submit(...e)),["enter"])),class:"search-field theme__input",name:"s",autocomplete:"off",placeholder:o.t("Suchen")},null,40,iu),[[Rd,e.searchInput]]),zd("button",{class:"search-submit iconSet",onClick:t[2]||(t[2]=(...e)=>o.submit&&o.submit(...e))},"search")]),o.filterOptions.length?(Gd(),Wd("div",ou,[zd("span",ru,Ud(o.t("Suchen in"))+":",1),zd("div",su,[(Gd(!0),Wd(Hd,null,Fd(o.filterOptions,(n=>(Gd(),Wd("label",{key:n.group,class:qd(["search-box__filter__group__item","--"+(n.group||"all")])},[$d(zd("input",{"onUpdate:modelValue":t[3]||(t[3]=t=>e.selectedGroup=t),class:"search-box__filter__group__item__input",type:"radio",name:"group",value:n.group},null,8,lu),[[Yd,e.selectedGroup]]),zd("span",cu,Ud(n.label),1)],2)))),128))])])):Kd("",!0),zd("button",{class:"close iconSet",onClick:t[4]||(t[4]=(...e)=>o.toggleSearch&&o.toggleSearch(...e))},"close")],512)])],32)),[[r]]):Kd("",!0)])),_:1})}]]),uu=window.Vue.createElementVNode,pu=window.Vue.withModifiers,hu=window.Vue.normalizeClass,mu=window.Vue.openBlock,wu=window.Vue.createElementBlock,gu=window.Vue.onBeforeUnmount,yu=window.Vue.onMounted,fu=window.Vue.ref,_u={__name:"ScrollToTop",setup(e){const t=fu(!1),n=()=>{window.scrollTo(0,0)},a=()=>{t.value=window.scrollY>0};return yu((()=>{window.addEventListener("scroll",a,{passive:!0})}
22)),gu((()=>{window.removeEventListener("scroll",a,{passive:!0})})),(e,a)=>(mu(),wu("div",{class:hu(["to-top",{"--active":t.value}]),onClick:pu(n,["stop","prevent"])},[...a[0]||(a[0]=[uu("span",{class:"icon iconSet"},"expand_less",-1)])],2))}},bu=f({name:"AppPlayerBase",components:{SoylentLink:Al},computed:{...Ta("player",["channelData","currentShow","currentTrack","playerState","playerMode","currentPodcastTitle","currentChannelData","hasPodcasts","hasChannels"]),showPlayer(){return this.hasChannels||!this.isChannel},isCurrentTrackPlaying(){return Boolean(this.currentTrack?.status??!0)},currentTrackTitle(){return this.currentTrack&&this.isCurrentTrackPlaying?this.currentTrack.title:this.isChannel&&this.isCurrentTrackPlaying?"CHANNEL":""},currentTrackCover(){let e=this.currentTrack&&this.isCurrentTrackPlaying?this.currentTrack.cover:null;return!e&&this.currentChannelData&&this.currentChannelData.default_cover_id&&null!=this.currentChannelData.default_cover_id&&(e=this.currentChannelData.default_cover_id?window.cmms_thumbs_base+`120x120c/${this.currentChannelData.default_cover_id}.webp`:null),e},currentTrackInterpret(){return this.currentTrack&&this.isCurrentTrackPlaying&&this.currentTrack.interpret?this.currentTrack.interpret:this.isChannel?this.channelData.label:""},showTitle:function(){return this.playerMode===ve?this.currentPodcastTitle:this.currentShow?this.currentShow.title||"":this.isChannel?"CHANNEL_SHOW":""}
22,isChannel(){return!(this.playerMode===ve||this.playerMode===be)},showExcerpt:function(){return this.currentShow&&this.currentShow.excerpt||null},channelPageUrl(){let e=null;try{e=window.soylent_settings.child_settings.player.channel_page}catch(t){}return e},programPageUrl(){let e=null;try{e=window.soylent_settings.child_settings.player.program_page}catch(t){}return e},songsearchPageUrl(){let e=null;try{e=window.soylent_settings.child_settings.player.songsearch_page}catch(t){}return e},musicPageUrl(){let e=null;try{e=window.soylent_settings.child_settings.player.music_page}catch(t){}return e},musicPageLabel(){let e="Musik";try{e=window.soylent_settings.child_settings.player.music_label}catch(t){}return e},showMusicPage(){return null!==this.musicPageUrl&&(null===this.channelPageUrl||null===this.programPageUrl||null===this.songsearchPageUrl)}}},[["render",function(e,t,n,a,i,o){return null}]]),vu={name:"AppPlayerControlPlayPage",props:{buttonClass:{type:String,default:""}},computed:{...Ta("player",["currentShow","currentTrack","playerState","playerMode"]),buttonIcon(){return this.playerState===ye?"pause":this.playerState===fe?"autorenew":"play_arrow"},buttonClassTool(){return["player__control",this.playerState===ye?"--pause":this.playerState===fe?"--loading":"--play"]}},methods:{togglePlayer:function(){qs.toggle()}}},ku=window.Vue.toDisplayString,Su=window.Vue.createElementVNode,Eu=window.Vue.withModifiers,Cu=window.Vue.normalizeClass,Au=window.Vue.openBlock,Vu=window.Vue.createElementBlock,Pu={class:"iconSet"},Tu=f(vu,[["render",function(e,t,n,a,i,o){return Au(),Vu("button",{class:Cu(o.buttonClassTool),onClick:t[0]||(t[0]=Eu(((...e)=>o.togglePlayer&&o.togglePlayer(...e)),["stop"]))},[Su("span",Pu,ku(o.buttonIcon),1)],2)}]]),xu={name:"AppPlayerControlSkip",components:{},props:{buttonType:{type:String,default:Me}},computed:{...Ta("player",["playerPodcastHasNext","playerPodcastHasPrev"]),checkDisabledClass(){return this.buttonType===Me?this.playerPodcastHasNext?"":"--disabled":this.playerPodcastHasPrev?"":"--disabled"}},methods:{...xa("player",["playerPodcastSkip"]),skip(){this.playerPodcastSkip(this.buttonType)}}},Du=window.Vue.toDisplayString,Ou=window.Vue.createElementVNode,Iu=window.Vue.normalizeClass,Mu=window.Vue.openBlock,Nu=window.Vue.createElementBlock,Bu={class:"iconSet"},Lu=f(xu,[["render",function(e,t,n,a,i,o){return Mu(),Nu("button",{onClick:t[0]||(t[0]=(...e)=>o.skip&&o.skip(...e)),class:Iu(["player__control","--skip",o.checkDisabledClass])},[Ou("span",Bu,Du(n.buttonType),1)],2)}]]),Ru={name:"AppPlayerCardControls",components:{AppPlayerControlSkip:Lu,AppPlayerControlPlayPage:Tu},computed:{...Ta("player",["playerMode"]),podcastMode:()=>ve}},ju=window.Vue.resolveComponent,zu=window.Vue.normalizeClass,$u=window.Vue.openBlock,Uu=window.Vue.createBlock,Fu=window.Vue.createCommentVNode,Hu=window.Vue.createVNode,Gu=window.Vue.createElementBlock,Wu={class:"player-card__controls"},Yu=f(Ru,[["render",function(e,t,n,a,i,o){const r=ju("AppPlayerControlSkip"),s=ju("AppPlayerControlPlayPage");return $u(),Gu("div",Wu,[e.playerMode===o.podcastMode?($u(),Uu(r,{key:0,class:zu("--text-link"),"button-type":"skip_previous"})):Fu("",!0),Hu(s),e.playerMode===o.podcastMode?($u(),Uu(r,{key:1,class:zu("--text-link")})):Fu("",!0)])}]]),qu={name:"AppPlayerProgress",mixins:[{data:()=>({_raf:null,lastSeekTime:null}),computed:{...Ta("player",["playerState","playerElapsedPercent"]),durationFormated:()=>Os(qs.getDuration()),currentTimeFormated:()=>Os(qs.getElapsed()),progressStyle:function(){return{width:this.playerState===we||this.playerState===_e?"0":this.playerElapsedPercent+"%"}}},methods:{startDrag(e){qs.pause(),this.getClickPosition(e),this.isMouseEvent(e)?(window.addEventListener("mousemove",this.rafWrapper,!1),window.addEventListener("mouseup",this.detectMouseUp,!1)):(window.addEventListener("touchmove",this.rafWrapper,{passive:!1}),window.addEventListener("touchend",this.detectMouseUp,!1))},rafWrapper(e){e.preventDefault(),this._raf||(this._raf=requestAnimationFrame((()=>{this.getClickPosition(e),this._raf=null})))},getClickPosition(e){if(e.clientX||e.touches){const t=this.$refs.player_bar.getBoundingClientRect();let n=((this.isMouseEvent(e)?e.pageX:e.touches[0].clientX)-t.left)/this.$refs.player_bar.offsetWidth;n=Math.min(Math.max(n,0),1);const a=qs.getDuration()*n;(null===this.lastSeekTime||Math.abs(this.lastSeekTime-a)>.05)&&(qs.seek(a),this.lastSeekTime=a)}},isMouseEvent:e=>e.type.includes("mouse"),detectMouseUp(){qs.play(),window.removeEventListener("touchmove",this.rafWrapper,!1),window.removeEventListener("mousemove",this.rafWrapper,!1),window.removeEventListener("mouseup",this.detectMouseUp,!1),window.removeEventListener("touchend",this.detectMouseUp,!1)}}}]},Ku=window.Vue.toDisplayString,Ju=window.Vue.createElementVNode,Qu=window.Vue.normalizeStyle,Zu=window.Vue.withModifiers,Xu=window.Vue.openBlock,ep=window.Vue.createElementBlock,tp={class:"player-progress"},np={class:"player-progress__time --current --text-size-xxs"},ap={class:"player-progress__time --duration --text-size-xxs"},ip=f(qu,[["render",function(e,t,n,a,i,o){return Xu(),ep("div",tp,[Ju("div",np,Ku(e.currentTimeFormated),1),Ju("div",{onMousedown:t[0]||(t[0]=Zu((t=>e.startDrag(t)),["stop"])),onTouchstart:t[1]||(t[1]=Zu((t=>e.startDrag(t)),["stop"])),style:{"touch-action":"none"},class:"player-progress__bar",ref:"player_bar"},[t[2]||(t[2]=Ju("div",{class:"player-progress__bar__background"},null,-1)),Ju("div",{class:"player-progress__bar__current",style:Qu(e.progressStyle)},null,4)],544),Ju("div",ap,Ku(e.durationFormated),1)])}]]),op={props:{channelId:{type:Number,default:null},audioObject:{type:Object,default:null},podcastObject:{type:Object,default:null},callback:{default:!1}},computed:{...Ta("player",["playerAudioObject","playerChannelId","playerState","playerMode"]),mode(){return this.channelId?ke:this.podcastObject?ve:this.audioObject?be:null},isActive(){switch(this.mode){case ke:return this.channelId===this.playerChannelId;case ve:case be:return this.playerAudioObject&&this.audioObject&&this.playerAudioObject.post_id===this.audioObject.post_id}return!1},isPlaying(){return this.isActive&&this.playerState===ye},isBuffering(){return this.isActive&&this.playerState===fe}},methods:{...xa("player",["setPlayerPodcast","setPlayerAudioObject","setPlayerChannelId"]),togglePlayer:function(){if(this.$props.callback)return this.$props.callback();if(this.isPlaying||this.isBuffering)qs.pause();else switch(this.mode){case ke:this.setPlayerChannelId({channelId:this.$props.channelId,autoplay:!0});break;case ve:this.setPlayerPodcast({podcastObject:this.$props.podcastObject,audioObject:this.$props.audioObject,autoplay:!0});break;case be:this.setPlayerAudioObject({audioObject:this.$props.audioObject,autoplay:!0})}return!1}}},rp={name:"AppPlayerControlPlay",mixins:[op],props:{buttonClass:{type:String,default:""}},computed:{buttonIcon(){return this.isPlaying?"pause":this.isBuffering?"autorenew":"play_arrow"},buttonClassTool(){return["player__control",this.isPlaying?"--pause":this.isBuffering?"--loading":"--play"]}}},sp=window.Vue.toDisplayString,lp=window.Vue.createElementVNode,cp=window.Vue.withModifiers,dp=window.Vue.normalizeClass,up=window.Vue.openBlock,pp=window.Vue.createElementBlock,hp=["aria-label"],mp={class:"iconSet"},wp=e("h",f(rp,[["render",function(e,t,n,a,i,o){return up(),pp("button",{class:dp(o.buttonClassTool),onClick:t[0]||(t[0]=cp(((...t)=>e.togglePlayer&&e.togglePlayer(...t)),["stop"])),"aria-label":e.isPlaying?"Pause":"Play"},[lp("span",mp,sp(o.buttonIcon),1)],10,hp)}]])),gp={name:"CroppedText",props:{tag:{type:String,default:"div"},text:{type:String,default:""},lines:{type:[Number,String],default:-1},ellipsis:{type:String,default:"…"},hasMinHeight:{type:Boolean,default:!0}},data:function(){return{blocks:-1,maxHeight:1/0,croppedText:"",fineTuned:!1,timer:null,boundResizeHandler:null}},computed:{textArray:function(){return this.$props.text.trim().split(" ")},maxLines:function(){return parseInt(this.$props.lines,10)||-1}},methods:{updateHeight:function(){let e=1/0;this.getLineHeight()>0&&this.maxLines>0&&(e=this.getLineHeight()*this.maxLines),this.maxHeight=e,this.hasMinHeight&&(this.$refs.el.style.minHeight=this.maxHeight+"px"),this.blocks=0,this.fineTuned=!1,this.style={},this.redrawText()},getHeight:function(){return Math.floor(this.$refs.el.getBoundingClientRect().height)},getLineHeight:function(){let e=0;try{e=parseFloat(document.defaultView.getComputedStyle(this.$refs.el,null).getPropertyValue("line-height"),10)||0}catch(t){console.log("error",t)}return e},isVisible:function(){let e="";try{e=document.defaultView.getComputedStyle(this.$refs.el,null).getPropertyValue("display")}catch(t){}return"none"!==e},redrawText:function(){this.isVisible()&&this.textArray.length&&(this.croppedText=this.textArray.slice(0,this.blocks).join(" ")+" ",this.croppedText.length<this.text.length&&this.croppedText.length>1&&(this.croppedText+=this.$props.ellipsis))},onResize:function(){this.timer&&clearTimeout(this.timer),this.timer=setTimeout((()=>{this.updateHeight()}),150)}},updated(){!this.fineTuned&&this.getHeight()<=this.maxHeight&&this.blocks<this.textArray.length?(this.blocks++,this.redrawText()):this.getHeight()>this.maxHeight&&this.blocks>0?(this.fineTuned=!0,this.blocks--,this.redrawText()):this.fineTuned=!0},mounted(){this.boundResizeHandler=this.onResize.bind(this),window.addEventListener("resize",this.boundResizeHandler,{passive:!0}),this.updateHeight()},beforeUnmount(){this.timer&&clearTimeout(this.timer),window.removeEventListener("resize",this.boundResizeHandler)}},yp=window.Vue.toDisplayString,fp=window.Vue.createTextVNode,_p=window.Vue.resolveDynamicComponent,bp=window.Vue.withCtx,vp=window.Vue.openBlock,kp=window.Vue.createBlock,Sp=e("g",f(gp,[["render",function(e,t,n,a,i,o){return vp(),kp(_p(e.$props.tag),{ref:"el",style:{overflow:"hidden"}},{default:bp((()=>[fp(yp(e.croppedText),1)])),_:1},512)}]])),Ep={name:"PodcastEpisode",components:{AppPlayerControlPlay:wp,SoylentLink:Al,CroppedText:Sp},props:["audioObject","podcastObject","hideMoreButton"],computed:{episodeClasses(){const e=["podcast-episode"];return this.playerAudioObject&&this.$props.audioObject&&this.$props.audioObject.post_id===this.playerAudioObject.post_id&&e.push("--active"),this.downloadUrl&&e.push("--download"),e}
22,downloadUrl(){return this.podcastObject&&this.podcastObject.download_enabled&&this.audioObject?this.audioObject.download_url:""},dateFormated(){return this.audioObject&&this.audioObject.date?this.audioObject.date.date_txt:""}},methods:{...xa("player",["setPlayerDrawerOpen"]),triggerAudio:function(){this.$refs.playButton.togglePlayer()},beforeMoreLinkAction(e){this.setPlayerDrawerOpen(!1),e.stopImmediatePropagation()}}},Cp=window.Vue.resolveComponent,Ap=window.Vue.createVNode,Vp=window.Vue.toDisplayString,Pp=window.Vue.createElementVNode,Tp=window.Vue.openBlock,xp=window.Vue.createElementBlock,Dp=window.Vue.createCommentVNode,Op=window.Vue.withModifiers,Ip=window.Vue.withCtx,Mp=window.Vue.normalizeClass,Np={key:0,class:"podcast-episode__entry"},Bp={class:"podcast-episode__entry__meta --text-size-s --text-weight-medium"},Lp={class:"podcast-episode__entry__meta__date"},Rp={class:"podcast-episode__entry__meta__duration"},jp={class:"podcast-episode__entry__title --text-size-m"},zp={key:0,class:"podcast-episode__entry__excerpt --text-size-xs"},$p={key:1,class:"podcast-episode__actions"},Up=["href"],Fp=e("I",f(Ep,[["render",function(e,t,n,a,i,o){const r=Cp("AppPlayerControlPlay"),s=Cp("soylent-link");return Tp(),xp("div",{onClick:t[1]||(t[1]=(...e)=>o.triggerAudio&&o.triggerAudio(...e)),class:Mp(o.episodeClasses)},[Ap(r,{ref:"playButton","audio-object":n.audioObject,"podcast-object":n.podcastObject},null,8,["audio-object","podcast-object"]),n.audioObject?(Tp(),xp("div",Np,[Pp("span",Bp,[Pp("span",Lp,Vp(o.dateFormated),1),t[2]||(t[2]=Pp("span",{class:"podcast-episode__entry__meta__spacer"},"·",-1)),Pp("span",Rp,Vp(n.audioObject.duration)+" min",1)]),Pp("span",jp,Vp(n.audioObject.title),1)," "!==n.audioObject.excerpt&&""!==n.audioObject.excerpt?(Tp(),xp("span",zp,Vp(n.audioObject.excerpt),1)):Dp("",!0)])):Dp("",!0),!0!==n.hideMoreButton?(Tp(),xp("div",$p,[o.downloadUrl?(Tp(),xp("a",{key:0,href:o.downloadUrl,class:"button --text-link --download",download:"",onClick:t[0]||(t[0]=Op((()=>{}),["stop"])),title:"Download"},[...t[3]||(t[3]=[Pp("span",{class:"button__label"},[Pp("span",{class:"button__text --text-size-xs"},"Download")],-1)])],8,Up)):Dp("",!0),Ap(s,{url:n.audioObject.url,class:"button --text-link --more",onClick:o.beforeMoreLinkAction,title:"Zu den Episodendetails"},{default:Ip((()=>[...t[4]||(t[4]=[Pp("span",{class:"button__label"},[Pp("span",{class:"button__text --text-size-xs"},"Mehr")],-1)])])),_:1},8,["url","onClick"])])):Dp("",!0)],2)}]])),Hp={name:"AppPlayerCard",components:{CmmsResponsiveImage:co,PodcastEpisode:Fp,AppPlayerControlPlay:wp,AppPlayerControlSkip:Lu,AppPlayerProgress:ip,AppPlayerCardControls:Yu},extends:bu,data:()=>({isExpanded:!0}),computed:{...Ta("player",["playerDrawerOpen"])},methods:{...xa("player",["setPlayerDrawerOpen"]),toggleDrawer:function(){this.setPlayerDrawerOpen(!this.playerDrawerOpen)},toggleExpand:function(){this.isExpanded=!this.isExpanded}}},Gp=window.Vue.createElementVNode,Wp=window.Vue.resolveComponent,Yp=window.Vue.withCtx,qp=window.Vue.openBlock,Kp=window.Vue.createBlock,Jp=window.Vue.createCommentVNode,Qp=window.Vue.createElementBlock,Zp=window.Vue.normalizeClass,Xp=window.Vue.toDisplayString,eh=window.Vue.createVNode,th={class:Zp(["player-card__toolbar"])},nh={class:"player-card__media"},ah=["src","alt"],ih={class:"player-card__media__track"},oh={class:"player-card__media__track__interpret --text-size-xs --text-weight-medium"},rh=["title"],sh={key:0},lh={key:1,class:"player-card__entry"},ch=["title"],dh=["title"],uh=f(Hp,[["render",function(e,t,n,a,i,o){const r=Wp("soylent-link"),s=Wp("AppPlayerCardControls"),l=Wp("AppPlayerProgress");return e.showPlayer?(qp(),Qp("div",{key:0,class:Zp(["player-card",i.isExpanded?"":"--resized",e.playerDrawerOpen?"--drawer_open":""])},[Gp("div",th,[Gp("button",{onClick:t[0]||(t[0]=(...e)=>o.toggleExpand&&o.toggleExpand(...e)),class:"player-card__toolbar__tool --expand"},[...t[2]||(t[2]=[Gp("span",{class:"iconSet"},"expand_more",-1)])]),e.songsearchPageUrl?(qp(),Kp(r,{key:0,url:e.songsearchPageUrl,class:"player-card__toolbar__tool",title:"Songsuche"},{default:Yp((()=>[...t[3]||(t[3]=[Gp("span",{class:"iconSet"},"manage_search",-1)])])),_:1},8,["url"])):Jp("",!0),e.programPageUrl?(qp(),Kp(r,{key:1,url:e.programPageUrl,class:"player-card__toolbar__tool",title:"Programm"},{default:Yp((()=>[...t[4]||(t[4]=[Gp("span",{class:"iconSet"},"today",-1)])])),_:1},8,["url"])):Jp("",!0),e.hasChannels||e.hasPodcasts?(qp(),Qp("button",{key:2,onClick:t[1]||(t[1]=(...e)=>o.toggleDrawer&&o.toggleDrawer(...e)),class:"player-card__toolbar__tool player__drawer
22-switch",title:"Mehr"},[...t[5]||(t[5]=[Gp("div",{class:"iconSet"},"library_music",-1),Gp("div",{class:"iconSet"},"close",-1)])])):Jp("",!0)]),Gp("div",nh,[e.currentTrackCover?(qp(),Qp("img",{key:0,class:"player-card__media__cover",src:e.currentTrackCover,alt:e.currentTrackTitle},null,8,ah)):Jp("",!0),Gp("div",ih,[Gp("div",oh,Xp(e.currentTrackInterpret),1),Gp("div",{class:"player-card__media__track__title --text-size-xxs",title:e.currentTrackTitle},Xp(e.currentTrackTitle),9,rh),eh(s)])]),e.isChannel?Jp("",!0):(qp(),Qp("div",sh,[eh(l)])),e.isChannel?(qp(),Qp("div",lh,[t[6]||(t[6]=Gp("span",{class:"player-card__entry__onair"},[Gp("span",{class:"iconSet"},"equalizer"),Gp("span",{class:"player-card__entry__onair__label --text-size-xxs"},"on Air")],-1)),Gp("span",{class:"player-card__entry__show --text-size-xxs --text-weight-medium",title:e.showTitle},Xp(e.showTitle),9,ch),Gp("span",{class:"player-card__entry__host --text-size-xxs",title:e.showExcerpt},Xp(e.showExcerpt),9,dh)])):Jp("",!0)],2)):Jp("",!0)}]]);let ph={fullsizePlayer:!1,playerBarShowInfo:!1};const hh={name:"AppPlayerBar",components:{AppPlayerControlPlay:wp,AppPlayerControlSkip:Lu,AppPlayerProgress:ip,PodcastEpisode:Fp,AppPlayerControlPlayPage:Tu,CmmsResponsiveImage:co},extends:bu,data:()=>({activeTab:"podcast",currentPodcast:null,touchStartX:0,touchStartY:0,touchStartTime:null}),computed:{...Ta("player",["playerDrawerOpen","playerPodcastObject","playerMode","podcastData","currentChannelId","currentChannelData","channels"]),hasFullscreenPlayer:()=>ph.fullsizePlayer,hasPlayerBarShowInfo:()=>ph.playerBarShowInfo,audioMode:()=>be,podcastMode:()=>ve,channelMode:()=>ke,podcastTitle(){return this.currentPodcast?this.currentPodcast.title:""},podcastImage(){return this.currentPodcast?this.currentPodcast.image:null},newestPodcastAudioObject(){if(this.currentPodcast)return this.currentPodcast.episodes.length>0?this.currentPodcast.episodes[0]:null},currentPodcastAudioObject(){if(this.currentPodcast)return this.currentPodcast.episodes.length>0?this.currentPodcast.episodes[0]:null},podcastEpisodes(){return this.currentPodcast?this.currentPodcast.episodes.slice(1):[]},channelCount(){return Object.keys(this.channels).length},sortedChannels(){let e=JSON.parse(JSON.stringify(this.channels));return Object.keys(e).forEach((t=>{e[t].key=t})),e=Object.values(e),e.forEach(((e,t)=>{e.index=t})),e=e.sort(((e,t)=>e.order-t.order)),e},podcastEpisodeComponent:()=>Xa.getByName("podcastEpisode",Fp),channelId(){return this.getDefaultChannelId},channelData(){return this.currentChannelData},channelTitle(){return this.channelData?this.channelData.label:""},showTitle:function(){return this.showData&&this.showData.title||null},showData:function(){return this.channelData&&this.channelData.show||null},showExcerpt:function(){return this.showData&&this.showData.excerpt||null},showImage:function(){return this.showData&&this.showData.thumb_id>0?this.showData.image_thumb:null}},methods:{...xa("player",["loadPodcast","setPlayerChannelId","playerPodcastSkip","setPlayerDrawerOpen"]),toggleDrawer:function(){this.setPlayerDrawerOpen(!this.playerDrawerOpen),!0===this.playerDrawerOpen&&(this.playerPodcastObject?(this.activeTab="podcast",this.getPodcastData()):this.activeTab="channel",this.$store.dispatch("closeMenu"))},selectDrawerTab:function(e){this.activeTab=e},async getPodcastData(){const e=this.podcastData(this.playerPodcastObject.post_id);this.currentPodcast=e||await this.loadPodcast(this.playerPodcastObject.api_url)},triggerAudio:function(e,t){e.sources&&this.setPlayerChannelId({channelId:t,autoplay:!0})},getCover:function(e,t){return window.cmms_thumbs_base+`${t}x${t}c/${e}.webp`},touchStartEvent(e){this.touchStartX=e.changedTouches[0].pageX,this.touchStartY=e.changedTouches[0].pageY,this.touchStartTime=new Date},touchEndEvent(e){const t=e.changedTouches[0].pageX,n=e.changedTouches[0].pageY,a=new Date;let i=t-this.touchStartX,o=n-this.touchStartY;a-this.touchStartTime<700&&(Math.abs(i)>35&&Math.abs(o)<35?i<0?this.playerPodcastSkip(Me):this.playerPodcastSkip("skip_prev"):this.toggleDrawer())}},beforeUnmount(){this.playerDrawerOpen&&this.setPlayerDrawerOpen(!1)}},mh=window.Vue.openBlock,wh=window.Vue.createElementBlock,gh=window.Vue.createCommentVNode,yh=window.Vue.createElementVNode,fh=window.Vue.resolve
22Component,_h=window.Vue.createBlock,bh=window.Vue.toDisplayString,vh=window.Vue.Transition,kh=window.Vue.withCtx,Sh=window.Vue.createVNode,Eh=window.Vue.normalizeClass,Ch={class:"player-bar__player"},Ah={class:"player-bar__media"},Vh=["src","alt"],Ph={class:"player-bar__track__interpret --text-size-xs --text-weight-medium"},Th=["title"],xh={key:0,class:"player-bar__showinfo-text"},Dh={key:0,class:"player-bar__showinfo-text__title"},Oh={key:1,class:"player-bar__showinfo-text__excerpt"},Ih={key:2,class:"player-bar__showinfo-text__channel"},Mh={key:1,class:"player-bar__showinfo-image"},Nh={key:0,class:"iconSet"},Bh={key:1,class:"iconSet"},Lh=f(hh,[["render",function(e,t,n,a,i,o){const r=fh("AppPlayerProgress"),s=fh("AppPlayerControlPlayPage"),l=fh("CmmsResponsiveImage");return mh(),_h(vh,{name:"fade",appear:""},{default:kh((()=>[e.showPlayer?(mh(),wh("div",{key:0,class:Eh(["player-bar",e.playerDrawerOpen?"--drawer_open":""])},[yh("div",Ch,[yh("div",Ah,[e.currentTrackCover?(mh(),wh("img",{key:0,class:"player-bar__media__cover",src:e.currentTrackCover,alt:e.currentTrackTitle},null,8,Vh)):gh("",!0)]),e.playerMode===o.podcastMode||e.playerMode===o.audioMode?(mh(),_h(r,{key:0})):gh("",!0),Sh(vh,{name:"fade",appear:""},{default:kh((()=>[yh("div",{class:"player-bar__track",onTouchstart:t[0]||(t[0]=(...e)=>o.touchStartEvent&&o.touchStartEvent(...e)),onTouchend:t[1]||(t[1]=(...e)=>o.touchEndEvent&&o.touchEndEvent(...e)),style:{"transition-delay":"1s"}},[yh("div",Ph,bh(e.currentTrackInterpret),1),yh("div",{class:"player-bar__track__title --text-size-xxs",title:e.currentTrackTitle},bh(e.currentTrackTitle),9,Th)],32)])),_:1}),Sh(s,{class:Eh("--text-link")}),Sh(vh,{name:"fade",appear:""},{default:kh((()=>[o.hasPlayerBarShowInfo?(mh(),wh("div",xh,[o.showTitle?(mh(),wh("span",Dh,bh(o.showTitle),1)):gh("",!0),o.showExcerpt?(mh(),wh("span",Oh,bh(o.showExcerpt),1)):gh("",!0),o.channelTitle&&e.playerMode===o.channelMode?(mh(),wh("span",Ih,bh(o.channelTitle),1)):gh("",!0)])):gh("",!0)])),_:1}),o.hasPlayerBarShowInfo&&o.showImage?(mh(),wh("div",Mh,[Sh(l,{image:o.showImage},null,8,["image"])])):gh("",!0),e.hasChannels||e.hasPodcasts?(mh(),wh("button",{key:2,onClick:t[2]||(t[2]=(...e)=>o.toggleDrawer&&o.toggleDrawer(...e)),class:"player__drawer-switch"},[o.hasFullscreenPlayer?(mh(),wh("span",Bh,"queue_music")):(mh(),wh("span",Nh,"library_music")),t[3]||(t[3]=yh("span",{class:"iconSet"},"close",-1))])):gh("",!0)])],2)):gh("",!0)])),_:1})}]]),Rh={name:"AppPlayerDrawerPodcastShortcut",components:{CroppedText:Sp,CmmsResponsiveImage:co,SoylentLink:Al},mixins:[op],props:{podcastData:{type:Object,default:null},startPodcast:{type:Boolean,default:!0},isLoading:{type:Boolean,default:!1}},computed:{...Ta("player",["playerPodcastObject","playerState"]),podcastUrl(){return this.podcastData?function(e){const t=window.location.origin;if(e.startsWith(t))return e.replace(t,"");const n=new URL(e);return n.pathname+n.search+n.hash}(this.podcastData.url):""},description(){return this.podcastData.description?this.podcastData.description.replace(/(<([^>]+)>)/gi,""):null},isSelected(){return!!this.playerPodcastObject&&this.playerPodcastObject.post_id===this.podcastData.post_id},isPlaying(){return this.isSelected&&this.playerState===ye}},methods:{...xa("player",["setPlayerPodcast","setPlayerDrawerOpen"]),setPodcast(){this.podcastData.episodes_amount>0&&(this.startPodcast?this.setPlayerPodcast({podcastObject:this.podcastData,audioObject:this.episode,autoplay:!0}):this.$emit("podcastSelected",this.podcastData))},gotoPodcast(){this.setPlayerDrawerOpen(!1),this.$router.push(this.podcastUrl)}}},jh=window.Vue.resolveComponent,zh=window.Vue.openBlock,$h=window.Vue.createBlock,Uh=window.Vue.createCommentVNode,Fh=window.Vue.createElementVNode,Hh=window.Vue.createElementBlock,Gh=window.Vue.normalizeClass,Wh=window.Vue.toDisplayString,Yh=window.Vue.withCtx,qh=window.Vue.withModifiers,Kh={class:"player__drawer__podcast__item__cover-wrapper"},Jh={key:1,class:"player__drawer__podcast__item__tool --loading"},Qh={class:"player__drawer__podcast__item__meta"},Zh={key:0,class:"player__drawer__podcast__item__title --text-size-l"},Xh={key:1,class:"player__drawer__podcast__item__episodes"},em=f(Rh,[["render",function(e,t,n,a,i,o){const r=jh("CmmsResponsiveImage"),s=jh("CroppedText"),l=jh("soylent-link");return n.podcastData?(zh(),Hh("div",{key:0,class:"player__drawer__podcast__item",onClick:t[0]||(t[0]=qh(((...e)=>o.setPodcast&&o.setPodcast(...e)),["stop"]))},[Fh("div",Kh,[n.podcastData.image?(zh(),$h(r,{key:0,class:"player__drawer__podcast__item__cover",image:n.podcastData.image},null,8,["image"])):Uh("",!0),n.isLoading?(zh(),Hh("div",Jh,[...t[1]||(t[1]=[Fh("span",{class:"iconSet"},"refresh",-1)])])):o.isSelected?(zh(),Hh("div",{key:2,class:Gh(["player__drawer__podcast__item__tool --equalizer",o.isPlaying?"--is-playing":""])},[...t[2]||(t[2]=[Fh("span",null,null,-1),Fh("span",null,null,-1),Fh("span",null,null,-1)])],2)):Uh("",!0)]),Fh("div",Qh,[n.podcastData.title?(zh(),Hh("h4",Zh,Wh(n.podcastData.title),1)):Uh("",!0),n.podcastData.episodes_amount>0?(zh(),Hh("div",Xh,Wh(n.podcastData.episodes_amount)+" Folgen ",1)):Uh("",!0),o.description?(zh(),$h(s,{key:2,class:"player__drawer__podcast__item__description",tag:"span",lines:2,text:o.description},null,8,["text"])):Uh("",!0),n.podcastData.episodes_amount>0&&n.startPodcast?(zh(),$h(l,{key:3,callback:o.gotoPodcast,class:"player__drawer__podcast__item__link button --text-link --text-size-xs",title:"Zu den Podcastdetails"},{default:Yh((()=>[...t[3]||(t[3]=[Fh("span",{class:"button__label"},[Fh("span",{class:"button__text --text-size-xs"},"Zum Podcast")],-1)])])),_:1},8,["callback"])):Uh("",!0),n.podcastData.episodes_amount>0&&!n.startPodcast?(zh(),$h(l,{key:4,callback:o.setPodcast,class:"player__drawer__podcast__item__link button --text-link --text-size-xs",title:"Zur Episodenauswahl"},{default:Yh((()=>[...t[4]||(t[4]=[Fh("span",{class:"button__icon iconSet"},"east",-1)])])),_:1},8,["callback"])):Uh("",!0)])])):Uh("",!0)}]]),tm="slider_type_radio",nm={components:{},props:{breakpoints:{type:Object,default:{0:{slidesPerView:1.5},425:{slidesPerView:2.5},768:{slidesPerView:4.5},1024:{slidesPerView:5.5},1200:{slidesPerView:6.5}}},free:{type:Boolean,default:null},fullsize:{type:Boolean,default:null},activeIndex:{type:Number,default:null},centeredSlides:{type:Boolean,default:!1},a11y:{type:Boolean,default:!0},autoplay:{type:Boolean,default:null},clickToSlide:{type:Boolean,default:!1},autoplayinterval:{type:Number,default:null},autoplayInterval:{type:Number,default:null},spaceBetween:{type:Number,default:null},swiperControlsClassNames:{type:Array,default:[""]},swiperInnerClassNames:{type:Array,default:[""]},defaultHeight:{type:Number,default:500},loop:{type:Boolean,default:!1},showBullets:{type:Boolean,default:!1}},data:function(){return{rendered:!1,modules:[i,o,r,s,l,c],swiperElement:null,nextEnabled:!1,prevEnabled:!1,hideNavigation:!1,defaultAutoplayInterval:3}},computed:{optionBreakpoints(){return!0===this.free?null:!this.fullsize&&this.breakpoints},optionFree(){return!!this.free&&{enabled:!0,sticky:!0}},optionSlidesPerView(){return!0===this.free?"auto":1},optionHeight(){return this.defaultHeight},optionLoop(){return this.loop},optionA11y(){return this.a11y},optionAutoPlayInterval(){return this.autoplayInterval?this.autoplayInterval:this.autoplayinterval?this.autoplayinterval:this.defaultAutoplayInterval},optionAutoplay(){return!!this.autoplay&&{delay:1e3*this.optionAutoPlayInterval,disableOnInteraction:!1}},optionSpaceBetween(){return null===this.spaceBetween?16:this.spaceBetween},optionClickToSlide(){return this.clickToSlide},getPagination(){if(!0===this.showBullets){let e={el:this.$refs.pagination_container,clickable:!0,type:"bullets"};return this.sliderType===tm&&(e.bulletClass="swiper__controls__pagination__bullet",e.bulletActiveClass="--active"),e}return!1},currentIndex(){this.swiperElement.realIndex}},methods:{initSwiper(e){this.swiperElement=e.detail[0].el.swiper,this.updateButtons(),this.activeIndex&&(!0===this.loop?this.swiperElement.slideToLoop(this.activeIndex,0):this.swiperElement.slideTo(this.activeIndex,0))},onDefaultEvent(){this.updateButtons()},onOberverUpdate(){this.updateButtons()},onSlideChange(e){if(!this.swiperElement)return;let t=1;this.breakpoints&&(t=this.breakpoints[this.swiperElement.currentBreakpoint]?this.breakpoints[this.swiperElement.currentBreakpoint].slidesPerView:1),this.$emit("slideChange",Math.
22ceil(this.swiperElement.realIndex),t),this.updateButtons()},onAutoplayTimeLeft(e,t,n){if(this.swiperElement){let e=Math.ceil((1e3*this.optionAutoPlayInterval-this.swiperElement.autoplay.timeLeft)/(1e3*this.optionAutoPlayInterval)*100);this.$emit("autoplayTimeUpdate",e)}},prev:function(){null!==this.swiperElement&&this.swiperElement.slidePrev()},next:function(){null!==this.swiperElement&&this.swiperElement.slideNext()},swipeTo(e){this.swiperElement.slideTo(e),!0===this.loop?this.swiperElement.slideToLoop(e):this.swiperElement.slideTo(e)},updateButtons(){if(null==this.swiperElement)return this.prevEnabled=!1,void(this.nextEnabled=!1);this.nextEnabled=!this.swiperElement.isEnd,this.prevEnabled=!this.swiperElement.isBeginning,!0===this.loop&&(this.nextEnabled=!0,this.prevEnabled=!0),this.hideNavigation=this.swiperElement.isEnd&&this.swiperElement.isBeginning},restoreSlideFocus(e){e.slides.forEach((e=>{e.removeAttribute("tabindex"),e.querySelectorAll("a, button, input, textarea, select, [tabindex]").forEach((e=>{"-1"===e.getAttribute("tabindex")&&e.setAttribute("tabindex","0")}))}))},makeSlidesFocusable(e){e.slides.forEach((e=>{e.setAttribute("tabindex","0")}))},handleKeyboardNavigation(e){["Tab"].includes(e.key)&&this.swiperElement.autoplay&&this.swiperElement.autoplay.running&&this.swiperElement.autoplay.stop()}},watch:{activeIndex:function(e){!0===this.loop?this.swiperElement.slideToLoop(this.activeIndex):this.swiperElement.slideTo(this.activeIndex)}},beforeMount(){this.updateButtons()},mounted(){this.rendered=!0,document.addEventListener("keydown",this.handleKeyboardNavigation)},unmounted(){document.removeEventListener("keydown",this.handleKeyboardNavigation)}},am={name:"SliderWrapper",mixins:[nm],props:{useSliderType:{type:String,default:null}},data:()=>({sliderType:"slider_type_tv"}),mounted(){this.useSliderType&&(this.sliderType=this.useSliderType)}},im=window.Vue.renderSlot,om=window.Vue.normalizeClass,rm=window.Vue.openBlock,sm=window.Vue.createElementBlock,lm=window.Vue.createCommentVNode,cm=window.Vue.createElementVNode,dm=window.Vue.Fragment,um=["slides-per-view","breakpoints","loop","free-mode","autoplay","height","centeredSlides","space-between","pagination","a11y","modules"],pm=["disabled"],hm={class:"swiper__controls__pagination",ref:"pagination_container"},mm=["disabled"],wm=e("o",f(am,[["render",function(e,t,n,a,i,o){return rm(),sm(dm,null,[e.rendered?(rm(),sm("swiper-container",{key:0,ref:"swiperEl","slides-per-view":e.optionSlidesPerView,breakpoints:e.optionBreakpoints,loop:e.optionLoop,"free-mode":e.optionFree,autoplay:e.optionAutoplay,height:e.optionHeight,centeredSlides:e.centeredSlides,"space-between":e.optionSpaceBetween,"watch-overflow":!0,observer:!0,pagination:e.getPagination,observeParents:!0,a11y:e.optionA11y,class:om(e.swiperInnerClassNames),noSwipingClass:"vjs-control-bar",onAfterinit:t[0]||(t[0]=(...t)=>e.initSwiper&&e.initSwiper(...t)),onSlidechange:t[1]||(t[1]=(...t)=>e.onSlideChange&&e.onSlideChange(...t)),onAutoplaytimeleft:t[2]||(t[2]=(...t)=>e.onAutoplayTimeLeft&&e.onAutoplayTimeLeft(...t)),"on:reachEnd":t[3]||(t[3]=(...t)=>e.updateButtons&&e.updateButtons(...t)),onObserverupdate:t[4]||(t[4]=(...t)=>e.onOberverUpdate&&e.onOberverUpdate(...t)),onResize:t[5]||(t[5]=(...t)=>e.onDefaultEvent&&e.onDefaultEvent(...t)),"on:reachBeginning":t[6]||(t[6]=(...t)=>e.onDefaultEvent&&e.onDefaultEvent(...t)),modules:e.modules},[im(e.$slots,"default")],42,um)):lm("",!0),cm("div",{class:om(["swiper__controls",e.swiperControlsClassNames])},[e.hideNavigation?lm("",!0):(rm(),sm("button",{key:0,class:om(["--prev","swiper__controls__item",e.prevEnabled?"":"--disabled"]),disabled:!e.prevEnabled,role:"button","aria-label":"Vorheriger Slide",onClick:t[7]||(t[7]=(...t)=>e.prev&&e.prev(...t))},[...t[9]||(t[9]=[cm("span",{class:"iconSet"},"chevron_left",-1)])],10,pm)),cm("div",hm,null,512),e.hideNavigation?lm("",!0):(rm(),sm("button",{key:1,class:om(["--next","swiper__controls__item",e.nextEnabled?"":"--disabled"]),disabled:!e.nextEnabled,role:"button","aria-label":"Nächster Slide",onClick:t[8]||(t[8]=(...t)=>e.next&&e.next(...t))},[...t[10]||(t[10]=[cm("span",{class:"iconSet"},"chevron_right",-1)])],10,mm))],2)],64)}]]));window.Vue.h,window.Vue.h,window.Vue.ref,window.Vue.onMounted,window.Vue.onUpdated,window.Vue.onBeforeUnmount,window.Vue.watch,window.Vue.nextTick,window.Vue.provide;
22const gm=window.Vue.h,ym=window.Vue.ref,fm=window.Vue.onMounted,_m=window.Vue.onUpdated,bm=window.Vue.onBeforeUpdate,vm=window.Vue.computed,km=window.Vue.onBeforeUnmount,Sm=window.Vue.provide,Em=e("n",{name:"SwiperSlide",props:{tag:{type:String,default:"div"},swiperRef:{type:Object,required:!1},swiperSlideIndex:{type:Number,default:void 0,required:!1},zoom:{type:Boolean,default:void 0,required:!1},lazy:{type:Boolean,default:!1,required:!1},virtualIndex:{type:[String,Number],default:void 0}},setup(e,t){let{slots:n}=t,a=!1;const{swiperRef:i}=e,o=ym(null),r=ym("swiper-slide"),s=ym(!1);function l(e,t,n){t===o.value&&(r.value=n)}fm((()=>{i&&i.value&&(i.value.on("_slideClass",l),a=!0)})),bm((()=>{!a&&i&&i.value&&(i.value.on("_slideClass",l),a=!0)})),_m((()=>{o.value&&i&&i.value&&(void 0!==e.swiperSlideIndex&&(o.value.swiperSlideIndex=e.swiperSlideIndex),i.value.destroyed&&"swiper-slide"!==r.value&&(r.value="swiper-slide"))})),km((()=>{i&&i.value&&i.value.off("_slideClass",l)}));const c=vm((()=>({isActive:r.value.indexOf("swiper-slide-active")>=0,isVisible:r.value.indexOf("swiper-slide-visible")>=0,isPrev:r.value.indexOf("swiper-slide-prev")>=0,isNext:r.value.indexOf("swiper-slide-next")>=0})));Sm("swiperSlide",c);const d=()=>{s.value=!0};return()=>gm(e.tag,{class:Qr(`${r.value}`),ref:o,"data-swiper-slide-index":void 0===e.virtualIndex&&i&&i.value&&i.value.params.loop?e.swiperSlideIndex:e.virtualIndex,onLoadCapture:d},e.zoom?gm("div",{class:"swiper-zoom-container","data-swiper-zoom":"number"==typeof e.zoom?e.zoom:void 0},[n.default&&n.default(c.value),e.lazy&&!s.value&&gm("div",{class:"swiper-lazy-preloader"})]):[n.default&&n.default(c.value),e.lazy&&!s.value&&gm("div",{class:"swiper-lazy-preloader"})])}});window.Vue.inject;const Cm={name:"AppPlayerDrawer",components:{CroppedText:Sp,AppPlayerDrawerPodcastShortcut:em,AppPlayerControlPlay:wp,AppPlayerControlSkip:Lu,AppPlayerProgress:ip,PodcastEpisode:Fp,AppPlayerControlPlayPage:Tu,CmmsResponsiveImage:co,SliderWrapper:wm,SwiperSlide:Em},extends:bu,data:()=>({activeTab:"podcast",showPodcastDetail:!1,showPodcastId:null,currentPodcast:null,touchStartX:0,touchStartY:0,touchStartTime:null,podcastLoadingId:null,breakpoints:{320:{slidesPerView:2.2,spaceBetween:16},475:{slidesPerView:3.2,spaceBetween:24},768:{slidesPerView:3,spaceBetween:24},960:{slidesPerView:4,spaceBetween:24},1200:{slidesPerView:5,spaceBetween:24},1400:{slidesPerView:5,spaceBetween:32}}}),computed:{...Ta("player",["podcastList","hasPodcasts","hasChannels","playerDrawerOpen","playerPodcastObject","playerMode","podcastData","currentChannelId","currentChannelData","channels"]),hasFullscreenPlayer:()=>ph.fullsizePlayer,audioMode:()=>be,podcastMode:()=>ve,channelMode:()=>ke,podcastListFiltered(){return this.podcastList.filter((e=>e.episodes_amount>0))},newestPodcastAudioObject(){if(this.currentPodcast)return this.currentPodcast.episodes.length>0?this.currentPodcast.episodes[0]:null},currentPodcastAudioObject(){if(this.currentPodcast)return this.currentPodcast.episodes.length>0?this.currentPodcast.episodes[0]:null},podcastEpisodes(){return this.currentPodcast?this.currentPodcast.episodes.slice(1):[]},channelCount(){return Object.keys(this.channels).length},sortedChannels(){let e=JSON.parse(JSON.stringify(this.channels));return Object.keys(e).forEach((t=>{e[t].key=t})),e=Object.values(e),e.forEach(((e,t)=>{e.index=t})),e=e.sort(((e,t)=>e.order-t.order)),e},podcastEpisodeComponent:()=>Xa.getByName("podcastEpisode",Fp),channelId(){return this.getDefaultChannelId},channelData(){return this.currentChannelData},channelTitle(){return this.channelData?this.channelData.label:""},showTitle:function(){return this.showData&&this.showData.title||null},showData:function(){return this.channelData&&this.channelData.show||null},showExcerpt:function(){return this.showData&&this.showData.excerpt||null},showImage:function(){return this.showData&&this.showData.thumb_id>0?this.showData.image_thumb:null},podcastId(){return this.playerPodcastObject?this.playerPodcastObject.post_id:null},playlistData(){return this.currentChannelData?this.currentChannelData.playlist:[]}},methods:{...xa("player",["loadPodcastList","loadPodcast","setPlayerChannelId","playerPodcastSkip","setPlayerDrawerOpen"]),toggleDrawer:function(){this.setPlayerDrawerOpen(!this.playerDrawerOpen),!0===this.playerDrawerOpen&&
22(this.playerPodcastObject?(this.selectDrawerTab("podcast"),this.getPodcastData()):this.selectDrawerTab("channel"))},selectDrawerTab:function(e){this.activeTab=e},async getPodcastData(){const e=this.podcastData(this.playerPodcastObject.post_id);this.currentPodcast=e||await this.loadPodcast(this.playerPodcastObject.api_url)},triggerAudio:function(e,t){e.sources&&this.setPlayerChannelId({channelId:t,autoplay:!0})},getCover:function(e,t){return window.cmms_thumbs_base+`${t}x${t}c/${e}.webp`},async getCurrentPodcastData(e){if(!(void 0!==this.podcastId&&this.playerPodcastObject||e))return;let t=e?e.post_id:this.playerPodcastObject.post_id;const n=this.podcastData(t);if(n)this.currentPodcast=n;else{let t=e?e.api_url:this.playerPodcastObject.api_url;this.podcastLoadingId=e?e.post_id:this.playerPodcastObject.post_id,await this.$nextTick((async()=>{this.currentPodcast=await this.loadPodcast(t),this.podcastLoadingId=null}))}return!0},async onPodcastSelected(e){await this.getCurrentPodcastData(e),this.showPodcastDetail=!0},showPodcastOverview(){this.showPodcastDetail=!1},getTime:function(e){return this.$filters.hourMinute(1e3*e)},initDrawerTab(){this.playerMode===this.channelMode?this.selectDrawerTab("channel"):this.playerMode===this.podcastMode?this.selectDrawerTab("podcast"):this.hasChannels?this.selectDrawerTab("channel"):this.hasPodcasts&&this.selectDrawerTab("podcast")}},watch:{podcastId:{handler:function(e){e&&(this.showPodcastDetail=!0,this.getCurrentPodcastData())},deep:!0},playerDrawerOpen:{handler:function(e){e&&this.initDrawerTab()}}},async mounted(){window.isDynamicRenderer||this.podcastList.length<1&&await this.loadPodcastList()},beforeUnmount(){this.playerDrawerOpen&&this.setPlayerDrawerOpen(!1)}},Am=window.Vue.normalizeClass,Vm=window.Vue.openBlock,Pm=window.Vue.createElementBlock,Tm=window.Vue.createCommentVNode,xm=window.Vue.Transition,Dm=window.Vue.withCtx,Om=window.Vue.createVNode,Im=window.Vue.createElementVNode,Mm=window.Vue.renderList,Nm=window.Vue.Fragment,Bm=window.Vue.resolveComponent,Lm=window.Vue.createBlock,Rm=window.Vue.resolveDynamicComponent,jm=window.Vue.toDisplayString,zm=window.Vue.withKeys,$m=window.Vue.resolveDirective,Um=window.Vue.withDirectives,Fm={class:"player__drawer__close"},Hm={key:0,class:"player__drawer__tab-navigation"},Gm={key:1,class:"player__drawer__tab --active"},Wm={class:"player__drawer__podcast"},Ym={class:"player__drawer__podcast__entries"},qm={key:0,class:"player__drawer__podcast__controls"},Km={key:2,class:"player__drawer__tab --active"},Jm={class:"player__drawer__podcast"},Qm={class:"player__drawer__podcast__entries"},Zm={key:0,class:"player__drawer__podcast__label --text-size-xxs"},Xm={key:0,class:"player__drawer__podcast__controls"},ew={key:3,class:"player__drawer__tab --active"},tw={class:"player__drawer__channels__current"},nw=["src","alt","title"],aw={class:"player__drawer__channels__current__meta"},iw={class:"player__drawer__channels__current__title"},ow={key:0,class:"player__drawer__channels__playlist__wrapper"},rw={key:0,class:"player__drawer__channels__playlist"},sw={class:"player__drawer__channels__playlist__item__time"},lw={class:"player__drawer__channels__playlist__item__track"},cw={class:"player__drawer__channels__playlist__item__track__interpret"},dw={class:"player__drawer__channels__playlist__item__track__title"},uw={key:1,class:"player__drawer__channels__playlist"},pw={class:"player__drawer__channels__playlist__item"},hw={class:"player__drawer__channels__playlist__item__time"},mw={class:"player__drawer__channels__playlist__item__track"},ww={class:"player__drawer__channels__playlist__item__track__interpret"},gw={class:"player__drawer__channels__playlist__item__track__title"},yw={key:1,class:"player__drawer__channels__grid"},fw=["title","onClick"],_w=["src","alt"],bw={key:2,class:"player__drawer__show"},vw={class:"player__drawer__show__meta"},kw={class:"player__drawer__show__onair"},Sw={class:"player__drawer__show__onair__label --text-size-xxs"},Ew={class:"player__drawer__show__title"},Cw={class:"player__drawer__show__media"},Aw=f(Cm,[["render",function(e,t,n,a,i,o){const r=Bm("AppPlayerDrawerPodcastShortcut"),s=Bm("AppPlayerControlSkip"),l=Bm("AppPlayerProgress"),c=Bm("AppPlayerControlPlay"),d=Bm("SwiperSlide"),u=Bm("SliderWrapper"),p=Bm("CroppedText"),h=Bm("CmmsResponsiveImage"),m=$m("focustrap");return Vm(),Pm(Nm,null,[Om(xm,{name:"drawer-blocker"},{default:Dm((()=>[e.playerDrawerOpen?(Vm(),Pm("div",{key:0,class:Am(["player__drawer__blocker",o.hasFullscreenPlayer?"--bar":"--card"]),onClick:t[0]||(t[0]=(...e)=>o.toggleDrawer&&o.toggleDrawer(...e))},null,2)):Tm("",!0)])),_:1}),Om(xm,{name:"drawer"},{default:Dm((()=>[e.playerDrawerOpen?Um((Vm(),Pm("div",{key:0,onKeydown:t[5]||(t[5]=zm(((...e)=>o.toggleDrawer&&o.toggleDrawer(...e)),["esc"])),class:Am(["player__drawer",o.hasFullscreenPlayer?"--bar":"--card"]),role:"dialog"},[Im("div",Fm,[Im("button",{class:"iconSet",onClick:t[1]||(t[1]=(...e)=>o.toggleDrawer&&o.toggleDrawer(...e))},"close")]),e.hasPodcasts&&e.hasChannels?(Vm(),Pm("div",Hm,[e.hasChannels?(Vm(),Pm("button",{key:0,onClick:t[2]||(t[2]=e=>o.selectDrawerTab("channel")),class:Am(["player__drawer__tab-navigation__item --channel","channel"===i.activeTab?"--active":""])},[...t[6]||(t[6]=[Im("span",{class:"iconSet"},"apps",-1),Im("span",{class:"player__drawer__tab-navigation__item__label"},"Webradio",-1)])],2)):Tm("",!0),e.hasPodcasts?(Vm(),Pm("button",{key:1,onClick:t[3]||(t[3]=e=>o.selectDrawerTab("podcast")),class:Am(["player__drawer__tab-navigation__item --podcast","podcast"===i.activeTab?"--active":""])},[...t[7]||(t[7]=[Im("span",{class:"iconSet"},"mic",-1),Im("span",{class:"player__drawer__tab-navigation__item__label"},"Podcasts",-1)])],2)):Tm("",!0)])):Tm("",!0),"podcast"!==i.activeTab||i.currentPodcast&&i.showPodcastDetail?"podcast"===i.activeTab&&i.currentPodcast&&!0===i.showPodcastDetail?(Vm(),Pm("div",Km,[Im("div",Jm,[Im("div",Qm,[Im("button",{class:"player__drawer__podcast__link",onClick:t[4]||(t[4]=(...e)=>o.showPodcastOverview&&o.showPodcastOverview(...e))},[...t[8]||(t[8]=[Im("span",{class:"iconSet player__drawer__podcast__link__icon"},"arrow_back",-1),Im("div",{class:"player__drawer__podcast__link__label"},"zurück zur Übersicht",-1)])]),Om(r,{"podcast-data":i.currentPodcast},null,8,["podcast-data"]),t[9]||(t[9]=Im("div",{class:"player__drawer__podcast__label --text-size-xxs"},"Neueste Folge",-1)),(Vm(),Lm(Rm(o.podcastEpisodeComponent),{"audio-object":o.newestPodcastAudioObject,"podcast-object":i.currentPodcast,hideMoreButton:!0,class:"--compact --no-link"},null,8,["audio-object","podcast-object"])),o.podcastEpisodes.length>0?(Vm(),Pm("div",Zm," Weitere Folgen ")):Tm("",!0),(Vm(!0),Pm(Nm,null,Mm(o.podcastEpisodes,((e,t)=>(Vm(),Lm(Rm(o.podcastEpisodeComponent),{"audio-object":e,"podcast-object":i.currentPodcast,key:`podcast_episode${e.item}`,hideMoreButton:!0,class:"--light --compact --no-link"},null,8,["audio-object","podcast-object"])))),128))]),e.playerPodcastObject?(Vm(),Pm("div",Xm,[e.playerMode===o.podcastMode?(Vm(),Lm(s,{key:0,class:Am("--text-link"),"button-type":"skip_previous"})):Tm("",!0),Om(l),e.playerMode===o.podcastMode?(Vm(),Lm(s,{key:1,class:Am("--text-link")})):Tm("",!0)])):Tm("",!0)])])):Tm("",!0):(Vm(),Pm("div",Gm,[Im("div",Wm,[Im("div",Ym,[(Vm(!0),Pm(Nm,null,Mm(o.podcastListFiltered,(e=>(Vm(),Lm(r,{podcastData:e,key:"podcast_item_"+e.post_id,"start-podcast":!1,"is-loading":i.podcastLoadingId===e.post_id,onPodcastSelected:o.onPodcastSelected},null,8,["podcastData","is-loading","onPodcastSelected"])))),128))]),e.playerMode===o.podcastMode?(Vm(),Pm("div",qm,[e.playerMode===o.podcastMode?(Vm(),Lm(s,{key:0,class:Am("--text-link"),"button-type":"skip_previous"})):Tm("",!0),Om(l),e.playerMode===o.podcastMode?(Vm(),Lm(s,{key:1,class:Am("--text-link")})):Tm("",!0)])):Tm("",!0)])])),"channel"===i.activeTab?(Vm(),Pm("div",ew,[Im("div",{class:Am(["player__drawer__channels",o.channelCount<=1?"--single-channel":"--multi-channel"])},[Im("div",tw,[e.currentChannelData.thumbnail_id?(Vm(),Pm("img",{key:0,class:"player__drawer__channels__current__cover",src:o.getCover(e.currentChannelData.thumbnail_id,234),alt:o.channelTitle,title:o.channelTitle},null,8,nw)):Tm("",!0),Im("div",aw,[t[10]||(t[10]=Im("div",{class:"player__drawer__channels__current__label"},"Liveradio",-1)),Im("h3",iw,jm(o.channelTitle),1)]),Om(c,{channelId:e.currentChannelId,ref:"playButton"},null,8,["channelId"])]),o.playlistData&&o.playlistData.length>0?(Vm(),Pm("div",ow,[o.channelCount<=1?(Vm(),Pm("div",rw,[(Vm(!0),Pm(Nm,null,Mm(o.playlistData,((e,n)=>(Vm(),Pm("div",{key:"playlist_item_"+n,class:"player__drawer__channels__playlist__item"},[Im("div",sw,jm(o.getTime(e.time)),1),Im("div",lw,[Im("div",cw,jm(e.interpret),1),t[11]||(t[11]=Im("div",{class:"player__drawer__channels__playlist__item__track__spacer"}
22,"·",-1)),Im("div",dw,jm(e.title),1)])])))),128))])):(Vm(),Pm("div",uw,[Om(u,{breakpoints:i.breakpoints},{default:Dm((()=>[(Vm(!0),Pm(Nm,null,Mm(o.playlistData,((e,n)=>(Vm(),Lm(d,{key:"playlist_item_"+n},{default:Dm((()=>[Im("div",pw,[Im("div",hw,jm(o.getTime(e.time)),1),Im("div",mw,[Im("div",ww,jm(e.interpret),1),t[12]||(t[12]=Im("div",{class:"player__drawer__channels__playlist__item__track__spacer"}," · ",-1)),Im("div",gw,jm(e.title),1)])])])),_:2},1024)))),128))])),_:1},8,["breakpoints"])]))])):Tm("",!0),o.channelCount>1?(Vm(),Pm("div",yw,[(Vm(!0),Pm(Nm,null,Mm(o.sortedChannels,((t,n)=>(Vm(),Pm("button",{key:n,class:Am(["player__drawer__channels__grid__item",t.key===e.currentChannelId?"--active":""]),title:t.label,onClick:e=>o.triggerAudio(t,t.key)},[Im("img",{src:o.getCover(t.thumbnail_id,234),alt:t.label},null,8,_w)],10,fw)))),128))])):Tm("",!0),o.showTitle||o.showExcerpt||o.showImage?(Vm(),Pm("div",bw,[Im("div",vw,[Im("span",kw,[t[13]||(t[13]=Im("span",{class:"iconSet"},"equalizer",-1)),Im("span",Sw,"on air "+jm(e.channels.length),1)]),Im("h4",Ew,jm(o.showTitle),1),o.showExcerpt?(Vm(),Lm(p,{key:0,class:"player__drawer__show__desc",tag:"span",lines:2,text:o.showExcerpt},null,8,["text"])):Tm("",!0)]),Im("div",Cw,[Om(h,{image:o.showImage},null,8,["image"])])])):Tm("",!0)],2)])):Tm("",!0)],34)),[[m]]):Tm("",!0)])),_:1})],64)}]]),Vw={data:function(){return{timeoutHandler:null}},computed:{},methods:{...xa("player",["loadChannelData"]),loadData:function(){clearTimeout(this.timeoutHandler),this.loadChannelData(),this.timeoutHandler=setTimeout(this.loadData,1e4)}},mounted(){window.isDynamicRenderer||this.loadData()},beforeUnmount(){clearTimeout(this.timeoutHandler)}},Pw={computed:{hasModal:()=>Xa.has(ud),getModal:()=>Xa.getByName(ud)}},Tw=new class{#R=!1;#j=0;init(){this.#R||(this.#R=!0,Uo.onPayload(this.#g.bind(this),"event"),Uo.sendPayload({type:"setupMessaging"}))}#g(e){const{eventType:t,data:n}=e;switch(t){case"messagingReady":this.#z(n);break;case"messagingNotification":this.#$(n)}}#z(e){if(!e.length)return this.#j<10?void setTimeout(this.#U.bind(this),3e3):void 0;$a.dispatch("arabella/setPushToken",e),Ma({url:"/cmms-api-v2/push/register/",params:{token:e}})}#U(){this.#j++,Uo.sendPayload({type:"registerMessaging"})}#$(e){const t=e||null;if(console.log("[notify]",t),null!==t)if(t.data&&t.data.mid&&Ma({url:"/cmms-api-v2/push/read/",params:{token:$a.getters["arabella/getPushToken"],mid:t.data.mid}}),"open"!==t.type&&"background"!==t.type||!t.data.url){if(t.data.message){let e=null;t.data.url&&(e={label:"Ansehen",callback:()=>{Jo.push(er(t.data.url))}}),$a.dispatch("notifications/enqueue",{type:"push",payload:{message:t.data.message||"",cta:e}})}}else Jo.push(er(t.data.url))}};class xw{#F="";constructor(e=""){e.length?this.#F=e+".":console.info("[Soylent:PersistentStorage] %cWarning: Using without a key prefix","color: darkorange")}getAll(){let e={};return Object.keys(window.localStorage).forEach((t=>{const n=new RegExp(`^${this.#F.replace(/\./g,".")}(.+)$`,"i"),a=t.match(n);a&&(e[a[1]]=this.get(a[1]))})),e}get(e,t){const n=window.localStorage.getItem(this.#H(e));if(null===n)return t;try{return JSON.parse(n)}catch(a){return n}}set(e,t){window.localStorage.setItem(this.#H(e),JSON.stringify(t))}delete(e){window.localStorage.removeItem(this.#H(e))}#H(e){return`${this.#F}${e}`}}const Dw=new class{#R=!1;#G=null;#W=5;#Y=26784e5;init(){this.#R||(console.log("[SoylentStoreReview] Initialized"),this.#R=!0,!0===("soylent_settings"in window&&window.soylent_settings.app_review_prompt||!1)?(this.#G=new xw("soylent.app.storeReview"),this.#G.set("appStarts",this.#G.get("appStarts",0)+1),this.checkReviewRequest()):console.log("[SoylentStoreReview] Not enabled"))}checkReviewRequest(){if(parseInt(this.#G.get("appStarts",0),10)<this.#W)return void console.log("[SoylentStoreReview] Do not ask, current start count is less then "+this.#W);const e=Date.now()-parseInt(this.#G.get("reviewRequestedTimestamp",0),10);e<this.#Y?console.log("[SoylentStoreReview] Do not ask, current timestamp difference is "+e+" needs to exceed "+this.#Y):(this.#G.set("appStarts",0),this.#G.set("reviewRequestedTimestamp",Date.now()),Uo.sendPayload({type:"requestStoreReview"}
22),console.log("[SoylentStoreReview] Review Request sent to bridge"))}},Ow=new class{#q=!1;#K=!1;#J=null;init(){R&&(document.getElementsByTagName("html")[0].classList.add("--native"),Uo.onPayload(this.#Q.bind(this),"@register"),Uo.onPayload((e=>{const{eventType:t}=e;if(this.#q)switch(t){case"back":Uo.sendPayload({type:"goBack"});break;case"cannotGoBack":clearTimeout(this.#J),this.#K?Uo.sendPayload({type:"exitApp"}):(this.#K=!0,this.#J=setTimeout((()=>{this.#K=!1}),3e3),Uo.sendPayload({type:"showToast",label:"Erneut drücken, um die App zu schließen"}))}}),"event"),Uo.init(),Dw.init(),this.#Z())}#Q(){this.#q=!0,Tw.init()}#Z(){window.addEventListener("UC_UI_VIEW_CHANGED",(function(e){console.log("Current view is: "+e.detail.view),"NONE"!==e.detail.view&&"PRIVACY_BUTTON"!==e.detail.view||(window.UC_UI.getServicesBaseInfo().filter((e=>!0===e.consent.status&&"essential"!==e.categorySlug)).length>0||window.UC_UI.getTCFVendors().filter((e=>!0===e.consent)).length>0)&&(console.log("requestTrackingPermission"),Uo.sendPayload({type:"requestTrackingPermission"}))})),window.addEventListener("CookiebotOnConsentReady",(function(e){Uo.sendPayload({type:"requestTrackingPermission"})}),{once:!0}),"cmmsCmpLoader"in window?(console.log("[App] Spawn CMP"),window.cmmsCmpLoader()):(console.log("[App] Store spawn CMP request"),window.cmmsSpawnCmp=!0)}},Iw=window.Vue.resolveDynamicComponent,Mw=window.Vue.normalizeClass,Nw=window.Vue.openBlock,Bw=window.Vue.createBlock,Lw=window.Vue.computed;window.Vue.onMounted;const Rw=window.Vue.ref,jw={__name:"HtmlBlock",props:{htmlContent:String,active:Boolean},setup(e){const t=e,n=Rw(null),a=Lw((()=>function(e){const t=(e=e.trim()).match(/^<([a-zA-Z0-9-]+)(\s[^>]*)?>/);if(!t)return e;const n=t[1].toLowerCase();if(new Set(["a","strong","em","span","b","i","u","small","sub","sup","code","img"]).has(n))return e;const a=e.match(new RegExp(`^<${n}[^>]*>([\\s\\S]*?)<\\/${n}>$`,"i"));return a?a[1]:e}(t.htmlContent))),i=Lw((()=>o(t.htmlContent))),o=e=>{const t=(e=e.trim()).match(/^<\s*([a-zA-Z0-9-]+)/);return t?t[1].toLowerCase():"span"};return(t,o)=>(Nw(),Bw(Iw(i.value),{ref_key:"container",ref:n,innerHTML:a.value+" ",class:Mw(e.active?"--highlight":"")},null,8,["innerHTML","class"]))}},zw=window.Vue.createVNode,$w=window.Vue.createElementVNode,Uw=window.Vue.toDisplayString,Fw=window.Vue.openBlock,Hw=window.Vue.createElementBlock,Gw=window.Vue.createCommentVNode,Ww=window.Vue.normalizeClass,Yw={key:0,class:"media-content"},qw={style:{}},Kw={class:""},Jw={key:0},Qw={key:1,class:"reader__content__media__headline"},Zw={key:2,class:"reader__content__media__subline"},Xw=window.Vue.computed,eg={__name:"MediaBlock",props:{media:Object,active:Boolean},setup(e){const t=e,n=Xw((()=>"image"===t.media?.data.media_data.type?t.media?.data.media_data.model:t.media?.data.media_data.model.image));return(t,a)=>(Fw(),Hw("div",{class:Ww(["reader__content__media",e.active?"--highlight":""])},[n.value?(Fw(),Hw("div",Yw,[$w("figure",qw,[$w("picture",Kw,[zw(co,{image:n.value},null,8,["image"])]),n.value?.copyright&&""!==n.value.copyright?(Fw(),Hw("figcaption",Jw,Uw(n.value.copyright),1)):Gw("",!0)])])):Gw("",!0),e.media.data.headline?(Fw(),Hw("span",Qw,Uw(e.media.data.headline),1)):Gw("",!0),e.media.data.subline?(Fw(),Hw("span",Zw,Uw(e.media.data.subline),1)):Gw("",!0)],2))}},tg=window.Vue.createElementVNode,ng=window.Vue.normalizeClass,ag=window.Vue.openBlock,ig=window.Vue.createElementBlock,og=window.Vue.createCommentVNode,rg=window.Vue.vModelSelect,sg=window.Vue.withDirectives,lg=window.Vue.toDisplayString,cg=window.Vue.createTextVNode,dg=window.Vue.vModelText,ug=window.Vue.unref,pg=window.Vue.Fragment,hg=window.Vue.renderList,mg=window.Vue.resolveDynamicComponent,wg=window.Vue.mergeProps,gg=window.Vue.createBlock,yg=window.Vue.withKeys,fg=window.Vue.normalizeStyle,_g=window.Vue.resolveDirective,bg=window.Vue.createStaticVNode,vg=["data-theme"],kg={class:"reader__tools"},Sg={class:"reader__tools__button-wrapper"},Eg={key:0,class:"reader__tools__button-tooltip"},Cg={key:1,role:"dialog",class:"reader__tools__dialog"},Ag={class:"reader__tools__dialog__label"},Vg={class:"reader__tools__dialog__label"},Pg={class:"reader__tools__dialog__label__title"},Tg={class:"reader__tools__dialog__label"},xg={class:"reader__tools__dialog__label__title"},Dg={key:3,class:"reader__tools__button-wrapper"},Og={class:"reader__tools__button-wrapper"},Ig={class:"reader__content"},Mg=window.Vue.onMounted,Ng=window.Vue.onUnmounted,Bg=window.Vue.ref,Lg=window.Vue.watch,Rg={__name:"Reader",setup(e){const t=ta(),n=Bg(null),a=Bg(""),i=Bg(!1),o=Bg([]),r=Bg(-1),s=window.speechSynthesis;let l=null,c=!1,d=Bg(!1);const u=()=>{t.dispatch("reader/hideReader")},p=()=>
22{if(a.value=[],A.value&&o.value)return void o.value.forEach(((e,t)=>{if(e.startsWith("**")&&e.endsWith("**")){let n=e.slice(2,-2);const i=0===t?"h1":"h2";a.value.push({type:"html",component:jw,content:"<"+i+">"+n+"</"+i+">",plainText:n})}else a.value.push({type:"html",content:`<p>${e}</p>`,component:jw,plainText:M(e)})}));const e="pageDataModal"in t.getters?t.getters.pageDataModal?.blocks:t.getters.pageData?.blocks;a.value=[],e.forEach((e=>{e.elements.forEach((e=>{switch(e.subtype){case"postTeaser":a.value.push({type:"html",component:jw,content:e.data.text,plainText:e.data.text});break;case"html":let n=[];try{n=function(e,t={}){e=function(e){const t=(new DOMParser).parseFromString(e,"text/html"),n="section, article";return Array.from(t.querySelectorAll(n)).reverse().forEach((e=>{const t=e.parentNode;for(;e.firstChild;)t.insertBefore(e.firstChild,e);e.remove()})),t.body.innerHTML}(e=e.trim());const{listMode:n="container"}=t,a=document.createElement("div");a.innerHTML=e.trim();const i=[],o=["P","DIV","H1","H2","H3","H4","H5","H6"],r=["BLOCKQUOTE","TABLE","DETAILS","HR","SECTION","ARTICLE","ASIDE","HEADER","FOOTER","NAV","ADDRESS"],s=/(?<!\b(?:Dr|Prof|Dipl\.?-?Ing|BSc|MSc|Ing|Mag|Sr|Jr))(?<!\b\d)([.?!])\s*(?=\s*[A-ZÄÖÜ(»])/gi;function l(e){return Array.from(e.attributes).map((e=>` ${e.name}="${e.value}"`)).join("")}function c(e){if(e.nodeType===Node.TEXT_NODE)return e.textContent;if(e.nodeType!==Node.ELEMENT_NODE)return"";const t=e.tagName.toLowerCase();let n=`<${t}${l(e)}>`;return e.childNodes.forEach((e=>{n+=c(e)})),n+=`</${t}>`,n}function d(e){const t=document.createElement("div");t.innerHTML=e;const n=[];let a="";function i(){if(a.trim()){const e=a.replace(s,"$1###SPLIT###").split("###SPLIT###").map((e=>e.trim())).filter(Boolean);n.push(...e)}a=""}function o(e){if(e.nodeType!==Node.TEXT_NODE){if(e.nodeType===Node.ELEMENT_NODE){const t=window.getComputedStyle(e).display;if("block"!==t&&"table"!==t)return i(),void n.push(c(e));i(),n.push(e.outerHTML)}}else a+=e.textContent}return t.childNodes.forEach(o),i(),n}function u(e){const t=d(e.innerHTML),n=`<${e.tagName}${l(e)}>`,a=`</${e.tagName}>`;t.forEach(((e,o)=>{let r=e.trim();0===o&&(r=n+r),o===t.length-1&&(r+=a),i.push(r)}))}function p(e){if(e.nodeType===Node.TEXT_NODE){const t=e.textContent.trim();if(!t)return;const n=t.replace(s,"$1###SPLIT###").split("###SPLIT###").map((e=>e.trim())).filter(Boolean);return void i.push(...n)}if(e.nodeType!==Node.ELEMENT_NODE)return;const t=e.tagName;r.includes(t)?i.push(e.outerHTML.trim()):o.includes(t)?u(e):e.childNodes.forEach(p)}return a.childNodes.forEach(p),i}(e.data.text)}catch(t){console.error("Fehler beim Ausführen: Die Funktion benötigt eine DOM-Umgebung (Browser oder JSDOM).",t)}n.length>0?n.forEach(((e,t)=>{a.value.push({type:"html",content:e,component:jw,plainText:M(e)})})):a.value.push({type:"html",content:e.data.text});break;case"headline":const i=e.data.tag?e.data.tag:"h1";a.value.push({type:"html",component:jw,content:"<"+i+">"+e.data.text+"</"+i+">",plainText:e.data.text});break;case"media":let o="Medium:";e.data.headline?(o+=" "+e.data.headline,e.data.subline&&(o+=" "+e.data.subline)):e.data.media_data.model.alt&&""!=e.data.media_data.model.alt?o+=" "+e.data.media_data.model.alt:o+=" ohne Beschreibung",a.value.push({type:"component",component:eg,props:{media:e},plainText:o})}}))}))},h=()=>{i.value?d.value?speechSynthesis.pause&&navigator.userAgent.includes("Firefox")?m():(d.value=!1,s.resume()):speechSynthesis.pause&&navigator.userAgent.includes("Firefox")?w():(d.value=!0,s.pause()):m()},m=()=>{s?(w(),i.value=!0,r.value=0,c=!1,d.value=!1,g(r.value)):console.error("TTS nicht verfügbar oder keine Segmente gefunden.")},w=()=>{s.cancel(),i.value=!1,r.value=-1,l=null},g=e=>{if(c)return;if(e>=a.value.length)return void w();r.value=e;const t=a.value[e].plainText;l=new SpeechSynthesisUtterance(t),l.lang="de",l.onend=()=>{i.value&&g(e+1)},l.onerror=t=>{console.error(`TTS Error bei Segment ${e}:`,t.error),g(e+1)},s.speak(l),s.resume(),N("text-segment-"+e)},y=Bg(!1),f="settings.isDarkMode",_="settings.isSimpleMode",b="settings.fontFamily",v="settings.fontSize",k="settings.lineHeight",S=(e,t)=>{const n=localStorage.getItem(e);try{return null!==n?JSON.parse(n):t}catch{return t}},E=(e,t)=>{localStorage.setItem(e,JSON.stringify(t))}
22,C=Bg(S(f,!1)),A=Bg(S(_,!1)),V=Bg(S(b,"sans-serif")),P=Bg(S(v,20)),T=Bg(S(k,.75));Lg(C,(e=>E(f,e))),Lg(A,(e=>E(_,e))),Lg(V,(e=>E(b,e))),Lg(P,(e=>E(v,e))),Lg(T,(e=>E(k,e)));const x=()=>{y.value?y.value=!1:u()},D=()=>{C.value=!C.value},O=()=>{A.value=!A.value,p()},I=()=>{y.value=!y.value};function M(e){const t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}const N=e=>{const t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth"})};return Mg((()=>{c=!1,d.value=!1,o.value=t.getters.pageData?.accessibility?.simple_language,p(),t.getters["reader/autoplay"]&&(t.dispatch("reader/setReaderAutoplay",!1),m())})),Ng((()=>{w(),c=!0,d.value=!0,setTimeout((()=>{s.cancel(),s.pause()}),100)})),(e,t)=>{const s=_g("focustrap");return sg((ag(),ig("div",{onKeydown:yg(x,["esc"]),"data-theme":C.value?"dark":"light",role:"dialog","aria-modal":"true",class:"reader",style:fg("--font-family:"+V.value+";--font-size:"+P.value+"px;--font-line-height-ratio:"+T.value+";")},[tg("div",kg,[tg("div",{class:"reader__tools__button-wrapper"},[tg("button",{onClick:u,class:"reader__tools__button iconSet","aria-label":"Leseansicht schließen"}," close "),t[3]||(t[3]=tg("span",{class:"reader__tools__button-tooltip"},"Leseansicht schließen",-1))]),tg("div",Sg,[tg("button",{onClick:I,class:ng(["reader__tools__button iconSet",[y.value?"--active":""]]),"aria-label":"Schrifteinstellungen"},"text_fields ",2),y.value?og("",!0):(ag(),ig("span",Eg,"Schrifteinstellungen"))]),y.value?(ag(),ig("div",{key:0,onClick:I,class:"reader__tools__dialog-backdrop"})):og("",!0),y.value?(ag(),ig("div",Cg,[tg("label",Ag,[t[5]||(t[5]=tg("span",{class:"reader__tools__dialog__label__title"},"Schriftart",-1)),sg(tg("select",{"onUpdate:modelValue":t[0]||(t[0]=e=>V.value=e)},[...t[4]||(t[4]=[bg('<option value="sans-serif">Sans Serif</option><option value="serif">Serif</option><option value="monospace">Monospace</option><option value="system-ui">System</option><option value="cursive">Schreibschrift</option>',5)])],512),[[rg,V.value]])]),tg("label",Vg,[tg("span",Pg,[t[6]||(t[6]=cg("Schriftgrad ",-1)),tg("span",null,lg(P.value)+"px",1)]),sg(tg("input",{type:"range",min:"12",max:"64",step:"4","onUpdate:modelValue":t[1]||(t[1]=e=>P.value=e)},null,512),[[dg,P.value,void 0,{number:!0}]])]),tg("label",Tg,[tg("span",xg,[t[7]||(t[7]=cg("Zeilenhöhe ",-1)),tg("span",null,lg(T.value+1),1)]),sg(tg("input",{type:"range",min:"0",max:"2",step:"0.25","onUpdate:modelValue":t[2]||(t[2]=e=>T.value=e)},null,512),[[dg,T.value,void 0,{number:!0}]])])])):og("",!0),ug(R)?og("",!0):(ag(),ig("div",{key:2,class:"reader__tools__button-wrapper",onClick:h},[tg("button",{class:ng(["reader__tools__button iconSet",[i.value&&!ug(d)?"--active":""]]),"aria-label":"Artikel anhören"},[i.value&&!ug(d)?(ag(),ig(pg,{key:0},[cg("pause")],64)):(ag(),ig(pg,{key:1},[cg("headphones")],64))],2),t[8]||(t[8]=tg("span",{class:"reader__tools__button-tooltip"},"Artikel anhören",-1))])),o.value?(ag(),ig("div",Dg,[tg("button",{onClick:O,class:ng(["reader__tools__button iconSet",[A.value?"--active":""]]),"aria-label":"Einfache Sprache umschalten"}," local_library ",2),t[9]||(t[9]=tg("span",{class:"reader__tools__button-tooltip"},"Einfache Sprache",-1))])):og("",!0),tg("div",Og,[tg("button",{onClick:D,class:"reader__tools__button iconSet","aria-label":"Farbschema umschalten"},[C.value?(ag(),ig(pg,{key:0},[cg("light_mode")],64)):(ag(),ig(pg,{key:1},[cg("dark_mode")],64))]),t[10]||(t[10]=tg("span",{class:"reader__tools__button-tooltip"},"Farbschema",-1))])]),tg("div",Ig,[tg("div",{class:"reader__content__text",ref_key:"contentRef",ref:n},[(ag(!0),ig(pg,null,hg(a.value,((e,t)=>(ag(),gg(mg(e.component),wg({key:`text-segment-${t}`},{ref_for:!0},e.props,{"html-content":e.content+" ",active:t===r.value,id:`text-segment-${t}`}),null,16,["html-content","active","id"])))),128))],512)])],44,vg)),[[s]])}}},jg={name:"Layout",mixins:[Vw,Pw],data:()=>({innerWidth:0}),components:{Reader:Rg,AppPlayerBar:Lh,AppPlayerCard:uh,AppPlayerDrawer:Aw,AppDebug:sl,AppFooter:kc,AppHeader:Id,AppScrollToTop:_u,AppSearch:du},computed:{isMobileWidth:function(){return this.innerWidth<1025},appPlayerCard:()=>Xa.getByName("AppPlayerCardIdentifier",uh),appPlayerBar:()=>Xa.getByName("AppPlayerBarIdentifier",Lh),appPlayerDrawer:()=>Xa.getByName("AppPlayerDrawerIdentifier",Aw),appHeader:()=>Xa.getByName("AppHeaderIdentifier",Id),appFooter:()=>Xa.getByName("AppFooterIdentifier",kc),hasFullscreenPlayer:()=>ph.fullsizePlayer,reader(){return this.$store.getters["reader/show"]}},methods:{...xa("player",["setPlayerDefaultChannelId"]),onResize:function(){this.innerWidth=window.innerWidth}},beforeMount(){if("channels"in window.soylent_settings.child_settings){const e=window.soylent_settings.child_settings.channels.default_channel_id;this.setPlayerDefaultChannelId({channelId:e})}},mounted(){window.addEventListener("resize",this.onResize),this.onResize(),Ow.init()},beforeUnmount(){window.removeEventListener("resize",this.onResize)}},zg=window.Vue.resolveDynamicComponent,$g=window.Vue.openBlock,Ug=window.Vue.createBlock,Fg=window.Vue.resolve
22Component,Hg=window.Vue.createVNode,Gg=window.Vue.createElementVNode,Wg=window.Vue.createCommentVNode,Yg=window.Vue.Transition,qg=window.Vue.withCtx,Kg=window.Vue.Fragment,Jg=window.Vue.createElementBlock,Qg={id:"page",class:"hfeed site"},Zg={id:"main",class:"site-main"},Xg=f(jg,[["render",function(e,t,n,a,i,o){const r=Fg("router-view"),s=Fg("app-scroll-to-top"),l=Fg("app-debug"),c=Fg("Reader"),d=Fg("app-search");return $g(),Jg(Kg,null,[($g(),Ug(zg(o.appHeader))),Gg("div",Qg,[Gg("div",Zg,[Hg(r),Hg(s)]),Hg(l),($g(),Ug(zg(o.appFooter)))]),o.isMobileWidth||o.hasFullscreenPlayer?($g(),Ug(zg(o.appPlayerBar),{key:0})):($g(),Ug(zg(o.appPlayerCard),{key:1})),($g(),Ug(zg(o.appPlayerDrawer))),Hg(Yg,{name:"fade_fast"},{default:qg((()=>[o.reader?($g(),Ug(c,{key:0})):Wg("",!0)])),_:1}),Hg(d),e.hasModal?($g(),Ug(zg(e.getModal),{key:2})):Wg("",!0)],64)}]]),ey=window.Vue.unref,ty=window.Vue.openBlock,ny=window.Vue.createElementBlock,ay=window.Vue.createCommentVNode,iy=window.Vue.createElementVNode,oy={key:0,class:"reader-trigger"},ry=window.Vue.computed;window.Vue.onMounted;const sy={__name:"ReaderTrigger",setup(e){const t=ta(),n=()=>{t.dispatch("reader/showReader")},a=()=>{t.dispatch("reader/showReaderAutoplay")},i=ry((()=>"soylent_settings"in window&&window.soylent_settings.reader_mode||!1));return(e,t)=>i.value?(ty(),ny("div",oy,[ey(R)?ay("",!0):(ty(),ny("button",{key:0,onClick:a,class:"reader-trigger__button iconSet",title:"Anhören","aria-label":"Artikel anhören"}," headphones ")),iy("button",{onClick:n,class:"reader-trigger__button iconSet",title:"Leseansicht","aria-label":"Leseansicht anzeigen"}," chrome_reader_mode ")])):ay("",!0)}},ly=window.Vue.createVNode,cy=window.Vue.normalizeClass,dy=window.Vue.openBlock,uy=window.Vue.createElementBlock,py={__name:"AccessibilityMeta",props:{element:{type:Object}},setup(e){const t=e;return(e,n)=>(dy(),uy("div",{class:cy(["element accessibility-meta","--align-"+t?.element?.data?.align])},[ly(sy)],2))}},hy={name:"SoylentAnchor",props:["element"]},my=window.Vue.createElementVNode,wy=window.Vue.normalizeClass,gy=window.Vue.openBlock,yy=window.Vue.createElementBlock,fy=["id"],_y=f(hy,[["render",function(e,t,n,a,i,o){return gy(),yy("div",{class:wy(["element",n.element.type,n.element.subtype])},[my("div",{id:n.element.data.anchor},null,8,fy)],2)}]]);class by{constructor(e,t,n){const a=e.href||"",i=e.target||"_self";"string"!=typeof a||!a.length||"string"==typeof i&&"_blank"===i||a.indexOf(":")>0&&a.substr(0,t.length)!==t&&["http","https","mailto","tel"].indexOf(a.substr(0,a.indexOf(":")))>=0||e.addEventListener("click",(a=>{a.preventDefault();const i=e.href.substr(t.length);n.push(i).then((()=>{})).catch((()=>{}))}),{passive:!1})}}e("L",by);const vy={name:"SoylentHtml",extends:Si,mounted(){this.$refs.element.querySelectorAll("video.video-js").forEach((e=>{new CMMSPlayer(e)})),this.$refs.element.querySelectorAll("a").forEach((e=>{new by(e,this.$baseUrl,this.$router)}))}},ky=window.Vue.normalizeClass,Sy=window.Vue.openBlock,Ey=window.Vue.createElementBlock,Cy=["innerHTML"],Ay=f(vy,[["render",function(e,t,n,a,i,o){return Sy(),Ey("div",{ref:"element",class:ky(["element",e.element.type,e.element.subtype]),innerHTML:e.element.data.text||""},null,10,Cy)}]]),Vy={name:"SoylentOpenerImage",components:{CmmsResponsiveImage:co},props:["element"]},Py=window.Vue.resolveComponent,Ty=window.Vue.createVNode,xy=window.Vue.normalizeClass,Dy=window.Vue.openBlock,Oy=window.Vue.createElementBlock,Iy=f(Vy,[["render",function(e,t,n,a,i,o){const r=Py("CmmsResponsiveImage");return Dy(),Oy("div",{class:xy(["element",n.element.type,n.element.subtype])},[Ty(r,{fill:!0,image:n.element.data.model},null,8,["image"])],2)}]]),My={name:"SoylentPostKicker",props:["element"]},Ny=window.Vue.toDisplayString,By=window.Vue.normalizeClass,Ly=window.Vue.openBlock,Ry=window.Vue.createElementBlock,jy=f(My,[["render",function(e,t,n,a,i,o){return Ly(),Ry("h2",{class:By(["element",n.element.type,n.element.subtype,"--text-size-s --text-weight-medium"])},Ny(n.element.data.text),3)}]]),zy={name:"SoylentPostTeaser",props:["element"]},$y=window.Vue.normalizeClass,Uy=window.Vue.openBlock,Fy=window.Vue.createElementBlock,Hy=["innerHTML"],Gy=f(zy,[["render",function(e,t,n,a,i,o){return Uy(),Fy("h2",{class:$y(["element",n.element.type,n.element.subtype,"--text-size-l --text-weight-regular"]),innerHTML:n.element.data.text||""},null,10,Hy)}]]),Wy={name:"SoylentSpacer",props:["element"]},Yy=window.Vue.normalizeClass,qy=window.Vue.openBlock,Ky=window.Vue.createElementBlock,Jy=f(Wy,[["render",function(e,t,n,a,i,o){return qy(),Ky("div",{class:Yy(["element",n.element.type,n.element.subtype])},null,2)}]]);function Qy(e,t=!0){const n=[].slice.call(e.querySelectorAll("ins"));if(console.debug("[revive] zones",n),!n.length)return;const a=[];
22n.forEach((e=>{!function(e){e.setAttribute("data-revive-w",window.innerWidth),e.setAttribute("data-revive-h",window.innerHeight)}(e);const t=e.getAttribute("data-revive-id");a.indexOf(t)<0&&a.push(t)})),t&&window.reviveAsync&&a.forEach((e=>{try{window.reviveAsync[e].refresh()}catch(t){}}))}const Zy={name:"SoylentThirdPartyDelivery",props:["element"],computed:{html:function(){return this.element.data.zone||""},elementClass(){if(!this.element)return"";const e=["element",this.element.type,this.element.subtype];return this.element.data.class&&e.push(this.element.data.class),e},neutralMarkup(){return"neutral_markup"in this.element.data&&Boolean(this.element.data.neutral_markup)},minHeightDesktop(){return"min_height_desktop"in this.element.data?this.element.data.min_height_desktop:0},minHeightMobile(){return"min_height_mobile"in this.element.data?this.element.data.min_height_mobile:0},isDisabled(){return"disable_zone"in this.element.data&&Boolean(this.element.data.disable_zone)},minHeight(){return this.innerWidth<1025?this.minHeightMobile:this.minHeightDesktop}},mounted(){window.isDynamicRenderer||this.isDisabled||(this.$refs.container.querySelectorAll("script").forEach((e=>{const t=document.createElement("script");e.src&&(t.src=e.src+"?"+Date.now()),e.async&&(t.async=e.async),e.innerText&&(t.innerText=e.innerText),(!window.reviveAsync||this.html.indexOf("asyncjs.php")<0)&&document.body.appendChild(t)})),Qy(this.$refs.container))}},Xy=window.Vue.normalizeClass,ef=window.Vue.normalizeStyle,tf=window.Vue.openBlock,nf=window.Vue.createElementBlock,af=window.Vue.createCommentVNode,of=["innerHTML"],rf=f(Zy,[["render",function(e,t,n,a,i,o){return o.isDisabled?af("",!0):(tf(),nf("div",{key:0,ref:"container",class:Xy(o.elementClass),innerHTML:o.html,style:ef(`min-height:${o.minHeight}px`)},null,14,of))}]]),sf={name:"CmmsThumbnail",components:{CmmsResponsiveImage:co},props:{image:{type:Object,required:!0},maxHeight:{type:Number,default:0},fill:{type:Boolean,default:!1},zoom:{type:Boolean,default:!1}},computed:{figureStyle:function(){return 0<this.maxHeight?`max-height: ${this.maxHeight}px;`:""}}},lf=window.Vue.resolveComponent,cf=window.Vue.createVNode,df=window.Vue.normalizeClass,uf=window.Vue.createElementVNode,pf=window.Vue.openBlock,hf=window.Vue.createElementBlock,mf=window.Vue.createCommentVNode,wf=window.Vue.normalizeStyle,gf=["innerHTML"],yf=e("f",f(sf,[["render",function(e,t,n,a,i,o){const r=lf("CmmsResponsiveImage");return pf(),hf("figure",{style:wf(o.figureStyle)},[uf("picture",{class:df([n.zoom?"-zoom":""])},[cf(r,{fill:n.fill,image:n.image,"max-height":n.maxHeight,zoom:n.zoom},null,8,["fill","image","max-height","zoom"])],2),n.image.copyright?(pf(),hf("figcaption",{key:0,innerHTML:n.image.copyright},null,8,gf)):mf("",!0)],4)}]])),ff={name:"CmmsPlayer",data:function(){return{playerReference:null,wrapperStyle:"background:black;"}},props:["element"],computed:{hasMediaData(){return!!this.element.data.media_data},containerClass(){let e="videojs-player-container";return this.player.config&&this.player.config.playlist&&(e+=" -with-playlist"),e},playerHtml(){if(!this.hasMediaData)return!1;let e="";return this.player&&this.player.html&&(e=this.player.html),e},player(){let e=null;return this.element.data.media_data.model.player&&(e=this.element.data.media_data.model.player),e},mediaObject(){return this.element.data.media_data}},methods:{initCMMSPlayer:function(){window.CMMSPlayer&&(this.playerReference=new window.CMMSPlayer(document.getElementById(this.player.id)))},initPlayer:function(){this.$nextTick((()=>{this.playerHtml.length&&this.initCMMSPlayer()}))},videoEnded:function(){this.$emit("ended")}},mounted(){this.initPlayer()},beforeUnmount(){if(this.playerReference)try{this.playerReference.destroy()}catch(e){}}},_f=window.Vue.normalizeClass,bf=window.Vue.normalizeStyle,vf=window.Vue.openBlock,kf=window.Vue.createElementBlock,Sf=window.Vue.createCommentVNode,Ef=["innerHTML"],Cf=e("i",f(ff,[["render",function(e,t,n,a,i,o){return o.playerHtml?(vf(),kf("div",{key:0,class:_f(o.containerClass),ref:"playerContainer",style:bf(e.wrapperStyle),innerHTML:o.playerHtml,onEnded:t[0]||(t[0]=(...e)=>o.videoEnded&&o.videoEnded(...e))},null,46,Ef)):Sf("",!0)}]])),Af={name:"SoylentMediaElements",components:{CmmsPlayer:Cf,CmmsThumbnail:yf},props:{element:{type:Object,required:!0},fill:{type:Boolean,default:!1},zoom:{type:Boolean,default:!1}},computed:{usePlayer:function(){if(this.element&&this.element.data.media_data)return["video","videolivestream","audio","audiolivestream","playlist"].includes(this.element.data.media_data.type)},isImage:function(){return!!this.element.data.media_data&&"image"===this.element.data.media_data.type},maxHeight:function(){return parseInt(this.element.data.height||0)},playerComponent:function(){return Xa.getByName("cmmsPlayer",Cf)}}}
22,Vf=window.Vue.resolveComponent,Pf=window.Vue.openBlock,Tf=window.Vue.createBlock,xf=window.Vue.createCommentVNode,Df=window.Vue.resolveDynamicComponent,Of=window.Vue.createElementBlock,If={class:"media-content"},Mf=f(Af,[["render",function(e,t,n,a,i,o){const r=Vf("CmmsThumbnail");return Pf(),Of("div",If,[o.isImage?(Pf(),Tf(r,{key:0,image:n.element.data.media_data.model,"max-height":o.maxHeight,fill:n.fill,zoom:n.zoom},null,8,["image","max-height","fill","zoom"])):o.usePlayer?(Pf(),Tf(Df(o.playerComponent),{key:1,element:n.element},null,8,["element"])):xf("",!0)])}]]),Nf={name:"SoylentMedia",components:{CroppedText:Sp,SoylentMediaElements:Mf},props:["element"],computed:{wrapperClass(){switch(this.element.data.media_data.type){case"image":return"--picture";case"video":case"videolivestream":return"--video";case"audio":case"audiolivestream":return"--audio";case"playlist":return"--playlist"}},usePlayer(){if(this.element)return["video","videolivestream","audio","audiolivestream","playlist"].includes(this.element.data.media_data.type)},maxHeight(){return parseInt(this.element.data.height)},noBackground(){return 1===parseInt(this.element.data.no_background,10)},zoom(){return 1===parseInt(this.element.data.zoom,10)}}},Bf=window.Vue.resolveComponent,Lf=window.Vue.createVNode,Rf=window.Vue.toDisplayString,jf=window.Vue.openBlock,zf=window.Vue.createElementBlock,$f=window.Vue.createCommentVNode,Uf=window.Vue.createBlock,Ff=window.Vue.normalizeClass,Hf={key:0,class:"media__entry"},Gf={key:0,class:"media__entry__title --text-size-l --text-weight-medium"},Wf=f(Nf,[["render",function(e,t,n,a,i,o){const r=Bf("SoylentMediaElements"),s=Bf("CroppedText");return jf(),zf("div",{class:Ff(["element",n.element.type,n.element.subtype,o.wrapperClass,o.noBackground?"--disable-background":""])},[Lf(r,{element:n.element,zoom:o.zoom},null,8,["element","zoom"]),n.element.data.headline||n.element.data.subline?(jf(),zf("div",Hf,[n.element.data.headline?(jf(),zf("div",Gf,Rf(n.element.data.headline),1)):$f("",!0),n.element.data.subline?(jf(),Uf(s,{key:1,class:"media__entry__subline",text:n.element.data.subline,lines:3},null,8,["text"])):$f("",!0)])):$f("",!0)],2)}]]),Yf={name:"SoylentOpenerMedia",components:{SoylentMediaElements:Mf},props:["element"],computed:{media(){try{return this.element.data.media_data.model}catch(e){return null}},usePlayer(){if(this.element)return["video","videolivestream","audio","audiolivestream","playlist"].includes(this.element.data.media_data.type)}}},qf=window.Vue.resolveComponent,Kf=window.Vue.createVNode,Jf=window.Vue.normalizeClass,Qf=window.Vue.openBlock,Zf=window.Vue.createElementBlock,Xf=f(Yf,[["render",function(e,t,n,a,i,o){const r=qf("SoylentMediaElements");return Qf(),Zf("div",{class:Jf(["element",n.element.type,"opener-media",o.usePlayer?"--player":""])},[Kf(r,{element:n.element},null,8,["element"])],2)}]]),e_=e("T","teaser_type_channel"),t_=window.Vue.createElementVNode,n_=window.Vue.openBlock,a_=window.Vue.createElementBlock,i_={class:"transcript"},o_={class:"transcript__content"},r_=["innerHTML"],s_={name:"SoylentRadioAudioChannelTeaserBase",components:{CmmsThumbnail:yf,Transcript:{__name:"Transcript",props:{transcript:{type:Text,required:!0}},setup:e=>(t,n)=>(n_(),a_("details",i_,[n[1]||(n[1]=t_("summary",{class:"transcript__summary"},"Transkript",-1)),t_("section",o_,[t_("div",{class:"transcript__content__scrollcontainer",innerHTML:e.transcript},null,8,r_),n[0]||(n[0]=t_("small",{class:"subtitle-ki-information"},"Transkript wurden automatisiert erstellt",-1))])]))},CmmsResponsiveImage:co,AppPlayerControlPlay:wp,AppPlayerProgress:ip},props:["element"],data:function(){return{}},computed:{...Ta("player",{getChannelData:"channelData"}),label(){},isPlaying(){},channelId(){},audioModel(){},podcastObject(){},backgroundImage(){},isChannelTeaser(){return this.type===e_}},methods:{triggerAudio:function(){}}},l_=window.Vue.resolveComponent,c_=window.Vue.createVNode,d_=window.Vue.openBlock,u_=window.Vue.createElementBlock,p_=window.Vue.createCommentVNode,h_=window.Vue.toDisplayString,m_=window.Vue.createElementVNode,w_=window.Vue.createBlock,g_=window.Vue.normalizeClass,y_=window.Vue.Fragment,f_={class:"audio-teaser__player"},__={class:"audio-teaser__player__main__label"},b_={key:0,class:"audio-teaser__progress"},v_={class:"player-progress__time --duration --text-size-xxs"},k_={key:1,class:"ai-label"},S_=e("H",f(s_,[["render",function(e,t,n,a,i,o){const r=l_("CmmsThumbnail"),s=l_("AppPlayerControlPlay"),l=l_("AppPlayerProgress"),c=l_("Transcript");return d_(),u_(y_,null,[m_("div",{class:g_(["element",n.element.type,"audio-teaser",o.backgroundImage?"--background":"",o.isChannelTeaser?"--channel":"--audio"])},[o.backgroundImage?(d_(),u_("div",{key:0,class:"audio-teaser__background",onClick:t[0]||(t[0]=(...e)=>o.triggerAudio&&o.triggerAudio(...e))},[c_(r,{image:o.backgroundImage},null,8,["image"])])):p_("",!0),m_("div",f_,[m_("div",{class:"audio-teaser__player__main",onClick:t[1]||(t[1]=(...e)=>o.triggerAudio&&o.triggerAudio(...e))},[c_(s,{channelId:o.channelId,"audio-object":o.audioModel,"podcast-object":o.podcastObject,ref:"playButton"},null,8,["channelId","audio-object","podcast-object"]),m_("span",__,h_(o.label),1)]),o.isChannelTeaser?p_("",!0):(d_(),u_("div",b_,[o.isPlaying?(d_(),w_(l,{key:0})):(d_(),u_("div",{key:1,class:"player-progress --placeholder",onClick:t[2]||(t[2]=(...e)=>o.triggerAudio&&o.triggerAudio(...e))},[t[3]||(t[3]=m_("div",{class:"player-progress__time --current --text-size-xxs"},"00:00",-1)),t[4]||(t[4]=m_("div",{class:"player-progress__bar"},[m_("div",{class:"player-progress__bar__background"})],-1)),m_("div",v_,h_(o.audioModel.duration),1)]))]))]),o.audioModel&&o.audioModel?.ai_label?(d_(),u_("span",k_,h_(o.audioModel.ai_label),1)):p_("",!0)],2),!o.isChannelTeaser&&o.audioModel.transcript?(d_(),w_(c,{key:0,transcript:o.audioModel.transcript},null,8,["transcript"])):p_("",!0)],64)}]])),E_=e("q",{name:"SoylentRadioAudioTeaser",extends:S_,data:()=>({type:"teaser_type_audio"}),computed:{...Ta("player",["playerState","currentTrack"]),label(){return"headline"in this.element.data&&""!==this.element.data.headline?this.element.data.headline:"media_title_custom"in this.element.data&&""!==this.element.data.media_title_custom?this.element.data.media_title_custom:this.element.data.audio_data.model.title},audioModel(){return this.element&&"audio_data"in this.element.data?this.element.data.audio_data.model:null},podcastObject(){return this.element&&"podcast"in this.element.data?this.element.data.podcast:null},backgroundImage(){return this.element.data.image_data?this.element.data.image_data.model:this.element.data.audio_data.model.image??null},isPlaying(){return this.currentTrack&&this.currentTrack.id===this.audioModel.post_id}},methods:{triggerAudio:function(){this.$refs.playButton.togglePlayer()}}}),C_={name:"SoylentRadioCta",components:{SoylentLink:Al}
22,props:["element"],computed:{buttonLabel(){return this.useHistoryBack?this.element.data.history_back_text?this.element.data.history_back_text:"zurück":this.element.data.text?this.element.data.text:"Mehr"},blank(){return!!this.element.data._blank},icon(){return this.element.data.selected_icon},icon_position(){return this.element.data.icon_position},classes(){let e=["element",this.element.type,"button"];return this.element.data.display_as_text&&e.push("--text-link"),e},useHistoryBack:function(){return!!(this.element&&this.element.data.history_back&&window.history.length>1)},componentCallback:function(){return!!this.useHistoryBack&&(()=>{this.$router.back()})}}},A_=window.Vue.toDisplayString,V_=window.Vue.openBlock,P_=window.Vue.createElementBlock,T_=window.Vue.createCommentVNode,x_=window.Vue.createElementVNode,D_=window.Vue.resolveComponent,O_=window.Vue.normalizeClass,I_=window.Vue.withCtx,M_=window.Vue.createVNode,N_={class:"button-container"},B_={class:"button__label"},L_={key:0,class:"button__icon iconSet"},R_={class:"button__text --text-size-s"},j_={key:1,class:"button__icon iconSet"},z_=f(C_,[["render",function(e,t,n,a,i,o){const r=D_("soylent-link");return V_(),P_("div",N_,[M_(r,{class:O_(o.classes),url:n.element.data.link,blank:o.blank,callback:o.componentCallback},{default:I_((()=>[x_("span",B_,[o.icon&&"left"===o.icon_position?(V_(),P_("span",L_,A_(o.icon),1)):T_("",!0),x_("span",R_,A_(o.buttonLabel),1),o.icon&&"right"===o.icon_position?(V_(),P_("span",j_,A_(o.icon),1)):T_("",!0)])])),_:1},8,["class","url","blank","callback"])])}]]),$_={name:"SoylentRadioHeadline",props:["element"],computed:{icon(){return this.element?this.element.data.selected_icon:null},headlineInner(){let e="";return this.element&&(e+=this.element.data.text),e},sublineInner(){return this.element?this.element.data.subline:""},elementClass(){return this.element?this.element.type:""},headlineTag(){return this.element&&this.element.data.tag?this.element.data.tag:"h1"}}},U_=window.Vue.openBlock,F_=window.Vue.createElementBlock,H_=window.Vue.createCommentVNode,G_=window.Vue.resolveDynamicComponent,W_=window.Vue.createBlock,Y_=window.Vue.createElementVNode,q_=window.Vue.normalizeClass,K_=["innerHTML"],J_={class:"headline__text"},Q_=["innerHTML"],Z_=e("N",f($_,[["render",function(e,t,n,a,i,o){return U_(),F_("div",{class:q_(["element",o.elementClass,"headline",`--type-${o.headlineTag}`])},[o.icon?(U_(),F_("i",{key:0,class:"iconSet --text-size-xxxl",innerHTML:o.icon},null,8,K_)):H_("",!0),Y_("div",J_,[(U_(),W_(G_(o.headlineTag),{class:"headline__title --text-size-xxxl --text-weight-medium",innerHTML:o.headlineInner},null,8,["innerHTML"])),""!==o.sublineInner?(U_(),F_("span",{key:0,class:"headline__subline --text-size-xl",innerHTML:o.sublineInner},null,8,Q_)):H_("",!0)])],2)}]])),X_={name:"SoylentRadioNowPlaying",extends:f({components:{AppPlayerControlPlay:wp,CmmsResponsiveImage:co},props:["element"],data:()=>({channelPlayed:!1}),computed:{...Ta("player",{getChannelData:"channelData",getDefaultChannelId:"defaultChannelId",getCurrentChannelId:"currentChannelId",currentShow:"currentShow",currentTrack:"currentChannelTrack",channelTrackById:"channelTrackById",trackCover:"trackCover",channels:"channels",playerState:"playerState",playerMode:"playerMode"}),channelId(){return this.channelPlayed?this.getCurrentChannelId:this.element&&this.element.data.channel_id>0?this.element.data.channel_id:this.getDefaultChannelId},currentChannelID(){return this.channelId},channelData(){return this.getChannelData(this.channelId)},showData(){return this.channelData&&this.channelData.show||null},title(){return this.showData&&this.showData.title||null},excerpt(){return this.showData&&this.showData.excerpt||null},showImage(){return this.showData&&this.showData.thumb_id>0?this.showData.image_thumb:null},backgroundImageId(){return this.element.data.media_id},backgroundImage(){return this.backgroundImageId?window.cmms_thumbs_base+`1024x/${this.backgroundImageId}.webp`:this.firstTrackCover},ctaElement:()=>({data:{text:"Jetzt live hören"}}),show_image_url:()=>`${window.cmms_thumbs_base}x200/${state.player.audioObject.image.media_id}.webp`,currentTrackTitle(){return this.channelTrackById(this.channelId)?this.channelTrackById(this.channelId).title:""},currentTrackCover(){return this.currentTrack?this.currentTrack.cover:null},currentTrackInterpret(){return this.channelTrackById?this.channelTrackById(this.channelId).interpret:""},firstTrackCover(){let e=this.trackCover(0,this.channelId);return!e&&this.channelData&&this.channelData.default_cover_id&&null!=this.channelData.default_cover_id&&(e=this.channelData.default_cover_id?window.cmms_thumbs_base+`120x120c/${this.channelData.default_cover_id}.webp`:null),e},isOnAir(){return this.playerMode===ke&&this.getCurrentChannelId===this.channelId}},methods:{...xa("player",["setPlayerChannelId"]),triggerPlayer:function(){this.$refs.playButton.togglePlayer()},selectChannel:function(e){this.setPlayerChannelId({channelId:e,autoplay:!0})}},watch:{playerState:function(e,t){e===ye&&this.playerMode===ke&&(this.channelPlayed=!0)}}},[["render",function(e,t,n,a,i,o){return null}
22]]),methods:{onChannelSelectChange(e){this.selectChannel(e.target.value)}},computed:{showChannels(){return Object.keys(this.channels).length>1}}},eb=window.Vue.normalizeClass,tb=window.Vue.openBlock,nb=window.Vue.createElementBlock,ab=window.Vue.createCommentVNode,ib=window.Vue.toDisplayString,ob=window.Vue.createElementVNode,rb=window.Vue.resolveComponent,sb=window.Vue.createVNode,lb=window.Vue.createBlock,cb=window.Vue.renderList,db=window.Vue.Fragment,ub=["src"],pb={class:"now-playing__overlay"},hb={class:"now-playing__current"},mb={key:0,class:"now-playing__current__show"},wb={class:"--text-size-xxxl --text-weight-medium"},gb={class:"--text-size-xl"},yb={class:"now-playing__showimg"},fb={class:"now-playing__info"},_b={class:"now-playing__info__track"},bb={key:0,class:"now-playing__info__track__onair"},vb={class:"now-playing__info__track__interpret --text-size-xxl --text-weight-medium"},kb={class:"now-playing__info__track__title --text-size-m"},Sb={class:"now-playing__info__channel"},Eb={key:0,class:"now-playing__info__channel__select"},Cb=["value","selected"],Ab={class:"now-playing__info__channel__cover"},Vb={class:"now-playing__info__channel__cover__entry"},Pb=["src"],Tb={class:"now-playing__info__channel__cover__entry"},xb=["src"],Db={class:"now-playing__info__channel__cover__entry"},Ob=["src"],Ib=f(X_,[["render",function(e,t,n,a,i,o){const r=rb("AppPlayerControlPlay"),s=rb("CmmsResponsiveImage");return tb(),nb("div",{class:eb(["element",e.element.type,"now-playing"])},[e.backgroundImage?(tb(),nb("img",{key:0,class:eb(["now-playing__background",e.backgroundImageId?"--background-id":"--background-track"]),src:e.backgroundImage},null,10,ub)):ab("",!0),ob("div",pb,[ob("div",hb,[e.title?(tb(),nb("div",mb,[ob("span",wb,ib(e.title),1),ob("span",gb,ib(e.excerpt),1)])):ab("",!0),ob("div",{class:"now-playing__current__player",onClick:t[0]||(t[0]=(...t)=>e.triggerPlayer&&e.triggerPlayer(...t))},[sb(r,{channelId:e.channelId,ref:"playButton"},null,8,["channelId"]),t[2]||(t[2]=ob("span",{class:"now-playing__current__player__cta --text-weight-bold","data-alttext":"Jetzt live"},[ob("span",null,"Jetzt live hören")],-1))])]),ob("div",yb,[e.showImage?(tb(),lb(s,{key:0,image:e.showImage},null,8,["image"])):ab("",!0)]),ob("div",fb,[ob("div",_b,[e.isOnAir?(tb(),nb("div",bb,[...t[3]||(t[3]=[ob("span",{class:"now-playing__info__track__onair__equalizer"},[ob("span"),ob("span"),ob("span")],-1),ob("span",{class:"now-playing__info__track__onair__label --text-weight-medium"}," on Air ",-1)])])):ab("",!0),ob("span",vb,ib(e.currentTrackInterpret),1),ob("span",kb,ib(e.currentTrackTitle),1)]),ob("div",Sb,[o.showChannels?(tb(),nb("div",Eb,[ob("select",{class:"--text-size-s",onChange:t[1]||(t[1]=e=>o.onChannelSelectChange(e))},[(tb(!0),nb(db,null,cb(e.channels,((t,n,a)=>(tb(),nb("option",{value:n,key:`channel_select_option_${a}`,selected:n===e.channelId},ib(t.label),9,Cb)))),128))],32),t[4]||(t[4]=ob("span",{class:"now-playing__info__channel__select__icon"},null,-1))])):ab("",!0),ob("div",Ab,[ob("div",Vb,[e.firstTrackCover?(tb(),nb("img",{key:0,src:e.firstTrackCover,class:"--first-track"},null,8,Pb)):ab("",!0)]),ob("div",Tb,[e.trackCover(1,e.channelId)?(tb(),nb("img",{key:0,src:e.trackCover(1,e.channelId)},null,8,xb)):ab("",!0)]),ob("div",Db,[e.trackCover(2,e.channelId)?(tb(),nb("img",{key:0,src:e.trackCover(2,e.channelId)},null,8,Ob)):ab("",!0)])])])])])],2)}]]);function Mb(e,t,n="",a="",i=""){return`${window.cmms_thumbs_base}${t}x${n}${a}${i}/${e}.jpg`}const Nb={name:"SoylentRadioPodcastOpener",components:{CmmsResponsiveImage:co},props:["element"],computed:{podcastModel(){return this.element.data&&this.element.data.model?this.element.data.model:null},mediaThumbnailId:function(){try{return this.podcastModel.image.media_id}catch(e){return null}},overlayStyle:function(){return{"background-image":`url(${Mb(this.mediaThumbnailId,128,"","eb_40x20","/f:jpg")})`}},podcastKicker(){return this.podcastModel?this.podcastModel.kicker:""},podcastTeaser(){return this.podcastModel?this.podcastModel.teaser:""},podcastTitle(){return this.podcastModel?this.podcastModel.title:""}}},Bb=window.Vue.normalizeStyle,Lb=window.Vue.createElementVNode,Rb=window.Vue.resolve
22Component,jb=window.Vue.openBlock,zb=window.Vue.createBlock,$b=window.Vue.createCommentVNode,Ub=window.Vue.toDisplayString,Fb=window.Vue.normalizeClass,Hb=window.Vue.createElementBlock,Gb={class:"podcast-opener__content"},Wb={class:"podcast-opener__media"},Yb={class:"podcast-opener__entry"},qb={class:"podcast-opener__kicker"},Kb={class:"podcast-opener__kicker__label --text-size-s"},Jb={class:"podcast-opener__title --text-size-xxl --text-weight-medium"},Qb=["innerHTML"],Zb=f(Nb,[["render",function(e,t,n,a,i,o){const r=Rb("CmmsResponsiveImage");return jb(),Hb("div",{class:Fb(["element",n.element.type,"podcast-opener"])},[Lb("div",{class:"podcast-opener__overlay",style:Bb(o.overlayStyle)},null,4),Lb("div",Gb,[Lb("picture",Wb,[o.podcastModel&&o.podcastModel.image?(jb(),zb(r,{key:0,image:o.podcastModel.image},null,8,["image"])):$b("",!0)]),Lb("span",Yb,[Lb("span",qb,[Lb("span",Kb,Ub(o.podcastKicker),1)]),Lb("span",Jb,Ub(o.podcastTitle),1),Lb("span",{class:"podcast-opener__teaser --text-size-l",innerHTML:o.podcastTeaser},null,8,Qb)])])],2)}]]),Xb={name:"SoylentPostMeta",components:{ReaderTrigger:sy},props:["element"],computed:{authorName:function(){return this.element.data&&this.element.data.author&&this.element.data.author.name?this.element.data.author.name:null},showReader(){return!("hide_reader"in this.element.data&&this.element.data.hide_reader)}}},ev=window.Vue.toDisplayString,tv=window.Vue.openBlock,nv=window.Vue.createElementBlock,av=window.Vue.createCommentVNode,iv=window.Vue.createTextVNode,ov=window.Vue.createElementVNode,rv=window.Vue.resolveComponent,sv=window.Vue.createBlock,lv=window.Vue.normalizeClass,cv={key:0,class:"date"},dv={key:0},uv={key:1},pv={key:2,class:"post-meta__duration"},hv={class:"label"},mv={key:3,class:"zone-label --ai-label --text-size-xxs"},wv={key:4,class:"zone-label --ad-label --text-size-xxs"},gv=f(Xb,[["render",function(e,t,n,a,i,o){const r=rv("ReaderTrigger");return tv(),nv("div",{class:lv(["element",n.element.type,"post-meta"])},[n.element.data.date?(tv(),nv("span",cv,[iv(ev(n.element.data.date)+" ",1),n.element.data.time?(tv(),nv("span",dv,"· "+ev(n.element.data.time)+" Uhr",1)):av("",!0)])):av("",!0),o.authorName?(tv(),nv("span",uv,ev(o.authorName),1)):av("",!0),n.element.data.duration?(tv(),nv("span",pv,[t[0]||(t[0]=ov("span",{class:"iconSet"},"play_circle_outline",-1)),ov("span",hv,ev(n.element.data.duration),1)])):av("",!0),n.element.data.ai_label?(tv(),nv("span",mv,ev(n.element.data.ai_label),1)):av("",!0),n.element.data.show_ad_label?(tv(),nv("span",wv,"Anzeige")):av("",!0),o.showReader?(tv(),sv(r,{key:5})):av("",!0)],2)}]]),yv={name:"SoylentRadioOpenerPosts",props:["element"],components:{CmmsResponsiveImage:co,CroppedText:Sp,SoylentLink:Al},computed:{elements(){return this.element.data.items},mainPost(){return this.elements[0]},teaserPost(){return this.elements.slice(1)}}},fv=window.Vue.resolveComponent,_v=window.Vue.openBlock,bv=window.Vue.createBlock,vv=window.Vue.createCommentVNode,kv=window.Vue.withCtx,Sv=window.Vue.createVNode,Ev=window.Vue.toDisplayString,Cv=window.Vue.createElementVNode,Av=window.Vue.createElementBlock,Vv=window.Vue.renderList,Pv=window.Vue.Fragment,Tv=window.Vue.normalizeClass,xv={class:"opener-posts__main"},Dv={class:"opener-posts__main__news"},Ov={class:"opener-posts__main__news__entry"},Iv={class:"opener-posts__main__news__entry__meta --text-size-s"},Mv={key:0,class:"opener-posts__main__news__entry__meta --text-size-s"},Nv={class:"opener-posts__main__news__entry__headline"},Bv={class:"opener-posts__teaser"},Lv={class:"opener-posts__teaser__news__overlay"},Rv={class:"opener-posts__teaser__news__overlay__meta --text-size-xxs"},jv={class:"opener-posts__teaser__news__overlay__headline --text-size-l --text-weight-medium"},zv=f(yv,[["render",function(e,t,n,a,i,o){const r=fv("CmmsResponsiveImage"),s=fv("soylent-link"),l=fv("CroppedText");return _v(),Av("div",{class:Tv(["element",n.element.type,"opener-posts"])},[Cv("div",xv,[o.mainPost.image?(_v(),bv(r,{key:0,class:"opener-posts__main__background",image:o.mainPost.image,fill:!0,blur:!0},null,8,["image"])):vv("",!0),Cv("div",Dv,[Sv(s,{url:o.mainPost.url,class:"opener-posts__main__news__image"},{default:kv((()=>[o.mainPost.image?(_v(),bv(r,{key:0,image:o.mainPost.image},null,8,["image"])):vv("",!0)])),_:1},8,["url"]),Cv("div",Ov,[Cv("span",Iv,Ev(o.mainPost.date.datetime_txt),1),o.mainPost.kicker?(_v(),Av("span",Mv,Ev(o.mainPost.kicker),1)):vv("",!0),Cv("h3",Nv,Ev(o.mainPost.title),
221),Sv(l,{class:"opener-posts__main__news__entry__content --text-size-l",text:o.mainPost.excerpt,lines:3},null,8,["text"]),Sv(s,{url:o.mainPost.url,class:"button"},{default:kv((()=>[...t[0]||(t[0]=[Cv("span",{class:"button__label"},[Cv("span",{class:"button__icon iconSet"},"notes"),Cv("span",{class:"button__text"},"Weiterlesen")],-1)])])),_:1},8,["url"])])])]),Cv("div",Bv,[(_v(!0),Av(Pv,null,Vv(o.teaserPost,((e,t)=>(_v(),bv(s,{class:"opener-posts__teaser__news",key:`item_${t}`,url:e.url},{default:kv((()=>[e.image?(_v(),bv(r,{key:0,class:"opener-posts__teaser__news__image",image:e.image,fill:!0},null,8,["image"])):vv("",!0),Cv("div",Lv,[Cv("span",Rv,Ev(e.date.datetime_txt),1),Cv("span",jv,Ev(e.title),1)])])),_:2},1032,["url"])))),128))])],2)}]]),$v={name:"ElementHeader",props:["headline","settings"],components:{SoylentRadioHeadline:Z_},computed:{headlineData(){return{data:{tag:"h2",text:this.headline,subline:this.settings.soylentRadio_headline_subline,selected_icon:this.settings.soylentRadio_headline_icon}}}}},Uv=window.Vue.resolveComponent,Fv=window.Vue.openBlock,Hv=window.Vue.createBlock,Gv=f($v,[["render",function(e,t,n,a,i,o){const r=Uv("SoylentRadioHeadline");return Fv(),Hv(r,{element:o.headlineData,class:"element__headline"},null,8,["element"])}]]),Wv={name:"HeaderTools",components:{SoylentLink:Al},computed:{currentData(){return this.$store.getters.currentData?this.$store.getters.currentData:{}},currentTemperature(){if(this.currentData.weather&&this.currentData.weather.length>0)return Math.round(this.currentData.weather[0].temperature)},weatherIcon(){if(this.currentData.weather&&this.currentData.weather.length>0)return this.currentData.weather[0].icon},speedcamAmount(){if(this.currentData.speedcams&&this.currentData.speedcams.amount>0)return this.currentData.speedcams.amount},trafficAmount(){if(this.currentData.traffic&&this.currentData.traffic.amount>0)return this.currentData.traffic.amount},weatherUrl(){let e=null;try{e=window.soylent_settings.child_settings.header_pages.weather}catch(t){}return e},trafficUrl(){let e=null;try{e=window.soylent_settings.child_settings.header_pages.traffic}catch(t){}return e}},methods:{closeMenu:function(){this.$store.dispatch("closeMenu")}}},Yv=window.Vue.createElementVNode,qv=window.Vue.toDisplayString,Kv=window.Vue.openBlock,Jv=window.Vue.createElementBlock,Qv=window.Vue.createCommentVNode,Zv=window.Vue.resolveComponent,Xv=window.Vue.withCtx,ek=window.Vue.createBlock,tk=window.Vue.normalizeClass,nk={class:"header-tools"},ak={key:0,class:"header-tools__item__label --highlight"},ik={key:0,class:"header-tools__item__label --highlight"},ok={key:0,class:"header-tools__item__label --text-weight-medium"},rk=f(Wv,[["render",function(e,t,n,a,i,o){const r=Zv("soylent-link");return Kv(),Jv("div",nk,[o.trafficUrl?(Kv(),ek(r,{key:0,onClick:o.closeMenu,url:o.trafficUrl,title:"Blitzer","aria-label":"Blitzer",class:"header-tools__item --speedcam"},{default:Xv((()=>[t[0]||(t[0]=Yv("span",{class:"header-tools__item__icon iconSet"},"videocam",-1)),o.speedcamAmount?(Kv(),Jv("span",ak,qv(o.speedcamAmount),1)):Qv("",!0)])),_:1},8,["onClick","url"])):Qv("",!0),o.trafficUrl?(Kv(),ek(r,{key:1,onClick:o.closeMenu,url:o.trafficUrl,title:"Verkehrsmeldungen","aria-label":"Verkehrsmeldungen",class:"header-tools__item --traffic"},{default:Xv((()=>[t[1]||(t[1]=Yv("span",{class:"header-tools__item__icon iconSet"},"directions_car",-1)),o.trafficAmount?(Kv(),Jv("span",ik,qv(o.trafficAmount),1)):Qv("",!0)])),_:1},8,["onClick","url"])):Qv("",!0),o.weatherUrl?(Kv(),ek(r,{key:2,onClick:o.closeMenu,url:o.weatherUrl,title:"Wetter","aria-label":"Wetter",class:"header-tools__item --weather"},{default:Xv((()=>[Yv("span",{class:tk(["header-tools__item__icon  wi",o.weatherIcon])},null,2),o.currentTemperature?(Kv(),Jv("span",ok,qv(o.currentTemperature)+"° ",1)):Qv("",!0)])),_:1},8,["onClick","url"])):Qv("",!0)])}]]);class sk{id=null;image=null;postType="";isAction=!1;category=null;icon="";date="";duration="";kicker="";title="";description="";excerpt="";url="";isAd=!1;timestamp=null}e("E",sk);const lk={name:"PostShortcut",components:{SoylentLink:Al,CmmsResponsiveImage:co,CroppedText:Sp},data:()=>({element:null}),props:{model:{type:sk,default:null},post:{type:Object,default:null},showCategory:{type:Boolean,default:!1},addActionClass:{type:Boolean,default:!1}},computed:{getDate(){let e=this.element.date.datetime_txt;return"post"!==this.element.postType&&"cmms_media"!==this.element.postType&&"galerie"!==this.element.postType||(e={begin:this.$filters.padLeft(this.element.date.d),end:". "+this.element.date.m_txt+" "+this.element.date.y+" "+this.element.date.time_txt}),e},dateEnd(){return this.getDate?this.getDate.end:""},duration(){return this.element.duration},getIcon(){let e=null;return"cmms_media"===this.element.postType?e="play_arrow":"post"===this.element.postType?e="notes":"galerie"===this.element.postType&&(e="collections"),e},isAction(){return!!this.element&&this.element.isAction},getUrl(){return this.element?this.element.url:""}},mounted(){null===this.element&&null!==this.post?(this.element=new sk,this.element.postType=this.post.post_type,this.element.date=this.post.date,this.element.title=this.post.title,this.element.kicker=this.post.kicker,this.element.url=this.post.url,this.element.image=this.post.image,this.element.isAction=!1,this.element.isAd=this.post.show_ad_label,this.post.excerpt&&this.post.excerpt.length>0?this.element.excerpt=this.post.excerpt:this.post.teaser&&this.post.teaser.length>0&&(this.element.excerpt=this.post.teaser),this.post.duration&&(this.element.duration=this.post.duration),"categories"in this.post?this.element.category=this.post.categories.length>0?this.post.categories[0].name:null:this.element.category=null):this.element=this.model}}
22,ck=window.Vue.resolveComponent,dk=window.Vue.openBlock,uk=window.Vue.createBlock,pk=window.Vue.createCommentVNode,hk=window.Vue.createElementBlock,mk=window.Vue.createElementVNode,wk=window.Vue.toDisplayString,gk=window.Vue.createTextVNode,yk=window.Vue.createVNode,fk=window.Vue.normalizeClass,_k=window.Vue.withCtx,bk={key:0,class:"post-shortcut__thumbnail"},vk={key:1,class:"post-shortcut__entry"},kk={key:0,class:"post-shortcut__entry__category --text-size-xxs"},Sk={key:1,class:"post-shortcut__entry__meta"},Ek={key:0,class:"post-shortcut__entry__meta__label --text-size-xxs"},Ck={key:0,class:"iconSet --text-size-s"},Ak={key:1,class:"--text-weight-medium"},Vk={key:2,class:"post-shortcut__entry__meta__label__duration"},Pk={key:1,class:"post-shortcut__entry__meta__zone-label --text-size-xxs"},Tk={key:2,class:"post-shortcut__entry__kicker --text-size-xs"},xk={class:"post-shortcut__entry__title --text-size-l --text-weight-medium"},Dk=e("P",f(lk,[["render",function(e,t,n,a,i,o){const r=ck("CmmsResponsiveImage"),s=ck("CroppedText"),l=ck("soylent-link");return dk(),uk(l,{class:fk(["post-shortcut",n.addActionClass?"--action":""]),url:o.getUrl},{default:_k((()=>[i.element?(dk(),hk("span",bk,[i.element.image?(dk(),uk(r,{key:0,image:i.element.image,fill:!0},null,8,["image"])):pk("",!0)])):pk("",!0),i.element?(dk(),hk("span",vk,[t[0]||(t[0]=mk("span",{class:"post-shortcut__entry__hover"},null,-1)),!o.isAction&&i.element.category&&n.showCategory?(dk(),hk("span",kk,wk(i.element.category),1)):pk("",!0),o.isAction&&i.element.isAd||!o.isAction&&o.getDate?(dk(),hk("span",Sk,[o.isAction?pk("",!0):(dk(),hk("span",Ek,[o.getIcon?(dk(),hk("span",Ck,wk(o.getIcon),1)):pk("",!0),o.getDate?(dk(),hk("span",Ak,wk(o.getDate.begin),1)):pk("",!0),gk(" "+wk(o.dateEnd)+" ",1),o.duration?(dk(),hk("span",Vk," · "+wk(o.duration),1)):pk("",!0)])),i.element.isAd?(dk(),hk("span",Pk,"Anzeige")):pk("",!0)])):pk("",!0),i.element.kicker?(dk(),hk("span",Tk,wk(i.element.kicker),1)):pk("",!0),mk("span",xk,wk(i.element.title),1),yk(s,{tag:"span",class:"post-shortcut__entry__description",text:i.element.excerpt,lines:4},null,8,["text"])])):pk("",!0)])),_:1},8,["class","url"])}]])),Ok={name:"IdvlEditorSlot",extends:Ui,computed:{hasHeadline:function(){return!(!this.element.slot_settings.soylent_headline&&!this.element.slot_settings.soylentRadio_headline_subline)}}},Ik=window.Vue.resolveDynamicComponent,Mk=window.Vue.openBlock,Nk=window.Vue.createBlock,Bk=window.Vue.createCommentVNode,Lk=window.Vue.normalizeClass,Rk=window.Vue.createElementBlock,jk=f(Ok,[["render",function(e,t,n,a,i,o){return Mk(),Rk("div",{class:Lk(["slot",e.slotClasses])},[o.hasHeadline?(Mk(),Nk(Ik(e.elementHeader),{key:0,headline:e.slotHeadline,settings:e.element.slot_settings},null,8,["headline","settings"])):Bk("",!0),e.element.type?(Mk(),Nk(Ik(e.elementComponent),{element:e.element,key:e.elementKey},null,8,["element"])):Bk("",!0)],2)}]]),zk=window.Vue.defineAsyncComponent,$k={player:Js};Object.keys($k).forEach((e=>{$a.registerModule(e,$k[e])})),d.set(Xg),Ii.set({SoylentAccessibilityMeta:py,SoylentAnchor:_y,SoylentHtml:Ay,SoylentOpenerImage:Iy,SoylentPostKicker:jy,SoylentPostTeaser:Gy,SoylentShare:zk((()=>Ji((()=>t.import("./Share-legacy.js")),void 0))),SoylentSpacer:Jy,SoylentThirdPartyDelivery:rf,SoylentActionCalendar:zk((()=>Ji((()=>t.import("./ActionCalendar-legacy.js")),void 0))),SoylentCrawl:zk((()=>Ji((()=>t.import("./Crawl-legacy.js")),void 0))),SoylentEventMeta:zk((()=>Ji((()=>t.import("./EventMeta-legacy.js")),void 0))),SoylentEvents:zk((()=>Ji((()=>t.import("./Events-legacy.js")),void 0))),SoylentFeatureCta:zk((()=>Ji((()=>t.import("./FeatureCta-legacy.js")),void 0))),SoylentForm:zk((()=>Ji((()=>t.import("./Form-legacy.js")),void 0))),SoylentGallery:zk((()=>Ji((()=>t.import("./Gallery-legacy.js")),void 0))),SoylentGalleryShortcutList:zk((()=>Ji((()=>t.import("./GalleryShortcutList-legacy.js")),void 0))),SoylentHeadline:zk((()=>Ji((()=>t.import("./Headline-legacy.js")),void 0))),SoylentInPageNavigation:zk((()=>Ji((()=>t.import("./InPageNavigation-legacy.js")),void 0))),SoylentJobGrid:zk((()=>Ji((()=>t.import("./JobGrid-legacy.js")),void 0))),SoylentLastVideo:zk((()=>Ji((()=>t.import("./LastVideo-legacy.js")),void 0))),SoylentLine:zk((()=>Ji((()=>t.import("./Line-legacy.js")),void 0))),SoylentLogoSlider:zk((()=>Ji((()=>t.import("./LogoSlider-legacy.js")),void 0))),SoylentMap:zk((()=>Ji((()=>t.import("./Map-legacy.js")),void 0))),SoylentMediaLink:zk((()=>Ji((()=>Promise.resolve().then((()=>uS))),void 0))),SoylentParallax:zk((()=>Ji((()=>t.import("./Parallax-legacy.js")),void 0))),SoylentPoll:zk((()=>Ji((()=>t.import("./Poll-legacy.js")),void 0))),SoylentPostShortcutList:zk((()=>Ji((()=>t.import("./PostShortcutList-legacy.js")),void 0))),SoylentRelatedContents:zk((()=>Ji((()=>t.import("./RelatedContents-legacy.js")),void 0))),SoylentScheduleDetail:zk((()=>Ji((()=>t.import("./ScheduleDetail-legacy.js")),void 0))),SoylentScheduleWidget:zk((()=>Ji((()=>Promise.resolve().then((()=>dC))),void 0))),SoylentShowToolbar:zk((()=>Ji((()=>t.import("./ShowToolbar-legacy.js")),void 0))),SoylentAuthor:zk((()=>Ji((()=>t.import("./Author-legacy.js")),void 0))),SoylentJobMeta:zk((()=>Ji((()=>t.import("./JobMeta-legacy.js")),void 0))),SoylentMedia:Wf,SoylentOpenerMedia:Xf,SoylentTeamMember:zk((()=>Ji((()=>t.import("./TeamMember-legacy.js")),void 0))),SoylentTermList:zk((()=>Ji((()=>t.import("./TermList-legacy.js")),void 0))),SoylentSocialEmbed:zk((()=>Ji((()=>t.import("./SocialEmbed-legacy.js")),void 0))),SoylentRadioAudioTeaser:E_,SoylentRadioCtaButton:z_,SoylentRadioHeadline:Z_,SoylentRadioNowPlaying:Ib,SoylentRadioPodcastOpener:Zb,SoylentRadioOpenerPosts:zv,SoylentPostMeta:gv,SoylentRadioActions:zk((()=>Ji((()=>t.import("./Actions-legacy.js")),void 0))),SoylentRadioChannelSlider:zk((()=>Ji((()=>t.import("./ChannelSlider-legacy.js")),void 0))),SoylentRadioChannelTeaser:zk((()=>Ji((()=>
22t.import("./ChannelTeaser-legacy.js")),void 0))),SoylentRadioPlaylistWidget:zk((()=>Ji((()=>t.import("./PlaylistWidget-legacy.js")),void 0))),SoylentRadioPodcastEpisodes:zk((()=>Ji((()=>t.import("./PodcastEpisodes-legacy.js")),void 0))),SoylentRadioPodcastGrid:zk((()=>Ji((()=>t.import("./PodcastGrid-legacy.js")),void 0))),SoylentRadioPodcastTeaser:zk((()=>Ji((()=>t.import("./PodcastTeaser-legacy.js")),void 0))),SoylentRadioPostGrid:zk((()=>Ji((()=>Promise.resolve().then((()=>QS))),void 0))),SoylentRadioPromoSlider:zk((()=>Ji((()=>Promise.resolve().then((()=>$E))),void 0))),SoylentRadioSongSearch:zk((()=>Ji((()=>t.import("./SongSearch-legacy.js")),void 0))),SoylentRadioTeam:zk((()=>Ji((()=>t.import("./Team-legacy.js")),void 0))),SoylentRadioTopFivePosts:zk((()=>Ji((()=>t.import("./TopFivePosts-legacy.js")),void 0))),SoylentRadioTraffic:zk((()=>Ji((()=>t.import("./Traffic-legacy.js")),void 0))),SoylentRadioTrafficMap:zk((()=>Ji((()=>t.import("./TrafficMap-legacy.js")),void 0))),SoylentRadioTrafficWidget:zk((()=>Ji((()=>t.import("./TrafficWidget-legacy.js")),void 0))),SoylentRadioWeather:zk((()=>Ji((()=>t.import("./Weather-legacy.js")),void 0))),SoylentRadioWeatherWidget:zk((()=>Ji((()=>t.import("./WeatherWidget-legacy.js")),void 0))),SoylentRadioGalleryTeaser:zk((()=>Ji((()=>t.import("./GalleryTeaser-legacy.js")),void 0))),SoylentStructuredForm:zk((()=>Ji((()=>t.import("./StructuredForm-legacy.js").then((e=>e.S))),void 0)))}),Xa.set({elementHeader:Gv,eventFilter:zk((()=>Ji((()=>t.import("./EventFilter-legacy.js")),void 0))),headerTools:rk,editorSlot:jk,postShortcut:Dk}),ph.fullsizePlayer=!1;const Uk=e("B",768),Fk={name:"SoylentMediaLink",components:{CmmsResponsiveImage:co,CroppedText:Sp,CmmsThumbnail:yf},props:["element"],computed:{noMeta:function(){return this.element.data.noTitle&&this.element.data.noDate},showTitle:function(){return(this.element.data.headline||this.element.data.subline)&&0===this.element.data.noTitle},image:function(){if(this.element.data)return this.element.data.model.image},imageModel(){return this.element.data?this.isMobile&&this.element.data.media_data_fallback?this.element.data.media_data_fallback.model:this.element.data.model.image:null},height:function(){return this.element.data.height},hasFallbackMedia(){return null!==this.element.data.media_data_fallback},style:function(){return this.imageModel?1===this.element.data.autoheight||this.isMobile&&this.hasFallbackMedia?`padding-top: ${this.imageModel.height/this.imageModel.width*100}%;`:""===this.height?"padding-top: 56.25%;":`padding-top: ${this.height}px;`:""},isMobile:()=>window.innerWidth<Uk}},Hk=window.Vue.resolveComponent,Gk=window.Vue.openBlock,Wk=window.Vue.createBlock,Yk=window.Vue.createCommentVNode,qk=window.Vue.normalizeStyle,Kk=window.Vue.createElementVNode,Jk=window.Vue.toDisplayString,Qk=window.Vue.createTextVNode,Zk=window.Vue.createElementBlock,Xk=window.Vue.withCtx,eS=window.Vue.createVNode,tS=window.Vue.normalizeClass,nS={key:0,class:"overlay"},aS={class:"overlay-wrapper"},iS={key:0,class:"meta --text-size-xxs"},oS={class:"date --text-weight-medium"},rS={class:"time"},sS={key:0,class:"duration --text-weight-medium"},lS={key:1,class:"title --text-size-m --text-weight-medium"},cS={key:1,class:"icon"},dS=f(Fk,[["render",function(e,t,n,a,i,o){const r=Hk("CmmsResponsiveImage"),s=Hk("CroppedText"),l=Hk("router-link");return Gk(),Zk("div",{class:tS(["element",n.element.type,n.element.subtype,0!==n.element.data.noZoom?"no-zoom":"",o.imageModel?"":"no-image"])},[eS(l,{href:n.element.data.link,to:e.$routerLink(n.element.data.link),target:!!n.element.data._blank&&"_blank"},{default:Xk((()=>[Kk("span",{class:"thumbnail",style:qk(o.style)},[o.imageModel?(Gk(),Wk(r,{key:0,fill:!0,image:o.imageModel},null,8,["image"])):Yk("",!0)],4),o.noMeta?Yk("",!0):(Gk(),Zk("span",nS,[Kk("span",aS,[0===n.element.data.noDate?(Gk(),Zk("span",iS,[Kk("span",oS,[t[0]||(t[0]=Kk("em",{class:"iconSet"},"today",-1)),Qk(" "+Jk(e.$filters.date.dayMonth(n.element.data.model.date)),1)]),Kk("span",rS,Jk(n.element.data.model.date.time_txt),1),n.element.data.model.duration?(Gk(),Zk("span",sS,[t[1]||(t[1]=Kk("em",{class:"iconSet"},"schedule",-1)),Qk(" "+Jk(n.element.data.model.duration),1)])):Yk("",!0)])):Yk("",!0),o.showTitle?(Gk(),Zk("span",lS,Jk(n.element.data.headline),1)):Yk("",!0),o.showTitle&&n.element.data.subline?(Gk(),Wk(s,{key:2,class:"excerpt --text-size-s",tag:"span",text:n.element.data.subline,lines:2},null,8,["text"])):Yk("",!0)])])),o.noMeta?Yk("",!0):(Gk(),Zk("span",cS,[...t[2]||(t[2]=[Kk("span",{class:"iconSet"},"chevron_right",-1)])]))])),_:1},8,["href","to","target"])],2)}]]),uS=Object.freeze(Object.defineProperty({__proto__:null,default:dS},Symbol.toStringTag,{value:"Module"})),pS={name:"SoylentOpenerMedia",components:{SoylentMediaElements:Mf}
22,props:["element"],computed:{media:function(){try{return this.element.data.media_data.model}catch(e){return null}},mediaThumbnailId:function(){try{return this.element.data.media_data.model.image.media_id}catch(e){try{return this.element.data.media_data.model.media_id}catch(e){return this.element.data.media_id}}},overlayStyle:function(){return{"background-image":`url(${Mb(this.mediaThumbnailId,128,"","eb_40x20","/f:jpg")})`}},usePlayer:function(){if(this.element)return["video","videolivestream","audio","audiolivestream","playlist"].includes(this.element.data.media_data.type)}}},hS=window.Vue.normalizeStyle,mS=window.Vue.createElementVNode,wS=window.Vue.resolveComponent,gS=window.Vue.createVNode,yS=window.Vue.normalizeClass,fS=window.Vue.openBlock,_S=window.Vue.createElementBlock,bS=f(pS,[["render",function(e,t,n,a,i,o){const r=wS("SoylentMediaElements");return fS(),_S("div",{class:yS(["element",n.element.type,n.element.subtype,o.usePlayer?"--player":""])},[mS("div",{class:"overlay",style:hS(o.overlayStyle)},null,4),gS(r,{element:n.element},null,8,["element"])],2)}]]),vS={name:"PostTicker",components:{SoylentLink:Al},props:["elements"]},kS=window.Vue.renderList,SS=window.Vue.Fragment,ES=window.Vue.openBlock,CS=window.Vue.createElementBlock,AS=window.Vue.toDisplayString,VS=window.Vue.createElementVNode,PS=window.Vue.createTextVNode,TS=window.Vue.createCommentVNode,xS=window.Vue.resolveComponent,DS=window.Vue.withCtx,OS=window.Vue.createBlock,IS={class:"post-ticker"},MS={class:"post-ticker__item__meta"},NS={class:"--text-weight-medium"},BS={key:0,class:"post-ticker__item__kicker --text-size-s"},LS={class:"post-ticker__item__title --text-size-xxl --text-weight-bold"},RS=f(vS,[["render",function(e,t,n,a,i,o){const r=xS("soylent-link");return ES(),CS("div",IS,[(ES(!0),CS(SS,null,kS(n.elements,(t=>(ES(),OS(r,{url:t.url,class:"post-ticker__item",key:t.post_id},{default:DS((()=>[VS("span",MS,[VS("span",NS,AS(e.$filters.padLeft(t.date.d)),1),PS(" "+AS(t.date.m_txt)+" · "+AS(t.date.time_txt)+" Uhr ",1)]),t.kicker?(ES(),CS("span",BS,AS(t.kicker),1)):TS("",!0),VS("span",LS,AS(t.title),1)])),_:2},1032,["url"])))),128))])}]]),jS={name:"SoylentRadioPostGrid",components:{PostShortcut:Dk,PostTicker:RS},props:["element"],computed:{teaser(){return!(!("start_with_teaser"in this.element.data)||!this.element.data.start_with_teaser)},showPostTicker(){return!(!("show_as_post_list"in this.element.data)||!this.element.data.show_as_post_list)},postShortcutComponent:()=>Xa.getByName("postShortcut",Dk),postTickerComponent:()=>Xa.getByName("postTicker",RS),gridItemCount(){return this.teaser?2:3},gridItems(){return this.showPostTicker&&this.element.data.items.length>this.gridItemCount?this.element.data.items.slice(0,this.gridItemCount):this.element.data.items},postTickerItems(){return this.showPostTicker&&this.element.data.items.length>this.gridItemCount?this.element.data.items.slice(this.gridItemCount):[]},showCategory(){return!!this.element&&this.element.data.show_category}}},zS=window.Vue.renderList,$S=window.Vue.Fragment,US=window.Vue.openBlock,FS=window.Vue.createElementBlock,HS=window.Vue.resolveDynamicComponent,GS=window.Vue.createBlock,WS=window.Vue.createElementVNode,YS=window.Vue.createCommentVNode,qS=window.Vue.normalizeClass,KS={class:"post-shortcuts -col-3"},JS=f(jS,[["render",function(e,t,n,a,i,o){return US(),FS("div",{class:qS(["element",n.element.type,"post-grid",o.teaser?"--with-teaser":""])},[WS("div",KS,[(US(!0),FS($S,null,zS(o.gridItems,(e=>(US(),GS(HS(o.postShortcutComponent),{post:e,key:e.post_id,showCategory:o.showCategory},null,8,["post","showCategory"])))),128))]),o.postTickerItems.length>0?(US(),GS(HS(o.postTickerComponent),{key:0,elements:o.postTickerItems},null,8,["elements"])):YS("",!0)],2)}]]),QS=Object.freeze(Object.defineProperty({__proto__:null,default:JS},Symbol.toStringTag,{value:"Module"})),ZS={extends:JS},XS=window.Vue.renderList,eE=window.Vue.Fragment,tE=window.Vue.openBlock,nE=window.Vue.createElementBlock,aE=window.Vue.resolveDynamicComponent,iE=window.Vue.createBlock,oE=window.Vue.createElementVNode,rE=window.Vue.createCommentVNode,sE=window.Vue.normalizeClass,lE={class:"post-shortcuts -col-3"},cE=f(ZS,[["render",function(e,t,n,a,i,o){return tE(),nE("div",{class:sE(["element",e.element.type,"post-grid",e.teaser?"--with-teaser":"",e.element?.data?.highlight_teaser?"--highlight-teaser":""])},[oE("div",lE,[(tE(!0),nE(eE,null,XS(e.gridItems,(t=>(tE(),iE(aE(e.postShortcutComponent),{post:t,key:t.post_id,showCategory:e.showCategory},null,8,["post","showCategory"])))),128))]),e.postTickerItems.length>0?(tE(),iE(aE(e.postTickerComponent),{key:0,elements:e.postTickerItems},null,8,["elements"])):rE("",!0)],2)}]]),dE={name:"SliderWrapper",mixins:[nm],data:()=>({sliderType:tm})}
22,uE=window.Vue.renderSlot,pE=window.Vue.normalizeClass,hE=window.Vue.openBlock,mE=window.Vue.createElementBlock,wE=window.Vue.createCommentVNode,gE=window.Vue.createElementVNode,yE=window.Vue.Fragment,fE=["slides-per-view","breakpoints","loop","free-mode","autoplay","height","centeredSlides","space-between","pagination","slideToClickedSlide","modules"],_E=["disabled"],bE={key:0,class:"swiper__controls__pagination",ref:"pagination_container"},vE=["disabled"],kE={name:"SoylentRadioPromoSlider",components:{SoylentLink:Al,SliderWrapper:e("F",f(dE,[["render",function(e,t,n,a,i,o){return hE(),mE(yE,null,[e.rendered?(hE(),mE("swiper-container",{key:0,ref:"swiperEl","slides-per-view":e.optionSlidesPerView,breakpoints:e.optionBreakpoints,loop:e.optionLoop,"free-mode":e.optionFree,autoplay:e.optionAutoplay,height:e.optionHeight,centeredSlides:e.centeredSlides,"space-between":e.optionSpaceBetween,"watch-overflow":!0,observer:!0,keyboard:!0,pagination:e.getPagination,observeParents:!0,slideToClickedSlide:e.optionClickToSlide,class:pE(e.swiperInnerClassNames),onAfterinit:t[0]||(t[0]=(...t)=>e.initSwiper&&e.initSwiper(...t)),onSlidechange:t[1]||(t[1]=(...t)=>e.onSlideChange&&e.onSlideChange(...t)),onAutoplaytimeleft:t[2]||(t[2]=(...t)=>e.onAutoplayTimeLeft&&e.onAutoplayTimeLeft(...t)),"on:reachEnd":t[3]||(t[3]=(...t)=>e.updateButtons&&e.updateButtons(...t)),onObserverupdate:t[4]||(t[4]=(...t)=>e.onOberverUpdate&&e.onOberverUpdate(...t)),onResize:t[5]||(t[5]=(...t)=>e.onDefaultEvent&&e.onDefaultEvent(...t)),"on:reachBeginning":t[6]||(t[6]=(...t)=>e.onDefaultEvent&&e.onDefaultEvent(...t)),modules:e.modules},[uE(e.$slots,"default")],42,fE)):wE("",!0),e.hideNavigation?wE("",!0):(hE(),mE("div",{key:1,class:pE(["swiper__controls",e.swiperControlsClassNames]),ref:"swiper_container"},[gE("button",{onClick:t[7]||(t[7]=(...t)=>e.prev&&e.prev(...t)),class:pE(["swiper__controls__item","--prev",e.prevEnabled?"":"--disabled"]),disabled:!e.prevEnabled,ref:"swiper_prev"},[...t[9]||(t[9]=[gE("span",{class:"iconSet"},"chevron_left",-1)])],10,_E),e.showBullets?(hE(),mE("div",bE,null,512)):wE("",!0),gE("button",{onClick:t[8]||(t[8]=(...t)=>e.next&&e.next(...t)),class:pE(["swiper__controls__item","--next",e.nextEnabled?"":"--disabled"]),disabled:!e.nextEnabled,ref:"swiper_next"},[...t[10]||(t[10]=[gE("span",{class:"iconSet"},"chevron_right",-1)])],10,vE)],2))],64)}]])),SwiperSlide:Em,CmmsResponsiveImage:co},props:["element"],data:function(){return{breakpoints:{320:{slidesPerView:1,spaceBetween:16}}}},computed:{elements(){return this.element?this.element.data.items:[]},hasOverlay(){return 1===parseInt(this.element.data.show_overlay,10)},autoplay:function(){return 1===this.element.data.autoplay},autoplayInterval:function(){return parseInt(this.element.data.autoplay_interval,10)}},methods:{getMediaModel:function(e){return e&&e.image?e.image:null},getLink:function(e){return e?e.url||"#":null}}},SE=window.Vue.renderList,EE=window.Vue.Fragment,CE=window.Vue.openBlock,AE=window.Vue.createElementBlock,VE=window.Vue.resolveComponent,PE=window.Vue.createVNode,TE=window.Vue.createElementVNode,xE=window.Vue.createCommentVNode,DE=window.Vue.toDisplayString,OE=window.Vue.normalizeClass,IE=window.Vue.withCtx,ME=window.Vue.createBlock,NE={key:0,class:"promo-slider__card__media"},BE={key:1,class:"promo-slider__card__entry"},LE={key:0,class:"promo-slider__card__entry__zone-label"},RE={key:1,class:"promo-slider__card__entry__kicker --text-size-xl"},jE={class:"promo-slider__card__entry__title --text-size-xxxl --text-weight-bold"},zE=f(kE,[["render",function(e,t,n,a,i,o){const r=VE("CmmsResponsiveImage"),s=VE("soylent-link"),l=VE("SwiperSlide"),c=VE("SliderWrapper");return CE(),AE("div",{class:OE(["element","swiper",n.element.type,"promo-slider"])},[PE(c,{breakpoints:e.breakpoints,"show-bullets":!0,autoplay:o.autoplay,"autoplay-interval":o.autoplayInterval,"centered-slides":"",loop:""},{default:IE((()=>[(CE(!0),AE(EE,null,SE(o.elements,((e,t)=>(CE(),ME(l,{key:`slider_item_${t}`},{default:IE((()=>[PE(s,{class:OE(["promo-slider__card",o.hasOverlay?"":"--media-only",o.getMediaModel(e)?"":"--no-image"]),url:o.getLink(e)},{default:IE((()=>
22[o.getMediaModel(e)?(CE(),AE("span",NE,[TE("picture",null,[PE(r,{image:o.getMediaModel(e),fill:!0},null,8,["image"])])])):xE("",!0),o.hasOverlay||!o.getMediaModel(e)?(CE(),AE("span",BE,[e.show_ad_label?(CE(),AE("span",LE,"Anzeige")):xE("",!0),e.kicker?(CE(),AE("span",RE,DE(e.kicker),1)):xE("",!0),TE("span",jE,DE(e.title),1)])):xE("",!0)])),_:2},1032,["class","url"])])),_:2},1024)))),128))])),_:1},8,["breakpoints","autoplay","autoplay-interval"])],2)}]]),$E=Object.freeze(Object.defineProperty({__proto__:null,default:zE},Symbol.toStringTag,{value:"Module"})),UE={extends:zE,data:function(){return{breakpoints:{0:{slidesPerView:1,spaceBetween:0},960:{slidesPerView:1.15,spaceBetween:0},1920:{slidesPerView:1.5,spaceBetween:0}}}}},FE={name:"SoylentScheduleWidget",components:{SoylentLink:Al},props:["element"],data:()=>({dayNamePrefixes:["sun","mon","tue","wed","thu","fri","sat"]}),computed:{isExternal(){return"external"in this.element.data&&!0===this.element.data.external},getTargetBlank(){return this.isExternal}},methods:{getAnchor(e){return this.dayNamePrefixes[(new Date).getDay()]+"-"+e.from.replace(":","_")},getLink(e){return!0===this.isExternal?`${this.element.data.url}#${this.getAnchor(e)}`:this.$routerLink(`${this.element.data.url}#${this.getAnchor(e)}`)}}},HE=window.Vue.toDisplayString,GE=window.Vue.createTextVNode,WE=window.Vue.resolveComponent,YE=window.Vue.withCtx,qE=window.Vue.createVNode,KE=window.Vue.openBlock,JE=window.Vue.createElementBlock,QE=window.Vue.createCommentVNode,ZE=window.Vue.renderList,XE=window.Vue.Fragment,eC=window.Vue.createElementVNode,tC=window.Vue.createBlock,nC=window.Vue.normalizeClass,aC={key:0},iC={class:"entries"},oC={class:"time"},rC={class:"label"},sC={class:"title"},lC={class:"label"},cC=f(FE,[["render",function(e,t,n,a,i,o){const r=WE("soylent-link");return KE(),JE("div",{class:nC(["element",n.element.type,n.element.subtype])},[n.element.data.headline?(KE(),JE("h2",aC,[qE(r,{url:n.element.data.url,blank:o.getTargetBlank},{default:YE((()=>[GE(HE(n.element.data.headline),1)])),_:1},8,["url","blank"])])):QE("",!0),eC("div",iC,[(KE(!0),JE(XE,null,ZE(n.element.data.items,(e=>(KE(),tC(r,{blank:o.getTargetBlank,key:e.post_id,url:o.getLink(e),class:"entry"},{default:YE((()=>[eC("span",oC,[eC("span",rC,HE(e.from),1)]),eC("span",sC,[eC("span",lC,HE(e.title),1)])])),_:2},1032,["blank","url"])))),128))])],2)}]]),dC=Object.freeze(Object.defineProperty({__proto__:null,default:cC},Symbol.toStringTag,{value:"Module"}));ph.fullsizePlayer=!0,ph.playerBarShowInfo=!0,Ii.set({RadioDieNeueWelleRatgeberJournal:Ay,SoylentOpenerMedia:bS,SoylentMediaLink:dS,SoylentRadioPostGrid:cE,SoylentRadioPromoSlider:UE,SoylentScheduleWidget:cC}),new class{constructor(){console.debug("[PlayerSourceFilter] Init PlayerSourceFilter"),me.on(Ne,this.filter.bind(this))}filter(e){console.debug("[PlayerSourceFilter] Callback `appendConsentString`");const t=e.includes("?")?"&":"?";return e=`${e}${t}aw_0_req.gdpr=${this.getAdsWizzConsent()}`,this.getCrossplan()&&(console.debug("[PlayerSourceFilter] Callback `appendCrossplan`"),e+=this.getCrossplan()),e}getAdsWizzConsent(){return!0===window.adsWizzConsent?"true":"false"}getCrossplan(){return"cpd_configdata"in window&&"url"in window.cpd_configdata&&window.cpd_configdata.url}},z().has($)&&!0!==window.isDynamicRenderer&&(or().has("SSOService")||or().set({SSOService:new rr}),or().getByName("SSOService")).init($a),cs.mount("#app-container"),y.dispatch(w.APP_MOUNT_READY)}}}));

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.