@ckeditor/ckeditor5-comments 42.0.0 → 42.0.1-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 (154) hide show
  1. package/build/comments.js +1 -1
  2. package/dist/index.js +9 -9
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/bg.js +1 -1
  8. package/dist/translations/bg.umd.js +1 -1
  9. package/dist/translations/bn.js +1 -1
  10. package/dist/translations/bn.umd.js +1 -1
  11. package/dist/translations/bs.js +1 -1
  12. package/dist/translations/bs.umd.js +1 -1
  13. package/dist/translations/ca.js +1 -1
  14. package/dist/translations/ca.umd.js +1 -1
  15. package/dist/translations/cs.js +1 -1
  16. package/dist/translations/cs.umd.js +1 -1
  17. package/dist/translations/da.js +1 -1
  18. package/dist/translations/da.umd.js +1 -1
  19. package/dist/translations/de-ch.js +1 -1
  20. package/dist/translations/de-ch.umd.js +1 -1
  21. package/dist/translations/de.js +1 -1
  22. package/dist/translations/de.umd.js +1 -1
  23. package/dist/translations/el.js +1 -1
  24. package/dist/translations/el.umd.js +1 -1
  25. package/dist/translations/en-au.js +1 -1
  26. package/dist/translations/en-au.umd.js +1 -1
  27. package/dist/translations/en.umd.js +1 -1
  28. package/dist/translations/es-co.js +1 -1
  29. package/dist/translations/es-co.umd.js +1 -1
  30. package/dist/translations/es.js +1 -1
  31. package/dist/translations/es.umd.js +1 -1
  32. package/dist/translations/et.js +1 -1
  33. package/dist/translations/et.umd.js +1 -1
  34. package/dist/translations/fa.js +1 -1
  35. package/dist/translations/fa.umd.js +1 -1
  36. package/dist/translations/fi.js +1 -1
  37. package/dist/translations/fi.umd.js +1 -1
  38. package/dist/translations/fr.js +1 -1
  39. package/dist/translations/fr.umd.js +1 -1
  40. package/dist/translations/gl.js +1 -1
  41. package/dist/translations/gl.umd.js +1 -1
  42. package/dist/translations/he.js +1 -1
  43. package/dist/translations/he.umd.js +1 -1
  44. package/dist/translations/hi.js +1 -1
  45. package/dist/translations/hi.umd.js +1 -1
  46. package/dist/translations/hr.js +1 -1
  47. package/dist/translations/hr.umd.js +1 -1
  48. package/dist/translations/hu.js +1 -1
  49. package/dist/translations/hu.umd.js +1 -1
  50. package/dist/translations/id.js +1 -1
  51. package/dist/translations/id.umd.js +1 -1
  52. package/dist/translations/it.js +1 -1
  53. package/dist/translations/it.umd.js +1 -1
  54. package/dist/translations/ja.js +1 -1
  55. package/dist/translations/ja.umd.js +1 -1
  56. package/dist/translations/jv.js +1 -1
  57. package/dist/translations/jv.umd.js +1 -1
  58. package/dist/translations/ko.js +1 -1
  59. package/dist/translations/ko.umd.js +1 -1
  60. package/dist/translations/lt.js +1 -1
  61. package/dist/translations/lt.umd.js +1 -1
  62. package/dist/translations/lv.js +1 -1
  63. package/dist/translations/lv.umd.js +1 -1
  64. package/dist/translations/ms.js +1 -1
  65. package/dist/translations/ms.umd.js +1 -1
  66. package/dist/translations/nl.js +1 -1
  67. package/dist/translations/nl.umd.js +1 -1
  68. package/dist/translations/no.js +1 -1
  69. package/dist/translations/no.umd.js +1 -1
  70. package/dist/translations/pl.js +1 -1
  71. package/dist/translations/pl.umd.js +1 -1
  72. package/dist/translations/pt-br.js +1 -1
  73. package/dist/translations/pt-br.umd.js +1 -1
  74. package/dist/translations/pt.js +1 -1
  75. package/dist/translations/pt.umd.js +1 -1
  76. package/dist/translations/ro.js +1 -1
  77. package/dist/translations/ro.umd.js +1 -1
  78. package/dist/translations/ru.js +1 -1
  79. package/dist/translations/ru.umd.js +1 -1
  80. package/dist/translations/sk.js +1 -1
  81. package/dist/translations/sk.umd.js +1 -1
  82. package/dist/translations/sq.js +1 -1
  83. package/dist/translations/sq.umd.js +1 -1
  84. package/dist/translations/sr-latn.js +1 -1
  85. package/dist/translations/sr-latn.umd.js +1 -1
  86. package/dist/translations/sr.js +1 -1
  87. package/dist/translations/sr.umd.js +1 -1
  88. package/dist/translations/sv.js +1 -1
  89. package/dist/translations/sv.umd.js +1 -1
  90. package/dist/translations/th.js +1 -1
  91. package/dist/translations/th.umd.js +1 -1
  92. package/dist/translations/ti.js +1 -1
  93. package/dist/translations/ti.umd.js +1 -1
  94. package/dist/translations/tk.js +1 -1
  95. package/dist/translations/tk.umd.js +1 -1
  96. package/dist/translations/tr.js +1 -1
  97. package/dist/translations/tr.umd.js +1 -1
  98. package/dist/translations/tt.js +1 -1
  99. package/dist/translations/tt.umd.js +1 -1
  100. package/dist/translations/ug.js +1 -1
  101. package/dist/translations/ug.umd.js +1 -1
  102. package/dist/translations/uk.js +1 -1
  103. package/dist/translations/uk.umd.js +1 -1
  104. package/dist/translations/ur.js +1 -1
  105. package/dist/translations/ur.umd.js +1 -1
  106. package/dist/translations/vi.js +1 -1
  107. package/dist/translations/vi.umd.js +1 -1
  108. package/dist/translations/zh-cn.js +1 -1
  109. package/dist/translations/zh-cn.umd.js +1 -1
  110. package/dist/translations/zh.js +1 -1
  111. package/dist/translations/zh.umd.js +1 -1
  112. package/package.json +3 -3
  113. package/src/annotations/annotation.js +2 -2
  114. package/src/annotations/annotationcollection.js +1 -1
  115. package/src/annotations/annotations.js +1 -1
  116. package/src/annotations/annotationsuis.js +1 -1
  117. package/src/annotations/editorannotations.js +1 -1
  118. package/src/annotations/inlineannotations.js +1 -1
  119. package/src/annotations/narrowsidebar.js +1 -1
  120. package/src/annotations/sidebar.js +1 -1
  121. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  122. package/src/annotations/view/annotationview.js +1 -1
  123. package/src/annotations/view/sidebaritemview.js +1 -1
  124. package/src/annotations/view/sidebarview.js +1 -1
  125. package/src/annotations/widesidebar.js +1 -1
  126. package/src/comments/addcommentthreadcommand.js +1 -1
  127. package/src/comments/commentsarchive.js +1 -1
  128. package/src/comments/commentsarchiveui.js +1 -1
  129. package/src/comments/commentsediting.js +1 -1
  130. package/src/comments/commentsrepository.js +3 -3
  131. package/src/comments/commentsui.js +1 -1
  132. package/src/comments/integrations/clipboard.js +1 -1
  133. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  134. package/src/comments/integrations/importword.js +1 -1
  135. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  136. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  137. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  138. package/src/comments/ui/commentthreadcontroller.js +2 -2
  139. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  140. package/src/comments/ui/view/basecommentview.js +1 -1
  141. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  142. package/src/comments/ui/view/commentcontentview.js +1 -1
  143. package/src/comments/ui/view/commentinputview.js +1 -1
  144. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  145. package/src/comments/ui/view/commentslistview.js +1 -1
  146. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  147. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  148. package/src/comments/ui/view/commentthreadview.js +2 -2
  149. package/src/comments/ui/view/commentview.js +2 -2
  150. package/src/comments.js +1 -1
  151. package/src/commentsonly.js +1 -1
  152. package/src/index.js +1 -1
  153. package/src/utils/common-translations.js +1 -1
  154. package/src/utils/createmutationobserver.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x199c7d=_0x2fd0;(function(_0x2904bd,_0x277216){const _0x3e2334=_0x2fd0,_0x5c17af=_0x2904bd();while(!![]){try{const _0x7ce6f6=parseInt(_0x3e2334(0x189))/0x1+-parseInt(_0x3e2334(0x1f1))/0x2+-parseInt(_0x3e2334(0x182))/0x3+-parseInt(_0x3e2334(0x1e0))/0x4*(-parseInt(_0x3e2334(0x1f4))/0x5)+parseInt(_0x3e2334(0x188))/0x6+parseInt(_0x3e2334(0x1ad))/0x7*(-parseInt(_0x3e2334(0x20b))/0x8)+parseInt(_0x3e2334(0x1b8))/0x9;if(_0x7ce6f6===_0x277216)break;else _0x5c17af['push'](_0x5c17af['shift']());}catch(_0x1eaf6d){_0x5c17af['push'](_0x5c17af['shift']());}}}(_0x215f,0x3ee04));import{Plugin as _0x1bb1f0}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x5d94c8}from'ckeditor5/src/utils.js';import _0x1017f1 from'./commentsrepository.js';import _0x3a1769 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x5ddf3a,getAllMarkersDomElementsSorted as _0x189b48}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x22f6da from'../annotations/editorannotations.js';import _0x14e021 from'./integrations/commentsrestrictededitingmode.js';import _0x5e73b7 from'./integrations/importword.js';import _0x2f67d6 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x76f5c7 from'../annotations/annotations.js';function _0x2fd0(_0x2850b7,_0x5d5921){const _0x215f3b=_0x215f();return _0x2fd0=function(_0x2fd032,_0x1ef102){_0x2fd032=_0x2fd032-0x179;let _0x17512c=_0x215f3b[_0x2fd032];return _0x17512c;},_0x2fd0(_0x2850b7,_0x5d5921);}function _0x215f(){const _0x37a587=['switchReadOnly','setContext','listenTo','scrollToThreadMarker','createElement','render','ck-comment-marker--active','updateMarker','_initializeMarkerConverters','name','10568TUwItj','newRange','delete','managedUsingOperations','editing','ignoreResolvedComments','isCollapsed','init','markerToHighlight','comment:','unlinkedAt','904653dejUra','getCommentThreads','item','announce','CommentsEditing','_attachArchivedThread','2324136hayehF','267533ReGXbA','getAttribute','refreshVisibility','reopenCommentThread','collaboration.channelId','text','getWalker','substring','low','rootName','reconvertMarker','change:isReadOnly','plugins','getAllMarkersForId','pluginName','upcast','elementToElement','for','ENTER_COMMENT_ANNOUNCEMENT','get','editingDowncast','isResolved','length','affectsData','state','add','_threadToController','startsWith','fetchCommentThread','$marker','context','isEqual','comment','dataDowncast','focus','editor','889mqnrQk','addMarker:','clear','activeMarker','destroyed','change:isThreadsLoadingPaused','group','requires','set','data','_getTextContext','246780tGziJV','enqueueChange','markers','_threads','differ','isThreadsLoadingPaused','getChangedMarkers','document','from','removeMarker:','then','getByInnerView','getItems','destroy','addCommentThread','isLocal','_getTargetForId','openNewCommentThread','removeCommentThread','config','removeMarker','setUnlinkedAt','ready','once','hasDomSelection','attachTo','_handleMarkerAddAndRemove','_handleThreadMarker','view','_attachMarkerToThread','commands','hasMarkerForId','_initAriaMarkerChangeAnnouncements','change','model','schema','size','$graveyard','dataToMarker','_reconvertMarkers','16XfQIJq','_detachCommentThread','hasCommentThread','createPositionBefore','registerPostFixer','addComment','conversion','markerName','consume','change:activeMarker','$textProxy','ariaLiveAnnouncer','push','split','_hasTargetInContent','isAttached','createRange','101654qJHAOZ','consumable','start','119220pmWkZt','getRange','registerAnnotation','LEAVE_COMMENT_ANNOUNCEMENT','resolveCommentThread','ck-comment-marker','locale','isObject','hasContent','end','getCommentThread','markerToData','root'];_0x215f=function(){return _0x37a587;};return _0x215f();}import{getTranslation as _0x393fa6}from'../utils/common-translations.js';export default class r extends _0x1bb1f0{static get[_0x199c7d(0x1b4)](){return[_0x1017f1,_0x22f6da,_0x14e021,_0x5e73b7,_0x2f67d6];}static get[_0x199c7d(0x197)](){const _0x387664=_0x199c7d;return _0x387664(0x186);}constructor(_0x370d87){const _0x30ec72=_0x199c7d;super(_0x370d87),this[_0x30ec72(0x1b5)](_0x30ec72(0x1bd),!0x0),_0x370d87[_0x30ec72(0x1b6)][_0x30ec72(0x1cf)](_0x30ec72(0x1ce),()=>this[_0x30ec72(0x1bd)]=!0x1),this[_0x30ec72(0x1b5)](_0x30ec72(0x1b0),null),this['on'](_0x30ec72(0x1e9),(_0x349e43,_0x3e572c,_0x107238,_0x21f51f)=>{const _0x22ce25=_0x30ec72,_0x413d11=_0x107238?it(_0x107238)['id']:null;if(_0x370d87[_0x22ce25(0x1da)][_0x22ce25(0x1d9)](()=>{const _0x5bddd3=_0x22ce25;if(_0x413d11){const _0x4f2ba8=this[_0x5bddd3(0x196)](_0x413d11);for(const _0x42e6c3 of _0x4f2ba8)_0x370d87[_0x5bddd3(0x17b)][_0x5bddd3(0x193)](_0x42e6c3);}if(_0x21f51f){const {id:_0x1e55cf}=it(_0x21f51f),_0x5793cf=this[_0x5bddd3(0x196)](_0x1e55cf);for(const _0x16e4db of _0x5793cf)_0x370d87[_0x5bddd3(0x17b)][_0x5bddd3(0x193)](_0x16e4db);}}),_0x413d11){const _0x242433=_0x370d87[_0x22ce25(0x195)][_0x22ce25(0x19c)](_0x1017f1)[_0x22ce25(0x1fe)](_0x413d11);_0x242433&&_0x242433[_0x22ce25(0x19e)]&&this[_0x22ce25(0x204)](_0x413d11);}}),this[_0x30ec72(0x1d8)]();}[_0x199c7d(0x17e)](){const _0x167b53=_0x199c7d,_0x2de77b=this[_0x167b53(0x1ac)],_0x14d9d9=_0x2de77b[_0x167b53(0x195)][_0x167b53(0x19c)](_0x1017f1),_0x598e84=_0x2de77b[_0x167b53(0x1cb)][_0x167b53(0x19c)](_0x167b53(0x18d));_0x2de77b[_0x167b53(0x1d6)][_0x167b53(0x1a2)](_0x167b53(0x1c6),new _0x3a1769(_0x2de77b)),this[_0x167b53(0x203)](_0x2de77b,_0x167b53(0x194),(_0x53327e,_0x986556,_0x295ce0)=>{const _0x5e4d44=_0x167b53;_0x14d9d9[_0x5e4d44(0x201)](_0x295ce0,_0x2de77b[_0x5e4d44(0x1cb)][_0x5e4d44(0x19c)](_0x5e4d44(0x18d)));}),this[_0x167b53(0x203)](_0x14d9d9,nt(_0x167b53(0x1c6),_0x598e84),(_0x355f9d,{threadId:_0x3d6ac2})=>{const _0x2155c1=_0x167b53,_0x3e35df=this[_0x2155c1(0x1ac)][_0x2155c1(0x195)][_0x2155c1(0x19c)](_0x1017f1)[_0x2155c1(0x1fe)](_0x3d6ac2);_0x3e35df&&_0x3e35df[_0x2155c1(0x181)]&&this[_0x2155c1(0x187)](_0x3d6ac2);}),this[_0x167b53(0x203)](_0x14d9d9,nt(_0x167b53(0x1ca),_0x598e84),(_0x2e0df5,{threadId:_0x4d82f5})=>{const _0x6d2b57=_0x167b53;_0x2de77b[_0x6d2b57(0x1da)][_0x6d2b57(0x1b9)]({'isUndoable':!0x1},_0x166fff=>{const _0x3bd0e1=_0x6d2b57,_0x16b444=this[_0x3bd0e1(0x196)](_0x4d82f5);for(const _0x43dfd1 of _0x16b444)_0x166fff[_0x3bd0e1(0x1cc)](_0x43dfd1);});}),this[_0x167b53(0x203)](_0x14d9d9,nt(_0x167b53(0x1f8),_0x598e84),(_0x2649c4,{threadId:_0x1960a8})=>{const _0x2a2cd9=_0x167b53;(this[_0x2a2cd9(0x1df)](_0x1960a8),this[_0x2a2cd9(0x1ac)][_0x2a2cd9(0x17b)][_0x2a2cd9(0x1d4)][_0x2a2cd9(0x1d0)])&&(this[_0x2a2cd9(0x1ac)][_0x2a2cd9(0x195)][_0x2a2cd9(0x19c)](_0x1017f1)[_0x2a2cd9(0x1fe)](_0x1960a8)[_0x2a2cd9(0x181)]||this[_0x2a2cd9(0x1ac)][_0x2a2cd9(0x17b)][_0x2a2cd9(0x1d4)][_0x2a2cd9(0x1ab)]());},{'priority':_0x167b53(0x191)}),this[_0x167b53(0x203)](_0x14d9d9,nt(_0x167b53(0x18c),_0x598e84),(_0x31d505,{threadId:_0x38c201})=>{const _0x746e1e=_0x167b53;this[_0x746e1e(0x1df)](_0x38c201);},{'priority':_0x167b53(0x191)}),this[_0x167b53(0x203)](_0x14d9d9,nt(_0x167b53(0x1e5),_0x598e84),(_0x3f910b,{threadId:_0x441bea,isFromAdapter:_0x40dab6})=>{const _0x4f38c8=_0x167b53,_0x2745b5=this[_0x4f38c8(0x196)](_0x441bea);if(_0x40dab6||0x0==_0x2745b5[_0x4f38c8(0x19f)]||!_0x14d9d9[_0x4f38c8(0x1e2)](_0x441bea))return;0x1===_0x14d9d9[_0x4f38c8(0x1fe)](_0x441bea)[_0x4f38c8(0x19f)]&&_0x2de77b[_0x4f38c8(0x1da)][_0x4f38c8(0x1b9)]({'isUndoable':!0x1},_0x1f510e=>{const _0x49f254=_0x4f38c8;for(const _0x26a9b3 of _0x2745b5)_0x1f510e[_0x49f254(0x208)](_0x26a9b3,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x167b53(0x191)}),this[_0x167b53(0x209)](),this[_0x167b53(0x1d2)]();}[_0x199c7d(0x1c5)](){const _0x416d28=_0x199c7d,_0x2f92d1=this[_0x416d28(0x1ac)][_0x416d28(0x195)][_0x416d28(0x19c)](_0x1017f1),_0x5968e0=this[_0x416d28(0x1ac)][_0x416d28(0x1cb)][_0x416d28(0x19c)](_0x416d28(0x18d));for(const _0x3c23b8 of _0x2f92d1[_0x416d28(0x183)]({'channelId':_0x5968e0}))_0x2f92d1[_0x416d28(0x1e1)](_0x3c23b8['id']),_0x2f92d1[_0x416d28(0x1bb)][_0x416d28(0x179)](_0x3c23b8['id']);super[_0x416d28(0x1c5)]();}[_0x199c7d(0x1d7)](_0x511791){const _0x5874a7=_0x199c7d;return this[_0x5874a7(0x196)](_0x511791)[_0x5874a7(0x19f)]>0x0;}[_0x199c7d(0x196)](_0x45d6a2){const _0x1178c4=_0x199c7d,_0x9ab97f=[];for(const _0x240fe8 of this[_0x1178c4(0x1ac)][_0x1178c4(0x1da)][_0x1178c4(0x1ba)])_0x240fe8[_0x1178c4(0x20a)][_0x1178c4(0x1a4)](_0x1178c4(0x180)+_0x45d6a2)&&_0x9ab97f[_0x1178c4(0x1ec)](_0x240fe8);return _0x9ab97f;}[_0x199c7d(0x204)](_0x49f6a7){const _0x45df98=_0x199c7d,_0x1fb914=this[_0x45df98(0x1c8)](_0x49f6a7);_0x1fb914&&setTimeout(()=>{const _0x2c707e=_0x45df98;this[_0x2c707e(0x1b0)]&&it(this[_0x2c707e(0x1b0)])['id']===_0x49f6a7&&_0x5d94c8({'target':_0x1fb914[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x199c7d(0x1df)](_0x524749){const _0x12228c=_0x199c7d;this[_0x12228c(0x1ac)][_0x12228c(0x1da)][_0x12228c(0x1d9)](()=>{const _0x5f4811=_0x12228c;for(const _0x37de9f of this[_0x5f4811(0x196)](_0x524749))this[_0x5f4811(0x1ac)][_0x5f4811(0x17b)][_0x5f4811(0x193)](_0x37de9f);});}[_0x199c7d(0x187)](_0x586e74){const _0x97ebf1=_0x199c7d,_0x1ffae8=this[_0x97ebf1(0x1ac)][_0x97ebf1(0x195)][_0x97ebf1(0x19c)](_0x1017f1),_0x4b3488=this[_0x97ebf1(0x1ac)][_0x97ebf1(0x195)][_0x97ebf1(0x19c)](_0x22f6da),_0x212ebd=_0x1ffae8[_0x97ebf1(0x1fe)](_0x586e74);if(!_0x212ebd[_0x97ebf1(0x1ef)]){const _0x3d3624=_0x212ebd[_0x97ebf1(0x1d1)](()=>this[_0x97ebf1(0x1c8)](_0x212ebd['id']));_0x4b3488[_0x97ebf1(0x1f6)](_0x3d3624),_0x212ebd[_0x97ebf1(0x1ee)]=!0x1;}}[_0x199c7d(0x209)](){const _0x211d47=_0x199c7d,_0x960275=this[_0x211d47(0x1ac)];_0x960275[_0x211d47(0x1e6)][_0x211d47(0x19a)](_0x211d47(0x19d))[_0x211d47(0x17f)]({'model':_0x211d47(0x1a9),'view':(_0x44a008,_0x385cfc)=>{const _0x5566cb=_0x211d47,{id:_0x1c5d00}=it(_0x44a008[_0x5566cb(0x1e7)]),_0x397029=_0x960275[_0x5566cb(0x195)][_0x5566cb(0x19c)](_0x1017f1)[_0x5566cb(0x1fe)](_0x1c5d00),_0x4e3e53=this[_0x5566cb(0x1b0)]&&it(this[_0x5566cb(0x1b0)])['id']===_0x1c5d00;if(_0x397029&&_0x397029[_0x5566cb(0x19e)]&&!_0x4e3e53&&_0x44a008[_0x5566cb(0x184)])return _0x385cfc[_0x5566cb(0x1f2)][_0x5566cb(0x1e8)](_0x44a008[_0x5566cb(0x184)],_0x5566cb(0x1ae)+_0x44a008[_0x5566cb(0x1e7)]),_0x385cfc[_0x5566cb(0x1f2)][_0x5566cb(0x1e8)](_0x44a008[_0x5566cb(0x184)],_0x5566cb(0x1c1)+_0x44a008[_0x5566cb(0x1e7)]),null;const _0x412d42=[_0x5566cb(0x1f9)];return _0x4e3e53&&_0x412d42[_0x5566cb(0x1ec)](_0x5566cb(0x207)),{'classes':_0x412d42,'attributes':{'data-comment':_0x1c5d00}};}}),_0x960275[_0x211d47(0x1e6)][_0x211d47(0x19a)](_0x211d47(0x1aa))[_0x211d47(0x1ff)]({'model':_0x211d47(0x1a9),'view':(_0x5814ee,{options:_0x4973cb})=>{const _0x326efd=_0x211d47,_0x5312e2=_0x960275[_0x326efd(0x195)][_0x326efd(0x19c)](_0x1017f1),_0x25279b=_0x960275[_0x326efd(0x1da)][_0x326efd(0x1ba)][_0x326efd(0x19c)](_0x5814ee),{id:_0x39aadb,part:_0xd94fe9}=it(_0x5814ee);if(_0x25279b&&!_0x25279b[_0x326efd(0x1a0)])return null;if(_0x4973cb[_0x326efd(0x17c)]){const _0xb35a2b=_0x5312e2[_0x326efd(0x1fe)](_0x39aadb);if(_0xb35a2b&&_0xb35a2b[_0x326efd(0x19e)])return null;}return{'group':_0x326efd(0x1a9),'name':_0xd94fe9?_0x39aadb+':'+_0xd94fe9:_0x39aadb};}}),_0x960275[_0x211d47(0x1e6)][_0x211d47(0x19a)](_0x211d47(0x198))[_0x211d47(0x199)]({'view':{'name':_0x211d47(0x1a9),'attributes':{'id':/^\w/}},'model':(_0x5eb9b8,{writer:_0x221017})=>_0x221017[_0x211d47(0x205)](_0x211d47(0x1a6),{'data-name':_0x211d47(0x180)+_0x5eb9b8[_0x211d47(0x18a)]('id')})}),_0x960275[_0x211d47(0x1e6)][_0x211d47(0x19a)](_0x211d47(0x198))[_0x211d47(0x1de)]({'view':_0x211d47(0x1a9)});}[_0x199c7d(0x1d2)](){const _0xbca018=_0x199c7d,_0xe83158=this[_0xbca018(0x1ac)],_0x2e2e1a=_0xe83158[_0xbca018(0x195)][_0xbca018(0x19c)](_0x1017f1),_0x51277c=new Set(),_0x3120db=new Set();_0xe83158[_0xbca018(0x1da)][_0xbca018(0x1bf)][_0xbca018(0x1e4)](_0x2a2f92=>{const _0x594a8e=_0xbca018;let _0x3a3b3f=!0x1;for(const {name:_0x20cf27,data:_0xdd7a33}of _0xe83158[_0x594a8e(0x1da)][_0x594a8e(0x1bf)][_0x594a8e(0x1bc)][_0x594a8e(0x1be)]()){const {group:_0x193ad3,id:_0x281881}=it(_0x20cf27);let _0x4f57e7=_0xdd7a33[_0x594a8e(0x20c)];if(_0x594a8e(0x1a9)!==_0x193ad3||!_0x4f57e7)continue;const _0x33bbea=_0x594a8e(0x1dd)===_0x4f57e7[_0x594a8e(0x200)][_0x594a8e(0x192)];_0x33bbea||(_0x4f57e7=st(_0x4f57e7,_0xe83158[_0x594a8e(0x1da)]),!_0x4f57e7||_0x4f57e7[_0x594a8e(0x17d)]||!_0xdd7a33[_0x594a8e(0x20c)]||_0x4f57e7[_0x594a8e(0x1a8)](_0xdd7a33[_0x594a8e(0x20c)]))?_0xe83158[_0x594a8e(0x1da)][_0x594a8e(0x1fc)](_0x4f57e7)&&!_0x33bbea?this[_0x594a8e(0x1bd)]?_0x51277c[_0x594a8e(0x1a2)](_0x20cf27):this[_0x594a8e(0x1d3)](_0x20cf27,_0x281881):(_0x3120db[_0x594a8e(0x1a2)](_0x20cf27),_0x51277c[_0x594a8e(0x179)](_0x20cf27),_0x2a2f92[_0x594a8e(0x1cc)](_0x20cf27),_0x3a3b3f=!0x0):(_0x2a2f92[_0x594a8e(0x208)](_0x20cf27,{'range':_0x4f57e7}),_0x3a3b3f=!0x0);}return _0x3a3b3f;}),this['on'](_0xbca018(0x1b2),(_0xdf121b,_0x3fcafe,_0x5d2ff6)=>{const _0x3cc6c0=_0xbca018;if(!_0x5d2ff6&&_0x51277c[_0x3cc6c0(0x1dc)])for(const _0x316977 of _0x51277c){const {id:_0x2e7327}=it(_0x316977);_0x51277c[_0x3cc6c0(0x179)](_0x316977),_0xe83158[_0x3cc6c0(0x1da)][_0x3cc6c0(0x1ba)][_0x3cc6c0(0x19c)](_0x316977)&&this[_0x3cc6c0(0x1d3)](_0x316977,_0x2e7327);}}),this[_0xbca018(0x203)](_0xe83158[_0xbca018(0x1da)][_0xbca018(0x1bf)],_0xbca018(0x1d9),(_0x507f55,_0x3e3de3)=>{const _0x57fc97=_0xbca018;for(const {name:_0x53a81d,data:{newRange:_0x26709e}}of _0xe83158[_0x57fc97(0x1da)][_0x57fc97(0x1bf)][_0x57fc97(0x1bc)][_0x57fc97(0x1be)]()){const {group:_0x47e6f7,id:_0x1a3fec}=it(_0x53a81d);if(_0x57fc97(0x1a9)!==_0x47e6f7)continue;const _0x122255=_0x2e2e1a[_0x57fc97(0x1fe)](_0x1a3fec),_0x3f9232=this[_0x57fc97(0x1d7)](_0x1a3fec);_0x122255&&(_0x122255[_0x57fc97(0x1ee)]||_0xe83158[_0x57fc97(0x17b)][_0x57fc97(0x1d4)][_0x57fc97(0x1cf)](_0x57fc97(0x206),()=>{const _0x1d3fa6=_0x57fc97,_0x158deb=_0xe83158[_0x1d3fa6(0x195)][_0x1d3fa6(0x19c)](_0x76f5c7),_0x39658d=_0x2e2e1a[_0x1d3fa6(0x1a3)][_0x1d3fa6(0x19c)](_0x122255)[_0x1d3fa6(0x1d4)];_0x158deb[_0x1d3fa6(0x1c3)](_0x39658d)[_0x1d3fa6(0x18b)]();},{'priority':_0x57fc97(0x191)}),_0x122255[_0x57fc97(0x1ee)]=_0x3f9232||!!_0x26709e),_0x26709e||(_0x3120db[_0x57fc97(0x1a2)](_0x53a81d),_0x51277c[_0x57fc97(0x179)](_0x53a81d));}if(_0x3e3de3[_0x57fc97(0x1c7)])for(const _0xa70008 of _0x3120db){const {id:_0x4f78f9}=it(_0xa70008),_0x424d2b=_0x2e2e1a[_0x57fc97(0x1fe)](_0x4f78f9),_0x21abde=this[_0x57fc97(0x1d7)](_0x4f78f9);_0x51277c[_0x57fc97(0x179)](_0xa70008),!_0x424d2b||_0x21abde||_0x424d2b[_0x57fc97(0x181)]||_0x424d2b[_0x57fc97(0x1cd)](new Date());}_0x3120db[_0x57fc97(0x1af)]();});}[_0x199c7d(0x1c8)](_0x34065f){const _0x390a7=_0x199c7d,_0x4d5cdc=this[_0x390a7(0x1ac)],_0x26d77b=this[_0x390a7(0x196)](_0x34065f);return _0x189b48(_0x4d5cdc[_0x390a7(0x17b)],_0x26d77b);}[_0x199c7d(0x1b7)](_0x1cb077){const _0x508090=_0x199c7d,_0x121f6b=this[_0x508090(0x196)](_0x1cb077);let _0x1e97ba='',_0x1e70af=!0x1;for(const _0x3d5df6 of _0x121f6b){const _0x353b89=_0x3d5df6[_0x508090(0x1f5)]();for(const _0x1f1b40 of Array[_0x508090(0x1c0)](_0x353b89[_0x508090(0x1c4)]()))_0x1f1b40['is'](_0x508090(0x1ea))?(_0x1e97ba&&_0x1e70af&&(_0x1e97ba+='\x20',_0x1e70af=!0x1),_0x1e97ba+=_0x1f1b40[_0x508090(0x1b6)]):_0x1e70af=!0x0;_0x1e70af=!0x0;}return _0x1e97ba[_0x508090(0x190)](0x0,0x96);}[_0x199c7d(0x1d5)](_0x13d345,_0x2a80ad){const _0x3f90a1=_0x199c7d,_0x44ab43=this[_0x3f90a1(0x1ac)],_0x4aa300=_0x44ab43[_0x3f90a1(0x195)][_0x3f90a1(0x19c)](_0x1017f1);let _0x4b178d=_0x4aa300[_0x3f90a1(0x1fe)](_0x2a80ad);const _0x4205e1=_0x44ab43[_0x3f90a1(0x1cb)][_0x3f90a1(0x19c)](_0x3f90a1(0x18d)),_0x202434=_0x44ab43[_0x3f90a1(0x195)][_0x3f90a1(0x19c)](_0x22f6da);if(_0x4b178d&&(_0x4b178d[_0x3f90a1(0x181)]&&_0x4b178d[_0x3f90a1(0x1cd)](null),_0x4b178d[_0x3f90a1(0x1ef)]))return _0x4b178d;return!this[_0x3f90a1(0x196)](_0x2a80ad)[0x0][_0x3f90a1(0x17a)]?_0x44ab43[_0x3f90a1(0x17b)][_0x3f90a1(0x1d4)][_0x3f90a1(0x1cf)](_0x3f90a1(0x206),()=>{const _0x36a990=_0x3f90a1;if(_0x4aa300[_0x36a990(0x1fe)](_0x2a80ad))return;const _0xf4e821=_0x44ab43[_0x36a990(0x195)][_0x36a990(0x19c)](_0x76f5c7);_0x4b178d=_0x4aa300[_0x36a990(0x1c9)]({'channelId':_0x4205e1,'threadId':_0x2a80ad,'target':()=>this[_0x36a990(0x1c8)](_0x2a80ad),'context':{'type':_0x36a990(0x18e),'value':this[_0x36a990(0x1b7)](_0x2a80ad)}});const _0x1e23fc=_0x4aa300[_0x36a990(0x1a3)][_0x36a990(0x19c)](_0x4b178d)[_0x36a990(0x1d4)],_0x4b4f9e=_0xf4e821[_0x36a990(0x1c3)](_0x1e23fc);_0x4b4f9e&&_0x202434[_0x36a990(0x1f6)](_0x4b4f9e);},{'priority':_0x3f90a1(0x191)}):_0x4aa300[_0x3f90a1(0x1a5)]({'channelId':_0x4205e1,'threadId':_0x2a80ad})[_0x3f90a1(0x1c2)](_0x25ad02=>{const _0x406080=_0x3f90a1;if(_0x406080(0x1b1)!==_0x44ab43[_0x406080(0x1a1)]){if(_0x4b178d=_0x25ad02,_0x4b178d&&!_0x4b178d[_0x406080(0x1ef)]){const _0x1cb8d1=_0x4b178d[_0x406080(0x1d1)](()=>this[_0x406080(0x1c8)](_0x2a80ad));_0x202434[_0x406080(0x1f6)](_0x1cb8d1),_0x4b178d[_0x406080(0x19e)]&&this[_0x406080(0x1df)](_0x2a80ad);}else{if(!_0x4b178d){const _0x321785=this[_0x406080(0x196)](_0x2a80ad);_0x44ab43[_0x406080(0x1da)][_0x406080(0x1d9)](_0x35c81a=>{const _0xa0ce95=_0x406080;for(const _0x496d42 of _0x321785)_0x35c81a[_0xa0ce95(0x1cc)](_0x496d42);});}}}}),_0x4b178d;}[_0x199c7d(0x1d3)](_0x44fe81,_0x1d36b5){const _0x3b4a14=_0x199c7d,_0x70c3ce=this[_0x3b4a14(0x1d5)](_0x44fe81,_0x1d36b5);_0x70c3ce&&!_0x70c3ce[_0x3b4a14(0x1a7)]&&_0x70c3ce[_0x3b4a14(0x202)]({'type':_0x3b4a14(0x18e),'value':this[_0x3b4a14(0x1b7)](_0x1d36b5)});}[_0x199c7d(0x1d8)](){const _0x14aa2e=_0x199c7d,_0x372fc1=this[_0x14aa2e(0x1ac)];_0x5ddf3a(_0x372fc1[_0x14aa2e(0x1da)],({left:_0x407545,entered:_0x4edd42})=>{const _0x4b3379=_0x14aa2e;for(const _0x565f60 of _0x407545)if(at(_0x565f60)){_0x372fc1['ui'][_0x4b3379(0x1eb)][_0x4b3379(0x185)](_0x393fa6(_0x372fc1[_0x4b3379(0x1fa)],_0x4b3379(0x1f7)));break;}for(const _0x3a69aa of _0x4edd42)if(at(_0x3a69aa)){_0x372fc1['ui'][_0x4b3379(0x1eb)][_0x4b3379(0x185)](_0x393fa6(_0x372fc1[_0x4b3379(0x1fa)],_0x4b3379(0x19b)));break;}});}}function nt(_0x5231da,_0x1283a7){return _0x1283a7?_0x5231da+':'+_0x1283a7:_0x5231da;}function it(_0x26eefe){const _0xc33d90=_0x199c7d,_0x35cdbc=_0x26eefe[_0xc33d90(0x1ed)](':');return{'group':_0x35cdbc[0x0],'id':_0x35cdbc[0x1],'part':_0x35cdbc[0x2]};}function st(_0x4c7e07,_0x34a2f6){const _0x5bbf3d=_0x199c7d,_0x50f99a=_0x34a2f6[_0x5bbf3d(0x1db)],_0x5e8df3=_0x34a2f6[_0x5bbf3d(0x1f0)](_0x4c7e07[_0x5bbf3d(0x1f3)]);for(const _0x313393 of _0x4c7e07[_0x5bbf3d(0x18f)]()){const {type:_0x2ff818,item:_0x1aa22d,nextPosition:_0x1e56a1}=_0x313393;if(_0x5bbf3d(0x18e)===_0x2ff818||_0x50f99a[_0x5bbf3d(0x1fb)](_0x1aa22d)){const _0x4e48a4=_0x34a2f6[_0x5bbf3d(0x1e3)](_0x1aa22d);_0x5e8df3[_0x5bbf3d(0x17d)]&&(_0x5e8df3[_0x5bbf3d(0x1f3)]=_0x4e48a4),_0x5e8df3[_0x5bbf3d(0x1fd)]=_0x1e56a1;}}return _0x5e8df3;}function at(_0x2c71fa){const _0x24fa67=_0x199c7d;return _0x24fa67(0x1a9)===it(_0x2c71fa[_0x24fa67(0x20a)])[_0x24fa67(0x1b3)];}
23
+ const _0x59d7c9=_0x21ba;(function(_0x545ea2,_0x24222d){const _0x18f3cd=_0x21ba,_0x49beff=_0x545ea2();while(!![]){try{const _0x182f3d=-parseInt(_0x18f3cd(0xc4))/0x1+parseInt(_0x18f3cd(0x10a))/0x2*(parseInt(_0x18f3cd(0x8a))/0x3)+parseInt(_0x18f3cd(0xd0))/0x4+-parseInt(_0x18f3cd(0xe5))/0x5*(parseInt(_0x18f3cd(0xf2))/0x6)+-parseInt(_0x18f3cd(0x102))/0x7*(-parseInt(_0x18f3cd(0x82))/0x8)+-parseInt(_0x18f3cd(0xe7))/0x9*(parseInt(_0x18f3cd(0xed))/0xa)+parseInt(_0x18f3cd(0x8e))/0xb*(parseInt(_0x18f3cd(0x10d))/0xc);if(_0x182f3d===_0x24222d)break;else _0x49beff['push'](_0x49beff['shift']());}catch(_0x4e518a){_0x49beff['push'](_0x49beff['shift']());}}}(_0x6f8c,0x85e85));import{Plugin as _0x5f441e}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x55d4e4}from'ckeditor5/src/utils.js';import _0x3be6ff from'./commentsrepository.js';function _0x6f8c(){const _0x2bbcbe=['substring','state','start','isLocal','unlinkedAt','from','editingDowncast','3887424jDYgKY','destroyed','_threads','model','length','ck-comment-marker--active','ariaLiveAnnouncer','get','getCommentThread','openNewCommentThread','hasMarkerForId','dataToMarker','change:isReadOnly','text','_reconvertMarkers','managedUsingOperations','$textProxy','_initAriaMarkerChangeAnnouncements','view','focus','isObject','2261005WbbRBf','getByInnerView','40347uGCTJl','updateMarker','createRange','_initializeMarkerConverters','set','scrollToThreadMarker','2030kQJzSK','end','editor','setContext','activeMarker','12Tqvluu','getAllMarkersForId','ck-comment-marker','_attachMarkerToThread','getAttribute','_hasTargetInContent','registerAnnotation','setUnlinkedAt','isResolved','context','hasDomSelection','addMarker:','collaboration.channelId','size','hasCommentThread','rootName','7XJSeCn','$marker','isThreadsLoadingPaused','consumable','editing','locale','ready','getItems','2506LPJuzN','markerName','_handleThreadMarker','900XNrXCh','then','name','markerToData','data','getWalker','_attachArchivedThread','root','group','isEqual','requires','elementToElement','3469112CSyBfu','_detachCommentThread','pluginName','resolveCommentThread','getChangedMarkers','newRange','switchReadOnly','fetchCommentThread','849hzOPNt','hasContent','commands','plugins','181709mTCrfc','upcast','listenTo','getRange','registerPostFixer','comment:','announce','_handleMarkerAddAndRemove','render','getCommentThreads','LEAVE_COMMENT_ANNOUNCEMENT','item','for','dataDowncast','destroy','removeCommentThread','removeMarker:','enqueueChange','ENTER_COMMENT_ANNOUNCEMENT','isCollapsed','config','change:activeMarker','_threadToController','createPositionBefore','startsWith','delete','add','markers','split','_getTextContext','$graveyard','attachTo','refreshVisibility','push','differ','init','conversion','change','removeMarker','_getTargetForId','markerToHighlight','ignoreResolvedComments','affectsData','consume','schema','CommentsEditing','document','once','comment','addCommentThread','isAttached','change:isThreadsLoadingPaused','clear','low','636083UWSOVi','createElement','reconvertMarker','reopenCommentThread','addComment'];_0x6f8c=function(){return _0x2bbcbe;};return _0x6f8c();}import _0x27ecfc from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x4fea5f,getAllMarkersDomElementsSorted as _0x2ae785}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5eef69 from'../annotations/editorannotations.js';import _0x48bf69 from'./integrations/commentsrestrictededitingmode.js';import _0x5939b7 from'./integrations/importword.js';function _0x21ba(_0x54e671,_0xce84c4){const _0x6f8cd9=_0x6f8c();return _0x21ba=function(_0x21ba57,_0x4d20a6){_0x21ba57=_0x21ba57-0x7a;let _0xf40bf8=_0x6f8cd9[_0x21ba57];return _0xf40bf8;},_0x21ba(_0x54e671,_0xce84c4);}import _0x1c909f from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x5dc91f from'../annotations/annotations.js';import{getTranslation as _0x5c32fb}from'../utils/common-translations.js';export default class r extends _0x5f441e{static get[_0x59d7c9(0x80)](){return[_0x3be6ff,_0x5eef69,_0x48bf69,_0x5939b7,_0x1c909f];}static get[_0x59d7c9(0x84)](){const _0x298ff9=_0x59d7c9;return _0x298ff9(0xbb);}constructor(_0x5509d3){const _0x4b70b7=_0x59d7c9;super(_0x5509d3),this[_0x4b70b7(0xeb)](_0x4b70b7(0x104),!0x0),_0x5509d3[_0x4b70b7(0x7a)][_0x4b70b7(0xbd)](_0x4b70b7(0x108),()=>this[_0x4b70b7(0x104)]=!0x1),this[_0x4b70b7(0xeb)](_0x4b70b7(0xf1),null),this['on'](_0x4b70b7(0xa3),(_0x1d2a87,_0x3fc490,_0x483fef,_0x331949)=>{const _0x2ec697=_0x4b70b7,_0x29fb04=_0x483fef?it(_0x483fef)['id']:null;if(_0x5509d3[_0x2ec697(0xd3)][_0x2ec697(0xb3)](()=>{const _0x2c88d0=_0x2ec697;if(_0x29fb04){const _0x5e8150=this[_0x2c88d0(0xf3)](_0x29fb04);for(const _0x23a548 of _0x5e8150)_0x5509d3[_0x2c88d0(0x106)][_0x2c88d0(0xc6)](_0x23a548);}if(_0x331949){const {id:_0x1177b0}=it(_0x331949),_0x74f2be=this[_0x2c88d0(0xf3)](_0x1177b0);for(const _0x5b7215 of _0x74f2be)_0x5509d3[_0x2c88d0(0x106)][_0x2c88d0(0xc6)](_0x5b7215);}}),_0x29fb04){const _0x5541b1=_0x5509d3[_0x2ec697(0x8d)][_0x2ec697(0xd7)](_0x3be6ff)[_0x2ec697(0xd8)](_0x29fb04);_0x5541b1&&_0x5541b1[_0x2ec697(0xfa)]&&this[_0x2ec697(0xec)](_0x29fb04);}}),this[_0x4b70b7(0xe1)]();}[_0x59d7c9(0xb1)](){const _0x370402=_0x59d7c9,_0x562152=this[_0x370402(0xef)],_0x3b322b=_0x562152[_0x370402(0x8d)][_0x370402(0xd7)](_0x3be6ff),_0x667475=_0x562152[_0x370402(0xa2)][_0x370402(0xd7)](_0x370402(0xfe));_0x562152[_0x370402(0x8c)][_0x370402(0xa8)](_0x370402(0xbf),new _0x27ecfc(_0x562152)),this[_0x370402(0x90)](_0x562152,_0x370402(0xdc),(_0x5e4fa4,_0x1147ff,_0x596fdb)=>{const _0x57df15=_0x370402;_0x3b322b[_0x57df15(0x88)](_0x596fdb,_0x562152[_0x57df15(0xa2)][_0x57df15(0xd7)](_0x57df15(0xfe)));}),this[_0x370402(0x90)](_0x3b322b,nt(_0x370402(0xbf),_0x667475),(_0x5bc0e6,{threadId:_0x23b703})=>{const _0x472bd8=_0x370402,_0x4ff4da=this[_0x472bd8(0xef)][_0x472bd8(0x8d)][_0x472bd8(0xd7)](_0x3be6ff)[_0x472bd8(0xd8)](_0x23b703);_0x4ff4da&&_0x4ff4da[_0x472bd8(0xcd)]&&this[_0x472bd8(0x7c)](_0x23b703);}),this[_0x370402(0x90)](_0x3b322b,nt(_0x370402(0x9d),_0x667475),(_0x1a9d15,{threadId:_0x3ccb60})=>{const _0x47106b=_0x370402;_0x562152[_0x47106b(0xd3)][_0x47106b(0x9f)]({'isUndoable':!0x1},_0x1de48d=>{const _0xf9847a=_0x47106b,_0x3c72e5=this[_0xf9847a(0xf3)](_0x3ccb60);for(const _0x51aed1 of _0x3c72e5)_0x1de48d[_0xf9847a(0xb4)](_0x51aed1);});}),this[_0x370402(0x90)](_0x3b322b,nt(_0x370402(0x85),_0x667475),(_0x3cb86c,{threadId:_0x279e45})=>{const _0x329d42=_0x370402;(this[_0x329d42(0xde)](_0x279e45),this[_0x329d42(0xef)][_0x329d42(0x106)][_0x329d42(0xe2)][_0x329d42(0xfc)])&&(this[_0x329d42(0xef)][_0x329d42(0x8d)][_0x329d42(0xd7)](_0x3be6ff)[_0x329d42(0xd8)](_0x279e45)[_0x329d42(0xcd)]||this[_0x329d42(0xef)][_0x329d42(0x106)][_0x329d42(0xe2)][_0x329d42(0xe3)]());},{'priority':_0x370402(0xc3)}),this[_0x370402(0x90)](_0x3b322b,nt(_0x370402(0xc7),_0x667475),(_0x2c3701,{threadId:_0x4c9d81})=>{const _0x36635c=_0x370402;this[_0x36635c(0xde)](_0x4c9d81);},{'priority':_0x370402(0xc3)}),this[_0x370402(0x90)](_0x3b322b,nt(_0x370402(0xc8),_0x667475),(_0x2254bc,{threadId:_0x117d78,isFromAdapter:_0x3e4175})=>{const _0x180f01=_0x370402,_0x45b7d3=this[_0x180f01(0xf3)](_0x117d78);if(_0x3e4175||0x0==_0x45b7d3[_0x180f01(0xd4)]||!_0x3b322b[_0x180f01(0x100)](_0x117d78))return;0x1===_0x3b322b[_0x180f01(0xd8)](_0x117d78)[_0x180f01(0xd4)]&&_0x562152[_0x180f01(0xd3)][_0x180f01(0x9f)]({'isUndoable':!0x1},_0x212a7e=>{const _0x71c18a=_0x180f01;for(const _0x42d8cb of _0x45b7d3)_0x212a7e[_0x71c18a(0xe8)](_0x42d8cb,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x370402(0xc3)}),this[_0x370402(0xea)](),this[_0x370402(0x95)]();}[_0x59d7c9(0x9c)](){const _0x729049=_0x59d7c9,_0x383ad7=this[_0x729049(0xef)][_0x729049(0x8d)][_0x729049(0xd7)](_0x3be6ff),_0x3414d5=this[_0x729049(0xef)][_0x729049(0xa2)][_0x729049(0xd7)](_0x729049(0xfe));for(const _0xdf7d68 of _0x383ad7[_0x729049(0x97)]({'channelId':_0x3414d5}))_0x383ad7[_0x729049(0x83)](_0xdf7d68['id']),_0x383ad7[_0x729049(0xd2)][_0x729049(0xa7)](_0xdf7d68['id']);super[_0x729049(0x9c)]();}[_0x59d7c9(0xda)](_0x5d6b95){const _0x5c8707=_0x59d7c9;return this[_0x5c8707(0xf3)](_0x5d6b95)[_0x5c8707(0xd4)]>0x0;}[_0x59d7c9(0xf3)](_0x150f71){const _0x3a4e21=_0x59d7c9,_0x2036f6=[];for(const _0x5ce650 of this[_0x3a4e21(0xef)][_0x3a4e21(0xd3)][_0x3a4e21(0xa9)])_0x5ce650[_0x3a4e21(0x10f)][_0x3a4e21(0xa6)](_0x3a4e21(0x93)+_0x150f71)&&_0x2036f6[_0x3a4e21(0xaf)](_0x5ce650);return _0x2036f6;}[_0x59d7c9(0xec)](_0x1d1ffd){const _0x4104dd=_0x59d7c9,_0x1ebf0e=this[_0x4104dd(0xb5)](_0x1d1ffd);_0x1ebf0e&&setTimeout(()=>{const _0x80ab02=_0x4104dd;this[_0x80ab02(0xf1)]&&it(this[_0x80ab02(0xf1)])['id']===_0x1d1ffd&&_0x55d4e4({'target':_0x1ebf0e[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x59d7c9(0xde)](_0x4d5224){const _0x32421f=_0x59d7c9;this[_0x32421f(0xef)][_0x32421f(0xd3)][_0x32421f(0xb3)](()=>{const _0x4cab9e=_0x32421f;for(const _0x5f1165 of this[_0x4cab9e(0xf3)](_0x4d5224))this[_0x4cab9e(0xef)][_0x4cab9e(0x106)][_0x4cab9e(0xc6)](_0x5f1165);});}[_0x59d7c9(0x7c)](_0x63f768){const _0x46dd3a=_0x59d7c9,_0x576227=this[_0x46dd3a(0xef)][_0x46dd3a(0x8d)][_0x46dd3a(0xd7)](_0x3be6ff),_0x1cbeb7=this[_0x46dd3a(0xef)][_0x46dd3a(0x8d)][_0x46dd3a(0xd7)](_0x5eef69),_0x11a0db=_0x576227[_0x46dd3a(0xd8)](_0x63f768);if(!_0x11a0db[_0x46dd3a(0xc0)]){const _0x3d33e5=_0x11a0db[_0x46dd3a(0xad)](()=>this[_0x46dd3a(0xb5)](_0x11a0db['id']));_0x1cbeb7[_0x46dd3a(0xf8)](_0x3d33e5),_0x11a0db[_0x46dd3a(0xf7)]=!0x1;}}[_0x59d7c9(0xea)](){const _0x26d53c=_0x59d7c9,_0x375fd0=this[_0x26d53c(0xef)];_0x375fd0[_0x26d53c(0xb2)][_0x26d53c(0x9a)](_0x26d53c(0xcf))[_0x26d53c(0xb6)]({'model':_0x26d53c(0xbe),'view':(_0x1f64a9,_0x1d57e6)=>{const _0x5138d4=_0x26d53c,{id:_0x702152}=it(_0x1f64a9[_0x5138d4(0x10b)]),_0x14eda6=_0x375fd0[_0x5138d4(0x8d)][_0x5138d4(0xd7)](_0x3be6ff)[_0x5138d4(0xd8)](_0x702152),_0x54e432=this[_0x5138d4(0xf1)]&&it(this[_0x5138d4(0xf1)])['id']===_0x702152;if(_0x14eda6&&_0x14eda6[_0x5138d4(0xfa)]&&!_0x54e432&&_0x1f64a9[_0x5138d4(0x99)])return _0x1d57e6[_0x5138d4(0x105)][_0x5138d4(0xb9)](_0x1f64a9[_0x5138d4(0x99)],_0x5138d4(0xfd)+_0x1f64a9[_0x5138d4(0x10b)]),_0x1d57e6[_0x5138d4(0x105)][_0x5138d4(0xb9)](_0x1f64a9[_0x5138d4(0x99)],_0x5138d4(0x9e)+_0x1f64a9[_0x5138d4(0x10b)]),null;const _0x4aa54f=[_0x5138d4(0xf4)];return _0x54e432&&_0x4aa54f[_0x5138d4(0xaf)](_0x5138d4(0xd5)),{'classes':_0x4aa54f,'attributes':{'data-comment':_0x702152}};}}),_0x375fd0[_0x26d53c(0xb2)][_0x26d53c(0x9a)](_0x26d53c(0x9b))[_0x26d53c(0x110)]({'model':_0x26d53c(0xbe),'view':(_0x4a191b,{options:_0x1cfd45})=>{const _0x58c4ee=_0x26d53c,_0x393d66=_0x375fd0[_0x58c4ee(0x8d)][_0x58c4ee(0xd7)](_0x3be6ff),_0x32027f=_0x375fd0[_0x58c4ee(0xd3)][_0x58c4ee(0xa9)][_0x58c4ee(0xd7)](_0x4a191b),{id:_0x452f42,part:_0x420b3c}=it(_0x4a191b);if(_0x32027f&&!_0x32027f[_0x58c4ee(0xb8)])return null;if(_0x1cfd45[_0x58c4ee(0xb7)]){const _0x3663a1=_0x393d66[_0x58c4ee(0xd8)](_0x452f42);if(_0x3663a1&&_0x3663a1[_0x58c4ee(0xfa)])return null;}return{'group':_0x58c4ee(0xbe),'name':_0x420b3c?_0x452f42+':'+_0x420b3c:_0x452f42};}}),_0x375fd0[_0x26d53c(0xb2)][_0x26d53c(0x9a)](_0x26d53c(0x8f))[_0x26d53c(0x81)]({'view':{'name':_0x26d53c(0xbe),'attributes':{'id':/^\w/}},'model':(_0x137ea3,{writer:_0x278ca7})=>_0x278ca7[_0x26d53c(0xc5)](_0x26d53c(0x103),{'data-name':_0x26d53c(0x93)+_0x137ea3[_0x26d53c(0xf6)]('id')})}),_0x375fd0[_0x26d53c(0xb2)][_0x26d53c(0x9a)](_0x26d53c(0x8f))[_0x26d53c(0xdb)]({'view':_0x26d53c(0xbe)});}[_0x59d7c9(0x95)](){const _0xfe2523=_0x59d7c9,_0x402ea5=this[_0xfe2523(0xef)],_0x57f0d0=_0x402ea5[_0xfe2523(0x8d)][_0xfe2523(0xd7)](_0x3be6ff),_0x54d4e6=new Set(),_0x7ad668=new Set();_0x402ea5[_0xfe2523(0xd3)][_0xfe2523(0xbc)][_0xfe2523(0x92)](_0x1359ec=>{const _0x33f19d=_0xfe2523;let _0x34b831=!0x1;for(const {name:_0x6def08,data:_0x2f5ed3}of _0x402ea5[_0x33f19d(0xd3)][_0x33f19d(0xbc)][_0x33f19d(0xb0)][_0x33f19d(0x86)]()){const {group:_0x2b55f8,id:_0x207cca}=it(_0x6def08);let _0x281ba8=_0x2f5ed3[_0x33f19d(0x87)];if(_0x33f19d(0xbe)!==_0x2b55f8||!_0x281ba8)continue;const _0x2c2220=_0x33f19d(0xac)===_0x281ba8[_0x33f19d(0x7d)][_0x33f19d(0x101)];_0x2c2220||(_0x281ba8=st(_0x281ba8,_0x402ea5[_0x33f19d(0xd3)]),!_0x281ba8||_0x281ba8[_0x33f19d(0xa1)]||!_0x2f5ed3[_0x33f19d(0x87)]||_0x281ba8[_0x33f19d(0x7f)](_0x2f5ed3[_0x33f19d(0x87)]))?_0x402ea5[_0x33f19d(0xd3)][_0x33f19d(0x8b)](_0x281ba8)&&!_0x2c2220?this[_0x33f19d(0x104)]?_0x54d4e6[_0x33f19d(0xa8)](_0x6def08):this[_0x33f19d(0x10c)](_0x6def08,_0x207cca):(_0x7ad668[_0x33f19d(0xa8)](_0x6def08),_0x54d4e6[_0x33f19d(0xa7)](_0x6def08),_0x1359ec[_0x33f19d(0xb4)](_0x6def08),_0x34b831=!0x0):(_0x1359ec[_0x33f19d(0xe8)](_0x6def08,{'range':_0x281ba8}),_0x34b831=!0x0);}return _0x34b831;}),this['on'](_0xfe2523(0xc1),(_0x7fd0a7,_0x1a20b6,_0xf10022)=>{const _0x2f065e=_0xfe2523;if(!_0xf10022&&_0x54d4e6[_0x2f065e(0xff)])for(const _0x15fe9c of _0x54d4e6){const {id:_0x40ea3f}=it(_0x15fe9c);_0x54d4e6[_0x2f065e(0xa7)](_0x15fe9c),_0x402ea5[_0x2f065e(0xd3)][_0x2f065e(0xa9)][_0x2f065e(0xd7)](_0x15fe9c)&&this[_0x2f065e(0x10c)](_0x15fe9c,_0x40ea3f);}}),this[_0xfe2523(0x90)](_0x402ea5[_0xfe2523(0xd3)][_0xfe2523(0xbc)],_0xfe2523(0xb3),(_0xc7820b,_0x3ec9dd)=>{const _0x401cf7=_0xfe2523;for(const {name:_0x20a1a4,data:{newRange:_0xa070b}}of _0x402ea5[_0x401cf7(0xd3)][_0x401cf7(0xbc)][_0x401cf7(0xb0)][_0x401cf7(0x86)]()){const {group:_0x53fded,id:_0x176ea4}=it(_0x20a1a4);if(_0x401cf7(0xbe)!==_0x53fded)continue;const _0x57f789=_0x57f0d0[_0x401cf7(0xd8)](_0x176ea4),_0x112680=this[_0x401cf7(0xda)](_0x176ea4);_0x57f789&&(_0x57f789[_0x401cf7(0xf7)]||_0x402ea5[_0x401cf7(0x106)][_0x401cf7(0xe2)][_0x401cf7(0xbd)](_0x401cf7(0x96),()=>{const _0x3a300b=_0x401cf7,_0x22b0e5=_0x402ea5[_0x3a300b(0x8d)][_0x3a300b(0xd7)](_0x5dc91f),_0xf6ea88=_0x57f0d0[_0x3a300b(0xa4)][_0x3a300b(0xd7)](_0x57f789)[_0x3a300b(0xe2)];_0x22b0e5[_0x3a300b(0xe6)](_0xf6ea88)[_0x3a300b(0xae)]();},{'priority':_0x401cf7(0xc3)}),_0x57f789[_0x401cf7(0xf7)]=_0x112680||!!_0xa070b),_0xa070b||(_0x7ad668[_0x401cf7(0xa8)](_0x20a1a4),_0x54d4e6[_0x401cf7(0xa7)](_0x20a1a4));}if(_0x3ec9dd[_0x401cf7(0xcc)])for(const _0x54dfa9 of _0x7ad668){const {id:_0x4f4155}=it(_0x54dfa9),_0xa5de41=_0x57f0d0[_0x401cf7(0xd8)](_0x4f4155),_0x13747e=this[_0x401cf7(0xda)](_0x4f4155);_0x54d4e6[_0x401cf7(0xa7)](_0x54dfa9),!_0xa5de41||_0x13747e||_0xa5de41[_0x401cf7(0xcd)]||_0xa5de41[_0x401cf7(0xf9)](new Date());}_0x7ad668[_0x401cf7(0xc2)]();});}[_0x59d7c9(0xb5)](_0x4849a3){const _0x52050b=_0x59d7c9,_0x14682c=this[_0x52050b(0xef)],_0x4ef7c4=this[_0x52050b(0xf3)](_0x4849a3);return _0x2ae785(_0x14682c[_0x52050b(0x106)],_0x4ef7c4);}[_0x59d7c9(0xab)](_0x4934d5){const _0x32a823=_0x59d7c9,_0x255c0d=this[_0x32a823(0xf3)](_0x4934d5);let _0x4e1635='',_0x1d1b06=!0x1;for(const _0x3b7363 of _0x255c0d){const _0x2f2df0=_0x3b7363[_0x32a823(0x91)]();for(const _0x4f0554 of Array[_0x32a823(0xce)](_0x2f2df0[_0x32a823(0x109)]()))_0x4f0554['is'](_0x32a823(0xe0))?(_0x4e1635&&_0x1d1b06&&(_0x4e1635+='\x20',_0x1d1b06=!0x1),_0x4e1635+=_0x4f0554[_0x32a823(0x7a)]):_0x1d1b06=!0x0;_0x1d1b06=!0x0;}return _0x4e1635[_0x32a823(0xc9)](0x0,0x96);}[_0x59d7c9(0xf5)](_0x3f0c5b,_0x535e2d){const _0x4dfdc4=_0x59d7c9,_0x1f632a=this[_0x4dfdc4(0xef)],_0x3f949b=_0x1f632a[_0x4dfdc4(0x8d)][_0x4dfdc4(0xd7)](_0x3be6ff);let _0xbb0e10=_0x3f949b[_0x4dfdc4(0xd8)](_0x535e2d);const _0x374906=_0x1f632a[_0x4dfdc4(0xa2)][_0x4dfdc4(0xd7)](_0x4dfdc4(0xfe)),_0x55f59d=_0x1f632a[_0x4dfdc4(0x8d)][_0x4dfdc4(0xd7)](_0x5eef69);if(_0xbb0e10&&(_0xbb0e10[_0x4dfdc4(0xcd)]&&_0xbb0e10[_0x4dfdc4(0xf9)](null),_0xbb0e10[_0x4dfdc4(0xc0)]))return _0xbb0e10;return!this[_0x4dfdc4(0xf3)](_0x535e2d)[0x0][_0x4dfdc4(0xdf)]?_0x1f632a[_0x4dfdc4(0x106)][_0x4dfdc4(0xe2)][_0x4dfdc4(0xbd)](_0x4dfdc4(0x96),()=>{const _0x154b5b=_0x4dfdc4;if(_0x3f949b[_0x154b5b(0xd8)](_0x535e2d))return;const _0x3da482=_0x1f632a[_0x154b5b(0x8d)][_0x154b5b(0xd7)](_0x5dc91f);_0xbb0e10=_0x3f949b[_0x154b5b(0xd9)]({'channelId':_0x374906,'threadId':_0x535e2d,'target':()=>this[_0x154b5b(0xb5)](_0x535e2d),'context':{'type':_0x154b5b(0xdd),'value':this[_0x154b5b(0xab)](_0x535e2d)}});const _0x24eac7=_0x3f949b[_0x154b5b(0xa4)][_0x154b5b(0xd7)](_0xbb0e10)[_0x154b5b(0xe2)],_0x72bf14=_0x3da482[_0x154b5b(0xe6)](_0x24eac7);_0x72bf14&&_0x55f59d[_0x154b5b(0xf8)](_0x72bf14);},{'priority':_0x4dfdc4(0xc3)}):_0x3f949b[_0x4dfdc4(0x89)]({'channelId':_0x374906,'threadId':_0x535e2d})[_0x4dfdc4(0x10e)](_0xdd2d8e=>{const _0x446f16=_0x4dfdc4;if(_0x446f16(0xd1)!==_0x1f632a[_0x446f16(0xca)]){if(_0xbb0e10=_0xdd2d8e,_0xbb0e10&&!_0xbb0e10[_0x446f16(0xc0)]){const _0x48a387=_0xbb0e10[_0x446f16(0xad)](()=>this[_0x446f16(0xb5)](_0x535e2d));_0x55f59d[_0x446f16(0xf8)](_0x48a387),_0xbb0e10[_0x446f16(0xfa)]&&this[_0x446f16(0xde)](_0x535e2d);}else{if(!_0xbb0e10){const _0x439c6a=this[_0x446f16(0xf3)](_0x535e2d);_0x1f632a[_0x446f16(0xd3)][_0x446f16(0xb3)](_0x30ef77=>{const _0x2c5502=_0x446f16;for(const _0x5310a2 of _0x439c6a)_0x30ef77[_0x2c5502(0xb4)](_0x5310a2);});}}}}),_0xbb0e10;}[_0x59d7c9(0x10c)](_0x308240,_0x41dbd4){const _0x18b74e=_0x59d7c9,_0x2bf284=this[_0x18b74e(0xf5)](_0x308240,_0x41dbd4);_0x2bf284&&!_0x2bf284[_0x18b74e(0xfb)]&&_0x2bf284[_0x18b74e(0xf0)]({'type':_0x18b74e(0xdd),'value':this[_0x18b74e(0xab)](_0x41dbd4)});}[_0x59d7c9(0xe1)](){const _0x58b119=_0x59d7c9,_0x54b57d=this[_0x58b119(0xef)];_0x4fea5f(_0x54b57d[_0x58b119(0xd3)],({left:_0x1de174,entered:_0x17dc21})=>{const _0x225eb4=_0x58b119;for(const _0x47fabd of _0x1de174)if(at(_0x47fabd)){_0x54b57d['ui'][_0x225eb4(0xd6)][_0x225eb4(0x94)](_0x5c32fb(_0x54b57d[_0x225eb4(0x107)],_0x225eb4(0x98)));break;}for(const _0x43be89 of _0x17dc21)if(at(_0x43be89)){_0x54b57d['ui'][_0x225eb4(0xd6)][_0x225eb4(0x94)](_0x5c32fb(_0x54b57d[_0x225eb4(0x107)],_0x225eb4(0xa0)));break;}});}}function nt(_0x4808e4,_0x5aa3f5){return _0x5aa3f5?_0x4808e4+':'+_0x5aa3f5:_0x4808e4;}function it(_0x5bd05a){const _0x4cb7c2=_0x59d7c9,_0xb1e56a=_0x5bd05a[_0x4cb7c2(0xaa)](':');return{'group':_0xb1e56a[0x0],'id':_0xb1e56a[0x1],'part':_0xb1e56a[0x2]};}function st(_0x1dbfba,_0x5e9175){const _0x49eca3=_0x59d7c9,_0x1f8ad7=_0x5e9175[_0x49eca3(0xba)],_0x48f19d=_0x5e9175[_0x49eca3(0xe9)](_0x1dbfba[_0x49eca3(0xcb)]);for(const _0x371a28 of _0x1dbfba[_0x49eca3(0x7b)]()){const {type:_0x150a0d,item:_0x3ec33b,nextPosition:_0x48e569}=_0x371a28;if(_0x49eca3(0xdd)===_0x150a0d||_0x1f8ad7[_0x49eca3(0xe4)](_0x3ec33b)){const _0x16792d=_0x5e9175[_0x49eca3(0xa5)](_0x3ec33b);_0x48f19d[_0x49eca3(0xa1)]&&(_0x48f19d[_0x49eca3(0xcb)]=_0x16792d),_0x48f19d[_0x49eca3(0xee)]=_0x48e569;}}return _0x48f19d;}function at(_0x54372b){const _0x2c1eed=_0x59d7c9;return _0x2c1eed(0xbe)===it(_0x54372b[_0x2c1eed(0x10f)])[_0x2c1eed(0x7e)];}