@ckeditor/ckeditor5-real-time-collaboration 46.0.3 → 46.1.0-alpha.0
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/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- 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/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- 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/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a518b=_0x5d05;(function(_0x33a7ea,_0xff7985){const _0x10dcb4=_0x5d05,_0x4bac98=_0x33a7ea();while(!![]){try{const _0x2e767a=-parseInt(_0x10dcb4(0x145))/0x1+parseInt(_0x10dcb4(0x151))/0x2+parseInt(_0x10dcb4(0x14d))/0x3*(-parseInt(_0x10dcb4(0x136))/0x4)+parseInt(_0x10dcb4(0x153))/0x5+parseInt(_0x10dcb4(0x132))/0x6+parseInt(_0x10dcb4(0x14c))/0x7+parseInt(_0x10dcb4(0x13d))/0x8*(parseInt(_0x10dcb4(0x149))/0x9);if(_0x2e767a===_0xff7985)break;else _0x4bac98['push'](_0x4bac98['shift']());}catch(_0x47dff4){_0x4bac98['push'](_0x4bac98['shift']());}}}(_0x23f1,0xab300));import{View as _0x1bab3c}from'ckeditor5/src/ui.js';function _0x5d05(_0x18cd8b,_0x588712){const _0x23f19b=_0x23f1();return _0x5d05=function(_0x5d052a,_0x2a1086){_0x5d052a=_0x5d052a-0x132;let _0x122b3a=_0x23f19b[_0x5d052a];return _0x122b3a;},_0x5d05(_0x18cd8b,_0x588712);}function _0x23f1(){const _0x471308=['3480760ryjgxJ','hasPopup','presencelist:hide','.ck-balloon-panel_with-arrow','Connected\x20users\x20list','466608isGXPK','querySelector','bindTemplate','relatedTarget','4dtaMkI','removeAttribute','contains','keystrokes','presencelist:show','createCollection','isExpanded','112JXJXUJ','set','listenTo','fire','render','aria-expanded','items','setTemplate','1266165VUmcjU','element','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','setAttribute','19557nEMwJc','focus','.ck-presence-list__dropdown-list','8130745XbsmHZ','1385859rJbGXu','div','ck-presence-list__list','list','926850yMqaLG','change:hasPopup'];_0x23f1=function(){return _0x471308;};return _0x23f1();}import{KeystrokeHandler as _0x561019}from'ckeditor5/src/utils.js';import{getTranslation as _0x2c1eba}from'../../common-translations.js';export class PresenceInlineListView extends _0x1bab3c{[_0x1a518b(0x143)];[_0x1a518b(0x139)];constructor(_0x1d539d){const _0x47ec69=_0x1a518b;super(_0x1d539d);const _0x531887=this[_0x47ec69(0x134)];this[_0x47ec69(0x143)]=this[_0x47ec69(0x13b)](),this[_0x47ec69(0x139)]=new _0x561019(),this[_0x47ec69(0x13e)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x47ec69(0x144)]({'tag':_0x47ec69(0x14e),'attributes':{'aria-haspopup':_0x531887['if'](_0x47ec69(0x154)),'aria-expanded':_0x531887['to'](_0x47ec69(0x13c),_0x49b092=>this[_0x47ec69(0x154)]&&String(_0x49b092)),'aria-label':_0x531887['to'](_0x47ec69(0x154),_0x25a29e=>_0x2c1eba(_0x1d539d,_0x25a29e?_0x47ec69(0x147):_0x47ec69(0x157))),'role':_0x47ec69(0x150),'tabindex':_0x531887['to'](_0x47ec69(0x154),_0x357190=>!!_0x357190&&0x0),'class':['ck',_0x47ec69(0x14f)]},'children':this[_0x47ec69(0x143)],'on':{'mouseenter':_0x531887['to'](()=>this[_0x47ec69(0x140)](_0x47ec69(0x13a))),'mouseleave':_0x531887['to'](_0x360714=>{const _0x1f59d0=_0x47ec69,_0x496ea9=_0x360714,_0x433bab=document[_0x1f59d0(0x133)](_0x1f59d0(0x14b)),_0x430a67=document[_0x1f59d0(0x133)](_0x1f59d0(0x156));_0x433bab?.[_0x1f59d0(0x138)](_0x496ea9[_0x1f59d0(0x135)])||_0x430a67?.[_0x1f59d0(0x138)](_0x496ea9[_0x1f59d0(0x135)])||this[_0x1f59d0(0x140)](_0x1f59d0(0x155));})}}),this['on'](_0x47ec69(0x152),(_0x340a6b,_0x2435b9,_0x5cb5a5)=>{const _0x56e642=_0x47ec69;this[_0x56e642(0x146)]&&(_0x5cb5a5?this[_0x56e642(0x146)][_0x56e642(0x148)](_0x56e642(0x142),String(this[_0x56e642(0x13c)])):this[_0x56e642(0x146)][_0x56e642(0x137)](_0x56e642(0x142)));});}[_0x1a518b(0x14a)](){const _0x5b99ac=_0x1a518b;this[_0x5b99ac(0x146)][_0x5b99ac(0x14a)]();}[_0x1a518b(0x141)](){const _0x513cae=_0x1a518b;super[_0x513cae(0x141)](),this[_0x513cae(0x139)][_0x513cae(0x13f)](this[_0x513cae(0x146)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30ffd1=_0x48cd;(function(_0x4a8834,_0x3e6701){const _0x334727=_0x48cd,_0x1a8ef5=_0x4a8834();while(!![]){try{const _0x41c171=parseInt(_0x334727(0xe8))/0x1*(parseInt(_0x334727(0xe6))/0x2)+parseInt(_0x334727(0xee))/0x3*(parseInt(_0x334727(0x101))/0x4)+-parseInt(_0x334727(0xfd))/0x5+-parseInt(_0x334727(0x100))/0x6+parseInt(_0x334727(0xe7))/0x7+parseInt(_0x334727(0xff))/0x8*(-parseInt(_0x334727(0xf9))/0x9)+-parseInt(_0x334727(0xf3))/0xa*(-parseInt(_0x334727(0xfc))/0xb);if(_0x41c171===_0x3e6701)break;else _0x1a8ef5['push'](_0x1a8ef5['shift']());}catch(_0x35289a){_0x1a8ef5['push'](_0x1a8ef5['shift']());}}}(_0x5716,0xc2ab4));import{View as _0x37b9bd}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0xa567e8}from'./presencecounterview.js';import{PresenceInlineListView as _0x180d6d}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x48cd(_0x544f82,_0x115bf2){const _0x5716cb=_0x5716();return _0x48cd=function(_0x48cd67,_0x1efd6d){_0x48cd67=_0x48cd67-0xe4;let _0x5899b1=_0x5716cb[_0x48cd67];return _0x5899b1;},_0x48cd(_0x544f82,_0x115bf2);}function _0x5716(){const _0x3fb037=['32NtgBaT','8743350PmcKpt','104zmBWXx','tooltipPosition','hasPopup','2rSlWwN','5485060divaZO','88799fdBHag','items','bind','isCollapsed','ck-rounded-corners','locale','43287gMgfXY','bindTemplate','set','div','ck-presence-list--collapsed','10UCBvAY','ck-reset','counterView','setTemplate','listenTo','change','1610748PeYUbS','ck-presence-list','first','18969225OluFLM','7655qIYAoP','inlineListView'];_0x5716=function(){return _0x3fb037;};return _0x5716();}export class PresenceListView extends _0x37b9bd{[_0x30ffd1(0xf5)];[_0x30ffd1(0xfe)];constructor(_0x24d891,_0x2ca80b=0x6){const _0x308644=_0x30ffd1;super(_0x24d891);const _0x4b5316=this[_0x308644(0xef)];this[_0x308644(0xf0)](_0x308644(0xeb),!0x0),this[_0x308644(0xf5)]=new _0xa567e8(this[_0x308644(0xed)],_0x2ca80b),this[_0x308644(0xfe)]=new _0x180d6d(_0x24d891),this[_0x308644(0xfe)][_0x308644(0xea)](_0x308644(0xe5))['to'](this,_0x308644(0xeb)),this[_0x308644(0xf7)](this[_0x308644(0xfe)][_0x308644(0xe9)],_0x308644(0xf8),()=>{const _0x51cbe5=_0x308644;for(const _0x454edf of this[_0x51cbe5(0xfe)][_0x51cbe5(0xe9)])_0x454edf[_0x51cbe5(0xe4)]='s';this[_0x51cbe5(0xfe)][_0x51cbe5(0xe9)][_0x51cbe5(0xfb)]&&(this[_0x51cbe5(0xfe)][_0x51cbe5(0xe9)][_0x51cbe5(0xfb)][_0x51cbe5(0xe4)]='se');}),this[_0x308644(0xf6)]({'tag':_0x308644(0xf1),'attributes':{'class':['ck',_0x308644(0xfa),_0x308644(0xf4),_0x308644(0xec),_0x4b5316['if'](_0x308644(0xeb),_0x308644(0xf2))]},'children':[this[_0x308644(0xfe)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2c3939=_0x1258;(function(_0x127f6c,_0x47a56b){var _0xbc993a=_0x1258,_0x18d1ed=_0x127f6c();while(!![]){try{var _0x44c9fc=-parseInt(_0xbc993a(0xc9))/0x1*(-parseInt(_0xbc993a(0xc7))/0x2)+-parseInt(_0xbc993a(0xcc))/0x3+parseInt(_0xbc993a(0xd0))/0x4+parseInt(_0xbc993a(0xca))/0x5+parseInt(_0xbc993a(0xc8))/0x6+parseInt(_0xbc993a(0xcb))/0x7*(-parseInt(_0xbc993a(0xce))/0x8)+-parseInt(_0xbc993a(0xc6))/0x9*(parseInt(_0xbc993a(0xc4))/0xa);if(_0x44c9fc===_0x47a56b)break;else _0x18d1ed['push'](_0x18d1ed['shift']());}catch(_0x2cffa3){_0x18d1ed['push'](_0x18d1ed['shift']());}}}(_0x301b,0xb7b45));import{ContextPlugin as _0x3c4575}from'ckeditor5/src/core.js';function _0x1258(_0x140e83,_0x1f1645){var _0x301b8a=_0x301b();return _0x1258=function(_0x125833,_0x1f9d0b){_0x125833=_0x125833-0xc3;var _0x3b56d4=_0x301b8a[_0x125833];return _0x3b56d4;},_0x1258(_0x140e83,_0x1f1645);}function _0x301b(){var _0x37d451=['1782138onZKYK','isPremiumPlugin','1017848czfzux','isOfficialPlugin','4192244egTaOp','pluginName','requires','791720oaABmz','PresenceList','207Fsyhyi','41014IgSGLW','5561454KIQCAF','61acmxLe','2252410jtMzci','28YECKHQ'];_0x301b=function(){return _0x37d451;};return _0x301b();}import{Sessions as _0x2f1791}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x28721e}from'./presencelist/presencelistui.js';export class PresenceList extends _0x3c4575{static get[_0x2c3939(0xc3)](){return[_0x2f1791,_0x28721e];}static get[_0x2c3939(0xd1)](){var _0x140407=_0x2c3939;return _0x140407(0xc5);}static get[_0x2c3939(0xcf)](){return!0x0;}static get[_0x2c3939(0xcd)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x237c26)());[_0x5cdeae(0x21c)];static get[_0x5cdeae(0x224)](){const _0x243f98=_0x5cdeae;return[_0x4158e6,_0x243f98(0x20f),_0x5b1a09,_0x45208d];}static get[_0x5cdeae(0x22f)](){const _0xe65ed=_0x5cdeae;return _0xe65ed(0x205);}static get[_0x5cdeae(0x240)](){return!0x0;}static get[_0x5cdeae(0x244)](){return!0x0;}constructor(_0x18063b){const _0x11ba0a=_0x5cdeae;super(_0x18063b),this[_0x11ba0a(0x21c)]=new Map();}async[_0x5cdeae(0x22b)](){const _0x374afe=_0x5cdeae,_0x15f45b=this[_0x374afe(0x236)],_0x409a91=_0x15f45b[_0x374afe(0x1eb)][_0x374afe(0x237)](_0x374afe(0x20f));if(_0x15f45b[_0x374afe(0x1eb)][_0x374afe(0x237)](_0x4158e6)[_0x374afe(0x233)](this),_0x409a91[_0x374afe(0x1e6)]={'addCommentThread':async({channelId:_0x1bf8e0,threadId:_0x5e2567,comments:_0x57debf,resolvedAt:_0x1361f8,resolvedBy:_0x41672d,context:_0x51b624,attributes:_0x5d83d4})=>{const _0x34f02f=_0x374afe,_0x5c2bf3=await this[_0x34f02f(0x22e)](_0x1bf8e0)[_0x34f02f(0x23f)]({'commentThreadId':_0x5e2567,'comments':_0x57debf[_0x34f02f(0x1f5)](_0x29ba41=>function(_0x796015,_0x5089a8,_0x2ee46a){const _0x2d7e17=_0x34f02f;return{'commentThreadId':_0x2ee46a,'commentId':_0x796015[_0x2d7e17(0x212)],'userId':_0x796015[_0x2d7e17(0x21e)],'content':_0x796015[_0x2d7e17(0x204)],'documentId':_0x5089a8,'createdAt':_0x796015[_0x2d7e17(0x241)],'attributes':_0x796015[_0x2d7e17(0x1fd)]||{}};}(_0x29ba41,_0x1bf8e0,_0x5e2567)),'resolvedAt':_0x1361f8,'resolvedBy':_0x41672d,'context':_0x51b624,'attributes':_0x5d83d4})[_0x34f02f(0x22c)](B);return{'threadId':_0x5c2bf3[_0x34f02f(0x231)],'comments':_0x5c2bf3[_0x34f02f(0x23d)]};},'getCommentThread':async({channelId:_0x378765,threadId:_0x2cdc2f})=>{const _0xb5fd05=_0x374afe,_0x426690=await this[_0xb5fd05(0x22e)](_0x378765)[_0xb5fd05(0x207)](_0x2cdc2f)[_0xb5fd05(0x22c)](B);return _0x426690[_0xb5fd05(0x211)]?null:(await this[_0xb5fd05(0x23a)]([_0x426690]),{'threadId':_0x426690[_0xb5fd05(0x231)],'comments':_0x426690[_0xb5fd05(0x23d)][_0xb5fd05(0x1f5)](U),'context':_0x426690[_0xb5fd05(0x236)],'resolvedAt':_0x426690[_0xb5fd05(0x22a)],'resolvedBy':_0x426690[_0xb5fd05(0x1fa)],'attributes':_0x426690[_0xb5fd05(0x1fd)]||{}});},'updateCommentThread':async({channelId:_0x34f397,threadId:_0x2f27f1,context:_0x48d482,unlinkedAt:_0x35d044,attributes:_0x1a0708})=>this[_0x374afe(0x22e)](_0x34f397)[_0x374afe(0x1ef)]({'commentThreadId':_0x2f27f1,'context':_0x48d482,'attributes':_0x1a0708,'unlinkedAt':_0x35d044})[_0x374afe(0x22c)](F)[_0x374afe(0x22c)](B),'resolveCommentThread':async({channelId:_0x359bd0,threadId:_0x147f80})=>{const _0x47cc7f=_0x374afe,_0x4108c2=await this[_0x47cc7f(0x22e)](_0x359bd0)[_0x47cc7f(0x1ee)](_0x147f80)[_0x47cc7f(0x22c)](F)[_0x47cc7f(0x22c)](B);return{'threadId':_0x4108c2[_0x47cc7f(0x231)],'resolvedAt':_0x4108c2[_0x47cc7f(0x22a)],'resolvedBy':_0x4108c2[_0x47cc7f(0x1fa)]};},'reopenCommentThread':async({channelId:_0x49ec4e,threadId:_0x29ed23})=>this[_0x374afe(0x22e)](_0x49ec4e)[_0x374afe(0x208)](_0x29ed23)[_0x374afe(0x22c)](F)[_0x374afe(0x22c)](B),'removeCommentThread':({channelId:_0x408d0d,threadId:_0x17f1e5})=>this[_0x374afe(0x22e)](_0x408d0d)[_0x374afe(0x1f1)](_0x17f1e5)[_0x374afe(0x22c)](F)[_0x374afe(0x22c)](B),'addComment':({channelId:_0x2eff79,threadId:_0x428399,commentId:_0x2e7bd6,content:_0xf102db,attributes:_0x677fdd})=>this[_0x374afe(0x22e)](_0x2eff79)[_0x374afe(0x1fe)](_0x428399,_0x2e7bd6,_0xf102db,_0x677fdd)[_0x374afe(0x22c)](B),'updateComment':({channelId:_0xa3ce11,threadId:_0x19895f,commentId:_0x719f4b,content:_0x4aad36,attributes:_0x54e7b8})=>this[_0x374afe(0x22e)](_0xa3ce11)[_0x374afe(0x220)](_0x19895f,_0x719f4b,_0x4aad36,_0x54e7b8)[_0x374afe(0x22c)](F)[_0x374afe(0x22c)](B),'removeComment':({channelId:_0x25f7d1,threadId:_0x51057a,commentId:_0x5e4673})=>this[_0x374afe(0x22e)](_0x25f7d1)[_0x374afe(0x1ff)](_0x51057a,_0x5e4673)[_0x374afe(0x22c)](F)[_0x374afe(0x22c)](B)},_0x15f45b instanceof _0xb8c2d8){const _0x1f1ea2=_0x15f45b[_0x374afe(0x23b)][_0x374afe(0x237)](_0x374afe(0x248)),_0x5277de=_0x15f45b[_0x374afe(0x1eb)][_0x374afe(0x237)](_0x5b1a09);await this[_0x374afe(0x20a)](_0x1f1ea2);const _0x1fbcad=await this[_0x374afe(0x21c)][_0x374afe(0x237)](_0x1f1ea2)[_0x374afe(0x234)]();this[_0x374afe(0x202)](_0x5277de,_0x374afe(0x20e)+_0x1f1ea2,(_0x1f6e09,{session:_0x38bf3f})=>{const _0x1273a9=_0x374afe;_0x38bf3f['id']===_0x5277de[_0x1273a9(0x20c)]&&(_0x1f6e09[_0x1273a9(0x1fc)](),this[_0x1273a9(0x236)][_0x1273a9(0x1eb)][_0x1273a9(0x237)](_0x1273a9(0x1f6))[_0x1273a9(0x245)](_0x38bf3f[_0x1273a9(0x249)],_0x1f1ea2));}),_0x5277de[_0x374afe(0x217)](_0x1f1ea2,_0x1fbcad);}}async[_0x5cdeae(0x20a)](_0x46c7c1){const _0x17594b=_0x5cdeae;if(this[_0x17594b(0x21c)][_0x17594b(0x206)](_0x46c7c1))throw new _0xf29afb(_0x17594b(0x1ed),null,{'channelId':_0x46c7c1});const _0x4736d3=this[_0x17594b(0x236)][_0x17594b(0x1eb)][_0x17594b(0x237)](_0x17594b(0x20f)),_0x4d483d=new s[(_0x17594b(0x215))](_0x46c7c1);this[_0x17594b(0x21c)][_0x17594b(0x1f8)](_0x46c7c1,_0x4d483d),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x24a),(_0x62e229,_0x4721aa)=>{const _0x215805=_0x17594b,{commentThreadId:_0x545678,documentId:_0x4de0b8,context:_0x3c8210,attributes:_0x5a3da7,resolvedAt:_0x31eaa6,resolvedBy:_0x4ecfe8,comments:_0x4f3ae8}=_0x4721aa;_0x4736d3[_0x215805(0x207)](_0x545678)||_0x4736d3[_0x215805(0x23f)]({'threadId':_0x545678,'channelId':_0x4de0b8,'comments':_0x4f3ae8?_0x4f3ae8[_0x215805(0x1f5)](U):[],'context':_0x3c8210,'attributes':_0x5a3da7,'resolvedAt':_0x31eaa6,'resolvedBy':_0x4ecfe8,'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x20b),(_0x3df745,{commentThreadId:_0x5ae550,documentId:_0x5dc52f,context:_0x2009e3,unlinkedAt:_0x3333c4,attributes:_0xf23751})=>{const _0x585c3b=_0x17594b;_0x4736d3[_0x585c3b(0x207)](_0x5ae550)&&_0x4736d3[_0x585c3b(0x1ef)]({'threadId':_0x5ae550,'channelId':_0x5dc52f,'context':_0x2009e3,'unlinkedAt':_0x3333c4,'attributes':_0xf23751,'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x1e7),(_0x15c1c1,{commentThreadId:_0x20bc72,resolvedBy:_0x3618a9,resolvedAt:_0x59edfa})=>{const _0x48ad1f=_0x17594b,_0x414552=_0x4736d3[_0x48ad1f(0x207)](_0x20bc72);_0x414552&&_0x414552[_0x48ad1f(0x1e9)]({'resolvedBy':_0x3618a9,'resolvedAt':_0x59edfa,'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x227),(_0x82b597,{commentThreadId:_0x58b9ae})=>{const _0x268b34=_0x17594b,_0x379471=_0x4736d3[_0x268b34(0x207)](_0x58b9ae);_0x379471&&_0x379471[_0x268b34(0x230)]({'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x232),(_0x3a9833,{commentThreadId:_0x33824a})=>{const _0x192600=_0x17594b,_0x464b59=_0x4736d3[_0x192600(0x207)](_0x33824a);_0x464b59&&_0x464b59[_0x192600(0x1ea)]({'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x210),(_0x41b3b2,_0x3d5028)=>{const _0x5dcc18=_0x17594b,_0x2d7f4a=_0x3d5028[_0x5dcc18(0x231)],_0x4ac4d7=_0x4736d3[_0x5dcc18(0x207)](_0x2d7f4a);_0x4ac4d7&&_0x4ac4d7[_0x5dcc18(0x1fe)]({...U(_0x3d5028),'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x1fb),(_0x2d13ee,{commentThreadId:_0xd566b1,commentId:_0x31a0ee,content:_0xa1f1ab,attributes:_0x36a0c1})=>{const _0x23ae55=_0x17594b,_0x266a64=_0x4736d3[_0x23ae55(0x207)](_0xd566b1);if(_0x266a64){const _0xaf920=_0x266a64[_0x23ae55(0x1e5)](_0x31a0ee);_0xaf920&&_0xaf920[_0x23ae55(0x201)]({'content':_0xa1f1ab,'attributes':_0x36a0c1,'isFromAdapter':!0x0});}}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x1f9),(_0x5f2872,{commentThreadId:_0x70cdd6,commentId:_0x2f6f6a})=>{const _0x45ca0e=_0x17594b,_0x4fd7ae=_0x4736d3[_0x45ca0e(0x207)](_0x70cdd6);if(_0x4fd7ae){const _0x240311=_0x4fd7ae[_0x45ca0e(0x1e5)](_0x2f6f6a);_0x240311&&_0x240311[_0x45ca0e(0x1ea)]({'isFromAdapter':!0x0});}}),await this[_0x17594b(0x23e)](_0x46c7c1);}[_0x5cdeae(0x229)](){const _0x42a233=_0x5cdeae;if(this[_0x42a233(0x236)]instanceof _0xb8c2d8){const _0xe29c16=this[_0x42a233(0x236)][_0x42a233(0x23b)][_0x42a233(0x237)](_0x42a233(0x248));this[_0x42a233(0x1f2)](_0xe29c16);}}[_0x5cdeae(0x1f2)](_0x5a9e4c){const _0x508498=_0x5cdeae;if(!this[_0x508498(0x21c)][_0x508498(0x206)](_0x5a9e4c))throw new _0xf29afb(_0x508498(0x1e8),null,{'channelId':_0x5a9e4c});this[_0x508498(0x22e)](_0x5a9e4c)[_0x508498(0x238)](),this[_0x508498(0x21c)][_0x508498(0x247)](_0x5a9e4c);}async[_0x5cdeae(0x226)](){const _0x46623c=_0x5cdeae;for(const _0x1687c4 of this[_0x46623c(0x21c)][_0x46623c(0x221)]())await this[_0x46623c(0x23e)](_0x1687c4);if(this[_0x46623c(0x236)]instanceof _0xb8c2d8){const _0x3420c8=this[_0x46623c(0x236)][_0x46623c(0x23b)][_0x46623c(0x237)](_0x46623c(0x248)),_0x48de23=this[_0x46623c(0x236)][_0x46623c(0x1eb)][_0x46623c(0x237)](_0x5b1a09);_0x48de23[_0x46623c(0x242)](_0x3420c8);const _0x1f211c=await this[_0x46623c(0x21c)][_0x46623c(0x237)](_0x3420c8)[_0x46623c(0x234)]();_0x48de23[_0x46623c(0x217)](_0x3420c8,_0x1f211c);}}async[_0x5cdeae(0x23e)](_0x4b9243){const _0x2939de=_0x5cdeae,{connection:_0x2ebdaa}=this[_0x2939de(0x236)][_0x2939de(0x1eb)][_0x2939de(0x237)](_0x4158e6),_0x169fd9=this[_0x2939de(0x236)][_0x2939de(0x1eb)][_0x2939de(0x237)](_0x2939de(0x20f)),_0x3401f0=this[_0x2939de(0x21c)][_0x2939de(0x237)](_0x4b9243),_0x23d986=await _0x3401f0[_0x2939de(0x214)](_0x2ebdaa);await this[_0x2939de(0x23a)](_0x23d986);const _0x13e618=new Set(Array[_0x2939de(0x21b)](_0x169fd9[_0x2939de(0x243)]({'channelId':_0x4b9243}),_0x478e6d=>_0x478e6d['id']));for(const _0x1698d2 of _0x23d986)_0x1698d2[_0x2939de(0x211)]||_0x13e618[_0x2939de(0x247)](_0x1698d2[_0x2939de(0x231)]);for(const _0x30859b of _0x13e618)_0x169fd9[_0x2939de(0x207)](_0x30859b)[_0x2939de(0x1ea)]({'isFromAdapter':!0x0});for(const _0x3596ab of _0x23d986){let _0x3fca04=_0x169fd9[_0x2939de(0x207)](_0x3596ab[_0x2939de(0x231)]);const {commentThreadId:_0x2bb57a,context:_0x3d1d22,attributes:_0x14fd1a,resolvedBy:_0x37f80f,resolvedAt:_0x32d79f,unlinkedAt:_0x4fea85,deletedAt:_0x18a938}=_0x3596ab;if(_0x18a938)continue;_0x3fca04||(_0x3fca04=_0x169fd9[_0x2939de(0x23f)]({'channelId':_0x4b9243,'threadId':_0x2bb57a,'context':_0x3d1d22,'attributes':_0x14fd1a||{},'resolvedBy':_0x37f80f,'resolvedAt':_0x32d79f,'unlinkedAt':_0x4fea85,'isFromAdapter':!0x0}));const _0x1771be=new Set(Array[_0x2939de(0x21b)](_0x3fca04[_0x2939de(0x23d)],_0x8d5f0e=>_0x8d5f0e['id']));for(const _0x131d36 of _0x3596ab[_0x2939de(0x23d)])_0x1771be[_0x2939de(0x247)](_0x131d36[_0x2939de(0x212)]);for(const _0x3e2dd8 of _0x1771be)_0x3fca04[_0x2939de(0x1e5)](_0x3e2dd8)[_0x2939de(0x1ea)]({'isFromAdapter':!0x0});for(const _0x594537 of _0x3596ab[_0x2939de(0x23d)]){const _0x36acfe=_0x3fca04[_0x2939de(0x1e5)](_0x594537[_0x2939de(0x212)]);_0x36acfe?_0x36acfe[_0x2939de(0x204)]!==_0x594537[_0x2939de(0x204)]&&_0x36acfe[_0x2939de(0x201)]({'content':_0x594537[_0x2939de(0x204)],'isFromAdapter':!0x0}):_0x3fca04[_0x2939de(0x1fe)](Object[_0x2939de(0x218)](U(_0x594537),{'isFromAdapter':!0x0}));}}}[_0x5cdeae(0x22e)](_0x45268f){const _0xadabce=_0x5cdeae;if(!this[_0xadabce(0x21c)][_0xadabce(0x206)](_0x45268f))throw new _0xf29afb(_0xadabce(0x1ec),null,{'channelId':_0x45268f});return this[_0xadabce(0x21c)][_0xadabce(0x237)](_0x45268f);}async[_0x5cdeae(0x23a)](_0x3137b4){const _0x57d8ee=_0x5cdeae,_0x7fcde7=this[_0x57d8ee(0x236)][_0x57d8ee(0x1eb)][_0x57d8ee(0x237)](_0x45208d),{connection:_0x4ec6da}=this[_0x57d8ee(0x236)][_0x57d8ee(0x1eb)][_0x57d8ee(0x237)](_0x4158e6),_0x2c17c0=new Set();for(const {resolvedBy:_0x1f9415,comments:_0x2ba1ca}of _0x3137b4){_0x1f9415&&!_0x7fcde7[_0x57d8ee(0x21d)](_0x1f9415)&&_0x2c17c0[_0x57d8ee(0x228)](_0x1f9415);for(const {userId:_0x2eb3a9}of _0x2ba1ca)_0x7fcde7[_0x57d8ee(0x21d)](_0x2eb3a9)||_0x2c17c0[_0x57d8ee(0x228)](_0x2eb3a9);}if(0x0===_0x2c17c0[_0x57d8ee(0x200)])return;const _0x473bdd=await _0x12b2cb[_0x57d8ee(0x21a)](_0x4ec6da,Array[_0x57d8ee(0x21b)](_0x2c17c0));for(const _0x3b4908 of _0x473bdd)_0x7fcde7[_0x57d8ee(0x21d)](_0x3b4908['id'])||_0x7fcde7[_0x57d8ee(0x20d)](_0x3b4908);}}export{s as CloudServicesCommentsAdapter};async function F(_0x62fdd5){const _0xf1cb8a=_0x5cdeae;if(_0xf1cb8a(0x1f0)!==_0x62fdd5[_0xf1cb8a(0x1f4)])throw _0x62fdd5;}function B(_0xd346c){const _0x48e0b1=_0x5cdeae;if((_0x48d68a=_0xd346c)[_0x48e0b1(0x219)][_0x48e0b1(0x222)](_0x48e0b1(0x22d))||_0x48d68a[_0x48e0b1(0x219)][_0x48e0b1(0x222)](_0x48e0b1(0x213))||_0x48d68a[_0x48e0b1(0x219)][_0x48e0b1(0x222)](_0x48e0b1(0x246)))return new Promise(()=>{});var _0x48d68a;throw _0xd346c;}function U(_0x2c6878){const _0x1e79b0=_0x5cdeae;return{'threadId':_0x2c6878[_0x1e79b0(0x231)],'commentId':_0x2c6878[_0x1e79b0(0x212)],'content':_0x2c6878[_0x1e79b0(0x204)],'createdAt':_0x2c6878[_0x1e79b0(0x241)],'authorId':_0x2c6878[_0x1e79b0(0x223)],'attributes':_0x2c6878[_0x1e79b0(0x1fd)]||{}};}
|
|
23
|
+
const _0x118b6a=_0x5d2c;(function(_0x18587e,_0x117f3c){const _0x265f40=_0x5d2c,_0x344c74=_0x18587e();while(!![]){try{const _0x5c0c47=-parseInt(_0x265f40(0xf6))/0x1*(parseInt(_0x265f40(0xea))/0x2)+-parseInt(_0x265f40(0x103))/0x3+-parseInt(_0x265f40(0xca))/0x4+-parseInt(_0x265f40(0xcf))/0x5+parseInt(_0x265f40(0xf8))/0x6*(parseInt(_0x265f40(0xcc))/0x7)+-parseInt(_0x265f40(0xf1))/0x8*(-parseInt(_0x265f40(0xf4))/0x9)+-parseInt(_0x265f40(0xbb))/0xa*(-parseInt(_0x265f40(0xf3))/0xb);if(_0x5c0c47===_0x117f3c)break;else _0x344c74['push'](_0x344c74['shift']());}catch(_0x59c173){_0x344c74['push'](_0x344c74['shift']());}}}(_0x5556,0xbd674));import{Context as _0x21aa86,ContextPlugin as _0x2c196b}from'ckeditor5/src/core.js';function _0x5556(){const _0x216fd8=['attributes','_services','from','register','off','cloud-services-internal-error:\x20Request\x20timeout.','cloud-services-internal-error:\x20Not\x20connected.','cloudservicescommentsadapter-disconnect-not-exist','addToReconnectionStack','pluginName','updateCommentThread','commentThreadResolved','reopenCommentThread','2ONRHRr','Permissions','reopen','commentThreadReopened','assign','reconnect','404','2249352DbUSbG','unregister','11buRbHC','27MNrpBa','addCommentThread','218126TWIdxX','init','318HPykkV','sessionAdd:','plugins','_connectService','connect','commentThreadUpdated','isPremiumPlugin','commentRemoved','size','isOfficialPlugin','_fetchMissingUsersForThreads','3108048EUQtjt','resolvedAt','delete','CloudServicesCommentsAdapter','CommentsService','remove','permissions','add','config','set','userId','setPermissions','deletedAt','commentThreadAdded','getUser','resolvedBy','commentThreadRemoved','getConnectedSessions','cloudservicescommentsadapter-service-not-exist','createdAt','_setUpService','getMany','authorId','removeCommentThread','get','resolveCommentThread','has','getCommentThreads','commentThreadId','destroy','requires','35858840pFEAUL','adapter','comments','addComment','mySessionId','addUser','_terminateService','startsWith','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','keys','CommentsRepository','disconnect','code','resolve','getCommentThread','3610444ojAqHz','content','5089aFCHRO','message','commentUpdated','7676865akKidM','_getService','commentId','getComment','removeComment','update','collaboration.channelId','context','catch','commentAdded','updateComment','cloudservicescommentsadapter-connect-already-connected','listenTo','map'];_0x5556=function(){return _0x216fd8;};return _0x5556();}import{CKEditorError as _0x406063}from'ckeditor5/src/utils.js';import{Users as _0xb5f930}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x284328,User as _0x584258}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x39b1c2}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5437b5}from'../realtimecollaborativeediting/sessions.js';class s extends _0x2c196b{static [_0x118b6a(0xa0)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x284328)());[_0x118b6a(0xde)];static get[_0x118b6a(0xba)](){const _0x484ea3=_0x118b6a;return[_0x39b1c2,_0x484ea3(0xc5),_0x5437b5,_0xb5f930];}static get[_0x118b6a(0xe6)](){const _0x2c99b3=_0x118b6a;return _0x2c99b3(0x9f);}static get[_0x118b6a(0x101)](){return!0x0;}static get[_0x118b6a(0xfe)](){return!0x0;}constructor(_0x369831){const _0x2737c6=_0x118b6a;super(_0x369831),this[_0x2737c6(0xde)]=new Map();}async[_0x118b6a(0xf7)](){const _0x21e164=_0x118b6a,_0x225423=this[_0x21e164(0xd6)],_0xceab5a=_0x225423[_0x21e164(0xfa)][_0x21e164(0xb4)](_0x21e164(0xc5));if(_0x225423[_0x21e164(0xfa)][_0x21e164(0xb4)](_0x39b1c2)[_0x21e164(0xe5)](this),_0xceab5a[_0x21e164(0xbc)]={'addCommentThread':async({channelId:_0x4ad3d0,threadId:_0x2ffefd,comments:_0x5ea513,resolvedAt:_0x167990,resolvedBy:_0x21c611,context:_0x189ecb,attributes:_0x149710})=>{const _0x4f29f9=_0x21e164,_0x3559c3=await this[_0x4f29f9(0xd0)](_0x4ad3d0)[_0x4f29f9(0xf5)]({'commentThreadId':_0x2ffefd,'comments':_0x5ea513[_0x4f29f9(0xdc)](_0x4861db=>function(_0x115350,_0x472a2a,_0x2b809e){const _0x2b483f=_0x4f29f9;return{'commentThreadId':_0x2b809e,'commentId':_0x115350[_0x2b483f(0xd1)],'userId':_0x115350[_0x2b483f(0xb2)],'content':_0x115350[_0x2b483f(0xcb)],'documentId':_0x472a2a,'createdAt':_0x115350[_0x2b483f(0xaf)],'attributes':_0x115350[_0x2b483f(0xdd)]||{}};}(_0x4861db,_0x4ad3d0,_0x2ffefd)),'resolvedAt':_0x167990,'resolvedBy':_0x21c611,'context':_0x189ecb,'attributes':_0x149710})[_0x4f29f9(0xd7)](nt);return{'threadId':_0x3559c3[_0x4f29f9(0xb8)],'comments':_0x3559c3[_0x4f29f9(0xbd)]};},'getCommentThread':async({channelId:_0x4e1b1f,threadId:_0xc05a7c})=>{const _0xbad852=_0x21e164,_0x59f3bf=await this[_0xbad852(0xd0)](_0x4e1b1f)[_0xbad852(0xc9)](_0xc05a7c)[_0xbad852(0xd7)](ot)[_0xbad852(0xd7)](nt);return _0x59f3bf?_0x59f3bf[_0xbad852(0xa8)]?null:(await this[_0xbad852(0x102)]([_0x59f3bf]),{'threadId':_0x59f3bf[_0xbad852(0xb8)],'comments':_0x59f3bf[_0xbad852(0xbd)][_0xbad852(0xdc)](st),'context':_0x59f3bf[_0xbad852(0xd6)],'resolvedAt':_0x59f3bf[_0xbad852(0x9d)],'resolvedBy':_0x59f3bf[_0xbad852(0xab)],'attributes':_0x59f3bf[_0xbad852(0xdd)]||{}}):null;},'updateCommentThread':async({channelId:_0x4fafd2,threadId:_0x39c8e5,context:_0x73bf1b,unlinkedAt:_0x419be8,attributes:_0x11e552})=>this[_0x21e164(0xd0)](_0x4fafd2)[_0x21e164(0xe7)]({'commentThreadId':_0x39c8e5,'context':_0x73bf1b,'attributes':_0x11e552,'unlinkedAt':_0x419be8})[_0x21e164(0xd7)](ot)[_0x21e164(0xd7)](nt),'resolveCommentThread':async({channelId:_0x33a518,threadId:_0x235c71})=>{const _0x303a0c=_0x21e164,_0x60fc8=await this[_0x303a0c(0xd0)](_0x33a518)[_0x303a0c(0xb5)](_0x235c71)[_0x303a0c(0xd7)](ot)[_0x303a0c(0xd7)](nt);return{'threadId':_0x60fc8[_0x303a0c(0xb8)],'resolvedAt':_0x60fc8[_0x303a0c(0x9d)],'resolvedBy':_0x60fc8[_0x303a0c(0xab)]};},'reopenCommentThread':async({channelId:_0x28dfdd,threadId:_0x5921ae})=>this[_0x21e164(0xd0)](_0x28dfdd)[_0x21e164(0xe9)](_0x5921ae)[_0x21e164(0xd7)](ot)[_0x21e164(0xd7)](nt),'removeCommentThread':({channelId:_0x45e312,threadId:_0x10b821})=>this[_0x21e164(0xd0)](_0x45e312)[_0x21e164(0xb3)](_0x10b821)[_0x21e164(0xd7)](ot)[_0x21e164(0xd7)](nt),'addComment':({channelId:_0x4c3f36,threadId:_0x297483,commentId:_0x4468da,content:_0x345819,attributes:_0x1d7f1d})=>this[_0x21e164(0xd0)](_0x4c3f36)[_0x21e164(0xbe)](_0x297483,_0x4468da,_0x345819,_0x1d7f1d)[_0x21e164(0xd7)](nt),'updateComment':({channelId:_0x4fc8fa,threadId:_0x6feb81,commentId:_0x3d74fc,content:_0x419cba,attributes:_0x177c62})=>this[_0x21e164(0xd0)](_0x4fc8fa)[_0x21e164(0xd9)](_0x6feb81,_0x3d74fc,_0x419cba,_0x177c62)[_0x21e164(0xd7)](ot)[_0x21e164(0xd7)](nt),'removeComment':({channelId:_0x36b4ff,threadId:_0x6746a3,commentId:_0x360ffd})=>this[_0x21e164(0xd0)](_0x36b4ff)[_0x21e164(0xd3)](_0x6746a3,_0x360ffd)[_0x21e164(0xd7)](ot)[_0x21e164(0xd7)](nt)},_0x225423 instanceof _0x21aa86){const _0x257040=_0x225423[_0x21e164(0xa4)][_0x21e164(0xb4)](_0x21e164(0xd5)),_0xd0a996=_0x225423[_0x21e164(0xfa)][_0x21e164(0xb4)](_0x5437b5);await this[_0x21e164(0xb0)](_0x257040);const _0xdd761=await this[_0x21e164(0xde)][_0x21e164(0xb4)](_0x257040)[_0x21e164(0xad)]();this[_0x21e164(0xdb)](_0xd0a996,_0x21e164(0xf9)+_0x257040,(_0x350fae,{session:_0x511e90})=>{const _0x3db318=_0x21e164;_0x511e90['id']===_0xd0a996[_0x3db318(0xbf)]&&(_0x350fae[_0x3db318(0xe1)](),this[_0x3db318(0xd6)][_0x3db318(0xfa)][_0x3db318(0xb4)](_0x3db318(0xeb))[_0x3db318(0xa7)](_0x511e90[_0x3db318(0xa2)],_0x257040));}),_0xd0a996[_0x21e164(0xe0)](_0x257040,_0xdd761);}}async[_0x118b6a(0xb0)](_0xd0d310){const _0xd6dc54=_0x118b6a;if(this[_0xd6dc54(0xde)][_0xd6dc54(0xb6)](_0xd0d310))throw new _0x406063(_0xd6dc54(0xda),null,{'channelId':_0xd0d310});const _0xfaf1de=this[_0xd6dc54(0xd6)][_0xd6dc54(0xfa)][_0xd6dc54(0xb4)](_0xd6dc54(0xc5)),_0x4aa14c=new s[(_0xd6dc54(0xa0))](_0xd0d310);this[_0xd6dc54(0xde)][_0xd6dc54(0xa5)](_0xd0d310,_0x4aa14c),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xa9),(_0x3b9c34,_0xca5543)=>{const _0x1506df=_0xd6dc54,{commentThreadId:_0x103583,documentId:_0x4f375a,context:_0x1761fa,attributes:_0x1356ea,resolvedAt:_0xc18dd0,resolvedBy:_0x26ec11,comments:_0x12cd22}=_0xca5543;_0xfaf1de[_0x1506df(0xc9)](_0x103583)||_0xfaf1de[_0x1506df(0xf5)]({'threadId':_0x103583,'channelId':_0x4f375a,'comments':_0x12cd22?_0x12cd22[_0x1506df(0xdc)](st):[],'context':_0x1761fa,'attributes':_0x1356ea,'resolvedAt':_0xc18dd0,'resolvedBy':_0x26ec11,'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xfd),(_0x13b4e7,{commentThreadId:_0x511ff0,documentId:_0x32359f,context:_0x3ce1d2,unlinkedAt:_0x371934,attributes:_0x3eb570})=>{const _0xa6b6d=_0xd6dc54;_0xfaf1de[_0xa6b6d(0xc9)](_0x511ff0)&&_0xfaf1de[_0xa6b6d(0xe7)]({'threadId':_0x511ff0,'channelId':_0x32359f,'context':_0x3ce1d2,'unlinkedAt':_0x371934,'attributes':_0x3eb570,'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xe8),(_0xd4e66c,{commentThreadId:_0x19f56c,resolvedBy:_0x34cd29,resolvedAt:_0x53e85e})=>{const _0x5c58dd=_0xd6dc54,_0x2d2089=_0xfaf1de[_0x5c58dd(0xc9)](_0x19f56c);_0x2d2089&&_0x2d2089[_0x5c58dd(0xc8)]({'resolvedBy':_0x34cd29,'resolvedAt':_0x53e85e,'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xed),(_0x5ef86e,{commentThreadId:_0x5120cf})=>{const _0x19d67c=_0xd6dc54,_0x57b1ca=_0xfaf1de[_0x19d67c(0xc9)](_0x5120cf);_0x57b1ca&&_0x57b1ca[_0x19d67c(0xec)]({'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xac),(_0x2b1b6e,{commentThreadId:_0x5d11b6})=>{const _0x57292f=_0xd6dc54,_0x4029d7=_0xfaf1de[_0x57292f(0xc9)](_0x5d11b6);_0x4029d7&&_0x4029d7[_0x57292f(0xa1)]({'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xd8),(_0x94bf72,_0x525c24)=>{const _0xc5e185=_0xd6dc54,_0x3e7862=_0x525c24[_0xc5e185(0xb8)],_0x196810=_0xfaf1de[_0xc5e185(0xc9)](_0x3e7862);_0x196810&&_0x196810[_0xc5e185(0xbe)]({...st(_0x525c24),'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xce),(_0xe0600d,{commentThreadId:_0x474ff7,commentId:_0x746075,content:_0x484d4e,attributes:_0x591d9c})=>{const _0x320fee=_0xd6dc54,_0x5d48a6=_0xfaf1de[_0x320fee(0xc9)](_0x474ff7);if(_0x5d48a6){const _0x42dcbe=_0x5d48a6[_0x320fee(0xd2)](_0x746075);_0x42dcbe&&_0x42dcbe[_0x320fee(0xd4)]({'content':_0x484d4e,'attributes':_0x591d9c,'isFromAdapter':!0x0});}}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xff),(_0x57d01a,{commentThreadId:_0x58f93a,commentId:_0x5c7901})=>{const _0x2d2305=_0xd6dc54,_0x5e6e27=_0xfaf1de[_0x2d2305(0xc9)](_0x58f93a);if(_0x5e6e27){const _0x2fa2ad=_0x5e6e27[_0x2d2305(0xd2)](_0x5c7901);_0x2fa2ad&&_0x2fa2ad[_0x2d2305(0xa1)]({'isFromAdapter':!0x0});}}),await this[_0xd6dc54(0xfb)](_0xd0d310);}[_0x118b6a(0xb9)](){const _0x1f03ea=_0x118b6a;if(this[_0x1f03ea(0xd6)]instanceof _0x21aa86){const _0x9845bb=this[_0x1f03ea(0xd6)][_0x1f03ea(0xa4)][_0x1f03ea(0xb4)](_0x1f03ea(0xd5));this[_0x1f03ea(0xc1)](_0x9845bb);}}[_0x118b6a(0xc1)](_0x3edc3a){const _0x5cf930=_0x118b6a;if(!this[_0x5cf930(0xde)][_0x5cf930(0xb6)](_0x3edc3a))throw new _0x406063(_0x5cf930(0xe4),null,{'channelId':_0x3edc3a});this[_0x5cf930(0xd0)](_0x3edc3a)[_0x5cf930(0xc6)](),this[_0x5cf930(0xde)][_0x5cf930(0x9e)](_0x3edc3a);}async[_0x118b6a(0xef)](){const _0x487bde=_0x118b6a;for(const _0x489826 of this[_0x487bde(0xde)][_0x487bde(0xc4)]())await this[_0x487bde(0xfb)](_0x489826);if(this[_0x487bde(0xd6)]instanceof _0x21aa86){const _0x34b887=this[_0x487bde(0xd6)][_0x487bde(0xa4)][_0x487bde(0xb4)](_0x487bde(0xd5)),_0x140e9a=this[_0x487bde(0xd6)][_0x487bde(0xfa)][_0x487bde(0xb4)](_0x5437b5);_0x140e9a[_0x487bde(0xf2)](_0x34b887);const _0x13efc3=await this[_0x487bde(0xde)][_0x487bde(0xb4)](_0x34b887)[_0x487bde(0xad)]();_0x140e9a[_0x487bde(0xe0)](_0x34b887,_0x13efc3);}}async[_0x118b6a(0xfb)](_0x9b11a0){const _0x4ef017=_0x118b6a,{connection:_0x5bc3be}=this[_0x4ef017(0xd6)][_0x4ef017(0xfa)][_0x4ef017(0xb4)](_0x39b1c2),_0x4921f1=this[_0x4ef017(0xd6)][_0x4ef017(0xfa)][_0x4ef017(0xb4)](_0x4ef017(0xc5)),_0x27b1bf=this[_0x4ef017(0xde)][_0x4ef017(0xb4)](_0x9b11a0),_0x113ce6=await _0x27b1bf[_0x4ef017(0xfc)](_0x5bc3be);await this[_0x4ef017(0x102)](_0x113ce6);const _0x1c3d22=new Set(Array[_0x4ef017(0xdf)](_0x4921f1[_0x4ef017(0xb7)]({'channelId':_0x9b11a0}),_0x5ce72c=>_0x5ce72c['id']));for(const _0x3aa94f of _0x113ce6)_0x3aa94f[_0x4ef017(0xa8)]||_0x1c3d22[_0x4ef017(0x9e)](_0x3aa94f[_0x4ef017(0xb8)]);for(const _0xb234a4 of _0x1c3d22)_0x4921f1[_0x4ef017(0xc9)](_0xb234a4)[_0x4ef017(0xa1)]({'isFromAdapter':!0x0});for(const _0x446869 of _0x113ce6){let _0x2aa376=_0x4921f1[_0x4ef017(0xc9)](_0x446869[_0x4ef017(0xb8)]);const {commentThreadId:_0x34be59,context:_0x1ac732,attributes:_0x1d7535,resolvedBy:_0x523986,resolvedAt:_0x39cd41,unlinkedAt:_0x5bece5,deletedAt:_0x16e0c5}=_0x446869;if(_0x16e0c5)continue;_0x2aa376||(_0x2aa376=_0x4921f1[_0x4ef017(0xf5)]({'channelId':_0x9b11a0,'threadId':_0x34be59,'context':_0x1ac732,'attributes':_0x1d7535||{},'resolvedBy':_0x523986,'resolvedAt':_0x39cd41,'unlinkedAt':_0x5bece5,'isFromAdapter':!0x0}));const _0x5c1314=new Set(Array[_0x4ef017(0xdf)](_0x2aa376[_0x4ef017(0xbd)],_0x311c59=>_0x311c59['id']));for(const _0x1ec717 of _0x446869[_0x4ef017(0xbd)])_0x5c1314[_0x4ef017(0x9e)](_0x1ec717[_0x4ef017(0xd1)]);for(const _0x3e2cb1 of _0x5c1314)_0x2aa376[_0x4ef017(0xd2)](_0x3e2cb1)[_0x4ef017(0xa1)]({'isFromAdapter':!0x0});for(const _0x143a55 of _0x446869[_0x4ef017(0xbd)]){const _0x2334df=_0x2aa376[_0x4ef017(0xd2)](_0x143a55[_0x4ef017(0xd1)]);_0x2334df?_0x2334df[_0x4ef017(0xcb)]!==_0x143a55[_0x4ef017(0xcb)]&&_0x2334df[_0x4ef017(0xd4)]({'content':_0x143a55[_0x4ef017(0xcb)],'isFromAdapter':!0x0}):_0x2aa376[_0x4ef017(0xbe)](Object[_0x4ef017(0xee)](st(_0x143a55),{'isFromAdapter':!0x0}));}}}[_0x118b6a(0xd0)](_0x4e5b8e){const _0x5791cd=_0x118b6a;if(!this[_0x5791cd(0xde)][_0x5791cd(0xb6)](_0x4e5b8e))throw new _0x406063(_0x5791cd(0xae),null,{'channelId':_0x4e5b8e});return this[_0x5791cd(0xde)][_0x5791cd(0xb4)](_0x4e5b8e);}async[_0x118b6a(0x102)](_0xefd83a){const _0x9166f=_0x118b6a,_0x4c21c2=this[_0x9166f(0xd6)][_0x9166f(0xfa)][_0x9166f(0xb4)](_0xb5f930),{connection:_0x563682}=this[_0x9166f(0xd6)][_0x9166f(0xfa)][_0x9166f(0xb4)](_0x39b1c2),_0xd5341=new Set();for(const {resolvedBy:_0x2f5219,comments:_0x42b855}of _0xefd83a){_0x2f5219&&!_0x4c21c2[_0x9166f(0xaa)](_0x2f5219)&&_0xd5341[_0x9166f(0xa3)](_0x2f5219);for(const {userId:_0x4d696f}of _0x42b855)_0x4c21c2[_0x9166f(0xaa)](_0x4d696f)||_0xd5341[_0x9166f(0xa3)](_0x4d696f);}if(0x0===_0xd5341[_0x9166f(0x100)])return;const _0x50dad7=await _0x584258[_0x9166f(0xb1)](_0x563682,Array[_0x9166f(0xdf)](_0xd5341));for(const _0xf4a923 of _0x50dad7)_0x4c21c2[_0x9166f(0xaa)](_0xf4a923['id'])||_0x4c21c2[_0x9166f(0xc0)](_0xf4a923);}}function _0x5d2c(_0xa254ea,_0x290160){const _0x555617=_0x5556();return _0x5d2c=function(_0x5d2cb8,_0x40dd60){_0x5d2cb8=_0x5d2cb8-0x9d;let _0x19899b=_0x555617[_0x5d2cb8];return _0x19899b;},_0x5d2c(_0xa254ea,_0x290160);}export{s as CloudServicesCommentsAdapter};async function ot(_0x46615a){const _0x558890=_0x118b6a;if(_0x558890(0xf0)!==_0x46615a[_0x558890(0xc7)])throw _0x46615a;}function nt(_0x38ca0b){const _0x3a8efe=_0x118b6a;if((_0x66aa15=_0x38ca0b)[_0x3a8efe(0xcd)][_0x3a8efe(0xc2)](_0x3a8efe(0xc3))||_0x66aa15[_0x3a8efe(0xcd)][_0x3a8efe(0xc2)](_0x3a8efe(0xe3))||_0x66aa15[_0x3a8efe(0xcd)][_0x3a8efe(0xc2)](_0x3a8efe(0xe2)))return new Promise(()=>{});var _0x66aa15;throw _0x38ca0b;}function st(_0x2c64bf){const _0x898dbb=_0x118b6a;return{'threadId':_0x2c64bf[_0x898dbb(0xb8)],'commentId':_0x2c64bf[_0x898dbb(0xd1)],'content':_0x2c64bf[_0x898dbb(0xcb)],'createdAt':_0x2c64bf[_0x898dbb(0xaf)],'authorId':_0x2c64bf[_0x898dbb(0xa6)],'attributes':_0x2c64bf[_0x898dbb(0xdd)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c755c=_0x29c5;(function(_0x45022c,_0x33616a){const _0x16b4fe=_0x29c5,_0x2dc57e=_0x45022c();while(!![]){try{const _0x19bc36=parseInt(_0x16b4fe(0x124))/0x1+parseInt(_0x16b4fe(0x135))/0x2+-parseInt(_0x16b4fe(0x11f))/0x3+parseInt(_0x16b4fe(0x120))/0x4+parseInt(_0x16b4fe(0x128))/0x5*(-parseInt(_0x16b4fe(0x123))/0x6)+parseInt(_0x16b4fe(0x122))/0x7+-parseInt(_0x16b4fe(0x11e))/0x8*(parseInt(_0x16b4fe(0x12c))/0x9);if(_0x19bc36===_0x33616a)break;else _0x2dc57e['push'](_0x2dc57e['shift']());}catch(_0x20a6aa){_0x2dc57e['push'](_0x2dc57e['shift']());}}}(_0x4c11,0xd044b));import{Plugin as _0x1f6850}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x580395}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x4c11(){const _0x338a40=['1558950YDTitq','get','isThreadsLoadingPaused','init','CommentsRepository','collaboration.channelId','RealTimeCollaborativeComments','pluginName','Comments','_terminateService','isPremiumPlugin','10237792YEEIzf','1451457NYsfCk','2246708OtGmJa','config','8332051xWZaqm','18rRqRfH','1578178kHmooM','listenTo','requires','ready','2488355SYukdH','isOfficialPlugin','connected','CommentsEditing','9uAYKgc','switchReadOnly','destroy','once','change:state','editor','_setUpService','data','plugins'];_0x4c11=function(){return _0x338a40;};return _0x4c11();}import{RealTimeCollaborativeEditing as _0x40887c}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x381b9a}from'./realtimecollaborativeediting/websocketgateway.js';function _0x29c5(_0x2d4faa,_0x4b420b){const _0x4c1101=_0x4c11();return _0x29c5=function(_0x29c5b7,_0x345012){_0x29c5b7=_0x29c5b7-0x117;let _0x4bb12a=_0x4c1101[_0x29c5b7];return _0x4bb12a;},_0x29c5(_0x2d4faa,_0x4b420b);}export class RealTimeCollaborativeComments extends _0x1f6850{static get[_0x1c755c(0x126)](){const _0x5cf981=_0x1c755c;return[_0x5cf981(0x11b),_0x580395,_0x40887c,_0x381b9a];}static get[_0x1c755c(0x11a)](){const _0x381d9f=_0x1c755c;return _0x381d9f(0x119);}static get[_0x1c755c(0x129)](){return!0x0;}static get[_0x1c755c(0x11d)](){return!0x0;}[_0x1c755c(0x138)](){const _0x483a65=_0x1c755c,_0x275e94=this[_0x483a65(0x131)][_0x483a65(0x134)][_0x483a65(0x136)](_0x381b9a),_0x56144f=this[_0x483a65(0x131)][_0x483a65(0x134)][_0x483a65(0x136)](_0x483a65(0x12b)),_0x3240e2=this[_0x483a65(0x131)][_0x483a65(0x134)][_0x483a65(0x136)](_0x580395);return this[_0x483a65(0x131)][_0x483a65(0x133)][_0x483a65(0x12f)](_0x483a65(0x127),()=>{const _0x3648e2=_0x483a65;this[_0x3648e2(0x125)](_0x275e94,_0x3648e2(0x130),(_0xbc997,_0x11881a,_0x376aaf)=>{const _0x5f1be4=_0x3648e2;_0x56144f[_0x5f1be4(0x137)]=_0x5f1be4(0x12a)!==_0x376aaf;});}),this[_0x483a65(0x125)](_0x275e94,_0x483a65(0x130),(_0x312787,_0x581916,_0x740fcd)=>{const _0x4d029d=_0x483a65;this[_0x4d029d(0x131)][_0x4d029d(0x134)][_0x4d029d(0x136)](_0x4d029d(0x117))[_0x4d029d(0x12d)](_0x4d029d(0x12a)!==_0x740fcd);}),_0x3240e2[_0x483a65(0x132)](this[_0x483a65(0x131)][_0x483a65(0x121)][_0x483a65(0x136)](_0x483a65(0x118)));}[_0x1c755c(0x12e)](){const _0x3ab33e=_0x1c755c;this[_0x3ab33e(0x131)][_0x3ab33e(0x134)][_0x3ab33e(0x136)](_0x580395)[_0x3ab33e(0x11c)](this[_0x3ab33e(0x131)][_0x3ab33e(0x121)][_0x3ab33e(0x136)](_0x3ab33e(0x118))),super[_0x3ab33e(0x12e)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x555c02)());[_0x415db6(0x190)];[_0x415db6(0x1b8)];[_0x415db6(0x15a)];[_0x415db6(0x1ee)];[_0x415db6(0x18f)];[_0x415db6(0x24c)];[_0x415db6(0x1ce)];[_0x415db6(0x241)];[_0x415db6(0x16a)];[_0x415db6(0x1e0)];[_0x415db6(0x17a)];[_0x415db6(0x151)];[_0x415db6(0x19f)];[_0x415db6(0x17b)];[_0x415db6(0x1b3)];[_0x415db6(0x16f)];[_0x415db6(0x1bf)];[_0x415db6(0x24a)];static get[_0x415db6(0x1d9)](){return[_0x1b5284,_0x48e3ec,_0x1aac3d,_0x4ab8b6,_0xe2c763,_0x25600e];}static get[_0x415db6(0x15e)](){const _0x9c7c5c=_0x415db6;return _0x9c7c5c(0x176);}static get[_0x415db6(0x1d4)](){return!0x0;}static get[_0x415db6(0x24d)](){return!0x0;}get[_0x415db6(0x19d)](){const _0x3f49da=_0x415db6;return this[_0x3f49da(0x186)]+this[_0x3f49da(0x190)];}get[_0x415db6(0x186)](){const _0x5ed2df=_0x415db6;return this[_0x5ed2df(0x15a)][_0x5ed2df(0x240)]-this[_0x5ed2df(0x190)];}get[_0x415db6(0x22f)](){const _0x25fb30=_0x415db6,_0x5b205f=this[_0x25fb30(0x15a)][_0x25fb30(0x156)]();for(let _0x4bc4c2=_0x5b205f[_0x25fb30(0x1b4)]-0x1;_0x4bc4c2>=0x0;_0x4bc4c2--){const _0x6599be=_0x5b205f[_0x4bc4c2];if(!this[_0x25fb30(0x1bf)][_0x25fb30(0x155)](_0x6599be))return _0x6599be[_0x25fb30(0x1fc)]+0x1-this[_0x25fb30(0x190)];}return 0x0;}constructor(_0x117720){const _0x56a2a2=_0x415db6;if(super(_0x117720),this[_0x56a2a2(0x190)]=0x0,this[_0x56a2a2(0x1b8)]=null,this[_0x56a2a2(0x15a)]=new _0x37ba2d(),this[_0x56a2a2(0x154)][_0x56a2a2(0x219)][_0x56a2a2(0x1db)](_0x56a2a2(0x15d),{}),this[_0x56a2a2(0x1ee)]=this[_0x56a2a2(0x154)][_0x56a2a2(0x219)][_0x56a2a2(0x18c)](_0x56a2a2(0x1bb)),!this[_0x56a2a2(0x1ee)])throw new _0x1de61a(_0x56a2a2(0x1e6),this);const _0x5324d7=_0x117720[_0x56a2a2(0x219)][_0x56a2a2(0x18c)](_0x56a2a2(0x209))||_0xb4be9;this[_0x56a2a2(0x18f)]=new l[(_0x56a2a2(0x164))](_0x5324d7,this[_0x56a2a2(0x1ee)]),this[_0x56a2a2(0x24c)]=this[_0x56a2a2(0x154)][_0x56a2a2(0x180)][_0x56a2a2(0x1e8)],this[_0x56a2a2(0x1ce)]=new _0xf2a304(),this[_0x56a2a2(0x241)]=[],this[_0x56a2a2(0x16a)]=new WeakSet(),this[_0x56a2a2(0x1e0)]=new Set(),this[_0x56a2a2(0x214)](_0x56a2a2(0x1a4),!0x1),this[_0x56a2a2(0x214)](_0x56a2a2(0x238),!0x1),this[_0x56a2a2(0x17a)]=null,this[_0x56a2a2(0x151)]=!0x1,this[_0x56a2a2(0x19f)]=null,this[_0x56a2a2(0x17b)]=0x12c,this[_0x56a2a2(0x1b3)]=this[_0x56a2a2(0x17b)],this[_0x56a2a2(0x16f)]=null,this[_0x56a2a2(0x1bf)]=new WeakSet(),this[_0x56a2a2(0x24a)]=new Z(this[_0x56a2a2(0x1bf)]);}[_0x415db6(0x150)](){const _0x1ab8ab=_0x415db6,_0x58638e=this[_0x1ab8ab(0x154)],_0x5200cb=_0x58638e[_0x1ab8ab(0x242)][_0x1ab8ab(0x18c)](_0xe2c763),_0x57c122=_0x58638e[_0x1ab8ab(0x242)][_0x1ab8ab(0x18c)](_0x1b5284);this[_0x1ab8ab(0x1c8)](_0x5200cb,_0x1ab8ab(0x243),(_0xf9d08b,_0x5a6c13)=>{const _0x42b7ca=_0x1ab8ab,_0x134960=_0x5a6c13[0x0];_0x134960[_0x42b7ca(0x1a6)]&&(_0xf9d08b[_0x42b7ca(0x1a3)]=_0x5200cb[_0x42b7ca(0x1dd)](_0x134960[_0x42b7ca(0x1a6)]),_0xf9d08b[_0x42b7ca(0x14e)]()),null===_0x134960[_0x42b7ca(0x1a6)]&&(_0xf9d08b[_0x42b7ca(0x1a3)]=null,_0xf9d08b[_0x42b7ca(0x14e)]());},{'priority':_0x1ab8ab(0x1fe)}),this[_0x1ab8ab(0x1c8)](_0x58638e[_0x1ab8ab(0x180)][_0x1ab8ab(0x1e8)][_0x1ab8ab(0x196)],_0x1ab8ab(0x251),(_0x36c6b6,_0x1703fd)=>{const _0x493601=_0x1ab8ab;_0x1703fd[_0x493601(0x1e2)]&&this[_0x493601(0x197)]();}),this[_0x1ab8ab(0x1c8)](_0x58638e[_0x1ab8ab(0x222)][_0x1ab8ab(0x201)],_0x1ab8ab(0x1b1),()=>{const _0x39c620=_0x1ab8ab;this[_0x39c620(0x197)]();}),this[_0x1ab8ab(0x252)](),_0x58638e[_0x1ab8ab(0x180)]['on'](_0x1ab8ab(0x1e1),(_0x4a9a3d,_0x446604)=>{const _0x5e6207=_0x1ab8ab,_0xe2f9ca=_0x446604[0x0];_0xe2f9ca[_0x5e6207(0x1d2)]&&(this[_0x5e6207(0x228)](_0xe2f9ca),this[_0x5e6207(0x157)]()&&this[_0x5e6207(0x1a1)]());}),this[_0x1ab8ab(0x1f4)](),this[_0x1ab8ab(0x229)](_0x1ab8ab(0x1d1))['to'](_0x57c122,_0x1ab8ab(0x21b),this,_0x1ab8ab(0x238),(_0x54bf54,_0x1d1247)=>_0x1ab8ab(0x17e)===_0x54bf54&&!_0x1d1247),this['on'](_0x1ab8ab(0x246),()=>{const _0x540139=_0x1ab8ab;this[_0x540139(0x1d1)]?_0x58638e[_0x540139(0x21a)](_0x540139(0x191)):_0x58638e[_0x540139(0x1a7)](_0x540139(0x191));}),this[_0x1ab8ab(0x1d1)]?_0x58638e[_0x1ab8ab(0x21a)](_0x1ab8ab(0x191)):_0x58638e[_0x1ab8ab(0x1a7)](_0x1ab8ab(0x191)),this[_0x1ab8ab(0x214)](_0x1ab8ab(0x1cf),!0x1);}async[_0x415db6(0x1de)](){const _0x6cd860=_0x415db6,_0xb35da4=this[_0x6cd860(0x154)][_0x6cd860(0x242)][_0x6cd860(0x18c)](_0x48e3ec),_0x1ea8e9=this[_0x6cd860(0x154)][_0x6cd860(0x242)][_0x6cd860(0x18c)](_0x1b5284);try{this[_0x6cd860(0x1a4)]=!0x0,_0xb35da4[_0x6cd860(0x1ad)](this[_0x6cd860(0x1ee)]);const _0x23d599=await this[_0x6cd860(0x18f)][_0x6cd860(0x1de)](_0x1ea8e9[_0x6cd860(0x1fa)],this[_0x6cd860(0x22f)]);await this[_0x6cd860(0x250)](_0x23d599)&&(this[_0x6cd860(0x1a4)]=!0x1,this[_0x6cd860(0x205)]());const _0x5d804f=await this[_0x6cd860(0x18f)][_0x6cd860(0x1be)]();_0xb35da4[_0x6cd860(0x17d)](this[_0x6cd860(0x1ee)],_0x5d804f),this[_0x6cd860(0x166)](),this[_0x6cd860(0x1cf)]=!0x0;}catch(_0xe21ec7){if(function(_0x35ce01){const _0x59fb88=_0x6cd860;return _0x59fb88(0x204)===_0x35ce01[_0x59fb88(0x247)];}(_0xe21ec7)&&this[_0x6cd860(0x1b8)])await this[_0x6cd860(0x152)]();else{if(function(_0x37409c){const _0x67a2df=_0x6cd860;return _0x67a2df(0x200)===_0x37409c[_0x67a2df(0x247)];}(_0xe21ec7)){const _0x266607=_0x360a9e(this[_0x6cd860(0x154)][_0x6cd860(0x230)],_0x6cd860(0x235));this[_0x6cd860(0x1c4)](_0x266607);}else{if(!(_0xe21ec7 instanceof X))throw _0xe21ec7;this[_0x6cd860(0x1c4)]();}}}}[_0x415db6(0x217)](){const _0x3f3dc1=_0x415db6,_0x3d9169=this[_0x3f3dc1(0x154)][_0x3f3dc1(0x242)][_0x3f3dc1(0x18c)](_0x1b5284),_0x36dddc=this[_0x3f3dc1(0x154)][_0x3f3dc1(0x242)][_0x3f3dc1(0x18c)](_0x48e3ec);this[_0x3f3dc1(0x154)][_0x3f3dc1(0x1a7)](_0x3f3dc1(0x249)),_0x36dddc[_0x3f3dc1(0x21d)][_0x3f3dc1(0x155)](this[_0x3f3dc1(0x1ee)])&&_0x36dddc[_0x3f3dc1(0x1ad)](this[_0x3f3dc1(0x1ee)]),_0x3d9169[_0x3f3dc1(0x1c2)](this),this[_0x3f3dc1(0x1c9)](),super[_0x3f3dc1(0x217)]();}async[_0x415db6(0x250)](_0x371c2c){const _0x516dc5=_0x415db6;if(this[_0x516dc5(0x1b8)]!==_0x371c2c[_0x516dc5(0x1b8)]&&this[_0x516dc5(0x16f)]!==_0x371c2c[_0x516dc5(0x158)])throw new X();return this[_0x516dc5(0x1b8)]=_0x371c2c[_0x516dc5(0x1b8)],this[_0x516dc5(0x1aa)]([],{..._0x371c2c,'wereChangesApplied':!0x1,'data':_0x371c2c[_0x516dc5(0x1ed)]},_0x516dc5(0x1de));}async[_0x415db6(0x1df)](_0x917dd8,_0x82972a=!0x1){const _0x502eac=_0x415db6,{connection:_0x817962}=this[_0x502eac(0x154)][_0x502eac(0x242)][_0x502eac(0x18c)](_0x1b5284);l[_0x502eac(0x164)][_0x502eac(0x1be)](_0x817962,this[_0x502eac(0x1ee)])[_0x502eac(0x170)](_0xf74184=>this[_0x502eac(0x20c)](_0xf74184))[_0x502eac(0x220)](_0x13cd35=>{const _0x45b25f=_0x502eac;this[_0x45b25f(0x212)](_0x45b25f(0x1ea),_0x13cd35);}),this[_0x502eac(0x1c8)](this[_0x502eac(0x18f)],_0x502eac(0x159),this[_0x502eac(0x233)][_0x502eac(0x229)](this)),this[_0x502eac(0x1c8)](this[_0x502eac(0x18f)],_0x502eac(0x175),(_0x4f0e28,_0x105fc9)=>{const _0x56f713=_0x502eac;this[_0x56f713(0x212)](_0x56f713(0x23f),_0x105fc9);}),this[_0x502eac(0x1c8)](this[_0x502eac(0x18f)],_0x502eac(0x24e),()=>{const _0x377db0=_0x502eac;this[_0x377db0(0x1cf)]=!0x1;});const _0x19c12f=this[_0x502eac(0x24a)][_0x502eac(0x18a)](_0x917dd8);this[_0x502eac(0x1a4)]=!0x0;const _0x5d7f35=await this[_0x502eac(0x18f)][_0x502eac(0x1f3)](_0x817962,this[_0x502eac(0x1f8)](_0x917dd8),_0x19c12f);if(this[_0x502eac(0x1b8)]=_0x5d7f35[_0x502eac(0x1b8)],_0x82972a){if(!_0x5d7f35[_0x502eac(0x169)])return void this[_0x502eac(0x1c4)]();this[_0x502eac(0x1a4)]=!0x1,this[_0x502eac(0x205)](),this[_0x502eac(0x15a)][_0x502eac(0x1f6)](),this[_0x502eac(0x190)]=_0x5d7f35[_0x502eac(0x239)],this[_0x502eac(0x15a)][_0x502eac(0x240)]=this[_0x502eac(0x190)],await this[_0x502eac(0x1aa)](_0x917dd8,_0x5d7f35,_0x502eac(0x183));}else await this[_0x502eac(0x16d)](_0x5d7f35,_0x917dd8);this[_0x502eac(0x166)](),this[_0x502eac(0x1cf)]=!0x0;}[_0x415db6(0x166)](){const _0x371437=_0x415db6,_0x3e9e6f=this[_0x371437(0x154)][_0x371437(0x242)][_0x371437(0x18c)](_0x48e3ec),_0x5cf6ef=this[_0x371437(0x154)][_0x371437(0x242)][_0x371437(0x18c)](_0x1aac3d),_0x435c8c=_0x3e9e6f[_0x371437(0x21d)][_0x371437(0x18c)](this[_0x371437(0x1ee)]);_0x435c8c&&_0x435c8c[_0x371437(0x1b4)]>0x1?_0x5cf6ef[_0x371437(0x1fd)]():this[_0x371437(0x1c8)](_0x3e9e6f,_0x371437(0x198)+this[_0x371437(0x1ee)],()=>{const _0x2a7a31=_0x371437;0x2===_0x3e9e6f[_0x2a7a31(0x21d)][_0x2a7a31(0x18c)](this[_0x2a7a31(0x1ee)])[_0x2a7a31(0x1b4)]&&_0x5cf6ef[_0x2a7a31(0x1fd)]();});}async[_0x415db6(0x233)](_0x3ba97f,_0x49de66,_0x44352c,_0x2a02dc){const _0x530515=_0x415db6;if(!this[_0x530515(0x1a4)]&&this[_0x530515(0x24c)][_0x530515(0x240)]==_0x49de66){const _0x4c73bc=this[_0x530515(0x16c)](_0x44352c,_0x2a02dc);await this[_0x530515(0x187)](_0x4c73bc),this[_0x530515(0x210)](_0x4c73bc,_0x49de66,_0x44352c[_0x530515(0x158)])||this[_0x530515(0x212)](_0x530515(0x1a0));}}async[_0x415db6(0x152)](){const _0x27f8d8=_0x415db6;this[_0x27f8d8(0x1c9)]();const {locale:_0x3bc02e}=this[_0x27f8d8(0x154)];let _0x92ced9;try{_0x92ced9=await this[_0x27f8d8(0x18f)][_0x27f8d8(0x231)]();}catch{const _0x2aa897=_0x360a9e(_0x3bc02e,_0x27f8d8(0x15b));return void this[_0x27f8d8(0x1c4)](_0x2aa897);}const _0x134436=_0x92ced9[_0x27f8d8(0x1c0)]||_0x92ced9[_0x27f8d8(0x206)];if(this[_0x27f8d8(0x16f)]!==_0x134436[_0x27f8d8(0x158)]){const _0x5829aa=_0x360a9e(_0x3bc02e,_0x27f8d8(0x19a));return void this[_0x27f8d8(0x1c4)](_0x5829aa);}await this[_0x27f8d8(0x1df)](this[_0x27f8d8(0x154)][_0x27f8d8(0x180)][_0x27f8d8(0x1e8)][_0x27f8d8(0x1b5)][_0x27f8d8(0x156)](),!0x0);}[_0x415db6(0x1c9)](){const _0x178825=_0x415db6;this[_0x178825(0x18f)][_0x178825(0x22d)](),this[_0x178825(0x241)]=[],clearTimeout(this[_0x178825(0x19f)]),this[_0x178825(0x15f)](this[_0x178825(0x18f)]);}[_0x415db6(0x20c)](_0x506234){const _0x30ae6a=_0x415db6,_0x49f22e=this[_0x30ae6a(0x154)][_0x30ae6a(0x242)][_0x30ae6a(0x18c)](_0x48e3ec);this[_0x30ae6a(0x1c8)](_0x49f22e,_0x30ae6a(0x198)+this[_0x30ae6a(0x1ee)],(_0x49ad97,{session:_0x104f7d})=>{const _0x45f418=_0x30ae6a;if(_0x104f7d['id']===_0x49f22e[_0x45f418(0x22a)]){_0x49ad97[_0x45f418(0x1f0)]();const _0x324b3c=this[_0x45f418(0x154)][_0x45f418(0x242)][_0x45f418(0x155)](_0x45f418(0x236))&&this[_0x45f418(0x154)][_0x45f418(0x242)][_0x45f418(0x18c)](_0x45f418(0x236));let _0x446c49=_0x104f7d[_0x45f418(0x1b0)];_0x324b3c&&_0x324b3c[_0x45f418(0x1e9)]&&(_0x446c49=_0x446c49[_0x45f418(0x173)](_0x1951e2=>_0x45f418(0x208)!==_0x1951e2)),this[_0x45f418(0x154)][_0x45f418(0x242)][_0x45f418(0x18c)](_0x45f418(0x1b2))[_0x45f418(0x21e)](_0x446c49,this[_0x45f418(0x1ee)]);}}),_0x49f22e[_0x30ae6a(0x17d)](this[_0x30ae6a(0x1ee)],_0x506234);}[_0x415db6(0x252)](){const _0x4fb60a=_0x415db6,_0x42b2d=this[_0x4fb60a(0x154)][_0x4fb60a(0x1ed)][_0x4fb60a(0x214)];this[_0x4fb60a(0x154)][_0x4fb60a(0x1ed)][_0x4fb60a(0x214)]=(..._0x122535)=>{const _0x40a4d4=_0x4fb60a;if(!_0x122535[_0x122535[_0x40a4d4(0x1b4)]-0x1][_0x40a4d4(0x20f)])throw new _0x1de61a(_0x40a4d4(0x1fb),this);_0x42b2d[_0x40a4d4(0x16e)](this[_0x40a4d4(0x154)][_0x40a4d4(0x1ed)],_0x122535);};}[_0x415db6(0x1f4)](){const _0x46cf7e=_0x415db6;this[_0x46cf7e(0x154)][_0x46cf7e(0x1ed)]['on'](_0x46cf7e(0x150),(_0x318d76,[_0x305f63])=>{const _0x41ee14=_0x46cf7e;if(this[_0x41ee14(0x24c)][_0x41ee14(0x240)])throw new _0x1de61a(_0x41ee14(0x20a),this);_0x318d76[_0x41ee14(0x14e)](),this[_0x41ee14(0x18d)]();const _0x292c8c=this[_0x41ee14(0x154)][_0x41ee14(0x219)][_0x41ee14(0x18c)](_0x41ee14(0x226)),_0x20d377=this[_0x41ee14(0x1cd)](_0x305f63,_0x292c8c);0x0==_0x20d377[_0x41ee14(0x1b4)]&&_0x20d377[_0x41ee14(0x1ec)](new _0x3daa21(0x0)),_0x318d76[_0x41ee14(0x1a3)]=this[_0x41ee14(0x1df)](_0x20d377)[_0x41ee14(0x170)](()=>{const _0x2ea092=_0x41ee14;this[_0x2ea092(0x154)][_0x2ea092(0x242)][_0x2ea092(0x18c)](_0x1b5284)[_0x2ea092(0x16b)](this),this[_0x2ea092(0x154)][_0x2ea092(0x1ed)][_0x2ea092(0x165)](_0x2ea092(0x1f9));})[_0x41ee14(0x220)](_0x2af240=>this[_0x41ee14(0x212)](_0x41ee14(0x1ca),_0x2af240))[_0x41ee14(0x179)](()=>this[_0x41ee14(0x205)]());},{'priority':_0x46cf7e(0x1fe)}),this[_0x46cf7e(0x154)]['on'](_0x46cf7e(0x1a9),async(_0xe4fe70,[_0x506a1e,_0x46b752])=>{const _0x28e1fd=_0x46cf7e;_0xe4fe70[_0x28e1fd(0x14e)]();const _0x11f65b=this[_0x28e1fd(0x154)][_0x28e1fd(0x180)][_0x28e1fd(0x1e8)][_0x28e1fd(0x234)](_0x506a1e);if(!this[_0x28e1fd(0x1e0)][_0x28e1fd(0x155)](_0x506a1e)){const _0x449d62=_0x46b752&&_0x46b752[_0x28e1fd(0x1ed)]?_0x46b752[_0x28e1fd(0x1ed)]:'',_0x39933f=_0x46b752&&_0x46b752[_0x28e1fd(0x21c)]?_0x46b752[_0x28e1fd(0x21c)]:{};await this[_0x28e1fd(0x221)](_0x506a1e,_0x449d62,_0x39933f);}this[_0x28e1fd(0x154)][_0x28e1fd(0x180)][_0x28e1fd(0x1ab)]({'isUndoable':!0x1},()=>{const _0x4e5a0c=_0x28e1fd;_0x11f65b[_0x4e5a0c(0x194)]=!0x0,this[_0x4e5a0c(0x154)][_0x4e5a0c(0x180)][_0x4e5a0c(0x1e8)][_0x4e5a0c(0x21f)][_0x4e5a0c(0x1d6)](_0x11f65b);});},{'priority':_0x46cf7e(0x1fe)});}async[_0x415db6(0x187)](_0x451d82){const _0x1f10ec=_0x415db6,_0x2283b0=this[_0x1f10ec(0x154)][_0x1f10ec(0x242)][_0x1f10ec(0x18c)](_0xe2c763),{connection:_0x2a0331}=this[_0x1f10ec(0x154)][_0x1f10ec(0x242)][_0x1f10ec(0x18c)](_0x1b5284),_0x3fc6eb=new Set();for(const _0x5c56ed of _0x451d82){const _0x10d1df=_0x5c56ed[_0x1f10ec(0x1a6)];_0x10d1df&&!_0x2283b0[_0x1f10ec(0x1dd)](_0x10d1df)&&_0x3fc6eb[_0x1f10ec(0x1ff)](_0x10d1df);}if(0x0===_0x3fc6eb[_0x1f10ec(0x167)])return;const _0x567766=await _0x2f2b0b[_0x1f10ec(0x192)](_0x2a0331,Array[_0x1f10ec(0x1e4)](_0x3fc6eb));for(const _0x124380 of _0x567766)_0x2283b0[_0x1f10ec(0x1dd)](_0x124380['id'])||_0x2283b0[_0x1f10ec(0x248)](_0x124380);}[_0x415db6(0x1cd)](_0x47bb1f,_0x46ede2={}){const _0xb51d8d=_0x415db6,_0x2cd9e4=this[_0xb51d8d(0x154)][_0xb51d8d(0x180)],_0x1b8ff1=[];let _0x2fde61=0x0;const _0x59f5b3=_0xb51d8d(0x1a2)==typeof _0x47bb1f?{'main':_0x47bb1f}:_0x47bb1f;for(const _0x402f3a of Object[_0xb51d8d(0x1ae)](_0x59f5b3)){if(!this[_0xb51d8d(0x24c)][_0xb51d8d(0x1f2)][_0xb51d8d(0x155)](_0x402f3a))throw new _0x1de61a(_0xb51d8d(0x193),this);const _0x4c751a=this[_0xb51d8d(0x154)][_0xb51d8d(0x1ed)][_0xb51d8d(0x1d0)](_0x59f5b3[_0x402f3a]),_0x142e0d=this[_0xb51d8d(0x24c)][_0xb51d8d(0x234)](_0x402f3a),_0x3b6d68=new _0x4f2b26(_0x2cd9e4[_0xb51d8d(0x1ba)](_0x142e0d,0x0),_0x4c751a,_0x2fde61++);_0x1b8ff1[_0xb51d8d(0x1ec)](_0x3b6d68);for(const [_0x1dfc55,_0x30ad51]of _0x4c751a[_0xb51d8d(0x1af)]){const _0x11957a=_0x2cd9e4[_0xb51d8d(0x171)](_0x2cd9e4[_0xb51d8d(0x19c)](_0x142e0d,_0x30ad51[_0xb51d8d(0x160)][_0xb51d8d(0x244)][_0xb51d8d(0x1f7)]()),_0x2cd9e4[_0xb51d8d(0x19c)](_0x142e0d,_0x30ad51[_0xb51d8d(0x181)][_0xb51d8d(0x244)][_0xb51d8d(0x1f7)]())),_0x2b8b99=new _0x4b7ccf(_0x1dfc55,null,_0x11957a,_0x2cd9e4[_0xb51d8d(0x1af)],!0x0,_0x2fde61++);_0x1b8ff1[_0xb51d8d(0x1ec)](_0x2b8b99);}}if(_0x46ede2)for(const [_0x1c9ef2,_0x22665b]of Object[_0xb51d8d(0x218)](_0x46ede2)){const _0x3dc0b0=_0x2cd9e4[_0xb51d8d(0x1e8)][_0xb51d8d(0x234)](_0x1c9ef2);if(!_0x3dc0b0)throw new _0x1de61a(_0xb51d8d(0x1bd),null);for(const [_0x5d17ab,_0x359b61]of Object[_0xb51d8d(0x218)](_0x22665b))if(null!==_0x359b61){const _0x2545c0=new _0x138385(_0x3dc0b0,_0x5d17ab,null,_0x359b61,_0x2fde61++);_0x1b8ff1[_0xb51d8d(0x1ec)](_0x2545c0);}}return _0x1b8ff1;}async[_0x415db6(0x221)](_0x53b1e8,_0x310788,_0x2e335c){const _0x2f2b87=_0x415db6;this[_0x2f2b87(0x1cd)]({[_0x53b1e8]:_0x310788},{[_0x53b1e8]:_0x2e335c})[_0x2f2b87(0x182)]((_0x44098d,_0x1d5083)=>{const _0x48af77=_0x2f2b87;_0x44098d[_0x48af77(0x1fc)]=this[_0x48af77(0x24c)][_0x48af77(0x240)]+_0x1d5083,_0x44098d[_0x48af77(0x211)]=!0x0,this[_0x48af77(0x228)](_0x44098d);}),this[_0x2f2b87(0x1a1)](),await this[_0x2f2b87(0x172)]();}async[_0x415db6(0x16d)](_0x596318,_0x5bb876){const _0x120f96=_0x415db6;let _0x2810be;this[_0x120f96(0x190)]=_0x596318[_0x120f96(0x239)];const _0x4fa74f=_0x596318[_0x120f96(0x169)]&&!_0x596318[_0x120f96(0x23c)],_0xc36e6f=_0x4fa74f?0x0:_0x596318[_0x120f96(0x1ed)][_0x120f96(0x1fc)];if(_0x5bb876[_0x120f96(0x182)](_0x10da25=>{const _0x39aff5=_0x120f96;_0x10da25[_0x39aff5(0x211)]=!0x0,_0x10da25[_0x39aff5(0x22e)]=_0x596318[_0x39aff5(0x1a5)],_0x10da25[_0x39aff5(0x1a6)]=null;}),_0x4fa74f)_0x2810be=_0x5bb876,this[_0x120f96(0x177)](_0x2810be,_0x4fa74f);else{if(_0x596318[_0x120f96(0x23c)]){const _0x886a00=this[_0x120f96(0x1cd)](_0x596318[_0x120f96(0x23c)]);this[_0x120f96(0x24c)][_0x120f96(0x1b5)][_0x120f96(0x240)]=-_0x886a00[_0x120f96(0x1b4)],_0x886a00[_0x120f96(0x182)](_0xc7397a=>{const _0xb08270=_0x120f96;_0xc7397a[_0xb08270(0x1fc)]-=_0x886a00[_0xb08270(0x1b4)],_0xc7397a[_0xb08270(0x22e)]=_0x596318[_0xb08270(0x1a5)],_0xc7397a[_0xb08270(0x211)]=!0x0,_0xc7397a[_0xb08270(0x1a6)]=null;}),this[_0x120f96(0x177)](_0x886a00,!0x0),this[_0x120f96(0x15a)][_0x120f96(0x240)]=-_0x886a00[_0x120f96(0x1b4)]+this[_0x120f96(0x190)],this[_0x120f96(0x203)](_0x886a00);}this[_0x120f96(0x24c)][_0x120f96(0x1b5)][_0x120f96(0x240)]=_0xc36e6f,_0x2810be=this[_0x120f96(0x16c)](_0x596318[_0x120f96(0x1ed)],_0x596318[_0x120f96(0x1d8)]),await this[_0x120f96(0x187)](_0x2810be),this[_0x120f96(0x177)](_0x2810be,_0x4fa74f);}_0x596318[_0x120f96(0x158)]&&(this[_0x120f96(0x24a)][_0x120f96(0x237)](_0x2810be,_0x596318[_0x120f96(0x158)]),this[_0x120f96(0x16f)]=_0x596318[_0x120f96(0x158)]),this[_0x120f96(0x15a)][_0x120f96(0x240)]=_0xc36e6f+this[_0x120f96(0x190)],this[_0x120f96(0x203)](_0x2810be),_0x5bb876[_0x120f96(0x173)](_0x53a8bc=>{const _0x2d1069=_0x120f96,_0x87d66a=this[_0x2d1069(0x1f1)](_0x53a8bc);return _0x87d66a&&!this[_0x2d1069(0x1e0)][_0x2d1069(0x155)](_0x87d66a);})[_0x120f96(0x182)]((_0x1b47ef,_0x45f6b8)=>{const _0x8e107b=_0x120f96;_0x1b47ef[_0x8e107b(0x1fc)]=this[_0x8e107b(0x24c)][_0x8e107b(0x240)]+_0x45f6b8,this[_0x8e107b(0x228)](_0x1b47ef);}),this[_0x120f96(0x157)]()?(this[_0x120f96(0x1b3)]=0x0,this[_0x120f96(0x1a1)](!0x0),await this[_0x120f96(0x172)]()):(this[_0x120f96(0x1a4)]=!0x1,this[_0x120f96(0x205)]());}[_0x415db6(0x212)](_0x4e31eb,_0x2fbab1){const _0x4e1179=_0x415db6,_0x172685=_0x2fbab1&&_0x2fbab1[_0x4e1179(0x174)];if(_0x172685&&_0x172685[_0x4e1179(0x168)](_0x4e1179(0x1bc)))throw _0x2fbab1;const _0x3522a5=this[_0x4e1179(0x154)][_0x4e1179(0x242)][_0x4e1179(0x18c)](_0x1b5284);throw this[_0x4e1179(0x1a4)]=!0x0,_0x3522a5[_0x4e1179(0x22d)](),this[_0x4e1179(0x154)][_0x4e1179(0x1a7)](_0x4e1179(0x1c6)),new _0x1de61a(_0x4e31eb,this[_0x4e1179(0x154)],_0x172685?{'originalError':_0x172685}:void 0x0);}[_0x415db6(0x228)](_0x332c40){const _0x11fbc6=_0x415db6;this[_0x11fbc6(0x16a)][_0x11fbc6(0x155)](_0x332c40)||(this[_0x11fbc6(0x16a)][_0x11fbc6(0x1ff)](_0x332c40),this[_0x11fbc6(0x241)][_0x11fbc6(0x1ec)](_0x332c40),this[_0x11fbc6(0x17a)]||_0x11fbc6(0x1c3)==_0x332c40[_0x11fbc6(0x225)]&&!_0x332c40[_0x11fbc6(0x161)]||this[_0x11fbc6(0x18d)]());}[_0x415db6(0x1a1)](_0x22660d=!0x1){const _0x394896=_0x415db6;!_0x22660d&&this[_0x394896(0x1a4)]||(this[_0x394896(0x1a4)]=!0x0,clearTimeout(this[_0x394896(0x19f)]),this[_0x394896(0x19f)]=setTimeout(()=>{const _0x230230=_0x394896;this[_0x230230(0x1b6)]()[_0x230230(0x170)](_0x15c000=>{const _0x434a03=_0x230230;_0x15c000&&(this[_0x434a03(0x205)](),this[_0x434a03(0x1a4)]=!0x1);})[_0x230230(0x220)](_0x3bb9e3=>{const _0x2dd081=_0x230230;this[_0x2dd081(0x205)](),this[_0x2dd081(0x1a4)]=!0x1,function(_0x2698fe){const _0x3c854e=_0x2dd081;return _0x2698fe[_0x3c854e(0x174)][_0x3c854e(0x168)](_0x3c854e(0x1eb))||_0x2698fe[_0x3c854e(0x174)][_0x3c854e(0x168)](_0x3c854e(0x1dc))||_0x2698fe[_0x3c854e(0x174)][_0x3c854e(0x168)](_0x3c854e(0x1c5));}(_0x3bb9e3)||this[_0x2dd081(0x212)](_0x3bb9e3[_0x2dd081(0x174)],_0x3bb9e3);});},this[_0x394896(0x1b3)]));}[_0x415db6(0x172)](){return new Promise(_0x31986f=>{const _0x2cbb88=_0x5c3b;this['on'](_0x2cbb88(0x22c),()=>{_0x31986f();});});}async[_0x415db6(0x1b6)](){const _0x1d3f66=_0x415db6,_0x335318=this[_0x1d3f66(0x154)][_0x1d3f66(0x242)][_0x1d3f66(0x18c)](_0x1aac3d);if(this[_0x1d3f66(0x20d)]()&&(_0x335318[_0x1d3f66(0x1fd)](),this[_0x1d3f66(0x151)]=!0x1),!this[_0x1d3f66(0x157)]())return!0x0;const _0x886ba8=[...this[_0x1d3f66(0x241)]];for(const _0x5b5e43 of _0x886ba8)_0x5b5e43[_0x1d3f66(0x23e)]=this[_0x1d3f66(0x24c)][_0x1d3f66(0x1b5)][_0x1d3f66(0x1e5)](_0x5b5e43);const _0x5baca8=this[_0x1d3f66(0x24a)][_0x1d3f66(0x18a)](_0x886ba8),_0x351241=Q++,_0x597cbf=this[_0x1d3f66(0x1f8)](_0x886ba8),_0x5c9572=await this[_0x1d3f66(0x18f)][_0x1d3f66(0x1b9)](_0x597cbf,_0x597cbf[_0x1d3f66(0x1fc)],_0x5baca8);try{return await this[_0x1d3f66(0x1aa)](_0x886ba8,_0x5c9572,_0x351241);}catch(_0x4f9816){return this[_0x1d3f66(0x212)](_0x1d3f66(0x224),_0x4f9816);}}async[_0x415db6(0x1aa)](_0x22282d,_0x15ac0f,_0x135aa5){const _0x4850a6=_0x415db6;if(_0x4850a6(0x175)in _0x15ac0f)throw _0x15ac0f[_0x4850a6(0x175)];let _0xe2154e=!0x1;if(_0x15ac0f[_0x4850a6(0x169)]){_0x15ac0f[_0x4850a6(0x158)]&&(this[_0x4850a6(0x16f)]=_0x15ac0f[_0x4850a6(0x158)]),this[_0x4850a6(0x241)]=this[_0x4850a6(0x241)][_0x4850a6(0x173)](_0x2c4c20=>!_0x22282d[_0x4850a6(0x18e)](_0x2c4c20));for(const _0x3e0901 of _0x22282d)_0x3e0901[_0x4850a6(0x22e)]=_0x4850a6(0x227)in _0x15ac0f&&_0x15ac0f[_0x4850a6(0x227)]||void 0x0;Y(_0x22282d,_0x15ac0f[_0x4850a6(0x240)]-_0x22282d[_0x4850a6(0x1b4)]),this[_0x4850a6(0x203)](_0x22282d);const _0x209f65=_0x22282d[_0x4850a6(0x173)](_0x358c09=>{const _0x536d6f=_0x4850a6;if(!_0x358c09[_0x536d6f(0x211)])return!0x1;const _0x3ad9ba=this[_0x536d6f(0x1f1)](_0x358c09);return _0x3ad9ba&&!this[_0x536d6f(0x1e0)][_0x536d6f(0x155)](_0x3ad9ba);});Y(_0x209f65,this[_0x4850a6(0x24c)][_0x4850a6(0x240)]),this[_0x4850a6(0x177)](_0x209f65),_0xe2154e=!0x0,this[_0x4850a6(0x1b3)]=this[_0x4850a6(0x17b)];}else{const _0x57f6ef=this[_0x4850a6(0x16c)](_0x15ac0f[_0x4850a6(0x1ed)],_0x15ac0f[_0x4850a6(0x1d8)])[_0x4850a6(0x173)](_0x3859c6=>_0x3859c6[_0x4850a6(0x1fc)]>=this[_0x4850a6(0x186)]);_0x57f6ef[_0x4850a6(0x182)](_0x2c671c=>this[_0x4850a6(0x216)](_0x2c671c)),this[_0x4850a6(0x241)]=this[_0x4850a6(0x241)][_0x4850a6(0x173)](_0x2154ff=>!_0x2154ff[_0x4850a6(0x211)]||!this[_0x4850a6(0x1e0)][_0x4850a6(0x155)](this[_0x4850a6(0x1f1)](_0x2154ff))),this[_0x4850a6(0x241)][_0x4850a6(0x1b4)]&&Y(this[_0x4850a6(0x241)],this[_0x4850a6(0x241)][0x0][_0x4850a6(0x1fc)]),await this[_0x4850a6(0x187)](_0x57f6ef),_0xe2154e=this[_0x4850a6(0x210)](_0x57f6ef,_0x15ac0f[_0x4850a6(0x240)],_0x15ac0f[_0x4850a6(0x158)]),this[_0x4850a6(0x1b3)]=Math[_0x4850a6(0x14d)](this[_0x4850a6(0x1b3)]/0x2);}return _0xe2154e?!this[_0x4850a6(0x157)]()||(this[_0x4850a6(0x1a1)](!0x0),!0x1):this[_0x4850a6(0x212)](_0x4850a6(0x189));}[_0x415db6(0x210)](_0xee227a,_0x4c092d,_0x3372a9){const _0x5e6887=_0x415db6;try{const _0x284ce1={'document':this[_0x5e6887(0x24c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3ccf59,operationsB:_0x5a4e2d,originalOperations:_0x36b528}=_0x43378e(_0xee227a,this[_0x5e6887(0x241)],_0x284ce1);Y(_0x3ccf59,this[_0x5e6887(0x24c)][_0x5e6887(0x240)]),Y(_0x5a4e2d,_0x4c092d);for(const _0x1d2b92 of _0x3ccf59){const _0x3836ce=_0x36b528[_0x5e6887(0x18c)](_0x1d2b92);_0x1d2b92[_0x5e6887(0x1a6)]=_0x3836ce?_0x3836ce[_0x5e6887(0x1a6)]:null;}_0x3372a9&&(this[_0x5e6887(0x24a)][_0x5e6887(0x237)](_0xee227a,_0x3372a9),this[_0x5e6887(0x16f)]=_0x3372a9),this[_0x5e6887(0x241)]=[..._0x5a4e2d],this[_0x5e6887(0x177)](_0x3ccf59),this[_0x5e6887(0x203)](_0xee227a);}catch(_0x2c2612){return console[_0x5e6887(0x175)](_0x2c2612),!0x1;}return!0x0;}[_0x415db6(0x177)](_0x2def6b,_0x18bd19=!0x1){const _0x21d285=_0x415db6;this[_0x21d285(0x154)][_0x21d285(0x180)][_0x21d285(0x1ab)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2fb426=>{const _0x2d9c32=_0x21d285;for(const _0x576e2f of _0x2def6b)this[_0x2d9c32(0x16a)][_0x2d9c32(0x1ff)](_0x576e2f),this[_0x2d9c32(0x216)](_0x576e2f),_0x2fb426[_0x2d9c32(0x163)][_0x2d9c32(0x17c)](_0x576e2f),this[_0x2d9c32(0x154)][_0x2d9c32(0x180)][_0x2d9c32(0x1e1)](_0x576e2f);});}[_0x415db6(0x216)](_0x48f625){const _0x240f3f=_0x415db6,_0x54104c=this[_0x240f3f(0x1f1)](_0x48f625);_0x54104c&&this[_0x240f3f(0x1e0)][_0x240f3f(0x1ff)](_0x54104c);}[_0x415db6(0x1f1)](_0x130369){const _0x3b7092=_0x415db6;let _0x5e4964,_0x39366d;switch(_0x130369[_0x3b7092(0x225)]){case _0x3b7092(0x207):_0x5e4964=_0x130369[_0x3b7092(0x1e7)][_0x3b7092(0x232)];break;case _0x3b7092(0x1c3):if(_0x39366d=_0x130369[_0x3b7092(0x23d)],!_0x39366d)return null;_0x5e4964=_0x39366d[_0x3b7092(0x232)];break;case _0x3b7092(0x1d5):_0x5e4964=_0x130369[_0x3b7092(0x232)];break;case _0x3b7092(0x15c):_0x5e4964=_0x130369[_0x3b7092(0x1d3)];break;case _0x3b7092(0x1ac):_0x5e4964=_0x130369[_0x3b7092(0x245)][_0x3b7092(0x232)];break;default:return null;}return _0x5e4964[_0x3b7092(0x19b)];}[_0x415db6(0x203)](_0x105000){const _0x13fff9=_0x415db6;_0x105000[_0x13fff9(0x182)](_0x2a2227=>{const _0x5c0811=_0x13fff9,_0x24b94c=_0x2a2227[_0x5c0811(0x1ef)]();_0x24b94c[_0x5c0811(0x1a6)]=_0x2a2227[_0x5c0811(0x1a6)],_0x24b94c[_0x5c0811(0x211)]=!!_0x2a2227[_0x5c0811(0x211)],_0x24b94c[_0x5c0811(0x22e)]=_0x2a2227[_0x5c0811(0x22e)],_0x24b94c[_0x5c0811(0x1fc)]+=this[_0x5c0811(0x190)],_0x2a2227[_0x5c0811(0x22b)]&&this[_0x5c0811(0x1bf)][_0x5c0811(0x1ff)](_0x24b94c),this[_0x5c0811(0x15a)][_0x5c0811(0x17c)](_0x24b94c);});}[_0x415db6(0x1c4)](_0x2263c5){const _0x56ec38=_0x415db6,_0x13bcb6=this[_0x56ec38(0x154)][_0x56ec38(0x242)][_0x56ec38(0x18c)](_0x56ec38(0x20e)),_0x58e0d9=this[_0x56ec38(0x154)][_0x56ec38(0x230)];_0x2263c5||(_0x2263c5=_0x360a9e(_0x58e0d9,_0x56ec38(0x1cb))),_0x13bcb6[_0x56ec38(0x185)](_0x2263c5,{'title':_0x360a9e(_0x58e0d9,_0x56ec38(0x1c1)),'namespace':_0x56ec38(0x1cc)}),this[_0x56ec38(0x238)]=!0x0,clearTimeout(this[_0x56ec38(0x19f)]),this[_0x56ec38(0x241)]=[],this[_0x56ec38(0x154)][_0x56ec38(0x242)][_0x56ec38(0x18c)](_0x1b5284)[_0x56ec38(0x22d)]();}[_0x415db6(0x18d)](){const _0x2fe257=_0x415db6;this[_0x2fe257(0x17a)]||(this[_0x2fe257(0x17a)]=this[_0x2fe257(0x154)][_0x2fe257(0x242)][_0x2fe257(0x18c)](_0x4ab8b6)[_0x2fe257(0x1ff)](_0x360a9e(this[_0x2fe257(0x154)][_0x2fe257(0x230)],_0x2fe257(0x23b))));}[_0x415db6(0x205)](){const _0x161b97=_0x415db6;this[_0x161b97(0x17a)]&&(this[_0x161b97(0x154)][_0x161b97(0x242)][_0x161b97(0x18c)](_0x4ab8b6)[_0x161b97(0x195)](this[_0x161b97(0x17a)]),this[_0x161b97(0x17a)]=null);}[_0x415db6(0x1f8)](_0x6aa149){const _0x43234a=_0x415db6,_0x5ebb3b=_0x6aa149[_0x43234a(0x162)](_0x434b1c=>_0x434b1c[_0x43234a(0x1d7)]());return this[_0x43234a(0x1ce)][_0x43234a(0x1c7)](_0x5ebb3b);}[_0x415db6(0x16c)](_0x2ab695,_0x536ed1){const _0x51e89c=_0x415db6;return this[_0x51e89c(0x1ce)][_0x51e89c(0x153)](_0x2ab695)[_0x51e89c(0x162)]((_0x3bc718,_0xaddc2a)=>{const _0x2ea1bc=_0x51e89c,_0x3078ee=_0x2ea1bc(0x150)==_0x536ed1[_0xaddc2a][_0x2ea1bc(0x225)];if(_0x2ea1bc(0x223)==_0x3bc718[_0x2ea1bc(0x188)]){const _0x277b6d=_0x3bc718[_0x2ea1bc(0x1e7)][_0x2ea1bc(0x232)];!this[_0x2ea1bc(0x24c)][_0x2ea1bc(0x234)](_0x277b6d)&&(this[_0x2ea1bc(0x24c)][_0x2ea1bc(0x20b)](_0x2ea1bc(0x184),_0x277b6d)[_0x2ea1bc(0x1f5)]=!0x1);}const _0x2a8102=_0x432e73[_0x2ea1bc(0x215)](_0x3bc718,this[_0x2ea1bc(0x24c)]);return _0x2a8102[_0x2ea1bc(0x23e)]=_0x3bc718[_0x2ea1bc(0x23e)],_0x2a8102[_0x2ea1bc(0x211)]=_0x3078ee,_0x2a8102[_0x2ea1bc(0x1a6)]=_0x3078ee?null:_0x536ed1[_0xaddc2a][_0x2ea1bc(0x17f)],_0x2a8102[_0x2ea1bc(0x22b)]=_0x2ea1bc(0x202)===_0x536ed1[_0xaddc2a][_0x2ea1bc(0x225)],_0x2a8102[_0x2ea1bc(0x22e)]=_0x536ed1[_0xaddc2a][_0x2ea1bc(0x22e)],_0x2a8102;});}[_0x415db6(0x197)](){const _0x2c9e1f=_0x415db6;this[_0x2c9e1f(0x151)]=!0x0,this[_0x2c9e1f(0x20d)]()?this[_0x2c9e1f(0x1a1)]():this[_0x2c9e1f(0x151)]=!0x1;}[_0x415db6(0x20d)](){const _0x25435e=_0x415db6,_0x36b755=this[_0x25435e(0x154)][_0x25435e(0x242)][_0x25435e(0x18c)](_0x48e3ec)[_0x25435e(0x21d)][_0x25435e(0x18c)](this[_0x25435e(0x1ee)]);return!this[_0x25435e(0x154)][_0x25435e(0x14f)]&&!!_0x36b755&&_0x36b755[_0x25435e(0x1b4)]>0x1&&this[_0x25435e(0x151)];}[_0x415db6(0x157)](){const _0xb62e3d=_0x415db6;return this[_0xb62e3d(0x241)][_0xb62e3d(0x1b4)]>0x0||this[_0xb62e3d(0x20d)]();}}export{l as RealTimeCollaborationClient};class X extends Error{}function Y(_0x3ce0f9,_0xe29270){const _0x10c161=_0x415db6;for(const _0x1235bf of _0x3ce0f9)_0x1235bf[_0x10c161(0x1fc)]=_0xe29270++;}class Z{[_0x415db6(0x1b7)];[_0x415db6(0x199)];constructor(_0x37b398){const _0xbfe2e5=_0x415db6;this[_0xbfe2e5(0x1b7)]=_0x37b398,this[_0xbfe2e5(0x199)]=new WeakMap();}[_0x415db6(0x18a)](_0xf3f662){const _0x341447=_0x415db6;let _0x476016=_0xf3f662[_0x341447(0x1b4)];for(;_0x476016--;){const _0x3f3d41=_0xf3f662[_0x476016];if(!this[_0x341447(0x1b7)][_0x341447(0x155)](_0x3f3d41)){if(!this[_0x341447(0x199)][_0x341447(0x155)](_0x3f3d41)){const _0x52d361=_0x4eb336()[_0x341447(0x1f7)](0x1,0x12);this[_0x341447(0x199)][_0x341447(0x214)](_0x3f3d41,_0x52d361);}return this[_0x341447(0x199)][_0x341447(0x18c)](_0x3f3d41);}}}[_0x415db6(0x237)](_0x169080,_0x39e283){const _0x155b6b=_0x415db6;if(!_0x39e283)return;let _0x3b1e4a=_0x169080[_0x155b6b(0x1b4)];for(;_0x3b1e4a--;){const _0x21f228=_0x169080[_0x3b1e4a];this[_0x155b6b(0x1b7)][_0x155b6b(0x155)](_0x21f228)||this[_0x155b6b(0x199)][_0x155b6b(0x214)](_0x21f228,_0x39e283);}}}
|
|
23
|
+
const _0x47e6c8=_0x464f;(function(_0x4ffe6c,_0x20c355){const _0x532dbf=_0x464f,_0x38e541=_0x4ffe6c();while(!![]){try{const _0x5f0ac8=parseInt(_0x532dbf(0x271))/0x1*(-parseInt(_0x532dbf(0x218))/0x2)+parseInt(_0x532dbf(0x252))/0x3+parseInt(_0x532dbf(0x1bf))/0x4+-parseInt(_0x532dbf(0x292))/0x5+parseInt(_0x532dbf(0x19f))/0x6+-parseInt(_0x532dbf(0x205))/0x7+parseInt(_0x532dbf(0x245))/0x8;if(_0x5f0ac8===_0x20c355)break;else _0x38e541['push'](_0x38e541['shift']());}catch(_0x38e165){_0x38e541['push'](_0x38e541['shift']());}}}(_0x4c86,0xab9af));import{Plugin as _0x5b6c13,PendingActions as _0xc6be42}from'ckeditor5/src/core.js';import{CKEditorError as _0x550911,version as _0x1de69a,uid as _0x28bb14}from'ckeditor5/src/utils.js';import{Notification as _0x45941e}from'ckeditor5/src/ui.js';function _0x4c86(){const _0xac9677=['currentDocumentSession','stop','isReadOnly','type','reconnect','_handleSendingSelectionMarkers','clone','end','_initSessionsHandling','_setPendingAction','marker','path','isEnabled','rtc-destroyed','6026748mwdrDY','parse','change:_isPendingUpdate','differ','realtimecollaborationclient-sendbufferedoperations','_isConnected','_bufferRootLoad','_isEditingAllowed','permissions','_waitUntilSynced','map','_connectService','startsWith','state','from','_saveOperationInBuffer','getMany','RealTimeCollaborationClient','realtimecollaborationclient-error','922430htALXU','_offset','finally','metadata','ready','editor','createdAt','then','change:hasDomSelection','_getOperationsFromInitData','length','_shouldSendUpdate','cloudServices.bundleVersion','round','realtimecollaborationclient','connection','initData','realtimecollaborationclient-init-service-internal-error','rootName','has','Synchronization\x20issue','InsertOperation','enableReadOnlyMode','addOperation','forEach','_service','directChange','_operationIdentifier','get','_knownRootNames','size','_document','_hasSynchronizationProblem','sessionId','_handleInitialConnectionData','_updateServerHistory','listenTo','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','slice','lastDocumentSession','push','return','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','disconnected','_sendBufferedOperations','14430760ZkKQjU','roots','realtimecollaborationclient-handleserverresponse','getIdOfTheLastOperation','history','realtimecollaborationclient-init-session-connection-error','_loadRoot','_fetchMissingUsers','string','addUser','lastOperationAcceptedAt','CommentsOnly','_shouldSendSelectionUpdate','161886OJzkls','keys','editing','pluginName','PENDING_ACTION_SENDING_DATA','message','fromJSON','_initThrowingOnDataSet','_setUpDataInit','_crash','realtimecollaborationclient-init-service-incorrect-server-operation','suppressErrorInCollaboration','isPremiumPlugin','connect','_addKnownRoot','sessionAdd:','_decompressOperations','change:_isEditingAllowed','_channelId','root','remove','collaboration-missing-channelid','newRange','channelSessions','_isInit','affectedSelectable','getUser','connected','view','catch','sendOperations','2DefUqJ','cs:removeUser','reset','selection','wasUndone','_connectAfterSessionHasBeenFlushed','position','batch','define','offset','addToReconnectionStack','createRoot','_clearPendingAction','config','rtc-offline','lastSyncVersion','addRootAttribute','wereChangesApplied','init','real-time-collaboration','unregister','set','_lastSyncedOperationId','enqueueChange','locale','_refreshUserSelectionMarkers','_handleReceivedOperations','_lastServerVersion','data','mySessionId','getRoot','_isLoaded','isDocumentOperation','6828495QINsGm','document','applyOperation','realtimecollaborationclient-init-non-existent-root','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','high','code','cloud-services-internal-error:\x20Not\x20connected.','getOperations','_sendBufferedOperationsDelayId','targetPosition','destroy','attributes','stopListening','_disconnectService','createRange','requires','4469892KKoryL','add','isUndoneOperation','entries','register','apply','_applyOperationsSet','multi-root-editor-root-attributes-no-root','reconnection:\x20flushed\x20session','off','_bufferedOperations','_isAttached','_ignoredOperations','insert','_pendingAction','sessionCreatedAt','bind','_authorId','_compressor','404','__className','_knownOperations','cloud-services-internal-error:\x20Request\x20timeout.','_baseBufferDelay','_operationToId','getDocumentDetails','change:range','decompress','setIdForTheLastOperation','_getAffectedRoot','disconnect','Notification','4996796HfNOiT','version','_handleReconnectionResponse','addRoot','isOfficialPlugin','removeFromReconnectionStack','plugins','loadRoot','createUserMarkerOperations','_compressOperations','move','_currentBufferDelay','showWarning','filter','getConnectedSessions','_handleReconnectionError','affectsData','Permissions','operationsReceived','rootsAttributes','includes','CollaborativeEditingService','cloudDocumentVersion','serverHistory','409','disableReadOnlyMode','_isPendingUpdate','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','createPositionAt','_hasSelectionChanged','baseVersion','toJSON','realtimecollaborationclient-init-document-already-initialized','_isDisconnection','lastOperationId','createPositionFromPath','collaboration','setPermissions','error','getOperationAuthor','realtimecollaborationclient-init-connection-failed','compress','document:write','_handleServerResponse','userId','_handleExternalOperations','$root','markers','_sendBufferedOperationsDelayed','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','start','fire','model','collaboration.channelId','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_disconnectionOperations'];_0x4c86=function(){return _0xac9677;};return _0x4c86();}import{transformOperationSets as _0x2ac34e,NoOperation as _0x6e3d71,InsertOperation as _0x1bd747,MarkerOperation as _0x548d0d,RootAttributeOperation as _0x182252,OperationFactory as _0x217876,History as _0x38f6b4}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x31a860}from'./websocketgateway.js';import{Sessions as _0x422087}from'./sessions.js';import{UserMarkers as _0x122314}from'./usermarkers.js';import{getTranslation as _0x249469}from'../common-translations.js';import{Compressor as _0x354a37}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x47d84a}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x493e9a,CollaborativeEditingService as _0x223415}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let q=0x1;function _0x464f(_0x1293ed,_0x100133){const _0x4c86c5=_0x4c86();return _0x464f=function(_0x464f99,_0x430e8e){_0x464f99=_0x464f99-0x19a;let _0x4f05d2=_0x4c86c5[_0x464f99];return _0x4f05d2;},_0x464f(_0x1293ed,_0x100133);}class l extends _0x5b6c13{static [_0x47e6c8(0x1d4)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x223415)());[_0x47e6c8(0x219)];[_0x47e6c8(0x239)];[_0x47e6c8(0x1d6)];[_0x47e6c8(0x264)];[_0x47e6c8(0x231)];[_0x47e6c8(0x237)];[_0x47e6c8(0x1b1)];[_0x47e6c8(0x1a9)];[_0x47e6c8(0x1b4)];[_0x47e6c8(0x235)];[_0x47e6c8(0x1ad)];[_0x47e6c8(0x1dc)];[_0x47e6c8(0x29b)];[_0x47e6c8(0x1b6)];[_0x47e6c8(0x1ca)];[_0x47e6c8(0x287)];[_0x47e6c8(0x1f6)];[_0x47e6c8(0x233)];static get[_0x47e6c8(0x19e)](){return[_0x31a860,_0x422087,_0x122314,_0xc6be42,_0x47d84a,_0x45941e];}static get[_0x47e6c8(0x255)](){const _0xd8cb96=_0x47e6c8;return _0xd8cb96(0x216);}static get[_0x47e6c8(0x1c3)](){return!0x0;}static get[_0x47e6c8(0x25e)](){return!0x0;}get[_0x47e6c8(0x1d5)](){const _0x1a08bd=_0x47e6c8;return this[_0x1a08bd(0x28c)]+this[_0x1a08bd(0x219)];}get[_0x47e6c8(0x28c)](){const _0x33bf07=_0x47e6c8;return this[_0x33bf07(0x1d6)][_0x33bf07(0x1c0)]-this[_0x33bf07(0x219)];}get[_0x47e6c8(0x280)](){const _0x366d7e=_0x47e6c8,_0x5de93e=this[_0x366d7e(0x1d6)][_0x366d7e(0x29a)]();for(let _0x2e6e33=_0x5de93e[_0x366d7e(0x222)]-0x1;_0x2e6e33>=0x0;_0x2e6e33--){const _0x1a1a6c=_0x5de93e[_0x2e6e33];if(!this[_0x366d7e(0x1f6)][_0x366d7e(0x22b)](_0x1a1a6c))return _0x1a1a6c[_0x366d7e(0x1dd)]+0x1-this[_0x366d7e(0x219)];}return 0x0;}constructor(_0x2ea710){const _0x5f1919=_0x47e6c8;if(super(_0x2ea710),this[_0x5f1919(0x219)]=0x0,this[_0x5f1919(0x239)]=null,this[_0x5f1919(0x1d6)]=new _0x38f6b4(),this[_0x5f1919(0x21d)][_0x5f1919(0x27e)][_0x5f1919(0x279)](_0x5f1919(0x1e3),{}),this[_0x5f1919(0x264)]=this[_0x5f1919(0x21d)][_0x5f1919(0x27e)][_0x5f1919(0x234)](_0x5f1919(0x1f4)),!this[_0x5f1919(0x264)])throw new _0x550911(_0x5f1919(0x267),this);const _0x32cd62=_0x2ea710[_0x5f1919(0x27e)][_0x5f1919(0x234)](_0x5f1919(0x224))||_0x1de69a;this[_0x5f1919(0x231)]=new l[(_0x5f1919(0x1d4))](_0x32cd62,this[_0x5f1919(0x264)]),this[_0x5f1919(0x237)]=this[_0x5f1919(0x21d)][_0x5f1919(0x1f3)][_0x5f1919(0x293)],this[_0x5f1919(0x1b1)]=new _0x354a37(),this[_0x5f1919(0x1a9)]=[],this[_0x5f1919(0x1b4)]=new WeakSet(),this[_0x5f1919(0x235)]=new Set(),this[_0x5f1919(0x286)](_0x5f1919(0x1d9),!0x1),this[_0x5f1919(0x286)](_0x5f1919(0x238),!0x1),this[_0x5f1919(0x1ad)]=null,this[_0x5f1919(0x1dc)]=!0x1,this[_0x5f1919(0x29b)]=null,this[_0x5f1919(0x1b6)]=0x12c,this[_0x5f1919(0x1ca)]=this[_0x5f1919(0x1b6)],this[_0x5f1919(0x287)]=null,this[_0x5f1919(0x1f6)]=new WeakSet(),this[_0x5f1919(0x233)]=new K(this[_0x5f1919(0x1f6)]);}[_0x47e6c8(0x283)](){const _0x22bc88=_0x47e6c8,_0x231f35=this[_0x22bc88(0x21d)],_0x500b95=_0x231f35[_0x22bc88(0x1c5)][_0x22bc88(0x234)](_0x47d84a),_0x122e49=_0x231f35[_0x22bc88(0x1c5)][_0x22bc88(0x234)](_0x31a860);this[_0x22bc88(0x23c)](_0x500b95,_0x22bc88(0x1e6),(_0x30c5c9,_0x5f3fef)=>{const _0xf3a522=_0x22bc88,_0xeb1b2d=_0x5f3fef[0x0];_0xeb1b2d[_0xf3a522(0x1b0)]&&(_0x30c5c9[_0xf3a522(0x241)]=_0x500b95[_0xf3a522(0x26c)](_0xeb1b2d[_0xf3a522(0x1b0)]),_0x30c5c9[_0xf3a522(0x1f8)]()),null===_0xeb1b2d[_0xf3a522(0x1b0)]&&(_0x30c5c9[_0xf3a522(0x241)]=null,_0x30c5c9[_0xf3a522(0x1f8)]());},{'priority':_0x22bc88(0x297)}),this[_0x22bc88(0x23c)](_0x231f35[_0x22bc88(0x1f3)][_0x22bc88(0x293)][_0x22bc88(0x274)],_0x22bc88(0x1b9),(_0x356ea1,_0x2229bb)=>{const _0x37848b=_0x22bc88;_0x2229bb[_0x37848b(0x232)]&&this[_0x37848b(0x28a)]();}),this[_0x22bc88(0x23c)](_0x231f35[_0x22bc88(0x254)][_0x22bc88(0x26e)],_0x22bc88(0x220),()=>{const _0x16b32d=_0x22bc88;this[_0x16b32d(0x28a)]();}),this[_0x22bc88(0x259)](),_0x231f35[_0x22bc88(0x1f3)]['on'](_0x22bc88(0x294),(_0x424bb1,_0x3fa683)=>{const _0xfa65ac=_0x22bc88,_0x5238d1=_0x3fa683[0x0];_0x5238d1[_0xfa65ac(0x291)]&&(this[_0xfa65ac(0x214)](_0x5238d1),this[_0xfa65ac(0x223)]()&&this[_0xfa65ac(0x1ef)]());}),this[_0x22bc88(0x25a)](),this[_0x22bc88(0x1af)](_0x22bc88(0x20c))['to'](_0x122e49,_0x22bc88(0x212),this,_0x22bc88(0x238),(_0x3a158a,_0x368c99)=>_0x22bc88(0x26d)===_0x3a158a&&!_0x368c99),this['on'](_0x22bc88(0x263),()=>{const _0x2eb5e8=_0x22bc88;this[_0x2eb5e8(0x20c)]?_0x231f35[_0x2eb5e8(0x1d8)](_0x2eb5e8(0x27f)):_0x231f35[_0x2eb5e8(0x22e)](_0x2eb5e8(0x27f));}),this[_0x22bc88(0x20c)]?_0x231f35[_0x22bc88(0x1d8)](_0x22bc88(0x27f)):_0x231f35[_0x22bc88(0x22e)](_0x22bc88(0x27f)),this[_0x22bc88(0x286)](_0x22bc88(0x20a),!0x1);}async[_0x47e6c8(0x1fb)](){const _0x132c0a=_0x47e6c8,_0x14b73a=this[_0x132c0a(0x21d)][_0x132c0a(0x1c5)][_0x132c0a(0x234)](_0x422087),_0x1311cb=this[_0x132c0a(0x21d)][_0x132c0a(0x1c5)][_0x132c0a(0x234)](_0x31a860);try{this[_0x132c0a(0x1d9)]=!0x0,_0x14b73a[_0x132c0a(0x285)](this[_0x132c0a(0x264)]);const _0x189c2f=await this[_0x132c0a(0x231)][_0x132c0a(0x1fb)](_0x1311cb[_0x132c0a(0x227)],this[_0x132c0a(0x280)]);await this[_0x132c0a(0x1c1)](_0x189c2f)&&(this[_0x132c0a(0x1d9)]=!0x1,this[_0x132c0a(0x27d)]());const _0x1f40fb=await this[_0x132c0a(0x231)][_0x132c0a(0x1cd)]();_0x14b73a[_0x132c0a(0x1a3)](this[_0x132c0a(0x264)],_0x1f40fb),this[_0x132c0a(0x1fc)](),this[_0x132c0a(0x20a)]=!0x0;}catch(_0x42e1e9){if(function(_0x48a567){const _0x5c0308=_0x132c0a;return _0x5c0308(0x1b2)===_0x48a567[_0x5c0308(0x298)];}(_0x42e1e9)&&this[_0x132c0a(0x239)])await this[_0x132c0a(0x276)]();else{if(function(_0x590d35){const _0x90d9a0=_0x132c0a;return _0x90d9a0(0x1d7)===_0x590d35[_0x90d9a0(0x298)];}(_0x42e1e9)){const _0x2635e4=_0x249469(this[_0x132c0a(0x21d)][_0x132c0a(0x289)],_0x132c0a(0x1da));this[_0x132c0a(0x1ce)](_0x2635e4);}else{if(!(_0x42e1e9 instanceof G))throw _0x42e1e9;this[_0x132c0a(0x1ce)]();}}}}[_0x47e6c8(0x29d)](){const _0x2b5d53=_0x47e6c8,_0x51be8d=this[_0x2b5d53(0x21d)][_0x2b5d53(0x1c5)][_0x2b5d53(0x234)](_0x31a860),_0x1b1149=this[_0x2b5d53(0x21d)][_0x2b5d53(0x1c5)][_0x2b5d53(0x234)](_0x422087);this[_0x2b5d53(0x21d)][_0x2b5d53(0x22e)](_0x2b5d53(0x204)),_0x1b1149[_0x2b5d53(0x269)][_0x2b5d53(0x22b)](this[_0x2b5d53(0x264)])&&_0x1b1149[_0x2b5d53(0x285)](this[_0x2b5d53(0x264)]),_0x51be8d[_0x2b5d53(0x1c4)](this),this[_0x2b5d53(0x19c)](),super[_0x2b5d53(0x29d)]();}async[_0x47e6c8(0x1c1)](_0x12d640){const _0x12a87b=_0x47e6c8;if(this[_0x12a87b(0x239)]!==_0x12d640[_0x12a87b(0x239)]&&this[_0x12a87b(0x287)]!==_0x12d640[_0x12a87b(0x1e1)])throw new G();return this[_0x12a87b(0x239)]=_0x12d640[_0x12a87b(0x239)],this[_0x12a87b(0x1ea)]([],{..._0x12d640,'wereChangesApplied':!0x1,'data':_0x12d640[_0x12a87b(0x28d)]},_0x12a87b(0x1fb));}async[_0x47e6c8(0x210)](_0x4e9bcb,_0x7bfc47=!0x1){const _0x1ecc99=_0x47e6c8,{connection:_0x5af7aa}=this[_0x1ecc99(0x21d)][_0x1ecc99(0x1c5)][_0x1ecc99(0x234)](_0x31a860);l[_0x1ecc99(0x1d4)][_0x1ecc99(0x1cd)](_0x5af7aa,this[_0x1ecc99(0x264)])[_0x1ecc99(0x21f)](_0x6ca1ae=>this[_0x1ecc99(0x1ff)](_0x6ca1ae))[_0x1ecc99(0x26f)](_0x3ec605=>{const _0x4cc704=_0x1ecc99;this[_0x4cc704(0x25b)](_0x4cc704(0x24a),_0x3ec605);}),this[_0x1ecc99(0x23c)](this[_0x1ecc99(0x231)],_0x1ecc99(0x1d1),this[_0x1ecc99(0x28b)][_0x1ecc99(0x1af)](this)),this[_0x1ecc99(0x23c)](this[_0x1ecc99(0x231)],_0x1ecc99(0x1e5),(_0x110328,_0x4399c3)=>{const _0x3fe57b=_0x1ecc99;this[_0x3fe57b(0x25b)](_0x3fe57b(0x229),_0x4399c3);}),this[_0x1ecc99(0x23c)](this[_0x1ecc99(0x231)],_0x1ecc99(0x243),()=>{const _0x1b8d05=_0x1ecc99;this[_0x1b8d05(0x20a)]=!0x1;});const _0x46c652=this[_0x1ecc99(0x233)][_0x1ecc99(0x248)](_0x4e9bcb);this[_0x1ecc99(0x1d9)]=!0x0;const _0x360039=await this[_0x1ecc99(0x231)][_0x1ecc99(0x25f)](_0x5af7aa,this[_0x1ecc99(0x1c8)](_0x4e9bcb),_0x46c652);if(this[_0x1ecc99(0x239)]=_0x360039[_0x1ecc99(0x239)],_0x7bfc47){if(!_0x360039[_0x1ecc99(0x282)])return void this[_0x1ecc99(0x1ce)]();this[_0x1ecc99(0x1d9)]=!0x1,this[_0x1ecc99(0x27d)](),this[_0x1ecc99(0x1d6)][_0x1ecc99(0x273)](),this[_0x1ecc99(0x219)]=_0x360039[_0x1ecc99(0x27a)],this[_0x1ecc99(0x1d6)][_0x1ecc99(0x1c0)]=this[_0x1ecc99(0x219)],await this[_0x1ecc99(0x1ea)](_0x4e9bcb,_0x360039,_0x1ecc99(0x1a7));}else await this[_0x1ecc99(0x23a)](_0x360039,_0x4e9bcb);this[_0x1ecc99(0x1fc)](),this[_0x1ecc99(0x20a)]=!0x0;}[_0x47e6c8(0x1fc)](){const _0x2406a5=_0x47e6c8,_0x24d528=this[_0x2406a5(0x21d)][_0x2406a5(0x1c5)][_0x2406a5(0x234)](_0x422087),_0x36c8ed=this[_0x2406a5(0x21d)][_0x2406a5(0x1c5)][_0x2406a5(0x234)](_0x122314),_0x5c0526=_0x24d528[_0x2406a5(0x269)][_0x2406a5(0x234)](this[_0x2406a5(0x264)]);_0x5c0526&&_0x5c0526[_0x2406a5(0x222)]>0x1?_0x36c8ed[_0x2406a5(0x1c7)]():this[_0x2406a5(0x23c)](_0x24d528,_0x2406a5(0x261)+this[_0x2406a5(0x264)],()=>{const _0x4e7aa3=_0x2406a5;0x2===_0x24d528[_0x4e7aa3(0x269)][_0x4e7aa3(0x234)](this[_0x4e7aa3(0x264)])[_0x4e7aa3(0x222)]&&_0x36c8ed[_0x4e7aa3(0x1c7)]();});}async[_0x47e6c8(0x28b)](_0x460964,_0x2d2d7f,_0x2a7db7,_0x5874b4){const _0x5250a9=_0x47e6c8;if(!this[_0x5250a9(0x1d9)]&&this[_0x5250a9(0x237)][_0x5250a9(0x1c0)]==_0x2d2d7f){const _0x1ece73=this[_0x5250a9(0x262)](_0x2a7db7,_0x5874b4);await this[_0x5250a9(0x24c)](_0x1ece73),this[_0x5250a9(0x1ec)](_0x1ece73,_0x2d2d7f,_0x2a7db7[_0x5250a9(0x1e1)])||this[_0x5250a9(0x25b)](_0x5250a9(0x25c));}}async[_0x47e6c8(0x276)](){const _0x52fa01=_0x47e6c8;this[_0x52fa01(0x19c)]();const {locale:_0x56fa4b}=this[_0x52fa01(0x21d)];let _0x249a56;try{_0x249a56=await this[_0x52fa01(0x231)][_0x52fa01(0x1b8)]();}catch{const _0x285668=_0x249469(_0x56fa4b,_0x52fa01(0x242));return void this[_0x52fa01(0x1ce)](_0x285668);}const _0x51f39d=_0x249a56[_0x52fa01(0x1f7)]||_0x249a56[_0x52fa01(0x23f)];if(this[_0x52fa01(0x287)]!==_0x51f39d[_0x52fa01(0x1e1)]){const _0x207028=_0x249469(_0x56fa4b,_0x52fa01(0x23d));return void this[_0x52fa01(0x1ce)](_0x207028);}await this[_0x52fa01(0x210)](this[_0x52fa01(0x21d)][_0x52fa01(0x1f3)][_0x52fa01(0x293)][_0x52fa01(0x249)][_0x52fa01(0x29a)](),!0x0);}[_0x47e6c8(0x19c)](){const _0x5b27f0=_0x47e6c8;this[_0x5b27f0(0x231)][_0x5b27f0(0x1bd)](),this[_0x5b27f0(0x1a9)]=[],clearTimeout(this[_0x5b27f0(0x29b)]),this[_0x5b27f0(0x19b)](this[_0x5b27f0(0x231)]);}[_0x47e6c8(0x1ff)](_0x8fb870){const _0xb43ca4=_0x47e6c8,_0x46dff4=this[_0xb43ca4(0x21d)][_0xb43ca4(0x1c5)][_0xb43ca4(0x234)](_0x422087);this[_0xb43ca4(0x23c)](_0x46dff4,_0xb43ca4(0x261)+this[_0xb43ca4(0x264)],(_0x5b1428,{session:_0x2eedb4})=>{const _0x283336=_0xb43ca4;if(_0x2eedb4['id']===_0x46dff4[_0x283336(0x28e)]){_0x5b1428[_0x283336(0x1a8)]();const _0x220217=this[_0x283336(0x21d)][_0x283336(0x1c5)][_0x283336(0x22b)](_0x283336(0x250))&&this[_0x283336(0x21d)][_0x283336(0x1c5)][_0x283336(0x234)](_0x283336(0x250));let _0x3a0c7e=_0x2eedb4[_0x283336(0x20d)];_0x220217&&_0x220217[_0x283336(0x203)]&&(_0x3a0c7e=_0x3a0c7e[_0x283336(0x1cc)](_0x658f4d=>_0x283336(0x1e9)!==_0x658f4d)),this[_0x283336(0x21d)][_0x283336(0x1c5)][_0x283336(0x234)](_0x283336(0x1d0))[_0x283336(0x1e4)](_0x3a0c7e,this[_0x283336(0x264)]);}}),_0x46dff4[_0xb43ca4(0x1a3)](this[_0xb43ca4(0x264)],_0x8fb870);}[_0x47e6c8(0x259)](){const _0x4157e2=_0x47e6c8,_0x17f6ba=this[_0x4157e2(0x21d)][_0x4157e2(0x28d)][_0x4157e2(0x286)];this[_0x4157e2(0x21d)][_0x4157e2(0x28d)][_0x4157e2(0x286)]=(..._0x5cc7a9)=>{const _0x3a55d5=_0x4157e2;if(!_0x5cc7a9[_0x5cc7a9[_0x3a55d5(0x222)]-0x1][_0x3a55d5(0x25d)])throw new _0x550911(_0x3a55d5(0x1f0),this);_0x17f6ba[_0x3a55d5(0x1a4)](this[_0x3a55d5(0x21d)][_0x3a55d5(0x28d)],_0x5cc7a9);};}[_0x47e6c8(0x25a)](){const _0x113bf0=_0x47e6c8;this[_0x113bf0(0x21d)][_0x113bf0(0x28d)]['on'](_0x113bf0(0x283),(_0x368e88,[_0x329995])=>{const _0x16b4dc=_0x113bf0;if(this[_0x16b4dc(0x237)][_0x16b4dc(0x1c0)])throw new _0x550911(_0x16b4dc(0x1df),this);_0x368e88[_0x16b4dc(0x1f8)](),this[_0x16b4dc(0x200)]();const _0x31c292=this[_0x16b4dc(0x21d)][_0x16b4dc(0x27e)][_0x16b4dc(0x234)](_0x16b4dc(0x1d2)),_0x1f6225=this[_0x16b4dc(0x221)](_0x329995,_0x31c292);0x0==_0x1f6225[_0x16b4dc(0x222)]&&_0x1f6225[_0x16b4dc(0x240)](new _0x6e3d71(0x0)),_0x368e88[_0x16b4dc(0x241)]=this[_0x16b4dc(0x210)](_0x1f6225)[_0x16b4dc(0x21f)](()=>{const _0x21ae43=_0x16b4dc;this[_0x21ae43(0x21d)][_0x21ae43(0x1c5)][_0x21ae43(0x234)](_0x31a860)[_0x21ae43(0x27b)](this),this[_0x21ae43(0x21d)][_0x21ae43(0x28d)][_0x21ae43(0x1f2)](_0x21ae43(0x21c));})[_0x16b4dc(0x26f)](_0x32ff8a=>this[_0x16b4dc(0x25b)](_0x16b4dc(0x1e7),_0x32ff8a))[_0x16b4dc(0x21a)](()=>this[_0x16b4dc(0x27d)]());},{'priority':_0x113bf0(0x297)}),this[_0x113bf0(0x21d)]['on'](_0x113bf0(0x1c6),async(_0x16ae9c,[_0xae5a02,_0x226a45])=>{const _0x4b0e2a=_0x113bf0;_0x16ae9c[_0x4b0e2a(0x1f8)]();const _0x1106c1=this[_0x4b0e2a(0x21d)][_0x4b0e2a(0x1f3)][_0x4b0e2a(0x293)][_0x4b0e2a(0x28f)](_0xae5a02);if(!this[_0x4b0e2a(0x235)][_0x4b0e2a(0x22b)](_0xae5a02)){const _0x37e275=_0x226a45&&_0x226a45[_0x4b0e2a(0x28d)]?_0x226a45[_0x4b0e2a(0x28d)]:'',_0x41fe5c=_0x226a45&&_0x226a45[_0x4b0e2a(0x19a)]?_0x226a45[_0x4b0e2a(0x19a)]:{};await this[_0x4b0e2a(0x24b)](_0xae5a02,_0x37e275,_0x41fe5c);}this[_0x4b0e2a(0x21d)][_0x4b0e2a(0x1f3)][_0x4b0e2a(0x288)]({'isUndoable':!0x1},()=>{const _0x481129=_0x4b0e2a;_0x1106c1[_0x481129(0x290)]=!0x0,this[_0x481129(0x21d)][_0x481129(0x1f3)][_0x481129(0x293)][_0x481129(0x208)][_0x481129(0x20b)](_0x1106c1);});},{'priority':_0x113bf0(0x297)});}async[_0x47e6c8(0x24c)](_0x25bb63){const _0x17c06f=_0x47e6c8,_0x49341c=this[_0x17c06f(0x21d)][_0x17c06f(0x1c5)][_0x17c06f(0x234)](_0x47d84a),{connection:_0x38d8d7}=this[_0x17c06f(0x21d)][_0x17c06f(0x1c5)][_0x17c06f(0x234)](_0x31a860),_0xef347d=new Set();for(const _0x189968 of _0x25bb63){const _0x4d51bc=_0x189968[_0x17c06f(0x1b0)];_0x4d51bc&&!_0x49341c[_0x17c06f(0x26c)](_0x4d51bc)&&_0xef347d[_0x17c06f(0x1a0)](_0x4d51bc);}if(0x0===_0xef347d[_0x17c06f(0x236)])return;const _0x3f086b=await _0x493e9a[_0x17c06f(0x215)](_0x38d8d7,Array[_0x17c06f(0x213)](_0xef347d));for(const _0x58dad9 of _0x3f086b)_0x49341c[_0x17c06f(0x26c)](_0x58dad9['id'])||_0x49341c[_0x17c06f(0x24e)](_0x58dad9);}[_0x47e6c8(0x221)](_0x3ddfd0,_0x25516a={}){const _0x3de2a8=_0x47e6c8,_0x376a14=this[_0x3de2a8(0x21d)][_0x3de2a8(0x1f3)],_0x473fa1=[];let _0x3458de=0x0;const _0x4d1953=_0x3de2a8(0x24d)==typeof _0x3ddfd0?{'main':_0x3ddfd0}:_0x3ddfd0;for(const _0xd7de55 of Object[_0x3de2a8(0x253)](_0x4d1953)){if(!this[_0x3de2a8(0x237)][_0x3de2a8(0x246)][_0x3de2a8(0x22b)](_0xd7de55))throw new _0x550911(_0x3de2a8(0x295),this);const _0x2e04a3=this[_0x3de2a8(0x21d)][_0x3de2a8(0x28d)][_0x3de2a8(0x206)](_0x4d1953[_0xd7de55]),_0x36c8cd=this[_0x3de2a8(0x237)][_0x3de2a8(0x28f)](_0xd7de55),_0x9f42f6=new _0x1bd747(_0x376a14[_0x3de2a8(0x1db)](_0x36c8cd,0x0),_0x2e04a3,_0x3458de++);_0x473fa1[_0x3de2a8(0x240)](_0x9f42f6);for(const [_0x5610ab,_0x3508ee]of _0x2e04a3[_0x3de2a8(0x1ee)]){const _0x502ba8=_0x376a14[_0x3de2a8(0x19d)](_0x376a14[_0x3de2a8(0x1e2)](_0x36c8cd,_0x3508ee[_0x3de2a8(0x1f1)][_0x3de2a8(0x202)][_0x3de2a8(0x23e)]()),_0x376a14[_0x3de2a8(0x1e2)](_0x36c8cd,_0x3508ee[_0x3de2a8(0x1fe)][_0x3de2a8(0x202)][_0x3de2a8(0x23e)]())),_0x4864c3=new _0x548d0d(_0x5610ab,null,_0x502ba8,_0x376a14[_0x3de2a8(0x1ee)],!0x0,_0x3458de++);_0x473fa1[_0x3de2a8(0x240)](_0x4864c3);}}if(_0x25516a)for(const [_0x30cb5d,_0x457498]of Object[_0x3de2a8(0x1a2)](_0x25516a)){const _0x20420a=_0x376a14[_0x3de2a8(0x293)][_0x3de2a8(0x28f)](_0x30cb5d);if(!_0x20420a)throw new _0x550911(_0x3de2a8(0x1a6),null);for(const [_0x57bb5e,_0x1fce17]of Object[_0x3de2a8(0x1a2)](_0x457498))if(null!==_0x1fce17){const _0x3a9933=new _0x182252(_0x20420a,_0x57bb5e,null,_0x1fce17,_0x3458de++);_0x473fa1[_0x3de2a8(0x240)](_0x3a9933);}}return _0x473fa1;}async[_0x47e6c8(0x24b)](_0x4ef79a,_0x281ad7,_0x36403d){const _0x4d1c90=_0x47e6c8;this[_0x4d1c90(0x221)]({[_0x4ef79a]:_0x281ad7},{[_0x4ef79a]:_0x36403d})[_0x4d1c90(0x230)]((_0x555270,_0x14904b)=>{const _0x4e49e6=_0x4d1c90;_0x555270[_0x4e49e6(0x1dd)]=this[_0x4e49e6(0x237)][_0x4e49e6(0x1c0)]+_0x14904b,_0x555270[_0x4e49e6(0x26a)]=!0x0,this[_0x4e49e6(0x214)](_0x555270);}),this[_0x4d1c90(0x1ef)](),await this[_0x4d1c90(0x20e)]();}async[_0x47e6c8(0x23a)](_0x537f02,_0x55b51a){const _0x17a9fc=_0x47e6c8;let _0xde4b48;this[_0x17a9fc(0x219)]=_0x537f02[_0x17a9fc(0x27a)];const _0x80fe98=_0x537f02[_0x17a9fc(0x282)]&&!_0x537f02[_0x17a9fc(0x228)],_0x1da5de=_0x80fe98?0x0:_0x537f02[_0x17a9fc(0x28d)][_0x17a9fc(0x1dd)];if(_0x55b51a[_0x17a9fc(0x230)](_0x5f2e87=>{const _0x2759ac=_0x17a9fc;_0x5f2e87[_0x2759ac(0x26a)]=!0x0,_0x5f2e87[_0x2759ac(0x21e)]=_0x537f02[_0x2759ac(0x1ae)],_0x5f2e87[_0x2759ac(0x1b0)]=null;}),_0x80fe98)_0xde4b48=_0x55b51a,this[_0x17a9fc(0x1a5)](_0xde4b48,_0x80fe98);else{if(_0x537f02[_0x17a9fc(0x228)]){const _0x46c532=this[_0x17a9fc(0x221)](_0x537f02[_0x17a9fc(0x228)]);this[_0x17a9fc(0x237)][_0x17a9fc(0x249)][_0x17a9fc(0x1c0)]=-_0x46c532[_0x17a9fc(0x222)],_0x46c532[_0x17a9fc(0x230)](_0x259647=>{const _0xdfa1c9=_0x17a9fc;_0x259647[_0xdfa1c9(0x1dd)]-=_0x46c532[_0xdfa1c9(0x222)],_0x259647[_0xdfa1c9(0x21e)]=_0x537f02[_0xdfa1c9(0x1ae)],_0x259647[_0xdfa1c9(0x26a)]=!0x0,_0x259647[_0xdfa1c9(0x1b0)]=null;}),this[_0x17a9fc(0x1a5)](_0x46c532,!0x0),this[_0x17a9fc(0x1d6)][_0x17a9fc(0x1c0)]=-_0x46c532[_0x17a9fc(0x222)]+this[_0x17a9fc(0x219)],this[_0x17a9fc(0x23b)](_0x46c532);}this[_0x17a9fc(0x237)][_0x17a9fc(0x249)][_0x17a9fc(0x1c0)]=_0x1da5de,_0xde4b48=this[_0x17a9fc(0x262)](_0x537f02[_0x17a9fc(0x28d)],_0x537f02[_0x17a9fc(0x21b)]),await this[_0x17a9fc(0x24c)](_0xde4b48),this[_0x17a9fc(0x1a5)](_0xde4b48,_0x80fe98);}_0x537f02[_0x17a9fc(0x1e1)]&&(this[_0x17a9fc(0x233)][_0x17a9fc(0x1bb)](_0xde4b48,_0x537f02[_0x17a9fc(0x1e1)]),this[_0x17a9fc(0x287)]=_0x537f02[_0x17a9fc(0x1e1)]),this[_0x17a9fc(0x1d6)][_0x17a9fc(0x1c0)]=_0x1da5de+this[_0x17a9fc(0x219)],this[_0x17a9fc(0x23b)](_0xde4b48),_0x55b51a[_0x17a9fc(0x1cc)](_0x599f1f=>{const _0x3ef00d=_0x17a9fc,_0x3bb476=this[_0x3ef00d(0x1bc)](_0x599f1f);return _0x3bb476&&!this[_0x3ef00d(0x235)][_0x3ef00d(0x22b)](_0x3bb476);})[_0x17a9fc(0x230)]((_0x38a24a,_0x4b65b9)=>{const _0x55ba37=_0x17a9fc;_0x38a24a[_0x55ba37(0x1dd)]=this[_0x55ba37(0x237)][_0x55ba37(0x1c0)]+_0x4b65b9,this[_0x55ba37(0x214)](_0x38a24a);}),this[_0x17a9fc(0x223)]()?(this[_0x17a9fc(0x1ca)]=0x0,this[_0x17a9fc(0x1ef)](!0x0),await this[_0x17a9fc(0x20e)]()):(this[_0x17a9fc(0x1d9)]=!0x1,this[_0x17a9fc(0x27d)]());}[_0x47e6c8(0x25b)](_0x2e6f88,_0x34bdc0){const _0x47b67f=_0x47e6c8,_0x519629=_0x34bdc0&&_0x34bdc0[_0x47b67f(0x257)];if(_0x519629&&_0x519629[_0x47b67f(0x211)](_0x47b67f(0x226)))throw _0x34bdc0;const _0x8c9667=this[_0x47b67f(0x21d)][_0x47b67f(0x1c5)][_0x47b67f(0x234)](_0x31a860);throw this[_0x47b67f(0x1d9)]=!0x0,_0x8c9667[_0x47b67f(0x1bd)](),this[_0x47b67f(0x21d)][_0x47b67f(0x22e)](_0x47b67f(0x217)),new _0x550911(_0x2e6f88,this[_0x47b67f(0x21d)],_0x519629?{'originalError':_0x519629}:void 0x0);}[_0x47e6c8(0x214)](_0xc877d0){const _0x2ff349=_0x47e6c8;this[_0x2ff349(0x1b4)][_0x2ff349(0x22b)](_0xc877d0)||(this[_0x2ff349(0x1b4)][_0x2ff349(0x1a0)](_0xc877d0),this[_0x2ff349(0x1a9)][_0x2ff349(0x240)](_0xc877d0),this[_0x2ff349(0x1ad)]||_0x2ff349(0x201)==_0xc877d0[_0x2ff349(0x1fa)]&&!_0xc877d0[_0x2ff349(0x1cf)]||this[_0x2ff349(0x200)]());}[_0x47e6c8(0x1ef)](_0x19496c=!0x1){const _0x4fadda=_0x47e6c8;!_0x19496c&&this[_0x4fadda(0x1d9)]||(this[_0x4fadda(0x1d9)]=!0x0,clearTimeout(this[_0x4fadda(0x29b)]),this[_0x4fadda(0x29b)]=setTimeout(()=>{const _0x435563=_0x4fadda;this[_0x435563(0x244)]()[_0x435563(0x21f)](_0x4eb3a0=>{const _0x5136bf=_0x435563;_0x4eb3a0&&(this[_0x5136bf(0x27d)](),this[_0x5136bf(0x1d9)]=!0x1);})[_0x435563(0x26f)](_0x14d419=>{const _0x6f68b4=_0x435563;this[_0x6f68b4(0x27d)](),this[_0x6f68b4(0x1d9)]=!0x1,function(_0x5d05ef){const _0x408f41=_0x6f68b4;return _0x5d05ef[_0x408f41(0x257)][_0x408f41(0x211)](_0x408f41(0x299))||_0x5d05ef[_0x408f41(0x257)][_0x408f41(0x211)](_0x408f41(0x1f5))||_0x5d05ef[_0x408f41(0x257)][_0x408f41(0x211)](_0x408f41(0x1b5));}(_0x14d419)||this[_0x6f68b4(0x25b)](_0x14d419[_0x6f68b4(0x257)],_0x14d419);});},this[_0x4fadda(0x1ca)]));}[_0x47e6c8(0x20e)](){return new Promise(_0x2a2649=>{const _0x237739=_0x464f;this['on'](_0x237739(0x207),()=>{_0x2a2649();});});}async[_0x47e6c8(0x244)](){const _0x39bc6b=_0x47e6c8,_0x3502b3=this[_0x39bc6b(0x21d)][_0x39bc6b(0x1c5)][_0x39bc6b(0x234)](_0x122314);if(this[_0x39bc6b(0x251)]()&&(_0x3502b3[_0x39bc6b(0x1c7)](),this[_0x39bc6b(0x1dc)]=!0x1),!this[_0x39bc6b(0x223)]())return!0x0;const _0x40c2da=[...this[_0x39bc6b(0x1a9)]];for(const _0x23edc0 of _0x40c2da)_0x23edc0[_0x39bc6b(0x275)]=this[_0x39bc6b(0x237)][_0x39bc6b(0x249)][_0x39bc6b(0x1a1)](_0x23edc0);const _0x2d3b67=this[_0x39bc6b(0x233)][_0x39bc6b(0x248)](_0x40c2da),_0x33d4f2=q++,_0x3b7d1e=this[_0x39bc6b(0x1c8)](_0x40c2da),_0x531e23=await this[_0x39bc6b(0x231)][_0x39bc6b(0x270)](_0x3b7d1e,_0x3b7d1e[_0x39bc6b(0x1dd)],_0x2d3b67);try{return await this[_0x39bc6b(0x1ea)](_0x40c2da,_0x531e23,_0x33d4f2);}catch(_0x25814){return this[_0x39bc6b(0x25b)](_0x39bc6b(0x209),_0x25814);}}async[_0x47e6c8(0x1ea)](_0x249537,_0x3882a5,_0x333efb){const _0x24a8cc=_0x47e6c8;if(_0x24a8cc(0x1e5)in _0x3882a5)throw _0x3882a5[_0x24a8cc(0x1e5)];let _0x13fa77=!0x1;if(_0x3882a5[_0x24a8cc(0x282)]){_0x3882a5[_0x24a8cc(0x1e1)]&&(this[_0x24a8cc(0x287)]=_0x3882a5[_0x24a8cc(0x1e1)]),this[_0x24a8cc(0x1a9)]=this[_0x24a8cc(0x1a9)][_0x24a8cc(0x1cc)](_0x220044=>!_0x249537[_0x24a8cc(0x1d3)](_0x220044));for(const _0x43e3d2 of _0x249537)_0x43e3d2[_0x24a8cc(0x21e)]=_0x24a8cc(0x24f)in _0x3882a5&&_0x3882a5[_0x24a8cc(0x24f)]||void 0x0;$(_0x249537,_0x3882a5[_0x24a8cc(0x1c0)]-_0x249537[_0x24a8cc(0x222)]),this[_0x24a8cc(0x23b)](_0x249537);const _0xd9fac1=_0x249537[_0x24a8cc(0x1cc)](_0x1ca039=>{const _0x1be96e=_0x24a8cc;if(!_0x1ca039[_0x1be96e(0x26a)])return!0x1;const _0x10a4bd=this[_0x1be96e(0x1bc)](_0x1ca039);return _0x10a4bd&&!this[_0x1be96e(0x235)][_0x1be96e(0x22b)](_0x10a4bd);});$(_0xd9fac1,this[_0x24a8cc(0x237)][_0x24a8cc(0x1c0)]),this[_0x24a8cc(0x1a5)](_0xd9fac1),_0x13fa77=!0x0,this[_0x24a8cc(0x1ca)]=this[_0x24a8cc(0x1b6)];}else{const _0x535160=this[_0x24a8cc(0x262)](_0x3882a5[_0x24a8cc(0x28d)],_0x3882a5[_0x24a8cc(0x21b)])[_0x24a8cc(0x1cc)](_0x1f5118=>_0x1f5118[_0x24a8cc(0x1dd)]>=this[_0x24a8cc(0x28c)]);_0x535160[_0x24a8cc(0x230)](_0x143f1c=>this[_0x24a8cc(0x260)](_0x143f1c)),this[_0x24a8cc(0x1a9)]=this[_0x24a8cc(0x1a9)][_0x24a8cc(0x1cc)](_0x1a440f=>!_0x1a440f[_0x24a8cc(0x26a)]||!this[_0x24a8cc(0x235)][_0x24a8cc(0x22b)](this[_0x24a8cc(0x1bc)](_0x1a440f))),this[_0x24a8cc(0x1a9)][_0x24a8cc(0x222)]&&$(this[_0x24a8cc(0x1a9)],this[_0x24a8cc(0x1a9)][0x0][_0x24a8cc(0x1dd)]),await this[_0x24a8cc(0x24c)](_0x535160),_0x13fa77=this[_0x24a8cc(0x1ec)](_0x535160,_0x3882a5[_0x24a8cc(0x1c0)],_0x3882a5[_0x24a8cc(0x1e1)]),this[_0x24a8cc(0x1ca)]=Math[_0x24a8cc(0x225)](this[_0x24a8cc(0x1ca)]/0x2);}return _0x13fa77?!this[_0x24a8cc(0x223)]()||(this[_0x24a8cc(0x1ef)](!0x0),!0x1):this[_0x24a8cc(0x25b)](_0x24a8cc(0x247));}[_0x47e6c8(0x1ec)](_0x28785b,_0x404753,_0x56232b){const _0xb86f0d=_0x47e6c8;try{const _0x1dd5d9={'document':this[_0xb86f0d(0x237)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x31e187,operationsB:_0x2a4f0b,originalOperations:_0xc0ac9b}=_0x2ac34e(_0x28785b,this[_0xb86f0d(0x1a9)],_0x1dd5d9);$(_0x31e187,this[_0xb86f0d(0x237)][_0xb86f0d(0x1c0)]),$(_0x2a4f0b,_0x404753);for(const _0x4f98eb of _0x31e187){const _0x1cc9e5=_0xc0ac9b[_0xb86f0d(0x234)](_0x4f98eb);_0x4f98eb[_0xb86f0d(0x1b0)]=_0x1cc9e5?_0x1cc9e5[_0xb86f0d(0x1b0)]:null;}_0x56232b&&(this[_0xb86f0d(0x233)][_0xb86f0d(0x1bb)](_0x28785b,_0x56232b),this[_0xb86f0d(0x287)]=_0x56232b),this[_0xb86f0d(0x1a9)]=[..._0x2a4f0b],this[_0xb86f0d(0x1a5)](_0x31e187),this[_0xb86f0d(0x23b)](_0x28785b);}catch(_0x260dbc){return console[_0xb86f0d(0x1e5)](_0x260dbc),!0x1;}return!0x0;}[_0x47e6c8(0x1a5)](_0x1e05be,_0x370909=!0x1){const _0x574b1c=_0x47e6c8;this[_0x574b1c(0x21d)][_0x574b1c(0x1f3)][_0x574b1c(0x288)]({'isUndoable':!0x1,'isLocal':!0x1},_0x36e292=>{const _0x396129=_0x574b1c;for(const _0x344df6 of _0x1e05be)this[_0x396129(0x1b4)][_0x396129(0x1a0)](_0x344df6),this[_0x396129(0x260)](_0x344df6),_0x36e292[_0x396129(0x278)][_0x396129(0x22f)](_0x344df6),this[_0x396129(0x21d)][_0x396129(0x1f3)][_0x396129(0x294)](_0x344df6);});}[_0x47e6c8(0x260)](_0x5e01ca){const _0x1d4f03=_0x47e6c8,_0x3c6ecc=this[_0x1d4f03(0x1bc)](_0x5e01ca);_0x3c6ecc&&this[_0x1d4f03(0x235)][_0x1d4f03(0x1a0)](_0x3c6ecc);}[_0x47e6c8(0x1bc)](_0x33e576){const _0x9d6014=_0x47e6c8;let _0x51882a,_0x5ef26d;switch(_0x33e576[_0x9d6014(0x1fa)]){case _0x9d6014(0x1ac):_0x51882a=_0x33e576[_0x9d6014(0x277)][_0x9d6014(0x265)];break;case _0x9d6014(0x201):if(_0x5ef26d=_0x33e576[_0x9d6014(0x268)],!_0x5ef26d)return null;_0x51882a=_0x5ef26d[_0x9d6014(0x265)];break;case _0x9d6014(0x281):_0x51882a=_0x33e576[_0x9d6014(0x265)];break;case _0x9d6014(0x1c2):_0x51882a=_0x33e576[_0x9d6014(0x26b)];break;case _0x9d6014(0x1c9):_0x51882a=_0x33e576[_0x9d6014(0x29c)][_0x9d6014(0x265)];break;default:return null;}return _0x51882a[_0x9d6014(0x22a)];}[_0x47e6c8(0x23b)](_0x53025b){const _0x59106b=_0x47e6c8;_0x53025b[_0x59106b(0x230)](_0x3e1aa9=>{const _0x575af3=_0x59106b,_0xfe7d33=_0x3e1aa9[_0x575af3(0x1fd)]();_0xfe7d33[_0x575af3(0x1b0)]=_0x3e1aa9[_0x575af3(0x1b0)],_0xfe7d33[_0x575af3(0x26a)]=!!_0x3e1aa9[_0x575af3(0x26a)],_0xfe7d33[_0x575af3(0x21e)]=_0x3e1aa9[_0x575af3(0x21e)],_0xfe7d33[_0x575af3(0x1dd)]+=this[_0x575af3(0x219)],_0x3e1aa9[_0x575af3(0x1e0)]&&this[_0x575af3(0x1f6)][_0x575af3(0x1a0)](_0xfe7d33),this[_0x575af3(0x1d6)][_0x575af3(0x22f)](_0xfe7d33);});}[_0x47e6c8(0x1ce)](_0x5d2b5e){const _0x302830=_0x47e6c8,_0x627b8b=this[_0x302830(0x21d)][_0x302830(0x1c5)][_0x302830(0x234)](_0x302830(0x1be)),_0x418958=this[_0x302830(0x21d)][_0x302830(0x289)];_0x5d2b5e||(_0x5d2b5e=_0x249469(_0x418958,_0x302830(0x296))),_0x627b8b[_0x302830(0x1cb)](_0x5d2b5e,{'title':_0x249469(_0x418958,_0x302830(0x22c)),'namespace':_0x302830(0x284)}),this[_0x302830(0x238)]=!0x0,clearTimeout(this[_0x302830(0x29b)]),this[_0x302830(0x1a9)]=[],this[_0x302830(0x21d)][_0x302830(0x1c5)][_0x302830(0x234)](_0x31a860)[_0x302830(0x1bd)]();}[_0x47e6c8(0x200)](){const _0x96677c=_0x47e6c8;this[_0x96677c(0x1ad)]||(this[_0x96677c(0x1ad)]=this[_0x96677c(0x21d)][_0x96677c(0x1c5)][_0x96677c(0x234)](_0xc6be42)[_0x96677c(0x1a0)](_0x249469(this[_0x96677c(0x21d)][_0x96677c(0x289)],_0x96677c(0x256))));}[_0x47e6c8(0x27d)](){const _0x19f7dd=_0x47e6c8;this[_0x19f7dd(0x1ad)]&&(this[_0x19f7dd(0x21d)][_0x19f7dd(0x1c5)][_0x19f7dd(0x234)](_0xc6be42)[_0x19f7dd(0x266)](this[_0x19f7dd(0x1ad)]),this[_0x19f7dd(0x1ad)]=null);}[_0x47e6c8(0x1c8)](_0x3baece){const _0x4b3837=_0x47e6c8,_0x18bc83=_0x3baece[_0x4b3837(0x20f)](_0x5cad6e=>_0x5cad6e[_0x4b3837(0x1de)]());return this[_0x4b3837(0x1b1)][_0x4b3837(0x1e8)](_0x18bc83);}[_0x47e6c8(0x262)](_0x25ccfa,_0x332bc2){const _0x27560a=_0x47e6c8;return this[_0x27560a(0x1b1)][_0x27560a(0x1ba)](_0x25ccfa)[_0x27560a(0x20f)]((_0x40069f,_0x55c75f)=>{const _0x5bcb59=_0x27560a,_0x2a21a1=_0x5bcb59(0x283)==_0x332bc2[_0x55c75f][_0x5bcb59(0x1fa)];if(_0x5bcb59(0x22d)==_0x40069f[_0x5bcb59(0x1b3)]){const _0x187a13=_0x40069f[_0x5bcb59(0x277)][_0x5bcb59(0x265)];!this[_0x5bcb59(0x237)][_0x5bcb59(0x28f)](_0x187a13)&&(this[_0x5bcb59(0x237)][_0x5bcb59(0x27c)](_0x5bcb59(0x1ed),_0x187a13)[_0x5bcb59(0x1aa)]=!0x1);}const _0x32524c=_0x217876[_0x5bcb59(0x258)](_0x40069f,this[_0x5bcb59(0x237)]);return _0x32524c[_0x5bcb59(0x275)]=_0x40069f[_0x5bcb59(0x275)],_0x32524c[_0x5bcb59(0x26a)]=_0x2a21a1,_0x32524c[_0x5bcb59(0x1b0)]=_0x2a21a1?null:_0x332bc2[_0x55c75f][_0x5bcb59(0x1eb)],_0x32524c[_0x5bcb59(0x1e0)]=_0x5bcb59(0x272)===_0x332bc2[_0x55c75f][_0x5bcb59(0x1fa)],_0x32524c[_0x5bcb59(0x21e)]=_0x332bc2[_0x55c75f][_0x5bcb59(0x21e)],_0x32524c;});}[_0x47e6c8(0x28a)](){const _0x8100ce=_0x47e6c8;this[_0x8100ce(0x1dc)]=!0x0,this[_0x8100ce(0x251)]()?this[_0x8100ce(0x1ef)]():this[_0x8100ce(0x1dc)]=!0x1;}[_0x47e6c8(0x251)](){const _0x109763=_0x47e6c8,_0x3ca417=this[_0x109763(0x21d)][_0x109763(0x1c5)][_0x109763(0x234)](_0x422087)[_0x109763(0x269)][_0x109763(0x234)](this[_0x109763(0x264)]);return!this[_0x109763(0x21d)][_0x109763(0x1f9)]&&!!_0x3ca417&&_0x3ca417[_0x109763(0x222)]>0x1&&this[_0x109763(0x1dc)];}[_0x47e6c8(0x223)](){const _0x5520e7=_0x47e6c8;return this[_0x5520e7(0x1a9)][_0x5520e7(0x222)]>0x0||this[_0x5520e7(0x251)]();}}export{l as RealTimeCollaborationClient};class G extends Error{}function $(_0x583bbb,_0x2b79da){const _0x31858a=_0x47e6c8;for(const _0x3ecc7f of _0x583bbb)_0x3ecc7f[_0x31858a(0x1dd)]=_0x2b79da++;}class K{[_0x47e6c8(0x1ab)];[_0x47e6c8(0x1b7)];constructor(_0x37b2c2){const _0x57971a=_0x47e6c8;this[_0x57971a(0x1ab)]=_0x37b2c2,this[_0x57971a(0x1b7)]=new WeakMap();}[_0x47e6c8(0x248)](_0x45d73a){const _0x245b7f=_0x47e6c8;let _0x34ef53=_0x45d73a[_0x245b7f(0x222)];for(;_0x34ef53--;){const _0x507c0a=_0x45d73a[_0x34ef53];if(!this[_0x245b7f(0x1ab)][_0x245b7f(0x22b)](_0x507c0a)){if(!this[_0x245b7f(0x1b7)][_0x245b7f(0x22b)](_0x507c0a)){const _0x51863f=_0x28bb14()[_0x245b7f(0x23e)](0x1,0x12);this[_0x245b7f(0x1b7)][_0x245b7f(0x286)](_0x507c0a,_0x51863f);}return this[_0x245b7f(0x1b7)][_0x245b7f(0x234)](_0x507c0a);}}}[_0x47e6c8(0x1bb)](_0x264281,_0x54b19d){const _0x37a346=_0x47e6c8;if(!_0x54b19d)return;let _0xa3b24a=_0x264281[_0x37a346(0x222)];for(;_0xa3b24a--;){const _0x4d11c3=_0x264281[_0xa3b24a];this[_0x37a346(0x1ab)][_0x37a346(0x22b)](_0x4d11c3)||this[_0x37a346(0x1b7)][_0x37a346(0x286)](_0x4d11c3,_0x54b19d);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1972(_0xef4249,_0x5f2dff){const _0x210184=_0x2101();return _0x1972=function(_0x1972b9,_0x13e1da){_0x1972b9=_0x1972b9-0x65;let _0x5eb3aa=_0x210184[_0x1972b9];return _0x5eb3aa;},_0x1972(_0xef4249,_0x5f2dff);}const _0x322d7d=_0x1972;(function(_0x397267,_0x3acff2){const _0x28d01e=_0x1972,_0x4736f1=_0x397267();while(!![]){try{const _0x14811a=parseInt(_0x28d01e(0x74))/0x1+-parseInt(_0x28d01e(0x8d))/0x2*(-parseInt(_0x28d01e(0x98))/0x3)+parseInt(_0x28d01e(0x89))/0x4+-parseInt(_0x28d01e(0x6c))/0x5+-parseInt(_0x28d01e(0x6a))/0x6+-parseInt(_0x28d01e(0x65))/0x7*(parseInt(_0x28d01e(0x85))/0x8)+parseInt(_0x28d01e(0xa2))/0x9;if(_0x14811a===_0x3acff2)break;else _0x4736f1['push'](_0x4736f1['shift']());}catch(_0x5f274c){_0x4736f1['push'](_0x4736f1['shift']());}}}(_0x2101,0x1f820));import{ContextPlugin as _0x15f353}from'ckeditor5/src/core.js';import{Collection as _0x1b306d,CKEditorError as _0x332ab5}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x483dc6}from'./websocketgateway.js';function _0x2101(){const _0x456e4a=['_uniqueUsersCount','getUserBySessionId','isOfficialPlugin','sessions-unregister-not-exist','_createUser','assign','226662xcIPez','change:state','add','delete','sessionId','fire','state','isMe','requires','allConnectedUsers','_users','plugins','register','_handleSessionAdd','init','stopListening','set','16HlmrjS','role','connected','mySessionId','915212yzlYiP','context','listenTo','sessions-register-already-registered','90NCbykR','_registeredSessions','sessionAdd:','getUserSessions','has','defineMe','orderNumber','getUser','hiddenInPresenceList','pluginName','clear','3oIrtzk','unregister','remove','values','addUser','user','channelConnectedUsers','forEach','isPremiumPlugin','_handleSessionRemove','258480XOmAEw','630798uHlASy','Sessions','channelSessions','get','getUserRole','291066QshRgs','connection','632175EWjFvP','size'];_0x2101=function(){return _0x456e4a;};return _0x2101();}import{Users as _0x3a631f}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x15f353{[_0x322d7d(0x67)];[_0x322d7d(0x9e)];[_0x322d7d(0x7d)];[_0x322d7d(0x8e)];[_0x322d7d(0x6e)];[_0x322d7d(0x7e)];static get[_0x322d7d(0x96)](){const _0x595358=_0x322d7d;return _0x595358(0x66);}static get[_0x322d7d(0x70)](){return!0x0;}static get[_0x322d7d(0xa0)](){return!0x0;}static get[_0x322d7d(0x7c)](){return[_0x483dc6,_0x3a631f];}constructor(_0x424fbf){const _0x37b650=_0x322d7d;super(_0x424fbf),this[_0x37b650(0x67)]=new Map(),this[_0x37b650(0x9e)]=new Map(),this[_0x37b650(0x7d)]=new _0x1b306d(),this[_0x37b650(0x8e)]=new Map(),this[_0x37b650(0x6e)]=0x0,this[_0x37b650(0x7e)]=this[_0x37b650(0x8a)][_0x37b650(0x7f)][_0x37b650(0x68)](_0x3a631f);}[_0x322d7d(0x82)](){const _0x325677=_0x322d7d,_0x4c33c3=this[_0x325677(0x8a)][_0x325677(0x7f)][_0x325677(0x68)](_0x483dc6);this[_0x325677(0x8b)](_0x4c33c3,_0x325677(0x75),(_0x1bc76c,_0x5eaceb,_0x54ad28)=>{const _0x2fa9de=_0x325677;if(_0x2fa9de(0x87)!==_0x54ad28)this[_0x2fa9de(0x67)][_0x2fa9de(0x9f)](_0x2743bd=>_0x2743bd[_0x2fa9de(0x97)]()),this[_0x2fa9de(0x9e)][_0x2fa9de(0x9f)](_0x539471=>_0x539471[_0x2fa9de(0x97)]()),this[_0x2fa9de(0x7d)][_0x2fa9de(0x97)]();else{for(const [_0x4341ee,_0x83b859]of this[_0x2fa9de(0x8e)])for(const _0x34091e of _0x83b859)this[_0x2fa9de(0x81)](_0x4341ee,_0x34091e);}}),this[_0x325677(0x72)](_0x4c33c3[_0x325677(0x6b)]['me'],!0x0);}[_0x322d7d(0x80)](_0x4e32dc,_0x245ac7){const _0x5d401b=_0x322d7d;if(this[_0x5d401b(0x8e)][_0x5d401b(0x91)](_0x4e32dc))throw new _0x332ab5(_0x5d401b(0x8c),null,{'channelId':_0x4e32dc});this[_0x5d401b(0x8e)][_0x5d401b(0x84)](_0x4e32dc,_0x245ac7),this[_0x5d401b(0x67)][_0x5d401b(0x84)](_0x4e32dc,new _0x1b306d()),this[_0x5d401b(0x9e)][_0x5d401b(0x84)](_0x4e32dc,new _0x1b306d()),this[_0x5d401b(0x8b)](_0x245ac7,_0x5d401b(0x76),(_0x4a6093,_0x2d1ebf)=>this[_0x5d401b(0x81)](_0x4e32dc,_0x2d1ebf)),this[_0x5d401b(0x8b)](_0x245ac7,_0x5d401b(0x9a),(_0x2141be,_0x280b0c)=>this[_0x5d401b(0xa1)](_0x4e32dc,_0x280b0c));for(const _0x40748b of _0x245ac7)this[_0x5d401b(0x81)](_0x4e32dc,_0x40748b);}[_0x322d7d(0x99)](_0x5e967e){const _0x4bc6b2=_0x322d7d;if(!this[_0x4bc6b2(0x8e)][_0x4bc6b2(0x91)](_0x5e967e))throw new _0x332ab5(_0x4bc6b2(0x71),null,{'channelId':_0x5e967e});const _0x59f8b0=this[_0x4bc6b2(0x8e)][_0x4bc6b2(0x68)](_0x5e967e);this[_0x4bc6b2(0x83)](_0x59f8b0);for(const _0x277ca7 of _0x59f8b0)_0x4bc6b2(0x87)===this[_0x4bc6b2(0x8a)][_0x4bc6b2(0x7f)][_0x4bc6b2(0x68)](_0x483dc6)[_0x4bc6b2(0x7a)]&&this[_0x4bc6b2(0xa1)](_0x5e967e,_0x277ca7);this[_0x4bc6b2(0x8e)][_0x4bc6b2(0x77)](_0x5e967e),this[_0x4bc6b2(0x67)][_0x4bc6b2(0x77)](_0x5e967e),this[_0x4bc6b2(0x9e)][_0x4bc6b2(0x77)](_0x5e967e);}get[_0x322d7d(0x88)](){const _0x5051ff=_0x322d7d;return this[_0x5051ff(0x8a)][_0x5051ff(0x7f)][_0x5051ff(0x68)](_0x483dc6)[_0x5051ff(0x6b)][_0x5051ff(0x78)];}[_0x322d7d(0x6f)](_0x21be26){const _0x8adaff=_0x322d7d;for(const _0x41ebea of this[_0x8adaff(0x67)][_0x8adaff(0x9b)]())for(const _0x5d3d8f of _0x41ebea)if(_0x5d3d8f['id']===_0x21be26)return _0x5d3d8f[_0x8adaff(0x9d)];}[_0x322d7d(0x90)](_0x346c7c,_0x43626b){const _0x504f35=_0x322d7d,_0x1d7a95=_0x43626b?[this[_0x504f35(0x67)][_0x504f35(0x68)](_0x43626b)]:this[_0x504f35(0x67)][_0x504f35(0x9b)](),_0x37d339=new Set();for(const _0x43d31f of _0x1d7a95)for(const _0xb0caa1 of _0x43d31f)_0xb0caa1[_0x504f35(0x9d)]['id']===_0x346c7c['id']&&_0x37d339[_0x504f35(0x76)](_0xb0caa1['id']);return _0x37d339;}[_0x322d7d(0x69)](_0x3fb07){const _0x4affa1=_0x322d7d;for(const _0x258aa8 of this[_0x4affa1(0x67)][_0x4affa1(0x9b)]())for(const _0x52be5f of _0x258aa8)if(_0x52be5f[_0x4affa1(0x9d)]===_0x3fb07)return _0x52be5f[_0x4affa1(0x86)];}[_0x322d7d(0x81)](_0x418d08,_0x2d1c7e){const _0x408033=_0x322d7d;if(_0x408033(0x87)!==this[_0x408033(0x8a)][_0x408033(0x7f)][_0x408033(0x68)](_0x483dc6)[_0x408033(0x7a)])return;const _0x493af6=_0x2d1c7e[_0x408033(0x9d)],_0x3d9266=this[_0x408033(0x7e)][_0x408033(0x94)](_0x493af6['id'])||this[_0x408033(0x72)](_0x493af6),_0x232da2=Object[_0x408033(0x73)]({},_0x2d1c7e,{'user':_0x3d9266});if(this[_0x408033(0x67)][_0x408033(0x68)](_0x418d08)[_0x408033(0x76)](_0x232da2),!_0x493af6[_0x408033(0x95)]){const _0x1e9dc1=this[_0x408033(0x9e)][_0x408033(0x68)](_0x418d08);_0x1e9dc1[_0x408033(0x91)](_0x3d9266['id'])||_0x1e9dc1[_0x408033(0x76)](_0x3d9266),this[_0x408033(0x7d)][_0x408033(0x91)](_0x3d9266['id'])||_0x493af6[_0x408033(0x95)]||this[_0x408033(0x7d)][_0x408033(0x76)](_0x3d9266,_0x3d9266[_0x408033(0x7b)]?0x0:void 0x0);}this[_0x408033(0x79)](_0x408033(0x8f)+_0x418d08,{'channelId':_0x418d08,'session':_0x232da2});}[_0x322d7d(0xa1)](_0x25757f,_0x46f48f){const _0x17d681=_0x322d7d;if(_0x17d681(0x87)!==this[_0x17d681(0x8a)][_0x17d681(0x7f)][_0x17d681(0x68)](_0x483dc6)[_0x17d681(0x7a)])return;const _0xfcbbc5=this[_0x17d681(0x9e)][_0x17d681(0x68)](_0x25757f),_0x20e2fe=_0x46f48f[_0x17d681(0x9d)];_0x20e2fe['id']&&(this[_0x17d681(0x67)][_0x17d681(0x68)](_0x25757f)[_0x17d681(0x9a)](_0x46f48f['id']),_0xfcbbc5[_0x17d681(0x91)](_0x20e2fe['id'])&&!this[_0x17d681(0x90)](_0x20e2fe,_0x25757f)[_0x17d681(0x6d)]&&_0xfcbbc5[_0x17d681(0x9a)](_0x20e2fe['id']),this[_0x17d681(0x7d)][_0x17d681(0x68)](_0x20e2fe['id'])&&!this[_0x17d681(0x90)](_0x20e2fe)[_0x17d681(0x6d)]&&this[_0x17d681(0x7d)][_0x17d681(0x9a)](_0x20e2fe['id']));}[_0x322d7d(0x72)](_0x3e25de,_0x51adaf){const _0x3cf02e=_0x322d7d,_0x31ed15=this[_0x3cf02e(0x7e)][_0x3cf02e(0x9c)](_0x3e25de);return _0x51adaf&&this[_0x3cf02e(0x7e)][_0x3cf02e(0x92)](_0x3e25de['id']),_0x31ed15[_0x3cf02e(0x93)]=this[_0x3cf02e(0x6e)]++,_0x31ed15;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x14fe40=_0x4449;(function(_0x9ee19c,_0x33f16d){const _0x5df398=_0x4449,_0x4d44f9=_0x9ee19c();while(!![]){try{const _0x147b41=-parseInt(_0x5df398(0xf7))/0x1+-parseInt(_0x5df398(0xe0))/0x2*(parseInt(_0x5df398(0xe8))/0x3)+parseInt(_0x5df398(0x149))/0x4*(parseInt(_0x5df398(0xe3))/0x5)+-parseInt(_0x5df398(0x146))/0x6*(-parseInt(_0x5df398(0x131))/0x7)+-parseInt(_0x5df398(0x127))/0x8*(parseInt(_0x5df398(0x10e))/0x9)+-parseInt(_0x5df398(0x10f))/0xa+-parseInt(_0x5df398(0x159))/0xb*(-parseInt(_0x5df398(0x142))/0xc);if(_0x147b41===_0x33f16d)break;else _0x4d44f9['push'](_0x4d44f9['shift']());}catch(_0x3ea700){_0x4d44f9['push'](_0x4d44f9['shift']());}}}(_0x515f,0xbaa31));import{Plugin as _0x12bf96}from'ckeditor5/src/core.js';import{global as _0x53e57f,DomEmitterMixin as _0x1d6387}from'ckeditor5/src/utils.js';import{Sessions as _0x5263e1}from'./sessions.js';function _0x4449(_0xb259c8,_0x2d9d5d){const _0x515f49=_0x515f();return _0x4449=function(_0x4449e8,_0x1573c4){_0x4449e8=_0x4449e8-0xd9;let _0x4ce044=_0x515f49[_0x4449e8];return _0x4ce044;},_0x4449(_0xb259c8,_0x2d9d5d);}import{ModelLiveRange as _0x144d18}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x12bf96{[_0x14fe40(0x13b)]=new(_0x1d6387())();static get[_0x14fe40(0x137)](){return[_0x5263e1];}static get[_0x14fe40(0x102)](){const _0x194be0=_0x14fe40;return _0x194be0(0xdd);}static get[_0x14fe40(0x129)](){return!0x0;}static get[_0x14fe40(0xf2)](){return!0x0;}[_0x14fe40(0x15d)](){const _0x976dd=_0x14fe40,_0x256506=this[_0x976dd(0x109)],_0x5a1cfa=_0x256506[_0x976dd(0x163)][_0x976dd(0x11f)](_0x5263e1);_0x256506[_0x976dd(0x13d)][_0x976dd(0xe2)](_0x976dd(0x115))[_0x976dd(0xed)]({'model':_0x976dd(0xdf),'view':(_0x1259e4,{writer:_0x43d652})=>function(_0x48f50a,_0x31095e,_0x9f391,_0x2b2efb){const _0x10a787=_0x976dd,_0x5d5fcc=_0x48f50a[_0x10a787(0xf5)][_0x10a787(0x138)](':')[0x2],_0x5c8236=_0x9f391[_0x10a787(0xda)](_0x5d5fcc);if(!_0x5c8236||_0x5d5fcc===_0x9f391[_0x10a787(0x165)])return;if(!_0x2b2efb[_0x10a787(0x152)][_0x10a787(0x148)][_0x10a787(0x144)](_0x48f50a[_0x10a787(0x10b)][_0x10a787(0xfa)],_0x10a787(0x139)))return;const _0x5d8bed={'class':_0x10a787(0x132)+_0x5c8236[_0x10a787(0xfb)][_0x10a787(0xfc)](),'data-name':_0x5c8236[_0x10a787(0x160)],'data-session-id':_0x5d5fcc},_0x255498=_0x2b2efb[_0x10a787(0x152)][_0x10a787(0x108)][_0x10a787(0x11f)](_0x48f50a[_0x10a787(0xf5)]),_0x17fd58=_0x255498[_0x10a787(0x124)](),_0x3ad5ac=_0x17fd58[_0x10a787(0x12d)],_0x662cad=_0x2b2efb[_0x10a787(0x152)][_0x10a787(0x148)];if(_0x3ad5ac&&_0x662cad[_0x10a787(0xe1)](_0x3ad5ac)&&_0x662cad[_0x10a787(0xe5)](_0x3ad5ac)&&!_0x2b2efb[_0x10a787(0x152)][_0x10a787(0x108)][_0x10a787(0x11f)](_0x10a787(0xe7)+_0x5d5fcc)[_0x10a787(0x12e)]()[_0x10a787(0x12b)])return;const _0x975d02=_0x17fd58[_0x10a787(0x133)];return _0x2b2efb[_0x10a787(0x152)][_0x10a787(0x148)][_0x10a787(0xe9)](_0x975d02)&&!_0x2b2efb[_0x10a787(0x152)][_0x10a787(0x10c)](_0x975d02)&&(_0x5d8bed[_0x10a787(0x135)]=!0x1),function(_0x387fe5,_0x55492d,_0x1441ed){const _0x4897cf=_0x10a787,_0x52bd90=_0x387fe5[_0x4897cf(0x119)](_0x4897cf(0x162),_0x55492d);return _0x387fe5[_0x4897cf(0x11a)](_0x4897cf(0xfe),!0x0,_0x52bd90),_0x52bd90[_0x4897cf(0x116)]=function(_0x5618a3){const _0x4ded61=_0x4897cf,_0x330b07=this[_0x4ded61(0x126)](_0x5618a3),_0x5d10ab=document[_0x4ded61(0xff)](_0x4ded61(0x162));return _0x5d10ab[_0x4ded61(0x14c)][_0x4ded61(0x113)](_0x4ded61(0xf4)),_0x5d10ab[_0x4ded61(0xea)](_0x4ded61(0x135),_0x4ded61(0xec)),_0x5d10ab[_0x4ded61(0xea)](_0x4ded61(0x161),_0x4ded61(0xec)),_0x5d10ab[_0x4ded61(0x143)]=_0x1441ed[_0x4ded61(0x160)],_0x330b07[_0x4ded61(0x101)]=_0x4ded61(0x15f)+_0x5d10ab[_0x4ded61(0x128)]+'',_0x330b07[_0x4ded61(0x154)](_0x4ded61(0x117),()=>{const _0x3a97ae=_0x4ded61;_0x330b07[_0x3a97ae(0x14c)][_0x3a97ae(0x113)](_0x3a97ae(0xf9));}),_0x330b07[_0x4ded61(0x154)](_0x4ded61(0x112),()=>{const _0x409c1d=_0x4ded61;_0x330b07[_0x409c1d(0x14c)][_0x409c1d(0x121)](_0x409c1d(0xf9));}),_0x330b07;},_0x52bd90[_0x4897cf(0x153)]=function(_0x154f24){const _0x4b06c7=_0x4897cf;return!(!this[_0x4b06c7(0x105)](_0x4b06c7(0xfe))||!_0x154f24[_0x4b06c7(0x105)](_0x4b06c7(0xfe))||this[_0x4b06c7(0x158)](_0x4b06c7(0x14b))!=_0x154f24[_0x4b06c7(0x158)](_0x4b06c7(0x14b)));},_0x52bd90;}(_0x31095e,_0x5d8bed,_0x5c8236);}(_0x1259e4,_0x43d652,_0x5a1cfa,_0x256506)}),_0x256506[_0x976dd(0x13d)][_0x976dd(0xe2)](_0x976dd(0x115))[_0x976dd(0x15e)]({'model':_0x976dd(0x13f),'view':_0x5c11b3=>function(_0x33ec1e,_0x128edc){const _0x2f10f7=_0x976dd,_0x3c7e33=_0x33ec1e[_0x2f10f7(0xf5)][_0x2f10f7(0x138)](':')[0x2];if(_0x3c7e33===_0x128edc[_0x2f10f7(0x165)])return null;const _0xaf43dd=_0x128edc[_0x2f10f7(0xda)](_0x3c7e33);if(!_0xaf43dd)return{'id':_0x3c7e33,'classes':[]};return{'id':_0x3c7e33,'classes':[_0x2f10f7(0x118),_0xaf43dd[_0x2f10f7(0xfb)][_0x2f10f7(0xee)]()],'attributes':{'data-session-id':_0x3c7e33},'priority':0x7d0+_0xaf43dd[_0x2f10f7(0x134)]};}(_0x5c11b3,_0x5a1cfa)}),function(_0x4559a4){const _0x429083=_0x976dd,_0x42940a=_0x4559a4[_0x429083(0x152)],_0x3c227b=new Map(),_0x74a11d=_0x4559a4[_0x429083(0x163)][_0x429083(0x11f)](_0x5263e1);_0x42940a[_0x429083(0x108)]['on'](_0x429083(0x130),(_0x48d2fa,_0x2239fb,_0x50f031,_0x1a2a59)=>{const _0x1ceeb6=_0x429083;if(!_0x1a2a59&&_0x3c227b[_0x1ceeb6(0x11f)](_0x2239fb[_0x1ceeb6(0x160)]))return _0x3c227b[_0x1ceeb6(0x11f)](_0x2239fb[_0x1ceeb6(0x160)])[_0x1ceeb6(0x110)](),void _0x3c227b[_0x1ceeb6(0xf8)](_0x2239fb[_0x1ceeb6(0x160)]);const _0x25d449=_0x2239fb[_0x1ceeb6(0x160)][_0x1ceeb6(0x138)](':')[0x2];if(_0x25d449===_0x74a11d[_0x1ceeb6(0x165)])return;const _0x5bb4d0=_0x1ceeb6(0x13e)+_0x25d449;_0x42940a[_0x1ceeb6(0x108)][_0x1ceeb6(0x11d)](_0x5bb4d0)&&_0x4559a4[_0x1ceeb6(0x123)][_0x1ceeb6(0x114)](_0x5bb4d0),_0x2239fb['on'](_0x1ceeb6(0x15a),(_0x332de7,_0x154d55,_0x5a4e1b)=>{const _0x279f11=_0x1ceeb6;if(_0x279f11(0x10d)!=_0x154d55[_0x279f11(0x12c)][_0x279f11(0xde)]&&_0x279f11(0x10d)==_0x2239fb[_0x279f11(0x12e)]()[_0x279f11(0x12c)][_0x279f11(0xde)]&&!_0x3c227b[_0x279f11(0x11d)](_0x2239fb[_0x279f11(0x160)])){const _0x34430d=_0x42940a[_0x279f11(0x148)][_0x279f11(0x107)](_0x5a4e1b[_0x279f11(0x15c)]);if(_0x34430d){const _0x48050e=_0x144d18[_0x279f11(0x100)](_0x34430d);_0x3c227b[_0x279f11(0xf0)](_0x2239fb[_0x279f11(0x160)],_0x48050e),_0x48050e['on'](_0x279f11(0x15a),(_0x39b115,_0x1ebd41,_0x103fb8)=>{const _0x36c589=_0x279f11;if(_0x36c589(0x10d)==_0x48050e[_0x36c589(0x12c)][_0x36c589(0xde)]){const _0x56c858=_0x42940a[_0x36c589(0x148)][_0x36c589(0x107)](_0x103fb8[_0x36c589(0x15c)]);_0x56c858?(_0x48050e[_0x36c589(0xfa)]=_0x56c858[_0x36c589(0xfa)],_0x48050e[_0x36c589(0x11b)]=_0x56c858[_0x36c589(0x11b)]):(_0x3c227b[_0x36c589(0xf8)](_0x2239fb[_0x36c589(0x160)]),_0x48050e[_0x36c589(0x110)]());}});}}});}),_0x42940a[_0x429083(0xd9)]['on'](_0x429083(0x14a),()=>{const _0x278982=_0x429083;_0x3c227b[_0x278982(0xe4)]>0x0&&_0x42940a[_0x278982(0x125)]({'isUndoable':!0x1},_0x8dd7c7=>{const _0x2243a1=_0x278982;for(const [_0x3e4f55,_0x88d2b5]of _0x3c227b)_0x2243a1(0x10d)==_0x42940a[_0x2243a1(0x108)][_0x2243a1(0x11f)](_0x3e4f55)[_0x2243a1(0x12e)]()[_0x2243a1(0x12c)][_0x2243a1(0xde)]&&(te(_0x3e4f55[_0x2243a1(0x138)](':')[0x2],_0x88d2b5[_0x2243a1(0x164)](),_0x42940a,_0x8dd7c7),_0x88d2b5[_0x2243a1(0x110)]());_0x3c227b[_0x2243a1(0x14e)]();});});}(_0x256506),this[_0x976dd(0x13b)][_0x976dd(0x10a)](_0x53e57f[_0x976dd(0xd9)],_0x976dd(0x150),(_0x1195e6,{key:_0x3212e7})=>{const _0x277cad=_0x976dd;_0x277cad(0x120)===_0x3212e7&&function(_0x73e08){const _0xaf7602=_0x277cad;_0x73e08[_0xaf7602(0x123)][_0xaf7602(0x145)][_0xaf7602(0x14a)](_0x5a2552=>{const _0x36fd3b=_0xaf7602;for(const _0x155028 of _0x73e08[_0x36fd3b(0x152)][_0x36fd3b(0x108)]){if(!_0x155028[_0x36fd3b(0x160)][_0x36fd3b(0x11c)](_0x36fd3b(0xdf)))continue;const _0x2b514c=_0x73e08[_0x36fd3b(0x123)][_0x36fd3b(0xf1)][_0x36fd3b(0x140)](_0x155028[_0x36fd3b(0x160)]);if(_0x2b514c){for(const _0x371be3 of _0x2b514c)_0x5a2552[_0x36fd3b(0x13a)](_0x36fd3b(0xf9),_0x371be3);}}});}(_0x256506);},{'useCapture':!0x0});}[_0x14fe40(0xeb)](){const _0x427394=_0x14fe40,_0x2633f6=this[_0x427394(0x109)],_0x29b168=_0x2633f6[_0x427394(0x156)][_0x427394(0x11f)](_0x427394(0x14f));_0x29b168&&_0x2633f6[_0x427394(0x152)]['on'](_0x427394(0x104),(_0x3df06a,_0x160a61)=>{const _0x303995=_0x427394,_0x5ac386=_0x160a61[0x0];if(!_0x5ac386[_0x303995(0x122)])return;if(_0x303995(0xfd)!=_0x5ac386[_0x303995(0x103)]||!_0x5ac386[_0x303995(0x160)][_0x303995(0x11c)](_0x303995(0xdc)))return;const _0x11ea1d=_0x5ac386[_0x303995(0x106)];_0x29b168[_0x303995(0x147)][_0x303995(0x11d)](_0x11ea1d)&&(_0x5ac386[_0x303995(0xf6)]=_0x5ac386[_0x303995(0xe6)]?_0x2633f6[_0x303995(0x152)][_0x303995(0x15b)](_0x5ac386[_0x303995(0xe6)][_0x303995(0xfa)],_0x5ac386[_0x303995(0xe6)][_0x303995(0x11b)]):null);},{'priority':_0x427394(0xf3)});}[_0x14fe40(0x141)](){const _0x52754f=_0x14fe40;return this[_0x52754f(0x13b)][_0x52754f(0x151)](),super[_0x52754f(0x141)]();}[_0x14fe40(0x136)](){const _0x41928c=_0x14fe40,_0x27e324=this[_0x41928c(0x109)],_0x42d7cc=_0x27e324[_0x41928c(0x152)][_0x41928c(0xd9)],_0x3e5ee1=_0x27e324[_0x41928c(0x163)][_0x41928c(0x11f)](_0x5263e1);_0x27e324[_0x41928c(0x152)][_0x41928c(0x125)]({'isUndoable':!0x1},_0x14c820=>{const _0x2d9f1a=_0x41928c,_0x43be64=_0x2d9f1a(0xe7)+_0x3e5ee1[_0x2d9f1a(0x165)],_0x3c22cf=_0x2d9f1a(0x13e)+_0x3e5ee1[_0x2d9f1a(0x165)],_0x172ccf=_0x27e324[_0x2d9f1a(0x152)][_0x2d9f1a(0x108)][_0x2d9f1a(0x11d)](_0x43be64);_0x27e324[_0x2d9f1a(0x123)][_0x2d9f1a(0x145)][_0x2d9f1a(0xef)]?te(_0x3e5ee1[_0x2d9f1a(0x165)],_0x42d7cc[_0x2d9f1a(0x11e)][_0x2d9f1a(0x12a)](),_0x27e324[_0x2d9f1a(0x152)],_0x14c820):_0x172ccf&&(_0x14c820[_0x2d9f1a(0x111)](_0x43be64),_0x14c820[_0x2d9f1a(0x111)](_0x3c22cf));});}}function _0x515f(){const _0x15e898=['574vEBrNn','isObject','for','5552785DOzcoi','size','isInline','oldRange','user:range:','13326fFGxhf','isLimit','setAttribute','afterInit','false','markerToElement','getSelectionClass','hasDomSelection','set','mapper','isPremiumPlugin','highest','ck-user__marker-tooltip','markerName','newRange','807337eQAYxD','delete','ck-user__marker_hovered','start','color','getMarkerClass','marker','userPositionMarker','createElement','fromRange','innerHTML','pluginName','type','applyOperation','getCustomProperty','batch','getNearestSelectionRange','markers','editor','listenTo','markerRange','hasContent','$graveyard','9805626dsCQlX','14888960dthlGn','detach','removeMarker','mouseleave','add','reconvertMarker','editingDowncast','render','mouseenter','ck-user__selection','createUIElement','setCustomProperty','end','startsWith','has','selection','get','Escape','remove','isDocumentOperation','editing','getStart','enqueueChange','toDomElement','8cujpli','outerHTML','isOfficialPlugin','getFirstRange','isCollapsed','root','nodeAfter','getRange','addMarker','update:user:range','7EsJfIv','ck-user__marker\x20','parent','orderNumber','contenteditable','createUserMarkerOperations','requires','split','$text','removeClass','_domEmitter','element','conversion','user:position:','user:range','markerNameToElements','destroy','4308lkEDeD','textContent','checkChild','view','4939404aTUlRz','_createdBatches','schema','4IGhEwS','change','data-session-id','classList','getPositions','clear','undo','keydown','stopListening','model','isSimilar','addEventListener','tableCell','commands','getContainedElement','getAttribute','106975QriOhC','change:range','createRange','deletionPosition','init','markerToHighlight','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','name','spellcheck','span','plugins','toRange','mySessionId','document','getUserBySessionId','updateMarker','user:','UserMarkers','rootName','user:position'];_0x515f=function(){return _0x15e898;};return _0x515f();}function te(_0x3ffd9e,_0x5d042e,_0x3ea4d4,_0x1f5bb1){const _0x3c7641=_0x14fe40,_0x6a8ea=_0x3c7641(0xe7)+_0x3ffd9e,_0x4946c1=_0x3c7641(0x13e)+_0x3ffd9e,_0x4c0893=_0x5d042e[_0x3c7641(0x157)]();let _0x1cc1db=_0x5d042e[_0x3c7641(0xfa)];if(_0x4c0893&&_0x4c0893['is'](_0x3c7641(0x13c),_0x3c7641(0x155))){const _0x1247f0=function(_0x15d457,_0x5ef1c0){const _0x58dda1=_0x3c7641;for(const _0xd37ce6 of _0x15d457[_0x58dda1(0x14d)]())if(_0x5ef1c0[_0x58dda1(0x148)][_0x58dda1(0x144)](_0xd37ce6,_0x58dda1(0x139)))return _0xd37ce6;}(_0x5d042e,_0x3ea4d4);_0x1247f0&&(_0x1cc1db=_0x1247f0,_0x5d042e=_0x1f5bb1[_0x3c7641(0x15b)](_0x1cc1db));}const _0x410a35=_0x1f5bb1[_0x3c7641(0x15b)](_0x1cc1db);_0x3ea4d4[_0x3c7641(0x108)][_0x3c7641(0x11d)](_0x6a8ea)?(_0x1f5bb1[_0x3c7641(0xdb)](_0x6a8ea,{'range':_0x5d042e}),_0x1f5bb1[_0x3c7641(0xdb)](_0x4946c1,{'range':_0x410a35})):(_0x1f5bb1[_0x3c7641(0x12f)](_0x6a8ea,{'range':_0x5d042e,'usingOperation':!0x0}),_0x1f5bb1[_0x3c7641(0x12f)](_0x4946c1,{'range':_0x410a35,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x39e27a=_0x1b49;(function(_0xc939a8,_0x4fd4a9){const _0x28a1d4=_0x1b49,_0x10c60f=_0xc939a8();while(!![]){try{const _0x18cfb6=-parseInt(_0x28a1d4(0x1c4))/0x1*(parseInt(_0x28a1d4(0x1f9))/0x2)+parseInt(_0x28a1d4(0x1b6))/0x3*(-parseInt(_0x28a1d4(0x1f7))/0x4)+-parseInt(_0x28a1d4(0x19f))/0x5+-parseInt(_0x28a1d4(0x18d))/0x6+-parseInt(_0x28a1d4(0x1e2))/0x7*(parseInt(_0x28a1d4(0x182))/0x8)+-parseInt(_0x28a1d4(0x181))/0x9+parseInt(_0x28a1d4(0x1b9))/0xa*(parseInt(_0x28a1d4(0x1b3))/0xb);if(_0x18cfb6===_0x4fd4a9)break;else _0x10c60f['push'](_0x10c60f['shift']());}catch(_0xbcec9){_0x10c60f['push'](_0x10c60f['shift']());}}}(_0x10be,0x3e1ae));import{Plugin as _0x237aa2}from'ckeditor5/src/core.js';function _0x1b49(_0x5c5d1e,_0x3a3231){const _0x10be29=_0x10be();return _0x1b49=function(_0x1b4944,_0x5d1c78){_0x1b4944=_0x1b4944-0x177;let _0x1be2a4=_0x10be29[_0x1b4944];return _0x1be2a4;},_0x1b49(_0x5c5d1e,_0x3a3231);}import{global as _0x581d10,DomEmitterMixin as _0x5088f6}from'ckeditor5/src/utils.js';function _0x10be(){const _0x3a3b43=['editingDowncast','keydown','textContent','toRange','1965556BOlIPw','remove','1922ImMyqs','end','user:range','isOfficialPlugin','root','ck-user__marker_hovered','getCustomProperty','_domEmitter','afterInit','removeClass','classList','mouseleave','UserMarkers','highest','isLimit','mySessionId','addMarker','ck-user__marker\x20','editor','enqueueChange','1598175sCzbrc','16UmIhZm','isPremiumPlugin','view','render','set','$text','clear','markerRange','name','updateMarker','markerToHighlight','2967780waSNHg','toDomElement','outerHTML','removeMarker','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','Escape','isInline','undo','_createdBatches','getFirstRange','getPositions','plugins','getStart','user:','has','listenTo','schema','document','1757630CgcRlQ','selection','setAttribute','getSelectionClass','isObject','requires','data-session-id','span','change','fromRange','getContainedElement','nodeAfter','hasDomSelection','createRange','isDocumentOperation','isSimilar','pluginName','ck-user__marker-tooltip','editing','startsWith','11qztKgQ','getUserBySessionId','add','3sxNVIg','parent','applyOperation','21396310IGtlgX','delete','stopListening','model','marker','addEventListener','getAttribute','orderNumber','update:user:range','reconvertMarker','commands','227VWdtvm','markers','innerHTML','userPositionMarker','contenteditable','mapper','user:position:','spellcheck','isCollapsed','user:position','getNearestSelectionRange','rootName','hasContent','detach','getRange','for','destroy','createUIElement','markerToElement','change:range','false','oldRange','checkChild','conversion','newRange','$graveyard','markerName','ck-user__selection','getMarkerClass','createUserMarkerOperations','531937GDqbvV','markerNameToElements','size','setCustomProperty','init','type','mouseenter','element','createElement','split','color','tableCell','deletionPosition','user:range:','start','batch','get'];_0x10be=function(){return _0x3a3b43;};return _0x10be();}import{Sessions as _0x219107}from'./sessions.js';import{ModelLiveRange as _0x57f76f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x237aa2{[_0x39e27a(0x200)]=new(_0x5088f6())();static get[_0x39e27a(0x1a4)](){return[_0x219107];}static get[_0x39e27a(0x1af)](){const _0x3e1bf5=_0x39e27a;return _0x3e1bf5(0x179);}static get[_0x39e27a(0x1fc)](){return!0x0;}static get[_0x39e27a(0x183)](){return!0x0;}[_0x39e27a(0x1e6)](){const _0x251ea1=_0x39e27a,_0x4a0555=this[_0x251ea1(0x17f)],_0x5a33b4=_0x4a0555[_0x251ea1(0x198)][_0x251ea1(0x1f2)](_0x219107);_0x4a0555[_0x251ea1(0x1db)][_0x251ea1(0x1d3)](_0x251ea1(0x1f3))[_0x251ea1(0x1d6)]({'model':_0x251ea1(0x1cd),'view':(_0x3cb3ca,{writer:_0x1e7bfb})=>function(_0x3721a3,_0x14e6b6,_0x561c8d,_0x494d70){const _0x74df6f=_0x251ea1,_0x2d22e7=_0x3721a3[_0x74df6f(0x1de)][_0x74df6f(0x1eb)](':')[0x2],_0x33e7f3=_0x561c8d[_0x74df6f(0x1b4)](_0x2d22e7);if(!_0x33e7f3||_0x2d22e7===_0x561c8d[_0x74df6f(0x17c)])return;if(!_0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x19d)][_0x74df6f(0x1da)](_0x3721a3[_0x74df6f(0x189)][_0x74df6f(0x1f0)],_0x74df6f(0x187)))return;const _0xb9ea03={'class':_0x74df6f(0x17e)+_0x33e7f3[_0x74df6f(0x1ec)][_0x74df6f(0x1e0)](),'data-name':_0x33e7f3[_0x74df6f(0x18a)],'data-session-id':_0x2d22e7},_0x4096d1=_0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x1c5)][_0x74df6f(0x1f2)](_0x3721a3[_0x74df6f(0x1de)]),_0x345a3d=_0x4096d1[_0x74df6f(0x199)](),_0x1ce670=_0x345a3d[_0x74df6f(0x1aa)],_0x343fe9=_0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x19d)];if(_0x1ce670&&_0x343fe9[_0x74df6f(0x1a3)](_0x1ce670)&&_0x343fe9[_0x74df6f(0x193)](_0x1ce670)&&!_0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x1c5)][_0x74df6f(0x1f2)](_0x74df6f(0x1ef)+_0x2d22e7)[_0x74df6f(0x1d2)]()[_0x74df6f(0x1cc)])return;const _0x43804b=_0x345a3d[_0x74df6f(0x1b7)];return _0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x19d)][_0x74df6f(0x17b)](_0x43804b)&&!_0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x1d0)](_0x43804b)&&(_0xb9ea03[_0x74df6f(0x1c8)]=!0x1),function(_0x9291ed,_0x20a5ba,_0x2f14fa){const _0x2403f8=_0x74df6f,_0x16a7e5=_0x9291ed[_0x2403f8(0x1d5)](_0x2403f8(0x1a6),_0x20a5ba);return _0x9291ed[_0x2403f8(0x1e5)](_0x2403f8(0x1c7),!0x0,_0x16a7e5),_0x16a7e5[_0x2403f8(0x185)]=function(_0x283693){const _0x4d7dd8=_0x2403f8,_0x3b7cfd=this[_0x4d7dd8(0x18e)](_0x283693),_0x2a742d=document[_0x4d7dd8(0x1ea)](_0x4d7dd8(0x1a6));return _0x2a742d[_0x4d7dd8(0x177)][_0x4d7dd8(0x1b5)](_0x4d7dd8(0x1b0)),_0x2a742d[_0x4d7dd8(0x1a1)](_0x4d7dd8(0x1c8),_0x4d7dd8(0x1d8)),_0x2a742d[_0x4d7dd8(0x1a1)](_0x4d7dd8(0x1cb),_0x4d7dd8(0x1d8)),_0x2a742d[_0x4d7dd8(0x1f5)]=_0x2f14fa[_0x4d7dd8(0x18a)],_0x3b7cfd[_0x4d7dd8(0x1c6)]=_0x4d7dd8(0x191)+_0x2a742d[_0x4d7dd8(0x18f)]+'',_0x3b7cfd[_0x4d7dd8(0x1be)](_0x4d7dd8(0x1e8),()=>{const _0x5135c9=_0x4d7dd8;_0x3b7cfd[_0x5135c9(0x177)][_0x5135c9(0x1b5)](_0x5135c9(0x1fe));}),_0x3b7cfd[_0x4d7dd8(0x1be)](_0x4d7dd8(0x178),()=>{const _0x11feb1=_0x4d7dd8;_0x3b7cfd[_0x11feb1(0x177)][_0x11feb1(0x1f8)](_0x11feb1(0x1fe));}),_0x3b7cfd;},_0x16a7e5[_0x2403f8(0x1ae)]=function(_0x165430){const _0x8dfa34=_0x2403f8;return!(!this[_0x8dfa34(0x1ff)](_0x8dfa34(0x1c7))||!_0x165430[_0x8dfa34(0x1ff)](_0x8dfa34(0x1c7))||this[_0x8dfa34(0x1bf)](_0x8dfa34(0x1a5))!=_0x165430[_0x8dfa34(0x1bf)](_0x8dfa34(0x1a5)));},_0x16a7e5;}(_0x14e6b6,_0xb9ea03,_0x33e7f3);}(_0x3cb3ca,_0x1e7bfb,_0x5a33b4,_0x4a0555)}),_0x4a0555[_0x251ea1(0x1db)][_0x251ea1(0x1d3)](_0x251ea1(0x1f3))[_0x251ea1(0x18c)]({'model':_0x251ea1(0x1fb),'view':_0x1ec90d=>function(_0x4f9d8f,_0x122d14){const _0x23db51=_0x251ea1,_0x433447=_0x4f9d8f[_0x23db51(0x1de)][_0x23db51(0x1eb)](':')[0x2];if(_0x433447===_0x122d14[_0x23db51(0x17c)])return null;const _0x224f0e=_0x122d14[_0x23db51(0x1b4)](_0x433447);if(!_0x224f0e)return{'id':_0x433447,'classes':[]};return{'id':_0x433447,'classes':[_0x23db51(0x1df),_0x224f0e[_0x23db51(0x1ec)][_0x23db51(0x1a2)]()],'attributes':{'data-session-id':_0x433447},'priority':0x7d0+_0x224f0e[_0x23db51(0x1c0)]};}(_0x1ec90d,_0x5a33b4)}),function(_0x53244e){const _0x540391=_0x251ea1,_0x66d931=_0x53244e[_0x540391(0x1bc)],_0x4da8b=new Map(),_0x55be61=_0x53244e[_0x540391(0x198)][_0x540391(0x1f2)](_0x219107);_0x66d931[_0x540391(0x1c5)]['on'](_0x540391(0x1c1),(_0x34b568,_0x370108,_0x11631b,_0x45e10f)=>{const _0x4752f0=_0x540391;if(!_0x45e10f&&_0x4da8b[_0x4752f0(0x1f2)](_0x370108[_0x4752f0(0x18a)]))return _0x4da8b[_0x4752f0(0x1f2)](_0x370108[_0x4752f0(0x18a)])[_0x4752f0(0x1d1)](),void _0x4da8b[_0x4752f0(0x1ba)](_0x370108[_0x4752f0(0x18a)]);const _0x2ac211=_0x370108[_0x4752f0(0x18a)][_0x4752f0(0x1eb)](':')[0x2];if(_0x2ac211===_0x55be61[_0x4752f0(0x17c)])return;const _0x1ca299=_0x4752f0(0x1ca)+_0x2ac211;_0x66d931[_0x4752f0(0x1c5)][_0x4752f0(0x19b)](_0x1ca299)&&_0x53244e[_0x4752f0(0x1b1)][_0x4752f0(0x1c2)](_0x1ca299),_0x370108['on'](_0x4752f0(0x1d7),(_0x173015,_0x4c673e,_0x3f6598)=>{const _0x3d6ee8=_0x4752f0;if(_0x3d6ee8(0x1dd)!=_0x4c673e[_0x3d6ee8(0x1fd)][_0x3d6ee8(0x1cf)]&&_0x3d6ee8(0x1dd)==_0x370108[_0x3d6ee8(0x1d2)]()[_0x3d6ee8(0x1fd)][_0x3d6ee8(0x1cf)]&&!_0x4da8b[_0x3d6ee8(0x19b)](_0x370108[_0x3d6ee8(0x18a)])){const _0x270f13=_0x66d931[_0x3d6ee8(0x19d)][_0x3d6ee8(0x1ce)](_0x3f6598[_0x3d6ee8(0x1ee)]);if(_0x270f13){const _0xcb7307=_0x57f76f[_0x3d6ee8(0x1a8)](_0x270f13);_0x4da8b[_0x3d6ee8(0x186)](_0x370108[_0x3d6ee8(0x18a)],_0xcb7307),_0xcb7307['on'](_0x3d6ee8(0x1d7),(_0x354c40,_0x53470d,_0x48d465)=>{const _0x25686c=_0x3d6ee8;if(_0x25686c(0x1dd)==_0xcb7307[_0x25686c(0x1fd)][_0x25686c(0x1cf)]){const _0x12ddf4=_0x66d931[_0x25686c(0x19d)][_0x25686c(0x1ce)](_0x48d465[_0x25686c(0x1ee)]);_0x12ddf4?(_0xcb7307[_0x25686c(0x1f0)]=_0x12ddf4[_0x25686c(0x1f0)],_0xcb7307[_0x25686c(0x1fa)]=_0x12ddf4[_0x25686c(0x1fa)]):(_0x4da8b[_0x25686c(0x1ba)](_0x370108[_0x25686c(0x18a)]),_0xcb7307[_0x25686c(0x1d1)]());}});}}});}),_0x66d931[_0x540391(0x19e)]['on'](_0x540391(0x1a7),()=>{const _0xce5d26=_0x540391;_0x4da8b[_0xce5d26(0x1e4)]>0x0&&_0x66d931[_0xce5d26(0x180)]({'isUndoable':!0x1},_0x269611=>{const _0x161a70=_0xce5d26;for(const [_0x23bf53,_0x28620f]of _0x4da8b)_0x161a70(0x1dd)==_0x66d931[_0x161a70(0x1c5)][_0x161a70(0x1f2)](_0x23bf53)[_0x161a70(0x1d2)]()[_0x161a70(0x1fd)][_0x161a70(0x1cf)]&&(Y(_0x23bf53[_0x161a70(0x1eb)](':')[0x2],_0x28620f[_0x161a70(0x1f6)](),_0x66d931,_0x269611),_0x28620f[_0x161a70(0x1d1)]());_0x4da8b[_0x161a70(0x188)]();});});}(_0x4a0555),this[_0x251ea1(0x200)][_0x251ea1(0x19c)](_0x581d10[_0x251ea1(0x19e)],_0x251ea1(0x1f4),(_0x1e803c,{key:_0x2e25df})=>{const _0x22492a=_0x251ea1;_0x22492a(0x192)===_0x2e25df&&function(_0x5d5db0){const _0x223cfd=_0x22492a;_0x5d5db0[_0x223cfd(0x1b1)][_0x223cfd(0x184)][_0x223cfd(0x1a7)](_0x9a4984=>{const _0x4aafcc=_0x223cfd;for(const _0x36c564 of _0x5d5db0[_0x4aafcc(0x1bc)][_0x4aafcc(0x1c5)]){if(!_0x36c564[_0x4aafcc(0x18a)][_0x4aafcc(0x1b2)](_0x4aafcc(0x1cd)))continue;const _0x4cd9e9=_0x5d5db0[_0x4aafcc(0x1b1)][_0x4aafcc(0x1c9)][_0x4aafcc(0x1e3)](_0x36c564[_0x4aafcc(0x18a)]);if(_0x4cd9e9){for(const _0x25beed of _0x4cd9e9)_0x9a4984[_0x4aafcc(0x202)](_0x4aafcc(0x1fe),_0x25beed);}}});}(_0x4a0555);},{'useCapture':!0x0});}[_0x39e27a(0x201)](){const _0x457c94=_0x39e27a,_0x135da4=this[_0x457c94(0x17f)],_0x14af3f=_0x135da4[_0x457c94(0x1c3)][_0x457c94(0x1f2)](_0x457c94(0x194));_0x14af3f&&_0x135da4[_0x457c94(0x1bc)]['on'](_0x457c94(0x1b8),(_0x31412f,_0x1c4563)=>{const _0x45b68d=_0x457c94,_0x19fc6a=_0x1c4563[0x0];if(!_0x19fc6a[_0x45b68d(0x1ad)])return;if(_0x45b68d(0x1bd)!=_0x19fc6a[_0x45b68d(0x1e7)]||!_0x19fc6a[_0x45b68d(0x18a)][_0x45b68d(0x1b2)](_0x45b68d(0x19a)))return;const _0x24ccc7=_0x19fc6a[_0x45b68d(0x1f1)];_0x14af3f[_0x45b68d(0x195)][_0x45b68d(0x19b)](_0x24ccc7)&&(_0x19fc6a[_0x45b68d(0x1dc)]=_0x19fc6a[_0x45b68d(0x1d9)]?_0x135da4[_0x45b68d(0x1bc)][_0x45b68d(0x1ac)](_0x19fc6a[_0x45b68d(0x1d9)][_0x45b68d(0x1f0)],_0x19fc6a[_0x45b68d(0x1d9)][_0x45b68d(0x1fa)]):null);},{'priority':_0x457c94(0x17a)});}[_0x39e27a(0x1d4)](){const _0x30ceb7=_0x39e27a;return this[_0x30ceb7(0x200)][_0x30ceb7(0x1bb)](),super[_0x30ceb7(0x1d4)]();}[_0x39e27a(0x1e1)](){const _0x3a2520=_0x39e27a,_0x18dc24=this[_0x3a2520(0x17f)],_0x20da25=_0x18dc24[_0x3a2520(0x1bc)][_0x3a2520(0x19e)],_0x3a7fc1=_0x18dc24[_0x3a2520(0x198)][_0x3a2520(0x1f2)](_0x219107);_0x18dc24[_0x3a2520(0x1bc)][_0x3a2520(0x180)]({'isUndoable':!0x1},_0x47991b=>{const _0x308fd1=_0x3a2520,_0x239cc1=_0x308fd1(0x1ef)+_0x3a7fc1[_0x308fd1(0x17c)],_0x1ec6a2=_0x308fd1(0x1ca)+_0x3a7fc1[_0x308fd1(0x17c)],_0x5dd779=_0x18dc24[_0x308fd1(0x1bc)][_0x308fd1(0x1c5)][_0x308fd1(0x19b)](_0x239cc1);_0x18dc24[_0x308fd1(0x1b1)][_0x308fd1(0x184)][_0x308fd1(0x1ab)]?Y(_0x3a7fc1[_0x308fd1(0x17c)],_0x20da25[_0x308fd1(0x1a0)][_0x308fd1(0x196)](),_0x18dc24[_0x308fd1(0x1bc)],_0x47991b):_0x5dd779&&(_0x47991b[_0x308fd1(0x190)](_0x239cc1),_0x47991b[_0x308fd1(0x190)](_0x1ec6a2));});}}function Y(_0x272bcc,_0x404439,_0x51f905,_0x5b1caa){const _0x3c5559=_0x39e27a,_0x3eb8c5=_0x3c5559(0x1ef)+_0x272bcc,_0x202571=_0x3c5559(0x1ca)+_0x272bcc,_0x2a9cc9=_0x404439[_0x3c5559(0x1a9)]();let _0x354f14=_0x404439[_0x3c5559(0x1f0)];if(_0x2a9cc9&&_0x2a9cc9['is'](_0x3c5559(0x1e9),_0x3c5559(0x1ed))){const _0x367620=function(_0x3e0e8e,_0x2332cc){const _0x180238=_0x3c5559;for(const _0x3bacbe of _0x3e0e8e[_0x180238(0x197)]())if(_0x2332cc[_0x180238(0x19d)][_0x180238(0x1da)](_0x3bacbe,_0x180238(0x187)))return _0x3bacbe;}(_0x404439,_0x51f905);_0x367620&&(_0x354f14=_0x367620,_0x404439=_0x5b1caa[_0x3c5559(0x1ac)](_0x354f14));}const _0x780ecf=_0x5b1caa[_0x3c5559(0x1ac)](_0x354f14);_0x51f905[_0x3c5559(0x1c5)][_0x3c5559(0x19b)](_0x3eb8c5)?(_0x5b1caa[_0x3c5559(0x18b)](_0x3eb8c5,{'range':_0x404439}),_0x5b1caa[_0x3c5559(0x18b)](_0x202571,{'range':_0x780ecf})):(_0x5b1caa[_0x3c5559(0x17d)](_0x3eb8c5,{'range':_0x404439,'usingOperation':!0x0}),_0x5b1caa[_0x3c5559(0x17d)](_0x202571,{'range':_0x780ecf,'usingOperation':!0x0}));}
|