@ckeditor/ckeditor5-comments 34.0.0 → 34.1.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 (45) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +2 -2
  3. package/build/comments.js +1 -1
  4. package/build/translations/af.js +1 -0
  5. package/build/translations/lv.js +1 -0
  6. package/build/translations/ur.js +1 -0
  7. package/lang/translations/af.po +67 -0
  8. package/lang/translations/lv.po +68 -0
  9. package/lang/translations/ur.po +67 -0
  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/commentsediting.js +1 -1
  26. package/src/comments/commentsrepository.js +1 -1
  27. package/src/comments/commentsui.js +1 -1
  28. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  29. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  30. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  31. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  32. package/src/comments/ui/commentthreadcontroller.js +1 -1
  33. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  34. package/src/comments/ui/view/basecommentview.js +1 -1
  35. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  36. package/src/comments/ui/view/commentcontentview.js +1 -1
  37. package/src/comments/ui/view/commentinputview.js +1 -1
  38. package/src/comments/ui/view/commentslistview.js +1 -1
  39. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  40. package/src/comments/ui/view/commentthreadview.js +1 -1
  41. package/src/comments/ui/view/commentview.js +1 -1
  42. package/src/comments.js +1 -1
  43. package/src/commentsonly.js +1 -1
  44. package/src/utils/common-translations.js +1 -1
  45. package/src/utils/createmutationobserver.js +1 -1
@@ -0,0 +1 @@
1
+ !function(e){const a=e.af=e.af||{};a.dictionary=Object.assign(a.dictionary||{},{Comment:"Kommentaar","Comment editor":"Kommentaar redakteur","Delete comment thread?":"Kommentaardraad uitvee?","Delete comment?":"Kommentaar uitvee?",Edit:"Wysig",NUMBER_OF_COMMENTS:["%0 Kommentaar","%0 Kommentaare"],PENDING_ACTION_COMMENT_THREAD:"Ongestoorde verandering in kommentaardraad.",Remove:"Verwyder","Reply...":"Antwoord",Submit:"Indien",TOO_LONG_COMMENT_ALERT:"Kommentaar-inhoud is te lank. Jou kommentaar het %0 karakters maar die perke is %1 karakters.","Write a comment...":"Skryf 'n kommentaar"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(t){const e=t.lv=t.lv||{};e.dictionary=Object.assign(e.dictionary||{},{Comment:"Komentārs","Comment editor":"Komentāri","Delete comment thread?":"Dzēst komentāra saraksti?","Delete comment?":"Dzēst komentāru?",Edit:"Labot",NUMBER_OF_COMMENTS:["%0 Komentāru","%0 Komentārs","%0 Komentāri"],PENDING_ACTION_COMMENT_THREAD:"Nesaglabātas komentāra izmaiņas.",Remove:"Noņemt","Reply...":"Atbilde...",Submit:"Saglabāt",TOO_LONG_COMMENT_ALERT:"Komentāra saturs ir pārāk garš. Komentārs nedrīkst pārsniegt %1 rakstzīmes, šobrīd ir %0 rakstzīmju.","Write a comment...":"Rakstiet komentāru..."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const t=e.ur=e.ur||{};t.dictionary=Object.assign(t.dictionary||{},{Comment:"تبصرہ","Comment editor":"تبصرہ ایڈیٹر","Delete comment thread?":"تبصرے کا دھاگہ حذف کریں؟","Delete comment?":"تبصرہ حذف کریں؟",Edit:"ترمیم",NUMBER_OF_COMMENTS:["0% تبصرہ","0% تبصرے"],PENDING_ACTION_COMMENT_THREAD:"تبصرے دھاگے میں غیر محفوظ تبدیلیاں ہیں۔",Remove:"حذف کریں","Reply...":"جواب۔۔۔",Submit:"داخل کریں",TOO_LONG_COMMENT_ALERT:"آپ کا تبصرہ طویل ہے۔ آپ کے تبصرے میں 0% حروف ہیں جبکہ 1% حروف کی حد ہے۔","Write a comment...":"تبصرہ کریں۔۔۔"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1,67 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Afrikaans (https://www.transifex.com/ckeditor/teams/11143/af/)\n"
16
+ "Language: af\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+
19
+ msgctxt "The label for the comment editor."
20
+ msgid "Comment editor"
21
+ msgstr "Kommentaar redakteur"
22
+
23
+ msgctxt "The label for the number of comments."
24
+ msgid "NUMBER_OF_COMMENTS"
25
+ msgid_plural "%0 Comments"
26
+ msgstr[0] "%0 Kommentaar"
27
+ msgstr[1] "%0 Kommentaare"
28
+
29
+ msgctxt "The alert displayed for a comment that is too long."
30
+ msgid "TOO_LONG_COMMENT_ALERT"
31
+ msgstr "Kommentaar-inhoud is te lank. Jou kommentaar het %0 karakters maar die perke is %1 karakters."
32
+
33
+ msgctxt "The placeholder for the reply field."
34
+ msgid "Reply..."
35
+ msgstr "Antwoord"
36
+
37
+ msgctxt "The placeholder for the new commend field."
38
+ msgid "Write a comment..."
39
+ msgstr "Skryf 'n kommentaar"
40
+
41
+ msgctxt "The label for the button that enables editing a comment."
42
+ msgid "Edit"
43
+ msgstr "Wysig"
44
+
45
+ msgctxt "The label for the button that deletes a comment."
46
+ msgid "Remove"
47
+ msgstr "Verwyder"
48
+
49
+ msgctxt "The label for for the button that submits a comment."
50
+ msgid "Submit"
51
+ msgstr "Indien"
52
+
53
+ msgctxt "The confirmation message shown after pressing the delete comment button."
54
+ msgid "Delete comment?"
55
+ msgstr "Kommentaar uitvee?"
56
+
57
+ msgctxt "The confirmation message shown after pressing the delete comment thread button."
58
+ msgid "Delete comment thread?"
59
+ msgstr "Kommentaardraad uitvee?"
60
+
61
+ msgctxt "The tooltip for the comment toolbar button."
62
+ msgid "Comment"
63
+ msgstr "Kommentaar"
64
+
65
+ msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
66
+ msgid "PENDING_ACTION_COMMENT_THREAD"
67
+ msgstr "Ongestoorde verandering in kommentaardraad."
@@ -0,0 +1,68 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Latvian (https://www.transifex.com/ckeditor/teams/11143/lv/)\n"
16
+ "Language: lv\n"
17
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
18
+
19
+ msgctxt "The label for the comment editor."
20
+ msgid "Comment editor"
21
+ msgstr "Komentāri"
22
+
23
+ msgctxt "The label for the number of comments."
24
+ msgid "NUMBER_OF_COMMENTS"
25
+ msgid_plural "%0 Comments"
26
+ msgstr[0] "%0 Komentāru"
27
+ msgstr[1] "%0 Komentārs"
28
+ msgstr[2] "%0 Komentāri"
29
+
30
+ msgctxt "The alert displayed for a comment that is too long."
31
+ msgid "TOO_LONG_COMMENT_ALERT"
32
+ msgstr "Komentāra saturs ir pārāk garš. Komentārs nedrīkst pārsniegt %1 rakstzīmes, šobrīd ir %0 rakstzīmju."
33
+
34
+ msgctxt "The placeholder for the reply field."
35
+ msgid "Reply..."
36
+ msgstr "Atbilde..."
37
+
38
+ msgctxt "The placeholder for the new commend field."
39
+ msgid "Write a comment..."
40
+ msgstr "Rakstiet komentāru..."
41
+
42
+ msgctxt "The label for the button that enables editing a comment."
43
+ msgid "Edit"
44
+ msgstr "Labot"
45
+
46
+ msgctxt "The label for the button that deletes a comment."
47
+ msgid "Remove"
48
+ msgstr "Noņemt"
49
+
50
+ msgctxt "The label for for the button that submits a comment."
51
+ msgid "Submit"
52
+ msgstr "Saglabāt"
53
+
54
+ msgctxt "The confirmation message shown after pressing the delete comment button."
55
+ msgid "Delete comment?"
56
+ msgstr "Dzēst komentāru?"
57
+
58
+ msgctxt "The confirmation message shown after pressing the delete comment thread button."
59
+ msgid "Delete comment thread?"
60
+ msgstr "Dzēst komentāra saraksti?"
61
+
62
+ msgctxt "The tooltip for the comment toolbar button."
63
+ msgid "Comment"
64
+ msgstr "Komentārs"
65
+
66
+ msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
67
+ msgid "PENDING_ACTION_COMMENT_THREAD"
68
+ msgstr "Nesaglabātas komentāra izmaiņas."
@@ -0,0 +1,67 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Urdu (https://www.transifex.com/ckeditor/teams/11143/ur/)\n"
16
+ "Language: ur\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+
19
+ msgctxt "The label for the comment editor."
20
+ msgid "Comment editor"
21
+ msgstr "تبصرہ ایڈیٹر"
22
+
23
+ msgctxt "The label for the number of comments."
24
+ msgid "NUMBER_OF_COMMENTS"
25
+ msgid_plural "%0 Comments"
26
+ msgstr[0] "0% تبصرہ"
27
+ msgstr[1] "0% تبصرے"
28
+
29
+ msgctxt "The alert displayed for a comment that is too long."
30
+ msgid "TOO_LONG_COMMENT_ALERT"
31
+ msgstr "آپ کا تبصرہ طویل ہے۔ آپ کے تبصرے میں 0% حروف ہیں جبکہ 1% حروف کی حد ہے۔"
32
+
33
+ msgctxt "The placeholder for the reply field."
34
+ msgid "Reply..."
35
+ msgstr "جواب۔۔۔"
36
+
37
+ msgctxt "The placeholder for the new commend field."
38
+ msgid "Write a comment..."
39
+ msgstr "تبصرہ کریں۔۔۔"
40
+
41
+ msgctxt "The label for the button that enables editing a comment."
42
+ msgid "Edit"
43
+ msgstr "ترمیم"
44
+
45
+ msgctxt "The label for the button that deletes a comment."
46
+ msgid "Remove"
47
+ msgstr "حذف کریں"
48
+
49
+ msgctxt "The label for for the button that submits a comment."
50
+ msgid "Submit"
51
+ msgstr "داخل کریں"
52
+
53
+ msgctxt "The confirmation message shown after pressing the delete comment button."
54
+ msgid "Delete comment?"
55
+ msgstr "تبصرہ حذف کریں؟"
56
+
57
+ msgctxt "The confirmation message shown after pressing the delete comment thread button."
58
+ msgid "Delete comment thread?"
59
+ msgstr "تبصرے کا دھاگہ حذف کریں؟"
60
+
61
+ msgctxt "The tooltip for the comment toolbar button."
62
+ msgid "Comment"
63
+ msgstr "تبصرہ"
64
+
65
+ msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
66
+ msgid "PENDING_ACTION_COMMENT_THREAD"
67
+ msgstr "تبصرے دھاگے میں غیر محفوظ تبدیلیاں ہیں۔"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-comments",
3
- "version": "34.0.0",
3
+ "version": "34.1.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/)",
@@ -31,8 +31,8 @@
31
31
  ],
32
32
  "main": "src/index.js",
33
33
  "dependencies": {
34
- "ckeditor5": "^34.0.0",
35
- "ckeditor5-collaboration": "^34.0.0",
34
+ "ckeditor5": "^34.1.0",
35
+ "ckeditor5-collaboration": "^34.1.0",
36
36
  "lodash-es": "^4.17.11"
37
37
  }
38
38
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8ac2=['focusableElements','destroy','function','isActive','remove','innerView','item','type','_target','mainView','offsetParent','view','clear','_assertCorrectTarget','stopListening','isVisible','annotation-invalid-target','render','focusTracker','_type','targetRect','_isTargetElementVisible','element','target','add','updateTargetRect'];(function(_0x5bd22f,_0x8ac21e){const _0x21eb22=function(_0x4b5596){while(--_0x4b5596){_0x5bd22f['push'](_0x5bd22f['shift']());}};_0x21eb22(++_0x8ac21e);}(_0x8ac2,0x1e6));const _0x21eb=function(_0x5bd22f,_0x8ac21e){_0x5bd22f=_0x5bd22f-0x0;let _0x21eb22=_0x8ac2[_0x5bd22f];return _0x21eb22;};import{CKEditorError as _0x4b604f,Rect as _0x571484,Collection as _0x3a6fa9,mix as _0x435d6c,ObservableMixin as _0x2a98db}from'ckeditor5/src/utils';import{isElement as _0x1e9856}from'lodash-es';export default class p{constructor({view:_0x47baba,target:_0x592a08,type:_0x1b9998,isVisible:_0x51c1fe=!0x0}){this[_0x21eb('0x13')]=_0x47baba,this[_0x21eb('0x13')][_0x21eb('0x4')]||this[_0x21eb('0x13')][_0x21eb('0x19')](),this[_0x21eb('0x1')]=_0x1b9998,this[_0x21eb('0x10')]=_0x592a08,this[_0x21eb('0x15')](),this[_0x21eb('0x8')]=new _0x3a6fa9([this[_0x21eb('0x13')][_0x21eb('0x4')]],{'idProperty':'_id'}),this[_0x21eb('0x8')]['on'](_0x21eb('0x6'),(_0x2bd87a,_0x4aaa34)=>{this[_0x21eb('0x13')][_0x21eb('0x0')]['add'](_0x4aaa34);}),this['focusableElements']['on']('remove',(_0x206350,_0x2f037e)=>{this['view'][_0x21eb('0x0')][_0x21eb('0xc')](_0x2f037e);}),this['set']('isVisible',_0x51c1fe);}get[_0x21eb('0xf')](){return _0x21eb('0xa')==typeof this[_0x21eb('0x1')]?this[_0x21eb('0x1')]():this[_0x21eb('0x1')];}get[_0x21eb('0xd')](){return this[_0x21eb('0x13')]['mainView'];}get[_0x21eb('0x5')](){return _0x21eb('0xa')==typeof this[_0x21eb('0x10')]?this['_target']():this['_target'];}get[_0x21eb('0x2')](){const _0x3f9247=this['target'];return this[_0x21eb('0x15')](),null!==_0x3f9247&&this['_isTargetElementVisible']()?new _0x571484(_0x3f9247):null;}get[_0x21eb('0xb')](){return this[_0x21eb('0x13')][_0x21eb('0xb')];}set[_0x21eb('0xb')](_0x1d3fdc){this[_0x21eb('0x13')][_0x21eb('0xb')]=_0x1d3fdc,this['view'][_0x21eb('0x11')][_0x21eb('0xb')]=_0x1d3fdc;}[_0x21eb('0x7')](){this['view']['targetRect']=this[_0x21eb('0x2')];}[_0x21eb('0x9')](){this['focusableElements'][_0x21eb('0x16')](),this[_0x21eb('0x8')][_0x21eb('0x14')](),this['stopListening']();}['refreshVisibility'](){this[_0x21eb('0x17')]=this[_0x21eb('0x3')]();}[_0x21eb('0x3')](){const _0x2f622b=this[_0x21eb('0x5')];if(_0x1e9856(_0x2f622b)){const _0xf341f9=_0x2f622b['getClientRects']()[_0x21eb('0xe')](0x0),_0x339c61=_0x2f622b[_0x21eb('0x12')];if(!_0xf341f9||!_0x339c61)return!0x1;}return!0x0;}[_0x21eb('0x15')](){const _0x47f8f4=this[_0x21eb('0x5')];if(!(null===_0x47f8f4||_0x47f8f4 instanceof _0x571484||_0x1e9856(_0x47f8f4)))throw new _0x4b604f(_0x21eb('0x18'),null,{'target':_0x47f8f4});}}_0x435d6c(p,_0x2a98db);
23
+ const _0x4c33=['type','element','view','targetRect','refreshVisibility','updateTargetRect','focusableElements','_assertCorrectTarget','mainView','stopListening','remove','isActive','_type','getClientRects','innerView','isVisible','item','destroy','target','_target','annotation-invalid-target','_isTargetElementVisible','function','add','focusTracker','render'];(function(_0x2778c1,_0x4c33bf){const _0x17ba85=function(_0x3be3fe){while(--_0x3be3fe){_0x2778c1['push'](_0x2778c1['shift']());}};_0x17ba85(++_0x4c33bf);}(_0x4c33,0x109));const _0x17ba=function(_0x2778c1,_0x4c33bf){_0x2778c1=_0x2778c1-0x0;let _0x17ba85=_0x4c33[_0x2778c1];return _0x17ba85;};import{CKEditorError as _0x147e75,Rect as _0x2c09cb,Collection as _0xaaf32d,mix as _0x22d224,ObservableMixin as _0x501d58}from'ckeditor5/src/utils';import{isElement as _0x76682e}from'lodash-es';export default class W{constructor({view:_0x41581d,target:_0xe04421,type:_0x498fce,isVisible:_0x43c3be=!0x0}){this[_0x17ba('0x17')]=_0x41581d,this['view'][_0x17ba('0x16')]||this['view'][_0x17ba('0x14')](),this['_type']=_0x498fce,this[_0x17ba('0xe')]=_0xe04421,this[_0x17ba('0x2')](),this[_0x17ba('0x1')]=new _0xaaf32d([this[_0x17ba('0x17')][_0x17ba('0x16')]],{'idProperty':'_id'}),this['focusableElements']['on'](_0x17ba('0x12'),(_0x30c075,_0xad6572)=>{this[_0x17ba('0x17')][_0x17ba('0x13')]['add'](_0xad6572);}),this['focusableElements']['on'](_0x17ba('0x5'),(_0x14987b,_0x424567)=>{this[_0x17ba('0x17')][_0x17ba('0x13')][_0x17ba('0x5')](_0x424567);}),this['set'](_0x17ba('0xa'),_0x43c3be);}get[_0x17ba('0x15')](){return _0x17ba('0x11')==typeof this[_0x17ba('0x7')]?this[_0x17ba('0x7')]():this[_0x17ba('0x7')];}get[_0x17ba('0x9')](){return this[_0x17ba('0x17')][_0x17ba('0x3')];}get['target'](){return'function'==typeof this[_0x17ba('0xe')]?this['_target']():this[_0x17ba('0xe')];}get[_0x17ba('0x18')](){const _0x3200aa=this[_0x17ba('0xd')];return this[_0x17ba('0x2')](),null!==_0x3200aa&&this[_0x17ba('0x10')]()?new _0x2c09cb(_0x3200aa):null;}get[_0x17ba('0x6')](){return this[_0x17ba('0x17')][_0x17ba('0x6')];}set['isActive'](_0x321b35){this[_0x17ba('0x17')][_0x17ba('0x6')]=_0x321b35,this[_0x17ba('0x17')]['mainView'][_0x17ba('0x6')]=_0x321b35;}[_0x17ba('0x0')](){this['view']['targetRect']=this['targetRect'];}[_0x17ba('0xc')](){this[_0x17ba('0x1')][_0x17ba('0x4')](),this[_0x17ba('0x1')]['clear'](),this[_0x17ba('0x4')]();}[_0x17ba('0x19')](){this[_0x17ba('0xa')]=this[_0x17ba('0x10')]();}[_0x17ba('0x10')](){const _0x518b1d=this[_0x17ba('0xd')];if(_0x76682e(_0x518b1d)){const _0x146c49=_0x518b1d[_0x17ba('0x8')]()[_0x17ba('0xb')](0x0),_0x20525b=_0x518b1d['offsetParent'];if(!_0x146c49||!_0x20525b)return!0x1;}return!0x0;}[_0x17ba('0x2')](){const _0x2762aa=this['target'];if(!(null===_0x2762aa||_0x2762aa instanceof _0x2c09cb||_0x76682e(_0x2762aa)))throw new _0x147e75(_0x17ba('0xf'),null,{'target':_0x2762aa});}}_0x22d224(W,_0x501d58);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6239=['listenTo','blur','delete','getByInnerView','clear','sort','view','left','remove','_focusTracker','annotationcollection-not-existing-item','getByView','refreshPositioning','focusTracker','get','getIndex','change:isFocused','isFocused','destroy','length','_getOrderInContent','set','add','stopListening','targetRect','focusableElements','has','innerView','from','fire','_viewToAnnotation','focus','_innerViewToAnnotation'];(function(_0x23461a,_0x6239ed){const _0x4b10f3=function(_0x4bc498){while(--_0x4bc498){_0x23461a['push'](_0x23461a['shift']());}};_0x4b10f3(++_0x6239ed);}(_0x6239,0xf8));const _0x4b10=function(_0x23461a,_0x6239ed){_0x23461a=_0x23461a-0x0;let _0x4b10f3=_0x6239[_0x23461a];return _0x4b10f3;};import{CKEditorError as _0x2626b9,Collection as _0x4d184b,FocusTracker as _0x1f8475}from'ckeditor5/src/utils';export default class x extends _0x4d184b{constructor(_0x2f1b7b=[]){super(),this[_0x4b10('0xf')]=new Map(),this[_0x4b10('0xd')]=new Map(),this[_0x4b10('0x19')]=new _0x1f8475(),this['_focusTracker']['on'](_0x4b10('0x20'),(_0x358ac4,_0x7b52d8,_0x43edcc)=>{_0x43edcc||this[_0x4b10('0xc')](_0x4b10('0x11'));});for(const _0x5ce581 of _0x2f1b7b)this['add'](_0x5ce581);}get[_0x4b10('0x0')](){return this[_0x4b10('0x19')][_0x4b10('0x0')];}['add'](_0x4c6b92){if(this[_0x4b10('0x9')](_0x4c6b92))throw new _0x2626b9('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation'][_0x4b10('0x4')](_0x4c6b92['innerView'],_0x4c6b92),this['_viewToAnnotation'][_0x4b10('0x4')](_0x4c6b92[_0x4b10('0x16')],_0x4c6b92);for(const _0xdcec84 of _0x4c6b92[_0x4b10('0x8')])this[_0x4b10('0x19')][_0x4b10('0x5')](_0xdcec84);this[_0x4b10('0x10')](_0x4c6b92[_0x4b10('0x8')],'add',(_0x1a5642,_0x3a327c)=>{this['_focusTracker']['add'](_0x3a327c);}),this['listenTo'](_0x4c6b92[_0x4b10('0x8')],'remove',(_0x3a241b,_0x46a82f)=>{this[_0x4b10('0x19')][_0x4b10('0x18')](_0x46a82f);}),this[_0x4b10('0x10')](_0x4c6b92['view'][_0x4b10('0x1d')],_0x4b10('0x20'),(_0x201759,_0x10bce7,_0x30a0f6)=>{_0x30a0f6&&this['fire'](_0x4b10('0xe'),_0x4c6b92);});const _0x53b8c4=this[_0x4b10('0x3')](_0x4c6b92);super[_0x4b10('0x5')](_0x4c6b92,_0x53b8c4),_0x4c6b92['updateTargetRect']();}[_0x4b10('0x18')](_0x3e70df){if(!this['has'](_0x3e70df))throw new _0x2626b9(_0x4b10('0x1a'),null);this[_0x4b10('0x6')](_0x3e70df[_0x4b10('0x16')]['focusTracker']),this[_0x4b10('0x6')](_0x3e70df[_0x4b10('0x8')]);for(const _0xb8501 of _0x3e70df['focusableElements'])this[_0x4b10('0x19')][_0x4b10('0x18')](_0xb8501);this[_0x4b10('0xd')]['delete'](_0x3e70df['view']),this['_innerViewToAnnotation'][_0x4b10('0x12')](_0x3e70df[_0x4b10('0xa')]),super['remove'](_0x3e70df);}[_0x4b10('0x13')](_0x43e1e4){return this['_innerViewToAnnotation'][_0x4b10('0x1e')](_0x43e1e4);}[_0x4b10('0x1b')](_0x4325b8){return this[_0x4b10('0xd')][_0x4b10('0x1e')](_0x4325b8);}[_0x4b10('0x1')](){super[_0x4b10('0x14')](),this[_0x4b10('0x6')](),this['_innerViewToAnnotation']['clear'](),this[_0x4b10('0xd')][_0x4b10('0x14')](),this[_0x4b10('0x19')][_0x4b10('0x1')]();}[_0x4b10('0x1c')](){for(const _0x300718 of this)_0x300718['updateTargetRect']();this['_sort']();}['_sort'](){const _0x307042=Array[_0x4b10('0xb')](this)[_0x4b10('0x15')]((_0x7caf42,_0x2cc358)=>y(_0x7caf42[_0x4b10('0x7')],_0x2cc358['targetRect']));for(let _0x1d8716=_0x307042[_0x4b10('0x2')]-0x1;_0x1d8716>0x0;_0x1d8716--){const _0x14e801=_0x307042[_0x1d8716];_0x1d8716!==this[_0x4b10('0x1f')](_0x14e801)&&(this[_0x4b10('0x18')](_0x14e801),this['add'](_0x14e801,_0x1d8716));}}[_0x4b10('0x3')](_0x3a968d){let _0xb9264f=0x0;const _0x53d16d=_0x3a968d['targetRect'];if(!_0x53d16d)return this['_items'][_0x4b10('0x2')];for(const _0x1df4ea of this){const _0x3bf1c4=_0x1df4ea[_0x4b10('0x7')];if(_0x3bf1c4){if(y(_0x53d16d,_0x3bf1c4)<0x0)return _0xb9264f;_0xb9264f++;}}return _0xb9264f;}}export function bindAnnotationCollections({source:_0x5b84d8,target:_0x4d8f38,filter:_0x4e10e5}){for(const _0x350bff of _0x5b84d8)_0x4e10e5(_0x350bff)&&_0x4d8f38[_0x4b10('0x5')](_0x350bff);_0x4d8f38[_0x4b10('0x10')](_0x5b84d8,'add',(_0x2ce330,_0xa238a6)=>{_0x4e10e5(_0xa238a6)&&_0x4d8f38[_0x4b10('0x5')](_0xa238a6);}),_0x4d8f38['listenTo'](_0x5b84d8,_0x4b10('0x18'),(_0x18f13a,_0x227824)=>{_0x4d8f38[_0x4b10('0x9')](_0x227824)&&_0x4d8f38[_0x4b10('0x18')](_0x227824);});}function y(_0x80fb6e,_0x20f6a8){if(null===_0x80fb6e&&null===_0x20f6a8)return 0x0;if(null===_0x80fb6e)return-0x1;if(null===_0x20f6a8)return 0x1;const _0x4782cb=_0x80fb6e['top']-_0x20f6a8['top'];return 0x0==_0x4782cb?_0x80fb6e[_0x4b10('0x17')]-_0x20f6a8[_0x4b10('0x17')]:_0x4782cb;}
23
+ const _0x301a=['innerView','getByView','isFocused','getIndex','stopListening','get','focus','annotationcollection-not-existing-item','targetRect','left','_items','blur','set','change:isFocused','_focusTracker','add','fire','view','delete','remove','sort','_getOrderInContent','length','destroy','focusTracker','listenTo','has','_innerViewToAnnotation','updateTargetRect','getByInnerView','refreshPositioning','annotationcollection-duplicated-item','clear','focusableElements','_sort','top','_viewToAnnotation'];(function(_0x2fab11,_0x301a1f){const _0x3b8900=function(_0x410cb0){while(--_0x410cb0){_0x2fab11['push'](_0x2fab11['shift']());}};_0x3b8900(++_0x301a1f);}(_0x301a,0x12c));const _0x3b89=function(_0x2fab11,_0x301a1f){_0x2fab11=_0x2fab11-0x0;let _0x3b8900=_0x301a[_0x2fab11];return _0x3b8900;};import{CKEditorError as _0x5dbadb,Collection as _0x328276,FocusTracker as _0x4051ef}from'ckeditor5/src/utils';export default class K extends _0x328276{constructor(_0x21dbfd=[]){super(),this['_innerViewToAnnotation']=new Map(),this[_0x3b89('0x20')]=new Map(),this[_0x3b89('0xa')]=new _0x4051ef(),this['_focusTracker']['on'](_0x3b89('0x9'),(_0x49f9bf,_0x12eb26,_0x41787c)=>{_0x41787c||this['fire'](_0x3b89('0x7'));});for(const _0x1e4e7f of _0x21dbfd)this[_0x3b89('0xb')](_0x1e4e7f);}get[_0x3b89('0x23')](){return this[_0x3b89('0xa')][_0x3b89('0x23')];}[_0x3b89('0xb')](_0x21ac5b){if(this['has'](_0x21ac5b))throw new _0x5dbadb(_0x3b89('0x1b'),null);this[_0x3b89('0x17')][_0x3b89('0x8')](_0x21ac5b[_0x3b89('0x21')],_0x21ac5b),this[_0x3b89('0x20')][_0x3b89('0x8')](_0x21ac5b[_0x3b89('0xd')],_0x21ac5b);for(const _0x22fe92 of _0x21ac5b[_0x3b89('0x1d')])this[_0x3b89('0xa')]['add'](_0x22fe92);this[_0x3b89('0x15')](_0x21ac5b[_0x3b89('0x1d')],_0x3b89('0xb'),(_0x957127,_0xfba690)=>{this['_focusTracker'][_0x3b89('0xb')](_0xfba690);}),this[_0x3b89('0x15')](_0x21ac5b[_0x3b89('0x1d')],_0x3b89('0xf'),(_0x1b9f7b,_0x6aec99)=>{this[_0x3b89('0xa')]['remove'](_0x6aec99);}),this[_0x3b89('0x15')](_0x21ac5b[_0x3b89('0xd')]['focusTracker'],_0x3b89('0x9'),(_0xe4e612,_0x4cc8b9,_0x578aaf)=>{_0x578aaf&&this[_0x3b89('0xc')](_0x3b89('0x2'),_0x21ac5b);});const _0xde6c37=this['_getOrderInContent'](_0x21ac5b);super['add'](_0x21ac5b,_0xde6c37),_0x21ac5b[_0x3b89('0x18')]();}[_0x3b89('0xf')](_0x1b4d06){if(!this[_0x3b89('0x16')](_0x1b4d06))throw new _0x5dbadb(_0x3b89('0x3'),null);this[_0x3b89('0x0')](_0x1b4d06[_0x3b89('0xd')][_0x3b89('0x14')]),this['stopListening'](_0x1b4d06[_0x3b89('0x1d')]);for(const _0x3c7fbd of _0x1b4d06[_0x3b89('0x1d')])this['_focusTracker'][_0x3b89('0xf')](_0x3c7fbd);this['_viewToAnnotation']['delete'](_0x1b4d06[_0x3b89('0xd')]),this['_innerViewToAnnotation'][_0x3b89('0xe')](_0x1b4d06['innerView']),super[_0x3b89('0xf')](_0x1b4d06);}[_0x3b89('0x19')](_0x261f5d){return this[_0x3b89('0x17')][_0x3b89('0x1')](_0x261f5d);}[_0x3b89('0x22')](_0x2293cf){return this[_0x3b89('0x20')][_0x3b89('0x1')](_0x2293cf);}[_0x3b89('0x13')](){super[_0x3b89('0x1c')](),this[_0x3b89('0x0')](),this[_0x3b89('0x17')][_0x3b89('0x1c')](),this[_0x3b89('0x20')][_0x3b89('0x1c')](),this['_focusTracker']['destroy']();}[_0x3b89('0x1a')](){for(const _0x57cb9a of this)_0x57cb9a[_0x3b89('0x18')]();this['_sort']();}[_0x3b89('0x1e')](){const _0x7fa241=Array['from'](this)[_0x3b89('0x10')]((_0x1e7b7a,_0x5410bf)=>Q(_0x1e7b7a[_0x3b89('0x4')],_0x5410bf[_0x3b89('0x4')]));for(let _0xbd5239=_0x7fa241[_0x3b89('0x12')]-0x1;_0xbd5239>0x0;_0xbd5239--){const _0x3b8673=_0x7fa241[_0xbd5239];_0xbd5239!==this[_0x3b89('0x24')](_0x3b8673)&&(this[_0x3b89('0xf')](_0x3b8673),this[_0x3b89('0xb')](_0x3b8673,_0xbd5239));}}[_0x3b89('0x11')](_0x1c6c60){let _0x4e838e=0x0;const _0x114213=_0x1c6c60[_0x3b89('0x4')];if(!_0x114213)return this[_0x3b89('0x6')][_0x3b89('0x12')];for(const _0x171986 of this){const _0x24e566=_0x171986['targetRect'];if(_0x24e566){if(Q(_0x114213,_0x24e566)<0x0)return _0x4e838e;_0x4e838e++;}}return _0x4e838e;}}export function bindAnnotationCollections({source:_0x1b3eb1,target:_0x199f4a,filter:_0x31b2ac}){for(const _0x40277e of _0x1b3eb1)_0x31b2ac(_0x40277e)&&_0x199f4a['add'](_0x40277e);_0x199f4a[_0x3b89('0x15')](_0x1b3eb1,_0x3b89('0xb'),(_0x17fec9,_0x40efca)=>{_0x31b2ac(_0x40efca)&&_0x199f4a[_0x3b89('0xb')](_0x40efca);}),_0x199f4a[_0x3b89('0x15')](_0x1b3eb1,_0x3b89('0xf'),(_0x57e918,_0x22856b)=>{_0x199f4a[_0x3b89('0x16')](_0x22856b)&&_0x199f4a['remove'](_0x22856b);});}function Q(_0x2695f0,_0x58a4ef){if(null===_0x2695f0&&null===_0x58a4ef)return 0x0;if(null===_0x2695f0)return-0x1;if(null===_0x58a4ef)return 0x1;const _0x53097f=_0x2695f0[_0x3b89('0x1f')]-_0x58a4ef['top'];return 0x0==_0x53097f?_0x2695f0[_0x3b89('0x5')]-_0x58a4ef['left']:_0x53097f;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59ce=['activate','fire','activeAnnotations','pluginName','change:isVisible','_removeActiveAnnotation','createAnnotationView','deactivateAll','_visibleAnnotations','refreshVisibility','Annotations','_activateAnnotation','collection','_bindAnnotationsToVisibleAnnotations','delete','add','remove','destroy','set','listenTo','has','getByInnerView','isVisible','refreshPositioning'];(function(_0x15b2b8,_0x59ce5e){const _0x16414c=function(_0xb5eeba){while(--_0xb5eeba){_0x15b2b8['push'](_0x15b2b8['shift']());}};_0x16414c(++_0x59ce5e);}(_0x59ce,0xbf));const _0x1641=function(_0x15b2b8,_0x59ce5e){_0x15b2b8=_0x15b2b8-0x0;let _0x16414c=_0x59ce[_0x15b2b8];return _0x16414c;};import{ContextPlugin as _0x29299a}from'ckeditor5/src/core';import _0x376d19 from'./annotation';import _0x44e106 from'./annotationcollection';import _0x316304 from'./view/annotationview';export default class V extends _0x29299a{static get[_0x1641('0x4')](){return _0x1641('0xb');}constructor(_0x50df98){super(_0x50df98),this[_0x1641('0xd')]=new _0x44e106(),this[_0x1641('0x9')]=new _0x44e106(),this[_0x1641('0x13')](_0x1641('0x3'),new Set()),this[_0x1641('0xe')]();}[_0x1641('0x10')](_0x1f816f){this['collection']['add'](_0x1f816f);}[_0x1641('0x11')](_0x370475){this[_0x1641('0xd')]['remove'](_0x370475),_0x370475[_0x1641('0x12')]();}['refreshVisibility'](){for(const _0x347290 of this[_0x1641('0xd')])_0x347290[_0x1641('0xa')]();}[_0x1641('0x0')](){this['_visibleAnnotations'][_0x1641('0x0')]();}[_0x1641('0x16')](_0x252a8e){return this['collection'][_0x1641('0x16')](_0x252a8e);}[_0x1641('0x8')](){this[_0x1641('0x2')]('_deactivateAllAnnotations');}[_0x1641('0x12')](){for(const _0xca92f6 of this[_0x1641('0xd')])_0xca92f6[_0x1641('0x12')]();this[_0x1641('0x9')][_0x1641('0x12')](),this[_0x1641('0xd')][_0x1641('0x12')](),super['destroy']();}[_0x1641('0x1')](_0x5ca698){this[_0x1641('0x2')](_0x1641('0xc'),_0x5ca698);}['createAnnotation'](_0x47fd55){return new _0x376d19(_0x47fd55);}[_0x1641('0x7')](_0x39865c,_0x1c65e9){return new _0x316304(_0x39865c,_0x1c65e9);}['_addActiveAnnotation'](_0x13a4b2){const _0x4a6e96=new Set(this[_0x1641('0x3')]);_0x4a6e96[_0x1641('0x10')](_0x13a4b2),this[_0x1641('0x3')]=_0x4a6e96;}[_0x1641('0x6')](_0x14bba7){const _0x27c57c=new Set(this[_0x1641('0x3')]);_0x27c57c[_0x1641('0xf')](_0x14bba7),this[_0x1641('0x3')]=_0x27c57c;}[_0x1641('0xe')](){const _0xc7a83a=this[_0x1641('0xd')],_0x232f61=this['_visibleAnnotations'];function _0x3d966a(_0x3579a3){const _0x41b961=_0x3579a3['source'];_0x41b961[_0x1641('0x17')]&&!_0x232f61[_0x1641('0x15')](_0x41b961)?_0x232f61[_0x1641('0x10')](_0x41b961):!_0x41b961[_0x1641('0x17')]&&_0x232f61[_0x1641('0x15')](_0x41b961)&&_0x232f61[_0x1641('0x11')](_0x41b961);}this[_0x1641('0x14')](_0xc7a83a,'add',(_0x113c4b,_0x2fa33a)=>{_0x2fa33a[_0x1641('0x17')]&&_0x232f61[_0x1641('0x10')](_0x2fa33a),this[_0x1641('0x14')](_0x2fa33a,'change:isVisible',_0x3d966a);}),this[_0x1641('0x14')](_0xc7a83a,_0x1641('0x11'),(_0x9eefc9,_0x577f07)=>{_0x232f61[_0x1641('0x15')](_0x577f07)&&_0x232f61[_0x1641('0x11')](_0x577f07),this['stopListening'](_0x577f07,_0x1641('0x5'),_0x3d966a);});}}
23
+ const _0x8c3d=['collection','fire','deactivateAll','stopListening','_bindAnnotationsToVisibleAnnotations','delete','destroy','_visibleAnnotations','source','Annotations','createAnnotationView','isVisible','change:isVisible','pluginName','activeAnnotations','remove','_removeActiveAnnotation','createAnnotation','listenTo','has','add','refreshPositioning','getByInnerView','_deactivateAllAnnotations','refreshVisibility','set'];(function(_0x170be6,_0x8c3d31){const _0x16e62c=function(_0x2320b7){while(--_0x2320b7){_0x170be6['push'](_0x170be6['shift']());}};_0x16e62c(++_0x8c3d31);}(_0x8c3d,0xc4));const _0x16e6=function(_0x170be6,_0x8c3d31){_0x170be6=_0x170be6-0x0;let _0x16e62c=_0x8c3d[_0x170be6];return _0x16e62c;};import{ContextPlugin as _0x307fd9}from'ckeditor5/src/core';import _0x312839 from'./annotation';import _0x559dd2 from'./annotationcollection';import _0x4d6858 from'./view/annotationview';export default class U extends _0x307fd9{static get[_0x16e6('0x19')](){return _0x16e6('0x15');}constructor(_0x171c6b){super(_0x171c6b),this[_0x16e6('0xc')]=new _0x559dd2(),this[_0x16e6('0x13')]=new _0x559dd2(),this[_0x16e6('0xb')](_0x16e6('0x0'),new Set()),this['_bindAnnotationsToVisibleAnnotations']();}[_0x16e6('0x6')](_0x3b67eb){this[_0x16e6('0xc')][_0x16e6('0x6')](_0x3b67eb);}['remove'](_0x2e09ea){this[_0x16e6('0xc')][_0x16e6('0x1')](_0x2e09ea),_0x2e09ea[_0x16e6('0x12')]();}[_0x16e6('0xa')](){for(const _0x2ef05d of this[_0x16e6('0xc')])_0x2ef05d[_0x16e6('0xa')]();}[_0x16e6('0x7')](){this[_0x16e6('0x13')][_0x16e6('0x7')]();}[_0x16e6('0x8')](_0x41d5c1){return this['collection'][_0x16e6('0x8')](_0x41d5c1);}[_0x16e6('0xe')](){this[_0x16e6('0xd')](_0x16e6('0x9'));}['destroy'](){for(const _0x175f79 of this[_0x16e6('0xc')])_0x175f79[_0x16e6('0x12')]();this[_0x16e6('0x13')][_0x16e6('0x12')](),this[_0x16e6('0xc')][_0x16e6('0x12')](),super[_0x16e6('0x12')]();}['activate'](_0x1eaa50){this[_0x16e6('0xd')]('_activateAnnotation',_0x1eaa50);}[_0x16e6('0x3')](_0xf12f05){return new _0x312839(_0xf12f05);}[_0x16e6('0x16')](_0x46c5b6,_0x37e5f9){return new _0x4d6858(_0x46c5b6,_0x37e5f9);}['_addActiveAnnotation'](_0x23a084){const _0x4760aa=new Set(this[_0x16e6('0x0')]);_0x4760aa[_0x16e6('0x6')](_0x23a084),this[_0x16e6('0x0')]=_0x4760aa;}[_0x16e6('0x2')](_0x57561){const _0x2fbc7c=new Set(this[_0x16e6('0x0')]);_0x2fbc7c[_0x16e6('0x11')](_0x57561),this[_0x16e6('0x0')]=_0x2fbc7c;}[_0x16e6('0x10')](){const _0x56d97e=this[_0x16e6('0xc')],_0x1e5482=this[_0x16e6('0x13')];function _0x9c385c(_0x33fdf2){const _0x3ced57=_0x33fdf2[_0x16e6('0x14')];_0x3ced57['isVisible']&&!_0x1e5482[_0x16e6('0x5')](_0x3ced57)?_0x1e5482[_0x16e6('0x6')](_0x3ced57):!_0x3ced57['isVisible']&&_0x1e5482[_0x16e6('0x5')](_0x3ced57)&&_0x1e5482[_0x16e6('0x1')](_0x3ced57);}this[_0x16e6('0x4')](_0x56d97e,_0x16e6('0x6'),(_0x38cf0b,_0x3e20fc)=>{_0x3e20fc[_0x16e6('0x17')]&&_0x1e5482['add'](_0x3e20fc),this[_0x16e6('0x4')](_0x3e20fc,_0x16e6('0x18'),_0x9c385c);}),this[_0x16e6('0x4')](_0x56d97e,'remove',(_0x461e75,_0x477a5b)=>{_0x1e5482[_0x16e6('0x5')](_0x477a5b)&&_0x1e5482['remove'](_0x477a5b),this[_0x16e6('0xf')](_0x477a5b,_0x16e6('0x18'),_0x9c385c);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e14=['activeAnnotations','listenTo','register','_removeActiveAnnotation','has','plugins','collection','attach','_uis','pluginName','annotationsuis-register-invalid-interface','push','destroy','_uisData','setActiveAnnotation','deactivate','find','add','function','isActive','size','switchTo','hasActive','_deactivateAllAnnotations','from','requires','get','AnnotationsUIs','set','init','deactivateAll','_setSelectedAnnotations','annotationsuis-activate-missing-ui','change:activeAnnotation','_activateAnnotation','context','delete','activate','_addActiveAnnotation','_visibleAnnotations','type','remove','refilterAnnotations','detach','_assertAnnotationDoesNotBelongToMultipleUIs','activeUIs','filter'];(function(_0x44dc65,_0x2e1455){const _0x8a12cd=function(_0x495936){while(--_0x495936){_0x44dc65['push'](_0x44dc65['shift']());}};_0x8a12cd(++_0x2e1455);}(_0x2e14,0x185));const _0x8a12=function(_0x44dc65,_0x2e1455){_0x44dc65=_0x44dc65-0x0;let _0x8a12cd=_0x2e14[_0x44dc65];return _0x8a12cd;};import{ContextPlugin as _0x22036e}from'ckeditor5/src/core';import{CKEditorError as _0x38791a}from'ckeditor5/src/utils';import _0x5e9a40,{bindAnnotationCollections as _0x42ec58}from'./annotationcollection';import _0x335386 from'./annotations';export default class I extends _0x22036e{static get[_0x8a12('0xc')](){return[_0x335386];}static get[_0x8a12('0x2b')](){return _0x8a12('0xe');}constructor(_0xd45566){super(_0xd45566),this[_0x8a12('0x20')]=new Set(),this[_0x8a12('0x2a')]=new Map(),this[_0x8a12('0x0')]=new Map();}[_0x8a12('0x10')](){const _0x29ee7b=this[_0x8a12('0x16')][_0x8a12('0x27')][_0x8a12('0xd')](_0x335386);this[_0x8a12('0x23')](_0x29ee7b,_0x8a12('0x15'),(_0x263c9d,_0x39c43d)=>{for(const _0x548c0a of this[_0x8a12('0x20')]){const _0x42ba85=this[_0x8a12('0x2a')][_0x8a12('0xd')](_0x548c0a);(0x0,this[_0x8a12('0x0')][_0x8a12('0xd')](_0x548c0a)[_0x8a12('0x21')])(_0x39c43d)&&_0x42ba85[_0x8a12('0x1')](_0x39c43d);}}),this[_0x8a12('0x23')](_0x29ee7b,_0x8a12('0xa'),()=>{for(const _0x181d75 of this[_0x8a12('0x20')]){this[_0x8a12('0x2a')][_0x8a12('0xd')](_0x181d75)[_0x8a12('0x1')](null);}}),this[_0x8a12('0x23')](_0x29ee7b[_0x8a12('0x1a')],_0x8a12('0x4'),(_0x2e87d1,_0x2dced1)=>{this[_0x8a12('0x1f')](_0x2dced1);});}[_0x8a12('0x9')](){return this[_0x8a12('0x20')][_0x8a12('0x7')]>0x0;}[_0x8a12('0x6')](_0x39daa3){return this['activeUIs'][_0x8a12('0x26')](_0x39daa3);}[_0x8a12('0x18')](_0xf840b5,_0x247229=()=>!0x0){const _0x5943d2=this[_0x8a12('0x16')][_0x8a12('0x27')]['get'](_0x335386);if(!this[_0x8a12('0x2a')][_0x8a12('0x26')](_0xf840b5))throw new _0x38791a(_0x8a12('0x13'),this,{'uiName':_0xf840b5});this[_0x8a12('0x6')](_0xf840b5)&&this[_0x8a12('0x2')](_0xf840b5),this[_0x8a12('0x20')][_0x8a12('0x4')](_0xf840b5);const _0x4b749c=new _0x5e9a40(),_0x38964d=_0x5943d2['_visibleAnnotations'];_0x42ec58({'source':_0x38964d,'target':_0x4b749c,'filter':_0x247229}),this[_0x8a12('0x0')][_0x8a12('0xf')](_0xf840b5,{'collection':_0x4b749c,'filter':_0x247229});const _0x15adf6=this['_uis'][_0x8a12('0xd')](_0xf840b5);_0x15adf6[_0x8a12('0x29')](_0x4b749c),this[_0x8a12('0x23')](_0x15adf6,_0x8a12('0x14'),(_0x412693,_0x5585f7,_0x2351bb,_0x36b7bb)=>{_0x36b7bb&&_0x5943d2[_0x8a12('0x25')](_0x36b7bb),_0x2351bb&&_0x5943d2[_0x8a12('0x19')](_0x2351bb);});}[_0x8a12('0x2')](_0x265ff8){this[_0x8a12('0x20')][_0x8a12('0x17')](_0x265ff8);const _0x3829ac=this[_0x8a12('0x2a')]['get'](_0x265ff8);_0x3829ac[_0x8a12('0x1e')](),this['stopListening'](_0x3829ac),this[_0x8a12('0x0')]['get'](_0x265ff8)[_0x8a12('0x28')][_0x8a12('0x2e')](),this['_uisData'][_0x8a12('0x17')](_0x265ff8);}[_0x8a12('0x8')](_0x2eba1d){const _0x32d79d=this['context'][_0x8a12('0x27')][_0x8a12('0xd')](_0x335386),_0x1b7495=Array[_0x8a12('0xb')](_0x32d79d[_0x8a12('0x22')])[0x0]||null;this[_0x8a12('0x11')](),this[_0x8a12('0x18')](_0x2eba1d);const _0x183112=this[_0x8a12('0x2a')][_0x8a12('0xd')](_0x2eba1d);_0x183112[_0x8a12('0x1')](_0x1b7495),_0x183112[_0x8a12('0x12')]&&_0x1b7495&&_0x183112['_setSelectedAnnotations']([_0x1b7495]);}[_0x8a12('0x11')](){for(const _0x523c96 of this[_0x8a12('0x20')])this[_0x8a12('0x2')](_0x523c96);}[_0x8a12('0x24')](_0x2e9aab,_0x567385){if(this[_0x8a12('0x2a')][_0x8a12('0x26')](_0x2e9aab))throw new _0x38791a('annotationsuis-register-already-registered');if(_0x8a12('0x5')!=typeof _0x567385[_0x8a12('0x29')]||_0x8a12('0x5')!=typeof _0x567385[_0x8a12('0x1e')]||'function'!=typeof _0x567385[_0x8a12('0x1')])throw new _0x38791a(_0x8a12('0x2c'),null);this[_0x8a12('0x2a')]['set'](_0x2e9aab,_0x567385);}[_0x8a12('0x1d')](){const _0x53b0bb=this[_0x8a12('0x16')][_0x8a12('0x27')][_0x8a12('0xd')](_0x335386)[_0x8a12('0x28')],_0x2ea31f=new Map(),_0x116942=Array[_0x8a12('0xb')](this[_0x8a12('0x20')]);for(const _0x83593e of this[_0x8a12('0x20')]){const _0x34f758=this[_0x8a12('0x0')][_0x8a12('0xd')](_0x83593e)['collection'];for(const _0x26ddac of _0x34f758)_0x2ea31f[_0x8a12('0xf')](_0x26ddac,_0x83593e);}for(const _0x5da9a1 of _0x53b0bb){const _0x301c41=_0x2ea31f[_0x8a12('0xd')](_0x5da9a1);this[_0x8a12('0x1f')](_0x5da9a1);const _0x1a86b5=_0x116942[_0x8a12('0x3')](_0x47de3c=>this['_uisData'][_0x8a12('0xd')](_0x47de3c)[_0x8a12('0x21')](_0x5da9a1));_0x301c41!==_0x1a86b5&&(_0x301c41&&this[_0x8a12('0x0')][_0x8a12('0xd')](_0x301c41)[_0x8a12('0x28')][_0x8a12('0x1c')](_0x5da9a1),_0x1a86b5&&this[_0x8a12('0x0')][_0x8a12('0xd')](_0x1a86b5)[_0x8a12('0x28')][_0x8a12('0x4')](_0x5da9a1));}}[_0x8a12('0x2e')](){this[_0x8a12('0x11')](),super[_0x8a12('0x2e')]();}[_0x8a12('0x1f')](_0x416864){const _0x1e0956=[];for(const _0x2cd6f5 of this[_0x8a12('0x20')]){(0x0,this['_uisData'][_0x8a12('0xd')](_0x2cd6f5)['filter'])(_0x416864)&&_0x1e0956[_0x8a12('0x2d')](_0x2cd6f5);}if(_0x1e0956['length']>0x1)throw new _0x38791a('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x1e0956,'annotationType':_0x416864[_0x8a12('0x1b')]});}}
23
+ const _0x1771=['has','register','hasActive','AnnotationsUIs','change:activeAnnotation','pluginName','deactivate','find','activeUIs','remove','plugins','annotationsuis-register-invalid-interface','delete','_visibleAnnotations','stopListening','annotationsuis-activate-missing-ui','set','activate','add','_assertAnnotationDoesNotBelongToMultipleUIs','annotationsuis-annotation-mismatch','switchTo','destroy','filter','function','collection','annotationsuis-register-already-registered','from','listenTo','_setSelectedAnnotations','_addActiveAnnotation','push','attach','isActive','setActiveAnnotation','_uisData','length','requires','activeAnnotations','detach','get','context','deactivateAll','_uis','_deactivateAllAnnotations'];(function(_0x2bcf04,_0x17711d){const _0x61d4d9=function(_0x25d091){while(--_0x25d091){_0x2bcf04['push'](_0x2bcf04['shift']());}};_0x61d4d9(++_0x17711d);}(_0x1771,0x11c));const _0x61d4=function(_0x2bcf04,_0x17711d){_0x2bcf04=_0x2bcf04-0x0;let _0x61d4d9=_0x1771[_0x2bcf04];return _0x61d4d9;};import{ContextPlugin as _0x2e6116}from'ckeditor5/src/core';import{CKEditorError as _0x37b069}from'ckeditor5/src/utils';import _0x389cba,{bindAnnotationCollections as _0x6370db}from'./annotationcollection';import _0x126a03 from'./annotations';export default class Y extends _0x2e6116{static get[_0x61d4('0x17')](){return[_0x126a03];}static get[_0x61d4('0x24')](){return _0x61d4('0x22');}constructor(_0x3c0e81){super(_0x3c0e81),this[_0x61d4('0x27')]=new Set(),this[_0x61d4('0x1d')]=new Map(),this[_0x61d4('0x15')]=new Map();}['init'](){const _0x347314=this[_0x61d4('0x1b')]['plugins']['get'](_0x126a03);this[_0x61d4('0xe')](_0x347314,'_activateAnnotation',(_0x52186f,_0x6cf6ed)=>{for(const _0xb77029 of this[_0x61d4('0x27')]){const _0x21af06=this[_0x61d4('0x1d')][_0x61d4('0x1a')](_0xb77029);(0x0,this[_0x61d4('0x15')][_0x61d4('0x1a')](_0xb77029)[_0x61d4('0x9')])(_0x6cf6ed)&&_0x21af06[_0x61d4('0x14')](_0x6cf6ed);}}),this[_0x61d4('0xe')](_0x347314,_0x61d4('0x1e'),()=>{for(const _0x50fba9 of this[_0x61d4('0x27')]){this['_uis'][_0x61d4('0x1a')](_0x50fba9)[_0x61d4('0x14')](null);}}),this[_0x61d4('0xe')](_0x347314[_0x61d4('0x2c')],'add',(_0x1bdcc8,_0x59e592)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x59e592);});}[_0x61d4('0x21')](){return this['activeUIs']['size']>0x0;}[_0x61d4('0x13')](_0x3d6fa8){return this[_0x61d4('0x27')][_0x61d4('0x1f')](_0x3d6fa8);}[_0x61d4('0x3')](_0x148b2a,_0x193ba5=()=>!0x0){const _0x3cb378=this[_0x61d4('0x1b')][_0x61d4('0x29')]['get'](_0x126a03);if(!this[_0x61d4('0x1d')]['has'](_0x148b2a))throw new _0x37b069(_0x61d4('0x1'),this,{'uiName':_0x148b2a});this[_0x61d4('0x13')](_0x148b2a)&&this[_0x61d4('0x25')](_0x148b2a),this[_0x61d4('0x27')][_0x61d4('0x4')](_0x148b2a);const _0x1f11bd=new _0x389cba(),_0x4d9ef4=_0x3cb378[_0x61d4('0x2c')];_0x6370db({'source':_0x4d9ef4,'target':_0x1f11bd,'filter':_0x193ba5}),this[_0x61d4('0x15')][_0x61d4('0x2')](_0x148b2a,{'collection':_0x1f11bd,'filter':_0x193ba5});const _0x13b4da=this['_uis'][_0x61d4('0x1a')](_0x148b2a);_0x13b4da[_0x61d4('0x12')](_0x1f11bd),this['listenTo'](_0x13b4da,_0x61d4('0x23'),(_0x52f0f9,_0x5d0035,_0xe70f3e,_0x225b39)=>{_0x225b39&&_0x3cb378['_removeActiveAnnotation'](_0x225b39),_0xe70f3e&&_0x3cb378[_0x61d4('0x10')](_0xe70f3e);});}[_0x61d4('0x25')](_0x1be775){this[_0x61d4('0x27')][_0x61d4('0x2b')](_0x1be775);const _0x2cbcd0=this[_0x61d4('0x1d')][_0x61d4('0x1a')](_0x1be775);_0x2cbcd0[_0x61d4('0x19')](),this[_0x61d4('0x0')](_0x2cbcd0),this[_0x61d4('0x15')][_0x61d4('0x1a')](_0x1be775)['collection'][_0x61d4('0x8')](),this[_0x61d4('0x15')]['delete'](_0x1be775);}[_0x61d4('0x7')](_0x494bbb){const _0x9042c2=this['context'][_0x61d4('0x29')]['get'](_0x126a03),_0x3c98b1=Array[_0x61d4('0xd')](_0x9042c2[_0x61d4('0x18')])[0x0]||null;this[_0x61d4('0x1c')](),this[_0x61d4('0x3')](_0x494bbb);const _0x1d278b=this[_0x61d4('0x1d')][_0x61d4('0x1a')](_0x494bbb);_0x1d278b[_0x61d4('0x14')](_0x3c98b1),_0x1d278b[_0x61d4('0xf')]&&_0x3c98b1&&_0x1d278b[_0x61d4('0xf')]([_0x3c98b1]);}[_0x61d4('0x1c')](){for(const _0x465bea of this[_0x61d4('0x27')])this[_0x61d4('0x25')](_0x465bea);}[_0x61d4('0x20')](_0x16b95c,_0x4cd60e){if(this[_0x61d4('0x1d')][_0x61d4('0x1f')](_0x16b95c))throw new _0x37b069(_0x61d4('0xc'));if(_0x61d4('0xa')!=typeof _0x4cd60e[_0x61d4('0x12')]||_0x61d4('0xa')!=typeof _0x4cd60e[_0x61d4('0x19')]||'function'!=typeof _0x4cd60e[_0x61d4('0x14')])throw new _0x37b069(_0x61d4('0x2a'),null);this['_uis'][_0x61d4('0x2')](_0x16b95c,_0x4cd60e);}['refilterAnnotations'](){const _0x455a46=this[_0x61d4('0x1b')][_0x61d4('0x29')][_0x61d4('0x1a')](_0x126a03)[_0x61d4('0xb')],_0x23be1b=new Map(),_0x2bac67=Array[_0x61d4('0xd')](this[_0x61d4('0x27')]);for(const _0x16c494 of this['activeUIs']){const _0x5a3f4e=this[_0x61d4('0x15')][_0x61d4('0x1a')](_0x16c494)[_0x61d4('0xb')];for(const _0x28b4c1 of _0x5a3f4e)_0x23be1b[_0x61d4('0x2')](_0x28b4c1,_0x16c494);}for(const _0x3dc0c5 of _0x455a46){const _0x5d80ce=_0x23be1b[_0x61d4('0x1a')](_0x3dc0c5);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x3dc0c5);const _0x1d02b8=_0x2bac67[_0x61d4('0x26')](_0x91dfbd=>this[_0x61d4('0x15')]['get'](_0x91dfbd)[_0x61d4('0x9')](_0x3dc0c5));_0x5d80ce!==_0x1d02b8&&(_0x5d80ce&&this[_0x61d4('0x15')][_0x61d4('0x1a')](_0x5d80ce)[_0x61d4('0xb')][_0x61d4('0x28')](_0x3dc0c5),_0x1d02b8&&this[_0x61d4('0x15')][_0x61d4('0x1a')](_0x1d02b8)[_0x61d4('0xb')]['add'](_0x3dc0c5));}}['destroy'](){this[_0x61d4('0x1c')](),super[_0x61d4('0x8')]();}[_0x61d4('0x5')](_0x1b2b7b){const _0x2a75fc=[];for(const _0x52f625 of this[_0x61d4('0x27')]){(0x0,this[_0x61d4('0x15')]['get'](_0x52f625)[_0x61d4('0x9')])(_0x1b2b7b)&&_0x2a75fc[_0x61d4('0x11')](_0x52f625);}if(_0x2a75fc[_0x61d4('0x16')]>0x1)throw new _0x37b069(_0x61d4('0x6'),null,{'matchedUIs':_0x2a75fc,'annotationType':_0x1b2b7b['type']});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d02=['blur','model','init','element','isReadOnly','requires','refresh','_editorAnnotationsData','remove','range','selection','document','annotation','_dataCollectors','change:range','function','fire','listenTo','uiUpdate','update','isEqual','innerView','containsRange','getOrderedSelectedAnnotations','editing','add','getRanges','push','has','change:isFocused','addSourceCollector','view','focusTracker','get','collection','delete','getByInnerView','set','cancel','EditorAnnotations','editorannotations-invalid-source-callback','from','editor','hasDomSelection','refreshSelectedViews'];(function(_0x2d6d48,_0x5d02ef){const _0x703ba7=function(_0x402c49){while(--_0x402c49){_0x2d6d48['push'](_0x2d6d48['shift']());}};_0x703ba7(++_0x5d02ef);}(_0x5d02,0x122));const _0x703b=function(_0x2d6d48,_0x5d02ef){_0x2d6d48=_0x2d6d48-0x0;let _0x703ba7=_0x5d02[_0x2d6d48];return _0x703ba7;};import{Plugin as _0x1a1860}from'ckeditor5/src/core';import{CKEditorError as _0x38bc9a}from'ckeditor5/src/utils';import{debounce as _0x2bee78}from'lodash-es';import _0x1d7938 from'./annotations';export default class k extends _0x1a1860{static get[_0x703b('0x1e')](){return[_0x1d7938];}static get['pluginName'](){return _0x703b('0x13');}constructor(_0x8812db){super(_0x8812db),this['_dataCollectors']=new Set();}[_0x703b('0x1b')](){const _0xf5ec75=this[_0x703b('0x16')],_0x2ac575=_0xf5ec75['plugins'][_0x703b('0xd')](_0x1d7938),_0x2aab64=_0xf5ec75[_0x703b('0x1a')][_0x703b('0x24')][_0x703b('0x23')],_0x232d76=_0x2bee78(()=>this[_0x703b('0x18')](),0xa);_0x2aab64['on'](_0x703b('0x27'),(_0x29d245,_0x11a404)=>{_0x11a404['directChange']&&(_0x232d76[_0x703b('0x12')](),this[_0x703b('0x18')]());}),this[_0x703b('0x2a')](_0xf5ec75[_0x703b('0x4')][_0x703b('0xb')][_0x703b('0x24')],_0x703b('0x9'),(_0x5766a2,_0x46da9f,_0x956afa)=>{_0x956afa&&_0x232d76();}),this[_0x703b('0x2a')](_0xf5ec75['ui'][_0x703b('0xc')],_0x703b('0x9'),(_0x80a00,_0x1d40d5,_0x2dbb1c)=>{_0x2dbb1c||_0xf5ec75[_0x703b('0x1d')]||this['fire'](_0x703b('0x19'),{'isAnnotationTracked':_0x3931c0=>this[_0x703b('0x20')][_0x703b('0x8')](_0x3931c0['innerView'])});}),this[_0x703b('0x2a')](this[_0x703b('0x16')]['ui'],_0x703b('0x2c'),()=>this['fire'](_0x703b('0x2b')));const _0x2814e0=new Set();this[_0x703b('0x2a')](_0x2ac575[_0x703b('0xe')],_0x703b('0x5'),(_0x103755,_0x170573)=>{for(const _0x4a1b02 of this[_0x703b('0x20')]['keys']())if(_0x4a1b02===_0x170573[_0x703b('0x1')]){_0xf5ec75['ui']['focusTracker'][_0x703b('0x5')](_0x170573[_0x703b('0xb')][_0x703b('0x1c')]),_0x2814e0[_0x703b('0x5')](_0x170573['view']);break;}}),this[_0x703b('0x2a')](_0x2ac575['collection'],_0x703b('0x21'),(_0x332075,_0x33f688)=>{_0x2814e0[_0x703b('0x8')](_0x33f688[_0x703b('0xb')])&&(_0xf5ec75['ui'][_0x703b('0xc')]['remove'](_0x33f688[_0x703b('0xb')][_0x703b('0x1c')]),_0x2814e0[_0x703b('0xf')](_0x33f688[_0x703b('0xb')]));});}[_0x703b('0x17')](){return this[_0x703b('0x16')][_0x703b('0x4')][_0x703b('0xb')][_0x703b('0x17')];}[_0x703b('0xa')](_0x255b37){if(_0x703b('0x28')!=typeof _0x255b37)throw new _0x38bc9a(_0x703b('0x14'));this[_0x703b('0x26')][_0x703b('0x5')](_0x255b37);}[_0x703b('0x18')](){this[_0x703b('0x29')](_0x703b('0x1f'));}[_0x703b('0x3')]({activeAnnotation:_0x5066fd,annotations:_0x2ec0b0}){const _0x2ae3aa=[],_0x1b9ff2=this[_0x703b('0x16')][_0x703b('0x1a')][_0x703b('0x24')][_0x703b('0x23')],_0x30e1f4=Array['from'](_0x1b9ff2[_0x703b('0x6')]());for(const [_0x278464,_0x4adb68]of this[_0x703b('0x20')]){const _0x42a665=_0x2e9969(_0x4adb68),_0x395bd0=_0x2ec0b0[_0x703b('0x10')](_0x278464);_0x42a665&&_0x395bd0&&_0x2ae3aa[_0x703b('0x7')]({'annotation':_0x395bd0,'range':_0x42a665});}function _0x2e9969(_0x1d6629){for(const _0x5a1657 of _0x1d6629)for(const _0x41e178 of _0x30e1f4)if(_0x5a1657['containsRange'](_0x41e178,!_0x1b9ff2['isCollapsed']))return _0x5a1657;return null;}return _0x2ae3aa['sort']((_0x38b417,_0xf55f6a)=>{const _0x350387=_0x38b417[_0x703b('0x22')],_0x28bdce=_0xf55f6a['range'];if(!_0x350387[_0x703b('0x0')](_0x28bdce)){if(_0x350387[_0x703b('0x2')](_0x28bdce,!0x0))return 0x1;if(_0x28bdce[_0x703b('0x2')](_0x350387,!0x0))return-0x1;}return _0x38b417['annotation']==_0x5066fd?-0x1:_0xf55f6a[_0x703b('0x25')]==_0x5066fd?0x1:0x0;})['map'](_0x101b65=>_0x101b65[_0x703b('0x25')]);}get[_0x703b('0x20')](){const _0x1d1072=new Map();for(const _0x457536 of Array[_0x703b('0x15')](this[_0x703b('0x26')]))for(const [_0x2307e7,_0xa2c4b7]of _0x457536())_0x1d1072[_0x703b('0x11')](_0x2307e7,_0xa2c4b7);return _0x1d1072;}}
23
+ const _0x1421=['listenTo','refresh','innerView','function','addSourceCollector','init','directChange','hasDomSelection','set','editorannotations-invalid-source-callback','editing','change:isFocused','remove','fire','refreshSelectedViews','getRanges','getByInnerView','collection','editor','push','model','uiUpdate','isCollapsed','_editorAnnotationsData','getOrderedSelectedAnnotations','containsRange','change:range','element','has','isReadOnly','EditorAnnotations','sort','get','add','map','annotation','range','from','plugins','_dataCollectors','isEqual','view','focusTracker','keys','selection','update','document'];(function(_0x4611c2,_0x1421b9){const _0x4d260c=function(_0xa9efca){while(--_0xa9efca){_0x4611c2['push'](_0x4611c2['shift']());}};_0x4d260c(++_0x1421b9);}(_0x1421,0x18a));const _0x4d26=function(_0x4611c2,_0x1421b9){_0x4611c2=_0x4611c2-0x0;let _0x4d260c=_0x1421[_0x4611c2];return _0x4d260c;};import{Plugin as _0x15a8a8}from'ckeditor5/src/core';import{CKEditorError as _0x9d48fc}from'ckeditor5/src/utils';import{debounce as _0x59adbf}from'lodash-es';import _0x3e3dc4 from'./annotations';export default class V extends _0x15a8a8{static get['requires'](){return[_0x3e3dc4];}static get['pluginName'](){return _0x4d26('0xc');}constructor(_0x38441b){super(_0x38441b),this[_0x4d26('0x15')]=new Set();}[_0x4d26('0x22')](){const _0x15f3c4=this[_0x4d26('0x0')],_0x426a5f=_0x15f3c4[_0x4d26('0x14')][_0x4d26('0xe')](_0x3e3dc4),_0x18cb3c=_0x15f3c4[_0x4d26('0x2')][_0x4d26('0x1c')][_0x4d26('0x1a')],_0xa20e82=_0x59adbf(()=>this[_0x4d26('0x2b')](),0xa);_0x18cb3c['on'](_0x4d26('0x8'),(_0x5d82b0,_0x43d9da)=>{_0x43d9da[_0x4d26('0x23')]&&(_0xa20e82['cancel'](),this['refreshSelectedViews']());}),this[_0x4d26('0x1d')](_0x15f3c4[_0x4d26('0x27')]['view']['document'],_0x4d26('0x28'),(_0x1c4368,_0x5b7dc6,_0x2b00b3)=>{_0x2b00b3&&_0xa20e82();}),this[_0x4d26('0x1d')](_0x15f3c4['ui'][_0x4d26('0x18')],_0x4d26('0x28'),(_0x31a3d6,_0x5e1555,_0x2909aa)=>{_0x2909aa||_0x15f3c4[_0x4d26('0xb')]||this['fire']('blur',{'isAnnotationTracked':_0xdd742e=>this[_0x4d26('0x5')][_0x4d26('0xa')](_0xdd742e['innerView'])});}),this[_0x4d26('0x1d')](this[_0x4d26('0x0')]['ui'],_0x4d26('0x1b'),()=>this['fire'](_0x4d26('0x3')));const _0x17aefd=new Set();this[_0x4d26('0x1d')](_0x426a5f[_0x4d26('0x2e')],'add',(_0x5e2160,_0x257c2c)=>{for(const _0x5c78f2 of this['_editorAnnotationsData'][_0x4d26('0x19')]())if(_0x5c78f2===_0x257c2c[_0x4d26('0x1f')]){_0x15f3c4['ui'][_0x4d26('0x18')][_0x4d26('0xf')](_0x257c2c[_0x4d26('0x17')][_0x4d26('0x9')]),_0x17aefd['add'](_0x257c2c[_0x4d26('0x17')]);break;}}),this[_0x4d26('0x1d')](_0x426a5f[_0x4d26('0x2e')],_0x4d26('0x29'),(_0x821fb8,_0x57d102)=>{_0x17aefd[_0x4d26('0xa')](_0x57d102[_0x4d26('0x17')])&&(_0x15f3c4['ui'][_0x4d26('0x18')][_0x4d26('0x29')](_0x57d102[_0x4d26('0x17')][_0x4d26('0x9')]),_0x17aefd['delete'](_0x57d102[_0x4d26('0x17')]));});}[_0x4d26('0x24')](){return this[_0x4d26('0x0')]['editing'][_0x4d26('0x17')][_0x4d26('0x24')];}[_0x4d26('0x21')](_0x283e65){if(_0x4d26('0x20')!=typeof _0x283e65)throw new _0x9d48fc(_0x4d26('0x26'));this[_0x4d26('0x15')][_0x4d26('0xf')](_0x283e65);}[_0x4d26('0x2b')](){this[_0x4d26('0x2a')](_0x4d26('0x1e'));}[_0x4d26('0x6')]({activeAnnotation:_0x453af7,annotations:_0x2f2035}){const _0x1b6ebb=[],_0x351aab=this[_0x4d26('0x0')][_0x4d26('0x2')][_0x4d26('0x1c')]['selection'],_0x21c9e8=Array[_0x4d26('0x13')](_0x351aab[_0x4d26('0x2c')]());for(const [_0x125a7f,_0x4c7b4b]of this[_0x4d26('0x5')]){const _0x4bd058=_0x1f9e1a(_0x4c7b4b),_0x2b2922=_0x2f2035[_0x4d26('0x2d')](_0x125a7f);_0x4bd058&&_0x2b2922&&_0x1b6ebb[_0x4d26('0x1')]({'annotation':_0x2b2922,'range':_0x4bd058});}function _0x1f9e1a(_0x4a0849){for(const _0x3e9234 of _0x4a0849)for(const _0x202c79 of _0x21c9e8)if(_0x3e9234[_0x4d26('0x7')](_0x202c79,!_0x351aab[_0x4d26('0x4')]))return _0x3e9234;return null;}return _0x1b6ebb[_0x4d26('0xd')]((_0x1d610c,_0x14b525)=>{const _0x403e90=_0x1d610c[_0x4d26('0x12')],_0x214ed9=_0x14b525[_0x4d26('0x12')];if(!_0x403e90[_0x4d26('0x16')](_0x214ed9)){if(_0x403e90['containsRange'](_0x214ed9,!0x0))return 0x1;if(_0x214ed9['containsRange'](_0x403e90,!0x0))return-0x1;}return _0x1d610c[_0x4d26('0x11')]==_0x453af7?-0x1:_0x14b525[_0x4d26('0x11')]==_0x453af7?0x1:0x0;})[_0x4d26('0x10')](_0x236e80=>_0x236e80[_0x4d26('0x11')]);}get[_0x4d26('0x5')](){const _0x3c8f5b=new Map();for(const _0x46f1d3 of Array[_0x4d26('0x13')](this['_dataCollectors']))for(const [_0x1a230f,_0x108079]of _0x46f1d3())_0x3c8f5b[_0x4d26('0x25')](_0x1a230f,_0x108079);return _0x3c8f5b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f23=['detach','view','isActive','_selectedAnnotations','change:isFocused','document','afterInit','inline','refresh','_annotations','_addAnnotationToBalloon','visibleView','change:visibleView','requires','InlineAnnotations','inlineannotations-detach-not-attached','clear','_setSelectedAnnotations','editor','get','remove','selection','_manuallyClosed','isAttached','has','getSelection','set','blur','focusTracker','includes','showStack','updatePosition','add','hasView','switchTo','context','editing','delete','isFocused','attach','inlineannotations-attach-already-attached','focus','stopListening','Esc','destroy','_removeAnnotationFromBalloon','getByView','register','activeAnnotation','listenTo','mousedown','_addedAnnotations','pluginName','_balloon','plugins','targetRect','setActiveAnnotation','getOrderedSelectedAnnotations','update','bind','hasActive'];(function(_0x574bcd,_0x2f237){const _0x430660=function(_0xa5f99a){while(--_0xa5f99a){_0x574bcd['push'](_0x574bcd['shift']());}};_0x430660(++_0x2f237);}(_0x2f23,0x1d3));const _0x4306=function(_0x574bcd,_0x2f237){_0x574bcd=_0x574bcd-0x0;let _0x430660=_0x2f23[_0x574bcd];return _0x430660;};import{Plugin as _0x2a0d6f}from'ckeditor5/src/core';import _0x1f7a83 from'./annotationsuis';import _0x18b6ef from'./editorannotations';import{ContextualBalloon as _0x347abb}from'ckeditor5/src/ui';import{MouseObserver as _0x1b8dd5}from'ckeditor5/src/engine';import{CKEditorError as _0x65f77d}from'ckeditor5/src/utils';import'./../../theme/annotation-inline.css';export default class a extends _0x2a0d6f{static get[_0x4306('0x22')](){return[_0x18b6ef,_0x347abb,_0x1f7a83];}static get[_0x4306('0xc')](){return _0x4306('0x23');}constructor(_0x81dc0d){super(_0x81dc0d),_0x81dc0d[_0x4306('0x39')][_0x4306('0x16')]['addObserver'](_0x1b8dd5),this[_0x4306('0x2c')]=!0x1,this[_0x4306('0x2f')](_0x4306('0x8'),null),this[_0x4306('0x1e')]=null,this[_0x4306('0x2b')]=new Set(),this[_0x4306('0xd')]=_0x81dc0d[_0x4306('0xe')][_0x4306('0x28')](_0x347abb),this[_0x4306('0xb')]=new Set(),this[_0x4306('0x18')]=[];}['init'](){const _0x387daa=this[_0x4306('0x27')]['plugins'][_0x4306('0x28')](_0x1f7a83);_0x387daa['context']===this[_0x4306('0x27')]&&(_0x387daa[_0x4306('0x7')](_0x4306('0x1c'),this),this[_0x4306('0x27')]['keystrokes'][_0x4306('0x2f')](_0x4306('0x3'),(_0x4759e5,_0x50c5d1)=>{const _0x2cb24f=this[_0x4306('0xd')];if(this['isAttached']&&_0x2cb24f[_0x4306('0x20')]){const _0x1ccc79=this[_0x4306('0x1e')][_0x4306('0x6')](_0x2cb24f[_0x4306('0x20')]);this['_manuallyClosed'][_0x4306('0x35')](_0x1ccc79),this['_removeAnnotationFromBalloon'](_0x1ccc79),_0x50c5d1();}}));}[_0x4306('0x1b')](){const _0x5c044b=this[_0x4306('0x27')][_0x4306('0xe')][_0x4306('0x28')](_0x1f7a83);_0x5c044b['context']===this['editor']&&(_0x5c044b[_0x4306('0x14')]()||_0x5c044b[_0x4306('0x37')]('inline'));}['setActiveAnnotation'](_0x3705b7){_0x3705b7!==this[_0x4306('0x8')]&&(this[_0x4306('0x8')]&&(this['activeAnnotation'][_0x4306('0x17')]=!0x1),_0x3705b7&&this[_0x4306('0x27')]['ui'][_0x4306('0x31')][_0x4306('0x3b')]&&(this[_0x4306('0x1f')](_0x3705b7,!0x0),_0x3705b7[_0x4306('0x17')]=!0x0),_0x3705b7||this[_0x4306('0x26')]([]),this[_0x4306('0x8')]=_0x3705b7);}[_0x4306('0x3c')](_0x4311e7){this[_0x4306('0x1e')]=_0x4311e7;const _0x55ff4d=this[_0x4306('0x27')][_0x4306('0xe')][_0x4306('0x28')](_0x1f7a83),_0x19f62e=this[_0x4306('0xd')];if(this[_0x4306('0x2c')])throw new _0x65f77d(_0x4306('0x0'),this);if(_0x55ff4d[_0x4306('0x38')]!==this['editor'])throw new _0x65f77d('inlineannotations-not-allowed-with-context',this);const _0x515239=this[_0x4306('0x27')][_0x4306('0xe')]['get']('EditorAnnotations');this[_0x4306('0x9')](_0x515239,_0x4306('0x1d'),function(){const _0x2c774b=_0x515239[_0x4306('0x11')]({'activeAnnotation':this[_0x4306('0x8')],'annotations':this[_0x4306('0x1e')]});this[_0x4306('0x26')](_0x2c774b),this['setActiveAnnotation'](_0x2c774b[0x0]||null);}[_0x4306('0x13')](this)),this[_0x4306('0x9')](_0x515239,_0x4306('0x30'),(_0x7e4748,{isAnnotationTracked:_0x45b200})=>{this['activeAnnotation']&&_0x45b200(this[_0x4306('0x8')])&&(this[_0x4306('0x26')]([]),this['setActiveAnnotation'](null));}),this[_0x4306('0x9')](this[_0x4306('0x27')]['ui'][_0x4306('0x31')],_0x4306('0x19'),(_0x41d6ee,_0x4efe7c,_0x393394)=>{_0x393394||this[_0x4306('0x10')](null);}),this[_0x4306('0x9')](_0x4311e7,_0x4306('0x29'),(_0x1bb998,_0x4612e9)=>{this[_0x4306('0x5')](_0x4612e9),_0x4612e9===this[_0x4306('0x8')]&&this[_0x4306('0x10')](null);}),this['listenTo'](_0x19f62e,_0x4306('0x21'),(_0x53008f,_0xce8f4,_0xf42d96,_0x2dfecf)=>{if(_0x2dfecf&&this[_0x4306('0x2')](_0x2dfecf),!_0xf42d96||!_0x4311e7[_0x4306('0x6')](_0xf42d96))return;const _0x3c9b6e=_0x4311e7[_0x4306('0x6')](_0xf42d96);this[_0x4306('0x9')](_0xf42d96,'change:height',()=>{_0x19f62e[_0x4306('0x34')]();}),this['listenTo'](_0xf42d96,'Esc',()=>{this[_0x4306('0x2b')][_0x4306('0x35')](_0x3c9b6e),this[_0x4306('0x5')](_0x3c9b6e),this[_0x4306('0x27')]['editing'][_0x4306('0x16')][_0x4306('0x1')]();}),this[_0x4306('0x8')]!==_0x3c9b6e&&this['setActiveAnnotation'](_0x3c9b6e);}),this[_0x4306('0x9')](this[_0x4306('0x27')]['ui'],_0x4306('0x12'),()=>{_0x19f62e[_0x4306('0x20')]&&(_0x4311e7[_0x4306('0x6')](_0x19f62e[_0x4306('0x20')])&&_0x19f62e[_0x4306('0x34')]());}),this[_0x4306('0x9')](this['editor'][_0x4306('0x39')][_0x4306('0x16')][_0x4306('0x1a')],_0x4306('0xa'),()=>{this['_manuallyClosed'][_0x4306('0x25')]();}),this[_0x4306('0x27')][_0x4306('0x39')][_0x4306('0x16')][_0x4306('0x1a')][_0x4306('0x2a')]['editableElement']&&this[_0x4306('0x27')]['editing'][_0x4306('0x16')]['focus'](),this[_0x4306('0x2c')]=!0x0;}['detach'](){if(!this[_0x4306('0x2c')])throw new _0x65f77d(_0x4306('0x24'),this);this[_0x4306('0x10')](null);for(const _0x468cbb of this[_0x4306('0xb')])this['_removeAnnotationFromBalloon'](_0x468cbb);this[_0x4306('0x2')](),this[_0x4306('0x2c')]=!0x1;}[_0x4306('0x4')](){this[_0x4306('0x2c')]&&this[_0x4306('0x15')]();}['_setSelectedAnnotations'](_0x5574df){const _0x304462=this[_0x4306('0x18')];for(const _0x2e4875 of _0x304462)_0x5574df['includes'](_0x2e4875)||this['_manuallyClosed']['delete'](_0x2e4875);for(const _0x240efe of this['_annotations'])_0x5574df[_0x4306('0x32')](_0x240efe)||this['_removeAnnotationFromBalloon'](_0x240efe);if(this[_0x4306('0x27')]['ui'][_0x4306('0x31')][_0x4306('0x3b')])for(const _0x29165f of _0x5574df)this[_0x4306('0x1f')](_0x29165f);this[_0x4306('0x18')]=_0x5574df;}['_addAnnotationToBalloon'](_0x38f435,_0x3e2bc2){this['_manuallyClosed'][_0x4306('0x2d')](_0x38f435)||(this['_addedAnnotations']['has'](_0x38f435)||this['_balloon'][_0x4306('0x36')](_0x38f435[_0x4306('0x16')])||(this[_0x4306('0xb')][_0x4306('0x35')](_0x38f435),this[_0x4306('0xd')]['add']({'stackId':_0x38f435[_0x4306('0x16')]['id'],'view':_0x38f435[_0x4306('0x16')],'position':{'target':()=>_0x38f435['target']||_0x38f435[_0x4306('0xf')]||document[_0x4306('0x2e')]()['getRangeAt'](0x0)}})),_0x3e2bc2&&this['_balloon'][_0x4306('0x33')](_0x38f435[_0x4306('0x16')]['id']));}['_removeAnnotationFromBalloon'](_0x12df3a){this[_0x4306('0xb')][_0x4306('0x2d')](_0x12df3a)&&this[_0x4306('0xd')][_0x4306('0x36')](_0x12df3a[_0x4306('0x16')])&&(this[_0x4306('0xb')][_0x4306('0x3a')](_0x12df3a),this['_balloon'][_0x4306('0x29')](_0x12df3a[_0x4306('0x16')]));}}
23
+ const _0x3396=['attach','_balloon','getByView','isFocused','isAttached','delete','mousedown','has','listenTo','showStack','Esc','init','editor','visibleView','get','includes','change:visibleView','refresh','context','inlineannotations-not-allowed-with-context','_addAnnotationToBalloon','afterInit','requires','hasActive','addObserver','target','plugins','_annotations','stopListening','document','update','remove','focus','_addedAnnotations','getSelection','inlineannotations-attach-already-attached','targetRect','keystrokes','set','detach','setActiveAnnotation','editing','activeAnnotation','focusTracker','isActive','bind','updatePosition','destroy','selection','getRangeAt','view','hasView','register','pluginName','_removeAnnotationFromBalloon','blur','_selectedAnnotations','_manuallyClosed','switchTo','InlineAnnotations','add','_setSelectedAnnotations'];(function(_0x378820,_0x3396a9){const _0x1aa174=function(_0x132818){while(--_0x132818){_0x378820['push'](_0x378820['shift']());}};_0x1aa174(++_0x3396a9);}(_0x3396,0x14d));const _0x1aa1=function(_0x378820,_0x3396a9){_0x378820=_0x378820-0x0;let _0x1aa174=_0x3396[_0x378820];return _0x1aa174;};import{Plugin as _0x50ef1d}from'ckeditor5/src/core';import _0x3ddb93 from'./annotationsuis';import _0x27b9c8 from'./editorannotations';import{ContextualBalloon as _0x313f07}from'ckeditor5/src/ui';import{MouseObserver as _0x1b0bf3}from'ckeditor5/src/engine';import{CKEditorError as _0x359701}from'ckeditor5/src/utils';import'./../../theme/annotation-inline.css';export default class a extends _0x50ef1d{static get[_0x1aa1('0x3d')](){return[_0x27b9c8,_0x313f07,_0x3ddb93];}static get[_0x1aa1('0x1e')](){return _0x1aa1('0x24');}constructor(_0x4a052f){super(_0x4a052f),_0x4a052f[_0x1aa1('0x12')][_0x1aa1('0x1b')][_0x1aa1('0x1')](_0x1b0bf3),this[_0x1aa1('0x2b')]=!0x1,this[_0x1aa1('0xf')](_0x1aa1('0x13'),null),this[_0x1aa1('0x4')]=null,this[_0x1aa1('0x22')]=new Set(),this[_0x1aa1('0x28')]=_0x4a052f[_0x1aa1('0x3')][_0x1aa1('0x35')](_0x313f07),this[_0x1aa1('0xa')]=new Set(),this[_0x1aa1('0x21')]=[];}[_0x1aa1('0x32')](){const _0x42a92c=this['editor'][_0x1aa1('0x3')][_0x1aa1('0x35')](_0x3ddb93);_0x42a92c[_0x1aa1('0x39')]===this[_0x1aa1('0x33')]&&(_0x42a92c[_0x1aa1('0x1d')]('inline',this),this[_0x1aa1('0x33')][_0x1aa1('0xe')]['set'](_0x1aa1('0x31'),(_0x371adb,_0x11c624)=>{const _0x3d25d0=this['_balloon'];if(this[_0x1aa1('0x2b')]&&_0x3d25d0[_0x1aa1('0x34')]){const _0x44e13b=this[_0x1aa1('0x4')][_0x1aa1('0x29')](_0x3d25d0[_0x1aa1('0x34')]);this[_0x1aa1('0x22')]['add'](_0x44e13b),this[_0x1aa1('0x1f')](_0x44e13b),_0x11c624();}}));}[_0x1aa1('0x3c')](){const _0x3aa2b6=this[_0x1aa1('0x33')][_0x1aa1('0x3')][_0x1aa1('0x35')](_0x3ddb93);_0x3aa2b6[_0x1aa1('0x39')]===this[_0x1aa1('0x33')]&&(_0x3aa2b6[_0x1aa1('0x0')]()||_0x3aa2b6[_0x1aa1('0x23')]('inline'));}[_0x1aa1('0x11')](_0x19a911){_0x19a911!==this[_0x1aa1('0x13')]&&(this[_0x1aa1('0x13')]&&(this[_0x1aa1('0x13')]['isActive']=!0x1),_0x19a911&&this[_0x1aa1('0x33')]['ui'][_0x1aa1('0x14')][_0x1aa1('0x2a')]&&(this[_0x1aa1('0x3b')](_0x19a911,!0x0),_0x19a911[_0x1aa1('0x15')]=!0x0),_0x19a911||this[_0x1aa1('0x26')]([]),this['activeAnnotation']=_0x19a911);}[_0x1aa1('0x27')](_0x523145){this[_0x1aa1('0x4')]=_0x523145;const _0x1e733d=this[_0x1aa1('0x33')][_0x1aa1('0x3')][_0x1aa1('0x35')](_0x3ddb93),_0x16a6b0=this[_0x1aa1('0x28')];if(this['isAttached'])throw new _0x359701(_0x1aa1('0xc'),this);if(_0x1e733d[_0x1aa1('0x39')]!==this[_0x1aa1('0x33')])throw new _0x359701(_0x1aa1('0x3a'),this);const _0xa2e466=this['editor']['plugins'][_0x1aa1('0x35')]('EditorAnnotations');this[_0x1aa1('0x2f')](_0xa2e466,_0x1aa1('0x38'),function(){const _0x330cbf=_0xa2e466['getOrderedSelectedAnnotations']({'activeAnnotation':this['activeAnnotation'],'annotations':this[_0x1aa1('0x4')]});this[_0x1aa1('0x26')](_0x330cbf),this['setActiveAnnotation'](_0x330cbf[0x0]||null);}[_0x1aa1('0x16')](this)),this['listenTo'](_0xa2e466,_0x1aa1('0x20'),(_0x14da7d,{isAnnotationTracked:_0xcde918})=>{this[_0x1aa1('0x13')]&&_0xcde918(this[_0x1aa1('0x13')])&&(this[_0x1aa1('0x26')]([]),this['setActiveAnnotation'](null));}),this[_0x1aa1('0x2f')](this[_0x1aa1('0x33')]['ui'][_0x1aa1('0x14')],'change:isFocused',(_0x363942,_0x7168de,_0x58f2d8)=>{_0x58f2d8||this[_0x1aa1('0x11')](null);}),this[_0x1aa1('0x2f')](_0x523145,'remove',(_0x47506c,_0x9cc996)=>{this[_0x1aa1('0x1f')](_0x9cc996),_0x9cc996===this[_0x1aa1('0x13')]&&this[_0x1aa1('0x11')](null);}),this[_0x1aa1('0x2f')](_0x16a6b0,_0x1aa1('0x37'),(_0x1bfeaf,_0x16eced,_0x544133,_0x4e3939)=>{if(_0x4e3939&&this['stopListening'](_0x4e3939),!_0x544133||!_0x523145['getByView'](_0x544133))return;const _0x506383=_0x523145[_0x1aa1('0x29')](_0x544133);this[_0x1aa1('0x2f')](_0x544133,'change:height',()=>{_0x16a6b0[_0x1aa1('0x17')]();}),this['listenTo'](_0x544133,'Esc',()=>{this[_0x1aa1('0x22')][_0x1aa1('0x25')](_0x506383),this[_0x1aa1('0x1f')](_0x506383),this[_0x1aa1('0x33')][_0x1aa1('0x12')]['view'][_0x1aa1('0x9')]();}),this['activeAnnotation']!==_0x506383&&this['setActiveAnnotation'](_0x506383);}),this[_0x1aa1('0x2f')](this[_0x1aa1('0x33')]['ui'],_0x1aa1('0x7'),()=>{_0x16a6b0[_0x1aa1('0x34')]&&(_0x523145['getByView'](_0x16a6b0[_0x1aa1('0x34')])&&_0x16a6b0[_0x1aa1('0x17')]());}),this['listenTo'](this[_0x1aa1('0x33')][_0x1aa1('0x12')][_0x1aa1('0x1b')][_0x1aa1('0x6')],_0x1aa1('0x2d'),()=>{this[_0x1aa1('0x22')]['clear']();}),this[_0x1aa1('0x33')][_0x1aa1('0x12')][_0x1aa1('0x1b')]['document'][_0x1aa1('0x19')]['editableElement']&&this[_0x1aa1('0x33')][_0x1aa1('0x12')][_0x1aa1('0x1b')][_0x1aa1('0x9')](),this[_0x1aa1('0x2b')]=!0x0;}[_0x1aa1('0x10')](){if(!this['isAttached'])throw new _0x359701('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x365e6b of this[_0x1aa1('0xa')])this[_0x1aa1('0x1f')](_0x365e6b);this[_0x1aa1('0x5')](),this[_0x1aa1('0x2b')]=!0x1;}[_0x1aa1('0x18')](){this['isAttached']&&this[_0x1aa1('0x10')]();}[_0x1aa1('0x26')](_0x2b0f3c){const _0x2ccfc6=this[_0x1aa1('0x21')];for(const _0x887737 of _0x2ccfc6)_0x2b0f3c[_0x1aa1('0x36')](_0x887737)||this['_manuallyClosed'][_0x1aa1('0x2c')](_0x887737);for(const _0xc1ef31 of this[_0x1aa1('0x4')])_0x2b0f3c[_0x1aa1('0x36')](_0xc1ef31)||this['_removeAnnotationFromBalloon'](_0xc1ef31);if(this[_0x1aa1('0x33')]['ui'][_0x1aa1('0x14')][_0x1aa1('0x2a')])for(const _0xa395cb of _0x2b0f3c)this[_0x1aa1('0x3b')](_0xa395cb);this[_0x1aa1('0x21')]=_0x2b0f3c;}['_addAnnotationToBalloon'](_0x4de5c5,_0x454de9){this[_0x1aa1('0x22')][_0x1aa1('0x2e')](_0x4de5c5)||(this[_0x1aa1('0xa')][_0x1aa1('0x2e')](_0x4de5c5)||this[_0x1aa1('0x28')][_0x1aa1('0x1c')](_0x4de5c5[_0x1aa1('0x1b')])||(this[_0x1aa1('0xa')][_0x1aa1('0x25')](_0x4de5c5),this[_0x1aa1('0x28')][_0x1aa1('0x25')]({'stackId':_0x4de5c5[_0x1aa1('0x1b')]['id'],'view':_0x4de5c5['view'],'position':{'target':()=>_0x4de5c5[_0x1aa1('0x2')]||_0x4de5c5[_0x1aa1('0xd')]||document[_0x1aa1('0xb')]()[_0x1aa1('0x1a')](0x0)}})),_0x454de9&&this[_0x1aa1('0x28')][_0x1aa1('0x30')](_0x4de5c5[_0x1aa1('0x1b')]['id']));}[_0x1aa1('0x1f')](_0x20a9ee){this[_0x1aa1('0xa')]['has'](_0x20a9ee)&&this['_balloon'][_0x1aa1('0x1c')](_0x20a9ee['view'])&&(this[_0x1aa1('0xa')][_0x1aa1('0x2c')](_0x20a9ee),this['_balloon'][_0x1aa1('0x8')](_0x20a9ee[_0x1aa1('0x1b')]));}}