import{a as v,b as _,c as h}from"./chunk-CMCRHNFU.js";import{H as f,J as R}from"./chunk-4EQLHXW7.js";import{Gd as b,Ob as c,Rc as m,Sa as l,Xc as u,Yc as d,Zc as g,ec as p,qc as i,rc as o,zc as r}from"./chunk-JSJB5BKT.js";import{e as y}from"./chunk-SZAW6ZBW.js";var j,w=y(()=>{b();h();R();b();h();j=(()=>{class t{constructor(){this.visible=!1,this.visibleChange=new l,this.onResult=new l}onConfirm(){this.onResult.emit(!0),this.visibleChange.emit(!1)}onReject(){this.onResult.emit(!1),this.visibleChange.emit(!1)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=c({type:t,selectors:[["app-request-recording-permission-dialog"]],inputs:{visible:"visible"},outputs:{visibleChange:"visibleChange",onResult:"onResult"},decls:7,vars:5,consts:[[1,"dialog-box",3,"visibleChange","visible","resizable","modal","closable","showHeader"],[1,"dialog-content"],[1,"button-group"],["type","button","label","Yes",3,"click"],["type","button","label","No",3,"click"]],template:function(n,e){n&1&&(i(0,"p-dialog",0),g("visibleChange",function(s){return d(e.visible,s)||(e.visible=s),s}),i(1,"div",1)(2,"p"),m(3,"Do you want to record your session?"),o(),i(4,"div",2)(5,"p-button",3),r("click",function(){return e.onConfirm()}),o(),i(6,"p-button",4),r("click",function(){return e.onReject()}),o()()()()),n&2&&(u("visible",e.visible),p("resizable",!1)("modal",!1)("closable",!1)("showHeader",!1))},dependencies:[_,v,f],styles:[".dialog-box[_ngcontent-%COMP%]{width:350px;background:var(--base-background-color);color:var(--text-color--primary)}.dialog-content[_ngcontent-%COMP%]{text-align:center;margin:1rem;display:flex;flex-direction:column;justify-content:space-between;gap:2rem}.button-group[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:end;gap:10px}"]})}}return t})()});export{j as a,w as b};
