@ckeditor/ckeditor5-real-time-collaboration 47.4.0-alpha.4 → 47.4.0-alpha.6
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 _0x559915=_0x4f73;(function(_0xa26094,_0x387c8f){const _0x31485b=_0x4f73,_0x462690=_0xa26094();while(!![]){try{const _0x56bfee=parseInt(_0x31485b(0x155))/0x1*(parseInt(_0x31485b(0x14a))/0x2)+parseInt(_0x31485b(0x149))/0x3+parseInt(_0x31485b(0x15b))/0x4+parseInt(_0x31485b(0x148))/0x5*(-parseInt(_0x31485b(0x157))/0x6)+parseInt(_0x31485b(0x15f))/0x7*(parseInt(_0x31485b(0x14b))/0x8)+parseInt(_0x31485b(0x153))/0x9*(-parseInt(_0x31485b(0x143))/0xa)+-parseInt(_0x31485b(0x156))/0xb;if(_0x56bfee===_0x387c8f)break;else _0x462690['push'](_0x462690['shift']());}catch(_0x3156c4){_0x462690['push'](_0x462690['shift']());}}}(_0x3474,0x81f0d));import{View as _0x84dc26}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x2d8047}from'ckeditor5/src/utils.js';import{getTranslation as _0x5f254c}from'../../common-translations.js';function _0x3474(){const _0x239260=['4559775weEAKR','84492dsFfTK','listenTo','presencelist:show','aria-expanded','1629416YodSxo','focus','hasPopup','presencelist:hide','235515mcEBmA','contains','render','removeAttribute','bindTemplate','.ck-balloon-panel_with-arrow','setTemplate','createCollection','ck-presence-list__list','fire','setAttribute','set','10ejkjbL','relatedTarget','div','querySelector','list','190bPsuTE','1681182ooEdMU','2AWOYJE','104LspebL','element','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','change:hasPopup','items','isExpanded','Connected\x20users\x20list','keystrokes','7213194rkEmiG','.ck-presence-list__dropdown-list','878211zimUAb'];_0x3474=function(){return _0x239260;};return _0x3474();}function _0x4f73(_0x4c6833,_0x28f1ec){const _0x347493=_0x3474();return _0x4f73=function(_0x4f73f8,_0x19f2b4){_0x4f73f8=_0x4f73f8-0x138;let _0x51595d=_0x347493[_0x4f73f8];return _0x51595d;},_0x4f73(_0x4c6833,_0x28f1ec);}export class PresenceInlineListView extends _0x84dc26{[_0x559915(0x14f)];[_0x559915(0x152)];constructor(_0x570fc5){const _0x4e9d4b=_0x559915;super(_0x570fc5);const _0x964b53=this[_0x4e9d4b(0x13b)];this[_0x4e9d4b(0x14f)]=this[_0x4e9d4b(0x13e)](),this[_0x4e9d4b(0x152)]=new _0x2d8047(),this[_0x4e9d4b(0x142)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4e9d4b(0x13d)]({'tag':_0x4e9d4b(0x145),'attributes':{'aria-haspopup':_0x964b53['if'](_0x4e9d4b(0x15d)),'aria-expanded':_0x964b53['to'](_0x4e9d4b(0x150),_0xa8c376=>this[_0x4e9d4b(0x15d)]&&String(_0xa8c376)),'aria-label':_0x964b53['to'](_0x4e9d4b(0x15d),_0x107a1f=>_0x5f254c(_0x570fc5,_0x107a1f?_0x4e9d4b(0x14d):_0x4e9d4b(0x151))),'role':_0x4e9d4b(0x147),'tabindex':_0x964b53['to'](_0x4e9d4b(0x15d),_0x43f042=>!!_0x43f042&&0x0),'class':['ck',_0x4e9d4b(0x13f)]},'children':this[_0x4e9d4b(0x14f)],'on':{'mouseenter':_0x964b53['to'](()=>this[_0x4e9d4b(0x140)](_0x4e9d4b(0x159))),'mouseleave':_0x964b53['to'](_0x242a0c=>{const _0x207398=_0x4e9d4b,_0x3dc8c2=_0x242a0c,_0x3611c3=document[_0x207398(0x146)](_0x207398(0x154)),_0x4d1944=document[_0x207398(0x146)](_0x207398(0x13c));_0x3611c3?.[_0x207398(0x138)](_0x3dc8c2[_0x207398(0x144)])||_0x4d1944?.[_0x207398(0x138)](_0x3dc8c2[_0x207398(0x144)])||this[_0x207398(0x140)](_0x207398(0x15e));})}}),this['on'](_0x4e9d4b(0x14e),(_0x208fda,_0x45e89b,_0x23b990)=>{const _0x28781d=_0x4e9d4b;this[_0x28781d(0x14c)]&&(_0x23b990?this[_0x28781d(0x14c)][_0x28781d(0x141)](_0x28781d(0x15a),String(this[_0x28781d(0x150)])):this[_0x28781d(0x14c)][_0x28781d(0x13a)](_0x28781d(0x15a)));});}[_0x559915(0x15c)](){const _0x58a1fe=_0x559915;this[_0x58a1fe(0x14c)][_0x58a1fe(0x15c)]();}[_0x559915(0x139)](){const _0x481f79=_0x559915;super[_0x481f79(0x139)](),this[_0x481f79(0x152)][_0x481f79(0x158)](this[_0x481f79(0x14c)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ad783=_0x26ea;function _0x12e7(){const _0x3b413d=['648846oklJtZ','tooltipPosition','listenTo','bindTemplate','div','20630CGXBym','items','set','counterView','16OYONlM','inlineListView','bind','change','first','locale','5618529oXQXrk','6526315JltFCW','ck-presence-list--collapsed','ck-rounded-corners','ck-presence-list','ck-reset','7837768UfzKQn','setTemplate','hasPopup','6389170qwGNze','isCollapsed','77cgMoFA','4gyYBjj','4119600ExjVPN'];_0x12e7=function(){return _0x3b413d;};return _0x12e7();}(function(_0x3f9a75,_0x2ce5eb){const _0x1ef16b=_0x26ea,_0x323aff=_0x3f9a75();while(!![]){try{const _0xf02f40=-parseInt(_0x1ef16b(0x195))/0x1*(-parseInt(_0x1ef16b(0x191))/0x2)+parseInt(_0x1ef16b(0x18b))/0x3+-parseInt(_0x1ef16b(0x18a))/0x4*(-parseInt(_0x1ef16b(0x19c))/0x5)+-parseInt(_0x1ef16b(0x18c))/0x6*(parseInt(_0x1ef16b(0x189))/0x7)+-parseInt(_0x1ef16b(0x184))/0x8+-parseInt(_0x1ef16b(0x19b))/0x9+parseInt(_0x1ef16b(0x187))/0xa;if(_0xf02f40===_0x2ce5eb)break;else _0x323aff['push'](_0x323aff['shift']());}catch(_0x298981){_0x323aff['push'](_0x323aff['shift']());}}}(_0x12e7,0xa82e3));import{View as _0xd73b98}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x592d87}from'./presencecounterview.js';import{PresenceInlineListView as _0x1d08c2}from'./presenceinlinelistview.js';function _0x26ea(_0x4e5c04,_0x3d616d){const _0x12e752=_0x12e7();return _0x26ea=function(_0x26ea9a,_0x514588){_0x26ea9a=_0x26ea9a-0x182;let _0x41dab5=_0x12e752[_0x26ea9a];return _0x41dab5;},_0x26ea(_0x4e5c04,_0x3d616d);}import'../../../theme/presencelist.css';export class PresenceListView extends _0xd73b98{[_0x4ad783(0x194)];[_0x4ad783(0x196)];constructor(_0x4434c3,_0x623fcd=0x6){const _0x1eb1d2=_0x4ad783;super(_0x4434c3);const _0x5ce8e8=this[_0x1eb1d2(0x18f)];this[_0x1eb1d2(0x193)](_0x1eb1d2(0x188),!0x0),this[_0x1eb1d2(0x194)]=new _0x592d87(this[_0x1eb1d2(0x19a)],_0x623fcd),this[_0x1eb1d2(0x196)]=new _0x1d08c2(_0x4434c3),this[_0x1eb1d2(0x196)][_0x1eb1d2(0x197)](_0x1eb1d2(0x186))['to'](this,_0x1eb1d2(0x188)),this[_0x1eb1d2(0x18e)](this[_0x1eb1d2(0x196)][_0x1eb1d2(0x192)],_0x1eb1d2(0x198),()=>{const _0x3cdb75=_0x1eb1d2;for(const _0xd7cfb4 of this[_0x3cdb75(0x196)][_0x3cdb75(0x192)])_0xd7cfb4[_0x3cdb75(0x18d)]='s';this[_0x3cdb75(0x196)][_0x3cdb75(0x192)][_0x3cdb75(0x199)]&&(this[_0x3cdb75(0x196)][_0x3cdb75(0x192)][_0x3cdb75(0x199)][_0x3cdb75(0x18d)]='se');}),this[_0x1eb1d2(0x185)]({'tag':_0x1eb1d2(0x190),'attributes':{'class':['ck',_0x1eb1d2(0x182),_0x1eb1d2(0x183),_0x1eb1d2(0x19e),_0x5ce8e8['if'](_0x1eb1d2(0x188),_0x1eb1d2(0x19d))]},'children':[this[_0x1eb1d2(0x196)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x10649f=_0x2aff;(function(_0x31b047,_0x1a2bb7){var _0x1dc521=_0x2aff,_0x3f2c47=_0x31b047();while(!![]){try{var _0x2c3b45=parseInt(_0x1dc521(0xbf))/0x1+parseInt(_0x1dc521(0xba))/0x2*(parseInt(_0x1dc521(0xc1))/0x3)+-parseInt(_0x1dc521(0xbd))/0x4+parseInt(_0x1dc521(0xc6))/0x5+parseInt(_0x1dc521(0xbb))/0x6+-parseInt(_0x1dc521(0xc3))/0x7*(-parseInt(_0x1dc521(0xbe))/0x8)+-parseInt(_0x1dc521(0xbc))/0x9;if(_0x2c3b45===_0x1a2bb7)break;else _0x3f2c47['push'](_0x3f2c47['shift']());}catch(_0x4ac869){_0x3f2c47['push'](_0x3f2c47['shift']());}}}(_0x48b6,0xb4d50));import{ContextPlugin as _0x28fef0}from'ckeditor5/src/core.js';function _0x2aff(_0x15ff35,_0x2d27db){var _0x48b610=_0x48b6();return _0x2aff=function(_0x2aff87,_0x2b7a0c){_0x2aff87=_0x2aff87-0xba;var _0x56830d=_0x48b610[_0x2aff87];return _0x56830d;},_0x2aff(_0x15ff35,_0x2d27db);}function _0x48b6(){var _0x5145cf=['isPremiumPlugin','pluginName','2462490AsJgGC','PresenceList','24NvFKFE','7288338Qfegeg','20470437wJoeHk','1620420vjIHax','16mTUbYR','965167ytMyLU','isOfficialPlugin','154581SJcOwX','requires','453509mMISam'];_0x48b6=function(){return _0x5145cf;};return _0x48b6();}import{Sessions as _0x1f7c53}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x4b48da}from'./presencelist/presencelistui.js';export class PresenceList extends _0x28fef0{static get[_0x10649f(0xc2)](){return[_0x1f7c53,_0x4b48da];}static get[_0x10649f(0xc5)](){var _0xc4048b=_0x10649f;return _0xc4048b(0xc7);}static get[_0x10649f(0xc0)](){return!0x0;}static get[_0x10649f(0xc4)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x31831b)());[_0x208f37(0x185)];static get[_0x208f37(0x1d5)](){const _0x590675=_0x208f37;return[_0x40134f,_0x590675(0x188),_0xad6dc5,_0x449865];}static get[_0x208f37(0x1ad)](){const _0x4e1fdf=_0x208f37;return _0x4e1fdf(0x1cf);}static get[_0x208f37(0x191)](){return!0x0;}static get[_0x208f37(0x1d9)](){return!0x0;}constructor(_0x6d8f66){const _0x33b573=_0x208f37;super(_0x6d8f66),this[_0x33b573(0x185)]=new Map();}async[_0x208f37(0x198)](){const _0x53110b=_0x208f37,_0x20f87d=this[_0x53110b(0x19b)],_0x333a82=_0x20f87d[_0x53110b(0x197)][_0x53110b(0x17d)](_0x53110b(0x188));if(_0x20f87d[_0x53110b(0x197)][_0x53110b(0x17d)](_0x40134f)[_0x53110b(0x182)](this),_0x333a82[_0x53110b(0x1d6)]={'addCommentThread':async({channelId:_0x559980,threadId:_0xabdae6,comments:_0x4d9f84,resolvedAt:_0x58ab69,resolvedBy:_0x497b8a,context:_0x5228c7,attributes:_0x2267f4})=>{const _0x38f21f=_0x53110b,_0x429ac2=await this[_0x38f21f(0x1e0)](_0x559980)[_0x38f21f(0x1a0)]({'commentThreadId':_0xabdae6,'comments':_0x4d9f84[_0x38f21f(0x1a1)](_0x58bcc8=>function(_0x4b1e15,_0x225bd6,_0x531174){const _0x1f8090=_0x38f21f;return{'commentThreadId':_0x531174,'commentId':_0x4b1e15[_0x1f8090(0x1da)],'userId':_0x4b1e15[_0x1f8090(0x18b)],'content':_0x4b1e15[_0x1f8090(0x18c)],'documentId':_0x225bd6,'createdAt':_0x4b1e15[_0x1f8090(0x19f)],'attributes':_0x4b1e15[_0x1f8090(0x1dc)]||{}};}(_0x58bcc8,_0x559980,_0xabdae6)),'resolvedAt':_0x58ab69,'resolvedBy':_0x497b8a,'context':_0x5228c7,'attributes':_0x2267f4})[_0x38f21f(0x1e1)](A);return{'threadId':_0x429ac2[_0x38f21f(0x1b0)],'comments':_0x429ac2[_0x38f21f(0x1bb)]};},'getCommentThread':async({channelId:_0x5931ae,threadId:_0x9847f4})=>{const _0x195427=_0x53110b,_0x5aaa98=await this[_0x195427(0x1e0)](_0x5931ae)[_0x195427(0x1c3)](_0x9847f4)[_0x195427(0x1e1)](f)[_0x195427(0x1e1)](A);return _0x5aaa98?_0x5aaa98[_0x195427(0x1dd)]?null:(await this[_0x195427(0x1a5)]([_0x5aaa98]),{'threadId':_0x5aaa98[_0x195427(0x1b0)],'comments':_0x5aaa98[_0x195427(0x1bb)][_0x195427(0x1a1)](p),'context':_0x5aaa98[_0x195427(0x19b)],'resolvedAt':_0x5aaa98[_0x195427(0x1e2)],'resolvedBy':_0x5aaa98[_0x195427(0x1b3)],'attributes':_0x5aaa98[_0x195427(0x1dc)]||{}}):null;},'updateCommentThread':async({channelId:_0xa8c3e1,threadId:_0x401125,context:_0x5343de,unlinkedAt:_0xf0db88,attributes:_0x5b2f42})=>this[_0x53110b(0x1e0)](_0xa8c3e1)[_0x53110b(0x1c7)]({'commentThreadId':_0x401125,'context':_0x5343de,'attributes':_0x5b2f42,'unlinkedAt':_0xf0db88})[_0x53110b(0x1e1)](f)[_0x53110b(0x1e1)](A),'resolveCommentThread':async({channelId:_0x18ce2e,threadId:_0x322797})=>{const _0x4a3003=_0x53110b,_0x53df87=await this[_0x4a3003(0x1e0)](_0x18ce2e)[_0x4a3003(0x18e)](_0x322797)[_0x4a3003(0x1e1)](f)[_0x4a3003(0x1e1)](A);return{'threadId':_0x53df87[_0x4a3003(0x1b0)],'resolvedAt':_0x53df87[_0x4a3003(0x1e2)],'resolvedBy':_0x53df87[_0x4a3003(0x1b3)]};},'reopenCommentThread':async({channelId:_0x234fa4,threadId:_0x3e79ac})=>this[_0x53110b(0x1e0)](_0x234fa4)[_0x53110b(0x1d8)](_0x3e79ac)[_0x53110b(0x1e1)](f)[_0x53110b(0x1e1)](A),'removeCommentThread':({channelId:_0x3206c8,threadId:_0x1c2322})=>this[_0x53110b(0x1e0)](_0x3206c8)[_0x53110b(0x1af)](_0x1c2322)[_0x53110b(0x1e1)](f)[_0x53110b(0x1e1)](A),'addComment':({channelId:_0x52ec6b,threadId:_0x484db5,commentId:_0x30130a,content:_0x5332f7,attributes:_0x383e34})=>this[_0x53110b(0x1e0)](_0x52ec6b)[_0x53110b(0x1ae)](_0x484db5,_0x30130a,_0x5332f7,_0x383e34)[_0x53110b(0x1e1)](A),'updateComment':({channelId:_0x597294,threadId:_0x26ef80,commentId:_0x2f4878,content:_0x1785c0,attributes:_0x14cf48})=>this[_0x53110b(0x1e0)](_0x597294)[_0x53110b(0x1be)](_0x26ef80,_0x2f4878,_0x1785c0,_0x14cf48)[_0x53110b(0x1e1)](f)[_0x53110b(0x1e1)](A),'removeComment':({channelId:_0x39aefb,threadId:_0x3bf720,commentId:_0x59ae4a})=>this[_0x53110b(0x1e0)](_0x39aefb)[_0x53110b(0x1bf)](_0x3bf720,_0x59ae4a)[_0x53110b(0x1e1)](f)[_0x53110b(0x1e1)](A)},_0x20f87d instanceof _0x54ec97){const _0x3dbcdc=_0x20f87d[_0x53110b(0x1db)][_0x53110b(0x17d)](_0x53110b(0x1c1)),_0x3cb7e5=_0x20f87d[_0x53110b(0x197)][_0x53110b(0x17d)](_0xad6dc5);await this[_0x53110b(0x1c6)](_0x3dbcdc);const _0x326c73=await this[_0x53110b(0x185)][_0x53110b(0x17d)](_0x3dbcdc)[_0x53110b(0x1d2)]();this[_0x53110b(0x192)](_0x3cb7e5,_0x53110b(0x1b8)+_0x3dbcdc,(_0x528d3f,{session:_0x129880})=>{const _0x2e54c6=_0x53110b;_0x129880['id']===_0x3cb7e5[_0x2e54c6(0x1a8)]&&(_0x528d3f[_0x2e54c6(0x1bd)](),this[_0x2e54c6(0x19b)][_0x2e54c6(0x197)][_0x2e54c6(0x17d)](_0x2e54c6(0x19e))[_0x2e54c6(0x184)](_0x129880[_0x2e54c6(0x1bc)],_0x3dbcdc));}),_0x3cb7e5[_0x53110b(0x196)](_0x3dbcdc,_0x326c73);}}async[_0x208f37(0x1c6)](_0x5b9554){const _0x371f9e=_0x208f37;if(this[_0x371f9e(0x185)][_0x371f9e(0x199)](_0x5b9554))throw new _0x37b358(_0x371f9e(0x1b4),null,{'channelId':_0x5b9554});const _0x2c6609=this[_0x371f9e(0x19b)][_0x371f9e(0x197)][_0x371f9e(0x17d)](_0x371f9e(0x188)),_0x1f0d26=new CloudServicesCommentsAdapter[(_0x371f9e(0x1cc))](_0x5b9554);this[_0x371f9e(0x185)][_0x371f9e(0x1a3)](_0x5b9554,_0x1f0d26),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x194),(_0x5c5ae9,_0x3ad99c)=>{const _0xc98622=_0x371f9e,{commentThreadId:_0x33fcf6,documentId:_0x4a6771,context:_0x4ecd9a,attributes:_0x4c53ac,resolvedAt:_0x417f90,resolvedBy:_0x52827a,comments:_0x326173}=_0x3ad99c;_0x2c6609[_0xc98622(0x1c3)](_0x33fcf6)||_0x2c6609[_0xc98622(0x1a0)]({'threadId':_0x33fcf6,'channelId':_0x4a6771,'comments':_0x326173?_0x326173[_0xc98622(0x1a1)](p):[],'context':_0x4ecd9a,'attributes':_0x4c53ac,'resolvedAt':_0x417f90,'resolvedBy':_0x52827a,'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x1a7),(_0x515da8,{commentThreadId:_0x343314,documentId:_0x3b4524,context:_0x26b01a,unlinkedAt:_0x13a23b,attributes:_0x1a8101})=>{const _0x2b164d=_0x371f9e;_0x2c6609[_0x2b164d(0x1c3)](_0x343314)&&_0x2c6609[_0x2b164d(0x1c7)]({'threadId':_0x343314,'channelId':_0x3b4524,'context':_0x26b01a,'unlinkedAt':_0x13a23b,'attributes':_0x1a8101,'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x1cb),(_0x40c147,{commentThreadId:_0x398bca,resolvedBy:_0x3d6bbd,resolvedAt:_0x50263a})=>{const _0x412b73=_0x371f9e,_0x51c919=_0x2c6609[_0x412b73(0x1c3)](_0x398bca);_0x51c919&&_0x51c919[_0x412b73(0x1b6)]({'resolvedBy':_0x3d6bbd,'resolvedAt':_0x50263a,'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x1de),(_0x5ade4b,{commentThreadId:_0xba8079})=>{const _0x5f373a=_0x371f9e,_0x4fe6d0=_0x2c6609[_0x5f373a(0x1c3)](_0xba8079);_0x4fe6d0&&_0x4fe6d0[_0x5f373a(0x1d0)]({'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x1aa),(_0x56f50e,{commentThreadId:_0x5556c0})=>{const _0x4265b4=_0x371f9e,_0x5ddcb4=_0x2c6609[_0x4265b4(0x1c3)](_0x5556c0);_0x5ddcb4&&_0x5ddcb4[_0x4265b4(0x1ba)]({'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x181),(_0x5ceba0,_0x1ff92c)=>{const _0x106a11=_0x371f9e,_0x416ebb=_0x1ff92c[_0x106a11(0x1b0)],_0x2d8fde=_0x2c6609[_0x106a11(0x1c3)](_0x416ebb);_0x2d8fde&&_0x2d8fde[_0x106a11(0x1ae)]({...p(_0x1ff92c),'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x17f),(_0x2f87fb,{commentThreadId:_0x50922b,commentId:_0x49de04,content:_0x1d2beb,attributes:_0x23b7fa})=>{const _0x442cfd=_0x371f9e,_0x3e3163=_0x2c6609[_0x442cfd(0x1c3)](_0x50922b);if(_0x3e3163){const _0x5bf2e4=_0x3e3163[_0x442cfd(0x1a9)](_0x49de04);_0x5bf2e4&&_0x5bf2e4[_0x442cfd(0x1d1)]({'content':_0x1d2beb,'attributes':_0x23b7fa,'isFromAdapter':!0x0});}}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x1c2),(_0x176450,{commentThreadId:_0x2fa468,commentId:_0x4a8e19})=>{const _0x10ecaa=_0x371f9e,_0x42c21e=_0x2c6609[_0x10ecaa(0x1c3)](_0x2fa468);if(_0x42c21e){const _0x2871e5=_0x42c21e[_0x10ecaa(0x1a9)](_0x4a8e19);_0x2871e5&&_0x2871e5[_0x10ecaa(0x1ba)]({'isFromAdapter':!0x0});}}),await this[_0x371f9e(0x19a)](_0x5b9554);}[_0x208f37(0x1d4)](){const _0x32e0a0=_0x208f37;if(this[_0x32e0a0(0x19b)]instanceof _0x54ec97){const _0x53cb23=this[_0x32e0a0(0x19b)][_0x32e0a0(0x1db)][_0x32e0a0(0x17d)](_0x32e0a0(0x1c1));this[_0x32e0a0(0x1a2)](_0x53cb23);}}[_0x208f37(0x1a2)](_0x4e4921){const _0x44f386=_0x208f37;if(!this[_0x44f386(0x185)][_0x44f386(0x199)](_0x4e4921))throw new _0x37b358(_0x44f386(0x1b2),null,{'channelId':_0x4e4921});this[_0x44f386(0x1e0)](_0x4e4921)[_0x44f386(0x186)](),this[_0x44f386(0x185)][_0x44f386(0x1b7)](_0x4e4921);}async[_0x208f37(0x195)](){const _0x29c03d=_0x208f37;for(const _0x2e0ed9 of this[_0x29c03d(0x185)][_0x29c03d(0x19d)]())await this[_0x29c03d(0x19a)](_0x2e0ed9);if(this[_0x29c03d(0x19b)]instanceof _0x54ec97){const _0x37ef88=this[_0x29c03d(0x19b)][_0x29c03d(0x1db)][_0x29c03d(0x17d)](_0x29c03d(0x1c1)),_0x2917ed=this[_0x29c03d(0x19b)][_0x29c03d(0x197)][_0x29c03d(0x17d)](_0xad6dc5);_0x2917ed[_0x29c03d(0x1c4)](_0x37ef88);const _0x3ad8d6=await this[_0x29c03d(0x185)][_0x29c03d(0x17d)](_0x37ef88)[_0x29c03d(0x1d2)]();_0x2917ed[_0x29c03d(0x196)](_0x37ef88,_0x3ad8d6);}}async[_0x208f37(0x19a)](_0x1372fa){const _0x545ddc=_0x208f37,{connection:_0x1f19d1}=this[_0x545ddc(0x19b)][_0x545ddc(0x197)][_0x545ddc(0x17d)](_0x40134f),_0xae38ce=this[_0x545ddc(0x19b)][_0x545ddc(0x197)][_0x545ddc(0x17d)](_0x545ddc(0x188)),_0x6d488e=this[_0x545ddc(0x185)][_0x545ddc(0x17d)](_0x1372fa),_0x2d9585=await _0x6d488e[_0x545ddc(0x1a6)](_0x1f19d1);await this[_0x545ddc(0x1a5)](_0x2d9585);const _0x43a015=new Set(Array[_0x545ddc(0x17e)](_0xae38ce[_0x545ddc(0x189)]({'channelId':_0x1372fa}),_0x494fb6=>_0x494fb6['id']));for(const _0x535ce1 of _0x2d9585)_0x535ce1[_0x545ddc(0x1dd)]||_0x43a015[_0x545ddc(0x1b7)](_0x535ce1[_0x545ddc(0x1b0)]);for(const _0x43fa5a of _0x43a015)_0xae38ce[_0x545ddc(0x1c3)](_0x43fa5a)[_0x545ddc(0x1ba)]({'isFromAdapter':!0x0});for(const _0x3a13ae of _0x2d9585){let _0x27a427=_0xae38ce[_0x545ddc(0x1c3)](_0x3a13ae[_0x545ddc(0x1b0)]);const {commentThreadId:_0x4a5457,context:_0x2c1fc5,attributes:_0x35f85a,resolvedBy:_0x5dddae,resolvedAt:_0x381ecb,unlinkedAt:_0x53fbbf,deletedAt:_0x526a2b}=_0x3a13ae;if(_0x526a2b)continue;_0x27a427||(_0x27a427=_0xae38ce[_0x545ddc(0x1a0)]({'channelId':_0x1372fa,'threadId':_0x4a5457,'context':_0x2c1fc5,'attributes':_0x35f85a||{},'resolvedBy':_0x5dddae,'resolvedAt':_0x381ecb,'unlinkedAt':_0x53fbbf,'isFromAdapter':!0x0}));const _0x4a4595=new Set(Array[_0x545ddc(0x17e)](_0x27a427[_0x545ddc(0x1bb)],_0x55f6c4=>_0x55f6c4['id']));for(const _0x10bce2 of _0x3a13ae[_0x545ddc(0x1bb)])_0x4a4595[_0x545ddc(0x1b7)](_0x10bce2[_0x545ddc(0x1da)]);for(const _0x5149d9 of _0x4a4595)_0x27a427[_0x545ddc(0x1a9)](_0x5149d9)[_0x545ddc(0x1ba)]({'isFromAdapter':!0x0});for(const _0x15098d of _0x3a13ae[_0x545ddc(0x1bb)]){const _0x2ba851=_0x27a427[_0x545ddc(0x1a9)](_0x15098d[_0x545ddc(0x1da)]);_0x2ba851?_0x2ba851[_0x545ddc(0x18c)]!==_0x15098d[_0x545ddc(0x18c)]&&_0x2ba851[_0x545ddc(0x1d1)]({'content':_0x15098d[_0x545ddc(0x18c)],'isFromAdapter':!0x0}):_0x27a427[_0x545ddc(0x1ae)](Object[_0x545ddc(0x1c5)](p(_0x15098d),{'isFromAdapter':!0x0}));}}}[_0x208f37(0x1e0)](_0x5e2912){const _0x3a6421=_0x208f37;if(!this[_0x3a6421(0x185)][_0x3a6421(0x199)](_0x5e2912))throw new _0x37b358(_0x3a6421(0x190),null,{'channelId':_0x5e2912});return this[_0x3a6421(0x185)][_0x3a6421(0x17d)](_0x5e2912);}async[_0x208f37(0x1a5)](_0x23c413){const _0x448868=_0x208f37,_0x2ab76a=this[_0x448868(0x19b)][_0x448868(0x197)][_0x448868(0x17d)](_0x449865),{connection:_0x55aa57}=this[_0x448868(0x19b)][_0x448868(0x197)][_0x448868(0x17d)](_0x40134f),_0x2fd259=new Set();for(const {resolvedBy:_0x252724,comments:_0x2116e0}of _0x23c413){_0x252724&&!_0x2ab76a[_0x448868(0x1d3)](_0x252724)&&_0x2fd259[_0x448868(0x1c0)](_0x252724);for(const {userId:_0x3543ff}of _0x2116e0)_0x2ab76a[_0x448868(0x1d3)](_0x3543ff)||_0x2fd259[_0x448868(0x1c0)](_0x3543ff);}if(0x0===_0x2fd259[_0x448868(0x183)])return;const _0x347590=await _0x5f5760[_0x448868(0x1ca)](_0x55aa57,Array[_0x448868(0x17e)](_0x2fd259));for(const _0x5afb87 of _0x347590)_0x2ab76a[_0x448868(0x1d3)](_0x5afb87['id'])||_0x2ab76a[_0x448868(0x19c)](_0x5afb87);}}async function f(_0x3e3685){const _0x20a94d=_0x208f37;if(_0x20a94d(0x187)!==_0x3e3685[_0x20a94d(0x1b9)])throw _0x3e3685;}function _0x6993(_0xa80dc7,_0x310f49){const _0x5a8cb0=_0x5a8c();return _0x6993=function(_0x6993cf,_0x23232d){_0x6993cf=_0x6993cf-0x17d;let _0x350b0f=_0x5a8cb0[_0x6993cf];return _0x350b0f;},_0x6993(_0xa80dc7,_0x310f49);}function A(_0x5dc2b2){const _0x20eeb8=_0x208f37;if((_0x397f50=_0x5dc2b2)[_0x20eeb8(0x180)][_0x20eeb8(0x1d7)](_0x20eeb8(0x1ac))||_0x397f50[_0x20eeb8(0x180)][_0x20eeb8(0x1d7)](_0x20eeb8(0x1a4))||_0x397f50[_0x20eeb8(0x180)][_0x20eeb8(0x1d7)](_0x20eeb8(0x1b5)))return new Promise(()=>{});var _0x397f50;throw _0x5dc2b2;}function p(_0x53a338){const _0x2e3eef=_0x208f37;return{'threadId':_0x53a338[_0x2e3eef(0x1b0)],'commentId':_0x53a338[_0x2e3eef(0x1da)],'content':_0x53a338[_0x2e3eef(0x18c)],'createdAt':_0x53a338[_0x2e3eef(0x19f)],'authorId':_0x53a338[_0x2e3eef(0x1ab)],'attributes':_0x53a338[_0x2e3eef(0x1dc)]||{}};}
|
|
23
|
+
const _0x13e87f=_0x35a4;(function(_0x1b1ce0,_0x1ddb8f){const _0x501f70=_0x35a4,_0x280dd4=_0x1b1ce0();while(!![]){try{const _0x56ed91=parseInt(_0x501f70(0x1ec))/0x1+-parseInt(_0x501f70(0x1bc))/0x2*(-parseInt(_0x501f70(0x1bf))/0x3)+-parseInt(_0x501f70(0x1ae))/0x4*(parseInt(_0x501f70(0x207))/0x5)+parseInt(_0x501f70(0x1f6))/0x6+-parseInt(_0x501f70(0x1ef))/0x7+-parseInt(_0x501f70(0x1c5))/0x8+parseInt(_0x501f70(0x205))/0x9;if(_0x56ed91===_0x1ddb8f)break;else _0x280dd4['push'](_0x280dd4['shift']());}catch(_0x3cc058){_0x280dd4['push'](_0x280dd4['shift']());}}}(_0xbd53,0x480d2));import{Context as _0x28e16f,ContextPlugin as _0xe074ce}from'ckeditor5/src/core.js';function _0xbd53(){const _0xc50b6a=['3685320HAtDpK','commentThreadResolved','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','size','collaboration.channelId','addComment','_getService','startsWith','getUser','getComment','_setUpService','resolveCommentThread','CloudServicesCommentsAdapter','content','cloudservicescommentsadapter-disconnect-not-exist','_terminateService','attributes','addToReconnectionStack','getCommentThread','404','pluginName','register','createdAt','commentThreadReopened','isPremiumPlugin','userId','addCommentThread','mySessionId','cloudservicescommentsadapter-connect-already-connected','getMany','get','init','assign','_connectService','isOfficialPlugin','reopen','keys','listenTo','_fetchMissingUsersForThreads','210922DiMoij','_services','adapter','3159191wndTrA','resolvedBy','config','reopenCommentThread','context','cloud-services-internal-error:\x20Request\x20timeout.','from','2420808uCYrJE','Permissions','commentId','requires','message','getCommentThreads','off','cloudservicescommentsadapter-service-not-exist','commentUpdated','commentThreadRemoved','sessionAdd:','comments','CommentsService','update','add','6306444axrMzb','disconnect','24955SLasya','CommentsRepository','updateCommentThread','destroy','code','commentRemoved','setPermissions','delete','remove','resolvedAt','updateComment','commentThreadUpdated','452FgPbgJ','set','connect','reconnect','has','deletedAt','commentThreadId','removeCommentThread','getConnectedSessions','removeComment','commentAdded','authorId','unregister','map','2ldPimL','catch','resolve','1367931NrMjxP','commentThreadAdded','plugins','permissions','addUser','cloud-services-internal-error:\x20Not\x20connected.'];_0xbd53=function(){return _0xc50b6a;};return _0xbd53();}import{CKEditorError as _0x52e6d1}from'ckeditor5/src/utils.js';import{Users as _0x2eaf9b}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x156a5b,User as _0x3559ab}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1eab12}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x10f6c9}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0xe074ce{static [_0x13e87f(0x202)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x156a5b)());[_0x13e87f(0x1ed)];static get[_0x13e87f(0x1f9)](){const _0x3e2006=_0x13e87f;return[_0x1eab12,_0x3e2006(0x208),_0x10f6c9,_0x2eaf9b];}static get[_0x13e87f(0x1d9)](){const _0x520dbc=_0x13e87f;return _0x520dbc(0x1d1);}static get[_0x13e87f(0x1e7)](){return!0x0;}static get[_0x13e87f(0x1dd)](){return!0x0;}constructor(_0x22ad45){const _0x515a7e=_0x13e87f;super(_0x22ad45),this[_0x515a7e(0x1ed)]=new Map();}async[_0x13e87f(0x1e4)](){const _0x50070b=_0x13e87f,_0x886534=this[_0x50070b(0x1f3)],_0x2934ae=_0x886534[_0x50070b(0x1c1)][_0x50070b(0x1e3)](_0x50070b(0x208));if(_0x886534[_0x50070b(0x1c1)][_0x50070b(0x1e3)](_0x1eab12)[_0x50070b(0x1d6)](this),_0x2934ae[_0x50070b(0x1ee)]={'addCommentThread':async({channelId:_0x20687e,threadId:_0x1dcb50,comments:_0x347582,resolvedAt:_0x221ea4,resolvedBy:_0x1b5194,context:_0x15cf79,attributes:_0x32e751})=>{const _0x45313a=_0x50070b,_0x269f6b=await this[_0x45313a(0x1cb)](_0x20687e)[_0x45313a(0x1df)]({'commentThreadId':_0x1dcb50,'comments':_0x347582[_0x45313a(0x1bb)](_0x5ece07=>function(_0x2b1f81,_0x1d8d17,_0x40040c){const _0x15964b=_0x45313a;return{'commentThreadId':_0x40040c,'commentId':_0x2b1f81[_0x15964b(0x1f8)],'userId':_0x2b1f81[_0x15964b(0x1b9)],'content':_0x2b1f81[_0x15964b(0x1d2)],'documentId':_0x1d8d17,'createdAt':_0x2b1f81[_0x15964b(0x1db)],'attributes':_0x2b1f81[_0x15964b(0x1d5)]||{}};}(_0x5ece07,_0x20687e,_0x1dcb50)),'resolvedAt':_0x221ea4,'resolvedBy':_0x1b5194,'context':_0x15cf79,'attributes':_0x32e751})[_0x45313a(0x1bd)](k);return{'threadId':_0x269f6b[_0x45313a(0x1b4)],'comments':_0x269f6b[_0x45313a(0x201)]};},'getCommentThread':async({channelId:_0x2c556d,threadId:_0x118e74})=>{const _0x14306f=_0x50070b,_0x12f9a9=await this[_0x14306f(0x1cb)](_0x2c556d)[_0x14306f(0x1d7)](_0x118e74)[_0x14306f(0x1bd)](F)[_0x14306f(0x1bd)](k);return _0x12f9a9?_0x12f9a9[_0x14306f(0x1b3)]?null:(await this[_0x14306f(0x1eb)]([_0x12f9a9]),{'threadId':_0x12f9a9[_0x14306f(0x1b4)],'comments':_0x12f9a9[_0x14306f(0x201)][_0x14306f(0x1bb)](S),'context':_0x12f9a9[_0x14306f(0x1f3)],'resolvedAt':_0x12f9a9[_0x14306f(0x1ab)],'resolvedBy':_0x12f9a9[_0x14306f(0x1f0)],'attributes':_0x12f9a9[_0x14306f(0x1d5)]||{}}):null;},'updateCommentThread':async({channelId:_0x3ee579,threadId:_0x546b59,context:_0x4f32fe,unlinkedAt:_0x3fc4f7,attributes:_0x372c91})=>this[_0x50070b(0x1cb)](_0x3ee579)[_0x50070b(0x209)]({'commentThreadId':_0x546b59,'context':_0x4f32fe,'attributes':_0x372c91,'unlinkedAt':_0x3fc4f7})[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k),'resolveCommentThread':async({channelId:_0x23c5fb,threadId:_0x55490f})=>{const _0x37dd7d=_0x50070b,_0x50291d=await this[_0x37dd7d(0x1cb)](_0x23c5fb)[_0x37dd7d(0x1d0)](_0x55490f)[_0x37dd7d(0x1bd)](F)[_0x37dd7d(0x1bd)](k);return{'threadId':_0x50291d[_0x37dd7d(0x1b4)],'resolvedAt':_0x50291d[_0x37dd7d(0x1ab)],'resolvedBy':_0x50291d[_0x37dd7d(0x1f0)]};},'reopenCommentThread':async({channelId:_0x47650d,threadId:_0x4428e4})=>this[_0x50070b(0x1cb)](_0x47650d)[_0x50070b(0x1f2)](_0x4428e4)[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k),'removeCommentThread':({channelId:_0x3d27e,threadId:_0x255a18})=>this[_0x50070b(0x1cb)](_0x3d27e)[_0x50070b(0x1b5)](_0x255a18)[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k),'addComment':({channelId:_0x1001a1,threadId:_0x3a22f2,commentId:_0x284c24,content:_0x86ff0a,attributes:_0x44ef0d})=>this[_0x50070b(0x1cb)](_0x1001a1)[_0x50070b(0x1ca)](_0x3a22f2,_0x284c24,_0x86ff0a,_0x44ef0d)[_0x50070b(0x1bd)](k),'updateComment':({channelId:_0x636dcc,threadId:_0x520f4b,commentId:_0x1945fd,content:_0x4d5cde,attributes:_0x1c12e7})=>this[_0x50070b(0x1cb)](_0x636dcc)[_0x50070b(0x1ac)](_0x520f4b,_0x1945fd,_0x4d5cde,_0x1c12e7)[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k),'removeComment':({channelId:_0x72139a,threadId:_0x52bfd1,commentId:_0x39c773})=>this[_0x50070b(0x1cb)](_0x72139a)[_0x50070b(0x1b7)](_0x52bfd1,_0x39c773)[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k)},_0x886534 instanceof _0x28e16f){const _0x17c3a3=_0x886534[_0x50070b(0x1f1)][_0x50070b(0x1e3)](_0x50070b(0x1c9)),_0x3e753d=_0x886534[_0x50070b(0x1c1)][_0x50070b(0x1e3)](_0x10f6c9);await this[_0x50070b(0x1cf)](_0x17c3a3);const _0x486295=await this[_0x50070b(0x1ed)][_0x50070b(0x1e3)](_0x17c3a3)[_0x50070b(0x1b6)]();this[_0x50070b(0x1ea)](_0x3e753d,_0x50070b(0x200)+_0x17c3a3,(_0xa2921,{session:_0x5dc320})=>{const _0x61bf8c=_0x50070b;_0x5dc320['id']===_0x3e753d[_0x61bf8c(0x1e0)]&&(_0xa2921[_0x61bf8c(0x1fc)](),this[_0x61bf8c(0x1f3)][_0x61bf8c(0x1c1)][_0x61bf8c(0x1e3)](_0x61bf8c(0x1f7))[_0x61bf8c(0x1a8)](_0x5dc320[_0x61bf8c(0x1c2)],_0x17c3a3));}),_0x3e753d[_0x50070b(0x1da)](_0x17c3a3,_0x486295);}}async[_0x13e87f(0x1cf)](_0x1605ba){const _0x26647a=_0x13e87f;if(this[_0x26647a(0x1ed)][_0x26647a(0x1b2)](_0x1605ba))throw new _0x52e6d1(_0x26647a(0x1e1),null,{'channelId':_0x1605ba});const _0x509a51=this[_0x26647a(0x1f3)][_0x26647a(0x1c1)][_0x26647a(0x1e3)](_0x26647a(0x208)),_0x1b5775=new CloudServicesCommentsAdapter[(_0x26647a(0x202))](_0x1605ba);this[_0x26647a(0x1ed)][_0x26647a(0x1af)](_0x1605ba,_0x1b5775),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1c0),(_0x1e31aa,_0x53cee6)=>{const _0x32822c=_0x26647a,{commentThreadId:_0x5b3388,documentId:_0x220d65,context:_0xedf066,attributes:_0x3e018b,resolvedAt:_0x5360a6,resolvedBy:_0x33903e,comments:_0x1fbe8c}=_0x53cee6;_0x509a51[_0x32822c(0x1d7)](_0x5b3388)||_0x509a51[_0x32822c(0x1df)]({'threadId':_0x5b3388,'channelId':_0x220d65,'comments':_0x1fbe8c?_0x1fbe8c[_0x32822c(0x1bb)](S):[],'context':_0xedf066,'attributes':_0x3e018b,'resolvedAt':_0x5360a6,'resolvedBy':_0x33903e,'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1ad),(_0x595dd6,{commentThreadId:_0x21d18,documentId:_0x3edcf1,context:_0x383ec4,unlinkedAt:_0x14ba36,attributes:_0x2b8808})=>{const _0x14eb94=_0x26647a;_0x509a51[_0x14eb94(0x1d7)](_0x21d18)&&_0x509a51[_0x14eb94(0x209)]({'threadId':_0x21d18,'channelId':_0x3edcf1,'context':_0x383ec4,'unlinkedAt':_0x14ba36,'attributes':_0x2b8808,'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1c6),(_0x444b9c,{commentThreadId:_0x2bdfca,resolvedBy:_0x56a192,resolvedAt:_0x57d0e5})=>{const _0x39ec42=_0x26647a,_0x5de70c=_0x509a51[_0x39ec42(0x1d7)](_0x2bdfca);_0x5de70c&&_0x5de70c[_0x39ec42(0x1be)]({'resolvedBy':_0x56a192,'resolvedAt':_0x57d0e5,'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1dc),(_0x2d403c,{commentThreadId:_0x4aeabb})=>{const _0x563d51=_0x26647a,_0x114cfa=_0x509a51[_0x563d51(0x1d7)](_0x4aeabb);_0x114cfa&&_0x114cfa[_0x563d51(0x1e8)]({'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1ff),(_0x30887c,{commentThreadId:_0x58dd9c})=>{const _0x177b90=_0x26647a,_0x1bc10=_0x509a51[_0x177b90(0x1d7)](_0x58dd9c);_0x1bc10&&_0x1bc10[_0x177b90(0x1aa)]({'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1b8),(_0x34a77d,_0xdebd52)=>{const _0x37ab08=_0x26647a,_0x1d9f5f=_0xdebd52[_0x37ab08(0x1b4)],_0x555991=_0x509a51[_0x37ab08(0x1d7)](_0x1d9f5f);_0x555991&&_0x555991[_0x37ab08(0x1ca)]({...S(_0xdebd52),'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1fe),(_0x2e6309,{commentThreadId:_0x469f7a,commentId:_0x40357a,content:_0x1457fe,attributes:_0x1e236})=>{const _0x48ac7f=_0x26647a,_0x1a4019=_0x509a51[_0x48ac7f(0x1d7)](_0x469f7a);if(_0x1a4019){const _0x1afc8d=_0x1a4019[_0x48ac7f(0x1ce)](_0x40357a);_0x1afc8d&&_0x1afc8d[_0x48ac7f(0x203)]({'content':_0x1457fe,'attributes':_0x1e236,'isFromAdapter':!0x0});}}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x20c),(_0x34824c,{commentThreadId:_0x433fe0,commentId:_0x5b68c7})=>{const _0x53fb42=_0x26647a,_0x121a8e=_0x509a51[_0x53fb42(0x1d7)](_0x433fe0);if(_0x121a8e){const _0x317fae=_0x121a8e[_0x53fb42(0x1ce)](_0x5b68c7);_0x317fae&&_0x317fae[_0x53fb42(0x1aa)]({'isFromAdapter':!0x0});}}),await this[_0x26647a(0x1e6)](_0x1605ba);}[_0x13e87f(0x20a)](){const _0x18afbf=_0x13e87f;if(this[_0x18afbf(0x1f3)]instanceof _0x28e16f){const _0x50fee0=this[_0x18afbf(0x1f3)][_0x18afbf(0x1f1)][_0x18afbf(0x1e3)](_0x18afbf(0x1c9));this[_0x18afbf(0x1d4)](_0x50fee0);}}[_0x13e87f(0x1d4)](_0x25482c){const _0x56c270=_0x13e87f;if(!this[_0x56c270(0x1ed)][_0x56c270(0x1b2)](_0x25482c))throw new _0x52e6d1(_0x56c270(0x1d3),null,{'channelId':_0x25482c});this[_0x56c270(0x1cb)](_0x25482c)[_0x56c270(0x206)](),this[_0x56c270(0x1ed)][_0x56c270(0x1a9)](_0x25482c);}async[_0x13e87f(0x1b1)](){const _0xa60954=_0x13e87f;for(const _0x205e88 of this[_0xa60954(0x1ed)][_0xa60954(0x1e9)]())await this[_0xa60954(0x1e6)](_0x205e88);if(this[_0xa60954(0x1f3)]instanceof _0x28e16f){const _0x37f37d=this[_0xa60954(0x1f3)][_0xa60954(0x1f1)][_0xa60954(0x1e3)](_0xa60954(0x1c9)),_0x5a3b42=this[_0xa60954(0x1f3)][_0xa60954(0x1c1)][_0xa60954(0x1e3)](_0x10f6c9);_0x5a3b42[_0xa60954(0x1ba)](_0x37f37d);const _0x191dcd=await this[_0xa60954(0x1ed)][_0xa60954(0x1e3)](_0x37f37d)[_0xa60954(0x1b6)]();_0x5a3b42[_0xa60954(0x1da)](_0x37f37d,_0x191dcd);}}async[_0x13e87f(0x1e6)](_0x32e3cb){const _0x2d74f4=_0x13e87f,{connection:_0x176cef}=this[_0x2d74f4(0x1f3)][_0x2d74f4(0x1c1)][_0x2d74f4(0x1e3)](_0x1eab12),_0xbf3ec=this[_0x2d74f4(0x1f3)][_0x2d74f4(0x1c1)][_0x2d74f4(0x1e3)](_0x2d74f4(0x208)),_0x8326b2=this[_0x2d74f4(0x1ed)][_0x2d74f4(0x1e3)](_0x32e3cb),_0x40ad29=await _0x8326b2[_0x2d74f4(0x1b0)](_0x176cef);await this[_0x2d74f4(0x1eb)](_0x40ad29);const _0x4551b0=new Set(Array[_0x2d74f4(0x1f5)](_0xbf3ec[_0x2d74f4(0x1fb)]({'channelId':_0x32e3cb}),_0x1dec3a=>_0x1dec3a['id']));for(const _0x37371a of _0x40ad29)_0x37371a[_0x2d74f4(0x1b3)]||_0x4551b0[_0x2d74f4(0x1a9)](_0x37371a[_0x2d74f4(0x1b4)]);for(const _0x39f364 of _0x4551b0)_0xbf3ec[_0x2d74f4(0x1d7)](_0x39f364)[_0x2d74f4(0x1aa)]({'isFromAdapter':!0x0});for(const _0x76c051 of _0x40ad29){let _0x55e195=_0xbf3ec[_0x2d74f4(0x1d7)](_0x76c051[_0x2d74f4(0x1b4)]);const {commentThreadId:_0x1128be,context:_0x121ae8,attributes:_0x81818b,resolvedBy:_0x1012e8,resolvedAt:_0x3da9d5,unlinkedAt:_0x60fda4,deletedAt:_0xb1b329}=_0x76c051;if(_0xb1b329)continue;_0x55e195||(_0x55e195=_0xbf3ec[_0x2d74f4(0x1df)]({'channelId':_0x32e3cb,'threadId':_0x1128be,'context':_0x121ae8,'attributes':_0x81818b||{},'resolvedBy':_0x1012e8,'resolvedAt':_0x3da9d5,'unlinkedAt':_0x60fda4,'isFromAdapter':!0x0}));const _0xc9a6c0=new Set(Array[_0x2d74f4(0x1f5)](_0x55e195[_0x2d74f4(0x201)],_0xb7a81=>_0xb7a81['id']));for(const _0x5f80bc of _0x76c051[_0x2d74f4(0x201)])_0xc9a6c0[_0x2d74f4(0x1a9)](_0x5f80bc[_0x2d74f4(0x1f8)]);for(const _0x2e2f3b of _0xc9a6c0)_0x55e195[_0x2d74f4(0x1ce)](_0x2e2f3b)[_0x2d74f4(0x1aa)]({'isFromAdapter':!0x0});for(const _0x38a616 of _0x76c051[_0x2d74f4(0x201)]){const _0x368b6e=_0x55e195[_0x2d74f4(0x1ce)](_0x38a616[_0x2d74f4(0x1f8)]);_0x368b6e?_0x368b6e[_0x2d74f4(0x1d2)]!==_0x38a616[_0x2d74f4(0x1d2)]&&_0x368b6e[_0x2d74f4(0x203)]({'content':_0x38a616[_0x2d74f4(0x1d2)],'isFromAdapter':!0x0}):_0x55e195[_0x2d74f4(0x1ca)](Object[_0x2d74f4(0x1e5)](S(_0x38a616),{'isFromAdapter':!0x0}));}}}[_0x13e87f(0x1cb)](_0x7ac9cb){const _0x3c9c57=_0x13e87f;if(!this[_0x3c9c57(0x1ed)][_0x3c9c57(0x1b2)](_0x7ac9cb))throw new _0x52e6d1(_0x3c9c57(0x1fd),null,{'channelId':_0x7ac9cb});return this[_0x3c9c57(0x1ed)][_0x3c9c57(0x1e3)](_0x7ac9cb);}async[_0x13e87f(0x1eb)](_0x34f9c4){const _0x2fdb02=_0x13e87f,_0x2bf7c8=this[_0x2fdb02(0x1f3)][_0x2fdb02(0x1c1)][_0x2fdb02(0x1e3)](_0x2eaf9b),{connection:_0x4e818e}=this[_0x2fdb02(0x1f3)][_0x2fdb02(0x1c1)][_0x2fdb02(0x1e3)](_0x1eab12),_0x5ab3d3=new Set();for(const {resolvedBy:_0x214c1c,comments:_0x20cfcb}of _0x34f9c4){_0x214c1c&&!_0x2bf7c8[_0x2fdb02(0x1cd)](_0x214c1c)&&_0x5ab3d3[_0x2fdb02(0x204)](_0x214c1c);for(const {userId:_0x413160}of _0x20cfcb)_0x2bf7c8[_0x2fdb02(0x1cd)](_0x413160)||_0x5ab3d3[_0x2fdb02(0x204)](_0x413160);}if(0x0===_0x5ab3d3[_0x2fdb02(0x1c8)])return;const _0x307644=await _0x3559ab[_0x2fdb02(0x1e2)](_0x4e818e,Array[_0x2fdb02(0x1f5)](_0x5ab3d3));for(const _0x3fc6cc of _0x307644)_0x2bf7c8[_0x2fdb02(0x1cd)](_0x3fc6cc['id'])||_0x2bf7c8[_0x2fdb02(0x1c3)](_0x3fc6cc);}}async function F(_0x809cb5){const _0x525a03=_0x13e87f;if(_0x525a03(0x1d8)!==_0x809cb5[_0x525a03(0x20b)])throw _0x809cb5;}function k(_0x4d198e){const _0x280b5c=_0x13e87f;if((_0x3ec407=_0x4d198e)[_0x280b5c(0x1fa)][_0x280b5c(0x1cc)](_0x280b5c(0x1c7))||_0x3ec407[_0x280b5c(0x1fa)][_0x280b5c(0x1cc)](_0x280b5c(0x1c4))||_0x3ec407[_0x280b5c(0x1fa)][_0x280b5c(0x1cc)](_0x280b5c(0x1f4)))return new Promise(()=>{});var _0x3ec407;throw _0x4d198e;}function _0x35a4(_0x1102fd,_0x2f56b4){const _0xbd537f=_0xbd53();return _0x35a4=function(_0x35a458,_0x12cb6a){_0x35a458=_0x35a458-0x1a8;let _0xf5dffd=_0xbd537f[_0x35a458];return _0xf5dffd;},_0x35a4(_0x1102fd,_0x2f56b4);}function S(_0x392ba8){const _0x10882d=_0x13e87f;return{'threadId':_0x392ba8[_0x10882d(0x1b4)],'commentId':_0x392ba8[_0x10882d(0x1f8)],'content':_0x392ba8[_0x10882d(0x1d2)],'createdAt':_0x392ba8[_0x10882d(0x1db)],'authorId':_0x392ba8[_0x10882d(0x1de)],'attributes':_0x392ba8[_0x10882d(0x1d5)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4eb4(){const _0x53c1ce=['isPremiumPlugin','data','3929481ecNerT','_setUpService','244888hjAEwI','switchReadOnly','CommentsRepository','33KQQHzD','collaboration.channelId','CommentsEditing','5piZhNb','connected','isThreadsLoadingPaused','listenTo','_terminateService','Comments','1939653WbzjRj','2113028XgtYaD','2738634MprerY','change:state','destroy','RealTimeCollaborativeComments','14bgaWaT','isOfficialPlugin','46AwApsy','init','plugins','2930lqPEgC','config','get','once','requires','pluginName','ready','editor','12953YXqwvc'];_0x4eb4=function(){return _0x53c1ce;};return _0x4eb4();}const _0x2167b8=_0x4d70;(function(_0x6fba8e,_0x72a764){const _0x112171=_0x4d70,_0x1e3f9e=_0x6fba8e();while(!![]){try{const _0x2b015c=parseInt(_0x112171(0x8e))/0x1*(parseInt(_0x112171(0x83))/0x2)+parseInt(_0x112171(0x7b))/0x3+-parseInt(_0x112171(0x7c))/0x4*(parseInt(_0x112171(0x75))/0x5)+-parseInt(_0x112171(0x7d))/0x6+parseInt(_0x112171(0x81))/0x7*(-parseInt(_0x112171(0x93))/0x8)+parseInt(_0x112171(0x91))/0x9+parseInt(_0x112171(0x86))/0xa*(-parseInt(_0x112171(0x96))/0xb);if(_0x2b015c===_0x72a764)break;else _0x1e3f9e['push'](_0x1e3f9e['shift']());}catch(_0x2ef448){_0x1e3f9e['push'](_0x1e3f9e['shift']());}}}(_0x4eb4,0x519ca));import{Plugin as _0x76ac61}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2514d7}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x4d70(_0x2d793d,_0x30cf2e){const _0x4eb458=_0x4eb4();return _0x4d70=function(_0x4d70ef,_0x50f883){_0x4d70ef=_0x4d70ef-0x75;let _0xad9e9c=_0x4eb458[_0x4d70ef];return _0xad9e9c;},_0x4d70(_0x2d793d,_0x30cf2e);}import{RealTimeCollaborativeEditing as _0x2f7665}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x213c60}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x76ac61{static get[_0x2167b8(0x8a)](){const _0x936bdc=_0x2167b8;return[_0x936bdc(0x7a),_0x2514d7,_0x2f7665,_0x213c60];}static get[_0x2167b8(0x8b)](){const _0x2592be=_0x2167b8;return _0x2592be(0x80);}static get[_0x2167b8(0x82)](){return!0x0;}static get[_0x2167b8(0x8f)](){return!0x0;}[_0x2167b8(0x84)](){const _0x534e74=_0x2167b8,_0x43204d=this[_0x534e74(0x8d)][_0x534e74(0x85)][_0x534e74(0x88)](_0x213c60),_0x4f7195=this[_0x534e74(0x8d)][_0x534e74(0x85)][_0x534e74(0x88)](_0x534e74(0x98)),_0x2b4192=this[_0x534e74(0x8d)][_0x534e74(0x85)][_0x534e74(0x88)](_0x2514d7);return this[_0x534e74(0x8d)][_0x534e74(0x90)][_0x534e74(0x89)](_0x534e74(0x8c),()=>{const _0x657c21=_0x534e74;this[_0x657c21(0x78)](_0x43204d,_0x657c21(0x7e),(_0x2c7d14,_0x3273ea,_0x41e2e6)=>{const _0x320da1=_0x657c21;_0x4f7195[_0x320da1(0x77)]=_0x320da1(0x76)!==_0x41e2e6;});}),this[_0x534e74(0x78)](_0x43204d,_0x534e74(0x7e),(_0x4f6595,_0x338a1e,_0x34dc0f)=>{const _0x34f362=_0x534e74;this[_0x34f362(0x8d)][_0x34f362(0x85)][_0x34f362(0x88)](_0x34f362(0x95))[_0x34f362(0x94)](_0x34f362(0x76)!==_0x34dc0f);}),_0x2b4192[_0x534e74(0x92)](this[_0x534e74(0x8d)][_0x534e74(0x87)][_0x534e74(0x88)](_0x534e74(0x97)));}[_0x2167b8(0x7f)](){const _0x18372a=_0x2167b8;this[_0x18372a(0x8d)][_0x18372a(0x85)][_0x18372a(0x88)](_0x2514d7)[_0x18372a(0x79)](this[_0x18372a(0x8d)][_0x18372a(0x87)][_0x18372a(0x88)](_0x18372a(0x97))),super[_0x18372a(0x7f)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x111f84)());[_0x142698(0x1d2)];[_0x142698(0x196)];[_0x142698(0x158)];[_0x142698(0x1d7)];[_0x142698(0x155)];[_0x142698(0x10f)];[_0x142698(0x109)];[_0x142698(0x1e3)];[_0x142698(0x197)];[_0x142698(0x17e)];[_0x142698(0x1e2)];[_0x142698(0x101)];[_0x142698(0x194)];[_0x142698(0x16c)];[_0x142698(0xf2)];[_0x142698(0x1b0)];[_0x142698(0x167)];[_0x142698(0x129)];static get[_0x142698(0x117)](){return[_0x315641,_0x971859,_0x443f84,_0x2a85d7,_0x3c967d,_0x205688];}static get[_0x142698(0x19f)](){const _0x28b0e1=_0x142698;return _0x28b0e1(0x118);}static get[_0x142698(0x165)](){return!0x0;}static get[_0x142698(0x15c)](){return!0x0;}get[_0x142698(0xfc)](){const _0xcc346b=_0x142698;return this[_0xcc346b(0x1da)]+this[_0xcc346b(0x1d2)];}get[_0x142698(0x1da)](){const _0x44b95c=_0x142698;return this[_0x44b95c(0x158)][_0x44b95c(0x14c)]-this[_0x44b95c(0x1d2)];}get[_0x142698(0x19a)](){const _0x20fb5c=_0x142698,_0x4852fa=this[_0x20fb5c(0x158)][_0x20fb5c(0x14d)]();for(let _0x391890=_0x4852fa[_0x20fb5c(0x1a1)]-0x1;_0x391890>=0x0;_0x391890--){const _0x4d83be=_0x4852fa[_0x391890];if(!this[_0x20fb5c(0x167)][_0x20fb5c(0x1c8)](_0x4d83be))return _0x4d83be[_0x20fb5c(0x157)]+0x1-this[_0x20fb5c(0x1d2)];}return 0x0;}constructor(_0x4a9ed3){const _0x304bb3=_0x142698;if(super(_0x4a9ed3),this[_0x304bb3(0x1d2)]=0x0,this[_0x304bb3(0x196)]=null,this[_0x304bb3(0x158)]=new _0x226237(),this[_0x304bb3(0x110)][_0x304bb3(0xee)][_0x304bb3(0x16b)](_0x304bb3(0x19c),{}),this[_0x304bb3(0x1d7)]=this[_0x304bb3(0x110)][_0x304bb3(0xee)][_0x304bb3(0x1f2)](_0x304bb3(0x147)),!this[_0x304bb3(0x1d7)])throw new _0x8e8064(_0x304bb3(0xfb),this);const _0xb82f7=_0x4a9ed3[_0x304bb3(0xee)][_0x304bb3(0x1f2)](_0x304bb3(0x1f1))||_0x23f934;this[_0x304bb3(0x155)]=new RealTimeCollaborationClient[(_0x304bb3(0x1e4))](_0xb82f7,this[_0x304bb3(0x1d7)]),this[_0x304bb3(0x10f)]=this[_0x304bb3(0x110)][_0x304bb3(0x18d)][_0x304bb3(0x140)],this[_0x304bb3(0x109)]=new _0xd98168(),this[_0x304bb3(0x1e3)]=[],this[_0x304bb3(0x197)]=new WeakSet(),this[_0x304bb3(0x17e)]=new Set(),this[_0x304bb3(0x16f)](_0x304bb3(0x126),!0x1),this[_0x304bb3(0x16f)](_0x304bb3(0x1c2),!0x1),this[_0x304bb3(0x1e2)]=null,this[_0x304bb3(0x101)]=!0x1,this[_0x304bb3(0x194)]=null,this[_0x304bb3(0x16c)]=0x12c,this[_0x304bb3(0xf2)]=this[_0x304bb3(0x16c)],this[_0x304bb3(0x1b0)]=null,this[_0x304bb3(0x167)]=new WeakSet(),this[_0x304bb3(0x129)]=new J(this[_0x304bb3(0x167)]);}[_0x142698(0x1d5)](){const _0x136acc=_0x142698,_0x456358=this[_0x136acc(0x110)],_0x3851b8=_0x456358[_0x136acc(0x1bd)][_0x136acc(0x1f2)](_0x3c967d),_0x46fcc0=_0x456358[_0x136acc(0x1bd)][_0x136acc(0x1f2)](_0x315641);this[_0x136acc(0x149)](_0x3851b8,_0x136acc(0x151),(_0x142208,_0x520d4a)=>{const _0x4b16ca=_0x136acc,_0x1e9910=_0x520d4a[0x0];_0x1e9910[_0x4b16ca(0x1e6)]&&(_0x142208[_0x4b16ca(0x1b5)]=_0x3851b8[_0x4b16ca(0x19b)](_0x1e9910[_0x4b16ca(0x1e6)]),_0x142208[_0x4b16ca(0x121)]()),null===_0x1e9910[_0x4b16ca(0x1e6)]&&(_0x142208[_0x4b16ca(0x1b5)]=null,_0x142208[_0x4b16ca(0x121)]());},{'priority':_0x136acc(0x1a9)}),this[_0x136acc(0x149)](_0x456358[_0x136acc(0x18d)][_0x136acc(0x140)][_0x136acc(0x1ae)],_0x136acc(0x1e7),(_0x4f20c7,_0x3da248)=>{const _0x453dd3=_0x136acc;_0x3da248[_0x453dd3(0x154)]&&this[_0x453dd3(0x178)]();}),this[_0x136acc(0x149)](_0x456358[_0x136acc(0x107)][_0x136acc(0x1c9)],_0x136acc(0x192),()=>{const _0x8c8ca=_0x136acc;this[_0x8c8ca(0x178)]();}),this[_0x136acc(0x1c5)](),_0x456358[_0x136acc(0x18d)]['on'](_0x136acc(0x12f),(_0xcaa89e,_0x72a56)=>{const _0x54b011=_0x136acc,_0x4845b0=_0x72a56[0x0];_0x4845b0[_0x54b011(0x179)]&&(this[_0x54b011(0x16d)](_0x4845b0),this[_0x54b011(0x13c)]()&&this[_0x54b011(0x127)]());}),this[_0x136acc(0x12c)](),this[_0x136acc(0x1ee)](_0x136acc(0x152))['to'](_0x46fcc0,_0x136acc(0x139),this,_0x136acc(0x1c2),(_0x4fd5dc,_0x15fb9d)=>_0x136acc(0x14b)===_0x4fd5dc&&!_0x15fb9d),this['on'](_0x136acc(0x17d),()=>{const _0x44198d=_0x136acc;this[_0x44198d(0x152)]?_0x456358[_0x44198d(0x18e)](_0x44198d(0x1f3)):_0x456358[_0x44198d(0x11e)](_0x44198d(0x1f3));}),this[_0x136acc(0x152)]?_0x456358[_0x136acc(0x18e)](_0x136acc(0x1f3)):_0x456358[_0x136acc(0x11e)](_0x136acc(0x1f3)),this[_0x136acc(0x16f)](_0x136acc(0x198),!0x1);}async[_0x142698(0x12a)](){const _0x38a45a=_0x142698,_0x5ebc27=this[_0x38a45a(0x110)][_0x38a45a(0x1bd)][_0x38a45a(0x1f2)](_0x971859),_0x24a620=this[_0x38a45a(0x110)][_0x38a45a(0x1bd)][_0x38a45a(0x1f2)](_0x315641);try{this[_0x38a45a(0x126)]=!0x0,_0x5ebc27[_0x38a45a(0xf0)](this[_0x38a45a(0x1d7)]);const _0x2ce6d2=await this[_0x38a45a(0x155)][_0x38a45a(0x12a)](_0x24a620[_0x38a45a(0x143)],this[_0x38a45a(0x19a)]);await this[_0x38a45a(0x14f)](_0x2ce6d2)&&(this[_0x38a45a(0x126)]=!0x1,this[_0x38a45a(0x1ac)]());const _0x56f8c2=await this[_0x38a45a(0x155)][_0x38a45a(0x191)]();_0x5ebc27[_0x38a45a(0x181)](this[_0x38a45a(0x1d7)],_0x56f8c2),this[_0x38a45a(0x1b3)](),this[_0x38a45a(0x198)]=!0x0;}catch(_0x5c9f2d){if(function(_0x47e4cb){const _0x5f2b07=_0x38a45a;return _0x5f2b07(0xf7)===_0x47e4cb[_0x5f2b07(0x190)];}(_0x5c9f2d)&&this[_0x38a45a(0x196)])await this[_0x38a45a(0xf5)]();else{if(function(_0x3bd1e3){const _0x488954=_0x38a45a;return _0x488954(0x15d)===_0x3bd1e3[_0x488954(0x190)];}(_0x5c9f2d)){const _0x450902=_0x242cf3(this[_0x38a45a(0x110)][_0x38a45a(0x184)],_0x38a45a(0x164));this[_0x38a45a(0x135)](_0x450902);}else{if(!(_0x5c9f2d instanceof $))throw _0x5c9f2d;this[_0x38a45a(0x135)]();}}}}[_0x142698(0x1ba)](){const _0x313225=_0x142698,_0x25b06d=this[_0x313225(0x110)][_0x313225(0x1bd)][_0x313225(0x1f2)](_0x315641),_0x53d833=this[_0x313225(0x110)][_0x313225(0x1bd)][_0x313225(0x1f2)](_0x971859);this[_0x313225(0x110)][_0x313225(0x11e)](_0x313225(0x17a)),_0x53d833[_0x313225(0x11b)][_0x313225(0x1c8)](this[_0x313225(0x1d7)])&&_0x53d833[_0x313225(0xf0)](this[_0x313225(0x1d7)]),_0x25b06d[_0x313225(0x15a)](this),this[_0x313225(0xed)](),super[_0x313225(0x1ba)]();}async[_0x142698(0x14f)](_0x7ed6e6){const _0x52fd0f=_0x142698;if(this[_0x52fd0f(0x196)]!==_0x7ed6e6[_0x52fd0f(0x196)]&&this[_0x52fd0f(0x1b0)]!==_0x7ed6e6[_0x52fd0f(0xf3)])throw new $();return this[_0x52fd0f(0x196)]=_0x7ed6e6[_0x52fd0f(0x196)],this[_0x52fd0f(0x10a)]([],{..._0x7ed6e6,'wereChangesApplied':!0x1,'data':_0x7ed6e6[_0x52fd0f(0x1e9)]},_0x52fd0f(0x12a));}async[_0x142698(0x163)](_0x6d4e6c,_0x12e77e=!0x1){const _0x69e887=_0x142698,{connection:_0x5aa2e6}=this[_0x69e887(0x110)][_0x69e887(0x1bd)][_0x69e887(0x1f2)](_0x315641);RealTimeCollaborationClient[_0x69e887(0x1e4)][_0x69e887(0x191)](_0x5aa2e6,this[_0x69e887(0x1d7)])[_0x69e887(0x131)](_0x628cf0=>this[_0x69e887(0x102)](_0x628cf0))[_0x69e887(0xfa)](_0x21c270=>{const _0x314c10=_0x69e887;this[_0x314c10(0x1b8)](_0x314c10(0x1df),_0x21c270);}),this[_0x69e887(0x149)](this[_0x69e887(0x155)],_0x69e887(0x1de),this[_0x69e887(0xf6)][_0x69e887(0x1ee)](this)),this[_0x69e887(0x149)](this[_0x69e887(0x155)],_0x69e887(0x193),(_0x3bec06,_0x38ad34)=>{const _0xb1fb74=_0x69e887;this[_0xb1fb74(0x1b8)](_0xb1fb74(0x1d3),_0x38ad34);}),this[_0x69e887(0x149)](this[_0x69e887(0x155)],_0x69e887(0x11c),()=>{const _0x1604c9=_0x69e887;this[_0x1604c9(0x198)]=!0x1;});const _0x51bfc0=this[_0x69e887(0x129)][_0x69e887(0x1a5)](_0x6d4e6c);this[_0x69e887(0x126)]=!0x0;const _0x43cb7e=await this[_0x69e887(0x155)][_0x69e887(0x16a)](_0x5aa2e6,this[_0x69e887(0x1a0)](_0x6d4e6c),_0x51bfc0);if(this[_0x69e887(0x196)]=_0x43cb7e[_0x69e887(0x196)],_0x12e77e){if(!_0x43cb7e[_0x69e887(0x103)])return void this[_0x69e887(0x135)]();this[_0x69e887(0x126)]=!0x1,this[_0x69e887(0x1ac)](),this[_0x69e887(0x158)][_0x69e887(0x10b)](),this[_0x69e887(0x1d2)]=_0x43cb7e[_0x69e887(0x1b4)],this[_0x69e887(0x158)][_0x69e887(0x14c)]=this[_0x69e887(0x1d2)],await this[_0x69e887(0x10a)](_0x6d4e6c,_0x43cb7e,_0x69e887(0x14e));}else await this[_0x69e887(0x1af)](_0x43cb7e,_0x6d4e6c);this[_0x69e887(0x1b3)](),this[_0x69e887(0x198)]=!0x0;}[_0x142698(0x1b3)](){const _0xe6e4a1=_0x142698,_0x5cde78=this[_0xe6e4a1(0x110)][_0xe6e4a1(0x1bd)][_0xe6e4a1(0x1f2)](_0x971859),_0x18e896=this[_0xe6e4a1(0x110)][_0xe6e4a1(0x1bd)][_0xe6e4a1(0x1f2)](_0x443f84),_0x1ded84=_0x5cde78[_0xe6e4a1(0x11b)][_0xe6e4a1(0x1f2)](this[_0xe6e4a1(0x1d7)]);_0x1ded84&&_0x1ded84[_0xe6e4a1(0x1a1)]>0x1?_0x18e896[_0xe6e4a1(0x10d)]():this[_0xe6e4a1(0x149)](_0x5cde78,_0xe6e4a1(0x105)+this[_0xe6e4a1(0x1d7)],()=>{const _0x4d8b91=_0xe6e4a1;0x2===_0x5cde78[_0x4d8b91(0x11b)][_0x4d8b91(0x1f2)](this[_0x4d8b91(0x1d7)])[_0x4d8b91(0x1a1)]&&_0x18e896[_0x4d8b91(0x10d)]();});}async[_0x142698(0xf6)](_0x13db25,_0x450598,_0x4bc015,_0x429df2){const _0x32a717=_0x142698;if(!this[_0x32a717(0x126)]&&this[_0x32a717(0x10f)][_0x32a717(0x14c)]==_0x450598){const _0x19958d=this[_0x32a717(0x189)](_0x4bc015,_0x429df2);await this[_0x32a717(0x195)](_0x19958d),this[_0x32a717(0x172)](_0x19958d,_0x450598,_0x4bc015[_0x32a717(0xf3)])||this[_0x32a717(0x1b8)](_0x32a717(0x161));}}async[_0x142698(0xf5)](){const _0x43efb8=_0x142698;this[_0x43efb8(0xed)]();const {locale:_0x54baf1}=this[_0x43efb8(0x110)];let _0x2d3463;try{_0x2d3463=await this[_0x43efb8(0x155)][_0x43efb8(0x18c)]();}catch{const _0x5bee8b=_0x242cf3(_0x54baf1,_0x43efb8(0x1ab));return void this[_0x43efb8(0x135)](_0x5bee8b);}const _0x47e9e9=_0x2d3463[_0x43efb8(0x120)]||_0x2d3463[_0x43efb8(0x124)];if(this[_0x43efb8(0x1b0)]!==_0x47e9e9[_0x43efb8(0xf3)]){const _0x48dba4=_0x242cf3(_0x54baf1,_0x43efb8(0x15f));return void this[_0x43efb8(0x135)](_0x48dba4);}await this[_0x43efb8(0x163)](this[_0x43efb8(0x110)][_0x43efb8(0x18d)][_0x43efb8(0x140)][_0x43efb8(0x141)][_0x43efb8(0x14d)](),!0x0);}[_0x142698(0xed)](){const _0x251a9f=_0x142698;this[_0x251a9f(0x155)][_0x251a9f(0x146)](),this[_0x251a9f(0x1e3)]=[],clearTimeout(this[_0x251a9f(0x194)]),this[_0x251a9f(0x130)](this[_0x251a9f(0x155)]);}[_0x142698(0x102)](_0xfd82df){const _0x173b96=_0x142698,_0x5acbdf=this[_0x173b96(0x110)][_0x173b96(0x1bd)][_0x173b96(0x1f2)](_0x971859);this[_0x173b96(0x149)](_0x5acbdf,_0x173b96(0x105)+this[_0x173b96(0x1d7)],(_0x497626,{session:_0x31339d})=>{const _0x3a61e8=_0x173b96;if(_0x31339d['id']===_0x5acbdf[_0x3a61e8(0x128)]){_0x497626[_0x3a61e8(0x170)]();const _0x3332ea=this[_0x3a61e8(0x110)][_0x3a61e8(0x1bd)][_0x3a61e8(0x1c8)](_0x3a61e8(0x12b))&&this[_0x3a61e8(0x110)][_0x3a61e8(0x1bd)][_0x3a61e8(0x1f2)](_0x3a61e8(0x12b));let _0x295abb=_0x31339d[_0x3a61e8(0x115)];_0x3332ea&&_0x3332ea[_0x3a61e8(0x1a3)]&&(_0x295abb=_0x295abb[_0x3a61e8(0x1ea)](_0x153f53=>_0x3a61e8(0x18b)!==_0x153f53)),this[_0x3a61e8(0x110)][_0x3a61e8(0x1bd)][_0x3a61e8(0x1f2)](_0x3a61e8(0x144))[_0x3a61e8(0x1cb)](_0x295abb,this[_0x3a61e8(0x1d7)]);}}),_0x5acbdf[_0x173b96(0x181)](this[_0x173b96(0x1d7)],_0xfd82df);}[_0x142698(0x1c5)](){const _0x40388c=_0x142698,_0x36ecfb=this[_0x40388c(0x110)][_0x40388c(0x1e9)][_0x40388c(0x16f)];this[_0x40388c(0x110)][_0x40388c(0x1e9)][_0x40388c(0x16f)]=(..._0x1d0726)=>{const _0x31989e=_0x40388c;if(!_0x1d0726[_0x1d0726[_0x31989e(0x1a1)]-0x1][_0x31989e(0x173)])throw new _0x8e8064(_0x31989e(0x13d),this);_0x36ecfb[_0x31989e(0x176)](this[_0x31989e(0x110)][_0x31989e(0x1e9)],_0x1d0726);};}[_0x142698(0x12c)](){const _0x3a41e6=_0x142698;this[_0x3a41e6(0x110)][_0x3a41e6(0x1e9)]['on'](_0x3a41e6(0x1d5),(_0x5e3f1b,[_0x243d6c])=>{const _0x54b59f=_0x3a41e6;if(this[_0x54b59f(0x10f)][_0x54b59f(0x14c)])throw new _0x8e8064(_0x54b59f(0x1ec),this);_0x5e3f1b[_0x54b59f(0x121)](),this[_0x54b59f(0x1b6)]();const _0x458f1d=this[_0x54b59f(0x110)][_0x54b59f(0xee)][_0x54b59f(0x1f2)](_0x54b59f(0x15b)),_0x51e8a9=this[_0x54b59f(0x13b)](_0x243d6c,_0x458f1d);0x0==_0x51e8a9[_0x54b59f(0x1a1)]&&_0x51e8a9[_0x54b59f(0x1ad)](new _0xa7e1a8(0x0)),_0x5e3f1b[_0x54b59f(0x1b5)]=this[_0x54b59f(0x163)](_0x51e8a9)[_0x54b59f(0x131)](()=>{const _0x5ae95c=_0x54b59f;this[_0x5ae95c(0x110)][_0x5ae95c(0x1bd)][_0x5ae95c(0x1f2)](_0x315641)[_0x5ae95c(0x1ca)](this),this[_0x5ae95c(0x110)][_0x5ae95c(0x1e9)][_0x5ae95c(0x1f0)](_0x5ae95c(0x1a4));})[_0x54b59f(0xfa)](_0x540cba=>this[_0x54b59f(0x1b8)](_0x54b59f(0x111),_0x540cba))[_0x54b59f(0x1dd)](()=>this[_0x54b59f(0x1ac)]());},{'priority':_0x3a41e6(0x1a9)}),this[_0x3a41e6(0x110)]['on'](_0x3a41e6(0xf1),async(_0x39c03f,[_0x5ac6d7,_0x2d47d7])=>{const _0x531e16=_0x3a41e6;_0x39c03f[_0x531e16(0x121)]();const _0x13c7aa=this[_0x531e16(0x110)][_0x531e16(0x18d)][_0x531e16(0x140)][_0x531e16(0x169)](_0x5ac6d7);if(!this[_0x531e16(0x17e)][_0x531e16(0x1c8)](_0x5ac6d7)){const _0x2de328=_0x2d47d7&&_0x2d47d7[_0x531e16(0x1e9)]?_0x2d47d7[_0x531e16(0x1e9)]:'',_0x17cf73=_0x2d47d7&&_0x2d47d7[_0x531e16(0x1ed)]?_0x2d47d7[_0x531e16(0x1ed)]:{};await this[_0x531e16(0x171)](_0x5ac6d7,_0x2de328,_0x17cf73);}this[_0x531e16(0x110)][_0x531e16(0x18d)][_0x531e16(0x1d6)]({'isUndoable':!0x1},()=>{const _0x17752b=_0x531e16;_0x13c7aa[_0x17752b(0x17f)]=!0x0,this[_0x17752b(0x110)][_0x17752b(0x18d)][_0x17752b(0x140)][_0x17752b(0x1a2)][_0x17752b(0x188)](_0x13c7aa);});},{'priority':_0x3a41e6(0x1a9)});}async[_0x142698(0x195)](_0x415d9c){const _0x141c87=_0x142698,_0x4c7f87=this[_0x141c87(0x110)][_0x141c87(0x1bd)][_0x141c87(0x1f2)](_0x3c967d),{connection:_0x563aa1}=this[_0x141c87(0x110)][_0x141c87(0x1bd)][_0x141c87(0x1f2)](_0x315641),_0x13270f=new Set();for(const _0x16cc0b of _0x415d9c){const _0x11d5b2=_0x16cc0b[_0x141c87(0x1e6)];_0x11d5b2&&!_0x4c7f87[_0x141c87(0x19b)](_0x11d5b2)&&_0x13270f[_0x141c87(0x1c6)](_0x11d5b2);}if(0x0===_0x13270f[_0x141c87(0x166)])return;const _0x35b415=await _0x3ab2c1[_0x141c87(0x123)](_0x563aa1,Array[_0x141c87(0x14a)](_0x13270f));for(const _0x4cc4e6 of _0x35b415)_0x4c7f87[_0x141c87(0x19b)](_0x4cc4e6['id'])||_0x4c7f87[_0x141c87(0x1c4)](_0x4cc4e6);}[_0x142698(0x13b)](_0x7fbf0d,_0x488f3a={}){const _0x26b86e=_0x142698,_0x3fab74=this[_0x26b86e(0x110)][_0x26b86e(0x18d)],_0x2f86af=[];let _0x20e994=0x0;const _0x3b51fe=_0x26b86e(0x13a)==typeof _0x7fbf0d?{'main':_0x7fbf0d}:_0x7fbf0d;for(const _0x18fc7c of Object[_0x26b86e(0x1b2)](_0x3b51fe)){if(!this[_0x26b86e(0x10f)][_0x26b86e(0x122)][_0x26b86e(0x1c8)](_0x18fc7c))throw new _0x8e8064(_0x26b86e(0x125),this);const _0x802b8f=this[_0x26b86e(0x110)][_0x26b86e(0x1e9)][_0x26b86e(0x1d1)](_0x3b51fe[_0x18fc7c]),_0x37338c=this[_0x26b86e(0x10f)][_0x26b86e(0x169)](_0x18fc7c),_0x29dd4b=new _0x48d033(_0x3fab74[_0x26b86e(0x100)](_0x37338c,0x0),_0x802b8f,_0x20e994++);_0x2f86af[_0x26b86e(0x1ad)](_0x29dd4b);for(const [_0x281c97,_0x306c45]of _0x802b8f[_0x26b86e(0x138)]){const _0x5794d8=_0x3fab74[_0x26b86e(0x183)](_0x3fab74[_0x26b86e(0xf9)](_0x37338c,_0x306c45[_0x26b86e(0xf4)][_0x26b86e(0x1ce)][_0x26b86e(0x1c1)]()),_0x3fab74[_0x26b86e(0xf9)](_0x37338c,_0x306c45[_0x26b86e(0xff)][_0x26b86e(0x1ce)][_0x26b86e(0x1c1)]())),_0x3233d6=new _0x39e255(_0x281c97,null,_0x5794d8,_0x3fab74[_0x26b86e(0x138)],!0x0,_0x20e994++);_0x2f86af[_0x26b86e(0x1ad)](_0x3233d6);}}if(_0x488f3a)for(const [_0x54e4c0,_0x9d2fad]of Object[_0x26b86e(0x116)](_0x488f3a)){const _0x4e10c1=_0x3fab74[_0x26b86e(0x140)][_0x26b86e(0x169)](_0x54e4c0);if(!_0x4e10c1)throw new _0x8e8064(_0x26b86e(0x114),null);for(const [_0x581296,_0x5cb900]of Object[_0x26b86e(0x116)](_0x9d2fad))if(null!==_0x5cb900){const _0x4ca337=new _0x31cadd(_0x4e10c1,_0x581296,null,_0x5cb900,_0x20e994++);_0x2f86af[_0x26b86e(0x1ad)](_0x4ca337);}}return _0x2f86af;}async[_0x142698(0x171)](_0x10ebb1,_0x498f50,_0x5ef031){const _0x477240=_0x142698;this[_0x477240(0x13b)]({[_0x10ebb1]:_0x498f50},{[_0x10ebb1]:_0x5ef031})[_0x477240(0x10e)]((_0x268952,_0x5f3d40)=>{const _0x193864=_0x477240;_0x268952[_0x193864(0x157)]=this[_0x193864(0x10f)][_0x193864(0x14c)]+_0x5f3d40,_0x268952[_0x193864(0x1db)]=!0x0,this[_0x193864(0x16d)](_0x268952);}),this[_0x477240(0x127)](),await this[_0x477240(0x1d0)]();}async[_0x142698(0x1af)](_0x246da4,_0x4e67b2){const _0x1b1e06=_0x142698;let _0x313ce7;this[_0x1b1e06(0x1d2)]=_0x246da4[_0x1b1e06(0x1b4)];const _0x398b51=_0x246da4[_0x1b1e06(0x103)]&&!_0x246da4[_0x1b1e06(0x1b9)],_0x47fbcc=_0x398b51?0x0:_0x246da4[_0x1b1e06(0x1e9)][_0x1b1e06(0x157)];if(_0x4e67b2[_0x1b1e06(0x10e)](_0x8f9fb6=>{const _0x31ac61=_0x1b1e06;_0x8f9fb6[_0x31ac61(0x1db)]=!0x0,_0x8f9fb6[_0x31ac61(0x159)]=_0x246da4[_0x31ac61(0x108)],_0x8f9fb6[_0x31ac61(0x1e6)]=null;}),_0x398b51)_0x313ce7=_0x4e67b2,this[_0x1b1e06(0x13e)](_0x313ce7,_0x398b51);else{if(_0x246da4[_0x1b1e06(0x1b9)]){const _0x8b6797=this[_0x1b1e06(0x13b)](_0x246da4[_0x1b1e06(0x1b9)]);this[_0x1b1e06(0x10f)][_0x1b1e06(0x141)][_0x1b1e06(0x14c)]=-_0x8b6797[_0x1b1e06(0x1a1)],_0x8b6797[_0x1b1e06(0x10e)](_0x4a7e03=>{const _0x4aa3bb=_0x1b1e06;_0x4a7e03[_0x4aa3bb(0x157)]-=_0x8b6797[_0x4aa3bb(0x1a1)],_0x4a7e03[_0x4aa3bb(0x159)]=_0x246da4[_0x4aa3bb(0x108)],_0x4a7e03[_0x4aa3bb(0x1db)]=!0x0,_0x4a7e03[_0x4aa3bb(0x1e6)]=null;}),this[_0x1b1e06(0x13e)](_0x8b6797,!0x0),this[_0x1b1e06(0x158)][_0x1b1e06(0x14c)]=-_0x8b6797[_0x1b1e06(0x1a1)]+this[_0x1b1e06(0x1d2)],this[_0x1b1e06(0x1e8)](_0x8b6797);}this[_0x1b1e06(0x10f)][_0x1b1e06(0x141)][_0x1b1e06(0x14c)]=_0x47fbcc,_0x313ce7=this[_0x1b1e06(0x189)](_0x246da4[_0x1b1e06(0x1e9)],_0x246da4[_0x1b1e06(0x150)]),await this[_0x1b1e06(0x195)](_0x313ce7),this[_0x1b1e06(0x13e)](_0x313ce7,_0x398b51);}_0x246da4[_0x1b1e06(0xf3)]&&(this[_0x1b1e06(0x129)][_0x1b1e06(0x119)](_0x313ce7,_0x246da4[_0x1b1e06(0xf3)]),this[_0x1b1e06(0x1b0)]=_0x246da4[_0x1b1e06(0xf3)]),this[_0x1b1e06(0x158)][_0x1b1e06(0x14c)]=_0x47fbcc+this[_0x1b1e06(0x1d2)],this[_0x1b1e06(0x1e8)](_0x313ce7),_0x4e67b2[_0x1b1e06(0x1ea)](_0x441993=>{const _0x1c2dc5=_0x1b1e06,_0x4681e5=this[_0x1c2dc5(0x177)](_0x441993);return _0x4681e5&&!this[_0x1c2dc5(0x17e)][_0x1c2dc5(0x1c8)](_0x4681e5);})[_0x1b1e06(0x10e)]((_0x291fb6,_0x35c72b)=>{const _0x268a11=_0x1b1e06;_0x291fb6[_0x268a11(0x157)]=this[_0x268a11(0x10f)][_0x268a11(0x14c)]+_0x35c72b,this[_0x268a11(0x16d)](_0x291fb6);}),this[_0x1b1e06(0x13c)]()?(this[_0x1b1e06(0xf2)]=0x0,this[_0x1b1e06(0x127)](!0x0),await this[_0x1b1e06(0x1d0)]()):(this[_0x1b1e06(0x126)]=!0x1,this[_0x1b1e06(0x1ac)]());}[_0x142698(0x1b8)](_0x2043f5,_0x134570){const _0x2d2fbc=_0x142698,_0x43eb16=_0x134570&&_0x134570[_0x2d2fbc(0x175)];if(_0x43eb16&&_0x43eb16[_0x2d2fbc(0x1cf)](_0x2d2fbc(0x11a)))throw _0x134570;const _0x1df03b=this[_0x2d2fbc(0x110)][_0x2d2fbc(0x1bd)][_0x2d2fbc(0x1f2)](_0x315641);throw this[_0x2d2fbc(0x126)]=!0x0,_0x1df03b[_0x2d2fbc(0x146)](),this[_0x2d2fbc(0x110)][_0x2d2fbc(0x11e)](_0x2d2fbc(0x18f)),new _0x8e8064(_0x2043f5,this[_0x2d2fbc(0x110)],_0x43eb16?{'originalError':_0x43eb16}:void 0x0);}[_0x142698(0x16d)](_0x678b43){const _0x3a8142=_0x142698;this[_0x3a8142(0x197)][_0x3a8142(0x1c8)](_0x678b43)||(this[_0x3a8142(0x197)][_0x3a8142(0x1c6)](_0x678b43),this[_0x3a8142(0x1e3)][_0x3a8142(0x1ad)](_0x678b43),this[_0x3a8142(0x1e2)]||_0x3a8142(0x132)==_0x678b43[_0x3a8142(0x186)]&&!_0x678b43[_0x3a8142(0x168)]||this[_0x3a8142(0x1b6)]());}[_0x142698(0x127)](_0xa66480=!0x1){const _0x50ac0a=_0x142698;!_0xa66480&&this[_0x50ac0a(0x126)]||(this[_0x50ac0a(0x126)]=!0x0,clearTimeout(this[_0x50ac0a(0x194)]),this[_0x50ac0a(0x194)]=setTimeout(()=>{const _0x310b4a=_0x50ac0a;this[_0x310b4a(0x1a8)]()[_0x310b4a(0x131)](_0x7f39c0=>{const _0x28c044=_0x310b4a;_0x7f39c0&&(this[_0x28c044(0x1ac)](),this[_0x28c044(0x126)]=!0x1);})[_0x310b4a(0xfa)](_0x34c30c=>{const _0x5d6c49=_0x310b4a;this[_0x5d6c49(0x1ac)](),this[_0x5d6c49(0x126)]=!0x1,function(_0x3a48c7){const _0x14667f=_0x5d6c49;return _0x3a48c7[_0x14667f(0x175)][_0x14667f(0x1cf)](_0x14667f(0x13f))||_0x3a48c7[_0x14667f(0x175)][_0x14667f(0x1cf)](_0x14667f(0x133))||_0x3a48c7[_0x14667f(0x175)][_0x14667f(0x1cf)](_0x14667f(0x11d));}(_0x34c30c)||this[_0x5d6c49(0x1b8)](_0x34c30c[_0x5d6c49(0x175)],_0x34c30c);});},this[_0x50ac0a(0xf2)]));}[_0x142698(0x1d0)](){return new Promise(_0x45946b=>{const _0x3c34b9=_0x1058;this['on'](_0x3c34b9(0xfd),()=>{_0x45946b();});});}async[_0x142698(0x1a8)](){const _0x2cce45=_0x142698,_0x556421=this[_0x2cce45(0x110)][_0x2cce45(0x1bd)][_0x2cce45(0x1f2)](_0x443f84);if(this[_0x2cce45(0x1d4)]()&&(_0x556421[_0x2cce45(0x10d)](),this[_0x2cce45(0x101)]=!0x1),!this[_0x2cce45(0x13c)]())return!0x0;const _0x1b10cb=[...this[_0x2cce45(0x1e3)]];for(const _0x3d18a1 of _0x1b10cb)_0x3d18a1[_0x2cce45(0x1bb)]=this[_0x2cce45(0x10f)][_0x2cce45(0x141)][_0x2cce45(0x153)](_0x3d18a1);const _0x440447=this[_0x2cce45(0x129)][_0x2cce45(0x1a5)](_0x1b10cb),_0x5cf22b=G++,_0x1303bc=this[_0x2cce45(0x1a0)](_0x1b10cb),_0x2a577c=await this[_0x2cce45(0x155)][_0x2cce45(0x1aa)](_0x1303bc,_0x1303bc[_0x2cce45(0x157)],_0x440447);try{return await this[_0x2cce45(0x10a)](_0x1b10cb,_0x2a577c,_0x5cf22b);}catch(_0x4fa171){return this[_0x2cce45(0x1b8)](_0x2cce45(0x1cd),_0x4fa171);}}async[_0x142698(0x10a)](_0x8d05a5,_0x1c35c4,_0x3459b0){const _0x175c43=_0x142698;if(_0x175c43(0x193)in _0x1c35c4)throw _0x1c35c4[_0x175c43(0x193)];let _0x3cee53=!0x1;if(_0x1c35c4[_0x175c43(0x103)]){_0x1c35c4[_0x175c43(0xf3)]&&(this[_0x175c43(0x1b0)]=_0x1c35c4[_0x175c43(0xf3)]),this[_0x175c43(0x1e3)]=this[_0x175c43(0x1e3)][_0x175c43(0x1ea)](_0x58d6d6=>!_0x8d05a5[_0x175c43(0xef)](_0x58d6d6));for(const _0x233d7d of _0x8d05a5)_0x233d7d[_0x175c43(0x159)]=_0x175c43(0x1e1)in _0x1c35c4&&_0x1c35c4[_0x175c43(0x1e1)]||void 0x0;K(_0x8d05a5,_0x1c35c4[_0x175c43(0x14c)]-_0x8d05a5[_0x175c43(0x1a1)]),this[_0x175c43(0x1e8)](_0x8d05a5);const _0x2efa7f=_0x8d05a5[_0x175c43(0x1ea)](_0x7ce474=>{const _0x21eeea=_0x175c43;if(!_0x7ce474[_0x21eeea(0x1db)])return!0x1;const _0x35f83c=this[_0x21eeea(0x177)](_0x7ce474);return _0x35f83c&&!this[_0x21eeea(0x17e)][_0x21eeea(0x1c8)](_0x35f83c);});K(_0x2efa7f,this[_0x175c43(0x10f)][_0x175c43(0x14c)]),this[_0x175c43(0x13e)](_0x2efa7f),_0x3cee53=!0x0,this[_0x175c43(0xf2)]=this[_0x175c43(0x16c)];}else{const _0x535513=this[_0x175c43(0x189)](_0x1c35c4[_0x175c43(0x1e9)],_0x1c35c4[_0x175c43(0x150)])[_0x175c43(0x1ea)](_0x1b5148=>_0x1b5148[_0x175c43(0x157)]>=this[_0x175c43(0x1da)]);_0x535513[_0x175c43(0x10e)](_0x14f864=>this[_0x175c43(0x134)](_0x14f864)),this[_0x175c43(0x1e3)]=this[_0x175c43(0x1e3)][_0x175c43(0x1ea)](_0x118092=>!_0x118092[_0x175c43(0x1db)]||!this[_0x175c43(0x17e)][_0x175c43(0x1c8)](this[_0x175c43(0x177)](_0x118092))),this[_0x175c43(0x1e3)][_0x175c43(0x1a1)]&&K(this[_0x175c43(0x1e3)],this[_0x175c43(0x1e3)][0x0][_0x175c43(0x157)]),await this[_0x175c43(0x195)](_0x535513),_0x3cee53=this[_0x175c43(0x172)](_0x535513,_0x1c35c4[_0x175c43(0x14c)],_0x1c35c4[_0x175c43(0xf3)]),this[_0x175c43(0xf2)]=Math[_0x175c43(0x1dc)](this[_0x175c43(0xf2)]/0x2);}return _0x3cee53?!this[_0x175c43(0x13c)]()||(this[_0x175c43(0x127)](!0x0),!0x1):this[_0x175c43(0x1b8)](_0x175c43(0x180));}[_0x142698(0x172)](_0x64f714,_0x49e2cb,_0x59dc59){const _0x48232a=_0x142698;try{const _0x723feb={'document':this[_0x48232a(0x10f)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x46b2fa,operationsB:_0xf0ddf9,originalOperations:_0x5bb71b}=_0x44f26a(_0x64f714,this[_0x48232a(0x1e3)],_0x723feb);K(_0x46b2fa,this[_0x48232a(0x10f)][_0x48232a(0x14c)]),K(_0xf0ddf9,_0x49e2cb);for(const _0x5203cd of _0x46b2fa){const _0x366288=_0x5bb71b[_0x48232a(0x1f2)](_0x5203cd);_0x5203cd[_0x48232a(0x1e6)]=_0x366288?_0x366288[_0x48232a(0x1e6)]:null;}_0x59dc59&&(this[_0x48232a(0x129)][_0x48232a(0x119)](_0x64f714,_0x59dc59),this[_0x48232a(0x1b0)]=_0x59dc59),this[_0x48232a(0x1e3)]=[..._0xf0ddf9],this[_0x48232a(0x13e)](_0x46b2fa),this[_0x48232a(0x1e8)](_0x64f714);}catch(_0x47075e){return console[_0x48232a(0x193)](_0x47075e),!0x1;}return!0x0;}[_0x142698(0x13e)](_0x14536b,_0x199099=!0x1){const _0x2fdc57=_0x142698;this[_0x2fdc57(0x110)][_0x2fdc57(0x18d)][_0x2fdc57(0x1d6)]({'isUndoable':!0x1,'isLocal':!0x1},_0x129b3a=>{const _0x44fa0e=_0x2fdc57;for(const _0x5cc27c of _0x14536b)this[_0x44fa0e(0x197)][_0x44fa0e(0x1c6)](_0x5cc27c),this[_0x44fa0e(0x134)](_0x5cc27c),_0x129b3a[_0x44fa0e(0x185)][_0x44fa0e(0x1be)](_0x5cc27c),this[_0x44fa0e(0x110)][_0x44fa0e(0x18d)][_0x44fa0e(0x12f)](_0x5cc27c);});}[_0x142698(0x134)](_0x1e0c68){const _0x23bd5e=_0x142698,_0x57cdb5=this[_0x23bd5e(0x177)](_0x1e0c68);_0x57cdb5&&this[_0x23bd5e(0x17e)][_0x23bd5e(0x1c6)](_0x57cdb5);}[_0x142698(0x177)](_0x581c1c){const _0x3be13d=_0x142698;let _0x666252,_0x1736fb;switch(_0x581c1c[_0x3be13d(0x186)]){case _0x3be13d(0x1b7):_0x666252=_0x581c1c[_0x3be13d(0x1bf)][_0x3be13d(0x12d)];break;case _0x3be13d(0x132):if(_0x1736fb=_0x581c1c[_0x3be13d(0x12e)],!_0x1736fb)return null;_0x666252=_0x1736fb[_0x3be13d(0x12d)];break;case _0x3be13d(0x112):_0x666252=_0x581c1c[_0x3be13d(0x12d)];break;case _0x3be13d(0x1b1):_0x666252=_0x581c1c[_0x3be13d(0xfe)];break;case _0x3be13d(0x1ef):_0x666252=_0x581c1c[_0x3be13d(0x1c7)][_0x3be13d(0x12d)];break;default:return null;}return _0x666252[_0x3be13d(0x182)];}[_0x142698(0x1e8)](_0xdef8be){const _0x45a88b=_0x142698;_0xdef8be[_0x45a88b(0x10e)](_0x18e8ef=>{const _0x2d2ddb=_0x45a88b,_0x2c806b=_0x18e8ef[_0x2d2ddb(0x17c)]();_0x2c806b[_0x2d2ddb(0x1e6)]=_0x18e8ef[_0x2d2ddb(0x1e6)],_0x2c806b[_0x2d2ddb(0x1db)]=!!_0x18e8ef[_0x2d2ddb(0x1db)],_0x2c806b[_0x2d2ddb(0x159)]=_0x18e8ef[_0x2d2ddb(0x159)],_0x2c806b[_0x2d2ddb(0x157)]+=this[_0x2d2ddb(0x1d2)],_0x18e8ef[_0x2d2ddb(0x19d)]&&this[_0x2d2ddb(0x167)][_0x2d2ddb(0x1c6)](_0x2c806b),this[_0x2d2ddb(0x158)][_0x2d2ddb(0x1be)](_0x2c806b);});}[_0x142698(0x135)](_0x403a1b){const _0xcb6ada=_0x142698,_0x442836=this[_0xcb6ada(0x110)][_0xcb6ada(0x1bd)][_0xcb6ada(0x1f2)](_0xcb6ada(0x1bc)),_0x2e199b=this[_0xcb6ada(0x110)][_0xcb6ada(0x184)];_0x403a1b||(_0x403a1b=_0x242cf3(_0x2e199b,_0xcb6ada(0x156))),_0x442836[_0xcb6ada(0x1c3)](_0x403a1b,{'title':_0x242cf3(_0x2e199b,_0xcb6ada(0x113)),'namespace':_0xcb6ada(0x1cc)}),this[_0xcb6ada(0x1c2)]=!0x0,clearTimeout(this[_0xcb6ada(0x194)]),this[_0xcb6ada(0x1e3)]=[],this[_0xcb6ada(0x110)][_0xcb6ada(0x1bd)][_0xcb6ada(0x1f2)](_0x315641)[_0xcb6ada(0x146)]();}[_0x142698(0x1b6)](){const _0x34d12c=_0x142698;this[_0x34d12c(0x1e2)]||(this[_0x34d12c(0x1e2)]=this[_0x34d12c(0x110)][_0x34d12c(0x1bd)][_0x34d12c(0x1f2)](_0x2a85d7)[_0x34d12c(0x1c6)](_0x242cf3(this[_0x34d12c(0x110)][_0x34d12c(0x184)],_0x34d12c(0x1a7))));}[_0x142698(0x1ac)](){const _0x4aabcc=_0x142698;this[_0x4aabcc(0x1e2)]&&(this[_0x4aabcc(0x110)][_0x4aabcc(0x1bd)][_0x4aabcc(0x1f2)](_0x2a85d7)[_0x4aabcc(0x162)](this[_0x4aabcc(0x1e2)]),this[_0x4aabcc(0x1e2)]=null);}[_0x142698(0x1a0)](_0x160807){const _0xc49c48=_0x142698,_0x1f6295=_0x160807[_0xc49c48(0x187)](_0x44c702=>_0x44c702[_0xc49c48(0x17b)]());return this[_0xc49c48(0x109)][_0xc49c48(0x1c0)](_0x1f6295);}[_0x142698(0x189)](_0x2e3730,_0x5415dd){const _0xb3336b=_0x142698;return this[_0xb3336b(0x109)][_0xb3336b(0x16e)](_0x2e3730)[_0xb3336b(0x187)]((_0x1451ef,_0x1b797d)=>{const _0xe9afb4=_0xb3336b,_0xc400d7=_0xe9afb4(0x1d5)==_0x5415dd[_0x1b797d][_0xe9afb4(0x186)];if(_0xe9afb4(0x1d9)==_0x1451ef[_0xe9afb4(0x18a)]){const _0xeca4b5=_0x1451ef[_0xe9afb4(0x1bf)][_0xe9afb4(0x12d)];!this[_0xe9afb4(0x10f)][_0xe9afb4(0x169)](_0xeca4b5)&&(this[_0xe9afb4(0x10f)][_0xe9afb4(0x160)](_0xe9afb4(0x106),_0xeca4b5)[_0xe9afb4(0x142)]=!0x1);}const _0x40960f=_0x4c3971[_0xe9afb4(0x1a6)](_0x1451ef,this[_0xe9afb4(0x10f)]);return _0x40960f[_0xe9afb4(0x1bb)]=_0x1451ef[_0xe9afb4(0x1bb)],_0x40960f[_0xe9afb4(0x1db)]=_0xc400d7,_0x40960f[_0xe9afb4(0x1e6)]=_0xc400d7?null:_0x5415dd[_0x1b797d][_0xe9afb4(0x11f)],_0x40960f[_0xe9afb4(0x19d)]=_0xe9afb4(0x1eb)===_0x5415dd[_0x1b797d][_0xe9afb4(0x186)],_0x40960f[_0xe9afb4(0x159)]=_0x5415dd[_0x1b797d][_0xe9afb4(0x159)],_0x40960f;});}[_0x142698(0x178)](){const _0x41ee2f=_0x142698;this[_0x41ee2f(0x101)]=!0x0,this[_0x41ee2f(0x1d4)]()?this[_0x41ee2f(0x127)]():this[_0x41ee2f(0x101)]=!0x1;}[_0x142698(0x1d4)](){const _0x4a33a7=_0x142698,_0x1facb0=this[_0x4a33a7(0x110)][_0x4a33a7(0x1bd)][_0x4a33a7(0x1f2)](_0x971859)[_0x4a33a7(0x11b)][_0x4a33a7(0x1f2)](this[_0x4a33a7(0x1d7)]);return!this[_0x4a33a7(0x110)][_0x4a33a7(0x19e)]&&!!_0x1facb0&&_0x1facb0[_0x4a33a7(0x1a1)]>0x1&&this[_0x4a33a7(0x101)];}[_0x142698(0x13c)](){const _0x337f0c=_0x142698;return this[_0x337f0c(0x1e3)][_0x337f0c(0x1a1)]>0x0||this[_0x337f0c(0x1d4)]();}}class $ extends Error{}function K(_0x150038,_0x1915a9){const _0x624196=_0x142698;for(const _0x4f0e34 of _0x150038)_0x4f0e34[_0x624196(0x157)]=_0x1915a9++;}function _0x1058(_0x5acf59,_0x1067f5){const _0x269200=_0x2692();return _0x1058=function(_0x10586b,_0xf032ed){_0x10586b=_0x10586b-0xed;let _0x3f17f5=_0x269200[_0x10586b];return _0x3f17f5;},_0x1058(_0x5acf59,_0x1067f5);}class J{[_0x142698(0x136)];[_0x142698(0x137)];constructor(_0x1026e3){const _0x9602e9=_0x142698;this[_0x9602e9(0x136)]=_0x1026e3,this[_0x9602e9(0x137)]=new WeakMap();}[_0x142698(0x1a5)](_0x1c8080){const _0x402d90=_0x142698;let _0x246f9f=_0x1c8080[_0x402d90(0x1a1)];for(;_0x246f9f--;){const _0x50e904=_0x1c8080[_0x246f9f];if(!this[_0x402d90(0x136)][_0x402d90(0x1c8)](_0x50e904)){if(!this[_0x402d90(0x137)][_0x402d90(0x1c8)](_0x50e904)){const _0x24542d=_0x2c3084()[_0x402d90(0x1c1)](0x1,0x12);this[_0x402d90(0x137)][_0x402d90(0x16f)](_0x50e904,_0x24542d);}return this[_0x402d90(0x137)][_0x402d90(0x1f2)](_0x50e904);}}}[_0x142698(0x119)](_0x341a9c,_0x6c08f5){const _0xe215ec=_0x142698;if(!_0x6c08f5)return;let _0x4c7271=_0x341a9c[_0xe215ec(0x1a1)];for(;_0x4c7271--;){const _0x17062b=_0x341a9c[_0x4c7271];this[_0xe215ec(0x136)][_0xe215ec(0x1c8)](_0x17062b)||this[_0xe215ec(0x137)][_0xe215ec(0x16f)](_0x17062b,_0x6c08f5);}}}
|
|
23
|
+
const _0x274c8e=_0x4a06;(function(_0x19c0d7,_0x364d8d){const _0x569d2d=_0x4a06,_0x41e268=_0x19c0d7();while(!![]){try{const _0xd24854=-parseInt(_0x569d2d(0x1ca))/0x1+-parseInt(_0x569d2d(0x167))/0x2*(-parseInt(_0x569d2d(0x13e))/0x3)+-parseInt(_0x569d2d(0x18e))/0x4*(parseInt(_0x569d2d(0x148))/0x5)+-parseInt(_0x569d2d(0x1a6))/0x6+parseInt(_0x569d2d(0x139))/0x7+-parseInt(_0x569d2d(0x204))/0x8*(parseInt(_0x569d2d(0x21d))/0x9)+parseInt(_0x569d2d(0x161))/0xa;if(_0xd24854===_0x364d8d)break;else _0x41e268['push'](_0x41e268['shift']());}catch(_0x2a15a1){_0x41e268['push'](_0x41e268['shift']());}}}(_0x171d,0x27555));import{Plugin as _0x4fded9,PendingActions as _0x4dacc1}from'ckeditor5/src/core.js';import{CKEditorError as _0x1bb122,version as _0xcf13d3,uid as _0x32700c}from'ckeditor5/src/utils.js';import{Notification as _0x46aac3}from'ckeditor5/src/ui.js';function _0x4a06(_0x55ac48,_0x2fb5d1){const _0x171d6a=_0x171d();return _0x4a06=function(_0x4a061b,_0x44c1e1){_0x4a061b=_0x4a061b-0x137;let _0x45477c=_0x171d6a[_0x4a061b];return _0x45477c;},_0x4a06(_0x55ac48,_0x2fb5d1);}import{transformOperationSets as _0x5f3ca8,NoOperation as _0x37ffc1,InsertOperation as _0x2df9ed,MarkerOperation as _0x3e2de9,RootAttributeOperation as _0x4a077c,OperationFactory as _0x50eb62,History as _0x289794}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x33e6c9}from'./websocketgateway.js';function _0x171d(){const _0x2fec9b=['CommentsOnly','differ','_authorId','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-init-service-internal-error','affectsData','realtimecollaborationclient-error','has','118584kXXmPU','_currentBufferDelay','change:_isEditingAllowed','filter','mySessionId','setIdForTheLastOperation','_refreshUserSelectionMarkers','_lastServerVersion','change:range','rtc-offline','state','_operationIdentifier','realtimecollaborationclient-init-connection-failed','_handleReconnectionError','isEnabled','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.','409','permissions','realtimecollaborationclient-init-service-incorrect-server-operation','showWarning','newRange','offset','round','apply','1370832NwwPJZ','getDocumentDetails','add','multi-root-editor-root-attributes-no-root','currentDocumentSession','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','change:_isPendingUpdate','metadata','parse','_handleReceivedOperations','insert','_saveOperationInBuffer','set','isDocumentOperation','__className','model','lastDocumentSession','realtimecollaborationclient-sendbufferedoperations','createPositionAt','connected','CollaborativeEditingService','_handleInitialConnectionData','sessionAdd:','_knownRootNames','length','message','_isConnected','attributes','getRoot','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.','404','wereChangesApplied','_compressor','_bufferedOperations','root','clone','294596WDelDi','pluginName','map','connection','stop','realtimecollaborationclient-init-session-connection-error','realtimecollaborationclient-init-non-existent-root','marker','loadRoot','addOperation','fromJSON','_getAffectedRoot','change:hasDomSelection','createRoot','_isInit','reconnect','realtimecollaborationclient-init-document-already-initialized','_document','finally','_isPendingUpdate','_hasSynchronizationProblem','lastSyncVersion','editor','forEach','removeFromReconnectionStack','operationsReceived','_crash','_isAttached','from','_ignoredOperations','_sendBufferedOperationsDelayId','createRange','history','getIdOfTheLastOperation','_setPendingAction','_sendBufferedOperations','channelSessions','_operationToId','stopListening','collaboration','_shouldSendSelectionUpdate','_handleServerResponse','isReadOnly','serverHistory','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isOfficialPlugin','cs:removeUser','sessionId','_handleExternalOperations','getMany','Permissions','then','compress','_hasSelectionChanged','_clearPendingAction','_initThrowingOnDataSet','lastOperationId','addToReconnectionStack','16viLWgW','string','size','listenTo','return','roots','connect','applyOperation','batch','wasUndone','_bufferRootLoad','_addKnownRoot','createdAt','baseVersion','define','remove','decompress','document','_service','register','addUser','addRootAttribute','sendOperations','slice','cloud-services-internal-error:\x20Request\x20timeout.','204048jHWLoW','$root','initData','editing','cloudDocumentVersion','lastOperationAcceptedAt','_shouldSendUpdate','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','cloudServices.bundleVersion','_waitUntilSynced','off','_isEditingAllowed','markers','_getOperationsFromInitData','selection','getConnectedSessions','view','realtimecollaborationclient','config','init','_disconnectionOperations','_loadRoot','_sendBufferedOperationsDelayed','position','enqueueChange','_knownOperations','type','suppressErrorInCollaboration','plugins','error','fire','real-time-collaboration','path','unregister','2241001QAWUtU','_compressOperations','affectedSelectable','collaboration.channelId','reset','129lvaLvI','keys','entries','userId','move','_disconnectService','_handleSendingSelectionMarkers','toJSON','_connectService','_decompressOperations','20jjuNsk','Synchronization\x20issue','rtc-destroyed','createUserMarkerOperations','RealTimeCollaborationClient','destroy','reconnection:\x20flushed\x20session','_setUpDataInit','start','document:write','version','isPremiumPlugin','_isDisconnection','InsertOperation','_connectAfterSessionHasBeenFlushed','setPermissions','isUndoneOperation','_updateServerHistory','_applyOperationsSet','PENDING_ACTION_SENDING_DATA','targetPosition','realtimecollaborationclient-handleserverresponse','_channelId','disconnect','_pendingAction','2779170RejbsA','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_baseBufferDelay','end','getOperations','directChange','11630ekHSph','_initSessionsHandling','startsWith','_fetchMissingUsers','Notification','enableReadOnlyMode','bind','sessionCreatedAt','disableReadOnlyMode','data','code','_offset','includes','ready','catch','rootsAttributes','high','_lastSyncedOperationId','get','createPositionFromPath','_handleReconnectionResponse','_isLoaded','getUser','rootName','collaboration-missing-channelid','push','locale','requires','getOperationAuthor','disconnected','addRoot'];_0x171d=function(){return _0x2fec9b;};return _0x171d();}import{Sessions as _0x49f860}from'./sessions.js';import{UserMarkers as _0xf0e334}from'./usermarkers.js';import{getTranslation as _0x287f85}from'../common-translations.js';import{Compressor as _0x11ee68}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x4a4c2d}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2dedd4,CollaborativeEditingService as _0xe7bfba}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x4fded9{static [_0x274c8e(0x1ba)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0xe7bfba)());[_0x274c8e(0x172)];[_0x274c8e(0x1f9)];[_0x274c8e(0x1f5)];[_0x274c8e(0x15e)];[_0x274c8e(0x216)];[_0x274c8e(0x1db)];[_0x274c8e(0x1c6)];[_0x274c8e(0x1c7)];[_0x274c8e(0x236)];[_0x274c8e(0x1bd)];[_0x274c8e(0x160)];[_0x274c8e(0x1ff)];[_0x274c8e(0x1e8)];[_0x274c8e(0x163)];[_0x274c8e(0x18f)];[_0x274c8e(0x178)];[_0x274c8e(0x231)];[_0x274c8e(0x199)];static get[_0x274c8e(0x182)](){return[_0x33e6c9,_0x49f860,_0xf0e334,_0x4dacc1,_0x4a4c2d,_0x46aac3];}static get[_0x274c8e(0x1cb)](){const _0x17b555=_0x274c8e;return _0x17b555(0x14c);}static get[_0x274c8e(0x1f7)](){return!0x0;}static get[_0x274c8e(0x153)](){return!0x0;}get[_0x274c8e(0x221)](){const _0x35175d=_0x274c8e;return this[_0x35175d(0x195)]+this[_0x35175d(0x172)];}get[_0x274c8e(0x195)](){const _0x538cc7=_0x274c8e;return this[_0x538cc7(0x1f5)][_0x538cc7(0x152)]-this[_0x538cc7(0x172)];}get[_0x274c8e(0x1df)](){const _0x5806be=_0x274c8e,_0x242c9a=this[_0x5806be(0x1f5)][_0x5806be(0x165)]();for(let _0x179501=_0x242c9a[_0x5806be(0x1be)]-0x1;_0x179501>=0x0;_0x179501--){const _0x195f49=_0x242c9a[_0x179501];if(!this[_0x5806be(0x231)][_0x5806be(0x18d)](_0x195f49))return _0x195f49[_0x5806be(0x211)]+0x1-this[_0x5806be(0x172)];}return 0x0;}constructor(_0x2abcf9){const _0x242172=_0x274c8e;if(super(_0x2abcf9),this[_0x242172(0x172)]=0x0,this[_0x242172(0x1f9)]=null,this[_0x242172(0x1f5)]=new _0x289794(),this[_0x242172(0x1e0)][_0x242172(0x22f)][_0x242172(0x212)](_0x242172(0x1f1),{}),this[_0x242172(0x15e)]=this[_0x242172(0x1e0)][_0x242172(0x22f)][_0x242172(0x179)](_0x242172(0x13c)),!this[_0x242172(0x15e)])throw new _0x1bb122(_0x242172(0x17f),this);const _0x572333=_0x2abcf9[_0x242172(0x22f)][_0x242172(0x179)](_0x242172(0x225))||_0xcf13d3;this[_0x242172(0x216)]=new RealTimeCollaborationClient[(_0x242172(0x1ba))](_0x572333,this[_0x242172(0x15e)]),this[_0x242172(0x1db)]=this[_0x242172(0x1e0)][_0x242172(0x1b5)][_0x242172(0x215)],this[_0x242172(0x1c6)]=new _0x11ee68(),this[_0x242172(0x1c7)]=[],this[_0x242172(0x236)]=new WeakSet(),this[_0x242172(0x1bd)]=new Set(),this[_0x242172(0x1b2)](_0x242172(0x1dd),!0x1),this[_0x242172(0x1b2)](_0x242172(0x1de),!0x1),this[_0x242172(0x160)]=null,this[_0x242172(0x1ff)]=!0x1,this[_0x242172(0x1e8)]=null,this[_0x242172(0x163)]=0x12c,this[_0x242172(0x18f)]=this[_0x242172(0x163)],this[_0x242172(0x178)]=null,this[_0x242172(0x231)]=new WeakSet(),this[_0x242172(0x199)]=new J(this[_0x242172(0x231)]);}[_0x274c8e(0x230)](){const _0x1cbca5=_0x274c8e,_0x3b0864=this[_0x1cbca5(0x1e0)],_0x5b0c18=_0x3b0864[_0x1cbca5(0x239)][_0x1cbca5(0x179)](_0x4a4c2d),_0x50afe4=_0x3b0864[_0x1cbca5(0x239)][_0x1cbca5(0x179)](_0x33e6c9);this[_0x1cbca5(0x207)](_0x5b0c18,_0x1cbca5(0x183),(_0x527b97,_0x5f25c9)=>{const _0x380676=_0x1cbca5,_0x28240e=_0x5f25c9[0x0];_0x28240e[_0x380676(0x188)]&&(_0x527b97[_0x380676(0x208)]=_0x5b0c18[_0x380676(0x17d)](_0x28240e[_0x380676(0x188)]),_0x527b97[_0x380676(0x1ce)]()),null===_0x28240e[_0x380676(0x188)]&&(_0x527b97[_0x380676(0x208)]=null,_0x527b97[_0x380676(0x1ce)]());},{'priority':_0x1cbca5(0x177)}),this[_0x1cbca5(0x207)](_0x3b0864[_0x1cbca5(0x1b5)][_0x1cbca5(0x215)][_0x1cbca5(0x22b)],_0x1cbca5(0x196),(_0x2ef2d6,_0x5d65cd)=>{const _0x14c5a=_0x1cbca5;_0x5d65cd[_0x14c5a(0x166)]&&this[_0x14c5a(0x194)]();}),this[_0x1cbca5(0x207)](_0x3b0864[_0x1cbca5(0x220)][_0x1cbca5(0x22d)],_0x1cbca5(0x1d6),()=>{const _0x2f05a3=_0x1cbca5;this[_0x2f05a3(0x194)]();}),this[_0x1cbca5(0x201)](),_0x3b0864[_0x1cbca5(0x1b5)]['on'](_0x1cbca5(0x20b),(_0xe62aaa,_0x1fb851)=>{const _0xd75690=_0x1cbca5,_0x53f896=_0x1fb851[0x0];_0x53f896[_0xd75690(0x1b3)]&&(this[_0xd75690(0x1b1)](_0x53f896),this[_0xd75690(0x223)]()&&this[_0xd75690(0x233)]());}),this[_0x1cbca5(0x14f)](),this[_0x1cbca5(0x16d)](_0x1cbca5(0x228))['to'](_0x50afe4,_0x1cbca5(0x198),this,_0x1cbca5(0x1de),(_0x34c2c0,_0x55ce98)=>_0x1cbca5(0x1b9)===_0x34c2c0&&!_0x55ce98),this['on'](_0x1cbca5(0x190),()=>{const _0x163609=_0x1cbca5;this[_0x163609(0x228)]?_0x3b0864[_0x163609(0x16f)](_0x163609(0x197)):_0x3b0864[_0x163609(0x16c)](_0x163609(0x197));}),this[_0x1cbca5(0x228)]?_0x3b0864[_0x1cbca5(0x16f)](_0x1cbca5(0x197)):_0x3b0864[_0x1cbca5(0x16c)](_0x1cbca5(0x197)),this[_0x1cbca5(0x1b2)](_0x1cbca5(0x1c0),!0x1);}async[_0x274c8e(0x1d9)](){const _0x26549c=_0x274c8e,_0x4c329a=this[_0x26549c(0x1e0)][_0x26549c(0x239)][_0x26549c(0x179)](_0x49f860),_0xf992c7=this[_0x26549c(0x1e0)][_0x26549c(0x239)][_0x26549c(0x179)](_0x33e6c9);try{this[_0x26549c(0x1dd)]=!0x0,_0x4c329a[_0x26549c(0x138)](this[_0x26549c(0x15e)]);const _0x27f98c=await this[_0x26549c(0x216)][_0x26549c(0x1d9)](_0xf992c7[_0x26549c(0x1cd)],this[_0x26549c(0x1df)]);await this[_0x26549c(0x17b)](_0x27f98c)&&(this[_0x26549c(0x1dd)]=!0x1,this[_0x26549c(0x200)]());const _0x1148dd=await this[_0x26549c(0x216)][_0x26549c(0x22c)]();_0x4c329a[_0x26549c(0x217)](this[_0x26549c(0x15e)],_0x1148dd),this[_0x26549c(0x144)](),this[_0x26549c(0x1c0)]=!0x0;}catch(_0x39b758){if(function(_0x2dab29){const _0x4371f0=_0x26549c;return _0x4371f0(0x1c4)===_0x2dab29[_0x4371f0(0x171)];}(_0x39b758)&&this[_0x26549c(0x1f9)])await this[_0x26549c(0x156)]();else{if(function(_0x341eaf){const _0x1697e2=_0x26549c;return _0x1697e2(0x19e)===_0x341eaf[_0x1697e2(0x171)];}(_0x39b758)){const _0x112dc4=_0x287f85(this[_0x26549c(0x1e0)][_0x26549c(0x181)],_0x26549c(0x1f6));this[_0x26549c(0x19b)](_0x112dc4);}else{if(!(_0x39b758 instanceof $))throw _0x39b758;this[_0x26549c(0x19b)]();}}}}[_0x274c8e(0x14d)](){const _0x2bae46=_0x274c8e,_0x1cf1f1=this[_0x2bae46(0x1e0)][_0x2bae46(0x239)][_0x2bae46(0x179)](_0x33e6c9),_0x2df711=this[_0x2bae46(0x1e0)][_0x2bae46(0x239)][_0x2bae46(0x179)](_0x49f860);this[_0x2bae46(0x1e0)][_0x2bae46(0x16c)](_0x2bae46(0x14a)),_0x2df711[_0x2bae46(0x1ee)][_0x2bae46(0x18d)](this[_0x2bae46(0x15e)])&&_0x2df711[_0x2bae46(0x138)](this[_0x2bae46(0x15e)]),_0x1cf1f1[_0x2bae46(0x1e2)](this),this[_0x2bae46(0x143)](),super[_0x2bae46(0x14d)]();}async[_0x274c8e(0x17b)](_0x3ba652){const _0x5042f2=_0x274c8e;if(this[_0x5042f2(0x1f9)]!==_0x3ba652[_0x5042f2(0x1f9)]&&this[_0x5042f2(0x178)]!==_0x3ba652[_0x5042f2(0x202)])throw new $();return this[_0x5042f2(0x1f9)]=_0x3ba652[_0x5042f2(0x1f9)],this[_0x5042f2(0x1f3)]([],{..._0x3ba652,'wereChangesApplied':!0x1,'data':_0x3ba652[_0x5042f2(0x170)]},_0x5042f2(0x1d9));}async[_0x274c8e(0x146)](_0x3b3555,_0x3cb302=!0x1){const _0x458fdb=_0x274c8e,{connection:_0x57dd2c}=this[_0x458fdb(0x1e0)][_0x458fdb(0x239)][_0x458fdb(0x179)](_0x33e6c9);RealTimeCollaborationClient[_0x458fdb(0x1ba)][_0x458fdb(0x22c)](_0x57dd2c,this[_0x458fdb(0x15e)])[_0x458fdb(0x1fd)](_0x2ac141=>this[_0x458fdb(0x168)](_0x2ac141))[_0x458fdb(0x175)](_0x4f2048=>{const _0x270470=_0x458fdb;this[_0x270470(0x1e4)](_0x270470(0x1cf),_0x4f2048);}),this[_0x458fdb(0x207)](this[_0x458fdb(0x216)],_0x458fdb(0x1e3),this[_0x458fdb(0x1af)][_0x458fdb(0x16d)](this)),this[_0x458fdb(0x207)](this[_0x458fdb(0x216)],_0x458fdb(0x23a),(_0x2df406,_0x30b323)=>{const _0x3f155c=_0x458fdb;this[_0x3f155c(0x1e4)](_0x3f155c(0x18a),_0x30b323);}),this[_0x458fdb(0x207)](this[_0x458fdb(0x216)],_0x458fdb(0x184),()=>{const _0x3ece0b=_0x458fdb;this[_0x3ece0b(0x1c0)]=!0x1;});const _0x2ebeb4=this[_0x458fdb(0x199)][_0x458fdb(0x1eb)](_0x3b3555);this[_0x458fdb(0x1dd)]=!0x0;const _0x35db26=await this[_0x458fdb(0x216)][_0x458fdb(0x20a)](_0x57dd2c,this[_0x458fdb(0x13a)](_0x3b3555),_0x2ebeb4);if(this[_0x458fdb(0x1f9)]=_0x35db26[_0x458fdb(0x1f9)],_0x3cb302){if(!_0x35db26[_0x458fdb(0x1c5)])return void this[_0x458fdb(0x19b)]();this[_0x458fdb(0x1dd)]=!0x1,this[_0x458fdb(0x200)](),this[_0x458fdb(0x1f5)][_0x458fdb(0x13d)](),this[_0x458fdb(0x172)]=_0x35db26[_0x458fdb(0x1a3)],this[_0x458fdb(0x1f5)][_0x458fdb(0x152)]=this[_0x458fdb(0x172)],await this[_0x458fdb(0x1f3)](_0x3b3555,_0x35db26,_0x458fdb(0x14e));}else await this[_0x458fdb(0x1bb)](_0x35db26,_0x3b3555);this[_0x458fdb(0x144)](),this[_0x458fdb(0x1c0)]=!0x0;}[_0x274c8e(0x144)](){const _0x1e396e=_0x274c8e,_0x306a5a=this[_0x1e396e(0x1e0)][_0x1e396e(0x239)][_0x1e396e(0x179)](_0x49f860),_0x1eaf1e=this[_0x1e396e(0x1e0)][_0x1e396e(0x239)][_0x1e396e(0x179)](_0xf0e334),_0x1287f8=_0x306a5a[_0x1e396e(0x1ee)][_0x1e396e(0x179)](this[_0x1e396e(0x15e)]);_0x1287f8&&_0x1287f8[_0x1e396e(0x1be)]>0x1?_0x1eaf1e[_0x1e396e(0x14b)]():this[_0x1e396e(0x207)](_0x306a5a,_0x1e396e(0x1bc)+this[_0x1e396e(0x15e)],()=>{const _0xd18848=_0x1e396e;0x2===_0x306a5a[_0xd18848(0x1ee)][_0xd18848(0x179)](this[_0xd18848(0x15e)])[_0xd18848(0x1be)]&&_0x1eaf1e[_0xd18848(0x14b)]();});}async[_0x274c8e(0x1af)](_0x1ae0ab,_0x6bc7c1,_0x2980df,_0x2d3b4b){const _0x2e33c3=_0x274c8e;if(!this[_0x2e33c3(0x1dd)]&&this[_0x2e33c3(0x1db)][_0x2e33c3(0x152)]==_0x6bc7c1){const _0x4c6a8c=this[_0x2e33c3(0x147)](_0x2980df,_0x2d3b4b);await this[_0x2e33c3(0x16a)](_0x4c6a8c),this[_0x2e33c3(0x1fa)](_0x4c6a8c,_0x6bc7c1,_0x2980df[_0x2e33c3(0x202)])||this[_0x2e33c3(0x1e4)](_0x2e33c3(0x1a0));}}async[_0x274c8e(0x156)](){const _0xf5fbcc=_0x274c8e;this[_0xf5fbcc(0x143)]();const {locale:_0x3c351d}=this[_0xf5fbcc(0x1e0)];let _0x292a56;try{_0x292a56=await this[_0xf5fbcc(0x216)][_0xf5fbcc(0x1a7)]();}catch{const _0x344ea1=_0x287f85(_0x3c351d,_0xf5fbcc(0x162));return void this[_0xf5fbcc(0x19b)](_0x344ea1);}const _0x531a5b=_0x292a56[_0xf5fbcc(0x1aa)]||_0x292a56[_0xf5fbcc(0x1b6)];if(this[_0xf5fbcc(0x178)]!==_0x531a5b[_0xf5fbcc(0x202)]){const _0x41641c=_0x287f85(_0x3c351d,_0xf5fbcc(0x19d));return void this[_0xf5fbcc(0x19b)](_0x41641c);}await this[_0xf5fbcc(0x146)](this[_0xf5fbcc(0x1e0)][_0xf5fbcc(0x1b5)][_0xf5fbcc(0x215)][_0xf5fbcc(0x1ea)][_0xf5fbcc(0x165)](),!0x0);}[_0x274c8e(0x143)](){const _0x16d4ec=_0x274c8e;this[_0x16d4ec(0x216)][_0x16d4ec(0x15f)](),this[_0x16d4ec(0x1c7)]=[],clearTimeout(this[_0x16d4ec(0x1e8)]),this[_0x16d4ec(0x1f0)](this[_0x16d4ec(0x216)]);}[_0x274c8e(0x168)](_0x282df8){const _0x3f5eae=_0x274c8e,_0x3a9940=this[_0x3f5eae(0x1e0)][_0x3f5eae(0x239)][_0x3f5eae(0x179)](_0x49f860);this[_0x3f5eae(0x207)](_0x3a9940,_0x3f5eae(0x1bc)+this[_0x3f5eae(0x15e)],(_0x4332d6,{session:_0x451397})=>{const _0x39cb46=_0x3f5eae;if(_0x451397['id']===_0x3a9940[_0x39cb46(0x192)]){_0x4332d6[_0x39cb46(0x227)]();const _0x242e7a=this[_0x39cb46(0x1e0)][_0x39cb46(0x239)][_0x39cb46(0x18d)](_0x39cb46(0x186))&&this[_0x39cb46(0x1e0)][_0x39cb46(0x239)][_0x39cb46(0x179)](_0x39cb46(0x186));let _0x1c5cf6=_0x451397[_0x39cb46(0x19f)];_0x242e7a&&_0x242e7a[_0x39cb46(0x19c)]&&(_0x1c5cf6=_0x1c5cf6[_0x39cb46(0x191)](_0x423fa2=>_0x39cb46(0x151)!==_0x423fa2)),this[_0x39cb46(0x1e0)][_0x39cb46(0x239)][_0x39cb46(0x179)](_0x39cb46(0x1fc))[_0x39cb46(0x157)](_0x1c5cf6,this[_0x39cb46(0x15e)]);}}),_0x3a9940[_0x3f5eae(0x217)](this[_0x3f5eae(0x15e)],_0x282df8);}[_0x274c8e(0x201)](){const _0x1a4e51=_0x274c8e,_0x1f4e3e=this[_0x1a4e51(0x1e0)][_0x1a4e51(0x170)][_0x1a4e51(0x1b2)];this[_0x1a4e51(0x1e0)][_0x1a4e51(0x170)][_0x1a4e51(0x1b2)]=(..._0x6f2e83)=>{const _0x33f178=_0x1a4e51;if(!_0x6f2e83[_0x6f2e83[_0x33f178(0x1be)]-0x1][_0x33f178(0x238)])throw new _0x1bb122(_0x33f178(0x224),this);_0x1f4e3e[_0x33f178(0x1a5)](this[_0x33f178(0x1e0)][_0x33f178(0x170)],_0x6f2e83);};}[_0x274c8e(0x14f)](){const _0x4c89af=_0x274c8e;this[_0x4c89af(0x1e0)][_0x4c89af(0x170)]['on'](_0x4c89af(0x230),(_0x30d96e,[_0x8d220e])=>{const _0x150b24=_0x4c89af;if(this[_0x150b24(0x1db)][_0x150b24(0x152)])throw new _0x1bb122(_0x150b24(0x1da),this);_0x30d96e[_0x150b24(0x1ce)](),this[_0x150b24(0x1ec)]();const _0x54bc8a=this[_0x150b24(0x1e0)][_0x150b24(0x22f)][_0x150b24(0x179)](_0x150b24(0x176)),_0x3aa1bd=this[_0x150b24(0x22a)](_0x8d220e,_0x54bc8a);0x0==_0x3aa1bd[_0x150b24(0x1be)]&&_0x3aa1bd[_0x150b24(0x180)](new _0x37ffc1(0x0)),_0x30d96e[_0x150b24(0x208)]=this[_0x150b24(0x146)](_0x3aa1bd)[_0x150b24(0x1fd)](()=>{const _0x221e3b=_0x150b24;this[_0x221e3b(0x1e0)][_0x221e3b(0x239)][_0x221e3b(0x179)](_0x33e6c9)[_0x221e3b(0x203)](this),this[_0x221e3b(0x1e0)][_0x221e3b(0x170)][_0x221e3b(0x23b)](_0x221e3b(0x174));})[_0x150b24(0x175)](_0x5e02f5=>this[_0x150b24(0x1e4)](_0x150b24(0x19a),_0x5e02f5))[_0x150b24(0x1dc)](()=>this[_0x150b24(0x200)]());},{'priority':_0x4c89af(0x177)}),this[_0x4c89af(0x1e0)]['on'](_0x4c89af(0x1d2),async(_0x28d4e6,[_0x516b1e,_0x967cb6])=>{const _0x590b17=_0x4c89af;_0x28d4e6[_0x590b17(0x1ce)]();const _0x2bdc01=this[_0x590b17(0x1e0)][_0x590b17(0x1b5)][_0x590b17(0x215)][_0x590b17(0x1c2)](_0x516b1e);if(!this[_0x590b17(0x1bd)][_0x590b17(0x18d)](_0x516b1e)){const _0x424b33=_0x967cb6&&_0x967cb6[_0x590b17(0x170)]?_0x967cb6[_0x590b17(0x170)]:'',_0x549c92=_0x967cb6&&_0x967cb6[_0x590b17(0x1c1)]?_0x967cb6[_0x590b17(0x1c1)]:{};await this[_0x590b17(0x232)](_0x516b1e,_0x424b33,_0x549c92);}this[_0x590b17(0x1e0)][_0x590b17(0x1b5)][_0x590b17(0x235)]({'isUndoable':!0x1},()=>{const _0x4db593=_0x590b17;_0x2bdc01[_0x4db593(0x17c)]=!0x0,this[_0x4db593(0x1e0)][_0x4db593(0x1b5)][_0x4db593(0x215)][_0x4db593(0x187)][_0x4db593(0x20e)](_0x2bdc01);});},{'priority':_0x4c89af(0x177)});}async[_0x274c8e(0x16a)](_0x51de91){const _0xe49de6=_0x274c8e,_0x2535b7=this[_0xe49de6(0x1e0)][_0xe49de6(0x239)][_0xe49de6(0x179)](_0x4a4c2d),{connection:_0x243e23}=this[_0xe49de6(0x1e0)][_0xe49de6(0x239)][_0xe49de6(0x179)](_0x33e6c9),_0x4eff95=new Set();for(const _0x1ca036 of _0x51de91){const _0x172edf=_0x1ca036[_0xe49de6(0x188)];_0x172edf&&!_0x2535b7[_0xe49de6(0x17d)](_0x172edf)&&_0x4eff95[_0xe49de6(0x1a8)](_0x172edf);}if(0x0===_0x4eff95[_0xe49de6(0x206)])return;const _0x5c4944=await _0x2dedd4[_0xe49de6(0x1fb)](_0x243e23,Array[_0xe49de6(0x1e6)](_0x4eff95));for(const _0x4e02cc of _0x5c4944)_0x2535b7[_0xe49de6(0x17d)](_0x4e02cc['id'])||_0x2535b7[_0xe49de6(0x218)](_0x4e02cc);}[_0x274c8e(0x22a)](_0x30096c,_0x97628a={}){const _0x2e5584=_0x274c8e,_0x53a437=this[_0x2e5584(0x1e0)][_0x2e5584(0x1b5)],_0x8b9a2a=[];let _0x226105=0x0;const _0x108f4c=_0x2e5584(0x205)==typeof _0x30096c?{'main':_0x30096c}:_0x30096c;for(const _0x22e672 of Object[_0x2e5584(0x13f)](_0x108f4c)){if(!this[_0x2e5584(0x1db)][_0x2e5584(0x209)][_0x2e5584(0x18d)](_0x22e672))throw new _0x1bb122(_0x2e5584(0x1d0),this);const _0x2f1a0c=this[_0x2e5584(0x1e0)][_0x2e5584(0x170)][_0x2e5584(0x1ae)](_0x108f4c[_0x22e672]),_0x1463f9=this[_0x2e5584(0x1db)][_0x2e5584(0x1c2)](_0x22e672),_0x2646b5=new _0x2df9ed(_0x53a437[_0x2e5584(0x1b8)](_0x1463f9,0x0),_0x2f1a0c,_0x226105++);_0x8b9a2a[_0x2e5584(0x180)](_0x2646b5);for(const [_0xa2cc06,_0x29760f]of _0x2f1a0c[_0x2e5584(0x229)]){const _0x4c7ae8=_0x53a437[_0x2e5584(0x1e9)](_0x53a437[_0x2e5584(0x17a)](_0x1463f9,_0x29760f[_0x2e5584(0x150)][_0x2e5584(0x137)][_0x2e5584(0x21b)]()),_0x53a437[_0x2e5584(0x17a)](_0x1463f9,_0x29760f[_0x2e5584(0x164)][_0x2e5584(0x137)][_0x2e5584(0x21b)]())),_0x170ac1=new _0x3e2de9(_0xa2cc06,null,_0x4c7ae8,_0x53a437[_0x2e5584(0x229)],!0x0,_0x226105++);_0x8b9a2a[_0x2e5584(0x180)](_0x170ac1);}}if(_0x97628a)for(const [_0x2fbd4d,_0x1fc270]of Object[_0x2e5584(0x140)](_0x97628a)){const _0x28a32b=_0x53a437[_0x2e5584(0x215)][_0x2e5584(0x1c2)](_0x2fbd4d);if(!_0x28a32b)throw new _0x1bb122(_0x2e5584(0x1a9),null);for(const [_0x57e914,_0x29cc01]of Object[_0x2e5584(0x140)](_0x1fc270))if(null!==_0x29cc01){const _0x3cbf3c=new _0x4a077c(_0x28a32b,_0x57e914,null,_0x29cc01,_0x226105++);_0x8b9a2a[_0x2e5584(0x180)](_0x3cbf3c);}}return _0x8b9a2a;}async[_0x274c8e(0x232)](_0x47d52a,_0x4e7bd1,_0x23f2a7){const _0x330e1a=_0x274c8e;this[_0x330e1a(0x22a)]({[_0x47d52a]:_0x4e7bd1},{[_0x47d52a]:_0x23f2a7})[_0x330e1a(0x1e1)]((_0x17e530,_0x384008)=>{const _0x3710fc=_0x330e1a;_0x17e530[_0x3710fc(0x211)]=this[_0x3710fc(0x1db)][_0x3710fc(0x152)]+_0x384008,_0x17e530[_0x3710fc(0x1d8)]=!0x0,this[_0x3710fc(0x1b1)](_0x17e530);}),this[_0x330e1a(0x233)](),await this[_0x330e1a(0x226)]();}async[_0x274c8e(0x1bb)](_0x4af8d0,_0x3a9333){const _0x279f77=_0x274c8e;let _0x15d27a;this[_0x279f77(0x172)]=_0x4af8d0[_0x279f77(0x1a3)];const _0xe8b051=_0x4af8d0[_0x279f77(0x1c5)]&&!_0x4af8d0[_0x279f77(0x21f)],_0x23f03b=_0xe8b051?0x0:_0x4af8d0[_0x279f77(0x170)][_0x279f77(0x211)];if(_0x3a9333[_0x279f77(0x1e1)](_0x278a0c=>{const _0x36c013=_0x279f77;_0x278a0c[_0x36c013(0x1d8)]=!0x0,_0x278a0c[_0x36c013(0x210)]=_0x4af8d0[_0x36c013(0x16e)],_0x278a0c[_0x36c013(0x188)]=null;}),_0xe8b051)_0x15d27a=_0x3a9333,this[_0x279f77(0x15a)](_0x15d27a,_0xe8b051);else{if(_0x4af8d0[_0x279f77(0x21f)]){const _0x24ba8d=this[_0x279f77(0x22a)](_0x4af8d0[_0x279f77(0x21f)]);this[_0x279f77(0x1db)][_0x279f77(0x1ea)][_0x279f77(0x152)]=-_0x24ba8d[_0x279f77(0x1be)],_0x24ba8d[_0x279f77(0x1e1)](_0x2d1aee=>{const _0x3b2e35=_0x279f77;_0x2d1aee[_0x3b2e35(0x211)]-=_0x24ba8d[_0x3b2e35(0x1be)],_0x2d1aee[_0x3b2e35(0x210)]=_0x4af8d0[_0x3b2e35(0x16e)],_0x2d1aee[_0x3b2e35(0x1d8)]=!0x0,_0x2d1aee[_0x3b2e35(0x188)]=null;}),this[_0x279f77(0x15a)](_0x24ba8d,!0x0),this[_0x279f77(0x1f5)][_0x279f77(0x152)]=-_0x24ba8d[_0x279f77(0x1be)]+this[_0x279f77(0x172)],this[_0x279f77(0x159)](_0x24ba8d);}this[_0x279f77(0x1db)][_0x279f77(0x1ea)][_0x279f77(0x152)]=_0x23f03b,_0x15d27a=this[_0x279f77(0x147)](_0x4af8d0[_0x279f77(0x170)],_0x4af8d0[_0x279f77(0x1ad)]),await this[_0x279f77(0x16a)](_0x15d27a),this[_0x279f77(0x15a)](_0x15d27a,_0xe8b051);}_0x4af8d0[_0x279f77(0x202)]&&(this[_0x279f77(0x199)][_0x279f77(0x193)](_0x15d27a,_0x4af8d0[_0x279f77(0x202)]),this[_0x279f77(0x178)]=_0x4af8d0[_0x279f77(0x202)]),this[_0x279f77(0x1f5)][_0x279f77(0x152)]=_0x23f03b+this[_0x279f77(0x172)],this[_0x279f77(0x159)](_0x15d27a),_0x3a9333[_0x279f77(0x191)](_0x2f180e=>{const _0x326a78=_0x279f77,_0x4c0707=this[_0x326a78(0x1d5)](_0x2f180e);return _0x4c0707&&!this[_0x326a78(0x1bd)][_0x326a78(0x18d)](_0x4c0707);})[_0x279f77(0x1e1)]((_0x278453,_0x354cbd)=>{const _0x7e88a1=_0x279f77;_0x278453[_0x7e88a1(0x211)]=this[_0x7e88a1(0x1db)][_0x7e88a1(0x152)]+_0x354cbd,this[_0x7e88a1(0x1b1)](_0x278453);}),this[_0x279f77(0x223)]()?(this[_0x279f77(0x18f)]=0x0,this[_0x279f77(0x233)](!0x0),await this[_0x279f77(0x226)]()):(this[_0x279f77(0x1dd)]=!0x1,this[_0x279f77(0x200)]());}[_0x274c8e(0x1e4)](_0x279bfd,_0x2b33b8){const _0x5c0e5a=_0x274c8e,_0x2e8545=_0x2b33b8&&_0x2b33b8[_0x5c0e5a(0x1bf)];if(_0x2e8545&&_0x2e8545[_0x5c0e5a(0x169)](_0x5c0e5a(0x22e)))throw _0x2b33b8;const _0xe2be10=this[_0x5c0e5a(0x1e0)][_0x5c0e5a(0x239)][_0x5c0e5a(0x179)](_0x33e6c9);throw this[_0x5c0e5a(0x1dd)]=!0x0,_0xe2be10[_0x5c0e5a(0x15f)](),this[_0x5c0e5a(0x1e0)][_0x5c0e5a(0x16c)](_0x5c0e5a(0x18c)),new _0x1bb122(_0x279bfd,this[_0x5c0e5a(0x1e0)],_0x2e8545?{'originalError':_0x2e8545}:void 0x0);}[_0x274c8e(0x1b1)](_0x27a99d){const _0x13eb39=_0x274c8e;this[_0x13eb39(0x236)][_0x13eb39(0x18d)](_0x27a99d)||(this[_0x13eb39(0x236)][_0x13eb39(0x1a8)](_0x27a99d),this[_0x13eb39(0x1c7)][_0x13eb39(0x180)](_0x27a99d),this[_0x13eb39(0x160)]||_0x13eb39(0x1d1)==_0x27a99d[_0x13eb39(0x237)]&&!_0x27a99d[_0x13eb39(0x18b)]||this[_0x13eb39(0x1ec)]());}[_0x274c8e(0x233)](_0x3126d5=!0x1){const _0x375892=_0x274c8e;!_0x3126d5&&this[_0x375892(0x1dd)]||(this[_0x375892(0x1dd)]=!0x0,clearTimeout(this[_0x375892(0x1e8)]),this[_0x375892(0x1e8)]=setTimeout(()=>{const _0x42deb8=_0x375892;this[_0x42deb8(0x1ed)]()[_0x42deb8(0x1fd)](_0x33a4b8=>{const _0x1fbf9f=_0x42deb8;_0x33a4b8&&(this[_0x1fbf9f(0x200)](),this[_0x1fbf9f(0x1dd)]=!0x1);})[_0x42deb8(0x175)](_0x75195c=>{const _0x2eed5f=_0x42deb8;this[_0x2eed5f(0x200)](),this[_0x2eed5f(0x1dd)]=!0x1,function(_0x1d40dc){const _0x19a106=_0x2eed5f;return _0x1d40dc[_0x19a106(0x1bf)][_0x19a106(0x169)](_0x19a106(0x189))||_0x1d40dc[_0x19a106(0x1bf)][_0x19a106(0x169)](_0x19a106(0x1ab))||_0x1d40dc[_0x19a106(0x1bf)][_0x19a106(0x169)](_0x19a106(0x21c));}(_0x75195c)||this[_0x2eed5f(0x1e4)](_0x75195c[_0x2eed5f(0x1bf)],_0x75195c);});},this[_0x375892(0x18f)]));}[_0x274c8e(0x226)](){return new Promise(_0x1932ce=>{const _0x184e26=_0x4a06;this['on'](_0x184e26(0x1ac),()=>{_0x1932ce();});});}async[_0x274c8e(0x1ed)](){const _0x519a3f=_0x274c8e,_0x5b1c6a=this[_0x519a3f(0x1e0)][_0x519a3f(0x239)][_0x519a3f(0x179)](_0xf0e334);if(this[_0x519a3f(0x1f2)]()&&(_0x5b1c6a[_0x519a3f(0x14b)](),this[_0x519a3f(0x1ff)]=!0x1),!this[_0x519a3f(0x223)]())return!0x0;const _0x2a73d1=[...this[_0x519a3f(0x1c7)]];for(const _0x1d3877 of _0x2a73d1)_0x1d3877[_0x519a3f(0x20d)]=this[_0x519a3f(0x1db)][_0x519a3f(0x1ea)][_0x519a3f(0x158)](_0x1d3877);const _0x627c00=this[_0x519a3f(0x199)][_0x519a3f(0x1eb)](_0x2a73d1),_0x3a0b04=G++,_0x2986cc=this[_0x519a3f(0x13a)](_0x2a73d1),_0x3d8341=await this[_0x519a3f(0x216)][_0x519a3f(0x21a)](_0x2986cc,_0x2986cc[_0x519a3f(0x211)],_0x627c00);try{return await this[_0x519a3f(0x1f3)](_0x2a73d1,_0x3d8341,_0x3a0b04);}catch(_0x43a26f){return this[_0x519a3f(0x1e4)](_0x519a3f(0x1b7),_0x43a26f);}}async[_0x274c8e(0x1f3)](_0x50a675,_0x5e3604,_0x104e0f){const _0x2e939c=_0x274c8e;if(_0x2e939c(0x23a)in _0x5e3604)throw _0x5e3604[_0x2e939c(0x23a)];let _0x1a41a2=!0x1;if(_0x5e3604[_0x2e939c(0x1c5)]){_0x5e3604[_0x2e939c(0x202)]&&(this[_0x2e939c(0x178)]=_0x5e3604[_0x2e939c(0x202)]),this[_0x2e939c(0x1c7)]=this[_0x2e939c(0x1c7)][_0x2e939c(0x191)](_0x34a5ae=>!_0x50a675[_0x2e939c(0x173)](_0x34a5ae));for(const _0x3c2a60 of _0x50a675)_0x3c2a60[_0x2e939c(0x210)]=_0x2e939c(0x222)in _0x5e3604&&_0x5e3604[_0x2e939c(0x222)]||void 0x0;K(_0x50a675,_0x5e3604[_0x2e939c(0x152)]-_0x50a675[_0x2e939c(0x1be)]),this[_0x2e939c(0x159)](_0x50a675);const _0x4561da=_0x50a675[_0x2e939c(0x191)](_0x6d5aeb=>{const _0x3630c4=_0x2e939c;if(!_0x6d5aeb[_0x3630c4(0x1d8)])return!0x1;const _0x25d48e=this[_0x3630c4(0x1d5)](_0x6d5aeb);return _0x25d48e&&!this[_0x3630c4(0x1bd)][_0x3630c4(0x18d)](_0x25d48e);});K(_0x4561da,this[_0x2e939c(0x1db)][_0x2e939c(0x152)]),this[_0x2e939c(0x15a)](_0x4561da),_0x1a41a2=!0x0,this[_0x2e939c(0x18f)]=this[_0x2e939c(0x163)];}else{const _0x460d5e=this[_0x2e939c(0x147)](_0x5e3604[_0x2e939c(0x170)],_0x5e3604[_0x2e939c(0x1ad)])[_0x2e939c(0x191)](_0x5c043c=>_0x5c043c[_0x2e939c(0x211)]>=this[_0x2e939c(0x195)]);_0x460d5e[_0x2e939c(0x1e1)](_0xc4f055=>this[_0x2e939c(0x20f)](_0xc4f055)),this[_0x2e939c(0x1c7)]=this[_0x2e939c(0x1c7)][_0x2e939c(0x191)](_0x2c34e2=>!_0x2c34e2[_0x2e939c(0x1d8)]||!this[_0x2e939c(0x1bd)][_0x2e939c(0x18d)](this[_0x2e939c(0x1d5)](_0x2c34e2))),this[_0x2e939c(0x1c7)][_0x2e939c(0x1be)]&&K(this[_0x2e939c(0x1c7)],this[_0x2e939c(0x1c7)][0x0][_0x2e939c(0x211)]),await this[_0x2e939c(0x16a)](_0x460d5e),_0x1a41a2=this[_0x2e939c(0x1fa)](_0x460d5e,_0x5e3604[_0x2e939c(0x152)],_0x5e3604[_0x2e939c(0x202)]),this[_0x2e939c(0x18f)]=Math[_0x2e939c(0x1a4)](this[_0x2e939c(0x18f)]/0x2);}return _0x1a41a2?!this[_0x2e939c(0x223)]()||(this[_0x2e939c(0x233)](!0x0),!0x1):this[_0x2e939c(0x1e4)](_0x2e939c(0x15d));}[_0x274c8e(0x1fa)](_0x38846d,_0x3ecb87,_0x4e95c5){const _0xc5fe15=_0x274c8e;try{const _0x17f6c7={'document':this[_0xc5fe15(0x1db)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x59defa,operationsB:_0x33dd70,originalOperations:_0x28cb05}=_0x5f3ca8(_0x38846d,this[_0xc5fe15(0x1c7)],_0x17f6c7);K(_0x59defa,this[_0xc5fe15(0x1db)][_0xc5fe15(0x152)]),K(_0x33dd70,_0x3ecb87);for(const _0x18641e of _0x59defa){const _0x23adc2=_0x28cb05[_0xc5fe15(0x179)](_0x18641e);_0x18641e[_0xc5fe15(0x188)]=_0x23adc2?_0x23adc2[_0xc5fe15(0x188)]:null;}_0x4e95c5&&(this[_0xc5fe15(0x199)][_0xc5fe15(0x193)](_0x38846d,_0x4e95c5),this[_0xc5fe15(0x178)]=_0x4e95c5),this[_0xc5fe15(0x1c7)]=[..._0x33dd70],this[_0xc5fe15(0x15a)](_0x59defa),this[_0xc5fe15(0x159)](_0x38846d);}catch(_0x1db113){return console[_0xc5fe15(0x23a)](_0x1db113),!0x1;}return!0x0;}[_0x274c8e(0x15a)](_0x474cc5,_0xf8bbe4=!0x1){const _0x1003a5=_0x274c8e;this[_0x1003a5(0x1e0)][_0x1003a5(0x1b5)][_0x1003a5(0x235)]({'isUndoable':!0x1,'isLocal':!0x1},_0x89629e=>{const _0x22bc8f=_0x1003a5;for(const _0x3a5010 of _0x474cc5)this[_0x22bc8f(0x236)][_0x22bc8f(0x1a8)](_0x3a5010),this[_0x22bc8f(0x20f)](_0x3a5010),_0x89629e[_0x22bc8f(0x20c)][_0x22bc8f(0x1d3)](_0x3a5010),this[_0x22bc8f(0x1e0)][_0x22bc8f(0x1b5)][_0x22bc8f(0x20b)](_0x3a5010);});}[_0x274c8e(0x20f)](_0xea65a1){const _0x4d67f3=_0x274c8e,_0x4ccfb1=this[_0x4d67f3(0x1d5)](_0xea65a1);_0x4ccfb1&&this[_0x4d67f3(0x1bd)][_0x4d67f3(0x1a8)](_0x4ccfb1);}[_0x274c8e(0x1d5)](_0x33dc24){const _0x2570c0=_0x274c8e;let _0x4133a4,_0x16e332;switch(_0x33dc24[_0x2570c0(0x237)]){case _0x2570c0(0x1b0):_0x4133a4=_0x33dc24[_0x2570c0(0x234)][_0x2570c0(0x1c8)];break;case _0x2570c0(0x1d1):if(_0x16e332=_0x33dc24[_0x2570c0(0x1a2)],!_0x16e332)return null;_0x4133a4=_0x16e332[_0x2570c0(0x1c8)];break;case _0x2570c0(0x219):_0x4133a4=_0x33dc24[_0x2570c0(0x1c8)];break;case _0x2570c0(0x185):_0x4133a4=_0x33dc24[_0x2570c0(0x13b)];break;case _0x2570c0(0x142):_0x4133a4=_0x33dc24[_0x2570c0(0x15c)][_0x2570c0(0x1c8)];break;default:return null;}return _0x4133a4[_0x2570c0(0x17e)];}[_0x274c8e(0x159)](_0x2fa49f){const _0x6abcbd=_0x274c8e;_0x2fa49f[_0x6abcbd(0x1e1)](_0x486d92=>{const _0x13fde4=_0x6abcbd,_0x1f1865=_0x486d92[_0x13fde4(0x1c9)]();_0x1f1865[_0x13fde4(0x188)]=_0x486d92[_0x13fde4(0x188)],_0x1f1865[_0x13fde4(0x1d8)]=!!_0x486d92[_0x13fde4(0x1d8)],_0x1f1865[_0x13fde4(0x210)]=_0x486d92[_0x13fde4(0x210)],_0x1f1865[_0x13fde4(0x211)]+=this[_0x13fde4(0x172)],_0x486d92[_0x13fde4(0x154)]&&this[_0x13fde4(0x231)][_0x13fde4(0x1a8)](_0x1f1865),this[_0x13fde4(0x1f5)][_0x13fde4(0x1d3)](_0x1f1865);});}[_0x274c8e(0x19b)](_0x11c814){const _0x544143=_0x274c8e,_0x484365=this[_0x544143(0x1e0)][_0x544143(0x239)][_0x544143(0x179)](_0x544143(0x16b)),_0xca3d43=this[_0x544143(0x1e0)][_0x544143(0x181)];_0x11c814||(_0x11c814=_0x287f85(_0xca3d43,_0x544143(0x1c3))),_0x484365[_0x544143(0x1a1)](_0x11c814,{'title':_0x287f85(_0xca3d43,_0x544143(0x149)),'namespace':_0x544143(0x23c)}),this[_0x544143(0x1de)]=!0x0,clearTimeout(this[_0x544143(0x1e8)]),this[_0x544143(0x1c7)]=[],this[_0x544143(0x1e0)][_0x544143(0x239)][_0x544143(0x179)](_0x33e6c9)[_0x544143(0x15f)]();}[_0x274c8e(0x1ec)](){const _0x288dc2=_0x274c8e;this[_0x288dc2(0x160)]||(this[_0x288dc2(0x160)]=this[_0x288dc2(0x1e0)][_0x288dc2(0x239)][_0x288dc2(0x179)](_0x4dacc1)[_0x288dc2(0x1a8)](_0x287f85(this[_0x288dc2(0x1e0)][_0x288dc2(0x181)],_0x288dc2(0x15b))));}[_0x274c8e(0x200)](){const _0x5c93e3=_0x274c8e;this[_0x5c93e3(0x160)]&&(this[_0x5c93e3(0x1e0)][_0x5c93e3(0x239)][_0x5c93e3(0x179)](_0x4dacc1)[_0x5c93e3(0x213)](this[_0x5c93e3(0x160)]),this[_0x5c93e3(0x160)]=null);}[_0x274c8e(0x13a)](_0x5541d3){const _0x3f2752=_0x274c8e,_0x24210b=_0x5541d3[_0x3f2752(0x1cc)](_0x3ad19a=>_0x3ad19a[_0x3f2752(0x145)]());return this[_0x3f2752(0x1c6)][_0x3f2752(0x1fe)](_0x24210b);}[_0x274c8e(0x147)](_0x454fb1,_0x23d9ba){const _0x48dade=_0x274c8e;return this[_0x48dade(0x1c6)][_0x48dade(0x214)](_0x454fb1)[_0x48dade(0x1cc)]((_0x3ca750,_0x10eef5)=>{const _0xf1c787=_0x48dade,_0x580791=_0xf1c787(0x230)==_0x23d9ba[_0x10eef5][_0xf1c787(0x237)];if(_0xf1c787(0x155)==_0x3ca750[_0xf1c787(0x1b4)]){const _0x15d051=_0x3ca750[_0xf1c787(0x234)][_0xf1c787(0x1c8)];!this[_0xf1c787(0x1db)][_0xf1c787(0x1c2)](_0x15d051)&&(this[_0xf1c787(0x1db)][_0xf1c787(0x1d7)](_0xf1c787(0x21e),_0x15d051)[_0xf1c787(0x1e5)]=!0x1);}const _0x791e07=_0x50eb62[_0xf1c787(0x1d4)](_0x3ca750,this[_0xf1c787(0x1db)]);return _0x791e07[_0xf1c787(0x20d)]=_0x3ca750[_0xf1c787(0x20d)],_0x791e07[_0xf1c787(0x1d8)]=_0x580791,_0x791e07[_0xf1c787(0x188)]=_0x580791?null:_0x23d9ba[_0x10eef5][_0xf1c787(0x141)],_0x791e07[_0xf1c787(0x154)]=_0xf1c787(0x1f8)===_0x23d9ba[_0x10eef5][_0xf1c787(0x237)],_0x791e07[_0xf1c787(0x210)]=_0x23d9ba[_0x10eef5][_0xf1c787(0x210)],_0x791e07;});}[_0x274c8e(0x194)](){const _0x288fa7=_0x274c8e;this[_0x288fa7(0x1ff)]=!0x0,this[_0x288fa7(0x1f2)]()?this[_0x288fa7(0x233)]():this[_0x288fa7(0x1ff)]=!0x1;}[_0x274c8e(0x1f2)](){const _0x18d414=_0x274c8e,_0x21d417=this[_0x18d414(0x1e0)][_0x18d414(0x239)][_0x18d414(0x179)](_0x49f860)[_0x18d414(0x1ee)][_0x18d414(0x179)](this[_0x18d414(0x15e)]);return!this[_0x18d414(0x1e0)][_0x18d414(0x1f4)]&&!!_0x21d417&&_0x21d417[_0x18d414(0x1be)]>0x1&&this[_0x18d414(0x1ff)];}[_0x274c8e(0x223)](){const _0xaab3b9=_0x274c8e;return this[_0xaab3b9(0x1c7)][_0xaab3b9(0x1be)]>0x0||this[_0xaab3b9(0x1f2)]();}}class $ extends Error{}function K(_0x43d97a,_0x328c9b){const _0x216c5c=_0x274c8e;for(const _0x4001c7 of _0x43d97a)_0x4001c7[_0x216c5c(0x211)]=_0x328c9b++;}class J{[_0x274c8e(0x1e7)];[_0x274c8e(0x1ef)];constructor(_0x3ce811){const _0x1eda69=_0x274c8e;this[_0x1eda69(0x1e7)]=_0x3ce811,this[_0x1eda69(0x1ef)]=new WeakMap();}[_0x274c8e(0x1eb)](_0x17fc10){const _0x584f08=_0x274c8e;let _0x31178d=_0x17fc10[_0x584f08(0x1be)];for(;_0x31178d--;){const _0xdabb4a=_0x17fc10[_0x31178d];if(!this[_0x584f08(0x1e7)][_0x584f08(0x18d)](_0xdabb4a)){if(!this[_0x584f08(0x1ef)][_0x584f08(0x18d)](_0xdabb4a)){const _0x3b7843=_0x32700c()[_0x584f08(0x21b)](0x1,0x12);this[_0x584f08(0x1ef)][_0x584f08(0x1b2)](_0xdabb4a,_0x3b7843);}return this[_0x584f08(0x1ef)][_0x584f08(0x179)](_0xdabb4a);}}}[_0x274c8e(0x193)](_0x164af7,_0x456fd0){const _0x53b973=_0x274c8e;if(!_0x456fd0)return;let _0x51f1c2=_0x164af7[_0x53b973(0x1be)];for(;_0x51f1c2--;){const _0x583c8d=_0x164af7[_0x51f1c2];this[_0x53b973(0x1e7)][_0x53b973(0x18d)](_0x583c8d)||this[_0x53b973(0x1ef)][_0x53b973(0x1b2)](_0x583c8d,_0x456fd0);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23638c=_0x7450;(function(_0xc67afc,_0xa2dea){const _0x9682cc=_0x7450,_0x564041=_0xc67afc();while(!![]){try{const _0xf4925f=-parseInt(_0x9682cc(0x164))/0x1*(-parseInt(_0x9682cc(0x146))/0x2)+-parseInt(_0x9682cc(0x13a))/0x3+parseInt(_0x9682cc(0x13d))/0x4+parseInt(_0x9682cc(0x14d))/0x5*(parseInt(_0x9682cc(0x166))/0x6)+-parseInt(_0x9682cc(0x147))/0x7*(-parseInt(_0x9682cc(0x14c))/0x8)+-parseInt(_0x9682cc(0x152))/0x9+parseInt(_0x9682cc(0x151))/0xa*(-parseInt(_0x9682cc(0x157))/0xb);if(_0xf4925f===_0xa2dea)break;else _0x564041['push'](_0x564041['shift']());}catch(_0x5cbc1b){_0x564041['push'](_0x564041['shift']());}}}(_0x47ad,0x9d1a8));import{ContextPlugin as _0x49283c}from'ckeditor5/src/core.js';import{Collection as _0x1010bf,CKEditorError as _0x2afa86}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4b347b}from'./websocketgateway.js';function _0x7450(_0x3eb769,_0x22d05){const _0x47adf7=_0x47ad();return _0x7450=function(_0x7450f7,_0x1ae973){_0x7450f7=_0x7450f7-0x13a;let _0x571bec=_0x47adf7[_0x7450f7];return _0x571bec;},_0x7450(_0x3eb769,_0x22d05);}import{Users as _0x5ae249}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x49283c{[_0x23638c(0x143)];[_0x23638c(0x16e)];[_0x23638c(0x170)];[_0x23638c(0x178)];[_0x23638c(0x159)];[_0x23638c(0x161)];static get[_0x23638c(0x16d)](){const _0x5d0eb8=_0x23638c;return _0x5d0eb8(0x169);}static get[_0x23638c(0x13b)](){return!0x0;}static get[_0x23638c(0x148)](){return!0x0;}static get[_0x23638c(0x13c)](){return[_0x4b347b,_0x5ae249];}constructor(_0x5d848a){const _0x3b2a2e=_0x23638c;super(_0x5d848a),this[_0x3b2a2e(0x143)]=new Map(),this[_0x3b2a2e(0x16e)]=new Map(),this[_0x3b2a2e(0x170)]=new _0x1010bf(),this[_0x3b2a2e(0x178)]=new Map(),this[_0x3b2a2e(0x159)]=0x0,this[_0x3b2a2e(0x161)]=this[_0x3b2a2e(0x16c)][_0x3b2a2e(0x14b)][_0x3b2a2e(0x16f)](_0x5ae249);}[_0x23638c(0x140)](){const _0x12109d=_0x23638c,_0x10cfeb=this[_0x12109d(0x16c)][_0x12109d(0x14b)][_0x12109d(0x16f)](_0x4b347b);this[_0x12109d(0x15e)](_0x10cfeb,_0x12109d(0x15c),(_0x340874,_0x657335,_0x5d47ba)=>{const _0x51b860=_0x12109d;if(_0x51b860(0x15b)!==_0x5d47ba)this[_0x51b860(0x143)][_0x51b860(0x13e)](_0x49968a=>_0x49968a[_0x51b860(0x162)]()),this[_0x51b860(0x16e)][_0x51b860(0x13e)](_0x5e1e02=>_0x5e1e02[_0x51b860(0x162)]()),this[_0x51b860(0x170)][_0x51b860(0x162)]();else{for(const [_0x564391,_0x13b444]of this[_0x51b860(0x178)])for(const _0x16e48d of _0x13b444)this[_0x51b860(0x177)](_0x564391,_0x16e48d);}}),this[_0x12109d(0x144)](_0x10cfeb[_0x12109d(0x163)]['me'],!0x0);}[_0x23638c(0x142)](_0x3e9c2d,_0x102433){const _0x1d589c=_0x23638c;if(this[_0x1d589c(0x178)][_0x1d589c(0x160)](_0x3e9c2d))throw new _0x2afa86(_0x1d589c(0x13f),null,{'channelId':_0x3e9c2d});this[_0x1d589c(0x178)][_0x1d589c(0x165)](_0x3e9c2d,_0x102433),this[_0x1d589c(0x143)][_0x1d589c(0x165)](_0x3e9c2d,new _0x1010bf()),this[_0x1d589c(0x16e)][_0x1d589c(0x165)](_0x3e9c2d,new _0x1010bf()),this[_0x1d589c(0x15e)](_0x102433,_0x1d589c(0x153),(_0x55bb91,_0x39a036)=>this[_0x1d589c(0x177)](_0x3e9c2d,_0x39a036)),this[_0x1d589c(0x15e)](_0x102433,_0x1d589c(0x154),(_0x3fe2e1,_0x5592cd)=>this[_0x1d589c(0x14a)](_0x3e9c2d,_0x5592cd));for(const _0x5639b9 of _0x102433)this[_0x1d589c(0x177)](_0x3e9c2d,_0x5639b9);}[_0x23638c(0x15a)](_0x27272d){const _0x20d2a3=_0x23638c;if(!this[_0x20d2a3(0x178)][_0x20d2a3(0x160)](_0x27272d))throw new _0x2afa86(_0x20d2a3(0x16b),null,{'channelId':_0x27272d});const _0x20836b=this[_0x20d2a3(0x178)][_0x20d2a3(0x16f)](_0x27272d);this[_0x20d2a3(0x173)](_0x20836b);for(const _0x5d0205 of _0x20836b)_0x20d2a3(0x15b)===this[_0x20d2a3(0x16c)][_0x20d2a3(0x14b)][_0x20d2a3(0x16f)](_0x4b347b)[_0x20d2a3(0x16a)]&&this[_0x20d2a3(0x14a)](_0x27272d,_0x5d0205);this[_0x20d2a3(0x178)][_0x20d2a3(0x15f)](_0x27272d),this[_0x20d2a3(0x143)][_0x20d2a3(0x15f)](_0x27272d),this[_0x20d2a3(0x16e)][_0x20d2a3(0x15f)](_0x27272d);}get[_0x23638c(0x167)](){const _0x29ebfa=_0x23638c;return this[_0x29ebfa(0x16c)][_0x29ebfa(0x14b)][_0x29ebfa(0x16f)](_0x4b347b)[_0x29ebfa(0x163)][_0x29ebfa(0x179)];}[_0x23638c(0x174)](_0x343a5c){const _0x400732=_0x23638c;for(const _0x250720 of this[_0x400732(0x143)][_0x400732(0x14f)]())for(const _0xf6f74a of _0x250720)if(_0xf6f74a['id']===_0x343a5c)return _0xf6f74a[_0x400732(0x145)];}[_0x23638c(0x176)](_0x3aa01a,_0x31c544){const _0x14f2db=_0x23638c,_0xea7946=_0x31c544?[this[_0x14f2db(0x143)][_0x14f2db(0x16f)](_0x31c544)]:this[_0x14f2db(0x143)][_0x14f2db(0x14f)](),_0xbd7391=new Set();for(const _0x2a4193 of _0xea7946)for(const _0x905c1f of _0x2a4193)_0x905c1f[_0x14f2db(0x145)]['id']===_0x3aa01a['id']&&_0xbd7391[_0x14f2db(0x153)](_0x905c1f['id']);return _0xbd7391;}[_0x23638c(0x149)](_0x30b5bd){const _0x2833d2=_0x23638c;for(const _0x50cd01 of this[_0x2833d2(0x143)][_0x2833d2(0x14f)]())for(const _0x10cf7e of _0x50cd01)if(_0x10cf7e[_0x2833d2(0x145)]===_0x30b5bd)return _0x10cf7e[_0x2833d2(0x158)];}[_0x23638c(0x177)](_0x2999ad,_0x188db4){const _0x5de4f3=_0x23638c;if(_0x5de4f3(0x15b)!==this[_0x5de4f3(0x16c)][_0x5de4f3(0x14b)][_0x5de4f3(0x16f)](_0x4b347b)[_0x5de4f3(0x16a)])return;const _0x5f03ca=_0x188db4[_0x5de4f3(0x145)],_0x83c73b=this[_0x5de4f3(0x161)][_0x5de4f3(0x156)](_0x5f03ca['id'])||this[_0x5de4f3(0x144)](_0x5f03ca),_0x5816fd=Object[_0x5de4f3(0x141)]({},_0x188db4,{'user':_0x83c73b});if(this[_0x5de4f3(0x143)][_0x5de4f3(0x16f)](_0x2999ad)[_0x5de4f3(0x153)](_0x5816fd),!_0x5f03ca[_0x5de4f3(0x14e)]){const _0x45ec7a=this[_0x5de4f3(0x16e)][_0x5de4f3(0x16f)](_0x2999ad);_0x45ec7a[_0x5de4f3(0x160)](_0x83c73b['id'])||_0x45ec7a[_0x5de4f3(0x153)](_0x83c73b),this[_0x5de4f3(0x170)][_0x5de4f3(0x160)](_0x83c73b['id'])||_0x5f03ca[_0x5de4f3(0x14e)]||this[_0x5de4f3(0x170)][_0x5de4f3(0x153)](_0x83c73b,_0x83c73b[_0x5de4f3(0x168)]?0x0:void 0x0);}this[_0x5de4f3(0x175)](_0x5de4f3(0x15d)+_0x2999ad,{'channelId':_0x2999ad,'session':_0x5816fd});}[_0x23638c(0x14a)](_0x12fff3,_0x3cb0c4){const _0x299973=_0x23638c;if(_0x299973(0x15b)!==this[_0x299973(0x16c)][_0x299973(0x14b)][_0x299973(0x16f)](_0x4b347b)[_0x299973(0x16a)])return;const _0x1023cc=this[_0x299973(0x16e)][_0x299973(0x16f)](_0x12fff3),_0x4e1f7d=_0x3cb0c4[_0x299973(0x145)];_0x4e1f7d['id']&&(this[_0x299973(0x143)][_0x299973(0x16f)](_0x12fff3)[_0x299973(0x154)](_0x3cb0c4['id']),_0x1023cc[_0x299973(0x160)](_0x4e1f7d['id'])&&!this[_0x299973(0x176)](_0x4e1f7d,_0x12fff3)[_0x299973(0x172)]&&_0x1023cc[_0x299973(0x154)](_0x4e1f7d['id']),this[_0x299973(0x170)][_0x299973(0x16f)](_0x4e1f7d['id'])&&!this[_0x299973(0x176)](_0x4e1f7d)[_0x299973(0x172)]&&this[_0x299973(0x170)][_0x299973(0x154)](_0x4e1f7d['id']));}[_0x23638c(0x144)](_0xa2f227,_0x3f3a23){const _0x31a3fd=_0x23638c,_0x3cca67=this[_0x31a3fd(0x161)][_0x31a3fd(0x171)](_0xa2f227);return _0x3f3a23&&this[_0x31a3fd(0x161)][_0x31a3fd(0x150)](_0xa2f227['id']),_0x3cca67[_0x31a3fd(0x155)]=this[_0x31a3fd(0x159)]++,_0x3cca67;}}function _0x47ad(){const _0x14aa1b=['connection','103718PIgfLj','set','3450NXmUcd','mySessionId','isMe','Sessions','state','sessions-unregister-not-exist','context','pluginName','channelConnectedUsers','get','allConnectedUsers','addUser','size','stopListening','getUserBySessionId','fire','getUserSessions','_handleSessionAdd','_registeredSessions','sessionId','457023bolUOK','isOfficialPlugin','requires','4752964trSZhm','forEach','sessions-register-already-registered','init','assign','register','channelSessions','_createUser','user','2JTjnHo','7ZxJkcw','isPremiumPlugin','getUserRole','_handleSessionRemove','plugins','7439176RjkFVc','1150cghWgk','hiddenInPresenceList','values','defineMe','20cJzfeT','2090385zdiWFJ','add','remove','orderNumber','getUser','7293022GELPFh','role','_uniqueUsersCount','unregister','connected','change:state','sessionAdd:','listenTo','delete','has','_users','clear'];_0x47ad=function(){return _0x14aa1b;};return _0x47ad();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3ca79c=_0xd126;function _0x2538(){const _0x268868=['newRange','_createdBatches','516FiyRTo','createUIElement','user:position:','remove','1bbIhWx','getPositions','isPremiumPlugin','toRange','getContainedElement','UserMarkers','6269010bxnVeq','mouseleave','clear','schema','start','false','getNearestSelectionRange','isCollapsed','color','removeClass','setCustomProperty','toDomElement','_domEmitter','selection','spellcheck','markerRange','removeMarker','marker','getStart','ck-user__marker\x20','createElement','3lYyqgO','9uaoWwG','275219hbuNSu','addMarker','root','isOfficialPlugin','$graveyard','data-session-id','tableCell','oldRange','rootName','user:range:','listenTo','fromRange','editing','destroy','name','orderNumber','mouseenter','keydown','$text','for','model','textContent','ck-user__marker-tooltip','editingDowncast','hasDomSelection','detach','commands','userPositionMarker','contenteditable','createRange','startsWith','render','isInline','isSimilar','change:range','user:','conversion','requires','outerHTML','markerToElement','12086710JIzzvD','isDocumentOperation','getMarkerClass','reconvertMarker','document','getRange','delete','ck-user__selection','pluginName','enqueueChange','deletionPosition','update:user:range','split','updateMarker','add','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','get','set','getAttribute','6186zKTqIF','classList','setAttribute','has','undo','markers','highest','isLimit','span','431764iyRWua','innerHTML','hasContent','afterInit','296aGVFUe','getUserBySessionId','view','mapper','getSelectionClass','225576uyuGTQ','markerNameToElements','element','user:position','user:range','527654ZhmfYO','markerName','init','getCustomProperty','ck-user__marker_hovered','addEventListener','parent','stopListening','isObject','applyOperation','nodeAfter','getFirstRange','batch','change','editor','type','createUserMarkerOperations','plugins','size','mySessionId','end','markerToHighlight','4260iNgSWe','checkChild','Escape'];_0x2538=function(){return _0x268868;};return _0x2538();}function _0xd126(_0x3a8426,_0x28a8d6){const _0x253891=_0x2538();return _0xd126=function(_0xd1269a,_0x1868ee){_0xd1269a=_0xd1269a-0x125;let _0x1cb877=_0x253891[_0xd1269a];return _0x1cb877;},_0xd126(_0x3a8426,_0x28a8d6);}(function(_0x11cdda,_0x45dfcd){const _0x2fbec6=_0xd126,_0x4905ef=_0x11cdda();while(!![]){try{const _0x141e8c=parseInt(_0x2fbec6(0x19c))/0x1*(parseInt(_0x2fbec6(0x17d))/0x2)+parseInt(_0x2fbec6(0x129))/0x3*(parseInt(_0x2fbec6(0x16f))/0x4)+-parseInt(_0x2fbec6(0x193))/0x5*(-parseInt(_0x2fbec6(0x166))/0x6)+-parseInt(_0x2fbec6(0x12b))/0x7*(parseInt(_0x2fbec6(0x173))/0x8)+-parseInt(_0x2fbec6(0x12a))/0x9*(-parseInt(_0x2fbec6(0x153))/0xa)+parseInt(_0x2fbec6(0x1a2))/0xb+-parseInt(_0x2fbec6(0x198))/0xc*(parseInt(_0x2fbec6(0x178))/0xd);if(_0x141e8c===_0x45dfcd)break;else _0x4905ef['push'](_0x4905ef['shift']());}catch(_0x3fe0e8){_0x4905ef['push'](_0x4905ef['shift']());}}}(_0x2538,0xca1f8));import{Plugin as _0x5be099}from'ckeditor5/src/core.js';import{global as _0xea0329,DomEmitterMixin as _0x5b54a5}from'ckeditor5/src/utils.js';import{Sessions as _0x27c69c}from'./sessions.js';import{ModelLiveRange as _0x2cdbb8}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x5be099{[_0x3ca79c(0x1ae)]=new(_0x5b54a5())();static get[_0x3ca79c(0x150)](){return[_0x27c69c];}static get[_0x3ca79c(0x15b)](){const _0x217fcf=_0x3ca79c;return _0x217fcf(0x1a1);}static get[_0x3ca79c(0x12e)](){return!0x0;}static get[_0x3ca79c(0x19e)](){return!0x0;}[_0x3ca79c(0x17f)](){const _0x5f02ea=_0x3ca79c,_0x41c12f=this[_0x5f02ea(0x18b)],_0x155256=_0x41c12f[_0x5f02ea(0x18e)][_0x5f02ea(0x163)](_0x27c69c);_0x41c12f[_0x5f02ea(0x14f)][_0x5f02ea(0x13e)](_0x5f02ea(0x142))[_0x5f02ea(0x152)]({'model':_0x5f02ea(0x17b),'view':(_0x4b0ede,{writer:_0x28ee31})=>function(_0x381025,_0x3efa83,_0x16a297,_0x510f29){const _0x405a4f=_0x5f02ea,_0x59061b=_0x381025[_0x405a4f(0x17e)][_0x405a4f(0x15f)](':')[0x2],_0x307b23=_0x16a297[_0x405a4f(0x174)](_0x59061b);if(!_0x307b23||_0x59061b===_0x16a297[_0x405a4f(0x190)])return;if(!_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x1a5)][_0x405a4f(0x194)](_0x381025[_0x405a4f(0x1b1)][_0x405a4f(0x1a6)],_0x405a4f(0x13d)))return;const _0x20a414={'class':_0x405a4f(0x127)+_0x307b23[_0x405a4f(0x1aa)][_0x405a4f(0x155)](),'data-name':_0x307b23[_0x405a4f(0x139)],'data-session-id':_0x59061b},_0x505deb=_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x16b)][_0x405a4f(0x163)](_0x381025[_0x405a4f(0x17e)]),_0x5ef4bb=_0x505deb[_0x405a4f(0x126)](),_0x33a790=_0x5ef4bb[_0x405a4f(0x187)],_0x4e2970=_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x1a5)];if(_0x33a790&&_0x4e2970[_0x405a4f(0x185)](_0x33a790)&&_0x4e2970[_0x405a4f(0x14b)](_0x33a790)&&!_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x16b)][_0x405a4f(0x163)](_0x405a4f(0x134)+_0x59061b)[_0x405a4f(0x158)]()[_0x405a4f(0x1a9)])return;const _0x1641a8=_0x5ef4bb[_0x405a4f(0x183)];return _0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x1a5)][_0x405a4f(0x16d)](_0x1641a8)&&!_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x171)](_0x1641a8)&&(_0x20a414[_0x405a4f(0x147)]=!0x1),function(_0x25a96d,_0x472e24,_0x412a4c){const _0x4a5ed2=_0x405a4f,_0x1ce1eb=_0x25a96d[_0x4a5ed2(0x199)](_0x4a5ed2(0x16e),_0x472e24);return _0x25a96d[_0x4a5ed2(0x1ac)](_0x4a5ed2(0x146),!0x0,_0x1ce1eb),_0x1ce1eb[_0x4a5ed2(0x14a)]=function(_0x5b026a){const _0x2c90d4=_0x4a5ed2,_0xca9501=this[_0x2c90d4(0x1ad)](_0x5b026a),_0x353357=document[_0x2c90d4(0x128)](_0x2c90d4(0x16e));return _0x353357[_0x2c90d4(0x167)][_0x2c90d4(0x161)](_0x2c90d4(0x141)),_0x353357[_0x2c90d4(0x168)](_0x2c90d4(0x147),_0x2c90d4(0x1a7)),_0x353357[_0x2c90d4(0x168)](_0x2c90d4(0x1b0),_0x2c90d4(0x1a7)),_0x353357[_0x2c90d4(0x140)]=_0x412a4c[_0x2c90d4(0x139)],_0xca9501[_0x2c90d4(0x170)]=_0x2c90d4(0x162)+_0x353357[_0x2c90d4(0x151)]+'',_0xca9501[_0x2c90d4(0x182)](_0x2c90d4(0x13b),()=>{const _0x5d7111=_0x2c90d4;_0xca9501[_0x5d7111(0x167)][_0x5d7111(0x161)](_0x5d7111(0x181));}),_0xca9501[_0x2c90d4(0x182)](_0x2c90d4(0x1a3),()=>{const _0x360eee=_0x2c90d4;_0xca9501[_0x360eee(0x167)][_0x360eee(0x19b)](_0x360eee(0x181));}),_0xca9501;},_0x1ce1eb[_0x4a5ed2(0x14c)]=function(_0x338aa3){const _0x3be9bb=_0x4a5ed2;return!(!this[_0x3be9bb(0x180)](_0x3be9bb(0x146))||!_0x338aa3[_0x3be9bb(0x180)](_0x3be9bb(0x146))||this[_0x3be9bb(0x165)](_0x3be9bb(0x130))!=_0x338aa3[_0x3be9bb(0x165)](_0x3be9bb(0x130)));},_0x1ce1eb;}(_0x3efa83,_0x20a414,_0x307b23);}(_0x4b0ede,_0x28ee31,_0x155256,_0x41c12f)}),_0x41c12f[_0x5f02ea(0x14f)][_0x5f02ea(0x13e)](_0x5f02ea(0x142))[_0x5f02ea(0x192)]({'model':_0x5f02ea(0x17c),'view':_0x5b31f9=>function(_0x5c506e,_0x5555c9){const _0x2f9f80=_0x5f02ea,_0x2cce21=_0x5c506e[_0x2f9f80(0x17e)][_0x2f9f80(0x15f)](':')[0x2];if(_0x2cce21===_0x5555c9[_0x2f9f80(0x190)])return null;const _0x12c843=_0x5555c9[_0x2f9f80(0x174)](_0x2cce21);if(!_0x12c843)return{'id':_0x2cce21,'classes':[]};return{'id':_0x2cce21,'classes':[_0x2f9f80(0x15a),_0x12c843[_0x2f9f80(0x1aa)][_0x2f9f80(0x177)]()],'attributes':{'data-session-id':_0x2cce21},'priority':0x7d0+_0x12c843[_0x2f9f80(0x13a)]};}(_0x5b31f9,_0x155256)}),function(_0x49ea98){const _0x47b878=_0x5f02ea,_0xa4f0dd=_0x49ea98[_0x47b878(0x13f)],_0x1e0a26=new Map(),_0x3ef685=_0x49ea98[_0x47b878(0x18e)][_0x47b878(0x163)](_0x27c69c);_0xa4f0dd[_0x47b878(0x16b)]['on'](_0x47b878(0x15e),(_0x922422,_0x29f905,_0x172efd,_0x36a8a6)=>{const _0xc9e73f=_0x47b878;if(!_0x36a8a6&&_0x1e0a26[_0xc9e73f(0x163)](_0x29f905[_0xc9e73f(0x139)]))return _0x1e0a26[_0xc9e73f(0x163)](_0x29f905[_0xc9e73f(0x139)])[_0xc9e73f(0x144)](),void _0x1e0a26[_0xc9e73f(0x159)](_0x29f905[_0xc9e73f(0x139)]);const _0x20465a=_0x29f905[_0xc9e73f(0x139)][_0xc9e73f(0x15f)](':')[0x2];if(_0x20465a===_0x3ef685[_0xc9e73f(0x190)])return;const _0x5dc1c7=_0xc9e73f(0x19a)+_0x20465a;_0xa4f0dd[_0xc9e73f(0x16b)][_0xc9e73f(0x169)](_0x5dc1c7)&&_0x49ea98[_0xc9e73f(0x137)][_0xc9e73f(0x156)](_0x5dc1c7),_0x29f905['on'](_0xc9e73f(0x14d),(_0x3c9d4e,_0x20a60a,_0x133234)=>{const _0x5feb0e=_0xc9e73f;if(_0x5feb0e(0x12f)!=_0x20a60a[_0x5feb0e(0x12d)][_0x5feb0e(0x133)]&&_0x5feb0e(0x12f)==_0x29f905[_0x5feb0e(0x158)]()[_0x5feb0e(0x12d)][_0x5feb0e(0x133)]&&!_0x1e0a26[_0x5feb0e(0x169)](_0x29f905[_0x5feb0e(0x139)])){const _0x46aded=_0xa4f0dd[_0x5feb0e(0x1a5)][_0x5feb0e(0x1a8)](_0x133234[_0x5feb0e(0x15d)]);if(_0x46aded){const _0x4dfa3d=_0x2cdbb8[_0x5feb0e(0x136)](_0x46aded);_0x1e0a26[_0x5feb0e(0x164)](_0x29f905[_0x5feb0e(0x139)],_0x4dfa3d),_0x4dfa3d['on'](_0x5feb0e(0x14d),(_0x19f75a,_0x2cfc97,_0x81ca37)=>{const _0x53ee5a=_0x5feb0e;if(_0x53ee5a(0x12f)==_0x4dfa3d[_0x53ee5a(0x12d)][_0x53ee5a(0x133)]){const _0x551493=_0xa4f0dd[_0x53ee5a(0x1a5)][_0x53ee5a(0x1a8)](_0x81ca37[_0x53ee5a(0x15d)]);_0x551493?(_0x4dfa3d[_0x53ee5a(0x1a6)]=_0x551493[_0x53ee5a(0x1a6)],_0x4dfa3d[_0x53ee5a(0x191)]=_0x551493[_0x53ee5a(0x191)]):(_0x1e0a26[_0x53ee5a(0x159)](_0x29f905[_0x53ee5a(0x139)]),_0x4dfa3d[_0x53ee5a(0x144)]());}});}}});}),_0xa4f0dd[_0x47b878(0x157)]['on'](_0x47b878(0x18a),()=>{const _0x363898=_0x47b878;_0x1e0a26[_0x363898(0x18f)]>0x0&&_0xa4f0dd[_0x363898(0x15c)]({'isUndoable':!0x1},_0x27da9b=>{const _0xf2f1c3=_0x363898;for(const [_0x84a8c5,_0x14f0c0]of _0x1e0a26)_0xf2f1c3(0x12f)==_0xa4f0dd[_0xf2f1c3(0x16b)][_0xf2f1c3(0x163)](_0x84a8c5)[_0xf2f1c3(0x158)]()[_0xf2f1c3(0x12d)][_0xf2f1c3(0x133)]&&(Z(_0x84a8c5[_0xf2f1c3(0x15f)](':')[0x2],_0x14f0c0[_0xf2f1c3(0x19f)](),_0xa4f0dd,_0x27da9b),_0x14f0c0[_0xf2f1c3(0x144)]());_0x1e0a26[_0xf2f1c3(0x1a4)]();});});}(_0x41c12f),this[_0x5f02ea(0x1ae)][_0x5f02ea(0x135)](_0xea0329[_0x5f02ea(0x157)],_0x5f02ea(0x13c),(_0x44da52,{key:_0x58b69c})=>{const _0x1fedba=_0x5f02ea;_0x1fedba(0x195)===_0x58b69c&&function(_0x1484fd){const _0x256b94=_0x1fedba;_0x1484fd[_0x256b94(0x137)][_0x256b94(0x175)][_0x256b94(0x18a)](_0x57b137=>{const _0xbabf67=_0x256b94;for(const _0x3d659f of _0x1484fd[_0xbabf67(0x13f)][_0xbabf67(0x16b)]){if(!_0x3d659f[_0xbabf67(0x139)][_0xbabf67(0x149)](_0xbabf67(0x17b)))continue;const _0x1905b3=_0x1484fd[_0xbabf67(0x137)][_0xbabf67(0x176)][_0xbabf67(0x179)](_0x3d659f[_0xbabf67(0x139)]);if(_0x1905b3){for(const _0x29fe30 of _0x1905b3)_0x57b137[_0xbabf67(0x1ab)](_0xbabf67(0x181),_0x29fe30);}}});}(_0x41c12f);},{'useCapture':!0x0});}[_0x3ca79c(0x172)](){const _0x19b12d=_0x3ca79c,_0xfdca7a=this[_0x19b12d(0x18b)],_0x19230a=_0xfdca7a[_0x19b12d(0x145)][_0x19b12d(0x163)](_0x19b12d(0x16a));_0x19230a&&_0xfdca7a[_0x19b12d(0x13f)]['on'](_0x19b12d(0x186),(_0x56261e,_0x14d216)=>{const _0x41990c=_0x19b12d,_0x24fae2=_0x14d216[0x0];if(!_0x24fae2[_0x41990c(0x154)])return;if(_0x41990c(0x125)!=_0x24fae2[_0x41990c(0x18c)]||!_0x24fae2[_0x41990c(0x139)][_0x41990c(0x149)](_0x41990c(0x14e)))return;const _0x443c37=_0x24fae2[_0x41990c(0x189)];_0x19230a[_0x41990c(0x197)][_0x41990c(0x169)](_0x443c37)&&(_0x24fae2[_0x41990c(0x196)]=_0x24fae2[_0x41990c(0x132)]?_0xfdca7a[_0x41990c(0x13f)][_0x41990c(0x148)](_0x24fae2[_0x41990c(0x132)][_0x41990c(0x1a6)],_0x24fae2[_0x41990c(0x132)][_0x41990c(0x191)]):null);},{'priority':_0x19b12d(0x16c)});}[_0x3ca79c(0x138)](){const _0x27baf8=_0x3ca79c;return this[_0x27baf8(0x1ae)][_0x27baf8(0x184)](),super[_0x27baf8(0x138)]();}[_0x3ca79c(0x18d)](){const _0x9995b0=_0x3ca79c,_0x222be4=this[_0x9995b0(0x18b)],_0x5b39d0=_0x222be4[_0x9995b0(0x13f)][_0x9995b0(0x157)],_0x201d64=_0x222be4[_0x9995b0(0x18e)][_0x9995b0(0x163)](_0x27c69c);_0x222be4[_0x9995b0(0x13f)][_0x9995b0(0x15c)]({'isUndoable':!0x1},_0x257eb4=>{const _0x55c7c9=_0x9995b0,_0x13579d=_0x55c7c9(0x134)+_0x201d64[_0x55c7c9(0x190)],_0x594398=_0x55c7c9(0x19a)+_0x201d64[_0x55c7c9(0x190)],_0x510883=_0x222be4[_0x55c7c9(0x13f)][_0x55c7c9(0x16b)][_0x55c7c9(0x169)](_0x13579d);_0x222be4[_0x55c7c9(0x137)][_0x55c7c9(0x175)][_0x55c7c9(0x143)]?Z(_0x201d64[_0x55c7c9(0x190)],_0x5b39d0[_0x55c7c9(0x1af)][_0x55c7c9(0x188)](),_0x222be4[_0x55c7c9(0x13f)],_0x257eb4):_0x510883&&(_0x257eb4[_0x55c7c9(0x1b2)](_0x13579d),_0x257eb4[_0x55c7c9(0x1b2)](_0x594398));});}}function Z(_0x3d1933,_0x2b6969,_0x1ad735,_0x2e76ef){const _0x2b1b7d=_0x3ca79c,_0x3288af=_0x2b1b7d(0x134)+_0x3d1933,_0x143928=_0x2b1b7d(0x19a)+_0x3d1933,_0x3403f8=_0x2b6969[_0x2b1b7d(0x1a0)]();let _0x4546d8=_0x2b6969[_0x2b1b7d(0x1a6)];if(_0x3403f8&&_0x3403f8['is'](_0x2b1b7d(0x17a),_0x2b1b7d(0x131))){const _0x94ea64=function(_0xb4d7a0,_0x56701e){const _0x18011b=_0x2b1b7d;for(const _0x564e91 of _0xb4d7a0[_0x18011b(0x19d)]())if(_0x56701e[_0x18011b(0x1a5)][_0x18011b(0x194)](_0x564e91,_0x18011b(0x13d)))return _0x564e91;}(_0x2b6969,_0x1ad735);_0x94ea64&&(_0x4546d8=_0x94ea64,_0x2b6969=_0x2e76ef[_0x2b1b7d(0x148)](_0x4546d8));}const _0x4a3106=_0x2e76ef[_0x2b1b7d(0x148)](_0x4546d8);_0x1ad735[_0x2b1b7d(0x16b)][_0x2b1b7d(0x169)](_0x3288af)?(_0x2e76ef[_0x2b1b7d(0x160)](_0x3288af,{'range':_0x2b6969}),_0x2e76ef[_0x2b1b7d(0x160)](_0x143928,{'range':_0x4a3106})):(_0x2e76ef[_0x2b1b7d(0x12c)](_0x3288af,{'range':_0x2b6969,'usingOperation':!0x0}),_0x2e76ef[_0x2b1b7d(0x12c)](_0x143928,{'range':_0x4a3106,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x431357=_0x15c9;function _0x15c9(_0x3df5dc,_0x34e4c9){const _0x193292=_0x1932();return _0x15c9=function(_0x15c992,_0x5903c7){_0x15c992=_0x15c992-0x167;let _0x192ed6=_0x193292[_0x15c992];return _0x192ed6;},_0x15c9(_0x3df5dc,_0x34e4c9);}(function(_0x36205e,_0x22f8d0){const _0x4cd55f=_0x15c9,_0x544828=_0x36205e();while(!![]){try{const _0xc55563=-parseInt(_0x4cd55f(0x1a3))/0x1+-parseInt(_0x4cd55f(0x1c9))/0x2+parseInt(_0x4cd55f(0x1df))/0x3*(parseInt(_0x4cd55f(0x1a4))/0x4)+parseInt(_0x4cd55f(0x1a7))/0x5*(parseInt(_0x4cd55f(0x1f0))/0x6)+-parseInt(_0x4cd55f(0x1be))/0x7+parseInt(_0x4cd55f(0x1e1))/0x8*(-parseInt(_0x4cd55f(0x1d5))/0x9)+-parseInt(_0x4cd55f(0x168))/0xa*(-parseInt(_0x4cd55f(0x1cc))/0xb);if(_0xc55563===_0x22f8d0)break;else _0x544828['push'](_0x544828['shift']());}catch(_0x472262){_0x544828['push'](_0x544828['shift']());}}}(_0x1932,0x1fdf5));import{Plugin as _0x25593f}from'ckeditor5/src/core.js';function _0x1932(){const _0x46972f=['isInline','orderNumber','batch','innerHTML','toDomElement','type','9ZtGjbS','data-session-id','updateMarker','false','isOfficialPlugin','createUIElement','user:','user:position:','enqueueChange','hasContent','607134wCsWQo','contenteditable','309704HbANOc','mySessionId','getCustomProperty','ck-user__marker\x20','ck-user__marker_hovered','user:range','applyOperation','markerName','remove','isDocumentOperation','markerToHighlight','toRange','marker','isPremiumPlugin','removeMarker','6eiHOCm','has','getSelectionClass','createElement','412650xBuwpp','stopListening','createUserMarkerOperations','fromRange','editingDowncast','update:user:range','markerToElement','getUserBySessionId','classList','schema','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','editing','getMarkerClass','isObject','getAttribute','ck-user__marker-tooltip','root','size','rootName','name','addMarker','tableCell','change:range','init','render','end','document','commands','markers','ck-user__selection','add','getRange','mouseleave','clear','element','getNearestSelectionRange','spellcheck','detach','pluginName','isCollapsed','newRange','isSimilar','split','parent','view','mapper','textContent','mouseenter','selection','keydown','hasDomSelection','listenTo','Escape','user:position','getPositions','setCustomProperty','$graveyard','getFirstRange','nodeAfter','221881hrrHaU','4wwrBjn','_createdBatches','removeClass','1235605gyVKmf','getStart','get','getContainedElement','start','plugins','reconvertMarker','markerRange','destroy','set','oldRange','addEventListener','createRange','for','highest','model','outerHTML','afterInit','UserMarkers','userPositionMarker','requires','span','_domEmitter','997640McEBjn','change','setAttribute','color','markerNameToElements','delete','$text','editor','undo','deletionPosition','conversion','79262GqIFQe','user:range:','isLimit','33jFUQhR','startsWith','checkChild'];_0x1932=function(){return _0x46972f;};return _0x1932();}import{global as _0x5f0bb2,DomEmitterMixin as _0x50c5c7}from'ckeditor5/src/utils.js';import{Sessions as _0x1cd03f}from'./sessions.js';import{ModelLiveRange as _0x5b7371}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x25593f{[_0x431357(0x1bd)]=new(_0x50c5c7())();static get[_0x431357(0x1bb)](){return[_0x1cd03f];}static get[_0x431357(0x18e)](){const _0x5aba50=_0x431357;return _0x5aba50(0x1b9);}static get[_0x431357(0x1d9)](){return!0x0;}static get[_0x431357(0x1ee)](){return!0x0;}[_0x431357(0x17f)](){const _0x539d65=_0x431357,_0x3654e=this[_0x539d65(0x1c5)],_0xb5d841=_0x3654e[_0x539d65(0x1ac)][_0x539d65(0x1a9)](_0x1cd03f);_0x3654e[_0x539d65(0x1c8)][_0x539d65(0x1b4)](_0x539d65(0x16c))[_0x539d65(0x16e)]({'model':_0x539d65(0x19d),'view':(_0x59e890,{writer:_0x330507})=>function(_0x189b3c,_0x54f9b3,_0xa7fb52,_0x5250ea){const _0x2a91e7=_0x539d65,_0x559a2a=_0x189b3c[_0x2a91e7(0x1e8)][_0x2a91e7(0x192)](':')[0x2],_0x4fc777=_0xa7fb52[_0x2a91e7(0x16f)](_0x559a2a);if(!_0x4fc777||_0x559a2a===_0xa7fb52[_0x2a91e7(0x1e2)])return;if(!_0x5250ea[_0x2a91e7(0x1b6)][_0x2a91e7(0x171)][_0x2a91e7(0x1ce)](_0x189b3c[_0x2a91e7(0x1ae)][_0x2a91e7(0x1ab)],_0x2a91e7(0x1c4)))return;const _0x334d89={'class':_0x2a91e7(0x1e4)+_0x4fc777[_0x2a91e7(0x1c1)][_0x2a91e7(0x174)](),'data-name':_0x4fc777[_0x2a91e7(0x17b)],'data-session-id':_0x559a2a},_0x568d9e=_0x5250ea[_0x2a91e7(0x1b6)][_0x2a91e7(0x184)][_0x2a91e7(0x1a9)](_0x189b3c[_0x2a91e7(0x1e8)]),_0x8da809=_0x568d9e[_0x2a91e7(0x1a8)](),_0x5a8e4d=_0x8da809[_0x2a91e7(0x1a2)],_0x2412cf=_0x5250ea[_0x2a91e7(0x1b6)][_0x2a91e7(0x171)];if(_0x5a8e4d&&_0x2412cf[_0x2a91e7(0x175)](_0x5a8e4d)&&_0x2412cf[_0x2a91e7(0x1cf)](_0x5a8e4d)&&!_0x5250ea[_0x2a91e7(0x1b6)][_0x2a91e7(0x184)][_0x2a91e7(0x1a9)](_0x2a91e7(0x1ca)+_0x559a2a)[_0x2a91e7(0x187)]()[_0x2a91e7(0x18f)])return;const _0x5c2274=_0x8da809[_0x2a91e7(0x193)];return _0x5250ea[_0x2a91e7(0x1b6)][_0x2a91e7(0x171)][_0x2a91e7(0x1cb)](_0x5c2274)&&!_0x5250ea[_0x2a91e7(0x1b6)][_0x2a91e7(0x1de)](_0x5c2274)&&(_0x334d89[_0x2a91e7(0x1e0)]=!0x1),function(_0x12987a,_0x2991d0,_0x3c486d){const _0x457a92=_0x2a91e7,_0x1f745e=_0x12987a[_0x457a92(0x1da)](_0x457a92(0x1bc),_0x2991d0);return _0x12987a[_0x457a92(0x19f)](_0x457a92(0x1ba),!0x0,_0x1f745e),_0x1f745e[_0x457a92(0x180)]=function(_0x2f031e){const _0x43bd11=_0x457a92,_0x15141d=this[_0x43bd11(0x1d3)](_0x2f031e),_0x524640=document[_0x43bd11(0x167)](_0x43bd11(0x1bc));return _0x524640[_0x43bd11(0x170)][_0x43bd11(0x186)](_0x43bd11(0x177)),_0x524640[_0x43bd11(0x1c0)](_0x43bd11(0x1e0),_0x43bd11(0x1d8)),_0x524640[_0x43bd11(0x1c0)](_0x43bd11(0x18c),_0x43bd11(0x1d8)),_0x524640[_0x43bd11(0x196)]=_0x3c486d[_0x43bd11(0x17b)],_0x15141d[_0x43bd11(0x1d2)]=_0x43bd11(0x172)+_0x524640[_0x43bd11(0x1b7)]+'',_0x15141d[_0x43bd11(0x1b2)](_0x43bd11(0x197),()=>{const _0x280101=_0x43bd11;_0x15141d[_0x280101(0x170)][_0x280101(0x186)](_0x280101(0x1e5));}),_0x15141d[_0x43bd11(0x1b2)](_0x43bd11(0x188),()=>{const _0x40a043=_0x43bd11;_0x15141d[_0x40a043(0x170)][_0x40a043(0x1e9)](_0x40a043(0x1e5));}),_0x15141d;},_0x1f745e[_0x457a92(0x191)]=function(_0x1dad19){const _0x1c1d24=_0x457a92;return!(!this[_0x1c1d24(0x1e3)](_0x1c1d24(0x1ba))||!_0x1dad19[_0x1c1d24(0x1e3)](_0x1c1d24(0x1ba))||this[_0x1c1d24(0x176)](_0x1c1d24(0x1d6))!=_0x1dad19[_0x1c1d24(0x176)](_0x1c1d24(0x1d6)));},_0x1f745e;}(_0x54f9b3,_0x334d89,_0x4fc777);}(_0x59e890,_0x330507,_0xb5d841,_0x3654e)}),_0x3654e[_0x539d65(0x1c8)][_0x539d65(0x1b4)](_0x539d65(0x16c))[_0x539d65(0x1eb)]({'model':_0x539d65(0x1e6),'view':_0xa736c9=>function(_0x365bcc,_0x3113d8){const _0x5f35fe=_0x539d65,_0x13a8d8=_0x365bcc[_0x5f35fe(0x1e8)][_0x5f35fe(0x192)](':')[0x2];if(_0x13a8d8===_0x3113d8[_0x5f35fe(0x1e2)])return null;const _0x5a310f=_0x3113d8[_0x5f35fe(0x16f)](_0x13a8d8);if(!_0x5a310f)return{'id':_0x13a8d8,'classes':[]};return{'id':_0x13a8d8,'classes':[_0x5f35fe(0x185),_0x5a310f[_0x5f35fe(0x1c1)][_0x5f35fe(0x1f2)]()],'attributes':{'data-session-id':_0x13a8d8},'priority':0x7d0+_0x5a310f[_0x5f35fe(0x1d0)]};}(_0xa736c9,_0xb5d841)}),function(_0x2cce19){const _0x274763=_0x539d65,_0x1b4e86=_0x2cce19[_0x274763(0x1b6)],_0x16ea68=new Map(),_0x20bc6c=_0x2cce19[_0x274763(0x1ac)][_0x274763(0x1a9)](_0x1cd03f);_0x1b4e86[_0x274763(0x184)]['on'](_0x274763(0x16d),(_0x2437a9,_0x46c46f,_0x184e82,_0x169de9)=>{const _0x4f4d93=_0x274763;if(!_0x169de9&&_0x16ea68[_0x4f4d93(0x1a9)](_0x46c46f[_0x4f4d93(0x17b)]))return _0x16ea68[_0x4f4d93(0x1a9)](_0x46c46f[_0x4f4d93(0x17b)])[_0x4f4d93(0x18d)](),void _0x16ea68[_0x4f4d93(0x1c3)](_0x46c46f[_0x4f4d93(0x17b)]);const _0x1e1587=_0x46c46f[_0x4f4d93(0x17b)][_0x4f4d93(0x192)](':')[0x2];if(_0x1e1587===_0x20bc6c[_0x4f4d93(0x1e2)])return;const _0x4947f8=_0x4f4d93(0x1dc)+_0x1e1587;_0x1b4e86[_0x4f4d93(0x184)][_0x4f4d93(0x1f1)](_0x4947f8)&&_0x2cce19[_0x4f4d93(0x173)][_0x4f4d93(0x1ad)](_0x4947f8),_0x46c46f['on'](_0x4f4d93(0x17e),(_0x3e66ec,_0x474975,_0x350d0c)=>{const _0x98f741=_0x4f4d93;if(_0x98f741(0x1a0)!=_0x474975[_0x98f741(0x178)][_0x98f741(0x17a)]&&_0x98f741(0x1a0)==_0x46c46f[_0x98f741(0x187)]()[_0x98f741(0x178)][_0x98f741(0x17a)]&&!_0x16ea68[_0x98f741(0x1f1)](_0x46c46f[_0x98f741(0x17b)])){const _0x282bd6=_0x1b4e86[_0x98f741(0x171)][_0x98f741(0x18b)](_0x350d0c[_0x98f741(0x1c7)]);if(_0x282bd6){const _0x3e542a=_0x5b7371[_0x98f741(0x16b)](_0x282bd6);_0x16ea68[_0x98f741(0x1b0)](_0x46c46f[_0x98f741(0x17b)],_0x3e542a),_0x3e542a['on'](_0x98f741(0x17e),(_0x28beb7,_0x4c6453,_0x559c82)=>{const _0x3dc2c5=_0x98f741;if(_0x3dc2c5(0x1a0)==_0x3e542a[_0x3dc2c5(0x178)][_0x3dc2c5(0x17a)]){const _0xd238c5=_0x1b4e86[_0x3dc2c5(0x171)][_0x3dc2c5(0x18b)](_0x559c82[_0x3dc2c5(0x1c7)]);_0xd238c5?(_0x3e542a[_0x3dc2c5(0x1ab)]=_0xd238c5[_0x3dc2c5(0x1ab)],_0x3e542a[_0x3dc2c5(0x181)]=_0xd238c5[_0x3dc2c5(0x181)]):(_0x16ea68[_0x3dc2c5(0x1c3)](_0x46c46f[_0x3dc2c5(0x17b)]),_0x3e542a[_0x3dc2c5(0x18d)]());}});}}});}),_0x1b4e86[_0x274763(0x182)]['on'](_0x274763(0x1bf),()=>{const _0x4f742c=_0x274763;_0x16ea68[_0x4f742c(0x179)]>0x0&&_0x1b4e86[_0x4f742c(0x1dd)]({'isUndoable':!0x1},_0x4df472=>{const _0xf647ee=_0x4f742c;for(const [_0x157f61,_0x3096ff]of _0x16ea68)_0xf647ee(0x1a0)==_0x1b4e86[_0xf647ee(0x184)][_0xf647ee(0x1a9)](_0x157f61)[_0xf647ee(0x187)]()[_0xf647ee(0x178)][_0xf647ee(0x17a)]&&(Z(_0x157f61[_0xf647ee(0x192)](':')[0x2],_0x3096ff[_0xf647ee(0x1ec)](),_0x1b4e86,_0x4df472),_0x3096ff[_0xf647ee(0x18d)]());_0x16ea68[_0xf647ee(0x189)]();});});}(_0x3654e),this[_0x539d65(0x1bd)][_0x539d65(0x19b)](_0x5f0bb2[_0x539d65(0x182)],_0x539d65(0x199),(_0x2f80dd,{key:_0x199d33})=>{const _0x1b3366=_0x539d65;_0x1b3366(0x19c)===_0x199d33&&function(_0x48f0b6){const _0xd40620=_0x1b3366;_0x48f0b6[_0xd40620(0x173)][_0xd40620(0x194)][_0xd40620(0x1bf)](_0x36c7fa=>{const _0x1f96da=_0xd40620;for(const _0x27c532 of _0x48f0b6[_0x1f96da(0x1b6)][_0x1f96da(0x184)]){if(!_0x27c532[_0x1f96da(0x17b)][_0x1f96da(0x1cd)](_0x1f96da(0x19d)))continue;const _0x41e132=_0x48f0b6[_0x1f96da(0x173)][_0x1f96da(0x195)][_0x1f96da(0x1c2)](_0x27c532[_0x1f96da(0x17b)]);if(_0x41e132){for(const _0x114c2c of _0x41e132)_0x36c7fa[_0x1f96da(0x1a6)](_0x1f96da(0x1e5),_0x114c2c);}}});}(_0x3654e);},{'useCapture':!0x0});}[_0x431357(0x1b8)](){const _0x2a528b=_0x431357,_0x543768=this[_0x2a528b(0x1c5)],_0x1e787d=_0x543768[_0x2a528b(0x183)][_0x2a528b(0x1a9)](_0x2a528b(0x1c6));_0x1e787d&&_0x543768[_0x2a528b(0x1b6)]['on'](_0x2a528b(0x1e7),(_0x44736a,_0x2b4660)=>{const _0x3a65bc=_0x2a528b,_0x21cc88=_0x2b4660[0x0];if(!_0x21cc88[_0x3a65bc(0x1ea)])return;if(_0x3a65bc(0x1ed)!=_0x21cc88[_0x3a65bc(0x1d4)]||!_0x21cc88[_0x3a65bc(0x17b)][_0x3a65bc(0x1cd)](_0x3a65bc(0x1db)))return;const _0x1acc92=_0x21cc88[_0x3a65bc(0x1d1)];_0x1e787d[_0x3a65bc(0x1a5)][_0x3a65bc(0x1f1)](_0x1acc92)&&(_0x21cc88[_0x3a65bc(0x190)]=_0x21cc88[_0x3a65bc(0x1b1)]?_0x543768[_0x3a65bc(0x1b6)][_0x3a65bc(0x1b3)](_0x21cc88[_0x3a65bc(0x1b1)][_0x3a65bc(0x1ab)],_0x21cc88[_0x3a65bc(0x1b1)][_0x3a65bc(0x181)]):null);},{'priority':_0x2a528b(0x1b5)});}[_0x431357(0x1af)](){const _0x7373b1=_0x431357;return this[_0x7373b1(0x1bd)][_0x7373b1(0x169)](),super[_0x7373b1(0x1af)]();}[_0x431357(0x16a)](){const _0x5c179c=_0x431357,_0x7f1496=this[_0x5c179c(0x1c5)],_0x59a38a=_0x7f1496[_0x5c179c(0x1b6)][_0x5c179c(0x182)],_0x4acec0=_0x7f1496[_0x5c179c(0x1ac)][_0x5c179c(0x1a9)](_0x1cd03f);_0x7f1496[_0x5c179c(0x1b6)][_0x5c179c(0x1dd)]({'isUndoable':!0x1},_0x184c87=>{const _0xfd6287=_0x5c179c,_0x1e42a3=_0xfd6287(0x1ca)+_0x4acec0[_0xfd6287(0x1e2)],_0x43ce1b=_0xfd6287(0x1dc)+_0x4acec0[_0xfd6287(0x1e2)],_0x5e998c=_0x7f1496[_0xfd6287(0x1b6)][_0xfd6287(0x184)][_0xfd6287(0x1f1)](_0x1e42a3);_0x7f1496[_0xfd6287(0x173)][_0xfd6287(0x194)][_0xfd6287(0x19a)]?Z(_0x4acec0[_0xfd6287(0x1e2)],_0x59a38a[_0xfd6287(0x198)][_0xfd6287(0x1a1)](),_0x7f1496[_0xfd6287(0x1b6)],_0x184c87):_0x5e998c&&(_0x184c87[_0xfd6287(0x1ef)](_0x1e42a3),_0x184c87[_0xfd6287(0x1ef)](_0x43ce1b));});}}function Z(_0x3d0daa,_0x3554e3,_0x39210b,_0x4fc670){const _0x49b85e=_0x431357,_0x39f8bc=_0x49b85e(0x1ca)+_0x3d0daa,_0x4d2f09=_0x49b85e(0x1dc)+_0x3d0daa,_0x759a6b=_0x3554e3[_0x49b85e(0x1aa)]();let _0x2e0e46=_0x3554e3[_0x49b85e(0x1ab)];if(_0x759a6b&&_0x759a6b['is'](_0x49b85e(0x18a),_0x49b85e(0x17d))){const _0x1b8373=function(_0x3b0e8b,_0x11abc2){const _0x218b3f=_0x49b85e;for(const _0x126469 of _0x3b0e8b[_0x218b3f(0x19e)]())if(_0x11abc2[_0x218b3f(0x171)][_0x218b3f(0x1ce)](_0x126469,_0x218b3f(0x1c4)))return _0x126469;}(_0x3554e3,_0x39210b);_0x1b8373&&(_0x2e0e46=_0x1b8373,_0x3554e3=_0x4fc670[_0x49b85e(0x1b3)](_0x2e0e46));}const _0x18af34=_0x4fc670[_0x49b85e(0x1b3)](_0x2e0e46);_0x39210b[_0x49b85e(0x184)][_0x49b85e(0x1f1)](_0x39f8bc)?(_0x4fc670[_0x49b85e(0x1d7)](_0x39f8bc,{'range':_0x3554e3}),_0x4fc670[_0x49b85e(0x1d7)](_0x4d2f09,{'range':_0x18af34})):(_0x4fc670[_0x49b85e(0x17c)](_0x39f8bc,{'range':_0x3554e3,'usingOperation':!0x0}),_0x4fc670[_0x49b85e(0x17c)](_0x4d2f09,{'range':_0x18af34,'usingOperation':!0x0}));}
|