PageSourceSearch

https://honaro.com/_nuxt/BMAYCxTp.js

js honaro.com collected 2026-10-08 07:21:56 UTC 3,701 bytes, 1 lines download raw bytes

1import{dI as R,cb as C,cg as h,jt as N,l3 as r,f as i,aH as o,cn as d,gY as f}from"./CETDtVAK.js";import{R as p}from"./CBHcERLk.js";var M=Object.defineProperty,A=(t,e,s)=>e in t?M(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,_=(t,e,s,a)=>{for(var n=void 0,l=t.length-1,c;l>=0;l--)(c=t[l])&&(n=c(e,s,n)||n);return n&&M(e,s,n),n},u=(t,e,s)=>A(t,typeof e!="symbol"?e+"":e,s);class O{constructor(){u(this,"thread",[]),u(this,"messageCount",new h)}}_([R(()=>C)],O.prototype,"thread");_([R(()=>h)],O.prototype,"messageCount");var E=Object.defineProperty,x=Object.getOwnPropertyDescriptor,T=(t,e,s)=>e in t?E(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,y=(t,e,s,a)=>{for(var n=a>1?void 0:a?x(e,s):e,l=t.length-1,c;l>=0;l--)(c=t[l])&&(n=c(n)||n);return n},I=(t,e)=>(s,a)=>e(s,a,t),g=(t,e,s)=>T(t,typeof e!="symbol"?e+"":e,s);let L=class{constructor(t){g(this,"ajaxClient",t),g(this,"INBOX_CONTROLLER","inbox"),g(this,"NOTIFICATION_CONTROLLER","notification"),g(this,"USER_CONTROLLER","user"),g(this,"RELATION_CONTROLLER","relations")}async getMessagesByType(t){const e=r.getUrl(this.INBOX_CONTROLLER,"getProfileMessageByType",t),s=new i().setLoaderMask(o.MASK_LOADER);return this.ajaxClient.getPagedData(e,C,s)}async getNotifications(t){const e=r.getUrl(this.NOTIFICATION_CONTROLLER,"getProfileNotifications",t),s=new i().setLoaderMask(o.MASK_LOADER);return this.ajaxClient.getPagedData(e,d,s)}async setMessagesFlag(t,e){const s=r.getUrl(this.INBOX_CONTROLLER,"setMessagesFlag"),a=new i().setLoaderMask(o.MASK_LOADER).setDisplayConfirmMsg(!0);return this.ajaxClient.post(s,{id:t,flag:e},a)}async changeMessagesStatus(t,e){const s=r.getUrl(this.INBOX_CONTROLLER,"changeMessagesStatus"),a=new i().setLoaderMask(o.MASK_LOADER).setDisplayConfirmMsg(!0),n=Array.isArray(t)?t:[t];return this.ajaxClient.post(s,{id:n,status:e},a)}async changeNotificationsStatuses(t,e){const s=r.getUrl(this.NOTIFICATION_CONTROLLER,"changeNotificationsStatuses"),a=new i().setLoaderMask(o.MASK_LOADER),n=Array.isArray(t)?t:[t];return this.ajaxClient.post(s,{id:n,status:e},a)}async deleteMessages(t){const e=r.getUrl(this.INBOX_CONTROLLER,"deleteMessages");return this.ajaxClient.post(e,{ids:t})}async getMessageDetails(t){const e=r.getUrl(this.INBOX_CONTROLLER,"getThread"),s=new i().setLoaderMask(o.MASK_LOADER);return this.ajaxClient.getAndMap(e,O,s,{mailId:t})}async sendMessage(t,e){const s=r.getUrl(this.INBOX_CONTROLLER,"createMessage"),a=new i().setLoaderMask(o.MASK_LOADER);return e&&a.setDisplayConfirmMsg(!0).setConfirmationMsg(e),this.ajaxClient.post(s,t,a)}async getReceiversSuggestions(t){const e=r.getUrl(this.INBOX_CONTROLLER,"getReceiversSuggestions",{name:t}),s=new i().setLoaderMask(o.MASK_LOADER);return this.ajaxClient.getJsonAndMapArray(e,p,s)}async saveAsDraft(t,e){const s=r.getUrl(this.INBOX_CONTROLLER,"saveMessageInDraft"),a=new i().setLoaderMask(o.MASK_LOADER);return e&&a.setDisplayConfirmMsg(!0).setConfirmationMsg(e),this.ajaxClient.post(s,t,a)}async updateDraftMessage(t,e){const s=r.getUrl(this.INBOX_CONTROLLER,"updateDraftMessage"),a=new i().setLoaderMask(o.MASK_LOADER);return e&&a.setDisplayConfirmMsg(!0).setConfirmationMsg(e),this.ajaxClient.post(s,t,a)}async handleRelationRequestNotification(t){const e=r.getUrl(this.RELATION_CONTROLLER,"handleNewConnection");return this.ajaxClient.get(e,void 0,t)}async handleFriendInvitationNotification(t){const e=r.getUrl(this.USER_CONTROLLER,"handleFriendInvitation");return this.ajaxClient.get(e,void 0,t)}async getMessagesCount(){const t=r.getUrl(this.INBOX_CONTROLLER,"getMessagesCount"),e=new i().setLoaderMask(o.MASK_LOADER);return this.ajaxClient.get(t,e)}};L=y([N(),I(0,f("ajaxClient"))],L);export{L as I};

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.