1import{c as _,w as u,a as e,t,u as s,f,l as y,e as c,o as r,b as l,d,F as p,r as v,n as x,h as k,p as w}from"./app-BkdOeDGm.js";import{C}from"./ClientLayout-BSiMFsFY.js";import{u as j}from"./useTranslations-DvNzXvsd.js";/* empty css */import"./LanguageSwitcher-D3MSN3u1.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const M={class:"max-w-7xl"},B={class:"flex flex-col sm:flex-row sm:items-end justify-between gap-3 mb-8"},H={class:"text-2xl font-bold text-gray-900"},z={class:"text-sm text-gray-500 mt-1"},$={class:"grid grid-cols-1 sm:grid-cols-3 gap-4 mb-8"},F={class:"rounded-2xl bg-gradient-to-br from-blue-600 to-blue-800 p-5 text-white shadow-md shadow-blue-600/20"},A={class:"flex items-center justify-between"},O={class:"text-xs font-medium text-blue-100 uppercase tracking-wide"},S={class:"text-3xl font-bold mt-2 tabular-nums"},V={class:"text-xs text-blue-200 mt-1"},D={class:"rounded-2xl bg-white border border-gray-200 p-5 shadow-sm"},L={class:"flex items-center justify-between"},N={class:"text-xs font-medium text-gray-500 uppercase tracking-wide"},q={class:"text-3xl font-bold text-gray-900 mt-2 tabular-nums"},T={class:"text-xs text-gray-400 mt-1"},E={class:"rounded-2xl bg-white border border-gray-200 p-5 shadow-sm"},K={class:"flex items-center justify-between"},P={class:"text-xs font-medium text-gray-500 uppercase tracking-wide"},R={class:"text-3xl font-bold text-gray-900 mt-2 tabular-nums"},G={class:"text-xs text-gray-400 mt-1"},I={key:0,class:"bg-white rounded-2xl shadow-sm border border-gray-200 overflow-hidden mb-8"},J={class:"px-5 sm:px-6 py-4 border-b border-gray-100 flex items-center gap-3"},Q={class:"flex items-center gap-2"},U={class:"text-sm font-semibold text-gray-900"},W={class:"inline-flex items-center rounded-full bg-blue-100 px-2.5 py-0.5 text-xs font-medium text-blue-800"},X={class:"px-5 sm:px-6 py-5"},Y={class:"text-xs uppercase tracking-wide text-gray-500 mb-1"},Z={class:"text-lg font-bold text-gray-900"},ee={class:"mt-1 flex flex-wrap gap-x-4 gap-y-1 text-sm text-gray-600"},te=["href"],se=["href"],ne={class:"mt-5 text-xs uppercase tracking-wide text-gray-500 mb-2"},ae={class:"space-y-3"},oe={class:"flex items-center justify-between gap-3 flex-wrap"},ie={class:"flex items-center gap-2 text-sm text-gray-700"},re={class:"font-medium text-gray-900"},le={key:0,class:"text-xs text-gray-400 uppercase"},de=["onClick"],ce={key:1,class:"flex items-center gap-2"},xe=["onClick"],ge={key:1,class:"inline-flex items-center rounded-full bg-amber-100 px-2.5 py-0.5 text-xs font-medium text-amber-800"},ue=["href"],he=["onClick"],me={key:0,class:"mt-2 text-xs text-gray-600 leading-relaxed"},be={key:1,class:"mt-2 text-xs text-red-700 leading-relaxed"},ye={class:"font-semibold"},pe={key:2,class:"mt-2 text-xs text-gray-600 leading-relaxed"},_e={class:"mt-5 text-xs text-gray-500 leading-relaxed"},fe={class:"mt-2 text-xs text-gray-500 leading-relaxed"},ve={key:1,class:"bg-white rounded-2xl shadow-sm border border-gray-200 overflow-hidden mb-8"},ke={class:"px-5 sm:px-6 py-4 border-b border-gray-100 flex items-center justify-between gap-3"},we={class:"flex items-center gap-3 min-w-0"},Ce={class:"flex items-center gap-2 min-w-0"},je={class:"text-sm font-semibold text-gray-900"},Me={key:0,class:"inline-flex items-center rounded-full bg-purple-100 px-2.5 py-0.5 text-xs font-medium text-purple-800"},Be={class:"px-5 sm:px-6 py-5"},He={class:"flex items-center justify-between gap-4"},ze={class:"text-lg font-bold text-gray-900"},$e={class:"text-sm text-gray-500 mt-0.5"},Fe={key:0,class:"text-gray-400"},Ae={class:"text-right flex-shrink-0"},Oe={class:"text-2xl font-bold text-gray-900 tabular-nums"},Se={class:"text-xs text-gray-500"},Ve={key:0,class:"text-xs text-green-600 font-medium mt-0.5"},De={key:0,class:"mt-5 pt-4 border-t border-gray-100"},Le={class:"text-xs font-semibold text-gray-500 uppercase tracking-wide mb-3"},Ne={key:0,class:"ml-2 text-green-600"},qe={class:"grid grid-cols-3 gap-3"},Te={class:"rounded-xl border border-gray-200 p-3 hover:border-blue-200 transition-colors"},Ee={class:"flex items-baseline gap-1.5 mt-1"},Ke={class:"text-lg font-bold text-gray-900 tabular-nums"},Pe={key:0,class:"text-xs text-gray-400 line-through"},Re={class:"rounded-xl border border-gray-200 p-3 hover:border-blue-200 transition-colors"},Ge={class:"text-xs text-gray-500"},Ie={class:"flex items-baseline gap-1.5 mt-1"},Je={class:"text-lg font-bold text-gray-900 tabular-nums"}
1,Qe={key:0,class:"text-xs text-gray-400 line-through"},Ue={class:"rounded-xl border border-gray-200 p-3 hover:border-blue-200 transition-colors"},We={class:"text-xs text-gray-500"},Xe={class:"flex items-baseline gap-1.5 mt-1"},Ye={class:"text-lg font-bold text-gray-900 tabular-nums"},Ze={key:0,class:"text-xs text-gray-400 line-through"},et={key:0,class:"px-5 sm:px-6 py-3 border-t border-gray-100 bg-gray-50/70"},tt={href:"/billing",target:"_blank",rel:"noopener",class:"text-sm font-medium text-blue-600 hover:text-blue-500"},st={class:"bg-white rounded-2xl shadow-sm border border-gray-200 overflow-hidden"},nt={class:"px-5 sm:px-6 py-4 border-b border-gray-100 flex items-center justify-between gap-3"},at={class:"flex items-center gap-3 min-w-0"},ot={class:"min-w-0"},it={class:"text-sm font-semibold text-gray-900"},rt={class:"text-xs text-gray-400"},lt={key:0,class:"px-6 py-12 text-center"},dt={class:"text-sm text-gray-600 mb-4"},ct={key:1,class:"divide-y divide-gray-50"},xt={class:"flex items-center gap-4 min-w-0"},gt={class:"min-w-0"},ut={class:"flex items-center gap-2"},ht={class:"text-sm font-medium text-gray-900 truncate group-hover:text-blue-600 transition-colors"},mt={class:"text-xs text-gray-500 truncate"},bt={class:"flex items-center gap-4 flex-shrink-0"},yt={class:"text-right hidden sm:block"},pt={class:"text-sm font-semibold text-gray-900 tabular-nums"},_t={class:"text-xs text-gray-400"},ft={class:"hidden sm:inline-flex items-center gap-1.5 rounded-lg border border-gray-200 bg-white px-3 py-1.5 text-xs font-semibold text-gray-700 group-hover:border-blue-300 group-hover:text-blue-600 group-hover:bg-blue-50/50 transition-colors"},vt={key:2,class:"mt-8 rounded-2xl border border-gray-200 bg-white p-5 flex items-center gap-4"},kt={class:"min-w-0 flex-1"},wt={class:"text-sm font-semibold text-gray-900"},Ct={class:"text-xs text-gray-500 mt-0.5"},Ft={__name:"Dashboard",props:{domains:Array,stats:Object,billing:Object,agencyManaged:{type:Object,default:null},showOdeoHint:{type:Boolean,default:!1}},setup(n){const{t:a}=j(),g=k(null);function h(m,o){if(g.value!==m){g.value=m;return}w.post(`/domains/${o}/detach-request`,{},{preserveScroll:!0,onSuccess:()=>{g.value=null}})}return(m,o)=>(r(),_(C,null,{default:u(()=>[e("div",M,[e("div",B,[e("div",null,[e("h1",H,t(s(a)("dashboard.title")),1),e("p",z,t(s(a)("dashboard.subtitle")),1)]),f(s(y),{href:"/domains/create",class:"inline-flex items-center gap-2 self-start sm:self-auto rounded-lg bg-blue-600 px-4 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-blue-700 transition-colors"},{default:u(()=>[o[1]||(o[1]=e("svg",{class:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 4v16m8-8H4"})],-1)),c(" "+t(s(a)("dashboard.add_domain")),1)]),_:1})]),e("div",$,[e("div",F,[e("div",A,[e("p",O,t(s(a)("dashboard.stats.consents")),1),o[2]||(o[2]=e("span",{class:"flex h-8 w-8 items-center justify-center rounded-lg bg-white/15"},[e("svg",{class:"h-4 w-4 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"})])],-1))]),e("p",S,t(n.stats.total_consents.toLocaleString("de-CH")),1),e("p",V,t(s(a)("dashboard.stats.consents_hint")),1)]),e("div",D,[e("div",L,[e("p",N,t(s(a)("dashboard.stats.domains")),1),o[3]||(o[3]=e("span",{class:"flex h-8 w-8 items-center justify-center rounded-lg bg-blue-50"},[e("svg",{class:"h-4 w-4 text-blue-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9"})])],-1))]),e("p",q,t(n.stats.total_domains),1),e("p",T,t(s(a)("dashboard.stats.domains_hint")),1)]),e("div",E,[e("div",K,[e("p",P,t(s(a)("dashboard.stats.active_domains")),1
1),o[4]||(o[4]=e("span",{class:"flex h-8 w-8 items-center justify-center rounded-lg bg-green-50"},[e("svg",{class:"h-4 w-4 text-green-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})])],-1))]),e("p",R,t(n.stats.active_domains),1),e("p",G,t(s(a)("dashboard.stats.active_hint",{count:n.stats.total_domains})),1)])]),n.agencyManaged?(r(),l("div",I,[e("div",J,[o[5]||(o[5]=e("span",{class:"flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-xl bg-blue-50"},[e("svg",{class:"h-4.5 w-4.5 text-blue-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z"})])],-1)),e("div",Q,[e("h2",U,t(s(a)("dashboard.agency_managed.title")),1),e("span",W,t(s(a)("dashboard.agency_managed.badge")),1)])]),e("div",X,[e("p",Y,t(s(a)("dashboard.agency_managed.contact")),1),e("p",Z,t(n.agencyManaged.agency_name),1),e("div",ee,[n.agencyManaged.agency_email?(r(),l("a",{key:0,href:`mailto:${n.agencyManaged.agency_email}`,class:"hover:text-blue-600"},t(n.agencyManaged.agency_email),9,te)):d("",!0),n.agencyManaged.agency_phone?(r(),l("a",{key:1,href:`tel:${n.agencyManaged.agency_phone}`,class:"hover:text-blue-600"},t(n.agencyManaged.agency_phone),9,se)):d("",!0)]),e("p",ne,t(s(a)("dashboard.agency_managed.domains_label",{count:n.agencyManaged.count})),1),e("ul",ae,[(r(!0),l(p,null,v(n.agencyManaged.domains,i=>(r(),l("li",{key:i.hostname,class:"rounded-xl border border-gray-100 p-3"},[e("div",oe,[e("div",ie,[o[6]||(o[6]=e("svg",{class:"h-4 w-4 text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9"})],-1)),e("span",re,t(i.hostname),1),i.plan_tier?(r(),l("span",le,"· "+t(i.plan_tier),1)):d("",!0)]),i.detachment?i.detachment.status==="pending"?(r(),l("span",ge,t(s(a)("dashboard.detach.status_pending")),1)):i.detachment.status==="approved"?(r(),l("a",{key:2,href:`/detachment/${i.detachment.id}/checkout`,class:"inline-flex items-center gap-1.5 rounded-md bg-green-600 px-3 py-1.5 text-xs font-semibold text-white hover:bg-green-700"},t(s(a)("dashboard.detach.cta_approved",{hours:i.detachment.hours_left??24})),9,ue)):["denied","expired"].includes(i.detachment.status)?(r(),l("button",{key:3,type:"button",onClick:b=>h(i.hostname,i.slug),class:"inline-flex items-center gap-1.5 rounded-md border border-gray-300 bg-white px-3 py-1.5 text-xs font-medium text-gray-700 hover:bg-gray-50"},t(s(a)("dashboard.detach.retry")),9,he)):d("",!0):(r(),l(p,{key:0},[g.value!==i.hostname?(r(),l("button",{key:0,type:"button",onClick:b=>h(i.hostname,i.slug),class:"inline-flex items-center gap-1.5 rounded-md border border-gray-300 bg-white px-3 py-1.5 text-xs font-medium text-gray-700 hover:bg-gray-50"},t(s(a)("dashboard.detach.cta")),9,de)):(r(),l("div",ce,[e("button",{type:"button",onClick:o[0]||(o[0]=b=>g.value=null),class:"text-xs text-gray-500 hover:text-gray-700"},t(s(a)("common.cancel")),1),e("button",{type:"button",onClick:b=>h(i.hostname,i.slug),class:"inline-flex items-center gap-1.5 rounded-md bg-blue-600 px-3 py-1.5 text-xs font-medium text-white hover:bg-blue-700"},t(s(a)("dashboard.detach.confirm")),9,xe)]))],64))]),i.detachment?.status==="approved"?(r(),l("p",me,t(s(a)("dashboard.detach.note_approved")),1)):d("",!0),i.detachment?.status==="denied"?(r(),l("p",be,[e("span",ye,t(s(a)("dashboard.detach.denied_label")),1),c(" "+t(i.detachment.denial_reason),1)])):d("",!0),i.detachment?.status==="expired"?(r(),l("p",pe,t(s(a)("dashboard.detach.note_expired")),1)):d("",!0)]))),128))]),e("p",_e,t(s(a)("dashboard.agency_managed.description")),1),e("p",fe,[e("strong",null,t(s(a)("dashboard.detach.about_title")),1),c(" "+t(s(a)("dashboard.detach.about_text")),1)])])])):d("",!0),n.billing.has_own_subscription?(r(),l("div",ve,[e("div",ke,[e("div",we,[o[7]||(o[7]=e("span",{class:"flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-xl bg-purple-50"},[e("svg",{class:"h-4.5 w-4.5 text-purple-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.25 8.25h19.5M2.25 9h19.5m-16.5 5.25h6m-6 2.25h3m-3.75 3h15a2.25 2.25 0 002.25-2.25V6.75A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25v10.5A2.25 2.25 0 004.5 19.5z"})])],-1)),e("div",Ce,[e("h2",je,t(s(a)("dashboard.subscription.title")),1),n.billing.is_agency?(r(),l("span",Me,t(s(a)("dashboard.subscription.agency")),1)):d("",!0)])]),e("span",{class:x([n.billing.type==="manual"?"bg-amber-100 text-amber-800":"bg-purple-100 text-purple-800","inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium flex-shrink-0"])},t(n.billing.type==="manual"?s(a)("dashboard.subscription.invoice"):s(a)("dashboard.subscription.credit_card")),3)]),e("div",Be,[e("div",He,[e("div",null,[e("p",ze,t(n.billing.plan),1),e("p",$e,[c(t(n.billing.domain_count)+" Domain"+t(n.billing.domain_count>1?"s":"")+" ",1),n.billing.domain_count>1?(r(),l("span",Fe," (1 à CHF "+t(n.billing.base_price)+" + "+t(n.billing.domain_count-1)+" à CHF "+t(n.billing.additional_domain_price)+") ",1)):d("",!0)])]),e("div",Ae,[e("p",Oe,"CHF "+t(n.billing.yearly_total),1),e("p",Se,t(s(a)("dashboard.subscription.per_year")),1),n.billing.discount_percent>0?(r(),l("p",Ve,t(s(a)("dashboard.subscription.discount",{percent:n.billing.discount_percent})),1)):d("",!0)])]),n.billing.is_agency&&n.billing.agency_pricing?(r(),l("div",De,[e
1("p",Le,[c(t(s(a)("dashboard.agency.conditions"))+" ",1),n.billing.discount_percent>0?(r(),l("span",Ne,"("+t(n.billing.discount_percent)+"% Rabatt)",1)):d("",!0)]),e("div",qe,[e("div",Te,[o[8]||(o[8]=e("p",{class:"text-xs text-gray-500"},"Basic pro Kunde",-1)),e("div",Ee,[e("span",Ke,"CHF "+t(n.billing.agency_pricing.basic),1),n.billing.discount_percent>0?(r(),l("span",Pe,t(n.billing.agency_pricing.basic_standard),1)):d("",!0)])]),e("div",Re,[e("p",Ge,t(s(a)("dashboard.agency.first_domain")),1),e("div",Ie,[e("span",Je,"CHF "+t(n.billing.agency_pricing.first_domain),1),n.billing.discount_percent>0?(r(),l("span",Qe,t(n.billing.agency_pricing.first_domain_standard),1)):d("",!0)])]),e("div",Ue,[e("p",We,t(s(a)("dashboard.agency.additional_domains")),1),e("div",Xe,[e("span",Ye,"CHF "+t(n.billing.agency_pricing.additional_domain),1),n.billing.discount_percent>0?(r(),l("span",Ze,t(n.billing.agency_pricing.additional_domain_standard),1)):d("",!0)])])])])):d("",!0)]),n.billing.type==="stripe"?(r(),l("div",et,[e("a",tt,t(s(a)("dashboard.subscription.manage"))+" â ",1)])):d("",!0)])):d("",!0),e("div",st,[e("div",nt,[e("div",at,[o[9]||(o[9]=e("span",{class:"flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-xl bg-blue-50"},[e("svg",{class:"h-4.5 w-4.5 text-blue-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9"})])],-1)),e("div",ot,[e("h2",it,t(s(a)("dashboard.domains.title")),1),e("p",rt,t(s(a)("dashboard.domains.hint")),1)])])]),n.domains.length===0?(r(),l("div",lt,[o[11]||(o[11]=e("div",{class:"mx-auto h-16 w-16 rounded-full bg-gray-100 flex items-center justify-center mb-4"},[e("svg",{class:"h-8 w-8 text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9"})])],-1)),e("p",dt,t(s(a)("dashboard.domains.empty")),1),f(s(y),{href:"/domains/create",class:"inline-flex items-center gap-2 rounded-lg bg-blue-600 px-4 py-2 text-sm font-medium text-white hover:bg-blue-700"},{default:u(()=>[o[10]||(o[10]=e("svg",{class:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 4v16m8-8H4"})],-1)),c(" "+t(s(a)("dashboard.domains.add_first")),1)]),_:1})])):(r(),l("div",ct,[(r(!0),l(p,null,v(n.domains,i=>(r(),_(s(y),{key:i.id,href:`/domains/${i.slug}`,class:"flex items-center justify-between px-5 sm:px-6 py-4 hover:bg-gray-50/60 transition-colors group"},{default:u(()=>[e("div",xt,[e("div",{class:x(["h-10 w-10 rounded-xl flex items-center justify-center flex-shrink-0",i.is_active?"bg-green-50":"bg-gray-100"])},[(r(),l("svg",{class:x(["h-5 w-5",i.is_active?"text-green-600":"text-gray-400"]),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[...o[12]||(o[12]=[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9"},null,-1)])],2))],2),e("div",gt,[e("div",ut,[e("p",ht,t(i.display_name),1),i.plan_tier?(r(),l("span",{key:0,class:x([i.plan_tier==="pro"?"bg-blue-100 text-blue-700":"bg-gray-100 text-gray-600","inline-flex flex-shrink-0 rounded-full px-2 py-0.5 text-[10px] font-medium"])},t(i.plan_tier==="pro"?"Pro":"Basic"),3)):d("",!0)]),e("p",mt,t(i.hostname),1)])]),e("div",bt,[e("div",yt,[e("p",pt,t(i.consent_logs_count.toLocaleString("de-CH")),1),e("p",_t,t(s(a)("dashboard.stats.consents")),1)]),e("span",{class:x(["inline-flex items-center gap-1.5 text-xs font-medium",i.is_active?"text-green-700":"text-gray-400"])},[e("span",{class:x([i.is_active?"bg-green-500":"bg-gray-300","h-1.5 w-1.5 rounded-full"])},null,2),c(" "+t(i.is_active?s(a)("common.status.active"):s(a)("common.status.inactive")),1)],2),e("span",ft,[o[13]||(o[13]=e("svg",{class:"h-3.5 w-3.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 11-3 0m3 0a1.5 1.5 0 10-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m-9.75 0h9.75"})],-1)),c(" "+t(s(a)("dashboard.domains.manage")),1)]),o[14]||(o[14]=e("svg",{class:"h-5 w-5 sm:hidden text-gray-300 group-hover:text-blue-500 transition-all",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1))])]),_:2},1032,["href"]))),128))]))]),n.showOdeoHint?(r(),l("div",vt,[o[15]||(o[15]=e("span",{class:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-xl bg-blue-50"},[e("svg",{class:"h-5 w-5 text-blue-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.625 12a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 01-2.555-.337A5.972 5.972 0 015.41 20.97a5.969 5.969 0 01-.474-.065 4.48 4.48 0 00.978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25z"})])],-1)),e("div",kt,[e("p",wt,t(s(a)("dashboard.odeo_hint.title")),1),e("p",Ct,t(s(a)("dashboard.odeo_hint.text")),1)]),o[16]||(o[16]=e("a",{href:"https://odeo.ch",target:"_blank",rel:"noopener",class:"flex-shrink-0 text-xs font-semibold text-blue-600 hover:text-blue-500 transition-colors"},"odeo.ch â",-1))])):d("",!0)])]),_:1}))}};export{Ft 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.