1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["Share.js","swiper.js","ActionCalendar.js","Crawl.js","EventMeta.js","Events.js","EventShortcut.js","style.js","style.css","LoadMoreButton.js","FeatureCta.js","Form.js","Gallery.js","EditorSwiper.js","GalleryShortcutList.js","GalleryShortcut.js","Headline.js","InPageNavigation.js","Breakpoints.js","JobGrid.js","LastVideo.js","Line.js","LogoSlider.js","Map.js","MediaLink.js","Parallax.js","Poll.js","PostShortcutList.js","PostShortcut.js","RelatedContents.js","ScheduleDetail.js","ScheduleWidget.js","ShowToolbar.js","Author.js","JobMeta.js","TeamMember.js","TermList.js","SocialEmbed.js","Actions.js","SliderWrapper.js","ChannelSlider.js","ChannelTeaser.js","PlaylistWidget.js","PodcastEpisodes.js","PodcastGrid.js","PodcastTeaser.js","PostGrid.js","PromoSlider.js","SongSearch.js","Team.js","TopFivePosts.js","Traffic.js","TrafficMap.js","TrafficWidget.js","Weather.js","WeatherWidget.js","GalleryTeaser.js","StructuredForm.js","EventFilter.js","Button.js","Element.js","Checkbox.js","Custom.js","Date.js","Email.js","File.js","Hidden.js","Number.js","Password.js","Radio.js","Select.js","Submit.js","Text.js","Textarea.js","Time.js","Accordion.js","RelatedContents2.js","Form2.js","Parallax2.js","JobMeta2.js"])))=>i.map(i=>d[i]); 2var up=Object.defineProperty;var Qa=e=>{throw TypeError(e)};var hp=(e,t,n)=>t in e?up(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ge=(e,t,n)=>hp(e,typeof t!="symbol"?t+"":t,n),Tr=(e,t,n)=>t.has(e)||Qa("Cannot "+n);var h=(e,t,n)=>(Tr(e,t,"read from private field"),n?n.call(e):t.get(e)),R=(e,t,n)=>t.has(e)?Qa("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ne=(e,t,n,s)=>(Tr(e,t,"write to private field"),s?s.call(e,n):t.set(e,n),n),K=(e,t,n)=>(Tr(e,t,"access private method"),n);var Xa=(e,t,n,s)=>({set _(r){ne(e,t,r,n)},get _(){return h(e,t,s)}});import{d as pp,S as _p,N as mp,P as fp,a as wp,f as gp,K as yp,A as vp}from"./swiper.js";function C3(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}const bp="modulepreload",Ep=function(e){return"/wp-content/themes/cmms-theme-baden_fm/assets/dist/4.24/"+e},el={},b=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let l=function(c){return Promise.all(c.map(d=>Promise.resolve(d).then(u=>({status:"fulfilled",value:u}),u=>({status:"rejected",reason:u}))))};document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));r=l(n.map(c=>{if(c=Ep(c),c in el)return;el[c]=!0;const d=c.endsWith(".css"),u=d?'[rel="stylesheet"]':"";if(document.querySelector('link[href="'.concat(c,'"]').concat(u)))return;const p=document.createElement("link");if(p.rel=d?"stylesheet":bp,d||(p.as="script"),p.crossOrigin="",p.href=c,a&&p.setAttribute("nonce",a),document.head.appendChild(p),d)return new Promise((_,V)=>{p.addEventListener("load",_),p.addEventListener("error",()=>V(new Error("Unable to preload CSS for ".concat(c))))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return r.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};var no;class kp{constructor(){R(this,no,null)}set(t){ne(this,no,t)}get(){return h(this,no)}}no=new WeakMap;const vu=new kp,tl={path:"/"};class ar{static get(t){const n=document.cookie.split(";");for(const s in n){const r=n[s].split("=");if(r.length>1&&String(r[0]).trim()===String(t))return decodeURIComponent(String(r[1]).trim())}return null}static set(t,n,s=tl){let r="";for(const o in s)r+=" ".concat(o,"=").concat(s[o],";");document.cookie="".concat(t,"=").concat(encodeURIComponent(n),";").concat(r)}static delete(t,n={}){ar.set(t,"",Object.assign({},tl,n,{"max-age":0}))}}function Cp(){return!!(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))}function Sp(){return!!(navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i))}const nl={NAV:"BASE_VIEW_NAV",HANDLE_RESPONSE:"BASE_VIEW_HANDLE_RESPONSE"},Zn={ELEMENT_PROVIDER_READY:"ELEMENT_PROVIDER_READY",AFTER_CONSENT:"SOYLENT_AFTER_CONSENT",APP_MOUNT_READY:"APP_MOUNT_READY"},Ap={AUDIO_ENDED:"PLAYER_AUDIO_ENDED"};var st;class Vp{constructor(){R(this,st,{})}on(t,n){h(this,st)[t]||(h(this,st)[t]=[]),h(this,st)[t].push(n)}off(t,n){if(!h(this,st)[t])return;const s=h(this,st)[t].indexOf(n);s>=0&&h(this,st)[t].splice(s,1)}dispatch(t,...n){h(this,st)[t]&&h(this,st)[t].forEach(s=>s(...n))}}st=new WeakMap;const Sn=new Vp,y=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},sl="soylent_smartbanner",Tp={name:"SmartBanner",data(){return{smartBannerSettings:null,closed:!1,consentReady:!1}},computed:{isActive(){let e=this.getSettings();if(!e||this.consentReady===!1)return null;if(e.active)return!!e.active}},methods:{consentReadyAction(){this.consentReady=!0},getSettings(){return"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?!!e.show_on_startup:!1},getUrl(){return this.smartBannerSettings?Sp()?"https://apps.apple.com/de/app/".concat(this.smartBannerSettings.id_ios):"https://play.google.com/store/apps/details?id=".concat(this.smartBannerSettings.id_android):""},close(){this.setDeactivateCookie(),this.closed=!0},setDeactivateCookie(){let e=new Date;e.setTime(e.getTime()+720*60*60*1e3),ar.set(sl,!0,{path:"/",expires:e.toGMTString()})}},beforeMount(){this.smartBannerSettings=this.getSettings(),this.closed=!!ar.get(sl),this.showOnStartup()?this.consentReadyAction():Sn.on(Zn.AFTER_CONSENT,this.consentReadyAction)}},$n=window.Vue.createElementVNode,Pr=window.Vue.openBlock,ol=window.Vue.createElementBlock,rl=window.Vue.createCommentVNode,il=window.Vue.toDisplayString,Pp=window.Vue.Transition,$p=window.Vue.withCtx,Dp=window.Vue.createVNode,Np=window.Vue.Teleport,Ip=window.Vue.createBlock,Bp={key:0,id:"soylent_smartbanner",class:"smartbanner"},Op=["href"],xp=["src"],Rp={class:"smartbanner__text"},Mp={class:"smartbanner__title"},Lp={class:"smartbanner__description"};function zp(e,t,n,s,r,o){return Pr(),Ip(Np,{to:"body"},[Dp(Pp,{name:"slide-down"},{default:$p(()=>[o.isActive&&!r.closed?(Pr(),ol("div",Bp,[$n("div",{onClick:t[0]||(t[0]=(...i)=>o.close&&o.close(...i)),class:"iconSet smartbanner__close"},"close"),$n("a",{href:o.getUrl(),onClick:t[1]||(t[1]=(...i)=>o.close&&o.close(...i)),target:"_blank",rel:"nofollow",class:"smartbanner__cta"},[r.smartBannerSettings.logo?(Pr(),ol("img",{key:0,src:r.smartBannerSettings.logo,class:"smartbanner__thumb"},null,8,xp)):rl("",!0),$n("div",Rp,[$n("span",Mp,il(r.smartBannerSettings.label),1),$n("span",Lp,il(r.smartBannerSettings.description),1)]),t[2]||(t[2]=$n("div",{class:"smartbanner__button"},"Ãffnen",-1))],8,Op)])):rl("",!0)]),_:1})])}const Fp=y(Tp,[["render",zp]]),We="soylent_settings"in window&&window.soylent_settings.app_mode||!1;var yn;class Up{constructor(){R(this,yn,[])}
2add(t){if(typeof t!="string"){console.error("[soylent:featureProvider] Cannot add feature, the passed flag is not a string",t);return}h(this,yn).push(t)}has(t){return h(this,yn).includes(t)}remove(t){const n=h(this,yn).indexOf(t);h(this,yn).splice(n,1)}}yn=new WeakMap;function Zs(){return"__soylent"in window||(window.__soylent={}),"featureProvider"in window.__soylent||(window.__soylent.featureProvider=new Up),window.__soylent.featureProvider}const jp="CurrentData",Ra="Sso",Hp={name:"PageNotificationItem",data(){return{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 n="".concat(t.pathname).concat(t.search).concat(t.hash);this.$router.push(n)}else window.open(t.href,"_blank","noopener,noreferrer");this.closed=!0}catch(t){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()},this.notification.lifetime_in_seconds*1e3))},unmounted(){this.timeoutId&&clearTimeout(this.timeoutId)}},al=window.Vue.toDisplayString,$r=window.Vue.createElementVNode,wo=window.Vue.openBlock,ll=window.Vue.createElementBlock,cl=window.Vue.createCommentVNode,Gp=window.Vue.resolveDynamicComponent,dl=window.Vue.withCtx,ul=window.Vue.createBlock,Yp=window.Vue.withKeys,Wp=window.Vue.resolveDirective,qp=window.Vue.withDirectives,Kp=window.Vue.Transition,Jp={class:"page-notification__title"},Zp={class:"page-notification__description"},Qp={key:0,class:"page-notification__button"};function Xp(e,t,n,s,r,o){const i=Wp("focustrap");return wo(),ul(Kp,{name:"slide-up"},{default:dl(()=>[n.notification&&!r.closed?qp((wo(),ll("div",{key:0,onKeydown:t[2]||(t[2]=Yp((...a)=>o.close&&o.close(...a),["esc"])),class:"page-notification"},[(wo(),ul(Gp(n.notification.url?"button":"div"),{onClick:t[0]||(t[0]=a=>n.notification.url?o.openUrl():null),class:"page-notification__body"},{default:dl(()=>[$r("span",Jp,al(n.notification.title),1),$r("span",Zp,al(n.notification.text),1),n.notification.url?(wo(),ll("span",Qp,"Ãffnen")):cl("",!0)]),_:1})),$r("button",{onClick:t[1]||(t[1]=(...a)=>o.close&&o.close(...a)),class:"iconSet page-notification__close"},"close")],32)),[[i]]):cl("",!0)]),_:1})}const e_=y(Hp,[["render",Xp]]),t_={name:"PageNotifications",components:{PageNotificationItem:e_},data(){return{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},deep:!0,immediate:!0}}},n_=window.Vue.renderList,s_=window.Vue.Fragment,Dr=window.Vue.openBlock,hl=window.Vue.createElementBlock,o_=window.Vue.resolveComponent,r_=window.Vue.createBlock,i_=window.Vue.createCommentVNode,a_={key:0,class:"page-notification__wrapper"};function l_(e,t,n,s,r,o){const i=o_("PageNotificationItem");return o.notifications?(Dr(),hl("div",a_,[(Dr(!0),hl(s_,null,n_(o.notifications,(a,l)=>(Dr(),r_(i,{notification:a,key:"notification_".concat(a.id)},null,8,["notification"]))),128))])):i_("",!0)}const c_=y(t_,[["render",l_]]);var $e;class d_{constructor(){R(this,$e,{})}on(t,n,s={}){const{priority:r=10}=s;h(this,$e)[t]||(h(this,$e)[t]=[]),h(this,$e)[t]["p".concat(r)]||(h(this,$e)[t]["p".concat(r)]=[]),h(this,$e)[t]["p".concat(r)].push(n)}off(t,n,s={}){const{priority:r=10}=s;if(console.debug("[SoylentFilterProvider] Unsubscribing "+t),!h(this,$e)[t]||!h(this,$e)[t]["p".concat(r)])return;const o=h(this,$e)[t]["p".concat(r)].indexOf(n);o>=0?(h(this,$e)[t]["p".concat(r)].splice(o,1),console.debug("[SoylentFilterProvider] Callback removed ")):(console.debug("[SoylentFilterProvider] Callback not found "),console.debug(n))}filter(t,n,s={},...r){const{once:o=!1}=s;let i=0;if(!h(this,$e)[t])return n;const a=h(this,$e)[t];return Object.keys(a).sort((l,c)=>
2parseInt(l.substring(1),10)-parseInt(c.substring(1),10)).forEach(l=>{a[l].forEach(c=>{(o&&i<1||!o)&&(n=c(n,...r)),i++})}),n}}$e=new WeakMap;const hs=new d_,Ma=null,lr="PAUSED",It="PLAYING",is="BUFFERING",bu="ERROR",ve="AUDIO",re="PODCAST",Ee="CHANNEL",u_="CHANNEL",h_="canplay",pl="durationchange",_l="ended",ml="error",fl="pause",wl="play",gl="playing",yl="progress",vl="timeupdate",bl="stalled",El="waiting",kl="seeking",Qn="skip_next",p_="skip_prev",La="player_filter__source_url";var vn,Xn,yu;let __=(yu=class{constructor(){R(this,vn);R(this,Xn);ne(this,vn,null),ne(this,Xn,window.soylent_settings.tcf_query_key),this.getTcfString(),hs.on(La,this.filter.bind(this))}filter(t){if(h(this,vn)){const n=t.includes("?")?"&":"?";t="".concat(t).concat(n).concat(h(this,Xn),"=").concat(h(this,vn)),console.debug("[PlayerSourceFilter] - added TCF-String")}return t}getTcfString(){"__tcfapi"in window&&h(this,Xn)&&__tcfapi("getTCData",2,(t,n)=>{n&&"tcString"in t&&ne(this,vn,t.tcString)})}},vn=new WeakMap,Xn=new WeakMap,yu);const m_=100,f_={data:function(){return{resizeTimer:null}},components:{PageNotifications:c_,SmartBanner:Fp},computed:{layoutComponent:function(){return vu.get()},classNames:function(){return{"--loading":this.$store.getters.isLoading,"--header_open":this.$store.getters.scrollOffset.y===0,"--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(){return!We&&Cp()},hasLoginActive(){return Zs().has(Ra)?this.isAuth:!1},isAuth(){return this.$store.state.sso.auth}},methods:{onWindowChange:function(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(this.setScrollOffset.bind(this),m_)},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()},60*1e3))},consentReadyEvent(){new __,window.UC_UI.isConsentRequired()?window.addEventListener("UC_UI_VIEW_CHANGED",function(e){e.detail.view==="NONE"&&Sn.dispatch(Zn.AFTER_CONSENT)}):Sn.dispatch(Zn.AFTER_CONSENT)},afterConsent(){const e=new Event(Zn.AFTER_CONSENT);window.dispatchEvent(e)}},mounted(){Zs().has(jp)&&this.fetchCurrentData()},watch:{categoryModalOpen:function(e){e===!0?document.body.style.overflow="hidden":document.body.style.overflow=""},menuOpen:function(e){e===!0?document.body.style.overflow="hidden":document.body.style.overflow=""},hasLoginActive:function(e){e===!0&&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()?window.addEventListener("UC_UI_INITIALIZED",this.consentReadyEvent):this.consentReadyEvent()})},beforeUnmount(){window.removeEventListener("scroll",this.onWindowChange),window.removeEventListener("resize",this.onWindowChange)}},Cl=window.Vue.resolveComponent,Nr=window.Vue.openBlock,Sl=window.Vue.createBlock,w_=window.Vue.createCommentVNode,g_=window.Vue.createVNode,y_=window.Vue.resolveDynamicComponent,v_=window.Vue.normalizeClass,b_=window.Vue.createElementVNode,E_=window.Vue.Fragment,k_=window.Vue.createElementBlock;function C_(e,t,n,s,r,o){const i=Cl("SmartBanner"),a=Cl("PageNotifications");return Nr(),k_(E_,null,[o.hasSmartBanner?(Nr(),Sl(i,{key:0})):w_("",!0),g_(a),b_("div",{id:"app",class:v_(o.classNames)},[(Nr(),Sl(y_(o.layoutComponent)))],2)],64)}const S_=y(f_,[["render",C_]]);function A_(){return Eu().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Eu(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const V_=typeof Proxy=="function",T_="devtools-plugin:setup",P_="plugin:settings:set";let Dn,ca;function $_(){var e;return Dn!==void 0||(typeof window<"u"&&window.performance?(Dn=!0,ca=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Dn=!0,ca=globalThis.perf_hooks.performance):Dn=!1),Dn}function D_(){return $_()?ca.now():Date.now()}
2class N_{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const s={};if(t.settings)for(const i in t.settings){const a=t.settings[i];s[i]=a.defaultValue}const r="__vue-devtools-plugin-settings__".concat(t.id);let o=Object.assign({},s);try{const i=localStorage.getItem(r),a=JSON.parse(i);Object.assign(o,a)}catch(i){}this.fallbacks={getSettings(){return o},setSettings(i){try{localStorage.setItem(r,JSON.stringify(i))}catch(a){}o=i},now(){return D_()}},n&&n.on(P_,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function I_(e,t){const n=e,s=Eu(),r=A_(),o=V_&&n.enableEarlyProxy;if(r&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))r.emit(T_,e,t);else{const i=o?new N_(n,r):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}window.Vue.getCurrentInstance;window.Vue.inject;window.Vue.onActivated;window.Vue.onDeactivated;window.Vue.onUnmounted;window.Vue.watch;const qn=typeof document<"u";function ku(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function B_(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ku(e.default)}const Q=Object.assign;function Ir(e,t){const n={};for(const s in t){const r=t[s];n[s]=ot(r)?r.map(e):e(r)}return n}const Ws=()=>{},ot=Array.isArray;function Al(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Cu=/#/g,O_=/&/g,x_=/\//g,R_=/=/g,M_=/\?/g,Su=/\+/g,L_=/%5B/g,z_=/%5D/g,Au=/%5E/g,F_=/%60/g,Vu=/%7B/g,U_=/%7C/g,Tu=/%7D/g,j_=/%20/g;function za(e){return e==null?"":encodeURI(""+e).replace(U_,"|").replace(L_,"[").replace(z_,"]")}function H_(e){return za(e).replace(Vu,"{").replace(Tu,"}").replace(Au,"^")}function da(e){return za(e).replace(Su,"%2B").replace(j_,"+").replace(Cu,"%23").replace(O_,"%26").replace(F_,"`").replace(Vu,"{").replace(Tu,"}").replace(Au,"^")}function G_(e){return da(e).replace(R_,"%3D")}function Y_(e){return za(e).replace(Cu,"%23").replace(M_,"%3F")}function W_(e){return Y_(e).replace(x_,"%2F")}function Qs(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch(t){}return""+e}const q_=/\/$/,K_=e=>e.replace(q_,"");function Br(e,t,n="/"){let s,r={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(s=t.slice(0,l),o=t.slice(l,a>0?a:t.length),r=e(o.slice(1))),a>=0&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=X_(s!=null?s:t,n),{fullPath:s+o+i,path:s,query:r,hash:Qs(i)}}function J_(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Vl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Z_(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&as(t.matched[s],n.matched[r])&&Pu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function as(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Pu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Q_(e[n],t[n]))return!1;return!0}function Q_(e,t){return ot(e)?Tl(e,t):ot(t)?Tl(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Tl(e,t){return ot(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function X_(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,a;for(i=0;i<s.length;i++)if(a=s[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const Rt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let ua=(function(e){return e.pop="pop",e.push="push",e})({}),Or=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function em(e){if(!e)if(qn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),K_(e)}const tm=/^[^#]+#/;function nm(e,t){return e.replace(tm,"#")+t}function sm(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const kr=()=>({left:window.scrollX,top:window.scrollY});function om(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=sm(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}
vendor: 21,483 bytes, line 2
2function Pl(e,t){return(history.state?history.state.position-t:-1)+e}const ha=new Map;function rm(e,t){ha.set(e,t)}function im(e){const t=ha.get(e);return ha.delete(e),t}function am(e){return typeof e=="string"||e&&typeof e=="object"}function $u(e){return typeof e=="string"||typeof e=="symbol"}let de=(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 Du=Symbol("");de.MATCHER_NOT_FOUND+"",de.NAVIGATION_GUARD_REDIRECT+"",de.NAVIGATION_ABORTED+"",de.NAVIGATION_CANCELLED+"",de.NAVIGATION_DUPLICATED+"";function ls(e,t){return Q(new Error,{type:e,[Du]:!0},t)}function bt(e,t){return e instanceof Error&&Du in e&&(t==null||!!(e.type&t))}const lm=["params","query","hash"];function cm(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of lm)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function dm(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(Su," "),o=r.indexOf("="),i=Qs(o<0?r:r.slice(0,o)),a=o<0?null:Qs(r.slice(o+1));if(i in t){let l=t[i];ot(l)||(l=t[i]=[l]),l.push(a)}else t[i]=a}return t}function $l(e){let t="";for(let n in e){const s=e[n];if(n=G_(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(ot(s)?s.map(r=>r&&da(r)):[s&&da(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function um(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=ot(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const hm=Symbol(""),Dl=Symbol(""),Fa=Symbol(""),Ua=Symbol(""),pa=Symbol("");function _s(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Zt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=p=>{p===!1?l(ls(de.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?l(p):am(p)?l(ls(de.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),a())},d=o(()=>e.call(s&&s.instances[r],t,n,c));let u=Promise.resolve(d);e.length<3&&(u=u.then(c)),u.catch(p=>l(p))})}function xr(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(ku(l)){const c=(l.__vccOpts||l)[t];c&&o.push(Zt(c,n,s,i,a,r))}else{let c=l();o.push(()=>c.then(d=>{if(!d)throw new Error("Couldn't resolve component \"".concat(a,'" at "').concat(i.path,'"'));const u=B_(d)?d.default:d;i.mods[a]=d,i.components[a]=u;const p=(u.__vccOpts||u)[t];return p&&Zt(p,n,s,i,a,r)()}))}}return o}function pm(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(c=>as(c,a))?s.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>as(c,l))||r.push(l))}return[n,s,r]}const gt=window.Vue.computed,Nu=window.Vue.defineComponent;window.Vue.getCurrentInstance;const Iu=window.Vue.h,cs=window.Vue.inject,_m=window.Vue.nextTick,Rr=window.Vue.provide,mm=window.Vue.reactive,fm=window.Vue.ref,wm=window.Vue.shallowReactive,gm=window.Vue.shallowRef,qs=window.Vue.unref,ym=window.Vue.watch;window.Vue.watchEffect;let vm=()=>location.protocol+"//"+location.host;function Bu(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let i=r.includes(e.slice(o))?e.slice(o).length:1,a=r.slice(i);return a[0]!=="/"&&(a="/"+a),Vl(a,"")}return Vl(n,e)+s+r}function bm(e,t,n,s){let r=[],o=[],i=null;const a=({state:p})=>{const _=Bu(e,location),V=n.value,E=t.value;let z=0;if(p){if(n.value=_,t.value=p,i&&i===V){i=null;return}z=E?p.position-E.position:0}else s(_);r.forEach(U=>{U(n.value,V,{delta:z,type:ua.pop,direction:z?z>0?Or.forward:Or.back:Or.unknown})})};function l(){i=n.value}function c(p){r.push(p);const _=()=>{const V=r.indexOf(p);V>-1&&r.splice(V,1)};return o.push(_),_}function d(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(Q({},p.state,{scroll:kr()}),"")}}function u(){for(const p of o)p();o=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:l,listen:c,destroy:u}}function Nl(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?kr():null}}function Em(e){const{history:t,location:n}=window,s={value:Bu(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,d){const u=e.indexOf("#"),p=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+l:vm()+e+l;try{t[d?"replaceState":"pushState"](c,"",p),r.value=c}catch(_){console.error(_),n[d?"replace":"assign"](p)}}function i(l,c){o(l,Q({},t.state,Nl(r.value.back,l,r.value.forward,!0),c,{position:r.value.position}),!0),s.value=l}function a(l,c){const d=Q({},r.value,t.state,{forward:l,scroll:kr()});o(d.current,d,!0),o(l,Q({},Nl(s.value,l,null),{position:d.position+1},c),!1),s.value=l}return{location:s,state:r,push:a,replace:i}}function km(e){e=em(e);const t=Em(e),n=bm(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=Q({location:"",base:e,go:s,createHref:nm.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let gn=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var me=(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})(me||{});const Cm={type:gn.Static,value:""},Sm=/[a-zA-Z0-9_]/;function Am(e){if(!e)return[[]];if(e==="/")return[[Cm]];if(!e.startsWith("/"))throw new Error('Invalid path "'.concat(e,'"'));function t(_){throw new Error("ERR (".concat(n,')/"').concat(c,'": ').concat(_))}let n=me.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let a=0,l,c="",d="";function u(){c&&(n===me.Static?o.push({type:gn.Static,value:c}):n===me.Param||n===me.ParamRegExp||n===me.ParamRegExpEnd?(o.length>1&&(l==="*"||l==="+")&&t("A repeatable param (".concat(c,") must be alone in its segment. eg: '/:ids+.")),o.push({type:gn.Param,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==me.ParamRegExp){s=n,n=me.EscapeNext;continue}switch(n){case me.Static:l==="/"?(c&&u(),i()):l===":"?(u(),n=me.Param):p();break;case me.EscapeNext:p(),n=s;break;case me.Param:l==="("?n=me.ParamRegExp:Sm.test(l)?p():(u(),n=me.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case me.ParamRegExp:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=me.ParamRegExpEnd:d+=l;break;case me.ParamRegExpEnd:u(),n=me.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===me.ParamRegExp&&t('Unfinished custom RegExp for param "'.concat(c,'"')),u(),i(),r}const Il="[^/]+?",Vm={sensitive:!1,strict:!1,start:!0,end:!0};var Ve=(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})(Ve||{});const Tm=/[.+*?^${}()[\]/\\]/g;function Pm(e,t){const n=Q({},Vm,t),s=[];let r=n.start?"^":"";const o=[];for(const c of e){const d=c.length?[]:[Ve.Root];n.strict&&!c.length&&(r+="/");for(let u=0;u<c.length;u++){const p=c[u];let _=Ve.Segment+(n.sensitive?Ve.BonusCaseSensitive:0);if(p.type===gn.Static)u||(r+="/"),r+=p.value.replace(Tm,"\\$&"),_+=Ve.Static;else if(p.type===gn.Param){const{value:V,repeatable:E,optional:z,regexp:U}=p;o.push({name:V,repeatable:E,optional:z});const D=U||Il;if(D!==Il){_+=Ve.BonusCustomRegExp;try{"".concat(D)}catch(ie){throw new Error('Invalid custom RegExp for param "'.concat(V,'" (').concat(D,"): ")+ie.message)}}let G=E?"((?:".concat(D,")(?:/(?:").concat(D,"))*)"):"(".concat(D,")");u||(G=z&&c.length<2?"(?:/".concat(G,")"):"/"+G),z&&(G+="?"),r+=G,_+=Ve.Dynamic,z&&(_+=Ve.BonusOptional),E&&(_+=Ve.BonusRepeatable),D===".*"&&(_+=Ve.BonusWildcard)}d.push(_)}s.push(d)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=Ve.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function a(c){const d=c.match(i),u={};if(!d)return null;for(let p=1;p<d.length;p++){const _=d[p]||"",V=o[p-1];u[V.name]=_&&V.repeatable?_.split("/"):_}return u}function l(c){let d="",u=!1;for(const p of e){(!u||!d.endsWith("/"))&&(d+="/"),u=!1;for(const _ of p)if(_.type===gn.Static)d+=_.value;else if(_.type===gn.Param){const{value:V,repeatable:E,optional:z}=_,U=V in c?c[V]:"";if(ot(U)&&!E)throw new Error('Provided param "'.concat(V,'" is an array but it is not repeatable (* or + modifiers)'));const D=ot(U)?U.join("/"):U;if(!D)if(z)p.length<2&&(d.endsWith("/")?d=d.slice(0,-1):u=!0);else throw new Error('Missing required param "'.concat(V,'"'));d+=D}}return d||"/"}return{re:i,score:s,keys:o,parse:a,stringify:l}}function $m(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===Ve.Static+Ve.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Ve.Static+Ve.Segment?1:-1:0}function Ou(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=$m(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Bl(s))return 1;if(Bl(r))return-1}return r.length-s.length}function Bl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Dm={strict:!1,end:!0,sensitive:!1};function Nm(e,t,n){const s=Pm(Am(e.path),n),r=Q(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Im(e,t){const n=[],s=new Map;t=Al(Dm,t);function r(u){return s.get(u)}function o(u,p,_){const V=!_,E=xl(u);E.aliasOf=_&&_.record;const z=Al(t,u),U=[E];if("alias"in u){const ie=typeof u.alias=="string"?[u.alias]:u.alias;for(const pe of ie)U.push(xl(Q({},E,{components:_?_.record.components:E.components,path:pe,aliasOf:_?_.record:E})))}let D,G;for(const ie of U){const{path:pe}=ie;if(p&&pe[0]!=="/"){const le=p.record.path,ae=le[le.length-1]==="/"?"":"/";ie.path=p.record.path+(pe&&ae+pe)}if(D=Nm(ie,p,z),_?_.alias.push(D):(G=G||D,G!==D&&G.alias.push(D),V&&u.name&&!Rl(D)&&i(u.name)),xu(D)&&l(D),E.children){const le=E.children;for(let ae=0;ae<le.length;ae++)o(le[ae],D,_&&_.children[ae])}_=_||D}return G?()=>{i(G)}:Ws}function i(u){if($u(u)){const p=s.get(u);p&&(s.delete(u),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(u);p>-1&&(n.splice(p,1),u.record.name&&s.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){const p=xm(u,n);n.splice(p,0,u),u.record.name&&!Rl(u)&&s.set(u.record.name,u)}function c(u,p){let _,V={},E,z;if("name"in u&&u.name){if(_=s.get(u.name),!_)throw ls(de.MATCHER_NOT_FOUND,{location:u});z=_.record.name,V=Q(Ol(p.params,_.keys.filter(G=>!G.optional).concat(_.parent?_.parent.keys.filter(G=>G.optional):[]).map(G=>G.name)),u.params&&Ol(u.params,_.keys.map(G=>G.name))),E=_.stringify(V)}else if(u.path!=null)E=u.path,_=n.find(G=>G.re.test(E)),_&&(V=_.parse(E),z=_.record.name);else{if(_=p.name?s.get(p.name):n.find(G=>G.re.test(p.path)),!_)throw ls(de.MATCHER_NOT_FOUND,{location:u,currentLocation:p});z=_.record.name,V=Q({},p.params,u.params),E=_.stringify(V)}const U=[];let D=_;for(;D;)U.unshift(D.record),D=D.parent;return{name:z,path:E,params:V,matched:U,meta:Om(U)}}e.forEach(u=>o(u));function d(){n.length=0,s.clear()}return{addRoute:o,resolve:c,removeRoute:i,clearRoutes:d,getRoutes:a,getRecordMatcher:r}}function Ol(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function xl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Bm(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 Bm(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Rl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Om(e){return e.reduce((t,n)=>Q(t,n.meta),{})}function xm(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Ou(e,t[o])<0?s=o:n=o+1}const r=Rm(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Rm(e){let t=e;for(;t=t.parent;)if(xu(t)&&Ou(e,t)===0)return t}function xu({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ml(e){const t=cs(Fa),n=cs(Ua),s=gt(()=>{const l=qs(e.to);return t.resolve(l)}),r=gt(()=>{const{matched:l}=s.value,{length:c}=l,d=l[c-1],u=n.matched;if(!d||!u.length)return-1;const p=u.findIndex(as.bind(null,d));if(p>-1)return p;const _=Ll(l[c-2]);return c>1&&Ll(d)===_&&u[u.length-1].path!==_?u.findIndex(as.bind(null,l[c-2])):p}),o=gt(()=>r.value>-1&&Um(n.params,s.value.params)),i=gt(()=>r.value>-1&&r.value===n.matched.length-1&&Pu(n.params,s.value.params));function a(l={}){if(Fm(l)){const c=t[qs(e.replace)?"replace":"push"](qs(e.to)).catch(Ws);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:gt(()=>s.value.href),isActive:o,isExactActive:i,navigate:a}}function Mm(e){return e.length===1?e[0]:e}const Lm=Nu({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:Ml,setup(e,{slots:t}){const n=mm(Ml(e)),{options:s}=cs(Fa),r=gt(()=>({[zl(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[zl(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Mm(t.default(n));return e.custom?o:Iu("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),zm=Lm;function Fm(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){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}}function Um(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!ot(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function Ll(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const zl=(e,t,n)=>e!=null?e:t!=null?t:n,jm=Nu({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=cs(pa),r=gt(()=>e.route||s.value),o=cs(Dl,0),i=gt(()=>{let c=qs(o);const{matched:d}=r.value;let u;for(;(u=d[c])&&!u.components;)c++;return c}),a=gt(()=>r.value.matched[i.value]);Rr(Dl,gt(()=>i.value+1)),Rr(hm,a),Rr(pa,r);const l=fm();return ym(()=>[l.value,a.value,e.name],([c,d,u],[p,_,V])=>{d&&(d.instances[u]=c,_&&_!==d&&c&&c===p&&(d.leaveGuards.size||(d.leaveGuards=_.leaveGuards),d.updateGuards.size||(d.updateGuards=_.updateGuards))),c&&d&&(!_||!as(d,_)||!p)&&(d.enterCallbacks[u]||[]).forEach(E=>E(c))},{flush:"post"}),()=>{const c=r.value,d=e.name,u=a.value,p=u&&u.components[d];if(!p)return Fl(n.default,{Component:p,route:c});const _=u.props[d],V=_?_===!0?c.params:typeof _=="function"?_(c):_:null,z=Iu(p,Q({},V,t,{onVnodeUnmounted:U=>{U.component.isUnmounted&&(u.instances[d]=null)},ref:l}));return Fl(n.default,{Component:z,route:c})||z}}});function Fl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Hm=jm;function Gm(e){const t=Im(e.routes,e),n=e.parseQuery||dm,s=e.stringifyQuery||$l,r=e.history,o=_s(),i=_s(),a=_s(),l=gm(Rt);let c=Rt;qn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Ir.bind(null,m=>""+m),u=Ir.bind(null,W_),p=Ir.bind(null,Qs);function _(m,C){let v,$;return $u(m)?(v=t.getRecordMatcher(m),$=C):$=m,t.addRoute($,v)}function V(m){const C=t.getRecordMatcher(m);C&&t.removeRoute(C)}function E(){return t.getRoutes().map(m=>m.record)}function z(m){return!!t.getRecordMatcher(m)}function U(m,C){if(C=Q({},C||l.value),typeof m=="string"){const T=Br(n,m,C.path),Z=t.resolve({path:T.path},C),Se=r.createHref(T.fullPath);return Q(T,Z,{params:p(Z.params),hash:Qs(T.hash),redirectedFrom:void 0,href:Se})}let v;if(m.path!=null)v=Q({},m,{path:Br(n,m.path,C.path).path});else{const T=Q({},m.params);for(const Z in T)T[Z]==null&&delete T[Z];v=Q({},m,{params:u(T)}),C.params=u(C.params)}const $=t.resolve(v,C),q=m.hash||"";$.params=d(p($.params));const L=J_(s,Q({},m,{hash:H_(q),path:$.path})),I=r.createHref(L);return Q({fullPath:L,hash:q,query:s===$l?um(m.query):m.query||{}},$,{redirectedFrom:void 0,href:I})}function D(m){return typeof m=="string"?Br(n,m,l.value.path):Q({},m)}function G(m,C){if(c!==m)return ls(de.NAVIGATION_CANCELLED,{from:C,to:m})}function ie(m){return ae(m)}function pe(m){return ie(Q(D(m),{replace:!0}))}function le(m,C){const v=m.matched[m.matched.length-1];if(v&&v.redirect){const{redirect:$}=v;let q=typeof $=="function"?$(m,C):$;return typeof q=="string"&&(q=q.includes("?")||q.includes("#")?q=D(q):{path:q},q.params={}),Q({query:m.query,hash:m.hash,params:q.path!=null?{}:m.params},q)}}function ae(m,C){const v=c=U(m),$=l.value,q=m.state,L=m.force,I=m.replace===!0,T=le(v,$);if(T)return ae(Q(D(T),{state:typeof T=="object"?Q({},q,T.state):q,force:L,replace:I}),C||v);const Z=v;Z.redirectedFrom=C;let Se;return!L&&Z_(s,$,v)&&(Se=ls(de.NAVIGATION_DUPLICATED,{to:Z,from:$}),P($,$,!0,!1)),(Se?Promise.resolve(Se):Pn(Z,$)).catch(we=>bt(we)?bt(we,de.NAVIGATION_GUARD_REDIRECT)?we:g(we):O(we,Z,$)).then(we=>{if(we){if(bt(we,de.NAVIGATION_GUARD_REDIRECT))return ae(Q({replace:I},D(we.to),{state:typeof we.to=="object"?Q({},q,we.to.state):q,force:L}),C||Z)}else we=it(Z,$,!0,I,q);return xt(Z,$,we),we})}function x(m,C){const v=G(m,C);return v?Promise.reject(v):Promise.resolve()}function ke(m){const C=B.values().next().value;return C&&typeof C.runWithContext=="function"?C.runWithContext(m):m()}function Pn(m,C){let v;const[$,q,L]=pm(m,C);v=xr($.reverse(),"beforeRouteLeave",m,C);for(const T of $)T.leaveGuards.forEach(Z=>{v.push(Zt(Z,m,C))});const I=x.bind(null,m,C);return v.push(I),te(v).then(()=>{v=[];for(const T of o.list())v.push(Zt(T,m,C));return v.push(I),te(v)}).then(()=>{v=xr(q,"beforeRouteUpdate",m,C);for(const T of q)T.updateGuards.forEach(Z=>{v.push(Zt(Z,m,C))});return v.push(I),te(v)}).then(()=>{v=[];for(const T of L)if(T.beforeEnter)if(ot(T.beforeEnter))for(const Z of T.beforeEnter)v.push(Zt(Z,m,C));else v.push(Zt(T.beforeEnter,m,C));return v.push(I),te(v)}).then(()=>(m.matched.forEach(T=>T.enterCallbacks={}),v=xr(L,"beforeRouteEnter",m,C,ke),v.push(I),te(v))).then(()=>{v=[];for(const T of i.list())v.push(Zt(T,m,C));return v.push(I),te(v)}).catch(T=>bt(T,de.NAVIGATION_CANCELLED)?T:Promise.reject(T))}function xt(m,C,v){a.list().forEach($=>ke(()=>$(m,C,v)))}function it(m,C,v,$,q){const L=G(m,C);if(L)return L;const I=C===Rt,T=qn?history.state:{};v&&($||I?r.replace(m.fullPath,Q({scroll:I&&T&&T.scroll},q)):r.push(m.fullPath,q)),l.value=m,P(m,C,v,I),g()}let W;function f(){W||(W=r.listen((m,C,v)=>{if(!X.listening)return;const $=U(m),q=le($,X.currentRoute.value);if(q){ae(Q(q,{replace:!0,force:!0}),$).catch(Ws);return}c=$;const L=l.value;qn&&rm(Pl(L.fullPath,v.delta),kr()),Pn($,L).catch(I=>bt(I,de.NAVIGATION_ABORTED|de.NAVIGATION_CANCELLED)?I:bt(I,de.NAVIGATION_GUARD_REDIRECT)?(ae(Q(D(I.to),{force:!0}),$).then(T=>{bt(T,de.NAVIGATION_ABORTED|de.NAVIGATION_DUPLICATED)&&!v.delta&&v.type===ua.pop&&r.go(-1,!1)}).catch(Ws),Promise.reject()):(v.delta&&r.go(-v.delta,!1),O(I,$,L))).then(I=>{I=I||it($,L,!1),I&&(v.delta&&!bt(I,de.NAVIGATION_CANCELLED)?r.go(-v.delta,!1):v.type===ua.pop&&bt(I,de.NAVIGATION_ABORTED|de.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),xt($,L,I)}).catch(Ws)}))}let w=_s(),S=_s(),M;function O(m,C,v){g(m);const $=S.list();return $.length?$.forEach(q=>q(m,C,v)):console.error(m),Promise.reject(m)}function k(){return M&&l.value!==Rt?Promise.resolve():new Promise((m,C)=>{w.add([m,C])})}function g(m){return M||(M=!m,f(),w.list().forEach(([C,v])=>m?v(m):C()),w.reset()),m}function P(m,C,v,$){const{scrollBehavior:q}=e;if(!qn||!q)return Promise.resolve();const L=!v&&im(Pl(m.fullPath,0))||($||!v)&&history.state&&history.state.scroll||null;return _m().then(()=>q(m,C,L)).then(I=>
2I&&om(I)).catch(I=>O(I,m,C))}const A=m=>r.go(m);let F;const B=new Set,X={currentRoute:l,listening:!0,addRoute:_,removeRoute:V,clearRoutes:t.clearRoutes,hasRoute:z,getRoutes:E,resolve:U,options:e,push:ie,replace:pe,go:A,back:()=>A(-1),forward:()=>A(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:S.add,isReady:k,install(m){m.component("RouterLink",zm),m.component("RouterView",Hm),m.config.globalProperties.$router=X,Object.defineProperty(m.config.globalProperties,"$route",{enumerable:!0,get:()=>qs(l)}),qn&&!F&&l.value===Rt&&(F=!0,ie(r.location).catch($=>{}));const C={};for(const $ in Rt)Object.defineProperty(C,$,{get:()=>l.value[$],enumerable:!0});m.provide(Fa,X),m.provide(Ua,wm(C)),m.provide(pa,l);const v=m.unmount;B.add(m),m.unmount=function(){B.delete(m),B.size<1&&(c=Rt,W&&W(),W=null,l.value=Rt,F=!1,M=!1),v()}}};function te(m){return m.reduce((C,v)=>C.then(()=>ke(v)),Promise.resolve())}return X}function Ym(e){return cs(Ua)}const Wm=window.Vue.inject,qm=window.Vue.effectScope,Km=window.Vue.reactive,Ru=window.Vue.watch,Jm=window.Vue.computed;var Mu="store";function Lu(e){return e===void 0&&(e=null),Wm(e!==null?e:Mu)}function ps(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function zu(e){return e!==null&&typeof e=="object"}function Zm(e){return e&&typeof e.then=="function"}function Qm(e,t){return function(){return e(t)}}function Fu(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var s=t.indexOf(e);s>-1&&t.splice(s,1)}}function Uu(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;Cr(e,n,[],e._modules.root,!0),ja(e,n,t)}function ja(e,t,n){var s=e._state,r=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,i={},a={},l=qm(!0);l.run(function(){ps(o,function(c,d){i[d]=Qm(c,e),a[d]=Jm(function(){return i[d]()}),Object.defineProperty(e.getters,d,{get:function(){return a[d].value},enumerable:!0})})}),e._state=Km({data:t}),e._scope=l,e.strict&&sf(e),s&&n&&e._withCommit(function(){s.data=null}),r&&r.stop()}function Cr(e,t,n,s,r){var o=!n.length,i=e._modules.getNamespace(n);if(s.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=s),!o&&!r){var a=Ha(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=s.state})}var c=s.context=Xm(e,i,n);s.forEachMutation(function(d,u){var p=i+u;ef(e,p,d,c)}),s.forEachAction(function(d,u){var p=d.root?u:i+u,_=d.handler||d;tf(e,p,_,c)}),s.forEachGetter(function(d,u){var p=i+u;nf(e,p,d,c)}),s.forEachChild(function(d,u){Cr(e,t,n.concat(u),d,r)})}function Xm(e,t,n){var s=t==="",r={dispatch:s?e.dispatch:function(o,i,a){var l=cr(o,i,a),c=l.payload,d=l.options,u=l.type;return(!d||!d.root)&&(u=t+u),e.dispatch(u,c)},commit:s?e.commit:function(o,i,a){var l=cr(o,i,a),c=l.payload,d=l.options,u=l.type;(!d||!d.root)&&(u=t+u),e.commit(u,c,d)}};return Object.defineProperties(r,{getters:{get:s?function(){return e.getters}:function(){return ju(e,t)}},state:{get:function(){return Ha(e.state,n)}}}),r}function ju(e,t){if(!e._makeLocalGettersCache[t]){var n={},s=t.length;Object.keys(e.getters).forEach(function(r){if(r.slice(0,s)===t){var o=r.slice(s);Object.defineProperty(n,o,{get:function(){return e.getters[r]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function ef(e,t,n,s){var r=e._mutations[t]||(e._mutations[t]=[]);r.push(function(i){n.call(e,s.state,i)})}function tf(e,t,n,s){var r=e._actions[t]||(e._actions[t]=[]);r.push(function(i){var a=n.call(e,{dispatch:s.dispatch,commit:s.commit,getters:s.getters,state:s.state,rootGetters:e.getters,rootState:e.state},i);return Zm(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function nf(e,t,n,s){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(s.state,s.getters,o.state,o.getters)})}function sf(e){Ru(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function Ha(e,t){return t.reduce(function(n,s){return n[s]},e)}function cr(e,t,n){return zu(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var of="vuex bindings",Ul="vuex:mutations",Mr="vuex:actions",Nn="vuex",rf=0;function af(e,t){I_({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:[of]},function(n){n.addTimelineLayer({id:Ul,label:"Vuex Mutations",color:jl}),n.addTimelineLayer({id:Mr,label:"Vuex Actions",color:jl}),n.addInspector({id:Nn,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===e&&s.inspectorId===Nn)if(s.filter){var r=[];Wu(r,t._modules.root,s.filter,""),s.rootNodes=r}else s.rootNodes=[Yu(t._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===e&&s.inspectorId===Nn){var r=s.nodeId;ju(t,r),s.state=df(hf(t._modules,r),r==="root"?t.getters:t._makeLocalGettersCache,r)}}),n.on.editInspectorState(function(s){if(s.app===e&&s.inspectorId===Nn){var r=s.nodeId,o=s.path;
2r!=="root"&&(o=r.split("/").filter(Boolean).concat(o)),t._withCommit(function(){s.set(t._state.data,o,s.state.value)})}}),t.subscribe(function(s,r){var o={};s.payload&&(o.payload=s.payload),o.state=r,n.notifyComponentUpdate(),n.sendInspectorTree(Nn),n.sendInspectorState(Nn),n.addTimelineEvent({layerId:Ul,event:{time:Date.now(),title:s.type,data:o}})}),t.subscribeAction({before:function(s,r){var o={};s.payload&&(o.payload=s.payload),s._id=rf++,s._time=Date.now(),o.state=r,n.addTimelineEvent({layerId:Mr,event:{time:s._time,title:s.type,groupId:s._id,subtitle:"start",data:o}})},after:function(s,r){var o={},i=Date.now()-s._time;o.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},s.payload&&(o.payload=s.payload),o.state=r,n.addTimelineEvent({layerId:Mr,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:o}})}})})}var jl=8702998,lf=6710886,cf=16777215,Hu={label:"namespaced",textColor:cf,backgroundColor:lf};function Gu(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function Yu(e,t){return{id:t||"root",label:Gu(t),tags:e.namespaced?[Hu]:[],children:Object.keys(e._children).map(function(n){return Yu(e._children[n],t+n+"/")})}}function Wu(e,t,n,s){s.includes(n)&&e.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:t.namespaced?[Hu]:[]}),Object.keys(t._children).forEach(function(r){Wu(e,t._children[r],n,s+r+"/")})}function df(e,t,n){t=n==="root"?t:t[n];var s=Object.keys(t),r={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(s.length){var o=uf(t);r.getters=Object.keys(o).map(function(i){return{key:i.endsWith("/")?Gu(i):i,editable:!1,value:_a(function(){return o[i]})}})}return r}function uf(e){var t={};return Object.keys(e).forEach(function(n){var s=n.split("/");if(s.length>1){var r=t,o=s.pop();s.forEach(function(i){r[i]||(r[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),r=r[i]._custom.value}),r[o]=_a(function(){return e[n]})}else t[n]=_a(function(){return e[n]})}),t}function hf(e,t){var n=t.split("/").filter(function(s){return s});return n.reduce(function(s,r,o){var i=s[r];if(!i)throw new Error('Missing module "'+r+'" for path "'+t+'".');return o===n.length-1?i:i._children},t==="root"?e:e.root._children)}function _a(e){try{return e()}catch(t){return t}}var rt=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var s=t.state;this.state=(typeof s=="function"?s():s)||{}},qu={namespaced:{configurable:!0}};qu.namespaced.get=function(){return!!this._rawModule.namespaced};rt.prototype.addChild=function(t,n){this._children[t]=n};rt.prototype.removeChild=function(t){delete this._children[t]};rt.prototype.getChild=function(t){return this._children[t]};rt.prototype.hasChild=function(t){return t in this._children};rt.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};rt.prototype.forEachChild=function(t){ps(this._children,t)};rt.prototype.forEachGetter=function(t){this._rawModule.getters&&ps(this._rawModule.getters,t)};rt.prototype.forEachAction=function(t){this._rawModule.actions&&ps(this._rawModule.actions,t)};rt.prototype.forEachMutation=function(t){this._rawModule.mutations&&ps(this._rawModule.mutations,t)};Object.defineProperties(rt.prototype,qu);var Vn=function(t){this.register([],t,!1)};Vn.prototype.get=function(t){return t.reduce(function(n,s){return n.getChild(s)},this.root)};Vn.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(s,r){return n=n.getChild(r),s+(n.namespaced?r+"/":"")},"")};Vn.prototype.update=function(t){Ku([],this.root,t)};Vn.prototype.register=function(t,n,s){var r=this;s===void 0&&(s=!0);var o=new rt(n,s);if(t.length===0)this.root=o;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],o)}n.modules&&ps(n.modules,function(a,l){r.register(t.concat(l),a,s)})};Vn.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),s=t[t.length-1],r=n.getChild(s);r&&r.runtime&&n.removeChild(s)};Vn.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),s=t[t.length-1];return n?n.hasChild(s):!1};function Ku(e,t,n){if(t.update(n),n.modules)for(var s in n.modules){if(!t.getChild(s))return;Ku(e.concat(s),t.getChild(s),n.modules[s])}}function pf(e){return new De(e)}var De=function(t){var n=this;t===void 0&&(t={});var s=t.plugins;s===void 0&&(s=[]);var r=t.strict;r===void 0&&(r=!1);var o=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Vn(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;
2var i=this,a=this,l=a.dispatch,c=a.commit;this.dispatch=function(p,_){return l.call(i,p,_)},this.commit=function(p,_,V){return c.call(i,p,_,V)},this.strict=r;var d=this._modules.root.state;Cr(this,d,[],this._modules.root),ja(this,d),s.forEach(function(u){return u(n)})},Ga={state:{configurable:!0}};De.prototype.install=function(t,n){t.provide(n||Mu,this),t.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&af(t,this)};Ga.state.get=function(){return this._state.data};Ga.state.set=function(e){};De.prototype.commit=function(t,n,s){var r=this,o=cr(t,n,s),i=o.type,a=o.payload,l={type:i,payload:a},c=this._mutations[i];c&&(this._withCommit(function(){c.forEach(function(u){u(a)})}),this._subscribers.slice().forEach(function(d){return d(l,r.state)}))};De.prototype.dispatch=function(t,n){var s=this,r=cr(t,n),o=r.type,i=r.payload,a={type:o,payload:i},l=this._actions[o];if(l){try{this._actionSubscribers.slice().filter(function(d){return d.before}).forEach(function(d){return d.before(a,s.state)})}catch(d){}var c=l.length>1?Promise.all(l.map(function(d){return d(i)})):l[0](i);return new Promise(function(d,u){c.then(function(p){try{s._actionSubscribers.filter(function(_){return _.after}).forEach(function(_){return _.after(a,s.state)})}catch(_){}d(p)},function(p){try{s._actionSubscribers.filter(function(_){return _.error}).forEach(function(_){return _.error(a,s.state,p)})}catch(_){}u(p)})})}};De.prototype.subscribe=function(t,n){return Fu(t,this._subscribers,n)};De.prototype.subscribeAction=function(t,n){var s=typeof t=="function"?{before:t}:t;return Fu(s,this._actionSubscribers,n)};De.prototype.watch=function(t,n,s){var r=this;return Ru(function(){return t(r.state,r.getters)},n,Object.assign({},s))};De.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};De.prototype.registerModule=function(t,n,s){s===void 0&&(s={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),Cr(this,this.state,t,this._modules.get(t),s.preserveState),ja(this,this.state)};De.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var s=Ha(n.state,t.slice(0,-1));delete s[t[t.length-1]]}),Uu(this)};De.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};De.prototype.hotUpdate=function(t){this._modules.update(t),Uu(this,!0)};De.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(De.prototype,Ga);var fe=Zu(function(e,t){var n={};return Ju(t).forEach(function(s){var r=s.key,o=s.val;o=e+o,n[r]=function(){if(!(e&&!Qu(this.$store,"mapGetters",e)))return this.$store.getters[o]},n[r].vuex=!0}),n}),Ne=Zu(function(e,t){var n={};return Ju(t).forEach(function(s){var r=s.key,o=s.val;n[r]=function(){for(var a=[],l=arguments.length;l--;)a[l]=arguments[l];var c=this.$store.dispatch;if(e){var d=Qu(this.$store,"mapActions",e);if(!d)return;c=d.context.dispatch}return typeof o=="function"?o.apply(this,[c].concat(a)):c.apply(this.$store,[o].concat(a))}}),n});function Ju(e){return _f(e)?Array.isArray(e)?e.map(function(t){return{key:t,val:t}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function _f(e){return Array.isArray(e)||zu(e)}function Zu(e){return function(t,n){return typeof t!="string"?(n=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),e(t,n)}}function Qu(e,t,n){var s=e._modulesNamespaceMap[n];return s}const Nt=(function e(t){function n(r,o,i){var a,l={};if(Array.isArray(r))return r.concat(o);for(a in r)l[i?a.toLowerCase():a]=r[a];for(a in o){var c=i?a.toLowerCase():a,d=o[a];l[c]=c in l&&typeof d=="object"?n(l[c],d,c=="headers"):d}return l}function s(r,o,i,a,l){var c=typeof r!="string"?(o=r).url:r,d={config:o},u=n(t,o),p={};a=a||u.data,(u.transformRequest||[]).map(function(_){a=_(a,u.headers)||a}),u.auth&&(p.authorization=u.auth),a&&typeof a=="object"&&typeof a.append!="function"&&typeof a.text!="function"&&(a=JSON.stringify(a),p["content-type"]="application/json");try{p[u.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp("(^|; )"+u.xsrfCookieName+"=([^;]*)"))[2])}catch(_){}return u.baseURL&&(c=c.replace(/^(?!.*\/\/)\/?/,u.baseURL+"/")),u.params&&(c+=(~c.indexOf("?")?"&":"?")+(u.paramsSerializer?u.paramsSerializer(u.params):new URLSearchParams(u.params))),(u.fetch||fetch)(c,{method:(i||u.method||"get").toUpperCase(),body:a,headers:n(u.headers,p,!0),credentials:u.withCredentials?"include":l}).then(function(_){for(var V in _)typeof _[V]!="function"&&(d[V]=_[V]);
2return u.responseType=="stream"?(d.data=_.body,d):_[u.responseType||"text"]().then(function(E){d.data=E,d.data=JSON.parse(E)}).catch(Object).then(function(){return(u.validateStatus?u.validateStatus(_.status):_.ok)?d:Promise.reject(d)})})}return t=t||{},s.request=s,s.get=function(r,o){return s(r,o,"get")},s.delete=function(r,o){return s(r,o,"delete")},s.head=function(r,o){return s(r,o,"head")},s.options=function(r,o){return s(r,o,"options")},s.post=function(r,o,i){return s(r,i,"post",o)},s.put=function(r,o,i){return s(r,i,"put",o)},s.patch=function(r,o,i){return s(r,i,"patch",o)},s.all=Promise.all.bind(Promise),s.spread=function(r){return r.apply.bind(r,r)},s.CancelToken=typeof AbortController=="function"?AbortController:Object,s.defaults=t,s.create=e,s})(),ma="soylent_component_data_",mf={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&&t.persistent===!0&&window.localStorage.setItem(ma+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){return e.hasFavorites},currentData(e){return e.currentData},headerHeight(e){return e.headerHeight},isLoading(e){return e.loading},isCategoryModalOpen(e){return e.categoryModalOpen},isMenuOpen(e){return e.menuOpen},isSubMenuOpen(e){return e.subMenuOpen},isSearchOpen(e){return e.searchOpen},pageData(e){return e.pageData},pageDebugData(e){return e.pageDebugData},pageTemplate(e){return e.pageTemplate},scrollOffset(e){return e.scrollOffset},isScriptLoaded:e=>t=>e.loadedScripts.includes(t),componentData(e){return e.componentData},renderedFullPage(e){return e.renderedFullPage},renderedImages(e){return 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)},setLoading(e,t){e.commit("SET_LOADING",!!t)},getCurrentData(e){Nt.get("/cache/soylent/current_data.json").then(t=>{const n=t.data;e.commit("SET_CURRENT_DATA",n)}).catch(t=>{if(!t.response){console.debug(t);return}console.debug(t.response)})},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")}}};let ff=!1,wf=null;const gf={state:{modalVisible:ff,modalType:wf},mutations:{SET_MODAL_VISIBLE(e,t){e.modalVisible=t},SET_MODAL_TYPE(e,t){e.modalType=t}},getters:{modalVisible(e){return e.modalVisible},modalType(e){return e.modalType}},actions:{setModalVisible(e,t){e.commit("SET_MODAL_VISIBLE",t)},setModalType(e,t){e.commit("SET_MODAL_TYPE",t)}}},Xu="SHOW_READER",eh="HIDE_READER",th="SHOW_READER_AUTOPLAY",nh="SET_READER_AUTOPLAY",yf={[Xu](e){return e.show=!0,!0},[th](e){return e.show=!0,e.autoplay=!0,!0}
2,[nh](e,t){return e.autoplay=t,!0},[eh](e,t){return e.show=!1,e.autoplay=!1,!0}},vf={show:e=>e.show,autoplay:e=>e.autoplay},bf={showReader:function({commit:e},t){return e(Xu,t)},showReaderAutoplay:function({commit:e},t){return e(th,t)},setReaderAutoplay:function({commit:e},t){return e(nh,t)},hideReader:function({commit:e},t){return e(eh,t)}},Ef={state:{show:!1,autoplay:!1},namespaced:!0,mutations:yf,getters:vf,actions:bf},kf={app:mf,modal:gf,reader:Ef},H=pf({modules:kf});window.soylentRegisterStoreModule=function(e,t){if(H.hasModule(e)){console.debug("[soylent] Cannot register store module [".concat(e,"] as it already exists"));return}H.registerModule(e,t)};Object.keys(window.localStorage).forEach(e=>{const t=new RegExp("^".concat(ma.replace(/\./g,"."),"(.+)$"),"i"),n=e.match(t);n&&H.dispatch("setComponentData",{key:n[1],value:JSON.parse(window.localStorage.getItem("".concat(ma).concat(n[1]))),persistant:!1})});const Cf={RESPONSE_DATA:"BASE_VIEW__RESPONSE_DATA"},sh={SHOW_RESTRICTED:"BLOCK__SHOW_RESTRICTED"};function Sf(e,t=document.body){if(e.substr(0,1)==="<")return document.createElement(e.replace(/[</>]/g,""));const n=Af(e,t);return n.length>=1?n[0]:null}function Af(e,t=[document.body]){let n=[];return t=t&&t.constructor===Array?t:[t],t.forEach(function(s){n=n.concat([].slice.call((s||document).querySelectorAll(e)))}),n}function oh(e){let t=(e||"").split("-");return t=t.map(n=>n.substr(0,1).toUpperCase()+n.substr(1)),t.join("")}function Vf(e){const t=/(<([^>]+)>)/ig;return e.replace(t,"")}const Tf={name:"ElementHeader",props:["headline","settings"]},Pf=window.Vue.toDisplayString,$f=window.Vue.openBlock,Df=window.Vue.createElementBlock,Nf={class:"headline element-header"};function If(e,t,n,s,r,o){return $f(),Df("h2",Nf,Pf(n.headline),1)}const Bf=y(Tf,[["render",If]]);var bn;class Ya{constructor(){R(this,bn,{})}set(t){if(typeof t!="object"){console.error("[soylent:componentProvider] set failed, you did not pass a collection",t);return}Object.assign(h(this,bn),t)}has(t){return Object.keys(h(this,bn)).indexOf(t)>=0}get(){return h(this,bn)}getByName(t,n=null){return this.has(t)?h(this,bn)[t]:n}}bn=new WeakMap;const he=new Ya;class In{static isAvailable(){return typeof window<"u"&&!!window.UC_UI}static isInitialized(){return!this.isAvailable()||typeof window.UC_UI.isInitialized!="function"?!1:window.UC_UI.isInitialized()}static getServicesBaseInfo(){if(!this.isInitialized()||typeof window.UC_UI.getServicesBaseInfo!="function")return[];const t=window.UC_UI.getServicesBaseInfo();return Array.isArray(t)?t:[]}static hasConsent(t=[]){if(!Array.isArray(t)||t.length===0)return!0;const n=this.isAvailable(),s=this.isInitialized();if(!n||!s)return!1;const r=t.map(a=>String(a).trim().toLowerCase()).filter(Boolean);return r.length===0?!0:this.getServicesBaseInfo().some(a=>{const l=a==null?void 0:a.consent;if(!((l==null?void 0:l.status)===!0||l===!0))return!1;const d=[a==null?void 0:a.name,a==null?void 0:a.serviceName,a==null?void 0:a.dataProcessor,a==null?void 0:a.categoryName].map(u=>String(u!=null?u:"").trim().toLowerCase()).filter(Boolean);return r.some(u=>d.includes(u))})}static hasService(t=[]){if(!Array.isArray(t)||t.length===0)return!0;const n=this.isAvailable(),s=this.isInitialized();if(!n||!s)return null;const r=t.map(a=>String(a).trim().toLowerCase()).filter(Boolean);return r.length===0?!0:this.getServicesBaseInfo().some(a=>{const l=[a==null?void 0:a.name,a==null?void 0:a.serviceName,a==null?void 0:a.dataProcessor,a==null?void 0:a.categoryName].map(c=>String(c!=null?c:"").trim().toLowerCase()).filter(Boolean);return r.some(c=>l.includes(c))})}static getServiceState(t=[]){const n=this.hasService(t);return n===!0?"matched":n===!1?"missing":"unknown"}static onConsentChanged(t){typeof t=="function"&&(window.addEventListener("UC_UI_INITIALIZED",t),window.addEventListener("UC_UI_VIEW_CHANGED",t))}static offConsentChanged(t){typeof t=="function"&&(window.removeEventListener("UC_UI_INITIALIZED",t),window.removeEventListener("UC_UI_VIEW_CHANGED",t))}static openPrivacySettings(){return this.isAvailable()&&typeof window.UC_UI.showSecondLayer=="function"?(window.UC_UI.showSecondLayer(),!0):!1}static findServiceIds(t=[]){if(!Array.isArray(t)||t.length===0)return[];const n=t.map(r=>
2String(r).trim().toLowerCase()).filter(Boolean);return n.length===0?[]:this.getServicesBaseInfo().filter(r=>{const o=[r==null?void 0:r.name,r==null?void 0:r.serviceName,r==null?void 0:r.dataProcessor,r==null?void 0:r.categoryName].map(i=>String(i!=null?i:"").trim().toLowerCase()).filter(Boolean);return n.some(i=>o.includes(i))}).map(r=>r==null?void 0:r.id).filter(Boolean)}static acceptServices(t=[]){if(!this.isAvailable()||typeof window.UC_UI.acceptService!="function")return Promise.resolve(!1);const n=this.findServiceIds(t);return n.length===0?Promise.resolve(!1):Promise.all(n.map(s=>window.UC_UI.acceptService(s))).then(()=>(window.dispatchEvent(new CustomEvent("consent-changed",{detail:{source:"usercentrics",ids:n}})),!0)).catch(()=>!1)}}const Gs="none",fa="manual",dr="usercentrics",Of="Content freischalten",xf="Dieser Inhalt benötigt eine manuelle Freischaltung",Rf="Content freischalten",Mf="Dieser Inhalt benötigt eine manuelle Freischaltung";function Lf(e){return parseInt(e,10)===1}function rh(e=[]){return Array.isArray(e)?e.map(t=>String(t).trim()).filter(Boolean):[]}function zf({consentNeeded:e,usercentricsAvailable:t,usercentricsServices:n}){return Lf(e)?t&&rh(n).length>0?dr:fa:Gs}function Hl(e){return e?window.localStorage.getItem(e)==="1":!1}function Gl(e){e&&(window.localStorage.setItem(e,"1"),window.dispatchEvent(new CustomEvent("consent-changed",{detail:{identifier:e}})))}function Yl(e){return e===dr?{buttonLabel:Of,text:xf}:{buttonLabel:Rf,text:Mf}}const Ff={name:"CustomHtmlBlock",props:["element"],data(){return{agreed:!1,forceManualFallback:!1}},computed:{usercentricsDps(){var e;return String((e=this.element.data.usercentrics_dps)!=null?e:"").trim()},usercentricsServices(){return rh([this.usercentricsDps])},usercentricsAvailable(){var e,t;return(t=(e=this.element.data)==null?void 0:e.usercentrics_available)!=null?t:!1},consentKey(){return this.element.data.uid},configuredConsentMode(){return zf({consentNeeded:this.element.data.consent_needed,usercentricsAvailable:this.usercentricsAvailable,usercentricsServices:this.usercentricsServices})},activeConsentMode(){return this.configuredConsentMode===Gs?Gs:this.forceManualFallback?fa:this.configuredConsentMode},canLoad:function(){return this.activeConsentMode===Gs||this.agreed},consentButtonLabel:function(){return this.element.data.blocker_button_label?this.element.data.blocker_button_label:Yl(this.activeConsentMode).buttonLabel},consentText:function(){return this.element.data.blocker_text?this.element.data.blocker_text:Yl(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===dr){const e=In.getServiceState(this.usercentricsServices);if(e==="missing")this.forceManualFallback=!0;else if(e==="matched"){In.acceptServices(this.usercentricsServices).then(t=>{if(t){this.refreshConsentState(),this.canLoad&&this.initScripts();return}this.forceManualFallback=!0,this.agreed=!0,Gl(this.consentKey),this.initScripts()});return}else return}this.agreed=!0,Gl(this.consentKey),this.initScripts()},onConsentChanged(e){var t;if(this.activeConsentMode!==dr){const n=(t=e==null?void 0:e.detail)==null?void 0:t.identifier;if(n&&n!==this.consentKey)return}this.refreshConsentState(),this.canLoad&&this.initScripts()},refreshConsentState(){if(this.activeConsentMode===Gs){this.agreed=!0;return}if(this.activeConsentMode===fa){this.agreed=Hl(this.consentKey);return}const e=In.getServiceState(this.usercentricsServices);if(e==="missing"){this.forceManualFallback=!0,this.agreed=Hl(this.consentKey);return}if(e==="unknown"){this.agreed=!1;return}this.agreed=In.hasConsent(this.usercentricsServices)}
2,loadScript(e,t=!0){if(t===!0&&this.$store.getters.isScriptLoaded(e.identifier))return;const n=document.createElement(e.type);if(e.attr)for(const s in e.attr)s==="innerText"?n[s]=e.attr[s]:n.setAttribute(s,e.attr[s]);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(){In.onConsentChanged(this.onConsentChanged),window.addEventListener("consent-changed",this.onConsentChanged),this.refreshConsentState(),this.canLoad&&this.initScripts()},beforeUnmount(){In.offConsentChanged(this.onConsentChanged),window.removeEventListener("consent-changed",this.onConsentChanged)}},Lr=window.Vue.openBlock,zr=window.Vue.createElementBlock;window.Vue.createCommentVNode;const Wl=window.Vue.toDisplayString,ql=window.Vue.createElementVNode,Uf=window.Vue.normalizeClass,jf=["innerHTML"],Hf={key:1,class:"consent-wrapper"},Gf={class:"consent-text"};function Yf(e,t,n,s,r,o){return Lr(),zr("div",{class:Uf(["element",o.elementClasses])},[o.canLoad?(Lr(),zr("div",{key:0,innerHTML:n.element.data.html_data,ref:"html_data"},null,8,jf)):(Lr(),zr("div",Hf,[ql("p",Gf,Wl(o.consentText),1),ql("a",{class:"consent-button",onClick:t[0]||(t[0]=(...i)=>o.agree&&o.agree(...i))},Wl(o.consentButtonLabel),1)]))],2)}const Wf=y(Ff,[["render",Yf]]),ih={name:"EditorElement",props:{element:{type:Object,default:function(){return{type:null,subtype:null,data:{}}}}}},qf={name:"Placeholder",extends:ih},Kl=window.Vue.toDisplayString,Kf=window.Vue.createElementVNode,Jf=window.Vue.createTextVNode,Zf=window.Vue.openBlock,Qf=window.Vue.createElementBlock,Xf=window.Vue.createCommentVNode,ew={key:0,class:"element default"};function tw(e,t,n,s,r,o){return this.$production_mode?Xf("",!0):(Zf(),Qf("div",ew,[t[0]||(t[0]=Jf(" I am a placeholder, you need to implement me: ",-1)),Kf("code",null,".element."+Kl(e.element.type||"")+"."+Kl(e.element.subtype||""),1)]))}const nw=y(qf,[["render",tw]]);function sw(){return window.soylentEditorElementProvider||(window.soylentEditorElementProvider=new Ya,window.soylentEditorElementProvider.set({CustomHtmlBlock:Wf,Placeholder:nw})),window.soylentEditorElementProvider}const Ks=sw(),ow=new Event(Zn.ELEMENT_PROVIDER_READY);window.dispatchEvent(ow);const rw={name:"IdvlEditorSlot",components:Ks.get(),props:["element"],data(){return{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,Ks.get()),this.getElementComponentName(this.defaultElement))},elementKey:function(){return this.elementComponent==="SoylentPostShortcutListDefault"||this.elementComponent==="SoylentPostShortcutList"?this.element.data.archive_url:this.elementComponent==="SoylentOpenerMedia"?this.element.data.media_id:Date.now()+" _ "+Math.random()},slotHeadline:function(){return this.element.slot_settings.soylent_headline||""},elementHeader:function(){return he.getByName("elementHeader",Bf)},slotClasses:function(){return this.element.slot_settings.css||""}},methods:{hasElement(e){return Ks.has(e)},getElementComponentName(e){return oh(e||"")}}},Jl=window.Vue.resolveDynamicComponent,Fr=window.Vue.openBlock,Zl=window.Vue.createBlock,Ql=window.Vue.createCommentVNode,iw=window.Vue.normalizeClass,aw=window.Vue.createElementBlock;function lw(e,t,n,s,r,o){return Fr(),aw("div",{class:iw(["slot",o.slotClasses])},[o.slotHeadline?(Fr(),Zl(Jl(o.elementHeader),{key:0,headline:o.slotHeadline,settings:n.element.slot_settings},null,8,["headline","settings"])):Ql("",!0),n.element.type?(Fr(),Zl(Jl(o.elementComponent),{element:n.element,key:o.elementKey},null,8,["element"])):Ql("",!0)],2)}const wa=y(rw,[["render",lw]]),ah=()=>{let e=new Date().getTime(),t=performance&&performance.now&&performance.now()*1e3||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,n=>{let s=Math.random()*16;return e>0?(s=(e+s)%16|0,e=Math.floor(e/16)):(s=(t+s)%16|0,t=Math.floor(t/16)),(n=="x"?s:s&7|8).toString(16)})},cw="get",dw="post",Xs={get:(e,t)=>
2new Ur({...t,url:e}),post:(e,t,n={})=>new Ur({...n,data:t,method:dw,url:e}),request:e=>new Ur(e)},Xl=Object.freeze({data:null,headers:{},method:cw,onUploadProgress:null,signal:null,url:""});var ce,Er,lh;class Ur{constructor(t=Xl){R(this,Er);R(this,ce);return t=Object.assign({},Xl,t),ne(this,ce,new XMLHttpRequest),h(this,ce).open(t.method,t.url),Object.keys(t.headers).forEach(n=>h(this,ce).setRequestHeader(n,t.headers[n])),typeof t.onUploadStart=="function"&&(h(this,ce).upload.onloadstart=t.onUploadStart()),typeof t.onUploadProgress=="function"&&(h(this,ce).upload.onprogress=n=>{n.lengthComputable&&t.onUploadProgress(n.loaded,n.total)}),t.signal&&t.signal.addEventListener&&t.signal.addEventListener("abort",()=>{h(this,ce).abort()}),new Promise((n,s)=>{h(this,ce).onload=()=>{if(h(this,ce).status>=200&&h(this,ce).status<300){if(h(this,ce).getResponseHeader("Content-Type")==="application/json")try{n(JSON.parse(h(this,ce).response))}catch(o){}n(h(this,ce).response)}else s({status:h(this,ce).status,statusText:h(this,ce).statusText})},h(this,ce).onerror=()=>{s({status:h(this,ce).status,statusText:h(this,ce).statusText})},t.data?(t.data.constructor!==FormData&&typeof t.data=="object"&&(t.data=K(this,Er,lh).call(this,t.data)),h(this,ce).send(t.data)):h(this,ce).send()})}}ce=new WeakMap,Er=new WeakSet,lh=function(t){const n=new FormData;for(const s in t)n.append(s,t[s]);return n};class uw{constructor(){this.items={},this.observer=new IntersectionObserver(this.observerCallback.bind(this),{threshold:.3})}add(t,n,s){this.items[t]={el:n,cb:s},n.setAttribute("data-uid",t),this.observer.observe(n)}observerCallback(t,n){t.forEach(s=>{if(s.intersectionRatio>0){let r=s.target.getAttribute("data-uid");r in this.items&&(this.items[r].cb(),n.unobserve(s.target),this.remove(r))}})}remove(t){this.items[t]&&delete this.items[t]}}let tr;window.cmmsScrollWatcher?tr=window.cmmsScrollWatcher:(tr=new uw,window.cmmsScrollWatcher=tr);const ec=tr;class hw{constructor(t,n){this.selectors=t,this.params=n,this.options=this.getOptions(),this.items=this.getItems(),this.lightBox=null,t.forEach((s,r)=>{let o;n.type==="gallery"?(o=s,o=s):o=s.$el,o.setAttribute("data-pswp-uid",r),o.setAttribute("tabindex","0"),o.addEventListener("keydown",i=>{(i.keyCode===13||i.key==="Enter"||i.keyCode===32||i.key===" ")&&(i.preventDefault(),this.options.galleryUID=r,this.open(this.options.galleryUID))}),o.addEventListener("click",()=>{this.options.galleryUID=r,this.open(this.options.galleryUID)})})}getItems(){const t=[];switch(this.params.type){case"picture":t.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":t.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(n){t.push({src:n.src,width:n.size.width,height:n.size.height,alt:n.desc})});break}return t}getOptions(){return{}}async open(t){const{default:n}=await b(async()=>{const{default:o}=await import("./photoswipe-lightbox.esm.js");return{default:o}},[]),s={dataSource:this.items,showHideAnimationType:"zoom",pswpModule:()=>b(()=>import("./photoswipe.esm.js"),[])},r=new n(s);r.on("uiRegister",()=>{r.pswp.ui.registerElement({name:"caption",order:9,isButton:!1,appendTo:"root",html:"",onInit:(o,i)=>{r.pswp.on("change",()=>{let l='<div class="pswp__caption__content">'+r.pswp.currSlide.data.alt+"</div>";o.innerHTML=l||""})}}),(!("disableDownload"in this.params)||!this.params.disableDownload)&&r.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(o,i,a)=>{const l=a.currSlide.data.src,d=await(await fetch(l)).blob(),u=URL.createObjectURL(d),p=document.createElement("a");p.href=u,p.download=l.split("/").pop(),p.click(),URL.revokeObjectURL(u)}})}),r.init(),r.loadAndOpen(parseInt(t,10))}}const lt=[1920,1328,1024,768,425,320],tc=[480],pw={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(){return{imageIndex:0,loadingMode:"eager",loadingPriority:"auto",uid:null,visible:!1,
2containerWidth:0,containerHeight:0,containerRatio:0,width:0,height:0,ratio:1,maxWidth:lt[lt.length-1],responsiveStep:-1,domRendered:!1}},computed:{...fe(["renderedImages"]),style:function(){const e='background-image: url("'.concat(this.src,'");'),t=0<this.maxHeight?"max-height: ".concat(this.maxHeight,"px;"):"";return e+t},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 s=lt.length-1,r=lt[s],o=lt[s]/this.ratio;for(;(r<=this.containerWidth||o<=this.containerHeight)&&r<=this.image.width&&o<=this.image.height&&s>=0;)s--,r=lt[s],o=lt[s]/this.ratio;return this.width=r,this.height=o,this.responsiveStep=s,this.buildSrc(this.width,this.height)}const e=20;let t=this.fill?e:Math.round(this.image.height/(this.image.width/e));return'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="'+e+'" height="'+t+'">\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:!1}},methods:{...Ne(["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=lt.length-1;for(;n>=0&&this.containerWidth>lt[n];)n--;this.maxWidth=lt[n],this.responsiveStep=n},buildSrc(e,t){let n;if(this.blur===!0)n="200xeb_20x10/";else if(this.imageSizeReference==="height"){this.height=tc[tc.length-1],this.width=Math.round(this.image.width/(this.image.height/this.height));let s=Math.round(this.height*this.dpr);n="x".concat(s,"/")}else{this.width=e,this.height=Math.round(this.image.height/(this.image.width/this.width));let s=Math.round(Number(e)*this.dpr);n="".concat(s,"x/")}return"".concat(window.cmms_thumbs_base).concat(n).concat(this.image.media_id,".webp")},setVisible:function(){this.visible=!0},buildLightBox(){new hw([this],{type:"picture",src:"".concat(window.cmms_thumbs_base,"f:webp/").concat(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=ah(),ec.add(this.uid,this.$el,this.setVisible)):this.setVisible(),this.zoom&&this.buildLightBox()},watch:{updateVisibility:function(e){e===!0&&this.setVisible()}},beforeUnmount(){window.removeEventListener("resize",this.update),ec.remove(this.uid)}},_w=window.Vue.normalizeStyle,mw=window.Vue.createElementVNode,jr=window.Vue.openBlock,Hr=window.Vue.createElementBlock,nc=window.Vue.createCommentVNode,sc=window.Vue.normalizeClass,fw=["innerHTML"],ww=["width","height","loading","src","alt","fetchPriority"];function gw(e,t,n,s,r,o){return n.fill&&!n.zoom?(jr(),Hr("span",{key:0,class:sc(["responsive-image",n.fill?"-fill":"",n.contain?"-contain":"",r.visible?"--visible":"","_align-img-".concat(n.vAlign,"-").concat(n.hAlign)])},[mw("span",{style:_w(o.style)},null,4),o.copyright?(jr(),Hr("span",{key:0,class:"responsive-image-copyright",innerHTML:o.copyright},null,8,fw)):nc("",!0)],2)):n.fill?nc("",!0):(jr(),Hr("img",{key:1,width:r.width,height:r.height,loading:r.loadingMode,src:o.src,alt:o.alt,class:sc("_align-img-".concat(n.vAlign,"-").concat(n.hAlign)),fetchPriority:r.loadingPriority},null,10,ww))}const be=y(pw,[["render",gw]]),yw={name:"IdvlEditorBlock",components:{CmmsResponsiveImage:be,IdvlEditorSlot:wa},props:["block"],data:function(){return{uuid:ah()}},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="".concat(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===""?!0:hs.filter(sh.SHOW_RESTRICTED,this.block.settings.soylent_access_restriction==="no_auth",{},this.block.settings.soylent_access_restriction,this.block):!0},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(){return he.getByName("editorSlot",wa)}}
2,methods:{elementKey:function(e){return"el-".concat(this.uuid,"-").concat(e)},retrieveElements:function(){this.block.retrieve_restricted_url&&Xs.get(this.block.retrieve_restricted_url).then(e=>{this.block.elements=e})}},mounted(){this.showBlock&&this.retrieveElements()},watch:{showBlock:function(e){e===!0&&this.retrieveElements()}}},Bn=window.Vue.openBlock,go=window.Vue.createElementBlock,yo=window.Vue.createCommentVNode,vw=window.Vue.resolveComponent,oc=window.Vue.createBlock,bw=window.Vue.renderList,Ew=window.Vue.Fragment,kw=window.Vue.resolveDynamicComponent,rc=window.Vue.normalizeClass,Cw=window.Vue.createElementVNode,Sw=["id"],Aw={key:1,class:"block__background"};function Vw(e,t,n,s,r,o){const i=vw("CmmsResponsiveImage");return o.showBlock?(Bn(),go("div",{key:0,class:rc(["block-wrapper",o.padding,o.blockWrapperClass])},[o.anchor?(Bn(),go("div",{key:0,class:"block-anchor",id:o.anchor},null,8,Sw)):yo("",!0),o.image?(Bn(),go("div",Aw,[o.image?(Bn(),oc(i,{key:0,image:o.image,fill:!0,blur:o.imageBlur},null,8,["image","blur"])):yo("",!0)])):yo("",!0),Cw("div",{class:rc(["block",n.block.block_type])},[(Bn(!0),go(Ew,null,bw(n.block.elements,(a,l)=>(Bn(),oc(kw(o.editorSlotComponent),{key:o.elementKey(l),element:a},null,8,["element"]))),128))],2)],2)):yo("",!0)}const ic=y(yw,[["render",Vw]]),Tw={name:"IdvlEditor",components:{IdvlEditorBlock:ic},props:["blocks"],data:function(){return{editorDataVersion:"",maxItems:0}},computed:{elementIdvlEditorBlock:function(){return he.getByName("idvlEditorBlock",ic)},getBlocks(){let e=this.$store.getters.renderedFullPage?this.blocks.length:20,t=this.blocks.filter(n=>n!==null);return t=t.slice(0,e),t}},watch:{blocks(){this.bumpEditorDataVersion()}},methods:{blockKey(e,t){return e!==null?"block_id_"+e.id:"block_index"+t},bumpEditorDataVersion:function(){this.editorDataVersion="".concat(Date.now(),"_").concat(Math.random())}},updated(){this.$nextTick(function(){window.dispatchEvent(new Event("repainted"))})}},Pw=window.Vue.renderList,$w=window.Vue.Fragment,Gr=window.Vue.openBlock,ac=window.Vue.createElementBlock,Dw=window.Vue.resolveDynamicComponent,Nw=window.Vue.createBlock;function Iw(e,t,n,s,r,o){return Gr(),ac("div",{class:"idvl-editor",key:e.editorDataVersion},[(Gr(!0),ac($w,null,Pw(o.getBlocks,(i,a)=>(Gr(),Nw(Dw(o.elementIdvlEditorBlock),{key:o.blockKey(i,a),block:i},null,8,["block"]))),128))])}const ch=y(Tw,[["render",Iw]]),Bw={name:"IdvlEditorTemplate",components:{IdvlEditor:ch},props:["data"]},Ow=window.Vue.resolveComponent,xw=window.Vue.openBlock,Rw=window.Vue.createBlock;function Mw(e,t,n,s,r,o){const i=Ow("idvl-editor");return xw(),Rw(i,{blocks:n.data.blocks},null,8,["blocks"])}const Lw=y(Bw,[["render",Mw]]),ga=new Ya;ga.set({IdvlEditorTemplateDefault:Lw});function dh(e,t=500){e&&setTimeout(()=>{let n=document.querySelector(e);n&&n.scrollIntoView({behavior:"instant",block:"start",inline:"nearest"})},t)}class zw{static track(t){if("IOMm"in window&&t.ivw)try{IOMm("pageview",{cp:t.ivw})}catch(n){console.debug("[InfOnline] pv exception:",n.getMessage())}else t.ivw&&console.debug("[InfOnline] not loaded")}}var xe,es,tn,uh,hh,ph;class Fw{constructor(){R(this,tn);R(this,xe);R(this,es)}updateMarkup(t){ne(this,xe,t),K(this,tn,uh).call(this),K(this,tn,hh).call(this),K(this,tn,ph).call(this)}}xe=new WeakMap,es=new WeakMap,tn=new WeakSet,uh=function(){const t=document.querySelector('link[rel="canonical"]');if(h(this,xe).canonical)if(t)t.setAttribute("href",h(this,xe).canonical);else{const n=document.createElement("link");n.rel="canonical",n.href=h(this,xe).canonical,document.getElementsByTagName("head")[0].appendChild(n)}else t&&t.remove()},hh=function(){if(!("meta"in h(this,xe)))return;const t=Object.keys(h(this,xe).meta);t.forEach(n=>{const s=n.indexOf(":")===-1?"name":"property",r=document.querySelectorAll("meta["+s+'="'+n+'"]')[0],o=h(this,xe).meta[n];if(r)o&&o!=="false"?r.setAttribute("content",o):r.remove();else{const i=document.createElement("meta");i.setAttribute(s,n),i.content=h(this,xe).meta[n],document.getElementsByTagName("head")[0].appendChild(i)}}),document.querySelectorAll('meta[property^="og:"]').forEach(n=>{t.includes(n.getAttribute("property"))||n.remove()})}
2,ph=function(){if("json_ld"in h(this,xe)){if(!h(this,es)){let t=document.querySelector('script[type="application/ld+json"]');t||(t=document.createElement("script"),t.type="application/ld+json",document.getElementsByTagName("head")[0].appendChild(t)),ne(this,es,t)}h(this,es).innerHTML=JSON.stringify(h(this,xe).json_ld)}};const Uw=new Fw;class jw{constructor(){this.instance=("0000"+Math.round(Math.random()*1e3)).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(t,n=!1){if(!this.enabled){this.payloadQueue.push(t),console.debug("[bridge] Queued payload",t);return}if(this.payloadQueue.length&&!n&&(this.payloadQueue.forEach(s=>this.sendPayload(s,!0)),this.payloadQueue=[]),t!==null){console.debug("[bridge] Send payload",t);try{t=JSON.stringify(t),window.ReactNativeWebView.postMessage(t)}catch(s){console.debug("[bridge] Could not send payload",s,t)}}}dispatchPayload(t){return console.debug("[bridge] Got payload",t),this.callbacks.forEach(n=>{const{cb:s,type:r}=n;if(!r.length||r===String(t.type))try{s(Object.assign({instance:this.instance},t))}catch(o){console.debug("[bridge] Could not fire callback",s,this.callbacks)}}),!0}onPayload(t,n=""){typeof t=="function"&&this.callbacks.push({cb:t,type:String(n)})}}const ue=new jw,Hw={name:"BaseView",components:ga.get(),data(){var e;return{lastUri:null,uri:(e=document.location.pathname)!=null?e: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:{...Ne(["resetRenderedImages"]),nav(e,t="",n=!1){if(this.resetRenderedImages(),this.hash=t,!n&&e===this.uri){this.scrollToAnchor();return}n||(this.lastUri=this.uri,this.uri=e),this.$store.dispatch("setLoading",!0),Sn.dispatch(nl.NAV),Nt.get(e,{headers:{"X-Headless":1}}).then(s=>this.handleResponse(s)).catch(s=>{if(!s.response){console.debug(s);return}this.handleResponse(s.response)}).finally(()=>{this.$store.dispatch("setLoading",!1),document.title=this.title,this.$nextTick(()=>{if(this.dispatchPageLoadEvent(e,this.title,this.lastUri),window._paq)try{this.lastUri!==null&&window._paq.push(["setReferrerUrl",this.lastUri]),window._paq.push(["setCustomUrl",e]),window._paq.push(["setDocumentTitle",this.title]),window._paq.push(["trackPageView"])}catch(s){}if(window.qy)try{window.qy.tracking.track("fix:view",{identifier:e,type:"web",occurredon:new Date().toISOString()})}catch(s){}})})},reload(){this.nav(this.uri,this.hash,!0)},handleResponse(e){const t=hs.filter(Cf.RESPONSE_DATA,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&&Uw.updateMarkup(t.data.seo),!this.classes.includes("suppress-cmp"))try{window.cmmsCmpSpawnIfNecessary()}catch(n){}this.template!==null&&this.classes.push(this.template),this.$store.dispatch("setPageData",this.data),this.$store.dispatch("setPageDebugData",this.debug),Sn.dispatch(nl.HANDLE_RESPONSE)},handleScripts(){},hasTemplate(e){return ga.has(e)},getTemplateComponentName(e,t=""){return oh((e||"")+"-template"+t)},scrollToAnchor(){this.hash&&this.hash.length&&Sf(this.hash)&&dh(this.hash,300)},executeTracking(e){zw.track(e)},maybeAddAppNativeClass(){We&&this.$nextTick(()=>{document.body.classList.add("app-native")}
2)},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),ue.onPayload(e=>{const{eventType:t}=e;t==="reload"&&this.reload()},"event")}},Gw=window.Vue.resolveDynamicComponent,lc=window.Vue.openBlock,Yw=window.Vue.createBlock,Ww=window.Vue.createElementBlock,qw={class:"content"};function Kw(e,t,n,s,r,o){return lc(),Ww("main",qw,[(lc(),Yw(Gw(o.templateComponent),{data:r.data},null,8,["data"]))])}const Jw=y(Hw,[["render",Kw]]),yt=Gm({history:km(),linkExactActiveClass:"-active --active",linkActiveClass:"-active --active",routes:[{path:"/:pathMatch(.*)*",component:Jw}],scrollBehavior:function(e,t,n){try{clearTimeout(yt.timeout)}catch(r){}n?H.dispatch("setScrollOffset",n):H.dispatch("setScrollOffset",{x:0,y:0});let s=300;return e.hash?(t.href||(ya=e.hash),!1):e.href===t.href?!1:new Promise((r,o)=>{yt.timeout=setTimeout(()=>{r({left:0,top:n?n.top:0})},s)})}});yt.beforeEach((e,t,n)=>{e.hash!==""&&H.dispatch("setRenderedFullPage",!0),n()});yt.afterEach(e=>{e.hash!==""&&document.getElementById(e.hash.slice(1)).focus()});yt.timeout=null;let ya=null;window.onload=function(){ya!==null&&dh(ya)};function cc(e,t=2,n="0"){return e.toString().padStart(t,n)}const Zw={appendDurationPrefix:function(e){return e+" Min."},firstNLetters:function(e,t){return e.substring(0,t)},everythingExceptFirstNLetters:function(e,t){return e.substring(t)},padLeft:function(e,t=2,n="0"){return cc(e,t,n)},date:{dayMonth:function(e){return cc(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),n=t.getDate().toString().padStart(2,"0"),s=(t.getMonth()+1).toString().padStart(2,"0");return n+"."+s+"."+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){const t=new Date(e);return"".concat(t.toLocaleDateString("de-DE",{day:"numeric",month:"short",year:"numeric"}))}};function Qw(){Te.config.globalProperties.$filters=Zw}function va(e){if(typeof e>"u"||!e)return"";const t=Te.config.globalProperties.$baseUrl.replace(":8080","");return e.indexOf(t)===0?e.substr(t.length):e}function Xw(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}const _h="SET_AUTH_DATA",mh="SET_REDIRECT_PATH",eg={[_h](e,t){return e.auth=t.auth,e.loginUrl=t.login_url,e.registerUrl=t.register_url,e.logoutUrl=t.logout_url,e.userData=t.data},[mh](e,t){return e.redirectPath=t}},tg={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=>e.userData!==null&&"username"in e.userData?e.userData.username:"",userMail:e=>e.userData!==null&&"email"in e.userData?e.userData.email:"",userNameReadable:e=>e.userData!==null&&"name"in e.userData?e.userData.name:""},ng={setAuthData:function({commit:e},t){return e(_h,t)},setRedirectPath:function({commit:e},t){return e(mh,t)}},sg={state:{auth:!1,loginUrl:"",registerUrl:"",logoutUrl:"",redirectPath:"",userData:null},namespaced:!0,mutations:eg,getters:tg,actions:ng};var En;class og{constructor(){R(this,En,{})}set(t){if(typeof t!="object"){console.error("[soylent:serviceProvider] set failed, you did not pass a collection",t);return}Object.assign(h(this,En),t)}has(t){return Object.keys(h(this,En)).indexOf(t)>=0}get(){return h(this,En)}getByName(t){return this.has(t)?h(this,En)[t]:null}}En=new WeakMap;function Yr(){return"__soylent"in window||(window.__soylent={}),"serviceProvider"in window.__soylent||(window.__soylent.serviceProvider=new og),window.__soylent.serviceProvider}var Pt;class rg{constructor(){R(this,Pt)}init(t){ne(this,Pt,t),h(this,Pt).registerModule("sso",sg),hs.on(sh.SHOW_RESTRICTED,(n,s)=>s==="auth"?h(this,Pt).state.sso.auth:s==="no_auth"?!h(this,Pt).state.sso.auth:n,{priority:1}),this.getAuthData()}getAuthData(){Xs.get("/cmms-api/v3/sso/profile/status").then(t=>{h(this,Pt).dispatch("sso/setAuthData",t)}).catch(t=>{console.error("[auth]",t)})}getLoginUrl(t){const n=Ym();return t||(t=h(this,Pt).getters["sso/loginUrl"]),typeof t<"u"&&t!==null?n&&"path"in n?t="".concat(t,"?redirect=").concat(encodeURI(n.path)):t="".concat(t,"?redirect=").concat(encodeURI(window.location.pathname)):console.error("[auth] Login url undefined"),t}}Pt=new WeakMap;function eo(){return Yr().has("SSOService")||Yr().set({SSOService:new rg}),Yr().getByName("SSOService")}var fh=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not
2(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] *)"],ur=fh.join(","),wh=typeof Element>"u",An=wh?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,hr=!wh&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},pr=function(t,n){var s;n===void 0&&(n=!0);var r=t==null||(s=t.getAttribute)===null||s===void 0?void 0:s.call(t,"inert"),o=r===""||r==="true",i=o||n&&t&&(typeof t.closest=="function"?t.closest("[inert]"):pr(t.parentNode));return i},ig=function(t){var n,s=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return s===""||s==="true"},gh=function(t,n,s){if(pr(t))return[];var r=Array.prototype.slice.apply(t.querySelectorAll(ur));return n&&An.call(t,ur)&&r.unshift(t),r=r.filter(s),r},_r=function(t,n,s){for(var r=[],o=Array.from(t);o.length;){var i=o.shift();if(!pr(i,!1))if(i.tagName==="SLOT"){var a=i.assignedElements(),l=a.length?a:i.children,c=_r(l,!0,s);
vendor: 4,785 bytes, line 2
2s.flatten?r.push.apply(r,c):r.push({scopeParent:i,candidates:c})}else{var d=An.call(i,ur);d&&s.filter(i)&&(n||!t.includes(i))&&r.push(i);var u=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),p=!pr(u,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(i));if(u&&p){var _=_r(u===!0?i.children:u.children,!0,s);s.flatten?r.push.apply(r,_):r.push({scopeParent:i,candidates:_})}else o.unshift.apply(o,i.children)}}return r},yh=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},wn=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||ig(t))&&!yh(t)?0:t.tabIndex},ag=function(t,n){var s=wn(t);return s<0&&n&&!yh(t)?0:s},lg=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},vh=function(t){return t.tagName==="INPUT"},cg=function(t){return vh(t)&&t.type==="hidden"},dg=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(s){return s.tagName==="SUMMARY"});return n},ug=function(t,n){for(var s=0;s<t.length;s++)if(t[s].checked&&t[s].form===n)return t[s]},hg=function(t){if(!t.name)return!0;var n=t.form||hr(t),s=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=s(window.CSS.escape(t.name));else try{r=s(t.name)}catch(i){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",i.message),!1}var o=ug(r,t.form);return!o||o===t},pg=function(t){return vh(t)&&t.type==="radio"},_g=function(t){return pg(t)&&!hg(t)},mg=function(t){var n,s=t&&hr(t),r=(n=s)===null||n===void 0?void 0:n.host,o=!1;if(s&&s!==t){var i,a,l;for(o=!!((i=r)!==null&&i!==void 0&&(a=i.ownerDocument)!==null&&a!==void 0&&a.contains(r)||t!=null&&(l=t.ownerDocument)!==null&&l!==void 0&&l.contains(t));!o&&r;){var c,d,u;s=hr(r),r=(c=s)===null||c===void 0?void 0:c.host,o=!!((d=r)!==null&&d!==void 0&&(u=d.ownerDocument)!==null&&u!==void 0&&u.contains(r))}}return o},dc=function(t){var n=t.getBoundingClientRect(),s=n.width,r=n.height;return s===0&&r===0},fg=function(t,n){var s=n.displayCheck,r=n.getShadowRoot;if(s==="full-native"&&"checkVisibility"in t){var o=t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!o}if(getComputedStyle(t).visibility==="hidden")return!0;var i=An.call(t,"details>summary:first-of-type"),a=i?t.parentElement:t;if(An.call(a,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="full-native"||s==="legacy-full"){if(typeof r=="function"){for(var l=t;t;){var c=t.parentElement,d=hr(t);if(c&&!c.shadowRoot&&r(c)===!0)return dc(t);t.assignedSlot?t=t.assignedSlot:!c&&d!==t.ownerDocument?t=d.host:t=c}t=l}if(mg(t))return!t.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return dc(t);return!1},wg=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var s=0;s<n.children.length;s++){var r=n.children.item(s);if(r.tagName==="LEGEND")return An.call(n,"fieldset[disabled] *")?!0:!r.contains(t)}return!0}n=n.parentElement}return!1},mr=function(t,n){return!(n.disabled||cg(n)||fg(n,t)||dg(n)||wg(n))},ba=function(t,n){return!(_g(n)||wn(n)<0||!mr(t,n))},gg=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},bh=function(t){var n=[],s=[];return t.forEach(function(r,o){var i=!!r.scopeParent,a=i?r.scopeParent:r,l=ag(a,i),c=i?bh(r.candidates):a;l===0?i?n.push.apply(n,c):n.push(a):s.push({documentOrder:o,tabIndex:l,item:r,isScope:i,content:c})}),s.sort(lg).reduce(function(r,o){return o.isScope?r.push.apply(r,o.content):r.push(o.content),r},[]).concat(n)},yg=function(t,n){n=n||{};var s;return n.getShadowRoot?s=_r([t],n.includeContainer,{filter:ba.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:gg}):s=gh(t,n.includeContainer,ba.bind(null,n)),bh(s)},vg=function(t,n){n=n||{};var s;return n.getShadowRoot?s=_r([t],n.includeContainer,{filter:mr.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):s=gh(t,n.includeContainer,mr.bind(null,n)),s},On=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return An.call(t,ur)===!1?!1:ba(n,t)},bg=fh.concat("iframe:not([inert]):not([inert] *)").join(","),Wr=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return An.call(t,bg)===!1?!1:mr(n,t)};function Ea(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,s=Array(t);n<t;n++)s[n]=e[n];return s}function Eg(e){if(Array.isArray(e))return Ea(e)}function uc(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];
2if(!n){if(Array.isArray(e)||(n=Eh(e))||t){n&&(e=n);var s=0,r=function(){};return{s:r,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(l){throw l},f:r}}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,i=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var l=n.next();return i=l.done,l},e:function(l){a=!0,o=l},f:function(){try{i||n.return==null||n.return()}finally{if(a)throw o}}}}function kg(e,t,n){return(t=Tg(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cg(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Sg(){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 hc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,s)}return n}function pc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?hc(Object(n),!0).forEach(function(s){kg(e,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hc(Object(n)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(n,s))})}return e}function Ag(e){return Eg(e)||Cg(e)||Eh(e)||Sg()}function Vg(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var s=n.call(e,t);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Tg(e){var t=Vg(e,"string");return typeof t=="symbol"?t:t+""}function Eh(e,t){if(e){if(typeof e=="string")return Ea(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ea(e,t):void 0}}var $t={getActiveTrap:function(t){return(t==null?void 0:t.length)>0?t[t.length-1]:null},activateTrap:function(t,n){var s=$t.getActiveTrap(t);n!==s&&$t.pauseTrap(t);var r=t.indexOf(n);r===-1||t.splice(r,1),t.push(n)},deactivateTrap:function(t,n){var s=t.indexOf(n);s!==-1&&t.splice(s,1),$t.unpauseTrap(t)},pauseTrap:function(t){var n=$t.getActiveTrap(t);n==null||n._setPausedState(!0)},unpauseTrap:function(t){var n=$t.getActiveTrap(t);n&&!n._isManuallyPaused()&&n._setPausedState(!1)}},Pg=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},$g=function(t){return(t==null?void 0:t.key)==="Escape"||(t==null?void 0:t.key)==="Esc"||(t==null?void 0:t.keyCode)===27},Js=function(t){return(t==null?void 0:t.key)==="Tab"||(t==null?void 0:t.keyCode)===9},Dg=function(t){return Js(t)&&!t.shiftKey},Ng=function(t){return Js(t)&&t.shiftKey},_c=function(t){return setTimeout(t,0)},ms=function(t){for(var n=arguments.length,s=new Array(n>1?n-1:0),r=1;r<n;r++)s[r-1]=arguments[r];return typeof t=="function"?t.apply(void 0,s):t},vo=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},Ig=[],Bg=function(t,n){var s=(n==null?void 0:n.document)||document,r=(n==null?void 0:n.trapStack)||Ig,o=pc({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,delayReturnFocus:!0,isolateSubtrees:!1,isKeyForward:Dg,isKeyBackward:Ng},n),i={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},a,l=function(f,w,S){return f&&f[w]!==void 0?f[w]:o[S||w]},c=function(f,w){var S=typeof(w==null?void 0:w.composedPath)=="function"?w.composedPath():void 0;return i.containerGroups.findIndex(function(M){var O=M.container,k=M.tabbableNodes;return O.contains(f)||(S==null?void 0:S.includes(O))||k.find(function(g){return g===f})})},d=function(f){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},S=w.hasFallback,M=S===void 0?!1:S,O=w.params,k=O===void 0?[]:O,g=o[f];if(typeof g=="function"&&(g=g.apply(void 0,Ag(k))),g===!0&&(g=void 0),!g){if(g===void 0||g===!1)return g;throw new Error("`".concat(f,"` was specified but was not a node, or did not return a node"))}var P=g;if(typeof g=="string"){try{P=s.querySelector(g)}catch(A){throw new Error("`".concat(f,'` appears to be an invali
2d selector; error="').concat(A.message,'"'))}if(!P&&!M)throw new Error("`".concat(f,"` as selector refers to no known node"))}return P},u=function(f){var w=f.activeElement;return w?w.shadowRoot&&w.shadowRoot.activeElement!==null?u(w.shadowRoot):w:null},p=function(){var f=d("initialFocus",{hasFallback:!0});if(f===!1)return!1;if(f===void 0||f&&!Wr(f,o.tabbableOptions)){var w=u(s);if(c(w)>=0)f=w;else{var S=i.tabbableGroups[0],M=S&&S.firstTabbableNode;f=M||d("fallbackFocus")}}else f===null&&(f=d("fallbackFocus"));if(!f)throw new Error("Your focus-trap needs to have at least one focusable element");return f},_=function(){if(i.containerGroups=i.containers.map(function(f){var w=yg(f,o.tabbableOptions),S=vg(f,o.tabbableOptions),M=w.length>0?w[0]:void 0,O=w.length>0?w[w.length-1]:void 0,k=S.find(function(A){return On(A)}),g=S.slice().reverse().find(function(A){return On(A)}),P=!!w.find(function(A){return wn(A)>0});return{container:f,tabbableNodes:w,focusableNodes:S,posTabIndexesFound:P,firstTabbableNode:M,lastTabbableNode:O,firstDomTabbableNode:k,lastDomTabbableNode:g,nextTabbableNode:function(F){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,X=w.indexOf(F);return X<0?B?S.slice(S.indexOf(F)+1).find(function(te){return On(te)}):S.slice(0,S.indexOf(F)).reverse().find(function(te){return On(te)}):w[X+(B?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(f){return f.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!d("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(i.containerGroups.find(function(f){return f.posTabIndexesFound})&&i.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.")},V=function(f){if(f!==!1&&f!==u(document)){if(!f||!f.focus){V(p());return}f.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=f,Pg(f)&&f.select()}},E=function(f){var w=d("setReturnFocus",{params:[f]});return w||(w===!1?!1:f)},z=function(f){var w=f.target,S=f.event,M=f.isBackward,O=M===void 0?!1:M;w=w||vo(S),_();var k=null;if(i.tabbableGroups.length>0){var g=c(w,S),P=g>=0?i.containerGroups[g]:void 0;if(g<0)O?k=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:k=i.tabbableGroups[0].firstTabbableNode;else if(O){var A=i.tabbableGroups.findIndex(function(C){var v=C.firstTabbableNode;return w===v});if(A<0&&(P.container===w||Wr(w,o.tabbableOptions)&&!On(w,o.tabbableOptions)&&!P.nextTabbableNode(w,!1))&&(A=g),A>=0){var F=A===0?i.tabbableGroups.length-1:A-1,B=i.tabbableGroups[F];k=wn(w)>=0?B.lastTabbableNode:B.lastDomTabbableNode}else Js(S)||(k=P.nextTabbableNode(w,!1))}else{var X=i.tabbableGroups.findIndex(function(C){var v=C.lastTabbableNode;return w===v});if(X<0&&(P.container===w||Wr(w,o.tabbableOptions)&&!On(w,o.tabbableOptions)&&!P.nextTabbableNode(w))&&(X=g),X>=0){var te=X===i.tabbableGroups.length-1?0:X+1,m=i.tabbableGroups[te];k=wn(w)>=0?m.firstTabbableNode:m.firstDomTabbableNode}else Js(S)||(k=P.nextTabbableNode(w))}}else k=d("fallbackFocus");return k},U=function(f){var w=vo(f);if(!(c(w,f)>=0)){if(ms(o.clickOutsideDeactivates,f)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}ms(o.allowOutsideClick,f)||f.preventDefault()}},D=function(f){var w=vo(f),S=c(w,f)>=0;if(S||w instanceof Document)S&&(i.mostRecentlyFocusedNode=w);else{f.stopImmediatePropagation();var M,O=!0;if(i.mostRecentlyFocusedNode)if(wn(i.mostRecentlyFocusedNode)>0){var k=c(i.mostRecentlyFocusedNode),g=i.containerGroups[k].tabbableNodes;if(g.length>0){var P=g.findIndex(function(A){return A===i.mostRecentlyFocusedNode});P>=0&&(o.isKeyForward(i.recentNavEvent)?P+1<g.length&&(M=g[P+1],O=!1):P-1>=0&&(M=g[P-1],O=!1))}}else i.containerGroups.some(function(A){return A.tabbableNodes.some(function(F){return wn(F)>0})})||(O=!1);else O=!1;O&&(M=z({target:i.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(i.recentNavEvent)})),V(M||i.mostRecentlyFocusedNode||p())}i.recentNavEvent=void 0},G=function(f){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=f;var S=z({event:f,isBackward:w});S&&(Js(f)&&f.preventDefault(),V(S))},ie=function(f){(o.isKeyForward(f)||o.isKeyBackward(f))&&G(f,o.isKeyBackward(f))}
vendor: 4,593 bytes, line 2
2,pe=function(f){$g(f)&&ms(o.escapeDeactivates,f)!==!1&&(f.preventDefault(),a.deactivate())},le=function(f){var w=vo(f);c(w,f)>=0||ms(o.clickOutsideDeactivates,f)||ms(o.allowOutsideClick,f)||(f.preventDefault(),f.stopImmediatePropagation())},ae=function(){if(i.active){$t.activateTrap(r,a);var f;return o.delayInitialFocus?f=new Promise(function(w){i.delayInitialFocusTimer=_c(function(){V(p()),w()})}):V(p()),s.addEventListener("focusin",D,!0),s.addEventListener("mousedown",U,{capture:!0,passive:!1}),s.addEventListener("touchstart",U,{capture:!0,passive:!1}),s.addEventListener("click",le,{capture:!0,passive:!1}),s.addEventListener("keydown",ie,{capture:!0,passive:!1}),s.addEventListener("keydown",pe),f}},x=function(f){i.active&&!i.paused&&a._setSubtreeIsolation(!1),i.adjacentElements.clear(),i.alreadySilent.clear();var w=new Set,S=new Set,M=uc(f),O;try{for(M.s();!(O=M.n()).done;){var k=O.value;w.add(k);for(var g=typeof ShadowRoot<"u"&&k.getRootNode()instanceof ShadowRoot,P=k;P;){w.add(P);var A=P.parentElement,F=[];A?F=A.children:!A&&g&&(F=P.getRootNode().children,A=P.getRootNode().host,g=typeof ShadowRoot<"u"&&A.getRootNode()instanceof ShadowRoot);var B=uc(F),X;try{for(B.s();!(X=B.n()).done;){var te=X.value;S.add(te)}}catch(m){B.e(m)}finally{B.f()}P=A}}}catch(m){M.e(m)}finally{M.f()}w.forEach(function(m){S.delete(m)}),i.adjacentElements=S},ke=function(){if(i.active)return s.removeEventListener("focusin",D,!0),s.removeEventListener("mousedown",U,!0),s.removeEventListener("touchstart",U,!0),s.removeEventListener("click",le,!0),s.removeEventListener("keydown",ie,!0),s.removeEventListener("keydown",pe),a},Pn=function(f){var w=i.mostRecentlyFocusedNode;if(w){var S=f.some(function(O){var k=Array.from(O.removedNodes);return k.some(function(g){return g===w||typeof g.contains=="function"&&g.contains(w)})});if(S&&i.containers.some(function(O){return O==null?void 0:O.isConnected})){_();var M=p();V(M)}}},xt=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Pn):void 0,it=function(){xt&&(xt.disconnect(),i.active&&!i.paused&&i.containers.map(function(f){xt.observe(f,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(f){if(i.active)return this;var w=l(f,"onActivate"),S=l(f,"onPostActivate"),M=l(f,"checkCanFocusTrap"),O=$t.getActiveTrap(r),k=!1;if(O&&!O.paused){var g;(g=O._setSubtreeIsolation)===null||g===void 0||g.call(O,!1),k=!0}try{M||_(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=u(s),w==null||w({trap:a});var P=function(){M&&_();var B=function(){a._setSubtreeIsolation(!0),it(),S==null||S({trap:a})},X=ae();X?X.then(B):B()};if(M)return M(i.containers.concat()).then(P,P),this;P()}catch(F){if(O===$t.getActiveTrap(r)&&k){var A;(A=O._setSubtreeIsolation)===null||A===void 0||A.call(O,!0)}throw F}return this},deactivate:function(f){if(!i.active)return this;var w=pc({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},f);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,i.paused||a._setSubtreeIsolation(!1),i.alreadySilent.clear(),ke(),i.active=!1,i.paused=!1,it(),$t.deactivateTrap(r,a);var S=l(w,"onDeactivate"),M=l(w,"onPostDeactivate"),O=l(w,"checkCanReturnFocus"),k=l(w,"delayReturnFocus"),g=l(w,"returnFocus","returnFocusOnDeactivate");S==null||S({trap:a});var P=function(){g&&V(E(i.nodeFocusedBeforeActivation)),M==null||M({trap:a})},A=function(){k&&g?_c(P):P()};return g&&O?(O(E(i.nodeFocusedBeforeActivation)).then(A,A),this):(A(),this)},pause:function(f){return i.active?(i.manuallyPaused=!0,this._setPausedState(!0,f)):this},unpause:function(f){return i.active?(i.manuallyPaused=!1,r[r.length-1]!==this?this:this._setPausedState(!1,f)):this},updateContainerElements:function(f){var w=[].concat(f).filter(Boolean);return i.containers=w.map(function(S){return typeof S=="string"?s.querySelector(S):S}),o.isolateSubtrees&&x(i.containers),i.active&&(_(),i.paused||a._setSubtreeIsolation(!0)),it(),this}},Object.defineProperties(a,{_isManuallyPaused:{value:function(){return i.manuallyPaused}},_setPausedState:{value:function(f,w){if(i.paused===f)return this;if(i.paused=f,f){var S=l(w,"onPause"),M=l(w,"onPostPause");S==null||S({trap:a}),ke(),a._setSubtreeIsolation(!1),it(),M==null||M({trap:a})}else{var O=l(w,"onUnpause"),k=l(w,"onPostUnpause");O==null||O({trap:a});var g=function(){_();var A=function(){a._setSubtreeIsolation(!0),it(),k==null||k({trap:a})},F=ae();F?F.then(A):A()};g()}return this}},_setSubtreeIsolation:{value:function(f){o.isolateSubtrees&&i.adjacentElements.forEac
2h(function(w){var S;f?o.isolateSubtrees==="aria-hidden"?((w.ariaHidden==="true"||((S=w.getAttribute("aria-hidden"))===null||S===void 0?void 0:S.toLowerCase())==="true")&&i.alreadySilent.add(w),w.setAttribute("aria-hidden","true")):((w.inert||w.hasAttribute("inert"))&&i.alreadySilent.add(w),w.setAttribute("inert",!0)):i.alreadySilent.has(w)||(o.isolateSubtrees==="aria-hidden"?w.removeAttribute("aria-hidden"):w.removeAttribute("inert"))})}}}),a.updateContainerElements(t),a};let en;const Og=e=>{en=Bg(e,{escapeDeactivates:!1,allowOutsideClick:!0,initialFocus:!1,fallbackFocus:document.body})},mc=(e,t)=>{if(t.value||t.value===void 0){const n=t.arg?[e,...t.arg]:e;Og(n),setTimeout(()=>{en.activate()},100),console.debug("[focus-trap] activated")}else en&&en.active&&(en.deactivate(),console.debug("[focus-trap] deactivated"))},xg={mounted(e,t){mc(e,t)},updated(e,t){mc(e,t)},unmounted(e,t){en&&en.active&&(en.deactivate(),console.debug("[focus-trap] deactivated"))}},Sr=["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 fr(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function wr(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(s=>n.indexOf(s)<0).forEach(s=>{typeof e[s]>"u"?e[s]=t[s]:fr(t[s])&&fr(e[s])&&Object.keys(t[s]).length>0?t[s].__swiper__?e[s]=t[s]:wr(e[s],t[s]):e[s]=t[s]})}function Rg(e={}){return e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function Mg(e={}){return e.pagination&&typeof e.pagination.el>"u"}function Lg(e={}){return e.scrollbar&&typeof e.scrollbar.el>"u"}function zg(e=""){const t=e.split(" ").map(s=>s.trim()).filter(s=>!!s),n=[];return t.forEach(s=>{n.indexOf(s)<0&&n.push(s)}),n.join(" ")}function nr(e=""){return e.replace(/-[a-z]/g,t=>t.toUpperCase().replace("-",""))}const fc=e=>{if(parseFloat(e)===Number(e))return Number(e);if(e==="true"||e==="")return!0;if(e==="false")return!1;if(e==="null")return null;if(e!=="undefined")return e},wc=["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 gc(e,t,n){const s={},r={};wr(s,pp);
2const o=[...Sr,"on"],i=o.map(l=>l.replace(/_/,""));o.forEach(l=>{l=l.replace("_",""),typeof e[l]<"u"&&(r[l]=e[l])});const a=[...e.attributes];return typeof t=="string"&&typeof n<"u"&&a.push({name:t,value:n}),a.forEach(l=>{const c=wc.filter(d=>l.name.indexOf("".concat(d,"-"))===0)[0];if(c){const d=nr(c),u=nr(l.name.split("".concat(c,"-"))[1]);typeof r[d]>"u"&&(r[d]={}),r[d]===!0&&(r[d]={enabled:!0}),r[d][u]=fc(l.value)}else{const d=nr(l.name);if(!i.includes(d))return;const u=fc(l.value);r[d]&&wc.includes(l.name)?(r[d].constructor!==Object&&(r[d]={}),r[d].enabled=u):r[d]=u}}),wr(s,r),s.navigation?s.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...s.navigation!==!0?s.navigation:{}}:s.navigation===!1&&delete s.navigation,s.scrollbar?s.scrollbar={el:".swiper-scrollbar",...s.scrollbar!==!0?s.scrollbar:{}}:s.scrollbar===!1&&delete s.scrollbar,s.pagination?s.pagination={el:".swiper-pagination",...s.pagination!==!0?s.pagination:{}}:s.pagination===!1&&delete s.pagination,{params:s,passedParams:r}}function Fg({swiper:e,slides:t,passedParams:n,changedParams:s,nextEl:r,prevEl:o,scrollbarEl:i,paginationEl:a}){const l=s.filter(x=>x!=="children"&&x!=="direction"&&x!=="wrapperClass"),{params:c,pagination:d,navigation:u,scrollbar:p,virtual:_,thumbs:V}=e;let E,z,U,D,G,ie,pe,le;s.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(E=!0),s.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(z=!0),s.includes("pagination")&&n.pagination&&(n.pagination.el||a)&&(c.pagination||c.pagination===!1)&&d&&!d.el&&(U=!0),s.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||i)&&(c.scrollbar||c.scrollbar===!1)&&p&&!p.el&&(D=!0),s.includes("navigation")&&n.navigation&&(n.navigation.prevEl||o)&&(n.navigation.nextEl||r)&&(c.navigation||c.navigation===!1)&&u&&!u.prevEl&&!u.nextEl&&(G=!0);const ae=x=>{e[x]&&(e[x].destroy(),x==="navigation"?(e.isElement&&(e[x].prevEl.remove(),e[x].nextEl.remove()),c[x].prevEl=void 0,c[x].nextEl=void 0,e[x].prevEl=void 0,e[x].nextEl=void 0):(e.isElement&&e[x].el.remove(),c[x].el=void 0,e[x].el=void 0))};s.includes("loop")&&e.isElement&&(c.loop&&!n.loop?ie=!0:!c.loop&&n.loop?pe=!0:le=!0),l.forEach(x=>{if(fr(c[x])&&fr(n[x]))wr(c[x],n[x]),(x==="navigation"||x==="pagination"||x==="scrollbar")&&"enabled"in n[x]&&!n[x].enabled&&ae(x);
vendor: 5,468 bytes, line 2
2else{const ke=n[x];(ke===!0||ke===!1)&&(x==="navigation"||x==="pagination"||x==="scrollbar")?ke===!1&&ae(x):c[x]=n[x]}}),l.includes("controller")&&!z&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),s.includes("children")&&t&&_&&c.virtual.enabled&&(_.slides=t,_.update(!0)),s.includes("children")&&t&&c.loop&&(le=!0),E&&V.init()&&V.update(!0),z&&(e.controller.control=c.controller.control),U&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),e.el.shadowEl.appendChild(a)),a&&(c.pagination.el=a),d.init(),d.render(),d.update()),D&&(e.isElement&&(!i||typeof i=="string")&&(i=document.createElement("div"),i.classList.add("swiper-scrollbar"),e.el.shadowEl.appendChild(i)),i&&(c.scrollbar.el=i),p.init(),p.updateSize(),p.setTranslate()),G&&(e.isElement&&((!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-next"),e.el.shadowEl.appendChild(r)),(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-prev"),e.el.shadowEl.appendChild(o))),r&&(c.navigation.nextEl=r),o&&(c.navigation.prevEl=o),u.init(),u.update()),s.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),s.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),s.includes("direction")&&e.changeDirection(n.direction,!1),(ie||le)&&e.loopDestroy(),(pe||le)&&e.loopCreate(),e.update()}const Ug="@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}",jg=":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;
2left: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)}}";let gr=!0;const ka=(e,t)=>{let n=document.querySelector("style#swiper-element-styles");const s=n&&n.preInit&&!e;!e&&t&&t.cssLinks().forEach(r=>{const o=document.createElement("link");o.rel="stylesheet",o.href=r,document.head.prepend(o)}),(!n||s)&&(n=n||document.createElement("style"),n.textContent=[Ug,t?t.cssStyles():""].join("\n"),n.id="swiper-element-styles",n.preInit=e,document.head.prepend(n))};class Hg{}const kh=typeof window>"u"||typeof HTMLElement>"u"?Hg:HTMLElement;class Ch extends kh{constructor(){super(),this.tempDiv=document.createElement("div"),this.shadowEl=this.attachShadow({mode:"open"})}cssStyles(){return[gr?jg:"",...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join("\n")}cssLinks(){return this.injectStylesUrls||[]}render(){if(this.rendered)return;gr&&ka(!1,this);const t=this.cssStyles();t.length&&(this.stylesEl=document.createElement("style"),this.stylesEl.textContent=t,this.shadowEl.appendChild(this.stylesEl)),this.cssLinks().forEach(n=>{if(this.shadowEl.querySelector('link[href="'.concat(n,'"]')))return;const r=document.createElement("link");r.rel="stylesheet",r.href=n,this.shadowEl.appendChild(r)}),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 '.concat(Rg(this.passedParams)?'\n <div part="button-prev" class="swiper-button-prev"></div>\n <div part="button-next" class="swiper-button-next"></div>\n ':"","\n ").concat(Mg(this.passedParams)?'\n <div part="pagination" class="swiper-pagination"></div>\n ':"","\n ").concat(Lg(this.passedParams)?'\n <div part="scrollbar" class="swiper-scrollbar"></div>
2\n ':"","\n "),[...this.tempDiv.children].forEach(n=>{this.shadowEl.appendChild(n)}),this.rendered=!0}initialize(){if(this.initialized)return;this.initialized=!0;const{params:t,passedParams:n}=gc(this);this.swiperParams=t,this.passedParams=n,delete this.swiperParams.init,this.render(),this.swiper=new _p(this,{...t,touchEventsTarget:"container",...t.virtual?{}:{observer:!0},onAny:(s,...r)=>{const o=t.eventsPrefix?"".concat(t.eventsPrefix).concat(s.toLowerCase()):s.toLowerCase(),i=new CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0});this.dispatchEvent(i)}})}connectedCallback(){if(!(this.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM)){if(this.init===!1||this.getAttribute("init")==="false"){ka(!0,this);return}this.initialize()}}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||(this.swiper&&this.swiper.destroy&&this.swiper.destroy(),this.initialized=!1)}updateSwiperOnPropChange(t,n){const{params:s,passedParams:r}=gc(this,t,n);this.passedParams=r,this.swiperParams=s,Fg({swiper:this.swiper,passedParams:this.passedParams,changedParams:[nr(t)],...t==="navigation"&&r[t]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{},...t==="pagination"&&r[t]?{paginationEl:".swiper-pagination"}:{},...t==="scrollbar"&&r[t]?{scrollbarEl:".swiper-scrollbar"}:{}})}attributeChangedCallback(t,n,s){this.initialized&&(n==="true"&&s===null&&(s=!1),this.updateSwiperOnPropChange(t,s))}static get observedAttributes(){return Sr.filter(n=>n.includes("_")).map(n=>n.replace(/[A-Z]/g,s=>"-".concat(s)).replace("_","").toLowerCase())}}Sr.forEach(e=>{e!=="init"&&(e=e.replace("_",""),Object.defineProperty(Ch.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 Gg=class extends kh{constructor(){super(),this.tempDiv=document.createElement("div"),this.shadowEl=this.attachShadow({mode:"open"})}render(){const t=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if(this.tempDiv.innerHTML="<slot />",[...this.tempDiv.children].forEach(n=>{this.shadowEl.appendChild(n)}),t){const n=document.createElement("div");n.classList.add("swiper-lazy-preloader"),this.appendChild(n)}}initialize(){this.render()}connectedCallback(){this.initialize()}};const Yg=(e=!0)=>{typeof window>"u"||(e||(gr=!1),gr&&ka(!0),window.customElements.get("swiper-container")||window.customElements.define("swiper-container",Ch),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",Gg))};typeof window<"u"&&(window.SwiperElementRegisterParams=e=>{Sr.push(...e)});const Wg=window.Vue.createApp;window.Vue.inject;window.Vue.provide;Yg();Nt.defaults.headers={"Cache-Control":"no-cache",Pragma:"no-cache",Expires:"0"};const Te=Wg(S_);Te.config.performance=!0;Te.config.globalProperties.$baseUrl=window.cmms_base||"/";document.location.href.indexOf(":8080")>=0&&(Te.config.globalProperties.$baseUrl=Te.config.globalProperties.$baseUrl.replace(/^(https?:\/\/)([^/]*)\/?(.*)\/?$/,"$1$2:8080/$3"));Te.config.globalProperties.$production_mode=!0;Te.config.globalProperties.$appMode="soylent_settings"in window&&window.soylent_settings.app_mode||!1;Te.config.globalProperties.$routerLink=va;Te.config.globalProperties.$translate=(...e)=>window.__(...e);Te.config.globalProperties.$translateN=(...e)=>window._n(...e);We&&document.body.classList.add("app-native");Qw();Te.use(H);Te.use(yt);Te.directive("focustrap",xg);const qg="soylent_features"in window?window.soylent_features:{};Object.entries(qg).forEach(e=>{e[1]===!0&&Zs().add(e[0])});function Kg(){Zs().has(Ra)&&window.isDynamicRenderer!==!0&&eo().init(H),Te.mount("#app-container"),Sn.dispatch(Zn.APP_MOUNT_READY)}window.isDynamicRenderer=navigator.userAgent.includes("WeLocalDynamicRenderer");const Sh="SET_PLAYER_DRAWER_OPEN",Ah="SET_CHANNELS",Ca="SET_DEFAULT_CHANNEL_ID",Vh="SET_PODCAST_LIST",Th="ADD_PODCAST_OBJECT",Ph="SET_PLAYER_STATE",$h="SET_PLAYER_MODE",Sa="RESET_PLAYER_IDS",Aa="RESET_PLAYER_DURATION",Kn="SET_PLAYER_AUDIO_OBJECT",Va="SET_PLAYER_PODCAST_OBJECT",sr="SET_PLAYER_CHANNEL_ID",Dh="SET_PLAYER_DURATION",Nh="SET_PLAYER_ELAPSED",Ih="SET_LAST_CHANNEL_ID",Bh="SET_CURRENT_TRACK_SOURCE",Jg={[Sh](e,t){const n=document.body;t===!0?n.style.overflow="hidden":n.style.overflow="",e.playerDrawerOpen=t},[Ah](e,t){e.channels=t},[Th](e,t){e.podcasts["podcast_"+t.podcastId]=t.podcastData},[Ph](e,t){e.player.state=t},[$h](e,t){e.player.mode=t},[Sa](e){e.player.audioObject=null,e.player.podcastObject=null,e.player.channelId=null},[Kn](e,t){e.player.audioObject=t},[Va](e,t){e.player.podcastObject=t},[sr](e,t){e.player.channelId=t},[Ca](e,t){e.player.defaultChannelId=t},[Dh](e,t){e.player.duration=t},[Nh](e,t){e.player.elapsed=t},[Aa](e){e.player.duration=0,e.player.elapsed=0},[Ih](e,t){e.player.lastChannelId=t},[Vh](e,t){e.player.podcastList=t},[Bh](e,t){e.player.currentTrackSource=t}},Zg={label:"",title:"",excerpt:""};class yc{constructor(t={}){const n=Object.assign({},Zg);for(const s in t)s in n&&(n[s]=t[s]);return n}}const Qg={title:"",interpret:"",cover:null,time:null,id:null,duration:0,live:!1,status:null};class qr{constructor(t={}){const n=Object.assign({},Qg);for(const s in t)s in n&&(n[s]=t[s]);return n}}function yr(e=0,t=":"){const n=new Date(e*1e3);
2let s=n.getUTCHours(),r=n.getUTCMinutes(),o=n.getSeconds(),i="";return s>0&&(i=s.toString().padStart(2,"0")+t),i+r.toString().padStart(2,"0")+t+o.toString().padStart(2,"0")}const Xg={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(r=>r.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=>yr(e.player.duration),playerElapsed:e=>e.player.elapsed,playerElapsedHuman:e=>yr(e.player.elapsed),playerElapsedPercent:e=>e.player.elapsed/e.player.duration*100,currentChannelTrack:(e,t)=>t.channelTrackById(t.currentChannelId),channelTrackById:(e,t)=>n=>{let s=n||t.currentChannelId,r=e.channels[s]&&"playlist"in e.channels[s]&&e.channels[s].playlist.length?e.channels[s].playlist[0]:null;return r&&(r=JSON.parse(JSON.stringify(r)),"cover"in r&&(r.cover=window.cmms_thumbs_base+"12
20x120c/".concat(r.cover))),new qr(r)},currentTrack:(e,t)=>{if(e.player.mode===ve||e.player.mode===re){const s=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?s.cover="".concat(window.cmms_thumbs_base,"600x600c/").concat(e.player.audioObject.image.media_id,".webp"):e.player.mode===re&&e.player.podcastObject&&e.player.podcastObject.image&&(s.cover="".concat(window.cmms_thumbs_base,"600x600c/").concat(e.player.podcastObject.image.media_id,".webp")),We?e.player.mode===re&&e.player.podcastObject?s.interpret=e.player.podcastObject.title:s.interpret="":s.interpret="".concat(t.playerElapsedHuman," / ").concat(t.playerDurationHuman),new qr(s)}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&&n.cover.substring(0,4)!=="http"&&(n.cover="".concat(window.cmms_thumbs_base,"600x600c/").concat(n.cover)),new qr(n)},currentPodcastTitle:(e,t)=>
2t.playerPodcastObject?t.playerPodcastObject.title:"",trackCover:(e,t)=>(n,s)=>{if(!t.channelData(s))return null;const r=t.channelData(s).playlist;return n in r&&r[n].cover!==void 0&&r[n].cover!=="undefined"?window.cmms_thumbs_base+"640x640c/".concat(r[n].cover):t.channelData(s).default_cover_id?window.cmms_thumbs_base+"640x640c/".concat(t.channelData(s).default_cover_id,".webp"):null},currentShow:(e,t)=>e.player.mode===re?new yc(e.player.podcastObject?{label:e.player.podcastObject.title||"",title:""}:null):new yc(e.channels[t.currentChannelId]&&"show"in e.channels[t.currentChannelId]?e.channels[t.currentChannelId].show:null),currentTrackSource:e=>e.currentTrackSource},ey=window.Vue.ref;var so;class Oh{constructor({player:t,type:n}){R(this,so,ey(!1));this.player=t,this.type=n,this.log("Loaded")}setReady(t){h(this,so).value=t}ready(){return h(this,so)}play(t){}pause(){}log(...t){}}so=new WeakMap;const ty="automotivePlayerChannels",ny="automotivePlayerCurrentChannel",sy="automotiveSetChannel";var Bt,xh,Rh,Ta;class oy extends Oh{constructor(n){super({player:n,type:"ReactNative"});R(this,Bt);ue.onPayload(K(this,Bt,xh).bind(this),"event"),ue.sendPayload({type:"setupAudioPlayer"})}play(n){const s=H.getters["player/playerState"],r=H.getters["player/playerMode"],o=H.getters["player/currentTrackSource"];if(s===lr&&n===o&&(r===ve||r===re)){ue.sendPayload({type:"resumeAudioPlayer"});return}const i=H.getters["player/currentTrack"].live,a={id:"default",url:n,title:H.getters["player/currentTrack"].title,artist:H.getters["player/currentTrack"].interpret,isLiveStream:i};if(H.getters["player/currentTrack"].cover&&(a.artwork=window.cmms_thumbs_base+"500x500/"+H.getters["player/currentTrack"].cover),i){const l=H.getters["player/currentChannelId"];a.metadataApi="".concat(document.location.origin,"/cache/playlists/").concat(l,"_5.json")}else a.duration=H.getters["player/currentTrack"].duration,this.player.setDuration(a.duration);ue.sendPayload({type:"setAudioPlayerTrack",track:a,autoplay:!0}),H.dispatch("player/setCurrentTrackSource",n),K(this,Bt,Ta).call(this,"buffering")}pause(){const n=H.getters["player/playerMode"];n===ve||n===re?ue.sendPayload({type:"pauseAudioPlayer"}):ue.sendPayload({type:"stopAudioPlayer"})}seek(n){ue.sendPayload({type:"audioPlayerSeek",seconds:n})}}Bt=new WeakSet,xh=function(n){const{eventType:s,data:r}=n;switch(s){case"audioPlayerReady":K(this,Bt,Rh).call(this);break;case"audioPlayerState":K(this,Bt,Ta).call(this,r);break;case"audioPlayerProgress":this.player.setElapsed(parseFloat(r)||0);break;case sy:H.dispatch("player/setPlayerChannelId",{channelId:parseInt(r.channelId,10),autoplay:!1}).then();break}},Rh=function(){this.setReady(!0)},Ta=function(n){switch(n==="stopped"&&this.player.getState()===is&&(n="buffering"),n){case"playing":this.player.setState(It);break;case"paused":this.player.setState(lr);break;case"ready":case"stopped":case"none":this.player.setState(Ma);break;case"buffering":this.player.setState(is);break}};var ye,oo,ro;class ry extends Oh{constructor(n){super({player:n,type:"HTML"});R(this,ye,null);R(this,oo,this.handleEvent.bind(this));R(this,ro,[h_,pl,_l,ml,fl,wl,gl,yl,vl,bl,El,kl]);this.setReady(!0)}setup(n){ne(this,ye,new Audio(n)),h(this,ro).forEach(s=>h(this,ye).addEventListener(s,h(this,oo)))}destroy(){h(this,ro).forEach(n=>h(this,ye).removeEventListener(n,h(this,oo))),h(this,ye).pause(),h(this,ye).removeAttribute("src"),h(this,ye).load(),ne(this,ye,null),this.player.setState(lr)}play(n){(!h(this,ye)||h(this,ye).src!==n)&&(h(this,ye)&&this.destroy(),this.setup(n)),h(this,ye).play().catch(s=>{this.log("Could not play",s)})}pause(){h(this,ye).pause(),this.player.getMode()===Ee&&this.destroy()}seek(n){h(this,ye).currentTime=n}handleEvent(n){switch(n.type){case wl:case El:case bl:case kl:this.player.setState(is);break;case gl:this.player.setState(It);break;case fl:this.player.setState(lr);break;case _l:this.player.setState(Ma),this.player.ended();break;case ml:this.player.setState(bu);break;case pl:this.player.setDuration(h(this,ye).duration);break;case yl:case vl:this.player.setElapsed(h(this,ye).currentTime);break}}}ye=new WeakMap,oo=new WeakMap,ro=new WeakMap;const Mh="EVENT_PLAY",Lh="EVENT_PAUSE",zh="EVENT_DURATION",Fh="EVENT_PROGRESS",iy=2,ay={mode:null,channelId:null,channelLabel:null,audioId:null,podcastId:null,podcastLabel:null},vc="Audio",ly="Podcast",cy="Channel",bo="Play",Kr="Pause";var kn,j,Cn,io,Re,$a,Uh,or,Dt,Ys,jh,Hh;const Qt=class Qt{constructor(t){R(this,Re);R(this,kn,null);R(this,j,{});R(this,Cn,{0:!1,25:!1,50:!1,75:!1,100:!1});R(this,io,0);ne(this,kn,t)}configure(t={}){const n=h(this,kn).getMode(),{audioObject:s,channelObject:r,podcastObject:o}=Object.assign({audioObject:null,channelObject:null,podcastObject:null},t);if(n===h(this,j).mode)switch(n){case Ee:if(r!==null&&r.post_id===h(this,j).channelId)return;break;case ve:case re:if(s!==null&&s.post_id===h(this,j).audioId)return;break}K(this,Re,Hh).call(this),h(this,j).mode=n,s&&(h(this,j).audioId=s.post_id),r&&(h(this,j).channelId=r.channelId,h(this,j).channelLabel=r.data.label),o&&(h(this,j).podcastId=o.post_id,h(this,j).podcastLabel=o.title)}track(t){switch(t){case Mh:K(this,Re,or).call(this,{action:bo}),K(this,Re,$a).call(this,bo);break;case Lh:K(this,Re,or).call(this,{action:Kr}),K(this,Re,$a).call(this,Kr);break;case zh:ne(this,io,100/h(this,kn).getDuration()*iy);break;case Fh:K(this,Re,Uh).call(this,h(this,kn).getElapsedPercent());break}}};kn=new WeakMap,j=new WeakMap,Cn=new WeakMap,io=new WeakMap,Re=new WeakSet,$a=function(t){let n={};h(this,j).mode===ve||h(this,j).mode===re?n.media_id=h(this,j).audioId:h(this,j).mode===Ee&&("channelLabel"in h(this,j)&&(n.channel_name=h(this,j).channelLabel),n.channel_id=h(this,j).channelId),document.dispatchEvent(new CustomEvent("Player:".concat(t),{cancelable:!0,bubbles:!0,detail:n}))},Uh=function(t=0){isNaN(t)&&(t=0),t>75&&(t+=h(this,io));let n=Math.floor(t/25)*25;K(this,Re,or).call(this,{action:bo,percentage:n})},or=function(t){var n,s,r,o,i;if(t=Object.assign({action:null,percentage:0},t),!h(this,Cn)[t.percentage]){if(h(this,Cn)[t.percentage]=!0,h(this,j).mode===ve||h(this,j).mode===re){const a=new FormData;a.append("media_id",h(this,j).audioId),a.append("percentage",t.percentage),Nt.post("/cmms-api-v2/media-tracking/",a)}if(t.percentage===0?((h(this,j).mode===ve||h(this,j).mode===re)&&K(n=Qt,Dt,Ys).call(n,["trackEvent",vc,t.action,h(this,j).audioId]),h(this,j).mode===re&&K(s=Qt,Dt,Ys).call(s,["trackEvent",ly,t.action,h(this,j).podcastId]),h(this,j).mode===Ee&&K(r=Qt,Dt,Ys).call(r,["trackEvent",cy,t.action,h(this,j).channelId])):(h(this,j).mode===ve||h(this,j).mode===re)&&K(o=Qt,Dt,Ys).call(o,["trackEvent",vc,"".concat(t.action,"-").concat(t.percentage,"%"),h(this,j).audioId]),t.percentage===0||t.percentage===100){let a=null;if(t.percentage===100)a="complete";else switch(t.action){case bo:a="start";break;case Kr:a="pause";break}let l="media",c={};switch(h(this,j).mode){case ve:c.identifier=String(h(this,j).audioId),c.type="other-music-content";break;case re:c.identifier=String(h(this,j).podcastId),c.type="podcast",c["media-series-name"]=h(this,j).podcastLabel,c["media-series-episode"]=String(h(this,j).audioId);break;case Ee:l="stream",c.type="audio",c.identifier=String(h(this,j).channelId),a==="pause"&&(a="stop");break}a!==null&&K(i=Qt,Dt,jh).call(i,"fix:".concat(l,":").concat(a),c)}}},Dt=new WeakSet,Ys=function(t=[]){try{window._paq.push(t)}catch(n){}},jh=function(t="",n={}){try{window.Qyjs("tracking.track",t,n)}catch(s){}},Hh=function(){ne(this,j,Object.assign({}
2,ay)),Object.keys(h(this,Cn)).forEach(t=>{h(this,Cn)[t]=!1})},R(Qt,Dt);let Pa=Qt;var Xt,ft,ts,rr;const Jn=class Jn{constructor(){R(this,ts);R(this,Xt,null);R(this,ft,null);K(this,ts,rr).call(this,"Loaded"),ne(this,Xt,new(We?oy:ry)(this)),ne(this,ft,new Pa(this))}init(){K(this,ts,rr).call(this,"Init")}ready(){return h(this,Xt).ready()}play(){let t=null;if(this.getMode()===Ee){const n=H.getters["player/channelData"](H.getters["player/playerChannelId"]);if(!n)return;We&&"sources-app"in n?t=Jn.getSourceCandidate(n["sources-app"]):n.sources&&(t=Jn.getSourceCandidate(n.sources)),h(this,ft).configure({channelObject:{channelId:H.getters["player/playerChannelId"],data:n}})}else{const n=H.getters["player/playerAudioObject"];n.sources&&(t=Jn.getSourceCandidate(n.sources));const s=H.getters["player/playerPodcastObject"];h(this,ft).configure({audioObject:n,podcastObject:s})}K(this,ts,rr).call(this,"Play source",t),h(this,Xt).play(t),h(this,ft).track(Mh)}pause(){h(this,Xt).pause(),h(this,ft).track(Lh)}seek(t){h(this,Xt).seek(t)}ended(){Sn.dispatch(Ap.AUDIO_ENDED),H.dispatch("player/audioObjectEnded")}toggle(){this.getState()===It?this.pause():this.play()}setState(t){H.dispatch("player/setPlayerState",t).then()}getState(){return H.getters["player/playerState"]}getMode(){return H.getters["player/playerMode"]}getDuration(){return H.getters["player/playerDuration"]}setDuration(t){H.dispatch("player/setPlayerDuration",t).then(()=>{h(this,ft).track(zh)})}getElapsed(){return H.getters["player/playerElapsed"]}getElapsedPercent(){return H.getters["player/playerElapsedPercent"]}setElapsed(t){H.dispatch("player/setPlayerElapsed",t).then(()=>{h(this,ft).track(Fh)})}static getSourceCandidate(t){let n=null;return t.constructor===Array&&(t=Jn.sourcesArrayToObject(t)),"aac"in t&&t.aac.length&&We&&(n=t.aac),n===null&&"mp4"in t&&t.mp4.length&&(n=t.mp4),n===null&&"mp3"in t&&t.mp3.length&&(n=t.mp3),n=hs.filter(La,n),n}static sourcesArrayToObject(t){let n={};return t.forEach(s=>{if(!1 in s||!1 in s||!s.src.length)return;let r=null;switch(s.type){case"audio/mp3":r="mp3";break;case"audio/mp4":r="mp4";break;case"application/vnd.apple.mpegurl":r="hls";break}r&&(n[r]=s.src)}),n}};Xt=new WeakMap,ft=new WeakMap,ts=new WeakSet,rr=function(...t){};let vr=Jn;const Ye=new vr,dy={setPlayerDrawerOpen:function({commit:e,getters:t},n){e(Sh,n)},setPlayerState:function({commit:e},t){e(Ph,t)},setPlayerMode:function({commit:e},t){e($h,t)},setPlayerAudioObject:async function({commit:e,dispatch:t,state:n},{audioObject:s,autoplay:r}){let o=null;n.player.channelId!==null&&n.player.state===It&&n.player.mode===Ee&&(o=n.player.channelId,t("setLastChannelId",o)),(n.player.mode!==ve||!n.player.audioObject||n.player.audioObject!==s)&&(await e(Sa),await e(Aa),await e(Kn,s),await t("setPlayerMode",ve)),r&&Ye.play()},setPlayerPodcast:async function({commit:e,dispatch:t,state:n,getters:s},{podcastObject:r,audioObject:o,autoplay:i}){let a=!0;if(n.player.mode!==re||!n.player.audioObject||n.player.audioObject!==o||n.player.podcastObject!==r){await e(sr,null);let l=s.podcastData(r.post_id);l!==null?r=l:("model"in r&&(r=r.model),"api_url"in r&&(r=await t("loadPodcast",r.api_url))),await e(Va,r),o?await e(Kn,o):r.episodes.length?await e(Kn,r.episodes[0]):a=!1,await t("setPlayerMode",re)}a&&i&&Ye.play()},audioObjectEnded({dispatch:e,state:t}){t.player.mode===re?e("playerPodcastSkip",Qn):t.player.mode===ve&&t.player.lastChannelId!==null&&e("setPlayerChannelId",{channelId:t.player.lastChannelId,autoplay:!0})},async playerPodcastSkip({dispatch:e,getters:t,commit:n},s=Qn){if(t.playerPodcastObject){const r=t.playerPodcastIndex;let o=-1;s===Qn?o=r-1:o=r+1;const i=t.playerPodcastObject.episodes;i[o]&&await e("setPlayerPodcast",{podcastObject:t.playerPodcastObject,audioObject:i[o],autoplay:!0})}},async setChannels({commit:e},t){if(await e(Ah,t),We){const n=[];Object.keys(t).forEach(s=>{var r,o,i;n.push({id:s,titleVariants:[t[s].label],image:{uri:window.cmms_thumbs_base+"320x/".concat(t[s].thumbnail_id,".jpg")},order:(r=t[s].order)!=null?r:0,src:vr.getSourceCandidate((i=(o=t[s]["sources-app"])!=null?o:t[s].sources)!=null?i:{}),metadataApi:"".concat(document.location.origin,"/cache/playlists/").concat(s,"_5.json")})}),n.sort((s,r)=>
2s.order-r.order),n.forEach(s=>{delete s.order}),ue.sendPayload({type:ty,channels:n})}},setPlayerDefaultChannelId:async function({commit:e},{channelId:t}){e(Ca,t)},setPlayerChannelId:async function({commit:e,dispatch:t},{channelId:n,autoplay:s}){t("setLastChannelId",null),await e(Sa),await e(sr,n),await t("setPlayerMode",Ee),We&&ue.sendPayload({type:ny,channel:n}),s&&Ye.play()},setPlayerDuration:function({commit:e},t){e(Dh,t)},setPlayerElapsed:function({commit:e},t){e(Nh,t)},async loadPodcast({commit:e,state:t,dispatch:n},s){return Nt.get(s).then(r=>{if(r.data.success===!0){const o=r.data.podcast,i=o.post_id;return e(Th,{podcastId:i,podcastData:o}),o}}).catch(r=>{if(!r.response)return!1})},async loadPodcastList({commit:e}){Nt.get("/data/soylent/podcast_data_list.json").then(t=>{t.data.success===!0&&e(Vh,t.data.podcast_list)}).catch(t=>{if(!t.response)return console.debug(t),!1})},setLastChannelId({commit:e,state:t,dispatch:n},s){e(Ih,s)},loadChannelData:function({commit:e,state:t,dispatch:n}){Nt.get("/cache/playlists/all-channels.json").then(s=>{const r=s.data;"channels"in window.soylent_settings.child_settings&&n("setChannels",r).then(()=>{const o=window.soylent_settings.child_settings.channels.default_channel_id;t.player.defaultChannelId||e(Ca,o),o&&!t.player.channelId&&t.player.mode===Ee&&n("setPlayerChannelId",{channelId:o})})}).catch(s=>{s.response||console.debug(s)})},async resetPlayer({commit:e,dispatch:t}){await e(sr,null),await e(Va,null),await e(Kn,null),await e(Aa),await e(Kn,null),await t("setPlayerMode",u_);try{Ye.pause()}catch(n){}},setCurrentTrackSource:function({commit:e},t){e(Bh,t)}},uy={channels:{},podcasts:[],playerDrawerOpen:!1,player:{state:null,mode:Ee,duration:0,elapsed:0,audioObject:null,podcastObject:null,channelId:null,defaultChannelId:null,lastChannelId:null,podcastList:[],currentTrackSource:null}},hy={state:uy,namespaced:!0,mutations:Jg,getters:Xg,actions:dy},py={name:"AppDebug",computed:{debug:function(){return this.$store.getters.pageDebugData}}},bc=window.Vue.renderList,Ec=window.Vue.Fragment,fs=window.Vue.openBlock,ws=window.Vue.createElementBlock,kc=window.Vue.createElementVNode,_y=window.Vue.createCommentVNode,my={key:0,class:"soylent-debug-wrapper"},fy=["innerHTML"],wy=["innerHTML"];function gy(e,t,n,s,r,o){return o.debug?(fs(),ws("div",my,[(fs(!0),ws(Ec,null,bc(o.debug,i=>(fs(),ws("div",{key:i.id,class:"soylent-debug-item-wrapper"},[(fs(!0),ws(Ec,null,bc(i,(a,l)=>(fs(),ws("div",{key:l.id,class:"soylent-debug-item"},[kc("code",{innerHTML:l.replace(".../cmms-theme-imsueden",""),class:"soylent-debug-key"},null,8,fy),kc("code",{innerHTML:a,class:"soylent-debug-value"},null,8,wy)]))),128))]))),128))])):_y("",!0)}const yy=y(py,[["render",gy]]),vy=window.Vue.defineAsyncComponent,by={name:"MainMenuSub",components:{SubMenuItem:vy(()=>b(()=>Promise.resolve().then(()=>Yy),void 0))},props:["items"]},Ey=window.Vue.renderList,ky=window.Vue.Fragment,Jr=window.Vue.openBlock,Cc=window.Vue.createElementBlock,Cy=window.Vue.resolveComponent,Sy=window.Vue.createBlock,Ay={class:"sub-menu"};function Vy(e,t,n,s,r,o){const i=Cy("sub-menu-item");return Jr(),Cc("ul",Ay,[(Jr(!0),Cc(ky,null,Ey(n.items,a=>(Jr(),Sy(i,{key:"sub_".concat(a.id),item:a},null,8,["item"]))),128))])}const Gh=y(by,[["render",Vy]]),Ty={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!(this.callback!==!1||this.isExternalLink||this.blank===!0||this.isAnchor)},target:function(){if(this.blank!==!1&&!this.isAnchor||this.blank===null&&this.isExternalLink&&!this.isAnchor)return"_blank"},isExternalLink:function(){return this.useRouter===!1||this.$routerLink(this.url).match(/^(https?:\/\/|mailto:|tel:\/\/)/)||this.url.match(/\.pdf$/i)}}},Zr=window.Vue.renderSlot,Py=window.Vue.resolveComponent,$y=window.Vue.withCtx,Qr=window.Vue.openBlock,Dy=window.Vue.createBlock;window.Vue.createCommentVNode;const Ny=window.Vue.withModifiers,Sc=window.Vue.createElementBlock,Iy=["href","target"];function By(e,t,n,s,r,o){const i=Py("router-link");return o.useRouterLink?(Qr(),Dy(i,{key:0,to:e.$routerLink(n.url)},{default:$y(()=>[Zr(e.$slots,"default")]),_:3},8,["to"])):n.callback!==!1?(Qr(),Sc("a",{key:1,href:"#",onClick:t[0]||(t[0]=Ny((...a)=>n.callback&&n.callback(...a),["prevent","stop"]))},[Zr(e.$slots,"default")])):(Qr(),Sc("a",{key:2,href:n.url,target:o.target},[Zr(e.$slots,"default")],8,Iy))}const Ie=y(Ty,[["render",By]]),Oy={name:"MenuItem",components:{SoylentLink:Ie,MainMenuSub:Gh},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):!1}},methods:{closeMenu(){this.$store.dispatch("closeMenu")},usercentrics(){window.UC_UI&&window.UC_UI.showSecondLayer()},cookiebot(){window.Cookiebot&&window.Cookiebot.renew()},shouldOpenInNewTab(e){return"target"in e&&e.target==="_blank"}}},xy=window.Vue.toDisplayString,Ry=window.Vue.createElementVNode,Ac=window.Vue.resolve
2Component,My=window.Vue.withCtx,Ly=window.Vue.createVNode,Vc=window.Vue.openBlock,zy=window.Vue.createBlock,Fy=window.Vue.createCommentVNode,Uy=window.Vue.normalizeClass,jy=window.Vue.createElementBlock,Hy={class:"nav-label"};function Gy(e,t,n,s,r,o){const i=Ac("soylent-link"),a=Ac("MainMenuSub");return Vc(),jy("li",{class:Uy(["item",o.itemClasses])},[Ly(i,{onClick:o.closeMenu,url:n.item.url,callback:o.callback,blank:o.shouldOpenInNewTab(n.item),class:"link"},{default:My(()=>[Ry("span",Hy,xy(n.item.label),1)]),_:1},8,["onClick","url","callback","blank"]),n.item.items?(Vc(),zy(a,{key:0,items:n.item.items},null,8,["items"])):Fy("",!0)],2)}const Yh=y(Oy,[["render",Gy]]),Yy=Object.freeze(Object.defineProperty({__proto__:null,default:Yh},Symbol.toStringTag,{value:"Module"})),Wy={name:"FooterMenu",components:{FooterMenuItem:Yh},data:function(){return{items:[]}},beforeMount(){this.items=window.soylent_menus?window.soylent_menus.footer||[]:""}},qy=window.Vue.renderList,Ky=window.Vue.Fragment,Xr=window.Vue.openBlock,Tc=window.Vue.createElementBlock,Jy=window.Vue.resolveComponent,Zy=window.Vue.createBlock,Pc=window.Vue.createElementVNode,Qy={class:"footer-nav"},Xy={class:"menu-footer-container"},ev={id:"menu-footer",class:"footer-menu"};function tv(e,t,n,s,r,o){const i=Jy("footer-menu-item");return Xr(),Tc("div",Qy,[Pc("div",Xy,[Pc("ul",ev,[(Xr(!0),Tc(Ky,null,qy(e.items,a=>(Xr(),Zy(i,{class:"--text-size-xl",key:a.id,item:a},null,8,["item"]))),128))])])])}const nv=y(Wy,[["render",tv]]),sv={name:"SocialShortcuts",data:function(){return{initialItems:[]}},computed:{items(){return this.initialItems}},methods:{getClassNames:function(e){return"ss-"+e.join(" ")}},mounted(){this.initialItems=window.soylent_menus?window.soylent_menus.social||[]:""}},ov=window.Vue.renderList,rv=window.Vue.Fragment,ei=window.Vue.openBlock,ti=window.Vue.createElementBlock,iv=window.Vue.toDisplayString,av=window.Vue.createElementVNode,lv=window.Vue.normalizeClass,cv={class:"social-shortcuts"},dv=["href","target","title","aria-label"];function uv(e,t,n,s,r,o){return ei(),ti("div",cv,[(ei(!0),ti(rv,null,ov(o.items,i=>(ei(),ti("a",{key:i.id,href:i.url,rel:"nofollow",class:lv(o.getClassNames(i.classes)),target:i.target,title:i.label,"aria-label":i.label},[av("span",null,iv(i.label),1)],10,dv))),128))])}const Wh=y(sv,[["render",uv]]),hv={name:"AppFooter",components:{IdvlEditor:ch,SocialShortcuts:Wh,FooterMenu:nv},data:function(){var e;return{editorContent:(e=window.soylent_footer)!=null?e:[]}}},ni=window.Vue.resolveComponent,$c=window.Vue.openBlock,pv=window.Vue.createBlock,_v=window.Vue.createCommentVNode,Dc=window.Vue.createVNode,si=window.Vue.createElementVNode,mv=window.Vue.createElementBlock,fv={id:"colophon",class:"site-footer",role:"contentinfo"},wv={class:"footer-wrapper"},gv={class:"footer-navigation-wrapper"},yv={class:"toolbar"};function vv(e,t,n,s,r,o){const i=ni("idvl-editor"),a=ni("SocialShortcuts"),l=ni("FooterMenu");return $c(),mv("footer",fv,[e.editorContent?($c(),pv(i,{key:0,blocks:e.editorContent},null,8,["blocks"])):_v("",!0),si("div",wv,[si("div",gv,[si("div",yv,[Dc(a)]),Dc(l)])])])}const Nc=y(hv,[["render",vv]]),bv={name:"MenuSwitch",methods:{toggleMenu:function(){this.$store.dispatch("toggleMenu");try{this.$store.dispatch("player/setPlayerDrawerOpen",!1)}catch(e){}}}},Ic=window.Vue.createElementVNode,Ev=window.Vue.openBlock,kv=window.Vue.createElementBlock;function Cv(e,t,n,s,r,o){return Ev(),kv("button",{"aria-label":"Menu anzeigen",class:"--mobile-only menu-switch",onClick:t[0]||(t[0]=(...i)=>o.toggleMenu&&o.toggleMenu(...i))},[...t[1]||(t[1]=[Ic("span",{class:"iconSet"},"menu",-1),Ic("span",{class:"iconSet"},"close",-1)])])}const Sv=y(bv,[["render",Cv]]),Av={name:"MainMenu",components:{SoylentLink:Ie},data:function(){return{selectedMain:null,items:[],menuContent:[],clickListener:null,selectedMainId:null}},computed:{menuClass:function(){return this.selectedMain===null?"":"--submenu_open"},isMenuOpen:function(){return this.$store.getters.isMenuOpen}},methods:{selectMain:function(e){if(this.selectedMainId===e.id){this.closeMenuAction();return}
2if(e.url!==""&&e.url!=="#"){this.selectedMain=null,this.selectedMainId=null,this.$store.dispatch("closeMenu"),this.$router.push(e.url),this.$store.dispatch("closeSubMenu");return}e.items&&e.items.length>0&&(this.selectedMain=e,this.selectedMainId=e.id,this.$store.dispatch("setSubMenuOpen"),this.addClickListener())},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()}}},oi=window.Vue.renderList,Eo=window.Vue.Fragment,Be=window.Vue.openBlock,Ke=window.Vue.createElementBlock,xn=window.Vue.toDisplayString,Bc=window.Vue.createCommentVNode,ri=window.Vue.createTextVNode,Vv=window.Vue.resolveComponent,ii=window.Vue.withCtx,Oc=window.Vue.createBlock,Da=window.Vue.normalizeClass,ko=window.Vue.createElementVNode,Tv=window.Vue.createVNode,Pv=window.Vue.withKeys,$v=window.Vue.resolveDirective,Dv=window.Vue.withDirectives,Nv={class:"menu__primary"},Iv=["onClick","data-label","aria-label"],Bv={class:"menu__secondary"},Ov={class:"menu__secondary__item --header --text-size-s --text-weight-medium"},xv={key:1,href:"#",class:Da("--text-weight-medium")},Rv={key:2,class:"menu__secondary__sub-menu"};function Mv(e,t,n,s,r,o){const i=Vv("soylent-link"),a=$v("focustrap");return Be(),Ke(Eo,null,[ko("ul",Nv,[(Be(!0),Ke(Eo,null,oi(e.items,l=>(Be(),Ke("li",{key:l.id,class:Da(["--text-size-m","menu__primary__item",l.items?"--has-children":"",e.selectedMain!==null&&l.id===e.selectedMain.id?"--active":"",l.classes])},[l.items?(Be(),Ke("button",{key:0,onClick:c=>o.selectMain(l),class:"menu__primary__item__label","data-label":l.label,"aria-label":"Untermenu von "+l.label+" öffnen"},xn(l.label),9,Iv)):(Be(),Oc(i,{key:1,url:l.url,"data-label":l.label,class:"menu__primary__item__label"},{default:ii(()=>[ri(xn(l.label),1)]),_:2},1032,["url","data-label"]))],2))),128))]),e.selectedMain?Dv((Be(),Ke("div",{key:0,class:"menu__wrapper__inner",onKeydown:t[1]||(t[1]=Pv((...l)=>o.closeSubMenu&&o.closeSubMenu(...l),["esc"])),role:"dialog"},[ko("ul",Bv,[ko("li",Ov,[ko("button",{onClick:t[0]||(t[0]=(...l)=>o.closeSubMenu&&o.closeSubMenu(...l))},xn(e.selectedMain.label),1)]),(Be(!0),Ke(Eo,null,oi(e.selectedMain.items,l=>(Be(),Ke("li",{key:"submenu_second_level"+l.id,class:Da(["menu__secondary__item",l.items?"--has-children":""])},[!l.url!=="#"?(Be(),Oc(i,{key:0,url:l.url,"data-label":l.label},{default:ii(()=>[ri(xn(l.label),1)]),_:2},1032,["url","data-label"])):(Be(),Ke("a",xv,xn(l.label),1)),l.items?(Be(),Ke("ul",Rv,[(Be(!0),Ke(Eo,null,oi(l.items,c=>(Be(),Ke("li",{class:"menu__secondary__item",key:c.url},[Tv(i,{url:c.url,"data-label":c.label,class:""},{default:ii(()=>[ri(xn(c.label),1)]),_:2},1032,["url","data-label"])]))),128))])):Bc("",!0)],2))),128))])],32)),[[a]]):Bc("",!0)],64)}const xc=y(Av,[["render",Mv]]),Lv={name:"HeaderTools",components:{SoylentLink:Ie},computed:{}},zv=window.Vue.openBlock,Fv=window.Vue.createElementBlock,Uv={class:"header-tools"};function jv(e,t,n,s,r,o){return zv(),Fv("div",Uv)}const Rc=y(Lv,[["render",jv]]),Hv={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)}}},Mc=window.Vue.createElementVNode,Gv=window.Vue.resolveComponent,Yv=window.Vue.withCtx,Wv=window.Vue.openBlock,qv=window.Vue.createBlock,Kv=["src","alt"];function Jv(e,t,n,s,r,o){const i=Gv("router-link");return Wv(),qv(i,{onClick:o.scrollToTop,class:"logo",href:e.homeUrl,to:e.$routerLink(e.homeUrl),title:e.title,"aria-label":e.title+": Zur Startseite"},{default:Yv(()=>[Mc("picture",null,[Mc("img",{src:e.headerLogo,alt:e.title},null,8,Kv)])]),_:1},8,["onClick","href","to","title","aria-label"])}const qh=y(Hv,[["render",Jv]]),Zv="AppHeaderIdentifier",Qv="AppFooterIdentifier",Xv="AppPlayerCardIdentifier",eb="AppPlayerBarIdentifier",tb="AppPlayerDrawerIdentifier",nb="AppHeaderLogo",Lc="modalComponentdentifier",sb={computed:{headerLogoComponent:function(){return he.getByName(nb,qh)}}},ob={name:"AppHeader",components:{AppHeaderLogo:qh,HeaderTools:Rc,MainMenuSub:Gh,MainMenu:xc,SocialShortcuts:Wh,MenuSwitch:Sv},mixins:[sb],data:function(){return{width:null}},computed:{isDesktop(){return this.width>1024},isMenuOpen:function(){return this.$store.getters.isMenuOpen},headerToolsComponent:function(){return he.getByName("headerTools",Rc)},mainMenuComponent:function(){return he.getByName("mainMenu",xc)}},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)}}
2,zc=window.Vue.resolveComponent,Me=window.Vue.openBlock,Mt=window.Vue.createBlock,ai=window.Vue.createCommentVNode,gs=window.Vue.resolveDynamicComponent,Rn=window.Vue.createElementVNode,Co=window.Vue.createElementBlock,Fc=window.Vue.withKeys,rb=window.Vue.createVNode,ib=window.Vue.vShow,ab=window.Vue.resolveDirective,lb=window.Vue.withDirectives,cb=window.Vue.Transition,db=window.Vue.withCtx,ub=window.Vue.Fragment,hb={class:"header-banner"},pb={class:"header-banner__logo-container"},_b={key:1,class:"header-tools-wrapper"},mb={key:0,class:"menu__wrapper"},fb={class:"header-tools-wrapper"};function wb(e,t,n,s,r,o){const i=zc("SocialShortcuts"),a=zc("MenuSwitch"),l=ab("focustrap");return Me(),Co(ub,null,[Rn("header",{id:"masthead",class:"site-header",role:"banner",onKeydown:t[1]||(t[1]=Fc((...c)=>o.closeMenu&&o.closeMenu(...c),["esc"]))},[Rn("div",hb,[o.isDesktop?(Me(),Mt(i,{key:0})):ai("",!0),Rn("div",pb,[(Me(),Mt(gs(e.headerLogoComponent)))]),o.isDesktop?(Me(),Co("div",_b,[(Me(),Mt(gs(o.headerToolsComponent))),Rn("button",{class:"search-button iconSet",onClick:t[0]||(t[0]=(...c)=>o.toggleSearch&&o.toggleSearch(...c)),title:"Suche","aria-label":"Suche anzeigen"}," search ")])):ai("",!0),o.isDesktop?ai("",!0):(Me(),Mt(a,{key:2}))])],32),o.isDesktop?(Me(),Co("div",mb,[(Me(),Mt(gs(o.mainMenuComponent)))])):(Me(),Mt(cb,{key:1,name:"menu-slide"},{default:db(()=>[lb((Me(),Co("div",{class:"menu__wrapper",onKeydown:t[3]||(t[3]=Fc((...c)=>o.closeMenu&&o.closeMenu(...c),["esc"]))},[rb(i),Rn("div",fb,[(Me(),Mt(gs(o.headerToolsComponent))),Rn("button",{class:"search-button iconSet","aria-label":"Suche anzeigen",onClick:t[2]||(t[2]=(...c)=>o.toggleSearch&&o.toggleSearch(...c))},"search")]),(Me(),Mt(gs(o.mainMenuComponent)))],32)),[[ib,o.isMenuOpen],[l,o.isMenuOpen]])]),_:1}))],64)}const Uc=y(ob,[["render",wb]]),gb={cmms:{backend:{Montag:"Montag",Die
2nstag:"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
2onfiguration_missing:"Die Explorer-Konfiguration fehlt, es können keine Beiträge angezeigt werden"}}},Kh={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 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:"Chars",Wörter:"Words","In die Zwischenablage kopieren":"Copy to clipboard"}}},yb={...Kh},li={de_DE:gb,en_GB:yb,en_US:Kh};var ns,ao,Ia,lo;const Pe=class Pe{static __(t="",n="cmms",...s){var i;const o=Pe.getObjectByNamespace(n)[t]||t;return h(i=Pe,lo).call(i,o,...s)}static _n(t,n=null,s=0,r="cmms",...o){var l;let i=Pe.getObjectByNamespace(r),a=s===1?t:n;return h(l=Pe,lo).call(l,(i[a]||"").replace(/%d/g,s)||a.replace(/%d/g,s),...o)}static _j(t){var s;let n=K(s=Pe,ao,Ia).call(s);return typeof t!="object"?t:t[n]?t[n]:t[h(Pe,ns)]?t[h(Pe,ns)]:t[Object.keys(t)[0]]}static getObjectByNamespace(t=""){var r;const n=K(r=Pe,ao,Ia).call(r);if(!li[n])return{};t=t.split(".");let s=li[n];for(;t.length>0;){let o=t.shift();if(!o.length||!li[n][o])return{...s};s=s[o]}return{...s}}};ns=new WeakMap,ao=new WeakSet,Ia=function(){var t;return(t=window.cmmsLocale)!=null?t:h(Pe,ns)},lo=new WeakMap,R(Pe,ao),R(Pe,ns,"de_DE"),R(Pe,lo,(t="",...n)=>(n.length&&t.match(/(%[\d]+)/g).forEach(s=>{t=t.replace(new RegExp(s),n[parseInt(s.substr(1),10)-1]||"")}),t));let Na=Pe;const vb={name:"AppSearch",data:function(){var t,n,s;return{searchInput:"",selectedGroup:(s=((n=(t=window.soylent_settings)==null?void 0:t.search)!=null?n:{}).default_group)!=null?s:""}},computed:{isVisible(){return this.$store.getters.isSearchOpen},filterOptions(){var e,t,n;return(n=(t=(e=window.soylent_settings)==null?void 0:e.search)==null?void 0:t.filter_options)!=null?n:[]}},methods:{t:function(e){return Na.__(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/".concat(encodeURIComponent(e),"/");this.selectedGroup&&(t+="gruppe/".concat(encodeURIComponent(this.selectedGroup),"/")),window.pll_current_language&&(t="/".concat(window.pll_current_language).concat(t)),this.$router.push(t),this.searchInput=""},closeMenu:function(){this.$store.dispatch("closeMenu")}}},bb=window.Vue.vModelText,jc=window.Vue.withKeys,ct=window.Vue.createElementVNode,ci=window.Vue.withDirectives,Hc=window.Vue.toDisplayString,Eb=window.Vue.renderList,kb=window.Vue.Fragment,ys=window.Vue.openBlock,So=window.Vue.createElementBlock,Cb=window.Vue.vModelRadio,Sb=window.Vue.normalizeClass,Gc=window.Vue.createCommentVNode,Yc=window.Vue.withModifiers,Ab=window.Vue.resolveDirective,Vb=window.Vue.Transition,Tb=window.Vue.withCtx,Pb=window.Vue.createBlock,$b={class:"search-box-wrapper"},Db={class:"search-box",ref:"search"},Nb={class:"input-wrapper"},Ib=["placeholder"],Bb={key:0,class:"search-box__filter"},Ob={class:"search-box__filter__header"},xb={class:"search-box__filter__group"},Rb=["value"],Mb={class:"search-box__filter__group__item__text"};
2function Lb(e,t,n,s,r,o){const i=Ab("focustrap");return ys(),Pb(Vb,{name:"fade_fast"},{default:Tb(()=>[o.isVisible?ci((ys(),So("div",{key:0,class:"main-search-form",role:"dialog",onClick:t[5]||(t[5]=Yc((...a)=>o.toggleSearch&&o.toggleSearch(...a),["self"])),onKeydown:t[6]||(t[6]=jc(Yc((...a)=>o.toggleSearch&&o.toggleSearch(...a),["stop"]),["esc"]))},[ct("div",$b,[ct("div",Db,[ct("div",Nb,[ci(ct("input",{ref:"searchInput",type:"text","onUpdate:modelValue":t[0]||(t[0]=a=>e.searchInput=a),onKeydown:t[1]||(t[1]=jc((...a)=>o.submit&&o.submit(...a),["enter"])),class:"search-field theme__input",name:"s",autocomplete:"off",placeholder:o.t("Suchen")},null,40,Ib),[[bb,e.searchInput]]),ct("button",{class:"search-submit iconSet",onClick:t[2]||(t[2]=(...a)=>o.submit&&o.submit(...a))},"search")]),o.filterOptions.length?(ys(),So("div",Bb,[ct("span",Ob,Hc(o.t("Suchen in"))+":",1),ct("div",xb,[(ys(!0),So(kb,null,Eb(o.filterOptions,a=>(ys(),So("label",{key:a.group,class:Sb(["search-box__filter__group__item","--"+(a.group||"all")])},[ci(ct("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>e.selectedGroup=l),class:"search-box__filter__group__item__input",type:"radio",name:"group",value:a.group},null,8,Rb),[[Cb,e.selectedGroup]]),ct("span",Mb,Hc(a.label),1)],2))),128))])])):Gc("",!0),ct("button",{class:"close iconSet",onClick:t[4]||(t[4]=(...a)=>o.toggleSearch&&o.toggleSearch(...a))},"close")],512)])],32)),[[i]]):Gc("",!0)]),_:1})}const zb=y(vb,[["render",Lb]]),Fb=window.Vue.createElementVNode,Ub=window.Vue.withModifiers,jb=window.Vue.normalizeClass,Hb=window.Vue.openBlock,Gb=window.Vue.createElementBlock,Yb=window.Vue.onBeforeUnmount,Wb=window.Vue.onMounted,qb=window.Vue.ref,Kb={__name:"ScrollToTop",setup(e){const t=qb(!1),n=()=>{window.scrollTo(0,0)},s=()=>{t.value=window.scrollY>0};return Wb(()=>{window.addEventListener("scroll",s,{passive:!0})}),Yb(()=>{window.removeEventListener("scroll",s,{passive:!0})}),(r,o)=>(Hb(),Gb("div",{class:jb(["to-top",{"--active":t.value}]),onClick:Ub(n,["stop","prevent"])},[...o[0]||(o[0]=[Fb("span",{class:"icon iconSet"},"expand_less",-1)])],2))}},Jb={name:"AppPlayerBase",components:{SoylentLink:Ie},computed:{...fe("player",["channelData","currentShow","currentTrack","playerState","playerMode","currentPodcastTitle","currentChannelData","hasPodcasts","hasChannels"]),showPlayer(){return this.hasChannels||!this.isChannel},isCurrentTrackPlaying(){var e,t;return!!((t=(e=this.currentTrack)==null?void 0:e.status)==null||t)},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&&this.currentChannelData.default_cover_id!=null&&(e=this.currentChannelData.default_cover_id?window.cmms_thumbs_base+"12
20x120c/".concat(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===re?this.currentPodcastTitle:this.currentShow?this.currentShow.title||"":this.isChannel?"CHANNEL_SHOW":""},isChannel(){return!(this.playerMode===re||this.playerMode===ve)},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 this.musicPageUrl!==null&&(this.channelPageUrl===null||this.programPageUrl===null||this.songsearchPageUrl===null)}}};function Zb(e,t,n,s,r,o){return null}const Wa=y(Jb,[["render",Zb]]),Qb={name:"AppPlayerControlPlayPage",props:{buttonClass:{type:String,default:""}},computed:{...fe("player",["currentShow","currentTrack","playerState","playerMode"]),buttonIcon(){return this.playerState===It?"pause":this.playerState===is?"autorenew":"play_arrow"},buttonClassTool(){return["player__control",this.playerState===It?"--pause":this.playerState===is?"--loading":"--play"]}},methods:{togglePlayer:function(){Ye.toggle()}}},Xb=window.Vue.toDisplayString,e0=window.Vue.createElementVNode,t0=window.Vue.withModifiers,n0=window.Vue.normalizeClass,s0=window.Vue.openBlock,o0=window.Vue.createElementBlock,r0={class:"iconSet"};function i0(e,t,n,s,r,o){return s0(),o0("button",{class:n0(o.buttonClassTool),onClick:t[0]||(t[0]=t0((...i)=>o.togglePlayer&&o.togglePlayer(...i),["stop"]))},[e0("span",r0,Xb(o.buttonIcon),1)],2)}const qa=y(Qb,[["render",i0]]),a0={name:"AppPlayerControlSkip",components:{},props:{buttonType:{type:String,default:Qn}},computed:{...fe("player",["playerPodcastHasNext","playerPodcastHasPrev"]),checkDisabledClass(){return this.buttonType===Qn?this.playerPodcastHasNext?"":"--disabled":this.playerPodcastHasPrev?"":"--disabled"}},methods:{...Ne("player",["playerPodcastSkip"]),skip(){this.playerPodcastSkip(this.buttonType)}}},l0=window.Vue.toDisplayString,c0=window.Vue.createElementVNode,d0=window.Vue.normalizeClass,u0=window.Vue.openBlock,h0=window.Vue.createElementBlock,p0={class:"iconSet"};function _0(e,t,n,s,r,o){return u0(),h0("button",{onClick:t[0]||(t[0]=(...i)=>o.skip&&o.skip(...i)),class:d0(["player__control","--skip",o.checkDisabledClass])},[c0("span",p0,l0(n.buttonType),1)],2)}const Ar=y(a0,[["render",_0]]),m0={name:"AppPlayerCardControls",components:{AppPlayerControlSkip:Ar,AppPlayerControlPlayPage:qa},computed:{...fe("player",["playerMode"]),podcastMode(){return re}}},Wc=window.Vue.resolveComponent,qc=window.Vue.normalizeClass,di=window.Vue.openBlock,Kc=window.Vue.createBlock,Jc=window.Vue.createCommentVNode,f0=window.Vue.createVNode,w0=window.Vue.createElementBlock,g0={class:"player-card__controls"};function y0(e,t,n,s,r,o){const i=Wc("AppPlayerControlSkip"),a=Wc("AppPlayerControlPlayPage");return di(),w0("div",g0,[e.playerMode===o.podcastMode?(di(),Kc(i,{key:0,class:qc("--text-link"),"button-type":"skip_previous"})):Jc("",!0),f0(a),e.playerMode===o.podcastMode?(di(),Kc(i,{key:1,class:qc("--text-link")})):Jc("",!0)])}const v0=y(m0,[["render",y0]]),b0={data(){return{_raf:null,lastSeekTime:null}},computed:{...fe("player",["playerState","playerElapsedPercent"]),durationFormated(){return yr(Ye.getDuration())},currentTimeFormated(){return yr(Ye.getElapsed())},progressStyle:function(){return{width:this.playerState===Ma||this.playerState===bu?"0":this.playerElapsedPercent+"%"}}},methods:{startDrag(e){Ye.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 r=((this.isMouseEvent(e)?e.pageX:e.touches[0].clientX)-t.left)/this.$refs.player_bar.offsetWidth;r=Math.min(Math.max(r,0),1);const o=Ye.getDuration()*r;(this.lastSeekTime===null||Math.abs(this.lastSeekTime-o)>.05)&&(Ye.seek(o),this.lastSeekTime=o)}},isMouseEvent(e){return e.type.includes("mouse")},detectMouseUp(){Ye.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)}}},E0={name:"AppPlayerProgress",mixins:[b0]},Zc=window.Vue.toDisplayString,vs=window.Vue.createElementVNode,k0=window.Vue.normalizeStyle,Qc=window.Vue.withModifiers,C0=window.Vue.openBlock,S0=window.Vue.createElementBlock,A0={class:"player-progress"},V0={class:"player-progress__time --current --text-size-xxs"},T0={class:"player-progress__time --duration --text-size-xxs"};function P0(e,t,n,s,r,o){return C0(),S0("div",A0,[vs("div",V0,Zc(e.currentTimeFormated),1),vs("div",{onMousedown:t[0]||(t[0]=Qc(i=>e.startDrag(i),["stop"])),onTouchstart:t[1]||(t[1]=Qc(i=>e.startDrag(i),["stop"])),style:{"touch-action":"none"},class:"player-progress__bar",ref:"player_bar"},[t[2]||(t[2]=vs("div",{class:"player-progress__bar__background"},null,-1)),vs("div",{class:"player-progress__bar__current",style:k0(e.progressStyle)},null,4)],544),vs("div",T0,Zc(e.durationFormated),1)])}const Vr=y(E0,[["render",P0]]),Jh={props:{channelId:{type:Number,default:null},audioObject:{type:Object,default:null},podcastObject:{type:Object,default:null},callback:{default:!1}},computed:{...fe("player",["playerAudioObject","playerChannelId","playerState","playerMode"]),mode(){return this.channelId?Ee:this.podcastObject?re:this.audioObject?ve:null},isActive(){switch(this.mode){case Ee:return this.channelId===this.playerChannelId;case re:case ve:return this.playerAudioObject&&this.audioObject&&this.playerAudioObject.post_id===this.audioObject.post_id}return!1},isPlaying(){return this.isActive&&this.playerState===It},isBuffering(){return this.isActive&&this.playerState===is}},methods:{...Ne("player",["setPlayerPodcast","setPlayerAudioObject","setPlayerChannelId"]),togglePlayer:function(){if(this.$props.callback)return this.$props.callback();if(!this.isPlaying&&!this.isBuffering)switch(this.mode){case Ee:this.setPlayerChannelId({channelId:this.$props.channelId,autoplay:!0});break;case re:this.setPlayerPodcast({podcastObject:this.$props.podcastObject,audioObject:this.$props.audioObject,autoplay:!0});break;case ve:this.setPlayerAudioObject({audioObject:this.$props.audioObject,autoplay:!0});break}else Ye.pause();return!1}}},$0={name:"AppPlayerControlPlay",mixins:[Jh],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"]}}},D0=window.Vue.toDisplayString,N0=window.Vue.createElementVNode,I0=window.Vue.withModifiers,B0=window.Vue.normalizeClass,O0=window.Vue.openBlock,x0=window.Vue.createElementBlock,R0=["aria-label"],M0={class:"iconSet"};function L0(e,t,n,s,r,o){return O0(),x0("button",{class:B0(o.buttonClassTool),onClick:t[0]||(t[0]=I0((...i)=>e.togglePlayer&&e.togglePlayer(...i),["stop"])),"aria-label":e.isPlaying?"Pause":"Play"},[N0("span",M0,D0(o.buttonIcon),1)],10,R0)}
2const Tn=y($0,[["render",L0]]),z0={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 e!=="none"},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)}},F0=window.Vue.toDisplayString,U0=window.Vue.createTextVNode,j0=window.Vue.resolveDynamicComponent,H0=window.Vue.withCtx,G0=window.Vue.openBlock,Y0=window.Vue.createBlock;function W0(e,t,n,s,r,o){return G0(),Y0(j0(e.$props.tag),{ref:"el",style:{overflow:"hidden"}},{default:H0(()=>[U0(F0(e.croppedText),1)]),_:1},512)}const Ot=y(z0,[["render",W0]]),q0={name:"PodcastEpisode",components:{AppPlayerControlPlay:Tn,SoylentLink:Ie,CroppedText:Ot},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}
2,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:{...Ne("player",["setPlayerDrawerOpen"]),triggerAudio:function(){this.$refs.playButton.togglePlayer()},beforeMoreLinkAction(e){this.setPlayerDrawerOpen(!1),e.stopImmediatePropagation()}}},Xc=window.Vue.resolveComponent,ed=window.Vue.createVNode,Ao=window.Vue.toDisplayString,Et=window.Vue.createElementVNode,bs=window.Vue.openBlock,Es=window.Vue.createElementBlock,Vo=window.Vue.createCommentVNode,K0=window.Vue.withModifiers,J0=window.Vue.withCtx,Z0=window.Vue.normalizeClass,Q0={key:0,class:"podcast-episode__entry"},X0={class:"podcast-episode__entry__meta --text-size-s --text-weight-medium"},e1={class:"podcast-episode__entry__meta__date"},t1={class:"podcast-episode__entry__meta__duration"},n1={class:"podcast-episode__entry__title --text-size-m"},s1={key:0,class:"podcast-episode__entry__excerpt --text-size-xs"},o1={key:1,class:"podcast-episode__actions"},r1=["href"];function i1(e,t,n,s,r,o){const i=Xc("AppPlayerControlPlay"),a=Xc("soylent-link");return bs(),Es("div",{onClick:t[1]||(t[1]=(...l)=>o.triggerAudio&&o.triggerAudio(...l)),class:Z0(o.episodeClasses)},[ed(i,{ref:"playButton","audio-object":n.audioObject,"podcast-object":n.podcastObject},null,8,["audio-object","podcast-object"]),n.audioObject?(bs(),Es("div",Q0,[Et("span",X0,[Et("span",e1,Ao(o.dateFormated),1),t[2]||(t[2]=Et("span",{class:"podcast-episode__entry__meta__spacer"},"·",-1)),Et("span",t1,Ao(n.audioObject.duration)+" min",1)]),Et("span",n1,Ao(n.audioObject.title),1),n.audioObject.excerpt!==" "&&n.audioObject.excerpt!==""?(bs(),Es("span",s1,Ao(n.audioObject.excerpt),1)):Vo("",!0)])):Vo("",!0),n.hideMoreButton!==!0?(bs(),Es("div",o1,[o.downloadUrl?(bs(),Es("a",{key:0,href:o.downloadUrl,class:"button --text-link --download",download:"",onClick:t[0]||(t[0]=K0(()=>{},["stop"])),title:"Download"},[...t[3]||(t[3]=[Et("span",{class:"button__label"},[Et("span",{class:"button__text --text-size-xs"},"Download")],-1)])],8,r1)):Vo("",!0),ed(a,{url:n.audioObject.url,class:"button --text-link --more",onClick:o.beforeMoreLinkAction,title:"Zu den Episodendetails"},{default:J0(()=>[...t[4]||(t[4]=[Et("span",{class:"button__label"},[Et("span",{class:"button__text --text-size-xs"},"Mehr")],-1)])]),_:1},8,["url","onClick"])])):Vo("",!0)],2)}const to=y(q0,[["render",i1]]),a1={name:"AppPlayerCard",components:{CmmsResponsiveImage:be,PodcastEpisode:to,AppPlayerControlPlay:Tn,AppPlayerControlSkip:Ar,AppPlayerProgress:Vr,AppPlayerCardControls:v0},extends:Wa,data(){return{isExpanded:!0}},computed:{...fe("player",["playerDrawerOpen"])},methods:{...Ne("player",["setPlayerDrawerOpen"]),toggleDrawer:function(){this.setPlayerDrawerOpen(!this.playerDrawerOpen)},toggleExpand:function(){this.isExpanded=!this.isExpanded}}},Ce=window.Vue.createElementVNode,ui=window.Vue.resolveComponent,td=window.Vue.withCtx,nn=window.Vue.openBlock,nd=window.Vue.createBlock,sn=window.Vue.createCommentVNode,ks=window.Vue.createElementBlock,Zh=window.Vue.normalizeClass,To=window.Vue.toDisplayString,sd=window.Vue.createVNode,l1={class:Zh(["player-card__toolbar"])},c1={class:"player-card__media"},d1=["src","alt"],u1={class:"player-card__media__track"},h1={class:"player-card__media__track__interpret --text-size-xs --text-weight-medium"},p1=["title"],_1={key:0},m1={key:1,class:"player-card__entry"},f1=["title"],w1=["title"];function g1(e,t,n,s,r,o){const i=ui("soylent-link"),a=ui("AppPlayerCardControls"),l=ui("AppPlayerProgress");return e.showPlayer?(nn(),ks("div",{key:0,class:Zh(["player-card",r.isExpanded?"":"--resized",e.playerDrawerOpen?"--drawer_open":""])},[Ce("div",l1,[Ce("button",{onClick:t[0]||(t[0]=(...c)=>o.toggleExpand&&o.toggleExpand(...c)),class:"player-card__toolbar__tool --expand"},[...t[2]||(t[2]=[Ce("span",{class:"iconSet"},"expand_more",-1)])]),e.songsearchPageUrl?(nn(),nd(i,{key:0,url:e.songsearchPageUrl,class:"player-card__toolbar__tool",title:"Songsuche"},{default:td(()=>[...t[3]||(t[3]=[Ce("span",{class:"iconSet"},"manage_search",-1)])]),_:1},8,["url"])):sn("",!0),e.programPageUrl?(nn(),nd(i,{key:1,url:e.programPageUrl,class:"player-card__toolbar__tool",title:"Programm"},{default:td(()=>[...t[4]||(t[4]=[Ce("span",{class:"iconSet"},"today",-1)])]),_:1},8,["url"])):sn("",!0),e.hasChannels||e.hasPodcasts?(nn(),ks("button",{key:2,onClick:t[1]||(t[1]=(...c)=>o.toggleDrawer&&o.toggleDrawer(...c)),class:"player-card__toolbar__tool player__drawer
2-switch",title:"Mehr"},[...t[5]||(t[5]=[Ce("div",{class:"iconSet"},"library_music",-1),Ce("div",{class:"iconSet"},"close",-1)])])):sn("",!0)]),Ce("div",c1,[e.currentTrackCover?(nn(),ks("img",{key:0,class:"player-card__media__cover",src:e.currentTrackCover,alt:e.currentTrackTitle},null,8,d1)):sn("",!0),Ce("div",u1,[Ce("div",h1,To(e.currentTrackInterpret),1),Ce("div",{class:"player-card__media__track__title --text-size-xxs",title:e.currentTrackTitle},To(e.currentTrackTitle),9,p1),sd(a)])]),e.isChannel?sn("",!0):(nn(),ks("div",_1,[sd(l)])),e.isChannel?(nn(),ks("div",m1,[t[6]||(t[6]=Ce("span",{class:"player-card__entry__onair"},[Ce("span",{class:"iconSet"},"equalizer"),Ce("span",{class:"player-card__entry__onair__label --text-size-xxs"},"on Air")],-1)),Ce("span",{class:"player-card__entry__show --text-size-xxs --text-weight-medium",title:e.showTitle},To(e.showTitle),9,f1),Ce("span",{class:"player-card__entry__host --text-size-xxs",title:e.showExcerpt},To(e.showExcerpt),9,w1)])):sn("",!0)],2)):sn("",!0)}const od=y(a1,[["render",g1]]);let ds={fullsizePlayer:!1,playerBarShowInfo:!1};const y1={name:"AppPlayerBar",components:{AppPlayerControlPlay:Tn,AppPlayerControlSkip:Ar,AppPlayerProgress:Vr,PodcastEpisode:to,AppPlayerControlPlayPage:qa,CmmsResponsiveImage:be},extends:Wa,data(){return{activeTab:"podcast",currentPodcast:null,touchStartX:0,touchStartY:0,touchStartTime:null}},computed:{...fe("player",["playerDrawerOpen","playerPodcastObject","playerMode","podcastData","currentChannelId","currentChannelData","channels"]),hasFullscreenPlayer(){return ds.fullsizePlayer},hasPlayerBarShowInfo(){return ds.playerBarShowInfo},audioMode(){return ve},podcastMode(){return re},channelMode(){return Ee},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((t,n)=>{t.index=n}),e=e.sort((t,n)=>t.order-n.order),e},podcastEpisodeComponent(){return he.getByName("podcastEpisode",to)},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:{...Ne("player",["loadPodcast","setPlayerChannelId","playerPodcastSkip","setPlayerDrawerOpen"]),toggleDrawer:function(){this.setPlayerDrawerOpen(!this.playerDrawerOpen),this.playerDrawerOpen===!0&&(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);e?this.currentPodcast=e:this.currentPodcast=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+"".concat(t,"x").concat(t,"c/").concat(e,".webp")},touchStartEvent(e){this.touchStartX=e.changedTouches[0].pageX,this.touchStartY=e.changedTouches[0].pageY,this.touchStartTime=new Date},touchEndEvent(e){const r=e.changedTouches[0].pageX,o=e.changedTouches[0].pageY,i=new Date;let a=r-this.touchStartX,l=o-this.touchStartY;i-this.touchStartTime<700&&(Math.abs(a)>35&&Math.abs(l)<35?a<0?this.playerPodcastSkip(Qn):this.playerPodcastSkip(p_):this.toggleDrawer())}},beforeUnmount(){this.playerDrawerOpen&&this.setPlayerDrawerOpen(!1)}},Le=window.Vue.openBlock,dt=window.Vue.createElementBlock,kt=window.Vue.createCommentVNode,Mn=window.Vue.createElementVNode,hi=window.Vue.resolve
2Component,rd=window.Vue.createBlock,Cs=window.Vue.toDisplayString,pi=window.Vue.Transition,_i=window.Vue.withCtx,Po=window.Vue.createVNode,id=window.Vue.normalizeClass,v1={class:"player-bar__player"},b1={class:"player-bar__media"},E1=["src","alt"],k1={class:"player-bar__track__interpret --text-size-xs --text-weight-medium"},C1=["title"],S1={key:0,class:"player-bar__showinfo-text"},A1={key:0,class:"player-bar__showinfo-text__title"},V1={key:1,class:"player-bar__showinfo-text__excerpt"},T1={key:2,class:"player-bar__showinfo-text__channel"},P1={key:1,class:"player-bar__showinfo-image"},$1={key:0,class:"iconSet"},D1={key:1,class:"iconSet"};function N1(e,t,n,s,r,o){const i=hi("AppPlayerProgress"),a=hi("AppPlayerControlPlayPage"),l=hi("CmmsResponsiveImage");return Le(),rd(pi,{name:"fade",appear:""},{default:_i(()=>[e.showPlayer?(Le(),dt("div",{key:0,class:id(["player-bar",e.playerDrawerOpen?"--drawer_open":""])},[Mn("div",v1,[Mn("div",b1,[e.currentTrackCover?(Le(),dt("img",{key:0,class:"player-bar__media__cover",src:e.currentTrackCover,alt:e.currentTrackTitle},null,8,E1)):kt("",!0)]),e.playerMode===o.podcastMode||e.playerMode===o.audioMode?(Le(),rd(i,{key:0})):kt("",!0),Po(pi,{name:"fade",appear:""},{default:_i(()=>[Mn("div",{class:"player-bar__track",onTouchstart:t[0]||(t[0]=(...c)=>o.touchStartEvent&&o.touchStartEvent(...c)),onTouchend:t[1]||(t[1]=(...c)=>o.touchEndEvent&&o.touchEndEvent(...c)),style:{"transition-delay":"1s"}},[Mn("div",k1,Cs(e.currentTrackInterpret),1),Mn("div",{class:"player-bar__track__title --text-size-xxs",title:e.currentTrackTitle},Cs(e.currentTrackTitle),9,C1)],32)]),_:1}),Po(a,{class:id("--text-link")}),Po(pi,{name:"fade",appear:""},{default:_i(()=>[o.hasPlayerBarShowInfo?(Le(),dt("div",S1,[o.showTitle?(Le(),dt("span",A1,Cs(o.showTitle),1)):kt("",!0),o.showExcerpt?(Le(),dt("span",V1,Cs(o.showExcerpt),1)):kt("",!0),o.channelTitle&&e.playerMode===o.channelMode?(Le(),dt("span",T1,Cs(o.channelTitle),1)):kt("",!0)])):kt("",!0)]),_:1}),o.hasPlayerBarShowInfo&&o.showImage?(Le(),dt("div",P1,[Po(l,{image:o.showImage},null,8,["image"])])):kt("",!0),e.hasChannels||e.hasPodcasts?(Le(),dt("button",{key:2,onClick:t[2]||(t[2]=(...c)=>o.toggleDrawer&&o.toggleDrawer(...c)),class:"player__drawer-switch"},[o.hasFullscreenPlayer?(Le(),dt("span",D1,"queue_music")):(Le(),dt("span",$1,"library_music")),t[3]||(t[3]=Mn("span",{class:"iconSet"},"close",-1))])):kt("",!0)])],2)):kt("",!0)]),_:1})}const ad=y(y1,[["render",N1]]),I1={name:"AppPlayerDrawerPodcastShortcut",components:{CroppedText:Ot,CmmsResponsiveImage:be,SoylentLink:Ie},mixins:[Jh],props:{podcastData:{type:Object,default:null},startPodcast:{type:Boolean,default:!0},isLoading:{type:Boolean,default:!1}},computed:{...fe("player",["playerPodcastObject","playerState"]),podcastUrl(){return this.podcastData?Xw(this.podcastData.url):""},description(){return this.podcastData.description?Vf(this.podcastData.description):null},isSelected(){return this.playerPodcastObject?this.playerPodcastObject.post_id===this.podcastData.post_id:!1},isPlaying(){return this.isSelected&&this.playerState===It}},methods:{...Ne("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)}}},mi=window.Vue.resolveComponent,Ct=window.Vue.openBlock,$o=window.Vue.createBlock,Lt=window.Vue.createCommentVNode,St=window.Vue.createElementVNode,Ss=window.Vue.createElementBlock,B1=window.Vue.normalizeClass,ld=window.Vue.toDisplayString,cd=window.Vue.withCtx,O1=window.Vue.withModifiers,x1={class:"player__drawer__podcast__item__cover-wrapper"},R1={key:1,class:"player__drawer__podcast__item__tool --loading"},M1={class:"player__drawer__podcast__item__meta"},L1={key:0,class:"player__drawer__podcast__item__title --text-size-l"},z1={key:1,class:"player__drawer__podcast__item__episodes"};function F1(e,t,n,s,r,o){const i=mi("CmmsResponsiveImage"),a=mi("CroppedText"),l=mi("soylent-link");return n.podcastData?(Ct(),Ss("div",{key:0,class:"player__drawer__podcast__item",onClick:t[0]||(t[0]=O1((...c)=>o.setPodcast&&o.setPodcast(...c),["stop"]))},[St("div",x1,[n.podcastData.image?(Ct(),$o(i,{key:0,class:"player__drawer__podcast__item__cover",image:n.podcastData.image},null,8,["image"])):Lt("",!0),n.isLoading?(Ct(),Ss("div",R1,[...t[1]||(t[1]=[St("span",{class:"iconSet"},"refresh",-1)])])):o.isSelected?(Ct(),Ss("div",{key:2,class:B1(["player__drawer__podcast__item__tool --equalizer",o.isPlaying?"--is-playing":""])},[...t[2]||(t[2]=[St("span",null,null,-1),St("span",null,null,-1),St("span",null,null,-1)])],2)):Lt("",!0)]),St("div",M1,[n.podcastData.title?(Ct(),Ss("h4",L1,ld(n.podcastData.title),1)):Lt("",!0),n.podcastData.episodes_amount>0?(Ct(),Ss("div",z1,ld(n.podcastData.episodes_amount)+" Folgen ",1)):Lt("",!0),o.description?(Ct(),$o(a,{key:2,class:"player__drawer__podcast__item__description",tag:"span",lines:2,text:o.description},null,8,["text"])):Lt("",!0),n.podcastData.episodes_amount>0&&n.startPodcast?(Ct(),$o(l,{key:3,callback:o.gotoPodcast,class:"player__drawer__podcast__item__link button --text-link --text-size-xs",title:"Zu den Podcastdetails"},{default:cd(()=>[...t[3]||(t[3]=[St("span",{class:"button__label"},[St("span",{class:"button__text --text-size-xs"},"Zum Podcast")],-1)])]),_:1},8,["callback"])):Lt("",!0),n.podcastData.episodes_amount>0&&!n.startPodcast?(Ct(),$o(l,{key:4,callback:o.setPodcast,class:"player__drawer__podcast__item__link button --text-link --text-size-xs",title:"Zur Episodenauswahl"},{default:cd(()=>[...t[4]||(t[4]=[St("span",{class:"button__icon iconSet"},"east",-1)])]),_:1},8,["callback"])):Lt("",!0)])])):Lt("",!0)}const U1=y(I1,[["render",F1]]),j1="slider_type_tv",H1="slider_type_radio",G1={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:[mp,fp,wp,gp,yp,vp],swiperElement:null,nextEnabled:!1,prevEnabled:!1,hideNavigation:!1,defaultAutoplayInterval:3}},computed:{optionBreakpoints(){return this.free===!0?null:this.fullsize?!1:this.breakpoints},optionFree(){return this.free?{enabled:!0,sticky:!0}:!1},optionSlidesPerView(){return this.free===!0?"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:this.optionAutoPlayInterval*1e3,disableOnInteraction:!1}:!1},optionSpaceBetween(){return this.spaceBetween===null?16:this.spaceBetween},optionClickToSlide(){return this.clickToSlide},getPagination(){if(this.showBullets===!0){let e={el:this.$refs.pagination_container,clickable:!0,type:"bullets"};return this.sliderType===H1&&(e.bulletClass="swiper__controls__pagination__bullet",e.bulletActiveClass="--active"),e}else return!1},currentIndex(){this.swiperElement.realIndex}},methods:{initSwiper(e){this.swiperElement=e.detail[0].el.swiper,this.updateButtons(),this.activeIndex&&(this.loop===!0?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.
2ceil(this.swiperElement.realIndex),t),this.updateButtons()},onAutoplayTimeLeft(e,t,n){if(this.swiperElement){let s=Math.ceil((this.optionAutoPlayInterval*1e3-this.swiperElement.autoplay.timeLeft)/(this.optionAutoPlayInterval*1e3)*100);this.$emit("autoplayTimeUpdate",s)}},prev:function(){this.swiperElement!==null&&this.swiperElement.slidePrev()},next:function(){this.swiperElement!==null&&this.swiperElement.slideNext()},swipeTo(e){this.swiperElement.slideTo(e),this.loop===!0?this.swiperElement.slideToLoop(e):this.swiperElement.slideTo(e)},updateButtons(){if(this.swiperElement==null){this.prevEnabled=!1,this.nextEnabled=!1;return}this.nextEnabled=!this.swiperElement.isEnd,this.prevEnabled=!this.swiperElement.isBeginning,this.loop===!0&&(this.nextEnabled=!0,this.prevEnabled=!0),this.hideNavigation=this.swiperElement.isEnd&&this.swiperElement.isBeginning},restoreSlideFocus(e){e.slides.forEach(n=>{n.removeAttribute("tabindex"),n.querySelectorAll("a, button, input, textarea, select, [tabindex]").forEach(s=>{s.getAttribute("tabindex")==="-1"&&s.setAttribute("tabindex","0")})})},makeSlidesFocusable(e){e.slides.forEach(t=>{t.setAttribute("tabindex","0")})},handleKeyboardNavigation(e){["Tab"].includes(e.key)&&this.swiperElement.autoplay&&this.swiperElement.autoplay.running&&this.swiperElement.autoplay.stop()}},watch:{activeIndex:function(e){this.loop===!0?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)}},Y1={name:"SliderWrapper",mixins:[G1],props:{useSliderType:{type:String,default:null}},data(){return{sliderType:j1}},mounted(){this.useSliderType&&(this.sliderType=this.useSliderType)}},W1=window.Vue.renderSlot,Do=window.Vue.normalizeClass,No=window.Vue.openBlock,Io=window.Vue.createElementBlock,fi=window.Vue.createCommentVNode,Bo=window.Vue.createElementVNode,q1=window.Vue.Fragment,K1=["slides-per-view","breakpoints","loop","free-mode","autoplay","height","centeredSlides","space-between","pagination","a11y","modules"],J1=["disabled"],Z1={class:"swiper__controls__pagination",ref:"pagination_container"},Q1=["disabled"];function X1(e,t,n,s,r,o){return No(),Io(q1,null,[e.rendered?(No(),Io("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:Do(e.swiperInnerClassNames),noSwipingClass:"vjs-control-bar",onAfterinit:t[0]||(t[0]=(...i)=>e.initSwiper&&e.initSwiper(...i)),onSlidechange:t[1]||(t[1]=(...i)=>e.onSlideChange&&e.onSlideChange(...i)),onAutoplaytimeleft:t[2]||(t[2]=(...i)=>e.onAutoplayTimeLeft&&e.onAutoplayTimeLeft(...i)),"on:reachEnd":t[3]||(t[3]=(...i)=>e.updateButtons&&e.updateButtons(...i)),onObserverupdate:t[4]||(t[4]=(...i)=>e.onOberverUpdate&&e.onOberverUpdate(...i)),onResize:t[5]||(t[5]=(...i)=>e.onDefaultEvent&&e.onDefaultEvent(...i)),"on:reachBeginning":t[6]||(t[6]=(...i)=>e.onDefaultEvent&&e.onDefaultEvent(...i)),modules:e.modules},[W1(e.$slots,"default")],42,K1)):fi("",!0),Bo("div",{class:Do(["swiper__controls",e.swiperControlsClassNames])},[e.hideNavigation?fi("",!0):(No(),Io("button",{key:0,class:Do(["--prev","swiper__controls__item",e.prevEnabled?"":"--disabled"]),disabled:!e.prevEnabled,role:"button","aria-label":"Vorheriger Slide",onClick:t[7]||(t[7]=(...i)=>e.prev&&e.prev(...i))},[...t[9]||(t[9]=[Bo("span",{class:"iconSet"},"chevron_left",-1)])],10,J1)),Bo("div",Z1,null,512),e.hideNavigation?fi("",!0):(No(),Io("button",{key:1,class:Do(["--next","swiper__controls__item",e.nextEnabled?"":"--disabled"]),disabled:!e.nextEnabled,role:"button","aria-label":"Nächster Slide",onClick:t[8]||(t[8]=(...i)=>e.next&&e.next(...i))},[...t[10]||(t[10]=[Bo("span",{class:"iconSet"},"chevron_right",-1)])],10,Q1))],2)],64)}const eE=y(Y1,[["render",X1]]);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;
2const Oo=window.Vue.h,wi=window.Vue.ref,tE=window.Vue.onMounted,nE=window.Vue.onUpdated,sE=window.Vue.onBeforeUpdate,oE=window.Vue.computed,rE=window.Vue.onBeforeUnmount,iE=window.Vue.provide,aE={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,s=!1;const{swiperRef:r}=e,o=wi(null),i=wi("swiper-slide"),a=wi(!1);function l(u,p,_){p===o.value&&(i.value=_)}tE(()=>{!r||!r.value||(r.value.on("_slideClass",l),s=!0)}),sE(()=>{s||!r||!r.value||(r.value.on("_slideClass",l),s=!0)}),nE(()=>{!o.value||!r||!r.value||(typeof e.swiperSlideIndex<"u"&&(o.value.swiperSlideIndex=e.swiperSlideIndex),r.value.destroyed&&i.value!=="swiper-slide"&&(i.value="swiper-slide"))}),rE(()=>{!r||!r.value||r.value.off("_slideClass",l)});const c=oE(()=>({isActive:i.value.indexOf("swiper-slide-active")>=0,isVisible:i.value.indexOf("swiper-slide-visible")>=0,isPrev:i.value.indexOf("swiper-slide-prev")>=0,isNext:i.value.indexOf("swiper-slide-next")>=0}));iE("swiperSlide",c);const d=()=>{a.value=!0};return()=>Oo(e.tag,{class:zg("".concat(i.value)),ref:o,"data-swiper-slide-index":typeof e.virtualIndex>"u"&&r&&r.value&&r.value.params.loop?e.swiperSlideIndex:e.virtualIndex,onLoadCapture:d},e.zoom?Oo("div",{class:"swiper-zoom-container","data-swiper-zoom":typeof e.zoom=="number"?e.zoom:void 0},[n.default&&n.default(c.value),e.lazy&&!a.value&&Oo("div",{class:"swiper-lazy-preloader"})]):[n.default&&n.default(c.value),e.lazy&&!a.value&&Oo("div",{class:"swiper-lazy-preloader"})])}};window.Vue.inject;const lE={name:"AppPlayerDrawer",components:{CroppedText:Ot,AppPlayerDrawerPodcastShortcut:U1,AppPlayerControlPlay:Tn,AppPlayerControlSkip:Ar,AppPlayerProgress:Vr,PodcastEpisode:to,AppPlayerControlPlayPage:qa,CmmsResponsiveImage:be,SliderWrapper:eE,SwiperSlide:aE},extends:Wa,data(){return{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:{...fe("player",["podcastList","hasPodcasts","hasChannels","playerDrawerOpen","playerPodcastObject","playerMode","podcastData","currentChannelId","currentChannelData","channels"]),hasFullscreenPlayer(){return ds.fullsizePlayer},audioMode(){return ve},podcastMode(){return re},channelMode(){return Ee},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((t,n)=>{t.index=n}),e=e.sort((t,n)=>t.order-n.order),e},podcastEpisodeComponent(){return he.getByName("podcastEpisode",to)},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:{...Ne("player",["loadPodcastList","loadPodcast","setPlayerChannelId","playerPodcastSkip","setPlayerDrawerOpen"]),toggleDrawer:function(){this.setPlayerDrawerOpen(!this.playerDrawerOpen),this.playerDrawerOpen===!0&&(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);e?this.currentPodcast=e:this.currentPodcast=await this.loadPodcast(this.playerPodcastObject.api_url)},triggerAudio:function(e,t){e.sources&&this.setPlayerChannelId({channelId:t,auto
2play:!0})},getCover:function(e,t){return window.cmms_thumbs_base+"".concat(t,"x").concat(t,"c/").concat(e,".webp")},async getCurrentPodcastData(e){if((this.podcastId===void 0||!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 s=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(s),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(e*1e3)},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)}},ut=window.Vue.normalizeClass,J=window.Vue.openBlock,se=window.Vue.createElementBlock,_e=window.Vue.createCommentVNode,dd=window.Vue.Transition,xo=window.Vue.withCtx,zt=window.Vue.createVNode,Y=window.Vue.createElementVNode,As=window.Vue.renderList,Ln=window.Vue.Fragment,Ft=window.Vue.resolveComponent,At=window.Vue.createBlock,ud=window.Vue.resolveDynamicComponent,Vt=window.Vue.toDisplayString,cE=window.Vue.withKeys,dE=window.Vue.resolveDirective,uE=window.Vue.withDirectives,hE={class:"player__drawer__close"},pE={key:0,class:"player__drawer__tab-navigation"},_E={key:1,class:"player__drawer__tab --active"},mE={class:"player__drawer__podcast"},fE={class:"player__drawer__podcast__entries"},wE={key:0,class:"player__drawer__podcast__controls"},gE={key:2,class:"player__drawer__tab --active"},yE={class:"player__drawer__podcast"},vE={class:"player__drawer__podcast__entries"},bE={key:0,class:"player__drawer__podcast__label --text-size-xxs"},EE={key:0,class:"player__drawer__podcast__controls"},kE={key:3,class:"player__drawer__tab --active"},CE={class:"player__drawer__channels__current"},SE=["src","alt","title"],AE={class:"player__drawer__channels__current__meta"},VE={class:"player__drawer__channels__current__title"},TE={key:0,class:"player__drawer__channels__playlist__wrapper"},PE={key:0,class:"player__drawer__channels__playlist"},$E={class:"player__drawer__channels__playlist__item__time"},DE={class:"player__drawer__channels__playlist__item__track"},NE={class:"player__drawer__channels__playlist__item__track__interpret"},IE={class:"player__drawer__channels__playlist__item__track__title"},BE={key:1,class:"player__drawer__channels__playlist"},OE={class:"player__drawer__channels__playlist__item"},xE={class:"player__drawer__channels__playlist__item__time"},RE={class:"player__drawer__channels__playlist__item__track"},ME={class:"player__drawer__channels__playlist__item__track__interpret"},LE={class:"player__drawer__channels__playlist__item__track__title"},zE={key:1,class:"player__drawer__channels__grid"},FE=["title","onClick"],UE=["src","alt"],jE={key:2,class:"player__drawer__show"},HE={class:"player__drawer__show__meta"},GE={class:"player__drawer__show__onair"},YE={class:"player__drawer__show__onair__label --text-size-xxs"},WE={class:"player__drawer__show__title"},qE={class:"player__drawer__show__media"};function KE(e,t,n,s,r,o){const i=Ft("AppPlayerDrawerPodcastShortcut"),a=Ft("AppPlayerControlSkip"),l=Ft("AppPlayerProgress"),c=Ft("AppPlayerControlPlay"),d=Ft("SwiperSlide"),u=Ft("SliderWrapper"),p=Ft("CroppedText"),_=Ft("CmmsResponsiveImage"),V=dE("focustrap");return J(),se(Ln,null,[zt(dd,{name:"drawer-blocker"},{default:xo(()=>[e.playerDrawerOpen?(J(),se("div",{key:0,class:ut(["player__drawer__blocker",o.hasFullscreenPlayer?"--bar":"--card"]),onClick:t[0]||(t[0]=(...E)=>o.toggleDrawer&&o.toggleDrawer(...E))},null,2)):_e("",!0)]),_:1}),zt(dd,{name:"drawer"},{default:xo(()=>[e.playerDrawerOpen?uE((J(),se("div",{key:0,onKeydown:t[5]||(t[5]=cE((...E)=>o.toggleDrawer&&o.toggleDrawer(...E),["esc"])),class:ut(["player__drawer",o.hasFullscreenPlayer?"--bar":"--card"]),role:"dialog"},[Y("div",hE,[Y("button",{class:"iconSet",onClick:t[1]||(t[1]=(...E)=>o.toggleDrawer&&o.toggleDrawer(...E))},"close")]),e.hasPodcasts&&e.hasChannels?(J(),se("div",pE,[e.hasChannels?(J(),se("button",{key:0,onClick:t[2]||(t[2]=E=>o.selectDrawerTab("channel")),class:ut(["player__drawer__tab-navigation__item --channel",r.activeTab==="channel"?"--active":""])},[...t[6]||(t[6]=[Y("span",{class:"iconSet"},"apps",-1),Y("span",{class:"player__drawer__tab-navigation__item__label"},"Webradio",-1)])],2)):_e("",!0),e.hasPodcasts?(J(),se("button",{key:1,onClick:t[3]||(t[3]=E=>o.selectDrawerTab("podcast")),class:ut(["player__drawer__tab-navigation__item --podcast",r.activeTab==="podcast"?"--active":""])},[...t[7]||(t[7]=[Y("span",{class:"iconSet"},"mic",-1),Y("span",{class:"player__drawer__tab-navigation__item__label"},"Podcasts",-1)])],2)):_e("",!0)])):_e("",!0),r.activeTab==="podcast"&&(!r.currentPodcast||!r.showPodcastDetail)?(J(),se("div",_E,[Y("div",mE,[Y("div",fE,[(J(!0),se(Ln,null,As(o.podcastListFiltered,E=>(J(),At(i,{podcastData:E,key:"podcast_item_"+E.post_id,"start-podcast":!1,"is-loading":r.podcastLoadingId===E.post_id,onPodcastSelected:o.onPodcastSelected},null,8,["podcastData","is-loading","onPodcastSelected"]))),128))]),e.playerMode===o.podcastMode?(J(),se("div",wE,[e.playerMode===o.podcastMode?(J(),At(a,{key:0,class:ut("--text-link"),"button-type":"skip_previous"})):_e("",!0),zt(l),e.playerMode===o.podcastMode?(J(),At(a,{key:1,class:ut("--text-link")})):_e("",!0)])):_e("",!0)])])):r.activeTab==="podcast"&&r.currentPodcast&&r.showPodcastDetail===!0?(J(),se("div",gE,[Y("div",yE,[Y("div",vE,[Y("button",{class:"player__drawer__podcast__link",onClick:t[4]||(t[4]=(...E)=>o.showPodcastOverview&&o.showPodcastOverview(...E))},[...t[8]||(t[8]=[Y("span",{class:"iconSet player__drawer__podcast__link__icon"},"arrow_back",-1),Y("div",{class:"player__drawer__podcast__link__label"},"zurück zur Ãbersicht",-1)])]),zt(i,{"podcast-data":r.currentPodcast},null,8,["podcast-data"]),t[9]||(t[9]=Y("div",{class:"player__drawer__podcast__label --text-size-xxs"},"Neueste Folge",-1)),(J(),At(ud(o.podcastEpisodeComponent),{"audio-object":o.newestPodcastAudioObject,"podcast-object":r.currentPodcast,hideMoreButton:!0,class:"--compact --no-link"},null,8,["audio-object","podcast-object"])),o.podcastEpisodes.length>0?(J(),se("div",bE," Weitere Folgen ")):_e("",!0),(J(!0),se(Ln,null,As(o.podcastEpisodes,(E,z)=>(J(),At(ud(o.podcastEpisodeComponent),{"audio-object":E,"podcast-object":r.currentPodcast,key:"podcast_episode".concat(E.item),hideMoreButton:!0,class:"--light --compact --no-link"},null,8,["audio-object","podcast-object"]))),128))]),e.playerPodcastObject?(J(),se("div",EE,[e.playerMode===o.podcastMode?(J(),At(a,{key:0,class:ut("--text-link"),"button-type":"skip_previous"})):_e("",!0),zt(l),e.playerMode===o.podcastMode?(J(),At(a,{key:1,class:ut("--text-link")})):_e("",!0)])):_e("",!0)])])):_e("",!0),r.activeTab==="channel"?(J(),se("div",kE,[Y("div",{class:ut(["player__drawer__channels",o.channelCount<=1?"--single-channel":"--multi-channel"])},[Y("div",CE,[e.currentChannelData.thumbnail_id?(J(),se("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,SE)):_e("",!0),Y("div",AE,[t[10]||(t[10]=Y("div",{class:"player__drawer__channels__current__label"},"Liveradio",-1)),Y("h3",VE,Vt(o.channelTitle),1)]),zt(c,{channelId:e.currentChannelId,ref:"playButton"},null,8,["channelId"])]),o.playlistData&&o.playlistData.length>0?(J(),se("div",TE,[o.channelCount<=1?(J(),se("div",PE,[(J(!0),se(Ln,null,As(o.playlistData,(E,z)=>(J(),se("div",{key:"playlist_item_"+z,class:"player__drawer__channels__playlist__item"},[Y("div",$E,Vt(o.getTime(E.time)),1),Y("div",DE,[Y("div",NE,Vt(E.interpret),1),t[11]||(t[11]=Y("div",{class:"player__drawer__channels__playlist__item__track__spacer"},"·",-1)),Y("div",IE,Vt(E.title),1)])]))),128))])):(J(),se("div",BE,[zt(u,{breakpoints:r.breakpoints},{default:xo(()=>[(J(!0),se(Ln,null,As(o.playlistData,(E,z)=>(J(),At(d,{key:"playlist_item_"+z},{default:xo(()=>[Y("div",OE,[Y("div",xE,Vt(o.getTime(E.time)),1),Y("div",RE,[Y("div",ME,Vt(E.interpret),1),t[12]||(t[12]=Y("div",{class:"player__drawer__channels__playlist__item__track__spacer"}," · ",-1)),Y("div",LE,Vt(E.title),1)])])]),_:2},1024))),128))]),_:1},8,["breakpoints"])]))])):_e("",!0),o.channelCount>1?(J(),se("div",zE,[(J(!0),se(Ln,null,As(o.sortedChannels,(E,z)=>(J(),se("button",{key:z,class:ut(["player__drawer__channels__grid__item",E.key===e.currentChannelId?"--active":""]),title:E.label,onClick:U=>o.triggerAudio(E,E.key)},[Y("img",{src:o.getCover(E.thumbnail_id,234),alt:E.label},null,8,UE)],10,FE))),128))])):_e("",!0),o.showTitle||o.showExcerpt||o.showImage?(J(),se("div",jE,[Y("div",HE,[Y("span",G
2E,[t[13]||(t[13]=Y("span",{class:"iconSet"},"equalizer",-1)),Y("span",YE,"on air "+Vt(e.channels.length),1)]),Y("h4",WE,Vt(o.showTitle),1),o.showExcerpt?(J(),At(p,{key:0,class:"player__drawer__show__desc",tag:"span",lines:2,text:o.showExcerpt},null,8,["text"])):_e("",!0)]),Y("div",qE,[zt(_,{image:o.showImage},null,8,["image"])])])):_e("",!0)],2)])):_e("",!0)],34)),[[V]]):_e("",!0)]),_:1})],64)}const hd=y(lE,[["render",KE]]),JE={data:function(){return{timeoutHandler:null}},computed:{},methods:{...Ne("player",["loadChannelData"]),loadData:function(){clearTimeout(this.timeoutHandler),this.loadChannelData(),this.timeoutHandler=setTimeout(this.loadData,1e4)}},mounted(){window.isDynamicRenderer||this.loadData()},beforeUnmount(){clearTimeout(this.timeoutHandler)}},ZE={computed:{hasModal(){return he.has(Lc)},getModal(){return he.getByName(Lc)}}};var co,uo,vt,Qh,Xh,ep,tp;class QE{constructor(){R(this,vt);R(this,co,!1);R(this,uo,0)}init(){h(this,co)||(ne(this,co,!0),ue.onPayload(K(this,vt,Qh).bind(this),"event"),ue.sendPayload({type:"setupMessaging"}))}}co=new WeakMap,uo=new WeakMap,vt=new WeakSet,Qh=function(t){const{eventType:n,data:s}=t;switch(n){case"messagingReady":K(this,vt,Xh).call(this,s);break;case"messagingNotification":K(this,vt,tp).call(this,s);break}},Xh=function(t){if(!t.length)if(h(this,uo)<10){setTimeout(K(this,vt,ep).bind(this),3e3);return}else return;H.dispatch("arabella/setPushToken",t),Nt({url:"/cmms-api-v2/push/register/",params:{token:t}})},ep=function(){Xa(this,uo)._++,ue.sendPayload({type:"registerMessaging"})},tp=function(t){const n=t||null;if(console.log("[notify]",n),n!==null){if(n.data&&n.data.mid&&Nt({url:"/cmms-api-v2/push/read/",params:{token:H.getters["arabella/getPushToken"],mid:n.data.mid}}),(n.type==="open"||n.type==="background")&&n.data.url){yt.push(va(n.data.url));return}if(n.data.message){let s=null;n.data.url&&(s={label:"Ansehen",callback:()=>{yt.push(va(n.data.url))}}),H.dispatch("notifications/enqueue",{type:"push",payload:{message:n.data.message||"",cta:s}})}}};const XE=new QE;var ss,os,ir;class ek{constructor(t=""){R(this,os);R(this,ss,"");t.length?ne(this,ss,t+"."):console.info("[Soylent:PersistentStorage] %cWarning: Using without a key prefix","color: darkorange")}getAll(){let t={};return Object.keys(window.localStorage).forEach(n=>{const s=new RegExp("^".concat(h(this,ss).replace(/\./g,"."),"(.+)$"),"i"),r=n.match(s);r&&(t[r[1]]=this.get(r[1]))}),t}get(t,n){const s=window.localStorage.getItem(K(this,os,ir).call(this,t));if(s===null)return n;try{return JSON.parse(s)}catch(r){return s}}set(t,n){window.localStorage.setItem(K(this,os,ir).call(this,t),JSON.stringify(n))}delete(t){window.localStorage.removeItem(K(this,os,ir).call(this,t))}}ss=new WeakMap,os=new WeakSet,ir=function(t){return"".concat(h(this,ss)).concat(t)};var ho,wt,po,_o;class tk{constructor(){R(this,ho,!1);R(this,wt,null);R(this,po,5);R(this,_o,744*60*60*1e3)}init(){if(h(this,ho))return;if(console.log("[SoylentStoreReview] Initialized"),ne(this,ho,!0),("soylent_settings"in window&&window.soylent_settings.app_review_prompt||!1)!==!0){console.log("[SoylentStoreReview] Not enabled");return}ne(this,wt,new ek("soylent.app.storeReview")),h(this,wt).set("appStarts",h(this,wt).get("appStarts",0)+1),this.checkReviewRequest()}checkReviewRequest(){if(parseInt(h(this,wt).get("appStarts",0),10)<h(this,po)){console.log("[SoylentStoreReview] Do not ask, current start count is less then "+h(this,po));return}const t=Date.now()-parseInt(h(this,wt).get("reviewRequestedTimestamp",0),10);if(t<h(this,_o)){console.log("[SoylentStoreReview] Do not ask, current timestamp difference is "+t+" needs to exceed "+h(this,_o));return}h(this,wt).set("appStarts",0),h(this,wt).set("reviewRequestedTimestamp",Date.now()),ue.sendPayload({type:"requestStoreReview"}),console.log("[SoylentStoreReview] Review Request sent to bridge")}}ho=new WeakMap,wt=new WeakMap,po=new WeakMap,_o=new WeakMap;const nk=new tk;var mo,rs,fo,us,np,sp;class sk{constructor(){R(this,us);R(this,mo,!1);R(this,rs,!1);R(this,fo,null)}init(){We&&(document.getElementsByTagName("html")[0].classList.add("--native"),ue.onPayload(K(this,us,np).bind(this),"@register"),ue.onPayload(t=>{const{eventType:n}=t;if(h(this,mo))switch(n){case"back":ue.sendPayload({type:"goBack"});break;case"cannotGoBack":clearTimeout(h(this,fo)),h(this,rs)?ue.sendPayload({type:"exitApp"}):(ne(this,rs,!0),ne(this,fo,setTimeout(()=>{ne(this,rs,!1)},3e3)),ue.sendPayload({type:"showToast",label:"Erneut drücken, um die App zu schlieÃen"}));break}}
2,"event"),ue.init(),nk.init(),K(this,us,sp).call(this))}}mo=new WeakMap,rs=new WeakMap,fo=new WeakMap,us=new WeakSet,np=function(){ne(this,mo,!0),XE.init()},sp=function(){window.addEventListener("UC_UI_VIEW_CHANGED",function(t){console.log("Current view is: "+t.detail.view),(t.detail.view==="NONE"||t.detail.view==="PRIVACY_BUTTON")&&(window.UC_UI.getServicesBaseInfo().filter(n=>n.consent.status===!0&&n.categorySlug!=="essential").length>0||window.UC_UI.getTCFVendors().filter(n=>n.consent===!0).length>0)&&(console.log("requestTrackingPermission"),ue.sendPayload({type:"requestTrackingPermission"}))}),window.addEventListener("CookiebotOnConsentReady",function(t){ue.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)};const ok=new sk,rk=window.Vue.resolveDynamicComponent,ik=window.Vue.normalizeClass,ak=window.Vue.openBlock,lk=window.Vue.createBlock,pd=window.Vue.computed;window.Vue.onMounted;const ck=window.Vue.ref,Vs={__name:"HtmlBlock",props:{htmlContent:String,active:Boolean},setup(e){const t=e,n=ck(null),s=pd(()=>i(t.htmlContent)),r=pd(()=>o(t.htmlContent)),o=a=>{a=a.trim();const l=a.match(/^<\s*([a-zA-Z0-9-]+)/);return l?l[1].toLowerCase():"span"};function i(a){a=a.trim();const l=a.match(/^<([a-zA-Z0-9-]+)(\s[^>]*)?>/);if(!l)return a;const c=l[1].toLowerCase();if(new Set(["a","strong","em","span","b","i","u","small","sub","sup","code","img"]).has(c))return a;const u=a.match(new RegExp("^<".concat(c,"[^>]*>([\\s\\S]*?)<\\/").concat(c,">$"),"i"));return u?u[1]:a}return(a,l)=>(ak(),lk(rk(r.value),{ref_key:"container",ref:n,innerHTML:s.value+" ",class:ik(e.active?"--highlight":"")},null,8,["innerHTML","class"]))}},dk=window.Vue.createVNode,_d=window.Vue.createElementVNode,gi=window.Vue.toDisplayString,Ts=window.Vue.openBlock,Ps=window.Vue.createElementBlock,Ro=window.Vue.createCommentVNode,uk=window.Vue.normalizeClass,hk={key:0,class:"media-content"},pk={style:{}},_k={class:""},mk={key:0},fk={key:1,class:"reader__content__media__headline"},wk={key:2,class:"reader__content__media__subline"},gk=window.Vue.computed,yk={__name:"MediaBlock",props:{media:Object,active:Boolean},setup(e){const t=e,n=gk(()=>{var r,o,i;return((r=t.media)==null?void 0:r.data.media_data.type)==="image"?(o=t.media)==null?void 0:o.data.media_data.model:(i=t.media)==null?void 0:i.data.media_data.model.image});return(s,r)=>{var o;return Ts(),Ps("div",{class:uk(["reader__content__media",e.active?"--highlight":""])},[n.value?(Ts(),Ps("div",hk,[_d("figure",pk,[_d("picture",_k,[dk(be,{image:n.value},null,8,["image"])]),(o=n.value)!=null&&o.copyright&&n.value.copyright!==""?(Ts(),Ps("figcaption",mk,gi(n.value.copyright),1)):Ro("",!0)])])):Ro("",!0),e.media.data.headline?(Ts(),Ps("span",fk,gi(e.media.data.headline),1)):Ro("",!0),e.media.data.subline?(Ts(),Ps("span",wk,gi(e.media.data.subline),1)):Ro("",!0)],2)}}},ee=window.Vue.createElementVNode,yi=window.Vue.normalizeClass,ze=window.Vue.openBlock,Je=window.Vue.createElementBlock,$s=window.Vue.createCommentVNode,vk=window.Vue.vModelSelect,Mo=window.Vue.withDirectives,md=window.Vue.toDisplayString,zn=window.Vue.createTextVNode,fd=window.Vue.vModelText,vi=window.Vue.unref,Ds=window.Vue.Fragment,bk=window.Vue.renderList,Ek=window.Vue.resolveDynamicComponent,kk=window.Vue.mergeProps,Ck=window.Vue.createBlock,Sk=window.Vue.withKeys,Ak=window.Vue.normalizeStyle,Vk=window.Vue.resolveDirective,Tk=window.Vue.createStaticVNode,Pk=["data-theme"],$k={class:"reader__tools"},Dk={class:"reader__tools__button-wrapper"},Nk={key:0,class:"reader__tools__button-tooltip"},Ik={key:1,role:"dialog",class:"reader__tools__dialog"},Bk={class:"reader__tools__dialog__label"},Ok={class:"reader__tools__dialog__label"},xk={class:"reader__tools__dialog__label__title"},Rk={class:"reader__tools__dialog__label"},Mk={class:"reader__tools__dialog__label__title"},Lk={key:3,class:"reader__tools__button-wrapper"},zk={class:"reader__tools__button-wrapper"},Fk={class:"reader__content"},Uk=window.Vue.onMounted,jk=window.Vue.onUnmounted,Fe=window.Vue.ref,Ns=window.Vue.watch,Hk={__name:"Reader",setup(e){const t=Lu(),n=Fe(null),s=Fe(""),r=Fe(!1),o=Fe([]),i=Fe(-1),a=window.speechSynthesis;let l=null,c=!1,d=Fe(!1);const u=()=>{t.dispatch("reader/hideReader")},p=()=>{var P,A;if(s.value=[],le.value&&o.value){o.value.forEach((F,B)=>
2{if(F.startsWith("**")&&F.endsWith("**")){let X=F.slice(2,-2);const te=B===0?"h1":"h2";s.value.push({type:"html",component:Vs,content:"<"+te+">"+X+"</"+te+">",plainText:X})}else s.value.push({type:"html",content:"<p>".concat(F,"</p>"),component:Vs,plainText:S(F)})});return}const g="pageDataModal"in t.getters?(P=t.getters.pageDataModal)==null?void 0:P.blocks:(A=t.getters.pageData)==null?void 0:A.blocks;s.value=[],g.forEach(F=>{F.elements.forEach(B=>{switch(B.subtype){case"postTeaser":s.value.push({type:"html",component:Vs,content:B.data.text,plainText:B.data.text});break;case"html":let te=[];try{te=w(B.data.text)}catch(v){console.error("Fehler beim Ausführen: Die Funktion benötigt eine DOM-Umgebung (Browser oder JSDOM).",v)}te.length>0?te.forEach((v,$)=>{s.value.push({type:"html",content:v,component:Vs,plainText:S(v)})}):s.value.push({type:"html",content:B.data.text});break;case"headline":const m=B.data.tag?B.data.tag:"h1";s.value.push({type:"html",component:Vs,content:"<"+m+">"+B.data.text+"</"+m+">",plainText:B.data.text});break;case"media":let C="Medium:";B.data.headline?(C+=" "+B.data.headline,B.data.subline&&(C+=" "+B.data.subline)):B.data.media_data.model.alt&&B.data.media_data.model.alt!=""?C+=" "+B.data.media_data.model.alt:C+=" ohne Beschreibung",s.value.push({type:"component",component:yk,props:{media:B},plainText:C});break}})})},_=()=>{if(!r.value){V();return}d.value?speechSynthesis.pause&&navigator.userAgent.includes("Firefox")?V():(d.value=!1,a.resume()):speechSynthesis.pause&&navigator.userAgent.includes("Firefox")?E():(d.value=!0,a.pause())},V=()=>{if(!a){console.error("TTS nicht verfügbar oder keine Segmente gefunden.");return}E(),r.value=!0,i.value=0,c=!1,d.value=!1,z(i.value)},E=()=>{a.cancel(),r.value=!1,i.value=-1,l=null},z=k=>{if(c)return;if(k>=s.value.length){E();return}i.value=k;const g=s.value[k].plainText;l=new SpeechSynthesisUtterance(g),l.lang="de",l.onend=()=>{r.value&&z(k+1)},l.onerror=P=>{console.error("TTS Error bei Segment ".concat(k,":"),P.error),z(k+1)},a.speak(l),a.resume(),M("text-segment-"+k)},U=Fe(!1),D={isDarkMode:"settings.isDarkMode",isSimpleMode:"settings.isSimpleMode",fontFamily:"settings.fontFamily",fontSize:"settings.fontSize",lineHeight:"settings.lineHeight"},G=(k,g)=>{const P=localStorage.getItem(k);try{return P!==null?JSON.parse(P):g}catch(A){return g}},ie=(k,g)=>{localStorage.setItem(k,JSON.stringify(g))},pe=Fe(G(D.isDarkMode,!1)),le=Fe(G(D.isSimpleMode,!1)),ae=Fe(G(D.fontFamily,"sans-serif")),x=Fe(G(D.fontSize,20)),ke=Fe(G(D.lineHeight,.75));Ns(pe,k=>ie(D.isDarkMode,k)),Ns(le,k=>ie(D.isSimpleMode,k)),Ns(ae,k=>ie(D.fontFamily,k)),Ns(x,k=>ie(D.fontSize,k)),Ns(ke,k=>ie(D.lineHeight,k));const Pn=()=>{U.value?U.value=!1:u()},xt=()=>{pe.value=!pe.value},it=()=>{le.value=!le.value,p()},W=()=>{U.value=!U.value};function f(k){const P=new DOMParser().parseFromString(k,"text/html");return Array.from(P.querySelectorAll("section, article")).reverse().forEach(B=>{const X=B.parentNode;for(;B.firstChild;)X.insertBefore(B.firstChild,B);B.remove()}),P.body.innerHTML}function w(k,g={}){k=k.trim(),k=f(k);const{listMode:P="container"}=g,A=document.createElement("div");A.innerHTML=k.trim();const F=[],B=["P","DIV","H1","H2","H3","H4","H5","H6"],X=["BLOCKQUOTE","TABLE","DETAILS","HR","SECTION","ARTICLE","ASIDE","HEADER","FOOTER","NAV","ADDRESS"],te=new RegExp("(?<!\\b(?:Dr|Prof|Dipl\\.?-?Ing|BSc|MSc|Ing|Mag|Sr|Jr))(?<!\\b\\d)([.?!])\\s*(?=\\s*[A-ZÃÃÃ(»])","gi");function m(L){return Array.from(L.attributes).map(I=>" ".concat(I.name,'="').concat(I.value,'"')).join("")}function C(L){if(L.nodeType===Node.TEXT_NODE)return L.textContent;if(L.nodeType!==Node.ELEMENT_NODE)return"";const I=L.tagName.toLowerCase(),T=m(L);let Z="<".concat(I).concat(T,">");return L.childNodes.forEach(Se=>{Z+=C(Se)}),Z+="</".concat(I,">"),Z}function v(L){const I=document.createElement("div");I.innerHTML=L;const T=[];let Z="";function Se(){if(Z.trim()){const qe=Z.replace(te,"$1###SPLIT###").split("###SPLIT###").map(at=>at.trim()).filter(Boolean);T.push(...qe)}Z=""}function we(qe){if(qe.nodeType===Node.TEXT_NODE){Z+=qe.textContent;return}if(qe.nodeType===Node.ELEMENT_NODE){const at=window.getComputedStyle(qe).display;
2if(at!=="block"&&at!=="table"){Se(),T.push(C(qe));return}Se(),T.push(qe.outerHTML)}}return I.childNodes.forEach(we),Se(),T}function $(L){const I=L.innerHTML,T=v(I),Z="<".concat(L.tagName).concat(m(L),">"),Se="</".concat(L.tagName,">");T.forEach((we,qe)=>{let at=we.trim();qe===0&&(at=Z+at),qe===T.length-1&&(at=at+Se),F.push(at)})}function q(L){if(L.nodeType===Node.TEXT_NODE){const T=L.textContent.trim();if(!T)return;const Z=T.replace(te,"$1###SPLIT###").split("###SPLIT###").map(Se=>Se.trim()).filter(Boolean);F.push(...Z);return}if(L.nodeType!==Node.ELEMENT_NODE)return;const I=L.tagName;if(X.includes(I)){F.push(L.outerHTML.trim());return}if(B.includes(I)){$(L);return}L.childNodes.forEach(q)}return A.childNodes.forEach(q),F}function S(k){const g=document.createElement("div");return g.innerHTML=k,g.textContent||g.innerText||""}const M=k=>{const g=document.getElementById(k);g&&g.scrollIntoView({behavior:"smooth"})},O=()=>{t.getters["reader/autoplay"]&&(t.dispatch("reader/setReaderAutoplay",!1),V())};return Uk(()=>{var k,g;c=!1,d.value=!1,o.value=(g=(k=t.getters.pageData)==null?void 0:k.accessibility)==null?void 0:g.simple_language,p(),O()}),jk(()=>{E(),c=!0,d.value=!0,setTimeout(()=>{a.cancel(),a.pause()},100)}),(k,g)=>{const P=Vk("focustrap");return Mo((ze(),Je("div",{onKeydown:Sk(Pn,["esc"]),"data-theme":pe.value?"dark":"light",role:"dialog","aria-modal":"true",class:"reader",style:Ak("--font-family:"+ae.value+";--font-size:"+x.value+"px;--font-line-height-ratio:"+ke.value+";")},[ee("div",$k,[ee("div",{class:"reader__tools__button-wrapper"},[ee("button",{onClick:u,class:"reader__tools__button iconSet","aria-label":"Leseansicht schlieÃen"}," close "),g[3]||(g[3]=ee("span",{class:"reader__tools__button-tooltip"},"Leseansicht schlieÃen",-1))]),ee("div",Dk,[ee("button",{onClick:W,class:yi(["reader__tools__button iconSet",[U.value?"--active":""]]),"aria-label":"Schrifteinstellungen"},"text_fields ",2),U.value?$s("",!0):(ze(),Je("span",Nk,"Schrifteinstellungen"))]),U.value?(ze(),Je("div",{key:0,onClick:W,class:"reader__tools__dialog-backdrop"})):$s("",!0),U.value?(ze(),Je("div",Ik,[ee("label",Bk,[g[5]||(g[5]=ee("span",{class:"reader__tools__dialog__label__title"},"Schriftart",-1)),Mo(ee("select",{"onUpdate:modelValue":g[0]||(g[0]=A=>ae.value=A)},[...g[4]||(g[4]=[Tk('<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),[[vk,ae.value]])]),ee("label",Ok,[ee("span",xk,[g[6]||(g[6]=zn("Schriftgrad ",-1)),ee("span",null,md(x.value)+"px",1)]),Mo(ee("input",{type:"range",min:"12",max:"64",step:"4","onUpdate:modelValue":g[1]||(g[1]=A=>x.value=A)},null,512),[[fd,x.value,void 0,{number:!0}]])]),ee("label",Rk,[ee("span",Mk,[g[7]||(g[7]=zn("Zeilenhöhe ",-1)),ee("span",null,md(ke.value+1),1)]),Mo(ee("input",{type:"range",min:"0",max:"2",step:"0.25","onUpdate:modelValue":g[2]||(g[2]=A=>ke.value=A)},null,512),[[fd,ke.value,void 0,{number:!0}]])])])):$s("",!0),vi(We)?$s("",!0):(ze(),Je("div",{key:2,class:"reader__tools__button-wrapper",onClick:_},[ee("button",{class:yi(["reader__tools__button iconSet",[r.value&&!vi(d)?"--active":""]]),"aria-label":"Artikel anhören"},[r.value&&!vi(d)?(ze(),Je(Ds,{key:0},[zn("pause")],64)):(ze(),Je(Ds,{key:1},[zn("headphones")],64))],2),g[8]||(g[8]=ee("span",{class:"reader__tools__button-tooltip"},"Artikel anhören",-1))])),o.value?(ze(),Je("div",Lk,[ee("button",{onClick:it,class:yi(["reader__tools__button iconSet",[le.value?"--active":""]]),"aria-label":"Einfache Sprache umschalten"}," local_library ",2),g[9]||(g[9]=ee("span",{class:"reader__tools__button-tooltip"},"Einfache Sprache",-1))])):$s("",!0),ee("div",zk,[ee("button",{onClick:xt,class:"reader__tools__button iconSet","aria-label":"Farbschema umschalten"},[pe.value?(ze(),Je(Ds,{key:0},[zn("light_mode")],64)):(ze(),Je(Ds,{key:1},[zn("dark_mode")],64))]),g[10]||(g[10]=ee("span",{class:"reader__tools__button-tooltip"},"Farbschema",-1))])]),ee("div",Fk,[ee("div",{class:"reader__content__text",ref_key:"contentRef",ref:n},[(ze(!0),Je(Ds,null,bk(s.value,(A,F)=>(ze(),Ck(Ek(A.component),kk({key:"text-segment-".concat(F)},{ref_for:!0},A.props,{"html-content":A.content+" ",active:F===i.value,id:"text-segment-".concat(F)}),null,16,["html-content","active","id"]))),128))],512)])],44,Pk)),[[P]])}}},Gk={name:"Layout",mixins:[JE,ZE],data(){return{innerWidth:0}},components:{Reader:Hk,AppPlayerBar:ad,AppPlayerCard:od,AppPlayerDrawer:hd,AppDebug:yy,AppFooter:Nc,Ap
2pHeader:Uc,AppScrollToTop:Kb,AppSearch:zb},computed:{isMobileWidth:function(){return this.innerWidth<1025},appPlayerCard(){return he.getByName(Xv,od)},appPlayerBar(){return he.getByName(eb,ad)},appPlayerDrawer(){return he.getByName(tb,hd)},appHeader(){return he.getByName(Zv,Uc)},appFooter(){return he.getByName(Qv,Nc)},hasFullscreenPlayer(){return ds.fullsizePlayer},reader(){return this.$store.getters["reader/show"]}},methods:{...Ne("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(),ok.init()},beforeUnmount(){window.removeEventListener("resize",this.onResize)}},Fn=window.Vue.resolveDynamicComponent,Ut=window.Vue.openBlock,on=window.Vue.createBlock,Is=window.Vue.resolveComponent,Bs=window.Vue.createVNode,wd=window.Vue.createElementVNode,gd=window.Vue.createCommentVNode,Yk=window.Vue.Transition,Wk=window.Vue.withCtx,qk=window.Vue.Fragment,Kk=window.Vue.createElementBlock,Jk={id:"page",class:"hfeed site"},Zk={id:"main",class:"site-main"};function Qk(e,t,n,s,r,o){const i=Is("router-view"),a=Is("app-scroll-to-top"),l=Is("app-debug"),c=Is("Reader"),d=Is("app-search");return Ut(),Kk(qk,null,[(Ut(),on(Fn(o.appHeader))),wd("div",Jk,[wd("div",Zk,[Bs(i),Bs(a)]),Bs(l),(Ut(),on(Fn(o.appFooter)))]),o.isMobileWidth||o.hasFullscreenPlayer?(Ut(),on(Fn(o.appPlayerBar),{key:0})):(Ut(),on(Fn(o.appPlayerCard),{key:1})),(Ut(),on(Fn(o.appPlayerDrawer))),Bs(Yk,{name:"fade_fast"},{default:Wk(()=>[o.reader?(Ut(),on(c,{key:0})):gd("",!0)]),_:1}),Bs(d),e.hasModal?(Ut(),on(Fn(e.getModal),{key:2})):gd("",!0)],64)}const Xk=y(Gk,[["render",Qk]]),eC=window.Vue.unref,yd=window.Vue.openBlock,vd=window.Vue.createElementBlock,bd=window.Vue.createCommentVNode,tC=window.Vue.createElementVNode,nC={key:0,class:"reader-trigger"},sC=window.Vue.computed;window.Vue.onMounted;const op={__name:"ReaderTrigger",setup(e){const t=Lu(),n=()=>{t.dispatch("reader/showReader")},s=()=>{t.dispatch("reader/showReaderAutoplay")},r=sC(()=>"soylent_settings"in window&&window.soylent_settings.reader_mode||!1);return(o,i)=>r.value?(yd(),vd("div",nC,[eC(We)?bd("",!0):(yd(),vd("button",{key:0,onClick:s,class:"reader-trigger__button iconSet",title:"Anhören","aria-label":"Artikel anhören"}," headphones ")),tC("button",{onClick:n,class:"reader-trigger__button iconSet",title:"Leseansicht","aria-label":"Leseansicht anzeigen"}," chrome_reader_mode ")])):bd("",!0)}},oC=window.Vue.createVNode,rC=window.Vue.normalizeClass,iC=window.Vue.openBlock,aC=window.Vue.createElementBlock,lC={__name:"AccessibilityMeta",props:{element:{type:Object}},setup(e){const t=e;return(n,s)=>{var r,o;return iC(),aC("div",{class:rC(["element accessibility-meta","--align-"+((o=(r=t==null?void 0:t.element)==null?void 0:r.data)==null?void 0:o.align)])},[oC(op)],2)}}},cC={name:"SoylentAnchor",props:["element"]},dC=window.Vue.createElementVNode,uC=window.Vue.normalizeClass,hC=window.Vue.openBlock,pC=window.Vue.createElementBlock,_C=["id"];function mC(e,t,n,s,r,o){return hC(),pC("div",{class:uC(["element",n.element.type,n.element.subtype])},[dC("div",{id:n.element.data.anchor},null,8,_C)],2)}const fC=y(cC,[["render",mC]]);class wC{constructor(t,n,s){const r=t.href||"",o=t.target||"_self";typeof r!="string"||!r.length||typeof o=="string"&&o==="_blank"||r.indexOf(":")>0&&r.substr(0,n.length)!==n&&["http","https","mailto","tel"].indexOf(r.substr(0,r.indexOf(":")))>=0||t.addEventListener("click",i=>{i.preventDefault();const a=t.href.substr(n.length);s.push(a).then(()=>{}).catch(()=>{})},{passive:!1})}}const gC={name:"SoylentHtml",extends:ih,mounted(){this.$refs.element.querySelectorAll("video.video-js").forEach(e=>{new CMMSPlayer(e)}),this.$refs.element.querySelectorAll("a").forEach(e=>{new wC(e,this.$baseUrl,this.$router)})}},yC=window.Vue.normalizeClass,vC=window.Vue.openBlock,bC=window.Vue.createElementBlock,EC=["innerHTML"];function kC(e,t,n,s,r,o){return vC(),bC("div",{ref:"element",class:yC(["element",e.element.type,e.element.subtype]),innerHTML:e.element.data.text||""},null,10,EC)}const CC=y(gC,[["render",kC]]),SC={name:"SoylentOpenerImage",components:{CmmsResponsiveImage:be},props:["element"]}
2,AC=window.Vue.resolveComponent,VC=window.Vue.createVNode,TC=window.Vue.normalizeClass,PC=window.Vue.openBlock,$C=window.Vue.createElementBlock;function DC(e,t,n,s,r,o){const i=AC("CmmsResponsiveImage");return PC(),$C("div",{class:TC(["element",n.element.type,n.element.subtype])},[VC(i,{fill:!0,image:n.element.data.model},null,8,["image"])],2)}const NC=y(SC,[["render",DC]]),IC={name:"SoylentPostKicker",props:["element"]},BC=window.Vue.toDisplayString,OC=window.Vue.normalizeClass,xC=window.Vue.openBlock,RC=window.Vue.createElementBlock;function MC(e,t,n,s,r,o){return xC(),RC("h2",{class:OC(["element",n.element.type,n.element.subtype,"--text-size-s --text-weight-medium"])},BC(n.element.data.text),3)}const LC=y(IC,[["render",MC]]),zC={name:"SoylentPostTeaser",props:["element"]},FC=window.Vue.normalizeClass,UC=window.Vue.openBlock,jC=window.Vue.createElementBlock,HC=["innerHTML"];function GC(e,t,n,s,r,o){return UC(),jC("h2",{class:FC(["element",n.element.type,n.element.subtype,"--text-size-l --text-weight-regular"]),innerHTML:n.element.data.text||""},null,10,HC)}const YC=y(zC,[["render",GC]]),WC={name:"SoylentSpacer",props:["element"]},qC=window.Vue.normalizeClass,KC=window.Vue.openBlock,JC=window.Vue.createElementBlock;function ZC(e,t,n,s,r,o){return KC(),JC("div",{class:qC(["element",n.element.type,n.element.subtype])},null,2)}const QC=y(WC,[["render",ZC]]);function XC(e){e.setAttribute("data-revive-w",window.innerWidth),e.setAttribute("data-revive-h",window.innerHeight)}function eS(e,t=!0){const n=[].slice.call(e.querySelectorAll("ins"));if(console.debug("[revive] zones",n),!n.length)return;const s=[];n.forEach(r=>{XC(r);const o=r.getAttribute("data-revive-id");s.indexOf(o)<0&&s.push(o)}),t&&window.reviveAsync&&s.forEach(r=>{try{window.reviveAsync[r].refresh()}catch(o){}})}const tS={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?!!this.element.data.neutral_markup:!1},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?!!this.element.data.disable_zone:!1},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)}),eS(this.$refs.container))}},nS=window.Vue.normalizeClass,sS=window.Vue.normalizeStyle,oS=window.Vue.openBlock,rS=window.Vue.createElementBlock,iS=window.Vue.createCommentVNode,aS=["innerHTML"];function lS(e,t,n,s,r,o){return o.isDisabled?iS("",!0):(oS(),rS("div",{key:0,ref:"container",class:nS(o.elementClass),innerHTML:o.html,style:sS("min-height:".concat(o.minHeight,"px"))},null,14,aS))}const cS=y(tS,[["render",lS]]),dS={name:"CmmsThumbnail",components:{CmmsResponsiveImage:be},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: ".concat(this.maxHeight,"px;"):""}}},uS=window.Vue.resolveComponent,hS=window.Vue.createVNode,pS=window.Vue.normalizeClass,_S=window.Vue.createElementVNode,Ed=window.Vue.openBlock,kd=window.Vue.createElementBlock,mS=window.Vue.createCommentVNode,fS=window.Vue.normalizeStyle,wS=["innerHTML"];function gS(e,t,n,s,r,o){const i=uS("CmmsResponsiveImage");return Ed(),kd("figure",{style:fS(o.figureStyle)},[_S("picture",{class:pS([n.zoom?"-zoom":""])},[hS(i,{fill:n.fill,image:n.image,"max-height":n.maxHeight,zoom:n.zoom},null,8,["fill","image","max-height","zoom"])],2),n.image.copyright?(Ed(),kd("figcaption",{key:0,innerHTML:n.image.copyright},null,8,wS)):mS("",!0)],4)}const Ka=y(dS,[["render",gS]]),yS={name:"CmmsPlayer",data:function(){return{playerReference:null,wrapperStyle:"background:black;"}}
2,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){}}},vS=window.Vue.normalizeClass,bS=window.Vue.normalizeStyle,ES=window.Vue.openBlock,kS=window.Vue.createElementBlock,CS=window.Vue.createCommentVNode,SS=["innerHTML"];function AS(e,t,n,s,r,o){return o.playerHtml?(ES(),kS("div",{key:0,class:vS(o.containerClass),ref:"playerContainer",style:bS(e.wrapperStyle),innerHTML:o.playerHtml,onEnded:t[0]||(t[0]=(...i)=>o.videoEnded&&o.videoEnded(...i))},null,46,SS)):CS("",!0)}const Ba=y(yS,[["render",AS]]),VS={name:"SoylentMediaElements",components:{CmmsPlayer:Ba,CmmsThumbnail:Ka},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?this.element.data.media_data.type==="image":!1},maxHeight:function(){return parseInt(this.element.data.height||0)},playerComponent:function(){return he.getByName("cmmsPlayer",Ba)}}},TS=window.Vue.resolveComponent,bi=window.Vue.openBlock,Cd=window.Vue.createBlock,PS=window.Vue.createCommentVNode,$S=window.Vue.resolveDynamicComponent,DS=window.Vue.createElementBlock,NS={class:"media-content"};function IS(e,t,n,s,r,o){const i=TS("CmmsThumbnail");return bi(),DS("div",NS,[o.isImage?(bi(),Cd(i,{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?(bi(),Cd($S(o.playerComponent),{key:1,element:n.element},null,8,["element"])):PS("",!0)])}const rp=y(VS,[["render",IS]]),BS={name:"SoylentMedia",components:{CroppedText:Ot,SoylentMediaElements:rp},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 parseInt(this.element.data.no_background,10)===1},zoom(){return parseInt(this.element.data.zoom,10)===1}}},Sd=window.Vue.resolveComponent,OS=window.Vue.createVNode,xS=window.Vue.toDisplayString,Lo=window.Vue.openBlock,Ei=window.Vue.createElementBlock,ki=window.Vue.createCommentVNode,RS=window.Vue.createBlock,MS=window.Vue.normalizeClass,LS={key:0,class:"media__entry"},zS={key:0,class:"media__entry__title --text-size-l --text-weight-medium"};function FS(e,t,n,s,r,o){const i=Sd("SoylentMediaElements"),a=Sd("CroppedText");return Lo(),Ei("div",{class:MS(["element",n.element.type,n.element.subtype,o.wrapperClass,o.noBackground?"--disable-background":""])},[OS(i,{element:n.element,zoom:o.zoom},null,8,["element","zoom"]),n.element.data.headline||n.element.data.subline?(Lo(),Ei("div",LS,[n.element.data.headline?(Lo(),Ei("div",zS,xS(n.element.data.headline),1)):ki("",!0),n.element.data.subline?(Lo(),RS(a,{key:1,class:"media__entry__subline",text:n.element.data.subline,lines:3},null,8,["text"])):ki("",!0)])):ki("",!0)],2)}const US=y(BS,[["render",FS]]),jS={name:"SoylentOpenerMedia",components:{SoylentMediaElements:rp}
2,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)}}},HS=window.Vue.resolveComponent,GS=window.Vue.createVNode,YS=window.Vue.normalizeClass,WS=window.Vue.openBlock,qS=window.Vue.createElementBlock;function KS(e,t,n,s,r,o){const i=HS("SoylentMediaElements");return WS(),qS("div",{class:YS(["element",n.element.type,"opener-media",o.usePlayer?"--player":""])},[GS(i,{element:n.element},null,8,["element"])],2)}const JS=y(jS,[["render",KS]]),ZS="teaser_type_audio",QS="teaser_type_channel",zo=window.Vue.createElementVNode,XS=window.Vue.openBlock,eA=window.Vue.createElementBlock,tA={class:"transcript"},nA={class:"transcript__content"},sA=["innerHTML"],oA={__name:"Transcript",props:{transcript:{type:Text,required:!0}},setup(e){return(t,n)=>(XS(),eA("details",tA,[n[1]||(n[1]=zo("summary",{class:"transcript__summary"},"Transkript",-1)),zo("section",nA,[zo("div",{class:"transcript__content__scrollcontainer",innerHTML:e.transcript},null,8,sA),n[0]||(n[0]=zo("small",{class:"subtitle-ki-information"},"Transkript wurden automatisiert erstellt",-1))])]))}},rA={name:"SoylentRadioAudioChannelTeaserBase",components:{CmmsThumbnail:Ka,Transcript:oA,CmmsResponsiveImage:be,AppPlayerControlPlay:Tn,AppPlayerProgress:Vr},props:["element"],data:function(){return{}},computed:{...fe("player",{getChannelData:"channelData"}),label(){},isPlaying(){},channelId(){},audioModel(){},podcastObject(){},backgroundImage(){},isChannelTeaser(){return this.type===QS}},methods:{triggerAudio:function(){}}},Fo=window.Vue.resolveComponent,Ad=window.Vue.createVNode,rn=window.Vue.openBlock,Os=window.Vue.createElementBlock,Uo=window.Vue.createCommentVNode,Ci=window.Vue.toDisplayString,jt=window.Vue.createElementVNode,Vd=window.Vue.createBlock,iA=window.Vue.normalizeClass,aA=window.Vue.Fragment,lA={class:"audio-teaser__player"},cA={class:"audio-teaser__player__main__label"},dA={key:0,class:"audio-teaser__progress"},uA={class:"player-progress__time --duration --text-size-xxs"},hA={key:1,class:"ai-label"};function pA(e,t,n,s,r,o){var d;const i=Fo("CmmsThumbnail"),a=Fo("AppPlayerControlPlay"),l=Fo("AppPlayerProgress"),c=Fo("Transcript");return rn(),Os(aA,null,[jt("div",{class:iA(["element",n.element.type,"audio-teaser",o.backgroundImage?"--background":"",o.isChannelTeaser?"--channel":"--audio"])},[o.backgroundImage?(rn(),Os("div",{key:0,class:"audio-teaser__background",onClick:t[0]||(t[0]=(...u)=>o.triggerAudio&&o.triggerAudio(...u))},[Ad(i,{image:o.backgroundImage},null,8,["image"])])):Uo("",!0),jt("div",lA,[jt("div",{class:"audio-teaser__player__main",onClick:t[1]||(t[1]=(...u)=>o.triggerAudio&&o.triggerAudio(...u))},[Ad(a,{channelId:o.channelId,"audio-object":o.audioModel,"podcast-object":o.podcastObject,ref:"playButton"},null,8,["channelId","audio-object","podcast-object"]),jt("span",cA,Ci(o.label),1)]),o.isChannelTeaser?Uo("",!0):(rn(),Os("div",dA,[o.isPlaying?(rn(),Vd(l,{key:0})):(rn(),Os("div",{key:1,class:"player-progress --placeholder",onClick:t[2]||(t[2]=(...u)=>o.triggerAudio&&o.triggerAudio(...u))},[t[3]||(t[3]=jt("div",{class:"player-progress__time --current --text-size-xxs"},"00:00",-1)),t[4]||(t[4]=jt("div",{class:"player-progress__bar"},[jt("div",{class:"player-progress__bar__background"})],-1)),jt("div",uA,Ci(o.audioModel.duration),1)]))]))]),o.audioModel&&((d=o.audioModel)!=null&&d.ai_label)?(rn(),Os("span",hA,Ci(o.audioModel.ai_label),1)):Uo("",!0)],2),!o.isChannelTeaser&&o.audioModel.transcript?(rn(),Vd(c,{key:0,transcript:o.audioModel.transcript},null,8,["transcript"])):Uo("",!0)],64)}const _A=y(rA,[["render",pA]]),mA={name:"SoylentRadioAudioTeaser",extends:_A,data(){return{type:ZS}},computed:{...fe("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(){var e;return this.element.data.image_data?this.element.data.image_data.model:(e=this.element.data.audio_data.model.image)!=null?e:null},isPlaying(){return this.currentTrack&&this.currentTrack.id===this.audioModel.post_id}},methods:{triggerAudio:function(){this.$refs.playButton.togglePlayer()}}},fA={name:"SoylentRadioCta",components:{SoylentLink:Ie}
2,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()}:!1}}},Si=window.Vue.toDisplayString,Ai=window.Vue.openBlock,Vi=window.Vue.createElementBlock,Td=window.Vue.createCommentVNode,Pd=window.Vue.createElementVNode,wA=window.Vue.resolveComponent,gA=window.Vue.normalizeClass,yA=window.Vue.withCtx,vA=window.Vue.createVNode,bA={class:"button-container"},EA={class:"button__label"},kA={key:0,class:"button__icon iconSet"},CA={class:"button__text --text-size-s"},SA={key:1,class:"button__icon iconSet"};function AA(e,t,n,s,r,o){const i=wA("soylent-link");return Ai(),Vi("div",bA,[vA(i,{class:gA(o.classes),url:n.element.data.link,blank:o.blank,callback:o.componentCallback},{default:yA(()=>[Pd("span",EA,[o.icon&&o.icon_position==="left"?(Ai(),Vi("span",kA,Si(o.icon),1)):Td("",!0),Pd("span",CA,Si(o.buttonLabel),1),o.icon&&o.icon_position==="right"?(Ai(),Vi("span",SA,Si(o.icon),1)):Td("",!0)])]),_:1},8,["class","url","blank","callback"])])}const VA=y(fA,[["render",AA]]),TA={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"}}},jo=window.Vue.openBlock,Ti=window.Vue.createElementBlock,$d=window.Vue.createCommentVNode,PA=window.Vue.resolveDynamicComponent,$A=window.Vue.createBlock,DA=window.Vue.createElementVNode,NA=window.Vue.normalizeClass,IA=["innerHTML"],BA={class:"headline__text"},OA=["innerHTML"];function xA(e,t,n,s,r,o){return jo(),Ti("div",{class:NA(["element",o.elementClass,"headline","--type-".concat(o.headlineTag)])},[o.icon?(jo(),Ti("i",{key:0,class:"iconSet --text-size-xxxl",innerHTML:o.icon},null,8,IA)):$d("",!0),DA("div",BA,[(jo(),$A(PA(o.headlineTag),{class:"headline__title --text-size-xxxl --text-weight-medium",innerHTML:o.headlineInner},null,8,["innerHTML"])),o.sublineInner!==""?(jo(),Ti("span",{key:0,class:"headline__subline --text-size-xl",innerHTML:o.sublineInner},null,8,OA)):$d("",!0)])],2)}const ip=y(TA,[["render",xA]]),RA={components:{AppPlayerControlPlay:Tn,CmmsResponsiveImage:be},props:["element"],data(){return{channelPlayed:!1}},computed:{...fe("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/".concat(this.backgroundImageId,".webp"):this.firstTrackCover},ctaElement(){return{data:{text:"Jetzt live hören"}}},show_image_url(){return"".concat(window.cmms_thumbs_base,"x200/").concat(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&&this.channelData.default_cover_id!=null&&(e=this.channelData.default_cover_id?window.cmms_thumbs_base+"12
20x120c/".concat(this.channelData.default_cover_id,".webp"):null),e},isOnAir(){return this.playerMode===Ee&&this.getCurrentChannelId===this.channelId}},methods:{...Ne("player",["setPlayerChannelId"]),triggerPlayer:function(){this.$refs.playButton.togglePlayer()},selectChannel:function(e){this.setPlayerChannelId({channelId:e,autoplay:!0})}},watch:{playerState:function(e,t){e===It&&this.playerMode===Ee&&(this.channelPlayed=!0)}}};function MA(e,t,n,s,r,o){return null}const ap=y(RA,[["render",MA]]),LA={name:"SoylentRadioNowPlaying",extends:ap,methods:{onChannelSelectChange(e){this.selectChannel(e.target.value)}},computed:{showChannels(){return Object.keys(this.channels).length>1}}},Dd=window.Vue.normalizeClass,Ze=window.Vue.openBlock,ht=window.Vue.createElementBlock,Ht=window.Vue.createCommentVNode,xs=window.Vue.toDisplayString,oe=window.Vue.createElementVNode,Nd=window.Vue.resolveComponent,zA=window.Vue.createVNode,FA=window.Vue.createBlock,UA=window.Vue.renderList,jA=window.Vue.Fragment,HA=["src"],GA={class:"now-playing__overlay"},YA={class:"now-playing__current"},WA={key:0,class:"now-playing__current__show"},qA={class:"--text-size-xxxl --text-weight-medium"},KA={class:"--text-size-xl"},JA={class:"now-playing__showimg"},ZA={class:"now-playing__info"},QA={class:"now-playing__info__track"},XA={key:0,class:"now-playing__info__track__onair"},eV={class:"now-playing__info__track__interpret --text-size-xxl --text-weight-medium"},tV={class:"now-playing__info__track__title --text-size-m"},nV={class:"now-playing__info__channel"},sV={key:0,class:"now-playing__info__channel__select"},oV=["value","selected"],rV={class:"now-playing__info__channel__cover"},iV={class:"now-playing__info__channel__cover__entry"},aV=["src"],lV={class:"now-playing__info__channel__cover__entry"},cV=["src"],dV={class:"now-playing__info__channel__cover__entry"},uV=["src"];function hV(e,t,n,s,r,o){const i=Nd("AppPlayerControlPlay"),a=Nd("CmmsResponsiveImage");return Ze(),ht("div",{class:Dd(["element",e.element.type,"now-playing"])},[e.backgroundImage?(Ze(),ht("img",{key:0,class:Dd(["now-playing__background",e.backgroundImageId?"--background-id":"--background-track"]),src:e.backgroundImage},null,10,HA)):Ht("",!0),oe("div",GA,[oe("div",YA,[e.title?(Ze(),ht("div",WA,[oe("span",qA,xs(e.title),1),oe("span",KA,xs(e.excerpt),1)])):Ht("",!0),oe("div",{class:"now-playing__current__player",onClick:t[0]||(t[0]=(...l)=>e.triggerPlayer&&e.triggerPlayer(...l))},[zA(i,{channelId:e.channelId,ref:"playButton"},null,8,["channelId"]),t[2]||(t[2]=oe("span",{class:"now-playing__current__player__cta --text-weight-bold","data-alttext":"Jetzt live"},[oe("span",null,"Jetzt live hören")],-1))])]),oe("div",JA,[e.showImage?(Ze(),FA(a,{key:0,image:e.showImage},null,8,["image"])):Ht("",!0)]),oe("div",ZA,[oe("div",QA,[e.isOnAir?(Ze(),ht("div",XA,[...t[3]||(t[3]=[oe("span",{class:"now-playing__info__track__onair__equalizer"},[oe("span"),oe("span"),oe("span")],-1),oe("span",{class:"now-playing__info__track__onair__label --text-weight-medium"}," on Air ",-1)])])):Ht("",!0),oe("span",eV,xs(e.currentTrackInterpret),1),oe("span",tV,xs(e.currentTrackTitle),1)]),oe("div",nV,[o.showChannels?(Ze(),ht("div",sV,[oe("select",{class:"--text-size-s",onChange:t[1]||(t[1]=l=>o.onChannelSelectChange(l))},[(Ze(!0),ht(jA,null,UA(e.channels,(l,c,d)=>(Ze(),ht("option",{value:c,key:"channel_select_option_".concat(d),selected:c===e.channelId},xs(l.label),9,oV))),128))],32),t[4]||(t[4]=oe("span",{class:"now-playing__info__channel__select__icon"},null,-1))])):Ht("",!0),oe("div",rV,[oe("div",iV,[e.firstTrackCover?(Ze(),ht("img",{key:0,src:e.firstTrackCover,class:"--first-track"},null,8,aV)):Ht("",!0)]),oe("div",lV,[e.trackCover(1,e.channelId)?(Ze(),ht("img",{key:0,src:e.trackCover(1,e.channelId)},null,8,cV)):Ht("",!0)]),oe("div",dV,[e.trackCover(2,e.channelId)?(Ze(),ht("img",{key:0,src:e.trackCover(2,e.channelId)},null,8,uV)):Ht("",!0)])])])])])],2)}const pV=y(LA,[["render",hV]]);function _V(e,t,n="",s="",r=""){return"".concat(window.cmms_thumbs_base).concat(t,"x").concat(n).concat(s).concat(r,"/").concat(e,".jpg")}const mV={name:"SoylentRadioPodcastOpener",components:{CmmsResponsiveImage:be}
2,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(".concat(_V(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:""}}},fV=window.Vue.normalizeStyle,Gt=window.Vue.createElementVNode,wV=window.Vue.resolveComponent,Id=window.Vue.openBlock,gV=window.Vue.createBlock,yV=window.Vue.createCommentVNode,Bd=window.Vue.toDisplayString,vV=window.Vue.normalizeClass,bV=window.Vue.createElementBlock,EV={class:"podcast-opener__content"},kV={class:"podcast-opener__media"},CV={class:"podcast-opener__entry"},SV={class:"podcast-opener__kicker"},AV={class:"podcast-opener__kicker__label --text-size-s"},VV={class:"podcast-opener__title --text-size-xxl --text-weight-medium"},TV=["innerHTML"];function PV(e,t,n,s,r,o){const i=wV("CmmsResponsiveImage");return Id(),bV("div",{class:vV(["element",n.element.type,"podcast-opener"])},[Gt("div",{class:"podcast-opener__overlay",style:fV(o.overlayStyle)},null,4),Gt("div",EV,[Gt("picture",kV,[o.podcastModel&&o.podcastModel.image?(Id(),gV(i,{key:0,image:o.podcastModel.image},null,8,["image"])):yV("",!0)]),Gt("span",CV,[Gt("span",SV,[Gt("span",AV,Bd(o.podcastKicker),1)]),Gt("span",VV,Bd(o.podcastTitle),1),Gt("span",{class:"podcast-opener__teaser --text-size-l",innerHTML:o.podcastTeaser},null,8,TV)])])],2)}const $V=y(mV,[["render",PV]]),DV={name:"SoylentPostMeta",components:{ReaderTrigger:op},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)}}},Rs=window.Vue.toDisplayString,Yt=window.Vue.openBlock,an=window.Vue.createElementBlock,ln=window.Vue.createCommentVNode,NV=window.Vue.createTextVNode,Od=window.Vue.createElementVNode,IV=window.Vue.resolveComponent,BV=window.Vue.createBlock,OV=window.Vue.normalizeClass,xV={key:0,class:"date"},RV={key:0},MV={key:1},LV={key:2,class:"post-meta__duration"},zV={class:"label"},FV={key:3,class:"zone-label --ai-label --text-size-xxs"},UV={key:4,class:"zone-label --ad-label --text-size-xxs"};function jV(e,t,n,s,r,o){const i=IV("ReaderTrigger");return Yt(),an("div",{class:OV(["element",n.element.type,"post-meta"])},[n.element.data.date?(Yt(),an("span",xV,[NV(Rs(n.element.data.date)+" ",1),n.element.data.time?(Yt(),an("span",RV,"· "+Rs(n.element.data.time)+" Uhr",1)):ln("",!0)])):ln("",!0),o.authorName?(Yt(),an("span",MV,Rs(o.authorName),1)):ln("",!0),n.element.data.duration?(Yt(),an("span",LV,[t[0]||(t[0]=Od("span",{class:"iconSet"},"play_circle_outline",-1)),Od("span",zV,Rs(n.element.data.duration),1)])):ln("",!0),n.element.data.ai_label?(Yt(),an("span",FV,Rs(n.element.data.ai_label),1)):ln("",!0),n.element.data.show_ad_label?(Yt(),an("span",UV,"Anzeige")):ln("",!0),o.showReader?(Yt(),BV(i,{key:5})):ln("",!0)],2)}const HV=y(DV,[["render",jV]]),GV={name:"SoylentRadioOpenerPosts",props:["element"],components:{CmmsResponsiveImage:be,CroppedText:Ot,SoylentLink:Ie},computed:{elements(){return this.element.data.items},mainPost(){return this.elements[0]},teaserPost(){return this.elements.slice(1)}}},Pi=window.Vue.resolveComponent,cn=window.Vue.openBlock,Ho=window.Vue.createBlock,Go=window.Vue.createCommentVNode,$i=window.Vue.withCtx,Di=window.Vue.createVNode,Ms=window.Vue.toDisplayString,Ue=window.Vue.createElementVNode,Ni=window.Vue.createElementBlock,YV=window.Vue.renderList,WV=window.Vue.Fragment,qV=window.Vue.normalizeClass,KV={class:"opener-posts__main"},JV={class:"opener-posts__main__news"},ZV={class:"opener-posts__main__news__entry"},QV={class:"opener-posts__main__news__entry__meta --text-size-s"},XV={key:0,class:"opener-posts__main__news__entry__meta --text-size-s"},e2={class:"opener-posts__main__news__entry__headline"},t2={class:"opener-posts__teaser"},n2={class:"opener-posts__teaser__news__overlay"},s2={class:"opener-posts__teaser__news__overlay__meta --text-size-xxs"},o2={class:"opener-posts__teaser__news__overlay__headline --text-size-l --text-weight-medium"};function r2(e,t,n,s,r,o){const i=Pi("CmmsResponsiveImage"),a=Pi("soylent-link"),l=Pi("CroppedText");
2return cn(),Ni("div",{class:qV(["element",n.element.type,"opener-posts"])},[Ue("div",KV,[o.mainPost.image?(cn(),Ho(i,{key:0,class:"opener-posts__main__background",image:o.mainPost.image,fill:!0,blur:!0},null,8,["image"])):Go("",!0),Ue("div",JV,[Di(a,{url:o.mainPost.url,class:"opener-posts__main__news__image"},{default:$i(()=>[o.mainPost.image?(cn(),Ho(i,{key:0,image:o.mainPost.image},null,8,["image"])):Go("",!0)]),_:1},8,["url"]),Ue("div",ZV,[Ue("span",QV,Ms(o.mainPost.date.datetime_txt),1),o.mainPost.kicker?(cn(),Ni("span",XV,Ms(o.mainPost.kicker),1)):Go("",!0),Ue("h3",e2,Ms(o.mainPost.title),1),Di(l,{class:"opener-posts__main__news__entry__content --text-size-l",text:o.mainPost.excerpt,lines:3},null,8,["text"]),Di(a,{url:o.mainPost.url,class:"button"},{default:$i(()=>[...t[0]||(t[0]=[Ue("span",{class:"button__label"},[Ue("span",{class:"button__icon iconSet"},"notes"),Ue("span",{class:"button__text"},"Weiterlesen")],-1)])]),_:1},8,["url"])])])]),Ue("div",t2,[(cn(!0),Ni(WV,null,YV(o.teaserPost,(c,d)=>(cn(),Ho(a,{class:"opener-posts__teaser__news",key:"item_".concat(d),url:c.url},{default:$i(()=>[c.image?(cn(),Ho(i,{key:0,class:"opener-posts__teaser__news__image",image:c.image,fill:!0},null,8,["image"])):Go("",!0),Ue("div",n2,[Ue("span",s2,Ms(c.date.datetime_txt),1),Ue("span",o2,Ms(c.title),1)])]),_:2},1032,["url"]))),128))])],2)}const i2=y(GV,[["render",r2]]),a2={name:"ElementHeader",props:["headline","settings"],components:{SoylentRadioHeadline:ip},computed:{headlineData(){return{data:{tag:"h2",text:this.headline,subline:this.settings.soylentRadio_headline_subline,selected_icon:this.settings.soylentRadio_headline_icon}}}}},l2=window.Vue.resolveComponent,c2=window.Vue.openBlock,d2=window.Vue.createBlock;function u2(e,t,n,s,r,o){const i=l2("SoylentRadioHeadline");return c2(),d2(i,{element:o.headlineData,class:"element__headline"},null,8,["element"])}const h2=y(a2,[["render",u2]]),p2={name:"HeaderTools",components:{SoylentLink:Ie},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")}}},Ii=window.Vue.createElementVNode,Bi=window.Vue.toDisplayString,dn=window.Vue.openBlock,Yo=window.Vue.createElementBlock,Un=window.Vue.createCommentVNode,_2=window.Vue.resolveComponent,Oi=window.Vue.withCtx,xi=window.Vue.createBlock,m2=window.Vue.normalizeClass,f2={class:"header-tools"},w2={key:0,class:"header-tools__item__label --highlight"},g2={key:0,class:"header-tools__item__label --highlight"},y2={key:0,class:"header-tools__item__label --text-weight-medium"};function v2(e,t,n,s,r,o){const i=_2("soylent-link");return dn(),Yo("div",f2,[o.trafficUrl?(dn(),xi(i,{key:0,onClick:o.closeMenu,url:o.trafficUrl,title:"Blitzer","aria-label":"Blitzer",class:"header-tools__item --speedcam"},{default:Oi(()=>[t[0]||(t[0]=Ii("span",{class:"header-tools__item__icon iconSet"},"videocam",-1)),o.speedcamAmount?(dn(),Yo("span",w2,Bi(o.speedcamAmount),1)):Un("",!0)]),_:1},8,["onClick","url"])):Un("",!0),o.trafficUrl?(dn(),xi(i,{key:1,onClick:o.closeMenu,url:o.trafficUrl,title:"Verkehrsmeldungen","aria-label":"Verkehrsmeldungen",class:"header-tools__item --traffic"},{default:Oi(()=>[t[1]||(t[1]=Ii("span",{class:"header-tools__item__icon iconSet"},"directions_car",-1)),o.trafficAmount?(dn(),Yo("span",g2,Bi(o.trafficAmount),1)):Un("",!0)]),_:1},8,["onClick","url"])):Un("",!0),o.weatherUrl?(dn(),xi(i,{key:2,onClick:o.closeMenu,url:o.weatherUrl,title:"Wetter","aria-label":"Wetter",class:"header-tools__item --weather"},{default:Oi(()=>[Ii("span",{class:m2(["header-tools__item__icon wi",o.weatherIcon])},null,2),o.currentTemperature?(dn(),Yo("span",y2,Bi(o.currentTemperature)+"° ",1)):Un("",!0)]),_:1},8,["onClick","url"])):Un("",!0)])}const b2=y(p2,[["render",v2]]);
2class br{constructor(){ge(this,"id",null);ge(this,"image",null);ge(this,"postType","");ge(this,"isAction",!1);ge(this,"category",null);ge(this,"icon","");ge(this,"date","");ge(this,"duration","");ge(this,"kicker","");ge(this,"title","");ge(this,"description","");ge(this,"excerpt","");ge(this,"url","");ge(this,"isAd",!1);ge(this,"timestamp",null)}}const E2={name:"PostShortcut",components:{SoylentLink:Ie,CmmsResponsiveImage:be,CroppedText:Ot},data(){return{element:null}},props:{model:{type:br,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(this.element.postType==="post"||this.element.postType==="cmms_media"||this.element.postType==="galerie")&&(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 this.element.postType==="cmms_media"?e="play_arrow":this.element.postType==="post"?e="notes":this.element.postType==="galerie"&&(e="collections"),e},isAction(){return this.element?this.element.isAction:!1},getUrl(){return this.element?this.element.url:""}},mounted(){this.element===null&&this.post!==null?(this.element=new br,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}},Ri=window.Vue.resolveComponent,je=window.Vue.openBlock,xd=window.Vue.createBlock,Qe=window.Vue.createCommentVNode,pt=window.Vue.createElementBlock,Rd=window.Vue.createElementVNode,un=window.Vue.toDisplayString,k2=window.Vue.createTextVNode,C2=window.Vue.createVNode,S2=window.Vue.normalizeClass,A2=window.Vue.withCtx,V2={key:0,class:"post-shortcut__thumbnail"},T2={key:1,class:"post-shortcut__entry"},P2={key:0,class:"post-shortcut__entry__category --text-size-xxs"},$2={key:1,class:"post-shortcut__entry__meta"},D2={key:0,class:"post-shortcut__entry__meta__label --text-size-xxs"},N2={key:0,class:"iconSet --text-size-s"},I2={key:1,class:"--text-weight-medium"},B2={key:2,class:"post-shortcut__entry__meta__label__duration"},O2={key:1,class:"post-shortcut__entry__meta__zone-label --text-size-xxs"},x2={key:2,class:"post-shortcut__entry__kicker --text-size-xs"},R2={class:"post-shortcut__entry__title --text-size-l --text-weight-medium"};function M2(e,t,n,s,r,o){const i=Ri("CmmsResponsiveImage"),a=Ri("CroppedText"),l=Ri("soylent-link");return je(),xd(l,{class:S2(["post-shortcut",n.addActionClass?"--action":""]),url:o.getUrl},{default:A2(()=>[r.element?(je(),pt("span",V2,[r.element.image?(je(),xd(i,{key:0,image:r.element.image,fill:!0},null,8,["image"])):Qe("",!0)])):Qe("",!0),r.element?(je(),pt("span",T2,[t[0]||(t[0]=Rd("span",{class:"post-shortcut__entry__hover"},null,-1)),!o.isAction&&r.element.category&&n.showCategory?(je(),pt("span",P2,un(r.element.category),1)):Qe("",!0),o.isAction&&r.element.isAd||!o.isAction&&o.getDate?(je(),pt("span",$2,[o.isAction?Qe("",!0):(je(),pt("span",D2,[o.getIcon?(je(),pt("span",N2,un(o.getIcon),1)):Qe("",!0),o.getDate?(je(),pt("span",I2,un(o.getDate.begin),1)):Qe("",!0),k2(" "+un(o.dateEnd)+" ",1),o.duration?(je(),pt("span",B2," · "+un(o.duration),1)):Qe("",!0)])),r.element.isAd?(je(),pt("span",O2,"Anzeige")):Qe("",!0)])):Qe("",!0),r.element.kicker?(je(),pt("span",x2,un(r.element.kicker),1)):Qe("",!0),Rd("span",R2,un(r.element.title),1),C2(a,{tag:"span",class:"post-shortcut__entry__description",text:r.element.excerpt,lines:4},null,8,["text"])])):Qe("",!0)]),_:1},8,["class","url"])}const L2=y(E2,[["render",M2]]),z2={name:"IdvlEditorSlot",extends:wa,computed:{hasHeadline:function(){return!!(this.element.slot_settings.soylent_headline||this.element.slot_settings.soylentRadio_headline_subline)}}},Md=window.Vue.resolveDynamicComponent,Mi=window.Vue.openBlock,Ld=window.Vue.createBlock,zd=window.Vue.createCommentVNode,F2=window.Vue.normalizeClass,U2=window.Vue.createElementBlock;function j2(e,t,n,s,r,o){return Mi(),U2("div",{class:F2(["slot",e.slotClasses])},[o.hasHeadline?(Mi(),Ld(Md(e.elementHeader),{key:0,headline:e.slotHeadline,settings:e.element.slot_settings},null,8,["headline","settings"])):zd("",!0),e.element.type?(Mi(),Ld(Md(e.elementComponent),{element:e.element,key:e.elementKe
2y},null,8,["element"])):zd("",!0)],2)}const H2=y(z2,[["render",j2]]),N=window.Vue.defineAsyncComponent,Fd={player:hy};Object.keys(Fd).forEach(e=>{H.registerModule(e,Fd[e])});vu.set(Xk);Ks.set({SoylentAccessibilityMeta:lC,SoylentAnchor:fC,SoylentHtml:CC,SoylentOpenerImage:NC,SoylentPostKicker:LC,SoylentPostTeaser:YC,SoylentShare:N(()=>b(()=>import("./Share.js"),__vite__mapDeps([0,1]))),SoylentSpacer:QC,SoylentThirdPartyDelivery:cS,SoylentActionCalendar:N(()=>b(()=>import("./ActionCalendar.js"),__vite__mapDeps([2,1]))),SoylentCrawl:N(()=>b(()=>import("./Crawl.js"),__vite__mapDeps([3,1]))),SoylentEventMeta:N(()=>b(()=>import("./EventMeta.js"),__vite__mapDeps([4,1]))),SoylentEvents:N(()=>b(()=>import("./Events.js"),__vite__mapDeps([5,6,7,8,9,1]))),SoylentFeatureCta:N(()=>b(()=>import("./FeatureCta.js"),__vite__mapDeps([10,1]))),SoylentForm:N(()=>b(()=>import("./Form.js"),__vite__mapDeps([11,1]))),SoylentGallery:N(()=>b(()=>import("./Gallery.js"),__vite__mapDeps([12,13,1]))),SoylentGalleryShortcutList:N(()=>b(()=>import("./GalleryShortcutList.js"),__vite__mapDeps([14,15,9,1]))),SoylentHeadline:N(()=>b(()=>import("./Headline.js"),__vite__mapDeps([16,1]))),SoylentInPageNavigation:N(()=>b(()=>import("./InPageNavigation.js"),__vite__mapDeps([17,18,1]))),SoylentJobGrid:N(()=>b(()=>import("./JobGrid.js"),__vite__mapDeps([19,1]))),SoylentLastVideo:N(()=>b(()=>import("./LastVideo.js"),__vite__mapDeps([20,1]))),SoylentLine:N(()=>b(()=>import("./Line.js"),__vite__mapDeps([21,1]))),SoylentLogoSlider:N(()=>b(()=>import("./LogoSlider.js"),__vite__mapDeps([22,13,1]))),SoylentMap:N(()=>b(()=>import("./Map.js"),__vite__mapDeps([23,1]))),SoylentMediaLink:N(()=>b(()=>import("./MediaLink.js"),__vite__mapDeps([24,18,1]))),SoylentParallax:N(()=>b(()=>import("./Parallax.js"),__vite__mapDeps([25,18,1]))),SoylentPoll:N(()=>b(()=>import("./Poll.js"),__vite__mapDeps([26,1]))),SoylentPostShortcutList:N(()=>b(()=>import("./PostShortcutList.js"),__vite__mapDeps([27,28,9,1]))),SoylentRelatedContents:N(()=>b(()=>import("./RelatedContents.js"),__vite__mapDeps([29,28,6,1]))),SoylentScheduleDetail:N(()=>b(()=>import("./ScheduleDetail.js"),__vite__mapDeps([30,1]))),SoylentScheduleWidget:N(()=>b(()=>import("./ScheduleWidget.js"),__vite__mapDeps([31,1]))),SoylentShowToolbar:N(()=>b(()=>import("./ShowToolbar.js"),__vite__mapDeps([32,1]))),SoylentAuthor:N(()=>b(()=>import("./Author.js"),__vite__mapDeps([33,1]))),SoylentJobMeta:N(()=>b(()=>import("./JobMeta.js"),__vite__mapDeps([34,1]))),SoylentMedia:US,SoylentOpenerMedia:JS,SoylentTeamMember:N(()=>b(()=>import("./TeamMember.js"),__vite__mapDeps([35,1]))),SoylentTermList:N(()=>b(()=>import("./TermList.js"),__vite__mapDeps([36,1]))),SoylentSocialEmbed:N(()=>b(()=>import("./SocialEmbed.js"),__vite__mapDeps([37,1]))),SoylentRadioAudioTeaser:mA,SoylentRadioCtaButton:VA,SoylentRadioHeadline:ip,SoylentRadioNowPlaying:pV,SoylentRadioPodcastOpener:$V,SoylentRadioOpenerPosts:i2,SoylentPostMeta:HV,SoylentRadioActions:N(()=>b(()=>import("./Actions.js"),__vite__mapDeps([38,39,1]))),SoylentRadioChannelSlider:N(()=>b(()=>import("./ChannelSlider.js"),__vite__mapDeps([40,39,18,1]))),SoylentRadioChannelTeaser:N(()=>b(()=>import("./ChannelTeaser.js"),__vite__mapDeps([41,1]))),SoylentRadioPlaylistWidget:N(()=>b(()=>import("./PlaylistWidget.js"),__vite__mapDeps([42,1]))),SoylentRadioPodcastEpisodes:N(()=>b(()=>import("./PodcastEpisodes.js"),__vite__mapDeps([43,9,1]))),SoylentRadioPodcastGrid:N(()=>b(()=>import("./PodcastGrid.js"),__vite__mapDeps([44,1]))),SoylentRadioPodcastTeaser:N(()=>b(()=>import("./PodcastTeaser.js"),__vite__mapDeps([45,1]))),SoylentRadioPostGrid:N(()=>b(()=>import("./PostGrid.js"),__vite__mapDeps([46,1]))),SoylentRadioPromoSlider:N(()=>b(()=>import("./PromoSlider.js"),__vite__mapDeps([47,39,1]))),SoylentRadioSongSearch:N(()=>b(()=>import("./SongSearch.js"),__vite__mapDeps([48,1]))),SoylentRadioTeam:N(()=>b(()=>import("./Team.js"),__vite__mapDeps([49,39,1]))),SoylentRadioTopFivePosts:N(()=>b(()=>import("./TopFivePosts.js"),__vite__mapDeps([50,1]))),SoylentRadioTraffic:N(()=>b(()=>import("./Traffic.js"),__vite__mapDeps([51,52,1,53]))),SoylentRadioTrafficMap:N(()=>b(()=>import("./TrafficMap.js"),__vite__mapDeps([52,1]))),SoylentRadioTrafficWidget:N(()=>b(()=>import("./TrafficWidget.js"),__vite__mapDeps([53,1]))),SoylentRadioWeather:N(()=>b(()=>import("./Weather.js"),__vite__mapDeps([54,1]))),SoylentRadioWeatherWidget:N(()=>b(()=>import("./WeatherWidget.js"),__vite__mapDeps([55,1]))),SoylentRadioGalleryTeaser:N(()=>b(()=>import("./GalleryTeaser.js"),__vite__mapDeps([56,15,1]))),SoylentStructuredForm:N(()=>b(()=>import("./StructuredForm.js"),__vite__mapDeps([57,1])))});he.set({elementHeader:h2,eventFilter:N(()=>b(()=>import("./EventFilter.js"),__vite__mapDeps([58,7,8,1]))),headerTools:b2,editorSlot:H2,postShortcut:L2});ds.fullsizePlayer=!1;const G2={name:"BadenFmActions",components:{CmmsResponsiveImage:be,CroppedText:Ot,SoylentLink:Ie},props:{element:{Type:Object}},computed:{mainPromotion(){var e;return(e=this.element.data.items[0])!=null?e:null},otherPromotions(){return this.element.data.items.splice(1)}},methods:{splitWordsToSpan:function(e){return e?e.split(" ").map(t=>"<span>".concat(t,"</span>")).join(""):""}}}
2,Li=window.Vue.resolveComponent,jn=window.Vue.openBlock,zi=window.Vue.createBlock,Fi=window.Vue.createCommentVNode,Ui=window.Vue.withCtx,ji=window.Vue.createVNode,hn=window.Vue.createElementVNode,Hi=window.Vue.createElementBlock,Y2=window.Vue.renderList,W2=window.Vue.Fragment,q2={class:"element actions"},K2={key:0,class:"actions__background-wrapper"},J2={class:"actions__main"},Z2={class:"actions__main__entry"},Q2=["innerHTML"],X2={class:"actions__teaser"};function eT(e,t,n,s,r,o){const i=Li("CmmsResponsiveImage"),a=Li("SoylentLink"),l=Li("CroppedText");return jn(),Hi("div",q2,[o.mainPromotion?(jn(),Hi("div",K2,[hn("div",J2,[ji(a,{class:"actions__main__media",url:o.mainPromotion.url},{default:Ui(()=>[o.mainPromotion.image?(jn(),zi(i,{key:0,class:"actions__main__media__image",image:o.mainPromotion.image},null,8,["image"])):Fi("",!0)]),_:1},8,["url"]),hn("div",Z2,[hn("div",{class:"actions__main__entry__title",innerHTML:o.splitWordsToSpan(o.mainPromotion.title)},null,8,Q2),t[1]||(t[1]=hn("div",{class:"actions__main__entry__label"},"#Aktion",-1)),ji(l,{class:"actions__main__entry__description",text:o.mainPromotion.excerpt,lines:2},null,8,["text"]),ji(a,{url:o.mainPromotion.url,class:"button"},{default:Ui(()=>[...t[0]||(t[0]=[hn("span",{class:"button__label"},[hn("span",{class:"button__text"},"Weiterlesen ...")],-1)])]),_:1},8,["url"])])])])):Fi("",!0),hn("div",X2,[(jn(!0),Hi(W2,null,Y2(o.otherPromotions,c=>(jn(),zi(a,{class:"actions__teaser__item",url:c.url,key:c.id},{default:Ui(()=>[c.image?(jn(),zi(i,{key:0,fill:!0,image:c.image},null,8,["image"])):Fi("",!0)]),_:2},1032,["url"]))),128))])])}const tT=y(G2,[["render",eT]]),nT={name:"SoylentRadioNowPlaying",extends:ap,components:{AppPlayerControlPlay:Tn,CmmsResponsiveImage:be},data:function(){return{backgroundImage:null,backgroundImagePointer:0,timeout:0}},methods:{setBackgroundImage(){this.backgroundImage=this.backgroundImages[this.backgroundImagePointer],this.backgroundImagePointer++,this.backgroundImagePointer>=this.backgroundImages.length&&(this.backgroundImagePointer=0),this.timeout=setTimeout(()=>{this.setBackgroundImage()},this.backgroundInterval)}},computed:{height(){return parseInt(this.element.data.height)},backgroundInterval(){return this.element.data.background_interval*1e3},backgroundImages(){return this.element.data.background_images?this.element.data.background_images:[]},channelImage(){return this.channelData?window.cmms_thumbs_base+"500x500/".concat(this.channelData.thumbnail_id,".webp"):null}},mounted(){this.backgroundImages.length>0&&this.setBackgroundImage()},beforeDestroy(){clearTimeout(this.timeout)}},Ud=window.Vue.resolveComponent,_t=window.Vue.openBlock,jd=window.Vue.createBlock,sT=window.Vue.Transition,oT=window.Vue.withCtx,Hn=window.Vue.createCommentVNode,Wt=window.Vue.createElementBlock,Oe=window.Vue.createElementVNode,rT=window.Vue.renderList,iT=window.Vue.Fragment,aT=window.Vue.createVNode,Hd=window.Vue.toDisplayString,lT=window.Vue.normalizeClass,cT=window.Vue.normalizeStyle,dT={class:"now-playing__background"},uT=["src"],hT={key:0,class:"now-playing__cover"},pT={class:"now-playing__cover__image"},_T=["src"],mT={class:"now-playing__cover__image"},fT=["src"],wT={class:"now-playing__cover__image"},gT=["src"],yT={class:"now-playing__overlay"},vT={class:"now-playing__status-wrapper"},bT=["src"],ET={class:"now-playing__status"},kT={class:"now-playing__equalizer"},CT={class:"now-playing__controls"},ST={class:"now-playing__artist"},AT={class:"now-playing__artist__name"},VT={class:"now-playing__artist__track"};function TT(e,t,n,s,r,o){const i=Ud("CmmsResponsiveImage"),a=Ud("AppPlayerControlPlay");return _t(),Wt("div",{class:lT(["element",e.element.type,"now-playing",e.backgroundImage?"--background":"--cover"]),style:cT("--height:"+o.height+"vh")},[Oe("div",dT,[e.backgroundImage?(_t(),jd(sT,{key:0},{default:oT(()=>[(_t(),jd(i,{image:e.backgroundImage,key:e.backgroundImagePointer},null,8,["image"]))]),_:1})):e.firstTrackCover?(_t(),Wt("img",{key:1,src:e.firstTrackCover},null,8,uT)):Hn("",!0)]),e.backgroundImage?Hn("",!0):(_t(),Wt("div",hT,[Oe("div",pT,[e.firstTrackCover?(_t(),Wt("img",{key:0,src:e.f
2irstTrackCover},null,8,_T)):Hn("",!0)]),Oe("div",mT,[e.trackCover(1,e.currentChannelID)?(_t(),Wt("img",{key:0,src:e.trackCover(1,e.currentChannelID)},null,8,fT)):Hn("",!0)]),Oe("div",wT,[e.trackCover(2,e.currentChannelID)?(_t(),Wt("img",{key:0,src:e.trackCover(2,e.currentChannelID)},null,8,gT)):Hn("",!0)])])),Oe("div",yT,[Oe("div",vT,[o.channelImage?(_t(),Wt("img",{key:0,class:"now-playing__overlay__channel",src:o.channelImage,title:"Channel 1",alt:"Channel 1"},null,8,bT)):Hn("",!0),Oe("div",ET,[Oe("div",kT,[(_t(),Wt(iT,null,rT(5,l=>Oe("span",{key:l})),64))]),Oe("div",CT,[aT(a,{channelId:e.channelId,ref:"playButton"},null,8,["channelId"]),Oe("div",ST,[Oe("span",AT,Hd(e.currentTrackInterpret),1),Oe("span",VT,Hd(e.currentTrackTitle),1)])])])])])],6)}const PT=y(nT,[["render",TT]]),$T={name:"User",data:function(){return{iframeSrc:null,showIframe:!1}},computed:{...fe("sso",["auth","logoutUrl","userName","userMail","userNameReadable"])},methods:{setIframe:function(e){this.iframeSrc=e,this.$refs.profileFrame.onload=()=>{const t=this.$refs.profileFrame.contentWindow.location.toString();(t===window.location.toString()||t===window.location.origin+"/")&&(eo().getAuthData(),this.iframeSrc=null)}}}},DT=window.Vue.toDisplayString,Ls=window.Vue.createElementVNode,NT=window.Vue.vShow,IT=window.Vue.withDirectives,BT=window.Vue.openBlock,OT=window.Vue.createElementBlock,xT={class:"sso-auth__card --profile"},RT={class:"sso-auth__card__headline"},MT=["src"];function LT(e,t,n,s,r,o){return BT(),OT("div",xT,[Ls("h3",RT,"Hallo "+DT(e.userNameReadable)+"!",1),Ls("button",{class:"sso-auth__card__button",onClick:t[0]||(t[0]=i=>o.setIframe(e.logoutUrl))},[...t[1]||(t[1]=[Ls("span",{class:"sso-auth__card__button__label"},[Ls("span",{class:"sso-auth__card__button__text"},"Abmelden")],-1)])]),IT(Ls("iframe",{ref:"profileFrame",width:"100%",height:"750px",src:e.iframeSrc,style:{display:"block",border:"0",outline:"0"}},null,8,MT),[[NT,e.showIframe]])])}const Oa=y($T,[["render",LT]]),zT={name:"Login",data(){return{iframeSrc:null}},computed:{...fe("sso",["auth","loginUrl","registerUrl","logoutUrl","redirectPath","userName","userMail","userNameReadable"])},methods:{...Ne("sso",["setRedirectPath"]),setIframe(e){this.iframeSrc=e,this.$refs.loginFrame.onload=()=>{let t=window.location.toString();const n=window.location.origin+"/",s=this.$refs.loginFrame.contentWindow.location.toString();if([t,n].includes(s)&&(eo().getAuthData(),this.iframeSrc=null,console.log("[SSO] Return to "+this.redirectPath),this.redirectPath)){const r=this.redirectPath;this.setRedirectPath(null),yt.push(r)}}},getLoginUrl(){return eo().getLoginUrl(this.loginUrl)}},mounted(){this.loginUrl&&this.setIframe(this.getLoginUrl())},watch:{loginUrl:{handler(e){e&&this.setIframe(this.getLoginUrl())},immediate:!0}}},FT=window.Vue.openBlock,UT=window.Vue.createElementBlock,jT=["src"];function HT(e,t,n,s,r,o){return FT(),UT("iframe",{ref:"loginFrame",width:"100%",height:"750px",src:r.iframeSrc,style:{display:"block",border:"0",outline:"0"}},null,8,jT)}const xa=y(zT,[["render",HT]]);he.set({profileUser:Oa,profileLogin:xa});const GT={name:"SsoLogin",data:function(){return{iframeSrc:null}},components:{Login:xa,User:Oa},computed:{...fe("sso",["auth","registerUrl","logoutUrl","userName","userMail","userNameReadable"]),userComponent(){return he.getByName("profileUser",Oa)},loginComponent(){return he.getByName("profileLogin",xa)}},methods:{}},Gd=window.Vue.resolveDynamicComponent,Yd=window.Vue.openBlock,Wd=window.Vue.createBlock;window.Vue.createCommentVNode;function YT(e,t,n,s,r,o){return e.auth?(Yd(),Wd(Gd(o.userComponent),{key:0})):(Yd(),Wd(Gd(o.loginComponent),{key:1}))}const WT=y(GT,[["render",YT]]),qT=Object.freeze({action:"",elements:[],identifier:"",method:""}),KT=Object.freeze({attributes:{},id:"",callback:()=>{},label:"",options:[],placeholder:"",required:!1,type:"",value:""}),JT="button",lp="checkbox",ZT="custom",QT="date",XT="email",eP="file",tP="hidden",nP="number",sP="password",oP="radio",rP="select",iP="submit",aP="text",lP="textarea",cP="time",Gi="idle",Yi="preparing",Wi="uploading",qd="sent",Wo="error",Ae=window.Vue.defineAsyncComponent,dP={[JT]:Ae(()=>b(()=>import("./Button.js"),__vite__mapDeps([59,60,1]))),[lp]:Ae(()=>b(()=>import("./Checkbox.js"),__vite__mapDeps([61,60,1]))),[ZT]:Ae(()=>b(()=>import("./Custom.js"),__vite__mapDeps([62,60,1]))),[QT]:Ae(()=>b(()=>import("./Date.js"),__vite__mapDeps([63,60,1]))),[XT]:Ae(()=>b(()=>import("./Email.js"),__vite__mapDeps([64,60,1]))),[eP]:Ae(()=>b(()=>import("./File.js"),__vite__mapDeps([65,60,1]))),[tP]:Ae(()=>b(()=>import("./Hidden.js"),__vite__mapDeps([66,60,1]))),[nP]:Ae(()=>b(()=>import("./Number.js"),__vite__mapDeps([67,60,1]))),[sP]:Ae(()=>b(()=>import("./Password.js"),__vite__mapDeps([68,60,1]))),[oP]:Ae(()=>b(()=>import("./Radio.js"),__vite__mapDeps([69,60,1]))),[rP]:Ae(()=>b(()=>import("./Select.js"),__vite__mapDeps([70,60,1]))),[iP]:Ae(()=>b(()=>import("./Submit.js"),__vite__mapDeps([71,60,1]))),[aP]:Ae(()=>b(()=>import("./Text.js"),__vite__mapDeps([72,60,1]))),[lP]:Ae(()=>b(()=>import("./Textarea.js"),__vite__mapDeps([73,60,1]))),[cP]:Ae(()=>b(()=>import("./Time.js"),__vite__mapDeps([74,60,1])))},uP={name:"CmmsForm",props:{form:{type:Object,required:!0,default:qT},targetUrl:{type:String,default:null}},data(){return{abortController:new AbortController,errorFields:[],formData:{},nonce:null,status:Gi,uploadProgress:0,submitSuccessMessage:null,submitErrorMessage:null,skipElementWatch:!0}},computed:{elements(){const e=[];return this.form.elements.constructor!==Array||(this.skipElementWatch=!0,this.form.elements.forEac
2h(t=>{var s,r,o;let n=!1;(r=(s=t.conditions)==null?void 0:s.show)!=null&&r.length&&t.conditions.show.forEach(i=>{i.equals&&this.formData[i.id]!==i.equals&&(n=!0)}),(o=t.conditions)!=null&&o.required&&!t.required&&t.conditions.required.forEach(i=>{i.equals&&this.formData[i.id]===i.equals&&(t.required=!0)}),n||e.push(Object.assign({},KT,t))}),this.$nextTick(()=>{this.skipElementWatch=!1})),e},isDone(){return this.status===qd},isErrored(){return this.status===Wo},isSending(){return this.status===Yi||this.status===Wi},isUploading(){return this.status===Wi},errorMessage(){return this.submitErrorMessage?this.submitErrorMessage:"Ein Fehler ist aufgetreten, bitte versuchen Sie es noch einmal und prüfen Sie Ihre Eingaben."},successMessage(){return this.submitSuccessMessage?this.submitSuccessMessage:"Ihre Daten wurden erfolgreich übermittelt"}},watch:{elements:{deep:!0,handler(){this.skipElementWatch||this.updateFormDataBase()}}},methods:{abort(){this.abortController.abort(),this.status=Gi},elementComponent(e){return dP[e.type]||!1},elementHasError(e){return this.errorFields[e]},getNonce(){Xs.post("/cmms-api/v3/contact_form/get_nonce/",{form_id:this.form.identifier}).then(({nonce:e})=>{e&&(this.nonce=e)}).catch(()=>{console.error("[CmmsForm] Could not retrieve nonce"),this.status=Wo})},retry(){this.status=Gi,this.getNonce()},submit(){this.uploadProgress=0,this.status=Yi,this.submitSuccessMessage=this.submitErrorMessage=null;const e=new FormData;for(const t in this.formData)this.formData[t]!==null&&e.append(t,this.formData[t]);e.append("nonce","".concat(this.form.identifier,".").concat(this.nonce)),Xs.request({data:e,method:this.form.method,onUploadStart:()=>{this.status=Wi},onUploadProgress:(t,n)=>{const s=t/n;s>=1?(this.status=Yi,this.uploadProgress=0):this.uploadProgress=s},signal:this.abortController.signal,url:this.form.action}).then(({success:t,successMessage:n,errors:s,errorMessage:r})=>{t?(this.targetUrl&&yt.push(this.targetUrl),this.status=qd,n&&(this.submitSuccessMessage=n)):(this.status=Wo,this.errorFields=s||[],this.submitErrorMessage=r)}).catch(t=>{console.error("[CmmsForm] Could not submit data",t),this.status=Wo}).finally(()=>{this.$emit("form-sent",this.status,this.formData)}),this.nonce=null},updateFormDataBase(){const e=[];this.elements.forEach(t=>{var n,s;t.id&&(e.push(t.id),t.type===lp?this.formData[t.id]=(n=t.checked)!=null?n:!1:this.formData[t.id]=(s=t.value)!=null?s:null)}),Object.keys(this.formData).forEach(t=>{e.includes(t)||delete this.formData[t]})}},beforeMount(){this.updateFormDataBase()},mounted(){this.getNonce()}},He=window.Vue.createElementVNode,hP=window.Vue.normalizeStyle,Kd=window.Vue.normalizeClass,qi=window.Vue.withModifiers,qt=window.Vue.openBlock,pn=window.Vue.createElementBlock;window.Vue.createCommentVNode;const pP=window.Vue.toDisplayString,_P=window.Vue.renderList,mP=window.Vue.Fragment,fP=window.Vue.resolveDynamicComponent,wP=window.Vue.createBlock,gP={key:0,class:"cmms_form --sending"},yP={key:1,class:"cmms_form --error"},vP=["innerHTML"],bP={key:2,class:"cmms_form --success"},EP={key:0},kP=["innerHTML"];function CP(e,t,n,s,r,o){return o.isSending?(qt(),pn("div",gP,[t[4]||(t[4]=He("p",null,"Bitte warten, Ihre Daten werden übermittelt",-1)),He("div",{class:Kd(["cmms_form__sending__progress",o.isUploading?"--uploading":""])},[He("div",{class:"cmms_form__sending__progress__bar",style:hP({width:"".concat(r.uploadProgress*100,"%")})},null,4)],2),He("p",null,[He("span",{class:"button",onClick:t[0]||(t[0]=qi((...i)=>o.abort&&o.abort(...i),["stop"]))},[...t[3]||(t[3]=[He("span",{class:"button__label"},[He("span",{class:"button__text"},"Abbrechen")],-1)])])])])):o.isErrored?(qt(),pn("div",yP,[He("p",{innerHTML:o.errorMessage},null,8,vP),He("p",null,[He("span",{class:"button",onClick:t[1]||(t[1]=qi((...i)=>o.retry&&o.retry(...i),["stop"]))},[...t[5]||(t[5]=[He("span",{class:"button__label"},[He("span",{class:"button__text"},"Erneut versuchen")],-1)])])])])):o.isDone?(qt(),pn("div",bP,[r.submitSuccessMessage===null?(qt(),pn("p",EP,pP(o.successMessage),1)):(qt(),pn("div",{key:1,innerHTML:r.submitSuccessMessage},null,8,kP))])):(qt(),pn("form",{key:3,class:"idvl-contactform cmms_form",onSubmit:t[2]||(t[2]=qi((...i)=>o.submit&&o.submit(...i),["prevent"]))},[(qt(!0),pn(mP,null,_P(o.elements,i=>{var a;
2return qt(),wP(fP(o.elementComponent(i)),{key:i.id,element:i,class:Kd((a=i==null?void 0:i.attributes)==null?void 0:a.class),error:o.elementHasError(i.id),disabled:!r.nonce||i.protected,modelValue:r.formData[i.id],"onUpdate:modelValue":l=>r.formData[i.id]=l},null,8,["element","class","error","disabled","modelValue","onUpdate:modelValue"])}),128))],32))}const SP=y(uP,[["render",CP]]),AP={name:"Profile",components:{SsoLogin:WT,CmmsForm:SP},data(){return{profileFormData:null}},computed:{...fe("sso",["auth","logoutUrl","userName","userMail","userNameReadable","userData"])},methods:{profileFormSubmitted:function(e,t){this.fetchProfileForm(),eo().getAuthData()},fetchProfileForm:function(){this.profileFormData=null,Xs.get("/cmms-api/v3/badenfm/profile/form/").then(e=>{this.profileFormData=e.form}).catch(e=>{})}},mounted(){this.auth&&this.fetchProfileForm()},watch:{auth:function(e,t){t===!1&&e===!0&&this.fetchProfileForm()}}},Jd=window.Vue.resolveComponent,VP=window.Vue.createVNode,Ki=window.Vue.createElementVNode,Ji=window.Vue.openBlock,TP=window.Vue.createBlock,Zd=window.Vue.createCommentVNode,Qd=window.Vue.createElementBlock,PP={class:"element badenfm profile"},$P={key:0,class:"element soylent form"};function DP(e,t,n,s,r,o){const i=Jd("SsoLogin"),a=Jd("CmmsForm");return Ji(),Qd("div",PP,[VP(i),e.auth?(Ji(),Qd("div",$P,[t[0]||(t[0]=Ki("h3",null,"Profileinstellungen",-1)),r.profileFormData?(Ji(),TP(a,{key:0,class:"--background",form:r.profileFormData,onFormSent:o.profileFormSubmitted},null,8,["form","onFormSent"])):Zd("",!0),t[1]||(t[1]=Ki("br",null,null,-1)),t[2]||(t[2]=Ki("p",null,"Die Daten werden genutzt, um Formulare automatisch auszufüllen.",-1))])):Zd("",!0)])}const NP=y(AP,[["render",DP]]),Zi=window.Vue.unref,Qi=window.Vue.openBlock,Xi=window.Vue.createElementBlock;window.Vue.createCommentVNode;const Xd=window.Vue.createElementVNode,IP=window.Vue.toDisplayString,BP={class:"author"},OP={class:"author__media"},xP=["src"],RP={key:1,class:"author__media__icon iconSet"},MP={class:"author__name"},eu=window.Vue.ref,Ja={__name:"Author",props:{author:{type:Object,default:null}},setup(e){const t=e;let n=eu(t.author&&t.author.image?window.cmms_thumbs_base+"495x/".concat(t.author.image.media_id,".webp"):null),s=eu(t.author&&t.author.first_name?t.author.first_name+" "+t.author.last_name:"");return(r,o)=>(Qi(),Xi("span",BP,[Xd("span",OP,[Zi(n)?(Qi(),Xi("img",{key:0,alt:"",class:"author__media__image",src:Zi(n)},null,8,xP)):(Qi(),Xi("span",RP,"account_circle"))]),Xd("span",MP,IP(Zi(s)),1)]))}},LP={name:"ZoneLabel"},zP=window.Vue.openBlock,FP=window.Vue.createElementBlock,UP={class:"zone-label"};function jP(e,t,n,s,r,o){return zP(),FP("span",UP,"Anzeige")}const cp=y(LP,[["render",jP]]),HP={name:"Date",props:["date"]},GP=window.Vue.createElementVNode,YP=window.Vue.toDisplayString,WP=window.Vue.createTextVNode,qP=window.Vue.openBlock,KP=window.Vue.createElementBlock,JP={class:"date"};function ZP(e,t,n,s,r,o){return qP(),KP("span",JP,[t[0]||(t[0]=GP("span",{class:"iconSet"},"today",-1)),WP(" "+YP(n.date),1)])}const Za=y(HP,[["render",ZP]]),QP={name:"MetaPost",components:{Date:Za,ZoneLabel:cp,Author:Ja},props:["meta"],computed:{}},ea=window.Vue.resolveComponent,tu=window.Vue.createVNode,nu=window.Vue.openBlock,XP=window.Vue.createBlock,e$=window.Vue.createCommentVNode,t$=window.Vue.createElementBlock,n$={class:"meta-post"};function s$(e,t,n,s,r,o){const i=ea("Author"),a=ea("Date"),l=ea("ZoneLabel");return nu(),t$("div",n$,[tu(i,{author:n.meta.author},null,8,["author"]),tu(a,{date:n.meta.date},null,8,["date"]),n.meta.show_ad_label?(nu(),XP(l,{key:0})):e$("",!0)])}const o$=y(QP,[["render",s$]]),r$={name:"MetaMedia",components:{ZoneLabel:cp,Date:Za,Author:Ja},props:["meta","duration"]},ta=window.Vue.resolveComponent,su=window.Vue.createVNode,i$=window.Vue.createElementVNode,a$=window.Vue.toDisplayString,l$=window.Vue.createTextVNode,na=window.Vue.openBlock,ou=window.Vue.createElementBlock,ru=window.Vue.createCommentVNode,c$=window.Vue.createBlock,d$={class:"meta-media"},u$={key:0,class:"duration"};function h$(e,t,n,s,r,o){const i=ta("Author"),a=ta("Date"),l=ta("ZoneLabel");return na(),ou("div",d$,[su(i,{author:n.meta.author},null,8,["author"]),su(a,{date:n.meta.date},null,8,["date"]),n.duration?(na(),ou("span",u$,[t[0]||(t[0]=i$("span",{class:"iconSet"},"play_circle_outline",-1)),l$(" "+a$(n.duration),1)])):ru("",!0),n.meta.show_ad_label?(na(),c$(l,{key:1})):ru("",!0)])}const p$=y(r$,[["render",h$]]),_$=window.Vue.defineAsyncComponent,m$={name:"MetaEvent",props:["meta"],components:{EventMeta:_$(()=>b(()=>import("./EventMeta.js"),__vite__mapDeps([4,1])))},computed:{eventMeta(){return{type:"soylent",subtype:"eventMeta",data:{event:this.meta}}}}}
2,f$=window.Vue.resolveComponent,w$=window.Vue.createVNode,g$=window.Vue.openBlock,y$=window.Vue.createElementBlock,v$={class:"meta-event"};function b$(e,t,n,s,r,o){const i=f$("EventMeta");return g$(),y$("div",v$,[w$(i,{element:o.eventMeta},null,8,["element"])])}const E$=y(m$,[["render",b$]]),k$={name:"MetaJob",components:{Date:Za},props:["meta"]},C$=window.Vue.resolveComponent,S$=window.Vue.createVNode,A$=window.Vue.openBlock,V$=window.Vue.createElementBlock,T$={class:"meta-job"};function P$(e,t,n,s,r,o){const i=C$("Date");return A$(),V$("div",T$,[S$(i,{date:n.meta.date},null,8,["date"])])}const $$=y(k$,[["render",P$]]),D$={name:"DetailOpener",components:{MetaJob:$$,MetaEvent:E$,MetaMedia:p$,MetaPost:o$,CmmsThumbnail:Ka,CmmsPlayer:Ba},props:["element"],computed:{imageDescription(){return console.log("image description",this.element.data),this.element&&"image_description"in this.element.data?this.element.data.image_description:""},post(){return this.element.data.post},meta(){return this.element.data.post_meta},eventMeta(){return"event_meta"in this.element.data?this.element.data.event_meta:null},isVideo:function(){return"type"in this.post&&this.post.type==="video"},elementForCmmsPlayer(){let e={data:{media_data:{model:{}}}};return e.data.media_data.model=this.post,e}}},Gn=window.Vue.resolveComponent,mt=window.Vue.openBlock,zs=window.Vue.createBlock,Yn=window.Vue.createCommentVNode,N$=window.Vue.createVNode,Fs=window.Vue.createElementBlock,sa=window.Vue.toDisplayString,oa=window.Vue.createElementVNode,I$={key:0,class:"element badenfm detail-opener"},B$={key:1,class:"detail-opener__media"},O$=["innerHTML"],x$={class:"detail-opener__content"},R$={key:0,class:"detail-opener__kicker"},M$={class:"detail-opener__title"},L$={class:"detail-opener__meta"},z$={key:1,class:"detail-opener__teaser"};function F$(e,t,n,s,r,o){const i=Gn("CmmsPlayer"),a=Gn("CmmsThumbnail"),l=Gn("MetaPost"),c=Gn("MetaMedia"),d=Gn("MetaJob"),u=Gn("MetaEvent");return o.post?(mt(),Fs("div",I$,[o.isVideo?(mt(),zs(i,{key:0,class:"detail-opener__media",element:o.elementForCmmsPlayer},null,8,["element"])):o.post.image?(mt(),Fs("div",B$,[N$(a,{image:o.post.image},null,8,["image"]),o.post.image_description!==""?(mt(),Fs("div",{key:0,class:"detail-opener__media__description",innerHTML:o.post.image_description},null,8,O$)):Yn("",!0)])):Yn("",!0),oa("div",x$,[o.post.kicker?(mt(),Fs("div",R$,sa(o.post.kicker),1)):Yn("",!0),oa("h1",M$,sa(o.post.title),1),oa("div",L$,[o.post.post_type==="post"?(mt(),zs(l,{key:0,meta:o.meta},null,8,["meta"])):o.post.post_type==="cmms_media"?(mt(),zs(c,{key:1,meta:o.meta,duration:o.post.duration},null,8,["meta","duration"])):o.post.post_type==="idvl_jobs"?(mt(),zs(d,{key:2,meta:o.meta},null,8,["meta"])):o.post.post_type==="event"?(mt(),zs(u,{key:3,meta:o.eventMeta},null,8,["meta"])):Yn("",!0)]),o.post.teaser?(mt(),Fs("div",z$,sa(o.post.teaser),1)):Yn("",!0)])])):Yn("",!0)}const U$=y(D$,[["render",F$]]),j$={name:"PremiumIcon"},qo=window.Vue.createElementVNode,H$=window.Vue.openBlock,G$=window.Vue.createElementBlock,Y$={class:"premium-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 322.2412 49.2564"};function W$(e,t,n,s,r,o){return H$(),G$("svg",Y$,[...t[0]||(t[0]=[qo("path",{fill:"currentColor",d:"M71.2625,34.96a2.4346,2.4346,0,0,1-1.768,2.479c-1.332.513-3.933.774-7.728.774H54.46a9.1992,9.1992,0,0,1-4.425-.784,2.7378,2.7378,0,0,1-1.187-2.59v-.907a2.8341,2.8341,0,0,1,1.182-2.709c.602-.349,2.068-.764,5.627-.764h7.038c3.396,0,5.734.273,6.947.813a2.5432,2.5432,0,0,1,1.621,2.612Zm0,7.39h5.343V25.3114c0-3.632-1.045-6.209-3.105-7.659-2.03-1.443-5.495-2.147-10.589-2.147h-7.211c-4.076,0-6.861.567-8.513,1.732a6.1051,6.1051,0,0,0-2.542,5.313v1.817h5.342v-1.158a2.6822,2.6822,0,0,1,1.015-2.43c.51-.34,1.775-.745,4.918-.745h7.064c3.342,0,5.602.344,6.72,1.024,1.049.637,1.558,1.827,1.558,3.635v3.499c-1.47-1.5-4.193-2.262-8.153-2.262H55.56c-4.979,0-8.148.536-9.686,1.638-1.571,1.107-2.368,2.969-2.368,5.534v1.515c0,2.707.684,4.764,2.034,6.113,1.351,1.335,3.529,2.012,6.477,2.012h11.312a22.3847,22.3847,0,0,0,5.714-.533,4.6754,4.6754,0,0,0,2.22-1.458Zm37.524-15.981a1.3827,1.3827,0,0,0-.02.178v4.766c0,2.682-.6,4.494-1.783,5.384-1.226.926-3.137,1.395-5.677,1.395h-3.569v.006h-4.324c-2.528,0-4.429-.466-5.648-1.386-1.177-.887-1.772-2.688-1.772-5.356v-4.744c0-2.551.554-4.318,1.649-5.253,1.12-.955,3.201-1.44,6.186-1.44h6.28c3.24,0,5.534.491,6.823,1.463,1.173.869,1.79,2.552,1.855,4.987m5.334,1.992h.022V4.8344h-5.344v12.96
2a5.1111,5.1111,0,0,0-1.954-1.48,14.2922,14.2922,0,0,0-5.662-.924h-6.157c-5.846,0-9.616.887-11.527,2.711-1.89,1.804-2.848,4.775-2.848,8.83v4.228c0,4.294,1.173,7.321,3.49,8.999,2.261,1.638,5.594,2.469,9.905,2.469h6.626c4.328,0,7.674-.834,9.946-2.479,2.324-1.683,3.503-4.721,3.503-9.033Zm9.915-2.447a8.0833,8.0833,0,0,1,1.202-4.066c.789-1.193,2.977-1.798,6.503-1.798h7.552c5.321,0,7.908,1.592,7.908,4.867v.997Zm28.507,8.666v-1.084h-.522l-4.3.008-.496.001-.023.495a3.9842,3.9842,0,0,1-1.427,3.23c-.897.663-2.568,1-4.968,1h-7.109c-3.747,0-6.341-.503-7.71-1.492-1.315-.965-1.983-2.692-1.983-5.129v-1.166h28.538v-3.332c0-4.055-1.122-7.035-3.34-8.857-2.187-1.813-5.613-2.733-10.18-2.733h-8.161c-4.257,0-7.387.938-9.305,2.786-1.921,1.834-2.896,4.6-2.896,8.217v5.279c0,3.839,1.015,6.659,3.016,8.384,1.996,1.706,5.208,2.57,9.552,2.57h8.112c8.761,0,13.202-2.752,13.202-8.177m32.23,8.184h5.343v-17.65c0-6.102-3.807-9.195-11.318-9.195h-6.399c-3.397.05-5.774.461-7.28,1.258a7.5275,7.5275,0,0,0-2.63,2.424V16.31h-5.081v26.454h5.342V27.6024c0-2.792.781-4.691,2.319-5.644,1.62-1.002,4.725-1.511,9.231-1.511h1.711c3.182,0,5.487.396,6.85,1.178,1.27.728,1.912,2.294,1.912,4.657Zm27.389-21.954h12.119v-4.528h-12.119v-2.586c0-2.616,1.326-3.833,4.168-3.833l7.429-.007h.522V5.3354h-8.462c-5.973,0-9,3.127-9,9.293v28.108h5.343Zm71.303,22.017V25.3734a8.3659,8.3659,0,0,0-3.131-6.96c-2.022-1.612-4.886-2.432-8.506-2.432h-5.523c-4.628,0-7.794,1.388-9.46,4.101-1.515-2.714-4.247-4.101-8.155-4.101h-7.058c-3.527,0-6.093.852-7.687,2.504v-2.113h-5.083v26.455h5.343V26.3444a5.229,5.229,0,0,1,1.774-4.361c1.211-.977,3.086-1.473,5.574-1.473h4.372c3.263,0,5.455.63,6.521,1.871.692.824,1.047,2.341,1.047,4.501v15.945h5.343V27.3944c0-2.338.524-4.047,1.559-5.081,1.195-1.196,3.406-1.803,6.569-1.803h2.321c3.029,0,5.215.342,6.502,1.016,1.574.794,2.334,2.258,2.334,4.476v16.825Z"},null,-1),qo("path",{d:"M33.257,32.8814a4.7349,4.7349,0,0,1-1.149,3.199,3.6131,3.6131,0,0,1-2.813,1.354H10.133A3.6083,3.6083,0,0,1,7.321,36.08a4.74,4.74,0,0,1-1.149-3.199V22.8764a1.4653,1.4653,0,0,1,1.609-1.611H29.295a3.6162,3.6162,0,0,1,2.813,1.354,4.7367,4.7367,0,0,1,1.149,3.199Zm3.238,6.813a8.9625,8.9625,0,0,0,2.933-6.817v-7.052a9.8516,9.8516,0,0,0-2.973-7.15,9.77,9.77,0,0,0-7.172-2.997H7.781c-.601,0-1.609-.285-1.609-2.194V9.3814c0-1.327-.518-1.327-.741-1.327H.74c-.221,0-.74,0-.74,1.329v23.5a8.9575,8.9575,0,0,0,2.932,6.812,10.2354,10.2354,0,0,0,7.209,2.743H29.287a10.2243,10.2243,0,0,0,7.208-2.744m165.224,3.055h-6.506v6.507h6.506Z",fill:"#e3000f"},null,-1),qo("path",{d:"M306.2422,32A16,16,0,1,1,322.2412,16,16.0166,16.0166,0,0,1,306.2422,32Zm0-29.09A13.0911,13.0911,0,1,0,319.333,16,13.106,13.106,0,0,0,306.2422,2.9092Z",fill:"#e3000f"},null,-1),qo("polygon",{points:"313.992 14.358 307.886 14.358 307.886 8.25 304.6 8.25 304.6 14.358 298.493 14.358 298.493 17.643 304.6 17.643 304.6 23.75 307.886 23.75 307.886 17.643 313.992 17.643 313.992 14.358",fill:"#e3000f"},null,-1)])])}const dp=y(j$,[["render",W$]]),q$={name:"SubscriptionReminder",components:{PremiumIcon:dp,SoylentLink:Ie},computed:{profilePageUrl(){let e=null;try{e=window.soylent_settings.child_settings.header_pages.profile}catch(t){}return e}},methods:{...Ne("sso",["setRedirectPath"])},mounted(){this.setRedirectPath(window.location.pathname)}},iu=window.Vue.resolveComponent,K$=window.Vue.createVNode,au=window.Vue.createTextVNode,ra=window.Vue.createElementVNode,J$=window.Vue.withCtx,lu=window.Vue.openBlock,Z$=window.Vue.createBlock,Q$=window.Vue.createCommentVNode,X$=window.Vue.createElementBlock,eD={class:"element badenfm subscription-reminder"},tD={class:"subscription-reminder__headline"};function nD(e,t,n,s,r,o){const i=iu("PremiumIcon"),a=iu("SoylentLink");return lu(),X$("div",eD,[ra("span",tD,[t[0]||(t[0]=au("Jetzt anmelden und Zugriff auf alle ",-1)),K$(i),t[1]||(t[1]=au(" Inhalte erhalten.",-1))]),o.profilePageUrl?(lu(),Z$(a,{key:0,url:o.profilePageUrl,class:"button"},{default:J$(()=>[...t[2]||(t[2]=[ra("span",{class:"button__label"},[ra("span",{class:"button__text"},"Anmelden")],-1)])]),_:1},8,["url"])):Q$("",!0)])}const sD=y(q$,[["render",nD]]);class oD{constructor(){console.debug("[PlayerSourceFilter] Init PlayerSourceFilter"),hs.on(La,this.filter.bind(this))}filter(t){const n=t.includes("?")?"&":"?";return t="".concat(t).concat(n,"aw_0_req.gdpr=").concat(this.getAdsWizzConsent()),this.getCrossplan()&&(console.debug("[PlayerSourceFilter] Callback `appendCrossplan`"),t+=this.getCrossplan()),t}getAdsWizzConsent(){return window.adsWizzConsent===!0?"true":"false"}getCrossplan(){return"cpd_configdata"in window&&"url"in window.cpd_configdata?window.cpd_configdata.url:!1}}const rD={name:"SocialIcon",props:{type:{Type:String,Default:"facebook"}}},Xe=window.Vue.createElementVNode,et=window.Vue.openBlock,tt=window.Vue.createElementBlock,iD=window.Vue.createCommentVNode,aD={key:0,id:"facebook",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"100px",height:"100px",viewBox:"0 0 100 100","xml:space":"preserve"},lD={key:1,xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"100px",height:"100px",viewBox:"0 0 100 100","xml:space":"preserve"},cD={key:2,xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"100px",height:"100px",viewBox:"0 0 100 100",style:{"enable-background":"new 0 0 100 100"},"xml:space":"preserve"},dD={key:3,xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"100px",height:"100px",viewBox:"0 0 100 100",style:{"enable-background":"new 0 0 100 100"},"xml:space":"preserve"},uD={key:4,xmlns:"http://www.w3.org/2000/svg",style:{isolation:"isolate"},viewBox:"0 0 100 100",width:"100",height:"100"},hD={key:5,xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"100px",height:"100px",viewBox:"0 0 100 100","enable-background":"new 0 0 100 100","xml:space":"preserve"},pD={key:6,xmlns:"http://www.w3.org/2000/svg",style:{isolation:"isolate"},viewBox:"0 0 100 100",width:"100pt",height:"100pt"},_D={key:7,xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"100px",height:"100px",viewBox:"0 0 100 100","xml:space":"preserve"},mD={key:8,xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"100px",height:"100px",viewBox:"0 0 100 100","xml:space":"preserve"},fD={key:9,xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"100px",height:"100px",viewBox:"0 0 100 100","xml:space":"preserve"},wD={key:10,xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"100px",height:"100px",viewBox:"0 0 100 100","xml:space":"preserve"};function gD(e,t,n,s,r,o){return n.type==="facebook"?(et(),tt("svg",aD,[...t[0]||(t[0]=[Xe("path",{fill:"currentColor",d:"M38.1,100V53.1H25.7V36.2h12.4c0,0,0-6.9,0-14.4C38.1,10.4,45.4,0,62.3,0c6.8,0,11.9,0.7,11.9,0.7l-0.4,15.8 c0,0-5.2,0-10.8,0c-6.1,0-7.1,2.8-7.1,7.5c0,3.7,0-7.8,0,12.3h18.3l-0.8,16.9H56V100H38.1z"},null,-1)])])):n.type==="instagram"?(et(),tt("svg",lD,[...t[1]||(t[1]=[Xe("path",{fill:"currentColor",class:"st0",d:"M88.5,42.3h-8.7c0.6,2.5,1,5,1,7.7C80.8,67,67,80.8,50,80.8C33,80.8,19.2,67,19.2,50c0-2.7,0.4-5.2,1-7.7h-8.7 v42.3c0,2.1,1.7,3.8,3.8,3.8h69.2c2.1,0,3.8-1.7,3.8-3.8V42.3z M88.5,15.4c0-2.1-1.7-3.8-3.8-3.8H73.1c-2.1,0-3.8,1.7-3.8,3.8v11.5 c0,2.1,1.7,3.8,3.8,3.8h11.5c2.1,0,3.8-1.7,3.8-3.8V15.4z M50,30.8c-10.6,0-19.2,8.6-19.2,19.2c0,10.6,8.6,19.2,19.2,19.2 c10.6,0,19.2-8.6,19.2-19.2C69.2,39.4,60.6,30.8,50,30.8 M88.5,100H11.5C5.2,100,0,94.8,0,88.5V11.5C0,5.2,5.2,0,11.5,0h76.9 C94.8,0,100,5.2,100,11.5v76.9C100,94.8,94.8,100,88.5,100"},null,-1)])])):n.type==="mail"?(et(),tt("svg",cD,[...t[2]||(t[2]=[Xe("path",{fill:"currentColor",d:"M100,80c0,3-1,4-4,4H4c-3,0-4-1-4-4V20c0-2,2-4,4-4h92c3,0,4,1,4,4V80z M92,24c-1-1-3-1-4,0L50,52L12,24c-1-1-3-1-4,0l0,0 c-1,1-1,3,0,4l42,40l42-40C93,27,93,25,92,24L92,24z"},null,-1)])])):n.type==="phone"?(et(),tt("svg",dD,[...t[3]||(t[3]=[Xe("path",{fill:"currentColor",d:"M26.6,4.9c-1.9-5.2-4-4.5-5.5-4.5S18,0.1,16.4,0C14.7-0.1,12,0.5,9.6,3C7.2,5.5,0.5,11.4,0,24.1 c-0.5,12.7,8.1,25.3,9.3,27c1.2,1.8,16.3,29.2,41.4,40.6c25.1,11.3,25.2,7.9,29.8,7.6c4.6-0.2,15-5.7,17.4-11.6 c2.3-5.9,2.5-11.1,1.9-12.2c-0.6-1.1-2.2-1.8-4.7-3.2c-2.5-1.4-14.5-8.1-16.8-9c-2.3-0.9-3.9-1.4-5.7,1.1c-1.8,2.5-6.8,8.1-8.3,9.8 c-1.5,1.7-3,1.8-5.5,0.4c-2.5-1.4-10.4-4.4-19.7-13.6c-7.2-7.1-11.9-15.7-13.3-18.4c-1.4-2.6,0-4,1.3-5.2c1.2-1.1,2.6-2.9,3.9-4.4 c1.3-1.5,1.8-2.5,2.7-4.2c0.9-1.7,0.5-3.2,0-4.5C33.1,23,28.5,10.2,26.6,4.9z"},null,-1)])])):n.type==="skype"?(et(),tt("svg",uD,[...t[4]||(t[4]=[Xe("path",{fill:"currentColor",d:" M 95.781 58.192 C 101.436 25.837 73.215 -1.859 41.398 4.112 C 17.143 -10.725 -10.698 17.554 4.168 41.733 C -1.611 74.013 26.602 102.067 58.681 95.942 C 82.981 110.675 110.736 82.359 95.781 58.192 Z M 51.602 82.738 C 38.348 82.738 25.027 76.704 25.093 66.317 C 25.114 63.183 27.443 60.308 30.548 60.308 C 38.352 60.308 38.277 71.954 50.702 71.954 C 59.423 71.954 62.398 67.179 62.398 63.854 C 62.398 51.829 24.718 59.2 24.718 36.592 C 24.718 24.35 34.727 15.917 50.464 16.837 C 65.473 17.725 74.269 24.35 75.119 30.542 C 75.54 34.587 72.86 37.737 68.206 37.737 C 61.423 37.737 60.727 28.65 49.039 28.65 C 43.764 28.65 39.314 30.85 39.314 35.625 C 39.314 45.604 76.773 39.812 76.773 61.775 C 76.769 74.438 66.677 82.738 51.602 82.738 Z "},null,-1)])])):n.type==="snapchat"?(et(),tt("svg",hD,[...t[5]||(t[5]=[Xe("path",{fill:"currentColor",d:"M50.63,96.941c-0.283,0-0.554-0.012-0.76-0.021c-0.163,0.014-0.332,0.021-0.5,0.021c-5.955,0-9.936-2.816-13.449-5.301 c-2.518-1.779-4.893-3.459-7.675-3.922c-1.366-0.227-2.726-0.342-4.039-0.342c-2.366,0-4.236,0.367-5.602,0.635 c-0.84,0.164-1.565,0.305-2.125,0.305c-0.586,0-1.299-0.131-1.596-1.145c-0.235-0.799-0.404-1.574-0.567-2.32 c-0.407-1.865-0.703-3.004-1.401-3.111c-7.468-1.152-11.88-2.85-12.759-4.904c-0.089-0.205-0.142-0.426-0.155-0.648 c-0.034-0.611,0.398-1.15,1.002-1.25c5.931-0.977,11.204-4.111,15.674-9.32c3.463-4.033,5.163-7.885,5.346-8.311 c0.008-0.02,0.017-0.039,0.027-0.057c0.862-1.75,1.033-3.26,0.511-4.49c-0.962-2.269-4.149-3.28-6.258-3.949 c-0.524-0.166-1.021-0.323-1.416-0.479c-1.869-0.738-4.943-2.298-4.533-4.451c0.298-1.57,2.375-2.664,4.053-2.664 c0.466,0,0.879,0.082,1.227,0.245c1.896,0.888,3.603,1.339,5.069,1.339c1.825,0,2.706-0.695,2.919-0.892 c-0.055-0.997-0.116-1.993-0.18-2.989c-0.429-6.813-0.963-15.293,1.206-20.155C31.142,4.21,44.909,3.078,48.972,3.078 c0.671-0.005,1.341-0.012,2.012-0.019c4.074,0,17.87,1.133,24.365,15.697c2.169,4.866,1.635,13.352,1.205,20.173l-0.021,0.326 c-0.059,0.926-0.113,1.803-0.159,2.652c0.201,0.185,1.008,0.822,2.648,0.886c1.398-0.054,3.006-0.502,4.775-1.331 c0.547-0.257,1.153-0.31,1.564-0.31c0.622,0,1.255,0.121,1.782,0.341l0.028,0.011c1.502,0.533,2.485,1.599,2.506,2.718 c0.02,1.043-0.756,2.603-4.57,4.109c-0.391,0.154-0.889,0.313
2-1.415,0.479c-2.11,0.67-5.294,1.68-6.257,3.948 c-0.522,1.23-0.351,2.74,0.512,4.488c0.009,0.02,0.018,0.037,0.026,0.059c0.266,0.621,6.688,15.268,21.021,17.629 c0.604,0.1,1.036,0.639,1.002,1.25c-0.014,0.227-0.067,0.447-0.158,0.654c-0.873,2.045-5.285,3.738-12.755,4.893 c-0.701,0.109-0.997,1.242-1.4,3.098c-0.167,0.766-0.337,1.516-0.569,2.305c-0.218,0.742-0.701,1.105-1.478,1.105h-0.117 c-0.506,0-1.222-0.092-2.125-0.268c-1.579-0.309-3.35-0.594-5.603-0.594c-1.313,0-2.672,0.115-4.039,0.342 c-2.779,0.463-5.154,2.139-7.668,3.916C60.566,94.125,56.584,96.941,50.63,96.941"},null,-1)])])):n.type==="telegram"?(et(),tt("svg",pD,[...t[6]||(t[6]=[Xe("path",{fill:"currentColor",d:" M 6.874 44.239 C 33.717 32.545 51.617 24.835 60.574 21.11 C 86.147 10.473 91.46 8.626 94.924 8.564 C 95.685 8.551 97.388 8.74 98.492 9.636 C 99.423 10.392 99.68 11.412 99.802 12.13 C 99.924 12.846 100.077 14.479 99.956 15.754 C 98.57 30.314 92.573 65.647 89.523 81.955 C 88.233 88.856 85.692 91.17 83.23 91.396 C 77.884 91.887 73.824 87.862 68.644 84.468 C 60.539 79.154 55.961 75.848 48.094 70.664 C 39.002 64.673 44.897 61.38 50.078 55.999 C 51.434 54.59 74.995 33.159 75.449 31.216 C 75.506 30.973 75.56 30.067 75.021 29.589 C 74.483 29.11 73.688 29.274 73.116 29.404 C 72.302 29.587 59.355 38.145 34.274 55.075 C 30.6 57.599 27.271 58.829 24.288 58.764 C 21 58.694 14.677 56.905 9.974 55.378 C 4.208 53.503 -0.376 52.512 0.024 49.328 C 0.231 47.67 2.514 45.974 6.874 44.239 Z "},null,-1)])])):n.type==="twitter"?(et(),tt("svg",_D,[...t[7]||(t[7]=[Xe("path",{fill:"currentColor",d:"M 59.309018,42.343176 95.735789,0 H 87.103811 L 55.474449,36.765984 30.212171,0 H 1.075124 L 39.276646,55.59668 1.075124,100 H 9.7075922 L 43.109013,61.173871 69.787829,100 H 98.924876 L 59.306898,42.343176 Z M 47.485669,56.086499 43.615059,50.550323 12.817991,6.4983977 h 13.258968 l 24.853592,35.5513103 3.87061,5.536176 32.306727,46.211257 H 73.84892 L 47.485669,56.088619 Z"},null,-1)])])):n.type==="whatsapp"?(et(),tt("svg",mD,[...t[8]||(t[8]=[Xe("path",{fill:"currentColor",d:"M50.5,0C23.6,0,1.8,21.8,1.8,48.7c0,9.2,2.6,17.8,7,25.2L0,100l27-8.6c7,3.9,15,6.1,23.5,6.1 c26.9,0,48.7-21.8,48.7-48.7C99.2,21.8,77.4,0,50.5,0z M50.5,89.3c-8.2,0-15.9-2.5-22.3-6.7l-15.6,5l5.1-15.1 C12.8,65.8,10,57.6,10,48.7C10,26.4,28.2,8.2,50.5,8.2c22.4,0,40.6,18.2,40.6,40.6C91.1,71.1,72.9,89.3,50.5,89.3z M73.4,59.8 c-1.2-0.7-7.2-3.9-8.3-4.4c-1.1-0.5-1.9-0.7-2.8,0.5c-0.9,1.2-3.4,3.9-4.1,4.7c-0.8,0.8-1.5,0.9-2.7,0.2c-1.2-0.7-5.2-2.1-9.8-6.5 c-3.6-3.4-5.9-7.6-6.6-8.9c-0.7-1.3,0-1.9,0.6-2.5c0.6-0.5,1.3-1.4,1.9-2.1c0.6-0.7,0.9-1.2,1.3-2c0.4-0.8,0.3-1.5,0-2.2 c-0.3-0.6-2.5-6.8-3.5-9.4s-2-2.2-2.7-2.2s-1.6-0.2-2.4-0.2c-0.8,0-2.2,0.2-3.4,1.4c-1.2,1.2-4.5,4.1-4.7,10.2 c-0.2,6.1,4,12.2,4.6,13c0.6,0.9,8.1,14.1,20.5,19.6c12.5,5.5,12.5,3.8,14.8,3.7c2.3-0.1,7.5-2.7,8.6-5.6c1.1-2.9,1.2-5.4,0.9-5.9 C75.4,60.8,74.6,60.4,73.4,59.8z"},null,-1)])])):n.type==="youtube"?(et(),tt("svg",fD,[...t[9]||(t[9]=[Xe("path",{fill:"currentColor",d:"M39.771,64.871V35.129L65.911,50L39.771,64.871z M97.917,25.771c-1.149-4.331-4.538-7.743-8.842-8.899 C81.275,14.767,50,14.767,50,14.767s-31.275,0-39.075,2.104c-4.305,1.157-7.692,4.568-8.844,8.899C-0.008,33.62-0.008,50-0.008,50 s0,16.38,2.089,24.229c1.152,4.33,4.539,7.743,8.844,8.901C18.725,85.233,50,85.233,50,85.233s31.275,0,39.075-2.103 c4.304-1.158,7.692-4.571,8.842-8.901C100.008,66.38,100.008,50,100.008,50S100.008,33.62,97.917,25.771"},null,-1)])])):n.type==="linkedin"?(et(),tt("svg",wD,[...t[10]||(t[10]=[Xe("path",{fill:"currentColor",d:"m7.5335 0c-4.0762 0-7.5335 3.2272-7.5335 7.1987v85.603c0 3.9762 2.2668 7.1987 6.343 7.1987h85.221c4.081 0 8.4356-3.2225 8.4356-7.1987v-85.603c0-3.9714-3.1642-7.1987-7.2451-7.1987zm13.895 12.5c4.9333 0 8.9286 3.9952 8.9286 8.9286 0 4.9333-3.9952 8.9286-8.9286 8.9286s-8.9286-3.9952-8.9286-8.9286c0-4.9333 3.9952-8.9286 8.9286-8.9286zm45.889 25c14.386 0 18.397 7.6344 18.397 21.782v26.432h-14.286v-23.828c0-6.3333-2.5307-11.886-8.445-11.886-7.181 0-10.603 4.8632-10.603 12.844v22.87h-14.286v-47.619h13.458v6.8639h0.14857c2.0524-3.7 8.1205-7.4591 15.616-7.4591zm-53.032 0.59524h14.286v47.619h-14.286z"},null,-1)])])):iD("",!0)}const yD=y(rD,[["render",gD]]),vD={name:"TeamShortcut",components:{SocialIcon:yD,CmmsResponsiveImage:be},props:{model:{type:Object,default:null}},computed:{image(){return this.model.image.media_id&&(parseInt(this.model.image.media_id)>0||this.model.image.media_id.length>1)?this.model.image:null},socialLinks(){const e=[];
2if(this.model.social_links)for(const t in this.model.social_links)this.model.social_links[t]&&e.push({type:t,target:this.model.social_links[t]});return e}}},ia=window.Vue.resolveComponent,Us=window.Vue.openBlock,cu=window.Vue.createBlock,du=window.Vue.createCommentVNode,Tt=window.Vue.createElementVNode,bD=window.Vue.renderList,ED=window.Vue.Fragment,aa=window.Vue.createElementBlock,uu=window.Vue.createVNode,hu=window.Vue.withModifiers,pu=window.Vue.toDisplayString,kD=window.Vue.normalizeClass,CD=window.Vue.withCtx,SD={class:"team-shortcut__image-wrap"},AD={class:"team-shortcut__image"},VD={class:"team-shortcut__overlay"},TD={class:"team-shortcut__social"},PD=["href"],$D={class:"team-shortcut__role"},DD={class:"team-shortcut__name"},ND={class:"team-shortcut__toprow"},ID=["href"];function BD(e,t,n,s,r,o){const i=ia("CmmsResponsiveImage"),a=ia("SocialIcon"),l=ia("router-link");return Us(),cu(l,{to:e.$routerLink(n.model.link),class:"team-shortcut"},{default:CD(()=>[Tt("div",SD,[Tt("div",AD,[o.image?(Us(),cu(i,{key:0,fill:!0,image:o.image},null,8,["image"])):du("",!0)])]),Tt("div",VD,[Tt("div",TD,[(Us(!0),aa(ED,null,bD(o.socialLinks,c=>(Us(),aa("a",{key:c.type,href:c.target,target:"_blank",onClick:t[0]||(t[0]=hu(()=>{},["stop"])),class:"team-shortcut__social__icon"},[uu(a,{type:c.type},null,8,["type"])],8,PD))),128))]),Tt("span",$D,pu(n.model.function),1),Tt("span",DD,pu(n.model.name),1)]),Tt("div",ND,[n.model.email?(Us(),aa("a",{key:0,href:"mailto:".concat(n.model.email),onClick:t[1]||(t[1]=hu(()=>{},["stop"])),class:"team-shortcut__toprow__icons --left"},[uu(a,{type:"mail",class:kD("team-shortcut__toprow__icons__icon")})],8,ID)):du("",!0),t[2]||(t[2]=Tt("span",{class:"team-shortcut__toprow__icons --right"},[Tt("span",{class:"iconSet team-shortcut__toprow__icons__icon"},"arrow_forward")],-1))])]),_:1},8,["to"])}const OD=y(vD,[["render",BD]]);class xD extends br{constructor(){super(...arguments);ge(this,"plusArticle",!1);ge(this,"author",null)}}const RD={name:"PostShortcut",components:{Author:Ja,PremiumIcon:dp,SoylentLink:Ie,CmmsResponsiveImage:be,CroppedText:Ot},data(){return{element:null}},props:{model:{type:br,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+this.$filters.padLeft(this.element.date.d);return(this.element.postType==="post"||this.element.postType==="cmms_media"||this.element.postType==="galerie")&&(e={mydate:this.element.date.m_short_txt+", "+this.$filters.padLeft(this.element.date.d)+" "+this.element.date.y}),e},duration(){return this.element.duration},getIcon(){let e=null;return this.element.postType==="cmms_media"?e="play_arrow":this.element.postType==="post"?e="notes":this.element.postType==="galerie"&&(e="collections"),e},isAction(){return this.element?this.element.isAction:!1},getUrl(){return this.element?this.element.url:""}},mounted(){this.element===null&&this.post!==null?(this.element=new xD,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.element.plusArticle=this.post.plus_article,this.element.author=this.post.author,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}},js=window.Vue.resolveComponent,Ge=window.Vue.openBlock,Ko=window.Vue.createBlock,nt=window.Vue.createCommentVNode,Kt=window.Vue.createElementBlock,Jo=window.Vue.toDisplayString,_u=window.Vue.createElementVNode,MD=window.Vue.createTextVNode,LD=window.Vue.createVNode,zD=window.Vue.normalizeClass,FD=window.Vue.withCtx,UD={key:0,class:"post-shortcut__thumbnail"},jD={key:1,class:"post-shortcut__entry"},HD={key:0,class:"post-shortcut__category"},GD={class:"post-shortcut__entry__title"},YD={key:1,class:"post-shortcut__zone-label"},WD={key:2,class:"post-shortcut__entry__meta"},qD={key:1,class:"post-shortcut__entry__meta__label"},KD={key:0,class:"post-shortcut__entry__meta__label__text"},JD={key:0};function ZD(e,t,n,s,r,o){const i=js("CmmsResponsiveImage"),a=js("PremiumIcon"),l=js("Author"),c=js("CroppedText"),d=js("soylent-link");return Ge(),Ko(d,{class:zD(["post-shortcut",n.addActionClass?"--action":""]),url:o.getUrl},{default:FD(()=>
2[r.element?(Ge(),Kt("span",UD,[r.element.image?(Ge(),Ko(i,{key:0,image:r.element.image,fill:!0},null,8,["image"])):nt("",!0),r.element.plusArticle?(Ge(),Ko(a,{key:1})):nt("",!0)])):nt("",!0),r.element?(Ge(),Kt("span",jD,[!o.isAction&&r.element.category&&n.showCategory?(Ge(),Kt("span",HD,Jo(r.element.category),1)):nt("",!0),_u("span",GD,Jo(r.element.title),1),r.element.isAd?(Ge(),Kt("span",YD,"Anzeige")):nt("",!0),o.isAction&&r.element.isAd||!o.isAction&&o.getDate?(Ge(),Kt("span",WD,[r.element.author?(Ge(),Ko(l,{key:0,author:r.element.author},null,8,["author"])):nt("",!0),o.isAction?nt("",!0):(Ge(),Kt("span",qD,[t[0]||(t[0]=_u("span",{class:"post-shortcut__entry__meta__label__icon iconSet"},"today",-1)),o.getDate?(Ge(),Kt("span",KD,[MD(Jo(o.getDate.mydate),1),o.duration?(Ge(),Kt("span",JD," · "+Jo(o.duration),1)):nt("",!0)])):nt("",!0)]))])):nt("",!0),LD(c,{tag:"span",class:"post-shortcut__entry__description",text:r.element.excerpt,lines:2},null,8,["text"])])):nt("",!0)]),_:1},8,["class","url"])}const QD=y(RD,[["render",ZD]]),XD={name:"JobShortcut",components:{CmmsResponsiveImage:be,CroppedText:Ot},props:{model:{type:Object,default:null}},computed:{image(){return this.model.image&&(parseInt(this.model.image.media_id)>0||this.model.image.media_id.length>1)?this.model.image:this.model.company_logo?this.model.company_logo:null},logoContain(){return!this.model.image},teaserClass(){let e=["job-shortcut"];return this.model.audio&&e.push("--has-media"),e}}},mu=window.Vue.resolveComponent,Zo=window.Vue.openBlock,fu=window.Vue.createBlock,la=window.Vue.createCommentVNode,_n=window.Vue.createElementVNode,wu=window.Vue.toDisplayString,gu=window.Vue.createElementBlock,e3=window.Vue.normalizeClass,t3=window.Vue.withCtx,n3={class:"job-shortcut__thumbnail"},s3={class:"job-shortcut__entry"},o3={key:0,class:"job-shortcut__entry__title"},r3={class:"job-shortcut__entry__title__label"},i3={class:"job-shortcut__entry__meta"},a3={key:0,class:"job-shortcut__entry__meta__item"},l3={class:"job-shortcut__entry__meta__item__label"};function c3(e,t,n,s,r,o){const i=mu("CmmsResponsiveImage"),a=mu("router-link");return Zo(),fu(a,{href:n.model.url,to:e.$routerLink(n.model.url),class:e3(o.teaserClass)},{default:t3(()=>[_n("span",n3,[o.image?(Zo(),fu(i,{key:0,image:o.image,contain:o.logoContain},null,8,["image","contain"])):la("",!0)]),_n("span",s3,[n.model.title?(Zo(),gu("span",o3,[t[0]||(t[0]=_n("span",{class:"job-shortcut__entry__title__icon iconSet"},"attach_file",-1)),_n("span",r3,wu(n.model.title),1)])):la("",!0),_n("span",i3,[n.model.job_city?(Zo(),gu("span",a3,[t[1]||(t[1]=_n("span",{class:"job-shortcut__entry__meta__item__icon iconSet"},"place",-1)),_n("span",l3,wu(n.model.job_city),1)])):la("",!0)])])]),_:1},8,["href","to","class"])}const d3=y(XD,[["render",c3]]),u3={name:"HeaderTools",components:{SoylentLink:Ie},computed:{...fe("sso",["auth","userData"]),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},speedTrapUrl(){let e=null;try{e=window.soylent_settings.child_settings.header_pages.speed_traps}catch(t){}return e},profilePageUrl(){let e=null;try{e=window.soylent_settings.child_settings.header_pages.profile}catch(t){}return e},authLabel(){return this.auth?"Profil":"Anmelden"},authIcon(){return this.auth?"account_circle":"login"}},methods:{closeMenu:function(){this.$store.dispatch("closeMenu")}}},Hs=window.Vue.toDisplayString,Wn=window.Vue.createElementVNode,h3=window.Vue.resolve
2Component,Qo=window.Vue.withCtx,Jt=window.Vue.openBlock,Xo=window.Vue.createBlock,mn=window.Vue.createCommentVNode,er=window.Vue.createElementBlock,p3=window.Vue.normalizeClass,_3={class:"header-tools"},m3={class:"header-tools__item__label"},f3={class:"header-tools__item__icon"},w3={class:"iconSet"},g3={key:0,class:"header-tools__item__label --highlight"},y3={key:0,class:"header-tools__item__label --highlight"},v3={key:0,class:"header-tools__item__label --text-weight-medium"};function b3(e,t,n,s,r,o){const i=h3("soylent-link");return Jt(),er("div",_3,[o.profilePageUrl?(Jt(),Xo(i,{key:0,class:"header-tools__item --auth",url:o.profilePageUrl},{default:Qo(()=>[Wn("span",m3,Hs(o.authLabel),1),Wn("div",f3,[Wn("span",w3,Hs(o.authIcon),1)])]),_:1},8,["url"])):mn("",!0),o.speedTrapUrl?(Jt(),Xo(i,{key:1,onClick:o.closeMenu,url:o.speedTrapUrl,class:"header-tools__item"},{default:Qo(()=>[t[0]||(t[0]=Wn("span",{class:"header-tools__item__icon iconSet"},"videocam",-1)),o.speedcamAmount?(Jt(),er("span",g3,Hs(o.speedcamAmount),1)):mn("",!0)]),_:1},8,["onClick","url"])):mn("",!0),o.trafficUrl?(Jt(),Xo(i,{key:2,onClick:o.closeMenu,url:o.trafficUrl,class:"header-tools__item"},{default:Qo(()=>[t[1]||(t[1]=Wn("span",{class:"header-tools__item__icon iconSet"},"directions_car",-1)),o.trafficAmount?(Jt(),er("span",y3,Hs(o.trafficAmount),1)):mn("",!0)]),_:1},8,["onClick","url"])):mn("",!0),o.weatherUrl?(Jt(),Xo(i,{key:3,onClick:o.closeMenu,url:o.weatherUrl,class:"header-tools__item"},{default:Qo(()=>[o.currentTemperature?(Jt(),er("span",v3,Hs(o.currentTemperature)+"° ",1)):mn("",!0),Wn("span",{class:p3(["header-tools__item__icon wi",o.weatherIcon])},null,2)]),_:1},8,["onClick","url"])):mn("",!0)])}const E3=y(u3,[["render",b3]]),fn=window.Vue.defineAsyncComponent;Ks.set({BadenFmDetailOpener:U$,BadenFmProfile:NP,BadenFmSubscriptionReminder:sD,BadenFmActions:tT,SoylentAccordion:fn(()=>b(()=>import("./Accordion.js"),__vite__mapDeps([75,1]))),SoylentRadioNowPlaying:PT,SoylentScheduleDetail:fn(()=>b(()=>import("./ScheduleDetail.js"),__vite__mapDeps([30,1]))),SoylentScheduleWidget:fn(()=>b(()=>import("./ScheduleWidget.js"),__vite__mapDeps([31,1]))),SoylentRelatedContents:fn(()=>b(()=>import("./RelatedContents2.js"),__vite__mapDeps([76,28,6,1]))),SoylentForm:fn(()=>b(()=>import("./Form2.js"),__vite__mapDeps([77,11,1]))),SoylentParallax:fn(()=>b(()=>import("./Parallax2.js"),__vite__mapDeps([78,25,18,1]))),SoylentJobMeta:fn(()=>b(()=>import("./JobMeta2.js"),__vite__mapDeps([79,1])))});he.set({teamShortcut:OD,postShortcut:QD,jobShortcut:d3,headerTools:E3});Zs().add(Ra);ds.fullsizePlayer=!0;new oD;Kg();export{Af as $,We as A,ue as B,fa as C,Yl as D,Ne as E,KT as F,fe as G,rh as H,Gl as I,d3 as J,Hl as K,hw as L,zf as M,he as N,Sn as O,It as P,Zs as Q,H1 as S,QS as T,In as U,y as _,C3 as __vite_legacy_guard,Tn as a,_A as b,Gs as c,dr as d,SP as e,Ba as f,be as g,Ka as h,Ot as i,Wf as j,wC as k,to as l,L2 as m,br as n,Ra as o,eE as p,G1 as q,yD as r,Ya as s,Ie as t,Ap as u,ip as v,sD as w,aE as x,mA as y,Nt as z};
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.