@ckeditor/ckeditor5-real-time-collaboration 45.1.0-alpha.4 → 45.1.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +14 -14
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4d0a3c=_0x3a5f;(function(_0x4fa6d6,_0x4aba9e){const _0x3bf95d=_0x3a5f,_0x124b61=_0x4fa6d6();while(!![]){try{const _0x3611c0=parseInt(_0x3bf95d(0x78))/0x1*(parseInt(_0x3bf95d(0x6b))/0x2)+parseInt(_0x3bf95d(0xd6))/0x3*(-parseInt(_0x3bf95d(0xb5))/0x4)+parseInt(_0x3bf95d(0xc6))/0x5*(parseInt(_0x3bf95d(0x86))/0x6)+parseInt(_0x3bf95d(0x83))/0x7*(parseInt(_0x3bf95d(0xa0))/0x8)+parseInt(_0x3bf95d(0x71))/0x9+parseInt(_0x3bf95d(0x95))/0xa+-parseInt(_0x3bf95d(0x8e))/0xb*(parseInt(_0x3bf95d(0xeb))/0xc);if(_0x3611c0===_0x4aba9e)break;else _0x124b61['push'](_0x124b61['shift']());}catch(_0x1b540f){_0x124b61['push'](_0x124b61['shift']());}}}(_0x4cdb,0x6c971));import{Plugin as _0x1d3b00}from'ckeditor5/src/core.js';function _0x3a5f(_0x416de0,_0x5eb365){const _0x4cdb9a=_0x4cdb();return _0x3a5f=function(_0x3a5f77,_0xbdc256){_0x3a5f77=_0x3a5f77-0x68;let _0xf6c20b=_0x4cdb9a[_0x3a5f77];return _0xf6c20b;},_0x3a5f(_0x416de0,_0x5eb365);}import{global as _0x26c00f,DomEmitterMixin as _0x425d62}from'ckeditor5/src/utils.js';function _0x4cdb(){const _0x18121d=['root','getContainedElement','add','false','getMarkerClass','getCustomProperty','101418SLljdc','rootName','reconvertMarker','isOfficialPlugin','isDocumentOperation','checkChild','5402925llSSXm','editing','data-session-id','detach','ck-user__selection','change:range','hasDomSelection','16vYFeje','has','createUserMarkerOperations','outerHTML','for','getStart','mouseenter','render','ck-user__marker-tooltip','updateMarker','name','12439QjQrRy','set','toRange','720324zzHiTM','undo','userPositionMarker','markerToHighlight','classList','getFirstRange','setAttribute','applyOperation','6688zWMWOV','innerHTML','change','isObject','editor','addEventListener','startsWith','1643720LNHEOc','start','clear','update:user:range','_domEmitter','span','user:','textContent','conversion','user:position','markerName','3376gTlGna','user:position:','fromRange','split','getUserBySessionId','remove','markerRange','setCustomProperty','isInline','afterInit','element','requires','mouseleave','mySessionId','get','markers','createRange','type','schema','stopListening','end','444184YJGIHx','markerNameToElements','ck-user__marker_hovered','deletionPosition','commands','keydown','getSelectionClass','user:range:','getPositions','isCollapsed','contenteditable','enqueueChange','color','isPremiumPlugin','view','tableCell','ck-user__marker\x20','25tVUBas','nodeAfter','orderNumber','mapper','oldRange','size','pluginName','createElement','parent','destroy','document','spellcheck','init','$text','user:range','selection','6EsmrZB','createUIElement','removeMarker','isSimilar','listenTo','editingDowncast','delete','removeClass','$graveyard','addMarker','plugins','UserMarkers','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getAttribute','isLimit','highest','hasContent','marker','markerToElement','getNearestSelectionRange','_createdBatches','44592AqsLmF','Escape','model','toDomElement','getRange','newRange','batch'];_0x4cdb=function(){return _0x18121d;};return _0x4cdb();}import _0x221d4d from'./sessions.js';import{LiveRange as _0x4dc413}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0x1d3b00{[_0x4d0a3c(0x99)]=new(_0x425d62())();static get[_0x4d0a3c(0xab)](){return[_0x221d4d];}static get[_0x4d0a3c(0xcc)](){const _0x2eabcd=_0x4d0a3c;return _0x2eabcd(0xe1);}static get[_0x4d0a3c(0x6e)](){return!0x0;}static get[_0x4d0a3c(0xc2)](){return!0x0;}[_0x4d0a3c(0xd2)](){const _0x159022=_0x4d0a3c,_0x28e01c=this[_0x159022(0x92)],_0x384cde=_0x28e01c[_0x159022(0xe0)][_0x159022(0xae)](_0x221d4d);_0x28e01c[_0x159022(0x9d)][_0x159022(0x7c)](_0x159022(0xdb))[_0x159022(0xe8)]({'model':_0x159022(0x9e),'view':(_0x3f2805,{writer:_0x3720e4})=>function(_0x58a9b8,_0x20822d,_0x58b5e2,_0x465144){const _0x51ba0e=_0x159022,_0x31d844=_0x58a9b8[_0x51ba0e(0x9f)][_0x51ba0e(0xa3)](':')[0x2],_0x153636=_0x58b5e2[_0x51ba0e(0xa4)](_0x31d844);if(!_0x153636||_0x31d844===_0x58b5e2[_0x51ba0e(0xad)])return;if(!_0x465144[_0x51ba0e(0xed)][_0x51ba0e(0xb2)][_0x51ba0e(0x70)](_0x58a9b8[_0x51ba0e(0xa6)][_0x51ba0e(0x96)],_0x51ba0e(0xd3)))return;const _0x1a6ad3={'class':_0x51ba0e(0xc5)+_0x153636[_0x51ba0e(0xc1)][_0x51ba0e(0x69)](),'data-name':_0x153636[_0x51ba0e(0x82)],'data-session-id':_0x31d844},_0x1bc982=_0x465144[_0x51ba0e(0xed)][_0x51ba0e(0xaf)][_0x51ba0e(0xae)](_0x58a9b8[_0x51ba0e(0x9f)]),_0x443160=_0x1bc982[_0x51ba0e(0x7d)](),_0x55e14e=_0x443160[_0x51ba0e(0xc7)],_0x345b18=_0x465144[_0x51ba0e(0xed)][_0x51ba0e(0xb2)];if(_0x55e14e&&_0x345b18[_0x51ba0e(0x91)](_0x55e14e)&&_0x345b18[_0x51ba0e(0xa8)](_0x55e14e)&&!_0x465144[_0x51ba0e(0xed)][_0x51ba0e(0xaf)][_0x51ba0e(0xae)](_0x51ba0e(0xbc)+_0x31d844)[_0x51ba0e(0xef)]()[_0x51ba0e(0xbe)])return;const _0x16af48=_0x443160[_0x51ba0e(0xce)];return _0x465144[_0x51ba0e(0xed)][_0x51ba0e(0xb2)][_0x51ba0e(0xe4)](_0x16af48)&&!_0x465144[_0x51ba0e(0xed)][_0x51ba0e(0xe6)](_0x16af48)&&(_0x1a6ad3[_0x51ba0e(0xbf)]=!0x1),function(_0x2225d6,_0x513fda,_0x4401ff){const _0xd7c1e0=_0x51ba0e,_0x238ade=_0x2225d6[_0xd7c1e0(0xd7)](_0xd7c1e0(0x9a),_0x513fda);return _0x2225d6[_0xd7c1e0(0xa7)](_0xd7c1e0(0x88),!0x0,_0x238ade),_0x238ade[_0xd7c1e0(0x7f)]=function(_0x2d2b86){const _0x3725f9=_0xd7c1e0,_0x5cfe62=this[_0x3725f9(0xee)](_0x2d2b86),_0x200e06=document[_0x3725f9(0xcd)](_0x3725f9(0x9a));return _0x200e06[_0x3725f9(0x8a)][_0x3725f9(0xf4)](_0x3725f9(0x80)),_0x200e06[_0x3725f9(0x8c)](_0x3725f9(0xbf),_0x3725f9(0x68)),_0x200e06[_0x3725f9(0x8c)](_0x3725f9(0xd1),_0x3725f9(0x68)),_0x200e06[_0x3725f9(0x9c)]=_0x4401ff[_0x3725f9(0x82)],_0x5cfe62[_0x3725f9(0x8f)]=_0x3725f9(0xe2)+_0x200e06[_0x3725f9(0x7b)]+'',_0x5cfe62[_0x3725f9(0x93)](_0x3725f9(0x7e),()=>{const _0x4417cd=_0x3725f9;_0x5cfe62[_0x4417cd(0x8a)][_0x4417cd(0xf4)](_0x4417cd(0xb7));}),_0x5cfe62[_0x3725f9(0x93)](_0x3725f9(0xac),()=>{const _0x630a2e=_0x3725f9;_0x5cfe62[_0x630a2e(0x8a)][_0x630a2e(0xa5)](_0x630a2e(0xb7));}),_0x5cfe62;},_0x238ade[_0xd7c1e0(0xd9)]=function(_0x5227a8){const _0x2a9d6e=_0xd7c1e0;return!(!this[_0x2a9d6e(0x6a)](_0x2a9d6e(0x88))||!_0x5227a8[_0x2a9d6e(0x6a)](_0x2a9d6e(0x88))||this[_0x2a9d6e(0xe3)](_0x2a9d6e(0x73))!=_0x5227a8[_0x2a9d6e(0xe3)](_0x2a9d6e(0x73)));},_0x238ade;}(_0x20822d,_0x1a6ad3,_0x153636);}(_0x3f2805,_0x3720e4,_0x384cde,_0x28e01c)}),_0x28e01c[_0x159022(0x9d)][_0x159022(0x7c)](_0x159022(0xdb))[_0x159022(0x89)]({'model':_0x159022(0xd4),'view':_0x5e7bf5=>function(_0x392197,_0x109c75){const _0x150470=_0x159022,_0x3a3d8b=_0x392197[_0x150470(0x9f)][_0x150470(0xa3)](':')[0x2];if(_0x3a3d8b===_0x109c75[_0x150470(0xad)])return null;const _0x1da90c=_0x109c75[_0x150470(0xa4)](_0x3a3d8b);if(!_0x1da90c)return{'id':_0x3a3d8b,'classes':[]};return{'id':_0x3a3d8b,'classes':[_0x150470(0x75),_0x1da90c[_0x150470(0xc1)][_0x150470(0xbb)]()],'attributes':{'data-session-id':_0x3a3d8b},'priority':0x7d0+_0x1da90c[_0x150470(0xc8)]};}(_0x5e7bf5,_0x384cde)}),function(_0x14635b){const _0x3dc7a7=_0x159022,_0x459d7c=_0x14635b[_0x3dc7a7(0xed)],_0x395e4f=new Map(),_0x8f794=_0x14635b[_0x3dc7a7(0xe0)][_0x3dc7a7(0xae)](_0x221d4d);_0x459d7c[_0x3dc7a7(0xaf)]['on'](_0x3dc7a7(0x98),(_0x1d3f7b,_0x54e40e,_0x44f616,_0x586cd2)=>{const _0x22445d=_0x3dc7a7;if(!_0x586cd2&&_0x395e4f[_0x22445d(0xae)](_0x54e40e[_0x22445d(0x82)]))return _0x395e4f[_0x22445d(0xae)](_0x54e40e[_0x22445d(0x82)])[_0x22445d(0x74)](),void _0x395e4f[_0x22445d(0xdc)](_0x54e40e[_0x22445d(0x82)]);const _0x591f84=_0x54e40e[_0x22445d(0x82)][_0x22445d(0xa3)](':')[0x2];if(_0x591f84===_0x8f794[_0x22445d(0xad)])return;const _0xd6e72f=_0x22445d(0xa1)+_0x591f84;_0x459d7c[_0x22445d(0xaf)][_0x22445d(0x79)](_0xd6e72f)&&_0x14635b[_0x22445d(0x72)][_0x22445d(0x6d)](_0xd6e72f),_0x54e40e['on'](_0x22445d(0x76),(_0x2bcdf9,_0x5287c7,_0x186ac4)=>{const _0x4b3ee5=_0x22445d;if(_0x4b3ee5(0xde)!=_0x5287c7[_0x4b3ee5(0xf2)][_0x4b3ee5(0x6c)]&&_0x4b3ee5(0xde)==_0x54e40e[_0x4b3ee5(0xef)]()[_0x4b3ee5(0xf2)][_0x4b3ee5(0x6c)]&&!_0x395e4f[_0x4b3ee5(0x79)](_0x54e40e[_0x4b3ee5(0x82)])){const _0x31787b=_0x459d7c[_0x4b3ee5(0xb2)][_0x4b3ee5(0xe9)](_0x186ac4[_0x4b3ee5(0xb8)]);if(_0x31787b){const _0x5e8317=_0x4dc413[_0x4b3ee5(0xa2)](_0x31787b);_0x395e4f[_0x4b3ee5(0x84)](_0x54e40e[_0x4b3ee5(0x82)],_0x5e8317),_0x5e8317['on'](_0x4b3ee5(0x76),(_0x3b4a4a,_0x521650,_0x16e877)=>{const _0x533864=_0x4b3ee5;if(_0x533864(0xde)==_0x5e8317[_0x533864(0xf2)][_0x533864(0x6c)]){const _0xae0930=_0x459d7c[_0x533864(0xb2)][_0x533864(0xe9)](_0x16e877[_0x533864(0xb8)]);_0xae0930?(_0x5e8317[_0x533864(0x96)]=_0xae0930[_0x533864(0x96)],_0x5e8317[_0x533864(0xb4)]=_0xae0930[_0x533864(0xb4)]):(_0x395e4f[_0x533864(0xdc)](_0x54e40e[_0x533864(0x82)]),_0x5e8317[_0x533864(0x74)]());}});}}});}),_0x459d7c[_0x3dc7a7(0xd0)]['on'](_0x3dc7a7(0x90),()=>{const _0x308001=_0x3dc7a7;_0x395e4f[_0x308001(0xcb)]>0x0&&_0x459d7c[_0x308001(0xc0)]({'isUndoable':!0x1},_0x19bc14=>{const _0x3df51d=_0x308001;for(const [_0x1d6d73,_0x16cdd3]of _0x395e4f)_0x3df51d(0xde)==_0x459d7c[_0x3df51d(0xaf)][_0x3df51d(0xae)](_0x1d6d73)[_0x3df51d(0xef)]()[_0x3df51d(0xf2)][_0x3df51d(0x6c)]&&(te(_0x1d6d73[_0x3df51d(0xa3)](':')[0x2],_0x16cdd3[_0x3df51d(0x85)](),_0x459d7c,_0x19bc14),_0x16cdd3[_0x3df51d(0x74)]());_0x395e4f[_0x3df51d(0x97)]();});});}(_0x28e01c),this[_0x159022(0x99)][_0x159022(0xda)](_0x26c00f[_0x159022(0xd0)],_0x159022(0xba),(_0x7e3557,{key:_0x4be8c4})=>{const _0x1118d0=_0x159022;_0x1118d0(0xec)===_0x4be8c4&&function(_0x163d5b){const _0x4d0a31=_0x1118d0;_0x163d5b[_0x4d0a31(0x72)][_0x4d0a31(0xc3)][_0x4d0a31(0x90)](_0x148e41=>{const _0x3077ff=_0x4d0a31;for(const _0xf15a16 of _0x163d5b[_0x3077ff(0xed)][_0x3077ff(0xaf)]){if(!_0xf15a16[_0x3077ff(0x82)][_0x3077ff(0x94)](_0x3077ff(0x9e)))continue;const _0x45004d=_0x163d5b[_0x3077ff(0x72)][_0x3077ff(0xc9)][_0x3077ff(0xb6)](_0xf15a16[_0x3077ff(0x82)]);if(_0x45004d){for(const _0x230b73 of _0x45004d)_0x148e41[_0x3077ff(0xdd)](_0x3077ff(0xb7),_0x230b73);}}});}(_0x28e01c);},{'useCapture':!0x0});}[_0x4d0a3c(0xa9)](){const _0x3fa64f=_0x4d0a3c,_0x1f1009=this[_0x3fa64f(0x92)],_0x27b6f9=_0x1f1009[_0x3fa64f(0xb9)][_0x3fa64f(0xae)](_0x3fa64f(0x87));_0x27b6f9&&_0x1f1009[_0x3fa64f(0xed)]['on'](_0x3fa64f(0x8d),(_0x17fedf,_0x5aa4e8)=>{const _0x5b1ff6=_0x3fa64f,_0x1b31c9=_0x5aa4e8[0x0];if(!_0x1b31c9[_0x5b1ff6(0x6f)])return;if(_0x5b1ff6(0xe7)!=_0x1b31c9[_0x5b1ff6(0xb1)]||!_0x1b31c9[_0x5b1ff6(0x82)][_0x5b1ff6(0x94)](_0x5b1ff6(0x9b)))return;const _0x577dcc=_0x1b31c9[_0x5b1ff6(0xf1)];_0x27b6f9[_0x5b1ff6(0xea)][_0x5b1ff6(0x79)](_0x577dcc)&&(_0x1b31c9[_0x5b1ff6(0xf0)]=_0x1b31c9[_0x5b1ff6(0xca)]?_0x1f1009[_0x5b1ff6(0xed)][_0x5b1ff6(0xb0)](_0x1b31c9[_0x5b1ff6(0xca)][_0x5b1ff6(0x96)],_0x1b31c9[_0x5b1ff6(0xca)][_0x5b1ff6(0xb4)]):null);},{'priority':_0x3fa64f(0xe5)});}[_0x4d0a3c(0xcf)](){const _0x5f0214=_0x4d0a3c;return this[_0x5f0214(0x99)][_0x5f0214(0xb3)](),super[_0x5f0214(0xcf)]();}[_0x4d0a3c(0x7a)](){const _0x481e84=_0x4d0a3c,_0x57368c=this[_0x481e84(0x92)],_0x2a4c66=_0x57368c[_0x481e84(0xed)][_0x481e84(0xd0)],_0x57a4a6=_0x57368c[_0x481e84(0xe0)][_0x481e84(0xae)](_0x221d4d);_0x57368c[_0x481e84(0xed)][_0x481e84(0xc0)]({'isUndoable':!0x1},_0x52554f=>{const _0x5d6c51=_0x481e84,_0x215486=_0x5d6c51(0xbc)+_0x57a4a6[_0x5d6c51(0xad)],_0x30433c=_0x5d6c51(0xa1)+_0x57a4a6[_0x5d6c51(0xad)],_0x2a76b4=_0x57368c[_0x5d6c51(0xed)][_0x5d6c51(0xaf)][_0x5d6c51(0x79)](_0x215486);_0x57368c[_0x5d6c51(0x72)][_0x5d6c51(0xc3)][_0x5d6c51(0x77)]?te(_0x57a4a6[_0x5d6c51(0xad)],_0x2a4c66[_0x5d6c51(0xd5)][_0x5d6c51(0x8b)](),_0x57368c[_0x5d6c51(0xed)],_0x52554f):_0x2a76b4&&(_0x52554f[_0x5d6c51(0xd8)](_0x215486),_0x52554f[_0x5d6c51(0xd8)](_0x30433c));});}}function te(_0x2ef51a,_0x344c19,_0x48bbd3,_0x50e7ae){const _0x24a681=_0x4d0a3c,_0x362ba2=_0x24a681(0xbc)+_0x2ef51a,_0x53b4cb=_0x24a681(0xa1)+_0x2ef51a,_0x3b498e=_0x344c19[_0x24a681(0xf3)]();let _0x3d4aa1=_0x344c19[_0x24a681(0x96)];_0x3b498e&&_0x3b498e['is'](_0x24a681(0xaa),_0x24a681(0xc4))&&(_0x3d4aa1=function(_0x338a0b,_0x57b18d){const _0x101663=_0x24a681;for(const _0x355bc7 of _0x338a0b[_0x101663(0xbd)]())if(_0x57b18d[_0x101663(0xb2)][_0x101663(0x70)](_0x355bc7,_0x101663(0xd3)))return _0x355bc7;}(_0x344c19,_0x48bbd3),_0x344c19=_0x50e7ae[_0x24a681(0xb0)](_0x3d4aa1));const _0x4651cf=_0x50e7ae[_0x24a681(0xb0)](_0x3d4aa1);_0x48bbd3[_0x24a681(0xaf)][_0x24a681(0x79)](_0x362ba2)?(_0x50e7ae[_0x24a681(0x81)](_0x362ba2,{'range':_0x344c19}),_0x50e7ae[_0x24a681(0x81)](_0x53b4cb,{'range':_0x4651cf})):(_0x50e7ae[_0x24a681(0xdf)](_0x362ba2,{'range':_0x344c19,'usingOperation':!0x0}),_0x50e7ae[_0x24a681(0xdf)](_0x53b4cb,{'range':_0x4651cf,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x1363f3=_0x5dce;function _0x5dce(_0xf4fa98,_0x45beb3){const _0x593bb7=_0x593b();return _0x5dce=function(_0x5dce47,_0x55089c){_0x5dce47=_0x5dce47-0x195;let _0x598db0=_0x593bb7[_0x5dce47];return _0x598db0;},_0x5dce(_0xf4fa98,_0x45beb3);}(function(_0x24a481,_0x2573fc){const _0x4b03cf=_0x5dce,_0x585265=_0x24a481();while(!![]){try{const _0x42d285=-parseInt(_0x4b03cf(0x19c))/0x1*(-parseInt(_0x4b03cf(0x1c7))/0x2)+-parseInt(_0x4b03cf(0x217))/0x3*(-parseInt(_0x4b03cf(0x1c6))/0x4)+parseInt(_0x4b03cf(0x1b4))/0x5*(parseInt(_0x4b03cf(0x1d0))/0x6)+-parseInt(_0x4b03cf(0x19d))/0x7*(-parseInt(_0x4b03cf(0x20d))/0x8)+parseInt(_0x4b03cf(0x1a8))/0x9*(-parseInt(_0x4b03cf(0x1a2))/0xa)+parseInt(_0x4b03cf(0x203))/0xb+-parseInt(_0x4b03cf(0x1b7))/0xc*(parseInt(_0x4b03cf(0x1cd))/0xd);if(_0x42d285===_0x2573fc)break;else _0x585265['push'](_0x585265['shift']());}catch(_0x58768b){_0x585265['push'](_0x585265['shift']());}}}(_0x593b,0x78a87));import{Plugin as _0x38451f}from'ckeditor5/src/core.js';function _0x593b(){const _0x3ddd04=['plugins','871MWZtiC','markerNameToElements','markerRange','795276CDoTey','$text','add','UserMarkers','removeClass','end','createUserMarkerOperations','listenTo','addEventListener','change','element','split','toDomElement','highest','enqueueChange','selection','clear','span','isSimilar','user:range:','ck-user__selection','editingDowncast','setCustomProperty','isCollapsed','classList','getAttribute','orderNumber','type','getSelectionClass','size','user:range','isInline','userPositionMarker','remove','hasDomSelection','getFirstRange','start','editing','user:position','getPositions','requires','commands','fromRange','isObject','markerToHighlight','oldRange','model','applyOperation','reconvertMarker','getNearestSelectionRange','undo','3494601MyjZvj','addMarker','color','user:position:','set','spellcheck','markers','mySessionId','textContent','detach','418296CXLyRb','mapper','hasContent','deletionPosition','name','schema','newRange','get','delete','destroy','2310882GyUjDS','checkChild','getMarkerClass','for','ck-user__marker_hovered','toRange','data-session-id','startsWith','change:range','removeMarker','isDocumentOperation','setAttribute','tableCell','outerHTML','view','getRange','_domEmitter','$graveyard','createElement','216097MqhWVG','84ENxcNx','createUIElement','document','rootName','markerName','2890DYEjQe','mouseleave','marker','getStart','isLimit','markerToElement','306mnHwsR','contenteditable','innerHTML','editor','keydown','createRange','batch','isOfficialPlugin','render','_createdBatches','Escape','updateMarker','10kfHkEj','afterInit','false','380556OfxRvu','conversion','ck-user__marker\x20','has','parent','getContainedElement','nodeAfter','getUserBySessionId','getCustomProperty','user:','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mouseenter','root','init','isPremiumPlugin','4PBLyFP','6mLfsRG','ck-user__marker-tooltip','stopListening','update:user:range','pluginName'];_0x593b=function(){return _0x3ddd04;};return _0x593b();}import{global as _0x452998,DomEmitterMixin as _0x8866dc}from'ckeditor5/src/utils.js';import _0x9eeb07 from'./sessions.js';import{LiveRange as _0x356e41}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class B extends _0x38451f{[_0x1363f3(0x199)]=new(_0x8866dc())();static get[_0x1363f3(0x1f8)](){return[_0x9eeb07];}static get[_0x1363f3(0x1cb)](){const _0x5f2752=_0x1363f3;return _0x5f2752(0x1d3);}static get[_0x1363f3(0x1af)](){return!0x0;}static get[_0x1363f3(0x1c5)](){return!0x0;}[_0x1363f3(0x1c4)](){const _0x340c8c=_0x1363f3,_0x1741d1=this[_0x340c8c(0x1ab)],_0x36f329=_0x1741d1[_0x340c8c(0x1cc)][_0x340c8c(0x214)](_0x9eeb07);_0x1741d1[_0x340c8c(0x1b8)][_0x340c8c(0x21a)](_0x340c8c(0x1e5))[_0x340c8c(0x1a7)]({'model':_0x340c8c(0x1f6),'view':(_0x1b1174,{writer:_0x8e64d0})=>function(_0xedca,_0x17cb12,_0x5f573d,_0x4b1199){const _0x491e08=_0x340c8c,_0x5d98b9=_0xedca[_0x491e08(0x1a1)][_0x491e08(0x1db)](':')[0x2],_0x3b20ef=_0x5f573d[_0x491e08(0x1be)](_0x5d98b9);if(!_0x3b20ef||_0x5d98b9===_0x5f573d[_0x491e08(0x20a)])return;if(!_0x4b1199[_0x491e08(0x1fe)][_0x491e08(0x212)][_0x491e08(0x218)](_0xedca[_0x491e08(0x1cf)][_0x491e08(0x1f4)],_0x491e08(0x1d1)))return;const _0x2830d4={'class':_0x491e08(0x1b9)+_0x3b20ef[_0x491e08(0x205)][_0x491e08(0x219)](),'data-name':_0x3b20ef[_0x491e08(0x211)],'data-session-id':_0x5d98b9},_0x2b7884=_0x4b1199[_0x491e08(0x1fe)][_0x491e08(0x209)][_0x491e08(0x214)](_0xedca[_0x491e08(0x1a1)]),_0x4e8b0f=_0x2b7884[_0x491e08(0x1a5)](),_0x209f34=_0x4e8b0f[_0x491e08(0x1bd)],_0x2c1b2e=_0x4b1199[_0x491e08(0x1fe)][_0x491e08(0x212)];if(_0x209f34&&_0x2c1b2e[_0x491e08(0x1fb)](_0x209f34)&&_0x2c1b2e[_0x491e08(0x1ef)](_0x209f34)&&!_0x4b1199[_0x491e08(0x1fe)][_0x491e08(0x209)][_0x491e08(0x214)](_0x491e08(0x1e3)+_0x5d98b9)[_0x491e08(0x198)]()[_0x491e08(0x1e7)])return;const _0x274e42=_0x4e8b0f[_0x491e08(0x1bb)];return _0x4b1199[_0x491e08(0x1fe)][_0x491e08(0x212)][_0x491e08(0x1a6)](_0x274e42)&&!_0x4b1199[_0x491e08(0x1fe)][_0x491e08(0x20f)](_0x274e42)&&(_0x2830d4[_0x491e08(0x1a9)]=!0x1),function(_0x2dbc5c,_0x5c3cc9,_0x4bd897){const _0x59093b=_0x491e08,_0x1e6c70=_0x2dbc5c[_0x59093b(0x19e)](_0x59093b(0x1e1),_0x5c3cc9);return _0x2dbc5c[_0x59093b(0x1e6)](_0x59093b(0x1f0),!0x0,_0x1e6c70),_0x1e6c70[_0x59093b(0x1b0)]=function(_0x18d650){const _0x4773ff=_0x59093b,_0x440a33=this[_0x4773ff(0x1dc)](_0x18d650),_0x4f63f1=document[_0x4773ff(0x19b)](_0x4773ff(0x1e1));return _0x4f63f1[_0x4773ff(0x1e8)][_0x4773ff(0x1d2)](_0x4773ff(0x1c8)),_0x4f63f1[_0x4773ff(0x222)](_0x4773ff(0x1a9),_0x4773ff(0x1b6)),_0x4f63f1[_0x4773ff(0x222)](_0x4773ff(0x208),_0x4773ff(0x1b6)),_0x4f63f1[_0x4773ff(0x20b)]=_0x4bd897[_0x4773ff(0x211)],_0x440a33[_0x4773ff(0x1aa)]=_0x4773ff(0x1c1)+_0x4f63f1[_0x4773ff(0x196)]+'',_0x440a33[_0x4773ff(0x1d8)](_0x4773ff(0x1c2),()=>{const _0x2514e0=_0x4773ff;_0x440a33[_0x2514e0(0x1e8)][_0x2514e0(0x1d2)](_0x2514e0(0x21b));}),_0x440a33[_0x4773ff(0x1d8)](_0x4773ff(0x1a3),()=>{const _0x2997ae=_0x4773ff;_0x440a33[_0x2997ae(0x1e8)][_0x2997ae(0x1f1)](_0x2997ae(0x21b));}),_0x440a33;},_0x1e6c70[_0x59093b(0x1e2)]=function(_0x190da1){const _0x5bc492=_0x59093b;return!(!this[_0x5bc492(0x1bf)](_0x5bc492(0x1f0))||!_0x190da1[_0x5bc492(0x1bf)](_0x5bc492(0x1f0))||this[_0x5bc492(0x1e9)](_0x5bc492(0x21d))!=_0x190da1[_0x5bc492(0x1e9)](_0x5bc492(0x21d)));},_0x1e6c70;}(_0x17cb12,_0x2830d4,_0x3b20ef);}(_0x1b1174,_0x8e64d0,_0x36f329,_0x1741d1)}),_0x1741d1[_0x340c8c(0x1b8)][_0x340c8c(0x21a)](_0x340c8c(0x1e5))[_0x340c8c(0x1fc)]({'model':_0x340c8c(0x1ee),'view':_0x45520d=>function(_0x2ef8d7,_0x3a5c99){const _0x3f1b47=_0x340c8c,_0x59ff66=_0x2ef8d7[_0x3f1b47(0x1a1)][_0x3f1b47(0x1db)](':')[0x2];if(_0x59ff66===_0x3a5c99[_0x3f1b47(0x20a)])return null;const _0x2b58d4=_0x3a5c99[_0x3f1b47(0x1be)](_0x59ff66);if(!_0x2b58d4)return{'id':_0x59ff66,'classes':[]};return{'id':_0x59ff66,'classes':[_0x3f1b47(0x1e4),_0x2b58d4[_0x3f1b47(0x205)][_0x3f1b47(0x1ec)]()],'attributes':{'data-session-id':_0x59ff66},'priority':0x7d0+_0x2b58d4[_0x3f1b47(0x1ea)]};}(_0x45520d,_0x36f329)}),function(_0x49be54){const _0x46e0bb=_0x340c8c,_0x2a1587=_0x49be54[_0x46e0bb(0x1fe)],_0xd4f39f=new Map(),_0x224fa8=_0x49be54[_0x46e0bb(0x1cc)][_0x46e0bb(0x214)](_0x9eeb07);_0x2a1587[_0x46e0bb(0x209)]['on'](_0x46e0bb(0x1ca),(_0x48d33a,_0x1475f0,_0x1b0d7b,_0x1534c6)=>{const _0x2f952a=_0x46e0bb;if(!_0x1534c6&&_0xd4f39f[_0x2f952a(0x214)](_0x1475f0[_0x2f952a(0x211)]))return _0xd4f39f[_0x2f952a(0x214)](_0x1475f0[_0x2f952a(0x211)])[_0x2f952a(0x20c)](),void _0xd4f39f[_0x2f952a(0x215)](_0x1475f0[_0x2f952a(0x211)]);const _0x4b32a6=_0x1475f0[_0x2f952a(0x211)][_0x2f952a(0x1db)](':')[0x2];if(_0x4b32a6===_0x224fa8[_0x2f952a(0x20a)])return;const _0x6d4ba=_0x2f952a(0x206)+_0x4b32a6;_0x2a1587[_0x2f952a(0x209)][_0x2f952a(0x1ba)](_0x6d4ba)&&_0x49be54[_0x2f952a(0x1f5)][_0x2f952a(0x200)](_0x6d4ba),_0x1475f0['on'](_0x2f952a(0x21f),(_0x28a83d,_0xe92ec5,_0x40378f)=>{const _0x1b5c09=_0x2f952a;if(_0x1b5c09(0x19a)!=_0xe92ec5[_0x1b5c09(0x1c3)][_0x1b5c09(0x1a0)]&&_0x1b5c09(0x19a)==_0x1475f0[_0x1b5c09(0x198)]()[_0x1b5c09(0x1c3)][_0x1b5c09(0x1a0)]&&!_0xd4f39f[_0x1b5c09(0x1ba)](_0x1475f0[_0x1b5c09(0x211)])){const _0x168381=_0x2a1587[_0x1b5c09(0x212)][_0x1b5c09(0x201)](_0x40378f[_0x1b5c09(0x210)]);if(_0x168381){const _0x38ae0d=_0x356e41[_0x1b5c09(0x1fa)](_0x168381);_0xd4f39f[_0x1b5c09(0x207)](_0x1475f0[_0x1b5c09(0x211)],_0x38ae0d),_0x38ae0d['on'](_0x1b5c09(0x21f),(_0x562c0d,_0x1fb3df,_0x425b0f)=>{const _0x1070c2=_0x1b5c09;if(_0x1070c2(0x19a)==_0x38ae0d[_0x1070c2(0x1c3)][_0x1070c2(0x1a0)]){const _0x2f2035=_0x2a1587[_0x1070c2(0x212)][_0x1070c2(0x201)](_0x425b0f[_0x1070c2(0x210)]);_0x2f2035?(_0x38ae0d[_0x1070c2(0x1f4)]=_0x2f2035[_0x1070c2(0x1f4)],_0x38ae0d[_0x1070c2(0x1d5)]=_0x2f2035[_0x1070c2(0x1d5)]):(_0xd4f39f[_0x1070c2(0x215)](_0x1475f0[_0x1070c2(0x211)]),_0x38ae0d[_0x1070c2(0x20c)]());}});}}});}),_0x2a1587[_0x46e0bb(0x19f)]['on'](_0x46e0bb(0x1d9),()=>{const _0xb4c4d7=_0x46e0bb;_0xd4f39f[_0xb4c4d7(0x1ed)]>0x0&&_0x2a1587[_0xb4c4d7(0x1de)]({'isUndoable':!0x1},_0x524882=>{const _0x73b03f=_0xb4c4d7;for(const [_0xcdb9f8,_0x1c6e88]of _0xd4f39f)_0x73b03f(0x19a)==_0x2a1587[_0x73b03f(0x209)][_0x73b03f(0x214)](_0xcdb9f8)[_0x73b03f(0x198)]()[_0x73b03f(0x1c3)][_0x73b03f(0x1a0)]&&(X(_0xcdb9f8[_0x73b03f(0x1db)](':')[0x2],_0x1c6e88[_0x73b03f(0x21c)](),_0x2a1587,_0x524882),_0x1c6e88[_0x73b03f(0x20c)]());_0xd4f39f[_0x73b03f(0x1e0)]();});});}(_0x1741d1),this[_0x340c8c(0x199)][_0x340c8c(0x1d7)](_0x452998[_0x340c8c(0x19f)],_0x340c8c(0x1ac),(_0x599b7b,{key:_0x125c68})=>{const _0x30c07f=_0x340c8c;_0x30c07f(0x1b2)===_0x125c68&&function(_0x325dcd){const _0x295242=_0x30c07f;_0x325dcd[_0x295242(0x1f5)][_0x295242(0x197)][_0x295242(0x1d9)](_0x366a2b=>{const _0x217daf=_0x295242;for(const _0x3cad1f of _0x325dcd[_0x217daf(0x1fe)][_0x217daf(0x209)]){if(!_0x3cad1f[_0x217daf(0x211)][_0x217daf(0x21e)](_0x217daf(0x1f6)))continue;const _0x1d7b9a=_0x325dcd[_0x217daf(0x1f5)][_0x217daf(0x20e)][_0x217daf(0x1ce)](_0x3cad1f[_0x217daf(0x211)]);if(_0x1d7b9a){for(const _0x534c0f of _0x1d7b9a)_0x366a2b[_0x217daf(0x1d4)](_0x217daf(0x21b),_0x534c0f);}}});}(_0x1741d1);},{'useCapture':!0x0});}[_0x1363f3(0x1b5)](){const _0x1351d7=_0x1363f3,_0x207aa0=this[_0x1351d7(0x1ab)],_0x504de4=_0x207aa0[_0x1351d7(0x1f9)][_0x1351d7(0x214)](_0x1351d7(0x202));_0x504de4&&_0x207aa0[_0x1351d7(0x1fe)]['on'](_0x1351d7(0x1ff),(_0x38243d,_0x460254)=>{const _0xbe56aa=_0x1351d7,_0x512719=_0x460254[0x0];if(!_0x512719[_0xbe56aa(0x221)])return;if(_0xbe56aa(0x1a4)!=_0x512719[_0xbe56aa(0x1eb)]||!_0x512719[_0xbe56aa(0x211)][_0xbe56aa(0x21e)](_0xbe56aa(0x1c0)))return;const _0x48e40f=_0x512719[_0xbe56aa(0x1ae)];_0x504de4[_0xbe56aa(0x1b1)][_0xbe56aa(0x1ba)](_0x48e40f)&&(_0x512719[_0xbe56aa(0x213)]=_0x512719[_0xbe56aa(0x1fd)]?_0x207aa0[_0xbe56aa(0x1fe)][_0xbe56aa(0x1ad)](_0x512719[_0xbe56aa(0x1fd)][_0xbe56aa(0x1f4)],_0x512719[_0xbe56aa(0x1fd)][_0xbe56aa(0x1d5)]):null);},{'priority':_0x1351d7(0x1dd)});}[_0x1363f3(0x216)](){const _0x450a49=_0x1363f3;return this[_0x450a49(0x199)][_0x450a49(0x1c9)](),super[_0x450a49(0x216)]();}[_0x1363f3(0x1d6)](){const _0x2fc35f=_0x1363f3,_0x53b19b=this[_0x2fc35f(0x1ab)],_0x5136dd=_0x53b19b[_0x2fc35f(0x1fe)][_0x2fc35f(0x19f)],_0x62bb83=_0x53b19b[_0x2fc35f(0x1cc)][_0x2fc35f(0x214)](_0x9eeb07);_0x53b19b[_0x2fc35f(0x1fe)][_0x2fc35f(0x1de)]({'isUndoable':!0x1},_0x46d6d8=>{const _0x12e133=_0x2fc35f,_0xf2b8f=_0x12e133(0x1e3)+_0x62bb83[_0x12e133(0x20a)],_0x15b90a=_0x12e133(0x206)+_0x62bb83[_0x12e133(0x20a)],_0x4591cc=_0x53b19b[_0x12e133(0x1fe)][_0x12e133(0x209)][_0x12e133(0x1ba)](_0xf2b8f);_0x53b19b[_0x12e133(0x1f5)][_0x12e133(0x197)][_0x12e133(0x1f2)]?X(_0x62bb83[_0x12e133(0x20a)],_0x5136dd[_0x12e133(0x1df)][_0x12e133(0x1f3)](),_0x53b19b[_0x12e133(0x1fe)],_0x46d6d8):_0x4591cc&&(_0x46d6d8[_0x12e133(0x220)](_0xf2b8f),_0x46d6d8[_0x12e133(0x220)](_0x15b90a));});}}function X(_0x164f9c,_0x4a60b9,_0x443dff,_0x1dce03){const _0x4b2651=_0x1363f3,_0x45222b=_0x4b2651(0x1e3)+_0x164f9c,_0x28e126=_0x4b2651(0x206)+_0x164f9c,_0x321a3e=_0x4a60b9[_0x4b2651(0x1bc)]();let _0x278c84=_0x4a60b9[_0x4b2651(0x1f4)];_0x321a3e&&_0x321a3e['is'](_0x4b2651(0x1da),_0x4b2651(0x195))&&(_0x278c84=function(_0x53d8b2,_0x444e51){const _0x83a737=_0x4b2651;for(const _0x437112 of _0x53d8b2[_0x83a737(0x1f7)]())if(_0x444e51[_0x83a737(0x212)][_0x83a737(0x218)](_0x437112,_0x83a737(0x1d1)))return _0x437112;}(_0x4a60b9,_0x443dff),_0x4a60b9=_0x1dce03[_0x4b2651(0x1ad)](_0x278c84));const _0x271803=_0x1dce03[_0x4b2651(0x1ad)](_0x278c84);_0x443dff[_0x4b2651(0x209)][_0x4b2651(0x1ba)](_0x45222b)?(_0x1dce03[_0x4b2651(0x1b3)](_0x45222b,{'range':_0x4a60b9}),_0x1dce03[_0x4b2651(0x1b3)](_0x28e126,{'range':_0x271803})):(_0x1dce03[_0x4b2651(0x204)](_0x45222b,{'range':_0x4a60b9,'usingOperation':!0x0}),_0x1dce03[_0x4b2651(0x204)](_0x28e126,{'range':_0x271803,'usingOperation':!0x0}));}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>
|
|
23
|
+
function _0x5df5(_0x497dd9,_0x522cdb){const _0x328a55=_0x328a();return _0x5df5=function(_0x5df544,_0x10890e){_0x5df544=_0x5df544-0x179;let _0x51c7ba=_0x328a55[_0x5df544];return _0x51c7ba;},_0x5df5(_0x497dd9,_0x522cdb);}function _0x328a(){const _0xec68c0=['change:me','add','config','connected','DISCONNECTED','CONNECTING','WebSocketGateway','delete','addToReconnectionStack','context','then','websocketgateway-missing-token','CONNECTED','real-time-collaboration','limitExceeded','isInReconnectionStack','126bwcEHa','websocketgateway-plugin-already-registered','85202gUXhVJ','initialReconnectionInterval','isPremiumPlugin','1305276doFDOu','define','removeFromReconnectionStack','cloudservices-init','_shouldPluginsReconnect','showWarning','_reconnectionStack','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','_domEmitter','cloudservices-reconnection-error','cloudServices.requestTimeout','webSocketUrl','all','websocketgateway-invalid-plugin-interface','stopListening','711447WwEPKo','connect','function','reconnect','destroy','listenTo','cloudServices.connectionTimeout','disconnect','set','token','Connected\x20users\x20limit\x20exceeded','online','offline','426420olPbyf','code','connection','init','pluginName','plugins','error','state','create','websocketgateway-missing-websocket-url','from','catch','_isBrowserOffline','30GoVtUg','isOfficialPlugin','137994UOHnTb','bind','_reconnect','7XxWCyQ','279376lKYhRT','507143UQdexX','has','CloudServices','get','requires','constructor'];_0x328a=function(){return _0xec68c0;};return _0x328a();}const _0x31b950=_0x5df5;(function(_0x36c5d6,_0x338ee9){const _0x3daa5c=_0x5df5,_0xd98937=_0x36c5d6();while(!![]){try{const _0x450bf6=parseInt(_0x3daa5c(0x19d))/0x1*(parseInt(_0x3daa5c(0x1b7))/0x2)+-parseInt(_0x3daa5c(0x17e))/0x3+-parseInt(_0x3daa5c(0x1ba))/0x4+parseInt(_0x3daa5c(0x198))/0x5*(parseInt(_0x3daa5c(0x19a))/0x6)+-parseInt(_0x3daa5c(0x19f))/0x7+-parseInt(_0x3daa5c(0x19e))/0x8*(-parseInt(_0x3daa5c(0x1b5))/0x9)+parseInt(_0x3daa5c(0x18b))/0xa;if(_0x450bf6===_0x338ee9)break;else _0xd98937['push'](_0xd98937['shift']());}catch(_0xc5e99){_0xd98937['push'](_0xd98937['shift']());}}}(_0x328a,0x5103a));import{ContextPlugin as _0x46a026}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x25516d,CKEditorError as _0x2d57f2}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4eb94f,WEB_SOCKET_GATEWAY_STATES as _0xfd2fd1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x1fd043}from'ckeditor5/src/ui.js';class c extends _0x46a026{static [_0x31b950(0x1ab)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4eb94f)());static [_0x31b950(0x1b8)]=0x3e8;[_0x31b950(0x18d)];[_0x31b950(0x1c0)];[_0x31b950(0x1be)];[_0x31b950(0x1c2)];static get[_0x31b950(0x1a3)](){const _0x3eddb7=_0x31b950;return[_0x3eddb7(0x1a1),_0x1fd043];}static get[_0x31b950(0x18f)](){const _0x20e674=_0x31b950;return _0x20e674(0x1ab);}static get[_0x31b950(0x199)](){return!0x0;}static get[_0x31b950(0x1b9)](){return!0x0;}constructor(_0x6d3daf){const _0x1dc085=_0x31b950;super(_0x6d3daf),this[_0x1dc085(0x186)](_0x1dc085(0x192),_0xfd2fd1[_0x1dc085(0x1b1)]),this[_0x1dc085(0x186)](_0x1dc085(0x197),!0x1),this[_0x1dc085(0x1c0)]=new Set(),this[_0x1dc085(0x1be)]=!0x1,this[_0x1dc085(0x1c2)]=Object[_0x1dc085(0x193)](_0x25516d);}[_0x31b950(0x18e)](){const _0x711041=_0x31b950,_0x4fc763=this[_0x711041(0x1ae)],_0x1397be=_0x4fc763[_0x711041(0x190)][_0x711041(0x1a2)](_0x711041(0x1a1)),_0x26c6eb=_0x4fc763[_0x711041(0x190)][_0x711041(0x1a2)](_0x1fd043);if(!_0x1397be[_0x711041(0x187)])throw new _0x2d57f2(_0x711041(0x1b0),this);if(!_0x1397be[_0x711041(0x17a)])throw new _0x2d57f2(_0x711041(0x194),this);return this[_0x711041(0x1c2)][_0x711041(0x183)](window,_0x711041(0x18a),()=>this[_0x711041(0x197)]=!0x0),this[_0x711041(0x1c2)][_0x711041(0x183)](window,_0x711041(0x189),()=>this[_0x711041(0x197)]=!0x1),this[_0x711041(0x1ae)][_0x711041(0x1a7)][_0x711041(0x1bb)](_0x711041(0x184),0xa),this[_0x711041(0x1ae)][_0x711041(0x1a7)][_0x711041(0x1bb)](_0x711041(0x179),0x14),c[_0x711041(0x1ab)][_0x711041(0x17f)](_0x1397be[_0x711041(0x187)],_0x1397be[_0x711041(0x17a)],{'timeout':0x3e8*this[_0x711041(0x1ae)][_0x711041(0x1a7)][_0x711041(0x1a2)](_0x711041(0x184)),'requestTimeout':0x3e8*this[_0x711041(0x1ae)][_0x711041(0x1a7)][_0x711041(0x1a2)](_0x711041(0x179))})[_0x711041(0x1af)](_0x724d4a=>{const _0x27705d=_0x711041;if(this[_0x27705d(0x18d)]=_0x724d4a,this[_0x27705d(0x19b)](_0x27705d(0x192))['to'](_0x724d4a,_0x27705d(0x192),this,_0x27705d(0x197),(_0x2df6b6,_0xce88c1)=>(_0x27705d(0x1a8)!==_0x2df6b6&&(this[_0x27705d(0x1be)]=!0x0),_0xce88c1||_0x2df6b6!==_0xfd2fd1[_0x27705d(0x1b1)]?_0xfd2fd1[_0x27705d(0x1a9)]:this[_0x27705d(0x192)]==_0xfd2fd1[_0x27705d(0x1a9)]&&this[_0x27705d(0x1be)]?(this[_0x27705d(0x1be)]=!0x1,this[_0x27705d(0x19c)](),_0xfd2fd1[_0x27705d(0x1aa)]):_0xfd2fd1[_0x27705d(0x1b1)])),this[_0x27705d(0x18d)]['on'](_0x27705d(0x191),(_0x160de0,_0x4f685e)=>{const _0x2a33cb=_0x27705d;if(_0x2a33cb(0x1b3)!==_0x4f685e[_0x2a33cb(0x18c)])throw console[_0x2a33cb(0x191)](_0x4f685e),new _0x2d57f2(_0x2a33cb(0x1bd),null,{'originalError':_0x4f685e});_0x26c6eb[_0x2a33cb(0x1bf)](_0x2a33cb(0x1c1),{'title':_0x2a33cb(0x188),'namespace':_0x2a33cb(0x1b2)});}),!_0x724d4a['me'])return new Promise(_0x108925=>_0x724d4a['on'](_0x27705d(0x1a5),_0x108925));})[_0x711041(0x196)](_0x3d036f=>{const _0x4e2a6f=_0x711041;throw console[_0x4e2a6f(0x191)](_0x3d036f),new _0x2d57f2(_0x4e2a6f(0x1bd),null,{'originalError':_0x3d036f});});}[_0x31b950(0x1ad)](_0x3fa798){const _0x3fffa7=_0x31b950;if(_0x3fffa7(0x180)!=typeof _0x3fa798[_0x3fffa7(0x181)])throw new _0x2d57f2(_0x3fffa7(0x17c),this);if(this[_0x3fffa7(0x1b4)](_0x3fa798))throw new _0x2d57f2(_0x3fffa7(0x1b6),this,{'name':_0x3fa798[_0x3fffa7(0x1a4)][_0x3fffa7(0x18f)]});this[_0x3fffa7(0x1c0)][_0x3fffa7(0x1a6)](_0x3fa798);}[_0x31b950(0x1bc)](_0x439536){const _0x1c940e=_0x31b950;this[_0x1c940e(0x1c0)][_0x1c940e(0x1ac)](_0x439536);}[_0x31b950(0x1b4)](_0x46a5cf){const _0x4b7be1=_0x31b950;return this[_0x4b7be1(0x1c0)][_0x4b7be1(0x1a0)](_0x46a5cf);}[_0x31b950(0x19c)](){const _0x414944=_0x31b950;return this[_0x414944(0x18d)][_0x414944(0x181)]()[_0x414944(0x1af)](()=>Promise[_0x414944(0x17b)](Array[_0x414944(0x195)](this[_0x414944(0x1c0)],_0x3229c6=>_0x3229c6[_0x414944(0x181)]())))[_0x414944(0x1af)](()=>this[_0x414944(0x192)]=_0xfd2fd1[_0x414944(0x1b1)])[_0x414944(0x196)](_0x1fa3ea=>{const _0x38e6f5=_0x414944;throw console[_0x38e6f5(0x191)](_0x1fa3ea),new _0x2d57f2(_0x38e6f5(0x1c3),this[_0x38e6f5(0x1ae)]);});}[_0x31b950(0x185)](){const _0xbcdf5d=_0x31b950;this[_0xbcdf5d(0x18d)]&&this[_0xbcdf5d(0x18d)][_0xbcdf5d(0x185)](),this[_0xbcdf5d(0x192)]=_0xfd2fd1[_0xbcdf5d(0x1a9)],this[_0xbcdf5d(0x1c2)][_0xbcdf5d(0x17d)]();}[_0x31b950(0x182)](){const _0x20b612=_0x31b950;this[_0x20b612(0x185)](),super[_0x20b612(0x182)]();}}export default c;
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x1f1cd7)());[_0x1af510(0x111)];[_0x1af510(0xea)];[_0x1af510(0xd2)];[_0x1af510(0x13d)];static get[_0x1af510(0x130)](){const _0x511777=_0x1af510;return[_0x343fd4,_0x1c1147,_0x511777(0xfc),_0x18dbb9,_0xed7cd8];}static get[_0x1af510(0x108)](){const _0x1f297b=_0x1af510;return _0x1f297b(0xdc);}static get[_0x1af510(0x13b)](){return!0x0;}static get[_0x1af510(0x113)](){return!0x0;}constructor(_0x16e149){const _0x5682ea=_0x1af510;super(_0x16e149);const _0x2a63e9=this[_0x5682ea(0xf0)][_0x5682ea(0x11a)][_0x5682ea(0xcc)](_0x5682ea(0xcd));this[_0x5682ea(0x111)]=null,this[_0x5682ea(0xea)]=this[_0x5682ea(0xf0)][_0x5682ea(0x129)][_0x5682ea(0xcc)](_0x5682ea(0xfa)),this[_0x5682ea(0xd2)]=new u[(_0x5682ea(0xde))](_0x2a63e9);}async[_0x1af510(0x124)](){const _0x21a35d=_0x1af510,_0x1c4a0b=this[_0x21a35d(0xf0)][_0x21a35d(0x129)][_0x21a35d(0xcc)](_0x1c1147),_0x75d418=_0x1c4a0b[_0x21a35d(0xfd)],_0x547faf=this[_0x21a35d(0xf0)][_0x21a35d(0x129)][_0x21a35d(0xcc)](_0x343fd4);this[_0x21a35d(0xea)][_0x21a35d(0xd3)]({'history':_0x75d418,'getLatestVersion':()=>this[_0x21a35d(0x11f)](),'getCurrentRevisionId':()=>_0x1c4a0b[_0x21a35d(0xdb)]});const _0x60f123=this[_0x21a35d(0xf0)][_0x21a35d(0x11a)][_0x21a35d(0xcc)](_0x21a35d(0xd6))||_0x50a7fc,_0xb7a17f=await _0x32cfc1[_0x21a35d(0x12d)](_0x547faf[_0x21a35d(0x134)],_0x60f123);this[_0x21a35d(0xf0)][_0x21a35d(0x129)][_0x21a35d(0xcc)](_0x21a35d(0xfc))[_0x21a35d(0x103)]={'getRevision':async({revisionId:_0x815984})=>(await this[_0x21a35d(0xd0)](),await this[_0x21a35d(0xd2)][_0x21a35d(0x109)](_0x815984)),'updateRevisions':async _0x5f565f=>{const _0x3b5193=_0x21a35d;await this[_0x3b5193(0xd0)]();const _0x275286=this[_0x3b5193(0xea)][_0x3b5193(0xe6)];if(_0xb7a17f&&0x1===_0x5f565f[_0x3b5193(0x11c)]&&_0x5f565f[0x0]['id']===_0x275286['id'])return _0x5f565f;for(const _0x1d2663 of _0x5f565f)_0x1d2663['id']===_0x275286['id']&&(_0x1d2663[_0x3b5193(0xf8)]=_0x1d2663[_0x3b5193(0x110)]===_0x1d2663[_0x3b5193(0xf1)]);return this[_0x3b5193(0xd2)][_0x3b5193(0x107)](_0x5f565f,this[_0x3b5193(0x111)])[_0x3b5193(0x127)](_0x4f857e=>(this[_0x3b5193(0x111)]=_0x4f857e,_0x5f565f))[_0x3b5193(0x118)](_0x19fefc=>{const _0x155dbe=_0x3b5193;if(st(_0x19fefc)||_0x155dbe(0xf7)===_0x19fefc[_0x155dbe(0x11d)]&&void 0x0!==_0x19fefc[_0x155dbe(0x100)][_0x155dbe(0xf2)]){for(const _0x28ace9 of _0x5f565f){!this[_0x155dbe(0xea)][_0x155dbe(0xe5)][_0x155dbe(0x109)](_0x28ace9['id'])||this[_0x155dbe(0xea)][_0x155dbe(0xec)](_0x28ace9['id'],_0x28ace9,!0x1);}if(st(_0x19fefc))throw _0x19fefc;return _0x5f565f;}throw _0x19fefc;});}},this[_0x21a35d(0xf9)](this[_0x21a35d(0xd2)],_0x21a35d(0x13c),(_0x635856,{revisionsData:_0x430cd0,requestId:_0xfda94c})=>{const _0x4f7e5f=_0x21a35d;Math[_0x4f7e5f(0x12f)](..._0x430cd0[_0x4f7e5f(0xe4)](_0xb2aa76=>_0xb2aa76[_0x4f7e5f(0xf1)]))>this[_0x4f7e5f(0xd5)]()-0x1?this[_0x4f7e5f(0x11f)]()[_0x4f7e5f(0x127)](()=>{const _0xe4f2b0=_0x4f7e5f;this[_0xe4f2b0(0xcf)](_0x430cd0,_0xfda94c);}):this[_0x4f7e5f(0xcf)](_0x430cd0,_0xfda94c);});const {revisions:_0x295a23,requestId:_0x5657e6}=await this[_0x21a35d(0xd2)][_0x21a35d(0xd9)](_0x547faf[_0x21a35d(0x134)]);_0x547faf[_0x21a35d(0xd1)](this),this[_0x21a35d(0x111)]=_0x5657e6,await this[_0x21a35d(0x104)](_0x295a23);for(const _0x41fab6 of _0x295a23)this[_0x21a35d(0xea)][_0x21a35d(0x135)](_0x41fab6);this[_0x21a35d(0xf9)](_0x1c4a0b,_0x21a35d(0xfe),(_0x161b0d,_0x31b3c0,_0x23d71f)=>{const _0xc0629a=_0x21a35d;_0x23d71f&&(this[_0xc0629a(0x13d)]=_0x1c4a0b[_0xc0629a(0x120)],_0x161b0d[_0xc0629a(0x126)]());}),this[_0x21a35d(0xea)][_0x21a35d(0xf6)](_0x21a35d(0x115))['to'](_0x547faf,_0x21a35d(0x101),_0x4fee05=>_0x4fee05===_0x449040[_0x21a35d(0x12c)]);}async[_0x1af510(0xdf)](){const _0x2b5767=_0x1af510,_0x457c66=this[_0x2b5767(0xf0)][_0x2b5767(0x129)][_0x2b5767(0xcc)](_0x343fd4),_0x45227f=this[_0x2b5767(0xf0)][_0x2b5767(0x129)][_0x2b5767(0xcc)](_0x1c1147),_0x4051ca=async()=>{const _0x4b367e=_0x2b5767,_0x92d05d=this[_0x4b367e(0xea)][_0x4b367e(0xe6)],_0x42f301=_0x92d05d['id'],_0x408644=_0x42f301!==_0x45227f[_0x4b367e(0xdb)];if(_0x408644){const _0x2d058f=_0x45227f[_0x4b367e(0x120)]-this[_0x4b367e(0x13d)],_0x73b7ab=this[_0x4b367e(0xd5)]();this[_0x4b367e(0xea)][_0x4b367e(0x128)][_0x4b367e(0xeb)]();if(_0x92d05d[_0x4b367e(0xf1)]+_0x2d058f!==_0x73b7ab){const _0x344591=_0x92d05d[_0x4b367e(0x110)]+_0x2d058f,_0x5ebae1=this[_0x4b367e(0xf0)][_0x4b367e(0x129)][_0x4b367e(0xcc)](_0xed7cd8),_0x349528=this[_0x4b367e(0xea)][_0x4b367e(0x122)]({'revision':_0x92d05d,'from':_0x344591,'to':_0x73b7ab});_0x349528['id']=_0x92d05d['id'];const _0x36683f=_0x349528[_0x4b367e(0x10e)][_0x4b367e(0xe4)](_0x5a9fbd=>_0x5ebae1[_0x4b367e(0xd7)](_0x5a9fbd));_0x92d05d[_0x4b367e(0x131)]({..._0x349528,'authors':_0x36683f},!0x0),this[_0x4b367e(0xea)][_0x4b367e(0xec)](_0x92d05d['id'],_0x349528,!0x0);}this[_0x4b367e(0xea)][_0x4b367e(0xce)]=_0x73b7ab,(_0x92d05d[_0x4b367e(0xf1)]===_0x92d05d[_0x4b367e(0x110)]&&!this[_0x4b367e(0xea)][_0x4b367e(0xe0)][_0x4b367e(0xd8)](_0x42f301)&&this[_0x4b367e(0xea)][_0x4b367e(0xe5)][_0x4b367e(0xff)][_0x4b367e(0x10c)](_0x42f301),this[_0x4b367e(0xea)][_0x4b367e(0x117)](_0x73b7ab));}const {revisions:_0x481836,requestId:_0xd15aa4}=await this[_0x4b367e(0xd2)][_0x4b367e(0xdf)](_0x457c66[_0x4b367e(0x134)],this[_0x4b367e(0x111)]);_0x408644&&_0x481836[_0x4b367e(0x11c)]>0x0?_0x45227f[_0x4b367e(0xf3)]():(await this[_0x4b367e(0x104)](_0x481836),this[_0x4b367e(0xcf)](_0x481836,_0xd15aa4),this[_0x4b367e(0xea)][_0x4b367e(0x102)]());};return _0x45227f[_0x2b5767(0x116)]?_0x4051ca():new Promise((_0x32c57c,_0x25062b)=>{const _0x2a6f6a=_0x2b5767;_0x45227f[_0x2a6f6a(0xe8)](_0x2a6f6a(0xfe),()=>{const _0x2a6db1=_0x2a6f6a;_0x4051ca()[_0x2a6db1(0x127)](_0x32c57c)[_0x2a6db1(0x118)](_0x25062b);});});}[_0x1af510(0x11e)](){const _0x1299a2=_0x1af510;super[_0x1299a2(0x11e)]();}async[_0x1af510(0xd0)](){const _0x595e25=_0x1af510;this[_0x595e25(0xd2)][_0x595e25(0xef)]||await new Promise(_0x55d2cc=>{const _0x513101=_0x595e25;this[_0x513101(0xf9)](this[_0x513101(0xd2)],_0x513101(0xed),_0x283047=>{const _0x460a7=_0x513101;_0x283047[_0x460a7(0x126)](),_0x55d2cc();});});}[_0x1af510(0xd5)](){const _0x5b4f32=_0x1af510,_0x24282b=this[_0x5b4f32(0xf0)][_0x5b4f32(0x129)][_0x5b4f32(0xcc)](_0x1c1147)[_0x5b4f32(0xfd)][_0x5b4f32(0x137)]()[_0x5b4f32(0x13f)]();for(const _0x2742c3 of _0x24282b)if(_0x5b4f32(0x132)!==_0x2742c3[_0x5b4f32(0xe3)]||_0x2742c3[_0x5b4f32(0xee)])return _0x2742c3[_0x5b4f32(0x10d)]+0x1;}[_0x1af510(0x11f)](){const _0xe4f847=_0x1af510,_0x303094=this[_0xe4f847(0xf0)][_0xe4f847(0x129)][_0xe4f847(0xcc)](_0x1c1147);return new Promise(_0x1cfd5c=>{const _0x2d2127=_0xe4f847;_0x303094[_0x2d2127(0x13e)]?_0x303094[_0x2d2127(0xe8)](_0x2d2127(0x12e),()=>{const _0x4c56bd=_0x2d2127;_0x1cfd5c(this[_0x4c56bd(0xd5)]());}):_0x1cfd5c(this[_0x2d2127(0xd5)]());});}[_0x1af510(0xcf)](_0x6a9811,_0x101d64){const _0x10fc48=_0x1af510,_0x20cf67=this[_0x10fc48(0xea)][_0x10fc48(0xe5)];this[_0x10fc48(0x111)]=_0x101d64;for(const _0x25c51e of _0x6a9811){const _0x232fb6=_0x20cf67[_0x10fc48(0x109)](_0x25c51e['id']);if(_0x232fb6){if((_0x25c51e[_0x10fc48(0x110)]||_0x25c51e[_0x10fc48(0xf1)])&&(_0x25c51e[_0x10fc48(0x106)]=null),_0x232fb6===this[_0x10fc48(0xea)][_0x10fc48(0xe6)]){const _0x22d289=Math[_0x10fc48(0x12f)](_0x232fb6[_0x10fc48(0xf1)],_0x25c51e[_0x10fc48(0xf1)]),_0xdcca9c=Math[_0x10fc48(0x12f)](_0x232fb6[_0x10fc48(0x110)],_0x25c51e[_0x10fc48(0x110)]);let _0x32fb0;_0x232fb6[_0x10fc48(0xf1)]===_0x25c51e[_0x10fc48(0xf1)]&&_0x232fb6[_0x10fc48(0x110)]===_0x25c51e[_0x10fc48(0x110)]?(_0x32fb0=!0x0,this[_0x10fc48(0x105)](_0x25c51e)):_0x25c51e[_0x10fc48(0xf1)]===_0x22d289&&_0x25c51e[_0x10fc48(0x110)]===_0xdcca9c?_0x32fb0=!0x1:(_0x232fb6[_0x10fc48(0xf1)]===_0x22d289&&_0x232fb6[_0x10fc48(0x110)]===_0xdcca9c||this[_0x10fc48(0xe1)]({'revision':_0x232fb6,'from':_0xdcca9c,'to':_0x22d289}),_0x32fb0=!0x0),_0x32fb0&&(delete _0x25c51e[_0x10fc48(0x110)],delete _0x25c51e[_0x10fc48(0xf1)],delete _0x25c51e[_0x10fc48(0x106)],delete _0x25c51e[_0x10fc48(0x10b)],delete _0x25c51e[_0x10fc48(0x10e)]);}this[_0x10fc48(0xea)][_0x10fc48(0xe7)](_0x25c51e),this[_0x10fc48(0x105)](_0x25c51e);}else this[_0x10fc48(0xea)][_0x10fc48(0x135)](_0x25c51e);}const _0x26c2d8=_0x20cf67[_0x10fc48(0x136)]();_0x26c2d8[_0x10fc48(0x13f)]();for(let _0x19c671=0x0;_0x19c671<_0x26c2d8[_0x10fc48(0x11c)]-0x1;_0x19c671++){const _0x223fd3=_0x26c2d8[_0x19c671],_0x566a11=_0x26c2d8[_0x19c671+0x1];if(_0x223fd3[_0x10fc48(0x110)]<_0x566a11[_0x10fc48(0xf1)]){const _0x392803=_0x566a11[_0x10fc48(0xf1)],_0x429f7c=Math[_0x10fc48(0x12f)](_0x392803,_0x223fd3[_0x10fc48(0xf1)]);this[_0x10fc48(0xe1)]({'revision':_0x223fd3,'from':_0x392803,'to':_0x429f7c});}}}[_0x1af510(0xe1)]({revision:_0x26db08,from:_0x26bb68,to:_0x286287}={}){const _0x576b42=_0x1af510,_0x2ca29a=this[_0x576b42(0xf0)][_0x576b42(0x129)][_0x576b42(0xcc)](_0xed7cd8),_0x430238=this[_0x576b42(0xea)][_0x576b42(0x122)]({'revision':_0x26db08,'from':_0x26bb68,'to':_0x286287});_0x430238[_0x576b42(0x123)]=_0x430238[_0x576b42(0x10e)][_0x576b42(0xe4)](_0x1d01bb=>_0x2ca29a[_0x576b42(0xd7)](_0x1d01bb)),_0x26db08[_0x576b42(0x131)](_0x430238);}[_0x1af510(0x105)](_0x58d5a8){const _0x64d575=_0x1af510,_0x5db0d0={};_0x5db0d0['id']=_0x58d5a8['id'];for(const _0x41440d of Object[_0x64d575(0x121)](_0x58d5a8))'id'!==_0x41440d&&(_0x5db0d0[_0x41440d]=void 0x0);this[_0x64d575(0xea)][_0x64d575(0xec)](_0x5db0d0['id'],_0x5db0d0,!0x0);}async[_0x1af510(0x104)](_0x4e690e){const _0x56a8fd=_0x1af510,_0xd9d9cd=this[_0x56a8fd(0xf0)][_0x56a8fd(0x129)][_0x56a8fd(0xcc)](_0xed7cd8),{connection:_0x4acd04}=this[_0x56a8fd(0xf0)][_0x56a8fd(0x129)][_0x56a8fd(0xcc)](_0x343fd4),_0x14b5bf=new Set();for(const _0x156c9b of _0x4e690e){for(const _0x35c24e of _0x156c9b[_0x56a8fd(0x10e)])_0x1beecb(_0x35c24e);_0x156c9b[_0x56a8fd(0xe9)]&&_0x1beecb(_0x156c9b[_0x56a8fd(0xe9)]);}if(0x0===_0x14b5bf[_0x56a8fd(0x138)])return;const _0x3bf648=await _0x1dabad[_0x56a8fd(0x13a)](_0x4acd04,Array[_0x56a8fd(0x125)](_0x14b5bf));for(const _0x428ccc of _0x3bf648)_0xd9d9cd[_0x56a8fd(0xd7)](_0x428ccc['id'])||_0xd9d9cd[_0x56a8fd(0xd4)](_0x428ccc);function _0x1beecb(_0x3633ab){const _0x5cd2f3=_0x56a8fd;_0xd9d9cd[_0x5cd2f3(0xd7)](_0x3633ab)||_0x14b5bf[_0x5cd2f3(0x12b)](_0x3633ab);}}}export default u;function st(_0x1c59df){const _0x1adc1b=_0x1af510;return _0x1c59df[_0x1adc1b(0x12a)][_0x1adc1b(0xda)](_0x1adc1b(0x139))||_0x1c59df[_0x1adc1b(0x12a)][_0x1adc1b(0xda)](_0x1adc1b(0x114))||_0x1c59df[_0x1adc1b(0x12a)][_0x1adc1b(0xda)](_0x1adc1b(0x119));}
|
|
23
|
+
const _0x276575=_0x4167;(function(_0xd079d,_0x2992cc){const _0x2e8926=_0x4167,_0x178b96=_0xd079d();while(!![]){try{const _0x5ecd07=-parseInt(_0x2e8926(0x1e4))/0x1*(-parseInt(_0x2e8926(0x21f))/0x2)+parseInt(_0x2e8926(0x235))/0x3*(-parseInt(_0x2e8926(0x203))/0x4)+parseInt(_0x2e8926(0x1ea))/0x5*(-parseInt(_0x2e8926(0x1cf))/0x6)+-parseInt(_0x2e8926(0x221))/0x7+parseInt(_0x2e8926(0x1e2))/0x8+-parseInt(_0x2e8926(0x21d))/0x9*(-parseInt(_0x2e8926(0x1c4))/0xa)+-parseInt(_0x2e8926(0x1c9))/0xb;if(_0x5ecd07===_0x2992cc)break;else _0x178b96['push'](_0x178b96['shift']());}catch(_0x38333e){_0x178b96['push'](_0x178b96['shift']());}}}(_0x54bd,0x43d15));function _0x54bd(){const _0xfcea3a=['createdAt','cloudServices.bundleVersion','buildRevisionData','2581155BzZvYB','_oldOffset','2DxigKe','collaboration.channelId','92365SAHbsd','requires','_offset','bind','repository','get','catch','setRevisionData','keys','fromVersion','400','state','_update','updateRevisions','_revisionHistoryService','affectsData','_isPendingUpdate','pluginName','addUser','revisionsUpdated','2298HUOEhA','RevisionHistory','change:_isPendingUpdate','init','10SuLUTq','add','reconnect','authors','getOperations','477059FfIHre','from','addToReconnectionStack','size','isConnected','change:_isConnected','6oZDqkR','_createCurrentRevision','startsWith','_startingVersion','listenTo','setSource','_fixRevision','RevisionTracker','destroy','authorsIds','getRevision','_revisionTracker','max','isBundleUploaded','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_revisions','_preventResendingRevisionData','isPremiumPlugin','RevisionHistoryService','3673008ocXwqd','code','105209upwuhv','isEnabled','type','sendBufferedUpdates','message','connect','1852395tyXCnO','plugins','_waitForServiceReady','_handleReconnectionError','_revisionDataBuilder','_isConnected','cloud-services-internal-error:\x20Not\x20connected.','_bufferedUpdates','_lastRequestId','creatorId','reverse','getMany','cloud-services-internal-error:\x20Request\x20timeout.','marker','baseVersion','data','addRevisionData','config','isOfficialPlugin','map','connection','remove','wrongRequestId','toVersion','length','764FuBmeG','_fetchMissingUsers','connected','currentRevision','off','diffData','adapter','getUser','_bufferUpdate','CONNECTED','then','CloudServicesRevisionHistoryAdapter','_handleRevisionsUpdate','editor','serverHistory','has','_getLatestVersion','_getLatestVersionFromServerOperations','reInit','isEmptyCurrent','getRevisions','sessionId','once'];_0x54bd=function(){return _0xfcea3a;};return _0x54bd();}import{Plugin as _0x107705}from'ckeditor5/src/core.js';import{version as _0x4bfb84}from'ckeditor5/src/utils.js';import{Users as _0x3fe27f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xbffd3c from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x5eec39 from'../realtimecollaborativeediting/websocketgateway.js';import _0xdd6a5e from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x5d813b,RevisionHistoryService as _0x4261f3,User as _0x5513b1,WEB_SOCKET_GATEWAY_STATES as _0x1d01dd}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x107705{static [_0x276575(0x1e1)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4261f3)());[_0x276575(0x1f2)];[_0x276575(0x1da)];[_0x276575(0x22f)];[_0x276575(0x21e)];static get[_0x276575(0x222)](){const _0x58619=_0x276575;return[_0x5eec39,_0xbffd3c,_0x58619(0x236),_0xdd6a5e,_0x3fe27f];}static get[_0x276575(0x232)](){const _0x21f142=_0x276575;return _0x21f142(0x20e);}static get[_0x276575(0x1fc)](){return!0x0;}static get[_0x276575(0x1e0)](){return!0x0;}constructor(_0x31d35d){const _0x2148a6=_0x276575;super(_0x31d35d);const _0xb84ef6=this[_0x2148a6(0x210)][_0x2148a6(0x1fb)][_0x2148a6(0x226)](_0x2148a6(0x220));this[_0x2148a6(0x1f2)]=null,this[_0x2148a6(0x1da)]=this[_0x2148a6(0x210)][_0x2148a6(0x1eb)][_0x2148a6(0x226)](_0x2148a6(0x1d6)),this[_0x2148a6(0x22f)]=new u[(_0x2148a6(0x1e1))](_0xb84ef6);}async[_0x276575(0x1c3)](){const _0x4ee0d6=_0x276575,_0x350ab0=this[_0x4ee0d6(0x210)][_0x4ee0d6(0x1eb)][_0x4ee0d6(0x226)](_0xbffd3c),_0x3c4c5=_0x350ab0[_0x4ee0d6(0x211)],_0x34029c=this[_0x4ee0d6(0x210)][_0x4ee0d6(0x1eb)][_0x4ee0d6(0x226)](_0x5eec39);this[_0x4ee0d6(0x1da)][_0x4ee0d6(0x1d4)]({'history':_0x3c4c5,'getLatestVersion':()=>this[_0x4ee0d6(0x213)](),'getCurrentRevisionId':()=>_0x350ab0[_0x4ee0d6(0x218)]});const _0xf60511=this[_0x4ee0d6(0x210)][_0x4ee0d6(0x1fb)][_0x4ee0d6(0x226)](_0x4ee0d6(0x21b))||_0x4bfb84,_0x335c10=await _0x5d813b[_0x4ee0d6(0x1dc)](_0x34029c[_0x4ee0d6(0x1fe)],_0xf60511);this[_0x4ee0d6(0x210)][_0x4ee0d6(0x1eb)][_0x4ee0d6(0x226)](_0x4ee0d6(0x236))[_0x4ee0d6(0x209)]={'getRevision':async({revisionId:_0xa8da5a})=>(await this[_0x4ee0d6(0x1ec)](),await this[_0x4ee0d6(0x22f)][_0x4ee0d6(0x1d9)](_0xa8da5a)),'updateRevisions':async _0xc20431=>{const _0x229c51=_0x4ee0d6;await this[_0x229c51(0x1ec)]();const _0x2e4d0b=this[_0x229c51(0x1da)][_0x229c51(0x206)];if(_0x335c10&&0x1===_0xc20431[_0x229c51(0x202)]&&_0xc20431[0x0]['id']===_0x2e4d0b['id'])return _0xc20431;for(const _0x277b51 of _0xc20431)_0x277b51['id']===_0x2e4d0b['id']&&(_0x277b51[_0x229c51(0x216)]=_0x277b51[_0x229c51(0x22a)]===_0x277b51[_0x229c51(0x201)]);return this[_0x229c51(0x22f)][_0x229c51(0x22e)](_0xc20431,this[_0x229c51(0x1f2)])[_0x229c51(0x20d)](_0x5169a0=>(this[_0x229c51(0x1f2)]=_0x5169a0,_0xc20431))[_0x229c51(0x227)](_0x3e37a1=>{const _0x3ebe4e=_0x229c51;if(ct(_0x3e37a1)||_0x3ebe4e(0x22b)===_0x3e37a1[_0x3ebe4e(0x1e3)]&&void 0x0!==_0x3e37a1[_0x3ebe4e(0x1f9)][_0x3ebe4e(0x200)]){for(const _0x549fa7 of _0xc20431){!this[_0x3ebe4e(0x1da)][_0x3ebe4e(0x225)][_0x3ebe4e(0x1d9)](_0x549fa7['id'])||this[_0x3ebe4e(0x1da)][_0x3ebe4e(0x20b)](_0x549fa7['id'],_0x549fa7,!0x1);}if(ct(_0x3e37a1))throw _0x3e37a1;return _0xc20431;}throw _0x3e37a1;});}},this[_0x4ee0d6(0x1d3)](this[_0x4ee0d6(0x22f)],_0x4ee0d6(0x234),(_0x2400f3,{revisionsData:_0x35f182,requestId:_0x5a65da})=>{const _0x2e8359=_0x4ee0d6;Math[_0x2e8359(0x1db)](..._0x35f182[_0x2e8359(0x1fd)](_0x4255d7=>_0x4255d7[_0x2e8359(0x201)]))>this[_0x2e8359(0x214)]()-0x1?this[_0x2e8359(0x213)]()[_0x2e8359(0x20d)](()=>{const _0xf47892=_0x2e8359;this[_0xf47892(0x20f)](_0x35f182,_0x5a65da);}):this[_0x2e8359(0x20f)](_0x35f182,_0x5a65da);});const {revisions:_0x4c93e7,requestId:_0x4cf33e}=await this[_0x4ee0d6(0x22f)][_0x4ee0d6(0x1e9)](_0x34029c[_0x4ee0d6(0x1fe)]);_0x34029c[_0x4ee0d6(0x1cb)](this),this[_0x4ee0d6(0x1f2)]=_0x4cf33e,await this[_0x4ee0d6(0x204)](_0x4c93e7);for(const _0x1a13e7 of _0x4c93e7)this[_0x4ee0d6(0x1da)][_0x4ee0d6(0x1fa)](_0x1a13e7);this[_0x4ee0d6(0x1d3)](_0x350ab0,_0x4ee0d6(0x1ce),(_0x1042d0,_0x2641f9,_0x598c5a)=>{const _0x2d02de=_0x4ee0d6;_0x598c5a&&(this[_0x2d02de(0x21e)]=_0x350ab0[_0x2d02de(0x223)],_0x1042d0[_0x2d02de(0x207)]());}),this[_0x4ee0d6(0x1da)][_0x4ee0d6(0x224)](_0x4ee0d6(0x1e5))['to'](_0x34029c,_0x4ee0d6(0x22c),_0x3eedb0=>_0x3eedb0===_0x1d01dd[_0x4ee0d6(0x20c)]);}async[_0x276575(0x1c6)](){const _0x158fe5=_0x276575,_0x42f8f3=this[_0x158fe5(0x210)][_0x158fe5(0x1eb)][_0x158fe5(0x226)](_0x5eec39),_0x592af6=this[_0x158fe5(0x210)][_0x158fe5(0x1eb)][_0x158fe5(0x226)](_0xbffd3c),_0x4a6d62=async()=>{const _0x18ef39=_0x158fe5,_0x3cf8ea=this[_0x18ef39(0x1da)][_0x18ef39(0x206)],_0x570982=_0x3cf8ea['id'],_0x323621=_0x570982!==_0x592af6[_0x18ef39(0x218)];if(_0x323621){const _0x43fc87=_0x592af6[_0x18ef39(0x223)]-this[_0x18ef39(0x21e)],_0x2c521d=this[_0x18ef39(0x214)]();this[_0x18ef39(0x1da)][_0x18ef39(0x1ee)][_0x18ef39(0x215)]();if(_0x3cf8ea[_0x18ef39(0x201)]+_0x43fc87!==_0x2c521d){const _0x40b227=_0x3cf8ea[_0x18ef39(0x22a)]+_0x43fc87,_0x2ae6cd=this[_0x18ef39(0x210)][_0x18ef39(0x1eb)][_0x18ef39(0x226)](_0x3fe27f),_0x75b579=this[_0x18ef39(0x1da)][_0x18ef39(0x21c)]({'revision':_0x3cf8ea,'from':_0x40b227,'to':_0x2c521d});_0x75b579['id']=_0x3cf8ea['id'];const _0x5d4e56=_0x75b579[_0x18ef39(0x1d8)][_0x18ef39(0x1fd)](_0x41186e=>_0x2ae6cd[_0x18ef39(0x20a)](_0x41186e));_0x3cf8ea[_0x18ef39(0x22d)]({..._0x75b579,'authors':_0x5d4e56},!0x0),this[_0x18ef39(0x1da)][_0x18ef39(0x20b)](_0x3cf8ea['id'],_0x75b579,!0x0);}this[_0x18ef39(0x1da)][_0x18ef39(0x1d2)]=_0x2c521d,(_0x3cf8ea[_0x18ef39(0x201)]===_0x3cf8ea[_0x18ef39(0x22a)]&&!this[_0x18ef39(0x1da)][_0x18ef39(0x1f1)][_0x18ef39(0x212)](_0x570982)&&this[_0x18ef39(0x1da)][_0x18ef39(0x225)][_0x18ef39(0x1de)][_0x18ef39(0x1ff)](_0x570982),this[_0x18ef39(0x1da)][_0x18ef39(0x1d0)](_0x2c521d));}const {revisions:_0x4cc399,requestId:_0x42727f}=await this[_0x18ef39(0x22f)][_0x18ef39(0x1c6)](_0x42f8f3[_0x18ef39(0x1fe)],this[_0x18ef39(0x1f2)]);_0x323621&&_0x4cc399[_0x18ef39(0x202)]>0x0?_0x592af6[_0x18ef39(0x1ed)]():(await this[_0x18ef39(0x204)](_0x4cc399),this[_0x18ef39(0x20f)](_0x4cc399,_0x42727f),this[_0x18ef39(0x1da)][_0x18ef39(0x1e7)]());};return _0x592af6[_0x158fe5(0x1ef)]?_0x4a6d62():new Promise((_0xa95b85,_0x1c8baf)=>{const _0x5b948a=_0x158fe5;_0x592af6[_0x5b948a(0x219)](_0x5b948a(0x1ce),()=>{const _0x15f31e=_0x5b948a;_0x4a6d62()[_0x15f31e(0x20d)](_0xa95b85)[_0x15f31e(0x227)](_0x1c8baf);});});}[_0x276575(0x1d7)](){const _0x35781a=_0x276575;super[_0x35781a(0x1d7)]();}async[_0x276575(0x1ec)](){const _0x5d61c8=_0x276575;this[_0x5d61c8(0x22f)][_0x5d61c8(0x1cd)]||await new Promise(_0x699269=>{const _0x2b329b=_0x5d61c8;this[_0x2b329b(0x1d3)](this[_0x2b329b(0x22f)],_0x2b329b(0x205),_0x4aa360=>{const _0x53b00e=_0x2b329b;_0x4aa360[_0x53b00e(0x207)](),_0x699269();});});}[_0x276575(0x214)](){const _0x502f8b=_0x276575,_0x51a348=this[_0x502f8b(0x210)][_0x502f8b(0x1eb)][_0x502f8b(0x226)](_0xbffd3c)[_0x502f8b(0x211)][_0x502f8b(0x1c8)]()[_0x502f8b(0x1f4)]();for(const _0x3af311 of _0x51a348)if(_0x502f8b(0x1f7)!==_0x3af311[_0x502f8b(0x1e6)]||_0x3af311[_0x502f8b(0x230)])return _0x3af311[_0x502f8b(0x1f8)]+0x1;}[_0x276575(0x213)](){const _0x370160=_0x276575,_0x24cb9d=this[_0x370160(0x210)][_0x370160(0x1eb)][_0x370160(0x226)](_0xbffd3c);return new Promise(_0x277549=>{const _0x554ff7=_0x370160;_0x24cb9d[_0x554ff7(0x231)]?_0x24cb9d[_0x554ff7(0x219)](_0x554ff7(0x237),()=>{const _0x2b9147=_0x554ff7;_0x277549(this[_0x2b9147(0x214)]());}):_0x277549(this[_0x554ff7(0x214)]());});}[_0x276575(0x20f)](_0x2f22af,_0x17ecfd){const _0x2e4eb1=_0x276575,_0x10b614=this[_0x2e4eb1(0x1da)][_0x2e4eb1(0x225)];this[_0x2e4eb1(0x1f2)]=_0x17ecfd;for(const _0x402e4d of _0x2f22af){const _0x3eadc0=_0x10b614[_0x2e4eb1(0x1d9)](_0x402e4d['id']);if(_0x3eadc0){if((_0x402e4d[_0x2e4eb1(0x22a)]||_0x402e4d[_0x2e4eb1(0x201)])&&(_0x402e4d[_0x2e4eb1(0x208)]=null),_0x3eadc0===this[_0x2e4eb1(0x1da)][_0x2e4eb1(0x206)]){const _0x5e2d86=Math[_0x2e4eb1(0x1db)](_0x3eadc0[_0x2e4eb1(0x201)],_0x402e4d[_0x2e4eb1(0x201)]),_0x38096d=Math[_0x2e4eb1(0x1db)](_0x3eadc0[_0x2e4eb1(0x22a)],_0x402e4d[_0x2e4eb1(0x22a)]);let _0x19433b;_0x3eadc0[_0x2e4eb1(0x201)]===_0x402e4d[_0x2e4eb1(0x201)]&&_0x3eadc0[_0x2e4eb1(0x22a)]===_0x402e4d[_0x2e4eb1(0x22a)]?(_0x19433b=!0x0,this[_0x2e4eb1(0x1df)](_0x402e4d)):_0x402e4d[_0x2e4eb1(0x201)]===_0x5e2d86&&_0x402e4d[_0x2e4eb1(0x22a)]===_0x38096d?_0x19433b=!0x1:(_0x3eadc0[_0x2e4eb1(0x201)]===_0x5e2d86&&_0x3eadc0[_0x2e4eb1(0x22a)]===_0x38096d||this[_0x2e4eb1(0x1d5)]({'revision':_0x3eadc0,'from':_0x38096d,'to':_0x5e2d86}),_0x19433b=!0x0),_0x19433b&&(delete _0x402e4d[_0x2e4eb1(0x22a)],delete _0x402e4d[_0x2e4eb1(0x201)],delete _0x402e4d[_0x2e4eb1(0x208)],delete _0x402e4d[_0x2e4eb1(0x21a)],delete _0x402e4d[_0x2e4eb1(0x1d8)]);}this[_0x2e4eb1(0x1da)][_0x2e4eb1(0x228)](_0x402e4d),this[_0x2e4eb1(0x1df)](_0x402e4d);}else this[_0x2e4eb1(0x1da)][_0x2e4eb1(0x1fa)](_0x402e4d);}const _0x47c2ef=_0x10b614[_0x2e4eb1(0x217)]();_0x47c2ef[_0x2e4eb1(0x1f4)]();for(let _0x4b78d7=0x0;_0x4b78d7<_0x47c2ef[_0x2e4eb1(0x202)]-0x1;_0x4b78d7++){const _0x445745=_0x47c2ef[_0x4b78d7],_0x57de90=_0x47c2ef[_0x4b78d7+0x1];if(_0x445745[_0x2e4eb1(0x22a)]<_0x57de90[_0x2e4eb1(0x201)]){const _0x56e3b8=_0x57de90[_0x2e4eb1(0x201)],_0x2a4940=Math[_0x2e4eb1(0x1db)](_0x56e3b8,_0x445745[_0x2e4eb1(0x201)]);this[_0x2e4eb1(0x1d5)]({'revision':_0x445745,'from':_0x56e3b8,'to':_0x2a4940});}}}[_0x276575(0x1d5)]({revision:_0x3a0056,from:_0xa14968,to:_0x5b5578}={}){const _0x257b5b=_0x276575,_0x403dc7=this[_0x257b5b(0x210)][_0x257b5b(0x1eb)][_0x257b5b(0x226)](_0x3fe27f),_0x471e24=this[_0x257b5b(0x1da)][_0x257b5b(0x21c)]({'revision':_0x3a0056,'from':_0xa14968,'to':_0x5b5578});_0x471e24[_0x257b5b(0x1c7)]=_0x471e24[_0x257b5b(0x1d8)][_0x257b5b(0x1fd)](_0x8049b1=>_0x403dc7[_0x257b5b(0x20a)](_0x8049b1)),_0x3a0056[_0x257b5b(0x22d)](_0x471e24);}[_0x276575(0x1df)](_0xe722a4){const _0x4d201c=_0x276575,_0x5ac1f5={};_0x5ac1f5['id']=_0xe722a4['id'];for(const _0x3af404 of Object[_0x4d201c(0x229)](_0xe722a4))'id'!==_0x3af404&&(_0x5ac1f5[_0x3af404]=void 0x0);this[_0x4d201c(0x1da)][_0x4d201c(0x20b)](_0x5ac1f5['id'],_0x5ac1f5,!0x0);}async[_0x276575(0x204)](_0x3382ad){const _0x2ec8e5=_0x276575,_0x56c86e=this[_0x2ec8e5(0x210)][_0x2ec8e5(0x1eb)][_0x2ec8e5(0x226)](_0x3fe27f),{connection:_0xe91cf4}=this[_0x2ec8e5(0x210)][_0x2ec8e5(0x1eb)][_0x2ec8e5(0x226)](_0x5eec39),_0x133db8=new Set();for(const _0x3b816d of _0x3382ad){for(const _0x3b0d0a of _0x3b816d[_0x2ec8e5(0x1d8)])_0x573bd5(_0x3b0d0a);_0x3b816d[_0x2ec8e5(0x1f3)]&&_0x573bd5(_0x3b816d[_0x2ec8e5(0x1f3)]);}if(0x0===_0x133db8[_0x2ec8e5(0x1cc)])return;const _0x20a99c=await _0x5513b1[_0x2ec8e5(0x1f5)](_0xe91cf4,Array[_0x2ec8e5(0x1ca)](_0x133db8));for(const _0x1d3b99 of _0x20a99c)_0x56c86e[_0x2ec8e5(0x20a)](_0x1d3b99['id'])||_0x56c86e[_0x2ec8e5(0x233)](_0x1d3b99);function _0x573bd5(_0x385d2f){const _0x2cee36=_0x2ec8e5;_0x56c86e[_0x2cee36(0x20a)](_0x385d2f)||_0x133db8[_0x2cee36(0x1c5)](_0x385d2f);}}}export default u;function _0x4167(_0x2ae7a4,_0x5067fc){const _0x54bda2=_0x54bd();return _0x4167=function(_0x4167b6,_0x2b4232){_0x4167b6=_0x4167b6-0x1c3;let _0x1d5a24=_0x54bda2[_0x4167b6];return _0x1d5a24;},_0x4167(_0x2ae7a4,_0x5067fc);}function ct(_0x34f1b4){const _0x38a1a9=_0x276575;return _0x34f1b4[_0x38a1a9(0x1e8)][_0x38a1a9(0x1d1)](_0x38a1a9(0x1dd))||_0x34f1b4[_0x38a1a9(0x1e8)][_0x38a1a9(0x1d1)](_0x38a1a9(0x1f0))||_0x34f1b4[_0x38a1a9(0x1e8)][_0x38a1a9(0x1d1)](_0x38a1a9(0x1f6));}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x2bbde5=_0x1fb8;(function(_0x425d41,_0x8237e4){const _0x4e8315=_0x1fb8,_0x1a2081=_0x425d41();while(!![]){try{const _0x5ecffc=-parseInt(_0x4e8315(0x1dd))/0x1*(-parseInt(_0x4e8315(0x1b6))/0x2)+parseInt(_0x4e8315(0x1c0))/0x3*(parseInt(_0x4e8315(0x1e2))/0x4)+parseInt(_0x4e8315(0x1e7))/0x5+parseInt(_0x4e8315(0x1d3))/0x6+-parseInt(_0x4e8315(0x1de))/0x7+parseInt(_0x4e8315(0x1d2))/0x8*(-parseInt(_0x4e8315(0x1ed))/0x9)+parseInt(_0x4e8315(0x1cf))/0xa*(-parseInt(_0x4e8315(0x1c9))/0xb);if(_0x5ecffc===_0x8237e4)break;else _0x1a2081['push'](_0x1a2081['shift']());}catch(_0x2fe344){_0x1a2081['push'](_0x1a2081['shift']());}}}(_0x1b35,0x85f0a));function _0x1fb8(_0x472f78,_0x3867d2){const _0x1b3529=_0x1b35();return _0x1fb8=function(_0x1fb8e7,_0x58fa35){_0x1fb8e7=_0x1fb8e7-0x1b0;let _0x44b23e=_0x1b3529[_0x1fb8e7];return _0x44b23e;},_0x1fb8(_0x472f78,_0x3867d2);}import{Plugin as _0x485220}from'ckeditor5/src/core.js';import{User as _0x2c60c7,TrackChangesService as _0x569848}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3007e9 from'../realtimecollaborativeediting/websocketgateway.js';function _0x1b35(){const _0x2205a9=['requires','CloudServicesTrackChangesAdapter','set','TrackChangesService','add','adapter','28KaGuXQ','then','data','_saved','addToReconnectionStack','init','getUser','reconnect','_fetchMissingUsersForThreads','_bufferedRequests','15CfoAyu','state','open','getMany','cloud-services-internal-error:\x20Request\x20timeout.','isPremiumPlugin','originalSuggestionId','plugins','from','75801dsxYpO','size','connect','config','isOfficialPlugin','update','890aWfXKx','_trackChangesService','off','3601096unMfWJ','3513294xGboQa','attributes','listenTo','delete','TrackChangesEditing','addUser','getSuggestion','isConnected','connection','cloud-services-internal-error:\x20Not\x20connected.','25588uKAuhM','4240712fLOfeM','catch','values','suggestionUpdated','308404wtBddH','message','pluginName','type','hasSuggestion','4442920pORWjo','collaboration.channelId','_waitForServiceReady','editor','startsWith','connected','9BjHqGy','get','addSuggestionData','find'];_0x1b35=function(){return _0x2205a9;};return _0x1b35();}import _0x3b875d from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0xaca7e6}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x485220{static [_0x2bbde5(0x1b3)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x569848)());[_0x2bbde5(0x1bf)];[_0x2bbde5(0x1d0)];static get[_0x2bbde5(0x1b0)](){const _0x409fc5=_0x2bbde5;return[_0x3b875d,_0x409fc5(0x1d7),_0x3007e9];}static get[_0x2bbde5(0x1e4)](){const _0x537d3c=_0x2bbde5;return _0x537d3c(0x1b1);}static get[_0x2bbde5(0x1cd)](){return!0x0;}static get[_0x2bbde5(0x1c5)](){return!0x0;}constructor(_0x343d81){const _0x521411=_0x2bbde5;super(_0x343d81);const _0x46b578=this[_0x521411(0x1ea)][_0x521411(0x1cc)][_0x521411(0x1ee)](_0x521411(0x1e8));this[_0x521411(0x1bf)]=new Map(),this[_0x521411(0x1d0)]=new f[(_0x521411(0x1b3))](_0x46b578);}[_0x2bbde5(0x1bb)](){const _0x3ab141=_0x2bbde5,_0x437a60=this[_0x3ab141(0x1ea)][_0x3ab141(0x1c7)][_0x3ab141(0x1ee)](_0x3007e9),_0x4c683e=this[_0x3ab141(0x1ea)][_0x3ab141(0x1c7)][_0x3ab141(0x1ee)](_0x3ab141(0x1d7));return _0x4c683e[_0x3ab141(0x1b5)]={'getSuggestion':async _0x4fd14d=>{const _0x1cf5a1=_0x3ab141;await this[_0x1cf5a1(0x1e9)]();const _0x31cac1=await this[_0x1cf5a1(0x1d0)][_0x1cf5a1(0x1ee)](_0x4fd14d)[_0x1cf5a1(0x1df)](nt);return await this[_0x1cf5a1(0x1be)]([_0x31cac1]),_0x31cac1;},'addSuggestion':async({id:_0x39a15e,type:_0x1486da,data:_0x4c62c8,originalSuggestionId:_0x48c6af,attributes:_0x2b5bdd})=>{const _0xe7e44c=_0x3ab141;await this[_0xe7e44c(0x1e9)]();const _0x576391={'id':_0x39a15e,'type':_0x1486da,'data':_0x4c62c8,'originalSuggestionId':_0x48c6af,'attributes':_0x2b5bdd},_0x495b35=await this[_0xe7e44c(0x1d0)][_0xe7e44c(0x1b4)](_0x39a15e,_0x1486da,_0x4c62c8,_0x48c6af,_0x2b5bdd)[_0xe7e44c(0x1df)](_0x19a2d3=>{if(ct(_0x19a2d3))return new Promise(_0x24934b=>{const _0xb69cdc=_0x1fb8;this[_0xb69cdc(0x1bf)][_0xb69cdc(0x1b2)](_0x39a15e,{'resolve':_0x24934b,'suggestionData':_0x576391});});throw _0x19a2d3;});return this[_0xe7e44c(0x1bf)][_0xe7e44c(0x1d6)](_0x39a15e),_0x495b35;},'updateSuggestion':async(_0x18a977,_0x425dbf)=>{const _0x5559f8=_0x3ab141;if(await this[_0x5559f8(0x1e9)](),_0x5559f8(0x1c2)!==_0x425dbf[_0x5559f8(0x1c1)])return this[_0x5559f8(0x1d0)][_0x5559f8(0x1ce)](_0x18a977,_0x425dbf)[_0x5559f8(0x1df)](nt);}},this[_0x3ab141(0x1d5)](this[_0x3ab141(0x1d0)],_0x3ab141(0x1e1),(_0x594e79,_0x2ef4c1)=>{const _0x2a9853=_0x3ab141;_0x4c683e[_0x2a9853(0x1e6)](_0x2ef4c1['id'])&&(_0x4c683e[_0x2a9853(0x1d9)](_0x2ef4c1['id'])[_0x2a9853(0x1d4)]=_0x2ef4c1[_0x2a9853(0x1d4)]);}),this[_0x3ab141(0x1d0)][_0x3ab141(0x1cb)](_0x437a60[_0x3ab141(0x1db)])[_0x3ab141(0x1b7)](_0x351f59=>(_0x437a60[_0x3ab141(0x1ba)](this),this[_0x3ab141(0x1be)](_0x351f59)[_0x3ab141(0x1b7)](()=>{const _0x156450=_0x3ab141;for(const _0xc02177 of _0x351f59){_0x4c683e[_0x156450(0x1ef)](_0xc02177)[_0x156450(0x1b9)]=!0x0;}})));}async[_0x2bbde5(0x1bd)](){const _0x5899fe=_0x2bbde5,_0x19546e=this[_0x5899fe(0x1ea)][_0x5899fe(0x1c7)][_0x5899fe(0x1ee)](_0x5899fe(0x1d7)),{connection:_0x31e56a}=this[_0x5899fe(0x1ea)][_0x5899fe(0x1c7)][_0x5899fe(0x1ee)](_0x3007e9),_0x4bb239=await this[_0x5899fe(0x1d0)][_0x5899fe(0x1cb)](_0x31e56a);await this[_0x5899fe(0x1be)](_0x4bb239);for(const {suggestionData:_0x533ee2,resolve:_0x28bd84}of this[_0x5899fe(0x1bf)][_0x5899fe(0x1e0)]()){let _0x3cf2a2=_0x4bb239[_0x5899fe(0x1f0)](_0x43e057=>_0x43e057['id']===_0x533ee2['id']);_0x3cf2a2||(_0x3cf2a2=await this[_0x5899fe(0x1d0)][_0x5899fe(0x1b4)](_0x533ee2['id'],_0x533ee2[_0x5899fe(0x1e5)],_0x533ee2[_0x5899fe(0x1b8)],_0x533ee2[_0x5899fe(0x1c6)])),_0x28bd84(_0x3cf2a2);}for(const _0x44a490 of _0x4bb239)_0x19546e[_0x5899fe(0x1e6)](_0x44a490['id'])||_0x19546e[_0x5899fe(0x1ef)](_0x44a490);}async[_0x2bbde5(0x1e9)](){const _0x1f1bd1=_0x2bbde5;this[_0x1f1bd1(0x1d0)][_0x1f1bd1(0x1da)]||await new Promise(_0x1925fa=>{const _0x576fb7=_0x1f1bd1;this[_0x576fb7(0x1d5)](this[_0x576fb7(0x1d0)],_0x576fb7(0x1ec),_0x3c1689=>{const _0x17dbaf=_0x576fb7;_0x3c1689[_0x17dbaf(0x1d1)](),_0x1925fa();});});}async[_0x2bbde5(0x1be)](_0x20bd02){const _0xd02985=_0x2bbde5,_0x233592=this[_0xd02985(0x1ea)][_0xd02985(0x1c7)][_0xd02985(0x1ee)](_0xaca7e6),{connection:_0xbc1cd8}=this[_0xd02985(0x1ea)][_0xd02985(0x1c7)][_0xd02985(0x1ee)](_0x3007e9),_0x73935e=new Set();for(const {authorId:_0x42efc5}of _0x20bd02)_0x233592[_0xd02985(0x1bc)](_0x42efc5)||_0x73935e[_0xd02985(0x1b4)](_0x42efc5);if(0x0===_0x73935e[_0xd02985(0x1ca)])return;const _0x125e7c=await _0x2c60c7[_0xd02985(0x1c3)](_0xbc1cd8,Array[_0xd02985(0x1c8)](_0x73935e));for(const _0x4cc5c1 of _0x125e7c)_0x233592[_0xd02985(0x1bc)](_0x4cc5c1['id'])||_0x233592[_0xd02985(0x1d8)](_0x4cc5c1);}}export default f;function nt(_0x52a97e){if(ct(_0x52a97e))return new Promise(()=>{});throw _0x52a97e;}function ct(_0x4e1cc1){const _0x222353=_0x2bbde5;return _0x4e1cc1[_0x222353(0x1e3)][_0x222353(0x1eb)](_0x222353(0x1dc))||_0x4e1cc1[_0x222353(0x1e3)][_0x222353(0x1eb)](_0x222353(0x1c4));}
|