@ckeditor/ckeditor5-real-time-collaboration 45.0.0-alpha.7 → 45.0.0-alpha.8
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 +14 -14
- 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 _0x4ce478=_0x3945;function _0x7635(){const _0xda2ede=['bindTemplate','10469404pPraST','focus','aria-expanded','322thUSQE','element','10VfakNt','render','setTemplate','.ck-presence-list__dropdown-list','.ck-balloon-panel_with-arrow','fire','Connected\x20users\x20list','4981Csjclf','2085350AlWjQn','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','listenTo','hasPopup','div','keystrokes','presencelist:hide','4933236NWEKih','392GDtwmB','isExpanded','items','set','relatedTarget','removeAttribute','createCollection','setAttribute','change:hasPopup','289008STnuKP','presencelist:show','list','ck-presence-list__list','19033xpBYKA','querySelector','18hxAmBO','contains','2160068CNknUu'];_0x7635=function(){return _0xda2ede;};return _0x7635();}(function(_0x2a35f9,_0x540028){const _0x185ce0=_0x3945,_0x4717de=_0x2a35f9();while(!![]){try{const _0x377686=parseInt(_0x185ce0(0x181))/0x1*(-parseInt(_0x185ce0(0x178))/0x2)+-parseInt(_0x185ce0(0x16b))/0x3+parseInt(_0x185ce0(0x173))/0x4*(parseInt(_0x185ce0(0x17a))/0x5)+parseInt(_0x185ce0(0x189))/0x6+parseInt(_0x185ce0(0x16f))/0x7*(parseInt(_0x185ce0(0x18a))/0x8)+parseInt(_0x185ce0(0x171))/0x9*(parseInt(_0x185ce0(0x182))/0xa)+-parseInt(_0x185ce0(0x175))/0xb;if(_0x377686===_0x540028)break;else _0x4717de['push'](_0x4717de['shift']());}catch(_0x3a57f5){_0x4717de['push'](_0x4717de['shift']());}}}(_0x7635,0x93184));function _0x3945(_0x1324d2,_0x31929b){const _0x76356d=_0x7635();return _0x3945=function(_0x394532,_0x1b6baa){_0x394532=_0x394532-0x168;let _0x509e39=_0x76356d[_0x394532];return _0x509e39;},_0x3945(_0x1324d2,_0x31929b);}import{View as _0x2d7679}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x40fe7}from'ckeditor5/src/utils.js';import{getTranslation as _0x586ec0}from'../../common-translations.js';export default class ts extends _0x2d7679{[_0x4ce478(0x18c)];[_0x4ce478(0x187)];constructor(_0x20975e){const _0xaecbad=_0x4ce478;super(_0x20975e);const _0x245197=this[_0xaecbad(0x174)];this[_0xaecbad(0x18c)]=this[_0xaecbad(0x168)](),this[_0xaecbad(0x187)]=new _0x40fe7(),this[_0xaecbad(0x18d)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xaecbad(0x17c)]({'tag':_0xaecbad(0x186),'attributes':{'aria-haspopup':_0x245197['if'](_0xaecbad(0x185)),'aria-expanded':_0x245197['to'](_0xaecbad(0x18b),_0x23a300=>this[_0xaecbad(0x185)]&&String(_0x23a300)),'aria-label':_0x245197['to'](_0xaecbad(0x185),_0x585f37=>_0x586ec0(_0x20975e,_0x585f37?_0xaecbad(0x183):_0xaecbad(0x180))),'role':_0xaecbad(0x16d),'tabindex':_0x245197['to'](_0xaecbad(0x185),_0x221a1f=>!!_0x221a1f&&0x0),'class':['ck',_0xaecbad(0x16e)]},'children':this[_0xaecbad(0x18c)],'on':{'mouseenter':_0x245197['to'](()=>this[_0xaecbad(0x17f)](_0xaecbad(0x16c))),'mouseleave':_0x245197['to'](_0x2eb67b=>{const _0x17be3d=_0xaecbad,_0x4bb4ac=_0x2eb67b,_0x29329d=document[_0x17be3d(0x170)](_0x17be3d(0x17d)),_0x7b376c=document[_0x17be3d(0x170)](_0x17be3d(0x17e));_0x29329d?.[_0x17be3d(0x172)](_0x4bb4ac[_0x17be3d(0x18e)])||_0x7b376c?.[_0x17be3d(0x172)](_0x4bb4ac[_0x17be3d(0x18e)])||this[_0x17be3d(0x17f)](_0x17be3d(0x188));})}}),this['on'](_0xaecbad(0x16a),(_0x283196,_0x5684f4,_0xfd3fbb)=>{const _0x3d254e=_0xaecbad;this[_0x3d254e(0x179)]&&(_0xfd3fbb?this[_0x3d254e(0x179)][_0x3d254e(0x169)](_0x3d254e(0x177),String(this[_0x3d254e(0x18b)])):this[_0x3d254e(0x179)][_0x3d254e(0x18f)](_0x3d254e(0x177)));});}[_0x4ce478(0x176)](){const _0x21833f=_0x4ce478;this[_0x21833f(0x179)][_0x21833f(0x176)]();}[_0x4ce478(0x17b)](){const _0x40bbe5=_0x4ce478;super[_0x40bbe5(0x17b)](),this[_0x40bbe5(0x187)][_0x40bbe5(0x184)](this[_0x40bbe5(0x179)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11e389=_0x3072;(function(_0x584d60,_0x743a6a){const _0x539eed=_0x3072,_0xf55a96=_0x584d60();while(!![]){try{const _0x1f0dca=-parseInt(_0x539eed(0x119))/0x1*(parseInt(_0x539eed(0x125))/0x2)+-parseInt(_0x539eed(0x116))/0x3+-parseInt(_0x539eed(0x11c))/0x4*(parseInt(_0x539eed(0x12d))/0x5)+parseInt(_0x539eed(0x127))/0x6+-parseInt(_0x539eed(0x128))/0x7+parseInt(_0x539eed(0x11a))/0x8+parseInt(_0x539eed(0x130))/0x9;if(_0x1f0dca===_0x743a6a)break;else _0xf55a96['push'](_0xf55a96['shift']());}catch(_0x505270){_0xf55a96['push'](_0xf55a96['shift']());}}}(_0x29a4,0xe6525));import{View as _0x3df612}from'ckeditor5/src/ui.js';import _0x5389ed from'./presencecounterview.js';import _0x4ffd13 from'./presenceinlinelistview.js';function _0x29a4(){const _0x287b2d=['first','4QfzwMt','bind','locale','setTemplate','listenTo','div','ck-presence-list','change','bindTemplate','62wFfErY','ck-reset','8563356ghWpHg','3825654WCgdaR','isCollapsed','counterView','items','inlineListView','3231655FFfNSz','hasPopup','ck-presence-list--collapsed','14177187tMUjwE','tooltipPosition','2430729ozqubx','set','ck-rounded-corners','28939WIBGdj','6729064iikEje'];_0x29a4=function(){return _0x287b2d;};return _0x29a4();}import'../../../theme/presencelist.css';function _0x3072(_0x5cf588,_0x39a207){const _0x29a409=_0x29a4();return _0x3072=function(_0x307284,_0x1dfe23){_0x307284=_0x307284-0x115;let _0x51d913=_0x29a409[_0x307284];return _0x51d913;},_0x3072(_0x5cf588,_0x39a207);}export default class j extends _0x3df612{[_0x11e389(0x12a)];[_0x11e389(0x12c)];constructor(_0x3e1e53,_0x50e2e3=0x6){const _0x3e5266=_0x11e389;super(_0x3e1e53);const _0x58c50c=this[_0x3e5266(0x124)];this[_0x3e5266(0x117)](_0x3e5266(0x129),!0x0),this[_0x3e5266(0x12a)]=new _0x5389ed(this[_0x3e5266(0x11e)],_0x50e2e3),this[_0x3e5266(0x12c)]=new _0x4ffd13(_0x3e1e53),this[_0x3e5266(0x12c)][_0x3e5266(0x11d)](_0x3e5266(0x12e))['to'](this,_0x3e5266(0x129)),this[_0x3e5266(0x120)](this[_0x3e5266(0x12c)][_0x3e5266(0x12b)],_0x3e5266(0x123),()=>{const _0x3d5f99=_0x3e5266;for(const _0x40040e of this[_0x3d5f99(0x12c)][_0x3d5f99(0x12b)])_0x40040e[_0x3d5f99(0x115)]='s';this[_0x3d5f99(0x12c)][_0x3d5f99(0x12b)][_0x3d5f99(0x11b)]&&(this[_0x3d5f99(0x12c)][_0x3d5f99(0x12b)][_0x3d5f99(0x11b)][_0x3d5f99(0x115)]='se');}),this[_0x3e5266(0x11f)]({'tag':_0x3e5266(0x121),'attributes':{'class':['ck',_0x3e5266(0x122),_0x3e5266(0x126),_0x3e5266(0x118),_0x58c50c['if'](_0x3e5266(0x129),_0x3e5266(0x12f))]},'children':[this[_0x3e5266(0x12c)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x29a79f=_0x43a8;(function(_0x5d6f9b,_0x246b66){var _0x360e25=_0x43a8,_0x5200dc=_0x5d6f9b();while(!![]){try{var _0x24173c=-parseInt(_0x360e25(0x1c9))/0x1+-parseInt(_0x360e25(0x1cf))/0x2+parseInt(_0x360e25(0x1cd))/0x3+-parseInt(_0x360e25(0x1cb))/0x4+-parseInt(_0x360e25(0x1c6))/0x5+-parseInt(_0x360e25(0x1c7))/0x6*(-parseInt(_0x360e25(0x1d1))/0x7)+parseInt(_0x360e25(0x1ca))/0x8;if(_0x24173c===_0x246b66)break;else _0x5200dc['push'](_0x5200dc['shift']());}catch(_0x401b93){_0x5200dc['push'](_0x5200dc['shift']());}}}(_0x4ebc,0xec5d2));import{ContextPlugin as _0x223289}from'ckeditor5/src/core.js';import _0xf4d5fb from'./realtimecollaborativeediting/sessions.js';function _0x43a8(_0xd68ad,_0x43b755){var _0x4ebce5=_0x4ebc();return _0x43a8=function(_0x43a8fc,_0x3d3fc0){_0x43a8fc=_0x43a8fc-0x1c5;var _0x31c248=_0x4ebce5[_0x43a8fc];return _0x31c248;},_0x43a8(_0xd68ad,_0x43b755);}import _0x1380dc from'./presencelist/presencelistui.js';function _0x4ebc(){var _0x3d4882=['isPremiumPlugin','953790lWHbNB','39156808bhaDWO','7098228luHdXr','isOfficialPlugin','1963956BLMzkh','pluginName','1861776HLrpfP','requires','9688KqNIqs','PresenceList','5695800VvHoyT','942JUlqLf'];_0x4ebc=function(){return _0x3d4882;};return _0x4ebc();}export default class s extends _0x223289{static get[_0x29a79f(0x1d0)](){return[_0xf4d5fb,_0x1380dc];}static get[_0x29a79f(0x1ce)](){var _0x5a4917=_0x29a79f;return _0x5a4917(0x1c5);}static get[_0x29a79f(0x1cc)](){return!0x0;}static get[_0x29a79f(0x1c8)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x5a1385)());[_0xed70eb(0x219)];static get[_0xed70eb(0x211)](){const _0x225bb3=_0xed70eb;return[_0x2578c6,_0x225bb3(0x201),_0x2e33c4,_0x45a0a9];}static get[_0xed70eb(0x22e)](){const _0x487242=_0xed70eb;return _0x487242(0x202);}static get[_0xed70eb(0x1e8)](){return!0x0;}static get[_0xed70eb(0x1eb)](){return!0x0;}constructor(_0x58b3aa){const _0x1c17ea=_0xed70eb;super(_0x58b3aa),this[_0x1c17ea(0x219)]=new Map();}async[_0xed70eb(0x1dc)](){const _0x37d82e=_0xed70eb,_0xc3f1d7=this[_0x37d82e(0x1e6)],_0xd58104=_0xc3f1d7[_0x37d82e(0x1d8)][_0x37d82e(0x20a)](_0x37d82e(0x201));if(_0xc3f1d7[_0x37d82e(0x1d8)][_0x37d82e(0x20a)](_0x2578c6)[_0x37d82e(0x226)](this),_0xd58104[_0x37d82e(0x1fe)]={'addCommentThread':async({channelId:_0x22d33d,threadId:_0x4c2621,comments:_0x6c3d53,resolvedAt:_0x2dff66,resolvedBy:_0x335816,context:_0x825b69,attributes:_0x9ec09f})=>{const _0x1a2cd9=_0x37d82e,_0x139321=await this[_0x1a2cd9(0x20e)](_0x22d33d)[_0x1a2cd9(0x210)]({'commentThreadId':_0x4c2621,'comments':_0x6c3d53[_0x1a2cd9(0x223)](_0x467b4d=>function(_0x1f0c9f,_0x11d39a,_0x1d1a2d){const _0x393a80=_0x1a2cd9;return{'commentThreadId':_0x1d1a2d,'commentId':_0x1f0c9f[_0x393a80(0x208)],'userId':_0x1f0c9f[_0x393a80(0x1e1)],'content':_0x1f0c9f[_0x393a80(0x220)],'documentId':_0x11d39a,'createdAt':_0x1f0c9f[_0x393a80(0x217)],'attributes':_0x1f0c9f[_0x393a80(0x1de)]||{}};}(_0x467b4d,_0x22d33d,_0x4c2621)),'resolvedAt':_0x2dff66,'resolvedBy':_0x335816,'context':_0x825b69,'attributes':_0x9ec09f})[_0x1a2cd9(0x22b)](R);return{'threadId':_0x139321[_0x1a2cd9(0x1ed)],'comments':_0x139321[_0x1a2cd9(0x1d1)]};},'getCommentThread':async({channelId:_0x3a90c7,threadId:_0x1cf048})=>{const _0x16256d=_0x37d82e,_0x2b3c43=await this[_0x16256d(0x20e)](_0x3a90c7)[_0x16256d(0x21b)](_0x1cf048)[_0x16256d(0x22b)](R);return _0x2b3c43[_0x16256d(0x1e2)]?null:(await this[_0x16256d(0x1cd)]([_0x2b3c43]),{'threadId':_0x2b3c43[_0x16256d(0x1ed)],'comments':_0x2b3c43[_0x16256d(0x1d1)][_0x16256d(0x223)](_),'context':_0x2b3c43[_0x16256d(0x1e6)],'resolvedAt':_0x2b3c43[_0x16256d(0x20f)],'resolvedBy':_0x2b3c43[_0x16256d(0x1e5)],'attributes':_0x2b3c43[_0x16256d(0x1de)]||{}});},'updateCommentThread':async({channelId:_0x399df8,threadId:_0x5bfb6a,context:_0x1d5981,unlinkedAt:_0x24dd55,attributes:_0xf139bf})=>this[_0x37d82e(0x20e)](_0x399df8)[_0x37d82e(0x216)]({'commentThreadId':_0x5bfb6a,'context':_0x1d5981,'attributes':_0xf139bf,'unlinkedAt':_0x24dd55})[_0x37d82e(0x22b)](S)[_0x37d82e(0x22b)](R),'resolveCommentThread':async({channelId:_0x5a82f5,threadId:_0x16f9c7})=>{const _0x268f35=_0x37d82e,_0x1109c7=await this[_0x268f35(0x20e)](_0x5a82f5)[_0x268f35(0x203)](_0x16f9c7)[_0x268f35(0x22b)](S)[_0x268f35(0x22b)](R);return{'threadId':_0x1109c7[_0x268f35(0x1ed)],'resolvedAt':_0x1109c7[_0x268f35(0x20f)],'resolvedBy':_0x1109c7[_0x268f35(0x1e5)]};},'reopenCommentThread':async({channelId:_0xacf8ea,threadId:_0x5bf0dc})=>this[_0x37d82e(0x20e)](_0xacf8ea)[_0x37d82e(0x1d7)](_0x5bf0dc)[_0x37d82e(0x22b)](S)[_0x37d82e(0x22b)](R),'removeCommentThread':({channelId:_0x4d9bcf,threadId:_0x101379})=>this[_0x37d82e(0x20e)](_0x4d9bcf)[_0x37d82e(0x222)](_0x101379)[_0x37d82e(0x22b)](S)[_0x37d82e(0x22b)](R),'addComment':({channelId:_0x3eab60,threadId:_0x3dde69,commentId:_0x192250,content:_0x48730b,attributes:_0x1f61c4})=>this[_0x37d82e(0x20e)](_0x3eab60)[_0x37d82e(0x1e7)](_0x3dde69,_0x192250,_0x48730b,_0x1f61c4)[_0x37d82e(0x22b)](R),'updateComment':({channelId:_0x5cfca1,threadId:_0x499a40,commentId:_0x2163c7,content:_0xc220a2,attributes:_0x8c81b4})=>this[_0x37d82e(0x20e)](_0x5cfca1)[_0x37d82e(0x1ea)](_0x499a40,_0x2163c7,_0xc220a2,_0x8c81b4)[_0x37d82e(0x22b)](S)[_0x37d82e(0x22b)](R),'removeComment':({channelId:_0x5b8a2a,threadId:_0x54a5d3,commentId:_0x44373b})=>this[_0x37d82e(0x20e)](_0x5b8a2a)[_0x37d82e(0x21f)](_0x54a5d3,_0x44373b)[_0x37d82e(0x22b)](S)[_0x37d82e(0x22b)](R)},_0xc3f1d7 instanceof _0x36f2b2){const _0xf9847e=_0xc3f1d7[_0x37d82e(0x1ce)][_0x37d82e(0x20a)](_0x37d82e(0x214)),_0x70c74b=_0xc3f1d7[_0x37d82e(0x1d8)][_0x37d82e(0x20a)](_0x2e33c4);await this[_0x37d82e(0x1db)](_0xf9847e);const _0x1c10e0=await this[_0x37d82e(0x219)][_0x37d82e(0x20a)](_0xf9847e)[_0x37d82e(0x1ec)]();this[_0x37d82e(0x1f8)](_0x70c74b,_0x37d82e(0x1df)+_0xf9847e,(_0x3388c6,{session:_0xe2818a})=>{const _0xce5445=_0x37d82e;_0xe2818a['id']===_0x70c74b[_0xce5445(0x1e9)]&&(_0x3388c6[_0xce5445(0x1f3)](),this[_0xce5445(0x1e6)][_0xce5445(0x1d8)][_0xce5445(0x20a)](_0xce5445(0x228))[_0xce5445(0x1fc)](_0xe2818a[_0xce5445(0x1fd)],_0xf9847e));}),_0x70c74b[_0x37d82e(0x209)](_0xf9847e,_0x1c10e0);}}async[_0xed70eb(0x1db)](_0x5ec889){const _0x37dc13=_0xed70eb;if(this[_0x37dc13(0x219)][_0x37dc13(0x1fb)](_0x5ec889))throw new _0x4d127a(_0x37dc13(0x1d6),null,{'channelId':_0x5ec889});const _0x2cd3e9=this[_0x37dc13(0x1e6)][_0x37dc13(0x1d8)][_0x37dc13(0x20a)](_0x37dc13(0x201)),_0x5b7d7a=new a[(_0x37dc13(0x1da))](_0x5ec889);this[_0x37dc13(0x219)][_0x37dc13(0x21e)](_0x5ec889,_0x5b7d7a),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x1fa),(_0x3271a1,_0x35bb23)=>{const _0x219225=_0x37dc13,{commentThreadId:_0x17b4b1,documentId:_0x592114,context:_0x1b92db,attributes:_0x46a711,resolvedAt:_0x37e63e,resolvedBy:_0x52a232,comments:_0x46814e}=_0x35bb23;_0x2cd3e9[_0x219225(0x21b)](_0x17b4b1)||_0x2cd3e9[_0x219225(0x210)]({'threadId':_0x17b4b1,'channelId':_0x592114,'comments':_0x46814e?_0x46814e[_0x219225(0x223)](_):[],'context':_0x1b92db,'attributes':_0x46a711,'resolvedAt':_0x37e63e,'resolvedBy':_0x52a232,'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x1d3),(_0x389ff5,{commentThreadId:_0x3c0497,documentId:_0x18fa5c,context:_0x4b38ac,unlinkedAt:_0x2d8aa2,attributes:_0x47e7bf})=>{const _0x525db0=_0x37dc13;_0x2cd3e9[_0x525db0(0x21b)](_0x3c0497)&&_0x2cd3e9[_0x525db0(0x216)]({'threadId':_0x3c0497,'channelId':_0x18fa5c,'context':_0x4b38ac,'unlinkedAt':_0x2d8aa2,'attributes':_0x47e7bf,'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x215),(_0x4b7a87,{commentThreadId:_0x3ec30b,resolvedBy:_0x4c7d29,resolvedAt:_0x5d3c84})=>{const _0x11e3f0=_0x37dc13,_0xa8b22b=_0x2cd3e9[_0x11e3f0(0x21b)](_0x3ec30b);_0xa8b22b&&_0xa8b22b[_0x11e3f0(0x1e0)]({'resolvedBy':_0x4c7d29,'resolvedAt':_0x5d3c84,'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x1ff),(_0x43e3eb,{commentThreadId:_0x2265f0})=>{const _0x2c86f9=_0x37dc13,_0x29bead=_0x2cd3e9[_0x2c86f9(0x21b)](_0x2265f0);_0x29bead&&_0x29bead[_0x2c86f9(0x21c)]({'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x21d),(_0xda4c04,{commentThreadId:_0x12ef97})=>{const _0x48b718=_0x37dc13,_0x1ec6c5=_0x2cd3e9[_0x48b718(0x21b)](_0x12ef97);_0x1ec6c5&&_0x1ec6c5[_0x48b718(0x22a)]({'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x229),(_0x434928,_0x26f60e)=>{const _0x1b3e70=_0x37dc13,_0x4bbbde=_0x26f60e[_0x1b3e70(0x1ed)],_0x5016bc=_0x2cd3e9[_0x1b3e70(0x21b)](_0x4bbbde);_0x5016bc&&_0x5016bc[_0x1b3e70(0x1e7)]({..._(_0x26f60e),'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x1f4),(_0x218bc1,{commentThreadId:_0x36d261,commentId:_0x44631f,content:_0x510360,attributes:_0x41407e})=>{const _0x5f26c7=_0x37dc13,_0x1877a1=_0x2cd3e9[_0x5f26c7(0x21b)](_0x36d261);if(_0x1877a1){const _0x4aaf1d=_0x1877a1[_0x5f26c7(0x227)](_0x44631f);_0x4aaf1d&&_0x4aaf1d[_0x5f26c7(0x207)]({'content':_0x510360,'attributes':_0x41407e,'isFromAdapter':!0x0});}}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x1f6),(_0x1aa20d,{commentThreadId:_0x385684,commentId:_0x3353c2})=>{const _0x351dea=_0x37dc13,_0x3ddf01=_0x2cd3e9[_0x351dea(0x21b)](_0x385684);if(_0x3ddf01){const _0x2d5dca=_0x3ddf01[_0x351dea(0x227)](_0x3353c2);_0x2d5dca&&_0x2d5dca[_0x351dea(0x22a)]({'isFromAdapter':!0x0});}}),await this[_0x37dc13(0x20b)](_0x5ec889);}[_0xed70eb(0x1ef)](){const _0x32f795=_0xed70eb;if(this[_0x32f795(0x1e6)]instanceof _0x36f2b2){const _0x1d1456=this[_0x32f795(0x1e6)][_0x32f795(0x1ce)][_0x32f795(0x20a)](_0x32f795(0x214));this[_0x32f795(0x1dd)](_0x1d1456);}}[_0xed70eb(0x1dd)](_0xfbc949){const _0x2375bf=_0xed70eb;if(!this[_0x2375bf(0x219)][_0x2375bf(0x1fb)](_0xfbc949))throw new _0x4d127a(_0x2375bf(0x1d2),null,{'channelId':_0xfbc949});this[_0x2375bf(0x20e)](_0xfbc949)[_0x2375bf(0x1f9)](),this[_0x2375bf(0x219)][_0x2375bf(0x218)](_0xfbc949);}async[_0xed70eb(0x20d)](){const _0x3c352b=_0xed70eb;for(const _0x3cde15 of this[_0x3c352b(0x219)][_0x3c352b(0x1f1)]())await this[_0x3c352b(0x20b)](_0x3cde15);if(this[_0x3c352b(0x1e6)]instanceof _0x36f2b2){const _0x500d22=this[_0x3c352b(0x1e6)][_0x3c352b(0x1ce)][_0x3c352b(0x20a)](_0x3c352b(0x214)),_0x25bf49=this[_0x3c352b(0x1e6)][_0x3c352b(0x1d8)][_0x3c352b(0x20a)](_0x2e33c4);_0x25bf49[_0x3c352b(0x22f)](_0x500d22);const _0x16a1a7=await this[_0x3c352b(0x219)][_0x3c352b(0x20a)](_0x500d22)[_0x3c352b(0x1ec)]();_0x25bf49[_0x3c352b(0x209)](_0x500d22,_0x16a1a7);}}async[_0xed70eb(0x20b)](_0x73c56a){const _0x542a4b=_0xed70eb,{connection:_0x1954e6}=this[_0x542a4b(0x1e6)][_0x542a4b(0x1d8)][_0x542a4b(0x20a)](_0x2578c6),_0x379071=this[_0x542a4b(0x1e6)][_0x542a4b(0x1d8)][_0x542a4b(0x20a)](_0x542a4b(0x201)),_0x41c725=this[_0x542a4b(0x219)][_0x542a4b(0x20a)](_0x73c56a),_0x58d0c6=await _0x41c725[_0x542a4b(0x1f0)](_0x1954e6);await this[_0x542a4b(0x1cd)](_0x58d0c6);const _0x51a8ef=new Set(Array[_0x542a4b(0x1d0)](_0x379071[_0x542a4b(0x1cc)]({'channelId':_0x73c56a}),_0x17d588=>_0x17d588['id']));for(const _0x9a9e6 of _0x58d0c6)_0x9a9e6[_0x542a4b(0x1e2)]||_0x51a8ef[_0x542a4b(0x218)](_0x9a9e6[_0x542a4b(0x1ed)]);for(const _0x4a8182 of _0x51a8ef)_0x379071[_0x542a4b(0x21b)](_0x4a8182)[_0x542a4b(0x22a)]({'isFromAdapter':!0x0});for(const _0x189af4 of _0x58d0c6){let _0xa67558=_0x379071[_0x542a4b(0x21b)](_0x189af4[_0x542a4b(0x1ed)]);const {commentThreadId:_0x252add,context:_0x230705,attributes:_0x19e1e2,resolvedBy:_0x265dca,resolvedAt:_0xf95456,unlinkedAt:_0x31f31c,deletedAt:_0x28badc}=_0x189af4;if(_0x28badc)continue;_0xa67558||(_0xa67558=_0x379071[_0x542a4b(0x210)]({'channelId':_0x73c56a,'threadId':_0x252add,'context':_0x230705,'attributes':_0x19e1e2||{},'resolvedBy':_0x265dca,'resolvedAt':_0xf95456,'unlinkedAt':_0x31f31c,'isFromAdapter':!0x0}));const _0x513d45=new Set(Array[_0x542a4b(0x1d0)](_0xa67558[_0x542a4b(0x1d1)],_0x2e3dc9=>_0x2e3dc9['id']));for(const _0x19dfe7 of _0x189af4[_0x542a4b(0x1d1)])_0x513d45[_0x542a4b(0x218)](_0x19dfe7[_0x542a4b(0x208)]);for(const _0x48d707 of _0x513d45)_0xa67558[_0x542a4b(0x227)](_0x48d707)[_0x542a4b(0x22a)]({'isFromAdapter':!0x0});for(const _0xf33a96 of _0x189af4[_0x542a4b(0x1d1)]){const _0x18d6bd=_0xa67558[_0x542a4b(0x227)](_0xf33a96[_0x542a4b(0x208)]);_0x18d6bd?_0x18d6bd[_0x542a4b(0x220)]!==_0xf33a96[_0x542a4b(0x220)]&&_0x18d6bd[_0x542a4b(0x207)]({'content':_0xf33a96[_0x542a4b(0x220)],'isFromAdapter':!0x0}):_0xa67558[_0x542a4b(0x1e7)](Object[_0x542a4b(0x221)](_(_0xf33a96),{'isFromAdapter':!0x0}));}}}[_0xed70eb(0x20e)](_0x4328f4){const _0x39b708=_0xed70eb;if(!this[_0x39b708(0x219)][_0x39b708(0x1fb)](_0x4328f4))throw new _0x4d127a(_0x39b708(0x213),null,{'channelId':_0x4328f4});return this[_0x39b708(0x219)][_0x39b708(0x20a)](_0x4328f4);}async[_0xed70eb(0x1cd)](_0x4aa88e){const _0x3bd23a=_0xed70eb,_0x16973c=this[_0x3bd23a(0x1e6)][_0x3bd23a(0x1d8)][_0x3bd23a(0x20a)](_0x45a0a9),{connection:_0x392f53}=this[_0x3bd23a(0x1e6)][_0x3bd23a(0x1d8)][_0x3bd23a(0x20a)](_0x2578c6),_0x186fd0=new Set();for(const {resolvedBy:_0x57b197,comments:_0x4bae6f}of _0x4aa88e){_0x57b197&&!_0x16973c[_0x3bd23a(0x204)](_0x57b197)&&_0x186fd0[_0x3bd23a(0x20c)](_0x57b197);for(const {userId:_0x407f19}of _0x4bae6f)_0x16973c[_0x3bd23a(0x204)](_0x407f19)||_0x186fd0[_0x3bd23a(0x20c)](_0x407f19);}if(0x0===_0x186fd0[_0x3bd23a(0x212)])return;const _0x16fcfd=await _0xe358e9[_0x3bd23a(0x1f5)](_0x392f53,Array[_0x3bd23a(0x1d0)](_0x186fd0));for(const _0x9b6c56 of _0x16fcfd)_0x16973c[_0x3bd23a(0x204)](_0x9b6c56['id'])||_0x16973c[_0x3bd23a(0x206)](_0x9b6c56);}}export default a;async function S(_0x32a63a){const _0x4d1d15=_0xed70eb;if(_0x4d1d15(0x1f7)!==_0x32a63a[_0x4d1d15(0x1d4)])throw _0x32a63a;}function R(_0x4df59e){const _0x2a9047=_0xed70eb;if((_0x123b74=_0x4df59e)[_0x2a9047(0x1ca)][_0x2a9047(0x225)](_0x2a9047(0x1ee))||_0x123b74[_0x2a9047(0x1ca)][_0x2a9047(0x225)](_0x2a9047(0x205))||_0x123b74[_0x2a9047(0x1ca)][_0x2a9047(0x225)](_0x2a9047(0x1d9)))return new Promise(()=>{});var _0x123b74;throw _0x4df59e;}function _0x3888(_0x4ce8be,_0x1300a5){const _0x3b4513=_0x3b45();return _0x3888=function(_0x3888ed,_0xc1c5ad){_0x3888ed=_0x3888ed-0x1ca;let _0x13daee=_0x3b4513[_0x3888ed];return _0x13daee;},_0x3888(_0x4ce8be,_0x1300a5);}function _(_0x4e3fb9){const _0x2e0c76=_0xed70eb;return{'threadId':_0x4e3fb9[_0x2e0c76(0x1ed)],'commentId':_0x4e3fb9[_0x2e0c76(0x208)],'content':_0x4e3fb9[_0x2e0c76(0x220)],'createdAt':_0x4e3fb9[_0x2e0c76(0x217)],'authorId':_0x4e3fb9[_0x2e0c76(0x1f2)],'attributes':_0x4e3fb9[_0x2e0c76(0x1de)]||{}};}
|
|
23
|
+
const _0x5ad7d8=_0x502a;(function(_0x2f1a09,_0x4f8cc7){const _0x300402=_0x502a,_0x329a89=_0x2f1a09();while(!![]){try{const _0x5481b5=parseInt(_0x300402(0x93))/0x1+parseInt(_0x300402(0xc2))/0x2+parseInt(_0x300402(0xb8))/0x3+parseInt(_0x300402(0x83))/0x4*(parseInt(_0x300402(0xa5))/0x5)+parseInt(_0x300402(0x9c))/0x6+-parseInt(_0x300402(0xa1))/0x7*(-parseInt(_0x300402(0xad))/0x8)+-parseInt(_0x300402(0x88))/0x9*(parseInt(_0x300402(0x92))/0xa);if(_0x5481b5===_0x4f8cc7)break;else _0x329a89['push'](_0x329a89['shift']());}catch(_0x139b0f){_0x329a89['push'](_0x329a89['shift']());}}}(_0x53e7,0xd6d62));import{Context as _0x2b049e,ContextPlugin as _0xde7c87}from'ckeditor5/src/core.js';import{CKEditorError as _0x5bdc9a}from'ckeditor5/src/utils.js';import{Users as _0x373669}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1e8a47,User as _0x412fc8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3b35c3 from'../realtimecollaborativeediting/websocketgateway.js';import _0xb3c4c4 from'../realtimecollaborativeediting/sessions.js';function _0x53e7(){const _0x236967=['commentThreadAdded','136BzlqPF','collaboration.channelId','removeCommentThread','_fetchMissingUsersForThreads','commentThreadUpdated','Permissions','comments','commentAdded','listenTo','addCommentThread','resolvedBy','772848vjOadZ','cloud-services-internal-error:\x20Not\x20connected.','connect','resolveCommentThread','map','getMany','isOfficialPlugin','destroy','cloudservicescommentsadapter-service-not-exist','resolvedAt','265144vYnfwm','catch','updateCommentThread','commentThreadId','commentThreadReopened','mySessionId','cloudservicescommentsadapter-disconnect-not-exist','commentThreadResolved','addToReconnectionStack','remove','message','setPermissions','updateComment','startsWith','get','reopen','isPremiumPlugin','reconnect','unregister','size','_connectService','keys','config','addUser','pluginName','getComment','commentRemoved','_setUpService','CommentsRepository','set','addComment','commentId','getUser','getCommentThread','from','permissions','authorId','plugins','off','1108VgbalG','update','cloud-services-internal-error:\x20Request\x20timeout.','code','init','9EfBDkB','reopenCommentThread','removeComment','_services','_getService','CloudServicesCommentsAdapter','userId','add','delete','getCommentThreads','44161230oXaVvR','1434568rTcjxP','getConnectedSessions','sessionAdd:','content','register','_terminateService','assign','CommentsService','404','1031430oBAcnn','resolve','requires','commentUpdated','attributes','690319xUcviw','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','disconnect','deletedAt','29295XZdqCB','context','cloudservicescommentsadapter-connect-already-connected','createdAt','adapter','commentThreadRemoved','has'];_0x53e7=function(){return _0x236967;};return _0x53e7();}class a extends _0xde7c87{static [_0x5ad7d8(0x9a)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x1e8a47)());[_0x5ad7d8(0x8b)];static get[_0x5ad7d8(0x9e)](){const _0x37f4b7=_0x5ad7d8;return[_0x3b35c3,_0x37f4b7(0x78),_0xb3c4c4,_0x373669];}static get[_0x5ad7d8(0x74)](){const _0x23535e=_0x5ad7d8;return _0x23535e(0x8d);}static get[_0x5ad7d8(0xbe)](){return!0x0;}static get[_0x5ad7d8(0xd2)](){return!0x0;}constructor(_0x8d25a0){const _0x33a3d5=_0x5ad7d8;super(_0x8d25a0),this[_0x33a3d5(0x8b)]=new Map();}async[_0x5ad7d8(0x87)](){const _0x5cdb69=_0x5ad7d8,_0x4b9d22=this[_0x5cdb69(0xa6)],_0x57c91c=_0x4b9d22[_0x5cdb69(0x81)][_0x5cdb69(0xd0)](_0x5cdb69(0x78));if(_0x4b9d22[_0x5cdb69(0x81)][_0x5cdb69(0xd0)](_0x3b35c3)[_0x5cdb69(0xca)](this),_0x57c91c[_0x5cdb69(0xa9)]={'addCommentThread':async({channelId:_0x2f2543,threadId:_0x17983a,comments:_0x49934b,resolvedAt:_0x27983f,resolvedBy:_0x902eea,context:_0x332cfd,attributes:_0x25efb5})=>{const _0x931e57=_0x5cdb69,_0x346188=await this[_0x931e57(0x8c)](_0x2f2543)[_0x931e57(0xb6)]({'commentThreadId':_0x17983a,'comments':_0x49934b[_0x931e57(0xbc)](_0x57c9ea=>function(_0x2c9ee3,_0x234db8,_0x1398d0){const _0xa69ae2=_0x931e57;return{'commentThreadId':_0x1398d0,'commentId':_0x2c9ee3[_0xa69ae2(0x7b)],'userId':_0x2c9ee3[_0xa69ae2(0x80)],'content':_0x2c9ee3[_0xa69ae2(0x96)],'documentId':_0x234db8,'createdAt':_0x2c9ee3[_0xa69ae2(0xa8)],'attributes':_0x2c9ee3[_0xa69ae2(0xa0)]||{}};}(_0x57c9ea,_0x2f2543,_0x17983a)),'resolvedAt':_0x27983f,'resolvedBy':_0x902eea,'context':_0x332cfd,'attributes':_0x25efb5})[_0x931e57(0xc3)](R);return{'threadId':_0x346188[_0x931e57(0xc5)],'comments':_0x346188[_0x931e57(0xb3)]};},'getCommentThread':async({channelId:_0x56a0d3,threadId:_0x362fff})=>{const _0x3c38eb=_0x5cdb69,_0x19dde4=await this[_0x3c38eb(0x8c)](_0x56a0d3)[_0x3c38eb(0x7d)](_0x362fff)[_0x3c38eb(0xc3)](R);return _0x19dde4[_0x3c38eb(0xa4)]?null:(await this[_0x3c38eb(0xb0)]([_0x19dde4]),{'threadId':_0x19dde4[_0x3c38eb(0xc5)],'comments':_0x19dde4[_0x3c38eb(0xb3)][_0x3c38eb(0xbc)](_),'context':_0x19dde4[_0x3c38eb(0xa6)],'resolvedAt':_0x19dde4[_0x3c38eb(0xc1)],'resolvedBy':_0x19dde4[_0x3c38eb(0xb7)],'attributes':_0x19dde4[_0x3c38eb(0xa0)]||{}});},'updateCommentThread':async({channelId:_0x456919,threadId:_0x2c1fd0,context:_0x45ec00,unlinkedAt:_0x1fb461,attributes:_0x4e4c21})=>this[_0x5cdb69(0x8c)](_0x456919)[_0x5cdb69(0xc4)]({'commentThreadId':_0x2c1fd0,'context':_0x45ec00,'attributes':_0x4e4c21,'unlinkedAt':_0x1fb461})[_0x5cdb69(0xc3)](S)[_0x5cdb69(0xc3)](R),'resolveCommentThread':async({channelId:_0x48bd9f,threadId:_0xa83704})=>{const _0x2aeeda=_0x5cdb69,_0x854618=await this[_0x2aeeda(0x8c)](_0x48bd9f)[_0x2aeeda(0xbb)](_0xa83704)[_0x2aeeda(0xc3)](S)[_0x2aeeda(0xc3)](R);return{'threadId':_0x854618[_0x2aeeda(0xc5)],'resolvedAt':_0x854618[_0x2aeeda(0xc1)],'resolvedBy':_0x854618[_0x2aeeda(0xb7)]};},'reopenCommentThread':async({channelId:_0x3f0e29,threadId:_0xa6ddee})=>this[_0x5cdb69(0x8c)](_0x3f0e29)[_0x5cdb69(0x89)](_0xa6ddee)[_0x5cdb69(0xc3)](S)[_0x5cdb69(0xc3)](R),'removeCommentThread':({channelId:_0x5332be,threadId:_0x21cb36})=>this[_0x5cdb69(0x8c)](_0x5332be)[_0x5cdb69(0xaf)](_0x21cb36)[_0x5cdb69(0xc3)](S)[_0x5cdb69(0xc3)](R),'addComment':({channelId:_0x463cfe,threadId:_0x45e94c,commentId:_0x445174,content:_0x3c09d2,attributes:_0x54f239})=>this[_0x5cdb69(0x8c)](_0x463cfe)[_0x5cdb69(0x7a)](_0x45e94c,_0x445174,_0x3c09d2,_0x54f239)[_0x5cdb69(0xc3)](R),'updateComment':({channelId:_0x3a5945,threadId:_0x5d6f37,commentId:_0x17638f,content:_0xc3b21f,attributes:_0x2d840e})=>this[_0x5cdb69(0x8c)](_0x3a5945)[_0x5cdb69(0xce)](_0x5d6f37,_0x17638f,_0xc3b21f,_0x2d840e)[_0x5cdb69(0xc3)](S)[_0x5cdb69(0xc3)](R),'removeComment':({channelId:_0x240688,threadId:_0x1058dd,commentId:_0x997382})=>this[_0x5cdb69(0x8c)](_0x240688)[_0x5cdb69(0x8a)](_0x1058dd,_0x997382)[_0x5cdb69(0xc3)](S)[_0x5cdb69(0xc3)](R)},_0x4b9d22 instanceof _0x2b049e){const _0x12b196=_0x4b9d22[_0x5cdb69(0xd8)][_0x5cdb69(0xd0)](_0x5cdb69(0xae)),_0x355d1f=_0x4b9d22[_0x5cdb69(0x81)][_0x5cdb69(0xd0)](_0xb3c4c4);await this[_0x5cdb69(0x77)](_0x12b196);const _0x4a4e6b=await this[_0x5cdb69(0x8b)][_0x5cdb69(0xd0)](_0x12b196)[_0x5cdb69(0x94)]();this[_0x5cdb69(0xb5)](_0x355d1f,_0x5cdb69(0x95)+_0x12b196,(_0x4b79bf,{session:_0x25be10})=>{const _0xa9b15a=_0x5cdb69;_0x25be10['id']===_0x355d1f[_0xa9b15a(0xc7)]&&(_0x4b79bf[_0xa9b15a(0x82)](),this[_0xa9b15a(0xa6)][_0xa9b15a(0x81)][_0xa9b15a(0xd0)](_0xa9b15a(0xb2))[_0xa9b15a(0xcd)](_0x25be10[_0xa9b15a(0x7f)],_0x12b196));}),_0x355d1f[_0x5cdb69(0x97)](_0x12b196,_0x4a4e6b);}}async[_0x5ad7d8(0x77)](_0x575525){const _0x339f8d=_0x5ad7d8;if(this[_0x339f8d(0x8b)][_0x339f8d(0xab)](_0x575525))throw new _0x5bdc9a(_0x339f8d(0xa7),null,{'channelId':_0x575525});const _0x5ec00c=this[_0x339f8d(0xa6)][_0x339f8d(0x81)][_0x339f8d(0xd0)](_0x339f8d(0x78)),_0x2fa8e4=new a[(_0x339f8d(0x9a))](_0x575525);this[_0x339f8d(0x8b)][_0x339f8d(0x79)](_0x575525,_0x2fa8e4),this[_0x339f8d(0xb5)](_0x2fa8e4,_0x339f8d(0xac),(_0x29bff3,_0x1bbe1e)=>{const _0x2d9736=_0x339f8d,{commentThreadId:_0x55b5f3,documentId:_0x5a86b9,context:_0x4b92a3,attributes:_0x26d5ce,resolvedAt:_0x1c41a8,resolvedBy:_0x5eafd1,comments:_0x90d8fe}=_0x1bbe1e;_0x5ec00c[_0x2d9736(0x7d)](_0x55b5f3)||_0x5ec00c[_0x2d9736(0xb6)]({'threadId':_0x55b5f3,'channelId':_0x5a86b9,'comments':_0x90d8fe?_0x90d8fe[_0x2d9736(0xbc)](_):[],'context':_0x4b92a3,'attributes':_0x26d5ce,'resolvedAt':_0x1c41a8,'resolvedBy':_0x5eafd1,'isFromAdapter':!0x0});}),this[_0x339f8d(0xb5)](_0x2fa8e4,_0x339f8d(0xb1),(_0x5b40b0,{commentThreadId:_0x5cff5b,documentId:_0x3ba067,context:_0x3eaaa2,unlinkedAt:_0x2bfb20,attributes:_0x321a16})=>{const _0x40378f=_0x339f8d;_0x5ec00c[_0x40378f(0x7d)](_0x5cff5b)&&_0x5ec00c[_0x40378f(0xc4)]({'threadId':_0x5cff5b,'channelId':_0x3ba067,'context':_0x3eaaa2,'unlinkedAt':_0x2bfb20,'attributes':_0x321a16,'isFromAdapter':!0x0});}),this[_0x339f8d(0xb5)](_0x2fa8e4,_0x339f8d(0xc9),(_0x3b790b,{commentThreadId:_0x41803a,resolvedBy:_0x398ae9,resolvedAt:_0x125815})=>{const _0x4e87c2=_0x339f8d,_0x578caa=_0x5ec00c[_0x4e87c2(0x7d)](_0x41803a);_0x578caa&&_0x578caa[_0x4e87c2(0x9d)]({'resolvedBy':_0x398ae9,'resolvedAt':_0x125815,'isFromAdapter':!0x0});}),this[_0x339f8d(0xb5)](_0x2fa8e4,_0x339f8d(0xc6),(_0x369fb0,{commentThreadId:_0x416150})=>{const _0x4a6190=_0x339f8d,_0x5420f7=_0x5ec00c[_0x4a6190(0x7d)](_0x416150);_0x5420f7&&_0x5420f7[_0x4a6190(0xd1)]({'isFromAdapter':!0x0});}),this[_0x339f8d(0xb5)](_0x2fa8e4,_0x339f8d(0xaa),(_0x137342,{commentThreadId:_0x4204ac})=>{const _0x57a096=_0x339f8d,_0x50e601=_0x5ec00c[_0x57a096(0x7d)](_0x4204ac);_0x50e601&&_0x50e601[_0x57a096(0xcb)]({'isFromAdapter':!0x0});}),this[_0x339f8d(0xb5)](_0x2fa8e4,_0x339f8d(0xb4),(_0x20d968,_0x3a15bc)=>{const _0x14de0c=_0x339f8d,_0xaeaca0=_0x3a15bc[_0x14de0c(0xc5)],_0x2b542c=_0x5ec00c[_0x14de0c(0x7d)](_0xaeaca0);_0x2b542c&&_0x2b542c[_0x14de0c(0x7a)]({..._(_0x3a15bc),'isFromAdapter':!0x0});}),this[_0x339f8d(0xb5)](_0x2fa8e4,_0x339f8d(0x9f),(_0x4ec52a,{commentThreadId:_0x4a50ff,commentId:_0x56a920,content:_0x43fc67,attributes:_0x51dc91})=>{const _0xc76728=_0x339f8d,_0x54d0dd=_0x5ec00c[_0xc76728(0x7d)](_0x4a50ff);if(_0x54d0dd){const _0x10d657=_0x54d0dd[_0xc76728(0x75)](_0x56a920);_0x10d657&&_0x10d657[_0xc76728(0x84)]({'content':_0x43fc67,'attributes':_0x51dc91,'isFromAdapter':!0x0});}}),this[_0x339f8d(0xb5)](_0x2fa8e4,_0x339f8d(0x76),(_0x234396,{commentThreadId:_0x828984,commentId:_0x46bd87})=>{const _0x527197=_0x339f8d,_0x39b4eb=_0x5ec00c[_0x527197(0x7d)](_0x828984);if(_0x39b4eb){const _0x2c5db2=_0x39b4eb[_0x527197(0x75)](_0x46bd87);_0x2c5db2&&_0x2c5db2[_0x527197(0xcb)]({'isFromAdapter':!0x0});}}),await this[_0x339f8d(0xd6)](_0x575525);}[_0x5ad7d8(0xbf)](){const _0x16637c=_0x5ad7d8;if(this[_0x16637c(0xa6)]instanceof _0x2b049e){const _0x3321c2=this[_0x16637c(0xa6)][_0x16637c(0xd8)][_0x16637c(0xd0)](_0x16637c(0xae));this[_0x16637c(0x98)](_0x3321c2);}}[_0x5ad7d8(0x98)](_0x1a686b){const _0x2d562a=_0x5ad7d8;if(!this[_0x2d562a(0x8b)][_0x2d562a(0xab)](_0x1a686b))throw new _0x5bdc9a(_0x2d562a(0xc8),null,{'channelId':_0x1a686b});this[_0x2d562a(0x8c)](_0x1a686b)[_0x2d562a(0xa3)](),this[_0x2d562a(0x8b)][_0x2d562a(0x90)](_0x1a686b);}async[_0x5ad7d8(0xd3)](){const _0x5c6d6c=_0x5ad7d8;for(const _0x10c9d8 of this[_0x5c6d6c(0x8b)][_0x5c6d6c(0xd7)]())await this[_0x5c6d6c(0xd6)](_0x10c9d8);if(this[_0x5c6d6c(0xa6)]instanceof _0x2b049e){const _0x5b6e46=this[_0x5c6d6c(0xa6)][_0x5c6d6c(0xd8)][_0x5c6d6c(0xd0)](_0x5c6d6c(0xae)),_0x5a421e=this[_0x5c6d6c(0xa6)][_0x5c6d6c(0x81)][_0x5c6d6c(0xd0)](_0xb3c4c4);_0x5a421e[_0x5c6d6c(0xd4)](_0x5b6e46);const _0x553abf=await this[_0x5c6d6c(0x8b)][_0x5c6d6c(0xd0)](_0x5b6e46)[_0x5c6d6c(0x94)]();_0x5a421e[_0x5c6d6c(0x97)](_0x5b6e46,_0x553abf);}}async[_0x5ad7d8(0xd6)](_0x9bcdb1){const _0x1f92e0=_0x5ad7d8,{connection:_0x3a86de}=this[_0x1f92e0(0xa6)][_0x1f92e0(0x81)][_0x1f92e0(0xd0)](_0x3b35c3),_0x5e49c0=this[_0x1f92e0(0xa6)][_0x1f92e0(0x81)][_0x1f92e0(0xd0)](_0x1f92e0(0x78)),_0x88dc1a=this[_0x1f92e0(0x8b)][_0x1f92e0(0xd0)](_0x9bcdb1),_0x49e3e4=await _0x88dc1a[_0x1f92e0(0xba)](_0x3a86de);await this[_0x1f92e0(0xb0)](_0x49e3e4);const _0x2f4e23=new Set(Array[_0x1f92e0(0x7e)](_0x5e49c0[_0x1f92e0(0x91)]({'channelId':_0x9bcdb1}),_0x1df8fb=>_0x1df8fb['id']));for(const _0x1eec72 of _0x49e3e4)_0x1eec72[_0x1f92e0(0xa4)]||_0x2f4e23[_0x1f92e0(0x90)](_0x1eec72[_0x1f92e0(0xc5)]);for(const _0x4f153d of _0x2f4e23)_0x5e49c0[_0x1f92e0(0x7d)](_0x4f153d)[_0x1f92e0(0xcb)]({'isFromAdapter':!0x0});for(const _0x1c6d9e of _0x49e3e4){let _0x58c4fd=_0x5e49c0[_0x1f92e0(0x7d)](_0x1c6d9e[_0x1f92e0(0xc5)]);const {commentThreadId:_0x57fd6a,context:_0x27373f,attributes:_0x5e98c9,resolvedBy:_0x219b65,resolvedAt:_0x37bb70,unlinkedAt:_0x2a0bbb,deletedAt:_0x4445a2}=_0x1c6d9e;if(_0x4445a2)continue;_0x58c4fd||(_0x58c4fd=_0x5e49c0[_0x1f92e0(0xb6)]({'channelId':_0x9bcdb1,'threadId':_0x57fd6a,'context':_0x27373f,'attributes':_0x5e98c9||{},'resolvedBy':_0x219b65,'resolvedAt':_0x37bb70,'unlinkedAt':_0x2a0bbb,'isFromAdapter':!0x0}));const _0xa9badd=new Set(Array[_0x1f92e0(0x7e)](_0x58c4fd[_0x1f92e0(0xb3)],_0x2ae6ba=>_0x2ae6ba['id']));for(const _0x5eb8e4 of _0x1c6d9e[_0x1f92e0(0xb3)])_0xa9badd[_0x1f92e0(0x90)](_0x5eb8e4[_0x1f92e0(0x7b)]);for(const _0x39e874 of _0xa9badd)_0x58c4fd[_0x1f92e0(0x75)](_0x39e874)[_0x1f92e0(0xcb)]({'isFromAdapter':!0x0});for(const _0x42d757 of _0x1c6d9e[_0x1f92e0(0xb3)]){const _0x84ae6=_0x58c4fd[_0x1f92e0(0x75)](_0x42d757[_0x1f92e0(0x7b)]);_0x84ae6?_0x84ae6[_0x1f92e0(0x96)]!==_0x42d757[_0x1f92e0(0x96)]&&_0x84ae6[_0x1f92e0(0x84)]({'content':_0x42d757[_0x1f92e0(0x96)],'isFromAdapter':!0x0}):_0x58c4fd[_0x1f92e0(0x7a)](Object[_0x1f92e0(0x99)](_(_0x42d757),{'isFromAdapter':!0x0}));}}}[_0x5ad7d8(0x8c)](_0x446d10){const _0x28829d=_0x5ad7d8;if(!this[_0x28829d(0x8b)][_0x28829d(0xab)](_0x446d10))throw new _0x5bdc9a(_0x28829d(0xc0),null,{'channelId':_0x446d10});return this[_0x28829d(0x8b)][_0x28829d(0xd0)](_0x446d10);}async[_0x5ad7d8(0xb0)](_0x363ba9){const _0xdc020a=_0x5ad7d8,_0x487a2c=this[_0xdc020a(0xa6)][_0xdc020a(0x81)][_0xdc020a(0xd0)](_0x373669),{connection:_0x1eaa26}=this[_0xdc020a(0xa6)][_0xdc020a(0x81)][_0xdc020a(0xd0)](_0x3b35c3),_0x3cf11b=new Set();for(const {resolvedBy:_0x3d307f,comments:_0x417661}of _0x363ba9){_0x3d307f&&!_0x487a2c[_0xdc020a(0x7c)](_0x3d307f)&&_0x3cf11b[_0xdc020a(0x8f)](_0x3d307f);for(const {userId:_0x3e3646}of _0x417661)_0x487a2c[_0xdc020a(0x7c)](_0x3e3646)||_0x3cf11b[_0xdc020a(0x8f)](_0x3e3646);}if(0x0===_0x3cf11b[_0xdc020a(0xd5)])return;const _0x327a7b=await _0x412fc8[_0xdc020a(0xbd)](_0x1eaa26,Array[_0xdc020a(0x7e)](_0x3cf11b));for(const _0x5ca9bb of _0x327a7b)_0x487a2c[_0xdc020a(0x7c)](_0x5ca9bb['id'])||_0x487a2c[_0xdc020a(0xd9)](_0x5ca9bb);}}export default a;function _0x502a(_0x46b413,_0x3bd355){const _0x53e7e3=_0x53e7();return _0x502a=function(_0x502a08,_0x27c17b){_0x502a08=_0x502a08-0x74;let _0x5d7df4=_0x53e7e3[_0x502a08];return _0x5d7df4;},_0x502a(_0x46b413,_0x3bd355);}async function S(_0x40e394){const _0x2feec6=_0x5ad7d8;if(_0x2feec6(0x9b)!==_0x40e394[_0x2feec6(0x86)])throw _0x40e394;}function R(_0x3b600f){const _0x8b8d13=_0x5ad7d8;if((_0xc6baa=_0x3b600f)[_0x8b8d13(0xcc)][_0x8b8d13(0xcf)](_0x8b8d13(0xa2))||_0xc6baa[_0x8b8d13(0xcc)][_0x8b8d13(0xcf)](_0x8b8d13(0xb9))||_0xc6baa[_0x8b8d13(0xcc)][_0x8b8d13(0xcf)](_0x8b8d13(0x85)))return new Promise(()=>{});var _0xc6baa;throw _0x3b600f;}function _(_0x8feb03){const _0x1c2b39=_0x5ad7d8;return{'threadId':_0x8feb03[_0x1c2b39(0xc5)],'commentId':_0x8feb03[_0x1c2b39(0x7b)],'content':_0x8feb03[_0x1c2b39(0x96)],'createdAt':_0x8feb03[_0x1c2b39(0xa8)],'authorId':_0x8feb03[_0x1c2b39(0x8e)],'attributes':_0x8feb03[_0x1c2b39(0xa0)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x484165=_0x566d;(function(_0x1f0502,_0x5b074c){const _0x781684=_0x566d,_0x492b61=_0x1f0502();while(!![]){try{const _0x21dc5b=parseInt(_0x781684(0x16c))/0x1+-parseInt(_0x781684(0x163))/0x2*(parseInt(_0x781684(0x14c))/0x3)+-parseInt(_0x781684(0x154))/0x4+-parseInt(_0x781684(0x15f))/0x5+parseInt(_0x781684(0x160))/0x6+-parseInt(_0x781684(0x16a))/0x7*(-parseInt(_0x781684(0x168))/0x8)+parseInt(_0x781684(0x162))/0x9*(parseInt(_0x781684(0x15a))/0xa);if(_0x21dc5b===_0x5b074c)break;else _0x492b61['push'](_0x492b61['shift']());}catch(_0x25711f){_0x492b61['push'](_0x492b61['shift']());}}}(_0xa60d,0xc8c72));import{Plugin as _0x38f1c8}from'ckeditor5/src/core.js';function _0x566d(_0x169f99,_0x2c99c8){const _0xa60db7=_0xa60d();return _0x566d=function(_0x566d1a,_0x1abd7f){_0x566d1a=_0x566d1a-0x14c;let _0x293f6f=_0xa60db7[_0x566d1a];return _0x293f6f;},_0x566d(_0x169f99,_0x2c99c8);}import _0x11f254 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x3547f7 from'./realtimecollaborativeediting.js';import _0x4b7d3e from'./realtimecollaborativeediting/websocketgateway.js';function _0xa60d(){const _0x135c52=['destroy','data','editor','plugins','change:state','1370HTlhhZ','ready','once','pluginName','switchReadOnly','5120055nRnaQO','1559448CPWTjd','config','175383kdEoLM','70436tFNovg','_setUpService','requires','connected','isOfficialPlugin','5010464IbCgXh','collaboration.channelId','7ArwqyV','listenTo','637741TWDJtO','init','get','114NeUwPd','_terminateService','CommentsRepository','Comments','isPremiumPlugin','RealTimeCollaborativeComments','CommentsEditing','isThreadsLoadingPaused','4035980aDDZcc'];_0xa60d=function(){return _0x135c52;};return _0xa60d();}export default class m extends _0x38f1c8{static get[_0x484165(0x165)](){const _0xd984e4=_0x484165;return[_0xd984e4(0x14f),_0x11f254,_0x3547f7,_0x4b7d3e];}static get[_0x484165(0x15d)](){const _0x53fa0e=_0x484165;return _0x53fa0e(0x151);}static get[_0x484165(0x167)](){return!0x0;}static get[_0x484165(0x150)](){return!0x0;}[_0x484165(0x16d)](){const _0x39e23b=_0x484165,_0x16be34=this[_0x39e23b(0x157)][_0x39e23b(0x158)][_0x39e23b(0x16e)](_0x4b7d3e),_0x1c0bd1=this[_0x39e23b(0x157)][_0x39e23b(0x158)][_0x39e23b(0x16e)](_0x39e23b(0x152)),_0x2c6a18=this[_0x39e23b(0x157)][_0x39e23b(0x158)][_0x39e23b(0x16e)](_0x11f254);return this[_0x39e23b(0x157)][_0x39e23b(0x156)][_0x39e23b(0x15c)](_0x39e23b(0x15b),()=>{const _0x3409c3=_0x39e23b;this[_0x3409c3(0x16b)](_0x16be34,_0x3409c3(0x159),(_0x54da76,_0x56751a,_0x55caf5)=>{const _0x2c805e=_0x3409c3;_0x1c0bd1[_0x2c805e(0x153)]=_0x2c805e(0x166)!==_0x55caf5;});}),this[_0x39e23b(0x16b)](_0x16be34,_0x39e23b(0x159),(_0x2d4ce5,_0x5ae5e6,_0x5ad2c0)=>{const _0x5b7bdb=_0x39e23b;this[_0x5b7bdb(0x157)][_0x5b7bdb(0x158)][_0x5b7bdb(0x16e)](_0x5b7bdb(0x14e))[_0x5b7bdb(0x15e)](_0x5b7bdb(0x166)!==_0x5ad2c0);}),_0x2c6a18[_0x39e23b(0x164)](this[_0x39e23b(0x157)][_0x39e23b(0x161)][_0x39e23b(0x16e)](_0x39e23b(0x169)));}[_0x484165(0x155)](){const _0x1cf1f7=_0x484165;this[_0x1cf1f7(0x157)][_0x1cf1f7(0x158)][_0x1cf1f7(0x16e)](_0x11f254)[_0x1cf1f7(0x14d)](this[_0x1cf1f7(0x157)][_0x1cf1f7(0x161)][_0x1cf1f7(0x16e)](_0x1cf1f7(0x169))),super[_0x1cf1f7(0x155)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x8a8548)());[_0x19f815(0x26a)];[_0x19f815(0x253)];[_0x19f815(0x1ed)];[_0x19f815(0x1d8)];[_0x19f815(0x19c)];[_0x19f815(0x297)];[_0x19f815(0x276)];[_0x19f815(0x1dd)];[_0x19f815(0x1b0)];[_0x19f815(0x252)];[_0x19f815(0x254)];[_0x19f815(0x23b)];[_0x19f815(0x25d)];[_0x19f815(0x1f3)];[_0x19f815(0x282)];[_0x19f815(0x1ef)];[_0x19f815(0x221)];[_0x19f815(0x1a8)];static get[_0x19f815(0x264)](){return[_0x8b346a,_0x3306ac,_0xaa5ec0,_0x237b84,_0x871d92,_0x531df0];}static get[_0x19f815(0x275)](){const _0x2d158e=_0x19f815;return _0x2d158e(0x215);}static get[_0x19f815(0x26f)](){return!0x0;}static get[_0x19f815(0x24c)](){return!0x0;}get[_0x19f815(0x193)](){const _0x333b3c=_0x19f815;return this[_0x333b3c(0x24e)]+this[_0x333b3c(0x26a)];}get[_0x19f815(0x24e)](){const _0xabac4b=_0x19f815;return this[_0xabac4b(0x1ed)][_0xabac4b(0x1cc)]-this[_0xabac4b(0x26a)];}get[_0x19f815(0x263)](){const _0x46e6dd=_0x19f815,_0x47a416=this[_0x46e6dd(0x1ed)][_0x46e6dd(0x200)]();for(let _0xa6e86e=_0x47a416[_0x46e6dd(0x24f)]-0x1;_0xa6e86e>=0x0;_0xa6e86e--){const _0x3ff717=_0x47a416[_0xa6e86e];if(!this[_0x46e6dd(0x221)][_0x46e6dd(0x239)](_0x3ff717))return _0x3ff717[_0x46e6dd(0x212)]+0x1-this[_0x46e6dd(0x26a)];}return 0x0;}constructor(_0x4db3c9){const _0x109019=_0x19f815;if(super(_0x4db3c9),this[_0x109019(0x26a)]=0x0,this[_0x109019(0x253)]=null,this[_0x109019(0x1ed)]=new _0x423934(),this[_0x109019(0x220)][_0x109019(0x201)][_0x109019(0x21c)](_0x109019(0x1bc),{}),this[_0x109019(0x1d8)]=this[_0x109019(0x220)][_0x109019(0x201)][_0x109019(0x21d)](_0x109019(0x22f)),!this[_0x109019(0x1d8)])throw new _0x454772(_0x109019(0x240),this);const _0x58bde5=_0x4db3c9[_0x109019(0x201)][_0x109019(0x21d)](_0x109019(0x273))||_0x14b518;this[_0x109019(0x19c)]=new l[(_0x109019(0x1a0))](_0x58bde5,this[_0x109019(0x1d8)]),this[_0x109019(0x297)]=this[_0x109019(0x220)][_0x109019(0x1c1)][_0x109019(0x229)],this[_0x109019(0x276)]=new _0x7f36b(),this[_0x109019(0x1dd)]=[],this[_0x109019(0x1b0)]=new WeakSet(),this[_0x109019(0x252)]=new Set(),this[_0x109019(0x1ae)](_0x109019(0x28e),!0x1),this[_0x109019(0x1ae)](_0x109019(0x1f7),!0x1),this[_0x109019(0x254)]=null,this[_0x109019(0x23b)]=!0x1,this[_0x109019(0x25d)]=null,this[_0x109019(0x1f3)]=0x12c,this[_0x109019(0x282)]=this[_0x109019(0x1f3)],this[_0x109019(0x1ef)]=null,this[_0x109019(0x221)]=new WeakSet(),this[_0x109019(0x1a8)]=new Y(this[_0x109019(0x221)]);}[_0x19f815(0x21a)](){const _0x2666b1=_0x19f815,_0x285888=this[_0x2666b1(0x220)],_0x512697=_0x285888[_0x2666b1(0x1f4)][_0x2666b1(0x21d)](_0x871d92),_0x5d20b5=_0x285888[_0x2666b1(0x1f4)][_0x2666b1(0x21d)](_0x8b346a);this[_0x2666b1(0x23e)](_0x512697,_0x2666b1(0x1ff),(_0x262d74,_0x1a4ff4)=>{const _0x30f760=_0x2666b1,_0x5cf912=_0x1a4ff4[0x0];_0x5cf912[_0x30f760(0x258)]&&(_0x262d74[_0x30f760(0x1c4)]=_0x512697[_0x30f760(0x1e1)](_0x5cf912[_0x30f760(0x258)]),_0x262d74[_0x30f760(0x23d)]()),null===_0x5cf912[_0x30f760(0x258)]&&(_0x262d74[_0x30f760(0x1c4)]=null,_0x262d74[_0x30f760(0x23d)]());},{'priority':_0x2666b1(0x1be)}),this[_0x2666b1(0x23e)](_0x285888[_0x2666b1(0x1c1)][_0x2666b1(0x229)][_0x2666b1(0x20d)],_0x2666b1(0x1ad),(_0x3a7a5c,_0x4fc439)=>{const _0x50feb6=_0x2666b1;_0x4fc439[_0x50feb6(0x292)]&&this[_0x50feb6(0x1a3)]();}),this[_0x2666b1(0x23e)](_0x285888[_0x2666b1(0x245)][_0x2666b1(0x242)],_0x2666b1(0x223),()=>{const _0x2fb8a3=_0x2666b1;this[_0x2fb8a3(0x1a3)]();}),this[_0x2666b1(0x1c2)](),_0x285888[_0x2666b1(0x1c1)]['on'](_0x2666b1(0x24a),(_0x241879,_0x205fb3)=>{const _0x2baac1=_0x2666b1,_0x25627d=_0x205fb3[0x0];_0x25627d[_0x2baac1(0x293)]&&(this[_0x2baac1(0x294)](_0x25627d),this[_0x2baac1(0x291)]()&&this[_0x2baac1(0x25a)]());}),this[_0x2666b1(0x267)](),this[_0x2666b1(0x233)](_0x2666b1(0x22b))['to'](_0x5d20b5,_0x2666b1(0x1c5),this,_0x2666b1(0x1f7),(_0x3ed926,_0x315f1c)=>_0x2666b1(0x1f5)===_0x3ed926&&!_0x315f1c),this['on'](_0x2666b1(0x1f1),()=>{const _0x42005e=_0x2666b1;this[_0x42005e(0x22b)]?_0x285888[_0x42005e(0x21e)](_0x42005e(0x284)):_0x285888[_0x42005e(0x236)](_0x42005e(0x284));}),this[_0x2666b1(0x22b)]?_0x285888[_0x2666b1(0x21e)](_0x2666b1(0x284)):_0x285888[_0x2666b1(0x236)](_0x2666b1(0x284)),this[_0x2666b1(0x1ae)](_0x2666b1(0x1ee),!0x1);}async[_0x19f815(0x256)](){const _0x12838b=_0x19f815,_0x4bf9a9=this[_0x12838b(0x220)][_0x12838b(0x1f4)][_0x12838b(0x21d)](_0x3306ac),_0x42a338=this[_0x12838b(0x220)][_0x12838b(0x1f4)][_0x12838b(0x21d)](_0x8b346a);try{this[_0x12838b(0x28e)]=!0x0,_0x4bf9a9[_0x12838b(0x1fd)](this[_0x12838b(0x1d8)]);const _0x2a7258=await this[_0x12838b(0x19c)][_0x12838b(0x256)](_0x42a338[_0x12838b(0x214)],this[_0x12838b(0x263)]);await this[_0x12838b(0x226)](_0x2a7258)&&(this[_0x12838b(0x28e)]=!0x1,this[_0x12838b(0x204)]());const _0x487933=await this[_0x12838b(0x19c)][_0x12838b(0x1d0)]();_0x4bf9a9[_0x12838b(0x224)](this[_0x12838b(0x1d8)],_0x487933),this[_0x12838b(0x219)](),this[_0x12838b(0x1ee)]=!0x0;}catch(_0x2b0d69){if(function(_0x13ffbd){const _0x18104b=_0x12838b;return _0x18104b(0x283)===_0x13ffbd[_0x18104b(0x25e)];}(_0x2b0d69)&&this[_0x12838b(0x253)])await this[_0x12838b(0x1f8)]();else{if(function(_0xd00671){const _0x35691d=_0x12838b;return _0x35691d(0x26d)===_0xd00671[_0x35691d(0x25e)];}(_0x2b0d69)){const _0x56c642=_0x20182c(this[_0x12838b(0x220)][_0x12838b(0x198)],_0x12838b(0x1a7));this[_0x12838b(0x1c6)](_0x56c642);}else{if(!(_0x2b0d69 instanceof Q))throw _0x2b0d69;this[_0x12838b(0x1c6)]();}}}}[_0x19f815(0x271)](){const _0x43aa49=_0x19f815,_0x2c9df2=this[_0x43aa49(0x220)][_0x43aa49(0x1f4)][_0x43aa49(0x21d)](_0x8b346a),_0x5377a7=this[_0x43aa49(0x220)][_0x43aa49(0x1f4)][_0x43aa49(0x21d)](_0x3306ac);this[_0x43aa49(0x220)][_0x43aa49(0x236)](_0x43aa49(0x28c)),_0x5377a7[_0x43aa49(0x249)][_0x43aa49(0x239)](this[_0x43aa49(0x1d8)])&&_0x5377a7[_0x43aa49(0x1fd)](this[_0x43aa49(0x1d8)]),_0x2c9df2[_0x43aa49(0x24b)](this),this[_0x43aa49(0x259)](),super[_0x43aa49(0x271)]();}async[_0x19f815(0x226)](_0x21c7f1){const _0x737d8d=_0x19f815;if(this[_0x737d8d(0x253)]!==_0x21c7f1[_0x737d8d(0x253)]&&this[_0x737d8d(0x1ef)]!==_0x21c7f1[_0x737d8d(0x289)])throw new Q();return this[_0x737d8d(0x253)]=_0x21c7f1[_0x737d8d(0x253)],this[_0x737d8d(0x1d1)]([],{..._0x21c7f1,'wereChangesApplied':!0x1,'data':_0x21c7f1[_0x737d8d(0x1ba)]},_0x737d8d(0x256));}async[_0x19f815(0x261)](_0x1a90db,_0x41c8d2=!0x1){const _0x4fa46c=_0x19f815,{connection:_0x18face}=this[_0x4fa46c(0x220)][_0x4fa46c(0x1f4)][_0x4fa46c(0x21d)](_0x8b346a);l[_0x4fa46c(0x1a0)][_0x4fa46c(0x1d0)](_0x18face,this[_0x4fa46c(0x1d8)])[_0x4fa46c(0x251)](_0x19d259=>this[_0x4fa46c(0x241)](_0x19d259))[_0x4fa46c(0x27a)](_0x2c5bbc=>{const _0x284e0b=_0x4fa46c;this[_0x284e0b(0x296)](_0x284e0b(0x1f9),_0x2c5bbc);}),this[_0x4fa46c(0x23e)](this[_0x4fa46c(0x19c)],_0x4fa46c(0x1fb),this[_0x4fa46c(0x213)][_0x4fa46c(0x233)](this)),this[_0x4fa46c(0x23e)](this[_0x4fa46c(0x19c)],_0x4fa46c(0x278),(_0x31eb1e,_0x5527cb)=>{const _0x2ddf89=_0x4fa46c;this[_0x2ddf89(0x296)](_0x2ddf89(0x1d9),_0x5527cb);}),this[_0x4fa46c(0x23e)](this[_0x4fa46c(0x19c)],_0x4fa46c(0x246),()=>{const _0x39173a=_0x4fa46c;this[_0x39173a(0x1ee)]=!0x1;});const _0x55cdea=this[_0x4fa46c(0x1a8)][_0x4fa46c(0x21b)](_0x1a90db);this[_0x4fa46c(0x28e)]=!0x0;const _0x240691=await this[_0x4fa46c(0x19c)][_0x4fa46c(0x1dc)](_0x18face,this[_0x4fa46c(0x1b8)](_0x1a90db),_0x55cdea);if(this[_0x4fa46c(0x253)]=_0x240691[_0x4fa46c(0x253)],_0x41c8d2){if(!_0x240691[_0x4fa46c(0x1b7)])return void this[_0x4fa46c(0x1c6)]();this[_0x4fa46c(0x28e)]=!0x1,this[_0x4fa46c(0x204)](),this[_0x4fa46c(0x1ed)][_0x4fa46c(0x1e3)](),this[_0x4fa46c(0x26a)]=_0x240691[_0x4fa46c(0x192)],this[_0x4fa46c(0x1ed)][_0x4fa46c(0x1cc)]=this[_0x4fa46c(0x26a)],await this[_0x4fa46c(0x1d1)](_0x1a90db,_0x240691,_0x4fa46c(0x28f));}else await this[_0x4fa46c(0x24d)](_0x240691,_0x1a90db);this[_0x4fa46c(0x219)](),this[_0x4fa46c(0x1ee)]=!0x0;}[_0x19f815(0x219)](){const _0x3bac13=_0x19f815,_0x292f27=this[_0x3bac13(0x220)][_0x3bac13(0x1f4)][_0x3bac13(0x21d)](_0x3306ac),_0x328843=this[_0x3bac13(0x220)][_0x3bac13(0x1f4)][_0x3bac13(0x21d)](_0xaa5ec0),_0x1058ac=_0x292f27[_0x3bac13(0x249)][_0x3bac13(0x21d)](this[_0x3bac13(0x1d8)]);_0x1058ac&&_0x1058ac[_0x3bac13(0x24f)]>0x1?_0x328843[_0x3bac13(0x1e6)]():this[_0x3bac13(0x23e)](_0x292f27,_0x3bac13(0x1da)+this[_0x3bac13(0x1d8)],()=>{const _0x4b349e=_0x3bac13;0x2===_0x292f27[_0x4b349e(0x249)][_0x4b349e(0x21d)](this[_0x4b349e(0x1d8)])[_0x4b349e(0x24f)]&&_0x328843[_0x4b349e(0x1e6)]();});}async[_0x19f815(0x213)](_0x136af0,_0x574adc,_0x1d53c9,_0x4569d9){const _0x2c1fb9=_0x19f815;if(!this[_0x2c1fb9(0x28e)]&&this[_0x2c1fb9(0x297)][_0x2c1fb9(0x1cc)]==_0x574adc){const _0xd51759=this[_0x2c1fb9(0x1af)](_0x1d53c9,_0x4569d9);await this[_0x2c1fb9(0x1b3)](_0xd51759),this[_0x2c1fb9(0x288)](_0xd51759,_0x574adc,_0x1d53c9[_0x2c1fb9(0x289)])||this[_0x2c1fb9(0x296)](_0x2c1fb9(0x1b1));}}async[_0x19f815(0x1f8)](){const _0x3ef997=_0x19f815;this[_0x3ef997(0x259)]();const {locale:_0x667011}=this[_0x3ef997(0x220)];let _0x5c008d;try{_0x5c008d=await this[_0x3ef997(0x19c)][_0x3ef997(0x1eb)]();}catch(_0x3bc357){const _0x426a42=_0x20182c(_0x667011,_0x3ef997(0x210));return void this[_0x3ef997(0x1c6)](_0x426a42);}const _0x51e642=_0x5c008d[_0x3ef997(0x205)]||_0x5c008d[_0x3ef997(0x268)];if(this[_0x3ef997(0x1ef)]===_0x51e642[_0x3ef997(0x289)])await this[_0x3ef997(0x261)](this[_0x3ef997(0x220)][_0x3ef997(0x1c1)][_0x3ef997(0x229)][_0x3ef997(0x1bb)][_0x3ef997(0x200)](),!0x0);else{const _0x4f72e7=_0x20182c(_0x667011,_0x3ef997(0x19a));this[_0x3ef997(0x1c6)](_0x4f72e7);}}[_0x19f815(0x259)](){const _0x569809=_0x19f815;this[_0x569809(0x19c)][_0x569809(0x1db)](),this[_0x569809(0x1dd)]=[],clearTimeout(this[_0x569809(0x25d)]),this[_0x569809(0x27e)](this[_0x569809(0x19c)]);}[_0x19f815(0x241)](_0xb4826e){const _0x3d6087=_0x19f815,_0x3f3f69=this[_0x3d6087(0x220)][_0x3d6087(0x1f4)][_0x3d6087(0x21d)](_0x3306ac);this[_0x3d6087(0x23e)](_0x3f3f69,_0x3d6087(0x1da)+this[_0x3d6087(0x1d8)],(_0x28c220,{session:_0x40a66b})=>{const _0xf97603=_0x3d6087;if(_0x40a66b['id']===_0x3f3f69[_0xf97603(0x244)]){_0x28c220[_0xf97603(0x211)]();const _0x53c8d6=this[_0xf97603(0x220)][_0xf97603(0x1f4)][_0xf97603(0x239)](_0xf97603(0x1b6))&&this[_0xf97603(0x220)][_0xf97603(0x1f4)][_0xf97603(0x21d)](_0xf97603(0x1b6));let _0x45f6af=_0x40a66b[_0xf97603(0x19e)];_0x53c8d6&&_0x53c8d6[_0xf97603(0x218)]&&(_0x45f6af=_0x45f6af[_0xf97603(0x1cd)](_0x3be810=>_0xf97603(0x28b)!==_0x3be810)),this[_0xf97603(0x220)][_0xf97603(0x1f4)][_0xf97603(0x21d)](_0xf97603(0x199))[_0xf97603(0x1ac)](_0x45f6af,this[_0xf97603(0x1d8)]);}}),_0x3f3f69[_0x3d6087(0x224)](this[_0x3d6087(0x1d8)],_0xb4826e);}[_0x19f815(0x1c2)](){const _0x3161dd=_0x19f815,_0x36adc6=this[_0x3161dd(0x220)][_0x3161dd(0x1ba)][_0x3161dd(0x1ae)];this[_0x3161dd(0x220)][_0x3161dd(0x1ba)][_0x3161dd(0x1ae)]=(..._0x21ac38)=>{const _0x3b2039=_0x3161dd;if(!_0x21ac38[_0x21ac38[_0x3b2039(0x24f)]-0x1][_0x3b2039(0x1f2)])throw new _0x454772(_0x3b2039(0x1fa),this);_0x36adc6[_0x3b2039(0x26b)](this[_0x3b2039(0x220)][_0x3b2039(0x1ba)],_0x21ac38);};}[_0x19f815(0x267)](){const _0x3924e1=_0x19f815;this[_0x3924e1(0x220)][_0x3924e1(0x1ba)]['on'](_0x3924e1(0x21a),(_0x59c8dd,[_0x512aaa])=>{const _0x168f9d=_0x3924e1;if(this[_0x168f9d(0x297)][_0x168f9d(0x1cc)])throw new _0x454772(_0x168f9d(0x21f),this);_0x59c8dd[_0x168f9d(0x23d)](),this[_0x168f9d(0x1aa)]();const _0x54ad3d=this[_0x168f9d(0x220)][_0x168f9d(0x201)][_0x168f9d(0x21d)](_0x168f9d(0x250)),_0x2292a0=this[_0x168f9d(0x227)](_0x512aaa,_0x54ad3d);0x0==_0x2292a0[_0x168f9d(0x24f)]&&_0x2292a0[_0x168f9d(0x1ce)](new _0x45bea2(0x0)),_0x59c8dd[_0x168f9d(0x1c4)]=this[_0x168f9d(0x261)](_0x2292a0)[_0x168f9d(0x251)](()=>{const _0x50332d=_0x168f9d;this[_0x50332d(0x220)][_0x50332d(0x1f4)][_0x50332d(0x21d)](_0x8b346a)[_0x50332d(0x266)](this),this[_0x50332d(0x220)][_0x50332d(0x1ba)][_0x50332d(0x1e5)](_0x50332d(0x20b));})[_0x168f9d(0x27a)](_0xc05eef=>this[_0x168f9d(0x296)](_0x168f9d(0x27c),_0xc05eef))[_0x168f9d(0x20c)](()=>this[_0x168f9d(0x204)]());},{'priority':_0x3924e1(0x1be)}),this[_0x3924e1(0x220)]['on'](_0x3924e1(0x243),async(_0xf60952,[_0x4db16d,_0xa0423f])=>{const _0xe1f10b=_0x3924e1;_0xf60952[_0xe1f10b(0x23d)]();const _0x20993c=this[_0xe1f10b(0x220)][_0xe1f10b(0x1c1)][_0xe1f10b(0x229)][_0xe1f10b(0x287)](_0x4db16d);if(!this[_0xe1f10b(0x252)][_0xe1f10b(0x239)](_0x4db16d)){const _0x2b1821=_0xa0423f&&_0xa0423f[_0xe1f10b(0x1ba)]?_0xa0423f[_0xe1f10b(0x1ba)]:'',_0x2e99f5=_0xa0423f&&_0xa0423f[_0xe1f10b(0x1ca)]?_0xa0423f[_0xe1f10b(0x1ca)]:{};await this[_0xe1f10b(0x1f0)](_0x4db16d,_0x2b1821,_0x2e99f5);}this[_0xe1f10b(0x220)][_0xe1f10b(0x1c1)][_0xe1f10b(0x234)]({'isUndoable':!0x1},()=>{const _0x42a49d=_0xe1f10b;_0x20993c[_0x42a49d(0x280)]=!0x0,this[_0x42a49d(0x220)][_0x42a49d(0x1c1)][_0x42a49d(0x229)][_0x42a49d(0x279)][_0x42a49d(0x1a1)](_0x20993c);});},{'priority':_0x3924e1(0x1be)});}async[_0x19f815(0x1b3)](_0x216e90){const _0x131d60=_0x19f815,_0x5b4edf=this[_0x131d60(0x220)][_0x131d60(0x1f4)][_0x131d60(0x21d)](_0x871d92),{connection:_0x480bda}=this[_0x131d60(0x220)][_0x131d60(0x1f4)][_0x131d60(0x21d)](_0x8b346a),_0x544a13=new Set();for(const _0x3c70ce of _0x216e90){const _0x10bf74=_0x3c70ce[_0x131d60(0x258)];_0x10bf74&&!_0x5b4edf[_0x131d60(0x1e1)](_0x10bf74)&&_0x544a13[_0x131d60(0x270)](_0x10bf74);}if(0x0===_0x544a13[_0x131d60(0x208)])return;const _0x395352=await _0x46718b[_0x131d60(0x1a9)](_0x480bda,Array[_0x131d60(0x1d2)](_0x544a13));for(const _0x46dad9 of _0x395352)_0x5b4edf[_0x131d60(0x1e1)](_0x46dad9['id'])||_0x5b4edf[_0x131d60(0x1b9)](_0x46dad9);}[_0x19f815(0x227)](_0xc1d4b9,_0x3ed1b0={}){const _0x4455a7=_0x19f815,_0x4fa7b9=this[_0x4455a7(0x220)][_0x4455a7(0x1c1)],_0x1ec742=[];let _0x8a7da=0x0;const _0x456941=_0x4455a7(0x238)==typeof _0xc1d4b9?{'main':_0xc1d4b9}:_0xc1d4b9;for(const _0x3edc17 of Object[_0x4455a7(0x19f)](_0x456941)){if(!this[_0x4455a7(0x297)][_0x4455a7(0x1bf)][_0x4455a7(0x239)](_0x3edc17))throw new _0x454772(_0x4455a7(0x1cf),this);const _0x16d037=this[_0x4455a7(0x220)][_0x4455a7(0x1ba)][_0x4455a7(0x1e8)](_0x456941[_0x3edc17]),_0x4b300e=this[_0x4455a7(0x297)][_0x4455a7(0x287)](_0x3edc17),_0x4678c1=new _0x404fd7(_0x4fa7b9[_0x4455a7(0x295)](_0x4b300e,0x0),_0x16d037,_0x8a7da++);_0x1ec742[_0x4455a7(0x1ce)](_0x4678c1);for(const [_0x233f86,_0x35cc33]of _0x16d037[_0x4455a7(0x265)]){const _0x2946a0=_0x4fa7b9[_0x4455a7(0x1b5)](_0x4fa7b9[_0x4455a7(0x277)](_0x4b300e,_0x35cc33[_0x4455a7(0x22e)][_0x4455a7(0x1a6)][_0x4455a7(0x1e2)]()),_0x4fa7b9[_0x4455a7(0x277)](_0x4b300e,_0x35cc33[_0x4455a7(0x20e)][_0x4455a7(0x1a6)][_0x4455a7(0x1e2)]())),_0x5b6f2f=new _0x46e72e(_0x233f86,null,_0x2946a0,_0x4fa7b9[_0x4455a7(0x265)],!0x0,_0x8a7da++);_0x1ec742[_0x4455a7(0x1ce)](_0x5b6f2f);}}if(_0x3ed1b0)for(const [_0x4c75b2,_0x3d61ab]of Object[_0x4455a7(0x203)](_0x3ed1b0)){const _0x58bd9e=_0x4fa7b9[_0x4455a7(0x229)][_0x4455a7(0x287)](_0x4c75b2);if(!_0x58bd9e)throw new _0x454772(_0x4455a7(0x1e4),null);for(const [_0x278a9b,_0x2584d3]of Object[_0x4455a7(0x203)](_0x3d61ab))if(null!==_0x2584d3){const _0x2169f9=new _0xeb1c56(_0x58bd9e,_0x278a9b,null,_0x2584d3,_0x8a7da++);_0x1ec742[_0x4455a7(0x1ce)](_0x2169f9);}}return _0x1ec742;}async[_0x19f815(0x1f0)](_0x51e6bc,_0x37a653,_0x3a6f90){const _0x15543f=_0x19f815;this[_0x15543f(0x227)]({[_0x51e6bc]:_0x37a653},{[_0x51e6bc]:_0x3a6f90})[_0x15543f(0x262)]((_0xfc44a5,_0x51ee6e)=>{const _0x1650fb=_0x15543f;_0xfc44a5[_0x1650fb(0x212)]=this[_0x1650fb(0x297)][_0x1650fb(0x1cc)]+_0x51ee6e,_0xfc44a5[_0x1650fb(0x20f)]=!0x0,this[_0x1650fb(0x294)](_0xfc44a5);}),this[_0x15543f(0x25a)](),await this[_0x15543f(0x1d5)]();}async[_0x19f815(0x24d)](_0x38a3ac,_0x51dd13){const _0x390038=_0x19f815;let _0x581c52;this[_0x390038(0x26a)]=_0x38a3ac[_0x390038(0x192)];const _0x536e74=_0x38a3ac[_0x390038(0x1b7)]&&!_0x38a3ac[_0x390038(0x1c9)],_0x4281f8=_0x536e74?0x0:_0x38a3ac[_0x390038(0x1ba)][_0x390038(0x212)];if(_0x51dd13[_0x390038(0x262)](_0x239503=>{const _0x3ac534=_0x390038;_0x239503[_0x3ac534(0x20f)]=!0x0,_0x239503[_0x3ac534(0x27f)]=_0x38a3ac[_0x3ac534(0x1cb)],_0x239503[_0x3ac534(0x258)]=null;}),_0x536e74)_0x581c52=_0x51dd13,this[_0x390038(0x1e0)](_0x581c52,_0x536e74);else{if(_0x38a3ac[_0x390038(0x1c9)]){const _0x525135=this[_0x390038(0x227)](_0x38a3ac[_0x390038(0x1c9)]);this[_0x390038(0x297)][_0x390038(0x1bb)][_0x390038(0x1cc)]=-_0x525135[_0x390038(0x24f)],_0x525135[_0x390038(0x262)](_0x546e9a=>{const _0x58cdc6=_0x390038;_0x546e9a[_0x58cdc6(0x212)]-=_0x525135[_0x58cdc6(0x24f)],_0x546e9a[_0x58cdc6(0x27f)]=_0x38a3ac[_0x58cdc6(0x1cb)],_0x546e9a[_0x58cdc6(0x20f)]=!0x0,_0x546e9a[_0x58cdc6(0x258)]=null;}),this[_0x390038(0x1e0)](_0x525135,!0x0),this[_0x390038(0x1ed)][_0x390038(0x1cc)]=-_0x525135[_0x390038(0x24f)]+this[_0x390038(0x26a)],this[_0x390038(0x1e9)](_0x525135);}this[_0x390038(0x297)][_0x390038(0x1bb)][_0x390038(0x1cc)]=_0x4281f8,_0x581c52=this[_0x390038(0x1af)](_0x38a3ac[_0x390038(0x1ba)],_0x38a3ac[_0x390038(0x1bd)]),await this[_0x390038(0x1b3)](_0x581c52),this[_0x390038(0x1e0)](_0x581c52,_0x536e74);}_0x38a3ac[_0x390038(0x289)]&&(this[_0x390038(0x1a8)][_0x390038(0x1d4)](_0x581c52,_0x38a3ac[_0x390038(0x289)]),this[_0x390038(0x1ef)]=_0x38a3ac[_0x390038(0x289)]),this[_0x390038(0x1ed)][_0x390038(0x1cc)]=_0x4281f8+this[_0x390038(0x26a)],this[_0x390038(0x1e9)](_0x581c52),_0x51dd13[_0x390038(0x1cd)](_0x31fb65=>{const _0x5dfb3e=_0x390038,_0xacfe01=this[_0x5dfb3e(0x19d)](_0x31fb65);return _0xacfe01&&!this[_0x5dfb3e(0x252)][_0x5dfb3e(0x239)](_0xacfe01);})[_0x390038(0x262)]((_0x2181c9,_0xfc956d)=>{const _0x2e2979=_0x390038;_0x2181c9[_0x2e2979(0x212)]=this[_0x2e2979(0x297)][_0x2e2979(0x1cc)]+_0xfc956d,this[_0x2e2979(0x294)](_0x2181c9);}),this[_0x390038(0x291)]()?(this[_0x390038(0x282)]=0x0,this[_0x390038(0x25a)](!0x0),await this[_0x390038(0x1d5)]()):(this[_0x390038(0x28e)]=!0x1,this[_0x390038(0x204)]());}[_0x19f815(0x296)](_0x3effe5,_0x9635a7){const _0x5b757f=_0x19f815,_0x53bab6=_0x9635a7&&_0x9635a7[_0x5b757f(0x237)];if(_0x53bab6&&_0x53bab6[_0x5b757f(0x195)](_0x5b757f(0x1c0)))throw _0x9635a7;const _0x35dbfa=this[_0x5b757f(0x220)][_0x5b757f(0x1f4)][_0x5b757f(0x21d)](_0x8b346a);throw this[_0x5b757f(0x28e)]=!0x0,_0x35dbfa[_0x5b757f(0x1db)](),this[_0x5b757f(0x220)][_0x5b757f(0x236)](_0x5b757f(0x281)),new _0x454772(_0x3effe5,this[_0x5b757f(0x220)],_0x53bab6?{'originalError':_0x53bab6}:void 0x0);}[_0x19f815(0x294)](_0xef0c4c){const _0x5e43ab=_0x19f815;this[_0x5e43ab(0x1b0)][_0x5e43ab(0x239)](_0xef0c4c)||(this[_0x5e43ab(0x1b0)][_0x5e43ab(0x270)](_0xef0c4c),this[_0x5e43ab(0x1dd)][_0x5e43ab(0x1ce)](_0xef0c4c),this[_0x5e43ab(0x254)]||_0x5e43ab(0x23a)==_0xef0c4c[_0x5e43ab(0x285)]&&!_0xef0c4c[_0x5e43ab(0x260)]||this[_0x5e43ab(0x1aa)]());}[_0x19f815(0x25a)](_0x20c7f1=!0x1){const _0x5e9ac1=_0x19f815;!_0x20c7f1&&this[_0x5e9ac1(0x28e)]||(this[_0x5e9ac1(0x28e)]=!0x0,clearTimeout(this[_0x5e9ac1(0x25d)]),this[_0x5e9ac1(0x25d)]=setTimeout(()=>{const _0xaf7235=_0x5e9ac1;this[_0xaf7235(0x1fc)]()[_0xaf7235(0x251)](_0x59bcdf=>{const _0x2db686=_0xaf7235;_0x59bcdf&&(this[_0x2db686(0x204)](),this[_0x2db686(0x28e)]=!0x1);})[_0xaf7235(0x27a)](_0x8773c4=>{const _0x51d08c=_0xaf7235;this[_0x51d08c(0x204)](),this[_0x51d08c(0x28e)]=!0x1,function(_0x1f087a){const _0x296674=_0x51d08c;return _0x1f087a[_0x296674(0x237)][_0x296674(0x195)](_0x296674(0x1df))||_0x1f087a[_0x296674(0x237)][_0x296674(0x195)](_0x296674(0x25b))||_0x1f087a[_0x296674(0x237)][_0x296674(0x195)](_0x296674(0x28a));}(_0x8773c4)||this[_0x51d08c(0x296)](_0x8773c4[_0x51d08c(0x237)],_0x8773c4);});},this[_0x5e9ac1(0x282)]));}[_0x19f815(0x1d5)](){return new Promise(_0x5bfb27=>{const _0x43b53f=_0x3207;this['on'](_0x43b53f(0x209),()=>{_0x5bfb27();});});}async[_0x19f815(0x1fc)](){const _0x72b78a=_0x19f815,_0x4eed1e=this[_0x72b78a(0x220)][_0x72b78a(0x1f4)][_0x72b78a(0x21d)](_0xaa5ec0);if(this[_0x72b78a(0x28d)]()&&(_0x4eed1e[_0x72b78a(0x1e6)](),this[_0x72b78a(0x23b)]=!0x1),!this[_0x72b78a(0x291)]())return!0x0;const _0x11c784=[...this[_0x72b78a(0x1dd)]];for(const _0x4e6292 of _0x11c784)_0x4e6292[_0x72b78a(0x231)]=this[_0x72b78a(0x297)][_0x72b78a(0x1bb)][_0x72b78a(0x202)](_0x4e6292);const _0x4c21b9=this[_0x72b78a(0x1a8)][_0x72b78a(0x21b)](_0x11c784),_0x10d716=J++,_0x5611b7=this[_0x72b78a(0x1b8)](_0x11c784),_0x45166b=await this[_0x72b78a(0x19c)][_0x72b78a(0x1c3)](_0x5611b7,_0x5611b7[_0x72b78a(0x212)],_0x4c21b9);try{return await this[_0x72b78a(0x1d1)](_0x11c784,_0x45166b,_0x10d716);}catch(_0x4cc056){return this[_0x72b78a(0x296)](_0x72b78a(0x194),_0x4cc056);}}async[_0x19f815(0x1d1)](_0x298578,_0x303467,_0x36c320){const _0x38c629=_0x19f815;if(_0x38c629(0x278)in _0x303467)throw _0x303467[_0x38c629(0x278)];let _0xec90fd=!0x1;if(_0x303467[_0x38c629(0x1b7)]){_0x303467[_0x38c629(0x289)]&&(this[_0x38c629(0x1ef)]=_0x303467[_0x38c629(0x289)]),this[_0x38c629(0x1dd)]=this[_0x38c629(0x1dd)][_0x38c629(0x1cd)](_0xc6756d=>!_0x298578[_0x38c629(0x1fe)](_0xc6756d));for(const _0x5ba8cd of _0x298578)_0x5ba8cd[_0x38c629(0x27f)]=_0x38c629(0x207)in _0x303467&&_0x303467[_0x38c629(0x207)]||void 0x0;X(_0x298578,_0x303467[_0x38c629(0x1cc)]-_0x298578[_0x38c629(0x24f)]),this[_0x38c629(0x1e9)](_0x298578);const _0x5480a7=_0x298578[_0x38c629(0x1cd)](_0x40428f=>{const _0x40cf1b=_0x38c629;if(!_0x40428f[_0x40cf1b(0x20f)])return!0x1;const _0x1add66=this[_0x40cf1b(0x19d)](_0x40428f);return _0x1add66&&!this[_0x40cf1b(0x252)][_0x40cf1b(0x239)](_0x1add66);});X(_0x5480a7,this[_0x38c629(0x297)][_0x38c629(0x1cc)]),this[_0x38c629(0x1e0)](_0x5480a7),_0xec90fd=!0x0,this[_0x38c629(0x282)]=this[_0x38c629(0x1f3)];}else{const _0xc4e5d2=this[_0x38c629(0x1af)](_0x303467[_0x38c629(0x1ba)],_0x303467[_0x38c629(0x1bd)])[_0x38c629(0x1cd)](_0x3b701f=>_0x3b701f[_0x38c629(0x212)]>=this[_0x38c629(0x24e)]);_0xc4e5d2[_0x38c629(0x262)](_0x297f1e=>this[_0x38c629(0x255)](_0x297f1e)),this[_0x38c629(0x1dd)]=this[_0x38c629(0x1dd)][_0x38c629(0x1cd)](_0x505773=>!_0x505773[_0x38c629(0x20f)]||!this[_0x38c629(0x252)][_0x38c629(0x239)](this[_0x38c629(0x19d)](_0x505773))),this[_0x38c629(0x1dd)][_0x38c629(0x24f)]&&X(this[_0x38c629(0x1dd)],this[_0x38c629(0x1dd)][0x0][_0x38c629(0x212)]),await this[_0x38c629(0x1b3)](_0xc4e5d2),_0xec90fd=this[_0x38c629(0x288)](_0xc4e5d2,_0x303467[_0x38c629(0x1cc)],_0x303467[_0x38c629(0x289)]),this[_0x38c629(0x282)]=Math[_0x38c629(0x1de)](this[_0x38c629(0x282)]/0x2);}return _0xec90fd?!this[_0x38c629(0x291)]()||(this[_0x38c629(0x25a)](!0x0),!0x1):this[_0x38c629(0x296)](_0x38c629(0x1d3));}[_0x19f815(0x288)](_0x258f1c,_0x182bea,_0x52a15f){const _0x96894a=_0x19f815;try{const _0x5d373d={'document':this[_0x96894a(0x297)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x20d0e1,operationsB:_0xfc0933,originalOperations:_0x40b44b}=_0x41680b(_0x258f1c,this[_0x96894a(0x1dd)],_0x5d373d);X(_0x20d0e1,this[_0x96894a(0x297)][_0x96894a(0x1cc)]),X(_0xfc0933,_0x182bea);for(const _0x12cfc0 of _0x20d0e1){const _0x163745=_0x40b44b[_0x96894a(0x21d)](_0x12cfc0);_0x12cfc0[_0x96894a(0x258)]=_0x163745?_0x163745[_0x96894a(0x258)]:null;}_0x52a15f&&(this[_0x96894a(0x1a8)][_0x96894a(0x1d4)](_0x258f1c,_0x52a15f),this[_0x96894a(0x1ef)]=_0x52a15f),this[_0x96894a(0x1dd)]=[..._0xfc0933],this[_0x96894a(0x1e0)](_0x20d0e1),this[_0x96894a(0x1e9)](_0x258f1c);}catch(_0x2ada8a){return console[_0x96894a(0x278)](_0x2ada8a),!0x1;}return!0x0;}[_0x19f815(0x1e0)](_0x39b4aa,_0x344d53=!0x1){const _0x52f7c3=_0x19f815;this[_0x52f7c3(0x220)][_0x52f7c3(0x1c1)][_0x52f7c3(0x234)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5bf893=>{const _0x588784=_0x52f7c3;for(const _0x51de8d of _0x39b4aa)this[_0x588784(0x1b0)][_0x588784(0x270)](_0x51de8d),this[_0x588784(0x255)](_0x51de8d),_0x5bf893[_0x588784(0x27b)][_0x588784(0x286)](_0x51de8d),this[_0x588784(0x220)][_0x588784(0x1c1)][_0x588784(0x24a)](_0x51de8d);});}[_0x19f815(0x255)](_0x218fd4){const _0x2634ad=_0x19f815,_0x1f050d=this[_0x2634ad(0x19d)](_0x218fd4);_0x1f050d&&this[_0x2634ad(0x252)][_0x2634ad(0x270)](_0x1f050d);}[_0x19f815(0x19d)](_0x4b40c8){const _0x259dd8=_0x19f815;let _0x20a797,_0x100847;switch(_0x4b40c8[_0x259dd8(0x285)]){case _0x259dd8(0x1a2):_0x20a797=_0x4b40c8[_0x259dd8(0x269)][_0x259dd8(0x290)];break;case _0x259dd8(0x23a):if(_0x100847=_0x4b40c8[_0x259dd8(0x22d)],!_0x100847)return null;_0x20a797=_0x100847[_0x259dd8(0x290)];break;case _0x259dd8(0x228):_0x20a797=_0x4b40c8[_0x259dd8(0x290)];break;case _0x259dd8(0x1ec):_0x20a797=_0x4b40c8[_0x259dd8(0x1e7)];break;case _0x259dd8(0x206):_0x20a797=_0x4b40c8[_0x259dd8(0x1f6)][_0x259dd8(0x290)];break;default:return null;}return _0x20a797[_0x259dd8(0x23c)];}[_0x19f815(0x1e9)](_0x91438f){const _0x285082=_0x19f815;_0x91438f[_0x285082(0x262)](_0x14e6e9=>{const _0x1b31f2=_0x285082,_0x2c8784=_0x14e6e9[_0x1b31f2(0x216)]();_0x2c8784[_0x1b31f2(0x258)]=_0x14e6e9[_0x1b31f2(0x258)],_0x2c8784[_0x1b31f2(0x20f)]=!!_0x14e6e9[_0x1b31f2(0x20f)],_0x2c8784[_0x1b31f2(0x27f)]=_0x14e6e9[_0x1b31f2(0x27f)],_0x2c8784[_0x1b31f2(0x212)]+=this[_0x1b31f2(0x26a)],_0x14e6e9[_0x1b31f2(0x26c)]&&this[_0x1b31f2(0x221)][_0x1b31f2(0x270)](_0x2c8784),this[_0x1b31f2(0x1ed)][_0x1b31f2(0x286)](_0x2c8784);});}[_0x19f815(0x1c6)](_0x1404fb){const _0x5ad707=_0x19f815,_0x5bfce8=this[_0x5ad707(0x220)][_0x5ad707(0x1f4)][_0x5ad707(0x21d)](_0x5ad707(0x25f)),_0x5da204=this[_0x5ad707(0x220)][_0x5ad707(0x198)];_0x1404fb||(_0x1404fb=_0x20182c(_0x5da204,_0x5ad707(0x248))),_0x5bfce8[_0x5ad707(0x196)](_0x1404fb,{'title':_0x20182c(_0x5da204,_0x5ad707(0x1d6)),'namespace':_0x5ad707(0x22c)}),this[_0x5ad707(0x1f7)]=!0x0,clearTimeout(this[_0x5ad707(0x25d)]),this[_0x5ad707(0x1dd)]=[],this[_0x5ad707(0x220)][_0x5ad707(0x1f4)][_0x5ad707(0x21d)](_0x8b346a)[_0x5ad707(0x1db)]();}[_0x19f815(0x1aa)](){const _0x19c584=_0x19f815;this[_0x19c584(0x254)]||(this[_0x19c584(0x254)]=this[_0x19c584(0x220)][_0x19c584(0x1f4)][_0x19c584(0x21d)](_0x237b84)[_0x19c584(0x270)](_0x20182c(this[_0x19c584(0x220)][_0x19c584(0x198)],_0x19c584(0x23f))));}[_0x19f815(0x204)](){const _0x34ae02=_0x19f815;this[_0x34ae02(0x254)]&&(this[_0x34ae02(0x220)][_0x34ae02(0x1f4)][_0x34ae02(0x21d)](_0x237b84)[_0x34ae02(0x1d7)](this[_0x34ae02(0x254)]),this[_0x34ae02(0x254)]=null);}[_0x19f815(0x1b8)](_0x373982){const _0x4cbace=_0x19f815,_0x50b7b8=_0x373982[_0x4cbace(0x1c8)](_0x42d60f=>_0x42d60f[_0x4cbace(0x274)]());return this[_0x4cbace(0x276)][_0x4cbace(0x272)](_0x50b7b8);}[_0x19f815(0x1af)](_0x2e098f,_0x228a21){const _0xfb126c=_0x19f815;return this[_0xfb126c(0x276)][_0xfb126c(0x230)](_0x2e098f)[_0xfb126c(0x1c8)]((_0x4f65ca,_0x5aada5)=>{const _0x54a7e3=_0xfb126c,_0x2f7173=_0x54a7e3(0x21a)==_0x228a21[_0x5aada5][_0x54a7e3(0x285)];if(_0x54a7e3(0x217)==_0x4f65ca[_0x54a7e3(0x22a)]){const _0x46eaf0=_0x4f65ca[_0x54a7e3(0x269)][_0x54a7e3(0x290)];!this[_0x54a7e3(0x297)][_0x54a7e3(0x287)](_0x46eaf0)&&(this[_0x54a7e3(0x297)][_0x54a7e3(0x1b2)](_0x54a7e3(0x1a4),_0x46eaf0)[_0x54a7e3(0x1c7)]=!0x1);}const _0x47cb2d=_0x41bcdc[_0x54a7e3(0x20a)](_0x4f65ca,this[_0x54a7e3(0x297)]);return _0x47cb2d[_0x54a7e3(0x231)]=_0x4f65ca[_0x54a7e3(0x231)],_0x47cb2d[_0x54a7e3(0x20f)]=_0x2f7173,_0x47cb2d[_0x54a7e3(0x258)]=_0x2f7173?null:_0x228a21[_0x5aada5][_0x54a7e3(0x1b4)],_0x47cb2d[_0x54a7e3(0x26c)]=_0x54a7e3(0x1a5)===_0x228a21[_0x5aada5][_0x54a7e3(0x285)],_0x47cb2d[_0x54a7e3(0x27f)]=_0x228a21[_0x5aada5][_0x54a7e3(0x27f)],_0x47cb2d;});}[_0x19f815(0x1a3)](){const _0x490eb5=_0x19f815;this[_0x490eb5(0x23b)]=!0x0,this[_0x490eb5(0x28d)]()?this[_0x490eb5(0x25a)]():this[_0x490eb5(0x23b)]=!0x1;}[_0x19f815(0x28d)](){const _0x3341b0=_0x19f815,_0x3fe860=this[_0x3341b0(0x220)][_0x3341b0(0x1f4)][_0x3341b0(0x21d)](_0x3306ac)[_0x3341b0(0x249)][_0x3341b0(0x21d)](this[_0x3341b0(0x1d8)]);return!this[_0x3341b0(0x220)][_0x3341b0(0x19b)]&&!!_0x3fe860&&_0x3fe860[_0x3341b0(0x24f)]>0x1&&this[_0x3341b0(0x23b)];}[_0x19f815(0x291)](){const _0x40a47b=_0x19f815;return this[_0x40a47b(0x1dd)][_0x40a47b(0x24f)]>0x0||this[_0x40a47b(0x28d)]();}}export default l;class Q extends Error{}function X(_0x3cef26,_0x57af5c){const _0x332228=_0x19f815;for(const _0x44e18b of _0x3cef26)_0x44e18b[_0x332228(0x212)]=_0x57af5c++;}function _0x3207(_0x1da989,_0x15e3d2){const _0x1732a6=_0x1732();return _0x3207=function(_0x320750,_0x4cbfcb){_0x320750=_0x320750-0x192;let _0x1aed97=_0x1732a6[_0x320750];return _0x1aed97;},_0x3207(_0x1da989,_0x15e3d2);}class Y{[_0x19f815(0x1ea)];[_0x19f815(0x232)];constructor(_0x9bcfa3){const _0x3e4b2f=_0x19f815;this[_0x3e4b2f(0x1ea)]=_0x9bcfa3,this[_0x3e4b2f(0x232)]=new WeakMap();}[_0x19f815(0x21b)](_0x4f10f1){const _0x46abe6=_0x19f815;let _0x4f0cbb=_0x4f10f1[_0x46abe6(0x24f)];for(;_0x4f0cbb--;){const _0x3fb713=_0x4f10f1[_0x4f0cbb];if(!this[_0x46abe6(0x1ea)][_0x46abe6(0x239)](_0x3fb713)){if(!this[_0x46abe6(0x232)][_0x46abe6(0x239)](_0x3fb713)){const _0x227465=_0x574659()[_0x46abe6(0x1e2)](0x1,0x12);this[_0x46abe6(0x232)][_0x46abe6(0x1ae)](_0x3fb713,_0x227465);}return this[_0x46abe6(0x232)][_0x46abe6(0x21d)](_0x3fb713);}}}[_0x19f815(0x1d4)](_0x2b2099,_0x335b6d){const _0x3f445f=_0x19f815;if(!_0x335b6d)return;let _0x3ef20b=_0x2b2099[_0x3f445f(0x24f)];for(;_0x3ef20b--;){const _0x1108d0=_0x2b2099[_0x3ef20b];this[_0x3f445f(0x1ea)][_0x3f445f(0x239)](_0x1108d0)||this[_0x3f445f(0x232)][_0x3f445f(0x1ae)](_0x1108d0,_0x335b6d);}}}
|
|
23
|
+
function _0x33c4(_0x14765d,_0x588c44){const _0x254e5f=_0x254e();return _0x33c4=function(_0x33c4d6,_0x516ccf){_0x33c4d6=_0x33c4d6-0x118;let _0x3178a8=_0x254e5f[_0x33c4d6];return _0x3178a8;},_0x33c4(_0x14765d,_0x588c44);}const _0x553ce1=_0x33c4;(function(_0x1badac,_0x1ee2e1){const _0x551a8d=_0x33c4,_0x5ee311=_0x1badac();while(!![]){try{const _0x53c4e1=-parseInt(_0x551a8d(0x1e9))/0x1+-parseInt(_0x551a8d(0x1c2))/0x2*(-parseInt(_0x551a8d(0x12e))/0x3)+parseInt(_0x551a8d(0x164))/0x4*(parseInt(_0x551a8d(0x1fe))/0x5)+-parseInt(_0x551a8d(0x17b))/0x6*(-parseInt(_0x551a8d(0x1d5))/0x7)+-parseInt(_0x551a8d(0x1b2))/0x8+parseInt(_0x551a8d(0x216))/0x9+parseInt(_0x551a8d(0x1b0))/0xa*(-parseInt(_0x551a8d(0x209))/0xb);if(_0x53c4e1===_0x1ee2e1)break;else _0x5ee311['push'](_0x5ee311['shift']());}catch(_0x4be7f3){_0x5ee311['push'](_0x5ee311['shift']());}}}(_0x254e,0xea0bf));import{Plugin as _0x4c48da,PendingActions as _0x3f82a5}from'ckeditor5/src/core.js';import{CKEditorError as _0x2c7d7e,version as _0x3f9072,uid as _0x28edf2}from'ckeditor5/src/utils.js';import{Notification as _0x3b25e7}from'ckeditor5/src/ui.js';import{transformSets as _0x54c8e5,NoOperation as _0x1d652f,InsertOperation as _0x52f65b,MarkerOperation as _0x2e0d24,RootAttributeOperation as _0x528a76,OperationFactory as _0x4e005b,History as _0xd51a30}from'ckeditor5/src/engine.js';import _0x5aa609 from'./websocketgateway.js';import _0x1efa5d from'./sessions.js';import _0x5deb89 from'./usermarkers.js';import{getTranslation as _0x1935c5}from'../common-translations.js';import{Compressor as _0x24be99}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2836b7}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x53a97b,CollaborativeEditingService as _0x565c8e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;function _0x254e(){const _0x3be722=['history','_isInit','_addKnownRoot','_bufferedOperations','isUndoneOperation','addOperation','collaboration.channelId','compress','_setUpDataInit','736FOcuaA','_bufferRootLoad','markers','RealTimeCollaborationClient','selection','decompress','realtimecollaborationclient','_operationIdentifier','_handleInitialConnectionData','ready','locale','rootName','cs:removeUser','_channelId','realtimecollaborationclient-handleserverresponse','_initSessionsHandling','Synchronization\x20issue','userId','stopListening','getDocumentDetails','setIdForTheLastOperation','stop','length','131526HRiyIl','getOperations','sessionId','sendOperations','offset','metadata','lastDocumentSession','cloud-services-internal-error:\x20Request\x20timeout.','isEnabled','error','_initThrowingOnDataSet','addRoot','connection','pluginName','reset','fire','_fetchMissingUsers','_pendingAction','listenTo','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','init','lastOperationAcceptedAt','connected','addUser','model','isDocumentOperation','config','_isDisconnection','_saveOperationInBuffer','baseVersion','createPositionFromPath','reconnection:\x20flushed\x20session','affectedSelectable','version','__className','_handleServerResponse','document','startsWith','_hasSelectionChanged','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.','position','cloud-services-internal-error:\x20Not\x20connected.','push','getMany','type','serverHistory','insert','return','_connectAfterSessionHasBeenFlushed','differ','_isEditingAllowed','lastSyncVersion','connect','15120100SlyBpg','getOperationAuthor','2538296EOlrDQ','CommentsOnly','_operationToId','size','_knownOperations','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.','realtimecollaborationclient-sendbufferedoperations','_sendBufferedOperationsDelayId','editing','wereChangesApplied','define','_isLoaded','root','parse','enableReadOnlyMode','$root','920XDHuSI','register','createUserMarkerOperations','rootsAttributes','end','channelSessions','_loadRoot','sessionAdd:','round','multi-root-editor-root-attributes-no-root','realtimecollaborationclient-init-connection-failed','getRoot','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_handleReconnectionResponse','_sendBufferedOperations','_shouldSendUpdate','_applyOperationsSet','realtimecollaborationclient-init-document-already-initialized','clone','294PdZDnk','_isAttached','isPremiumPlugin','getUser','directChange','finally','_authorId','_compressor','_connectService','Notification','_handleReceivedOperations','realtimecollaborationclient-init-non-existent-root','change:hasDomSelection','createRoot','sessionCreatedAt','realtimecollaborationclient-init-service-incorrect-server-operation','string','unregister','realtimecollaborationclient-init-session-connection-error','_handleReconnectionError','1892348KzmEkH','code','_compressOperations','attributes','lastOperationId','filter','high','editor','document:write','add','getConnectedSessions','initData','keys','createRange','slice','collaboration','real-time-collaboration','get','permissions','_disconnectService','change:range','27085UfNZLe','404','map','_document','mySessionId','_disconnectionOperations','_waitUntilSynced','state','createPositionAt','off','change:_isEditingAllowed','11nIpQoQ','_setPendingAction','PENDING_ACTION_SENDING_DATA','removeFromReconnectionStack','realtimecollaborationclient-init-service-internal-error','affectsData','set','destroy','from','_handleSendingSelectionMarkers','_ignoredOperations','apply','change:_isPendingUpdate','8765550TnGgJR','getIdOfTheLastOperation','disconnect','has','collaboration-missing-channelid','disableReadOnlyMode','_decompressOperations','requires','entries','_shouldSendSelectionUpdate','_service','data','bind','_handleExternalOperations','_refreshUserSelectionMarkers','isReadOnly','Permissions','_clearPendingAction','addRootAttribute','path','_isPendingUpdate','createdAt','start','cloudDocumentVersion','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','applyOperation','_lastSyncedOperationId','wasUndone','_offset','_crash','_getAffectedRoot','11667WAoahX','rtc-destroyed','_baseBufferDelay','409','forEach','plugins','isOfficialPlugin','enqueueChange','marker','_isConnected','_getOperationsFromInitData','toJSON','_currentBufferDelay','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','move','view','_hasSynchronizationProblem','catch','remove','_lastServerVersion','batch','reconnect','cloudServices.bundleVersion','_sendBufferedOperationsDelayed','includes','loadRoot','rtc-offline','currentDocumentSession','roots','InsertOperation','showWarning','addToReconnectionStack','operationsReceived','then','CollaborativeEditingService','disconnected','setPermissions','message','realtimecollaborationclient-error','_updateServerHistory','targetPosition','suppressErrorInCollaboration','newRange','fromJSON','_knownRootNames'];_0x254e=function(){return _0x3be722;};return _0x254e();}class l extends _0x4c48da{static [_0x553ce1(0x150)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x565c8e)());[_0x553ce1(0x12b)];[_0x553ce1(0x17d)];[_0x553ce1(0x1a8)];[_0x553ce1(0x171)];[_0x553ce1(0x119)];[_0x553ce1(0x201)];[_0x553ce1(0x1dc)];[_0x553ce1(0x15e)];[_0x553ce1(0x1b6)];[_0x553ce1(0x15a)];[_0x553ce1(0x18c)];[_0x553ce1(0x1a1)];[_0x553ce1(0x1b9)];[_0x553ce1(0x130)];[_0x553ce1(0x13a)];[_0x553ce1(0x129)];[_0x553ce1(0x203)];[_0x553ce1(0x16b)];static get[_0x553ce1(0x21d)](){return[_0x5aa609,_0x1efa5d,_0x5deb89,_0x3f82a5,_0x2836b7,_0x3b25e7];}static get[_0x553ce1(0x188)](){const _0x1c8f4e=_0x553ce1;return _0x1c8f4e(0x167);}static get[_0x553ce1(0x134)](){return!0x0;}static get[_0x553ce1(0x1d7)](){return!0x0;}get[_0x553ce1(0x126)](){const _0x448ddf=_0x553ce1;return this[_0x448ddf(0x141)]+this[_0x448ddf(0x12b)];}get[_0x553ce1(0x141)](){const _0x432296=_0x553ce1;return this[_0x432296(0x1a8)][_0x432296(0x19c)]-this[_0x432296(0x12b)];}get[_0x553ce1(0x1ae)](){const _0x5303da=_0x553ce1,_0x2ac6e9=this[_0x5303da(0x1a8)][_0x5303da(0x17c)]();for(let _0x15504d=_0x2ac6e9[_0x5303da(0x17a)]-0x1;_0x15504d>=0x0;_0x15504d--){const _0x1fbee3=_0x2ac6e9[_0x15504d];if(!this[_0x5303da(0x203)][_0x5303da(0x219)](_0x1fbee3))return _0x1fbee3[_0x5303da(0x198)]+0x1-this[_0x5303da(0x12b)];}return 0x0;}constructor(_0x1cb316){const _0x153c5b=_0x553ce1;if(super(_0x1cb316),this[_0x153c5b(0x12b)]=0x0,this[_0x153c5b(0x17d)]=null,this[_0x153c5b(0x1a8)]=new _0xd51a30(),this[_0x153c5b(0x1f0)][_0x153c5b(0x195)][_0x153c5b(0x1bc)](_0x153c5b(0x1f8),{}),this[_0x153c5b(0x171)]=this[_0x153c5b(0x1f0)][_0x153c5b(0x195)][_0x153c5b(0x1fa)](_0x153c5b(0x161)),!this[_0x153c5b(0x171)])throw new _0x2c7d7e(_0x153c5b(0x21a),this);const _0x325cdd=_0x1cb316[_0x153c5b(0x195)][_0x153c5b(0x1fa)](_0x153c5b(0x144))||_0x3f9072;this[_0x153c5b(0x119)]=new l[(_0x153c5b(0x150))](_0x325cdd,this[_0x153c5b(0x171)]),this[_0x153c5b(0x201)]=this[_0x153c5b(0x1f0)][_0x153c5b(0x193)][_0x153c5b(0x19f)],this[_0x153c5b(0x1dc)]=new _0x24be99(),this[_0x153c5b(0x15e)]=[],this[_0x153c5b(0x1b6)]=new WeakSet(),this[_0x153c5b(0x15a)]=new Set(),this[_0x153c5b(0x20f)](_0x153c5b(0x123),!0x1),this[_0x153c5b(0x20f)](_0x153c5b(0x13e),!0x1),this[_0x153c5b(0x18c)]=null,this[_0x153c5b(0x1a1)]=!0x1,this[_0x153c5b(0x1b9)]=null,this[_0x153c5b(0x130)]=0x12c,this[_0x153c5b(0x13a)]=this[_0x153c5b(0x130)],this[_0x153c5b(0x129)]=null,this[_0x153c5b(0x203)]=new WeakSet(),this[_0x153c5b(0x16b)]=new Y(this[_0x153c5b(0x203)]);}[_0x553ce1(0x18f)](){const _0x3a0156=_0x553ce1,_0x46fab0=this[_0x3a0156(0x1f0)],_0xd3bf79=_0x46fab0[_0x3a0156(0x133)][_0x3a0156(0x1fa)](_0x2836b7),_0x301e10=_0x46fab0[_0x3a0156(0x133)][_0x3a0156(0x1fa)](_0x5aa609);this[_0x3a0156(0x18d)](_0xd3bf79,_0x3a0156(0x1b1),(_0xdbfdac,_0x58dc7d)=>{const _0x14c906=_0x3a0156,_0x4d30dc=_0x58dc7d[0x0];_0x4d30dc[_0x14c906(0x1db)]&&(_0xdbfdac[_0x14c906(0x1aa)]=_0xd3bf79[_0x14c906(0x1d8)](_0x4d30dc[_0x14c906(0x1db)]),_0xdbfdac[_0x14c906(0x179)]()),null===_0x4d30dc[_0x14c906(0x1db)]&&(_0xdbfdac[_0x14c906(0x1aa)]=null,_0xdbfdac[_0x14c906(0x179)]());},{'priority':_0x3a0156(0x1ef)}),this[_0x3a0156(0x18d)](_0x46fab0[_0x3a0156(0x193)][_0x3a0156(0x19f)][_0x3a0156(0x168)],_0x3a0156(0x1fd),(_0x3fbf09,_0x435db6)=>{const _0x95f5e8=_0x3a0156;_0x435db6[_0x95f5e8(0x1d9)]&&this[_0x95f5e8(0x11d)]();}),this[_0x3a0156(0x18d)](_0x46fab0[_0x3a0156(0x1ba)][_0x3a0156(0x13d)],_0x3a0156(0x1e1),()=>{const _0x25092d=_0x3a0156;this[_0x25092d(0x11d)]();}),this[_0x3a0156(0x185)](),_0x46fab0[_0x3a0156(0x193)]['on'](_0x3a0156(0x128),(_0x11fb37,_0x3b508e)=>{const _0x381d96=_0x3a0156,_0x5df4ca=_0x3b508e[0x0];_0x5df4ca[_0x381d96(0x194)]&&(this[_0x381d96(0x197)](_0x5df4ca),this[_0x381d96(0x1d1)]()&&this[_0x381d96(0x145)]());}),this[_0x3a0156(0x163)](),this[_0x3a0156(0x11b)](_0x3a0156(0x1ad))['to'](_0x301e10,_0x3a0156(0x205),this,_0x3a0156(0x13e),(_0x5cd979,_0x3c8f80)=>_0x3a0156(0x191)===_0x5cd979&&!_0x3c8f80),this['on'](_0x3a0156(0x208),()=>{const _0x2b5377=_0x3a0156;this[_0x2b5377(0x1ad)]?_0x46fab0[_0x2b5377(0x21b)](_0x2b5377(0x148)):_0x46fab0[_0x2b5377(0x1c0)](_0x2b5377(0x148));}),this[_0x3a0156(0x1ad)]?_0x46fab0[_0x3a0156(0x21b)](_0x3a0156(0x148)):_0x46fab0[_0x3a0156(0x1c0)](_0x3a0156(0x148)),this[_0x3a0156(0x20f)](_0x3a0156(0x137),!0x1);}async[_0x553ce1(0x143)](){const _0x56c219=_0x553ce1,_0x2aa419=this[_0x56c219(0x1f0)][_0x56c219(0x133)][_0x56c219(0x1fa)](_0x1efa5d),_0x29ae07=this[_0x56c219(0x1f0)][_0x56c219(0x133)][_0x56c219(0x1fa)](_0x5aa609);try{this[_0x56c219(0x123)]=!0x0,_0x2aa419[_0x56c219(0x1e6)](this[_0x56c219(0x171)]);const _0x10e0f4=await this[_0x56c219(0x119)][_0x56c219(0x143)](_0x29ae07[_0x56c219(0x187)],this[_0x56c219(0x1ae)]);await this[_0x56c219(0x1cf)](_0x10e0f4)&&(this[_0x56c219(0x123)]=!0x1,this[_0x56c219(0x120)]());const _0x327f2d=await this[_0x56c219(0x119)][_0x56c219(0x1f3)]();_0x2aa419[_0x56c219(0x1c3)](this[_0x56c219(0x171)],_0x327f2d),this[_0x56c219(0x212)](),this[_0x56c219(0x137)]=!0x0;}catch(_0x347f03){if(function(_0x3b822d){const _0x270dee=_0x56c219;return _0x270dee(0x1ff)===_0x3b822d[_0x270dee(0x1ea)];}(_0x347f03)&&this[_0x56c219(0x17d)])await this[_0x56c219(0x1ab)]();else{if(function(_0x3224ea){const _0x4334f0=_0x56c219;return _0x4334f0(0x131)===_0x3224ea[_0x4334f0(0x1ea)];}(_0x347f03)){const _0x18509d=_0x1935c5(this[_0x56c219(0x1f0)][_0x56c219(0x16e)],_0x56c219(0x13b));this[_0x56c219(0x1e8)](_0x18509d);}else{if(!(_0x347f03 instanceof Q))throw _0x347f03;this[_0x56c219(0x1e8)]();}}}}[_0x553ce1(0x210)](){const _0x57988f=_0x553ce1,_0x521a78=this[_0x57988f(0x1f0)][_0x57988f(0x133)][_0x57988f(0x1fa)](_0x5aa609),_0x5cdd21=this[_0x57988f(0x1f0)][_0x57988f(0x133)][_0x57988f(0x1fa)](_0x1efa5d);this[_0x57988f(0x1f0)][_0x57988f(0x1c0)](_0x57988f(0x12f)),_0x5cdd21[_0x57988f(0x1c7)][_0x57988f(0x219)](this[_0x57988f(0x171)])&&_0x5cdd21[_0x57988f(0x1e6)](this[_0x57988f(0x171)]),_0x521a78[_0x57988f(0x20c)](this),this[_0x57988f(0x1fc)](),super[_0x57988f(0x210)]();}async[_0x553ce1(0x1cf)](_0x42a3a7){const _0x2c9f42=_0x553ce1;if(this[_0x2c9f42(0x17d)]!==_0x42a3a7[_0x2c9f42(0x17d)]&&this[_0x2c9f42(0x129)]!==_0x42a3a7[_0x2c9f42(0x1ed)])throw new Q();return this[_0x2c9f42(0x17d)]=_0x42a3a7[_0x2c9f42(0x17d)],this[_0x2c9f42(0x19e)]([],{..._0x42a3a7,'wereChangesApplied':!0x1,'data':_0x42a3a7[_0x2c9f42(0x11a)]},_0x2c9f42(0x143));}async[_0x553ce1(0x1dd)](_0x436be2,_0x52aff7=!0x1){const _0x11b8c3=_0x553ce1,{connection:_0x3e455f}=this[_0x11b8c3(0x1f0)][_0x11b8c3(0x133)][_0x11b8c3(0x1fa)](_0x5aa609);l[_0x11b8c3(0x150)][_0x11b8c3(0x1f3)](_0x3e455f,this[_0x11b8c3(0x171)])[_0x11b8c3(0x14f)](_0x86da27=>this[_0x11b8c3(0x173)](_0x86da27))[_0x11b8c3(0x13f)](_0x21cafa=>{const _0x214f8c=_0x11b8c3;this[_0x214f8c(0x12c)](_0x214f8c(0x1e7),_0x21cafa);}),this[_0x11b8c3(0x18d)](this[_0x11b8c3(0x119)],_0x11b8c3(0x14e),this[_0x11b8c3(0x1df)][_0x11b8c3(0x11b)](this)),this[_0x11b8c3(0x18d)](this[_0x11b8c3(0x119)],_0x11b8c3(0x184),(_0x5b9f69,_0x46cba0)=>{const _0x4d07d4=_0x11b8c3;this[_0x4d07d4(0x12c)](_0x4d07d4(0x20d),_0x46cba0);}),this[_0x11b8c3(0x18d)](this[_0x11b8c3(0x119)],_0x11b8c3(0x151),()=>{const _0x4a49d5=_0x11b8c3;this[_0x4a49d5(0x137)]=!0x1;});const _0x4f854a=this[_0x11b8c3(0x16b)][_0x11b8c3(0x217)](_0x436be2);this[_0x11b8c3(0x123)]=!0x0;const _0x37ad2c=await this[_0x11b8c3(0x119)][_0x11b8c3(0x1af)](_0x3e455f,this[_0x11b8c3(0x1eb)](_0x436be2),_0x4f854a);if(this[_0x11b8c3(0x17d)]=_0x37ad2c[_0x11b8c3(0x17d)],_0x52aff7){if(!_0x37ad2c[_0x11b8c3(0x1bb)])return void this[_0x11b8c3(0x1e8)]();this[_0x11b8c3(0x123)]=!0x1,this[_0x11b8c3(0x120)](),this[_0x11b8c3(0x1a8)][_0x11b8c3(0x189)](),this[_0x11b8c3(0x12b)]=_0x37ad2c[_0x11b8c3(0x17f)],this[_0x11b8c3(0x1a8)][_0x11b8c3(0x19c)]=this[_0x11b8c3(0x12b)],await this[_0x11b8c3(0x19e)](_0x436be2,_0x37ad2c,_0x11b8c3(0x19a));}else await this[_0x11b8c3(0x16c)](_0x37ad2c,_0x436be2);this[_0x11b8c3(0x212)](),this[_0x11b8c3(0x137)]=!0x0;}[_0x553ce1(0x212)](){const _0x490e98=_0x553ce1,_0x5f55ac=this[_0x490e98(0x1f0)][_0x490e98(0x133)][_0x490e98(0x1fa)](_0x1efa5d),_0x1dcaaa=this[_0x490e98(0x1f0)][_0x490e98(0x133)][_0x490e98(0x1fa)](_0x5deb89),_0x32b991=_0x5f55ac[_0x490e98(0x1c7)][_0x490e98(0x1fa)](this[_0x490e98(0x171)]);_0x32b991&&_0x32b991[_0x490e98(0x17a)]>0x1?_0x1dcaaa[_0x490e98(0x1c4)]():this[_0x490e98(0x18d)](_0x5f55ac,_0x490e98(0x1c9)+this[_0x490e98(0x171)],()=>{const _0x16eb47=_0x490e98;0x2===_0x5f55ac[_0x16eb47(0x1c7)][_0x16eb47(0x1fa)](this[_0x16eb47(0x171)])[_0x16eb47(0x17a)]&&_0x1dcaaa[_0x16eb47(0x1c4)]();});}async[_0x553ce1(0x1df)](_0x470387,_0xa03e42,_0x154c73,_0x12d15d){const _0x118c9a=_0x553ce1;if(!this[_0x118c9a(0x123)]&&this[_0x118c9a(0x201)][_0x118c9a(0x19c)]==_0xa03e42){const _0x56e21e=this[_0x118c9a(0x21c)](_0x154c73,_0x12d15d);await this[_0x118c9a(0x18b)](_0x56e21e),this[_0x118c9a(0x11c)](_0x56e21e,_0xa03e42,_0x154c73[_0x118c9a(0x1ed)])||this[_0x118c9a(0x12c)](_0x118c9a(0x1e4));}}async[_0x553ce1(0x1ab)](){const _0x5f222a=_0x553ce1;this[_0x5f222a(0x1fc)]();const {locale:_0x1e8b20}=this[_0x5f222a(0x1f0)];let _0x126ffc;try{_0x126ffc=await this[_0x5f222a(0x119)][_0x5f222a(0x177)]();}catch(_0x2803ff){const _0x30abe0=_0x1935c5(_0x1e8b20,_0x5f222a(0x127));return void this[_0x5f222a(0x1e8)](_0x30abe0);}const _0x12e518=_0x126ffc[_0x5f222a(0x149)]||_0x126ffc[_0x5f222a(0x181)];if(this[_0x5f222a(0x129)]===_0x12e518[_0x5f222a(0x1ed)])await this[_0x5f222a(0x1dd)](this[_0x5f222a(0x1f0)][_0x5f222a(0x193)][_0x5f222a(0x19f)][_0x5f222a(0x15b)][_0x5f222a(0x17c)](),!0x0);else{const _0x3bb2b0=_0x1935c5(_0x1e8b20,_0x5f222a(0x1b7));this[_0x5f222a(0x1e8)](_0x3bb2b0);}}[_0x553ce1(0x1fc)](){const _0x3f1be3=_0x553ce1;this[_0x3f1be3(0x119)][_0x3f1be3(0x218)](),this[_0x3f1be3(0x15e)]=[],clearTimeout(this[_0x3f1be3(0x1b9)]),this[_0x3f1be3(0x176)](this[_0x3f1be3(0x119)]);}[_0x553ce1(0x173)](_0x10a16e){const _0x333792=_0x553ce1,_0x508629=this[_0x333792(0x1f0)][_0x333792(0x133)][_0x333792(0x1fa)](_0x1efa5d);this[_0x333792(0x18d)](_0x508629,_0x333792(0x1c9)+this[_0x333792(0x171)],(_0x5eb909,{session:_0x2292ec})=>{const _0x21a888=_0x333792;if(_0x2292ec['id']===_0x508629[_0x21a888(0x202)]){_0x5eb909[_0x21a888(0x207)]();const _0x5df93d=this[_0x21a888(0x1f0)][_0x21a888(0x133)][_0x21a888(0x219)](_0x21a888(0x1b3))&&this[_0x21a888(0x1f0)][_0x21a888(0x133)][_0x21a888(0x1fa)](_0x21a888(0x1b3));let _0xa51a13=_0x2292ec[_0x21a888(0x1fb)];_0x5df93d&&_0x5df93d[_0x21a888(0x183)]&&(_0xa51a13=_0xa51a13[_0x21a888(0x1ee)](_0x54d2d2=>_0x21a888(0x1f1)!==_0x54d2d2)),this[_0x21a888(0x1f0)][_0x21a888(0x133)][_0x21a888(0x1fa)](_0x21a888(0x11f))[_0x21a888(0x152)](_0xa51a13,this[_0x21a888(0x171)]);}}),_0x508629[_0x333792(0x1c3)](this[_0x333792(0x171)],_0x10a16e);}[_0x553ce1(0x185)](){const _0x89da1=_0x553ce1,_0x15ba2c=this[_0x89da1(0x1f0)][_0x89da1(0x11a)][_0x89da1(0x20f)];this[_0x89da1(0x1f0)][_0x89da1(0x11a)][_0x89da1(0x20f)]=(..._0x19daef)=>{const _0x3fdebb=_0x89da1;if(!_0x19daef[_0x19daef[_0x3fdebb(0x17a)]-0x1][_0x3fdebb(0x157)])throw new _0x2c7d7e(_0x3fdebb(0x1ce),this);_0x15ba2c[_0x3fdebb(0x214)](this[_0x3fdebb(0x1f0)][_0x3fdebb(0x11a)],_0x19daef);};}[_0x553ce1(0x163)](){const _0x51b4f4=_0x553ce1;this[_0x51b4f4(0x1f0)][_0x51b4f4(0x11a)]['on'](_0x51b4f4(0x18f),(_0x19e42f,[_0xfb0604])=>{const _0x58ec81=_0x51b4f4;if(this[_0x58ec81(0x201)][_0x58ec81(0x19c)])throw new _0x2c7d7e(_0x58ec81(0x1d3),this);_0x19e42f[_0x58ec81(0x179)](),this[_0x58ec81(0x20a)]();const _0x45497f=this[_0x58ec81(0x1f0)][_0x58ec81(0x195)][_0x58ec81(0x1fa)](_0x58ec81(0x1c5)),_0x1c8cac=this[_0x58ec81(0x138)](_0xfb0604,_0x45497f);0x0==_0x1c8cac[_0x58ec81(0x17a)]&&_0x1c8cac[_0x58ec81(0x1a5)](new _0x1d652f(0x0)),_0x19e42f[_0x58ec81(0x1aa)]=this[_0x58ec81(0x1dd)](_0x1c8cac)[_0x58ec81(0x14f)](()=>{const _0x26b3de=_0x58ec81;this[_0x26b3de(0x1f0)][_0x26b3de(0x133)][_0x26b3de(0x1fa)](_0x5aa609)[_0x26b3de(0x14d)](this),this[_0x26b3de(0x1f0)][_0x26b3de(0x11a)][_0x26b3de(0x18a)](_0x26b3de(0x16d));})[_0x58ec81(0x13f)](_0x2e1946=>this[_0x58ec81(0x12c)](_0x58ec81(0x1cc),_0x2e1946))[_0x58ec81(0x1da)](()=>this[_0x58ec81(0x120)]());},{'priority':_0x51b4f4(0x1ef)}),this[_0x51b4f4(0x1f0)]['on'](_0x51b4f4(0x147),async(_0x535aa3,[_0x4448f7,_0x158a9c])=>{const _0xe03e86=_0x51b4f4;_0x535aa3[_0xe03e86(0x179)]();const _0x1be8d7=this[_0xe03e86(0x1f0)][_0xe03e86(0x193)][_0xe03e86(0x19f)][_0xe03e86(0x1cd)](_0x4448f7);if(!this[_0xe03e86(0x15a)][_0xe03e86(0x219)](_0x4448f7)){const _0x389265=_0x158a9c&&_0x158a9c[_0xe03e86(0x11a)]?_0x158a9c[_0xe03e86(0x11a)]:'',_0x44b770=_0x158a9c&&_0x158a9c[_0xe03e86(0x1ec)]?_0x158a9c[_0xe03e86(0x1ec)]:{};await this[_0xe03e86(0x1c8)](_0x4448f7,_0x389265,_0x44b770);}this[_0xe03e86(0x1f0)][_0xe03e86(0x193)][_0xe03e86(0x135)]({'isUndoable':!0x1},()=>{const _0x55f202=_0xe03e86;_0x1be8d7[_0x55f202(0x1bd)]=!0x0,this[_0x55f202(0x1f0)][_0x55f202(0x193)][_0x55f202(0x19f)][_0x55f202(0x1ac)][_0x55f202(0x165)](_0x1be8d7);});},{'priority':_0x51b4f4(0x1ef)});}async[_0x553ce1(0x18b)](_0x13c9fc){const _0x28abe6=_0x553ce1,_0x5d6790=this[_0x28abe6(0x1f0)][_0x28abe6(0x133)][_0x28abe6(0x1fa)](_0x2836b7),{connection:_0x4a0dd1}=this[_0x28abe6(0x1f0)][_0x28abe6(0x133)][_0x28abe6(0x1fa)](_0x5aa609),_0x261e34=new Set();for(const _0x1dc710 of _0x13c9fc){const _0x4948a9=_0x1dc710[_0x28abe6(0x1db)];_0x4948a9&&!_0x5d6790[_0x28abe6(0x1d8)](_0x4948a9)&&_0x261e34[_0x28abe6(0x1f2)](_0x4948a9);}if(0x0===_0x261e34[_0x28abe6(0x1b5)])return;const _0x24c401=await _0x53a97b[_0x28abe6(0x1a6)](_0x4a0dd1,Array[_0x28abe6(0x211)](_0x261e34));for(const _0x3165c5 of _0x24c401)_0x5d6790[_0x28abe6(0x1d8)](_0x3165c5['id'])||_0x5d6790[_0x28abe6(0x192)](_0x3165c5);}[_0x553ce1(0x138)](_0x136a4b,_0x3af6f8={}){const _0x378f76=_0x553ce1,_0x3bd3b9=this[_0x378f76(0x1f0)][_0x378f76(0x193)],_0x4a0157=[];let _0x27d535=0x0;const _0x2e4003=_0x378f76(0x1e5)==typeof _0x136a4b?{'main':_0x136a4b}:_0x136a4b;for(const _0x2d4834 of Object[_0x378f76(0x1f5)](_0x2e4003)){if(!this[_0x378f76(0x201)][_0x378f76(0x14a)][_0x378f76(0x219)](_0x2d4834))throw new _0x2c7d7e(_0x378f76(0x1e0),this);const _0x4be602=this[_0x378f76(0x1f0)][_0x378f76(0x11a)][_0x378f76(0x1bf)](_0x2e4003[_0x2d4834]),_0x255c56=this[_0x378f76(0x201)][_0x378f76(0x1cd)](_0x2d4834),_0x43d30f=new _0x52f65b(_0x3bd3b9[_0x378f76(0x206)](_0x255c56,0x0),_0x4be602,_0x27d535++);_0x4a0157[_0x378f76(0x1a5)](_0x43d30f);for(const [_0x309867,_0x325c13]of _0x4be602[_0x378f76(0x166)]){const _0x511028=_0x3bd3b9[_0x378f76(0x1f6)](_0x3bd3b9[_0x378f76(0x199)](_0x255c56,_0x325c13[_0x378f76(0x125)][_0x378f76(0x122)][_0x378f76(0x1f7)]()),_0x3bd3b9[_0x378f76(0x199)](_0x255c56,_0x325c13[_0x378f76(0x1c6)][_0x378f76(0x122)][_0x378f76(0x1f7)]())),_0x51d4af=new _0x2e0d24(_0x309867,null,_0x511028,_0x3bd3b9[_0x378f76(0x166)],!0x0,_0x27d535++);_0x4a0157[_0x378f76(0x1a5)](_0x51d4af);}}if(_0x3af6f8)for(const [_0x58f0c3,_0x56d3ac]of Object[_0x378f76(0x21e)](_0x3af6f8)){const _0x4ad58c=_0x3bd3b9[_0x378f76(0x19f)][_0x378f76(0x1cd)](_0x58f0c3);if(!_0x4ad58c)throw new _0x2c7d7e(_0x378f76(0x1cb),null);for(const [_0x22512e,_0x24ead3]of Object[_0x378f76(0x21e)](_0x56d3ac))if(null!==_0x24ead3){const _0x335885=new _0x528a76(_0x4ad58c,_0x22512e,null,_0x24ead3,_0x27d535++);_0x4a0157[_0x378f76(0x1a5)](_0x335885);}}return _0x4a0157;}async[_0x553ce1(0x1c8)](_0x4ecc68,_0x15c1a8,_0x478f0f){const _0x4878d1=_0x553ce1;this[_0x4878d1(0x138)]({[_0x4ecc68]:_0x15c1a8},{[_0x4ecc68]:_0x478f0f})[_0x4878d1(0x132)]((_0x38674e,_0x258244)=>{const _0x33a238=_0x4878d1;_0x38674e[_0x33a238(0x198)]=this[_0x33a238(0x201)][_0x33a238(0x19c)]+_0x258244,_0x38674e[_0x33a238(0x15c)]=!0x0,this[_0x33a238(0x197)](_0x38674e);}),this[_0x4878d1(0x145)](),await this[_0x4878d1(0x204)]();}async[_0x553ce1(0x16c)](_0xe4c867,_0xc55b29){const _0x4e3c17=_0x553ce1;let _0x58eae0;this[_0x4e3c17(0x12b)]=_0xe4c867[_0x4e3c17(0x17f)];const _0x3364e4=_0xe4c867[_0x4e3c17(0x1bb)]&&!_0xe4c867[_0x4e3c17(0x1f4)],_0x3150f8=_0x3364e4?0x0:_0xe4c867[_0x4e3c17(0x11a)][_0x4e3c17(0x198)];if(_0xc55b29[_0x4e3c17(0x132)](_0x267046=>{const _0x178726=_0x4e3c17;_0x267046[_0x178726(0x15c)]=!0x0,_0x267046[_0x178726(0x124)]=_0xe4c867[_0x178726(0x1e3)],_0x267046[_0x178726(0x1db)]=null;}),_0x3364e4)_0x58eae0=_0xc55b29,this[_0x4e3c17(0x1d2)](_0x58eae0,_0x3364e4);else{if(_0xe4c867[_0x4e3c17(0x1f4)]){const _0x291748=this[_0x4e3c17(0x138)](_0xe4c867[_0x4e3c17(0x1f4)]);this[_0x4e3c17(0x201)][_0x4e3c17(0x15b)][_0x4e3c17(0x19c)]=-_0x291748[_0x4e3c17(0x17a)],_0x291748[_0x4e3c17(0x132)](_0x4ccd7b=>{const _0x935d13=_0x4e3c17;_0x4ccd7b[_0x935d13(0x198)]-=_0x291748[_0x935d13(0x17a)],_0x4ccd7b[_0x935d13(0x124)]=_0xe4c867[_0x935d13(0x1e3)],_0x4ccd7b[_0x935d13(0x15c)]=!0x0,_0x4ccd7b[_0x935d13(0x1db)]=null;}),this[_0x4e3c17(0x1d2)](_0x291748,!0x0),this[_0x4e3c17(0x1a8)][_0x4e3c17(0x19c)]=-_0x291748[_0x4e3c17(0x17a)]+this[_0x4e3c17(0x12b)],this[_0x4e3c17(0x155)](_0x291748);}this[_0x4e3c17(0x201)][_0x4e3c17(0x15b)][_0x4e3c17(0x19c)]=_0x3150f8,_0x58eae0=this[_0x4e3c17(0x21c)](_0xe4c867[_0x4e3c17(0x11a)],_0xe4c867[_0x4e3c17(0x180)]),await this[_0x4e3c17(0x18b)](_0x58eae0),this[_0x4e3c17(0x1d2)](_0x58eae0,_0x3364e4);}_0xe4c867[_0x4e3c17(0x1ed)]&&(this[_0x4e3c17(0x16b)][_0x4e3c17(0x178)](_0x58eae0,_0xe4c867[_0x4e3c17(0x1ed)]),this[_0x4e3c17(0x129)]=_0xe4c867[_0x4e3c17(0x1ed)]),this[_0x4e3c17(0x1a8)][_0x4e3c17(0x19c)]=_0x3150f8+this[_0x4e3c17(0x12b)],this[_0x4e3c17(0x155)](_0x58eae0),_0xc55b29[_0x4e3c17(0x1ee)](_0xc0dafe=>{const _0x21e110=_0x4e3c17,_0x1dc66d=this[_0x21e110(0x12d)](_0xc0dafe);return _0x1dc66d&&!this[_0x21e110(0x15a)][_0x21e110(0x219)](_0x1dc66d);})[_0x4e3c17(0x132)]((_0x308283,_0x11ee70)=>{const _0x5f0dde=_0x4e3c17;_0x308283[_0x5f0dde(0x198)]=this[_0x5f0dde(0x201)][_0x5f0dde(0x19c)]+_0x11ee70,this[_0x5f0dde(0x197)](_0x308283);}),this[_0x4e3c17(0x1d1)]()?(this[_0x4e3c17(0x13a)]=0x0,this[_0x4e3c17(0x145)](!0x0),await this[_0x4e3c17(0x204)]()):(this[_0x4e3c17(0x123)]=!0x1,this[_0x4e3c17(0x120)]());}[_0x553ce1(0x12c)](_0x1e88b8,_0x335d68){const _0x35559e=_0x553ce1,_0x484878=_0x335d68&&_0x335d68[_0x35559e(0x153)];if(_0x484878&&_0x484878[_0x35559e(0x1a0)](_0x35559e(0x16a)))throw _0x335d68;const _0x5dc2f8=this[_0x35559e(0x1f0)][_0x35559e(0x133)][_0x35559e(0x1fa)](_0x5aa609);throw this[_0x35559e(0x123)]=!0x0,_0x5dc2f8[_0x35559e(0x218)](),this[_0x35559e(0x1f0)][_0x35559e(0x1c0)](_0x35559e(0x154)),new _0x2c7d7e(_0x1e88b8,this[_0x35559e(0x1f0)],_0x484878?{'originalError':_0x484878}:void 0x0);}[_0x553ce1(0x197)](_0x5b4d77){const _0x40c93e=_0x553ce1;this[_0x40c93e(0x1b6)][_0x40c93e(0x219)](_0x5b4d77)||(this[_0x40c93e(0x1b6)][_0x40c93e(0x1f2)](_0x5b4d77),this[_0x40c93e(0x15e)][_0x40c93e(0x1a5)](_0x5b4d77),this[_0x40c93e(0x18c)]||_0x40c93e(0x136)==_0x5b4d77[_0x40c93e(0x1a7)]&&!_0x5b4d77[_0x40c93e(0x20e)]||this[_0x40c93e(0x20a)]());}[_0x553ce1(0x145)](_0x162309=!0x1){const _0x5e9556=_0x553ce1;!_0x162309&&this[_0x5e9556(0x123)]||(this[_0x5e9556(0x123)]=!0x0,clearTimeout(this[_0x5e9556(0x1b9)]),this[_0x5e9556(0x1b9)]=setTimeout(()=>{const _0x417c94=_0x5e9556;this[_0x417c94(0x1d0)]()[_0x417c94(0x14f)](_0x23c6ac=>{const _0x2df0a3=_0x417c94;_0x23c6ac&&(this[_0x2df0a3(0x120)](),this[_0x2df0a3(0x123)]=!0x1);})[_0x417c94(0x13f)](_0x39e1d6=>{const _0x1e65ba=_0x417c94;this[_0x1e65ba(0x120)](),this[_0x1e65ba(0x123)]=!0x1,function(_0x2b7ab3){const _0x4cc480=_0x1e65ba;return _0x2b7ab3[_0x4cc480(0x153)][_0x4cc480(0x1a0)](_0x4cc480(0x1a4))||_0x2b7ab3[_0x4cc480(0x153)][_0x4cc480(0x1a0)](_0x4cc480(0x18e))||_0x2b7ab3[_0x4cc480(0x153)][_0x4cc480(0x1a0)](_0x4cc480(0x182));}(_0x39e1d6)||this[_0x1e65ba(0x12c)](_0x39e1d6[_0x1e65ba(0x153)],_0x39e1d6);});},this[_0x5e9556(0x13a)]));}[_0x553ce1(0x204)](){return new Promise(_0x30982b=>{const _0x1912d8=_0x33c4;this['on'](_0x1912d8(0x215),()=>{_0x30982b();});});}async[_0x553ce1(0x1d0)](){const _0x1460fe=_0x553ce1,_0x127f57=this[_0x1460fe(0x1f0)][_0x1460fe(0x133)][_0x1460fe(0x1fa)](_0x5deb89);if(this[_0x1460fe(0x118)]()&&(_0x127f57[_0x1460fe(0x1c4)](),this[_0x1460fe(0x1a1)]=!0x1),!this[_0x1460fe(0x1d1)]())return!0x0;const _0x2a17f1=[...this[_0x1460fe(0x15e)]];for(const _0x8659af of _0x2a17f1)_0x8659af[_0x1460fe(0x12a)]=this[_0x1460fe(0x201)][_0x1460fe(0x15b)][_0x1460fe(0x15f)](_0x8659af);const _0x3e9542=this[_0x1460fe(0x16b)][_0x1460fe(0x217)](_0x2a17f1),_0x177c40=J++,_0x16b3cc=this[_0x1460fe(0x1eb)](_0x2a17f1),_0x1be61c=await this[_0x1460fe(0x119)][_0x1460fe(0x17e)](_0x16b3cc,_0x16b3cc[_0x1460fe(0x198)],_0x3e9542);try{return await this[_0x1460fe(0x19e)](_0x2a17f1,_0x1be61c,_0x177c40);}catch(_0x2a8b30){return this[_0x1460fe(0x12c)](_0x1460fe(0x1b8),_0x2a8b30);}}async[_0x553ce1(0x19e)](_0x5d0d29,_0x1c3bb4,_0x1263be){const _0x45d667=_0x553ce1;if(_0x45d667(0x184)in _0x1c3bb4)throw _0x1c3bb4[_0x45d667(0x184)];let _0x4b6b39=!0x1;if(_0x1c3bb4[_0x45d667(0x1bb)]){_0x1c3bb4[_0x45d667(0x1ed)]&&(this[_0x45d667(0x129)]=_0x1c3bb4[_0x45d667(0x1ed)]),this[_0x45d667(0x15e)]=this[_0x45d667(0x15e)][_0x45d667(0x1ee)](_0x19db8e=>!_0x5d0d29[_0x45d667(0x146)](_0x19db8e));for(const _0x4b4943 of _0x5d0d29)_0x4b4943[_0x45d667(0x124)]=_0x45d667(0x190)in _0x1c3bb4&&_0x1c3bb4[_0x45d667(0x190)]||void 0x0;X(_0x5d0d29,_0x1c3bb4[_0x45d667(0x19c)]-_0x5d0d29[_0x45d667(0x17a)]),this[_0x45d667(0x155)](_0x5d0d29);const _0x1b0d41=_0x5d0d29[_0x45d667(0x1ee)](_0x4564b5=>{const _0x1144f0=_0x45d667;if(!_0x4564b5[_0x1144f0(0x15c)])return!0x1;const _0x389db6=this[_0x1144f0(0x12d)](_0x4564b5);return _0x389db6&&!this[_0x1144f0(0x15a)][_0x1144f0(0x219)](_0x389db6);});X(_0x1b0d41,this[_0x45d667(0x201)][_0x45d667(0x19c)]),this[_0x45d667(0x1d2)](_0x1b0d41),_0x4b6b39=!0x0,this[_0x45d667(0x13a)]=this[_0x45d667(0x130)];}else{const _0x492771=this[_0x45d667(0x21c)](_0x1c3bb4[_0x45d667(0x11a)],_0x1c3bb4[_0x45d667(0x180)])[_0x45d667(0x1ee)](_0x599f2e=>_0x599f2e[_0x45d667(0x198)]>=this[_0x45d667(0x141)]);_0x492771[_0x45d667(0x132)](_0x5a4727=>this[_0x45d667(0x15d)](_0x5a4727)),this[_0x45d667(0x15e)]=this[_0x45d667(0x15e)][_0x45d667(0x1ee)](_0x5df860=>!_0x5df860[_0x45d667(0x15c)]||!this[_0x45d667(0x15a)][_0x45d667(0x219)](this[_0x45d667(0x12d)](_0x5df860))),this[_0x45d667(0x15e)][_0x45d667(0x17a)]&&X(this[_0x45d667(0x15e)],this[_0x45d667(0x15e)][0x0][_0x45d667(0x198)]),await this[_0x45d667(0x18b)](_0x492771),_0x4b6b39=this[_0x45d667(0x11c)](_0x492771,_0x1c3bb4[_0x45d667(0x19c)],_0x1c3bb4[_0x45d667(0x1ed)]),this[_0x45d667(0x13a)]=Math[_0x45d667(0x1ca)](this[_0x45d667(0x13a)]/0x2);}return _0x4b6b39?!this[_0x45d667(0x1d1)]()||(this[_0x45d667(0x145)](!0x0),!0x1):this[_0x45d667(0x12c)](_0x45d667(0x172));}[_0x553ce1(0x11c)](_0x9e67d3,_0x359018,_0xabedda){const _0x29077f=_0x553ce1;try{const _0x1dda8a={'document':this[_0x29077f(0x201)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3cc6f1,operationsB:_0x2b56a6,originalOperations:_0x361b05}=_0x54c8e5(_0x9e67d3,this[_0x29077f(0x15e)],_0x1dda8a);X(_0x3cc6f1,this[_0x29077f(0x201)][_0x29077f(0x19c)]),X(_0x2b56a6,_0x359018);for(const _0x119d3c of _0x3cc6f1){const _0x8edfee=_0x361b05[_0x29077f(0x1fa)](_0x119d3c);_0x119d3c[_0x29077f(0x1db)]=_0x8edfee?_0x8edfee[_0x29077f(0x1db)]:null;}_0xabedda&&(this[_0x29077f(0x16b)][_0x29077f(0x178)](_0x9e67d3,_0xabedda),this[_0x29077f(0x129)]=_0xabedda),this[_0x29077f(0x15e)]=[..._0x2b56a6],this[_0x29077f(0x1d2)](_0x3cc6f1),this[_0x29077f(0x155)](_0x9e67d3);}catch(_0x14eba0){return console[_0x29077f(0x184)](_0x14eba0),!0x1;}return!0x0;}[_0x553ce1(0x1d2)](_0x32d9d4,_0x1c7098=!0x1){const _0x2a64f8=_0x553ce1;this[_0x2a64f8(0x1f0)][_0x2a64f8(0x193)][_0x2a64f8(0x135)]({'isUndoable':!0x1,'isLocal':!0x1},_0x46836a=>{const _0x451e56=_0x2a64f8;for(const _0x3d3e36 of _0x32d9d4)this[_0x451e56(0x1b6)][_0x451e56(0x1f2)](_0x3d3e36),this[_0x451e56(0x15d)](_0x3d3e36),_0x46836a[_0x451e56(0x142)][_0x451e56(0x160)](_0x3d3e36),this[_0x451e56(0x1f0)][_0x451e56(0x193)][_0x451e56(0x128)](_0x3d3e36);});}[_0x553ce1(0x15d)](_0xf99108){const _0x427096=_0x553ce1,_0x390879=this[_0x427096(0x12d)](_0xf99108);_0x390879&&this[_0x427096(0x15a)][_0x427096(0x1f2)](_0x390879);}[_0x553ce1(0x12d)](_0x5e1b19){const _0x5ce8af=_0x553ce1;let _0x146ea3,_0x2c015c;switch(_0x5e1b19[_0x5ce8af(0x1a7)]){case _0x5ce8af(0x1a9):_0x146ea3=_0x5e1b19[_0x5ce8af(0x1a3)][_0x5ce8af(0x1be)];break;case _0x5ce8af(0x136):if(_0x2c015c=_0x5e1b19[_0x5ce8af(0x158)],!_0x2c015c)return null;_0x146ea3=_0x2c015c[_0x5ce8af(0x1be)];break;case _0x5ce8af(0x121):_0x146ea3=_0x5e1b19[_0x5ce8af(0x1be)];break;case _0x5ce8af(0x186):_0x146ea3=_0x5e1b19[_0x5ce8af(0x19b)];break;case _0x5ce8af(0x13c):_0x146ea3=_0x5e1b19[_0x5ce8af(0x156)][_0x5ce8af(0x1be)];break;default:return null;}return _0x146ea3[_0x5ce8af(0x16f)];}[_0x553ce1(0x155)](_0x45310e){const _0x317aa1=_0x553ce1;_0x45310e[_0x317aa1(0x132)](_0x59e6f4=>{const _0x429673=_0x317aa1,_0x288bfa=_0x59e6f4[_0x429673(0x1d4)]();_0x288bfa[_0x429673(0x1db)]=_0x59e6f4[_0x429673(0x1db)],_0x288bfa[_0x429673(0x15c)]=!!_0x59e6f4[_0x429673(0x15c)],_0x288bfa[_0x429673(0x124)]=_0x59e6f4[_0x429673(0x124)],_0x288bfa[_0x429673(0x198)]+=this[_0x429673(0x12b)],_0x59e6f4[_0x429673(0x196)]&&this[_0x429673(0x203)][_0x429673(0x1f2)](_0x288bfa),this[_0x429673(0x1a8)][_0x429673(0x160)](_0x288bfa);});}[_0x553ce1(0x1e8)](_0x18aba4){const _0x599cef=_0x553ce1,_0x31a810=this[_0x599cef(0x1f0)][_0x599cef(0x133)][_0x599cef(0x1fa)](_0x599cef(0x1de)),_0x5770af=this[_0x599cef(0x1f0)][_0x599cef(0x16e)];_0x18aba4||(_0x18aba4=_0x1935c5(_0x5770af,_0x599cef(0x1a2))),_0x31a810[_0x599cef(0x14c)](_0x18aba4,{'title':_0x1935c5(_0x5770af,_0x599cef(0x174)),'namespace':_0x599cef(0x1f9)}),this[_0x599cef(0x13e)]=!0x0,clearTimeout(this[_0x599cef(0x1b9)]),this[_0x599cef(0x15e)]=[],this[_0x599cef(0x1f0)][_0x599cef(0x133)][_0x599cef(0x1fa)](_0x5aa609)[_0x599cef(0x218)]();}[_0x553ce1(0x20a)](){const _0xc4ebce=_0x553ce1;this[_0xc4ebce(0x18c)]||(this[_0xc4ebce(0x18c)]=this[_0xc4ebce(0x1f0)][_0xc4ebce(0x133)][_0xc4ebce(0x1fa)](_0x3f82a5)[_0xc4ebce(0x1f2)](_0x1935c5(this[_0xc4ebce(0x1f0)][_0xc4ebce(0x16e)],_0xc4ebce(0x20b))));}[_0x553ce1(0x120)](){const _0x318861=_0x553ce1;this[_0x318861(0x18c)]&&(this[_0x318861(0x1f0)][_0x318861(0x133)][_0x318861(0x1fa)](_0x3f82a5)[_0x318861(0x140)](this[_0x318861(0x18c)]),this[_0x318861(0x18c)]=null);}[_0x553ce1(0x1eb)](_0x54ef1b){const _0x14aa51=_0x553ce1,_0x448d38=_0x54ef1b[_0x14aa51(0x200)](_0x417360=>_0x417360[_0x14aa51(0x139)]());return this[_0x14aa51(0x1dc)][_0x14aa51(0x162)](_0x448d38);}[_0x553ce1(0x21c)](_0x1f7269,_0x35573e){const _0x47580e=_0x553ce1;return this[_0x47580e(0x1dc)][_0x47580e(0x169)](_0x1f7269)[_0x47580e(0x200)]((_0x10cb84,_0x4f66d9)=>{const _0x1a79ed=_0x47580e,_0xeb651d=_0x1a79ed(0x18f)==_0x35573e[_0x4f66d9][_0x1a79ed(0x1a7)];if(_0x1a79ed(0x14b)==_0x10cb84[_0x1a79ed(0x19d)]){const _0x34549f=_0x10cb84[_0x1a79ed(0x1a3)][_0x1a79ed(0x1be)];!this[_0x1a79ed(0x201)][_0x1a79ed(0x1cd)](_0x34549f)&&(this[_0x1a79ed(0x201)][_0x1a79ed(0x1e2)](_0x1a79ed(0x1c1),_0x34549f)[_0x1a79ed(0x1d6)]=!0x1);}const _0x3bf7e4=_0x4e005b[_0x1a79ed(0x159)](_0x10cb84,this[_0x1a79ed(0x201)]);return _0x3bf7e4[_0x1a79ed(0x12a)]=_0x10cb84[_0x1a79ed(0x12a)],_0x3bf7e4[_0x1a79ed(0x15c)]=_0xeb651d,_0x3bf7e4[_0x1a79ed(0x1db)]=_0xeb651d?null:_0x35573e[_0x4f66d9][_0x1a79ed(0x175)],_0x3bf7e4[_0x1a79ed(0x196)]=_0x1a79ed(0x170)===_0x35573e[_0x4f66d9][_0x1a79ed(0x1a7)],_0x3bf7e4[_0x1a79ed(0x124)]=_0x35573e[_0x4f66d9][_0x1a79ed(0x124)],_0x3bf7e4;});}[_0x553ce1(0x11d)](){const _0x231d08=_0x553ce1;this[_0x231d08(0x1a1)]=!0x0,this[_0x231d08(0x118)]()?this[_0x231d08(0x145)]():this[_0x231d08(0x1a1)]=!0x1;}[_0x553ce1(0x118)](){const _0x33e96f=_0x553ce1,_0x49ba17=this[_0x33e96f(0x1f0)][_0x33e96f(0x133)][_0x33e96f(0x1fa)](_0x1efa5d)[_0x33e96f(0x1c7)][_0x33e96f(0x1fa)](this[_0x33e96f(0x171)]);return!this[_0x33e96f(0x1f0)][_0x33e96f(0x11e)]&&!!_0x49ba17&&_0x49ba17[_0x33e96f(0x17a)]>0x1&&this[_0x33e96f(0x1a1)];}[_0x553ce1(0x1d1)](){const _0x2a8498=_0x553ce1;return this[_0x2a8498(0x15e)][_0x2a8498(0x17a)]>0x0||this[_0x2a8498(0x118)]();}}export default l;class Q extends Error{}function X(_0x360446,_0x5061be){const _0x5519c3=_0x553ce1;for(const _0x5dc163 of _0x360446)_0x5dc163[_0x5519c3(0x198)]=_0x5061be++;}class Y{[_0x553ce1(0x213)];[_0x553ce1(0x1b4)];constructor(_0xe9dc44){const _0xf044d7=_0x553ce1;this[_0xf044d7(0x213)]=_0xe9dc44,this[_0xf044d7(0x1b4)]=new WeakMap();}[_0x553ce1(0x217)](_0x12f04c){const _0x27690a=_0x553ce1;let _0x437e9e=_0x12f04c[_0x27690a(0x17a)];for(;_0x437e9e--;){const _0x1dc526=_0x12f04c[_0x437e9e];if(!this[_0x27690a(0x213)][_0x27690a(0x219)](_0x1dc526)){if(!this[_0x27690a(0x1b4)][_0x27690a(0x219)](_0x1dc526)){const _0x2bbb8c=_0x28edf2()[_0x27690a(0x1f7)](0x1,0x12);this[_0x27690a(0x1b4)][_0x27690a(0x20f)](_0x1dc526,_0x2bbb8c);}return this[_0x27690a(0x1b4)][_0x27690a(0x1fa)](_0x1dc526);}}}[_0x553ce1(0x178)](_0x452072,_0x244429){const _0x591719=_0x553ce1;if(!_0x244429)return;let _0x364291=_0x452072[_0x591719(0x17a)];for(;_0x364291--;){const _0x21dbff=_0x452072[_0x364291];this[_0x591719(0x213)][_0x591719(0x219)](_0x21dbff)||this[_0x591719(0x1b4)][_0x591719(0x20f)](_0x21dbff,_0x244429);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b6fd5=_0x1394;(function(_0x41b25a,_0x47f2b7){const _0x2894de=_0x1394,_0x511d0b=_0x41b25a();while(!![]){try{const _0x1ab57b=-parseInt(_0x2894de(0x127))/0x1+parseInt(_0x2894de(0x101))/0x2*(parseInt(_0x2894de(0x119))/0x3)+-parseInt(_0x2894de(0xfd))/0x4+parseInt(_0x2894de(0xf9))/0x5*(parseInt(_0x2894de(0x124))/0x6)+parseInt(_0x2894de(0x11c))/0x7*(-parseInt(_0x2894de(0x10f))/0x8)+parseInt(_0x2894de(0x120))/0x9+parseInt(_0x2894de(0xf2))/0xa;if(_0x1ab57b===_0x47f2b7)break;else _0x511d0b['push'](_0x511d0b['shift']());}catch(_0x20a392){_0x511d0b['push'](_0x511d0b['shift']());}}}(_0x86d0,0x1f2ec));function _0x86d0(){const _0x3209e1=['_uniqueUsersCount','state','_users','_createUser','assign','user','get','register','462910yoJGNW','defineMe','_registeredSessions','fire','Sessions','addUser','sessions-register-already-registered','10uCeaVj','has','forEach','listenTo','219596pPtfNj','channelConnectedUsers','stopListening','sessionId','54022PrwQSP','set','sessionAdd:','channelSessions','_handleSessionAdd','getUserBySessionId','_handleSessionRemove','sessions-unregister-not-exist','allConnectedUsers','getUser','connected','requires','isPremiumPlugin','size','601496IQMaCc','context','unregister','isOfficialPlugin','clear','change:state','values','connection','remove','plugins','12BZGJMc','role','init','14kKsuwZ','delete','getUserSessions','add','2147184PLAZjf','isMe','mySessionId','pluginName','546942wTekrA','getUserRole','orderNumber','242228dPQlVm'];_0x86d0=function(){return _0x3209e1;};return _0x86d0();}import{ContextPlugin as _0x539df4}from'ckeditor5/src/core.js';import{Collection as _0x3a97da,CKEditorError as _0x22abaa}from'ckeditor5/src/utils.js';import _0x116a7a from'./websocketgateway.js';import{Users as _0xa33ede}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1394(_0x10278a,_0x232f0a){const _0x86d0fd=_0x86d0();return _0x1394=function(_0x139403,_0x3b400b){_0x139403=_0x139403-0xea;let _0x2ef9c1=_0x86d0fd[_0x139403];return _0x2ef9c1;},_0x1394(_0x10278a,_0x232f0a);}export default class i extends _0x539df4{[_0x1b6fd5(0x104)];[_0x1b6fd5(0xfe)];[_0x1b6fd5(0x109)];[_0x1b6fd5(0xf4)];[_0x1b6fd5(0xea)];[_0x1b6fd5(0xec)];static get[_0x1b6fd5(0x123)](){const _0x4c9c3f=_0x1b6fd5;return _0x4c9c3f(0xf6);}static get[_0x1b6fd5(0x112)](){return!0x0;}static get[_0x1b6fd5(0x10d)](){return!0x0;}static get[_0x1b6fd5(0x10c)](){return[_0x116a7a,_0xa33ede];}constructor(_0x3b02f0){const _0x29e2c0=_0x1b6fd5;super(_0x3b02f0),this[_0x29e2c0(0x104)]=new Map(),this[_0x29e2c0(0xfe)]=new Map(),this[_0x29e2c0(0x109)]=new _0x3a97da(),this[_0x29e2c0(0xf4)]=new Map(),this[_0x29e2c0(0xea)]=0x0,this[_0x29e2c0(0xec)]=this[_0x29e2c0(0x110)][_0x29e2c0(0x118)][_0x29e2c0(0xf0)](_0xa33ede);}[_0x1b6fd5(0x11b)](){const _0x48ad3f=_0x1b6fd5,_0x1a5199=this[_0x48ad3f(0x110)][_0x48ad3f(0x118)][_0x48ad3f(0xf0)](_0x116a7a);this[_0x48ad3f(0xfc)](_0x1a5199,_0x48ad3f(0x114),(_0x3b9837,_0x26b567,_0x5903d3)=>{const _0x1ae915=_0x48ad3f;if(_0x1ae915(0x10b)!==_0x5903d3)this[_0x1ae915(0x104)][_0x1ae915(0xfb)](_0x8e4207=>_0x8e4207[_0x1ae915(0x113)]()),this[_0x1ae915(0xfe)][_0x1ae915(0xfb)](_0x46f01f=>_0x46f01f[_0x1ae915(0x113)]()),this[_0x1ae915(0x109)][_0x1ae915(0x113)]();else{for(const [_0xcb86ab,_0x185459]of this[_0x1ae915(0xf4)])for(const _0x4ff680 of _0x185459)this[_0x1ae915(0x105)](_0xcb86ab,_0x4ff680);}}),this[_0x48ad3f(0xed)](_0x1a5199[_0x48ad3f(0x116)]['me'],!0x0);}[_0x1b6fd5(0xf1)](_0x49e83f,_0x192edf){const _0x386b55=_0x1b6fd5;if(this[_0x386b55(0xf4)][_0x386b55(0xfa)](_0x49e83f))throw new _0x22abaa(_0x386b55(0xf8),null,{'channelId':_0x49e83f});this[_0x386b55(0xf4)][_0x386b55(0x102)](_0x49e83f,_0x192edf),this[_0x386b55(0x104)][_0x386b55(0x102)](_0x49e83f,new _0x3a97da()),this[_0x386b55(0xfe)][_0x386b55(0x102)](_0x49e83f,new _0x3a97da()),this[_0x386b55(0xfc)](_0x192edf,_0x386b55(0x11f),(_0x19bfb5,_0x1b63a7)=>this[_0x386b55(0x105)](_0x49e83f,_0x1b63a7)),this[_0x386b55(0xfc)](_0x192edf,_0x386b55(0x117),(_0x5aef90,_0x171437)=>this[_0x386b55(0x107)](_0x49e83f,_0x171437));for(const _0x3e22c6 of _0x192edf)this[_0x386b55(0x105)](_0x49e83f,_0x3e22c6);}[_0x1b6fd5(0x111)](_0x1f5cf5){const _0x3e7db1=_0x1b6fd5;if(!this[_0x3e7db1(0xf4)][_0x3e7db1(0xfa)](_0x1f5cf5))throw new _0x22abaa(_0x3e7db1(0x108),null,{'channelId':_0x1f5cf5});const _0x5ef25e=this[_0x3e7db1(0xf4)][_0x3e7db1(0xf0)](_0x1f5cf5);this[_0x3e7db1(0xff)](_0x5ef25e);for(const _0x49475a of _0x5ef25e)_0x3e7db1(0x10b)===this[_0x3e7db1(0x110)][_0x3e7db1(0x118)][_0x3e7db1(0xf0)](_0x116a7a)[_0x3e7db1(0xeb)]&&this[_0x3e7db1(0x107)](_0x1f5cf5,_0x49475a);this[_0x3e7db1(0xf4)][_0x3e7db1(0x11d)](_0x1f5cf5),this[_0x3e7db1(0x104)][_0x3e7db1(0x11d)](_0x1f5cf5),this[_0x3e7db1(0xfe)][_0x3e7db1(0x11d)](_0x1f5cf5);}get[_0x1b6fd5(0x122)](){const _0xf635f1=_0x1b6fd5;return this[_0xf635f1(0x110)][_0xf635f1(0x118)][_0xf635f1(0xf0)](_0x116a7a)[_0xf635f1(0x116)][_0xf635f1(0x100)];}[_0x1b6fd5(0x106)](_0x3d55a5){const _0x2d311d=_0x1b6fd5;for(const _0x72f995 of this[_0x2d311d(0x104)][_0x2d311d(0x115)]())for(const _0x55d83d of _0x72f995)if(_0x55d83d['id']===_0x3d55a5)return _0x55d83d[_0x2d311d(0xef)];}[_0x1b6fd5(0x11e)](_0x15c54,_0x1bbad0){const _0x39b30d=_0x1b6fd5,_0x533e02=_0x1bbad0?[this[_0x39b30d(0x104)][_0x39b30d(0xf0)](_0x1bbad0)]:this[_0x39b30d(0x104)][_0x39b30d(0x115)](),_0x5c661c=new Set();for(const _0x57b2a2 of _0x533e02)for(const _0x3b1064 of _0x57b2a2)_0x3b1064[_0x39b30d(0xef)]['id']===_0x15c54['id']&&_0x5c661c[_0x39b30d(0x11f)](_0x3b1064['id']);return _0x5c661c;}[_0x1b6fd5(0x125)](_0x39ee8a){const _0x2cd95b=_0x1b6fd5;for(const _0x40fc9b of this[_0x2cd95b(0x104)][_0x2cd95b(0x115)]())for(const _0x20a294 of _0x40fc9b)if(_0x20a294[_0x2cd95b(0xef)]===_0x39ee8a)return _0x20a294[_0x2cd95b(0x11a)];}[_0x1b6fd5(0x105)](_0x419015,_0x3fe536){const _0x452d5a=_0x1b6fd5;if(_0x452d5a(0x10b)!==this[_0x452d5a(0x110)][_0x452d5a(0x118)][_0x452d5a(0xf0)](_0x116a7a)[_0x452d5a(0xeb)])return;const _0x4d4845=_0x3fe536[_0x452d5a(0xef)],_0x379b61=this[_0x452d5a(0xec)][_0x452d5a(0x10a)](_0x4d4845['id'])||this[_0x452d5a(0xed)](_0x4d4845),_0xb597d1=Object[_0x452d5a(0xee)]({},_0x3fe536,{'user':_0x379b61});this[_0x452d5a(0x104)][_0x452d5a(0xf0)](_0x419015)[_0x452d5a(0x11f)](_0xb597d1);const _0x28fa41=this[_0x452d5a(0xfe)][_0x452d5a(0xf0)](_0x419015);_0x28fa41[_0x452d5a(0xfa)](_0x379b61['id'])||_0x28fa41[_0x452d5a(0x11f)](_0x379b61),this[_0x452d5a(0x109)][_0x452d5a(0xfa)](_0x379b61['id'])||this[_0x452d5a(0x109)][_0x452d5a(0x11f)](_0x379b61,_0x379b61[_0x452d5a(0x121)]?0x0:void 0x0),this[_0x452d5a(0xf5)](_0x452d5a(0x103)+_0x419015,{'channelId':_0x419015,'session':_0xb597d1});}[_0x1b6fd5(0x107)](_0x3a5dc6,_0x4d63c6){const _0x1a59eb=_0x1b6fd5;if(_0x1a59eb(0x10b)!==this[_0x1a59eb(0x110)][_0x1a59eb(0x118)][_0x1a59eb(0xf0)](_0x116a7a)[_0x1a59eb(0xeb)])return;const _0x2032bd=this[_0x1a59eb(0xfe)][_0x1a59eb(0xf0)](_0x3a5dc6),_0x6b333c=_0x4d63c6[_0x1a59eb(0xef)];_0x6b333c['id']&&(this[_0x1a59eb(0x104)][_0x1a59eb(0xf0)](_0x3a5dc6)[_0x1a59eb(0x117)](_0x4d63c6['id']),_0x2032bd[_0x1a59eb(0xfa)](_0x6b333c['id'])&&!this[_0x1a59eb(0x11e)](_0x6b333c,_0x3a5dc6)[_0x1a59eb(0x10e)]&&_0x2032bd[_0x1a59eb(0x117)](_0x6b333c['id']),this[_0x1a59eb(0x109)][_0x1a59eb(0xf0)](_0x6b333c['id'])&&!this[_0x1a59eb(0x11e)](_0x6b333c)[_0x1a59eb(0x10e)]&&this[_0x1a59eb(0x109)][_0x1a59eb(0x117)](_0x6b333c['id']));}[_0x1b6fd5(0xed)](_0x32e345,_0x13f123){const _0x848325=_0x1b6fd5,_0x53137b=this[_0x848325(0xec)][_0x848325(0xf7)](_0x32e345);return _0x13f123&&this[_0x848325(0xec)][_0x848325(0xf3)](_0x32e345['id']),_0x53137b[_0x848325(0x126)]=this[_0x848325(0xea)]++,_0x53137b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x21a58e=_0x3e8d;(function(_0x1a2a9f,_0x190aa3){const _0x408abe=_0x3e8d,_0xd96a13=_0x1a2a9f();while(!![]){try{const _0x300e65=-parseInt(_0x408abe(0x8c))/0x1*(parseInt(_0x408abe(0xb5))/0x2)+parseInt(_0x408abe(0x85))/0x3*(parseInt(_0x408abe(0xbd))/0x4)+-parseInt(_0x408abe(0xbc))/0x5*(-parseInt(_0x408abe(0xcb))/0x6)+parseInt(_0x408abe(0xca))/0x7*(-parseInt(_0x408abe(0x9b))/0x8)+parseInt(_0x408abe(0x96))/0x9+parseInt(_0x408abe(0x89))/0xa*(parseInt(_0x408abe(0xe9))/0xb)+-parseInt(_0x408abe(0xfe))/0xc;if(_0x300e65===_0x190aa3)break;else _0xd96a13['push'](_0xd96a13['shift']());}catch(_0x288fb7){_0xd96a13['push'](_0xd96a13['shift']());}}}(_0x4adc,0x61fb7));import{Plugin as _0x521a7a}from'ckeditor5/src/core.js';import{global as _0x22b567,DomEmitterMixin as _0x173bd0}from'ckeditor5/src/utils.js';function _0x4adc(){const _0x185f3c=['2467644enkBhf','marker','isOfficialPlugin','innerHTML','isObject','mouseleave','user:range:','keydown','setAttribute','hasDomSelection','oldRange','editing','getPositions','3744692fniUrP','30VtpYLk','false','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','get','createUIElement','checkChild','isDocumentOperation','_domEmitter','element','addMarker','createElement','data-session-id','clear','tableCell','span','delete','type','change','markerNameToElements','getStart','afterInit','set','isPremiumPlugin','getNearestSelectionRange','classList','markers','reconvertMarker','getAttribute','removeMarker','nodeAfter','8107gdaupr','_createdBatches','ck-user__marker_hovered','change:range','document','userPositionMarker','render','UserMarkers','markerToElement','markerToHighlight','commands','editingDowncast','end','undo','pluginName','user:position','split','selection','getCustomProperty','getRange','addEventListener','2616bvpuxF','removeClass','for','destroy','contenteditable','remove','add','applyOperation','getUserBySessionId','ck-user__selection','setCustomProperty','markerName','ck-user__marker-tooltip','listenTo','editor','detach','textContent','schema','mapper','getMarkerClass','3kYXltp','startsWith','createUserMarkerOperations','$graveyard','1730ycufjH','stopListening','conversion','2xYfSdu','ck-user__marker\x20','hasContent','model','isCollapsed','requires','isSimilar','updateMarker','newRange','outerHTML','6854778euzgAQ','user:position:','rootName','getFirstRange','getContainedElement','8NiWnif','parent','createRange','highest','markerRange','init','spellcheck','mouseenter','user:range','deletionPosition','toRange','view','isInline','start','plugins','isLimit','toDomElement','name','$text','batch','orderNumber','root','update:user:range','enqueueChange','user:','fromRange','782330ZuYGeD','mySessionId','getSelectionClass','color','size','Escape','has','212785gdFtSj'];_0x4adc=function(){return _0x185f3c;};return _0x4adc();}import _0x147751 from'./sessions.js';function _0x3e8d(_0x35e96f,_0xbf0dfc){const _0x4adc3d=_0x4adc();return _0x3e8d=function(_0x3e8de4,_0x30e444){_0x3e8de4=_0x3e8de4-0x82;let _0x5aa0f3=_0x4adc3d[_0x3e8de4];return _0x5aa0f3;},_0x3e8d(_0x35e96f,_0xbf0dfc);}import{LiveRange as _0x467abe}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0x521a7a{[_0x21a58e(0xd2)]=new(_0x173bd0())();static get[_0x21a58e(0x91)](){return[_0x147751];}static get[_0x21a58e(0xf7)](){const _0x532f7b=_0x21a58e;return _0x532f7b(0xf0);}static get[_0x21a58e(0xbf)](){return!0x0;}static get[_0x21a58e(0xe1)](){return!0x0;}[_0x21a58e(0xa0)](){const _0x184418=_0x21a58e,_0x127a92=this[_0x184418(0x10c)],_0x13b214=_0x127a92[_0x184418(0xa9)][_0x184418(0xce)](_0x147751);_0x127a92[_0x184418(0x8b)][_0x184418(0x100)](_0x184418(0xf4))[_0x184418(0xf1)]({'model':_0x184418(0xf8),'view':(_0x395164,{writer:_0x53b6e4})=>function(_0x2d33b6,_0x598d40,_0x395faa,_0x4febd8){const _0x1966aa=_0x184418,_0x32a421=_0x2d33b6[_0x1966aa(0x109)][_0x1966aa(0xf9)](':')[0x2],_0x309671=_0x395faa[_0x1966aa(0x106)](_0x32a421);if(!_0x309671||_0x32a421===_0x395faa[_0x1966aa(0xb6)])return;if(!_0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0x82)][_0x1966aa(0xd0)](_0x2d33b6[_0x1966aa(0x9f)][_0x1966aa(0xa8)],_0x1966aa(0xad)))return;const _0x510cea={'class':_0x1966aa(0x8d)+_0x309671[_0x1966aa(0xb8)][_0x1966aa(0x84)](),'data-name':_0x309671[_0x1966aa(0xac)],'data-session-id':_0x32a421},_0x52ffc9=_0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0xe4)][_0x1966aa(0xce)](_0x2d33b6[_0x1966aa(0x109)]),_0x4e08ef=_0x52ffc9[_0x1966aa(0xde)](),_0x757d32=_0x4e08ef[_0x1966aa(0xe8)],_0x1611a6=_0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0x82)];if(_0x757d32&&_0x1611a6[_0x1966aa(0xc1)](_0x757d32)&&_0x1611a6[_0x1966aa(0xa7)](_0x757d32)&&!_0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0xe4)][_0x1966aa(0xce)](_0x1966aa(0xc3)+_0x32a421)[_0x1966aa(0xfc)]()[_0x1966aa(0x90)])return;const _0xde26e6=_0x4e08ef[_0x1966aa(0x9c)];return _0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0x82)][_0x1966aa(0xaa)](_0xde26e6)&&!_0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0x8e)](_0xde26e6)&&(_0x510cea[_0x1966aa(0x102)]=!0x1),function(_0x2a6f3a,_0x1e4ba7,_0x5ed652){const _0x560879=_0x1966aa,_0xb198c6=_0x2a6f3a[_0x560879(0xcf)](_0x560879(0xd9),_0x1e4ba7);return _0x2a6f3a[_0x560879(0x108)](_0x560879(0xee),!0x0,_0xb198c6),_0xb198c6[_0x560879(0xef)]=function(_0x1e1b2e){const _0x289b32=_0x560879,_0x46f4e3=this[_0x289b32(0xab)](_0x1e1b2e),_0x1ec01f=document[_0x289b32(0xd5)](_0x289b32(0xd9));return _0x1ec01f[_0x289b32(0xe3)][_0x289b32(0x104)](_0x289b32(0x10a)),_0x1ec01f[_0x289b32(0xc5)](_0x289b32(0x102),_0x289b32(0xcc)),_0x1ec01f[_0x289b32(0xc5)](_0x289b32(0xa1),_0x289b32(0xcc)),_0x1ec01f[_0x289b32(0x10e)]=_0x5ed652[_0x289b32(0xac)],_0x46f4e3[_0x289b32(0xc0)]=_0x289b32(0xcd)+_0x1ec01f[_0x289b32(0x95)]+'',_0x46f4e3[_0x289b32(0xfd)](_0x289b32(0xa2),()=>{const _0xad55d8=_0x289b32;_0x46f4e3[_0xad55d8(0xe3)][_0xad55d8(0x104)](_0xad55d8(0xeb));}),_0x46f4e3[_0x289b32(0xfd)](_0x289b32(0xc2),()=>{const _0xa559c2=_0x289b32;_0x46f4e3[_0xa559c2(0xe3)][_0xa559c2(0x103)](_0xa559c2(0xeb));}),_0x46f4e3;},_0xb198c6[_0x560879(0x92)]=function(_0x3df57b){const _0x4ee019=_0x560879;return!(!this[_0x4ee019(0xfb)](_0x4ee019(0xee))||!_0x3df57b[_0x4ee019(0xfb)](_0x4ee019(0xee))||this[_0x4ee019(0xe6)](_0x4ee019(0xd6))!=_0x3df57b[_0x4ee019(0xe6)](_0x4ee019(0xd6)));},_0xb198c6;}(_0x598d40,_0x510cea,_0x309671);}(_0x395164,_0x53b6e4,_0x13b214,_0x127a92)}),_0x127a92[_0x184418(0x8b)][_0x184418(0x100)](_0x184418(0xf4))[_0x184418(0xf2)]({'model':_0x184418(0xa3),'view':_0x30ffb4=>function(_0xa72c9a,_0x37a2a6){const _0x13a245=_0x184418,_0x1e02f2=_0xa72c9a[_0x13a245(0x109)][_0x13a245(0xf9)](':')[0x2];if(_0x1e02f2===_0x37a2a6[_0x13a245(0xb6)])return null;const _0x3942ae=_0x37a2a6[_0x13a245(0x106)](_0x1e02f2);if(!_0x3942ae)return{'id':_0x1e02f2,'classes':[]};return{'id':_0x1e02f2,'classes':[_0x13a245(0x107),_0x3942ae[_0x13a245(0xb8)][_0x13a245(0xb7)]()],'attributes':{'data-session-id':_0x1e02f2},'priority':0x7d0+_0x3942ae[_0x13a245(0xaf)]};}(_0x30ffb4,_0x13b214)}),function(_0x238fc0){const _0x269a0f=_0x184418,_0x3a423c=_0x238fc0[_0x269a0f(0x8f)],_0x5b86a6=new Map(),_0x48dd6f=_0x238fc0[_0x269a0f(0xa9)][_0x269a0f(0xce)](_0x147751);_0x3a423c[_0x269a0f(0xe4)]['on'](_0x269a0f(0xb1),(_0x513475,_0x52ba75,_0x57afe0,_0x5e53e8)=>{const _0x2a7070=_0x269a0f;if(!_0x5e53e8&&_0x5b86a6[_0x2a7070(0xce)](_0x52ba75[_0x2a7070(0xac)]))return _0x5b86a6[_0x2a7070(0xce)](_0x52ba75[_0x2a7070(0xac)])[_0x2a7070(0x10d)](),void _0x5b86a6[_0x2a7070(0xda)](_0x52ba75[_0x2a7070(0xac)]);const _0x5b71fc=_0x52ba75[_0x2a7070(0xac)][_0x2a7070(0xf9)](':')[0x2];if(_0x5b71fc===_0x48dd6f[_0x2a7070(0xb6)])return;const _0x1443a0=_0x2a7070(0x97)+_0x5b71fc;_0x3a423c[_0x2a7070(0xe4)][_0x2a7070(0xbb)](_0x1443a0)&&_0x238fc0[_0x2a7070(0xc8)][_0x2a7070(0xe5)](_0x1443a0),_0x52ba75['on'](_0x2a7070(0xec),(_0x2b1b33,_0xcff633,_0x20c614)=>{const _0x1bffad=_0x2a7070;if(_0x1bffad(0x88)!=_0xcff633[_0x1bffad(0xb0)][_0x1bffad(0x98)]&&_0x1bffad(0x88)==_0x52ba75[_0x1bffad(0xfc)]()[_0x1bffad(0xb0)][_0x1bffad(0x98)]&&!_0x5b86a6[_0x1bffad(0xbb)](_0x52ba75[_0x1bffad(0xac)])){const _0x509572=_0x3a423c[_0x1bffad(0x82)][_0x1bffad(0xe2)](_0x20c614[_0x1bffad(0xa4)]);if(_0x509572){const _0x10861a=_0x467abe[_0x1bffad(0xb4)](_0x509572);_0x5b86a6[_0x1bffad(0xe0)](_0x52ba75[_0x1bffad(0xac)],_0x10861a),_0x10861a['on'](_0x1bffad(0xec),(_0x310e2f,_0xc0cfa1,_0x5dc076)=>{const _0x48c3c1=_0x1bffad;if(_0x48c3c1(0x88)==_0x10861a[_0x48c3c1(0xb0)][_0x48c3c1(0x98)]){const _0x4c0b80=_0x3a423c[_0x48c3c1(0x82)][_0x48c3c1(0xe2)](_0x5dc076[_0x48c3c1(0xa4)]);_0x4c0b80?(_0x10861a[_0x48c3c1(0xa8)]=_0x4c0b80[_0x48c3c1(0xa8)],_0x10861a[_0x48c3c1(0xf5)]=_0x4c0b80[_0x48c3c1(0xf5)]):(_0x5b86a6[_0x48c3c1(0xda)](_0x52ba75[_0x48c3c1(0xac)]),_0x10861a[_0x48c3c1(0x10d)]());}});}}});}),_0x3a423c[_0x269a0f(0xed)]['on'](_0x269a0f(0xdc),()=>{const _0x5b8b96=_0x269a0f;_0x5b86a6[_0x5b8b96(0xb9)]>0x0&&_0x3a423c[_0x5b8b96(0xb2)]({'isUndoable':!0x1},_0x49c5cf=>{const _0x55c293=_0x5b8b96;for(const [_0x5ae96c,_0x32d1a1]of _0x5b86a6)_0x55c293(0x88)==_0x3a423c[_0x55c293(0xe4)][_0x55c293(0xce)](_0x5ae96c)[_0x55c293(0xfc)]()[_0x55c293(0xb0)][_0x55c293(0x98)]&&(te(_0x5ae96c[_0x55c293(0xf9)](':')[0x2],_0x32d1a1[_0x55c293(0xa5)](),_0x3a423c,_0x49c5cf),_0x32d1a1[_0x55c293(0x10d)]());_0x5b86a6[_0x55c293(0xd7)]();});});}(_0x127a92),this[_0x184418(0xd2)][_0x184418(0x10b)](_0x22b567[_0x184418(0xed)],_0x184418(0xc4),(_0xbbd3ba,{key:_0x2d32a1})=>{const _0x43c66b=_0x184418;_0x43c66b(0xba)===_0x2d32a1&&function(_0x3808bb){const _0x80b2de=_0x43c66b;_0x3808bb[_0x80b2de(0xc8)][_0x80b2de(0xa6)][_0x80b2de(0xdc)](_0x4b6c7b=>{const _0x27fcfe=_0x80b2de;for(const _0x57cc44 of _0x3808bb[_0x27fcfe(0x8f)][_0x27fcfe(0xe4)]){if(!_0x57cc44[_0x27fcfe(0xac)][_0x27fcfe(0x86)](_0x27fcfe(0xf8)))continue;const _0x176b38=_0x3808bb[_0x27fcfe(0xc8)][_0x27fcfe(0x83)][_0x27fcfe(0xdd)](_0x57cc44[_0x27fcfe(0xac)]);if(_0x176b38){for(const _0x26758e of _0x176b38)_0x4b6c7b[_0x27fcfe(0xff)](_0x27fcfe(0xeb),_0x26758e);}}});}(_0x127a92);},{'useCapture':!0x0});}[_0x21a58e(0xdf)](){const _0x40cdfb=_0x21a58e,_0x220e79=this[_0x40cdfb(0x10c)],_0x25d8fc=_0x220e79[_0x40cdfb(0xf3)][_0x40cdfb(0xce)](_0x40cdfb(0xf6));_0x25d8fc&&_0x220e79[_0x40cdfb(0x8f)]['on'](_0x40cdfb(0x105),(_0x2e5da7,_0x21de6d)=>{const _0x7747ea=_0x40cdfb,_0x2ea918=_0x21de6d[0x0];if(!_0x2ea918[_0x7747ea(0xd1)])return;if(_0x7747ea(0xbe)!=_0x2ea918[_0x7747ea(0xdb)]||!_0x2ea918[_0x7747ea(0xac)][_0x7747ea(0x86)](_0x7747ea(0xb3)))return;const _0x358979=_0x2ea918[_0x7747ea(0xae)];_0x25d8fc[_0x7747ea(0xea)][_0x7747ea(0xbb)](_0x358979)&&(_0x2ea918[_0x7747ea(0x94)]=_0x2ea918[_0x7747ea(0xc7)]?_0x220e79[_0x7747ea(0x8f)][_0x7747ea(0x9d)](_0x2ea918[_0x7747ea(0xc7)][_0x7747ea(0xa8)],_0x2ea918[_0x7747ea(0xc7)][_0x7747ea(0xf5)]):null);},{'priority':_0x40cdfb(0x9e)});}[_0x21a58e(0x101)](){const _0x253c76=_0x21a58e;return this[_0x253c76(0xd2)][_0x253c76(0x8a)](),super[_0x253c76(0x101)]();}[_0x21a58e(0x87)](){const _0x152ccf=_0x21a58e,_0x12ea71=this[_0x152ccf(0x10c)],_0x40e8b7=_0x12ea71[_0x152ccf(0x8f)][_0x152ccf(0xed)],_0x3c7f00=_0x12ea71[_0x152ccf(0xa9)][_0x152ccf(0xce)](_0x147751);_0x12ea71[_0x152ccf(0x8f)][_0x152ccf(0xb2)]({'isUndoable':!0x1},_0x8b5709=>{const _0x4c2f02=_0x152ccf,_0x352dc9=_0x4c2f02(0xc3)+_0x3c7f00[_0x4c2f02(0xb6)],_0x431c93=_0x4c2f02(0x97)+_0x3c7f00[_0x4c2f02(0xb6)],_0x5a0492=_0x12ea71[_0x4c2f02(0x8f)][_0x4c2f02(0xe4)][_0x4c2f02(0xbb)](_0x352dc9);_0x12ea71[_0x4c2f02(0xc8)][_0x4c2f02(0xa6)][_0x4c2f02(0xc6)]?te(_0x3c7f00[_0x4c2f02(0xb6)],_0x40e8b7[_0x4c2f02(0xfa)][_0x4c2f02(0x99)](),_0x12ea71[_0x4c2f02(0x8f)],_0x8b5709):_0x5a0492&&(_0x8b5709[_0x4c2f02(0xe7)](_0x352dc9),_0x8b5709[_0x4c2f02(0xe7)](_0x431c93));});}}function te(_0x40f249,_0x3fb706,_0x440600,_0x1fb0ce){const _0x3218ba=_0x21a58e,_0x1532ad=_0x3218ba(0xc3)+_0x40f249,_0x174eff=_0x3218ba(0x97)+_0x40f249,_0x263ac4=_0x3fb706[_0x3218ba(0x9a)]();let _0x434d9c=_0x3fb706[_0x3218ba(0xa8)];_0x263ac4&&_0x263ac4['is'](_0x3218ba(0xd3),_0x3218ba(0xd8))&&(_0x434d9c=function(_0x28471a,_0x5b2427){const _0x29d334=_0x3218ba;for(const _0x510689 of _0x28471a[_0x29d334(0xc9)]())if(_0x5b2427[_0x29d334(0x82)][_0x29d334(0xd0)](_0x510689,_0x29d334(0xad)))return _0x510689;}(_0x3fb706,_0x440600),_0x3fb706=_0x1fb0ce[_0x3218ba(0x9d)](_0x434d9c));const _0x1edc07=_0x1fb0ce[_0x3218ba(0x9d)](_0x434d9c);_0x440600[_0x3218ba(0xe4)][_0x3218ba(0xbb)](_0x1532ad)?(_0x1fb0ce[_0x3218ba(0x93)](_0x1532ad,{'range':_0x3fb706}),_0x1fb0ce[_0x3218ba(0x93)](_0x174eff,{'range':_0x1edc07})):(_0x1fb0ce[_0x3218ba(0xd4)](_0x1532ad,{'range':_0x3fb706,'usingOperation':!0x0}),_0x1fb0ce[_0x3218ba(0xd4)](_0x174eff,{'range':_0x1edc07,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x4d0274=_0x26c5;(function(_0x51cfb4,_0x4211f5){const _0x43db2a=_0x26c5,_0x22889d=_0x51cfb4();while(!![]){try{const _0x3ab27c=parseInt(_0x43db2a(0x1cc))/0x1+-parseInt(_0x43db2a(0x223))/0x2+-parseInt(_0x43db2a(0x23e))/0x3+-parseInt(_0x43db2a(0x1e3))/0x4+-parseInt(_0x43db2a(0x233))/0x5+-parseInt(_0x43db2a(0x215))/0x6+parseInt(_0x43db2a(0x21f))/0x7;if(_0x3ab27c===_0x4211f5)break;else _0x22889d['push'](_0x22889d['shift']());}catch(_0x3511d9){_0x22889d['push'](_0x22889d['shift']());}}}(_0x2985,0xe8d78));import{Plugin as _0x8e6a49}from'ckeditor5/src/core.js';import{global as _0x28ed15,DomEmitterMixin as _0x1c2429}from'ckeditor5/src/utils.js';import _0xce6a75 from'./sessions.js';import{LiveRange as _0x1fc2a9}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x26c5(_0x27e704,_0x2476f2){const _0x298534=_0x2985();return _0x26c5=function(_0x26c502,_0x5dc3fb){_0x26c502=_0x26c502-0x1bf;let _0x3583b7=_0x298534[_0x26c502];return _0x3583b7;},_0x26c5(_0x27e704,_0x2476f2);}export default class q extends _0x8e6a49{[_0x4d0274(0x200)]=new(_0x1c2429())();static get[_0x4d0274(0x20d)](){return[_0xce6a75];}static get[_0x4d0274(0x228)](){const _0x1182b1=_0x4d0274;return _0x1182b1(0x227);}static get[_0x4d0274(0x1e9)](){return!0x0;}static get[_0x4d0274(0x22a)](){return!0x0;}[_0x4d0274(0x21b)](){const _0x270094=_0x4d0274,_0xcad4f6=this[_0x270094(0x1c8)],_0x438d95=_0xcad4f6[_0x270094(0x241)][_0x270094(0x21e)](_0xce6a75);_0xcad4f6[_0x270094(0x20b)][_0x270094(0x1d6)](_0x270094(0x1f9))[_0x270094(0x22e)]({'model':_0x270094(0x1cd),'view':(_0x2e03bd,{writer:_0x2d38b3})=>function(_0x557999,_0x249998,_0x1ea3de,_0x26c8ca){const _0x2558da=_0x270094,_0x3579d4=_0x557999[_0x2558da(0x20c)][_0x2558da(0x22c)](':')[0x2],_0x429c1e=_0x1ea3de[_0x2558da(0x218)](_0x3579d4);if(!_0x429c1e||_0x3579d4===_0x1ea3de[_0x2558da(0x1cf)])return;if(!_0x26c8ca[_0x2558da(0x1d3)][_0x2558da(0x22b)][_0x2558da(0x211)](_0x557999[_0x2558da(0x1ce)][_0x2558da(0x1bf)],_0x2558da(0x1d5)))return;const _0x3b836c={'class':_0x2558da(0x219)+_0x429c1e[_0x2558da(0x1f5)][_0x2558da(0x1ed)](),'data-name':_0x429c1e[_0x2558da(0x1e6)],'data-session-id':_0x3579d4},_0x1cf86c=_0x26c8ca[_0x2558da(0x1d3)][_0x2558da(0x22d)][_0x2558da(0x21e)](_0x557999[_0x2558da(0x20c)]),_0x4550f5=_0x1cf86c[_0x2558da(0x210)](),_0x2e1706=_0x4550f5[_0x2558da(0x1f6)],_0x24c124=_0x26c8ca[_0x2558da(0x1d3)][_0x2558da(0x22b)];if(_0x2e1706&&_0x24c124[_0x2558da(0x1f0)](_0x2e1706)&&_0x24c124[_0x2558da(0x209)](_0x2e1706)&&!_0x26c8ca[_0x2558da(0x1d3)][_0x2558da(0x22d)][_0x2558da(0x21e)](_0x2558da(0x224)+_0x3579d4)[_0x2558da(0x23f)]()[_0x2558da(0x1c9)])return;const _0x5e301b=_0x4550f5[_0x2558da(0x246)];return _0x26c8ca[_0x2558da(0x1d3)][_0x2558da(0x22b)][_0x2558da(0x1ca)](_0x5e301b)&&!_0x26c8ca[_0x2558da(0x1d3)][_0x2558da(0x221)](_0x5e301b)&&(_0x3b836c[_0x2558da(0x1c4)]=!0x1),function(_0x266ae6,_0x5e3659,_0x417a08){const _0x7b8b5c=_0x2558da,_0x3ee317=_0x266ae6[_0x7b8b5c(0x1c5)](_0x7b8b5c(0x1c0),_0x5e3659);return _0x266ae6[_0x7b8b5c(0x1db)](_0x7b8b5c(0x23c),!0x0,_0x3ee317),_0x3ee317[_0x7b8b5c(0x1d7)]=function(_0x40b914){const _0x1eedb4=_0x7b8b5c,_0x504e4c=this[_0x1eedb4(0x236)](_0x40b914),_0xa90a1c=document[_0x1eedb4(0x216)](_0x1eedb4(0x1c0));return _0xa90a1c[_0x1eedb4(0x22f)][_0x1eedb4(0x1c6)](_0x1eedb4(0x1de)),_0xa90a1c[_0x1eedb4(0x23b)](_0x1eedb4(0x1c4),_0x1eedb4(0x237)),_0xa90a1c[_0x1eedb4(0x23b)](_0x1eedb4(0x1df),_0x1eedb4(0x237)),_0xa90a1c[_0x1eedb4(0x20a)]=_0x417a08[_0x1eedb4(0x1e6)],_0x504e4c[_0x1eedb4(0x1e4)]=_0x1eedb4(0x242)+_0xa90a1c[_0x1eedb4(0x1fc)]+'',_0x504e4c[_0x1eedb4(0x1ea)](_0x1eedb4(0x1d9),()=>{const _0x4ab553=_0x1eedb4;_0x504e4c[_0x4ab553(0x22f)][_0x4ab553(0x1c6)](_0x4ab553(0x1da));}),_0x504e4c[_0x1eedb4(0x1ea)](_0x1eedb4(0x20f),()=>{const _0x3cb3d0=_0x1eedb4;_0x504e4c[_0x3cb3d0(0x22f)][_0x3cb3d0(0x245)](_0x3cb3d0(0x1da));}),_0x504e4c;},_0x3ee317[_0x7b8b5c(0x1d2)]=function(_0x53d692){const _0x56470c=_0x7b8b5c;return!(!this[_0x56470c(0x1ff)](_0x56470c(0x23c))||!_0x53d692[_0x56470c(0x1ff)](_0x56470c(0x23c))||this[_0x56470c(0x1c2)](_0x56470c(0x1f1))!=_0x53d692[_0x56470c(0x1c2)](_0x56470c(0x1f1)));},_0x3ee317;}(_0x249998,_0x3b836c,_0x429c1e);}(_0x2e03bd,_0x2d38b3,_0x438d95,_0xcad4f6)}),_0xcad4f6[_0x270094(0x20b)][_0x270094(0x1d6)](_0x270094(0x1f9))[_0x270094(0x203)]({'model':_0x270094(0x1c1),'view':_0x10d5dc=>function(_0x3b5405,_0x178dd9){const _0x1080ff=_0x270094,_0x5a15b0=_0x3b5405[_0x1080ff(0x20c)][_0x1080ff(0x22c)](':')[0x2];if(_0x5a15b0===_0x178dd9[_0x1080ff(0x1cf)])return null;const _0x5d75b7=_0x178dd9[_0x1080ff(0x218)](_0x5a15b0);if(!_0x5d75b7)return{'id':_0x5a15b0,'classes':[]};return{'id':_0x5a15b0,'classes':[_0x1080ff(0x229),_0x5d75b7[_0x1080ff(0x1f5)][_0x1080ff(0x1e0)]()],'attributes':{'data-session-id':_0x5a15b0},'priority':0x7d0+_0x5d75b7[_0x1080ff(0x1cb)]};}(_0x10d5dc,_0x438d95)}),function(_0x2a6b2b){const _0x460354=_0x270094,_0x11b826=_0x2a6b2b[_0x460354(0x1d3)],_0x2c9d76=new Map(),_0x8282=_0x2a6b2b[_0x460354(0x241)][_0x460354(0x21e)](_0xce6a75);_0x11b826[_0x460354(0x22d)]['on'](_0x460354(0x1e5),(_0x27ee3,_0x1dfa90,_0x3a15c0,_0x267fd0)=>{const _0x41bdf3=_0x460354;if(!_0x267fd0&&_0x2c9d76[_0x41bdf3(0x21e)](_0x1dfa90[_0x41bdf3(0x1e6)]))return _0x2c9d76[_0x41bdf3(0x21e)](_0x1dfa90[_0x41bdf3(0x1e6)])[_0x41bdf3(0x214)](),void _0x2c9d76[_0x41bdf3(0x243)](_0x1dfa90[_0x41bdf3(0x1e6)]);const _0x5beab4=_0x1dfa90[_0x41bdf3(0x1e6)][_0x41bdf3(0x22c)](':')[0x2];if(_0x5beab4===_0x8282[_0x41bdf3(0x1cf)])return;const _0x2c4029=_0x41bdf3(0x1eb)+_0x5beab4;_0x11b826[_0x41bdf3(0x22d)][_0x41bdf3(0x1f8)](_0x2c4029)&&_0x2a6b2b[_0x41bdf3(0x1e2)][_0x41bdf3(0x1e8)](_0x2c4029),_0x1dfa90['on'](_0x41bdf3(0x1f3),(_0x2c0374,_0x48eab3,_0x2974e8)=>{const _0x155136=_0x41bdf3;if(_0x155136(0x244)!=_0x48eab3[_0x155136(0x21a)][_0x155136(0x239)]&&_0x155136(0x244)==_0x1dfa90[_0x155136(0x23f)]()[_0x155136(0x21a)][_0x155136(0x239)]&&!_0x2c9d76[_0x155136(0x1f8)](_0x1dfa90[_0x155136(0x1e6)])){const _0x391b41=_0x11b826[_0x155136(0x22b)][_0x155136(0x232)](_0x2974e8[_0x155136(0x225)]);if(_0x391b41){const _0x37f52e=_0x1fc2a9[_0x155136(0x1dd)](_0x391b41);_0x2c9d76[_0x155136(0x1d4)](_0x1dfa90[_0x155136(0x1e6)],_0x37f52e),_0x37f52e['on'](_0x155136(0x1f3),(_0x24ff10,_0x82fc06,_0x4388e7)=>{const _0xda7b08=_0x155136;if(_0xda7b08(0x244)==_0x37f52e[_0xda7b08(0x21a)][_0xda7b08(0x239)]){const _0x1fe3f9=_0x11b826[_0xda7b08(0x22b)][_0xda7b08(0x232)](_0x4388e7[_0xda7b08(0x225)]);_0x1fe3f9?(_0x37f52e[_0xda7b08(0x1bf)]=_0x1fe3f9[_0xda7b08(0x1bf)],_0x37f52e[_0xda7b08(0x1f7)]=_0x1fe3f9[_0xda7b08(0x1f7)]):(_0x2c9d76[_0xda7b08(0x243)](_0x1dfa90[_0xda7b08(0x1e6)]),_0x37f52e[_0xda7b08(0x214)]());}});}}});}),_0x11b826[_0x460354(0x1f4)]['on'](_0x460354(0x23d),()=>{const _0x24c4f0=_0x460354;_0x2c9d76[_0x24c4f0(0x204)]>0x0&&_0x11b826[_0x24c4f0(0x234)]({'isUndoable':!0x1},_0x12ea6d=>{const _0x4a8326=_0x24c4f0;for(const [_0x3554e6,_0x4a1a58]of _0x2c9d76)_0x4a8326(0x244)==_0x11b826[_0x4a8326(0x22d)][_0x4a8326(0x21e)](_0x3554e6)[_0x4a8326(0x23f)]()[_0x4a8326(0x21a)][_0x4a8326(0x239)]&&(te(_0x3554e6[_0x4a8326(0x22c)](':')[0x2],_0x4a1a58[_0x4a8326(0x1fe)](),_0x11b826,_0x12ea6d),_0x4a1a58[_0x4a8326(0x214)]());_0x2c9d76[_0x4a8326(0x230)]();});});}(_0xcad4f6),this[_0x270094(0x200)][_0x270094(0x213)](_0x28ed15[_0x270094(0x1f4)],_0x270094(0x21d),(_0x347cfb,{key:_0x589f31})=>{const _0x29ef8d=_0x270094;_0x29ef8d(0x1ef)===_0x589f31&&function(_0x144cbe){const _0x3b4eda=_0x29ef8d;_0x144cbe[_0x3b4eda(0x1e2)][_0x3b4eda(0x202)][_0x3b4eda(0x23d)](_0x1a8a08=>{const _0x4791a5=_0x3b4eda;for(const _0x44e492 of _0x144cbe[_0x4791a5(0x1d3)][_0x4791a5(0x22d)]){if(!_0x44e492[_0x4791a5(0x1e6)][_0x4791a5(0x23a)](_0x4791a5(0x1cd)))continue;const _0x90f61b=_0x144cbe[_0x4791a5(0x1e2)][_0x4791a5(0x20e)][_0x4791a5(0x1d1)](_0x44e492[_0x4791a5(0x1e6)]);if(_0x90f61b){for(const _0x345cd0 of _0x90f61b)_0x1a8a08[_0x4791a5(0x1e1)](_0x4791a5(0x1da),_0x345cd0);}}});}(_0xcad4f6);},{'useCapture':!0x0});}[_0x4d0274(0x207)](){const _0x3c4133=_0x4d0274,_0x54b38a=this[_0x3c4133(0x1c8)],_0x228517=_0x54b38a[_0x3c4133(0x222)][_0x3c4133(0x21e)](_0x3c4133(0x1fa));_0x228517&&_0x54b38a[_0x3c4133(0x1d3)]['on'](_0x3c4133(0x240),(_0x3f9878,_0x3899a8)=>{const _0x2e916e=_0x3c4133,_0x19e471=_0x3899a8[0x0];if(!_0x19e471[_0x2e916e(0x226)])return;if(_0x2e916e(0x1ec)!=_0x19e471[_0x2e916e(0x235)]||!_0x19e471[_0x2e916e(0x1e6)][_0x2e916e(0x23a)](_0x2e916e(0x1e7)))return;const _0x4fd347=_0x19e471[_0x2e916e(0x1c7)];_0x228517[_0x2e916e(0x231)][_0x2e916e(0x1f8)](_0x4fd347)&&(_0x19e471[_0x2e916e(0x1f2)]=_0x19e471[_0x2e916e(0x1ee)]?_0x54b38a[_0x2e916e(0x1d3)][_0x2e916e(0x1fd)](_0x19e471[_0x2e916e(0x1ee)][_0x2e916e(0x1bf)],_0x19e471[_0x2e916e(0x1ee)][_0x2e916e(0x1f7)]):null);},{'priority':_0x3c4133(0x217)});}[_0x4d0274(0x208)](){const _0x4831e8=_0x4d0274;return this[_0x4831e8(0x200)][_0x4831e8(0x1d8)](),super[_0x4831e8(0x208)]();}[_0x4d0274(0x1c3)](){const _0x11defc=_0x4d0274,_0x42cfff=this[_0x11defc(0x1c8)],_0x128379=_0x42cfff[_0x11defc(0x1d3)][_0x11defc(0x1f4)],_0x566814=_0x42cfff[_0x11defc(0x241)][_0x11defc(0x21e)](_0xce6a75);_0x42cfff[_0x11defc(0x1d3)][_0x11defc(0x234)]({'isUndoable':!0x1},_0xffc1d=>{const _0x57efcc=_0x11defc,_0x283bb7=_0x57efcc(0x224)+_0x566814[_0x57efcc(0x1cf)],_0x963b28=_0x57efcc(0x1eb)+_0x566814[_0x57efcc(0x1cf)],_0x1ad80b=_0x42cfff[_0x57efcc(0x1d3)][_0x57efcc(0x22d)][_0x57efcc(0x1f8)](_0x283bb7);_0x42cfff[_0x57efcc(0x1e2)][_0x57efcc(0x202)][_0x57efcc(0x1d0)]?te(_0x566814[_0x57efcc(0x1cf)],_0x128379[_0x57efcc(0x205)][_0x57efcc(0x220)](),_0x42cfff[_0x57efcc(0x1d3)],_0xffc1d):_0x1ad80b&&(_0xffc1d[_0x57efcc(0x201)](_0x283bb7),_0xffc1d[_0x57efcc(0x201)](_0x963b28));});}}function _0x2985(){const _0x1abe6e=['isPremiumPlugin','schema','split','markers','markerToElement','classList','clear','_createdBatches','getNearestSelectionRange','2254375cQiarO','enqueueChange','type','toDomElement','false','tableCell','rootName','startsWith','setAttribute','userPositionMarker','change','3705117VPCPSd','getRange','applyOperation','plugins','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','delete','$graveyard','remove','parent','start','span','user:range','getAttribute','createUserMarkerOperations','contenteditable','createUIElement','add','batch','editor','isCollapsed','isLimit','orderNumber','1474657YskUhU','user:position','markerRange','mySessionId','hasDomSelection','markerNameToElements','isSimilar','model','set','$text','for','render','stopListening','mouseenter','ck-user__marker_hovered','setCustomProperty','updateMarker','fromRange','ck-user__marker-tooltip','spellcheck','getSelectionClass','removeClass','editing','1425384NCGCJa','innerHTML','update:user:range','name','user:','reconvertMarker','isOfficialPlugin','addEventListener','user:position:','marker','getMarkerClass','oldRange','Escape','isObject','data-session-id','newRange','change:range','document','color','nodeAfter','end','has','editingDowncast','undo','getPositions','outerHTML','createRange','toRange','getCustomProperty','_domEmitter','removeMarker','view','markerToHighlight','size','selection','addMarker','afterInit','destroy','isInline','textContent','conversion','markerName','requires','mapper','mouseleave','getStart','checkChild','element','listenTo','detach','588636KrKkjj','createElement','highest','getUserBySessionId','ck-user__marker\x20','root','init','getContainedElement','keydown','get','22361122SPLspT','getFirstRange','hasContent','commands','3150034lhSaJM','user:range:','deletionPosition','isDocumentOperation','UserMarkers','pluginName','ck-user__selection'];_0x2985=function(){return _0x1abe6e;};return _0x2985();}function te(_0x32c9c5,_0x22d6d0,_0x13426c,_0x47a25d){const _0x59424c=_0x4d0274,_0x27bf79=_0x59424c(0x224)+_0x32c9c5,_0x5ca03a=_0x59424c(0x1eb)+_0x32c9c5,_0x135e90=_0x22d6d0[_0x59424c(0x21c)]();let _0x482ea6=_0x22d6d0[_0x59424c(0x1bf)];_0x135e90&&_0x135e90['is'](_0x59424c(0x212),_0x59424c(0x238))&&(_0x482ea6=function(_0x4c39e9,_0x3b8dcf){const _0x5cd4d5=_0x59424c;for(const _0x5c64b2 of _0x4c39e9[_0x5cd4d5(0x1fb)]())if(_0x3b8dcf[_0x5cd4d5(0x22b)][_0x5cd4d5(0x211)](_0x5c64b2,_0x5cd4d5(0x1d5)))return _0x5c64b2;}(_0x22d6d0,_0x13426c),_0x22d6d0=_0x47a25d[_0x59424c(0x1fd)](_0x482ea6));const _0x361981=_0x47a25d[_0x59424c(0x1fd)](_0x482ea6);_0x13426c[_0x59424c(0x22d)][_0x59424c(0x1f8)](_0x27bf79)?(_0x47a25d[_0x59424c(0x1dc)](_0x27bf79,{'range':_0x22d6d0}),_0x47a25d[_0x59424c(0x1dc)](_0x5ca03a,{'range':_0x361981})):(_0x47a25d[_0x59424c(0x206)](_0x27bf79,{'range':_0x22d6d0,'usingOperation':!0x0}),_0x47a25d[_0x59424c(0x206)](_0x5ca03a,{'range':_0x361981,'usingOperation':!0x0}));}
|