1"use strict";(self.webpackChunkmyhotel_fidelity_suite=self.webpackChunkmyhotel_fidelity_suite||[]).push([[9905],{33378(F,_,o){o.d(_,{h:()=>h});var l=o(35547),g=o(7809);const t=["*"];let h=(()=>{class d{constructor(){this.title="",this.className="",this.articleClassName="",this.heightClass="tw-h-52",this.tooltip=""}ngOnInit(){}static{this.\u0275fac=function(p){return new(p||d)}}static{this.\u0275cmp=l.VBU({type:d,selectors:[["mh-core-lib-followup-onsite-widget"]],inputs:{title:"title",className:"className",articleClassName:"articleClassName",heightClass:"heightClass",tooltip:"tooltip"},standalone:!1,ngContentSelectors:t,decls:5,vars:9,consts:[[1,"tw-self-center","tw-font-bold","tw-text-xl",3,"mhTooltip"]],template:function(p,m){1&p&&(l.NAR(),l.j41(0,"article")(1,"span",0),l.EFF(2),l.k0s(),l.j41(3,"section"),l.SdG(4),l.k0s()()),2&p&&(l.HbH(l.VkB("tw-flex tw-flex-col tw-gap-5 ",m.articleClassName)),l.R7$(),l.Y8G("mhTooltip",m.tooltip),l.R7$(),l.JRh(m.title),l.R7$(),l.HbH(l.ai1("",m.heightClass," tw-rounded-lg tw-shadow-1 ",m.className)))},dependencies:[g.t],encapsulation:2})}}return d})()},49905(F,_,o){o.d(_,{VoicesModule:()=>ct});var l=o(49769),g=o(93049),t=o(35547),h=o(70018),d=o(50155),f=o(73955);let v=(()=>{class n{constructor(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mh-config-voices"]],standalone:!1,decls:6,vars:3,consts:[[1,"tw-m-6"],[1,"tw-text-xl","tw-font-medium","tw-text-title-color"]],template:function(i,a){1&i&&(t.j41(0,"mh-core-lib-generic-box")(1,"section",0)(2,"h1",1),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.nrm(5,"mh-origins"),t.k0s()),2&i&&(t.R7$(3),t.SpI(" ",t.bMT(4,1,"voices.config.origins")," "))},dependencies:[h.O,d.p,f.D9],encapsulation:2})}}return n})();var p=o(74523),m=o(31635),b=o(73745),w=o(45052),I=o(27468),$=o(84572),T=o(69667),j=o(41559),r=o(85802),x=o(68972),C=o(86962),R=o(79103),E=o(75116),y=o(33378),k=o(40930),S=o(19212),D=o(27954);const G=(n,s)=>({"fa-chevron-up":n,"fa-chevron-down":s});function O(n,s){1&n&&(t.j41(0,"span",16),t.nrm(1,"i",17),t.k0s())}function M(n,s){1&n&&(t.j41(0,"span",18),t.nrm(1,"i",19),t.k0s())}function N(n,s){if(1&n&&(t.j41(0,"li",12),t.nrm(1,"span",13),t.DNE(2,O,2,0,"span",14)(3,M,2,0,"span",15),t.k0s()),2&n){const e=s.$implicit,i=t.XpG(2);t.R7$(),t.Y8G("translates",e.translates)("language",i.language)("keyTranlsate","text"),t.R7$(),t.Y8G("ngIf","positive"===e.polarity),t.R7$(),t.Y8G("ngIf","negative"===e.polarity)}}function Y(n,s){if(1&n&&(t.j41(0,"li",12),t.nrm(1,"span",13),t.j41(2,"div")(3,"span",16),t.EFF(4),t.k0s(),t.j41(5,"span"),t.EFF(6," | "),t.k0s(),t.j41(7,"span",5),t.EFF(8),t.k0s()()()),2&n){const e=s.$implicit,i=t.XpG(2);t.R7$(),t.Y8G("translates",e.translates)("language",i.language)("keyTranlsate","text"),t.R7$(3),t.JRh(e.positive),t.R7$(4),t.JRh(e.negative)}}function J(n,s){if(1&n&&(t.j41(0,"div",8)(1,"div",4)(2,"ul")(3,"li",9),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.DNE(6,N,4,5,"li",10),t.k0s()(),t.j41(7,"div",11)(8,"ul")(9,"li",9),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.DNE(12,Y,9,5,"li",10),t.k0s()()()),2&n){const e=t.XpG();t.R7$(4),t.JRh(t.bMT(5,4,"semantic.comments.tables.actions.themes")),t.R7$(2),t.Y8G("ngForOf",e.data),t.R7$(4),t.JRh(t.bMT(11,6,"semantic.comments.tables.actions.areas")),t.R7$(2),t.Y8G("ngForOf",e.areas)}}let z=(()=>{class n{constructor(e){this.utilService=e,this.showTable=!1,this.themesPositives=0,this.themesNegatives=0,this.areasPositives=0,this.areasNegatives=0,this.areas=[]}ngOnInit(){this.data.forEach(e=>{"positive"===e.polarity?this.themesPositives+=1:this.themesNegatives+=1,e.sub_types.forEach(i=>{let a=this.areas.findIndex(c=>c.name===i.name);-1===a&&(a=this.areas.push(this.getAreaObject(i.name,i.translates)),a--),this.areas[a][e.polarity]+=1})}),this.areas.forEach(e=>{this.areasPositives+=e.positive,this.areasNegatives+=e.negative})}getAreaObject(e,i){return{name:e,positive:0,negative:0,translates:i}}get language(){return this.utilService.getCurrentLanguage()}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(x.a))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mh-sentiment-table"]],inputs:{data:"data"},standalone:!1,decls:23,vars:15,consts:[[1,"tw-flex","tw-flex-row","tw-gap-3",3,"click"],[1,"tw-flex","tw-flex-row","tw-gap-1"],[1,"text"],[1,"tw-text-promoters"],[1,""],[1,"tw-text-detractors"],[1,"fas","tw-mt-1",3,"ngClass"],["class","tw-flex tw-flex-row tw-gap-10 tw-mt-4",4,"ngIf"],[1,"tw-flex","tw-flex-row","tw-gap-10","tw-mt-4"],[1,"tw-font-bold"],["class","tw-flex tw-flex-row tw-justify-between",4,"ngFor","ngForOf"],[1,"areas"],[1,"tw-flex","tw-flex-row","tw-justify-between"],["mhFindTranslate","",3,"translates","language","keyTranlsate"],["class","tw-text-promoters tw-ml-5",4,"ngIf"],["class","tw-text-detractors tw-ml-5",4,"ngIf"],[1,"tw-text-promoters","tw-ml-5"],[1,"fas","fa-smile"],[1,"tw-text-detractors","tw-ml-5"],[1,"fas","fa-frown"]],template:function(i,a){1&i&&(t.j41(0,"div",0),t.bIt("click",function(){return a.showTable=!a.showTable}),t.j41(1,"div",1)(2,"span",2),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"p",3),t.EFF(6),t.k0s(),t.j41(7,"p",4),t.EFF(8," - "),t.k0s(),t.j41(9,"p",5),t.EFF(10),t.k0s()(),t.j41(11,"div",1)(12,"span",2),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.j41(15,"p",3),t.EFF(16),t.k0s(),t.j41(17,"p",4),t.EFF(18," - "),t.k0s(),t.j41(19,"p",5),t.EFF(20),t.k0s()(),t.nrm(21,"i",6),t.k0s(),t.DNE(22,J,13,8,"div",7)),2&i&&(t.R7$(3),t.SpI("",t.bMT(4,8,"semantic.comments.tables.actions.themes")," "),t.R7$(3),t.JRh(a.themesPositives),t.R7$(4),t.JRh(a.themesNegatives),t.R7$(3),t.SpI("",t.bMT(14,10,"semantic.comments.tables.actions.areas")," "),t.R7$(3),t.JRh(a.areasPositives),t.R7$(4),t.JRh(a.areasNegatives),t.R7$(),t.Y8G("ngClass",t.l_i(12,G,a.showTable,!a.showTable)),t.R7$(),t.Y8G("ngIf",a.showTable))},dependencies:[l.YU,l.Sq,l.bT,D.v,f.D9],encapsulation:2,data:{animation:[S.l.rotate]}})}}return n})();var V=o(66913),P=o(96697),X=o(50854),B=o(14136);function U(n,s){1&n&&(t.j41(0,"section",5)(1,"article",6),t.nrm(2,"img",7),t.k0s(),t.j41(3,"article",8)(4,"h2",9),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.j41(7,"ul")(8,"li",10),t.nrm(9,"i",11),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.j41(12,"li",12),t.nrm(13,"i",11),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.j41(16,"li",10),t.nrm(17,"i",11),t.EFF(18),t.nI1(19,"translate"),t.k0s()()()()),2&n&&(t.R7$(5),t.JRh(t.bMT(6,4,"voices.opinions.wizard.title")),t.R7$(5),t.JRh(t.bMT(11,6,"voices.opinions.wizard.receive_messages")),t.R7$(4),t.JRh(t.bMT(15,8,"voices.opinions.wizard.convert_audio")),t.R7$(4),t.JRh(t.bMT(19,10,"voices.opinions.wizard.show_feeling")))}function L(n,s){1&n&&(t.j41(0,"section",5)(1,"article",6),t.nrm(2,"img",13),t.k0s(),t.j41(3,"article",8)(4,"h2",9),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.j41(7,"ul")(8,"li",10),t.EFF(9),t.nI1(10,"translate"),t.k0s(),t.j41(11,"li",12),t.EFF(12),t.nI1(13,"translate"),t.k0s(),t.j41(14,"li",10),t.EFF(15),t.nI1(16,"translate"),t.k0s()()()()),2&n&&(t.R7$(5),t.JRh(t.bMT(6,4,"voices.opinions.wizard.start")),t.R7$(4),t.JRh(t.bMT(10,6,"voices.opinions.wizard.create_origin")),t.R7$(3),t.JRh(t.bMT(13,8,"voices.opinions.wizard.print_qr")),t.R7$(3),t.JRh(t.bMT(16,10,"voices.opinions.wizard.start_receive_messages")))}
1function W(n,s){if(1&n){const e=t.RV6();t.j41(0,"mh-core-lib-button",14),t.nI1(1,"translate"),t.bIt("click",function(){r.eBV(e);const a=t.XpG();return r.Njj(a.state=a.state-1)}),t.k0s()}2&n&&t.Y8G("isSecondary",!0)("text",t.bMT(1,2,"navbar.back_button"))}function A(n,s){if(1&n){const e=t.RV6();t.j41(0,"mh-core-lib-button",15),t.nI1(1,"translate"),t.bIt("click",function(){r.eBV(e);const a=t.XpG();return r.Njj(a.state=a.state+1>2?2:a.state+1)}),t.k0s()}2&n&&t.Y8G("isDefault",!0)("text",t.bMT(1,2,"voices.opinions.wizard.continue"))}function H(n,s){if(1&n){const e=t.RV6();t.j41(0,"mh-core-lib-button",16),t.nI1(1,"translate"),t.bIt("click",function(){r.eBV(e);const a=t.XpG();return r.Njj(a.openModal())}),t.k0s()}2&n&&t.Y8G("isDefault",!0)("text",t.bMT(1,3,"voices.opinions.wizard.first_origin"))("width",250)}let K=(()=>{class n{constructor(e,i){this.modalService=e,this.voicesService=i,this.state=1}ngOnInit(){}openModal(){this.modalService.open(V.F,null,["overlay-panel","xxlg","!tw-h-auto","!tw-overflow-y-auto"]).afterClosed().pipe((0,P.s)(1)).subscribe(a=>{this.voicesService.loadOrigins$.next(!0)})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(X.B),t.rXU(R.l))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mh-wizard"]],standalone:!1,decls:7,vars:5,consts:[["class","tw-flex tw-flex-row tw-w-full tw-h-full tw-place-content-center tw-my-20 tw-p-20",4,"ngIf"],[1,"tw-flex","tw-flex-row","tw-place-content-center","tw-gap-10","tw-my-10"],[3,"isSecondary","text","click",4,"ngIf"],[3,"isDefault","text","click",4,"ngIf"],[3,"isDefault","text","width","click",4,"ngIf"],[1,"tw-flex","tw-flex-row","tw-w-full","tw-h-full","tw-place-content-center","tw-my-20","tw-p-20"],[1,"tw-basis-2/4","tw-flex","tw-justify-center"],["src","https://statics.myhotel.cl/documents/Productos/Voices/voices_1.png"],[1,"tw-basis-2/4","tw-flex","tw-flex-col","tw-justify-center"],[1,"tw-font-bold","tw-text-main-text","tw-text-[40px]","tw-my-16"],[1,"tw-text-main-text","tw-text-[37px]"],[1,"fas","fa-check-square","tw-mr-2","tw-text-promoters"],[1,"tw-text-main-text","tw-text-[37px]","tw-my-5"],["src","https://statics.myhotel.cl/documents/Productos/Voices/voices_2.png"],[3,"click","isSecondary","text"],[3,"click","isDefault","text"],[3,"click","isDefault","text","width"]],template:function(i,a){1&i&&(t.j41(0,"mh-core-lib-generic-box"),t.DNE(1,U,20,12,"section",0)(2,L,17,12,"section",0),t.j41(3,"section",1),t.DNE(4,W,2,4,"mh-core-lib-button",2)(5,A,2,4,"mh-core-lib-button",3)(6,H,2,5,"mh-core-lib-button",4),t.k0s()()),2&i&&(t.R7$(),t.Y8G("ngIf",1===a.state),t.R7$(),t.Y8G("ngIf",2===a.state),t.R7$(2),t.Y8G("ngIf",a.state>1),t.R7$(),t.Y8G("ngIf",1===a.state),t.R7$(),t.Y8G("ngIf",2===a.state))},dependencies:[l.bT,B.e,h.O,f.D9],encapsulation:2})}}return n})();const Q=(n,s,e)=>({"tw-text-promoters":n,"tw-text-warning":s,"tw-text-detractors":e});function Z(n,s){if(1&n){const e=t.RV6();t.qex(0),t.j41(1,"a",38),t.bIt("click",function(){r.eBV(e);const a=t.XpG().$implicit,c=t.XpG(3);return r.Njj(c.translateOpinion(a))}),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.bVm()}2&n&&(t.R7$(2),t.JRh(t.bMT(3,1,"semantic.comments.tables.actions.translate")))}function q(n,s){if(1&n&&(t.j41(0,"p",39),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",null==e?null:e.translate," ")}}function tt(n,s){if(1&n&&(t.j41(0,"div",40),t.nrm(1,"mh-sentiment-table",41),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.Y8G("data",e.themes)}}function et(n,s){if(1&n&&(t.qex(0),t.j41(1,"div",26)(2,"div",27)(3,"p",28),t.EFF(4),t.nI1(5,"translate"),t.nI1(6,"titlecase"),t.j41(7,"span",29),t.EFF(8),t.k0s()(),t.j41(9,"p",28),t.EFF(10),t.nI1(11,"translate"),t.nI1(12,"titlecase"),t.j41(13,"span",29),t.EFF(14),t.nI1(15,"date"),t.k0s()(),t.j41(16,"p",28),t.EFF(17),t.nI1(18,"translate"),t.nI1(19,"titlecase"),t.j41(20,"span",29),t.EFF(21),t.k0s()(),t.j41(22,"p",28),t.EFF(23),t.nI1(24,"translate"),t.j41(25,"span",30),t.EFF(26),t.nI1(27,"number"),t.k0s()()(),t.j41(28,"div",31)(29,"p",32),t.EFF(30),t.k0s(),t.DNE(31,Z,4,3,"ng-container",33)(32,q,2,1,"p",34),t.j41(33,"audio",35),t.nrm(34,"source",36),t.k0s(),t.DNE(35,tt,2,1,"div",37),t.k0s()(),t.bVm()),2&n){const e=s.$implicit,i=t.XpG(3);t.R7$(4),t.SpI(" ",t.bMT(6,16,t.bMT(5,14,"forms.origin")),": "),t.R7$(4),t.JRh(e.origin_name),t.R7$(2),t.SpI(" ",t.bMT(12,20,t.bMT(11,18,"commons.date")),": "),t.R7$(4),t.JRh(t.bMT(15,22,e.audio_upload_date)),t.R7$(3),t.SpI(" ",t.bMT(19,26,t.bMT(18,24,"voices.opinions.recording_time")),": "),t.R7$(4),t.SpI("",e.audio_duration,"s"),t.R7$(2),t.SpI(" ",t.bMT(24,28,"voices.opinions.confidence")," "),t.R7$(2),t.Y8G("ngClass",t.sMw(33,Q,100*e.transcript_confidence_level>95,100*e.transcript_confidence_level<=95&&100*e.transcript_confidence_level>90,100*e.transcript_confidence_level<=90)),t.R7$(),t.JRh(t.i5U(27,30,100*e.transcript_confidence_level,"1.0-0")+"%"),t.R7$(4),t.SpI(" ",e.transcripted_text," "),t.R7$(),t.Y8G("ngIf",e.transcripted_text&&(null==e?null:e.language_id)!==i.currentLanguageId),t.R7$(),t.Y8G("ngIf",(null==e?null:e.translate)&&(null==e?null:e.language_id)!==i.currentLanguageId),t.R7$(2),t.Y8G("src",e.audio_url),t.R7$(),t.Y8G("ngIf",e.themes.length>0)}}
1function nt(n,s){if(1&n&&(t.qex(0),t.j41(1,"section",24),t.DNE(2,et,36,37,"ng-container",25),t.k0s(),t.bVm()),2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("ngForOf",e.opinions)}}function it(n,s){if(1&n){const e=t.RV6();t.qex(0),t.DNE(1,nt,3,1,"ng-container",22),t.j41(2,"mh-core-lib-pagination-selector",23),t.bIt("paginationSize",function(a){r.eBV(e);const c=t.XpG();return r.Njj(c.setPagination(a))})("pageChanged",function(a){r.eBV(e);const c=t.XpG();return r.Njj(c.handlePageChanged(a))}),t.k0s(),t.bVm()}if(2&n){const e=t.XpG(),i=t.sdS(54);t.R7$(),t.Y8G("ngIf",(null==e.opinions?null:e.opinions.length)>0&&!e.noDataError)("ngIfElse",i),t.R7$(),t.AVh("tw-hidden",0===(null==e.opinions?null:e.opinions.length)),t.Y8G("totalElements",e.totalElements)}}function st(n,s){1&n&&(t.j41(0,"div",42)(1,"p",43),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&n&&(t.R7$(2),t.SpI(" ",t.bMT(3,1,"voices.opinions.errors.no_data")," "))}function at(n,s){1&n&&t.nrm(0,"mh-wizard")}class u{constructor(s,e,i,a){this.store=s,this.utilService=e,this.dateService=i,this.voicesService=a,this.opinions=[],this.currentPage=0,this.pagination=10,this.totalElements=0,this.loading=!1,this.noDataError=!1,this.isOpen=!1,this.firstAPICallDone=!1,this.currentLanguageId="1",this.originsNumber=0}ngOnInit(){var s=this;return(0,p.A)(function*(){s.customer=s.store.selectSnapshot(b.f.currentCustomer),s.initListeners(),s.currentLanguageId=""+s.utilService.getCurrentLanguageId()})()}setPagination(s){this.pagination=0===s?this.totalElements:s,this.currentPage=0,this.loadOpinions()}handlePageChanged(s){this.currentPage=s,this.loadOpinions()}loadOpinions(){this.loading=!0,this.opinions=[],(0,I.p)({summary:this.voicesService.getSummary(+this.utilService.getCurrentCustomer()?.id,this.currentDates.startDate,this.currentDates.endDate,this.filterOriginId||""),opinions:this.voicesService.getOpinionsByCustomerId(+this.utilService.getCurrentCustomer()?.id,this.currentDates.startDate,this.currentDates.endDate,this.currentPage,this.pagination,this.filterOriginId||"")}).subscribe(({opinions:s,summary:e})=>{this.summary=e.find(i=>0===i.origin_id),this.originsNumber=e.filter(i=>0!==i.origin_id)?.length||this.origins.length,this.opinions=s.info,this.opinions.forEach(i=>{if(i?.language_code){const a=this.utilService.languages.find(c=>c.code===i.language_code);i.language_id=a&&null!=a.id?""+a.id:null}}),this.totalElements=s.total_of_elements,this.noDataError=0===this.opinions?.length,this.loading=!1,this.firstAPICallDone=!0},()=>{this.noDataError=!0,this.loading=!1})}loadOrigins(){this.loading=!0}initListeners(){this.subscription$=this.customers$.subscribe(()=>{this.firstAPICallDone&&this.loadOpinions()}),this.subscription$.add((0,$.z)(this.voicesService.origins$,this.currentDates$).subscribe(([s,e])=>{e?.startDate&&e?.endDate&&(this.origins=s,this.voicesService.showWizard=0===this.origins.length,this.loadOpinions())})),this.subscription$.add(this.voicesService.originsSelected$.subscribe(s=>{this.currentPage=0,this.filterByOrigin(s)})),this.subscription$.add(this.languageReady$.subscribe(s=>{this.currentLanguageId=""+s}))}ngOnDestroy(){this.subscription$.unsubscribe()}filterByOrigin(s){this.filterOriginId=s,this.loadOpinions()}trackByOpinions(s,e){return e.origin_id}translateOpinion(s){var e=this;return(0,p.A)(function*(){try{const i=yield e.voicesService.getTranslateSourceToTarget({text:s.transcripted_text},s.language_id,e.currentLanguageId);s.translate=i[0].text}catch{s.translate=null}})()}get copyOpinionsList(){return this.opinions?.length>0?[...this.opinions]:[]}get currentDates(){return this.dateService.currentDates}get currentFilterDate(){return this.dateService.currentFilter}static{this.\u0275fac=function(e){return new(e||u)(t.rXU(w.il),t.rXU(x.a),t.rXU(C.k),t.rXU(R.l))}}static{this.\u0275cmp=t.VBU({type:u,selectors:[["mh-opinions"]],standalone:!1,decls:57,vars:36,consts:[["noData",""],["wizard",""],[1,"tw-flex","tw-w-full","tw-justify-center","tw-gap-6","tw-flex-wrap"],[1,"tw-max-w-[160px]"],["className","tw-h-16 tw-p-5"],["className","tw-self-center",3,"loading"],[1,"tw-flex","tw-h-full","tw-justify-center","tw-gap-4"],[1,"tw-self-center","tw-text-3xl","tw-text-main","tw-font-semibold"],[1,"tw-self-center","tw-text-sm","tw-text-main-text","tw-font-medium"],[1,"tw-max-w-[160px]","tw-hidden","md:tw-flex"],[1,"tw-max-w-[350px]"],["className","tw-h-16 tw-p-4"],[1,"tw-flex","tw-gap-2"],[1,"tw-flex","tw-flex-col","tw-justify-center"],[1,"fas","fa-comments","tw-text-main","tw-text-center"],[1,"tw-text-sm","tw-text-main-text","tw-font-medium"],[1,"tw-w-[1px]","tw-bg-border-gray"],[1,"tw-flex","tw-flex-col","tw-justify-center","tw-ml-1"],[1,"tw-self-center","tw-text-sm","tw-text-promoters","tw-font-semibold"],[1,"tw-text-[11px]","tw-text-main-text","tw-font-medium"],[1,"tw-self-center","tw-text-sm","tw-text-detractors","tw-font-semibold"],[3,"loading","type"],[4,"ngIf","ngIfElse"],[3,"paginationSize","pageChanged","totalElements"],[1,"tw-p-6"],[4,"ngFor","ngForOf"],[1,"tw-flex","tw-flex-col","sm:tw-flex-row","tw-shadow-2","tw-p-5","md:tw-min-h-[193px]","tw-m-3","tw-rounded-xl","tw-gap-5","tw-relative","tw-overflow-hidden"],[1,"tw-flex","tw-flex-col","tw-basis-28","tw-gap-2","tw-mt-2"],[1,"tw-text-main-text","tw-text-small"],[1,"tw-font-bold"],[1,"tw-font-bold",3,"ngClass"],[1,"tw-flex","tw-flex-col","tw-basis-[89%]"],[1,"tw-text-main-text","tw-text-base","tw-my-2"],[4,"ngIf"],["class","tw-text-main tw-text-base tw-my-2",4,"ngIf"],["controls","",1,"tw-my-2","tw-w-52","sm:tw-w-64"],["type","audio/mp3","preload","none",3,"src"],["class","tw-mt-2 tw-gap-3",4,"ngIf"],[1,"tw-underline","tw-text-main",3,"click"],[1,"tw-text-main","tw-text-base","tw-my-2"],[1,"tw-mt-2","tw-gap-3"],[3,"data"],[1,"tw-w-full","tw-flex","tw-justify-center","tw-p-20","tw-flex-wrap"],[1,"tw-text-main-text","tw-text-lg"]],template:function(e,i){if(1&e&&(t.j41(0,"section",2)(1,"article",3)(2,"mh-core-lib-followup-onsite-widget",4)(3,"mh-core-lib-loader-wrapper",5)(4,"div",6)(5,"span",7),t.EFF(6),t.k0s(),t.j41(7,"span",8),t.EFF(8),t.nI1(9,"translate"),t.k0s()()()()(),t.j41(10,"article",9)(11,"mh-core-lib-followup-onsite-widget",4)(12,"mh-core-lib-loader-wrapper",5)(13,"div",6)(14,"span",7),t.EFF(15),t.nI1(16,"number"),t.k0s(),t.j41(17,"span",8),t.EFF(18),t.nI1(19,"translate"),t.k0s()()()()(),t.j41(20,"article",9)(21,"mh-core-lib-followup-onsite-widget",4)(22,"mh-core-lib-loader-wrapper",5)(23,"div",6)(24,"span",7),t.EFF(25),t.k0s(),t.j41(26,"span",8),t.EFF(27),t.nI1(28,"translate"),t.k0s()()()()(),t.j41(29,"article",10)(30,"mh-core-lib-followup-onsite-widget",11)(31,"mh-core-lib-loader-wrapper",5)(32,"div",12)(33,"div",13),t.nrm(34,"i",14),t.j41(35,"p",15),t.EFF(36),t.nI1(37,"translate"),t.k0s()(),t.nrm(38,"div",16),t.j41(39,"div",17)(40,"span",18),t.EFF(41),t.k0s(),t.j41(42,"p",19),t.EFF(43),t.nI1(44,"translate"),t.k0s()(),t.j41(45,"div",13)(46,"span",20),t.EFF(47),t.k0s(),t.j41(48,"p",19),t.EFF(49),t.nI1(50,"translate"),t.k0s()()()()()()(),t.j41(51,"mh-core-lib-loader-wrapper",21),t.DNE(52,it,3,5,"ng-container",22),t.k0s(),t.DNE(53,st,4,3,"ng-template",null,0,t.C5r)(55,at,1,0,"ng-template",null,1,t.C5r)),2&e){const a=t.sdS(56);t.AVh("tw-hidden",i.loading||0===(null==i.opinions?null:i.opinions.length)),t.R7$(3),t.Y8G("loading",i.loading),t.R7$(3),t.JRh(i.totalElements),t.R7$(2),t.JRh(t.bMT(9,21,"voices.opinions.messages")),t.R7$(4),t.Y8G("loading",i.loading),t.R7$(3),t.SpI("",t.i5U(16,23,null==i.summary||null==i.summary.seconds_per_audio?null:i.summary.seconds_per_audio.actual,"1.0-0"),"s"),t.R7$(3),t.JRh(t.bMT(19,26,"voices.opinions.avg_time")),t.R7$(4),t.Y8G("loading",i.loading),t.R7$(3),t.JRh(i.originsNumber),t.R7$(2),t.JRh(t.bMT(28,28,"voices.opinions.origin_number")),t.R7$(4),t.Y8G("loading",i.loading),t.R7$(5),t.JRh(t.bMT(37,30,"voices.opinions.mentions")),t.R7$(5),t.JRh(null==i.summary||null==i.summary.positive_mentions?null:i.summary.positive_mentions.actual),t.R7$(2),t.JRh(t.bMT(44,32,"voices.opinions.positive_mentions")),t.R7$(4),t.JRh(null==i.summary||null==i.summary.negative_mentions?null:i.summary.negative_mentions.actual),t.R7$(2),t.JRh(t.bMT(50,34,"voices.opinions.negative_mentions")),t.R7$(2),t.Y8G("loading",i.loading)("type","spinner"),t.R7$(),t.Y8G("ngIf",!i.voicesService.showWizard)("ngIfElse",a)}},dependencies:[l.YU,l.Sq,l.bT,E.t,y.h,k.i,z,K,l.QX,l.PV,l.vh,f.D9],encapsulation:2})}}(0,m.Cg)([(0,w.l6)(T.I.currentDates)],u.prototype,"currentDates$",void 0),(0,m.Cg)([(0,w.l6)(b.f.currentCustomer)],u.prototype,"customers$",void 0),(0,m.Cg)([(0,w.l6)(j.H.languageId)],u.prototype,"languageReady$",void 0);const ot=[{path:"messages",component:u},{path:"configuracion",component:v}];let lt=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=t.$C({type:n})}
1static{this.\u0275inj=r.G2t({imports:[l.MD,g.iI.forChild(ot),g.iI]})}}return n})();var rt=o(86637);let ct=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=r.G2t({imports:[l.MD,lt,rt.G]})}}return n})()}}]);
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.