@ckeditor/ckeditor5-comments 47.3.0-alpha.6 → 47.3.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.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +19 -19
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2884a8=>{const {zh:{dictionary:_0x444e80,getPluralForm:_0x1af813}}={'zh':{'dictionary':{'Comment\x20editor':'留言編輯器','NUMBER_OF_COMMENTS':'%0\x20則留言','TOO_LONG_COMMENT_ALERT':'留言內容太長。你的留言有\x20%0\x20個字,上限字數為\x20%1。','Reply...':'回覆...','Reply\x20to\x20reopen\x20discussion...':'回覆以重新開啟討論...','Write\x20a\x20comment...':'撰寫留言...','Comment\x20was\x20made\x20on\x20an\x20element':'對元件進行的留言','Edit':'編輯','Resolve':'解決','Reopen':'重新開啟','Remove':'刪除','Reply':'回覆','Delete\x20comment?':'刪除留言?','Delete\x20comment\x20thread?':'刪除討論串?','Marked\x20as\x20resolved':'已標記為解決','Comment':'留言','Annotations\x20sidebar':'註釋側邊欄','Annotations\x20list':'註釋清單','Thread\x20comments':'討論串留言','THREAD_CONTEXT_LABEL':'討論串脈絡:%0','COMMENT_THREAD_LABEL':'留言討論串發起人:%1。%1\x20則回覆。','COMMENT_THREAD_DESCRIPTION':'按\x20Enter\x20鍵可取得更多選項。按\x20Esc\x20鍵即可退出。','COMMENT_ARIA_LABEL':'留言者:%0。建立時間:%1。%2。%3','COMMENTS_ARCHIVE_LIST_LABEL':'留言清單','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':'能夠與註釋討論串互動的按鍵輸入(例如留言、追蹤變更建議)','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':'當選取範圍錨定於其標記處時,將焦點移至討論串','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':'離開註釋並將焦點移回已編輯的內容','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':'瀏覽已聚焦的註釋討論串或討論串留言','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':'在註釋討論串內部移動','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':'在撰寫留言時提交回覆','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':'移至註釋側邊欄或留言封存中的上一個或下一個討論串','ENTER_COMMENT_ANNOUNCEMENT':'正在進入含有留言的內容。按\x20%0\x20即可前往討論區。','LEAVE_COMMENT_ANNOUNCEMENT':'正在離開含有留言的內容。','PENDING_ACTION_COMMENT_THREAD':'討論串尚未儲存。','EXTERNAL_COMMENT':'此留言來自外部來源。','EXTERNAL_IMPORT_WORD_COMMENT':'此留言來自匯入的\x20Word\x20檔案。','EXTERNAL_AVATAR':'顯示的作者名稱來自外部來源(由\x20%0\x20新增)','EXTERNAL_IMPORT_WORD_AVATAR':'顯示的作者名稱來自由\x20%0\x20匯入的\x20Word\x20文件','COMMENTS_ARCHIVE':'留言封存紀錄','EMPTY_COMMENTS_ARCHIVE':'無封存的留言串。'},'getPluralForm':_0x105e3a=>0x0}};_0x2884a8['zh']||={'dictionary':{},'getPluralForm':null},_0x2884a8['zh']['dictionary']=Object['assign'](_0x2884a8['zh']['dictionary'],_0x444e80),_0x2884a8['zh']['getPluralForm']=_0x1af813;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "47.3.0
|
|
3
|
+
"version": "47.3.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/)",
|
|
@@ -45,24 +45,24 @@
|
|
|
45
45
|
"CHANGELOG.md"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@ckeditor/ckeditor5-clipboard": "47.3.0
|
|
49
|
-
"@ckeditor/ckeditor5-collaboration-core": "47.3.0
|
|
50
|
-
"@ckeditor/ckeditor5-core": "47.3.0
|
|
51
|
-
"@ckeditor/ckeditor5-engine": "47.3.0
|
|
52
|
-
"@ckeditor/ckeditor5-enter": "47.3.0
|
|
53
|
-
"@ckeditor/ckeditor5-icons": "47.3.0
|
|
54
|
-
"@ckeditor/ckeditor5-paragraph": "47.3.0
|
|
55
|
-
"@ckeditor/ckeditor5-revision-history": "47.3.0
|
|
56
|
-
"@ckeditor/ckeditor5-select-all": "47.3.0
|
|
57
|
-
"@ckeditor/ckeditor5-source-editing": "47.3.0
|
|
58
|
-
"@ckeditor/ckeditor5-theme-lark": "47.3.0
|
|
59
|
-
"@ckeditor/ckeditor5-typing": "47.3.0
|
|
60
|
-
"@ckeditor/ckeditor5-ui": "47.3.0
|
|
61
|
-
"@ckeditor/ckeditor5-undo": "47.3.0
|
|
62
|
-
"@ckeditor/ckeditor5-utils": "47.3.0
|
|
63
|
-
"@ckeditor/ckeditor5-widget": "47.3.0
|
|
64
|
-
"ckeditor5": "47.3.0
|
|
65
|
-
"ckeditor5-collaboration": "47.3.0
|
|
48
|
+
"@ckeditor/ckeditor5-clipboard": "47.3.0",
|
|
49
|
+
"@ckeditor/ckeditor5-collaboration-core": "47.3.0",
|
|
50
|
+
"@ckeditor/ckeditor5-core": "47.3.0",
|
|
51
|
+
"@ckeditor/ckeditor5-engine": "47.3.0",
|
|
52
|
+
"@ckeditor/ckeditor5-enter": "47.3.0",
|
|
53
|
+
"@ckeditor/ckeditor5-icons": "47.3.0",
|
|
54
|
+
"@ckeditor/ckeditor5-paragraph": "47.3.0",
|
|
55
|
+
"@ckeditor/ckeditor5-revision-history": "47.3.0",
|
|
56
|
+
"@ckeditor/ckeditor5-select-all": "47.3.0",
|
|
57
|
+
"@ckeditor/ckeditor5-source-editing": "47.3.0",
|
|
58
|
+
"@ckeditor/ckeditor5-theme-lark": "47.3.0",
|
|
59
|
+
"@ckeditor/ckeditor5-typing": "47.3.0",
|
|
60
|
+
"@ckeditor/ckeditor5-ui": "47.3.0",
|
|
61
|
+
"@ckeditor/ckeditor5-undo": "47.3.0",
|
|
62
|
+
"@ckeditor/ckeditor5-utils": "47.3.0",
|
|
63
|
+
"@ckeditor/ckeditor5-widget": "47.3.0",
|
|
64
|
+
"ckeditor5": "47.3.0",
|
|
65
|
+
"ckeditor5-collaboration": "47.3.0",
|
|
66
66
|
"es-toolkit": "1.39.5"
|
|
67
67
|
},
|
|
68
68
|
"types": "src/index.d.ts",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x29c56b=_0x66e5;(function(_0x42a756,_0x2c1d5c){const _0x23786e=_0x66e5,_0x108072=_0x42a756();while(!![]){try{const _0x176e81=parseInt(_0x23786e(0xf2))/0x1*(parseInt(_0x23786e(0xe8))/0x2)+-parseInt(_0x23786e(0xde))/0x3*(parseInt(_0x23786e(0xf8))/0x4)+parseInt(_0x23786e(0xd8))/0x5*(-parseInt(_0x23786e(0xe6))/0x6)+-parseInt(_0x23786e(0xdc))/0x7+-parseInt(_0x23786e(0xe9))/0x8+parseInt(_0x23786e(0xd5))/0x9+parseInt(_0x23786e(0xf1))/0xa*(parseInt(_0x23786e(0xf0))/0xb);if(_0x176e81===_0x2c1d5c)break;else _0x108072['push'](_0x108072['shift']());}catch(_0x5cfe6a){_0x108072['push'](_0x108072['shift']());}}}(_0x2e6c,0xe2d6a));import{CKEditorError as _0x4c2086,Rect as _0x20ee0f,Collection as _0x4eccdf,ObservableMixin as _0x4f0c56}from'ckeditor5/src/utils.js';function _0x66e5(_0x55caac,_0x59dbb7){const _0x2e6c89=_0x2e6c();return _0x66e5=function(_0x66e5f7,_0x27a6e6){_0x66e5f7=_0x66e5f7-0xcd;let _0x1dcf92=_0x2e6c89[_0x66e5f7];return _0x1dcf92;},_0x66e5(_0x55caac,_0x59dbb7);}export class Annotation extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4f0c56(){[_0x29c56b(0xe5)];[_0x29c56b(0xe3)];[_0x29c56b(0xd7)];[_0x29c56b(0xed)];constructor({view:_0x598b26,target:_0x3a2466,type:_0x36dafd,isVisible:_0x4f5e51=!0x0}){const _0x4cf191=_0x29c56b;super(),this[_0x4cf191(0xe5)]=_0x598b26,this[_0x4cf191(0xe5)][_0x4cf191(0xea)]||this[_0x4cf191(0xe5)][_0x4cf191(0xf5)](),this[_0x4cf191(0xd7)]=_0x36dafd,this[_0x4cf191(0xed)]=_0x3a2466,Annotation[_0x4cf191(0xf6)](this[_0x4cf191(0xf3)]()),this[_0x4cf191(0xe3)]=new _0x4eccdf([this[_0x4cf191(0xe5)][_0x4cf191(0xea)]],{'idProperty':_0x4cf191(0xd9)}),this[_0x4cf191(0xe3)]['on'](_0x4cf191(0xdb),(_0x7e15bf,_0x1c85a9)=>{const _0x563090=_0x4cf191;this[_0x563090(0xe5)][_0x563090(0xe7)][_0x563090(0xdb)](_0x1c85a9);}),this[_0x4cf191(0xe3)]['on'](_0x4cf191(0xf9),(_0x51bc02,_0x203242)=>{const _0xdd147b=_0x4cf191;this[_0xdd147b(0xe5)][_0xdd147b(0xe7)][_0xdd147b(0xf9)](_0x203242);}),this[_0x4cf191(0xe1)](_0x4cf191(0xdd),_0x4f5e51);}get[_0x29c56b(0xda)](){const _0x4c465a=_0x29c56b;return _0x4c465a(0xef)==typeof this[_0x4c465a(0xd7)]?this[_0x4c465a(0xd7)]():this[_0x4c465a(0xd7)];}get[_0x29c56b(0xec)](){const _0x167313=_0x29c56b;return this[_0x167313(0xe5)][_0x167313(0xcf)];}get[_0x29c56b(0xe4)](){const _0x557206=_0x29c56b,_0x4f9613=this[_0x557206(0xf3)]();return Annotation[_0x557206(0xf6)](_0x4f9613),_0x4f9613;}get[_0x29c56b(0xd3)](){const _0x2947f9=_0x29c56b,_0x78247f=this[_0x2947f9(0xe4)];if(null===_0x78247f)return null;if(_0x78247f instanceof _0x20ee0f)return _0x78247f;const _0x35aeb1=_0x78247f[_0x2947f9(0xd1)](_0x53ec7b=>function(_0x35414c){const _0x1d93de=_0x2947f9,_0x5bad0a=_0x35414c[_0x1d93de(0xe2)];if(_0x5bad0a)return!0x0;const _0x2faf35=_0x35414c[_0x1d93de(0xfa)]()[_0x1d93de(0xe0)](0x0);return!!_0x2faf35;}(_0x53ec7b));return 0x0===_0x35aeb1[_0x2947f9(0xf4)]?null:new _0x20ee0f(_0x35aeb1[0x0][_0x2947f9(0xfa)]()[_0x2947f9(0xe0)](0x0));}get[_0x29c56b(0xeb)](){const _0x24a5a8=_0x29c56b;return this[_0x24a5a8(0xe5)][_0x24a5a8(0xeb)];}set[_0x29c56b(0xeb)](_0x5888fd){const _0x414f00=_0x29c56b;this[_0x414f00(0xe5)][_0x414f00(0xeb)]=_0x5888fd,this[_0x414f00(0xe5)][_0x414f00(0xcf)][_0x414f00(0xeb)]=_0x5888fd;}[_0x29c56b(0xd4)](){const _0x3cbb3d=_0x29c56b;this[_0x3cbb3d(0xe5)][_0x3cbb3d(0xd3)]=this[_0x3cbb3d(0xd3)];}[_0x29c56b(0xfb)](){const _0x4ce9d7=_0x29c56b;this[_0x4ce9d7(0xe3)][_0x4ce9d7(0xee)](),this[_0x4ce9d7(0xe3)][_0x4ce9d7(0xd0)](),this[_0x4ce9d7(0xee)]();}[_0x29c56b(0xd6)](){const _0x5efe40=_0x29c56b;this[_0x5efe40(0xdd)]=!!this[_0x5efe40(0xd3)];}static[_0x29c56b(0xf6)](_0x3f4263){const _0x133d14=_0x29c56b;if(!(null===_0x3f4263||_0x3f4263 instanceof _0x20ee0f||Array[_0x133d14(0xd2)](_0x3f4263)&&_0x3f4263[_0x133d14(0xcd)](_0x1280eb=>g(_0x1280eb))))throw new _0x4c2086(_0x133d14(0xf7),null,{'target':_0x3f4263});}[_0x29c56b(0xf3)](){const _0x386a4c=_0x29c56b,_0x1e2c33=_0x386a4c(0xef)==typeof this[_0x386a4c(0xed)]?this[_0x386a4c(0xed)]():this[_0x386a4c(0xed)];return g(_0x1e2c33)?[_0x1e2c33]:_0x1e2c33;}}function g(_0x2ff9eb){const _0x1de856=_0x29c56b;return null!==_0x2ff9eb&&_0x1de856(0xce)==typeof _0x2ff9eb&&_0x1de856(0xdf)in _0x2ff9eb&&0x1===_0x2ff9eb[_0x1de856(0xdf)];}function _0x2e6c(){const _0x1bbc45=['function','3740913swIhCI','80VFxSvq','933767kfhoTN','_getNormalizedTarget','length','render','_assertCorrectTarget','annotation-invalid-target','4jSswwH','remove','getClientRects','destroy','every','object','mainView','clear','filter','isArray','targetRect','updateTargetRect','1256184JRvZdW','refreshVisibility','_type','5ygtdUz','_id','type','add','2716623WWdgpP','isVisible','1288509NDETLn','nodeType','item','set','offsetParent','focusableElements','target','view','7330374wejoAX','focusTracker','2udVPMx','6604448hJwDIw','element','isActive','innerView','_target','stopListening'];_0x2e6c=function(){return _0x1bbc45;};return _0x2e6c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4e9e(_0x220ba1,_0x1b5452){const _0x597aa2=_0x597a();return _0x4e9e=function(_0x4e9eae,_0x42346a){_0x4e9eae=_0x4e9eae-0x114;let _0x1bc026=_0x597aa2[_0x4e9eae];return _0x1bc026;},_0x4e9e(_0x220ba1,_0x1b5452);}const _0x3c8d57=_0x4e9e;(function(_0x5ee397,_0xeab6ec){const _0x4c4f3c=_0x4e9e,_0x3a78e5=_0x5ee397();while(!![]){try{const _0x2aca98=parseInt(_0x4c4f3c(0x13e))/0x1+parseInt(_0x4c4f3c(0x123))/0x2+parseInt(_0x4c4f3c(0x11f))/0x3+parseInt(_0x4c4f3c(0x135))/0x4+parseInt(_0x4c4f3c(0x131))/0x5*(-parseInt(_0x4c4f3c(0x115))/0x6)+-parseInt(_0x4c4f3c(0x11c))/0x7+parseInt(_0x4c4f3c(0x12d))/0x8*(-parseInt(_0x4c4f3c(0x126))/0x9);if(_0x2aca98===_0xeab6ec)break;else _0x3a78e5['push'](_0x3a78e5['shift']());}catch(_0xbe5f52){_0x3a78e5['push'](_0x3a78e5['shift']());}}}(_0x597a,0x39a61));import{CKEditorError as _0x4d5e00,Collection as _0x46fdd1,FocusTracker as _0x5cf4ce}from'ckeditor5/src/utils.js';function _0x597a(){const _0x1dc9f5=['remove','sort','view','focusableElements','updateTargetRect','length','refreshPositioning','221148BfcMUJ','delete','set','listenTo','get','1718862JVtRnk','getByView','focus','add','annotationcollection-duplicated-item','top','left','1238132OEuWee','clear','_getOrderInContent','1222146tGeDBL','_viewToAnnotation','from','_innerViewToAnnotation','1930GmIRaH','focusTracker','annotationcollection-not-existing-item','9MQnsgk','stopListening','getIndex','has','fire','change:isFocused','isFocused','2186264FHoZvw','getByInnerView','innerView','targetRect','5PbWgOi','destroy','_focusTracker','blur','1373080ILKzrm','_sort'];_0x597a=function(){return _0x1dc9f5;};return _0x597a();}export class AnnotationCollection extends _0x46fdd1{[_0x3c8d57(0x122)];[_0x3c8d57(0x120)];[_0x3c8d57(0x133)];constructor(_0x369676=[]){const _0x1a0177=_0x3c8d57;super(),this[_0x1a0177(0x122)]=new Map(),this[_0x1a0177(0x120)]=new Map(),this[_0x1a0177(0x133)]=new _0x5cf4ce(),this[_0x1a0177(0x133)]['on'](_0x1a0177(0x12b),(_0x7a9098,_0x11fe21,_0x13b02c)=>{const _0x46205d=_0x1a0177;_0x13b02c||this[_0x46205d(0x12a)](_0x46205d(0x134));});for(const _0x138c75 of _0x369676)this[_0x1a0177(0x118)](_0x138c75);}get[_0x3c8d57(0x12c)](){const _0x175ff6=_0x3c8d57;return this[_0x175ff6(0x133)][_0x175ff6(0x12c)];}[_0x3c8d57(0x118)](_0x542862){const _0x5c5ba9=_0x3c8d57;if(this[_0x5c5ba9(0x129)](_0x542862))throw new _0x4d5e00(_0x5c5ba9(0x119),null);this[_0x5c5ba9(0x122)][_0x5c5ba9(0x140)](_0x542862[_0x5c5ba9(0x12f)],_0x542862),this[_0x5c5ba9(0x120)][_0x5c5ba9(0x140)](_0x542862[_0x5c5ba9(0x139)],_0x542862);for(const _0x2f2fdf of _0x542862[_0x5c5ba9(0x13a)])this[_0x5c5ba9(0x133)][_0x5c5ba9(0x118)](_0x2f2fdf);this[_0x5c5ba9(0x141)](_0x542862[_0x5c5ba9(0x13a)],_0x5c5ba9(0x118),(_0x1a71bf,_0x281d67)=>{const _0x3c8af7=_0x5c5ba9;this[_0x3c8af7(0x133)][_0x3c8af7(0x118)](_0x281d67);}),this[_0x5c5ba9(0x141)](_0x542862[_0x5c5ba9(0x13a)],_0x5c5ba9(0x137),(_0x1bf791,_0x3ee957)=>{const _0x16cfab=_0x5c5ba9;this[_0x16cfab(0x133)][_0x16cfab(0x137)](_0x3ee957);}),this[_0x5c5ba9(0x141)](_0x542862[_0x5c5ba9(0x139)][_0x5c5ba9(0x124)],_0x5c5ba9(0x12b),(_0x2f06ad,_0x2e86ce,_0x18d720)=>{const _0x4d1238=_0x5c5ba9;_0x18d720&&this[_0x4d1238(0x12a)](_0x4d1238(0x117),_0x542862);}),_0x542862[_0x5c5ba9(0x13b)]();const _0x33cc80=this[_0x5c5ba9(0x11e)](_0x542862[_0x5c5ba9(0x139)][_0x5c5ba9(0x130)]);return super[_0x5c5ba9(0x118)](_0x542862,_0x33cc80);}[_0x3c8d57(0x137)](_0x7adc81){const _0x483f76=_0x3c8d57;if(!this[_0x483f76(0x129)](_0x7adc81))throw new _0x4d5e00(_0x483f76(0x125),null);this[_0x483f76(0x127)](_0x7adc81[_0x483f76(0x139)][_0x483f76(0x124)]),this[_0x483f76(0x127)](_0x7adc81[_0x483f76(0x13a)]);for(const _0x4f0469 of _0x7adc81[_0x483f76(0x13a)])this[_0x483f76(0x133)][_0x483f76(0x137)](_0x4f0469);return this[_0x483f76(0x120)][_0x483f76(0x13f)](_0x7adc81[_0x483f76(0x139)]),this[_0x483f76(0x122)][_0x483f76(0x13f)](_0x7adc81[_0x483f76(0x12f)]),super[_0x483f76(0x137)](_0x7adc81);}[_0x3c8d57(0x12e)](_0x24abe8){const _0x580082=_0x3c8d57;return this[_0x580082(0x122)][_0x580082(0x114)](_0x24abe8);}[_0x3c8d57(0x116)](_0x35c26e){const _0x588042=_0x3c8d57;return this[_0x588042(0x120)][_0x588042(0x114)](_0x35c26e);}[_0x3c8d57(0x132)](){const _0x3c76da=_0x3c8d57;super[_0x3c76da(0x11d)](),this[_0x3c76da(0x127)](),this[_0x3c76da(0x122)][_0x3c76da(0x11d)](),this[_0x3c76da(0x120)][_0x3c76da(0x11d)](),this[_0x3c76da(0x133)][_0x3c76da(0x132)]();}[_0x3c8d57(0x13d)](){const _0x4baad3=_0x3c8d57;for(const _0x426fff of this)_0x426fff[_0x4baad3(0x13b)]();this[_0x4baad3(0x136)]();}[_0x3c8d57(0x136)](){const _0x2e86c7=_0x3c8d57,_0x57f8f5=Array[_0x2e86c7(0x121)](this)[_0x2e86c7(0x138)]((_0x43e11f,_0x52dbd6)=>w(_0x43e11f[_0x2e86c7(0x139)][_0x2e86c7(0x130)],_0x52dbd6[_0x2e86c7(0x139)][_0x2e86c7(0x130)]));for(let _0x11c263=_0x57f8f5[_0x2e86c7(0x13c)]-0x1;_0x11c263>0x0;_0x11c263--){const _0x83d358=_0x57f8f5[_0x11c263];_0x11c263!==this[_0x2e86c7(0x128)](_0x83d358)&&(this[_0x2e86c7(0x137)](_0x83d358),this[_0x2e86c7(0x118)](_0x83d358));}}[_0x3c8d57(0x11e)](_0x1088ef){const _0x50217d=_0x3c8d57;let _0x574486=0x0;if(!_0x1088ef)return this[_0x50217d(0x13c)];for(const _0x29a0a8 of this){const _0x2acde3=_0x29a0a8[_0x50217d(0x139)][_0x50217d(0x130)];if(_0x2acde3){if(w(_0x1088ef,_0x2acde3)<0x0)return _0x574486;_0x574486++;}}return _0x574486;}}export function bindAnnotationCollections({source:_0x40ea08,target:_0x4a935a,filter:_0x2ef8ab}){const _0xb07b5a=_0x3c8d57;for(const _0x30ffdf of _0x40ea08)_0x2ef8ab(_0x30ffdf)&&_0x4a935a[_0xb07b5a(0x118)](_0x30ffdf);_0x4a935a[_0xb07b5a(0x141)](_0x40ea08,_0xb07b5a(0x118),(_0xbea0af,_0x262a5c)=>{const _0x50850f=_0xb07b5a;_0x2ef8ab(_0x262a5c)&&_0x4a935a[_0x50850f(0x118)](_0x262a5c);}),_0x4a935a[_0xb07b5a(0x141)](_0x40ea08,_0xb07b5a(0x137),(_0x2a0cef,_0x555aa1)=>{const _0x1e1d74=_0xb07b5a;_0x4a935a[_0x1e1d74(0x129)](_0x555aa1)&&_0x4a935a[_0x1e1d74(0x137)](_0x555aa1);});}function w(_0x1786cd,_0x1b9af5){const _0x5ad11e=_0x3c8d57;if(null===_0x1786cd&&null===_0x1b9af5)return 0x0;if(null===_0x1786cd)return-0x1;if(null===_0x1b9af5)return 0x1;const _0x277380=_0x1786cd[_0x5ad11e(0x11a)]-_0x1b9af5[_0x5ad11e(0x11a)];return 0x0==_0x277380?_0x1786cd[_0x5ad11e(0x11b)]-_0x1b9af5[_0x5ad11e(0x11b)]:_0x277380;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1db9cb=_0x1655;function _0x1655(_0x202d20,_0x2365c6){const _0x598af8=_0x598a();return _0x1655=function(_0x165512,_0x42ad19){_0x165512=_0x165512-0x179;let _0x409ab8=_0x598af8[_0x165512];return _0x409ab8;},_0x1655(_0x202d20,_0x2365c6);}(function(_0x4209de,_0x483146){const _0x1e2a6d=_0x1655,_0x3d766b=_0x4209de();while(!![]){try{const _0x1c8a2e=parseInt(_0x1e2a6d(0x1a7))/0x1+parseInt(_0x1e2a6d(0x19e))/0x2+parseInt(_0x1e2a6d(0x19d))/0x3+parseInt(_0x1e2a6d(0x1a3))/0x4*(-parseInt(_0x1e2a6d(0x18e))/0x5)+parseInt(_0x1e2a6d(0x1af))/0x6*(parseInt(_0x1e2a6d(0x183))/0x7)+parseInt(_0x1e2a6d(0x1c6))/0x8+-parseInt(_0x1e2a6d(0x1aa))/0x9*(parseInt(_0x1e2a6d(0x1ab))/0xa);if(_0x1c8a2e===_0x483146)break;else _0x3d766b['push'](_0x3d766b['shift']());}catch(_0x3d89b9){_0x3d766b['push'](_0x3d766b['shift']());}}}(_0x598a,0x4eb19));import{ContextPlugin as _0x31af80,Editor as _0x5a3eca}from'ckeditor5/src/core.js';import{first as _0xbc0c32}from'ckeditor5/src/utils.js';import{Annotation as _0x42bb38}from'./annotation.js';import{AnnotationCollection as _0x5cb228}from'./annotationcollection.js';import{AnnotationView as _0x3b0d68}from'./view/annotationview.js';import{getTranslation as _0x4062ad}from'../utils/common-translations.js';import{FOCUS_ANNOTATION_KEYSTROKE as _0x544913}from'@ckeditor/ckeditor5-collaboration-core';export class Annotations extends _0x31af80{[_0x1db9cb(0x199)];[_0x1db9cb(0x1b7)];static get[_0x1db9cb(0x1a4)](){const _0x373aab=_0x1db9cb;return _0x373aab(0x198);}static get[_0x1db9cb(0x1c2)](){return!0x0;}static get[_0x1db9cb(0x1b4)](){return!0x0;}constructor(_0x4c6a35){const _0x309710=_0x1db9cb;if(super(_0x4c6a35),this[_0x309710(0x199)]=new _0x5cb228(),this[_0x309710(0x1b7)]=new _0x5cb228(),this[_0x309710(0x1a2)](_0x309710(0x182),new Set()),this[_0x309710(0x1b1)](),_0x4c6a35 instanceof _0x5a3eca){const _0x489351=_0x4c6a35[_0x309710(0x19b)];_0x4c6a35[_0x309710(0x1ae)][_0x309710(0x1ad)]({'id':_0x309710(0x1ac),'label':_0x4062ad(_0x489351,_0x309710(0x1bc)),'keystrokes':[{'label':_0x4062ad(_0x489351,_0x309710(0x1c5)),'keystroke':_0x309710(0x1c1)},{'label':_0x4062ad(_0x489351,_0x309710(0x17d)),'keystroke':_0x309710(0x195)},{'label':_0x4062ad(_0x489351,_0x309710(0x196)),'keystroke':_0x309710(0x1b6)},{'label':_0x4062ad(_0x489351,_0x309710(0x1b3)),'keystroke':[[_0x309710(0x1b0)],[_0x309710(0x193)]]},{'label':_0x4062ad(_0x489351,_0x309710(0x18f)),'keystroke':[_0x309710(0x1b9)]},{'label':_0x4062ad(_0x489351,_0x309710(0x184)),'keystroke':[[_0x309710(0x17f)],[_0x309710(0x186)]]}]});}this[_0x309710(0x1a8)](),this[_0x309710(0x194)]();}[_0x1db9cb(0x1a1)](_0x28d358){const _0x7dc14a=_0x1db9cb;this[_0x7dc14a(0x199)][_0x7dc14a(0x1a1)](_0x28d358);}[_0x1db9cb(0x18a)](_0x8641cd){const _0x2ffd8a=_0x1db9cb;this[_0x2ffd8a(0x199)][_0x2ffd8a(0x18a)](_0x8641cd),_0x8641cd[_0x2ffd8a(0x1a5)]();}[_0x1db9cb(0x1c0)](){const _0x15337f=_0x1db9cb;for(const _0x280655 of this[_0x15337f(0x199)])_0x280655[_0x15337f(0x1c0)]();}[_0x1db9cb(0x191)](){const _0x3dfd61=_0x1db9cb;this[_0x3dfd61(0x1b7)][_0x3dfd61(0x191)]();}[_0x1db9cb(0x17c)](_0xf2e1bf){const _0x59de42=_0x1db9cb;return this[_0x59de42(0x199)][_0x59de42(0x17c)](_0xf2e1bf);}[_0x1db9cb(0x189)](){const _0x1731a1=_0x1db9cb;this[_0x1731a1(0x188)](_0x1731a1(0x1b2));}[_0x1db9cb(0x1a5)](){const _0x14f7c2=_0x1db9cb;for(const _0x1fc758 of this[_0x14f7c2(0x199)])_0x1fc758[_0x14f7c2(0x1a5)]();this[_0x14f7c2(0x1b7)][_0x14f7c2(0x1a5)](),this[_0x14f7c2(0x199)][_0x14f7c2(0x1a5)](),super[_0x14f7c2(0x1a5)]();}[_0x1db9cb(0x17e)](_0x3f513f){const _0x17f6f3=_0x1db9cb;this[_0x17f6f3(0x188)](_0x17f6f3(0x1a6),_0x3f513f);}[_0x1db9cb(0x18b)](_0x483cea){return new _0x42bb38(_0x483cea);}[_0x1db9cb(0x180)](_0x5c3d3b,_0x3dd289){return new _0x3b0d68(_0x5c3d3b,_0x3dd289);}[_0x1db9cb(0x187)](_0x1ac73a){const _0x51edda=_0x1db9cb,_0x1bd9a9=new Set(this[_0x51edda(0x182)]);_0x1bd9a9[_0x51edda(0x1a1)](_0x1ac73a),this[_0x51edda(0x182)]=_0x1bd9a9;}[_0x1db9cb(0x1b8)](_0xbe94a3){const _0x3a456b=_0x1db9cb,_0x1939ec=new Set(this[_0x3a456b(0x182)]);_0x1939ec[_0x3a456b(0x1c3)](_0xbe94a3),this[_0x3a456b(0x182)]=_0x1939ec;}[_0x1db9cb(0x1b1)](){const _0x4a949a=_0x1db9cb,_0xefcb3c=this[_0x4a949a(0x199)],_0x5af82d=this[_0x4a949a(0x1b7)];function _0x1e03a5(_0xa36271){const _0x48cc54=_0x4a949a,_0x551385=_0xa36271[_0x48cc54(0x181)];_0x551385[_0x48cc54(0x1bb)]&&!_0x5af82d[_0x48cc54(0x1c4)](_0x551385)?_0x5af82d[_0x48cc54(0x1a1)](_0x551385):!_0x551385[_0x48cc54(0x1bb)]&&_0x5af82d[_0x48cc54(0x1c4)](_0x551385)&&_0x5af82d[_0x48cc54(0x18a)](_0x551385),_0x551385[_0x48cc54(0x1b5)][_0x48cc54(0x19a)][_0x48cc54(0x18a)](_0x551385[_0x48cc54(0x1b5)][_0x48cc54(0x1a0)]),_0x551385[_0x48cc54(0x1b5)][_0x48cc54(0x19a)][_0x48cc54(0x1a1)](_0x551385[_0x48cc54(0x1b5)][_0x48cc54(0x1a0)]);}this[_0x4a949a(0x19f)](_0xefcb3c,_0x4a949a(0x1a1),(_0x51de14,_0x428c3c)=>{const _0x3380cb=_0x4a949a;_0x428c3c[_0x3380cb(0x1bb)]&&_0x5af82d[_0x3380cb(0x1a1)](_0x428c3c),this[_0x3380cb(0x19f)](_0x428c3c,_0x3380cb(0x19c),_0x1e03a5);}),this[_0x4a949a(0x19f)](_0xefcb3c,_0x4a949a(0x18a),(_0x32841b,_0x27c4ce)=>{const _0x26dabd=_0x4a949a;_0x5af82d[_0x26dabd(0x1c4)](_0x27c4ce)&&_0x5af82d[_0x26dabd(0x18a)](_0x27c4ce),this[_0x26dabd(0x1be)](_0x27c4ce,_0x26dabd(0x19c),_0x1e03a5);});}[_0x1db9cb(0x1a8)](){const _0x120bfe=_0x1db9cb,_0x46eafa=_0x5dfa37=>{const _0x43667b=_0x1655;_0x5dfa37['on'](_0x43667b(0x185),()=>{const _0x57744b=_0x43667b;_0x5dfa37[_0x57744b(0x17a)][_0x57744b(0x1a2)](_0x544913,(_0xb646df,_0x465fa3)=>{const _0x519f76=_0x57744b,_0x2895f9=_0xbc0c32(this[_0x519f76(0x182)][_0x519f76(0x18c)]());_0x2895f9&&(_0x2895f9[_0x519f76(0x1b5)][_0x519f76(0x197)](),_0x465fa3());});});};this[_0x120bfe(0x18d)]instanceof _0x5a3eca?_0x46eafa(this[_0x120bfe(0x18d)]):this[_0x120bfe(0x18d)][_0x120bfe(0x179)]&&this[_0x120bfe(0x18d)][_0x120bfe(0x179)]['on'](_0x120bfe(0x1a1),(_0x1c7be3,_0x258267)=>{_0x46eafa(_0x258267);});}[_0x1db9cb(0x194)](){const _0x51f98b=_0x1db9cb,_0x27a41b=_0x9e9bb9=>{const _0x27e98b=_0x1655,_0x3ec3d6=_0x9e9bb9[_0x27e98b(0x181)],_0x15f994=[];let _0xbc7111;if(Array[_0x27e98b(0x1bf)](_0x3ec3d6[_0x27e98b(0x1ba)])){_0xbc7111=_0x3ec3d6[_0x27e98b(0x1ba)][0x0],this[_0x27e98b(0x18d)]instanceof _0x5a3eca?_0x15f994[_0x27e98b(0x1bd)](this[_0x27e98b(0x18d)]):this[_0x27e98b(0x18d)][_0x27e98b(0x179)]&&_0x15f994[_0x27e98b(0x1bd)](...this[_0x27e98b(0x18d)][_0x27e98b(0x179)]);for(const _0x208d10 of _0x15f994)for(const _0x228457 of _0x208d10[_0x27e98b(0x17b)][_0x27e98b(0x1b5)][_0x27e98b(0x1a9)][_0x27e98b(0x18c)]())if(_0x228457[_0x27e98b(0x192)](_0xbc7111))return void _0x208d10[_0x27e98b(0x17b)][_0x27e98b(0x1b5)][_0x27e98b(0x197)]();_0xbc7111[_0x27e98b(0x197)]();}};this[_0x51f98b(0x19f)](this[_0x51f98b(0x199)],_0x51f98b(0x1a1),(_0xcc34c3,_0xe733db)=>{const _0x4efb80=_0x51f98b;this[_0x4efb80(0x19f)](_0xe733db,_0x4efb80(0x190),_0x27a41b,{'priority':_0x4efb80(0x1c7)});}),this[_0x51f98b(0x19f)](this[_0x51f98b(0x199)],_0x51f98b(0x18a),(_0x59c342,_0x30c094)=>{const _0x5e93fb=_0x51f98b;this[_0x5e93fb(0x1be)](_0x30c094,_0x5e93fb(0x190),_0x27a41b);});}}function _0x598a(){const _0x59fd78=['delete','has','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO','4090232VDRyur','low','editors','keystrokes','editing','getByInnerView','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT','activate','Arrowup','createAnnotationView','source','activeAnnotations','7qBmHUL','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS','ready','Arrowdown','_addActiveAnnotation','fire','deactivateAll','remove','createAnnotation','values','context','5gLYHgO','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT','escape','refreshPositioning','contains','Shift+Tab','_setupEscapeAnnotationHandling','Esc','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER','focus','Annotations','collection','focusTracker','locale','change:isVisible','1217805yTQwLp','645270jPuKjw','listenTo','element','add','set','1485464QPoRNW','pluginName','destroy','_activateAnnotation','574585LtJjrj','_setupEnterAnnotationKeystroke','domRoots','1422XKUXKJ','92500uZzGvD','annotations','addKeystrokeInfoGroup','accessibility','2044566QEPxPh','Tab','_bindAnnotationsToVisibleAnnotations','_deactivateAllAnnotations','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS','isPremiumPlugin','view','Enter','_visibleAnnotations','_removeActiveAnnotation','Ctrl+Enter','target','isVisible','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP','push','stopListening','isArray','refreshVisibility','Ctrl+Shift+E','isOfficialPlugin'];_0x598a=function(){return _0x59fd78;};return _0x598a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd9a966=_0x30db;function _0x1c8b(){const _0x2e9fa8=['82014RNQbJS','stopListening','delete','24DNUCki','_addActiveAnnotation','pluginName','requires','attach','activate','uisData','isActive','annotationsuis-register-already-registered','624597RpSHgp','activeAnnotations','push','792621ciOXtI','3731370KcWCGH','init','filter','find','1134904FXlNRK','deactivateAll','_activateAnnotation','isOfficialPlugin','72940IFXGpB','change:activeAnnotation','_setSelectedAnnotations','annotationsuis-annotation-mismatch','size','annotationsuis-register-invalid-interface','remove','type','setActiveAnnotation','plugins','annotationsuis-missing-ui','hasActive','_visibleAnnotations','collection','7XyQvba','context','activeUIs','from','has','register','length','isPremiumPlugin','switchTo','AnnotationsUIs','deactivate','_deactivateAllAnnotations','detach','_uis','add','refilterAnnotations','listenTo','destroy','get','1SMBmuF','defaultFilter','31562iIYZQz','set','_assertAnnotationDoesNotBelongToMultipleUIs','function','_removeActiveAnnotation'];_0x1c8b=function(){return _0x2e9fa8;};return _0x1c8b();}(function(_0x51b17a,_0x3c0bfe){const _0x300d35=_0x30db,_0x63728b=_0x51b17a();while(!![]){try{const _0x3dec1a=parseInt(_0x300d35(0xcf))/0x1*(parseInt(_0x300d35(0xd1))/0x2)+parseInt(_0x300d35(0xe2))/0x3+parseInt(_0x300d35(0xd9))/0x4*(parseInt(_0x300d35(0xee))/0x5)+-parseInt(_0x300d35(0xd6))/0x6*(parseInt(_0x300d35(0xfc))/0x7)+parseInt(_0x300d35(0xea))/0x8+parseInt(_0x300d35(0xe5))/0x9+-parseInt(_0x300d35(0xe6))/0xa;if(_0x3dec1a===_0x3c0bfe)break;else _0x63728b['push'](_0x63728b['shift']());}catch(_0x24ccfe){_0x63728b['push'](_0x63728b['shift']());}}}(_0x1c8b,0x25c0a));import{ContextPlugin as _0x5cbf01}from'ckeditor5/src/core.js';import{CKEditorError as _0x18037d}from'ckeditor5/src/utils.js';function _0x30db(_0x32f69f,_0x3be50e){const _0x1c8bed=_0x1c8b();return _0x30db=function(_0x30db12,_0xd93e61){_0x30db12=_0x30db12-0xc0;let _0x181b31=_0x1c8bed[_0x30db12];return _0x181b31;},_0x30db(_0x32f69f,_0x3be50e);}import{AnnotationCollection as _0x3ddbfa,bindAnnotationCollections as _0x29aea8}from'./annotationcollection.js';import{Annotations as _0x4832a6}from'./annotations.js';export class AnnotationsUIs extends _0x5cbf01{[_0xd9a966(0xfe)];[_0xd9a966(0xdf)];[_0xd9a966(0xc9)];static get[_0xd9a966(0xdc)](){return[_0x4832a6];}static get[_0xd9a966(0xdb)](){const _0x196686=_0xd9a966;return _0x196686(0xc5);}static get[_0xd9a966(0xed)](){return!0x0;}static get[_0xd9a966(0xc3)](){return!0x0;}constructor(_0x20f130){const _0x5f1006=_0xd9a966;super(_0x20f130),this[_0x5f1006(0xfe)]=new Set(),this[_0x5f1006(0xc9)]=new Map(),this[_0x5f1006(0xdf)]=new Map();}[_0xd9a966(0xe7)](){const _0x29f857=_0xd9a966,_0x148bd0=this[_0x29f857(0xfd)][_0x29f857(0xf7)][_0x29f857(0xce)](_0x4832a6);this[_0x29f857(0xcc)](_0x148bd0,_0x29f857(0xec),(_0x229b8b,_0x18b216)=>{const _0x295c93=_0x29f857;for(const _0x389710 of this[_0x295c93(0xfe)]){const _0x5c31f9=this[_0x295c93(0xc9)][_0x295c93(0xce)](_0x389710);(0x0,this[_0x295c93(0xdf)][_0x295c93(0xce)](_0x389710)[_0x295c93(0xe8)])(_0x18b216)&&_0x5c31f9[_0x295c93(0xf6)](_0x18b216);}}),this[_0x29f857(0xcc)](_0x148bd0,_0x29f857(0xc7),()=>{const _0x29ef7b=_0x29f857;for(const _0x4fe8e1 of this[_0x29ef7b(0xfe)]){this[_0x29ef7b(0xc9)][_0x29ef7b(0xce)](_0x4fe8e1)[_0x29ef7b(0xf6)](null);}}),this[_0x29f857(0xcc)](_0x148bd0[_0x29f857(0xfa)],_0x29f857(0xca),(_0x4bf0a9,_0x5cc50d)=>{const _0x225b28=_0x29f857;this[_0x225b28(0xd3)](_0x5cc50d);});}[_0xd9a966(0xf9)](){const _0x24f68a=_0xd9a966;return this[_0x24f68a(0xfe)][_0x24f68a(0xf2)]>0x0;}[_0xd9a966(0xe0)](_0x20bf5e){const _0x39a97a=_0xd9a966;return this[_0x39a97a(0xfe)][_0x39a97a(0xc0)](_0x20bf5e);}[_0xd9a966(0xde)](_0x3dab95,_0x5273a6=this[_0xd9a966(0xd0)]){const _0x40dfef=_0xd9a966,_0x3a339e=this[_0x40dfef(0xfd)][_0x40dfef(0xf7)][_0x40dfef(0xce)](_0x4832a6);if(!this[_0x40dfef(0xc9)][_0x40dfef(0xc0)](_0x3dab95))throw new _0x18037d(_0x40dfef(0xf8),this,{'uiName':_0x3dab95});this[_0x40dfef(0xe0)](_0x3dab95)&&this[_0x40dfef(0xc6)](_0x3dab95),this[_0x40dfef(0xfe)][_0x40dfef(0xca)](_0x3dab95);const _0x5973f9=new _0x3ddbfa(),_0x39943f=_0x3a339e[_0x40dfef(0xfa)];_0x29aea8({'source':_0x39943f,'target':_0x5973f9,'filter':_0x5273a6}),this[_0x40dfef(0xdf)][_0x40dfef(0xd2)](_0x3dab95,{'collection':_0x5973f9,'filter':_0x5273a6});const _0x11307f=this[_0x40dfef(0xc9)][_0x40dfef(0xce)](_0x3dab95);_0x11307f[_0x40dfef(0xdd)](_0x5973f9),this[_0x40dfef(0xcc)](_0x11307f,_0x40dfef(0xef),(_0x51177,_0x18a7e9,_0x14f5dd,_0x3ec149)=>{const _0x3fb711=_0x40dfef;_0x3ec149&&_0x3a339e[_0x3fb711(0xd5)](_0x3ec149),_0x14f5dd&&_0x3a339e[_0x3fb711(0xda)](_0x14f5dd);});}[_0xd9a966(0xc6)](_0x1a75e4){const _0x4f5c1d=_0xd9a966;if(this[_0x4f5c1d(0xfe)][_0x4f5c1d(0xd8)](_0x1a75e4),!this[_0x4f5c1d(0xc9)][_0x4f5c1d(0xc0)](_0x1a75e4))throw new _0x18037d(_0x4f5c1d(0xf8),this,{'uiName':_0x1a75e4});const _0xdc854a=this[_0x4f5c1d(0xc9)][_0x4f5c1d(0xce)](_0x1a75e4);_0xdc854a[_0x4f5c1d(0xc8)](),this[_0x4f5c1d(0xd7)](_0xdc854a),this[_0x4f5c1d(0xdf)][_0x4f5c1d(0xce)](_0x1a75e4)[_0x4f5c1d(0xfb)][_0x4f5c1d(0xcd)](),this[_0x4f5c1d(0xdf)][_0x4f5c1d(0xd8)](_0x1a75e4);}[_0xd9a966(0xc4)](_0x5dfb36){const _0x1d33ce=_0xd9a966;if(!this[_0x1d33ce(0xc9)][_0x1d33ce(0xc0)](_0x5dfb36))throw new _0x18037d(_0x1d33ce(0xf8),this,{'uiName':_0x5dfb36});const _0x2d4667=this[_0x1d33ce(0xfd)][_0x1d33ce(0xf7)][_0x1d33ce(0xce)](_0x4832a6),_0x252113=Array[_0x1d33ce(0xff)](_0x2d4667[_0x1d33ce(0xe3)])[0x0]||null;this[_0x1d33ce(0xeb)](),this[_0x1d33ce(0xde)](_0x5dfb36);const _0x4f65f8=this[_0x1d33ce(0xc9)][_0x1d33ce(0xce)](_0x5dfb36);_0x4f65f8[_0x1d33ce(0xf6)](_0x252113),_0x4f65f8[_0x1d33ce(0xf0)]&&_0x252113&&_0x4f65f8[_0x1d33ce(0xf0)]([_0x252113]);}[_0xd9a966(0xeb)](){const _0x555ccf=_0xd9a966;for(const _0x13974a of this[_0x555ccf(0xfe)])this[_0x555ccf(0xc6)](_0x13974a);}[_0xd9a966(0xc1)](_0x53cfd6,_0x475fc1){const _0x51446e=_0xd9a966;if(this[_0x51446e(0xc9)][_0x51446e(0xc0)](_0x53cfd6))throw new _0x18037d(_0x51446e(0xe1));if(_0x51446e(0xd4)!=typeof _0x475fc1[_0x51446e(0xdd)]||_0x51446e(0xd4)!=typeof _0x475fc1[_0x51446e(0xc8)]||_0x51446e(0xd4)!=typeof _0x475fc1[_0x51446e(0xf6)])throw new _0x18037d(_0x51446e(0xf3),null);this[_0x51446e(0xc9)][_0x51446e(0xd2)](_0x53cfd6,_0x475fc1);}[_0xd9a966(0xcb)](){const _0x4a93d2=_0xd9a966,_0x5c7390=this[_0x4a93d2(0xfd)][_0x4a93d2(0xf7)][_0x4a93d2(0xce)](_0x4832a6)[_0x4a93d2(0xfb)],_0x33027a=new Map(),_0x301530=Array[_0x4a93d2(0xff)](this[_0x4a93d2(0xfe)]);for(const _0x35679d of this[_0x4a93d2(0xfe)]){const _0x953a3d=this[_0x4a93d2(0xdf)][_0x4a93d2(0xce)](_0x35679d)[_0x4a93d2(0xfb)];for(const _0x520156 of _0x953a3d)_0x33027a[_0x4a93d2(0xd2)](_0x520156,_0x35679d);}for(const _0x5981d0 of _0x5c7390){const _0x2104f2=_0x33027a[_0x4a93d2(0xce)](_0x5981d0);this[_0x4a93d2(0xd3)](_0x5981d0);const _0x38005d=_0x301530[_0x4a93d2(0xe9)](_0x5f018b=>this[_0x4a93d2(0xdf)][_0x4a93d2(0xce)](_0x5f018b)[_0x4a93d2(0xe8)](_0x5981d0));_0x2104f2!==_0x38005d&&(_0x2104f2&&this[_0x4a93d2(0xdf)][_0x4a93d2(0xce)](_0x2104f2)[_0x4a93d2(0xfb)][_0x4a93d2(0xf4)](_0x5981d0),_0x38005d&&this[_0x4a93d2(0xdf)][_0x4a93d2(0xce)](_0x38005d)[_0x4a93d2(0xfb)][_0x4a93d2(0xca)](_0x5981d0));}}[_0xd9a966(0xcd)](){const _0x39363b=_0xd9a966;this[_0x39363b(0xeb)](),super[_0x39363b(0xcd)]();}[_0xd9a966(0xd0)](){return!0x0;}[_0xd9a966(0xd3)](_0x3c52df){const _0xfe1956=_0xd9a966,_0x32d4a7=[];for(const _0x454e6e of this[_0xfe1956(0xfe)]){(0x0,this[_0xfe1956(0xdf)][_0xfe1956(0xce)](_0x454e6e)[_0xfe1956(0xe8)])(_0x3c52df)&&_0x32d4a7[_0xfe1956(0xe4)](_0x454e6e);}if(_0x32d4a7[_0xfe1956(0xc2)]>0x1)throw new _0x18037d(_0xfe1956(0xf1),null,{'matchedUIs':_0x32d4a7,'annotationType':_0x3c52df[_0xfe1956(0xf5)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x943745=_0x3db3;function _0x3db3(_0x515abf,_0xfed556){const _0x1d139f=_0x1d13();return _0x3db3=function(_0x3db3b7,_0x457311){_0x3db3b7=_0x3db3b7-0x1e9;let _0x21af73=_0x1d139f[_0x3db3b7];return _0x21af73;},_0x3db3(_0x515abf,_0xfed556);}(function(_0x5f16e4,_0xeed3e6){const _0x1ce6bf=_0x3db3,_0x2454b6=_0x5f16e4();while(!![]){try{const _0x5aaa8b=parseInt(_0x1ce6bf(0x1ff))/0x1+-parseInt(_0x1ce6bf(0x221))/0x2*(parseInt(_0x1ce6bf(0x1e9))/0x3)+parseInt(_0x1ce6bf(0x21c))/0x4+parseInt(_0x1ce6bf(0x20e))/0x5*(parseInt(_0x1ce6bf(0x1f3))/0x6)+-parseInt(_0x1ce6bf(0x1fd))/0x7+-parseInt(_0x1ce6bf(0x225))/0x8*(parseInt(_0x1ce6bf(0x226))/0x9)+parseInt(_0x1ce6bf(0x203))/0xa*(-parseInt(_0x1ce6bf(0x21d))/0xb);if(_0x5aaa8b===_0xeed3e6)break;else _0x2454b6['push'](_0x2454b6['shift']());}catch(_0x19ce4e){_0x2454b6['push'](_0x2454b6['shift']());}}}(_0x1d13,0x46329));import{Plugin as _0x4b877b}from'ckeditor5/src/core.js';import{CKEditorError as _0x5baccb}from'ckeditor5/src/utils.js';import{debounce as _0x48c87a}from'es-toolkit/compat';import{Annotations as _0x28ef97}from'./annotations.js';function _0x1d13(){const _0x288fcf=['pluginName','getRanges','3518095rvmqZf','sort','537866LPgsVI','annotation','requires','view','38260dYsuYp','focusTracker','remove','isEqual','isCollapsed','set','element','function','EditorAnnotations','refresh','cancel','5ERYtyQ','innerView','map','editor','add','fire','containsRange','uiUpdate','document','directChange','has','editing','refreshSelectedViews','_editorAnnotationsData','1712760iNrmLd','1617pNevEW','from','collection','plugins','5806hyPKQB','isOfficialPlugin','get','change:isFocused','40MwXDLD','75582GtGcZH','getByInnerView','model','delete','39oOkNpa','init','_editorAnnotations','registerAnnotation','push','_dataCollectors','addSourceCollector','range','blur','editorannotations-invalid-source-callback','2797254JlhYxL','update','hasDomSelection','selection','listenTo','isPremiumPlugin','getOrderedSelectedAnnotations','change:range'];_0x1d13=function(){return _0x288fcf;};return _0x1d13();}export class EditorAnnotations extends _0x4b877b{[_0x943745(0x1ee)];[_0x943745(0x1eb)];static get[_0x943745(0x201)](){return[_0x28ef97];}static get[_0x943745(0x1fb)](){const _0x5c32cc=_0x943745;return _0x5c32cc(0x20b);}static get[_0x943745(0x222)](){return!0x0;}static get[_0x943745(0x1f8)](){return!0x0;}constructor(_0x5412c8){const _0x44fbda=_0x943745;super(_0x5412c8),this[_0x44fbda(0x1ee)]=new Set(),this[_0x44fbda(0x1eb)]=new Set();}[_0x943745(0x1ea)](){const _0x4f8cc1=_0x943745,_0x4ec683=this[_0x4f8cc1(0x211)],_0x5f4e1a=_0x4ec683[_0x4f8cc1(0x228)][_0x4f8cc1(0x216)][_0x4f8cc1(0x1f6)],_0x1ebfbe=_0x48c87a(()=>this[_0x4f8cc1(0x21a)](),0xa);_0x5f4e1a['on'](_0x4f8cc1(0x1fa),(_0x56caf6,_0x181c2b)=>{const _0x28263b=_0x4f8cc1;_0x181c2b[_0x28263b(0x217)]&&(_0x1ebfbe[_0x28263b(0x20d)](),this[_0x28263b(0x21a)]());}),this[_0x4f8cc1(0x1f7)](_0x4ec683[_0x4f8cc1(0x219)][_0x4f8cc1(0x202)][_0x4f8cc1(0x216)],_0x4f8cc1(0x224),(_0x4d6864,_0x5e7a3e,_0x45f554)=>{_0x45f554&&_0x1ebfbe();}),this[_0x4f8cc1(0x1f7)](_0x4ec683['ui'][_0x4f8cc1(0x204)],_0x4f8cc1(0x224),(_0x2e6b23,_0x408b1c,_0x4d9dfc)=>{const _0x6ca8fe=_0x4f8cc1;_0x4d9dfc||this[_0x6ca8fe(0x213)](_0x6ca8fe(0x1f1),{'isAnnotationTracked':_0x292e49=>this[_0x6ca8fe(0x21b)][_0x6ca8fe(0x218)](_0x292e49[_0x6ca8fe(0x20f)])});}),this[_0x4f8cc1(0x1f7)](this[_0x4f8cc1(0x211)]['ui'],_0x4f8cc1(0x1f4),()=>this[_0x4f8cc1(0x213)](_0x4f8cc1(0x215)));}[_0x943745(0x1ec)](_0x4a9ff8){const _0x2feb88=_0x943745;if(this[_0x2feb88(0x1eb)][_0x2feb88(0x218)](_0x4a9ff8[_0x2feb88(0x202)]))return;this[_0x2feb88(0x1eb)][_0x2feb88(0x212)](_0x4a9ff8[_0x2feb88(0x202)]),this[_0x2feb88(0x211)]['ui'][_0x2feb88(0x204)][_0x2feb88(0x212)](_0x4a9ff8[_0x2feb88(0x202)][_0x2feb88(0x209)]);const _0x1778c8=this[_0x2feb88(0x211)][_0x2feb88(0x220)][_0x2feb88(0x223)](_0x28ef97);this[_0x2feb88(0x1f7)](_0x1778c8[_0x2feb88(0x21f)],_0x2feb88(0x205),(_0x5e935,_0x1e7f07)=>{const _0x397e27=_0x2feb88;this[_0x397e27(0x211)]['ui'][_0x397e27(0x204)][_0x397e27(0x205)](_0x1e7f07[_0x397e27(0x202)][_0x397e27(0x209)]),this[_0x397e27(0x1eb)][_0x397e27(0x229)](_0x1e7f07[_0x397e27(0x202)]);});}[_0x943745(0x1f5)](){const _0x4cf0b1=_0x943745;return this[_0x4cf0b1(0x211)][_0x4cf0b1(0x219)][_0x4cf0b1(0x202)][_0x4cf0b1(0x1f5)];}[_0x943745(0x1ef)](_0x4522d2){const _0x11f6be=_0x943745;if(_0x11f6be(0x20a)!=typeof _0x4522d2)throw new _0x5baccb(_0x11f6be(0x1f2));this[_0x11f6be(0x1ee)][_0x11f6be(0x212)](_0x4522d2);}[_0x943745(0x21a)](){const _0x2a0da6=_0x943745;this[_0x2a0da6(0x213)](_0x2a0da6(0x20c));}[_0x943745(0x1f9)]({activeAnnotation:_0x43e09f,annotations:_0x4b2ca1}){const _0x42f8b9=_0x943745,_0x2c9579=[],_0x342ec2=this[_0x42f8b9(0x211)][_0x42f8b9(0x228)][_0x42f8b9(0x216)][_0x42f8b9(0x1f6)],_0x49c47f=Array[_0x42f8b9(0x21e)](_0x342ec2[_0x42f8b9(0x1fc)]());for(const [_0x3c1b63,_0x43438f]of this[_0x42f8b9(0x21b)]){const _0x51c11e=_0x377a4a(_0x43438f),_0x50ebf0=_0x4b2ca1[_0x42f8b9(0x227)](_0x3c1b63);_0x51c11e&&_0x50ebf0&&_0x2c9579[_0x42f8b9(0x1ed)]({'annotation':_0x50ebf0,'range':_0x51c11e});}function _0x377a4a(_0x375c4c){const _0x2542f0=_0x42f8b9;for(const _0x36d0e2 of _0x375c4c)for(const _0x55589f of _0x49c47f)if(_0x36d0e2[_0x2542f0(0x214)](_0x55589f,!_0x342ec2[_0x2542f0(0x207)]))return _0x36d0e2;return null;}return _0x2c9579[_0x42f8b9(0x1fe)]((_0x3c7d0b,_0x1c85a3)=>{const _0x1ccbcb=_0x42f8b9,_0x2112ea=_0x3c7d0b[_0x1ccbcb(0x1f0)],_0x4e4220=_0x1c85a3[_0x1ccbcb(0x1f0)];if(!_0x2112ea[_0x1ccbcb(0x206)](_0x4e4220)){if(_0x2112ea[_0x1ccbcb(0x214)](_0x4e4220,!0x0))return 0x1;if(_0x4e4220[_0x1ccbcb(0x214)](_0x2112ea,!0x0))return-0x1;}return _0x3c7d0b[_0x1ccbcb(0x200)]==_0x43e09f?-0x1:_0x1c85a3[_0x1ccbcb(0x200)]==_0x43e09f?0x1:0x0;})[_0x42f8b9(0x210)](_0x20da1e=>_0x20da1e[_0x42f8b9(0x200)]);}get[_0x943745(0x21b)](){const _0x2c46cc=_0x943745,_0x56f32c=new Map();for(const _0x5e991d of Array[_0x2c46cc(0x21e)](this[_0x2c46cc(0x1ee)]))for(const [_0x3e4444,_0x5216c6]of _0x5e991d())_0x56f32c[_0x2c46cc(0x208)](_0x3e4444,_0x5216c6);return _0x56f32c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4867(){const _0x541f53=['width','_setSelectedAnnotations','isFocused','register','mousedown','document','get','map','plugins','change:isFocused','inlineannotations-not-allowed-with-context','selection','addObserver','every','hasView','right','collapse','inlineannotations-attach-already-attached','91856dAQvvs','stopListening','Esc','destroy','36MmkzKU','editableElement','getOrderedSelectedAnnotations','detach','add','isPremiumPlugin','attach','visibleView','update','_getBalloonTargetForAnnotation','getByView','switchTo','has','212360ORZnhT','51CYaEJW','hasActive','activeAnnotation','delete','isActive','requires','push','_closeAnnotation','domConverter','showStack','_balloon','from','2686560MaAxNA','change:height','top','7737455zQTNwK','36124sZkcJD','keystrokes','annotations','330gLdfQr','editing','inline','_forceRefresh','isOfficialPlugin','init','viewRangeToDom','view','target','blur','afterInit','focus','refresh','getFirstRange','getClientRects','editor','listenTo','remove','updatePosition','_addAnnotationToBalloon','length','change:visibleView','setActiveAnnotation','inlineannotations-detach-not-attached','_selectedAnnotations','targetRect','focusTracker','includes','left','InlineAnnotations','_removeAnnotationFromBalloon','find','pluginName','_manuallyClosed','50SNiHvu','clear','68096LmYWFx','context','fromRect','_addedAnnotations','12HERrsM','bottom','set','getBoundingClientRect','241281nuFqEb','isAttached'];_0x4867=function(){return _0x541f53;};return _0x4867();}const _0x1f9160=_0x19e7;(function(_0x345e10,_0x1c7fc9){const _0x2104fc=_0x19e7,_0x327466=_0x345e10();while(!![]){try{const _0x79bc78=parseInt(_0x2104fc(0x159))/0x1*(-parseInt(_0x2104fc(0x119))/0x2)+-parseInt(_0x2104fc(0x149))/0x3*(-parseInt(_0x2104fc(0x137))/0x4)+parseInt(_0x2104fc(0x148))/0x5*(-parseInt(_0x2104fc(0x13b))/0x6)+-parseInt(_0x2104fc(0x11b))/0x7+-parseInt(_0x2104fc(0x155))/0x8+parseInt(_0x2104fc(0x123))/0x9*(parseInt(_0x2104fc(0x15c))/0xa)+parseInt(_0x2104fc(0x158))/0xb*(parseInt(_0x2104fc(0x11f))/0xc);if(_0x79bc78===_0x1c7fc9)break;else _0x327466['push'](_0x327466['shift']());}catch(_0x3acf15){_0x327466['push'](_0x327466['shift']());}}}(_0x4867,0x73f82));import{Plugin as _0xc7df9f}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x5ab3f1}from'./annotationsuis.js';import{EditorAnnotations as _0x59c826}from'./editorannotations.js';import{ContextualBalloon as _0x277ba0}from'ckeditor5/src/ui.js';function _0x19e7(_0x4fb621,_0x5eb2cb){const _0x48674d=_0x4867();return _0x19e7=function(_0x19e777,_0x2eff41){_0x19e777=_0x19e777-0x10c;let _0x349396=_0x48674d[_0x19e777];return _0x349396;},_0x19e7(_0x4fb621,_0x5eb2cb);}import{MouseObserver as _0x13612d}from'ckeditor5/src/engine.js';import{CKEditorError as _0x3d7b00,Rect as _0x1be40f}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export class InlineAnnotations extends _0xc7df9f{[_0x1f9160(0x124)];[_0x1f9160(0x15b)];[_0x1f9160(0x118)];[_0x1f9160(0x153)];[_0x1f9160(0x11e)];[_0x1f9160(0x10f)];[_0x1f9160(0x15f)];static get[_0x1f9160(0x14e)](){return[_0x59c826,_0x277ba0,_0x5ab3f1];}static get[_0x1f9160(0x117)](){const _0x347f36=_0x1f9160;return _0x347f36(0x114);}static get[_0x1f9160(0x160)](){return!0x0;}static get[_0x1f9160(0x140)](){return!0x0;}constructor(_0x4292d6){const _0x4cf965=_0x1f9160;super(_0x4292d6),_0x4292d6[_0x4cf965(0x15d)][_0x4cf965(0x163)][_0x4cf965(0x131)](_0x13612d),this[_0x4cf965(0x124)]=!0x1,this[_0x4cf965(0x121)](_0x4cf965(0x14b),null),this[_0x4cf965(0x15b)]=null,this[_0x4cf965(0x118)]=new Set(),this[_0x4cf965(0x153)]=_0x4292d6[_0x4cf965(0x12d)][_0x4cf965(0x12b)](_0x277ba0),this[_0x4cf965(0x11e)]=new Set(),this[_0x4cf965(0x10f)]=[],this[_0x4cf965(0x15f)]=!0x1;}[_0x1f9160(0x161)](){const _0x4abdc4=_0x1f9160,_0x1005c2=this[_0x4abdc4(0x16b)][_0x4abdc4(0x12d)][_0x4abdc4(0x12b)](_0x5ab3f1);_0x1005c2[_0x4abdc4(0x11c)]===this[_0x4abdc4(0x16b)]&&(_0x1005c2[_0x4abdc4(0x128)](_0x4abdc4(0x15e),this),this[_0x4abdc4(0x16b)][_0x4abdc4(0x15a)][_0x4abdc4(0x121)](_0x4abdc4(0x139),(_0x33c3fd,_0x448ca8)=>{const _0x4eb5f3=_0x4abdc4,_0x5fcac2=this[_0x4eb5f3(0x153)];if(this[_0x4eb5f3(0x124)]&&_0x5fcac2[_0x4eb5f3(0x142)]){const _0x4a51ff=this[_0x4eb5f3(0x15b)][_0x4eb5f3(0x145)](_0x5fcac2[_0x4eb5f3(0x142)]);_0x4a51ff&&this[_0x4eb5f3(0x150)](_0x4a51ff),_0x448ca8();}}));}[_0x1f9160(0x166)](){const _0xd67042=_0x1f9160,_0x1fe8ce=this[_0xd67042(0x16b)][_0xd67042(0x12d)][_0xd67042(0x12b)](_0x5ab3f1);_0x1fe8ce[_0xd67042(0x11c)]===this[_0xd67042(0x16b)]&&(_0x1fe8ce[_0xd67042(0x14a)]()||_0x1fe8ce[_0xd67042(0x146)](_0xd67042(0x15e)));}[_0x1f9160(0x10d)](_0x117623){const _0x57f19d=_0x1f9160;_0x117623!==this[_0x57f19d(0x14b)]&&(this[_0x57f19d(0x14b)]&&(this[_0x57f19d(0x14b)][_0x57f19d(0x14d)]=!0x1),_0x117623&&this[_0x57f19d(0x16b)]['ui'][_0x57f19d(0x111)][_0x57f19d(0x127)]&&(this[_0x57f19d(0x15b)][_0x57f19d(0x147)](_0x117623)&&this[_0x57f19d(0x16f)](_0x117623,!0x0),_0x117623[_0x57f19d(0x14d)]=!0x0),_0x117623||this[_0x57f19d(0x126)]([]),this[_0x57f19d(0x14b)]=_0x117623);}[_0x1f9160(0x141)](_0x3c4c40){const _0x5d1435=_0x1f9160;this[_0x5d1435(0x15b)]=_0x3c4c40;const _0x586f20=this[_0x5d1435(0x16b)][_0x5d1435(0x12d)][_0x5d1435(0x12b)](_0x5ab3f1),_0x2d9c2b=this[_0x5d1435(0x153)];if(this[_0x5d1435(0x124)])throw new _0x3d7b00(_0x5d1435(0x136),this);if(_0x586f20[_0x5d1435(0x11c)]!==this[_0x5d1435(0x16b)])throw new _0x3d7b00(_0x5d1435(0x12f),this);const _0x296556=this[_0x5d1435(0x16b)][_0x5d1435(0x12d)][_0x5d1435(0x12b)](_0x59c826);this[_0x5d1435(0x16c)](_0x296556,_0x5d1435(0x168),()=>{const _0x280240=_0x5d1435,_0x437e0d=_0x296556[_0x280240(0x13d)]({'annotations':this[_0x280240(0x15b)],'activeAnnotation':this[_0x280240(0x14b)]});var _0x297a8b,_0xef6b72;!this[_0x280240(0x15f)]&&(_0x297a8b=_0x437e0d,_0xef6b72=this[_0x280240(0x10f)],_0x297a8b[_0x280240(0x170)]===_0xef6b72[_0x280240(0x170)]&&_0x297a8b[_0x280240(0x132)](_0x393c77=>_0xef6b72[_0x280240(0x112)](_0x393c77)))||(this[_0x280240(0x15f)]=!0x1,this[_0x280240(0x126)](_0x437e0d),this[_0x280240(0x10d)](_0x437e0d[0x0]||null));}),this[_0x5d1435(0x16c)](_0x296556,_0x5d1435(0x165),(_0x5c3c97,{isAnnotationTracked:_0x51c488})=>{const _0x37cffc=_0x5d1435;this[_0x37cffc(0x14b)]&&_0x51c488(this[_0x37cffc(0x14b)])&&(this[_0x37cffc(0x126)]([]),this[_0x37cffc(0x10d)](null));}),this[_0x5d1435(0x16c)](this[_0x5d1435(0x16b)]['ui'][_0x5d1435(0x111)],_0x5d1435(0x12e),(_0x103499,_0x3f668e,_0x258955)=>{const _0x3eb95a=_0x5d1435;_0x258955||this[_0x3eb95a(0x10d)](null);}),this[_0x5d1435(0x16c)](_0x3c4c40,_0x5d1435(0x16d),(_0x51fb84,_0x44f485)=>{const _0x528937=_0x5d1435;this[_0x528937(0x115)](_0x44f485),_0x44f485===this[_0x528937(0x14b)]&&this[_0x528937(0x10d)](null);}),this[_0x5d1435(0x16c)](_0x2d9c2b,_0x5d1435(0x10c),(_0x362e19,_0x3ca27f,_0x3afeef,_0x299fac)=>{const _0x4419a4=_0x5d1435;_0x299fac&&this[_0x4419a4(0x138)](_0x299fac);const _0x372901=_0x3c4c40[_0x4419a4(0x145)](_0x3afeef);_0x3afeef&&_0x372901&&(this[_0x4419a4(0x16c)](_0x3afeef,_0x4419a4(0x156),()=>{const _0x3b8aca=_0x4419a4;_0x2d9c2b[_0x3b8aca(0x16e)]();}),this[_0x4419a4(0x16c)](_0x3afeef,_0x4419a4(0x139),()=>{const _0x7d5688=_0x4419a4;this[_0x7d5688(0x150)](_0x372901),this[_0x7d5688(0x16b)][_0x7d5688(0x15d)][_0x7d5688(0x163)][_0x7d5688(0x167)]();}),this[_0x4419a4(0x14b)]!==_0x372901&&this[_0x4419a4(0x10d)](_0x372901));}),this[_0x5d1435(0x16c)](this[_0x5d1435(0x16b)]['ui'],_0x5d1435(0x143),()=>{const _0x426095=_0x5d1435;_0x2d9c2b[_0x426095(0x142)]&&(_0x3c4c40[_0x426095(0x145)](_0x2d9c2b[_0x426095(0x142)])&&_0x2d9c2b[_0x426095(0x16e)]());}),this[_0x5d1435(0x16c)](this[_0x5d1435(0x16b)][_0x5d1435(0x15d)][_0x5d1435(0x163)][_0x5d1435(0x12a)],_0x5d1435(0x129),()=>{const _0x11b671=_0x5d1435;this[_0x11b671(0x15f)]=!0x0,this[_0x11b671(0x118)][_0x11b671(0x11a)]();}),this[_0x5d1435(0x16b)][_0x5d1435(0x15d)][_0x5d1435(0x163)][_0x5d1435(0x12a)][_0x5d1435(0x130)][_0x5d1435(0x13c)]&&this[_0x5d1435(0x16b)][_0x5d1435(0x15d)][_0x5d1435(0x163)][_0x5d1435(0x167)](),this[_0x5d1435(0x124)]=!0x0;}[_0x1f9160(0x13e)](){const _0xc15fa1=_0x1f9160;if(!this[_0xc15fa1(0x124)])throw new _0x3d7b00(_0xc15fa1(0x10e),this);this[_0xc15fa1(0x10d)](null);for(const _0x482f9a of this[_0xc15fa1(0x11e)])this[_0xc15fa1(0x115)](_0x482f9a);this[_0xc15fa1(0x138)](),this[_0xc15fa1(0x124)]=!0x1,this[_0xc15fa1(0x15b)]=null;}[_0x1f9160(0x13a)](){const _0xb95fc9=_0x1f9160;this[_0xb95fc9(0x124)]&&this[_0xb95fc9(0x13e)]();}[_0x1f9160(0x126)](_0x3431f5){const _0x1c035c=_0x1f9160;for(const _0x46cbfb of this[_0x1c035c(0x10f)])_0x3431f5[_0x1c035c(0x112)](_0x46cbfb)||this[_0x1c035c(0x118)][_0x1c035c(0x14c)](_0x46cbfb);for(const _0xf3b900 of this[_0x1c035c(0x15b)])_0x3431f5[_0x1c035c(0x112)](_0xf3b900)||this[_0x1c035c(0x115)](_0xf3b900);if(this[_0x1c035c(0x16b)]['ui'][_0x1c035c(0x111)][_0x1c035c(0x127)]){for(const _0x2755fe of _0x3431f5)this[_0x1c035c(0x16f)](_0x2755fe);}this[_0x1c035c(0x10f)]=_0x3431f5;}[_0x1f9160(0x16f)](_0x41438a,_0x451685=!0x1){const _0x34457b=_0x1f9160;this[_0x34457b(0x118)][_0x34457b(0x147)](_0x41438a)||(this[_0x34457b(0x11e)][_0x34457b(0x147)](_0x41438a)||this[_0x34457b(0x153)][_0x34457b(0x133)](_0x41438a[_0x34457b(0x163)])||(this[_0x34457b(0x11e)][_0x34457b(0x13f)](_0x41438a),this[_0x34457b(0x153)][_0x34457b(0x13f)]({'stackId':_0x41438a[_0x34457b(0x163)]['id'],'view':_0x41438a[_0x34457b(0x163)],'position':{'target':()=>this[_0x34457b(0x144)](_0x41438a)}})),_0x451685&&this[_0x34457b(0x153)][_0x34457b(0x152)](_0x41438a[_0x34457b(0x163)]['id']));}[_0x1f9160(0x144)](_0x39556c){const _0x370dea=_0x1f9160,_0x55d93b=_0x39556c[_0x370dea(0x164)],_0x229c1a=this[_0x370dea(0x16b)][_0x370dea(0x15d)][_0x370dea(0x163)],_0x3fab86=_0x229c1a[_0x370dea(0x12a)][_0x370dea(0x130)][_0x370dea(0x169)](),_0x35d8dc=_0x229c1a[_0x370dea(0x151)][_0x370dea(0x162)](_0x3fab86);if(_0x35d8dc[_0x370dea(0x135)](!0x0),_0x55d93b){if(_0x55d93b instanceof _0x1be40f)return _0x55d93b;let _0x26c6ea=[];for(const _0x512633 of _0x55d93b)_0x26c6ea[_0x370dea(0x14f)](...F(_0x512633[_0x370dea(0x16a)]()));_0x26c6ea=function(_0xe0b4bd){const _0x196285=_0x370dea,_0x2f0a2c=[];let _0x44dd2f=_0xe0b4bd[0x0];for(let _0x3c3e4e=0x1;_0x3c3e4e<_0xe0b4bd[_0x196285(0x170)];_0x3c3e4e++)P(_0x44dd2f,_0xe0b4bd[_0x3c3e4e])?_0x44dd2f[_0x196285(0x125)]+=_0xe0b4bd[_0x3c3e4e][_0x196285(0x125)]:(_0x2f0a2c[_0x196285(0x14f)](_0x44dd2f),_0x44dd2f=_0xe0b4bd[_0x3c3e4e]);return _0x2f0a2c[_0x196285(0x14f)](_0x44dd2f),_0x2f0a2c;}(_0x26c6ea);const _0x1ef3ef=_0x35d8dc[_0x370dea(0x122)]();return _0x26c6ea[_0x370dea(0x116)](_0x214259=>_0x214259[_0x370dea(0x157)]<=_0x1ef3ef[_0x370dea(0x157)]&&_0x214259[_0x370dea(0x120)]>=_0x1ef3ef[_0x370dea(0x120)]&&_0x214259[_0x370dea(0x113)]<=_0x1ef3ef[_0x370dea(0x113)]&&_0x214259[_0x370dea(0x134)]>=_0x1ef3ef[_0x370dea(0x134)])||_0x26c6ea[0x0];}return _0x39556c[_0x370dea(0x110)]||_0x35d8dc;}[_0x1f9160(0x115)](_0x2d99ae){const _0x26b68b=_0x1f9160;this[_0x26b68b(0x11e)][_0x26b68b(0x147)](_0x2d99ae)&&this[_0x26b68b(0x153)][_0x26b68b(0x133)](_0x2d99ae[_0x26b68b(0x163)])&&(this[_0x26b68b(0x11e)][_0x26b68b(0x14c)](_0x2d99ae),this[_0x26b68b(0x153)][_0x26b68b(0x16d)](_0x2d99ae[_0x26b68b(0x163)]));}[_0x1f9160(0x150)](_0x8d575e){const _0x3dee76=_0x1f9160;this[_0x3dee76(0x118)][_0x3dee76(0x13f)](_0x8d575e),this[_0x3dee76(0x115)](_0x8d575e);}}function F(_0x4fda40){const _0x1426c7=_0x1f9160;return Array[_0x1426c7(0x154)](_0x4fda40)[_0x1426c7(0x12c)](DOMRect[_0x1426c7(0x11d)]);}function P(_0x4f6d17,_0x496b51){const _0x36cca5=_0x1f9160;return _0x4f6d17[_0x36cca5(0x157)]===_0x496b51[_0x36cca5(0x157)]&&_0x4f6d17[_0x36cca5(0x120)]===_0x496b51[_0x36cca5(0x120)]&&_0x4f6d17[_0x36cca5(0x134)]===_0x496b51[_0x36cca5(0x113)];}
|
|
23
|
+
const _0x521c02=_0x18dc;(function(_0x51b673,_0x4a7307){const _0x164629=_0x18dc,_0x1ae6cd=_0x51b673();while(!![]){try{const _0x32c9ea=parseInt(_0x164629(0x149))/0x1+-parseInt(_0x164629(0x134))/0x2+-parseInt(_0x164629(0x106))/0x3*(parseInt(_0x164629(0x11f))/0x4)+parseInt(_0x164629(0x12f))/0x5*(-parseInt(_0x164629(0x129))/0x6)+-parseInt(_0x164629(0x153))/0x7*(-parseInt(_0x164629(0x157))/0x8)+parseInt(_0x164629(0x13d))/0x9+parseInt(_0x164629(0x146))/0xa*(parseInt(_0x164629(0x152))/0xb);if(_0x32c9ea===_0x4a7307)break;else _0x1ae6cd['push'](_0x1ae6cd['shift']());}catch(_0x1dcb2d){_0x1ae6cd['push'](_0x1ae6cd['shift']());}}}(_0x516d,0x74669));import{Plugin as _0x3e6fdd}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x371c6f}from'./annotationsuis.js';import{EditorAnnotations as _0x3fe285}from'./editorannotations.js';function _0x18dc(_0x18334c,_0x3c0ac1){const _0x516d1c=_0x516d();return _0x18dc=function(_0x18dc28,_0x2e887f){_0x18dc28=_0x18dc28-0xfa;let _0x5429f9=_0x516d1c[_0x18dc28];return _0x5429f9;},_0x18dc(_0x18334c,_0x3c0ac1);}import{ContextualBalloon as _0x3ddb17}from'ckeditor5/src/ui.js';import{MouseObserver as _0x2421a1}from'ckeditor5/src/engine.js';import{CKEditorError as _0x56083f,Rect as _0x161983}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';function _0x516d(){const _0x1715ca=['InlineAnnotations','find','_balloon','focus','257709SttDki','push','requires','isActive','getByView','stopListening','top','length','inlineannotations-detach-not-attached','inlineannotations-not-allowed-with-context','plugins','clear','collapse','addObserver','getFirstRange','afterInit','_addAnnotationToBalloon','isAttached','_removeAnnotationFromBalloon','get','fromRect','every','register','getOrderedSelectedAnnotations','delete','8lVGQve','isFocused','keystrokes','change:visibleView','isOfficialPlugin','activeAnnotation','map','attach','hasView','context','318810AqNozC','includes','from','_addedAnnotations','update','remove','10rjDvGG','right','isPremiumPlugin','inlineannotations-attach-already-attached','_setSelectedAnnotations','990424rQsbwH','domConverter','change:height','detach','add','selection','pluginName','_manuallyClosed','left','2241108lTXfCR','target','hasActive','bottom','inline','annotations','Esc','updatePosition','targetRect','55690mrjbCa','width','blur','627783xZpmYF','document','setActiveAnnotation','change:isFocused','focusTracker','view','listenTo','visibleView','viewRangeToDom','539gyHJDM','763ootAAS','showStack','_selectedAnnotations','editing','7368PoUXox','_closeAnnotation','init','editor','has','editableElement','_forceRefresh','mousedown','switchTo','destroy','getBoundingClientRect','_getBalloonTargetForAnnotation','set','refresh','getClientRects'];_0x516d=function(){return _0x1715ca;};return _0x516d();}export class InlineAnnotations extends _0x3e6fdd{[_0x521c02(0x117)];[_0x521c02(0x142)];[_0x521c02(0x13b)];[_0x521c02(0x104)];[_0x521c02(0x12c)];[_0x521c02(0x155)];[_0x521c02(0x15d)];static get[_0x521c02(0x108)](){return[_0x3fe285,_0x3ddb17,_0x371c6f];}static get[_0x521c02(0x13a)](){const _0xf4b89b=_0x521c02;return _0xf4b89b(0x102);}static get[_0x521c02(0x123)](){return!0x0;}static get[_0x521c02(0x131)](){return!0x0;}constructor(_0x59b9b6){const _0x64bd43=_0x521c02;super(_0x59b9b6),_0x59b9b6[_0x64bd43(0x156)][_0x64bd43(0x14e)][_0x64bd43(0x113)](_0x2421a1),this[_0x64bd43(0x117)]=!0x1,this[_0x64bd43(0xff)](_0x64bd43(0x124),null),this[_0x64bd43(0x142)]=null,this[_0x64bd43(0x13b)]=new Set(),this[_0x64bd43(0x104)]=_0x59b9b6[_0x64bd43(0x110)][_0x64bd43(0x119)](_0x3ddb17),this[_0x64bd43(0x12c)]=new Set(),this[_0x64bd43(0x155)]=[],this[_0x64bd43(0x15d)]=!0x1;}[_0x521c02(0x159)](){const _0x3d8d58=_0x521c02,_0x511f5e=this[_0x3d8d58(0x15a)][_0x3d8d58(0x110)][_0x3d8d58(0x119)](_0x371c6f);_0x511f5e[_0x3d8d58(0x128)]===this[_0x3d8d58(0x15a)]&&(_0x511f5e[_0x3d8d58(0x11c)](_0x3d8d58(0x141),this),this[_0x3d8d58(0x15a)][_0x3d8d58(0x121)][_0x3d8d58(0xff)](_0x3d8d58(0x143),(_0x37985a,_0x26b97b)=>{const _0x4cd34b=_0x3d8d58,_0x1d7a81=this[_0x4cd34b(0x104)];if(this[_0x4cd34b(0x117)]&&_0x1d7a81[_0x4cd34b(0x150)]){const _0x5339da=this[_0x4cd34b(0x142)][_0x4cd34b(0x10a)](_0x1d7a81[_0x4cd34b(0x150)]);_0x5339da&&this[_0x4cd34b(0x158)](_0x5339da),_0x26b97b();}}));}[_0x521c02(0x115)](){const _0x2a4d2d=_0x521c02,_0x34af6f=this[_0x2a4d2d(0x15a)][_0x2a4d2d(0x110)][_0x2a4d2d(0x119)](_0x371c6f);_0x34af6f[_0x2a4d2d(0x128)]===this[_0x2a4d2d(0x15a)]&&(_0x34af6f[_0x2a4d2d(0x13f)]()||_0x34af6f[_0x2a4d2d(0xfb)](_0x2a4d2d(0x141)));}[_0x521c02(0x14b)](_0x15ff73){const _0x4022dd=_0x521c02;_0x15ff73!==this[_0x4022dd(0x124)]&&(this[_0x4022dd(0x124)]&&(this[_0x4022dd(0x124)][_0x4022dd(0x109)]=!0x1),_0x15ff73&&this[_0x4022dd(0x15a)]['ui'][_0x4022dd(0x14d)][_0x4022dd(0x120)]&&(this[_0x4022dd(0x142)][_0x4022dd(0x15b)](_0x15ff73)&&this[_0x4022dd(0x116)](_0x15ff73,!0x0),_0x15ff73[_0x4022dd(0x109)]=!0x0),_0x15ff73||this[_0x4022dd(0x133)]([]),this[_0x4022dd(0x124)]=_0x15ff73);}[_0x521c02(0x126)](_0x547249){const _0x28506c=_0x521c02;this[_0x28506c(0x142)]=_0x547249;const _0x318991=this[_0x28506c(0x15a)][_0x28506c(0x110)][_0x28506c(0x119)](_0x371c6f),_0x2345f2=this[_0x28506c(0x104)];if(this[_0x28506c(0x117)])throw new _0x56083f(_0x28506c(0x132),this);if(_0x318991[_0x28506c(0x128)]!==this[_0x28506c(0x15a)])throw new _0x56083f(_0x28506c(0x10f),this);const _0x2f6e94=this[_0x28506c(0x15a)][_0x28506c(0x110)][_0x28506c(0x119)](_0x3fe285);this[_0x28506c(0x14f)](_0x2f6e94,_0x28506c(0x100),()=>{const _0x18a18c=_0x28506c,_0x2eea56=_0x2f6e94[_0x18a18c(0x11d)]({'annotations':this[_0x18a18c(0x142)],'activeAnnotation':this[_0x18a18c(0x124)]});var _0x5259a9,_0x1d855f;!this[_0x18a18c(0x15d)]&&(_0x5259a9=_0x2eea56,_0x1d855f=this[_0x18a18c(0x155)],_0x5259a9[_0x18a18c(0x10d)]===_0x1d855f[_0x18a18c(0x10d)]&&_0x5259a9[_0x18a18c(0x11b)](_0x2a46f6=>_0x1d855f[_0x18a18c(0x12a)](_0x2a46f6)))||(this[_0x18a18c(0x15d)]=!0x1,this[_0x18a18c(0x133)](_0x2eea56),this[_0x18a18c(0x14b)](_0x2eea56[0x0]||null));}),this[_0x28506c(0x14f)](_0x2f6e94,_0x28506c(0x148),(_0x15f2ea,{isAnnotationTracked:_0x30daf5})=>{const _0x1a3a60=_0x28506c;this[_0x1a3a60(0x124)]&&_0x30daf5(this[_0x1a3a60(0x124)])&&(this[_0x1a3a60(0x133)]([]),this[_0x1a3a60(0x14b)](null));}),this[_0x28506c(0x14f)](this[_0x28506c(0x15a)]['ui'][_0x28506c(0x14d)],_0x28506c(0x14c),(_0x4c36bf,_0x3ab7bf,_0x36b8b8)=>{const _0x38f37e=_0x28506c;_0x36b8b8||this[_0x38f37e(0x14b)](null);}),this[_0x28506c(0x14f)](_0x547249,_0x28506c(0x12e),(_0x3dabf5,_0x5b795d)=>{const _0x4585e2=_0x28506c;this[_0x4585e2(0x118)](_0x5b795d),_0x5b795d===this[_0x4585e2(0x124)]&&this[_0x4585e2(0x14b)](null);}),this[_0x28506c(0x14f)](_0x2345f2,_0x28506c(0x122),(_0x357e1a,_0x230462,_0x22956b,_0x4c4392)=>{const _0x4669df=_0x28506c;_0x4c4392&&this[_0x4669df(0x10b)](_0x4c4392);const _0x23b1ae=_0x547249[_0x4669df(0x10a)](_0x22956b);_0x22956b&&_0x23b1ae&&(this[_0x4669df(0x14f)](_0x22956b,_0x4669df(0x136),()=>{const _0x142e7c=_0x4669df;_0x2345f2[_0x142e7c(0x144)]();}),this[_0x4669df(0x14f)](_0x22956b,_0x4669df(0x143),()=>{const _0x4c21db=_0x4669df;this[_0x4c21db(0x158)](_0x23b1ae),this[_0x4c21db(0x15a)][_0x4c21db(0x156)][_0x4c21db(0x14e)][_0x4c21db(0x105)]();}),this[_0x4669df(0x124)]!==_0x23b1ae&&this[_0x4669df(0x14b)](_0x23b1ae));}),this[_0x28506c(0x14f)](this[_0x28506c(0x15a)]['ui'],_0x28506c(0x12d),()=>{const _0x11f74d=_0x28506c;_0x2345f2[_0x11f74d(0x150)]&&(_0x547249[_0x11f74d(0x10a)](_0x2345f2[_0x11f74d(0x150)])&&_0x2345f2[_0x11f74d(0x144)]());}),this[_0x28506c(0x14f)](this[_0x28506c(0x15a)][_0x28506c(0x156)][_0x28506c(0x14e)][_0x28506c(0x14a)],_0x28506c(0xfa),()=>{const _0x545a62=_0x28506c;this[_0x545a62(0x15d)]=!0x0,this[_0x545a62(0x13b)][_0x545a62(0x111)]();}),this[_0x28506c(0x15a)][_0x28506c(0x156)][_0x28506c(0x14e)][_0x28506c(0x14a)][_0x28506c(0x139)][_0x28506c(0x15c)]&&this[_0x28506c(0x15a)][_0x28506c(0x156)][_0x28506c(0x14e)][_0x28506c(0x105)](),this[_0x28506c(0x117)]=!0x0;}[_0x521c02(0x137)](){const _0x32a5e3=_0x521c02;if(!this[_0x32a5e3(0x117)])throw new _0x56083f(_0x32a5e3(0x10e),this);this[_0x32a5e3(0x14b)](null);for(const _0x598794 of this[_0x32a5e3(0x12c)])this[_0x32a5e3(0x118)](_0x598794);this[_0x32a5e3(0x10b)](),this[_0x32a5e3(0x117)]=!0x1,this[_0x32a5e3(0x142)]=null;}[_0x521c02(0xfc)](){const _0x44fce9=_0x521c02;this[_0x44fce9(0x117)]&&this[_0x44fce9(0x137)]();}[_0x521c02(0x133)](_0x4e9d36){const _0x2eaa9a=_0x521c02;for(const _0x6273f8 of this[_0x2eaa9a(0x155)])_0x4e9d36[_0x2eaa9a(0x12a)](_0x6273f8)||this[_0x2eaa9a(0x13b)][_0x2eaa9a(0x11e)](_0x6273f8);for(const _0x2b0848 of this[_0x2eaa9a(0x142)])_0x4e9d36[_0x2eaa9a(0x12a)](_0x2b0848)||this[_0x2eaa9a(0x118)](_0x2b0848);if(this[_0x2eaa9a(0x15a)]['ui'][_0x2eaa9a(0x14d)][_0x2eaa9a(0x120)]){for(const _0x494483 of _0x4e9d36)this[_0x2eaa9a(0x116)](_0x494483);}this[_0x2eaa9a(0x155)]=_0x4e9d36;}[_0x521c02(0x116)](_0x2c1d91,_0x4412c9=!0x1){const _0x618ac=_0x521c02;this[_0x618ac(0x13b)][_0x618ac(0x15b)](_0x2c1d91)||(this[_0x618ac(0x12c)][_0x618ac(0x15b)](_0x2c1d91)||this[_0x618ac(0x104)][_0x618ac(0x127)](_0x2c1d91[_0x618ac(0x14e)])||(this[_0x618ac(0x12c)][_0x618ac(0x138)](_0x2c1d91),this[_0x618ac(0x104)][_0x618ac(0x138)]({'stackId':_0x2c1d91[_0x618ac(0x14e)]['id'],'view':_0x2c1d91[_0x618ac(0x14e)],'position':{'target':()=>this[_0x618ac(0xfe)](_0x2c1d91)}})),_0x4412c9&&this[_0x618ac(0x104)][_0x618ac(0x154)](_0x2c1d91[_0x618ac(0x14e)]['id']));}[_0x521c02(0xfe)](_0x3ce7a4){const _0x4065e4=_0x521c02,_0x54b449=_0x3ce7a4[_0x4065e4(0x13e)],_0x3ba5b6=this[_0x4065e4(0x15a)][_0x4065e4(0x156)][_0x4065e4(0x14e)],_0x44de2e=_0x3ba5b6[_0x4065e4(0x14a)][_0x4065e4(0x139)][_0x4065e4(0x114)](),_0x1f9145=_0x3ba5b6[_0x4065e4(0x135)][_0x4065e4(0x151)](_0x44de2e);if(_0x1f9145[_0x4065e4(0x112)](!0x0),_0x54b449){if(_0x54b449 instanceof _0x161983)return _0x54b449;let _0xf274af=[];for(const _0x4575f7 of _0x54b449)_0xf274af[_0x4065e4(0x107)](...F(_0x4575f7[_0x4065e4(0x101)]()));_0xf274af=function(_0x36c6c1){const _0x11b30a=_0x4065e4,_0x40c822=[];let _0x29eec7=_0x36c6c1[0x0];for(let _0x299150=0x1;_0x299150<_0x36c6c1[_0x11b30a(0x10d)];_0x299150++)P(_0x29eec7,_0x36c6c1[_0x299150])?_0x29eec7[_0x11b30a(0x147)]+=_0x36c6c1[_0x299150][_0x11b30a(0x147)]:(_0x40c822[_0x11b30a(0x107)](_0x29eec7),_0x29eec7=_0x36c6c1[_0x299150]);return _0x40c822[_0x11b30a(0x107)](_0x29eec7),_0x40c822;}(_0xf274af);const _0x57aebd=_0x1f9145[_0x4065e4(0xfd)]();return _0xf274af[_0x4065e4(0x103)](_0xfe1ad9=>_0xfe1ad9[_0x4065e4(0x10c)]<=_0x57aebd[_0x4065e4(0x10c)]&&_0xfe1ad9[_0x4065e4(0x140)]>=_0x57aebd[_0x4065e4(0x140)]&&_0xfe1ad9[_0x4065e4(0x13c)]<=_0x57aebd[_0x4065e4(0x13c)]&&_0xfe1ad9[_0x4065e4(0x130)]>=_0x57aebd[_0x4065e4(0x130)])||_0xf274af[0x0];}return _0x3ce7a4[_0x4065e4(0x145)]||_0x1f9145;}[_0x521c02(0x118)](_0x36f954){const _0x5caca3=_0x521c02;this[_0x5caca3(0x12c)][_0x5caca3(0x15b)](_0x36f954)&&this[_0x5caca3(0x104)][_0x5caca3(0x127)](_0x36f954[_0x5caca3(0x14e)])&&(this[_0x5caca3(0x12c)][_0x5caca3(0x11e)](_0x36f954),this[_0x5caca3(0x104)][_0x5caca3(0x12e)](_0x36f954[_0x5caca3(0x14e)]));}[_0x521c02(0x158)](_0x134209){const _0x28a576=_0x521c02;this[_0x28a576(0x13b)][_0x28a576(0x138)](_0x134209),this[_0x28a576(0x118)](_0x134209);}}function F(_0xd40ba9){const _0x345428=_0x521c02;return Array[_0x345428(0x12b)](_0xd40ba9)[_0x345428(0x125)](DOMRect[_0x345428(0x11a)]);}function P(_0x21f35b,_0x42a81f){const _0x58d8c2=_0x521c02;return _0x21f35b[_0x58d8c2(0x10c)]===_0x42a81f[_0x58d8c2(0x10c)]&&_0x21f35b[_0x58d8c2(0x140)]===_0x42a81f[_0x58d8c2(0x140)]&&_0x21f35b[_0x58d8c2(0x130)]===_0x42a81f[_0x58d8c2(0x13c)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x46dcb3=_0x323c;(function(_0x4e3dff,_0xd69314){const _0x540fbd=_0x323c,_0x2bbf91=_0x4e3dff();while(!![]){try{const _0x19d114=parseInt(_0x540fbd(0x201))/0x1*(parseInt(_0x540fbd(0x1ff))/0x2)+parseInt(_0x540fbd(0x21f))/0x3+parseInt(_0x540fbd(0x1f2))/0x4+parseInt(_0x540fbd(0x1fd))/0x5*(-parseInt(_0x540fbd(0x242))/0x6)+parseInt(_0x540fbd(0x1f9))/0x7+-parseInt(_0x540fbd(0x246))/0x8*(parseInt(_0x540fbd(0x24c))/0x9)+-parseInt(_0x540fbd(0x1ea))/0xa*(parseInt(_0x540fbd(0x1f4))/0xb);if(_0x19d114===_0xd69314)break;else _0x2bbf91['push'](_0x2bbf91['shift']());}catch(_0x50ccdf){_0x2bbf91['push'](_0x2bbf91['shift']());}}}(_0x25b9,0x8737d));import{ContextPlugin as _0x366f86,Context as _0x114f28}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x990320}from'./annotationsuis.js';import{Sidebar as _0x45bcbc}from'./sidebar.js';function _0x25b9(){const _0x237373=['locale','getByView','execute','_destroyEditorAnnotationsIntegration','1927376rbXdDY','target','1069838nJBjXC','EditorAnnotations','addEventListener','_manuallyClosedAnnotationViews','narrowsidebar-attach-already-attached','67403nLNhwV','uiUpdate','values','narrowSidebar','5UNpEHw','bind','10UNqziq','has','169063TJVDFo','_showBalloon','bodyCollection','_attachToContainer','focusableElements','detach','northArrowSouth','add','getOrderedSelectedAnnotations','preventClosingBalloon','get','resize','Annotations','requires','change:height','setActiveAnnotation','annotations','attachToDom','isVisible','_domEmitter','isOfficialPlugin','listenTo','low','keyCode','activeAnnotation','attach','refreshVisibility','refresh','isAttached','southArrowNorth','2557005TSgjxl','southArrowNorthWest','context','init','pluginName','focus','defaultPositions','ck-sidebar--narrow','detachFromDom','contains','set','getSidebarItemView','_integrateWithEditorAnnotations','stopPropagation','isPremiumPlugin','first','_updateBalloonPosition','high','_annotationToNarrowView','removeEventListener','_editorAnnotations','stop','editors','_selectedAnnotations','hasDomSelection','ready','_detachListeners','addAnnotation','keydown','narrowsidebar-detach-not-attached','from','balloonPanelView','set:container','rearrange','content','3072120RyVBfh','_annotations','view','mousedown','186544BfJLoE','northArrowSouthWest','delete','remove','change:container','destroy','396lbCwvL','blur','includes','_refreshPositioning','number','_setSelectedAnnotations','register','preventDefault','plugins','_detachFromContainer','unpin','clear','stopListening','_refreshPositioningDebounced','element','northArrowSouthEast','type','find','off','_attachListeners','NarrowSidebar','length','cancel','Esc','pin','esc','southArrowNorthEast','annotationType','10oPkRCY','_hideBalloon','refreshPositioning','isDirty'];_0x25b9=function(){return _0x237373;};return _0x25b9();}import{AnnotationCounterButtonView as _0x2c462b}from'./view/annotationcounterbuttonview.js';function _0x323c(_0x432081,_0x3273ff){const _0x25b96e=_0x25b9();return _0x323c=function(_0x323ca9,_0x18d989){_0x323ca9=_0x323ca9-0x1d5;let _0x5c20d6=_0x25b96e[_0x323ca9];return _0x5c20d6;},_0x323c(_0x432081,_0x3273ff);}import{BalloonPanelView as _0x221186,BodyCollection as _0x580b88}from'ckeditor5/src/ui.js';import{CKEditorError as _0x370229,DomEmitterMixin as _0x10c4fe,keyCodes as _0x13d2d4,Collection as _0x107be3}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x26d8e2}from'es-toolkit/compat';export class NarrowSidebar extends _0x366f86{[_0x46dcb3(0x21d)];[_0x46dcb3(0x211)];[_0x46dcb3(0x1f7)];[_0x46dcb3(0x214)];[_0x46dcb3(0x231)];[_0x46dcb3(0x236)];[_0x46dcb3(0x233)];[_0x46dcb3(0x1db)];static get[_0x46dcb3(0x20e)](){return[_0x45bcbc,_0x990320];}static get[_0x46dcb3(0x223)](){const _0xb8cab3=_0x46dcb3;return _0xb8cab3(0x1e2);}static get[_0x46dcb3(0x215)](){return!0x0;}static get[_0x46dcb3(0x22d)](){return!0x0;}constructor(_0x249467){const _0x4285bf=_0x46dcb3;super(_0x249467),this[_0x4285bf(0x21d)]=!0x1,this[_0x4285bf(0x1f7)]=new Set(),this[_0x4285bf(0x214)]=new(_0x10c4fe())(),this[_0x4285bf(0x231)]=new Map(),this[_0x4285bf(0x229)](_0x4285bf(0x219),null),this[_0x4285bf(0x211)]=null,this[_0x4285bf(0x236)]=[],this[_0x4285bf(0x233)]=new _0x107be3(),this[_0x4285bf(0x1db)]=_0x26d8e2(()=>{const _0x15b303=_0x4285bf;this[_0x15b303(0x24f)]();},0xfa,{'leading':!0x1});}[_0x46dcb3(0x222)](){const _0x3b8511=_0x46dcb3;this[_0x3b8511(0x221)][_0x3b8511(0x1d6)][_0x3b8511(0x20b)](_0x990320)[_0x3b8511(0x252)](_0x3b8511(0x1fc),this),this[_0x3b8511(0x203)]=new _0x580b88(this[_0x3b8511(0x221)][_0x3b8511(0x1ee)]),this[_0x3b8511(0x23e)]=new _0x221186(this[_0x3b8511(0x221)][_0x3b8511(0x1ee)]),this[_0x3b8511(0x203)][_0x3b8511(0x212)](),this[_0x3b8511(0x203)][_0x3b8511(0x208)](this[_0x3b8511(0x23e)]);}[_0x46dcb3(0x21a)](_0x328613){const _0x1e21f=_0x46dcb3;this[_0x1e21f(0x211)]=_0x328613;const _0xcc0308=this[_0x1e21f(0x221)][_0x1e21f(0x1d6)][_0x1e21f(0x20b)](_0x45bcbc),_0x346ddc=this[_0x1e21f(0x23e)];if(_0xcc0308[_0x1e21f(0x243)]=_0x328613,this[_0x1e21f(0x21d)])throw new _0x370229(_0x1e21f(0x1f8),this);this[_0x1e21f(0x21d)]=!0x0,this[_0x1e21f(0x216)](_0xcc0308,_0x1e21f(0x23f),()=>{const _0x353685=_0x1e21f;this[_0x353685(0x206)](),this[_0x353685(0x216)](_0xcc0308,_0x353685(0x24a),_0x56f839=>{const _0x184c70=_0x353685;_0x56f839[_0x184c70(0x1e0)](),this[_0x184c70(0x21a)](_0x328613);});}),_0xcc0308[_0x1e21f(0x204)]({'viewClass':_0x1e21f(0x226),'spaceBetweenItems':0x5});const _0x1abeb0=_0x435f81=>{const _0x5e1af1=_0x1e21f,_0x5d8a1e=new _0x2c462b(this[_0x5e1af1(0x221)][_0x5e1af1(0x1ee)]);_0xcc0308[_0x5e1af1(0x23a)](_0x435f81,_0x5d8a1e),this[_0x5e1af1(0x231)][_0x5e1af1(0x229)](_0x435f81,_0x5d8a1e),_0x5d8a1e[_0x5e1af1(0x1fe)](_0x5e1af1(0x1ed),_0x5e1af1(0x1e9),_0x5e1af1(0x250))['to'](_0x435f81[_0x5e1af1(0x244)],_0x5e1af1(0x1ed),_0x5e1af1(0x1de),_0x5e1af1(0x1e3)),_0x5d8a1e['on'](_0x5e1af1(0x1f0),()=>{const _0x285b8a=_0x5e1af1;this[_0x285b8a(0x1f7)][_0x285b8a(0x1d9)](),_0x346ddc[_0x285b8a(0x241)][_0x285b8a(0x22e)]!==_0x435f81[_0x285b8a(0x244)]?(this[_0x285b8a(0x202)](_0x435f81),_0x435f81[_0x285b8a(0x244)][_0x285b8a(0x1dc)][_0x285b8a(0x224)](),this[_0x285b8a(0x210)](_0x435f81)):this[_0x285b8a(0x210)](null);});};for(const _0x59de34 of _0x328613)_0x1abeb0(_0x59de34);this[_0x1e21f(0x216)](_0x328613,_0x1e21f(0x208),(_0x10a26a,_0x12a58e)=>{_0x1abeb0(_0x12a58e);}),this[_0x1e21f(0x216)](_0x328613,_0x1e21f(0x249),(_0x5d3924,_0x56503c,_0x182f53)=>{const _0x4247a8=_0x1e21f;this[_0x4247a8(0x231)][_0x4247a8(0x20b)](_0x56503c)[_0x4247a8(0x24b)](),this[_0x4247a8(0x231)][_0x4247a8(0x248)](_0x56503c),_0xcc0308[_0x4247a8(0x240)]({'removedAnnotation':_0x56503c,'previousAnnotation':_0x328613[_0x4247a8(0x20b)](_0x182f53-0x1),'nextAnnotation':_0x328613[_0x4247a8(0x20b)](_0x182f53+0x1)}),_0x56503c===this[_0x4247a8(0x219)]&&this[_0x4247a8(0x210)](null);},{'priority':_0x1e21f(0x217)}),this[_0x1e21f(0x216)](_0x328613,_0x1e21f(0x224),(_0x375999,_0x3a0baa)=>{const _0x231c77=_0x1e21f;this[_0x231c77(0x210)](_0x3a0baa);}),this[_0x1e21f(0x216)](_0x328613,_0x1e21f(0x24d),()=>{const _0x173ba9=_0x1e21f;this[_0x173ba9(0x210)](null);}),this[_0x1e21f(0x214)][_0x1e21f(0x216)](document,_0x1e21f(0x23b),(_0x54b68d,_0x516b06)=>{const _0x569dfc=_0x1e21f;_0x516b06[_0x569dfc(0x218)]===_0x13d2d4[_0x569dfc(0x1e7)]&&_0x346ddc[_0x569dfc(0x213)]&&(this[_0x569dfc(0x1f7)][_0x569dfc(0x208)](_0x346ddc[_0x569dfc(0x241)][_0x569dfc(0x22e)]),this[_0x569dfc(0x1eb)](),_0x516b06[_0x569dfc(0x22c)](),_0x516b06[_0x569dfc(0x1d5)]());}),this[_0x1e21f(0x214)][_0x1e21f(0x216)](document,_0x1e21f(0x245),(_0xfa4d77,_0x1ce801)=>{const _0x10a668=_0x1e21f,_0x34fd0d=_0x1ce801[_0x10a668(0x1f3)];_0x346ddc[_0x10a668(0x213)]&&_0x346ddc[_0x10a668(0x1dc)][_0x10a668(0x228)](_0x34fd0d)||_0xcc0308[_0x10a668(0x244)][_0x10a668(0x1dc)][_0x10a668(0x228)](_0x34fd0d)||_0xfa4d77[_0x10a668(0x20a)]||this[_0x10a668(0x219)]&&this[_0x10a668(0x219)][_0x10a668(0x205)][_0x10a668(0x1df)](_0x1a6aa7=>_0x1a6aa7[_0x10a668(0x228)](_0x34fd0d))||(this[_0x10a668(0x1f7)][_0x10a668(0x1d9)](),this[_0x10a668(0x1eb)](),this[_0x10a668(0x210)](null));});const _0x2ec4a9=this[_0x1e21f(0x221)]instanceof _0x114f28?this[_0x1e21f(0x221)][_0x1e21f(0x235)]:new _0x107be3([this[_0x1e21f(0x221)]]);for(const _0xe1b114 of _0x2ec4a9)this[_0x1e21f(0x22b)](_0xe1b114);this[_0x1e21f(0x216)](_0x2ec4a9,_0x1e21f(0x208),(_0x4b7c36,_0x49c0ac)=>{const _0x1c6ef3=_0x1e21f;this[_0x1c6ef3(0x216)](_0x49c0ac,_0x1c6ef3(0x238),()=>{const _0x5fafbd=_0x1c6ef3;this[_0x5fafbd(0x22b)](_0x49c0ac);});}),this[_0x1e21f(0x216)](_0x2ec4a9,_0x1e21f(0x249),(_0x583d46,_0x2e22ef)=>{const _0x7c4025=_0x1e21f;_0x2e22ef[_0x7c4025(0x1d6)][_0x7c4025(0x200)](_0x7c4025(0x1f5))&&this[_0x7c4025(0x1f1)](_0x2e22ef[_0x7c4025(0x1d6)][_0x7c4025(0x20b)](_0x7c4025(0x1f5)));}),window[_0x1e21f(0x1f6)](_0x1e21f(0x20c),this[_0x1e21f(0x1db)]),this[_0x1e21f(0x24f)]();}[_0x46dcb3(0x210)](_0x2ff8b2){const _0x7d9888=_0x46dcb3;if(_0x2ff8b2===this[_0x7d9888(0x219)])return;const _0x216675=this[_0x7d9888(0x221)][_0x7d9888(0x1d6)][_0x7d9888(0x20b)](_0x45bcbc);if(_0x216675[_0x7d9888(0x21c)]({'blurredAnnotation':this[_0x7d9888(0x219)],'activatedAnnotation':_0x2ff8b2,'disableAnimationOnActivatedAnnotation':!0x0}),_0x2ff8b2)_0x216675[_0x7d9888(0x22a)](_0x2ff8b2)?this[_0x7d9888(0x202)](_0x2ff8b2):this[_0x7d9888(0x1eb)]();else this[_0x7d9888(0x1eb)]();this[_0x7d9888(0x219)]=_0x2ff8b2;}[_0x46dcb3(0x206)](){const _0x458f1a=_0x46dcb3;if(!this[_0x458f1a(0x21d)])throw new _0x370229(_0x458f1a(0x23c),this);this[_0x458f1a(0x210)](null);const _0x3c12c7=this[_0x458f1a(0x221)][_0x458f1a(0x1d6)][_0x458f1a(0x20b)](_0x45bcbc);this[_0x458f1a(0x1eb)](),Array[_0x458f1a(0x23d)](this[_0x458f1a(0x231)][_0x458f1a(0x1fb)](),_0x2abefb=>_0x2abefb[_0x458f1a(0x24b)]()),this[_0x458f1a(0x231)][_0x458f1a(0x1d9)](),_0x3c12c7[_0x458f1a(0x1d7)](this[_0x458f1a(0x211)]),this[_0x458f1a(0x1da)](),this[_0x458f1a(0x214)][_0x458f1a(0x1da)](),this[_0x458f1a(0x221)]instanceof _0x114f28&&this[_0x458f1a(0x1da)](this[_0x458f1a(0x221)][_0x458f1a(0x235)]);for(const _0x39d6aa of Array[_0x458f1a(0x23d)](this[_0x458f1a(0x233)]))this[_0x458f1a(0x1f1)](_0x39d6aa);window[_0x458f1a(0x232)](_0x458f1a(0x20c),this[_0x458f1a(0x1db)]),this[_0x458f1a(0x1db)][_0x458f1a(0x1e4)](),this[_0x458f1a(0x236)]=[],this[_0x458f1a(0x21d)]=!0x1,this[_0x458f1a(0x211)]=null;}[_0x46dcb3(0x24b)](){const _0x1e1d1a=_0x46dcb3;this[_0x1e1d1a(0x21d)]&&this[_0x1e1d1a(0x206)](),this[_0x1e1d1a(0x203)][_0x1e1d1a(0x227)]();}[_0x46dcb3(0x22b)](_0x51d556){const _0x436f0f=_0x46dcb3;if(!_0x51d556[_0x436f0f(0x1d6)][_0x436f0f(0x200)](_0x436f0f(0x1f5)))return;const _0x220f9d=_0x51d556[_0x436f0f(0x1d6)][_0x436f0f(0x20b)](_0x436f0f(0x1f5)),_0xf50000=this[_0x436f0f(0x221)][_0x436f0f(0x1d6)][_0x436f0f(0x20b)](_0x45bcbc),_0x1b3cff=this[_0x436f0f(0x211)],_0x231bbc=this[_0x436f0f(0x23e)],_0x149442=()=>{const _0xe46f43=_0x436f0f,_0x340fe3=_0x220f9d[_0xe46f43(0x209)]({'annotations':this[_0xe46f43(0x211)],'activeAnnotation':this[_0xe46f43(0x219)]});this[_0xe46f43(0x251)](_0x340fe3),this[_0xe46f43(0x210)](_0x340fe3[0x0]||null);};this[_0x436f0f(0x216)](_0x220f9d,_0x436f0f(0x21c),_0x149442),this[_0x436f0f(0x216)](_0x220f9d,_0x436f0f(0x24d),(_0x395015,{isAnnotationTracked:_0x1c36a3})=>{const _0x72bb2f=_0x436f0f;this[_0x72bb2f(0x219)]&&_0x1c36a3(this[_0x72bb2f(0x219)])&&(this[_0x72bb2f(0x251)]([]),this[_0x72bb2f(0x210)](null));}),this[_0x436f0f(0x216)](_0x220f9d,_0x436f0f(0x1fa),()=>{const _0x24b17e=_0x436f0f;this[_0x24b17e(0x1db)]();}),this[_0x436f0f(0x216)](_0x1b3cff,_0x436f0f(0x24d),_0x59bd9e=>{const _0x59c3c1=_0x436f0f;_0x220f9d[_0x59c3c1(0x237)]()&&_0x59bd9e[_0x59c3c1(0x234)]();},{'priority':_0x436f0f(0x230)}),this[_0x436f0f(0x216)](this[_0x436f0f(0x214)],_0x436f0f(0x245),(_0x4acca5,_0x13ce4b)=>{const _0x4f272d=_0x436f0f,_0x39fb5b=_0x13ce4b[_0x4f272d(0x1f3)];_0x231bbc[_0x4f272d(0x213)]&&_0x231bbc[_0x4f272d(0x1dc)][_0x4f272d(0x228)](_0x39fb5b)||_0xf50000[_0x4f272d(0x244)][_0x4f272d(0x1dc)][_0x4f272d(0x228)](_0x39fb5b)||this[_0x4f272d(0x219)]&&_0x220f9d[_0x4f272d(0x237)]()&&(_0x149442(),_0x4acca5[_0x4f272d(0x20a)]=!0x0);},{'priority':_0x436f0f(0x230)}),this[_0x436f0f(0x233)][_0x436f0f(0x208)](_0x220f9d);}[_0x46dcb3(0x1f1)](_0x53b961){const _0x6d03f2=_0x46dcb3;_0x53b961&&(this[_0x6d03f2(0x1da)](_0x53b961),this[_0x6d03f2(0x233)][_0x6d03f2(0x249)](_0x53b961));}[_0x46dcb3(0x251)](_0x1f31f0){const _0x532166=_0x46dcb3;for(const _0x50ab25 of this[_0x532166(0x236)])_0x1f31f0[_0x532166(0x24e)](_0x50ab25)||this[_0x532166(0x1f7)][_0x532166(0x248)](_0x50ab25[_0x532166(0x244)]);this[_0x532166(0x236)]=_0x1f31f0;}[_0x46dcb3(0x24f)](){const _0x54afba=_0x46dcb3,_0x35c89e=this[_0x54afba(0x23e)];this[_0x54afba(0x221)][_0x54afba(0x1d6)][_0x54afba(0x20b)](_0x54afba(0x20d))[_0x54afba(0x21b)](),this[_0x54afba(0x211)][_0x54afba(0x1ec)](),_0x35c89e[_0x54afba(0x213)]&&this[_0x54afba(0x22f)]();}[_0x46dcb3(0x202)](_0x370ed4){const _0x270fdb=_0x46dcb3;if(this[_0x270fdb(0x1f7)][_0x270fdb(0x200)](_0x370ed4[_0x270fdb(0x244)]))return;const _0x1ed653=this[_0x270fdb(0x23e)][_0x270fdb(0x241)][_0x270fdb(0x22e)];_0x1ed653!==_0x370ed4[_0x270fdb(0x244)]?(_0x1ed653&&this[_0x270fdb(0x239)](_0x1ed653),this[_0x270fdb(0x1e1)](_0x370ed4[_0x270fdb(0x244)]),this[_0x270fdb(0x23e)][_0x270fdb(0x241)][_0x270fdb(0x1d9)](),this[_0x270fdb(0x23e)][_0x270fdb(0x241)][_0x270fdb(0x208)](_0x370ed4[_0x270fdb(0x244)]),this[_0x270fdb(0x22f)]()):this[_0x270fdb(0x22f)]();}[_0x46dcb3(0x22f)](){const _0x1ff44b=_0x46dcb3,_0x1a9a4f=this[_0x1ff44b(0x23e)][_0x1ff44b(0x241)][_0x1ff44b(0x22e)],_0x4f0a6d=_0x1a9a4f&&this[_0x1ff44b(0x211)][_0x1ff44b(0x1ef)](_0x1a9a4f);if(!_0x4f0a6d||!this[_0x1ff44b(0x231)][_0x1ff44b(0x200)](_0x4f0a6d))return;const _0x1fc4a5=this[_0x1ff44b(0x231)][_0x1ff44b(0x20b)](_0x4f0a6d)[_0x1ff44b(0x1dc)],_0x2825ff=(function(){const _0x101444=_0x1ff44b,_0x19cb84=_0x221186[_0x101444(0x225)];return[_0x19cb84[_0x101444(0x1e8)],_0x19cb84[_0x101444(0x1dd)],_0x19cb84[_0x101444(0x21e)],_0x19cb84[_0x101444(0x207)],_0x19cb84[_0x101444(0x220)],_0x19cb84[_0x101444(0x247)]];}());this[_0x1ff44b(0x23e)][_0x1ff44b(0x1e6)]({'target':_0x1fc4a5,'positions':_0x2825ff});}[_0x46dcb3(0x1eb)](){const _0x3ead44=_0x46dcb3,_0x45e4c5=this[_0x3ead44(0x23e)],_0x1c5ed1=_0x45e4c5[_0x3ead44(0x241)][_0x3ead44(0x22e)];_0x1c5ed1&&(this[_0x3ead44(0x239)](_0x1c5ed1),_0x45e4c5[_0x3ead44(0x1d8)](),_0x45e4c5[_0x3ead44(0x241)][_0x3ead44(0x1d9)]());}[_0x46dcb3(0x1e1)](_0x4c4813){const _0xc09459=_0x46dcb3;this[_0xc09459(0x216)](_0x4c4813,_0xc09459(0x20f),()=>this[_0xc09459(0x22f)]()),this[_0xc09459(0x216)](_0x4c4813,_0xc09459(0x1e5),(_0x4821c0,_0x3f1b3a)=>{const _0x2104c1=_0xc09459;this[_0x2104c1(0x1f7)][_0x2104c1(0x208)](_0x4c4813),this[_0x2104c1(0x1eb)](),_0x3f1b3a();});}[_0x46dcb3(0x239)](_0x22ece2){const _0x3ff296=_0x46dcb3;this[_0x3ff296(0x1da)](_0x22ece2);}}
|
|
23
|
+
const _0x5ed191=_0x120d;(function(_0x16fa84,_0x310025){const _0x504ded=_0x120d,_0x448275=_0x16fa84();while(!![]){try{const _0x1a26c2=parseInt(_0x504ded(0xcc))/0x1+-parseInt(_0x504ded(0x10d))/0x2*(-parseInt(_0x504ded(0xd1))/0x3)+-parseInt(_0x504ded(0xf7))/0x4+parseInt(_0x504ded(0x127))/0x5*(-parseInt(_0x504ded(0x121))/0x6)+-parseInt(_0x504ded(0x134))/0x7*(parseInt(_0x504ded(0x136))/0x8)+parseInt(_0x504ded(0x11f))/0x9+-parseInt(_0x504ded(0x13b))/0xa*(-parseInt(_0x504ded(0x149))/0xb);if(_0x1a26c2===_0x310025)break;else _0x448275['push'](_0x448275['shift']());}catch(_0x254e7d){_0x448275['push'](_0x448275['shift']());}}}(_0x5bb0,0x1e0b5));import{ContextPlugin as _0x40ef37,Context as _0x3c129e}from'ckeditor5/src/core.js';function _0x5bb0(){const _0x55a08d=['attach','NarrowSidebar','has','hasDomSelection','Annotations','bind','_updateBalloonPosition','find','preventClosingBalloon','addEventListener','set:container','destroy','high','delete','type','stopPropagation','removeEventListener','resize','_integrateWithEditorAnnotations','get','getSidebarItemView','includes','editors','370332QDpAcv','locale','cancel','refreshVisibility','_manuallyClosedAnnotationViews','defaultPositions','change:height','keydown','activeAnnotation','narrowsidebar-detach-not-attached','_setSelectedAnnotations','focus','low','setActiveAnnotation','view','annotationType','isPremiumPlugin','southArrowNorth','plugins','element','_editorAnnotations','narrowsidebar-attach-already-attached','30WZvXhc','southArrowNorthWest','stopListening','_hideBalloon','requires','isDirty','balloonPanelView','values','from','off','EditorAnnotations','clear','isOfficialPlugin','pin','_annotationToNarrowView','northArrowSouthEast','getByView','refresh','1508787NEAlqg','getOrderedSelectedAnnotations','6zcQhTM','blur','Esc','_detachFromContainer','isVisible','execute','11345KbyeuZ','_detachListeners','rearrange','add','refreshPositioning','mousedown','attachToDom','listenTo','register','ready','_selectedAnnotations','number','first','850892KlRTCB','change:container','8VVOYyP','keyCode','_showBalloon','content','isAttached','10YdGvMu','_destroyEditorAnnotationsIntegration','_attachListeners','_domEmitter','_refreshPositioningDebounced','northArrowSouth','southArrowNorthEast','esc','detachFromDom','_attachToContainer','stop','annotations','_annotations','contains','360305MrQpBe','107136XpZXqa','narrowSidebar','bodyCollection','ck-sidebar--narrow','uiUpdate','6387fqTFka','northArrowSouthWest','preventDefault','target','addAnnotation','init','focusableElements','context','unpin','length','pluginName','detach','_refreshPositioning','set','remove'];_0x5bb0=function(){return _0x55a08d;};return _0x5bb0();}import{AnnotationsUIs as _0x4b5431}from'./annotationsuis.js';import{Sidebar as _0x4278e6}from'./sidebar.js';import{AnnotationCounterButtonView as _0x14429f}from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x341f11,BodyCollection as _0x46cd96}from'ckeditor5/src/ui.js';import{CKEditorError as _0x4e548a,DomEmitterMixin as _0x197729,keyCodes as _0x7d9f1,Collection as _0x382c02}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';function _0x120d(_0x32f7a8,_0x5b540a){const _0x5bb0fc=_0x5bb0();return _0x120d=function(_0x120df9,_0x305543){_0x120df9=_0x120df9-0xcc;let _0x15cacf=_0x5bb0fc[_0x120df9];return _0x15cacf;},_0x120d(_0x32f7a8,_0x5b540a);}import{debounce as _0x544562}from'es-toolkit/compat';export class NarrowSidebar extends _0x40ef37{[_0x5ed191(0x13a)];[_0x5ed191(0x146)];[_0x5ed191(0xfb)];[_0x5ed191(0x13e)];[_0x5ed191(0x11b)];[_0x5ed191(0x131)];[_0x5ed191(0x10b)];[_0x5ed191(0x13f)];static get[_0x5ed191(0x111)](){return[_0x4278e6,_0x4b5431];}static get[_0x5ed191(0xdb)](){const _0x1eb838=_0x5ed191;return _0x1eb838(0xe1);}static get[_0x5ed191(0x119)](){return!0x0;}static get[_0x5ed191(0x107)](){return!0x0;}constructor(_0x2fa148){const _0x187b89=_0x5ed191;super(_0x2fa148),this[_0x187b89(0x13a)]=!0x1,this[_0x187b89(0xfb)]=new Set(),this[_0x187b89(0x13e)]=new(_0x197729())(),this[_0x187b89(0x11b)]=new Map(),this[_0x187b89(0xde)](_0x187b89(0xff),null),this[_0x187b89(0x146)]=null,this[_0x187b89(0x131)]=[],this[_0x187b89(0x10b)]=new _0x382c02(),this[_0x187b89(0x13f)]=_0x544562(()=>{const _0x7bc18c=_0x187b89;this[_0x7bc18c(0xdd)]();},0xfa,{'leading':!0x1});}[_0x5ed191(0xd6)](){const _0x2c3c80=_0x5ed191;this[_0x2c3c80(0xd8)][_0x2c3c80(0x109)][_0x2c3c80(0xf3)](_0x4b5431)[_0x2c3c80(0x12f)](_0x2c3c80(0xcd),this),this[_0x2c3c80(0xce)]=new _0x46cd96(this[_0x2c3c80(0xd8)][_0x2c3c80(0xf8)]),this[_0x2c3c80(0x113)]=new _0x341f11(this[_0x2c3c80(0xd8)][_0x2c3c80(0xf8)]),this[_0x2c3c80(0xce)][_0x2c3c80(0x12d)](),this[_0x2c3c80(0xce)][_0x2c3c80(0x12a)](this[_0x2c3c80(0x113)]);}[_0x5ed191(0xe0)](_0x3e2c86){const _0x14fa70=_0x5ed191;this[_0x14fa70(0x146)]=_0x3e2c86;const _0xb45a07=this[_0x14fa70(0xd8)][_0x14fa70(0x109)][_0x14fa70(0xf3)](_0x4278e6),_0x24fd55=this[_0x14fa70(0x113)];if(_0xb45a07[_0x14fa70(0x147)]=_0x3e2c86,this[_0x14fa70(0x13a)])throw new _0x4e548a(_0x14fa70(0x10c),this);this[_0x14fa70(0x13a)]=!0x0,this[_0x14fa70(0x12e)](_0xb45a07,_0x14fa70(0xea),()=>{const _0x56f135=_0x14fa70;this[_0x56f135(0xdc)](),this[_0x56f135(0x12e)](_0xb45a07,_0x56f135(0x135),_0x3933a6=>{const _0x9fc445=_0x56f135;_0x3933a6[_0x9fc445(0x116)](),this[_0x9fc445(0xe0)](_0x3e2c86);});}),_0xb45a07[_0x14fa70(0x144)]({'viewClass':_0x14fa70(0xcf),'spaceBetweenItems':0x5});const _0x53b899=_0x337e30=>{const _0x400ff6=_0x14fa70,_0x4b25a9=new _0x14429f(this[_0x400ff6(0xd8)][_0x400ff6(0xf8)]);_0xb45a07[_0x400ff6(0xd5)](_0x337e30,_0x4b25a9),this[_0x400ff6(0x11b)][_0x400ff6(0xde)](_0x337e30,_0x4b25a9),_0x4b25a9[_0x400ff6(0xe5)](_0x400ff6(0x112),_0x400ff6(0x106),_0x400ff6(0x132))['to'](_0x337e30[_0x400ff6(0x105)],_0x400ff6(0x112),_0x400ff6(0xee),_0x400ff6(0xda)),_0x4b25a9['on'](_0x400ff6(0x126),()=>{const _0x7bf596=_0x400ff6;this[_0x7bf596(0xfb)][_0x7bf596(0x118)](),_0x24fd55[_0x7bf596(0x139)][_0x7bf596(0x133)]!==_0x337e30[_0x7bf596(0x105)]?(this[_0x7bf596(0x138)](_0x337e30),_0x337e30[_0x7bf596(0x105)][_0x7bf596(0x10a)][_0x7bf596(0x102)](),this[_0x7bf596(0x104)](_0x337e30)):this[_0x7bf596(0x104)](null);});};for(const _0x229bdd of _0x3e2c86)_0x53b899(_0x229bdd);this[_0x14fa70(0x12e)](_0x3e2c86,_0x14fa70(0x12a),(_0x35d3fa,_0x47ffac)=>{_0x53b899(_0x47ffac);}),this[_0x14fa70(0x12e)](_0x3e2c86,_0x14fa70(0xdf),(_0x50fd36,_0x31d976,_0xd1cfbc)=>{const _0x3b519e=_0x14fa70;this[_0x3b519e(0x11b)][_0x3b519e(0xf3)](_0x31d976)[_0x3b519e(0xeb)](),this[_0x3b519e(0x11b)][_0x3b519e(0xed)](_0x31d976),_0xb45a07[_0x3b519e(0x129)]({'removedAnnotation':_0x31d976,'previousAnnotation':_0x3e2c86[_0x3b519e(0xf3)](_0xd1cfbc-0x1),'nextAnnotation':_0x3e2c86[_0x3b519e(0xf3)](_0xd1cfbc+0x1)}),_0x31d976===this[_0x3b519e(0xff)]&&this[_0x3b519e(0x104)](null);},{'priority':_0x14fa70(0x103)}),this[_0x14fa70(0x12e)](_0x3e2c86,_0x14fa70(0x102),(_0xf2f0f2,_0x52ffb3)=>{const _0x106da9=_0x14fa70;this[_0x106da9(0x104)](_0x52ffb3);}),this[_0x14fa70(0x12e)](_0x3e2c86,_0x14fa70(0x122),()=>{const _0x1c817a=_0x14fa70;this[_0x1c817a(0x104)](null);}),this[_0x14fa70(0x13e)][_0x14fa70(0x12e)](document,_0x14fa70(0xfe),(_0x197a74,_0x1a204d)=>{const _0x1a773f=_0x14fa70;_0x1a204d[_0x1a773f(0x137)]===_0x7d9f1[_0x1a773f(0x142)]&&_0x24fd55[_0x1a773f(0x125)]&&(this[_0x1a773f(0xfb)][_0x1a773f(0x12a)](_0x24fd55[_0x1a773f(0x139)][_0x1a773f(0x133)]),this[_0x1a773f(0x110)](),_0x1a204d[_0x1a773f(0xef)](),_0x1a204d[_0x1a773f(0xd3)]());}),this[_0x14fa70(0x13e)][_0x14fa70(0x12e)](document,_0x14fa70(0x12c),(_0x8dd08,_0x2f2340)=>{const _0x3d311c=_0x14fa70,_0xc51403=_0x2f2340[_0x3d311c(0xd4)];_0x24fd55[_0x3d311c(0x125)]&&_0x24fd55[_0x3d311c(0x10a)][_0x3d311c(0x148)](_0xc51403)||_0xb45a07[_0x3d311c(0x105)][_0x3d311c(0x10a)][_0x3d311c(0x148)](_0xc51403)||_0x8dd08[_0x3d311c(0xe8)]||this[_0x3d311c(0xff)]&&this[_0x3d311c(0xff)][_0x3d311c(0xd7)][_0x3d311c(0xe7)](_0x31de12=>_0x31de12[_0x3d311c(0x148)](_0xc51403))||(this[_0x3d311c(0xfb)][_0x3d311c(0x118)](),this[_0x3d311c(0x110)](),this[_0x3d311c(0x104)](null));});const _0x537a35=this[_0x14fa70(0xd8)]instanceof _0x3c129e?this[_0x14fa70(0xd8)][_0x14fa70(0xf6)]:new _0x382c02([this[_0x14fa70(0xd8)]]);for(const _0x234e86 of _0x537a35)this[_0x14fa70(0xf2)](_0x234e86);this[_0x14fa70(0x12e)](_0x537a35,_0x14fa70(0x12a),(_0x56b504,_0x507da9)=>{const _0x584ca1=_0x14fa70;this[_0x584ca1(0x12e)](_0x507da9,_0x584ca1(0x130),()=>{const _0x29de7d=_0x584ca1;this[_0x29de7d(0xf2)](_0x507da9);});}),this[_0x14fa70(0x12e)](_0x537a35,_0x14fa70(0xdf),(_0xc9af0,_0xb057ad)=>{const _0x49a95b=_0x14fa70;_0xb057ad[_0x49a95b(0x109)][_0x49a95b(0xe2)](_0x49a95b(0x117))&&this[_0x49a95b(0x13c)](_0xb057ad[_0x49a95b(0x109)][_0x49a95b(0xf3)](_0x49a95b(0x117)));}),window[_0x14fa70(0xe9)](_0x14fa70(0xf1),this[_0x14fa70(0x13f)]),this[_0x14fa70(0xdd)]();}[_0x5ed191(0x104)](_0x36ff46){const _0x51f184=_0x5ed191;if(_0x36ff46===this[_0x51f184(0xff)])return;const _0x3ea97d=this[_0x51f184(0xd8)][_0x51f184(0x109)][_0x51f184(0xf3)](_0x4278e6);if(_0x3ea97d[_0x51f184(0x11e)]({'blurredAnnotation':this[_0x51f184(0xff)],'activatedAnnotation':_0x36ff46,'disableAnimationOnActivatedAnnotation':!0x0}),_0x36ff46)_0x3ea97d[_0x51f184(0xf4)](_0x36ff46)?this[_0x51f184(0x138)](_0x36ff46):this[_0x51f184(0x110)]();else this[_0x51f184(0x110)]();this[_0x51f184(0xff)]=_0x36ff46;}[_0x5ed191(0xdc)](){const _0x41d155=_0x5ed191;if(!this[_0x41d155(0x13a)])throw new _0x4e548a(_0x41d155(0x100),this);this[_0x41d155(0x104)](null);const _0x2814bb=this[_0x41d155(0xd8)][_0x41d155(0x109)][_0x41d155(0xf3)](_0x4278e6);this[_0x41d155(0x110)](),Array[_0x41d155(0x115)](this[_0x41d155(0x11b)][_0x41d155(0x114)](),_0x1f17f6=>_0x1f17f6[_0x41d155(0xeb)]()),this[_0x41d155(0x11b)][_0x41d155(0x118)](),_0x2814bb[_0x41d155(0x124)](this[_0x41d155(0x146)]),this[_0x41d155(0x10f)](),this[_0x41d155(0x13e)][_0x41d155(0x10f)](),this[_0x41d155(0xd8)]instanceof _0x3c129e&&this[_0x41d155(0x10f)](this[_0x41d155(0xd8)][_0x41d155(0xf6)]);for(const _0x36212f of Array[_0x41d155(0x115)](this[_0x41d155(0x10b)]))this[_0x41d155(0x13c)](_0x36212f);window[_0x41d155(0xf0)](_0x41d155(0xf1),this[_0x41d155(0x13f)]),this[_0x41d155(0x13f)][_0x41d155(0xf9)](),this[_0x41d155(0x131)]=[],this[_0x41d155(0x13a)]=!0x1,this[_0x41d155(0x146)]=null;}[_0x5ed191(0xeb)](){const _0x4b8d55=_0x5ed191;this[_0x4b8d55(0x13a)]&&this[_0x4b8d55(0xdc)](),this[_0x4b8d55(0xce)][_0x4b8d55(0x143)]();}[_0x5ed191(0xf2)](_0x17c3e8){const _0xbb172e=_0x5ed191;if(!_0x17c3e8[_0xbb172e(0x109)][_0xbb172e(0xe2)](_0xbb172e(0x117)))return;const _0x2c4650=_0x17c3e8[_0xbb172e(0x109)][_0xbb172e(0xf3)](_0xbb172e(0x117)),_0x4b8d73=this[_0xbb172e(0xd8)][_0xbb172e(0x109)][_0xbb172e(0xf3)](_0x4278e6),_0x466a10=this[_0xbb172e(0x146)],_0x5336e8=this[_0xbb172e(0x113)],_0x3dee49=()=>{const _0x33e7c1=_0xbb172e,_0xdb5f48=_0x2c4650[_0x33e7c1(0x120)]({'annotations':this[_0x33e7c1(0x146)],'activeAnnotation':this[_0x33e7c1(0xff)]});this[_0x33e7c1(0x101)](_0xdb5f48),this[_0x33e7c1(0x104)](_0xdb5f48[0x0]||null);};this[_0xbb172e(0x12e)](_0x2c4650,_0xbb172e(0x11e),_0x3dee49),this[_0xbb172e(0x12e)](_0x2c4650,_0xbb172e(0x122),(_0x46fa60,{isAnnotationTracked:_0x1dfaee})=>{const _0x3d306a=_0xbb172e;this[_0x3d306a(0xff)]&&_0x1dfaee(this[_0x3d306a(0xff)])&&(this[_0x3d306a(0x101)]([]),this[_0x3d306a(0x104)](null));}),this[_0xbb172e(0x12e)](_0x2c4650,_0xbb172e(0xd0),()=>{const _0x3ec9b0=_0xbb172e;this[_0x3ec9b0(0x13f)]();}),this[_0xbb172e(0x12e)](_0x466a10,_0xbb172e(0x122),_0x5693d8=>{const _0x200f9e=_0xbb172e;_0x2c4650[_0x200f9e(0xe3)]()&&_0x5693d8[_0x200f9e(0x145)]();},{'priority':_0xbb172e(0xec)}),this[_0xbb172e(0x12e)](this[_0xbb172e(0x13e)],_0xbb172e(0x12c),(_0x2bfc12,_0x27f851)=>{const _0x1c6742=_0xbb172e,_0x9ae3bb=_0x27f851[_0x1c6742(0xd4)];_0x5336e8[_0x1c6742(0x125)]&&_0x5336e8[_0x1c6742(0x10a)][_0x1c6742(0x148)](_0x9ae3bb)||_0x4b8d73[_0x1c6742(0x105)][_0x1c6742(0x10a)][_0x1c6742(0x148)](_0x9ae3bb)||this[_0x1c6742(0xff)]&&_0x2c4650[_0x1c6742(0xe3)]()&&(_0x3dee49(),_0x2bfc12[_0x1c6742(0xe8)]=!0x0);},{'priority':_0xbb172e(0xec)}),this[_0xbb172e(0x10b)][_0xbb172e(0x12a)](_0x2c4650);}[_0x5ed191(0x13c)](_0x2a7045){const _0x436203=_0x5ed191;_0x2a7045&&(this[_0x436203(0x10f)](_0x2a7045),this[_0x436203(0x10b)][_0x436203(0xdf)](_0x2a7045));}[_0x5ed191(0x101)](_0x2dc3fe){const _0x10298e=_0x5ed191;for(const _0x573f97 of this[_0x10298e(0x131)])_0x2dc3fe[_0x10298e(0xf5)](_0x573f97)||this[_0x10298e(0xfb)][_0x10298e(0xed)](_0x573f97[_0x10298e(0x105)]);this[_0x10298e(0x131)]=_0x2dc3fe;}[_0x5ed191(0xdd)](){const _0x2068bd=_0x5ed191,_0x16beb1=this[_0x2068bd(0x113)];this[_0x2068bd(0xd8)][_0x2068bd(0x109)][_0x2068bd(0xf3)](_0x2068bd(0xe4))[_0x2068bd(0xfa)](),this[_0x2068bd(0x146)][_0x2068bd(0x12b)](),_0x16beb1[_0x2068bd(0x125)]&&this[_0x2068bd(0xe6)]();}[_0x5ed191(0x138)](_0x7117d0){const _0x4f07fe=_0x5ed191;if(this[_0x4f07fe(0xfb)][_0x4f07fe(0xe2)](_0x7117d0[_0x4f07fe(0x105)]))return;const _0x9c7bae=this[_0x4f07fe(0x113)][_0x4f07fe(0x139)][_0x4f07fe(0x133)];_0x9c7bae!==_0x7117d0[_0x4f07fe(0x105)]?(_0x9c7bae&&this[_0x4f07fe(0x128)](_0x9c7bae),this[_0x4f07fe(0x13d)](_0x7117d0[_0x4f07fe(0x105)]),this[_0x4f07fe(0x113)][_0x4f07fe(0x139)][_0x4f07fe(0x118)](),this[_0x4f07fe(0x113)][_0x4f07fe(0x139)][_0x4f07fe(0x12a)](_0x7117d0[_0x4f07fe(0x105)]),this[_0x4f07fe(0xe6)]()):this[_0x4f07fe(0xe6)]();}[_0x5ed191(0xe6)](){const _0x5481df=_0x5ed191,_0xc48fb2=this[_0x5481df(0x113)][_0x5481df(0x139)][_0x5481df(0x133)],_0x286d9b=_0xc48fb2&&this[_0x5481df(0x146)][_0x5481df(0x11d)](_0xc48fb2);if(!_0x286d9b||!this[_0x5481df(0x11b)][_0x5481df(0xe2)](_0x286d9b))return;const _0x1db3be=this[_0x5481df(0x11b)][_0x5481df(0xf3)](_0x286d9b)[_0x5481df(0x10a)],_0x9e9a12=(function(){const _0x312f6d=_0x5481df,_0x1eab06=_0x341f11[_0x312f6d(0xfc)];return[_0x1eab06[_0x312f6d(0x141)],_0x1eab06[_0x312f6d(0x11c)],_0x1eab06[_0x312f6d(0x108)],_0x1eab06[_0x312f6d(0x140)],_0x1eab06[_0x312f6d(0x10e)],_0x1eab06[_0x312f6d(0xd2)]];}());this[_0x5481df(0x113)][_0x5481df(0x11a)]({'target':_0x1db3be,'positions':_0x9e9a12});}[_0x5ed191(0x110)](){const _0x29b2f4=_0x5ed191,_0x37b6a0=this[_0x29b2f4(0x113)],_0x167c8b=_0x37b6a0[_0x29b2f4(0x139)][_0x29b2f4(0x133)];_0x167c8b&&(this[_0x29b2f4(0x128)](_0x167c8b),_0x37b6a0[_0x29b2f4(0xd9)](),_0x37b6a0[_0x29b2f4(0x139)][_0x29b2f4(0x118)]());}[_0x5ed191(0x13d)](_0x2c93e5){const _0x123b46=_0x5ed191;this[_0x123b46(0x12e)](_0x2c93e5,_0x123b46(0xfd),()=>this[_0x123b46(0xe6)]()),this[_0x123b46(0x12e)](_0x2c93e5,_0x123b46(0x123),(_0x120e6f,_0x3c19c2)=>{const _0x3479f1=_0x123b46;this[_0x3479f1(0xfb)][_0x3479f1(0x12a)](_0x2c93e5),this[_0x3479f1(0x110)](),_0x3c19c2();});}[_0x5ed191(0x128)](_0x154b6f){const _0x177f98=_0x5ed191;this[_0x177f98(0x10f)](_0x154b6f);}}
|