1import{d as h,a as s,b as a,t as v,n as f,c as G,r as D,e as t,q as o,u as l,F as $,g as k,l as y,o as x,x as L,f as g,T as E}from"./vue.CQINahik.min.js";import{f as F,d as n,a as B,b as A,q as H,r as j}from"./consents.s_GI-32p.min.js";import{_ as S}from"./observer.DuZT9V1u.min.js";import{_ as C}from"./_plugin-vue_export-helper.DlAUqK2U.min.js";import{d as O,A as V,S as z,f as N}from"./borlabs-cookie-box.BOOIr-e1.min.js";import{f as U}from"./focus-loop.DdLSewJc.min.js";import{_ as q}from"./consent-history-table.C4ojqUoX.min.js";import{S as I,_ as Y,D as M,a as R,b as J,c as K,d as Q}from"./details-header.arjhW38s.min.js";import"./base-button.AtCdOuId.min.js";import"./service-item-table.GTdU3NLN.min.js";import"./service-item-switch.JBF092eK.min.js";const W=h({name:"DetailsDescription",setup(){var e,r;return{detailsDescription:F.replaceAll("{{ privacyPageUrl }}",S.dialogPrivacyLink.value,n.detailsDescription.value),useBaseFontSizeForDescriptions:(r=(e=S.dialogUseBaseFontSizeForDescriptions)==null?void 0:e.value)!=null?r:!1}}});function X(e,r,p,u,c,b){return s(),a("p",{id:"BorlabsCookiePreferencesA11YDescription",class:f(e.useBaseFontSizeForDescriptions?"brlbs-text-base":"brlbs-text-sm")},v(e.detailsDescription),3)}const Z=C(W,[["render",X]]),P=D("serviceGroups"),ee=function(e){P.value=e},_=G(()=>P.value),se=h({name:"ServiceGroupTabBar",setup(){return{setActiveTab:ee,getActiveTab:_,detailsTabConsentHistory:n.detailsTabConsentHistory,detailsTabProvider:n.detailsTabProvider,detailsTabServices:n.detailsTabServices,detailsTabServiceGroups:n.detailsTabServiceGroups}}}),re={class:"brlbs-cmpnt-tab-bar brlbs-flex brlbs-w-full brlbs-relative brlbs-py-4"};function te(e,r,p,u,c,b){return s(),a("div",re,[t("button",{class:f(["brlbs-cmpnt-tab",{"brlbs-cmpnt-tab-active":e.getActiveTab==="serviceGroups","brlbs-cmpnt-tab-inactive":e.getActiveTab!=="serviceGroups"}]),onClick:r[0]||(r[0]=i=>e.setActiveTab("serviceGroups"))},v(e.detailsTabServiceGroups),3),t("button",{class:f(["brlbs-cmpnt-tab",{"brlbs-cmpnt-tab-active":e.getActiveTab==="services","brlbs-cmpnt-tab-inactive":e.getActiveTab!=="services"}]),onClick:r[1]||(r[1]=i=>e.setActiveTab("services"))},v(e.detailsTabServices),3),t("button",{class:f(["brlbs-cmpnt-tab",{"brlbs-cmpnt-tab-active":e.getActiveTab==="provider","brlbs-cmpnt-tab-inactive":e.getActiveTab!=="provider"}]),onClick:r[2]||(r[2]=i=>e.setActiveTab("provider"))},v(e.detailsTabProvider),3),t("button",{class:f(["brlbs-cmpnt-tab",{"brlbs-cmpnt-tab-active":e.getActiveTab==="consentHistory","brlbs-cmpnt-tab-inactive":e.getActiveTab!=="consentHistory"}]),onClick:r[3]||(r[3]=i=>e.setActiveTab("consentHistory"))},v(e.detailsTabConsentHistory),3)])}const ae=C(se,[["render",te]]),ie={class:"brlbs-sr-only"},oe={class:"brlbs-mt-4"},le=h({__name:"provider-tab",setup(e){const r=n.a11yProviderListExplained,p=n.providerSearchPlaceholder,u=n.providerSingular,c=n.providerPlural,b=D(""),i=G(()=>{const m=[];return Object.keys(B.providers).forEach(T=>{const d=B.findByProviderId(T);if(d===null)throw new Error;d.serviceIds.length!==0&&(!b.value||d.name.toLowerCase().includes(b.value.toLowerCase())||d.description.toLowerCase().includes(b.value.toLowerCase()))&&m.push(d)}),m});return(m,T)=>(s(),a("div",null,[o(I,{modelValue:b.value,"onUpdate:modelValue":T[0]||(T[0]=d=>b.value=d),"filtered-items-count":i.value.length,"item-plural":l(c),"item-singular":l(u),placeholder:l(p)},null,8,["modelValue","filtered-items-count","item-plural","item-singular","placeholder"]),t("span",ie,v(l(r)),1),t("div",oe,[(s(!0),a($,null,k(i.value,(d,w)=>(s(),y(Y,{key:w,provider:d,class:"brlbs-mt-4"},null,8,["provider"]))),128))])]))}}),ne={class:"brlbs-cmpnt-selection-controls brlbs-flex brlbs-space-x-2 brlbs-justify-end"},ce={class:"brlbs-flex"},be={class:"brlbs-flex"},de=h({__name:"service-group-tab",setup(e){const r=A.serviceGroups,p=()=>{Object.keys(A.serviceGroups).forEach(c=>{H(c)})},u=()=>{Object.keys(A.serviceGroups).forEach(c=>{j(c)})};return(c,b)=>(s(),a("div",null,[t("div",ne,[t("div",ce,[o(M,{onAction:p})]),t("div",be,[o(R,{onAction:u})])]),(s(!0),a($,null,k(l(r),(i,m)=>(s(),y(J,{key:m,"service-group":i,class:"brlbs-mt-4"},null,8,["service-group"]))),128))]))}}),pe={class:"brlbs-cmpnt-dialog-details brlbs-w-full",role:"alertdialog","aria-modal":"true","aria-labelledby":"BorlabsCookiePreferencesA11YHeadline"},ue={role:"document"},ve={class:"brlbs-p-4 md:brlbs-p-6 brlbs-relative"},me={class:"brlbs-cmpnt-dialog-details-description"},fe={class:"md:brlbs-max-h-80 md:brlbs-overflow-y-scroll"},_e={key:0},ye={class:"brlbs-sr-only"},he={key:1},Te={key:2},Se={key:3},ge={class:"brlbs-pb-4 md:brlbs-pb-6 brlbs-px-4 md:brlbs-px-12"},Ae={class:"md:brlbs-flex brlbs-space-y-3 md:brlbs-space-y-0 md:brlbs-space-x-4 brlbs-justify-between brlbs-items-stretch"},$e={key:0,class:"brlbs-cmpnt-dialog-footer brlbs-flex brlbs-justify-around"},He=h({__name:"default",setup(e){const r=n.a11yServiceGroupListExplained,p=S.dialogButtonDetailsOrder,u=S.dialogSupportBorlabsCookieStatus;return x(()=>{U()}),(c,b)=>(s(),a("div",pe,[t("div",ue,[t("div",ve,[o(K),t("div",me,[o(Z)]),o(ae),t("div",fe,[o(E,{name:"brlbs-cmpnt-animation-fade",mode:"out-in"},{default:L(()=>[l(_)==="serviceGroups"?(s(),a("section",_e,[t("span",ye,v(l(r)),1
1),o(de)])):l(_)==="services"?(s(),a("section",he,[o(Q)])):l(_)==="provider"?(s(),a("section",Te,[o(le)])):l(_)==="consentHistory"?(s(),a("section",Se,[o(q)])):g("",!0)]),_:1})])]),t("div",ge,[t("div",Ae,[(s(!0),a($,null,k(l(p),i=>(s(),a("div",{key:i,class:"brlbs-flex brlbs-w-full"},[i==="all"?(s(),y(V,{key:0,class:"brlbs-flex-1"})):i==="save"?(s(),y(z,{key:1,class:"brlbs-flex-1"})):i==="essential"?(s(),y(N,{key:2,class:"brlbs-flex-1"})):g("",!0)]))),128))])]),l(u)?(s(),a("div",$e,[o(O)])):g("",!0)])]))}});export{He 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.