1var e={horoskop:`horoscope`,"abo-shop":`newspaper`,abo:`newspaper`,"shop.express":`store`,"express-shop":`store`,"shop.ksta":`store`,wetter:`weather`,shoppingwelt:`cart`,newsletter:`letterOpen`,gutscheine:`coupon`,rabattcodes:`coupon`,epages:`epaper`,"e-paper":`epaper`,push:`push`,"push-mitteilungen":`push`,immo:`estate`,immobilien:`estate`,yourjob:`suit`,jobbörse:`suit`,"specials.express":`tagStar`,specials:`tagStar`,"specials.ksta":`tagStar`,wirtrauern:`grave`,"jeckes.net":`jeck`,"express.de/anzeigen":`tagRemove`,anzeigen:`tagRemove`,"ksta.de/anzeigen":`tagRemove`,"bit.ly/express21":`cartPhone`,"ikiosk.de":`cartPhone`,kiosk:`cartPhone`,instagram:`instagram`,facebook:`facebook`,tiktok:`tiktok`,"t.me":`telegram`,youtube:`youtube`,twitter:`twitter`,email:`letter`,kundenservice:`contact`,"service-ksta":`questionMark`,"e-mail":`letter`,meine:`bookmark`},t=t=>t?e[t]??t:``,n=e=>`targetPathOrUrl`in e,r=e=>`subItems`in e,i=e=>(e??``).match(/^(?<label>.*?)<icon:(?<icon>.*?)>$/)?.groups||{label:e??``,icon:``},a=(e,t)=>!e&&!t?``:e||t.toLowerCase().replace(/[^a-z0-9]/g,``),o=e=>{let{label:s,icon:c}=i(e.label),l=a(c,s),u=n(e)?e.targetPathOrUrl:e?.target?.pathOrUrl||``;if(r(e)){let n=e.subItems?.map(o);return{pathOrUrl:u,label:s,icon:t(c),iconCssClass:t(l),subItems:n?.length?n:void 0}}return{pathOrUrl:u,label:s,icon:t(c),iconCssClass:t(l)}},s=e=>e?e.map(e=>o(e)):[],c=e=>e.replace(/<subscribedUser>/g,``).replace(/<unsubscribedUser>/g,``).trim(),l=(e,t)=>e?.label?t?!e.label.includes(`<unsubscribedUser>`):!e.label.includes(`<subscribedUser>`):!0,u=({userRoles:e,plusVerificationEnabled:t=!0,communityEnabled:n=!1})=>[{key:`mein-portal.menu.account`,path:`/account`},{key:`mein-portal.menu.abo`,path:`/account/abo`},{key:`mein-portal.menu.plus_verification`,path:`/account/plus-verification`,hide:!(e.includes(`PREMIUM`)&&t)},{key:`mein-portal.menu.community`,path:`/account/community`,hide:!n}],d=e=>e.filter(e=>!e.hide);export{s as a,l as i,c as n,o,d as r,u as t};
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.