@ckeditor/ckeditor5-comments 45.0.0 → 45.1.0-alpha.1
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 +9 -9
- 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 +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.d.ts +3 -4
- 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.d.ts +1 -0
- 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.d.ts +1 -0
- 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 +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- 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.d.ts +15 -34
- 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.d.ts +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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x39db29=>{const {zh:{dictionary:_0x2700b5,getPluralForm:_0x3be361}}={'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':_0x2731a6=>0x0}};_0x39db29['zh']||={'dictionary':{},'getPluralForm':null},_0x39db29['zh']['dictionary']=Object['assign'](_0x39db29['zh']['dictionary'],_0x2700b5),_0x39db29['zh']['getPluralForm']=_0x3be361;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "45.0.
|
|
3
|
+
"version": "45.1.0-alpha.1",
|
|
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,23 +45,23 @@
|
|
|
45
45
|
"CHANGELOG.md"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@ckeditor/ckeditor5-clipboard": "45.0.
|
|
49
|
-
"@ckeditor/ckeditor5-collaboration-core": "45.0.
|
|
50
|
-
"@ckeditor/ckeditor5-core": "45.0.
|
|
51
|
-
"@ckeditor/ckeditor5-engine": "45.0.
|
|
52
|
-
"@ckeditor/ckeditor5-enter": "45.0.
|
|
53
|
-
"@ckeditor/ckeditor5-icons": "45.0.
|
|
54
|
-
"@ckeditor/ckeditor5-paragraph": "45.0.
|
|
55
|
-
"@ckeditor/ckeditor5-select-all": "45.0.
|
|
56
|
-
"@ckeditor/ckeditor5-source-editing": "45.0.
|
|
57
|
-
"@ckeditor/ckeditor5-theme-lark": "45.0.
|
|
58
|
-
"@ckeditor/ckeditor5-typing": "45.0.
|
|
59
|
-
"@ckeditor/ckeditor5-ui": "45.0.
|
|
60
|
-
"@ckeditor/ckeditor5-undo": "45.0.
|
|
61
|
-
"@ckeditor/ckeditor5-utils": "45.0.
|
|
62
|
-
"@ckeditor/ckeditor5-widget": "45.0.
|
|
63
|
-
"ckeditor5": "45.0.
|
|
64
|
-
"ckeditor5-collaboration": "45.0.
|
|
48
|
+
"@ckeditor/ckeditor5-clipboard": "45.1.0-alpha.1",
|
|
49
|
+
"@ckeditor/ckeditor5-collaboration-core": "45.1.0-alpha.1",
|
|
50
|
+
"@ckeditor/ckeditor5-core": "45.1.0-alpha.1",
|
|
51
|
+
"@ckeditor/ckeditor5-engine": "45.1.0-alpha.1",
|
|
52
|
+
"@ckeditor/ckeditor5-enter": "45.1.0-alpha.1",
|
|
53
|
+
"@ckeditor/ckeditor5-icons": "45.1.0-alpha.1",
|
|
54
|
+
"@ckeditor/ckeditor5-paragraph": "45.1.0-alpha.1",
|
|
55
|
+
"@ckeditor/ckeditor5-select-all": "45.1.0-alpha.1",
|
|
56
|
+
"@ckeditor/ckeditor5-source-editing": "45.1.0-alpha.1",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "45.1.0-alpha.1",
|
|
58
|
+
"@ckeditor/ckeditor5-typing": "45.1.0-alpha.1",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.1",
|
|
60
|
+
"@ckeditor/ckeditor5-undo": "45.1.0-alpha.1",
|
|
61
|
+
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.1",
|
|
62
|
+
"@ckeditor/ckeditor5-widget": "45.1.0-alpha.1",
|
|
63
|
+
"ckeditor5": "45.1.0-alpha.1",
|
|
64
|
+
"ckeditor5-collaboration": "45.1.0-alpha.1",
|
|
65
65
|
"es-toolkit": "1.32.0"
|
|
66
66
|
},
|
|
67
67
|
"types": "src/index.d.ts",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x23a1(_0x1bd0ea,_0x12fd77){const _0x2dc6ff=_0x2dc6();return _0x23a1=function(_0x23a1c8,_0xdbdb1e){_0x23a1c8=_0x23a1c8-0x69;let _0x5a1f15=_0x2dc6ff[_0x23a1c8];return _0x5a1f15;},_0x23a1(_0x1bd0ea,_0x12fd77);}const _0xf544c6=_0x23a1;(function(_0x9e6398,_0x272d93){const _0x17bab9=_0x23a1,_0xe5e2b=_0x9e6398();while(!![]){try{const _0x40ba6b=parseInt(_0x17bab9(0x80))/0x1+-parseInt(_0x17bab9(0x7c))/0x2+parseInt(_0x17bab9(0x83))/0x3*(parseInt(_0x17bab9(0x75))/0x4)+parseInt(_0x17bab9(0x6f))/0x5*(parseInt(_0x17bab9(0x73))/0x6)+parseInt(_0x17bab9(0x91))/0x7+-parseInt(_0x17bab9(0x6b))/0x8*(parseInt(_0x17bab9(0x82))/0x9)+-parseInt(_0x17bab9(0x8f))/0xa;if(_0x40ba6b===_0x272d93)break;else _0xe5e2b['push'](_0xe5e2b['shift']());}catch(_0x2031c6){_0xe5e2b['push'](_0xe5e2b['shift']());}}}(_0x2dc6,0xb00f6));import{CKEditorError as _0xf123c5,Rect as _0x43a7b2,Collection as _0x3db1a1,ObservableMixin as _0x7b00cf}from'ckeditor5/src/utils.js';function _0x2dc6(){const _0xa0793d=['focusableElements','2258210xRHCkJ','length','clear','isVisible','6gJXXto','annotation-invalid-target','4pTbQJl','_id','object','view','item','stopListening','remove','2489744jfBzBQ','set','every','targetRect','667107xCtDOk','function','278667zycwQf','806694ydVClj','type','_type','isArray','focusTracker','target','filter','nodeType','element','render','add','_target','5053870nUkOXT','getClientRects','8236501zvqDFB','offsetParent','_getNormalizedTarget','isActive','mainView','innerView','refreshVisibility','_assertCorrectTarget','24NKTeQw','updateTargetRect','destroy'];_0x2dc6=function(){return _0xa0793d;};return _0x2dc6();}export default class d extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x7b00cf(){[_0xf544c6(0x78)];[_0xf544c6(0x6e)];[_0xf544c6(0x85)];[_0xf544c6(0x8e)];constructor({view:_0xfe453,target:_0x3d2210,type:_0x304505,isVisible:_0x5c3620=!0x0}){const _0x2db5cb=_0xf544c6;super(),this[_0x2db5cb(0x78)]=_0xfe453,this[_0x2db5cb(0x78)][_0x2db5cb(0x8b)]||this[_0x2db5cb(0x78)][_0x2db5cb(0x8c)](),this[_0x2db5cb(0x85)]=_0x304505,this[_0x2db5cb(0x8e)]=_0x3d2210,d[_0x2db5cb(0x6a)](this[_0x2db5cb(0x93)]()),this[_0x2db5cb(0x6e)]=new _0x3db1a1([this[_0x2db5cb(0x78)][_0x2db5cb(0x8b)]],{'idProperty':_0x2db5cb(0x76)}),this[_0x2db5cb(0x6e)]['on'](_0x2db5cb(0x8d),(_0x446244,_0x111a40)=>{const _0x5d6967=_0x2db5cb;this[_0x5d6967(0x78)][_0x5d6967(0x87)][_0x5d6967(0x8d)](_0x111a40);}),this[_0x2db5cb(0x6e)]['on'](_0x2db5cb(0x7b),(_0x46ac97,_0x53854d)=>{const _0x343abc=_0x2db5cb;this[_0x343abc(0x78)][_0x343abc(0x87)][_0x343abc(0x7b)](_0x53854d);}),this[_0x2db5cb(0x7d)](_0x2db5cb(0x72),_0x5c3620);}get[_0xf544c6(0x84)](){const _0xb464d9=_0xf544c6;return _0xb464d9(0x81)==typeof this[_0xb464d9(0x85)]?this[_0xb464d9(0x85)]():this[_0xb464d9(0x85)];}get[_0xf544c6(0x96)](){const _0x5c494f=_0xf544c6;return this[_0x5c494f(0x78)][_0x5c494f(0x95)];}get[_0xf544c6(0x88)](){const _0x2fb1f8=_0xf544c6,_0x4a9fe2=this[_0x2fb1f8(0x93)]();return d[_0x2fb1f8(0x6a)](_0x4a9fe2),_0x4a9fe2;}get[_0xf544c6(0x7f)](){const _0x2e0e75=_0xf544c6,_0x1afdc4=this[_0x2e0e75(0x88)];if(null===_0x1afdc4)return null;if(_0x1afdc4 instanceof _0x43a7b2)return _0x1afdc4;const _0x59cf22=_0x1afdc4[_0x2e0e75(0x89)](_0x538d1d=>function(_0x50ef4b){const _0x2c68f0=_0x2e0e75,_0x35629d=_0x50ef4b[_0x2c68f0(0x92)];if(_0x35629d)return!0x0;const _0x6506e4=_0x50ef4b[_0x2c68f0(0x90)]()[_0x2c68f0(0x79)](0x0);return!!_0x6506e4;}(_0x538d1d));return 0x0===_0x59cf22[_0x2e0e75(0x70)]?null:new _0x43a7b2(_0x59cf22[0x0][_0x2e0e75(0x90)]()[_0x2e0e75(0x79)](0x0));}get[_0xf544c6(0x94)](){const _0x4b9062=_0xf544c6;return this[_0x4b9062(0x78)][_0x4b9062(0x94)];}set[_0xf544c6(0x94)](_0x3b7d81){const _0x201b2c=_0xf544c6;this[_0x201b2c(0x78)][_0x201b2c(0x94)]=_0x3b7d81,this[_0x201b2c(0x78)][_0x201b2c(0x95)][_0x201b2c(0x94)]=_0x3b7d81;}[_0xf544c6(0x6c)](){const _0x4b9813=_0xf544c6;this[_0x4b9813(0x78)][_0x4b9813(0x7f)]=this[_0x4b9813(0x7f)];}[_0xf544c6(0x6d)](){const _0x32b4b5=_0xf544c6;this[_0x32b4b5(0x6e)][_0x32b4b5(0x7a)](),this[_0x32b4b5(0x6e)][_0x32b4b5(0x71)](),this[_0x32b4b5(0x7a)]();}[_0xf544c6(0x69)](){const _0x259044=_0xf544c6;this[_0x259044(0x72)]=!!this[_0x259044(0x7f)];}static[_0xf544c6(0x6a)](_0x17b36e){const _0x7e08f7=_0xf544c6;if(!(null===_0x17b36e||_0x17b36e instanceof _0x43a7b2||Array[_0x7e08f7(0x86)](_0x17b36e)&&_0x17b36e[_0x7e08f7(0x7e)](_0x1f46ee=>y(_0x1f46ee))))throw new _0xf123c5(_0x7e08f7(0x74),null,{'target':_0x17b36e});}[_0xf544c6(0x93)](){const _0x31a61c=_0xf544c6,_0x1c71db=_0x31a61c(0x81)==typeof this[_0x31a61c(0x8e)]?this[_0x31a61c(0x8e)]():this[_0x31a61c(0x8e)];return y(_0x1c71db)?[_0x1c71db]:_0x1c71db;}}function y(_0x3ada1c){const _0x34e9b9=_0xf544c6;return null!==_0x3ada1c&&_0x34e9b9(0x77)==typeof _0x3ada1c&&_0x34e9b9(0x8a)in _0x3ada1c&&0x1===_0x3ada1c[_0x34e9b9(0x8a)];}
|
|
@@ -84,10 +84,9 @@ export type AnnotationBlurEvent = {
|
|
|
84
84
|
* {@link module:comments/annotations/annotations~Annotations#collection main annotation collection} should be handled by
|
|
85
85
|
* a given annotations UI.
|
|
86
86
|
*
|
|
87
|
-
* @param
|
|
88
|
-
* from which the annotations will be taken.
|
|
89
|
-
* @param
|
|
90
|
-
* that will be synced to the source collection.
|
|
87
|
+
* @param options An object with configuration options.
|
|
88
|
+
* @param options.source The source collection from which the annotations will be taken.
|
|
89
|
+
* @param options.target The target collection that will be synced to the source collection.
|
|
91
90
|
* @param options.filter Filtering function that gets an annotation and should return `true` if the annotation should be
|
|
92
91
|
* copied to the `target` collection.
|
|
93
92
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5271d6=_0x4e4d;(function(_0x2a891e,_0x1ef857){const _0x3cba26=_0x4e4d,_0x3fd6f6=_0x2a891e();while(!![]){try{const _0x2a961a=parseInt(_0x3cba26(0x123))/0x1+-parseInt(_0x3cba26(0x11f))/0x2*(-parseInt(_0x3cba26(0x124))/0x3)+-parseInt(_0x3cba26(0x121))/0x4+parseInt(_0x3cba26(0x111))/0x5*(parseInt(_0x3cba26(0x11d))/0x6)+parseInt(_0x3cba26(0x112))/0x7+parseInt(_0x3cba26(0x117))/0x8*(parseInt(_0x3cba26(0x10c))/0x9)+parseInt(_0x3cba26(0x103))/0xa*(-parseInt(_0x3cba26(0x107))/0xb);if(_0x2a961a===_0x1ef857)break;else _0x3fd6f6['push'](_0x3fd6f6['shift']());}catch(_0x55e961){_0x3fd6f6['push'](_0x3fd6f6['shift']());}}}(_0x18b5,0x7b9f1));function _0x4e4d(_0x2979b0,_0x4c592a){const _0x18b57b=_0x18b5();return _0x4e4d=function(_0x4e4d71,_0x480d9d){_0x4e4d71=_0x4e4d71-0x103;let _0x2f1830=_0x18b57b[_0x4e4d71];return _0x2f1830;},_0x4e4d(_0x2979b0,_0x4c592a);}import{CKEditorError as _0x835d7d,Collection as _0x1bb11e,FocusTracker as _0x55ddbe}from'ckeditor5/src/utils.js';function _0x18b5(){const _0x107bdf=['listenTo','annotationcollection-not-existing-item','remove','4218YsarKi','_focusTracker','27006DUGxDQ','sort','1021756CrrAPH','annotationcollection-duplicated-item','543649znpvqW','12afFqRf','focus','destroy','getByView','_viewToAnnotation','updateTargetRect','targetRect','blur','getIndex','get','length','has','delete','_innerViewToAnnotation','from','10lVtfLC','fire','getByInnerView','focusTracker','23426073SOlgiR','focusableElements','_getOrderInContent','_sort','change:isFocused','9UCjnUd','view','add','set','isFocused','5410MnjWap','4868269ZfxiEL','clear','stopListening','left','refreshPositioning','6701288ByiyOY','innerView','top'];_0x18b5=function(){return _0x107bdf;};return _0x18b5();}export default class _ extends _0x1bb11e{[_0x5271d6(0x131)];[_0x5271d6(0x128)];[_0x5271d6(0x11e)];constructor(_0x105af4=[]){const _0xa8a2bf=_0x5271d6;super(),this[_0xa8a2bf(0x131)]=new Map(),this[_0xa8a2bf(0x128)]=new Map(),this[_0xa8a2bf(0x11e)]=new _0x55ddbe(),this[_0xa8a2bf(0x11e)]['on'](_0xa8a2bf(0x10b),(_0x299eb0,_0xa30599,_0x255b30)=>{const _0x1820d4=_0xa8a2bf;_0x255b30||this[_0x1820d4(0x104)](_0x1820d4(0x12b));});for(const _0x530084 of _0x105af4)this[_0xa8a2bf(0x10e)](_0x530084);}get[_0x5271d6(0x110)](){const _0x1adde1=_0x5271d6;return this[_0x1adde1(0x11e)][_0x1adde1(0x110)];}[_0x5271d6(0x10e)](_0x4fea3f){const _0x40cb8d=_0x5271d6;if(this[_0x40cb8d(0x12f)](_0x4fea3f))throw new _0x835d7d(_0x40cb8d(0x122),null);this[_0x40cb8d(0x131)][_0x40cb8d(0x10f)](_0x4fea3f[_0x40cb8d(0x118)],_0x4fea3f),this[_0x40cb8d(0x128)][_0x40cb8d(0x10f)](_0x4fea3f[_0x40cb8d(0x10d)],_0x4fea3f);for(const _0x3ee903 of _0x4fea3f[_0x40cb8d(0x108)])this[_0x40cb8d(0x11e)][_0x40cb8d(0x10e)](_0x3ee903);this[_0x40cb8d(0x11a)](_0x4fea3f[_0x40cb8d(0x108)],_0x40cb8d(0x10e),(_0xf86d6,_0x28fa97)=>{const _0x3db55e=_0x40cb8d;this[_0x3db55e(0x11e)][_0x3db55e(0x10e)](_0x28fa97);}),this[_0x40cb8d(0x11a)](_0x4fea3f[_0x40cb8d(0x108)],_0x40cb8d(0x11c),(_0x4d82ca,_0x552280)=>{const _0x2ce025=_0x40cb8d;this[_0x2ce025(0x11e)][_0x2ce025(0x11c)](_0x552280);}),this[_0x40cb8d(0x11a)](_0x4fea3f[_0x40cb8d(0x10d)][_0x40cb8d(0x106)],_0x40cb8d(0x10b),(_0x27630d,_0x2707cb,_0x48cb38)=>{const _0x41be2d=_0x40cb8d;_0x48cb38&&this[_0x41be2d(0x104)](_0x41be2d(0x125),_0x4fea3f);}),_0x4fea3f[_0x40cb8d(0x129)]();const _0x776dea=this[_0x40cb8d(0x109)](_0x4fea3f[_0x40cb8d(0x10d)][_0x40cb8d(0x12a)]);return super[_0x40cb8d(0x10e)](_0x4fea3f,_0x776dea);}[_0x5271d6(0x11c)](_0x37d57f){const _0x25d650=_0x5271d6;if(!this[_0x25d650(0x12f)](_0x37d57f))throw new _0x835d7d(_0x25d650(0x11b),null);this[_0x25d650(0x114)](_0x37d57f[_0x25d650(0x10d)][_0x25d650(0x106)]),this[_0x25d650(0x114)](_0x37d57f[_0x25d650(0x108)]);for(const _0x5d1960 of _0x37d57f[_0x25d650(0x108)])this[_0x25d650(0x11e)][_0x25d650(0x11c)](_0x5d1960);return this[_0x25d650(0x128)][_0x25d650(0x130)](_0x37d57f[_0x25d650(0x10d)]),this[_0x25d650(0x131)][_0x25d650(0x130)](_0x37d57f[_0x25d650(0x118)]),super[_0x25d650(0x11c)](_0x37d57f);}[_0x5271d6(0x105)](_0x5a8a2a){const _0x1ba4b6=_0x5271d6;return this[_0x1ba4b6(0x131)][_0x1ba4b6(0x12d)](_0x5a8a2a);}[_0x5271d6(0x127)](_0x1132c4){const _0x25a0c4=_0x5271d6;return this[_0x25a0c4(0x128)][_0x25a0c4(0x12d)](_0x1132c4);}[_0x5271d6(0x126)](){const _0x928f12=_0x5271d6;super[_0x928f12(0x113)](),this[_0x928f12(0x114)](),this[_0x928f12(0x131)][_0x928f12(0x113)](),this[_0x928f12(0x128)][_0x928f12(0x113)](),this[_0x928f12(0x11e)][_0x928f12(0x126)]();}[_0x5271d6(0x116)](){const _0x378e9e=_0x5271d6;for(const _0x172adb of this)_0x172adb[_0x378e9e(0x129)]();this[_0x378e9e(0x10a)]();}[_0x5271d6(0x10a)](){const _0x304f6c=_0x5271d6,_0x139f7b=Array[_0x304f6c(0x132)](this)[_0x304f6c(0x120)]((_0x38a623,_0x49080f)=>v(_0x38a623[_0x304f6c(0x10d)][_0x304f6c(0x12a)],_0x49080f[_0x304f6c(0x10d)][_0x304f6c(0x12a)]));for(let _0x1b0132=_0x139f7b[_0x304f6c(0x12e)]-0x1;_0x1b0132>0x0;_0x1b0132--){const _0x4e69b5=_0x139f7b[_0x1b0132];_0x1b0132!==this[_0x304f6c(0x12c)](_0x4e69b5)&&(this[_0x304f6c(0x11c)](_0x4e69b5),this[_0x304f6c(0x10e)](_0x4e69b5));}}[_0x5271d6(0x109)](_0x39c431){const _0x41fd3c=_0x5271d6;let _0x13b536=0x0;if(!_0x39c431)return this[_0x41fd3c(0x12e)];for(const _0x5c72f0 of this){const _0x4f139a=_0x5c72f0[_0x41fd3c(0x10d)][_0x41fd3c(0x12a)];if(_0x4f139a){if(v(_0x39c431,_0x4f139a)<0x0)return _0x13b536;_0x13b536++;}}return _0x13b536;}}export function bindAnnotationCollections({source:_0x368654,target:_0x21dfe9,filter:_0x85aefc}){const _0x189f25=_0x5271d6;for(const _0x1028a0 of _0x368654)_0x85aefc(_0x1028a0)&&_0x21dfe9[_0x189f25(0x10e)](_0x1028a0);_0x21dfe9[_0x189f25(0x11a)](_0x368654,_0x189f25(0x10e),(_0x38a275,_0x5a4e6c)=>{const _0x2aea89=_0x189f25;_0x85aefc(_0x5a4e6c)&&_0x21dfe9[_0x2aea89(0x10e)](_0x5a4e6c);}),_0x21dfe9[_0x189f25(0x11a)](_0x368654,_0x189f25(0x11c),(_0x18a3d6,_0x55a29e)=>{const _0x1636c0=_0x189f25;_0x21dfe9[_0x1636c0(0x12f)](_0x55a29e)&&_0x21dfe9[_0x1636c0(0x11c)](_0x55a29e);});}function v(_0x1c9fbe,_0x23510c){const _0x17cd69=_0x5271d6;if(null===_0x1c9fbe&&null===_0x23510c)return 0x0;if(null===_0x1c9fbe)return-0x1;if(null===_0x23510c)return 0x1;const _0x2467ae=_0x1c9fbe[_0x17cd69(0x119)]-_0x23510c[_0x17cd69(0x119)];return 0x0==_0x2467ae?_0x1c9fbe[_0x17cd69(0x115)]-_0x23510c[_0x17cd69(0x115)]:_0x2467ae;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x48a282=_0x1b4f;(function(_0x22a3a9,_0x356827){const _0x414c47=_0x1b4f,_0x1f90ad=_0x22a3a9();while(!![]){try{const _0x349514=-parseInt(_0x414c47(0x216))/0x1+parseInt(_0x414c47(0x1da))/0x2*(parseInt(_0x414c47(0x1f2))/0x3)+parseInt(_0x414c47(0x1ea))/0x4+parseInt(_0x414c47(0x1ed))/0x5*(-parseInt(_0x414c47(0x203))/0x6)+parseInt(_0x414c47(0x1e8))/0x7*(parseInt(_0x414c47(0x1f5))/0x8)+parseInt(_0x414c47(0x213))/0x9+parseInt(_0x414c47(0x224))/0xa*(-parseInt(_0x414c47(0x1ee))/0xb);if(_0x349514===_0x356827)break;else _0x1f90ad['push'](_0x1f90ad['shift']());}catch(_0x257fbb){_0x1f90ad['push'](_0x1f90ad['shift']());}}}(_0x4850,0x82243));import{ContextPlugin as _0x58a9c6,Editor as _0x2539d2}from'ckeditor5/src/core.js';import{first as _0x3d7d10}from'ckeditor5/src/utils.js';function _0x1b4f(_0x591869,_0x1379e4){const _0x48505e=_0x4850();return _0x1b4f=function(_0x1b4f0e,_0x4f78a4){_0x1b4f0e=_0x1b4f0e-0x1d6;let _0x92919f=_0x48505e[_0x1b4f0e];return _0x92919f;},_0x1b4f(_0x591869,_0x1379e4);}import _0x597ad0 from'./annotation.js';import _0x199f78 from'./annotationcollection.js';function _0x4850(){const _0x2e7560=['_bindAnnotationsToVisibleAnnotations','22615AXBKAu','77MtzpFA','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO','add','Tab','1551186oMLYNd','_setupEnterAnnotationKeystroke','set','40dYocMU','low','createAnnotation','fire','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS','_activateAnnotation','view','isArray','isVisible','refreshVisibility','context','_setupEscapeAnnotationHandling','focusTracker','change:isVisible','18zJzMmY','annotations','isOfficialPlugin','_visibleAnnotations','target','editors','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT','source','activeAnnotations','keystrokes','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS','collection','locale','stopListening','_addActiveAnnotation','push','8236998UJBjZZ','Ctrl+Shift+E','focus','104623ZccNTH','escape','has','Annotations','remove','createAnnotationView','domRoots','_removeActiveAnnotation','accessibility','listenTo','delete','Ctrl+Enter','pluginName','Enter','3500450mDvWSL','deactivateAll','ready','element','refreshPositioning','addKeystrokeInfoGroup','4GEQYMg','Arrowdown','activate','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT','destroy','Esc','getByInnerView','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER','isPremiumPlugin','_deactivateAllAnnotations','contains','values','editing','Shift+Tab','646198liAWNF','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP','2762600ZRflEh','Arrowup'];_0x4850=function(){return _0x2e7560;};return _0x4850();}import _0x2c1dfc from'./view/annotationview.js';import{getTranslation as _0x1eb498}from'../utils/common-translations.js';import{FOCUS_ANNOTATION_KEYSTROKE as _0x48371c}from'@ckeditor/ckeditor5-collaboration-core';export default class O extends _0x58a9c6{[_0x48a282(0x20e)];[_0x48a282(0x206)];static get[_0x48a282(0x222)](){const _0x13c2ed=_0x48a282;return _0x13c2ed(0x219);}static get[_0x48a282(0x205)](){return!0x0;}static get[_0x48a282(0x1e2)](){return!0x0;}constructor(_0x2d6395){const _0xcc8f03=_0x48a282;if(super(_0x2d6395),this[_0xcc8f03(0x20e)]=new _0x199f78(),this[_0xcc8f03(0x206)]=new _0x199f78(),this[_0xcc8f03(0x1f4)](_0xcc8f03(0x20b),new Set()),this[_0xcc8f03(0x1ec)](),_0x2d6395 instanceof _0x2539d2){const _0x34b1e9=_0x2d6395[_0xcc8f03(0x20f)];_0x2d6395[_0xcc8f03(0x21e)][_0xcc8f03(0x1d9)]({'id':_0xcc8f03(0x204),'label':_0x1eb498(_0x34b1e9,_0xcc8f03(0x1e9)),'keystrokes':[{'label':_0x1eb498(_0x34b1e9,_0xcc8f03(0x1ef)),'keystroke':_0xcc8f03(0x214)},{'label':_0x1eb498(_0x34b1e9,_0xcc8f03(0x209)),'keystroke':_0xcc8f03(0x1df)},{'label':_0x1eb498(_0x34b1e9,_0xcc8f03(0x1e1)),'keystroke':_0xcc8f03(0x223)},{'label':_0x1eb498(_0x34b1e9,_0xcc8f03(0x1f9)),'keystroke':[[_0xcc8f03(0x1f1)],[_0xcc8f03(0x1e7)]]},{'label':_0x1eb498(_0x34b1e9,_0xcc8f03(0x1dd)),'keystroke':[_0xcc8f03(0x221)]},{'label':_0x1eb498(_0x34b1e9,_0xcc8f03(0x20d)),'keystroke':[[_0xcc8f03(0x1eb)],[_0xcc8f03(0x1db)]]}]});}this[_0xcc8f03(0x1f3)](),this[_0xcc8f03(0x200)]();}[_0x48a282(0x1f0)](_0x102b1c){const _0x558ff9=_0x48a282;this[_0x558ff9(0x20e)][_0x558ff9(0x1f0)](_0x102b1c);}[_0x48a282(0x21a)](_0x19d490){const _0x286309=_0x48a282;this[_0x286309(0x20e)][_0x286309(0x21a)](_0x19d490),_0x19d490[_0x286309(0x1de)]();}[_0x48a282(0x1fe)](){const _0x31801c=_0x48a282;for(const _0x3b9cac of this[_0x31801c(0x20e)])_0x3b9cac[_0x31801c(0x1fe)]();}[_0x48a282(0x1d8)](){const _0x7bb670=_0x48a282;this[_0x7bb670(0x206)][_0x7bb670(0x1d8)]();}[_0x48a282(0x1e0)](_0x5bd69d){const _0x5b1764=_0x48a282;return this[_0x5b1764(0x20e)][_0x5b1764(0x1e0)](_0x5bd69d);}[_0x48a282(0x225)](){const _0x27b15c=_0x48a282;this[_0x27b15c(0x1f8)](_0x27b15c(0x1e3));}[_0x48a282(0x1de)](){const _0xfa9b71=_0x48a282;for(const _0x4df8f5 of this[_0xfa9b71(0x20e)])_0x4df8f5[_0xfa9b71(0x1de)]();this[_0xfa9b71(0x206)][_0xfa9b71(0x1de)](),this[_0xfa9b71(0x20e)][_0xfa9b71(0x1de)](),super[_0xfa9b71(0x1de)]();}[_0x48a282(0x1dc)](_0x42ca43){const _0x1be446=_0x48a282;this[_0x1be446(0x1f8)](_0x1be446(0x1fa),_0x42ca43);}[_0x48a282(0x1f7)](_0x1f975c){return new _0x597ad0(_0x1f975c);}[_0x48a282(0x21b)](_0x1d20ec,_0x3ec69c){return new _0x2c1dfc(_0x1d20ec,_0x3ec69c);}[_0x48a282(0x211)](_0x5745e4){const _0x1ccc02=_0x48a282,_0x372fad=new Set(this[_0x1ccc02(0x20b)]);_0x372fad[_0x1ccc02(0x1f0)](_0x5745e4),this[_0x1ccc02(0x20b)]=_0x372fad;}[_0x48a282(0x21d)](_0x58034b){const _0x47284d=_0x48a282,_0x10142d=new Set(this[_0x47284d(0x20b)]);_0x10142d[_0x47284d(0x220)](_0x58034b),this[_0x47284d(0x20b)]=_0x10142d;}[_0x48a282(0x1ec)](){const _0x97de04=_0x48a282,_0x496635=this[_0x97de04(0x20e)],_0x44684f=this[_0x97de04(0x206)];function _0x105dc9(_0x184f38){const _0x57d4f7=_0x97de04,_0x4aa90a=_0x184f38[_0x57d4f7(0x20a)];_0x4aa90a[_0x57d4f7(0x1fd)]&&!_0x44684f[_0x57d4f7(0x218)](_0x4aa90a)?_0x44684f[_0x57d4f7(0x1f0)](_0x4aa90a):!_0x4aa90a[_0x57d4f7(0x1fd)]&&_0x44684f[_0x57d4f7(0x218)](_0x4aa90a)&&_0x44684f[_0x57d4f7(0x21a)](_0x4aa90a),_0x4aa90a[_0x57d4f7(0x1fb)][_0x57d4f7(0x201)][_0x57d4f7(0x21a)](_0x4aa90a[_0x57d4f7(0x1fb)][_0x57d4f7(0x1d7)]),_0x4aa90a[_0x57d4f7(0x1fb)][_0x57d4f7(0x201)][_0x57d4f7(0x1f0)](_0x4aa90a[_0x57d4f7(0x1fb)][_0x57d4f7(0x1d7)]);}this[_0x97de04(0x21f)](_0x496635,_0x97de04(0x1f0),(_0x453495,_0x1e4227)=>{const _0x4b6c56=_0x97de04;_0x1e4227[_0x4b6c56(0x1fd)]&&_0x44684f[_0x4b6c56(0x1f0)](_0x1e4227),this[_0x4b6c56(0x21f)](_0x1e4227,_0x4b6c56(0x202),_0x105dc9);}),this[_0x97de04(0x21f)](_0x496635,_0x97de04(0x21a),(_0x18801d,_0x4e0e19)=>{const _0x98f6=_0x97de04;_0x44684f[_0x98f6(0x218)](_0x4e0e19)&&_0x44684f[_0x98f6(0x21a)](_0x4e0e19),this[_0x98f6(0x210)](_0x4e0e19,_0x98f6(0x202),_0x105dc9);});}[_0x48a282(0x1f3)](){const _0x352c06=_0x48a282,_0x4e73fc=_0x4b9898=>{const _0x4482d1=_0x1b4f;_0x4b9898['on'](_0x4482d1(0x1d6),()=>{const _0x12e54f=_0x4482d1;_0x4b9898[_0x12e54f(0x20c)][_0x12e54f(0x1f4)](_0x48371c,(_0x198f89,_0x1533f4)=>{const _0x4e4b55=_0x12e54f,_0xfb8758=_0x3d7d10(this[_0x4e4b55(0x20b)][_0x4e4b55(0x1e5)]());_0xfb8758&&(_0xfb8758[_0x4e4b55(0x1fb)][_0x4e4b55(0x215)](),_0x1533f4());});});};this[_0x352c06(0x1ff)]instanceof _0x2539d2?_0x4e73fc(this[_0x352c06(0x1ff)]):this[_0x352c06(0x1ff)][_0x352c06(0x208)]&&this[_0x352c06(0x1ff)][_0x352c06(0x208)]['on'](_0x352c06(0x1f0),(_0x5244cb,_0x5bad6d)=>{_0x4e73fc(_0x5bad6d);});}[_0x48a282(0x200)](){const _0x21978c=_0x48a282,_0x17128f=_0x1d398a=>{const _0x36fc69=_0x1b4f,_0x454693=_0x1d398a[_0x36fc69(0x20a)],_0xf9734f=[];let _0x99d724;if(Array[_0x36fc69(0x1fc)](_0x454693[_0x36fc69(0x207)])){_0x99d724=_0x454693[_0x36fc69(0x207)][0x0],this[_0x36fc69(0x1ff)]instanceof _0x2539d2?_0xf9734f[_0x36fc69(0x212)](this[_0x36fc69(0x1ff)]):this[_0x36fc69(0x1ff)][_0x36fc69(0x208)]&&_0xf9734f[_0x36fc69(0x212)](...this[_0x36fc69(0x1ff)][_0x36fc69(0x208)]);for(const _0x57c729 of _0xf9734f)for(const _0xc109e8 of _0x57c729[_0x36fc69(0x1e6)][_0x36fc69(0x1fb)][_0x36fc69(0x21c)][_0x36fc69(0x1e5)]())if(_0xc109e8[_0x36fc69(0x1e4)](_0x99d724))return void _0x57c729[_0x36fc69(0x1e6)][_0x36fc69(0x1fb)][_0x36fc69(0x215)]();_0x99d724[_0x36fc69(0x215)]();}};this[_0x21978c(0x21f)](this[_0x21978c(0x20e)],_0x21978c(0x1f0),(_0x2c2cf0,_0x5338af)=>{const _0x403d6b=_0x21978c;this[_0x403d6b(0x21f)](_0x5338af,_0x403d6b(0x217),_0x17128f,{'priority':_0x403d6b(0x1f6)});}),this[_0x21978c(0x21f)](this[_0x21978c(0x20e)],_0x21978c(0x21a),(_0x376e7d,_0x1d2993)=>{const _0x2f1249=_0x21978c;this[_0x2f1249(0x210)](_0x1d2993,_0x2f1249(0x217),_0x17128f);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4bbf94=_0x1363;function _0x1363(_0x4fe619,_0x306018){const _0x417d15=_0x417d();return _0x1363=function(_0x136370,_0x58caac){_0x136370=_0x136370-0x88;let _0x582ab3=_0x417d15[_0x136370];return _0x582ab3;},_0x1363(_0x4fe619,_0x306018);}function _0x417d(){const _0x1474ae=['context','annotationsuis-register-invalid-interface','2406238SMKVcJ','set','isActive','annotationsuis-annotation-mismatch','destroy','size','detach','plugins','deactivate','hasActive','change:activeAnnotation','switchTo','2198031HagxNB','refilterAnnotations','collection','73127wEOTuz','6spxres','get','add','activeAnnotations','_addActiveAnnotation','_assertAnnotationDoesNotBelongToMultipleUIs','activeUIs','attach','uisData','deactivateAll','find','isPremiumPlugin','_deactivateAllAnnotations','AnnotationsUIs','function','activate','from','annotationsuis-missing-ui','2558256DDCxGX','has','_activateAnnotation','init','stopListening','_removeActiveAnnotation','remove','_setSelectedAnnotations','annotationsuis-register-already-registered','2449064fWIMZJ','isOfficialPlugin','type','register','_uis','listenTo','4276985kScRLg','length','push','delete','setActiveAnnotation','28NUyIEM','requires','300CAXhtX','defaultFilter','pluginName','filter','_visibleAnnotations','67545ziqweP'];_0x417d=function(){return _0x1474ae;};return _0x417d();}(function(_0x5d0729,_0x154cc0){const _0x2ff077=_0x1363,_0xf25e91=_0x5d0729();while(!![]){try{const _0xd1ed8=-parseInt(_0x2ff077(0x9a))/0x1+parseInt(_0x2ff077(0x8b))/0x2+parseInt(_0x2ff077(0x97))/0x3+parseInt(_0x2ff077(0xad))/0x4+parseInt(_0x2ff077(0xbc))/0x5*(-parseInt(_0x2ff077(0x9b))/0x6)+parseInt(_0x2ff077(0xc1))/0x7*(-parseInt(_0x2ff077(0xb6))/0x8)+-parseInt(_0x2ff077(0x88))/0x9*(-parseInt(_0x2ff077(0xc3))/0xa);if(_0xd1ed8===_0x154cc0)break;else _0xf25e91['push'](_0xf25e91['shift']());}catch(_0x2ab39e){_0xf25e91['push'](_0xf25e91['shift']());}}}(_0x417d,0x9e11e));import{ContextPlugin as _0x49f2b9}from'ckeditor5/src/core.js';import{CKEditorError as _0x5db767}from'ckeditor5/src/utils.js';import _0xc67cee,{bindAnnotationCollections as _0x2a31c1}from'./annotationcollection.js';import _0x6056fb from'./annotations.js';export default class M extends _0x49f2b9{[_0x4bbf94(0xa1)];[_0x4bbf94(0xa3)];[_0x4bbf94(0xba)];static get[_0x4bbf94(0xc2)](){return[_0x6056fb];}static get[_0x4bbf94(0xc5)](){const _0x2e65c2=_0x4bbf94;return _0x2e65c2(0xa8);}static get[_0x4bbf94(0xb7)](){return!0x0;}static get[_0x4bbf94(0xa6)](){return!0x0;}constructor(_0x55466b){const _0x54d89a=_0x4bbf94;super(_0x55466b),this[_0x54d89a(0xa1)]=new Set(),this[_0x54d89a(0xba)]=new Map(),this[_0x54d89a(0xa3)]=new Map();}[_0x4bbf94(0xb0)](){const _0x570396=_0x4bbf94,_0x2df5b5=this[_0x570396(0x89)][_0x570396(0x92)][_0x570396(0x9c)](_0x6056fb);this[_0x570396(0xbb)](_0x2df5b5,_0x570396(0xaf),(_0x4ec92a,_0xbf9da)=>{const _0x3cdbe4=_0x570396;for(const _0x3629eb of this[_0x3cdbe4(0xa1)]){const _0x34e3d7=this[_0x3cdbe4(0xba)][_0x3cdbe4(0x9c)](_0x3629eb);(0x0,this[_0x3cdbe4(0xa3)][_0x3cdbe4(0x9c)](_0x3629eb)[_0x3cdbe4(0xc6)])(_0xbf9da)&&_0x34e3d7[_0x3cdbe4(0xc0)](_0xbf9da);}}),this[_0x570396(0xbb)](_0x2df5b5,_0x570396(0xa7),()=>{const _0x33f4a5=_0x570396;for(const _0x88f2ef of this[_0x33f4a5(0xa1)]){this[_0x33f4a5(0xba)][_0x33f4a5(0x9c)](_0x88f2ef)[_0x33f4a5(0xc0)](null);}}),this[_0x570396(0xbb)](_0x2df5b5[_0x570396(0xc7)],_0x570396(0x9d),(_0x3dec9a,_0x433db4)=>{const _0x450174=_0x570396;this[_0x450174(0xa0)](_0x433db4);});}[_0x4bbf94(0x94)](){const _0x3c1d64=_0x4bbf94;return this[_0x3c1d64(0xa1)][_0x3c1d64(0x90)]>0x0;}[_0x4bbf94(0x8d)](_0x38d83f){const _0x3dedfe=_0x4bbf94;return this[_0x3dedfe(0xa1)][_0x3dedfe(0xae)](_0x38d83f);}[_0x4bbf94(0xaa)](_0x5c22bd,_0x476eb6=this[_0x4bbf94(0xc4)]){const _0x3d83f8=_0x4bbf94,_0x432a7c=this[_0x3d83f8(0x89)][_0x3d83f8(0x92)][_0x3d83f8(0x9c)](_0x6056fb);if(!this[_0x3d83f8(0xba)][_0x3d83f8(0xae)](_0x5c22bd))throw new _0x5db767(_0x3d83f8(0xac),this,{'uiName':_0x5c22bd});this[_0x3d83f8(0x8d)](_0x5c22bd)&&this[_0x3d83f8(0x93)](_0x5c22bd),this[_0x3d83f8(0xa1)][_0x3d83f8(0x9d)](_0x5c22bd);const _0x3eb71e=new _0xc67cee(),_0x5ec679=_0x432a7c[_0x3d83f8(0xc7)];_0x2a31c1({'source':_0x5ec679,'target':_0x3eb71e,'filter':_0x476eb6}),this[_0x3d83f8(0xa3)][_0x3d83f8(0x8c)](_0x5c22bd,{'collection':_0x3eb71e,'filter':_0x476eb6});const _0x37d145=this[_0x3d83f8(0xba)][_0x3d83f8(0x9c)](_0x5c22bd);_0x37d145[_0x3d83f8(0xa2)](_0x3eb71e),this[_0x3d83f8(0xbb)](_0x37d145,_0x3d83f8(0x95),(_0x3a67c0,_0x266f56,_0x3714cc,_0x4e7d51)=>{const _0x2f889e=_0x3d83f8;_0x4e7d51&&_0x432a7c[_0x2f889e(0xb2)](_0x4e7d51),_0x3714cc&&_0x432a7c[_0x2f889e(0x9f)](_0x3714cc);});}[_0x4bbf94(0x93)](_0x44dc19){const _0x47d9e3=_0x4bbf94;if(this[_0x47d9e3(0xa1)][_0x47d9e3(0xbf)](_0x44dc19),!this[_0x47d9e3(0xba)][_0x47d9e3(0xae)](_0x44dc19))throw new _0x5db767(_0x47d9e3(0xac),this,{'uiName':_0x44dc19});const _0x387e28=this[_0x47d9e3(0xba)][_0x47d9e3(0x9c)](_0x44dc19);_0x387e28[_0x47d9e3(0x91)](),this[_0x47d9e3(0xb1)](_0x387e28),this[_0x47d9e3(0xa3)][_0x47d9e3(0x9c)](_0x44dc19)[_0x47d9e3(0x99)][_0x47d9e3(0x8f)](),this[_0x47d9e3(0xa3)][_0x47d9e3(0xbf)](_0x44dc19);}[_0x4bbf94(0x96)](_0x4dcd9a){const _0x4dcd28=_0x4bbf94;if(!this[_0x4dcd28(0xba)][_0x4dcd28(0xae)](_0x4dcd9a))throw new _0x5db767(_0x4dcd28(0xac),this,{'uiName':_0x4dcd9a});const _0x1ffcbb=this[_0x4dcd28(0x89)][_0x4dcd28(0x92)][_0x4dcd28(0x9c)](_0x6056fb),_0x1a12db=Array[_0x4dcd28(0xab)](_0x1ffcbb[_0x4dcd28(0x9e)])[0x0]||null;this[_0x4dcd28(0xa4)](),this[_0x4dcd28(0xaa)](_0x4dcd9a);const _0x2cd2da=this[_0x4dcd28(0xba)][_0x4dcd28(0x9c)](_0x4dcd9a);_0x2cd2da[_0x4dcd28(0xc0)](_0x1a12db),_0x2cd2da[_0x4dcd28(0xb4)]&&_0x1a12db&&_0x2cd2da[_0x4dcd28(0xb4)]([_0x1a12db]);}[_0x4bbf94(0xa4)](){const _0x537f9e=_0x4bbf94;for(const _0x3ef12c of this[_0x537f9e(0xa1)])this[_0x537f9e(0x93)](_0x3ef12c);}[_0x4bbf94(0xb9)](_0x1a4399,_0x1816aa){const _0x1f603e=_0x4bbf94;if(this[_0x1f603e(0xba)][_0x1f603e(0xae)](_0x1a4399))throw new _0x5db767(_0x1f603e(0xb5));if(_0x1f603e(0xa9)!=typeof _0x1816aa[_0x1f603e(0xa2)]||_0x1f603e(0xa9)!=typeof _0x1816aa[_0x1f603e(0x91)]||_0x1f603e(0xa9)!=typeof _0x1816aa[_0x1f603e(0xc0)])throw new _0x5db767(_0x1f603e(0x8a),null);this[_0x1f603e(0xba)][_0x1f603e(0x8c)](_0x1a4399,_0x1816aa);}[_0x4bbf94(0x98)](){const _0xf77620=_0x4bbf94,_0x1a402d=this[_0xf77620(0x89)][_0xf77620(0x92)][_0xf77620(0x9c)](_0x6056fb)[_0xf77620(0x99)],_0x1884ed=new Map(),_0x1867e5=Array[_0xf77620(0xab)](this[_0xf77620(0xa1)]);for(const _0x2599fb of this[_0xf77620(0xa1)]){const _0x55dcee=this[_0xf77620(0xa3)][_0xf77620(0x9c)](_0x2599fb)[_0xf77620(0x99)];for(const _0x29c398 of _0x55dcee)_0x1884ed[_0xf77620(0x8c)](_0x29c398,_0x2599fb);}for(const _0x10ac0c of _0x1a402d){const _0xbc9b66=_0x1884ed[_0xf77620(0x9c)](_0x10ac0c);this[_0xf77620(0xa0)](_0x10ac0c);const _0x475aec=_0x1867e5[_0xf77620(0xa5)](_0x223466=>this[_0xf77620(0xa3)][_0xf77620(0x9c)](_0x223466)[_0xf77620(0xc6)](_0x10ac0c));_0xbc9b66!==_0x475aec&&(_0xbc9b66&&this[_0xf77620(0xa3)][_0xf77620(0x9c)](_0xbc9b66)[_0xf77620(0x99)][_0xf77620(0xb3)](_0x10ac0c),_0x475aec&&this[_0xf77620(0xa3)][_0xf77620(0x9c)](_0x475aec)[_0xf77620(0x99)][_0xf77620(0x9d)](_0x10ac0c));}}[_0x4bbf94(0x8f)](){const _0x370763=_0x4bbf94;this[_0x370763(0xa4)](),super[_0x370763(0x8f)]();}[_0x4bbf94(0xc4)](){return!0x0;}[_0x4bbf94(0xa0)](_0x5d35e3){const _0x374586=_0x4bbf94,_0x300fc2=[];for(const _0xb7098c of this[_0x374586(0xa1)]){(0x0,this[_0x374586(0xa3)][_0x374586(0x9c)](_0xb7098c)[_0x374586(0xc6)])(_0x5d35e3)&&_0x300fc2[_0x374586(0xbe)](_0xb7098c);}if(_0x300fc2[_0x374586(0xbd)]>0x1)throw new _0x5db767(_0x374586(0x8e),null,{'matchedUIs':_0x300fc2,'annotationType':_0x5d35e3[_0x374586(0xb8)]});}}
|
|
@@ -64,6 +64,7 @@ export default class EditorAnnotations extends Plugin {
|
|
|
64
64
|
/**
|
|
65
65
|
* Finds all annotations for selected markers in order from the most inner marker to the most outer marker.
|
|
66
66
|
*
|
|
67
|
+
* @param options Configuration options.
|
|
67
68
|
* @param options.annotations The collection of annotations for given UI.
|
|
68
69
|
* @param options.activeAnnotation The given UI active annotation.
|
|
69
70
|
* It is used to determine the order if the selection contains the active annotation's marker.
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x55b252=_0x56b3;(function(_0x5c2a9c,_0x3cc214){const _0x20fed9=_0x56b3,_0x471d35=_0x5c2a9c();while(!![]){try{const _0x29afb1=-parseInt(_0x20fed9(0x106))/0x1*(-parseInt(_0x20fed9(0xf8))/0x2)+parseInt(_0x20fed9(0x12b))/0x3+-parseInt(_0x20fed9(0x111))/0x4*(-parseInt(_0x20fed9(0x11e))/0x5)+-parseInt(_0x20fed9(0x12a))/0x6+parseInt(_0x20fed9(0xf7))/0x7+parseInt(_0x20fed9(0xfe))/0x8*(parseInt(_0x20fed9(0x103))/0x9)+-parseInt(_0x20fed9(0x112))/0xa*(parseInt(_0x20fed9(0x12c))/0xb);if(_0x29afb1===_0x3cc214)break;else _0x471d35['push'](_0x471d35['shift']());}catch(_0x349835){_0x471d35['push'](_0x471d35['shift']());}}}(_0x303e,0xd6781));import{Plugin as _0x80c071}from'ckeditor5/src/core.js';import{CKEditorError as _0x48062c}from'ckeditor5/src/utils.js';function _0x56b3(_0x2a9d34,_0x256c95){const _0x303eef=_0x303e();return _0x56b3=function(_0x56b325,_0xbbdb07){_0x56b325=_0x56b325-0xee;let _0x29e62f=_0x303eef[_0x56b325];return _0x29e62f;},_0x56b3(_0x2a9d34,_0x256c95);}import{debounce as _0xc238e7}from'es-toolkit/compat';import _0x135f5b from'./annotations.js';export default class P extends _0x80c071{[_0x55b252(0x120)];[_0x55b252(0xf6)];static get[_0x55b252(0xf1)](){return[_0x135f5b];}static get[_0x55b252(0x115)](){const _0x26f49f=_0x55b252;return _0x26f49f(0xff);}static get[_0x55b252(0xf2)](){return!0x0;}static get[_0x55b252(0x125)](){return!0x0;}constructor(_0x378d4a){const _0x1f92f4=_0x55b252;super(_0x378d4a),this[_0x1f92f4(0x120)]=new Set(),this[_0x1f92f4(0xf6)]=new Set();}[_0x55b252(0xfd)](){const _0x59cd82=_0x55b252,_0x1a4b12=this[_0x59cd82(0x128)],_0x3ee682=_0x1a4b12[_0x59cd82(0x10d)][_0x59cd82(0x116)][_0x59cd82(0xf9)],_0x4eb64a=_0xc238e7(()=>this[_0x59cd82(0x11f)](),0xa);_0x3ee682['on'](_0x59cd82(0xfb),(_0x57d8df,_0x10754a)=>{const _0x134c6e=_0x59cd82;_0x10754a[_0x134c6e(0x123)]&&(_0x4eb64a[_0x134c6e(0x10c)](),this[_0x134c6e(0x11f)]());}),this[_0x59cd82(0x108)](_0x1a4b12[_0x59cd82(0x127)][_0x59cd82(0x105)][_0x59cd82(0x116)],_0x59cd82(0x10a),(_0x82f8ea,_0x28d5c6,_0x1885d6)=>{_0x1885d6&&_0x4eb64a();}),this[_0x59cd82(0x108)](_0x1a4b12['ui'][_0x59cd82(0x122)],_0x59cd82(0x10a),(_0x4fdf7b,_0x1159e5,_0x24d169)=>{const _0x9c84e7=_0x59cd82;_0x24d169||_0x1a4b12[_0x9c84e7(0x102)]||this[_0x9c84e7(0x119)](_0x9c84e7(0x10f),{'isAnnotationTracked':_0x317dfe=>this[_0x9c84e7(0x12f)][_0x9c84e7(0x11a)](_0x317dfe[_0x9c84e7(0x101)])});}),this[_0x59cd82(0x108)](this[_0x59cd82(0x128)]['ui'],_0x59cd82(0x107),()=>this[_0x59cd82(0x119)](_0x59cd82(0x110)));}[_0x55b252(0x117)](_0x3d3e19){const _0x12991c=_0x55b252;if(this[_0x12991c(0xf6)][_0x12991c(0x11a)](_0x3d3e19[_0x12991c(0x105)]))return;this[_0x12991c(0xf6)][_0x12991c(0x118)](_0x3d3e19[_0x12991c(0x105)]),this[_0x12991c(0x128)]['ui'][_0x12991c(0x122)][_0x12991c(0x118)](_0x3d3e19[_0x12991c(0x105)][_0x12991c(0x100)]);const _0x71e989=this[_0x12991c(0x128)][_0x12991c(0xef)][_0x12991c(0x129)](_0x135f5b);this[_0x12991c(0x108)](_0x71e989[_0x12991c(0x104)],_0x12991c(0x11b),(_0x1d80bb,_0x382da1)=>{const _0x488ebe=_0x12991c;this[_0x488ebe(0x128)]['ui'][_0x488ebe(0x122)][_0x488ebe(0x11b)](_0x382da1[_0x488ebe(0x105)][_0x488ebe(0x100)]),this[_0x488ebe(0xf6)][_0x488ebe(0x126)](_0x382da1[_0x488ebe(0x105)]);});}[_0x55b252(0xf3)](){const _0x2b9216=_0x55b252;return this[_0x2b9216(0x128)][_0x2b9216(0x127)][_0x2b9216(0x105)][_0x2b9216(0xf3)];}[_0x55b252(0x12d)](_0x42f81f){const _0x1095b4=_0x55b252;if(_0x1095b4(0x109)!=typeof _0x42f81f)throw new _0x48062c(_0x1095b4(0xfc));this[_0x1095b4(0x120)][_0x1095b4(0x118)](_0x42f81f);}[_0x55b252(0x11f)](){const _0xf732d7=_0x55b252;this[_0xf732d7(0x119)](_0xf732d7(0xf5));}[_0x55b252(0xf0)]({activeAnnotation:_0x174799,annotations:_0xb94906}){const _0x2a0ddd=_0x55b252,_0x16ddb5=[],_0x27e054=this[_0x2a0ddd(0x128)][_0x2a0ddd(0x10d)][_0x2a0ddd(0x116)][_0x2a0ddd(0xf9)],_0x4244ab=Array[_0x2a0ddd(0x113)](_0x27e054[_0x2a0ddd(0xf4)]());for(const [_0x2a8fa1,_0x162393]of this[_0x2a0ddd(0x12f)]){const _0x9cfef2=_0x4a11e3(_0x162393),_0x3b26a4=_0xb94906[_0x2a0ddd(0xfa)](_0x2a8fa1);_0x9cfef2&&_0x3b26a4&&_0x16ddb5[_0x2a0ddd(0x11c)]({'annotation':_0x3b26a4,'range':_0x9cfef2});}function _0x4a11e3(_0x21ff47){const _0x2c8f65=_0x2a0ddd;for(const _0x36ca45 of _0x21ff47)for(const _0x1b9e24 of _0x4244ab)if(_0x36ca45[_0x2c8f65(0x121)](_0x1b9e24,!_0x27e054[_0x2c8f65(0x10e)]))return _0x36ca45;return null;}return _0x16ddb5[_0x2a0ddd(0x10b)]((_0x462fc2,_0x17d944)=>{const _0x4e2747=_0x2a0ddd,_0xff6a50=_0x462fc2[_0x4e2747(0x11d)],_0x5ac633=_0x17d944[_0x4e2747(0x11d)];if(!_0xff6a50[_0x4e2747(0x114)](_0x5ac633)){if(_0xff6a50[_0x4e2747(0x121)](_0x5ac633,!0x0))return 0x1;if(_0x5ac633[_0x4e2747(0x121)](_0xff6a50,!0x0))return-0x1;}return _0x462fc2[_0x4e2747(0xee)]==_0x174799?-0x1:_0x17d944[_0x4e2747(0xee)]==_0x174799?0x1:0x0;})[_0x2a0ddd(0x124)](_0x1c0539=>_0x1c0539[_0x2a0ddd(0xee)]);}get[_0x55b252(0x12f)](){const _0x256ee4=_0x55b252,_0x37b044=new Map();for(const _0x50ad5 of Array[_0x256ee4(0x113)](this[_0x256ee4(0x120)]))for(const [_0x34fe0e,_0x31a0ec]of _0x50ad5())_0x37b044[_0x256ee4(0x12e)](_0x34fe0e,_0x31a0ec);return _0x37b044;}}function _0x303e(){const _0x20e9eb=['isOfficialPlugin','hasDomSelection','getRanges','refresh','_editorAnnotations','7340893etfgRd','2TYzhmV','selection','getByInnerView','change:range','editorannotations-invalid-source-callback','init','1010248HVuZRn','EditorAnnotations','element','innerView','isReadOnly','117vmlZRR','collection','view','491789iWFDyX','update','listenTo','function','change:isFocused','sort','cancel','model','isCollapsed','blur','uiUpdate','184iZIPiZ','35488980SnVrTL','from','isEqual','pluginName','document','registerAnnotation','add','fire','has','remove','push','range','8350SiXtAx','refreshSelectedViews','_dataCollectors','containsRange','focusTracker','directChange','map','isPremiumPlugin','delete','editing','editor','get','2504880VADozZ','4757646IyxBcM','11cVTUpe','addSourceCollector','set','_editorAnnotationsData','annotation','plugins','getOrderedSelectedAnnotations','requires'];_0x303e=function(){return _0x20e9eb;};return _0x303e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1bcb2d=_0x3fe0;function _0x5514(){const _0x26b533=['_addAnnotationToBalloon','inlineannotations-detach-not-attached','hasActive','destroy','getBoundingClientRect','_selectedAnnotations','viewRangeToDom','refresh','has','mousedown','map','view','fromRect','4138841vdIinA','find','getOrderedSelectedAnnotations','register','editableElement','editor','bottom','hasView','getByView','isOfficialPlugin','44102GewPCk','update','target','showStack','Esc','context','_forceRefresh','switchTo','from','1251864FQQioN','isFocused','addObserver','setActiveAnnotation','push','document','init','isActive','width','_addedAnnotations','getFirstRange','top','2013114wZtDpx','InlineAnnotations','updatePosition','listenTo','_balloon','selection','stopListening','_setSelectedAnnotations','2102732UDwvQs','includes','focusTracker','inlineannotations-attach-already-attached','detach','blur','left','add','inline','keystrokes','delete','change:height','1104900XblSWD','_removeAnnotationFromBalloon','pluginName','plugins','targetRect','editing','get','inlineannotations-not-allowed-with-context','right','_closeAnnotation','collapse','isAttached','annotations','every','_getBalloonTargetForAnnotation','focus','getClientRects','activeAnnotation','_manuallyClosed','clear','change:visibleView','change:isFocused','attach','afterInit','visibleView','isPremiumPlugin','set','321546CiyRuF','requires','length','22NLtwTC','domConverter','remove'];_0x5514=function(){return _0x26b533;};return _0x5514();}(function(_0x426a21,_0x4d743c){const _0x416f14=_0x3fe0,_0x117ca7=_0x426a21();while(!![]){try{const _0xc3505c=parseInt(_0x416f14(0x11a))/0x1*(-parseInt(_0x416f14(0xd3))/0x2)+parseInt(_0x416f14(0xe8))/0x3+parseInt(_0x416f14(0xf0))/0x4+parseInt(_0x416f14(0xfc))/0x5+-parseInt(_0x416f14(0x117))/0x6+-parseInt(_0x416f14(0x12a))/0x7+parseInt(_0x416f14(0xdc))/0x8;if(_0xc3505c===_0x4d743c)break;else _0x117ca7['push'](_0x117ca7['shift']());}catch(_0x5e1540){_0x117ca7['push'](_0x117ca7['shift']());}}}(_0x5514,0x6c730));import{Plugin as _0x536355}from'ckeditor5/src/core.js';import _0x349323 from'./annotationsuis.js';import _0x18d615 from'./editorannotations.js';import{ContextualBalloon as _0x4c57c8}from'ckeditor5/src/ui.js';import{MouseObserver as _0x25eb84}from'ckeditor5/src/engine.js';function _0x3fe0(_0x122eba,_0x2c6877){const _0x551468=_0x5514();return _0x3fe0=function(_0x3fe07e,_0x206164){_0x3fe07e=_0x3fe07e-0xd0;let _0x3e1163=_0x551468[_0x3fe07e];return _0x3e1163;},_0x3fe0(_0x122eba,_0x2c6877);}import{CKEditorError as _0x3b900d,Rect as _0x316304}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x536355{[_0x1bcb2d(0x107)];[_0x1bcb2d(0x108)];[_0x1bcb2d(0x10e)];[_0x1bcb2d(0xec)];[_0x1bcb2d(0xe5)];[_0x1bcb2d(0x122)];[_0x1bcb2d(0xd9)];static get[_0x1bcb2d(0x118)](){return[_0x18d615,_0x4c57c8,_0x349323];}static get[_0x1bcb2d(0xfe)](){const _0x18766a=_0x1bcb2d;return _0x18766a(0xe9);}static get[_0x1bcb2d(0xd2)](){return!0x0;}static get[_0x1bcb2d(0x115)](){return!0x0;}constructor(_0x54af26){const _0x462189=_0x1bcb2d;super(_0x54af26),_0x54af26[_0x462189(0x101)][_0x462189(0x128)][_0x462189(0xde)](_0x25eb84),this[_0x462189(0x107)]=!0x1,this[_0x462189(0x116)](_0x462189(0x10d),null),this[_0x462189(0x108)]=null,this[_0x462189(0x10e)]=new Set(),this[_0x462189(0xec)]=_0x54af26[_0x462189(0xff)][_0x462189(0x102)](_0x4c57c8),this[_0x462189(0xe5)]=new Set(),this[_0x462189(0x122)]=[],this[_0x462189(0xd9)]=!0x1;}[_0x1bcb2d(0xe2)](){const _0x50f8df=_0x1bcb2d,_0x50deda=this[_0x50f8df(0x12f)][_0x50f8df(0xff)][_0x50f8df(0x102)](_0x349323);_0x50deda[_0x50f8df(0xd8)]===this[_0x50f8df(0x12f)]&&(_0x50deda[_0x50f8df(0x12d)](_0x50f8df(0xf8),this),this[_0x50f8df(0x12f)][_0x50f8df(0xf9)][_0x50f8df(0x116)](_0x50f8df(0xd7),(_0x341b4b,_0x2ee2b0)=>{const _0x57f8b2=_0x50f8df,_0x2fa1a4=this[_0x57f8b2(0xec)];if(this[_0x57f8b2(0x107)]&&_0x2fa1a4[_0x57f8b2(0x114)]){const _0x1076a2=this[_0x57f8b2(0x108)][_0x57f8b2(0xd1)](_0x2fa1a4[_0x57f8b2(0x114)]);_0x1076a2&&this[_0x57f8b2(0x105)](_0x1076a2),_0x2ee2b0();}}));}[_0x1bcb2d(0x113)](){const _0xa7be8d=_0x1bcb2d,_0x2b895e=this[_0xa7be8d(0x12f)][_0xa7be8d(0xff)][_0xa7be8d(0x102)](_0x349323);_0x2b895e[_0xa7be8d(0xd8)]===this[_0xa7be8d(0x12f)]&&(_0x2b895e[_0xa7be8d(0x11f)]()||_0x2b895e[_0xa7be8d(0xda)](_0xa7be8d(0xf8)));}[_0x1bcb2d(0xdf)](_0x1e2dd8){const _0xd83bcb=_0x1bcb2d;_0x1e2dd8!==this[_0xd83bcb(0x10d)]&&(this[_0xd83bcb(0x10d)]&&(this[_0xd83bcb(0x10d)][_0xd83bcb(0xe3)]=!0x1),_0x1e2dd8&&this[_0xd83bcb(0x12f)]['ui'][_0xd83bcb(0xf2)][_0xd83bcb(0xdd)]&&(this[_0xd83bcb(0x108)][_0xd83bcb(0x125)](_0x1e2dd8)&&this[_0xd83bcb(0x11d)](_0x1e2dd8,!0x0),_0x1e2dd8[_0xd83bcb(0xe3)]=!0x0),_0x1e2dd8||this[_0xd83bcb(0xef)]([]),this[_0xd83bcb(0x10d)]=_0x1e2dd8);}[_0x1bcb2d(0x112)](_0x4f9195){const _0x3e1f1f=_0x1bcb2d;this[_0x3e1f1f(0x108)]=_0x4f9195;const _0x1d238d=this[_0x3e1f1f(0x12f)][_0x3e1f1f(0xff)][_0x3e1f1f(0x102)](_0x349323),_0x2f002e=this[_0x3e1f1f(0xec)];if(this[_0x3e1f1f(0x107)])throw new _0x3b900d(_0x3e1f1f(0xf3),this);if(_0x1d238d[_0x3e1f1f(0xd8)]!==this[_0x3e1f1f(0x12f)])throw new _0x3b900d(_0x3e1f1f(0x103),this);const _0x2d8790=this[_0x3e1f1f(0x12f)][_0x3e1f1f(0xff)][_0x3e1f1f(0x102)](_0x18d615);this[_0x3e1f1f(0xeb)](_0x2d8790,_0x3e1f1f(0x124),()=>{const _0x113b92=_0x3e1f1f,_0x5810a2=_0x2d8790[_0x113b92(0x12c)]({'annotations':this[_0x113b92(0x108)],'activeAnnotation':this[_0x113b92(0x10d)]});var _0x14bae0,_0x1cc353;!this[_0x113b92(0xd9)]&&(_0x14bae0=_0x5810a2,_0x1cc353=this[_0x113b92(0x122)],_0x14bae0[_0x113b92(0x119)]===_0x1cc353[_0x113b92(0x119)]&&_0x14bae0[_0x113b92(0x109)](_0x1ac639=>_0x1cc353[_0x113b92(0xf1)](_0x1ac639)))||(this[_0x113b92(0xd9)]=!0x1,this[_0x113b92(0xef)](_0x5810a2),this[_0x113b92(0xdf)](_0x5810a2[0x0]||null));}),this[_0x3e1f1f(0xeb)](_0x2d8790,_0x3e1f1f(0xf5),(_0x2cebac,{isAnnotationTracked:_0x431050})=>{const _0x4b6c64=_0x3e1f1f;this[_0x4b6c64(0x10d)]&&_0x431050(this[_0x4b6c64(0x10d)])&&(this[_0x4b6c64(0xef)]([]),this[_0x4b6c64(0xdf)](null));}),this[_0x3e1f1f(0xeb)](this[_0x3e1f1f(0x12f)]['ui'][_0x3e1f1f(0xf2)],_0x3e1f1f(0x111),(_0x5b5b36,_0x106db4,_0x4de87b)=>{const _0x5e5ab7=_0x3e1f1f;_0x4de87b||this[_0x5e5ab7(0xdf)](null);}),this[_0x3e1f1f(0xeb)](_0x4f9195,_0x3e1f1f(0x11c),(_0x3bc306,_0x567595)=>{const _0x51f95b=_0x3e1f1f;this[_0x51f95b(0xfd)](_0x567595),_0x567595===this[_0x51f95b(0x10d)]&&this[_0x51f95b(0xdf)](null);}),this[_0x3e1f1f(0xeb)](_0x2f002e,_0x3e1f1f(0x110),(_0x1ac0f9,_0x1e77b5,_0x535d47,_0x740acd)=>{const _0x2a7e88=_0x3e1f1f;_0x740acd&&this[_0x2a7e88(0xee)](_0x740acd);const _0x308b7f=_0x4f9195[_0x2a7e88(0xd1)](_0x535d47);_0x535d47&&_0x308b7f&&(this[_0x2a7e88(0xeb)](_0x535d47,_0x2a7e88(0xfb),()=>{const _0x59aa27=_0x2a7e88;_0x2f002e[_0x59aa27(0xea)]();}),this[_0x2a7e88(0xeb)](_0x535d47,_0x2a7e88(0xd7),()=>{const _0x2b7fd2=_0x2a7e88;this[_0x2b7fd2(0x105)](_0x308b7f),this[_0x2b7fd2(0x12f)][_0x2b7fd2(0x101)][_0x2b7fd2(0x128)][_0x2b7fd2(0x10b)]();}),this[_0x2a7e88(0x10d)]!==_0x308b7f&&this[_0x2a7e88(0xdf)](_0x308b7f));}),this[_0x3e1f1f(0xeb)](this[_0x3e1f1f(0x12f)]['ui'],_0x3e1f1f(0xd4),()=>{const _0x14e829=_0x3e1f1f;_0x2f002e[_0x14e829(0x114)]&&(_0x4f9195[_0x14e829(0xd1)](_0x2f002e[_0x14e829(0x114)])&&_0x2f002e[_0x14e829(0xea)]());}),this[_0x3e1f1f(0xeb)](this[_0x3e1f1f(0x12f)][_0x3e1f1f(0x101)][_0x3e1f1f(0x128)][_0x3e1f1f(0xe1)],_0x3e1f1f(0x126),()=>{const _0x5dedfd=_0x3e1f1f;this[_0x5dedfd(0xd9)]=!0x0,this[_0x5dedfd(0x10e)][_0x5dedfd(0x10f)]();}),this[_0x3e1f1f(0x12f)][_0x3e1f1f(0x101)][_0x3e1f1f(0x128)][_0x3e1f1f(0xe1)][_0x3e1f1f(0xed)][_0x3e1f1f(0x12e)]&&this[_0x3e1f1f(0x12f)][_0x3e1f1f(0x101)][_0x3e1f1f(0x128)][_0x3e1f1f(0x10b)](),this[_0x3e1f1f(0x107)]=!0x0;}[_0x1bcb2d(0xf4)](){const _0x9fd18a=_0x1bcb2d;if(!this[_0x9fd18a(0x107)])throw new _0x3b900d(_0x9fd18a(0x11e),this);this[_0x9fd18a(0xdf)](null);for(const _0xcaf2f1 of this[_0x9fd18a(0xe5)])this[_0x9fd18a(0xfd)](_0xcaf2f1);this[_0x9fd18a(0xee)](),this[_0x9fd18a(0x107)]=!0x1,this[_0x9fd18a(0x108)]=null;}[_0x1bcb2d(0x120)](){const _0x231d07=_0x1bcb2d;this[_0x231d07(0x107)]&&this[_0x231d07(0xf4)]();}[_0x1bcb2d(0xef)](_0xf2c3a6){const _0x2ce2c9=_0x1bcb2d;for(const _0x32bb7f of this[_0x2ce2c9(0x122)])_0xf2c3a6[_0x2ce2c9(0xf1)](_0x32bb7f)||this[_0x2ce2c9(0x10e)][_0x2ce2c9(0xfa)](_0x32bb7f);for(const _0x4e6515 of this[_0x2ce2c9(0x108)])_0xf2c3a6[_0x2ce2c9(0xf1)](_0x4e6515)||this[_0x2ce2c9(0xfd)](_0x4e6515);if(this[_0x2ce2c9(0x12f)]['ui'][_0x2ce2c9(0xf2)][_0x2ce2c9(0xdd)]){for(const _0x5dcc87 of _0xf2c3a6)this[_0x2ce2c9(0x11d)](_0x5dcc87);}this[_0x2ce2c9(0x122)]=_0xf2c3a6;}[_0x1bcb2d(0x11d)](_0x3ffd77,_0x34f2d0=!0x1){const _0x90d063=_0x1bcb2d;this[_0x90d063(0x10e)][_0x90d063(0x125)](_0x3ffd77)||(this[_0x90d063(0xe5)][_0x90d063(0x125)](_0x3ffd77)||this[_0x90d063(0xec)][_0x90d063(0xd0)](_0x3ffd77[_0x90d063(0x128)])||(this[_0x90d063(0xe5)][_0x90d063(0xf7)](_0x3ffd77),this[_0x90d063(0xec)][_0x90d063(0xf7)]({'stackId':_0x3ffd77[_0x90d063(0x128)]['id'],'view':_0x3ffd77[_0x90d063(0x128)],'position':{'target':()=>this[_0x90d063(0x10a)](_0x3ffd77)}})),_0x34f2d0&&this[_0x90d063(0xec)][_0x90d063(0xd6)](_0x3ffd77[_0x90d063(0x128)]['id']));}[_0x1bcb2d(0x10a)](_0x243695){const _0x4eec2f=_0x1bcb2d,_0x424904=_0x243695[_0x4eec2f(0xd5)],_0x5098bc=this[_0x4eec2f(0x12f)][_0x4eec2f(0x101)][_0x4eec2f(0x128)],_0x251616=_0x5098bc[_0x4eec2f(0xe1)][_0x4eec2f(0xed)][_0x4eec2f(0xe6)](),_0x145f1d=_0x5098bc[_0x4eec2f(0x11b)][_0x4eec2f(0x123)](_0x251616);if(_0x145f1d[_0x4eec2f(0x106)](!0x0),_0x424904){if(_0x424904 instanceof _0x316304)return _0x424904;let _0x2918be=[];for(const _0x5b2dd4 of _0x424904)_0x2918be[_0x4eec2f(0xe0)](...(_0x29d5c5=_0x5b2dd4[_0x4eec2f(0x10c)](),Array[_0x4eec2f(0xdb)](_0x29d5c5)[_0x4eec2f(0x127)](DOMRect[_0x4eec2f(0x129)])));_0x2918be=function(_0x3b4d76){const _0x40b4ee=_0x4eec2f,_0x102e10=[];let _0x515f53=_0x3b4d76[0x0];for(let _0x1e20fe=0x1;_0x1e20fe<_0x3b4d76[_0x40b4ee(0x119)];_0x1e20fe++)B(_0x515f53,_0x3b4d76[_0x1e20fe])?_0x515f53[_0x40b4ee(0xe4)]+=_0x3b4d76[_0x1e20fe][_0x40b4ee(0xe4)]:(_0x102e10[_0x40b4ee(0xe0)](_0x515f53),_0x515f53=_0x3b4d76[_0x1e20fe]);return _0x102e10[_0x40b4ee(0xe0)](_0x515f53),_0x102e10;}(_0x2918be);const _0x34f01c=_0x145f1d[_0x4eec2f(0x121)]();return _0x2918be[_0x4eec2f(0x12b)](_0x4d2017=>_0x4d2017[_0x4eec2f(0xe7)]<=_0x34f01c[_0x4eec2f(0xe7)]&&_0x4d2017[_0x4eec2f(0x130)]>=_0x34f01c[_0x4eec2f(0x130)]&&_0x4d2017[_0x4eec2f(0xf6)]<=_0x34f01c[_0x4eec2f(0xf6)]&&_0x4d2017[_0x4eec2f(0x104)]>=_0x34f01c[_0x4eec2f(0x104)])||_0x2918be[0x0];}var _0x29d5c5;return _0x243695[_0x4eec2f(0x100)]||_0x145f1d;}[_0x1bcb2d(0xfd)](_0x29a9ba){const _0x2ab01d=_0x1bcb2d;this[_0x2ab01d(0xe5)][_0x2ab01d(0x125)](_0x29a9ba)&&this[_0x2ab01d(0xec)][_0x2ab01d(0xd0)](_0x29a9ba[_0x2ab01d(0x128)])&&(this[_0x2ab01d(0xe5)][_0x2ab01d(0xfa)](_0x29a9ba),this[_0x2ab01d(0xec)][_0x2ab01d(0x11c)](_0x29a9ba[_0x2ab01d(0x128)]));}[_0x1bcb2d(0x105)](_0x340466){const _0x4713a0=_0x1bcb2d;this[_0x4713a0(0x10e)][_0x4713a0(0xf7)](_0x340466),this[_0x4713a0(0xfd)](_0x340466);}}function B(_0x27a4e2,_0x507af8){const _0x2ff3a4=_0x1bcb2d;return _0x27a4e2[_0x2ff3a4(0xe7)]===_0x507af8[_0x2ff3a4(0xe7)]&&_0x27a4e2[_0x2ff3a4(0x130)]===_0x507af8[_0x2ff3a4(0x130)]&&_0x27a4e2[_0x2ff3a4(0x104)]===_0x507af8[_0x2ff3a4(0xf6)];}
|
|
23
|
+
const _0x224275=_0x1dfc;(function(_0x117214,_0x176751){const _0x57593e=_0x1dfc,_0x295f49=_0x117214();while(!![]){try{const _0x8df966=-parseInt(_0x57593e(0x158))/0x1+parseInt(_0x57593e(0x11f))/0x2+parseInt(_0x57593e(0x14b))/0x3*(parseInt(_0x57593e(0x141))/0x4)+-parseInt(_0x57593e(0x143))/0x5+parseInt(_0x57593e(0x136))/0x6*(parseInt(_0x57593e(0x169))/0x7)+-parseInt(_0x57593e(0x179))/0x8+parseInt(_0x57593e(0x13a))/0x9*(parseInt(_0x57593e(0x133))/0xa);if(_0x8df966===_0x176751)break;else _0x295f49['push'](_0x295f49['shift']());}catch(_0x45c19f){_0x295f49['push'](_0x295f49['shift']());}}}(_0x7c0d,0x48353));import{Plugin as _0x1d3286}from'ckeditor5/src/core.js';import _0x487484 from'./annotationsuis.js';function _0x7c0d(){const _0x29207d=['Esc','editableElement','fromRect','init','inline','_manuallyClosed','focusTracker','remove','add','push','_balloon','update','1252464tajYna','includes','inlineannotations-attach-already-attached','addObserver','isFocused','view','change:isFocused','setActiveAnnotation','getByView','87412cnPKFz','change:height','delete','change:visibleView','_addedAnnotations','_forceRefresh','domConverter','isAttached','isPremiumPlugin','inlineannotations-detach-not-attached','every','context','register','from','annotations','clear','bottom','focus','map','collapse','10sDqYVX','activeAnnotation','listenTo','8766lczQOD','hasView','_setSelectedAnnotations','document','6401583ZQScDV','blur','hasActive','showStack','stopListening','attach','width','14388avwIkR','editor','2249220CtsAgt','top','detach','_removeAnnotationFromBalloon','destroy','keystrokes','has','InlineAnnotations','153VqHkNC','inlineannotations-not-allowed-with-context','refresh','target','isOfficialPlugin','switchTo','_addAnnotationToBalloon','viewRangeToDom','find','getClientRects','getOrderedSelectedAnnotations','_closeAnnotation','getBoundingClientRect','451199DXlcYX','_selectedAnnotations','isActive','updatePosition','right','mousedown','pluginName','getFirstRange','plugins','visibleView','_getBalloonTargetForAnnotation','length','editing','left','targetRect','selection','get','1988gEutMv','set','afterInit','requires'];_0x7c0d=function(){return _0x29207d;};return _0x7c0d();}import _0x261e55 from'./editorannotations.js';function _0x1dfc(_0x36c8b1,_0x785fc1){const _0x7c0d5f=_0x7c0d();return _0x1dfc=function(_0x1dfc04,_0x54be69){_0x1dfc04=_0x1dfc04-0x117;let _0x71a5eb=_0x7c0d5f[_0x1dfc04];return _0x71a5eb;},_0x1dfc(_0x36c8b1,_0x785fc1);}import{ContextualBalloon as _0x2550cd}from'ckeditor5/src/ui.js';import{MouseObserver as _0xfa1177}from'ckeditor5/src/engine.js';import{CKEditorError as _0x175767,Rect as _0x36850b}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x1d3286{[_0x224275(0x126)];[_0x224275(0x12d)];[_0x224275(0x172)];[_0x224275(0x177)];[_0x224275(0x123)];[_0x224275(0x159)];[_0x224275(0x124)];static get[_0x224275(0x16c)](){return[_0x261e55,_0x2550cd,_0x487484];}static get[_0x224275(0x15e)](){const _0x483736=_0x224275;return _0x483736(0x14a);}static get[_0x224275(0x14f)](){return!0x0;}static get[_0x224275(0x127)](){return!0x0;}constructor(_0x50a7e9){const _0x55d25b=_0x224275;super(_0x50a7e9),_0x50a7e9[_0x55d25b(0x164)][_0x55d25b(0x11b)][_0x55d25b(0x119)](_0xfa1177),this[_0x55d25b(0x126)]=!0x1,this[_0x55d25b(0x16a)](_0x55d25b(0x134),null),this[_0x55d25b(0x12d)]=null,this[_0x55d25b(0x172)]=new Set(),this[_0x55d25b(0x177)]=_0x50a7e9[_0x55d25b(0x160)][_0x55d25b(0x168)](_0x2550cd),this[_0x55d25b(0x123)]=new Set(),this[_0x55d25b(0x159)]=[],this[_0x55d25b(0x124)]=!0x1;}[_0x224275(0x170)](){const _0x3f1a3c=_0x224275,_0x30d4c3=this[_0x3f1a3c(0x142)][_0x3f1a3c(0x160)][_0x3f1a3c(0x168)](_0x487484);_0x30d4c3[_0x3f1a3c(0x12a)]===this[_0x3f1a3c(0x142)]&&(_0x30d4c3[_0x3f1a3c(0x12b)](_0x3f1a3c(0x171),this),this[_0x3f1a3c(0x142)][_0x3f1a3c(0x148)][_0x3f1a3c(0x16a)](_0x3f1a3c(0x16d),(_0xba12b6,_0x5e7cb2)=>{const _0x542a5a=_0x3f1a3c,_0x5e4c1f=this[_0x542a5a(0x177)];if(this[_0x542a5a(0x126)]&&_0x5e4c1f[_0x542a5a(0x161)]){const _0x287510=this[_0x542a5a(0x12d)][_0x542a5a(0x11e)](_0x5e4c1f[_0x542a5a(0x161)]);_0x287510&&this[_0x542a5a(0x156)](_0x287510),_0x5e7cb2();}}));}[_0x224275(0x16b)](){const _0xcacc59=_0x224275,_0x16a0b4=this[_0xcacc59(0x142)][_0xcacc59(0x160)][_0xcacc59(0x168)](_0x487484);_0x16a0b4[_0xcacc59(0x12a)]===this[_0xcacc59(0x142)]&&(_0x16a0b4[_0xcacc59(0x13c)]()||_0x16a0b4[_0xcacc59(0x150)](_0xcacc59(0x171)));}[_0x224275(0x11d)](_0x446598){const _0x45759b=_0x224275;_0x446598!==this[_0x45759b(0x134)]&&(this[_0x45759b(0x134)]&&(this[_0x45759b(0x134)][_0x45759b(0x15a)]=!0x1),_0x446598&&this[_0x45759b(0x142)]['ui'][_0x45759b(0x173)][_0x45759b(0x11a)]&&(this[_0x45759b(0x12d)][_0x45759b(0x149)](_0x446598)&&this[_0x45759b(0x151)](_0x446598,!0x0),_0x446598[_0x45759b(0x15a)]=!0x0),_0x446598||this[_0x45759b(0x138)]([]),this[_0x45759b(0x134)]=_0x446598);}[_0x224275(0x13f)](_0x77fd46){const _0x3e7469=_0x224275;this[_0x3e7469(0x12d)]=_0x77fd46;const _0x485c0e=this[_0x3e7469(0x142)][_0x3e7469(0x160)][_0x3e7469(0x168)](_0x487484),_0x8ccc83=this[_0x3e7469(0x177)];if(this[_0x3e7469(0x126)])throw new _0x175767(_0x3e7469(0x118),this);if(_0x485c0e[_0x3e7469(0x12a)]!==this[_0x3e7469(0x142)])throw new _0x175767(_0x3e7469(0x14c),this);const _0xf41fa8=this[_0x3e7469(0x142)][_0x3e7469(0x160)][_0x3e7469(0x168)](_0x261e55);this[_0x3e7469(0x135)](_0xf41fa8,_0x3e7469(0x14d),()=>{const _0x5e03e3=_0x3e7469,_0x38329d=_0xf41fa8[_0x5e03e3(0x155)]({'annotations':this[_0x5e03e3(0x12d)],'activeAnnotation':this[_0x5e03e3(0x134)]});var _0x1ec4c2,_0xcb472e;!this[_0x5e03e3(0x124)]&&(_0x1ec4c2=_0x38329d,_0xcb472e=this[_0x5e03e3(0x159)],_0x1ec4c2[_0x5e03e3(0x163)]===_0xcb472e[_0x5e03e3(0x163)]&&_0x1ec4c2[_0x5e03e3(0x129)](_0x36b519=>_0xcb472e[_0x5e03e3(0x117)](_0x36b519)))||(this[_0x5e03e3(0x124)]=!0x1,this[_0x5e03e3(0x138)](_0x38329d),this[_0x5e03e3(0x11d)](_0x38329d[0x0]||null));}),this[_0x3e7469(0x135)](_0xf41fa8,_0x3e7469(0x13b),(_0x1e8e72,{isAnnotationTracked:_0x990fd3})=>{const _0x310b3a=_0x3e7469;this[_0x310b3a(0x134)]&&_0x990fd3(this[_0x310b3a(0x134)])&&(this[_0x310b3a(0x138)]([]),this[_0x310b3a(0x11d)](null));}),this[_0x3e7469(0x135)](this[_0x3e7469(0x142)]['ui'][_0x3e7469(0x173)],_0x3e7469(0x11c),(_0x45a492,_0x2090ca,_0x463759)=>{const _0x4071b3=_0x3e7469;_0x463759||this[_0x4071b3(0x11d)](null);}),this[_0x3e7469(0x135)](_0x77fd46,_0x3e7469(0x174),(_0x56d459,_0x25cca9)=>{const _0xbc92f7=_0x3e7469;this[_0xbc92f7(0x146)](_0x25cca9),_0x25cca9===this[_0xbc92f7(0x134)]&&this[_0xbc92f7(0x11d)](null);}),this[_0x3e7469(0x135)](_0x8ccc83,_0x3e7469(0x122),(_0x463658,_0x32ae6b,_0x3d2c7b,_0x3a20eb)=>{const _0xe14e3=_0x3e7469;_0x3a20eb&&this[_0xe14e3(0x13e)](_0x3a20eb);const _0x4b5057=_0x77fd46[_0xe14e3(0x11e)](_0x3d2c7b);_0x3d2c7b&&_0x4b5057&&(this[_0xe14e3(0x135)](_0x3d2c7b,_0xe14e3(0x120),()=>{const _0x11b3a6=_0xe14e3;_0x8ccc83[_0x11b3a6(0x15b)]();}),this[_0xe14e3(0x135)](_0x3d2c7b,_0xe14e3(0x16d),()=>{const _0x27f347=_0xe14e3;this[_0x27f347(0x156)](_0x4b5057),this[_0x27f347(0x142)][_0x27f347(0x164)][_0x27f347(0x11b)][_0x27f347(0x130)]();}),this[_0xe14e3(0x134)]!==_0x4b5057&&this[_0xe14e3(0x11d)](_0x4b5057));}),this[_0x3e7469(0x135)](this[_0x3e7469(0x142)]['ui'],_0x3e7469(0x178),()=>{const _0x2ebec1=_0x3e7469;_0x8ccc83[_0x2ebec1(0x161)]&&(_0x77fd46[_0x2ebec1(0x11e)](_0x8ccc83[_0x2ebec1(0x161)])&&_0x8ccc83[_0x2ebec1(0x15b)]());}),this[_0x3e7469(0x135)](this[_0x3e7469(0x142)][_0x3e7469(0x164)][_0x3e7469(0x11b)][_0x3e7469(0x139)],_0x3e7469(0x15d),()=>{const _0x320b7a=_0x3e7469;this[_0x320b7a(0x124)]=!0x0,this[_0x320b7a(0x172)][_0x320b7a(0x12e)]();}),this[_0x3e7469(0x142)][_0x3e7469(0x164)][_0x3e7469(0x11b)][_0x3e7469(0x139)][_0x3e7469(0x167)][_0x3e7469(0x16e)]&&this[_0x3e7469(0x142)][_0x3e7469(0x164)][_0x3e7469(0x11b)][_0x3e7469(0x130)](),this[_0x3e7469(0x126)]=!0x0;}[_0x224275(0x145)](){const _0x51177a=_0x224275;if(!this[_0x51177a(0x126)])throw new _0x175767(_0x51177a(0x128),this);this[_0x51177a(0x11d)](null);for(const _0x3cf992 of this[_0x51177a(0x123)])this[_0x51177a(0x146)](_0x3cf992);this[_0x51177a(0x13e)](),this[_0x51177a(0x126)]=!0x1,this[_0x51177a(0x12d)]=null;}[_0x224275(0x147)](){const _0x4b98c4=_0x224275;this[_0x4b98c4(0x126)]&&this[_0x4b98c4(0x145)]();}[_0x224275(0x138)](_0x54fcaf){const _0x11327f=_0x224275;for(const _0xcbea95 of this[_0x11327f(0x159)])_0x54fcaf[_0x11327f(0x117)](_0xcbea95)||this[_0x11327f(0x172)][_0x11327f(0x121)](_0xcbea95);for(const _0x5edf3c of this[_0x11327f(0x12d)])_0x54fcaf[_0x11327f(0x117)](_0x5edf3c)||this[_0x11327f(0x146)](_0x5edf3c);if(this[_0x11327f(0x142)]['ui'][_0x11327f(0x173)][_0x11327f(0x11a)]){for(const _0x21ecda of _0x54fcaf)this[_0x11327f(0x151)](_0x21ecda);}this[_0x11327f(0x159)]=_0x54fcaf;}[_0x224275(0x151)](_0x8a8973,_0x2b1941=!0x1){const _0x21ba2f=_0x224275;this[_0x21ba2f(0x172)][_0x21ba2f(0x149)](_0x8a8973)||(this[_0x21ba2f(0x123)][_0x21ba2f(0x149)](_0x8a8973)||this[_0x21ba2f(0x177)][_0x21ba2f(0x137)](_0x8a8973[_0x21ba2f(0x11b)])||(this[_0x21ba2f(0x123)][_0x21ba2f(0x175)](_0x8a8973),this[_0x21ba2f(0x177)][_0x21ba2f(0x175)]({'stackId':_0x8a8973[_0x21ba2f(0x11b)]['id'],'view':_0x8a8973[_0x21ba2f(0x11b)],'position':{'target':()=>this[_0x21ba2f(0x162)](_0x8a8973)}})),_0x2b1941&&this[_0x21ba2f(0x177)][_0x21ba2f(0x13d)](_0x8a8973[_0x21ba2f(0x11b)]['id']));}[_0x224275(0x162)](_0x42ce08){const _0x9c1776=_0x224275,_0x3e68ff=_0x42ce08[_0x9c1776(0x14e)],_0x24ae0b=this[_0x9c1776(0x142)][_0x9c1776(0x164)][_0x9c1776(0x11b)],_0x50a991=_0x24ae0b[_0x9c1776(0x139)][_0x9c1776(0x167)][_0x9c1776(0x15f)](),_0x5c4e05=_0x24ae0b[_0x9c1776(0x125)][_0x9c1776(0x152)](_0x50a991);if(_0x5c4e05[_0x9c1776(0x132)](!0x0),_0x3e68ff){if(_0x3e68ff instanceof _0x36850b)return _0x3e68ff;let _0x477248=[];for(const _0x57f5cc of _0x3e68ff)_0x477248[_0x9c1776(0x176)](...(_0x365c9a=_0x57f5cc[_0x9c1776(0x154)](),Array[_0x9c1776(0x12c)](_0x365c9a)[_0x9c1776(0x131)](DOMRect[_0x9c1776(0x16f)])));_0x477248=function(_0xdb5ded){const _0x42808f=_0x9c1776,_0x5879df=[];let _0x3586e6=_0xdb5ded[0x0];for(let _0x4d184e=0x1;_0x4d184e<_0xdb5ded[_0x42808f(0x163)];_0x4d184e++)B(_0x3586e6,_0xdb5ded[_0x4d184e])?_0x3586e6[_0x42808f(0x140)]+=_0xdb5ded[_0x4d184e][_0x42808f(0x140)]:(_0x5879df[_0x42808f(0x176)](_0x3586e6),_0x3586e6=_0xdb5ded[_0x4d184e]);return _0x5879df[_0x42808f(0x176)](_0x3586e6),_0x5879df;}(_0x477248);const _0x36c616=_0x5c4e05[_0x9c1776(0x157)]();return _0x477248[_0x9c1776(0x153)](_0xffabaa=>_0xffabaa[_0x9c1776(0x144)]<=_0x36c616[_0x9c1776(0x144)]&&_0xffabaa[_0x9c1776(0x12f)]>=_0x36c616[_0x9c1776(0x12f)]&&_0xffabaa[_0x9c1776(0x165)]<=_0x36c616[_0x9c1776(0x165)]&&_0xffabaa[_0x9c1776(0x15c)]>=_0x36c616[_0x9c1776(0x15c)])||_0x477248[0x0];}var _0x365c9a;return _0x42ce08[_0x9c1776(0x166)]||_0x5c4e05;}[_0x224275(0x146)](_0x17978e){const _0x19c1dd=_0x224275;this[_0x19c1dd(0x123)][_0x19c1dd(0x149)](_0x17978e)&&this[_0x19c1dd(0x177)][_0x19c1dd(0x137)](_0x17978e[_0x19c1dd(0x11b)])&&(this[_0x19c1dd(0x123)][_0x19c1dd(0x121)](_0x17978e),this[_0x19c1dd(0x177)][_0x19c1dd(0x174)](_0x17978e[_0x19c1dd(0x11b)]));}[_0x224275(0x156)](_0x518fc5){const _0x5cbf9d=_0x224275;this[_0x5cbf9d(0x172)][_0x5cbf9d(0x175)](_0x518fc5),this[_0x5cbf9d(0x146)](_0x518fc5);}}function B(_0x28c36a,_0x1031aa){const _0x1029ff=_0x224275;return _0x28c36a[_0x1029ff(0x144)]===_0x1031aa[_0x1029ff(0x144)]&&_0x28c36a[_0x1029ff(0x12f)]===_0x1031aa[_0x1029ff(0x12f)]&&_0x28c36a[_0x1029ff(0x15c)]===_0x1031aa[_0x1029ff(0x165)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3148(){const _0x5a02e6=['narrowsidebar-attach-already-attached','delete','northArrowSouth','attach','activeAnnotation','_refreshPositioning','high','Esc','attachToDom','balloonPanelView','target','20kYIUSy','addAnnotation','create','661408ifyEbl','_detachFromContainer','hasDomSelection','pluginName','unpin','detach','blur','_integrateWithEditorAnnotations','view','resize','_annotations','rearrange','has','annotationType','requires','26zNrRBi','init','stopPropagation','refreshPositioning','uiUpdate','_refreshPositioningDebounced','destroy','_annotationToNarrowView','keyCode','get','isVisible','_attachListeners','4PTFAzS','3KhwCNB','ready','isPremiumPlugin','locale','narrowsidebar-detach-not-attached','execute','mousedown','ck-sidebar--narrow','getOrderedSelectedAnnotations','preventClosingBalloon','keydown','_updateBalloonPosition','NarrowSidebar','change:height','add','content','southArrowNorth','element','170rfviMr','length','1251272hVayeo','isAttached','southArrowNorthEast','getByView','focus','_showBalloon','bodyCollection','esc','low','addEventListener','change:container','removeEventListener','isOfficialPlugin','stopListening','_domEmitter','focusableElements','_selectedAnnotations','values','northArrowSouthWest','set','stop','EditorAnnotations','off','remove','460233UCBFNU','isDirty','_attachToContainer','listenTo','northArrowSouthEast','3498fcoomv','clear','southArrowNorthWest','refresh','annotations','from','_detachListeners','set:container','_manuallyClosedAnnotationViews','first','number','bind','2233294NDsdSB','pin','430067IwETLo','_hideBalloon','defaultPositions','detachFromDom','7JpniDd','editors','register','includes','find','plugins','contains','_destroyEditorAnnotationsIntegration','_setSelectedAnnotations','12HRVkkm','type','preventDefault','_editorAnnotations','context','narrowSidebar','getSidebarItemView','cancel','setActiveAnnotation','7017zXtHui'];_0x3148=function(){return _0x5a02e6;};return _0x3148();}const _0x2d1122=_0x1356;(function(_0x23348b,_0x3279ad){const _0x1b8533=_0x1356,_0xc60aa0=_0x23348b();while(!![]){try{const _0x3f6c0a=-parseInt(_0x1b8533(0x1d8))/0x1*(-parseInt(_0x1b8533(0x182))/0x2)+parseInt(_0x1b8533(0x183))/0x3*(-parseInt(_0x1b8533(0x167))/0x4)+-parseInt(_0x1b8533(0x195))/0x5*(parseInt(_0x1b8533(0x1b4))/0x6)+-parseInt(_0x1b8533(0x1c6))/0x7*(parseInt(_0x1b8533(0x197))/0x8)+parseInt(_0x1b8533(0x1af))/0x9*(parseInt(_0x1b8533(0x164))/0xa)+parseInt(_0x1b8533(0x1c2))/0xb*(parseInt(_0x1b8533(0x1cf))/0xc)+-parseInt(_0x1b8533(0x176))/0xd*(-parseInt(_0x1b8533(0x1c0))/0xe);if(_0x3f6c0a===_0x3279ad)break;else _0xc60aa0['push'](_0xc60aa0['shift']());}catch(_0x3660dd){_0xc60aa0['push'](_0xc60aa0['shift']());}}}(_0x3148,0x20700));import{ContextPlugin as _0x561977,Context as _0x13931d}from'ckeditor5/src/core.js';import _0x88642 from'./annotationsuis.js';import _0x3ca974 from'./sidebar.js';import _0x1d44f3 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x52200c,BodyCollection as _0x213fbf}from'ckeditor5/src/ui.js';function _0x1356(_0x4ff714,_0x147a6e){const _0x31482b=_0x3148();return _0x1356=function(_0x1356ad,_0x60a270){_0x1356ad=_0x1356ad-0x163;let _0x348d3e=_0x31482b[_0x1356ad];return _0x348d3e;},_0x1356(_0x4ff714,_0x147a6e);}import{CKEditorError as _0x4b4d99,DomEmitterMixin as _0x2287f9,keyCodes as _0x531674,Collection as _0x3c2409}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x462c6b}from'es-toolkit/compat';export default class n extends _0x561977{[_0x2d1122(0x198)];[_0x2d1122(0x1b8)];[_0x2d1122(0x1bc)];[_0x2d1122(0x1a5)];[_0x2d1122(0x17d)];[_0x2d1122(0x1a7)];[_0x2d1122(0x1d2)];[_0x2d1122(0x17b)];static get[_0x2d1122(0x175)](){return[_0x3ca974,_0x88642];}static get[_0x2d1122(0x16a)](){const _0x51945b=_0x2d1122;return _0x51945b(0x18f);}static get[_0x2d1122(0x1a3)](){return!0x0;}static get[_0x2d1122(0x185)](){return!0x0;}constructor(_0x420ff){const _0x4c961e=_0x2d1122;super(_0x420ff),this[_0x4c961e(0x198)]=!0x1,this[_0x4c961e(0x1bc)]=new Set(),this[_0x4c961e(0x1a5)]=Object[_0x4c961e(0x166)](_0x2287f9),this[_0x4c961e(0x17d)]=new Map(),this[_0x4c961e(0x1aa)](_0x4c961e(0x1dd),null),this[_0x4c961e(0x1b8)]=null,this[_0x4c961e(0x1a7)]=[],this[_0x4c961e(0x1d2)]=new _0x3c2409(),this[_0x4c961e(0x17b)]=_0x462c6b(()=>{const _0x1c3142=_0x4c961e;this[_0x1c3142(0x1de)]();},0xfa,{'leading':!0x1});}[_0x2d1122(0x177)](){const _0x372f79=_0x2d1122;this[_0x372f79(0x1d3)][_0x372f79(0x1cb)][_0x372f79(0x17f)](_0x88642)[_0x372f79(0x1c8)](_0x372f79(0x1d4),this),this[_0x372f79(0x19d)]=new _0x213fbf(this[_0x372f79(0x1d3)][_0x372f79(0x186)]),this[_0x372f79(0x1e2)]=new _0x52200c(this[_0x372f79(0x1d3)][_0x372f79(0x186)]),this[_0x372f79(0x19d)][_0x372f79(0x1e1)](),this[_0x372f79(0x19d)][_0x372f79(0x191)](this[_0x372f79(0x1e2)]);}[_0x2d1122(0x1dc)](_0x461f2b){const _0x41c800=_0x2d1122;this[_0x41c800(0x1b8)]=_0x461f2b;const _0x4f507d=this[_0x41c800(0x1d3)][_0x41c800(0x1cb)][_0x41c800(0x17f)](_0x3ca974),_0x3c5048=this[_0x41c800(0x1e2)];if(_0x4f507d[_0x41c800(0x171)]=_0x461f2b,this[_0x41c800(0x198)])throw new _0x4b4d99(_0x41c800(0x1d9),this);this[_0x41c800(0x198)]=!0x0,this[_0x41c800(0x1b2)](_0x4f507d,_0x41c800(0x1bb),()=>{const _0x47500a=_0x41c800;this[_0x47500a(0x16c)](),this[_0x47500a(0x1b2)](_0x4f507d,_0x47500a(0x1a1),_0x1768d3=>{const _0x301ec8=_0x47500a;_0x1768d3[_0x301ec8(0x1ad)](),this[_0x301ec8(0x1dc)](_0x461f2b);});}),_0x4f507d[_0x41c800(0x1b1)]({'viewClass':_0x41c800(0x18a),'spaceBetweenItems':0x5});const _0x482161=_0x2fc097=>{const _0x2f0662=_0x41c800,_0x587e9b=new _0x1d44f3(this[_0x2f0662(0x1d3)][_0x2f0662(0x186)]);_0x4f507d[_0x2f0662(0x165)](_0x2fc097,_0x587e9b),this[_0x2f0662(0x17d)][_0x2f0662(0x1aa)](_0x2fc097,_0x587e9b),_0x587e9b[_0x2f0662(0x1bf)](_0x2f0662(0x1b0),_0x2f0662(0x174),_0x2f0662(0x1be))['to'](_0x2fc097[_0x2f0662(0x16f)],_0x2f0662(0x1b0),_0x2f0662(0x1d0),_0x2f0662(0x196)),_0x587e9b['on'](_0x2f0662(0x188),()=>{const _0x527fdb=_0x2f0662;this[_0x527fdb(0x1bc)][_0x527fdb(0x1b5)](),_0x3c5048[_0x527fdb(0x192)][_0x527fdb(0x1bd)]!==_0x2fc097[_0x527fdb(0x16f)]?(this[_0x527fdb(0x19c)](_0x2fc097),_0x2fc097[_0x527fdb(0x16f)][_0x527fdb(0x194)][_0x527fdb(0x19b)](),this[_0x527fdb(0x1d7)](_0x2fc097)):this[_0x527fdb(0x1d7)](null);});};for(const _0x4bd975 of _0x461f2b)_0x482161(_0x4bd975);this[_0x41c800(0x1b2)](_0x461f2b,_0x41c800(0x191),(_0x59b3b6,_0x5f1f45)=>{_0x482161(_0x5f1f45);}),this[_0x41c800(0x1b2)](_0x461f2b,_0x41c800(0x1ae),(_0x525160,_0x104d8e,_0x5218b1)=>{const _0x3c8169=_0x41c800;this[_0x3c8169(0x17d)][_0x3c8169(0x17f)](_0x104d8e)[_0x3c8169(0x17c)](),this[_0x3c8169(0x17d)][_0x3c8169(0x1da)](_0x104d8e),_0x4f507d[_0x3c8169(0x172)]({'removedAnnotation':_0x104d8e,'previousAnnotation':_0x461f2b[_0x3c8169(0x17f)](_0x5218b1-0x1),'nextAnnotation':_0x461f2b[_0x3c8169(0x17f)](_0x5218b1+0x1)}),_0x104d8e===this[_0x3c8169(0x1dd)]&&this[_0x3c8169(0x1d7)](null);},{'priority':_0x41c800(0x19f)}),this[_0x41c800(0x1b2)](_0x461f2b,_0x41c800(0x19b),(_0x47670c,_0x9a46ca)=>{const _0x17bf28=_0x41c800;this[_0x17bf28(0x1d7)](_0x9a46ca);}),this[_0x41c800(0x1b2)](_0x461f2b,_0x41c800(0x16d),()=>{const _0x3cf5ad=_0x41c800;this[_0x3cf5ad(0x1d7)](null);}),this[_0x41c800(0x1a5)][_0x41c800(0x1b2)](document,_0x41c800(0x18d),(_0x4430e2,_0x35dd7c)=>{const _0x34357e=_0x41c800;_0x35dd7c[_0x34357e(0x17e)]===_0x531674[_0x34357e(0x19e)]&&_0x3c5048[_0x34357e(0x180)]&&(this[_0x34357e(0x1bc)][_0x34357e(0x191)](_0x3c5048[_0x34357e(0x192)][_0x34357e(0x1bd)]),this[_0x34357e(0x1c3)](),_0x35dd7c[_0x34357e(0x178)](),_0x35dd7c[_0x34357e(0x1d1)]());}),this[_0x41c800(0x1a5)][_0x41c800(0x1b2)](document,_0x41c800(0x189),(_0x5a39be,_0x5394db)=>{const _0x4b9359=_0x41c800,_0x4448bb=_0x5394db[_0x4b9359(0x163)];_0x3c5048[_0x4b9359(0x180)]&&_0x3c5048[_0x4b9359(0x194)][_0x4b9359(0x1cc)](_0x4448bb)||_0x4f507d[_0x4b9359(0x16f)][_0x4b9359(0x194)][_0x4b9359(0x1cc)](_0x4448bb)||_0x5a39be[_0x4b9359(0x18c)]||this[_0x4b9359(0x1dd)]&&this[_0x4b9359(0x1dd)][_0x4b9359(0x1a6)][_0x4b9359(0x1ca)](_0x322174=>_0x322174[_0x4b9359(0x1cc)](_0x4448bb))||(this[_0x4b9359(0x1bc)][_0x4b9359(0x1b5)](),this[_0x4b9359(0x1c3)](),this[_0x4b9359(0x1d7)](null));});const _0xbba37d=this[_0x41c800(0x1d3)]instanceof _0x13931d?this[_0x41c800(0x1d3)][_0x41c800(0x1c7)]:new _0x3c2409([this[_0x41c800(0x1d3)]]);for(const _0x1aa780 of _0xbba37d)this[_0x41c800(0x16e)](_0x1aa780);this[_0x41c800(0x1b2)](_0xbba37d,_0x41c800(0x191),(_0x12bd8b,_0x19b757)=>{const _0x26bd5c=_0x41c800;this[_0x26bd5c(0x1b2)](_0x19b757,_0x26bd5c(0x184),()=>{const _0x841728=_0x26bd5c;this[_0x841728(0x16e)](_0x19b757);});}),this[_0x41c800(0x1b2)](_0xbba37d,_0x41c800(0x1ae),(_0x42f1d8,_0x2427a4)=>{const _0x2be2db=_0x41c800;_0x2427a4[_0x2be2db(0x1cb)][_0x2be2db(0x173)](_0x2be2db(0x1ac))&&this[_0x2be2db(0x1cd)](_0x2427a4[_0x2be2db(0x1cb)][_0x2be2db(0x17f)](_0x2be2db(0x1ac)));}),window[_0x41c800(0x1a0)](_0x41c800(0x170),this[_0x41c800(0x17b)]),this[_0x41c800(0x1de)]();}[_0x2d1122(0x1d7)](_0x4a9df8){const _0x5c0ceb=_0x2d1122;if(_0x4a9df8===this[_0x5c0ceb(0x1dd)])return;const _0xd9036d=this[_0x5c0ceb(0x1d3)][_0x5c0ceb(0x1cb)][_0x5c0ceb(0x17f)](_0x3ca974);if(_0xd9036d[_0x5c0ceb(0x1b7)]({'blurredAnnotation':this[_0x5c0ceb(0x1dd)],'activatedAnnotation':_0x4a9df8,'disableAnimationOnActivatedAnnotation':!0x0}),_0x4a9df8)_0xd9036d[_0x5c0ceb(0x1d5)](_0x4a9df8)?this[_0x5c0ceb(0x19c)](_0x4a9df8):this[_0x5c0ceb(0x1c3)]();else this[_0x5c0ceb(0x1c3)]();this[_0x5c0ceb(0x1dd)]=_0x4a9df8;}[_0x2d1122(0x16c)](){const _0x1c8210=_0x2d1122;if(!this[_0x1c8210(0x198)])throw new _0x4b4d99(_0x1c8210(0x187),this);this[_0x1c8210(0x1d7)](null);const _0x3d2fae=this[_0x1c8210(0x1d3)][_0x1c8210(0x1cb)][_0x1c8210(0x17f)](_0x3ca974);this[_0x1c8210(0x1c3)](),Array[_0x1c8210(0x1b9)](this[_0x1c8210(0x17d)][_0x1c8210(0x1a8)](),_0x3270ea=>_0x3270ea[_0x1c8210(0x17c)]()),this[_0x1c8210(0x17d)][_0x1c8210(0x1b5)](),_0x3d2fae[_0x1c8210(0x168)](this[_0x1c8210(0x1b8)]),this[_0x1c8210(0x1a4)](),this[_0x1c8210(0x1a5)][_0x1c8210(0x1a4)](),this[_0x1c8210(0x1d3)]instanceof _0x13931d&&this[_0x1c8210(0x1a4)](this[_0x1c8210(0x1d3)][_0x1c8210(0x1c7)]);for(const _0x582534 of Array[_0x1c8210(0x1b9)](this[_0x1c8210(0x1d2)]))this[_0x1c8210(0x1cd)](_0x582534);window[_0x1c8210(0x1a2)](_0x1c8210(0x170),this[_0x1c8210(0x17b)]),this[_0x1c8210(0x17b)][_0x1c8210(0x1d6)](),this[_0x1c8210(0x1a7)]=[],this[_0x1c8210(0x198)]=!0x1,this[_0x1c8210(0x1b8)]=null;}[_0x2d1122(0x17c)](){const _0x39cc1a=_0x2d1122;this[_0x39cc1a(0x198)]&&this[_0x39cc1a(0x16c)](),this[_0x39cc1a(0x19d)][_0x39cc1a(0x1c5)]();}[_0x2d1122(0x16e)](_0x1156b6){const _0x3a3482=_0x2d1122;if(!_0x1156b6[_0x3a3482(0x1cb)][_0x3a3482(0x173)](_0x3a3482(0x1ac)))return;const _0x573fba=_0x1156b6[_0x3a3482(0x1cb)][_0x3a3482(0x17f)](_0x3a3482(0x1ac)),_0x297103=this[_0x3a3482(0x1d3)][_0x3a3482(0x1cb)][_0x3a3482(0x17f)](_0x3ca974),_0x23eb48=this[_0x3a3482(0x1b8)],_0x36cc1a=this[_0x3a3482(0x1e2)],_0x3c1364=()=>{const _0x3455ab=_0x3a3482,_0x3369e5=_0x573fba[_0x3455ab(0x18b)]({'annotations':this[_0x3455ab(0x1b8)],'activeAnnotation':this[_0x3455ab(0x1dd)]});this[_0x3455ab(0x1ce)](_0x3369e5),this[_0x3455ab(0x1d7)](_0x3369e5[0x0]||null);};this[_0x3a3482(0x1b2)](_0x573fba,_0x3a3482(0x1b7),_0x3c1364),this[_0x3a3482(0x1b2)](_0x573fba,_0x3a3482(0x16d),(_0x352642,{isAnnotationTracked:_0x2f5fc2})=>{const _0x15351e=_0x3a3482;this[_0x15351e(0x1dd)]&&_0x2f5fc2(this[_0x15351e(0x1dd)])&&(this[_0x15351e(0x1ce)]([]),this[_0x15351e(0x1d7)](null));}),this[_0x3a3482(0x1b2)](_0x573fba,_0x3a3482(0x17a),()=>{const _0x67d606=_0x3a3482;this[_0x67d606(0x17b)]();}),this[_0x3a3482(0x1b2)](_0x23eb48,_0x3a3482(0x16d),_0x388879=>{const _0x1fb0cb=_0x3a3482;_0x573fba[_0x1fb0cb(0x169)]()&&_0x388879[_0x1fb0cb(0x1ab)]();},{'priority':_0x3a3482(0x1df)}),this[_0x3a3482(0x1b2)](this[_0x3a3482(0x1a5)],_0x3a3482(0x189),(_0x2f979a,_0x22f39c)=>{const _0x560f61=_0x3a3482,_0x2153df=_0x22f39c[_0x560f61(0x163)];_0x36cc1a[_0x560f61(0x180)]&&_0x36cc1a[_0x560f61(0x194)][_0x560f61(0x1cc)](_0x2153df)||_0x297103[_0x560f61(0x16f)][_0x560f61(0x194)][_0x560f61(0x1cc)](_0x2153df)||this[_0x560f61(0x1dd)]&&_0x573fba[_0x560f61(0x169)]()&&(_0x3c1364(),_0x2f979a[_0x560f61(0x18c)]=!0x0);},{'priority':_0x3a3482(0x1df)}),this[_0x3a3482(0x1d2)][_0x3a3482(0x191)](_0x573fba);}[_0x2d1122(0x1cd)](_0x873f25){const _0x59b8be=_0x2d1122;_0x873f25&&(this[_0x59b8be(0x1a4)](_0x873f25),this[_0x59b8be(0x1d2)][_0x59b8be(0x1ae)](_0x873f25));}[_0x2d1122(0x1ce)](_0xe1bbec){const _0xea208d=_0x2d1122;for(const _0x25bbf7 of this[_0xea208d(0x1a7)])_0xe1bbec[_0xea208d(0x1c9)](_0x25bbf7)||this[_0xea208d(0x1bc)][_0xea208d(0x1da)](_0x25bbf7[_0xea208d(0x16f)]);this[_0xea208d(0x1a7)]=_0xe1bbec;}[_0x2d1122(0x1de)](){const _0x3781cd=_0x2d1122,_0x1249a2=this[_0x3781cd(0x1e2)];this[_0x3781cd(0x1b8)][_0x3781cd(0x179)](),_0x1249a2[_0x3781cd(0x180)]&&this[_0x3781cd(0x18e)]();}[_0x2d1122(0x19c)](_0x24b151){const _0x1587f1=_0x2d1122;if(this[_0x1587f1(0x1bc)][_0x1587f1(0x173)](_0x24b151[_0x1587f1(0x16f)]))return;const _0x45f5b3=this[_0x1587f1(0x1e2)][_0x1587f1(0x192)][_0x1587f1(0x1bd)];_0x45f5b3!==_0x24b151[_0x1587f1(0x16f)]?(_0x45f5b3&&this[_0x1587f1(0x1ba)](_0x45f5b3),this[_0x1587f1(0x181)](_0x24b151[_0x1587f1(0x16f)]),this[_0x1587f1(0x1e2)][_0x1587f1(0x192)][_0x1587f1(0x1b5)](),this[_0x1587f1(0x1e2)][_0x1587f1(0x192)][_0x1587f1(0x191)](_0x24b151[_0x1587f1(0x16f)]),this[_0x1587f1(0x18e)]()):this[_0x1587f1(0x18e)]();}[_0x2d1122(0x18e)](){const _0x1d8f08=_0x2d1122,_0x31725a=this[_0x1d8f08(0x1e2)][_0x1d8f08(0x192)][_0x1d8f08(0x1bd)],_0x3ad6f0=_0x31725a&&this[_0x1d8f08(0x1b8)][_0x1d8f08(0x19a)](_0x31725a);if(!_0x3ad6f0||!this[_0x1d8f08(0x17d)][_0x1d8f08(0x173)](_0x3ad6f0))return;const _0x17bcd0=this[_0x1d8f08(0x17d)][_0x1d8f08(0x17f)](_0x3ad6f0)[_0x1d8f08(0x194)],_0xede4a7=(function(){const _0x2b6949=_0x1d8f08,_0x3beed6=_0x52200c[_0x2b6949(0x1c4)];return[_0x3beed6[_0x2b6949(0x199)],_0x3beed6[_0x2b6949(0x1b3)],_0x3beed6[_0x2b6949(0x193)],_0x3beed6[_0x2b6949(0x1db)],_0x3beed6[_0x2b6949(0x1b6)],_0x3beed6[_0x2b6949(0x1a9)]];}());this[_0x1d8f08(0x1e2)][_0x1d8f08(0x1c1)]({'target':_0x17bcd0,'positions':_0xede4a7});}[_0x2d1122(0x1c3)](){const _0x2deb0c=_0x2d1122,_0x337617=this[_0x2deb0c(0x1e2)],_0x1bbeed=_0x337617[_0x2deb0c(0x192)][_0x2deb0c(0x1bd)];_0x1bbeed&&(this[_0x2deb0c(0x1ba)](_0x1bbeed),_0x337617[_0x2deb0c(0x16b)](),_0x337617[_0x2deb0c(0x192)][_0x2deb0c(0x1b5)]());}[_0x2d1122(0x181)](_0x2accb3){const _0x3feb33=_0x2d1122;this[_0x3feb33(0x1b2)](_0x2accb3,_0x3feb33(0x190),()=>this[_0x3feb33(0x18e)]()),this[_0x3feb33(0x1b2)](_0x2accb3,_0x3feb33(0x1e0),(_0x2d3756,_0x2776a9)=>{const _0x41d673=_0x3feb33;this[_0x41d673(0x1bc)][_0x41d673(0x191)](_0x2accb3),this[_0x41d673(0x1c3)](),_0x2776a9();});}[_0x2d1122(0x1ba)](_0x5d62b8){const _0x1d8fec=_0x2d1122;this[_0x1d8fec(0x1a4)](_0x5d62b8);}}
|
|
23
|
+
const _0x5bf171=_0x3119;(function(_0x2578f5,_0x18ee70){const _0x49cba2=_0x3119,_0x1f356c=_0x2578f5();while(!![]){try{const _0x17c810=-parseInt(_0x49cba2(0x1bc))/0x1*(parseInt(_0x49cba2(0x1df))/0x2)+-parseInt(_0x49cba2(0x1ee))/0x3+parseInt(_0x49cba2(0x1f4))/0x4*(-parseInt(_0x49cba2(0x1c4))/0x5)+-parseInt(_0x49cba2(0x1d1))/0x6*(-parseInt(_0x49cba2(0x196))/0x7)+-parseInt(_0x49cba2(0x1f1))/0x8*(-parseInt(_0x49cba2(0x18b))/0x9)+-parseInt(_0x49cba2(0x1b8))/0xa*(-parseInt(_0x49cba2(0x1bb))/0xb)+parseInt(_0x49cba2(0x1d3))/0xc*(parseInt(_0x49cba2(0x1da))/0xd);if(_0x17c810===_0x18ee70)break;else _0x1f356c['push'](_0x1f356c['shift']());}catch(_0x1295ae){_0x1f356c['push'](_0x1f356c['shift']());}}}(_0x2e86,0x25bab));import{ContextPlugin as _0x53764e,Context as _0x180efd}from'ckeditor5/src/core.js';import _0x493abb from'./annotationsuis.js';import _0x35963e from'./sidebar.js';import _0x1f2f88 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x7c60b3,BodyCollection as _0x2c0f13}from'ckeditor5/src/ui.js';function _0x2e86(){const _0x170585=['_attachListeners','300kqITPs','hasDomSelection','annotationType','number','getByView','content','_detachListeners','NarrowSidebar','Esc','detachFromDom','focus','init','balloonPanelView','off','EditorAnnotations','change:height','listenTo','plugins','resize','execute','attachToDom','_annotationToNarrowView','18DlPtDt','view','narrowSidebar','attach','annotations','_attachToContainer','_selectedAnnotations','stopPropagation','_detachFromContainer','focusableElements','clear','7gGDyko','bodyCollection','_destroyEditorAnnotationsIntegration','pin','_manuallyClosedAnnotationViews','northArrowSouthEast','cancel','requires','_integrateWithEditorAnnotations','target','detach','southArrowNorth','defaultPositions','getSidebarItemView','narrowsidebar-attach-already-attached','destroy','change:container','low','preventClosingBalloon','stop','getOrderedSelectedAnnotations','length','has','refreshPositioning','isAttached','esc','refresh','isOfficialPlugin','stopListening','context','mousedown','unpin','addAnnotation','_domEmitter','303590BQmcvD','removeEventListener','ck-sidebar--narrow','44hHMwGw','1qNyZvV','set','ready','remove','southArrowNorthWest','keyCode','bind','isPremiumPlugin','14055rLcJFp','get','blur','southArrowNorthEast','northArrowSouth','preventDefault','isVisible','_editorAnnotations','_updateBalloonPosition','values','northArrowSouthWest','create','_showBalloon','384450LWlbJZ','editors','186204IYbOFH','locale','uiUpdate','contains','_setSelectedAnnotations','_hideBalloon','first','481RzoEfS','_refreshPositioningDebounced','high','keydown','setActiveAnnotation','400518qtATrK','_refreshPositioning','pluginName','add','type','set:container','from','find','_annotations','addEventListener','delete','activeAnnotation','isDirty','element','narrowsidebar-detach-not-attached','684915aqqkoE','rearrange','register','137152fRbZQg','includes'];_0x2e86=function(){return _0x170585;};return _0x2e86();}import{CKEditorError as _0x166d6b,DomEmitterMixin as _0x2c9330,keyCodes as _0x5d3323,Collection as _0x51bb1d}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';function _0x3119(_0x320ebb,_0x3db74a){const _0x2e86a7=_0x2e86();return _0x3119=function(_0x3119f5,_0x39417b){_0x3119f5=_0x3119f5-0x183;let _0x4d272d=_0x2e86a7[_0x3119f5];return _0x4d272d;},_0x3119(_0x320ebb,_0x3db74a);}import{debounce as _0x2c1b77}from'es-toolkit/compat';export default class n extends _0x53764e{[_0x5bf171(0x1ae)];[_0x5bf171(0x18f)];[_0x5bf171(0x19a)];[_0x5bf171(0x1b7)];[_0x5bf171(0x18a)];[_0x5bf171(0x191)];[_0x5bf171(0x1cb)];[_0x5bf171(0x1db)];static get[_0x5bf171(0x19d)](){return[_0x35963e,_0x493abb];}static get[_0x5bf171(0x1e1)](){const _0x19685d=_0x5bf171;return _0x19685d(0x1fb);}static get[_0x5bf171(0x1b1)](){return!0x0;}static get[_0x5bf171(0x1c3)](){return!0x0;}constructor(_0x4caf28){const _0x5859d7=_0x5bf171;super(_0x4caf28),this[_0x5859d7(0x1ae)]=!0x1,this[_0x5859d7(0x19a)]=new Set(),this[_0x5859d7(0x1b7)]=Object[_0x5859d7(0x1cf)](_0x2c9330),this[_0x5859d7(0x18a)]=new Map(),this[_0x5859d7(0x1bd)](_0x5859d7(0x1ea),null),this[_0x5859d7(0x18f)]=null,this[_0x5859d7(0x191)]=[],this[_0x5859d7(0x1cb)]=new _0x51bb1d(),this[_0x5859d7(0x1db)]=_0x2c1b77(()=>{const _0x26bb2a=_0x5859d7;this[_0x26bb2a(0x1e0)]();},0xfa,{'leading':!0x1});}[_0x5bf171(0x1ff)](){const _0x5f5bb0=_0x5bf171;this[_0x5f5bb0(0x1b3)][_0x5f5bb0(0x186)][_0x5f5bb0(0x1c5)](_0x493abb)[_0x5f5bb0(0x1f0)](_0x5f5bb0(0x18d),this),this[_0x5f5bb0(0x197)]=new _0x2c0f13(this[_0x5f5bb0(0x1b3)][_0x5f5bb0(0x1d4)]),this[_0x5f5bb0(0x200)]=new _0x7c60b3(this[_0x5f5bb0(0x1b3)][_0x5f5bb0(0x1d4)]),this[_0x5f5bb0(0x197)][_0x5f5bb0(0x189)](),this[_0x5f5bb0(0x197)][_0x5f5bb0(0x1e2)](this[_0x5f5bb0(0x200)]);}[_0x5bf171(0x18e)](_0x2e51d7){const _0x490bde=_0x5bf171;this[_0x490bde(0x18f)]=_0x2e51d7;const _0x48f151=this[_0x490bde(0x1b3)][_0x490bde(0x186)][_0x490bde(0x1c5)](_0x35963e),_0x3ef349=this[_0x490bde(0x200)];if(_0x48f151[_0x490bde(0x1e7)]=_0x2e51d7,this[_0x490bde(0x1ae)])throw new _0x166d6b(_0x490bde(0x1a4),this);this[_0x490bde(0x1ae)]=!0x0,this[_0x490bde(0x185)](_0x48f151,_0x490bde(0x1e4),()=>{const _0x5cfa84=_0x490bde;this[_0x5cfa84(0x1a0)](),this[_0x5cfa84(0x185)](_0x48f151,_0x5cfa84(0x1a6),_0x55990c=>{const _0x50c8b9=_0x5cfa84;_0x55990c[_0x50c8b9(0x201)](),this[_0x50c8b9(0x18e)](_0x2e51d7);});}),_0x48f151[_0x490bde(0x190)]({'viewClass':_0x490bde(0x1ba),'spaceBetweenItems':0x5});const _0x319894=_0x1ab54a=>{const _0x268d42=_0x490bde,_0x333971=new _0x1f2f88(this[_0x268d42(0x1b3)][_0x268d42(0x1d4)]);_0x48f151[_0x268d42(0x1b6)](_0x1ab54a,_0x333971),this[_0x268d42(0x18a)][_0x268d42(0x1bd)](_0x1ab54a,_0x333971),_0x333971[_0x268d42(0x1c2)](_0x268d42(0x1eb),_0x268d42(0x1f6),_0x268d42(0x1f7))['to'](_0x1ab54a[_0x268d42(0x18c)],_0x268d42(0x1eb),_0x268d42(0x1e3),_0x268d42(0x1ab)),_0x333971['on'](_0x268d42(0x188),()=>{const _0x43297b=_0x268d42;this[_0x43297b(0x19a)][_0x43297b(0x195)](),_0x3ef349[_0x43297b(0x1f9)][_0x43297b(0x1d9)]!==_0x1ab54a[_0x43297b(0x18c)]?(this[_0x43297b(0x1d0)](_0x1ab54a),_0x1ab54a[_0x43297b(0x18c)][_0x43297b(0x1ec)][_0x43297b(0x1fe)](),this[_0x43297b(0x1de)](_0x1ab54a)):this[_0x43297b(0x1de)](null);});};for(const _0x152ad7 of _0x2e51d7)_0x319894(_0x152ad7);this[_0x490bde(0x185)](_0x2e51d7,_0x490bde(0x1e2),(_0x560454,_0x2ed05d)=>{_0x319894(_0x2ed05d);}),this[_0x490bde(0x185)](_0x2e51d7,_0x490bde(0x1bf),(_0x5a6f5a,_0x17a223,_0x15b8d0)=>{const _0x13c6e8=_0x490bde;this[_0x13c6e8(0x18a)][_0x13c6e8(0x1c5)](_0x17a223)[_0x13c6e8(0x1a5)](),this[_0x13c6e8(0x18a)][_0x13c6e8(0x1e9)](_0x17a223),_0x48f151[_0x13c6e8(0x1ef)]({'removedAnnotation':_0x17a223,'previousAnnotation':_0x2e51d7[_0x13c6e8(0x1c5)](_0x15b8d0-0x1),'nextAnnotation':_0x2e51d7[_0x13c6e8(0x1c5)](_0x15b8d0+0x1)}),_0x17a223===this[_0x13c6e8(0x1ea)]&&this[_0x13c6e8(0x1de)](null);},{'priority':_0x490bde(0x1a7)}),this[_0x490bde(0x185)](_0x2e51d7,_0x490bde(0x1fe),(_0x3e2223,_0x52e5c2)=>{const _0x4a39bb=_0x490bde;this[_0x4a39bb(0x1de)](_0x52e5c2);}),this[_0x490bde(0x185)](_0x2e51d7,_0x490bde(0x1c6),()=>{const _0x425df7=_0x490bde;this[_0x425df7(0x1de)](null);}),this[_0x490bde(0x1b7)][_0x490bde(0x185)](document,_0x490bde(0x1dd),(_0x379c13,_0x4cbb33)=>{const _0x1a3b74=_0x490bde;_0x4cbb33[_0x1a3b74(0x1c1)]===_0x5d3323[_0x1a3b74(0x1af)]&&_0x3ef349[_0x1a3b74(0x1ca)]&&(this[_0x1a3b74(0x19a)][_0x1a3b74(0x1e2)](_0x3ef349[_0x1a3b74(0x1f9)][_0x1a3b74(0x1d9)]),this[_0x1a3b74(0x1d8)](),_0x4cbb33[_0x1a3b74(0x192)](),_0x4cbb33[_0x1a3b74(0x1c9)]());}),this[_0x490bde(0x1b7)][_0x490bde(0x185)](document,_0x490bde(0x1b4),(_0x10f5e0,_0x4ea618)=>{const _0x25dd31=_0x490bde,_0xe27394=_0x4ea618[_0x25dd31(0x19f)];_0x3ef349[_0x25dd31(0x1ca)]&&_0x3ef349[_0x25dd31(0x1ec)][_0x25dd31(0x1d6)](_0xe27394)||_0x48f151[_0x25dd31(0x18c)][_0x25dd31(0x1ec)][_0x25dd31(0x1d6)](_0xe27394)||_0x10f5e0[_0x25dd31(0x1a8)]||this[_0x25dd31(0x1ea)]&&this[_0x25dd31(0x1ea)][_0x25dd31(0x194)][_0x25dd31(0x1e6)](_0x374ec5=>_0x374ec5[_0x25dd31(0x1d6)](_0xe27394))||(this[_0x25dd31(0x19a)][_0x25dd31(0x195)](),this[_0x25dd31(0x1d8)](),this[_0x25dd31(0x1de)](null));});const _0x2f10d9=this[_0x490bde(0x1b3)]instanceof _0x180efd?this[_0x490bde(0x1b3)][_0x490bde(0x1d2)]:new _0x51bb1d([this[_0x490bde(0x1b3)]]);for(const _0x4d546f of _0x2f10d9)this[_0x490bde(0x19e)](_0x4d546f);this[_0x490bde(0x185)](_0x2f10d9,_0x490bde(0x1e2),(_0x31eaad,_0x2af03b)=>{const _0x4fba44=_0x490bde;this[_0x4fba44(0x185)](_0x2af03b,_0x4fba44(0x1be),()=>{const _0x1a9da0=_0x4fba44;this[_0x1a9da0(0x19e)](_0x2af03b);});}),this[_0x490bde(0x185)](_0x2f10d9,_0x490bde(0x1bf),(_0x2fe7dd,_0x33ef6c)=>{const _0x3d9908=_0x490bde;_0x33ef6c[_0x3d9908(0x186)][_0x3d9908(0x1ac)](_0x3d9908(0x183))&&this[_0x3d9908(0x198)](_0x33ef6c[_0x3d9908(0x186)][_0x3d9908(0x1c5)](_0x3d9908(0x183)));}),window[_0x490bde(0x1e8)](_0x490bde(0x187),this[_0x490bde(0x1db)]),this[_0x490bde(0x1e0)]();}[_0x5bf171(0x1de)](_0xb4e8f8){const _0x4fbafb=_0x5bf171;if(_0xb4e8f8===this[_0x4fbafb(0x1ea)])return;const _0xe3eeb6=this[_0x4fbafb(0x1b3)][_0x4fbafb(0x186)][_0x4fbafb(0x1c5)](_0x35963e);if(_0xe3eeb6[_0x4fbafb(0x1b0)]({'blurredAnnotation':this[_0x4fbafb(0x1ea)],'activatedAnnotation':_0xb4e8f8,'disableAnimationOnActivatedAnnotation':!0x0}),_0xb4e8f8)_0xe3eeb6[_0x4fbafb(0x1a3)](_0xb4e8f8)?this[_0x4fbafb(0x1d0)](_0xb4e8f8):this[_0x4fbafb(0x1d8)]();else this[_0x4fbafb(0x1d8)]();this[_0x4fbafb(0x1ea)]=_0xb4e8f8;}[_0x5bf171(0x1a0)](){const _0x1a53b3=_0x5bf171;if(!this[_0x1a53b3(0x1ae)])throw new _0x166d6b(_0x1a53b3(0x1ed),this);this[_0x1a53b3(0x1de)](null);const _0x8f9643=this[_0x1a53b3(0x1b3)][_0x1a53b3(0x186)][_0x1a53b3(0x1c5)](_0x35963e);this[_0x1a53b3(0x1d8)](),Array[_0x1a53b3(0x1e5)](this[_0x1a53b3(0x18a)][_0x1a53b3(0x1cd)](),_0x49a23c=>_0x49a23c[_0x1a53b3(0x1a5)]()),this[_0x1a53b3(0x18a)][_0x1a53b3(0x195)](),_0x8f9643[_0x1a53b3(0x193)](this[_0x1a53b3(0x18f)]),this[_0x1a53b3(0x1b2)](),this[_0x1a53b3(0x1b7)][_0x1a53b3(0x1b2)](),this[_0x1a53b3(0x1b3)]instanceof _0x180efd&&this[_0x1a53b3(0x1b2)](this[_0x1a53b3(0x1b3)][_0x1a53b3(0x1d2)]);for(const _0x32fca5 of Array[_0x1a53b3(0x1e5)](this[_0x1a53b3(0x1cb)]))this[_0x1a53b3(0x198)](_0x32fca5);window[_0x1a53b3(0x1b9)](_0x1a53b3(0x187),this[_0x1a53b3(0x1db)]),this[_0x1a53b3(0x1db)][_0x1a53b3(0x19c)](),this[_0x1a53b3(0x191)]=[],this[_0x1a53b3(0x1ae)]=!0x1,this[_0x1a53b3(0x18f)]=null;}[_0x5bf171(0x1a5)](){const _0xae37ec=_0x5bf171;this[_0xae37ec(0x1ae)]&&this[_0xae37ec(0x1a0)](),this[_0xae37ec(0x197)][_0xae37ec(0x1fd)]();}[_0x5bf171(0x19e)](_0x3141e8){const _0x47ad6b=_0x5bf171;if(!_0x3141e8[_0x47ad6b(0x186)][_0x47ad6b(0x1ac)](_0x47ad6b(0x183)))return;const _0x1ae298=_0x3141e8[_0x47ad6b(0x186)][_0x47ad6b(0x1c5)](_0x47ad6b(0x183)),_0x4efef0=this[_0x47ad6b(0x1b3)][_0x47ad6b(0x186)][_0x47ad6b(0x1c5)](_0x35963e),_0x3da18c=this[_0x47ad6b(0x18f)],_0x33b411=this[_0x47ad6b(0x200)],_0x16ab0b=()=>{const _0x59418c=_0x47ad6b,_0x353e63=_0x1ae298[_0x59418c(0x1aa)]({'annotations':this[_0x59418c(0x18f)],'activeAnnotation':this[_0x59418c(0x1ea)]});this[_0x59418c(0x1d7)](_0x353e63),this[_0x59418c(0x1de)](_0x353e63[0x0]||null);};this[_0x47ad6b(0x185)](_0x1ae298,_0x47ad6b(0x1b0),_0x16ab0b),this[_0x47ad6b(0x185)](_0x1ae298,_0x47ad6b(0x1c6),(_0x4496f8,{isAnnotationTracked:_0x253ca9})=>{const _0x204163=_0x47ad6b;this[_0x204163(0x1ea)]&&_0x253ca9(this[_0x204163(0x1ea)])&&(this[_0x204163(0x1d7)]([]),this[_0x204163(0x1de)](null));}),this[_0x47ad6b(0x185)](_0x1ae298,_0x47ad6b(0x1d5),()=>{const _0x4c334b=_0x47ad6b;this[_0x4c334b(0x1db)]();}),this[_0x47ad6b(0x185)](_0x3da18c,_0x47ad6b(0x1c6),_0x3c377f=>{const _0x5b75ab=_0x47ad6b;_0x1ae298[_0x5b75ab(0x1f5)]()&&_0x3c377f[_0x5b75ab(0x1a9)]();},{'priority':_0x47ad6b(0x1dc)}),this[_0x47ad6b(0x185)](this[_0x47ad6b(0x1b7)],_0x47ad6b(0x1b4),(_0x331b88,_0x46570f)=>{const _0x23725d=_0x47ad6b,_0x23e027=_0x46570f[_0x23725d(0x19f)];_0x33b411[_0x23725d(0x1ca)]&&_0x33b411[_0x23725d(0x1ec)][_0x23725d(0x1d6)](_0x23e027)||_0x4efef0[_0x23725d(0x18c)][_0x23725d(0x1ec)][_0x23725d(0x1d6)](_0x23e027)||this[_0x23725d(0x1ea)]&&_0x1ae298[_0x23725d(0x1f5)]()&&(_0x16ab0b(),_0x331b88[_0x23725d(0x1a8)]=!0x0);},{'priority':_0x47ad6b(0x1dc)}),this[_0x47ad6b(0x1cb)][_0x47ad6b(0x1e2)](_0x1ae298);}[_0x5bf171(0x198)](_0x4f894d){const _0x29aa37=_0x5bf171;_0x4f894d&&(this[_0x29aa37(0x1b2)](_0x4f894d),this[_0x29aa37(0x1cb)][_0x29aa37(0x1bf)](_0x4f894d));}[_0x5bf171(0x1d7)](_0x7bd0c0){const _0x4d8e0d=_0x5bf171;for(const _0x2e8e28 of this[_0x4d8e0d(0x191)])_0x7bd0c0[_0x4d8e0d(0x1f2)](_0x2e8e28)||this[_0x4d8e0d(0x19a)][_0x4d8e0d(0x1e9)](_0x2e8e28[_0x4d8e0d(0x18c)]);this[_0x4d8e0d(0x191)]=_0x7bd0c0;}[_0x5bf171(0x1e0)](){const _0x174de5=_0x5bf171,_0xe1fdab=this[_0x174de5(0x200)];this[_0x174de5(0x18f)][_0x174de5(0x1ad)](),_0xe1fdab[_0x174de5(0x1ca)]&&this[_0x174de5(0x1cc)]();}[_0x5bf171(0x1d0)](_0x3ed929){const _0x361660=_0x5bf171;if(this[_0x361660(0x19a)][_0x361660(0x1ac)](_0x3ed929[_0x361660(0x18c)]))return;const _0x395df3=this[_0x361660(0x200)][_0x361660(0x1f9)][_0x361660(0x1d9)];_0x395df3!==_0x3ed929[_0x361660(0x18c)]?(_0x395df3&&this[_0x361660(0x1fa)](_0x395df3),this[_0x361660(0x1f3)](_0x3ed929[_0x361660(0x18c)]),this[_0x361660(0x200)][_0x361660(0x1f9)][_0x361660(0x195)](),this[_0x361660(0x200)][_0x361660(0x1f9)][_0x361660(0x1e2)](_0x3ed929[_0x361660(0x18c)]),this[_0x361660(0x1cc)]()):this[_0x361660(0x1cc)]();}[_0x5bf171(0x1cc)](){const _0x3879cb=_0x5bf171,_0x55961b=this[_0x3879cb(0x200)][_0x3879cb(0x1f9)][_0x3879cb(0x1d9)],_0x96532b=_0x55961b&&this[_0x3879cb(0x18f)][_0x3879cb(0x1f8)](_0x55961b);if(!_0x96532b||!this[_0x3879cb(0x18a)][_0x3879cb(0x1ac)](_0x96532b))return;const _0x16faa7=this[_0x3879cb(0x18a)][_0x3879cb(0x1c5)](_0x96532b)[_0x3879cb(0x1ec)],_0x57b465=(function(){const _0x321eb7=_0x3879cb,_0x5245e8=_0x7c60b3[_0x321eb7(0x1a2)];return[_0x5245e8[_0x321eb7(0x1c7)],_0x5245e8[_0x321eb7(0x19b)],_0x5245e8[_0x321eb7(0x1a1)],_0x5245e8[_0x321eb7(0x1c8)],_0x5245e8[_0x321eb7(0x1c0)],_0x5245e8[_0x321eb7(0x1ce)]];}());this[_0x3879cb(0x200)][_0x3879cb(0x199)]({'target':_0x16faa7,'positions':_0x57b465});}[_0x5bf171(0x1d8)](){const _0x2f379e=_0x5bf171,_0x1d04d2=this[_0x2f379e(0x200)],_0x483921=_0x1d04d2[_0x2f379e(0x1f9)][_0x2f379e(0x1d9)];_0x483921&&(this[_0x2f379e(0x1fa)](_0x483921),_0x1d04d2[_0x2f379e(0x1b5)](),_0x1d04d2[_0x2f379e(0x1f9)][_0x2f379e(0x195)]());}[_0x5bf171(0x1f3)](_0x1da4d3){const _0xa81e7a=_0x5bf171;this[_0xa81e7a(0x185)](_0x1da4d3,_0xa81e7a(0x184),()=>this[_0xa81e7a(0x1cc)]()),this[_0xa81e7a(0x185)](_0x1da4d3,_0xa81e7a(0x1fc),(_0x218ad6,_0x52fc76)=>{const _0x4f65c8=_0xa81e7a;this[_0x4f65c8(0x19a)][_0x4f65c8(0x1e2)](_0x1da4d3),this[_0x4f65c8(0x1d8)](),_0x52fc76();});}[_0x5bf171(0x1fa)](_0x184fdf){const _0x59d464=_0x5bf171;this[_0x59d464(0x1b2)](_0x184fdf);}}
|
|
@@ -80,6 +80,7 @@ export default class Sidebar extends ContextPlugin {
|
|
|
80
80
|
/**
|
|
81
81
|
* Refreshes sidebar items when one of the annotations is activated.
|
|
82
82
|
*
|
|
83
|
+
* @param options Configuration options.
|
|
83
84
|
* @param options.activatedAnnotation The activated annotation.
|
|
84
85
|
* @param options.blurredAnnotation The previously active annotation.
|
|
85
86
|
* @param options.disableAnimationOnActivatedAnnotation Disables animation on the activated annotation.
|