jiuyiUniapp/jiuyi/node_modules/easemob-websdk/contact/contact.js

1 line
43 KiB
JavaScript
Raw Normal View History

2024-12-18 15:46:27 +08:00
"use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.websdk=t():e.websdk=t()}(self,(function(){return(self.webpackChunkwebsdk=self.webpackChunkwebsdk||[]).push([[564],{7479:function(e,t,r){r.r(t),r.d(t,{acceptContactInvite:function(){return J},acceptInvitation:function(){return D},addContact:function(){return L},addConversationMark:function(){return ge},addReaction:function(){return te},addToBlackList:function(){return H},addUsersToBlacklist:function(){return K},addUsersToBlocklist:function(){return V},declineContactInvite:function(){return F},declineInvitation:function(){return q},deleteAllMessagesAndConversations:function(){return Se},deleteContact:function(){return X},deleteConversation:function(){return w},deleteReaction:function(){return re},deleteSession:function(){return N},fetchHistoryMessages:function(){return x},fetchUserInfoById:function(){return M},getAllContacts:function(){return he},getBlacklist:function(){return k},getBlocklist:function(){return E},getContacts:function(){return A},getContactsWithCursor:function(){return fe},getConversationlist:function(){return R},getHistoryMessages:function(){return B},getReactionDetail:function(){return oe},getReactionList:function(){return ae},getReactionlist:function(){return ne},getRoster:function(){return I},getSelfIdsOnOtherPlatform:function(){return Te},getServerConversations:function(){return ce},getServerConversationsByFilter:function(){return ye},getServerPinnedConversations:function(){return le},getServerPinnedMessages:function(){return Ae},getSessionList:function(){return j},getTokenExpireTimestamp:function(){return Z},modifyMessage:function(){return ee},pinConversation:function(){return pe},pinMessage:function(){return Ee},recallMessage:function(){return $},removeConversationMark:function(){return ve},removeFromBlackList:function(){return W},removeHistoryMessages:function(){return ie},removeRoster:function(){return G},removeUserFromBlackList:function(){return Q},removeUserFromBlocklist:function(){return Y},reportMessage:function(){return se},setContactRemark:function(){return de},unbindPushToken:function(){return _e},unpinMessage:function(){return Ie},updateCurrentUserNick:function(){return O},updateOwnUserInfo:function(){return P},updateUserInfo:function(){return U},uploadPushToken:function(){return C},uploadToken:function(){return _}}),r(9601),r(1539),r(8674),r(2526),r(1817),r(2165),r(6992),r(8783),r(3948),r(9554),r(4747),r(2222),r(7941),r(6699),r(3710),r(9714),r(9600),r(5069),r(561),r(9753),r(8309),r(1249),r(7327);var a=r(3246),n=r(5531),o=r(7252),s=r(4024),i=r(9937),c=r(8161),u=r(4188),l=r.n(u),p=r(7360),d=r(1595),h=r(4363),f=r(7288),m=r(9743),g=r(6801),v=function(){return v=Object.assign||function(e){for(var t,r=1,a=arguments.length;r<a;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},v.apply(this,arguments)},y=function(e,t,r,a){return new(r||(r=Promise))((function(n,o){function s(e){try{c(a.next(e))}catch(e){o(e)}}function i(e){try{c(a.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,i)}c((a=a.apply(e,t||[])).next())}))},T=function(e,t){var r,a,n,o,s={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function i(o){return function(i){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,a&&(n=2&o[0]?a.return:o[0]?a.throw||((n=a.return)&&n.call(a),0):a.next)&&!(n=n.call(a,o[1])).done)return n;switch(a=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,a=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((n=(n=s.trys).length>0&&n[n.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){s.label=o[1];brea