@ckeditor/ckeditor5-real-time-collaboration 44.1.0-alpha.5 → 44.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/real-time-collaboration.js +2 -2
- package/dist/index-content.css +2 -2
- package/dist/index-editor.css +2 -2
- package/dist/index.css +9 -9
- package/dist/index.js +7 -7
- package/dist/translations/af.d.ts +2 -2
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +2 -2
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +2 -2
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +2 -2
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/bg.d.ts +2 -2
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +2 -2
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +2 -2
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +2 -2
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +2 -2
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +2 -2
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +2 -2
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +2 -2
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +2 -2
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +2 -2
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +2 -2
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +2 -2
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +2 -2
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +2 -2
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +2 -2
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +2 -2
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +2 -2
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +2 -2
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +2 -2
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +2 -2
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +2 -2
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +2 -2
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +2 -2
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +2 -2
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +2 -2
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +2 -2
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +2 -2
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +2 -2
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +2 -2
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +2 -2
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +2 -2
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +2 -2
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +2 -2
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +2 -2
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +2 -2
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +2 -2
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +2 -2
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +2 -2
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +2 -2
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +2 -2
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +2 -2
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +2 -2
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +2 -2
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +2 -2
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +2 -2
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +2 -2
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +2 -2
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +2 -2
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +2 -2
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +2 -2
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +2 -2
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +2 -2
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +2 -2
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +2 -2
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +2 -2
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +2 -2
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +2 -2
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +2 -2
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +2 -2
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +2 -2
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +2 -2
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +2 -2
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +2 -2
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +2 -2
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +2 -2
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +2 -2
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +2 -2
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +2 -2
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/gu.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/kk.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/oc.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/si.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/ti.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +36 -9
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/common-translations.d.ts +1 -1
- package/src/common-translations.js +2 -2
- package/src/config.d.ts +1 -1
- package/src/config.js +1 -1
- package/src/index.d.ts +2 -1
- package/src/index.js +2 -2
- package/src/presencelist/presencelistui.d.ts +1 -1
- package/src/presencelist/presencelistui.js +2 -2
- package/src/presencelist/view/presencecounterview.d.ts +1 -1
- package/src/presencelist/view/presencecounterview.js +2 -2
- package/src/presencelist/view/presencedropdownlistitemview.d.ts +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +2 -2
- package/src/presencelist/view/presencedropdownlistview.d.ts +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +2 -2
- package/src/presencelist/view/presenceinlinelistitemview.d.ts +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +2 -2
- package/src/presencelist/view/presenceinlinelistview.d.ts +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +2 -2
- package/src/presencelist/view/presencelistview.d.ts +1 -1
- package/src/presencelist/view/presencelistview.js +2 -2
- package/src/presencelist.d.ts +1 -1
- package/src/presencelist.js +2 -2
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.d.ts +1 -1
- package/src/realtimecollaborativecomments.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.d.ts +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.d.ts +1 -1
- package/src/realtimecollaborativeediting/sessions.js +2 -2
- package/src/realtimecollaborativeediting/usermarkers.d.ts +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +2 -2
- package/src/realtimecollaborativeediting/websocketgateway.d.ts +5 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.d.ts +1 -1
- package/src/realtimecollaborativeediting.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.d.ts +1 -1
- package/src/realtimecollaborativerevisionhistory.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.d.ts +1 -1
- package/src/realtimecollaborativetrackchanges.js +2 -2
- package/theme/presencelist.css +1 -1
- package/theme/usermarkers.css +1 -1
- package/dist/augmentation.d.ts +0 -75
- package/dist/common-translations.d.ts +0 -13
- package/dist/config.d.ts +0 -52
- package/dist/index.d.ts +0 -18
- package/dist/presencelist/presencelistui.d.ts +0 -51
- package/dist/presencelist/view/presencecounterview.d.ts +0 -15
- package/dist/presencelist/view/presencedropdownlistitemview.d.ts +0 -19
- package/dist/presencelist/view/presencedropdownlistview.d.ts +0 -36
- package/dist/presencelist/view/presenceinlinelistitemview.d.ts +0 -23
- package/dist/presencelist/view/presenceinlinelistview.d.ts +0 -38
- package/dist/presencelist/view/presencelistview.d.ts +0 -24
- package/dist/presencelist.d.ts +0 -40
- package/dist/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +0 -64
- package/dist/realtimecollaborativecomments.d.ts +0 -48
- package/dist/realtimecollaborativeediting/realtimecollaborationclient.d.ts +0 -149
- package/dist/realtimecollaborativeediting/sessions.d.ts +0 -130
- package/dist/realtimecollaborativeediting/usermarkers.d.ts +0 -52
- package/dist/realtimecollaborativeediting/websocketgateway.d.ts +0 -67
- package/dist/realtimecollaborativeediting.d.ts +0 -38
- package/dist/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +0 -61
- package/dist/realtimecollaborativerevisionhistory.d.ts +0 -41
- package/dist/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +0 -55
- package/dist/realtimecollaborativetrackchanges.d.ts +0 -39
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2ba217=_0x3c9b;(function(_0x182e2f,_0x1567e5){const _0x9bb995=_0x3c9b,_0x30f7ec=_0x182e2f();while(!![]){try{const _0x1d861c=-parseInt(_0x9bb995(0x1a9))/0x1*(parseInt(_0x9bb995(0x16a))/0x2)+parseInt(_0x9bb995(0x197))/0x3*(-parseInt(_0x9bb995(0x205))/0x4)+parseInt(_0x9bb995(0x15c))/0x5*(parseInt(_0x9bb995(0x156))/0x6)+parseInt(_0x9bb995(0x209))/0x7*(parseInt(_0x9bb995(0x135))/0x8)+parseInt(_0x9bb995(0x1db))/0x9+-parseInt(_0x9bb995(0x141))/0xa*(-parseInt(_0x9bb995(0x1f0))/0xb)+parseInt(_0x9bb995(0x17d))/0xc*(-parseInt(_0x9bb995(0x1c3))/0xd);if(_0x1d861c===_0x1567e5)break;else _0x30f7ec['push'](_0x30f7ec['shift']());}catch(_0x29e1f6){_0x30f7ec['push'](_0x30f7ec['shift']());}}}(_0xdd2f,0xa2a61));import{Plugin as _0x1c5dd4,PendingActions as _0x250612}from'ckeditor5/src/core.js';import{CKEditorError as _0x38d082,version as _0x49eac3,uid as _0x393b58}from'ckeditor5/src/utils.js';import{Notification as _0x564d18}from'ckeditor5/src/ui.js';import{transformSets as _0x506009,NoOperation as _0x48b3e4,InsertOperation as _0x50c337,MarkerOperation as _0x1fc1b7,RootAttributeOperation as _0x1d8f0c,OperationFactory as _0x15c6d7,History as _0x45a139}from'ckeditor5/src/engine.js';import _0x5b1024 from'./websocketgateway.js';import _0x42a2ab from'./sessions.js';import _0x5484bd from'./usermarkers.js';function _0x3c9b(_0x1dc92c,_0x30facc){const _0xdd2f89=_0xdd2f();return _0x3c9b=function(_0x3c9b33,_0x48d3a3){_0x3c9b33=_0x3c9b33-0x122;let _0x265316=_0xdd2f89[_0x3c9b33];return _0x265316;},_0x3c9b(_0x1dc92c,_0x30facc);}import{getTranslation as _0x3dfa05}from'../common-translations.js';import{Compressor as _0x409051}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x50c251}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3a77b1,CollaborativeEditingService as _0x17e683}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x1c5dd4{static get[_0x2ba217(0x1dc)](){return[_0x5b1024,_0x42a2ab,_0x5484bd,_0x250612,_0x50c251,_0x564d18];}static get[_0x2ba217(0x1d5)](){const _0xe16534=_0x2ba217;return _0xe16534(0x229);}static get[_0x2ba217(0x191)](){return!0x0;}static get[_0x2ba217(0x1cb)](){return!0x0;}get[_0x2ba217(0x184)](){const _0x5bd256=_0x2ba217;return this[_0x5bd256(0x16b)]+this[_0x5bd256(0x1f5)];}get[_0x2ba217(0x16b)](){const _0xc35517=_0x2ba217;return this[_0xc35517(0x1e0)][_0xc35517(0x166)]-this[_0xc35517(0x1f5)];}get[_0x2ba217(0x19a)](){const _0x550e27=_0x2ba217,_0x1d3793=this[_0x550e27(0x1e0)][_0x550e27(0x1ac)]();for(let _0x55fea2=_0x1d3793[_0x550e27(0x19e)]-0x1;_0x55fea2>=0x0;_0x55fea2--){const _0xa908ab=_0x1d3793[_0x55fea2];if(!this[_0x550e27(0x1bc)][_0x550e27(0x1ea)](_0xa908ab))return _0xa908ab[_0x550e27(0x131)]+0x1-this[_0x550e27(0x1f5)];}return 0x0;}constructor(_0x1618d8){const _0x307e82=_0x2ba217;if(super(_0x1618d8),this[_0x307e82(0x1f5)]=0x0,this[_0x307e82(0x13f)]=null,this[_0x307e82(0x1e0)]=new _0x45a139(),this[_0x307e82(0x15b)][_0x307e82(0x1aa)][_0x307e82(0x1c8)](_0x307e82(0x1f1),{}),this[_0x307e82(0x1e9)]=this[_0x307e82(0x15b)][_0x307e82(0x1aa)][_0x307e82(0x122)](_0x307e82(0x1d1)),!this[_0x307e82(0x1e9)])throw new _0x38d082(_0x307e82(0x145),this);const _0x2924a9=_0x1618d8[_0x307e82(0x1aa)][_0x307e82(0x122)](_0x307e82(0x1a5))||_0x49eac3;this[_0x307e82(0x21a)]=new l[(_0x307e82(0x1ed))](_0x2924a9,this[_0x307e82(0x1e9)]),this[_0x307e82(0x1c7)]=this[_0x307e82(0x15b)][_0x307e82(0x157)][_0x307e82(0x1fb)],this[_0x307e82(0x203)]=new _0x409051(),this[_0x307e82(0x1af)]=[],this[_0x307e82(0x168)]=new WeakSet(),this[_0x307e82(0x18b)]=new Set(),this[_0x307e82(0x172)](_0x307e82(0x13a),!0x1),this[_0x307e82(0x172)](_0x307e82(0x1b6),!0x1),this[_0x307e82(0x19f)]=null,this[_0x307e82(0x18a)]=!0x1,this[_0x307e82(0x142)]=null,this[_0x307e82(0x1da)]=0x12c,this[_0x307e82(0x1fe)]=this[_0x307e82(0x1da)],this[_0x307e82(0x128)]=null,this[_0x307e82(0x1bc)]=new WeakSet(),this[_0x307e82(0x12f)]=new X(this[_0x307e82(0x1bc)]);}[_0x2ba217(0x216)](){const _0x462fe2=_0x2ba217,_0x2eddf0=this[_0x462fe2(0x15b)],_0x2cf09d=_0x2eddf0[_0x462fe2(0x161)][_0x462fe2(0x122)](_0x50c251),_0x318524=_0x2eddf0[_0x462fe2(0x161)][_0x462fe2(0x122)](_0x5b1024);this[_0x462fe2(0x173)](_0x2cf09d,_0x462fe2(0x176),(_0x3c1a1a,_0x581cdb)=>{const _0x539ac1=_0x462fe2,_0x53d247=_0x581cdb[0x0];_0x53d247[_0x539ac1(0x202)]&&(_0x3c1a1a[_0x539ac1(0x228)]=_0x2cf09d[_0x539ac1(0x200)](_0x53d247[_0x539ac1(0x202)]),_0x3c1a1a[_0x539ac1(0x1ff)]()),null===_0x53d247[_0x539ac1(0x202)]&&(_0x3c1a1a[_0x539ac1(0x228)]=null,_0x3c1a1a[_0x539ac1(0x1ff)]());},{'priority':_0x462fe2(0x152)}),this[_0x462fe2(0x173)](_0x2eddf0[_0x462fe2(0x157)][_0x462fe2(0x1fb)][_0x462fe2(0x198)],_0x462fe2(0x222),(_0x1b49d3,_0x4094c4)=>{const _0xa9b927=_0x462fe2;_0x4094c4[_0xa9b927(0x1d3)]&&this[_0xa9b927(0x162)]();}),this[_0x462fe2(0x173)](_0x2eddf0[_0x462fe2(0x1be)][_0x462fe2(0x194)],_0x462fe2(0x192),()=>{const _0x440dd6=_0x462fe2;this[_0x440dd6(0x162)]();}),this[_0x462fe2(0x1cf)](),_0x2eddf0[_0x462fe2(0x157)]['on'](_0x462fe2(0x1a2),(_0x4be2a8,_0x42d130)=>{const _0xe6a827=_0x462fe2,_0x49a919=_0x42d130[0x0];_0x49a919[_0xe6a827(0x1df)]&&(this[_0xe6a827(0x14f)](_0x49a919),this[_0xe6a827(0x136)]()&&this[_0xe6a827(0x178)]());}),this[_0x462fe2(0x212)](),this[_0x462fe2(0x20b)](_0x462fe2(0x1d4))['to'](_0x318524,_0x462fe2(0x220),this,_0x462fe2(0x1b6),(_0x46fd61,_0xddbf6e)=>_0x462fe2(0x1b4)===_0x46fd61&&!_0xddbf6e),this['on'](_0x462fe2(0x20c),()=>{const _0x123431=_0x462fe2;this[_0x123431(0x1d4)]?_0x2eddf0[_0x123431(0x150)](_0x123431(0x17c)):_0x2eddf0[_0x123431(0x126)](_0x123431(0x17c));}),this[_0x462fe2(0x1d4)]?_0x2eddf0[_0x462fe2(0x150)](_0x462fe2(0x17c)):_0x2eddf0[_0x462fe2(0x126)](_0x462fe2(0x17c)),this[_0x462fe2(0x172)](_0x462fe2(0x1b9),!0x1);}async[_0x2ba217(0x12e)](){const _0xee551e=_0x2ba217,_0x2a6dbf=this[_0xee551e(0x15b)][_0xee551e(0x161)][_0xee551e(0x122)](_0x42a2ab),_0x53a7fb=this[_0xee551e(0x15b)][_0xee551e(0x161)][_0xee551e(0x122)](_0x5b1024);try{this[_0xee551e(0x13a)]=!0x0,_0x2a6dbf[_0xee551e(0x1a8)](this[_0xee551e(0x1e9)]);const _0x56580e=await this[_0xee551e(0x21a)][_0xee551e(0x12e)](_0x53a7fb[_0xee551e(0x1f7)],this[_0xee551e(0x19a)]);await this[_0xee551e(0x1bf)](_0x56580e)&&(this[_0xee551e(0x13a)]=!0x1,this[_0xee551e(0x174)]());const _0x2b50df=await this[_0xee551e(0x21a)][_0xee551e(0x16f)]();_0x2a6dbf[_0xee551e(0x1ba)](this[_0xee551e(0x1e9)],_0x2b50df),this[_0xee551e(0x201)](),this[_0xee551e(0x1b9)]=!0x0;}catch(_0x263163){if(function(_0x4736f4){const _0xdeebb2=_0xee551e;return _0xdeebb2(0x1e2)===_0x4736f4[_0xdeebb2(0x226)];}(_0x263163)&&this[_0xee551e(0x13f)])await this[_0xee551e(0x1d7)]();else{if(function(_0x485646){const _0x1eb635=_0xee551e;return _0x1eb635(0x14c)===_0x485646[_0x1eb635(0x226)];}(_0x263163)){const _0x2ab65e=_0x3dfa05(this[_0xee551e(0x15b)][_0xee551e(0x1d2)],_0xee551e(0x154));this[_0xee551e(0x1b0)](_0x2ab65e);}else{if(!(_0x263163 instanceof J))throw _0x263163;this[_0xee551e(0x1b0)]();}}}}[_0x2ba217(0x19b)](){const _0x20e4c7=_0x2ba217,_0x217082=this[_0x20e4c7(0x15b)][_0x20e4c7(0x161)][_0x20e4c7(0x122)](_0x5b1024),_0x309da0=this[_0x20e4c7(0x15b)][_0x20e4c7(0x161)][_0x20e4c7(0x122)](_0x42a2ab);this[_0x20e4c7(0x15b)][_0x20e4c7(0x126)](_0x20e4c7(0x17e)),_0x309da0[_0x20e4c7(0x14b)][_0x20e4c7(0x1ea)](this[_0x20e4c7(0x1e9)])&&_0x309da0[_0x20e4c7(0x1a8)](this[_0x20e4c7(0x1e9)]),_0x217082[_0x20e4c7(0x133)](this),this[_0x20e4c7(0x1ab)](),super[_0x20e4c7(0x19b)]();}async[_0x2ba217(0x1bf)](_0x5098b0){const _0x15d770=_0x2ba217;if(this[_0x15d770(0x13f)]!==_0x5098b0[_0x15d770(0x13f)]&&this[_0x15d770(0x128)]!==_0x5098b0[_0x15d770(0x1f4)])throw new J();return this[_0x15d770(0x13f)]=_0x5098b0[_0x15d770(0x13f)],this[_0x15d770(0x193)]([],{..._0x5098b0,'wereChangesApplied':!0x1,'data':_0x5098b0[_0x15d770(0x125)]},_0x15d770(0x12e));}async[_0x2ba217(0x21c)](_0x445d0c,_0x12a48a=!0x1){const _0x514b70=_0x2ba217,{connection:_0x5d45b7}=this[_0x514b70(0x15b)][_0x514b70(0x161)][_0x514b70(0x122)](_0x5b1024);l[_0x514b70(0x1ed)][_0x514b70(0x16f)](_0x5d45b7,this[_0x514b70(0x1e9)])[_0x514b70(0x217)](_0x24cc75=>this[_0x514b70(0x130)](_0x24cc75))[_0x514b70(0x20d)](_0x35dca5=>{const _0x51bfb6=_0x514b70;this[_0x51bfb6(0x1ad)](_0x51bfb6(0x153),_0x35dca5);}),this[_0x514b70(0x173)](this[_0x514b70(0x21a)],_0x514b70(0x21b),this[_0x514b70(0x21d)][_0x514b70(0x20b)](this)),this[_0x514b70(0x173)](this[_0x514b70(0x21a)],_0x514b70(0x1f9),(_0x45ad46,_0x51bd5b)=>{const _0x2ea65b=_0x514b70;this[_0x2ea65b(0x1ad)](_0x2ea65b(0x1f2),_0x51bd5b);}),this[_0x514b70(0x173)](this[_0x514b70(0x21a)],_0x514b70(0x1ce),()=>{const _0x542077=_0x514b70;this[_0x542077(0x1b9)]=!0x1;});const _0x56d1ba=this[_0x514b70(0x12f)][_0x514b70(0x1fd)](_0x445d0c);this[_0x514b70(0x13a)]=!0x0;const _0x3fbfa0=await this[_0x514b70(0x21a)][_0x514b70(0x1a3)](_0x5d45b7,this[_0x514b70(0x147)](_0x445d0c),_0x56d1ba);if(this[_0x514b70(0x13f)]=_0x3fbfa0[_0x514b70(0x13f)],_0x12a48a){if(!_0x3fbfa0[_0x514b70(0x225)])return void this[_0x514b70(0x1b0)]();this[_0x514b70(0x13a)]=!0x1,this[_0x514b70(0x174)](),this[_0x514b70(0x1e0)][_0x514b70(0x213)](),this[_0x514b70(0x1f5)]=_0x3fbfa0[_0x514b70(0x1fc)],this[_0x514b70(0x1e0)][_0x514b70(0x166)]=this[_0x514b70(0x1f5)],await this[_0x514b70(0x193)](_0x445d0c,_0x3fbfa0,_0x514b70(0x196));}else await this[_0x514b70(0x151)](_0x3fbfa0,_0x445d0c);this[_0x514b70(0x201)](),this[_0x514b70(0x1b9)]=!0x0;}[_0x2ba217(0x201)](){const _0x5117c9=_0x2ba217,_0x21771f=this[_0x5117c9(0x15b)][_0x5117c9(0x161)][_0x5117c9(0x122)](_0x42a2ab),_0x4ab956=this[_0x5117c9(0x15b)][_0x5117c9(0x161)][_0x5117c9(0x122)](_0x5484bd),_0x175a08=_0x21771f[_0x5117c9(0x14b)][_0x5117c9(0x122)](this[_0x5117c9(0x1e9)]);_0x175a08&&_0x175a08[_0x5117c9(0x19e)]>0x1?_0x4ab956[_0x5117c9(0x223)]():this[_0x5117c9(0x173)](_0x21771f,_0x5117c9(0x14d)+this[_0x5117c9(0x1e9)],()=>{const _0x438234=_0x5117c9;0x2===_0x21771f[_0x438234(0x14b)][_0x438234(0x122)](this[_0x438234(0x1e9)])[_0x438234(0x19e)]&&_0x4ab956[_0x438234(0x223)]();});}async[_0x2ba217(0x21d)](_0x2b73b8,_0x4a31d3,_0x555aa5,_0x4bb163){const _0x5ca229=_0x2ba217;if(!this[_0x5ca229(0x13a)]&&this[_0x5ca229(0x1c7)][_0x5ca229(0x166)]==_0x4a31d3){const _0x21316c=this[_0x5ca229(0x195)](_0x555aa5,_0x4bb163);await this[_0x5ca229(0x137)](_0x21316c),this[_0x5ca229(0x1e8)](_0x21316c,_0x4a31d3,_0x555aa5[_0x5ca229(0x1f4)])||this[_0x5ca229(0x1ad)](_0x5ca229(0x1b5));}}async[_0x2ba217(0x1d7)](){const _0x1dc0cc=_0x2ba217;this[_0x1dc0cc(0x1ab)]();const {locale:_0x527372}=this[_0x1dc0cc(0x15b)];let _0x44e149;try{_0x44e149=await this[_0x1dc0cc(0x21a)][_0x1dc0cc(0x129)]();}catch(_0x12af3e){const _0x353f6b=_0x3dfa05(_0x527372,_0x1dc0cc(0x1de));return void this[_0x1dc0cc(0x1b0)](_0x353f6b);}const _0x5313ef=_0x44e149[_0x1dc0cc(0x12c)]||_0x44e149[_0x1dc0cc(0x13b)];if(this[_0x1dc0cc(0x128)]===_0x5313ef[_0x1dc0cc(0x1f4)])await this[_0x1dc0cc(0x21c)](this[_0x1dc0cc(0x15b)][_0x1dc0cc(0x157)][_0x1dc0cc(0x1fb)][_0x1dc0cc(0x18d)][_0x1dc0cc(0x1ac)](),!0x0);else{const _0xa347c=_0x3dfa05(_0x527372,_0x1dc0cc(0x1f6));this[_0x1dc0cc(0x1b0)](_0xa347c);}}[_0x2ba217(0x1ab)](){const _0x1ec381=_0x2ba217;this[_0x1ec381(0x21a)][_0x1ec381(0x175)](),this[_0x1ec381(0x1af)]=[],clearTimeout(this[_0x1ec381(0x142)]),this[_0x1ec381(0x179)](this[_0x1ec381(0x21a)]);}[_0x2ba217(0x130)](_0x23c8c5){const _0x63abd4=_0x2ba217,_0x236d71=this[_0x63abd4(0x15b)][_0x63abd4(0x161)][_0x63abd4(0x122)](_0x42a2ab);this[_0x63abd4(0x173)](_0x236d71,_0x63abd4(0x14d)+this[_0x63abd4(0x1e9)],(_0x57ce38,{session:_0x47f602})=>{const _0x51032e=_0x63abd4;if(_0x47f602['id']===_0x236d71[_0x51032e(0x204)]){_0x57ce38[_0x51032e(0x127)]();const _0x44ff0c=this[_0x51032e(0x15b)][_0x51032e(0x161)][_0x51032e(0x1ea)](_0x51032e(0x183))&&this[_0x51032e(0x15b)][_0x51032e(0x161)][_0x51032e(0x122)](_0x51032e(0x183));let _0x1230d9=_0x47f602[_0x51032e(0x1e7)];_0x44ff0c&&_0x44ff0c[_0x51032e(0x1c9)]&&(_0x1230d9=_0x1230d9[_0x51032e(0x124)](_0x31d9a3=>_0x51032e(0x19c)!==_0x31d9a3)),this[_0x51032e(0x15b)][_0x51032e(0x161)][_0x51032e(0x122)](_0x51032e(0x221))[_0x51032e(0x1c5)](_0x1230d9,this[_0x51032e(0x1e9)]);}}),_0x236d71[_0x63abd4(0x1ba)](this[_0x63abd4(0x1e9)],_0x23c8c5);}[_0x2ba217(0x1cf)](){const _0x578b8f=_0x2ba217,_0x18c4fb=this[_0x578b8f(0x15b)][_0x578b8f(0x125)][_0x578b8f(0x172)];this[_0x578b8f(0x15b)][_0x578b8f(0x125)][_0x578b8f(0x172)]=(..._0x2e8c45)=>{const _0x3a7672=_0x578b8f;if(!_0x2e8c45[_0x2e8c45[_0x3a7672(0x19e)]-0x1][_0x3a7672(0x1a0)])throw new _0x38d082(_0x3a7672(0x1c1),this);_0x18c4fb[_0x3a7672(0x199)](this[_0x3a7672(0x15b)][_0x3a7672(0x125)],_0x2e8c45);};}[_0x2ba217(0x212)](){const _0x1c8987=_0x2ba217;this[_0x1c8987(0x15b)][_0x1c8987(0x125)]['on'](_0x1c8987(0x216),(_0x1c74ea,[_0x895d55])=>{const _0x336168=_0x1c8987;if(this[_0x336168(0x1c7)][_0x336168(0x166)])throw new _0x38d082(_0x336168(0x1cc),this);_0x1c74ea[_0x336168(0x1ff)](),this[_0x336168(0x1d8)]();const _0x9fd226=this[_0x336168(0x15b)][_0x336168(0x1aa)][_0x336168(0x122)](_0x336168(0x211)),_0x7726d5=this[_0x336168(0x139)](_0x895d55,_0x9fd226);0x0==_0x7726d5[_0x336168(0x19e)]&&_0x7726d5[_0x336168(0x1bb)](new _0x48b3e4(0x0)),_0x1c74ea[_0x336168(0x228)]=this[_0x336168(0x21c)](_0x7726d5)[_0x336168(0x217)](()=>{const _0x581871=_0x336168;this[_0x581871(0x15b)][_0x581871(0x161)][_0x581871(0x122)](_0x5b1024)[_0x581871(0x1ef)](this),this[_0x581871(0x15b)][_0x581871(0x125)][_0x581871(0x1c4)](_0x581871(0x1e6));})[_0x336168(0x20d)](_0xca18d1=>this[_0x336168(0x1ad)](_0x336168(0x1b1),_0xca18d1))[_0x336168(0x19d)](()=>this[_0x336168(0x174)]());},{'priority':_0x1c8987(0x152)}),this[_0x1c8987(0x15b)]['on'](_0x1c8987(0x185),async(_0x588c2a,[_0x340456,_0x8c51e4])=>{const _0x16243d=_0x1c8987;_0x588c2a[_0x16243d(0x1ff)]();const _0x6282de=this[_0x16243d(0x15b)][_0x16243d(0x157)][_0x16243d(0x1fb)][_0x16243d(0x15a)](_0x340456);if(!this[_0x16243d(0x18b)][_0x16243d(0x1ea)](_0x340456)){const _0x17f0b2=_0x8c51e4&&_0x8c51e4[_0x16243d(0x125)]?_0x8c51e4[_0x16243d(0x125)]:'',_0x567c76=_0x8c51e4&&_0x8c51e4[_0x16243d(0x155)]?_0x8c51e4[_0x16243d(0x155)]:{};await this[_0x16243d(0x1e5)](_0x340456,_0x17f0b2,_0x567c76);}this[_0x16243d(0x15b)][_0x16243d(0x157)][_0x16243d(0x171)]({'isUndoable':!0x1},()=>{const _0x2f739d=_0x16243d;_0x6282de[_0x2f739d(0x12b)]=!0x0,this[_0x2f739d(0x15b)][_0x2f739d(0x157)][_0x2f739d(0x1fb)][_0x2f739d(0x16e)][_0x2f739d(0x163)](_0x6282de);});},{'priority':_0x1c8987(0x152)});}async[_0x2ba217(0x137)](_0x1f3546){const _0x8a34d5=_0x2ba217,_0x1d8a20=this[_0x8a34d5(0x15b)][_0x8a34d5(0x161)][_0x8a34d5(0x122)](_0x50c251),{connection:_0x33becf}=this[_0x8a34d5(0x15b)][_0x8a34d5(0x161)][_0x8a34d5(0x122)](_0x5b1024),_0x55ac2d=new Set();for(const _0x548bb5 of _0x1f3546){const _0x28244d=_0x548bb5[_0x8a34d5(0x202)];_0x28244d&&!_0x1d8a20[_0x8a34d5(0x200)](_0x28244d)&&_0x55ac2d[_0x8a34d5(0x18e)](_0x28244d);}if(0x0===_0x55ac2d[_0x8a34d5(0x215)])return;const _0x18b670=await _0x3a77b1[_0x8a34d5(0x15f)](_0x33becf,Array[_0x8a34d5(0x181)](_0x55ac2d));for(const _0x522c02 of _0x18b670)_0x1d8a20[_0x8a34d5(0x200)](_0x522c02['id'])||_0x1d8a20[_0x8a34d5(0x1b8)](_0x522c02);}[_0x2ba217(0x139)](_0x3d2ef7,_0x5b6df2={}){const _0x2a79f7=_0x2ba217,_0x11fe58=this[_0x2a79f7(0x15b)][_0x2a79f7(0x157)],_0x59f552=[];let _0x1728cc=0x0;const _0x3988e5=_0x2a79f7(0x132)==typeof _0x3d2ef7?{'main':_0x3d2ef7}:_0x3d2ef7;for(const _0x312969 of Object[_0x2a79f7(0x1b7)](_0x3988e5)){if(!this[_0x2a79f7(0x1c7)][_0x2a79f7(0x1fa)][_0x2a79f7(0x1ea)](_0x312969))throw new _0x38d082(_0x2a79f7(0x1c6),this);const _0x32c498=this[_0x2a79f7(0x15b)][_0x2a79f7(0x125)][_0x2a79f7(0x15d)](_0x3988e5[_0x312969]),_0x25876e=this[_0x2a79f7(0x1c7)][_0x2a79f7(0x15a)](_0x312969),_0x5e5fac=new _0x50c337(_0x11fe58[_0x2a79f7(0x14e)](_0x25876e,0x0),_0x32c498,_0x1728cc++);_0x59f552[_0x2a79f7(0x1bb)](_0x5e5fac);for(const [_0x5178d1,_0x472034]of _0x32c498[_0x2a79f7(0x18c)]){const _0x5177cd=_0x11fe58[_0x2a79f7(0x143)](_0x11fe58[_0x2a79f7(0x146)](_0x25876e,_0x472034[_0x2a79f7(0x21f)][_0x2a79f7(0x1b3)][_0x2a79f7(0x190)]()),_0x11fe58[_0x2a79f7(0x146)](_0x25876e,_0x472034[_0x2a79f7(0x160)][_0x2a79f7(0x1b3)][_0x2a79f7(0x190)]())),_0x3ed03e=new _0x1fc1b7(_0x5178d1,null,_0x5177cd,_0x11fe58[_0x2a79f7(0x18c)],!0x0,_0x1728cc++);_0x59f552[_0x2a79f7(0x1bb)](_0x3ed03e);}}if(_0x5b6df2)for(const [_0x3c1d53,_0x5c1d9e]of Object[_0x2a79f7(0x1ae)](_0x5b6df2)){const _0x4775db=_0x11fe58[_0x2a79f7(0x1fb)][_0x2a79f7(0x15a)](_0x3c1d53);if(!_0x4775db)throw new _0x38d082(_0x2a79f7(0x13d),null);for(const [_0x36c438,_0x1c8265]of Object[_0x2a79f7(0x1ae)](_0x5c1d9e))if(null!==_0x1c8265){const _0x3367dc=new _0x1d8f0c(_0x4775db,_0x36c438,null,_0x1c8265,_0x1728cc++);_0x59f552[_0x2a79f7(0x1bb)](_0x3367dc);}}return _0x59f552;}async[_0x2ba217(0x1e5)](_0x315446,_0x3cd753,_0x26c9e5){const _0x521e69=_0x2ba217;this[_0x521e69(0x139)]({[_0x315446]:_0x3cd753},{[_0x315446]:_0x26c9e5})[_0x521e69(0x159)]((_0x149157,_0x34a228)=>{const _0x21a314=_0x521e69;_0x149157[_0x21a314(0x131)]=this[_0x21a314(0x1c7)][_0x21a314(0x166)]+_0x34a228,_0x149157[_0x21a314(0x1ec)]=!0x0,this[_0x21a314(0x14f)](_0x149157);}),this[_0x521e69(0x178)](),await this[_0x521e69(0x214)]();}async[_0x2ba217(0x151)](_0xd41958,_0x1adb41){const _0x3e9df8=_0x2ba217;let _0x4f5a69;this[_0x3e9df8(0x1f5)]=_0xd41958[_0x3e9df8(0x1fc)];const _0x563e9d=_0xd41958[_0x3e9df8(0x225)]&&!_0xd41958[_0x3e9df8(0x1d0)],_0x59c915=_0x563e9d?0x0:_0xd41958[_0x3e9df8(0x125)][_0x3e9df8(0x131)];if(_0x1adb41[_0x3e9df8(0x159)](_0x3c1f10=>{const _0x34755b=_0x3e9df8;_0x3c1f10[_0x34755b(0x1ec)]=!0x0,_0x3c1f10[_0x34755b(0x1a7)]=_0xd41958[_0x34755b(0x1e3)],_0x3c1f10[_0x34755b(0x202)]=null;}),_0x563e9d)_0x4f5a69=_0x1adb41,this[_0x3e9df8(0x158)](_0x4f5a69,_0x563e9d);else{if(_0xd41958[_0x3e9df8(0x1d0)]){const _0x33d5d8=this[_0x3e9df8(0x139)](_0xd41958[_0x3e9df8(0x1d0)]);this[_0x3e9df8(0x1c7)][_0x3e9df8(0x18d)][_0x3e9df8(0x166)]=-_0x33d5d8[_0x3e9df8(0x19e)],_0x33d5d8[_0x3e9df8(0x159)](_0x13e4ad=>{const _0x99b94=_0x3e9df8;_0x13e4ad[_0x99b94(0x131)]-=_0x33d5d8[_0x99b94(0x19e)],_0x13e4ad[_0x99b94(0x1a7)]=_0xd41958[_0x99b94(0x1e3)],_0x13e4ad[_0x99b94(0x1ec)]=!0x0,_0x13e4ad[_0x99b94(0x202)]=null;}),this[_0x3e9df8(0x158)](_0x33d5d8,!0x0),this[_0x3e9df8(0x1e0)][_0x3e9df8(0x166)]=-_0x33d5d8[_0x3e9df8(0x19e)]+this[_0x3e9df8(0x1f5)],this[_0x3e9df8(0x149)](_0x33d5d8);}this[_0x3e9df8(0x1c7)][_0x3e9df8(0x18d)][_0x3e9df8(0x166)]=_0x59c915,_0x4f5a69=this[_0x3e9df8(0x195)](_0xd41958[_0x3e9df8(0x125)],_0xd41958[_0x3e9df8(0x1a6)]),await this[_0x3e9df8(0x137)](_0x4f5a69),this[_0x3e9df8(0x158)](_0x4f5a69,_0x563e9d);}_0xd41958[_0x3e9df8(0x1f4)]&&(this[_0x3e9df8(0x12f)][_0x3e9df8(0x15e)](_0x4f5a69,_0xd41958[_0x3e9df8(0x1f4)]),this[_0x3e9df8(0x128)]=_0xd41958[_0x3e9df8(0x1f4)]),this[_0x3e9df8(0x1e0)][_0x3e9df8(0x166)]=_0x59c915+this[_0x3e9df8(0x1f5)],this[_0x3e9df8(0x149)](_0x4f5a69),_0x1adb41[_0x3e9df8(0x124)](_0x2c6820=>{const _0x4de7ec=_0x3e9df8,_0x589ab5=this[_0x4de7ec(0x177)](_0x2c6820);return _0x589ab5&&!this[_0x4de7ec(0x18b)][_0x4de7ec(0x1ea)](_0x589ab5);})[_0x3e9df8(0x159)]((_0x19bd38,_0x227437)=>{const _0x512c60=_0x3e9df8;_0x19bd38[_0x512c60(0x131)]=this[_0x512c60(0x1c7)][_0x512c60(0x166)]+_0x227437,this[_0x512c60(0x14f)](_0x19bd38);}),this[_0x3e9df8(0x136)]()?(this[_0x3e9df8(0x1fe)]=0x0,this[_0x3e9df8(0x178)](!0x0),await this[_0x3e9df8(0x214)]()):(this[_0x3e9df8(0x13a)]=!0x1,this[_0x3e9df8(0x174)]());}[_0x2ba217(0x1ad)](_0x5757c1,_0x52b45c,_0x4c0dab){const _0xb8e61d=_0x2ba217;throw this[_0xb8e61d(0x13a)]=!0x0,_0x52b45c&&console[_0xb8e61d(0x1f9)](_0x52b45c),_0x4c0dab&&this[_0xb8e61d(0x15b)][_0xb8e61d(0x126)](_0xb8e61d(0x1b2)),new _0x38d082(_0x5757c1,this[_0xb8e61d(0x15b)]);}[_0x2ba217(0x14f)](_0x2d3d62){const _0xb016ea=_0x2ba217;this[_0xb016ea(0x168)][_0xb016ea(0x1ea)](_0x2d3d62)||(this[_0xb016ea(0x168)][_0xb016ea(0x18e)](_0x2d3d62),this[_0xb016ea(0x1af)][_0xb016ea(0x1bb)](_0x2d3d62),this[_0xb016ea(0x19f)]||_0xb016ea(0x1a1)==_0x2d3d62[_0xb016ea(0x1d6)]&&!_0x2d3d62[_0xb016ea(0x18f)]||this[_0xb016ea(0x1d8)]());}[_0x2ba217(0x178)](_0x3c564c=!0x1){const _0x736250=_0x2ba217;!_0x3c564c&&this[_0x736250(0x13a)]||(this[_0x736250(0x13a)]=!0x0,clearTimeout(this[_0x736250(0x142)]),this[_0x736250(0x142)]=setTimeout(()=>{const _0x2b6b86=_0x736250;this[_0x2b6b86(0x182)]()[_0x2b6b86(0x217)](_0xa868c=>{const _0x374c9e=_0x2b6b86;_0xa868c&&(this[_0x374c9e(0x174)](),this[_0x374c9e(0x13a)]=!0x1);})[_0x2b6b86(0x20d)](_0x1cdb17=>{const _0x5f6b1=_0x2b6b86;this[_0x5f6b1(0x174)](),this[_0x5f6b1(0x13a)]=!0x1,function(_0x48ef92){const _0xecb0d=_0x5f6b1;return _0x48ef92[_0xecb0d(0x12a)][_0xecb0d(0x140)](_0xecb0d(0x187))||_0x48ef92[_0xecb0d(0x12a)][_0xecb0d(0x140)](_0xecb0d(0x13e))||_0x48ef92[_0xecb0d(0x12a)][_0xecb0d(0x140)](_0xecb0d(0x1cd));}(_0x1cdb17)||this[_0x5f6b1(0x1ad)](_0x1cdb17[_0x5f6b1(0x12a)],_0x1cdb17,!0x0);});},this[_0x736250(0x1fe)]));}[_0x2ba217(0x214)](){return new Promise(_0x323825=>{const _0x2b6ca6=_0x3c9b;this['on'](_0x2b6ca6(0x180),()=>{_0x323825();});});}async[_0x2ba217(0x182)](){const _0x405e52=_0x2ba217,_0xcc607e=this[_0x405e52(0x15b)][_0x405e52(0x161)][_0x405e52(0x122)](_0x5484bd);if(this[_0x405e52(0x186)]()&&(_0xcc607e[_0x405e52(0x223)](),this[_0x405e52(0x18a)]=!0x1),!this[_0x405e52(0x136)]())return!0x0;const _0x39460f=[...this[_0x405e52(0x1af)]];for(const _0x5b775b of _0x39460f)_0x5b775b[_0x405e52(0x12d)]=this[_0x405e52(0x1c7)][_0x405e52(0x18d)][_0x405e52(0x164)](_0x5b775b);const _0x5b809c=this[_0x405e52(0x12f)][_0x405e52(0x1fd)](_0x39460f),_0x150c24=K++,_0x3922de=this[_0x405e52(0x147)](_0x39460f),_0x272c44=await this[_0x405e52(0x21a)][_0x405e52(0x20f)](_0x3922de,_0x3922de[_0x405e52(0x131)],_0x5b809c);try{return await this[_0x405e52(0x193)](_0x39460f,_0x272c44,_0x150c24);}catch(_0x559cea){return this[_0x405e52(0x1ad)](_0x405e52(0x1a4),_0x559cea);}}async[_0x2ba217(0x193)](_0x108cd9,_0x329fbe,_0x539cca){const _0x2b52f0=_0x2ba217;if(_0x2b52f0(0x1f9)in _0x329fbe)throw _0x329fbe[_0x2b52f0(0x1f9)];let _0x5a6cba=!0x1;if(_0x329fbe[_0x2b52f0(0x225)]){_0x329fbe[_0x2b52f0(0x1f4)]&&(this[_0x2b52f0(0x128)]=_0x329fbe[_0x2b52f0(0x1f4)]),this[_0x2b52f0(0x1af)]=this[_0x2b52f0(0x1af)][_0x2b52f0(0x124)](_0xc478b4=>!_0x108cd9[_0x2b52f0(0x16d)](_0xc478b4));for(const _0x10ab4e of _0x108cd9)_0x10ab4e[_0x2b52f0(0x1a7)]=_0x2b52f0(0x1e4)in _0x329fbe&&_0x329fbe[_0x2b52f0(0x1e4)]||void 0x0;Q(_0x108cd9,_0x329fbe[_0x2b52f0(0x166)]-_0x108cd9[_0x2b52f0(0x19e)]),this[_0x2b52f0(0x149)](_0x108cd9);const _0x53b72e=_0x108cd9[_0x2b52f0(0x124)](_0x551be5=>{const _0x30cb27=_0x2b52f0;if(!_0x551be5[_0x30cb27(0x1ec)])return!0x1;const _0x1585a5=this[_0x30cb27(0x177)](_0x551be5);return _0x1585a5&&!this[_0x30cb27(0x18b)][_0x30cb27(0x1ea)](_0x1585a5);});Q(_0x53b72e,this[_0x2b52f0(0x1c7)][_0x2b52f0(0x166)]),this[_0x2b52f0(0x158)](_0x53b72e),_0x5a6cba=!0x0,this[_0x2b52f0(0x1fe)]=this[_0x2b52f0(0x1da)];}else{const _0x87ab64=this[_0x2b52f0(0x195)](_0x329fbe[_0x2b52f0(0x125)],_0x329fbe[_0x2b52f0(0x1a6)])[_0x2b52f0(0x124)](_0x7b209f=>_0x7b209f[_0x2b52f0(0x131)]>=this[_0x2b52f0(0x16b)]);_0x87ab64[_0x2b52f0(0x159)](_0x134fd3=>this[_0x2b52f0(0x167)](_0x134fd3)),this[_0x2b52f0(0x1af)]=this[_0x2b52f0(0x1af)][_0x2b52f0(0x124)](_0x59221a=>!_0x59221a[_0x2b52f0(0x1ec)]||!this[_0x2b52f0(0x18b)][_0x2b52f0(0x1ea)](this[_0x2b52f0(0x177)](_0x59221a))),this[_0x2b52f0(0x1af)][_0x2b52f0(0x19e)]&&Q(this[_0x2b52f0(0x1af)],this[_0x2b52f0(0x1af)][0x0][_0x2b52f0(0x131)]),await this[_0x2b52f0(0x137)](_0x87ab64),_0x5a6cba=this[_0x2b52f0(0x1e8)](_0x87ab64,_0x329fbe[_0x2b52f0(0x166)],_0x329fbe[_0x2b52f0(0x1f4)]),this[_0x2b52f0(0x1fe)]=Math[_0x2b52f0(0x1c2)](this[_0x2b52f0(0x1fe)]/0x2);}return _0x5a6cba?!this[_0x2b52f0(0x136)]()||(this[_0x2b52f0(0x178)](!0x0),!0x1):this[_0x2b52f0(0x1ad)](_0x2b52f0(0x169));}[_0x2ba217(0x1e8)](_0x17587b,_0x54c12c,_0xaff9a2){const _0x154fe6=_0x2ba217;try{const _0x119052={'document':this[_0x154fe6(0x1c7)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2453de,operationsB:_0x3356c1,originalOperations:_0x406530}=_0x506009(_0x17587b,this[_0x154fe6(0x1af)],_0x119052);Q(_0x2453de,this[_0x154fe6(0x1c7)][_0x154fe6(0x166)]),Q(_0x3356c1,_0x54c12c);for(const _0x150eac of _0x2453de){const _0x3d2242=_0x406530[_0x154fe6(0x122)](_0x150eac);_0x150eac[_0x154fe6(0x202)]=_0x3d2242?_0x3d2242[_0x154fe6(0x202)]:null;}_0xaff9a2&&(this[_0x154fe6(0x12f)][_0x154fe6(0x15e)](_0x17587b,_0xaff9a2),this[_0x154fe6(0x128)]=_0xaff9a2),this[_0x154fe6(0x1af)]=[..._0x3356c1],this[_0x154fe6(0x158)](_0x2453de),this[_0x154fe6(0x149)](_0x17587b);}catch(_0x55ad0c){return console[_0x154fe6(0x1f9)](_0x55ad0c),!0x1;}return!0x0;}[_0x2ba217(0x158)](_0x112a87,_0x578fd9=!0x1){const _0x4e725d=_0x2ba217;this[_0x4e725d(0x15b)][_0x4e725d(0x157)][_0x4e725d(0x171)]({'isUndoable':!0x1,'isLocal':!0x1},_0x343702=>{const _0x1be3cf=_0x4e725d;for(const _0x7e7c9d of _0x112a87)this[_0x1be3cf(0x168)][_0x1be3cf(0x18e)](_0x7e7c9d),this[_0x1be3cf(0x167)](_0x7e7c9d),_0x343702[_0x1be3cf(0x1ca)][_0x1be3cf(0x188)](_0x7e7c9d),this[_0x1be3cf(0x15b)][_0x1be3cf(0x157)][_0x1be3cf(0x1a2)](_0x7e7c9d);});}[_0x2ba217(0x167)](_0x28c11f){const _0x48904e=_0x2ba217,_0x497cc4=this[_0x48904e(0x177)](_0x28c11f);_0x497cc4&&this[_0x48904e(0x18b)][_0x48904e(0x18e)](_0x497cc4);}[_0x2ba217(0x177)](_0xbe350e){const _0xbcfa4c=_0x2ba217;let _0x1706df,_0x5668ed;switch(_0xbe350e[_0xbcfa4c(0x1d6)]){case _0xbcfa4c(0x219):_0x1706df=_0xbe350e[_0xbcfa4c(0x14a)][_0xbcfa4c(0x17a)];break;case _0xbcfa4c(0x1a1):if(_0x5668ed=_0xbe350e[_0xbcfa4c(0x224)],!_0x5668ed)return null;_0x1706df=_0x5668ed[_0xbcfa4c(0x17a)];break;case _0xbcfa4c(0x20e):_0x1706df=_0xbe350e[_0xbcfa4c(0x17a)];break;case _0xbcfa4c(0x218):_0x1706df=_0xbe350e[_0xbcfa4c(0x210)];break;case _0xbcfa4c(0x1ee):_0x1706df=_0xbe350e[_0xbcfa4c(0x21e)][_0xbcfa4c(0x17a)];break;default:return null;}return _0x1706df[_0xbcfa4c(0x227)];}[_0x2ba217(0x149)](_0x462241){const _0x40e0a4=_0x2ba217;_0x462241[_0x40e0a4(0x159)](_0x34e4fe=>{const _0xfd4ce3=_0x40e0a4,_0x426ac8=_0x34e4fe[_0xfd4ce3(0x144)]();_0x426ac8[_0xfd4ce3(0x202)]=_0x34e4fe[_0xfd4ce3(0x202)],_0x426ac8[_0xfd4ce3(0x1ec)]=!!_0x34e4fe[_0xfd4ce3(0x1ec)],_0x426ac8[_0xfd4ce3(0x1a7)]=_0x34e4fe[_0xfd4ce3(0x1a7)],_0x426ac8[_0xfd4ce3(0x131)]+=this[_0xfd4ce3(0x1f5)],_0x34e4fe[_0xfd4ce3(0x1c0)]&&this[_0xfd4ce3(0x1bc)][_0xfd4ce3(0x18e)](_0x426ac8),this[_0xfd4ce3(0x1e0)][_0xfd4ce3(0x188)](_0x426ac8);});}[_0x2ba217(0x1b0)](_0x58c13f){const _0x2e3f76=_0x2ba217,_0x339eea=this[_0x2e3f76(0x15b)][_0x2e3f76(0x161)][_0x2e3f76(0x122)](_0x2e3f76(0x1e1)),_0x5069db=this[_0x2e3f76(0x15b)][_0x2e3f76(0x1d2)];_0x58c13f||(_0x58c13f=_0x3dfa05(_0x5069db,_0x2e3f76(0x1bd))),_0x339eea[_0x2e3f76(0x16c)](_0x58c13f,{'title':_0x3dfa05(_0x5069db,_0x2e3f76(0x207)),'namespace':_0x2e3f76(0x138)}),this[_0x2e3f76(0x1b6)]=!0x0,clearTimeout(this[_0x2e3f76(0x142)]),this[_0x2e3f76(0x1af)]=[],this[_0x2e3f76(0x15b)][_0x2e3f76(0x161)][_0x2e3f76(0x122)](_0x5b1024)[_0x2e3f76(0x19b)]();}[_0x2ba217(0x1d8)](){const _0x399436=_0x2ba217;this[_0x399436(0x19f)]||(this[_0x399436(0x19f)]=this[_0x399436(0x15b)][_0x399436(0x161)][_0x399436(0x122)](_0x250612)[_0x399436(0x18e)](_0x3dfa05(this[_0x399436(0x15b)][_0x399436(0x1d2)],_0x399436(0x1eb))));}[_0x2ba217(0x174)](){const _0x38fd91=_0x2ba217;this[_0x38fd91(0x19f)]&&(this[_0x38fd91(0x15b)][_0x38fd91(0x161)][_0x38fd91(0x122)](_0x250612)[_0x38fd91(0x13c)](this[_0x38fd91(0x19f)]),this[_0x38fd91(0x19f)]=null);}[_0x2ba217(0x147)](_0x307d79){const _0x312cc6=_0x2ba217,_0x30436c=_0x307d79[_0x312cc6(0x17f)](_0x2202fe=>_0x2202fe[_0x312cc6(0x148)]());return this[_0x312cc6(0x203)][_0x312cc6(0x165)](_0x30436c);}[_0x2ba217(0x195)](_0x2eee39,_0x26341b){const _0x5ab838=_0x2ba217;return this[_0x5ab838(0x203)][_0x5ab838(0x123)](_0x2eee39)[_0x5ab838(0x17f)]((_0x42b34a,_0x3e5a45)=>{const _0x2a30d8=_0x5ab838,_0x7a704b=_0x2a30d8(0x216)==_0x26341b[_0x3e5a45][_0x2a30d8(0x1d6)];if(_0x2a30d8(0x1dd)==_0x42b34a[_0x2a30d8(0x1d9)]){const _0x1ea079=_0x42b34a[_0x2a30d8(0x14a)][_0x2a30d8(0x17a)];!this[_0x2a30d8(0x1c7)][_0x2a30d8(0x15a)](_0x1ea079)&&(this[_0x2a30d8(0x1c7)][_0x2a30d8(0x134)](_0x2a30d8(0x208),_0x1ea079)[_0x2a30d8(0x206)]=!0x1);}const _0x2dabce=_0x15c6d7[_0x2a30d8(0x170)](_0x42b34a,this[_0x2a30d8(0x1c7)]);return _0x2dabce[_0x2a30d8(0x12d)]=_0x42b34a[_0x2a30d8(0x12d)],_0x2dabce[_0x2a30d8(0x1ec)]=_0x7a704b,_0x2dabce[_0x2a30d8(0x202)]=_0x7a704b?null:_0x26341b[_0x3e5a45][_0x2a30d8(0x1f3)],_0x2dabce[_0x2a30d8(0x1c0)]=_0x2a30d8(0x1f8)===_0x26341b[_0x3e5a45][_0x2a30d8(0x1d6)],_0x2dabce[_0x2a30d8(0x1a7)]=_0x26341b[_0x3e5a45][_0x2a30d8(0x1a7)],_0x2dabce;});}[_0x2ba217(0x162)](){const _0x5365f1=_0x2ba217;this[_0x5365f1(0x18a)]=!0x0,this[_0x5365f1(0x186)]()?this[_0x5365f1(0x178)]():this[_0x5365f1(0x18a)]=!0x1;}[_0x2ba217(0x186)](){const _0xbd4cf4=_0x2ba217,_0x44858d=this[_0xbd4cf4(0x15b)][_0xbd4cf4(0x161)][_0xbd4cf4(0x122)](_0x42a2ab)[_0xbd4cf4(0x14b)][_0xbd4cf4(0x122)](this[_0xbd4cf4(0x1e9)]);return!this[_0xbd4cf4(0x15b)][_0xbd4cf4(0x20a)]&&!!_0x44858d&&_0x44858d[_0xbd4cf4(0x19e)]>0x1&&this[_0xbd4cf4(0x18a)];}[_0x2ba217(0x136)](){const _0x25e7b5=_0x2ba217;return this[_0x25e7b5(0x1af)][_0x25e7b5(0x19e)]>0x0||this[_0x25e7b5(0x186)]();}}l[_0x2ba217(0x1ed)]=_0x17e683;export default l;class J extends Error{}function _0xdd2f(){const _0x1b489=['409','sessionAdd:','createPositionAt','_saveOperationInBuffer','disableReadOnlyMode','_handleInitialConnectionData','high','realtimecollaborationclient-init-session-connection-error','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','attributes','12018SqPMEj','model','_applyOperationsSet','forEach','getRoot','editor','2705sipuSq','parse','setIdForTheLastOperation','getMany','end','plugins','_refreshUserSelectionMarkers','_bufferRootLoad','isUndoneOperation','compress','version','_addKnownRoot','_knownOperations','realtimecollaborationclient-handleserverresponse','10rgKfHL','_lastServerVersion','showWarning','includes','differ','getConnectedSessions','fromJSON','enqueueChange','set','listenTo','_clearPendingAction','disconnect','getOperationAuthor','_getAffectedRoot','_sendBufferedOperationsDelayed','stopListening','root','_ignoredOperations','rtc-offline','1871448DRkhsY','rtc-destroyed','map','change:_isPendingUpdate','from','_sendBufferedOperations','CommentsOnly','cloudDocumentVersion','loadRoot','_shouldSendSelectionUpdate','cloud-services-internal-error:\x20Not\x20connected.','addOperation','_operationToId','_hasSelectionChanged','_knownRootNames','markers','history','add','affectsData','slice','isOfficialPlugin','change:hasDomSelection','_handleServerResponse','view','_decompressOperations','reconnection:\x20flushed\x20session','15jXmbLf','selection','apply','lastSyncVersion','destroy','document:write','finally','length','_pendingAction','suppressErrorInCollaboration','marker','applyOperation','connect','realtimecollaborationclient-sendbufferedoperations','cloudServices.bundleVersion','metadata','createdAt','unregister','30440eUEjQs','config','_disconnectService','getOperations','_crash','entries','_bufferedOperations','_handleReconnectionError','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-error','path','connected','realtimecollaborationclient-initservice-incorrect-server-operation','_hasSynchronizationProblem','keys','addUser','_isConnected','register','push','_disconnectionOperations','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.','editing','_handleReconnectionResponse','_isDisconnection','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','round','117WvZqry','fire','setPermissions','realtimecollaborationclient-init-non-existent-root','_document','define','isEnabled','batch','isPremiumPlugin','realtimecollaborationclient-init-document-already-initialized','cloud-services-internal-error:\x20Request\x20timeout.','disconnected','_initThrowingOnDataSet','initData','collaboration.channelId','locale','directChange','_isEditingAllowed','pluginName','type','_connectAfterSessionHasBeenFlushed','_setPendingAction','__className','_baseBufferDelay','7370343FXKyJV','requires','InsertOperation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isDocumentOperation','serverHistory','Notification','404','sessionCreatedAt','lastOperationAcceptedAt','_loadRoot','ready','permissions','_handleExternalOperations','_channelId','has','PENDING_ACTION_SENDING_DATA','_isInit','CollaborativeEditingService','move','addToReconnectionStack','9488897BclDdA','collaboration','realtimecollaborationclient-initservice-internal-error','userId','lastOperationId','_offset','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.','connection','cs:removeUser','error','roots','document','offset','getIdOfTheLastOperation','_currentBufferDelay','stop','getUser','_handleSendingSelectionMarkers','_authorId','_compressor','mySessionId','539084SdaPnJ','_isAttached','Synchronization\x20issue','$root','1043PqntYp','isReadOnly','bind','change:_isEditingAllowed','catch','addRootAttribute','sendOperations','affectedSelectable','rootsAttributes','_setUpDataInit','reset','_waitUntilSynced','size','init','then','addRoot','insert','_service','operationsReceived','_connectService','_handleReceivedOperations','targetPosition','start','state','Permissions','change:range','createUserMarkerOperations','newRange','wereChangesApplied','code','rootName','return','RealTimeCollaborationClient','get','decompress','filter','data','enableReadOnlyMode','off','_lastSyncedOperationId','getDocumentDetails','message','_isLoaded','currentDocumentSession','wasUndone','reconnect','_operationIdentifier','_initSessionsHandling','baseVersion','string','removeFromReconnectionStack','createRoot','7016YQeCAl','_shouldSendUpdate','_fetchMissingUsers','real-time-collaboration','_getOperationsFromInitData','_isPendingUpdate','lastDocumentSession','remove','multi-root-editor-root-attributes-no-root','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','sessionId','startsWith','10otYtug','_sendBufferedOperationsDelayId','createRange','clone','collaboration-missing-channelid','createPositionFromPath','_compressOperations','toJSON','_updateServerHistory','position','channelSessions'];_0xdd2f=function(){return _0x1b489;};return _0xdd2f();}function Q(_0x15a091,_0xc5d49e){const _0x2ac1fa=_0x2ba217;for(const _0x143cb7 of _0x15a091)_0x143cb7[_0x2ac1fa(0x131)]=_0xc5d49e++;}class X{constructor(_0x1829d4){const _0x379dd6=_0x2ba217;this[_0x379dd6(0x17b)]=_0x1829d4,this[_0x379dd6(0x189)]=new WeakMap();}[_0x2ba217(0x1fd)](_0x4e537f){const _0xbfa78a=_0x2ba217;let _0x3c3266=_0x4e537f[_0xbfa78a(0x19e)];for(;_0x3c3266--;){const _0x1a989f=_0x4e537f[_0x3c3266];if(!this[_0xbfa78a(0x17b)][_0xbfa78a(0x1ea)](_0x1a989f)){if(!this[_0xbfa78a(0x189)][_0xbfa78a(0x1ea)](_0x1a989f)){const _0xfa0970=_0x393b58()[_0xbfa78a(0x190)](0x1,0x12);this[_0xbfa78a(0x189)][_0xbfa78a(0x172)](_0x1a989f,_0xfa0970);}return this[_0xbfa78a(0x189)][_0xbfa78a(0x122)](_0x1a989f);}}}[_0x2ba217(0x15e)](_0x4208bd,_0x379b96){const _0x25bfd7=_0x2ba217;if(!_0x379b96)return;let _0x47240e=_0x4208bd[_0x25bfd7(0x19e)];for(;_0x47240e--;){const _0x41284b=_0x4208bd[_0x47240e];this[_0x25bfd7(0x17b)][_0x25bfd7(0x1ea)](_0x41284b)||this[_0x25bfd7(0x189)][_0x25bfd7(0x172)](_0x41284b,_0x379b96);}}}
|
|
23
|
+
function _0x4300(_0x368c5a,_0x31a216){const _0x1fc798=_0x1fc7();return _0x4300=function(_0x430055,_0x504c7f){_0x430055=_0x430055-0x149;let _0x530d4c=_0x1fc798[_0x430055];return _0x530d4c;},_0x4300(_0x368c5a,_0x31a216);}const _0x57cfa7=_0x4300;(function(_0x3ffcd4,_0x29c3d2){const _0x3a143e=_0x4300,_0x470933=_0x3ffcd4();while(!![]){try{const _0x87835=-parseInt(_0x3a143e(0x18e))/0x1+-parseInt(_0x3a143e(0x22a))/0x2+parseInt(_0x3a143e(0x15f))/0x3*(parseInt(_0x3a143e(0x1f9))/0x4)+parseInt(_0x3a143e(0x1e0))/0x5*(-parseInt(_0x3a143e(0x23a))/0x6)+-parseInt(_0x3a143e(0x22e))/0x7*(-parseInt(_0x3a143e(0x1fd))/0x8)+-parseInt(_0x3a143e(0x1fe))/0x9*(-parseInt(_0x3a143e(0x187))/0xa)+-parseInt(_0x3a143e(0x204))/0xb*(-parseInt(_0x3a143e(0x1c8))/0xc);if(_0x87835===_0x29c3d2)break;else _0x470933['push'](_0x470933['shift']());}catch(_0x4579c2){_0x470933['push'](_0x470933['shift']());}}}(_0x1fc7,0x72c7f));import{Plugin as _0x4b7636,PendingActions as _0x365c1d}from'ckeditor5/src/core.js';import{CKEditorError as _0x4e4524,version as _0x99706b,uid as _0x40bb0c}from'ckeditor5/src/utils.js';import{Notification as _0x489bf9}from'ckeditor5/src/ui.js';function _0x1fc7(){const _0x3dff0f=['sessionAdd:','filter','from','reconnection:\x20flushed\x20session','plugins','has','remove','off','12yVXeZd','createPositionAt','cloud-services-internal-error:\x20Request\x20timeout.','string','getIdOfTheLastOperation','addUser','realtimecollaborationclient','cs:removeUser','permissions','directChange','change:_isPendingUpdate','CollaborativeEditingService','destroy','reset','add','cloud-services-internal-error:\x20Not\x20connected.','finally','code','reconnect','_crash','_refreshUserSelectionMarkers','init','view','getOperations','646515BeXhog','root','register','realtimecollaborationclient-init-non-existent-root','baseVersion','CommentsOnly','_disconnectService','cloudServices.bundleVersion','_connectService','model','multi-root-editor-root-attributes-no-root','fromJSON','editor','locale','change:range','InsertOperation','offset','forEach','_service','get','cloudDocumentVersion','sessionId','_knownRootNames','suppressErrorInCollaboration','Synchronization\x20issue','28pyWXOI','disableReadOnlyMode','_ignoredOperations','Permissions','1112eRkvIR','3138786kjmRoz','_hasSynchronizationProblem','message','_clearPendingAction','keys','addToReconnectionStack','4187029CHIEWI','_authorId','_hasSelectionChanged','realtimecollaborationclient-init-service-incorrect-server-operation','marker','_bufferedOperations','applyOperation','stopListening','disconnected','_handleServerResponse','_handleSendingSelectionMarkers','enableReadOnlyMode','unregister','operationsReceived','parse','newRange','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','affectsData','startsWith','_initThrowingOnDataSet','move','error','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_shouldSendSelectionUpdate','_compressOperations','collaboration','createUserMarkerOperations','isEnabled','realtimecollaborationclient-sendbufferedoperations','_bufferRootLoad','roots','_currentBufferDelay','apply','_channelId','_lastServerVersion','setPermissions','_disconnectionOperations','sessionCreatedAt','528518YoDdPH','sendOperations','_shouldSendUpdate','document','36463OBpqVA','_operationToId','round','isUndoneOperation','loadRoot','realtimecollaborationclient-init-session-connection-error','clone','bind','isReadOnly','initData','_document','_isLoaded','24zOhbxq','version','then','compress','_handleReconnectionResponse','slice','getDocumentDetails','lastDocumentSession','path','rtc-destroyed','realtimecollaborationclient-handleserverresponse','decompress','change:_isEditingAllowed','mySessionId','Notification','define','_operationIdentifier','PENDING_ACTION_SENDING_DATA','getOperationAuthor','_isConnected','removeFromReconnectionStack','_sendBufferedOperationsDelayId','history','channelSessions','_isInit','realtimecollaborationclient-init-document-already-initialized','editing','_handleInitialConnectionData','409','_offset','wasUndone','position','createdAt','_addKnownRoot','serverHistory','targetPosition','getMany','map','length','_saveOperationInBuffer','ready','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.','_isPendingUpdate','createPositionFromPath','_pendingAction','260313WgHGlM','RealTimeCollaborationClient','return','connection','rootsAttributes','connect','_fetchMissingUsers','rootName','_isAttached','connected','_isDisconnection','_lastSyncedOperationId','getUser','currentDocumentSession','change:hasDomSelection','entries','_knownOperations','realtimecollaborationclient-init-service-internal-error','stop','metadata','_handleExternalOperations','_decompressOperations','getConnectedSessions','differ','size','realtimecollaborationclient-error','addRoot','addRootAttribute','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','$root','push','data','createRoot','requires','realtimecollaborationclient-init-connection-failed','type','end','listenTo','_compressor','lastOperationId','10UElKkf','collaboration.channelId','showWarning','affectedSelectable','rtc-offline','_sendBufferedOperations','_handleReceivedOperations','809227iTdKlj','addOperation','_initSessionsHandling','config','selection','attributes','includes','_isEditingAllowed','_getAffectedRoot','collaboration-missing-channelid','insert','_loadRoot','wereChangesApplied','isDocumentOperation','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','markers','isPremiumPlugin','enqueueChange','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.','real-time-collaboration','_getOperationsFromInitData','userId','getRoot','_waitUntilSynced','toJSON','_handleReconnectionError','createRange','catch','lastSyncVersion','state','set','__className','fire','_applyOperationsSet','_setPendingAction','document:write','_updateServerHistory','disconnect','high','pluginName','batch','_connectAfterSessionHasBeenFlushed','_baseBufferDelay','setIdForTheLastOperation','isOfficialPlugin','_setUpDataInit','lastOperationAcceptedAt','404','start','_sendBufferedOperationsDelayed'];_0x1fc7=function(){return _0x3dff0f;};return _0x1fc7();}import{transformSets as _0x9cffba,NoOperation as _0x3d8b34,InsertOperation as _0xa58ace,MarkerOperation as _0x21729e,RootAttributeOperation as _0xe11761,OperationFactory as _0x5642dd,History as _0x117e6e}from'ckeditor5/src/engine.js';import _0x2109ee from'./websocketgateway.js';import _0x5b9a8e from'./sessions.js';import _0x27bdeb from'./usermarkers.js';import{getTranslation as _0xbcc887}from'../common-translations.js';import{Compressor as _0x31eb84}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x46783d}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2dedfc,CollaborativeEditingService as _0x54d772}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x4b7636{static get[_0x57cfa7(0x180)](){return[_0x2109ee,_0x5b9a8e,_0x27bdeb,_0x365c1d,_0x46783d,_0x489bf9];}static get[_0x57cfa7(0x1b5)](){const _0x3c84bf=_0x57cfa7;return _0x3c84bf(0x160);}static get[_0x57cfa7(0x1ba)](){return!0x0;}static get[_0x57cfa7(0x19e)](){return!0x0;}get[_0x57cfa7(0x1f4)](){const _0x23466d=_0x57cfa7;return this[_0x23466d(0x226)]+this[_0x23466d(0x14f)];}get[_0x57cfa7(0x226)](){const _0x585f04=_0x57cfa7;return this[_0x585f04(0x154)][_0x585f04(0x23b)]-this[_0x585f04(0x14f)];}get[_0x57cfa7(0x1aa)](){const _0x3386e7=_0x57cfa7,_0x55e959=this[_0x3386e7(0x154)][_0x3386e7(0x1df)]();for(let _0x1493cb=_0x55e959[_0x3386e7(0x158)]-0x1;_0x1493cb>=0x0;_0x1493cb--){const _0x2277b7=_0x55e959[_0x1493cb];if(!this[_0x3386e7(0x228)][_0x3386e7(0x1c5)](_0x2277b7))return _0x2277b7[_0x3386e7(0x1e4)]+0x1-this[_0x3386e7(0x14f)];}return 0x0;}constructor(_0x1bf31b){const _0x5e662d=_0x57cfa7;if(super(_0x1bf31b),this[_0x5e662d(0x14f)]=0x0,this[_0x5e662d(0x1f5)]=null,this[_0x5e662d(0x154)]=new _0x117e6e(),this[_0x5e662d(0x1ec)][_0x5e662d(0x191)][_0x5e662d(0x249)](_0x5e662d(0x21d),{}),this[_0x5e662d(0x225)]=this[_0x5e662d(0x1ec)][_0x5e662d(0x191)][_0x5e662d(0x1f3)](_0x5e662d(0x188)),!this[_0x5e662d(0x225)])throw new _0x4e4524(_0x5e662d(0x197),this);const _0x1221a5=_0x1bf31b[_0x5e662d(0x191)][_0x5e662d(0x1f3)](_0x5e662d(0x1e7))||_0x99706b;this[_0x5e662d(0x1f2)]=new l[(_0x5e662d(0x1d3))](_0x1221a5,this[_0x5e662d(0x225)]),this[_0x5e662d(0x238)]=this[_0x5e662d(0x1ec)][_0x5e662d(0x1e9)][_0x5e662d(0x22d)],this[_0x5e662d(0x185)]=new _0x31eb84(),this[_0x5e662d(0x209)]=[],this[_0x5e662d(0x16f)]=new WeakSet(),this[_0x5e662d(0x1f6)]=new Set(),this[_0x5e662d(0x1ac)](_0x5e662d(0x15c),!0x1),this[_0x5e662d(0x1ac)](_0x5e662d(0x1ff),!0x1),this[_0x5e662d(0x15e)]=null,this[_0x5e662d(0x206)]=!0x1,this[_0x5e662d(0x24f)]=null,this[_0x5e662d(0x1b8)]=0x12c,this[_0x5e662d(0x223)]=this[_0x5e662d(0x1b8)],this[_0x5e662d(0x16a)]=null,this[_0x5e662d(0x228)]=new WeakSet(),this[_0x5e662d(0x24a)]=new X(this[_0x5e662d(0x228)]);}[_0x57cfa7(0x1dd)](){const _0x344e27=_0x57cfa7,_0x16b234=this[_0x344e27(0x1ec)],_0x19f391=_0x16b234[_0x344e27(0x1c4)][_0x344e27(0x1f3)](_0x46783d),_0x18ae95=_0x16b234[_0x344e27(0x1c4)][_0x344e27(0x1f3)](_0x2109ee);this[_0x344e27(0x184)](_0x19f391,_0x344e27(0x24c),(_0x1c93f2,_0xe92def)=>{const _0x5e24d2=_0x344e27,_0x1d5fa6=_0xe92def[0x0];_0x1d5fa6[_0x5e24d2(0x205)]&&(_0x1c93f2[_0x5e24d2(0x161)]=_0x19f391[_0x5e24d2(0x16b)](_0x1d5fa6[_0x5e24d2(0x205)]),_0x1c93f2[_0x5e24d2(0x171)]()),null===_0x1d5fa6[_0x5e24d2(0x205)]&&(_0x1c93f2[_0x5e24d2(0x161)]=null,_0x1c93f2[_0x5e24d2(0x171)]());},{'priority':_0x344e27(0x1b4)}),this[_0x344e27(0x184)](_0x16b234[_0x344e27(0x1e9)][_0x344e27(0x22d)][_0x344e27(0x192)],_0x344e27(0x1ee),(_0x21677a,_0x2c7655)=>{const _0x4d7579=_0x344e27;_0x2c7655[_0x4d7579(0x1d1)]&&this[_0x4d7579(0x1dc)]();}),this[_0x344e27(0x184)](_0x16b234[_0x344e27(0x14c)][_0x344e27(0x1de)],_0x344e27(0x16d),()=>{const _0x24eeb6=_0x344e27;this[_0x24eeb6(0x1dc)]();}),this[_0x344e27(0x217)](),_0x16b234[_0x344e27(0x1e9)]['on'](_0x344e27(0x20a),(_0x3ad1d4,_0x2029d3)=>{const _0x44b823=_0x344e27,_0x3241e6=_0x2029d3[0x0];_0x3241e6[_0x44b823(0x19b)]&&(this[_0x44b823(0x159)](_0x3241e6),this[_0x44b823(0x22c)]()&&this[_0x44b823(0x1bf)]());}),this[_0x344e27(0x1bb)](),this[_0x344e27(0x235)](_0x344e27(0x195))['to'](_0x18ae95,_0x344e27(0x1ab),this,_0x344e27(0x1ff),(_0x50f5f6,_0x436c4b)=>_0x344e27(0x168)===_0x50f5f6&&!_0x436c4b),this['on'](_0x344e27(0x246),()=>{const _0x10a1cd=_0x344e27;this[_0x10a1cd(0x195)]?_0x16b234[_0x10a1cd(0x1fa)](_0x10a1cd(0x18b)):_0x16b234[_0x10a1cd(0x20f)](_0x10a1cd(0x18b));}),this[_0x344e27(0x195)]?_0x16b234[_0x344e27(0x1fa)](_0x344e27(0x18b)):_0x16b234[_0x344e27(0x20f)](_0x344e27(0x18b)),this[_0x344e27(0x1ac)](_0x344e27(0x24d),!0x1);}async[_0x57cfa7(0x1da)](){const _0x54954e=_0x57cfa7,_0x4d514d=this[_0x54954e(0x1ec)][_0x54954e(0x1c4)][_0x54954e(0x1f3)](_0x5b9a8e),_0xf6f45f=this[_0x54954e(0x1ec)][_0x54954e(0x1c4)][_0x54954e(0x1f3)](_0x2109ee);try{this[_0x54954e(0x15c)]=!0x0,_0x4d514d[_0x54954e(0x210)](this[_0x54954e(0x225)]);const _0x464f3f=await this[_0x54954e(0x1f2)][_0x54954e(0x1da)](_0xf6f45f[_0x54954e(0x162)],this[_0x54954e(0x1aa)]);await this[_0x54954e(0x23e)](_0x464f3f)&&(this[_0x54954e(0x15c)]=!0x1,this[_0x54954e(0x201)]());const _0x5c7168=await this[_0x54954e(0x1f2)][_0x54954e(0x175)]();_0x4d514d[_0x54954e(0x1e2)](this[_0x54954e(0x225)],_0x5c7168),this[_0x54954e(0x20e)](),this[_0x54954e(0x24d)]=!0x0;}catch(_0x24ce50){if(function(_0x224bed){const _0x39bd93=_0x54954e;return _0x39bd93(0x1bd)===_0x224bed[_0x39bd93(0x1d9)];}(_0x24ce50)&&this[_0x54954e(0x1f5)])await this[_0x54954e(0x1b7)]();else{if(function(_0x46e84b){const _0x2b27d4=_0x54954e;return _0x2b27d4(0x14e)===_0x46e84b[_0x2b27d4(0x1d9)];}(_0x24ce50)){const _0x145881=_0xbcc887(this[_0x54954e(0x1ec)][_0x54954e(0x1ed)],_0x54954e(0x19c));this[_0x54954e(0x1a7)](_0x145881);}else{if(!(_0x24ce50 instanceof J))throw _0x24ce50;this[_0x54954e(0x1a7)]();}}}}[_0x57cfa7(0x1d4)](){const _0x1192bb=_0x57cfa7,_0x4de079=this[_0x1192bb(0x1ec)][_0x1192bb(0x1c4)][_0x1192bb(0x1f3)](_0x2109ee),_0x2b97a0=this[_0x1192bb(0x1ec)][_0x1192bb(0x1c4)][_0x1192bb(0x1f3)](_0x5b9a8e);this[_0x1192bb(0x1ec)][_0x1192bb(0x20f)](_0x1192bb(0x243)),_0x2b97a0[_0x1192bb(0x149)][_0x1192bb(0x1c5)](this[_0x1192bb(0x225)])&&_0x2b97a0[_0x1192bb(0x210)](this[_0x1192bb(0x225)]),_0x4de079[_0x1192bb(0x24e)](this),this[_0x1192bb(0x1e6)](),super[_0x1192bb(0x1d4)]();}async[_0x57cfa7(0x23e)](_0x277980){const _0xba5550=_0x57cfa7;if(this[_0xba5550(0x1f5)]!==_0x277980[_0xba5550(0x1f5)]&&this[_0xba5550(0x16a)]!==_0x277980[_0xba5550(0x186)])throw new J();return this[_0xba5550(0x1f5)]=_0x277980[_0xba5550(0x1f5)],this[_0xba5550(0x20d)]([],{..._0x277980,'wereChangesApplied':!0x1,'data':_0x277980[_0xba5550(0x17e)]},_0xba5550(0x1da));}async[_0x57cfa7(0x1e8)](_0x442dba,_0x5bd90b=!0x1){const _0xe75a10=_0x57cfa7,{connection:_0xfc6293}=this[_0xe75a10(0x1ec)][_0xe75a10(0x1c4)][_0xe75a10(0x1f3)](_0x2109ee);l[_0xe75a10(0x1d3)][_0xe75a10(0x175)](_0xfc6293,this[_0xe75a10(0x225)])[_0xe75a10(0x23c)](_0x456ab6=>this[_0xe75a10(0x190)](_0x456ab6))[_0xe75a10(0x1a9)](_0x4323cc=>{const _0x51d7bf=_0xe75a10;this[_0x51d7bf(0x1db)](_0x51d7bf(0x233),_0x4323cc);}),this[_0xe75a10(0x184)](this[_0xe75a10(0x1f2)],_0xe75a10(0x211),this[_0xe75a10(0x18d)][_0xe75a10(0x235)](this)),this[_0xe75a10(0x184)](this[_0xe75a10(0x1f2)],_0xe75a10(0x219),(_0x1715d2,_0x4fe216)=>{const _0x320b33=_0xe75a10;this[_0x320b33(0x1db)](_0x320b33(0x170),_0x4fe216);}),this[_0xe75a10(0x184)](this[_0xe75a10(0x1f2)],_0xe75a10(0x20c),()=>{const _0x58b51b=_0xe75a10;this[_0x58b51b(0x24d)]=!0x1;});const _0x321b95=this[_0xe75a10(0x24a)][_0xe75a10(0x1cc)](_0x442dba);this[_0xe75a10(0x15c)]=!0x0;const _0xe961bd=await this[_0xe75a10(0x1f2)][_0xe75a10(0x164)](_0xfc6293,this[_0xe75a10(0x21c)](_0x442dba),_0x321b95);if(this[_0xe75a10(0x1f5)]=_0xe961bd[_0xe75a10(0x1f5)],_0x5bd90b){if(!_0xe961bd[_0xe75a10(0x19a)])return void this[_0xe75a10(0x1a7)]();this[_0xe75a10(0x15c)]=!0x1,this[_0xe75a10(0x201)](),this[_0xe75a10(0x154)][_0xe75a10(0x1d5)](),this[_0xe75a10(0x14f)]=_0xe961bd[_0xe75a10(0x1f0)],this[_0xe75a10(0x154)][_0xe75a10(0x23b)]=this[_0xe75a10(0x14f)],await this[_0xe75a10(0x20d)](_0x442dba,_0xe961bd,_0xe75a10(0x1c3));}else await this[_0xe75a10(0x14d)](_0xe961bd,_0x442dba);this[_0xe75a10(0x20e)](),this[_0xe75a10(0x24d)]=!0x0;}[_0x57cfa7(0x20e)](){const _0x13a31f=_0x57cfa7,_0x5ddad4=this[_0x13a31f(0x1ec)][_0x13a31f(0x1c4)][_0x13a31f(0x1f3)](_0x5b9a8e),_0x340aa2=this[_0x13a31f(0x1ec)][_0x13a31f(0x1c4)][_0x13a31f(0x1f3)](_0x27bdeb),_0x299623=_0x5ddad4[_0x13a31f(0x149)][_0x13a31f(0x1f3)](this[_0x13a31f(0x225)]);_0x299623&&_0x299623[_0x13a31f(0x158)]>0x1?_0x340aa2[_0x13a31f(0x21e)]():this[_0x13a31f(0x184)](_0x5ddad4,_0x13a31f(0x1c0)+this[_0x13a31f(0x225)],()=>{const _0x2dcf15=_0x13a31f;0x2===_0x5ddad4[_0x2dcf15(0x149)][_0x2dcf15(0x1f3)](this[_0x2dcf15(0x225)])[_0x2dcf15(0x158)]&&_0x340aa2[_0x2dcf15(0x21e)]();});}async[_0x57cfa7(0x18d)](_0x3f9b58,_0x3bdb65,_0x500198,_0x184d96){const _0xfa17a=_0x57cfa7;if(!this[_0xfa17a(0x15c)]&&this[_0xfa17a(0x238)][_0xfa17a(0x23b)]==_0x3bdb65){const _0x4fd4e4=this[_0xfa17a(0x174)](_0x500198,_0x184d96);await this[_0xfa17a(0x165)](_0x4fd4e4),this[_0xfa17a(0x173)](_0x4fd4e4,_0x3bdb65,_0x500198[_0xfa17a(0x186)])||this[_0xfa17a(0x1db)](_0xfa17a(0x207));}}async[_0x57cfa7(0x1b7)](){const _0x2a4781=_0x57cfa7;this[_0x2a4781(0x1e6)]();const {locale:_0x50f386}=this[_0x2a4781(0x1ec)];let _0x7badcb;try{_0x7badcb=await this[_0x2a4781(0x1f2)][_0x2a4781(0x240)]();}catch(_0x564e61){const _0x2044dd=_0xbcc887(_0x50f386,_0x2a4781(0x214));return void this[_0x2a4781(0x1a7)](_0x2044dd);}const _0x34495b=_0x7badcb[_0x2a4781(0x16c)]||_0x7badcb[_0x2a4781(0x241)];if(this[_0x2a4781(0x16a)]===_0x34495b[_0x2a4781(0x186)])await this[_0x2a4781(0x1e8)](this[_0x2a4781(0x1ec)][_0x2a4781(0x1e9)][_0x2a4781(0x22d)][_0x2a4781(0x250)][_0x2a4781(0x1df)](),!0x0);else{const _0x267633=_0xbcc887(_0x50f386,_0x2a4781(0x15b));this[_0x2a4781(0x1a7)](_0x267633);}}[_0x57cfa7(0x1e6)](){const _0x44fb53=_0x57cfa7;this[_0x44fb53(0x1f2)][_0x44fb53(0x1b3)](),this[_0x44fb53(0x209)]=[],clearTimeout(this[_0x44fb53(0x24f)]),this[_0x44fb53(0x20b)](this[_0x44fb53(0x1f2)]);}[_0x57cfa7(0x190)](_0x926419){const _0x1c1ae8=_0x57cfa7,_0x277346=this[_0x1c1ae8(0x1ec)][_0x1c1ae8(0x1c4)][_0x1c1ae8(0x1f3)](_0x5b9a8e);this[_0x1c1ae8(0x184)](_0x277346,_0x1c1ae8(0x1c0)+this[_0x1c1ae8(0x225)],(_0x3b82a0,{session:_0x121ee1})=>{const _0x8d9f85=_0x1c1ae8;if(_0x121ee1['id']===_0x277346[_0x8d9f85(0x247)]){_0x3b82a0[_0x8d9f85(0x1c7)]();const _0xcc5043=this[_0x8d9f85(0x1ec)][_0x8d9f85(0x1c4)][_0x8d9f85(0x1c5)](_0x8d9f85(0x1e5))&&this[_0x8d9f85(0x1ec)][_0x8d9f85(0x1c4)][_0x8d9f85(0x1f3)](_0x8d9f85(0x1e5));let _0x3926b0=_0x121ee1[_0x8d9f85(0x1d0)];_0xcc5043&&_0xcc5043[_0x8d9f85(0x21f)]&&(_0x3926b0=_0x3926b0[_0x8d9f85(0x1c1)](_0x43d078=>_0x8d9f85(0x1b1)!==_0x43d078)),this[_0x8d9f85(0x1ec)][_0x8d9f85(0x1c4)][_0x8d9f85(0x1f3)](_0x8d9f85(0x1fc))[_0x8d9f85(0x227)](_0x3926b0,this[_0x8d9f85(0x225)]);}}),_0x277346[_0x1c1ae8(0x1e2)](this[_0x1c1ae8(0x225)],_0x926419);}[_0x57cfa7(0x217)](){const _0xfc3d3e=_0x57cfa7,_0x5085ae=this[_0xfc3d3e(0x1ec)][_0xfc3d3e(0x17e)][_0xfc3d3e(0x1ac)];this[_0xfc3d3e(0x1ec)][_0xfc3d3e(0x17e)][_0xfc3d3e(0x1ac)]=(..._0x1c2153)=>{const _0x4128aa=_0xfc3d3e;if(!_0x1c2153[_0x1c2153[_0x4128aa(0x158)]-0x1][_0x4128aa(0x1f7)])throw new _0x4e4524(_0x4128aa(0x21a),this);_0x5085ae[_0x4128aa(0x224)](this[_0x4128aa(0x1ec)][_0x4128aa(0x17e)],_0x1c2153);};}[_0x57cfa7(0x1bb)](){const _0x1d570f=_0x57cfa7;this[_0x1d570f(0x1ec)][_0x1d570f(0x17e)]['on'](_0x1d570f(0x1dd),(_0x505051,[_0x5bad42])=>{const _0x29a6ce=_0x1d570f;if(this[_0x29a6ce(0x238)][_0x29a6ce(0x23b)])throw new _0x4e4524(_0x29a6ce(0x14b),this);_0x505051[_0x29a6ce(0x171)](),this[_0x29a6ce(0x1b0)]();const _0x42a6be=this[_0x29a6ce(0x1ec)][_0x29a6ce(0x191)][_0x29a6ce(0x1f3)](_0x29a6ce(0x163)),_0x52a334=this[_0x29a6ce(0x1a2)](_0x5bad42,_0x42a6be);0x0==_0x52a334[_0x29a6ce(0x158)]&&_0x52a334[_0x29a6ce(0x17d)](new _0x3d8b34(0x0)),_0x505051[_0x29a6ce(0x161)]=this[_0x29a6ce(0x1e8)](_0x52a334)[_0x29a6ce(0x23c)](()=>{const _0x5a2e3e=_0x29a6ce;this[_0x5a2e3e(0x1ec)][_0x5a2e3e(0x1c4)][_0x5a2e3e(0x1f3)](_0x2109ee)[_0x5a2e3e(0x203)](this),this[_0x5a2e3e(0x1ec)][_0x5a2e3e(0x17e)][_0x5a2e3e(0x1ae)](_0x5a2e3e(0x15a));})[_0x29a6ce(0x1a9)](_0x4dc3d3=>this[_0x29a6ce(0x1db)](_0x29a6ce(0x181),_0x4dc3d3))[_0x29a6ce(0x1d8)](()=>this[_0x29a6ce(0x201)]());},{'priority':_0x1d570f(0x1b4)}),this[_0x1d570f(0x1ec)]['on'](_0x1d570f(0x232),async(_0x1f243e,[_0xe9b05d,_0x3bb122])=>{const _0x13f99a=_0x1d570f;_0x1f243e[_0x13f99a(0x171)]();const _0x11f2c5=this[_0x13f99a(0x1ec)][_0x13f99a(0x1e9)][_0x13f99a(0x22d)][_0x13f99a(0x1a4)](_0xe9b05d);if(!this[_0x13f99a(0x1f6)][_0x13f99a(0x1c5)](_0xe9b05d)){const _0xb0ed36=_0x3bb122&&_0x3bb122[_0x13f99a(0x17e)]?_0x3bb122[_0x13f99a(0x17e)]:'',_0x213bec=_0x3bb122&&_0x3bb122[_0x13f99a(0x193)]?_0x3bb122[_0x13f99a(0x193)]:{};await this[_0x13f99a(0x199)](_0xe9b05d,_0xb0ed36,_0x213bec);}this[_0x13f99a(0x1ec)][_0x13f99a(0x1e9)][_0x13f99a(0x19f)]({'isUndoable':!0x1},()=>{const _0x20a3c1=_0x13f99a;_0x11f2c5[_0x20a3c1(0x239)]=!0x0,this[_0x20a3c1(0x1ec)][_0x20a3c1(0x1e9)][_0x20a3c1(0x22d)][_0x20a3c1(0x176)][_0x20a3c1(0x221)](_0x11f2c5);});},{'priority':_0x1d570f(0x1b4)});}async[_0x57cfa7(0x165)](_0x3b9285){const _0x583dd0=_0x57cfa7,_0x78a4c6=this[_0x583dd0(0x1ec)][_0x583dd0(0x1c4)][_0x583dd0(0x1f3)](_0x46783d),{connection:_0x4aa9b6}=this[_0x583dd0(0x1ec)][_0x583dd0(0x1c4)][_0x583dd0(0x1f3)](_0x2109ee),_0x18d5f1=new Set();for(const _0x5865eb of _0x3b9285){const _0x41b2cd=_0x5865eb[_0x583dd0(0x205)];_0x41b2cd&&!_0x78a4c6[_0x583dd0(0x16b)](_0x41b2cd)&&_0x18d5f1[_0x583dd0(0x1d6)](_0x41b2cd);}if(0x0===_0x18d5f1[_0x583dd0(0x177)])return;const _0x202ac8=await _0x2dedfc[_0x583dd0(0x156)](_0x4aa9b6,Array[_0x583dd0(0x1c2)](_0x18d5f1));for(const _0x56c1d9 of _0x202ac8)_0x78a4c6[_0x583dd0(0x16b)](_0x56c1d9['id'])||_0x78a4c6[_0x583dd0(0x1cd)](_0x56c1d9);}[_0x57cfa7(0x1a2)](_0x5e7984,_0xf867c0={}){const _0x517127=_0x57cfa7,_0x3cb6ae=this[_0x517127(0x1ec)][_0x517127(0x1e9)],_0x114d86=[];let _0x10ab6d=0x0;const _0x92cac3=_0x517127(0x1cb)==typeof _0x5e7984?{'main':_0x5e7984}:_0x5e7984;for(const _0x32fd59 of Object[_0x517127(0x202)](_0x92cac3)){if(!this[_0x517127(0x238)][_0x517127(0x222)][_0x517127(0x1c5)](_0x32fd59))throw new _0x4e4524(_0x517127(0x1e3),this);const _0x3d0783=this[_0x517127(0x1ec)][_0x517127(0x17e)][_0x517127(0x212)](_0x92cac3[_0x32fd59]),_0x196eeb=this[_0x517127(0x238)][_0x517127(0x1a4)](_0x32fd59),_0x2a2257=new _0xa58ace(_0x3cb6ae[_0x517127(0x1c9)](_0x196eeb,0x0),_0x3d0783,_0x10ab6d++);_0x114d86[_0x517127(0x17d)](_0x2a2257);for(const [_0x25d413,_0xe04693]of _0x3d0783[_0x517127(0x19d)]){const _0x38a578=_0x3cb6ae[_0x517127(0x1a8)](_0x3cb6ae[_0x517127(0x15d)](_0x196eeb,_0xe04693[_0x517127(0x1be)][_0x517127(0x242)][_0x517127(0x23f)]()),_0x3cb6ae[_0x517127(0x15d)](_0x196eeb,_0xe04693[_0x517127(0x183)][_0x517127(0x242)][_0x517127(0x23f)]())),_0x239970=new _0x21729e(_0x25d413,null,_0x38a578,_0x3cb6ae[_0x517127(0x19d)],!0x0,_0x10ab6d++);_0x114d86[_0x517127(0x17d)](_0x239970);}}if(_0xf867c0)for(const [_0x3d364a,_0xc6c171]of Object[_0x517127(0x16e)](_0xf867c0)){const _0x3d43d0=_0x3cb6ae[_0x517127(0x22d)][_0x517127(0x1a4)](_0x3d364a);if(!_0x3d43d0)throw new _0x4e4524(_0x517127(0x1ea),null);for(const [_0x124024,_0x1144f7]of Object[_0x517127(0x16e)](_0xc6c171))if(null!==_0x1144f7){const _0x9a4d0c=new _0xe11761(_0x3d43d0,_0x124024,null,_0x1144f7,_0x10ab6d++);_0x114d86[_0x517127(0x17d)](_0x9a4d0c);}}return _0x114d86;}async[_0x57cfa7(0x199)](_0x2cc85e,_0x367963,_0x2abc12){const _0x260dda=_0x57cfa7;this[_0x260dda(0x1a2)]({[_0x2cc85e]:_0x367963},{[_0x2cc85e]:_0x2abc12})[_0x260dda(0x1f1)]((_0x73869d,_0x4d2b39)=>{const _0x56fdaa=_0x260dda;_0x73869d[_0x56fdaa(0x1e4)]=this[_0x56fdaa(0x238)][_0x56fdaa(0x23b)]+_0x4d2b39,_0x73869d[_0x56fdaa(0x14a)]=!0x0,this[_0x56fdaa(0x159)](_0x73869d);}),this[_0x260dda(0x1bf)](),await this[_0x260dda(0x1a5)]();}async[_0x57cfa7(0x14d)](_0x19c4ff,_0x5d9b61){const _0x344262=_0x57cfa7;let _0x37e980;this[_0x344262(0x14f)]=_0x19c4ff[_0x344262(0x1f0)];const _0x3e7fee=_0x19c4ff[_0x344262(0x19a)]&&!_0x19c4ff[_0x344262(0x237)],_0x6cd120=_0x3e7fee?0x0:_0x19c4ff[_0x344262(0x17e)][_0x344262(0x1e4)];if(_0x5d9b61[_0x344262(0x1f1)](_0x4011ba=>{const _0x3ddbdc=_0x344262;_0x4011ba[_0x3ddbdc(0x14a)]=!0x0,_0x4011ba[_0x3ddbdc(0x152)]=_0x19c4ff[_0x3ddbdc(0x229)],_0x4011ba[_0x3ddbdc(0x205)]=null;}),_0x3e7fee)_0x37e980=_0x5d9b61,this[_0x344262(0x1af)](_0x37e980,_0x3e7fee);else{if(_0x19c4ff[_0x344262(0x237)]){const _0x522bcc=this[_0x344262(0x1a2)](_0x19c4ff[_0x344262(0x237)]);this[_0x344262(0x238)][_0x344262(0x250)][_0x344262(0x23b)]=-_0x522bcc[_0x344262(0x158)],_0x522bcc[_0x344262(0x1f1)](_0x47cf1e=>{const _0x34f568=_0x344262;_0x47cf1e[_0x34f568(0x1e4)]-=_0x522bcc[_0x34f568(0x158)],_0x47cf1e[_0x34f568(0x152)]=_0x19c4ff[_0x34f568(0x229)],_0x47cf1e[_0x34f568(0x14a)]=!0x0,_0x47cf1e[_0x34f568(0x205)]=null;}),this[_0x344262(0x1af)](_0x522bcc,!0x0),this[_0x344262(0x154)][_0x344262(0x23b)]=-_0x522bcc[_0x344262(0x158)]+this[_0x344262(0x14f)],this[_0x344262(0x1b2)](_0x522bcc);}this[_0x344262(0x238)][_0x344262(0x250)][_0x344262(0x23b)]=_0x6cd120,_0x37e980=this[_0x344262(0x174)](_0x19c4ff[_0x344262(0x17e)],_0x19c4ff[_0x344262(0x172)]),await this[_0x344262(0x165)](_0x37e980),this[_0x344262(0x1af)](_0x37e980,_0x3e7fee);}_0x19c4ff[_0x344262(0x186)]&&(this[_0x344262(0x24a)][_0x344262(0x1b9)](_0x37e980,_0x19c4ff[_0x344262(0x186)]),this[_0x344262(0x16a)]=_0x19c4ff[_0x344262(0x186)]),this[_0x344262(0x154)][_0x344262(0x23b)]=_0x6cd120+this[_0x344262(0x14f)],this[_0x344262(0x1b2)](_0x37e980),_0x5d9b61[_0x344262(0x1c1)](_0xe29e74=>{const _0x55bfc6=_0x344262,_0x1007d5=this[_0x55bfc6(0x196)](_0xe29e74);return _0x1007d5&&!this[_0x55bfc6(0x1f6)][_0x55bfc6(0x1c5)](_0x1007d5);})[_0x344262(0x1f1)]((_0x2ef87e,_0x56e9f8)=>{const _0x419faf=_0x344262;_0x2ef87e[_0x419faf(0x1e4)]=this[_0x419faf(0x238)][_0x419faf(0x23b)]+_0x56e9f8,this[_0x419faf(0x159)](_0x2ef87e);}),this[_0x344262(0x22c)]()?(this[_0x344262(0x223)]=0x0,this[_0x344262(0x1bf)](!0x0),await this[_0x344262(0x1a5)]()):(this[_0x344262(0x15c)]=!0x1,this[_0x344262(0x201)]());}[_0x57cfa7(0x1db)](_0x2f818a,_0x15cef2){const _0x219ab7=_0x57cfa7,_0x552ed2=_0x15cef2&&_0x15cef2[_0x219ab7(0x200)];if(_0x552ed2&&_0x552ed2[_0x219ab7(0x216)](_0x219ab7(0x1ce)))throw _0x15cef2;const _0x3c49b6=this[_0x219ab7(0x1ec)][_0x219ab7(0x1c4)][_0x219ab7(0x1f3)](_0x2109ee);throw this[_0x219ab7(0x15c)]=!0x0,_0x3c49b6[_0x219ab7(0x1b3)](),this[_0x219ab7(0x1ec)][_0x219ab7(0x20f)](_0x219ab7(0x178)),new _0x4e4524(_0x2f818a,this[_0x219ab7(0x1ec)],_0x552ed2?{'originalError':_0x552ed2}:void 0x0);}[_0x57cfa7(0x159)](_0x255ffb){const _0x25f880=_0x57cfa7;this[_0x25f880(0x16f)][_0x25f880(0x1c5)](_0x255ffb)||(this[_0x25f880(0x16f)][_0x25f880(0x1d6)](_0x255ffb),this[_0x25f880(0x209)][_0x25f880(0x17d)](_0x255ffb),this[_0x25f880(0x15e)]||_0x25f880(0x208)==_0x255ffb[_0x25f880(0x182)]&&!_0x255ffb[_0x25f880(0x215)]||this[_0x25f880(0x1b0)]());}[_0x57cfa7(0x1bf)](_0x500b65=!0x1){const _0x6760e7=_0x57cfa7;!_0x500b65&&this[_0x6760e7(0x15c)]||(this[_0x6760e7(0x15c)]=!0x0,clearTimeout(this[_0x6760e7(0x24f)]),this[_0x6760e7(0x24f)]=setTimeout(()=>{const _0x46f401=_0x6760e7;this[_0x46f401(0x18c)]()[_0x46f401(0x23c)](_0x51c669=>{const _0x33e93c=_0x46f401;_0x51c669&&(this[_0x33e93c(0x201)](),this[_0x33e93c(0x15c)]=!0x1);})[_0x46f401(0x1a9)](_0x366ded=>{const _0x5222f1=_0x46f401;this[_0x5222f1(0x201)](),this[_0x5222f1(0x15c)]=!0x1,function(_0x57e3aa){const _0xed5f84=_0x5222f1;return _0x57e3aa[_0xed5f84(0x200)][_0xed5f84(0x216)](_0xed5f84(0x1d7))||_0x57e3aa[_0xed5f84(0x200)][_0xed5f84(0x216)](_0xed5f84(0x17b))||_0x57e3aa[_0xed5f84(0x200)][_0xed5f84(0x216)](_0xed5f84(0x1ca));}(_0x366ded)||this[_0x5222f1(0x1db)](_0x366ded[_0x5222f1(0x200)],_0x366ded);});},this[_0x6760e7(0x223)]));}[_0x57cfa7(0x1a5)](){return new Promise(_0x4668ec=>{const _0x3b14f5=_0x4300;this['on'](_0x3b14f5(0x1d2),()=>{_0x4668ec();});});}async[_0x57cfa7(0x18c)](){const _0x192736=_0x57cfa7,_0x4163f8=this[_0x192736(0x1ec)][_0x192736(0x1c4)][_0x192736(0x1f3)](_0x27bdeb);if(this[_0x192736(0x21b)]()&&(_0x4163f8[_0x192736(0x21e)](),this[_0x192736(0x206)]=!0x1),!this[_0x192736(0x22c)]())return!0x0;const _0x38ffac=[...this[_0x192736(0x209)]];for(const _0x294fea of _0x38ffac)_0x294fea[_0x192736(0x150)]=this[_0x192736(0x238)][_0x192736(0x250)][_0x192736(0x231)](_0x294fea);const _0x2452f6=this[_0x192736(0x24a)][_0x192736(0x1cc)](_0x38ffac),_0x1c14f3=K++,_0x4c952c=this[_0x192736(0x21c)](_0x38ffac),_0x3ab3fa=await this[_0x192736(0x1f2)][_0x192736(0x22b)](_0x4c952c,_0x4c952c[_0x192736(0x1e4)],_0x2452f6);try{return await this[_0x192736(0x20d)](_0x38ffac,_0x3ab3fa,_0x1c14f3);}catch(_0x4e80ff){return this[_0x192736(0x1db)](_0x192736(0x220),_0x4e80ff);}}async[_0x57cfa7(0x20d)](_0x532a5b,_0x50206e,_0x50c34f){const _0x38ebfa=_0x57cfa7;if(_0x38ebfa(0x219)in _0x50206e)throw _0x50206e[_0x38ebfa(0x219)];let _0x801706=!0x1;if(_0x50206e[_0x38ebfa(0x19a)]){_0x50206e[_0x38ebfa(0x186)]&&(this[_0x38ebfa(0x16a)]=_0x50206e[_0x38ebfa(0x186)]),this[_0x38ebfa(0x209)]=this[_0x38ebfa(0x209)][_0x38ebfa(0x1c1)](_0x220fe9=>!_0x532a5b[_0x38ebfa(0x194)](_0x220fe9));for(const _0x3de3de of _0x532a5b)_0x3de3de[_0x38ebfa(0x152)]=_0x38ebfa(0x1bc)in _0x50206e&&_0x50206e[_0x38ebfa(0x1bc)]||void 0x0;Q(_0x532a5b,_0x50206e[_0x38ebfa(0x23b)]-_0x532a5b[_0x38ebfa(0x158)]),this[_0x38ebfa(0x1b2)](_0x532a5b);const _0x5a39eb=_0x532a5b[_0x38ebfa(0x1c1)](_0x5dd11d=>{const _0x2e28bf=_0x38ebfa;if(!_0x5dd11d[_0x2e28bf(0x14a)])return!0x1;const _0x2c3355=this[_0x2e28bf(0x196)](_0x5dd11d);return _0x2c3355&&!this[_0x2e28bf(0x1f6)][_0x2e28bf(0x1c5)](_0x2c3355);});Q(_0x5a39eb,this[_0x38ebfa(0x238)][_0x38ebfa(0x23b)]),this[_0x38ebfa(0x1af)](_0x5a39eb),_0x801706=!0x0,this[_0x38ebfa(0x223)]=this[_0x38ebfa(0x1b8)];}else{const _0x81272d=this[_0x38ebfa(0x174)](_0x50206e[_0x38ebfa(0x17e)],_0x50206e[_0x38ebfa(0x172)])[_0x38ebfa(0x1c1)](_0x22f4d0=>_0x22f4d0[_0x38ebfa(0x1e4)]>=this[_0x38ebfa(0x226)]);_0x81272d[_0x38ebfa(0x1f1)](_0xed6866=>this[_0x38ebfa(0x153)](_0xed6866)),this[_0x38ebfa(0x209)]=this[_0x38ebfa(0x209)][_0x38ebfa(0x1c1)](_0x436a12=>!_0x436a12[_0x38ebfa(0x14a)]||!this[_0x38ebfa(0x1f6)][_0x38ebfa(0x1c5)](this[_0x38ebfa(0x196)](_0x436a12))),this[_0x38ebfa(0x209)][_0x38ebfa(0x158)]&&Q(this[_0x38ebfa(0x209)],this[_0x38ebfa(0x209)][0x0][_0x38ebfa(0x1e4)]),await this[_0x38ebfa(0x165)](_0x81272d),_0x801706=this[_0x38ebfa(0x173)](_0x81272d,_0x50206e[_0x38ebfa(0x23b)],_0x50206e[_0x38ebfa(0x186)]),this[_0x38ebfa(0x223)]=Math[_0x38ebfa(0x230)](this[_0x38ebfa(0x223)]/0x2);}return _0x801706?!this[_0x38ebfa(0x22c)]()||(this[_0x38ebfa(0x1bf)](!0x0),!0x1):this[_0x38ebfa(0x1db)](_0x38ebfa(0x244));}[_0x57cfa7(0x173)](_0x2eb37e,_0xb63fe4,_0x57c39d){const _0x4ffc8c=_0x57cfa7;try{const _0x5fc5f4={'document':this[_0x4ffc8c(0x238)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x22170a,operationsB:_0x1fba3f,originalOperations:_0x47d8c2}=_0x9cffba(_0x2eb37e,this[_0x4ffc8c(0x209)],_0x5fc5f4);Q(_0x22170a,this[_0x4ffc8c(0x238)][_0x4ffc8c(0x23b)]),Q(_0x1fba3f,_0xb63fe4);for(const _0x549c97 of _0x22170a){const _0x1475a9=_0x47d8c2[_0x4ffc8c(0x1f3)](_0x549c97);_0x549c97[_0x4ffc8c(0x205)]=_0x1475a9?_0x1475a9[_0x4ffc8c(0x205)]:null;}_0x57c39d&&(this[_0x4ffc8c(0x24a)][_0x4ffc8c(0x1b9)](_0x2eb37e,_0x57c39d),this[_0x4ffc8c(0x16a)]=_0x57c39d),this[_0x4ffc8c(0x209)]=[..._0x1fba3f],this[_0x4ffc8c(0x1af)](_0x22170a),this[_0x4ffc8c(0x1b2)](_0x2eb37e);}catch(_0x1f5a4a){return console[_0x4ffc8c(0x219)](_0x1f5a4a),!0x1;}return!0x0;}[_0x57cfa7(0x1af)](_0x1c0ea4,_0x25339c=!0x1){const _0x22f5f4=_0x57cfa7;this[_0x22f5f4(0x1ec)][_0x22f5f4(0x1e9)][_0x22f5f4(0x19f)]({'isUndoable':!0x1,'isLocal':!0x1},_0x318283=>{const _0x20f704=_0x22f5f4;for(const _0x301c6c of _0x1c0ea4)this[_0x20f704(0x16f)][_0x20f704(0x1d6)](_0x301c6c),this[_0x20f704(0x153)](_0x301c6c),_0x318283[_0x20f704(0x1b6)][_0x20f704(0x18f)](_0x301c6c),this[_0x20f704(0x1ec)][_0x20f704(0x1e9)][_0x20f704(0x20a)](_0x301c6c);});}[_0x57cfa7(0x153)](_0x3a09f0){const _0x5160ae=_0x57cfa7,_0x2bd908=this[_0x5160ae(0x196)](_0x3a09f0);_0x2bd908&&this[_0x5160ae(0x1f6)][_0x5160ae(0x1d6)](_0x2bd908);}[_0x57cfa7(0x196)](_0x564c28){const _0x32de21=_0x57cfa7;let _0x229fd0,_0x584e45;switch(_0x564c28[_0x32de21(0x182)]){case _0x32de21(0x198):_0x229fd0=_0x564c28[_0x32de21(0x151)][_0x32de21(0x1e1)];break;case _0x32de21(0x208):if(_0x584e45=_0x564c28[_0x32de21(0x213)],!_0x584e45)return null;_0x229fd0=_0x584e45[_0x32de21(0x1e1)];break;case _0x32de21(0x17a):_0x229fd0=_0x564c28[_0x32de21(0x1e1)];break;case _0x32de21(0x179):_0x229fd0=_0x564c28[_0x32de21(0x18a)];break;case _0x32de21(0x218):_0x229fd0=_0x564c28[_0x32de21(0x155)][_0x32de21(0x1e1)];break;default:return null;}return _0x229fd0[_0x32de21(0x166)];}[_0x57cfa7(0x1b2)](_0x221c2d){const _0x4f4938=_0x57cfa7;_0x221c2d[_0x4f4938(0x1f1)](_0x1b21fd=>{const _0x1df26d=_0x4f4938,_0x5b58ea=_0x1b21fd[_0x1df26d(0x234)]();_0x5b58ea[_0x1df26d(0x205)]=_0x1b21fd[_0x1df26d(0x205)],_0x5b58ea[_0x1df26d(0x14a)]=!!_0x1b21fd[_0x1df26d(0x14a)],_0x5b58ea[_0x1df26d(0x152)]=_0x1b21fd[_0x1df26d(0x152)],_0x5b58ea[_0x1df26d(0x1e4)]+=this[_0x1df26d(0x14f)],_0x1b21fd[_0x1df26d(0x169)]&&this[_0x1df26d(0x228)][_0x1df26d(0x1d6)](_0x5b58ea),this[_0x1df26d(0x154)][_0x1df26d(0x18f)](_0x5b58ea);});}[_0x57cfa7(0x1a7)](_0x4b6ed3){const _0x316ec3=_0x57cfa7,_0x40eeda=this[_0x316ec3(0x1ec)][_0x316ec3(0x1c4)][_0x316ec3(0x1f3)](_0x316ec3(0x248)),_0xd72087=this[_0x316ec3(0x1ec)][_0x316ec3(0x1ed)];_0x4b6ed3||(_0x4b6ed3=_0xbcc887(_0xd72087,_0x316ec3(0x1a0))),_0x40eeda[_0x316ec3(0x189)](_0x4b6ed3,{'title':_0xbcc887(_0xd72087,_0x316ec3(0x1f8)),'namespace':_0x316ec3(0x1a1)}),this[_0x316ec3(0x1ff)]=!0x0,clearTimeout(this[_0x316ec3(0x24f)]),this[_0x316ec3(0x209)]=[],this[_0x316ec3(0x1ec)][_0x316ec3(0x1c4)][_0x316ec3(0x1f3)](_0x2109ee)[_0x316ec3(0x1b3)]();}[_0x57cfa7(0x1b0)](){const _0x108be3=_0x57cfa7;this[_0x108be3(0x15e)]||(this[_0x108be3(0x15e)]=this[_0x108be3(0x1ec)][_0x108be3(0x1c4)][_0x108be3(0x1f3)](_0x365c1d)[_0x108be3(0x1d6)](_0xbcc887(this[_0x108be3(0x1ec)][_0x108be3(0x1ed)],_0x108be3(0x24b))));}[_0x57cfa7(0x201)](){const _0x5a9643=_0x57cfa7;this[_0x5a9643(0x15e)]&&(this[_0x5a9643(0x1ec)][_0x5a9643(0x1c4)][_0x5a9643(0x1f3)](_0x365c1d)[_0x5a9643(0x1c6)](this[_0x5a9643(0x15e)]),this[_0x5a9643(0x15e)]=null);}[_0x57cfa7(0x21c)](_0x1bc0d2){const _0x115e4c=_0x57cfa7,_0x14e951=_0x1bc0d2[_0x115e4c(0x157)](_0x42c2c6=>_0x42c2c6[_0x115e4c(0x1a6)]());return this[_0x115e4c(0x185)][_0x115e4c(0x23d)](_0x14e951);}[_0x57cfa7(0x174)](_0x1c9e57,_0x48be66){const _0x49b463=_0x57cfa7;return this[_0x49b463(0x185)][_0x49b463(0x245)](_0x1c9e57)[_0x49b463(0x157)]((_0x1caf00,_0x4a376d)=>{const _0x35eec8=_0x49b463,_0x24ccc4=_0x35eec8(0x1dd)==_0x48be66[_0x4a376d][_0x35eec8(0x182)];if(_0x35eec8(0x1ef)==_0x1caf00[_0x35eec8(0x1ad)]){const _0x12011f=_0x1caf00[_0x35eec8(0x151)][_0x35eec8(0x1e1)];!this[_0x35eec8(0x238)][_0x35eec8(0x1a4)](_0x12011f)&&(this[_0x35eec8(0x238)][_0x35eec8(0x17f)](_0x35eec8(0x17c),_0x12011f)[_0x35eec8(0x167)]=!0x1);}const _0x20afa3=_0x5642dd[_0x35eec8(0x1eb)](_0x1caf00,this[_0x35eec8(0x238)]);return _0x20afa3[_0x35eec8(0x150)]=_0x1caf00[_0x35eec8(0x150)],_0x20afa3[_0x35eec8(0x14a)]=_0x24ccc4,_0x20afa3[_0x35eec8(0x205)]=_0x24ccc4?null:_0x48be66[_0x4a376d][_0x35eec8(0x1a3)],_0x20afa3[_0x35eec8(0x169)]=_0x35eec8(0x1cf)===_0x48be66[_0x4a376d][_0x35eec8(0x182)],_0x20afa3[_0x35eec8(0x152)]=_0x48be66[_0x4a376d][_0x35eec8(0x152)],_0x20afa3;});}[_0x57cfa7(0x1dc)](){const _0x470a64=_0x57cfa7;this[_0x470a64(0x206)]=!0x0,this[_0x470a64(0x21b)]()?this[_0x470a64(0x1bf)]():this[_0x470a64(0x206)]=!0x1;}[_0x57cfa7(0x21b)](){const _0xa539dd=_0x57cfa7,_0x589b0b=this[_0xa539dd(0x1ec)][_0xa539dd(0x1c4)][_0xa539dd(0x1f3)](_0x5b9a8e)[_0xa539dd(0x149)][_0xa539dd(0x1f3)](this[_0xa539dd(0x225)]);return!this[_0xa539dd(0x1ec)][_0xa539dd(0x236)]&&!!_0x589b0b&&_0x589b0b[_0xa539dd(0x158)]>0x1&&this[_0xa539dd(0x206)];}[_0x57cfa7(0x22c)](){const _0x40be17=_0x57cfa7;return this[_0x40be17(0x209)][_0x40be17(0x158)]>0x0||this[_0x40be17(0x21b)]();}}l[_0x57cfa7(0x1d3)]=_0x54d772;export default l;class J extends Error{}function Q(_0xeac9ca,_0x25b593){const _0x3fb645=_0x57cfa7;for(const _0x3ced46 of _0xeac9ca)_0x3ced46[_0x3fb645(0x1e4)]=_0x25b593++;}class X{constructor(_0x261f60){const _0x22f6fb=_0x57cfa7;this[_0x22f6fb(0x1fb)]=_0x261f60,this[_0x22f6fb(0x22f)]=new WeakMap();}[_0x57cfa7(0x1cc)](_0x22cd49){const _0x2ede33=_0x57cfa7;let _0xa622f9=_0x22cd49[_0x2ede33(0x158)];for(;_0xa622f9--;){const _0x124779=_0x22cd49[_0xa622f9];if(!this[_0x2ede33(0x1fb)][_0x2ede33(0x1c5)](_0x124779)){if(!this[_0x2ede33(0x22f)][_0x2ede33(0x1c5)](_0x124779)){const _0x5d3ff6=_0x40bb0c()[_0x2ede33(0x23f)](0x1,0x12);this[_0x2ede33(0x22f)][_0x2ede33(0x1ac)](_0x124779,_0x5d3ff6);}return this[_0x2ede33(0x22f)][_0x2ede33(0x1f3)](_0x124779);}}}[_0x57cfa7(0x1b9)](_0x4f0ae3,_0x20c089){const _0x8cac08=_0x57cfa7;if(!_0x20c089)return;let _0x2f61f9=_0x4f0ae3[_0x8cac08(0x158)];for(;_0x2f61f9--;){const _0x14fce6=_0x4f0ae3[_0x2f61f9];this[_0x8cac08(0x1fb)][_0x8cac08(0x1c5)](_0x14fce6)||this[_0x8cac08(0x22f)][_0x8cac08(0x1ac)](_0x14fce6,_0x20c089);}}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b561c=_0x27a7;(function(_0x17d0b9,_0x30e966){const _0x148f52=_0x27a7,_0x329721=_0x17d0b9();while(!![]){try{const _0x19a779=parseInt(_0x148f52(0xc7))/0x1+-parseInt(_0x148f52(0xaa))/0x2+parseInt(_0x148f52(0xac))/0x3*(-parseInt(_0x148f52(0xce))/0x4)+-parseInt(_0x148f52(0xbf))/0x5*(parseInt(_0x148f52(0xb4))/0x6)+parseInt(_0x148f52(0xa3))/0x7+-parseInt(_0x148f52(0xa9))/0x8+parseInt(_0x148f52(0xa1))/0x9*(parseInt(_0x148f52(0xd1))/0xa);if(_0x19a779===_0x30e966)break;else _0x329721['push'](_0x329721['shift']());}catch(_0x5185b5){_0x329721['push'](_0x329721['shift']());}}}(_0x5607,0x95f06));import{ContextPlugin as _0x1eff46}from'ckeditor5/src/core.js';function _0x27a7(_0x297243,_0x4a0b00){const _0x5607c9=_0x5607();return _0x27a7=function(_0x27a7b3,_0x1fe661){_0x27a7b3=_0x27a7b3-0xa0;let _0x2bf3ba=_0x5607c9[_0x27a7b3];return _0x2bf3ba;},_0x27a7(_0x297243,_0x4a0b00);}import{Collection as _0x35db3c,CKEditorError as _0x2f5502}from'ckeditor5/src/utils.js';import _0x220ae4 from'./websocketgateway.js';function _0x5607(){const _0x5c8cdd=['state','_handleSessionAdd','set','_uniqueUsersCount','3466602yiajUh','orderNumber','8307698yjTpva','change:state','allConnectedUsers','init','size','remove','4937040RnHPVK','287658TrhAWY','role','2103324rXBMMh','forEach','channelConnectedUsers','_handleSessionRemove','sessionAdd:','getUserBySessionId','context','pluginName','12JekUWQ','plugins','fire','sessionId','stopListening','sessions-unregister-not-exist','defineMe','_registeredSessions','has','delete','isMe','1618390kYrENh','connection','getUser','get','assign','values','Sessions','isPremiumPlugin','381225diLSoW','getUserRole','connected','clear','getUserSessions','channelSessions','user','4dVTwwG','requires','mySessionId','30DoRHjX','add','addUser','sessions-register-already-registered','listenTo','_createUser','register','isOfficialPlugin','unregister','_users'];_0x5607=function(){return _0x5c8cdd;};return _0x5607();}import{Users as _0x681555}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x1eff46{static get[_0x1b561c(0xb3)](){const _0x5931cd=_0x1b561c;return _0x5931cd(0xc5);}static get[_0x1b561c(0xd8)](){return!0x0;}static get[_0x1b561c(0xc6)](){return!0x0;}static get[_0x1b561c(0xcf)](){return[_0x220ae4,_0x681555];}constructor(_0x153bbb){const _0x128ecb=_0x1b561c;super(_0x153bbb),this[_0x128ecb(0xcc)]=new Map(),this[_0x128ecb(0xae)]=new Map(),this[_0x128ecb(0xa5)]=new _0x35db3c(),this[_0x128ecb(0xbb)]=new Map(),this[_0x128ecb(0xa0)]=0x0,this[_0x128ecb(0xda)]=this[_0x128ecb(0xb2)][_0x128ecb(0xb5)][_0x128ecb(0xc2)](_0x681555);}[_0x1b561c(0xa6)](){const _0x304205=_0x1b561c,_0x1b3858=this[_0x304205(0xb2)][_0x304205(0xb5)][_0x304205(0xc2)](_0x220ae4);this[_0x304205(0xd5)](_0x1b3858,_0x304205(0xa4),(_0x5bfb68,_0x314f77,_0x448832)=>{const _0x3b409=_0x304205;if(_0x3b409(0xc9)!==_0x448832)this[_0x3b409(0xcc)][_0x3b409(0xad)](_0x21254b=>_0x21254b[_0x3b409(0xca)]()),this[_0x3b409(0xae)][_0x3b409(0xad)](_0xb39242=>_0xb39242[_0x3b409(0xca)]()),this[_0x3b409(0xa5)][_0x3b409(0xca)]();else{for(const [_0x71cb27,_0x3513fa]of this[_0x3b409(0xbb)])for(const _0x222946 of _0x3513fa)this[_0x3b409(0xdc)](_0x71cb27,_0x222946);}}),this[_0x304205(0xd6)](_0x1b3858[_0x304205(0xc0)]['me'],!0x0);}[_0x1b561c(0xd7)](_0x37235c,_0xe90783){const _0x4fd05c=_0x1b561c;if(this[_0x4fd05c(0xbb)][_0x4fd05c(0xbc)](_0x37235c))throw new _0x2f5502(_0x4fd05c(0xd4),null,{'channelId':_0x37235c});this[_0x4fd05c(0xbb)][_0x4fd05c(0xdd)](_0x37235c,_0xe90783),this[_0x4fd05c(0xcc)][_0x4fd05c(0xdd)](_0x37235c,new _0x35db3c()),this[_0x4fd05c(0xae)][_0x4fd05c(0xdd)](_0x37235c,new _0x35db3c()),this[_0x4fd05c(0xd5)](_0xe90783,_0x4fd05c(0xd2),(_0x87c516,_0x302129)=>this[_0x4fd05c(0xdc)](_0x37235c,_0x302129)),this[_0x4fd05c(0xd5)](_0xe90783,_0x4fd05c(0xa8),(_0x209eab,_0x45bca8)=>this[_0x4fd05c(0xaf)](_0x37235c,_0x45bca8));for(const _0x23069a of _0xe90783)this[_0x4fd05c(0xdc)](_0x37235c,_0x23069a);}[_0x1b561c(0xd9)](_0x59390e){const _0x195bf4=_0x1b561c;if(!this[_0x195bf4(0xbb)][_0x195bf4(0xbc)](_0x59390e))throw new _0x2f5502(_0x195bf4(0xb9),null,{'channelId':_0x59390e});const _0xbcb267=this[_0x195bf4(0xbb)][_0x195bf4(0xc2)](_0x59390e);this[_0x195bf4(0xb8)](_0xbcb267);for(const _0x596384 of _0xbcb267)_0x195bf4(0xc9)===this[_0x195bf4(0xb2)][_0x195bf4(0xb5)][_0x195bf4(0xc2)](_0x220ae4)[_0x195bf4(0xdb)]&&this[_0x195bf4(0xaf)](_0x59390e,_0x596384);this[_0x195bf4(0xbb)][_0x195bf4(0xbd)](_0x59390e),this[_0x195bf4(0xcc)][_0x195bf4(0xbd)](_0x59390e),this[_0x195bf4(0xae)][_0x195bf4(0xbd)](_0x59390e);}get[_0x1b561c(0xd0)](){const _0x690ad4=_0x1b561c;return this[_0x690ad4(0xb2)][_0x690ad4(0xb5)][_0x690ad4(0xc2)](_0x220ae4)[_0x690ad4(0xc0)][_0x690ad4(0xb7)];}[_0x1b561c(0xb1)](_0x47383d){const _0x1173a9=_0x1b561c;for(const _0x985aa6 of this[_0x1173a9(0xcc)][_0x1173a9(0xc4)]())for(const _0x531a5e of _0x985aa6)if(_0x531a5e['id']===_0x47383d)return _0x531a5e[_0x1173a9(0xcd)];}[_0x1b561c(0xcb)](_0x38a11b,_0x108a6a){const _0x11eb9d=_0x1b561c,_0x7956ab=_0x108a6a?[this[_0x11eb9d(0xcc)][_0x11eb9d(0xc2)](_0x108a6a)]:this[_0x11eb9d(0xcc)][_0x11eb9d(0xc4)](),_0x20f62c=new Set();for(const _0x3f5969 of _0x7956ab)for(const _0x25ce35 of _0x3f5969)_0x25ce35[_0x11eb9d(0xcd)]['id']===_0x38a11b['id']&&_0x20f62c[_0x11eb9d(0xd2)](_0x25ce35['id']);return _0x20f62c;}[_0x1b561c(0xc8)](_0x4d1e62){const _0x202a69=_0x1b561c;for(const _0x4148be of this[_0x202a69(0xcc)][_0x202a69(0xc4)]())for(const _0x56818a of _0x4148be)if(_0x56818a[_0x202a69(0xcd)]===_0x4d1e62)return _0x56818a[_0x202a69(0xab)];}[_0x1b561c(0xdc)](_0x4e13db,_0x271627){const _0x19e0e0=_0x1b561c;if(_0x19e0e0(0xc9)!==this[_0x19e0e0(0xb2)][_0x19e0e0(0xb5)][_0x19e0e0(0xc2)](_0x220ae4)[_0x19e0e0(0xdb)])return;const _0x305dbe=_0x271627[_0x19e0e0(0xcd)],_0x1af76b=this[_0x19e0e0(0xda)][_0x19e0e0(0xc1)](_0x305dbe['id'])||this[_0x19e0e0(0xd6)](_0x305dbe),_0x58d079=Object[_0x19e0e0(0xc3)]({},_0x271627,{'user':_0x1af76b});this[_0x19e0e0(0xcc)][_0x19e0e0(0xc2)](_0x4e13db)[_0x19e0e0(0xd2)](_0x58d079);const _0x41ece7=this[_0x19e0e0(0xae)][_0x19e0e0(0xc2)](_0x4e13db);_0x41ece7[_0x19e0e0(0xbc)](_0x1af76b['id'])||_0x41ece7[_0x19e0e0(0xd2)](_0x1af76b),this[_0x19e0e0(0xa5)][_0x19e0e0(0xbc)](_0x1af76b['id'])||this[_0x19e0e0(0xa5)][_0x19e0e0(0xd2)](_0x1af76b,_0x1af76b[_0x19e0e0(0xbe)]?0x0:void 0x0),this[_0x19e0e0(0xb6)](_0x19e0e0(0xb0)+_0x4e13db,{'channelId':_0x4e13db,'session':_0x58d079});}[_0x1b561c(0xaf)](_0x4bedd9,_0x9f2243){const _0xeb94a1=_0x1b561c;if(_0xeb94a1(0xc9)!==this[_0xeb94a1(0xb2)][_0xeb94a1(0xb5)][_0xeb94a1(0xc2)](_0x220ae4)[_0xeb94a1(0xdb)])return;const _0xb2c5b1=this[_0xeb94a1(0xae)][_0xeb94a1(0xc2)](_0x4bedd9),_0x1e00cd=_0x9f2243[_0xeb94a1(0xcd)];_0x1e00cd['id']&&(this[_0xeb94a1(0xcc)][_0xeb94a1(0xc2)](_0x4bedd9)[_0xeb94a1(0xa8)](_0x9f2243['id']),_0xb2c5b1[_0xeb94a1(0xbc)](_0x1e00cd['id'])&&!this[_0xeb94a1(0xcb)](_0x1e00cd,_0x4bedd9)[_0xeb94a1(0xa7)]&&_0xb2c5b1[_0xeb94a1(0xa8)](_0x1e00cd['id']),this[_0xeb94a1(0xa5)][_0xeb94a1(0xc2)](_0x1e00cd['id'])&&!this[_0xeb94a1(0xcb)](_0x1e00cd)[_0xeb94a1(0xa7)]&&this[_0xeb94a1(0xa5)][_0xeb94a1(0xa8)](_0x1e00cd['id']));}[_0x1b561c(0xd6)](_0x244188,_0x32c9d7){const _0x3abee2=_0x1b561c,_0xdb3677=this[_0x3abee2(0xda)][_0x3abee2(0xd3)](_0x244188);return _0x32c9d7&&this[_0x3abee2(0xda)][_0x3abee2(0xba)](_0x244188['id']),_0xdb3677[_0x3abee2(0xa2)]=this[_0x3abee2(0xa0)]++,_0xdb3677;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { Plugin } from 'ckeditor5/src/core.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x291aa4=_0x40a5;(function(_0xe8cbe9,_0x4ec11f){const _0x352098=_0x40a5,_0x3a775b=_0xe8cbe9();while(!![]){try{const _0x5c576a=parseInt(_0x352098(0x1d1))/0x1*(-parseInt(_0x352098(0x18d))/0x2)+-parseInt(_0x352098(0x1ab))/0x3*(parseInt(_0x352098(0x1cc))/0x4)+-parseInt(_0x352098(0x1d7))/0x5+-parseInt(_0x352098(0x198))/0x6*(-parseInt(_0x352098(0x19d))/0x7)+-parseInt(_0x352098(0x1b2))/0x8+-parseInt(_0x352098(0x1b6))/0x9+parseInt(_0x352098(0x190))/0xa*(parseInt(_0x352098(0x191))/0xb);if(_0x5c576a===_0x4ec11f)break;else _0x3a775b['push'](_0x3a775b['shift']());}catch(_0x5a7090){_0x3a775b['push'](_0x3a775b['shift']());}}}(_0x57dc,0x85fed));import{Plugin as _0x200c48}from'ckeditor5/src/core.js';import{global as _0x1aa408,DomEmitterMixin as _0x2063f3}from'ckeditor5/src/utils.js';import _0x9e898f from'./sessions.js';import{LiveRange as _0x1ebda5}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x40a5(_0x3eca74,_0x180678){const _0x57dc52=_0x57dc();return _0x40a5=function(_0x40a553,_0x15cb94){_0x40a553=_0x40a553-0x179;let _0x192c1d=_0x57dc52[_0x40a553];return _0x192c1d;},_0x40a5(_0x3eca74,_0x180678);}export default class H extends _0x200c48{constructor(){const _0x88eb5d=_0x40a5;super(...arguments),this[_0x88eb5d(0x179)]=new(_0x2063f3())();}static get[_0x291aa4(0x1a2)](){return[_0x9e898f];}static get[_0x291aa4(0x1e7)](){const _0x1dfc01=_0x291aa4;return _0x1dfc01(0x182);}static get[_0x291aa4(0x1a8)](){return!0x0;}static get[_0x291aa4(0x1e4)](){return!0x0;}[_0x291aa4(0x19e)](){const _0x485bf9=_0x291aa4,_0x5b78f1=this[_0x485bf9(0x1ef)],_0x4917be=_0x5b78f1[_0x485bf9(0x1ea)][_0x485bf9(0x1cb)](_0x9e898f);_0x5b78f1[_0x485bf9(0x195)][_0x485bf9(0x17c)](_0x485bf9(0x1c3))[_0x485bf9(0x1a0)]({'model':_0x485bf9(0x1a5),'view':(_0x119e2f,{writer:_0x447624})=>function(_0x3d9607,_0x39f592,_0x1cd3ff,_0x58acce){const _0x393f75=_0x485bf9,_0x26e752=_0x3d9607[_0x393f75(0x1e3)][_0x393f75(0x1c7)](':')[0x2],_0x3832ca=_0x1cd3ff[_0x393f75(0x194)](_0x26e752);if(!_0x3832ca||_0x26e752===_0x1cd3ff[_0x393f75(0x1eb)])return;if(!_0x58acce[_0x393f75(0x1ba)][_0x393f75(0x1a9)][_0x393f75(0x1dc)](_0x3d9607[_0x393f75(0x17f)][_0x393f75(0x1df)],_0x393f75(0x1d3)))return;const _0x5ac20b={'class':_0x393f75(0x1cf)+_0x3832ca[_0x393f75(0x185)][_0x393f75(0x1d0)](),'data-name':_0x3832ca[_0x393f75(0x183)],'data-session-id':_0x26e752},_0x255f72=_0x58acce[_0x393f75(0x1ba)][_0x393f75(0x19f)][_0x393f75(0x1cb)](_0x3d9607[_0x393f75(0x1e3)]),_0x485ba7=_0x255f72[_0x393f75(0x1ee)](),_0x25dc8=_0x485ba7[_0x393f75(0x1b9)],_0x113db4=_0x58acce[_0x393f75(0x1ba)][_0x393f75(0x1a9)];if(_0x25dc8&&_0x113db4[_0x393f75(0x1d5)](_0x25dc8)&&_0x113db4[_0x393f75(0x1fc)](_0x25dc8)&&!_0x58acce[_0x393f75(0x1ba)][_0x393f75(0x19f)][_0x393f75(0x1cb)](_0x393f75(0x1a4)+_0x26e752)[_0x393f75(0x1b8)]()[_0x393f75(0x18e)])return;const _0x4213a0=_0x485ba7[_0x393f75(0x1a6)];return _0x58acce[_0x393f75(0x1ba)][_0x393f75(0x1a9)][_0x393f75(0x1cd)](_0x4213a0)&&!_0x58acce[_0x393f75(0x1ba)][_0x393f75(0x1be)](_0x4213a0)&&(_0x5ac20b[_0x393f75(0x181)]=!0x1),function(_0x2b4607,_0x965c19,_0x4c90ce){const _0x59471e=_0x393f75,_0x1b1235=_0x2b4607[_0x59471e(0x189)](_0x59471e(0x199),_0x965c19);return _0x2b4607[_0x59471e(0x17e)](_0x59471e(0x1bd),!0x0,_0x1b1235),_0x1b1235[_0x59471e(0x1b1)]=function(_0xc19f26){const _0x485317=_0x59471e,_0x43c4e4=this[_0x485317(0x1af)](_0xc19f26);return _0x43c4e4[_0x485317(0x19a)]=_0x485317(0x1d9)+_0x4c90ce[_0x485317(0x183)]+_0x485317(0x1f3),_0x43c4e4[_0x485317(0x18b)](_0x485317(0x1bb),()=>{const _0x592c68=_0x485317;_0x43c4e4[_0x592c68(0x1b5)][_0x592c68(0x1a3)](_0x592c68(0x1e1));}),_0x43c4e4[_0x485317(0x18b)](_0x485317(0x1d6),()=>{const _0x2dff81=_0x485317;_0x43c4e4[_0x2dff81(0x1b5)][_0x2dff81(0x1f4)](_0x2dff81(0x1e1));}),_0x43c4e4;},_0x1b1235[_0x59471e(0x1e0)]=function(_0x2b0294){const _0x34ffb3=_0x59471e;return!(!this[_0x34ffb3(0x1aa)](_0x34ffb3(0x1bd))||!_0x2b0294[_0x34ffb3(0x1aa)](_0x34ffb3(0x1bd))||this[_0x34ffb3(0x1d2)](_0x34ffb3(0x1b7))!=_0x2b0294[_0x34ffb3(0x1d2)](_0x34ffb3(0x1b7)));},_0x1b1235;}(_0x39f592,_0x5ac20b,_0x3832ca);}(_0x119e2f,_0x447624,_0x4917be,_0x5b78f1)}),_0x5b78f1[_0x485bf9(0x195)][_0x485bf9(0x17c)](_0x485bf9(0x1c3))[_0x485bf9(0x17d)]({'model':_0x485bf9(0x1f0),'view':_0x1b418e=>function(_0x2863d2,_0x272bf9){const _0x3df01d=_0x485bf9,_0x376ee3=_0x2863d2[_0x3df01d(0x1e3)][_0x3df01d(0x1c7)](':')[0x2];if(_0x376ee3===_0x272bf9[_0x3df01d(0x1eb)])return null;const _0x2542c3=_0x272bf9[_0x3df01d(0x194)](_0x376ee3);if(!_0x2542c3)return{'id':_0x376ee3,'classes':[]};return{'id':_0x376ee3,'classes':[_0x3df01d(0x1bf),_0x2542c3[_0x3df01d(0x185)][_0x3df01d(0x1de)]()],'attributes':{'data-session-id':_0x376ee3},'priority':0x7d0+_0x2542c3[_0x3df01d(0x1ad)]};}(_0x1b418e,_0x4917be)}),function(_0xda8e00){const _0x2754a1=_0x485bf9,_0x35cc9e=_0xda8e00[_0x2754a1(0x1ba)],_0x380219=new Map(),_0x48eb0a=_0xda8e00[_0x2754a1(0x1ea)][_0x2754a1(0x1cb)](_0x9e898f);_0x35cc9e[_0x2754a1(0x19f)]['on'](_0x2754a1(0x1c2),(_0x4d9d35,_0x446bc5,_0x408f0a,_0x4342ac)=>{const _0x358970=_0x2754a1;if(!_0x4342ac&&_0x380219[_0x358970(0x1cb)](_0x446bc5[_0x358970(0x183)]))return _0x380219[_0x358970(0x1cb)](_0x446bc5[_0x358970(0x183)])[_0x358970(0x18f)](),void _0x380219[_0x358970(0x197)](_0x446bc5[_0x358970(0x183)]);const _0x48f504=_0x446bc5[_0x358970(0x183)][_0x358970(0x1c7)](':')[0x2];if(_0x48f504===_0x48eb0a[_0x358970(0x1eb)])return;const _0xd79e6f=_0x358970(0x1c8)+_0x48f504;_0x35cc9e[_0x358970(0x19f)][_0x358970(0x1ae)](_0xd79e6f)&&_0xda8e00[_0x358970(0x1a7)][_0x358970(0x19b)](_0xd79e6f),_0x446bc5['on'](_0x358970(0x1f5),(_0x587b82,_0xa8463c,_0x836108)=>{const _0x183209=_0x358970;if(_0x183209(0x1ac)!=_0xa8463c[_0x183209(0x1ce)][_0x183209(0x1ed)]&&_0x183209(0x1ac)==_0x446bc5[_0x183209(0x1b8)]()[_0x183209(0x1ce)][_0x183209(0x1ed)]&&!_0x380219[_0x183209(0x1ae)](_0x446bc5[_0x183209(0x183)])){const _0xb9c3fc=_0x35cc9e[_0x183209(0x1a9)][_0x183209(0x1b4)](_0x836108[_0x183209(0x1d8)]);if(_0xb9c3fc){const _0x503ad8=_0x1ebda5[_0x183209(0x184)](_0xb9c3fc);_0x380219[_0x183209(0x18c)](_0x446bc5[_0x183209(0x183)],_0x503ad8),_0x503ad8['on'](_0x183209(0x1f5),(_0x2aec10,_0x1ec7d2,_0x3e7db7)=>{const _0x51d98d=_0x183209;if(_0x51d98d(0x1ac)==_0x503ad8[_0x51d98d(0x1ce)][_0x51d98d(0x1ed)]){const _0x5b8ec0=_0x35cc9e[_0x51d98d(0x1a9)][_0x51d98d(0x1b4)](_0x3e7db7[_0x51d98d(0x1d8)]);_0x5b8ec0?(_0x503ad8[_0x51d98d(0x1df)]=_0x5b8ec0[_0x51d98d(0x1df)],_0x503ad8[_0x51d98d(0x1e2)]=_0x5b8ec0[_0x51d98d(0x1e2)]):(_0x380219[_0x51d98d(0x197)](_0x446bc5[_0x51d98d(0x183)]),_0x503ad8[_0x51d98d(0x18f)]());}});}}});}),_0x35cc9e[_0x2754a1(0x1f8)]['on'](_0x2754a1(0x196),()=>{const _0x289e51=_0x2754a1;_0x380219[_0x289e51(0x1b0)]>0x0&&_0x35cc9e[_0x289e51(0x192)]({'isUndoable':!0x1},_0x32f0e6=>{const _0xd42e98=_0x289e51;for(const [_0x5bac6c,_0x52ac1d]of _0x380219)_0xd42e98(0x1ac)==_0x35cc9e[_0xd42e98(0x19f)][_0xd42e98(0x1cb)](_0x5bac6c)[_0xd42e98(0x1b8)]()[_0xd42e98(0x1ce)][_0xd42e98(0x1ed)]&&(re(_0x5bac6c[_0xd42e98(0x1c7)](':')[0x2],_0x52ac1d[_0xd42e98(0x17a)](),_0x35cc9e,_0x32f0e6),_0x52ac1d[_0xd42e98(0x18f)]());_0x380219[_0xd42e98(0x1c9)]();});});}(_0x5b78f1),this[_0x485bf9(0x179)][_0x485bf9(0x188)](_0x1aa408[_0x485bf9(0x1f8)],_0x485bf9(0x1fb),(_0x4409d0,{key:_0x47013d})=>{const _0x4a4138=_0x485bf9;_0x4a4138(0x1a1)===_0x47013d&&function(_0x184063){const _0x14e54e=_0x4a4138;_0x184063[_0x14e54e(0x1a7)][_0x14e54e(0x1e5)][_0x14e54e(0x196)](_0x4a7af8=>{const _0x3f65b6=_0x14e54e;for(const _0x26da1e of _0x184063[_0x3f65b6(0x1ba)][_0x3f65b6(0x19f)]){if(!_0x26da1e[_0x3f65b6(0x183)][_0x3f65b6(0x18a)](_0x3f65b6(0x1a5)))continue;const _0x1d6d76=_0x184063[_0x3f65b6(0x1a7)][_0x3f65b6(0x1bc)][_0x3f65b6(0x1c4)](_0x26da1e[_0x3f65b6(0x183)]);if(_0x1d6d76){for(const _0xab9ef8 of _0x1d6d76)_0x4a7af8[_0x3f65b6(0x1c5)](_0x3f65b6(0x1e1),_0xab9ef8);}}});}(_0x5b78f1);},{'useCapture':!0x0});}[_0x291aa4(0x1c1)](){const _0x59e2fe=_0x291aa4,_0xc0a81e=this[_0x59e2fe(0x1ef)],_0x986bf=_0xc0a81e[_0x59e2fe(0x17b)][_0x59e2fe(0x1cb)](_0x59e2fe(0x1e9));_0x986bf&&_0xc0a81e[_0x59e2fe(0x1ba)]['on'](_0x59e2fe(0x19c),(_0x16d90a,_0x9819c8)=>{const _0x367a51=_0x59e2fe,_0x254bbd=_0x9819c8[0x0];if(_0x367a51(0x187)!=_0x254bbd[_0x367a51(0x1f1)]||!_0x254bbd[_0x367a51(0x183)][_0x367a51(0x18a)](_0x367a51(0x1e6)))return;const _0x56869a=_0x254bbd[_0x367a51(0x1f2)];_0x986bf[_0x367a51(0x1c6)][_0x367a51(0x1ae)](_0x56869a)&&(_0x254bbd[_0x367a51(0x186)]=_0x254bbd[_0x367a51(0x1dd)]?_0xc0a81e[_0x367a51(0x1ba)][_0x367a51(0x1ec)](_0x254bbd[_0x367a51(0x1dd)][_0x367a51(0x1df)],_0x254bbd[_0x367a51(0x1dd)][_0x367a51(0x1e2)]):null);},{'priority':_0x59e2fe(0x193)});}[_0x291aa4(0x1f9)](){const _0x3597f2=_0x291aa4;return this[_0x3597f2(0x179)][_0x3597f2(0x1fa)](),super[_0x3597f2(0x1f9)]();}[_0x291aa4(0x1c0)](){const _0x48d40a=_0x291aa4,_0x1a8fc9=this[_0x48d40a(0x1ef)],_0x4eb51f=_0x1a8fc9[_0x48d40a(0x1ba)][_0x48d40a(0x1f8)],_0xa6aead=_0x1a8fc9[_0x48d40a(0x1ea)][_0x48d40a(0x1cb)](_0x9e898f);_0x1a8fc9[_0x48d40a(0x1ba)][_0x48d40a(0x192)]({'isUndoable':!0x1},_0x473711=>{const _0x372f5f=_0x48d40a,_0x1d0ade=_0x372f5f(0x1a4)+_0xa6aead[_0x372f5f(0x1eb)],_0x3eee0f=_0x372f5f(0x1c8)+_0xa6aead[_0x372f5f(0x1eb)],_0x276bc9=_0x1a8fc9[_0x372f5f(0x1ba)][_0x372f5f(0x19f)][_0x372f5f(0x1ae)](_0x1d0ade);_0x1a8fc9[_0x372f5f(0x1a7)][_0x372f5f(0x1e5)][_0x372f5f(0x180)]?re(_0xa6aead[_0x372f5f(0x1eb)],_0x4eb51f[_0x372f5f(0x1d4)][_0x372f5f(0x1b3)](),_0x1a8fc9[_0x372f5f(0x1ba)],_0x473711):_0x276bc9&&(_0x473711[_0x372f5f(0x1f6)](_0x1d0ade),_0x473711[_0x372f5f(0x1f6)](_0x3eee0f));});}}function re(_0x26e8f1,_0x2554f5,_0x1f85a0,_0x58e74c){const _0x649fc4=_0x291aa4,_0x50b1b7=_0x649fc4(0x1a4)+_0x26e8f1,_0x52422a=_0x649fc4(0x1c8)+_0x26e8f1,_0xa403cf=_0x2554f5[_0x649fc4(0x1fd)]();let _0x28e8c2=_0x2554f5[_0x649fc4(0x1df)];_0xa403cf&&_0xa403cf['is'](_0x649fc4(0x1e8),_0x649fc4(0x1f7))&&(_0x28e8c2=function(_0xd7ac7e,_0x3c2216){const _0x4fb789=_0x649fc4;for(const _0x35a5b8 of _0xd7ac7e[_0x4fb789(0x1da)]())if(_0x3c2216[_0x4fb789(0x1a9)][_0x4fb789(0x1dc)](_0x35a5b8,_0x4fb789(0x1d3)))return _0x35a5b8;}(_0x2554f5,_0x1f85a0),_0x2554f5=_0x58e74c[_0x649fc4(0x1ec)](_0x28e8c2));const _0xeac38f=_0x58e74c[_0x649fc4(0x1ec)](_0x28e8c2);_0x1f85a0[_0x649fc4(0x19f)][_0x649fc4(0x1ae)](_0x50b1b7)?(_0x58e74c[_0x649fc4(0x1ca)](_0x50b1b7,{'range':_0x2554f5}),_0x58e74c[_0x649fc4(0x1ca)](_0x52422a,{'range':_0xeac38f})):(_0x58e74c[_0x649fc4(0x1db)](_0x50b1b7,{'range':_0x2554f5,'usingOperation':!0x0}),_0x58e74c[_0x649fc4(0x1db)](_0x52422a,{'range':_0xeac38f,'usingOperation':!0x0}));}function _0x57dc(){const _0x1255cc=['isInline','getContainedElement','_domEmitter','toRange','commands','for','markerToHighlight','setCustomProperty','markerRange','hasDomSelection','contenteditable','UserMarkers','name','fromRange','color','newRange','marker','listenTo','createUIElement','startsWith','addEventListener','set','2DXCclw','isCollapsed','detach','370ooLRms','1001165NstFuS','enqueueChange','highest','getUserBySessionId','conversion','change','delete','10146VskEGc','span','innerHTML','reconvertMarker','applyOperation','2219leVWsP','init','markers','markerToElement','Escape','requires','add','user:range:','user:position','parent','editing','isOfficialPlugin','schema','getCustomProperty','1989849gZUeOA','$graveyard','orderNumber','has','toDomElement','size','render','6461176gOaAgO','getFirstRange','getNearestSelectionRange','classList','7011108OaMZRZ','data-session-id','getRange','nodeAfter','model','mouseenter','mapper','userPositionMarker','hasContent','ck-user__selection','createUserMarkerOperations','afterInit','update:user:range','editingDowncast','markerNameToElements','removeClass','_createdBatches','split','user:position:','clear','updateMarker','get','4mheYQC','isLimit','root','ck-user__marker\x20','getMarkerClass','959275dKQytm','getAttribute','$text','selection','isObject','mouseleave','727700bOCMNI','deletionPosition','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','getPositions','addMarker','checkChild','oldRange','getSelectionClass','start','isSimilar','ck-user__marker_hovered','end','markerName','isPremiumPlugin','view','user:','pluginName','element','undo','plugins','mySessionId','createRange','rootName','getStart','editor','user:range','type','batch','</span>','remove','change:range','removeMarker','tableCell','document','destroy','stopListening','keydown'];_0x57dc=function(){return _0x1255cc;};return _0x57dc();}
|
|
23
|
+
const _0x3f4d9f=_0x5daa;(function(_0x53d728,_0x55c2a0){const _0x4bc71b=_0x5daa,_0x541d8a=_0x53d728();while(!![]){try{const _0x562217=parseInt(_0x4bc71b(0x1fe))/0x1+-parseInt(_0x4bc71b(0x212))/0x2*(parseInt(_0x4bc71b(0x252))/0x3)+-parseInt(_0x4bc71b(0x1fb))/0x4*(parseInt(_0x4bc71b(0x23f))/0x5)+parseInt(_0x4bc71b(0x1e2))/0x6+-parseInt(_0x4bc71b(0x214))/0x7+parseInt(_0x4bc71b(0x22a))/0x8*(-parseInt(_0x4bc71b(0x225))/0x9)+parseInt(_0x4bc71b(0x1f4))/0xa;if(_0x562217===_0x55c2a0)break;else _0x541d8a['push'](_0x541d8a['shift']());}catch(_0x3aae45){_0x541d8a['push'](_0x541d8a['shift']());}}}(_0x5e30,0xbc4c8));import{Plugin as _0x2bd2b2}from'ckeditor5/src/core.js';import{global as _0x533ea2,DomEmitterMixin as _0x3ca6f5}from'ckeditor5/src/utils.js';function _0x5daa(_0x192efc,_0x21964c){const _0x5e308a=_0x5e30();return _0x5daa=function(_0x5daa5a,_0x343eb3){_0x5daa5a=_0x5daa5a-0x1ce;let _0x267423=_0x5e308a[_0x5daa5a];return _0x267423;},_0x5daa(_0x192efc,_0x21964c);}import _0x286dea from'./sessions.js';import{LiveRange as _0x2b6fd1}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x2bd2b2{constructor(){const _0x491667=_0x5daa;super(...arguments),this[_0x491667(0x216)]=new(_0x3ca6f5())();}static get[_0x3f4d9f(0x224)](){return[_0x286dea];}static get[_0x3f4d9f(0x207)](){const _0x149312=_0x3f4d9f;return _0x149312(0x238);}static get[_0x3f4d9f(0x1da)](){return!0x0;}static get[_0x3f4d9f(0x20f)](){return!0x0;}[_0x3f4d9f(0x1e6)](){const _0x54e0b4=_0x3f4d9f,_0x3da9bb=this[_0x54e0b4(0x23c)],_0x5268a9=_0x3da9bb[_0x54e0b4(0x1d2)][_0x54e0b4(0x204)](_0x286dea);_0x3da9bb[_0x54e0b4(0x21b)][_0x54e0b4(0x20b)](_0x54e0b4(0x1e9))[_0x54e0b4(0x218)]({'model':_0x54e0b4(0x1cf),'view':(_0x3f00f4,{writer:_0x3b34dd})=>function(_0x331675,_0xbb022,_0x4c4a7b,_0x39a138){const _0x308dfe=_0x54e0b4,_0x1f0609=_0x331675[_0x308dfe(0x223)][_0x308dfe(0x215)](':')[0x2],_0x4dbadf=_0x4c4a7b[_0x308dfe(0x247)](_0x1f0609);if(!_0x4dbadf||_0x1f0609===_0x4c4a7b[_0x308dfe(0x231)])return;if(!_0x39a138[_0x308dfe(0x22e)][_0x308dfe(0x1de)][_0x308dfe(0x23e)](_0x331675[_0x308dfe(0x240)][_0x308dfe(0x1fc)],_0x308dfe(0x1db)))return;const _0x13f712={'class':_0x308dfe(0x1fa)+_0x4dbadf[_0x308dfe(0x22b)][_0x308dfe(0x1dd)](),'data-name':_0x4dbadf[_0x308dfe(0x1f8)],'data-session-id':_0x1f0609},_0x4c27de=_0x39a138[_0x308dfe(0x22e)][_0x308dfe(0x1ec)][_0x308dfe(0x204)](_0x331675[_0x308dfe(0x223)]),_0x4e8e98=_0x4c27de[_0x308dfe(0x1f0)](),_0x10c99d=_0x4e8e98[_0x308dfe(0x209)],_0x2e33ff=_0x39a138[_0x308dfe(0x22e)][_0x308dfe(0x1de)];if(_0x10c99d&&_0x2e33ff[_0x308dfe(0x1f1)](_0x10c99d)&&_0x2e33ff[_0x308dfe(0x1ff)](_0x10c99d)&&!_0x39a138[_0x308dfe(0x22e)][_0x308dfe(0x1ec)][_0x308dfe(0x204)](_0x308dfe(0x200)+_0x1f0609)[_0x308dfe(0x20e)]()[_0x308dfe(0x217)])return;const _0x3800fe=_0x4e8e98[_0x308dfe(0x1ce)];return _0x39a138[_0x308dfe(0x22e)][_0x308dfe(0x1de)][_0x308dfe(0x205)](_0x3800fe)&&!_0x39a138[_0x308dfe(0x22e)][_0x308dfe(0x229)](_0x3800fe)&&(_0x13f712[_0x308dfe(0x21f)]=!0x1),function(_0x46a56d,_0x18ba04,_0x11474c){const _0xea09bd=_0x308dfe,_0x4d5583=_0x46a56d[_0xea09bd(0x237)](_0xea09bd(0x242),_0x18ba04);return _0x46a56d[_0xea09bd(0x23a)](_0xea09bd(0x1d7),!0x0,_0x4d5583),_0x4d5583[_0xea09bd(0x235)]=function(_0x41a6d6){const _0x40bc23=_0xea09bd,_0xc3d13b=this[_0x40bc23(0x1ee)](_0x41a6d6);return _0xc3d13b[_0x40bc23(0x239)]=_0x40bc23(0x208)+_0x11474c[_0x40bc23(0x1f8)]+_0x40bc23(0x213),_0xc3d13b[_0x40bc23(0x220)](_0x40bc23(0x1e7),()=>{const _0x5240fa=_0x40bc23;_0xc3d13b[_0x5240fa(0x1f3)][_0x5240fa(0x1e5)](_0x5240fa(0x244));}),_0xc3d13b[_0x40bc23(0x220)](_0x40bc23(0x22d),()=>{const _0x529d18=_0x40bc23;_0xc3d13b[_0x529d18(0x1f3)][_0x529d18(0x250)](_0x529d18(0x244));}),_0xc3d13b;},_0x4d5583[_0xea09bd(0x1d1)]=function(_0x24dadf){const _0x47c2fb=_0xea09bd;return!(!this[_0x47c2fb(0x228)](_0x47c2fb(0x1d7))||!_0x24dadf[_0x47c2fb(0x228)](_0x47c2fb(0x1d7))||this[_0x47c2fb(0x1d9)](_0x47c2fb(0x210))!=_0x24dadf[_0x47c2fb(0x1d9)](_0x47c2fb(0x210)));},_0x4d5583;}(_0xbb022,_0x13f712,_0x4dbadf);}(_0x3f00f4,_0x3b34dd,_0x5268a9,_0x3da9bb)}),_0x3da9bb[_0x54e0b4(0x21b)][_0x54e0b4(0x20b)](_0x54e0b4(0x1e9))[_0x54e0b4(0x221)]({'model':_0x54e0b4(0x20a),'view':_0x4e4a79=>function(_0x34359c,_0x42cb37){const _0x49d4bf=_0x54e0b4,_0x199235=_0x34359c[_0x49d4bf(0x223)][_0x49d4bf(0x215)](':')[0x2];if(_0x199235===_0x42cb37[_0x49d4bf(0x231)])return null;const _0x122f19=_0x42cb37[_0x49d4bf(0x247)](_0x199235);if(!_0x122f19)return{'id':_0x199235,'classes':[]};return{'id':_0x199235,'classes':[_0x49d4bf(0x243),_0x122f19[_0x49d4bf(0x22b)][_0x49d4bf(0x23d)]()],'attributes':{'data-session-id':_0x199235},'priority':0x7d0+_0x122f19[_0x49d4bf(0x24e)]};}(_0x4e4a79,_0x5268a9)}),function(_0x19a074){const _0x47cfe6=_0x54e0b4,_0x27ff0b=_0x19a074[_0x47cfe6(0x22e)],_0x43fb35=new Map(),_0x3d0f9b=_0x19a074[_0x47cfe6(0x1d2)][_0x47cfe6(0x204)](_0x286dea);_0x27ff0b[_0x47cfe6(0x1ec)]['on'](_0x47cfe6(0x245),(_0x364481,_0x4d4e0e,_0x14e843,_0x236f64)=>{const _0x8fffdf=_0x47cfe6;if(!_0x236f64&&_0x43fb35[_0x8fffdf(0x204)](_0x4d4e0e[_0x8fffdf(0x1f8)]))return _0x43fb35[_0x8fffdf(0x204)](_0x4d4e0e[_0x8fffdf(0x1f8)])[_0x8fffdf(0x1f6)](),void _0x43fb35[_0x8fffdf(0x1d3)](_0x4d4e0e[_0x8fffdf(0x1f8)]);const _0x191e32=_0x4d4e0e[_0x8fffdf(0x1f8)][_0x8fffdf(0x215)](':')[0x2];if(_0x191e32===_0x3d0f9b[_0x8fffdf(0x231)])return;const _0x2a62ed=_0x8fffdf(0x24f)+_0x191e32;_0x27ff0b[_0x8fffdf(0x1ec)][_0x8fffdf(0x1dc)](_0x2a62ed)&&_0x19a074[_0x8fffdf(0x1e3)][_0x8fffdf(0x24d)](_0x2a62ed),_0x4d4e0e['on'](_0x8fffdf(0x21c),(_0x23de00,_0x4de825,_0x30bcee)=>{const _0x1d771f=_0x8fffdf;if(_0x1d771f(0x1eb)!=_0x4de825[_0x1d771f(0x232)][_0x1d771f(0x202)]&&_0x1d771f(0x1eb)==_0x4d4e0e[_0x1d771f(0x20e)]()[_0x1d771f(0x232)][_0x1d771f(0x202)]&&!_0x43fb35[_0x1d771f(0x1dc)](_0x4d4e0e[_0x1d771f(0x1f8)])){const _0x4ceee9=_0x27ff0b[_0x1d771f(0x1de)][_0x1d771f(0x1d6)](_0x30bcee[_0x1d771f(0x248)]);if(_0x4ceee9){const _0x3b632a=_0x2b6fd1[_0x1d771f(0x1d0)](_0x4ceee9);_0x43fb35[_0x1d771f(0x1ef)](_0x4d4e0e[_0x1d771f(0x1f8)],_0x3b632a),_0x3b632a['on'](_0x1d771f(0x21c),(_0x4d0ae6,_0x430f04,_0xefcac8)=>{const _0x50ffad=_0x1d771f;if(_0x50ffad(0x1eb)==_0x3b632a[_0x50ffad(0x232)][_0x50ffad(0x202)]){const _0x55e5a=_0x27ff0b[_0x50ffad(0x1de)][_0x50ffad(0x1d6)](_0xefcac8[_0x50ffad(0x248)]);_0x55e5a?(_0x3b632a[_0x50ffad(0x1fc)]=_0x55e5a[_0x50ffad(0x1fc)],_0x3b632a[_0x50ffad(0x203)]=_0x55e5a[_0x50ffad(0x203)]):(_0x43fb35[_0x50ffad(0x1d3)](_0x4d4e0e[_0x50ffad(0x1f8)]),_0x3b632a[_0x50ffad(0x1f6)]());}});}}});}),_0x27ff0b[_0x47cfe6(0x1e4)]['on'](_0x47cfe6(0x233),()=>{const _0x3f13c9=_0x47cfe6;_0x43fb35[_0x3f13c9(0x1e1)]>0x0&&_0x27ff0b[_0x3f13c9(0x23b)]({'isUndoable':!0x1},_0x54d787=>{const _0x30dca0=_0x3f13c9;for(const [_0x4a4c0a,_0x5618a8]of _0x43fb35)_0x30dca0(0x1eb)==_0x27ff0b[_0x30dca0(0x1ec)][_0x30dca0(0x204)](_0x4a4c0a)[_0x30dca0(0x20e)]()[_0x30dca0(0x232)][_0x30dca0(0x202)]&&(re(_0x4a4c0a[_0x30dca0(0x215)](':')[0x2],_0x5618a8[_0x30dca0(0x236)](),_0x27ff0b,_0x54d787),_0x5618a8[_0x30dca0(0x1f6)]());_0x43fb35[_0x30dca0(0x246)]();});});}(_0x3da9bb),this[_0x54e0b4(0x216)][_0x54e0b4(0x1d4)](_0x533ea2[_0x54e0b4(0x1e4)],_0x54e0b4(0x1df),(_0x1e3e28,{key:_0x3299dd})=>{const _0x40f4e4=_0x54e0b4;_0x40f4e4(0x1e0)===_0x3299dd&&function(_0x266b9e){const _0x589af4=_0x40f4e4;_0x266b9e[_0x589af4(0x1e3)][_0x589af4(0x249)][_0x589af4(0x233)](_0xa00b8=>{const _0x457360=_0x589af4;for(const _0xa467ca of _0x266b9e[_0x457360(0x22e)][_0x457360(0x1ec)]){if(!_0xa467ca[_0x457360(0x1f8)][_0x457360(0x227)](_0x457360(0x1cf)))continue;const _0x3f1ecb=_0x266b9e[_0x457360(0x1e3)][_0x457360(0x1fd)][_0x457360(0x24b)](_0xa467ca[_0x457360(0x1f8)]);if(_0x3f1ecb){for(const _0x171c13 of _0x3f1ecb)_0xa00b8[_0x457360(0x24a)](_0x457360(0x244),_0x171c13);}}});}(_0x3da9bb);},{'useCapture':!0x0});}[_0x3f4d9f(0x1ed)](){const _0x100fcd=_0x3f4d9f,_0x24d24b=this[_0x100fcd(0x23c)],_0x6e5061=_0x24d24b[_0x100fcd(0x21e)][_0x100fcd(0x204)](_0x100fcd(0x1f7));_0x6e5061&&_0x24d24b[_0x100fcd(0x22e)]['on'](_0x100fcd(0x1ea),(_0x2f6679,_0x107f21)=>{const _0x57af61=_0x100fcd,_0x4ab24d=_0x107f21[0x0];if(!_0x4ab24d[_0x57af61(0x21d)])return;if(_0x57af61(0x241)!=_0x4ab24d[_0x57af61(0x219)]||!_0x4ab24d[_0x57af61(0x1f8)][_0x57af61(0x227)](_0x57af61(0x222)))return;const _0x1d3203=_0x4ab24d[_0x57af61(0x1f2)];_0x6e5061[_0x57af61(0x206)][_0x57af61(0x1dc)](_0x1d3203)&&(_0x4ab24d[_0x57af61(0x22c)]=_0x4ab24d[_0x57af61(0x24c)]?_0x24d24b[_0x57af61(0x22e)][_0x57af61(0x251)](_0x4ab24d[_0x57af61(0x24c)][_0x57af61(0x1fc)],_0x4ab24d[_0x57af61(0x24c)][_0x57af61(0x203)]):null);},{'priority':_0x100fcd(0x21a)});}[_0x3f4d9f(0x201)](){const _0x47fce7=_0x3f4d9f;return this[_0x47fce7(0x216)][_0x47fce7(0x234)](),super[_0x47fce7(0x201)]();}[_0x3f4d9f(0x1f9)](){const _0x209862=_0x3f4d9f,_0x13b6f2=this[_0x209862(0x23c)],_0x5c9104=_0x13b6f2[_0x209862(0x22e)][_0x209862(0x1e4)],_0x5f26ed=_0x13b6f2[_0x209862(0x1d2)][_0x209862(0x204)](_0x286dea);_0x13b6f2[_0x209862(0x22e)][_0x209862(0x23b)]({'isUndoable':!0x1},_0x3bdfde=>{const _0x2de6a9=_0x209862,_0x2cd3e0=_0x2de6a9(0x200)+_0x5f26ed[_0x2de6a9(0x231)],_0x408d76=_0x2de6a9(0x24f)+_0x5f26ed[_0x2de6a9(0x231)],_0x259e9e=_0x13b6f2[_0x2de6a9(0x22e)][_0x2de6a9(0x1ec)][_0x2de6a9(0x1dc)](_0x2cd3e0);_0x13b6f2[_0x2de6a9(0x1e3)][_0x2de6a9(0x249)][_0x2de6a9(0x1d8)]?re(_0x5f26ed[_0x2de6a9(0x231)],_0x5c9104[_0x2de6a9(0x211)][_0x2de6a9(0x1e8)](),_0x13b6f2[_0x2de6a9(0x22e)],_0x3bdfde):_0x259e9e&&(_0x3bdfde[_0x2de6a9(0x226)](_0x2cd3e0),_0x3bdfde[_0x2de6a9(0x226)](_0x408d76));});}}function _0x5e30(){const _0x11c035=['removeClass','markerNameToElements','oldRange','reconvertMarker','orderNumber','user:position:','remove','createRange','3ABdhOH','parent','user:position','fromRange','isSimilar','plugins','delete','listenTo','element','getNearestSelectionRange','userPositionMarker','hasDomSelection','getAttribute','isOfficialPlugin','$text','has','getMarkerClass','schema','keydown','Escape','size','4871736zmFuTu','editing','document','add','init','mouseenter','getFirstRange','editingDowncast','applyOperation','$graveyard','markers','afterInit','toDomElement','set','getStart','isObject','batch','classList','13997680ttVCsh','updateMarker','detach','undo','name','createUserMarkerOperations','ck-user__marker\x20','1252732lRULiZ','start','mapper','541959YhsItQ','isInline','user:range:','destroy','rootName','end','get','isLimit','_createdBatches','pluginName','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','nodeAfter','user:range','for','tableCell','addMarker','getRange','isPremiumPlugin','data-session-id','selection','135404JFWiuX','</span>','10537499JoxgZW','split','_domEmitter','isCollapsed','markerToElement','type','highest','conversion','change:range','isDocumentOperation','commands','contenteditable','addEventListener','markerToHighlight','user:','markerName','requires','9NGSSgv','removeMarker','startsWith','getCustomProperty','hasContent','769352zogQuI','color','newRange','mouseleave','model','getContainedElement','getPositions','mySessionId','root','change','stopListening','render','toRange','createUIElement','UserMarkers','innerHTML','setCustomProperty','enqueueChange','editor','getSelectionClass','checkChild','5jaMehN','markerRange','marker','span','ck-user__selection','ck-user__marker_hovered','update:user:range','clear','getUserBySessionId','deletionPosition','view'];_0x5e30=function(){return _0x11c035;};return _0x5e30();}function re(_0x424930,_0x3581e8,_0x438f28,_0x4db1fb){const _0x4a2baa=_0x3f4d9f,_0x571f0b=_0x4a2baa(0x200)+_0x424930,_0x5f256d=_0x4a2baa(0x24f)+_0x424930,_0x3312f5=_0x3581e8[_0x4a2baa(0x22f)]();let _0x64a393=_0x3581e8[_0x4a2baa(0x1fc)];_0x3312f5&&_0x3312f5['is'](_0x4a2baa(0x1d5),_0x4a2baa(0x20c))&&(_0x64a393=function(_0x1535a7,_0xf293b){const _0x5037cf=_0x4a2baa;for(const _0x2aaf90 of _0x1535a7[_0x5037cf(0x230)]())if(_0xf293b[_0x5037cf(0x1de)][_0x5037cf(0x23e)](_0x2aaf90,_0x5037cf(0x1db)))return _0x2aaf90;}(_0x3581e8,_0x438f28),_0x3581e8=_0x4db1fb[_0x4a2baa(0x251)](_0x64a393));const _0x3e0063=_0x4db1fb[_0x4a2baa(0x251)](_0x64a393);_0x438f28[_0x4a2baa(0x1ec)][_0x4a2baa(0x1dc)](_0x571f0b)?(_0x4db1fb[_0x4a2baa(0x1f5)](_0x571f0b,{'range':_0x3581e8}),_0x4db1fb[_0x4a2baa(0x1f5)](_0x5f256d,{'range':_0x3e0063})):(_0x4db1fb[_0x4a2baa(0x20d)](_0x571f0b,{'range':_0x3581e8,'usingOperation':!0x0}),_0x4db1fb[_0x4a2baa(0x20d)](_0x5f256d,{'range':_0x3e0063,'usingOperation':!0x0}));}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -50,6 +50,10 @@ export default class WebSocketGateway extends ContextPlugin {
|
|
|
50
50
|
* Checks if the plugin is present in the reconnection stack.
|
|
51
51
|
*/
|
|
52
52
|
isInReconnectionStack(plugin: ReconnectPlugin | ReconnectContextPlugin): boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Disconnects the client from the WebSocket server and also stops the DOM emitter listeners to prevent reconnect process.
|
|
55
|
+
*/
|
|
56
|
+
disconnect(): void;
|
|
53
57
|
/**
|
|
54
58
|
* @inheritDoc
|
|
55
59
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x42fee2=_0x9ee8;(function(_0x5061b3,_0xa34267){const _0x453206=_0x9ee8,_0x2742fa=_0x5061b3();while(!![]){try{const _0x171cbf=parseInt(_0x453206(0xcc))/0x1*(-parseInt(_0x453206(0xc9))/0x2)+-parseInt(_0x453206(0xb7))/0x3*(parseInt(_0x453206(0xb8))/0x4)+parseInt(_0x453206(0xab))/0x5*(-parseInt(_0x453206(0xe7))/0x6)+-parseInt(_0x453206(0xc7))/0x7+parseInt(_0x453206(0xd5))/0x8+parseInt(_0x453206(0xf3))/0x9*(parseInt(_0x453206(0xc0))/0xa)+parseInt(_0x453206(0xaa))/0xb*(parseInt(_0x453206(0xac))/0xc);if(_0x171cbf===_0xa34267)break;else _0x2742fa['push'](_0x2742fa['shift']());}catch(_0x505f28){_0x2742fa['push'](_0x2742fa['shift']());}}}(_0x36c5,0x9badb));import{ContextPlugin as _0x5588d2}from'ckeditor5/src/core.js';function _0x9ee8(_0x3676d9,_0x1265ae){const _0x36c530=_0x36c5();return _0x9ee8=function(_0x9ee835,_0x1a3ecb){_0x9ee835=_0x9ee835-0xa9;let _0x1e9576=_0x36c530[_0x9ee835];return _0x1e9576;},_0x9ee8(_0x3676d9,_0x1265ae);}import{DomEmitterMixin as _0x232343,CKEditorError as _0x37de98}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4c44b9,WEB_SOCKET_GATEWAY_STATES as _0x40ad80}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x32eec6}from'ckeditor5/src/ui.js';class c extends _0x5588d2{static get[_0x42fee2(0xd6)](){const _0x3cd0e9=_0x42fee2;return[_0x3cd0e9(0xec),_0x32eec6];}static get[_0x42fee2(0xea)](){const _0x333a0c=_0x42fee2;return _0x333a0c(0xee);}static get[_0x42fee2(0xce)](){return!0x0;}static get[_0x42fee2(0xd8)](){return!0x0;}constructor(_0x10db43){const _0x4cba86=_0x42fee2;super(_0x10db43),this[_0x4cba86(0xb6)](_0x4cba86(0xb4),_0x40ad80[_0x4cba86(0xb2)]),this[_0x4cba86(0xb6)](_0x4cba86(0xcf),!0x1),this[_0x4cba86(0xcb)]=new Set(),this[_0x4cba86(0xed)]=!0x1,this[_0x4cba86(0xe5)]=Object[_0x4cba86(0xe4)](_0x232343);}[_0x42fee2(0xd3)](){const _0x5e471f=_0x42fee2,_0x279793=this[_0x5e471f(0xf4)],_0x91c6ea=_0x279793[_0x5e471f(0xae)][_0x5e471f(0xe2)](_0x5e471f(0xec)),_0xcc3169=_0x279793[_0x5e471f(0xae)][_0x5e471f(0xe2)](_0x32eec6);if(!_0x91c6ea[_0x5e471f(0xe6)])throw new _0x37de98(_0x5e471f(0xb1),this);if(!_0x91c6ea[_0x5e471f(0xc5)])throw new _0x37de98(_0x5e471f(0xba),this);return this[_0x5e471f(0xe5)][_0x5e471f(0xc2)](window,_0x5e471f(0xb9),()=>this[_0x5e471f(0xcf)]=!0x0),this[_0x5e471f(0xe5)][_0x5e471f(0xc2)](window,_0x5e471f(0xb5),()=>this[_0x5e471f(0xcf)]=!0x1),this[_0x5e471f(0xf4)][_0x5e471f(0xc4)][_0x5e471f(0xc3)](_0x5e471f(0xf5),0xa),this[_0x5e471f(0xf4)][_0x5e471f(0xc4)][_0x5e471f(0xc3)](_0x5e471f(0xe0),0x14),c[_0x5e471f(0xee)][_0x5e471f(0xe1)](_0x91c6ea[_0x5e471f(0xe6)],_0x91c6ea[_0x5e471f(0xc5)],{'timeout':0x3e8*this[_0x5e471f(0xf4)][_0x5e471f(0xc4)][_0x5e471f(0xe2)](_0x5e471f(0xf5)),'requestTimeout':0x3e8*this[_0x5e471f(0xf4)][_0x5e471f(0xc4)][_0x5e471f(0xe2)](_0x5e471f(0xe0))})[_0x5e471f(0xd9)](_0x3ebf10=>{const _0xccd8a5=_0x5e471f;if(this[_0xccd8a5(0xdd)]=_0x3ebf10,this[_0xccd8a5(0xbe)](_0xccd8a5(0xb4))['to'](_0x3ebf10,_0xccd8a5(0xb4),this,_0xccd8a5(0xcf),(_0x2256c2,_0xb38c28)=>(_0xccd8a5(0xca)!==_0x2256c2&&(this[_0xccd8a5(0xed)]=!0x0),_0xb38c28||_0x2256c2!==_0x40ad80[_0xccd8a5(0xb2)]?_0x40ad80[_0xccd8a5(0xaf)]:this[_0xccd8a5(0xb4)]==_0x40ad80[_0xccd8a5(0xaf)]&&this[_0xccd8a5(0xed)]?(this[_0xccd8a5(0xed)]=!0x1,this[_0xccd8a5(0xf2)](),_0x40ad80[_0xccd8a5(0xe8)]):_0x40ad80[_0xccd8a5(0xb2)])),this[_0xccd8a5(0xdd)]['on'](_0xccd8a5(0xa9),(_0x3bdf4a,_0x8d59a9)=>{const _0x12c6ce=_0xccd8a5;if(_0x12c6ce(0xd7)!==_0x8d59a9[_0x12c6ce(0xb0)])throw console[_0x12c6ce(0xa9)](_0x8d59a9),new _0x37de98(_0x12c6ce(0xd1),null,{'originalError':_0x8d59a9});_0xcc3169[_0x12c6ce(0xd4)](_0x12c6ce(0xbd),{'title':_0x12c6ce(0xd0),'namespace':_0x12c6ce(0xde)});}),!_0x3ebf10['me'])return new Promise(_0xa52b76=>_0x3ebf10['on'](_0xccd8a5(0xdc),_0xa52b76));})[_0x5e471f(0xc8)](_0x2b3680=>{const _0x4e210c=_0x5e471f;throw console[_0x4e210c(0xa9)](_0x2b3680),new _0x37de98(_0x4e210c(0xd1),null,{'originalError':_0x2b3680});});}[_0x42fee2(0xda)](_0x24336b){const _0x1bac74=_0x42fee2;if(_0x1bac74(0xbb)!=typeof _0x24336b[_0x1bac74(0xcd)])throw new _0x37de98(_0x1bac74(0xeb),this);if(this[_0x1bac74(0xbf)](_0x24336b))throw new _0x37de98(_0x1bac74(0xf1),this,{'name':_0x24336b[_0x1bac74(0xef)][_0x1bac74(0xea)]});this[_0x1bac74(0xcb)][_0x1bac74(0xad)](_0x24336b);}[_0x42fee2(0xe9)](_0x5d76ea){const _0x4f924e=_0x42fee2;this[_0x4f924e(0xcb)][_0x4f924e(0xdb)](_0x5d76ea);}[_0x42fee2(0xbf)](_0x2f5462){const _0x334da6=_0x42fee2;return this[_0x334da6(0xcb)][_0x334da6(0xd2)](_0x2f5462);}[_0x42fee2(0xf2)](){const _0x352372=_0x42fee2;return this[_0x352372(0xdd)][_0x352372(0xcd)]()[_0x352372(0xd9)](()=>Promise[_0x352372(0xf0)](Array[_0x352372(0xdf)](this[_0x352372(0xcb)],_0x55a7df=>_0x55a7df[_0x352372(0xcd)]())))[_0x352372(0xd9)](()=>this[_0x352372(0xb4)]=_0x40ad80[_0x352372(0xb2)])[_0x352372(0xc8)](_0x4919e6=>{const _0x2b6747=_0x352372;throw console[_0x2b6747(0xa9)](_0x4919e6),new _0x37de98(_0x2b6747(0xe3),this[_0x2b6747(0xf4)]);});}[_0x42fee2(0xbc)](){const _0x34cc3a=_0x42fee2;this[_0x34cc3a(0xdd)]&&this[_0x34cc3a(0xdd)][_0x34cc3a(0xbc)](),this[_0x34cc3a(0xb4)]=_0x40ad80[_0x34cc3a(0xaf)],this[_0x34cc3a(0xe5)][_0x34cc3a(0xb3)]();}[_0x42fee2(0xc1)](){const _0x383757=_0x42fee2;this[_0x383757(0xbc)](),super[_0x383757(0xc1)]();}}c[_0x42fee2(0xee)]=_0x4c44b9,c[_0x42fee2(0xc6)]=0x3e8;function _0x36c5(){const _0x5514db=['listenTo','define','config','webSocketUrl','initialReconnectionInterval','7162869DLqPGQ','catch','796wXbpaD','connected','_reconnectionStack','2350oVTNAk','reconnect','isOfficialPlugin','_isBrowserOffline','Connected\x20users\x20limit\x20exceeded','cloudservices-init','has','init','showWarning','3392704beKiVI','requires','limitExceeded','isPremiumPlugin','then','addToReconnectionStack','delete','change:me','connection','real-time-collaboration','from','cloudServices.requestTimeout','connect','get','cloudservices-reconnection-error','create','_domEmitter','token','1195266QRTOKQ','CONNECTING','removeFromReconnectionStack','pluginName','websocketgateway-invalid-plugin-interface','CloudServices','_shouldPluginsReconnect','WebSocketGateway','constructor','all','websocketgateway-plugin-already-registered','_reconnect','12078xbKsGC','context','cloudServices.connectionTimeout','error','913IxKSdI','25BZtbrO','484248KFqJYB','add','plugins','DISCONNECTED','code','websocketgateway-missing-token','CONNECTED','stopListening','state','online','set','3oCEBPU','1771516JlvYEL','offline','websocketgateway-missing-websocket-url','function','disconnect','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','bind','isInReconnectionStack','1950dhbvSh','destroy'];_0x36c5=function(){return _0x5514db;};return _0x36c5();}export default c;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x24c916=_0x27b0;(function(_0x25065d,_0x28909e){var _0x1054db=_0x27b0,_0x5bbac7=_0x25065d();while(!![]){try{var _0x567c08=-parseInt(_0x1054db(0xd1))/0x1+-parseInt(_0x1054db(0xcf))/0x2*(parseInt(_0x1054db(0xd9))/0x3)+parseInt(_0x1054db(0xd5))/0x4+parseInt(_0x1054db(0xdc))/0x5*(-parseInt(_0x1054db(0xd6))/0x6)+parseInt(_0x1054db(0xd3))/0x7*(-parseInt(_0x1054db(0xd8))/0x8)+parseInt(_0x1054db(0xdd))/0x9*(parseInt(_0x1054db(0xd7))/0xa)+parseInt(_0x1054db(0xd4))/0xb;if(_0x567c08===_0x28909e)break;else _0x5bbac7['push'](_0x5bbac7['shift']());}catch(_0x28d917){_0x5bbac7['push'](_0x5bbac7['shift']());}}}(_0x425c,0x88aa0));import{Plugin as _0x66b4a0}from'ckeditor5/src/core.js';import _0x350231 from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x27b0(_0x58d83a,_0x2326cb){var _0x425c93=_0x425c();return _0x27b0=function(_0x27b065,_0x590ee2){_0x27b065=_0x27b065-0xce;var _0x32e579=_0x425c93[_0x27b065];return _0x32e579;},_0x27b0(_0x58d83a,_0x2326cb);}function _0x425c(){var _0x389c33=['33934516UHZNKk','2142196foCCQo','24ruFMav','239810TeubwS','352dpeYXP','6705jxpzHZ','isPremiumPlugin','pluginName','937205UUrQrI','171LrZkwU','requires','716MAhSVE','RealTimeCollaborativeEditing','985450IMZwba','isOfficialPlugin','156072LfNlTi'];_0x425c=function(){return _0x389c33;};return _0x425c();}export default class n extends _0x66b4a0{static get[_0x24c916(0xce)](){return[_0x350231];}static get[_0x24c916(0xdb)](){var _0x314110=_0x24c916;return _0x314110(0xd0);}static get[_0x24c916(0xd2)](){return!0x0;}static get[_0x24c916(0xda)](){return!0x0;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5065(){const _0x101f93=['RevisionHistoryService','reconnect','isEnabled','has','RevisionTracker','7955890JvgAJh','then','startsWith','pluginName','_fetchMissingUsers','collaboration.channelId','serverHistory','addToReconnectionStack','getMany','fromVersion','editor','creatorId','size','_oldOffset','reInit','_createCurrentRevision','2669156yuBTlE','_bufferedUpdates','_getLatestVersionFromServerOperations','_update','listenTo','addRevisionData','7rkoObP','marker','_handleReconnectionError','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','type','connect','590502sYDfFw','connected','551613UIQeoJ','destroy','_handleRevisionsUpdate','diffData','change:_isPendingUpdate','setRevisionData','isPremiumPlugin','_revisionDataBuilder','isBundleUploaded','getRevisions','off','_isConnected','affectsData','message','_revisionTracker','config','_bufferUpdate','addUser','2097zWzGNW','init','add','2053370pFchnw','cloud-services-internal-error:\x20Not\x20connected.','plugins','getRevision','_preventResendingRevisionData','819201VfpLka','length','_offset','reverse','change:_isConnected','buildRevisionData','CloudServicesRevisionHistoryAdapter','cloud-services-internal-error:\x20Request\x20timeout.','authorsIds','connection','6SjIfHf','_waitForServiceReady','sendBufferedUpdates','catch','max','_startingVersion','sessionId','_revisionHistoryService','createdAt','from','_lastRequestId','wrongRequestId','isOfficialPlugin','getOperations','_isPendingUpdate','requires','bind','keys','_fixRevision','toVersion','get','updateRevisions','map','baseVersion','code','getUser','CONNECTED','currentRevision','isEmptyCurrent','5SWfUjx','revisionsUpdated','isConnected','adapter','remove','once','state','authors','cloudServices.bundleVersion','data','_getLatestVersion','setSource','_revisions','400','repository','3824ituxub'];_0x5065=function(){return _0x101f93;};return _0x5065();}const _0x547fdf=_0x35b4;(function(_0x46edc5,_0x3654a6){const _0x1583d2=_0x35b4,_0x5c1c19=_0x46edc5();while(!![]){try{const _0x4705cc=parseInt(_0x1583d2(0xe0))/0x1+parseInt(_0x1583d2(0xea))/0x2*(-parseInt(_0x1583d2(0xc6))/0x3)+parseInt(_0x1583d2(0xb8))/0x4*(-parseInt(_0x1583d2(0x107))/0x5)+parseInt(_0x1583d2(0xc4))/0x6*(parseInt(_0x1583d2(0xbe))/0x7)+parseInt(_0x1583d2(0x116))/0x8*(parseInt(_0x1583d2(0xd8))/0x9)+parseInt(_0x1583d2(0x11c))/0xa+-parseInt(_0x1583d2(0xdb))/0xb;if(_0x4705cc===_0x3654a6)break;else _0x5c1c19['push'](_0x5c1c19['shift']());}catch(_0x301121){_0x5c1c19['push'](_0x5c1c19['shift']());}}}(_0x5065,0x664c1));import{Plugin as _0x5b886b}from'ckeditor5/src/core.js';import{version as _0x260bdb}from'ckeditor5/src/utils.js';import{Users as _0x445c7c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1fb7b0 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x21bc8e from'../realtimecollaborativeediting/websocketgateway.js';import _0x3b6698 from'../realtimecollaborativeediting/sessions.js';function _0x35b4(_0x170584,_0x48433c){const _0x50652=_0x5065();return _0x35b4=function(_0x35b475,_0x38c224){_0x35b475=_0x35b475-0xad;let _0x1ad967=_0x50652[_0x35b475];return _0x1ad967;},_0x35b4(_0x170584,_0x48433c);}import{EditorService as _0x3fbd02,RevisionHistoryService as _0x284a66,User as _0x460584,WEB_SOCKET_GATEWAY_STATES as _0x4bbc18}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x5b886b{static get[_0x547fdf(0xf9)](){const _0x3e5081=_0x547fdf;return[_0x21bc8e,_0x1fb7b0,_0x3e5081(0x11b),_0x3b6698,_0x445c7c];}static get[_0x547fdf(0x11f)](){const _0x5c0f78=_0x547fdf;return _0x5c0f78(0xe6);}static get[_0x547fdf(0xf6)](){return!0x0;}static get[_0x547fdf(0xcc)](){return!0x0;}constructor(_0x4fd0df){const _0x353393=_0x547fdf;super(_0x4fd0df);const _0x131f9c=this[_0x353393(0xb2)][_0x353393(0xd5)][_0x353393(0xfe)](_0x353393(0xad));this[_0x353393(0xf4)]=null,this[_0x353393(0xd4)]=this[_0x353393(0xb2)][_0x353393(0xdd)][_0x353393(0xfe)](_0x353393(0x11b)),this[_0x353393(0xf1)]=new u[(_0x353393(0x117))](_0x131f9c);}async[_0x547fdf(0xd9)](){const _0x34a258=_0x547fdf,_0x317225=this[_0x34a258(0xb2)][_0x34a258(0xdd)][_0x34a258(0xfe)](_0x1fb7b0),_0x243959=_0x317225[_0x34a258(0xae)],_0x372cc5=this[_0x34a258(0xb2)][_0x34a258(0xdd)][_0x34a258(0xfe)](_0x21bc8e);this[_0x34a258(0xd4)][_0x34a258(0x112)]({'history':_0x243959,'getLatestVersion':()=>this[_0x34a258(0x111)](),'getCurrentRevisionId':()=>_0x317225[_0x34a258(0xf0)]});const _0x31dd0d=this[_0x34a258(0xb2)][_0x34a258(0xd5)][_0x34a258(0xfe)](_0x34a258(0x10f))||_0x260bdb,_0x256156=await _0x3fbd02[_0x34a258(0xce)](_0x372cc5[_0x34a258(0xe9)],_0x31dd0d);this[_0x34a258(0xd4)][_0x34a258(0x10a)]={'getRevision':async({revisionId:_0x30a32e})=>(await this[_0x34a258(0xeb)](),await this[_0x34a258(0xf1)][_0x34a258(0xde)](_0x30a32e)),'updateRevisions':async _0x2db63f=>{const _0x42bb00=_0x34a258;await this[_0x42bb00(0xeb)]();const _0x23c844=this[_0x42bb00(0xd4)][_0x42bb00(0x105)];if(_0x256156&&0x1===_0x2db63f[_0x42bb00(0xe1)]&&_0x2db63f[0x0]['id']===_0x23c844['id'])return _0x2db63f;for(const _0x1568ef of _0x2db63f)_0x1568ef['id']===_0x23c844['id']&&(_0x1568ef[_0x42bb00(0x106)]=_0x1568ef[_0x42bb00(0xb1)]===_0x1568ef[_0x42bb00(0xfd)]);return this[_0x42bb00(0xf1)][_0x42bb00(0xff)](_0x2db63f,this[_0x42bb00(0xf4)])[_0x42bb00(0x11d)](_0x227013=>(this[_0x42bb00(0xf4)]=_0x227013,_0x2db63f))[_0x42bb00(0xed)](_0x50370d=>{const _0x5d3221=_0x42bb00;if(st(_0x50370d)||_0x5d3221(0x114)===_0x50370d[_0x5d3221(0x102)]&&void 0x0!==_0x50370d[_0x5d3221(0x110)][_0x5d3221(0xf5)]){for(const _0x473d5b of _0x2db63f){!this[_0x5d3221(0xd4)][_0x5d3221(0x115)][_0x5d3221(0xde)](_0x473d5b['id'])||this[_0x5d3221(0xd4)][_0x5d3221(0xd6)](_0x473d5b['id'],_0x473d5b,!0x1);}if(st(_0x50370d))throw _0x50370d;return _0x2db63f;}throw _0x50370d;});}},this[_0x34a258(0xbc)](this[_0x34a258(0xf1)],_0x34a258(0x108),(_0x5c3cec,{revisionsData:_0xfb3d72,requestId:_0x44f653})=>{const _0x5bbd4c=_0x34a258;Math[_0x5bbd4c(0xee)](..._0xfb3d72[_0x5bbd4c(0x100)](_0x59045b=>_0x59045b[_0x5bbd4c(0xfd)]))>this[_0x5bbd4c(0xba)]()-0x1?this[_0x5bbd4c(0x111)]()[_0x5bbd4c(0x11d)](()=>{const _0x14a9f2=_0x5bbd4c;this[_0x14a9f2(0xc8)](_0xfb3d72,_0x44f653);}):this[_0x5bbd4c(0xc8)](_0xfb3d72,_0x44f653);});const {revisions:_0x3d5ab0,requestId:_0x164bc3}=await this[_0x34a258(0xf1)][_0x34a258(0xc3)](_0x372cc5[_0x34a258(0xe9)]);_0x372cc5[_0x34a258(0xaf)](this),this[_0x34a258(0xf4)]=_0x164bc3,await this[_0x34a258(0x120)](_0x3d5ab0);for(const _0x4f16e1 of _0x3d5ab0)this[_0x34a258(0xd4)][_0x34a258(0xbd)](_0x4f16e1);this[_0x34a258(0xbc)](_0x317225,_0x34a258(0xe4),(_0x57d6c6,_0x12eb10,_0x4c5abd)=>{const _0x895af4=_0x34a258;_0x4c5abd&&(this[_0x895af4(0xb5)]=_0x317225[_0x895af4(0xe2)],_0x57d6c6[_0x895af4(0xd0)]());}),this[_0x34a258(0xd4)][_0x34a258(0xfa)](_0x34a258(0x119))['to'](_0x372cc5,_0x34a258(0x10d),_0xfbca4c=>_0xfbca4c===_0x4bbc18[_0x34a258(0x104)]);}async[_0x547fdf(0x118)](){const _0x381998=_0x547fdf,_0x30a26f=this[_0x381998(0xb2)][_0x381998(0xdd)][_0x381998(0xfe)](_0x21bc8e),_0x46265a=this[_0x381998(0xb2)][_0x381998(0xdd)][_0x381998(0xfe)](_0x1fb7b0),_0x1fb4f4=async()=>{const _0x54bf41=_0x381998,_0x4c0b0d=this[_0x54bf41(0xd4)][_0x54bf41(0x105)],_0x1b135f=_0x4c0b0d['id'],_0x393df=_0x1b135f!==_0x46265a[_0x54bf41(0xf0)];if(_0x393df){const _0x4c87d0=_0x46265a[_0x54bf41(0xe2)]-this[_0x54bf41(0xb5)],_0x5bdc13=this[_0x54bf41(0xba)]();this[_0x54bf41(0xd4)][_0x54bf41(0xcd)][_0x54bf41(0xb6)]();if(_0x4c0b0d[_0x54bf41(0xfd)]+_0x4c87d0!==_0x5bdc13){const _0x1db002=_0x4c0b0d[_0x54bf41(0xb1)]+_0x4c87d0,_0xb972d=this[_0x54bf41(0xb2)][_0x54bf41(0xdd)][_0x54bf41(0xfe)](_0x445c7c),_0x3e3126=this[_0x54bf41(0xd4)][_0x54bf41(0xe5)]({'revision':_0x4c0b0d,'from':_0x1db002,'to':_0x5bdc13});_0x3e3126['id']=_0x4c0b0d['id'];const _0x45d231=_0x3e3126[_0x54bf41(0xe8)][_0x54bf41(0x100)](_0x897d73=>_0xb972d[_0x54bf41(0x103)](_0x897d73));_0x4c0b0d[_0x54bf41(0xbb)]({..._0x3e3126,'authors':_0x45d231},!0x0),this[_0x54bf41(0xd4)][_0x54bf41(0xd6)](_0x4c0b0d['id'],_0x3e3126,!0x0);}this[_0x54bf41(0xd4)][_0x54bf41(0xef)]=_0x5bdc13,(_0x4c0b0d[_0x54bf41(0xfd)]===_0x4c0b0d[_0x54bf41(0xb1)]&&!this[_0x54bf41(0xd4)][_0x54bf41(0xb9)][_0x54bf41(0x11a)](_0x1b135f)&&this[_0x54bf41(0xd4)][_0x54bf41(0x115)][_0x54bf41(0x113)][_0x54bf41(0x10b)](_0x1b135f),this[_0x54bf41(0xd4)][_0x54bf41(0xb7)](_0x5bdc13));}const {revisions:_0x549e22,requestId:_0x2e69ae}=await this[_0x54bf41(0xf1)][_0x54bf41(0x118)](_0x30a26f[_0x54bf41(0xe9)],this[_0x54bf41(0xf4)]);_0x393df&&_0x549e22[_0x54bf41(0xe1)]>0x0?_0x46265a[_0x54bf41(0xc0)]():(await this[_0x54bf41(0x120)](_0x549e22),this[_0x54bf41(0xc8)](_0x549e22,_0x2e69ae),this[_0x54bf41(0xd4)][_0x54bf41(0xec)]());};return _0x46265a[_0x381998(0xd1)]?_0x1fb4f4():new Promise((_0x5e9c5f,_0x2e2558)=>{const _0x226758=_0x381998;_0x46265a[_0x226758(0x10c)](_0x226758(0xe4),()=>{const _0x4f53d3=_0x226758;_0x1fb4f4()[_0x4f53d3(0x11d)](_0x5e9c5f)[_0x4f53d3(0xed)](_0x2e2558);});});}[_0x547fdf(0xc7)](){const _0x25de90=_0x547fdf;super[_0x25de90(0xc7)]();}async[_0x547fdf(0xeb)](){const _0x55b1a3=_0x547fdf;this[_0x55b1a3(0xf1)][_0x55b1a3(0x109)]||await new Promise(_0x2462a7=>{const _0x1fbbf8=_0x55b1a3;this[_0x1fbbf8(0xbc)](this[_0x1fbbf8(0xf1)],_0x1fbbf8(0xc5),_0x420e2c=>{const _0xd7e241=_0x1fbbf8;_0x420e2c[_0xd7e241(0xd0)](),_0x2462a7();});});}[_0x547fdf(0xba)](){const _0x2ea0fb=_0x547fdf,_0x522493=this[_0x2ea0fb(0xb2)][_0x2ea0fb(0xdd)][_0x2ea0fb(0xfe)](_0x1fb7b0)[_0x2ea0fb(0xae)][_0x2ea0fb(0xf7)]()[_0x2ea0fb(0xe3)]();for(const _0x4031cc of _0x522493)if(_0x2ea0fb(0xbf)!==_0x4031cc[_0x2ea0fb(0xc2)]||_0x4031cc[_0x2ea0fb(0xd2)])return _0x4031cc[_0x2ea0fb(0x101)]+0x1;}[_0x547fdf(0x111)](){const _0x16a563=_0x547fdf,_0x30ccd2=this[_0x16a563(0xb2)][_0x16a563(0xdd)][_0x16a563(0xfe)](_0x1fb7b0);return new Promise(_0x5407fe=>{const _0x435117=_0x16a563;_0x30ccd2[_0x435117(0xf8)]?_0x30ccd2[_0x435117(0x10c)](_0x435117(0xca),()=>{const _0x3c974c=_0x435117;_0x5407fe(this[_0x3c974c(0xba)]());}):_0x5407fe(this[_0x435117(0xba)]());});}[_0x547fdf(0xc8)](_0x1d72e3,_0x5b5240){const _0x3779a2=_0x547fdf,_0x2b5e8f=this[_0x3779a2(0xd4)][_0x3779a2(0x115)];this[_0x3779a2(0xf4)]=_0x5b5240;for(const _0x23e3a5 of _0x1d72e3){const _0x137a47=_0x2b5e8f[_0x3779a2(0xde)](_0x23e3a5['id']);if(_0x137a47){if((_0x23e3a5[_0x3779a2(0xb1)]||_0x23e3a5[_0x3779a2(0xfd)])&&(_0x23e3a5[_0x3779a2(0xc9)]=null),_0x137a47===this[_0x3779a2(0xd4)][_0x3779a2(0x105)]){const _0xbda80=Math[_0x3779a2(0xee)](_0x137a47[_0x3779a2(0xfd)],_0x23e3a5[_0x3779a2(0xfd)]),_0x47d1ff=Math[_0x3779a2(0xee)](_0x137a47[_0x3779a2(0xb1)],_0x23e3a5[_0x3779a2(0xb1)]);let _0x41c706;_0x137a47[_0x3779a2(0xfd)]===_0x23e3a5[_0x3779a2(0xfd)]&&_0x137a47[_0x3779a2(0xb1)]===_0x23e3a5[_0x3779a2(0xb1)]?(_0x41c706=!0x0,this[_0x3779a2(0xdf)](_0x23e3a5)):_0x23e3a5[_0x3779a2(0xfd)]===_0xbda80&&_0x23e3a5[_0x3779a2(0xb1)]===_0x47d1ff?_0x41c706=!0x1:(_0x137a47[_0x3779a2(0xfd)]===_0xbda80&&_0x137a47[_0x3779a2(0xb1)]===_0x47d1ff||this[_0x3779a2(0xfc)]({'revision':_0x137a47,'from':_0x47d1ff,'to':_0xbda80}),_0x41c706=!0x0),_0x41c706&&(delete _0x23e3a5[_0x3779a2(0xb1)],delete _0x23e3a5[_0x3779a2(0xfd)],delete _0x23e3a5[_0x3779a2(0xc9)],delete _0x23e3a5[_0x3779a2(0xf2)],delete _0x23e3a5[_0x3779a2(0xe8)]);}this[_0x3779a2(0xd4)][_0x3779a2(0xcb)](_0x23e3a5),this[_0x3779a2(0xdf)](_0x23e3a5);}else this[_0x3779a2(0xd4)][_0x3779a2(0xbd)](_0x23e3a5);}const _0x453cb9=_0x2b5e8f[_0x3779a2(0xcf)]();_0x453cb9[_0x3779a2(0xe3)]();for(let _0x5d6644=0x0;_0x5d6644<_0x453cb9[_0x3779a2(0xe1)]-0x1;_0x5d6644++){const _0x126c24=_0x453cb9[_0x5d6644],_0x164a03=_0x453cb9[_0x5d6644+0x1];if(_0x126c24[_0x3779a2(0xb1)]<_0x164a03[_0x3779a2(0xfd)]){const _0x24cb7d=_0x164a03[_0x3779a2(0xfd)],_0x199ccd=Math[_0x3779a2(0xee)](_0x24cb7d,_0x126c24[_0x3779a2(0xfd)]);this[_0x3779a2(0xfc)]({'revision':_0x126c24,'from':_0x24cb7d,'to':_0x199ccd});}}}[_0x547fdf(0xfc)]({revision:_0x458fbd,from:_0x2b84de,to:_0x524b18}={}){const _0x15f3b6=_0x547fdf,_0x5979a2=this[_0x15f3b6(0xb2)][_0x15f3b6(0xdd)][_0x15f3b6(0xfe)](_0x445c7c),_0x2320c6=this[_0x15f3b6(0xd4)][_0x15f3b6(0xe5)]({'revision':_0x458fbd,'from':_0x2b84de,'to':_0x524b18});_0x2320c6[_0x15f3b6(0x10e)]=_0x2320c6[_0x15f3b6(0xe8)][_0x15f3b6(0x100)](_0x521df4=>_0x5979a2[_0x15f3b6(0x103)](_0x521df4)),_0x458fbd[_0x15f3b6(0xbb)](_0x2320c6);}[_0x547fdf(0xdf)](_0x2d9eb5){const _0x1d0a23=_0x547fdf,_0xc0f138={};_0xc0f138['id']=_0x2d9eb5['id'];for(const _0x587210 of Object[_0x1d0a23(0xfb)](_0x2d9eb5))'id'!==_0x587210&&(_0xc0f138[_0x587210]=void 0x0);this[_0x1d0a23(0xd4)][_0x1d0a23(0xd6)](_0xc0f138['id'],_0xc0f138,!0x0);}async[_0x547fdf(0x120)](_0x2f0065){const _0x36a0ff=_0x547fdf,_0x394c21=this[_0x36a0ff(0xb2)][_0x36a0ff(0xdd)][_0x36a0ff(0xfe)](_0x445c7c),{connection:_0x19de52}=this[_0x36a0ff(0xb2)][_0x36a0ff(0xdd)][_0x36a0ff(0xfe)](_0x21bc8e),_0x4c32c5=new Set();for(const _0x5ff018 of _0x2f0065){for(const _0x456b76 of _0x5ff018[_0x36a0ff(0xe8)])_0x24214c(_0x456b76);_0x5ff018[_0x36a0ff(0xb3)]&&_0x24214c(_0x5ff018[_0x36a0ff(0xb3)]);}if(0x0===_0x4c32c5[_0x36a0ff(0xb4)])return;const _0x5976a7=await _0x460584[_0x36a0ff(0xb0)](_0x19de52,Array[_0x36a0ff(0xf3)](_0x4c32c5));for(const _0x433ad4 of _0x5976a7)_0x394c21[_0x36a0ff(0x103)](_0x433ad4['id'])||_0x394c21[_0x36a0ff(0xd7)](_0x433ad4);function _0x24214c(_0xff805a){const _0x2dc903=_0x36a0ff;_0x394c21[_0x2dc903(0x103)](_0xff805a)||_0x4c32c5[_0x2dc903(0xda)](_0xff805a);}}}u[_0x547fdf(0x117)]=_0x284a66;export default u;function st(_0x557a57){const _0x3219c3=_0x547fdf;return _0x557a57[_0x3219c3(0xd3)][_0x3219c3(0x11e)](_0x3219c3(0xc1))||_0x557a57[_0x3219c3(0xd3)][_0x3219c3(0x11e)](_0x3219c3(0xdc))||_0x557a57[_0x3219c3(0xd3)][_0x3219c3(0x11e)](_0x3219c3(0xe7));}
|
|
23
|
+
const _0x2bb478=_0x5ee8;(function(_0x76e700,_0x3b2982){const _0x226bf2=_0x5ee8,_0xce7291=_0x76e700();while(!![]){try{const _0x146d29=-parseInt(_0x226bf2(0x88))/0x1+-parseInt(_0x226bf2(0xac))/0x2*(-parseInt(_0x226bf2(0x95))/0x3)+parseInt(_0x226bf2(0xc3))/0x4*(parseInt(_0x226bf2(0xdc))/0x5)+-parseInt(_0x226bf2(0x82))/0x6*(parseInt(_0x226bf2(0x8d))/0x7)+-parseInt(_0x226bf2(0xd6))/0x8+parseInt(_0x226bf2(0xc9))/0x9+parseInt(_0x226bf2(0xb1))/0xa;if(_0x146d29===_0x3b2982)break;else _0xce7291['push'](_0xce7291['shift']());}catch(_0x42fd60){_0xce7291['push'](_0xce7291['shift']());}}}(_0x511e,0xcc906));import{Plugin as _0x4f9e43}from'ckeditor5/src/core.js';function _0x5ee8(_0x38da4b,_0x3142aa){const _0x511e37=_0x511e();return _0x5ee8=function(_0x5ee854,_0x3dc9c6){_0x5ee854=_0x5ee854-0x78;let _0x41b2da=_0x511e37[_0x5ee854];return _0x41b2da;},_0x5ee8(_0x38da4b,_0x3142aa);}import{version as _0x29814d}from'ckeditor5/src/utils.js';import{Users as _0xe69009}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2fab4a from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x403905 from'../realtimecollaborativeediting/websocketgateway.js';import _0xf80e7e from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x3b6ac8,RevisionHistoryService as _0x9285a8,User as _0x45f8e5,WEB_SOCKET_GATEWAY_STATES as _0x4780ce}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x4f9e43{static get[_0x2bb478(0xa3)](){const _0x1c7797=_0x2bb478;return[_0x403905,_0x2fab4a,_0x1c7797(0x94),_0xf80e7e,_0xe69009];}static get[_0x2bb478(0x9a)](){const _0x473067=_0x2bb478;return _0x473067(0xc1);}static get[_0x2bb478(0x9b)](){return!0x0;}static get[_0x2bb478(0xa0)](){return!0x0;}constructor(_0x574ba3){const _0x349b9c=_0x2bb478;super(_0x574ba3);const _0x5468e2=this[_0x349b9c(0xba)][_0x349b9c(0xa2)][_0x349b9c(0xae)](_0x349b9c(0xd1));this[_0x349b9c(0xca)]=null,this[_0x349b9c(0xce)]=this[_0x349b9c(0xba)][_0x349b9c(0x9d)][_0x349b9c(0xae)](_0x349b9c(0x94)),this[_0x349b9c(0xd4)]=new u[(_0x349b9c(0xb0))](_0x5468e2);}async[_0x2bb478(0x9f)](){const _0x1e733e=_0x2bb478,_0x10262f=this[_0x1e733e(0xba)][_0x1e733e(0x9d)][_0x1e733e(0xae)](_0x2fab4a),_0x1804c8=_0x10262f[_0x1e733e(0xc4)],_0x3a1340=this[_0x1e733e(0xba)][_0x1e733e(0x9d)][_0x1e733e(0xae)](_0x403905);this[_0x1e733e(0xce)][_0x1e733e(0x91)]({'history':_0x1804c8,'getLatestVersion':()=>this[_0x1e733e(0x7e)](),'getCurrentRevisionId':()=>_0x10262f[_0x1e733e(0xa5)]});const _0x1c9f3d=this[_0x1e733e(0xba)][_0x1e733e(0xa2)][_0x1e733e(0xae)](_0x1e733e(0x80))||_0x29814d,_0x46113f=await _0x3b6ac8[_0x1e733e(0x8b)](_0x3a1340[_0x1e733e(0xd5)],_0x1c9f3d);this[_0x1e733e(0xce)][_0x1e733e(0xad)]={'getRevision':async({revisionId:_0x4e1a35})=>(await this[_0x1e733e(0xbd)](),await this[_0x1e733e(0xd4)][_0x1e733e(0xe2)](_0x4e1a35)),'updateRevisions':async _0x422078=>{const _0x332852=_0x1e733e;await this[_0x332852(0xbd)]();const _0x637646=this[_0x332852(0xce)][_0x332852(0x7a)];if(_0x46113f&&0x1===_0x422078[_0x332852(0xe0)]&&_0x422078[0x0]['id']===_0x637646['id'])return _0x422078;for(const _0x472f16 of _0x422078)_0x472f16['id']===_0x637646['id']&&(_0x472f16[_0x332852(0xc2)]=_0x472f16[_0x332852(0x93)]===_0x472f16[_0x332852(0xc6)]);return this[_0x332852(0xd4)][_0x332852(0xab)](_0x422078,this[_0x332852(0xca)])[_0x332852(0xc5)](_0x152665=>(this[_0x332852(0xca)]=_0x152665,_0x422078))[_0x332852(0xd3)](_0x533a32=>{const _0x596f49=_0x332852;if(st(_0x533a32)||_0x596f49(0x9e)===_0x533a32[_0x596f49(0x83)]&&void 0x0!==_0x533a32[_0x596f49(0xbb)][_0x596f49(0x97)]){for(const _0x2918b2 of _0x422078){!this[_0x596f49(0xce)][_0x596f49(0xa7)][_0x596f49(0xe2)](_0x2918b2['id'])||this[_0x596f49(0xce)][_0x596f49(0xd8)](_0x2918b2['id'],_0x2918b2,!0x1);}if(st(_0x533a32))throw _0x533a32;return _0x422078;}throw _0x533a32;});}},this[_0x1e733e(0xdf)](this[_0x1e733e(0xd4)],_0x1e733e(0xdb),(_0x159e3e,{revisionsData:_0x18fed0,requestId:_0x280703})=>{const _0x211458=_0x1e733e;Math[_0x211458(0xb9)](..._0x18fed0[_0x211458(0xbe)](_0x4b2e45=>_0x4b2e45[_0x211458(0xc6)]))>this[_0x211458(0xe5)]()-0x1?this[_0x211458(0x7e)]()[_0x211458(0xc5)](()=>{const _0xba12f9=_0x211458;this[_0xba12f9(0xa1)](_0x18fed0,_0x280703);}):this[_0x211458(0xa1)](_0x18fed0,_0x280703);});const {revisions:_0x3733d8,requestId:_0x38ca42}=await this[_0x1e733e(0xd4)][_0x1e733e(0xc0)](_0x3a1340[_0x1e733e(0xd5)]);_0x3a1340[_0x1e733e(0xb7)](this),this[_0x1e733e(0xca)]=_0x38ca42,await this[_0x1e733e(0xe3)](_0x3733d8);for(const _0x2a4578 of _0x3733d8)this[_0x1e733e(0xce)][_0x1e733e(0xc8)](_0x2a4578);this[_0x1e733e(0xdf)](_0x10262f,_0x1e733e(0x96),(_0x1be668,_0x561368,_0xb3843a)=>{const _0x1a2ba7=_0x1e733e;_0xb3843a&&(this[_0x1a2ba7(0xb3)]=_0x10262f[_0x1a2ba7(0x89)],_0x1be668[_0x1a2ba7(0x92)]());}),this[_0x1e733e(0xce)][_0x1e733e(0x99)](_0x1e733e(0xcc))['to'](_0x3a1340,_0x1e733e(0x8a),_0x4ff1e0=>_0x4ff1e0===_0x4780ce[_0x1e733e(0xd2)]);}async[_0x2bb478(0xb2)](){const _0x5627c5=_0x2bb478,_0x587090=this[_0x5627c5(0xba)][_0x5627c5(0x9d)][_0x5627c5(0xae)](_0x403905),_0xc06a64=this[_0x5627c5(0xba)][_0x5627c5(0x9d)][_0x5627c5(0xae)](_0x2fab4a),_0x201843=async()=>{const _0x4f557c=_0x5627c5,_0x27b583=this[_0x4f557c(0xce)][_0x4f557c(0x7a)],_0x1239bf=_0x27b583['id'],_0x2e2df5=_0x1239bf!==_0xc06a64[_0x4f557c(0xa5)];if(_0x2e2df5){const _0x4c2cff=_0xc06a64[_0x4f557c(0x89)]-this[_0x4f557c(0xb3)],_0x390e5a=this[_0x4f557c(0xe5)]();this[_0x4f557c(0xce)][_0x4f557c(0xe4)][_0x4f557c(0xa8)]();if(_0x27b583[_0x4f557c(0xc6)]+_0x4c2cff!==_0x390e5a){const _0x2bd2c2=_0x27b583[_0x4f557c(0x93)]+_0x4c2cff,_0x278b13=this[_0x4f557c(0xba)][_0x4f557c(0x9d)][_0x4f557c(0xae)](_0xe69009),_0x31aa0f=this[_0x4f557c(0xce)][_0x4f557c(0x85)]({'revision':_0x27b583,'from':_0x2bd2c2,'to':_0x390e5a});_0x31aa0f['id']=_0x27b583['id'];const _0x489c1e=_0x31aa0f[_0x4f557c(0x7f)][_0x4f557c(0xbe)](_0x4e737b=>_0x278b13[_0x4f557c(0xa9)](_0x4e737b));_0x27b583[_0x4f557c(0x8e)]({..._0x31aa0f,'authors':_0x489c1e},!0x0),this[_0x4f557c(0xce)][_0x4f557c(0xd8)](_0x27b583['id'],_0x31aa0f,!0x0);}this[_0x4f557c(0xce)][_0x4f557c(0xaa)]=_0x390e5a,(_0x27b583[_0x4f557c(0xc6)]===_0x27b583[_0x4f557c(0x93)]&&!this[_0x4f557c(0xce)][_0x4f557c(0xb8)][_0x4f557c(0xea)](_0x1239bf)&&this[_0x4f557c(0xce)][_0x4f557c(0xa7)][_0x4f557c(0xaf)][_0x4f557c(0x8c)](_0x1239bf),this[_0x4f557c(0xce)][_0x4f557c(0x84)](_0x390e5a));}const {revisions:_0x3d3970,requestId:_0x14ff60}=await this[_0x4f557c(0xd4)][_0x4f557c(0xb2)](_0x587090[_0x4f557c(0xd5)],this[_0x4f557c(0xca)]);_0x2e2df5&&_0x3d3970[_0x4f557c(0xe0)]>0x0?_0xc06a64[_0x4f557c(0xdd)]():(await this[_0x4f557c(0xe3)](_0x3d3970),this[_0x4f557c(0xa1)](_0x3d3970,_0x14ff60),this[_0x4f557c(0xce)][_0x4f557c(0xe9)]());};return _0xc06a64[_0x5627c5(0xe8)]?_0x201843():new Promise((_0x1b0a95,_0x4822d8)=>{const _0x57d49b=_0x5627c5;_0xc06a64[_0x57d49b(0x78)](_0x57d49b(0x96),()=>{const _0x28d888=_0x57d49b;_0x201843()[_0x28d888(0xc5)](_0x1b0a95)[_0x28d888(0xd3)](_0x4822d8);});});}[_0x2bb478(0xde)](){const _0x5867fa=_0x2bb478;super[_0x5867fa(0xde)]();}async[_0x2bb478(0xbd)](){const _0x23a98a=_0x2bb478;this[_0x23a98a(0xd4)][_0x23a98a(0xbf)]||await new Promise(_0x28c412=>{const _0x44f7f3=_0x23a98a;this[_0x44f7f3(0xdf)](this[_0x44f7f3(0xd4)],_0x44f7f3(0x87),_0x1f0edb=>{const _0x659c6a=_0x44f7f3;_0x1f0edb[_0x659c6a(0x92)](),_0x28c412();});});}[_0x2bb478(0xe5)](){const _0x285db8=_0x2bb478,_0x525d3e=this[_0x285db8(0xba)][_0x285db8(0x9d)][_0x285db8(0xae)](_0x2fab4a)[_0x285db8(0xc4)][_0x285db8(0xd9)]()[_0x285db8(0xda)]();for(const _0x1226a8 of _0x525d3e)if(_0x285db8(0x81)!==_0x1226a8[_0x285db8(0x7d)]||_0x1226a8[_0x285db8(0x90)])return _0x1226a8[_0x285db8(0xa4)]+0x1;}[_0x2bb478(0x7e)](){const _0x2bc2d8=_0x2bb478,_0x3b71e6=this[_0x2bc2d8(0xba)][_0x2bc2d8(0x9d)][_0x2bc2d8(0xae)](_0x2fab4a);return new Promise(_0x2a6a4e=>{const _0x3064d4=_0x2bc2d8;_0x3b71e6[_0x3064d4(0x9c)]?_0x3b71e6[_0x3064d4(0x78)](_0x3064d4(0x8f),()=>{const _0x119458=_0x3064d4;_0x2a6a4e(this[_0x119458(0xe5)]());}):_0x2a6a4e(this[_0x3064d4(0xe5)]());});}[_0x2bb478(0xa1)](_0x192111,_0x48ec31){const _0x1e77ec=_0x2bb478,_0x521623=this[_0x1e77ec(0xce)][_0x1e77ec(0xa7)];this[_0x1e77ec(0xca)]=_0x48ec31;for(const _0x48eb69 of _0x192111){const _0x48839a=_0x521623[_0x1e77ec(0xe2)](_0x48eb69['id']);if(_0x48839a){if((_0x48eb69[_0x1e77ec(0x93)]||_0x48eb69[_0x1e77ec(0xc6)])&&(_0x48eb69[_0x1e77ec(0xcb)]=null),_0x48839a===this[_0x1e77ec(0xce)][_0x1e77ec(0x7a)]){const _0x146459=Math[_0x1e77ec(0xb9)](_0x48839a[_0x1e77ec(0xc6)],_0x48eb69[_0x1e77ec(0xc6)]),_0x203c81=Math[_0x1e77ec(0xb9)](_0x48839a[_0x1e77ec(0x93)],_0x48eb69[_0x1e77ec(0x93)]);let _0x4e7d77;_0x48839a[_0x1e77ec(0xc6)]===_0x48eb69[_0x1e77ec(0xc6)]&&_0x48839a[_0x1e77ec(0x93)]===_0x48eb69[_0x1e77ec(0x93)]?(_0x4e7d77=!0x0,this[_0x1e77ec(0xb6)](_0x48eb69)):_0x48eb69[_0x1e77ec(0xc6)]===_0x146459&&_0x48eb69[_0x1e77ec(0x93)]===_0x203c81?_0x4e7d77=!0x1:(_0x48839a[_0x1e77ec(0xc6)]===_0x146459&&_0x48839a[_0x1e77ec(0x93)]===_0x203c81||this[_0x1e77ec(0xe6)]({'revision':_0x48839a,'from':_0x203c81,'to':_0x146459}),_0x4e7d77=!0x0),_0x4e7d77&&(delete _0x48eb69[_0x1e77ec(0x93)],delete _0x48eb69[_0x1e77ec(0xc6)],delete _0x48eb69[_0x1e77ec(0xcb)],delete _0x48eb69[_0x1e77ec(0xcd)],delete _0x48eb69[_0x1e77ec(0x7f)]);}this[_0x1e77ec(0xce)][_0x1e77ec(0x7c)](_0x48eb69),this[_0x1e77ec(0xb6)](_0x48eb69);}else this[_0x1e77ec(0xce)][_0x1e77ec(0xc8)](_0x48eb69);}const _0x33fcd3=_0x521623[_0x1e77ec(0xd7)]();_0x33fcd3[_0x1e77ec(0xda)]();for(let _0x465ce1=0x0;_0x465ce1<_0x33fcd3[_0x1e77ec(0xe0)]-0x1;_0x465ce1++){const _0x4d99da=_0x33fcd3[_0x465ce1],_0x157a8b=_0x33fcd3[_0x465ce1+0x1];if(_0x4d99da[_0x1e77ec(0x93)]<_0x157a8b[_0x1e77ec(0xc6)]){const _0x5cf6b1=_0x157a8b[_0x1e77ec(0xc6)],_0x507362=Math[_0x1e77ec(0xb9)](_0x5cf6b1,_0x4d99da[_0x1e77ec(0xc6)]);this[_0x1e77ec(0xe6)]({'revision':_0x4d99da,'from':_0x5cf6b1,'to':_0x507362});}}}[_0x2bb478(0xe6)]({revision:_0xe26e80,from:_0x24d5a2,to:_0x1ba9b2}={}){const _0x52ab27=_0x2bb478,_0x290a56=this[_0x52ab27(0xba)][_0x52ab27(0x9d)][_0x52ab27(0xae)](_0xe69009),_0x145e4d=this[_0x52ab27(0xce)][_0x52ab27(0x85)]({'revision':_0xe26e80,'from':_0x24d5a2,'to':_0x1ba9b2});_0x145e4d[_0x52ab27(0xe1)]=_0x145e4d[_0x52ab27(0x7f)][_0x52ab27(0xbe)](_0x50bb5c=>_0x290a56[_0x52ab27(0xa9)](_0x50bb5c)),_0xe26e80[_0x52ab27(0x8e)](_0x145e4d);}[_0x2bb478(0xb6)](_0x4743f3){const _0x268bea=_0x2bb478,_0x33def4={};_0x33def4['id']=_0x4743f3['id'];for(const _0x272a61 of Object[_0x268bea(0xcf)](_0x4743f3))'id'!==_0x272a61&&(_0x33def4[_0x272a61]=void 0x0);this[_0x268bea(0xce)][_0x268bea(0xd8)](_0x33def4['id'],_0x33def4,!0x0);}async[_0x2bb478(0xe3)](_0x224b6c){const _0x57071f=_0x2bb478,_0x22304c=this[_0x57071f(0xba)][_0x57071f(0x9d)][_0x57071f(0xae)](_0xe69009),{connection:_0x60885f}=this[_0x57071f(0xba)][_0x57071f(0x9d)][_0x57071f(0xae)](_0x403905),_0x1a2322=new Set();for(const _0x3c1f28 of _0x224b6c){for(const _0x134531 of _0x3c1f28[_0x57071f(0x7f)])_0x3d0f05(_0x134531);_0x3c1f28[_0x57071f(0xbc)]&&_0x3d0f05(_0x3c1f28[_0x57071f(0xbc)]);}if(0x0===_0x1a2322[_0x57071f(0xd0)])return;const _0xfc93fb=await _0x45f8e5[_0x57071f(0x79)](_0x60885f,Array[_0x57071f(0xa6)](_0x1a2322));for(const _0x513da7 of _0xfc93fb)_0x22304c[_0x57071f(0xa9)](_0x513da7['id'])||_0x22304c[_0x57071f(0xb4)](_0x513da7);function _0x3d0f05(_0x5d5a2a){const _0x3b8b39=_0x57071f;_0x22304c[_0x3b8b39(0xa9)](_0x5d5a2a)||_0x1a2322[_0x3b8b39(0x98)](_0x5d5a2a);}}}u[_0x2bb478(0xb0)]=_0x9285a8;export default u;function st(_0x89d814){const _0x35c025=_0x2bb478;return _0x89d814[_0x35c025(0xe7)][_0x35c025(0xb5)](_0x35c025(0xc7))||_0x89d814[_0x35c025(0xe7)][_0x35c025(0xb5)](_0x35c025(0x86))||_0x89d814[_0x35c025(0xe7)][_0x35c025(0xb5)](_0x35c025(0x7b));}function _0x511e(){const _0x1d49ec=['then','toVersion','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','addRevisionData','11497851MJSRJQ','_lastRequestId','diffData','isEnabled','createdAt','_revisionTracker','keys','size','collaboration.channelId','CONNECTED','catch','_revisionHistoryService','connection','9220584IFwDgp','getRevisions','_bufferUpdate','getOperations','reverse','revisionsUpdated','523045HphKVo','_handleReconnectionError','destroy','listenTo','length','authors','getRevision','_fetchMissingUsers','_revisionDataBuilder','_getLatestVersionFromServerOperations','_fixRevision','message','_isConnected','sendBufferedUpdates','has','once','getMany','currentRevision','cloud-services-internal-error:\x20Request\x20timeout.','setRevisionData','type','_getLatestVersion','authorsIds','cloudServices.bundleVersion','marker','6897768vXgyfM','code','_createCurrentRevision','buildRevisionData','cloud-services-internal-error:\x20Not\x20connected.','connected','1329650mKbPfp','_offset','state','isBundleUploaded','remove','7NWQvXX','_update','change:_isPendingUpdate','affectsData','setSource','off','fromVersion','RevisionTracker','39AYgPtn','change:_isConnected','wrongRequestId','add','bind','pluginName','isOfficialPlugin','_isPendingUpdate','plugins','400','init','isPremiumPlugin','_handleRevisionsUpdate','config','requires','baseVersion','sessionId','from','repository','reInit','getUser','_startingVersion','updateRevisions','37362oEfmZa','adapter','get','_revisions','RevisionHistoryService','28447440DgqAnr','reconnect','_oldOffset','addUser','startsWith','_preventResendingRevisionData','addToReconnectionStack','_bufferedUpdates','max','editor','data','creatorId','_waitForServiceReady','map','isConnected','connect','CloudServicesRevisionHistoryAdapter','isEmptyCurrent','4AgtpzL','serverHistory'];_0x511e=function(){return _0x1d49ec;};return _0x511e();}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|