@ckeditor/ckeditor5-comments 45.2.1-alpha.9 → 46.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/build/comments.js +1 -1
  2. package/dist/index-editor.css +69 -67
  3. package/dist/index.css +80 -78
  4. package/dist/index.js +11 -9
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +19 -19
  152. package/src/annotations/annotation.d.ts +4 -4
  153. package/src/annotations/annotation.js +2 -2
  154. package/src/annotations/annotationcollection.d.ts +2 -2
  155. package/src/annotations/annotationcollection.js +1 -1
  156. package/src/annotations/annotations.d.ts +4 -4
  157. package/src/annotations/annotations.js +1 -1
  158. package/src/annotations/annotationsuis.d.ts +4 -4
  159. package/src/annotations/annotationsuis.js +1 -1
  160. package/src/annotations/editorannotations.d.ts +4 -4
  161. package/src/annotations/editorannotations.js +1 -1
  162. package/src/annotations/inlineannotations.d.ts +5 -5
  163. package/src/annotations/inlineannotations.js +1 -1
  164. package/src/annotations/narrowsidebar.d.ts +5 -5
  165. package/src/annotations/narrowsidebar.js +1 -1
  166. package/src/annotations/sidebar.d.ts +14 -13
  167. package/src/annotations/sidebar.js +1 -1
  168. package/src/annotations/view/annotationcounterbuttonview.d.ts +1 -1
  169. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  170. package/src/annotations/view/annotationview.d.ts +1 -1
  171. package/src/annotations/view/annotationview.js +1 -1
  172. package/src/annotations/view/sidebaritemview.d.ts +1 -1
  173. package/src/annotations/view/sidebaritemview.js +2 -1
  174. package/src/annotations/view/sidebarview.d.ts +4 -4
  175. package/src/annotations/view/sidebarview.js +2 -1
  176. package/src/annotations/widesidebar.d.ts +5 -5
  177. package/src/annotations/widesidebar.js +1 -1
  178. package/src/augmentation.d.ts +2 -2
  179. package/src/comments/addcommentthreadcommand.d.ts +48 -9
  180. package/src/comments/addcommentthreadcommand.js +1 -1
  181. package/src/comments/commentsarchive.d.ts +3 -3
  182. package/src/comments/commentsarchive.js +1 -1
  183. package/src/comments/commentsarchiveui.d.ts +4 -4
  184. package/src/comments/commentsarchiveui.js +1 -1
  185. package/src/comments/commentsediting.d.ts +7 -7
  186. package/src/comments/commentsediting.js +1 -1
  187. package/src/comments/commentsrepository.d.ts +14 -6
  188. package/src/comments/commentsrepository.js +3 -3
  189. package/src/comments/commentsui.d.ts +5 -5
  190. package/src/comments/commentsui.js +1 -1
  191. package/src/comments/integrations/clipboard.d.ts +1 -1
  192. package/src/comments/integrations/clipboard.js +1 -1
  193. package/src/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
  194. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  195. package/src/comments/integrations/importword.d.ts +1 -1
  196. package/src/comments/integrations/importword.js +1 -1
  197. package/src/comments/integrations/showcommenthighlights.d.ts +1 -1
  198. package/src/comments/integrations/showcommenthighlights.js +1 -1
  199. package/src/comments/ui/commenteditor/commenteditor.d.ts +4 -4
  200. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  201. package/src/comments/ui/commenteditor/commenteditorui.d.ts +2 -2
  202. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  203. package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
  204. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  205. package/src/comments/ui/commentthreadcontroller.d.ts +2 -2
  206. package/src/comments/ui/commentthreadcontroller.js +2 -2
  207. package/src/comments/ui/view/basecommentthreadview.d.ts +4 -4
  208. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  209. package/src/comments/ui/view/basecommentview.d.ts +1 -1
  210. package/src/comments/ui/view/basecommentview.js +1 -1
  211. package/src/comments/ui/view/collapsedcommentsview.d.ts +1 -1
  212. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  213. package/src/comments/ui/view/commentcontentview.d.ts +1 -1
  214. package/src/comments/ui/view/commentcontentview.js +1 -1
  215. package/src/comments/ui/view/commentinputview.d.ts +4 -4
  216. package/src/comments/ui/view/commentinputview.js +1 -1
  217. package/src/comments/ui/view/commentsarchiveview.d.ts +2 -2
  218. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  219. package/src/comments/ui/view/commentslistview.d.ts +2 -2
  220. package/src/comments/ui/view/commentslistview.js +1 -1
  221. package/src/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
  222. package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
  223. package/src/comments/ui/view/commentthreadheaderview.d.ts +2 -2
  224. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  225. package/src/comments/ui/view/commentthreadinputview.d.ts +2 -2
  226. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  227. package/src/comments/ui/view/commentthreadview.d.ts +2 -2
  228. package/src/comments/ui/view/commentthreadview.js +2 -2
  229. package/src/comments/ui/view/commentview.d.ts +3 -3
  230. package/src/comments/ui/view/commentview.js +2 -2
  231. package/src/comments.d.ts +10 -10
  232. package/src/comments.js +1 -1
  233. package/src/commentsonly.d.ts +2 -2
  234. package/src/commentsonly.js +1 -1
  235. package/src/config.d.ts +3 -3
  236. package/src/index.d.ts +29 -25
  237. package/src/index.js +1 -1
  238. package/src/utils/common-translations.js +1 -1
  239. package/src/utils/createmutationobserver.d.ts +1 -1
  240. package/src/utils/createmutationobserver.js +1 -1
  241. package/theme/comment.css +2 -1
  242. package/theme/commentinput.css +2 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x381b97=_0x16ca;function _0x16ca(_0x563126,_0x15701b){const _0x2c0d34=_0x2c0d();return _0x16ca=function(_0x16ca52,_0x167757){_0x16ca52=_0x16ca52-0x112;let _0x44facd=_0x2c0d34[_0x16ca52];return _0x44facd;},_0x16ca(_0x563126,_0x15701b);}(function(_0x1d0118,_0x24b3e9){const _0x2c56b9=_0x16ca,_0x17ab2c=_0x1d0118();while(!![]){try{const _0x13ef22=-parseInt(_0x2c56b9(0x169))/0x1*(-parseInt(_0x2c56b9(0x14a))/0x2)+parseInt(_0x2c56b9(0x16f))/0x3*(-parseInt(_0x2c56b9(0x162))/0x4)+parseInt(_0x2c56b9(0x151))/0x5+parseInt(_0x2c56b9(0x14e))/0x6+-parseInt(_0x2c56b9(0x115))/0x7+-parseInt(_0x2c56b9(0x112))/0x8*(parseInt(_0x2c56b9(0x117))/0x9)+parseInt(_0x2c56b9(0x122))/0xa*(parseInt(_0x2c56b9(0x139))/0xb);if(_0x13ef22===_0x24b3e9)break;else _0x17ab2c['push'](_0x17ab2c['shift']());}catch(_0x521352){_0x17ab2c['push'](_0x17ab2c['shift']());}}}(_0x2c0d,0xe5294));import{Plugin as _0x572e7e}from'ckeditor5/src/core.js';function _0x2c0d(){const _0x399445=['getByView','detach','annotations','targetRect','_setSelectedAnnotations','add','editing','isAttached','get','inlineannotations-attach-already-attached','getBoundingClientRect','find','getClientRects','afterInit','top','blur','map','11FQcZmj','keystrokes','_closeAnnotation','listenTo','refresh','InlineAnnotations','_addedAnnotations','hasView','editor','updatePosition','bottom','isFocused','_removeAnnotationFromBalloon','right','inlineannotations-detach-not-attached','focus','change:visibleView','37514fWMPaA','domConverter','activeAnnotation','isPremiumPlugin','1568286JnEFOX','setActiveAnnotation','context','7468385yeNnGb','_addAnnotationToBalloon','change:height','left','Esc','_forceRefresh','update','register','init','document','delete','has','editableElement','_getBalloonTargetForAnnotation','inline','isActive','width','4VeIlRh','destroy','includes','clear','switchTo','length','getFirstRange','49swjiTX','attach','mousedown','pluginName','target','inlineannotations-not-allowed-with-context','1894389UTfeYl','requires','addObserver','_balloon','selection','showStack','hasActive','1323912KHFHZf','remove','view','2173843HNslGF','_manuallyClosed','99xTQLaz','fromRect','plugins','getOrderedSelectedAnnotations','visibleView','stopListening','viewRangeToDom','change:isFocused','focusTracker','push','set','10268840jTAtTU','collapse','_selectedAnnotations','isOfficialPlugin','from','every'];_0x2c0d=function(){return _0x399445;};return _0x2c0d();}import _0x294f7f from'./annotationsuis.js';import _0x4d1856 from'./editorannotations.js';import{ContextualBalloon as _0x3427b1}from'ckeditor5/src/ui.js';import{MouseObserver as _0x278de1}from'ckeditor5/src/engine.js';import{CKEditorError as _0x3a6670,Rect as _0x479b15}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x572e7e{[_0x381b97(0x12f)];[_0x381b97(0x12a)];[_0x381b97(0x116)];[_0x381b97(0x172)];[_0x381b97(0x13f)];[_0x381b97(0x124)];[_0x381b97(0x156)];static get[_0x381b97(0x170)](){return[_0x4d1856,_0x3427b1,_0x294f7f];}static get[_0x381b97(0x16c)](){const _0x2fc486=_0x381b97;return _0x2fc486(0x13e);}static get[_0x381b97(0x125)](){return!0x0;}static get[_0x381b97(0x14d)](){return!0x0;}constructor(_0x397185){const _0x1bafbf=_0x381b97;super(_0x397185),_0x397185[_0x1bafbf(0x12e)][_0x1bafbf(0x114)][_0x1bafbf(0x171)](_0x278de1),this[_0x1bafbf(0x12f)]=!0x1,this[_0x1bafbf(0x121)](_0x1bafbf(0x14c),null),this[_0x1bafbf(0x12a)]=null,this[_0x1bafbf(0x116)]=new Set(),this[_0x1bafbf(0x172)]=_0x397185[_0x1bafbf(0x119)][_0x1bafbf(0x130)](_0x3427b1),this[_0x1bafbf(0x13f)]=new Set(),this[_0x1bafbf(0x124)]=[],this[_0x1bafbf(0x156)]=!0x1;}[_0x381b97(0x159)](){const _0x110ccb=_0x381b97,_0x3d36cb=this[_0x110ccb(0x141)][_0x110ccb(0x119)][_0x110ccb(0x130)](_0x294f7f);_0x3d36cb[_0x110ccb(0x150)]===this[_0x110ccb(0x141)]&&(_0x3d36cb[_0x110ccb(0x158)](_0x110ccb(0x15f),this),this[_0x110ccb(0x141)][_0x110ccb(0x13a)][_0x110ccb(0x121)](_0x110ccb(0x155),(_0x31d87c,_0xd43ecb)=>{const _0x2fbb7e=_0x110ccb,_0x1c5fcd=this[_0x2fbb7e(0x172)];if(this[_0x2fbb7e(0x12f)]&&_0x1c5fcd[_0x2fbb7e(0x11b)]){const _0x180bd1=this[_0x2fbb7e(0x12a)][_0x2fbb7e(0x128)](_0x1c5fcd[_0x2fbb7e(0x11b)]);_0x180bd1&&this[_0x2fbb7e(0x13b)](_0x180bd1),_0xd43ecb();}}));}[_0x381b97(0x135)](){const _0x226941=_0x381b97,_0x239a07=this[_0x226941(0x141)][_0x226941(0x119)][_0x226941(0x130)](_0x294f7f);_0x239a07[_0x226941(0x150)]===this[_0x226941(0x141)]&&(_0x239a07[_0x226941(0x175)]()||_0x239a07[_0x226941(0x166)](_0x226941(0x15f)));}[_0x381b97(0x14f)](_0x50dd87){const _0x479469=_0x381b97;_0x50dd87!==this[_0x479469(0x14c)]&&(this[_0x479469(0x14c)]&&(this[_0x479469(0x14c)][_0x479469(0x160)]=!0x1),_0x50dd87&&this[_0x479469(0x141)]['ui'][_0x479469(0x11f)][_0x479469(0x144)]&&(this[_0x479469(0x12a)][_0x479469(0x15c)](_0x50dd87)&&this[_0x479469(0x152)](_0x50dd87,!0x0),_0x50dd87[_0x479469(0x160)]=!0x0),_0x50dd87||this[_0x479469(0x12c)]([]),this[_0x479469(0x14c)]=_0x50dd87);}[_0x381b97(0x16a)](_0x1fabc7){const _0x3fb1d0=_0x381b97;this[_0x3fb1d0(0x12a)]=_0x1fabc7;const _0x2ddaa3=this[_0x3fb1d0(0x141)][_0x3fb1d0(0x119)][_0x3fb1d0(0x130)](_0x294f7f),_0x4073db=this[_0x3fb1d0(0x172)];if(this[_0x3fb1d0(0x12f)])throw new _0x3a6670(_0x3fb1d0(0x131),this);if(_0x2ddaa3[_0x3fb1d0(0x150)]!==this[_0x3fb1d0(0x141)])throw new _0x3a6670(_0x3fb1d0(0x16e),this);const _0x6da2b0=this[_0x3fb1d0(0x141)][_0x3fb1d0(0x119)][_0x3fb1d0(0x130)](_0x4d1856);this[_0x3fb1d0(0x13c)](_0x6da2b0,_0x3fb1d0(0x13d),()=>{const _0x3f8c78=_0x3fb1d0,_0x213d53=_0x6da2b0[_0x3f8c78(0x11a)]({'annotations':this[_0x3f8c78(0x12a)],'activeAnnotation':this[_0x3f8c78(0x14c)]});var _0x455b5f,_0x514199;!this[_0x3f8c78(0x156)]&&(_0x455b5f=_0x213d53,_0x514199=this[_0x3f8c78(0x124)],_0x455b5f[_0x3f8c78(0x167)]===_0x514199[_0x3f8c78(0x167)]&&_0x455b5f[_0x3f8c78(0x127)](_0x407bd4=>_0x514199[_0x3f8c78(0x164)](_0x407bd4)))||(this[_0x3f8c78(0x156)]=!0x1,this[_0x3f8c78(0x12c)](_0x213d53),this[_0x3f8c78(0x14f)](_0x213d53[0x0]||null));}),this[_0x3fb1d0(0x13c)](_0x6da2b0,_0x3fb1d0(0x137),(_0x2ef915,{isAnnotationTracked:_0x592bc4})=>{const _0x5936d4=_0x3fb1d0;this[_0x5936d4(0x14c)]&&_0x592bc4(this[_0x5936d4(0x14c)])&&(this[_0x5936d4(0x12c)]([]),this[_0x5936d4(0x14f)](null));}),this[_0x3fb1d0(0x13c)](this[_0x3fb1d0(0x141)]['ui'][_0x3fb1d0(0x11f)],_0x3fb1d0(0x11e),(_0x1ee95d,_0x12117f,_0x3f617d)=>{const _0x103954=_0x3fb1d0;_0x3f617d||this[_0x103954(0x14f)](null);}),this[_0x3fb1d0(0x13c)](_0x1fabc7,_0x3fb1d0(0x113),(_0x2eb777,_0x57eee3)=>{const _0x12b0af=_0x3fb1d0;this[_0x12b0af(0x145)](_0x57eee3),_0x57eee3===this[_0x12b0af(0x14c)]&&this[_0x12b0af(0x14f)](null);}),this[_0x3fb1d0(0x13c)](_0x4073db,_0x3fb1d0(0x149),(_0x51c9d7,_0x360fcd,_0x2e637a,_0x41f8a5)=>{const _0x4f81d8=_0x3fb1d0;_0x41f8a5&&this[_0x4f81d8(0x11c)](_0x41f8a5);const _0x3e67e7=_0x1fabc7[_0x4f81d8(0x128)](_0x2e637a);_0x2e637a&&_0x3e67e7&&(this[_0x4f81d8(0x13c)](_0x2e637a,_0x4f81d8(0x153),()=>{const _0x5d3ff4=_0x4f81d8;_0x4073db[_0x5d3ff4(0x142)]();}),this[_0x4f81d8(0x13c)](_0x2e637a,_0x4f81d8(0x155),()=>{const _0x8c437a=_0x4f81d8;this[_0x8c437a(0x13b)](_0x3e67e7),this[_0x8c437a(0x141)][_0x8c437a(0x12e)][_0x8c437a(0x114)][_0x8c437a(0x148)]();}),this[_0x4f81d8(0x14c)]!==_0x3e67e7&&this[_0x4f81d8(0x14f)](_0x3e67e7));}),this[_0x3fb1d0(0x13c)](this[_0x3fb1d0(0x141)]['ui'],_0x3fb1d0(0x157),()=>{const _0xd795b=_0x3fb1d0;_0x4073db[_0xd795b(0x11b)]&&(_0x1fabc7[_0xd795b(0x128)](_0x4073db[_0xd795b(0x11b)])&&_0x4073db[_0xd795b(0x142)]());}),this[_0x3fb1d0(0x13c)](this[_0x3fb1d0(0x141)][_0x3fb1d0(0x12e)][_0x3fb1d0(0x114)][_0x3fb1d0(0x15a)],_0x3fb1d0(0x16b),()=>{const _0x35cfab=_0x3fb1d0;this[_0x35cfab(0x156)]=!0x0,this[_0x35cfab(0x116)][_0x35cfab(0x165)]();}),this[_0x3fb1d0(0x141)][_0x3fb1d0(0x12e)][_0x3fb1d0(0x114)][_0x3fb1d0(0x15a)][_0x3fb1d0(0x173)][_0x3fb1d0(0x15d)]&&this[_0x3fb1d0(0x141)][_0x3fb1d0(0x12e)][_0x3fb1d0(0x114)][_0x3fb1d0(0x148)](),this[_0x3fb1d0(0x12f)]=!0x0;}[_0x381b97(0x129)](){const _0x3ec26d=_0x381b97;if(!this[_0x3ec26d(0x12f)])throw new _0x3a6670(_0x3ec26d(0x147),this);this[_0x3ec26d(0x14f)](null);for(const _0x23b876 of this[_0x3ec26d(0x13f)])this[_0x3ec26d(0x145)](_0x23b876);this[_0x3ec26d(0x11c)](),this[_0x3ec26d(0x12f)]=!0x1,this[_0x3ec26d(0x12a)]=null;}[_0x381b97(0x163)](){const _0xc85931=_0x381b97;this[_0xc85931(0x12f)]&&this[_0xc85931(0x129)]();}[_0x381b97(0x12c)](_0x48edb7){const _0x216f5f=_0x381b97;for(const _0x20ff24 of this[_0x216f5f(0x124)])_0x48edb7[_0x216f5f(0x164)](_0x20ff24)||this[_0x216f5f(0x116)][_0x216f5f(0x15b)](_0x20ff24);for(const _0x5ba7c7 of this[_0x216f5f(0x12a)])_0x48edb7[_0x216f5f(0x164)](_0x5ba7c7)||this[_0x216f5f(0x145)](_0x5ba7c7);if(this[_0x216f5f(0x141)]['ui'][_0x216f5f(0x11f)][_0x216f5f(0x144)]){for(const _0x323ab9 of _0x48edb7)this[_0x216f5f(0x152)](_0x323ab9);}this[_0x216f5f(0x124)]=_0x48edb7;}[_0x381b97(0x152)](_0x596ebb,_0x4932d3=!0x1){const _0x38f658=_0x381b97;this[_0x38f658(0x116)][_0x38f658(0x15c)](_0x596ebb)||(this[_0x38f658(0x13f)][_0x38f658(0x15c)](_0x596ebb)||this[_0x38f658(0x172)][_0x38f658(0x140)](_0x596ebb[_0x38f658(0x114)])||(this[_0x38f658(0x13f)][_0x38f658(0x12d)](_0x596ebb),this[_0x38f658(0x172)][_0x38f658(0x12d)]({'stackId':_0x596ebb[_0x38f658(0x114)]['id'],'view':_0x596ebb[_0x38f658(0x114)],'position':{'target':()=>this[_0x38f658(0x15e)](_0x596ebb)}})),_0x4932d3&&this[_0x38f658(0x172)][_0x38f658(0x174)](_0x596ebb[_0x38f658(0x114)]['id']));}[_0x381b97(0x15e)](_0x4fa8c3){const _0x3e2a63=_0x381b97,_0x168cdc=_0x4fa8c3[_0x3e2a63(0x16d)],_0x46b8a6=this[_0x3e2a63(0x141)][_0x3e2a63(0x12e)][_0x3e2a63(0x114)],_0x22ac27=_0x46b8a6[_0x3e2a63(0x15a)][_0x3e2a63(0x173)][_0x3e2a63(0x168)](),_0x3f382a=_0x46b8a6[_0x3e2a63(0x14b)][_0x3e2a63(0x11d)](_0x22ac27);if(_0x3f382a[_0x3e2a63(0x123)](!0x0),_0x168cdc){if(_0x168cdc instanceof _0x479b15)return _0x168cdc;let _0x3afb75=[];for(const _0x2d922a of _0x168cdc)_0x3afb75[_0x3e2a63(0x120)](...B(_0x2d922a[_0x3e2a63(0x134)]()));_0x3afb75=function(_0x26fa0f){const _0x2684fb=_0x3e2a63,_0x54052a=[];let _0x1d7f57=_0x26fa0f[0x0];for(let _0x94792a=0x1;_0x94792a<_0x26fa0f[_0x2684fb(0x167)];_0x94792a++)F(_0x1d7f57,_0x26fa0f[_0x94792a])?_0x1d7f57[_0x2684fb(0x161)]+=_0x26fa0f[_0x94792a][_0x2684fb(0x161)]:(_0x54052a[_0x2684fb(0x120)](_0x1d7f57),_0x1d7f57=_0x26fa0f[_0x94792a]);return _0x54052a[_0x2684fb(0x120)](_0x1d7f57),_0x54052a;}(_0x3afb75);const _0x9d0a82=_0x3f382a[_0x3e2a63(0x132)]();return _0x3afb75[_0x3e2a63(0x133)](_0x314e7d=>_0x314e7d[_0x3e2a63(0x136)]<=_0x9d0a82[_0x3e2a63(0x136)]&&_0x314e7d[_0x3e2a63(0x143)]>=_0x9d0a82[_0x3e2a63(0x143)]&&_0x314e7d[_0x3e2a63(0x154)]<=_0x9d0a82[_0x3e2a63(0x154)]&&_0x314e7d[_0x3e2a63(0x146)]>=_0x9d0a82[_0x3e2a63(0x146)])||_0x3afb75[0x0];}return _0x4fa8c3[_0x3e2a63(0x12b)]||_0x3f382a;}[_0x381b97(0x145)](_0x2f96ad){const _0xf4c939=_0x381b97;this[_0xf4c939(0x13f)][_0xf4c939(0x15c)](_0x2f96ad)&&this[_0xf4c939(0x172)][_0xf4c939(0x140)](_0x2f96ad[_0xf4c939(0x114)])&&(this[_0xf4c939(0x13f)][_0xf4c939(0x15b)](_0x2f96ad),this[_0xf4c939(0x172)][_0xf4c939(0x113)](_0x2f96ad[_0xf4c939(0x114)]));}[_0x381b97(0x13b)](_0x5c4bed){const _0x394c95=_0x381b97;this[_0x394c95(0x116)][_0x394c95(0x12d)](_0x5c4bed),this[_0x394c95(0x145)](_0x5c4bed);}}function B(_0x52d97){const _0x5f1753=_0x381b97;return Array[_0x5f1753(0x126)](_0x52d97)[_0x5f1753(0x138)](DOMRect[_0x5f1753(0x118)]);}function F(_0x5ca094,_0x12dbd0){const _0x345afc=_0x381b97;return _0x5ca094[_0x345afc(0x136)]===_0x12dbd0[_0x345afc(0x136)]&&_0x5ca094[_0x345afc(0x143)]===_0x12dbd0[_0x345afc(0x143)]&&_0x5ca094[_0x345afc(0x146)]===_0x12dbd0[_0x345afc(0x154)];}
23
+ const _0x53c9c3=_0xd4de;(function(_0x2b84da,_0x44d997){const _0x1367c1=_0xd4de,_0x2fffaf=_0x2b84da();while(!![]){try{const _0x392367=-parseInt(_0x1367c1(0x1de))/0x1+parseInt(_0x1367c1(0x1b3))/0x2+-parseInt(_0x1367c1(0x1ed))/0x3+parseInt(_0x1367c1(0x1e3))/0x4+-parseInt(_0x1367c1(0x1ce))/0x5+-parseInt(_0x1367c1(0x1cc))/0x6*(-parseInt(_0x1367c1(0x1f0))/0x7)+parseInt(_0x1367c1(0x1ad))/0x8*(parseInt(_0x1367c1(0x1f6))/0x9);if(_0x392367===_0x44d997)break;else _0x2fffaf['push'](_0x2fffaf['shift']());}catch(_0x1194bc){_0x2fffaf['push'](_0x2fffaf['shift']());}}}(_0x87c2,0x72ff4));import{Plugin as _0x300447}from'ckeditor5/src/core.js';function _0x87c2(){const _0xef0d6b=['inlineannotations-attach-already-attached','annotations','destroy','keystrokes','switchTo','isOfficialPlugin','_addedAnnotations','change:height','every','focusTracker','remove','context','_addAnnotationToBalloon','clear','1208QKaONG','length','mousedown','map','hasActive','_manuallyClosed','758482UIIiDr','isAttached','bottom','Esc','fromRect','getOrderedSelectedAnnotations','delete','push','focus','_setSelectedAnnotations','get','showStack','getBoundingClientRect','inline','inlineannotations-not-allowed-with-context','init','hasView','stopListening','target','targetRect','width','getClientRects','update','addObserver','viewRangeToDom','15348trKIWw','isActive','1987210nKZjaC','find','_closeAnnotation','_getBalloonTargetForAnnotation','visibleView','isFocused','_removeAnnotationFromBalloon','left','has','getFirstRange','attach','requires','from','document','editableElement','change:isFocused','907106gkuciR','plugins','_selectedAnnotations','selection','set','2419252OUXquh','add','_balloon','isPremiumPlugin','domConverter','pluginName','afterInit','getByView','updatePosition','setActiveAnnotation','1642170giueZN','InlineAnnotations','blur','1883QdoZKQ','editor','includes','activeAnnotation','listenTo','right','38790wLWMxb','change:visibleView','inlineannotations-detach-not-attached','top','refresh','editing','_forceRefresh','register','detach','view','collapse'];_0x87c2=function(){return _0xef0d6b;};return _0x87c2();}import{AnnotationsUIs as _0x24369f}from'./annotationsuis.js';import{EditorAnnotations as _0x5bd6d3}from'./editorannotations.js';import{ContextualBalloon as _0x7719d8}from'ckeditor5/src/ui.js';import{MouseObserver as _0xd388db}from'ckeditor5/src/engine.js';import{CKEditorError as _0x534f17,Rect as _0x125f48}from'ckeditor5/src/utils.js';function _0xd4de(_0x3dad83,_0x53f2b4){const _0x87c26f=_0x87c2();return _0xd4de=function(_0xd4de5b,_0x45e936){_0xd4de5b=_0xd4de5b-0x19c;let _0x35e274=_0x87c26f[_0xd4de5b];return _0x35e274;},_0xd4de(_0x3dad83,_0x53f2b4);}import'./../../theme/annotation-inline.css';export class InlineAnnotations extends _0x300447{[_0x53c9c3(0x1b4)];[_0x53c9c3(0x1a0)];[_0x53c9c3(0x1b2)];[_0x53c9c3(0x1e5)];[_0x53c9c3(0x1a5)];[_0x53c9c3(0x1e0)];[_0x53c9c3(0x1fc)];static get[_0x53c9c3(0x1d9)](){return[_0x5bd6d3,_0x7719d8,_0x24369f];}static get[_0x53c9c3(0x1e8)](){const _0x357f05=_0x53c9c3;return _0x357f05(0x1ee);}static get[_0x53c9c3(0x1a4)](){return!0x0;}static get[_0x53c9c3(0x1e6)](){return!0x0;}constructor(_0xb907c7){const _0x55f7c7=_0x53c9c3;super(_0xb907c7),_0xb907c7[_0x55f7c7(0x1fb)][_0x55f7c7(0x19d)][_0x55f7c7(0x1ca)](_0xd388db),this[_0x55f7c7(0x1b4)]=!0x1,this[_0x55f7c7(0x1e2)](_0x55f7c7(0x1f3),null),this[_0x55f7c7(0x1a0)]=null,this[_0x55f7c7(0x1b2)]=new Set(),this[_0x55f7c7(0x1e5)]=_0xb907c7[_0x55f7c7(0x1df)][_0x55f7c7(0x1bd)](_0x7719d8),this[_0x55f7c7(0x1a5)]=new Set(),this[_0x55f7c7(0x1e0)]=[],this[_0x55f7c7(0x1fc)]=!0x1;}[_0x53c9c3(0x1c2)](){const _0x59f4a2=_0x53c9c3,_0x51f90c=this[_0x59f4a2(0x1f1)][_0x59f4a2(0x1df)][_0x59f4a2(0x1bd)](_0x24369f);_0x51f90c[_0x59f4a2(0x1aa)]===this[_0x59f4a2(0x1f1)]&&(_0x51f90c[_0x59f4a2(0x1fd)](_0x59f4a2(0x1c0),this),this[_0x59f4a2(0x1f1)][_0x59f4a2(0x1a2)][_0x59f4a2(0x1e2)](_0x59f4a2(0x1b6),(_0x4feed6,_0x385432)=>{const _0x5baf52=_0x59f4a2,_0x263c1d=this[_0x5baf52(0x1e5)];if(this[_0x5baf52(0x1b4)]&&_0x263c1d[_0x5baf52(0x1d2)]){const _0x658b1c=this[_0x5baf52(0x1a0)][_0x5baf52(0x1ea)](_0x263c1d[_0x5baf52(0x1d2)]);_0x658b1c&&this[_0x5baf52(0x1d0)](_0x658b1c),_0x385432();}}));}[_0x53c9c3(0x1e9)](){const _0x3e64ae=_0x53c9c3,_0x43bdf7=this[_0x3e64ae(0x1f1)][_0x3e64ae(0x1df)][_0x3e64ae(0x1bd)](_0x24369f);_0x43bdf7[_0x3e64ae(0x1aa)]===this[_0x3e64ae(0x1f1)]&&(_0x43bdf7[_0x3e64ae(0x1b1)]()||_0x43bdf7[_0x3e64ae(0x1a3)](_0x3e64ae(0x1c0)));}[_0x53c9c3(0x1ec)](_0x3a77e3){const _0x6cf309=_0x53c9c3;_0x3a77e3!==this[_0x6cf309(0x1f3)]&&(this[_0x6cf309(0x1f3)]&&(this[_0x6cf309(0x1f3)][_0x6cf309(0x1cd)]=!0x1),_0x3a77e3&&this[_0x6cf309(0x1f1)]['ui'][_0x6cf309(0x1a8)][_0x6cf309(0x1d3)]&&(this[_0x6cf309(0x1a0)][_0x6cf309(0x1d6)](_0x3a77e3)&&this[_0x6cf309(0x1ab)](_0x3a77e3,!0x0),_0x3a77e3[_0x6cf309(0x1cd)]=!0x0),_0x3a77e3||this[_0x6cf309(0x1bc)]([]),this[_0x6cf309(0x1f3)]=_0x3a77e3);}[_0x53c9c3(0x1d8)](_0x237397){const _0x1d770d=_0x53c9c3;this[_0x1d770d(0x1a0)]=_0x237397;const _0x4cdf8a=this[_0x1d770d(0x1f1)][_0x1d770d(0x1df)][_0x1d770d(0x1bd)](_0x24369f),_0x416a88=this[_0x1d770d(0x1e5)];if(this[_0x1d770d(0x1b4)])throw new _0x534f17(_0x1d770d(0x19f),this);if(_0x4cdf8a[_0x1d770d(0x1aa)]!==this[_0x1d770d(0x1f1)])throw new _0x534f17(_0x1d770d(0x1c1),this);const _0x362bea=this[_0x1d770d(0x1f1)][_0x1d770d(0x1df)][_0x1d770d(0x1bd)](_0x5bd6d3);this[_0x1d770d(0x1f4)](_0x362bea,_0x1d770d(0x1fa),()=>{const _0x4aa486=_0x1d770d,_0x3d8859=_0x362bea[_0x4aa486(0x1b8)]({'annotations':this[_0x4aa486(0x1a0)],'activeAnnotation':this[_0x4aa486(0x1f3)]});var _0x3950fd,_0x2f4d2e;!this[_0x4aa486(0x1fc)]&&(_0x3950fd=_0x3d8859,_0x2f4d2e=this[_0x4aa486(0x1e0)],_0x3950fd[_0x4aa486(0x1ae)]===_0x2f4d2e[_0x4aa486(0x1ae)]&&_0x3950fd[_0x4aa486(0x1a7)](_0x228075=>_0x2f4d2e[_0x4aa486(0x1f2)](_0x228075)))||(this[_0x4aa486(0x1fc)]=!0x1,this[_0x4aa486(0x1bc)](_0x3d8859),this[_0x4aa486(0x1ec)](_0x3d8859[0x0]||null));}),this[_0x1d770d(0x1f4)](_0x362bea,_0x1d770d(0x1ef),(_0x3aa7ce,{isAnnotationTracked:_0x3affc3})=>{const _0x177c7a=_0x1d770d;this[_0x177c7a(0x1f3)]&&_0x3affc3(this[_0x177c7a(0x1f3)])&&(this[_0x177c7a(0x1bc)]([]),this[_0x177c7a(0x1ec)](null));}),this[_0x1d770d(0x1f4)](this[_0x1d770d(0x1f1)]['ui'][_0x1d770d(0x1a8)],_0x1d770d(0x1dd),(_0x7a26a0,_0x59f0fc,_0x534371)=>{const _0x36fcc4=_0x1d770d;_0x534371||this[_0x36fcc4(0x1ec)](null);}),this[_0x1d770d(0x1f4)](_0x237397,_0x1d770d(0x1a9),(_0xe4fdc5,_0x59f849)=>{const _0x12d987=_0x1d770d;this[_0x12d987(0x1d4)](_0x59f849),_0x59f849===this[_0x12d987(0x1f3)]&&this[_0x12d987(0x1ec)](null);}),this[_0x1d770d(0x1f4)](_0x416a88,_0x1d770d(0x1f7),(_0x27d78a,_0x137642,_0x125f6f,_0x4e13d1)=>{const _0x4f2c25=_0x1d770d;_0x4e13d1&&this[_0x4f2c25(0x1c4)](_0x4e13d1);const _0x2b6dfd=_0x237397[_0x4f2c25(0x1ea)](_0x125f6f);_0x125f6f&&_0x2b6dfd&&(this[_0x4f2c25(0x1f4)](_0x125f6f,_0x4f2c25(0x1a6),()=>{const _0x50dc3b=_0x4f2c25;_0x416a88[_0x50dc3b(0x1eb)]();}),this[_0x4f2c25(0x1f4)](_0x125f6f,_0x4f2c25(0x1b6),()=>{const _0x3e4614=_0x4f2c25;this[_0x3e4614(0x1d0)](_0x2b6dfd),this[_0x3e4614(0x1f1)][_0x3e4614(0x1fb)][_0x3e4614(0x19d)][_0x3e4614(0x1bb)]();}),this[_0x4f2c25(0x1f3)]!==_0x2b6dfd&&this[_0x4f2c25(0x1ec)](_0x2b6dfd));}),this[_0x1d770d(0x1f4)](this[_0x1d770d(0x1f1)]['ui'],_0x1d770d(0x1c9),()=>{const _0x285e2c=_0x1d770d;_0x416a88[_0x285e2c(0x1d2)]&&(_0x237397[_0x285e2c(0x1ea)](_0x416a88[_0x285e2c(0x1d2)])&&_0x416a88[_0x285e2c(0x1eb)]());}),this[_0x1d770d(0x1f4)](this[_0x1d770d(0x1f1)][_0x1d770d(0x1fb)][_0x1d770d(0x19d)][_0x1d770d(0x1db)],_0x1d770d(0x1af),()=>{const _0x416dde=_0x1d770d;this[_0x416dde(0x1fc)]=!0x0,this[_0x416dde(0x1b2)][_0x416dde(0x1ac)]();}),this[_0x1d770d(0x1f1)][_0x1d770d(0x1fb)][_0x1d770d(0x19d)][_0x1d770d(0x1db)][_0x1d770d(0x1e1)][_0x1d770d(0x1dc)]&&this[_0x1d770d(0x1f1)][_0x1d770d(0x1fb)][_0x1d770d(0x19d)][_0x1d770d(0x1bb)](),this[_0x1d770d(0x1b4)]=!0x0;}[_0x53c9c3(0x19c)](){const _0x427d1a=_0x53c9c3;if(!this[_0x427d1a(0x1b4)])throw new _0x534f17(_0x427d1a(0x1f8),this);this[_0x427d1a(0x1ec)](null);for(const _0x1c7b59 of this[_0x427d1a(0x1a5)])this[_0x427d1a(0x1d4)](_0x1c7b59);this[_0x427d1a(0x1c4)](),this[_0x427d1a(0x1b4)]=!0x1,this[_0x427d1a(0x1a0)]=null;}[_0x53c9c3(0x1a1)](){const _0x30439a=_0x53c9c3;this[_0x30439a(0x1b4)]&&this[_0x30439a(0x19c)]();}[_0x53c9c3(0x1bc)](_0x50c180){const _0x3c964c=_0x53c9c3;for(const _0x4d877d of this[_0x3c964c(0x1e0)])_0x50c180[_0x3c964c(0x1f2)](_0x4d877d)||this[_0x3c964c(0x1b2)][_0x3c964c(0x1b9)](_0x4d877d);for(const _0x241e9b of this[_0x3c964c(0x1a0)])_0x50c180[_0x3c964c(0x1f2)](_0x241e9b)||this[_0x3c964c(0x1d4)](_0x241e9b);if(this[_0x3c964c(0x1f1)]['ui'][_0x3c964c(0x1a8)][_0x3c964c(0x1d3)]){for(const _0x7a1329 of _0x50c180)this[_0x3c964c(0x1ab)](_0x7a1329);}this[_0x3c964c(0x1e0)]=_0x50c180;}[_0x53c9c3(0x1ab)](_0x1d419a,_0x53032f=!0x1){const _0x378f04=_0x53c9c3;this[_0x378f04(0x1b2)][_0x378f04(0x1d6)](_0x1d419a)||(this[_0x378f04(0x1a5)][_0x378f04(0x1d6)](_0x1d419a)||this[_0x378f04(0x1e5)][_0x378f04(0x1c3)](_0x1d419a[_0x378f04(0x19d)])||(this[_0x378f04(0x1a5)][_0x378f04(0x1e4)](_0x1d419a),this[_0x378f04(0x1e5)][_0x378f04(0x1e4)]({'stackId':_0x1d419a[_0x378f04(0x19d)]['id'],'view':_0x1d419a[_0x378f04(0x19d)],'position':{'target':()=>this[_0x378f04(0x1d1)](_0x1d419a)}})),_0x53032f&&this[_0x378f04(0x1e5)][_0x378f04(0x1be)](_0x1d419a[_0x378f04(0x19d)]['id']));}[_0x53c9c3(0x1d1)](_0x536212){const _0x5ede04=_0x53c9c3,_0x1d814d=_0x536212[_0x5ede04(0x1c5)],_0x483c9a=this[_0x5ede04(0x1f1)][_0x5ede04(0x1fb)][_0x5ede04(0x19d)],_0x1a7387=_0x483c9a[_0x5ede04(0x1db)][_0x5ede04(0x1e1)][_0x5ede04(0x1d7)](),_0x412543=_0x483c9a[_0x5ede04(0x1e7)][_0x5ede04(0x1cb)](_0x1a7387);if(_0x412543[_0x5ede04(0x19e)](!0x0),_0x1d814d){if(_0x1d814d instanceof _0x125f48)return _0x1d814d;let _0x57a5dc=[];for(const _0x24e566 of _0x1d814d)_0x57a5dc[_0x5ede04(0x1ba)](...F(_0x24e566[_0x5ede04(0x1c8)]()));_0x57a5dc=function(_0x101571){const _0x91b8c9=_0x5ede04,_0x325a98=[];let _0x19d721=_0x101571[0x0];for(let _0x468cc4=0x1;_0x468cc4<_0x101571[_0x91b8c9(0x1ae)];_0x468cc4++)P(_0x19d721,_0x101571[_0x468cc4])?_0x19d721[_0x91b8c9(0x1c7)]+=_0x101571[_0x468cc4][_0x91b8c9(0x1c7)]:(_0x325a98[_0x91b8c9(0x1ba)](_0x19d721),_0x19d721=_0x101571[_0x468cc4]);return _0x325a98[_0x91b8c9(0x1ba)](_0x19d721),_0x325a98;}(_0x57a5dc);const _0x19be7b=_0x412543[_0x5ede04(0x1bf)]();return _0x57a5dc[_0x5ede04(0x1cf)](_0x12356d=>_0x12356d[_0x5ede04(0x1f9)]<=_0x19be7b[_0x5ede04(0x1f9)]&&_0x12356d[_0x5ede04(0x1b5)]>=_0x19be7b[_0x5ede04(0x1b5)]&&_0x12356d[_0x5ede04(0x1d5)]<=_0x19be7b[_0x5ede04(0x1d5)]&&_0x12356d[_0x5ede04(0x1f5)]>=_0x19be7b[_0x5ede04(0x1f5)])||_0x57a5dc[0x0];}return _0x536212[_0x5ede04(0x1c6)]||_0x412543;}[_0x53c9c3(0x1d4)](_0x451788){const _0x5164f2=_0x53c9c3;this[_0x5164f2(0x1a5)][_0x5164f2(0x1d6)](_0x451788)&&this[_0x5164f2(0x1e5)][_0x5164f2(0x1c3)](_0x451788[_0x5164f2(0x19d)])&&(this[_0x5164f2(0x1a5)][_0x5164f2(0x1b9)](_0x451788),this[_0x5164f2(0x1e5)][_0x5164f2(0x1a9)](_0x451788[_0x5164f2(0x19d)]));}[_0x53c9c3(0x1d0)](_0x8edf2e){const _0x3bb4d7=_0x53c9c3;this[_0x3bb4d7(0x1b2)][_0x3bb4d7(0x1e4)](_0x8edf2e),this[_0x3bb4d7(0x1d4)](_0x8edf2e);}}function F(_0x5b2543){const _0x1e9c9b=_0x53c9c3;return Array[_0x1e9c9b(0x1da)](_0x5b2543)[_0x1e9c9b(0x1b0)](DOMRect[_0x1e9c9b(0x1b7)]);}function P(_0x4c3248,_0x4dcae5){const _0x2d552d=_0x53c9c3;return _0x4c3248[_0x2d552d(0x1f9)]===_0x4dcae5[_0x2d552d(0x1f9)]&&_0x4c3248[_0x2d552d(0x1b5)]===_0x4dcae5[_0x2d552d(0x1b5)]&&_0x4c3248[_0x2d552d(0x1f5)]===_0x4dcae5[_0x2d552d(0x1d5)];}
@@ -7,12 +7,12 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { ContextPlugin, Context, type Editor } from 'ckeditor5/src/core.js';
10
- import AnnotationsUIs, { type AnnotationsUI } from './annotationsuis.js';
11
- import Sidebar from './sidebar.js';
10
+ import { AnnotationsUIs, type AnnotationsUI } from './annotationsuis.js';
11
+ import { Sidebar } from './sidebar.js';
12
12
  import { BalloonPanelView, BodyCollection } from 'ckeditor5/src/ui.js';
13
13
  import '../../theme/sidebar-narrow.css';
14
- import type Annotation from './annotation.js';
15
- import type { default as AnnotationCollection } from './annotationcollection.js';
14
+ import { type Annotation } from './annotation.js';
15
+ import type { AnnotationCollection } from './annotationcollection.js';
16
16
  /**
17
17
  * The narrow sidebar UI for displaying annotations.
18
18
  *
@@ -34,7 +34,7 @@ import type { default as AnnotationCollection } from './annotationcollection.js'
34
34
  *
35
35
  * See {@link module:comments/annotations/annotationsuis~AnnotationsUIs}.
36
36
  */
37
- export default class NarrowSidebar extends ContextPlugin implements AnnotationsUI<ContextPlugin> {
37
+ export declare class NarrowSidebar extends ContextPlugin implements AnnotationsUI<ContextPlugin> {
38
38
  /**
39
39
  * An active annotation tracked by this UI.
40
40
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4545(){const _0x5409ef=['EditorAnnotations','set:container','9382266jMVoVs','21IlbYKG','pin','addAnnotation','ready','activeAnnotation','cancel','stopPropagation','13553FsfhaF','1449620gbpVaX','includes','from','164vVFbhP','mousedown','stop','off','southArrowNorthWest','change:height','context','Esc','target','first','pluginName','low','get','bodyCollection','northArrowSouthWest','setActiveAnnotation','find','create','_showBalloon','locale','bind','_detachListeners','isDirty','add','unpin','delete','focusableElements','_integrateWithEditorAnnotations','_destroyEditorAnnotationsIntegration','narrowsidebar-attach-already-attached','66AZTcsy','plugins','clear','type','narrowSidebar','preventClosingBalloon','_detachFromContainer','1796jAlqIH','annotationType','attach','_attachToContainer','keydown','getSidebarItemView','contains','rearrange','length','isVisible','_refreshPositioning','narrowsidebar-detach-not-attached','8285zrLIRc','annotations','_editorAnnotations','isPremiumPlugin','NarrowSidebar','init','listenTo','change:container','refresh','values','ck-sidebar--narrow','element','requires','detach','_annotationToNarrowView','uiUpdate','2218020wZZoIE','blur','set','northArrowSouth','southArrowNorth','balloonPanelView','northArrowSouthEast','view','execute','register','content','attachToDom','editors','number','addEventListener','detachFromDom','removeEventListener','isOfficialPlugin','_hideBalloon','_attachListeners','_manuallyClosedAnnotationViews','_refreshPositioningDebounced','southArrowNorthEast','esc','refreshPositioning','isAttached','_setSelectedAnnotations','remove','1751052aasIMA','_annotations','stopListening','defaultPositions','has','focus','getOrderedSelectedAnnotations','_domEmitter','resize','1774984iAaSUv','_selectedAnnotations','getByView','hasDomSelection','_updateBalloonPosition','keyCode','destroy','high','preventDefault'];_0x4545=function(){return _0x5409ef;};return _0x4545();}const _0x5d520c=_0x1d3c;(function(_0x5a5ca7,_0xe6ff4c){const _0x3b66d3=_0x1d3c,_0x1dd34d=_0x5a5ca7();while(!![]){try{const _0x356eae=-parseInt(_0x3b66d3(0x17f))/0x1*(parseInt(_0x3b66d3(0x183))/0x2)+parseInt(_0x3b66d3(0x163))/0x3+-parseInt(_0x3b66d3(0x12b))/0x4*(-parseInt(_0x3b66d3(0x137))/0x5)+-parseInt(_0x3b66d3(0x147))/0x6+-parseInt(_0x3b66d3(0x178))/0x7*(-parseInt(_0x3b66d3(0x16c))/0x8)+parseInt(_0x3b66d3(0x177))/0x9+parseInt(_0x3b66d3(0x180))/0xa*(-parseInt(_0x3b66d3(0x124))/0xb);if(_0x356eae===_0xe6ff4c)break;else _0x1dd34d['push'](_0x1dd34d['shift']());}catch(_0x459af8){_0x1dd34d['push'](_0x1dd34d['shift']());}}}(_0x4545,0xa73b6));import{ContextPlugin as _0x2f2fec,Context as _0x433efe}from'ckeditor5/src/core.js';import _0x1aae95 from'./annotationsuis.js';import _0x3ad537 from'./sidebar.js';import _0x368e3d from'./view/annotationcounterbuttonview.js';function _0x1d3c(_0xd787ff,_0x1316a4){const _0x454537=_0x4545();return _0x1d3c=function(_0x1d3c8e,_0x49a9e3){_0x1d3c8e=_0x1d3c8e-0x11c;let _0x47dfe0=_0x454537[_0x1d3c8e];return _0x47dfe0;},_0x1d3c(_0xd787ff,_0x1316a4);}import{BalloonPanelView as _0x4a8d1d,BodyCollection as _0x59dcdc}from'ckeditor5/src/ui.js';import{CKEditorError as _0x4697ea,DomEmitterMixin as _0x2579d2,keyCodes as _0x544bce,Collection as _0x18e5f0}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x418823}from'es-toolkit/compat';export default class n extends _0x2f2fec{[_0x5d520c(0x160)];[_0x5d520c(0x138)];[_0x5d520c(0x15b)];[_0x5d520c(0x16a)];[_0x5d520c(0x145)];[_0x5d520c(0x16d)];[_0x5d520c(0x139)];[_0x5d520c(0x15c)];static get[_0x5d520c(0x143)](){return[_0x3ad537,_0x1aae95];}static get[_0x5d520c(0x18d)](){const _0x5c65a0=_0x5d520c;return _0x5c65a0(0x13b);}static get[_0x5d520c(0x158)](){return!0x0;}static get[_0x5d520c(0x13a)](){return!0x0;}constructor(_0x364b71){const _0x16cf73=_0x5d520c;super(_0x364b71),this[_0x16cf73(0x160)]=!0x1,this[_0x16cf73(0x15b)]=new Set(),this[_0x16cf73(0x16a)]=Object[_0x16cf73(0x194)](_0x2579d2),this[_0x16cf73(0x145)]=new Map(),this[_0x16cf73(0x149)](_0x16cf73(0x17c),null),this[_0x16cf73(0x138)]=null,this[_0x16cf73(0x16d)]=[],this[_0x16cf73(0x139)]=new _0x18e5f0(),this[_0x16cf73(0x15c)]=_0x418823(()=>{const _0x37faed=_0x16cf73;this[_0x37faed(0x135)]();},0xfa,{'leading':!0x1});}[_0x5d520c(0x13c)](){const _0x597fb9=_0x5d520c;this[_0x597fb9(0x189)][_0x597fb9(0x125)][_0x597fb9(0x18f)](_0x1aae95)[_0x597fb9(0x150)](_0x597fb9(0x128),this),this[_0x597fb9(0x190)]=new _0x59dcdc(this[_0x597fb9(0x189)][_0x597fb9(0x196)]),this[_0x597fb9(0x14c)]=new _0x4a8d1d(this[_0x597fb9(0x189)][_0x597fb9(0x196)]),this[_0x597fb9(0x190)][_0x597fb9(0x152)](),this[_0x597fb9(0x190)][_0x597fb9(0x11d)](this[_0x597fb9(0x14c)]);}[_0x5d520c(0x12d)](_0x3cf985){const _0x389837=_0x5d520c;this[_0x389837(0x138)]=_0x3cf985;const _0x2bc842=this[_0x389837(0x189)][_0x389837(0x125)][_0x389837(0x18f)](_0x3ad537),_0x25bc07=this[_0x389837(0x14c)];if(_0x2bc842[_0x389837(0x164)]=_0x3cf985,this[_0x389837(0x160)])throw new _0x4697ea(_0x389837(0x123),this);this[_0x389837(0x160)]=!0x0,this[_0x389837(0x13d)](_0x2bc842,_0x389837(0x176),()=>{const _0x229eeb=_0x389837;this[_0x229eeb(0x144)](),this[_0x229eeb(0x13d)](_0x2bc842,_0x229eeb(0x13e),_0x4b4c43=>{const _0x1737d7=_0x229eeb;_0x4b4c43[_0x1737d7(0x186)](),this[_0x1737d7(0x12d)](_0x3cf985);});}),_0x2bc842[_0x389837(0x12e)]({'viewClass':_0x389837(0x141),'spaceBetweenItems':0x5});const _0xc7e2f2=_0x43b4af=>{const _0x5ab95d=_0x389837,_0x2d889c=new _0x368e3d(this[_0x5ab95d(0x189)][_0x5ab95d(0x196)]);_0x2bc842[_0x5ab95d(0x17a)](_0x43b4af,_0x2d889c),this[_0x5ab95d(0x145)][_0x5ab95d(0x149)](_0x43b4af,_0x2d889c),_0x2d889c[_0x5ab95d(0x197)](_0x5ab95d(0x11c),_0x5ab95d(0x12c),_0x5ab95d(0x154))['to'](_0x43b4af[_0x5ab95d(0x14e)],_0x5ab95d(0x11c),_0x5ab95d(0x127),_0x5ab95d(0x133)),_0x2d889c['on'](_0x5ab95d(0x14f),()=>{const _0xf3a702=_0x5ab95d;this[_0xf3a702(0x15b)][_0xf3a702(0x126)](),_0x25bc07[_0xf3a702(0x151)][_0xf3a702(0x18c)]!==_0x43b4af[_0xf3a702(0x14e)]?(this[_0xf3a702(0x195)](_0x43b4af),_0x43b4af[_0xf3a702(0x14e)][_0xf3a702(0x142)][_0xf3a702(0x168)](),this[_0xf3a702(0x192)](_0x43b4af)):this[_0xf3a702(0x192)](null);});};for(const _0x1d9377 of _0x3cf985)_0xc7e2f2(_0x1d9377);this[_0x389837(0x13d)](_0x3cf985,_0x389837(0x11d),(_0x416fb5,_0x2126fa)=>{_0xc7e2f2(_0x2126fa);}),this[_0x389837(0x13d)](_0x3cf985,_0x389837(0x162),(_0x5b8bf1,_0x1f41d7,_0x545e3e)=>{const _0x5f4832=_0x389837;this[_0x5f4832(0x145)][_0x5f4832(0x18f)](_0x1f41d7)[_0x5f4832(0x172)](),this[_0x5f4832(0x145)][_0x5f4832(0x11f)](_0x1f41d7),_0x2bc842[_0x5f4832(0x132)]({'removedAnnotation':_0x1f41d7,'previousAnnotation':_0x3cf985[_0x5f4832(0x18f)](_0x545e3e-0x1),'nextAnnotation':_0x3cf985[_0x5f4832(0x18f)](_0x545e3e+0x1)}),_0x1f41d7===this[_0x5f4832(0x17c)]&&this[_0x5f4832(0x192)](null);},{'priority':_0x389837(0x18e)}),this[_0x389837(0x13d)](_0x3cf985,_0x389837(0x168),(_0x5b0968,_0x592bca)=>{const _0x53ca21=_0x389837;this[_0x53ca21(0x192)](_0x592bca);}),this[_0x389837(0x13d)](_0x3cf985,_0x389837(0x148),()=>{const _0x5ef993=_0x389837;this[_0x5ef993(0x192)](null);}),this[_0x389837(0x16a)][_0x389837(0x13d)](document,_0x389837(0x12f),(_0x526f47,_0x5e4679)=>{const _0x143c63=_0x389837;_0x5e4679[_0x143c63(0x171)]===_0x544bce[_0x143c63(0x15e)]&&_0x25bc07[_0x143c63(0x134)]&&(this[_0x143c63(0x15b)][_0x143c63(0x11d)](_0x25bc07[_0x143c63(0x151)][_0x143c63(0x18c)]),this[_0x143c63(0x159)](),_0x5e4679[_0x143c63(0x17e)](),_0x5e4679[_0x143c63(0x174)]());}),this[_0x389837(0x16a)][_0x389837(0x13d)](document,_0x389837(0x184),(_0x60b7fa,_0x25b409)=>{const _0x41aca3=_0x389837,_0x503692=_0x25b409[_0x41aca3(0x18b)];_0x25bc07[_0x41aca3(0x134)]&&_0x25bc07[_0x41aca3(0x142)][_0x41aca3(0x131)](_0x503692)||_0x2bc842[_0x41aca3(0x14e)][_0x41aca3(0x142)][_0x41aca3(0x131)](_0x503692)||_0x60b7fa[_0x41aca3(0x129)]||this[_0x41aca3(0x17c)]&&this[_0x41aca3(0x17c)][_0x41aca3(0x120)][_0x41aca3(0x193)](_0x5dfc06=>_0x5dfc06[_0x41aca3(0x131)](_0x503692))||(this[_0x41aca3(0x15b)][_0x41aca3(0x126)](),this[_0x41aca3(0x159)](),this[_0x41aca3(0x192)](null));});const _0x2e7a51=this[_0x389837(0x189)]instanceof _0x433efe?this[_0x389837(0x189)][_0x389837(0x153)]:new _0x18e5f0([this[_0x389837(0x189)]]);for(const _0xad4f9 of _0x2e7a51)this[_0x389837(0x121)](_0xad4f9);this[_0x389837(0x13d)](_0x2e7a51,_0x389837(0x11d),(_0x2248db,_0xe3702c)=>{const _0x183777=_0x389837;this[_0x183777(0x13d)](_0xe3702c,_0x183777(0x17b),()=>{const _0x28e9ff=_0x183777;this[_0x28e9ff(0x121)](_0xe3702c);});}),this[_0x389837(0x13d)](_0x2e7a51,_0x389837(0x162),(_0x3b398f,_0x5b910f)=>{const _0x5bc425=_0x389837;_0x5b910f[_0x5bc425(0x125)][_0x5bc425(0x167)](_0x5bc425(0x175))&&this[_0x5bc425(0x122)](_0x5b910f[_0x5bc425(0x125)][_0x5bc425(0x18f)](_0x5bc425(0x175)));}),window[_0x389837(0x155)](_0x389837(0x16b),this[_0x389837(0x15c)]),this[_0x389837(0x135)]();}[_0x5d520c(0x192)](_0x7d79c5){const _0x49bd9f=_0x5d520c;if(_0x7d79c5===this[_0x49bd9f(0x17c)])return;const _0x516b35=this[_0x49bd9f(0x189)][_0x49bd9f(0x125)][_0x49bd9f(0x18f)](_0x3ad537);if(_0x516b35[_0x49bd9f(0x13f)]({'blurredAnnotation':this[_0x49bd9f(0x17c)],'activatedAnnotation':_0x7d79c5,'disableAnimationOnActivatedAnnotation':!0x0}),_0x7d79c5)_0x516b35[_0x49bd9f(0x130)](_0x7d79c5)?this[_0x49bd9f(0x195)](_0x7d79c5):this[_0x49bd9f(0x159)]();else this[_0x49bd9f(0x159)]();this[_0x49bd9f(0x17c)]=_0x7d79c5;}[_0x5d520c(0x144)](){const _0x2a8ba6=_0x5d520c;if(!this[_0x2a8ba6(0x160)])throw new _0x4697ea(_0x2a8ba6(0x136),this);this[_0x2a8ba6(0x192)](null);const _0x5a359a=this[_0x2a8ba6(0x189)][_0x2a8ba6(0x125)][_0x2a8ba6(0x18f)](_0x3ad537);this[_0x2a8ba6(0x159)](),Array[_0x2a8ba6(0x182)](this[_0x2a8ba6(0x145)][_0x2a8ba6(0x140)](),_0x56b8c0=>_0x56b8c0[_0x2a8ba6(0x172)]()),this[_0x2a8ba6(0x145)][_0x2a8ba6(0x126)](),_0x5a359a[_0x2a8ba6(0x12a)](this[_0x2a8ba6(0x138)]),this[_0x2a8ba6(0x165)](),this[_0x2a8ba6(0x16a)][_0x2a8ba6(0x165)](),this[_0x2a8ba6(0x189)]instanceof _0x433efe&&this[_0x2a8ba6(0x165)](this[_0x2a8ba6(0x189)][_0x2a8ba6(0x153)]);for(const _0x1afd3d of Array[_0x2a8ba6(0x182)](this[_0x2a8ba6(0x139)]))this[_0x2a8ba6(0x122)](_0x1afd3d);window[_0x2a8ba6(0x157)](_0x2a8ba6(0x16b),this[_0x2a8ba6(0x15c)]),this[_0x2a8ba6(0x15c)][_0x2a8ba6(0x17d)](),this[_0x2a8ba6(0x16d)]=[],this[_0x2a8ba6(0x160)]=!0x1,this[_0x2a8ba6(0x138)]=null;}[_0x5d520c(0x172)](){const _0x43a58d=_0x5d520c;this[_0x43a58d(0x160)]&&this[_0x43a58d(0x144)](),this[_0x43a58d(0x190)][_0x43a58d(0x156)]();}[_0x5d520c(0x121)](_0x95ad4a){const _0x478f2f=_0x5d520c;if(!_0x95ad4a[_0x478f2f(0x125)][_0x478f2f(0x167)](_0x478f2f(0x175)))return;const _0x308855=_0x95ad4a[_0x478f2f(0x125)][_0x478f2f(0x18f)](_0x478f2f(0x175)),_0x23e543=this[_0x478f2f(0x189)][_0x478f2f(0x125)][_0x478f2f(0x18f)](_0x3ad537),_0x2ffb05=this[_0x478f2f(0x138)],_0x3b4c63=this[_0x478f2f(0x14c)],_0x590a4d=()=>{const _0x58b650=_0x478f2f,_0x57b7b0=_0x308855[_0x58b650(0x169)]({'annotations':this[_0x58b650(0x138)],'activeAnnotation':this[_0x58b650(0x17c)]});this[_0x58b650(0x161)](_0x57b7b0),this[_0x58b650(0x192)](_0x57b7b0[0x0]||null);};this[_0x478f2f(0x13d)](_0x308855,_0x478f2f(0x13f),_0x590a4d),this[_0x478f2f(0x13d)](_0x308855,_0x478f2f(0x148),(_0x4bb322,{isAnnotationTracked:_0x5f1d7c})=>{const _0x31705=_0x478f2f;this[_0x31705(0x17c)]&&_0x5f1d7c(this[_0x31705(0x17c)])&&(this[_0x31705(0x161)]([]),this[_0x31705(0x192)](null));}),this[_0x478f2f(0x13d)](_0x308855,_0x478f2f(0x146),()=>{const _0x5bda16=_0x478f2f;this[_0x5bda16(0x15c)]();}),this[_0x478f2f(0x13d)](_0x2ffb05,_0x478f2f(0x148),_0x162a00=>{const _0x478945=_0x478f2f;_0x308855[_0x478945(0x16f)]()&&_0x162a00[_0x478945(0x185)]();},{'priority':_0x478f2f(0x173)}),this[_0x478f2f(0x13d)](this[_0x478f2f(0x16a)],_0x478f2f(0x184),(_0x6a6f9b,_0x137e17)=>{const _0x71a972=_0x478f2f,_0x5e7740=_0x137e17[_0x71a972(0x18b)];_0x3b4c63[_0x71a972(0x134)]&&_0x3b4c63[_0x71a972(0x142)][_0x71a972(0x131)](_0x5e7740)||_0x23e543[_0x71a972(0x14e)][_0x71a972(0x142)][_0x71a972(0x131)](_0x5e7740)||this[_0x71a972(0x17c)]&&_0x308855[_0x71a972(0x16f)]()&&(_0x590a4d(),_0x6a6f9b[_0x71a972(0x129)]=!0x0);},{'priority':_0x478f2f(0x173)}),this[_0x478f2f(0x139)][_0x478f2f(0x11d)](_0x308855);}[_0x5d520c(0x122)](_0x5ddc6a){const _0xcae223=_0x5d520c;_0x5ddc6a&&(this[_0xcae223(0x165)](_0x5ddc6a),this[_0xcae223(0x139)][_0xcae223(0x162)](_0x5ddc6a));}[_0x5d520c(0x161)](_0x47f829){const _0x516ff3=_0x5d520c;for(const _0x4c1bea of this[_0x516ff3(0x16d)])_0x47f829[_0x516ff3(0x181)](_0x4c1bea)||this[_0x516ff3(0x15b)][_0x516ff3(0x11f)](_0x4c1bea[_0x516ff3(0x14e)]);this[_0x516ff3(0x16d)]=_0x47f829;}[_0x5d520c(0x135)](){const _0x47aefe=_0x5d520c,_0x494f70=this[_0x47aefe(0x14c)];this[_0x47aefe(0x138)][_0x47aefe(0x15f)](),_0x494f70[_0x47aefe(0x134)]&&this[_0x47aefe(0x170)]();}[_0x5d520c(0x195)](_0x3ad666){const _0x41f579=_0x5d520c;if(this[_0x41f579(0x15b)][_0x41f579(0x167)](_0x3ad666[_0x41f579(0x14e)]))return;const _0x4b2c2=this[_0x41f579(0x14c)][_0x41f579(0x151)][_0x41f579(0x18c)];_0x4b2c2!==_0x3ad666[_0x41f579(0x14e)]?(_0x4b2c2&&this[_0x41f579(0x198)](_0x4b2c2),this[_0x41f579(0x15a)](_0x3ad666[_0x41f579(0x14e)]),this[_0x41f579(0x14c)][_0x41f579(0x151)][_0x41f579(0x126)](),this[_0x41f579(0x14c)][_0x41f579(0x151)][_0x41f579(0x11d)](_0x3ad666[_0x41f579(0x14e)]),this[_0x41f579(0x170)]()):this[_0x41f579(0x170)]();}[_0x5d520c(0x170)](){const _0x54c9c4=_0x5d520c,_0xcdda7c=this[_0x54c9c4(0x14c)][_0x54c9c4(0x151)][_0x54c9c4(0x18c)],_0x54ba94=_0xcdda7c&&this[_0x54c9c4(0x138)][_0x54c9c4(0x16e)](_0xcdda7c);if(!_0x54ba94||!this[_0x54c9c4(0x145)][_0x54c9c4(0x167)](_0x54ba94))return;const _0x5c502a=this[_0x54c9c4(0x145)][_0x54c9c4(0x18f)](_0x54ba94)[_0x54c9c4(0x142)],_0x495867=(function(){const _0x54186f=_0x54c9c4,_0x576cde=_0x4a8d1d[_0x54186f(0x166)];return[_0x576cde[_0x54186f(0x15d)],_0x576cde[_0x54186f(0x14d)],_0x576cde[_0x54186f(0x14b)],_0x576cde[_0x54186f(0x14a)],_0x576cde[_0x54186f(0x187)],_0x576cde[_0x54186f(0x191)]];}());this[_0x54c9c4(0x14c)][_0x54c9c4(0x179)]({'target':_0x5c502a,'positions':_0x495867});}[_0x5d520c(0x159)](){const _0x1f469d=_0x5d520c,_0x4c725c=this[_0x1f469d(0x14c)],_0x541f25=_0x4c725c[_0x1f469d(0x151)][_0x1f469d(0x18c)];_0x541f25&&(this[_0x1f469d(0x198)](_0x541f25),_0x4c725c[_0x1f469d(0x11e)](),_0x4c725c[_0x1f469d(0x151)][_0x1f469d(0x126)]());}[_0x5d520c(0x15a)](_0x264c5f){const _0x172cb7=_0x5d520c;this[_0x172cb7(0x13d)](_0x264c5f,_0x172cb7(0x188),()=>this[_0x172cb7(0x170)]()),this[_0x172cb7(0x13d)](_0x264c5f,_0x172cb7(0x18a),(_0x5041d0,_0x58f8ad)=>{const _0x205230=_0x172cb7;this[_0x205230(0x15b)][_0x205230(0x11d)](_0x264c5f),this[_0x205230(0x159)](),_0x58f8ad();});}[_0x5d520c(0x198)](_0x4fb70e){const _0x258539=_0x5d520c;this[_0x258539(0x165)](_0x4fb70e);}}
23
+ const _0x575e69=_0x308b;(function(_0x3c5d47,_0x5957a1){const _0x5c7369=_0x308b,_0x5bd3d9=_0x3c5d47();while(!![]){try{const _0x494d74=parseInt(_0x5c7369(0x192))/0x1*(parseInt(_0x5c7369(0x1c5))/0x2)+-parseInt(_0x5c7369(0x1b9))/0x3*(parseInt(_0x5c7369(0x164))/0x4)+-parseInt(_0x5c7369(0x1ac))/0x5+-parseInt(_0x5c7369(0x190))/0x6+parseInt(_0x5c7369(0x1bb))/0x7*(-parseInt(_0x5c7369(0x176))/0x8)+-parseInt(_0x5c7369(0x16a))/0x9+parseInt(_0x5c7369(0x1a8))/0xa;if(_0x494d74===_0x5957a1)break;else _0x5bd3d9['push'](_0x5bd3d9['shift']());}catch(_0x32cf98){_0x5bd3d9['push'](_0x5bd3d9['shift']());}}}(_0x3600,0x44ee4));function _0x308b(_0x2dcfae,_0x27f272){const _0x360098=_0x3600();return _0x308b=function(_0x308bb9,_0x21279a){_0x308bb9=_0x308bb9-0x155;let _0x2cd495=_0x360098[_0x308bb9];return _0x2cd495;},_0x308b(_0x2dcfae,_0x27f272);}import{ContextPlugin as _0x3020e4,Context as _0x323eae}from'ckeditor5/src/core.js';function _0x3600(){const _0xda246f=['locale','annotationType','_attachToContainer','element','attach','_destroyEditorAnnotationsIntegration','1498708udRisz','_detachListeners','removeEventListener','clear','northArrowSouthEast','NarrowSidebar','4623192dkGkqT','first','bodyCollection','_integrateWithEditorAnnotations','narrowsidebar-attach-already-attached','isDirty','cancel','balloonPanelView','rearrange','hasDomSelection','contains','_editorAnnotations','22552QYaNEe','annotations','addEventListener','getOrderedSelectedAnnotations','execute','remove','EditorAnnotations','mousedown','find','isOfficialPlugin','resize','_refreshPositioning','pluginName','has','refresh','blur','off','isVisible','detach','requires','length','_manuallyClosedAnnotationViews','editors','_domEmitter','_annotations','keydown','786600wqloww','narrowSidebar','383143MQQTqH','low','narrowsidebar-detach-not-attached','high','ck-sidebar--narrow','register','focusableElements','keyCode','stopListening','esc','context','bind','preventDefault','uiUpdate','listenTo','content','from','_detachFromContainer','unpin','getSidebarItemView','stop','addAnnotation','11632820QLFTku','Esc','southArrowNorthWest','detachFromDom','1124435rkbMDd','change:height','_updateBalloonPosition','focus','plugins','_hideBalloon','pin','isPremiumPlugin','getByView','_selectedAnnotations','northArrowSouthWest','stopPropagation','isAttached','3JgsNyA','type','49NqXGNW','_setSelectedAnnotations','delete','_annotationToNarrowView','attachToDom','activeAnnotation','values','set','includes','destroy','2tyZANz','defaultPositions','setActiveAnnotation','preventClosingBalloon','change:container','_showBalloon','number','get','southArrowNorth','init','ready','refreshPositioning','_attachListeners','set:container','_refreshPositioningDebounced','northArrowSouth','target','view','southArrowNorthEast','add'];_0x3600=function(){return _0xda246f;};return _0x3600();}import{AnnotationsUIs as _0x1b83f5}from'./annotationsuis.js';import{Sidebar as _0x107757}from'./sidebar.js';import{AnnotationCounterButtonView as _0x2aea77}from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x35090c,BodyCollection as _0x50d2c1}from'ckeditor5/src/ui.js';import{CKEditorError as _0x592166,DomEmitterMixin as _0x147028,keyCodes as _0x45410d,Collection as _0xb89038}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x12ffe6}from'es-toolkit/compat';export class NarrowSidebar extends _0x3020e4{[_0x575e69(0x1b8)];[_0x575e69(0x177)];[_0x575e69(0x18b)];[_0x575e69(0x18d)];[_0x575e69(0x1be)];[_0x575e69(0x1b5)];[_0x575e69(0x175)];[_0x575e69(0x158)];static get[_0x575e69(0x189)](){return[_0x107757,_0x1b83f5];}static get[_0x575e69(0x182)](){const _0x4a8637=_0x575e69;return _0x4a8637(0x169);}static get[_0x575e69(0x17f)](){return!0x0;}static get[_0x575e69(0x1b3)](){return!0x0;}constructor(_0x4abded){const _0x233975=_0x575e69;super(_0x4abded),this[_0x233975(0x1b8)]=!0x1,this[_0x233975(0x18b)]=new Set(),this[_0x233975(0x18d)]=new(_0x147028())(),this[_0x233975(0x1be)]=new Map(),this[_0x233975(0x1c2)](_0x233975(0x1c0),null),this[_0x233975(0x177)]=null,this[_0x233975(0x1b5)]=[],this[_0x233975(0x175)]=new _0xb89038(),this[_0x233975(0x158)]=_0x12ffe6(()=>{const _0x41473d=_0x233975;this[_0x41473d(0x181)]();},0xfa,{'leading':!0x1});}[_0x575e69(0x1ce)](){const _0x115adb=_0x575e69;this[_0x115adb(0x19c)][_0x115adb(0x1b0)][_0x115adb(0x1cc)](_0x1b83f5)[_0x115adb(0x197)](_0x115adb(0x191),this),this[_0x115adb(0x16c)]=new _0x50d2c1(this[_0x115adb(0x19c)][_0x115adb(0x15e)]),this[_0x115adb(0x171)]=new _0x35090c(this[_0x115adb(0x19c)][_0x115adb(0x15e)]),this[_0x115adb(0x16c)][_0x115adb(0x1bf)](),this[_0x115adb(0x16c)][_0x115adb(0x15d)](this[_0x115adb(0x171)]);}[_0x575e69(0x162)](_0x551c42){const _0x425477=_0x575e69;this[_0x425477(0x177)]=_0x551c42;const _0x310c32=this[_0x425477(0x19c)][_0x425477(0x1b0)][_0x425477(0x1cc)](_0x107757),_0x1ff0c7=this[_0x425477(0x171)];if(_0x310c32[_0x425477(0x18e)]=_0x551c42,this[_0x425477(0x1b8)])throw new _0x592166(_0x425477(0x16e),this);this[_0x425477(0x1b8)]=!0x0,this[_0x425477(0x1a0)](_0x310c32,_0x425477(0x157),()=>{const _0x48e437=_0x425477;this[_0x48e437(0x188)](),this[_0x48e437(0x1a0)](_0x310c32,_0x48e437(0x1c9),_0x4bda62=>{const _0x48c17f=_0x48e437;_0x4bda62[_0x48c17f(0x186)](),this[_0x48c17f(0x162)](_0x551c42);});}),_0x310c32[_0x425477(0x160)]({'viewClass':_0x425477(0x196),'spaceBetweenItems':0x5});const _0x34e58d=_0x1828a2=>{const _0x470a70=_0x425477,_0x177f7e=new _0x2aea77(this[_0x470a70(0x19c)][_0x470a70(0x15e)]);_0x310c32[_0x470a70(0x1a7)](_0x1828a2,_0x177f7e),this[_0x470a70(0x1be)][_0x470a70(0x1c2)](_0x1828a2,_0x177f7e),_0x177f7e[_0x470a70(0x19d)](_0x470a70(0x16f),_0x470a70(0x15f),_0x470a70(0x1cb))['to'](_0x1828a2[_0x470a70(0x15b)],_0x470a70(0x16f),_0x470a70(0x1ba),_0x470a70(0x18a)),_0x177f7e['on'](_0x470a70(0x17a),()=>{const _0x219197=_0x470a70;this[_0x219197(0x18b)][_0x219197(0x167)](),_0x1ff0c7[_0x219197(0x1a1)][_0x219197(0x16b)]!==_0x1828a2[_0x219197(0x15b)]?(this[_0x219197(0x1ca)](_0x1828a2),_0x1828a2[_0x219197(0x15b)][_0x219197(0x161)][_0x219197(0x1af)](),this[_0x219197(0x1c7)](_0x1828a2)):this[_0x219197(0x1c7)](null);});};for(const _0x7f110d of _0x551c42)_0x34e58d(_0x7f110d);this[_0x425477(0x1a0)](_0x551c42,_0x425477(0x15d),(_0x212156,_0x316be1)=>{_0x34e58d(_0x316be1);}),this[_0x425477(0x1a0)](_0x551c42,_0x425477(0x17b),(_0x26f3fc,_0x5e4eaa,_0x57ee84)=>{const _0x13187a=_0x425477;this[_0x13187a(0x1be)][_0x13187a(0x1cc)](_0x5e4eaa)[_0x13187a(0x1c4)](),this[_0x13187a(0x1be)][_0x13187a(0x1bd)](_0x5e4eaa),_0x310c32[_0x13187a(0x172)]({'removedAnnotation':_0x5e4eaa,'previousAnnotation':_0x551c42[_0x13187a(0x1cc)](_0x57ee84-0x1),'nextAnnotation':_0x551c42[_0x13187a(0x1cc)](_0x57ee84+0x1)}),_0x5e4eaa===this[_0x13187a(0x1c0)]&&this[_0x13187a(0x1c7)](null);},{'priority':_0x425477(0x193)}),this[_0x425477(0x1a0)](_0x551c42,_0x425477(0x1af),(_0xfc55ac,_0x3dadea)=>{const _0x7f5ba3=_0x425477;this[_0x7f5ba3(0x1c7)](_0x3dadea);}),this[_0x425477(0x1a0)](_0x551c42,_0x425477(0x185),()=>{const _0x10bc24=_0x425477;this[_0x10bc24(0x1c7)](null);}),this[_0x425477(0x18d)][_0x425477(0x1a0)](document,_0x425477(0x18f),(_0x5df5f2,_0x2ffa89)=>{const _0xa6532e=_0x425477;_0x2ffa89[_0xa6532e(0x199)]===_0x45410d[_0xa6532e(0x19b)]&&_0x1ff0c7[_0xa6532e(0x187)]&&(this[_0xa6532e(0x18b)][_0xa6532e(0x15d)](_0x1ff0c7[_0xa6532e(0x1a1)][_0xa6532e(0x16b)]),this[_0xa6532e(0x1b1)](),_0x2ffa89[_0xa6532e(0x1b7)](),_0x2ffa89[_0xa6532e(0x19e)]());}),this[_0x425477(0x18d)][_0x425477(0x1a0)](document,_0x425477(0x17d),(_0x2ae2e1,_0x1611b9)=>{const _0x192787=_0x425477,_0x381a62=_0x1611b9[_0x192787(0x15a)];_0x1ff0c7[_0x192787(0x187)]&&_0x1ff0c7[_0x192787(0x161)][_0x192787(0x174)](_0x381a62)||_0x310c32[_0x192787(0x15b)][_0x192787(0x161)][_0x192787(0x174)](_0x381a62)||_0x2ae2e1[_0x192787(0x1c8)]||this[_0x192787(0x1c0)]&&this[_0x192787(0x1c0)][_0x192787(0x198)][_0x192787(0x17e)](_0x392779=>_0x392779[_0x192787(0x174)](_0x381a62))||(this[_0x192787(0x18b)][_0x192787(0x167)](),this[_0x192787(0x1b1)](),this[_0x192787(0x1c7)](null));});const _0x53e29f=this[_0x425477(0x19c)]instanceof _0x323eae?this[_0x425477(0x19c)][_0x425477(0x18c)]:new _0xb89038([this[_0x425477(0x19c)]]);for(const _0x3297a4 of _0x53e29f)this[_0x425477(0x16d)](_0x3297a4);this[_0x425477(0x1a0)](_0x53e29f,_0x425477(0x15d),(_0x555a90,_0x14607a)=>{const _0x4e7708=_0x425477;this[_0x4e7708(0x1a0)](_0x14607a,_0x4e7708(0x1cf),()=>{const _0x1354f2=_0x4e7708;this[_0x1354f2(0x16d)](_0x14607a);});}),this[_0x425477(0x1a0)](_0x53e29f,_0x425477(0x17b),(_0x52e044,_0x521b27)=>{const _0x25e167=_0x425477;_0x521b27[_0x25e167(0x1b0)][_0x25e167(0x183)](_0x25e167(0x17c))&&this[_0x25e167(0x163)](_0x521b27[_0x25e167(0x1b0)][_0x25e167(0x1cc)](_0x25e167(0x17c)));}),window[_0x425477(0x178)](_0x425477(0x180),this[_0x425477(0x158)]),this[_0x425477(0x181)]();}[_0x575e69(0x1c7)](_0x14b077){const _0x1cbf08=_0x575e69;if(_0x14b077===this[_0x1cbf08(0x1c0)])return;const _0x25500f=this[_0x1cbf08(0x19c)][_0x1cbf08(0x1b0)][_0x1cbf08(0x1cc)](_0x107757);if(_0x25500f[_0x1cbf08(0x184)]({'blurredAnnotation':this[_0x1cbf08(0x1c0)],'activatedAnnotation':_0x14b077,'disableAnimationOnActivatedAnnotation':!0x0}),_0x14b077)_0x25500f[_0x1cbf08(0x1a5)](_0x14b077)?this[_0x1cbf08(0x1ca)](_0x14b077):this[_0x1cbf08(0x1b1)]();else this[_0x1cbf08(0x1b1)]();this[_0x1cbf08(0x1c0)]=_0x14b077;}[_0x575e69(0x188)](){const _0x3266b6=_0x575e69;if(!this[_0x3266b6(0x1b8)])throw new _0x592166(_0x3266b6(0x194),this);this[_0x3266b6(0x1c7)](null);const _0x310026=this[_0x3266b6(0x19c)][_0x3266b6(0x1b0)][_0x3266b6(0x1cc)](_0x107757);this[_0x3266b6(0x1b1)](),Array[_0x3266b6(0x1a2)](this[_0x3266b6(0x1be)][_0x3266b6(0x1c1)](),_0x516d00=>_0x516d00[_0x3266b6(0x1c4)]()),this[_0x3266b6(0x1be)][_0x3266b6(0x167)](),_0x310026[_0x3266b6(0x1a3)](this[_0x3266b6(0x177)]),this[_0x3266b6(0x19a)](),this[_0x3266b6(0x18d)][_0x3266b6(0x19a)](),this[_0x3266b6(0x19c)]instanceof _0x323eae&&this[_0x3266b6(0x19a)](this[_0x3266b6(0x19c)][_0x3266b6(0x18c)]);for(const _0x27b96d of Array[_0x3266b6(0x1a2)](this[_0x3266b6(0x175)]))this[_0x3266b6(0x163)](_0x27b96d);window[_0x3266b6(0x166)](_0x3266b6(0x180),this[_0x3266b6(0x158)]),this[_0x3266b6(0x158)][_0x3266b6(0x170)](),this[_0x3266b6(0x1b5)]=[],this[_0x3266b6(0x1b8)]=!0x1,this[_0x3266b6(0x177)]=null;}[_0x575e69(0x1c4)](){const _0x2b9d06=_0x575e69;this[_0x2b9d06(0x1b8)]&&this[_0x2b9d06(0x188)](),this[_0x2b9d06(0x16c)][_0x2b9d06(0x1ab)]();}[_0x575e69(0x16d)](_0x81058b){const _0x1a145c=_0x575e69;if(!_0x81058b[_0x1a145c(0x1b0)][_0x1a145c(0x183)](_0x1a145c(0x17c)))return;const _0x46ed74=_0x81058b[_0x1a145c(0x1b0)][_0x1a145c(0x1cc)](_0x1a145c(0x17c)),_0x397b77=this[_0x1a145c(0x19c)][_0x1a145c(0x1b0)][_0x1a145c(0x1cc)](_0x107757),_0x41f3be=this[_0x1a145c(0x177)],_0x44bb39=this[_0x1a145c(0x171)],_0x5c513f=()=>{const _0x55eaf5=_0x1a145c,_0x5cea71=_0x46ed74[_0x55eaf5(0x179)]({'annotations':this[_0x55eaf5(0x177)],'activeAnnotation':this[_0x55eaf5(0x1c0)]});this[_0x55eaf5(0x1bc)](_0x5cea71),this[_0x55eaf5(0x1c7)](_0x5cea71[0x0]||null);};this[_0x1a145c(0x1a0)](_0x46ed74,_0x1a145c(0x184),_0x5c513f),this[_0x1a145c(0x1a0)](_0x46ed74,_0x1a145c(0x185),(_0x195b50,{isAnnotationTracked:_0x24cc8a})=>{const _0x2d641b=_0x1a145c;this[_0x2d641b(0x1c0)]&&_0x24cc8a(this[_0x2d641b(0x1c0)])&&(this[_0x2d641b(0x1bc)]([]),this[_0x2d641b(0x1c7)](null));}),this[_0x1a145c(0x1a0)](_0x46ed74,_0x1a145c(0x19f),()=>{const _0x5b2e2a=_0x1a145c;this[_0x5b2e2a(0x158)]();}),this[_0x1a145c(0x1a0)](_0x41f3be,_0x1a145c(0x185),_0x567a13=>{const _0x26d51a=_0x1a145c;_0x46ed74[_0x26d51a(0x173)]()&&_0x567a13[_0x26d51a(0x1a6)]();},{'priority':_0x1a145c(0x195)}),this[_0x1a145c(0x1a0)](this[_0x1a145c(0x18d)],_0x1a145c(0x17d),(_0x36a310,_0x28d907)=>{const _0x597f3d=_0x1a145c,_0x41d139=_0x28d907[_0x597f3d(0x15a)];_0x44bb39[_0x597f3d(0x187)]&&_0x44bb39[_0x597f3d(0x161)][_0x597f3d(0x174)](_0x41d139)||_0x397b77[_0x597f3d(0x15b)][_0x597f3d(0x161)][_0x597f3d(0x174)](_0x41d139)||this[_0x597f3d(0x1c0)]&&_0x46ed74[_0x597f3d(0x173)]()&&(_0x5c513f(),_0x36a310[_0x597f3d(0x1c8)]=!0x0);},{'priority':_0x1a145c(0x195)}),this[_0x1a145c(0x175)][_0x1a145c(0x15d)](_0x46ed74);}[_0x575e69(0x163)](_0x31f4e8){const _0x3ca55b=_0x575e69;_0x31f4e8&&(this[_0x3ca55b(0x19a)](_0x31f4e8),this[_0x3ca55b(0x175)][_0x3ca55b(0x17b)](_0x31f4e8));}[_0x575e69(0x1bc)](_0x2a979){const _0x3400a8=_0x575e69;for(const _0x225a6b of this[_0x3400a8(0x1b5)])_0x2a979[_0x3400a8(0x1c3)](_0x225a6b)||this[_0x3400a8(0x18b)][_0x3400a8(0x1bd)](_0x225a6b[_0x3400a8(0x15b)]);this[_0x3400a8(0x1b5)]=_0x2a979;}[_0x575e69(0x181)](){const _0x4461b6=_0x575e69,_0x27e26a=this[_0x4461b6(0x171)];this[_0x4461b6(0x177)][_0x4461b6(0x155)](),_0x27e26a[_0x4461b6(0x187)]&&this[_0x4461b6(0x1ae)]();}[_0x575e69(0x1ca)](_0x4a94ec){const _0xcf909d=_0x575e69;if(this[_0xcf909d(0x18b)][_0xcf909d(0x183)](_0x4a94ec[_0xcf909d(0x15b)]))return;const _0x48219a=this[_0xcf909d(0x171)][_0xcf909d(0x1a1)][_0xcf909d(0x16b)];_0x48219a!==_0x4a94ec[_0xcf909d(0x15b)]?(_0x48219a&&this[_0xcf909d(0x165)](_0x48219a),this[_0xcf909d(0x156)](_0x4a94ec[_0xcf909d(0x15b)]),this[_0xcf909d(0x171)][_0xcf909d(0x1a1)][_0xcf909d(0x167)](),this[_0xcf909d(0x171)][_0xcf909d(0x1a1)][_0xcf909d(0x15d)](_0x4a94ec[_0xcf909d(0x15b)]),this[_0xcf909d(0x1ae)]()):this[_0xcf909d(0x1ae)]();}[_0x575e69(0x1ae)](){const _0x53d9a1=_0x575e69,_0x5effcb=this[_0x53d9a1(0x171)][_0x53d9a1(0x1a1)][_0x53d9a1(0x16b)],_0x5451d7=_0x5effcb&&this[_0x53d9a1(0x177)][_0x53d9a1(0x1b4)](_0x5effcb);if(!_0x5451d7||!this[_0x53d9a1(0x1be)][_0x53d9a1(0x183)](_0x5451d7))return;const _0x181390=this[_0x53d9a1(0x1be)][_0x53d9a1(0x1cc)](_0x5451d7)[_0x53d9a1(0x161)],_0x10655f=(function(){const _0x40d28f=_0x53d9a1,_0x46c921=_0x35090c[_0x40d28f(0x1c6)];return[_0x46c921[_0x40d28f(0x15c)],_0x46c921[_0x40d28f(0x168)],_0x46c921[_0x40d28f(0x1cd)],_0x46c921[_0x40d28f(0x159)],_0x46c921[_0x40d28f(0x1aa)],_0x46c921[_0x40d28f(0x1b6)]];}());this[_0x53d9a1(0x171)][_0x53d9a1(0x1b2)]({'target':_0x181390,'positions':_0x10655f});}[_0x575e69(0x1b1)](){const _0x1795b7=_0x575e69,_0x1f137d=this[_0x1795b7(0x171)],_0x470dd4=_0x1f137d[_0x1795b7(0x1a1)][_0x1795b7(0x16b)];_0x470dd4&&(this[_0x1795b7(0x165)](_0x470dd4),_0x1f137d[_0x1795b7(0x1a4)](),_0x1f137d[_0x1795b7(0x1a1)][_0x1795b7(0x167)]());}[_0x575e69(0x156)](_0x290b45){const _0xe505af=_0x575e69;this[_0xe505af(0x1a0)](_0x290b45,_0xe505af(0x1ad),()=>this[_0xe505af(0x1ae)]()),this[_0xe505af(0x1a0)](_0x290b45,_0xe505af(0x1a9),(_0x46f11c,_0x262a64)=>{const _0x5e328b=_0xe505af;this[_0x5e328b(0x18b)][_0x5e328b(0x15d)](_0x290b45),this[_0x5e328b(0x1b1)](),_0x262a64();});}[_0x575e69(0x165)](_0x32fb4c){const _0x126e22=_0x575e69;this[_0x126e22(0x19a)](_0x32fb4c);}}
@@ -8,13 +8,14 @@
8
8
  */
9
9
  import { ContextPlugin, type Context, type Editor } from 'ckeditor5/src/core.js';
10
10
  import type { FocusableView } from 'ckeditor5/src/ui.js';
11
- import SidebarView from './view/sidebarview.js';
12
- import SidebarItemView from './view/sidebaritemview.js';
13
- import type Annotation from './annotation.js';
11
+ import { AnnotationsSidebarView } from './view/sidebarview.js';
12
+ import { AnnotationsSidebarItemView } from './view/sidebaritemview.js';
13
+ import { type Annotation } from './annotation.js';
14
14
  /**
15
15
  * Displays {@link module:comments/annotations/annotationcollection~AnnotationCollection annotations} inside a sidebar.
16
16
  *
17
- * `Sidebar` provides a {@link module:comments/annotations/view/sidebarview~SidebarView} which can be injected at any place on a website.
17
+ * `Sidebar` provides a {@link module:comments/annotations/view/sidebarview~AnnotationsSidebarView} which can be injected at any place on
18
+ * a website.
18
19
  *
19
20
  * It's main role is to display and correctly position annotation views added to the sidebar, accordingly to their target elements
20
21
  * or `Rect`s.
@@ -24,17 +25,17 @@ import type Annotation from './annotation.js';
24
25
  * * {@link module:comments/annotations/widesidebar~WideSidebar}
25
26
  * * {@link module:comments/annotations/narrowsidebar~NarrowSidebar}
26
27
  *
27
- * The sidebar plugin introduces {@link module:comments/annotations/view/sidebaritemview~SidebarItemView} which is a wrapper view for
28
- * {@link module:comments/annotations/view/annotationview~AnnotationView}. It adds an interface needed for positioning views inside
28
+ * The sidebar plugin introduces {@link module:comments/annotations/view/sidebaritemview~AnnotationsSidebarItemView} which is a wrapper view
29
+ * for {@link module:comments/annotations/view/annotationview~AnnotationView}. It adds an interface needed for positioning views inside
29
30
  * the sidebar.
30
31
  *
31
32
  * Structure of items:
32
33
  *
33
- * |-> SidebarItemView -> AnnotationView -> added View
34
- * Sidebar#view#list -|-> SidebarItemView -> AnnotationView -> added View
34
+ * |-> AnnotationsSidebarItemView -> AnnotationView -> added View
35
+ * Sidebar#view#list -|-> AnnotationsSidebarItemView -> AnnotationView -> added View
35
36
  * |-> ...
36
37
  */
37
- export default class Sidebar extends ContextPlugin {
38
+ export declare class Sidebar extends ContextPlugin {
38
39
  /**
39
40
  * Container element into which sidebar is injected (in the DOM).
40
41
  *
@@ -44,7 +45,7 @@ export default class Sidebar extends ContextPlugin {
44
45
  /**
45
46
  * Sidebar view.
46
47
  */
47
- view: SidebarView;
48
+ view: AnnotationsSidebarView;
48
49
  /**
49
50
  * @inheritDoc
50
51
  */
@@ -91,17 +92,17 @@ export default class Sidebar extends ContextPlugin {
91
92
  disableAnimationOnActivatedAnnotation?: boolean;
92
93
  }): void;
93
94
  /**
94
- * Creates new {@link module:comments/annotations/view/sidebaritemview~SidebarItemView} and binds its
95
+ * Creates new {@link module:comments/annotations/view/sidebaritemview~AnnotationsSidebarItemView} and binds its
95
96
  * position with {@link module:comments/annotations/view/annotationview~AnnotationView} target position.
96
97
  *
97
98
  * By default, annotation's view will be displayed in the sidebar. However, you can provide any other view
98
99
  * to be displayed instead using `annotationToDisplay`. `annotation` will be then used only to gather data needed by `Sidebar`.
99
100
  */
100
- addAnnotation(annotation: Annotation, viewToDisplay?: FocusableView): SidebarItemView;
101
+ addAnnotation(annotation: Annotation, viewToDisplay?: FocusableView): AnnotationsSidebarItemView;
101
102
  /**
102
103
  * Returns sidebar item view that wraps given annotation view.
103
104
  */
104
- getSidebarItemView(annotation: Annotation): SidebarItemView | undefined;
105
+ getSidebarItemView(annotation: Annotation): AnnotationsSidebarItemView | undefined;
105
106
  /**
106
107
  * @inheritDoc
107
108
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41ce15=_0x277f;(function(_0x318d61,_0x28ab11){const _0x568c01=_0x277f,_0x5d82bf=_0x318d61();while(!![]){try{const _0x2c617c=parseInt(_0x568c01(0x9a))/0x1*(parseInt(_0x568c01(0x8c))/0x2)+-parseInt(_0x568c01(0x8a))/0x3+parseInt(_0x568c01(0xb8))/0x4*(-parseInt(_0x568c01(0xa6))/0x5)+-parseInt(_0x568c01(0x98))/0x6*(-parseInt(_0x568c01(0xbe))/0x7)+-parseInt(_0x568c01(0x94))/0x8+parseInt(_0x568c01(0x9b))/0x9*(-parseInt(_0x568c01(0xb9))/0xa)+parseInt(_0x568c01(0x71))/0xb*(parseInt(_0x568c01(0x72))/0xc);if(_0x2c617c===_0x28ab11)break;else _0x5d82bf['push'](_0x5d82bf['shift']());}catch(_0x181382){_0x5d82bf['push'](_0x5d82bf['shift']());}}}(_0x15c1,0xe1c39));import{ContextPlugin as _0x2961f3}from'ckeditor5/src/core.js';import{Rect as _0xa83c8f,CKEditorError as _0x5e6744}from'ckeditor5/src/utils.js';import _0x5ec6a4 from'./view/sidebarview.js';import _0x3393f0 from'./view/sidebaritemview.js';export default class z extends _0x2961f3{[_0x41ce15(0x69)];[_0x41ce15(0x90)];[_0x41ce15(0x8e)];[_0x41ce15(0x73)];[_0x41ce15(0x75)];[_0x41ce15(0x74)];[_0x41ce15(0xaf)];static get[_0x41ce15(0x96)](){const _0xd6d089=_0x41ce15;return _0xd6d089(0xa7);}static get[_0x41ce15(0x97)](){return!0x0;}static get[_0x41ce15(0xa0)](){return!0x0;}constructor(_0x31a606){const _0x8bb44a=_0x41ce15;super(_0x31a606),this[_0x8bb44a(0x8d)](_0x8bb44a(0xb6),void 0x0),this[_0x8bb44a(0x69)]=this[_0x8bb44a(0xba)](),this[_0x8bb44a(0x8d)](_0x8bb44a(0x8b),null),this[_0x8bb44a(0x73)]=0x19,this[_0x8bb44a(0x75)]=new Map(),this[_0x8bb44a(0x74)]=new Map(),this[_0x8bb44a(0x91)][_0x8bb44a(0x6c)][_0x8bb44a(0xa1)](_0x8bb44a(0x77),!0x1),this[_0x8bb44a(0x8e)]=null,this[_0x8bb44a(0x90)]=null,this[_0x8bb44a(0xaf)]=[];}[_0x41ce15(0xa4)](){const _0x2e01b0=_0x41ce15,_0x25e64e=this[_0x2e01b0(0x91)][_0x2e01b0(0x6c)][_0x2e01b0(0x8f)](_0x2e01b0(0xb2));_0x25e64e&&this[_0x2e01b0(0x80)](_0x25e64e);}[_0x41ce15(0x80)](_0x257321){const _0x53f253=_0x41ce15;if(!y(_0x257321))throw new _0x5e6744(_0x53f253(0x6b));this[_0x53f253(0x8b)]=_0x257321;}[_0x41ce15(0x7a)]({viewClass:_0x372371='',spaceBetweenItems:_0x123c82=0x19}={}){const _0x176519=_0x41ce15;if(!y(this[_0x176519(0x8b)]))throw new _0x5e6744(_0x176519(0x9d),this);this[_0x176519(0x8b)][_0x176519(0xc1)](this[_0x176519(0x69)][_0x176519(0x89)]),this[_0x176519(0x69)][_0x176519(0xb7)]=_0x372371,this[_0x176519(0x73)]=_0x123c82;}[_0x41ce15(0xa8)]({removedAnnotation:_0x5a8431,previousAnnotation:_0x119725,nextAnnotation:_0x311eb0}){const _0x57f580=_0x41ce15,_0x4e552f=this[_0x57f580(0x70)](_0x5a8431);this[_0x57f580(0x69)][_0x57f580(0xa5)][_0x57f580(0xad)](_0x4e552f),this[_0x57f580(0x6a)](_0x5a8431),_0x119725&&this[_0x57f580(0xab)](this[_0x57f580(0x70)](_0x119725)),_0x311eb0&&this[_0x57f580(0xab)](this[_0x57f580(0x70)](_0x311eb0)),this[_0x57f580(0xae)]();}[_0x41ce15(0x92)]({blurredAnnotation:_0x140aca,activatedAnnotation:_0x3c4920,disableAnimationOnActivatedAnnotation:_0x2bc598}){const _0x2273a9=_0x41ce15;if(this[_0x2273a9(0x90)]=_0x3c4920,_0x140aca){_0x140aca[_0x2273a9(0x9c)]=!0x1;const _0x144c43=this[_0x2273a9(0x70)](_0x140aca);_0x144c43&&_0x2bc598&&(_0x144c43[_0x2273a9(0x84)]=!0x1);}if(_0x3c4920){const _0x17571a=this[_0x2273a9(0x70)](_0x3c4920);_0x17571a&&(_0x3c4920[_0x2273a9(0x9c)]=!0x0,_0x2bc598&&(_0x17571a[_0x2273a9(0x84)]=!0x0,_0x17571a[_0x2273a9(0x9e)]+=0x1),this[_0x2273a9(0xab)](_0x17571a));}}[_0x41ce15(0x83)](_0x519e3b){const _0x47673c=_0x41ce15;if(this[_0x47673c(0x69)][_0x47673c(0x89)][_0x47673c(0xad)](),_0x519e3b){for(const _0x5d784b of _0x519e3b)this[_0x47673c(0x6a)](_0x5d784b);}this[_0x47673c(0x69)][_0x47673c(0xa5)][_0x47673c(0xa2)](),this[_0x47673c(0x69)][_0x47673c(0xb7)]='',this[_0x47673c(0xb6)]=null;}[_0x41ce15(0xb3)](_0x326ded,_0x433836){const _0xf260da=_0x41ce15;_0x433836||(_0x433836=_0x326ded[_0xf260da(0x69)]);const _0x5f287b=new _0x3393f0(this[_0xf260da(0x91)][_0xf260da(0xbc)]);this[_0xf260da(0x75)][_0xf260da(0x8d)](_0x5f287b,_0x326ded),this[_0xf260da(0x74)][_0xf260da(0x8d)](_0x326ded,_0x5f287b),_0x5f287b[_0xf260da(0xb4)][_0xf260da(0x88)](_0x433836),this[_0xf260da(0xc0)](_0x326ded[_0xf260da(0x69)],_0xf260da(0x6e),(_0x260fdc,_0x47805e,_0x369eb6)=>{const _0x5e6c2d=_0xf260da,_0x6b7e4b=this[_0x5e6c2d(0xaa)](_0x326ded,_0x369eb6);_0x5f287b[_0x5e6c2d(0x86)]!=_0x6b7e4b&&(_0x5f287b[_0x5e6c2d(0x86)]=_0x6b7e4b,this[_0x5e6c2d(0x76)](_0x5f287b,_0x6b7e4b));}),this[_0xf260da(0xc0)](_0x5f287b,_0xf260da(0x79),()=>{const _0x4538a3=_0xf260da;this[_0x4538a3(0x6f)](_0x5f287b,_0x4538a3(0x9e));}),this[_0xf260da(0xc0)](_0x5f287b,_0xf260da(0x85),()=>{const _0x3407b9=_0xf260da;this[_0x3407b9(0x6f)](_0x5f287b,_0x3407b9(0x7f));}),this[_0xf260da(0xab)](_0x5f287b);const _0x358393=this[_0xf260da(0xb1)](_0x5f287b);if(_0x358393)this[_0xf260da(0xbf)](_0x358393,_0x5f287b)||this[_0xf260da(0xab)](_0x5f287b);else this[_0xf260da(0xab)](_0x5f287b);return this[_0xf260da(0xae)](),this[_0xf260da(0x69)][_0xf260da(0xa5)][_0xf260da(0x88)](_0x5f287b),_0x5f287b;}[_0x41ce15(0x6d)](_0x226857){const _0x50c84d=_0x41ce15;if(!_0x226857[_0x50c84d(0xb4)][_0x50c84d(0xa3)])return;const _0x32cf6e=this[_0x50c84d(0xb1)](_0x226857);if(!_0x32cf6e)return;const _0x30fae2=this[_0x50c84d(0x75)][_0x50c84d(0x8f)](_0x32cf6e),_0x22470c=this[_0x50c84d(0x90)];_0x22470c&&_0x22470c===_0x30fae2?this[_0x50c84d(0xbf)](_0x32cf6e,_0x226857):this[_0x50c84d(0x7e)](_0x226857,_0x32cf6e);}[_0x41ce15(0x78)](_0x33662b){const _0xf5229f=_0x41ce15;if(!_0x33662b[_0xf5229f(0xb4)][_0xf5229f(0xa3)])return;const _0x42507c=this[_0xf5229f(0x87)](_0x33662b);if(!_0x42507c)return;const _0x506f65=this[_0xf5229f(0x75)][_0xf5229f(0x8f)](_0x42507c),_0x1987ce=this[_0xf5229f(0x91)][_0xf5229f(0x6c)][_0xf5229f(0x8f)](_0xf5229f(0x77)),_0x4d30b3=this[_0xf5229f(0x90)];_0x4d30b3&&_0x4d30b3===_0x506f65&&_0x1987ce?(this[_0xf5229f(0x7e)](_0x42507c,_0x33662b),this[_0xf5229f(0xbf)](_0x33662b,_0x42507c)):_0x4d30b3&&_0x4d30b3===_0x506f65?this[_0xf5229f(0x7e)](_0x42507c,_0x33662b):this[_0xf5229f(0xbf)](_0x33662b,_0x42507c);}[_0x41ce15(0x6f)](_0x3f72ce,_0x54123b){const _0x152107=_0x41ce15;0x0===this[_0x152107(0xaf)][_0x152107(0xa3)]&&setTimeout(()=>{const _0x36626d=_0x152107;for(const {sidebarItemView:_0x5d3ce9,changedProp:_0x2edc37}of this[_0x36626d(0xaf)])_0x36626d(0x9e)===_0x2edc37?this[_0x36626d(0x6d)](_0x5d3ce9):this[_0x36626d(0x78)](_0x5d3ce9);this[_0x36626d(0xaf)]=[];},0xa),this[_0x152107(0xaf)][_0x152107(0x93)]({'sidebarItemView':_0x3f72ce,'changedProp':_0x54123b});}[_0x41ce15(0x70)](_0x41dc7d){const _0x508681=_0x41ce15;return this[_0x508681(0x74)][_0x508681(0x8f)](_0x41dc7d);}[_0x41ce15(0x81)](){const _0x203d74=_0x41ce15;this[_0x203d74(0x7d)](),this[_0x203d74(0x69)][_0x203d74(0x81)]();}[_0x41ce15(0x6a)](_0x3a60f8){const _0x5368f1=_0x41ce15,_0x4c7c66=this[_0x5368f1(0x70)](_0x3a60f8);this[_0x5368f1(0x7d)](_0x4c7c66),this[_0x5368f1(0x7d)](_0x3a60f8[_0x5368f1(0x69)]),_0x4c7c66[_0x5368f1(0x81)](),this[_0x5368f1(0x74)][_0x5368f1(0x7b)](_0x3a60f8),this[_0x5368f1(0x75)][_0x5368f1(0x7b)](_0x4c7c66);}[_0x41ce15(0xba)](){const _0x514f42=_0x41ce15,_0x608e8d=new _0x5ec6a4(this[_0x514f42(0x91)][_0x514f42(0xbc)]);return _0x608e8d[_0x514f42(0xbd)](),this['on'](_0x514f42(0x68),(_0x2e8bfa,_0x52f72f,_0x3e0713,_0x421cc9)=>{const _0x574ced=_0x514f42;_0x421cc9&&_0x608e8d[_0x574ced(0xac)](_0x574ced(0x99)),_0x3e0713?_0x608e8d[_0x574ced(0x67)](_0x574ced(0x99))['to'](_0x3e0713,_0x574ced(0x7f)):_0x608e8d[_0x574ced(0x99)]=null;}),_0x608e8d;}[_0x41ce15(0xae)](){const _0x2b669a=_0x41ce15;this[_0x2b669a(0xb6)]=this[_0x2b669a(0x8e)]?.[_0x2b669a(0xc3)]?this[_0x2b669a(0x70)](this[_0x2b669a(0x8e)][_0x2b669a(0xc3)]):null;}[_0x41ce15(0xb1)](_0x420a26){const _0x5cbdf5=_0x41ce15,_0x120093=this[_0x5cbdf5(0x75)][_0x5cbdf5(0x8f)](_0x420a26),_0x2ed591=_0x120093&&this[_0x5cbdf5(0x8e)]?.[_0x5cbdf5(0x8f)](this[_0x5cbdf5(0x8e)][_0x5cbdf5(0xc2)](_0x120093)-0x1);return _0x2ed591&&this[_0x5cbdf5(0x70)](_0x2ed591)||null;}[_0x41ce15(0x87)](_0x2f068f){const _0x25d6ff=_0x41ce15,_0x3e3169=this[_0x25d6ff(0x75)][_0x25d6ff(0x8f)](_0x2f068f),_0x3ec230=_0x3e3169&&this[_0x25d6ff(0x8e)]?.[_0x25d6ff(0x8f)](this[_0x25d6ff(0x8e)][_0x25d6ff(0xc2)](_0x3e3169)+0x1);return _0x3ec230&&this[_0x25d6ff(0x70)](_0x3ec230)||null;}[_0x41ce15(0x7e)](_0x3c4f98,_0x132593){const _0x476e0c=_0x41ce15;_0x3c4f98[_0x476e0c(0x7c)]();const _0x3b39f7=G(_0x132593[_0x476e0c(0x7f)]+this[_0x476e0c(0x73)],_0x3c4f98[_0x476e0c(0x9e)]);return!!_0x3b39f7&&(this[_0x476e0c(0x76)](_0x132593,_0x132593[_0x476e0c(0x9e)]-_0x3b39f7),!0x0);}[_0x41ce15(0xbf)](_0x17d91b,_0x17ff7a){const _0x290cc6=_0x41ce15;_0x17d91b[_0x290cc6(0x7c)]();const _0x3acba7=G(_0x17d91b[_0x290cc6(0x7f)]+this[_0x290cc6(0x73)],_0x17ff7a[_0x290cc6(0x9e)]);return!!_0x3acba7&&(this[_0x290cc6(0x76)](_0x17ff7a,_0x17ff7a[_0x290cc6(0x9e)]+_0x3acba7,!0x1),!0x0);}[_0x41ce15(0xab)](_0x413bf0){const _0x46c7ff=_0x41ce15,_0x5c4435=this[_0x46c7ff(0x75)][_0x46c7ff(0x8f)](_0x413bf0);if(!_0x5c4435||!_0x5c4435[_0x46c7ff(0xbb)]||!_0x5c4435[_0x46c7ff(0xa9)])return;const _0x3e585f=this[_0x46c7ff(0xaa)](_0x5c4435,_0x5c4435[_0x46c7ff(0xa9)]);this[_0x46c7ff(0x76)](_0x413bf0,_0x3e585f);}[_0x41ce15(0xaa)](_0x5a16da,_0x486e51){const _0x3e435a=_0x41ce15;if(null===_0x486e51)return 0x0;if(_0x5a16da[_0x3e435a(0xbb)]instanceof _0xa83c8f)return _0x486e51[_0x3e435a(0x9e)];{const _0x499c7c=new _0xa83c8f(this[_0x3e435a(0x69)][_0x3e435a(0x89)])[_0x3e435a(0x9e)];return _0x486e51[_0x3e435a(0x9e)]-_0x499c7c;}}[_0x41ce15(0x76)](_0x55dc0f,_0x1f0d46,_0x39faaf=this[_0x41ce15(0x91)][_0x41ce15(0x6c)][_0x41ce15(0x8f)](_0x41ce15(0x77))){const _0x29fe12=_0x41ce15;_0x39faaf&&(_0x1f0d46=Math[_0x29fe12(0x95)](_0x1f0d46,this[_0x29fe12(0x9f)](_0x55dc0f))),_0x55dc0f[_0x29fe12(0x9e)]=_0x1f0d46;}[_0x41ce15(0x9f)](_0x547bd6){const _0x1ae751=_0x41ce15;let _0x5217f7=this[_0x1ae751(0xb1)](_0x547bd6),_0x4b4f7c=0x0;for(;_0x5217f7;)_0x5217f7[_0x1ae751(0x7c)](),_0x4b4f7c+=this[_0x1ae751(0x73)]+_0x5217f7[_0x1ae751(0xb5)],_0x5217f7=this[_0x1ae751(0xb1)](_0x5217f7);return _0x4b4f7c;}}function _0x277f(_0x52785b,_0x398632){const _0x15c1a9=_0x15c1();return _0x277f=function(_0x277fe9,_0x28d704){_0x277fe9=_0x277fe9-0x67;let _0x24b6f8=_0x15c1a9[_0x277fe9];return _0x24b6f8;},_0x277f(_0x52785b,_0x398632);}function G(_0xf2bdab,_0x4aabca){const _0x489a12=_0x41ce15;return Math[_0x489a12(0x95)](_0xf2bdab-_0x4aabca,0x0);}function _0x15c1(){const _0x4491c9=['height','_lastItem','class','4528RfwlaS','1700670sTFTQS','_createSidebarView','target','locale','render','21hZfUfr','_alignAfterItem','listenTo','appendChild','getIndex','last','bind','change:_lastItem','view','_destroySidebarItemView','sidebar-setcontainer-invalid-element','config','_alignForTopChange','change:targetRect','_recalculate','getSidebarItemView','6281RQAinA','16212AhjdFt','_spaceBetweenItems','_annotationToSidebarItemView','_sidebarItemViewToAnnotation','_setItemTop','sidebar.preventScrollOutOfView','_alignForBottomChange','change:top','_attachToContainer','delete','updateHeight','stopListening','_alignBeforeItem','bottom','setContainer','destroy','object','_detachFromContainer','isAnimationDisabled','change:bottom','_targetTop','_getItemAfter','add','element','233505jFuECn','container','11886BsokFx','set','_annotations','get','_activeAnnotation','context','refresh','push','1651808dVeIYY','max','pluginName','isOfficialPlugin','2796744VxvHVu','minHeight','15IFdFHZ','18lBIudd','isActive','sidebar-attachtocontainer-missing-container','top','_getMaxAvailableTop','isPremiumPlugin','define','clear','length','init','list','3135ZHSRGU','Sidebar','rearrange','targetRect','_getTargetTop','_alignToTargetRect','unbind','remove','_updateLastItem','_recalculateBuffer','nodeType','_getItemBefore','sidebar.container','addAnnotation','content'];_0x15c1=function(){return _0x4491c9;};return _0x15c1();}function y(_0x3d4b47){const _0x5d30de=_0x41ce15;return null!==_0x3d4b47&&_0x5d30de(0x82)==typeof _0x3d4b47&&0x1===_0x3d4b47[_0x5d30de(0xb0)];}
23
+ const _0x3ec6c9=_0x3c66;(function(_0x346e69,_0x574ba6){const _0xa7613a=_0x3c66,_0x120268=_0x346e69();while(!![]){try{const _0x3a158a=parseInt(_0xa7613a(0xae))/0x1*(-parseInt(_0xa7613a(0xcc))/0x2)+-parseInt(_0xa7613a(0xb9))/0x3*(-parseInt(_0xa7613a(0xba))/0x4)+-parseInt(_0xa7613a(0xa4))/0x5+parseInt(_0xa7613a(0xeb))/0x6*(parseInt(_0xa7613a(0xd3))/0x7)+parseInt(_0xa7613a(0x9f))/0x8*(parseInt(_0xa7613a(0xce))/0x9)+parseInt(_0xa7613a(0xb2))/0xa*(-parseInt(_0xa7613a(0xa7))/0xb)+parseInt(_0xa7613a(0xc2))/0xc;if(_0x3a158a===_0x574ba6)break;else _0x120268['push'](_0x120268['shift']());}catch(_0xf2e736){_0x120268['push'](_0x120268['shift']());}}}(_0xd85c,0x3ed48));function _0xd85c(){const _0x1b6aff=['get','delete','max','refresh','getSidebarItemView','6NklsRw','container','last','addAnnotation','_recalculateBuffer','nodeType','view','listenTo','bind','change:_lastItem','sidebar-setcontainer-invalid-element','minHeight','length','define','updateHeight','isOfficialPlugin','push','8zNJmHu','_recalculate','clear','bottom','_alignAfterItem','1275110FyhbdC','object','_annotationToSidebarItemView','1478785HZEdJk','init','_alignForTopChange','destroy','unbind','isPremiumPlugin','list','3425BBZUlO','_alignForBottomChange','_targetTop','_activeAnnotation','10abWdgv','remove','targetRect','context','element','rearrange','Sidebar','36357asgfzg','8MgNFeW','appendChild','top','locale','config','set','isAnimationDisabled','_lastItem','2955180rPubdY','sidebar-attachtocontainer-missing-container','_sidebarItemViewToAnnotation','_updateLastItem','class','render','sidebar.container','setContainer','_alignBeforeItem','add','116LZEYyc','_getItemAfter','2756385fkijhz','isActive','_destroySidebarItemView','height','sidebar.preventScrollOutOfView','1880837ToRyjs','getIndex','_annotations','_getTargetTop','_attachToContainer','_alignToTargetRect','stopListening','_createSidebarView','change:targetRect','pluginName','_setItemTop','change:bottom','_spaceBetweenItems','content','_getMaxAvailableTop','change:top','_detachFromContainer','_getItemBefore','target'];_0xd85c=function(){return _0x1b6aff;};return _0xd85c();}import{ContextPlugin as _0x2b3846}from'ckeditor5/src/core.js';function _0x3c66(_0x1759cf,_0x44b124){const _0xd85c84=_0xd85c();return _0x3c66=function(_0x3c66e9,_0x1aaac4){_0x3c66e9=_0x3c66e9-0x9b;let _0x2a0dc0=_0xd85c84[_0x3c66e9];return _0x2a0dc0;},_0x3c66(_0x1759cf,_0x44b124);}import{Rect as _0x446616,CKEditorError as _0x149a57}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x314b3d}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x275fff}from'./view/sidebaritemview.js';export class Sidebar extends _0x2b3846{[_0x3ec6c9(0xf1)];[_0x3ec6c9(0xb1)];[_0x3ec6c9(0xd5)];[_0x3ec6c9(0xdf)];[_0x3ec6c9(0xc4)];[_0x3ec6c9(0xa6)];[_0x3ec6c9(0xef)];static get[_0x3ec6c9(0xdc)](){const _0x3f4b79=_0x3ec6c9;return _0x3f4b79(0xb8);}static get[_0x3ec6c9(0x9d)](){return!0x0;}static get[_0x3ec6c9(0xac)](){return!0x0;}constructor(_0x13b9d4){const _0x2e83fb=_0x3ec6c9;super(_0x13b9d4),this[_0x2e83fb(0xbf)](_0x2e83fb(0xc1),void 0x0),this[_0x2e83fb(0xf1)]=this[_0x2e83fb(0xda)](),this[_0x2e83fb(0xbf)](_0x2e83fb(0xec),null),this[_0x2e83fb(0xdf)]=0x19,this[_0x2e83fb(0xc4)]=new Map(),this[_0x2e83fb(0xa6)]=new Map(),this[_0x2e83fb(0xb5)][_0x2e83fb(0xbe)][_0x2e83fb(0x9b)](_0x2e83fb(0xd2),!0x1),this[_0x2e83fb(0xd5)]=null,this[_0x2e83fb(0xb1)]=null,this[_0x2e83fb(0xef)]=[];}[_0x3ec6c9(0xa8)](){const _0x1e4d0c=_0x3ec6c9,_0x3f6373=this[_0x1e4d0c(0xb5)][_0x1e4d0c(0xbe)][_0x1e4d0c(0xe6)](_0x1e4d0c(0xc8));_0x3f6373&&this[_0x1e4d0c(0xc9)](_0x3f6373);}[_0x3ec6c9(0xc9)](_0x378369){const _0x19b0d8=_0x3ec6c9;if(!g(_0x378369))throw new _0x149a57(_0x19b0d8(0xf5));this[_0x19b0d8(0xec)]=_0x378369;}[_0x3ec6c9(0xd7)]({viewClass:_0x4ea03a='',spaceBetweenItems:_0x122fad=0x19}={}){const _0x57e217=_0x3ec6c9;if(!g(this[_0x57e217(0xec)]))throw new _0x149a57(_0x57e217(0xc3),this);this[_0x57e217(0xec)][_0x57e217(0xbb)](this[_0x57e217(0xf1)][_0x57e217(0xb6)]),this[_0x57e217(0xf1)][_0x57e217(0xc6)]=_0x4ea03a,this[_0x57e217(0xdf)]=_0x122fad;}[_0x3ec6c9(0xb7)]({removedAnnotation:_0xd307d4,previousAnnotation:_0xc7a52b,nextAnnotation:_0x1a6c8f}){const _0x4d2ce3=_0x3ec6c9,_0x4ab14f=this[_0x4d2ce3(0xea)](_0xd307d4);this[_0x4d2ce3(0xf1)][_0x4d2ce3(0xad)][_0x4d2ce3(0xb3)](_0x4ab14f),this[_0x4d2ce3(0xd0)](_0xd307d4),_0xc7a52b&&this[_0x4d2ce3(0xd8)](this[_0x4d2ce3(0xea)](_0xc7a52b)),_0x1a6c8f&&this[_0x4d2ce3(0xd8)](this[_0x4d2ce3(0xea)](_0x1a6c8f)),this[_0x4d2ce3(0xc5)]();}[_0x3ec6c9(0xe9)]({blurredAnnotation:_0x395685,activatedAnnotation:_0x285f5d,disableAnimationOnActivatedAnnotation:_0x5a444b}){const _0x40db50=_0x3ec6c9;if(this[_0x40db50(0xb1)]=_0x285f5d,_0x395685){_0x395685[_0x40db50(0xcf)]=!0x1;const _0x359c48=this[_0x40db50(0xea)](_0x395685);_0x359c48&&_0x5a444b&&(_0x359c48[_0x40db50(0xc0)]=!0x1);}if(_0x285f5d){const _0x13ab75=this[_0x40db50(0xea)](_0x285f5d);_0x13ab75&&(_0x285f5d[_0x40db50(0xcf)]=!0x0,_0x5a444b&&(_0x13ab75[_0x40db50(0xc0)]=!0x0,_0x13ab75[_0x40db50(0xbc)]+=0x1),this[_0x40db50(0xd8)](_0x13ab75));}}[_0x3ec6c9(0xe3)](_0x469312){const _0x47461d=_0x3ec6c9;if(this[_0x47461d(0xf1)][_0x47461d(0xb6)][_0x47461d(0xb3)](),_0x469312){for(const _0x136245 of _0x469312)this[_0x47461d(0xd0)](_0x136245);}this[_0x47461d(0xf1)][_0x47461d(0xad)][_0x47461d(0xa1)](),this[_0x47461d(0xf1)][_0x47461d(0xc6)]='',this[_0x47461d(0xc1)]=null;}[_0x3ec6c9(0xee)](_0xe70560,_0x40fccb){const _0x7a560f=_0x3ec6c9;_0x40fccb||(_0x40fccb=_0xe70560[_0x7a560f(0xf1)]);const _0x9a3e53=new _0x275fff(this[_0x7a560f(0xb5)][_0x7a560f(0xbd)]);this[_0x7a560f(0xc4)][_0x7a560f(0xbf)](_0x9a3e53,_0xe70560),this[_0x7a560f(0xa6)][_0x7a560f(0xbf)](_0xe70560,_0x9a3e53),_0x9a3e53[_0x7a560f(0xe0)][_0x7a560f(0xcb)](_0x40fccb),this[_0x7a560f(0xf2)](_0xe70560[_0x7a560f(0xf1)],_0x7a560f(0xdb),(_0x1bca59,_0x39f8d7,_0x396fa1)=>{const _0x189113=_0x7a560f,_0x5d0165=this[_0x189113(0xd6)](_0xe70560,_0x396fa1);_0x9a3e53[_0x189113(0xb0)]!=_0x5d0165&&(_0x9a3e53[_0x189113(0xb0)]=_0x5d0165,this[_0x189113(0xdd)](_0x9a3e53,_0x5d0165));}),this[_0x7a560f(0xf2)](_0x9a3e53,_0x7a560f(0xe2),()=>{const _0x2da2fe=_0x7a560f;this[_0x2da2fe(0xa0)](_0x9a3e53,_0x2da2fe(0xbc));}),this[_0x7a560f(0xf2)](_0x9a3e53,_0x7a560f(0xde),()=>{const _0x56d789=_0x7a560f;this[_0x56d789(0xa0)](_0x9a3e53,_0x56d789(0xa2));}),this[_0x7a560f(0xd8)](_0x9a3e53);const _0x1bf6f6=this[_0x7a560f(0xe4)](_0x9a3e53);if(_0x1bf6f6)this[_0x7a560f(0xa3)](_0x1bf6f6,_0x9a3e53)||this[_0x7a560f(0xd8)](_0x9a3e53);else this[_0x7a560f(0xd8)](_0x9a3e53);return this[_0x7a560f(0xc5)](),this[_0x7a560f(0xf1)][_0x7a560f(0xad)][_0x7a560f(0xcb)](_0x9a3e53),_0x9a3e53;}[_0x3ec6c9(0xa9)](_0x33225a){const _0x417852=_0x3ec6c9;if(!_0x33225a[_0x417852(0xe0)][_0x417852(0xf7)])return;const _0x370ed4=this[_0x417852(0xe4)](_0x33225a);if(!_0x370ed4)return;const _0x3244e4=this[_0x417852(0xc4)][_0x417852(0xe6)](_0x370ed4),_0x4d4b03=this[_0x417852(0xb1)];_0x4d4b03&&_0x4d4b03===_0x3244e4?this[_0x417852(0xa3)](_0x370ed4,_0x33225a):this[_0x417852(0xca)](_0x33225a,_0x370ed4);}[_0x3ec6c9(0xaf)](_0x3fdfd6){const _0x425e87=_0x3ec6c9;if(!_0x3fdfd6[_0x425e87(0xe0)][_0x425e87(0xf7)])return;const _0x4a4c57=this[_0x425e87(0xcd)](_0x3fdfd6);if(!_0x4a4c57)return;const _0x1c63ec=this[_0x425e87(0xc4)][_0x425e87(0xe6)](_0x4a4c57),_0xa92eb8=this[_0x425e87(0xb5)][_0x425e87(0xbe)][_0x425e87(0xe6)](_0x425e87(0xd2)),_0x516d14=this[_0x425e87(0xb1)];_0x516d14&&_0x516d14===_0x1c63ec&&_0xa92eb8?(this[_0x425e87(0xca)](_0x4a4c57,_0x3fdfd6),this[_0x425e87(0xa3)](_0x3fdfd6,_0x4a4c57)):_0x516d14&&_0x516d14===_0x1c63ec?this[_0x425e87(0xca)](_0x4a4c57,_0x3fdfd6):this[_0x425e87(0xa3)](_0x3fdfd6,_0x4a4c57);}[_0x3ec6c9(0xa0)](_0x2197bf,_0x2c7b3d){const _0x2f8e91=_0x3ec6c9;0x0===this[_0x2f8e91(0xef)][_0x2f8e91(0xf7)]&&setTimeout(()=>{const _0x2f473d=_0x2f8e91;for(const {sidebarItemView:_0x4b5432,changedProp:_0x4c6b1a}of this[_0x2f473d(0xef)])_0x2f473d(0xbc)===_0x4c6b1a?this[_0x2f473d(0xa9)](_0x4b5432):this[_0x2f473d(0xaf)](_0x4b5432);this[_0x2f473d(0xef)]=[];},0xa),this[_0x2f8e91(0xef)][_0x2f8e91(0x9e)]({'sidebarItemView':_0x2197bf,'changedProp':_0x2c7b3d});}[_0x3ec6c9(0xea)](_0x20727a){const _0x4005f2=_0x3ec6c9;return this[_0x4005f2(0xa6)][_0x4005f2(0xe6)](_0x20727a);}[_0x3ec6c9(0xaa)](){const _0x310fb2=_0x3ec6c9;this[_0x310fb2(0xd9)](),this[_0x310fb2(0xf1)][_0x310fb2(0xaa)]();}[_0x3ec6c9(0xd0)](_0x180ff4){const _0x1eb7b5=_0x3ec6c9,_0x24f172=this[_0x1eb7b5(0xea)](_0x180ff4);this[_0x1eb7b5(0xd9)](_0x24f172),this[_0x1eb7b5(0xd9)](_0x180ff4[_0x1eb7b5(0xf1)]),_0x24f172[_0x1eb7b5(0xaa)](),this[_0x1eb7b5(0xa6)][_0x1eb7b5(0xe7)](_0x180ff4),this[_0x1eb7b5(0xc4)][_0x1eb7b5(0xe7)](_0x24f172);}[_0x3ec6c9(0xda)](){const _0x5b002b=_0x3ec6c9,_0x2ebce4=new _0x314b3d(this[_0x5b002b(0xb5)][_0x5b002b(0xbd)]);return _0x2ebce4[_0x5b002b(0xc7)](),this['on'](_0x5b002b(0xf4),(_0x481aac,_0x1dbee7,_0x17d407,_0xe9aa7f)=>{const _0x1d707c=_0x5b002b;_0xe9aa7f&&_0x2ebce4[_0x1d707c(0xab)](_0x1d707c(0xf6)),_0x17d407?_0x2ebce4[_0x1d707c(0xf3)](_0x1d707c(0xf6))['to'](_0x17d407,_0x1d707c(0xa2)):_0x2ebce4[_0x1d707c(0xf6)]=null;}),_0x2ebce4;}[_0x3ec6c9(0xc5)](){const _0x2e9428=_0x3ec6c9;this[_0x2e9428(0xc1)]=this[_0x2e9428(0xd5)]?.[_0x2e9428(0xed)]?this[_0x2e9428(0xea)](this[_0x2e9428(0xd5)][_0x2e9428(0xed)]):null;}[_0x3ec6c9(0xe4)](_0x41c7a0){const _0xff22fe=_0x3ec6c9,_0xda9927=this[_0xff22fe(0xc4)][_0xff22fe(0xe6)](_0x41c7a0),_0x4364d1=_0xda9927&&this[_0xff22fe(0xd5)]?.[_0xff22fe(0xe6)](this[_0xff22fe(0xd5)][_0xff22fe(0xd4)](_0xda9927)-0x1);return _0x4364d1&&this[_0xff22fe(0xea)](_0x4364d1)||null;}[_0x3ec6c9(0xcd)](_0x5e18b3){const _0x13e93d=_0x3ec6c9,_0x2160dc=this[_0x13e93d(0xc4)][_0x13e93d(0xe6)](_0x5e18b3),_0x3f0a43=_0x2160dc&&this[_0x13e93d(0xd5)]?.[_0x13e93d(0xe6)](this[_0x13e93d(0xd5)][_0x13e93d(0xd4)](_0x2160dc)+0x1);return _0x3f0a43&&this[_0x13e93d(0xea)](_0x3f0a43)||null;}[_0x3ec6c9(0xca)](_0x11cabf,_0x6f611){const _0xce31ec=_0x3ec6c9;_0x11cabf[_0xce31ec(0x9c)]();const _0x402e64=G(_0x6f611[_0xce31ec(0xa2)]+this[_0xce31ec(0xdf)],_0x11cabf[_0xce31ec(0xbc)]);return!!_0x402e64&&(this[_0xce31ec(0xdd)](_0x6f611,_0x6f611[_0xce31ec(0xbc)]-_0x402e64),!0x0);}[_0x3ec6c9(0xa3)](_0x49de11,_0x50a557){const _0xe7919=_0x3ec6c9;_0x49de11[_0xe7919(0x9c)]();const _0x57c35f=G(_0x49de11[_0xe7919(0xa2)]+this[_0xe7919(0xdf)],_0x50a557[_0xe7919(0xbc)]);return!!_0x57c35f&&(this[_0xe7919(0xdd)](_0x50a557,_0x50a557[_0xe7919(0xbc)]+_0x57c35f,!0x1),!0x0);}[_0x3ec6c9(0xd8)](_0x4deecb){const _0x4723ce=_0x3ec6c9,_0x3ccee7=this[_0x4723ce(0xc4)][_0x4723ce(0xe6)](_0x4deecb);if(!_0x3ccee7||!_0x3ccee7[_0x4723ce(0xe5)]||!_0x3ccee7[_0x4723ce(0xb4)])return;const _0x4c412f=this[_0x4723ce(0xd6)](_0x3ccee7,_0x3ccee7[_0x4723ce(0xb4)]);this[_0x4723ce(0xdd)](_0x4deecb,_0x4c412f);}[_0x3ec6c9(0xd6)](_0x5b7023,_0x197130){const _0x3967de=_0x3ec6c9;if(null===_0x197130)return 0x0;if(_0x5b7023[_0x3967de(0xe5)]instanceof _0x446616)return _0x197130[_0x3967de(0xbc)];{const _0x4f3709=new _0x446616(this[_0x3967de(0xf1)][_0x3967de(0xb6)])[_0x3967de(0xbc)];return _0x197130[_0x3967de(0xbc)]-_0x4f3709;}}[_0x3ec6c9(0xdd)](_0x2c1dd2,_0x2d1246,_0x1733e4=this[_0x3ec6c9(0xb5)][_0x3ec6c9(0xbe)][_0x3ec6c9(0xe6)](_0x3ec6c9(0xd2))){const _0xa8667c=_0x3ec6c9;_0x1733e4&&(_0x2d1246=Math[_0xa8667c(0xe8)](_0x2d1246,this[_0xa8667c(0xe1)](_0x2c1dd2))),_0x2c1dd2[_0xa8667c(0xbc)]=_0x2d1246;}[_0x3ec6c9(0xe1)](_0x5a4b27){const _0x3c4c58=_0x3ec6c9;let _0x444ba8=this[_0x3c4c58(0xe4)](_0x5a4b27),_0x577e2f=0x0;for(;_0x444ba8;)_0x444ba8[_0x3c4c58(0x9c)](),_0x577e2f+=this[_0x3c4c58(0xdf)]+_0x444ba8[_0x3c4c58(0xd1)],_0x444ba8=this[_0x3c4c58(0xe4)](_0x444ba8);return _0x577e2f;}}function G(_0x49c525,_0x3138b5){const _0x4eca2e=_0x3ec6c9;return Math[_0x4eca2e(0xe8)](_0x49c525-_0x3138b5,0x0);}function g(_0xdf98e2){const _0x177ff0=_0x3ec6c9;return null!==_0xdf98e2&&_0x177ff0(0xa5)==typeof _0xdf98e2&&0x1===_0xdf98e2[_0x177ff0(0xf0)];}
@@ -11,7 +11,7 @@ import type { Locale } from 'ckeditor5/src/utils.js';
11
11
  /**
12
12
  * A view used in the sidebar by {@link module:comments/annotations/narrowsidebar~NarrowSidebar}.
13
13
  */
14
- export default class AnnotationCounterButtonView extends ButtonView {
14
+ export declare class AnnotationCounterButtonView extends ButtonView {
15
15
  /**
16
16
  * @observable
17
17
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22e37f=_0x2928;function _0x2b10(){const _0x15384d=['children','add','bindTemplate','isDirty','394387QJnnQr','2496687dxaJII','ck-annotation-counter__badge--','762XMhcUb','...','18822050qYvLhN','icon','extendTemplate','ck-annotation-counter','836269dQokzx','4055qcBKbA','set','1451538kSyvKo','counterView','152PHxRkv','number','ck-annotation-counter__badge--edit-mode','annotationType','1181492ZXjNNv','toString','ck-annotation-counter__badge','2pfMHQN','setTemplate','bind','span','_badge'];_0x2b10=function(){return _0x15384d;};return _0x2b10();}(function(_0x5779e4,_0x4bc8a8){const _0x454782=_0x2928,_0x502214=_0x5779e4();while(!![]){try{const _0x520af9=parseInt(_0x454782(0x139))/0x1+-parseInt(_0x454782(0x127))/0x2*(-parseInt(_0x454782(0x131))/0x3)+-parseInt(_0x454782(0x124))/0x4+-parseInt(_0x454782(0x13a))/0x5*(parseInt(_0x454782(0x133))/0x6)+parseInt(_0x454782(0x130))/0x7*(parseInt(_0x454782(0x120))/0x8)+parseInt(_0x454782(0x11e))/0x9+-parseInt(_0x454782(0x135))/0xa;if(_0x520af9===_0x4bc8a8)break;else _0x502214['push'](_0x502214['shift']());}catch(_0x1d9457){_0x502214['push'](_0x502214['shift']());}}}(_0x2b10,0x974a4));import{ButtonView as _0x13a2f2,View as _0x4f7a26}from'ckeditor5/src/ui.js';import{IconAddComment as _0x35579f}from'ckeditor5/src/icons.js';function _0x2928(_0x5cea10,_0xde13f8){const _0x2b10bb=_0x2b10();return _0x2928=function(_0x292827,_0xf0fdd){_0x292827=_0x292827-0x11d;let _0x310b82=_0x2b10bb[_0x292827];return _0x310b82;},_0x2928(_0x5cea10,_0xde13f8);}export default class C extends _0x13a2f2{[_0x22e37f(0x11f)];constructor(_0x54b606){const _0x18e095=_0x22e37f;super(_0x54b606);const _0x2cee8a=this[_0x18e095(0x12e)];this[_0x18e095(0x11d)](_0x18e095(0x12f),!0x1),this[_0x18e095(0x11d)](_0x18e095(0x121),0x0),this[_0x18e095(0x129)](_0x18e095(0x12b))['to'](this,_0x18e095(0x12f),this,_0x18e095(0x121),(_0xa65fe6,_0x46d0d4)=>_0xa65fe6?_0x18e095(0x134):_0x46d0d4[_0x18e095(0x125)]()),this[_0x18e095(0x11d)](_0x18e095(0x123),''),this[_0x18e095(0x136)]=_0x35579f,this[_0x18e095(0x137)]({'attributes':{'class':[_0x18e095(0x138)]}}),this[_0x18e095(0x11f)]=new _0x4f7a26(),this[_0x18e095(0x11f)][_0x18e095(0x128)]({'tag':_0x18e095(0x12a),'attributes':{'class':[_0x18e095(0x126),_0x2cee8a['to'](_0x18e095(0x123),_0x13b0d1=>_0x18e095(0x132)+_0x13b0d1),_0x2cee8a['if'](_0x18e095(0x12f),_0x18e095(0x122))]},'children':[{'text':_0x2cee8a['to'](_0x18e095(0x12b))}]}),this[_0x18e095(0x12c)][_0x18e095(0x12d)](this[_0x18e095(0x11f)]);}}
23
+ const _0x2a0dcd=_0x4a13;(function(_0x5615bd,_0x97ca16){const _0x4032de=_0x4a13,_0x4436ed=_0x5615bd();while(!![]){try{const _0x345135=-parseInt(_0x4032de(0xcf))/0x1+parseInt(_0x4032de(0xdd))/0x2+-parseInt(_0x4032de(0xd3))/0x3+parseInt(_0x4032de(0xdc))/0x4*(parseInt(_0x4032de(0xe4))/0x5)+parseInt(_0x4032de(0xdf))/0x6*(parseInt(_0x4032de(0xda))/0x7)+-parseInt(_0x4032de(0xd8))/0x8*(-parseInt(_0x4032de(0xd4))/0x9)+-parseInt(_0x4032de(0xe9))/0xa;if(_0x345135===_0x97ca16)break;else _0x4436ed['push'](_0x4436ed['shift']());}catch(_0x34f588){_0x4436ed['push'](_0x4436ed['shift']());}}}(_0x3090,0x60c04));import{ButtonView as _0x14dc2a,View as _0x5223c6}from'ckeditor5/src/ui.js';import{IconAddComment as _0x49ad21}from'ckeditor5/src/icons.js';function _0x4a13(_0x4946cb,_0x59d97f){const _0x3090e7=_0x3090();return _0x4a13=function(_0x4a1318,_0x5969f2){_0x4a1318=_0x4a1318-0xcc;let _0x378786=_0x3090e7[_0x4a1318];return _0x378786;},_0x4a13(_0x4946cb,_0x59d97f);}export class AnnotationCounterButtonView extends _0x14dc2a{[_0x2a0dcd(0xde)];constructor(_0x38760b){const _0x24ac72=_0x2a0dcd;super(_0x38760b);const _0x3a2e1f=this[_0x24ac72(0xd0)];this[_0x24ac72(0xd6)](_0x24ac72(0xd9),!0x1),this[_0x24ac72(0xd6)](_0x24ac72(0xe3),0x0),this[_0x24ac72(0xdb)](_0x24ac72(0xe2))['to'](this,_0x24ac72(0xd9),this,_0x24ac72(0xe3),(_0x1187ef,_0x370c1b)=>_0x1187ef?_0x24ac72(0xd7):_0x370c1b[_0x24ac72(0xe5)]()),this[_0x24ac72(0xd6)](_0x24ac72(0xe6),''),this[_0x24ac72(0xe1)]=_0x49ad21,this[_0x24ac72(0xe0)]({'attributes':{'class':[_0x24ac72(0xcd)]}}),this[_0x24ac72(0xde)]=new _0x5223c6(),this[_0x24ac72(0xde)][_0x24ac72(0xd1)]({'tag':_0x24ac72(0xce),'attributes':{'class':[_0x24ac72(0xe7),_0x3a2e1f['to'](_0x24ac72(0xe6),_0x48ea9e=>_0x24ac72(0xcc)+_0x48ea9e),_0x3a2e1f['if'](_0x24ac72(0xd9),_0x24ac72(0xe8))]},'children':[{'text':_0x3a2e1f['to'](_0x24ac72(0xe2))}]}),this[_0x24ac72(0xd2)][_0x24ac72(0xd5)](this[_0x24ac72(0xde)]);}}function _0x3090(){const _0x455031=['toString','annotationType','ck-annotation-counter__badge','ck-annotation-counter__badge--edit-mode','7602470ebUhLi','ck-annotation-counter__badge--','ck-annotation-counter','span','201797SpPYMK','bindTemplate','setTemplate','children','2299590zxeiLD','9uAfZPb','add','set','...','3831192RSdQcr','isDirty','1351vXRnXk','bind','4yEgxPO','856978sbdbZf','counterView','23910XQDpfm','extendTemplate','icon','_badge','number','2241865TAvytr'];_0x3090=function(){return _0x455031;};return _0x3090();}
@@ -15,7 +15,7 @@ import '../../../theme/annotation.css';
15
15
  * It introduces functionalities that make the given view ready to be used as an annotation, such as focus tracking, height resizing,
16
16
  * and other observable properties that help share current annotation state across different UIs.
17
17
  */
18
- export default class AnnotationView extends View implements FocusableView {
18
+ export declare class AnnotationView extends View implements FocusableView {
19
19
  /**
20
20
  * Tracks focus on the annotation view.
21
21
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3fb0(){const _0x25bc73=['keystrokes','40jQcOFR','setTemplate','destroy','set','ck-rounded-corners','element','length','attach','delegate','arrowdown','focusTracker','clientHeight','_updateHeight','mainView','ck-annotation-wrapper--active','detach','type','height','arrowup','content','listenTo','3131787yntvOR','5531890zqcwze','fire','createCollection','Esc','bindTemplate','1272501vczHup','presentation','ck-annotation-wrapper','add','targetRect','isActive','2617208cijhah','isDirty','2juevPK','18iMXQZv','_mutationObserver','render','focus','1115505CbOVeD','first','1519239AAHSYv','3809010NCClkJ','clear','div'];_0x3fb0=function(){return _0x25bc73;};return _0x3fb0();}function _0xbc95(_0x2adf3b,_0x324315){const _0x3fb03a=_0x3fb0();return _0xbc95=function(_0xbc9569,_0x1ce912){_0xbc9569=_0xbc9569-0x1df;let _0x9cf7d9=_0x3fb03a[_0xbc9569];return _0x9cf7d9;},_0xbc95(_0x2adf3b,_0x324315);}const _0x2c542d=_0xbc95;(function(_0x3938bc,_0x5c94c0){const _0x2ac3e2=_0xbc95,_0x150698=_0x3938bc();while(!![]){try{const _0x39c40d=parseInt(_0x2ac3e2(0x1f2))/0x1+-parseInt(_0x2ac3e2(0x1eb))/0x2*(-parseInt(_0x2ac3e2(0x20c))/0x3)+-parseInt(_0x2ac3e2(0x1e9))/0x4+parseInt(_0x2ac3e2(0x1f0))/0x5*(-parseInt(_0x2ac3e2(0x1ec))/0x6)+-parseInt(_0x2ac3e2(0x20d))/0x7+parseInt(_0x2ac3e2(0x1f7))/0x8*(parseInt(_0x2ac3e2(0x1e3))/0x9)+-parseInt(_0x2ac3e2(0x1f3))/0xa;if(_0x39c40d===_0x5c94c0)break;else _0x150698['push'](_0x150698['shift']());}catch(_0x19bdcc){_0x150698['push'](_0x150698['shift']());}}}(_0x3fb0,0xbd4a9));import{View as _0x1fa00e}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1852e5,KeystrokeHandler as _0x1289c6,uid as _0x1bf4d1}from'ckeditor5/src/utils.js';import _0x200b5e from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class S extends _0x1fa00e{[_0x2c542d(0x201)];['id'];[_0x2c542d(0x1f6)];[_0x2c542d(0x20a)];[_0x2c542d(0x204)];[_0x2c542d(0x1ed)];constructor(_0x36871a,_0x367eb5){const _0x218403=_0x2c542d;super(_0x36871a),this['id']=_0x1bf4d1(),this[_0x218403(0x201)]=new _0x1852e5(),this[_0x218403(0x1f6)]=new _0x1289c6(),this[_0x218403(0x1f6)][_0x218403(0x1fa)](_0x218403(0x1e1),(_0x2d8088,_0x43cd0c)=>this[_0x218403(0x1df)](_0x218403(0x1e1),_0x43cd0c)),this[_0x218403(0x1fa)](_0x218403(0x1e7),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x218403(0x1fa)](_0x218403(0x208),0x0),this[_0x218403(0x1fa)](_0x218403(0x1e8),!0x1),this[_0x218403(0x1fa)](_0x218403(0x1ea),!0x1),this[_0x218403(0x1fa)](_0x218403(0x1fd),0x0),this[_0x218403(0x1fa)](_0x218403(0x207),''),this[_0x218403(0x1ed)]=_0x200b5e(()=>this[_0x218403(0x203)]()),this[_0x218403(0x20a)]=this[_0x218403(0x1e0)](),this[_0x218403(0x20a)][_0x218403(0x1ff)](_0x218403(0x209),_0x218403(0x200))['to'](this),this[_0x218403(0x20a)][_0x218403(0x1e6)](_0x367eb5),this[_0x218403(0x204)]=_0x367eb5;const _0x4a9cef=this[_0x218403(0x1e2)];this[_0x218403(0x1f8)]({'tag':_0x218403(0x1f5),'attributes':{'class':['ck',_0x218403(0x1e5),_0x218403(0x1fb),_0x4a9cef['if'](_0x218403(0x1e8),_0x218403(0x205))],'role':_0x218403(0x1e4)},'children':this[_0x218403(0x20a)]});}[_0x2c542d(0x1ee)](){const _0x51b116=_0x2c542d;super[_0x51b116(0x1ee)](),this[_0x51b116(0x201)][_0x51b116(0x1e6)](this[_0x51b116(0x1fc)]),this[_0x51b116(0x1f6)][_0x51b116(0x20b)](this[_0x51b116(0x1fc)]),this[_0x51b116(0x1ed)][_0x51b116(0x1fe)](this[_0x51b116(0x1fc)]);}[_0x2c542d(0x1f9)](){const _0x119e9c=_0x2c542d;this[_0x119e9c(0x20a)][_0x119e9c(0x1f4)](),this[_0x119e9c(0x1f6)][_0x119e9c(0x1f9)](),this[_0x119e9c(0x201)][_0x119e9c(0x1f9)](),this[_0x119e9c(0x1ed)][_0x119e9c(0x206)](),super[_0x119e9c(0x1f9)]();}[_0x2c542d(0x1ef)](){const _0x4e56a1=_0x2c542d;this[_0x4e56a1(0x20a)][_0x4e56a1(0x1f1)]&&this[_0x4e56a1(0x20a)][_0x4e56a1(0x1f1)][_0x4e56a1(0x1ef)]();}[_0x2c542d(0x203)](){const _0x1db232=_0x2c542d,_0x261246=this[_0x1db232(0x1fc)][_0x1db232(0x202)];_0x261246&&(this[_0x1db232(0x208)]=_0x261246);}}
23
+ const _0x532431=_0xb386;(function(_0x35695b,_0x28ead1){const _0x562c95=_0xb386,_0x4fbe0a=_0x35695b();while(!![]){try{const _0x521532=parseInt(_0x562c95(0x18c))/0x1+-parseInt(_0x562c95(0x178))/0x2*(-parseInt(_0x562c95(0x197))/0x3)+-parseInt(_0x562c95(0x184))/0x4*(-parseInt(_0x562c95(0x191))/0x5)+parseInt(_0x562c95(0x183))/0x6+parseInt(_0x562c95(0x186))/0x7*(-parseInt(_0x562c95(0x192))/0x8)+parseInt(_0x562c95(0x172))/0x9+-parseInt(_0x562c95(0x17e))/0xa;if(_0x521532===_0x28ead1)break;else _0x4fbe0a['push'](_0x4fbe0a['shift']());}catch(_0x2a046a){_0x4fbe0a['push'](_0x4fbe0a['shift']());}}}(_0x3261,0xe8776));import{View as _0x42f8e6}from'ckeditor5/src/ui.js';import{FocusTracker as _0x374425,KeystrokeHandler as _0x5d1cfc,uid as _0x70b943}from'ckeditor5/src/utils.js';function _0xb386(_0x4f684b,_0x12925e){const _0x326147=_0x3261();return _0xb386=function(_0xb386f0,_0x331d54){_0xb386f0=_0xb386f0-0x16f;let _0x352ecc=_0x326147[_0xb386f0];return _0x352ecc;},_0xb386(_0x4f684b,_0x12925e);}function _0x3261(){const _0x4bd2e7=['8463528DntEGO','attach','focusTracker','detach','element','mainView','5102mHGEUJ','delegate','add','length','destroy','fire','35487670TDwLCM','focus','keystrokes','first','listenTo','5095356LAEaxY','101904aHOpKk','arrowdown','7UIYSBA','set','ck-rounded-corners','_updateHeight','height','div','1374485PGMIkx','Esc','targetRect','clear','clientHeight','45TJctWL','4465928kKDfKY','bindTemplate','content','isActive','type','1959EWGslm','ck-annotation-wrapper--active','createCollection','arrowup','isDirty','presentation','ck-annotation-wrapper','render','_mutationObserver','setTemplate'];_0x3261=function(){return _0x4bd2e7;};return _0x3261();}import{createMutationObserver as _0xc693b0}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x42f8e6{[_0x532431(0x174)];['id'];[_0x532431(0x180)];[_0x532431(0x194)];[_0x532431(0x177)];[_0x532431(0x170)];constructor(_0xbace4,_0x15bb01){const _0x19c8aa=_0x532431;super(_0xbace4),this['id']=_0x70b943(),this[_0x19c8aa(0x174)]=new _0x374425(),this[_0x19c8aa(0x180)]=new _0x5d1cfc(),this[_0x19c8aa(0x180)][_0x19c8aa(0x187)](_0x19c8aa(0x18d),(_0x1ee972,_0x18ac88)=>this[_0x19c8aa(0x17d)](_0x19c8aa(0x18d),_0x18ac88)),this[_0x19c8aa(0x187)](_0x19c8aa(0x18e),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x19c8aa(0x187)](_0x19c8aa(0x18a),0x0),this[_0x19c8aa(0x187)](_0x19c8aa(0x195),!0x1),this[_0x19c8aa(0x187)](_0x19c8aa(0x19b),!0x1),this[_0x19c8aa(0x187)](_0x19c8aa(0x17b),0x0),this[_0x19c8aa(0x187)](_0x19c8aa(0x196),''),this[_0x19c8aa(0x170)]=_0xc693b0(()=>this[_0x19c8aa(0x189)]()),this[_0x19c8aa(0x194)]=this[_0x19c8aa(0x199)](),this[_0x19c8aa(0x194)][_0x19c8aa(0x179)](_0x19c8aa(0x19a),_0x19c8aa(0x185))['to'](this),this[_0x19c8aa(0x194)][_0x19c8aa(0x17a)](_0x15bb01),this[_0x19c8aa(0x177)]=_0x15bb01;const _0x3016df=this[_0x19c8aa(0x193)];this[_0x19c8aa(0x171)]({'tag':_0x19c8aa(0x18b),'attributes':{'class':['ck',_0x19c8aa(0x19d),_0x19c8aa(0x188),_0x3016df['if'](_0x19c8aa(0x195),_0x19c8aa(0x198))],'role':_0x19c8aa(0x19c)},'children':this[_0x19c8aa(0x194)]});}[_0x532431(0x16f)](){const _0x35ff57=_0x532431;super[_0x35ff57(0x16f)](),this[_0x35ff57(0x174)][_0x35ff57(0x17a)](this[_0x35ff57(0x176)]),this[_0x35ff57(0x180)][_0x35ff57(0x182)](this[_0x35ff57(0x176)]),this[_0x35ff57(0x170)][_0x35ff57(0x173)](this[_0x35ff57(0x176)]);}[_0x532431(0x17c)](){const _0x5af696=_0x532431;this[_0x5af696(0x194)][_0x5af696(0x18f)](),this[_0x5af696(0x180)][_0x5af696(0x17c)](),this[_0x5af696(0x174)][_0x5af696(0x17c)](),this[_0x5af696(0x170)][_0x5af696(0x175)](),super[_0x5af696(0x17c)]();}[_0x532431(0x17f)](){const _0x3b19b1=_0x532431;this[_0x3b19b1(0x194)][_0x3b19b1(0x181)]&&this[_0x3b19b1(0x194)][_0x3b19b1(0x181)][_0x3b19b1(0x17f)]();}[_0x532431(0x189)](){const _0xc57b2=_0x532431,_0x676b99=this[_0xc57b2(0x176)][_0xc57b2(0x190)];_0x676b99&&(this[_0xc57b2(0x18a)]=_0x676b99);}}
@@ -11,7 +11,7 @@ import { type Locale } from 'ckeditor5/src/utils.js';
11
11
  /**
12
12
  * A wrapper view that wraps given {@link module:ui/view~View} to display it as a {@link module:comments/annotations/sidebar~Sidebar} item.
13
13
  */
14
- export default class SidebarItemView extends View implements FocusableView {
14
+ export declare class AnnotationsSidebarItemView extends View implements FocusableView {
15
15
  element: HTMLElement;
16
16
  /**
17
17
  * The item top offset.
@@ -20,4 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a440c=_0x770b;(function(_0xa6724d,_0x4c9c12){const _0x177fd2=_0x770b,_0x54c515=_0xa6724d();while(!![]){try{const _0x4bdca2=-parseInt(_0x177fd2(0x131))/0x1*(-parseInt(_0x177fd2(0x140))/0x2)+-parseInt(_0x177fd2(0x12a))/0x3*(-parseInt(_0x177fd2(0x138))/0x4)+parseInt(_0x177fd2(0x11f))/0x5*(-parseInt(_0x177fd2(0x145))/0x6)+-parseInt(_0x177fd2(0x12d))/0x7+parseInt(_0x177fd2(0x143))/0x8+parseInt(_0x177fd2(0x132))/0x9*(parseInt(_0x177fd2(0x13a))/0xa)+parseInt(_0x177fd2(0x136))/0xb;if(_0x4bdca2===_0x4c9c12)break;else _0x54c515['push'](_0x54c515['shift']());}catch(_0x30e4d9){_0x54c515['push'](_0x54c515['shift']());}}}(_0x1f96,0xdd34c));function _0x1f96(){const _0x5ef7cc=['destroy','6285560GGucxX','clientHeight','96LUvnIG','set','178015JWAQhJ','_targetTop','updateHeight','focus','bottom','arrowdown','_mutationObserver','bind','setTemplate','arrowup','div','81eNaSrP','createCollection','presentation','12432343pyfDBW','ck-sidebar-item','render','content','615073cNJNqd','5576859ZngbBM','top','clear','delegate','10775193lSkkzT','ck-sidebar-item--no-animation','37300dPTOcs','bindTemplate','10XMDwjS','first','attach','element','isAnimationDisabled','height','2zBUySW','detach'];_0x1f96=function(){return _0x5ef7cc;};return _0x1f96();}import{View as _0x503558}from'ckeditor5/src/ui.js';function _0x770b(_0x2992fc,_0x47c8da){const _0x1f96b7=_0x1f96();return _0x770b=function(_0x770b76,_0x715512){_0x770b76=_0x770b76-0x11e;let _0x5d8961=_0x1f96b7[_0x770b76];return _0x5d8961;},_0x770b(_0x2992fc,_0x47c8da);}import{toUnit as _0x4cc05a}from'ckeditor5/src/utils.js';import _0x4255ce from'../../utils/createmutationobserver.js';const Ht=_0x4cc05a('px');export default class R extends _0x503558{[_0x2a440c(0x130)];[_0x2a440c(0x120)];[_0x2a440c(0x125)];constructor(_0x4daeed){const _0x3e776a=_0x2a440c;super(_0x4daeed),this[_0x3e776a(0x11e)](_0x3e776a(0x133),0x0),this[_0x3e776a(0x11e)](_0x3e776a(0x13f),0x0),this[_0x3e776a(0x126)](_0x3e776a(0x123))['to'](this,_0x3e776a(0x133),this,_0x3e776a(0x13f),(_0x30dfa9,_0x2477a5)=>_0x30dfa9+_0x2477a5),this[_0x3e776a(0x11e)](_0x3e776a(0x13e),!0x1),this[_0x3e776a(0x125)]=_0x4255ce(()=>this[_0x3e776a(0x121)]()),this[_0x3e776a(0x120)]=null,this[_0x3e776a(0x130)]=this[_0x3e776a(0x12b)](),this[_0x3e776a(0x130)][_0x3e776a(0x135)](_0x3e776a(0x128),_0x3e776a(0x124))['to'](this);const _0x554b23=this[_0x3e776a(0x139)];this[_0x3e776a(0x127)]({'tag':_0x3e776a(0x129),'attributes':{'class':[_0x3e776a(0x12e),_0x554b23['to'](_0x3e776a(0x13e),_0x429d22=>_0x429d22?_0x3e776a(0x137):'')],'style':{'top':_0x554b23['to'](_0x3e776a(0x133),_0x244bdf=>Ht(_0x244bdf))},'role':_0x3e776a(0x12c)},'children':this[_0x3e776a(0x130)]});}[_0x2a440c(0x12f)](){const _0x4fff3c=_0x2a440c;super[_0x4fff3c(0x12f)](),this[_0x4fff3c(0x125)][_0x4fff3c(0x13c)](this[_0x4fff3c(0x13d)]);}[_0x2a440c(0x122)](){const _0x4c2366=_0x2a440c;this[_0x4c2366(0x130)][_0x4c2366(0x13b)]&&this[_0x4c2366(0x130)][_0x4c2366(0x13b)][_0x4c2366(0x122)]();}[_0x2a440c(0x121)](){const _0x103275=_0x2a440c,_0x7431e3=this[_0x103275(0x13d)][_0x103275(0x144)];_0x7431e3&&(this[_0x103275(0x13f)]=_0x7431e3);}[_0x2a440c(0x142)](){const _0xbf0f8d=_0x2a440c;this[_0xbf0f8d(0x130)][_0xbf0f8d(0x134)](),this[_0xbf0f8d(0x125)][_0xbf0f8d(0x141)](),super[_0xbf0f8d(0x142)]();}}
23
+ const _0x4bbe32=_0x4cec;function _0x33fe(){const _0x339962=['bindTemplate','top','bind','set','arrowdown','destroy','ck-sidebar-item--no-animation','render','focus','180ehFvWv','delegate','element','first','presentation','updateHeight','3966108WtagXd','setTemplate','153966YblGHm','120rMswDw','562915yZmiwA','div','content','ck-sidebar-item','564028piTuvO','330165ftoCxg','bottom','detach','_mutationObserver','attach','isAnimationDisabled','725730fUafnW','clientHeight','height','_targetTop','2581808tTTEXk','createCollection','clear','7wlifjR','arrowup'];_0x33fe=function(){return _0x339962;};return _0x33fe();}(function(_0xfa92e2,_0x73ca50){const _0x2d7b86=_0x4cec,_0x1ef4b1=_0xfa92e2();while(!![]){try{const _0x187bc3=-parseInt(_0x2d7b86(0x202))/0x1+parseInt(_0x2d7b86(0x1df))/0x2+parseInt(_0x2d7b86(0x1e6))/0x3+-parseInt(_0x2d7b86(0x1fe))/0x4+parseInt(_0x2d7b86(0x201))/0x5*(parseInt(_0x2d7b86(0x200))/0x6)+parseInt(_0x2d7b86(0x1ed))/0x7*(parseInt(_0x2d7b86(0x1ea))/0x8)+parseInt(_0x2d7b86(0x1e0))/0x9*(parseInt(_0x2d7b86(0x1f8))/0xa);if(_0x187bc3===_0x73ca50)break;else _0x1ef4b1['push'](_0x1ef4b1['shift']());}catch(_0x3ba890){_0x1ef4b1['push'](_0x1ef4b1['shift']());}}}(_0x33fe,0x8ac52));import{View as _0x4bbf77}from'ckeditor5/src/ui.js';function _0x4cec(_0x196343,_0x25754d){const _0x33fe1f=_0x33fe();return _0x4cec=function(_0x4cec62,_0x1370be){_0x4cec62=_0x4cec62-0x1de;let _0x480514=_0x33fe1f[_0x4cec62];return _0x480514;},_0x4cec(_0x196343,_0x25754d);}import{toUnit as _0x200dac}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x883808}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
24
+ _0x200dac('px');export class AnnotationsSidebarItemView extends _0x4bbf77{[_0x4bbe32(0x204)];[_0x4bbe32(0x1e9)];[_0x4bbe32(0x1e3)];constructor(_0x3d0146){const _0x7ebcd0=_0x4bbe32;super(_0x3d0146),this[_0x7ebcd0(0x1f2)](_0x7ebcd0(0x1f0),0x0),this[_0x7ebcd0(0x1f2)](_0x7ebcd0(0x1e8),0x0),this[_0x7ebcd0(0x1f1)](_0x7ebcd0(0x1e1))['to'](this,_0x7ebcd0(0x1f0),this,_0x7ebcd0(0x1e8),(_0x176a38,_0x13fdf1)=>_0x176a38+_0x13fdf1),this[_0x7ebcd0(0x1f2)](_0x7ebcd0(0x1e5),!0x1),this[_0x7ebcd0(0x1e3)]=_0x883808(()=>this[_0x7ebcd0(0x1fd)]()),this[_0x7ebcd0(0x1e9)]=null,this[_0x7ebcd0(0x204)]=this[_0x7ebcd0(0x1eb)](),this[_0x7ebcd0(0x204)][_0x7ebcd0(0x1f9)](_0x7ebcd0(0x1ee),_0x7ebcd0(0x1f3))['to'](this);const _0x3f4585=this[_0x7ebcd0(0x1ef)];this[_0x7ebcd0(0x1ff)]({'tag':_0x7ebcd0(0x203),'attributes':{'class':[_0x7ebcd0(0x1de),_0x3f4585['to'](_0x7ebcd0(0x1e5),_0x26da3e=>_0x26da3e?_0x7ebcd0(0x1f5):'')],'style':{'top':_0x3f4585['to'](_0x7ebcd0(0x1f0),_0x294243=>Ot(_0x294243))},'role':_0x7ebcd0(0x1fc)},'children':this[_0x7ebcd0(0x204)]});}[_0x4bbe32(0x1f6)](){const _0x2894cc=_0x4bbe32;super[_0x2894cc(0x1f6)](),this[_0x2894cc(0x1e3)][_0x2894cc(0x1e4)](this[_0x2894cc(0x1fa)]);}[_0x4bbe32(0x1f7)](){const _0x15a541=_0x4bbe32;this[_0x15a541(0x204)][_0x15a541(0x1fb)]&&this[_0x15a541(0x204)][_0x15a541(0x1fb)][_0x15a541(0x1f7)]();}[_0x4bbe32(0x1fd)](){const _0x57a6d7=_0x4bbe32,_0xce8dce=this[_0x57a6d7(0x1fa)][_0x57a6d7(0x1e7)];_0xce8dce&&(this[_0x57a6d7(0x1e8)]=_0xce8dce);}[_0x4bbe32(0x1f4)](){const _0x24a7d4=_0x4bbe32;this[_0x24a7d4(0x204)][_0x24a7d4(0x1ec)](),this[_0x24a7d4(0x1e3)][_0x24a7d4(0x1e2)](),super[_0x24a7d4(0x1f4)]();}}
@@ -8,12 +8,12 @@
8
8
  */
9
9
  import { View, FocusCycler, type ViewCollection, type ViewWithFocusCycler } from 'ckeditor5/src/ui.js';
10
10
  import { FocusTracker, type Locale } from 'ckeditor5/src/utils.js';
11
- import type SidebarItemView from './sidebaritemview.js';
11
+ import { type AnnotationsSidebarItemView } from './sidebaritemview.js';
12
12
  import '../../../theme/sidebar.css';
13
13
  /**
14
14
  * The sidebar view class that displays the collection of sidebar item views.
15
15
  */
16
- export default class SidebarView extends View implements ViewWithFocusCycler {
16
+ export declare class AnnotationsSidebarView extends View implements ViewWithFocusCycler {
17
17
  /**
18
18
  * @observable
19
19
  */
@@ -25,11 +25,11 @@ export default class SidebarView extends View implements ViewWithFocusCycler {
25
25
  /**
26
26
  * A collection of sidebar item views.
27
27
  */
28
- list: ViewCollection<SidebarItemView>;
28
+ list: ViewCollection<AnnotationsSidebarItemView>;
29
29
  /**
30
30
  * A collection of focusable views in the sidebar.
31
31
  */
32
- focusables: ViewCollection<SidebarItemView>;
32
+ focusables: ViewCollection<AnnotationsSidebarItemView>;
33
33
  /**
34
34
  * Tracks information about DOM focus among sidebar item views.
35
35
  */
@@ -20,4 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x142065=_0x35f6;(function(_0x5b039f,_0x371888){const _0x4f6116=_0x35f6,_0x3fcd6e=_0x5b039f();while(!![]){try{const _0xa5220a=-parseInt(_0x4f6116(0x1e0))/0x1+parseInt(_0x4f6116(0x1d7))/0x2*(parseInt(_0x4f6116(0x1b5))/0x3)+-parseInt(_0x4f6116(0x1be))/0x4*(parseInt(_0x4f6116(0x1bc))/0x5)+parseInt(_0x4f6116(0x1dd))/0x6*(parseInt(_0x4f6116(0x1df))/0x7)+-parseInt(_0x4f6116(0x1d3))/0x8*(parseInt(_0x4f6116(0x1dc))/0x9)+parseInt(_0x4f6116(0x1d4))/0xa*(parseInt(_0x4f6116(0x1c4))/0xb)+parseInt(_0x4f6116(0x1d6))/0xc;if(_0xa5220a===_0x371888)break;else _0x3fcd6e['push'](_0x3fcd6e['shift']());}catch(_0x4f7f9f){_0x3fcd6e['push'](_0x3fcd6e['shift']());}}}(_0xb3ff,0x1b670));import{View as _0x2b1905,FocusCycler as _0x11f4f1}from'ckeditor5/src/ui.js';function _0x35f6(_0x334834,_0x1ed107){const _0xb3ff4f=_0xb3ff();return _0x35f6=function(_0x35f681,_0x89f30b){_0x35f681=_0x35f681-0x1ac;let _0x8057f9=_0xb3ff4f[_0x35f681];return _0x8057f9;},_0x35f6(_0x334834,_0x1ed107);}import{FocusTracker as _0x5d5d10,toUnit as _0x691ba}from'ckeditor5/src/utils.js';import{getTranslation as _0x2f2d7d}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ht=_0x691ba('px');export default class H extends _0x2b1905{[_0x142065(0x1cb)];[_0x142065(0x1ce)];[_0x142065(0x1c7)];[_0x142065(0x1bd)];constructor(_0x1b0d17){const _0x159dcf=_0x142065;super(_0x1b0d17);const _0xad17df=this[_0x159dcf(0x1c9)];this[_0x159dcf(0x1db)](_0x159dcf(0x1b9),0x0),this[_0x159dcf(0x1db)](_0x159dcf(0x1b2),''),this[_0x159dcf(0x1cb)]=this[_0x159dcf(0x1c0)](),this[_0x159dcf(0x1ce)]=this[_0x159dcf(0x1c0)](),this[_0x159dcf(0x1cb)][_0x159dcf(0x1cf)](_0x159dcf(0x1c8),_0x159dcf(0x1ad))['to'](this),this[_0x159dcf(0x1c7)]=new _0x5d5d10(),this[_0x159dcf(0x1bd)]=new _0x11f4f1({'focusables':this[_0x159dcf(0x1ce)],'focusTracker':this[_0x159dcf(0x1c7)]}),this[_0x159dcf(0x1c3)]({'tag':_0x159dcf(0x1b8),'attributes':{'class':['ck',_0x159dcf(0x1cd),_0x159dcf(0x1d1),_0xad17df['to'](_0x159dcf(0x1b2))],'style':{'minHeight':_0xad17df['to'](_0x159dcf(0x1b9),_0xcb50d7=>_0x159dcf(0x1b4)==typeof _0xcb50d7?Ht(_0xcb50d7+0xa):null)},'dir':_0x1b0d17[_0x159dcf(0x1d5)],'role':_0x159dcf(0x1c2),'aria-label':_0x2f2d7d(_0x1b0d17,_0x159dcf(0x1d2)),'tabindex':0x0},'children':[{'tag':_0x159dcf(0x1b8),'attributes':{'role':_0x159dcf(0x1cb),'aria-label':_0x2f2d7d(_0x1b0d17,_0x159dcf(0x1c5))},'children':this[_0x159dcf(0x1cb)]}]});}[_0x142065(0x1b0)](){const _0x3b7f43=_0x142065;super[_0x3b7f43(0x1b0)](),this[_0x3b7f43(0x1b3)]();}[_0x142065(0x1b6)](){const _0x2a4ece=_0x142065;this[_0x2a4ece(0x1bd)][_0x2a4ece(0x1ac)]();}[_0x142065(0x1b3)](){const _0x49ae3e=_0x142065;this[_0x49ae3e(0x1cb)][_0x49ae3e(0x1cf)](_0x49ae3e(0x1d9))['to'](this),this['on'](_0x49ae3e(0x1d9),_0x1b6ce8=>{const _0x5dc0dc=_0x49ae3e;this[_0x5dc0dc(0x1de)](_0x1b6ce8[_0x5dc0dc(0x1b7)]);}),this[_0x49ae3e(0x1cb)][_0x49ae3e(0x1da)](_0x5964af=>{const _0x57a905=_0x49ae3e;this[_0x57a905(0x1c7)][_0x57a905(0x1bf)](_0x5964af[_0x57a905(0x1d8)]),this[_0x57a905(0x1de)](_0x5964af);}),this[_0x49ae3e(0x1cb)]['on'](_0x49ae3e(0x1ba),(_0x140d89,_0x16149a)=>{const _0x2ae060=_0x49ae3e;for(const _0x4239cb of _0x16149a[_0x2ae060(0x1c1)])this[_0x2ae060(0x1c7)][_0x2ae060(0x1d0)](_0x4239cb[_0x2ae060(0x1d8)]),this[_0x2ae060(0x1ce)][_0x2ae060(0x1d0)](_0x4239cb);for(const _0x3e58b1 of _0x16149a[_0x2ae060(0x1ae)])this[_0x2ae060(0x1c7)][_0x2ae060(0x1bf)](_0x3e58b1[_0x2ae060(0x1d8)]),this[_0x2ae060(0x1de)](_0x3e58b1);}),this['on'](_0x49ae3e(0x1c8),()=>{const _0x471765=_0x49ae3e;this[_0x471765(0x1bd)][_0x471765(0x1c6)]();}),this['on'](_0x49ae3e(0x1ad),()=>{const _0x3f1c54=_0x49ae3e;this[_0x3f1c54(0x1bd)][_0x3f1c54(0x1cc)]();}),this[_0x49ae3e(0x1ca)](this[_0x49ae3e(0x1d8)],_0x49ae3e(0x1b6),()=>{const _0x2ae88b=_0x49ae3e;this[_0x2ae88b(0x1b6)]();});}[_0x142065(0x1de)](_0x5b1e02){const _0x3f6c2e=_0x142065,_0x3a9391=this[_0x3f6c2e(0x1ce)][_0x3f6c2e(0x1b1)](_0x5b1e02);let _0x2ba22d,_0x4646fb;for(const _0x5f0e65 of this[_0x3f6c2e(0x1ce)])if(_0x5b1e02[_0x3f6c2e(0x1af)]<_0x5f0e65[_0x3f6c2e(0x1af)]){_0x2ba22d=_0x5f0e65;break;}if(_0x4646fb=_0x2ba22d?this[_0x3f6c2e(0x1ce)][_0x3f6c2e(0x1b1)](_0x2ba22d):this[_0x3f6c2e(0x1ce)][_0x3f6c2e(0x1bb)],-0x1!==_0x3a9391){if(_0x3a9391===_0x4646fb-0x1)return;this[_0x3f6c2e(0x1ce)][_0x3f6c2e(0x1d0)](_0x5b1e02),_0x4646fb=_0x2ba22d?this[_0x3f6c2e(0x1ce)][_0x3f6c2e(0x1b1)](_0x2ba22d):this[_0x3f6c2e(0x1ce)][_0x3f6c2e(0x1bb)];}this[_0x3f6c2e(0x1ce)][_0x3f6c2e(0x1bf)](_0x5b1e02,_0x4646fb);}}function _0xb3ff(){const _0x3c797a=['ck-reset','Annotations\x20sidebar','39344cverhY','1231700atcSCq','uiLanguageDirection','2053920GvvXuz','24UvaWNt','element','change:top','forEach','set','369iVSrdd','6GhyOyR','_updateItemPositionInFocusables','575183zRGRak','26498IOfcsA','focusFirst','arrowdown','added','top','render','getIndex','class','_setupKeyboardNavigation','number','13611vszdIX','focus','source','div','minHeight','change','length','1305SYfVHL','focusCycler','1388PJoUue','add','createCollection','removed','application','setTemplate','11WcMyUb','Annotations\x20list','focusPrevious','focusTracker','arrowup','bindTemplate','listenTo','list','focusNext','ck-sidebar','focusables','delegate','remove'];_0xb3ff=function(){return _0x3c797a;};return _0xb3ff();}
23
+ const _0x1e0d1f=_0x501f;(function(_0x2714a8,_0x2b340b){const _0x24bd9b=_0x501f,_0x18ebd0=_0x2714a8();while(!![]){try{const _0x29a80c=parseInt(_0x24bd9b(0x123))/0x1*(-parseInt(_0x24bd9b(0x132))/0x2)+parseInt(_0x24bd9b(0x11b))/0x3*(-parseInt(_0x24bd9b(0x11e))/0x4)+-parseInt(_0x24bd9b(0x10d))/0x5+parseInt(_0x24bd9b(0x124))/0x6*(-parseInt(_0x24bd9b(0x114))/0x7)+-parseInt(_0x24bd9b(0x12c))/0x8*(-parseInt(_0x24bd9b(0x119))/0x9)+-parseInt(_0x24bd9b(0x108))/0xa*(parseInt(_0x24bd9b(0x113))/0xb)+parseInt(_0x24bd9b(0x10f))/0xc;if(_0x29a80c===_0x2b340b)break;else _0x18ebd0['push'](_0x18ebd0['shift']());}catch(_0x3baf94){_0x18ebd0['push'](_0x18ebd0['shift']());}}}(_0x2081,0x231c5));import{View as _0x362e51,FocusCycler as _0x5d0071}from'ckeditor5/src/ui.js';import{FocusTracker as _0x408cd3,toUnit as _0x801e0f}from'ckeditor5/src/utils.js';import{getTranslation as _0x54d69c}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';function _0x501f(_0x49fd86,_0x34ef88){const _0x208116=_0x2081();return _0x501f=function(_0x501f5e,_0x4d0e4d){_0x501f5e=_0x501f5e-0x108;let _0x5d6ed0=_0x208116[_0x501f5e];return _0x5d6ed0;},_0x501f(_0x49fd86,_0x34ef88);}function _0x2081(){const _0xeb04=['focusCycler','3860OybzZp','focus','Annotations\x20list','focusFirst','setTemplate','146295iUtMzI','change','8462220IywsxG','listenTo','ck-sidebar','minHeight','2266CRPKbI','1872136pSeLHp','forEach','_setupKeyboardNavigation','uiLanguageDirection','_updateItemPositionInFocusables','23967fpIVsO','focusables','3bJzyFe','focusPrevious','getIndex','883444LkNyjj','Annotations\x20sidebar','createCollection','removed','change:top','217273Jbyvpc','6RQgPOH','class','number','remove','top','length','application','add','760QrUmQE','arrowup','added','focusTracker','source','arrowdown','2noHqXu','bindTemplate','element','render','list','focusNext','delegate','div','set','ck-reset'];_0x2081=function(){return _0xeb04;};return _0x2081();}const Ot=/* #__PURE__ -- @preserve */
24
+ _0x801e0f('px');export class AnnotationsSidebarView extends _0x362e51{[_0x1e0d1f(0x136)];[_0x1e0d1f(0x11a)];[_0x1e0d1f(0x12f)];[_0x1e0d1f(0x13c)];constructor(_0x5928ff){const _0x4c8118=_0x1e0d1f;super(_0x5928ff);const _0x17a65a=this[_0x4c8118(0x133)];this[_0x4c8118(0x13a)](_0x4c8118(0x112),0x0),this[_0x4c8118(0x13a)](_0x4c8118(0x125),''),this[_0x4c8118(0x136)]=this[_0x4c8118(0x120)](),this[_0x4c8118(0x11a)]=this[_0x4c8118(0x120)](),this[_0x4c8118(0x136)][_0x4c8118(0x138)](_0x4c8118(0x12d),_0x4c8118(0x131))['to'](this),this[_0x4c8118(0x12f)]=new _0x408cd3(),this[_0x4c8118(0x13c)]=new _0x5d0071({'focusables':this[_0x4c8118(0x11a)],'focusTracker':this[_0x4c8118(0x12f)]}),this[_0x4c8118(0x10c)]({'tag':_0x4c8118(0x139),'attributes':{'class':['ck',_0x4c8118(0x111),_0x4c8118(0x13b),_0x17a65a['to'](_0x4c8118(0x125))],'style':{'minHeight':_0x17a65a['to'](_0x4c8118(0x112),_0xc87e33=>_0x4c8118(0x126)==typeof _0xc87e33?Ot(_0xc87e33+0xa):null)},'dir':_0x5928ff[_0x4c8118(0x117)],'role':_0x4c8118(0x12a),'aria-label':_0x54d69c(_0x5928ff,_0x4c8118(0x11f)),'tabindex':0x0},'children':[{'tag':_0x4c8118(0x139),'attributes':{'role':_0x4c8118(0x136),'aria-label':_0x54d69c(_0x5928ff,_0x4c8118(0x10a))},'children':this[_0x4c8118(0x136)]}]});}[_0x1e0d1f(0x135)](){const _0x5b510f=_0x1e0d1f;super[_0x5b510f(0x135)](),this[_0x5b510f(0x116)]();}[_0x1e0d1f(0x109)](){const _0x2a759f=_0x1e0d1f;this[_0x2a759f(0x13c)][_0x2a759f(0x10b)]();}[_0x1e0d1f(0x116)](){const _0x29db35=_0x1e0d1f;this[_0x29db35(0x136)][_0x29db35(0x138)](_0x29db35(0x122))['to'](this),this['on'](_0x29db35(0x122),_0x597906=>{const _0x2a494e=_0x29db35;this[_0x2a494e(0x118)](_0x597906[_0x2a494e(0x130)]);}),this[_0x29db35(0x136)][_0x29db35(0x115)](_0x502ed1=>{const _0x47d0f5=_0x29db35;this[_0x47d0f5(0x12f)][_0x47d0f5(0x12b)](_0x502ed1[_0x47d0f5(0x134)]),this[_0x47d0f5(0x118)](_0x502ed1);}),this[_0x29db35(0x136)]['on'](_0x29db35(0x10e),(_0x5e2f8d,_0x23ede1)=>{const _0x319cae=_0x29db35;for(const _0x29e844 of _0x23ede1[_0x319cae(0x121)])this[_0x319cae(0x12f)][_0x319cae(0x127)](_0x29e844[_0x319cae(0x134)]),this[_0x319cae(0x11a)][_0x319cae(0x127)](_0x29e844);for(const _0x40de4f of _0x23ede1[_0x319cae(0x12e)])this[_0x319cae(0x12f)][_0x319cae(0x12b)](_0x40de4f[_0x319cae(0x134)]),this[_0x319cae(0x118)](_0x40de4f);}),this['on'](_0x29db35(0x12d),()=>{const _0x4d7545=_0x29db35;this[_0x4d7545(0x13c)][_0x4d7545(0x11c)]();}),this['on'](_0x29db35(0x131),()=>{const _0x4e8966=_0x29db35;this[_0x4e8966(0x13c)][_0x4e8966(0x137)]();}),this[_0x29db35(0x110)](this[_0x29db35(0x134)],_0x29db35(0x109),()=>{const _0x4b287c=_0x29db35;this[_0x4b287c(0x109)]();});}[_0x1e0d1f(0x118)](_0x2b8871){const _0x23d9f3=_0x1e0d1f,_0x5e6be3=this[_0x23d9f3(0x11a)][_0x23d9f3(0x11d)](_0x2b8871);let _0x16c331,_0x5a31b2;for(const _0x4a203d of this[_0x23d9f3(0x11a)])if(_0x2b8871[_0x23d9f3(0x128)]<_0x4a203d[_0x23d9f3(0x128)]){_0x16c331=_0x4a203d;break;}if(_0x5a31b2=_0x16c331?this[_0x23d9f3(0x11a)][_0x23d9f3(0x11d)](_0x16c331):this[_0x23d9f3(0x11a)][_0x23d9f3(0x129)],-0x1!==_0x5e6be3){if(_0x5e6be3===_0x5a31b2-0x1)return;this[_0x23d9f3(0x11a)][_0x23d9f3(0x127)](_0x2b8871),_0x5a31b2=_0x16c331?this[_0x23d9f3(0x11a)][_0x23d9f3(0x11d)](_0x16c331):this[_0x23d9f3(0x11a)][_0x23d9f3(0x129)];}this[_0x23d9f3(0x11a)][_0x23d9f3(0x12b)](_0x2b8871,_0x5a31b2);}}
@@ -7,10 +7,10 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { ContextPlugin, Context, type Editor } from 'ckeditor5/src/core.js';
10
- import AnnotationsUIs, { type AnnotationsUI } from './annotationsuis.js';
11
- import Sidebar from './sidebar.js';
12
- import type Annotation from './annotation.js';
13
- import type { default as AnnotationCollection } from './annotationcollection.js';
10
+ import { AnnotationsUIs, type AnnotationsUI } from './annotationsuis.js';
11
+ import { Sidebar } from './sidebar.js';
12
+ import { type Annotation } from './annotation.js';
13
+ import type { AnnotationCollection } from './annotationcollection.js';
14
14
  /**
15
15
  * The wide sidebar UI for displaying annotations.
16
16
  *
@@ -26,7 +26,7 @@ import type { default as AnnotationCollection } from './annotationcollection.js'
26
26
  *
27
27
  * See {@link module:comments/annotations/annotationsuis~AnnotationsUIs}.
28
28
  */
29
- export default class WideSidebar extends ContextPlugin implements AnnotationsUI<ContextPlugin> {
29
+ export declare class WideSidebar extends ContextPlugin implements AnnotationsUI<ContextPlugin> {
30
30
  /**
31
31
  * An active annotation tracked by this UI.
32
32
  *