@ckeditor/ckeditor5-comments 47.6.0-alpha.4 → 47.6.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +19 -19
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x51444d=>{const {zh:{dictionary:_0x3628c7,getPluralForm:_0x36a451}}={'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':_0x507979=>0x0}};_0x51444d['zh']||={'dictionary':{},'getPluralForm':null},_0x51444d['zh']['dictionary']=Object['assign'](_0x51444d['zh']['dictionary'],_0x3628c7),_0x51444d['zh']['getPluralForm']=_0x36a451;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "47.6.0-alpha.
|
|
3
|
+
"version": "47.6.0-alpha.6",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -45,24 +45,24 @@
|
|
|
45
45
|
"CHANGELOG.md"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@ckeditor/ckeditor5-clipboard": "47.6.0-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-collaboration-core": "47.6.0-alpha.
|
|
50
|
-
"@ckeditor/ckeditor5-core": "47.6.0-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-engine": "47.6.0-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-enter": "47.6.0-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-icons": "47.6.0-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-paragraph": "47.6.0-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-revision-history": "47.6.0-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-select-all": "47.6.0-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-source-editing": "47.6.0-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-theme-lark": "47.6.0-alpha.
|
|
59
|
-
"@ckeditor/ckeditor5-typing": "47.6.0-alpha.
|
|
60
|
-
"@ckeditor/ckeditor5-ui": "47.6.0-alpha.
|
|
61
|
-
"@ckeditor/ckeditor5-undo": "47.6.0-alpha.
|
|
62
|
-
"@ckeditor/ckeditor5-utils": "47.6.0-alpha.
|
|
63
|
-
"@ckeditor/ckeditor5-widget": "47.6.0-alpha.
|
|
64
|
-
"ckeditor5": "47.6.0-alpha.
|
|
65
|
-
"ckeditor5-collaboration": "47.6.0-alpha.
|
|
48
|
+
"@ckeditor/ckeditor5-clipboard": "47.6.0-alpha.6",
|
|
49
|
+
"@ckeditor/ckeditor5-collaboration-core": "47.6.0-alpha.6",
|
|
50
|
+
"@ckeditor/ckeditor5-core": "47.6.0-alpha.6",
|
|
51
|
+
"@ckeditor/ckeditor5-engine": "47.6.0-alpha.6",
|
|
52
|
+
"@ckeditor/ckeditor5-enter": "47.6.0-alpha.6",
|
|
53
|
+
"@ckeditor/ckeditor5-icons": "47.6.0-alpha.6",
|
|
54
|
+
"@ckeditor/ckeditor5-paragraph": "47.6.0-alpha.6",
|
|
55
|
+
"@ckeditor/ckeditor5-revision-history": "47.6.0-alpha.6",
|
|
56
|
+
"@ckeditor/ckeditor5-select-all": "47.6.0-alpha.6",
|
|
57
|
+
"@ckeditor/ckeditor5-source-editing": "47.6.0-alpha.6",
|
|
58
|
+
"@ckeditor/ckeditor5-theme-lark": "47.6.0-alpha.6",
|
|
59
|
+
"@ckeditor/ckeditor5-typing": "47.6.0-alpha.6",
|
|
60
|
+
"@ckeditor/ckeditor5-ui": "47.6.0-alpha.6",
|
|
61
|
+
"@ckeditor/ckeditor5-undo": "47.6.0-alpha.6",
|
|
62
|
+
"@ckeditor/ckeditor5-utils": "47.6.0-alpha.6",
|
|
63
|
+
"@ckeditor/ckeditor5-widget": "47.6.0-alpha.6",
|
|
64
|
+
"ckeditor5": "47.6.0-alpha.6",
|
|
65
|
+
"ckeditor5-collaboration": "47.6.0-alpha.6",
|
|
66
66
|
"es-toolkit": "1.39.5"
|
|
67
67
|
},
|
|
68
68
|
"types": "src/index.d.ts",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x5920(){const _0x296a52=['innerView','4339008ZsQYvB','getClientRects','_getNormalizedTarget','412687ZAmsnk','244911DtpbRp','_assertCorrectTarget','isVisible','length','nodeType','3711820uopVkL','set','mainView','destroy','remove','904421nOORrH','clear','targetRect','_id','isArray','add','updateTargetRect','render','offsetParent','stopListening','isActive','element','18jfrinC','view','6oZvWty','target','_type','item','8ZAJjzp','_target','refreshVisibility','1555715SrRlUY','focusableElements','function','filter','object','focusTracker','annotation-invalid-target','type','every','23830sveUSA'];_0x5920=function(){return _0x296a52;};return _0x5920();}const _0xed4d6a=_0x3e92;function _0x3e92(_0x46305b,_0x1904ef){const _0x592075=_0x5920();return _0x3e92=function(_0x3e9213,_0x2f920b){_0x3e9213=_0x3e9213-0xf3;let _0x110ff7=_0x592075[_0x3e9213];return _0x110ff7;},_0x3e92(_0x46305b,_0x1904ef);}(function(_0x14d77f,_0x10834c){const _0x2b0cf7=_0x3e92,_0x43fb39=_0x14d77f();while(!![]){try{const _0x3881ff=-parseInt(_0x2b0cf7(0x11c))/0x1+parseInt(_0x2b0cf7(0x117))/0x2+-parseInt(_0x2b0cf7(0x11d))/0x3*(-parseInt(_0x2b0cf7(0x10b))/0x4)+parseInt(_0x2b0cf7(0x10e))/0x5+-parseInt(_0x2b0cf7(0x107))/0x6*(-parseInt(_0x2b0cf7(0xf9))/0x7)+-parseInt(_0x2b0cf7(0x119))/0x8+parseInt(_0x2b0cf7(0x105))/0x9*(parseInt(_0x2b0cf7(0xf4))/0xa);if(_0x3881ff===_0x10834c)break;else _0x43fb39['push'](_0x43fb39['shift']());}catch(_0x1e2bf1){_0x43fb39['push'](_0x43fb39['shift']());}}}(_0x5920,0x62594));import{CKEditorError as _0x11926e,Rect as _0x44f89c,Collection as _0x39aa66,ObservableMixin as _0x4c4779}from'ckeditor5/src/utils.js';export class Annotation extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4c4779(){[_0xed4d6a(0x106)];[_0xed4d6a(0x10f)];[_0xed4d6a(0x109)];[_0xed4d6a(0x10c)];constructor({view:_0x59e91f,target:_0x2b0de7,type:_0x347ae6,isVisible:_0x4fda72=!0x0}){const _0x46452b=_0xed4d6a;super(),this[_0x46452b(0x106)]=_0x59e91f,this[_0x46452b(0x106)][_0x46452b(0x104)]||this[_0x46452b(0x106)][_0x46452b(0x100)](),this[_0x46452b(0x109)]=_0x347ae6,this[_0x46452b(0x10c)]=_0x2b0de7,Annotation[_0x46452b(0x11e)](this[_0x46452b(0x11b)]()),this[_0x46452b(0x10f)]=new _0x39aa66([this[_0x46452b(0x106)][_0x46452b(0x104)]],{'idProperty':_0x46452b(0xfc)}),this[_0x46452b(0x10f)]['on'](_0x46452b(0xfe),(_0xbb09ba,_0x5a8d95)=>{const _0x2e766e=_0x46452b;this[_0x2e766e(0x106)][_0x2e766e(0x113)][_0x2e766e(0xfe)](_0x5a8d95);}),this[_0x46452b(0x10f)]['on'](_0x46452b(0xf8),(_0x2490b9,_0x429537)=>{const _0x1f8b35=_0x46452b;this[_0x1f8b35(0x106)][_0x1f8b35(0x113)][_0x1f8b35(0xf8)](_0x429537);}),this[_0x46452b(0xf5)](_0x46452b(0x11f),_0x4fda72);}get[_0xed4d6a(0x115)](){const _0x19eaf2=_0xed4d6a;return _0x19eaf2(0x110)==typeof this[_0x19eaf2(0x109)]?this[_0x19eaf2(0x109)]():this[_0x19eaf2(0x109)];}get[_0xed4d6a(0x118)](){const _0x5a5b78=_0xed4d6a;return this[_0x5a5b78(0x106)][_0x5a5b78(0xf6)];}get[_0xed4d6a(0x108)](){const _0x57b256=_0xed4d6a,_0x5b2f09=this[_0x57b256(0x11b)]();return Annotation[_0x57b256(0x11e)](_0x5b2f09),_0x5b2f09;}get[_0xed4d6a(0xfb)](){const _0x37ace9=_0xed4d6a,_0x2cb491=this[_0x37ace9(0x108)];if(null===_0x2cb491)return null;if(_0x2cb491 instanceof _0x44f89c)return _0x2cb491;const _0x5779fa=_0x2cb491[_0x37ace9(0x111)](_0x4a0746=>function(_0x32cb29){const _0x182450=_0x37ace9,_0x2d54b0=_0x32cb29[_0x182450(0x101)];if(_0x2d54b0)return!0x0;const _0xe35241=_0x32cb29[_0x182450(0x11a)]()[_0x182450(0x10a)](0x0);return!!_0xe35241;}(_0x4a0746));return 0x0===_0x5779fa[_0x37ace9(0x120)]?null:new _0x44f89c(_0x5779fa[0x0][_0x37ace9(0x11a)]()[_0x37ace9(0x10a)](0x0));}get[_0xed4d6a(0x103)](){const _0x370473=_0xed4d6a;return this[_0x370473(0x106)][_0x370473(0x103)];}set[_0xed4d6a(0x103)](_0x5a8874){const _0x3976be=_0xed4d6a;this[_0x3976be(0x106)][_0x3976be(0x103)]=_0x5a8874,this[_0x3976be(0x106)][_0x3976be(0xf6)][_0x3976be(0x103)]=_0x5a8874;}[_0xed4d6a(0xff)](){const _0x1082b9=_0xed4d6a;this[_0x1082b9(0x106)][_0x1082b9(0xfb)]=this[_0x1082b9(0xfb)];}[_0xed4d6a(0xf7)](){const _0xf312d0=_0xed4d6a;this[_0xf312d0(0x10f)][_0xf312d0(0x102)](),this[_0xf312d0(0x10f)][_0xf312d0(0xfa)](),this[_0xf312d0(0x102)]();}[_0xed4d6a(0x10d)](){const _0x2c29cb=_0xed4d6a;this[_0x2c29cb(0x11f)]=!!this[_0x2c29cb(0xfb)];}static[_0xed4d6a(0x11e)](_0x9bf248){const _0x569443=_0xed4d6a;if(!(null===_0x9bf248||_0x9bf248 instanceof _0x44f89c||Array[_0x569443(0xfd)](_0x9bf248)&&_0x9bf248[_0x569443(0x116)](_0x1e9ec4=>g(_0x1e9ec4))))throw new _0x11926e(_0x569443(0x114),null,{'target':_0x9bf248});}[_0xed4d6a(0x11b)](){const _0x3a4014=_0xed4d6a,_0x20a0ed=_0x3a4014(0x110)==typeof this[_0x3a4014(0x10c)]?this[_0x3a4014(0x10c)]():this[_0x3a4014(0x10c)];return g(_0x20a0ed)?[_0x20a0ed]:_0x20a0ed;}}function g(_0x40c042){const _0x1b0d66=_0xed4d6a;return null!==_0x40c042&&_0x1b0d66(0x112)==typeof _0x40c042&&_0x1b0d66(0xf3)in _0x40c042&&0x1===_0x40c042[_0x1b0d66(0xf3)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x74e4cf=_0x543f;function _0x543f(_0x565c56,_0x1f1584){const _0x5af941=_0x5af9();return _0x543f=function(_0x543ff6,_0x354650){_0x543ff6=_0x543ff6-0x116;let _0x1e502d=_0x5af941[_0x543ff6];return _0x1e502d;},_0x543f(_0x565c56,_0x1f1584);}(function(_0x47c50a,_0x186537){const _0x38925c=_0x543f,_0xa578b8=_0x47c50a();while(!![]){try{const _0x2b49d4=-parseInt(_0x38925c(0x135))/0x1+parseInt(_0x38925c(0x13d))/0x2*(parseInt(_0x38925c(0x126))/0x3)+-parseInt(_0x38925c(0x127))/0x4+parseInt(_0x38925c(0x12e))/0x5*(parseInt(_0x38925c(0x120))/0x6)+-parseInt(_0x38925c(0x130))/0x7+parseInt(_0x38925c(0x131))/0x8+parseInt(_0x38925c(0x12c))/0x9*(parseInt(_0x38925c(0x13f))/0xa);if(_0x2b49d4===_0x186537)break;else _0xa578b8['push'](_0xa578b8['shift']());}catch(_0x4fb19e){_0xa578b8['push'](_0xa578b8['shift']());}}}(_0x5af9,0x927a6));function _0x5af9(){const _0xfd396=['19213884WSuKtd','blur','724610BYggMr','remove','5917485AykkjL','6165776BjLLuj','fire','getIndex','_getOrderInContent','898476IBEBnj','_viewToAnnotation','refreshPositioning','stopListening','has','change:isFocused','innerView','focusableElements','2PLmpzI','left','10RpRRlF','_focusTracker','top','targetRect','focus','destroy','from','_sort','annotationcollection-not-existing-item','getByInnerView','add','view','length','isFocused','clear','delete','12jNUkJp','sort','set','annotationcollection-duplicated-item','updateTargetRect','getByView','13407MFNvhY','3424424yTPewW','get','_innerViewToAnnotation','focusTracker','listenTo'];_0x5af9=function(){return _0xfd396;};return _0x5af9();}import{CKEditorError as _0x5bd331,Collection as _0x15b539,FocusTracker as _0x1f14a5}from'ckeditor5/src/utils.js';export class AnnotationCollection extends _0x15b539{[_0x74e4cf(0x129)];[_0x74e4cf(0x136)];[_0x74e4cf(0x140)];constructor(_0x31f2f0=[]){const _0x8f3268=_0x74e4cf;super(),this[_0x8f3268(0x129)]=new Map(),this[_0x8f3268(0x136)]=new Map(),this[_0x8f3268(0x140)]=new _0x1f14a5(),this[_0x8f3268(0x140)]['on'](_0x8f3268(0x13a),(_0x2df9f4,_0x16e99e,_0xe9ea82)=>{const _0xd58b50=_0x8f3268;_0xe9ea82||this[_0xd58b50(0x132)](_0xd58b50(0x12d));});for(const _0x2cf7d6 of _0x31f2f0)this[_0x8f3268(0x11a)](_0x2cf7d6);}get[_0x74e4cf(0x11d)](){const _0x5310ce=_0x74e4cf;return this[_0x5310ce(0x140)][_0x5310ce(0x11d)];}[_0x74e4cf(0x11a)](_0x41775e){const _0x5aceda=_0x74e4cf;if(this[_0x5aceda(0x139)](_0x41775e))throw new _0x5bd331(_0x5aceda(0x123),null);this[_0x5aceda(0x129)][_0x5aceda(0x122)](_0x41775e[_0x5aceda(0x13b)],_0x41775e),this[_0x5aceda(0x136)][_0x5aceda(0x122)](_0x41775e[_0x5aceda(0x11b)],_0x41775e);for(const _0x324b27 of _0x41775e[_0x5aceda(0x13c)])this[_0x5aceda(0x140)][_0x5aceda(0x11a)](_0x324b27);this[_0x5aceda(0x12b)](_0x41775e[_0x5aceda(0x13c)],_0x5aceda(0x11a),(_0x489b59,_0x1f727f)=>{const _0x49b281=_0x5aceda;this[_0x49b281(0x140)][_0x49b281(0x11a)](_0x1f727f);}),this[_0x5aceda(0x12b)](_0x41775e[_0x5aceda(0x13c)],_0x5aceda(0x12f),(_0x261072,_0x19ed5a)=>{const _0x20c071=_0x5aceda;this[_0x20c071(0x140)][_0x20c071(0x12f)](_0x19ed5a);}),this[_0x5aceda(0x12b)](_0x41775e[_0x5aceda(0x11b)][_0x5aceda(0x12a)],_0x5aceda(0x13a),(_0x15dce5,_0x36e887,_0x16d4db)=>{const _0xcd6709=_0x5aceda;_0x16d4db&&this[_0xcd6709(0x132)](_0xcd6709(0x143),_0x41775e);}),_0x41775e[_0x5aceda(0x124)]();const _0x15d451=this[_0x5aceda(0x134)](_0x41775e[_0x5aceda(0x11b)][_0x5aceda(0x142)]);return super[_0x5aceda(0x11a)](_0x41775e,_0x15d451);}[_0x74e4cf(0x12f)](_0xc1b048){const _0x412f4c=_0x74e4cf;if(!this[_0x412f4c(0x139)](_0xc1b048))throw new _0x5bd331(_0x412f4c(0x118),null);this[_0x412f4c(0x138)](_0xc1b048[_0x412f4c(0x11b)][_0x412f4c(0x12a)]),this[_0x412f4c(0x138)](_0xc1b048[_0x412f4c(0x13c)]);for(const _0x639cff of _0xc1b048[_0x412f4c(0x13c)])this[_0x412f4c(0x140)][_0x412f4c(0x12f)](_0x639cff);return this[_0x412f4c(0x136)][_0x412f4c(0x11f)](_0xc1b048[_0x412f4c(0x11b)]),this[_0x412f4c(0x129)][_0x412f4c(0x11f)](_0xc1b048[_0x412f4c(0x13b)]),super[_0x412f4c(0x12f)](_0xc1b048);}[_0x74e4cf(0x119)](_0x3add47){const _0xd20e19=_0x74e4cf;return this[_0xd20e19(0x129)][_0xd20e19(0x128)](_0x3add47);}[_0x74e4cf(0x125)](_0x1aec57){const _0x5b08d2=_0x74e4cf;return this[_0x5b08d2(0x136)][_0x5b08d2(0x128)](_0x1aec57);}[_0x74e4cf(0x144)](){const _0x468198=_0x74e4cf;super[_0x468198(0x11e)](),this[_0x468198(0x138)](),this[_0x468198(0x129)][_0x468198(0x11e)](),this[_0x468198(0x136)][_0x468198(0x11e)](),this[_0x468198(0x140)][_0x468198(0x144)]();}[_0x74e4cf(0x137)](){const _0x224119=_0x74e4cf;for(const _0x5c94ad of this)_0x5c94ad[_0x224119(0x124)]();this[_0x224119(0x117)]();}[_0x74e4cf(0x117)](){const _0x432ce8=_0x74e4cf,_0x7aaa5c=Array[_0x432ce8(0x116)](this)[_0x432ce8(0x121)]((_0x3ecc1f,_0x1a7fe2)=>w(_0x3ecc1f[_0x432ce8(0x11b)][_0x432ce8(0x142)],_0x1a7fe2[_0x432ce8(0x11b)][_0x432ce8(0x142)]));for(let _0x511d55=_0x7aaa5c[_0x432ce8(0x11c)]-0x1;_0x511d55>0x0;_0x511d55--){const _0x4525d6=_0x7aaa5c[_0x511d55];_0x511d55!==this[_0x432ce8(0x133)](_0x4525d6)&&(this[_0x432ce8(0x12f)](_0x4525d6),this[_0x432ce8(0x11a)](_0x4525d6));}}[_0x74e4cf(0x134)](_0x199cdc){const _0x3c27f4=_0x74e4cf;let _0x476b20=0x0;if(!_0x199cdc)return this[_0x3c27f4(0x11c)];for(const _0x556505 of this){const _0x445119=_0x556505[_0x3c27f4(0x11b)][_0x3c27f4(0x142)];if(_0x445119){if(w(_0x199cdc,_0x445119)<0x0)return _0x476b20;_0x476b20++;}}return _0x476b20;}}export function bindAnnotationCollections({source:_0x55f43c,target:_0x2c214f,filter:_0xdf839e}){const _0x1424d7=_0x74e4cf;for(const _0x2cbac3 of _0x55f43c)_0xdf839e(_0x2cbac3)&&_0x2c214f[_0x1424d7(0x11a)](_0x2cbac3);_0x2c214f[_0x1424d7(0x12b)](_0x55f43c,_0x1424d7(0x11a),(_0x4aabdc,_0x13b23d)=>{const _0x13b887=_0x1424d7;_0xdf839e(_0x13b23d)&&_0x2c214f[_0x13b887(0x11a)](_0x13b23d);}),_0x2c214f[_0x1424d7(0x12b)](_0x55f43c,_0x1424d7(0x12f),(_0x47cc9f,_0x5b14cc)=>{const _0x5c62f9=_0x1424d7;_0x2c214f[_0x5c62f9(0x139)](_0x5b14cc)&&_0x2c214f[_0x5c62f9(0x12f)](_0x5b14cc);});}function w(_0x58389c,_0x5e431a){const _0x268d59=_0x74e4cf;if(null===_0x58389c&&null===_0x5e431a)return 0x0;if(null===_0x58389c)return-0x1;if(null===_0x5e431a)return 0x1;const _0xab5506=_0x58389c[_0x268d59(0x141)]-_0x5e431a[_0x268d59(0x141)];return 0x0==_0xab5506?_0x58389c[_0x268d59(0x13e)]-_0x5e431a[_0x268d59(0x13e)]:_0xab5506;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x405c(_0x1dde56,_0xa22480){const _0x4be95f=_0x4be9();return _0x405c=function(_0x405c8d,_0x25a6c8){_0x405c8d=_0x405c8d-0x12b;let _0x4a81b3=_0x4be95f[_0x405c8d];return _0x4a81b3;},_0x405c(_0x1dde56,_0xa22480);}const _0x325567=_0x405c;(function(_0x18f68e,_0x1d5267){const _0x360268=_0x405c,_0x5619d6=_0x18f68e();while(!![]){try{const _0x4f1d62=-parseInt(_0x360268(0x16a))/0x1*(parseInt(_0x360268(0x171))/0x2)+-parseInt(_0x360268(0x12b))/0x3+parseInt(_0x360268(0x161))/0x4*(parseInt(_0x360268(0x13c))/0x5)+-parseInt(_0x360268(0x12e))/0x6*(parseInt(_0x360268(0x179))/0x7)+-parseInt(_0x360268(0x164))/0x8+-parseInt(_0x360268(0x14c))/0x9+parseInt(_0x360268(0x12d))/0xa;if(_0x4f1d62===_0x1d5267)break;else _0x5619d6['push'](_0x5619d6['shift']());}catch(_0x201021){_0x5619d6['push'](_0x5619d6['shift']());}}}(_0x4be9,0xa22f1));function _0x4be9(){const _0x2977a0=['listenTo','createAnnotation','_activateAnnotation','7ZIzlRD','239661PBnYIU','escape','34318440VqXMKg','6998154bPOxaQ','editors','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP','push','editing','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT','values','_deactivateAllAnnotations','accessibility','addKeystrokeInfoGroup','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO','delete','contains','_removeActiveAnnotation','3365npnrll','change:isVisible','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS','isVisible','deactivateAll','pluginName','_setupEscapeAnnotationHandling','activeAnnotations','Enter','createAnnotationView','activate','element','isOfficialPlugin','_visibleAnnotations','fire','context','8779725PNOxuh','refreshPositioning','domRoots','collection','isArray','Ctrl+Enter','focus','Arrowdown','source','Annotations','remove','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS','ready','isPremiumPlugin','target','destroy','Esc','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER','Arrowup','_addActiveAnnotation','Shift+Tab','5092ZAxAIz','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT','keystrokes','4633064gfCkIw','stopListening','_bindAnnotationsToVisibleAnnotations','add','_setupEnterAnnotationKeystroke','getByInnerView','43JTdooz','set','has','Ctrl+Shift+E','low','focusTracker','locale','38296EPfOat','annotations','view','Tab','refreshVisibility'];_0x4be9=function(){return _0x2977a0;};return _0x4be9();}import{ContextPlugin as _0x684eb3,Editor as _0x2ac632}from'ckeditor5/src/core.js';import{first as _0xa70b08}from'ckeditor5/src/utils.js';import{Annotation as _0x4c7109}from'./annotation.js';import{AnnotationCollection as _0x15559a}from'./annotationcollection.js';import{AnnotationView as _0x1e7e4a}from'./view/annotationview.js';import{getTranslation as _0x1ad913}from'../utils/common-translations.js';import{FOCUS_ANNOTATION_KEYSTROKE as _0x2cceb0}from'@ckeditor/ckeditor5-collaboration-core';export class Annotations extends _0x684eb3{[_0x325567(0x14f)];[_0x325567(0x149)];static get[_0x325567(0x141)](){const _0x803b96=_0x325567;return _0x803b96(0x155);}static get[_0x325567(0x148)](){return!0x0;}static get[_0x325567(0x159)](){return!0x0;}constructor(_0x414891){const _0x22e35e=_0x325567;if(super(_0x414891),this[_0x22e35e(0x14f)]=new _0x15559a(),this[_0x22e35e(0x149)]=new _0x15559a(),this[_0x22e35e(0x16b)](_0x22e35e(0x143),new Set()),this[_0x22e35e(0x166)](),_0x414891 instanceof _0x2ac632){const _0x44c56d=_0x414891[_0x22e35e(0x170)];_0x414891[_0x22e35e(0x136)][_0x22e35e(0x137)]({'id':_0x22e35e(0x172),'label':_0x1ad913(_0x44c56d,_0x22e35e(0x130)),'keystrokes':[{'label':_0x1ad913(_0x44c56d,_0x22e35e(0x138)),'keystroke':_0x22e35e(0x16d)},{'label':_0x1ad913(_0x44c56d,_0x22e35e(0x162)),'keystroke':_0x22e35e(0x15c)},{'label':_0x1ad913(_0x44c56d,_0x22e35e(0x15d)),'keystroke':_0x22e35e(0x144)},{'label':_0x1ad913(_0x44c56d,_0x22e35e(0x157)),'keystroke':[[_0x22e35e(0x174)],[_0x22e35e(0x160)]]},{'label':_0x1ad913(_0x44c56d,_0x22e35e(0x133)),'keystroke':[_0x22e35e(0x151)]},{'label':_0x1ad913(_0x44c56d,_0x22e35e(0x13e)),'keystroke':[[_0x22e35e(0x15e)],[_0x22e35e(0x153)]]}]});}this[_0x22e35e(0x168)](),this[_0x22e35e(0x142)]();}[_0x325567(0x167)](_0x1e1fde){const _0x10097b=_0x325567;this[_0x10097b(0x14f)][_0x10097b(0x167)](_0x1e1fde);}[_0x325567(0x156)](_0x5a0f71){const _0x12ad09=_0x325567;this[_0x12ad09(0x14f)][_0x12ad09(0x156)](_0x5a0f71),_0x5a0f71[_0x12ad09(0x15b)]();}[_0x325567(0x175)](){const _0x95d144=_0x325567;for(const _0x1c1a6b of this[_0x95d144(0x14f)])_0x1c1a6b[_0x95d144(0x175)]();}[_0x325567(0x14d)](){const _0xf0768d=_0x325567;this[_0xf0768d(0x149)][_0xf0768d(0x14d)]();}[_0x325567(0x169)](_0x1c48a7){const _0x41e1e2=_0x325567;return this[_0x41e1e2(0x14f)][_0x41e1e2(0x169)](_0x1c48a7);}[_0x325567(0x140)](){const _0x51be2f=_0x325567;this[_0x51be2f(0x14a)](_0x51be2f(0x135));}[_0x325567(0x15b)](){const _0x14d560=_0x325567;for(const _0x3ed111 of this[_0x14d560(0x14f)])_0x3ed111[_0x14d560(0x15b)]();this[_0x14d560(0x149)][_0x14d560(0x15b)](),this[_0x14d560(0x14f)][_0x14d560(0x15b)](),super[_0x14d560(0x15b)]();}[_0x325567(0x146)](_0xb82d7a){const _0x3b148b=_0x325567;this[_0x3b148b(0x14a)](_0x3b148b(0x178),_0xb82d7a);}[_0x325567(0x177)](_0x541be9){return new _0x4c7109(_0x541be9);}[_0x325567(0x145)](_0x56b46d,_0x3b98f8){return new _0x1e7e4a(_0x56b46d,_0x3b98f8);}[_0x325567(0x15f)](_0x259666){const _0x3e7dec=_0x325567,_0x306972=new Set(this[_0x3e7dec(0x143)]);_0x306972[_0x3e7dec(0x167)](_0x259666),this[_0x3e7dec(0x143)]=_0x306972;}[_0x325567(0x13b)](_0x39d7d){const _0x2868a2=_0x325567,_0x36fb93=new Set(this[_0x2868a2(0x143)]);_0x36fb93[_0x2868a2(0x139)](_0x39d7d),this[_0x2868a2(0x143)]=_0x36fb93;}[_0x325567(0x166)](){const _0x1cb001=_0x325567,_0x2151b2=this[_0x1cb001(0x14f)],_0x1b68d6=this[_0x1cb001(0x149)];function _0x41f497(_0x399486){const _0x153ea5=_0x1cb001,_0x5bb875=_0x399486[_0x153ea5(0x154)];_0x5bb875[_0x153ea5(0x13f)]&&!_0x1b68d6[_0x153ea5(0x16c)](_0x5bb875)?_0x1b68d6[_0x153ea5(0x167)](_0x5bb875):!_0x5bb875[_0x153ea5(0x13f)]&&_0x1b68d6[_0x153ea5(0x16c)](_0x5bb875)&&_0x1b68d6[_0x153ea5(0x156)](_0x5bb875),_0x5bb875[_0x153ea5(0x173)][_0x153ea5(0x16f)][_0x153ea5(0x156)](_0x5bb875[_0x153ea5(0x173)][_0x153ea5(0x147)]),_0x5bb875[_0x153ea5(0x173)][_0x153ea5(0x16f)][_0x153ea5(0x167)](_0x5bb875[_0x153ea5(0x173)][_0x153ea5(0x147)]);}this[_0x1cb001(0x176)](_0x2151b2,_0x1cb001(0x167),(_0x39593d,_0x67b7f7)=>{const _0x19ea86=_0x1cb001;_0x67b7f7[_0x19ea86(0x13f)]&&_0x1b68d6[_0x19ea86(0x167)](_0x67b7f7),this[_0x19ea86(0x176)](_0x67b7f7,_0x19ea86(0x13d),_0x41f497);}),this[_0x1cb001(0x176)](_0x2151b2,_0x1cb001(0x156),(_0x3512f1,_0x1a1e84)=>{const _0xc05892=_0x1cb001;_0x1b68d6[_0xc05892(0x16c)](_0x1a1e84)&&_0x1b68d6[_0xc05892(0x156)](_0x1a1e84),this[_0xc05892(0x165)](_0x1a1e84,_0xc05892(0x13d),_0x41f497);});}[_0x325567(0x168)](){const _0x3980f8=_0x325567,_0x2255e6=_0x15120c=>{const _0x515e06=_0x405c;_0x15120c['on'](_0x515e06(0x158),()=>{const _0x40ec43=_0x515e06;_0x15120c[_0x40ec43(0x163)][_0x40ec43(0x16b)](_0x2cceb0,(_0x2f517e,_0x23aec2)=>{const _0xa088bb=_0x40ec43,_0x56389b=_0xa70b08(this[_0xa088bb(0x143)][_0xa088bb(0x134)]());_0x56389b&&(_0x56389b[_0xa088bb(0x173)][_0xa088bb(0x152)](),_0x23aec2());});});};this[_0x3980f8(0x14b)]instanceof _0x2ac632?_0x2255e6(this[_0x3980f8(0x14b)]):this[_0x3980f8(0x14b)][_0x3980f8(0x12f)]&&this[_0x3980f8(0x14b)][_0x3980f8(0x12f)]['on'](_0x3980f8(0x167),(_0xc7388b,_0x37a7b7)=>{_0x2255e6(_0x37a7b7);});}[_0x325567(0x142)](){const _0x13cdf6=_0x325567,_0xf2bdb4=_0x521360=>{const _0x3f51dd=_0x405c,_0x3e3e0c=_0x521360[_0x3f51dd(0x154)],_0x4c56d7=[];let _0x1bf554;if(Array[_0x3f51dd(0x150)](_0x3e3e0c[_0x3f51dd(0x15a)])){_0x1bf554=_0x3e3e0c[_0x3f51dd(0x15a)][0x0],this[_0x3f51dd(0x14b)]instanceof _0x2ac632?_0x4c56d7[_0x3f51dd(0x131)](this[_0x3f51dd(0x14b)]):this[_0x3f51dd(0x14b)][_0x3f51dd(0x12f)]&&_0x4c56d7[_0x3f51dd(0x131)](...this[_0x3f51dd(0x14b)][_0x3f51dd(0x12f)]);for(const _0x3c8b89 of _0x4c56d7)for(const _0x425a4d of _0x3c8b89[_0x3f51dd(0x132)][_0x3f51dd(0x173)][_0x3f51dd(0x14e)][_0x3f51dd(0x134)]())if(_0x425a4d[_0x3f51dd(0x13a)](_0x1bf554))return void _0x3c8b89[_0x3f51dd(0x132)][_0x3f51dd(0x173)][_0x3f51dd(0x152)]();_0x1bf554[_0x3f51dd(0x152)]();}};this[_0x13cdf6(0x176)](this[_0x13cdf6(0x14f)],_0x13cdf6(0x167),(_0x2449cf,_0x3c4557)=>{const _0x139846=_0x13cdf6;this[_0x139846(0x176)](_0x3c4557,_0x139846(0x12c),_0xf2bdb4,{'priority':_0x139846(0x16e)});}),this[_0x13cdf6(0x176)](this[_0x13cdf6(0x14f)],_0x13cdf6(0x156),(_0x5d739f,_0x432ae9)=>{const _0x13847d=_0x13cdf6;this[_0x13847d(0x165)](_0x432ae9,_0x13847d(0x12c),_0xf2bdb4);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3843(_0x53e50c,_0x39f23c){const _0x5061b7=_0x5061();return _0x3843=function(_0x3843c3,_0x428e9e){_0x3843c3=_0x3843c3-0x13e;let _0x38f699=_0x5061b7[_0x3843c3];return _0x38f699;},_0x3843(_0x53e50c,_0x39f23c);}const _0x560be4=_0x3843;(function(_0x8b7894,_0x19dba7){const _0x13b21e=_0x3843,_0x42aa91=_0x8b7894();while(!![]){try{const _0x16e995=parseInt(_0x13b21e(0x17e))/0x1*(-parseInt(_0x13b21e(0x15b))/0x2)+parseInt(_0x13b21e(0x165))/0x3+-parseInt(_0x13b21e(0x16f))/0x4*(-parseInt(_0x13b21e(0x16c))/0x5)+parseInt(_0x13b21e(0x168))/0x6+-parseInt(_0x13b21e(0x156))/0x7*(parseInt(_0x13b21e(0x17c))/0x8)+parseInt(_0x13b21e(0x143))/0x9+parseInt(_0x13b21e(0x14a))/0xa*(-parseInt(_0x13b21e(0x178))/0xb);if(_0x16e995===_0x19dba7)break;else _0x42aa91['push'](_0x42aa91['shift']());}catch(_0x3aa4ef){_0x42aa91['push'](_0x42aa91['shift']());}}}(_0x5061,0xa6876));import{ContextPlugin as _0x14f9d1}from'ckeditor5/src/core.js';function _0x5061(){const _0x3ce643=['annotationsuis-annotation-mismatch','_assertAnnotationDoesNotBelongToMultipleUIs','_removeActiveAnnotation','6422751vlyYYP','from','type','collection','remove','annotationsuis-register-invalid-interface','switchTo','1596440ICRRWP','_uis','_addActiveAnnotation','plugins','refilterAnnotations','deactivateAll','add','hasActive','listenTo','register','delete','activate','1949997xsjFWf','isActive','_deactivateAllAnnotations','change:activeAnnotation','isPremiumPlugin','8OfOnxC','get','stopListening','detach','defaultFilter','function','activeAnnotations','_activateAnnotation','_setSelectedAnnotations','attach','2278866WBgvlP','set','annotationsuis-missing-ui','4667640BtQIds','AnnotationsUIs','pluginName','destroy','5bORFyb','setActiveAnnotation','uisData','4403896mjjWmp','find','length','size','context','activeUIs','deactivate','has','push','33kAzqIy','annotationsuis-register-already-registered','requires','_visibleAnnotations','24yPrqhH','init','338857lhsxlU','filter','isOfficialPlugin'];_0x5061=function(){return _0x3ce643;};return _0x5061();}import{CKEditorError as _0x4ae496}from'ckeditor5/src/utils.js';import{AnnotationCollection as _0x27f785,bindAnnotationCollections as _0xc95ac}from'./annotationcollection.js';import{Annotations as _0x5a3497}from'./annotations.js';export class AnnotationsUIs extends _0x14f9d1{[_0x560be4(0x174)];[_0x560be4(0x16e)];[_0x560be4(0x14b)];static get[_0x560be4(0x17a)](){return[_0x5a3497];}static get[_0x560be4(0x16a)](){const _0x16812d=_0x560be4;return _0x16812d(0x169);}static get[_0x560be4(0x13f)](){return!0x0;}static get[_0x560be4(0x15a)](){return!0x0;}constructor(_0x4ad815){const _0x3c4a20=_0x560be4;super(_0x4ad815),this[_0x3c4a20(0x174)]=new Set(),this[_0x3c4a20(0x14b)]=new Map(),this[_0x3c4a20(0x16e)]=new Map();}[_0x560be4(0x17d)](){const _0x3cc7a3=_0x560be4,_0x4cbb7d=this[_0x3cc7a3(0x173)][_0x3cc7a3(0x14d)][_0x3cc7a3(0x15c)](_0x5a3497);this[_0x3cc7a3(0x152)](_0x4cbb7d,_0x3cc7a3(0x162),(_0x5c3641,_0x3b32ec)=>{const _0x5aad96=_0x3cc7a3;for(const _0xed2010 of this[_0x5aad96(0x174)]){const _0x49f04f=this[_0x5aad96(0x14b)][_0x5aad96(0x15c)](_0xed2010);(0x0,this[_0x5aad96(0x16e)][_0x5aad96(0x15c)](_0xed2010)[_0x5aad96(0x13e)])(_0x3b32ec)&&_0x49f04f[_0x5aad96(0x16d)](_0x3b32ec);}}),this[_0x3cc7a3(0x152)](_0x4cbb7d,_0x3cc7a3(0x158),()=>{const _0x46904a=_0x3cc7a3;for(const _0x344fcb of this[_0x46904a(0x174)]){this[_0x46904a(0x14b)][_0x46904a(0x15c)](_0x344fcb)[_0x46904a(0x16d)](null);}}),this[_0x3cc7a3(0x152)](_0x4cbb7d[_0x3cc7a3(0x17b)],_0x3cc7a3(0x150),(_0x16211f,_0x28a62b)=>{const _0xdf00a=_0x3cc7a3;this[_0xdf00a(0x141)](_0x28a62b);});}[_0x560be4(0x151)](){const _0x122494=_0x560be4;return this[_0x122494(0x174)][_0x122494(0x172)]>0x0;}[_0x560be4(0x157)](_0x4c7572){const _0x58a4b5=_0x560be4;return this[_0x58a4b5(0x174)][_0x58a4b5(0x176)](_0x4c7572);}[_0x560be4(0x155)](_0x15ed71,_0x4e3b99=this[_0x560be4(0x15f)]){const _0x26a7cf=_0x560be4,_0x48934e=this[_0x26a7cf(0x173)][_0x26a7cf(0x14d)][_0x26a7cf(0x15c)](_0x5a3497);if(!this[_0x26a7cf(0x14b)][_0x26a7cf(0x176)](_0x15ed71))throw new _0x4ae496(_0x26a7cf(0x167),this,{'uiName':_0x15ed71});this[_0x26a7cf(0x157)](_0x15ed71)&&this[_0x26a7cf(0x175)](_0x15ed71),this[_0x26a7cf(0x174)][_0x26a7cf(0x150)](_0x15ed71);const _0x58ed67=new _0x27f785(),_0x90eb28=_0x48934e[_0x26a7cf(0x17b)];_0xc95ac({'source':_0x90eb28,'target':_0x58ed67,'filter':_0x4e3b99}),this[_0x26a7cf(0x16e)][_0x26a7cf(0x166)](_0x15ed71,{'collection':_0x58ed67,'filter':_0x4e3b99});const _0x36755b=this[_0x26a7cf(0x14b)][_0x26a7cf(0x15c)](_0x15ed71);_0x36755b[_0x26a7cf(0x164)](_0x58ed67),this[_0x26a7cf(0x152)](_0x36755b,_0x26a7cf(0x159),(_0x44438f,_0x1325f0,_0x568490,_0x587fc4)=>{const _0x4f62fd=_0x26a7cf;_0x587fc4&&_0x48934e[_0x4f62fd(0x142)](_0x587fc4),_0x568490&&_0x48934e[_0x4f62fd(0x14c)](_0x568490);});}[_0x560be4(0x175)](_0xd871a){const _0x4321d3=_0x560be4;if(this[_0x4321d3(0x174)][_0x4321d3(0x154)](_0xd871a),!this[_0x4321d3(0x14b)][_0x4321d3(0x176)](_0xd871a))throw new _0x4ae496(_0x4321d3(0x167),this,{'uiName':_0xd871a});const _0x545861=this[_0x4321d3(0x14b)][_0x4321d3(0x15c)](_0xd871a);_0x545861[_0x4321d3(0x15e)](),this[_0x4321d3(0x15d)](_0x545861),this[_0x4321d3(0x16e)][_0x4321d3(0x15c)](_0xd871a)[_0x4321d3(0x146)][_0x4321d3(0x16b)](),this[_0x4321d3(0x16e)][_0x4321d3(0x154)](_0xd871a);}[_0x560be4(0x149)](_0x1392ce){const _0x411278=_0x560be4;if(!this[_0x411278(0x14b)][_0x411278(0x176)](_0x1392ce))throw new _0x4ae496(_0x411278(0x167),this,{'uiName':_0x1392ce});const _0x238692=this[_0x411278(0x173)][_0x411278(0x14d)][_0x411278(0x15c)](_0x5a3497),_0x527b2e=Array[_0x411278(0x144)](_0x238692[_0x411278(0x161)])[0x0]||null;this[_0x411278(0x14f)](),this[_0x411278(0x155)](_0x1392ce);const _0xbb89a1=this[_0x411278(0x14b)][_0x411278(0x15c)](_0x1392ce);_0xbb89a1[_0x411278(0x16d)](_0x527b2e),_0xbb89a1[_0x411278(0x163)]&&_0x527b2e&&_0xbb89a1[_0x411278(0x163)]([_0x527b2e]);}[_0x560be4(0x14f)](){const _0xc67d6b=_0x560be4;for(const _0xac55f0 of this[_0xc67d6b(0x174)])this[_0xc67d6b(0x175)](_0xac55f0);}[_0x560be4(0x153)](_0x3bd3d6,_0x3f174c){const _0x9d8642=_0x560be4;if(this[_0x9d8642(0x14b)][_0x9d8642(0x176)](_0x3bd3d6))throw new _0x4ae496(_0x9d8642(0x179));if(_0x9d8642(0x160)!=typeof _0x3f174c[_0x9d8642(0x164)]||_0x9d8642(0x160)!=typeof _0x3f174c[_0x9d8642(0x15e)]||_0x9d8642(0x160)!=typeof _0x3f174c[_0x9d8642(0x16d)])throw new _0x4ae496(_0x9d8642(0x148),null);this[_0x9d8642(0x14b)][_0x9d8642(0x166)](_0x3bd3d6,_0x3f174c);}[_0x560be4(0x14e)](){const _0x9b5262=_0x560be4,_0x28e0f1=this[_0x9b5262(0x173)][_0x9b5262(0x14d)][_0x9b5262(0x15c)](_0x5a3497)[_0x9b5262(0x146)],_0x26b080=new Map(),_0x500f47=Array[_0x9b5262(0x144)](this[_0x9b5262(0x174)]);for(const _0x4635b7 of this[_0x9b5262(0x174)]){const _0x508415=this[_0x9b5262(0x16e)][_0x9b5262(0x15c)](_0x4635b7)[_0x9b5262(0x146)];for(const _0x1a1dce of _0x508415)_0x26b080[_0x9b5262(0x166)](_0x1a1dce,_0x4635b7);}for(const _0x3179e8 of _0x28e0f1){const _0x3b91fb=_0x26b080[_0x9b5262(0x15c)](_0x3179e8);this[_0x9b5262(0x141)](_0x3179e8);const _0x351eff=_0x500f47[_0x9b5262(0x170)](_0x46b455=>this[_0x9b5262(0x16e)][_0x9b5262(0x15c)](_0x46b455)[_0x9b5262(0x13e)](_0x3179e8));_0x3b91fb!==_0x351eff&&(_0x3b91fb&&this[_0x9b5262(0x16e)][_0x9b5262(0x15c)](_0x3b91fb)[_0x9b5262(0x146)][_0x9b5262(0x147)](_0x3179e8),_0x351eff&&this[_0x9b5262(0x16e)][_0x9b5262(0x15c)](_0x351eff)[_0x9b5262(0x146)][_0x9b5262(0x150)](_0x3179e8));}}[_0x560be4(0x16b)](){const _0x5cfe90=_0x560be4;this[_0x5cfe90(0x14f)](),super[_0x5cfe90(0x16b)]();}[_0x560be4(0x15f)](){return!0x0;}[_0x560be4(0x141)](_0x4527cb){const _0x126b5f=_0x560be4,_0x53527c=[];for(const _0x333dfb of this[_0x126b5f(0x174)]){(0x0,this[_0x126b5f(0x16e)][_0x126b5f(0x15c)](_0x333dfb)[_0x126b5f(0x13e)])(_0x4527cb)&&_0x53527c[_0x126b5f(0x177)](_0x333dfb);}if(_0x53527c[_0x126b5f(0x171)]>0x1)throw new _0x4ae496(_0x126b5f(0x140),null,{'matchedUIs':_0x53527c,'annotationType':_0x4527cb[_0x126b5f(0x145)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x215f(){const _0x5c4ad3=['sort','get','set','51608phEGMa','refreshSelectedViews','from','add','_editorAnnotationsData','_editorAnnotations','collection','delete','document','editing','innerView','view','annotation','864WUUMyA','blur','isEqual','editorannotations-invalid-source-callback','getRanges','140TbsHqO','addSourceCollector','function','586540gpKvYp','isPremiumPlugin','cancel','containsRange','directChange','isOfficialPlugin','isCollapsed','focusTracker','2xqzByF','init','pluginName','registerAnnotation','listenTo','getByInnerView','requires','editor','remove','has','818697kWRDMb','EditorAnnotations','model','158059KvlKkK','map','231VYxpij','change:isFocused','range','8230nSQgPS','getOrderedSelectedAnnotations','element','_dataCollectors','fire','hasDomSelection','selection','37672DtVgKO','plugins','push','uiUpdate','change:range','update','301689cpWdOa','refresh'];_0x215f=function(){return _0x5c4ad3;};return _0x215f();}const _0x1cedd8=_0x5ca3;function _0x5ca3(_0x345d1f,_0x3a3888){const _0x215f39=_0x215f();return _0x5ca3=function(_0x5ca304,_0x2c4a5f){_0x5ca304=_0x5ca304-0x150;let _0x1fd038=_0x215f39[_0x5ca304];return _0x1fd038;},_0x5ca3(_0x345d1f,_0x3a3888);}(function(_0x4d041f,_0x37ccca){const _0x257c20=_0x5ca3,_0x201ee5=_0x4d041f();while(!![]){try{const _0x4c5b7a=-parseInt(_0x257c20(0x16d))/0x1+-parseInt(_0x257c20(0x154))/0x2*(-parseInt(_0x257c20(0x15e))/0x3)+parseInt(_0x257c20(0x18d))/0x4+-parseInt(_0x257c20(0x166))/0x5*(parseInt(_0x257c20(0x185))/0x6)+parseInt(_0x257c20(0x163))/0x7*(-parseInt(_0x257c20(0x178))/0x8)+parseInt(_0x257c20(0x173))/0x9+parseInt(_0x257c20(0x18a))/0xa*(parseInt(_0x257c20(0x161))/0xb);if(_0x4c5b7a===_0x37ccca)break;else _0x201ee5['push'](_0x201ee5['shift']());}catch(_0x2d599c){_0x201ee5['push'](_0x201ee5['shift']());}}}(_0x215f,0x28af2));import{Plugin as _0x2df168}from'ckeditor5/src/core.js';import{CKEditorError as _0x47ac23}from'ckeditor5/src/utils.js';import{debounce as _0xfcfc6d}from'es-toolkit/compat';import{Annotations as _0x5c0975}from'./annotations.js';export class EditorAnnotations extends _0x2df168{[_0x1cedd8(0x169)];[_0x1cedd8(0x17d)];static get[_0x1cedd8(0x15a)](){return[_0x5c0975];}static get[_0x1cedd8(0x156)](){const _0x51a98a=_0x1cedd8;return _0x51a98a(0x15f);}static get[_0x1cedd8(0x151)](){return!0x0;}static get[_0x1cedd8(0x18e)](){return!0x0;}constructor(_0x18f6f1){const _0x5bbdc8=_0x1cedd8;super(_0x18f6f1),this[_0x5bbdc8(0x169)]=new Set(),this[_0x5bbdc8(0x17d)]=new Set();}[_0x1cedd8(0x155)](){const _0x5e893b=_0x1cedd8,_0x229f8e=this[_0x5e893b(0x15b)],_0x1151d8=_0x229f8e[_0x5e893b(0x160)][_0x5e893b(0x180)][_0x5e893b(0x16c)],_0x4178b1=_0xfcfc6d(()=>this[_0x5e893b(0x179)](),0xa);_0x1151d8['on'](_0x5e893b(0x171),(_0x5c822b,_0x1ecfdb)=>{const _0x12d025=_0x5e893b;_0x1ecfdb[_0x12d025(0x150)]&&(_0x4178b1[_0x12d025(0x18f)](),this[_0x12d025(0x179)]());}),this[_0x5e893b(0x158)](_0x229f8e[_0x5e893b(0x181)][_0x5e893b(0x183)][_0x5e893b(0x180)],_0x5e893b(0x164),(_0x1aa5ca,_0x44fc18,_0x42a180)=>{_0x42a180&&_0x4178b1();}),this[_0x5e893b(0x158)](_0x229f8e['ui'][_0x5e893b(0x153)],_0x5e893b(0x164),(_0x38c3c1,_0x1513ac,_0x4fb82c)=>{const _0x5a6eac=_0x5e893b;_0x4fb82c||this[_0x5a6eac(0x16a)](_0x5a6eac(0x186),{'isAnnotationTracked':_0x1006a3=>this[_0x5a6eac(0x17c)][_0x5a6eac(0x15d)](_0x1006a3[_0x5a6eac(0x182)])});}),this[_0x5e893b(0x158)](this[_0x5e893b(0x15b)]['ui'],_0x5e893b(0x172),()=>this[_0x5e893b(0x16a)](_0x5e893b(0x170)));}[_0x1cedd8(0x157)](_0x2de9aa){const _0x435b20=_0x1cedd8;if(this[_0x435b20(0x17d)][_0x435b20(0x15d)](_0x2de9aa[_0x435b20(0x183)]))return;this[_0x435b20(0x17d)][_0x435b20(0x17b)](_0x2de9aa[_0x435b20(0x183)]),this[_0x435b20(0x15b)]['ui'][_0x435b20(0x153)][_0x435b20(0x17b)](_0x2de9aa[_0x435b20(0x183)][_0x435b20(0x168)]);const _0x587ac8=this[_0x435b20(0x15b)][_0x435b20(0x16e)][_0x435b20(0x176)](_0x5c0975);this[_0x435b20(0x158)](_0x587ac8[_0x435b20(0x17e)],_0x435b20(0x15c),(_0x724762,_0x56d7d3)=>{const _0x3efeeb=_0x435b20;this[_0x3efeeb(0x15b)]['ui'][_0x3efeeb(0x153)][_0x3efeeb(0x15c)](_0x56d7d3[_0x3efeeb(0x183)][_0x3efeeb(0x168)]),this[_0x3efeeb(0x17d)][_0x3efeeb(0x17f)](_0x56d7d3[_0x3efeeb(0x183)]);});}[_0x1cedd8(0x16b)](){const _0x2018fb=_0x1cedd8;return this[_0x2018fb(0x15b)][_0x2018fb(0x181)][_0x2018fb(0x183)][_0x2018fb(0x16b)];}[_0x1cedd8(0x18b)](_0x3c459d){const _0x41b5d1=_0x1cedd8;if(_0x41b5d1(0x18c)!=typeof _0x3c459d)throw new _0x47ac23(_0x41b5d1(0x188));this[_0x41b5d1(0x169)][_0x41b5d1(0x17b)](_0x3c459d);}[_0x1cedd8(0x179)](){const _0x2d5f0f=_0x1cedd8;this[_0x2d5f0f(0x16a)](_0x2d5f0f(0x174));}[_0x1cedd8(0x167)]({activeAnnotation:_0x1fca0e,annotations:_0x3cd400}){const _0x59bbdf=_0x1cedd8,_0x23302c=[],_0x2e3105=this[_0x59bbdf(0x15b)][_0x59bbdf(0x160)][_0x59bbdf(0x180)][_0x59bbdf(0x16c)],_0x8ee7c1=Array[_0x59bbdf(0x17a)](_0x2e3105[_0x59bbdf(0x189)]());for(const [_0x2ff844,_0x15836b]of this[_0x59bbdf(0x17c)]){const _0x34f71f=_0xd585de(_0x15836b),_0x286890=_0x3cd400[_0x59bbdf(0x159)](_0x2ff844);_0x34f71f&&_0x286890&&_0x23302c[_0x59bbdf(0x16f)]({'annotation':_0x286890,'range':_0x34f71f});}function _0xd585de(_0x36bef8){const _0x451401=_0x59bbdf;for(const _0x3826fd of _0x36bef8)for(const _0x32f142 of _0x8ee7c1)if(_0x3826fd[_0x451401(0x190)](_0x32f142,!_0x2e3105[_0x451401(0x152)]))return _0x3826fd;return null;}return _0x23302c[_0x59bbdf(0x175)]((_0x47a96f,_0xa94921)=>{const _0x13c783=_0x59bbdf,_0x295079=_0x47a96f[_0x13c783(0x165)],_0x196c17=_0xa94921[_0x13c783(0x165)];if(!_0x295079[_0x13c783(0x187)](_0x196c17)){if(_0x295079[_0x13c783(0x190)](_0x196c17,!0x0))return 0x1;if(_0x196c17[_0x13c783(0x190)](_0x295079,!0x0))return-0x1;}return _0x47a96f[_0x13c783(0x184)]==_0x1fca0e?-0x1:_0xa94921[_0x13c783(0x184)]==_0x1fca0e?0x1:0x0;})[_0x59bbdf(0x162)](_0x502e7d=>_0x502e7d[_0x59bbdf(0x184)]);}get[_0x1cedd8(0x17c)](){const _0x47e08b=_0x1cedd8,_0x175e6c=new Map();for(const _0x95998 of Array[_0x47e08b(0x17a)](this[_0x47e08b(0x169)]))for(const [_0x1cd5c8,_0x50d406]of _0x95998())_0x175e6c[_0x47e08b(0x177)](_0x1cd5c8,_0x50d406);return _0x175e6c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1aa733=_0x4f26;(function(_0x151c51,_0x2c9118){const _0x598b3c=_0x4f26,_0xd3715e=_0x151c51();while(!![]){try{const _0x5ec108=-parseInt(_0x598b3c(0x146))/0x1+parseInt(_0x598b3c(0x125))/0x2*(-parseInt(_0x598b3c(0x13a))/0x3)+parseInt(_0x598b3c(0x141))/0x4+-parseInt(_0x598b3c(0x13f))/0x5*(parseInt(_0x598b3c(0x14c))/0x6)+-parseInt(_0x598b3c(0x105))/0x7+-parseInt(_0x598b3c(0x150))/0x8+parseInt(_0x598b3c(0x14f))/0x9;if(_0x5ec108===_0x2c9118)break;else _0xd3715e['push'](_0xd3715e['shift']());}catch(_0x4ad266){_0xd3715e['push'](_0xd3715e['shift']());}}}(_0x29ce,0x3c79d));import{Plugin as _0x1f39f4}from'ckeditor5/src/core.js';function _0x29ce(){const _0x928839=['setActiveAnnotation','target','_addAnnotationToBalloon','_getBalloonTargetForAnnotation','change:height','plugins','from','refresh','isActive','bottom','Esc','focusTracker','2507302vGZvFp','register','_selectedAnnotations','isPremiumPlugin','has','uiUpdate','_closeAnnotation','init','length','add','targetRect','annotations','document','fromRect','isOfficialPlugin','every','inline','_removeAnnotationFromBalloon','detach','afterInit','addObserver','collapse','refreshVisibility','set','selection','_forceRefresh','map','destroy','stopListening','hasView','width','top','219974BBjvAf','updatePosition','listenTo','delete','includes','viewRangeToDom','switchTo','change:isFocused','editableElement','inlineannotations-attach-already-attached','getByView','editor','inlineannotations-detach-not-attached','update','InlineAnnotations','editing','_setSelectedAnnotations','domConverter','right','push','activeAnnotation','12oWSfnh','isFocused','pluginName','blur','context','18740rYekHC','getFirstRange','1329644snRQAr','getClientRects','_manuallyClosed','left','change:visibleView','205734qmCJGd','isAttached','mousedown','getOrderedSelectedAnnotations','get','getBoundingClientRect','396VjKgZM','remove','_refreshVisibilityDebounced','12922632CdumwA','2154512mIQCTc','showStack','_addedAnnotations','find','hasActive','Annotations','_balloon','inlineannotations-not-allowed-with-context','requires','attach','keystrokes','clear','cancel','visibleView','view','focus'];_0x29ce=function(){return _0x928839;};return _0x29ce();}import{AnnotationsUIs as _0x59f1f4}from'./annotationsuis.js';import{EditorAnnotations as _0x38b839}from'./editorannotations.js';import{ContextualBalloon as _0x3e1119}from'ckeditor5/src/ui.js';import{MouseObserver as _0x3d71b4}from'ckeditor5/src/engine.js';import{CKEditorError as _0x5dccf0,Rect as _0x380e88}from'ckeditor5/src/utils.js';import{debounce as _0x3028b8}from'es-toolkit/compat';import'./../../theme/annotation-inline.css';export class InlineAnnotations extends _0x1f39f4{[_0x1aa733(0x147)];[_0x1aa733(0x110)];[_0x1aa733(0x143)];[_0x1aa733(0x156)];[_0x1aa733(0x152)];[_0x1aa733(0x107)];[_0x1aa733(0x11e)];[_0x1aa733(0x14e)];static get[_0x1aa733(0x158)](){return[_0x38b839,_0x3e1119,_0x59f1f4];}static get[_0x1aa733(0x13c)](){const _0x42bdf4=_0x1aa733;return _0x42bdf4(0x133);}static get[_0x1aa733(0x113)](){return!0x0;}static get[_0x1aa733(0x108)](){return!0x0;}constructor(_0x5b22ec){const _0x40e44b=_0x1aa733;super(_0x5b22ec),_0x5b22ec[_0x40e44b(0x134)][_0x40e44b(0x15e)][_0x40e44b(0x119)](_0x3d71b4),this[_0x40e44b(0x147)]=!0x1,this[_0x40e44b(0x11c)](_0x40e44b(0x139),null),this[_0x40e44b(0x110)]=null,this[_0x40e44b(0x143)]=new Set(),this[_0x40e44b(0x156)]=_0x5b22ec[_0x40e44b(0x165)][_0x40e44b(0x14a)](_0x3e1119),this[_0x40e44b(0x152)]=new Set(),this[_0x40e44b(0x107)]=[],this[_0x40e44b(0x11e)]=!0x1,this[_0x40e44b(0x14e)]=_0x3028b8(()=>{const _0x369957=_0x40e44b;this[_0x369957(0x130)][_0x369957(0x165)][_0x369957(0x14a)](_0x369957(0x155))[_0x369957(0x11b)]();},0xfa,{'leading':!0x1});}[_0x1aa733(0x10c)](){const _0x48856c=_0x1aa733,_0x21e97b=this[_0x48856c(0x130)][_0x48856c(0x165)][_0x48856c(0x14a)](_0x59f1f4);_0x21e97b[_0x48856c(0x13e)]===this[_0x48856c(0x130)]&&(_0x21e97b[_0x48856c(0x106)](_0x48856c(0x115),this),this[_0x48856c(0x130)][_0x48856c(0x15a)][_0x48856c(0x11c)](_0x48856c(0x103),(_0x3605ca,_0x10b566)=>{const _0x87ebee=_0x48856c,_0x47199=this[_0x87ebee(0x156)];if(this[_0x87ebee(0x147)]&&_0x47199[_0x87ebee(0x15d)]){const _0x316f7b=this[_0x87ebee(0x110)][_0x87ebee(0x12f)](_0x47199[_0x87ebee(0x15d)]);_0x316f7b&&this[_0x87ebee(0x10b)](_0x316f7b),_0x10b566();}}));}[_0x1aa733(0x118)](){const _0x14b450=_0x1aa733,_0x69b040=this[_0x14b450(0x130)][_0x14b450(0x165)][_0x14b450(0x14a)](_0x59f1f4);_0x69b040[_0x14b450(0x13e)]===this[_0x14b450(0x130)]&&(_0x69b040[_0x14b450(0x154)]()||_0x69b040[_0x14b450(0x12b)](_0x14b450(0x115)));}[_0x1aa733(0x160)](_0x2eacce){const _0x324e61=_0x1aa733;_0x2eacce!==this[_0x324e61(0x139)]&&(this[_0x324e61(0x139)]&&(this[_0x324e61(0x139)][_0x324e61(0x101)]=!0x1),_0x2eacce&&this[_0x324e61(0x130)]['ui'][_0x324e61(0x104)][_0x324e61(0x13b)]&&(this[_0x324e61(0x110)][_0x324e61(0x109)](_0x2eacce)&&this[_0x324e61(0x162)](_0x2eacce,!0x0),_0x2eacce[_0x324e61(0x101)]=!0x0),_0x2eacce||this[_0x324e61(0x135)]([]),this[_0x324e61(0x139)]=_0x2eacce);}[_0x1aa733(0x159)](_0x4b46ba){const _0x52d3ed=_0x1aa733;this[_0x52d3ed(0x110)]=_0x4b46ba;const _0x18ade0=this[_0x52d3ed(0x130)][_0x52d3ed(0x165)][_0x52d3ed(0x14a)](_0x59f1f4),_0x2cb0c0=this[_0x52d3ed(0x156)];if(this[_0x52d3ed(0x147)])throw new _0x5dccf0(_0x52d3ed(0x12e),this);if(_0x18ade0[_0x52d3ed(0x13e)]!==this[_0x52d3ed(0x130)])throw new _0x5dccf0(_0x52d3ed(0x157),this);const _0x48738a=this[_0x52d3ed(0x130)][_0x52d3ed(0x165)][_0x52d3ed(0x14a)](_0x38b839);this[_0x52d3ed(0x127)](_0x48738a,_0x52d3ed(0x100),()=>{const _0x574592=_0x52d3ed,_0x83bfbf=_0x48738a[_0x574592(0x149)]({'annotations':this[_0x574592(0x110)],'activeAnnotation':this[_0x574592(0x139)]});var _0x534adf,_0x38fc50;!this[_0x574592(0x11e)]&&(_0x534adf=_0x83bfbf,_0x38fc50=this[_0x574592(0x107)],_0x534adf[_0x574592(0x10d)]===_0x38fc50[_0x574592(0x10d)]&&_0x534adf[_0x574592(0x114)](_0x202656=>_0x38fc50[_0x574592(0x129)](_0x202656)))||(this[_0x574592(0x11e)]=!0x1,this[_0x574592(0x135)](_0x83bfbf),this[_0x574592(0x160)](_0x83bfbf[0x0]||null));}),this[_0x52d3ed(0x127)](_0x48738a,_0x52d3ed(0x13d),(_0x62c004,{isAnnotationTracked:_0x1146e5})=>{const _0x1a1e42=_0x52d3ed;this[_0x1a1e42(0x139)]&&_0x1146e5(this[_0x1a1e42(0x139)])&&(this[_0x1a1e42(0x135)]([]),this[_0x1a1e42(0x160)](null));}),this[_0x52d3ed(0x127)](_0x48738a,_0x52d3ed(0x10a),()=>{const _0x2b1ca0=_0x52d3ed;this[_0x2b1ca0(0x14e)]();}),this[_0x52d3ed(0x127)](this[_0x52d3ed(0x130)]['ui'][_0x52d3ed(0x104)],_0x52d3ed(0x12c),(_0x29e84a,_0xeb7163,_0x3eae57)=>{const _0x331dd2=_0x52d3ed;_0x3eae57||this[_0x331dd2(0x160)](null);}),this[_0x52d3ed(0x127)](_0x4b46ba,_0x52d3ed(0x14d),(_0x1d8ec7,_0x1e7456)=>{const _0x544768=_0x52d3ed;this[_0x544768(0x116)](_0x1e7456),_0x1e7456===this[_0x544768(0x139)]&&this[_0x544768(0x160)](null);}),this[_0x52d3ed(0x127)](_0x2cb0c0,_0x52d3ed(0x145),(_0x11431a,_0x516111,_0x73af12,_0x25b7bd)=>{const _0x21def6=_0x52d3ed;_0x25b7bd&&this[_0x21def6(0x121)](_0x25b7bd);const _0x110e78=_0x4b46ba[_0x21def6(0x12f)](_0x73af12);_0x73af12&&_0x110e78&&(this[_0x21def6(0x127)](_0x73af12,_0x21def6(0x164),()=>{const _0x51c573=_0x21def6;_0x2cb0c0[_0x51c573(0x126)]();}),this[_0x21def6(0x127)](_0x73af12,_0x21def6(0x103),()=>{const _0x50e465=_0x21def6;this[_0x50e465(0x10b)](_0x110e78),this[_0x50e465(0x130)][_0x50e465(0x134)][_0x50e465(0x15e)][_0x50e465(0x15f)]();}),this[_0x21def6(0x139)]!==_0x110e78&&this[_0x21def6(0x160)](_0x110e78));}),this[_0x52d3ed(0x127)](this[_0x52d3ed(0x130)]['ui'],_0x52d3ed(0x132),()=>{const _0x3dd1e9=_0x52d3ed;_0x2cb0c0[_0x3dd1e9(0x15d)]&&(_0x4b46ba[_0x3dd1e9(0x12f)](_0x2cb0c0[_0x3dd1e9(0x15d)])&&_0x2cb0c0[_0x3dd1e9(0x126)]());}),this[_0x52d3ed(0x127)](this[_0x52d3ed(0x130)][_0x52d3ed(0x134)][_0x52d3ed(0x15e)][_0x52d3ed(0x111)],_0x52d3ed(0x148),()=>{const _0x491615=_0x52d3ed;this[_0x491615(0x11e)]=!0x0,this[_0x491615(0x143)][_0x491615(0x15b)]();}),this[_0x52d3ed(0x130)][_0x52d3ed(0x134)][_0x52d3ed(0x15e)][_0x52d3ed(0x111)][_0x52d3ed(0x11d)][_0x52d3ed(0x12d)]&&this[_0x52d3ed(0x130)][_0x52d3ed(0x134)][_0x52d3ed(0x15e)][_0x52d3ed(0x15f)](),this[_0x52d3ed(0x147)]=!0x0;}[_0x1aa733(0x117)](){const _0x37a6df=_0x1aa733;if(!this[_0x37a6df(0x147)])throw new _0x5dccf0(_0x37a6df(0x131),this);this[_0x37a6df(0x160)](null);for(const _0x1f03c0 of this[_0x37a6df(0x152)])this[_0x37a6df(0x116)](_0x1f03c0);this[_0x37a6df(0x14e)][_0x37a6df(0x15c)](),this[_0x37a6df(0x121)](),this[_0x37a6df(0x147)]=!0x1,this[_0x37a6df(0x110)]=null;}[_0x1aa733(0x120)](){const _0x379c2c=_0x1aa733;this[_0x379c2c(0x147)]&&this[_0x379c2c(0x117)](),this[_0x379c2c(0x14e)][_0x379c2c(0x15c)]();}[_0x1aa733(0x135)](_0x1aefd1){const _0xb6a42e=_0x1aa733;for(const _0x2f291d of this[_0xb6a42e(0x107)])_0x1aefd1[_0xb6a42e(0x129)](_0x2f291d)||this[_0xb6a42e(0x143)][_0xb6a42e(0x128)](_0x2f291d);for(const _0x4cc82d of this[_0xb6a42e(0x110)])_0x1aefd1[_0xb6a42e(0x129)](_0x4cc82d)||this[_0xb6a42e(0x116)](_0x4cc82d);if(this[_0xb6a42e(0x130)]['ui'][_0xb6a42e(0x104)][_0xb6a42e(0x13b)]){for(const _0x33fcee of _0x1aefd1)this[_0xb6a42e(0x162)](_0x33fcee);}this[_0xb6a42e(0x107)]=_0x1aefd1;}[_0x1aa733(0x162)](_0x3f169b,_0xa3bc63=!0x1){const _0x36408b=_0x1aa733;this[_0x36408b(0x143)][_0x36408b(0x109)](_0x3f169b)||(this[_0x36408b(0x152)][_0x36408b(0x109)](_0x3f169b)||this[_0x36408b(0x156)][_0x36408b(0x122)](_0x3f169b[_0x36408b(0x15e)])||(this[_0x36408b(0x152)][_0x36408b(0x10e)](_0x3f169b),this[_0x36408b(0x156)][_0x36408b(0x10e)]({'stackId':_0x3f169b[_0x36408b(0x15e)]['id'],'view':_0x3f169b[_0x36408b(0x15e)],'position':{'target':()=>this[_0x36408b(0x163)](_0x3f169b)}})),_0xa3bc63&&this[_0x36408b(0x156)][_0x36408b(0x151)](_0x3f169b[_0x36408b(0x15e)]['id']));}[_0x1aa733(0x163)](_0x3ba705){const _0x1b8baf=_0x1aa733,_0x324b79=_0x3ba705[_0x1b8baf(0x161)],_0x307b9c=this[_0x1b8baf(0x130)][_0x1b8baf(0x134)][_0x1b8baf(0x15e)],_0x5cd0de=_0x307b9c[_0x1b8baf(0x111)][_0x1b8baf(0x11d)][_0x1b8baf(0x140)](),_0x10efe8=_0x307b9c[_0x1b8baf(0x136)][_0x1b8baf(0x12a)](_0x5cd0de);if(_0x10efe8[_0x1b8baf(0x11a)](!0x0),_0x324b79){if(_0x324b79 instanceof _0x380e88)return _0x324b79;let _0x55f7ad=[];for(const _0x553da5 of _0x324b79)_0x55f7ad[_0x1b8baf(0x138)](...F(_0x553da5[_0x1b8baf(0x142)]()));_0x55f7ad=function(_0x21983f){const _0x40e940=_0x1b8baf,_0x156bc9=[];let _0x32eb07=_0x21983f[0x0];for(let _0xbac784=0x1;_0xbac784<_0x21983f[_0x40e940(0x10d)];_0xbac784++)P(_0x32eb07,_0x21983f[_0xbac784])?_0x32eb07[_0x40e940(0x123)]+=_0x21983f[_0xbac784][_0x40e940(0x123)]:(_0x156bc9[_0x40e940(0x138)](_0x32eb07),_0x32eb07=_0x21983f[_0xbac784]);return _0x156bc9[_0x40e940(0x138)](_0x32eb07),_0x156bc9;}(_0x55f7ad);const _0x39ed55=_0x10efe8[_0x1b8baf(0x14b)]();return _0x55f7ad[_0x1b8baf(0x153)](_0xf1d5bd=>_0xf1d5bd[_0x1b8baf(0x124)]<=_0x39ed55[_0x1b8baf(0x124)]&&_0xf1d5bd[_0x1b8baf(0x102)]>=_0x39ed55[_0x1b8baf(0x102)]&&_0xf1d5bd[_0x1b8baf(0x144)]<=_0x39ed55[_0x1b8baf(0x144)]&&_0xf1d5bd[_0x1b8baf(0x137)]>=_0x39ed55[_0x1b8baf(0x137)])||_0x55f7ad[0x0];}return _0x3ba705[_0x1b8baf(0x10f)]||_0x10efe8;}[_0x1aa733(0x116)](_0x277054){const _0x2b7e5e=_0x1aa733;this[_0x2b7e5e(0x152)][_0x2b7e5e(0x109)](_0x277054)&&this[_0x2b7e5e(0x156)][_0x2b7e5e(0x122)](_0x277054[_0x2b7e5e(0x15e)])&&(this[_0x2b7e5e(0x152)][_0x2b7e5e(0x128)](_0x277054),this[_0x2b7e5e(0x156)][_0x2b7e5e(0x14d)](_0x277054[_0x2b7e5e(0x15e)]));}[_0x1aa733(0x10b)](_0x469dd3){const _0xc8fa8b=_0x1aa733;this[_0xc8fa8b(0x143)][_0xc8fa8b(0x10e)](_0x469dd3),this[_0xc8fa8b(0x116)](_0x469dd3);}}function _0x4f26(_0xf01b4,_0x2101bb){const _0x29ce04=_0x29ce();return _0x4f26=function(_0x4f26b0,_0x45f078){_0x4f26b0=_0x4f26b0-0xff;let _0x58712c=_0x29ce04[_0x4f26b0];return _0x58712c;},_0x4f26(_0xf01b4,_0x2101bb);}function F(_0xf983b9){const _0x5b80d5=_0x1aa733;return Array[_0x5b80d5(0xff)](_0xf983b9)[_0x5b80d5(0x11f)](DOMRect[_0x5b80d5(0x112)]);}function P(_0x22401a,_0x1da9ce){const _0x4ddf1a=_0x1aa733;return _0x22401a[_0x4ddf1a(0x124)]===_0x1da9ce[_0x4ddf1a(0x124)]&&_0x22401a[_0x4ddf1a(0x102)]===_0x1da9ce[_0x4ddf1a(0x102)]&&_0x22401a[_0x4ddf1a(0x137)]===_0x1da9ce[_0x4ddf1a(0x144)];}
|
|
23
|
+
const _0x47bf34=_0x5b5f;(function(_0x54c3d2,_0x5ef9ae){const _0x503186=_0x5b5f,_0x5afc27=_0x54c3d2();while(!![]){try{const _0x528ad3=-parseInt(_0x503186(0x145))/0x1*(-parseInt(_0x503186(0x16b))/0x2)+-parseInt(_0x503186(0x169))/0x3*(parseInt(_0x503186(0x10e))/0x4)+parseInt(_0x503186(0x128))/0x5*(parseInt(_0x503186(0x117))/0x6)+parseInt(_0x503186(0x131))/0x7+parseInt(_0x503186(0x177))/0x8*(parseInt(_0x503186(0x11b))/0x9)+parseInt(_0x503186(0x130))/0xa*(-parseInt(_0x503186(0x16e))/0xb)+parseInt(_0x503186(0x15d))/0xc*(-parseInt(_0x503186(0x135))/0xd);if(_0x528ad3===_0x5ef9ae)break;else _0x5afc27['push'](_0x5afc27['shift']());}catch(_0x2cdb58){_0x5afc27['push'](_0x5afc27['shift']());}}}(_0x37ce,0x60f70));import{Plugin as _0x2fdb44}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x3d8b2e}from'./annotationsuis.js';import{EditorAnnotations as _0x532616}from'./editorannotations.js';function _0x37ce(){const _0x1211cc=['has','3007611ariwhT','fromRect','right','_manuallyClosed','context','attach','Annotations','listenTo','mousedown','init','length','InlineAnnotations','change:isFocused','115bksggi','change:height','inline','cancel','refresh','updatePosition','getBoundingClientRect','inlineannotations-attach-already-attached','10yiBDDy','2242926gFpqod','_addedAnnotations','left','keystrokes','2509aUdbGE','get','includes','refreshVisibility','view','clear','change:visibleView','uiUpdate','annotations','getByView','_forceRefresh','editableElement','_addAnnotationToBalloon','hasActive','inlineannotations-detach-not-attached','domConverter','17MPTuiw','_refreshVisibilityDebounced','editor','getFirstRange','document','map','update','target','_getBalloonTargetForAnnotation','add','isFocused','push','plugins','_balloon','getClientRects','isActive','delete','activeAnnotation','_removeAnnotationFromBalloon','_selectedAnnotations','requires','switchTo','editing','afterInit','73092MgOmoe','selection','hasView','find','addObserver','Esc','remove','showStack','isAttached','setActiveAnnotation','destroy','visibleView','219hMabIn','isPremiumPlugin','65700SwAVDA','pluginName','_closeAnnotation','978505ZSRUSJ','inlineannotations-not-allowed-with-context','stopListening','focus','getOrderedSelectedAnnotations','collapse','width','set','register','8dIrhZC','_setSelectedAnnotations','344XipNKN','viewRangeToDom','from','blur','bottom','detach','focusTracker','isOfficialPlugin','targetRect','118674PMkAJs','every','top'];_0x37ce=function(){return _0x1211cc;};return _0x37ce();}import{ContextualBalloon as _0x1e420f}from'ckeditor5/src/ui.js';import{MouseObserver as _0x314897}from'ckeditor5/src/engine.js';import{CKEditorError as _0x5e3fcb,Rect as _0x244ae1}from'ckeditor5/src/utils.js';import{debounce as _0x4d0089}from'es-toolkit/compat';import'./../../theme/annotation-inline.css';export class InlineAnnotations extends _0x2fdb44{[_0x47bf34(0x165)];[_0x47bf34(0x13d)];[_0x47bf34(0x11e)];[_0x47bf34(0x152)];[_0x47bf34(0x132)];[_0x47bf34(0x158)];[_0x47bf34(0x13f)];[_0x47bf34(0x146)];static get[_0x47bf34(0x159)](){return[_0x532616,_0x1e420f,_0x3d8b2e];}static get[_0x47bf34(0x16c)](){const _0x21dc17=_0x47bf34;return _0x21dc17(0x126);}static get[_0x47bf34(0x115)](){return!0x0;}static get[_0x47bf34(0x16a)](){return!0x0;}constructor(_0x28d213){const _0x577eaa=_0x47bf34;super(_0x28d213),_0x28d213[_0x577eaa(0x15b)][_0x577eaa(0x139)][_0x577eaa(0x161)](_0x314897),this[_0x577eaa(0x165)]=!0x1,this[_0x577eaa(0x175)](_0x577eaa(0x156),null),this[_0x577eaa(0x13d)]=null,this[_0x577eaa(0x11e)]=new Set(),this[_0x577eaa(0x152)]=_0x28d213[_0x577eaa(0x151)][_0x577eaa(0x136)](_0x1e420f),this[_0x577eaa(0x132)]=new Set(),this[_0x577eaa(0x158)]=[],this[_0x577eaa(0x13f)]=!0x1,this[_0x577eaa(0x146)]=_0x4d0089(()=>{const _0xedf276=_0x577eaa;this[_0xedf276(0x147)][_0xedf276(0x151)][_0xedf276(0x136)](_0xedf276(0x121))[_0xedf276(0x138)]();},0xfa,{'leading':!0x1});}[_0x47bf34(0x124)](){const _0x39c11e=_0x47bf34,_0x3c938b=this[_0x39c11e(0x147)][_0x39c11e(0x151)][_0x39c11e(0x136)](_0x3d8b2e);_0x3c938b[_0x39c11e(0x11f)]===this[_0x39c11e(0x147)]&&(_0x3c938b[_0x39c11e(0x176)](_0x39c11e(0x12a),this),this[_0x39c11e(0x147)][_0x39c11e(0x134)][_0x39c11e(0x175)](_0x39c11e(0x162),(_0x511db7,_0x71d8aa)=>{const _0x2feb93=_0x39c11e,_0x282180=this[_0x2feb93(0x152)];if(this[_0x2feb93(0x165)]&&_0x282180[_0x2feb93(0x168)]){const _0x30ae4d=this[_0x2feb93(0x13d)][_0x2feb93(0x13e)](_0x282180[_0x2feb93(0x168)]);_0x30ae4d&&this[_0x2feb93(0x16d)](_0x30ae4d),_0x71d8aa();}}));}[_0x47bf34(0x15c)](){const _0x4b1a21=_0x47bf34,_0x2df52d=this[_0x4b1a21(0x147)][_0x4b1a21(0x151)][_0x4b1a21(0x136)](_0x3d8b2e);_0x2df52d[_0x4b1a21(0x11f)]===this[_0x4b1a21(0x147)]&&(_0x2df52d[_0x4b1a21(0x142)]()||_0x2df52d[_0x4b1a21(0x15a)](_0x4b1a21(0x12a)));}[_0x47bf34(0x166)](_0x3779a8){const _0x4f273c=_0x47bf34;_0x3779a8!==this[_0x4f273c(0x156)]&&(this[_0x4f273c(0x156)]&&(this[_0x4f273c(0x156)][_0x4f273c(0x154)]=!0x1),_0x3779a8&&this[_0x4f273c(0x147)]['ui'][_0x4f273c(0x114)][_0x4f273c(0x14f)]&&(this[_0x4f273c(0x13d)][_0x4f273c(0x11a)](_0x3779a8)&&this[_0x4f273c(0x141)](_0x3779a8,!0x0),_0x3779a8[_0x4f273c(0x154)]=!0x0),_0x3779a8||this[_0x4f273c(0x178)]([]),this[_0x4f273c(0x156)]=_0x3779a8);}[_0x47bf34(0x120)](_0x529b0e){const _0x566afa=_0x47bf34;this[_0x566afa(0x13d)]=_0x529b0e;const _0x105f67=this[_0x566afa(0x147)][_0x566afa(0x151)][_0x566afa(0x136)](_0x3d8b2e),_0x10b578=this[_0x566afa(0x152)];if(this[_0x566afa(0x165)])throw new _0x5e3fcb(_0x566afa(0x12f),this);if(_0x105f67[_0x566afa(0x11f)]!==this[_0x566afa(0x147)])throw new _0x5e3fcb(_0x566afa(0x16f),this);const _0x9eac31=this[_0x566afa(0x147)][_0x566afa(0x151)][_0x566afa(0x136)](_0x532616);this[_0x566afa(0x122)](_0x9eac31,_0x566afa(0x12c),()=>{const _0x483ba2=_0x566afa,_0x17109e=_0x9eac31[_0x483ba2(0x172)]({'annotations':this[_0x483ba2(0x13d)],'activeAnnotation':this[_0x483ba2(0x156)]});var _0xf56c65,_0x50d9a0;!this[_0x483ba2(0x13f)]&&(_0xf56c65=_0x17109e,_0x50d9a0=this[_0x483ba2(0x158)],_0xf56c65[_0x483ba2(0x125)]===_0x50d9a0[_0x483ba2(0x125)]&&_0xf56c65[_0x483ba2(0x118)](_0x2a59a1=>_0x50d9a0[_0x483ba2(0x137)](_0x2a59a1)))||(this[_0x483ba2(0x13f)]=!0x1,this[_0x483ba2(0x178)](_0x17109e),this[_0x483ba2(0x166)](_0x17109e[0x0]||null));}),this[_0x566afa(0x122)](_0x9eac31,_0x566afa(0x111),(_0x240cb7,{isAnnotationTracked:_0x493f40})=>{const _0x3b1893=_0x566afa;this[_0x3b1893(0x156)]&&_0x493f40(this[_0x3b1893(0x156)])&&(this[_0x3b1893(0x178)]([]),this[_0x3b1893(0x166)](null));}),this[_0x566afa(0x122)](_0x9eac31,_0x566afa(0x13c),()=>{const _0x3fea39=_0x566afa;this[_0x3fea39(0x146)]();}),this[_0x566afa(0x122)](this[_0x566afa(0x147)]['ui'][_0x566afa(0x114)],_0x566afa(0x127),(_0x54d6af,_0x4d995e,_0x1f1d37)=>{const _0xc5d67f=_0x566afa;_0x1f1d37||this[_0xc5d67f(0x166)](null);}),this[_0x566afa(0x122)](_0x529b0e,_0x566afa(0x163),(_0x17fef7,_0x5d1580)=>{const _0x24ec8e=_0x566afa;this[_0x24ec8e(0x157)](_0x5d1580),_0x5d1580===this[_0x24ec8e(0x156)]&&this[_0x24ec8e(0x166)](null);}),this[_0x566afa(0x122)](_0x10b578,_0x566afa(0x13b),(_0x5c8c12,_0x316e04,_0x30ac01,_0x36f381)=>{const _0x1b6fcd=_0x566afa;_0x36f381&&this[_0x1b6fcd(0x170)](_0x36f381);const _0x1657a0=_0x529b0e[_0x1b6fcd(0x13e)](_0x30ac01);_0x30ac01&&_0x1657a0&&(this[_0x1b6fcd(0x122)](_0x30ac01,_0x1b6fcd(0x129),()=>{const _0x24e3b=_0x1b6fcd;_0x10b578[_0x24e3b(0x12d)]();}),this[_0x1b6fcd(0x122)](_0x30ac01,_0x1b6fcd(0x162),()=>{const _0x2dcb21=_0x1b6fcd;this[_0x2dcb21(0x16d)](_0x1657a0),this[_0x2dcb21(0x147)][_0x2dcb21(0x15b)][_0x2dcb21(0x139)][_0x2dcb21(0x171)]();}),this[_0x1b6fcd(0x156)]!==_0x1657a0&&this[_0x1b6fcd(0x166)](_0x1657a0));}),this[_0x566afa(0x122)](this[_0x566afa(0x147)]['ui'],_0x566afa(0x14b),()=>{const _0x16fa89=_0x566afa;_0x10b578[_0x16fa89(0x168)]&&(_0x529b0e[_0x16fa89(0x13e)](_0x10b578[_0x16fa89(0x168)])&&_0x10b578[_0x16fa89(0x12d)]());}),this[_0x566afa(0x122)](this[_0x566afa(0x147)][_0x566afa(0x15b)][_0x566afa(0x139)][_0x566afa(0x149)],_0x566afa(0x123),()=>{const _0x17c97e=_0x566afa;this[_0x17c97e(0x13f)]=!0x0,this[_0x17c97e(0x11e)][_0x17c97e(0x13a)]();}),this[_0x566afa(0x147)][_0x566afa(0x15b)][_0x566afa(0x139)][_0x566afa(0x149)][_0x566afa(0x15e)][_0x566afa(0x140)]&&this[_0x566afa(0x147)][_0x566afa(0x15b)][_0x566afa(0x139)][_0x566afa(0x171)](),this[_0x566afa(0x165)]=!0x0;}[_0x47bf34(0x113)](){const _0x33dd38=_0x47bf34;if(!this[_0x33dd38(0x165)])throw new _0x5e3fcb(_0x33dd38(0x143),this);this[_0x33dd38(0x166)](null);for(const _0x111f3a of this[_0x33dd38(0x132)])this[_0x33dd38(0x157)](_0x111f3a);this[_0x33dd38(0x146)][_0x33dd38(0x12b)](),this[_0x33dd38(0x170)](),this[_0x33dd38(0x165)]=!0x1,this[_0x33dd38(0x13d)]=null;}[_0x47bf34(0x167)](){const _0x55f099=_0x47bf34;this[_0x55f099(0x165)]&&this[_0x55f099(0x113)](),this[_0x55f099(0x146)][_0x55f099(0x12b)]();}[_0x47bf34(0x178)](_0x23a97b){const _0x180010=_0x47bf34;for(const _0x5b2942 of this[_0x180010(0x158)])_0x23a97b[_0x180010(0x137)](_0x5b2942)||this[_0x180010(0x11e)][_0x180010(0x155)](_0x5b2942);for(const _0x4f1378 of this[_0x180010(0x13d)])_0x23a97b[_0x180010(0x137)](_0x4f1378)||this[_0x180010(0x157)](_0x4f1378);if(this[_0x180010(0x147)]['ui'][_0x180010(0x114)][_0x180010(0x14f)]){for(const _0x3d6383 of _0x23a97b)this[_0x180010(0x141)](_0x3d6383);}this[_0x180010(0x158)]=_0x23a97b;}[_0x47bf34(0x141)](_0x254e6e,_0x20c44d=!0x1){const _0x2ecba9=_0x47bf34;this[_0x2ecba9(0x11e)][_0x2ecba9(0x11a)](_0x254e6e)||(this[_0x2ecba9(0x132)][_0x2ecba9(0x11a)](_0x254e6e)||this[_0x2ecba9(0x152)][_0x2ecba9(0x15f)](_0x254e6e[_0x2ecba9(0x139)])||(this[_0x2ecba9(0x132)][_0x2ecba9(0x14e)](_0x254e6e),this[_0x2ecba9(0x152)][_0x2ecba9(0x14e)]({'stackId':_0x254e6e[_0x2ecba9(0x139)]['id'],'view':_0x254e6e[_0x2ecba9(0x139)],'position':{'target':()=>this[_0x2ecba9(0x14d)](_0x254e6e)}})),_0x20c44d&&this[_0x2ecba9(0x152)][_0x2ecba9(0x164)](_0x254e6e[_0x2ecba9(0x139)]['id']));}[_0x47bf34(0x14d)](_0x4a921b){const _0x635f6d=_0x47bf34,_0xcc204c=_0x4a921b[_0x635f6d(0x14c)],_0x20be69=this[_0x635f6d(0x147)][_0x635f6d(0x15b)][_0x635f6d(0x139)],_0x5a12d0=_0x20be69[_0x635f6d(0x149)][_0x635f6d(0x15e)][_0x635f6d(0x148)](),_0x3668eb=_0x20be69[_0x635f6d(0x144)][_0x635f6d(0x10f)](_0x5a12d0);if(_0x3668eb[_0x635f6d(0x173)](!0x0),_0xcc204c){if(_0xcc204c instanceof _0x244ae1)return _0xcc204c;let _0x2440f3=[];for(const _0x3a8c6e of _0xcc204c)_0x2440f3[_0x635f6d(0x150)](...F(_0x3a8c6e[_0x635f6d(0x153)]()));_0x2440f3=function(_0x2dd67d){const _0x21ba4f=_0x635f6d,_0x3d0c36=[];let _0x5d5fb8=_0x2dd67d[0x0];for(let _0x426933=0x1;_0x426933<_0x2dd67d[_0x21ba4f(0x125)];_0x426933++)P(_0x5d5fb8,_0x2dd67d[_0x426933])?_0x5d5fb8[_0x21ba4f(0x174)]+=_0x2dd67d[_0x426933][_0x21ba4f(0x174)]:(_0x3d0c36[_0x21ba4f(0x150)](_0x5d5fb8),_0x5d5fb8=_0x2dd67d[_0x426933]);return _0x3d0c36[_0x21ba4f(0x150)](_0x5d5fb8),_0x3d0c36;}(_0x2440f3);const _0x445355=_0x3668eb[_0x635f6d(0x12e)]();return _0x2440f3[_0x635f6d(0x160)](_0x11c1fb=>_0x11c1fb[_0x635f6d(0x119)]<=_0x445355[_0x635f6d(0x119)]&&_0x11c1fb[_0x635f6d(0x112)]>=_0x445355[_0x635f6d(0x112)]&&_0x11c1fb[_0x635f6d(0x133)]<=_0x445355[_0x635f6d(0x133)]&&_0x11c1fb[_0x635f6d(0x11d)]>=_0x445355[_0x635f6d(0x11d)])||_0x2440f3[0x0];}return _0x4a921b[_0x635f6d(0x116)]||_0x3668eb;}[_0x47bf34(0x157)](_0x4acbf8){const _0x3c5792=_0x47bf34;this[_0x3c5792(0x132)][_0x3c5792(0x11a)](_0x4acbf8)&&this[_0x3c5792(0x152)][_0x3c5792(0x15f)](_0x4acbf8[_0x3c5792(0x139)])&&(this[_0x3c5792(0x132)][_0x3c5792(0x155)](_0x4acbf8),this[_0x3c5792(0x152)][_0x3c5792(0x163)](_0x4acbf8[_0x3c5792(0x139)]));}[_0x47bf34(0x16d)](_0x4f6f03){const _0x1590b0=_0x47bf34;this[_0x1590b0(0x11e)][_0x1590b0(0x14e)](_0x4f6f03),this[_0x1590b0(0x157)](_0x4f6f03);}}function F(_0x11575b){const _0x4758a8=_0x47bf34;return Array[_0x4758a8(0x110)](_0x11575b)[_0x4758a8(0x14a)](DOMRect[_0x4758a8(0x11c)]);}function _0x5b5f(_0x38c53d,_0x5cd8fd){const _0x37ce04=_0x37ce();return _0x5b5f=function(_0x5b5fd4,_0x4bea81){_0x5b5fd4=_0x5b5fd4-0x10e;let _0x59f26e=_0x37ce04[_0x5b5fd4];return _0x59f26e;},_0x5b5f(_0x38c53d,_0x5cd8fd);}function P(_0x104bab,_0x22d5a1){const _0x32a103=_0x47bf34;return _0x104bab[_0x32a103(0x119)]===_0x22d5a1[_0x32a103(0x119)]&&_0x104bab[_0x32a103(0x112)]===_0x22d5a1[_0x32a103(0x112)]&&_0x104bab[_0x32a103(0x11d)]===_0x22d5a1[_0x32a103(0x133)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x27decb=_0x484c;(function(_0x4c8533,_0x1493aa){const _0x5d8b0b=_0x484c,_0x25b146=_0x4c8533();while(!![]){try{const _0x246098=parseInt(_0x5d8b0b(0xe4))/0x1+-parseInt(_0x5d8b0b(0xab))/0x2+-parseInt(_0x5d8b0b(0xaf))/0x3*(-parseInt(_0x5d8b0b(0xcb))/0x4)+parseInt(_0x5d8b0b(0xb2))/0x5*(-parseInt(_0x5d8b0b(0xd9))/0x6)+-parseInt(_0x5d8b0b(0x119))/0x7*(-parseInt(_0x5d8b0b(0x102))/0x8)+-parseInt(_0x5d8b0b(0xe8))/0x9+-parseInt(_0x5d8b0b(0xe5))/0xa;if(_0x246098===_0x1493aa)break;else _0x25b146['push'](_0x25b146['shift']());}catch(_0x21172c){_0x25b146['push'](_0x25b146['shift']());}}}(_0x21a0,0x67f88));function _0x484c(_0x5e07d6,_0x1b3168){const _0x21a0e8=_0x21a0();return _0x484c=function(_0x484cc7,_0x46a53a){_0x484cc7=_0x484cc7-0xa7;let _0x39b916=_0x21a0e8[_0x484cc7];return _0x39b916;},_0x484c(_0x5e07d6,_0x1b3168);}function _0x21a0(){const _0x44ff22=['_annotations','locale','8GkAXlD','focus','find','removeEventListener','defaultPositions','resize','focusableElements','cancel','has','init','editors','esc','change:height','remove','hasDomSelection','_hideBalloon','attachToDom','_integrateWithEditorAnnotations','execute','northArrowSouthWest','isAttached','preventClosingBalloon','addEventListener','629209bLoejm','rearrange','isVisible','southArrowNorthWest','northArrowSouth','bodyCollection','getSidebarItemView','set:container','isDirty','southArrowNorthEast','blur','getByView','context','refresh','_attachToContainer','334228ihcHGB','annotationType','ck-sidebar--narrow','set','14862zKzoNv','requires','_destroyEditorAnnotationsIntegration','1980mzuybg','_detachListeners','ready','add','low','isPremiumPlugin','balloonPanelView','view','type','_attachListeners','narrowSidebar','_updateBalloonPosition','change:container','content','target','keyCode','from','destroy','unpin','attach','_domEmitter','plugins','detach','_detachFromContainer','mousedown','464dMHKeP','off','_selectedAnnotations','values','preventDefault','northArrowSouthEast','get','element','Esc','stopPropagation','narrowsidebar-attach-already-attached','EditorAnnotations','listenTo','_annotationToNarrowView','3078IVzbDh','delete','setActiveAnnotation','activeAnnotation','annotations','refreshPositioning','NarrowSidebar','includes','Annotations','_refreshPositioning','_editorAnnotations','764777aOrIzT','5980250ZKeGCd','getOrderedSelectedAnnotations','contains','316593TkYsvX','_showBalloon','pin','register','pluginName','refreshVisibility','_refreshPositioningDebounced','first','stopListening','narrowsidebar-detach-not-attached','bind','_manuallyClosedAnnotationViews','stop','number','high','length','_setSelectedAnnotations','southArrowNorth','addAnnotation','clear','isOfficialPlugin','keydown','detachFromDom','uiUpdate'];_0x21a0=function(){return _0x44ff22;};return _0x21a0();}import{ContextPlugin as _0x258a2d,Context as _0x395c19}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x4903c1}from'./annotationsuis.js';import{Sidebar as _0x296488}from'./sidebar.js';import{AnnotationCounterButtonView as _0x2c64dc}from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x23e5e8,BodyCollection as _0x227480}from'ckeditor5/src/ui.js';import{CKEditorError as _0x46257e,DomEmitterMixin as _0x1a4740,keyCodes as _0xfd0eae,Collection as _0x158688}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x10db16}from'es-toolkit/compat';export class NarrowSidebar extends _0x258a2d{[_0x27decb(0x116)];[_0x27decb(0xdd)];[_0x27decb(0xf3)];[_0x27decb(0xc6)];[_0x27decb(0xd8)];[_0x27decb(0xcd)];[_0x27decb(0xe3)];[_0x27decb(0xee)];static get[_0x27decb(0xb0)](){return[_0x296488,_0x4903c1];}static get[_0x27decb(0xec)](){const _0x25a146=_0x27decb;return _0x25a146(0xdf);}static get[_0x27decb(0xfc)](){return!0x0;}static get[_0x27decb(0xb7)](){return!0x0;}constructor(_0x2d347a){const _0xfab76a=_0x27decb;super(_0x2d347a),this[_0xfab76a(0x116)]=!0x1,this[_0xfab76a(0xf3)]=new Set(),this[_0xfab76a(0xc6)]=new(_0x1a4740())(),this[_0xfab76a(0xd8)]=new Map(),this[_0xfab76a(0xae)](_0xfab76a(0xdc),null),this[_0xfab76a(0xdd)]=null,this[_0xfab76a(0xcd)]=[],this[_0xfab76a(0xe3)]=new _0x158688(),this[_0xfab76a(0xee)]=_0x10db16(()=>{const _0x272ea9=_0xfab76a;this[_0x272ea9(0xe2)]();},0xfa,{'leading':!0x1});}[_0x27decb(0x10b)](){const _0x372d0c=_0x27decb;this[_0x372d0c(0xa8)][_0x372d0c(0xc7)][_0x372d0c(0xd1)](_0x4903c1)[_0x372d0c(0xeb)](_0x372d0c(0xbc),this),this[_0x372d0c(0x11e)]=new _0x227480(this[_0x372d0c(0xa8)][_0x372d0c(0x101)]),this[_0x372d0c(0xb8)]=new _0x23e5e8(this[_0x372d0c(0xa8)][_0x372d0c(0x101)]),this[_0x372d0c(0x11e)][_0x372d0c(0x112)](),this[_0x372d0c(0x11e)][_0x372d0c(0xb5)](this[_0x372d0c(0xb8)]);}[_0x27decb(0xc5)](_0x35bda3){const _0x3f01ce=_0x27decb;this[_0x3f01ce(0xdd)]=_0x35bda3;const _0x3bff1f=this[_0x3f01ce(0xa8)][_0x3f01ce(0xc7)][_0x3f01ce(0xd1)](_0x296488),_0x338541=this[_0x3f01ce(0xb8)];if(_0x3bff1f[_0x3f01ce(0x100)]=_0x35bda3,this[_0x3f01ce(0x116)])throw new _0x46257e(_0x3f01ce(0xd5),this);this[_0x3f01ce(0x116)]=!0x0,this[_0x3f01ce(0xd7)](_0x3bff1f,_0x3f01ce(0x120),()=>{const _0x4b6a73=_0x3f01ce;this[_0x4b6a73(0xc8)](),this[_0x4b6a73(0xd7)](_0x3bff1f,_0x4b6a73(0xbe),_0x4f798e=>{const _0x3ac13c=_0x4b6a73;_0x4f798e[_0x3ac13c(0xcc)](),this[_0x3ac13c(0xc5)](_0x35bda3);});}),_0x3bff1f[_0x3f01ce(0xaa)]({'viewClass':_0x3f01ce(0xad),'spaceBetweenItems':0x5});const _0x5d5590=_0x3869e9=>{const _0x351c7c=_0x3f01ce,_0x5c668e=new _0x2c64dc(this[_0x351c7c(0xa8)][_0x351c7c(0x101)]);_0x3bff1f[_0x351c7c(0xfa)](_0x3869e9,_0x5c668e),this[_0x351c7c(0xd8)][_0x351c7c(0xae)](_0x3869e9,_0x5c668e),_0x5c668e[_0x351c7c(0xf2)](_0x351c7c(0x121),_0x351c7c(0xac),_0x351c7c(0xf5))['to'](_0x3869e9[_0x351c7c(0xb9)],_0x351c7c(0x121),_0x351c7c(0xba),_0x351c7c(0xf7)),_0x5c668e['on'](_0x351c7c(0x114),()=>{const _0x3f82cb=_0x351c7c;this[_0x3f82cb(0xf3)][_0x3f82cb(0xfb)](),_0x338541[_0x3f82cb(0xbf)][_0x3f82cb(0xef)]!==_0x3869e9[_0x3f82cb(0xb9)]?(this[_0x3f82cb(0xe9)](_0x3869e9),_0x3869e9[_0x3f82cb(0xb9)][_0x3f82cb(0xd2)][_0x3f82cb(0x103)](),this[_0x3f82cb(0xdb)](_0x3869e9)):this[_0x3f82cb(0xdb)](null);});};for(const _0x34a065 of _0x35bda3)_0x5d5590(_0x34a065);this[_0x3f01ce(0xd7)](_0x35bda3,_0x3f01ce(0xb5),(_0x3c05b3,_0x327855)=>{_0x5d5590(_0x327855);}),this[_0x3f01ce(0xd7)](_0x35bda3,_0x3f01ce(0x10f),(_0x10c579,_0x1791fe,_0x411630)=>{const _0x1b0658=_0x3f01ce;this[_0x1b0658(0xd8)][_0x1b0658(0xd1)](_0x1791fe)[_0x1b0658(0xc3)](),this[_0x1b0658(0xd8)][_0x1b0658(0xda)](_0x1791fe),_0x3bff1f[_0x1b0658(0x11a)]({'removedAnnotation':_0x1791fe,'previousAnnotation':_0x35bda3[_0x1b0658(0xd1)](_0x411630-0x1),'nextAnnotation':_0x35bda3[_0x1b0658(0xd1)](_0x411630+0x1)}),_0x1791fe===this[_0x1b0658(0xdc)]&&this[_0x1b0658(0xdb)](null);},{'priority':_0x3f01ce(0xb6)}),this[_0x3f01ce(0xd7)](_0x35bda3,_0x3f01ce(0x103),(_0x44256f,_0x3db753)=>{const _0x4d0afb=_0x3f01ce;this[_0x4d0afb(0xdb)](_0x3db753);}),this[_0x3f01ce(0xd7)](_0x35bda3,_0x3f01ce(0x123),()=>{const _0x11f5b5=_0x3f01ce;this[_0x11f5b5(0xdb)](null);}),this[_0x3f01ce(0xc6)][_0x3f01ce(0xd7)](document,_0x3f01ce(0xfd),(_0x1dd130,_0x5ea399)=>{const _0x30bd67=_0x3f01ce;_0x5ea399[_0x30bd67(0xc1)]===_0xfd0eae[_0x30bd67(0x10d)]&&_0x338541[_0x30bd67(0x11b)]&&(this[_0x30bd67(0xf3)][_0x30bd67(0xb5)](_0x338541[_0x30bd67(0xbf)][_0x30bd67(0xef)]),this[_0x30bd67(0x111)](),_0x5ea399[_0x30bd67(0xd4)](),_0x5ea399[_0x30bd67(0xcf)]());}),this[_0x3f01ce(0xc6)][_0x3f01ce(0xd7)](document,_0x3f01ce(0xca),(_0xd8b300,_0x1ef408)=>{const _0x565b8c=_0x3f01ce,_0x27e1a4=_0x1ef408[_0x565b8c(0xc0)];_0x338541[_0x565b8c(0x11b)]&&_0x338541[_0x565b8c(0xd2)][_0x565b8c(0xe7)](_0x27e1a4)||_0x3bff1f[_0x565b8c(0xb9)][_0x565b8c(0xd2)][_0x565b8c(0xe7)](_0x27e1a4)||_0xd8b300[_0x565b8c(0x117)]||this[_0x565b8c(0xdc)]&&this[_0x565b8c(0xdc)][_0x565b8c(0x108)][_0x565b8c(0x104)](_0x5872ea=>_0x5872ea[_0x565b8c(0xe7)](_0x27e1a4))||(this[_0x565b8c(0xf3)][_0x565b8c(0xfb)](),this[_0x565b8c(0x111)](),this[_0x565b8c(0xdb)](null));});const _0x4bdd79=this[_0x3f01ce(0xa8)]instanceof _0x395c19?this[_0x3f01ce(0xa8)][_0x3f01ce(0x10c)]:new _0x158688([this[_0x3f01ce(0xa8)]]);for(const _0x3b60b9 of _0x4bdd79)this[_0x3f01ce(0x113)](_0x3b60b9);this[_0x3f01ce(0xd7)](_0x4bdd79,_0x3f01ce(0xb5),(_0x3a4e1d,_0x1476e0)=>{const _0x809113=_0x3f01ce;this[_0x809113(0xd7)](_0x1476e0,_0x809113(0xb4),()=>{const _0x3804b7=_0x809113;this[_0x3804b7(0x113)](_0x1476e0);});}),this[_0x3f01ce(0xd7)](_0x4bdd79,_0x3f01ce(0x10f),(_0x3c3fec,_0x5757c5)=>{const _0x1e38b7=_0x3f01ce;_0x5757c5[_0x1e38b7(0xc7)][_0x1e38b7(0x10a)](_0x1e38b7(0xd6))&&this[_0x1e38b7(0xb1)](_0x5757c5[_0x1e38b7(0xc7)][_0x1e38b7(0xd1)](_0x1e38b7(0xd6)));}),window[_0x3f01ce(0x118)](_0x3f01ce(0x107),this[_0x3f01ce(0xee)]),this[_0x3f01ce(0xe2)]();}[_0x27decb(0xdb)](_0x20a546){const _0x3f2af6=_0x27decb;if(_0x20a546===this[_0x3f2af6(0xdc)])return;const _0x256a0d=this[_0x3f2af6(0xa8)][_0x3f2af6(0xc7)][_0x3f2af6(0xd1)](_0x296488);if(_0x256a0d[_0x3f2af6(0xa9)]({'blurredAnnotation':this[_0x3f2af6(0xdc)],'activatedAnnotation':_0x20a546,'disableAnimationOnActivatedAnnotation':!0x0}),_0x20a546)_0x256a0d[_0x3f2af6(0x11f)](_0x20a546)?this[_0x3f2af6(0xe9)](_0x20a546):this[_0x3f2af6(0x111)]();else this[_0x3f2af6(0x111)]();this[_0x3f2af6(0xdc)]=_0x20a546;}[_0x27decb(0xc8)](){const _0x19737e=_0x27decb;if(!this[_0x19737e(0x116)])throw new _0x46257e(_0x19737e(0xf1),this);this[_0x19737e(0xdb)](null);const _0x4baa88=this[_0x19737e(0xa8)][_0x19737e(0xc7)][_0x19737e(0xd1)](_0x296488);this[_0x19737e(0x111)](),Array[_0x19737e(0xc2)](this[_0x19737e(0xd8)][_0x19737e(0xce)](),_0x1fc862=>_0x1fc862[_0x19737e(0xc3)]()),this[_0x19737e(0xd8)][_0x19737e(0xfb)](),_0x4baa88[_0x19737e(0xc9)](this[_0x19737e(0xdd)]),this[_0x19737e(0xf0)](),this[_0x19737e(0xc6)][_0x19737e(0xf0)](),this[_0x19737e(0xa8)]instanceof _0x395c19&&this[_0x19737e(0xf0)](this[_0x19737e(0xa8)][_0x19737e(0x10c)]);for(const _0xf291f3 of Array[_0x19737e(0xc2)](this[_0x19737e(0xe3)]))this[_0x19737e(0xb1)](_0xf291f3);window[_0x19737e(0x105)](_0x19737e(0x107),this[_0x19737e(0xee)]),this[_0x19737e(0xee)][_0x19737e(0x109)](),this[_0x19737e(0xcd)]=[],this[_0x19737e(0x116)]=!0x1,this[_0x19737e(0xdd)]=null;}[_0x27decb(0xc3)](){const _0x5a6c0b=_0x27decb;this[_0x5a6c0b(0x116)]&&this[_0x5a6c0b(0xc8)](),this[_0x5a6c0b(0x11e)][_0x5a6c0b(0xfe)]();}[_0x27decb(0x113)](_0x5e3404){const _0x2abd32=_0x27decb;if(!_0x5e3404[_0x2abd32(0xc7)][_0x2abd32(0x10a)](_0x2abd32(0xd6)))return;const _0x256b54=_0x5e3404[_0x2abd32(0xc7)][_0x2abd32(0xd1)](_0x2abd32(0xd6)),_0x3bc44c=this[_0x2abd32(0xa8)][_0x2abd32(0xc7)][_0x2abd32(0xd1)](_0x296488),_0x5ed196=this[_0x2abd32(0xdd)],_0x50d756=this[_0x2abd32(0xb8)],_0x363f20=()=>{const _0x35c1f1=_0x2abd32,_0x149fe4=_0x256b54[_0x35c1f1(0xe6)]({'annotations':this[_0x35c1f1(0xdd)],'activeAnnotation':this[_0x35c1f1(0xdc)]});this[_0x35c1f1(0xf8)](_0x149fe4),this[_0x35c1f1(0xdb)](_0x149fe4[0x0]||null);};this[_0x2abd32(0xd7)](_0x256b54,_0x2abd32(0xa9),_0x363f20),this[_0x2abd32(0xd7)](_0x256b54,_0x2abd32(0x123),(_0x45d213,{isAnnotationTracked:_0x340bd9})=>{const _0xd7db4d=_0x2abd32;this[_0xd7db4d(0xdc)]&&_0x340bd9(this[_0xd7db4d(0xdc)])&&(this[_0xd7db4d(0xf8)]([]),this[_0xd7db4d(0xdb)](null));}),this[_0x2abd32(0xd7)](_0x256b54,_0x2abd32(0xff),()=>{const _0x13c7ff=_0x2abd32;this[_0x13c7ff(0xee)]();}),this[_0x2abd32(0xd7)](_0x5ed196,_0x2abd32(0x123),_0x287f50=>{const _0x46bbed=_0x2abd32;_0x256b54[_0x46bbed(0x110)]()&&_0x287f50[_0x46bbed(0xf4)]();},{'priority':_0x2abd32(0xf6)}),this[_0x2abd32(0xd7)](this[_0x2abd32(0xc6)],_0x2abd32(0xca),(_0x4e5696,_0x27da79)=>{const _0x3bd0b1=_0x2abd32,_0x20c8b7=_0x27da79[_0x3bd0b1(0xc0)];_0x50d756[_0x3bd0b1(0x11b)]&&_0x50d756[_0x3bd0b1(0xd2)][_0x3bd0b1(0xe7)](_0x20c8b7)||_0x3bc44c[_0x3bd0b1(0xb9)][_0x3bd0b1(0xd2)][_0x3bd0b1(0xe7)](_0x20c8b7)||this[_0x3bd0b1(0xdc)]&&_0x256b54[_0x3bd0b1(0x110)]()&&(_0x363f20(),_0x4e5696[_0x3bd0b1(0x117)]=!0x0);},{'priority':_0x2abd32(0xf6)}),this[_0x2abd32(0xe3)][_0x2abd32(0xb5)](_0x256b54);}[_0x27decb(0xb1)](_0x440876){const _0x44063f=_0x27decb;_0x440876&&(this[_0x44063f(0xf0)](_0x440876),this[_0x44063f(0xe3)][_0x44063f(0x10f)](_0x440876));}[_0x27decb(0xf8)](_0xcec7f5){const _0x2061c2=_0x27decb;for(const _0x3d10eb of this[_0x2061c2(0xcd)])_0xcec7f5[_0x2061c2(0xe0)](_0x3d10eb)||this[_0x2061c2(0xf3)][_0x2061c2(0xda)](_0x3d10eb[_0x2061c2(0xb9)]);this[_0x2061c2(0xcd)]=_0xcec7f5;}[_0x27decb(0xe2)](){const _0x4c409f=_0x27decb,_0x2d3ecd=this[_0x4c409f(0xb8)];this[_0x4c409f(0xa8)][_0x4c409f(0xc7)][_0x4c409f(0xd1)](_0x4c409f(0xe1))[_0x4c409f(0xed)](),this[_0x4c409f(0xdd)][_0x4c409f(0xde)](),_0x2d3ecd[_0x4c409f(0x11b)]&&this[_0x4c409f(0xbd)]();}[_0x27decb(0xe9)](_0x40c226){const _0xa26e06=_0x27decb;if(this[_0xa26e06(0xf3)][_0xa26e06(0x10a)](_0x40c226[_0xa26e06(0xb9)]))return;const _0x431fe8=this[_0xa26e06(0xb8)][_0xa26e06(0xbf)][_0xa26e06(0xef)];_0x431fe8!==_0x40c226[_0xa26e06(0xb9)]?(_0x431fe8&&this[_0xa26e06(0xb3)](_0x431fe8),this[_0xa26e06(0xbb)](_0x40c226[_0xa26e06(0xb9)]),this[_0xa26e06(0xb8)][_0xa26e06(0xbf)][_0xa26e06(0xfb)](),this[_0xa26e06(0xb8)][_0xa26e06(0xbf)][_0xa26e06(0xb5)](_0x40c226[_0xa26e06(0xb9)]),this[_0xa26e06(0xbd)]()):this[_0xa26e06(0xbd)]();}[_0x27decb(0xbd)](){const _0x5dc0c7=_0x27decb,_0x15f18f=this[_0x5dc0c7(0xb8)][_0x5dc0c7(0xbf)][_0x5dc0c7(0xef)],_0x5871bb=_0x15f18f&&this[_0x5dc0c7(0xdd)][_0x5dc0c7(0xa7)](_0x15f18f);if(!_0x5871bb||!this[_0x5dc0c7(0xd8)][_0x5dc0c7(0x10a)](_0x5871bb))return;const _0x26dabd=this[_0x5dc0c7(0xd8)][_0x5dc0c7(0xd1)](_0x5871bb)[_0x5dc0c7(0xd2)],_0x42651d=(function(){const _0x387761=_0x5dc0c7,_0x2fbfa8=_0x23e5e8[_0x387761(0x106)];return[_0x2fbfa8[_0x387761(0x122)],_0x2fbfa8[_0x387761(0xd0)],_0x2fbfa8[_0x387761(0xf9)],_0x2fbfa8[_0x387761(0x11d)],_0x2fbfa8[_0x387761(0x11c)],_0x2fbfa8[_0x387761(0x115)]];}());this[_0x5dc0c7(0xb8)][_0x5dc0c7(0xea)]({'target':_0x26dabd,'positions':_0x42651d});}[_0x27decb(0x111)](){const _0xaa853a=_0x27decb,_0xb1294d=this[_0xaa853a(0xb8)],_0x3cdedf=_0xb1294d[_0xaa853a(0xbf)][_0xaa853a(0xef)];_0x3cdedf&&(this[_0xaa853a(0xb3)](_0x3cdedf),_0xb1294d[_0xaa853a(0xc4)](),_0xb1294d[_0xaa853a(0xbf)][_0xaa853a(0xfb)]());}[_0x27decb(0xbb)](_0x156557){const _0x242944=_0x27decb;this[_0x242944(0xd7)](_0x156557,_0x242944(0x10e),()=>this[_0x242944(0xbd)]()),this[_0x242944(0xd7)](_0x156557,_0x242944(0xd3),(_0x445eeb,_0x397ff3)=>{const _0x375834=_0x242944;this[_0x375834(0xf3)][_0x375834(0xb5)](_0x156557),this[_0x375834(0x111)](),_0x397ff3();});}[_0x27decb(0xb3)](_0x22414a){const _0x3bdaf1=_0x27decb;this[_0x3bdaf1(0xf0)](_0x22414a);}}
|
|
23
|
+
const _0x584b44=_0x44d3;(function(_0x4b6047,_0x151179){const _0x44c7ab=_0x44d3,_0x392479=_0x4b6047();while(!![]){try{const _0x31dd5e=parseInt(_0x44c7ab(0x1e6))/0x1+parseInt(_0x44c7ab(0x259))/0x2+-parseInt(_0x44c7ab(0x224))/0x3+parseInt(_0x44c7ab(0x25c))/0x4+parseInt(_0x44c7ab(0x1fc))/0x5+parseInt(_0x44c7ab(0x21c))/0x6+parseInt(_0x44c7ab(0x206))/0x7*(-parseInt(_0x44c7ab(0x241))/0x8);if(_0x31dd5e===_0x151179)break;else _0x392479['push'](_0x392479['shift']());}catch(_0x5d60b0){_0x392479['push'](_0x392479['shift']());}}}(_0x5bab,0x83c7e));import{ContextPlugin as _0xfc7762,Context as _0x5dfeea}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x3642c3}from'./annotationsuis.js';import{Sidebar as _0x3d5a36}from'./sidebar.js';function _0x44d3(_0x4c5fcc,_0x5cbb00){const _0x5bab9c=_0x5bab();return _0x44d3=function(_0x44d30a,_0x421ef3){_0x44d30a=_0x44d30a-0x1e4;let _0x33ec67=_0x5bab9c[_0x44d30a];return _0x33ec67;},_0x44d3(_0x4c5fcc,_0x5cbb00);}import{AnnotationCounterButtonView as _0x761da0}from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x14a5d4,BodyCollection as _0xec7de0}from'ckeditor5/src/ui.js';import{CKEditorError as _0x3ea65c,DomEmitterMixin as _0x47ccab,keyCodes as _0x40e0b3,Collection as _0x53ca79}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x5439de}from'es-toolkit/compat';export class NarrowSidebar extends _0xfc7762{[_0x584b44(0x207)];[_0x584b44(0x222)];[_0x584b44(0x1e4)];[_0x584b44(0x253)];[_0x584b44(0x239)];[_0x584b44(0x200)];[_0x584b44(0x246)];[_0x584b44(0x22c)];static get[_0x584b44(0x219)](){return[_0x3d5a36,_0x3642c3];}static get[_0x584b44(0x23d)](){const _0x37fe39=_0x584b44;return _0x37fe39(0x245);}static get[_0x584b44(0x1e5)](){return!0x0;}static get[_0x584b44(0x230)](){return!0x0;}constructor(_0x3319a7){const _0x1966fd=_0x584b44;super(_0x3319a7),this[_0x1966fd(0x207)]=!0x1,this[_0x1966fd(0x1e4)]=new Set(),this[_0x1966fd(0x253)]=new(_0x47ccab())(),this[_0x1966fd(0x239)]=new Map(),this[_0x1966fd(0x22b)](_0x1966fd(0x1e7),null),this[_0x1966fd(0x222)]=null,this[_0x1966fd(0x200)]=[],this[_0x1966fd(0x246)]=new _0x53ca79(),this[_0x1966fd(0x22c)]=_0x5439de(()=>{const _0x32301c=_0x1966fd;this[_0x32301c(0x24f)]();},0xfa,{'leading':!0x1});}[_0x584b44(0x1f3)](){const _0x147888=_0x584b44;this[_0x147888(0x254)][_0x147888(0x218)][_0x147888(0x1f6)](_0x3642c3)[_0x147888(0x25d)](_0x147888(0x232),this),this[_0x147888(0x23e)]=new _0xec7de0(this[_0x147888(0x254)][_0x147888(0x22e)]),this[_0x147888(0x238)]=new _0x14a5d4(this[_0x147888(0x254)][_0x147888(0x22e)]),this[_0x147888(0x23e)][_0x147888(0x1f5)](),this[_0x147888(0x23e)][_0x147888(0x1fb)](this[_0x147888(0x238)]);}[_0x584b44(0x21f)](_0x293345){const _0x132b3d=_0x584b44;this[_0x132b3d(0x222)]=_0x293345;const _0x3ef322=this[_0x132b3d(0x254)][_0x132b3d(0x218)][_0x132b3d(0x1f6)](_0x3d5a36),_0xe01e50=this[_0x132b3d(0x238)];if(_0x3ef322[_0x132b3d(0x252)]=_0x293345,this[_0x132b3d(0x207)])throw new _0x3ea65c(_0x132b3d(0x23b),this);this[_0x132b3d(0x207)]=!0x0,this[_0x132b3d(0x1e8)](_0x3ef322,_0x132b3d(0x215),()=>{const _0x6ba154=_0x132b3d;this[_0x6ba154(0x234)](),this[_0x6ba154(0x1e8)](_0x3ef322,_0x6ba154(0x203),_0x4a8ca2=>{const _0x82bcea=_0x6ba154;_0x4a8ca2[_0x82bcea(0x20a)](),this[_0x82bcea(0x21f)](_0x293345);});}),_0x3ef322[_0x132b3d(0x22a)]({'viewClass':_0x132b3d(0x225),'spaceBetweenItems':0x5});const _0x5c985f=_0xf6c3f=>{const _0x1c3524=_0x132b3d,_0x1b9075=new _0x761da0(this[_0x1c3524(0x254)][_0x1c3524(0x22e)]);_0x3ef322[_0x1c3524(0x223)](_0xf6c3f,_0x1b9075),this[_0x1c3524(0x239)][_0x1c3524(0x22b)](_0xf6c3f,_0x1b9075),_0x1b9075[_0x1c3524(0x1ed)](_0x1c3524(0x25e),_0x1c3524(0x204),_0x1c3524(0x236))['to'](_0xf6c3f[_0x1c3524(0x1e9)],_0x1c3524(0x25e),_0x1c3524(0x21e),_0x1c3524(0x20e)),_0x1b9075['on'](_0x1c3524(0x212),()=>{const _0x4253f0=_0x1c3524;this[_0x4253f0(0x1e4)][_0x4253f0(0x213)](),_0xe01e50[_0x4253f0(0x20b)][_0x4253f0(0x229)]!==_0xf6c3f[_0x4253f0(0x1e9)]?(this[_0x4253f0(0x24e)](_0xf6c3f),_0xf6c3f[_0x4253f0(0x1e9)][_0x4253f0(0x220)][_0x4253f0(0x210)](),this[_0x4253f0(0x249)](_0xf6c3f)):this[_0x4253f0(0x249)](null);});};for(const _0x5a5125 of _0x293345)_0x5c985f(_0x5a5125);this[_0x132b3d(0x1e8)](_0x293345,_0x132b3d(0x1fb),(_0x484b33,_0x41a97c)=>{_0x5c985f(_0x41a97c);}),this[_0x132b3d(0x1e8)](_0x293345,_0x132b3d(0x243),(_0x104367,_0x364df5,_0x1d0067)=>{const _0x59c65a=_0x132b3d;this[_0x59c65a(0x239)][_0x59c65a(0x1f6)](_0x364df5)[_0x59c65a(0x205)](),this[_0x59c65a(0x239)][_0x59c65a(0x20d)](_0x364df5),_0x3ef322[_0x59c65a(0x21d)]({'removedAnnotation':_0x364df5,'previousAnnotation':_0x293345[_0x59c65a(0x1f6)](_0x1d0067-0x1),'nextAnnotation':_0x293345[_0x59c65a(0x1f6)](_0x1d0067+0x1)}),_0x364df5===this[_0x59c65a(0x1e7)]&&this[_0x59c65a(0x249)](null);},{'priority':_0x132b3d(0x1eb)}),this[_0x132b3d(0x1e8)](_0x293345,_0x132b3d(0x210),(_0x3c6099,_0x831a9d)=>{const _0x5a6430=_0x132b3d;this[_0x5a6430(0x249)](_0x831a9d);}),this[_0x132b3d(0x1e8)](_0x293345,_0x132b3d(0x22d),()=>{const _0x3465be=_0x132b3d;this[_0x3465be(0x249)](null);}),this[_0x132b3d(0x253)][_0x132b3d(0x1e8)](document,_0x132b3d(0x24a),(_0x4d7b78,_0x45ae6b)=>{const _0x21848b=_0x132b3d;_0x45ae6b[_0x21848b(0x242)]===_0x40e0b3[_0x21848b(0x1f8)]&&_0xe01e50[_0x21848b(0x257)]&&(this[_0x21848b(0x1e4)][_0x21848b(0x1fb)](_0xe01e50[_0x21848b(0x20b)][_0x21848b(0x229)]),this[_0x21848b(0x1f4)](),_0x45ae6b[_0x21848b(0x221)](),_0x45ae6b[_0x21848b(0x256)]());}),this[_0x132b3d(0x253)][_0x132b3d(0x1e8)](document,_0x132b3d(0x208),(_0x4eb8fe,_0x15f416)=>{const _0x519b01=_0x132b3d,_0x440d08=_0x15f416[_0x519b01(0x1ea)];_0xe01e50[_0x519b01(0x257)]&&_0xe01e50[_0x519b01(0x220)][_0x519b01(0x24b)](_0x440d08)||_0x3ef322[_0x519b01(0x1e9)][_0x519b01(0x220)][_0x519b01(0x24b)](_0x440d08)||_0x4eb8fe[_0x519b01(0x1ec)]||this[_0x519b01(0x1e7)]&&this[_0x519b01(0x1e7)][_0x519b01(0x211)][_0x519b01(0x258)](_0x10ff30=>_0x10ff30[_0x519b01(0x24b)](_0x440d08))||(this[_0x519b01(0x1e4)][_0x519b01(0x213)](),this[_0x519b01(0x1f4)](),this[_0x519b01(0x249)](null));});const _0xa245f7=this[_0x132b3d(0x254)]instanceof _0x5dfeea?this[_0x132b3d(0x254)][_0x132b3d(0x25b)]:new _0x53ca79([this[_0x132b3d(0x254)]]);for(const _0x56d964 of _0xa245f7)this[_0x132b3d(0x248)](_0x56d964);this[_0x132b3d(0x1e8)](_0xa245f7,_0x132b3d(0x1fb),(_0x4e1423,_0xe69507)=>{const _0x394668=_0x132b3d;this[_0x394668(0x1e8)](_0xe69507,_0x394668(0x228),()=>{const _0x25d569=_0x394668;this[_0x25d569(0x248)](_0xe69507);});}),this[_0x132b3d(0x1e8)](_0xa245f7,_0x132b3d(0x243),(_0x16e385,_0x22be2d)=>{const _0x1e8507=_0x132b3d;_0x22be2d[_0x1e8507(0x218)][_0x1e8507(0x214)](_0x1e8507(0x1f7))&&this[_0x1e8507(0x1fa)](_0x22be2d[_0x1e8507(0x218)][_0x1e8507(0x1f6)](_0x1e8507(0x1f7)));}),window[_0x132b3d(0x201)](_0x132b3d(0x1ff),this[_0x132b3d(0x22c)]),this[_0x132b3d(0x24f)]();}[_0x584b44(0x249)](_0x28d32){const _0x40e418=_0x584b44;if(_0x28d32===this[_0x40e418(0x1e7)])return;const _0x46ae37=this[_0x40e418(0x254)][_0x40e418(0x218)][_0x40e418(0x1f6)](_0x3d5a36);if(_0x46ae37[_0x40e418(0x231)]({'blurredAnnotation':this[_0x40e418(0x1e7)],'activatedAnnotation':_0x28d32,'disableAnimationOnActivatedAnnotation':!0x0}),_0x28d32)_0x46ae37[_0x40e418(0x23a)](_0x28d32)?this[_0x40e418(0x24e)](_0x28d32):this[_0x40e418(0x1f4)]();else this[_0x40e418(0x1f4)]();this[_0x40e418(0x1e7)]=_0x28d32;}[_0x584b44(0x234)](){const _0x41a6d1=_0x584b44;if(!this[_0x41a6d1(0x207)])throw new _0x3ea65c(_0x41a6d1(0x1ef),this);this[_0x41a6d1(0x249)](null);const _0x3ada6c=this[_0x41a6d1(0x254)][_0x41a6d1(0x218)][_0x41a6d1(0x1f6)](_0x3d5a36);this[_0x41a6d1(0x1f4)](),Array[_0x41a6d1(0x21b)](this[_0x41a6d1(0x239)][_0x41a6d1(0x217)](),_0x3cd0cf=>_0x3cd0cf[_0x41a6d1(0x205)]()),this[_0x41a6d1(0x239)][_0x41a6d1(0x213)](),_0x3ada6c[_0x41a6d1(0x20f)](this[_0x41a6d1(0x222)]),this[_0x41a6d1(0x1fe)](),this[_0x41a6d1(0x253)][_0x41a6d1(0x1fe)](),this[_0x41a6d1(0x254)]instanceof _0x5dfeea&&this[_0x41a6d1(0x1fe)](this[_0x41a6d1(0x254)][_0x41a6d1(0x25b)]);for(const _0x1add5e of Array[_0x41a6d1(0x21b)](this[_0x41a6d1(0x246)]))this[_0x41a6d1(0x1fa)](_0x1add5e);window[_0x41a6d1(0x20c)](_0x41a6d1(0x1ff),this[_0x41a6d1(0x22c)]),this[_0x41a6d1(0x22c)][_0x41a6d1(0x23c)](),this[_0x41a6d1(0x200)]=[],this[_0x41a6d1(0x207)]=!0x1,this[_0x41a6d1(0x222)]=null;}[_0x584b44(0x205)](){const _0x578824=_0x584b44;this[_0x578824(0x207)]&&this[_0x578824(0x234)](),this[_0x578824(0x23e)][_0x578824(0x1f1)]();}[_0x584b44(0x248)](_0x55fcec){const _0x409107=_0x584b44;if(!_0x55fcec[_0x409107(0x218)][_0x409107(0x214)](_0x409107(0x1f7)))return;const _0x18da27=_0x55fcec[_0x409107(0x218)][_0x409107(0x1f6)](_0x409107(0x1f7)),_0x4cdf49=this[_0x409107(0x254)][_0x409107(0x218)][_0x409107(0x1f6)](_0x3d5a36),_0x66f6d9=this[_0x409107(0x222)],_0x532823=this[_0x409107(0x238)],_0xcf66dc=()=>{const _0x5270ee=_0x409107,_0x59ab03=_0x18da27[_0x5270ee(0x24d)]({'annotations':this[_0x5270ee(0x222)],'activeAnnotation':this[_0x5270ee(0x1e7)]});this[_0x5270ee(0x1ee)](_0x59ab03),this[_0x5270ee(0x249)](_0x59ab03[0x0]||null);};this[_0x409107(0x1e8)](_0x18da27,_0x409107(0x231),_0xcf66dc),this[_0x409107(0x1e8)](_0x18da27,_0x409107(0x22d),(_0x4eb31b,{isAnnotationTracked:_0x3fda98})=>{const _0xe81a45=_0x409107;this[_0xe81a45(0x1e7)]&&_0x3fda98(this[_0xe81a45(0x1e7)])&&(this[_0xe81a45(0x1ee)]([]),this[_0xe81a45(0x249)](null));}),this[_0x409107(0x1e8)](_0x18da27,_0x409107(0x21a),()=>{const _0x2beef7=_0x409107;this[_0x2beef7(0x22c)]();}),this[_0x409107(0x1e8)](_0x66f6d9,_0x409107(0x22d),_0x17b985=>{const _0xdde13d=_0x409107;_0x18da27[_0xdde13d(0x240)]()&&_0x17b985[_0xdde13d(0x1f2)]();},{'priority':_0x409107(0x237)}),this[_0x409107(0x1e8)](this[_0x409107(0x253)],_0x409107(0x208),(_0x1595a5,_0x19be66)=>{const _0x4815f7=_0x409107,_0x5229f2=_0x19be66[_0x4815f7(0x1ea)];_0x532823[_0x4815f7(0x257)]&&_0x532823[_0x4815f7(0x220)][_0x4815f7(0x24b)](_0x5229f2)||_0x4cdf49[_0x4815f7(0x1e9)][_0x4815f7(0x220)][_0x4815f7(0x24b)](_0x5229f2)||this[_0x4815f7(0x1e7)]&&_0x18da27[_0x4815f7(0x240)]()&&(_0xcf66dc(),_0x1595a5[_0x4815f7(0x1ec)]=!0x0);},{'priority':_0x409107(0x237)}),this[_0x409107(0x246)][_0x409107(0x1fb)](_0x18da27);}[_0x584b44(0x1fa)](_0x2f1851){const _0x1fd8a9=_0x584b44;_0x2f1851&&(this[_0x1fd8a9(0x1fe)](_0x2f1851),this[_0x1fd8a9(0x246)][_0x1fd8a9(0x243)](_0x2f1851));}[_0x584b44(0x1ee)](_0x3d6c14){const _0xe74191=_0x584b44;for(const _0x552b25 of this[_0xe74191(0x200)])_0x3d6c14[_0xe74191(0x227)](_0x552b25)||this[_0xe74191(0x1e4)][_0xe74191(0x20d)](_0x552b25[_0xe74191(0x1e9)]);this[_0xe74191(0x200)]=_0x3d6c14;}[_0x584b44(0x24f)](){const _0x323486=_0x584b44,_0x548c30=this[_0x323486(0x238)];this[_0x323486(0x254)][_0x323486(0x218)][_0x323486(0x1f6)](_0x323486(0x24c))[_0x323486(0x226)](),this[_0x323486(0x222)][_0x323486(0x1f9)](),_0x548c30[_0x323486(0x257)]&&this[_0x323486(0x22f)]();}[_0x584b44(0x24e)](_0x47cfcd){const _0x11cf82=_0x584b44;if(this[_0x11cf82(0x1e4)][_0x11cf82(0x214)](_0x47cfcd[_0x11cf82(0x1e9)]))return;const _0x1d34a4=this[_0x11cf82(0x238)][_0x11cf82(0x20b)][_0x11cf82(0x229)];_0x1d34a4!==_0x47cfcd[_0x11cf82(0x1e9)]?(_0x1d34a4&&this[_0x11cf82(0x255)](_0x1d34a4),this[_0x11cf82(0x250)](_0x47cfcd[_0x11cf82(0x1e9)]),this[_0x11cf82(0x238)][_0x11cf82(0x20b)][_0x11cf82(0x213)](),this[_0x11cf82(0x238)][_0x11cf82(0x20b)][_0x11cf82(0x1fb)](_0x47cfcd[_0x11cf82(0x1e9)]),this[_0x11cf82(0x22f)]()):this[_0x11cf82(0x22f)]();}[_0x584b44(0x22f)](){const _0x488b5f=_0x584b44,_0x4040fa=this[_0x488b5f(0x238)][_0x488b5f(0x20b)][_0x488b5f(0x229)],_0xd45472=_0x4040fa&&this[_0x488b5f(0x222)][_0x488b5f(0x233)](_0x4040fa);if(!_0xd45472||!this[_0x488b5f(0x239)][_0x488b5f(0x214)](_0xd45472))return;const _0x328175=this[_0x488b5f(0x239)][_0x488b5f(0x1f6)](_0xd45472)[_0x488b5f(0x220)],_0x42c5c0=(function(){const _0xd572bb=_0x488b5f,_0x441235=_0x14a5d4[_0xd572bb(0x216)];return[_0x441235[_0xd572bb(0x23f)],_0x441235[_0xd572bb(0x1f0)],_0x441235[_0xd572bb(0x244)],_0x441235[_0xd572bb(0x247)],_0x441235[_0xd572bb(0x25a)],_0x441235[_0xd572bb(0x251)]];}());this[_0x488b5f(0x238)][_0x488b5f(0x1fd)]({'target':_0x328175,'positions':_0x42c5c0});}[_0x584b44(0x1f4)](){const _0x2a44b2=_0x584b44,_0x5a4cd6=this[_0x2a44b2(0x238)],_0x41026f=_0x5a4cd6[_0x2a44b2(0x20b)][_0x2a44b2(0x229)];_0x41026f&&(this[_0x2a44b2(0x255)](_0x41026f),_0x5a4cd6[_0x2a44b2(0x235)](),_0x5a4cd6[_0x2a44b2(0x20b)][_0x2a44b2(0x213)]());}[_0x584b44(0x250)](_0xa853ca){const _0x1227b6=_0x584b44;this[_0x1227b6(0x1e8)](_0xa853ca,_0x1227b6(0x202),()=>this[_0x1227b6(0x22f)]()),this[_0x1227b6(0x1e8)](_0xa853ca,_0x1227b6(0x209),(_0x23ba3c,_0x2784af)=>{const _0x32a5fa=_0x1227b6;this[_0x32a5fa(0x1e4)][_0x32a5fa(0x1fb)](_0xa853ca),this[_0x32a5fa(0x1f4)](),_0x2784af();});}[_0x584b44(0x255)](_0x5d0135){const _0x12d563=_0x584b44;this[_0x12d563(0x1fe)](_0x5d0135);}}function _0x5bab(){const _0x1e21b7=['_destroyEditorAnnotationsIntegration','add','1578820RjiHlU','pin','stopListening','resize','_selectedAnnotations','addEventListener','change:height','change:container','annotationType','destroy','18209177JUFmeT','isAttached','mousedown','Esc','off','content','removeEventListener','delete','length','_detachFromContainer','focus','focusableElements','execute','clear','has','set:container','defaultPositions','values','plugins','requires','uiUpdate','from','4926210ckorEr','rearrange','type','attach','element','stopPropagation','annotations','addAnnotation','318513eIrOjG','ck-sidebar--narrow','refreshVisibility','includes','ready','first','_attachToContainer','set','_refreshPositioningDebounced','blur','locale','_updateBalloonPosition','isPremiumPlugin','refresh','narrowSidebar','getByView','detach','unpin','number','high','balloonPanelView','_annotationToNarrowView','getSidebarItemView','narrowsidebar-attach-already-attached','cancel','pluginName','bodyCollection','southArrowNorthEast','hasDomSelection','8epKnPU','keyCode','remove','southArrowNorth','NarrowSidebar','_editorAnnotations','northArrowSouth','_integrateWithEditorAnnotations','setActiveAnnotation','keydown','contains','Annotations','getOrderedSelectedAnnotations','_showBalloon','_refreshPositioning','_attachListeners','northArrowSouthWest','_annotations','_domEmitter','context','_detachListeners','preventDefault','isVisible','find','1427714LCRihj','southArrowNorthWest','editors','4082696KHJUpX','register','isDirty','_manuallyClosedAnnotationViews','isOfficialPlugin','375926wozCQQ','activeAnnotation','listenTo','view','target','low','preventClosingBalloon','bind','_setSelectedAnnotations','narrowsidebar-detach-not-attached','northArrowSouthEast','detachFromDom','stop','init','_hideBalloon','attachToDom','get','EditorAnnotations','esc','refreshPositioning'];_0x5bab=function(){return _0x1e21b7;};return _0x5bab();}
|