@ckeditor/ckeditor5-comments 40.1.0 → 40.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 (51) hide show
  1. package/CHANGELOG.md +19 -19
  2. package/README.md +1 -1
  3. package/build/comments.js +1 -1
  4. package/build/translations/gl.js +1 -1
  5. package/build/translations/sr-latn.js +1 -1
  6. package/build/translations/ug.js +1 -1
  7. package/lang/translations/gl.po +2 -2
  8. package/lang/translations/sr-latn.po +3 -3
  9. package/lang/translations/ug.po +10 -10
  10. package/package.json +3 -3
  11. package/src/annotations/annotation.js +1 -1
  12. package/src/annotations/annotationcollection.js +1 -1
  13. package/src/annotations/annotations.js +1 -1
  14. package/src/annotations/annotationsuis.js +1 -1
  15. package/src/annotations/editorannotations.js +1 -1
  16. package/src/annotations/inlineannotations.js +1 -1
  17. package/src/annotations/narrowsidebar.js +1 -1
  18. package/src/annotations/sidebar.js +1 -1
  19. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  20. package/src/annotations/view/annotationview.js +1 -1
  21. package/src/annotations/view/sidebaritemview.js +1 -1
  22. package/src/annotations/view/sidebarview.js +1 -1
  23. package/src/annotations/widesidebar.js +1 -1
  24. package/src/comments/addcommentthreadcommand.js +1 -1
  25. package/src/comments/commentsarchive.js +1 -1
  26. package/src/comments/commentsarchiveui.js +1 -1
  27. package/src/comments/commentsediting.js +1 -1
  28. package/src/comments/commentsrepository.d.ts +1 -0
  29. package/src/comments/commentsrepository.js +1 -1
  30. package/src/comments/commentsui.js +1 -1
  31. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  32. package/src/comments/integrations/importword.js +1 -1
  33. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  34. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  35. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  36. package/src/comments/ui/commentthreadcontroller.js +1 -1
  37. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  38. package/src/comments/ui/view/basecommentview.js +1 -1
  39. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  40. package/src/comments/ui/view/commentcontentview.js +1 -1
  41. package/src/comments/ui/view/commentinputview.js +1 -1
  42. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  43. package/src/comments/ui/view/commentslistview.js +1 -1
  44. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  45. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  46. package/src/comments/ui/view/commentthreadview.js +1 -1
  47. package/src/comments/ui/view/commentview.js +1 -1
  48. package/src/comments.js +1 -1
  49. package/src/commentsonly.js +1 -1
  50. package/src/utils/common-translations.js +1 -1
  51. package/src/utils/createmutationobserver.js +1 -1
@@ -1 +1 @@
1
- !function(o){const e=o.gl=o.gl||{};e.dictionary=Object.assign(e.dictionary||{},{Comment:"Comentario","Comment editor":"Editor de comentarios","Comment was made on an element":"Comentouse un elemento",COMMENTS_ARCHIVE:"Arquivo de comentarios","Delete comment thread?":"Eliminar o fío de comentarios?","Delete comment?":"Eliminar o comentario?",Edit:"Editar",EMPTY_COMMENTS_ARCHIVE:"Non hai fíos de comentarios arquivados.",ENTER_COMMENT_ANNOUNCEMENT:"",EXTERNAL_AVATAR:"O nome do autor amosado procede dunha fonte externa (engadido por %0)",EXTERNAL_COMMENT:"Este comentario procede dunha fonte externa.",EXTERNAL_IMPORT_WORD_AVATAR:"O nome do autor amosado procede dun documento de Word importado por %0",EXTERNAL_IMPORT_WORD_COMMENT:"Este comentario procede dun ficheiro de Word importado.",LEAVE_COMMENT_ANNOUNCEMENT:"","Marked as resolved":"Marcado como solucionado",NUMBER_OF_COMMENTS:["%0 comentario","%0 comentarios"],PENDING_ACTION_COMMENT_THREAD:"Cambio sen gardar no fío de comentarios.",Remove:"Retirar",Reopen:"Volver abrir",Reply:"Responder","Reply to reopen discussion...":"Responder para volver abrir a discusión...","Reply...":"Responder…",Resolve:"Solucionar",TOO_LONG_COMMENT_ALERT:"O contido dos comentarios é demasiado longo. O seu comentario ten %0 caracteres mais o límite é de %1 caracteres.","Write a comment...":"Escribir un comentario…"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const e=o.gl=o.gl||{};e.dictionary=Object.assign(e.dictionary||{},{Comment:"Comentario","Comment editor":"Editor de comentarios","Comment was made on an element":"Comentouse un elemento",COMMENTS_ARCHIVE:"Arquivo de comentarios","Delete comment thread?":"Eliminar o fío de comentarios?","Delete comment?":"Eliminar o comentario?",Edit:"Editar",EMPTY_COMMENTS_ARCHIVE:"Non hai fíos de comentarios arquivados.",ENTER_COMMENT_ANNOUNCEMENT:"Introducindo un comentario.",EXTERNAL_AVATAR:"O nome do autor amosado procede dunha fonte externa (engadido por %0)",EXTERNAL_COMMENT:"Este comentario procede dunha fonte externa.",EXTERNAL_IMPORT_WORD_AVATAR:"O nome do autor amosado procede dun documento de Word importado por %0",EXTERNAL_IMPORT_WORD_COMMENT:"Este comentario procede dun ficheiro de Word importado.",LEAVE_COMMENT_ANNOUNCEMENT:"Abandonando un comentario.","Marked as resolved":"Marcado como solucionado",NUMBER_OF_COMMENTS:["%0 comentario","%0 comentarios"],PENDING_ACTION_COMMENT_THREAD:"Cambio sen gardar no fío de comentarios.",Remove:"Retirar",Reopen:"Volver abrir",Reply:"Responder","Reply to reopen discussion...":"Responder para volver abrir a discusión...","Reply...":"Responder…",Resolve:"Solucionar",TOO_LONG_COMMENT_ALERT:"O contido dos comentarios é demasiado longo. O seu comentario ten %0 caracteres mais o límite é de %1 caracteres.","Write a comment...":"Escribir un comentario…"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(e){const o=e["sr-latn"]=e["sr-latn"]||{};o.dictionary=Object.assign(o.dictionary||{},{Comment:"Napomena","Comment editor":"Uređivač napomene","Comment was made on an element":"Komentar je dat na element",COMMENTS_ARCHIVE:"Arhiva komentara","Delete comment thread?":"Brišete nit napomene?","Delete comment?":"Brišete napomenu?",Edit:"Uredi",EMPTY_COMMENTS_ARCHIVE:"Nema arhiviranih niti komentara.",ENTER_COMMENT_ANNOUNCEMENT:"",EXTERNAL_AVATAR:"Prikazano ime autora potiče iz spoljnog izvora (dodao %0)",EXTERNAL_COMMENT:"Ovaj komentar dolazi iz spoljnog izvora.",EXTERNAL_IMPORT_WORD_AVATAR:"Prikazano ime autora potiče iz Word dokumenta uvezenog od strane %0",EXTERNAL_IMPORT_WORD_COMMENT:"Ovaj komentar dolazi iz uvezene Word datoteke.",LEAVE_COMMENT_ANNOUNCEMENT:"","Marked as resolved":"Označeno kao rešeno",NUMBER_OF_COMMENTS:["","",""],PENDING_ACTION_COMMENT_THREAD:"Nesačuvana promena u niti napomena.",Remove:"Odstrani",Reopen:"Ponovo otvori",Reply:"","Reply to reopen discussion...":"Odgovorite da ponovo otvorite diskusiju...","Reply...":"Odgovori",Resolve:"Rešiti",TOO_LONG_COMMENT_ALERT:"Napomena je dugačka. Sadrži %0 karaktera, ali maximalno je dozvoljeno %1 karaktera.","Write a comment...":"Napiši napomenu"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(e){const o=e["sr-latn"]=e["sr-latn"]||{};o.dictionary=Object.assign(o.dictionary||{},{Comment:"Napomena","Comment editor":"Uređivač napomene","Comment was made on an element":"Komentar je dat na element",COMMENTS_ARCHIVE:"Arhiva komentara","Delete comment thread?":"Brišete nit napomene?","Delete comment?":"Brišete napomenu?",Edit:"Uredi",EMPTY_COMMENTS_ARCHIVE:"Nema arhiviranih niti komentara.",ENTER_COMMENT_ANNOUNCEMENT:"Unošenje komentara.​",EXTERNAL_AVATAR:"Prikazano ime autora potiče iz spoljnog izvora (dodao %0)",EXTERNAL_COMMENT:"Ovaj komentar dolazi iz spoljnog izvora.",EXTERNAL_IMPORT_WORD_AVATAR:"Prikazano ime autora potiče iz Word dokumenta uvezenog od strane %0",EXTERNAL_IMPORT_WORD_COMMENT:"Ovaj komentar dolazi iz uvezene Word datoteke.",LEAVE_COMMENT_ANNOUNCEMENT:"Napuštanje komentara.","Marked as resolved":"Označeno kao rešeno",NUMBER_OF_COMMENTS:["","",""],PENDING_ACTION_COMMENT_THREAD:"Nesačuvana promena u niti napomena.",Remove:"Odstrani",Reopen:"Ponovo otvori",Reply:"Odgovori","Reply to reopen discussion...":"Odgovorite da ponovo otvorite diskusiju...","Reply...":"Odgovori",Resolve:"Rešiti",TOO_LONG_COMMENT_ALERT:"Napomena je dugačka. Sadrži %0 karaktera, ali maximalno je dozvoljeno %1 karaktera.","Write a comment...":"Napiši napomenu"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(E){const e=E.ug=E.ug||{};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:"كۆرۈنگەن يازغۇچىنىڭ ئىسمى %0 ئەكىرگەن Wordھۆججىتىدىن دىن كەلگەن",EXTERNAL_IMPORT_WORD_COMMENT:"بۇ ئىنكاس ئەكىرىلگەن Word ھۆججىتىدىن كەلگەن.",LEAVE_COMMENT_ANNOUNCEMENT:"","Marked as resolved":"",NUMBER_OF_COMMENTS:["%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.ug=E.ug||{};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:"كۆرۈنگەن يازغۇچىنىڭ ئىسمى %0 ئەكىرگەن Wordھۆججىتىدىن دىن كەلگەن",EXTERNAL_IMPORT_WORD_COMMENT:"بۇ ئىنكاس ئەكىرىلگەن Word ھۆججىتىدىن كەلگەن.",LEAVE_COMMENT_ANNOUNCEMENT:"ئىنكاستىن چىقىش.","Marked as resolved":"ھەل قىلىندى بەلگىسى سېلىنغان",NUMBER_OF_COMMENTS:["%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={}));
@@ -85,11 +85,11 @@ msgstr "Comentario"
85
85
 
86
86
  msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
87
87
  msgid "ENTER_COMMENT_ANNOUNCEMENT"
88
- msgstr ""
88
+ msgstr "Introducindo un comentario."
89
89
 
90
90
  msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
91
91
  msgid "LEAVE_COMMENT_ANNOUNCEMENT"
92
- msgstr ""
92
+ msgstr "Abandonando un comentario."
93
93
 
94
94
  msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
95
95
  msgid "PENDING_ACTION_COMMENT_THREAD"
@@ -66,7 +66,7 @@ msgstr "Odstrani"
66
66
 
67
67
  msgctxt "The label for for the button that adds a reply to a comment thread."
68
68
  msgid "Reply"
69
- msgstr ""
69
+ msgstr "Odgovori"
70
70
 
71
71
  msgctxt "The confirmation message shown after pressing the delete comment button."
72
72
  msgid "Delete comment?"
@@ -86,11 +86,11 @@ msgstr "Napomena"
86
86
 
87
87
  msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
88
88
  msgid "ENTER_COMMENT_ANNOUNCEMENT"
89
- msgstr ""
89
+ msgstr "Unošenje komentara.​"
90
90
 
91
91
  msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
92
92
  msgid "LEAVE_COMMENT_ANNOUNCEMENT"
93
- msgstr ""
93
+ msgstr "Napuštanje komentara."
94
94
 
95
95
  msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
96
96
  msgid "PENDING_ACTION_COMMENT_THREAD"
@@ -37,7 +37,7 @@ msgstr "جاۋاب..."
37
37
 
38
38
  msgctxt "The placeholder for the reply field when the comment thread is resolved."
39
39
  msgid "Reply to reopen discussion..."
40
- msgstr ""
40
+ msgstr "قايتا ئېچىلغان سۆزلىشىشكە ئىنكاس قايتۇرىدۇ…"
41
41
 
42
42
  msgctxt "The placeholder for the new commend field."
43
43
  msgid "Write a comment..."
@@ -45,7 +45,7 @@ msgstr "ئىنكاس يېزىش..."
45
45
 
46
46
  msgctxt "The information that comment was made on element and has no context"
47
47
  msgid "Comment was made on an element"
48
- msgstr ""
48
+ msgstr "ئېلېمېنتقا ئىنكاس يېزىلغان"
49
49
 
50
50
  msgctxt "The label for the button that enables editing a comment."
51
51
  msgid "Edit"
@@ -53,11 +53,11 @@ msgstr "تەھرىرلەش"
53
53
 
54
54
  msgctxt "The label for the button that resolves a comment thread."
55
55
  msgid "Resolve"
56
- msgstr ""
56
+ msgstr "ھەل قىل"
57
57
 
58
58
  msgctxt "The label for the button that reopens a resolved comment thread."
59
59
  msgid "Reopen"
60
- msgstr ""
60
+ msgstr "قايتا ئاچ"
61
61
 
62
62
  msgctxt "The label for the button that deletes a comment."
63
63
  msgid "Remove"
@@ -65,7 +65,7 @@ msgstr "چىقىرىۋېتىش"
65
65
 
66
66
  msgctxt "The label for for the button that adds a reply to a comment thread."
67
67
  msgid "Reply"
68
- msgstr ""
68
+ msgstr "جاۋاب"
69
69
 
70
70
  msgctxt "The confirmation message shown after pressing the delete comment button."
71
71
  msgid "Delete comment?"
@@ -77,7 +77,7 @@ msgstr "ئىنكاس باغلىمىنى ئۆچۈرەمسىز؟"
77
77
 
78
78
  msgctxt "A message informing that the comment has been resolved"
79
79
  msgid "Marked as resolved"
80
- msgstr ""
80
+ msgstr "ھەل قىلىندى بەلگىسى سېلىنغان"
81
81
 
82
82
  msgctxt "The tooltip for the comment toolbar button and the button that submits a comment thread."
83
83
  msgid "Comment"
@@ -85,11 +85,11 @@ msgstr "ئىنكاس"
85
85
 
86
86
  msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
87
87
  msgid "ENTER_COMMENT_ANNOUNCEMENT"
88
- msgstr ""
88
+ msgstr "ئىنكاسقا كىرىش."
89
89
 
90
90
  msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
91
91
  msgid "LEAVE_COMMENT_ANNOUNCEMENT"
92
- msgstr ""
92
+ msgstr "ئىنكاستىن چىقىش."
93
93
 
94
94
  msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
95
95
  msgid "PENDING_ACTION_COMMENT_THREAD"
@@ -113,8 +113,8 @@ msgstr "كۆرۈنگەن يازغۇچىنىڭ ئىسمى %0 ئەكىرگەن Wor
113
113
 
114
114
  msgctxt "The label for the comments archive dropdown UI."
115
115
  msgid "COMMENTS_ARCHIVE"
116
- msgstr ""
116
+ msgstr "ئىنكاس ئارخىپى"
117
117
 
118
118
  msgctxt "The information that comments archive is empty."
119
119
  msgid "EMPTY_COMMENTS_ARCHIVE"
120
- msgstr ""
120
+ msgstr "ئارخىپلانغان ھېچقانداق ئىنكاس يوق."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-comments",
3
- "version": "40.1.0",
3
+ "version": "40.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/)",
@@ -43,8 +43,8 @@
43
43
  "CHANGELOG.md"
44
44
  ],
45
45
  "dependencies": {
46
- "ckeditor5": "40.1.0",
47
- "ckeditor5-collaboration": "40.1.0",
46
+ "ckeditor5": "40.2.0",
47
+ "ckeditor5-collaboration": "40.2.0",
48
48
  "lodash-es": "4.17.21"
49
49
  },
50
50
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x161e=['destroy','function','isVisible','length','element','render','focusableElements','targetRect','stopListening','refreshVisibility','set','add','item','focusTracker','_id','isArray','isActive','target','_target','_type','annotation-invalid-target','_assertCorrectTarget','nodeType','view','remove','filter','mainView','_getNormalizedTarget'];(function(_0x5a265f,_0x161e6b){const _0x2379ad=function(_0x13434a){while(--_0x13434a){_0x5a265f['push'](_0x5a265f['shift']());}};_0x2379ad(++_0x161e6b);}(_0x161e,0x1df));const _0x2379=function(_0x5a265f,_0x161e6b){_0x5a265f=_0x5a265f-0x0;let _0x2379ad=_0x161e[_0x5a265f];return _0x2379ad;};import{CKEditorError as _0x4092ee,Rect as _0xe69619,Collection as _0x414cc6,ObservableMixin as _0x192c8e}from'ckeditor5/src/utils';export default class d extends _0x192c8e(){constructor({view:_0x512b73,target:_0x39dad0,type:_0x5d872c,isVisible:_0x14b077=!0x0}){super(),this['view']=_0x512b73,this[_0x2379('0x14')][_0x2379('0x1')]||this['view'][_0x2379('0x2')](),this[_0x2379('0x10')]=_0x5d872c,this['_target']=_0x39dad0,d[_0x2379('0x12')](this[_0x2379('0x18')]()),this[_0x2379('0x3')]=new _0x414cc6([this[_0x2379('0x14')][_0x2379('0x1')]],{'idProperty':_0x2379('0xb')}),this[_0x2379('0x3')]['on'](_0x2379('0x8'),(_0x56f234,_0x5dbac2)=>{this[_0x2379('0x14')][_0x2379('0xa')][_0x2379('0x8')](_0x5dbac2);}),this['focusableElements']['on'](_0x2379('0x15'),(_0x18923d,_0x38f72b)=>{this[_0x2379('0x14')][_0x2379('0xa')][_0x2379('0x15')](_0x38f72b);}),this[_0x2379('0x7')](_0x2379('0x1b'),_0x14b077);}get['type'](){return _0x2379('0x1a')==typeof this[_0x2379('0x10')]?this[_0x2379('0x10')]():this[_0x2379('0x10')];}get['innerView'](){return this[_0x2379('0x14')][_0x2379('0x17')];}get[_0x2379('0xe')](){const _0x2ed343=this[_0x2379('0x18')]();return d['_assertCorrectTarget'](_0x2ed343),_0x2ed343;}get[_0x2379('0x4')](){const _0x1814e4=this[_0x2379('0xe')];if(null===_0x1814e4)return null;if(_0x1814e4 instanceof _0xe69619)return _0x1814e4;const _0x441d7f=_0x1814e4[_0x2379('0x16')](_0x400be6=>function(_0x2b0838){const _0x517849=_0x2b0838['offsetParent'];if(_0x517849)return!0x0;const _0x11371a=_0x2b0838['getClientRects']()[_0x2379('0x9')](0x0);return!!_0x11371a;}(_0x400be6));return 0x0===_0x441d7f[_0x2379('0x0')]?null:new _0xe69619(_0x441d7f[0x0]['getClientRects']()[_0x2379('0x9')](0x0));}get[_0x2379('0xd')](){return this['view'][_0x2379('0xd')];}set['isActive'](_0x86960b){this[_0x2379('0x14')]['isActive']=_0x86960b,this[_0x2379('0x14')][_0x2379('0x17')][_0x2379('0xd')]=_0x86960b;}['updateTargetRect'](){this[_0x2379('0x14')]['targetRect']=this[_0x2379('0x4')];}[_0x2379('0x19')](){this[_0x2379('0x3')][_0x2379('0x5')](),this[_0x2379('0x3')]['clear'](),this[_0x2379('0x5')]();}[_0x2379('0x6')](){this[_0x2379('0x1b')]=!!this[_0x2379('0x4')];}static[_0x2379('0x12')](_0x4ff387){if(!(null===_0x4ff387||_0x4ff387 instanceof _0xe69619||Array[_0x2379('0xc')](_0x4ff387)&&_0x4ff387['every'](_0x9cbdca=>y(_0x9cbdca))))throw new _0x4092ee(_0x2379('0x11'),null,{'target':_0x4ff387});}[_0x2379('0x18')](){const _0x59b30d=_0x2379('0x1a')==typeof this['_target']?this[_0x2379('0xf')]():this['_target'];return y(_0x59b30d)?[_0x59b30d]:_0x59b30d;}}function y(_0x4541bc){return null!==_0x4541bc&&'object'==typeof _0x4541bc&&_0x2379('0x13')in _0x4541bc&&0x1===_0x4541bc[_0x2379('0x13')];}
23
+ const _0x2827=['_assertCorrectTarget','view','_id','targetRect','focusTracker','focusableElements','_type','add','getClientRects','set','type','isActive','target','item','nodeType','_target','refreshVisibility','annotation-invalid-target','innerView','clear','element','mainView','every','filter','function','object','render','_getNormalizedTarget'];(function(_0x32e621,_0x282778){const _0x5db835=function(_0x89c6f4){while(--_0x89c6f4){_0x32e621['push'](_0x32e621['shift']());}};_0x5db835(++_0x282778);}(_0x2827,0x13a));const _0x5db8=function(_0x32e621,_0x282778){_0x32e621=_0x32e621-0x0;let _0x5db835=_0x2827[_0x32e621];return _0x5db835;};import{CKEditorError as _0x56951b,Rect as _0x57d41d,Collection as _0x123d84,ObservableMixin as _0x2a9a26}from'ckeditor5/src/utils';export default class d extends _0x2a9a26(){constructor({view:_0x4bb367,target:_0x4a7122,type:_0x2282e5,isVisible:_0x313eb4=!0x0}){super(),this[_0x5db8('0x17')]=_0x4bb367,this[_0x5db8('0x17')]['element']||this[_0x5db8('0x17')][_0x5db8('0x14')](),this[_0x5db8('0x0')]=_0x2282e5,this[_0x5db8('0x9')]=_0x4a7122,d[_0x5db8('0x16')](this[_0x5db8('0x15')]()),this[_0x5db8('0x1b')]=new _0x123d84([this[_0x5db8('0x17')][_0x5db8('0xe')]],{'idProperty':_0x5db8('0x18')}),this[_0x5db8('0x1b')]['on']('add',(_0x14723f,_0x136925)=>{this[_0x5db8('0x17')][_0x5db8('0x1a')][_0x5db8('0x1')](_0x136925);}),this[_0x5db8('0x1b')]['on']('remove',(_0x5666cc,_0x443220)=>{this[_0x5db8('0x17')][_0x5db8('0x1a')]['remove'](_0x443220);}),this[_0x5db8('0x3')]('isVisible',_0x313eb4);}get[_0x5db8('0x4')](){return _0x5db8('0x12')==typeof this['_type']?this[_0x5db8('0x0')]():this[_0x5db8('0x0')];}get[_0x5db8('0xc')](){return this[_0x5db8('0x17')][_0x5db8('0xf')];}get[_0x5db8('0x6')](){const _0x1b4c21=this[_0x5db8('0x15')]();return d[_0x5db8('0x16')](_0x1b4c21),_0x1b4c21;}get[_0x5db8('0x19')](){const _0x3bbd0b=this[_0x5db8('0x6')];if(null===_0x3bbd0b)return null;if(_0x3bbd0b instanceof _0x57d41d)return _0x3bbd0b;const _0x1cb6af=_0x3bbd0b[_0x5db8('0x11')](_0x50280f=>function(_0x2b7f8b){const _0x32b9cb=_0x2b7f8b['offsetParent'];if(_0x32b9cb)return!0x0;const _0x563f74=_0x2b7f8b[_0x5db8('0x2')]()['item'](0x0);return!!_0x563f74;}(_0x50280f));return 0x0===_0x1cb6af['length']?null:new _0x57d41d(_0x1cb6af[0x0][_0x5db8('0x2')]()[_0x5db8('0x7')](0x0));}get[_0x5db8('0x5')](){return this['view'][_0x5db8('0x5')];}set[_0x5db8('0x5')](_0x2cef43){this[_0x5db8('0x17')][_0x5db8('0x5')]=_0x2cef43,this[_0x5db8('0x17')][_0x5db8('0xf')][_0x5db8('0x5')]=_0x2cef43;}['updateTargetRect'](){this[_0x5db8('0x17')][_0x5db8('0x19')]=this[_0x5db8('0x19')];}['destroy'](){this['focusableElements']['stopListening'](),this[_0x5db8('0x1b')][_0x5db8('0xd')](),this['stopListening']();}[_0x5db8('0xa')](){this['isVisible']=!!this[_0x5db8('0x19')];}static['_assertCorrectTarget'](_0x49ea84){if(!(null===_0x49ea84||_0x49ea84 instanceof _0x57d41d||Array['isArray'](_0x49ea84)&&_0x49ea84[_0x5db8('0x10')](_0x7767d0=>y(_0x7767d0))))throw new _0x56951b(_0x5db8('0xb'),null,{'target':_0x49ea84});}[_0x5db8('0x15')](){const _0x328f03=_0x5db8('0x12')==typeof this[_0x5db8('0x9')]?this['_target']():this['_target'];return y(_0x328f03)?[_0x328f03]:_0x328f03;}}function y(_0x5d533a){return null!==_0x5d533a&&_0x5db8('0x13')==typeof _0x5d533a&&_0x5db8('0x8')in _0x5d533a&&0x1===_0x5d533a[_0x5db8('0x8')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c1c=['fire','getByView','innerView','set','refreshPositioning','delete','from','getIndex','_innerViewToAnnotation','_getOrderInContent','left','annotationcollection-not-existing-item','stopListening','focusTracker','length','sort','get','_sort','remove','_viewToAnnotation','view','annotationcollection-duplicated-item','add','focusableElements','updateTargetRect','_focusTracker','change:isFocused','top','listenTo','blur','has','clear','isFocused','targetRect'];(function(_0x443c00,_0x1c1cae){const _0xcb4283=function(_0x2c84b0){while(--_0x2c84b0){_0x443c00['push'](_0x443c00['shift']());}};_0xcb4283(++_0x1c1cae);}(_0x1c1c,0x182));const _0xcb42=function(_0x443c00,_0x1c1cae){_0x443c00=_0x443c00-0x0;let _0xcb4283=_0x1c1c[_0x443c00];return _0xcb4283;};import{CKEditorError as _0x3bfe54,Collection as _0x304a37,FocusTracker as _0x41a0db}from'ckeditor5/src/utils';export default class x extends _0x304a37{constructor(_0x3a494e=[]){super(),this['_innerViewToAnnotation']=new Map(),this[_0xcb42('0x7')]=new Map(),this['_focusTracker']=new _0x41a0db(),this[_0xcb42('0xd')]['on'](_0xcb42('0xe'),(_0x563e11,_0x1e2ec5,_0x48d908)=>{_0x48d908||this[_0xcb42('0x16')](_0xcb42('0x11'));});for(const _0x58a9f4 of _0x3a494e)this[_0xcb42('0xa')](_0x58a9f4);}get[_0xcb42('0x14')](){return this[_0xcb42('0xd')][_0xcb42('0x14')];}[_0xcb42('0xa')](_0x162ff7){if(this[_0xcb42('0x12')](_0x162ff7))throw new _0x3bfe54(_0xcb42('0x9'),null);this[_0xcb42('0x1e')][_0xcb42('0x19')](_0x162ff7[_0xcb42('0x18')],_0x162ff7),this[_0xcb42('0x7')][_0xcb42('0x19')](_0x162ff7[_0xcb42('0x8')],_0x162ff7);for(const _0x16cae3 of _0x162ff7[_0xcb42('0xb')])this[_0xcb42('0xd')][_0xcb42('0xa')](_0x16cae3);this[_0xcb42('0x10')](_0x162ff7[_0xcb42('0xb')],_0xcb42('0xa'),(_0x2d9b0d,_0x466bf4)=>{this[_0xcb42('0xd')][_0xcb42('0xa')](_0x466bf4);}),this[_0xcb42('0x10')](_0x162ff7['focusableElements'],'remove',(_0x509400,_0xb4ca13)=>{this['_focusTracker'][_0xcb42('0x6')](_0xb4ca13);}),this[_0xcb42('0x10')](_0x162ff7[_0xcb42('0x8')]['focusTracker'],'change:isFocused',(_0x12e936,_0x1fc472,_0x13e4ff)=>{_0x13e4ff&&this[_0xcb42('0x16')]('focus',_0x162ff7);}),_0x162ff7[_0xcb42('0xc')]();const _0x34dffd=this[_0xcb42('0x1f')](_0x162ff7[_0xcb42('0x8')]['targetRect']);return super[_0xcb42('0xa')](_0x162ff7,_0x34dffd);}[_0xcb42('0x6')](_0x2fdfdf){if(!this[_0xcb42('0x12')](_0x2fdfdf))throw new _0x3bfe54(_0xcb42('0x21'),null);this[_0xcb42('0x0')](_0x2fdfdf[_0xcb42('0x8')][_0xcb42('0x1')]),this[_0xcb42('0x0')](_0x2fdfdf[_0xcb42('0xb')]);for(const _0x24785e of _0x2fdfdf[_0xcb42('0xb')])this[_0xcb42('0xd')]['remove'](_0x24785e);return this[_0xcb42('0x7')][_0xcb42('0x1b')](_0x2fdfdf[_0xcb42('0x8')]),this[_0xcb42('0x1e')][_0xcb42('0x1b')](_0x2fdfdf[_0xcb42('0x18')]),super['remove'](_0x2fdfdf);}['getByInnerView'](_0x47477d){return this['_innerViewToAnnotation'][_0xcb42('0x4')](_0x47477d);}[_0xcb42('0x17')](_0x3e6ea0){return this[_0xcb42('0x7')][_0xcb42('0x4')](_0x3e6ea0);}['destroy'](){super[_0xcb42('0x13')](),this[_0xcb42('0x0')](),this[_0xcb42('0x1e')]['clear'](),this[_0xcb42('0x7')][_0xcb42('0x13')](),this[_0xcb42('0xd')]['destroy']();}[_0xcb42('0x1a')](){for(const _0x16b08d of this)_0x16b08d[_0xcb42('0xc')]();this[_0xcb42('0x5')]();}[_0xcb42('0x5')](){const _0x54f767=Array[_0xcb42('0x1c')](this)[_0xcb42('0x3')]((_0x29ebf4,_0x4bb8fa)=>v(_0x29ebf4[_0xcb42('0x8')][_0xcb42('0x15')],_0x4bb8fa[_0xcb42('0x8')][_0xcb42('0x15')]));for(let _0x2c85dc=_0x54f767[_0xcb42('0x2')]-0x1;_0x2c85dc>0x0;_0x2c85dc--){const _0x1c9f27=_0x54f767[_0x2c85dc];_0x2c85dc!==this[_0xcb42('0x1d')](_0x1c9f27)&&(this[_0xcb42('0x6')](_0x1c9f27),this[_0xcb42('0xa')](_0x1c9f27));}}['_getOrderInContent'](_0x2ab955){let _0x4f7c7d=0x0;if(!_0x2ab955)return this[_0xcb42('0x2')];for(const _0x180f9c of this){const _0x24be7f=_0x180f9c[_0xcb42('0x8')][_0xcb42('0x15')];if(_0x24be7f){if(v(_0x2ab955,_0x24be7f)<0x0)return _0x4f7c7d;_0x4f7c7d++;}}return _0x4f7c7d;}}export function bindAnnotationCollections({source:_0x5353de,target:_0x4403f7,filter:_0x3f9b21}){for(const _0x330165 of _0x5353de)_0x3f9b21(_0x330165)&&_0x4403f7[_0xcb42('0xa')](_0x330165);_0x4403f7[_0xcb42('0x10')](_0x5353de,_0xcb42('0xa'),(_0x149eff,_0x40e1a9)=>{_0x3f9b21(_0x40e1a9)&&_0x4403f7[_0xcb42('0xa')](_0x40e1a9);}),_0x4403f7[_0xcb42('0x10')](_0x5353de,_0xcb42('0x6'),(_0x33f8c,_0x1503f1)=>{_0x4403f7[_0xcb42('0x12')](_0x1503f1)&&_0x4403f7[_0xcb42('0x6')](_0x1503f1);});}function v(_0x170a36,_0x565b6e){if(null===_0x170a36&&null===_0x565b6e)return 0x0;if(null===_0x170a36)return-0x1;if(null===_0x565b6e)return 0x1;const _0x376658=_0x170a36[_0xcb42('0xf')]-_0x565b6e['top'];return 0x0==_0x376658?_0x170a36[_0xcb42('0x20')]-_0x565b6e[_0xcb42('0x20')]:_0x376658;}
23
+ const _0xeae4=['get','delete','refreshPositioning','_innerViewToAnnotation','_getOrderInContent','clear','listenTo','top','focusableElements','focus','fire','change:isFocused','targetRect','from','sort','set','remove','updateTargetRect','annotationcollection-not-existing-item','annotationcollection-duplicated-item','focusTracker','getIndex','_viewToAnnotation','add','getByInnerView','view','stopListening','_focusTracker','left','_sort','innerView','has','getByView'];(function(_0x3498fb,_0xeae45){const _0x622b05=function(_0x4a5300){while(--_0x4a5300){_0x3498fb['push'](_0x3498fb['shift']());}};_0x622b05(++_0xeae45);}(_0xeae4,0x141));const _0x622b=function(_0x3498fb,_0xeae45){_0x3498fb=_0x3498fb-0x0;let _0x622b05=_0xeae4[_0x3498fb];return _0x622b05;};import{CKEditorError as _0x4ea0f4,Collection as _0x12ef79,FocusTracker as _0x5a5c5b}from'ckeditor5/src/utils';export default class x extends _0x12ef79{constructor(_0x242eb7=[]){super(),this[_0x622b('0xc')]=new Map(),this[_0x622b('0x1f')]=new Map(),this[_0x622b('0x3')]=new _0x5a5c5b(),this[_0x622b('0x3')]['on'](_0x622b('0x14'),(_0x3800ff,_0x418b68,_0x4a8730)=>{_0x4a8730||this[_0x622b('0x13')]('blur');});for(const _0x2adb40 of _0x242eb7)this['add'](_0x2adb40);}get['isFocused'](){return this[_0x622b('0x3')]['isFocused'];}['add'](_0x3bc7c9){if(this[_0x622b('0x7')](_0x3bc7c9))throw new _0x4ea0f4(_0x622b('0x1c'),null);this['_innerViewToAnnotation'][_0x622b('0x18')](_0x3bc7c9[_0x622b('0x6')],_0x3bc7c9),this['_viewToAnnotation']['set'](_0x3bc7c9[_0x622b('0x1')],_0x3bc7c9);for(const _0x3dbbfb of _0x3bc7c9[_0x622b('0x11')])this[_0x622b('0x3')][_0x622b('0x20')](_0x3dbbfb);this[_0x622b('0xf')](_0x3bc7c9['focusableElements'],_0x622b('0x20'),(_0x2edaa0,_0x3b1054)=>{this[_0x622b('0x3')][_0x622b('0x20')](_0x3b1054);}),this[_0x622b('0xf')](_0x3bc7c9[_0x622b('0x11')],_0x622b('0x19'),(_0x9ed0c2,_0x18d0a2)=>{this[_0x622b('0x3')][_0x622b('0x19')](_0x18d0a2);}),this[_0x622b('0xf')](_0x3bc7c9[_0x622b('0x1')][_0x622b('0x1d')],_0x622b('0x14'),(_0x4f0208,_0x56c407,_0x162447)=>{_0x162447&&this[_0x622b('0x13')](_0x622b('0x12'),_0x3bc7c9);}),_0x3bc7c9[_0x622b('0x1a')]();const _0x40401f=this[_0x622b('0xd')](_0x3bc7c9[_0x622b('0x1')][_0x622b('0x15')]);return super[_0x622b('0x20')](_0x3bc7c9,_0x40401f);}[_0x622b('0x19')](_0x16d788){if(!this[_0x622b('0x7')](_0x16d788))throw new _0x4ea0f4(_0x622b('0x1b'),null);this[_0x622b('0x2')](_0x16d788[_0x622b('0x1')]['focusTracker']),this[_0x622b('0x2')](_0x16d788[_0x622b('0x11')]);for(const _0x5a5579 of _0x16d788[_0x622b('0x11')])this[_0x622b('0x3')][_0x622b('0x19')](_0x5a5579);return this[_0x622b('0x1f')][_0x622b('0xa')](_0x16d788['view']),this['_innerViewToAnnotation']['delete'](_0x16d788['innerView']),super[_0x622b('0x19')](_0x16d788);}[_0x622b('0x0')](_0x3b516e){return this[_0x622b('0xc')][_0x622b('0x9')](_0x3b516e);}[_0x622b('0x8')](_0x1bbd9f){return this[_0x622b('0x1f')]['get'](_0x1bbd9f);}['destroy'](){super[_0x622b('0xe')](),this[_0x622b('0x2')](),this[_0x622b('0xc')][_0x622b('0xe')](),this[_0x622b('0x1f')][_0x622b('0xe')](),this[_0x622b('0x3')]['destroy']();}[_0x622b('0xb')](){for(const _0x8c7ca5 of this)_0x8c7ca5[_0x622b('0x1a')]();this['_sort']();}[_0x622b('0x5')](){const _0x4b1932=Array[_0x622b('0x16')](this)[_0x622b('0x17')]((_0x4fd253,_0x56dde1)=>v(_0x4fd253[_0x622b('0x1')][_0x622b('0x15')],_0x56dde1[_0x622b('0x1')][_0x622b('0x15')]));for(let _0x377f97=_0x4b1932['length']-0x1;_0x377f97>0x0;_0x377f97--){const _0x1e05ff=_0x4b1932[_0x377f97];_0x377f97!==this[_0x622b('0x1e')](_0x1e05ff)&&(this[_0x622b('0x19')](_0x1e05ff),this['add'](_0x1e05ff));}}[_0x622b('0xd')](_0x5d12fa){let _0x24f088=0x0;if(!_0x5d12fa)return this['length'];for(const _0x1f038f of this){const _0x238a10=_0x1f038f[_0x622b('0x1')]['targetRect'];if(_0x238a10){if(v(_0x5d12fa,_0x238a10)<0x0)return _0x24f088;_0x24f088++;}}return _0x24f088;}}export function bindAnnotationCollections({source:_0x2daed8,target:_0x1d8e22,filter:_0x46a926}){for(const _0x33a052 of _0x2daed8)_0x46a926(_0x33a052)&&_0x1d8e22[_0x622b('0x20')](_0x33a052);_0x1d8e22['listenTo'](_0x2daed8,'add',(_0x21393b,_0x336d78)=>{_0x46a926(_0x336d78)&&_0x1d8e22[_0x622b('0x20')](_0x336d78);}),_0x1d8e22[_0x622b('0xf')](_0x2daed8,_0x622b('0x19'),(_0x487618,_0x528be2)=>{_0x1d8e22[_0x622b('0x7')](_0x528be2)&&_0x1d8e22['remove'](_0x528be2);});}function v(_0x55f0c0,_0x1b12e6){if(null===_0x55f0c0&&null===_0x1b12e6)return 0x0;if(null===_0x55f0c0)return-0x1;if(null===_0x1b12e6)return 0x1;const _0x4f69ff=_0x55f0c0[_0x622b('0x10')]-_0x1b12e6[_0x622b('0x10')];return 0x0==_0x4f69ff?_0x55f0c0['left']-_0x1b12e6[_0x622b('0x4')]:_0x4f69ff;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1020=['add','stopListening','focusTracker','view','activate','pluginName','fire','activeAnnotations','refreshVisibility','_deactivateAllAnnotations','element','change:isVisible','isVisible','getByInnerView','destroy','source','refreshPositioning','delete','remove','createAnnotation','_activateAnnotation','collection','_removeActiveAnnotation','_addActiveAnnotation','set','createAnnotationView','listenTo','has','Annotations','_bindAnnotationsToVisibleAnnotations','_visibleAnnotations'];(function(_0xf0094a,_0x10205d){const _0x26df23=function(_0x14da1){while(--_0x14da1){_0xf0094a['push'](_0xf0094a['shift']());}};_0x26df23(++_0x10205d);}(_0x1020,0xa3));const _0x26df=function(_0xf0094a,_0x10205d){_0xf0094a=_0xf0094a-0x0;let _0x26df23=_0x1020[_0xf0094a];return _0x26df23;};import{ContextPlugin as _0x422129}from'ckeditor5/src/core';import _0x5aa74c from'./annotation';import _0x3c52f1 from'./annotationcollection';import _0x3b55d2 from'./view/annotationview';export default class b extends _0x422129{static get[_0x26df('0x1c')](){return _0x26df('0x14');}constructor(_0x294441){super(_0x294441),this[_0x26df('0xd')]=new _0x3c52f1(),this['_visibleAnnotations']=new _0x3c52f1(),this[_0x26df('0x10')](_0x26df('0x1e'),new Set()),this[_0x26df('0x15')]();}[_0x26df('0x17')](_0xa6a9b0){this[_0x26df('0xd')]['add'](_0xa6a9b0);}[_0x26df('0xa')](_0x4e9d92){this[_0x26df('0xd')][_0x26df('0xa')](_0x4e9d92),_0x4e9d92['destroy']();}['refreshVisibility'](){for(const _0x522fc4 of this['collection'])_0x522fc4[_0x26df('0x0')]();}[_0x26df('0x8')](){this[_0x26df('0x16')][_0x26df('0x8')]();}['getByInnerView'](_0x416020){return this[_0x26df('0xd')][_0x26df('0x5')](_0x416020);}['deactivateAll'](){this[_0x26df('0x1d')](_0x26df('0x1'));}[_0x26df('0x6')](){for(const _0x14821e of this[_0x26df('0xd')])_0x14821e[_0x26df('0x6')]();this['_visibleAnnotations'][_0x26df('0x6')](),this[_0x26df('0xd')][_0x26df('0x6')](),super[_0x26df('0x6')]();}[_0x26df('0x1b')](_0x259502){this['fire'](_0x26df('0xc'),_0x259502);}[_0x26df('0xb')](_0x26cdb5){return new _0x5aa74c(_0x26cdb5);}[_0x26df('0x11')](_0x128483,_0xa71a49){return new _0x3b55d2(_0x128483,_0xa71a49);}[_0x26df('0xf')](_0x2f3ca8){const _0x4ba131=new Set(this['activeAnnotations']);_0x4ba131[_0x26df('0x17')](_0x2f3ca8),this[_0x26df('0x1e')]=_0x4ba131;}[_0x26df('0xe')](_0xcedf5f){const _0x1f7ceb=new Set(this[_0x26df('0x1e')]);_0x1f7ceb[_0x26df('0x9')](_0xcedf5f),this[_0x26df('0x1e')]=_0x1f7ceb;}[_0x26df('0x15')](){const _0x35dece=this['collection'],_0x1babc0=this['_visibleAnnotations'];function _0x342878(_0x4fd65c){const _0x3e3f7c=_0x4fd65c[_0x26df('0x7')];_0x3e3f7c[_0x26df('0x4')]&&!_0x1babc0[_0x26df('0x13')](_0x3e3f7c)?_0x1babc0['add'](_0x3e3f7c):!_0x3e3f7c[_0x26df('0x4')]&&_0x1babc0[_0x26df('0x13')](_0x3e3f7c)&&_0x1babc0[_0x26df('0xa')](_0x3e3f7c),_0x3e3f7c[_0x26df('0x1a')][_0x26df('0x19')][_0x26df('0xa')](_0x3e3f7c['view'][_0x26df('0x2')]),_0x3e3f7c[_0x26df('0x1a')][_0x26df('0x19')]['add'](_0x3e3f7c[_0x26df('0x1a')][_0x26df('0x2')]);}this['listenTo'](_0x35dece,_0x26df('0x17'),(_0x302e39,_0x10f9c3)=>{_0x10f9c3[_0x26df('0x4')]&&_0x1babc0[_0x26df('0x17')](_0x10f9c3),this[_0x26df('0x12')](_0x10f9c3,'change:isVisible',_0x342878);}),this['listenTo'](_0x35dece,_0x26df('0xa'),(_0x32b0ff,_0x408062)=>{_0x1babc0[_0x26df('0x13')](_0x408062)&&_0x1babc0[_0x26df('0xa')](_0x408062),this[_0x26df('0x18')](_0x408062,_0x26df('0x3'),_0x342878);});}}
23
+ const _0x2fc5=['deactivateAll','createAnnotation','stopListening','activeAnnotations','_activateAnnotation','activate','collection','createAnnotationView','delete','set','destroy','_removeActiveAnnotation','element','isVisible','refreshPositioning','_deactivateAllAnnotations','pluginName','source','view','change:isVisible','_visibleAnnotations','remove','listenTo','_bindAnnotationsToVisibleAnnotations','getByInnerView','has','Annotations','fire','add'];(function(_0x2039ff,_0x2fc512){const _0x1005e3=function(_0x20aa12){while(--_0x20aa12){_0x2039ff['push'](_0x2039ff['shift']());}};_0x1005e3(++_0x2fc512);}(_0x2fc5,0xeb));const _0x1005=function(_0x2039ff,_0x2fc512){_0x2039ff=_0x2039ff-0x0;let _0x1005e3=_0x2fc5[_0x2039ff];return _0x1005e3;};import{ContextPlugin as _0x202184}from'ckeditor5/src/core';import _0x4db80b from'./annotation';import _0x46d8cf from'./annotationcollection';import _0x3dc909 from'./view/annotationview';export default class b extends _0x202184{static get[_0x1005('0xd')](){return _0x1005('0x17');}constructor(_0x5de84f){super(_0x5de84f),this[_0x1005('0x3')]=new _0x46d8cf(),this['_visibleAnnotations']=new _0x46d8cf(),this[_0x1005('0x6')](_0x1005('0x0'),new Set()),this[_0x1005('0x14')]();}[_0x1005('0x19')](_0x344d87){this[_0x1005('0x3')][_0x1005('0x19')](_0x344d87);}[_0x1005('0x12')](_0x52aa76){this['collection'][_0x1005('0x12')](_0x52aa76),_0x52aa76[_0x1005('0x7')]();}['refreshVisibility'](){for(const _0xf8e732 of this[_0x1005('0x3')])_0xf8e732['refreshVisibility']();}[_0x1005('0xb')](){this[_0x1005('0x11')]['refreshPositioning']();}[_0x1005('0x15')](_0x19c69e){return this[_0x1005('0x3')][_0x1005('0x15')](_0x19c69e);}[_0x1005('0x1a')](){this[_0x1005('0x18')](_0x1005('0xc'));}[_0x1005('0x7')](){for(const _0x2c9288 of this[_0x1005('0x3')])_0x2c9288['destroy']();this[_0x1005('0x11')][_0x1005('0x7')](),this[_0x1005('0x3')][_0x1005('0x7')](),super[_0x1005('0x7')]();}[_0x1005('0x2')](_0x20f666){this['fire'](_0x1005('0x1'),_0x20f666);}[_0x1005('0x1b')](_0x9d00ad){return new _0x4db80b(_0x9d00ad);}[_0x1005('0x4')](_0x105b98,_0x57df5c){return new _0x3dc909(_0x105b98,_0x57df5c);}['_addActiveAnnotation'](_0x4116e1){const _0x20ea4e=new Set(this['activeAnnotations']);_0x20ea4e[_0x1005('0x19')](_0x4116e1),this[_0x1005('0x0')]=_0x20ea4e;}[_0x1005('0x8')](_0x292139){const _0x1b0155=new Set(this[_0x1005('0x0')]);_0x1b0155[_0x1005('0x5')](_0x292139),this[_0x1005('0x0')]=_0x1b0155;}[_0x1005('0x14')](){const _0x5e66f7=this['collection'],_0x37a79f=this[_0x1005('0x11')];function _0xae28c4(_0x3b3cda){const _0x166e3e=_0x3b3cda[_0x1005('0xe')];_0x166e3e[_0x1005('0xa')]&&!_0x37a79f[_0x1005('0x16')](_0x166e3e)?_0x37a79f['add'](_0x166e3e):!_0x166e3e[_0x1005('0xa')]&&_0x37a79f[_0x1005('0x16')](_0x166e3e)&&_0x37a79f[_0x1005('0x12')](_0x166e3e),_0x166e3e[_0x1005('0xf')]['focusTracker'][_0x1005('0x12')](_0x166e3e['view'][_0x1005('0x9')]),_0x166e3e['view']['focusTracker']['add'](_0x166e3e[_0x1005('0xf')][_0x1005('0x9')]);}this['listenTo'](_0x5e66f7,_0x1005('0x19'),(_0x104dc4,_0x2ab8c5)=>{_0x2ab8c5[_0x1005('0xa')]&&_0x37a79f['add'](_0x2ab8c5),this[_0x1005('0x13')](_0x2ab8c5,'change:isVisible',_0xae28c4);}),this[_0x1005('0x13')](_0x5e66f7,_0x1005('0x12'),(_0x23d4da,_0x11a9d5)=>{_0x37a79f['has'](_0x11a9d5)&&_0x37a79f[_0x1005('0x12')](_0x11a9d5),this[_0x1005('0x1c')](_0x11a9d5,_0x1005('0x10'),_0xae28c4);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48f7=['_addActiveAnnotation','from','init','stopListening','annotationsuis-missing-ui','detach','annotationsuis-register-invalid-interface','has','annotationsuis-register-already-registered','refilterAnnotations','_setSelectedAnnotations','size','deactivate','length','requires','setActiveAnnotation','pluginName','hasActive','destroy','_uis','filter','activeUIs','activate','collection','_activateAnnotation','_assertAnnotationDoesNotBelongToMultipleUIs','isActive','add','_uisData','plugins','_visibleAnnotations','_removeActiveAnnotation','set','get','register','push','deactivateAll','function','activeAnnotations','AnnotationsUIs','context','delete','listenTo','switchTo','attach','change:activeAnnotation'];(function(_0x53c21a,_0x48f750){const _0x5b66d4=function(_0x5db456){while(--_0x5db456){_0x53c21a['push'](_0x53c21a['shift']());}};_0x5b66d4(++_0x48f750);}(_0x48f7,0x1c4));const _0x5b66=function(_0x53c21a,_0x48f750){_0x53c21a=_0x53c21a-0x0;let _0x5b66d4=_0x48f7[_0x53c21a];return _0x5b66d4;};import{ContextPlugin as _0x2af20a}from'ckeditor5/src/core';import{CKEditorError as _0x1b896c}from'ckeditor5/src/utils';import _0x2ae025,{bindAnnotationCollections as _0x29b1c6}from'./annotationcollection';import _0x48a389 from'./annotations';export default class M extends _0x2af20a{static get[_0x5b66('0x16')](){return[_0x48a389];}static get[_0x5b66('0x18')](){return _0x5b66('0x1');}constructor(_0x1b6391){super(_0x1b6391),this[_0x5b66('0x1d')]=new Set(),this[_0x5b66('0x1b')]=new Map(),this[_0x5b66('0x24')]=new Map();}[_0x5b66('0xa')](){const _0x5208ea=this[_0x5b66('0x2')][_0x5b66('0x25')]['get'](_0x48a389);this[_0x5b66('0x4')](_0x5208ea,_0x5b66('0x20'),(_0x56bedc,_0x3fa75f)=>{for(const _0x48eee3 of this[_0x5b66('0x1d')]){const _0xacca70=this[_0x5b66('0x1b')][_0x5b66('0x29')](_0x48eee3);(0x0,this[_0x5b66('0x24')][_0x5b66('0x29')](_0x48eee3)[_0x5b66('0x1c')])(_0x3fa75f)&&_0xacca70[_0x5b66('0x17')](_0x3fa75f);}}),this[_0x5b66('0x4')](_0x5208ea,'_deactivateAllAnnotations',()=>{for(const _0x23d6fb of this[_0x5b66('0x1d')]){this[_0x5b66('0x1b')][_0x5b66('0x29')](_0x23d6fb)[_0x5b66('0x17')](null);}}),this[_0x5b66('0x4')](_0x5208ea[_0x5b66('0x26')],_0x5b66('0x23'),(_0x44ae5a,_0x22c549)=>{this[_0x5b66('0x21')](_0x22c549);});}[_0x5b66('0x19')](){return this[_0x5b66('0x1d')][_0x5b66('0x13')]>0x0;}[_0x5b66('0x22')](_0x2bcc6c){return this[_0x5b66('0x1d')]['has'](_0x2bcc6c);}['activate'](_0x4fdd2c,_0x134e91=()=>!0x0){const _0x257303=this[_0x5b66('0x2')][_0x5b66('0x25')][_0x5b66('0x29')](_0x48a389);if(!this['_uis'][_0x5b66('0xf')](_0x4fdd2c))throw new _0x1b896c(_0x5b66('0xc'),this,{'uiName':_0x4fdd2c});this[_0x5b66('0x22')](_0x4fdd2c)&&this[_0x5b66('0x14')](_0x4fdd2c),this[_0x5b66('0x1d')]['add'](_0x4fdd2c);const _0xf9c135=new _0x2ae025(),_0x4d7e74=_0x257303['_visibleAnnotations'];_0x29b1c6({'source':_0x4d7e74,'target':_0xf9c135,'filter':_0x134e91}),this['_uisData'][_0x5b66('0x28')](_0x4fdd2c,{'collection':_0xf9c135,'filter':_0x134e91});const _0x188e9a=this[_0x5b66('0x1b')][_0x5b66('0x29')](_0x4fdd2c);_0x188e9a[_0x5b66('0x6')](_0xf9c135),this['listenTo'](_0x188e9a,_0x5b66('0x7'),(_0x30a0ae,_0xd3c332,_0x46d218,_0x1c149d)=>{_0x1c149d&&_0x257303[_0x5b66('0x27')](_0x1c149d),_0x46d218&&_0x257303[_0x5b66('0x8')](_0x46d218);});}[_0x5b66('0x14')](_0x1caf5c){if(this[_0x5b66('0x1d')]['delete'](_0x1caf5c),!this[_0x5b66('0x1b')]['has'](_0x1caf5c))throw new _0x1b896c(_0x5b66('0xc'),this,{'uiName':_0x1caf5c});const _0x5be2c0=this[_0x5b66('0x1b')][_0x5b66('0x29')](_0x1caf5c);_0x5be2c0[_0x5b66('0xd')](),this[_0x5b66('0xb')](_0x5be2c0),this['_uisData'][_0x5b66('0x29')](_0x1caf5c)[_0x5b66('0x1f')]['destroy'](),this['_uisData'][_0x5b66('0x3')](_0x1caf5c);}[_0x5b66('0x5')](_0x2a4c4a){if(!this['_uis'][_0x5b66('0xf')](_0x2a4c4a))throw new _0x1b896c(_0x5b66('0xc'),this,{'uiName':_0x2a4c4a});const _0x91250b=this[_0x5b66('0x2')][_0x5b66('0x25')][_0x5b66('0x29')](_0x48a389),_0x748d59=Array[_0x5b66('0x9')](_0x91250b[_0x5b66('0x0')])[0x0]||null;this[_0x5b66('0x2c')](),this[_0x5b66('0x1e')](_0x2a4c4a);const _0x238cef=this[_0x5b66('0x1b')][_0x5b66('0x29')](_0x2a4c4a);_0x238cef['setActiveAnnotation'](_0x748d59),_0x238cef['_setSelectedAnnotations']&&_0x748d59&&_0x238cef[_0x5b66('0x12')]([_0x748d59]);}['deactivateAll'](){for(const _0x5db296 of this[_0x5b66('0x1d')])this[_0x5b66('0x14')](_0x5db296);}[_0x5b66('0x2a')](_0x1b53b0,_0x321df4){if(this[_0x5b66('0x1b')][_0x5b66('0xf')](_0x1b53b0))throw new _0x1b896c(_0x5b66('0x10'));if(_0x5b66('0x2d')!=typeof _0x321df4['attach']||'function'!=typeof _0x321df4['detach']||'function'!=typeof _0x321df4[_0x5b66('0x17')])throw new _0x1b896c(_0x5b66('0xe'),null);this['_uis'][_0x5b66('0x28')](_0x1b53b0,_0x321df4);}[_0x5b66('0x11')](){const _0x4503e3=this[_0x5b66('0x2')][_0x5b66('0x25')][_0x5b66('0x29')](_0x48a389)[_0x5b66('0x1f')],_0x4ae021=new Map(),_0x3ad206=Array[_0x5b66('0x9')](this['activeUIs']);for(const _0x159424 of this[_0x5b66('0x1d')]){const _0x2015d4=this[_0x5b66('0x24')][_0x5b66('0x29')](_0x159424)[_0x5b66('0x1f')];for(const _0x5b5996 of _0x2015d4)_0x4ae021['set'](_0x5b5996,_0x159424);}for(const _0x312ee2 of _0x4503e3){const _0x3a0e31=_0x4ae021[_0x5b66('0x29')](_0x312ee2);this[_0x5b66('0x21')](_0x312ee2);const _0x381d81=_0x3ad206['find'](_0xcc91e3=>this[_0x5b66('0x24')][_0x5b66('0x29')](_0xcc91e3)[_0x5b66('0x1c')](_0x312ee2));_0x3a0e31!==_0x381d81&&(_0x3a0e31&&this[_0x5b66('0x24')][_0x5b66('0x29')](_0x3a0e31)[_0x5b66('0x1f')]['remove'](_0x312ee2),_0x381d81&&this['_uisData']['get'](_0x381d81)['collection']['add'](_0x312ee2));}}['destroy'](){this[_0x5b66('0x2c')](),super[_0x5b66('0x1a')]();}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x1a582c){const _0x1a67ad=[];for(const _0x56da07 of this[_0x5b66('0x1d')]){(0x0,this[_0x5b66('0x24')][_0x5b66('0x29')](_0x56da07)[_0x5b66('0x1c')])(_0x1a582c)&&_0x1a67ad[_0x5b66('0x2b')](_0x56da07);}if(_0x1a67ad[_0x5b66('0x15')]>0x1)throw new _0x1b896c('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x1a67ad,'annotationType':_0x1a582c['type']});}}
23
+ const _0x2076=['_setSelectedAnnotations','_assertAnnotationDoesNotBelongToMultipleUIs','_activateAnnotation','_visibleAnnotations','listenTo','_removeActiveAnnotation','plugins','hasActive','set','register','remove','deactivate','context','deactivateAll','add','find','annotationsuis-register-already-registered','pluginName','from','attach','collection','has','filter','stopListening','init','setActiveAnnotation','destroy','get','push','_addActiveAnnotation','activate','activeAnnotations','_uis','isActive','annotationsuis-missing-ui','requires','function','delete','annotationsuis-register-invalid-interface','activeUIs','_uisData','_deactivateAllAnnotations'];(function(_0x476c1a,_0x207600){const _0x16f5c3=function(_0x1424ba){while(--_0x1424ba){_0x476c1a['push'](_0x476c1a['shift']());}};_0x16f5c3(++_0x207600);}(_0x2076,0x190));const _0x16f5=function(_0x476c1a,_0x207600){_0x476c1a=_0x476c1a-0x0;let _0x16f5c3=_0x2076[_0x476c1a];return _0x16f5c3;};import{ContextPlugin as _0x4c9eb0}from'ckeditor5/src/core';import{CKEditorError as _0x2ae167}from'ckeditor5/src/utils';import _0x36d090,{bindAnnotationCollections as _0x1f5955}from'./annotationcollection';import _0x3b2825 from'./annotations';export default class M extends _0x4c9eb0{static get[_0x16f5('0xd')](){return[_0x3b2825];}static get[_0x16f5('0x25')](){return'AnnotationsUIs';}constructor(_0x3e8dc5){super(_0x3e8dc5),this[_0x16f5('0x11')]=new Set(),this[_0x16f5('0xa')]=new Map(),this['_uisData']=new Map();}[_0x16f5('0x2')](){const _0x2118ca=this[_0x16f5('0x20')][_0x16f5('0x1a')]['get'](_0x3b2825);this[_0x16f5('0x18')](_0x2118ca,_0x16f5('0x16'),(_0xc7e654,_0x4b4914)=>{for(const _0x59ac6d of this[_0x16f5('0x11')]){const _0x7b1499=this[_0x16f5('0xa')]['get'](_0x59ac6d);(0x0,this['_uisData'][_0x16f5('0x5')](_0x59ac6d)[_0x16f5('0x0')])(_0x4b4914)&&_0x7b1499[_0x16f5('0x3')](_0x4b4914);}}),this[_0x16f5('0x18')](_0x2118ca,_0x16f5('0x13'),()=>{for(const _0x3d2064 of this['activeUIs']){this[_0x16f5('0xa')][_0x16f5('0x5')](_0x3d2064)[_0x16f5('0x3')](null);}}),this[_0x16f5('0x18')](_0x2118ca['_visibleAnnotations'],_0x16f5('0x22'),(_0x1b73ce,_0x1b33d1)=>{this[_0x16f5('0x15')](_0x1b33d1);});}[_0x16f5('0x1b')](){return this[_0x16f5('0x11')]['size']>0x0;}[_0x16f5('0xb')](_0x27db33){return this[_0x16f5('0x11')]['has'](_0x27db33);}[_0x16f5('0x8')](_0x107b56,_0x557b8a=()=>!0x0){const _0x477195=this[_0x16f5('0x20')][_0x16f5('0x1a')][_0x16f5('0x5')](_0x3b2825);if(!this[_0x16f5('0xa')][_0x16f5('0x29')](_0x107b56))throw new _0x2ae167(_0x16f5('0xc'),this,{'uiName':_0x107b56});this[_0x16f5('0xb')](_0x107b56)&&this[_0x16f5('0x1f')](_0x107b56),this[_0x16f5('0x11')][_0x16f5('0x22')](_0x107b56);const _0x23e808=new _0x36d090(),_0x2f3229=_0x477195[_0x16f5('0x17')];_0x1f5955({'source':_0x2f3229,'target':_0x23e808,'filter':_0x557b8a}),this[_0x16f5('0x12')]['set'](_0x107b56,{'collection':_0x23e808,'filter':_0x557b8a});const _0xf3e33f=this[_0x16f5('0xa')][_0x16f5('0x5')](_0x107b56);_0xf3e33f[_0x16f5('0x27')](_0x23e808),this[_0x16f5('0x18')](_0xf3e33f,'change:activeAnnotation',(_0x5a4bfe,_0x36c8e6,_0x40f9dc,_0x29a559)=>{_0x29a559&&_0x477195[_0x16f5('0x19')](_0x29a559),_0x40f9dc&&_0x477195[_0x16f5('0x7')](_0x40f9dc);});}[_0x16f5('0x1f')](_0x576242){if(this[_0x16f5('0x11')][_0x16f5('0xf')](_0x576242),!this[_0x16f5('0xa')][_0x16f5('0x29')](_0x576242))throw new _0x2ae167(_0x16f5('0xc'),this,{'uiName':_0x576242});const _0x38dc25=this[_0x16f5('0xa')][_0x16f5('0x5')](_0x576242);_0x38dc25['detach'](),this[_0x16f5('0x1')](_0x38dc25),this[_0x16f5('0x12')][_0x16f5('0x5')](_0x576242)[_0x16f5('0x28')][_0x16f5('0x4')](),this[_0x16f5('0x12')]['delete'](_0x576242);}['switchTo'](_0x1c42cf){if(!this[_0x16f5('0xa')][_0x16f5('0x29')](_0x1c42cf))throw new _0x2ae167(_0x16f5('0xc'),this,{'uiName':_0x1c42cf});const _0x10ce7c=this[_0x16f5('0x20')][_0x16f5('0x1a')][_0x16f5('0x5')](_0x3b2825),_0x5ccabf=Array[_0x16f5('0x26')](_0x10ce7c[_0x16f5('0x9')])[0x0]||null;this[_0x16f5('0x21')](),this[_0x16f5('0x8')](_0x1c42cf);const _0x57f0ed=this[_0x16f5('0xa')]['get'](_0x1c42cf);_0x57f0ed[_0x16f5('0x3')](_0x5ccabf),_0x57f0ed['_setSelectedAnnotations']&&_0x5ccabf&&_0x57f0ed[_0x16f5('0x14')]([_0x5ccabf]);}['deactivateAll'](){for(const _0x3d22a2 of this[_0x16f5('0x11')])this[_0x16f5('0x1f')](_0x3d22a2);}[_0x16f5('0x1d')](_0x1eb696,_0x3ebee6){if(this['_uis']['has'](_0x1eb696))throw new _0x2ae167(_0x16f5('0x24'));if(_0x16f5('0xe')!=typeof _0x3ebee6[_0x16f5('0x27')]||_0x16f5('0xe')!=typeof _0x3ebee6['detach']||_0x16f5('0xe')!=typeof _0x3ebee6[_0x16f5('0x3')])throw new _0x2ae167(_0x16f5('0x10'),null);this[_0x16f5('0xa')]['set'](_0x1eb696,_0x3ebee6);}['refilterAnnotations'](){const _0x48277e=this['context']['plugins'][_0x16f5('0x5')](_0x3b2825)['collection'],_0x4b6f8f=new Map(),_0x1e53c1=Array[_0x16f5('0x26')](this[_0x16f5('0x11')]);for(const _0xf9063c of this[_0x16f5('0x11')]){const _0x434469=this[_0x16f5('0x12')][_0x16f5('0x5')](_0xf9063c)['collection'];for(const _0xb19017 of _0x434469)_0x4b6f8f[_0x16f5('0x1c')](_0xb19017,_0xf9063c);}for(const _0x3869fc of _0x48277e){const _0x3aff8e=_0x4b6f8f[_0x16f5('0x5')](_0x3869fc);this[_0x16f5('0x15')](_0x3869fc);const _0x3b5c86=_0x1e53c1[_0x16f5('0x23')](_0x3b96e5=>this[_0x16f5('0x12')][_0x16f5('0x5')](_0x3b96e5)[_0x16f5('0x0')](_0x3869fc));_0x3aff8e!==_0x3b5c86&&(_0x3aff8e&&this[_0x16f5('0x12')][_0x16f5('0x5')](_0x3aff8e)[_0x16f5('0x28')][_0x16f5('0x1e')](_0x3869fc),_0x3b5c86&&this['_uisData'][_0x16f5('0x5')](_0x3b5c86)[_0x16f5('0x28')]['add'](_0x3869fc));}}[_0x16f5('0x4')](){this[_0x16f5('0x21')](),super['destroy']();}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0xef212e){const _0x4c4487=[];for(const _0xf8334d of this['activeUIs']){(0x0,this['_uisData'][_0x16f5('0x5')](_0xf8334d)[_0x16f5('0x0')])(_0xef212e)&&_0x4c4487[_0x16f5('0x6')](_0xf8334d);}if(_0x4c4487['length']>0x1)throw new _0x2ae167('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x4c4487,'annotationType':_0xef212e['type']});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55ca=['add','isEqual','_editorAnnotationsData','_editorAnnotations','containsRange','EditorAnnotations','get','set','remove','collection','fire','element','cancel','requires','init','plugins','selection','blur','editorannotations-invalid-source-callback','document','push','editing','directChange','view','model','editor','pluginName','from','has','sort','change:isFocused','hasDomSelection','addSourceCollector','registerAnnotation','isReadOnly','_dataCollectors','listenTo','getRanges','update','focusTracker','uiUpdate','change:range','function','range','refreshSelectedViews','refresh','annotation','innerView','getOrderedSelectedAnnotations'];(function(_0x1d8972,_0x55ca5f){const _0x506895=function(_0x3a1464){while(--_0x3a1464){_0x1d8972['push'](_0x1d8972['shift']());}};_0x506895(++_0x55ca5f);}(_0x55ca,0xe0));const _0x5068=function(_0x1d8972,_0x55ca5f){_0x1d8972=_0x1d8972-0x0;let _0x506895=_0x55ca[_0x1d8972];return _0x506895;};import{Plugin as _0x494aa4}from'ckeditor5/src/core';import{CKEditorError as _0x574ef8}from'ckeditor5/src/utils';import{debounce as _0x5e5713}from'lodash-es';import _0x5a0592 from'./annotations';export default class k extends _0x494aa4{static get[_0x5068('0x22')](){return[_0x5a0592];}static get[_0x5068('0x2f')](){return _0x5068('0x1a');}constructor(_0x294844){super(_0x294844),this['_dataCollectors']=new Set(),this[_0x5068('0x18')]=new Set();}[_0x5068('0x23')](){const _0x3a87d7=this[_0x5068('0x2e')],_0x67d997=_0x3a87d7[_0x5068('0x2d')][_0x5068('0x28')][_0x5068('0x25')],_0x102272=_0x5e5713(()=>this[_0x5068('0x10')](),0xa);_0x67d997['on'](_0x5068('0xd'),(_0x42e52f,_0x54ddb5)=>{_0x54ddb5[_0x5068('0x2b')]&&(_0x102272[_0x5068('0x21')](),this[_0x5068('0x10')]());}),this[_0x5068('0x8')](_0x3a87d7['editing']['view'][_0x5068('0x28')],_0x5068('0x2'),(_0x3b0b98,_0x1dc498,_0x4b03af)=>{_0x4b03af&&_0x102272();}),this[_0x5068('0x8')](_0x3a87d7['ui'][_0x5068('0xb')],'change:isFocused',(_0x58219a,_0x9b9043,_0x276a94)=>{_0x276a94||_0x3a87d7[_0x5068('0x6')]||this[_0x5068('0x1f')](_0x5068('0x26'),{'isAnnotationTracked':_0x147be0=>this[_0x5068('0x17')]['has'](_0x147be0[_0x5068('0x13')])});}),this['listenTo'](this[_0x5068('0x2e')]['ui'],_0x5068('0xa'),()=>this[_0x5068('0x1f')](_0x5068('0xc')));}[_0x5068('0x5')](_0x17d613){if(this['_editorAnnotations'][_0x5068('0x0')](_0x17d613[_0x5068('0x2c')]))return;this[_0x5068('0x18')][_0x5068('0x15')](_0x17d613['view']),this[_0x5068('0x2e')]['ui']['focusTracker'][_0x5068('0x15')](_0x17d613[_0x5068('0x2c')][_0x5068('0x20')]);const _0x4b6fa0=this[_0x5068('0x2e')][_0x5068('0x24')][_0x5068('0x1b')](_0x5a0592);this['listenTo'](_0x4b6fa0[_0x5068('0x1e')],_0x5068('0x1d'),(_0x426107,_0xea02a4)=>{this[_0x5068('0x2e')]['ui'][_0x5068('0xb')]['remove'](_0xea02a4[_0x5068('0x2c')][_0x5068('0x20')]),this[_0x5068('0x18')]['delete'](_0xea02a4[_0x5068('0x2c')]);});}[_0x5068('0x3')](){return this[_0x5068('0x2e')][_0x5068('0x2a')][_0x5068('0x2c')][_0x5068('0x3')];}[_0x5068('0x4')](_0x5e90d7){if(_0x5068('0xe')!=typeof _0x5e90d7)throw new _0x574ef8(_0x5068('0x27'));this['_dataCollectors']['add'](_0x5e90d7);}[_0x5068('0x10')](){this[_0x5068('0x1f')](_0x5068('0x11'));}[_0x5068('0x14')]({activeAnnotation:_0x3c0759,annotations:_0x32868f}){const _0x3d96c1=[],_0xd7e5ee=this[_0x5068('0x2e')]['model'][_0x5068('0x28')]['selection'],_0x217538=Array[_0x5068('0x30')](_0xd7e5ee[_0x5068('0x9')]());for(const [_0x26504f,_0x443548]of this['_editorAnnotationsData']){const _0x15ba55=_0x1f01ab(_0x443548),_0x189d1e=_0x32868f['getByInnerView'](_0x26504f);_0x15ba55&&_0x189d1e&&_0x3d96c1[_0x5068('0x29')]({'annotation':_0x189d1e,'range':_0x15ba55});}function _0x1f01ab(_0x4e4fc4){for(const _0xaa08ad of _0x4e4fc4)for(const _0x596e0d of _0x217538)if(_0xaa08ad[_0x5068('0x19')](_0x596e0d,!_0xd7e5ee['isCollapsed']))return _0xaa08ad;return null;}return _0x3d96c1[_0x5068('0x1')]((_0x33e197,_0x5da3c0)=>{const _0x3ffea0=_0x33e197[_0x5068('0xf')],_0xc8467a=_0x5da3c0[_0x5068('0xf')];if(!_0x3ffea0[_0x5068('0x16')](_0xc8467a)){if(_0x3ffea0[_0x5068('0x19')](_0xc8467a,!0x0))return 0x1;if(_0xc8467a[_0x5068('0x19')](_0x3ffea0,!0x0))return-0x1;}return _0x33e197[_0x5068('0x12')]==_0x3c0759?-0x1:_0x5da3c0[_0x5068('0x12')]==_0x3c0759?0x1:0x0;})['map'](_0x4c8eac=>_0x4c8eac['annotation']);}get[_0x5068('0x17')](){const _0x225a8d=new Map();for(const _0x396057 of Array[_0x5068('0x30')](this[_0x5068('0x7')]))for(const [_0x19ec01,_0x3df459]of _0x396057())_0x225a8d[_0x5068('0x1c')](_0x19ec01,_0x3df459);return _0x225a8d;}}
23
+ const _0x374c=['EditorAnnotations','_dataCollectors','innerView','sort','delete','annotation','init','isEqual','refresh','directChange','refreshSelectedViews','containsRange','uiUpdate','_editorAnnotations','selection','isCollapsed','map','model','addSourceCollector','has','function','listenTo','push','fire','_editorAnnotationsData','update','hasDomSelection','element','from','view','plugins','document','getOrderedSelectedAnnotations','cancel','set','get','editor','remove','blur','range','getRanges','focusTracker','registerAnnotation','add','change:range','editorannotations-invalid-source-callback','requires','editing'];(function(_0x482da0,_0x374c2a){const _0x320ba5=function(_0x3bd760){while(--_0x3bd760){_0x482da0['push'](_0x482da0['shift']());}};_0x320ba5(++_0x374c2a);}(_0x374c,0x193));const _0x320b=function(_0x482da0,_0x374c2a){_0x482da0=_0x482da0-0x0;let _0x320ba5=_0x374c[_0x482da0];return _0x320ba5;};import{Plugin as _0x5ba1d1}from'ckeditor5/src/core';import{CKEditorError as _0x1a5e54}from'ckeditor5/src/utils';import{debounce as _0x1ca270}from'lodash-es';import _0x591021 from'./annotations';export default class k extends _0x5ba1d1{static get[_0x320b('0x1b')](){return[_0x591021];}static get['pluginName'](){return _0x320b('0x1d');}constructor(_0x14f6bd){super(_0x14f6bd),this[_0x320b('0x1e')]=new Set(),this['_editorAnnotations']=new Set();}[_0x320b('0x23')](){const _0x3a3c61=this[_0x320b('0x11')],_0x278278=_0x3a3c61['model'][_0x320b('0xc')][_0x320b('0x2b')],_0x1ac8bf=_0x1ca270(()=>this[_0x320b('0x27')](),0xa);_0x278278['on'](_0x320b('0x19'),(_0x90a0d,_0x103352)=>{_0x103352[_0x320b('0x26')]&&(_0x1ac8bf[_0x320b('0xe')](),this[_0x320b('0x27')]());}),this['listenTo'](_0x3a3c61[_0x320b('0x1c')][_0x320b('0xa')]['document'],'change:isFocused',(_0x25e9e7,_0x29592e,_0x54381e)=>{_0x54381e&&_0x1ac8bf();}),this[_0x320b('0x2')](_0x3a3c61['ui'][_0x320b('0x16')],'change:isFocused',(_0x455b2d,_0x1c55dc,_0x52db03)=>{_0x52db03||_0x3a3c61['isReadOnly']||this[_0x320b('0x4')](_0x320b('0x13'),{'isAnnotationTracked':_0x5abafd=>this[_0x320b('0x5')]['has'](_0x5abafd[_0x320b('0x1f')])});}),this[_0x320b('0x2')](this[_0x320b('0x11')]['ui'],_0x320b('0x6'),()=>this[_0x320b('0x4')](_0x320b('0x29')));}[_0x320b('0x17')](_0x426fca){if(this[_0x320b('0x2a')][_0x320b('0x0')](_0x426fca['view']))return;this['_editorAnnotations'][_0x320b('0x18')](_0x426fca[_0x320b('0xa')]),this['editor']['ui'][_0x320b('0x16')][_0x320b('0x18')](_0x426fca[_0x320b('0xa')][_0x320b('0x8')]);const _0x23f0fa=this[_0x320b('0x11')][_0x320b('0xb')][_0x320b('0x10')](_0x591021);this[_0x320b('0x2')](_0x23f0fa['collection'],_0x320b('0x12'),(_0x4df9e3,_0x56f468)=>{this['editor']['ui'][_0x320b('0x16')][_0x320b('0x12')](_0x56f468[_0x320b('0xa')][_0x320b('0x8')]),this[_0x320b('0x2a')][_0x320b('0x21')](_0x56f468['view']);});}['hasDomSelection'](){return this['editor'][_0x320b('0x1c')][_0x320b('0xa')][_0x320b('0x7')];}[_0x320b('0x2f')](_0x17d7db){if(_0x320b('0x1')!=typeof _0x17d7db)throw new _0x1a5e54(_0x320b('0x1a'));this[_0x320b('0x1e')][_0x320b('0x18')](_0x17d7db);}[_0x320b('0x27')](){this['fire'](_0x320b('0x25'));}[_0x320b('0xd')]({activeAnnotation:_0x28303,annotations:_0x19f41e}){const _0xf79a3c=[],_0x2690b9=this[_0x320b('0x11')][_0x320b('0x2e')]['document'][_0x320b('0x2b')],_0x54330d=Array[_0x320b('0x9')](_0x2690b9[_0x320b('0x15')]());for(const [_0x4e68ef,_0x50954b]of this[_0x320b('0x5')]){const _0x3b40f2=_0x3fb158(_0x50954b),_0x442969=_0x19f41e['getByInnerView'](_0x4e68ef);_0x3b40f2&&_0x442969&&_0xf79a3c[_0x320b('0x3')]({'annotation':_0x442969,'range':_0x3b40f2});}function _0x3fb158(_0x5f12ac){for(const _0x449a28 of _0x5f12ac)for(const _0x48b5bf of _0x54330d)if(_0x449a28[_0x320b('0x28')](_0x48b5bf,!_0x2690b9[_0x320b('0x2c')]))return _0x449a28;return null;}return _0xf79a3c[_0x320b('0x20')]((_0x30d1b3,_0x7ba02d)=>{const _0x7aec88=_0x30d1b3['range'],_0x144bc5=_0x7ba02d[_0x320b('0x14')];if(!_0x7aec88[_0x320b('0x24')](_0x144bc5)){if(_0x7aec88[_0x320b('0x28')](_0x144bc5,!0x0))return 0x1;if(_0x144bc5[_0x320b('0x28')](_0x7aec88,!0x0))return-0x1;}return _0x30d1b3[_0x320b('0x22')]==_0x28303?-0x1:_0x7ba02d[_0x320b('0x22')]==_0x28303?0x1:0x0;})[_0x320b('0x2d')](_0x1956e7=>_0x1956e7[_0x320b('0x22')]);}get['_editorAnnotationsData'](){const _0x4afad9=new Map();for(const _0x24be49 of Array[_0x320b('0x9')](this['_dataCollectors']))for(const [_0x51b928,_0x3b481c]of _0x24be49())_0x4afad9[_0x320b('0xf')](_0x51b928,_0x3b481c);return _0x4afad9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x460b=['selection','keystrokes','_addAnnotationToBalloon','remove','viewRangeToDom','InlineAnnotations','getBoundingClientRect','annotations','afterInit','_getBalloonTargetForAnnotation','fromRect','destroy','domConverter','activeAnnotation','document','push','_setSelectedAnnotations','bottom','refresh','isAttached','_selectedAnnotations','focus','getByView','top','listenTo','editing','has','mousedown','editor','set','context','target','add','_balloon','visibleView','width','getOrderedSelectedAnnotations','length','delete','hasView','every','inlineannotations-detach-not-attached','right','stopListening','switchTo','addObserver','includes','targetRect','_forceRefresh','collapse','focusTracker','update','_addedAnnotations','inlineannotations-attach-already-attached','inline','Esc','left','plugins','_removeAnnotationFromBalloon','hasActive','requires','detach','editableElement','get','blur','register','find','_manuallyClosed','setActiveAnnotation','view','isFocused','updatePosition','_closeAnnotation'];(function(_0x47b0fb,_0x460ba2){const _0x19329b=function(_0x3f7242){while(--_0x3f7242){_0x47b0fb['push'](_0x47b0fb['shift']());}};_0x19329b(++_0x460ba2);}(_0x460b,0x191));const _0x1932=function(_0x47b0fb,_0x460ba2){_0x47b0fb=_0x47b0fb-0x0;let _0x19329b=_0x460b[_0x47b0fb];return _0x19329b;};import{Plugin as _0x5f5477}from'ckeditor5/src/core';import _0x58bf6b from'./annotationsuis';import _0x51e298 from'./editorannotations';import{ContextualBalloon as _0xbea3de}from'ckeditor5/src/ui';import{MouseObserver as _0x11a2b8}from'ckeditor5/src/engine';import{CKEditorError as _0x1413c2,Rect as _0x3c79b9}from'ckeditor5/src/utils';import'./../../theme/annotation-inline.css';export default class c extends _0x5f5477{static get[_0x1932('0x18')](){return[_0x51e298,_0xbea3de,_0x58bf6b];}static get['pluginName'](){return _0x1932('0x2a');}constructor(_0x1fd89b){super(_0x1fd89b),_0x1fd89b[_0x1932('0x3e')][_0x1932('0x21')][_0x1932('0x9')](_0x11a2b8),this[_0x1932('0x38')]=!0x1,this[_0x1932('0x42')](_0x1932('0x32'),null),this[_0x1932('0x2c')]=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x1fd89b[_0x1932('0x15')][_0x1932('0x1b')](_0xbea3de),this['_addedAnnotations']=new Set(),this[_0x1932('0x39')]=[],this[_0x1932('0xc')]=!0x1;}['init'](){const _0x393eb8=this[_0x1932('0x41')][_0x1932('0x15')][_0x1932('0x1b')](_0x58bf6b);_0x393eb8[_0x1932('0x43')]===this[_0x1932('0x41')]&&(_0x393eb8[_0x1932('0x1d')](_0x1932('0x12'),this),this[_0x1932('0x41')][_0x1932('0x26')][_0x1932('0x42')](_0x1932('0x13'),(_0x14b9e5,_0x5ecdee)=>{const _0x229371=this[_0x1932('0x46')];if(this[_0x1932('0x38')]&&_0x229371['visibleView']){const _0x23b949=this[_0x1932('0x2c')][_0x1932('0x3b')](_0x229371[_0x1932('0x47')]);_0x23b949&&this[_0x1932('0x24')](_0x23b949),_0x5ecdee();}}));}[_0x1932('0x2d')](){const _0x1deff1=this[_0x1932('0x41')][_0x1932('0x15')][_0x1932('0x1b')](_0x58bf6b);_0x1deff1['context']===this[_0x1932('0x41')]&&(_0x1deff1[_0x1932('0x17')]()||_0x1deff1[_0x1932('0x8')](_0x1932('0x12')));}['setActiveAnnotation'](_0x27cfb8){_0x27cfb8!==this[_0x1932('0x32')]&&(this[_0x1932('0x32')]&&(this[_0x1932('0x32')]['isActive']=!0x1),_0x27cfb8&&this[_0x1932('0x41')]['ui']['focusTracker'][_0x1932('0x22')]&&(this[_0x1932('0x2c')][_0x1932('0x3f')](_0x27cfb8)&&this[_0x1932('0x27')](_0x27cfb8,!0x0),_0x27cfb8['isActive']=!0x0),_0x27cfb8||this[_0x1932('0x35')]([]),this['activeAnnotation']=_0x27cfb8);}['attach'](_0x1bbcfe){this['annotations']=_0x1bbcfe;const _0x46cf03=this[_0x1932('0x41')][_0x1932('0x15')][_0x1932('0x1b')](_0x58bf6b),_0xb0c872=this['_balloon'];if(this['isAttached'])throw new _0x1413c2(_0x1932('0x11'),this);if(_0x46cf03['context']!==this[_0x1932('0x41')])throw new _0x1413c2('inlineannotations-not-allowed-with-context',this);const _0x338d48=this[_0x1932('0x41')]['plugins'][_0x1932('0x1b')](_0x51e298);this[_0x1932('0x3d')](_0x338d48,_0x1932('0x37'),()=>{const _0xc0cf56=_0x338d48[_0x1932('0x0')]({'annotations':this[_0x1932('0x2c')],'activeAnnotation':this[_0x1932('0x32')]});var _0x492d9a,_0x995e4a;!this[_0x1932('0xc')]&&(_0x492d9a=_0xc0cf56,_0x995e4a=this[_0x1932('0x39')],_0x492d9a[_0x1932('0x1')]===_0x995e4a[_0x1932('0x1')]&&_0x492d9a[_0x1932('0x4')](_0x118edf=>_0x995e4a[_0x1932('0xa')](_0x118edf)))||(this[_0x1932('0xc')]=!0x1,this[_0x1932('0x35')](_0xc0cf56),this[_0x1932('0x20')](_0xc0cf56[0x0]||null));}),this[_0x1932('0x3d')](_0x338d48,_0x1932('0x1c'),(_0x564b33,{isAnnotationTracked:_0x2ff8f9})=>{this[_0x1932('0x32')]&&_0x2ff8f9(this[_0x1932('0x32')])&&(this[_0x1932('0x35')]([]),this[_0x1932('0x20')](null));}),this[_0x1932('0x3d')](this[_0x1932('0x41')]['ui'][_0x1932('0xe')],'change:isFocused',(_0x324814,_0x393276,_0x20d599)=>{_0x20d599||this[_0x1932('0x20')](null);}),this[_0x1932('0x3d')](_0x1bbcfe,_0x1932('0x28'),(_0x2bf089,_0x1b497d)=>{this[_0x1932('0x16')](_0x1b497d),_0x1b497d===this['activeAnnotation']&&this[_0x1932('0x20')](null);}),this[_0x1932('0x3d')](_0xb0c872,'change:visibleView',(_0xf1940f,_0x2c7877,_0x5671b3,_0x506ad5)=>{_0x506ad5&&this[_0x1932('0x7')](_0x506ad5);const _0x3f67a3=_0x1bbcfe[_0x1932('0x3b')](_0x5671b3);_0x5671b3&&_0x3f67a3&&(this['listenTo'](_0x5671b3,'change:height',()=>{_0xb0c872[_0x1932('0x23')]();}),this[_0x1932('0x3d')](_0x5671b3,_0x1932('0x13'),()=>{this[_0x1932('0x24')](_0x3f67a3),this[_0x1932('0x41')][_0x1932('0x3e')][_0x1932('0x21')][_0x1932('0x3a')]();}),this['activeAnnotation']!==_0x3f67a3&&this[_0x1932('0x20')](_0x3f67a3));}),this[_0x1932('0x3d')](this[_0x1932('0x41')]['ui'],_0x1932('0xf'),()=>{_0xb0c872[_0x1932('0x47')]&&(_0x1bbcfe[_0x1932('0x3b')](_0xb0c872[_0x1932('0x47')])&&_0xb0c872[_0x1932('0x23')]());}),this[_0x1932('0x3d')](this[_0x1932('0x41')][_0x1932('0x3e')][_0x1932('0x21')][_0x1932('0x33')],_0x1932('0x40'),()=>{this['_forceRefresh']=!0x0,this[_0x1932('0x1f')]['clear']();}),this[_0x1932('0x41')][_0x1932('0x3e')]['view'][_0x1932('0x33')]['selection'][_0x1932('0x1a')]&&this[_0x1932('0x41')]['editing'][_0x1932('0x21')][_0x1932('0x3a')](),this['isAttached']=!0x0;}[_0x1932('0x19')](){if(!this['isAttached'])throw new _0x1413c2(_0x1932('0x5'),this);this[_0x1932('0x20')](null);for(const _0xff2e51 of this['_addedAnnotations'])this[_0x1932('0x16')](_0xff2e51);this['stopListening'](),this['isAttached']=!0x1,this[_0x1932('0x2c')]=null;}[_0x1932('0x30')](){this[_0x1932('0x38')]&&this[_0x1932('0x19')]();}[_0x1932('0x35')](_0x508724){for(const _0x597b51 of this['_selectedAnnotations'])_0x508724[_0x1932('0xa')](_0x597b51)||this[_0x1932('0x1f')][_0x1932('0x2')](_0x597b51);for(const _0x5818fd of this[_0x1932('0x2c')])_0x508724[_0x1932('0xa')](_0x5818fd)||this[_0x1932('0x16')](_0x5818fd);if(this[_0x1932('0x41')]['ui'][_0x1932('0xe')][_0x1932('0x22')])for(const _0x76d6ab of _0x508724)this[_0x1932('0x27')](_0x76d6ab);this[_0x1932('0x39')]=_0x508724;}[_0x1932('0x27')](_0x212ad7,_0x500ec4=!0x1){this[_0x1932('0x1f')]['has'](_0x212ad7)||(this[_0x1932('0x10')][_0x1932('0x3f')](_0x212ad7)||this['_balloon'][_0x1932('0x3')](_0x212ad7[_0x1932('0x21')])||(this['_addedAnnotations'][_0x1932('0x45')](_0x212ad7),this['_balloon']['add']({'stackId':_0x212ad7[_0x1932('0x21')]['id'],'view':_0x212ad7[_0x1932('0x21')],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x212ad7)}})),_0x500ec4&&this[_0x1932('0x46')]['showStack'](_0x212ad7['view']['id']));}[_0x1932('0x2e')](_0xeb4113){const _0x5989ed=_0xeb4113[_0x1932('0x44')],_0x33a599=this[_0x1932('0x41')]['editing'][_0x1932('0x21')],_0x3bbe19=_0x33a599[_0x1932('0x33')][_0x1932('0x25')]['getFirstRange'](),_0x5b2617=_0x33a599[_0x1932('0x31')][_0x1932('0x29')](_0x3bbe19);if(_0x5b2617[_0x1932('0xd')](!0x0),_0x5989ed){if(_0x5989ed instanceof _0x3c79b9)return _0x5989ed;let _0x59452d=[];for(const _0x30f5a5 of _0x5989ed)_0x59452d['push'](...(_0x4d30a2=_0x30f5a5['getClientRects'](),Array['from'](_0x4d30a2)['map'](DOMRect[_0x1932('0x2f')])));_0x59452d=function(_0x54ac46){const _0x214f10=[];let _0x2f553b=_0x54ac46[0x0];for(let _0x2d9ce4=0x1;_0x2d9ce4<_0x54ac46[_0x1932('0x1')];_0x2d9ce4++)F(_0x2f553b,_0x54ac46[_0x2d9ce4])?_0x2f553b[_0x1932('0x48')]+=_0x54ac46[_0x2d9ce4][_0x1932('0x48')]:(_0x214f10[_0x1932('0x34')](_0x2f553b),_0x2f553b=_0x54ac46[_0x2d9ce4]);return _0x214f10[_0x1932('0x34')](_0x2f553b),_0x214f10;}(_0x59452d);const _0x11e42e=_0x5b2617[_0x1932('0x2b')]();return _0x59452d[_0x1932('0x1e')](_0x521b0c=>_0x521b0c['top']<=_0x11e42e[_0x1932('0x3c')]&&_0x521b0c['bottom']>=_0x11e42e[_0x1932('0x36')]&&_0x521b0c[_0x1932('0x14')]<=_0x11e42e[_0x1932('0x14')]&&_0x521b0c[_0x1932('0x6')]>=_0x11e42e[_0x1932('0x6')])||_0x59452d[0x0];}var _0x4d30a2;return _0xeb4113[_0x1932('0xb')]||_0x5b2617;}[_0x1932('0x16')](_0x33441e){this[_0x1932('0x10')]['has'](_0x33441e)&&this[_0x1932('0x46')][_0x1932('0x3')](_0x33441e[_0x1932('0x21')])&&(this[_0x1932('0x10')][_0x1932('0x2')](_0x33441e),this[_0x1932('0x46')][_0x1932('0x28')](_0x33441e[_0x1932('0x21')]));}[_0x1932('0x24')](_0x224d1e){this[_0x1932('0x1f')][_0x1932('0x45')](_0x224d1e),this[_0x1932('0x16')](_0x224d1e);}}function F(_0x4f83e8,_0x582743){return _0x4f83e8[_0x1932('0x3c')]===_0x582743[_0x1932('0x3c')]&&_0x4f83e8[_0x1932('0x36')]===_0x582743[_0x1932('0x36')]&&_0x4f83e8[_0x1932('0x6')]===_0x582743[_0x1932('0x14')];}
23
+ const _0x3590=['keystrokes','editing','domConverter','refresh','annotations','activeAnnotation','clear','_setSelectedAnnotations','setActiveAnnotation','set','find','switchTo','selection','pluginName','length','editableElement','getFirstRange','includes','_getBalloonTargetForAnnotation','left','_closeAnnotation','_selectedAnnotations','listenTo','getByView','fromRect','isFocused','change:height','every','targetRect','has','focusTracker','inlineannotations-attach-already-attached','requires','_manuallyClosed','collapse','remove','target','attach','document','init','right','focus','blur','_forceRefresh','updatePosition','plugins','register','add','_addedAnnotations','InlineAnnotations','visibleView','push','update','Esc','getOrderedSelectedAnnotations','delete','get','inline','destroy','view','top','detach','getBoundingClientRect','width','inlineannotations-not-allowed-with-context','inlineannotations-detach-not-attached','afterInit','change:visibleView','_addAnnotationToBalloon','bottom','context','isAttached','hasActive','editor','hasView','isActive','stopListening','_removeAnnotationFromBalloon','_balloon'];(function(_0x4cdc3e,_0x3590a0){const _0x1b184d=function(_0x2cd4bd){while(--_0x2cd4bd){_0x4cdc3e['push'](_0x4cdc3e['shift']());}};_0x1b184d(++_0x3590a0);}(_0x3590,0x1a7));const _0x1b18=function(_0x4cdc3e,_0x3590a0){_0x4cdc3e=_0x4cdc3e-0x0;let _0x1b184d=_0x3590[_0x4cdc3e];return _0x1b184d;};import{Plugin as _0x27bcc6}from'ckeditor5/src/core';import _0x51c007 from'./annotationsuis';import _0x2bd586 from'./editorannotations';import{ContextualBalloon as _0x30d8cc}from'ckeditor5/src/ui';import{MouseObserver as _0x4b5a78}from'ckeditor5/src/engine';import{CKEditorError as _0x2b22e0,Rect as _0x369551}from'ckeditor5/src/utils';import'./../../theme/annotation-inline.css';export default class c extends _0x27bcc6{static get[_0x1b18('0x4')](){return[_0x2bd586,_0x30d8cc,_0x51c007];}static get[_0x1b18('0x40')](){return _0x1b18('0x15');}constructor(_0x49940b){super(_0x49940b),_0x49940b[_0x1b18('0x34')][_0x1b18('0x1f')]['addObserver'](_0x4b5a78),this[_0x1b18('0x2b')]=!0x1,this[_0x1b18('0x3c')](_0x1b18('0x38'),null),this[_0x1b18('0x37')]=null,this['_manuallyClosed']=new Set(),this[_0x1b18('0x32')]=_0x49940b[_0x1b18('0x11')][_0x1b18('0x1c')](_0x30d8cc),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1;}[_0x1b18('0xb')](){const _0x441251=this[_0x1b18('0x2d')][_0x1b18('0x11')][_0x1b18('0x1c')](_0x51c007);_0x441251[_0x1b18('0x2a')]===this[_0x1b18('0x2d')]&&(_0x441251[_0x1b18('0x12')]('inline',this),this['editor'][_0x1b18('0x33')]['set'](_0x1b18('0x19'),(_0xc15a5c,_0xe1b553)=>{const _0x2689d3=this[_0x1b18('0x32')];if(this[_0x1b18('0x2b')]&&_0x2689d3[_0x1b18('0x16')]){const _0x1ecb31=this[_0x1b18('0x37')][_0x1b18('0x4a')](_0x2689d3[_0x1b18('0x16')]);_0x1ecb31&&this[_0x1b18('0x47')](_0x1ecb31),_0xe1b553();}}));}[_0x1b18('0x26')](){const _0x47686f=this['editor'][_0x1b18('0x11')][_0x1b18('0x1c')](_0x51c007);_0x47686f['context']===this[_0x1b18('0x2d')]&&(_0x47686f[_0x1b18('0x2c')]()||_0x47686f[_0x1b18('0x3e')](_0x1b18('0x1d')));}[_0x1b18('0x3b')](_0x21d0e1){_0x21d0e1!==this['activeAnnotation']&&(this[_0x1b18('0x38')]&&(this['activeAnnotation'][_0x1b18('0x2f')]=!0x1),_0x21d0e1&&this[_0x1b18('0x2d')]['ui'][_0x1b18('0x2')][_0x1b18('0x4c')]&&(this[_0x1b18('0x37')][_0x1b18('0x1')](_0x21d0e1)&&this[_0x1b18('0x28')](_0x21d0e1,!0x0),_0x21d0e1[_0x1b18('0x2f')]=!0x0),_0x21d0e1||this[_0x1b18('0x3a')]([]),this['activeAnnotation']=_0x21d0e1);}[_0x1b18('0x9')](_0x906d44){this[_0x1b18('0x37')]=_0x906d44;const _0x297406=this[_0x1b18('0x2d')][_0x1b18('0x11')]['get'](_0x51c007),_0x564dca=this[_0x1b18('0x32')];if(this[_0x1b18('0x2b')])throw new _0x2b22e0(_0x1b18('0x3'),this);if(_0x297406[_0x1b18('0x2a')]!==this['editor'])throw new _0x2b22e0(_0x1b18('0x24'),this);const _0x591107=this[_0x1b18('0x2d')][_0x1b18('0x11')]['get'](_0x2bd586);this['listenTo'](_0x591107,_0x1b18('0x36'),()=>{const _0x214acc=_0x591107[_0x1b18('0x1a')]({'annotations':this['annotations'],'activeAnnotation':this[_0x1b18('0x38')]});var _0x272b3e,_0x4d74a0;!this['_forceRefresh']&&(_0x272b3e=_0x214acc,_0x4d74a0=this['_selectedAnnotations'],_0x272b3e[_0x1b18('0x41')]===_0x4d74a0[_0x1b18('0x41')]&&_0x272b3e[_0x1b18('0x4e')](_0x23ca19=>_0x4d74a0[_0x1b18('0x44')](_0x23ca19)))||(this[_0x1b18('0xf')]=!0x1,this[_0x1b18('0x3a')](_0x214acc),this[_0x1b18('0x3b')](_0x214acc[0x0]||null));}),this['listenTo'](_0x591107,_0x1b18('0xe'),(_0x7f77f5,{isAnnotationTracked:_0x352aa7})=>{this[_0x1b18('0x38')]&&_0x352aa7(this[_0x1b18('0x38')])&&(this[_0x1b18('0x3a')]([]),this[_0x1b18('0x3b')](null));}),this[_0x1b18('0x49')](this[_0x1b18('0x2d')]['ui']['focusTracker'],'change:isFocused',(_0x3012c2,_0x30cd2b,_0x95c32e)=>{_0x95c32e||this[_0x1b18('0x3b')](null);}),this['listenTo'](_0x906d44,_0x1b18('0x7'),(_0x112ffc,_0x145b9d)=>{this[_0x1b18('0x31')](_0x145b9d),_0x145b9d===this[_0x1b18('0x38')]&&this['setActiveAnnotation'](null);}),this[_0x1b18('0x49')](_0x564dca,_0x1b18('0x27'),(_0x54cff4,_0x5150d4,_0xb8c947,_0x5c195d)=>{_0x5c195d&&this[_0x1b18('0x30')](_0x5c195d);const _0x1d8422=_0x906d44[_0x1b18('0x4a')](_0xb8c947);_0xb8c947&&_0x1d8422&&(this['listenTo'](_0xb8c947,_0x1b18('0x4d'),()=>{_0x564dca[_0x1b18('0x10')]();}),this['listenTo'](_0xb8c947,_0x1b18('0x19'),()=>{this[_0x1b18('0x47')](_0x1d8422),this[_0x1b18('0x2d')][_0x1b18('0x34')][_0x1b18('0x1f')]['focus']();}),this[_0x1b18('0x38')]!==_0x1d8422&&this['setActiveAnnotation'](_0x1d8422));}),this['listenTo'](this[_0x1b18('0x2d')]['ui'],_0x1b18('0x18'),()=>{_0x564dca[_0x1b18('0x16')]&&(_0x906d44['getByView'](_0x564dca['visibleView'])&&_0x564dca[_0x1b18('0x10')]());}),this[_0x1b18('0x49')](this[_0x1b18('0x2d')][_0x1b18('0x34')]['view']['document'],'mousedown',()=>{this['_forceRefresh']=!0x0,this['_manuallyClosed'][_0x1b18('0x39')]();}),this[_0x1b18('0x2d')][_0x1b18('0x34')][_0x1b18('0x1f')][_0x1b18('0xa')][_0x1b18('0x3f')][_0x1b18('0x42')]&&this['editor'][_0x1b18('0x34')]['view'][_0x1b18('0xd')](),this[_0x1b18('0x2b')]=!0x0;}[_0x1b18('0x21')](){if(!this[_0x1b18('0x2b')])throw new _0x2b22e0(_0x1b18('0x25'),this);this['setActiveAnnotation'](null);for(const _0x7e50b9 of this['_addedAnnotations'])this[_0x1b18('0x31')](_0x7e50b9);this[_0x1b18('0x30')](),this['isAttached']=!0x1,this[_0x1b18('0x37')]=null;}[_0x1b18('0x1e')](){this['isAttached']&&this[_0x1b18('0x21')]();}[_0x1b18('0x3a')](_0x412cd8){for(const _0x1189e0 of this[_0x1b18('0x48')])_0x412cd8['includes'](_0x1189e0)||this[_0x1b18('0x5')][_0x1b18('0x1b')](_0x1189e0);for(const _0x191caa of this[_0x1b18('0x37')])_0x412cd8[_0x1b18('0x44')](_0x191caa)||this[_0x1b18('0x31')](_0x191caa);if(this['editor']['ui']['focusTracker'][_0x1b18('0x4c')])for(const _0x316e23 of _0x412cd8)this[_0x1b18('0x28')](_0x316e23);this['_selectedAnnotations']=_0x412cd8;}[_0x1b18('0x28')](_0x29c971,_0x55827c=!0x1){this['_manuallyClosed'][_0x1b18('0x1')](_0x29c971)||(this[_0x1b18('0x14')]['has'](_0x29c971)||this[_0x1b18('0x32')]['hasView'](_0x29c971[_0x1b18('0x1f')])||(this['_addedAnnotations'][_0x1b18('0x13')](_0x29c971),this[_0x1b18('0x32')]['add']({'stackId':_0x29c971[_0x1b18('0x1f')]['id'],'view':_0x29c971[_0x1b18('0x1f')],'position':{'target':()=>this[_0x1b18('0x45')](_0x29c971)}})),_0x55827c&&this[_0x1b18('0x32')]['showStack'](_0x29c971['view']['id']));}['_getBalloonTargetForAnnotation'](_0x183787){const _0x45dfb7=_0x183787[_0x1b18('0x8')],_0x31159f=this[_0x1b18('0x2d')]['editing'][_0x1b18('0x1f')],_0x1cacb8=_0x31159f[_0x1b18('0xa')]['selection'][_0x1b18('0x43')](),_0x4a9bb6=_0x31159f[_0x1b18('0x35')]['viewRangeToDom'](_0x1cacb8);if(_0x4a9bb6[_0x1b18('0x6')](!0x0),_0x45dfb7){if(_0x45dfb7 instanceof _0x369551)return _0x45dfb7;let _0x2d527c=[];for(const _0x2f0107 of _0x45dfb7)_0x2d527c[_0x1b18('0x17')](...(_0xb84257=_0x2f0107['getClientRects'](),Array['from'](_0xb84257)['map'](DOMRect[_0x1b18('0x4b')])));_0x2d527c=function(_0x47e7b5){const _0x20012a=[];let _0xe3faa3=_0x47e7b5[0x0];for(let _0x2a1888=0x1;_0x2a1888<_0x47e7b5['length'];_0x2a1888++)F(_0xe3faa3,_0x47e7b5[_0x2a1888])?_0xe3faa3[_0x1b18('0x23')]+=_0x47e7b5[_0x2a1888][_0x1b18('0x23')]:(_0x20012a[_0x1b18('0x17')](_0xe3faa3),_0xe3faa3=_0x47e7b5[_0x2a1888]);return _0x20012a[_0x1b18('0x17')](_0xe3faa3),_0x20012a;}(_0x2d527c);const _0x538bf8=_0x4a9bb6[_0x1b18('0x22')]();return _0x2d527c[_0x1b18('0x3d')](_0x49ddc0=>_0x49ddc0[_0x1b18('0x20')]<=_0x538bf8[_0x1b18('0x20')]&&_0x49ddc0['bottom']>=_0x538bf8[_0x1b18('0x29')]&&_0x49ddc0['left']<=_0x538bf8['left']&&_0x49ddc0[_0x1b18('0xc')]>=_0x538bf8[_0x1b18('0xc')])||_0x2d527c[0x0];}var _0xb84257;return _0x183787[_0x1b18('0x0')]||_0x4a9bb6;}[_0x1b18('0x31')](_0x3dc7bd){this[_0x1b18('0x14')]['has'](_0x3dc7bd)&&this[_0x1b18('0x32')][_0x1b18('0x2e')](_0x3dc7bd[_0x1b18('0x1f')])&&(this[_0x1b18('0x14')][_0x1b18('0x1b')](_0x3dc7bd),this[_0x1b18('0x32')]['remove'](_0x3dc7bd[_0x1b18('0x1f')]));}[_0x1b18('0x47')](_0x2fd039){this[_0x1b18('0x5')][_0x1b18('0x13')](_0x2fd039),this[_0x1b18('0x31')](_0x2fd039);}}function F(_0x588b82,_0x332738){return _0x588b82['top']===_0x332738[_0x1b18('0x20')]&&_0x588b82[_0x1b18('0x29')]===_0x332738[_0x1b18('0x29')]&&_0x588b82['right']===_0x332738[_0x1b18('0x46')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4872=['NarrowSidebar','mousedown','set:container','contains','content','pin','EditorAnnotations','_refreshPositioning','setActiveAnnotation','detach','narrowSidebar','off','_detachListeners','resize','activeAnnotation','clear','attachToDom','northArrowSouthEast','uiUpdate','listenTo','number','defaultPositions','keydown','northArrowSouthWest','bodyCollection','focusableElements','_destroyEditorAnnotationsIntegration','rearrange','has','blur','context','attach','stop','set','change:height','focus','_domEmitter','balloonPanelView','target','_annotations','ready','includes','element','_manuallyClosedAnnotationViews','_updateBalloonPosition','delete','annotationType','stopPropagation','from','find','annotations','preventClosingBalloon','removeEventListener','execute','editors','destroy','unpin','high','_refreshPositioningDebounced','requires','stopListening','_attachToContainer','southArrowNorthEast','isDirty','_selectedAnnotations','view','_showBalloon','register','_annotationToNarrowView','_setSelectedAnnotations','_integrateWithEditorAnnotations','length','_hideBalloon','add','plugins','hasDomSelection','southArrowNorth','northArrowSouth','remove','get','_editorAnnotations','_attachListeners','addAnnotation','getSidebarItemView','_detachFromContainer','isAttached','isVisible','getByView','first','narrowsidebar-detach-not-attached','detachFromDom','cancel','init','locale','values','esc'];(function(_0x5969d9,_0x48727f){const _0x268b58=function(_0x1034e2){while(--_0x1034e2){_0x5969d9['push'](_0x5969d9['shift']());}};_0x268b58(++_0x48727f);}(_0x4872,0x1db));const _0x268b=function(_0x5969d9,_0x48727f){_0x5969d9=_0x5969d9-0x0;let _0x268b58=_0x4872[_0x5969d9];return _0x268b58;};import{ContextPlugin as _0x440824,Context as _0x43570c}from'ckeditor5/src/core';import _0x253d9a from'./annotationsuis';import _0x4599fa from'./sidebar';import _0x54b65b from'./view/annotationcounterbuttonview';import{BalloonPanelView as _0x475006,BodyCollection as _0x380e66}from'ckeditor5/src/ui';import{CKEditorError as _0x524c4e,DomEmitterMixin as _0x5245dc,keyCodes as _0xbf2b63,Collection as _0x94d74}from'ckeditor5/src/utils';import'../../theme/sidebar-narrow.css';import{debounce as _0x21e045}from'lodash-es';import _0x2677dc from'./editorannotations';export default class s extends _0x440824{static get[_0x268b('0x40')](){return[_0x4599fa,_0x253d9a];}static get['pluginName'](){return _0x268b('0x5');}constructor(_0x4158eb){super(_0x4158eb),this[_0x268b('0x5a')]=!0x1,this[_0x268b('0x30')]=new Set(),this[_0x268b('0x29')]=Object['create'](_0x5245dc),this[_0x268b('0x49')]=new Map(),this[_0x268b('0x26')](_0x268b('0x13'),null),this['annotations']=null,this[_0x268b('0x45')]=[],this['_editorAnnotations']=new _0x94d74(),this[_0x268b('0x3f')]=_0x21e045(()=>{this[_0x268b('0xc')]();},0xfa,{'leading':!0x1});}[_0x268b('0x1')](){this['context'][_0x268b('0x4f')][_0x268b('0x54')](_0x253d9a)[_0x268b('0x48')](_0x268b('0xf'),this),this[_0x268b('0x1d')]=new _0x380e66(this[_0x268b('0x23')]['locale']),this[_0x268b('0x2a')]=new _0x475006(this[_0x268b('0x23')][_0x268b('0x2')]),this[_0x268b('0x1d')][_0x268b('0x15')](),this[_0x268b('0x1d')][_0x268b('0x4e')](this[_0x268b('0x2a')]);}[_0x268b('0x24')](_0x32dcc7){this['annotations']=_0x32dcc7;const _0x1cad2a=this[_0x268b('0x23')][_0x268b('0x4f')][_0x268b('0x54')](_0x4599fa),_0x1b7915=this[_0x268b('0x2a')];if(_0x1cad2a[_0x268b('0x2c')]=_0x32dcc7,this[_0x268b('0x5a')])throw new _0x524c4e('narrowsidebar-attach-already-attached',this);this[_0x268b('0x5a')]=!0x0,this['listenTo'](_0x1cad2a,_0x268b('0x7'),()=>{this['detach'](),this[_0x268b('0x18')](_0x1cad2a,'change:container',_0xae3196=>{_0xae3196[_0x268b('0x10')](),this['attach'](_0x32dcc7);});}),_0x1cad2a[_0x268b('0x42')]({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x914f76=_0x444da2=>{const _0x10f787=new _0x54b65b(this[_0x268b('0x23')][_0x268b('0x2')]);_0x1cad2a[_0x268b('0x57')](_0x444da2,_0x10f787),this[_0x268b('0x49')][_0x268b('0x26')](_0x444da2,_0x10f787),_0x10f787['bind']('isDirty',_0x268b('0x33'),_0x268b('0x19'))['to'](_0x444da2[_0x268b('0x46')],_0x268b('0x44'),'type',_0x268b('0x4c')),_0x10f787['on'](_0x268b('0x3a'),()=>{this[_0x268b('0x30')]['clear'](),_0x1b7915[_0x268b('0x9')][_0x268b('0x5d')]!==_0x444da2[_0x268b('0x46')]?(this[_0x268b('0x47')](_0x444da2),_0x444da2[_0x268b('0x46')]['element']['focus'](),this[_0x268b('0xd')](_0x444da2)):this[_0x268b('0xd')](null);});};for(const _0x3c31a4 of _0x32dcc7)_0x914f76(_0x3c31a4);this[_0x268b('0x18')](_0x32dcc7,'add',(_0x1c7145,_0x27423a)=>{_0x914f76(_0x27423a);}),this[_0x268b('0x18')](_0x32dcc7,'remove',(_0x112ae0,_0x41ca59,_0x1ba6c9)=>{this[_0x268b('0x49')][_0x268b('0x54')](_0x41ca59)[_0x268b('0x3c')](),this[_0x268b('0x49')][_0x268b('0x32')](_0x41ca59),_0x1cad2a[_0x268b('0x20')]({'removedAnnotation':_0x41ca59,'previousAnnotation':_0x32dcc7[_0x268b('0x54')](_0x1ba6c9-0x1),'nextAnnotation':_0x32dcc7[_0x268b('0x54')](_0x1ba6c9+0x1)}),_0x41ca59===this[_0x268b('0x13')]&&this[_0x268b('0xd')](null);},{'priority':'low'}),this[_0x268b('0x18')](_0x32dcc7,_0x268b('0x28'),(_0x2d21ac,_0x129c0e)=>{this['setActiveAnnotation'](_0x129c0e);}),this[_0x268b('0x18')](_0x32dcc7,'blur',()=>{this['setActiveAnnotation'](null);}),this[_0x268b('0x29')]['listenTo'](document,_0x268b('0x1b'),(_0x63ebd9,_0x5b3ec4)=>{_0x5b3ec4['keyCode']===_0xbf2b63[_0x268b('0x4')]&&_0x1b7915[_0x268b('0x5b')]&&(this['_manuallyClosedAnnotationViews']['add'](_0x1b7915[_0x268b('0x9')]['first']),this[_0x268b('0x4d')](),_0x5b3ec4[_0x268b('0x34')](),_0x5b3ec4['preventDefault']());}),this['_domEmitter']['listenTo'](document,_0x268b('0x6'),(_0x40ace2,_0x1dc60a)=>{const _0x3b12c7=_0x1dc60a[_0x268b('0x2b')];_0x1b7915['isVisible']&&_0x1b7915[_0x268b('0x2f')][_0x268b('0x8')](_0x3b12c7)||_0x1cad2a[_0x268b('0x46')][_0x268b('0x2f')][_0x268b('0x8')](_0x3b12c7)||_0x40ace2[_0x268b('0x38')]||this[_0x268b('0x13')]&&this[_0x268b('0x13')][_0x268b('0x1e')][_0x268b('0x36')](_0x25915f=>_0x25915f['contains'](_0x3b12c7))||(this['_manuallyClosedAnnotationViews'][_0x268b('0x14')](),this['_hideBalloon'](),this[_0x268b('0xd')](null));});const _0x3a0ae2=this[_0x268b('0x23')]instanceof _0x43570c?this[_0x268b('0x23')][_0x268b('0x3b')]:new _0x94d74([this['context']]);for(const _0x2490f4 of _0x3a0ae2)this[_0x268b('0x4b')](_0x2490f4);this[_0x268b('0x18')](_0x3a0ae2,_0x268b('0x4e'),(_0x1067f7,_0x1649d1)=>{this[_0x268b('0x18')](_0x1649d1,_0x268b('0x2d'),()=>{this[_0x268b('0x4b')](_0x1649d1);});}),this[_0x268b('0x18')](_0x3a0ae2,_0x268b('0x53'),(_0x4fa879,_0x470fef)=>{_0x470fef[_0x268b('0x4f')][_0x268b('0x21')](_0x268b('0xb'))&&this[_0x268b('0x1f')](_0x470fef[_0x268b('0x4f')][_0x268b('0x54')](_0x268b('0xb')));}),window['addEventListener'](_0x268b('0x12'),this['_refreshPositioningDebounced']),this[_0x268b('0xc')]();}[_0x268b('0xd')](_0x44872b){if(_0x44872b===this[_0x268b('0x13')])return;const _0xe94ffe=this[_0x268b('0x23')][_0x268b('0x4f')][_0x268b('0x54')](_0x4599fa);if(_0xe94ffe['refresh']({'blurredAnnotation':this[_0x268b('0x13')],'activatedAnnotation':_0x44872b,'disableAnimationOnActivatedAnnotation':!0x0}),_0x44872b)_0xe94ffe[_0x268b('0x58')](_0x44872b)?this[_0x268b('0x47')](_0x44872b):this[_0x268b('0x4d')]();else this['_hideBalloon']();this[_0x268b('0x13')]=_0x44872b;}['detach'](){if(!this[_0x268b('0x5a')])throw new _0x524c4e(_0x268b('0x5e'),this);this[_0x268b('0xd')](null);const _0x359b93=this[_0x268b('0x23')][_0x268b('0x4f')][_0x268b('0x54')](_0x4599fa);this[_0x268b('0x4d')](),Array[_0x268b('0x35')](this[_0x268b('0x49')][_0x268b('0x3')](),_0x52080b=>_0x52080b[_0x268b('0x3c')]()),this['_annotationToNarrowView'][_0x268b('0x14')](),_0x359b93[_0x268b('0x59')](this[_0x268b('0x37')]),this[_0x268b('0x41')](),this[_0x268b('0x29')][_0x268b('0x41')](),this[_0x268b('0x23')]instanceof _0x43570c&&this[_0x268b('0x41')](this['context'][_0x268b('0x3b')]);for(const _0x4626b3 of Array[_0x268b('0x35')](this[_0x268b('0x55')]))this[_0x268b('0x1f')](_0x4626b3);window[_0x268b('0x39')]('resize',this[_0x268b('0x3f')]),this[_0x268b('0x3f')][_0x268b('0x0')](),this['_selectedAnnotations']=[],this[_0x268b('0x5a')]=!0x1,this[_0x268b('0x37')]=null;}[_0x268b('0x3c')](){this['isAttached']&&this[_0x268b('0xe')](),this[_0x268b('0x1d')][_0x268b('0x5f')]();}[_0x268b('0x4b')](_0xa6814){const _0x4b654b=_0xa6814[_0x268b('0x4f')]['get'](_0x2677dc),_0x51a59b=this[_0x268b('0x23')][_0x268b('0x4f')][_0x268b('0x54')](_0x4599fa),_0x39b91f=this['annotations'],_0x139b26=this['balloonPanelView'],_0x57b99a=()=>{const _0x1d1953=_0x4b654b['getOrderedSelectedAnnotations']({'annotations':this[_0x268b('0x37')],'activeAnnotation':this['activeAnnotation']});this[_0x268b('0x4a')](_0x1d1953),this[_0x268b('0xd')](_0x1d1953[0x0]||null);};this['listenTo'](_0x4b654b,'refresh',_0x57b99a),this[_0x268b('0x18')](_0x4b654b,_0x268b('0x22'),(_0x43bc4d,{isAnnotationTracked:_0x2d378c})=>{this['activeAnnotation']&&_0x2d378c(this['activeAnnotation'])&&(this[_0x268b('0x4a')]([]),this[_0x268b('0xd')](null));}),this['listenTo'](_0x4b654b,_0x268b('0x17'),()=>{this['_refreshPositioningDebounced']();}),this[_0x268b('0x18')](_0x39b91f,_0x268b('0x22'),_0xdac207=>{_0x4b654b[_0x268b('0x50')]()&&_0xdac207[_0x268b('0x25')]();},{'priority':_0x268b('0x3e')}),this[_0x268b('0x18')](this[_0x268b('0x29')],_0x268b('0x6'),(_0x25928e,_0x13d16a)=>{const _0x28dee5=_0x13d16a[_0x268b('0x2b')];_0x139b26['isVisible']&&_0x139b26[_0x268b('0x2f')][_0x268b('0x8')](_0x28dee5)||_0x51a59b[_0x268b('0x46')]['element'][_0x268b('0x8')](_0x28dee5)||this[_0x268b('0x13')]&&_0x4b654b[_0x268b('0x50')]()&&(_0x57b99a(),_0x25928e[_0x268b('0x38')]=!0x0);},{'priority':'high'}),this['_editorAnnotations'][_0x268b('0x4e')](_0x4b654b);}[_0x268b('0x1f')](_0x33efa3){_0x33efa3&&(this[_0x268b('0x41')](_0x33efa3),this[_0x268b('0x55')][_0x268b('0x53')](_0x33efa3));}[_0x268b('0x4a')](_0x22944d){for(const _0x38eecb of this[_0x268b('0x45')])_0x22944d[_0x268b('0x2e')](_0x38eecb)||this[_0x268b('0x30')][_0x268b('0x32')](_0x38eecb[_0x268b('0x46')]);this[_0x268b('0x45')]=_0x22944d;}['_refreshPositioning'](){const _0x1efc07=this['balloonPanelView'];this[_0x268b('0x37')]['refreshPositioning'](),_0x1efc07['isVisible']&&this[_0x268b('0x31')]();}[_0x268b('0x47')](_0x58eae0){if(this['_manuallyClosedAnnotationViews'][_0x268b('0x21')](_0x58eae0['view']))return;const _0x7579d6=this[_0x268b('0x2a')][_0x268b('0x9')][_0x268b('0x5d')];_0x7579d6!==_0x58eae0[_0x268b('0x46')]?(_0x7579d6&&this[_0x268b('0x11')](_0x7579d6),this[_0x268b('0x56')](_0x58eae0[_0x268b('0x46')]),this[_0x268b('0x2a')][_0x268b('0x9')]['clear'](),this[_0x268b('0x2a')][_0x268b('0x9')]['add'](_0x58eae0[_0x268b('0x46')]),this['_updateBalloonPosition']()):this[_0x268b('0x31')]();}[_0x268b('0x31')](){const _0x3dd3c7=this[_0x268b('0x2a')][_0x268b('0x9')]['first'],_0x51dbf6=_0x3dd3c7&&this[_0x268b('0x37')][_0x268b('0x5c')](_0x3dd3c7);if(!_0x51dbf6||!this[_0x268b('0x49')][_0x268b('0x21')](_0x51dbf6))return;const _0x694af7=this[_0x268b('0x49')][_0x268b('0x54')](_0x51dbf6)['element'],_0x50887c=function(){const _0x2c4460=_0x475006[_0x268b('0x1a')];return[_0x2c4460[_0x268b('0x43')],_0x2c4460[_0x268b('0x16')],_0x2c4460[_0x268b('0x51')],_0x2c4460[_0x268b('0x52')],_0x2c4460['southArrowNorthWest'],_0x2c4460[_0x268b('0x1c')]];}();this[_0x268b('0x2a')][_0x268b('0xa')]({'target':_0x694af7,'positions':_0x50887c});}[_0x268b('0x4d')](){const _0x80b541=this['balloonPanelView'],_0x26c3c7=_0x80b541[_0x268b('0x9')][_0x268b('0x5d')];_0x26c3c7&&(this[_0x268b('0x11')](_0x26c3c7),_0x80b541[_0x268b('0x3d')](),_0x80b541[_0x268b('0x9')][_0x268b('0x14')]());}['_attachListeners'](_0x679b84){this[_0x268b('0x18')](_0x679b84,_0x268b('0x27'),()=>this[_0x268b('0x31')]()),this['listenTo'](_0x679b84,'Esc',(_0x38fcdc,_0x52e44c)=>{this['_manuallyClosedAnnotationViews'][_0x268b('0x4e')](_0x679b84),this['_hideBalloon'](),_0x52e44c();});}[_0x268b('0x11')](_0x2d1cb1){this[_0x268b('0x41')](_0x2d1cb1);}}
23
+ const _0x2158=['listenTo','context','set','_setSelectedAnnotations','high','view','refresh','_annotationToNarrowView','refreshPositioning','annotationType','off','requires','southArrowNorthEast','_refreshPositioningDebounced','length','remove','getByView','contains','content','change:height','_refreshPositioning','bodyCollection','create','getSidebarItemView','change:container','_detachListeners','set:container','ready','esc','_editorAnnotations','rearrange','balloonPanelView','low','_showBalloon','first','target','detach','setActiveAnnotation','execute','find','_annotations','isAttached','init','NarrowSidebar','hasDomSelection','editors','_updateBalloonPosition','keyCode','pin','mousedown','_integrateWithEditorAnnotations','_attachListeners','unpin','southArrowNorthWest','delete','addEventListener','_domEmitter','locale','northArrowSouth','clear','activeAnnotation','element','EditorAnnotations','values','preventClosingBalloon','_destroyEditorAnnotationsIntegration','removeEventListener','has','from','stopListening','destroy','add','getOrderedSelectedAnnotations','type','get','includes','_attachToContainer','number','annotations','stop','ck-sidebar--narrow','detachFromDom','focus','narrowsidebar-detach-not-attached','resize','register','_manuallyClosedAnnotationViews','bind','_selectedAnnotations','plugins','focusableElements','blur','keydown','isDirty','attach','isVisible','_hideBalloon'];(function(_0x3ca809,_0x215890){const _0x2c09c9=function(_0x57593d){while(--_0x57593d){_0x3ca809['push'](_0x3ca809['shift']());}};_0x2c09c9(++_0x215890);}(_0x2158,0x163));const _0x2c09=function(_0x3ca809,_0x215890){_0x3ca809=_0x3ca809-0x0;let _0x2c09c9=_0x2158[_0x3ca809];return _0x2c09c9;};import{ContextPlugin as _0x1e1122,Context as _0x5399e4}from'ckeditor5/src/core';import _0x2b334e from'./annotationsuis';import _0x361a7f from'./sidebar';import _0x326e38 from'./view/annotationcounterbuttonview';import{BalloonPanelView as _0x37c988,BodyCollection as _0x5265ad}from'ckeditor5/src/ui';import{CKEditorError as _0x178521,DomEmitterMixin as _0x1b14f5,keyCodes as _0x28d4bc,Collection as _0x2f0a8b}from'ckeditor5/src/utils';import'../../theme/sidebar-narrow.css';import{debounce as _0x5b8eb3}from'lodash-es';import _0x3c33a6 from'./editorannotations';export default class s extends _0x1e1122{static get[_0x2c09('0x2c')](){return[_0x361a7f,_0x2b334e];}static get['pluginName'](){return _0x2c09('0x4c');}constructor(_0x124282){super(_0x124282),this['isAttached']=!0x1,this[_0x2c09('0x16')]=new Set(),this[_0x2c09('0x59')]=Object[_0x2c09('0x37')](_0x1b14f5),this['_annotationToNarrowView']=new Map(),this[_0x2c09('0x23')](_0x2c09('0x5d'),null),this[_0x2c09('0xe')]=null,this[_0x2c09('0x18')]=[],this[_0x2c09('0x3e')]=new _0x2f0a8b(),this['_refreshPositioningDebounced']=_0x5b8eb3(()=>{this[_0x2c09('0x35')]();},0xfa,{'leading':!0x1});}[_0x2c09('0x4b')](){this[_0x2c09('0x22')][_0x2c09('0x19')][_0x2c09('0xa')](_0x2b334e)[_0x2c09('0x15')]('narrowSidebar',this),this[_0x2c09('0x36')]=new _0x5265ad(this['context'][_0x2c09('0x5a')]),this[_0x2c09('0x40')]=new _0x37c988(this[_0x2c09('0x22')][_0x2c09('0x5a')]),this[_0x2c09('0x36')]['attachToDom'](),this['bodyCollection'][_0x2c09('0x7')](this[_0x2c09('0x40')]);}[_0x2c09('0x1e')](_0x1ecf0b){this[_0x2c09('0xe')]=_0x1ecf0b;const _0x1727ac=this[_0x2c09('0x22')][_0x2c09('0x19')][_0x2c09('0xa')](_0x361a7f),_0x58c019=this[_0x2c09('0x40')];if(_0x1727ac[_0x2c09('0x49')]=_0x1ecf0b,this[_0x2c09('0x4a')])throw new _0x178521('narrowsidebar-attach-already-attached',this);this[_0x2c09('0x4a')]=!0x0,this[_0x2c09('0x21')](_0x1727ac,_0x2c09('0x3b'),()=>{this['detach'](),this['listenTo'](_0x1727ac,_0x2c09('0x39'),_0x338154=>{_0x338154[_0x2c09('0x2b')](),this[_0x2c09('0x1e')](_0x1ecf0b);});}),_0x1727ac[_0x2c09('0xc')]({'viewClass':_0x2c09('0x10'),'spaceBetweenItems':0x5});const _0xc2a731=_0x3dda65=>{const _0x3a0e1f=new _0x326e38(this[_0x2c09('0x22')][_0x2c09('0x5a')]);_0x1727ac['addAnnotation'](_0x3dda65,_0x3a0e1f),this['_annotationToNarrowView']['set'](_0x3dda65,_0x3a0e1f),_0x3a0e1f[_0x2c09('0x17')](_0x2c09('0x1d'),_0x2c09('0x2a'),_0x2c09('0xd'))['to'](_0x3dda65[_0x2c09('0x26')],_0x2c09('0x1d'),_0x2c09('0x9'),_0x2c09('0x2f')),_0x3a0e1f['on'](_0x2c09('0x47'),()=>{this[_0x2c09('0x16')][_0x2c09('0x5c')](),_0x58c019[_0x2c09('0x33')][_0x2c09('0x43')]!==_0x3dda65[_0x2c09('0x26')]?(this[_0x2c09('0x42')](_0x3dda65),_0x3dda65[_0x2c09('0x26')][_0x2c09('0x5e')][_0x2c09('0x12')](),this[_0x2c09('0x46')](_0x3dda65)):this['setActiveAnnotation'](null);});};for(const _0x1c299e of _0x1ecf0b)_0xc2a731(_0x1c299e);this[_0x2c09('0x21')](_0x1ecf0b,_0x2c09('0x7'),(_0xf42abf,_0x5a91a)=>{_0xc2a731(_0x5a91a);}),this[_0x2c09('0x21')](_0x1ecf0b,_0x2c09('0x30'),(_0xb99e77,_0x37343c,_0x275ef9)=>{this[_0x2c09('0x28')][_0x2c09('0xa')](_0x37343c)[_0x2c09('0x6')](),this['_annotationToNarrowView']['delete'](_0x37343c),_0x1727ac[_0x2c09('0x3f')]({'removedAnnotation':_0x37343c,'previousAnnotation':_0x1ecf0b[_0x2c09('0xa')](_0x275ef9-0x1),'nextAnnotation':_0x1ecf0b[_0x2c09('0xa')](_0x275ef9+0x1)}),_0x37343c===this[_0x2c09('0x5d')]&&this[_0x2c09('0x46')](null);},{'priority':_0x2c09('0x41')}),this['listenTo'](_0x1ecf0b,_0x2c09('0x12'),(_0x1ff267,_0x274e72)=>{this[_0x2c09('0x46')](_0x274e72);}),this[_0x2c09('0x21')](_0x1ecf0b,'blur',()=>{this[_0x2c09('0x46')](null);}),this[_0x2c09('0x59')]['listenTo'](document,_0x2c09('0x1c'),(_0x2e33df,_0x1aebda)=>{_0x1aebda[_0x2c09('0x50')]===_0x28d4bc[_0x2c09('0x3d')]&&_0x58c019[_0x2c09('0x1f')]&&(this['_manuallyClosedAnnotationViews']['add'](_0x58c019[_0x2c09('0x33')][_0x2c09('0x43')]),this[_0x2c09('0x20')](),_0x1aebda['stopPropagation'](),_0x1aebda['preventDefault']());}),this[_0x2c09('0x59')][_0x2c09('0x21')](document,_0x2c09('0x52'),(_0x3d78e1,_0x25ceb3)=>{const _0x425e94=_0x25ceb3[_0x2c09('0x44')];_0x58c019[_0x2c09('0x1f')]&&_0x58c019[_0x2c09('0x5e')]['contains'](_0x425e94)||_0x1727ac[_0x2c09('0x26')][_0x2c09('0x5e')][_0x2c09('0x32')](_0x425e94)||_0x3d78e1['preventClosingBalloon']||this[_0x2c09('0x5d')]&&this[_0x2c09('0x5d')][_0x2c09('0x1a')][_0x2c09('0x48')](_0xffdb32=>_0xffdb32[_0x2c09('0x32')](_0x425e94))||(this[_0x2c09('0x16')][_0x2c09('0x5c')](),this[_0x2c09('0x20')](),this[_0x2c09('0x46')](null));});const _0x2dba46=this[_0x2c09('0x22')]instanceof _0x5399e4?this[_0x2c09('0x22')]['editors']:new _0x2f0a8b([this[_0x2c09('0x22')]]);for(const _0x1cfc1e of _0x2dba46)this[_0x2c09('0x53')](_0x1cfc1e);this[_0x2c09('0x21')](_0x2dba46,_0x2c09('0x7'),(_0x487fff,_0x3db0d9)=>{this[_0x2c09('0x21')](_0x3db0d9,_0x2c09('0x3c'),()=>{this[_0x2c09('0x53')](_0x3db0d9);});}),this[_0x2c09('0x21')](_0x2dba46,_0x2c09('0x30'),(_0x430111,_0x17fd87)=>{_0x17fd87[_0x2c09('0x19')][_0x2c09('0x3')](_0x2c09('0x5f'))&&this['_destroyEditorAnnotationsIntegration'](_0x17fd87[_0x2c09('0x19')][_0x2c09('0xa')](_0x2c09('0x5f')));}),window[_0x2c09('0x58')](_0x2c09('0x14'),this['_refreshPositioningDebounced']),this[_0x2c09('0x35')]();}[_0x2c09('0x46')](_0x4cced0){if(_0x4cced0===this['activeAnnotation'])return;const _0x479233=this[_0x2c09('0x22')][_0x2c09('0x19')][_0x2c09('0xa')](_0x361a7f);if(_0x479233[_0x2c09('0x27')]({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x4cced0,'disableAnimationOnActivatedAnnotation':!0x0}),_0x4cced0)_0x479233[_0x2c09('0x38')](_0x4cced0)?this['_showBalloon'](_0x4cced0):this['_hideBalloon']();else this[_0x2c09('0x20')]();this[_0x2c09('0x5d')]=_0x4cced0;}[_0x2c09('0x45')](){if(!this['isAttached'])throw new _0x178521(_0x2c09('0x13'),this);this[_0x2c09('0x46')](null);const _0x5b4201=this['context'][_0x2c09('0x19')][_0x2c09('0xa')](_0x361a7f);this[_0x2c09('0x20')](),Array[_0x2c09('0x4')](this[_0x2c09('0x28')][_0x2c09('0x60')](),_0x14ff0c=>_0x14ff0c[_0x2c09('0x6')]()),this['_annotationToNarrowView'][_0x2c09('0x5c')](),_0x5b4201['_detachFromContainer'](this['annotations']),this[_0x2c09('0x5')](),this[_0x2c09('0x59')][_0x2c09('0x5')](),this[_0x2c09('0x22')]instanceof _0x5399e4&&this[_0x2c09('0x5')](this[_0x2c09('0x22')][_0x2c09('0x4e')]);for(const _0x5e0a4d of Array[_0x2c09('0x4')](this[_0x2c09('0x3e')]))this[_0x2c09('0x1')](_0x5e0a4d);window[_0x2c09('0x2')](_0x2c09('0x14'),this[_0x2c09('0x2e')]),this[_0x2c09('0x2e')]['cancel'](),this[_0x2c09('0x18')]=[],this[_0x2c09('0x4a')]=!0x1,this[_0x2c09('0xe')]=null;}[_0x2c09('0x6')](){this[_0x2c09('0x4a')]&&this[_0x2c09('0x45')](),this[_0x2c09('0x36')][_0x2c09('0x11')]();}[_0x2c09('0x53')](_0x3cc88){const _0x128e00=_0x3cc88[_0x2c09('0x19')][_0x2c09('0xa')](_0x3c33a6),_0x24d94e=this[_0x2c09('0x22')][_0x2c09('0x19')]['get'](_0x361a7f),_0x5ce962=this[_0x2c09('0xe')],_0x3dd83b=this[_0x2c09('0x40')],_0x1ac5f4=()=>{const _0x239f31=_0x128e00[_0x2c09('0x8')]({'annotations':this['annotations'],'activeAnnotation':this[_0x2c09('0x5d')]});this['_setSelectedAnnotations'](_0x239f31),this['setActiveAnnotation'](_0x239f31[0x0]||null);};this[_0x2c09('0x21')](_0x128e00,_0x2c09('0x27'),_0x1ac5f4),this[_0x2c09('0x21')](_0x128e00,_0x2c09('0x1b'),(_0x647157,{isAnnotationTracked:_0x1315be})=>{this[_0x2c09('0x5d')]&&_0x1315be(this['activeAnnotation'])&&(this[_0x2c09('0x24')]([]),this[_0x2c09('0x46')](null));}),this[_0x2c09('0x21')](_0x128e00,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this[_0x2c09('0x21')](_0x5ce962,_0x2c09('0x1b'),_0x5db006=>{_0x128e00[_0x2c09('0x4d')]()&&_0x5db006[_0x2c09('0xf')]();},{'priority':_0x2c09('0x25')}),this['listenTo'](this[_0x2c09('0x59')],'mousedown',(_0x1ac87e,_0x2dcc4a)=>{const _0x3912f2=_0x2dcc4a[_0x2c09('0x44')];_0x3dd83b['isVisible']&&_0x3dd83b[_0x2c09('0x5e')][_0x2c09('0x32')](_0x3912f2)||_0x24d94e[_0x2c09('0x26')]['element'][_0x2c09('0x32')](_0x3912f2)||this['activeAnnotation']&&_0x128e00[_0x2c09('0x4d')]()&&(_0x1ac5f4(),_0x1ac87e[_0x2c09('0x0')]=!0x0);},{'priority':_0x2c09('0x25')}),this[_0x2c09('0x3e')]['add'](_0x128e00);}[_0x2c09('0x1')](_0x460dd1){_0x460dd1&&(this[_0x2c09('0x5')](_0x460dd1),this[_0x2c09('0x3e')][_0x2c09('0x30')](_0x460dd1));}[_0x2c09('0x24')](_0x3e8387){for(const _0x4828e4 of this[_0x2c09('0x18')])_0x3e8387[_0x2c09('0xb')](_0x4828e4)||this[_0x2c09('0x16')][_0x2c09('0x57')](_0x4828e4[_0x2c09('0x26')]);this[_0x2c09('0x18')]=_0x3e8387;}[_0x2c09('0x35')](){const _0x598ca3=this['balloonPanelView'];this[_0x2c09('0xe')][_0x2c09('0x29')](),_0x598ca3[_0x2c09('0x1f')]&&this[_0x2c09('0x4f')]();}[_0x2c09('0x42')](_0x28c720){if(this[_0x2c09('0x16')][_0x2c09('0x3')](_0x28c720[_0x2c09('0x26')]))return;const _0x4d17d2=this[_0x2c09('0x40')]['content'][_0x2c09('0x43')];_0x4d17d2!==_0x28c720[_0x2c09('0x26')]?(_0x4d17d2&&this[_0x2c09('0x3a')](_0x4d17d2),this['_attachListeners'](_0x28c720[_0x2c09('0x26')]),this[_0x2c09('0x40')][_0x2c09('0x33')]['clear'](),this[_0x2c09('0x40')][_0x2c09('0x33')][_0x2c09('0x7')](_0x28c720['view']),this[_0x2c09('0x4f')]()):this[_0x2c09('0x4f')]();}[_0x2c09('0x4f')](){const _0x2a309a=this['balloonPanelView'][_0x2c09('0x33')][_0x2c09('0x43')],_0x535600=_0x2a309a&&this[_0x2c09('0xe')][_0x2c09('0x31')](_0x2a309a);if(!_0x535600||!this['_annotationToNarrowView'][_0x2c09('0x3')](_0x535600))return;const _0x488ac8=this[_0x2c09('0x28')][_0x2c09('0xa')](_0x535600)[_0x2c09('0x5e')],_0x5c9e4e=function(){const _0x430156=_0x37c988['defaultPositions'];return[_0x430156[_0x2c09('0x2d')],_0x430156['northArrowSouthEast'],_0x430156['southArrowNorth'],_0x430156[_0x2c09('0x5b')],_0x430156[_0x2c09('0x56')],_0x430156['northArrowSouthWest']];}();this['balloonPanelView'][_0x2c09('0x51')]({'target':_0x488ac8,'positions':_0x5c9e4e});}[_0x2c09('0x20')](){const _0x47c731=this[_0x2c09('0x40')],_0x37a3b7=_0x47c731[_0x2c09('0x33')][_0x2c09('0x43')];_0x37a3b7&&(this[_0x2c09('0x3a')](_0x37a3b7),_0x47c731[_0x2c09('0x55')](),_0x47c731['content'][_0x2c09('0x5c')]());}[_0x2c09('0x54')](_0x5aac5a){this[_0x2c09('0x21')](_0x5aac5a,_0x2c09('0x34'),()=>this[_0x2c09('0x4f')]()),this[_0x2c09('0x21')](_0x5aac5a,'Esc',(_0x48c590,_0x388976)=>{this[_0x2c09('0x16')][_0x2c09('0x7')](_0x5aac5a),this[_0x2c09('0x20')](),_0x388976();});}[_0x2c09('0x3a')](_0xa27e41){this['stopListening'](_0xa27e41);}}