import{M as r}from"./chunk-6JPQEPUM.js";import{K as n,N as t,ja as o,kc as a}from"./chunk-AHOKVAZI.js";var l=class e{api=t(r);sanitizer=t(a);promotionalVideo=this.api.resource({key:"promotionalVideo",request:i=>i.kiosk_allow_promotional_video==="Y"?[{endpoint:"plugins/ics_kiosk/video-promocional"}]:[],initialValue:null,transform:i=>i.data?this.sanitizer.sanitize(o.URL,`data:video/mp4;base64,${i.data}`):null});languages=this.api.resource({key:"languages",request:()=>[{endpoint:"ElementoGestion/Idioma/all",params:{active_only:!0}}],initialValue:[]});terminalInfo=this.api.resource({key:"terminalInfo",request:i=>[{endpoint:`Perifericos/Datafono/${i.cod_empresa}/${i.cod_restaurante}/${i.cod_datafono}`}]});plugins=this.api.resource({key:"plugins",request:()=>[{endpoint:"Plugins/active-plugins"}],initialValue:[]});static \u0275fac=function(s){return new(s||e)};static \u0275prov=n({token:e,factory:e.\u0275fac,providedIn:"root"})};export{l as a};
