@ckeditor/ckeditor5-comments 41.4.0 → 41.4.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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  149. package/src/comments/ui/view/commentview.js +1 -1
  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 _0x233807=_0x1955;(function(_0x2e6408,_0x279c0e){const _0x501477=_0x1955,_0x50ae00=_0x2e6408();while(!![]){try{const _0x426d36=-parseInt(_0x501477(0x10a))/0x1+parseInt(_0x501477(0xa2))/0x2+-parseInt(_0x501477(0xc5))/0x3+parseInt(_0x501477(0x98))/0x4*(parseInt(_0x501477(0xdf))/0x5)+parseInt(_0x501477(0x107))/0x6+parseInt(_0x501477(0x10e))/0x7*(parseInt(_0x501477(0xdc))/0x8)+-parseInt(_0x501477(0xb5))/0x9;if(_0x426d36===_0x279c0e)break;else _0x50ae00['push'](_0x50ae00['shift']());}catch(_0x1f5776){_0x50ae00['push'](_0x50ae00['shift']());}}}(_0x12bb,0x46ee5));import{Plugin as _0x2732dc}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2d35d0}from'ckeditor5/src/utils.js';import _0x1387a0 from'./commentsrepository.js';import _0x4a1d96 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0xedea49,getAllMarkersDomElementsSorted as _0x4a0536}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2c10f6 from'../annotations/editorannotations.js';import _0x58ad99 from'./integrations/commentsrestrictededitingmode.js';import _0x5d2464 from'./integrations/importword.js';import _0x596066 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';function _0x12bb(){const _0x494b94=['refreshVisibility','push','119049TDQpda','_threads','reopenCommentThread','listenTo','model','commands','collaboration.channelId','_initializeMarkerConverters','$textProxy','_reconvertMarkers','removeMarker','once','scrollToThreadMarker','markerName','hasDomSelection','ariaLiveAnnouncer','_attachMarkerToThread','rootName','length','pluginName','getAllMarkersForId','_hasTargetInContent','root','isEqual','setUnlinkedAt','markerToData','createElement','getCommentThreads','addCommentThread','_detachCommentThread','336528OWehtm','unlinkedAt','elementToElement','from','getAttribute','change:isReadOnly','enqueueChange','openNewCommentThread','editor','state','1042390yLCDLp','isLocal','_handleMarkerAddAndRemove','_initAriaMarkerChangeAnnouncements','name','getChangedMarkers','requires','getItems','affectsData','consume','destroy','reconvertMarker','hasCommentThread','addMarker:','schema','low','destroyed','ck-comment-marker--active','for','3960369AfOBlJ','end','resolveCommentThread','updateMarker','_handleThreadMarker','_attachArchivedThread','set','item','ready','consumable','change','render','dataDowncast','registerAnnotation','ck-comment-marker','$marker','254418TaTQky','dataToMarker','startsWith','announce','start','ignoreResolvedComments','substring','attachTo','setContext','data','$graveyard','size','_getTextContext','isAttached','_threadToController','ENTER_COMMENT_ANNOUNCEMENT','differ','conversion','isObject','init','addComment','group','removeMarker:','248glHxDE','markers','newRange','10XsrfRF','switchReadOnly','delete','editingDowncast','get','plugins','focus','_getTargetForId','getByInnerView','view','document','editing','locale','config','markerToHighlight','removeCommentThread','context','createPositionBefore','isThreadsLoadingPaused','isResolved','comment:','isCollapsed','change:activeMarker','comment','createRange','change:isThreadsLoadingPaused','fetchCommentThread','upcast','getCommentThread','then','text','getWalker','CommentsEditing','managedUsingOperations','LEAVE_COMMENT_ANNOUNCEMENT','activeMarker','hasContent','add','hasMarkerForId','split','842142SdZbNo','getRange','registerPostFixer','541653ANTZLr','clear'];_0x12bb=function(){return _0x494b94;};return _0x12bb();}import _0x6be741 from'../annotations/annotations.js';function _0x1955(_0x4a49f2,_0xa0f8b4){const _0x12bb61=_0x12bb();return _0x1955=function(_0x1955f9,_0x168266){_0x1955f9=_0x1955f9-0x8c;let _0x3e672b=_0x12bb61[_0x1955f9];return _0x3e672b;},_0x1955(_0x4a49f2,_0xa0f8b4);}import{getTranslation as _0x525dd5}from'../utils/common-translations.js';export default class r extends _0x2732dc{static get[_0x233807(0xa8)](){return[_0x1387a0,_0x2c10f6,_0x58ad99,_0x5d2464,_0x596066];}static get[_0x233807(0x8d)](){const _0x1918aa=_0x233807;return _0x1918aa(0xff);}constructor(_0x19febd){const _0x2f2de4=_0x233807;super(_0x19febd),this[_0x2f2de4(0xbb)](_0x2f2de4(0xf1),!0x0),_0x19febd[_0x2f2de4(0xce)][_0x2f2de4(0x119)](_0x2f2de4(0xbd),()=>this[_0x2f2de4(0xf1)]=!0x1),this[_0x2f2de4(0xbb)](_0x2f2de4(0x102),null),this['on'](_0x2f2de4(0xf5),(_0x379aee,_0x352c11,_0x54b1fb,_0x3e22a3)=>{const _0x2eb127=_0x2f2de4,_0x55ce0a=_0x54b1fb?it(_0x54b1fb)['id']:null;if(_0x19febd[_0x2eb127(0x112)][_0x2eb127(0xbf)](()=>{const _0x218c38=_0x2eb127;if(_0x55ce0a){const _0x3e0234=this[_0x218c38(0x8e)](_0x55ce0a);for(const _0xe44201 of _0x3e0234)_0x19febd[_0x218c38(0xea)][_0x218c38(0xad)](_0xe44201);}if(_0x3e22a3){const {id:_0x3f38ad}=it(_0x3e22a3),_0x586eec=this[_0x218c38(0x8e)](_0x3f38ad);for(const _0x3ad0d9 of _0x586eec)_0x19febd[_0x218c38(0xea)][_0x218c38(0xad)](_0x3ad0d9);}}),_0x55ce0a){const _0x1afd8e=_0x19febd[_0x2eb127(0xe4)][_0x2eb127(0xe3)](_0x1387a0)[_0x2eb127(0xfb)](_0x55ce0a);_0x1afd8e&&_0x1afd8e[_0x2eb127(0xf2)]&&this[_0x2eb127(0x11a)](_0x55ce0a);}}),this[_0x2f2de4(0xa5)]();}[_0x233807(0xd8)](){const _0x46abb4=_0x233807,_0x17f38c=this[_0x46abb4(0xa0)],_0x58b06f=_0x17f38c[_0x46abb4(0xe4)][_0x46abb4(0xe3)](_0x1387a0),_0x342c37=_0x17f38c[_0x46abb4(0xec)][_0x46abb4(0xe3)](_0x46abb4(0x114));_0x17f38c[_0x46abb4(0x113)][_0x46abb4(0x104)](_0x46abb4(0x96),new _0x4a1d96(_0x17f38c)),this[_0x46abb4(0x111)](_0x17f38c,_0x46abb4(0x9d),(_0x374aac,_0x41f887,_0x510d01)=>{const _0x46cdf4=_0x46abb4;_0x58b06f[_0x46cdf4(0xe0)](_0x510d01,_0x17f38c[_0x46cdf4(0xec)][_0x46cdf4(0xe3)](_0x46cdf4(0x114)));}),this[_0x46abb4(0x111)](_0x58b06f,nt(_0x46abb4(0x96),_0x342c37),(_0x818e44,{threadId:_0x221e6b})=>{const _0x23902c=_0x46abb4,_0x2dab41=this[_0x23902c(0xa0)][_0x23902c(0xe4)][_0x23902c(0xe3)](_0x1387a0)[_0x23902c(0xfb)](_0x221e6b);_0x2dab41&&_0x2dab41[_0x23902c(0x99)]&&this[_0x23902c(0xba)](_0x221e6b);}),this[_0x46abb4(0x111)](_0x58b06f,nt(_0x46abb4(0xee),_0x342c37),(_0x4f0090,{threadId:_0xd66d4e})=>{const _0x51c6f3=_0x46abb4;_0x17f38c[_0x51c6f3(0x112)][_0x51c6f3(0x9e)]({'isUndoable':!0x1},_0x118eee=>{const _0x5cfb65=_0x51c6f3,_0x736f0e=this[_0x5cfb65(0x8e)](_0xd66d4e);for(const _0x548314 of _0x736f0e)_0x118eee[_0x5cfb65(0x118)](_0x548314);});}),this[_0x46abb4(0x111)](_0x58b06f,nt(_0x46abb4(0xb7),_0x342c37),(_0x3349c2,{threadId:_0x4ac1a4})=>{const _0x46cc36=_0x46abb4;(this[_0x46cc36(0x117)](_0x4ac1a4),this[_0x46cc36(0xa0)][_0x46cc36(0xea)][_0x46cc36(0xe8)][_0x46cc36(0x11c)])&&(this[_0x46cc36(0xa0)][_0x46cc36(0xe4)][_0x46cc36(0xe3)](_0x1387a0)[_0x46cc36(0xfb)](_0x4ac1a4)[_0x46cc36(0x99)]||this[_0x46cc36(0xa0)][_0x46cc36(0xea)][_0x46cc36(0xe8)][_0x46cc36(0xe5)]());},{'priority':_0x46abb4(0xb1)}),this[_0x46abb4(0x111)](_0x58b06f,nt(_0x46abb4(0x110),_0x342c37),(_0x2347ba,{threadId:_0x248b38})=>{const _0x5d2149=_0x46abb4;this[_0x5d2149(0x117)](_0x248b38);},{'priority':_0x46abb4(0xb1)}),this[_0x46abb4(0x111)](_0x58b06f,nt(_0x46abb4(0xd9),_0x342c37),(_0x3caca6,{threadId:_0x38e6f1,isFromAdapter:_0x4c8778})=>{const _0x34d707=_0x46abb4,_0x316954=this[_0x34d707(0x8e)](_0x38e6f1);if(_0x4c8778||0x0==_0x316954[_0x34d707(0x8c)]||!_0x58b06f[_0x34d707(0xae)](_0x38e6f1))return;0x1===_0x58b06f[_0x34d707(0xfb)](_0x38e6f1)[_0x34d707(0x8c)]&&_0x17f38c[_0x34d707(0x112)][_0x34d707(0x9e)]({'isUndoable':!0x1},_0x496d38=>{const _0x4c79e8=_0x34d707;for(const _0x9a918 of _0x316954)_0x496d38[_0x4c79e8(0xb8)](_0x9a918,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x46abb4(0xb1)}),this[_0x46abb4(0x115)](),this[_0x46abb4(0xa4)]();}[_0x233807(0xac)](){const _0x329d7f=_0x233807,_0x1d1945=this[_0x329d7f(0xa0)][_0x329d7f(0xe4)][_0x329d7f(0xe3)](_0x1387a0),_0x599b0c=this[_0x329d7f(0xa0)][_0x329d7f(0xec)][_0x329d7f(0xe3)](_0x329d7f(0x114));for(const _0x189a19 of _0x1d1945[_0x329d7f(0x95)]({'channelId':_0x599b0c}))_0x1d1945[_0x329d7f(0x97)](_0x189a19['id']),_0x1d1945[_0x329d7f(0x10f)][_0x329d7f(0xe1)](_0x189a19['id']);super[_0x329d7f(0xac)]();}[_0x233807(0x105)](_0x251390){const _0x34b705=_0x233807;return this[_0x34b705(0x8e)](_0x251390)[_0x34b705(0x8c)]>0x0;}[_0x233807(0x8e)](_0x2a8428){const _0x56245b=_0x233807,_0x2623db=[];for(const _0x4e4245 of this[_0x56245b(0xa0)][_0x56245b(0x112)][_0x56245b(0xdd)])_0x4e4245[_0x56245b(0xa6)][_0x56245b(0xc7)](_0x56245b(0xf3)+_0x2a8428)&&_0x2623db[_0x56245b(0x10d)](_0x4e4245);return _0x2623db;}[_0x233807(0x11a)](_0x4a41fd){const _0x48872e=_0x233807,_0x156ff0=this[_0x48872e(0xe6)](_0x4a41fd);_0x156ff0&&setTimeout(()=>{const _0x5bed1c=_0x48872e;this[_0x5bed1c(0x102)]&&it(this[_0x5bed1c(0x102)])['id']===_0x4a41fd&&_0x2d35d0({'target':_0x156ff0[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x233807(0x117)](_0x52b11c){const _0x56cf08=_0x233807;this[_0x56cf08(0xa0)][_0x56cf08(0x112)][_0x56cf08(0xbf)](()=>{const _0x406eab=_0x56cf08;for(const _0x595134 of this[_0x406eab(0x8e)](_0x52b11c))this[_0x406eab(0xa0)][_0x406eab(0xea)][_0x406eab(0xad)](_0x595134);});}[_0x233807(0xba)](_0x51b751){const _0x2b04d2=_0x233807,_0x7d1cf1=this[_0x2b04d2(0xa0)][_0x2b04d2(0xe4)][_0x2b04d2(0xe3)](_0x1387a0),_0x4451d0=this[_0x2b04d2(0xa0)][_0x2b04d2(0xe4)][_0x2b04d2(0xe3)](_0x2c10f6),_0x807371=_0x7d1cf1[_0x2b04d2(0xfb)](_0x51b751);if(!_0x807371[_0x2b04d2(0xd2)]){const _0x34ec2d=_0x807371[_0x2b04d2(0xcc)](()=>this[_0x2b04d2(0xe6)](_0x807371['id']));_0x4451d0[_0x2b04d2(0xc2)](_0x34ec2d),_0x807371[_0x2b04d2(0x8f)]=!0x1;}}[_0x233807(0x115)](){const _0x316afd=_0x233807,_0x53ae7b=this[_0x316afd(0xa0)];_0x53ae7b[_0x316afd(0xd6)][_0x316afd(0xb4)](_0x316afd(0xe2))[_0x316afd(0xed)]({'model':_0x316afd(0xf6),'view':(_0x43ceae,_0x57c2b1)=>{const _0x22b4c0=_0x316afd,{id:_0x145f75}=it(_0x43ceae[_0x22b4c0(0x11b)]),_0x4cca23=_0x53ae7b[_0x22b4c0(0xe4)][_0x22b4c0(0xe3)](_0x1387a0)[_0x22b4c0(0xfb)](_0x145f75),_0x1bf757=this[_0x22b4c0(0x102)]&&it(this[_0x22b4c0(0x102)])['id']===_0x145f75;if(_0x4cca23&&_0x4cca23[_0x22b4c0(0xf2)]&&!_0x1bf757&&_0x43ceae[_0x22b4c0(0xbc)])return _0x57c2b1[_0x22b4c0(0xbe)][_0x22b4c0(0xab)](_0x43ceae[_0x22b4c0(0xbc)],_0x22b4c0(0xaf)+_0x43ceae[_0x22b4c0(0x11b)]),_0x57c2b1[_0x22b4c0(0xbe)][_0x22b4c0(0xab)](_0x43ceae[_0x22b4c0(0xbc)],_0x22b4c0(0xdb)+_0x43ceae[_0x22b4c0(0x11b)]),null;const _0x5cb586=[_0x22b4c0(0xc3)];return _0x1bf757&&_0x5cb586[_0x22b4c0(0x10d)](_0x22b4c0(0xb3)),{'classes':_0x5cb586,'attributes':{'data-comment':_0x145f75}};}}),_0x53ae7b[_0x316afd(0xd6)][_0x316afd(0xb4)](_0x316afd(0xc1))[_0x316afd(0x93)]({'model':_0x316afd(0xf6),'view':(_0x68c344,{options:_0x21c425})=>{const _0x1c5aec=_0x316afd,_0x4a79da=_0x53ae7b[_0x1c5aec(0xe4)][_0x1c5aec(0xe3)](_0x1387a0),_0x319783=_0x53ae7b[_0x1c5aec(0x112)][_0x1c5aec(0xdd)][_0x1c5aec(0xe3)](_0x68c344),{id:_0x4584a3,part:_0x443287}=it(_0x68c344);if(_0x319783&&!_0x319783[_0x1c5aec(0xaa)])return null;if(_0x21c425[_0x1c5aec(0xca)]){const _0x48fd09=_0x4a79da[_0x1c5aec(0xfb)](_0x4584a3);if(_0x48fd09&&_0x48fd09[_0x1c5aec(0xf2)])return null;}return{'group':_0x1c5aec(0xf6),'name':_0x443287?_0x4584a3+':'+_0x443287:_0x4584a3};}}),_0x53ae7b[_0x316afd(0xd6)][_0x316afd(0xb4)](_0x316afd(0xfa))[_0x316afd(0x9a)]({'view':{'name':_0x316afd(0xf6),'attributes':{'id':/^\w/}},'model':(_0x17306b,{writer:_0x44cc67})=>_0x44cc67[_0x316afd(0x94)](_0x316afd(0xc4),{'data-name':_0x316afd(0xf3)+_0x17306b[_0x316afd(0x9c)]('id')})}),_0x53ae7b[_0x316afd(0xd6)][_0x316afd(0xb4)](_0x316afd(0xfa))[_0x316afd(0xc6)]({'view':_0x316afd(0xf6)});}[_0x233807(0xa4)](){const _0x748139=_0x233807,_0x51a6b9=this[_0x748139(0xa0)],_0x9476c7=_0x51a6b9[_0x748139(0xe4)][_0x748139(0xe3)](_0x1387a0),_0x1b5889=new Set(),_0x401520=new Set();_0x51a6b9[_0x748139(0x112)][_0x748139(0xe9)][_0x748139(0x109)](_0x312873=>{const _0x83c835=_0x748139;let _0x5c553f=!0x1;for(const {name:_0x5e0a4c,data:_0xcbb94a}of _0x51a6b9[_0x83c835(0x112)][_0x83c835(0xe9)][_0x83c835(0xd5)][_0x83c835(0xa7)]()){const {group:_0x4da8d6,id:_0x198954}=it(_0x5e0a4c);let _0x32483a=_0xcbb94a[_0x83c835(0xde)];if(_0x83c835(0xf6)!==_0x4da8d6||!_0x32483a)continue;const _0x5cce69=_0x83c835(0xcf)===_0x32483a[_0x83c835(0x90)][_0x83c835(0x11f)];_0x5cce69||(_0x32483a=st(_0x32483a,_0x51a6b9[_0x83c835(0x112)]),!_0x32483a||_0x32483a[_0x83c835(0xf4)]||!_0xcbb94a[_0x83c835(0xde)]||_0x32483a[_0x83c835(0x91)](_0xcbb94a[_0x83c835(0xde)]))?_0x51a6b9[_0x83c835(0x112)][_0x83c835(0x103)](_0x32483a)&&!_0x5cce69?this[_0x83c835(0xf1)]?_0x1b5889[_0x83c835(0x104)](_0x5e0a4c):this[_0x83c835(0xb9)](_0x5e0a4c,_0x198954):(_0x401520[_0x83c835(0x104)](_0x5e0a4c),_0x1b5889[_0x83c835(0xe1)](_0x5e0a4c),_0x312873[_0x83c835(0x118)](_0x5e0a4c),_0x5c553f=!0x0):(_0x312873[_0x83c835(0xb8)](_0x5e0a4c,{'range':_0x32483a}),_0x5c553f=!0x0);}return _0x5c553f;}),this['on'](_0x748139(0xf8),(_0x445d31,_0x26c6ad,_0x2aaa9b)=>{const _0x765b86=_0x748139;if(!_0x2aaa9b&&_0x1b5889[_0x765b86(0xd0)])for(const _0x4b43e6 of _0x1b5889){const {id:_0x111fdc}=it(_0x4b43e6);_0x1b5889[_0x765b86(0xe1)](_0x4b43e6),_0x51a6b9[_0x765b86(0x112)][_0x765b86(0xdd)][_0x765b86(0xe3)](_0x4b43e6)&&this[_0x765b86(0xb9)](_0x4b43e6,_0x111fdc);}}),this[_0x748139(0x111)](_0x51a6b9[_0x748139(0x112)][_0x748139(0xe9)],_0x748139(0xbf),(_0x4c1045,_0x596ed8)=>{const _0xbba221=_0x748139;for(const {name:_0x3db8a6,data:{newRange:_0x58f629}}of _0x51a6b9[_0xbba221(0x112)][_0xbba221(0xe9)][_0xbba221(0xd5)][_0xbba221(0xa7)]()){const {group:_0x1ddaa0,id:_0x2a0f1b}=it(_0x3db8a6);if(_0xbba221(0xf6)!==_0x1ddaa0)continue;const _0x59a6b9=_0x9476c7[_0xbba221(0xfb)](_0x2a0f1b),_0x3dcea5=this[_0xbba221(0x105)](_0x2a0f1b);_0x59a6b9&&(_0x59a6b9[_0xbba221(0x8f)]||_0x51a6b9[_0xbba221(0xea)][_0xbba221(0xe8)][_0xbba221(0x119)](_0xbba221(0xc0),()=>{const _0xfa3277=_0xbba221,_0x5a238a=_0x51a6b9[_0xfa3277(0xe4)][_0xfa3277(0xe3)](_0x6be741),_0x393eb6=_0x9476c7[_0xfa3277(0xd3)][_0xfa3277(0xe3)](_0x59a6b9)[_0xfa3277(0xe8)];_0x5a238a[_0xfa3277(0xe7)](_0x393eb6)[_0xfa3277(0x10c)]();},{'priority':_0xbba221(0xb1)}),_0x59a6b9[_0xbba221(0x8f)]=_0x3dcea5||!!_0x58f629),_0x58f629||(_0x401520[_0xbba221(0x104)](_0x3db8a6),_0x1b5889[_0xbba221(0xe1)](_0x3db8a6));}if(_0x596ed8[_0xbba221(0xa3)])for(const _0x122c2c of _0x401520){const {id:_0x30772f}=it(_0x122c2c),_0x132156=_0x9476c7[_0xbba221(0xfb)](_0x30772f),_0x10f618=this[_0xbba221(0x105)](_0x30772f);_0x1b5889[_0xbba221(0xe1)](_0x122c2c),!_0x132156||_0x10f618||_0x132156[_0xbba221(0x99)]||_0x132156[_0xbba221(0x92)](new Date());}_0x401520[_0xbba221(0x10b)]();});}[_0x233807(0xe6)](_0x571d9d){const _0x1a24ab=_0x233807,_0x1c0878=this[_0x1a24ab(0xa0)],_0x4c09c5=this[_0x1a24ab(0x8e)](_0x571d9d);return _0x4a0536(_0x1c0878[_0x1a24ab(0xea)],_0x4c09c5);}[_0x233807(0xd1)](_0x50700e){const _0x5e93ff=_0x233807,_0x45ed88=this[_0x5e93ff(0x8e)](_0x50700e);let _0x2e1d8e='',_0x291d0d=!0x1;for(const _0x297eb8 of _0x45ed88){const _0x978b25=_0x297eb8[_0x5e93ff(0x108)]();for(const _0x2c6577 of Array[_0x5e93ff(0x9b)](_0x978b25[_0x5e93ff(0xa9)]()))_0x2c6577['is'](_0x5e93ff(0x116))?(_0x2e1d8e&&_0x291d0d&&(_0x2e1d8e+='\x20',_0x291d0d=!0x1),_0x2e1d8e+=_0x2c6577[_0x5e93ff(0xce)]):_0x291d0d=!0x0;_0x291d0d=!0x0;}return _0x2e1d8e[_0x5e93ff(0xcb)](0x0,0x96);}[_0x233807(0x11e)](_0x4f2e33,_0x555ebe){const _0x10df2=_0x233807,_0x255e1f=this[_0x10df2(0xa0)],_0x10642e=_0x255e1f[_0x10df2(0xe4)][_0x10df2(0xe3)](_0x1387a0);let _0x307b8d=_0x10642e[_0x10df2(0xfb)](_0x555ebe);const _0x104cee=_0x255e1f[_0x10df2(0xec)][_0x10df2(0xe3)](_0x10df2(0x114)),_0x4f7ac1=_0x255e1f[_0x10df2(0xe4)][_0x10df2(0xe3)](_0x2c10f6);if(_0x307b8d&&(_0x307b8d[_0x10df2(0x99)]&&_0x307b8d[_0x10df2(0x92)](null),_0x307b8d[_0x10df2(0xd2)]))return _0x307b8d;return!this[_0x10df2(0x8e)](_0x555ebe)[0x0][_0x10df2(0x100)]?_0x255e1f[_0x10df2(0xea)][_0x10df2(0xe8)][_0x10df2(0x119)](_0x10df2(0xc0),()=>{const _0x3012d0=_0x10df2;if(_0x10642e[_0x3012d0(0xfb)](_0x555ebe))return;const _0x53606a=_0x255e1f[_0x3012d0(0xe4)][_0x3012d0(0xe3)](_0x6be741);_0x307b8d=_0x10642e[_0x3012d0(0x9f)]({'channelId':_0x104cee,'threadId':_0x555ebe,'target':()=>this[_0x3012d0(0xe6)](_0x555ebe),'context':{'type':_0x3012d0(0xfd),'value':this[_0x3012d0(0xd1)](_0x555ebe)}});const _0x2e1b2d=_0x10642e[_0x3012d0(0xd3)][_0x3012d0(0xe3)](_0x307b8d)[_0x3012d0(0xe8)],_0x5b886b=_0x53606a[_0x3012d0(0xe7)](_0x2e1b2d);_0x5b886b&&_0x4f7ac1[_0x3012d0(0xc2)](_0x5b886b);},{'priority':_0x10df2(0xb1)}):_0x10642e[_0x10df2(0xf9)]({'channelId':_0x104cee,'threadId':_0x555ebe})[_0x10df2(0xfc)](_0x324fa2=>{const _0xb5bb5a=_0x10df2;if(_0xb5bb5a(0xb2)!==_0x255e1f[_0xb5bb5a(0xa1)]){if(_0x307b8d=_0x324fa2,_0x307b8d&&!_0x307b8d[_0xb5bb5a(0xd2)]){const _0x109752=_0x307b8d[_0xb5bb5a(0xcc)](()=>this[_0xb5bb5a(0xe6)](_0x555ebe));_0x4f7ac1[_0xb5bb5a(0xc2)](_0x109752),_0x307b8d[_0xb5bb5a(0xf2)]&&this[_0xb5bb5a(0x117)](_0x555ebe);}else{if(!_0x307b8d){const _0xb2c4c3=this[_0xb5bb5a(0x8e)](_0x555ebe);_0x255e1f[_0xb5bb5a(0x112)][_0xb5bb5a(0xbf)](_0x920628=>{const _0x279f46=_0xb5bb5a;for(const _0x1da34c of _0xb2c4c3)_0x920628[_0x279f46(0x118)](_0x1da34c);});}}}}),_0x307b8d;}[_0x233807(0xb9)](_0x1ef3e3,_0xf363fb){const _0x2a266d=_0x233807,_0x5104bf=this[_0x2a266d(0x11e)](_0x1ef3e3,_0xf363fb);_0x5104bf&&!_0x5104bf[_0x2a266d(0xef)]&&_0x5104bf[_0x2a266d(0xcd)]({'type':_0x2a266d(0xfd),'value':this[_0x2a266d(0xd1)](_0xf363fb)});}[_0x233807(0xa5)](){const _0x31a006=_0x233807,_0x30f365=this[_0x31a006(0xa0)];_0xedea49(_0x30f365[_0x31a006(0x112)],({left:_0x4558fa,entered:_0x5f3cdb})=>{const _0x5d0590=_0x31a006;for(const _0xb270a1 of _0x4558fa)if(at(_0xb270a1)){_0x30f365['ui'][_0x5d0590(0x11d)][_0x5d0590(0xc8)](_0x525dd5(_0x30f365[_0x5d0590(0xeb)],_0x5d0590(0x101)));break;}for(const _0x7c5b75 of _0x5f3cdb)if(at(_0x7c5b75)){_0x30f365['ui'][_0x5d0590(0x11d)][_0x5d0590(0xc8)](_0x525dd5(_0x30f365[_0x5d0590(0xeb)],_0x5d0590(0xd4)));break;}});}}function nt(_0x399c04,_0x4ed51e){return _0x4ed51e?_0x399c04+':'+_0x4ed51e:_0x399c04;}function it(_0x121fb9){const _0x12238f=_0x233807,_0x526919=_0x121fb9[_0x12238f(0x106)](':');return{'group':_0x526919[0x0],'id':_0x526919[0x1],'part':_0x526919[0x2]};}function st(_0x2bacaa,_0x34c542){const _0x297aba=_0x233807,_0x55c3a4=_0x34c542[_0x297aba(0xb0)],_0x3a29cd=_0x34c542[_0x297aba(0xf7)](_0x2bacaa[_0x297aba(0xc9)]);for(const _0x1227fa of _0x2bacaa[_0x297aba(0xfe)]()){const {type:_0x19d3f5,item:_0x5b3aeb,nextPosition:_0x2ce682}=_0x1227fa;if(_0x297aba(0xfd)===_0x19d3f5||_0x55c3a4[_0x297aba(0xd7)](_0x5b3aeb)){const _0x43e2fc=_0x34c542[_0x297aba(0xf0)](_0x5b3aeb);_0x3a29cd[_0x297aba(0xf4)]&&(_0x3a29cd[_0x297aba(0xc9)]=_0x43e2fc),_0x3a29cd[_0x297aba(0xb6)]=_0x2ce682;}}return _0x3a29cd;}function at(_0x55bddb){const _0x1eff0c=_0x233807;return _0x1eff0c(0xf6)===it(_0x55bddb[_0x1eff0c(0xa6)])[_0x1eff0c(0xda)];}
23
+ const _0x21167e=_0x3d23;function _0x360c(){const _0x50fab4=['178tIBMnp','listenTo','for','rootName','getRange','_getTargetForId','push','_initAriaMarkerChangeAnnouncements','removeCommentThread','isCollapsed','isThreadsLoadingPaused','_handleMarkerAddAndRemove','createPositionBefore','editor','$marker','_threadToController','_handleThreadMarker','_threads','size','dataDowncast','setContext','length','change:isThreadsLoadingPaused','name','CommentsEditing','isLocal','unlinkedAt','text','delete','LEAVE_COMMENT_ANNOUNCEMENT','conversion','ignoreResolvedComments','locale','addMarker:','clear','getByInnerView','ENTER_COMMENT_ANNOUNCEMENT','hasCommentThread','36vyDaZn','editingDowncast','getAttribute','activeMarker','item','_attachArchivedThread','consume','enqueueChange','view','createRange','managedUsingOperations','then','registerAnnotation','getWalker','hasMarkerForId','schema','once','change:isReadOnly','markers','collaboration.channelId','hasDomSelection','isResolved','substring','_reconvertMarkers','startsWith','markerToHighlight','134948uFiSeg','editing','group','removeMarker:','change:activeMarker','createElement','hasContent','59871AJFDnV','getItems','destroy','reconvertMarker','476109QNWAAs','change','elementToElement','split','get','registerPostFixer','getChangedMarkers','1819857cNtpuM','start','focus','state','_hasTargetInContent','updateMarker','ck-comment-marker--active','refreshVisibility','newRange','requires','isObject','upcast','destroyed','dataToMarker','root','resolveCommentThread','openNewCommentThread','7kwWulK','15990defNkN','_detachCommentThread','24KujRJJ','scrollToThreadMarker','model','ck-comment-marker','add','getCommentThread','config','set','end','fetchCommentThread','5703bAXIig','61820VFyxAV','markerToData','attachTo','_attachMarkerToThread','pluginName','consumable','addCommentThread','comment:','$textProxy','markerName','comment','getCommentThreads','isEqual','70rUrBcv','setUnlinkedAt','addComment','announce','document','low','from','plugins','switchReadOnly','isAttached','context','_getTextContext','52HpDsgu','commands','ariaLiveAnnouncer','reopenCommentThread','affectsData','init','$graveyard','ready','removeMarker','render','getAllMarkersForId','differ','_initializeMarkerConverters','data'];_0x360c=function(){return _0x50fab4;};return _0x360c();}(function(_0x95da54,_0x4418a3){const _0x5e86f7=_0x3d23,_0x40ee4d=_0x95da54();while(!![]){try{const _0x262b03=-parseInt(_0x5e86f7(0x23c))/0x1+-parseInt(_0x5e86f7(0x1f5))/0x2*(parseInt(_0x5e86f7(0x265))/0x3)+-parseInt(_0x5e86f7(0x1e7))/0x4*(parseInt(_0x5e86f7(0x266))/0x5)+-parseInt(_0x5e86f7(0x259))/0x6*(parseInt(_0x5e86f7(0x258))/0x7)+-parseInt(_0x5e86f7(0x25b))/0x8*(-parseInt(_0x5e86f7(0x240))/0x9)+-parseInt(_0x5e86f7(0x1db))/0xa*(parseInt(_0x5e86f7(0x235))/0xb)+parseInt(_0x5e86f7(0x21b))/0xc*(parseInt(_0x5e86f7(0x247))/0xd);if(_0x262b03===_0x4418a3)break;else _0x40ee4d['push'](_0x40ee4d['shift']());}catch(_0x5a6b47){_0x40ee4d['push'](_0x40ee4d['shift']());}}}(_0x360c,0x187f1));import{Plugin as _0x5c5d32}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x375b8a}from'ckeditor5/src/utils.js';import _0x1e49d0 from'./commentsrepository.js';import _0xea0cbe from'./addcommentthreadcommand.js';function _0x3d23(_0x507349,_0x3baf5f){const _0x360cf5=_0x360c();return _0x3d23=function(_0x3d2382,_0x2024cf){_0x3d2382=_0x3d2382-0x1d4;let _0x45598e=_0x360cf5[_0x3d2382];return _0x45598e;},_0x3d23(_0x507349,_0x3baf5f);}import{surroundingMarkersDetector as _0x3c4905,getAllMarkersDomElementsSorted as _0x1d6f8e}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1258c6 from'../annotations/editorannotations.js';import _0x5b667c from'./integrations/commentsrestrictededitingmode.js';import _0x552deb from'./integrations/importword.js';import _0xc945a3 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0xb4f048 from'../annotations/annotations.js';import{getTranslation as _0x3ab442}from'../utils/common-translations.js';export default class r extends _0x5c5d32{static get[_0x21167e(0x250)](){return[_0x1e49d0,_0x1258c6,_0x5b667c,_0x552deb,_0xc945a3];}static get[_0x21167e(0x26a)](){const _0x1932ab=_0x21167e;return _0x1932ab(0x20d);}constructor(_0x20dbe7){const _0x42b284=_0x21167e;super(_0x20dbe7),this[_0x42b284(0x262)](_0x42b284(0x1ff),!0x0),_0x20dbe7[_0x42b284(0x1f4)][_0x42b284(0x22b)](_0x42b284(0x1ee),()=>this[_0x42b284(0x1ff)]=!0x1),this[_0x42b284(0x262)](_0x42b284(0x21e),null),this['on'](_0x42b284(0x239),(_0x5d22f0,_0x4025a2,_0x1d81a5,_0x4b8569)=>{const _0x5b8bb7=_0x42b284,_0x406dd3=_0x1d81a5?it(_0x1d81a5)['id']:null;if(_0x20dbe7[_0x5b8bb7(0x25d)][_0x5b8bb7(0x241)](()=>{const _0x518a22=_0x5b8bb7;if(_0x406dd3){const _0x22fe1a=this[_0x518a22(0x1f1)](_0x406dd3);for(const _0x5a8b7f of _0x22fe1a)_0x20dbe7[_0x518a22(0x236)][_0x518a22(0x23f)](_0x5a8b7f);}if(_0x4b8569){const {id:_0x577366}=it(_0x4b8569),_0x5555c6=this[_0x518a22(0x1f1)](_0x577366);for(const _0x39f23b of _0x5555c6)_0x20dbe7[_0x518a22(0x236)][_0x518a22(0x23f)](_0x39f23b);}}),_0x406dd3){const _0x170586=_0x20dbe7[_0x5b8bb7(0x1e2)][_0x5b8bb7(0x244)](_0x1e49d0)[_0x5b8bb7(0x260)](_0x406dd3);_0x170586&&_0x170586[_0x5b8bb7(0x230)]&&this[_0x5b8bb7(0x25c)](_0x406dd3);}}),this[_0x42b284(0x1fc)]();}[_0x21167e(0x1ec)](){const _0x4c5cba=_0x21167e,_0x2bfb40=this[_0x4c5cba(0x202)],_0x19b35e=_0x2bfb40[_0x4c5cba(0x1e2)][_0x4c5cba(0x244)](_0x1e49d0),_0x439d1c=_0x2bfb40[_0x4c5cba(0x261)][_0x4c5cba(0x244)](_0x4c5cba(0x22e));_0x2bfb40[_0x4c5cba(0x1e8)][_0x4c5cba(0x25f)](_0x4c5cba(0x1d4),new _0xea0cbe(_0x2bfb40)),this[_0x4c5cba(0x1f6)](_0x2bfb40,_0x4c5cba(0x22c),(_0x110b00,_0x5c5544,_0x31f643)=>{const _0x4df201=_0x4c5cba;_0x19b35e[_0x4df201(0x1e3)](_0x31f643,_0x2bfb40[_0x4df201(0x261)][_0x4df201(0x244)](_0x4df201(0x22e)));}),this[_0x4c5cba(0x1f6)](_0x19b35e,nt(_0x4c5cba(0x1d4),_0x439d1c),(_0x5e0363,{threadId:_0x113f6f})=>{const _0x1e7508=_0x4c5cba,_0xb812e=this[_0x1e7508(0x202)][_0x1e7508(0x1e2)][_0x1e7508(0x244)](_0x1e49d0)[_0x1e7508(0x260)](_0x113f6f);_0xb812e&&_0xb812e[_0x1e7508(0x20f)]&&this[_0x1e7508(0x220)](_0x113f6f);}),this[_0x4c5cba(0x1f6)](_0x19b35e,nt(_0x4c5cba(0x1fd),_0x439d1c),(_0x38005d,{threadId:_0x2c8f7e})=>{const _0x297e32=_0x4c5cba;_0x2bfb40[_0x297e32(0x25d)][_0x297e32(0x222)]({'isUndoable':!0x1},_0x4b15bd=>{const _0x27041a=_0x297e32,_0x44505b=this[_0x27041a(0x1f1)](_0x2c8f7e);for(const _0x393166 of _0x44505b)_0x4b15bd[_0x27041a(0x1ef)](_0x393166);});}),this[_0x4c5cba(0x1f6)](_0x19b35e,nt(_0x4c5cba(0x256),_0x439d1c),(_0x53a79c,{threadId:_0x17ae60})=>{const _0x4cb09d=_0x4c5cba;(this[_0x4cb09d(0x232)](_0x17ae60),this[_0x4cb09d(0x202)][_0x4cb09d(0x236)][_0x4cb09d(0x223)][_0x4cb09d(0x22f)])&&(this[_0x4cb09d(0x202)][_0x4cb09d(0x1e2)][_0x4cb09d(0x244)](_0x1e49d0)[_0x4cb09d(0x260)](_0x17ae60)[_0x4cb09d(0x20f)]||this[_0x4cb09d(0x202)][_0x4cb09d(0x236)][_0x4cb09d(0x223)][_0x4cb09d(0x249)]());},{'priority':_0x4c5cba(0x1e0)}),this[_0x4c5cba(0x1f6)](_0x19b35e,nt(_0x4c5cba(0x1ea),_0x439d1c),(_0x2033e5,{threadId:_0xbf0436})=>{const _0x5f0d83=_0x4c5cba;this[_0x5f0d83(0x232)](_0xbf0436);},{'priority':_0x4c5cba(0x1e0)}),this[_0x4c5cba(0x1f6)](_0x19b35e,nt(_0x4c5cba(0x1dd),_0x439d1c),(_0x2ff594,{threadId:_0x324cea,isFromAdapter:_0xebcf80})=>{const _0x4101cb=_0x4c5cba,_0x22e100=this[_0x4101cb(0x1f1)](_0x324cea);if(_0xebcf80||0x0==_0x22e100[_0x4101cb(0x20a)]||!_0x19b35e[_0x4101cb(0x21a)](_0x324cea))return;0x1===_0x19b35e[_0x4101cb(0x260)](_0x324cea)[_0x4101cb(0x20a)]&&_0x2bfb40[_0x4101cb(0x25d)][_0x4101cb(0x222)]({'isUndoable':!0x1},_0x46a165=>{const _0x19d2e6=_0x4101cb;for(const _0x55bfea of _0x22e100)_0x46a165[_0x19d2e6(0x24c)](_0x55bfea,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x4c5cba(0x1e0)}),this[_0x4c5cba(0x1f3)](),this[_0x4c5cba(0x200)]();}[_0x21167e(0x23e)](){const _0xb26301=_0x21167e,_0x15cc19=this[_0xb26301(0x202)][_0xb26301(0x1e2)][_0xb26301(0x244)](_0x1e49d0),_0x107a0e=this[_0xb26301(0x202)][_0xb26301(0x261)][_0xb26301(0x244)](_0xb26301(0x22e));for(const _0x454f86 of _0x15cc19[_0xb26301(0x1d9)]({'channelId':_0x107a0e}))_0x15cc19[_0xb26301(0x25a)](_0x454f86['id']),_0x15cc19[_0xb26301(0x206)][_0xb26301(0x211)](_0x454f86['id']);super[_0xb26301(0x23e)]();}[_0x21167e(0x229)](_0x15fb0d){const _0x168475=_0x21167e;return this[_0x168475(0x1f1)](_0x15fb0d)[_0x168475(0x20a)]>0x0;}[_0x21167e(0x1f1)](_0x402811){const _0xbb00f7=_0x21167e,_0x42fdab=[];for(const _0x243535 of this[_0xbb00f7(0x202)][_0xbb00f7(0x25d)][_0xbb00f7(0x22d)])_0x243535[_0xbb00f7(0x20c)][_0xbb00f7(0x233)](_0xbb00f7(0x1d5)+_0x402811)&&_0x42fdab[_0xbb00f7(0x1fb)](_0x243535);return _0x42fdab;}[_0x21167e(0x25c)](_0x1c93cc){const _0x1e3b08=_0x21167e,_0x365476=this[_0x1e3b08(0x1fa)](_0x1c93cc);_0x365476&&setTimeout(()=>{const _0x4dea21=_0x1e3b08;this[_0x4dea21(0x21e)]&&it(this[_0x4dea21(0x21e)])['id']===_0x1c93cc&&_0x375b8a({'target':_0x365476[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x21167e(0x232)](_0x24023f){const _0x4c6fe7=_0x21167e;this[_0x4c6fe7(0x202)][_0x4c6fe7(0x25d)][_0x4c6fe7(0x241)](()=>{const _0xc0d6e7=_0x4c6fe7;for(const _0x46de63 of this[_0xc0d6e7(0x1f1)](_0x24023f))this[_0xc0d6e7(0x202)][_0xc0d6e7(0x236)][_0xc0d6e7(0x23f)](_0x46de63);});}[_0x21167e(0x220)](_0x4df3f2){const _0x40e912=_0x21167e,_0x946405=this[_0x40e912(0x202)][_0x40e912(0x1e2)][_0x40e912(0x244)](_0x1e49d0),_0x184af6=this[_0x40e912(0x202)][_0x40e912(0x1e2)][_0x40e912(0x244)](_0x1258c6),_0xa009d=_0x946405[_0x40e912(0x260)](_0x4df3f2);if(!_0xa009d[_0x40e912(0x1e4)]){const _0x57192c=_0xa009d[_0x40e912(0x268)](()=>this[_0x40e912(0x1fa)](_0xa009d['id']));_0x184af6[_0x40e912(0x227)](_0x57192c),_0xa009d[_0x40e912(0x24b)]=!0x1;}}[_0x21167e(0x1f3)](){const _0x2069b8=_0x21167e,_0x29195c=this[_0x2069b8(0x202)];_0x29195c[_0x2069b8(0x213)][_0x2069b8(0x1f7)](_0x2069b8(0x21c))[_0x2069b8(0x234)]({'model':_0x2069b8(0x1d8),'view':(_0x5acd97,_0x5d98ba)=>{const _0x177faf=_0x2069b8,{id:_0x130cca}=it(_0x5acd97[_0x177faf(0x1d7)]),_0x22a3be=_0x29195c[_0x177faf(0x1e2)][_0x177faf(0x244)](_0x1e49d0)[_0x177faf(0x260)](_0x130cca),_0x1e1138=this[_0x177faf(0x21e)]&&it(this[_0x177faf(0x21e)])['id']===_0x130cca;if(_0x22a3be&&_0x22a3be[_0x177faf(0x230)]&&!_0x1e1138&&_0x5acd97[_0x177faf(0x21f)])return _0x5d98ba[_0x177faf(0x26b)][_0x177faf(0x221)](_0x5acd97[_0x177faf(0x21f)],_0x177faf(0x216)+_0x5acd97[_0x177faf(0x1d7)]),_0x5d98ba[_0x177faf(0x26b)][_0x177faf(0x221)](_0x5acd97[_0x177faf(0x21f)],_0x177faf(0x238)+_0x5acd97[_0x177faf(0x1d7)]),null;const _0x3082d4=[_0x177faf(0x25e)];return _0x1e1138&&_0x3082d4[_0x177faf(0x1fb)](_0x177faf(0x24d)),{'classes':_0x3082d4,'attributes':{'data-comment':_0x130cca}};}}),_0x29195c[_0x2069b8(0x213)][_0x2069b8(0x1f7)](_0x2069b8(0x208))[_0x2069b8(0x267)]({'model':_0x2069b8(0x1d8),'view':(_0x12056b,{options:_0x29bd57})=>{const _0x2a24dc=_0x2069b8,_0x20995e=_0x29195c[_0x2a24dc(0x1e2)][_0x2a24dc(0x244)](_0x1e49d0),_0x478bdc=_0x29195c[_0x2a24dc(0x25d)][_0x2a24dc(0x22d)][_0x2a24dc(0x244)](_0x12056b),{id:_0x2a9277,part:_0x4430dc}=it(_0x12056b);if(_0x478bdc&&!_0x478bdc[_0x2a24dc(0x1eb)])return null;if(_0x29bd57[_0x2a24dc(0x214)]){const _0x5cbbe5=_0x20995e[_0x2a24dc(0x260)](_0x2a9277);if(_0x5cbbe5&&_0x5cbbe5[_0x2a24dc(0x230)])return null;}return{'group':_0x2a24dc(0x1d8),'name':_0x4430dc?_0x2a9277+':'+_0x4430dc:_0x2a9277};}}),_0x29195c[_0x2069b8(0x213)][_0x2069b8(0x1f7)](_0x2069b8(0x252))[_0x2069b8(0x242)]({'view':{'name':_0x2069b8(0x1d8),'attributes':{'id':/^\w/}},'model':(_0xbc5149,{writer:_0x33a898})=>_0x33a898[_0x2069b8(0x23a)](_0x2069b8(0x203),{'data-name':_0x2069b8(0x1d5)+_0xbc5149[_0x2069b8(0x21d)]('id')})}),_0x29195c[_0x2069b8(0x213)][_0x2069b8(0x1f7)](_0x2069b8(0x252))[_0x2069b8(0x254)]({'view':_0x2069b8(0x1d8)});}[_0x21167e(0x200)](){const _0x5c37f9=_0x21167e,_0x319be0=this[_0x5c37f9(0x202)],_0x205ccd=_0x319be0[_0x5c37f9(0x1e2)][_0x5c37f9(0x244)](_0x1e49d0),_0x1dc9a0=new Set(),_0x1187f6=new Set();_0x319be0[_0x5c37f9(0x25d)][_0x5c37f9(0x1df)][_0x5c37f9(0x245)](_0x332d20=>{const _0xeb57ab=_0x5c37f9;let _0x32cd76=!0x1;for(const {name:_0x39c10d,data:_0x594c44}of _0x319be0[_0xeb57ab(0x25d)][_0xeb57ab(0x1df)][_0xeb57ab(0x1f2)][_0xeb57ab(0x246)]()){const {group:_0x4076bd,id:_0x5500b7}=it(_0x39c10d);let _0x219ba0=_0x594c44[_0xeb57ab(0x24f)];if(_0xeb57ab(0x1d8)!==_0x4076bd||!_0x219ba0)continue;const _0xc6b10=_0xeb57ab(0x1ed)===_0x219ba0[_0xeb57ab(0x255)][_0xeb57ab(0x1f8)];_0xc6b10||(_0x219ba0=st(_0x219ba0,_0x319be0[_0xeb57ab(0x25d)]),!_0x219ba0||_0x219ba0[_0xeb57ab(0x1fe)]||!_0x594c44[_0xeb57ab(0x24f)]||_0x219ba0[_0xeb57ab(0x1da)](_0x594c44[_0xeb57ab(0x24f)]))?_0x319be0[_0xeb57ab(0x25d)][_0xeb57ab(0x23b)](_0x219ba0)&&!_0xc6b10?this[_0xeb57ab(0x1ff)]?_0x1dc9a0[_0xeb57ab(0x25f)](_0x39c10d):this[_0xeb57ab(0x205)](_0x39c10d,_0x5500b7):(_0x1187f6[_0xeb57ab(0x25f)](_0x39c10d),_0x1dc9a0[_0xeb57ab(0x211)](_0x39c10d),_0x332d20[_0xeb57ab(0x1ef)](_0x39c10d),_0x32cd76=!0x0):(_0x332d20[_0xeb57ab(0x24c)](_0x39c10d,{'range':_0x219ba0}),_0x32cd76=!0x0);}return _0x32cd76;}),this['on'](_0x5c37f9(0x20b),(_0x52fcf7,_0x510b18,_0x1b8020)=>{const _0x38da85=_0x5c37f9;if(!_0x1b8020&&_0x1dc9a0[_0x38da85(0x207)])for(const _0x5db311 of _0x1dc9a0){const {id:_0x285100}=it(_0x5db311);_0x1dc9a0[_0x38da85(0x211)](_0x5db311),_0x319be0[_0x38da85(0x25d)][_0x38da85(0x22d)][_0x38da85(0x244)](_0x5db311)&&this[_0x38da85(0x205)](_0x5db311,_0x285100);}}),this[_0x5c37f9(0x1f6)](_0x319be0[_0x5c37f9(0x25d)][_0x5c37f9(0x1df)],_0x5c37f9(0x241),(_0x181571,_0x37091a)=>{const _0x360642=_0x5c37f9;for(const {name:_0x884f0c,data:{newRange:_0x2106ed}}of _0x319be0[_0x360642(0x25d)][_0x360642(0x1df)][_0x360642(0x1f2)][_0x360642(0x246)]()){const {group:_0x8e7eed,id:_0x27d788}=it(_0x884f0c);if(_0x360642(0x1d8)!==_0x8e7eed)continue;const _0x199772=_0x205ccd[_0x360642(0x260)](_0x27d788),_0x2e08f9=this[_0x360642(0x229)](_0x27d788);_0x199772&&(_0x199772[_0x360642(0x24b)]||_0x319be0[_0x360642(0x236)][_0x360642(0x223)][_0x360642(0x22b)](_0x360642(0x1f0),()=>{const _0xc6c5e9=_0x360642,_0x13be5a=_0x319be0[_0xc6c5e9(0x1e2)][_0xc6c5e9(0x244)](_0xb4f048),_0x42af70=_0x205ccd[_0xc6c5e9(0x204)][_0xc6c5e9(0x244)](_0x199772)[_0xc6c5e9(0x223)];_0x13be5a[_0xc6c5e9(0x218)](_0x42af70)[_0xc6c5e9(0x24e)]();},{'priority':_0x360642(0x1e0)}),_0x199772[_0x360642(0x24b)]=_0x2e08f9||!!_0x2106ed),_0x2106ed||(_0x1187f6[_0x360642(0x25f)](_0x884f0c),_0x1dc9a0[_0x360642(0x211)](_0x884f0c));}if(_0x37091a[_0x360642(0x20e)])for(const _0x3c3e16 of _0x1187f6){const {id:_0x5082f9}=it(_0x3c3e16),_0x2979be=_0x205ccd[_0x360642(0x260)](_0x5082f9),_0x303bff=this[_0x360642(0x229)](_0x5082f9);_0x1dc9a0[_0x360642(0x211)](_0x3c3e16),!_0x2979be||_0x303bff||_0x2979be[_0x360642(0x20f)]||_0x2979be[_0x360642(0x1dc)](new Date());}_0x1187f6[_0x360642(0x217)]();});}[_0x21167e(0x1fa)](_0x587876){const _0x528640=_0x21167e,_0x489655=this[_0x528640(0x202)],_0x108b31=this[_0x528640(0x1f1)](_0x587876);return _0x1d6f8e(_0x489655[_0x528640(0x236)],_0x108b31);}[_0x21167e(0x1e6)](_0x9c864f){const _0x53dacd=_0x21167e,_0x51e3b0=this[_0x53dacd(0x1f1)](_0x9c864f);let _0x21b72c='',_0x48d2e9=!0x1;for(const _0x422d95 of _0x51e3b0){const _0x137db6=_0x422d95[_0x53dacd(0x1f9)]();for(const _0x2d923f of Array[_0x53dacd(0x1e1)](_0x137db6[_0x53dacd(0x23d)]()))_0x2d923f['is'](_0x53dacd(0x1d6))?(_0x21b72c&&_0x48d2e9&&(_0x21b72c+='\x20',_0x48d2e9=!0x1),_0x21b72c+=_0x2d923f[_0x53dacd(0x1f4)]):_0x48d2e9=!0x0;_0x48d2e9=!0x0;}return _0x21b72c[_0x53dacd(0x231)](0x0,0x96);}[_0x21167e(0x269)](_0x521ec9,_0x4a7489){const _0x631d80=_0x21167e,_0x23dad8=this[_0x631d80(0x202)],_0x375b3a=_0x23dad8[_0x631d80(0x1e2)][_0x631d80(0x244)](_0x1e49d0);let _0x1caad9=_0x375b3a[_0x631d80(0x260)](_0x4a7489);const _0x5bd20b=_0x23dad8[_0x631d80(0x261)][_0x631d80(0x244)](_0x631d80(0x22e)),_0x55c351=_0x23dad8[_0x631d80(0x1e2)][_0x631d80(0x244)](_0x1258c6);if(_0x1caad9&&(_0x1caad9[_0x631d80(0x20f)]&&_0x1caad9[_0x631d80(0x1dc)](null),_0x1caad9[_0x631d80(0x1e4)]))return _0x1caad9;return!this[_0x631d80(0x1f1)](_0x4a7489)[0x0][_0x631d80(0x225)]?_0x23dad8[_0x631d80(0x236)][_0x631d80(0x223)][_0x631d80(0x22b)](_0x631d80(0x1f0),()=>{const _0x24d425=_0x631d80;if(_0x375b3a[_0x24d425(0x260)](_0x4a7489))return;const _0x2259b5=_0x23dad8[_0x24d425(0x1e2)][_0x24d425(0x244)](_0xb4f048);_0x1caad9=_0x375b3a[_0x24d425(0x257)]({'channelId':_0x5bd20b,'threadId':_0x4a7489,'target':()=>this[_0x24d425(0x1fa)](_0x4a7489),'context':{'type':_0x24d425(0x210),'value':this[_0x24d425(0x1e6)](_0x4a7489)}});const _0xd9d8b6=_0x375b3a[_0x24d425(0x204)][_0x24d425(0x244)](_0x1caad9)[_0x24d425(0x223)],_0x5cdca0=_0x2259b5[_0x24d425(0x218)](_0xd9d8b6);_0x5cdca0&&_0x55c351[_0x24d425(0x227)](_0x5cdca0);},{'priority':_0x631d80(0x1e0)}):_0x375b3a[_0x631d80(0x264)]({'channelId':_0x5bd20b,'threadId':_0x4a7489})[_0x631d80(0x226)](_0x2d59c7=>{const _0x45598a=_0x631d80;if(_0x45598a(0x253)!==_0x23dad8[_0x45598a(0x24a)]){if(_0x1caad9=_0x2d59c7,_0x1caad9&&!_0x1caad9[_0x45598a(0x1e4)]){const _0x250114=_0x1caad9[_0x45598a(0x268)](()=>this[_0x45598a(0x1fa)](_0x4a7489));_0x55c351[_0x45598a(0x227)](_0x250114),_0x1caad9[_0x45598a(0x230)]&&this[_0x45598a(0x232)](_0x4a7489);}else{if(!_0x1caad9){const _0x1dbe2d=this[_0x45598a(0x1f1)](_0x4a7489);_0x23dad8[_0x45598a(0x25d)][_0x45598a(0x241)](_0x3d2c46=>{const _0x3a2a49=_0x45598a;for(const _0x2ca497 of _0x1dbe2d)_0x3d2c46[_0x3a2a49(0x1ef)](_0x2ca497);});}}}}),_0x1caad9;}[_0x21167e(0x205)](_0x33b745,_0x3d0019){const _0x3b6528=_0x21167e,_0x45c397=this[_0x3b6528(0x269)](_0x33b745,_0x3d0019);_0x45c397&&!_0x45c397[_0x3b6528(0x1e5)]&&_0x45c397[_0x3b6528(0x209)]({'type':_0x3b6528(0x210),'value':this[_0x3b6528(0x1e6)](_0x3d0019)});}[_0x21167e(0x1fc)](){const _0xdda02e=_0x21167e,_0x10f993=this[_0xdda02e(0x202)];_0x3c4905(_0x10f993[_0xdda02e(0x25d)],({left:_0x2c7a21,entered:_0x38ca34})=>{const _0x3270df=_0xdda02e;for(const _0x4d2b5c of _0x2c7a21)if(at(_0x4d2b5c)){_0x10f993['ui'][_0x3270df(0x1e9)][_0x3270df(0x1de)](_0x3ab442(_0x10f993[_0x3270df(0x215)],_0x3270df(0x212)));break;}for(const _0x3aa204 of _0x38ca34)if(at(_0x3aa204)){_0x10f993['ui'][_0x3270df(0x1e9)][_0x3270df(0x1de)](_0x3ab442(_0x10f993[_0x3270df(0x215)],_0x3270df(0x219)));break;}});}}function nt(_0x1e2cad,_0x348ed1){return _0x348ed1?_0x1e2cad+':'+_0x348ed1:_0x1e2cad;}function it(_0x10bb76){const _0x2ba99a=_0x21167e,_0xc16496=_0x10bb76[_0x2ba99a(0x243)](':');return{'group':_0xc16496[0x0],'id':_0xc16496[0x1],'part':_0xc16496[0x2]};}function st(_0x37f466,_0x2c14fd){const _0x41a53b=_0x21167e,_0x3d1cb0=_0x2c14fd[_0x41a53b(0x22a)],_0x3a215f=_0x2c14fd[_0x41a53b(0x224)](_0x37f466[_0x41a53b(0x248)]);for(const _0x35e61e of _0x37f466[_0x41a53b(0x228)]()){const {type:_0x988ec1,item:_0x29ec4b,nextPosition:_0x332df4}=_0x35e61e;if(_0x41a53b(0x210)===_0x988ec1||_0x3d1cb0[_0x41a53b(0x251)](_0x29ec4b)){const _0x4a206f=_0x2c14fd[_0x41a53b(0x201)](_0x29ec4b);_0x3a215f[_0x41a53b(0x1fe)]&&(_0x3a215f[_0x41a53b(0x248)]=_0x4a206f),_0x3a215f[_0x41a53b(0x263)]=_0x332df4;}}return _0x3a215f;}function at(_0x30dc6c){const _0x5d4a41=_0x21167e;return _0x5d4a41(0x1d8)===it(_0x30dc6c[_0x5d4a41(0x20c)])[_0x5d4a41(0x237)];}