Files
doneit-web/_platforms/browser/www/4485-es5.449464e57829542615bd.js
T

1 line
38 KiB
JavaScript
Raw Normal View History

2021-08-18 18:58:02 +01:00
!function(){function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function n(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[4485,6527,5763,2417,3756,6055,5457,1087,4413,5183,5802,9391,1485,9074,4176,9406],{54485:function(t,o,i){"use strict";i.r(o),i.d(o,{ChatPageModule:function(){return me}});var s=i(38583),r=i(3679),a=i(35957),c=i(39895),u=i(64762),p=i(91841),d=i(37716),l=i(70407),g=i(16751),h=i(92207),f=i(95505),m=i(61552),v=i(44940),w=i(92340),C=i(9014),x=i(37556),M=i(73287),Z=i(962),k=i(14800),P=i(94686),A=i(94575),_=i(17352),y=i(54629),b=i(75488),O=i(19606),q=i(88599),G=["messagecontainer"];function T(e,t){1&e&&d._UZ(0,"ion-progress-bar",31)}function S(e,t){if(1&e){var n=d.EpF();d.TgZ(0,"button",10),d.NdJ("click",function(){return d.CHM(n),d.oxw().doRefresh()}),d._UZ(1,"ion-icon",32),d.qZA()}}function I(e,t){if(1&e&&(d.TgZ(0,"span"),d._uU(1),d.qZA()),2&e){var n=d.oxw().$implicit;d.xp6(1),d.hij(" ",n," ")}}function N(e,t){if(1&e&&(d.TgZ(0,"ion-label"),d.YNc(1,I,2,1,"span",43),d.qZA()),2&e){var n=t.$implicit,o=d.oxw(3);d.xp6(1),d.Q6J("ngIf",n!=o.loggedUserChat.me.username)}}function J(e,t){if(1&e&&(d.TgZ(0,"ion-label"),d._uU(1),d.qZA()),2&e){var n=d.oxw().$implicit;d.xp6(1),d.Oqu(n.lastMessage.msg)}}function E(e,t){if(1&e){var n=d.EpF();d.TgZ(0,"div",34),d.TgZ(1,"div",35),d._UZ(2,"ion-icon",36),d.qZA(),d.TgZ(3,"div",37),d.NdJ("click",function(){var e=d.CHM(n).$implicit;return d.oxw(2).openMessagesPage(e._id)}),d.TgZ(4,"div",38),d.TgZ(5,"div",39),d.YNc(6,N,2,1,"ion-label",40),d.qZA(),d.TgZ(7,"div",41),d._uU(8),d.ALo(9,"date"),d.qZA(),d.qZA(),d.TgZ(10,"div",42),d.YNc(11,J,2,1,"ion-label",43),d.qZA(),d.qZA(),d.qZA()}if(2&e){var o=t.$implicit,i=d.oxw(2);d.ekj("item-active",o._id==i.idSelected),d.xp6(3),d.ekj("highlight","cjFv5XfreKz5j3fWW"==o._id),d.xp6(2),d.ekj("item-title-active",o._id==i.idSelected),d.xp6(1),d.Q6J("ngForOf",o.usernames),d.xp6(1),d.ekj("item-date-active",o._id==i.idSelected),d.xp6(1),d.Oqu(d.xi3(9,13,o._updatedAt,"HH:mm")),d.xp6(2),d.ekj("item-description-active",o._id==i.idSelected),d.xp6(1),d.Q6J("ngIf",o.lastMessage)}}function R(e,t){if(1&e&&(d.TgZ(0,"ion-list"),d.TgZ(1,"ion-item-sliding"),d.YNc(2,E,12,16,"div",33),d.qZA(),d.qZA()),2&e){var n=d.oxw();d.xp6(2),d.Q6J("ngForOf",n.userDirectMessages)}}function D(e,t){if(1&e&&(d.TgZ(0,"div",41),d._uU(1),d.ALo(2,"date"),d.qZA()),2&e){var n=d.oxw().$implicit,o=d.oxw(2);d.ekj("item-date-active",n._id==o.idSelected),d.xp6(1),d.Oqu(d.xi3(2,3,n.lastMessage._updatedAt,"HH:mm"))}}function U(e,t){if(1&e&&(d.TgZ(0,"div",42),d.TgZ(1,"ion-label"),d._uU(2),d.qZA(),d.qZA()),2&e){var n=d.oxw().$implicit,o=d.oxw(2);d.ekj("item-description-active",n._id==o.idSelected),d.xp6(2),d.AsE("",n.lastMessage.u.name,": ",n.lastMessage.msg,"")}}function j(e,t){if(1&e){var n=d.EpF();d.TgZ(0,"div",45),d.TgZ(1,"div",35),d._UZ(2,"ion-icon",46),d.qZA(),d.TgZ(3,"div",37),d.NdJ("click",function(){var e=d.CHM(n).$implicit;return d.oxw(2).openGroupMessagesPage(e._id)}),d.TgZ(4,"div",38),d.TgZ(5,"div",39),d.TgZ(6,"ion-label"),d._uU(7),d.qZA(),d.qZA(),d.YNc(8,D,3,6,"div",47),d.qZA(),d.YNc(9,U,3,4,"div",48),d.qZA(),d.qZA()}if(2&e){var o=t.$implicit,i=d.oxw(2);d.ekj("item-active",o._id==i.idSelected),d.xp6(5),d.ekj("item-title-active",o._id==i.idSelected),d.xp6(2),d.Oqu(o.name.split("-").join(" ")),d.xp6(1),d.Q6J("ngIf",o.lastMessage),d.xp6(1),d.Q6J("ngIf",o.lastMessage)}}function Q(e,t){if(1&e&&(d.TgZ(0,"ion-list"),d.TgZ(1,"ion-item-sliding"),d.YNc(2,j,10,7,"div",44),d.qZA(),d.qZA()),2&e){var n=d.oxw();d.xp6(2),d.Q6J("ngForOf",n.allGroups)}}function Y(e,t){if(1&e){var n=d.EpF();d.TgZ(0,"app-messages",49,22),d.NdJ("closeAllDesktopComponents",function(){return d.CHM(n),d.oxw().closeAllDesktopComponents()})("showEmptyContainer",function(){return d.CHM(n),d.oxw().showEmptyContainer()}),d.qZA()}if(2&e){var o=d.oxw();d