@ckeditor/ckeditor5-comments 41.1.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 (50) 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
@@ -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.1.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.1.0",
48
- "ckeditor5-collaboration": "41.1.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 _0x109e=['destroy','isArray','annotation-invalid-target','stopListening','_type','_assertCorrectTarget','mainView','filter','view','offsetParent','isVisible','updateTargetRect','targetRect','add','render','item','target','_getNormalizedTarget','isActive','every','_target','getClientRects','focusableElements','nodeType','clear','element','remove','length','type','focusTracker','_id','object','function'];(function(_0x46a0bc,_0x109eac){const _0x498f1f=function(_0xb6f844){while(--_0xb6f844){_0x46a0bc['push'](_0x46a0bc['shift']());}};_0x498f1f(++_0x109eac);}(_0x109e,0x18c));const _0x498f=function(_0x46a0bc,_0x109eac){_0x46a0bc=_0x46a0bc-0x0;let _0x498f1f=_0x109e[_0x46a0bc];return _0x498f1f;};import{CKEditorError as _0x19bc25,Rect as _0x2ed40d,Collection as _0x350759,ObservableMixin as _0x153515}from'ckeditor5/src/utils.js';export default class d extends _0x153515(){constructor({view:_0x3d2052,target:_0x58d594,type:_0x26a3bc,isVisible:_0x4ccd32=!0x0}){super(),this[_0x498f('0x8')]=_0x3d2052,this[_0x498f('0x8')][_0x498f('0x19')]||this[_0x498f('0x8')][_0x498f('0xe')](),this['_type']=_0x26a3bc,this['_target']=_0x58d594,d[_0x498f('0x5')](this[_0x498f('0x11')]()),this[_0x498f('0x16')]=new _0x350759([this[_0x498f('0x8')]['element']],{'idProperty':_0x498f('0x1e')}),this[_0x498f('0x16')]['on']('add',(_0xcdd776,_0x37fcba)=>{this['view'][_0x498f('0x1d')][_0x498f('0xd')](_0x37fcba);}),this[_0x498f('0x16')]['on'](_0x498f('0x1a'),(_0x45b1fe,_0x2382bf)=>{this[_0x498f('0x8')][_0x498f('0x1d')][_0x498f('0x1a')](_0x2382bf);}),this['set'](_0x498f('0xa'),_0x4ccd32);}get[_0x498f('0x1c')](){return _0x498f('0x20')==typeof this[_0x498f('0x4')]?this[_0x498f('0x4')]():this['_type'];}get['innerView'](){return this[_0x498f('0x8')][_0x498f('0x6')];}get[_0x498f('0x10')](){const _0x330851=this[_0x498f('0x11')]();return d['_assertCorrectTarget'](_0x330851),_0x330851;}get[_0x498f('0xc')](){const _0x3128ff=this[_0x498f('0x10')];if(null===_0x3128ff)return null;if(_0x3128ff instanceof _0x2ed40d)return _0x3128ff;const _0x35bade=_0x3128ff[_0x498f('0x7')](_0x5503ce=>function(_0x49dad4){const _0xc0c2f6=_0x49dad4[_0x498f('0x9')];if(_0xc0c2f6)return!0x0;const _0x571e4f=_0x49dad4[_0x498f('0x15')]()['item'](0x0);return!!_0x571e4f;}(_0x5503ce));return 0x0===_0x35bade[_0x498f('0x1b')]?null:new _0x2ed40d(_0x35bade[0x0][_0x498f('0x15')]()[_0x498f('0xf')](0x0));}get[_0x498f('0x12')](){return this['view'][_0x498f('0x12')];}set[_0x498f('0x12')](_0xc3dfb1){this[_0x498f('0x8')][_0x498f('0x12')]=_0xc3dfb1,this[_0x498f('0x8')][_0x498f('0x6')]['isActive']=_0xc3dfb1;}[_0x498f('0xb')](){this[_0x498f('0x8')][_0x498f('0xc')]=this[_0x498f('0xc')];}[_0x498f('0x0')](){this['focusableElements'][_0x498f('0x3')](),this['focusableElements'][_0x498f('0x18')](),this[_0x498f('0x3')]();}['refreshVisibility'](){this[_0x498f('0xa')]=!!this[_0x498f('0xc')];}static[_0x498f('0x5')](_0x442a45){if(!(null===_0x442a45||_0x442a45 instanceof _0x2ed40d||Array[_0x498f('0x1')](_0x442a45)&&_0x442a45[_0x498f('0x13')](_0x1fdc7b=>y(_0x1fdc7b))))throw new _0x19bc25(_0x498f('0x2'),null,{'target':_0x442a45});}[_0x498f('0x11')](){const _0x58f52e=_0x498f('0x20')==typeof this[_0x498f('0x14')]?this[_0x498f('0x14')]():this[_0x498f('0x14')];return y(_0x58f52e)?[_0x58f52e]:_0x58f52e;}}function y(_0x4ce374){return null!==_0x4ce374&&_0x498f('0x1f')==typeof _0x4ce374&&_0x498f('0x17')in _0x4ce374&&0x1===_0x4ce374[_0x498f('0x17')];}
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 _0x36d2=['focusTracker','getIndex','left','innerView','blur','updateTargetRect','_focusTracker','delete','focusableElements','destroy','getByInnerView','add','length','_getOrderInContent','targetRect','annotationcollection-not-existing-item','refreshPositioning','change:isFocused','_innerViewToAnnotation','sort','listenTo','annotationcollection-duplicated-item','get','stopListening','isFocused','set','_sort','has','remove','_viewToAnnotation','fire','clear','view','from','top'];(function(_0x1d4d26,_0x36d250){const _0x29b06b=function(_0x55e32a){while(--_0x55e32a){_0x1d4d26['push'](_0x1d4d26['shift']());}};_0x29b06b(++_0x36d250);}(_0x36d2,0xdf));const _0x29b0=function(_0x1d4d26,_0x36d250){_0x1d4d26=_0x1d4d26-0x0;let _0x29b06b=_0x36d2[_0x1d4d26];return _0x29b06b;};import{CKEditorError as _0x57284f,Collection as _0x49aaa4,FocusTracker as _0x2b5702}from'ckeditor5/src/utils.js';export default class x extends _0x49aaa4{constructor(_0x217eaa=[]){super(),this[_0x29b0('0x5')]=new Map(),this[_0x29b0('0x10')]=new Map(),this['_focusTracker']=new _0x2b5702(),this['_focusTracker']['on'](_0x29b0('0x4'),(_0x205743,_0x489815,_0x579934)=>{_0x579934||this[_0x29b0('0x11')](_0x29b0('0x1a'));});for(const _0x5ec4e7 of _0x217eaa)this[_0x29b0('0x21')](_0x5ec4e7);}get[_0x29b0('0xb')](){return this[_0x29b0('0x1c')][_0x29b0('0xb')];}[_0x29b0('0x21')](_0x3e2448){if(this[_0x29b0('0xe')](_0x3e2448))throw new _0x57284f(_0x29b0('0x8'),null);this[_0x29b0('0x5')][_0x29b0('0xc')](_0x3e2448[_0x29b0('0x19')],_0x3e2448),this['_viewToAnnotation'][_0x29b0('0xc')](_0x3e2448[_0x29b0('0x13')],_0x3e2448);for(const _0x4d8a36 of _0x3e2448['focusableElements'])this[_0x29b0('0x1c')][_0x29b0('0x21')](_0x4d8a36);this[_0x29b0('0x7')](_0x3e2448[_0x29b0('0x1e')],'add',(_0x19e975,_0x4789a6)=>{this[_0x29b0('0x1c')]['add'](_0x4789a6);}),this[_0x29b0('0x7')](_0x3e2448[_0x29b0('0x1e')],'remove',(_0x55b051,_0x38069c)=>{this[_0x29b0('0x1c')]['remove'](_0x38069c);}),this['listenTo'](_0x3e2448[_0x29b0('0x13')][_0x29b0('0x16')],_0x29b0('0x4'),(_0x429a41,_0x4e33ab,_0x2adeb0)=>{_0x2adeb0&&this[_0x29b0('0x11')]('focus',_0x3e2448);}),_0x3e2448[_0x29b0('0x1b')]();const _0x122402=this[_0x29b0('0x0')](_0x3e2448['view'][_0x29b0('0x1')]);return super['add'](_0x3e2448,_0x122402);}['remove'](_0x5c7dcd){if(!this[_0x29b0('0xe')](_0x5c7dcd))throw new _0x57284f(_0x29b0('0x2'),null);this[_0x29b0('0xa')](_0x5c7dcd[_0x29b0('0x13')][_0x29b0('0x16')]),this[_0x29b0('0xa')](_0x5c7dcd[_0x29b0('0x1e')]);for(const _0x18632f of _0x5c7dcd['focusableElements'])this[_0x29b0('0x1c')]['remove'](_0x18632f);return this[_0x29b0('0x10')][_0x29b0('0x1d')](_0x5c7dcd[_0x29b0('0x13')]),this[_0x29b0('0x5')]['delete'](_0x5c7dcd[_0x29b0('0x19')]),super[_0x29b0('0xf')](_0x5c7dcd);}[_0x29b0('0x20')](_0xdbb88a){return this[_0x29b0('0x5')][_0x29b0('0x9')](_0xdbb88a);}['getByView'](_0x2ad585){return this[_0x29b0('0x10')]['get'](_0x2ad585);}[_0x29b0('0x1f')](){super[_0x29b0('0x12')](),this[_0x29b0('0xa')](),this[_0x29b0('0x5')][_0x29b0('0x12')](),this['_viewToAnnotation'][_0x29b0('0x12')](),this[_0x29b0('0x1c')][_0x29b0('0x1f')]();}[_0x29b0('0x3')](){for(const _0xe8e8fc of this)_0xe8e8fc[_0x29b0('0x1b')]();this[_0x29b0('0xd')]();}[_0x29b0('0xd')](){const _0x28153e=Array[_0x29b0('0x14')](this)[_0x29b0('0x6')]((_0x22beb4,_0x19256a)=>v(_0x22beb4[_0x29b0('0x13')][_0x29b0('0x1')],_0x19256a[_0x29b0('0x13')][_0x29b0('0x1')]));for(let _0x1628d7=_0x28153e[_0x29b0('0x22')]-0x1;_0x1628d7>0x0;_0x1628d7--){const _0x3e2b9a=_0x28153e[_0x1628d7];_0x1628d7!==this[_0x29b0('0x17')](_0x3e2b9a)&&(this[_0x29b0('0xf')](_0x3e2b9a),this[_0x29b0('0x21')](_0x3e2b9a));}}[_0x29b0('0x0')](_0x29cb10){let _0x285756=0x0;if(!_0x29cb10)return this['length'];for(const _0x967327 of this){const _0x544717=_0x967327[_0x29b0('0x13')][_0x29b0('0x1')];if(_0x544717){if(v(_0x29cb10,_0x544717)<0x0)return _0x285756;_0x285756++;}}return _0x285756;}}export function bindAnnotationCollections({source:_0x3dbe1a,target:_0x31f12d,filter:_0xf585bd}){for(const _0x19d806 of _0x3dbe1a)_0xf585bd(_0x19d806)&&_0x31f12d[_0x29b0('0x21')](_0x19d806);_0x31f12d[_0x29b0('0x7')](_0x3dbe1a,'add',(_0x192325,_0x19647d)=>{_0xf585bd(_0x19647d)&&_0x31f12d[_0x29b0('0x21')](_0x19647d);}),_0x31f12d['listenTo'](_0x3dbe1a,_0x29b0('0xf'),(_0x55c6a2,_0x5434ba)=>{_0x31f12d[_0x29b0('0xe')](_0x5434ba)&&_0x31f12d[_0x29b0('0xf')](_0x5434ba);});}function v(_0x1ebc79,_0x549e07){if(null===_0x1ebc79&&null===_0x549e07)return 0x0;if(null===_0x1ebc79)return-0x1;if(null===_0x549e07)return 0x1;const _0xae6194=_0x1ebc79['top']-_0x549e07[_0x29b0('0x15')];return 0x0==_0xae6194?_0x1ebc79['left']-_0x549e07[_0x29b0('0x18')]:_0xae6194;}
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 _0x267b=['_bindAnnotationsToVisibleAnnotations','activeAnnotations','set','stopListening','createAnnotationView','getByInnerView','collection','source','pluginName','activate','fire','destroy','refreshPositioning','element','focusTracker','deactivateAll','createAnnotation','add','_activateAnnotation','_deactivateAllAnnotations','isVisible','change:isVisible','listenTo','has','remove','_visibleAnnotations','refreshVisibility','view','_addActiveAnnotation'];(function(_0x5882d3,_0x267b3c){const _0x216930=function(_0x1e2bee){while(--_0x1e2bee){_0x5882d3['push'](_0x5882d3['shift']());}};_0x216930(++_0x267b3c);}(_0x267b,0x1d8));const _0x2169=function(_0x5882d3,_0x267b3c){_0x5882d3=_0x5882d3-0x0;let _0x216930=_0x267b[_0x5882d3];return _0x216930;};import{ContextPlugin as _0xfe1013}from'ckeditor5/src/core.js';import _0x453fdf from'./annotation.js';import _0x3cd295 from'./annotationcollection.js';import _0x4244ee from'./view/annotationview.js';export default class b extends _0xfe1013{static get[_0x2169('0x0')](){return'Annotations';}constructor(_0x3faa8a){super(_0x3faa8a),this[_0x2169('0x1b')]=new _0x3cd295(),this['_visibleAnnotations']=new _0x3cd295(),this[_0x2169('0x17')](_0x2169('0x16'),new Set()),this['_bindAnnotationsToVisibleAnnotations']();}['add'](_0x15ab00){this[_0x2169('0x1b')][_0x2169('0x9')](_0x15ab00);}[_0x2169('0x10')](_0x5919d0){this[_0x2169('0x1b')][_0x2169('0x10')](_0x5919d0),_0x5919d0['destroy']();}[_0x2169('0x12')](){for(const _0x2248e7 of this[_0x2169('0x1b')])_0x2248e7[_0x2169('0x12')]();}['refreshPositioning'](){this[_0x2169('0x11')][_0x2169('0x4')]();}['getByInnerView'](_0xcc06b7){return this[_0x2169('0x1b')][_0x2169('0x1a')](_0xcc06b7);}[_0x2169('0x7')](){this[_0x2169('0x2')](_0x2169('0xb'));}[_0x2169('0x3')](){for(const _0x51c52d of this[_0x2169('0x1b')])_0x51c52d[_0x2169('0x3')]();this[_0x2169('0x11')][_0x2169('0x3')](),this[_0x2169('0x1b')][_0x2169('0x3')](),super['destroy']();}[_0x2169('0x1')](_0x24d0ea){this['fire'](_0x2169('0xa'),_0x24d0ea);}[_0x2169('0x8')](_0x431ec3){return new _0x453fdf(_0x431ec3);}[_0x2169('0x19')](_0x2de991,_0x373fe7){return new _0x4244ee(_0x2de991,_0x373fe7);}[_0x2169('0x14')](_0x44a1d3){const _0x81b2eb=new Set(this[_0x2169('0x16')]);_0x81b2eb['add'](_0x44a1d3),this[_0x2169('0x16')]=_0x81b2eb;}['_removeActiveAnnotation'](_0x5cb436){const _0x4c46fd=new Set(this[_0x2169('0x16')]);_0x4c46fd['delete'](_0x5cb436),this['activeAnnotations']=_0x4c46fd;}[_0x2169('0x15')](){const _0x19fd62=this[_0x2169('0x1b')],_0x1a42c3=this[_0x2169('0x11')];function _0x35a73b(_0x44b6a2){const _0x47dbd7=_0x44b6a2[_0x2169('0x1c')];_0x47dbd7[_0x2169('0xc')]&&!_0x1a42c3[_0x2169('0xf')](_0x47dbd7)?_0x1a42c3['add'](_0x47dbd7):!_0x47dbd7[_0x2169('0xc')]&&_0x1a42c3['has'](_0x47dbd7)&&_0x1a42c3[_0x2169('0x10')](_0x47dbd7),_0x47dbd7[_0x2169('0x13')][_0x2169('0x6')][_0x2169('0x10')](_0x47dbd7[_0x2169('0x13')][_0x2169('0x5')]),_0x47dbd7[_0x2169('0x13')][_0x2169('0x6')][_0x2169('0x9')](_0x47dbd7[_0x2169('0x13')][_0x2169('0x5')]);}this[_0x2169('0xe')](_0x19fd62,_0x2169('0x9'),(_0x30869f,_0x841ad4)=>{_0x841ad4['isVisible']&&_0x1a42c3['add'](_0x841ad4),this[_0x2169('0xe')](_0x841ad4,_0x2169('0xd'),_0x35a73b);}),this[_0x2169('0xe')](_0x19fd62,'remove',(_0x47f6aa,_0x369220)=>{_0x1a42c3[_0x2169('0xf')](_0x369220)&&_0x1a42c3[_0x2169('0x10')](_0x369220),this[_0x2169('0x18')](_0x369220,_0x2169('0xd'),_0x35a73b);});}}
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 _0x41b6=['collection','_visibleAnnotations','_removeActiveAnnotation','_assertAnnotationDoesNotBelongToMultipleUIs','activate','add','attach','annotationsuis-annotation-mismatch','find','_uis','detach','listenTo','from','filter','remove','change:activeAnnotation','isActive','activeUIs','destroy','push','deactivateAll','_addActiveAnnotation','_setSelectedAnnotations','delete','hasActive','register','stopListening','setActiveAnnotation','AnnotationsUIs','context','switchTo','get','has','init','set','_activateAnnotation','_uisData','function','_deactivateAllAnnotations','type','plugins','deactivate','activeAnnotations','annotationsuis-missing-ui'];(function(_0x4d77eb,_0x41b67a){const _0x17f635=function(_0x217354){while(--_0x217354){_0x4d77eb['push'](_0x4d77eb['shift']());}};_0x17f635(++_0x41b67a);}(_0x41b6,0x1a9));const _0x17f6=function(_0x4d77eb,_0x41b67a){_0x4d77eb=_0x4d77eb-0x0;let _0x17f635=_0x41b6[_0x4d77eb];return _0x17f635;};import{ContextPlugin as _0x49a866}from'ckeditor5/src/core.js';import{CKEditorError as _0x3539a4}from'ckeditor5/src/utils.js';import _0x4dd8b2,{bindAnnotationCollections as _0xbe23fd}from'./annotationcollection.js';import _0x106ebf from'./annotations.js';export default class j extends _0x49a866{static get['requires'](){return[_0x106ebf];}static get['pluginName'](){return _0x17f6('0x2b');}constructor(_0x4e3e74){super(_0x4e3e74),this[_0x17f6('0x20')]=new Set(),this[_0x17f6('0x18')]=new Map(),this[_0x17f6('0x7')]=new Map();}[_0x17f6('0x4')](){const _0xd39175=this[_0x17f6('0x0')]['plugins'][_0x17f6('0x2')](_0x106ebf);this[_0x17f6('0x1a')](_0xd39175,_0x17f6('0x6'),(_0x25d599,_0x13d44d)=>{for(const _0x43d356 of this[_0x17f6('0x20')]){const _0x270d3b=this[_0x17f6('0x18')][_0x17f6('0x2')](_0x43d356);(0x0,this[_0x17f6('0x7')][_0x17f6('0x2')](_0x43d356)['filter'])(_0x13d44d)&&_0x270d3b[_0x17f6('0x2a')](_0x13d44d);}}),this[_0x17f6('0x1a')](_0xd39175,_0x17f6('0x9'),()=>{for(const _0x1f341f of this['activeUIs']){this[_0x17f6('0x18')][_0x17f6('0x2')](_0x1f341f)['setActiveAnnotation'](null);}}),this[_0x17f6('0x1a')](_0xd39175[_0x17f6('0x10')],_0x17f6('0x14'),(_0x529757,_0x22a5e5)=>{this[_0x17f6('0x12')](_0x22a5e5);});}[_0x17f6('0x27')](){return this[_0x17f6('0x20')]['size']>0x0;}['isActive'](_0x70eb38){return this[_0x17f6('0x20')][_0x17f6('0x3')](_0x70eb38);}[_0x17f6('0x13')](_0x191b65,_0x1aa98a=()=>!0x0){const _0xb3f6df=this[_0x17f6('0x0')][_0x17f6('0xb')][_0x17f6('0x2')](_0x106ebf);if(!this[_0x17f6('0x18')][_0x17f6('0x3')](_0x191b65))throw new _0x3539a4(_0x17f6('0xe'),this,{'uiName':_0x191b65});this[_0x17f6('0x1f')](_0x191b65)&&this['deactivate'](_0x191b65),this['activeUIs'][_0x17f6('0x14')](_0x191b65);const _0x31cdfe=new _0x4dd8b2(),_0x15f4cf=_0xb3f6df[_0x17f6('0x10')];_0xbe23fd({'source':_0x15f4cf,'target':_0x31cdfe,'filter':_0x1aa98a}),this[_0x17f6('0x7')][_0x17f6('0x5')](_0x191b65,{'collection':_0x31cdfe,'filter':_0x1aa98a});const _0x3ab273=this[_0x17f6('0x18')][_0x17f6('0x2')](_0x191b65);_0x3ab273[_0x17f6('0x15')](_0x31cdfe),this[_0x17f6('0x1a')](_0x3ab273,_0x17f6('0x1e'),(_0x297c00,_0x1f2a59,_0x9aa215,_0x14065b)=>{_0x14065b&&_0xb3f6df[_0x17f6('0x11')](_0x14065b),_0x9aa215&&_0xb3f6df[_0x17f6('0x24')](_0x9aa215);});}[_0x17f6('0xc')](_0x5a0d2f){if(this[_0x17f6('0x20')][_0x17f6('0x26')](_0x5a0d2f),!this['_uis'][_0x17f6('0x3')](_0x5a0d2f))throw new _0x3539a4(_0x17f6('0xe'),this,{'uiName':_0x5a0d2f});const _0x5a807a=this['_uis'][_0x17f6('0x2')](_0x5a0d2f);_0x5a807a[_0x17f6('0x19')](),this[_0x17f6('0x29')](_0x5a807a),this[_0x17f6('0x7')]['get'](_0x5a0d2f)['collection'][_0x17f6('0x21')](),this['_uisData']['delete'](_0x5a0d2f);}[_0x17f6('0x1')](_0x47aab3){if(!this[_0x17f6('0x18')][_0x17f6('0x3')](_0x47aab3))throw new _0x3539a4(_0x17f6('0xe'),this,{'uiName':_0x47aab3});const _0x423236=this[_0x17f6('0x0')][_0x17f6('0xb')][_0x17f6('0x2')](_0x106ebf),_0x160951=Array[_0x17f6('0x1b')](_0x423236[_0x17f6('0xd')])[0x0]||null;this['deactivateAll'](),this[_0x17f6('0x13')](_0x47aab3);const _0x10cd1c=this[_0x17f6('0x18')]['get'](_0x47aab3);_0x10cd1c[_0x17f6('0x2a')](_0x160951),_0x10cd1c[_0x17f6('0x25')]&&_0x160951&&_0x10cd1c[_0x17f6('0x25')]([_0x160951]);}[_0x17f6('0x23')](){for(const _0x3e6753 of this[_0x17f6('0x20')])this[_0x17f6('0xc')](_0x3e6753);}[_0x17f6('0x28')](_0x4182ae,_0x3f7f2a){if(this[_0x17f6('0x18')][_0x17f6('0x3')](_0x4182ae))throw new _0x3539a4('annotationsuis-register-already-registered');if(_0x17f6('0x8')!=typeof _0x3f7f2a[_0x17f6('0x15')]||_0x17f6('0x8')!=typeof _0x3f7f2a[_0x17f6('0x19')]||_0x17f6('0x8')!=typeof _0x3f7f2a['setActiveAnnotation'])throw new _0x3539a4('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x4182ae,_0x3f7f2a);}['refilterAnnotations'](){const _0xcff963=this[_0x17f6('0x0')]['plugins'][_0x17f6('0x2')](_0x106ebf)['collection'],_0x69e746=new Map(),_0x4d63a1=Array['from'](this[_0x17f6('0x20')]);for(const _0x446585 of this['activeUIs']){const _0x10c07a=this[_0x17f6('0x7')]['get'](_0x446585)[_0x17f6('0xf')];for(const _0x447ef4 of _0x10c07a)_0x69e746[_0x17f6('0x5')](_0x447ef4,_0x446585);}for(const _0x329bff of _0xcff963){const _0x466f48=_0x69e746[_0x17f6('0x2')](_0x329bff);this[_0x17f6('0x12')](_0x329bff);const _0x5f4277=_0x4d63a1[_0x17f6('0x17')](_0x487a7a=>this['_uisData']['get'](_0x487a7a)[_0x17f6('0x1c')](_0x329bff));_0x466f48!==_0x5f4277&&(_0x466f48&&this[_0x17f6('0x7')][_0x17f6('0x2')](_0x466f48)[_0x17f6('0xf')][_0x17f6('0x1d')](_0x329bff),_0x5f4277&&this['_uisData'][_0x17f6('0x2')](_0x5f4277)['collection'][_0x17f6('0x14')](_0x329bff));}}[_0x17f6('0x21')](){this['deactivateAll'](),super[_0x17f6('0x21')]();}[_0x17f6('0x12')](_0x2251f1){const _0x1aff67=[];for(const _0x26426a of this['activeUIs']){(0x0,this['_uisData'][_0x17f6('0x2')](_0x26426a)['filter'])(_0x2251f1)&&_0x1aff67[_0x17f6('0x22')](_0x26426a);}if(_0x1aff67['length']>0x1)throw new _0x3539a4(_0x17f6('0x16'),null,{'matchedUIs':_0x1aff67,'annotationType':_0x2251f1[_0x17f6('0xa')]});}}
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 _0x5234=['delete','model','isReadOnly','getRanges','_editorAnnotationsData','registerAnnotation','cancel','push','_dataCollectors','annotation','requires','refreshSelectedViews','isEqual','remove','from','_editorAnnotations','selection','editor','element','isCollapsed','containsRange','map','collection','get','focusTracker','has','blur','view','getOrderedSelectedAnnotations','init','pluginName','directChange','fire','addSourceCollector','function','listenTo','add','editing','update','document','hasDomSelection','change:range','change:isFocused'];(function(_0x207e67,_0x523480){const _0x212f6e=function(_0xf3473b){while(--_0xf3473b){_0x207e67['push'](_0x207e67['shift']());}};_0x212f6e(++_0x523480);}(_0x5234,0xec));const _0x212f=function(_0x207e67,_0x523480){_0x207e67=_0x207e67-0x0;let _0x212f6e=_0x5234[_0x207e67];return _0x212f6e;};import{Plugin as _0x372de3}from'ckeditor5/src/core.js';import{CKEditorError as _0xcbee8b}from'ckeditor5/src/utils.js';import{debounce as _0x28b127}from'lodash-es';import _0x1ecf18 from'./annotations.js';export default class k extends _0x372de3{static get[_0x212f('0x20')](){return[_0x1ecf18];}static get[_0x212f('0x9')](){return'EditorAnnotations';}constructor(_0xfe05d6){super(_0xfe05d6),this['_dataCollectors']=new Set(),this[_0x212f('0x25')]=new Set();}[_0x212f('0x8')](){const _0x4f59b0=this[_0x212f('0x27')],_0x2a23ac=_0x4f59b0[_0x212f('0x17')][_0x212f('0x12')]['selection'],_0x2a2c4d=_0x28b127(()=>this[_0x212f('0x21')](),0xa);_0x2a23ac['on'](_0x212f('0x14'),(_0x4e8d75,_0x1aa0d3)=>{_0x1aa0d3[_0x212f('0xa')]&&(_0x2a2c4d[_0x212f('0x1c')](),this[_0x212f('0x21')]());}),this['listenTo'](_0x4f59b0[_0x212f('0x10')][_0x212f('0x6')][_0x212f('0x12')],_0x212f('0x15'),(_0x6af1ee,_0xd79798,_0x18750a)=>{_0x18750a&&_0x2a2c4d();}),this['listenTo'](_0x4f59b0['ui']['focusTracker'],'change:isFocused',(_0x4f5d4d,_0x48d42b,_0x1d2293)=>{_0x1d2293||_0x4f59b0[_0x212f('0x18')]||this[_0x212f('0xb')](_0x212f('0x5'),{'isAnnotationTracked':_0x302ad2=>this[_0x212f('0x1a')][_0x212f('0x4')](_0x302ad2['innerView'])});}),this['listenTo'](this['editor']['ui'],_0x212f('0x11'),()=>this[_0x212f('0xb')]('uiUpdate'));}[_0x212f('0x1b')](_0x32444e){if(this[_0x212f('0x25')][_0x212f('0x4')](_0x32444e['view']))return;this[_0x212f('0x25')]['add'](_0x32444e[_0x212f('0x6')]),this[_0x212f('0x27')]['ui'][_0x212f('0x3')][_0x212f('0xf')](_0x32444e[_0x212f('0x6')][_0x212f('0x28')]);const _0x1261d7=this[_0x212f('0x27')]['plugins'][_0x212f('0x2')](_0x1ecf18);this[_0x212f('0xe')](_0x1261d7[_0x212f('0x1')],_0x212f('0x23'),(_0x80fd3e,_0x36218b)=>{this[_0x212f('0x27')]['ui']['focusTracker'][_0x212f('0x23')](_0x36218b[_0x212f('0x6')]['element']),this[_0x212f('0x25')][_0x212f('0x16')](_0x36218b['view']);});}[_0x212f('0x13')](){return this[_0x212f('0x27')][_0x212f('0x10')][_0x212f('0x6')][_0x212f('0x13')];}[_0x212f('0xc')](_0x43bbcf){if(_0x212f('0xd')!=typeof _0x43bbcf)throw new _0xcbee8b('editorannotations-invalid-source-callback');this[_0x212f('0x1e')][_0x212f('0xf')](_0x43bbcf);}[_0x212f('0x21')](){this['fire']('refresh');}[_0x212f('0x7')]({activeAnnotation:_0x1a3339,annotations:_0x4623ea}){const _0x4b955c=[],_0x1953b5=this[_0x212f('0x27')]['model'][_0x212f('0x12')][_0x212f('0x26')],_0x4e46b3=Array[_0x212f('0x24')](_0x1953b5[_0x212f('0x19')]());for(const [_0x49934f,_0x5a0fd5]of this['_editorAnnotationsData']){const _0x2c5975=_0x1083ed(_0x5a0fd5),_0x289ca4=_0x4623ea['getByInnerView'](_0x49934f);_0x2c5975&&_0x289ca4&&_0x4b955c[_0x212f('0x1d')]({'annotation':_0x289ca4,'range':_0x2c5975});}function _0x1083ed(_0x22f0b2){for(const _0x3ce17a of _0x22f0b2)for(const _0xe01491 of _0x4e46b3)if(_0x3ce17a[_0x212f('0x2a')](_0xe01491,!_0x1953b5[_0x212f('0x29')]))return _0x3ce17a;return null;}return _0x4b955c['sort']((_0x4eec96,_0x4a7eef)=>{const _0x500b24=_0x4eec96['range'],_0x520d8c=_0x4a7eef['range'];if(!_0x500b24[_0x212f('0x22')](_0x520d8c)){if(_0x500b24['containsRange'](_0x520d8c,!0x0))return 0x1;if(_0x520d8c['containsRange'](_0x500b24,!0x0))return-0x1;}return _0x4eec96[_0x212f('0x1f')]==_0x1a3339?-0x1:_0x4a7eef[_0x212f('0x1f')]==_0x1a3339?0x1:0x0;})[_0x212f('0x0')](_0x1ffe0c=>_0x1ffe0c[_0x212f('0x1f')]);}get['_editorAnnotationsData'](){const _0x24d2d9=new Map();for(const _0x29b4d7 of Array[_0x212f('0x24')](this[_0x212f('0x1e')]))for(const [_0x249808,_0x3360c1]of _0x29b4d7())_0x24d2d9['set'](_0x249808,_0x3360c1);return _0x24d2d9;}}
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 _0x4b54=['inlineannotations-attach-already-attached','setActiveAnnotation','right','updatePosition','length','stopListening','getByView','_removeAnnotationFromBalloon','init','editor','focusTracker','push','isFocused','getClientRects','update','_setSelectedAnnotations','getBoundingClientRect','_manuallyClosed','hasView','Esc','left','blur','addObserver','viewRangeToDom','find','annotations','inlineannotations-detach-not-attached','clear','_selectedAnnotations','visibleView','mousedown','has','destroy','plugins','afterInit','isActive','keystrokes','_addedAnnotations','_closeAnnotation','editableElement','attach','isAttached','context','_forceRefresh','listenTo','requires','switchTo','get','focus','targetRect','_addAnnotationToBalloon','inline','document','from','InlineAnnotations','width','selection','add','_balloon','set','editing','bottom','includes','register','collapse','delete','remove','activeAnnotation','view','top','target'];(function(_0x41fd9d,_0x4b54b8){const _0x5d82c3=function(_0x559dd6){while(--_0x559dd6){_0x41fd9d['push'](_0x41fd9d['shift']());}};_0x5d82c3(++_0x4b54b8);}(_0x4b54,0x179));const _0x5d82=function(_0x41fd9d,_0x4b54b8){_0x41fd9d=_0x41fd9d-0x0;let _0x5d82c3=_0x4b54[_0x41fd9d];return _0x5d82c3;};import{Plugin as _0x424f45}from'ckeditor5/src/core.js';import _0x52b44d from'./annotationsuis.js';import _0x5af9e3 from'./editorannotations.js';import{ContextualBalloon as _0x29abf3}from'ckeditor5/src/ui.js';import{MouseObserver as _0x35deab}from'ckeditor5/src/engine.js';import{CKEditorError as _0x5244fc,Rect as _0x175c7c}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x424f45{static get[_0x5d82('0x17')](){return[_0x5af9e3,_0x29abf3,_0x52b44d];}static get['pluginName'](){return _0x5d82('0x20');}constructor(_0x3dcefa){super(_0x3dcefa),_0x3dcefa['editing'][_0x5d82('0x2e')][_0x5d82('0x0')](_0x35deab),this[_0x5d82('0x13')]=!0x1,this[_0x5d82('0x25')](_0x5d82('0x2d'),null),this[_0x5d82('0x3')]=null,this[_0x5d82('0x42')]=new Set(),this['_balloon']=_0x3dcefa['plugins']['get'](_0x29abf3),this[_0x5d82('0xf')]=new Set(),this['_selectedAnnotations']=[],this[_0x5d82('0x15')]=!0x1;}[_0x5d82('0x39')](){const _0x5c0e0a=this[_0x5d82('0x3a')]['plugins']['get'](_0x52b44d);_0x5c0e0a[_0x5d82('0x14')]===this[_0x5d82('0x3a')]&&(_0x5c0e0a[_0x5d82('0x29')](_0x5d82('0x1d'),this),this[_0x5d82('0x3a')][_0x5d82('0xe')][_0x5d82('0x25')](_0x5d82('0x44'),(_0x3493a3,_0x50a129)=>{const _0x41f5bc=this['_balloon'];if(this['isAttached']&&_0x41f5bc[_0x5d82('0x7')]){const _0x131a42=this[_0x5d82('0x3')][_0x5d82('0x37')](_0x41f5bc[_0x5d82('0x7')]);_0x131a42&&this[_0x5d82('0x10')](_0x131a42),_0x50a129();}}));}[_0x5d82('0xc')](){const _0x15fc95=this[_0x5d82('0x3a')][_0x5d82('0xb')][_0x5d82('0x19')](_0x52b44d);_0x15fc95[_0x5d82('0x14')]===this[_0x5d82('0x3a')]&&(_0x15fc95['hasActive']()||_0x15fc95[_0x5d82('0x18')](_0x5d82('0x1d')));}[_0x5d82('0x32')](_0x3cef9c){_0x3cef9c!==this[_0x5d82('0x2d')]&&(this[_0x5d82('0x2d')]&&(this[_0x5d82('0x2d')][_0x5d82('0xd')]=!0x1),_0x3cef9c&&this[_0x5d82('0x3a')]['ui'][_0x5d82('0x3b')]['isFocused']&&(this[_0x5d82('0x3')][_0x5d82('0x9')](_0x3cef9c)&&this['_addAnnotationToBalloon'](_0x3cef9c,!0x0),_0x3cef9c[_0x5d82('0xd')]=!0x0),_0x3cef9c||this[_0x5d82('0x40')]([]),this[_0x5d82('0x2d')]=_0x3cef9c);}[_0x5d82('0x12')](_0x1f65ca){this[_0x5d82('0x3')]=_0x1f65ca;const _0x4610b2=this[_0x5d82('0x3a')]['plugins']['get'](_0x52b44d),_0x54bd45=this['_balloon'];if(this['isAttached'])throw new _0x5244fc(_0x5d82('0x31'),this);if(_0x4610b2['context']!==this[_0x5d82('0x3a')])throw new _0x5244fc('inlineannotations-not-allowed-with-context',this);const _0x3c44b5=this['editor'][_0x5d82('0xb')][_0x5d82('0x19')](_0x5af9e3);this[_0x5d82('0x16')](_0x3c44b5,'refresh',()=>{const _0x3bd889=_0x3c44b5['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this[_0x5d82('0x2d')]});var _0x221244,_0x5af112;!this[_0x5d82('0x15')]&&(_0x221244=_0x3bd889,_0x5af112=this['_selectedAnnotations'],_0x221244[_0x5d82('0x35')]===_0x5af112[_0x5d82('0x35')]&&_0x221244['every'](_0x3f8ee0=>_0x5af112['includes'](_0x3f8ee0)))||(this[_0x5d82('0x15')]=!0x1,this[_0x5d82('0x40')](_0x3bd889),this[_0x5d82('0x32')](_0x3bd889[0x0]||null));}),this[_0x5d82('0x16')](_0x3c44b5,_0x5d82('0x46'),(_0x5e2cc0,{isAnnotationTracked:_0x2b9c38})=>{this[_0x5d82('0x2d')]&&_0x2b9c38(this[_0x5d82('0x2d')])&&(this[_0x5d82('0x40')]([]),this['setActiveAnnotation'](null));}),this['listenTo'](this[_0x5d82('0x3a')]['ui']['focusTracker'],'change:isFocused',(_0x1c80fb,_0x2b2ebb,_0x424d1d)=>{_0x424d1d||this[_0x5d82('0x32')](null);}),this[_0x5d82('0x16')](_0x1f65ca,_0x5d82('0x2c'),(_0x40d9c0,_0xa917c5)=>{this[_0x5d82('0x38')](_0xa917c5),_0xa917c5===this[_0x5d82('0x2d')]&&this[_0x5d82('0x32')](null);}),this[_0x5d82('0x16')](_0x54bd45,'change:visibleView',(_0x534306,_0x232b68,_0x36d4c7,_0x198335)=>{_0x198335&&this['stopListening'](_0x198335);const _0x4aea9b=_0x1f65ca[_0x5d82('0x37')](_0x36d4c7);_0x36d4c7&&_0x4aea9b&&(this['listenTo'](_0x36d4c7,'change:height',()=>{_0x54bd45['updatePosition']();}),this[_0x5d82('0x16')](_0x36d4c7,'Esc',()=>{this['_closeAnnotation'](_0x4aea9b),this[_0x5d82('0x3a')][_0x5d82('0x26')]['view']['focus']();}),this[_0x5d82('0x2d')]!==_0x4aea9b&&this[_0x5d82('0x32')](_0x4aea9b));}),this['listenTo'](this[_0x5d82('0x3a')]['ui'],_0x5d82('0x3f'),()=>{_0x54bd45[_0x5d82('0x7')]&&(_0x1f65ca[_0x5d82('0x37')](_0x54bd45[_0x5d82('0x7')])&&_0x54bd45[_0x5d82('0x34')]());}),this['listenTo'](this[_0x5d82('0x3a')][_0x5d82('0x26')][_0x5d82('0x2e')]['document'],_0x5d82('0x8'),()=>{this[_0x5d82('0x15')]=!0x0,this[_0x5d82('0x42')][_0x5d82('0x5')]();}),this[_0x5d82('0x3a')][_0x5d82('0x26')][_0x5d82('0x2e')][_0x5d82('0x1e')][_0x5d82('0x22')][_0x5d82('0x11')]&&this['editor']['editing'][_0x5d82('0x2e')][_0x5d82('0x1a')](),this[_0x5d82('0x13')]=!0x0;}['detach'](){if(!this[_0x5d82('0x13')])throw new _0x5244fc(_0x5d82('0x4'),this);this[_0x5d82('0x32')](null);for(const _0x5e4c20 of this[_0x5d82('0xf')])this['_removeAnnotationFromBalloon'](_0x5e4c20);this[_0x5d82('0x36')](),this['isAttached']=!0x1,this[_0x5d82('0x3')]=null;}[_0x5d82('0xa')](){this['isAttached']&&this['detach']();}[_0x5d82('0x40')](_0x107958){for(const _0x45503a of this[_0x5d82('0x6')])_0x107958[_0x5d82('0x28')](_0x45503a)||this['_manuallyClosed'][_0x5d82('0x2b')](_0x45503a);for(const _0x12a132 of this[_0x5d82('0x3')])_0x107958[_0x5d82('0x28')](_0x12a132)||this['_removeAnnotationFromBalloon'](_0x12a132);if(this['editor']['ui'][_0x5d82('0x3b')][_0x5d82('0x3d')])for(const _0x28278e of _0x107958)this[_0x5d82('0x1c')](_0x28278e);this[_0x5d82('0x6')]=_0x107958;}['_addAnnotationToBalloon'](_0x113b75,_0x3f1c2b=!0x1){this[_0x5d82('0x42')]['has'](_0x113b75)||(this[_0x5d82('0xf')][_0x5d82('0x9')](_0x113b75)||this[_0x5d82('0x24')][_0x5d82('0x43')](_0x113b75[_0x5d82('0x2e')])||(this[_0x5d82('0xf')][_0x5d82('0x23')](_0x113b75),this[_0x5d82('0x24')][_0x5d82('0x23')]({'stackId':_0x113b75[_0x5d82('0x2e')]['id'],'view':_0x113b75[_0x5d82('0x2e')],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x113b75)}})),_0x3f1c2b&&this['_balloon']['showStack'](_0x113b75[_0x5d82('0x2e')]['id']));}['_getBalloonTargetForAnnotation'](_0x4172ae){const _0x44221b=_0x4172ae[_0x5d82('0x30')],_0x349f49=this['editor'][_0x5d82('0x26')][_0x5d82('0x2e')],_0x134e38=_0x349f49['document'][_0x5d82('0x22')]['getFirstRange'](),_0x21e594=_0x349f49['domConverter'][_0x5d82('0x1')](_0x134e38);if(_0x21e594[_0x5d82('0x2a')](!0x0),_0x44221b){if(_0x44221b instanceof _0x175c7c)return _0x44221b;let _0x111efa=[];for(const _0x235d32 of _0x44221b)_0x111efa[_0x5d82('0x3c')](...(_0x363dec=_0x235d32[_0x5d82('0x3e')](),Array[_0x5d82('0x1f')](_0x363dec)['map'](DOMRect['fromRect'])));_0x111efa=function(_0x5ac571){const _0x4b04da=[];let _0x569f0e=_0x5ac571[0x0];for(let _0x5cd73c=0x1;_0x5cd73c<_0x5ac571[_0x5d82('0x35')];_0x5cd73c++)F(_0x569f0e,_0x5ac571[_0x5cd73c])?_0x569f0e[_0x5d82('0x21')]+=_0x5ac571[_0x5cd73c][_0x5d82('0x21')]:(_0x4b04da[_0x5d82('0x3c')](_0x569f0e),_0x569f0e=_0x5ac571[_0x5cd73c]);return _0x4b04da[_0x5d82('0x3c')](_0x569f0e),_0x4b04da;}(_0x111efa);const _0x51dccb=_0x21e594[_0x5d82('0x41')]();return _0x111efa[_0x5d82('0x2')](_0x2258a6=>_0x2258a6[_0x5d82('0x2f')]<=_0x51dccb[_0x5d82('0x2f')]&&_0x2258a6[_0x5d82('0x27')]>=_0x51dccb[_0x5d82('0x27')]&&_0x2258a6[_0x5d82('0x45')]<=_0x51dccb['left']&&_0x2258a6[_0x5d82('0x33')]>=_0x51dccb[_0x5d82('0x33')])||_0x111efa[0x0];}var _0x363dec;return _0x4172ae[_0x5d82('0x1b')]||_0x21e594;}[_0x5d82('0x38')](_0x2288fc){this[_0x5d82('0xf')][_0x5d82('0x9')](_0x2288fc)&&this[_0x5d82('0x24')][_0x5d82('0x43')](_0x2288fc[_0x5d82('0x2e')])&&(this['_addedAnnotations']['delete'](_0x2288fc),this[_0x5d82('0x24')][_0x5d82('0x2c')](_0x2288fc[_0x5d82('0x2e')]));}[_0x5d82('0x10')](_0x1f1efc){this[_0x5d82('0x42')][_0x5d82('0x23')](_0x1f1efc),this[_0x5d82('0x38')](_0x1f1efc);}}function F(_0x2075c3,_0x24857b){return _0x2075c3[_0x5d82('0x2f')]===_0x24857b[_0x5d82('0x2f')]&&_0x2075c3[_0x5d82('0x27')]===_0x24857b[_0x5d82('0x27')]&&_0x2075c3[_0x5d82('0x33')]===_0x24857b[_0x5d82('0x45')];}
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 _0x2f07=['_annotations','_setSelectedAnnotations','balloonPanelView','addEventListener','_attachListeners','element','execute','mousedown','_showBalloon','context','setActiveAnnotation','set','_refreshPositioning','annotations','length','_selectedAnnotations','addAnnotation','southArrowNorth','has','stopPropagation','getByView','find','_editorAnnotations','editors','northArrowSouthWest','get','narrowSidebar','hasDomSelection','create','EditorAnnotations','change:height','view','isAttached','pluginName','high','focusableElements','bind','_updateBalloonPosition','focus','from','add','delete','northArrowSouthEast','attachToDom','_detachListeners','isVisible','_integrateWithEditorAnnotations','cancel','narrowsidebar-attach-already-attached','listenTo','includes','content','removeEventListener','plugins','Esc','first','bodyCollection','getSidebarItemView','blur','uiUpdate','_domEmitter','stop','activeAnnotation','preventClosingBalloon','unpin','stopListening','remove','attach','detach','_destroyEditorAnnotationsIntegration','_detachFromContainer','keydown','off','getOrderedSelectedAnnotations','clear','isDirty','_refreshPositioningDebounced','type','rearrange','locale','annotationType','_manuallyClosedAnnotationViews','_hideBalloon','_annotationToNarrowView','refresh','destroy','northArrowSouth','contains','southArrowNorthWest'];(function(_0x5989ba,_0x2f07cc){const _0x3fdf0d=function(_0x48d5ec){while(--_0x48d5ec){_0x5989ba['push'](_0x5989ba['shift']());}};_0x3fdf0d(++_0x2f07cc);}(_0x2f07,0x1dc));const _0x3fdf=function(_0x5989ba,_0x2f07cc){_0x5989ba=_0x5989ba-0x0;let _0x3fdf0d=_0x2f07[_0x5989ba];return _0x3fdf0d;};import{ContextPlugin as _0x25c751,Context as _0x50a52f}from'ckeditor5/src/core.js';import _0x3d5dc3 from'./annotationsuis.js';import _0x4b8423 from'./sidebar.js';import _0x5debf8 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x15d68b,BodyCollection as _0x13b213}from'ckeditor5/src/ui.js';import{CKEditorError as _0x15dff,DomEmitterMixin as _0x390176,keyCodes as _0x1ba893,Collection as _0x2387c9}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x2c0230}from'lodash-es';import _0x20e517 from'./editorannotations.js';export default class i extends _0x25c751{static get['requires'](){return[_0x4b8423,_0x3d5dc3];}static get[_0x3fdf('0x2')](){return'NarrowSidebar';}constructor(_0x4b1f38){super(_0x4b1f38),this[_0x3fdf('0x1')]=!0x1,this[_0x3fdf('0x32')]=new Set(),this[_0x3fdf('0x1d')]=Object[_0x3fdf('0x56')](_0x390176),this[_0x3fdf('0x34')]=new Map(),this[_0x3fdf('0x45')](_0x3fdf('0x1f'),null),this[_0x3fdf('0x47')]=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0x2387c9(),this['_refreshPositioningDebounced']=_0x2c0230(()=>{this[_0x3fdf('0x46')]();},0xfa,{'leading':!0x1});}['init'](){this[_0x3fdf('0x43')][_0x3fdf('0x16')]['get'](_0x3d5dc3)['register'](_0x3fdf('0x54'),this),this['bodyCollection']=new _0x13b213(this[_0x3fdf('0x43')][_0x3fdf('0x30')]),this[_0x3fdf('0x3c')]=new _0x15d68b(this[_0x3fdf('0x43')][_0x3fdf('0x30')]),this[_0x3fdf('0x19')][_0x3fdf('0xc')](),this[_0x3fdf('0x19')][_0x3fdf('0x9')](this[_0x3fdf('0x3c')]);}['attach'](_0x3649f0){this[_0x3fdf('0x47')]=_0x3649f0;const _0x10db49=this[_0x3fdf('0x43')][_0x3fdf('0x16')][_0x3fdf('0x53')](_0x4b8423),_0x100212=this[_0x3fdf('0x3c')];if(_0x10db49[_0x3fdf('0x3a')]=_0x3649f0,this[_0x3fdf('0x1')])throw new _0x15dff(_0x3fdf('0x11'),this);this['isAttached']=!0x0,this['listenTo'](_0x10db49,'set:container',()=>{this['detach'](),this[_0x3fdf('0x12')](_0x10db49,'change:container',_0x48195d=>{_0x48195d[_0x3fdf('0x29')](),this[_0x3fdf('0x24')](_0x3649f0);});}),_0x10db49['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x32d645=_0x20fab1=>{const _0x57f345=new _0x5debf8(this['context'][_0x3fdf('0x30')]);_0x10db49[_0x3fdf('0x4a')](_0x20fab1,_0x57f345),this[_0x3fdf('0x34')][_0x3fdf('0x45')](_0x20fab1,_0x57f345),_0x57f345[_0x3fdf('0x5')](_0x3fdf('0x2c'),_0x3fdf('0x31'),'number')['to'](_0x20fab1[_0x3fdf('0x0')],_0x3fdf('0x2c'),_0x3fdf('0x2e'),_0x3fdf('0x48')),_0x57f345['on'](_0x3fdf('0x40'),()=>{this[_0x3fdf('0x32')][_0x3fdf('0x2b')](),_0x100212['content'][_0x3fdf('0x18')]!==_0x20fab1['view']?(this[_0x3fdf('0x42')](_0x20fab1),_0x20fab1[_0x3fdf('0x0')]['element']['focus'](),this['setActiveAnnotation'](_0x20fab1)):this[_0x3fdf('0x44')](null);});};for(const _0x2b2503 of _0x3649f0)_0x32d645(_0x2b2503);this[_0x3fdf('0x12')](_0x3649f0,_0x3fdf('0x9'),(_0x715e61,_0x304a3e)=>{_0x32d645(_0x304a3e);}),this[_0x3fdf('0x12')](_0x3649f0,_0x3fdf('0x23'),(_0x1a5b8f,_0x150cdf,_0x15414b)=>{this[_0x3fdf('0x34')]['get'](_0x150cdf)[_0x3fdf('0x36')](),this['_annotationToNarrowView'][_0x3fdf('0xa')](_0x150cdf),_0x10db49[_0x3fdf('0x2f')]({'removedAnnotation':_0x150cdf,'previousAnnotation':_0x3649f0['get'](_0x15414b-0x1),'nextAnnotation':_0x3649f0[_0x3fdf('0x53')](_0x15414b+0x1)}),_0x150cdf===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x3649f0,_0x3fdf('0x7'),(_0x3a329c,_0x41d061)=>{this[_0x3fdf('0x44')](_0x41d061);}),this[_0x3fdf('0x12')](_0x3649f0,_0x3fdf('0x1b'),()=>{this[_0x3fdf('0x44')](null);}),this[_0x3fdf('0x1d')][_0x3fdf('0x12')](document,_0x3fdf('0x28'),(_0x278326,_0x3939f2)=>{_0x3939f2['keyCode']===_0x1ba893['esc']&&_0x100212['isVisible']&&(this['_manuallyClosedAnnotationViews'][_0x3fdf('0x9')](_0x100212['content'][_0x3fdf('0x18')]),this[_0x3fdf('0x33')](),_0x3939f2[_0x3fdf('0x4d')](),_0x3939f2['preventDefault']());}),this[_0x3fdf('0x1d')]['listenTo'](document,_0x3fdf('0x41'),(_0x17af90,_0x47e4f2)=>{const _0x10902b=_0x47e4f2['target'];_0x100212['isVisible']&&_0x100212[_0x3fdf('0x3f')][_0x3fdf('0x38')](_0x10902b)||_0x10db49[_0x3fdf('0x0')][_0x3fdf('0x3f')][_0x3fdf('0x38')](_0x10902b)||_0x17af90[_0x3fdf('0x20')]||this[_0x3fdf('0x1f')]&&this[_0x3fdf('0x1f')][_0x3fdf('0x4')][_0x3fdf('0x4f')](_0x29bb99=>_0x29bb99['contains'](_0x10902b))||(this['_manuallyClosedAnnotationViews'][_0x3fdf('0x2b')](),this[_0x3fdf('0x33')](),this['setActiveAnnotation'](null));});const _0x4b6210=this['context']instanceof _0x50a52f?this['context'][_0x3fdf('0x51')]:new _0x2387c9([this[_0x3fdf('0x43')]]);for(const _0x2ab291 of _0x4b6210)this['_integrateWithEditorAnnotations'](_0x2ab291);this[_0x3fdf('0x12')](_0x4b6210,'add',(_0x12c0ec,_0x2b7a76)=>{this[_0x3fdf('0x12')](_0x2b7a76,'ready',()=>{this[_0x3fdf('0xf')](_0x2b7a76);});}),this[_0x3fdf('0x12')](_0x4b6210,_0x3fdf('0x23'),(_0x2b6eac,_0x25cfa7)=>{_0x25cfa7[_0x3fdf('0x16')][_0x3fdf('0x4c')](_0x3fdf('0x57'))&&this[_0x3fdf('0x26')](_0x25cfa7[_0x3fdf('0x16')][_0x3fdf('0x53')](_0x3fdf('0x57')));}),window[_0x3fdf('0x3d')]('resize',this[_0x3fdf('0x2d')]),this['_refreshPositioning']();}[_0x3fdf('0x44')](_0x54dfce){if(_0x54dfce===this['activeAnnotation'])return;const _0x5b3674=this[_0x3fdf('0x43')]['plugins']['get'](_0x4b8423);if(_0x5b3674[_0x3fdf('0x35')]({'blurredAnnotation':this[_0x3fdf('0x1f')],'activatedAnnotation':_0x54dfce,'disableAnimationOnActivatedAnnotation':!0x0}),_0x54dfce)_0x5b3674[_0x3fdf('0x1a')](_0x54dfce)?this[_0x3fdf('0x42')](_0x54dfce):this[_0x3fdf('0x33')]();else this[_0x3fdf('0x33')]();this[_0x3fdf('0x1f')]=_0x54dfce;}[_0x3fdf('0x25')](){if(!this['isAttached'])throw new _0x15dff('narrowsidebar-detach-not-attached',this);this[_0x3fdf('0x44')](null);const _0x1e99b5=this[_0x3fdf('0x43')][_0x3fdf('0x16')]['get'](_0x4b8423);this['_hideBalloon'](),Array[_0x3fdf('0x8')](this[_0x3fdf('0x34')]['values'](),_0x3918db=>_0x3918db['destroy']()),this[_0x3fdf('0x34')][_0x3fdf('0x2b')](),_0x1e99b5[_0x3fdf('0x27')](this['annotations']),this['stopListening'](),this[_0x3fdf('0x1d')][_0x3fdf('0x22')](),this[_0x3fdf('0x43')]instanceof _0x50a52f&&this[_0x3fdf('0x22')](this[_0x3fdf('0x43')][_0x3fdf('0x51')]);for(const _0x475e6c of Array['from'](this['_editorAnnotations']))this[_0x3fdf('0x26')](_0x475e6c);window[_0x3fdf('0x15')]('resize',this[_0x3fdf('0x2d')]),this[_0x3fdf('0x2d')][_0x3fdf('0x10')](),this[_0x3fdf('0x49')]=[],this[_0x3fdf('0x1')]=!0x1,this['annotations']=null;}[_0x3fdf('0x36')](){this[_0x3fdf('0x1')]&&this[_0x3fdf('0x25')](),this['bodyCollection']['detachFromDom']();}[_0x3fdf('0xf')](_0x1639f0){const _0xafbf32=_0x1639f0[_0x3fdf('0x16')][_0x3fdf('0x53')](_0x20e517),_0x38a541=this[_0x3fdf('0x43')]['plugins'][_0x3fdf('0x53')](_0x4b8423),_0x376492=this[_0x3fdf('0x47')],_0x1e7108=this[_0x3fdf('0x3c')],_0x4437ef=()=>{const _0x985469=_0xafbf32[_0x3fdf('0x2a')]({'annotations':this[_0x3fdf('0x47')],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x985469),this[_0x3fdf('0x44')](_0x985469[0x0]||null);};this['listenTo'](_0xafbf32,_0x3fdf('0x35'),_0x4437ef),this['listenTo'](_0xafbf32,_0x3fdf('0x1b'),(_0xe793a,{isAnnotationTracked:_0x465c84})=>{this[_0x3fdf('0x1f')]&&_0x465c84(this['activeAnnotation'])&&(this[_0x3fdf('0x3b')]([]),this[_0x3fdf('0x44')](null));}),this['listenTo'](_0xafbf32,_0x3fdf('0x1c'),()=>{this[_0x3fdf('0x2d')]();}),this[_0x3fdf('0x12')](_0x376492,_0x3fdf('0x1b'),_0x2def82=>{_0xafbf32[_0x3fdf('0x55')]()&&_0x2def82[_0x3fdf('0x1e')]();},{'priority':'high'}),this[_0x3fdf('0x12')](this[_0x3fdf('0x1d')],_0x3fdf('0x41'),(_0x2debe9,_0xcf599c)=>{const _0x4d0046=_0xcf599c['target'];_0x1e7108[_0x3fdf('0xe')]&&_0x1e7108[_0x3fdf('0x3f')]['contains'](_0x4d0046)||_0x38a541[_0x3fdf('0x0')][_0x3fdf('0x3f')][_0x3fdf('0x38')](_0x4d0046)||this['activeAnnotation']&&_0xafbf32[_0x3fdf('0x55')]()&&(_0x4437ef(),_0x2debe9[_0x3fdf('0x20')]=!0x0);},{'priority':_0x3fdf('0x3')}),this[_0x3fdf('0x50')][_0x3fdf('0x9')](_0xafbf32);}[_0x3fdf('0x26')](_0x51a4db){_0x51a4db&&(this[_0x3fdf('0x22')](_0x51a4db),this[_0x3fdf('0x50')][_0x3fdf('0x23')](_0x51a4db));}['_setSelectedAnnotations'](_0x3a6e50){for(const _0x22f0d5 of this[_0x3fdf('0x49')])_0x3a6e50[_0x3fdf('0x13')](_0x22f0d5)||this[_0x3fdf('0x32')][_0x3fdf('0xa')](_0x22f0d5[_0x3fdf('0x0')]);this[_0x3fdf('0x49')]=_0x3a6e50;}[_0x3fdf('0x46')](){const _0x19eb44=this['balloonPanelView'];this['annotations']['refreshPositioning'](),_0x19eb44[_0x3fdf('0xe')]&&this[_0x3fdf('0x6')]();}['_showBalloon'](_0x48b94f){if(this[_0x3fdf('0x32')][_0x3fdf('0x4c')](_0x48b94f['view']))return;const _0x384923=this['balloonPanelView'][_0x3fdf('0x14')][_0x3fdf('0x18')];_0x384923!==_0x48b94f[_0x3fdf('0x0')]?(_0x384923&&this[_0x3fdf('0xd')](_0x384923),this[_0x3fdf('0x3e')](_0x48b94f[_0x3fdf('0x0')]),this['balloonPanelView'][_0x3fdf('0x14')][_0x3fdf('0x2b')](),this[_0x3fdf('0x3c')]['content'][_0x3fdf('0x9')](_0x48b94f[_0x3fdf('0x0')]),this[_0x3fdf('0x6')]()):this[_0x3fdf('0x6')]();}[_0x3fdf('0x6')](){const _0x46ccf0=this[_0x3fdf('0x3c')][_0x3fdf('0x14')]['first'],_0x50e983=_0x46ccf0&&this[_0x3fdf('0x47')][_0x3fdf('0x4e')](_0x46ccf0);if(!_0x50e983||!this['_annotationToNarrowView'][_0x3fdf('0x4c')](_0x50e983))return;const _0x2debcc=this[_0x3fdf('0x34')][_0x3fdf('0x53')](_0x50e983)[_0x3fdf('0x3f')],_0x29e589=function(){const _0x5beb64=_0x15d68b['defaultPositions'];return[_0x5beb64['southArrowNorthEast'],_0x5beb64[_0x3fdf('0xb')],_0x5beb64[_0x3fdf('0x4b')],_0x5beb64[_0x3fdf('0x37')],_0x5beb64[_0x3fdf('0x39')],_0x5beb64[_0x3fdf('0x52')]];}();this[_0x3fdf('0x3c')]['pin']({'target':_0x2debcc,'positions':_0x29e589});}[_0x3fdf('0x33')](){const _0x4951d0=this[_0x3fdf('0x3c')],_0x1b63e5=_0x4951d0[_0x3fdf('0x14')][_0x3fdf('0x18')];_0x1b63e5&&(this[_0x3fdf('0xd')](_0x1b63e5),_0x4951d0[_0x3fdf('0x21')](),_0x4951d0['content'][_0x3fdf('0x2b')]());}['_attachListeners'](_0x161b5a){this[_0x3fdf('0x12')](_0x161b5a,_0x3fdf('0x58'),()=>this[_0x3fdf('0x6')]()),this['listenTo'](_0x161b5a,_0x3fdf('0x17'),(_0x28666c,_0xe28cc6)=>{this[_0x3fdf('0x32')]['add'](_0x161b5a),this[_0x3fdf('0x33')](),_0xe28cc6();});}['_detachListeners'](_0x539522){this[_0x3fdf('0x22')](_0x539522);}}
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 _0x25a6=['list','_annotations','change:targetRect','_spaceBetweenItems','change:_lastItem','top','destroy','nodeType','define','_targetTop','_getItemAfter','_alignAfterItem','height','_recalculateBuffer','_createSidebarView','remove','rearrange','delete','last','max','view','add','_activeAnnotation','context','appendChild','_destroySidebarItemView','_sidebarItemViewToAnnotation','_setItemTop','_getItemBefore','sidebar-setcontainer-invalid-element','updateHeight','_alignForTopChange','_alignToTargetRect','bottom','change:bottom','refresh','_alignBeforeItem','bind','container','init','unbind','content','set','stopListening','isAnimationDisabled','minHeight','listenTo','sidebar.container','change:top','_lastItem','_detachFromContainer','_getTargetTop','targetRect','locale','render','config','_annotationToSidebarItemView','object','_getMaxAvailableTop','_recalculate','clear','isActive','element','_alignForBottomChange','Sidebar','getSidebarItemView','setContainer','push','_updateLastItem','get','target','sidebar.preventScrollOutOfView','getIndex','length','addAnnotation'];(function(_0x56519c,_0x25a6ae){const _0x4af417=function(_0x15c03f){while(--_0x15c03f){_0x56519c['push'](_0x56519c['shift']());}};_0x4af417(++_0x25a6ae);}(_0x25a6,0x1ce));const _0x4af4=function(_0x56519c,_0x25a6ae){_0x56519c=_0x56519c-0x0;let _0x4af417=_0x25a6[_0x56519c];return _0x4af417;};import{ContextPlugin as _0x3a579b}from'ckeditor5/src/core.js';import{Rect as _0x2439f7,CKEditorError as _0x5acfcd}from'ckeditor5/src/utils.js';import _0x3441ec from'./view/sidebarview.js';import _0x18fd9e from'./view/sidebaritemview.js';export default class z extends _0x3a579b{static get['pluginName'](){return _0x4af4('0x34');}constructor(_0x145ee1){super(_0x145ee1),this[_0x4af4('0x1e')](_0x4af4('0x25'),void 0x0),this[_0x4af4('0x8')]=this[_0x4af4('0x2')](),this['set'](_0x4af4('0x1a'),null),this['_spaceBetweenItems']=0x19,this[_0x4af4('0xe')]=new Map(),this[_0x4af4('0x2c')]=new Map(),this[_0x4af4('0xb')][_0x4af4('0x2b')][_0x4af4('0x47')](_0x4af4('0x3b'),!0x1),this[_0x4af4('0x40')]=null,this['_activeAnnotation']=null,this['_recalculateBuffer']=[];}[_0x4af4('0x1b')](){const _0xc899a0=this[_0x4af4('0xb')]['config'][_0x4af4('0x39')](_0x4af4('0x23'));_0xc899a0&&this['setContainer'](_0xc899a0);}[_0x4af4('0x36')](_0xa7d060){if(!y(_0xa7d060))throw new _0x5acfcd(_0x4af4('0x11'));this[_0x4af4('0x1a')]=_0xa7d060;}['_attachToContainer']({viewClass:_0x13a67c='',spaceBetweenItems:_0x3c5d86=0x19}={}){if(!y(this[_0x4af4('0x1a')]))throw new _0x5acfcd('sidebar-attachtocontainer-missing-container',this);this[_0x4af4('0x1a')][_0x4af4('0xc')](this['view'][_0x4af4('0x32')]),this[_0x4af4('0x8')]['class']=_0x13a67c,this['_spaceBetweenItems']=_0x3c5d86;}[_0x4af4('0x4')]({removedAnnotation:_0x54ebf1,previousAnnotation:_0x9c8329,nextAnnotation:_0x268f90}){const _0x5c3490=this[_0x4af4('0x35')](_0x54ebf1);this[_0x4af4('0x8')]['list'][_0x4af4('0x3')](_0x5c3490),this['_destroySidebarItemView'](_0x54ebf1),_0x9c8329&&this[_0x4af4('0x14')](this[_0x4af4('0x35')](_0x9c8329)),_0x268f90&&this[_0x4af4('0x14')](this[_0x4af4('0x35')](_0x268f90)),this['_updateLastItem']();}[_0x4af4('0x17')]({blurredAnnotation:_0x5d1bd8,activatedAnnotation:_0x5a91b7,disableAnimationOnActivatedAnnotation:_0x36649e}){if(this[_0x4af4('0xa')]=_0x5a91b7,_0x5d1bd8){_0x5d1bd8[_0x4af4('0x31')]=!0x1;const _0x287d15=this['getSidebarItemView'](_0x5d1bd8);_0x287d15&&_0x36649e&&(_0x287d15[_0x4af4('0x20')]=!0x1);}if(_0x5a91b7){const _0x318755=this[_0x4af4('0x35')](_0x5a91b7);_0x318755&&(_0x5a91b7[_0x4af4('0x31')]=!0x0,_0x36649e&&(_0x318755['isAnimationDisabled']=!0x0,_0x318755['top']+=0x1),this[_0x4af4('0x14')](_0x318755));}}[_0x4af4('0x26')](_0x4ac8a3){if(this['view'][_0x4af4('0x32')][_0x4af4('0x3')](),_0x4ac8a3)for(const _0x60f05e of _0x4ac8a3)this[_0x4af4('0xd')](_0x60f05e);this[_0x4af4('0x8')]['list'][_0x4af4('0x30')](),this[_0x4af4('0x8')]['class']='',this['_lastItem']=null;}[_0x4af4('0x3e')](_0x71ec64,_0x37513b){_0x37513b||(_0x37513b=_0x71ec64[_0x4af4('0x8')]);const _0x29d0ca=new _0x18fd9e(this[_0x4af4('0xb')][_0x4af4('0x29')]);this[_0x4af4('0xe')]['set'](_0x29d0ca,_0x71ec64),this[_0x4af4('0x2c')][_0x4af4('0x1e')](_0x71ec64,_0x29d0ca),_0x29d0ca[_0x4af4('0x1d')][_0x4af4('0x9')](_0x37513b),this[_0x4af4('0x22')](_0x71ec64[_0x4af4('0x8')],_0x4af4('0x41'),(_0x3f04e8,_0x263cdd,_0x535b27)=>{const _0x5c451b=this[_0x4af4('0x27')](_0x71ec64,_0x535b27);_0x29d0ca[_0x4af4('0x48')]!=_0x5c451b&&(_0x29d0ca[_0x4af4('0x48')]=_0x5c451b,this['_setItemTop'](_0x29d0ca,_0x5c451b));}),this[_0x4af4('0x22')](_0x29d0ca,_0x4af4('0x24'),()=>{this[_0x4af4('0x2f')](_0x29d0ca,_0x4af4('0x44'));}),this[_0x4af4('0x22')](_0x29d0ca,_0x4af4('0x16'),()=>{this['_recalculate'](_0x29d0ca,_0x4af4('0x15'));}),this['_alignToTargetRect'](_0x29d0ca);const _0x3daa99=this[_0x4af4('0x10')](_0x29d0ca);if(_0x3daa99)this[_0x4af4('0x4a')](_0x3daa99,_0x29d0ca)||this[_0x4af4('0x14')](_0x29d0ca);else this[_0x4af4('0x14')](_0x29d0ca);return this[_0x4af4('0x38')](),this['view'][_0x4af4('0x3f')]['add'](_0x29d0ca),_0x29d0ca;}[_0x4af4('0x13')](_0x2d00d7){if(!_0x2d00d7[_0x4af4('0x1d')][_0x4af4('0x3d')])return;const _0x2b4eda=this[_0x4af4('0x10')](_0x2d00d7);if(!_0x2b4eda)return;const _0x338034=this[_0x4af4('0xe')][_0x4af4('0x39')](_0x2b4eda),_0x156460=this[_0x4af4('0xa')];_0x156460&&_0x156460===_0x338034?this['_alignAfterItem'](_0x2b4eda,_0x2d00d7):this[_0x4af4('0x18')](_0x2d00d7,_0x2b4eda);}['_alignForBottomChange'](_0x1de1d3){if(!_0x1de1d3[_0x4af4('0x1d')][_0x4af4('0x3d')])return;const _0x5dc726=this[_0x4af4('0x49')](_0x1de1d3);if(!_0x5dc726)return;const _0xfd634a=this[_0x4af4('0xe')][_0x4af4('0x39')](_0x5dc726),_0x3dbe2d=this[_0x4af4('0xb')][_0x4af4('0x2b')][_0x4af4('0x39')]('sidebar.preventScrollOutOfView'),_0x4d8e49=this[_0x4af4('0xa')];_0x4d8e49&&_0x4d8e49===_0xfd634a&&_0x3dbe2d?(this[_0x4af4('0x18')](_0x5dc726,_0x1de1d3),this['_alignAfterItem'](_0x1de1d3,_0x5dc726)):_0x4d8e49&&_0x4d8e49===_0xfd634a?this[_0x4af4('0x18')](_0x5dc726,_0x1de1d3):this[_0x4af4('0x4a')](_0x1de1d3,_0x5dc726);}['_recalculate'](_0x32ddc4,_0x29444d){0x0===this['_recalculateBuffer'][_0x4af4('0x3d')]&&setTimeout(()=>{for(const {sidebarItemView:_0x3aca60,changedProp:_0x1fd6a0}of this[_0x4af4('0x1')])_0x4af4('0x44')===_0x1fd6a0?this[_0x4af4('0x13')](_0x3aca60):this[_0x4af4('0x33')](_0x3aca60);this[_0x4af4('0x1')]=[];},0xa),this[_0x4af4('0x1')][_0x4af4('0x37')]({'sidebarItemView':_0x32ddc4,'changedProp':_0x29444d});}[_0x4af4('0x35')](_0xd7cafa){return this['_annotationToSidebarItemView'][_0x4af4('0x39')](_0xd7cafa);}[_0x4af4('0x45')](){this[_0x4af4('0x1f')](),this[_0x4af4('0x8')][_0x4af4('0x45')]();}[_0x4af4('0xd')](_0x26df93){const _0x1ceb1=this[_0x4af4('0x35')](_0x26df93);this['stopListening'](_0x1ceb1),this[_0x4af4('0x1f')](_0x26df93[_0x4af4('0x8')]),_0x1ceb1[_0x4af4('0x45')](),this[_0x4af4('0x2c')]['delete'](_0x26df93),this[_0x4af4('0xe')][_0x4af4('0x5')](_0x1ceb1);}['_createSidebarView'](){const _0x5597c4=new _0x3441ec(this[_0x4af4('0xb')]['locale']);return _0x5597c4[_0x4af4('0x2a')](),this['on'](_0x4af4('0x43'),(_0x29dfb3,_0x90c88c,_0x38c8ce,_0x36d0d9)=>{_0x36d0d9&&_0x5597c4[_0x4af4('0x1c')](_0x4af4('0x21')),_0x38c8ce?_0x5597c4[_0x4af4('0x19')](_0x4af4('0x21'))['to'](_0x38c8ce,_0x4af4('0x15')):_0x5597c4[_0x4af4('0x21')]=null;}),_0x5597c4;}[_0x4af4('0x38')](){var _0x193ece;this[_0x4af4('0x25')]=(null===(_0x193ece=this[_0x4af4('0x40')])||void 0x0===_0x193ece?void 0x0:_0x193ece[_0x4af4('0x6')])?this[_0x4af4('0x35')](this[_0x4af4('0x40')]['last']):null;}[_0x4af4('0x10')](_0x2f4334){var _0x17f4b4;const _0xa0d47e=this[_0x4af4('0xe')][_0x4af4('0x39')](_0x2f4334),_0x24e445=_0xa0d47e&&(null===(_0x17f4b4=this[_0x4af4('0x40')])||void 0x0===_0x17f4b4?void 0x0:_0x17f4b4[_0x4af4('0x39')](this[_0x4af4('0x40')][_0x4af4('0x3c')](_0xa0d47e)-0x1));return _0x24e445&&this[_0x4af4('0x35')](_0x24e445)||null;}[_0x4af4('0x49')](_0x5e797b){var _0x4940ff;const _0x154841=this[_0x4af4('0xe')]['get'](_0x5e797b),_0x1e57ae=_0x154841&&(null===(_0x4940ff=this[_0x4af4('0x40')])||void 0x0===_0x4940ff?void 0x0:_0x4940ff['get'](this[_0x4af4('0x40')][_0x4af4('0x3c')](_0x154841)+0x1));return _0x1e57ae&&this[_0x4af4('0x35')](_0x1e57ae)||null;}[_0x4af4('0x18')](_0x54eaa6,_0x35c065){_0x54eaa6[_0x4af4('0x12')]();const _0x543787=M(_0x35c065[_0x4af4('0x15')]+this[_0x4af4('0x42')],_0x54eaa6[_0x4af4('0x44')]);return!!_0x543787&&(this[_0x4af4('0xf')](_0x35c065,_0x35c065[_0x4af4('0x44')]-_0x543787),!0x0);}['_alignAfterItem'](_0x21a1f4,_0x32296d){_0x21a1f4[_0x4af4('0x12')]();const _0x49ac04=M(_0x21a1f4[_0x4af4('0x15')]+this['_spaceBetweenItems'],_0x32296d['top']);return!!_0x49ac04&&(this[_0x4af4('0xf')](_0x32296d,_0x32296d[_0x4af4('0x44')]+_0x49ac04,!0x1),!0x0);}['_alignToTargetRect'](_0x59f320){const _0xba5ff2=this[_0x4af4('0xe')][_0x4af4('0x39')](_0x59f320);if(!_0xba5ff2||!_0xba5ff2[_0x4af4('0x3a')]||!_0xba5ff2[_0x4af4('0x28')])return;const _0x14f823=this['_getTargetTop'](_0xba5ff2,_0xba5ff2[_0x4af4('0x28')]);this['_setItemTop'](_0x59f320,_0x14f823);}[_0x4af4('0x27')](_0x41d701,_0x14732f){if(null===_0x14732f)return 0x0;if(_0x41d701['target']instanceof _0x2439f7)return _0x14732f[_0x4af4('0x44')];{const _0x5c37c9=new _0x2439f7(this[_0x4af4('0x8')][_0x4af4('0x32')])[_0x4af4('0x44')];return _0x14732f[_0x4af4('0x44')]-_0x5c37c9;}}[_0x4af4('0xf')](_0x1cd56e,_0x83c00,_0x1e0e0c=this['context'][_0x4af4('0x2b')]['get'](_0x4af4('0x3b'))){_0x1e0e0c&&(_0x83c00=Math['max'](_0x83c00,this[_0x4af4('0x2e')](_0x1cd56e))),_0x1cd56e['top']=_0x83c00;}[_0x4af4('0x2e')](_0x128e0b){let _0x5d9e1c=this['_getItemBefore'](_0x128e0b),_0x300e19=0x0;for(;_0x5d9e1c;)_0x5d9e1c[_0x4af4('0x12')](),_0x300e19+=this['_spaceBetweenItems']+_0x5d9e1c[_0x4af4('0x0')],_0x5d9e1c=this['_getItemBefore'](_0x5d9e1c);return _0x300e19;}}function M(_0x38bfac,_0x10bd08){return Math[_0x4af4('0x7')](_0x38bfac-_0x10bd08,0x0);}function y(_0x47e34e){return null!==_0x47e34e&&_0x4af4('0x2d')==typeof _0x47e34e&&0x1===_0x47e34e[_0x4af4('0x46')];}
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 _0x2298=['isDirty','number','children','set','setTemplate','counterView','ck-annotation-counter__badge--edit-mode','ck-annotation-counter','ck-annotation-counter__badge--','icon','_badge','bindTemplate','annotationType','...'];(function(_0x5d2686,_0x2298d1){const _0x5312fb=function(_0x2d146b){while(--_0x2d146b){_0x5d2686['push'](_0x5d2686['shift']());}};_0x5312fb(++_0x2298d1);}(_0x2298,0x1eb));const _0x5312=function(_0x5d2686,_0x2298d1){_0x5d2686=_0x5d2686-0x0;let _0x5312fb=_0x2298[_0x5d2686];return _0x5312fb;};import{ButtonView as _0x36e74f,View as _0x30c59a}from'ckeditor5/src/ui.js';import _0x254c57 from'../../../theme/icons/add-comment.svg';export default class D extends _0x36e74f{constructor(_0xc9b88c){super(_0xc9b88c);const _0x4d93ce=this[_0x5312('0xa')];this[_0x5312('0x2')](_0x5312('0xd'),!0x1),this[_0x5312('0x2')](_0x5312('0x0'),0x0),this['bind'](_0x5312('0x9'))['to'](this,_0x5312('0xd'),this,_0x5312('0x0'),(_0x2fa9a1,_0x250c50)=>_0x2fa9a1?_0x5312('0xc'):_0x250c50['toString']()),this[_0x5312('0x2')](_0x5312('0xb'),''),this[_0x5312('0x8')]=_0x254c57,this['extendTemplate']({'attributes':{'class':[_0x5312('0x6')]}}),this[_0x5312('0x4')]=new _0x30c59a(),this['counterView'][_0x5312('0x3')]({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x4d93ce['to'](_0x5312('0xb'),_0x59bf5a=>_0x5312('0x7')+_0x59bf5a),_0x4d93ce['if'](_0x5312('0xd'),_0x5312('0x5'))]},'children':[{'text':_0x4d93ce['to'](_0x5312('0x9'))}]}),this[_0x5312('0x1')]['add'](this[_0x5312('0x4')]);}}
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 _0x53bb=['Esc','set','div','element','add','keystrokes','ck-annotation-wrapper--active','content','ck-annotation-wrapper','focusTracker','destroy','isDirty','type','height','ck-rounded-corners','_updateHeight','setTemplate','detach','focus','_mutationObserver','length','render','fire'];(function(_0x25d827,_0x53bb4f){const _0x1f625f=function(_0x2ebfcf){while(--_0x2ebfcf){_0x25d827['push'](_0x25d827['shift']());}};_0x1f625f(++_0x53bb4f);}(_0x53bb,0x103));const _0x1f62=function(_0x25d827,_0x53bb4f){_0x25d827=_0x25d827-0x0;let _0x1f625f=_0x53bb[_0x25d827];return _0x1f625f;};import{View as _0xa270c3}from'ckeditor5/src/ui.js';import{FocusTracker as _0x31e41c,KeystrokeHandler as _0x381367,uid as _0xf67a3a}from'ckeditor5/src/utils.js';import _0x59ce66 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class V extends _0xa270c3{constructor(_0x2e19d6,_0x19f100){super(_0x2e19d6),this['id']=_0xf67a3a(),this[_0x1f62('0x3')]=new _0x31e41c(),this['keystrokes']=new _0x381367(),this[_0x1f62('0x16')][_0x1f62('0x12')](_0x1f62('0x11'),(_0x209906,_0x3a3773)=>this[_0x1f62('0x10')](_0x1f62('0x11'),_0x3a3773)),this[_0x1f62('0x12')]('targetRect',{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this['set'](_0x1f62('0x7'),0x0),this[_0x1f62('0x12')]('isActive',!0x1),this[_0x1f62('0x12')](_0x1f62('0x5'),!0x1),this[_0x1f62('0x12')](_0x1f62('0xe'),0x0),this['set'](_0x1f62('0x6'),''),this[_0x1f62('0xd')]=_0x59ce66(()=>this[_0x1f62('0x9')]()),this[_0x1f62('0x1')]=this['createCollection'](),this[_0x1f62('0x1')][_0x1f62('0x15')](_0x19f100),this['mainView']=_0x19f100;const _0x383b4d=this['bindTemplate'];this[_0x1f62('0xa')]({'tag':_0x1f62('0x13'),'attributes':{'class':['ck',_0x1f62('0x2'),_0x1f62('0x8'),_0x383b4d['if']('isActive',_0x1f62('0x0'))],'tabindex':-0x1},'children':this[_0x1f62('0x1')]});}[_0x1f62('0xf')](){super[_0x1f62('0xf')](),this['focusTracker']['add'](this[_0x1f62('0x14')]),this[_0x1f62('0x16')]['listenTo'](this[_0x1f62('0x14')]),this['_mutationObserver']['attach'](this[_0x1f62('0x14')]);}['destroy'](){this[_0x1f62('0x1')]['clear'](),this[_0x1f62('0x16')][_0x1f62('0x4')](),this[_0x1f62('0x3')][_0x1f62('0x4')](),this[_0x1f62('0xd')][_0x1f62('0xb')](),super[_0x1f62('0x4')]();}[_0x1f62('0xc')](){this[_0x1f62('0x14')][_0x1f62('0xc')]();}[_0x1f62('0x9')](){const _0x5f55f1=this[_0x1f62('0x14')]['clientHeight'];_0x5f55f1&&(this[_0x1f62('0x7')]=_0x5f55f1);}}
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);}}