1import{_ as P}from"./RrNuBUw2.js";import{_ as R}from"./rnl0uGg2.js";import{_ as H,a as V}from"./DYPC_gT4.js";import{_ as z}from"./DYM_oiyw.js";import{_ as F}from"./JgiB_mGP.js";import{_ as j}from"./DPYULV7k.js";import{_ as E}from"./BpMemhkA.js";import{d as v,aF as D,u as O,r as N,K as W,o as L,V as G,c as n,e as y,g as r,j as a,v as q,k as _,i,w as o,n as J,M as h,f,H as I,F as Q,a as U,t as X,y as Y,h as b,aE as Z,aA as ee,_ as te,S as ne}from"./FMtq3NZA.js";import{u as oe}from"./BQ2v5c4_.js";import"./r2DMCdzc.js";import"./DJsCkuSp.js";import"./DBiOkih1.js";import"./_L3ZkUMs.js";import"./4rwG_XK2.js";import"./XPDkO6G0.js";import"./DNdJwbX5.js";import"./BifG_BQs.js";import"./otmFg8s_.js";import"./La00Ijyy.js";import"./CbU1bCfP.js";import"./BXmpoScm.js";import"./Cj_CBUd8.js";import"./BehRJDZa.js";import"./DEHJaEqD.js";import"./Bq0jhOU0.js";import"./BxIMIjtI.js";import"./B__7SROM.js";import"./0-vAqwH9.js";import"./tDq-PDe7.js";import"./CH0Do4CF.js";import"./iy6pFIRb.js";import"./gGrX_zcr.js";import"./rq6d7ax5.js";import"./R8EXxKMO.js";import"./74tjgpEa.js";import"./B5eRwX8C.js";import"./EsL278CF.js";import"./CiPpXjij.js";import"./CL1SQw1a.js";import"./D83eIAhp.js";import"./BCTivp0-.js";import"./C8tVmIt3.js";import"./BElM9r1J.js";import"./CTqxWSDg.js";import"./DuvNsQRn.js";import"./HvqMUQWx.js";import"./SE4Rj5p7.js";import"./B6XFEKEb.js";import"./B0yrbUgq.js";import"./Iz22FmhY.js";import"./owJ8q6I1.js";import"./g8DN1FV3.js";import"./BuFx07f3.js";import"./D1M6AH5I.js";const se=v({__name:"UserTabs",setup(x){const u=D().vueApp.$clientSideConfig,l=O(),t={EMPFEHLUNGEN:"empfehlungen",MERKLISTE:"merkliste",NEWSLETTER:"newsletter",MEIN_KONTO:"mein-konto"},m=N(null),p=W(()=>({headerline:u.meinBereichHeadline,subline:u.meinBereichSubline}));function e(s){window.location.hash=s}function c(){const s=new URLSearchParams(window.location.search),d=s.get("token")??"",w=s.get("ba_token")??"";return d.startsWith("EC-")&&w.startsWith("BA-")}L(()=>{if(c()){window.location.hash=t.MEIN_KONTO,m.value=t.MEIN_KONTO;return}m.value=window.location.hash.replace("#","")||t.EMPFEHLUNGEN});function T(){const s=location.hash.replace("#","");if(Object.values(t).includes(s)){const d=new CustomEvent("close-nav");document.body.dispatchEvent(d),m.value=s}}return window.onhashchange=T,(s,d)=>{const w=P,B=R,g=V,C=z,M=F,S=j,A=H,K=E,$=I,k=G("track");return n(),y(Q,null,[r(l)?_("",!0):(n(),a(w,q({key:0},r(p),{class:"u-content-width--full"}),null,16)),i($,null,{fallback:o(()=>[f("div",null,[i(K,{class:"mt-10"})])]),default:o(()=>[i(A,{class:J(["u-user-section-tab u-content-width--full mt-7",{"u-user-section-tab-app":r(l)}]),activeTab:r(m),onTabActivated:e},{default:o(()=>[h((n(),a(g,{label:"Empfehlungen",key:t.EMPFEHLUNGEN,class:"background-theme theme-light-blue py-10 px-6"},{default:o(()=>[i(B)]),_:1})),[[k,{label:"mein_xyz_empfehlungen",events:["pageViewed"]}]]),h((n(),a(g,{label:"Merkliste",key:t.MERKLISTE,class:"p-6"},{default:o(()=>[i(C)]),_:1})),[[k,{label:"mein_xyz_merkliste",events:["pageViewed"]}]]),h((n(),a(g,{label:"Newsletter",key:t.NEWSLETTER,class:"py-10 px-6"},{default:o(()=>[i(M)]),_:1})),[[k,{label:"mein_xyz_newsletter",events:["pageViewed"]}]]),h((n(),a(g,{label:"Mein Konto",key:t.MEIN_KONTO,class:"py-10 px-6"},{default:o(()=>[i(S)]),_:1})),[[k,{label:"mein_xyz_konto",events:["pageViewed"]}]])]),_:1},8,["class","activeTab"])]),_:1})],64)}}}),ie=Object.assign(se,{__name:"UserTabs"}),ae={class:"theme-light-blue background-theme u-content-width--full py-7 px-10"},re={class:"text-color-primary font-set-4-bold d-block"},le={key:2,class:"font-set-2-bold d-block text-center mt-3"},pe={key:3,class:"font-set-2-bold d-block text-center mt-3"},me=["src"],ce="/registrierung/app",ue=v({__name:"UserLoggedOutInfo",setup(x){const u=U(),l=N(null),t=O()==="twipe";L(()=>{setTimeout(()=>{l?.value?.$el?.click()},500)});function m(){window?.TwipeAppSDK?.paywall?.triggerLogin?.()}return(p,e)=>{const c=te;return n(),y("section",ae,[f("span",re,X(("usePublicationInfo"in p?p.usePublicationInfo:r(Y))().userPageTitle),1),e[6]||(e[6]=f("span",{class:"font-set-8 d-block"},"Inhalte, die mich interessieren",-1)),e[7]||(e[7]=f("span",{class:"font-set-3 d-block"}
1," Sehen Sie auf einen Blick, was Sie seit Ihrem letzten Besuch verpasst haben und erhalten Sie Artikelempfehlungen passend zu Ihrem Leseverhalten. ",-1)),t?_("",!0):(n(),a(c,{key:0,class:"mt-10 d-block mx-auto px-10",version:"primary",type:"button",big:!0,onClick:"useOpenRegistration"in p?p.useOpenRegistration:r(Z)},{default:o(()=>e[0]||(e[0]=[b(" Kostenlos registrieren ")])),_:1},8,["onClick"])),t?(n(),a(c,{key:1,class:"mt-10 d-block mx-auto px-10",version:"primary",type:"button",big:!0,url:ce},{default:o(()=>e[1]||(e[1]=[b(" Kostenlos registrieren ")])),_:1})):_("",!0),t?_("",!0):(n(),y("span",le,[e[3]||(e[3]=b(" Sie haben bereits ein Konto? ")),i(c,{class:"font-set-2",version:"link",type:"button",onClick:"useOpenLogin"in p?p.useOpenLogin:r(ee),ref_key:"loginButton",ref:l},{default:o(()=>e[2]||(e[2]=[b(" Hier anmelden ")])),_:1},8,["onClick"])])),t?(n(),y("span",pe,[e[5]||(e[5]=b(" Sie haben bereits ein Konto? ")),i(c,{class:"font-set-2",version:"link",type:"button",onClick:m,ref_key:"loginButton",ref:l},{default:o(()=>e[4]||(e[4]=[b(" Hier anmelden ")])),_:1},512)])):_("",!0),f("img",{src:`/static/images/${r(u)}/my-site.svg`,alt:"",role:"presentation",class:"mx-auto mt-10 d-block"},null,8,me)])}}}),_e=Object.assign(ue,{__name:"UserLoggedOutInfo"}),dt=v({__name:"index",setup(x){const u=ne(),l=U(),m=`${["moz","sb"].includes(l)?"Mein":"Meine"} ${l.toUpperCase().replaceAll("T","t")}`;return oe(m),(p,e)=>{const c=ie,T=_e,s=E,d=I;return n(),a(d,null,{fallback:o(()=>[f("div",null,[i(s,{class:"mt-10"})])]),default:o(()=>[r(u)?(n(),a(c,{key:0})):_("",!0),r(u)?_("",!0):(n(),a(T,{key:1}))]),_:1})}}});
1export{dt as default};
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.