PageSourceSearch

https://curumani-cesar.gov.co/chunk-KJ7ITW73.js

js curumani-cesar.gov.co collected 2026-10-03 01:34:32 UTC 41,840 bytes, 1 lines download raw bytes

1import{a as qt}from"./chunk-GNECFFG7.js";import{a as Ht,b as zt,c as oe}from"./chunk-ZV4XERJ2.js";import{a as Qt}from"./chunk-QSCDGZSP.js";import{a as Ot}from"./chunk-O4DRHE5P.js";import{a as Ft}from"./chunk-ZW5B5J3B.js";import{a as se}from"./chunk-AHQSOXDD.js";import{a as At}from"./chunk-GCE2MEC6.js";import{a as Yt}from"./chunk-W2ZMKN4C.js";import{a as Ut}from"./chunk-NGCQOK2V.js";import{a as Nt}from"./chunk-MIHC4Y75.js";import{d as Tt}from"./chunk-SB5L2XE4.js";import{A as Wt,D as Bt,c as $t,g as Vt,h as Rt,j as jt,l as Lt,m as Pt}from"./chunk-ICJV4PL6.js";import{a as Dt}from"./chunk-RIRGXRXY.js";import"./chunk-3GN2FC7K.js";import{t as Et}from"./chunk-47CSRN7C.js";import{c as Mt}from"./chunk-SKH2MXBC.js";import{b as Ct,i as yt,j as xt,k as bt,n as kt,q as St,r as wt,v as It}from"./chunk-BQLJE42W.js";import{$b as q,Ab as pt,Bb as mt,Db as $,Dc as gt,Ib as g,Jb as h,Pb as X,Qa as P,Qb as tt,Rb as et,Tb as p,Ub as j,V as lt,Vb as F,Xa as r,Ya as N,Zb as z,_ as ct,_b as Q,ac as ft,bb as ht,bc as vt,da as dt,dc as U,ec as it,gc as O,hc as _t,ib as k,ic as H,j as L,mb as u,na as C,oa as y,xb as o,ya as ut,yb as c,zb as m}from"./chunk-YE3BF7DR.js";import{d as ne,e as Z}from"./chunk-4IDNTCH7.js";var Jt=ne((nt,st)=>{"use strict";(function(i,t){typeof nt=="object"&&typeof st<"u"?st.exports=t():typeof define=="function"&&define.amd?define(t):(i=typeof globalThis<"u"?globalThis:i||self).dayjs_plugin_duration=t()})(nt,function(){"use strict";var i,t,e=1e3,n=6e4,s=36e5,a=864e5,_=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,T=31536e6,w=2628e6,D=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,I={years:T,months:w,days:a,hours:s,minutes:n,seconds:e,milliseconds:1,weeks:6048e5},W=function(f){return f instanceof at},S=function(f,d,l){return new at(f,l,d.$l)},V=function(f){return t.p(f)+"s"},ot=function(f){return f<0},B=function(f){return ot(f)?Math.ceil(f):Math.floor(f)},te=function(f){return Math.abs(f)},Y=function(f,d){return f?ot(f)?{negative:!0,format:""+te(f)+d}:{negative:!1,format:""+f+d}:{negative:!1,format:""}},at=function(){function f(l,v,b){var x=this;if(this.$d={},this.$l=b,l===void 0&&(this.$ms=0,this.parseFromMilliseconds()),v)return S(l*I[V(v)],this);if(typeof l=="number")return this.$ms=l,this.parseFromMilliseconds(),this;if(typeof l=="object")return Object.keys(l).forEach(function(R){x.$d[V(R)]=l[R]}),this.calMilliseconds(),this;if(typeof l=="string"){var M=l.match(D);if(M){var A=M.slice(2).map(function(R){return R!=null?Number(R):0});return this.$d.years=A[0],this.$d.months=A[1],this.$d.weeks=A[2],this.$d.days=A[3],this.$d.hours=A[4],this.$d.minutes=A[5],this.$d.seconds=A[6],this.calMilliseconds(),this}}return this}var d=f.prototype;return d.calMilliseconds=function(){var l=this;this.$ms=Object.keys(this.$d).reduce(function(v,b){return v+(l.$d[b]||0)*I[b]},0)},d.parseFromMilliseconds=function(){var l=this.$ms;this.$d.years=B(l/T),l%=T,this.$d.months=B(l/w),l%=w,this.$d.days=B(l/a),l%=a,this.$d.hours=B(l/s),l%=s,this.$d.minutes=B(l/n),l%=n,this.$d.seconds=B(l/e),l%=e,this.$d.milliseconds=l},d.toISOString=function(){var l=Y(this.$d.years,"Y"),v=Y(this.$d.months,"M"),b=+this.$d.days||0;this.$d.weeks&&(b+=7*this.$d.weeks);var x=Y(b,"D"),M=Y(this.$d.hours,"H"),A=Y(this.$d.minutes,"M"),R=this.$d.seconds||0;this.$d.milliseconds&&(R+=this.$d.milliseconds/1e3,R=Math.round(1e3*R)/1e3);var K=Y(R,"S"),ee=l.negative||v.negative||x.negative||M.negative||A.negative||K.negative,ie=M.format||A.format||K.format?"T":"",G=(ee?"-":"")+"P"+l.format+v.format+x.format+ie+M.format+A.format+K.format;return G==="P"||G==="-P"?"P0D":G},d.toJSON=function(){return this.toISOString()},d.format=function(l){var v=l||"YYYY-MM-DDTHH:mm:ss",b={Y:this.$d.years,YY:t.s(this.$d.years,2,"0"),YYYY:t.s(this.$d.years,4,"0"),M:this.$d.months,MM:t.s(this.$d.months,2,"0"),D:this.$d.days,DD:t.s(this.$d.days,2,"0"),H:this.$d.hours,HH:t.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,"0"),SSS:t.s(this.$d.milliseconds,3,"0")};return v.replace(_,function(x,M){return M||String(b[x])})},d.as=function(l){return this.$ms/I[V(l)]},d.get=function(l){var v=this.$ms,b=V(l);return b==="milliseconds"?v%=1e3:v=b==="weeks"?B(v/I[b]):this.$d[b],v||0},d.add=function(l,v,b){var x;return x=v?l*I[V(v)]:W(l)?l.$ms:S(l,this).$ms,S(this.$ms+x*(b?-1:1),this)},d.subtract=function(l,v){return this.add(l,v,!0)},d.locale=function(l){var v=this.clone();return v.$l=l,v},d.clone=function(){return S(this.$ms,this)},d.humanize=function(l){return i().add(this.$ms,"ms").locale(this.$l).fromNow(!l)},d.valueOf=function(){return this.asMilliseconds()},d.milliseconds=function(){return this.get("milliseconds")},d.asMilliseconds=function(){return this.as("milliseconds")},d.seconds=function(){return this.get("seconds")},d.asSeconds=function(){return this.as("seconds")},d.minutes=function(){return this.get("minutes")},d.asMinutes=function(){return this.as("minutes")},d.hours=function(){return this.get("hours")},d.asHours=function(){return this.as("hours")},d.days=function(){return this.get("days")},d.asDays=function(){return this.as("days")},d.weeks=function(){return this.get("weeks")},d.asWeeks=function(){return this.as("weeks")},d.months=function(){return this.get("months")},d.asMonths=function(){return this.as("months")},d.years=function(){return this.get("years")},d.asYears=function(){return this.as("years")},f}(),rt=function(f,d,l){return f.add(d.years()*l,"y").add(d.months()*l,"M").add(d.days()*l,"d").add(d.hours()*l,"h").add(d.minutes()*l,"m").add(d.seconds()*l,"s").add(d.milliseconds()*l,"ms")};return function(f,d,l){i=l,t=l().$utils(),l.duration=function(x,M){var A=l.locale();return S(x,{$l:A},M)},l.isDuration=W;var v=d.prototype.add,b=d.prototype.subtract;d.prototype.add=function(x,M){return W(x)?rt(this,x,1):v.bind(this)(x,M)},d.prototype.subtract=function(x,M){return W(x)?rt(this,x,-1):b.bind(this)(x,M)}}})});var E=Z(se());var Zt=Z(oe()),Xt=Z(Jt());var J=class i{constructor(t){this.document=t;this.options.text=this.options.text||this.toastify.defaults.text,this.options.title="",this.options.state="info",this.options.node=this.options.node||this.toastify.defaults.node,this.options.duration=4e3,this.options.selector=this.options.selector||this.toastify.defaults.selector,this.options.callback=this.options.callback||this.toastify.defaults.callback,this.options.destination=this.options.destination||this.toastify.defaults.destination,this.options.newWindow=this.options.newWindow||this.toastify.defaults.newWindow,this.options.close=this.options.close||this.toastify.defaults.close,this.options.gravity=this.options.gravity==="bottom"?"toastify-bottom":this.toastify.defaults.gravity,this.options.positionLeft=this.options.positionLeft||this.toastify.defaults.positionLeft,this.options.position=this.options.position||this.toastify.defaults.position,this.options.backgroundColor=this.options.backgroundColor||this.toastify.defaults.backgroundColor,this.options.avatar=this.options.avatar||this.toastify.defaults.avatar,this.options.className=this.options.className||this.toastify.defaults.className,this.options.stopOnFocus=this.toastify.defaults.stopOnFocus,this.options.onClick=this.options.onClick||this.toastify.defaults.onClick,this.options.offset=this.options.offset||this.toastify.defaults.offset,this.options.escapeMarkup=this.toastify.defaults.escapeMarkup,this.options.style=this.options.style||this.toastify.defaults.style}
1toastify={defaults:{oldestFirst:!0,text:"Example toast",node:void 0,duration:3e3,selector:void 0,callback:()=>{},destination:void 0,newWindow:!1,close:!0,gravity:"toastify-bottom",positionLeft:!1,position:"",backgroundColor:"",avatar:"icon-noti",className:"",stopOnFocus:!0,onClick:()=>{},offset:{x:0,y:0},escapeMarkup:!1,style:{background:""}}};options={text:null,title:null,state:null,node:null,duration:null,selector:null,callback:null,destination:null,newWindow:null,close:null,gravity:null,positionLeft:null,position:null,backgroundColor:null,avatar:null,className:null,stopOnFocus:null,onClick:null,offset:null,escapeMarkup:null,style:null};showToast(t,e="",n=null){this.options.text=t,this.options.title=e,this.setOptionsToast(n);let s=this.buildToast();var a;if(typeof this.options.selector=="string"?a=document.getElementById(this.options.selector):this.options.selector instanceof HTMLElement||typeof ShadowRoot<"u"&&this.options.selector instanceof ShadowRoot?a=this.options.selector:a=document.body,!a)throw"Root element is not defined";var _=this.toastify.defaults.oldestFirst?a.firstChild:a.lastChild;a.insertBefore(s,_),this.reposition()}setOptionsToast(t=null){if(t!=null&&t!=null){if(t.state!=null)switch(t.state){case"success":t.avatar="icon-check",t.style={background:"#47d764"};break;case"warning":t.avatar="icon-transact",t.style={background:"#e79a09"};break;case"error":t.avatar="icon-quest1",t.style={background:"#d61e1e"};break;default:t.avatar="icon-noti",t.style={background:"#3266cc"}}this.options.node=t.node||this.options.node,this.options.duration=t.duration||this.options.duration,this.options.selector=t.selector||this.options.selector,this.options.callback=t.callback||this.options.callback,this.options.destination=t.destination||this.options.destination,this.options.newWindow=t.newWindow||this.options.newWindow,this.options.close=t.close||this.options.close,this.options.gravity=t.gravity||this.options.gravity,this.options.positionLeft=t.positionLeft||this.options.positionLeft,this.options.position=t.position||this.options.position,this.options.backgroundColor=t.backgroundColor||this.options.backgroundColor,this.options.avatar=t.avatar||this.options.avatar,this.options.className=t.className||this.options.className,this.options.stopOnFocus=t.stopOnFocus||this.options.stopOnFocus,this.options.onClick=t.onClick||this.options.onClick,this.options.offset=t.offset||this.options.offset,this.options.escapeMarkup=t.escapeMarkup||this.options.escapeMarkup,this.options.style=t.style||this.options.style}}buildToast(){if(!this.options)throw"Toastify is not initialized";var t=this.document.createElement("div");t.className="toastify on "+this.options.className,this.options.position?t.className+=" toastify-"+this.options.position:this.options.positionLeft===!0?(t.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):t.className+=" toastify-right",t.className+=" "+this.options.gravity,this.options.backgroundColor&&console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.');for(var e in this.options.style)t.style[parseInt(e)]=this.options.style[e];if(this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)t.appendChild(this.options.node);else{var n=this.document.createElement("div");if(n.className="toastify-containerText",this.options.escapeMarkup?n.innerText=this.options.text:n.innerHTML=this.options.text,t.appendChild(n),this.options.avatar!==""){var s=this.document.createElement("div");s.className="toastify-avatar";var a=this.document.createElement("i");a.classList.add(this.options.avatar),s.appendChild(a),t.appendChild(s)}}if(this.options.close===!0){var _=this.document.createElement("button");_.type="button",_.setAttribute("aria-label","Close"),_.className="toast-close",_.innerHTML="&#10006;",_.addEventListener("click",S=>{S.stopPropagation(),this.removeElement(t);let V=Number(t.getAttribute("timeout-value"));Number.isNaN(V)||window.clearTimeout(V)});var T=window.innerWidth>0?window.innerWidth:screen.width;(this.options.position=="left"||this.options.positionLeft===!0)&&T>360?t.insertAdjacentElement("afterbegin",_):t.appendChild(_)}if(this.options.stopOnFocus&&this.options.duration>0&&(t.addEventListener("mouseover",S=>{let V=Number(t.getAttribute("timeout-value"));Number.isNaN(V)||window.clearTimeout(V)}),t.addEventListener("mouseleave",()=>{let S=window.setTimeout(()=>{this.removeElement(t)},this.options.duration);t.setAttribute("timeout-value",S.toString())})),typeof this.options.destination<"u"&&t.addEventListener("click",S=>{S.stopPropagation(),this.options.newWindow===!0?window.open(this.options.destination,"_blank"):window.location=this.options.destination}),typeof this.options.onClick=="function"&&typeof this.options.destination>"u"&&t.addEventListener("click",S=>{S.stopPropagation(),this.options.onClick()}),typeof this.options.offset=="object"){var w=this.getAxisOffsetAValue("x",this.options),D=this.getAxisOffsetAValue("y",this.options),I=this.options.position=="left"?w:"-"+w,W=this.options.gravity=="toastify-top"?D:"-"+D;t.style.transform="translate("+I+","+W+")"}if(this.options.duration>0){let S=window.setTimeout(()=>{this.removeElement(t)},this.options.duration);t.setAttribute("timeout-value",S.toString())}return t}removeElement(t){t.className=t.className.replace(" on",""),window.setTimeout(()=>{this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),t.parentNode&&t.parentNode.removeChild(t),this.options.callback.call(t),this.reposition()},200)}getAxisOffsetAValue(t,e){return this.options.offset[t]?isNaN(this.options.offset[t])?this.options.offset[t]:this.options.offset[t]+"px":"0px"}reposition(){for(var t={top:15,bottom:60},e={top:15,bottom:60},n={top:15,bottom:60},s=this.document.getElementsByClassName("toastify"),a,_=0;_<s.length;_++){let I=s[_];this.containsClass(I,"toastify-top")===!0?a="toastify-top":a="toastify-bottom";var T=I.offsetHeight;a=a.substr(9,a.length-1);var w=15,D=window.innerWidth>0?window.innerWidth:screen.width;D<=360?(I.style[a]=n[a]+"px",n[a]+=T+w):this.containsClass(I,"toastify-left")===!0?(I.style[a]=t[a]+"px",t[a]+=T+w):(I.style[a]=e[a]+"px",e[a]+=T+w)}return this}containsClass(t,e){return!t||typeof e!="string"?!1:!!(t.className&&t.className.trim().split(/\s+/gi).indexOf(e)>-1)}static \u0275fac=function(e){return new(e||i)(ct(Ct))};static \u0275prov=lt({token:i,factory:i.\u0275fac,providedIn:"root"})};var le=["chatTxt"],ce=["contentResponses"],Kt=i=>({active:i}),de=i=>({"talk-col--visible":i}),ue=(i,t)=>({"new-message":i,active:t}),he=i=>({previewurl:i}),pe=(i,t)=>({user:i,admin:t}),me=i=>({"background-image":i});function fe(i,t){if(i&1&&(o(0,"div",18)(1,"div",5)(2,"a",19),m(3,"img",20),c()()()),i&2){let e=h();r(2),u("href",e.linkAccess,P),r(),u("src",e.logoTopBar,P)}}function ve(i,t){i&1&&(o(0,"div",21)(1,"div",21),m(2,"img",22)(3,"br")(4,"br"),o(5,"div",23),p(6,"Conectando..."),c()()())}function _e(i,t){if(i&1){let e=$();o(0,"button",41),g("click",function(){C(e);let s=h(2);return y(s.closeSession())}),m(1,"span",42),o(2,"span"),p(3,"Desconectarme del chat"),c()()}}function ge(i,t){if(i&1){let e=$();o(0,"div",43)(1,"button",44),g("click",function(){C(e);let s=h(2);return y(s.downloadFile())}),p(2," Descargar informaci\xF3n de Chats "),c(),o(3,"input",45),q("ngModelChange",function(s){C(e);let a=h(2);return Q(a.dateRange,s)||(a.dateRange=s),y(s)}),g("ngModelChange",function(){C(e);let s=h(2);return y(s.setRange())}),c()()}if(i&2){let e=h(2);r(3),u("locale",e.locale),z("ngModel",e.dateRange),u("altInput",!0)("convertModelValue",!0)}}function Ce(i,t){i&1&&m(0,"div",46)}function ye(i,t){if(i&1){let e=$();o(0,"div",48)(1,"button",49),g("click",function(){C(e);let s=h().$implicit,a=h(2);return y(a.setChat(s))}),o(2,"div",50)(3,"div",51)(4,"div",52)(5,"div",53),p(6),O(7,"highlight"),c(),m(8,"div",54),c(),o(9,"div",55),p(10),O(11,"highlight"),c()()(),o(12,"div",56),p(13),c()()()}if(i&2){let e=h().$implicit,n=h(2);u("ngClass",it(10,ue,e.newMessage||e.status==="Waiting",e.conversationID===(n.currentConversation==null||n.currentConversation.conversation==null?null:n.currentConversation.conversation.conversationID))),r(6),j(H(7,4,e.userNameLabel,n.searchCriteria)),r(4),j(H(11,7,e.status==="Waiting"?"Esperando...":e.lastMessage,n.searchCriteria)),r(3),F(" ",e.creationDate.getIntervalTime()," ")}}function xe(i,t){if(i&1&&(pt(0),k(1,ye,14,13,"div",47),mt()),i&2){let e=t.$implicit,n=h(2);r(),u("ngIf",e.status==="Waiting"||e.userID===n.userID||e.status==="Closed")}}function be(i,t){if(i&1){let e=$();o(0,"button",57),g("click",function(){C(e);let s=h(2);return y(s.nextConversation())}),p(1," Ver m\xE1s "),m(2,"i",58),c()}}function ke(i,t){i&1&&(o(0,"div",59),m(1,"img",60),o(2,"span"),p(3,"Selecciona un chat"),c()())}function Se(i,t){if(i&1){let e=$();
1o(0,"button",75),g("click",function(){C(e);let s=h(3);return y(s.closeConversation())}),m(1,"span",76),p(2," Cerrar conversaci\xF3n "),c()}if(i&2){let e=h(3);u("disabled",e.isBusy)}}function we(i,t){if(i&1&&(o(0,"span"),p(1),c()),i&2){let e=h(3);r(),F(" ",e.currentConversation.responseTime," ")}}function Ie(i,t){if(i&1&&(o(0,"span"),p(1),c()),i&2){let e=h(3);r(),F(" ",e.currentConversation.conversationTime," ")}}function Te(i,t){if(i&1&&(o(0,"span"),p(1),c()),i&2){let e=h(3);r(),F(" ",e.currentConversation.adminName," ")}}function Me(i,t){if(i&1){let e=$();o(0,"button",77),g("click",function(){C(e);let s=h(3);return y(s.nextMessage())}),p(1," Ver m\xE1s "),o(2,"span"),m(3,"i",78),c()()}}function Ee(i,t){if(i&1&&(o(0,"div",86)(1,"a",87),m(2,"img",88),c(),o(3,"div")(4,"a",89),p(5),c()()()),i&2){let e=h().$implicit,n=h(3);r(),u("href",n.chatPath+e.file.path,P),r(3),u("href",n.chatPath+e.file.path,P),r(),F(" ",e.file.fileName," ")}}function De(i,t){if(i&1&&(o(0,"div",90)(1,"a",87)(2,"div",91),m(3,"img",92),c(),o(4,"div",93),p(5),c(),o(6,"p",94),p(7),c()()()),i&2){let e=h().$implicit;r(),u("href",e.urlInfo.url,P),r(2),u("src",e.urlInfo.image,P),r(2),F(" ",e.urlInfo.title," "),r(2),F(" ",e.urlInfo.description," ")}}function Ae(i,t){if(i&1&&(o(0,"div",79)(1,"div",80),m(2,"div",81),o(3,"div")(4,"b"),p(5),O(6,"highlight"),c()(),o(7,"div",82),p(8),O(9,"highlight"),c(),k(10,Ee,6,3,"div",83)(11,De,8,4,"div",84),m(12,"br"),o(13,"div",85),p(14),O(15,"date"),O(16,"lowercase"),c()()()),i&2){let e=t.$implicit,n=h(3);u("ngClass",it(17,pe,e.creatorID===n.currentConversation.conversation.key,e.creatorID!==n.currentConversation.conversation.userIdentification)),r(5),j(H(6,6,e.name,n.filter.criteria)),r(3),j(H(9,9,e.description,n.searchCriteria)),r(2),u("ngIf",e.file),r(),u("ngIf",e.urlInfo),r(3),F(" ",_t(16,15,H(15,12,e.creationDate,"hh:mm a"))," ")}}function Ne(i,t){if(i&1){let e=$();o(0,"div",95),m(1,"div",96),o(2,"div",97)(3,"div"),p(4),c(),o(5,"div"),p(6),c()(),o(7,"div",98)(8,"button",99),g("click",function(){C(e);let s=h(3);return y(s.disabledCrawler())}),m(9,"i",76),c()()()}if(i&2){let e=h(3);r(),u("ngStyle",U(3,me,"url("+e.urlInfo.image+")")),r(3),j(e.urlInfo.title),r(2),j(e.urlInfo.description)}}function Fe(i,t){if(i&1){let e=$();o(0,"div",114)(1,"a",87),p(2),c(),o(3,"div",115),g("click",function(){C(e);let s=h(4);return y(s.removeFile())}),m(4,"span",116),c()()}if(i&2){let e=h(4);r(),u("href",e.currentConversation.filePath,P),r(),j(e.currentConversation.fileName)}}function $e(i,t){if(i&1&&(o(0,"div"),p(1),c()),i&2){let e=h(4);r(),F(" Cargando... ",e.currentConversation.percentage," ")}}function Ve(i,t){i&1&&(o(0,"div",117),m(1,"input",118)(2,"i",119),c())}function Re(i,t){if(i&1){let e=$();o(0,"button",99),g("click",function(){let s=C(e).$implicit,a=h(5);return y(a.addEmoji(s))}),p(1),c()}if(i&2){let e=t.$implicit;r(),j(e)}}function je(i,t){if(i&1&&(o(0,"div",120),k(1,Re,2,1,"button",121),c()),i&2){let e=h(4);r(),u("ngForOf",e.emojis)}}function Le(i,t){if(i&1){let e=$();o(0,"div",100)(1,"form",101,1),g("ngSubmit",function(){C(e);let s=h(3);return y(s.sendMessage())}),o(3,"div",102)(4,"textarea",103),g("input",function(){C(e);let s=h(3);return y(s.txtInput())})("keyup",function(s){C(e);let a=h(3);return y(a.typing(s))}),q("ngModelChange",function(s){C(e);let a=h(3);return Q(a.currentConversation.message,s)||(a.currentConversation.message=s),y(s)}),p(5,"                "),c(),o(6,"div",104),k(7,Fe,5,2,"div",105),o(8,"div",106),p(9),c()()(),o(10,"div",107)(11,"div",108),k(12,$e,2,1,"div",68),o(13,"button",109),g("click",function(s){C(e);let a=h(3);return y(a.openEmoji(s))}),m(14,"i",110),c(),k(15,Ve,3,0,"div",111)(16,je,2,1,"div",112),c(),o(17,"button",113),p(18,"Enviar"),c()()()()}if(i&2){let e=h(3);r(4),z("ngModel",e.currentConversation.message),r(3),u("ngIf",e.currentConversation.filePath),r(2),F("",550-(e.currentConversation.message==null?null:e.currentConversation.message.length)," Caracteres"),r(3),u("ngIf",e.currentConversation.percentage),r(3),u("ngIf",!e.currentConversation.filePath),r(),u("ngIf",e.emojiOpen),r(),u("disabled",e.isBusy)}}function Pe(i,t){if(i&1&&(o(0,"div",61)(1,"div",62)(2,"div",63),m(3,"span",64),o(4,"div",65),p(5),c()(),k(6,Se,3,1,"button",66),c(),o(7,"div",67),k(8,we,2,1,"span",68)(9,Ie,2,1,"span",68)(10,Te,2,1,"span",68),c(),o(11,"div",69,0),k(13,Me,4,0,"button",70),o(14,"div",71),p(15),c(),k(16,Ae,17,20,"div",72),c(),k(17,Ne,10,5,"div",73)(18,Le,19,7,"div",74),c()),i&2){let e=h(2);r(5),F(" ",e.currentConversation.conversation.userName," "),r(),u("ngIf",e.currentConversation.conversation.status!=="Closed"),r(2),u("ngIf",e.currentConversation.responseTime),r(),u("ngIf",e.currentConversation.conversationTime),r(),u("ngIf",e.currentConversation.adminName),r(),u("ngClass",U(11,he,e.urlInfo!==null)),r(2),u("ngIf",e.messageFilter.hasNextPage),r(2),F(" ",e.getDateFormat(e.currentConversation.conversation.creationDate)," "),r(),u("ngForOf",e.currentConversation.messages),r(),u("ngIf",e.urlInfo),r(),u("ngIf",e.currentConversation.conversation.status!=="Closed")}}function We(i,t){if(i&1){let e=$();o(0,"div",24)(1,"div",25)(2,"div",26)(3,"div",27)(4,"div")(5,"button",28),g("click",function(){C(e);let s=h();return y(s.changeFilter("Waiting,Opened",1e3,!0))}),p(6," Activas "),c(),o(7,"button",28),g("click",function(){C(e);let s=h();return y(s.changeFilter("Closed",10,!1))}),p(8," Cerradas "),c(),m(9,"app-helper",29),c(),k(10,_e,4,0,"button",30),c(),o(11,"div",31)(12,"input",32),q("ngModelChange",function(s){C(e);let a=h();return Q(a.filter.criteria,s)||(a.filter.criteria=s),y(s)}),g("keyup",function(){C(e);let s=h();return y(s.search())}),c(),o(13,"div",33),g("click",function(){C(e);let s=h();return y(s.search())}),c()(),k(14,ge,4,4,"div",34)(15,Ce,1,0,"div",35)(16,xe,2,1,"ng-container",36)(17,be,3,0,"button",37),c(),o(18,"div",38),k(19,ke,4,0,"div",39)(20,Pe,19,13,"div",40),c()()()}if(i&2){let e=h();r(5),u("ngClass",U(11,Kt,e.filter.status==="Waiting,Opened")),r(2),u("ngClass",U(13,Kt,e.filter.status==="Closed")),r(3),u("ngIf",e.isConnected),r(2),z("ngModel",e.filter.criteria),r(2),u("ngIf",e.filter.status==="Closed"),r(),u("ngIf",e.filter.status==="Closed"),r(),u("ngForOf",e.conversations),r(),u("ngIf",e.filter.hasNextPage),r(),u("ngClass",U(15,de,e.currentConversation!==null)),r(),u("ngIf",!(e.currentConversation!=null&&e.currentConversation.conversation)),r(),u("ngIf",e.currentConversation==null?null:e.currentConversation.conversation)}}E.default.extend(Xt.default);var Gt=class i{constructor(t,e,n,s,a,_,T,w,D,I,W,S){this.sharedSignalsService=t;this.modalService=e;this.chatWindowService=n;this.settingService=s;this.renderer=a;this.router=_;this.toastService=T;this.notificationWindowService=w;this.helperService=D;this.fileService=I;this.el=W;this.appService=S;gt(()=>{this.linkAccess=this.sharedSignalsService.linkAccess(),this.logoTopBar=this.sharedSignalsService.logoTopBar(),this.headerTitle=this.sharedSignalsService.headerTitle(),this.topBar=this.sharedSignalsService.topBar(),this.gov=this.sharedSignalsService.gov()})}chatTxt;contentResponses;locale=Zt.Spanish;
1audio=new Audio("./assets/audio/chat_alert.mp3");isConnected=!1;currentDate=(0,E.default)();conversations;currentConversation;report={};userID=0;urlInfo;dateRange={};regUrl=/(ftp|http|https):\/\/[^ "]+/gi;unlockCrawler=!0;executeCrawler=!1;searchCriteria;messageSignOut="\xBFEst\xE1s seguro que deseas salir del chat?";linkAccess;logoTopBar;topBar;headerTitle="";gov;secureClose=!1;chatPath;filter={};messageFilter={};isBusy=!1;emojiOpen=!1;lockFileUpload=!1;emojis=["\u{1F600}","\u{1F603}","\u{1F604}","\u{1F601}","\u{1F606}","\u{1F602}","\u{1F60D}","\u{1F618}","\u{1F617}","\u{1F619}","\u{1F61A}"];chatLoaded;ngOnInit(){window.nosune={Settings:{authorityDomain:this.settingService.settings.authorityDomain,general:{chatProtocol:this.settingService.settings.general.chatProtocol,enablePQR:this.settingService.settings.general.enablePQR,chatOffline:this.settingService.settings.general.chatOffline,chatOnline:this.settingService.settings.general.chatOnline,clientId:this.settingService.settings.general.clientId,realm:this.settingService.settings.general.realm,keycloackURI:this.settingService.settings.general.keycloackURI,resourcekeycloak:this.settingService.settings.general.resourcekeycloak,chatTimeInactivity:this.settingService.settings.general.chatTimeInactivity,siteKeyword:this.settingService.settings.general.siteKeyword}}},this.activate()}activate(){this.dateRange.start=(0,E.default)().add(-7,"days").format("YYYY-MM-DD"),this.dateRange.end=(0,E.default)().format("YYYY-MM-DD"),this.selectRange(),this.chatPath=this.settingService.settings.general.chatProtocol+"://chat"+this.settingService.settings.authorityDomain.split(this.settingService.settings.general.siteKeyword)[1],this.settingService.settings.general.chatEnabled?(this.filter.status="Waiting,Opened",this.filter.page=0,this.filter.pageSize=1e3,this.filter.asc=!0,this.filter.start=null,this.filter.end=null,this.messageFilter.page=0,this.messageFilter.pageSize=10,this.messageFilter.hasNextPage=!1,this.loadScript()):this.router.navigate(["/"])}loadScript(){if(!this.chatLoaded){var t=document.createElement("script");t.src=this.chatPath+"/scripts/resources.js?v=1g2t3g&d="+this.settingService.settings.general.siteKeyword,t.async=!0,t.type="text/javascript",t.id="MCDC",t.defer=!0,t.onload=()=>{this.loadChat(),this.chatLoaded=!0};let e=document.getElementsByTagName("script")[0];e.parentNode?.insertBefore(t,e)}}getDateFormat(t){let e=(0,E.default)(t).format("LL"),n=this.currentDate!=null?(0,E.default)(this.currentDate).format("LL"):null;return(n==null||e!==n)&&(this.currentDate=(0,E.default)(t)),e}closeSession(){this.checkMessages(),this.modalService.showConfirm("\xBFEst\xE1s seguro que deseas salir del chat?").subscribe(t=>{t&&(this.secureClose=!0,this.chatWindowService.close())})}checkMessages(){this.conversations&&this.conversations.length&&this.filter.status==="Waiting,Opened"&&(this.messageSignOut="Tienes "+(this.conversations.length===1?"una conversacion activa":this.conversations.length+" conversaciones activas")+". \xBFEstas seguro que deseas salir del chat?")}selectRange(){this.report.startDate=this.dateRange.start,this.report.endDate=this.dateRange.end}loadChat(){L(MCDChat.adminConnect(localStorage.getItem("token"))).subscribe({next:t=>{this.userID=t.userID,L(MCDChat.viewQueue(this.filter.status,this.filter.page,this.filter.pageSize,null,null,this.filter.asc,this.filter.start,this.filter.end)).subscribe({next:e=>{this.subscribe(),this.isConnected=!0,this.conversations=e.results.map(n=>(n.userNameLabel=this.buildLabelName(n),n)),window.onbeforeunload=()=>{this.secureClose||MCDChat.close()}},error:()=>{this.modalService.showAlert("No se pudo consultar los usuarios conectados, Int\xE9ntalo m\xE1s tarde")}})},error:t=>{if(t.status===400)try{let e=JSON.parse(t.response);this.modalService.showAlert(e.File[0])}catch{this.modalService.showAlert("No se pudo establecer la conexi\xF3n, Int\xE9ntalo m\xE1s tarde")}else this.modalService.showAlert("No se pudo establecer la conexi\xF3n, Int\xE9ntalo m\xE1s tarde")}})}subscribe(){MCDChat.onReceiveMessage((t,e,n)=>{if(this.checkIfValidUUID(n.creatorID)){let s=`Has recibido un nuevo mensaje de ${n.name}.`;this.toastService.showToast(s,""),this.notificationWindowService.send("",s,"",""),this.audio.play()}if(this.currentConversation&&this.currentConversation.conversation.conversationID===n.conversationID)this.buildMessage(n),this.currentConversation.messages.push(n),this.isBusy=!1,this.last();else{let s=this.conversations.find(a=>a.userName===n);s&&(s.newMessage=!0)}}),MCDChat.onJoinUser(t=>{if(this.filter.status==="Closed")this.changeFilter("Waiting,Opened",1e3,!0);else{t.userNameLabel=this.buildLabelName(t),this.conversations.push(t),this.audio.play();let e=`${t.userName} ha iniciado una conversaci\xF3n.`;this.toastService.showToast(e,""),this.notificationWindowService.send("",e,"","")}}),MCDChat.onRemoveConversation((t,e,n)=>{let s=this.conversations.find(a=>a.conversationID===t);if(s){if(e==="Closed"||n!==this.userID){let a=this.conversations.indexOf(s);a>-1&&this.conversations.splice(a,1)}if(e==="Closed"&&this.currentConversation&&this.currentConversation.conversation.conversationID===t){let a=this.currentConversation.conversation.userName;a?this.modalService.showExit(`La conversaci\xF3n con ${a} se ha cerrado.`,"Chat cerrado"):this.modalService.showExit("La conversaci\xF3n se ha cerrado.","Chat cerrado"),this.currentConversation=null}}})}last(){let t=this.contentResponses.nativeElement;setTimeout(()=>{t.scrollTop=t.scrollHeight},100)}buildLabelName(t){return`${t.userName} - ${("0000000"+t.conversationID).slice(-7)}`}checkIfValidUUID(t){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/gi.test(t)}buildMessages(t){L(MCDChat.getMessages(t,this.messageFilter.page,this.messageFilter.pageSize)).subscribe({next:e=>{this.messageFilter.page===0&&(this.currentConversation.messages=[],this.last()),e.results.forEac
1h(n=>{this.buildMessage(n),this.currentConversation.messages.unshift(n)}),this.messageFilter.hasNextPage=e.hasNextPage},error:e=>{console.error(e)}})}buildMessage(t){if(t.description=this.helperService.findLinks(t.description),t.additional)try{t.urlInfo=JSON.parse(t.additional)}catch{}}changeFilter(t,e,n){if(this.currentConversation&&this.currentConversation.percentage){this.modalService.showAlert("No puedes listar conversaciones cerradas mientras se subiendo un archivo.");return}this.filter.page=0,this.filter.status=t,this.filter.pageSize=e,this.filter.hasNextPage=!1,this.filter.criteria="",this.filter.asc=n,this.currentConversation=null,this.conversations=[],this.setRangeFilter(t==="Closed"),this.buildConversations()}setRangeFilter(t){this.filter.start=t?this.appService.format(this.dateRange.start,"YYYY-MM-DD"):null,this.filter.end=t?this.appService.format(this.dateRange.end,"YYYY-MM-DD"):null}buildConversations(){this.searchCriteria=this.filter.criteria,L(MCDChat.viewQueue(this.filter.status,this.filter.page,this.filter.pageSize,this.filter.criteria,this.filter.conversationID,this.filter.asc,this.filter.start,this.filter.end)).subscribe({next:t=>{this.isConnected=!0,this.filter.page===0&&(this.conversations=[]),t.results.forEach(e=>{e.userNameLabel=this.buildLabelName(e),this.conversations.push(e)}),this.filter.hasNextPage=t.hasNextPage},error:()=>{this.modalService.showAlert("No se pudo consultar los usuarios conectados, Intentalos m\xE1s tarde")}})}openEmoji(t){t.stopPropagation(),this.emojiOpen=!0}closeEmoji(){this.emojiOpen=!1}search(){this.filter.page=0,isNaN(parseInt(this.filter.criteria))?this.filter.conversationID=null:this.filter.conversationID=parseInt(this.filter.criteria),this.conversations=[],this.currentConversation=null,this.buildConversations()}downloadFile(){let t=`&start=${this.report.startDate}&end=${this.report.endDate}`;window.open(`${this.chatPath}/api/v1/conversations/report?alias=example&criteria=${this.filter.criteria||""}&conversationID=${this.filter.conversationID||""}${t}&secret=${localStorage.getItem("token")}`)}setRange(){this.selectRange(),this.setRangeFilter(!0),this.filter.page=0,this.buildConversations()}setChat(t){if(this.currentConversation?.percentage){this.modalService.showAlert("No puedes abrir una conversaci\xF3n mientras se est\xE1 subiendo un archivo.");return}if(t.newMessage=!1,this.lockFileUpload||setTimeout(()=>{let _=document.getElementById("inp-change");_&&_.addEventListener("change",T=>{let w=T.target;w.files?.length&&!this.lockFileUpload&&(this.lockFileUpload=!0,this.isBusy=!0,L(MCDChat.uploadFile(w.files[0],D=>{this.currentConversation.percentage=`${D}%`})).subscribe({next:D=>{this.lockFileUpload=!1,w.value="",this.currentConversation.conversation.fileID=D.fileID,this.currentConversation.filePath=`${this.chatPath}${D.path}`,this.currentConversation.percentage=null,this.currentConversation.fileName=D.fileName,this.isBusy=!1},error:()=>{w.value="",this.lockFileUpload=!1,this.currentConversation.percentage=null,this.isBusy=!1}}))})},500),this.currentConversation={conversation:t,messages:[]},t.status==="Waiting")L(MCDChat.updateConversation(t.conversationID,"Opened")).subscribe({next:_=>{t.status="Opened",t.userID=_.userID;let T=`Hola ${t.userName}!`;MCDChat.sendMessage(T,t.conversationID,t.key,t.fileID,""),MCDChat.activateConversation(t.conversationID)},error:_=>{_.status===404&&(this.currentConversation=null,t.status="Opened",t.userID=-1,this.modalService.showAlert("Esta conversaci\xF3n ya est\xE1 siendo atendida."))}});else if(this.messageFilter.page=0,this.buildMessages(t.conversationID),t.status==="Closed")if(t.startDate){var e=(0,E.default)(t.startDate),n=(0,E.default)(t.creationDate),s=E.default.duration(e.diff(n)),a=s.asSeconds();a<60?this.currentConversation.responseTime="Tiempo de respuesta en menos de un minuto":this.currentConversation.responseTime="Tiempo de respuesta "+a/60+" minutos",e=(0,E.default)(t.endDate),n=(0,E.default)(t.startDate),s=E.default.duration(e.diff(n)),a=s.asSeconds(),a<60?this.currentConversation.conversationTime="Tiempo de conversaci\xF3n en menos de un minuto":this.currentConversation.conversationTime="Tiempo de conversaci\xF3n "+a/60+" minutos",this.currentConversation.adminName="Atendido por "+t.name}else this.currentConversation.responseTime="Tiempo de respuesta: N.A.",this.currentConversation.conversationTime="Tiempo de conversaci\xF3n: N.A.",this.currentConversation.adminName="Atendido por: No fue atendido"}nextConversation(){this.filter.page++,this.buildConversations()}closeConversation(){this.modalService.showConfirm("\xBFEst\xE1s seguro que deseas cerrar la conversaci\xF3n?").subscribe({next:t=>{t&&L(MCDChat.updateConversation(this.currentConversation.conversation.conversationID,"Closed")).subscribe(()=>{this.currentConversation=null})}})}nextMessage(){this.messageFilter.page++,this.buildMessages(this.currentConversation.conversation.conversationID)}disabledCrawler(){this.unlockCrawler=!1,this.urlInfo=null}
1sendMessage(){if((this.currentConversation?.conversation?.fileID||this.currentConversation.message?.trim()!=="")&&!this.isBusy){this.isBusy=!0;let t="";this.urlInfo&&(t=JSON.stringify(this.urlInfo),this.urlInfo=null),this.executeCrawler=!1,this.unlockCrawler=!0;let e=this.currentConversation.message?.trim()||" ";MCDChat.sendMessage(e,this.currentConversation.conversation.conversationID,this.currentConversation.conversation.key,this.currentConversation.conversation.fileID,t),this.currentConversation.message="",this.currentConversation.sendType=!1,this.currentConversation.conversation.fileID=null,this.currentConversation.filePath=null,this.currentConversation.fileName=null}}txtInput(){let t=this.currentConversation.message.match(this.regUrl);t&&this.unlockCrawler?this.urlInfo||(this.executeCrawler=!0,this.fileService.getUrlPreview(t[0]).subscribe({next:e=>{e.image&&this.executeCrawler&&(this.urlInfo={url:t[0],title:e.title,description:e.description,image:e.image}),this.executeCrawler=!1},error:e=>{this.executeCrawler=!1,console.error(e)}})):this.urlInfo&&(this.urlInfo=null)}typing(t){t.target&&t.target.value.length>1&&!this.currentConversation.sendType&&(this.currentConversation.sendType=!0,MCDChat.setTyping(this.currentConversation.conversation.key)),t.key==="Enter"&&t.target.value.length>1&&this.currentConversation.sendType&&this.sendMessage()}removeFile(){this.currentConversation.conversation.fileID=null,this.currentConversation.filePath=null,this.currentConversation.fileName=null}addEmoji(t){let e=this.el.nativeElement.querySelector("#chat-txt"),n=parseInt(e.getAttribute("maxlength"),10);if(e.value.length<n){try{if(e.selectionStart||e.selectionStart===0){let s=e.selectionStart,a=e.selectionEnd;e.value=e.value.substring(0,s)+t+e.value.substring(a,e.value.length)}else e.value+=t}catch{e.value+=t}this.currentConversation.message=e.value,e.focus()}return this.emojiOpen=!1,!1}static \u0275fac=function(e){return new(e||i)(N(Nt),N(Et),N(Ot),N(Mt),N(ht),N(Tt),N(J),N(qt),N(Dt),N(Yt),N(ut),N(At))};static \u0275cmp=dt({type:i,selectors:[["app-admin-chat"]],viewQuery:function(e,n){if(e&1&&(X(le,5),X(ce,5)),e&2){let s;tt(s=et())&&(n.chatTxt=s.first),tt(s=et())&&(n.contentResponses=s.first)}},standalone:!0,features:[ft([zt()]),vt],decls:24,vars:3,consts:[["contentResponses",""],["chatForm","ngForm"],[1,"inner-header","talk-header"],["class","header-top",4,"ngIf"],[1,"header-nav"],[1,"content_all"],["key","20","classname","toolTip-btn toolTip__header"],["href","",1,"btn-back","talk-btnBackDesk",3,"click"],[1,"icon-prev"],[1,"btn-back-txt"],["href","",1,"btn-back","talk-btnBackMob",3,"click"],[1,"logo"],["href","",3,"click"],[1,"header-btnMenu",3,"click"],[1,"icon-menu"],["class","loadScreen-wrap",4,"ngIf"],[3,"click"],["class","main-col main-col--chat",4,"ngIf"],[1,"header-top"],["target","_blank",1,"header-linkWrap",3,"href"],["alt","",1,"header-logoGov",3,"src"],[1,"loadScreen-wrap"],["src","./assets/images/spinner.svg","alt","Cargando ..."],[1,"sub-title","ta-c"],[1,"main-col","main-col--chat"],[1,"talk-wrap"],[1,"talk-col"],[1,"talk-wrapBtnTab"],[1,"talk__btnTab",3,"click","ngClass"],["data-key","16","classname","'toolTip-btn toolTip__chatTabs'"],["class","talk-logOut",3,"click",4,"ngIf"],[1,"talk-wrapSearch"],["type","text","name","search","placeholder","buscar",1,"talk-inputSearch",3,"ngModelChange","keyup","ngModel"],[1,"talk-searchBtn","cursor-pointer",3,"click"],["style","text-align: center;","class","talk__infoBtn",4,"ngIf"],["class","talk__divider",4,"ngIf"],[4,"ngFor","ngForOf"],["class","talk-btnMore talk-btnMore--down",3,"click",4,"ngIf"],[1,"talk-col",3,"ngClass"],["class","talk-emptyTalk",4,"ngIf"],["class","talk-contenido",4,"ngIf"],[1,"talk-logOut",3,"click"],[1,"icon"],[1,"talk__infoBtn",2,"text-align","center"],["type","button",2,"margin-bottom","8px",3,"click"],["mwlFlatpickr","","type","text","name","selectedDate","altFormat","Y-m-d","dateFormat","Y-m-d","mode","range",3,"ngModelChange","locale","ngModel","altInput","convertModelValue"],[1,"talk__divider"],["class","talk-comRow",3,"ngClass",4,"ngIf"],[1,"talk-comRow",3,"ngClass"],[1,"talk-comRowInner",3,"click"],[1,"talk-colUser"],[1,"talk--wDataUser"],[1,"talk-wName"],[1,"talk-comName","render-words"],[1,"tag-newM"],[1,"talk__lastMsg"],[1,"talk-comDate"],[1,"talk-btnM
1ore","talk-btnMore--down",3,"click"],[1,"icon-down"],[1,"talk-emptyTalk"],["src","./assets/images/chat-icon-main.svg","alt",""],[1,"talk-contenido"],[1,"talk-contUp"],[1,"talk-contUpCol"],[1,"icon-prev-arrow","talk-btnListMov"],[1,"talk__comTit"],["class","talk-btnClose",3,"disabled","click",4,"ngIf"],[1,"talk-wInfoClose"],[4,"ngIf"],["id","content-responses",1,"talk-wrapResponses",3,"ngClass"],["class","talk-btnMore",3,"click",4,"ngIf"],[1,"chat-fecha"],["class","talk-innerResp",3,"ngClass",4,"ngFor","ngForOf"],["class","url-preview",4,"ngIf"],["class","talk-wArea",4,"ngIf"],[1,"talk-btnClose",3,"click","disabled"],[1,"icon-close"],[1,"talk-btnMore",3,"click"],[1,"icon-icon-8"],[1,"talk-innerResp",3,"ngClass"],[1,"talk-wrapRespTxt"],[1,"talk-tri"],[1,"talk__respTxt","render-words"],["class","talk-addTxt",4,"ngIf"],["class","talk-urlpreview",4,"ngIf"],[1,"hora_chat"],[1,"talk-addTxt"],["target","_blank",3,"href"],["src","./assets/images/download-blue.svg","alt","Descargar Archivo"],["target","_blank",2,"height","auto","background","transparent",3,"href"],[1,"talk-urlpreview"],[1,"talk-urlpreview-img"],[3,"src"],[1,"talk-urlpreview-title"],[1,"talk-urlpreview-description"],[1,"url-preview"],[1,"url-img",3,"ngStyle"],[1,"url-info"],[1,"url-close"],["type","button",3,"click"],[1,"talk-wArea"],["novalidate","",3,"ngSubmit"],[1,"talk-wAreaTop"],["id","chat-txt","maxlength","550","name","message","placeholder","Escribe tu mensaje aqu\xED",3,"input","keyup","ngModelChange","ngModel"],[1,"talk-wAddCarac"],["class","talk-wAdd",4,"ngIf"],[1,"talk__count"],[1,"talk-wWrite"],[1,"talk-colWrite"],["type","button",1,"talk-btnEmoji",3,"click"],[1,"icon-emoji"],["class","idea_media btn-add-file",4,"ngIf"],["class","talk-wEmoji list-emojis",4,"ngIf"],["type","submit",1,"btn-main",3,"disabled"],[1,"talk-wAdd"],[1,"talk__addDelete",3,"click"],[1,"icon-delete-2"],[1,"idea_media","btn-add-file"],["id","inp-change","type","file","title","Adjunta un archivo"],[1,"icon-icon-44"],[1,"talk-wEmoji","list-emojis"],["type","button",3,"click",4,"ngFor","ngForOf"]],template:function(e,n){e&1&&(o(0,"header",2),k(1,fe,4,2,"div",3),o(2,"div",4)(3,"div",5),m(4,"app-helper",6),o(5,"a",7),g("click",function(){return n.closeSession()}),m(6,"span",8),o(7,"span",9),p(8,"Atr\xE1s"),c()(),o(9,"a",10),g("click",function(){return n.closeSession()}),m(10,"span",8),o(11,"span",9),p(12,"Atr\xE1s"),c()(),o(13,"h2",11)(14,"a",12),g("click",function(){return n.closeSession()}),o(15,"span"),p(16,"Chat"),c()()(),o(17,"button",13),g("click",function(){return n.closeSession()}),p(18,"Men\xFA "),m(19,"span",14),c()()()(),m(20,"app-admin-desktop"),k(21,ve,7,0,"div",15),o(22,"div",16),g("click",function(){return n.closeEmoji()}),k(23,We,21,17,"div",17),c()),e&2&&(r(),u("ngIf",n.gov==null?null:n.gov.isActive),r(20),u("ngIf",!n.isConnected),r(2),u("ngIf",n.isConnected))},dependencies:[It,yt,xt,bt,kt,St,wt,Ft,Ut,Qt,Bt,Pt,$t,Vt,Rt,Wt,Lt,jt,Ht]})};export{Gt as AdminChatComponent};

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.