1import{a as V}from"./chunk-RBJ3GBAH.js";import{a as T}from"./chunk-WKDHPYBX.js";import{b as E}from"./chunk-AXMW2GJQ.js";import{c as O,f as N}from"./chunk-CRSGAVRN.js";import"./chunk-V6X4AOUL.js";import"./chunk-5S3SAWKO.js";import"./chunk-NKCE6GN4.js";import"./chunk-PPMQE2JW.js";import"./chunk-5LVN5BSJ.js";import{b as P,g as h}from"./chunk-COVDRVWW.js";import{c as k,d as S}from"./chunk-IFQFWU42.js";import"./chunk-G6KU23WW.js";import{B as x,Cb as B,Eb as _,Gb as f,Ia as i,Ta as v,Ub as r,Vb as M,Wb as b,ca as m,ha as d,hc as s,ia as u,ic as c,kb as g,lb as y,pc as w,q as C,rb as o,sb as a}from"./chunk-WLTSAKSP.js";import"./chunk-IFGU66OU.js";function I(t,n){if(t&1){let e=B();o(0,"div",0)(1,"app-banner",1)(2,"div",2)(3,"span",3),r(4),s(5,"translate"),a(),o(6,"div",4)(7,"button",5),_("click",function(){d(e);let l=f();return u(l.consent.decline())}),r(8),s(9,"translate"),a(),o(10,"button",6),_("click",function(){d(e);let l=f();return u(l.consent.accept())}),r(11),s(12,"translate"),a()()()()()}t&2&&(i(4),M(c(5,3,"consent.message")),i(4),b(" ",c(9,5,"consent.decline")," "),i(3),b(" ",c(12,7,"consent.accept")," "))}var R=["verify-company"],D=class t{consent=m(V);router=m(h);url=E(this.router.events.pipe(x(n=>n instanceof P),C(n=>n.urlAfterRedirects)),{initialValue:this.router.url});visible=w(()=>this.consent.showBanner()&&!R.some(n=>this.url().includes(n)));static \u0275fac=function(e){return new(e||t)};static \u0275cmp=v({type:t,selectors:[["app-consent-banner"]],decls:1,vars:1,consts:[["role","region","aria-live","polite",1,"consent-banner"],["variant","info"],[1,"consent-banner__content"],[1,"consent-banner__message"],[1,"consent-banner__actions"],["mat-stroked-button","","type","button","data-test","decline",3,"click"],["mat-flat-button","","color","primary","type","button","data-test","accept",3,"click"]],template:function(e,p){e&1&&g(0,I,13,9,"div",0),e&2&&y(p.visible()?0:-1)},dependencies:[T,N,O,S,k],styles:[".consent-banner[_ngcontent-%COMP%]{position:fixed;inset-block-end:16px;inset-inline-start:16px;inset-inline-end:16px;z-index:100}@media(min-width:768px){.consent-banner[_ngcontent-%COMP%]{inset-inline-start:80px}}.consent-banner__content[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem}.consent-banner__actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}","app-consent-banner[_ngcontent-%COMP%] app-banner[_ngcontent-%COMP%]{border:none;box-shadow:0 4px 16px #0000001f}"]})};export{D as ConsentBannerComponent};
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.