@ckeditor/ckeditor5-comments 41.0.0 → 41.2.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 (52) hide show
  1. package/build/comments.js +1 -1
  2. package/build/translations/he.js +1 -1
  3. package/lang/translations/he.po +1 -2
  4. package/package.json +3 -3
  5. package/src/annotations/annotation.js +1 -1
  6. package/src/annotations/annotationcollection.js +1 -1
  7. package/src/annotations/annotations.js +1 -1
  8. package/src/annotations/annotationsuis.js +1 -1
  9. package/src/annotations/editorannotations.js +1 -1
  10. package/src/annotations/inlineannotations.js +1 -1
  11. package/src/annotations/narrowsidebar.js +1 -1
  12. package/src/annotations/sidebar.js +1 -1
  13. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  14. package/src/annotations/view/annotationview.js +1 -1
  15. package/src/annotations/view/sidebaritemview.js +1 -1
  16. package/src/annotations/view/sidebarview.js +1 -1
  17. package/src/annotations/widesidebar.js +1 -1
  18. package/src/comments/addcommentthreadcommand.js +1 -1
  19. package/src/comments/commentsarchive.js +1 -1
  20. package/src/comments/commentsarchiveui.js +1 -1
  21. package/src/comments/commentsediting.d.ts +3 -2
  22. package/src/comments/commentsediting.js +1 -1
  23. package/src/comments/commentsrepository.js +1 -1
  24. package/src/comments/commentsui.js +1 -1
  25. package/src/comments/integrations/clipboard.d.ts +26 -0
  26. package/src/comments/integrations/clipboard.js +23 -0
  27. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  28. package/src/comments/integrations/importword.js +1 -1
  29. package/src/comments/ui/commenteditor/commenteditor.d.ts +1 -1
  30. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  31. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  32. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  33. package/src/comments/ui/commentthreadcontroller.js +1 -1
  34. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  35. package/src/comments/ui/view/basecommentview.js +1 -1
  36. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  37. package/src/comments/ui/view/commentcontentview.js +1 -1
  38. package/src/comments/ui/view/commentinputview.js +1 -1
  39. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  40. package/src/comments/ui/view/commentslistview.js +1 -1
  41. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  42. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  43. package/src/comments/ui/view/commentthreadview.js +1 -1
  44. package/src/comments/ui/view/commentview.js +1 -1
  45. package/src/comments.js +1 -1
  46. package/src/commentsonly.js +1 -1
  47. package/src/config.d.ts +17 -2
  48. package/src/index.js +1 -1
  49. package/src/utils/common-translations.js +1 -1
  50. package/src/utils/createmutationobserver.js +1 -1
  51. package/theme/annotation.css +4 -0
  52. package/theme/commentthread.css +4 -0
@@ -1 +1 @@
1
- !function(e){const E=e.he=e.he||{};E.dictionary=Object.assign(E.dictionary||{},{Comment:"תגובה","Comment editor":"עורך התגובות","Comment was made on an element":"ההערה נעשתה על אלמנט",COMMENTS_ARCHIVE:"ארכיון הערות","Delete comment thread?":"למחוק את שרשור התגובות?","Delete comment?":"למחוק את התגובה?",Edit:"ערוך",EMPTY_COMMENTS_ARCHIVE:"אין שרשורי הערות בארכיון.",ENTER_COMMENT_ANNOUNCEMENT:"נכנס להערה.",EXTERNAL_AVATAR:"שם המחבר מגיע ממקור חיצוני (נוסף על ידי %0)",EXTERNAL_COMMENT:"הערה זו מגיעה ממקור חיצוני.",EXTERNAL_IMPORT_WORD_AVATAR:"שם המחבר המוצג מגיע מקובץ Word שיובא על ידי %0",EXTERNAL_IMPORT_WORD_COMMENT:"הערה זו מגיעה מקובץ Word מיובא.",LEAVE_COMMENT_ANNOUNCEMENT:"עוזב הערה.","Marked as resolved":"סומן כפתור",NUMBER_OF_COMMENTS:["%0 תגובה","%0 תגובה","%0 תגובה","%0 תגובה"],PENDING_ACTION_COMMENT_THREAD:"שינוי שלא נשמר בשרשור התגובות.",Remove:"הסר",Reopen:"פתח מחדש",Reply:"תשובה","Reply to reopen discussion...":"ענו כדי לפתוח מחדש את הדיון...","Reply...":"תשובה...",Resolve:"פתור",TOO_LONG_COMMENT_ALERT:"תוכן התגובה ארוך מדי. התגובה שלך מכילה %0 תווים אך המגבלה היא %1 תווים.","Write a comment...":"כתבו תגובה..."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(e){const E=e.he=e.he||{};E.dictionary=Object.assign(E.dictionary||{},{Comment:"תגובה","Comment editor":"עורך התגובות","Comment was made on an element":"ההערה נעשתה על אלמנט",COMMENTS_ARCHIVE:"ארכיון הערות","Delete comment thread?":"למחוק את שרשור התגובות?","Delete comment?":"למחוק את התגובה?",Edit:"ערוך",EMPTY_COMMENTS_ARCHIVE:"אין שרשורי הערות בארכיון.",ENTER_COMMENT_ANNOUNCEMENT:"נכנס להערה.",EXTERNAL_AVATAR:"שם המחבר מגיע ממקור חיצוני (נוסף על ידי %0)",EXTERNAL_COMMENT:"הערה זו מגיעה ממקור חיצוני.",EXTERNAL_IMPORT_WORD_AVATAR:"שם המחבר המוצג מגיע מקובץ Word שיובא על ידי %0",EXTERNAL_IMPORT_WORD_COMMENT:"הערה זו מגיעה מקובץ Word מיובא.",LEAVE_COMMENT_ANNOUNCEMENT:"עוזב הערה.","Marked as resolved":"סומן כפתור",NUMBER_OF_COMMENTS:["%0 תגובה","%0 תגובה","%0 תגובה"],PENDING_ACTION_COMMENT_THREAD:"שינוי שלא נשמר בשרשור התגובות.",Remove:"הסר",Reopen:"פתח מחדש",Reply:"תשובה","Reply to reopen discussion...":"ענו כדי לפתוח מחדש את הדיון...","Reply...":"תשובה...",Resolve:"פתור",TOO_LONG_COMMENT_ALERT:"תוכן התגובה ארוך מדי. התגובה שלך מכילה %0 תווים אך המגבלה היא %1 תווים.","Write a comment...":"כתבו תגובה..."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -14,7 +14,7 @@ msgid ""
14
14
  msgstr ""
15
15
  "Language-Team: Hebrew (https://app.transifex.com/ckeditor/teams/11143/he/)\n"
16
16
  "Language: he\n"
17
- "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n"
17
+ "Plural-Forms: nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;\n"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
 
20
20
  msgctxt "The label for the comment editor."
@@ -27,7 +27,6 @@ msgid_plural "%0 Comments"
27
27
  msgstr[0] "%0 תגובה"
28
28
  msgstr[1] "%0 תגובה"
29
29
  msgstr[2] "%0 תגובה"
30
- msgstr[3] "%0 תגובה"
31
30
 
32
31
  msgctxt "The alert displayed for a comment that is too long."
33
32
  msgid "TOO_LONG_COMMENT_ALERT"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-comments",
3
- "version": "41.0.0",
3
+ "version": "41.2.0",
4
4
  "description": "Collaborative comments feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -44,8 +44,8 @@
44
44
  "CHANGELOG.md"
45
45
  ],
46
46
  "dependencies": {
47
- "ckeditor5": "41.0.0",
48
- "ckeditor5-collaboration": "41.0.0",
47
+ "ckeditor5": "41.2.0",
48
+ "ckeditor5-collaboration": "41.2.0",
49
49
  "lodash-es": "4.17.21"
50
50
  },
51
51
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x173e=['isVisible','_getNormalizedTarget','offsetParent','view','innerView','filter','stopListening','destroy','element','nodeType','isActive','annotation-invalid-target','render','targetRect','_target','_type','mainView','item','function','refreshVisibility','type','add','length','clear','target','updateTargetRect','_assertCorrectTarget','getClientRects','remove','focusableElements'];(function(_0x3b36c7,_0x173e5a){const _0x1ad8c6=function(_0x5024a7){while(--_0x5024a7){_0x3b36c7['push'](_0x3b36c7['shift']());}};_0x1ad8c6(++_0x173e5a);}(_0x173e,0x73));const _0x1ad8=function(_0x3b36c7,_0x173e5a){_0x3b36c7=_0x3b36c7-0x0;let _0x1ad8c6=_0x173e[_0x3b36c7];return _0x1ad8c6;};import{CKEditorError as _0x53208d,Rect as _0x4fc943,Collection as _0x27d3bd,ObservableMixin as _0x4ecd74}from'ckeditor5/src/utils.js';export default class d extends _0x4ecd74(){constructor({view:_0x57f543,target:_0x1a6f48,type:_0x89f46b,isVisible:_0x14370d=!0x0}){super(),this[_0x1ad8('0x8')]=_0x57f543,this[_0x1ad8('0x8')][_0x1ad8('0xd')]||this[_0x1ad8('0x8')][_0x1ad8('0x11')](),this[_0x1ad8('0x14')]=_0x89f46b,this[_0x1ad8('0x13')]=_0x1a6f48,d[_0x1ad8('0x1')](this[_0x1ad8('0x6')]()),this[_0x1ad8('0x4')]=new _0x27d3bd([this[_0x1ad8('0x8')][_0x1ad8('0xd')]],{'idProperty':'_id'}),this[_0x1ad8('0x4')]['on'](_0x1ad8('0x1a'),(_0x4fd34d,_0x4c120e)=>{this['view']['focusTracker'][_0x1ad8('0x1a')](_0x4c120e);}),this[_0x1ad8('0x4')]['on'](_0x1ad8('0x3'),(_0x4cc586,_0x5e00ce)=>{this['view']['focusTracker'][_0x1ad8('0x3')](_0x5e00ce);}),this['set'](_0x1ad8('0x5'),_0x14370d);}get[_0x1ad8('0x19')](){return _0x1ad8('0x17')==typeof this[_0x1ad8('0x14')]?this[_0x1ad8('0x14')]():this[_0x1ad8('0x14')];}get[_0x1ad8('0x9')](){return this[_0x1ad8('0x8')][_0x1ad8('0x15')];}get[_0x1ad8('0x1d')](){const _0x530bb4=this[_0x1ad8('0x6')]();return d[_0x1ad8('0x1')](_0x530bb4),_0x530bb4;}get[_0x1ad8('0x12')](){const _0x358253=this[_0x1ad8('0x1d')];if(null===_0x358253)return null;if(_0x358253 instanceof _0x4fc943)return _0x358253;const _0x5ede0b=_0x358253[_0x1ad8('0xa')](_0x239bc0=>function(_0x723d38){const _0x92a120=_0x723d38[_0x1ad8('0x7')];if(_0x92a120)return!0x0;const _0x3bb887=_0x723d38[_0x1ad8('0x2')]()[_0x1ad8('0x16')](0x0);return!!_0x3bb887;}(_0x239bc0));return 0x0===_0x5ede0b[_0x1ad8('0x1b')]?null:new _0x4fc943(_0x5ede0b[0x0][_0x1ad8('0x2')]()[_0x1ad8('0x16')](0x0));}get['isActive'](){return this[_0x1ad8('0x8')][_0x1ad8('0xf')];}set['isActive'](_0x5b8a21){this[_0x1ad8('0x8')][_0x1ad8('0xf')]=_0x5b8a21,this[_0x1ad8('0x8')]['mainView'][_0x1ad8('0xf')]=_0x5b8a21;}[_0x1ad8('0x0')](){this[_0x1ad8('0x8')][_0x1ad8('0x12')]=this[_0x1ad8('0x12')];}[_0x1ad8('0xc')](){this[_0x1ad8('0x4')]['stopListening'](),this['focusableElements'][_0x1ad8('0x1c')](),this[_0x1ad8('0xb')]();}[_0x1ad8('0x18')](){this[_0x1ad8('0x5')]=!!this['targetRect'];}static['_assertCorrectTarget'](_0x5b2ba0){if(!(null===_0x5b2ba0||_0x5b2ba0 instanceof _0x4fc943||Array['isArray'](_0x5b2ba0)&&_0x5b2ba0['every'](_0x4c5f80=>y(_0x4c5f80))))throw new _0x53208d(_0x1ad8('0x10'),null,{'target':_0x5b2ba0});}[_0x1ad8('0x6')](){const _0x560f9b=_0x1ad8('0x17')==typeof this[_0x1ad8('0x13')]?this['_target']():this[_0x1ad8('0x13')];return y(_0x560f9b)?[_0x560f9b]:_0x560f9b;}}function y(_0x157ebb){return null!==_0x157ebb&&'object'==typeof _0x157ebb&&'nodeType'in _0x157ebb&&0x1===_0x157ebb[_0x1ad8('0xe')];}
23
+ function _0x2973(){const _0x27e0cb=['filter','_getNormalizedTarget','focusTracker','targetRect','3646UftTYv','nodeType','_target','stopListening','set','every','innerView','2300160kDtmhq','refreshVisibility','clear','140IbFSRp','item','mainView','object','target','focusableElements','updateTargetRect','destroy','2950083GoWCYG','type','element','isVisible','add','annotation-invalid-target','_type','742167LHGJNl','length','367ahrnSO','function','2550404ORggrL','5388BzqVou','getClientRects','22177520ZcBNYJ','remove','_assertCorrectTarget','_id','isActive','isArray','88TmIviC','offsetParent','render','view'];_0x2973=function(){return _0x27e0cb;};return _0x2973();}const _0x18326b=_0xf864;(function(_0x157586,_0x9fdf24){const _0x200ff4=_0xf864,_0x3f5954=_0x157586();while(!![]){try{const _0x67bb9=parseInt(_0x200ff4(0x1c1))/0x1*(-parseInt(_0x200ff4(0x1d4))/0x2)+parseInt(_0x200ff4(0x1b8))/0x3+-parseInt(_0x200ff4(0x1c3))/0x4+-parseInt(_0x200ff4(0x1db))/0x5+-parseInt(_0x200ff4(0x1c4))/0x6*(parseInt(_0x200ff4(0x1de))/0x7)+-parseInt(_0x200ff4(0x1cc))/0x8*(parseInt(_0x200ff4(0x1bf))/0x9)+parseInt(_0x200ff4(0x1c6))/0xa;if(_0x67bb9===_0x9fdf24)break;else _0x3f5954['push'](_0x3f5954['shift']());}catch(_0x384d9d){_0x3f5954['push'](_0x3f5954['shift']());}}}(_0x2973,0x7c5ca));import{CKEditorError as _0x26f5b4,Rect as _0x1bb8e9,Collection as _0x403a20,ObservableMixin as _0x53f100}from'ckeditor5/src/utils.js';export default class d extends _0x53f100(){constructor({view:_0x2963fe,target:_0x3e6cce,type:_0x190933,isVisible:_0x2935c1=!0x0}){const _0x3de4ec=_0xf864;super(),this[_0x3de4ec(0x1cf)]=_0x2963fe,this[_0x3de4ec(0x1cf)][_0x3de4ec(0x1ba)]||this[_0x3de4ec(0x1cf)][_0x3de4ec(0x1ce)](),this[_0x3de4ec(0x1be)]=_0x190933,this[_0x3de4ec(0x1d6)]=_0x3e6cce,d[_0x3de4ec(0x1c8)](this[_0x3de4ec(0x1d1)]()),this[_0x3de4ec(0x1b5)]=new _0x403a20([this[_0x3de4ec(0x1cf)][_0x3de4ec(0x1ba)]],{'idProperty':_0x3de4ec(0x1c9)}),this[_0x3de4ec(0x1b5)]['on'](_0x3de4ec(0x1bc),(_0x2fbe54,_0x472d10)=>{const _0x9314b4=_0x3de4ec;this[_0x9314b4(0x1cf)][_0x9314b4(0x1d2)][_0x9314b4(0x1bc)](_0x472d10);}),this[_0x3de4ec(0x1b5)]['on'](_0x3de4ec(0x1c7),(_0x1c5680,_0x14a5f9)=>{const _0x4ac590=_0x3de4ec;this[_0x4ac590(0x1cf)][_0x4ac590(0x1d2)][_0x4ac590(0x1c7)](_0x14a5f9);}),this[_0x3de4ec(0x1d8)](_0x3de4ec(0x1bb),_0x2935c1);}get[_0x18326b(0x1b9)](){const _0x29406c=_0x18326b;return _0x29406c(0x1c2)==typeof this[_0x29406c(0x1be)]?this[_0x29406c(0x1be)]():this[_0x29406c(0x1be)];}get[_0x18326b(0x1da)](){const _0x41fa3a=_0x18326b;return this[_0x41fa3a(0x1cf)][_0x41fa3a(0x1b2)];}get[_0x18326b(0x1b4)](){const _0x6d6a8c=_0x18326b,_0x386b52=this[_0x6d6a8c(0x1d1)]();return d[_0x6d6a8c(0x1c8)](_0x386b52),_0x386b52;}get[_0x18326b(0x1d3)](){const _0x58988c=_0x18326b,_0x5792a7=this[_0x58988c(0x1b4)];if(null===_0x5792a7)return null;if(_0x5792a7 instanceof _0x1bb8e9)return _0x5792a7;const _0x4a7221=_0x5792a7[_0x58988c(0x1d0)](_0x590e21=>function(_0x123056){const _0x213eae=_0x58988c,_0x3eec98=_0x123056[_0x213eae(0x1cd)];if(_0x3eec98)return!0x0;const _0x5ced16=_0x123056[_0x213eae(0x1c5)]()[_0x213eae(0x1b1)](0x0);return!!_0x5ced16;}(_0x590e21));return 0x0===_0x4a7221[_0x58988c(0x1c0)]?null:new _0x1bb8e9(_0x4a7221[0x0][_0x58988c(0x1c5)]()[_0x58988c(0x1b1)](0x0));}get[_0x18326b(0x1ca)](){const _0x1d3a54=_0x18326b;return this[_0x1d3a54(0x1cf)][_0x1d3a54(0x1ca)];}set[_0x18326b(0x1ca)](_0x2ea721){const _0x476905=_0x18326b;this[_0x476905(0x1cf)][_0x476905(0x1ca)]=_0x2ea721,this[_0x476905(0x1cf)][_0x476905(0x1b2)][_0x476905(0x1ca)]=_0x2ea721;}[_0x18326b(0x1b6)](){const _0x3bdafa=_0x18326b;this[_0x3bdafa(0x1cf)][_0x3bdafa(0x1d3)]=this[_0x3bdafa(0x1d3)];}[_0x18326b(0x1b7)](){const _0x1b9cce=_0x18326b;this[_0x1b9cce(0x1b5)][_0x1b9cce(0x1d7)](),this[_0x1b9cce(0x1b5)][_0x1b9cce(0x1dd)](),this[_0x1b9cce(0x1d7)]();}[_0x18326b(0x1dc)](){const _0x3979de=_0x18326b;this[_0x3979de(0x1bb)]=!!this[_0x3979de(0x1d3)];}static[_0x18326b(0x1c8)](_0x1d6b5b){const _0x3fb72f=_0x18326b;if(!(null===_0x1d6b5b||_0x1d6b5b instanceof _0x1bb8e9||Array[_0x3fb72f(0x1cb)](_0x1d6b5b)&&_0x1d6b5b[_0x3fb72f(0x1d9)](_0x943839=>y(_0x943839))))throw new _0x26f5b4(_0x3fb72f(0x1bd),null,{'target':_0x1d6b5b});}[_0x18326b(0x1d1)](){const _0x590d06=_0x18326b,_0x40f274=_0x590d06(0x1c2)==typeof this[_0x590d06(0x1d6)]?this[_0x590d06(0x1d6)]():this[_0x590d06(0x1d6)];return y(_0x40f274)?[_0x40f274]:_0x40f274;}}function _0xf864(_0x5a5103,_0x113140){const _0x2973e2=_0x2973();return _0xf864=function(_0xf8649c,_0x144947){_0xf8649c=_0xf8649c-0x1b1;let _0x264fdb=_0x2973e2[_0xf8649c];return _0x264fdb;},_0xf864(_0x5a5103,_0x113140);}function y(_0x14fe31){const _0x9f8891=_0x18326b;return null!==_0x14fe31&&_0x9f8891(0x1b3)==typeof _0x14fe31&&_0x9f8891(0x1d5)in _0x14fe31&&0x1===_0x14fe31[_0x9f8891(0x1d5)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x144f=['listenTo','getByView','fire','annotationcollection-not-existing-item','remove','blur','top','isFocused','_innerViewToAnnotation','has','_focusTracker','_viewToAnnotation','innerView','destroy','add','getByInnerView','length','_sort','stopListening','get','sort','change:isFocused','focusTracker','delete','focus','clear','targetRect','_getOrderInContent','view','set','left','focusableElements'];(function(_0x172f04,_0x144fb2){const _0x3d33a9=function(_0x1ce6ca){while(--_0x1ce6ca){_0x172f04['push'](_0x172f04['shift']());}};_0x3d33a9(++_0x144fb2);}(_0x144f,0xc5));const _0x3d33=function(_0x172f04,_0x144fb2){_0x172f04=_0x172f04-0x0;let _0x3d33a9=_0x144f[_0x172f04];return _0x3d33a9;};import{CKEditorError as _0x571da8,Collection as _0x35ed74,FocusTracker as _0x2fa088}from'ckeditor5/src/utils.js';export default class x extends _0x35ed74{constructor(_0x992921=[]){super(),this['_innerViewToAnnotation']=new Map(),this[_0x3d33('0x6')]=new Map(),this[_0x3d33('0x5')]=new _0x2fa088(),this['_focusTracker']['on'](_0x3d33('0x10'),(_0x208cd7,_0x432464,_0x3286a4)=>{_0x3286a4||this[_0x3d33('0x1d')](_0x3d33('0x0'));});for(const _0x1fe578 of _0x992921)this[_0x3d33('0x9')](_0x1fe578);}get[_0x3d33('0x2')](){return this[_0x3d33('0x5')][_0x3d33('0x2')];}[_0x3d33('0x9')](_0x4f0941){if(this[_0x3d33('0x4')](_0x4f0941))throw new _0x571da8('annotationcollection-duplicated-item',null);this[_0x3d33('0x3')][_0x3d33('0x18')](_0x4f0941[_0x3d33('0x7')],_0x4f0941),this[_0x3d33('0x6')][_0x3d33('0x18')](_0x4f0941[_0x3d33('0x17')],_0x4f0941);for(const _0x19119b of _0x4f0941[_0x3d33('0x1a')])this['_focusTracker'][_0x3d33('0x9')](_0x19119b);this['listenTo'](_0x4f0941[_0x3d33('0x1a')],_0x3d33('0x9'),(_0x39ffc1,_0xfb85cc)=>{this['_focusTracker'][_0x3d33('0x9')](_0xfb85cc);}),this[_0x3d33('0x1b')](_0x4f0941[_0x3d33('0x1a')],_0x3d33('0x1f'),(_0x137037,_0xc3ad9)=>{this[_0x3d33('0x5')][_0x3d33('0x1f')](_0xc3ad9);}),this[_0x3d33('0x1b')](_0x4f0941['view'][_0x3d33('0x11')],_0x3d33('0x10'),(_0x56c8ca,_0x313ae4,_0x3aacbd)=>{_0x3aacbd&&this[_0x3d33('0x1d')](_0x3d33('0x13'),_0x4f0941);}),_0x4f0941['updateTargetRect']();const _0x1eaf5d=this['_getOrderInContent'](_0x4f0941[_0x3d33('0x17')][_0x3d33('0x15')]);return super[_0x3d33('0x9')](_0x4f0941,_0x1eaf5d);}['remove'](_0x38cb85){if(!this[_0x3d33('0x4')](_0x38cb85))throw new _0x571da8(_0x3d33('0x1e'),null);this[_0x3d33('0xd')](_0x38cb85[_0x3d33('0x17')]['focusTracker']),this[_0x3d33('0xd')](_0x38cb85[_0x3d33('0x1a')]);for(const _0x3ae7cc of _0x38cb85[_0x3d33('0x1a')])this[_0x3d33('0x5')][_0x3d33('0x1f')](_0x3ae7cc);return this[_0x3d33('0x6')][_0x3d33('0x12')](_0x38cb85[_0x3d33('0x17')]),this[_0x3d33('0x3')]['delete'](_0x38cb85[_0x3d33('0x7')]),super[_0x3d33('0x1f')](_0x38cb85);}[_0x3d33('0xa')](_0x234f8c){return this[_0x3d33('0x3')][_0x3d33('0xe')](_0x234f8c);}[_0x3d33('0x1c')](_0x43fcaa){return this[_0x3d33('0x6')]['get'](_0x43fcaa);}[_0x3d33('0x8')](){super[_0x3d33('0x14')](),this['stopListening'](),this[_0x3d33('0x3')]['clear'](),this[_0x3d33('0x6')][_0x3d33('0x14')](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x2f9643 of this)_0x2f9643['updateTargetRect']();this[_0x3d33('0xc')]();}[_0x3d33('0xc')](){const _0xb61b44=Array['from'](this)[_0x3d33('0xf')]((_0x12ca37,_0x556a21)=>v(_0x12ca37[_0x3d33('0x17')][_0x3d33('0x15')],_0x556a21['view']['targetRect']));for(let _0x14c827=_0xb61b44[_0x3d33('0xb')]-0x1;_0x14c827>0x0;_0x14c827--){const _0x18211b=_0xb61b44[_0x14c827];_0x14c827!==this['getIndex'](_0x18211b)&&(this['remove'](_0x18211b),this[_0x3d33('0x9')](_0x18211b));}}[_0x3d33('0x16')](_0x37e108){let _0x22347f=0x0;if(!_0x37e108)return this[_0x3d33('0xb')];for(const _0x5a31c6 of this){const _0x370e40=_0x5a31c6[_0x3d33('0x17')][_0x3d33('0x15')];if(_0x370e40){if(v(_0x37e108,_0x370e40)<0x0)return _0x22347f;_0x22347f++;}}return _0x22347f;}}export function bindAnnotationCollections({source:_0x379334,target:_0x541ebc,filter:_0x2bb11b}){for(const _0xc926c of _0x379334)_0x2bb11b(_0xc926c)&&_0x541ebc[_0x3d33('0x9')](_0xc926c);_0x541ebc[_0x3d33('0x1b')](_0x379334,_0x3d33('0x9'),(_0x35bef8,_0x41b169)=>{_0x2bb11b(_0x41b169)&&_0x541ebc[_0x3d33('0x9')](_0x41b169);}),_0x541ebc[_0x3d33('0x1b')](_0x379334,_0x3d33('0x1f'),(_0x354850,_0x1f4002)=>{_0x541ebc[_0x3d33('0x4')](_0x1f4002)&&_0x541ebc['remove'](_0x1f4002);});}function v(_0x846719,_0x4cbf39){if(null===_0x846719&&null===_0x4cbf39)return 0x0;if(null===_0x846719)return-0x1;if(null===_0x4cbf39)return 0x1;const _0x1c4814=_0x846719['top']-_0x4cbf39[_0x3d33('0x1')];return 0x0==_0x1c4814?_0x846719['left']-_0x4cbf39[_0x3d33('0x19')]:_0x1c4814;}
23
+ const _0x3efac8=_0x2388;function _0x2388(_0x5e2ab1,_0xf5fbbe){const _0x1dc50a=_0x1dc5();return _0x2388=function(_0x238819,_0x10a3fa){_0x238819=_0x238819-0xb1;let _0x31f66b=_0x1dc50a[_0x238819];return _0x31f66b;},_0x2388(_0x5e2ab1,_0xf5fbbe);}(function(_0x3f3d3c,_0x32dc1b){const _0x276af7=_0x2388,_0x2a9284=_0x3f3d3c();while(!![]){try{const _0x18f4c3=parseInt(_0x276af7(0xb6))/0x1*(parseInt(_0x276af7(0xc7))/0x2)+parseInt(_0x276af7(0xb9))/0x3+-parseInt(_0x276af7(0xd5))/0x4+-parseInt(_0x276af7(0xd8))/0x5*(parseInt(_0x276af7(0xd7))/0x6)+-parseInt(_0x276af7(0xb1))/0x7+-parseInt(_0x276af7(0xdb))/0x8*(parseInt(_0x276af7(0xd6))/0x9)+parseInt(_0x276af7(0xc0))/0xa;if(_0x18f4c3===_0x32dc1b)break;else _0x2a9284['push'](_0x2a9284['shift']());}catch(_0x758c70){_0x2a9284['push'](_0x2a9284['shift']());}}}(_0x1dc5,0xca0a8));import{CKEditorError as _0x1158dd,Collection as _0x553df8,FocusTracker as _0x3560d1}from'ckeditor5/src/utils.js';function _0x1dc5(){const _0x847aa4=['1474PzaAXx','getByView','left','top','from','blur','innerView','view','clear','fire','targetRect','annotationcollection-duplicated-item','delete','length','8804rDnsET','481887Tndyfv','539580yuXLjs','85gLGtOG','focusTracker','focusableElements','184GNEGnP','refreshPositioning','isFocused','_focusTracker','getIndex','919863VuZDVR','updateTargetRect','get','stopListening','set','1277oClBkl','_sort','change:isFocused','2616924CACjLs','annotationcollection-not-existing-item','_getOrderInContent','add','focus','destroy','_viewToAnnotation','19080120ZdiKps','listenTo','remove','_innerViewToAnnotation','has','getByInnerView','sort'];_0x1dc5=function(){return _0x847aa4;};return _0x1dc5();}export default class x extends _0x553df8{constructor(_0x296cc5=[]){const _0x2a2b8c=_0x2388;super(),this[_0x2a2b8c(0xc3)]=new Map(),this[_0x2a2b8c(0xbf)]=new Map(),this[_0x2a2b8c(0xde)]=new _0x3560d1(),this[_0x2a2b8c(0xde)]['on'](_0x2a2b8c(0xb8),(_0x18144f,_0x48a5f2,_0x230290)=>{const _0x2a7f48=_0x2a2b8c;_0x230290||this[_0x2a7f48(0xd0)](_0x2a7f48(0xcc));});for(const _0x4bbba1 of _0x296cc5)this[_0x2a2b8c(0xbc)](_0x4bbba1);}get[_0x3efac8(0xdd)](){const _0x52d06f=_0x3efac8;return this[_0x52d06f(0xde)][_0x52d06f(0xdd)];}[_0x3efac8(0xbc)](_0x1e6902){const _0x431ece=_0x3efac8;if(this[_0x431ece(0xc4)](_0x1e6902))throw new _0x1158dd(_0x431ece(0xd2),null);this[_0x431ece(0xc3)][_0x431ece(0xb5)](_0x1e6902[_0x431ece(0xcd)],_0x1e6902),this[_0x431ece(0xbf)][_0x431ece(0xb5)](_0x1e6902[_0x431ece(0xce)],_0x1e6902);for(const _0x5c4236 of _0x1e6902[_0x431ece(0xda)])this[_0x431ece(0xde)][_0x431ece(0xbc)](_0x5c4236);this[_0x431ece(0xc1)](_0x1e6902[_0x431ece(0xda)],_0x431ece(0xbc),(_0x46062e,_0x538f78)=>{const _0x297606=_0x431ece;this[_0x297606(0xde)][_0x297606(0xbc)](_0x538f78);}),this[_0x431ece(0xc1)](_0x1e6902[_0x431ece(0xda)],_0x431ece(0xc2),(_0x499c34,_0x126697)=>{const _0x3cf11d=_0x431ece;this[_0x3cf11d(0xde)][_0x3cf11d(0xc2)](_0x126697);}),this[_0x431ece(0xc1)](_0x1e6902[_0x431ece(0xce)][_0x431ece(0xd9)],_0x431ece(0xb8),(_0x7ce4de,_0x59021e,_0x1714ac)=>{const _0x495a99=_0x431ece;_0x1714ac&&this[_0x495a99(0xd0)](_0x495a99(0xbd),_0x1e6902);}),_0x1e6902[_0x431ece(0xb2)]();const _0x51fc7c=this[_0x431ece(0xbb)](_0x1e6902[_0x431ece(0xce)][_0x431ece(0xd1)]);return super[_0x431ece(0xbc)](_0x1e6902,_0x51fc7c);}[_0x3efac8(0xc2)](_0x49c91a){const _0x3b60ca=_0x3efac8;if(!this[_0x3b60ca(0xc4)](_0x49c91a))throw new _0x1158dd(_0x3b60ca(0xba),null);this[_0x3b60ca(0xb4)](_0x49c91a[_0x3b60ca(0xce)][_0x3b60ca(0xd9)]),this[_0x3b60ca(0xb4)](_0x49c91a[_0x3b60ca(0xda)]);for(const _0xb38d4 of _0x49c91a[_0x3b60ca(0xda)])this[_0x3b60ca(0xde)][_0x3b60ca(0xc2)](_0xb38d4);return this[_0x3b60ca(0xbf)][_0x3b60ca(0xd3)](_0x49c91a[_0x3b60ca(0xce)]),this[_0x3b60ca(0xc3)][_0x3b60ca(0xd3)](_0x49c91a[_0x3b60ca(0xcd)]),super[_0x3b60ca(0xc2)](_0x49c91a);}[_0x3efac8(0xc5)](_0x555461){const _0x3b99bc=_0x3efac8;return this[_0x3b99bc(0xc3)][_0x3b99bc(0xb3)](_0x555461);}[_0x3efac8(0xc8)](_0x1fddfc){const _0x31b12a=_0x3efac8;return this[_0x31b12a(0xbf)][_0x31b12a(0xb3)](_0x1fddfc);}[_0x3efac8(0xbe)](){const _0x4c26cf=_0x3efac8;super[_0x4c26cf(0xcf)](),this[_0x4c26cf(0xb4)](),this[_0x4c26cf(0xc3)][_0x4c26cf(0xcf)](),this[_0x4c26cf(0xbf)][_0x4c26cf(0xcf)](),this[_0x4c26cf(0xde)][_0x4c26cf(0xbe)]();}[_0x3efac8(0xdc)](){const _0x134eb2=_0x3efac8;for(const _0x53dee1 of this)_0x53dee1[_0x134eb2(0xb2)]();this[_0x134eb2(0xb7)]();}[_0x3efac8(0xb7)](){const _0x501494=_0x3efac8,_0x2902d2=Array[_0x501494(0xcb)](this)[_0x501494(0xc6)]((_0x3072d3,_0x464f8d)=>v(_0x3072d3[_0x501494(0xce)][_0x501494(0xd1)],_0x464f8d[_0x501494(0xce)][_0x501494(0xd1)]));for(let _0x1803a9=_0x2902d2[_0x501494(0xd4)]-0x1;_0x1803a9>0x0;_0x1803a9--){const _0x2f551f=_0x2902d2[_0x1803a9];_0x1803a9!==this[_0x501494(0xdf)](_0x2f551f)&&(this[_0x501494(0xc2)](_0x2f551f),this[_0x501494(0xbc)](_0x2f551f));}}[_0x3efac8(0xbb)](_0x3c0604){const _0x39d228=_0x3efac8;let _0x521d9a=0x0;if(!_0x3c0604)return this[_0x39d228(0xd4)];for(const _0x743468 of this){const _0x3ddd33=_0x743468[_0x39d228(0xce)][_0x39d228(0xd1)];if(_0x3ddd33){if(v(_0x3c0604,_0x3ddd33)<0x0)return _0x521d9a;_0x521d9a++;}}return _0x521d9a;}}export function bindAnnotationCollections({source:_0x1c7a8c,target:_0x2c3602,filter:_0x1e490c}){const _0x57663a=_0x3efac8;for(const _0x115a03 of _0x1c7a8c)_0x1e490c(_0x115a03)&&_0x2c3602[_0x57663a(0xbc)](_0x115a03);_0x2c3602[_0x57663a(0xc1)](_0x1c7a8c,_0x57663a(0xbc),(_0x47b88c,_0x35a8f6)=>{const _0x145636=_0x57663a;_0x1e490c(_0x35a8f6)&&_0x2c3602[_0x145636(0xbc)](_0x35a8f6);}),_0x2c3602[_0x57663a(0xc1)](_0x1c7a8c,_0x57663a(0xc2),(_0xc57a4,_0x3dcb7e)=>{const _0x89c60a=_0x57663a;_0x2c3602[_0x89c60a(0xc4)](_0x3dcb7e)&&_0x2c3602[_0x89c60a(0xc2)](_0x3dcb7e);});}function v(_0x62fb18,_0x178fae){const _0x262cc2=_0x3efac8;if(null===_0x62fb18&&null===_0x178fae)return 0x0;if(null===_0x62fb18)return-0x1;if(null===_0x178fae)return 0x1;const _0x349d2b=_0x62fb18[_0x262cc2(0xca)]-_0x178fae[_0x262cc2(0xca)];return 0x0==_0x349d2b?_0x62fb18[_0x262cc2(0xc9)]-_0x178fae[_0x262cc2(0xc9)]:_0x349d2b;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19a2=['fire','refreshPositioning','isVisible','focusTracker','has','_visibleAnnotations','getByInnerView','remove','activate','refreshVisibility','change:isVisible','_removeActiveAnnotation','element','activeAnnotations','createAnnotationView','listenTo','collection','_activateAnnotation','Annotations','view','stopListening','_bindAnnotationsToVisibleAnnotations','destroy','add','source','deactivateAll','createAnnotation'];(function(_0x34a802,_0x19a2e2){const _0x54a0e1=function(_0x22b74f){while(--_0x22b74f){_0x34a802['push'](_0x34a802['shift']());}};_0x54a0e1(++_0x19a2e2);}(_0x19a2,0x141));const _0x54a0=function(_0x34a802,_0x19a2e2){_0x34a802=_0x34a802-0x0;let _0x54a0e1=_0x19a2[_0x34a802];return _0x54a0e1;};import{ContextPlugin as _0x19ab2b}from'ckeditor5/src/core.js';import _0x272284 from'./annotation.js';import _0x4c7194 from'./annotationcollection.js';import _0xc4fa75 from'./view/annotationview.js';export default class b extends _0x19ab2b{static get['pluginName'](){return _0x54a0('0x15');}constructor(_0x2011c5){super(_0x2011c5),this['collection']=new _0x4c7194(),this[_0x54a0('0x8')]=new _0x4c7194(),this['set'](_0x54a0('0x10'),new Set()),this[_0x54a0('0x18')]();}[_0x54a0('0x1a')](_0x3994e8){this['collection']['add'](_0x3994e8);}[_0x54a0('0xa')](_0x46fcfb){this[_0x54a0('0x13')][_0x54a0('0xa')](_0x46fcfb),_0x46fcfb[_0x54a0('0x19')]();}[_0x54a0('0xc')](){for(const _0x3484bc of this[_0x54a0('0x13')])_0x3484bc[_0x54a0('0xc')]();}['refreshPositioning'](){this[_0x54a0('0x8')][_0x54a0('0x4')]();}[_0x54a0('0x9')](_0x3bf507){return this['collection'][_0x54a0('0x9')](_0x3bf507);}[_0x54a0('0x1')](){this[_0x54a0('0x3')]('_deactivateAllAnnotations');}[_0x54a0('0x19')](){for(const _0x25ccd1 of this[_0x54a0('0x13')])_0x25ccd1[_0x54a0('0x19')]();this['_visibleAnnotations'][_0x54a0('0x19')](),this['collection'][_0x54a0('0x19')](),super['destroy']();}[_0x54a0('0xb')](_0x495b68){this[_0x54a0('0x3')](_0x54a0('0x14'),_0x495b68);}[_0x54a0('0x2')](_0x1864c5){return new _0x272284(_0x1864c5);}[_0x54a0('0x11')](_0x292e01,_0x297f14){return new _0xc4fa75(_0x292e01,_0x297f14);}['_addActiveAnnotation'](_0x2f5a02){const _0x13da36=new Set(this[_0x54a0('0x10')]);_0x13da36['add'](_0x2f5a02),this[_0x54a0('0x10')]=_0x13da36;}[_0x54a0('0xe')](_0x3e9694){const _0x200191=new Set(this['activeAnnotations']);_0x200191['delete'](_0x3e9694),this[_0x54a0('0x10')]=_0x200191;}[_0x54a0('0x18')](){const _0x27a9cc=this[_0x54a0('0x13')],_0x4e57f0=this[_0x54a0('0x8')];function _0x3b2167(_0x68d66b){const _0x385234=_0x68d66b[_0x54a0('0x0')];_0x385234['isVisible']&&!_0x4e57f0[_0x54a0('0x7')](_0x385234)?_0x4e57f0[_0x54a0('0x1a')](_0x385234):!_0x385234[_0x54a0('0x5')]&&_0x4e57f0[_0x54a0('0x7')](_0x385234)&&_0x4e57f0[_0x54a0('0xa')](_0x385234),_0x385234[_0x54a0('0x16')][_0x54a0('0x6')][_0x54a0('0xa')](_0x385234[_0x54a0('0x16')][_0x54a0('0xf')]),_0x385234[_0x54a0('0x16')][_0x54a0('0x6')]['add'](_0x385234[_0x54a0('0x16')][_0x54a0('0xf')]);}this[_0x54a0('0x12')](_0x27a9cc,_0x54a0('0x1a'),(_0x429004,_0x4e250f)=>{_0x4e250f['isVisible']&&_0x4e57f0['add'](_0x4e250f),this[_0x54a0('0x12')](_0x4e250f,_0x54a0('0xd'),_0x3b2167);}),this[_0x54a0('0x12')](_0x27a9cc,'remove',(_0xd94467,_0x4e7cd4)=>{_0x4e57f0['has'](_0x4e7cd4)&&_0x4e57f0[_0x54a0('0xa')](_0x4e7cd4),this[_0x54a0('0x17')](_0x4e7cd4,_0x54a0('0xd'),_0x3b2167);});}}
23
+ function _0x3acd(_0xbf7a1a,_0x133e12){const _0x460721=_0x4607();return _0x3acd=function(_0x3acdc6,_0x3f0426){_0x3acdc6=_0x3acdc6-0x197;let _0x140bdb=_0x460721[_0x3acdc6];return _0x140bdb;},_0x3acd(_0xbf7a1a,_0x133e12);}const _0x2b1880=_0x3acd;(function(_0xb60345,_0x4816de){const _0x3b969a=_0x3acd,_0x25a903=_0xb60345();while(!![]){try{const _0x9fd647=parseInt(_0x3b969a(0x1a6))/0x1+-parseInt(_0x3b969a(0x1b4))/0x2+-parseInt(_0x3b969a(0x1ac))/0x3+parseInt(_0x3b969a(0x1bd))/0x4+parseInt(_0x3b969a(0x1b1))/0x5*(-parseInt(_0x3b969a(0x1b2))/0x6)+parseInt(_0x3b969a(0x1ad))/0x7+-parseInt(_0x3b969a(0x1be))/0x8;if(_0x9fd647===_0x4816de)break;else _0x25a903['push'](_0x25a903['shift']());}catch(_0x4cdc6b){_0x25a903['push'](_0x25a903['shift']());}}}(_0x4607,0x4e0dd));import{ContextPlugin as _0x2763a3}from'ckeditor5/src/core.js';import _0x1ddf45 from'./annotation.js';import _0x197c74 from'./annotationcollection.js';function _0x4607(){const _0x555cbc=['deactivateAll','pluginName','512440xvXxpx','isVisible','element','focusTracker','stopListening','activate','82464kEUEno','1493541LCvLdU','getByInnerView','remove','refreshVisibility','917860ERrmWx','18ERSozv','activeAnnotations','552834JuZEwe','refreshPositioning','_addActiveAnnotation','createAnnotation','add','fire','createAnnotationView','_visibleAnnotations','change:isVisible','1950140qYKdkP','312064QHPUZP','delete','source','has','_activateAnnotation','listenTo','_bindAnnotationsToVisibleAnnotations','view','destroy','collection','set','Annotations','_removeActiveAnnotation','_deactivateAllAnnotations'];_0x4607=function(){return _0x555cbc;};return _0x4607();}import _0x2a4789 from'./view/annotationview.js';export default class b extends _0x2763a3{static get[_0x2b1880(0x1a5)](){const _0x303055=_0x2b1880;return _0x303055(0x1a1);}constructor(_0x2224c9){const _0x5c49b5=_0x2b1880;super(_0x2224c9),this[_0x5c49b5(0x19f)]=new _0x197c74(),this[_0x5c49b5(0x1bb)]=new _0x197c74(),this[_0x5c49b5(0x1a0)](_0x5c49b5(0x1b3),new Set()),this[_0x5c49b5(0x19c)]();}[_0x2b1880(0x1b8)](_0x399d76){const _0x16ea22=_0x2b1880;this[_0x16ea22(0x19f)][_0x16ea22(0x1b8)](_0x399d76);}[_0x2b1880(0x1af)](_0x21efec){const _0x11d342=_0x2b1880;this[_0x11d342(0x19f)][_0x11d342(0x1af)](_0x21efec),_0x21efec[_0x11d342(0x19e)]();}[_0x2b1880(0x1b0)](){const _0x4eaae2=_0x2b1880;for(const _0x238428 of this[_0x4eaae2(0x19f)])_0x238428[_0x4eaae2(0x1b0)]();}[_0x2b1880(0x1b5)](){const _0x2802e4=_0x2b1880;this[_0x2802e4(0x1bb)][_0x2802e4(0x1b5)]();}[_0x2b1880(0x1ae)](_0x4684ac){const _0x554d3b=_0x2b1880;return this[_0x554d3b(0x19f)][_0x554d3b(0x1ae)](_0x4684ac);}[_0x2b1880(0x1a4)](){const _0x52794d=_0x2b1880;this[_0x52794d(0x1b9)](_0x52794d(0x1a3));}[_0x2b1880(0x19e)](){const _0x4f5222=_0x2b1880;for(const _0x491617 of this[_0x4f5222(0x19f)])_0x491617[_0x4f5222(0x19e)]();this[_0x4f5222(0x1bb)][_0x4f5222(0x19e)](),this[_0x4f5222(0x19f)][_0x4f5222(0x19e)](),super[_0x4f5222(0x19e)]();}[_0x2b1880(0x1ab)](_0x59c98a){const _0x153364=_0x2b1880;this[_0x153364(0x1b9)](_0x153364(0x19a),_0x59c98a);}[_0x2b1880(0x1b7)](_0x11122c){return new _0x1ddf45(_0x11122c);}[_0x2b1880(0x1ba)](_0x5870e0,_0x4b689b){return new _0x2a4789(_0x5870e0,_0x4b689b);}[_0x2b1880(0x1b6)](_0x2fda66){const _0x1c4c8a=_0x2b1880,_0x411613=new Set(this[_0x1c4c8a(0x1b3)]);_0x411613[_0x1c4c8a(0x1b8)](_0x2fda66),this[_0x1c4c8a(0x1b3)]=_0x411613;}[_0x2b1880(0x1a2)](_0x30495b){const _0x579ccc=_0x2b1880,_0x153117=new Set(this[_0x579ccc(0x1b3)]);_0x153117[_0x579ccc(0x197)](_0x30495b),this[_0x579ccc(0x1b3)]=_0x153117;}[_0x2b1880(0x19c)](){const _0x94ab12=_0x2b1880,_0x42ba70=this[_0x94ab12(0x19f)],_0x337e20=this[_0x94ab12(0x1bb)];function _0x4be06b(_0x36a394){const _0x195abc=_0x94ab12,_0x5a649e=_0x36a394[_0x195abc(0x198)];_0x5a649e[_0x195abc(0x1a7)]&&!_0x337e20[_0x195abc(0x199)](_0x5a649e)?_0x337e20[_0x195abc(0x1b8)](_0x5a649e):!_0x5a649e[_0x195abc(0x1a7)]&&_0x337e20[_0x195abc(0x199)](_0x5a649e)&&_0x337e20[_0x195abc(0x1af)](_0x5a649e),_0x5a649e[_0x195abc(0x19d)][_0x195abc(0x1a9)][_0x195abc(0x1af)](_0x5a649e[_0x195abc(0x19d)][_0x195abc(0x1a8)]),_0x5a649e[_0x195abc(0x19d)][_0x195abc(0x1a9)][_0x195abc(0x1b8)](_0x5a649e[_0x195abc(0x19d)][_0x195abc(0x1a8)]);}this[_0x94ab12(0x19b)](_0x42ba70,_0x94ab12(0x1b8),(_0x663b1b,_0x347e3e)=>{const _0x53c800=_0x94ab12;_0x347e3e[_0x53c800(0x1a7)]&&_0x337e20[_0x53c800(0x1b8)](_0x347e3e),this[_0x53c800(0x19b)](_0x347e3e,_0x53c800(0x1bc),_0x4be06b);}),this[_0x94ab12(0x19b)](_0x42ba70,_0x94ab12(0x1af),(_0x2c3d2f,_0x2f8b0f)=>{const _0x49e914=_0x94ab12;_0x337e20[_0x49e914(0x199)](_0x2f8b0f)&&_0x337e20[_0x49e914(0x1af)](_0x2f8b0f),this[_0x49e914(0x1aa)](_0x2f8b0f,_0x49e914(0x1bc),_0x4be06b);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29ab=['context','find','type','length','activate','set','_removeActiveAnnotation','delete','listenTo','_assertAnnotationDoesNotBelongToMultipleUIs','annotationsuis-register-invalid-interface','_uis','deactivate','register','function','deactivateAll','push','destroy','_uisData','activeUIs','get','filter','annotationsuis-missing-ui','switchTo','pluginName','change:activeAnnotation','_setSelectedAnnotations','detach','_addActiveAnnotation','requires','_visibleAnnotations','refilterAnnotations','add','attach','setActiveAnnotation','annotationsuis-register-already-registered','size','remove','from','collection','plugins','has'];(function(_0x20b86f,_0x29ab05){const _0x476d44=function(_0x5d92d2){while(--_0x5d92d2){_0x20b86f['push'](_0x20b86f['shift']());}};_0x476d44(++_0x29ab05);}(_0x29ab,0xed));const _0x476d=function(_0x20b86f,_0x29ab05){_0x20b86f=_0x20b86f-0x0;let _0x476d44=_0x29ab[_0x20b86f];return _0x476d44;};import{ContextPlugin as _0xdf4e48}from'ckeditor5/src/core.js';import{CKEditorError as _0x26eb3d}from'ckeditor5/src/utils.js';import _0x503867,{bindAnnotationCollections as _0x444311}from'./annotationcollection.js';import _0x35ab0b from'./annotations.js';export default class j extends _0xdf4e48{static get[_0x476d('0x2')](){return[_0x35ab0b];}static get[_0x476d('0x27')](){return'AnnotationsUIs';}constructor(_0x2fea17){super(_0x2fea17),this['activeUIs']=new Set(),this[_0x476d('0x1a')]=new Map(),this[_0x476d('0x21')]=new Map();}['init'](){const _0x30eca1=this['context']['plugins'][_0x476d('0x23')](_0x35ab0b);this[_0x476d('0x17')](_0x30eca1,'_activateAnnotation',(_0x782d2,_0x13825d)=>{for(const _0x3f415e of this['activeUIs']){const _0x439320=this[_0x476d('0x1a')]['get'](_0x3f415e);(0x0,this[_0x476d('0x21')]['get'](_0x3f415e)[_0x476d('0x24')])(_0x13825d)&&_0x439320['setActiveAnnotation'](_0x13825d);}}),this[_0x476d('0x17')](_0x30eca1,'_deactivateAllAnnotations',()=>{for(const _0x5c6a53 of this['activeUIs']){this[_0x476d('0x1a')][_0x476d('0x23')](_0x5c6a53)['setActiveAnnotation'](null);}}),this[_0x476d('0x17')](_0x30eca1[_0x476d('0x3')],_0x476d('0x5'),(_0x3bd5b1,_0x1138d6)=>{this[_0x476d('0x18')](_0x1138d6);});}['hasActive'](){return this[_0x476d('0x22')][_0x476d('0x9')]>0x0;}['isActive'](_0x1b54db){return this[_0x476d('0x22')][_0x476d('0xe')](_0x1b54db);}[_0x476d('0x13')](_0x48ab3b,_0x5bbecd=()=>!0x0){const _0x51a3f3=this['context'][_0x476d('0xd')][_0x476d('0x23')](_0x35ab0b);if(!this[_0x476d('0x1a')][_0x476d('0xe')](_0x48ab3b))throw new _0x26eb3d(_0x476d('0x25'),this,{'uiName':_0x48ab3b});this['isActive'](_0x48ab3b)&&this[_0x476d('0x1b')](_0x48ab3b),this[_0x476d('0x22')][_0x476d('0x5')](_0x48ab3b);const _0x2c82d5=new _0x503867(),_0x595a4a=_0x51a3f3[_0x476d('0x3')];_0x444311({'source':_0x595a4a,'target':_0x2c82d5,'filter':_0x5bbecd}),this[_0x476d('0x21')]['set'](_0x48ab3b,{'collection':_0x2c82d5,'filter':_0x5bbecd});const _0x598e9a=this[_0x476d('0x1a')][_0x476d('0x23')](_0x48ab3b);_0x598e9a[_0x476d('0x6')](_0x2c82d5),this[_0x476d('0x17')](_0x598e9a,_0x476d('0x28'),(_0x54fba2,_0x404477,_0x53b9f8,_0xcde575)=>{_0xcde575&&_0x51a3f3[_0x476d('0x15')](_0xcde575),_0x53b9f8&&_0x51a3f3[_0x476d('0x1')](_0x53b9f8);});}[_0x476d('0x1b')](_0x4efb3b){if(this[_0x476d('0x22')]['delete'](_0x4efb3b),!this[_0x476d('0x1a')]['has'](_0x4efb3b))throw new _0x26eb3d(_0x476d('0x25'),this,{'uiName':_0x4efb3b});const _0x1d1595=this[_0x476d('0x1a')][_0x476d('0x23')](_0x4efb3b);_0x1d1595[_0x476d('0x0')](),this['stopListening'](_0x1d1595),this[_0x476d('0x21')]['get'](_0x4efb3b)[_0x476d('0xc')]['destroy'](),this[_0x476d('0x21')][_0x476d('0x16')](_0x4efb3b);}[_0x476d('0x26')](_0x16d24c){if(!this['_uis']['has'](_0x16d24c))throw new _0x26eb3d(_0x476d('0x25'),this,{'uiName':_0x16d24c});const _0x13a25c=this[_0x476d('0xf')][_0x476d('0xd')][_0x476d('0x23')](_0x35ab0b),_0x3aee7b=Array[_0x476d('0xb')](_0x13a25c['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x16d24c);const _0x4fa77d=this[_0x476d('0x1a')]['get'](_0x16d24c);_0x4fa77d['setActiveAnnotation'](_0x3aee7b),_0x4fa77d[_0x476d('0x29')]&&_0x3aee7b&&_0x4fa77d[_0x476d('0x29')]([_0x3aee7b]);}[_0x476d('0x1e')](){for(const _0x5a591b of this[_0x476d('0x22')])this[_0x476d('0x1b')](_0x5a591b);}[_0x476d('0x1c')](_0x2d631b,_0x3aa24f){if(this['_uis'][_0x476d('0xe')](_0x2d631b))throw new _0x26eb3d(_0x476d('0x8'));if(_0x476d('0x1d')!=typeof _0x3aa24f[_0x476d('0x6')]||_0x476d('0x1d')!=typeof _0x3aa24f[_0x476d('0x0')]||_0x476d('0x1d')!=typeof _0x3aa24f[_0x476d('0x7')])throw new _0x26eb3d(_0x476d('0x19'),null);this[_0x476d('0x1a')][_0x476d('0x14')](_0x2d631b,_0x3aa24f);}[_0x476d('0x4')](){const _0x1a5c5e=this['context'][_0x476d('0xd')][_0x476d('0x23')](_0x35ab0b)[_0x476d('0xc')],_0x41a6d2=new Map(),_0x4f3a02=Array[_0x476d('0xb')](this[_0x476d('0x22')]);for(const _0x3866ce of this[_0x476d('0x22')]){const _0x4bd52f=this[_0x476d('0x21')][_0x476d('0x23')](_0x3866ce)[_0x476d('0xc')];for(const _0x5c810a of _0x4bd52f)_0x41a6d2[_0x476d('0x14')](_0x5c810a,_0x3866ce);}for(const _0x4d72c8 of _0x1a5c5e){const _0x4b8ee7=_0x41a6d2['get'](_0x4d72c8);this[_0x476d('0x18')](_0x4d72c8);const _0x555337=_0x4f3a02[_0x476d('0x10')](_0x3209a7=>this[_0x476d('0x21')][_0x476d('0x23')](_0x3209a7)['filter'](_0x4d72c8));_0x4b8ee7!==_0x555337&&(_0x4b8ee7&&this[_0x476d('0x21')][_0x476d('0x23')](_0x4b8ee7)[_0x476d('0xc')][_0x476d('0xa')](_0x4d72c8),_0x555337&&this['_uisData'][_0x476d('0x23')](_0x555337)[_0x476d('0xc')]['add'](_0x4d72c8));}}[_0x476d('0x20')](){this[_0x476d('0x1e')](),super['destroy']();}[_0x476d('0x18')](_0x53ba6a){const _0x272bc4=[];for(const _0x1195ce of this[_0x476d('0x22')]){(0x0,this[_0x476d('0x21')][_0x476d('0x23')](_0x1195ce)[_0x476d('0x24')])(_0x53ba6a)&&_0x272bc4[_0x476d('0x1f')](_0x1195ce);}if(_0x272bc4[_0x476d('0x12')]>0x1)throw new _0x26eb3d('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x272bc4,'annotationType':_0x53ba6a[_0x476d('0x11')]});}}
23
+ const _0x16f496=_0x4165;(function(_0x3383f1,_0x11fd84){const _0x565c6c=_0x4165,_0x539003=_0x3383f1();while(!![]){try{const _0x20b2bc=parseInt(_0x565c6c(0x11f))/0x1+-parseInt(_0x565c6c(0x119))/0x2*(-parseInt(_0x565c6c(0x120))/0x3)+parseInt(_0x565c6c(0x12a))/0x4*(-parseInt(_0x565c6c(0x128))/0x5)+parseInt(_0x565c6c(0x10c))/0x6+-parseInt(_0x565c6c(0x13b))/0x7*(parseInt(_0x565c6c(0x124))/0x8)+-parseInt(_0x565c6c(0x11c))/0x9+parseInt(_0x565c6c(0x10e))/0xa;if(_0x20b2bc===_0x11fd84)break;else _0x539003['push'](_0x539003['shift']());}catch(_0x2d606b){_0x539003['push'](_0x539003['shift']());}}}(_0x5066,0xf1eef));import{ContextPlugin as _0x13fbad}from'ckeditor5/src/core.js';import{CKEditorError as _0x1b7512}from'ckeditor5/src/utils.js';function _0x5066(){const _0x28e97d=['_activateAnnotation','register','_deactivateAllAnnotations','filter','deactivate','get','931758icDFLF','_setSelectedAnnotations','14395270IKiZZf','destroy','plugins','_removeActiveAnnotation','push','annotationsuis-register-invalid-interface','set','attach','init','_visibleAnnotations','setActiveAnnotation','2sjHyha','find','annotationsuis-register-already-registered','6391584zWYHBf','switchTo','remove','1833335yRgGIu','3268926HGYFUS','context','isActive','hasActive','96VPonqi','_assertAnnotationDoesNotBelongToMultipleUIs','length','annotationsuis-annotation-mismatch','3170dPbKXp','change:activeAnnotation','9460GJgDpD','listenTo','type','_uisData','delete','detach','refilterAnnotations','activeUIs','from','size','pluginName','has','stopListening','add','deactivateAll','AnnotationsUIs','activate','768397ctaKwu','function','annotationsuis-missing-ui','requires','activeAnnotations','_uis','_addActiveAnnotation','collection'];_0x5066=function(){return _0x28e97d;};return _0x5066();}import _0x3d7b35,{bindAnnotationCollections as _0x40d3d8}from'./annotationcollection.js';import _0x43c000 from'./annotations.js';function _0x4165(_0x11d500,_0x3f3528){const _0x506691=_0x5066();return _0x4165=function(_0x4165f9,_0x456371){_0x4165f9=_0x4165f9-0x103;let _0x1fdaab=_0x506691[_0x4165f9];return _0x1fdaab;},_0x4165(_0x11d500,_0x3f3528);}export default class j extends _0x13fbad{static get[_0x16f496(0x13e)](){return[_0x43c000];}static get[_0x16f496(0x134)](){const _0x29e5be=_0x16f496;return _0x29e5be(0x139);}constructor(_0x5056e4){const _0x773c58=_0x16f496;super(_0x5056e4),this[_0x773c58(0x131)]=new Set(),this[_0x773c58(0x103)]=new Map(),this[_0x773c58(0x12d)]=new Map();}[_0x16f496(0x116)](){const _0x2b58ff=_0x16f496,_0x5d1f1f=this[_0x2b58ff(0x121)][_0x2b58ff(0x110)][_0x2b58ff(0x10b)](_0x43c000);this[_0x2b58ff(0x12b)](_0x5d1f1f,_0x2b58ff(0x106),(_0x2116f1,_0x31ab7f)=>{const _0x500d6c=_0x2b58ff;for(const _0x258460 of this[_0x500d6c(0x131)]){const _0xc5633d=this[_0x500d6c(0x103)][_0x500d6c(0x10b)](_0x258460);(0x0,this[_0x500d6c(0x12d)][_0x500d6c(0x10b)](_0x258460)[_0x500d6c(0x109)])(_0x31ab7f)&&_0xc5633d[_0x500d6c(0x118)](_0x31ab7f);}}),this[_0x2b58ff(0x12b)](_0x5d1f1f,_0x2b58ff(0x108),()=>{const _0x337f05=_0x2b58ff;for(const _0x3660d3 of this[_0x337f05(0x131)]){this[_0x337f05(0x103)][_0x337f05(0x10b)](_0x3660d3)[_0x337f05(0x118)](null);}}),this[_0x2b58ff(0x12b)](_0x5d1f1f[_0x2b58ff(0x117)],_0x2b58ff(0x137),(_0x6cce17,_0x3b1d25)=>{const _0xd6ee4a=_0x2b58ff;this[_0xd6ee4a(0x125)](_0x3b1d25);});}[_0x16f496(0x123)](){const _0x558374=_0x16f496;return this[_0x558374(0x131)][_0x558374(0x133)]>0x0;}[_0x16f496(0x122)](_0x6d4b99){const _0x20d4ba=_0x16f496;return this[_0x20d4ba(0x131)][_0x20d4ba(0x135)](_0x6d4b99);}[_0x16f496(0x13a)](_0xec189,_0x39861f=()=>!0x0){const _0x5523a3=_0x16f496,_0x8b48e2=this[_0x5523a3(0x121)][_0x5523a3(0x110)][_0x5523a3(0x10b)](_0x43c000);if(!this[_0x5523a3(0x103)][_0x5523a3(0x135)](_0xec189))throw new _0x1b7512(_0x5523a3(0x13d),this,{'uiName':_0xec189});this[_0x5523a3(0x122)](_0xec189)&&this[_0x5523a3(0x10a)](_0xec189),this[_0x5523a3(0x131)][_0x5523a3(0x137)](_0xec189);const _0x575627=new _0x3d7b35(),_0x1776f5=_0x8b48e2[_0x5523a3(0x117)];_0x40d3d8({'source':_0x1776f5,'target':_0x575627,'filter':_0x39861f}),this[_0x5523a3(0x12d)][_0x5523a3(0x114)](_0xec189,{'collection':_0x575627,'filter':_0x39861f});const _0x35d6b2=this[_0x5523a3(0x103)][_0x5523a3(0x10b)](_0xec189);_0x35d6b2[_0x5523a3(0x115)](_0x575627),this[_0x5523a3(0x12b)](_0x35d6b2,_0x5523a3(0x129),(_0x4d19b8,_0xc957f6,_0x4c77b2,_0x550fdc)=>{const _0x26dc46=_0x5523a3;_0x550fdc&&_0x8b48e2[_0x26dc46(0x111)](_0x550fdc),_0x4c77b2&&_0x8b48e2[_0x26dc46(0x104)](_0x4c77b2);});}[_0x16f496(0x10a)](_0x3c2f97){const _0x21b427=_0x16f496;if(this[_0x21b427(0x131)][_0x21b427(0x12e)](_0x3c2f97),!this[_0x21b427(0x103)][_0x21b427(0x135)](_0x3c2f97))throw new _0x1b7512(_0x21b427(0x13d),this,{'uiName':_0x3c2f97});const _0x282723=this[_0x21b427(0x103)][_0x21b427(0x10b)](_0x3c2f97);_0x282723[_0x21b427(0x12f)](),this[_0x21b427(0x136)](_0x282723),this[_0x21b427(0x12d)][_0x21b427(0x10b)](_0x3c2f97)[_0x21b427(0x105)][_0x21b427(0x10f)](),this[_0x21b427(0x12d)][_0x21b427(0x12e)](_0x3c2f97);}[_0x16f496(0x11d)](_0x305fbe){const _0x258cfa=_0x16f496;if(!this[_0x258cfa(0x103)][_0x258cfa(0x135)](_0x305fbe))throw new _0x1b7512(_0x258cfa(0x13d),this,{'uiName':_0x305fbe});const _0x24f1c6=this[_0x258cfa(0x121)][_0x258cfa(0x110)][_0x258cfa(0x10b)](_0x43c000),_0x37fb85=Array[_0x258cfa(0x132)](_0x24f1c6[_0x258cfa(0x13f)])[0x0]||null;this[_0x258cfa(0x138)](),this[_0x258cfa(0x13a)](_0x305fbe);const _0xf2a924=this[_0x258cfa(0x103)][_0x258cfa(0x10b)](_0x305fbe);_0xf2a924[_0x258cfa(0x118)](_0x37fb85),_0xf2a924[_0x258cfa(0x10d)]&&_0x37fb85&&_0xf2a924[_0x258cfa(0x10d)]([_0x37fb85]);}[_0x16f496(0x138)](){const _0xcfc36b=_0x16f496;for(const _0x3472d4 of this[_0xcfc36b(0x131)])this[_0xcfc36b(0x10a)](_0x3472d4);}[_0x16f496(0x107)](_0x462b9c,_0x25f521){const _0x8dbba3=_0x16f496;if(this[_0x8dbba3(0x103)][_0x8dbba3(0x135)](_0x462b9c))throw new _0x1b7512(_0x8dbba3(0x11b));if(_0x8dbba3(0x13c)!=typeof _0x25f521[_0x8dbba3(0x115)]||_0x8dbba3(0x13c)!=typeof _0x25f521[_0x8dbba3(0x12f)]||_0x8dbba3(0x13c)!=typeof _0x25f521[_0x8dbba3(0x118)])throw new _0x1b7512(_0x8dbba3(0x113),null);this[_0x8dbba3(0x103)][_0x8dbba3(0x114)](_0x462b9c,_0x25f521);}[_0x16f496(0x130)](){const _0xd973e4=_0x16f496,_0x4b0679=this[_0xd973e4(0x121)][_0xd973e4(0x110)][_0xd973e4(0x10b)](_0x43c000)[_0xd973e4(0x105)],_0x19b5c7=new Map(),_0x14523f=Array[_0xd973e4(0x132)](this[_0xd973e4(0x131)]);for(const _0xb68a8d of this[_0xd973e4(0x131)]){const _0x35a888=this[_0xd973e4(0x12d)][_0xd973e4(0x10b)](_0xb68a8d)[_0xd973e4(0x105)];for(const _0x493fa2 of _0x35a888)_0x19b5c7[_0xd973e4(0x114)](_0x493fa2,_0xb68a8d);}for(const _0x5f2343 of _0x4b0679){const _0x47fcf2=_0x19b5c7[_0xd973e4(0x10b)](_0x5f2343);this[_0xd973e4(0x125)](_0x5f2343);const _0x1f4243=_0x14523f[_0xd973e4(0x11a)](_0x1564a8=>this[_0xd973e4(0x12d)][_0xd973e4(0x10b)](_0x1564a8)[_0xd973e4(0x109)](_0x5f2343));_0x47fcf2!==_0x1f4243&&(_0x47fcf2&&this[_0xd973e4(0x12d)][_0xd973e4(0x10b)](_0x47fcf2)[_0xd973e4(0x105)][_0xd973e4(0x11e)](_0x5f2343),_0x1f4243&&this[_0xd973e4(0x12d)][_0xd973e4(0x10b)](_0x1f4243)[_0xd973e4(0x105)][_0xd973e4(0x137)](_0x5f2343));}}[_0x16f496(0x10f)](){const _0x46c6b1=_0x16f496;this[_0x46c6b1(0x138)](),super[_0x46c6b1(0x10f)]();}[_0x16f496(0x125)](_0x466f5c){const _0x3158a7=_0x16f496,_0x1a038d=[];for(const _0x398605 of this[_0x3158a7(0x131)]){(0x0,this[_0x3158a7(0x12d)][_0x3158a7(0x10b)](_0x398605)[_0x3158a7(0x109)])(_0x466f5c)&&_0x1a038d[_0x3158a7(0x112)](_0x398605);}if(_0x1a038d[_0x3158a7(0x126)]>0x1)throw new _0x1b7512(_0x3158a7(0x127),null,{'matchedUIs':_0x1a038d,'annotationType':_0x466f5c[_0x3158a7(0x12c)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdd6d=['blur','set','fire','isCollapsed','remove','refreshSelectedViews','change:isFocused','listenTo','cancel','hasDomSelection','containsRange','isEqual','annotation','editing','editor','uiUpdate','refresh','selection','_editorAnnotationsData','getOrderedSelectedAnnotations','sort','document','add','update','range','directChange','isReadOnly','innerView','_editorAnnotations','element','EditorAnnotations','get','getByInnerView','has','requires','view','model','_dataCollectors','collection','focusTracker','addSourceCollector','pluginName','editorannotations-invalid-source-callback','init','change:range','getRanges'];(function(_0x86d3e4,_0xdd6dcf){const _0x18462b=function(_0x21c2bd){while(--_0x21c2bd){_0x86d3e4['push'](_0x86d3e4['shift']());}};_0x18462b(++_0xdd6dcf);}(_0xdd6d,0x87));const _0x1846=function(_0x86d3e4,_0xdd6dcf){_0x86d3e4=_0x86d3e4-0x0;let _0x18462b=_0xdd6d[_0x86d3e4];return _0x18462b;};import{Plugin as _0x26b331}from'ckeditor5/src/core.js';import{CKEditorError as _0x5e2158}from'ckeditor5/src/utils.js';import{debounce as _0x1e4996}from'lodash-es';import _0x534d21 from'./annotations.js';export default class k extends _0x26b331{static get[_0x1846('0x25')](){return[_0x534d21];}static get[_0x1846('0x2c')](){return _0x1846('0x21');}constructor(_0x398050){super(_0x398050),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}[_0x1846('0x0')](){const _0x1167ba=this[_0x1846('0x11')],_0x1a06c1=_0x1167ba[_0x1846('0x27')][_0x1846('0x18')]['selection'],_0x5b1e93=_0x1e4996(()=>this[_0x1846('0x8')](),0xa);_0x1a06c1['on'](_0x1846('0x1'),(_0x2b28e7,_0x5727c3)=>{_0x5727c3[_0x1846('0x1c')]&&(_0x5b1e93[_0x1846('0xb')](),this[_0x1846('0x8')]());}),this[_0x1846('0xa')](_0x1167ba[_0x1846('0x10')]['view']['document'],_0x1846('0x9'),(_0x8f03a2,_0x26861f,_0x3330)=>{_0x3330&&_0x5b1e93();}),this[_0x1846('0xa')](_0x1167ba['ui'][_0x1846('0x2a')],_0x1846('0x9'),(_0x48abdf,_0x4fb235,_0x613d7f)=>{_0x613d7f||_0x1167ba[_0x1846('0x1d')]||this[_0x1846('0x5')](_0x1846('0x3'),{'isAnnotationTracked':_0x5bb4f4=>this[_0x1846('0x15')][_0x1846('0x24')](_0x5bb4f4[_0x1846('0x1e')])});}),this[_0x1846('0xa')](this[_0x1846('0x11')]['ui'],_0x1846('0x1a'),()=>this[_0x1846('0x5')](_0x1846('0x12')));}['registerAnnotation'](_0x5c1aa1){if(this[_0x1846('0x1f')]['has'](_0x5c1aa1[_0x1846('0x26')]))return;this[_0x1846('0x1f')][_0x1846('0x19')](_0x5c1aa1[_0x1846('0x26')]),this[_0x1846('0x11')]['ui']['focusTracker'][_0x1846('0x19')](_0x5c1aa1[_0x1846('0x26')][_0x1846('0x20')]);const _0x24e807=this[_0x1846('0x11')]['plugins'][_0x1846('0x22')](_0x534d21);this[_0x1846('0xa')](_0x24e807[_0x1846('0x29')],_0x1846('0x7'),(_0x1ffc62,_0x16a6b5)=>{this[_0x1846('0x11')]['ui']['focusTracker'][_0x1846('0x7')](_0x16a6b5['view'][_0x1846('0x20')]),this[_0x1846('0x1f')]['delete'](_0x16a6b5[_0x1846('0x26')]);});}[_0x1846('0xc')](){return this[_0x1846('0x11')][_0x1846('0x10')][_0x1846('0x26')][_0x1846('0xc')];}[_0x1846('0x2b')](_0x54abd3){if('function'!=typeof _0x54abd3)throw new _0x5e2158(_0x1846('0x2d'));this[_0x1846('0x28')][_0x1846('0x19')](_0x54abd3);}['refreshSelectedViews'](){this['fire'](_0x1846('0x13'));}[_0x1846('0x16')]({activeAnnotation:_0x44f4e3,annotations:_0x5a274f}){const _0x4f891d=[],_0x535872=this[_0x1846('0x11')][_0x1846('0x27')][_0x1846('0x18')][_0x1846('0x14')],_0x343fc8=Array['from'](_0x535872[_0x1846('0x2')]());for(const [_0xcf87bc,_0x39bfc5]of this[_0x1846('0x15')]){const _0x411bc5=_0xcb811f(_0x39bfc5),_0x5ac696=_0x5a274f[_0x1846('0x23')](_0xcf87bc);_0x411bc5&&_0x5ac696&&_0x4f891d['push']({'annotation':_0x5ac696,'range':_0x411bc5});}function _0xcb811f(_0x441fb7){for(const _0x47316a of _0x441fb7)for(const _0x28678c of _0x343fc8)if(_0x47316a['containsRange'](_0x28678c,!_0x535872[_0x1846('0x6')]))return _0x47316a;return null;}return _0x4f891d[_0x1846('0x17')]((_0x43b404,_0x399e11)=>{const _0x21bd60=_0x43b404[_0x1846('0x1b')],_0x368929=_0x399e11['range'];if(!_0x21bd60[_0x1846('0xe')](_0x368929)){if(_0x21bd60['containsRange'](_0x368929,!0x0))return 0x1;if(_0x368929[_0x1846('0xd')](_0x21bd60,!0x0))return-0x1;}return _0x43b404[_0x1846('0xf')]==_0x44f4e3?-0x1:_0x399e11['annotation']==_0x44f4e3?0x1:0x0;})['map'](_0x4a6f54=>_0x4a6f54[_0x1846('0xf')]);}get[_0x1846('0x15')](){const _0x4212f4=new Map();for(const _0x327636 of Array['from'](this['_dataCollectors']))for(const [_0x4e0412,_0x385dce]of _0x327636())_0x4212f4[_0x1846('0x4')](_0x4e0412,_0x385dce);return _0x4212f4;}}
23
+ const _0x1dda10=_0x2123;(function(_0x1e38e4,_0x15e5bc){const _0x12cb8b=_0x2123,_0x613e13=_0x1e38e4();while(!![]){try{const _0x9705b6=parseInt(_0x12cb8b(0xd4))/0x1+-parseInt(_0x12cb8b(0xd8))/0x2*(-parseInt(_0x12cb8b(0xe3))/0x3)+parseInt(_0x12cb8b(0xd6))/0x4+-parseInt(_0x12cb8b(0xd9))/0x5*(parseInt(_0x12cb8b(0xd1))/0x6)+parseInt(_0x12cb8b(0xfa))/0x7*(-parseInt(_0x12cb8b(0xe6))/0x8)+parseInt(_0x12cb8b(0xd5))/0x9+-parseInt(_0x12cb8b(0xf3))/0xa;if(_0x9705b6===_0x15e5bc)break;else _0x613e13['push'](_0x613e13['shift']());}catch(_0x1a4f23){_0x613e13['push'](_0x613e13['shift']());}}}(_0x324d,0x2d506));import{Plugin as _0x12daac}from'ckeditor5/src/core.js';function _0x2123(_0x507d2b,_0x17f7f7){const _0x324dcf=_0x324d();return _0x2123=function(_0x2123cf,_0x1aa6fe){_0x2123cf=_0x2123cf-0xbc;let _0x139407=_0x324dcf[_0x2123cf];return _0x139407;},_0x2123(_0x507d2b,_0x17f7f7);}import{CKEditorError as _0x543a7d}from'ckeditor5/src/utils.js';import{debounce as _0x3fac22}from'lodash-es';import _0x5a9632 from'./annotations.js';function _0x324d(){const _0x8e5894=['refreshSelectedViews','18YGUEDF','65tLHyYb','requires','isReadOnly','add','init','set','selection','model','range','change:isFocused','120864DEyOsh','refresh','editing','1912jXJRqz','has','getRanges','getOrderedSelectedAnnotations','annotation','function','containsRange','remove','document','editorannotations-invalid-source-callback','getByInnerView','cancel','_dataCollectors','2268480dOWjoZ','blur','get','registerAnnotation','element','push','change:range','9779rwDObE','sort','listenTo','isEqual','update','plugins','pluginName','isCollapsed','_editorAnnotations','uiUpdate','delete','fire','EditorAnnotations','from','hasDomSelection','focusTracker','addSourceCollector','editor','_editorAnnotationsData','map','view','collection','95478lmMFoU','innerView','directChange','302961bNChNw','1653489jxmPxS','415728nNhKCK'];_0x324d=function(){return _0x8e5894;};return _0x324d();}export default class k extends _0x12daac{static get[_0x1dda10(0xda)](){return[_0x5a9632];}static get[_0x1dda10(0xc1)](){const _0x198783=_0x1dda10;return _0x198783(0xc7);}constructor(_0x3c7528){const _0x260fbc=_0x1dda10;super(_0x3c7528),this[_0x260fbc(0xf2)]=new Set(),this[_0x260fbc(0xc3)]=new Set();}[_0x1dda10(0xdd)](){const _0x3fdeb4=_0x1dda10,_0x25c445=this[_0x3fdeb4(0xcc)],_0x297875=_0x25c445[_0x3fdeb4(0xe0)][_0x3fdeb4(0xee)][_0x3fdeb4(0xdf)],_0x13838e=_0x3fac22(()=>this[_0x3fdeb4(0xd7)](),0xa);_0x297875['on'](_0x3fdeb4(0xf9),(_0x5734be,_0xaf8969)=>{const _0x4dcc28=_0x3fdeb4;_0xaf8969[_0x4dcc28(0xd3)]&&(_0x13838e[_0x4dcc28(0xf1)](),this[_0x4dcc28(0xd7)]());}),this[_0x3fdeb4(0xbd)](_0x25c445[_0x3fdeb4(0xe5)][_0x3fdeb4(0xcf)][_0x3fdeb4(0xee)],_0x3fdeb4(0xe2),(_0x3b92b0,_0x4e03be,_0xc060a1)=>{_0xc060a1&&_0x13838e();}),this[_0x3fdeb4(0xbd)](_0x25c445['ui'][_0x3fdeb4(0xca)],_0x3fdeb4(0xe2),(_0x8a28c5,_0xa1aa5b,_0x5e5472)=>{const _0x5dfd1c=_0x3fdeb4;_0x5e5472||_0x25c445[_0x5dfd1c(0xdb)]||this[_0x5dfd1c(0xc6)](_0x5dfd1c(0xf4),{'isAnnotationTracked':_0x28cba7=>this[_0x5dfd1c(0xcd)][_0x5dfd1c(0xe7)](_0x28cba7[_0x5dfd1c(0xd2)])});}),this[_0x3fdeb4(0xbd)](this[_0x3fdeb4(0xcc)]['ui'],_0x3fdeb4(0xbf),()=>this[_0x3fdeb4(0xc6)](_0x3fdeb4(0xc4)));}[_0x1dda10(0xf6)](_0x21ff33){const _0x1cb7ea=_0x1dda10;if(this[_0x1cb7ea(0xc3)][_0x1cb7ea(0xe7)](_0x21ff33[_0x1cb7ea(0xcf)]))return;this[_0x1cb7ea(0xc3)][_0x1cb7ea(0xdc)](_0x21ff33[_0x1cb7ea(0xcf)]),this[_0x1cb7ea(0xcc)]['ui'][_0x1cb7ea(0xca)][_0x1cb7ea(0xdc)](_0x21ff33[_0x1cb7ea(0xcf)][_0x1cb7ea(0xf7)]);const _0x5512c1=this[_0x1cb7ea(0xcc)][_0x1cb7ea(0xc0)][_0x1cb7ea(0xf5)](_0x5a9632);this[_0x1cb7ea(0xbd)](_0x5512c1[_0x1cb7ea(0xd0)],_0x1cb7ea(0xed),(_0x1761ab,_0x228537)=>{const _0x575b13=_0x1cb7ea;this[_0x575b13(0xcc)]['ui'][_0x575b13(0xca)][_0x575b13(0xed)](_0x228537[_0x575b13(0xcf)][_0x575b13(0xf7)]),this[_0x575b13(0xc3)][_0x575b13(0xc5)](_0x228537[_0x575b13(0xcf)]);});}[_0x1dda10(0xc9)](){const _0x2d8b87=_0x1dda10;return this[_0x2d8b87(0xcc)][_0x2d8b87(0xe5)][_0x2d8b87(0xcf)][_0x2d8b87(0xc9)];}[_0x1dda10(0xcb)](_0x2146ee){const _0x222244=_0x1dda10;if(_0x222244(0xeb)!=typeof _0x2146ee)throw new _0x543a7d(_0x222244(0xef));this[_0x222244(0xf2)][_0x222244(0xdc)](_0x2146ee);}[_0x1dda10(0xd7)](){const _0x1dad43=_0x1dda10;this[_0x1dad43(0xc6)](_0x1dad43(0xe4));}[_0x1dda10(0xe9)]({activeAnnotation:_0x4de762,annotations:_0x4cd480}){const _0x26fa22=_0x1dda10,_0x3be9d1=[],_0x47352c=this[_0x26fa22(0xcc)][_0x26fa22(0xe0)][_0x26fa22(0xee)][_0x26fa22(0xdf)],_0x1ccf24=Array[_0x26fa22(0xc8)](_0x47352c[_0x26fa22(0xe8)]());for(const [_0x514058,_0x432951]of this[_0x26fa22(0xcd)]){const _0x4110c1=_0x2edff7(_0x432951),_0x307bf5=_0x4cd480[_0x26fa22(0xf0)](_0x514058);_0x4110c1&&_0x307bf5&&_0x3be9d1[_0x26fa22(0xf8)]({'annotation':_0x307bf5,'range':_0x4110c1});}function _0x2edff7(_0x305672){const _0x52bb2e=_0x26fa22;for(const _0x39ec2c of _0x305672)for(const _0x2beb20 of _0x1ccf24)if(_0x39ec2c[_0x52bb2e(0xec)](_0x2beb20,!_0x47352c[_0x52bb2e(0xc2)]))return _0x39ec2c;return null;}return _0x3be9d1[_0x26fa22(0xbc)]((_0x4cf54d,_0x1026c0)=>{const _0x1e87d6=_0x26fa22,_0x123f17=_0x4cf54d[_0x1e87d6(0xe1)],_0x101de8=_0x1026c0[_0x1e87d6(0xe1)];if(!_0x123f17[_0x1e87d6(0xbe)](_0x101de8)){if(_0x123f17[_0x1e87d6(0xec)](_0x101de8,!0x0))return 0x1;if(_0x101de8[_0x1e87d6(0xec)](_0x123f17,!0x0))return-0x1;}return _0x4cf54d[_0x1e87d6(0xea)]==_0x4de762?-0x1:_0x1026c0[_0x1e87d6(0xea)]==_0x4de762?0x1:0x0;})[_0x26fa22(0xce)](_0x1a87a0=>_0x1a87a0[_0x26fa22(0xea)]);}get[_0x1dda10(0xcd)](){const _0x46d233=_0x1dda10,_0x8351a4=new Map();for(const _0x2e1462 of Array[_0x46d233(0xc8)](this[_0x46d233(0xf2)]))for(const [_0x419fee,_0x4b8282]of _0x2e1462())_0x8351a4[_0x46d233(0xde)](_0x419fee,_0x4b8282);return _0x8351a4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3586=['destroy','domConverter','annotations','activeAnnotation','top','right','hasView','_selectedAnnotations','_forceRefresh','clear','showStack','stopListening','isAttached','_manuallyClosed','getFirstRange','remove','focus','isFocused','left','update','hasActive','_setSelectedAnnotations','collapse','isActive','Esc','editableElement','push','afterInit','every','inlineannotations-detach-not-attached','includes','selection','setActiveAnnotation','attach','document','getClientRects','has','visibleView','mousedown','inline','addObserver','width','add','register','focusTracker','editing','change:visibleView','context','viewRangeToDom','inlineannotations-attach-already-attached','delete','_closeAnnotation','_addedAnnotations','listenTo','editor','target','_getBalloonTargetForAnnotation','updatePosition','plugins','getByView','_removeAnnotationFromBalloon','get','_balloon','view','_addAnnotationToBalloon','set','blur','change:isFocused','detach','inlineannotations-not-allowed-with-context','bottom'];(function(_0x336a9c,_0x358667){const _0x5d1c91=function(_0x18b999){while(--_0x18b999){_0x336a9c['push'](_0x336a9c['shift']());}};_0x5d1c91(++_0x358667);}(_0x3586,0x13c));const _0x5d1c=function(_0x336a9c,_0x358667){_0x336a9c=_0x336a9c-0x0;let _0x5d1c91=_0x3586[_0x336a9c];return _0x5d1c91;};import{Plugin as _0x24933c}from'ckeditor5/src/core.js';import _0x224c74 from'./annotationsuis.js';import _0x3a7dd9 from'./editorannotations.js';import{ContextualBalloon as _0x3e76bd}from'ckeditor5/src/ui.js';import{MouseObserver as _0xb89697}from'ckeditor5/src/engine.js';import{CKEditorError as _0x117704,Rect as _0x4326a4}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x24933c{static get['requires'](){return[_0x3a7dd9,_0x3e76bd,_0x224c74];}static get['pluginName'](){return'InlineAnnotations';}constructor(_0x314098){super(_0x314098),_0x314098[_0x5d1c('0xd')][_0x5d1c('0x1f')][_0x5d1c('0x8')](_0xb89697),this['isAttached']=!0x1,this[_0x5d1c('0x21')](_0x5d1c('0x2a'),null),this[_0x5d1c('0x29')]=null,this['_manuallyClosed']=new Set(),this[_0x5d1c('0x1e')]=_0x314098[_0x5d1c('0x1a')][_0x5d1c('0x1d')](_0x3e76bd),this[_0x5d1c('0x14')]=new Set(),this['_selectedAnnotations']=[],this[_0x5d1c('0x2f')]=!0x1;}['init'](){const _0x102cf5=this[_0x5d1c('0x16')]['plugins'][_0x5d1c('0x1d')](_0x224c74);_0x102cf5[_0x5d1c('0xf')]===this['editor']&&(_0x102cf5[_0x5d1c('0xb')]('inline',this),this[_0x5d1c('0x16')]['keystrokes'][_0x5d1c('0x21')]('Esc',(_0x1e2bc7,_0x55187c)=>{const _0x1f4c90=this[_0x5d1c('0x1e')];if(this['isAttached']&&_0x1f4c90[_0x5d1c('0x5')]){const _0x2c4a17=this[_0x5d1c('0x29')][_0x5d1c('0x1b')](_0x1f4c90[_0x5d1c('0x5')]);_0x2c4a17&&this[_0x5d1c('0x13')](_0x2c4a17),_0x55187c();}}));}[_0x5d1c('0x42')](){const _0x193922=this[_0x5d1c('0x16')][_0x5d1c('0x1a')]['get'](_0x224c74);_0x193922[_0x5d1c('0xf')]===this[_0x5d1c('0x16')]&&(_0x193922[_0x5d1c('0x3b')]()||_0x193922['switchTo'](_0x5d1c('0x7')));}[_0x5d1c('0x0')](_0x1725d0){_0x1725d0!==this[_0x5d1c('0x2a')]&&(this[_0x5d1c('0x2a')]&&(this['activeAnnotation'][_0x5d1c('0x3e')]=!0x1),_0x1725d0&&this[_0x5d1c('0x16')]['ui'][_0x5d1c('0xc')][_0x5d1c('0x38')]&&(this[_0x5d1c('0x29')][_0x5d1c('0x4')](_0x1725d0)&&this[_0x5d1c('0x20')](_0x1725d0,!0x0),_0x1725d0[_0x5d1c('0x3e')]=!0x0),_0x1725d0||this[_0x5d1c('0x3c')]([]),this[_0x5d1c('0x2a')]=_0x1725d0);}[_0x5d1c('0x1')](_0x2b5a4a){this['annotations']=_0x2b5a4a;const _0x3b9f37=this[_0x5d1c('0x16')]['plugins'][_0x5d1c('0x1d')](_0x224c74),_0x3c387b=this[_0x5d1c('0x1e')];if(this[_0x5d1c('0x33')])throw new _0x117704(_0x5d1c('0x11'),this);if(_0x3b9f37[_0x5d1c('0xf')]!==this[_0x5d1c('0x16')])throw new _0x117704(_0x5d1c('0x25'),this);const _0x2eea50=this['editor']['plugins'][_0x5d1c('0x1d')](_0x3a7dd9);this[_0x5d1c('0x15')](_0x2eea50,'refresh',()=>{const _0x2f98ae=_0x2eea50['getOrderedSelectedAnnotations']({'annotations':this[_0x5d1c('0x29')],'activeAnnotation':this[_0x5d1c('0x2a')]});var _0x14bdd6,_0x75a66c;!this[_0x5d1c('0x2f')]&&(_0x14bdd6=_0x2f98ae,_0x75a66c=this[_0x5d1c('0x2e')],_0x14bdd6['length']===_0x75a66c['length']&&_0x14bdd6[_0x5d1c('0x43')](_0x2f9d9f=>_0x75a66c[_0x5d1c('0x45')](_0x2f9d9f)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x2f98ae),this[_0x5d1c('0x0')](_0x2f98ae[0x0]||null));}),this[_0x5d1c('0x15')](_0x2eea50,_0x5d1c('0x22'),(_0x50e2d2,{isAnnotationTracked:_0x24204b})=>{this[_0x5d1c('0x2a')]&&_0x24204b(this[_0x5d1c('0x2a')])&&(this[_0x5d1c('0x3c')]([]),this[_0x5d1c('0x0')](null));}),this[_0x5d1c('0x15')](this[_0x5d1c('0x16')]['ui'][_0x5d1c('0xc')],_0x5d1c('0x23'),(_0x510e08,_0x28f486,_0x44b467)=>{_0x44b467||this[_0x5d1c('0x0')](null);}),this['listenTo'](_0x2b5a4a,_0x5d1c('0x36'),(_0x5ee9bd,_0x42530e)=>{this[_0x5d1c('0x1c')](_0x42530e),_0x42530e===this[_0x5d1c('0x2a')]&&this[_0x5d1c('0x0')](null);}),this['listenTo'](_0x3c387b,_0x5d1c('0xe'),(_0x4e12d9,_0x773e1b,_0x5ef74f,_0x81eda3)=>{_0x81eda3&&this[_0x5d1c('0x32')](_0x81eda3);const _0x967751=_0x2b5a4a[_0x5d1c('0x1b')](_0x5ef74f);_0x5ef74f&&_0x967751&&(this[_0x5d1c('0x15')](_0x5ef74f,'change:height',()=>{_0x3c387b['updatePosition']();}),this[_0x5d1c('0x15')](_0x5ef74f,_0x5d1c('0x3f'),()=>{this['_closeAnnotation'](_0x967751),this[_0x5d1c('0x16')][_0x5d1c('0xd')]['view'][_0x5d1c('0x37')]();}),this[_0x5d1c('0x2a')]!==_0x967751&&this[_0x5d1c('0x0')](_0x967751));}),this[_0x5d1c('0x15')](this[_0x5d1c('0x16')]['ui'],_0x5d1c('0x3a'),()=>{_0x3c387b[_0x5d1c('0x5')]&&(_0x2b5a4a[_0x5d1c('0x1b')](_0x3c387b['visibleView'])&&_0x3c387b[_0x5d1c('0x19')]());}),this['listenTo'](this[_0x5d1c('0x16')][_0x5d1c('0xd')][_0x5d1c('0x1f')][_0x5d1c('0x2')],_0x5d1c('0x6'),()=>{this['_forceRefresh']=!0x0,this[_0x5d1c('0x34')][_0x5d1c('0x30')]();}),this['editor'][_0x5d1c('0xd')]['view'][_0x5d1c('0x2')][_0x5d1c('0x46')][_0x5d1c('0x40')]&&this[_0x5d1c('0x16')][_0x5d1c('0xd')][_0x5d1c('0x1f')][_0x5d1c('0x37')](),this[_0x5d1c('0x33')]=!0x0;}[_0x5d1c('0x24')](){if(!this[_0x5d1c('0x33')])throw new _0x117704(_0x5d1c('0x44'),this);this[_0x5d1c('0x0')](null);for(const _0x4581f5 of this[_0x5d1c('0x14')])this[_0x5d1c('0x1c')](_0x4581f5);this[_0x5d1c('0x32')](),this[_0x5d1c('0x33')]=!0x1,this[_0x5d1c('0x29')]=null;}[_0x5d1c('0x27')](){this[_0x5d1c('0x33')]&&this['detach']();}[_0x5d1c('0x3c')](_0x4aeb74){for(const _0x1097e3 of this[_0x5d1c('0x2e')])_0x4aeb74[_0x5d1c('0x45')](_0x1097e3)||this['_manuallyClosed']['delete'](_0x1097e3);for(const _0x46550f of this['annotations'])_0x4aeb74['includes'](_0x46550f)||this['_removeAnnotationFromBalloon'](_0x46550f);if(this[_0x5d1c('0x16')]['ui'][_0x5d1c('0xc')][_0x5d1c('0x38')])for(const _0x186b0f of _0x4aeb74)this[_0x5d1c('0x20')](_0x186b0f);this[_0x5d1c('0x2e')]=_0x4aeb74;}[_0x5d1c('0x20')](_0x16035d,_0xa01b20=!0x1){this[_0x5d1c('0x34')]['has'](_0x16035d)||(this['_addedAnnotations']['has'](_0x16035d)||this[_0x5d1c('0x1e')][_0x5d1c('0x2d')](_0x16035d['view'])||(this[_0x5d1c('0x14')]['add'](_0x16035d),this['_balloon']['add']({'stackId':_0x16035d['view']['id'],'view':_0x16035d[_0x5d1c('0x1f')],'position':{'target':()=>this[_0x5d1c('0x18')](_0x16035d)}})),_0xa01b20&&this[_0x5d1c('0x1e')][_0x5d1c('0x31')](_0x16035d['view']['id']));}[_0x5d1c('0x18')](_0x56fbf9){const _0xee9f63=_0x56fbf9[_0x5d1c('0x17')],_0x1fab4f=this[_0x5d1c('0x16')][_0x5d1c('0xd')][_0x5d1c('0x1f')],_0x30ebfc=_0x1fab4f['document'][_0x5d1c('0x46')][_0x5d1c('0x35')](),_0x18fd94=_0x1fab4f[_0x5d1c('0x28')][_0x5d1c('0x10')](_0x30ebfc);if(_0x18fd94[_0x5d1c('0x3d')](!0x0),_0xee9f63){if(_0xee9f63 instanceof _0x4326a4)return _0xee9f63;let _0x3f934b=[];for(const _0x5e983a of _0xee9f63)_0x3f934b[_0x5d1c('0x41')](...(_0xe9bb1=_0x5e983a[_0x5d1c('0x3')](),Array['from'](_0xe9bb1)['map'](DOMRect['fromRect'])));_0x3f934b=function(_0x1f56f4){const _0x4154e5=[];let _0x88af54=_0x1f56f4[0x0];for(let _0x3c7f29=0x1;_0x3c7f29<_0x1f56f4['length'];_0x3c7f29++)F(_0x88af54,_0x1f56f4[_0x3c7f29])?_0x88af54[_0x5d1c('0x9')]+=_0x1f56f4[_0x3c7f29][_0x5d1c('0x9')]:(_0x4154e5['push'](_0x88af54),_0x88af54=_0x1f56f4[_0x3c7f29]);return _0x4154e5[_0x5d1c('0x41')](_0x88af54),_0x4154e5;}(_0x3f934b);const _0x33c6af=_0x18fd94['getBoundingClientRect']();return _0x3f934b['find'](_0x4f8592=>_0x4f8592[_0x5d1c('0x2b')]<=_0x33c6af[_0x5d1c('0x2b')]&&_0x4f8592[_0x5d1c('0x26')]>=_0x33c6af[_0x5d1c('0x26')]&&_0x4f8592[_0x5d1c('0x39')]<=_0x33c6af[_0x5d1c('0x39')]&&_0x4f8592[_0x5d1c('0x2c')]>=_0x33c6af[_0x5d1c('0x2c')])||_0x3f934b[0x0];}var _0xe9bb1;return _0x56fbf9['targetRect']||_0x18fd94;}[_0x5d1c('0x1c')](_0x21f6b5){this['_addedAnnotations'][_0x5d1c('0x4')](_0x21f6b5)&&this[_0x5d1c('0x1e')][_0x5d1c('0x2d')](_0x21f6b5[_0x5d1c('0x1f')])&&(this[_0x5d1c('0x14')][_0x5d1c('0x12')](_0x21f6b5),this[_0x5d1c('0x1e')][_0x5d1c('0x36')](_0x21f6b5['view']));}[_0x5d1c('0x13')](_0x2956a9){this[_0x5d1c('0x34')][_0x5d1c('0xa')](_0x2956a9),this[_0x5d1c('0x1c')](_0x2956a9);}}function F(_0x4f7012,_0x5f039c){return _0x4f7012['top']===_0x5f039c[_0x5d1c('0x2b')]&&_0x4f7012[_0x5d1c('0x26')]===_0x5f039c['bottom']&&_0x4f7012['right']===_0x5f039c[_0x5d1c('0x39')];}
23
+ function _0x4c35(){const _0x523bb1=['70045yJkcJQ','1767020jhcxnr','getOrderedSelectedAnnotations','document','_forceRefresh','register','inlineannotations-detach-not-attached','switchTo','annotations','pluginName','length','focusTracker','focus','width','change:height','1374ITvrsX','inline','_removeAnnotationFromBalloon','domConverter','map','fromRect','top','init','275578NkByEm','Esc','add','inlineannotations-not-allowed-with-context','3948dTwOzZ','4696659SCyQlP','keystrokes','targetRect','find','showStack','viewRangeToDom','editableElement','view','InlineAnnotations','inlineannotations-attach-already-attached','remove','mousedown','has','change:isFocused','updatePosition','afterInit','visibleView','_balloon','bottom','addObserver','isActive','collapse','update','hasView','detach','12eQHXQX','right','editing','attach','refresh','_addAnnotationToBalloon','71329XOJewR','selection','target','set','52mEQyNz','isFocused','hasActive','clear','push','_addedAnnotations','getBoundingClientRect','delete','activeAnnotation','_manuallyClosed','editor','3JsKZAx','every','_getBalloonTargetForAnnotation','_closeAnnotation','listenTo','isAttached','setActiveAnnotation','plugins','includes','from','getByView','change:visibleView','getFirstRange','2648YwfnMz','requires','destroy','getClientRects','stopListening','blur','_setSelectedAnnotations','left','context','get','_selectedAnnotations','9765HaeDdX'];_0x4c35=function(){return _0x523bb1;};return _0x4c35();}const _0x4bc8f8=_0x250e;(function(_0x12b8d0,_0x27c53c){const _0x54080f=_0x250e,_0x1f0caf=_0x12b8d0();while(!![]){try{const _0x85e40c=parseInt(_0x54080f(0xe8))/0x1+-parseInt(_0x54080f(0xc4))/0x2*(parseInt(_0x54080f(0xf7))/0x3)+parseInt(_0x54080f(0xec))/0x4*(-parseInt(_0x54080f(0xad))/0x5)+-parseInt(_0x54080f(0xbc))/0x6*(parseInt(_0x54080f(0xc8))/0x7)+-parseInt(_0x54080f(0xa1))/0x8*(-parseInt(_0x54080f(0xac))/0x9)+-parseInt(_0x54080f(0xae))/0xa+parseInt(_0x54080f(0xc9))/0xb*(parseInt(_0x54080f(0xe2))/0xc);if(_0x85e40c===_0x27c53c)break;else _0x1f0caf['push'](_0x1f0caf['shift']());}catch(_0x47bea0){_0x1f0caf['push'](_0x1f0caf['shift']());}}}(_0x4c35,0x388f5));import{Plugin as _0xf302be}from'ckeditor5/src/core.js';import _0x32cb8d from'./annotationsuis.js';import _0x2f7f3d from'./editorannotations.js';function _0x250e(_0x2e136f,_0x39fcf4){const _0x4c352e=_0x4c35();return _0x250e=function(_0x250ed2,_0x11e5c1){_0x250ed2=_0x250ed2-0x97;let _0x479cd0=_0x4c352e[_0x250ed2];return _0x479cd0;},_0x250e(_0x2e136f,_0x39fcf4);}import{ContextualBalloon as _0x5c6265}from'ckeditor5/src/ui.js';import{MouseObserver as _0x366985}from'ckeditor5/src/engine.js';import{CKEditorError as _0xb68584,Rect as _0x158f76}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0xf302be{static get[_0x4bc8f8(0xa2)](){return[_0x2f7f3d,_0x5c6265,_0x32cb8d];}static get[_0x4bc8f8(0xb6)](){const _0x4e4946=_0x4bc8f8;return _0x4e4946(0xd1);}constructor(_0x3fe6b9){const _0x2d3bdc=_0x4bc8f8;super(_0x3fe6b9),_0x3fe6b9[_0x2d3bdc(0xe4)][_0x2d3bdc(0xd0)][_0x2d3bdc(0xdc)](_0x366985),this[_0x2d3bdc(0x99)]=!0x1,this[_0x2d3bdc(0xeb)](_0x2d3bdc(0xf4),null),this[_0x2d3bdc(0xb5)]=null,this[_0x2d3bdc(0xf5)]=new Set(),this[_0x2d3bdc(0xda)]=_0x3fe6b9[_0x2d3bdc(0x9b)][_0x2d3bdc(0xaa)](_0x5c6265),this[_0x2d3bdc(0xf1)]=new Set(),this[_0x2d3bdc(0xab)]=[],this[_0x2d3bdc(0xb1)]=!0x1;}[_0x4bc8f8(0xc3)](){const _0x11fbd9=_0x4bc8f8,_0x1bf3d5=this[_0x11fbd9(0xf6)][_0x11fbd9(0x9b)][_0x11fbd9(0xaa)](_0x32cb8d);_0x1bf3d5[_0x11fbd9(0xa9)]===this[_0x11fbd9(0xf6)]&&(_0x1bf3d5[_0x11fbd9(0xb2)](_0x11fbd9(0xbd),this),this[_0x11fbd9(0xf6)][_0x11fbd9(0xca)][_0x11fbd9(0xeb)](_0x11fbd9(0xc5),(_0x54075c,_0x548995)=>{const _0x538a8f=_0x11fbd9,_0x9db937=this[_0x538a8f(0xda)];if(this[_0x538a8f(0x99)]&&_0x9db937[_0x538a8f(0xd9)]){const _0x4512ef=this[_0x538a8f(0xb5)][_0x538a8f(0x9e)](_0x9db937[_0x538a8f(0xd9)]);_0x4512ef&&this[_0x538a8f(0x97)](_0x4512ef),_0x548995();}}));}[_0x4bc8f8(0xd8)](){const _0x28f223=_0x4bc8f8,_0x1652e4=this[_0x28f223(0xf6)][_0x28f223(0x9b)][_0x28f223(0xaa)](_0x32cb8d);_0x1652e4[_0x28f223(0xa9)]===this[_0x28f223(0xf6)]&&(_0x1652e4[_0x28f223(0xee)]()||_0x1652e4[_0x28f223(0xb4)](_0x28f223(0xbd)));}[_0x4bc8f8(0x9a)](_0x87cc42){const _0x34d8b3=_0x4bc8f8;_0x87cc42!==this[_0x34d8b3(0xf4)]&&(this[_0x34d8b3(0xf4)]&&(this[_0x34d8b3(0xf4)][_0x34d8b3(0xdd)]=!0x1),_0x87cc42&&this[_0x34d8b3(0xf6)]['ui'][_0x34d8b3(0xb8)][_0x34d8b3(0xed)]&&(this[_0x34d8b3(0xb5)][_0x34d8b3(0xd5)](_0x87cc42)&&this[_0x34d8b3(0xe7)](_0x87cc42,!0x0),_0x87cc42[_0x34d8b3(0xdd)]=!0x0),_0x87cc42||this[_0x34d8b3(0xa7)]([]),this[_0x34d8b3(0xf4)]=_0x87cc42);}[_0x4bc8f8(0xe5)](_0x49c958){const _0x34b1ee=_0x4bc8f8;this[_0x34b1ee(0xb5)]=_0x49c958;const _0x2b9e6e=this[_0x34b1ee(0xf6)][_0x34b1ee(0x9b)][_0x34b1ee(0xaa)](_0x32cb8d),_0x58b9c0=this[_0x34b1ee(0xda)];if(this[_0x34b1ee(0x99)])throw new _0xb68584(_0x34b1ee(0xd2),this);if(_0x2b9e6e[_0x34b1ee(0xa9)]!==this[_0x34b1ee(0xf6)])throw new _0xb68584(_0x34b1ee(0xc7),this);const _0x5d8e22=this[_0x34b1ee(0xf6)][_0x34b1ee(0x9b)][_0x34b1ee(0xaa)](_0x2f7f3d);this[_0x34b1ee(0x98)](_0x5d8e22,_0x34b1ee(0xe6),()=>{const _0x1d5497=_0x34b1ee,_0xe925a1=_0x5d8e22[_0x1d5497(0xaf)]({'annotations':this[_0x1d5497(0xb5)],'activeAnnotation':this[_0x1d5497(0xf4)]});var _0x1604a9,_0x5c146b;!this[_0x1d5497(0xb1)]&&(_0x1604a9=_0xe925a1,_0x5c146b=this[_0x1d5497(0xab)],_0x1604a9[_0x1d5497(0xb7)]===_0x5c146b[_0x1d5497(0xb7)]&&_0x1604a9[_0x1d5497(0xf8)](_0x234184=>_0x5c146b[_0x1d5497(0x9c)](_0x234184)))||(this[_0x1d5497(0xb1)]=!0x1,this[_0x1d5497(0xa7)](_0xe925a1),this[_0x1d5497(0x9a)](_0xe925a1[0x0]||null));}),this[_0x34b1ee(0x98)](_0x5d8e22,_0x34b1ee(0xa6),(_0x220cc7,{isAnnotationTracked:_0x549613})=>{const _0x314763=_0x34b1ee;this[_0x314763(0xf4)]&&_0x549613(this[_0x314763(0xf4)])&&(this[_0x314763(0xa7)]([]),this[_0x314763(0x9a)](null));}),this[_0x34b1ee(0x98)](this[_0x34b1ee(0xf6)]['ui'][_0x34b1ee(0xb8)],_0x34b1ee(0xd6),(_0x46e38f,_0x4e22b5,_0x4344b2)=>{const _0x5e3617=_0x34b1ee;_0x4344b2||this[_0x5e3617(0x9a)](null);}),this[_0x34b1ee(0x98)](_0x49c958,_0x34b1ee(0xd3),(_0x50b257,_0x749371)=>{const _0x1840d2=_0x34b1ee;this[_0x1840d2(0xbe)](_0x749371),_0x749371===this[_0x1840d2(0xf4)]&&this[_0x1840d2(0x9a)](null);}),this[_0x34b1ee(0x98)](_0x58b9c0,_0x34b1ee(0x9f),(_0x64d9cd,_0x437707,_0x363c5c,_0x310abe)=>{const _0x3c0e7b=_0x34b1ee;_0x310abe&&this[_0x3c0e7b(0xa5)](_0x310abe);const _0x2d4212=_0x49c958[_0x3c0e7b(0x9e)](_0x363c5c);_0x363c5c&&_0x2d4212&&(this[_0x3c0e7b(0x98)](_0x363c5c,_0x3c0e7b(0xbb),()=>{const _0x1529de=_0x3c0e7b;_0x58b9c0[_0x1529de(0xd7)]();}),this[_0x3c0e7b(0x98)](_0x363c5c,_0x3c0e7b(0xc5),()=>{const _0x48c00f=_0x3c0e7b;this[_0x48c00f(0x97)](_0x2d4212),this[_0x48c00f(0xf6)][_0x48c00f(0xe4)][_0x48c00f(0xd0)][_0x48c00f(0xb9)]();}),this[_0x3c0e7b(0xf4)]!==_0x2d4212&&this[_0x3c0e7b(0x9a)](_0x2d4212));}),this[_0x34b1ee(0x98)](this[_0x34b1ee(0xf6)]['ui'],_0x34b1ee(0xdf),()=>{const _0x4fc0e9=_0x34b1ee;_0x58b9c0[_0x4fc0e9(0xd9)]&&(_0x49c958[_0x4fc0e9(0x9e)](_0x58b9c0[_0x4fc0e9(0xd9)])&&_0x58b9c0[_0x4fc0e9(0xd7)]());}),this[_0x34b1ee(0x98)](this[_0x34b1ee(0xf6)][_0x34b1ee(0xe4)][_0x34b1ee(0xd0)][_0x34b1ee(0xb0)],_0x34b1ee(0xd4),()=>{const _0x518648=_0x34b1ee;this[_0x518648(0xb1)]=!0x0,this[_0x518648(0xf5)][_0x518648(0xef)]();}),this[_0x34b1ee(0xf6)][_0x34b1ee(0xe4)][_0x34b1ee(0xd0)][_0x34b1ee(0xb0)][_0x34b1ee(0xe9)][_0x34b1ee(0xcf)]&&this[_0x34b1ee(0xf6)][_0x34b1ee(0xe4)][_0x34b1ee(0xd0)][_0x34b1ee(0xb9)](),this[_0x34b1ee(0x99)]=!0x0;}[_0x4bc8f8(0xe1)](){const _0x18a4b8=_0x4bc8f8;if(!this[_0x18a4b8(0x99)])throw new _0xb68584(_0x18a4b8(0xb3),this);this[_0x18a4b8(0x9a)](null);for(const _0x134738 of this[_0x18a4b8(0xf1)])this[_0x18a4b8(0xbe)](_0x134738);this[_0x18a4b8(0xa5)](),this[_0x18a4b8(0x99)]=!0x1,this[_0x18a4b8(0xb5)]=null;}[_0x4bc8f8(0xa3)](){const _0x2f212f=_0x4bc8f8;this[_0x2f212f(0x99)]&&this[_0x2f212f(0xe1)]();}[_0x4bc8f8(0xa7)](_0x1ebab0){const _0x4e8b11=_0x4bc8f8;for(const _0x26f0a4 of this[_0x4e8b11(0xab)])_0x1ebab0[_0x4e8b11(0x9c)](_0x26f0a4)||this[_0x4e8b11(0xf5)][_0x4e8b11(0xf3)](_0x26f0a4);for(const _0x24c609 of this[_0x4e8b11(0xb5)])_0x1ebab0[_0x4e8b11(0x9c)](_0x24c609)||this[_0x4e8b11(0xbe)](_0x24c609);if(this[_0x4e8b11(0xf6)]['ui'][_0x4e8b11(0xb8)][_0x4e8b11(0xed)]){for(const _0x24a649 of _0x1ebab0)this[_0x4e8b11(0xe7)](_0x24a649);}this[_0x4e8b11(0xab)]=_0x1ebab0;}[_0x4bc8f8(0xe7)](_0x2dae78,_0xd59c40=!0x1){const _0x5805ae=_0x4bc8f8;this[_0x5805ae(0xf5)][_0x5805ae(0xd5)](_0x2dae78)||(this[_0x5805ae(0xf1)][_0x5805ae(0xd5)](_0x2dae78)||this[_0x5805ae(0xda)][_0x5805ae(0xe0)](_0x2dae78[_0x5805ae(0xd0)])||(this[_0x5805ae(0xf1)][_0x5805ae(0xc6)](_0x2dae78),this[_0x5805ae(0xda)][_0x5805ae(0xc6)]({'stackId':_0x2dae78[_0x5805ae(0xd0)]['id'],'view':_0x2dae78[_0x5805ae(0xd0)],'position':{'target':()=>this[_0x5805ae(0xf9)](_0x2dae78)}})),_0xd59c40&&this[_0x5805ae(0xda)][_0x5805ae(0xcd)](_0x2dae78[_0x5805ae(0xd0)]['id']));}[_0x4bc8f8(0xf9)](_0x5f5ad9){const _0x50ea95=_0x4bc8f8,_0x5ec4f9=_0x5f5ad9[_0x50ea95(0xea)],_0x4714a3=this[_0x50ea95(0xf6)][_0x50ea95(0xe4)][_0x50ea95(0xd0)],_0x2cea35=_0x4714a3[_0x50ea95(0xb0)][_0x50ea95(0xe9)][_0x50ea95(0xa0)](),_0x27f419=_0x4714a3[_0x50ea95(0xbf)][_0x50ea95(0xce)](_0x2cea35);if(_0x27f419[_0x50ea95(0xde)](!0x0),_0x5ec4f9){if(_0x5ec4f9 instanceof _0x158f76)return _0x5ec4f9;let _0x13b3be=[];for(const _0x393750 of _0x5ec4f9)_0x13b3be[_0x50ea95(0xf0)](...(_0x4cc027=_0x393750[_0x50ea95(0xa4)](),Array[_0x50ea95(0x9d)](_0x4cc027)[_0x50ea95(0xc0)](DOMRect[_0x50ea95(0xc1)])));_0x13b3be=function(_0x1f2c95){const _0x5695e7=_0x50ea95,_0x278fc2=[];let _0x323c2a=_0x1f2c95[0x0];for(let _0x365b28=0x1;_0x365b28<_0x1f2c95[_0x5695e7(0xb7)];_0x365b28++)F(_0x323c2a,_0x1f2c95[_0x365b28])?_0x323c2a[_0x5695e7(0xba)]+=_0x1f2c95[_0x365b28][_0x5695e7(0xba)]:(_0x278fc2[_0x5695e7(0xf0)](_0x323c2a),_0x323c2a=_0x1f2c95[_0x365b28]);return _0x278fc2[_0x5695e7(0xf0)](_0x323c2a),_0x278fc2;}(_0x13b3be);const _0x2e2099=_0x27f419[_0x50ea95(0xf2)]();return _0x13b3be[_0x50ea95(0xcc)](_0x441146=>_0x441146[_0x50ea95(0xc2)]<=_0x2e2099[_0x50ea95(0xc2)]&&_0x441146[_0x50ea95(0xdb)]>=_0x2e2099[_0x50ea95(0xdb)]&&_0x441146[_0x50ea95(0xa8)]<=_0x2e2099[_0x50ea95(0xa8)]&&_0x441146[_0x50ea95(0xe3)]>=_0x2e2099[_0x50ea95(0xe3)])||_0x13b3be[0x0];}var _0x4cc027;return _0x5f5ad9[_0x50ea95(0xcb)]||_0x27f419;}[_0x4bc8f8(0xbe)](_0x7881c4){const _0x4a43d1=_0x4bc8f8;this[_0x4a43d1(0xf1)][_0x4a43d1(0xd5)](_0x7881c4)&&this[_0x4a43d1(0xda)][_0x4a43d1(0xe0)](_0x7881c4[_0x4a43d1(0xd0)])&&(this[_0x4a43d1(0xf1)][_0x4a43d1(0xf3)](_0x7881c4),this[_0x4a43d1(0xda)][_0x4a43d1(0xd3)](_0x7881c4[_0x4a43d1(0xd0)]));}[_0x4bc8f8(0x97)](_0x1f802c){const _0x3aa15c=_0x4bc8f8;this[_0x3aa15c(0xf5)][_0x3aa15c(0xc6)](_0x1f802c),this[_0x3aa15c(0xbe)](_0x1f802c);}}function F(_0x2efd31,_0x1e0715){const _0x6776fc=_0x4bc8f8;return _0x2efd31[_0x6776fc(0xc2)]===_0x1e0715[_0x6776fc(0xc2)]&&_0x2efd31[_0x6776fc(0xdb)]===_0x1e0715[_0x6776fc(0xdb)]&&_0x2efd31[_0x6776fc(0xe3)]===_0x1e0715[_0x6776fc(0xa8)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5180=['_hideBalloon','resize','_destroyEditorAnnotationsIntegration','set','preventClosingBalloon','view','getSidebarItemView','editors','esc','hasDomSelection','_detachFromContainer','init','refreshPositioning','NarrowSidebar','remove','_updateBalloonPosition','contains','attachToDom','clear','_manuallyClosedAnnotationViews','southArrowNorth','detach','from','addAnnotation','set:container','first','southArrowNorthWest','_attachToContainer','isAttached','EditorAnnotations','values','ck-sidebar--narrow','_detachListeners','southArrowNorthEast','change:height','annotationType','off','removeEventListener','_editorAnnotations','unpin','high','stop','_setSelectedAnnotations','includes','length','content','pluginName','_domEmitter','change:container','find','mousedown','context','northArrowSouthWest','execute','destroy','annotations','Esc','_selectedAnnotations','locale','plugins','_refreshPositioning','_attachListeners','element','isDirty','_annotationToNarrowView','activeAnnotation','balloonPanelView','target','_showBalloon','northArrowSouth','stopListening','_refreshPositioningDebounced','bodyCollection','get','add','refresh','_integrateWithEditorAnnotations','attach','addEventListener','focus','rearrange','has','isVisible','bind','northArrowSouthEast','stopPropagation','detachFromDom','listenTo','blur','setActiveAnnotation'];(function(_0x161a93,_0x518045){const _0x5cc000=function(_0x3d1c94){while(--_0x3d1c94){_0x161a93['push'](_0x161a93['shift']());}};_0x5cc000(++_0x518045);}(_0x5180,0xc0));const _0x5cc0=function(_0x161a93,_0x518045){_0x161a93=_0x161a93-0x0;let _0x5cc000=_0x5180[_0x161a93];return _0x5cc000;};import{ContextPlugin as _0x354483,Context as _0x11da49}from'ckeditor5/src/core.js';import _0x51c439 from'./annotationsuis.js';import _0x1ff32b from'./sidebar.js';import _0x2a9b67 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x4b2369,BodyCollection as _0x401def}from'ckeditor5/src/ui.js';import{CKEditorError as _0xa53ea9,DomEmitterMixin as _0x349dd7,keyCodes as _0x562c6c,Collection as _0x423911}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x1ed349}from'lodash-es';import _0x547e2b from'./editorannotations.js';export default class i extends _0x354483{static get['requires'](){return[_0x1ff32b,_0x51c439];}static get[_0x5cc0('0x22')](){return _0x5cc0('0x1');}constructor(_0x55bf78){super(_0x55bf78),this['isAttached']=!0x1,this[_0x5cc0('0x7')]=new Set(),this[_0x5cc0('0x23')]=Object['create'](_0x349dd7),this[_0x5cc0('0x34')]=new Map(),this['set'](_0x5cc0('0x35'),null),this[_0x5cc0('0x2b')]=null,this[_0x5cc0('0x2d')]=[],this[_0x5cc0('0x1a')]=new _0x423911(),this[_0x5cc0('0x3b')]=_0x1ed349(()=>{this[_0x5cc0('0x30')]();},0xfa,{'leading':!0x1});}[_0x5cc0('0x59')](){this[_0x5cc0('0x27')][_0x5cc0('0x2f')][_0x5cc0('0x3d')](_0x51c439)['register']('narrowSidebar',this),this['bodyCollection']=new _0x401def(this['context']['locale']),this['balloonPanelView']=new _0x4b2369(this[_0x5cc0('0x27')]['locale']),this[_0x5cc0('0x3c')][_0x5cc0('0x5')](),this[_0x5cc0('0x3c')]['add'](this['balloonPanelView']);}[_0x5cc0('0x41')](_0x4235b4){this['annotations']=_0x4235b4;const _0x10eead=this[_0x5cc0('0x27')]['plugins'][_0x5cc0('0x3d')](_0x1ff32b),_0x34a7eb=this[_0x5cc0('0x36')];if(_0x10eead['_annotations']=_0x4235b4,this[_0x5cc0('0x10')])throw new _0xa53ea9('narrowsidebar-attach-already-attached',this);this[_0x5cc0('0x10')]=!0x0,this[_0x5cc0('0x4b')](_0x10eead,_0x5cc0('0xc'),()=>{this[_0x5cc0('0x9')](),this[_0x5cc0('0x4b')](_0x10eead,_0x5cc0('0x24'),_0x431e8d=>{_0x431e8d[_0x5cc0('0x18')](),this[_0x5cc0('0x41')](_0x4235b4);});}),_0x10eead[_0x5cc0('0xf')]({'viewClass':_0x5cc0('0x13'),'spaceBetweenItems':0x5});const _0x1821c1=_0xce2e2c=>{const _0x22cc43=new _0x2a9b67(this[_0x5cc0('0x27')][_0x5cc0('0x2e')]);_0x10eead[_0x5cc0('0xb')](_0xce2e2c,_0x22cc43),this[_0x5cc0('0x34')][_0x5cc0('0x51')](_0xce2e2c,_0x22cc43),_0x22cc43[_0x5cc0('0x47')]('isDirty',_0x5cc0('0x17'),'number')['to'](_0xce2e2c[_0x5cc0('0x53')],_0x5cc0('0x33'),'type',_0x5cc0('0x20')),_0x22cc43['on'](_0x5cc0('0x29'),()=>{this[_0x5cc0('0x7')]['clear'](),_0x34a7eb['content'][_0x5cc0('0xd')]!==_0xce2e2c[_0x5cc0('0x53')]?(this[_0x5cc0('0x38')](_0xce2e2c),_0xce2e2c[_0x5cc0('0x53')]['element']['focus'](),this[_0x5cc0('0x4d')](_0xce2e2c)):this[_0x5cc0('0x4d')](null);});};for(const _0x1c7434 of _0x4235b4)_0x1821c1(_0x1c7434);this[_0x5cc0('0x4b')](_0x4235b4,_0x5cc0('0x3e'),(_0x2072b6,_0x89e7f1)=>{_0x1821c1(_0x89e7f1);}),this[_0x5cc0('0x4b')](_0x4235b4,_0x5cc0('0x2'),(_0x28a64d,_0xdbb326,_0xa79d69)=>{this[_0x5cc0('0x34')][_0x5cc0('0x3d')](_0xdbb326)[_0x5cc0('0x2a')](),this[_0x5cc0('0x34')]['delete'](_0xdbb326),_0x10eead[_0x5cc0('0x44')]({'removedAnnotation':_0xdbb326,'previousAnnotation':_0x4235b4[_0x5cc0('0x3d')](_0xa79d69-0x1),'nextAnnotation':_0x4235b4[_0x5cc0('0x3d')](_0xa79d69+0x1)}),_0xdbb326===this[_0x5cc0('0x35')]&&this[_0x5cc0('0x4d')](null);},{'priority':'low'}),this[_0x5cc0('0x4b')](_0x4235b4,_0x5cc0('0x43'),(_0x530b97,_0x2464fd)=>{this[_0x5cc0('0x4d')](_0x2464fd);}),this[_0x5cc0('0x4b')](_0x4235b4,_0x5cc0('0x4c'),()=>{this['setActiveAnnotation'](null);}),this[_0x5cc0('0x23')][_0x5cc0('0x4b')](document,'keydown',(_0x487103,_0x1bb677)=>{_0x1bb677['keyCode']===_0x562c6c[_0x5cc0('0x56')]&&_0x34a7eb[_0x5cc0('0x46')]&&(this[_0x5cc0('0x7')][_0x5cc0('0x3e')](_0x34a7eb[_0x5cc0('0x21')]['first']),this[_0x5cc0('0x4e')](),_0x1bb677[_0x5cc0('0x49')](),_0x1bb677['preventDefault']());}),this[_0x5cc0('0x23')][_0x5cc0('0x4b')](document,_0x5cc0('0x26'),(_0x2f74dd,_0x24103c)=>{const _0x1a32f7=_0x24103c[_0x5cc0('0x37')];_0x34a7eb[_0x5cc0('0x46')]&&_0x34a7eb[_0x5cc0('0x32')][_0x5cc0('0x4')](_0x1a32f7)||_0x10eead[_0x5cc0('0x53')][_0x5cc0('0x32')][_0x5cc0('0x4')](_0x1a32f7)||_0x2f74dd[_0x5cc0('0x52')]||this['activeAnnotation']&&this[_0x5cc0('0x35')]['focusableElements'][_0x5cc0('0x25')](_0x2d042d=>_0x2d042d[_0x5cc0('0x4')](_0x1a32f7))||(this[_0x5cc0('0x7')][_0x5cc0('0x6')](),this[_0x5cc0('0x4e')](),this['setActiveAnnotation'](null));});const _0x4bc74a=this[_0x5cc0('0x27')]instanceof _0x11da49?this['context'][_0x5cc0('0x55')]:new _0x423911([this['context']]);for(const _0x496b8a of _0x4bc74a)this[_0x5cc0('0x40')](_0x496b8a);this['listenTo'](_0x4bc74a,'add',(_0x32c039,_0x182637)=>{this[_0x5cc0('0x4b')](_0x182637,'ready',()=>{this[_0x5cc0('0x40')](_0x182637);});}),this[_0x5cc0('0x4b')](_0x4bc74a,_0x5cc0('0x2'),(_0x2e3a4a,_0x316c94)=>{_0x316c94[_0x5cc0('0x2f')][_0x5cc0('0x45')]('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x316c94['plugins'][_0x5cc0('0x3d')](_0x5cc0('0x11')));}),window[_0x5cc0('0x42')](_0x5cc0('0x4f'),this[_0x5cc0('0x3b')]),this[_0x5cc0('0x30')]();}[_0x5cc0('0x4d')](_0x16c574){if(_0x16c574===this[_0x5cc0('0x35')])return;const _0x3e8ed9=this[_0x5cc0('0x27')][_0x5cc0('0x2f')]['get'](_0x1ff32b);if(_0x3e8ed9[_0x5cc0('0x3f')]({'blurredAnnotation':this[_0x5cc0('0x35')],'activatedAnnotation':_0x16c574,'disableAnimationOnActivatedAnnotation':!0x0}),_0x16c574)_0x3e8ed9[_0x5cc0('0x54')](_0x16c574)?this[_0x5cc0('0x38')](_0x16c574):this[_0x5cc0('0x4e')]();else this[_0x5cc0('0x4e')]();this[_0x5cc0('0x35')]=_0x16c574;}['detach'](){if(!this[_0x5cc0('0x10')])throw new _0xa53ea9('narrowsidebar-detach-not-attached',this);this[_0x5cc0('0x4d')](null);const _0x1d9709=this[_0x5cc0('0x27')][_0x5cc0('0x2f')][_0x5cc0('0x3d')](_0x1ff32b);this['_hideBalloon'](),Array[_0x5cc0('0xa')](this[_0x5cc0('0x34')][_0x5cc0('0x12')](),_0x1b6501=>_0x1b6501[_0x5cc0('0x2a')]()),this[_0x5cc0('0x34')]['clear'](),_0x1d9709[_0x5cc0('0x58')](this[_0x5cc0('0x2b')]),this[_0x5cc0('0x3a')](),this[_0x5cc0('0x23')][_0x5cc0('0x3a')](),this[_0x5cc0('0x27')]instanceof _0x11da49&&this[_0x5cc0('0x3a')](this['context'][_0x5cc0('0x55')]);for(const _0x5b7067 of Array[_0x5cc0('0xa')](this['_editorAnnotations']))this[_0x5cc0('0x50')](_0x5b7067);window[_0x5cc0('0x19')](_0x5cc0('0x4f'),this[_0x5cc0('0x3b')]),this[_0x5cc0('0x3b')]['cancel'](),this['_selectedAnnotations']=[],this['isAttached']=!0x1,this['annotations']=null;}[_0x5cc0('0x2a')](){this[_0x5cc0('0x10')]&&this[_0x5cc0('0x9')](),this['bodyCollection'][_0x5cc0('0x4a')]();}[_0x5cc0('0x40')](_0x32bc11){const _0x27429d=_0x32bc11[_0x5cc0('0x2f')][_0x5cc0('0x3d')](_0x547e2b),_0x1dc96c=this['context'][_0x5cc0('0x2f')][_0x5cc0('0x3d')](_0x1ff32b),_0x45101b=this['annotations'],_0x16850f=this[_0x5cc0('0x36')],_0x4350fd=()=>{const _0x1528ad=_0x27429d['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this[_0x5cc0('0x35')]});this[_0x5cc0('0x1e')](_0x1528ad),this[_0x5cc0('0x4d')](_0x1528ad[0x0]||null);};this['listenTo'](_0x27429d,_0x5cc0('0x3f'),_0x4350fd),this['listenTo'](_0x27429d,_0x5cc0('0x4c'),(_0xa8edb5,{isAnnotationTracked:_0x12dd58})=>{this[_0x5cc0('0x35')]&&_0x12dd58(this[_0x5cc0('0x35')])&&(this[_0x5cc0('0x1e')]([]),this[_0x5cc0('0x4d')](null));}),this[_0x5cc0('0x4b')](_0x27429d,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this[_0x5cc0('0x4b')](_0x45101b,'blur',_0x57a829=>{_0x27429d[_0x5cc0('0x57')]()&&_0x57a829[_0x5cc0('0x1d')]();},{'priority':_0x5cc0('0x1c')}),this[_0x5cc0('0x4b')](this[_0x5cc0('0x23')],_0x5cc0('0x26'),(_0x22574c,_0x41f34f)=>{const _0x301320=_0x41f34f[_0x5cc0('0x37')];_0x16850f['isVisible']&&_0x16850f[_0x5cc0('0x32')][_0x5cc0('0x4')](_0x301320)||_0x1dc96c[_0x5cc0('0x53')]['element'][_0x5cc0('0x4')](_0x301320)||this[_0x5cc0('0x35')]&&_0x27429d[_0x5cc0('0x57')]()&&(_0x4350fd(),_0x22574c['preventClosingBalloon']=!0x0);},{'priority':_0x5cc0('0x1c')}),this[_0x5cc0('0x1a')][_0x5cc0('0x3e')](_0x27429d);}['_destroyEditorAnnotationsIntegration'](_0x587268){_0x587268&&(this['stopListening'](_0x587268),this[_0x5cc0('0x1a')]['remove'](_0x587268));}[_0x5cc0('0x1e')](_0x3beb7f){for(const _0x3b6d2f of this[_0x5cc0('0x2d')])_0x3beb7f[_0x5cc0('0x1f')](_0x3b6d2f)||this[_0x5cc0('0x7')]['delete'](_0x3b6d2f['view']);this['_selectedAnnotations']=_0x3beb7f;}[_0x5cc0('0x30')](){const _0x1f4fb8=this[_0x5cc0('0x36')];this[_0x5cc0('0x2b')][_0x5cc0('0x0')](),_0x1f4fb8[_0x5cc0('0x46')]&&this[_0x5cc0('0x3')]();}[_0x5cc0('0x38')](_0x5da3bb){if(this[_0x5cc0('0x7')][_0x5cc0('0x45')](_0x5da3bb[_0x5cc0('0x53')]))return;const _0x221b3d=this['balloonPanelView'][_0x5cc0('0x21')]['first'];_0x221b3d!==_0x5da3bb['view']?(_0x221b3d&&this[_0x5cc0('0x14')](_0x221b3d),this['_attachListeners'](_0x5da3bb['view']),this[_0x5cc0('0x36')][_0x5cc0('0x21')][_0x5cc0('0x6')](),this[_0x5cc0('0x36')][_0x5cc0('0x21')][_0x5cc0('0x3e')](_0x5da3bb[_0x5cc0('0x53')]),this[_0x5cc0('0x3')]()):this[_0x5cc0('0x3')]();}['_updateBalloonPosition'](){const _0xbfa073=this[_0x5cc0('0x36')]['content'][_0x5cc0('0xd')],_0x3e46b3=_0xbfa073&&this[_0x5cc0('0x2b')]['getByView'](_0xbfa073);if(!_0x3e46b3||!this[_0x5cc0('0x34')]['has'](_0x3e46b3))return;const _0x38e0a0=this[_0x5cc0('0x34')][_0x5cc0('0x3d')](_0x3e46b3)['element'],_0x1afec7=function(){const _0x4ffde1=_0x4b2369['defaultPositions'];return[_0x4ffde1[_0x5cc0('0x15')],_0x4ffde1[_0x5cc0('0x48')],_0x4ffde1[_0x5cc0('0x8')],_0x4ffde1[_0x5cc0('0x39')],_0x4ffde1[_0x5cc0('0xe')],_0x4ffde1[_0x5cc0('0x28')]];}();this[_0x5cc0('0x36')]['pin']({'target':_0x38e0a0,'positions':_0x1afec7});}[_0x5cc0('0x4e')](){const _0x467e42=this[_0x5cc0('0x36')],_0x10df99=_0x467e42[_0x5cc0('0x21')][_0x5cc0('0xd')];_0x10df99&&(this[_0x5cc0('0x14')](_0x10df99),_0x467e42[_0x5cc0('0x1b')](),_0x467e42[_0x5cc0('0x21')][_0x5cc0('0x6')]());}[_0x5cc0('0x31')](_0x6049df){this[_0x5cc0('0x4b')](_0x6049df,_0x5cc0('0x16'),()=>this[_0x5cc0('0x3')]()),this['listenTo'](_0x6049df,_0x5cc0('0x2c'),(_0x537433,_0x1ac591)=>{this[_0x5cc0('0x7')]['add'](_0x6049df),this[_0x5cc0('0x4e')](),_0x1ac591();});}['_detachListeners'](_0x3ddc21){this[_0x5cc0('0x3a')](_0x3ddc21);}}
23
+ function _0x57c8(){const _0x3c088d=['_refreshPositioningDebounced','change:container','listenTo','pin','3073168ZVgoKN','refreshPositioning','_updateBalloonPosition','_attachToContainer','low','detachFromDom','northArrowSouthWest','_hideBalloon','_destroyEditorAnnotationsIntegration','refresh','clear','find','northArrowSouth','setActiveAnnotation','annotationType','element','focus','blur','locale','getSidebarItemView','add','high','pluginName','destroy','_setSelectedAnnotations','esc','stopListening','NarrowSidebar','keyCode','init','getOrderedSelectedAnnotations','balloonPanelView','3JglyxN','_selectedAnnotations','attach','northArrowSouthEast','_annotations','view','contains','set','requires','remove','removeEventListener','_manuallyClosedAnnotationViews','off','1212130JyXrpL','editors','preventClosingBalloon','target','resize','southArrowNorth','execute','cancel','2447780OFrkys','stop','plugins','register','7573622cpdZlS','Esc','includes','narrowsidebar-detach-not-attached','rearrange','mousedown','_editorAnnotations','number','4313205iDDkeJ','_showBalloon','hasDomSelection','_integrateWithEditorAnnotations','content','first','get','has','ck-sidebar--narrow','stopPropagation','isAttached','4987768oFldKU','_detachListeners','attachToDom','delete','addEventListener','defaultPositions','_attachListeners','11322396WQuKrL','unpin','create','values','6UVwlyw','annotations','isVisible','keydown','narrowSidebar','_domEmitter','preventDefault','set:container','ready','change:height','narrowsidebar-attach-already-attached','focusableElements','_refreshPositioning','from','_annotationToNarrowView','type','addAnnotation','isDirty','activeAnnotation','_detachFromContainer','context','bind','southArrowNorthWest','length','bodyCollection','detach','uiUpdate','EditorAnnotations','getByView','southArrowNorthEast'];_0x57c8=function(){return _0x3c088d;};return _0x57c8();}function _0x309b(_0x1e5ba7,_0x5ccff6){const _0x57c82a=_0x57c8();return _0x309b=function(_0x309b79,_0x4f4e17){_0x309b79=_0x309b79-0x14a;let _0x4e6c2e=_0x57c82a[_0x309b79];return _0x4e6c2e;},_0x309b(_0x1e5ba7,_0x5ccff6);}const _0x3741d4=_0x309b;(function(_0x43dd47,_0xee8c33){const _0x3d50d0=_0x309b,_0x280c78=_0x43dd47();while(!![]){try{const _0x2efa7a=parseInt(_0x3d50d0(0x17e))/0x1+-parseInt(_0x3d50d0(0x186))/0x2*(parseInt(_0x3d50d0(0x171))/0x3)+parseInt(_0x3d50d0(0x151))/0x4+-parseInt(_0x3d50d0(0x192))/0x5+-parseInt(_0x3d50d0(0x1a8))/0x6*(parseInt(_0x3d50d0(0x18a))/0x7)+parseInt(_0x3d50d0(0x19d))/0x8+parseInt(_0x3d50d0(0x1a4))/0x9;if(_0x2efa7a===_0xee8c33)break;else _0x280c78['push'](_0x280c78['shift']());}catch(_0x460e82){_0x280c78['push'](_0x280c78['shift']());}}}(_0x57c8,0xa94d4));import{ContextPlugin as _0x44a328,Context as _0x12bf35}from'ckeditor5/src/core.js';import _0x989ae9 from'./annotationsuis.js';import _0x4289e0 from'./sidebar.js';import _0x320862 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x47e437,BodyCollection as _0x116999}from'ckeditor5/src/ui.js';import{CKEditorError as _0x5a39df,DomEmitterMixin as _0x3dd1da,keyCodes as _0x1415be,Collection as _0xbb8238}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x2dd982}from'lodash-es';import _0x18eb4b from'./editorannotations.js';export default class i extends _0x44a328{static get[_0x3741d4(0x179)](){return[_0x4289e0,_0x989ae9];}static get[_0x3741d4(0x167)](){const _0x293d2d=_0x3741d4;return _0x293d2d(0x16c);}constructor(_0x48fd8d){const _0x193336=_0x3741d4;super(_0x48fd8d),this[_0x193336(0x19c)]=!0x1,this[_0x193336(0x17c)]=new Set(),this[_0x193336(0x1ad)]=Object[_0x193336(0x1a6)](_0x3dd1da),this[_0x193336(0x1b6)]=new Map(),this[_0x193336(0x178)](_0x193336(0x1ba),null),this[_0x193336(0x1a9)]=null,this[_0x193336(0x172)]=[],this[_0x193336(0x190)]=new _0xbb8238(),this[_0x193336(0x14d)]=_0x2dd982(()=>{const _0x416acb=_0x193336;this[_0x416acb(0x1b4)]();},0xfa,{'leading':!0x1});}[_0x3741d4(0x16e)](){const _0x3d53aa=_0x3741d4;this[_0x3d53aa(0x1bc)][_0x3d53aa(0x188)][_0x3d53aa(0x198)](_0x989ae9)[_0x3d53aa(0x189)](_0x3d53aa(0x1ac),this),this[_0x3d53aa(0x1c0)]=new _0x116999(this[_0x3d53aa(0x1bc)][_0x3d53aa(0x163)]),this[_0x3d53aa(0x170)]=new _0x47e437(this[_0x3d53aa(0x1bc)][_0x3d53aa(0x163)]),this[_0x3d53aa(0x1c0)][_0x3d53aa(0x19f)](),this[_0x3d53aa(0x1c0)][_0x3d53aa(0x165)](this[_0x3d53aa(0x170)]);}[_0x3741d4(0x173)](_0x1b3e72){const _0x93bb64=_0x3741d4;this[_0x93bb64(0x1a9)]=_0x1b3e72;const _0x4c9340=this[_0x93bb64(0x1bc)][_0x93bb64(0x188)][_0x93bb64(0x198)](_0x4289e0),_0x3f967b=this[_0x93bb64(0x170)];if(_0x4c9340[_0x93bb64(0x175)]=_0x1b3e72,this[_0x93bb64(0x19c)])throw new _0x5a39df(_0x93bb64(0x1b2),this);this[_0x93bb64(0x19c)]=!0x0,this[_0x93bb64(0x14f)](_0x4c9340,_0x93bb64(0x1af),()=>{const _0x1cf810=_0x93bb64;this[_0x1cf810(0x1c1)](),this[_0x1cf810(0x14f)](_0x4c9340,_0x1cf810(0x14e),_0x5e23ba=>{const _0x1cdbba=_0x1cf810;_0x5e23ba[_0x1cdbba(0x17d)](),this[_0x1cdbba(0x173)](_0x1b3e72);});}),_0x4c9340[_0x93bb64(0x154)]({'viewClass':_0x93bb64(0x19a),'spaceBetweenItems':0x5});const _0x3eff55=_0x5556a3=>{const _0x1f6b61=_0x93bb64,_0x11761e=new _0x320862(this[_0x1f6b61(0x1bc)][_0x1f6b61(0x163)]);_0x4c9340[_0x1f6b61(0x1b8)](_0x5556a3,_0x11761e),this[_0x1f6b61(0x1b6)][_0x1f6b61(0x178)](_0x5556a3,_0x11761e),_0x11761e[_0x1f6b61(0x1bd)](_0x1f6b61(0x1b9),_0x1f6b61(0x15f),_0x1f6b61(0x191))['to'](_0x5556a3[_0x1f6b61(0x176)],_0x1f6b61(0x1b9),_0x1f6b61(0x1b7),_0x1f6b61(0x1bf)),_0x11761e['on'](_0x1f6b61(0x184),()=>{const _0x53056f=_0x1f6b61;this[_0x53056f(0x17c)][_0x53056f(0x15b)](),_0x3f967b[_0x53056f(0x196)][_0x53056f(0x197)]!==_0x5556a3[_0x53056f(0x176)]?(this[_0x53056f(0x193)](_0x5556a3),_0x5556a3[_0x53056f(0x176)][_0x53056f(0x160)][_0x53056f(0x161)](),this[_0x53056f(0x15e)](_0x5556a3)):this[_0x53056f(0x15e)](null);});};for(const _0x20317e of _0x1b3e72)_0x3eff55(_0x20317e);this[_0x93bb64(0x14f)](_0x1b3e72,_0x93bb64(0x165),(_0x1040fb,_0x4564bc)=>{_0x3eff55(_0x4564bc);}),this[_0x93bb64(0x14f)](_0x1b3e72,_0x93bb64(0x17a),(_0x5d0a2d,_0x510146,_0x5a34c5)=>{const _0x672f75=_0x93bb64;this[_0x672f75(0x1b6)][_0x672f75(0x198)](_0x510146)[_0x672f75(0x168)](),this[_0x672f75(0x1b6)][_0x672f75(0x1a0)](_0x510146),_0x4c9340[_0x672f75(0x18e)]({'removedAnnotation':_0x510146,'previousAnnotation':_0x1b3e72[_0x672f75(0x198)](_0x5a34c5-0x1),'nextAnnotation':_0x1b3e72[_0x672f75(0x198)](_0x5a34c5+0x1)}),_0x510146===this[_0x672f75(0x1ba)]&&this[_0x672f75(0x15e)](null);},{'priority':_0x93bb64(0x155)}),this[_0x93bb64(0x14f)](_0x1b3e72,_0x93bb64(0x161),(_0x5619d1,_0x5f2c83)=>{const _0x5b0c16=_0x93bb64;this[_0x5b0c16(0x15e)](_0x5f2c83);}),this[_0x93bb64(0x14f)](_0x1b3e72,_0x93bb64(0x162),()=>{const _0x543f77=_0x93bb64;this[_0x543f77(0x15e)](null);}),this[_0x93bb64(0x1ad)][_0x93bb64(0x14f)](document,_0x93bb64(0x1ab),(_0x5b1487,_0x214785)=>{const _0x1e9b70=_0x93bb64;_0x214785[_0x1e9b70(0x16d)]===_0x1415be[_0x1e9b70(0x16a)]&&_0x3f967b[_0x1e9b70(0x1aa)]&&(this[_0x1e9b70(0x17c)][_0x1e9b70(0x165)](_0x3f967b[_0x1e9b70(0x196)][_0x1e9b70(0x197)]),this[_0x1e9b70(0x158)](),_0x214785[_0x1e9b70(0x19b)](),_0x214785[_0x1e9b70(0x1ae)]());}),this[_0x93bb64(0x1ad)][_0x93bb64(0x14f)](document,_0x93bb64(0x18f),(_0x1835c9,_0x55251)=>{const _0x2770f4=_0x93bb64,_0xc6a83d=_0x55251[_0x2770f4(0x181)];_0x3f967b[_0x2770f4(0x1aa)]&&_0x3f967b[_0x2770f4(0x160)][_0x2770f4(0x177)](_0xc6a83d)||_0x4c9340[_0x2770f4(0x176)][_0x2770f4(0x160)][_0x2770f4(0x177)](_0xc6a83d)||_0x1835c9[_0x2770f4(0x180)]||this[_0x2770f4(0x1ba)]&&this[_0x2770f4(0x1ba)][_0x2770f4(0x1b3)][_0x2770f4(0x15c)](_0x10af29=>_0x10af29[_0x2770f4(0x177)](_0xc6a83d))||(this[_0x2770f4(0x17c)][_0x2770f4(0x15b)](),this[_0x2770f4(0x158)](),this[_0x2770f4(0x15e)](null));});const _0x5ce53=this[_0x93bb64(0x1bc)]instanceof _0x12bf35?this[_0x93bb64(0x1bc)][_0x93bb64(0x17f)]:new _0xbb8238([this[_0x93bb64(0x1bc)]]);for(const _0x182c77 of _0x5ce53)this[_0x93bb64(0x195)](_0x182c77);this[_0x93bb64(0x14f)](_0x5ce53,_0x93bb64(0x165),(_0xcd914c,_0x7ac7b8)=>{const _0x2c5967=_0x93bb64;this[_0x2c5967(0x14f)](_0x7ac7b8,_0x2c5967(0x1b0),()=>{const _0x17648e=_0x2c5967;this[_0x17648e(0x195)](_0x7ac7b8);});}),this[_0x93bb64(0x14f)](_0x5ce53,_0x93bb64(0x17a),(_0x372aa2,_0x5d40fe)=>{const _0x21a742=_0x93bb64;_0x5d40fe[_0x21a742(0x188)][_0x21a742(0x199)](_0x21a742(0x14a))&&this[_0x21a742(0x159)](_0x5d40fe[_0x21a742(0x188)][_0x21a742(0x198)](_0x21a742(0x14a)));}),window[_0x93bb64(0x1a1)](_0x93bb64(0x182),this[_0x93bb64(0x14d)]),this[_0x93bb64(0x1b4)]();}[_0x3741d4(0x15e)](_0x1fb85c){const _0x2df33a=_0x3741d4;if(_0x1fb85c===this[_0x2df33a(0x1ba)])return;const _0x17d2d3=this[_0x2df33a(0x1bc)][_0x2df33a(0x188)][_0x2df33a(0x198)](_0x4289e0);if(_0x17d2d3[_0x2df33a(0x15a)]({'blurredAnnotation':this[_0x2df33a(0x1ba)],'activatedAnnotation':_0x1fb85c,'disableAnimationOnActivatedAnnotation':!0x0}),_0x1fb85c)_0x17d2d3[_0x2df33a(0x164)](_0x1fb85c)?this[_0x2df33a(0x193)](_0x1fb85c):this[_0x2df33a(0x158)]();else this[_0x2df33a(0x158)]();this[_0x2df33a(0x1ba)]=_0x1fb85c;}[_0x3741d4(0x1c1)](){const _0x5bf1df=_0x3741d4;if(!this[_0x5bf1df(0x19c)])throw new _0x5a39df(_0x5bf1df(0x18d),this);this[_0x5bf1df(0x15e)](null);const _0x3b748b=this[_0x5bf1df(0x1bc)][_0x5bf1df(0x188)][_0x5bf1df(0x198)](_0x4289e0);this[_0x5bf1df(0x158)](),Array[_0x5bf1df(0x1b5)](this[_0x5bf1df(0x1b6)][_0x5bf1df(0x1a7)](),_0x178b45=>_0x178b45[_0x5bf1df(0x168)]()),this[_0x5bf1df(0x1b6)][_0x5bf1df(0x15b)](),_0x3b748b[_0x5bf1df(0x1bb)](this[_0x5bf1df(0x1a9)]),this[_0x5bf1df(0x16b)](),this[_0x5bf1df(0x1ad)][_0x5bf1df(0x16b)](),this[_0x5bf1df(0x1bc)]instanceof _0x12bf35&&this[_0x5bf1df(0x16b)](this[_0x5bf1df(0x1bc)][_0x5bf1df(0x17f)]);for(const _0x57f085 of Array[_0x5bf1df(0x1b5)](this[_0x5bf1df(0x190)]))this[_0x5bf1df(0x159)](_0x57f085);window[_0x5bf1df(0x17b)](_0x5bf1df(0x182),this[_0x5bf1df(0x14d)]),this[_0x5bf1df(0x14d)][_0x5bf1df(0x185)](),this[_0x5bf1df(0x172)]=[],this[_0x5bf1df(0x19c)]=!0x1,this[_0x5bf1df(0x1a9)]=null;}[_0x3741d4(0x168)](){const _0x143406=_0x3741d4;this[_0x143406(0x19c)]&&this[_0x143406(0x1c1)](),this[_0x143406(0x1c0)][_0x143406(0x156)]();}[_0x3741d4(0x195)](_0x59aabf){const _0x13a41a=_0x3741d4,_0x481ce5=_0x59aabf[_0x13a41a(0x188)][_0x13a41a(0x198)](_0x18eb4b),_0x1c4cce=this[_0x13a41a(0x1bc)][_0x13a41a(0x188)][_0x13a41a(0x198)](_0x4289e0),_0x5f2baa=this[_0x13a41a(0x1a9)],_0x3281ab=this[_0x13a41a(0x170)],_0x4bf011=()=>{const _0x387143=_0x13a41a,_0xdaf51d=_0x481ce5[_0x387143(0x16f)]({'annotations':this[_0x387143(0x1a9)],'activeAnnotation':this[_0x387143(0x1ba)]});this[_0x387143(0x169)](_0xdaf51d),this[_0x387143(0x15e)](_0xdaf51d[0x0]||null);};this[_0x13a41a(0x14f)](_0x481ce5,_0x13a41a(0x15a),_0x4bf011),this[_0x13a41a(0x14f)](_0x481ce5,_0x13a41a(0x162),(_0x438ba8,{isAnnotationTracked:_0x645f7})=>{const _0x4f32d3=_0x13a41a;this[_0x4f32d3(0x1ba)]&&_0x645f7(this[_0x4f32d3(0x1ba)])&&(this[_0x4f32d3(0x169)]([]),this[_0x4f32d3(0x15e)](null));}),this[_0x13a41a(0x14f)](_0x481ce5,_0x13a41a(0x1c2),()=>{const _0x23714b=_0x13a41a;this[_0x23714b(0x14d)]();}),this[_0x13a41a(0x14f)](_0x5f2baa,_0x13a41a(0x162),_0x5d277f=>{const _0x4aec79=_0x13a41a;_0x481ce5[_0x4aec79(0x194)]()&&_0x5d277f[_0x4aec79(0x187)]();},{'priority':_0x13a41a(0x166)}),this[_0x13a41a(0x14f)](this[_0x13a41a(0x1ad)],_0x13a41a(0x18f),(_0x31f6d5,_0x38c0a6)=>{const _0xaddd8b=_0x13a41a,_0x2abb07=_0x38c0a6[_0xaddd8b(0x181)];_0x3281ab[_0xaddd8b(0x1aa)]&&_0x3281ab[_0xaddd8b(0x160)][_0xaddd8b(0x177)](_0x2abb07)||_0x1c4cce[_0xaddd8b(0x176)][_0xaddd8b(0x160)][_0xaddd8b(0x177)](_0x2abb07)||this[_0xaddd8b(0x1ba)]&&_0x481ce5[_0xaddd8b(0x194)]()&&(_0x4bf011(),_0x31f6d5[_0xaddd8b(0x180)]=!0x0);},{'priority':_0x13a41a(0x166)}),this[_0x13a41a(0x190)][_0x13a41a(0x165)](_0x481ce5);}[_0x3741d4(0x159)](_0x244f73){const _0x5e8d05=_0x3741d4;_0x244f73&&(this[_0x5e8d05(0x16b)](_0x244f73),this[_0x5e8d05(0x190)][_0x5e8d05(0x17a)](_0x244f73));}[_0x3741d4(0x169)](_0x11ab6c){const _0x240124=_0x3741d4;for(const _0x4c0c78 of this[_0x240124(0x172)])_0x11ab6c[_0x240124(0x18c)](_0x4c0c78)||this[_0x240124(0x17c)][_0x240124(0x1a0)](_0x4c0c78[_0x240124(0x176)]);this[_0x240124(0x172)]=_0x11ab6c;}[_0x3741d4(0x1b4)](){const _0x306b99=_0x3741d4,_0x596f29=this[_0x306b99(0x170)];this[_0x306b99(0x1a9)][_0x306b99(0x152)](),_0x596f29[_0x306b99(0x1aa)]&&this[_0x306b99(0x153)]();}[_0x3741d4(0x193)](_0x280d59){const _0x35c9fc=_0x3741d4;if(this[_0x35c9fc(0x17c)][_0x35c9fc(0x199)](_0x280d59[_0x35c9fc(0x176)]))return;const _0x14907a=this[_0x35c9fc(0x170)][_0x35c9fc(0x196)][_0x35c9fc(0x197)];_0x14907a!==_0x280d59[_0x35c9fc(0x176)]?(_0x14907a&&this[_0x35c9fc(0x19e)](_0x14907a),this[_0x35c9fc(0x1a3)](_0x280d59[_0x35c9fc(0x176)]),this[_0x35c9fc(0x170)][_0x35c9fc(0x196)][_0x35c9fc(0x15b)](),this[_0x35c9fc(0x170)][_0x35c9fc(0x196)][_0x35c9fc(0x165)](_0x280d59[_0x35c9fc(0x176)]),this[_0x35c9fc(0x153)]()):this[_0x35c9fc(0x153)]();}[_0x3741d4(0x153)](){const _0xaad4a1=_0x3741d4,_0x36fbda=this[_0xaad4a1(0x170)][_0xaad4a1(0x196)][_0xaad4a1(0x197)],_0x137ee5=_0x36fbda&&this[_0xaad4a1(0x1a9)][_0xaad4a1(0x14b)](_0x36fbda);if(!_0x137ee5||!this[_0xaad4a1(0x1b6)][_0xaad4a1(0x199)](_0x137ee5))return;const _0x324eff=this[_0xaad4a1(0x1b6)][_0xaad4a1(0x198)](_0x137ee5)[_0xaad4a1(0x160)],_0x432b15=(function(){const _0x4bb876=_0xaad4a1,_0x6ab013=_0x47e437[_0x4bb876(0x1a2)];return[_0x6ab013[_0x4bb876(0x14c)],_0x6ab013[_0x4bb876(0x174)],_0x6ab013[_0x4bb876(0x183)],_0x6ab013[_0x4bb876(0x15d)],_0x6ab013[_0x4bb876(0x1be)],_0x6ab013[_0x4bb876(0x157)]];}());this[_0xaad4a1(0x170)][_0xaad4a1(0x150)]({'target':_0x324eff,'positions':_0x432b15});}[_0x3741d4(0x158)](){const _0x574514=_0x3741d4,_0x55e62d=this[_0x574514(0x170)],_0x55f655=_0x55e62d[_0x574514(0x196)][_0x574514(0x197)];_0x55f655&&(this[_0x574514(0x19e)](_0x55f655),_0x55e62d[_0x574514(0x1a5)](),_0x55e62d[_0x574514(0x196)][_0x574514(0x15b)]());}[_0x3741d4(0x1a3)](_0x505701){const _0x32bd5e=_0x3741d4;this[_0x32bd5e(0x14f)](_0x505701,_0x32bd5e(0x1b1),()=>this[_0x32bd5e(0x153)]()),this[_0x32bd5e(0x14f)](_0x505701,_0x32bd5e(0x18b),(_0xcc658c,_0x3de896)=>{const _0x18435e=_0x32bd5e;this[_0x18435e(0x17c)][_0x18435e(0x165)](_0x505701),this[_0x18435e(0x158)](),_0x3de896();});}[_0x3741d4(0x19e)](_0x3c24f5){const _0xcd4774=_0x3741d4;this[_0xcd4774(0x16b)](_0x3c24f5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7236=['_sidebarItemViewToAnnotation','stopListening','_targetTop','_getItemAfter','_lastItem','context','_getTargetTop','view','sidebar-attachtocontainer-missing-container','_detachFromContainer','element','isAnimationDisabled','targetRect','_activeAnnotation','class','config','pluginName','listenTo','updateHeight','max','target','rearrange','init','define','unbind','_destroySidebarItemView','_createSidebarView','_setItemTop','length','sidebar.container','_recalculate','addAnnotation','change:top','bottom','push','bind','_getMaxAvailableTop','isActive','_attachToContainer','appendChild','top','last','getSidebarItemView','remove','_alignForTopChange','_alignBeforeItem','_annotations','Sidebar','add','_updateLastItem','locale','sidebar.preventScrollOutOfView','_alignForBottomChange','_annotationToSidebarItemView','delete','refresh','object','minHeight','_recalculateBuffer','setContainer','list','_spaceBetweenItems','content','_alignAfterItem','get','container','_getItemBefore','_alignToTargetRect','set','change:targetRect'];(function(_0x19422b,_0x7236c5){const _0x3641a4=function(_0x5aa0c5){while(--_0x5aa0c5){_0x19422b['push'](_0x19422b['shift']());}};_0x3641a4(++_0x7236c5);}(_0x7236,0xce));const _0x3641=function(_0x19422b,_0x7236c5){_0x19422b=_0x19422b-0x0;let _0x3641a4=_0x7236[_0x19422b];return _0x3641a4;};import{ContextPlugin as _0x2213e1}from'ckeditor5/src/core.js';import{Rect as _0x1e130b,CKEditorError as _0x207042}from'ckeditor5/src/utils.js';import _0x30bccf from'./view/sidebarview.js';import _0x4ea60b from'./view/sidebaritemview.js';export default class z extends _0x2213e1{static get[_0x3641('0x14')](){return _0x3641('0x33');}constructor(_0x2dab22){super(_0x2dab22),this[_0x3641('0x2')](_0x3641('0x8'),void 0x0),this[_0x3641('0xb')]=this[_0x3641('0x1e')](),this[_0x3641('0x2')](_0x3641('0x45'),null),this[_0x3641('0x41')]=0x19,this['_sidebarItemViewToAnnotation']=new Map(),this[_0x3641('0x39')]=new Map(),this['context'][_0x3641('0x13')][_0x3641('0x1b')](_0x3641('0x37'),!0x1),this['_annotations']=null,this[_0x3641('0x11')]=null,this[_0x3641('0x3e')]=[];}[_0x3641('0x1a')](){const _0x144fd3=this[_0x3641('0x9')][_0x3641('0x13')][_0x3641('0x44')](_0x3641('0x21'));_0x144fd3&&this[_0x3641('0x3f')](_0x144fd3);}[_0x3641('0x3f')](_0xc9d342){if(!y(_0xc9d342))throw new _0x207042('sidebar-setcontainer-invalid-element');this[_0x3641('0x45')]=_0xc9d342;}[_0x3641('0x2a')]({viewClass:_0x19a42b='',spaceBetweenItems:_0x362804=0x19}={}){if(!y(this[_0x3641('0x45')]))throw new _0x207042(_0x3641('0xc'),this);this['container'][_0x3641('0x2b')](this[_0x3641('0xb')][_0x3641('0xe')]),this[_0x3641('0xb')][_0x3641('0x12')]=_0x19a42b,this[_0x3641('0x41')]=_0x362804;}[_0x3641('0x19')]({removedAnnotation:_0x431a86,previousAnnotation:_0x5376d5,nextAnnotation:_0x223ca7}){const _0x45b867=this[_0x3641('0x2e')](_0x431a86);this['view'][_0x3641('0x40')][_0x3641('0x2f')](_0x45b867),this[_0x3641('0x1d')](_0x431a86),_0x5376d5&&this[_0x3641('0x1')](this['getSidebarItemView'](_0x5376d5)),_0x223ca7&&this[_0x3641('0x1')](this[_0x3641('0x2e')](_0x223ca7)),this[_0x3641('0x35')]();}[_0x3641('0x3b')]({blurredAnnotation:_0x42e0dc,activatedAnnotation:_0x20c386,disableAnimationOnActivatedAnnotation:_0x2689bc}){if(this[_0x3641('0x11')]=_0x20c386,_0x42e0dc){_0x42e0dc[_0x3641('0x29')]=!0x1;const _0x108dce=this[_0x3641('0x2e')](_0x42e0dc);_0x108dce&&_0x2689bc&&(_0x108dce[_0x3641('0xf')]=!0x1);}if(_0x20c386){const _0x46b449=this[_0x3641('0x2e')](_0x20c386);_0x46b449&&(_0x20c386[_0x3641('0x29')]=!0x0,_0x2689bc&&(_0x46b449[_0x3641('0xf')]=!0x0,_0x46b449['top']+=0x1),this['_alignToTargetRect'](_0x46b449));}}[_0x3641('0xd')](_0x46d393){if(this[_0x3641('0xb')]['element'][_0x3641('0x2f')](),_0x46d393)for(const _0x1bdf64 of _0x46d393)this[_0x3641('0x1d')](_0x1bdf64);this['view']['list']['clear'](),this[_0x3641('0xb')][_0x3641('0x12')]='',this['_lastItem']=null;}[_0x3641('0x23')](_0x34e656,_0x32f010){_0x32f010||(_0x32f010=_0x34e656[_0x3641('0xb')]);const _0x1bc975=new _0x4ea60b(this[_0x3641('0x9')][_0x3641('0x36')]);this[_0x3641('0x4')][_0x3641('0x2')](_0x1bc975,_0x34e656),this[_0x3641('0x39')][_0x3641('0x2')](_0x34e656,_0x1bc975),_0x1bc975[_0x3641('0x42')]['add'](_0x32f010),this[_0x3641('0x15')](_0x34e656[_0x3641('0xb')],_0x3641('0x3'),(_0xb25dcc,_0x41c8f2,_0x2bfb9e)=>{const _0x3ee14f=this[_0x3641('0xa')](_0x34e656,_0x2bfb9e);_0x1bc975['_targetTop']!=_0x3ee14f&&(_0x1bc975[_0x3641('0x6')]=_0x3ee14f,this[_0x3641('0x1f')](_0x1bc975,_0x3ee14f));}),this['listenTo'](_0x1bc975,_0x3641('0x24'),()=>{this['_recalculate'](_0x1bc975,_0x3641('0x2c'));}),this[_0x3641('0x15')](_0x1bc975,'change:bottom',()=>{this[_0x3641('0x22')](_0x1bc975,'bottom');}),this[_0x3641('0x1')](_0x1bc975);const _0x45aca4=this['_getItemBefore'](_0x1bc975);if(_0x45aca4)this[_0x3641('0x43')](_0x45aca4,_0x1bc975)||this[_0x3641('0x1')](_0x1bc975);else this['_alignToTargetRect'](_0x1bc975);return this['_updateLastItem'](),this[_0x3641('0xb')][_0x3641('0x40')][_0x3641('0x34')](_0x1bc975),_0x1bc975;}[_0x3641('0x30')](_0xaf087d){if(!_0xaf087d['content']['length'])return;const _0x2aacdb=this[_0x3641('0x0')](_0xaf087d);if(!_0x2aacdb)return;const _0x329ff5=this['_sidebarItemViewToAnnotation'][_0x3641('0x44')](_0x2aacdb),_0x3dc3a2=this[_0x3641('0x11')];_0x3dc3a2&&_0x3dc3a2===_0x329ff5?this[_0x3641('0x43')](_0x2aacdb,_0xaf087d):this['_alignBeforeItem'](_0xaf087d,_0x2aacdb);}[_0x3641('0x38')](_0xf977ac){if(!_0xf977ac[_0x3641('0x42')]['length'])return;const _0x276eb5=this['_getItemAfter'](_0xf977ac);if(!_0x276eb5)return;const _0x222355=this[_0x3641('0x4')]['get'](_0x276eb5),_0x56f864=this[_0x3641('0x9')][_0x3641('0x13')][_0x3641('0x44')](_0x3641('0x37')),_0x3d9fb3=this[_0x3641('0x11')];_0x3d9fb3&&_0x3d9fb3===_0x222355&&_0x56f864?(this['_alignBeforeItem'](_0x276eb5,_0xf977ac),this['_alignAfterItem'](_0xf977ac,_0x276eb5)):_0x3d9fb3&&_0x3d9fb3===_0x222355?this[_0x3641('0x31')](_0x276eb5,_0xf977ac):this[_0x3641('0x43')](_0xf977ac,_0x276eb5);}[_0x3641('0x22')](_0x38008a,_0x2a05ed){0x0===this['_recalculateBuffer'][_0x3641('0x20')]&&setTimeout(()=>{for(const {sidebarItemView:_0x514fe9,changedProp:_0x40e8f9}of this['_recalculateBuffer'])_0x3641('0x2c')===_0x40e8f9?this[_0x3641('0x30')](_0x514fe9):this[_0x3641('0x38')](_0x514fe9);this[_0x3641('0x3e')]=[];},0xa),this[_0x3641('0x3e')][_0x3641('0x26')]({'sidebarItemView':_0x38008a,'changedProp':_0x2a05ed});}[_0x3641('0x2e')](_0x58278e){return this['_annotationToSidebarItemView'][_0x3641('0x44')](_0x58278e);}['destroy'](){this[_0x3641('0x5')](),this[_0x3641('0xb')]['destroy']();}[_0x3641('0x1d')](_0x5d0277){const _0xbd05dd=this[_0x3641('0x2e')](_0x5d0277);this[_0x3641('0x5')](_0xbd05dd),this[_0x3641('0x5')](_0x5d0277[_0x3641('0xb')]),_0xbd05dd['destroy'](),this[_0x3641('0x39')][_0x3641('0x3a')](_0x5d0277),this['_sidebarItemViewToAnnotation'][_0x3641('0x3a')](_0xbd05dd);}[_0x3641('0x1e')](){const _0x4c5081=new _0x30bccf(this['context'][_0x3641('0x36')]);return _0x4c5081['render'](),this['on']('change:_lastItem',(_0x3535e5,_0x5aa5fa,_0x389d5b,_0x3c3181)=>{_0x3c3181&&_0x4c5081[_0x3641('0x1c')](_0x3641('0x3d')),_0x389d5b?_0x4c5081[_0x3641('0x27')]('minHeight')['to'](_0x389d5b,'bottom'):_0x4c5081[_0x3641('0x3d')]=null;}),_0x4c5081;}[_0x3641('0x35')](){var _0x36b102;this['_lastItem']=(null===(_0x36b102=this[_0x3641('0x32')])||void 0x0===_0x36b102?void 0x0:_0x36b102[_0x3641('0x2d')])?this[_0x3641('0x2e')](this[_0x3641('0x32')][_0x3641('0x2d')]):null;}['_getItemBefore'](_0x8c9b1){var _0x5d255c;const _0x2b579c=this[_0x3641('0x4')][_0x3641('0x44')](_0x8c9b1),_0x2eda34=_0x2b579c&&(null===(_0x5d255c=this['_annotations'])||void 0x0===_0x5d255c?void 0x0:_0x5d255c['get'](this['_annotations']['getIndex'](_0x2b579c)-0x1));return _0x2eda34&&this['getSidebarItemView'](_0x2eda34)||null;}[_0x3641('0x7')](_0x1111f5){var _0x3c43ef;const _0x1501ad=this[_0x3641('0x4')][_0x3641('0x44')](_0x1111f5),_0x3beb21=_0x1501ad&&(null===(_0x3c43ef=this[_0x3641('0x32')])||void 0x0===_0x3c43ef?void 0x0:_0x3c43ef[_0x3641('0x44')](this['_annotations']['getIndex'](_0x1501ad)+0x1));return _0x3beb21&&this['getSidebarItemView'](_0x3beb21)||null;}[_0x3641('0x31')](_0x1074f8,_0x39220e){_0x1074f8['updateHeight']();const _0x38bbd3=M(_0x39220e[_0x3641('0x25')]+this[_0x3641('0x41')],_0x1074f8[_0x3641('0x2c')]);return!!_0x38bbd3&&(this['_setItemTop'](_0x39220e,_0x39220e['top']-_0x38bbd3),!0x0);}[_0x3641('0x43')](_0x22a94f,_0x5f2782){_0x22a94f[_0x3641('0x16')]();const _0x31cdae=M(_0x22a94f[_0x3641('0x25')]+this[_0x3641('0x41')],_0x5f2782[_0x3641('0x2c')]);return!!_0x31cdae&&(this[_0x3641('0x1f')](_0x5f2782,_0x5f2782[_0x3641('0x2c')]+_0x31cdae,!0x1),!0x0);}[_0x3641('0x1')](_0x52345e){const _0x2233d8=this[_0x3641('0x4')]['get'](_0x52345e);if(!_0x2233d8||!_0x2233d8[_0x3641('0x18')]||!_0x2233d8[_0x3641('0x10')])return;const _0x31e996=this['_getTargetTop'](_0x2233d8,_0x2233d8[_0x3641('0x10')]);this[_0x3641('0x1f')](_0x52345e,_0x31e996);}['_getTargetTop'](_0x5080f5,_0xf67b20){if(null===_0xf67b20)return 0x0;if(_0x5080f5[_0x3641('0x18')]instanceof _0x1e130b)return _0xf67b20[_0x3641('0x2c')];{const _0x370112=new _0x1e130b(this[_0x3641('0xb')][_0x3641('0xe')])[_0x3641('0x2c')];return _0xf67b20[_0x3641('0x2c')]-_0x370112;}}['_setItemTop'](_0xc99b7a,_0x31e660,_0x47192d=this[_0x3641('0x9')][_0x3641('0x13')]['get'](_0x3641('0x37'))){_0x47192d&&(_0x31e660=Math[_0x3641('0x17')](_0x31e660,this[_0x3641('0x28')](_0xc99b7a))),_0xc99b7a[_0x3641('0x2c')]=_0x31e660;}[_0x3641('0x28')](_0xcb2e07){let _0x59fc23=this['_getItemBefore'](_0xcb2e07),_0x57e12f=0x0;for(;_0x59fc23;)_0x59fc23[_0x3641('0x16')](),_0x57e12f+=this['_spaceBetweenItems']+_0x59fc23['height'],_0x59fc23=this[_0x3641('0x0')](_0x59fc23);return _0x57e12f;}}function M(_0x7050d5,_0x5039ba){return Math[_0x3641('0x17')](_0x7050d5-_0x5039ba,0x0);}function y(_0xdc3d55){return null!==_0xdc3d55&&_0x3641('0x3c')==typeof _0xdc3d55&&0x1===_0xdc3d55['nodeType'];}
23
+ const _0x13db8c=_0x154d;function _0x154d(_0x104f38,_0x40f9bd){const _0x488c11=_0x488c();return _0x154d=function(_0x154deb,_0x446ebd){_0x154deb=_0x154deb-0x12b;let _0x241bb4=_0x488c11[_0x154deb];return _0x241bb4;},_0x154d(_0x104f38,_0x40f9bd);}(function(_0x227a5f,_0x550e6b){const _0x4e5827=_0x154d,_0x111122=_0x227a5f();while(!![]){try{const _0x39bf60=parseInt(_0x4e5827(0x139))/0x1*(-parseInt(_0x4e5827(0x17e))/0x2)+-parseInt(_0x4e5827(0x182))/0x3+-parseInt(_0x4e5827(0x17a))/0x4+parseInt(_0x4e5827(0x17f))/0x5*(parseInt(_0x4e5827(0x179))/0x6)+-parseInt(_0x4e5827(0x131))/0x7*(-parseInt(_0x4e5827(0x12d))/0x8)+parseInt(_0x4e5827(0x15c))/0x9*(-parseInt(_0x4e5827(0x15a))/0xa)+parseInt(_0x4e5827(0x156))/0xb;if(_0x39bf60===_0x550e6b)break;else _0x111122['push'](_0x111122['shift']());}catch(_0x440012){_0x111122['push'](_0x111122['shift']());}}}(_0x488c,0x51c01));import{ContextPlugin as _0x4c51f0}from'ckeditor5/src/core.js';import{Rect as _0x29c212,CKEditorError as _0x26e59a}from'ckeditor5/src/utils.js';import _0x2e190a from'./view/sidebarview.js';import _0x28275d from'./view/sidebaritemview.js';function _0x488c(){const _0x55acd8=['_getTargetTop','listenTo','unbind','set','_attachToContainer','stopListening','isAnimationDisabled','18256040MkMGfu','target','sidebar.container','content','110sXulRZ','_getMaxAvailableTop','308061xGtyHN','get','push','_activeAnnotation','_createSidebarView','length','context','_alignForTopChange','_recalculate','_sidebarItemViewToAnnotation','change:_lastItem','appendChild','max','_annotationToSidebarItemView','setContainer','addAnnotation','_setItemTop','updateHeight','_alignToTargetRect','sidebar-attachtocontainer-missing-container','locale','_destroySidebarItemView','init','_recalculateBuffer','_lastItem','bottom','sidebar-setcontainer-invalid-element','object','height','7962gLUngS','2557676tWakEa','remove','pluginName','view','122uOyCSD','2505zROroP','getSidebarItemView','_alignForBottomChange','1822212Izokmm','list','config','targetRect','clear','2144504Fgomqy','class','_targetTop','getIndex','7fhmcMz','change:targetRect','_spaceBetweenItems','bind','_alignBeforeItem','delete','minHeight','refresh','10399IESfXS','define','_getItemBefore','element','container','isActive','change:bottom','rearrange','_annotations','top','last','render','_detachFromContainer','sidebar.preventScrollOutOfView','_updateLastItem','nodeType','add','_getItemAfter','_alignAfterItem','destroy','change:top','Sidebar'];_0x488c=function(){return _0x55acd8;};return _0x488c();}export default class z extends _0x4c51f0{static get[_0x13db8c(0x17c)](){const _0x110d7e=_0x13db8c;return _0x110d7e(0x14e);}constructor(_0x494c6b){const _0x5973d8=_0x13db8c;super(_0x494c6b),this[_0x5973d8(0x152)](_0x5973d8(0x174),void 0x0),this[_0x5973d8(0x17d)]=this[_0x5973d8(0x160)](),this[_0x5973d8(0x152)](_0x5973d8(0x13d),null),this[_0x5973d8(0x133)]=0x19,this[_0x5973d8(0x165)]=new Map(),this[_0x5973d8(0x169)]=new Map(),this[_0x5973d8(0x162)][_0x5973d8(0x184)][_0x5973d8(0x13a)](_0x5973d8(0x146),!0x1),this[_0x5973d8(0x141)]=null,this[_0x5973d8(0x15f)]=null,this[_0x5973d8(0x173)]=[];}[_0x13db8c(0x172)](){const _0x490683=_0x13db8c,_0x21e60e=this[_0x490683(0x162)][_0x490683(0x184)][_0x490683(0x15d)](_0x490683(0x158));_0x21e60e&&this[_0x490683(0x16a)](_0x21e60e);}[_0x13db8c(0x16a)](_0x932988){const _0xc495cb=_0x13db8c;if(!y(_0x932988))throw new _0x26e59a(_0xc495cb(0x176));this[_0xc495cb(0x13d)]=_0x932988;}[_0x13db8c(0x153)]({viewClass:_0x3253af='',spaceBetweenItems:_0x20f7fa=0x19}={}){const _0x3b0999=_0x13db8c;if(!y(this[_0x3b0999(0x13d)]))throw new _0x26e59a(_0x3b0999(0x16f),this);this[_0x3b0999(0x13d)][_0x3b0999(0x167)](this[_0x3b0999(0x17d)][_0x3b0999(0x13c)]),this[_0x3b0999(0x17d)][_0x3b0999(0x12e)]=_0x3253af,this[_0x3b0999(0x133)]=_0x20f7fa;}[_0x13db8c(0x140)]({removedAnnotation:_0x3d8ac9,previousAnnotation:_0x3c8fa2,nextAnnotation:_0x1a38ba}){const _0xa0fcd6=_0x13db8c,_0x23f6d0=this[_0xa0fcd6(0x180)](_0x3d8ac9);this[_0xa0fcd6(0x17d)][_0xa0fcd6(0x183)][_0xa0fcd6(0x17b)](_0x23f6d0),this[_0xa0fcd6(0x171)](_0x3d8ac9),_0x3c8fa2&&this[_0xa0fcd6(0x16e)](this[_0xa0fcd6(0x180)](_0x3c8fa2)),_0x1a38ba&&this[_0xa0fcd6(0x16e)](this[_0xa0fcd6(0x180)](_0x1a38ba)),this[_0xa0fcd6(0x147)]();}[_0x13db8c(0x138)]({blurredAnnotation:_0x38bc34,activatedAnnotation:_0x27f80c,disableAnimationOnActivatedAnnotation:_0x4dc16b}){const _0x40b429=_0x13db8c;if(this[_0x40b429(0x15f)]=_0x27f80c,_0x38bc34){_0x38bc34[_0x40b429(0x13e)]=!0x1;const _0x2e3b03=this[_0x40b429(0x180)](_0x38bc34);_0x2e3b03&&_0x4dc16b&&(_0x2e3b03[_0x40b429(0x155)]=!0x1);}if(_0x27f80c){const _0x4f99f7=this[_0x40b429(0x180)](_0x27f80c);_0x4f99f7&&(_0x27f80c[_0x40b429(0x13e)]=!0x0,_0x4dc16b&&(_0x4f99f7[_0x40b429(0x155)]=!0x0,_0x4f99f7[_0x40b429(0x142)]+=0x1),this[_0x40b429(0x16e)](_0x4f99f7));}}[_0x13db8c(0x145)](_0x12d83b){const _0x382a73=_0x13db8c;if(this[_0x382a73(0x17d)][_0x382a73(0x13c)][_0x382a73(0x17b)](),_0x12d83b){for(const _0x287678 of _0x12d83b)this[_0x382a73(0x171)](_0x287678);}this[_0x382a73(0x17d)][_0x382a73(0x183)][_0x382a73(0x12c)](),this[_0x382a73(0x17d)][_0x382a73(0x12e)]='',this[_0x382a73(0x174)]=null;}[_0x13db8c(0x16b)](_0x4544d7,_0x35757d){const _0x37d897=_0x13db8c;_0x35757d||(_0x35757d=_0x4544d7[_0x37d897(0x17d)]);const _0x6abe49=new _0x28275d(this[_0x37d897(0x162)][_0x37d897(0x170)]);this[_0x37d897(0x165)][_0x37d897(0x152)](_0x6abe49,_0x4544d7),this[_0x37d897(0x169)][_0x37d897(0x152)](_0x4544d7,_0x6abe49),_0x6abe49[_0x37d897(0x159)][_0x37d897(0x149)](_0x35757d),this[_0x37d897(0x150)](_0x4544d7[_0x37d897(0x17d)],_0x37d897(0x132),(_0x4e22a8,_0x3239e5,_0x1d5985)=>{const _0x243042=_0x37d897,_0x33da08=this[_0x243042(0x14f)](_0x4544d7,_0x1d5985);_0x6abe49[_0x243042(0x12f)]!=_0x33da08&&(_0x6abe49[_0x243042(0x12f)]=_0x33da08,this[_0x243042(0x16c)](_0x6abe49,_0x33da08));}),this[_0x37d897(0x150)](_0x6abe49,_0x37d897(0x14d),()=>{const _0x196293=_0x37d897;this[_0x196293(0x164)](_0x6abe49,_0x196293(0x142));}),this[_0x37d897(0x150)](_0x6abe49,_0x37d897(0x13f),()=>{const _0x4d8079=_0x37d897;this[_0x4d8079(0x164)](_0x6abe49,_0x4d8079(0x175));}),this[_0x37d897(0x16e)](_0x6abe49);const _0x56101d=this[_0x37d897(0x13b)](_0x6abe49);if(_0x56101d)this[_0x37d897(0x14b)](_0x56101d,_0x6abe49)||this[_0x37d897(0x16e)](_0x6abe49);else this[_0x37d897(0x16e)](_0x6abe49);return this[_0x37d897(0x147)](),this[_0x37d897(0x17d)][_0x37d897(0x183)][_0x37d897(0x149)](_0x6abe49),_0x6abe49;}[_0x13db8c(0x163)](_0x5e1472){const _0x23da51=_0x13db8c;if(!_0x5e1472[_0x23da51(0x159)][_0x23da51(0x161)])return;const _0x27a946=this[_0x23da51(0x13b)](_0x5e1472);if(!_0x27a946)return;const _0x5461dd=this[_0x23da51(0x165)][_0x23da51(0x15d)](_0x27a946),_0x40b22b=this[_0x23da51(0x15f)];_0x40b22b&&_0x40b22b===_0x5461dd?this[_0x23da51(0x14b)](_0x27a946,_0x5e1472):this[_0x23da51(0x135)](_0x5e1472,_0x27a946);}[_0x13db8c(0x181)](_0x540a25){const _0x4617d0=_0x13db8c;if(!_0x540a25[_0x4617d0(0x159)][_0x4617d0(0x161)])return;const _0x446e67=this[_0x4617d0(0x14a)](_0x540a25);if(!_0x446e67)return;const _0x4722e7=this[_0x4617d0(0x165)][_0x4617d0(0x15d)](_0x446e67),_0x1f65c8=this[_0x4617d0(0x162)][_0x4617d0(0x184)][_0x4617d0(0x15d)](_0x4617d0(0x146)),_0x42a674=this[_0x4617d0(0x15f)];_0x42a674&&_0x42a674===_0x4722e7&&_0x1f65c8?(this[_0x4617d0(0x135)](_0x446e67,_0x540a25),this[_0x4617d0(0x14b)](_0x540a25,_0x446e67)):_0x42a674&&_0x42a674===_0x4722e7?this[_0x4617d0(0x135)](_0x446e67,_0x540a25):this[_0x4617d0(0x14b)](_0x540a25,_0x446e67);}[_0x13db8c(0x164)](_0x20b00d,_0x2f1d3d){const _0x1f6322=_0x13db8c;0x0===this[_0x1f6322(0x173)][_0x1f6322(0x161)]&&setTimeout(()=>{const _0x5e926f=_0x1f6322;for(const {sidebarItemView:_0x179335,changedProp:_0x1d29b7}of this[_0x5e926f(0x173)])_0x5e926f(0x142)===_0x1d29b7?this[_0x5e926f(0x163)](_0x179335):this[_0x5e926f(0x181)](_0x179335);this[_0x5e926f(0x173)]=[];},0xa),this[_0x1f6322(0x173)][_0x1f6322(0x15e)]({'sidebarItemView':_0x20b00d,'changedProp':_0x2f1d3d});}[_0x13db8c(0x180)](_0x106c60){const _0x36605d=_0x13db8c;return this[_0x36605d(0x169)][_0x36605d(0x15d)](_0x106c60);}[_0x13db8c(0x14c)](){const _0x4dd285=_0x13db8c;this[_0x4dd285(0x154)](),this[_0x4dd285(0x17d)][_0x4dd285(0x14c)]();}[_0x13db8c(0x171)](_0x356728){const _0x2892f1=_0x13db8c,_0x8809d1=this[_0x2892f1(0x180)](_0x356728);this[_0x2892f1(0x154)](_0x8809d1),this[_0x2892f1(0x154)](_0x356728[_0x2892f1(0x17d)]),_0x8809d1[_0x2892f1(0x14c)](),this[_0x2892f1(0x169)][_0x2892f1(0x136)](_0x356728),this[_0x2892f1(0x165)][_0x2892f1(0x136)](_0x8809d1);}[_0x13db8c(0x160)](){const _0x38ee75=_0x13db8c,_0x2cf22e=new _0x2e190a(this[_0x38ee75(0x162)][_0x38ee75(0x170)]);return _0x2cf22e[_0x38ee75(0x144)](),this['on'](_0x38ee75(0x166),(_0x832148,_0x275369,_0x4f0d34,_0x213b96)=>{const _0x512659=_0x38ee75;_0x213b96&&_0x2cf22e[_0x512659(0x151)](_0x512659(0x137)),_0x4f0d34?_0x2cf22e[_0x512659(0x134)](_0x512659(0x137))['to'](_0x4f0d34,_0x512659(0x175)):_0x2cf22e[_0x512659(0x137)]=null;}),_0x2cf22e;}[_0x13db8c(0x147)](){const _0x4592f0=_0x13db8c;var _0x57e8e7;this[_0x4592f0(0x174)]=(null===(_0x57e8e7=this[_0x4592f0(0x141)])||void 0x0===_0x57e8e7?void 0x0:_0x57e8e7[_0x4592f0(0x143)])?this[_0x4592f0(0x180)](this[_0x4592f0(0x141)][_0x4592f0(0x143)]):null;}[_0x13db8c(0x13b)](_0xc40ae7){const _0x25f0a0=_0x13db8c;var _0x555eea;const _0x336566=this[_0x25f0a0(0x165)][_0x25f0a0(0x15d)](_0xc40ae7),_0x4b37dd=_0x336566&&(null===(_0x555eea=this[_0x25f0a0(0x141)])||void 0x0===_0x555eea?void 0x0:_0x555eea[_0x25f0a0(0x15d)](this[_0x25f0a0(0x141)][_0x25f0a0(0x130)](_0x336566)-0x1));return _0x4b37dd&&this[_0x25f0a0(0x180)](_0x4b37dd)||null;}[_0x13db8c(0x14a)](_0x457bf4){const _0x1cf7d4=_0x13db8c;var _0x46c817;const _0x3a449e=this[_0x1cf7d4(0x165)][_0x1cf7d4(0x15d)](_0x457bf4),_0x44ef44=_0x3a449e&&(null===(_0x46c817=this[_0x1cf7d4(0x141)])||void 0x0===_0x46c817?void 0x0:_0x46c817[_0x1cf7d4(0x15d)](this[_0x1cf7d4(0x141)][_0x1cf7d4(0x130)](_0x3a449e)+0x1));return _0x44ef44&&this[_0x1cf7d4(0x180)](_0x44ef44)||null;}[_0x13db8c(0x135)](_0x4aaa7d,_0xe58cfa){const _0x41ef5b=_0x13db8c;_0x4aaa7d[_0x41ef5b(0x16d)]();const _0x433e85=M(_0xe58cfa[_0x41ef5b(0x175)]+this[_0x41ef5b(0x133)],_0x4aaa7d[_0x41ef5b(0x142)]);return!!_0x433e85&&(this[_0x41ef5b(0x16c)](_0xe58cfa,_0xe58cfa[_0x41ef5b(0x142)]-_0x433e85),!0x0);}[_0x13db8c(0x14b)](_0x20062d,_0x28c02f){const _0x419bcd=_0x13db8c;_0x20062d[_0x419bcd(0x16d)]();const _0x4313f4=M(_0x20062d[_0x419bcd(0x175)]+this[_0x419bcd(0x133)],_0x28c02f[_0x419bcd(0x142)]);return!!_0x4313f4&&(this[_0x419bcd(0x16c)](_0x28c02f,_0x28c02f[_0x419bcd(0x142)]+_0x4313f4,!0x1),!0x0);}[_0x13db8c(0x16e)](_0xa4afc){const _0x521fec=_0x13db8c,_0x7a987=this[_0x521fec(0x165)][_0x521fec(0x15d)](_0xa4afc);if(!_0x7a987||!_0x7a987[_0x521fec(0x157)]||!_0x7a987[_0x521fec(0x12b)])return;const _0x24bc5f=this[_0x521fec(0x14f)](_0x7a987,_0x7a987[_0x521fec(0x12b)]);this[_0x521fec(0x16c)](_0xa4afc,_0x24bc5f);}[_0x13db8c(0x14f)](_0xd59597,_0x36c854){const _0x2d6eca=_0x13db8c;if(null===_0x36c854)return 0x0;if(_0xd59597[_0x2d6eca(0x157)]instanceof _0x29c212)return _0x36c854[_0x2d6eca(0x142)];{const _0x4876c9=new _0x29c212(this[_0x2d6eca(0x17d)][_0x2d6eca(0x13c)])[_0x2d6eca(0x142)];return _0x36c854[_0x2d6eca(0x142)]-_0x4876c9;}}[_0x13db8c(0x16c)](_0x36c6d7,_0x29bed3,_0x476e6d=this[_0x13db8c(0x162)][_0x13db8c(0x184)][_0x13db8c(0x15d)](_0x13db8c(0x146))){const _0x3af411=_0x13db8c;_0x476e6d&&(_0x29bed3=Math[_0x3af411(0x168)](_0x29bed3,this[_0x3af411(0x15b)](_0x36c6d7))),_0x36c6d7[_0x3af411(0x142)]=_0x29bed3;}[_0x13db8c(0x15b)](_0x4021cd){const _0xc55148=_0x13db8c;let _0x18eadb=this[_0xc55148(0x13b)](_0x4021cd),_0xd1d938=0x0;for(;_0x18eadb;)_0x18eadb[_0xc55148(0x16d)](),_0xd1d938+=this[_0xc55148(0x133)]+_0x18eadb[_0xc55148(0x178)],_0x18eadb=this[_0xc55148(0x13b)](_0x18eadb);return _0xd1d938;}}function M(_0x4d8c84,_0x4769ae){const _0x46841a=_0x13db8c;return Math[_0x46841a(0x168)](_0x4d8c84-_0x4769ae,0x0);}function y(_0x312532){const _0xcf4245=_0x13db8c;return null!==_0x312532&&_0xcf4245(0x177)==typeof _0x312532&&0x1===_0x312532[_0xcf4245(0x148)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd926=['ck-annotation-counter','counterView','bindTemplate','isDirty','number','span','extendTemplate','ck-annotation-counter__badge--','bind','ck-annotation-counter__badge--edit-mode','setTemplate','add','children','_badge','icon','...'];(function(_0x34d53e,_0xd92676){const _0x2ddfcd=function(_0x574b21){while(--_0x574b21){_0x34d53e['push'](_0x34d53e['shift']());}};_0x2ddfcd(++_0xd92676);}(_0xd926,0x142));const _0x2ddf=function(_0x34d53e,_0xd92676){_0x34d53e=_0x34d53e-0x0;let _0x2ddfcd=_0xd926[_0x34d53e];return _0x2ddfcd;};import{ButtonView as _0x525de9,View as _0x46d5b6}from'ckeditor5/src/ui.js';import _0x3e8815 from'../../../theme/icons/add-comment.svg';export default class D extends _0x525de9{constructor(_0x445e22){super(_0x445e22);const _0x3cb3df=this[_0x2ddf('0x0')];this['set'](_0x2ddf('0x1'),!0x1),this['set'](_0x2ddf('0x2'),0x0),this[_0x2ddf('0x6')](_0x2ddf('0xb'))['to'](this,_0x2ddf('0x1'),this,_0x2ddf('0x2'),(_0x5d9c38,_0x5e6234)=>_0x5d9c38?_0x2ddf('0xd'):_0x5e6234['toString']()),this['set']('annotationType',''),this[_0x2ddf('0xc')]=_0x3e8815,this[_0x2ddf('0x4')]({'attributes':{'class':[_0x2ddf('0xe')]}}),this['counterView']=new _0x46d5b6(),this[_0x2ddf('0xf')][_0x2ddf('0x8')]({'tag':_0x2ddf('0x3'),'attributes':{'class':['ck-annotation-counter__badge',_0x3cb3df['to']('annotationType',_0x12ec35=>_0x2ddf('0x5')+_0x12ec35),_0x3cb3df['if'](_0x2ddf('0x1'),_0x2ddf('0x7'))]},'children':[{'text':_0x3cb3df['to'](_0x2ddf('0xb'))}]}),this[_0x2ddf('0xa')][_0x2ddf('0x9')](this['counterView']);}}
23
+ function _0x9242(){const _0x4661de=['2250752Xbtpji','6fPDaNN','1506355YsRIMf','children','extendTemplate','1128eycKDp','ck-annotation-counter__badge','toString','span','ck-annotation-counter','bindTemplate','counterView','add','6332543GeYZEY','1565966EywPEh','set','icon','bind','28237005jjFJHc','_badge','...','ck-annotation-counter__badge--','1242796GdVVwE','706wbMalD','isDirty','number','ck-annotation-counter__badge--edit-mode','setTemplate','annotationType'];_0x9242=function(){return _0x4661de;};return _0x9242();}(function(_0xd7959a,_0x3cba30){const _0x29597d=_0x5c00,_0x2d6948=_0xd7959a();while(!![]){try{const _0x58ceec=-parseInt(_0x29597d(0x1df))/0x1+-parseInt(_0x29597d(0x1e8))/0x2*(parseInt(_0x29597d(0x1f3))/0x3)+parseInt(_0x29597d(0x1e7))/0x4+parseInt(_0x29597d(0x1f0))/0x5*(parseInt(_0x29597d(0x1ef))/0x6)+-parseInt(_0x29597d(0x1de))/0x7+-parseInt(_0x29597d(0x1ee))/0x8+parseInt(_0x29597d(0x1e3))/0x9;if(_0x58ceec===_0x3cba30)break;else _0x2d6948['push'](_0x2d6948['shift']());}catch(_0x4fa6bd){_0x2d6948['push'](_0x2d6948['shift']());}}}(_0x9242,0xd31d8));function _0x5c00(_0x3a5e16,_0xe2b321){const _0x924277=_0x9242();return _0x5c00=function(_0x5c00e1,_0x19242d){_0x5c00e1=_0x5c00e1-0x1da;let _0x320623=_0x924277[_0x5c00e1];return _0x320623;},_0x5c00(_0x3a5e16,_0xe2b321);}import{ButtonView as _0xc4ac4,View as _0x5d310c}from'ckeditor5/src/ui.js';import _0x3c5bff from'../../../theme/icons/add-comment.svg';export default class D extends _0xc4ac4{constructor(_0x2baeae){const _0xad95ad=_0x5c00;super(_0x2baeae);const _0x243b21=this[_0xad95ad(0x1db)];this[_0xad95ad(0x1e0)](_0xad95ad(0x1e9),!0x1),this[_0xad95ad(0x1e0)](_0xad95ad(0x1ea),0x0),this[_0xad95ad(0x1e2)](_0xad95ad(0x1e4))['to'](this,_0xad95ad(0x1e9),this,_0xad95ad(0x1ea),(_0x5102d0,_0x4ff6b9)=>_0x5102d0?_0xad95ad(0x1e5):_0x4ff6b9[_0xad95ad(0x1f5)]()),this[_0xad95ad(0x1e0)](_0xad95ad(0x1ed),''),this[_0xad95ad(0x1e1)]=_0x3c5bff,this[_0xad95ad(0x1f2)]({'attributes':{'class':[_0xad95ad(0x1da)]}}),this[_0xad95ad(0x1dc)]=new _0x5d310c(),this[_0xad95ad(0x1dc)][_0xad95ad(0x1ec)]({'tag':_0xad95ad(0x1f6),'attributes':{'class':[_0xad95ad(0x1f4),_0x243b21['to'](_0xad95ad(0x1ed),_0x3ce769=>_0xad95ad(0x1e6)+_0x3ce769),_0x243b21['if'](_0xad95ad(0x1e9),_0xad95ad(0x1eb))]},'children':[{'text':_0x243b21['to'](_0xad95ad(0x1e4))}]}),this[_0xad95ad(0x1f1)][_0xad95ad(0x1dd)](this[_0xad95ad(0x1dc)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59a8=['element','fire','targetRect','keystrokes','listenTo','setTemplate','_updateHeight','focusTracker','destroy','div','focus','bindTemplate','clear','height','_mutationObserver','ck-annotation-wrapper--active','set','render','Esc','length','isActive','attach','ck-annotation-wrapper','ck-rounded-corners','mainView','content','add'];(function(_0x3b53ff,_0x59a8c7){const _0x47abef=function(_0x335a44){while(--_0x335a44){_0x3b53ff['push'](_0x3b53ff['shift']());}};_0x47abef(++_0x59a8c7);}(_0x59a8,0x15d));const _0x47ab=function(_0x3b53ff,_0x59a8c7){_0x3b53ff=_0x3b53ff-0x0;let _0x47abef=_0x59a8[_0x3b53ff];return _0x47abef;};import{View as _0x435473}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2fedbb,KeystrokeHandler as _0x2c3109,uid as _0x5606b4}from'ckeditor5/src/utils.js';import _0x5a2f01 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class V extends _0x435473{constructor(_0x231a30,_0x452e6b){super(_0x231a30),this['id']=_0x5606b4(),this[_0x47ab('0x9')]=new _0x2fedbb(),this[_0x47ab('0x5')]=new _0x2c3109(),this[_0x47ab('0x5')][_0x47ab('0x12')](_0x47ab('0x14'),(_0x351fbe,_0x2f7bda)=>this[_0x47ab('0x3')](_0x47ab('0x14'),_0x2f7bda)),this[_0x47ab('0x12')](_0x47ab('0x4'),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x47ab('0x12')](_0x47ab('0xf'),0x0),this[_0x47ab('0x12')](_0x47ab('0x16'),!0x1),this['set']('isDirty',!0x1),this[_0x47ab('0x12')](_0x47ab('0x15'),0x0),this[_0x47ab('0x12')]('type',''),this[_0x47ab('0x10')]=_0x5a2f01(()=>this[_0x47ab('0x8')]()),this[_0x47ab('0x0')]=this['createCollection'](),this[_0x47ab('0x0')][_0x47ab('0x1')](_0x452e6b),this[_0x47ab('0x1a')]=_0x452e6b;const _0x37bf30=this[_0x47ab('0xd')];this[_0x47ab('0x7')]({'tag':_0x47ab('0xb'),'attributes':{'class':['ck',_0x47ab('0x18'),_0x47ab('0x19'),_0x37bf30['if'](_0x47ab('0x16'),_0x47ab('0x11'))],'tabindex':-0x1},'children':this[_0x47ab('0x0')]});}['render'](){super[_0x47ab('0x13')](),this[_0x47ab('0x9')][_0x47ab('0x1')](this[_0x47ab('0x2')]),this[_0x47ab('0x5')][_0x47ab('0x6')](this[_0x47ab('0x2')]),this[_0x47ab('0x10')][_0x47ab('0x17')](this[_0x47ab('0x2')]);}[_0x47ab('0xa')](){this[_0x47ab('0x0')][_0x47ab('0xe')](),this['keystrokes'][_0x47ab('0xa')](),this[_0x47ab('0x9')][_0x47ab('0xa')](),this[_0x47ab('0x10')]['detach'](),super[_0x47ab('0xa')]();}[_0x47ab('0xc')](){this[_0x47ab('0x2')][_0x47ab('0xc')]();}[_0x47ab('0x8')](){const _0x29cb04=this[_0x47ab('0x2')]['clientHeight'];_0x29cb04&&(this[_0x47ab('0xf')]=_0x29cb04);}}
23
+ const _0x370839=_0x465c;function _0x5ac7(){const _0x6f3c67=['isDirty','div','focus','bindTemplate','1930030mGHMsc','clear','length','destroy','focusTracker','isActive','_updateHeight','mainView','createCollection','detach','ck-annotation-wrapper--active','Esc','_mutationObserver','983doshaO','clientHeight','ck-annotation-wrapper','11118072XlXNNy','12EDNopc','targetRect','content','fire','render','listenTo','setTemplate','type','2974ZFdsuZ','5793820LKeigB','19407897YEgksk','element','height','add','keystrokes','set','ck-rounded-corners','attach','2937809adPRWt','424983MTUKfG'];_0x5ac7=function(){return _0x6f3c67;};return _0x5ac7();}(function(_0x25251f,_0xe01a4f){const _0x3bf3a1=_0x465c,_0x20871e=_0x25251f();while(!![]){try{const _0x5b73d2=-parseInt(_0x3bf3a1(0xb5))/0x1*(parseInt(_0x3bf3a1(0xc1))/0x2)+-parseInt(_0x3bf3a1(0xcc))/0x3+-parseInt(_0x3bf3a1(0xc2))/0x4+parseInt(_0x3bf3a1(0xd1))/0x5*(parseInt(_0x3bf3a1(0xb9))/0x6)+-parseInt(_0x3bf3a1(0xcb))/0x7+parseInt(_0x3bf3a1(0xb8))/0x8+parseInt(_0x3bf3a1(0xc3))/0x9;if(_0x5b73d2===_0xe01a4f)break;else _0x20871e['push'](_0x20871e['shift']());}catch(_0x22e1d3){_0x20871e['push'](_0x20871e['shift']());}}}(_0x5ac7,0xceb58));import{View as _0xf3a98a}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4ff40c,KeystrokeHandler as _0x52742a,uid as _0x545d15}from'ckeditor5/src/utils.js';function _0x465c(_0x36c5d3,_0x1b52f2){const _0x5ac7ea=_0x5ac7();return _0x465c=function(_0x465cd6,_0x384d14){_0x465cd6=_0x465cd6-0xab;let _0x27370d=_0x5ac7ea[_0x465cd6];return _0x27370d;},_0x465c(_0x36c5d3,_0x1b52f2);}import _0xf0c0f0 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class V extends _0xf3a98a{constructor(_0x328bea,_0x5e75bd){const _0x15cea1=_0x465c;super(_0x328bea),this['id']=_0x545d15(),this[_0x15cea1(0xac)]=new _0x4ff40c(),this[_0x15cea1(0xc7)]=new _0x52742a(),this[_0x15cea1(0xc7)][_0x15cea1(0xc8)](_0x15cea1(0xb3),(_0x535b26,_0x2e4ee0)=>this[_0x15cea1(0xbc)](_0x15cea1(0xb3),_0x2e4ee0)),this[_0x15cea1(0xc8)](_0x15cea1(0xba),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x15cea1(0xc8)](_0x15cea1(0xc5),0x0),this[_0x15cea1(0xc8)](_0x15cea1(0xad),!0x1),this[_0x15cea1(0xc8)](_0x15cea1(0xcd),!0x1),this[_0x15cea1(0xc8)](_0x15cea1(0xd3),0x0),this[_0x15cea1(0xc8)](_0x15cea1(0xc0),''),this[_0x15cea1(0xb4)]=_0xf0c0f0(()=>this[_0x15cea1(0xae)]()),this[_0x15cea1(0xbb)]=this[_0x15cea1(0xb0)](),this[_0x15cea1(0xbb)][_0x15cea1(0xc6)](_0x5e75bd),this[_0x15cea1(0xaf)]=_0x5e75bd;const _0x2943c2=this[_0x15cea1(0xd0)];this[_0x15cea1(0xbf)]({'tag':_0x15cea1(0xce),'attributes':{'class':['ck',_0x15cea1(0xb7),_0x15cea1(0xc9),_0x2943c2['if'](_0x15cea1(0xad),_0x15cea1(0xb2))],'tabindex':-0x1},'children':this[_0x15cea1(0xbb)]});}[_0x370839(0xbd)](){const _0x3cbafd=_0x370839;super[_0x3cbafd(0xbd)](),this[_0x3cbafd(0xac)][_0x3cbafd(0xc6)](this[_0x3cbafd(0xc4)]),this[_0x3cbafd(0xc7)][_0x3cbafd(0xbe)](this[_0x3cbafd(0xc4)]),this[_0x3cbafd(0xb4)][_0x3cbafd(0xca)](this[_0x3cbafd(0xc4)]);}[_0x370839(0xab)](){const _0x157b32=_0x370839;this[_0x157b32(0xbb)][_0x157b32(0xd2)](),this[_0x157b32(0xc7)][_0x157b32(0xab)](),this[_0x157b32(0xac)][_0x157b32(0xab)](),this[_0x157b32(0xb4)][_0x157b32(0xb1)](),super[_0x157b32(0xab)]();}[_0x370839(0xcf)](){const _0x5dbe7d=_0x370839;this[_0x5dbe7d(0xc4)][_0x5dbe7d(0xcf)]();}[_0x370839(0xae)](){const _0x34e23d=_0x370839,_0x16aa61=this[_0x34e23d(0xc4)][_0x34e23d(0xb6)];_0x16aa61&&(this[_0x34e23d(0xc5)]=_0x16aa61);}}