@ckeditor/ckeditor5-real-time-collaboration 44.0.0 → 44.1.0-alpha.1

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.
Files changed (217) hide show
  1. package/build/real-time-collaboration.js +2 -2
  2. package/dist/augmentation.d.ts +1 -1
  3. package/dist/common-translations.d.ts +1 -1
  4. package/dist/config.d.ts +1 -1
  5. package/dist/index.css +7 -7
  6. package/dist/index.d.ts +1 -1
  7. package/dist/index.js +6 -6
  8. package/dist/presencelist/presencelistui.d.ts +1 -1
  9. package/dist/presencelist/view/presencecounterview.d.ts +1 -1
  10. package/dist/presencelist/view/presencedropdownlistitemview.d.ts +1 -1
  11. package/dist/presencelist/view/presencedropdownlistview.d.ts +1 -1
  12. package/dist/presencelist/view/presenceinlinelistitemview.d.ts +1 -1
  13. package/dist/presencelist/view/presenceinlinelistview.d.ts +1 -1
  14. package/dist/presencelist/view/presencelistview.d.ts +1 -1
  15. package/dist/presencelist.d.ts +1 -1
  16. package/dist/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +1 -1
  17. package/dist/realtimecollaborativecomments.d.ts +1 -1
  18. package/dist/realtimecollaborativeediting/realtimecollaborationclient.d.ts +1 -1
  19. package/dist/realtimecollaborativeediting/sessions.d.ts +1 -1
  20. package/dist/realtimecollaborativeediting/usermarkers.d.ts +1 -1
  21. package/dist/realtimecollaborativeediting/websocketgateway.d.ts +1 -1
  22. package/dist/realtimecollaborativeediting.d.ts +1 -1
  23. package/dist/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +1 -1
  24. package/dist/realtimecollaborativerevisionhistory.d.ts +1 -1
  25. package/dist/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +1 -1
  26. package/dist/realtimecollaborativetrackchanges.d.ts +1 -1
  27. package/dist/translations/af.js +1 -1
  28. package/dist/translations/af.umd.js +1 -1
  29. package/dist/translations/ar.js +1 -1
  30. package/dist/translations/ar.umd.js +1 -1
  31. package/dist/translations/ast.js +1 -1
  32. package/dist/translations/ast.umd.js +1 -1
  33. package/dist/translations/az.js +1 -1
  34. package/dist/translations/az.umd.js +1 -1
  35. package/dist/translations/bg.js +1 -1
  36. package/dist/translations/bg.umd.js +1 -1
  37. package/dist/translations/bn.js +1 -1
  38. package/dist/translations/bn.umd.js +1 -1
  39. package/dist/translations/bs.js +1 -1
  40. package/dist/translations/bs.umd.js +1 -1
  41. package/dist/translations/ca.js +1 -1
  42. package/dist/translations/ca.umd.js +1 -1
  43. package/dist/translations/cs.js +1 -1
  44. package/dist/translations/cs.umd.js +1 -1
  45. package/dist/translations/da.js +1 -1
  46. package/dist/translations/da.umd.js +1 -1
  47. package/dist/translations/de-ch.js +1 -1
  48. package/dist/translations/de-ch.umd.js +1 -1
  49. package/dist/translations/de.js +1 -1
  50. package/dist/translations/de.umd.js +1 -1
  51. package/dist/translations/el.js +1 -1
  52. package/dist/translations/el.umd.js +1 -1
  53. package/dist/translations/en-au.js +1 -1
  54. package/dist/translations/en-au.umd.js +1 -1
  55. package/dist/translations/en-gb.js +1 -1
  56. package/dist/translations/en-gb.umd.js +1 -1
  57. package/dist/translations/en.js +1 -1
  58. package/dist/translations/en.umd.js +1 -1
  59. package/dist/translations/eo.js +1 -1
  60. package/dist/translations/eo.umd.js +1 -1
  61. package/dist/translations/es-co.js +1 -1
  62. package/dist/translations/es-co.umd.js +1 -1
  63. package/dist/translations/es.js +1 -1
  64. package/dist/translations/es.umd.js +1 -1
  65. package/dist/translations/et.js +1 -1
  66. package/dist/translations/et.umd.js +1 -1
  67. package/dist/translations/eu.js +1 -1
  68. package/dist/translations/eu.umd.js +1 -1
  69. package/dist/translations/fa.js +1 -1
  70. package/dist/translations/fa.umd.js +1 -1
  71. package/dist/translations/fi.js +1 -1
  72. package/dist/translations/fi.umd.js +1 -1
  73. package/dist/translations/fr.js +1 -1
  74. package/dist/translations/fr.umd.js +1 -1
  75. package/dist/translations/gl.js +1 -1
  76. package/dist/translations/gl.umd.js +1 -1
  77. package/dist/translations/gu.js +1 -1
  78. package/dist/translations/gu.umd.js +1 -1
  79. package/dist/translations/he.js +1 -1
  80. package/dist/translations/he.umd.js +1 -1
  81. package/dist/translations/hi.js +1 -1
  82. package/dist/translations/hi.umd.js +1 -1
  83. package/dist/translations/hr.js +1 -1
  84. package/dist/translations/hr.umd.js +1 -1
  85. package/dist/translations/hu.js +1 -1
  86. package/dist/translations/hu.umd.js +1 -1
  87. package/dist/translations/hy.js +1 -1
  88. package/dist/translations/hy.umd.js +1 -1
  89. package/dist/translations/id.js +1 -1
  90. package/dist/translations/id.umd.js +1 -1
  91. package/dist/translations/it.js +1 -1
  92. package/dist/translations/it.umd.js +1 -1
  93. package/dist/translations/ja.js +1 -1
  94. package/dist/translations/ja.umd.js +1 -1
  95. package/dist/translations/jv.js +1 -1
  96. package/dist/translations/jv.umd.js +1 -1
  97. package/dist/translations/kk.js +1 -1
  98. package/dist/translations/kk.umd.js +1 -1
  99. package/dist/translations/km.js +1 -1
  100. package/dist/translations/km.umd.js +1 -1
  101. package/dist/translations/kn.js +1 -1
  102. package/dist/translations/kn.umd.js +1 -1
  103. package/dist/translations/ko.js +1 -1
  104. package/dist/translations/ko.umd.js +1 -1
  105. package/dist/translations/ku.js +1 -1
  106. package/dist/translations/ku.umd.js +1 -1
  107. package/dist/translations/lt.js +1 -1
  108. package/dist/translations/lt.umd.js +1 -1
  109. package/dist/translations/lv.js +1 -1
  110. package/dist/translations/lv.umd.js +1 -1
  111. package/dist/translations/ms.js +1 -1
  112. package/dist/translations/ms.umd.js +1 -1
  113. package/dist/translations/nb.js +1 -1
  114. package/dist/translations/nb.umd.js +1 -1
  115. package/dist/translations/ne.js +1 -1
  116. package/dist/translations/ne.umd.js +1 -1
  117. package/dist/translations/nl.js +1 -1
  118. package/dist/translations/nl.umd.js +1 -1
  119. package/dist/translations/no.js +1 -1
  120. package/dist/translations/no.umd.js +1 -1
  121. package/dist/translations/oc.js +1 -1
  122. package/dist/translations/oc.umd.js +1 -1
  123. package/dist/translations/pl.js +1 -1
  124. package/dist/translations/pl.umd.js +1 -1
  125. package/dist/translations/pt-br.js +1 -1
  126. package/dist/translations/pt-br.umd.js +1 -1
  127. package/dist/translations/pt.js +1 -1
  128. package/dist/translations/pt.umd.js +1 -1
  129. package/dist/translations/ro.js +1 -1
  130. package/dist/translations/ro.umd.js +1 -1
  131. package/dist/translations/ru.js +1 -1
  132. package/dist/translations/ru.umd.js +1 -1
  133. package/dist/translations/si.js +1 -1
  134. package/dist/translations/si.umd.js +1 -1
  135. package/dist/translations/sk.js +1 -1
  136. package/dist/translations/sk.umd.js +1 -1
  137. package/dist/translations/sl.js +1 -1
  138. package/dist/translations/sl.umd.js +1 -1
  139. package/dist/translations/sq.js +1 -1
  140. package/dist/translations/sq.umd.js +1 -1
  141. package/dist/translations/sr-latn.js +1 -1
  142. package/dist/translations/sr-latn.umd.js +1 -1
  143. package/dist/translations/sr.js +1 -1
  144. package/dist/translations/sr.umd.js +1 -1
  145. package/dist/translations/sv.js +1 -1
  146. package/dist/translations/sv.umd.js +1 -1
  147. package/dist/translations/th.js +1 -1
  148. package/dist/translations/th.umd.js +1 -1
  149. package/dist/translations/ti.js +1 -1
  150. package/dist/translations/ti.umd.js +1 -1
  151. package/dist/translations/tk.js +1 -1
  152. package/dist/translations/tk.umd.js +1 -1
  153. package/dist/translations/tr.js +1 -1
  154. package/dist/translations/tr.umd.js +1 -1
  155. package/dist/translations/tt.js +1 -1
  156. package/dist/translations/tt.umd.js +1 -1
  157. package/dist/translations/ug.js +1 -1
  158. package/dist/translations/ug.umd.js +1 -1
  159. package/dist/translations/uk.js +1 -1
  160. package/dist/translations/uk.umd.js +1 -1
  161. package/dist/translations/ur.js +1 -1
  162. package/dist/translations/ur.umd.js +1 -1
  163. package/dist/translations/uz.js +1 -1
  164. package/dist/translations/uz.umd.js +1 -1
  165. package/dist/translations/vi.js +1 -1
  166. package/dist/translations/vi.umd.js +1 -1
  167. package/dist/translations/zh-cn.js +1 -1
  168. package/dist/translations/zh-cn.umd.js +1 -1
  169. package/dist/translations/zh.js +1 -1
  170. package/dist/translations/zh.umd.js +1 -1
  171. package/package.json +9 -9
  172. package/src/augmentation.d.ts +1 -1
  173. package/src/common-translations.d.ts +1 -1
  174. package/src/common-translations.js +1 -1
  175. package/src/config.d.ts +1 -1
  176. package/src/index.d.ts +1 -1
  177. package/src/index.js +1 -1
  178. package/src/presencelist/presencelistui.d.ts +1 -1
  179. package/src/presencelist/presencelistui.js +1 -1
  180. package/src/presencelist/view/presencecounterview.d.ts +1 -1
  181. package/src/presencelist/view/presencecounterview.js +1 -1
  182. package/src/presencelist/view/presencedropdownlistitemview.d.ts +1 -1
  183. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  184. package/src/presencelist/view/presencedropdownlistview.d.ts +1 -1
  185. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  186. package/src/presencelist/view/presenceinlinelistitemview.d.ts +1 -1
  187. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  188. package/src/presencelist/view/presenceinlinelistview.d.ts +1 -1
  189. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  190. package/src/presencelist/view/presencelistview.d.ts +1 -1
  191. package/src/presencelist/view/presencelistview.js +1 -1
  192. package/src/presencelist.d.ts +1 -1
  193. package/src/presencelist.js +1 -1
  194. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +1 -1
  195. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
  196. package/src/realtimecollaborativecomments.d.ts +1 -1
  197. package/src/realtimecollaborativecomments.js +1 -1
  198. package/src/realtimecollaborativeediting/realtimecollaborationclient.d.ts +1 -1
  199. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
  200. package/src/realtimecollaborativeediting/sessions.d.ts +1 -1
  201. package/src/realtimecollaborativeediting/sessions.js +1 -1
  202. package/src/realtimecollaborativeediting/usermarkers.d.ts +1 -1
  203. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  204. package/src/realtimecollaborativeediting/websocketgateway.d.ts +1 -1
  205. package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
  206. package/src/realtimecollaborativeediting.d.ts +1 -1
  207. package/src/realtimecollaborativeediting.js +1 -1
  208. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +1 -1
  209. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
  210. package/src/realtimecollaborativerevisionhistory.d.ts +1 -1
  211. package/src/realtimecollaborativerevisionhistory.js +1 -1
  212. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +1 -1
  213. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
  214. package/src/realtimecollaborativetrackchanges.d.ts +1 -1
  215. package/src/realtimecollaborativetrackchanges.js +1 -1
  216. package/theme/presencelist.css +1 -1
  217. package/theme/usermarkers.css +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3211c7=_0x33e8;(function(_0x3fae56,_0x33647c){const _0x271f28=_0x33e8,_0x3d76c0=_0x3fae56();while(!![]){try{const _0x12c30e=parseInt(_0x271f28(0x1f2))/0x1+parseInt(_0x271f28(0x20b))/0x2+parseInt(_0x271f28(0x218))/0x3*(parseInt(_0x271f28(0x1e3))/0x4)+-parseInt(_0x271f28(0x1ca))/0x5*(-parseInt(_0x271f28(0x20d))/0x6)+parseInt(_0x271f28(0x1b9))/0x7+parseInt(_0x271f28(0x216))/0x8*(parseInt(_0x271f28(0x1b5))/0x9)+-parseInt(_0x271f28(0x15c))/0xa*(parseInt(_0x271f28(0x189))/0xb);if(_0x12c30e===_0x33647c)break;else _0x3d76c0['push'](_0x3d76c0['shift']());}catch(_0x51d7c1){_0x3d76c0['push'](_0x3d76c0['shift']());}}}(_0x4374,0x18973));function _0x4374(){const _0x53e0ca=['_knownOperations','wereChangesApplied','parse','_isInit','round','_baseBufferDelay','requires','_isEditingAllowed','_handleInitialConnectionData','getIdOfTheLastOperation','sessionAdd:','change:_isEditingAllowed','enqueueChange','lastOperationAcceptedAt','163644hjCpPF','_isConnected','getMany','enableReadOnlyMode','_handleServerResponse','addToReconnectionStack','decompress','_handleReconnectionError','$root','insert','_updateServerHistory','filter','attributes','size','change:_isPendingUpdate','permissions','_initSessionsHandling','_crash','push','getOperations','_document','get','disableReadOnlyMode','markers','_sendBufferedOperationsDelayId','74746MkdcQR','_isLoaded','12RKoakc','connection','_disconnectService','map','unregister','getDocumentDetails','setIdForTheLastOperation','createdAt','PENDING_ACTION_SENDING_DATA','1308368YaxwAZ','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','123204mUqTLA','_hasSynchronizationProblem','stop','__className','reconnect','fromJSON','_getAffectedRoot','batch','_initThrowingOnDataSet','realtimecollaborationclient-initservice-internal-error','type','disconnected','add','_isPendingUpdate','RealTimeCollaborationClient','isPremiumPlugin','then','_applyOperationsSet','addRootAttribute','newRange','entries','finally','_sendBufferedOperations','_bufferRootLoad','isUndoneOperation','data','baseVersion','isOfficialPlugin','_knownRootNames','_handleSendingSelectionMarkers','root','marker','_setPendingAction','getUser','Notification','init','toJSON','_ignoredOperations','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.','code','getRoot','realtimecollaborationclient-initservice-incorrect-server-operation','_offset','connected','fire','removeFromReconnectionStack','move','mySessionId','directChange','_bufferedOperations','_service','collaboration.channelId','_getOperationsFromInitData','createPositionAt','_sendBufferedOperationsDelayed','high','keys','userId','sessionId','plugins','getOperationAuthor','pluginName','editor','model','slice','loadRoot','realtimecollaborationclient-handleserverresponse','createRoot','config','409','_isDisconnection','_hasSelectionChanged','lastOperationId','addRoot','246130AewJfC','forEach','apply','document','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-init-non-existent-root','InsertOperation','addOperation','isDocumentOperation','off','reconnection:\x20flushed\x20session','_clearPendingAction','getConnectedSessions','_compressOperations','real-time-collaboration','createRange','roots','reset','_setUpDataInit','realtimecollaborationclient-error','channelSessions','catch','_compressor','Synchronization\x20issue','message','cloudDocumentVersion','suppressErrorInCollaboration','showWarning','Permissions','destroy','_channelId','state','position','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:range','_loadRoot','wasUndone','ready','applyOperation','cloud-services-internal-error:\x20Not\x20connected.','_connectService','define','_waitUntilSynced','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.','_operationToId','220uvPHKX','connect','affectedSelectable','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_refreshUserSelectionMarkers','collaboration-missing-channelid','operationsReceived','rootName','disconnect','_lastSyncedOperationId','version','collaboration','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cs:removeUser','selection','view','_saveOperationInBuffer','start','offset','realtimecollaborationclient-init-session-connection-error','_disconnectionOperations','listenTo','lastDocumentSession','_shouldSendUpdate','cloudServices.bundleVersion','_connectAfterSessionHasBeenFlushed','_lastServerVersion','isReadOnly','_handleReconnectionResponse','rtc-offline','clone','rootsAttributes','return','affectsData','error','targetPosition','realtimecollaborationclient-init-connection-failed','setPermissions','_pendingAction','rtc-destroyed','has','locale','path','_currentBufferDelay','9lZSyWG','_authorId','_addKnownRoot','includes','601482UOZLmo','change:hasDomSelection','register','CollaborativeEditingService','from','length','stopListening','_decompressOperations','sendOperations','isEnabled','bind','_isAttached','currentDocumentSession','_shouldSendSelectionUpdate','serverHistory','realtimecollaborationclient-init-document-already-initialized','_operationIdentifier','150895FERjhR','end','string','startsWith','lastSyncVersion','404','createUserMarkerOperations','realtimecollaborationclient-sendbufferedoperations','history','_handleExternalOperations','CommentsOnly','document:write','remove','compress','addUser','set','multi-root-editor-root-attributes-no-root','metadata','createPositionFromPath','sessionCreatedAt','_handleReceivedOperations','editing','differ','initData','_fetchMissingUsers','8eJKYcz'];_0x4374=function(){return _0x53e0ca;};return _0x4374();}import{Plugin as _0x154364,PendingActions as _0x417cf2}from'ckeditor5/src/core.js';import{CKEditorError as _0x3e3a4d,version as _0x176bcc,uid as _0x32e298}from'ckeditor5/src/utils.js';import{Notification as _0x383a48}from'ckeditor5/src/ui.js';import{transformSets as _0x3f6b7e,NoOperation as _0x3e7822,InsertOperation as _0x18b774,MarkerOperation as _0x288d7a,RootAttributeOperation as _0x26a2c0,OperationFactory as _0x75ffad,History as _0xf2609b}from'ckeditor5/src/engine.js';import _0x5ca9e0 from'./websocketgateway.js';import _0x381b5b from'./sessions.js';import _0x5c9c7a from'./usermarkers.js';function _0x33e8(_0x5ce239,_0xc47cfd){const _0x437485=_0x4374();return _0x33e8=function(_0x33e848,_0x133098){_0x33e848=_0x33e848-0x118;let _0x166b3d=_0x437485[_0x33e848];return _0x166b3d;},_0x33e8(_0x5ce239,_0xc47cfd);}import{getTranslation as _0x208a9d}from'../common-translations.js';import{Compressor as _0x59557a}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x32c4ce}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x377b5d,CollaborativeEditingService as _0x16a52d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x154364{static get[_0x3211c7(0x1ea)](){return[_0x5ca9e0,_0x381b5b,_0x5c9c7a,_0x417cf2,_0x32c4ce,_0x383a48];}static get[_0x3211c7(0x14f)](){const _0x4510ee=_0x3211c7;return _0x4510ee(0x120);}static get[_0x3211c7(0x12d)](){return!0x0;}static get[_0x3211c7(0x121)](){return!0x0;}get[_0x3211c7(0x175)](){const _0x3c1866=_0x3211c7;return this[_0x3c1866(0x1a3)]+this[_0x3c1866(0x13c)];}get[_0x3211c7(0x1a3)](){const _0x13b405=_0x3211c7;return this[_0x13b405(0x1c7)][_0x13b405(0x193)]-this[_0x13b405(0x13c)];}get[_0x3211c7(0x1ce)](){const _0x1a3513=_0x3211c7,_0x3cf6b0=this[_0x1a3513(0x1c7)][_0x1a3513(0x205)]();for(let _0x9baf6b=_0x3cf6b0[_0x1a3513(0x1be)]-0x1;_0x9baf6b>=0x0;_0x9baf6b--){const _0x20e4b2=_0x3cf6b0[_0x9baf6b];if(!this[_0x1a3513(0x19d)][_0x1a3513(0x1b1)](_0x20e4b2))return _0x20e4b2[_0x1a3513(0x12c)]+0x1-this[_0x1a3513(0x13c)];}return 0x0;}constructor(_0xf8d2a){const _0x4ac6b5=_0x3211c7;if(super(_0xf8d2a),this[_0x4ac6b5(0x13c)]=0x0,this[_0x4ac6b5(0x14c)]=null,this[_0x4ac6b5(0x1c7)]=new _0xf2609b(),this[_0x4ac6b5(0x150)][_0x4ac6b5(0x156)][_0x4ac6b5(0x185)](_0x4ac6b5(0x194),{}),this[_0x4ac6b5(0x17a)]=this[_0x4ac6b5(0x150)][_0x4ac6b5(0x156)][_0x4ac6b5(0x207)](_0x4ac6b5(0x145)),!this[_0x4ac6b5(0x17a)])throw new _0x3e3a4d(_0x4ac6b5(0x18e),this);const _0x1be925=_0xf8d2a[_0x4ac6b5(0x156)][_0x4ac6b5(0x207)](_0x4ac6b5(0x1a1))||_0x176bcc;this[_0x4ac6b5(0x144)]=new l[(_0x4ac6b5(0x1bc))](_0x1be925,this[_0x4ac6b5(0x17a)]),this[_0x4ac6b5(0x206)]=this[_0x4ac6b5(0x150)][_0x4ac6b5(0x151)][_0x4ac6b5(0x15f)],this[_0x4ac6b5(0x172)]=new _0x59557a(),this[_0x4ac6b5(0x143)]=[],this[_0x4ac6b5(0x1e4)]=new WeakSet(),this[_0x4ac6b5(0x12e)]=new Set(),this[_0x4ac6b5(0x1d9)](_0x4ac6b5(0x11f),!0x1),this[_0x4ac6b5(0x1d9)](_0x4ac6b5(0x219),!0x1),this[_0x4ac6b5(0x1af)]=null,this[_0x4ac6b5(0x159)]=!0x1,this[_0x4ac6b5(0x20a)]=null,this[_0x4ac6b5(0x1e9)]=0x12c,this[_0x4ac6b5(0x1b4)]=this[_0x4ac6b5(0x1e9)],this[_0x4ac6b5(0x192)]=null,this[_0x4ac6b5(0x19d)]=new WeakSet(),this[_0x4ac6b5(0x1c9)]=new X(this[_0x4ac6b5(0x19d)]);}[_0x3211c7(0x135)](){const _0x9379fe=_0x3211c7,_0x5a38ac=this[_0x9379fe(0x150)],_0x46e5af=_0x5a38ac[_0x9379fe(0x14d)][_0x9379fe(0x207)](_0x32c4ce),_0x605223=_0x5a38ac[_0x9379fe(0x14d)][_0x9379fe(0x207)](_0x5ca9e0);this[_0x9379fe(0x19e)](_0x46e5af,_0x9379fe(0x14e),(_0x561d9b,_0x1191d3)=>{const _0x3aa073=_0x9379fe,_0x778dfa=_0x1191d3[0x0];_0x778dfa[_0x3aa073(0x1b6)]&&(_0x561d9b[_0x3aa073(0x1a9)]=_0x46e5af[_0x3aa073(0x133)](_0x778dfa[_0x3aa073(0x1b6)]),_0x561d9b[_0x3aa073(0x21a)]()),null===_0x778dfa[_0x3aa073(0x1b6)]&&(_0x561d9b[_0x3aa073(0x1a9)]=null,_0x561d9b[_0x3aa073(0x21a)]());},{'priority':_0x9379fe(0x149)}),this[_0x9379fe(0x19e)](_0x5a38ac[_0x9379fe(0x151)][_0x9379fe(0x15f)][_0x9379fe(0x197)],_0x9379fe(0x17e),(_0x23edff,_0x19d629)=>{const _0x433749=_0x9379fe;_0x19d629[_0x433749(0x142)]&&this[_0x433749(0x18d)]();}),this[_0x9379fe(0x19e)](_0x5a38ac[_0x9379fe(0x1df)][_0x9379fe(0x198)],_0x9379fe(0x1ba),()=>{const _0x49794a=_0x9379fe;this[_0x49794a(0x18d)]();}),this[_0x9379fe(0x11a)](),_0x5a38ac[_0x9379fe(0x151)]['on'](_0x9379fe(0x182),(_0x302cee,_0x365e75)=>{const _0x80de1e=_0x9379fe,_0x7ce6c7=_0x365e75[0x0];_0x7ce6c7[_0x80de1e(0x164)]&&(this[_0x80de1e(0x199)](_0x7ce6c7),this[_0x80de1e(0x1a0)]()&&this[_0x80de1e(0x148)]());}),this[_0x9379fe(0x16e)](),this[_0x9379fe(0x1c3)](_0x9379fe(0x1eb))['to'](_0x605223,_0x9379fe(0x17b),this,_0x9379fe(0x219),(_0x50a34f,_0x42636c)=>_0x9379fe(0x13d)===_0x50a34f&&!_0x42636c),this['on'](_0x9379fe(0x1ef),()=>{const _0xbd3da8=_0x9379fe;this[_0xbd3da8(0x1eb)]?_0x5a38ac[_0xbd3da8(0x208)](_0xbd3da8(0x1a6)):_0x5a38ac[_0xbd3da8(0x1f5)](_0xbd3da8(0x1a6));}),this[_0x9379fe(0x1eb)]?_0x5a38ac[_0x9379fe(0x208)](_0x9379fe(0x1a6)):_0x5a38ac[_0x9379fe(0x1f5)](_0x9379fe(0x1a6)),this[_0x9379fe(0x1d9)](_0x9379fe(0x1f3),!0x1);}async[_0x3211c7(0x21c)](){const _0x121284=_0x3211c7,_0x3542d6=this[_0x121284(0x150)][_0x121284(0x14d)][_0x121284(0x207)](_0x381b5b),_0x4845a7=this[_0x121284(0x150)][_0x121284(0x14d)][_0x121284(0x207)](_0x5ca9e0);try{this[_0x121284(0x11f)]=!0x0,_0x3542d6[_0x121284(0x211)](this[_0x121284(0x17a)]);const _0x282094=await this[_0x121284(0x144)][_0x121284(0x21c)](_0x4845a7[_0x121284(0x20e)],this[_0x121284(0x1ce)]);await this[_0x121284(0x1a5)](_0x282094)&&(this[_0x121284(0x11f)]=!0x1,this[_0x121284(0x167)]());const _0xa53378=await this[_0x121284(0x144)][_0x121284(0x168)]();_0x3542d6[_0x121284(0x1bb)](this[_0x121284(0x17a)],_0xa53378),this[_0x121284(0x12f)](),this[_0x121284(0x1f3)]=!0x0;}catch(_0x5831bd){if(function(_0x664bc4){const _0x44eef9=_0x121284;return _0x44eef9(0x1cf)===_0x664bc4[_0x44eef9(0x139)];}(_0x5831bd)&&this[_0x121284(0x14c)])await this[_0x121284(0x1a2)]();else{if(function(_0xacd264){const _0xcd2138=_0x121284;return _0xcd2138(0x157)===_0xacd264[_0xcd2138(0x139)];}(_0x5831bd)){const _0x725b0f=_0x208a9d(this[_0x121284(0x150)][_0x121284(0x1b2)],_0x121284(0x195));this[_0x121284(0x1f9)](_0x725b0f);}else{if(!(_0x5831bd instanceof J))throw _0x5831bd;this[_0x121284(0x1f9)]();}}}}[_0x3211c7(0x179)](){const _0x22e85f=_0x3211c7,_0x5da22f=this[_0x22e85f(0x150)][_0x22e85f(0x14d)][_0x22e85f(0x207)](_0x5ca9e0),_0xf7d90f=this[_0x22e85f(0x150)][_0x22e85f(0x14d)][_0x22e85f(0x207)](_0x381b5b);this[_0x22e85f(0x150)][_0x22e85f(0x1f5)](_0x22e85f(0x1b0)),_0xf7d90f[_0x22e85f(0x170)][_0x22e85f(0x1b1)](this[_0x22e85f(0x17a)])&&_0xf7d90f[_0x22e85f(0x211)](this[_0x22e85f(0x17a)]),_0x5da22f[_0x22e85f(0x13f)](this),this[_0x22e85f(0x20f)](),super[_0x22e85f(0x179)]();}async[_0x3211c7(0x1a5)](_0x3f1161){const _0x36df72=_0x3211c7;if(this[_0x36df72(0x14c)]!==_0x3f1161[_0x36df72(0x14c)]&&this[_0x36df72(0x192)]!==_0x3f1161[_0x36df72(0x15a)])throw new J();return this[_0x36df72(0x14c)]=_0x3f1161[_0x36df72(0x14c)],this[_0x36df72(0x1f6)]([],{..._0x3f1161,'wereChangesApplied':!0x1,'data':_0x3f1161[_0x36df72(0x12b)]},_0x36df72(0x21c));}async[_0x3211c7(0x184)](_0x650b2d,_0x363fd2=!0x1){const _0x504b25=_0x3211c7,{connection:_0x573b17}=this[_0x504b25(0x150)][_0x504b25(0x14d)][_0x504b25(0x207)](_0x5ca9e0);l[_0x504b25(0x1bc)][_0x504b25(0x168)](_0x573b17,this[_0x504b25(0x17a)])[_0x504b25(0x122)](_0x5a0937=>this[_0x504b25(0x202)](_0x5a0937))[_0x504b25(0x171)](_0x2e1d43=>{const _0x2e35e7=_0x504b25;this[_0x2e35e7(0x203)](_0x2e35e7(0x19c),_0x2e1d43);}),this[_0x504b25(0x19e)](this[_0x504b25(0x144)],_0x504b25(0x18f),this[_0x504b25(0x1de)][_0x504b25(0x1c3)](this)),this[_0x504b25(0x19e)](this[_0x504b25(0x144)],_0x504b25(0x1ab),(_0x272c46,_0x396c97)=>{const _0x13b6fc=_0x504b25;this[_0x13b6fc(0x203)](_0x13b6fc(0x11b),_0x396c97);}),this[_0x504b25(0x19e)](this[_0x504b25(0x144)],_0x504b25(0x11d),()=>{const _0x111669=_0x504b25;this[_0x111669(0x1f3)]=!0x1;});const _0x8d7ebd=this[_0x504b25(0x1c9)][_0x504b25(0x1ed)](_0x650b2d);this[_0x504b25(0x11f)]=!0x0;const _0x2373df=await this[_0x504b25(0x144)][_0x504b25(0x18a)](_0x573b17,this[_0x504b25(0x169)](_0x650b2d),_0x8d7ebd);if(this[_0x504b25(0x14c)]=_0x2373df[_0x504b25(0x14c)],_0x363fd2){if(!_0x2373df[_0x504b25(0x1e5)])return void this[_0x504b25(0x1f9)]();this[_0x504b25(0x11f)]=!0x1,this[_0x504b25(0x167)](),this[_0x504b25(0x1c7)][_0x504b25(0x16d)](),this[_0x504b25(0x13c)]=_0x2373df[_0x504b25(0x19b)],this[_0x504b25(0x1c7)][_0x504b25(0x193)]=this[_0x504b25(0x13c)],await this[_0x504b25(0x1f6)](_0x650b2d,_0x2373df,_0x504b25(0x166));}else await this[_0x504b25(0x1ec)](_0x2373df,_0x650b2d);this[_0x504b25(0x12f)](),this[_0x504b25(0x1f3)]=!0x0;}[_0x3211c7(0x12f)](){const _0x237d9e=_0x3211c7,_0x5fe09d=this[_0x237d9e(0x150)][_0x237d9e(0x14d)][_0x237d9e(0x207)](_0x381b5b),_0x6caebe=this[_0x237d9e(0x150)][_0x237d9e(0x14d)][_0x237d9e(0x207)](_0x5c9c7a),_0x42a116=_0x5fe09d[_0x237d9e(0x170)][_0x237d9e(0x207)](this[_0x237d9e(0x17a)]);_0x42a116&&_0x42a116[_0x237d9e(0x1be)]>0x1?_0x6caebe[_0x237d9e(0x1d0)]():this[_0x237d9e(0x19e)](_0x5fe09d,_0x237d9e(0x1ee)+this[_0x237d9e(0x17a)],()=>{const _0x25c024=_0x237d9e;0x2===_0x5fe09d[_0x25c024(0x170)][_0x25c024(0x207)](this[_0x25c024(0x17a)])[_0x25c024(0x1be)]&&_0x6caebe[_0x25c024(0x1d0)]();});}async[_0x3211c7(0x1de)](_0x7f44b,_0x3450a5,_0x13dad9,_0x292d3e){const _0x19775e=_0x3211c7;if(!this[_0x19775e(0x11f)]&&this[_0x19775e(0x206)][_0x19775e(0x193)]==_0x3450a5){const _0x1d39ff=this[_0x19775e(0x1c0)](_0x13dad9,_0x292d3e);await this[_0x19775e(0x1e2)](_0x1d39ff),this[_0x19775e(0x1d3)](_0x1d39ff,_0x3450a5,_0x13dad9[_0x19775e(0x15a)])||this[_0x19775e(0x203)](_0x19775e(0x13b));}}async[_0x3211c7(0x1a2)](){const _0x5466f8=_0x3211c7;this[_0x5466f8(0x20f)]();const {locale:_0x328adb}=this[_0x5466f8(0x150)];let _0x47595a;try{_0x47595a=await this[_0x5466f8(0x144)][_0x5466f8(0x212)]();}catch(_0x4d7e1c){const _0x27a4d4=_0x208a9d(_0x328adb,_0x5466f8(0x17d));return void this[_0x5466f8(0x1f9)](_0x27a4d4);}const _0x55bf01=_0x47595a[_0x5466f8(0x1c5)]||_0x47595a[_0x5466f8(0x19f)];if(this[_0x5466f8(0x192)]===_0x55bf01[_0x5466f8(0x15a)])await this[_0x5466f8(0x184)](this[_0x5466f8(0x150)][_0x5466f8(0x151)][_0x5466f8(0x15f)][_0x5466f8(0x1d2)][_0x5466f8(0x205)](),!0x0);else{const _0x8d8222=_0x208a9d(_0x328adb,_0x5466f8(0x187));this[_0x5466f8(0x1f9)](_0x8d8222);}}[_0x3211c7(0x20f)](){const _0x33e0e1=_0x3211c7;this[_0x33e0e1(0x144)][_0x33e0e1(0x191)](),this[_0x33e0e1(0x143)]=[],clearTimeout(this[_0x33e0e1(0x20a)]),this[_0x33e0e1(0x1bf)](this[_0x33e0e1(0x144)]);}[_0x3211c7(0x202)](_0x3980f8){const _0x385ae6=_0x3211c7,_0x3e2ea2=this[_0x385ae6(0x150)][_0x385ae6(0x14d)][_0x385ae6(0x207)](_0x381b5b);this[_0x385ae6(0x19e)](_0x3e2ea2,_0x385ae6(0x1ee)+this[_0x385ae6(0x17a)],(_0x2f8c1d,{session:_0x4a36d7})=>{const _0x95d74a=_0x385ae6;if(_0x4a36d7['id']===_0x3e2ea2[_0x95d74a(0x141)]){_0x2f8c1d[_0x95d74a(0x165)]();const _0x239dc3=this[_0x95d74a(0x150)][_0x95d74a(0x14d)][_0x95d74a(0x1b1)](_0x95d74a(0x1d4))&&this[_0x95d74a(0x150)][_0x95d74a(0x14d)][_0x95d74a(0x207)](_0x95d74a(0x1d4));let _0x1d96ed=_0x4a36d7[_0x95d74a(0x201)];_0x239dc3&&_0x239dc3[_0x95d74a(0x1c2)]&&(_0x1d96ed=_0x1d96ed[_0x95d74a(0x1fd)](_0x572272=>_0x95d74a(0x1d5)!==_0x572272)),this[_0x95d74a(0x150)][_0x95d74a(0x14d)][_0x95d74a(0x207)](_0x95d74a(0x178))[_0x95d74a(0x1ae)](_0x1d96ed,this[_0x95d74a(0x17a)]);}}),_0x3e2ea2[_0x385ae6(0x1bb)](this[_0x385ae6(0x17a)],_0x3980f8);}[_0x3211c7(0x11a)](){const _0x14cef4=_0x3211c7,_0x1b9c21=this[_0x14cef4(0x150)][_0x14cef4(0x12b)][_0x14cef4(0x1d9)];this[_0x14cef4(0x150)][_0x14cef4(0x12b)][_0x14cef4(0x1d9)]=(..._0x2ffcac)=>{const _0x370ca4=_0x14cef4;if(!_0x2ffcac[_0x2ffcac[_0x370ca4(0x1be)]-0x1][_0x370ca4(0x176)])throw new _0x3e3a4d(_0x370ca4(0x18c),this);_0x1b9c21[_0x370ca4(0x15e)](this[_0x370ca4(0x150)][_0x370ca4(0x12b)],_0x2ffcac);};}[_0x3211c7(0x16e)](){const _0x3dd52a=_0x3211c7;this[_0x3dd52a(0x150)][_0x3dd52a(0x12b)]['on'](_0x3dd52a(0x135),(_0x47860d,[_0x1e0903])=>{const _0x5450c8=_0x3dd52a;if(this[_0x5450c8(0x206)][_0x5450c8(0x193)])throw new _0x3e3a4d(_0x5450c8(0x1c8),this);_0x47860d[_0x5450c8(0x21a)](),this[_0x5450c8(0x132)]();const _0x1c2dc4=this[_0x5450c8(0x150)][_0x5450c8(0x156)][_0x5450c8(0x207)](_0x5450c8(0x1a8)),_0x4fff8f=this[_0x5450c8(0x146)](_0x1e0903,_0x1c2dc4);0x0==_0x4fff8f[_0x5450c8(0x1be)]&&_0x4fff8f[_0x5450c8(0x204)](new _0x3e7822(0x0)),_0x47860d[_0x5450c8(0x1a9)]=this[_0x5450c8(0x184)](_0x4fff8f)[_0x5450c8(0x122)](()=>{const _0x3ad8cb=_0x5450c8;this[_0x3ad8cb(0x150)][_0x3ad8cb(0x14d)][_0x3ad8cb(0x207)](_0x5ca9e0)[_0x3ad8cb(0x1f7)](this),this[_0x3ad8cb(0x150)][_0x3ad8cb(0x12b)][_0x3ad8cb(0x13e)](_0x3ad8cb(0x181));})[_0x5450c8(0x171)](_0x586d22=>this[_0x5450c8(0x203)](_0x5450c8(0x1ad),_0x586d22))[_0x5450c8(0x127)](()=>this[_0x5450c8(0x167)]());},{'priority':_0x3dd52a(0x149)}),this[_0x3dd52a(0x150)]['on'](_0x3dd52a(0x153),async(_0x2508e3,[_0x303d88,_0x127c5f])=>{const _0x5446b1=_0x3dd52a;_0x2508e3[_0x5446b1(0x21a)]();const _0x369a8e=this[_0x5446b1(0x150)][_0x5446b1(0x151)][_0x5446b1(0x15f)][_0x5446b1(0x13a)](_0x303d88);if(!this[_0x5446b1(0x12e)][_0x5446b1(0x1b1)](_0x303d88)){const _0x254a8d=_0x127c5f&&_0x127c5f[_0x5446b1(0x12b)]?_0x127c5f[_0x5446b1(0x12b)]:'',_0x37ef99=_0x127c5f&&_0x127c5f[_0x5446b1(0x1fe)]?_0x127c5f[_0x5446b1(0x1fe)]:{};await this[_0x5446b1(0x17f)](_0x303d88,_0x254a8d,_0x37ef99);}this[_0x5446b1(0x150)][_0x5446b1(0x151)][_0x5446b1(0x1f0)]({'isUndoable':!0x1},()=>{const _0x4ae7aa=_0x5446b1;_0x369a8e[_0x4ae7aa(0x20c)]=!0x0,this[_0x4ae7aa(0x150)][_0x4ae7aa(0x151)][_0x4ae7aa(0x15f)][_0x4ae7aa(0x1e0)][_0x4ae7aa(0x129)](_0x369a8e);});},{'priority':_0x3dd52a(0x149)});}async[_0x3211c7(0x1e2)](_0x143909){const _0x202368=_0x3211c7,_0x25cc4d=this[_0x202368(0x150)][_0x202368(0x14d)][_0x202368(0x207)](_0x32c4ce),{connection:_0x4b79f8}=this[_0x202368(0x150)][_0x202368(0x14d)][_0x202368(0x207)](_0x5ca9e0),_0x289574=new Set();for(const _0x3b7ab2 of _0x143909){const _0x56584b=_0x3b7ab2[_0x202368(0x1b6)];_0x56584b&&!_0x25cc4d[_0x202368(0x133)](_0x56584b)&&_0x289574[_0x202368(0x11e)](_0x56584b);}if(0x0===_0x289574[_0x202368(0x1ff)])return;const _0x1828ab=await _0x377b5d[_0x202368(0x1f4)](_0x4b79f8,Array[_0x202368(0x1bd)](_0x289574));for(const _0x2f08f6 of _0x1828ab)_0x25cc4d[_0x202368(0x133)](_0x2f08f6['id'])||_0x25cc4d[_0x202368(0x1d8)](_0x2f08f6);}[_0x3211c7(0x146)](_0x46320a,_0x541621={}){const _0x43cde9=_0x3211c7,_0x451a34=this[_0x43cde9(0x150)][_0x43cde9(0x151)],_0x4c8a6a=[];let _0x2b4618=0x0;const _0x4106ec=_0x43cde9(0x1cc)==typeof _0x46320a?{'main':_0x46320a}:_0x46320a;for(const _0x53ca5b of Object[_0x43cde9(0x14a)](_0x4106ec)){if(!this[_0x43cde9(0x206)][_0x43cde9(0x16c)][_0x43cde9(0x1b1)](_0x53ca5b))throw new _0x3e3a4d(_0x43cde9(0x161),this);const _0x2b23d9=this[_0x43cde9(0x150)][_0x43cde9(0x12b)][_0x43cde9(0x1e6)](_0x4106ec[_0x53ca5b]),_0x20d6ca=this[_0x43cde9(0x206)][_0x43cde9(0x13a)](_0x53ca5b),_0x404c19=new _0x18b774(_0x451a34[_0x43cde9(0x147)](_0x20d6ca,0x0),_0x2b23d9,_0x2b4618++);_0x4c8a6a[_0x43cde9(0x204)](_0x404c19);for(const [_0x4294be,_0x10205e]of _0x2b23d9[_0x43cde9(0x209)]){const _0x41c67f=_0x451a34[_0x43cde9(0x16b)](_0x451a34[_0x43cde9(0x1dc)](_0x20d6ca,_0x10205e[_0x43cde9(0x19a)][_0x43cde9(0x1b3)][_0x43cde9(0x152)]()),_0x451a34[_0x43cde9(0x1dc)](_0x20d6ca,_0x10205e[_0x43cde9(0x1cb)][_0x43cde9(0x1b3)][_0x43cde9(0x152)]())),_0xa5485d=new _0x288d7a(_0x4294be,null,_0x41c67f,_0x451a34[_0x43cde9(0x209)],!0x0,_0x2b4618++);_0x4c8a6a[_0x43cde9(0x204)](_0xa5485d);}}if(_0x541621)for(const [_0x36b1cc,_0x50b8da]of Object[_0x43cde9(0x126)](_0x541621)){const _0x25fb51=_0x451a34[_0x43cde9(0x15f)][_0x43cde9(0x13a)](_0x36b1cc);if(!_0x25fb51)throw new _0x3e3a4d(_0x43cde9(0x1da),null);for(const [_0x4a9b4b,_0x2af7e7]of Object[_0x43cde9(0x126)](_0x50b8da))if(null!==_0x2af7e7){const _0x18b98d=new _0x26a2c0(_0x25fb51,_0x4a9b4b,null,_0x2af7e7,_0x2b4618++);_0x4c8a6a[_0x43cde9(0x204)](_0x18b98d);}}return _0x4c8a6a;}async[_0x3211c7(0x17f)](_0x270c01,_0x320e11,_0x41c39b){const _0x453603=_0x3211c7;this[_0x453603(0x146)]({[_0x270c01]:_0x320e11},{[_0x270c01]:_0x41c39b})[_0x453603(0x15d)]((_0x168040,_0x4200f6)=>{const _0x5c13ca=_0x453603;_0x168040[_0x5c13ca(0x12c)]=this[_0x5c13ca(0x206)][_0x5c13ca(0x193)]+_0x4200f6,_0x168040[_0x5c13ca(0x1e7)]=!0x0,this[_0x5c13ca(0x199)](_0x168040);}),this[_0x453603(0x148)](),await this[_0x453603(0x186)]();}async[_0x3211c7(0x1ec)](_0x13c270,_0x544573){const _0x54bdaa=_0x3211c7;let _0x10bb44;this[_0x54bdaa(0x13c)]=_0x13c270[_0x54bdaa(0x19b)];const _0x492a13=_0x13c270[_0x54bdaa(0x1e5)]&&!_0x13c270[_0x54bdaa(0x1e1)],_0x34a26e=_0x492a13?0x0:_0x13c270[_0x54bdaa(0x12b)][_0x54bdaa(0x12c)];if(_0x544573[_0x54bdaa(0x15d)](_0x3f0493=>{const _0x372f3d=_0x54bdaa;_0x3f0493[_0x372f3d(0x1e7)]=!0x0,_0x3f0493[_0x372f3d(0x214)]=_0x13c270[_0x372f3d(0x1dd)],_0x3f0493[_0x372f3d(0x1b6)]=null;}),_0x492a13)_0x10bb44=_0x544573,this[_0x54bdaa(0x123)](_0x10bb44,_0x492a13);else{if(_0x13c270[_0x54bdaa(0x1e1)]){const _0x1649f0=this[_0x54bdaa(0x146)](_0x13c270[_0x54bdaa(0x1e1)]);this[_0x54bdaa(0x206)][_0x54bdaa(0x1d2)][_0x54bdaa(0x193)]=-_0x1649f0[_0x54bdaa(0x1be)],_0x1649f0[_0x54bdaa(0x15d)](_0x283c99=>{const _0x50d461=_0x54bdaa;_0x283c99[_0x50d461(0x12c)]-=_0x1649f0[_0x50d461(0x1be)],_0x283c99[_0x50d461(0x214)]=_0x13c270[_0x50d461(0x1dd)],_0x283c99[_0x50d461(0x1e7)]=!0x0,_0x283c99[_0x50d461(0x1b6)]=null;}),this[_0x54bdaa(0x123)](_0x1649f0,!0x0),this[_0x54bdaa(0x1c7)][_0x54bdaa(0x193)]=-_0x1649f0[_0x54bdaa(0x1be)]+this[_0x54bdaa(0x13c)],this[_0x54bdaa(0x1fc)](_0x1649f0);}this[_0x54bdaa(0x206)][_0x54bdaa(0x1d2)][_0x54bdaa(0x193)]=_0x34a26e,_0x10bb44=this[_0x54bdaa(0x1c0)](_0x13c270[_0x54bdaa(0x12b)],_0x13c270[_0x54bdaa(0x1db)]),await this[_0x54bdaa(0x1e2)](_0x10bb44),this[_0x54bdaa(0x123)](_0x10bb44,_0x492a13);}_0x13c270[_0x54bdaa(0x15a)]&&(this[_0x54bdaa(0x1c9)][_0x54bdaa(0x213)](_0x10bb44,_0x13c270[_0x54bdaa(0x15a)]),this[_0x54bdaa(0x192)]=_0x13c270[_0x54bdaa(0x15a)]),this[_0x54bdaa(0x1c7)][_0x54bdaa(0x193)]=_0x34a26e+this[_0x54bdaa(0x13c)],this[_0x54bdaa(0x1fc)](_0x10bb44),_0x544573[_0x54bdaa(0x1fd)](_0x29f33f=>{const _0x494597=_0x54bdaa,_0x1874df=this[_0x494597(0x118)](_0x29f33f);return _0x1874df&&!this[_0x494597(0x12e)][_0x494597(0x1b1)](_0x1874df);})[_0x54bdaa(0x15d)]((_0x264afd,_0x48fa12)=>{const _0x1f5122=_0x54bdaa;_0x264afd[_0x1f5122(0x12c)]=this[_0x1f5122(0x206)][_0x1f5122(0x193)]+_0x48fa12,this[_0x1f5122(0x199)](_0x264afd);}),this[_0x54bdaa(0x1a0)]()?(this[_0x54bdaa(0x1b4)]=0x0,this[_0x54bdaa(0x148)](!0x0),await this[_0x54bdaa(0x186)]()):(this[_0x54bdaa(0x11f)]=!0x1,this[_0x54bdaa(0x167)]());}[_0x3211c7(0x203)](_0x2e82ed,_0x27c9ec,_0x54b2e2){const _0x480f76=_0x3211c7;throw this[_0x480f76(0x11f)]=!0x0,_0x27c9ec&&console[_0x480f76(0x1ab)](_0x27c9ec),_0x54b2e2&&this[_0x480f76(0x150)][_0x480f76(0x1f5)](_0x480f76(0x16f)),new _0x3e3a4d(_0x2e82ed,this[_0x480f76(0x150)]);}[_0x3211c7(0x199)](_0x325969){const _0x5ed8e9=_0x3211c7;this[_0x5ed8e9(0x1e4)][_0x5ed8e9(0x1b1)](_0x325969)||(this[_0x5ed8e9(0x1e4)][_0x5ed8e9(0x11e)](_0x325969),this[_0x5ed8e9(0x143)][_0x5ed8e9(0x204)](_0x325969),this[_0x5ed8e9(0x1af)]||_0x5ed8e9(0x131)==_0x325969[_0x5ed8e9(0x11c)]&&!_0x325969[_0x5ed8e9(0x1aa)]||this[_0x5ed8e9(0x132)]());}[_0x3211c7(0x148)](_0x14e0dd=!0x1){const _0x5376ff=_0x3211c7;!_0x14e0dd&&this[_0x5376ff(0x11f)]||(this[_0x5376ff(0x11f)]=!0x0,clearTimeout(this[_0x5376ff(0x20a)]),this[_0x5376ff(0x20a)]=setTimeout(()=>{const _0x146fb6=_0x5376ff;this[_0x146fb6(0x128)]()[_0x146fb6(0x122)](_0x49157c=>{const _0x46b9c6=_0x146fb6;_0x49157c&&(this[_0x46b9c6(0x167)](),this[_0x46b9c6(0x11f)]=!0x1);})[_0x146fb6(0x171)](_0x47c266=>{const _0x51c9e6=_0x146fb6;this[_0x51c9e6(0x167)](),this[_0x51c9e6(0x11f)]=!0x1,function(_0x171822){const _0x4afae0=_0x51c9e6;return _0x171822[_0x4afae0(0x174)][_0x4afae0(0x1cd)](_0x4afae0(0x183))||_0x171822[_0x4afae0(0x174)][_0x4afae0(0x1cd)](_0x4afae0(0x217))||_0x171822[_0x4afae0(0x174)][_0x4afae0(0x1cd)](_0x4afae0(0x160));}(_0x47c266)||this[_0x51c9e6(0x203)](_0x47c266[_0x51c9e6(0x174)],_0x47c266,!0x0);});},this[_0x5376ff(0x1b4)]));}[_0x3211c7(0x186)](){return new Promise(_0x1efd1b=>{const _0x43b042=_0x33e8;this['on'](_0x43b042(0x200),()=>{_0x1efd1b();});});}async[_0x3211c7(0x128)](){const _0x4f0777=_0x3211c7,_0x190120=this[_0x4f0777(0x150)][_0x4f0777(0x14d)][_0x4f0777(0x207)](_0x5c9c7a);if(this[_0x4f0777(0x1c6)]()&&(_0x190120[_0x4f0777(0x1d0)](),this[_0x4f0777(0x159)]=!0x1),!this[_0x4f0777(0x1a0)]())return!0x0;const _0x5c3b57=[...this[_0x4f0777(0x143)]];for(const _0x5ad572 of _0x5c3b57)_0x5ad572[_0x4f0777(0x180)]=this[_0x4f0777(0x206)][_0x4f0777(0x1d2)][_0x4f0777(0x12a)](_0x5ad572);const _0x5c7011=this[_0x4f0777(0x1c9)][_0x4f0777(0x1ed)](_0x5c3b57),_0x472d23=K++,_0x46c9ce=this[_0x4f0777(0x169)](_0x5c3b57),_0x1c463b=await this[_0x4f0777(0x144)][_0x4f0777(0x1c1)](_0x46c9ce,_0x46c9ce[_0x4f0777(0x12c)],_0x5c7011);try{return await this[_0x4f0777(0x1f6)](_0x5c3b57,_0x1c463b,_0x472d23);}catch(_0x202276){return this[_0x4f0777(0x203)](_0x4f0777(0x1d1),_0x202276);}}async[_0x3211c7(0x1f6)](_0x163ab1,_0x919df0,_0x3ca67f){const _0x238e1f=_0x3211c7;if(_0x238e1f(0x1ab)in _0x919df0)throw _0x919df0[_0x238e1f(0x1ab)];let _0x3a2f30=!0x1;if(_0x919df0[_0x238e1f(0x1e5)]){_0x919df0[_0x238e1f(0x15a)]&&(this[_0x238e1f(0x192)]=_0x919df0[_0x238e1f(0x15a)]),this[_0x238e1f(0x143)]=this[_0x238e1f(0x143)][_0x238e1f(0x1fd)](_0xf86d25=>!_0x163ab1[_0x238e1f(0x1b8)](_0xf86d25));for(const _0x590930 of _0x163ab1)_0x590930[_0x238e1f(0x214)]=_0x238e1f(0x1f1)in _0x919df0&&_0x919df0[_0x238e1f(0x1f1)]||void 0x0;Q(_0x163ab1,_0x919df0[_0x238e1f(0x193)]-_0x163ab1[_0x238e1f(0x1be)]),this[_0x238e1f(0x1fc)](_0x163ab1);const _0x16ac0c=_0x163ab1[_0x238e1f(0x1fd)](_0x5addd7=>{const _0x129861=_0x238e1f;if(!_0x5addd7[_0x129861(0x1e7)])return!0x1;const _0x1f04fb=this[_0x129861(0x118)](_0x5addd7);return _0x1f04fb&&!this[_0x129861(0x12e)][_0x129861(0x1b1)](_0x1f04fb);});Q(_0x16ac0c,this[_0x238e1f(0x206)][_0x238e1f(0x193)]),this[_0x238e1f(0x123)](_0x16ac0c),_0x3a2f30=!0x0,this[_0x238e1f(0x1b4)]=this[_0x238e1f(0x1e9)];}else{const _0x23e690=this[_0x238e1f(0x1c0)](_0x919df0[_0x238e1f(0x12b)],_0x919df0[_0x238e1f(0x1db)])[_0x238e1f(0x1fd)](_0x526b24=>_0x526b24[_0x238e1f(0x12c)]>=this[_0x238e1f(0x1a3)]);_0x23e690[_0x238e1f(0x15d)](_0x2d1392=>this[_0x238e1f(0x1b7)](_0x2d1392)),this[_0x238e1f(0x143)]=this[_0x238e1f(0x143)][_0x238e1f(0x1fd)](_0x5dcc15=>!_0x5dcc15[_0x238e1f(0x1e7)]||!this[_0x238e1f(0x12e)][_0x238e1f(0x1b1)](this[_0x238e1f(0x118)](_0x5dcc15))),this[_0x238e1f(0x143)][_0x238e1f(0x1be)]&&Q(this[_0x238e1f(0x143)],this[_0x238e1f(0x143)][0x0][_0x238e1f(0x12c)]),await this[_0x238e1f(0x1e2)](_0x23e690),_0x3a2f30=this[_0x238e1f(0x1d3)](_0x23e690,_0x919df0[_0x238e1f(0x193)],_0x919df0[_0x238e1f(0x15a)]),this[_0x238e1f(0x1b4)]=Math[_0x238e1f(0x1e8)](this[_0x238e1f(0x1b4)]/0x2);}return _0x3a2f30?!this[_0x238e1f(0x1a0)]()||(this[_0x238e1f(0x148)](!0x0),!0x1):this[_0x238e1f(0x203)](_0x238e1f(0x154));}[_0x3211c7(0x1d3)](_0x32aa81,_0x35df30,_0x3f346a){const _0x3e3c40=_0x3211c7;try{const _0x45f345={'document':this[_0x3e3c40(0x206)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5ba55a,operationsB:_0x52c122,originalOperations:_0x162022}=_0x3f6b7e(_0x32aa81,this[_0x3e3c40(0x143)],_0x45f345);Q(_0x5ba55a,this[_0x3e3c40(0x206)][_0x3e3c40(0x193)]),Q(_0x52c122,_0x35df30);for(const _0x62ebc6 of _0x5ba55a){const _0xcf9f=_0x162022[_0x3e3c40(0x207)](_0x62ebc6);_0x62ebc6[_0x3e3c40(0x1b6)]=_0xcf9f?_0xcf9f[_0x3e3c40(0x1b6)]:null;}_0x3f346a&&(this[_0x3e3c40(0x1c9)][_0x3e3c40(0x213)](_0x32aa81,_0x3f346a),this[_0x3e3c40(0x192)]=_0x3f346a),this[_0x3e3c40(0x143)]=[..._0x52c122],this[_0x3e3c40(0x123)](_0x5ba55a),this[_0x3e3c40(0x1fc)](_0x32aa81);}catch(_0x486839){return console[_0x3e3c40(0x1ab)](_0x486839),!0x1;}return!0x0;}[_0x3211c7(0x123)](_0x14c053,_0x39f7ef=!0x1){const _0x3b0614=_0x3211c7;this[_0x3b0614(0x150)][_0x3b0614(0x151)][_0x3b0614(0x1f0)]({'isUndoable':!0x1,'isLocal':!0x1},_0x27ce50=>{const _0x33c662=_0x3b0614;for(const _0x11eb5d of _0x14c053)this[_0x33c662(0x1e4)][_0x33c662(0x11e)](_0x11eb5d),this[_0x33c662(0x1b7)](_0x11eb5d),_0x27ce50[_0x33c662(0x119)][_0x33c662(0x163)](_0x11eb5d),this[_0x33c662(0x150)][_0x33c662(0x151)][_0x33c662(0x182)](_0x11eb5d);});}[_0x3211c7(0x1b7)](_0x22c36c){const _0x111578=_0x3211c7,_0x27840e=this[_0x111578(0x118)](_0x22c36c);_0x27840e&&this[_0x111578(0x12e)][_0x111578(0x11e)](_0x27840e);}[_0x3211c7(0x118)](_0x1c2448){const _0x15a7dc=_0x3211c7;let _0x5e4637,_0x309c14;switch(_0x1c2448[_0x15a7dc(0x11c)]){case _0x15a7dc(0x1fb):_0x5e4637=_0x1c2448[_0x15a7dc(0x17c)][_0x15a7dc(0x130)];break;case _0x15a7dc(0x131):if(_0x309c14=_0x1c2448[_0x15a7dc(0x125)],!_0x309c14)return null;_0x5e4637=_0x309c14[_0x15a7dc(0x130)];break;case _0x15a7dc(0x124):_0x5e4637=_0x1c2448[_0x15a7dc(0x130)];break;case _0x15a7dc(0x15b):_0x5e4637=_0x1c2448[_0x15a7dc(0x18b)];break;case _0x15a7dc(0x140):_0x5e4637=_0x1c2448[_0x15a7dc(0x1ac)][_0x15a7dc(0x130)];break;default:return null;}return _0x5e4637[_0x15a7dc(0x190)];}[_0x3211c7(0x1fc)](_0x3c26fc){const _0xc88268=_0x3211c7;_0x3c26fc[_0xc88268(0x15d)](_0x34541a=>{const _0x51a430=_0xc88268,_0x4ed53a=_0x34541a[_0x51a430(0x1a7)]();_0x4ed53a[_0x51a430(0x1b6)]=_0x34541a[_0x51a430(0x1b6)],_0x4ed53a[_0x51a430(0x1e7)]=!!_0x34541a[_0x51a430(0x1e7)],_0x4ed53a[_0x51a430(0x214)]=_0x34541a[_0x51a430(0x214)],_0x4ed53a[_0x51a430(0x12c)]+=this[_0x51a430(0x13c)],_0x34541a[_0x51a430(0x158)]&&this[_0x51a430(0x19d)][_0x51a430(0x11e)](_0x4ed53a),this[_0x51a430(0x1c7)][_0x51a430(0x163)](_0x4ed53a);});}[_0x3211c7(0x1f9)](_0x34576c){const _0x3e41db=_0x3211c7,_0x596e38=this[_0x3e41db(0x150)][_0x3e41db(0x14d)][_0x3e41db(0x207)](_0x3e41db(0x134)),_0x2dd2da=this[_0x3e41db(0x150)][_0x3e41db(0x1b2)];_0x34576c||(_0x34576c=_0x208a9d(_0x2dd2da,_0x3e41db(0x138))),_0x596e38[_0x3e41db(0x177)](_0x34576c,{'title':_0x208a9d(_0x2dd2da,_0x3e41db(0x173)),'namespace':_0x3e41db(0x16a)}),this[_0x3e41db(0x219)]=!0x0,clearTimeout(this[_0x3e41db(0x20a)]),this[_0x3e41db(0x143)]=[],this[_0x3e41db(0x150)][_0x3e41db(0x14d)][_0x3e41db(0x207)](_0x5ca9e0)[_0x3e41db(0x179)]();}[_0x3211c7(0x132)](){const _0x132164=_0x3211c7;this[_0x132164(0x1af)]||(this[_0x132164(0x1af)]=this[_0x132164(0x150)][_0x132164(0x14d)][_0x132164(0x207)](_0x417cf2)[_0x132164(0x11e)](_0x208a9d(this[_0x132164(0x150)][_0x132164(0x1b2)],_0x132164(0x215))));}[_0x3211c7(0x167)](){const _0x587351=_0x3211c7;this[_0x587351(0x1af)]&&(this[_0x587351(0x150)][_0x587351(0x14d)][_0x587351(0x207)](_0x417cf2)[_0x587351(0x1d6)](this[_0x587351(0x1af)]),this[_0x587351(0x1af)]=null);}[_0x3211c7(0x169)](_0x24274c){const _0x5e4ef6=_0x3211c7,_0x5656d2=_0x24274c[_0x5e4ef6(0x210)](_0x1ab2e3=>_0x1ab2e3[_0x5e4ef6(0x136)]());return this[_0x5e4ef6(0x172)][_0x5e4ef6(0x1d7)](_0x5656d2);}[_0x3211c7(0x1c0)](_0x1e51c4,_0xf69e72){const _0x2b7085=_0x3211c7;return this[_0x2b7085(0x172)][_0x2b7085(0x1f8)](_0x1e51c4)[_0x2b7085(0x210)]((_0x5bb121,_0x4ae036)=>{const _0x4eb830=_0x2b7085,_0x38539a=_0x4eb830(0x135)==_0xf69e72[_0x4ae036][_0x4eb830(0x11c)];if(_0x4eb830(0x162)==_0x5bb121[_0x4eb830(0x21b)]){const _0x224405=_0x5bb121[_0x4eb830(0x17c)][_0x4eb830(0x130)];!this[_0x4eb830(0x206)][_0x4eb830(0x13a)](_0x224405)&&(this[_0x4eb830(0x206)][_0x4eb830(0x155)](_0x4eb830(0x1fa),_0x224405)[_0x4eb830(0x1c4)]=!0x1);}const _0x21fd50=_0x75ffad[_0x4eb830(0x21d)](_0x5bb121,this[_0x4eb830(0x206)]);return _0x21fd50[_0x4eb830(0x180)]=_0x5bb121[_0x4eb830(0x180)],_0x21fd50[_0x4eb830(0x1e7)]=_0x38539a,_0x21fd50[_0x4eb830(0x1b6)]=_0x38539a?null:_0xf69e72[_0x4ae036][_0x4eb830(0x14b)],_0x21fd50[_0x4eb830(0x158)]=_0x4eb830(0x196)===_0xf69e72[_0x4ae036][_0x4eb830(0x11c)],_0x21fd50[_0x4eb830(0x214)]=_0xf69e72[_0x4ae036][_0x4eb830(0x214)],_0x21fd50;});}[_0x3211c7(0x18d)](){const _0x488946=_0x3211c7;this[_0x488946(0x159)]=!0x0,this[_0x488946(0x1c6)]()?this[_0x488946(0x148)]():this[_0x488946(0x159)]=!0x1;}[_0x3211c7(0x1c6)](){const _0x24ee2c=_0x3211c7,_0x556ffd=this[_0x24ee2c(0x150)][_0x24ee2c(0x14d)][_0x24ee2c(0x207)](_0x381b5b)[_0x24ee2c(0x170)][_0x24ee2c(0x207)](this[_0x24ee2c(0x17a)]);return!this[_0x24ee2c(0x150)][_0x24ee2c(0x1a4)]&&!!_0x556ffd&&_0x556ffd[_0x24ee2c(0x1be)]>0x1&&this[_0x24ee2c(0x159)];}[_0x3211c7(0x1a0)](){const _0xebd93b=_0x3211c7;return this[_0xebd93b(0x143)][_0xebd93b(0x1be)]>0x0||this[_0xebd93b(0x1c6)]();}}l[_0x3211c7(0x1bc)]=_0x16a52d;export default l;class J extends Error{}function Q(_0x40d603,_0x14c3f8){const _0x44c856=_0x3211c7;for(const _0x52551b of _0x40d603)_0x52551b[_0x44c856(0x12c)]=_0x14c3f8++;}class X{constructor(_0x1a14c0){const _0x474622=_0x3211c7;this[_0x474622(0x137)]=_0x1a14c0,this[_0x474622(0x188)]=new WeakMap();}[_0x3211c7(0x1ed)](_0x8044d9){const _0x140b79=_0x3211c7;let _0x4e5fde=_0x8044d9[_0x140b79(0x1be)];for(;_0x4e5fde--;){const _0x503f01=_0x8044d9[_0x4e5fde];if(!this[_0x140b79(0x137)][_0x140b79(0x1b1)](_0x503f01)){if(!this[_0x140b79(0x188)][_0x140b79(0x1b1)](_0x503f01)){const _0x1b9831=_0x32e298()[_0x140b79(0x152)](0x1,0x12);this[_0x140b79(0x188)][_0x140b79(0x1d9)](_0x503f01,_0x1b9831);}return this[_0x140b79(0x188)][_0x140b79(0x207)](_0x503f01);}}}[_0x3211c7(0x213)](_0x284768,_0x1b0995){const _0x1fd194=_0x3211c7;if(!_0x1b0995)return;let _0x4b7e35=_0x284768[_0x1fd194(0x1be)];for(;_0x4b7e35--;){const _0x358385=_0x284768[_0x4b7e35];this[_0x1fd194(0x137)][_0x1fd194(0x1b1)](_0x358385)||this[_0x1fd194(0x188)][_0x1fd194(0x1d9)](_0x358385,_0x1b0995);}}}
23
+ const _0x1eae1f=_0x14f2;(function(_0x462856,_0x353cbb){const _0x56697b=_0x14f2,_0x1cf22c=_0x462856();while(!![]){try{const _0x202e78=-parseInt(_0x56697b(0x28e))/0x1*(-parseInt(_0x56697b(0x26b))/0x2)+parseInt(_0x56697b(0x2b1))/0x3+-parseInt(_0x56697b(0x1e9))/0x4*(-parseInt(_0x56697b(0x278))/0x5)+parseInt(_0x56697b(0x288))/0x6*(parseInt(_0x56697b(0x26d))/0x7)+-parseInt(_0x56697b(0x22f))/0x8+-parseInt(_0x56697b(0x272))/0x9*(parseInt(_0x56697b(0x204))/0xa)+-parseInt(_0x56697b(0x269))/0xb*(-parseInt(_0x56697b(0x1f5))/0xc);if(_0x202e78===_0x353cbb)break;else _0x1cf22c['push'](_0x1cf22c['shift']());}catch(_0x4916e0){_0x1cf22c['push'](_0x1cf22c['shift']());}}}(_0x2a94,0x431bd));import{Plugin as _0x4bb662,PendingActions as _0x2eec60}from'ckeditor5/src/core.js';import{CKEditorError as _0x9b2916,version as _0x260140,uid as _0x58d6ab}from'ckeditor5/src/utils.js';import{Notification as _0x4146cd}from'ckeditor5/src/ui.js';import{transformSets as _0x528d24,NoOperation as _0x326c77,InsertOperation as _0x1eb0c9,MarkerOperation as _0x28403f,RootAttributeOperation as _0x4b1a5b,OperationFactory as _0x2e3c12,History as _0x1a0ce3}from'ckeditor5/src/engine.js';import _0x352c37 from'./websocketgateway.js';import _0x2a23c8 from'./sessions.js';import _0x70279c from'./usermarkers.js';import{getTranslation as _0x4c8fcf}from'../common-translations.js';import{Compressor as _0x16bb18}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x44ad1a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x14f2(_0x3c8c53,_0x22b254){const _0x2a94f7=_0x2a94();return _0x14f2=function(_0x14f299,_0x9c613a){_0x14f299=_0x14f299-0x1dc;let _0x525309=_0x2a94f7[_0x14f299];return _0x525309;},_0x14f2(_0x3c8c53,_0x22b254);}import{User as _0x56717f,CollaborativeEditingService as _0x1ff895}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x4bb662{static get[_0x1eae1f(0x290)](){return[_0x352c37,_0x2a23c8,_0x70279c,_0x2eec60,_0x44ad1a,_0x4146cd];}static get[_0x1eae1f(0x267)](){const _0x1f2d59=_0x1eae1f;return _0x1f2d59(0x240);}static get[_0x1eae1f(0x2ca)](){return!0x0;}static get[_0x1eae1f(0x212)](){return!0x0;}get[_0x1eae1f(0x208)](){const _0x2b8551=_0x1eae1f;return this[_0x2b8551(0x21a)]+this[_0x2b8551(0x2a3)];}get[_0x1eae1f(0x21a)](){const _0x486e7f=_0x1eae1f;return this[_0x486e7f(0x29f)][_0x486e7f(0x291)]-this[_0x486e7f(0x2a3)];}get[_0x1eae1f(0x1de)](){const _0x12e709=_0x1eae1f,_0x430394=this[_0x12e709(0x29f)][_0x12e709(0x28d)]();for(let _0xd422e0=_0x430394[_0x12e709(0x2a0)]-0x1;_0xd422e0>=0x0;_0xd422e0--){const _0x1adc9=_0x430394[_0xd422e0];if(!this[_0x12e709(0x1dc)][_0x12e709(0x298)](_0x1adc9))return _0x1adc9[_0x12e709(0x2da)]+0x1-this[_0x12e709(0x2a3)];}return 0x0;}constructor(_0x126639){const _0x110166=_0x1eae1f;if(super(_0x126639),this[_0x110166(0x2a3)]=0x0,this[_0x110166(0x246)]=null,this[_0x110166(0x29f)]=new _0x1a0ce3(),this[_0x110166(0x1dd)][_0x110166(0x26e)][_0x110166(0x2e2)](_0x110166(0x2be),{}),this[_0x110166(0x1e2)]=this[_0x110166(0x1dd)][_0x110166(0x26e)][_0x110166(0x23a)](_0x110166(0x275)),!this[_0x110166(0x1e2)])throw new _0x9b2916(_0x110166(0x2e1),this);const _0x2d8962=_0x126639[_0x110166(0x26e)][_0x110166(0x23a)](_0x110166(0x2cb))||_0x260140;this[_0x110166(0x29a)]=new l[(_0x110166(0x234))](_0x2d8962,this[_0x110166(0x1e2)]),this[_0x110166(0x227)]=this[_0x110166(0x1dd)][_0x110166(0x209)][_0x110166(0x2ab)],this[_0x110166(0x22a)]=new _0x16bb18(),this[_0x110166(0x23c)]=[],this[_0x110166(0x2d2)]=new WeakSet(),this[_0x110166(0x202)]=new Set(),this[_0x110166(0x2d8)](_0x110166(0x263),!0x1),this[_0x110166(0x2d8)](_0x110166(0x24c),!0x1),this[_0x110166(0x1e1)]=null,this[_0x110166(0x21c)]=!0x1,this[_0x110166(0x2c4)]=null,this[_0x110166(0x22e)]=0x12c,this[_0x110166(0x2b9)]=this[_0x110166(0x22e)],this[_0x110166(0x20e)]=null,this[_0x110166(0x1dc)]=new WeakSet(),this[_0x110166(0x245)]=new X(this[_0x110166(0x1dc)]);}[_0x1eae1f(0x292)](){const _0x8c41e5=_0x1eae1f,_0x284cd9=this[_0x8c41e5(0x1dd)],_0x4cd9b0=_0x284cd9[_0x8c41e5(0x230)][_0x8c41e5(0x23a)](_0x44ad1a),_0x2876e8=_0x284cd9[_0x8c41e5(0x230)][_0x8c41e5(0x23a)](_0x352c37);this[_0x8c41e5(0x22c)](_0x4cd9b0,_0x8c41e5(0x2a4),(_0x1824ab,_0xa33b41)=>{const _0x1a7fe2=_0x8c41e5,_0x41e839=_0xa33b41[0x0];_0x41e839[_0x1a7fe2(0x20c)]&&(_0x1824ab[_0x1a7fe2(0x231)]=_0x4cd9b0[_0x1a7fe2(0x28a)](_0x41e839[_0x1a7fe2(0x20c)]),_0x1824ab[_0x1a7fe2(0x211)]()),null===_0x41e839[_0x1a7fe2(0x20c)]&&(_0x1824ab[_0x1a7fe2(0x231)]=null,_0x1824ab[_0x1a7fe2(0x211)]());},{'priority':_0x8c41e5(0x29b)}),this[_0x8c41e5(0x22c)](_0x284cd9[_0x8c41e5(0x209)][_0x8c41e5(0x2ab)][_0x8c41e5(0x2a6)],_0x8c41e5(0x26c),(_0x11ca8d,_0x5199c7)=>{const _0x435a77=_0x8c41e5;_0x5199c7[_0x435a77(0x2a2)]&&this[_0x435a77(0x244)]();}),this[_0x8c41e5(0x22c)](_0x284cd9[_0x8c41e5(0x21e)][_0x8c41e5(0x251)],_0x8c41e5(0x235),()=>{const _0x53c27b=_0x8c41e5;this[_0x53c27b(0x244)]();}),this[_0x8c41e5(0x254)](),_0x284cd9[_0x8c41e5(0x209)]['on'](_0x8c41e5(0x2a8),(_0xf32a13,_0x5f0594)=>{const _0x553a65=_0x8c41e5,_0x50b74e=_0x5f0594[0x0];_0x50b74e[_0x553a65(0x20b)]&&(this[_0x553a65(0x232)](_0x50b74e),this[_0x553a65(0x271)]()&&this[_0x553a65(0x2ae)]());}),this[_0x8c41e5(0x2c2)](),this[_0x8c41e5(0x1ea)](_0x8c41e5(0x1f4))['to'](_0x2876e8,_0x8c41e5(0x1f0),this,_0x8c41e5(0x24c),(_0x2c1ab3,_0x515d49)=>_0x8c41e5(0x213)===_0x2c1ab3&&!_0x515d49),this['on'](_0x8c41e5(0x233),()=>{const _0x1610fe=_0x8c41e5;this[_0x1610fe(0x1f4)]?_0x284cd9[_0x1610fe(0x24e)](_0x1610fe(0x20f)):_0x284cd9[_0x1610fe(0x2bd)](_0x1610fe(0x20f));}),this[_0x8c41e5(0x1f4)]?_0x284cd9[_0x8c41e5(0x24e)](_0x8c41e5(0x20f)):_0x284cd9[_0x8c41e5(0x2bd)](_0x8c41e5(0x20f)),this[_0x8c41e5(0x2d8)](_0x8c41e5(0x2df),!0x1);}async[_0x1eae1f(0x2bb)](){const _0x470831=_0x1eae1f,_0x2b60fc=this[_0x470831(0x1dd)][_0x470831(0x230)][_0x470831(0x23a)](_0x2a23c8),_0x56ede8=this[_0x470831(0x1dd)][_0x470831(0x230)][_0x470831(0x23a)](_0x352c37);try{this[_0x470831(0x263)]=!0x0,_0x2b60fc[_0x470831(0x1df)](this[_0x470831(0x1e2)]);const _0x207650=await this[_0x470831(0x29a)][_0x470831(0x2bb)](_0x56ede8[_0x470831(0x243)],this[_0x470831(0x1de)]);await this[_0x470831(0x255)](_0x207650)&&(this[_0x470831(0x263)]=!0x1,this[_0x470831(0x1f8)]());const _0x16cbd3=await this[_0x470831(0x29a)][_0x470831(0x2d6)]();_0x2b60fc[_0x470831(0x215)](this[_0x470831(0x1e2)],_0x16cbd3),this[_0x470831(0x29d)](),this[_0x470831(0x2df)]=!0x0;}catch(_0x1b91a4){if(function(_0x28113c){const _0x2a72c0=_0x470831;return _0x2a72c0(0x2d5)===_0x28113c[_0x2a72c0(0x25d)];}(_0x1b91a4)&&this[_0x470831(0x246)])await this[_0x470831(0x1eb)]();else{if(function(_0x4d1cd1){const _0x3a876c=_0x470831;return _0x3a876c(0x277)===_0x4d1cd1[_0x3a876c(0x25d)];}(_0x1b91a4)){const _0xd672d0=_0x4c8fcf(this[_0x470831(0x1dd)][_0x470831(0x2cc)],_0x470831(0x221));this[_0x470831(0x1f6)](_0xd672d0);}else{if(!(_0x1b91a4 instanceof J))throw _0x1b91a4;this[_0x470831(0x1f6)]();}}}}[_0x1eae1f(0x252)](){const _0x2eb328=_0x1eae1f,_0x5cd85d=this[_0x2eb328(0x1dd)][_0x2eb328(0x230)][_0x2eb328(0x23a)](_0x352c37),_0x51a9ad=this[_0x2eb328(0x1dd)][_0x2eb328(0x230)][_0x2eb328(0x23a)](_0x2a23c8);this[_0x2eb328(0x1dd)][_0x2eb328(0x2bd)](_0x2eb328(0x280)),_0x51a9ad[_0x2eb328(0x201)][_0x2eb328(0x298)](this[_0x2eb328(0x1e2)])&&_0x51a9ad[_0x2eb328(0x1df)](this[_0x2eb328(0x1e2)]),_0x5cd85d[_0x2eb328(0x1fa)](this),this[_0x2eb328(0x1fd)](),super[_0x2eb328(0x252)]();}async[_0x1eae1f(0x255)](_0x541330){const _0x116cf5=_0x1eae1f;if(this[_0x116cf5(0x246)]!==_0x541330[_0x116cf5(0x246)]&&this[_0x116cf5(0x20e)]!==_0x541330[_0x116cf5(0x1e4)])throw new J();return this[_0x116cf5(0x246)]=_0x541330[_0x116cf5(0x246)],this[_0x116cf5(0x237)]([],{..._0x541330,'wereChangesApplied':!0x1,'data':_0x541330[_0x116cf5(0x2b4)]},_0x116cf5(0x2bb));}async[_0x1eae1f(0x1ff)](_0x1c7d48,_0xd8c9ec=!0x1){const _0x5cc69=_0x1eae1f,{connection:_0x5bc27e}=this[_0x5cc69(0x1dd)][_0x5cc69(0x230)][_0x5cc69(0x23a)](_0x352c37);l[_0x5cc69(0x234)][_0x5cc69(0x2d6)](_0x5bc27e,this[_0x5cc69(0x1e2)])[_0x5cc69(0x205)](_0x32938e=>this[_0x5cc69(0x2c6)](_0x32938e))[_0x5cc69(0x242)](_0x85f73d=>{const _0x5d8166=_0x5cc69;this[_0x5d8166(0x24d)](_0x5d8166(0x1e6),_0x85f73d);}),this[_0x5cc69(0x22c)](this[_0x5cc69(0x29a)],_0x5cc69(0x2b6),this[_0x5cc69(0x25e)][_0x5cc69(0x1ea)](this)),this[_0x5cc69(0x22c)](this[_0x5cc69(0x29a)],_0x5cc69(0x1e7),(_0x5e3794,_0x159fbb)=>{const _0xe11109=_0x5cc69;this[_0xe11109(0x24d)](_0xe11109(0x2c7),_0x159fbb);}),this[_0x5cc69(0x22c)](this[_0x5cc69(0x29a)],_0x5cc69(0x1f3),()=>{const _0xac51e3=_0x5cc69;this[_0xac51e3(0x2df)]=!0x1;});const _0x35e606=this[_0x5cc69(0x245)][_0x5cc69(0x276)](_0x1c7d48);this[_0x5cc69(0x263)]=!0x0;const _0x55d4b4=await this[_0x5cc69(0x29a)][_0x5cc69(0x1ef)](_0x5bc27e,this[_0x5cc69(0x258)](_0x1c7d48),_0x35e606);if(this[_0x5cc69(0x246)]=_0x55d4b4[_0x5cc69(0x246)],_0xd8c9ec){if(!_0x55d4b4[_0x5cc69(0x2bf)])return void this[_0x5cc69(0x1f6)]();this[_0x5cc69(0x263)]=!0x1,this[_0x5cc69(0x1f8)](),this[_0x5cc69(0x29f)][_0x5cc69(0x217)](),this[_0x5cc69(0x2a3)]=_0x55d4b4[_0x5cc69(0x210)],this[_0x5cc69(0x29f)][_0x5cc69(0x291)]=this[_0x5cc69(0x2a3)],await this[_0x5cc69(0x237)](_0x1c7d48,_0x55d4b4,_0x5cc69(0x28f));}else await this[_0x5cc69(0x27e)](_0x55d4b4,_0x1c7d48);this[_0x5cc69(0x29d)](),this[_0x5cc69(0x2df)]=!0x0;}[_0x1eae1f(0x29d)](){const _0x38bea1=_0x1eae1f,_0x2b3461=this[_0x38bea1(0x1dd)][_0x38bea1(0x230)][_0x38bea1(0x23a)](_0x2a23c8),_0x316426=this[_0x38bea1(0x1dd)][_0x38bea1(0x230)][_0x38bea1(0x23a)](_0x70279c),_0x25bbb4=_0x2b3461[_0x38bea1(0x201)][_0x38bea1(0x23a)](this[_0x38bea1(0x1e2)]);_0x25bbb4&&_0x25bbb4[_0x38bea1(0x2a0)]>0x1?_0x316426[_0x38bea1(0x2d7)]():this[_0x38bea1(0x22c)](_0x2b3461,_0x38bea1(0x1fc)+this[_0x38bea1(0x1e2)],()=>{const _0x5b00cc=_0x38bea1;0x2===_0x2b3461[_0x5b00cc(0x201)][_0x5b00cc(0x23a)](this[_0x5b00cc(0x1e2)])[_0x5b00cc(0x2a0)]&&_0x316426[_0x5b00cc(0x2d7)]();});}async[_0x1eae1f(0x25e)](_0x1c11d2,_0x4fc12a,_0x4c5115,_0x1f8d48){const _0x3b2b56=_0x1eae1f;if(!this[_0x3b2b56(0x263)]&&this[_0x3b2b56(0x227)][_0x3b2b56(0x291)]==_0x4fc12a){const _0x158acb=this[_0x3b2b56(0x261)](_0x4c5115,_0x1f8d48);await this[_0x3b2b56(0x203)](_0x158acb),this[_0x3b2b56(0x247)](_0x158acb,_0x4fc12a,_0x4c5115[_0x3b2b56(0x1e4)])||this[_0x3b2b56(0x24d)](_0x3b2b56(0x228));}}async[_0x1eae1f(0x1eb)](){const _0x890aff=_0x1eae1f;this[_0x890aff(0x1fd)]();const {locale:_0x579982}=this[_0x890aff(0x1dd)];let _0x476c1a;try{_0x476c1a=await this[_0x890aff(0x29a)][_0x890aff(0x2db)]();}catch(_0x29dc66){const _0x2fb8d2=_0x4c8fcf(_0x579982,_0x890aff(0x2b8));return void this[_0x890aff(0x1f6)](_0x2fb8d2);}const _0x1da4f5=_0x476c1a[_0x890aff(0x285)]||_0x476c1a[_0x890aff(0x2dc)];if(this[_0x890aff(0x20e)]===_0x1da4f5[_0x890aff(0x1e4)])await this[_0x890aff(0x1ff)](this[_0x890aff(0x1dd)][_0x890aff(0x209)][_0x890aff(0x2ab)][_0x890aff(0x1f1)][_0x890aff(0x28d)](),!0x0);else{const _0x5d7172=_0x4c8fcf(_0x579982,_0x890aff(0x262));this[_0x890aff(0x1f6)](_0x5d7172);}}[_0x1eae1f(0x1fd)](){const _0x10fd03=_0x1eae1f;this[_0x10fd03(0x29a)][_0x10fd03(0x23f)](),this[_0x10fd03(0x23c)]=[],clearTimeout(this[_0x10fd03(0x2c4)]),this[_0x10fd03(0x2d1)](this[_0x10fd03(0x29a)]);}[_0x1eae1f(0x2c6)](_0x281478){const _0x313518=_0x1eae1f,_0x35ca25=this[_0x313518(0x1dd)][_0x313518(0x230)][_0x313518(0x23a)](_0x2a23c8);this[_0x313518(0x22c)](_0x35ca25,_0x313518(0x1fc)+this[_0x313518(0x1e2)],(_0x571c20,{session:_0x5f58d4})=>{const _0x227cae=_0x313518;if(_0x5f58d4['id']===_0x35ca25[_0x227cae(0x296)]){_0x571c20[_0x227cae(0x1e5)]();const _0x4b2e10=this[_0x227cae(0x1dd)][_0x227cae(0x230)][_0x227cae(0x298)](_0x227cae(0x259))&&this[_0x227cae(0x1dd)][_0x227cae(0x230)][_0x227cae(0x23a)](_0x227cae(0x259));let _0x8d8897=_0x5f58d4[_0x227cae(0x224)];_0x4b2e10&&_0x4b2e10[_0x227cae(0x2ad)]&&(_0x8d8897=_0x8d8897[_0x227cae(0x1f9)](_0x33ad8c=>_0x227cae(0x23e)!==_0x33ad8c)),this[_0x227cae(0x1dd)][_0x227cae(0x230)][_0x227cae(0x23a)](_0x227cae(0x289))[_0x227cae(0x21d)](_0x8d8897,this[_0x227cae(0x1e2)]);}}),_0x35ca25[_0x313518(0x215)](this[_0x313518(0x1e2)],_0x281478);}[_0x1eae1f(0x254)](){const _0x49f2d6=_0x1eae1f,_0x28a7c7=this[_0x49f2d6(0x1dd)][_0x49f2d6(0x2b4)][_0x49f2d6(0x2d8)];this[_0x49f2d6(0x1dd)][_0x49f2d6(0x2b4)][_0x49f2d6(0x2d8)]=(..._0x2b3d9c)=>{const _0x573030=_0x49f2d6;if(!_0x2b3d9c[_0x2b3d9c[_0x573030(0x2a0)]-0x1][_0x573030(0x1ec)])throw new _0x9b2916(_0x573030(0x260),this);_0x28a7c7[_0x573030(0x236)](this[_0x573030(0x1dd)][_0x573030(0x2b4)],_0x2b3d9c);};}[_0x1eae1f(0x2c2)](){const _0xa6b9b0=_0x1eae1f;this[_0xa6b9b0(0x1dd)][_0xa6b9b0(0x2b4)]['on'](_0xa6b9b0(0x292),(_0x2614a9,[_0x271adc])=>{const _0x51326b=_0xa6b9b0;if(this[_0x51326b(0x227)][_0x51326b(0x291)])throw new _0x9b2916(_0x51326b(0x299),this);_0x2614a9[_0x51326b(0x211)](),this[_0x51326b(0x25c)]();const _0x1a48fb=this[_0x51326b(0x1dd)][_0x51326b(0x26e)][_0x51326b(0x23a)](_0x51326b(0x268)),_0x4b331f=this[_0x51326b(0x256)](_0x271adc,_0x1a48fb);0x0==_0x4b331f[_0x51326b(0x2a0)]&&_0x4b331f[_0x51326b(0x29e)](new _0x326c77(0x0)),_0x2614a9[_0x51326b(0x231)]=this[_0x51326b(0x1ff)](_0x4b331f)[_0x51326b(0x205)](()=>{const _0x201276=_0x51326b;this[_0x201276(0x1dd)][_0x201276(0x230)][_0x201276(0x23a)](_0x352c37)[_0x201276(0x21b)](this),this[_0x201276(0x1dd)][_0x201276(0x2b4)][_0x201276(0x2b5)](_0x201276(0x279));})[_0x51326b(0x242)](_0x138d71=>this[_0x51326b(0x24d)](_0x51326b(0x2cd),_0x138d71))[_0x51326b(0x2de)](()=>this[_0x51326b(0x1f8)]());},{'priority':_0xa6b9b0(0x29b)}),this[_0xa6b9b0(0x1dd)]['on'](_0xa6b9b0(0x2b7),async(_0x39ac22,[_0x2f9135,_0x3f7138])=>{const _0x4b8c90=_0xa6b9b0;_0x39ac22[_0x4b8c90(0x211)]();const _0x32a4ae=this[_0x4b8c90(0x1dd)][_0x4b8c90(0x209)][_0x4b8c90(0x2ab)][_0x4b8c90(0x1f7)](_0x2f9135);if(!this[_0x4b8c90(0x202)][_0x4b8c90(0x298)](_0x2f9135)){const _0x2c0f39=_0x3f7138&&_0x3f7138[_0x4b8c90(0x2b4)]?_0x3f7138[_0x4b8c90(0x2b4)]:'',_0x2961db=_0x3f7138&&_0x3f7138[_0x4b8c90(0x2d4)]?_0x3f7138[_0x4b8c90(0x2d4)]:{};await this[_0x4b8c90(0x2c1)](_0x2f9135,_0x2c0f39,_0x2961db);}this[_0x4b8c90(0x1dd)][_0x4b8c90(0x209)][_0x4b8c90(0x206)]({'isUndoable':!0x1},()=>{const _0x1dd450=_0x4b8c90;_0x32a4ae[_0x1dd450(0x27d)]=!0x0,this[_0x1dd450(0x1dd)][_0x1dd450(0x209)][_0x1dd450(0x2ab)][_0x1dd450(0x26f)][_0x1dd450(0x25a)](_0x32a4ae);});},{'priority':_0xa6b9b0(0x29b)});}async[_0x1eae1f(0x203)](_0x4d7c33){const _0x5b7def=_0x1eae1f,_0x71ba55=this[_0x5b7def(0x1dd)][_0x5b7def(0x230)][_0x5b7def(0x23a)](_0x44ad1a),{connection:_0x429860}=this[_0x5b7def(0x1dd)][_0x5b7def(0x230)][_0x5b7def(0x23a)](_0x352c37),_0x37ff37=new Set();for(const _0x3112fe of _0x4d7c33){const _0x49474d=_0x3112fe[_0x5b7def(0x20c)];_0x49474d&&!_0x71ba55[_0x5b7def(0x28a)](_0x49474d)&&_0x37ff37[_0x5b7def(0x1fe)](_0x49474d);}if(0x0===_0x37ff37[_0x5b7def(0x238)])return;const _0x67a6ff=await _0x56717f[_0x5b7def(0x266)](_0x429860,Array[_0x5b7def(0x249)](_0x37ff37));for(const _0x23f20e of _0x67a6ff)_0x71ba55[_0x5b7def(0x28a)](_0x23f20e['id'])||_0x71ba55[_0x5b7def(0x27f)](_0x23f20e);}[_0x1eae1f(0x256)](_0x1e7eb7,_0x5bb0b4={}){const _0x6e8dc0=_0x1eae1f,_0x4b2208=this[_0x6e8dc0(0x1dd)][_0x6e8dc0(0x209)],_0x27b765=[];let _0x12c0ce=0x0;const _0x40b010=_0x6e8dc0(0x2a9)==typeof _0x1e7eb7?{'main':_0x1e7eb7}:_0x1e7eb7;for(const _0x41cf76 of Object[_0x6e8dc0(0x2b3)](_0x40b010)){if(!this[_0x6e8dc0(0x227)][_0x6e8dc0(0x239)][_0x6e8dc0(0x298)](_0x41cf76))throw new _0x9b2916(_0x6e8dc0(0x2dd),this);const _0x4abb04=this[_0x6e8dc0(0x1dd)][_0x6e8dc0(0x2b4)][_0x6e8dc0(0x2aa)](_0x40b010[_0x41cf76]),_0x4f4aec=this[_0x6e8dc0(0x227)][_0x6e8dc0(0x1f7)](_0x41cf76),_0x258c61=new _0x1eb0c9(_0x4b2208[_0x6e8dc0(0x222)](_0x4f4aec,0x0),_0x4abb04,_0x12c0ce++);_0x27b765[_0x6e8dc0(0x29e)](_0x258c61);for(const [_0xa90a68,_0x2707c5]of _0x4abb04[_0x6e8dc0(0x2bc)]){const _0x70b081=_0x4b2208[_0x6e8dc0(0x200)](_0x4b2208[_0x6e8dc0(0x229)](_0x4f4aec,_0x2707c5[_0x6e8dc0(0x283)][_0x6e8dc0(0x27a)][_0x6e8dc0(0x207)]()),_0x4b2208[_0x6e8dc0(0x229)](_0x4f4aec,_0x2707c5[_0x6e8dc0(0x226)][_0x6e8dc0(0x27a)][_0x6e8dc0(0x207)]())),_0x1998cb=new _0x28403f(_0xa90a68,null,_0x70b081,_0x4b2208[_0x6e8dc0(0x2bc)],!0x0,_0x12c0ce++);_0x27b765[_0x6e8dc0(0x29e)](_0x1998cb);}}if(_0x5bb0b4)for(const [_0x15c07d,_0x56c11d]of Object[_0x6e8dc0(0x250)](_0x5bb0b4)){const _0xe0ff30=_0x4b2208[_0x6e8dc0(0x2ab)][_0x6e8dc0(0x1f7)](_0x15c07d);if(!_0xe0ff30)throw new _0x9b2916(_0x6e8dc0(0x274),null);for(const [_0x297cae,_0x249717]of Object[_0x6e8dc0(0x250)](_0x56c11d))if(null!==_0x249717){const _0x33443c=new _0x4b1a5b(_0xe0ff30,_0x297cae,null,_0x249717,_0x12c0ce++);_0x27b765[_0x6e8dc0(0x29e)](_0x33443c);}}return _0x27b765;}async[_0x1eae1f(0x2c1)](_0x2d402a,_0x4d5997,_0x2a61cd){const _0x14000f=_0x1eae1f;this[_0x14000f(0x256)]({[_0x2d402a]:_0x4d5997},{[_0x2d402a]:_0x2a61cd})[_0x14000f(0x218)]((_0x400431,_0x2de3c8)=>{const _0x570997=_0x14000f;_0x400431[_0x570997(0x2da)]=this[_0x570997(0x227)][_0x570997(0x291)]+_0x2de3c8,_0x400431[_0x570997(0x27c)]=!0x0,this[_0x570997(0x232)](_0x400431);}),this[_0x14000f(0x2ae)](),await this[_0x14000f(0x286)]();}async[_0x1eae1f(0x27e)](_0x174657,_0x6e5663){const _0x51ca33=_0x1eae1f;let _0x43f5c3;this[_0x51ca33(0x2a3)]=_0x174657[_0x51ca33(0x210)];const _0x3f3221=_0x174657[_0x51ca33(0x2bf)]&&!_0x174657[_0x51ca33(0x281)],_0x275983=_0x3f3221?0x0:_0x174657[_0x51ca33(0x2b4)][_0x51ca33(0x2da)];if(_0x6e5663[_0x51ca33(0x218)](_0x581699=>{const _0x37a845=_0x51ca33;_0x581699[_0x37a845(0x27c)]=!0x0,_0x581699[_0x37a845(0x2cf)]=_0x174657[_0x37a845(0x24f)],_0x581699[_0x37a845(0x20c)]=null;}),_0x3f3221)_0x43f5c3=_0x6e5663,this[_0x51ca33(0x29c)](_0x43f5c3,_0x3f3221);else{if(_0x174657[_0x51ca33(0x281)]){const _0x5dcb7e=this[_0x51ca33(0x256)](_0x174657[_0x51ca33(0x281)]);this[_0x51ca33(0x227)][_0x51ca33(0x1f1)][_0x51ca33(0x291)]=-_0x5dcb7e[_0x51ca33(0x2a0)],_0x5dcb7e[_0x51ca33(0x218)](_0x3f8b47=>{const _0x5b8c0d=_0x51ca33;_0x3f8b47[_0x5b8c0d(0x2da)]-=_0x5dcb7e[_0x5b8c0d(0x2a0)],_0x3f8b47[_0x5b8c0d(0x2cf)]=_0x174657[_0x5b8c0d(0x24f)],_0x3f8b47[_0x5b8c0d(0x27c)]=!0x0,_0x3f8b47[_0x5b8c0d(0x20c)]=null;}),this[_0x51ca33(0x29c)](_0x5dcb7e,!0x0),this[_0x51ca33(0x29f)][_0x51ca33(0x291)]=-_0x5dcb7e[_0x51ca33(0x2a0)]+this[_0x51ca33(0x2a3)],this[_0x51ca33(0x2c0)](_0x5dcb7e);}this[_0x51ca33(0x227)][_0x51ca33(0x1f1)][_0x51ca33(0x291)]=_0x275983,_0x43f5c3=this[_0x51ca33(0x261)](_0x174657[_0x51ca33(0x2b4)],_0x174657[_0x51ca33(0x2a5)]),await this[_0x51ca33(0x203)](_0x43f5c3),this[_0x51ca33(0x29c)](_0x43f5c3,_0x3f3221);}_0x174657[_0x51ca33(0x1e4)]&&(this[_0x51ca33(0x245)][_0x51ca33(0x253)](_0x43f5c3,_0x174657[_0x51ca33(0x1e4)]),this[_0x51ca33(0x20e)]=_0x174657[_0x51ca33(0x1e4)]),this[_0x51ca33(0x29f)][_0x51ca33(0x291)]=_0x275983+this[_0x51ca33(0x2a3)],this[_0x51ca33(0x2c0)](_0x43f5c3),_0x6e5663[_0x51ca33(0x1f9)](_0x3d85bd=>{const _0x499eec=_0x51ca33,_0x114ac2=this[_0x499eec(0x23d)](_0x3d85bd);return _0x114ac2&&!this[_0x499eec(0x202)][_0x499eec(0x298)](_0x114ac2);})[_0x51ca33(0x218)]((_0x1d7439,_0x21d23d)=>{const _0x443f10=_0x51ca33;_0x1d7439[_0x443f10(0x2da)]=this[_0x443f10(0x227)][_0x443f10(0x291)]+_0x21d23d,this[_0x443f10(0x232)](_0x1d7439);}),this[_0x51ca33(0x271)]()?(this[_0x51ca33(0x2b9)]=0x0,this[_0x51ca33(0x2ae)](!0x0),await this[_0x51ca33(0x286)]()):(this[_0x51ca33(0x263)]=!0x1,this[_0x51ca33(0x1f8)]());}[_0x1eae1f(0x24d)](_0x2ade92,_0x592b83,_0xff1048){const _0x2b26b1=_0x1eae1f;throw this[_0x2b26b1(0x263)]=!0x0,_0x592b83&&console[_0x2b26b1(0x1e7)](_0x592b83),_0xff1048&&this[_0x2b26b1(0x1dd)][_0x2b26b1(0x2bd)](_0x2b26b1(0x23b)),new _0x9b2916(_0x2ade92,this[_0x2b26b1(0x1dd)]);}[_0x1eae1f(0x232)](_0xca6ce8){const _0x1e5124=_0x1eae1f;this[_0x1e5124(0x2d2)][_0x1e5124(0x298)](_0xca6ce8)||(this[_0x1e5124(0x2d2)][_0x1e5124(0x1fe)](_0xca6ce8),this[_0x1e5124(0x23c)][_0x1e5124(0x29e)](_0xca6ce8),this[_0x1e5124(0x1e1)]||_0x1e5124(0x216)==_0xca6ce8[_0x1e5124(0x1e3)]&&!_0xca6ce8[_0x1e5124(0x24b)]||this[_0x1e5124(0x25c)]());}[_0x1eae1f(0x2ae)](_0x8f4013=!0x1){const _0x13127c=_0x1eae1f;!_0x8f4013&&this[_0x13127c(0x263)]||(this[_0x13127c(0x263)]=!0x0,clearTimeout(this[_0x13127c(0x2c4)]),this[_0x13127c(0x2c4)]=setTimeout(()=>{const _0x266f0=_0x13127c;this[_0x266f0(0x2ba)]()[_0x266f0(0x205)](_0x266e21=>{const _0x2fed60=_0x266f0;_0x266e21&&(this[_0x2fed60(0x1f8)](),this[_0x2fed60(0x263)]=!0x1);})[_0x266f0(0x242)](_0x199b27=>{const _0x3684af=_0x266f0;this[_0x3684af(0x1f8)](),this[_0x3684af(0x263)]=!0x1,function(_0x4f83a0){const _0x52ae17=_0x3684af;return _0x4f83a0[_0x52ae17(0x28c)][_0x52ae17(0x2c3)](_0x52ae17(0x248))||_0x4f83a0[_0x52ae17(0x28c)][_0x52ae17(0x2c3)](_0x52ae17(0x270))||_0x4f83a0[_0x52ae17(0x28c)][_0x52ae17(0x2c3)](_0x52ae17(0x2e0));}(_0x199b27)||this[_0x3684af(0x24d)](_0x199b27[_0x3684af(0x28c)],_0x199b27,!0x0);});},this[_0x13127c(0x2b9)]));}[_0x1eae1f(0x286)](){return new Promise(_0x262be2=>{const _0x26d60d=_0x14f2;this['on'](_0x26d60d(0x1f2),()=>{_0x262be2();});});}async[_0x1eae1f(0x2ba)](){const _0x5e41ce=_0x1eae1f,_0x5aeda5=this[_0x5e41ce(0x1dd)][_0x5e41ce(0x230)][_0x5e41ce(0x23a)](_0x70279c);if(this[_0x5e41ce(0x1fb)]()&&(_0x5aeda5[_0x5e41ce(0x2d7)](),this[_0x5e41ce(0x21c)]=!0x1),!this[_0x5e41ce(0x271)]())return!0x0;const _0x15a90f=[...this[_0x5e41ce(0x23c)]];for(const _0x1944bd of _0x15a90f)_0x1944bd[_0x5e41ce(0x2d9)]=this[_0x5e41ce(0x227)][_0x5e41ce(0x1f1)][_0x5e41ce(0x297)](_0x1944bd);const _0x58da0e=this[_0x5e41ce(0x245)][_0x5e41ce(0x276)](_0x15a90f),_0xd94025=K++,_0x26c425=this[_0x5e41ce(0x258)](_0x15a90f),_0x3785ff=await this[_0x5e41ce(0x29a)][_0x5e41ce(0x20a)](_0x26c425,_0x26c425[_0x5e41ce(0x2da)],_0x58da0e);try{return await this[_0x5e41ce(0x237)](_0x15a90f,_0x3785ff,_0xd94025);}catch(_0x4c12ab){return this[_0x5e41ce(0x24d)](_0x5e41ce(0x223),_0x4c12ab);}}async[_0x1eae1f(0x237)](_0x2a3118,_0x6e3d4b,_0x13ad0b){const _0xdcbba=_0x1eae1f;if(_0xdcbba(0x1e7)in _0x6e3d4b)throw _0x6e3d4b[_0xdcbba(0x1e7)];let _0x41a252=!0x1;if(_0x6e3d4b[_0xdcbba(0x2bf)]){_0x6e3d4b[_0xdcbba(0x1e4)]&&(this[_0xdcbba(0x20e)]=_0x6e3d4b[_0xdcbba(0x1e4)]),this[_0xdcbba(0x23c)]=this[_0xdcbba(0x23c)][_0xdcbba(0x1f9)](_0x53ff29=>!_0x2a3118[_0xdcbba(0x265)](_0x53ff29));for(const _0x17c85e of _0x2a3118)_0x17c85e[_0xdcbba(0x2cf)]=_0xdcbba(0x225)in _0x6e3d4b&&_0x6e3d4b[_0xdcbba(0x225)]||void 0x0;Q(_0x2a3118,_0x6e3d4b[_0xdcbba(0x291)]-_0x2a3118[_0xdcbba(0x2a0)]),this[_0xdcbba(0x2c0)](_0x2a3118);const _0x3388b2=_0x2a3118[_0xdcbba(0x1f9)](_0x1fb111=>{const _0x4b133b=_0xdcbba;if(!_0x1fb111[_0x4b133b(0x27c)])return!0x1;const _0x157026=this[_0x4b133b(0x23d)](_0x1fb111);return _0x157026&&!this[_0x4b133b(0x202)][_0x4b133b(0x298)](_0x157026);});Q(_0x3388b2,this[_0xdcbba(0x227)][_0xdcbba(0x291)]),this[_0xdcbba(0x29c)](_0x3388b2),_0x41a252=!0x0,this[_0xdcbba(0x2b9)]=this[_0xdcbba(0x22e)];}else{const _0x3eccc3=this[_0xdcbba(0x261)](_0x6e3d4b[_0xdcbba(0x2b4)],_0x6e3d4b[_0xdcbba(0x2a5)])[_0xdcbba(0x1f9)](_0xda6bbb=>_0xda6bbb[_0xdcbba(0x2da)]>=this[_0xdcbba(0x21a)]);_0x3eccc3[_0xdcbba(0x218)](_0x5720b8=>this[_0xdcbba(0x1ee)](_0x5720b8)),this[_0xdcbba(0x23c)]=this[_0xdcbba(0x23c)][_0xdcbba(0x1f9)](_0x85d13b=>!_0x85d13b[_0xdcbba(0x27c)]||!this[_0xdcbba(0x202)][_0xdcbba(0x298)](this[_0xdcbba(0x23d)](_0x85d13b))),this[_0xdcbba(0x23c)][_0xdcbba(0x2a0)]&&Q(this[_0xdcbba(0x23c)],this[_0xdcbba(0x23c)][0x0][_0xdcbba(0x2da)]),await this[_0xdcbba(0x203)](_0x3eccc3),_0x41a252=this[_0xdcbba(0x247)](_0x3eccc3,_0x6e3d4b[_0xdcbba(0x291)],_0x6e3d4b[_0xdcbba(0x1e4)]),this[_0xdcbba(0x2b9)]=Math[_0xdcbba(0x1e0)](this[_0xdcbba(0x2b9)]/0x2);}return _0x41a252?!this[_0xdcbba(0x271)]()||(this[_0xdcbba(0x2ae)](!0x0),!0x1):this[_0xdcbba(0x24d)](_0xdcbba(0x2b0));}[_0x1eae1f(0x247)](_0x3a1fce,_0x379a98,_0x5e3353){const _0x153aa2=_0x1eae1f;try{const _0x1f8559={'document':this[_0x153aa2(0x227)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x43e759,operationsB:_0x395cf5,originalOperations:_0xb7db12}=_0x528d24(_0x3a1fce,this[_0x153aa2(0x23c)],_0x1f8559);Q(_0x43e759,this[_0x153aa2(0x227)][_0x153aa2(0x291)]),Q(_0x395cf5,_0x379a98);for(const _0x1f88ad of _0x43e759){const _0xc62949=_0xb7db12[_0x153aa2(0x23a)](_0x1f88ad);_0x1f88ad[_0x153aa2(0x20c)]=_0xc62949?_0xc62949[_0x153aa2(0x20c)]:null;}_0x5e3353&&(this[_0x153aa2(0x245)][_0x153aa2(0x253)](_0x3a1fce,_0x5e3353),this[_0x153aa2(0x20e)]=_0x5e3353),this[_0x153aa2(0x23c)]=[..._0x395cf5],this[_0x153aa2(0x29c)](_0x43e759),this[_0x153aa2(0x2c0)](_0x3a1fce);}catch(_0x3f00c2){return console[_0x153aa2(0x1e7)](_0x3f00c2),!0x1;}return!0x0;}[_0x1eae1f(0x29c)](_0x20e462,_0x41f947=!0x1){const _0x14f2b0=_0x1eae1f;this[_0x14f2b0(0x1dd)][_0x14f2b0(0x209)][_0x14f2b0(0x206)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4cd498=>{const _0x38f599=_0x14f2b0;for(const _0x4d4d99 of _0x20e462)this[_0x38f599(0x2d2)][_0x38f599(0x1fe)](_0x4d4d99),this[_0x38f599(0x1ee)](_0x4d4d99),_0x4cd498[_0x38f599(0x21f)][_0x38f599(0x2ac)](_0x4d4d99),this[_0x38f599(0x1dd)][_0x38f599(0x209)][_0x38f599(0x2a8)](_0x4d4d99);});}[_0x1eae1f(0x1ee)](_0x26b07c){const _0x3b2e9d=_0x1eae1f,_0x5d0c39=this[_0x3b2e9d(0x23d)](_0x26b07c);_0x5d0c39&&this[_0x3b2e9d(0x202)][_0x3b2e9d(0x1fe)](_0x5d0c39);}[_0x1eae1f(0x23d)](_0xb49694){const _0x2e0b56=_0x1eae1f;let _0x3733ca,_0x52ecac;switch(_0xb49694[_0x2e0b56(0x1e3)]){case _0x2e0b56(0x2b2):_0x3733ca=_0xb49694[_0x2e0b56(0x22d)][_0x2e0b56(0x293)];break;case _0x2e0b56(0x216):if(_0x52ecac=_0xb49694[_0x2e0b56(0x1e8)],!_0x52ecac)return null;_0x3733ca=_0x52ecac[_0x2e0b56(0x293)];break;case _0x2e0b56(0x25f):_0x3733ca=_0xb49694[_0x2e0b56(0x293)];break;case _0x2e0b56(0x284):_0x3733ca=_0xb49694[_0x2e0b56(0x1ed)];break;case _0x2e0b56(0x24a):_0x3733ca=_0xb49694[_0x2e0b56(0x2af)][_0x2e0b56(0x293)];break;default:return null;}return _0x3733ca[_0x2e0b56(0x22b)];}[_0x1eae1f(0x2c0)](_0x3410b1){const _0x21b8cf=_0x1eae1f;_0x3410b1[_0x21b8cf(0x218)](_0x4e6550=>{const _0x2b7d0c=_0x21b8cf,_0x37f671=_0x4e6550[_0x2b7d0c(0x220)]();_0x37f671[_0x2b7d0c(0x20c)]=_0x4e6550[_0x2b7d0c(0x20c)],_0x37f671[_0x2b7d0c(0x27c)]=!!_0x4e6550[_0x2b7d0c(0x27c)],_0x37f671[_0x2b7d0c(0x2cf)]=_0x4e6550[_0x2b7d0c(0x2cf)],_0x37f671[_0x2b7d0c(0x2da)]+=this[_0x2b7d0c(0x2a3)],_0x4e6550[_0x2b7d0c(0x257)]&&this[_0x2b7d0c(0x1dc)][_0x2b7d0c(0x1fe)](_0x37f671),this[_0x2b7d0c(0x29f)][_0x2b7d0c(0x2ac)](_0x37f671);});}[_0x1eae1f(0x1f6)](_0x42f897){const _0x59e768=_0x1eae1f,_0x285590=this[_0x59e768(0x1dd)][_0x59e768(0x230)][_0x59e768(0x23a)](_0x59e768(0x2a1)),_0x27b6a5=this[_0x59e768(0x1dd)][_0x59e768(0x2cc)];_0x42f897||(_0x42f897=_0x4c8fcf(_0x27b6a5,_0x59e768(0x287))),_0x285590[_0x59e768(0x295)](_0x42f897,{'title':_0x4c8fcf(_0x27b6a5,_0x59e768(0x264)),'namespace':_0x59e768(0x282)}),this[_0x59e768(0x24c)]=!0x0,clearTimeout(this[_0x59e768(0x2c4)]),this[_0x59e768(0x23c)]=[],this[_0x59e768(0x1dd)][_0x59e768(0x230)][_0x59e768(0x23a)](_0x352c37)[_0x59e768(0x252)]();}[_0x1eae1f(0x25c)](){const _0xdeffa9=_0x1eae1f;this[_0xdeffa9(0x1e1)]||(this[_0xdeffa9(0x1e1)]=this[_0xdeffa9(0x1dd)][_0xdeffa9(0x230)][_0xdeffa9(0x23a)](_0x2eec60)[_0xdeffa9(0x1fe)](_0x4c8fcf(this[_0xdeffa9(0x1dd)][_0xdeffa9(0x2cc)],_0xdeffa9(0x2c5))));}[_0x1eae1f(0x1f8)](){const _0x208b87=_0x1eae1f;this[_0x208b87(0x1e1)]&&(this[_0x208b87(0x1dd)][_0x208b87(0x230)][_0x208b87(0x23a)](_0x2eec60)[_0x208b87(0x2d0)](this[_0x208b87(0x1e1)]),this[_0x208b87(0x1e1)]=null);}[_0x1eae1f(0x258)](_0x1da932){const _0x2a31bc=_0x1eae1f,_0x532280=_0x1da932[_0x2a31bc(0x2a7)](_0x5a2998=>_0x5a2998[_0x2a31bc(0x2c9)]());return this[_0x2a31bc(0x22a)][_0x2a31bc(0x20d)](_0x532280);}[_0x1eae1f(0x261)](_0xec1dab,_0x384841){const _0x17bfe7=_0x1eae1f;return this[_0x17bfe7(0x22a)][_0x17bfe7(0x273)](_0xec1dab)[_0x17bfe7(0x2a7)]((_0x1db18b,_0x5626fd)=>{const _0x50bae5=_0x17bfe7,_0x8e5666=_0x50bae5(0x292)==_0x384841[_0x5626fd][_0x50bae5(0x1e3)];if(_0x50bae5(0x28b)==_0x1db18b[_0x50bae5(0x26a)]){const _0x47b23f=_0x1db18b[_0x50bae5(0x22d)][_0x50bae5(0x293)];!this[_0x50bae5(0x227)][_0x50bae5(0x1f7)](_0x47b23f)&&(this[_0x50bae5(0x227)][_0x50bae5(0x214)](_0x50bae5(0x25b),_0x47b23f)[_0x50bae5(0x241)]=!0x1);}const _0x6116d1=_0x2e3c12[_0x50bae5(0x2ce)](_0x1db18b,this[_0x50bae5(0x227)]);return _0x6116d1[_0x50bae5(0x2d9)]=_0x1db18b[_0x50bae5(0x2d9)],_0x6116d1[_0x50bae5(0x27c)]=_0x8e5666,_0x6116d1[_0x50bae5(0x20c)]=_0x8e5666?null:_0x384841[_0x5626fd][_0x50bae5(0x2d3)],_0x6116d1[_0x50bae5(0x257)]=_0x50bae5(0x2c8)===_0x384841[_0x5626fd][_0x50bae5(0x1e3)],_0x6116d1[_0x50bae5(0x2cf)]=_0x384841[_0x5626fd][_0x50bae5(0x2cf)],_0x6116d1;});}[_0x1eae1f(0x244)](){const _0x357fe1=_0x1eae1f;this[_0x357fe1(0x21c)]=!0x0,this[_0x357fe1(0x1fb)]()?this[_0x357fe1(0x2ae)]():this[_0x357fe1(0x21c)]=!0x1;}[_0x1eae1f(0x1fb)](){const _0x476358=_0x1eae1f,_0xbd6cef=this[_0x476358(0x1dd)][_0x476358(0x230)][_0x476358(0x23a)](_0x2a23c8)[_0x476358(0x201)][_0x476358(0x23a)](this[_0x476358(0x1e2)]);return!this[_0x476358(0x1dd)][_0x476358(0x27b)]&&!!_0xbd6cef&&_0xbd6cef[_0x476358(0x2a0)]>0x1&&this[_0x476358(0x21c)];}[_0x1eae1f(0x271)](){const _0x37502c=_0x1eae1f;return this[_0x37502c(0x23c)][_0x37502c(0x2a0)]>0x0||this[_0x37502c(0x1fb)]();}}l[_0x1eae1f(0x234)]=_0x1ff895;export default l;class J extends Error{}function Q(_0x3bd952,_0x1d836c){const _0x2692f3=_0x1eae1f;for(const _0x11e153 of _0x3bd952)_0x11e153[_0x2692f3(0x2da)]=_0x1d836c++;}function _0x2a94(){const _0x5b7f87=['_applyOperationsSet','_handleSendingSelectionMarkers','push','serverHistory','length','Notification','directChange','_offset','getOperationAuthor','metadata','selection','map','applyOperation','string','parse','document','addOperation','isEnabled','_sendBufferedOperationsDelayed','targetPosition','realtimecollaborationclient-handleserverresponse','1372743zJUpQD','insert','keys','data','fire','operationsReceived','loadRoot','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_currentBufferDelay','_sendBufferedOperations','reconnect','markers','enableReadOnlyMode','collaboration','wereChangesApplied','_updateServerHistory','_loadRoot','_setUpDataInit','startsWith','_sendBufferedOperationsDelayId','PENDING_ACTION_SENDING_DATA','_initSessionsHandling','realtimecollaborationclient-initservice-internal-error','cs:removeUser','toJSON','isOfficialPlugin','cloudServices.bundleVersion','locale','realtimecollaborationclient-init-connection-failed','fromJSON','createdAt','remove','stopListening','_knownOperations','userId','attributes','404','getConnectedSessions','createUserMarkerOperations','set','wasUndone','baseVersion','getDocumentDetails','lastDocumentSession','realtimecollaborationclient-init-non-existent-root','finally','_isConnected','cloud-services-internal-error:\x20Request\x20timeout.','collaboration-missing-channelid','define','_disconnectionOperations','editor','lastSyncVersion','unregister','round','_pendingAction','_channelId','type','lastOperationId','off','realtimecollaborationclient-init-session-connection-error','error','newRange','53796ttLsCd','bind','_connectAfterSessionHasBeenFlushed','suppressErrorInCollaboration','affectedSelectable','_addKnownRoot','connect','state','history','change:_isPendingUpdate','disconnected','_isEditingAllowed','12LiVuCN','_handleReconnectionError','getRoot','_clearPendingAction','filter','removeFromReconnectionStack','_shouldSendSelectionUpdate','sessionAdd:','_disconnectService','add','_connectService','createRange','channelSessions','_knownRootNames','_fetchMissingUsers','5455130rggAuz','then','enqueueChange','slice','cloudDocumentVersion','model','sendOperations','isDocumentOperation','_authorId','compress','_lastSyncedOperationId','rtc-offline','offset','stop','isPremiumPlugin','connected','createRoot','register','marker','reset','forEach','_ignoredOperations','_lastServerVersion','addToReconnectionStack','_hasSelectionChanged','setPermissions','editing','batch','clone','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','createPositionAt','realtimecollaborationclient-sendbufferedoperations','permissions','lastOperationAcceptedAt','end','_document','realtimecollaborationclient-initservice-incorrect-server-operation','createPositionFromPath','_compressor','rootName','listenTo','position','_baseBufferDelay','3593344qNuhZa','plugins','return','_saveOperationInBuffer','change:_isEditingAllowed','CollaborativeEditingService','change:hasDomSelection','apply','_handleServerResponse','size','roots','get','realtimecollaborationclient-error','_bufferedOperations','_getAffectedRoot','document:write','disconnect','RealTimeCollaborationClient','_isAttached','catch','connection','_refreshUserSelectionMarkers','_operationIdentifier','sessionId','_handleExternalOperations','cloud-services-internal-error:\x20Not\x20connected.','from','move','affectsData','_hasSynchronizationProblem','_crash','disableReadOnlyMode','sessionCreatedAt','entries','view','destroy','setIdForTheLastOperation','_initThrowingOnDataSet','_handleReconnectionResponse','_getOperationsFromInitData','_isDisconnection','_compressOperations','CommentsOnly','_bufferRootLoad','$root','_setPendingAction','code','_handleReceivedOperations','addRootAttribute','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_decompressOperations','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','Synchronization\x20issue','includes','getMany','pluginName','rootsAttributes','643445HTUJBS','__className','1025054PUTFVp','change:range','2219Akraxw','config','differ','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_shouldSendUpdate','9DWaRLz','decompress','multi-root-editor-root-attributes-no-root','collaboration.channelId','getIdOfTheLastOperation','409','60HayxIU','ready','path','isReadOnly','_isInit','_isLoaded','_handleInitialConnectionData','addUser','rtc-destroyed','initData','real-time-collaboration','start','addRoot','currentDocumentSession','_waitUntilSynced','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.','1506suEEOk','Permissions','getUser','InsertOperation','message','getOperations','1FGRxah','reconnection:\x20flushed\x20session','requires','version','init','root','_operationToId','showWarning','mySessionId','isUndoneOperation','has','realtimecollaborationclient-init-document-already-initialized','_service','high'];_0x2a94=function(){return _0x5b7f87;};return _0x2a94();}class X{constructor(_0x1b1c8d){const _0x1a7a77=_0x1eae1f;this[_0x1a7a77(0x219)]=_0x1b1c8d,this[_0x1a7a77(0x294)]=new WeakMap();}[_0x1eae1f(0x276)](_0x5e57e6){const _0xe65961=_0x1eae1f;let _0x559109=_0x5e57e6[_0xe65961(0x2a0)];for(;_0x559109--;){const _0xb68324=_0x5e57e6[_0x559109];if(!this[_0xe65961(0x219)][_0xe65961(0x298)](_0xb68324)){if(!this[_0xe65961(0x294)][_0xe65961(0x298)](_0xb68324)){const _0x31aa60=_0x58d6ab()[_0xe65961(0x207)](0x1,0x12);this[_0xe65961(0x294)][_0xe65961(0x2d8)](_0xb68324,_0x31aa60);}return this[_0xe65961(0x294)][_0xe65961(0x23a)](_0xb68324);}}}[_0x1eae1f(0x253)](_0x3ecf3a,_0x2c4e3e){const _0x2de8d3=_0x1eae1f;if(!_0x2c4e3e)return;let _0xb13fd3=_0x3ecf3a[_0x2de8d3(0x2a0)];for(;_0xb13fd3--;){const _0xd13a29=_0x3ecf3a[_0xb13fd3];this[_0x2de8d3(0x219)][_0x2de8d3(0x298)](_0xd13a29)||this[_0x2de8d3(0x294)][_0x2de8d3(0x2d8)](_0xd13a29,_0x2c4e3e);}}}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module real-time-collaboration/realtimecollaborativeediting/sessions
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16a6ef=_0x5c3c;function _0x5c3c(_0x5a763d,_0xfd2e06){const _0x5d8baa=_0x5d8b();return _0x5c3c=function(_0x5c3c3a,_0x5d053f){_0x5c3c3a=_0x5c3c3a-0x86;let _0x5cc740=_0x5d8baa[_0x5c3c3a];return _0x5cc740;},_0x5c3c(_0x5a763d,_0xfd2e06);}(function(_0x33eeff,_0xcccc5){const _0x402361=_0x5c3c,_0x531948=_0x33eeff();while(!![]){try{const _0x4e2e72=parseInt(_0x402361(0xac))/0x1*(parseInt(_0x402361(0xb7))/0x2)+-parseInt(_0x402361(0xa8))/0x3*(parseInt(_0x402361(0x9e))/0x4)+-parseInt(_0x402361(0xc1))/0x5*(parseInt(_0x402361(0xa4))/0x6)+parseInt(_0x402361(0x96))/0x7*(parseInt(_0x402361(0xb3))/0x8)+parseInt(_0x402361(0xc2))/0x9*(-parseInt(_0x402361(0x8a))/0xa)+-parseInt(_0x402361(0xad))/0xb+-parseInt(_0x402361(0xa1))/0xc*(-parseInt(_0x402361(0xbc))/0xd);if(_0x4e2e72===_0xcccc5)break;else _0x531948['push'](_0x531948['shift']());}catch(_0x216a3b){_0x531948['push'](_0x531948['shift']());}}}(_0x5d8b,0xcf6ad));import{ContextPlugin as _0x62db3f}from'ckeditor5/src/core.js';import{Collection as _0x429c07,CKEditorError as _0x25b44f}from'ckeditor5/src/utils.js';function _0x5d8b(){const _0x11c261=['getUserRole','state','init','2zvCNJI','assign','connected','plugins','getUserBySessionId','456001RAahgl','mySessionId','change:state','channelSessions','fire','15azoZDm','207ycPiws','sessions-unregister-not-exist','channelConnectedUsers','connection','forEach','_registeredSessions','context','sessionAdd:','isMe','540310tNhQox','values','_handleSessionAdd','addUser','getUserSessions','orderNumber','pluginName','getUser','isOfficialPlugin','Sessions','get','stopListening','32662FPSWqu','unregister','register','_createUser','clear','_users','isPremiumPlugin','defineMe','1858708emQgBf','listenTo','role','684ULnBfp','add','set','977202dnIwSM','_uniqueUsersCount','sessionId','remove','9XjxFHB','allConnectedUsers','user','delete','1559946fAhYSH','8259999rDDGkO','sessions-register-already-registered','has','requires','_handleSessionRemove','size','2000gHOJgq'];_0x5d8b=function(){return _0x11c261;};return _0x5d8b();}import _0x1b16cc from'./websocketgateway.js';import{Users as _0x2677a9}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x62db3f{static get[_0x16a6ef(0x90)](){const _0xb64124=_0x16a6ef;return _0xb64124(0x93);}static get[_0x16a6ef(0x92)](){return!0x0;}static get[_0x16a6ef(0x9c)](){return!0x0;}static get[_0x16a6ef(0xb0)](){return[_0x1b16cc,_0x2677a9];}constructor(_0x502ad3){const _0x449cba=_0x16a6ef;super(_0x502ad3),this[_0x449cba(0xbf)]=new Map(),this[_0x449cba(0xc4)]=new Map(),this[_0x449cba(0xa9)]=new _0x429c07(),this[_0x449cba(0x86)]=new Map(),this[_0x449cba(0xa5)]=0x0,this[_0x449cba(0x9b)]=this[_0x449cba(0x87)][_0x449cba(0xba)][_0x449cba(0x94)](_0x2677a9);}[_0x16a6ef(0xb6)](){const _0x1232e2=_0x16a6ef,_0x57352f=this[_0x1232e2(0x87)][_0x1232e2(0xba)][_0x1232e2(0x94)](_0x1b16cc);this[_0x1232e2(0x9f)](_0x57352f,_0x1232e2(0xbe),(_0x5bd0f8,_0x504077,_0x53c42b)=>{const _0x5740fb=_0x1232e2;if(_0x5740fb(0xb9)!==_0x53c42b)this[_0x5740fb(0xbf)][_0x5740fb(0xc6)](_0x20f53d=>_0x20f53d[_0x5740fb(0x9a)]()),this[_0x5740fb(0xc4)][_0x5740fb(0xc6)](_0x1fbe6c=>_0x1fbe6c[_0x5740fb(0x9a)]()),this[_0x5740fb(0xa9)][_0x5740fb(0x9a)]();else{for(const [_0x36a546,_0x367bc1]of this[_0x5740fb(0x86)])for(const _0x54ed54 of _0x367bc1)this[_0x5740fb(0x8c)](_0x36a546,_0x54ed54);}}),this[_0x1232e2(0x99)](_0x57352f[_0x1232e2(0xc5)]['me'],!0x0);}[_0x16a6ef(0x98)](_0xdd5ed6,_0x2740bd){const _0x17e03c=_0x16a6ef;if(this[_0x17e03c(0x86)][_0x17e03c(0xaf)](_0xdd5ed6))throw new _0x25b44f(_0x17e03c(0xae),null,{'channelId':_0xdd5ed6});this[_0x17e03c(0x86)][_0x17e03c(0xa3)](_0xdd5ed6,_0x2740bd),this[_0x17e03c(0xbf)][_0x17e03c(0xa3)](_0xdd5ed6,new _0x429c07()),this[_0x17e03c(0xc4)][_0x17e03c(0xa3)](_0xdd5ed6,new _0x429c07()),this[_0x17e03c(0x9f)](_0x2740bd,_0x17e03c(0xa2),(_0x8b4900,_0x53594a)=>this[_0x17e03c(0x8c)](_0xdd5ed6,_0x53594a)),this[_0x17e03c(0x9f)](_0x2740bd,_0x17e03c(0xa7),(_0x1b764f,_0x54bbfb)=>this[_0x17e03c(0xb1)](_0xdd5ed6,_0x54bbfb));for(const _0x3a4801 of _0x2740bd)this[_0x17e03c(0x8c)](_0xdd5ed6,_0x3a4801);}[_0x16a6ef(0x97)](_0x26dbc3){const _0x1a164f=_0x16a6ef;if(!this[_0x1a164f(0x86)][_0x1a164f(0xaf)](_0x26dbc3))throw new _0x25b44f(_0x1a164f(0xc3),null,{'channelId':_0x26dbc3});const _0xd68ac0=this[_0x1a164f(0x86)][_0x1a164f(0x94)](_0x26dbc3);this[_0x1a164f(0x95)](_0xd68ac0);for(const _0x3ebb4a of _0xd68ac0)_0x1a164f(0xb9)===this[_0x1a164f(0x87)][_0x1a164f(0xba)][_0x1a164f(0x94)](_0x1b16cc)[_0x1a164f(0xb5)]&&this[_0x1a164f(0xb1)](_0x26dbc3,_0x3ebb4a);this[_0x1a164f(0x86)][_0x1a164f(0xab)](_0x26dbc3),this[_0x1a164f(0xbf)][_0x1a164f(0xab)](_0x26dbc3),this[_0x1a164f(0xc4)][_0x1a164f(0xab)](_0x26dbc3);}get[_0x16a6ef(0xbd)](){const _0x41e0da=_0x16a6ef;return this[_0x41e0da(0x87)][_0x41e0da(0xba)][_0x41e0da(0x94)](_0x1b16cc)[_0x41e0da(0xc5)][_0x41e0da(0xa6)];}[_0x16a6ef(0xbb)](_0x3dc231){const _0x42b1a1=_0x16a6ef;for(const _0x5adce4 of this[_0x42b1a1(0xbf)][_0x42b1a1(0x8b)]())for(const _0xb990d7 of _0x5adce4)if(_0xb990d7['id']===_0x3dc231)return _0xb990d7[_0x42b1a1(0xaa)];}[_0x16a6ef(0x8e)](_0x215186,_0x723574){const _0x36f269=_0x16a6ef,_0x3d0ef6=_0x723574?[this[_0x36f269(0xbf)][_0x36f269(0x94)](_0x723574)]:this[_0x36f269(0xbf)][_0x36f269(0x8b)](),_0xd9bcf0=new Set();for(const _0x1de1ce of _0x3d0ef6)for(const _0x4d5beb of _0x1de1ce)_0x4d5beb[_0x36f269(0xaa)]['id']===_0x215186['id']&&_0xd9bcf0[_0x36f269(0xa2)](_0x4d5beb['id']);return _0xd9bcf0;}[_0x16a6ef(0xb4)](_0x2cddfd){const _0x5694f2=_0x16a6ef;for(const _0x394cfe of this[_0x5694f2(0xbf)][_0x5694f2(0x8b)]())for(const _0x2a0339 of _0x394cfe)if(_0x2a0339[_0x5694f2(0xaa)]===_0x2cddfd)return _0x2a0339[_0x5694f2(0xa0)];}[_0x16a6ef(0x8c)](_0x22c217,_0x1aac43){const _0x1ce0ad=_0x16a6ef;if(_0x1ce0ad(0xb9)!==this[_0x1ce0ad(0x87)][_0x1ce0ad(0xba)][_0x1ce0ad(0x94)](_0x1b16cc)[_0x1ce0ad(0xb5)])return;const _0x5ae7da=_0x1aac43[_0x1ce0ad(0xaa)],_0x3a8ebd=this[_0x1ce0ad(0x9b)][_0x1ce0ad(0x91)](_0x5ae7da['id'])||this[_0x1ce0ad(0x99)](_0x5ae7da),_0xa0be08=Object[_0x1ce0ad(0xb8)]({},_0x1aac43,{'user':_0x3a8ebd});this[_0x1ce0ad(0xbf)][_0x1ce0ad(0x94)](_0x22c217)[_0x1ce0ad(0xa2)](_0xa0be08);const _0x3c4684=this[_0x1ce0ad(0xc4)][_0x1ce0ad(0x94)](_0x22c217);_0x3c4684[_0x1ce0ad(0xaf)](_0x3a8ebd['id'])||_0x3c4684[_0x1ce0ad(0xa2)](_0x3a8ebd),this[_0x1ce0ad(0xa9)][_0x1ce0ad(0xaf)](_0x3a8ebd['id'])||this[_0x1ce0ad(0xa9)][_0x1ce0ad(0xa2)](_0x3a8ebd,_0x3a8ebd[_0x1ce0ad(0x89)]?0x0:void 0x0),this[_0x1ce0ad(0xc0)](_0x1ce0ad(0x88)+_0x22c217,{'channelId':_0x22c217,'session':_0xa0be08});}[_0x16a6ef(0xb1)](_0x288ff4,_0x14dc2b){const _0x5ca5ce=_0x16a6ef;if(_0x5ca5ce(0xb9)!==this[_0x5ca5ce(0x87)][_0x5ca5ce(0xba)][_0x5ca5ce(0x94)](_0x1b16cc)[_0x5ca5ce(0xb5)])return;const _0x15af2e=this[_0x5ca5ce(0xc4)][_0x5ca5ce(0x94)](_0x288ff4),_0x213e39=_0x14dc2b[_0x5ca5ce(0xaa)];_0x213e39['id']&&(this[_0x5ca5ce(0xbf)][_0x5ca5ce(0x94)](_0x288ff4)[_0x5ca5ce(0xa7)](_0x14dc2b['id']),_0x15af2e[_0x5ca5ce(0xaf)](_0x213e39['id'])&&!this[_0x5ca5ce(0x8e)](_0x213e39,_0x288ff4)[_0x5ca5ce(0xb2)]&&_0x15af2e[_0x5ca5ce(0xa7)](_0x213e39['id']),this[_0x5ca5ce(0xa9)][_0x5ca5ce(0x94)](_0x213e39['id'])&&!this[_0x5ca5ce(0x8e)](_0x213e39)[_0x5ca5ce(0xb2)]&&this[_0x5ca5ce(0xa9)][_0x5ca5ce(0xa7)](_0x213e39['id']));}[_0x16a6ef(0x99)](_0x2ac369,_0x1708e1){const _0x344cca=_0x16a6ef,_0x45fe2a=this[_0x344cca(0x9b)][_0x344cca(0x8d)](_0x2ac369);return _0x1708e1&&this[_0x344cca(0x9b)][_0x344cca(0x9d)](_0x2ac369['id']),_0x45fe2a[_0x344cca(0x8f)]=this[_0x344cca(0xa5)]++,_0x45fe2a;}}
23
+ const _0x2b543b=_0x3d8b;(function(_0x84018f,_0x2302af){const _0x3e936f=_0x3d8b,_0x411bd8=_0x84018f();while(!![]){try{const _0x541561=-parseInt(_0x3e936f(0x12c))/0x1+-parseInt(_0x3e936f(0x11e))/0x2+parseInt(_0x3e936f(0x120))/0x3*(parseInt(_0x3e936f(0x123))/0x4)+parseInt(_0x3e936f(0x125))/0x5*(-parseInt(_0x3e936f(0x121))/0x6)+-parseInt(_0x3e936f(0x106))/0x7+parseInt(_0x3e936f(0x105))/0x8+parseInt(_0x3e936f(0x101))/0x9;if(_0x541561===_0x2302af)break;else _0x411bd8['push'](_0x411bd8['shift']());}catch(_0x286e72){_0x411bd8['push'](_0x411bd8['shift']());}}}(_0x519a,0xce8bc));import{ContextPlugin as _0x3a3201}from'ckeditor5/src/core.js';function _0x3d8b(_0x3618a5,_0x190b4b){const _0x519a89=_0x519a();return _0x3d8b=function(_0x3d8bc8,_0x5de590){_0x3d8bc8=_0x3d8bc8-0xf3;let _0x4fbf80=_0x519a89[_0x3d8bc8];return _0x4fbf80;},_0x3d8b(_0x3618a5,_0x190b4b);}import{Collection as _0x9d90e0,CKEditorError as _0x8a43bf}from'ckeditor5/src/utils.js';import _0x3c3d56 from'./websocketgateway.js';function _0x519a(){const _0x7f4e7d=['getUserRole','channelSessions','add','mySessionId','state','isMe','sessions-unregister-not-exist','sessionId','connected','_handleSessionRemove','getUserBySessionId','clear','Sessions','11801754muFhUi','_registeredSessions','unregister','channelConnectedUsers','9068848cIcMxD','5562970CYQceX','context','allConnectedUsers','role','forEach','user','sessionAdd:','_uniqueUsersCount','remove','stopListening','init','get','connection','size','sessions-register-already-registered','_createUser','orderNumber','addUser','listenTo','getUser','assign','_users','getUserSessions','values','1219740aaCRFz','has','965748pRdUJo','762fFfIac','requires','16yvyJxb','isPremiumPlugin','33425dUbaMV','change:state','register','isOfficialPlugin','fire','set','delete','632989cIAewG','pluginName','plugins','defineMe','_handleSessionAdd'];_0x519a=function(){return _0x7f4e7d;};return _0x519a();}import{Users as _0x7d6914}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x3a3201{static get[_0x2b543b(0x12d)](){const _0x4f0ec3=_0x2b543b;return _0x4f0ec3(0x100);}static get[_0x2b543b(0x128)](){return!0x0;}static get[_0x2b543b(0x124)](){return!0x0;}static get[_0x2b543b(0x122)](){return[_0x3c3d56,_0x7d6914];}constructor(_0xee4883){const _0x3c8799=_0x2b543b;super(_0xee4883),this[_0x3c8799(0xf5)]=new Map(),this[_0x3c8799(0x104)]=new Map(),this[_0x3c8799(0x108)]=new _0x9d90e0(),this[_0x3c8799(0x102)]=new Map(),this[_0x3c8799(0x10d)]=0x0,this[_0x3c8799(0x11b)]=this[_0x3c8799(0x107)][_0x3c8799(0x12e)][_0x3c8799(0x111)](_0x7d6914);}[_0x2b543b(0x110)](){const _0x26b2b6=_0x2b543b,_0x2d5d85=this[_0x26b2b6(0x107)][_0x26b2b6(0x12e)][_0x26b2b6(0x111)](_0x3c3d56);this[_0x26b2b6(0x118)](_0x2d5d85,_0x26b2b6(0x126),(_0x24905f,_0x51e8fb,_0x101d9e)=>{const _0x43a745=_0x26b2b6;if(_0x43a745(0xfc)!==_0x101d9e)this[_0x43a745(0xf5)][_0x43a745(0x10a)](_0xfd2094=>_0xfd2094[_0x43a745(0xff)]()),this[_0x43a745(0x104)][_0x43a745(0x10a)](_0x407be5=>_0x407be5[_0x43a745(0xff)]()),this[_0x43a745(0x108)][_0x43a745(0xff)]();else{for(const [_0x3cbabc,_0x26181b]of this[_0x43a745(0x102)])for(const _0x2c9eeb of _0x26181b)this[_0x43a745(0xf3)](_0x3cbabc,_0x2c9eeb);}}),this[_0x26b2b6(0x115)](_0x2d5d85[_0x26b2b6(0x112)]['me'],!0x0);}[_0x2b543b(0x127)](_0x242393,_0x1ce314){const _0x407377=_0x2b543b;if(this[_0x407377(0x102)][_0x407377(0x11f)](_0x242393))throw new _0x8a43bf(_0x407377(0x114),null,{'channelId':_0x242393});this[_0x407377(0x102)][_0x407377(0x12a)](_0x242393,_0x1ce314),this[_0x407377(0xf5)][_0x407377(0x12a)](_0x242393,new _0x9d90e0()),this[_0x407377(0x104)][_0x407377(0x12a)](_0x242393,new _0x9d90e0()),this[_0x407377(0x118)](_0x1ce314,_0x407377(0xf6),(_0x162377,_0x5734e9)=>this[_0x407377(0xf3)](_0x242393,_0x5734e9)),this[_0x407377(0x118)](_0x1ce314,_0x407377(0x10e),(_0xbdf759,_0x4d9d06)=>this[_0x407377(0xfd)](_0x242393,_0x4d9d06));for(const _0x1ad16b of _0x1ce314)this[_0x407377(0xf3)](_0x242393,_0x1ad16b);}[_0x2b543b(0x103)](_0x4c9ef2){const _0x1e282c=_0x2b543b;if(!this[_0x1e282c(0x102)][_0x1e282c(0x11f)](_0x4c9ef2))throw new _0x8a43bf(_0x1e282c(0xfa),null,{'channelId':_0x4c9ef2});const _0xd08ebf=this[_0x1e282c(0x102)][_0x1e282c(0x111)](_0x4c9ef2);this[_0x1e282c(0x10f)](_0xd08ebf);for(const _0x35c52c of _0xd08ebf)_0x1e282c(0xfc)===this[_0x1e282c(0x107)][_0x1e282c(0x12e)][_0x1e282c(0x111)](_0x3c3d56)[_0x1e282c(0xf8)]&&this[_0x1e282c(0xfd)](_0x4c9ef2,_0x35c52c);this[_0x1e282c(0x102)][_0x1e282c(0x12b)](_0x4c9ef2),this[_0x1e282c(0xf5)][_0x1e282c(0x12b)](_0x4c9ef2),this[_0x1e282c(0x104)][_0x1e282c(0x12b)](_0x4c9ef2);}get[_0x2b543b(0xf7)](){const _0x2965b2=_0x2b543b;return this[_0x2965b2(0x107)][_0x2965b2(0x12e)][_0x2965b2(0x111)](_0x3c3d56)[_0x2965b2(0x112)][_0x2965b2(0xfb)];}[_0x2b543b(0xfe)](_0x5ea030){const _0x5623d5=_0x2b543b;for(const _0x1623ad of this[_0x5623d5(0xf5)][_0x5623d5(0x11d)]())for(const _0x5cc707 of _0x1623ad)if(_0x5cc707['id']===_0x5ea030)return _0x5cc707[_0x5623d5(0x10b)];}[_0x2b543b(0x11c)](_0x516438,_0x364072){const _0x32126b=_0x2b543b,_0x17cf66=_0x364072?[this[_0x32126b(0xf5)][_0x32126b(0x111)](_0x364072)]:this[_0x32126b(0xf5)][_0x32126b(0x11d)](),_0x3197c8=new Set();for(const _0x5c9534 of _0x17cf66)for(const _0x1862ba of _0x5c9534)_0x1862ba[_0x32126b(0x10b)]['id']===_0x516438['id']&&_0x3197c8[_0x32126b(0xf6)](_0x1862ba['id']);return _0x3197c8;}[_0x2b543b(0xf4)](_0x381ded){const _0x50a0bb=_0x2b543b;for(const _0x1ba462 of this[_0x50a0bb(0xf5)][_0x50a0bb(0x11d)]())for(const _0x4f71a4 of _0x1ba462)if(_0x4f71a4[_0x50a0bb(0x10b)]===_0x381ded)return _0x4f71a4[_0x50a0bb(0x109)];}[_0x2b543b(0xf3)](_0x1e69f1,_0x22513b){const _0x46c5fd=_0x2b543b;if(_0x46c5fd(0xfc)!==this[_0x46c5fd(0x107)][_0x46c5fd(0x12e)][_0x46c5fd(0x111)](_0x3c3d56)[_0x46c5fd(0xf8)])return;const _0x2aff87=_0x22513b[_0x46c5fd(0x10b)],_0x521438=this[_0x46c5fd(0x11b)][_0x46c5fd(0x119)](_0x2aff87['id'])||this[_0x46c5fd(0x115)](_0x2aff87),_0x50b926=Object[_0x46c5fd(0x11a)]({},_0x22513b,{'user':_0x521438});this[_0x46c5fd(0xf5)][_0x46c5fd(0x111)](_0x1e69f1)[_0x46c5fd(0xf6)](_0x50b926);const _0x31a8b5=this[_0x46c5fd(0x104)][_0x46c5fd(0x111)](_0x1e69f1);_0x31a8b5[_0x46c5fd(0x11f)](_0x521438['id'])||_0x31a8b5[_0x46c5fd(0xf6)](_0x521438),this[_0x46c5fd(0x108)][_0x46c5fd(0x11f)](_0x521438['id'])||this[_0x46c5fd(0x108)][_0x46c5fd(0xf6)](_0x521438,_0x521438[_0x46c5fd(0xf9)]?0x0:void 0x0),this[_0x46c5fd(0x129)](_0x46c5fd(0x10c)+_0x1e69f1,{'channelId':_0x1e69f1,'session':_0x50b926});}[_0x2b543b(0xfd)](_0x13d74e,_0x277619){const _0x5da1c0=_0x2b543b;if(_0x5da1c0(0xfc)!==this[_0x5da1c0(0x107)][_0x5da1c0(0x12e)][_0x5da1c0(0x111)](_0x3c3d56)[_0x5da1c0(0xf8)])return;const _0x209b4a=this[_0x5da1c0(0x104)][_0x5da1c0(0x111)](_0x13d74e),_0x39583a=_0x277619[_0x5da1c0(0x10b)];_0x39583a['id']&&(this[_0x5da1c0(0xf5)][_0x5da1c0(0x111)](_0x13d74e)[_0x5da1c0(0x10e)](_0x277619['id']),_0x209b4a[_0x5da1c0(0x11f)](_0x39583a['id'])&&!this[_0x5da1c0(0x11c)](_0x39583a,_0x13d74e)[_0x5da1c0(0x113)]&&_0x209b4a[_0x5da1c0(0x10e)](_0x39583a['id']),this[_0x5da1c0(0x108)][_0x5da1c0(0x111)](_0x39583a['id'])&&!this[_0x5da1c0(0x11c)](_0x39583a)[_0x5da1c0(0x113)]&&this[_0x5da1c0(0x108)][_0x5da1c0(0x10e)](_0x39583a['id']));}[_0x2b543b(0x115)](_0x192049,_0xf4a4af){const _0x45f14b=_0x2b543b,_0x5c5af9=this[_0x45f14b(0x11b)][_0x45f14b(0x117)](_0x192049);return _0xf4a4af&&this[_0x45f14b(0x11b)][_0x45f14b(0x12f)](_0x192049['id']),_0x5c5af9[_0x45f14b(0x116)]=this[_0x45f14b(0x10d)]++,_0x5c5af9;}}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
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';
6
6
  import Sessions from './sessions.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22d2c9=_0x5018;function _0x5021(){const _0x32a50e=['12104400NJeEAm','isInline','_createdBatches','toRange','applyOperation','parent','ck-user__marker\x20','ck-user__marker_hovered','type','requires','UserMarkers','3654QJiIMv','user:position','markerName','mapper','addEventListener','editing','getAttribute','user:range','stopListening','element','createRange','editingDowncast','Escape','batch','64458BxXmbt','toDomElement','split','hasContent','getContainedElement','user:position:','markerNameToElements','init','tableCell','selection','change','$text','isLimit','ck-user__selection','model','color','document','marker','rootName','deletionPosition','enqueueChange','checkChild','clear','getNearestSelectionRange','mySessionId','isSimilar','classList','root','name','innerHTML','update:user:range','29795887UoNYbI','isOfficialPlugin','reconvertMarker','userPositionMarker','890idVvoY','getPositions','$graveyard','delete','getCustomProperty','131408wUTpRw','setCustomProperty','891978myyzZL','span','580iNmcGo','17788yAyCUq','has','conversion','data-session-id','createUIElement','_domEmitter','mouseenter','newRange','isObject','destroy','size','view','getRange','markers','removeClass','schema','contenteditable','undo','editor','getSelectionClass','getFirstRange','listenTo','addMarker','end','getStart','updateMarker','mouseleave','commands','startsWith','set','getUserBySessionId','4592whcpfi','start','nodeAfter','isPremiumPlugin','pluginName','markerToHighlight','markerToElement','highest','⁠<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>','oldRange','hasDomSelection','for','getMarkerClass','remove','23PMNOsF','removeMarker','fromRange','createUserMarkerOperations','user:','orderNumber','get','afterInit','detach','render','keydown','change:range','plugins','add','</span>⁠','markerRange','isCollapsed','user:range:'];_0x5021=function(){return _0x32a50e;};return _0x5021();}(function(_0x3095a4,_0x469857){const _0x17a559=_0x5018,_0x124622=_0x3095a4();while(!![]){try{const _0x5f4f0b=-parseInt(_0x17a559(0x224))/0x1*(-parseInt(_0x17a559(0x1f2))/0x2)+-parseInt(_0x17a559(0x1f4))/0x3+-parseInt(_0x17a559(0x1f7))/0x4*(-parseInt(_0x17a559(0x1ed))/0x5)+-parseInt(_0x17a559(0x1bc))/0x6*(-parseInt(_0x17a559(0x216))/0x7)+parseInt(_0x17a559(0x1b1))/0x8+parseInt(_0x17a559(0x1ca))/0x9*(-parseInt(_0x17a559(0x1f6))/0xa)+-parseInt(_0x17a559(0x1e9))/0xb;if(_0x5f4f0b===_0x469857)break;else _0x124622['push'](_0x124622['shift']());}catch(_0x3d5a39){_0x124622['push'](_0x124622['shift']());}}}(_0x5021,0xc1d11));import{Plugin as _0x12ed54}from'ckeditor5/src/core.js';import{global as _0x1cbb2d,DomEmitterMixin as _0x3a25b7}from'ckeditor5/src/utils.js';import _0x43ca9c from'./sessions.js';import{LiveRange as _0x25de5f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x5018(_0x16c55c,_0x5c2094){const _0x5021b4=_0x5021();return _0x5018=function(_0x5018c4,_0x5d78b3){_0x5018c4=_0x5018c4-0x1a8;let _0x52c8e2=_0x5021b4[_0x5018c4];return _0x52c8e2;},_0x5018(_0x16c55c,_0x5c2094);}export default class H extends _0x12ed54{constructor(){const _0x1172f7=_0x5018;super(...arguments),this[_0x1172f7(0x1fc)]=new(_0x3a25b7())();}static get[_0x22d2c9(0x1ba)](){return[_0x43ca9c];}static get[_0x22d2c9(0x21a)](){const _0x3438ae=_0x22d2c9;return _0x3438ae(0x1bb);}static get[_0x22d2c9(0x1ea)](){return!0x0;}static get[_0x22d2c9(0x219)](){return!0x0;}[_0x22d2c9(0x1d1)](){const _0xfe6e7c=_0x22d2c9,_0x3820a5=this[_0xfe6e7c(0x209)],_0x2707fb=_0x3820a5[_0xfe6e7c(0x1ab)][_0xfe6e7c(0x22a)](_0x43ca9c);_0x3820a5[_0xfe6e7c(0x1f9)][_0xfe6e7c(0x221)](_0xfe6e7c(0x1c7))[_0xfe6e7c(0x21c)]({'model':_0xfe6e7c(0x1bd),'view':(_0x369ebc,{writer:_0x6ce8f5})=>function(_0x75f2cc,_0x3c95c1,_0x260316,_0x4b171b){const _0x4998a8=_0xfe6e7c,_0x58ff12=_0x75f2cc[_0x4998a8(0x1be)][_0x4998a8(0x1cc)](':')[0x2],_0x35818c=_0x260316[_0x4998a8(0x215)](_0x58ff12);if(!_0x35818c||_0x58ff12===_0x260316[_0x4998a8(0x1e2)])return;if(!_0x4b171b[_0x4998a8(0x1d8)][_0x4998a8(0x206)][_0x4998a8(0x1df)](_0x75f2cc[_0x4998a8(0x1ae)][_0x4998a8(0x217)],_0x4998a8(0x1d5)))return;const _0x505e5c={'class':_0x4998a8(0x1b7)+_0x35818c[_0x4998a8(0x1d9)][_0x4998a8(0x222)](),'data-name':_0x35818c[_0x4998a8(0x1e6)],'data-session-id':_0x58ff12},_0x283ebf=_0x4b171b[_0x4998a8(0x1d8)][_0x4998a8(0x204)][_0x4998a8(0x22a)](_0x75f2cc[_0x4998a8(0x1be)]),_0x20e7a1=_0x283ebf[_0x4998a8(0x20f)](),_0x44d9db=_0x20e7a1[_0x4998a8(0x218)],_0x321d16=_0x4b171b[_0x4998a8(0x1d8)][_0x4998a8(0x206)];if(_0x44d9db&&_0x321d16[_0x4998a8(0x1ff)](_0x44d9db)&&_0x321d16[_0x4998a8(0x1b2)](_0x44d9db)&&!_0x4b171b[_0x4998a8(0x1d8)][_0x4998a8(0x204)][_0x4998a8(0x22a)](_0x4998a8(0x1b0)+_0x58ff12)[_0x4998a8(0x203)]()[_0x4998a8(0x1af)])return;const _0x23aabb=_0x20e7a1[_0x4998a8(0x1b6)];return _0x4b171b[_0x4998a8(0x1d8)][_0x4998a8(0x206)][_0x4998a8(0x1d6)](_0x23aabb)&&!_0x4b171b[_0x4998a8(0x1d8)][_0x4998a8(0x1cd)](_0x23aabb)&&(_0x505e5c[_0x4998a8(0x207)]=!0x1),function(_0x23e213,_0x5e9cf8,_0x354b10){const _0x58a8fa=_0x4998a8,_0x3ae350=_0x23e213[_0x58a8fa(0x1fb)](_0x58a8fa(0x1f5),_0x5e9cf8);return _0x23e213[_0x58a8fa(0x1f3)](_0x58a8fa(0x1ec),!0x0,_0x3ae350),_0x3ae350[_0x58a8fa(0x1a8)]=function(_0x3cc0d8){const _0x3a702e=_0x58a8fa,_0x3871ec=this[_0x3a702e(0x1cb)](_0x3cc0d8);return _0x3871ec[_0x3a702e(0x1e7)]=_0x3a702e(0x21e)+_0x354b10[_0x3a702e(0x1e6)]+_0x3a702e(0x1ad),_0x3871ec[_0x3a702e(0x1c0)](_0x3a702e(0x1fd),()=>{const _0x111a08=_0x3a702e;_0x3871ec[_0x111a08(0x1e4)][_0x111a08(0x1ac)](_0x111a08(0x1b8));}),_0x3871ec[_0x3a702e(0x1c0)](_0x3a702e(0x211),()=>{const _0x4b82c9=_0x3a702e;_0x3871ec[_0x4b82c9(0x1e4)][_0x4b82c9(0x223)](_0x4b82c9(0x1b8));}),_0x3871ec;},_0x3ae350[_0x58a8fa(0x1e3)]=function(_0x555856){const _0x5cd0ec=_0x58a8fa;return!(!this[_0x5cd0ec(0x1f1)](_0x5cd0ec(0x1ec))||!_0x555856[_0x5cd0ec(0x1f1)](_0x5cd0ec(0x1ec))||this[_0x5cd0ec(0x1c2)](_0x5cd0ec(0x1fa))!=_0x555856[_0x5cd0ec(0x1c2)](_0x5cd0ec(0x1fa)));},_0x3ae350;}(_0x3c95c1,_0x505e5c,_0x35818c);}(_0x369ebc,_0x6ce8f5,_0x2707fb,_0x3820a5)}),_0x3820a5[_0xfe6e7c(0x1f9)][_0xfe6e7c(0x221)](_0xfe6e7c(0x1c7))[_0xfe6e7c(0x21b)]({'model':_0xfe6e7c(0x1c3),'view':_0x8a89f9=>function(_0x4b2faf,_0x273d8a){const _0x3b266e=_0xfe6e7c,_0x5a7eb0=_0x4b2faf[_0x3b266e(0x1be)][_0x3b266e(0x1cc)](':')[0x2];if(_0x5a7eb0===_0x273d8a[_0x3b266e(0x1e2)])return null;const _0x3bd25c=_0x273d8a[_0x3b266e(0x215)](_0x5a7eb0);if(!_0x3bd25c)return{'id':_0x5a7eb0,'classes':[]};return{'id':_0x5a7eb0,'classes':[_0x3b266e(0x1d7),_0x3bd25c[_0x3b266e(0x1d9)][_0x3b266e(0x20a)]()],'attributes':{'data-session-id':_0x5a7eb0},'priority':0x7d0+_0x3bd25c[_0x3b266e(0x229)]};}(_0x8a89f9,_0x2707fb)}),function(_0x296696){const _0x31aa6f=_0xfe6e7c,_0x4fc49c=_0x296696[_0x31aa6f(0x1d8)],_0x603baa=new Map(),_0x1f446a=_0x296696[_0x31aa6f(0x1ab)][_0x31aa6f(0x22a)](_0x43ca9c);_0x4fc49c[_0x31aa6f(0x204)]['on'](_0x31aa6f(0x1e8),(_0x4c35ab,_0x3d920b,_0x2c8633,_0x2a8f7d)=>{const _0x486a28=_0x31aa6f;if(!_0x2a8f7d&&_0x603baa[_0x486a28(0x22a)](_0x3d920b[_0x486a28(0x1e6)]))return _0x603baa[_0x486a28(0x22a)](_0x3d920b[_0x486a28(0x1e6)])[_0x486a28(0x22c)](),void _0x603baa[_0x486a28(0x1f0)](_0x3d920b[_0x486a28(0x1e6)]);const _0x2b08cd=_0x3d920b[_0x486a28(0x1e6)][_0x486a28(0x1cc)](':')[0x2];if(_0x2b08cd===_0x1f446a[_0x486a28(0x1e2)])return;const _0x27e4bc=_0x486a28(0x1cf)+_0x2b08cd;_0x4fc49c[_0x486a28(0x204)][_0x486a28(0x1f8)](_0x27e4bc)&&_0x296696[_0x486a28(0x1c1)][_0x486a28(0x1eb)](_0x27e4bc),_0x3d920b['on'](_0x486a28(0x1aa),(_0x5e5bf3,_0x5f929b,_0x1c4302)=>{const _0x24871d=_0x486a28;if(_0x24871d(0x1ef)!=_0x5f929b[_0x24871d(0x1e5)][_0x24871d(0x1dc)]&&_0x24871d(0x1ef)==_0x3d920b[_0x24871d(0x203)]()[_0x24871d(0x1e5)][_0x24871d(0x1dc)]&&!_0x603baa[_0x24871d(0x1f8)](_0x3d920b[_0x24871d(0x1e6)])){const _0x5e0ab3=_0x4fc49c[_0x24871d(0x206)][_0x24871d(0x1e1)](_0x1c4302[_0x24871d(0x1dd)]);if(_0x5e0ab3){const _0x5a269a=_0x25de5f[_0x24871d(0x226)](_0x5e0ab3);_0x603baa[_0x24871d(0x214)](_0x3d920b[_0x24871d(0x1e6)],_0x5a269a),_0x5a269a['on'](_0x24871d(0x1aa),(_0x4a45c4,_0x53f4d3,_0x5b22da)=>{const _0x22e06a=_0x24871d;if(_0x22e06a(0x1ef)==_0x5a269a[_0x22e06a(0x1e5)][_0x22e06a(0x1dc)]){const _0x1d4d6d=_0x4fc49c[_0x22e06a(0x206)][_0x22e06a(0x1e1)](_0x5b22da[_0x22e06a(0x1dd)]);_0x1d4d6d?(_0x5a269a[_0x22e06a(0x217)]=_0x1d4d6d[_0x22e06a(0x217)],_0x5a269a[_0x22e06a(0x20e)]=_0x1d4d6d[_0x22e06a(0x20e)]):(_0x603baa[_0x22e06a(0x1f0)](_0x3d920b[_0x22e06a(0x1e6)]),_0x5a269a[_0x22e06a(0x22c)]());}});}}});}),_0x4fc49c[_0x31aa6f(0x1da)]['on'](_0x31aa6f(0x1d4),()=>{const _0x25a426=_0x31aa6f;_0x603baa[_0x25a426(0x201)]>0x0&&_0x4fc49c[_0x25a426(0x1de)]({'isUndoable':!0x1},_0x343172=>{const _0x38578f=_0x25a426;for(const [_0x5c1b03,_0xd57463]of _0x603baa)_0x38578f(0x1ef)==_0x4fc49c[_0x38578f(0x204)][_0x38578f(0x22a)](_0x5c1b03)[_0x38578f(0x203)]()[_0x38578f(0x1e5)][_0x38578f(0x1dc)]&&(re(_0x5c1b03[_0x38578f(0x1cc)](':')[0x2],_0xd57463[_0x38578f(0x1b4)](),_0x4fc49c,_0x343172),_0xd57463[_0x38578f(0x22c)]());_0x603baa[_0x38578f(0x1e0)]();});});}(_0x3820a5),this[_0xfe6e7c(0x1fc)][_0xfe6e7c(0x20c)](_0x1cbb2d[_0xfe6e7c(0x1da)],_0xfe6e7c(0x1a9),(_0x5774de,{key:_0x3415b5})=>{const _0x44ffed=_0xfe6e7c;_0x44ffed(0x1c8)===_0x3415b5&&function(_0x312acf){const _0x3645b8=_0x44ffed;_0x312acf[_0x3645b8(0x1c1)][_0x3645b8(0x202)][_0x3645b8(0x1d4)](_0xeb8381=>{const _0x5b6352=_0x3645b8;for(const _0x39f662 of _0x312acf[_0x5b6352(0x1d8)][_0x5b6352(0x204)]){if(!_0x39f662[_0x5b6352(0x1e6)][_0x5b6352(0x213)](_0x5b6352(0x1bd)))continue;const _0x50c1ab=_0x312acf[_0x5b6352(0x1c1)][_0x5b6352(0x1bf)][_0x5b6352(0x1d0)](_0x39f662[_0x5b6352(0x1e6)]);if(_0x50c1ab){for(const _0x9e90c1 of _0x50c1ab)_0xeb8381[_0x5b6352(0x205)](_0x5b6352(0x1b8),_0x9e90c1);}}});}(_0x3820a5);},{'useCapture':!0x0});}[_0x22d2c9(0x22b)](){const _0xb068a1=_0x22d2c9,_0x4c4e09=this[_0xb068a1(0x209)],_0x57d9ff=_0x4c4e09[_0xb068a1(0x212)][_0xb068a1(0x22a)](_0xb068a1(0x208));_0x57d9ff&&_0x4c4e09[_0xb068a1(0x1d8)]['on'](_0xb068a1(0x1b5),(_0x5e80e8,_0x3d821b)=>{const _0x3392ec=_0xb068a1,_0x2137f8=_0x3d821b[0x0];if(_0x3392ec(0x1db)!=_0x2137f8[_0x3392ec(0x1b9)]||!_0x2137f8[_0x3392ec(0x1e6)][_0x3392ec(0x213)](_0x3392ec(0x228)))return;const _0x1b1de9=_0x2137f8[_0x3392ec(0x1c9)];_0x57d9ff[_0x3392ec(0x1b3)][_0x3392ec(0x1f8)](_0x1b1de9)&&(_0x2137f8[_0x3392ec(0x1fe)]=_0x2137f8[_0x3392ec(0x21f)]?_0x4c4e09[_0x3392ec(0x1d8)][_0x3392ec(0x1c6)](_0x2137f8[_0x3392ec(0x21f)][_0x3392ec(0x217)],_0x2137f8[_0x3392ec(0x21f)][_0x3392ec(0x20e)]):null);},{'priority':_0xb068a1(0x21d)});}[_0x22d2c9(0x200)](){const _0x438ca5=_0x22d2c9;return this[_0x438ca5(0x1fc)][_0x438ca5(0x1c4)](),super[_0x438ca5(0x200)]();}[_0x22d2c9(0x227)](){const _0x5b4320=_0x22d2c9,_0x5e6e14=this[_0x5b4320(0x209)],_0x20ff32=_0x5e6e14[_0x5b4320(0x1d8)][_0x5b4320(0x1da)],_0x21560b=_0x5e6e14[_0x5b4320(0x1ab)][_0x5b4320(0x22a)](_0x43ca9c);_0x5e6e14[_0x5b4320(0x1d8)][_0x5b4320(0x1de)]({'isUndoable':!0x1},_0x4983a1=>{const _0x2e4f8c=_0x5b4320,_0x4bb29e=_0x2e4f8c(0x1b0)+_0x21560b[_0x2e4f8c(0x1e2)],_0x1618aa=_0x2e4f8c(0x1cf)+_0x21560b[_0x2e4f8c(0x1e2)],_0x1972ae=_0x5e6e14[_0x2e4f8c(0x1d8)][_0x2e4f8c(0x204)][_0x2e4f8c(0x1f8)](_0x4bb29e);_0x5e6e14[_0x2e4f8c(0x1c1)][_0x2e4f8c(0x202)][_0x2e4f8c(0x220)]?re(_0x21560b[_0x2e4f8c(0x1e2)],_0x20ff32[_0x2e4f8c(0x1d3)][_0x2e4f8c(0x20b)](),_0x5e6e14[_0x2e4f8c(0x1d8)],_0x4983a1):_0x1972ae&&(_0x4983a1[_0x2e4f8c(0x225)](_0x4bb29e),_0x4983a1[_0x2e4f8c(0x225)](_0x1618aa));});}}function re(_0x5c49b1,_0x4ce4b1,_0x1a2645,_0x173ba1){const _0x220099=_0x22d2c9,_0x341cfc=_0x220099(0x1b0)+_0x5c49b1,_0x481b94=_0x220099(0x1cf)+_0x5c49b1,_0x55bd35=_0x4ce4b1[_0x220099(0x1ce)]();let _0x3770c0=_0x4ce4b1[_0x220099(0x217)];_0x55bd35&&_0x55bd35['is'](_0x220099(0x1c5),_0x220099(0x1d2))&&(_0x3770c0=function(_0x2710d8,_0x3242b7){const _0xd0cca2=_0x220099;for(const _0x399722 of _0x2710d8[_0xd0cca2(0x1ee)]())if(_0x3242b7[_0xd0cca2(0x206)][_0xd0cca2(0x1df)](_0x399722,_0xd0cca2(0x1d5)))return _0x399722;}(_0x4ce4b1,_0x1a2645),_0x4ce4b1=_0x173ba1[_0x220099(0x1c6)](_0x3770c0));const _0x2fe73f=_0x173ba1[_0x220099(0x1c6)](_0x3770c0);_0x1a2645[_0x220099(0x204)][_0x220099(0x1f8)](_0x341cfc)?(_0x173ba1[_0x220099(0x210)](_0x341cfc,{'range':_0x4ce4b1}),_0x173ba1[_0x220099(0x210)](_0x481b94,{'range':_0x2fe73f})):(_0x173ba1[_0x220099(0x20d)](_0x341cfc,{'range':_0x4ce4b1,'usingOperation':!0x0}),_0x173ba1[_0x220099(0x20d)](_0x481b94,{'range':_0x2fe73f,'usingOperation':!0x0}));}
23
+ const _0x152671=_0x5cab;(function(_0x8676b0,_0xf30d44){const _0x2c1253=_0x5cab,_0x4026b7=_0x8676b0();while(!![]){try{const _0xa5d760=-parseInt(_0x2c1253(0x177))/0x1*(parseInt(_0x2c1253(0x180))/0x2)+-parseInt(_0x2c1253(0x160))/0x3*(-parseInt(_0x2c1253(0x154))/0x4)+parseInt(_0x2c1253(0x15b))/0x5+-parseInt(_0x2c1253(0x1a5))/0x6*(-parseInt(_0x2c1253(0x15e))/0x7)+-parseInt(_0x2c1253(0x1ad))/0x8+parseInt(_0x2c1253(0x164))/0x9+-parseInt(_0x2c1253(0x16e))/0xa*(parseInt(_0x2c1253(0x141))/0xb);if(_0xa5d760===_0xf30d44)break;else _0x4026b7['push'](_0x4026b7['shift']());}catch(_0x599e3e){_0x4026b7['push'](_0x4026b7['shift']());}}}(_0x5d05,0x675c6));import{Plugin as _0x1224ab}from'ckeditor5/src/core.js';import{global as _0x3d48c3,DomEmitterMixin as _0x294048}from'ckeditor5/src/utils.js';import _0x2696f7 from'./sessions.js';function _0x5d05(){const _0x3d9016=['ck-user__marker_hovered','markerToHighlight','80pVmyaB','_createdBatches','fromRange','getUserBySessionId','render','view','selection','mySessionId','detach','5CUSqkl','commands','Escape','innerHTML','addEventListener','get','getMarkerClass','pluginName','createRange','10484EjTvin','_domEmitter','oldRange','model','conversion','set','mouseleave','markerRange','toDomElement','remove','</span>⁠','markerName','element','isOfficialPlugin','change:range','checkChild','isInline','requires','classList','enqueueChange','getFirstRange','applyOperation','marker','⁠<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>','start','for','hasDomSelection','delete','getCustomProperty','user:range:','getStart','isObject','afterInit','markers','UserMarkers','orderNumber','end','6dsBsIp','parent','update:user:range','change','user:range','markerToElement','setCustomProperty','ck-user__marker\x20','1636376wadRLe','ck-user__selection','getPositions','createUserMarkerOperations','createUIElement','clear','schema','color','removeClass','contenteditable','isPremiumPlugin','mapper','user:','editingDowncast','addMarker','userPositionMarker','init','markerNameToElements','reconvertMarker','getContainedElement','editor','user:position:','document','getNearestSelectionRange','tableCell','639584PMtHPL','getSelectionClass','startsWith','isSimilar','listenTo','keydown','highest','stopListening','batch','isCollapsed','hasContent','user:position','mouseenter','destroy','getAttribute','isLimit','data-session-id','deletionPosition','getRange','9392HAGWOA','$graveyard','type','root','editing','rootName','size','2268265umdTzW','$text','split','1804096gJTtVe','span','474jpbykL','updateMarker','has','name','332190eYxPeN','newRange','undo','nodeAfter','add','removeMarker','toRange','plugins'];_0x5d05=function(){return _0x3d9016;};return _0x5d05();}import{LiveRange as _0x54e66f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x5cab(_0x4d9870,_0x163102){const _0x5d05fc=_0x5d05();return _0x5cab=function(_0x5cab8e,_0xebca62){_0x5cab8e=_0x5cab8e-0x138;let _0x30d174=_0x5d05fc[_0x5cab8e];return _0x30d174;},_0x5cab(_0x4d9870,_0x163102);}export default class H extends _0x1224ab{constructor(){const _0x2baeae=_0x5cab;super(...arguments),this[_0x2baeae(0x181)]=new(_0x294048())();}static get[_0x152671(0x191)](){return[_0x2696f7];}static get[_0x152671(0x17e)](){const _0x26d71a=_0x152671;return _0x26d71a(0x1a2);}static get[_0x152671(0x18d)](){return!0x0;}static get[_0x152671(0x1b7)](){return!0x0;}[_0x152671(0x138)](){const _0x2a59b8=_0x152671,_0x416e83=this[_0x2a59b8(0x13c)],_0x1868b5=_0x416e83[_0x2a59b8(0x16b)][_0x2a59b8(0x17c)](_0x2696f7);_0x416e83[_0x2a59b8(0x184)][_0x2a59b8(0x199)](_0x2a59b8(0x1ba))[_0x2a59b8(0x1aa)]({'model':_0x2a59b8(0x14c),'view':(_0x20fddc,{writer:_0x41d9d2})=>function(_0x2430db,_0x559505,_0x5ad2ec,_0x48aa12){const _0x4e0036=_0x2a59b8,_0x39aa2a=_0x2430db[_0x4e0036(0x18b)][_0x4e0036(0x15d)](':')[0x2],_0x70e968=_0x5ad2ec[_0x4e0036(0x171)](_0x39aa2a);if(!_0x70e968||_0x39aa2a===_0x5ad2ec[_0x4e0036(0x175)])return;if(!_0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x1b3)][_0x4e0036(0x18f)](_0x2430db[_0x4e0036(0x187)][_0x4e0036(0x198)],_0x4e0036(0x15c)))return;const _0x4f6063={'class':_0x4e0036(0x1ac)+_0x70e968[_0x4e0036(0x1b4)][_0x4e0036(0x17d)](),'data-name':_0x70e968[_0x4e0036(0x163)],'data-session-id':_0x39aa2a},_0x12e765=_0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x1a1)][_0x4e0036(0x17c)](_0x2430db[_0x4e0036(0x18b)]),_0x3af663=_0x12e765[_0x4e0036(0x19e)](),_0x2bd4ca=_0x3af663[_0x4e0036(0x167)],_0x3318ad=_0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x1b3)];if(_0x2bd4ca&&_0x3318ad[_0x4e0036(0x19f)](_0x2bd4ca)&&_0x3318ad[_0x4e0036(0x190)](_0x2bd4ca)&&!_0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x1a1)][_0x4e0036(0x17c)](_0x4e0036(0x19d)+_0x39aa2a)[_0x4e0036(0x153)]()[_0x4e0036(0x14a)])return;const _0x5067e0=_0x3af663[_0x4e0036(0x1a6)];return _0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x1b3)][_0x4e0036(0x150)](_0x5067e0)&&!_0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x14b)](_0x5067e0)&&(_0x4f6063[_0x4e0036(0x1b6)]=!0x1),function(_0x1f60e4,_0x2138ee,_0x140f7b){const _0x53ccc7=_0x4e0036,_0x1dbfea=_0x1f60e4[_0x53ccc7(0x1b1)](_0x53ccc7(0x15f),_0x2138ee);return _0x1f60e4[_0x53ccc7(0x1ab)](_0x53ccc7(0x1bc),!0x0,_0x1dbfea),_0x1dbfea[_0x53ccc7(0x172)]=function(_0x2ec701){const _0x28e37a=_0x53ccc7,_0x31ab9d=this[_0x28e37a(0x188)](_0x2ec701);return _0x31ab9d[_0x28e37a(0x17a)]=_0x28e37a(0x197)+_0x140f7b[_0x28e37a(0x163)]+_0x28e37a(0x18a),_0x31ab9d[_0x28e37a(0x17b)](_0x28e37a(0x14d),()=>{const _0x53022b=_0x28e37a;_0x31ab9d[_0x53022b(0x192)][_0x53022b(0x168)](_0x53022b(0x16c));}),_0x31ab9d[_0x28e37a(0x17b)](_0x28e37a(0x186),()=>{const _0x552bca=_0x28e37a;_0x31ab9d[_0x552bca(0x192)][_0x552bca(0x189)](_0x552bca(0x16c));}),_0x31ab9d;},_0x1dbfea[_0x53ccc7(0x144)]=function(_0x2e8605){const _0x1a1a5e=_0x53ccc7;return!(!this[_0x1a1a5e(0x19c)](_0x1a1a5e(0x1bc))||!_0x2e8605[_0x1a1a5e(0x19c)](_0x1a1a5e(0x1bc))||this[_0x1a1a5e(0x14f)](_0x1a1a5e(0x151))!=_0x2e8605[_0x1a1a5e(0x14f)](_0x1a1a5e(0x151)));},_0x1dbfea;}(_0x559505,_0x4f6063,_0x70e968);}(_0x20fddc,_0x41d9d2,_0x1868b5,_0x416e83)}),_0x416e83[_0x2a59b8(0x184)][_0x2a59b8(0x199)](_0x2a59b8(0x1ba))[_0x2a59b8(0x16d)]({'model':_0x2a59b8(0x1a9),'view':_0x1566b4=>function(_0x1801a5,_0x45a8a9){const _0x1e0be4=_0x2a59b8,_0x5585a2=_0x1801a5[_0x1e0be4(0x18b)][_0x1e0be4(0x15d)](':')[0x2];if(_0x5585a2===_0x45a8a9[_0x1e0be4(0x175)])return null;const _0x51e97e=_0x45a8a9[_0x1e0be4(0x171)](_0x5585a2);if(!_0x51e97e)return{'id':_0x5585a2,'classes':[]};return{'id':_0x5585a2,'classes':[_0x1e0be4(0x1ae),_0x51e97e[_0x1e0be4(0x1b4)][_0x1e0be4(0x142)]()],'attributes':{'data-session-id':_0x5585a2},'priority':0x7d0+_0x51e97e[_0x1e0be4(0x1a3)]};}(_0x1566b4,_0x1868b5)}),function(_0x120a02){const _0x5eaaab=_0x2a59b8,_0x2dea2e=_0x120a02[_0x5eaaab(0x183)],_0x35d0c2=new Map(),_0x51bffe=_0x120a02[_0x5eaaab(0x16b)][_0x5eaaab(0x17c)](_0x2696f7);_0x2dea2e[_0x5eaaab(0x1a1)]['on'](_0x5eaaab(0x1a7),(_0x299d96,_0x211a94,_0x19bd37,_0x493ffe)=>{const _0x321572=_0x5eaaab;if(!_0x493ffe&&_0x35d0c2[_0x321572(0x17c)](_0x211a94[_0x321572(0x163)]))return _0x35d0c2[_0x321572(0x17c)](_0x211a94[_0x321572(0x163)])[_0x321572(0x176)](),void _0x35d0c2[_0x321572(0x19b)](_0x211a94[_0x321572(0x163)]);const _0x317664=_0x211a94[_0x321572(0x163)][_0x321572(0x15d)](':')[0x2];if(_0x317664===_0x51bffe[_0x321572(0x175)])return;const _0x5f3183=_0x321572(0x13d)+_0x317664;_0x2dea2e[_0x321572(0x1a1)][_0x321572(0x162)](_0x5f3183)&&_0x120a02[_0x321572(0x158)][_0x321572(0x13a)](_0x5f3183),_0x211a94['on'](_0x321572(0x18e),(_0x24aaf8,_0x489f7a,_0x39c7ce)=>{const _0x1bc402=_0x321572;if(_0x1bc402(0x155)!=_0x489f7a[_0x1bc402(0x157)][_0x1bc402(0x159)]&&_0x1bc402(0x155)==_0x211a94[_0x1bc402(0x153)]()[_0x1bc402(0x157)][_0x1bc402(0x159)]&&!_0x35d0c2[_0x1bc402(0x162)](_0x211a94[_0x1bc402(0x163)])){const _0x169dcf=_0x2dea2e[_0x1bc402(0x1b3)][_0x1bc402(0x13f)](_0x39c7ce[_0x1bc402(0x152)]);if(_0x169dcf){const _0x403042=_0x54e66f[_0x1bc402(0x170)](_0x169dcf);_0x35d0c2[_0x1bc402(0x185)](_0x211a94[_0x1bc402(0x163)],_0x403042),_0x403042['on'](_0x1bc402(0x18e),(_0x38e758,_0x258db5,_0x7421da)=>{const _0x543cf8=_0x1bc402;if(_0x543cf8(0x155)==_0x403042[_0x543cf8(0x157)][_0x543cf8(0x159)]){const _0x405410=_0x2dea2e[_0x543cf8(0x1b3)][_0x543cf8(0x13f)](_0x7421da[_0x543cf8(0x152)]);_0x405410?(_0x403042[_0x543cf8(0x198)]=_0x405410[_0x543cf8(0x198)],_0x403042[_0x543cf8(0x1a4)]=_0x405410[_0x543cf8(0x1a4)]):(_0x35d0c2[_0x543cf8(0x19b)](_0x211a94[_0x543cf8(0x163)]),_0x403042[_0x543cf8(0x176)]());}});}}});}),_0x2dea2e[_0x5eaaab(0x13e)]['on'](_0x5eaaab(0x1a8),()=>{const _0x5133b9=_0x5eaaab;_0x35d0c2[_0x5133b9(0x15a)]>0x0&&_0x2dea2e[_0x5133b9(0x193)]({'isUndoable':!0x1},_0x47e24f=>{const _0x1f8530=_0x5133b9;for(const [_0x51a907,_0x5388d3]of _0x35d0c2)_0x1f8530(0x155)==_0x2dea2e[_0x1f8530(0x1a1)][_0x1f8530(0x17c)](_0x51a907)[_0x1f8530(0x153)]()[_0x1f8530(0x157)][_0x1f8530(0x159)]&&(re(_0x51a907[_0x1f8530(0x15d)](':')[0x2],_0x5388d3[_0x1f8530(0x16a)](),_0x2dea2e,_0x47e24f),_0x5388d3[_0x1f8530(0x176)]());_0x35d0c2[_0x1f8530(0x1b2)]();});});}(_0x416e83),this[_0x2a59b8(0x181)][_0x2a59b8(0x145)](_0x3d48c3[_0x2a59b8(0x13e)],_0x2a59b8(0x146),(_0x30897f,{key:_0x5b3d37})=>{const _0x54d1e9=_0x2a59b8;_0x54d1e9(0x179)===_0x5b3d37&&function(_0x2126d8){const _0x4899fc=_0x54d1e9;_0x2126d8[_0x4899fc(0x158)][_0x4899fc(0x173)][_0x4899fc(0x1a8)](_0x4c4d9a=>{const _0x3b94a2=_0x4899fc;for(const _0x1c0f63 of _0x2126d8[_0x3b94a2(0x183)][_0x3b94a2(0x1a1)]){if(!_0x1c0f63[_0x3b94a2(0x163)][_0x3b94a2(0x143)](_0x3b94a2(0x14c)))continue;const _0xc0fa00=_0x2126d8[_0x3b94a2(0x158)][_0x3b94a2(0x1b8)][_0x3b94a2(0x139)](_0x1c0f63[_0x3b94a2(0x163)]);if(_0xc0fa00){for(const _0xcc4c40 of _0xc0fa00)_0x4c4d9a[_0x3b94a2(0x1b5)](_0x3b94a2(0x16c),_0xcc4c40);}}});}(_0x416e83);},{'useCapture':!0x0});}[_0x152671(0x1a0)](){const _0x4898e7=_0x152671,_0x236cdc=this[_0x4898e7(0x13c)],_0x2589b9=_0x236cdc[_0x4898e7(0x178)][_0x4898e7(0x17c)](_0x4898e7(0x166));_0x2589b9&&_0x236cdc[_0x4898e7(0x183)]['on'](_0x4898e7(0x195),(_0x51c41b,_0x34241f)=>{const _0x1bcc7d=_0x4898e7,_0x1d21a4=_0x34241f[0x0];if(_0x1bcc7d(0x196)!=_0x1d21a4[_0x1bcc7d(0x156)]||!_0x1d21a4[_0x1bcc7d(0x163)][_0x1bcc7d(0x143)](_0x1bcc7d(0x1b9)))return;const _0x1b63de=_0x1d21a4[_0x1bcc7d(0x149)];_0x2589b9[_0x1bcc7d(0x16f)][_0x1bcc7d(0x162)](_0x1b63de)&&(_0x1d21a4[_0x1bcc7d(0x165)]=_0x1d21a4[_0x1bcc7d(0x182)]?_0x236cdc[_0x1bcc7d(0x183)][_0x1bcc7d(0x17f)](_0x1d21a4[_0x1bcc7d(0x182)][_0x1bcc7d(0x198)],_0x1d21a4[_0x1bcc7d(0x182)][_0x1bcc7d(0x1a4)]):null);},{'priority':_0x4898e7(0x147)});}[_0x152671(0x14e)](){const _0x3cb1c7=_0x152671;return this[_0x3cb1c7(0x181)][_0x3cb1c7(0x148)](),super[_0x3cb1c7(0x14e)]();}[_0x152671(0x1b0)](){const _0x45bdb4=_0x152671,_0x1ad40f=this[_0x45bdb4(0x13c)],_0x43c8af=_0x1ad40f[_0x45bdb4(0x183)][_0x45bdb4(0x13e)],_0x2eb788=_0x1ad40f[_0x45bdb4(0x16b)][_0x45bdb4(0x17c)](_0x2696f7);_0x1ad40f[_0x45bdb4(0x183)][_0x45bdb4(0x193)]({'isUndoable':!0x1},_0x357352=>{const _0x4e86b8=_0x45bdb4,_0x48db1b=_0x4e86b8(0x19d)+_0x2eb788[_0x4e86b8(0x175)],_0x42ab1a=_0x4e86b8(0x13d)+_0x2eb788[_0x4e86b8(0x175)],_0x1a0bb3=_0x1ad40f[_0x4e86b8(0x183)][_0x4e86b8(0x1a1)][_0x4e86b8(0x162)](_0x48db1b);_0x1ad40f[_0x4e86b8(0x158)][_0x4e86b8(0x173)][_0x4e86b8(0x19a)]?re(_0x2eb788[_0x4e86b8(0x175)],_0x43c8af[_0x4e86b8(0x174)][_0x4e86b8(0x194)](),_0x1ad40f[_0x4e86b8(0x183)],_0x357352):_0x1a0bb3&&(_0x357352[_0x4e86b8(0x169)](_0x48db1b),_0x357352[_0x4e86b8(0x169)](_0x42ab1a));});}}function re(_0xd45b1d,_0x4c87bb,_0x10fb1b,_0x32a300){const _0x5c5dfb=_0x152671,_0x4c8ab2=_0x5c5dfb(0x19d)+_0xd45b1d,_0x1347c1=_0x5c5dfb(0x13d)+_0xd45b1d,_0x29aa4c=_0x4c87bb[_0x5c5dfb(0x13b)]();let _0x1f1bb0=_0x4c87bb[_0x5c5dfb(0x198)];_0x29aa4c&&_0x29aa4c['is'](_0x5c5dfb(0x18c),_0x5c5dfb(0x140))&&(_0x1f1bb0=function(_0xd4d6db,_0x3cacba){const _0x377052=_0x5c5dfb;for(const _0x47cce7 of _0xd4d6db[_0x377052(0x1af)]())if(_0x3cacba[_0x377052(0x1b3)][_0x377052(0x18f)](_0x47cce7,_0x377052(0x15c)))return _0x47cce7;}(_0x4c87bb,_0x10fb1b),_0x4c87bb=_0x32a300[_0x5c5dfb(0x17f)](_0x1f1bb0));const _0x116340=_0x32a300[_0x5c5dfb(0x17f)](_0x1f1bb0);_0x10fb1b[_0x5c5dfb(0x1a1)][_0x5c5dfb(0x162)](_0x4c8ab2)?(_0x32a300[_0x5c5dfb(0x161)](_0x4c8ab2,{'range':_0x4c87bb}),_0x32a300[_0x5c5dfb(0x161)](_0x1347c1,{'range':_0x116340})):(_0x32a300[_0x5c5dfb(0x1bb)](_0x4c8ab2,{'range':_0x4c87bb,'usingOperation':!0x0}),_0x32a300[_0x5c5dfb(0x1bb)](_0x1347c1,{'range':_0x116340,'usingOperation':!0x0}));}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module real-time-collaboration/realtimecollaborativeediting/websocketgateway
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d29ce=_0x227d;function _0x227d(_0x33c36c,_0x17cd8b){const _0x2d79b5=_0x2d79();return _0x227d=function(_0x227df6,_0x315be9){_0x227df6=_0x227df6-0xe8;let _0x395f27=_0x2d79b5[_0x227df6];return _0x395f27;},_0x227d(_0x33c36c,_0x17cd8b);}(function(_0x2a144e,_0x32f78d){const _0x43626b=_0x227d,_0x3a14f1=_0x2a144e();while(!![]){try{const _0x155b32=-parseInt(_0x43626b(0x111))/0x1+-parseInt(_0x43626b(0xfe))/0x2+-parseInt(_0x43626b(0xec))/0x3+-parseInt(_0x43626b(0x12e))/0x4*(-parseInt(_0x43626b(0x104))/0x5)+parseInt(_0x43626b(0xf4))/0x6+parseInt(_0x43626b(0xf5))/0x7*(parseInt(_0x43626b(0x10e))/0x8)+parseInt(_0x43626b(0x131))/0x9*(parseInt(_0x43626b(0x12f))/0xa);if(_0x155b32===_0x32f78d)break;else _0x3a14f1['push'](_0x3a14f1['shift']());}catch(_0x18dc53){_0x3a14f1['push'](_0x3a14f1['shift']());}}}(_0x2d79,0x98685));import{ContextPlugin as _0x520628}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0xe87236,CKEditorError as _0x21c675}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x8a1b7f,WEB_SOCKET_GATEWAY_STATES as _0x3e00b4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x25fd5c}from'ckeditor5/src/ui.js';class c extends _0x520628{static get[_0x2d29ce(0x106)](){const _0xcc6ac5=_0x2d29ce;return[_0xcc6ac5(0x128),_0x25fd5c];}static get[_0x2d29ce(0x12d)](){const _0x2109c2=_0x2d29ce;return _0x2109c2(0x11b);}static get[_0x2d29ce(0xf2)](){return!0x0;}static get[_0x2d29ce(0x11c)](){return!0x0;}constructor(_0x1486bb){const _0x5922a0=_0x2d29ce;super(_0x1486bb),this[_0x5922a0(0x11e)](_0x5922a0(0xed),_0x3e00b4[_0x5922a0(0x100)]),this[_0x5922a0(0x11e)](_0x5922a0(0x132),!0x1),this[_0x5922a0(0x114)]=new Set(),this[_0x5922a0(0x10b)]=!0x1,this[_0x5922a0(0x127)]=Object[_0x5922a0(0x112)](_0xe87236);}[_0x2d29ce(0xfb)](){const _0x4e472f=_0x2d29ce,_0x10d299=this[_0x4e472f(0xf3)],_0x4e14a7=_0x10d299[_0x4e472f(0x117)][_0x4e472f(0x121)](_0x4e472f(0x128)),_0x49adcc=_0x10d299[_0x4e472f(0x117)][_0x4e472f(0x121)](_0x25fd5c);if(!_0x4e14a7[_0x4e472f(0x107)])throw new _0x21c675(_0x4e472f(0xe8),this);if(!_0x4e14a7[_0x4e472f(0xe9)])throw new _0x21c675(_0x4e472f(0xf9),this);return this[_0x4e472f(0x127)][_0x4e472f(0x11d)](window,_0x4e472f(0x126),()=>this[_0x4e472f(0x132)]=!0x0),this[_0x4e472f(0x127)][_0x4e472f(0x11d)](window,_0x4e472f(0x101),()=>this[_0x4e472f(0x132)]=!0x1),this[_0x4e472f(0xf3)][_0x4e472f(0xf6)][_0x4e472f(0xf0)](_0x4e472f(0x119),0xa),this[_0x4e472f(0xf3)][_0x4e472f(0xf6)][_0x4e472f(0xf0)](_0x4e472f(0xf1),0x14),c[_0x4e472f(0x11b)][_0x4e472f(0x108)](_0x4e14a7[_0x4e472f(0x107)],_0x4e14a7[_0x4e472f(0xe9)],{'timeout':0x3e8*this[_0x4e472f(0xf3)][_0x4e472f(0xf6)][_0x4e472f(0x121)](_0x4e472f(0x119)),'requestTimeout':0x3e8*this[_0x4e472f(0xf3)][_0x4e472f(0xf6)][_0x4e472f(0x121)](_0x4e472f(0xf1))})[_0x4e472f(0xea)](_0x5c10c9=>{const _0x1fef12=_0x4e472f;if(this[_0x1fef12(0x118)]=_0x5c10c9,this[_0x1fef12(0x125)](_0x1fef12(0xed))['to'](_0x5c10c9,_0x1fef12(0xed),this,_0x1fef12(0x132),(_0x289432,_0x7b0ee5)=>(_0x1fef12(0x10c)!==_0x289432&&(this[_0x1fef12(0x10b)]=!0x0),_0x7b0ee5||_0x289432!==_0x3e00b4[_0x1fef12(0x100)]?_0x3e00b4[_0x1fef12(0x115)]:this[_0x1fef12(0xed)]==_0x3e00b4[_0x1fef12(0x115)]&&this[_0x1fef12(0x10b)]?(this[_0x1fef12(0x10b)]=!0x1,this[_0x1fef12(0x124)](),_0x3e00b4[_0x1fef12(0xef)]):_0x3e00b4[_0x1fef12(0x100)])),this[_0x1fef12(0x118)]['on'](_0x1fef12(0x122),(_0x3c4ee3,_0xc3bdef)=>{const _0x1105f4=_0x1fef12;if(_0x1105f4(0xf7)!==_0xc3bdef[_0x1105f4(0x10a)])throw console[_0x1105f4(0x122)](_0xc3bdef),new _0x21c675(_0x1105f4(0x12c),null,{'originalError':_0xc3bdef});_0x49adcc[_0x1105f4(0x12b)](_0x1105f4(0xee),{'title':_0x1105f4(0x103),'namespace':_0x1105f4(0x11a)});}),!_0x5c10c9['me'])return new Promise(_0x5ae231=>_0x5c10c9['on'](_0x1fef12(0xeb),_0x5ae231));})[_0x4e472f(0x11f)](_0x40f0df=>{const _0x46f7de=_0x4e472f;throw console[_0x46f7de(0x122)](_0x40f0df),new _0x21c675(_0x46f7de(0x12c),null,{'originalError':_0x40f0df});});}[_0x2d29ce(0x102)](_0x578574){const _0x3bbd3b=_0x2d29ce;if(_0x3bbd3b(0x105)!=typeof _0x578574[_0x3bbd3b(0x130)])throw new _0x21c675(_0x3bbd3b(0x10f),this);if(this[_0x3bbd3b(0x109)](_0x578574))throw new _0x21c675(_0x3bbd3b(0x10d),this,{'name':_0x578574[_0x3bbd3b(0x116)][_0x3bbd3b(0x12d)]});this[_0x3bbd3b(0x114)][_0x3bbd3b(0xff)](_0x578574);}[_0x2d29ce(0x110)](_0xc84e84){const _0x5e62bf=_0x2d29ce;this[_0x5e62bf(0x114)][_0x5e62bf(0x12a)](_0xc84e84);}[_0x2d29ce(0x109)](_0x3c0627){const _0x2a04a3=_0x2d29ce;return this[_0x2a04a3(0x114)][_0x2a04a3(0x120)](_0x3c0627);}[_0x2d29ce(0x124)](){const _0x27931f=_0x2d29ce;return this[_0x27931f(0x118)][_0x27931f(0x130)]()[_0x27931f(0xea)](()=>Promise[_0x27931f(0x129)](Array[_0x27931f(0x123)](this[_0x27931f(0x114)],_0x54ae59=>_0x54ae59[_0x27931f(0x130)]())))[_0x27931f(0xea)](()=>this[_0x27931f(0xed)]=_0x3e00b4[_0x27931f(0x100)])[_0x27931f(0x11f)](_0x1cf154=>{const _0x2c6fb4=_0x27931f;throw console[_0x2c6fb4(0x122)](_0x1cf154),new _0x21c675(_0x2c6fb4(0xf8),this[_0x2c6fb4(0xf3)]);});}[_0x2d29ce(0xfc)](){const _0xd9a9=_0x2d29ce;this[_0xd9a9(0x118)]&&this[_0xd9a9(0x118)][_0xd9a9(0xfd)](),this[_0xd9a9(0xed)]=_0x3e00b4[_0xd9a9(0x115)],this[_0xd9a9(0x127)][_0xd9a9(0x113)](),super[_0xd9a9(0xfc)]();}}c[_0x2d29ce(0x11b)]=_0x8a1b7f,c[_0x2d29ce(0xfa)]=0x3e8;function _0x2d79(){const _0x134cd0=['disconnect','921720yWGSMc','add','CONNECTED','online','addToReconnectionStack','Connected\x20users\x20limit\x20exceeded','20cPqrgY','function','requires','token','connect','isInReconnectionStack','code','_shouldPluginsReconnect','connected','websocketgateway-plugin-already-registered','643880ChAJGw','websocketgateway-invalid-plugin-interface','removeFromReconnectionStack','1001068pZHeke','create','stopListening','_reconnectionStack','DISCONNECTED','constructor','plugins','connection','cloudServices.connectionTimeout','real-time-collaboration','WebSocketGateway','isPremiumPlugin','listenTo','set','catch','has','get','error','from','_reconnect','bind','offline','_domEmitter','CloudServices','all','delete','showWarning','cloudservices-init','pluginName','948524RqTGAd','852170tqBhqz','reconnect','45syWeSF','_isBrowserOffline','websocketgateway-missing-token','webSocketUrl','then','change:me','1307286zSVDAM','state','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.','CONNECTING','define','cloudServices.requestTimeout','isOfficialPlugin','context','606222iCoqRt','91rqXwxC','config','limitExceeded','cloudservices-reconnection-error','websocketgateway-missing-websocket-url','initialReconnectionInterval','init','destroy'];_0x2d79=function(){return _0x134cd0;};return _0x2d79();}export default c;
23
+ function _0x339c(){const _0x89d9c5=['removeFromReconnectionStack','connection','create','state','_reconnectionStack','config','49755sLjgpx','isInReconnectionStack','code','CloudServices','cloudservices-reconnection-error','3349158NHMzaj','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.','limitExceeded','add','online','context','token','offline','all','stopListening','_isBrowserOffline','disconnect','websocketgateway-missing-websocket-url','showWarning','cloudServices.requestTimeout','init','get','30316668aaqlgV','set','has','pluginName','connected','WebSocketGateway','then','_shouldPluginsReconnect','2530WIPOoo','change:me','164sroCKt','17710YpsrHt','4529588oivtor','plugins','DISCONNECTED','listenTo','CONNECTED','initialReconnectionInterval','isOfficialPlugin','5kWkWpk','websocketgateway-plugin-already-registered','6812hDtIYK','CONNECTING','webSocketUrl','bind','Connected\x20users\x20limit\x20exceeded','addToReconnectionStack','from','40KjeQys','_domEmitter','673749dZQUxL','real-time-collaboration','destroy','delete','error','172TzYAZF','constructor','catch','reconnect','isPremiumPlugin','cloudServices.connectionTimeout','requires','cloudservices-init','websocketgateway-invalid-plugin-interface','websocketgateway-missing-token','_reconnect','function','connect','define'];_0x339c=function(){return _0x89d9c5;};return _0x339c();}const _0x1bfab8=_0x26c3;(function(_0x31d058,_0x134b3a){const _0x43c562=_0x26c3,_0x4f15f4=_0x31d058();while(!![]){try{const _0x58bbd9=-parseInt(_0x43c562(0x165))/0x1*(parseInt(_0x43c562(0x173))/0x2)+parseInt(_0x43c562(0x13a))/0x3*(-parseInt(_0x43c562(0x15a))/0x4)+parseInt(_0x43c562(0x163))/0x5*(parseInt(_0x43c562(0x13f))/0x6)+-parseInt(_0x43c562(0x15c))/0x7+-parseInt(_0x43c562(0x16c))/0x8*(parseInt(_0x43c562(0x16e))/0x9)+-parseInt(_0x43c562(0x15b))/0xa*(parseInt(_0x43c562(0x158))/0xb)+parseInt(_0x43c562(0x150))/0xc;if(_0x58bbd9===_0x134b3a)break;else _0x4f15f4['push'](_0x4f15f4['shift']());}catch(_0x115439){_0x4f15f4['push'](_0x4f15f4['shift']());}}}(_0x339c,0x5f39e));import{ContextPlugin as _0x4cad8e}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x41e9cc,CKEditorError as _0x158868}from'ckeditor5/src/utils.js';function _0x26c3(_0x14907d,_0x3bb1c9){const _0x339ccb=_0x339c();return _0x26c3=function(_0x26c36e,_0x34ca67){_0x26c36e=_0x26c36e-0x138;let _0x595fad=_0x339ccb[_0x26c36e];return _0x595fad;},_0x26c3(_0x14907d,_0x3bb1c9);}import{WebSocketGateway as _0x21d1b0,WEB_SOCKET_GATEWAY_STATES as _0x57463a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x4cb753}from'ckeditor5/src/ui.js';class c extends _0x4cad8e{static get[_0x1bfab8(0x179)](){const _0x3e8b4d=_0x1bfab8;return[_0x3e8b4d(0x13d),_0x4cb753];}static get[_0x1bfab8(0x153)](){const _0x28ee28=_0x1bfab8;return _0x28ee28(0x155);}static get[_0x1bfab8(0x162)](){return!0x0;}static get[_0x1bfab8(0x177)](){return!0x0;}constructor(_0x425f3a){const _0x54c038=_0x1bfab8;super(_0x425f3a),this[_0x54c038(0x151)](_0x54c038(0x184),_0x57463a[_0x54c038(0x160)]),this[_0x54c038(0x151)](_0x54c038(0x149),!0x1),this[_0x54c038(0x138)]=new Set(),this[_0x54c038(0x157)]=!0x1,this[_0x54c038(0x16d)]=Object[_0x54c038(0x183)](_0x41e9cc);}[_0x1bfab8(0x14e)](){const _0x335a32=_0x1bfab8,_0x6f06a6=this[_0x335a32(0x144)],_0x45d2b7=_0x6f06a6[_0x335a32(0x15d)][_0x335a32(0x14f)](_0x335a32(0x13d)),_0x236b77=_0x6f06a6[_0x335a32(0x15d)][_0x335a32(0x14f)](_0x4cb753);if(!_0x45d2b7[_0x335a32(0x145)])throw new _0x158868(_0x335a32(0x17c),this);if(!_0x45d2b7[_0x335a32(0x167)])throw new _0x158868(_0x335a32(0x14b),this);return this[_0x335a32(0x16d)][_0x335a32(0x15f)](window,_0x335a32(0x146),()=>this[_0x335a32(0x149)]=!0x0),this[_0x335a32(0x16d)][_0x335a32(0x15f)](window,_0x335a32(0x143),()=>this[_0x335a32(0x149)]=!0x1),this[_0x335a32(0x144)][_0x335a32(0x139)][_0x335a32(0x180)](_0x335a32(0x178),0xa),this[_0x335a32(0x144)][_0x335a32(0x139)][_0x335a32(0x180)](_0x335a32(0x14d),0x14),c[_0x335a32(0x155)][_0x335a32(0x17f)](_0x45d2b7[_0x335a32(0x145)],_0x45d2b7[_0x335a32(0x167)],{'timeout':0x3e8*this[_0x335a32(0x144)][_0x335a32(0x139)][_0x335a32(0x14f)](_0x335a32(0x178)),'requestTimeout':0x3e8*this[_0x335a32(0x144)][_0x335a32(0x139)][_0x335a32(0x14f)](_0x335a32(0x14d))})[_0x335a32(0x156)](_0x1ea3a1=>{const _0x5ba178=_0x335a32;if(this[_0x5ba178(0x182)]=_0x1ea3a1,this[_0x5ba178(0x168)](_0x5ba178(0x184))['to'](_0x1ea3a1,_0x5ba178(0x184),this,_0x5ba178(0x149),(_0xd13f30,_0x31d56c)=>(_0x5ba178(0x154)!==_0xd13f30&&(this[_0x5ba178(0x157)]=!0x0),_0x31d56c||_0xd13f30!==_0x57463a[_0x5ba178(0x160)]?_0x57463a[_0x5ba178(0x15e)]:this[_0x5ba178(0x184)]==_0x57463a[_0x5ba178(0x15e)]&&this[_0x5ba178(0x157)]?(this[_0x5ba178(0x157)]=!0x1,this[_0x5ba178(0x17d)](),_0x57463a[_0x5ba178(0x166)]):_0x57463a[_0x5ba178(0x160)])),this[_0x5ba178(0x182)]['on'](_0x5ba178(0x172),(_0x154be1,_0x569f88)=>{const _0x54967e=_0x5ba178;if(_0x54967e(0x141)!==_0x569f88[_0x54967e(0x13c)])throw console[_0x54967e(0x172)](_0x569f88),new _0x158868(_0x54967e(0x17a),null,{'originalError':_0x569f88});_0x236b77[_0x54967e(0x14c)](_0x54967e(0x140),{'title':_0x54967e(0x169),'namespace':_0x54967e(0x16f)});}),!_0x1ea3a1['me'])return new Promise(_0x22b978=>_0x1ea3a1['on'](_0x5ba178(0x159),_0x22b978));})[_0x335a32(0x175)](_0x51a376=>{const _0x34229e=_0x335a32;throw console[_0x34229e(0x172)](_0x51a376),new _0x158868(_0x34229e(0x17a),null,{'originalError':_0x51a376});});}[_0x1bfab8(0x16a)](_0x27a5de){const _0x383556=_0x1bfab8;if(_0x383556(0x17e)!=typeof _0x27a5de[_0x383556(0x176)])throw new _0x158868(_0x383556(0x17b),this);if(this[_0x383556(0x13b)](_0x27a5de))throw new _0x158868(_0x383556(0x164),this,{'name':_0x27a5de[_0x383556(0x174)][_0x383556(0x153)]});this[_0x383556(0x138)][_0x383556(0x142)](_0x27a5de);}[_0x1bfab8(0x181)](_0x1185f1){const _0x56ca3d=_0x1bfab8;this[_0x56ca3d(0x138)][_0x56ca3d(0x171)](_0x1185f1);}[_0x1bfab8(0x13b)](_0x478256){const _0x5734bb=_0x1bfab8;return this[_0x5734bb(0x138)][_0x5734bb(0x152)](_0x478256);}[_0x1bfab8(0x17d)](){const _0x369b84=_0x1bfab8;return this[_0x369b84(0x182)][_0x369b84(0x176)]()[_0x369b84(0x156)](()=>Promise[_0x369b84(0x147)](Array[_0x369b84(0x16b)](this[_0x369b84(0x138)],_0x30c945=>_0x30c945[_0x369b84(0x176)]())))[_0x369b84(0x156)](()=>this[_0x369b84(0x184)]=_0x57463a[_0x369b84(0x160)])[_0x369b84(0x175)](_0x82e802=>{const _0x9b3a01=_0x369b84;throw console[_0x9b3a01(0x172)](_0x82e802),new _0x158868(_0x9b3a01(0x13e),this[_0x9b3a01(0x144)]);});}[_0x1bfab8(0x170)](){const _0x3c7a0e=_0x1bfab8;this[_0x3c7a0e(0x182)]&&this[_0x3c7a0e(0x182)][_0x3c7a0e(0x14a)](),this[_0x3c7a0e(0x184)]=_0x57463a[_0x3c7a0e(0x15e)],this[_0x3c7a0e(0x16d)][_0x3c7a0e(0x148)](),super[_0x3c7a0e(0x170)]();}}c[_0x1bfab8(0x155)]=_0x21d1b0,c[_0x1bfab8(0x161)]=0x3e8;export default c;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module real-time-collaboration/realtimecollaborativeediting
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x8e698e=_0x53fa;(function(_0x516c1d,_0x2ea916){var _0x28a38e=_0x53fa,_0x3af92c=_0x516c1d();while(!![]){try{var _0x48f42e=-parseInt(_0x28a38e(0x131))/0x1+parseInt(_0x28a38e(0x129))/0x2*(-parseInt(_0x28a38e(0x12e))/0x3)+-parseInt(_0x28a38e(0x12c))/0x4+-parseInt(_0x28a38e(0x133))/0x5+-parseInt(_0x28a38e(0x12f))/0x6*(-parseInt(_0x28a38e(0x12a))/0x7)+-parseInt(_0x28a38e(0x128))/0x8*(parseInt(_0x28a38e(0x12d))/0x9)+parseInt(_0x28a38e(0x126))/0xa;if(_0x48f42e===_0x2ea916)break;else _0x3af92c['push'](_0x3af92c['shift']());}catch(_0x13ec7c){_0x3af92c['push'](_0x3af92c['shift']());}}}(_0x296f,0xd771e));import{Plugin as _0x14c3de}from'ckeditor5/src/core.js';import _0x127b9c from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x53fa(_0x3d67ca,_0x181520){var _0x296f76=_0x296f();return _0x53fa=function(_0x53fa5b,_0x40afd8){_0x53fa5b=_0x53fa5b-0x125;var _0x18aba0=_0x296f76[_0x53fa5b];return _0x18aba0;},_0x53fa(_0x3d67ca,_0x181520);}export default class n extends _0x14c3de{static get[_0x8e698e(0x132)](){return[_0x127b9c];}static get[_0x8e698e(0x130)](){var _0x184b71=_0x8e698e;return _0x184b71(0x12b);}static get[_0x8e698e(0x125)](){return!0x0;}static get[_0x8e698e(0x127)](){return!0x0;}}function _0x296f(){var _0x4e978e=['3045308kxfvAU','2667924WCHLZs','428907VbJiSX','11334RNpZMa','pluginName','284578tpUJeZ','requires','6686265sIhRRK','isOfficialPlugin','29228420YcPVOg','isPremiumPlugin','16gosuHG','2bujqFh','3997SmZolJ','RealTimeCollaborativeEditing'];_0x296f=function(){return _0x4e978e;};return _0x296f();}
23
+ var _0x505737=_0x5a36;(function(_0xa8cb68,_0x3b3be9){var _0x1a6706=_0x5a36,_0x1edfb1=_0xa8cb68();while(!![]){try{var _0x485ab5=-parseInt(_0x1a6706(0x19f))/0x1*(parseInt(_0x1a6706(0x1a6))/0x2)+parseInt(_0x1a6706(0x1a3))/0x3+parseInt(_0x1a6706(0x19a))/0x4+-parseInt(_0x1a6706(0x1a7))/0x5+parseInt(_0x1a6706(0x1a8))/0x6+parseInt(_0x1a6706(0x19c))/0x7*(-parseInt(_0x1a6706(0x1a5))/0x8)+parseInt(_0x1a6706(0x1a2))/0x9*(-parseInt(_0x1a6706(0x1a0))/0xa);if(_0x485ab5===_0x3b3be9)break;else _0x1edfb1['push'](_0x1edfb1['shift']());}catch(_0x49deb0){_0x1edfb1['push'](_0x1edfb1['shift']());}}}(_0x55ce,0x4c557));function _0x5a36(_0x40e9ba,_0x285e11){var _0x55ce14=_0x55ce();return _0x5a36=function(_0x5a3687,_0x52bcd0){_0x5a3687=_0x5a3687-0x19a;var _0x2e4638=_0x55ce14[_0x5a3687];return _0x2e4638;},_0x5a36(_0x40e9ba,_0x285e11);}function _0x55ce(){var _0x3d1997=['isPremiumPlugin','131968Arxaxs','70RbqkRE','97660kBrpZd','85122hxlwAX','2123860qxXhCT','RealTimeCollaborativeEditing','63ogPOtN','requires','pluginName','8233GsnogI','50mstEOU','isOfficialPlugin','167265FpuauZ','949761OSrFHw'];_0x55ce=function(){return _0x3d1997;};return _0x55ce();}import{Plugin as _0x286f52}from'ckeditor5/src/core.js';import _0x1ac5bf from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x286f52{static get[_0x505737(0x19d)](){return[_0x1ac5bf];}static get[_0x505737(0x19e)](){var _0x2755d9=_0x505737;return _0x2755d9(0x19b);}static get[_0x505737(0x1a1)](){return!0x0;}static get[_0x505737(0x1a4)](){return!0x0;}}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module real-time-collaboration/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x353533=_0x3087;(function(_0x1aafd4,_0x2395b1){const _0xdb1e30=_0x3087,_0x334310=_0x1aafd4();while(!![]){try{const _0x46cd0c=parseInt(_0xdb1e30(0xe7))/0x1+-parseInt(_0xdb1e30(0x143))/0x2+-parseInt(_0xdb1e30(0xeb))/0x3+parseInt(_0xdb1e30(0x115))/0x4*(-parseInt(_0xdb1e30(0x13d))/0x5)+-parseInt(_0xdb1e30(0xf8))/0x6*(-parseInt(_0xdb1e30(0x128))/0x7)+parseInt(_0xdb1e30(0x142))/0x8+-parseInt(_0xdb1e30(0x138))/0x9*(-parseInt(_0xdb1e30(0x13c))/0xa);if(_0x46cd0c===_0x2395b1)break;else _0x334310['push'](_0x334310['shift']());}catch(_0x294336){_0x334310['push'](_0x334310['shift']());}}}(_0x4202,0x6a9ce));import{Plugin as _0x565bc2}from'ckeditor5/src/core.js';import{version as _0x202ce2}from'ckeditor5/src/utils.js';import{Users as _0x1f73eb}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3d6855 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x1b538b from'../realtimecollaborativeediting/websocketgateway.js';import _0x3dd145 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x4d63c7,RevisionHistoryService as _0x4752c6,User as _0x470a2c,WEB_SOCKET_GATEWAY_STATES as _0x31983e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x565bc2{static get[_0x353533(0x13a)](){const _0x8c7aa9=_0x353533;return[_0x1b538b,_0x3d6855,_0x8c7aa9(0x100),_0x3dd145,_0x1f73eb];}static get[_0x353533(0xff)](){const _0x3b85d8=_0x353533;return _0x3b85d8(0x101);}static get[_0x353533(0x125)](){return!0x0;}static get[_0x353533(0x13e)](){return!0x0;}constructor(_0x39b879){const _0x39ddea=_0x353533;super(_0x39b879);const _0x252c76=this[_0x39ddea(0xea)][_0x39ddea(0xf3)][_0x39ddea(0x113)](_0x39ddea(0x109));this[_0x39ddea(0xe2)]=null,this[_0x39ddea(0xe5)]=this[_0x39ddea(0xea)][_0x39ddea(0x122)][_0x39ddea(0x113)](_0x39ddea(0x100)),this[_0x39ddea(0x127)]=new u[(_0x39ddea(0x150))](_0x252c76);}async[_0x353533(0x14d)](){const _0x48fc8f=_0x353533,_0x2a4ff1=this[_0x48fc8f(0xea)][_0x48fc8f(0x122)][_0x48fc8f(0x113)](_0x3d6855),_0x3e9156=_0x2a4ff1[_0x48fc8f(0x14b)],_0x58630a=this[_0x48fc8f(0xea)][_0x48fc8f(0x122)][_0x48fc8f(0x113)](_0x1b538b);this[_0x48fc8f(0xe5)][_0x48fc8f(0x148)]({'history':_0x3e9156,'getLatestVersion':()=>this[_0x48fc8f(0x14e)](),'getCurrentRevisionId':()=>_0x2a4ff1[_0x48fc8f(0x131)]});const _0x1aec74=this[_0x48fc8f(0xea)][_0x48fc8f(0xf3)][_0x48fc8f(0x113)](_0x48fc8f(0xf4))||_0x202ce2,_0x1747bc=await _0x4d63c7[_0x48fc8f(0x13f)](_0x58630a[_0x48fc8f(0x137)],_0x1aec74);this[_0x48fc8f(0xe5)][_0x48fc8f(0x141)]={'getRevision':async({revisionId:_0x3f8694})=>(await this[_0x48fc8f(0x10e)](),await this[_0x48fc8f(0x127)][_0x48fc8f(0x12e)](_0x3f8694)),'updateRevisions':async _0x587924=>{const _0x16244e=_0x48fc8f;await this[_0x16244e(0x10e)]();const _0x2e58fa=this[_0x16244e(0xe5)][_0x16244e(0x145)];if(_0x1747bc&&0x1===_0x587924[_0x16244e(0xe1)]&&_0x587924[0x0]['id']===_0x2e58fa['id'])return _0x587924;for(const _0x44b440 of _0x587924)_0x44b440['id']===_0x2e58fa['id']&&(_0x44b440[_0x16244e(0x11f)]=_0x44b440[_0x16244e(0x12f)]===_0x44b440[_0x16244e(0x132)]);return this[_0x16244e(0x127)][_0x16244e(0xdf)](_0x587924,this[_0x16244e(0xe2)])[_0x16244e(0xfe)](_0x4860bb=>(this[_0x16244e(0xe2)]=_0x4860bb,_0x587924))[_0x16244e(0x140)](_0x29b0d8=>{const _0x4e3685=_0x16244e;if(st(_0x29b0d8)||_0x4e3685(0xf1)===_0x29b0d8[_0x4e3685(0xf7)]&&void 0x0!==_0x29b0d8[_0x4e3685(0x12b)][_0x4e3685(0xf0)]){for(const _0x291461 of _0x587924){!this[_0x4e3685(0xe5)][_0x4e3685(0x12a)][_0x4e3685(0x12e)](_0x291461['id'])||this[_0x4e3685(0xe5)][_0x4e3685(0x134)](_0x291461['id'],_0x291461,!0x1);}if(st(_0x29b0d8))throw _0x29b0d8;return _0x587924;}throw _0x29b0d8;});}},this[_0x48fc8f(0xe0)](this[_0x48fc8f(0x127)],_0x48fc8f(0xe4),(_0x39404d,{revisionsData:_0x31a455,requestId:_0x2e64cd})=>{const _0x5a5200=_0x48fc8f;Math[_0x5a5200(0x11b)](..._0x31a455[_0x5a5200(0x108)](_0x5882d3=>_0x5882d3[_0x5a5200(0x132)]))>this[_0x5a5200(0x124)]()-0x1?this[_0x5a5200(0x14e)]()[_0x5a5200(0xfe)](()=>{const _0x57bc3b=_0x5a5200;this[_0x57bc3b(0x120)](_0x31a455,_0x2e64cd);}):this[_0x5a5200(0x120)](_0x31a455,_0x2e64cd);});const {revisions:_0x1bf755,requestId:_0x381dbc}=await this[_0x48fc8f(0x127)][_0x48fc8f(0x118)](_0x58630a[_0x48fc8f(0x137)]);_0x58630a[_0x48fc8f(0x151)](this),this[_0x48fc8f(0xe2)]=_0x381dbc,await this[_0x48fc8f(0x10b)](_0x1bf755);for(const _0x5decc7 of _0x1bf755)this[_0x48fc8f(0xe5)][_0x48fc8f(0x135)](_0x5decc7);this[_0x48fc8f(0xe0)](_0x2a4ff1,_0x48fc8f(0x133),(_0x2bd6a0,_0x449d59,_0x2b50e2)=>{const _0x31582e=_0x48fc8f;_0x2b50e2&&(this[_0x31582e(0x10c)]=_0x2a4ff1[_0x31582e(0xed)],_0x2bd6a0[_0x31582e(0x112)]());}),this[_0x48fc8f(0xe5)][_0x48fc8f(0x14a)](_0x48fc8f(0x111))['to'](_0x58630a,_0x48fc8f(0x126),_0xf341c5=>_0xf341c5===_0x31983e[_0x48fc8f(0xf5)]);}async[_0x353533(0x116)](){const _0x51b573=_0x353533,_0x221a24=this[_0x51b573(0xea)][_0x51b573(0x122)][_0x51b573(0x113)](_0x1b538b),_0x3ad43b=this[_0x51b573(0xea)][_0x51b573(0x122)][_0x51b573(0x113)](_0x3d6855),_0x19cea3=async()=>{const _0x3115fa=_0x51b573,_0x38c01d=this[_0x3115fa(0xe5)][_0x3115fa(0x145)],_0x46237d=_0x38c01d['id'],_0x6f1c71=_0x46237d!==_0x3ad43b[_0x3115fa(0x131)];if(_0x6f1c71){const _0x1052a4=_0x3ad43b[_0x3115fa(0xed)]-this[_0x3115fa(0x10c)],_0x1824c2=this[_0x3115fa(0x124)]();this[_0x3115fa(0xe5)][_0x3115fa(0x10f)][_0x3115fa(0x107)]();if(_0x38c01d[_0x3115fa(0x132)]+_0x1052a4!==_0x1824c2){const _0x5f2074=_0x38c01d[_0x3115fa(0x12f)]+_0x1052a4,_0x3bdcdd=this[_0x3115fa(0xea)][_0x3115fa(0x122)][_0x3115fa(0x113)](_0x1f73eb),_0x4e4ebb=this[_0x3115fa(0xe5)][_0x3115fa(0xf2)]({'revision':_0x38c01d,'from':_0x5f2074,'to':_0x1824c2});_0x4e4ebb['id']=_0x38c01d['id'];const _0x29dbb6=_0x4e4ebb[_0x3115fa(0xe3)][_0x3115fa(0x108)](_0x13708f=>_0x3bdcdd[_0x3115fa(0x13b)](_0x13708f));_0x38c01d[_0x3115fa(0xfb)]({..._0x4e4ebb,'authors':_0x29dbb6},!0x0),this[_0x3115fa(0xe5)][_0x3115fa(0x134)](_0x38c01d['id'],_0x4e4ebb,!0x0);}this[_0x3115fa(0xe5)][_0x3115fa(0x146)]=_0x1824c2,(_0x38c01d[_0x3115fa(0x132)]===_0x38c01d[_0x3115fa(0x12f)]&&!this[_0x3115fa(0xe5)][_0x3115fa(0xee)][_0x3115fa(0x102)](_0x46237d)&&this[_0x3115fa(0xe5)][_0x3115fa(0x12a)][_0x3115fa(0x105)][_0x3115fa(0x14f)](_0x46237d),this[_0x3115fa(0xe5)][_0x3115fa(0x136)](_0x1824c2));}const {revisions:_0x2132f3,requestId:_0x2ffba5}=await this[_0x3115fa(0x127)][_0x3115fa(0x116)](_0x221a24[_0x3115fa(0x137)],this[_0x3115fa(0xe2)]);_0x6f1c71&&_0x2132f3[_0x3115fa(0xe1)]>0x0?_0x3ad43b[_0x3115fa(0x12d)]():(await this[_0x3115fa(0x10b)](_0x2132f3),this[_0x3115fa(0x120)](_0x2132f3,_0x2ffba5),this[_0x3115fa(0xe5)][_0x3115fa(0x11d)]());};return _0x3ad43b[_0x51b573(0x130)]?_0x19cea3():new Promise((_0x4290e2,_0x20f250)=>{const _0x582f15=_0x51b573;_0x3ad43b[_0x582f15(0x123)](_0x582f15(0x133),()=>{const _0xbbd4ac=_0x582f15;_0x19cea3()[_0xbbd4ac(0xfe)](_0x4290e2)[_0xbbd4ac(0x140)](_0x20f250);});});}[_0x353533(0xec)](){const _0xed95ce=_0x353533;super[_0xed95ce(0xec)]();}async[_0x353533(0x10e)](){const _0x1a1ce0=_0x353533;this[_0x1a1ce0(0x127)][_0x1a1ce0(0x103)]||await new Promise(_0xddf8bb=>{const _0x2ff0c3=_0x1a1ce0;this[_0x2ff0c3(0xe0)](this[_0x2ff0c3(0x127)],_0x2ff0c3(0x11c),_0x3ca26e=>{const _0xf586b3=_0x2ff0c3;_0x3ca26e[_0xf586b3(0x112)](),_0xddf8bb();});});}[_0x353533(0x124)](){const _0x1765e0=_0x353533,_0x1301e9=this[_0x1765e0(0xea)][_0x1765e0(0x122)][_0x1765e0(0x113)](_0x3d6855)[_0x1765e0(0x14b)][_0x1765e0(0x12c)]()[_0x1765e0(0x10a)]();for(const _0x2cf941 of _0x1301e9)if(_0x1765e0(0xe6)!==_0x2cf941[_0x1765e0(0x110)]||_0x2cf941[_0x1765e0(0x106)])return _0x2cf941[_0x1765e0(0x139)]+0x1;}[_0x353533(0x14e)](){const _0x26fc92=_0x353533,_0x1a55ea=this[_0x26fc92(0xea)][_0x26fc92(0x122)][_0x26fc92(0x113)](_0x3d6855);return new Promise(_0xa6cec6=>{const _0x53dd1b=_0x26fc92;_0x1a55ea[_0x53dd1b(0xef)]?_0x1a55ea[_0x53dd1b(0x123)](_0x53dd1b(0x11a),()=>{const _0x4cf46c=_0x53dd1b;_0xa6cec6(this[_0x4cf46c(0x124)]());}):_0xa6cec6(this[_0x53dd1b(0x124)]());});}[_0x353533(0x120)](_0x3aa03f,_0x2555df){const _0x51af40=_0x353533,_0x1afb2d=this[_0x51af40(0xe5)][_0x51af40(0x12a)];this[_0x51af40(0xe2)]=_0x2555df;for(const _0x3d17d9 of _0x3aa03f){const _0x19c8d6=_0x1afb2d[_0x51af40(0x12e)](_0x3d17d9['id']);if(_0x19c8d6){if((_0x3d17d9[_0x51af40(0x12f)]||_0x3d17d9[_0x51af40(0x132)])&&(_0x3d17d9[_0x51af40(0xfc)]=null),_0x19c8d6===this[_0x51af40(0xe5)][_0x51af40(0x145)]){const _0x1d5497=Math[_0x51af40(0x11b)](_0x19c8d6[_0x51af40(0x132)],_0x3d17d9[_0x51af40(0x132)]),_0x2055be=Math[_0x51af40(0x11b)](_0x19c8d6[_0x51af40(0x12f)],_0x3d17d9[_0x51af40(0x12f)]);let _0x1dff2b;_0x19c8d6[_0x51af40(0x132)]===_0x3d17d9[_0x51af40(0x132)]&&_0x19c8d6[_0x51af40(0x12f)]===_0x3d17d9[_0x51af40(0x12f)]?(_0x1dff2b=!0x0,this[_0x51af40(0x14c)](_0x3d17d9)):_0x3d17d9[_0x51af40(0x132)]===_0x1d5497&&_0x3d17d9[_0x51af40(0x12f)]===_0x2055be?_0x1dff2b=!0x1:(_0x19c8d6[_0x51af40(0x132)]===_0x1d5497&&_0x19c8d6[_0x51af40(0x12f)]===_0x2055be||this[_0x51af40(0x121)]({'revision':_0x19c8d6,'from':_0x2055be,'to':_0x1d5497}),_0x1dff2b=!0x0),_0x1dff2b&&(delete _0x3d17d9[_0x51af40(0x12f)],delete _0x3d17d9[_0x51af40(0x132)],delete _0x3d17d9[_0x51af40(0xfc)],delete _0x3d17d9[_0x51af40(0x129)],delete _0x3d17d9[_0x51af40(0xe3)]);}this[_0x51af40(0xe5)][_0x51af40(0xfa)](_0x3d17d9),this[_0x51af40(0x14c)](_0x3d17d9);}else this[_0x51af40(0xe5)][_0x51af40(0x135)](_0x3d17d9);}const _0x10a2a8=_0x1afb2d[_0x51af40(0x117)]();_0x10a2a8[_0x51af40(0x10a)]();for(let _0x489942=0x0;_0x489942<_0x10a2a8[_0x51af40(0xe1)]-0x1;_0x489942++){const _0x28b55d=_0x10a2a8[_0x489942],_0x3d19a9=_0x10a2a8[_0x489942+0x1];if(_0x28b55d[_0x51af40(0x12f)]<_0x3d19a9[_0x51af40(0x132)]){const _0x45aa71=_0x3d19a9[_0x51af40(0x132)],_0x3283c4=Math[_0x51af40(0x11b)](_0x45aa71,_0x28b55d[_0x51af40(0x132)]);this[_0x51af40(0x121)]({'revision':_0x28b55d,'from':_0x45aa71,'to':_0x3283c4});}}}[_0x353533(0x121)]({revision:_0x4d7a04,from:_0x261f92,to:_0x422840}={}){const _0x28264b=_0x353533,_0x15efe9=this[_0x28264b(0xea)][_0x28264b(0x122)][_0x28264b(0x113)](_0x1f73eb),_0x4f8134=this[_0x28264b(0xe5)][_0x28264b(0xf2)]({'revision':_0x4d7a04,'from':_0x261f92,'to':_0x422840});_0x4f8134[_0x28264b(0x147)]=_0x4f8134[_0x28264b(0xe3)][_0x28264b(0x108)](_0x179589=>_0x15efe9[_0x28264b(0x13b)](_0x179589)),_0x4d7a04[_0x28264b(0xfb)](_0x4f8134);}[_0x353533(0x14c)](_0x3ecb44){const _0x1220bb=_0x353533,_0x342b0d={};_0x342b0d['id']=_0x3ecb44['id'];for(const _0x12d896 of Object[_0x1220bb(0x114)](_0x3ecb44))'id'!==_0x12d896&&(_0x342b0d[_0x12d896]=void 0x0);this[_0x1220bb(0xe5)][_0x1220bb(0x134)](_0x342b0d['id'],_0x342b0d,!0x0);}async[_0x353533(0x10b)](_0x1b66f0){const _0x334590=_0x353533,_0x31b57a=this[_0x334590(0xea)][_0x334590(0x122)][_0x334590(0x113)](_0x1f73eb),{connection:_0x492148}=this[_0x334590(0xea)][_0x334590(0x122)][_0x334590(0x113)](_0x1b538b),_0x9406ed=new Set();for(const _0x4fa7a7 of _0x1b66f0){for(const _0x214de8 of _0x4fa7a7[_0x334590(0xe3)])_0x31875c(_0x214de8);_0x4fa7a7[_0x334590(0x104)]&&_0x31875c(_0x4fa7a7[_0x334590(0x104)]);}if(0x0===_0x9406ed[_0x334590(0x119)])return;const _0x36913b=await _0x470a2c[_0x334590(0xe8)](_0x492148,Array[_0x334590(0x149)](_0x9406ed));for(const _0x3a7d37 of _0x36913b)_0x31b57a[_0x334590(0x13b)](_0x3a7d37['id'])||_0x31b57a[_0x334590(0x11e)](_0x3a7d37);function _0x31875c(_0x288125){const _0x373ac6=_0x334590;_0x31b57a[_0x373ac6(0x13b)](_0x288125)||_0x9406ed[_0x373ac6(0xf9)](_0x288125);}}}u[_0x353533(0x150)]=_0x4752c6;export default u;function _0x3087(_0x39db72,_0x357cfa){const _0x4202bd=_0x4202();return _0x3087=function(_0x3087b4,_0x7547b7){_0x3087b4=_0x3087b4-0xdf;let _0x20fb70=_0x4202bd[_0x3087b4];return _0x20fb70;},_0x3087(_0x39db72,_0x357cfa);}function st(_0x186727){const _0x569460=_0x353533;return _0x186727[_0x569460(0xfd)][_0x569460(0x144)](_0x569460(0xe9))||_0x186727[_0x569460(0xfd)][_0x569460(0x144)](_0x569460(0x10d))||_0x186727[_0x569460(0xfd)][_0x569460(0x144)](_0x569460(0xf6));}function _0x4202(){const _0xb39cf0=['createdAt','repository','data','getOperations','_handleReconnectionError','getRevision','fromVersion','_isConnected','sessionId','toVersion','change:_isConnected','_bufferUpdate','addRevisionData','_createCurrentRevision','connection','63FJQcSi','baseVersion','requires','getUser','44260fJxEpI','32925vjZAey','isPremiumPlugin','isBundleUploaded','catch','adapter','5109584loAvwH','442312IBztdP','startsWith','currentRevision','_startingVersion','authors','setSource','from','bind','serverHistory','_preventResendingRevisionData','init','_getLatestVersion','remove','RevisionHistoryService','addToReconnectionStack','updateRevisions','listenTo','length','_lastRequestId','authorsIds','revisionsUpdated','_revisionTracker','marker','319406kXEeSI','getMany','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','editor','1907655Uiaysg','destroy','_offset','_bufferedUpdates','_isPendingUpdate','wrongRequestId','400','buildRevisionData','config','cloudServices.bundleVersion','CONNECTED','cloud-services-internal-error:\x20Request\x20timeout.','code','12NQQfkq','add','setRevisionData','_update','diffData','message','then','pluginName','RevisionTracker','CloudServicesRevisionHistoryAdapter','has','isConnected','creatorId','_revisions','affectsData','reInit','map','collaboration.channelId','reverse','_fetchMissingUsers','_oldOffset','cloud-services-internal-error:\x20Not\x20connected.','_waitForServiceReady','_revisionDataBuilder','type','isEnabled','off','get','keys','4ExyxrR','reconnect','getRevisions','connect','size','change:_isPendingUpdate','max','connected','sendBufferedUpdates','addUser','isEmptyCurrent','_handleRevisionsUpdate','_fixRevision','plugins','once','_getLatestVersionFromServerOperations','isOfficialPlugin','state','_revisionHistoryService','1089291TXKITr'];_0x4202=function(){return _0xb39cf0;};return _0x4202();}
23
+ const _0x3c2b44=_0x4ffc;(function(_0xe16fc5,_0x1c0e0d){const _0x37316b=_0x4ffc,_0x1123fb=_0xe16fc5();while(!![]){try{const _0x16be38=-parseInt(_0x37316b(0x1f0))/0x1*(-parseInt(_0x37316b(0x1e5))/0x2)+-parseInt(_0x37316b(0x1c9))/0x3*(parseInt(_0x37316b(0x1be))/0x4)+-parseInt(_0x37316b(0x216))/0x5*(-parseInt(_0x37316b(0x1fd))/0x6)+parseInt(_0x37316b(0x1f9))/0x7*(-parseInt(_0x37316b(0x1bd))/0x8)+-parseInt(_0x37316b(0x1f7))/0x9*(-parseInt(_0x37316b(0x1e6))/0xa)+-parseInt(_0x37316b(0x1cd))/0xb*(-parseInt(_0x37316b(0x223))/0xc)+-parseInt(_0x37316b(0x1cc))/0xd;if(_0x16be38===_0x1c0e0d)break;else _0x1123fb['push'](_0x1123fb['shift']());}catch(_0x14028c){_0x1123fb['push'](_0x1123fb['shift']());}}}(_0x4c09,0x2e071));import{Plugin as _0x3c9c36}from'ckeditor5/src/core.js';import{version as _0x2fab3a}from'ckeditor5/src/utils.js';import{Users as _0x4c6591}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x344952 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x364385 from'../realtimecollaborativeediting/websocketgateway.js';import _0x22da3d from'../realtimecollaborativeediting/sessions.js';function _0x4ffc(_0x49f57a,_0x590715){const _0x4c094e=_0x4c09();return _0x4ffc=function(_0x4ffc31,_0x5c8a9c){_0x4ffc31=_0x4ffc31-0x1b5;let _0x1d6936=_0x4c094e[_0x4ffc31];return _0x1d6936;},_0x4ffc(_0x49f57a,_0x590715);}function _0x4c09(){const _0x2e48d0=['883950aErWtM','wrongRequestId','currentRevision','5544539BFQicw','149743icNCHV','_preventResendingRevisionData','getRevisions','config','keys','remove','init','getUser','connected','sendBufferedUpdates','_getLatestVersionFromServerOperations','_revisionTracker','CONNECTED','_fetchMissingUsers','diffData','max','creatorId','connection','isConnected','editor','authorsIds','state','pluginName','_createCurrentRevision','22alSsQw','2568620VVstsg','_oldOffset','once','_isConnected','baseVersion','length','getOperations','_offset','repository','message','33043fVMhsk','reverse','plugins','_bufferedUpdates','type','updateRevisions','_waitForServiceReady','9VLstaO','_handleReconnectionError','598402TQtUIm','isEmptyCurrent','RevisionHistoryService','toVersion','541830wVwdvs','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','map','getMany','get','add','_revisionHistoryService','affectsData','cloud-services-internal-error:\x20Not\x20connected.','reconnect','_lastRequestId','addUser','bind','isBundleUploaded','size','authors','_fixRevision','fromVersion','startsWith','change:_isPendingUpdate','adapter','has','_bufferUpdate','addToReconnectionStack','CloudServicesRevisionHistoryAdapter','20mQOjaR','_update','isPremiumPlugin','then','setRevisionData','collaboration.channelId','catch','_handleRevisionsUpdate','revisionsUpdated','400','isEnabled','sessionId','RevisionTracker','12rJNZVg','isOfficialPlugin','_revisions','_startingVersion','_revisionDataBuilder','setSource','_getLatestVersion','marker','cloudServices.bundleVersion','createdAt','addRevisionData','buildRevisionData','getRevision','connect','data','cloud-services-internal-error:\x20Request\x20timeout.','8bKDoyL','4soFEEH','serverHistory','_isPendingUpdate','from','listenTo','off','destroy','code','change:_isConnected','requires','reInit'];_0x4c09=function(){return _0x2e48d0;};return _0x4c09();}import{EditorService as _0x1c41a4,RevisionHistoryService as _0x52907,User as _0x166a5e,WEB_SOCKET_GATEWAY_STATES as _0x375dfe}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x3c9c36{static get[_0x3c2b44(0x1c7)](){const _0x20c46e=_0x3c2b44;return[_0x364385,_0x344952,_0x20c46e(0x222),_0x22da3d,_0x4c6591];}static get[_0x3c2b44(0x1e3)](){const _0x39ffa2=_0x3c2b44;return _0x39ffa2(0x215);}static get[_0x3c2b44(0x224)](){return!0x0;}static get[_0x3c2b44(0x218)](){return!0x0;}constructor(_0x1baaba){const _0x3ba01b=_0x3c2b44;super(_0x1baaba);const _0x3082d7=this[_0x3ba01b(0x1e0)][_0x3ba01b(0x1d0)][_0x3ba01b(0x201)](_0x3ba01b(0x21b));this[_0x3ba01b(0x207)]=null,this[_0x3ba01b(0x1d8)]=this[_0x3ba01b(0x1e0)][_0x3ba01b(0x1f2)][_0x3ba01b(0x201)](_0x3ba01b(0x222)),this[_0x3ba01b(0x203)]=new u[(_0x3ba01b(0x1fb))](_0x3082d7);}async[_0x3c2b44(0x1d3)](){const _0x5b10ab=_0x3c2b44,_0x3b2c97=this[_0x5b10ab(0x1e0)][_0x5b10ab(0x1f2)][_0x5b10ab(0x201)](_0x344952),_0x21fefc=_0x3b2c97[_0x5b10ab(0x1bf)],_0x496910=this[_0x5b10ab(0x1e0)][_0x5b10ab(0x1f2)][_0x5b10ab(0x201)](_0x364385);this[_0x5b10ab(0x1d8)][_0x5b10ab(0x228)]({'history':_0x21fefc,'getLatestVersion':()=>this[_0x5b10ab(0x229)](),'getCurrentRevisionId':()=>_0x3b2c97[_0x5b10ab(0x221)]});const _0x27eeec=this[_0x5b10ab(0x1e0)][_0x5b10ab(0x1d0)][_0x5b10ab(0x201)](_0x5b10ab(0x1b5))||_0x2fab3a,_0x30fbdd=await _0x1c41a4[_0x5b10ab(0x20a)](_0x496910[_0x5b10ab(0x1de)],_0x27eeec);this[_0x5b10ab(0x1d8)][_0x5b10ab(0x211)]={'getRevision':async({revisionId:_0x3e50ce})=>(await this[_0x5b10ab(0x1f6)](),await this[_0x5b10ab(0x203)][_0x5b10ab(0x1b9)](_0x3e50ce)),'updateRevisions':async _0x12a7bc=>{const _0x1627dd=_0x5b10ab;await this[_0x1627dd(0x1f6)]();const _0x1ec9f6=this[_0x1627dd(0x1d8)][_0x1627dd(0x1cb)];if(_0x30fbdd&&0x1===_0x12a7bc[_0x1627dd(0x1eb)]&&_0x12a7bc[0x0]['id']===_0x1ec9f6['id'])return _0x12a7bc;for(const _0x1cda11 of _0x12a7bc)_0x1cda11['id']===_0x1ec9f6['id']&&(_0x1cda11[_0x1627dd(0x1fa)]=_0x1cda11[_0x1627dd(0x20e)]===_0x1cda11[_0x1627dd(0x1fc)]);return this[_0x1627dd(0x203)][_0x1627dd(0x1f5)](_0x12a7bc,this[_0x1627dd(0x207)])[_0x1627dd(0x219)](_0x54245e=>(this[_0x1627dd(0x207)]=_0x54245e,_0x12a7bc))[_0x1627dd(0x21c)](_0x3da33a=>{const _0x402773=_0x1627dd;if(st(_0x3da33a)||_0x402773(0x21f)===_0x3da33a[_0x402773(0x1c5)]&&void 0x0!==_0x3da33a[_0x402773(0x1bb)][_0x402773(0x1ca)]){for(const _0x16d4e0 of _0x12a7bc){!this[_0x402773(0x1d8)][_0x402773(0x1ee)][_0x402773(0x1b9)](_0x16d4e0['id'])||this[_0x402773(0x1d8)][_0x402773(0x213)](_0x16d4e0['id'],_0x16d4e0,!0x1);}if(st(_0x3da33a))throw _0x3da33a;return _0x12a7bc;}throw _0x3da33a;});}},this[_0x5b10ab(0x1c2)](this[_0x5b10ab(0x203)],_0x5b10ab(0x21e),(_0x1bc9d1,{revisionsData:_0x881ffb,requestId:_0x15d592})=>{const _0xf47eff=_0x5b10ab;Math[_0xf47eff(0x1dc)](..._0x881ffb[_0xf47eff(0x1ff)](_0x24fd76=>_0x24fd76[_0xf47eff(0x1fc)]))>this[_0xf47eff(0x1d7)]()-0x1?this[_0xf47eff(0x229)]()[_0xf47eff(0x219)](()=>{const _0x4c469c=_0xf47eff;this[_0x4c469c(0x21d)](_0x881ffb,_0x15d592);}):this[_0xf47eff(0x21d)](_0x881ffb,_0x15d592);});const {revisions:_0x72b6a1,requestId:_0x144d6d}=await this[_0x5b10ab(0x203)][_0x5b10ab(0x1ba)](_0x496910[_0x5b10ab(0x1de)]);_0x496910[_0x5b10ab(0x214)](this),this[_0x5b10ab(0x207)]=_0x144d6d,await this[_0x5b10ab(0x1da)](_0x72b6a1);for(const _0x476a8a of _0x72b6a1)this[_0x5b10ab(0x1d8)][_0x5b10ab(0x1b7)](_0x476a8a);this[_0x5b10ab(0x1c2)](_0x3b2c97,_0x5b10ab(0x1c6),(_0x148e1e,_0x196bcb,_0x254142)=>{const _0x5c078e=_0x5b10ab;_0x254142&&(this[_0x5c078e(0x1e7)]=_0x3b2c97[_0x5c078e(0x1ed)],_0x148e1e[_0x5c078e(0x1c3)]());}),this[_0x5b10ab(0x1d8)][_0x5b10ab(0x209)](_0x5b10ab(0x220))['to'](_0x496910,_0x5b10ab(0x1e2),_0x5a7c4c=>_0x5a7c4c===_0x375dfe[_0x5b10ab(0x1d9)]);}async[_0x3c2b44(0x206)](){const _0x2eabe2=_0x3c2b44,_0x332a18=this[_0x2eabe2(0x1e0)][_0x2eabe2(0x1f2)][_0x2eabe2(0x201)](_0x364385),_0x20f962=this[_0x2eabe2(0x1e0)][_0x2eabe2(0x1f2)][_0x2eabe2(0x201)](_0x344952),_0x4a1089=async()=>{const _0x26907d=_0x2eabe2,_0x2364e7=this[_0x26907d(0x1d8)][_0x26907d(0x1cb)],_0x45ebe2=_0x2364e7['id'],_0x4816ee=_0x45ebe2!==_0x20f962[_0x26907d(0x221)];if(_0x4816ee){const _0x543076=_0x20f962[_0x26907d(0x1ed)]-this[_0x26907d(0x1e7)],_0x2f32f5=this[_0x26907d(0x1d7)]();this[_0x26907d(0x1d8)][_0x26907d(0x227)][_0x26907d(0x1c8)]();if(_0x2364e7[_0x26907d(0x1fc)]+_0x543076!==_0x2f32f5){const _0x469b7e=_0x2364e7[_0x26907d(0x20e)]+_0x543076,_0x46f366=this[_0x26907d(0x1e0)][_0x26907d(0x1f2)][_0x26907d(0x201)](_0x4c6591),_0x29365a=this[_0x26907d(0x1d8)][_0x26907d(0x1b8)]({'revision':_0x2364e7,'from':_0x469b7e,'to':_0x2f32f5});_0x29365a['id']=_0x2364e7['id'];const _0x493e14=_0x29365a[_0x26907d(0x1e1)][_0x26907d(0x1ff)](_0x156323=>_0x46f366[_0x26907d(0x1d4)](_0x156323));_0x2364e7[_0x26907d(0x217)]({..._0x29365a,'authors':_0x493e14},!0x0),this[_0x26907d(0x1d8)][_0x26907d(0x213)](_0x2364e7['id'],_0x29365a,!0x0);}this[_0x26907d(0x1d8)][_0x26907d(0x226)]=_0x2f32f5,(_0x2364e7[_0x26907d(0x1fc)]===_0x2364e7[_0x26907d(0x20e)]&&!this[_0x26907d(0x1d8)][_0x26907d(0x1f3)][_0x26907d(0x212)](_0x45ebe2)&&this[_0x26907d(0x1d8)][_0x26907d(0x1ee)][_0x26907d(0x225)][_0x26907d(0x1d2)](_0x45ebe2),this[_0x26907d(0x1d8)][_0x26907d(0x1e4)](_0x2f32f5));}const {revisions:_0x3ca89b,requestId:_0x3e784b}=await this[_0x26907d(0x203)][_0x26907d(0x206)](_0x332a18[_0x26907d(0x1de)],this[_0x26907d(0x207)]);_0x4816ee&&_0x3ca89b[_0x26907d(0x1eb)]>0x0?_0x20f962[_0x26907d(0x1f8)]():(await this[_0x26907d(0x1da)](_0x3ca89b),this[_0x26907d(0x21d)](_0x3ca89b,_0x3e784b),this[_0x26907d(0x1d8)][_0x26907d(0x1d6)]());};return _0x20f962[_0x2eabe2(0x1e9)]?_0x4a1089():new Promise((_0x3688cc,_0x442abb)=>{const _0x2a99e4=_0x2eabe2;_0x20f962[_0x2a99e4(0x1e8)](_0x2a99e4(0x1c6),()=>{const _0x3c97dc=_0x2a99e4;_0x4a1089()[_0x3c97dc(0x219)](_0x3688cc)[_0x3c97dc(0x21c)](_0x442abb);});});}[_0x3c2b44(0x1c4)](){const _0x2f5b22=_0x3c2b44;super[_0x2f5b22(0x1c4)]();}async[_0x3c2b44(0x1f6)](){const _0x275d92=_0x3c2b44;this[_0x275d92(0x203)][_0x275d92(0x1df)]||await new Promise(_0x370a80=>{const _0x292b0f=_0x275d92;this[_0x292b0f(0x1c2)](this[_0x292b0f(0x203)],_0x292b0f(0x1d5),_0x1e778=>{const _0x2c58ac=_0x292b0f;_0x1e778[_0x2c58ac(0x1c3)](),_0x370a80();});});}[_0x3c2b44(0x1d7)](){const _0x580a12=_0x3c2b44,_0x56541a=this[_0x580a12(0x1e0)][_0x580a12(0x1f2)][_0x580a12(0x201)](_0x344952)[_0x580a12(0x1bf)][_0x580a12(0x1ec)]()[_0x580a12(0x1f1)]();for(const _0x5da5c3 of _0x56541a)if(_0x580a12(0x22a)!==_0x5da5c3[_0x580a12(0x1f4)]||_0x5da5c3[_0x580a12(0x204)])return _0x5da5c3[_0x580a12(0x1ea)]+0x1;}[_0x3c2b44(0x229)](){const _0x35541a=_0x3c2b44,_0x24c619=this[_0x35541a(0x1e0)][_0x35541a(0x1f2)][_0x35541a(0x201)](_0x344952);return new Promise(_0xecdfad=>{const _0x465465=_0x35541a;_0x24c619[_0x465465(0x1c0)]?_0x24c619[_0x465465(0x1e8)](_0x465465(0x210),()=>{const _0x4c4df7=_0x465465;_0xecdfad(this[_0x4c4df7(0x1d7)]());}):_0xecdfad(this[_0x465465(0x1d7)]());});}[_0x3c2b44(0x21d)](_0x12dc92,_0x38c2ec){const _0x2004a0=_0x3c2b44,_0x746415=this[_0x2004a0(0x1d8)][_0x2004a0(0x1ee)];this[_0x2004a0(0x207)]=_0x38c2ec;for(const _0x32d272 of _0x12dc92){const _0x33b999=_0x746415[_0x2004a0(0x1b9)](_0x32d272['id']);if(_0x33b999){if((_0x32d272[_0x2004a0(0x20e)]||_0x32d272[_0x2004a0(0x1fc)])&&(_0x32d272[_0x2004a0(0x1db)]=null),_0x33b999===this[_0x2004a0(0x1d8)][_0x2004a0(0x1cb)]){const _0x31527e=Math[_0x2004a0(0x1dc)](_0x33b999[_0x2004a0(0x1fc)],_0x32d272[_0x2004a0(0x1fc)]),_0x46d415=Math[_0x2004a0(0x1dc)](_0x33b999[_0x2004a0(0x20e)],_0x32d272[_0x2004a0(0x20e)]);let _0x4ff0bb;_0x33b999[_0x2004a0(0x1fc)]===_0x32d272[_0x2004a0(0x1fc)]&&_0x33b999[_0x2004a0(0x20e)]===_0x32d272[_0x2004a0(0x20e)]?(_0x4ff0bb=!0x0,this[_0x2004a0(0x1ce)](_0x32d272)):_0x32d272[_0x2004a0(0x1fc)]===_0x31527e&&_0x32d272[_0x2004a0(0x20e)]===_0x46d415?_0x4ff0bb=!0x1:(_0x33b999[_0x2004a0(0x1fc)]===_0x31527e&&_0x33b999[_0x2004a0(0x20e)]===_0x46d415||this[_0x2004a0(0x20d)]({'revision':_0x33b999,'from':_0x46d415,'to':_0x31527e}),_0x4ff0bb=!0x0),_0x4ff0bb&&(delete _0x32d272[_0x2004a0(0x20e)],delete _0x32d272[_0x2004a0(0x1fc)],delete _0x32d272[_0x2004a0(0x1db)],delete _0x32d272[_0x2004a0(0x1b6)],delete _0x32d272[_0x2004a0(0x1e1)]);}this[_0x2004a0(0x1d8)][_0x2004a0(0x21a)](_0x32d272),this[_0x2004a0(0x1ce)](_0x32d272);}else this[_0x2004a0(0x1d8)][_0x2004a0(0x1b7)](_0x32d272);}const _0x7c0c45=_0x746415[_0x2004a0(0x1cf)]();_0x7c0c45[_0x2004a0(0x1f1)]();for(let _0x1dd0eb=0x0;_0x1dd0eb<_0x7c0c45[_0x2004a0(0x1eb)]-0x1;_0x1dd0eb++){const _0x1349a2=_0x7c0c45[_0x1dd0eb],_0x534bf2=_0x7c0c45[_0x1dd0eb+0x1];if(_0x1349a2[_0x2004a0(0x20e)]<_0x534bf2[_0x2004a0(0x1fc)]){const _0x513f46=_0x534bf2[_0x2004a0(0x1fc)],_0x17fc83=Math[_0x2004a0(0x1dc)](_0x513f46,_0x1349a2[_0x2004a0(0x1fc)]);this[_0x2004a0(0x20d)]({'revision':_0x1349a2,'from':_0x513f46,'to':_0x17fc83});}}}[_0x3c2b44(0x20d)]({revision:_0x5e4118,from:_0x5ebce9,to:_0x2faab1}={}){const _0xdf2efc=_0x3c2b44,_0x351334=this[_0xdf2efc(0x1e0)][_0xdf2efc(0x1f2)][_0xdf2efc(0x201)](_0x4c6591),_0x3b15bc=this[_0xdf2efc(0x1d8)][_0xdf2efc(0x1b8)]({'revision':_0x5e4118,'from':_0x5ebce9,'to':_0x2faab1});_0x3b15bc[_0xdf2efc(0x20c)]=_0x3b15bc[_0xdf2efc(0x1e1)][_0xdf2efc(0x1ff)](_0x1e7c68=>_0x351334[_0xdf2efc(0x1d4)](_0x1e7c68)),_0x5e4118[_0xdf2efc(0x217)](_0x3b15bc);}[_0x3c2b44(0x1ce)](_0x5c7f96){const _0x4f9ad5=_0x3c2b44,_0x3764ac={};_0x3764ac['id']=_0x5c7f96['id'];for(const _0x189ab5 of Object[_0x4f9ad5(0x1d1)](_0x5c7f96))'id'!==_0x189ab5&&(_0x3764ac[_0x189ab5]=void 0x0);this[_0x4f9ad5(0x1d8)][_0x4f9ad5(0x213)](_0x3764ac['id'],_0x3764ac,!0x0);}async[_0x3c2b44(0x1da)](_0x4c4bb4){const _0x5dc029=_0x3c2b44,_0x50bd51=this[_0x5dc029(0x1e0)][_0x5dc029(0x1f2)][_0x5dc029(0x201)](_0x4c6591),{connection:_0x41cb3f}=this[_0x5dc029(0x1e0)][_0x5dc029(0x1f2)][_0x5dc029(0x201)](_0x364385),_0x36f9df=new Set();for(const _0x23aaab of _0x4c4bb4){for(const _0x245363 of _0x23aaab[_0x5dc029(0x1e1)])_0x3cad60(_0x245363);_0x23aaab[_0x5dc029(0x1dd)]&&_0x3cad60(_0x23aaab[_0x5dc029(0x1dd)]);}if(0x0===_0x36f9df[_0x5dc029(0x20b)])return;const _0x2edfd1=await _0x166a5e[_0x5dc029(0x200)](_0x41cb3f,Array[_0x5dc029(0x1c1)](_0x36f9df));for(const _0x27213d of _0x2edfd1)_0x50bd51[_0x5dc029(0x1d4)](_0x27213d['id'])||_0x50bd51[_0x5dc029(0x208)](_0x27213d);function _0x3cad60(_0x48ffe9){const _0x1974f5=_0x5dc029;_0x50bd51[_0x1974f5(0x1d4)](_0x48ffe9)||_0x36f9df[_0x1974f5(0x202)](_0x48ffe9);}}}u[_0x3c2b44(0x1fb)]=_0x52907;export default u;function st(_0x58a78c){const _0x30fba0=_0x3c2b44;return _0x58a78c[_0x30fba0(0x1ef)][_0x30fba0(0x20f)](_0x30fba0(0x1fe))||_0x58a78c[_0x30fba0(0x1ef)][_0x30fba0(0x20f)](_0x30fba0(0x205))||_0x58a78c[_0x30fba0(0x1ef)][_0x30fba0(0x20f)](_0x30fba0(0x1bc));}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module real-time-collaboration/realtimecollaborativerevisionhistory
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2119(_0x16dcb3,_0x5da2f0){var _0x495e7e=_0x495e();return _0x2119=function(_0x2119bf,_0x2d38da){_0x2119bf=_0x2119bf-0x1c1;var _0x4066e9=_0x495e7e[_0x2119bf];return _0x4066e9;},_0x2119(_0x16dcb3,_0x5da2f0);}var _0x2548fb=_0x2119;(function(_0x10079c,_0x5a5a41){var _0x6f5b44=_0x2119,_0x13a7b4=_0x10079c();while(!![]){try{var _0x2a088c=-parseInt(_0x6f5b44(0x1c8))/0x1*(parseInt(_0x6f5b44(0x1c7))/0x2)+parseInt(_0x6f5b44(0x1c5))/0x3*(-parseInt(_0x6f5b44(0x1d1))/0x4)+parseInt(_0x6f5b44(0x1ca))/0x5*(parseInt(_0x6f5b44(0x1d0))/0x6)+parseInt(_0x6f5b44(0x1c3))/0x7*(-parseInt(_0x6f5b44(0x1c6))/0x8)+parseInt(_0x6f5b44(0x1c2))/0x9+parseInt(_0x6f5b44(0x1c1))/0xa*(parseInt(_0x6f5b44(0x1d2))/0xb)+parseInt(_0x6f5b44(0x1cc))/0xc;if(_0x2a088c===_0x5a5a41)break;else _0x13a7b4['push'](_0x13a7b4['shift']());}catch(_0x2e6908){_0x13a7b4['push'](_0x13a7b4['shift']());}}}(_0x495e,0xdc81c));import{Plugin as _0x1c5b24}from'ckeditor5/src/core.js';import _0x418b50 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x495e(){var _0x18f75d=['pluginName','6815112FaeVjx','RealTimeCollaborativeRevisionHistory','RevisionHistory','isPremiumPlugin','168WIICZr','4360076slgEGO','11PBGVVE','14390450aZbDFo','15619194bWjYPK','7hwPeIC','requires','3OoUekQ','5033176iDuYGt','15858bGiOHb','211PWkAYx','isOfficialPlugin','98740iRfmzg'];_0x495e=function(){return _0x18f75d;};return _0x495e();}import _0x560e4b from'./realtimecollaborativeediting.js';export default class g extends _0x1c5b24{static get[_0x2548fb(0x1c4)](){var _0xc039c3=_0x2548fb;return[_0xc039c3(0x1ce),_0x418b50,_0x560e4b];}static get[_0x2548fb(0x1cb)](){var _0x734084=_0x2548fb;return _0x734084(0x1cd);}static get[_0x2548fb(0x1c9)](){return!0x0;}static get[_0x2548fb(0x1cf)](){return!0x0;}}
23
+ function _0x4585(_0x2ca450,_0x4cd0d4){var _0x36741f=_0x3674();return _0x4585=function(_0x45859c,_0x22150b){_0x45859c=_0x45859c-0x188;var _0x409af6=_0x36741f[_0x45859c];return _0x409af6;},_0x4585(_0x2ca450,_0x4cd0d4);}var _0x24e2be=_0x4585;(function(_0x961831,_0x486baf){var _0x23d83a=_0x4585,_0x39416c=_0x961831();while(!![]){try{var _0x50da85=-parseInt(_0x23d83a(0x194))/0x1+parseInt(_0x23d83a(0x18c))/0x2*(parseInt(_0x23d83a(0x191))/0x3)+-parseInt(_0x23d83a(0x18f))/0x4+-parseInt(_0x23d83a(0x195))/0x5+-parseInt(_0x23d83a(0x189))/0x6*(parseInt(_0x23d83a(0x18d))/0x7)+-parseInt(_0x23d83a(0x197))/0x8*(-parseInt(_0x23d83a(0x192))/0x9)+-parseInt(_0x23d83a(0x18a))/0xa*(-parseInt(_0x23d83a(0x193))/0xb);if(_0x50da85===_0x486baf)break;else _0x39416c['push'](_0x39416c['shift']());}catch(_0x1542bd){_0x39416c['push'](_0x39416c['shift']());}}}(_0x3674,0xbff20));import{Plugin as _0x4ada92}from'ckeditor5/src/core.js';function _0x3674(){var _0x3d705c=['isOfficialPlugin','1097506GVwJng','4886BatsmX','requires','1658896kqLqba','RealTimeCollaborativeRevisionHistory','3ijjOkK','4510899xKxzeO','3406084RUzbsx','984177DDjHEv','5164435mdYNPf','pluginName','24AjXIvy','isPremiumPlugin','RevisionHistory','11274TJIzbY','80FawGdT'];_0x3674=function(){return _0x3d705c;};return _0x3674();}import _0x432e10 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x38e08d from'./realtimecollaborativeediting.js';export default class g extends _0x4ada92{static get[_0x24e2be(0x18e)](){var _0x5bec1e=_0x24e2be;return[_0x5bec1e(0x188),_0x432e10,_0x38e08d];}static get[_0x24e2be(0x196)](){var _0x686c6c=_0x24e2be;return _0x686c6c(0x190);}static get[_0x24e2be(0x18b)](){return!0x0;}static get[_0x24e2be(0x198)](){return!0x0;}}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module real-time-collaboration/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter