@ckeditor/ckeditor5-comments 47.6.0-alpha.2 → 47.6.0-alpha.3
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
|
+
(_0x2d0483=>{const {zh:{dictionary:_0x58e5f7,getPluralForm:_0x325a3a}}={'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':_0x269b16=>0x0}};_0x2d0483['zh']||={'dictionary':{},'getPluralForm':null},_0x2d0483['zh']['dictionary']=Object['assign'](_0x2d0483['zh']['dictionary'],_0x58e5f7),_0x2d0483['zh']['getPluralForm']=_0x325a3a;})(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.3",
|
|
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.3",
|
|
49
|
+
"@ckeditor/ckeditor5-collaboration-core": "47.6.0-alpha.3",
|
|
50
|
+
"@ckeditor/ckeditor5-core": "47.6.0-alpha.3",
|
|
51
|
+
"@ckeditor/ckeditor5-engine": "47.6.0-alpha.3",
|
|
52
|
+
"@ckeditor/ckeditor5-enter": "47.6.0-alpha.3",
|
|
53
|
+
"@ckeditor/ckeditor5-icons": "47.6.0-alpha.3",
|
|
54
|
+
"@ckeditor/ckeditor5-paragraph": "47.6.0-alpha.3",
|
|
55
|
+
"@ckeditor/ckeditor5-revision-history": "47.6.0-alpha.3",
|
|
56
|
+
"@ckeditor/ckeditor5-select-all": "47.6.0-alpha.3",
|
|
57
|
+
"@ckeditor/ckeditor5-source-editing": "47.6.0-alpha.3",
|
|
58
|
+
"@ckeditor/ckeditor5-theme-lark": "47.6.0-alpha.3",
|
|
59
|
+
"@ckeditor/ckeditor5-typing": "47.6.0-alpha.3",
|
|
60
|
+
"@ckeditor/ckeditor5-ui": "47.6.0-alpha.3",
|
|
61
|
+
"@ckeditor/ckeditor5-undo": "47.6.0-alpha.3",
|
|
62
|
+
"@ckeditor/ckeditor5-utils": "47.6.0-alpha.3",
|
|
63
|
+
"@ckeditor/ckeditor5-widget": "47.6.0-alpha.3",
|
|
64
|
+
"ckeditor5": "47.6.0-alpha.3",
|
|
65
|
+
"ckeditor5-collaboration": "47.6.0-alpha.3",
|
|
66
66
|
"es-toolkit": "1.39.5"
|
|
67
67
|
},
|
|
68
68
|
"types": "src/index.d.ts",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1b1c26=_0x281d;(function(_0x4f9c99,_0x4aa9a8){const _0x5aa281=_0x281d,_0x5ed494=_0x4f9c99();while(!![]){try{const _0xea200b=parseInt(_0x5aa281(0x1c3))/0x1*(parseInt(_0x5aa281(0x1af))/0x2)+-parseInt(_0x5aa281(0x1c0))/0x3+parseInt(_0x5aa281(0x1cb))/0x4*(parseInt(_0x5aa281(0x1ae))/0x5)+-parseInt(_0x5aa281(0x1c1))/0x6+-parseInt(_0x5aa281(0x1d7))/0x7+-parseInt(_0x5aa281(0x1d3))/0x8*(-parseInt(_0x5aa281(0x1ba))/0x9)+parseInt(_0x5aa281(0x1bd))/0xa*(-parseInt(_0x5aa281(0x1bf))/0xb);if(_0xea200b===_0x4aa9a8)break;else _0x5ed494['push'](_0x5ed494['shift']());}catch(_0x46ec24){_0x5ed494['push'](_0x5ed494['shift']());}}}(_0x487d,0x740c4));import{CKEditorError as _0x230e62,Rect as _0x54a423,Collection as _0x202ed0,ObservableMixin as _0x438741}from'ckeditor5/src/utils.js';function _0x281d(_0x178a88,_0xdbf34b){const _0x487df2=_0x487d();return _0x281d=function(_0x281d90,_0x5b4376){_0x281d90=_0x281d90-0x1aa;let _0x4c9907=_0x487df2[_0x281d90];return _0x4c9907;},_0x281d(_0x178a88,_0xdbf34b);}export class Annotation extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x438741(){[_0x1b1c26(0x1c4)];[_0x1b1c26(0x1b6)];[_0x1b1c26(0x1d8)];[_0x1b1c26(0x1ca)];constructor({view:_0x3d0aed,target:_0x53cd16,type:_0x223734,isVisible:_0x164884=!0x0}){const _0xdfdcce=_0x1b1c26;super(),this[_0xdfdcce(0x1c4)]=_0x3d0aed,this[_0xdfdcce(0x1c4)][_0xdfdcce(0x1ce)]||this[_0xdfdcce(0x1c4)][_0xdfdcce(0x1c6)](),this[_0xdfdcce(0x1d8)]=_0x223734,this[_0xdfdcce(0x1ca)]=_0x53cd16,Annotation[_0xdfdcce(0x1aa)](this[_0xdfdcce(0x1d4)]()),this[_0xdfdcce(0x1b6)]=new _0x202ed0([this[_0xdfdcce(0x1c4)][_0xdfdcce(0x1ce)]],{'idProperty':_0xdfdcce(0x1c2)}),this[_0xdfdcce(0x1b6)]['on'](_0xdfdcce(0x1d2),(_0x13696c,_0x3e2eb2)=>{const _0x2ae031=_0xdfdcce;this[_0x2ae031(0x1c4)][_0x2ae031(0x1d0)][_0x2ae031(0x1d2)](_0x3e2eb2);}),this[_0xdfdcce(0x1b6)]['on'](_0xdfdcce(0x1bc),(_0x537f4a,_0x98c74a)=>{const _0x1df19b=_0xdfdcce;this[_0x1df19b(0x1c4)][_0x1df19b(0x1d0)][_0x1df19b(0x1bc)](_0x98c74a);}),this[_0xdfdcce(0x1b2)](_0xdfdcce(0x1cc),_0x164884);}get[_0x1b1c26(0x1d6)](){const _0x2d9e75=_0x1b1c26;return _0x2d9e75(0x1ab)==typeof this[_0x2d9e75(0x1d8)]?this[_0x2d9e75(0x1d8)]():this[_0x2d9e75(0x1d8)];}get[_0x1b1c26(0x1b5)](){const _0x574c93=_0x1b1c26;return this[_0x574c93(0x1c4)][_0x574c93(0x1ac)];}get[_0x1b1c26(0x1c7)](){const _0x5d14f5=_0x1b1c26,_0xa9572d=this[_0x5d14f5(0x1d4)]();return Annotation[_0x5d14f5(0x1aa)](_0xa9572d),_0xa9572d;}get[_0x1b1c26(0x1b8)](){const _0x16bade=_0x1b1c26,_0x4ee642=this[_0x16bade(0x1c7)];if(null===_0x4ee642)return null;if(_0x4ee642 instanceof _0x54a423)return _0x4ee642;const _0x416d48=_0x4ee642[_0x16bade(0x1b1)](_0x476455=>function(_0x32f8a2){const _0x177774=_0x16bade,_0x3d1041=_0x32f8a2[_0x177774(0x1cf)];if(_0x3d1041)return!0x0;const _0x2da940=_0x32f8a2[_0x177774(0x1b4)]()[_0x177774(0x1bb)](0x0);return!!_0x2da940;}(_0x476455));return 0x0===_0x416d48[_0x16bade(0x1cd)]?null:new _0x54a423(_0x416d48[0x0][_0x16bade(0x1b4)]()[_0x16bade(0x1bb)](0x0));}get[_0x1b1c26(0x1c5)](){const _0x1942c8=_0x1b1c26;return this[_0x1942c8(0x1c4)][_0x1942c8(0x1c5)];}set[_0x1b1c26(0x1c5)](_0x151f84){const _0x5ae8b5=_0x1b1c26;this[_0x5ae8b5(0x1c4)][_0x5ae8b5(0x1c5)]=_0x151f84,this[_0x5ae8b5(0x1c4)][_0x5ae8b5(0x1ac)][_0x5ae8b5(0x1c5)]=_0x151f84;}[_0x1b1c26(0x1b0)](){const _0x27b051=_0x1b1c26;this[_0x27b051(0x1c4)][_0x27b051(0x1b8)]=this[_0x27b051(0x1b8)];}[_0x1b1c26(0x1d5)](){const _0x2ad2bb=_0x1b1c26;this[_0x2ad2bb(0x1b6)][_0x2ad2bb(0x1c9)](),this[_0x2ad2bb(0x1b6)][_0x2ad2bb(0x1b3)](),this[_0x2ad2bb(0x1c9)]();}[_0x1b1c26(0x1b9)](){const _0x240077=_0x1b1c26;this[_0x240077(0x1cc)]=!!this[_0x240077(0x1b8)];}static[_0x1b1c26(0x1aa)](_0x44fbae){const _0x12655d=_0x1b1c26;if(!(null===_0x44fbae||_0x44fbae instanceof _0x54a423||Array[_0x12655d(0x1ad)](_0x44fbae)&&_0x44fbae[_0x12655d(0x1d1)](_0x17b645=>g(_0x17b645))))throw new _0x230e62(_0x12655d(0x1c8),null,{'target':_0x44fbae});}[_0x1b1c26(0x1d4)](){const _0x100087=_0x1b1c26,_0xfefefa=_0x100087(0x1ab)==typeof this[_0x100087(0x1ca)]?this[_0x100087(0x1ca)]():this[_0x100087(0x1ca)];return g(_0xfefefa)?[_0xfefefa]:_0xfefefa;}}function _0x487d(){const _0x547de8=['stopListening','_target','4dzaIOY','isVisible','length','element','offsetParent','focusTracker','every','add','2919688NkiGrx','_getNormalizedTarget','destroy','type','2390122Clpxxx','_type','_assertCorrectTarget','function','mainView','isArray','911810tYvvsh','332cKDEzv','updateTargetRect','filter','set','clear','getClientRects','innerView','focusableElements','nodeType','targetRect','refreshVisibility','18HpvXGb','item','remove','10IemWpl','object','2903791vZzBkN','227790JTFFuY','496686gCwVZf','_id','1971pSnqex','view','isActive','render','target','annotation-invalid-target'];_0x487d=function(){return _0x547de8;};return _0x487d();}function g(_0x4939ee){const _0x47a239=_0x1b1c26;return null!==_0x4939ee&&_0x47a239(0x1be)==typeof _0x4939ee&&_0x47a239(0x1b7)in _0x4939ee&&0x1===_0x4939ee[_0x47a239(0x1b7)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6da05e=_0x729e;function _0x729e(_0x4731f4,_0x1cbac6){const _0x1af217=_0x1af2();return _0x729e=function(_0x729e3d,_0x2ca780){_0x729e3d=_0x729e3d-0xaa;let _0xeeec59=_0x1af217[_0x729e3d];return _0xeeec59;},_0x729e(_0x4731f4,_0x1cbac6);}(function(_0x13d6d1,_0x40c19b){const _0x1a54b8=_0x729e,_0x5d09c7=_0x13d6d1();while(!![]){try{const _0x563889=parseInt(_0x1a54b8(0xaa))/0x1+parseInt(_0x1a54b8(0xc8))/0x2+parseInt(_0x1a54b8(0xbd))/0x3*(-parseInt(_0x1a54b8(0xc2))/0x4)+-parseInt(_0x1a54b8(0xb1))/0x5*(parseInt(_0x1a54b8(0xbf))/0x6)+parseInt(_0x1a54b8(0xc1))/0x7+parseInt(_0x1a54b8(0xcd))/0x8*(-parseInt(_0x1a54b8(0xb9))/0x9)+parseInt(_0x1a54b8(0xcb))/0xa;if(_0x563889===_0x40c19b)break;else _0x5d09c7['push'](_0x5d09c7['shift']());}catch(_0x3d3ffa){_0x5d09c7['push'](_0x5d09c7['shift']());}}}(_0x1af2,0xc4148));import{CKEditorError as _0x14daa4,Collection as _0x1250b8,FocusTracker as _0x10c231}from'ckeditor5/src/utils.js';export class AnnotationCollection extends _0x1250b8{[_0x6da05e(0xc3)];[_0x6da05e(0xb0)];[_0x6da05e(0xb4)];constructor(_0x390b07=[]){const _0x1c878e=_0x6da05e;super(),this[_0x1c878e(0xc3)]=new Map(),this[_0x1c878e(0xb0)]=new Map(),this[_0x1c878e(0xb4)]=new _0x10c231(),this[_0x1c878e(0xb4)]['on'](_0x1c878e(0xd2),(_0x40b47d,_0x3208a1,_0x5aa941)=>{const _0x5f3454=_0x1c878e;_0x5aa941||this[_0x5f3454(0xaf)](_0x5f3454(0xac));});for(const _0x456517 of _0x390b07)this[_0x1c878e(0xb6)](_0x456517);}get[_0x6da05e(0xc6)](){const _0x586532=_0x6da05e;return this[_0x586532(0xb4)][_0x586532(0xc6)];}[_0x6da05e(0xb6)](_0x1ab831){const _0x48910f=_0x6da05e;if(this[_0x48910f(0xb5)](_0x1ab831))throw new _0x14daa4(_0x48910f(0xb2),null);this[_0x48910f(0xc3)][_0x48910f(0xce)](_0x1ab831[_0x48910f(0xd5)],_0x1ab831),this[_0x48910f(0xb0)][_0x48910f(0xce)](_0x1ab831[_0x48910f(0xd8)],_0x1ab831);for(const _0x14b4be of _0x1ab831[_0x48910f(0xd3)])this[_0x48910f(0xb4)][_0x48910f(0xb6)](_0x14b4be);this[_0x48910f(0xc4)](_0x1ab831[_0x48910f(0xd3)],_0x48910f(0xb6),(_0x279384,_0x5eda49)=>{const _0x4923bb=_0x48910f;this[_0x4923bb(0xb4)][_0x4923bb(0xb6)](_0x5eda49);}),this[_0x48910f(0xc4)](_0x1ab831[_0x48910f(0xd3)],_0x48910f(0xc9),(_0x32275b,_0x4f19c4)=>{const _0x1bd73d=_0x48910f;this[_0x1bd73d(0xb4)][_0x1bd73d(0xc9)](_0x4f19c4);}),this[_0x48910f(0xc4)](_0x1ab831[_0x48910f(0xd8)][_0x48910f(0xb3)],_0x48910f(0xd2),(_0x3e649b,_0x3075c2,_0x42eab2)=>{const _0x5dc94a=_0x48910f;_0x42eab2&&this[_0x5dc94a(0xaf)](_0x5dc94a(0xca),_0x1ab831);}),_0x1ab831[_0x48910f(0xc5)]();const _0x77e4ff=this[_0x48910f(0xd1)](_0x1ab831[_0x48910f(0xd8)][_0x48910f(0xd6)]);return super[_0x48910f(0xb6)](_0x1ab831,_0x77e4ff);}[_0x6da05e(0xc9)](_0x57352f){const _0x1871bc=_0x6da05e;if(!this[_0x1871bc(0xb5)](_0x57352f))throw new _0x14daa4(_0x1871bc(0xcf),null);this[_0x1871bc(0xb7)](_0x57352f[_0x1871bc(0xd8)][_0x1871bc(0xb3)]),this[_0x1871bc(0xb7)](_0x57352f[_0x1871bc(0xd3)]);for(const _0x5bf608 of _0x57352f[_0x1871bc(0xd3)])this[_0x1871bc(0xb4)][_0x1871bc(0xc9)](_0x5bf608);return this[_0x1871bc(0xb0)][_0x1871bc(0xc7)](_0x57352f[_0x1871bc(0xd8)]),this[_0x1871bc(0xc3)][_0x1871bc(0xc7)](_0x57352f[_0x1871bc(0xd5)]),super[_0x1871bc(0xc9)](_0x57352f);}[_0x6da05e(0xbb)](_0x3bbf96){const _0x178dce=_0x6da05e;return this[_0x178dce(0xc3)][_0x178dce(0xc0)](_0x3bbf96);}[_0x6da05e(0xbe)](_0x468a16){const _0x5cc727=_0x6da05e;return this[_0x5cc727(0xb0)][_0x5cc727(0xc0)](_0x468a16);}[_0x6da05e(0xd0)](){const _0x53e5c7=_0x6da05e;super[_0x53e5c7(0xad)](),this[_0x53e5c7(0xb7)](),this[_0x53e5c7(0xc3)][_0x53e5c7(0xad)](),this[_0x53e5c7(0xb0)][_0x53e5c7(0xad)](),this[_0x53e5c7(0xb4)][_0x53e5c7(0xd0)]();}[_0x6da05e(0xba)](){const _0xefea9f=_0x6da05e;for(const _0x451b04 of this)_0x451b04[_0xefea9f(0xc5)]();this[_0xefea9f(0xb8)]();}[_0x6da05e(0xb8)](){const _0x4fdbd6=_0x6da05e,_0x408cb8=Array[_0x4fdbd6(0xcc)](this)[_0x4fdbd6(0xbc)]((_0x25a997,_0x5ceca6)=>w(_0x25a997[_0x4fdbd6(0xd8)][_0x4fdbd6(0xd6)],_0x5ceca6[_0x4fdbd6(0xd8)][_0x4fdbd6(0xd6)]));for(let _0x50af49=_0x408cb8[_0x4fdbd6(0xae)]-0x1;_0x50af49>0x0;_0x50af49--){const _0xa67bb6=_0x408cb8[_0x50af49];_0x50af49!==this[_0x4fdbd6(0xab)](_0xa67bb6)&&(this[_0x4fdbd6(0xc9)](_0xa67bb6),this[_0x4fdbd6(0xb6)](_0xa67bb6));}}[_0x6da05e(0xd1)](_0x328963){const _0xa424d8=_0x6da05e;let _0x40fea2=0x0;if(!_0x328963)return this[_0xa424d8(0xae)];for(const _0x3ccc98 of this){const _0x46e7af=_0x3ccc98[_0xa424d8(0xd8)][_0xa424d8(0xd6)];if(_0x46e7af){if(w(_0x328963,_0x46e7af)<0x0)return _0x40fea2;_0x40fea2++;}}return _0x40fea2;}}export function bindAnnotationCollections({source:_0x337d5b,target:_0x51e065,filter:_0x310f09}){const _0x419c00=_0x6da05e;for(const _0x2256fa of _0x337d5b)_0x310f09(_0x2256fa)&&_0x51e065[_0x419c00(0xb6)](_0x2256fa);_0x51e065[_0x419c00(0xc4)](_0x337d5b,_0x419c00(0xb6),(_0x4f1ebe,_0x51db29)=>{const _0x16b07d=_0x419c00;_0x310f09(_0x51db29)&&_0x51e065[_0x16b07d(0xb6)](_0x51db29);}),_0x51e065[_0x419c00(0xc4)](_0x337d5b,_0x419c00(0xc9),(_0x53fbd0,_0xde8b2d)=>{const _0x49217e=_0x419c00;_0x51e065[_0x49217e(0xb5)](_0xde8b2d)&&_0x51e065[_0x49217e(0xc9)](_0xde8b2d);});}function w(_0x1eb7e1,_0x5bb33b){const _0xbea3fb=_0x6da05e;if(null===_0x1eb7e1&&null===_0x5bb33b)return 0x0;if(null===_0x1eb7e1)return-0x1;if(null===_0x5bb33b)return 0x1;const _0x9b5397=_0x1eb7e1[_0xbea3fb(0xd4)]-_0x5bb33b[_0xbea3fb(0xd4)];return 0x0==_0x9b5397?_0x1eb7e1[_0xbea3fb(0xd7)]-_0x5bb33b[_0xbea3fb(0xd7)]:_0x9b5397;}function _0x1af2(){const _0x1a5348=['updateTargetRect','isFocused','delete','105400XNcxMs','remove','focus','12903980VXVeWE','from','699136jfsJSu','set','annotationcollection-not-existing-item','destroy','_getOrderInContent','change:isFocused','focusableElements','top','innerView','targetRect','left','view','1448255uiacbL','getIndex','blur','clear','length','fire','_viewToAnnotation','10ZnSOMq','annotationcollection-duplicated-item','focusTracker','_focusTracker','has','add','stopListening','_sort','72cJiHpl','refreshPositioning','getByInnerView','sort','57CMIAtI','getByView','3957330vJrWGY','get','9933357ZKuvJw','292424JPcSbL','_innerViewToAnnotation','listenTo'];_0x1af2=function(){return _0x1a5348;};return _0x1af2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe52ec9=_0x4213;(function(_0x3ebb45,_0x47b657){const _0x14c373=_0x4213,_0x53adf3=_0x3ebb45();while(!![]){try{const _0x47f5ba=-parseInt(_0x14c373(0x1a1))/0x1*(-parseInt(_0x14c373(0x1ba))/0x2)+parseInt(_0x14c373(0x19c))/0x3+parseInt(_0x14c373(0x1af))/0x4+-parseInt(_0x14c373(0x180))/0x5*(parseInt(_0x14c373(0x189))/0x6)+parseInt(_0x14c373(0x1c1))/0x7+parseInt(_0x14c373(0x1a6))/0x8*(-parseInt(_0x14c373(0x191))/0x9)+-parseInt(_0x14c373(0x1b4))/0xa;if(_0x47f5ba===_0x47b657)break;else _0x53adf3['push'](_0x53adf3['shift']());}catch(_0xbb0cc6){_0x53adf3['push'](_0x53adf3['shift']());}}}(_0x4a23,0x73428));function _0x4a23(){const _0x1ff316=['refreshPositioning','editors','isPremiumPlugin','isVisible','172641SrzmDw','Tab','createAnnotationView','contains','_bindAnnotationsToVisibleAnnotations','46Rrqxfg','_activateAnnotation','activate','getByInnerView','deactivateAll','24GsOqtO','accessibility','Shift+Tab','domRoots','Esc','collection','Ctrl+Shift+E','keystrokes','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS','2847036FzQRft','refreshVisibility','editing','_removeActiveAnnotation','stopListening','9137350bNREvr','push','element','change:isVisible','_deactivateAllAnnotations','addKeystrokeInfoGroup','33398vqCjbl','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO','_setupEscapeAnnotationHandling','_setupEnterAnnotationKeystroke','escape','set','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT','3362401hsJtOR','source','pluginName','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT','target','remove','Enter','activeAnnotations','view','delete','locale','context','isOfficialPlugin','createAnnotation','2042455mUcdBm','fire','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER','Arrowup','ready','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP','low','listenTo','focusTracker','6HlrGRR','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS','Ctrl+Enter','values','add','annotations','Annotations','destroy','670419RdfkRG','has','Arrowdown','_addActiveAnnotation','focus','isArray','_visibleAnnotations'];_0x4a23=function(){return _0x1ff316;};return _0x4a23();}import{ContextPlugin as _0x52386f,Editor as _0x5e738e}from'ckeditor5/src/core.js';import{first as _0x2146f2}from'ckeditor5/src/utils.js';import{Annotation as _0x477208}from'./annotation.js';import{AnnotationCollection as _0x2146ff}from'./annotationcollection.js';import{AnnotationView as _0x1482e1}from'./view/annotationview.js';import{getTranslation as _0x4cacd9}from'../utils/common-translations.js';function _0x4213(_0x42fa4a,_0x4b092a){const _0x4a23fa=_0x4a23();return _0x4213=function(_0x421304,_0x3b5450){_0x421304=_0x421304-0x17b;let _0x47aba5=_0x4a23fa[_0x421304];return _0x47aba5;},_0x4213(_0x42fa4a,_0x4b092a);}import{FOCUS_ANNOTATION_KEYSTROKE as _0x5ec9d6}from'@ckeditor/ckeditor5-collaboration-core';export class Annotations extends _0x52386f{[_0xe52ec9(0x1ab)];[_0xe52ec9(0x197)];static get[_0xe52ec9(0x1c3)](){const _0x2bd345=_0xe52ec9;return _0x2bd345(0x18f);}static get[_0xe52ec9(0x17e)](){return!0x0;}static get[_0xe52ec9(0x19a)](){return!0x0;}constructor(_0x22bb1a){const _0x148996=_0xe52ec9;if(super(_0x22bb1a),this[_0x148996(0x1ab)]=new _0x2146ff(),this[_0x148996(0x197)]=new _0x2146ff(),this[_0x148996(0x1bf)](_0x148996(0x1c8),new Set()),this[_0x148996(0x1a0)](),_0x22bb1a instanceof _0x5e738e){const _0x3f58ab=_0x22bb1a[_0x148996(0x17c)];_0x22bb1a[_0x148996(0x1a7)][_0x148996(0x1b9)]({'id':_0x148996(0x18e),'label':_0x4cacd9(_0x3f58ab,_0x148996(0x185)),'keystrokes':[{'label':_0x4cacd9(_0x3f58ab,_0x148996(0x1bb)),'keystroke':_0x148996(0x1ac)},{'label':_0x4cacd9(_0x3f58ab,_0x148996(0x1c4)),'keystroke':_0x148996(0x1aa)},{'label':_0x4cacd9(_0x3f58ab,_0x148996(0x182)),'keystroke':_0x148996(0x1c7)},{'label':_0x4cacd9(_0x3f58ab,_0x148996(0x18a)),'keystroke':[[_0x148996(0x19d)],[_0x148996(0x1a8)]]},{'label':_0x4cacd9(_0x3f58ab,_0x148996(0x1c0)),'keystroke':[_0x148996(0x18b)]},{'label':_0x4cacd9(_0x3f58ab,_0x148996(0x1ae)),'keystroke':[[_0x148996(0x183)],[_0x148996(0x193)]]}]});}this[_0x148996(0x1bd)](),this[_0x148996(0x1bc)]();}[_0xe52ec9(0x18d)](_0x340aa6){const _0x505f8c=_0xe52ec9;this[_0x505f8c(0x1ab)][_0x505f8c(0x18d)](_0x340aa6);}[_0xe52ec9(0x1c6)](_0x560b7f){const _0xfa7bb7=_0xe52ec9;this[_0xfa7bb7(0x1ab)][_0xfa7bb7(0x1c6)](_0x560b7f),_0x560b7f[_0xfa7bb7(0x190)]();}[_0xe52ec9(0x1b0)](){const _0x203d4c=_0xe52ec9;for(const _0x42145a of this[_0x203d4c(0x1ab)])_0x42145a[_0x203d4c(0x1b0)]();}[_0xe52ec9(0x198)](){const _0x3270cf=_0xe52ec9;this[_0x3270cf(0x197)][_0x3270cf(0x198)]();}[_0xe52ec9(0x1a4)](_0x4ad7e1){const _0x46bc3f=_0xe52ec9;return this[_0x46bc3f(0x1ab)][_0x46bc3f(0x1a4)](_0x4ad7e1);}[_0xe52ec9(0x1a5)](){const _0x73f409=_0xe52ec9;this[_0x73f409(0x181)](_0x73f409(0x1b8));}[_0xe52ec9(0x190)](){const _0xba1aaf=_0xe52ec9;for(const _0x8e0ad of this[_0xba1aaf(0x1ab)])_0x8e0ad[_0xba1aaf(0x190)]();this[_0xba1aaf(0x197)][_0xba1aaf(0x190)](),this[_0xba1aaf(0x1ab)][_0xba1aaf(0x190)](),super[_0xba1aaf(0x190)]();}[_0xe52ec9(0x1a3)](_0xa46cd9){const _0x2a16af=_0xe52ec9;this[_0x2a16af(0x181)](_0x2a16af(0x1a2),_0xa46cd9);}[_0xe52ec9(0x17f)](_0x22bd42){return new _0x477208(_0x22bd42);}[_0xe52ec9(0x19e)](_0x21a261,_0x460d59){return new _0x1482e1(_0x21a261,_0x460d59);}[_0xe52ec9(0x194)](_0x17b673){const _0x473f3c=_0xe52ec9,_0x26ebdb=new Set(this[_0x473f3c(0x1c8)]);_0x26ebdb[_0x473f3c(0x18d)](_0x17b673),this[_0x473f3c(0x1c8)]=_0x26ebdb;}[_0xe52ec9(0x1b2)](_0x405754){const _0x22a317=_0xe52ec9,_0x451b3e=new Set(this[_0x22a317(0x1c8)]);_0x451b3e[_0x22a317(0x17b)](_0x405754),this[_0x22a317(0x1c8)]=_0x451b3e;}[_0xe52ec9(0x1a0)](){const _0x261caf=_0xe52ec9,_0x5c10de=this[_0x261caf(0x1ab)],_0x579740=this[_0x261caf(0x197)];function _0x4c2a89(_0x36eb4d){const _0x2ae924=_0x261caf,_0x2e7964=_0x36eb4d[_0x2ae924(0x1c2)];_0x2e7964[_0x2ae924(0x19b)]&&!_0x579740[_0x2ae924(0x192)](_0x2e7964)?_0x579740[_0x2ae924(0x18d)](_0x2e7964):!_0x2e7964[_0x2ae924(0x19b)]&&_0x579740[_0x2ae924(0x192)](_0x2e7964)&&_0x579740[_0x2ae924(0x1c6)](_0x2e7964),_0x2e7964[_0x2ae924(0x1c9)][_0x2ae924(0x188)][_0x2ae924(0x1c6)](_0x2e7964[_0x2ae924(0x1c9)][_0x2ae924(0x1b6)]),_0x2e7964[_0x2ae924(0x1c9)][_0x2ae924(0x188)][_0x2ae924(0x18d)](_0x2e7964[_0x2ae924(0x1c9)][_0x2ae924(0x1b6)]);}this[_0x261caf(0x187)](_0x5c10de,_0x261caf(0x18d),(_0x481698,_0x1898da)=>{const _0x5511c8=_0x261caf;_0x1898da[_0x5511c8(0x19b)]&&_0x579740[_0x5511c8(0x18d)](_0x1898da),this[_0x5511c8(0x187)](_0x1898da,_0x5511c8(0x1b7),_0x4c2a89);}),this[_0x261caf(0x187)](_0x5c10de,_0x261caf(0x1c6),(_0x1efdab,_0xb6b8f8)=>{const _0x1c60ba=_0x261caf;_0x579740[_0x1c60ba(0x192)](_0xb6b8f8)&&_0x579740[_0x1c60ba(0x1c6)](_0xb6b8f8),this[_0x1c60ba(0x1b3)](_0xb6b8f8,_0x1c60ba(0x1b7),_0x4c2a89);});}[_0xe52ec9(0x1bd)](){const _0x3208c4=_0xe52ec9,_0x2211e1=_0x330d26=>{const _0x5a352c=_0x4213;_0x330d26['on'](_0x5a352c(0x184),()=>{const _0x42ffd6=_0x5a352c;_0x330d26[_0x42ffd6(0x1ad)][_0x42ffd6(0x1bf)](_0x5ec9d6,(_0x387f5b,_0x2c27ba)=>{const _0x24b2b1=_0x42ffd6,_0x1694b9=_0x2146f2(this[_0x24b2b1(0x1c8)][_0x24b2b1(0x18c)]());_0x1694b9&&(_0x1694b9[_0x24b2b1(0x1c9)][_0x24b2b1(0x195)](),_0x2c27ba());});});};this[_0x3208c4(0x17d)]instanceof _0x5e738e?_0x2211e1(this[_0x3208c4(0x17d)]):this[_0x3208c4(0x17d)][_0x3208c4(0x199)]&&this[_0x3208c4(0x17d)][_0x3208c4(0x199)]['on'](_0x3208c4(0x18d),(_0x2ff2e2,_0x2dfa32)=>{_0x2211e1(_0x2dfa32);});}[_0xe52ec9(0x1bc)](){const _0x443900=_0xe52ec9,_0x4e9647=_0x257e1b=>{const _0x4fa5f7=_0x4213,_0x1849e7=_0x257e1b[_0x4fa5f7(0x1c2)],_0x15dc61=[];let _0xa21a8f;if(Array[_0x4fa5f7(0x196)](_0x1849e7[_0x4fa5f7(0x1c5)])){_0xa21a8f=_0x1849e7[_0x4fa5f7(0x1c5)][0x0],this[_0x4fa5f7(0x17d)]instanceof _0x5e738e?_0x15dc61[_0x4fa5f7(0x1b5)](this[_0x4fa5f7(0x17d)]):this[_0x4fa5f7(0x17d)][_0x4fa5f7(0x199)]&&_0x15dc61[_0x4fa5f7(0x1b5)](...this[_0x4fa5f7(0x17d)][_0x4fa5f7(0x199)]);for(const _0x5eb1a2 of _0x15dc61)for(const _0x42744e of _0x5eb1a2[_0x4fa5f7(0x1b1)][_0x4fa5f7(0x1c9)][_0x4fa5f7(0x1a9)][_0x4fa5f7(0x18c)]())if(_0x42744e[_0x4fa5f7(0x19f)](_0xa21a8f))return void _0x5eb1a2[_0x4fa5f7(0x1b1)][_0x4fa5f7(0x1c9)][_0x4fa5f7(0x195)]();_0xa21a8f[_0x4fa5f7(0x195)]();}};this[_0x443900(0x187)](this[_0x443900(0x1ab)],_0x443900(0x18d),(_0xb1461f,_0x429668)=>{const _0x411880=_0x443900;this[_0x411880(0x187)](_0x429668,_0x411880(0x1be),_0x4e9647,{'priority':_0x411880(0x186)});}),this[_0x443900(0x187)](this[_0x443900(0x1ab)],_0x443900(0x1c6),(_0x5d3c07,_0x238591)=>{const _0x5b0948=_0x443900;this[_0x5b0948(0x1b3)](_0x238591,_0x5b0948(0x1be),_0x4e9647);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6aacd8=_0x204d;function _0x204d(_0x36d37a,_0x226ee9){const _0x507def=_0x507d();return _0x204d=function(_0x204d72,_0x2651ca){_0x204d72=_0x204d72-0x10b;let _0x34c683=_0x507def[_0x204d72];return _0x34c683;},_0x204d(_0x36d37a,_0x226ee9);}(function(_0x57a1f0,_0x390dc3){const _0x29a54e=_0x204d,_0x2818b0=_0x57a1f0();while(!![]){try{const _0x96c5be=parseInt(_0x29a54e(0x116))/0x1+parseInt(_0x29a54e(0x139))/0x2*(parseInt(_0x29a54e(0x124))/0x3)+-parseInt(_0x29a54e(0x128))/0x4+-parseInt(_0x29a54e(0x114))/0x5*(parseInt(_0x29a54e(0x138))/0x6)+parseInt(_0x29a54e(0x11c))/0x7*(parseInt(_0x29a54e(0x12d))/0x8)+parseInt(_0x29a54e(0x12e))/0x9*(parseInt(_0x29a54e(0x130))/0xa)+-parseInt(_0x29a54e(0x146))/0xb*(parseInt(_0x29a54e(0x12a))/0xc);if(_0x96c5be===_0x390dc3)break;else _0x2818b0['push'](_0x2818b0['shift']());}catch(_0x4bcdbd){_0x2818b0['push'](_0x2818b0['shift']());}}}(_0x507d,0xa1231));import{ContextPlugin as _0x23948d}from'ckeditor5/src/core.js';import{CKEditorError as _0x537f52}from'ckeditor5/src/utils.js';import{AnnotationCollection as _0x3d0fd6,bindAnnotationCollections as _0x8a7533}from'./annotationcollection.js';function _0x507d(){const _0x2cb5fa=['isPremiumPlugin','hasActive','2120axdqzS','9823023syfMKN','requires','10qkBCTP','uisData','deactivate','_setSelectedAnnotations','annotationsuis-register-invalid-interface','add','activeAnnotations','annotationsuis-annotation-mismatch','39774rZzQYU','234442EWPOaE','plugins','remove','delete','context','set','size','listenTo','length','annotationsuis-register-already-registered','detach','_deactivateAllAnnotations','_removeActiveAnnotation','23243CwyFep','_addActiveAnnotation','attach','refilterAnnotations','has','find','annotationsuis-missing-ui','type','setActiveAnnotation','from','register','deactivateAll','isActive','isOfficialPlugin','_assertAnnotationDoesNotBelongToMultipleUIs','collection','285witRVV','function','996817BLoipl','change:activeAnnotation','_visibleAnnotations','AnnotationsUIs','get','activate','9702zBFovj','pluginName','defaultFilter','_activateAnnotation','filter','activeUIs','push','stopListening','9yOjRio','init','_uis','switchTo','5108072vGYwrJ','destroy','2796JjdXCl'];_0x507d=function(){return _0x2cb5fa;};return _0x507d();}import{Annotations as _0xc1db1}from'./annotations.js';export class AnnotationsUIs extends _0x23948d{[_0x6aacd8(0x121)];[_0x6aacd8(0x131)];[_0x6aacd8(0x126)];static get[_0x6aacd8(0x12f)](){return[_0xc1db1];}static get[_0x6aacd8(0x11d)](){const _0x2f22a7=_0x6aacd8;return _0x2f22a7(0x119);}static get[_0x6aacd8(0x111)](){return!0x0;}static get[_0x6aacd8(0x12b)](){return!0x0;}constructor(_0x31a59d){const _0x129288=_0x6aacd8;super(_0x31a59d),this[_0x129288(0x121)]=new Set(),this[_0x129288(0x126)]=new Map(),this[_0x129288(0x131)]=new Map();}[_0x6aacd8(0x125)](){const _0x45073f=_0x6aacd8,_0x553d25=this[_0x45073f(0x13d)][_0x45073f(0x13a)][_0x45073f(0x11a)](_0xc1db1);this[_0x45073f(0x140)](_0x553d25,_0x45073f(0x11f),(_0x1be13c,_0x45d01c)=>{const _0x24ca29=_0x45073f;for(const _0x5f37ff of this[_0x24ca29(0x121)]){const _0x58d1a9=this[_0x24ca29(0x126)][_0x24ca29(0x11a)](_0x5f37ff);(0x0,this[_0x24ca29(0x131)][_0x24ca29(0x11a)](_0x5f37ff)[_0x24ca29(0x120)])(_0x45d01c)&&_0x58d1a9[_0x24ca29(0x10c)](_0x45d01c);}}),this[_0x45073f(0x140)](_0x553d25,_0x45073f(0x144),()=>{const _0x22a597=_0x45073f;for(const _0x3061b7 of this[_0x22a597(0x121)]){this[_0x22a597(0x126)][_0x22a597(0x11a)](_0x3061b7)[_0x22a597(0x10c)](null);}}),this[_0x45073f(0x140)](_0x553d25[_0x45073f(0x118)],_0x45073f(0x135),(_0x47710b,_0x40ee40)=>{const _0x3b9478=_0x45073f;this[_0x3b9478(0x112)](_0x40ee40);});}[_0x6aacd8(0x12c)](){const _0x57bde7=_0x6aacd8;return this[_0x57bde7(0x121)][_0x57bde7(0x13f)]>0x0;}[_0x6aacd8(0x110)](_0x709bc4){const _0x125de0=_0x6aacd8;return this[_0x125de0(0x121)][_0x125de0(0x14a)](_0x709bc4);}[_0x6aacd8(0x11b)](_0x2e26b3,_0x3addf7=this[_0x6aacd8(0x11e)]){const _0x28fd53=_0x6aacd8,_0x17caae=this[_0x28fd53(0x13d)][_0x28fd53(0x13a)][_0x28fd53(0x11a)](_0xc1db1);if(!this[_0x28fd53(0x126)][_0x28fd53(0x14a)](_0x2e26b3))throw new _0x537f52(_0x28fd53(0x14c),this,{'uiName':_0x2e26b3});this[_0x28fd53(0x110)](_0x2e26b3)&&this[_0x28fd53(0x132)](_0x2e26b3),this[_0x28fd53(0x121)][_0x28fd53(0x135)](_0x2e26b3);const _0x18ea20=new _0x3d0fd6(),_0x164a28=_0x17caae[_0x28fd53(0x118)];_0x8a7533({'source':_0x164a28,'target':_0x18ea20,'filter':_0x3addf7}),this[_0x28fd53(0x131)][_0x28fd53(0x13e)](_0x2e26b3,{'collection':_0x18ea20,'filter':_0x3addf7});const _0x59f4b6=this[_0x28fd53(0x126)][_0x28fd53(0x11a)](_0x2e26b3);_0x59f4b6[_0x28fd53(0x148)](_0x18ea20),this[_0x28fd53(0x140)](_0x59f4b6,_0x28fd53(0x117),(_0x32da92,_0xfb89b7,_0x33fd6b,_0x41a60b)=>{const _0x2c80b5=_0x28fd53;_0x41a60b&&_0x17caae[_0x2c80b5(0x145)](_0x41a60b),_0x33fd6b&&_0x17caae[_0x2c80b5(0x147)](_0x33fd6b);});}[_0x6aacd8(0x132)](_0xc31f13){const _0x200160=_0x6aacd8;if(this[_0x200160(0x121)][_0x200160(0x13c)](_0xc31f13),!this[_0x200160(0x126)][_0x200160(0x14a)](_0xc31f13))throw new _0x537f52(_0x200160(0x14c),this,{'uiName':_0xc31f13});const _0x46ec4f=this[_0x200160(0x126)][_0x200160(0x11a)](_0xc31f13);_0x46ec4f[_0x200160(0x143)](),this[_0x200160(0x123)](_0x46ec4f),this[_0x200160(0x131)][_0x200160(0x11a)](_0xc31f13)[_0x200160(0x113)][_0x200160(0x129)](),this[_0x200160(0x131)][_0x200160(0x13c)](_0xc31f13);}[_0x6aacd8(0x127)](_0x55021e){const _0x5528d9=_0x6aacd8;if(!this[_0x5528d9(0x126)][_0x5528d9(0x14a)](_0x55021e))throw new _0x537f52(_0x5528d9(0x14c),this,{'uiName':_0x55021e});const _0x2ca1e2=this[_0x5528d9(0x13d)][_0x5528d9(0x13a)][_0x5528d9(0x11a)](_0xc1db1),_0x53c6ca=Array[_0x5528d9(0x10d)](_0x2ca1e2[_0x5528d9(0x136)])[0x0]||null;this[_0x5528d9(0x10f)](),this[_0x5528d9(0x11b)](_0x55021e);const _0x7bbf85=this[_0x5528d9(0x126)][_0x5528d9(0x11a)](_0x55021e);_0x7bbf85[_0x5528d9(0x10c)](_0x53c6ca),_0x7bbf85[_0x5528d9(0x133)]&&_0x53c6ca&&_0x7bbf85[_0x5528d9(0x133)]([_0x53c6ca]);}[_0x6aacd8(0x10f)](){const _0x33fb95=_0x6aacd8;for(const _0x4d472e of this[_0x33fb95(0x121)])this[_0x33fb95(0x132)](_0x4d472e);}[_0x6aacd8(0x10e)](_0x2a1c09,_0x210629){const _0x139b20=_0x6aacd8;if(this[_0x139b20(0x126)][_0x139b20(0x14a)](_0x2a1c09))throw new _0x537f52(_0x139b20(0x142));if(_0x139b20(0x115)!=typeof _0x210629[_0x139b20(0x148)]||_0x139b20(0x115)!=typeof _0x210629[_0x139b20(0x143)]||_0x139b20(0x115)!=typeof _0x210629[_0x139b20(0x10c)])throw new _0x537f52(_0x139b20(0x134),null);this[_0x139b20(0x126)][_0x139b20(0x13e)](_0x2a1c09,_0x210629);}[_0x6aacd8(0x149)](){const _0x19081d=_0x6aacd8,_0x364cdb=this[_0x19081d(0x13d)][_0x19081d(0x13a)][_0x19081d(0x11a)](_0xc1db1)[_0x19081d(0x113)],_0x1fdfc3=new Map(),_0x557e6a=Array[_0x19081d(0x10d)](this[_0x19081d(0x121)]);for(const _0x43b9ff of this[_0x19081d(0x121)]){const _0x14dc89=this[_0x19081d(0x131)][_0x19081d(0x11a)](_0x43b9ff)[_0x19081d(0x113)];for(const _0x30db47 of _0x14dc89)_0x1fdfc3[_0x19081d(0x13e)](_0x30db47,_0x43b9ff);}for(const _0x13172a of _0x364cdb){const _0x56f92d=_0x1fdfc3[_0x19081d(0x11a)](_0x13172a);this[_0x19081d(0x112)](_0x13172a);const _0x5a7e92=_0x557e6a[_0x19081d(0x14b)](_0x5f1a41=>this[_0x19081d(0x131)][_0x19081d(0x11a)](_0x5f1a41)[_0x19081d(0x120)](_0x13172a));_0x56f92d!==_0x5a7e92&&(_0x56f92d&&this[_0x19081d(0x131)][_0x19081d(0x11a)](_0x56f92d)[_0x19081d(0x113)][_0x19081d(0x13b)](_0x13172a),_0x5a7e92&&this[_0x19081d(0x131)][_0x19081d(0x11a)](_0x5a7e92)[_0x19081d(0x113)][_0x19081d(0x135)](_0x13172a));}}[_0x6aacd8(0x129)](){const _0x38423f=_0x6aacd8;this[_0x38423f(0x10f)](),super[_0x38423f(0x129)]();}[_0x6aacd8(0x11e)](){return!0x0;}[_0x6aacd8(0x112)](_0x248bac){const _0x5b0c3d=_0x6aacd8,_0x135a93=[];for(const _0xb7182 of this[_0x5b0c3d(0x121)]){(0x0,this[_0x5b0c3d(0x131)][_0x5b0c3d(0x11a)](_0xb7182)[_0x5b0c3d(0x120)])(_0x248bac)&&_0x135a93[_0x5b0c3d(0x122)](_0xb7182);}if(_0x135a93[_0x5b0c3d(0x141)]>0x1)throw new _0x537f52(_0x5b0c3d(0x137),null,{'matchedUIs':_0x135a93,'annotationType':_0x248bac[_0x5b0c3d(0x10b)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x147be5=_0x2bec;(function(_0x5b2d70,_0x59b874){const _0x346a55=_0x2bec,_0x215070=_0x5b2d70();while(!![]){try{const _0x531305=parseInt(_0x346a55(0x180))/0x1*(-parseInt(_0x346a55(0x16f))/0x2)+-parseInt(_0x346a55(0x178))/0x3*(parseInt(_0x346a55(0x160))/0x4)+parseInt(_0x346a55(0x185))/0x5*(-parseInt(_0x346a55(0x19c))/0x6)+-parseInt(_0x346a55(0x170))/0x7+parseInt(_0x346a55(0x17e))/0x8+parseInt(_0x346a55(0x18f))/0x9*(parseInt(_0x346a55(0x191))/0xa)+parseInt(_0x346a55(0x177))/0xb*(parseInt(_0x346a55(0x15f))/0xc);if(_0x531305===_0x59b874)break;else _0x215070['push'](_0x215070['shift']());}catch(_0x2c5802){_0x215070['push'](_0x215070['shift']());}}}(_0x386f,0xca26f));import{Plugin as _0x42f66b}from'ckeditor5/src/core.js';import{CKEditorError as _0x5723c6}from'ckeditor5/src/utils.js';import{debounce as _0x574360}from'es-toolkit/compat';function _0x386f(){const _0x40ebbc=['model','registerAnnotation','isCollapsed','listenTo','cancel','annotation','refreshSelectedViews','plugins','getByInnerView','innerView','16TPhFGp','396809XueIzn','blur','refresh','map','EditorAnnotations','pluginName','fire','11VKBdSw','3BbKFDO','remove','getRanges','collection','addSourceCollector','getOrderedSelectedAnnotations','11308992OwCDlY','range','193082pFdddj','focusTracker','add','directChange','set','1451855TVhuEt','from','function','sort','change:isFocused','has','editor','document','_dataCollectors','requires','18EMNBLh','selection','736930qdlvQV','push','get','_editorAnnotationsData','editorannotations-invalid-source-callback','change:range','view','hasDomSelection','delete','isPremiumPlugin','_editorAnnotations','24mdQngJ','init','containsRange','isOfficialPlugin','editing','42139788ibhOBA','5927268Rklkqn','isEqual','uiUpdate','update','element'];_0x386f=function(){return _0x40ebbc;};return _0x386f();}import{Annotations as _0x23e65e}from'./annotations.js';function _0x2bec(_0x328dda,_0x4600dd){const _0x386f8d=_0x386f();return _0x2bec=function(_0x2bec5f,_0x33cf7b){_0x2bec5f=_0x2bec5f-0x15d;let _0x353c05=_0x386f8d[_0x2bec5f];return _0x353c05;},_0x2bec(_0x328dda,_0x4600dd);}export class EditorAnnotations extends _0x42f66b{[_0x147be5(0x18d)];[_0x147be5(0x19b)];static get[_0x147be5(0x18e)](){return[_0x23e65e];}static get[_0x147be5(0x175)](){const _0x544f36=_0x147be5;return _0x544f36(0x174);}static get[_0x147be5(0x15d)](){return!0x0;}static get[_0x147be5(0x19a)](){return!0x0;}constructor(_0x335bf0){const _0xe31844=_0x147be5;super(_0x335bf0),this[_0xe31844(0x18d)]=new Set(),this[_0xe31844(0x19b)]=new Set();}[_0x147be5(0x19d)](){const _0x4494f2=_0x147be5,_0x2b2a6a=this[_0x4494f2(0x18b)],_0x56fcba=_0x2b2a6a[_0x4494f2(0x165)][_0x4494f2(0x18c)][_0x4494f2(0x190)],_0x1c8e1a=_0x574360(()=>this[_0x4494f2(0x16b)](),0xa);_0x56fcba['on'](_0x4494f2(0x196),(_0xe4c09,_0x13fb9c)=>{const _0x5d3a63=_0x4494f2;_0x13fb9c[_0x5d3a63(0x183)]&&(_0x1c8e1a[_0x5d3a63(0x169)](),this[_0x5d3a63(0x16b)]());}),this[_0x4494f2(0x168)](_0x2b2a6a[_0x4494f2(0x15e)][_0x4494f2(0x197)][_0x4494f2(0x18c)],_0x4494f2(0x189),(_0x2cb5a6,_0x2ce7db,_0x339d4d)=>{_0x339d4d&&_0x1c8e1a();}),this[_0x4494f2(0x168)](_0x2b2a6a['ui'][_0x4494f2(0x181)],_0x4494f2(0x189),(_0x2234a6,_0x165f6b,_0x54fc6f)=>{const _0x515b97=_0x4494f2;_0x54fc6f||this[_0x515b97(0x176)](_0x515b97(0x171),{'isAnnotationTracked':_0x406f8a=>this[_0x515b97(0x194)][_0x515b97(0x18a)](_0x406f8a[_0x515b97(0x16e)])});}),this[_0x4494f2(0x168)](this[_0x4494f2(0x18b)]['ui'],_0x4494f2(0x163),()=>this[_0x4494f2(0x176)](_0x4494f2(0x162)));}[_0x147be5(0x166)](_0x2e3904){const _0x59d709=_0x147be5;if(this[_0x59d709(0x19b)][_0x59d709(0x18a)](_0x2e3904[_0x59d709(0x197)]))return;this[_0x59d709(0x19b)][_0x59d709(0x182)](_0x2e3904[_0x59d709(0x197)]),this[_0x59d709(0x18b)]['ui'][_0x59d709(0x181)][_0x59d709(0x182)](_0x2e3904[_0x59d709(0x197)][_0x59d709(0x164)]);const _0x3c3e61=this[_0x59d709(0x18b)][_0x59d709(0x16c)][_0x59d709(0x193)](_0x23e65e);this[_0x59d709(0x168)](_0x3c3e61[_0x59d709(0x17b)],_0x59d709(0x179),(_0x484be,_0x51818d)=>{const _0x1679cd=_0x59d709;this[_0x1679cd(0x18b)]['ui'][_0x1679cd(0x181)][_0x1679cd(0x179)](_0x51818d[_0x1679cd(0x197)][_0x1679cd(0x164)]),this[_0x1679cd(0x19b)][_0x1679cd(0x199)](_0x51818d[_0x1679cd(0x197)]);});}[_0x147be5(0x198)](){const _0x22e9df=_0x147be5;return this[_0x22e9df(0x18b)][_0x22e9df(0x15e)][_0x22e9df(0x197)][_0x22e9df(0x198)];}[_0x147be5(0x17c)](_0x415f0f){const _0x1b59fb=_0x147be5;if(_0x1b59fb(0x187)!=typeof _0x415f0f)throw new _0x5723c6(_0x1b59fb(0x195));this[_0x1b59fb(0x18d)][_0x1b59fb(0x182)](_0x415f0f);}[_0x147be5(0x16b)](){const _0x52a8cc=_0x147be5;this[_0x52a8cc(0x176)](_0x52a8cc(0x172));}[_0x147be5(0x17d)]({activeAnnotation:_0x22be2a,annotations:_0x525b02}){const _0x361f1e=_0x147be5,_0x25eb54=[],_0x66e1f5=this[_0x361f1e(0x18b)][_0x361f1e(0x165)][_0x361f1e(0x18c)][_0x361f1e(0x190)],_0x43e433=Array[_0x361f1e(0x186)](_0x66e1f5[_0x361f1e(0x17a)]());for(const [_0x4d4b42,_0x5b92f4]of this[_0x361f1e(0x194)]){const _0x4df15d=_0x1c6b70(_0x5b92f4),_0x36e9e7=_0x525b02[_0x361f1e(0x16d)](_0x4d4b42);_0x4df15d&&_0x36e9e7&&_0x25eb54[_0x361f1e(0x192)]({'annotation':_0x36e9e7,'range':_0x4df15d});}function _0x1c6b70(_0x5e9014){const _0x3abee9=_0x361f1e;for(const _0x464e13 of _0x5e9014)for(const _0x30f637 of _0x43e433)if(_0x464e13[_0x3abee9(0x19e)](_0x30f637,!_0x66e1f5[_0x3abee9(0x167)]))return _0x464e13;return null;}return _0x25eb54[_0x361f1e(0x188)]((_0xa2ccb7,_0x420eae)=>{const _0xe9f6d8=_0x361f1e,_0x149689=_0xa2ccb7[_0xe9f6d8(0x17f)],_0x51a891=_0x420eae[_0xe9f6d8(0x17f)];if(!_0x149689[_0xe9f6d8(0x161)](_0x51a891)){if(_0x149689[_0xe9f6d8(0x19e)](_0x51a891,!0x0))return 0x1;if(_0x51a891[_0xe9f6d8(0x19e)](_0x149689,!0x0))return-0x1;}return _0xa2ccb7[_0xe9f6d8(0x16a)]==_0x22be2a?-0x1:_0x420eae[_0xe9f6d8(0x16a)]==_0x22be2a?0x1:0x0;})[_0x361f1e(0x173)](_0x407aca=>_0x407aca[_0x361f1e(0x16a)]);}get[_0x147be5(0x194)](){const _0x172275=_0x147be5,_0x2765ac=new Map();for(const _0x8591b2 of Array[_0x172275(0x186)](this[_0x172275(0x18d)]))for(const [_0x2f0fc0,_0xa47f47]of _0x8591b2())_0x2765ac[_0x172275(0x184)](_0x2f0fc0,_0xa47f47);return _0x2765ac;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5b3dd9=_0x5c3a;(function(_0x30de3f,_0x6ac729){const _0x47d0d1=_0x5c3a,_0x394ba5=_0x30de3f();while(!![]){try{const _0x440eb9=parseInt(_0x47d0d1(0x19a))/0x1+parseInt(_0x47d0d1(0x1a7))/0x2*(parseInt(_0x47d0d1(0x189))/0x3)+parseInt(_0x47d0d1(0x178))/0x4*(parseInt(_0x47d0d1(0x1a0))/0x5)+parseInt(_0x47d0d1(0x1af))/0x6+parseInt(_0x47d0d1(0x176))/0x7*(parseInt(_0x47d0d1(0x185))/0x8)+parseInt(_0x47d0d1(0x1b9))/0x9+-parseInt(_0x47d0d1(0x1b8))/0xa*(parseInt(_0x47d0d1(0x15a))/0xb);if(_0x440eb9===_0x6ac729)break;else _0x394ba5['push'](_0x394ba5['shift']());}catch(_0x5ae36b){_0x394ba5['push'](_0x394ba5['shift']());}}}(_0x9469,0x79e4f));import{Plugin as _0xf76667}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x3ed8a1}from'./annotationsuis.js';import{EditorAnnotations as _0xa0163e}from'./editorannotations.js';import{ContextualBalloon as _0x59a075}from'ckeditor5/src/ui.js';import{MouseObserver as _0x16128d}from'ckeditor5/src/engine.js';function _0x5c3a(_0x1df12f,_0x16df44){const _0x94690c=_0x9469();return _0x5c3a=function(_0x5c3aa8,_0x504d7a){_0x5c3aa8=_0x5c3aa8-0x151;let _0x2b29fd=_0x94690c[_0x5c3aa8];return _0x2b29fd;},_0x5c3a(_0x1df12f,_0x16df44);}import{CKEditorError as _0x5caa94,Rect as _0x5b52e9}from'ckeditor5/src/utils.js';import{debounce as _0x18d167}from'es-toolkit/compat';import'./../../theme/annotation-inline.css';export class InlineAnnotations extends _0xf76667{[_0x5b3dd9(0x1ae)];[_0x5b3dd9(0x17e)];[_0x5b3dd9(0x18b)];[_0x5b3dd9(0x1b2)];[_0x5b3dd9(0x182)];[_0x5b3dd9(0x173)];[_0x5b3dd9(0x16e)];[_0x5b3dd9(0x174)];static get[_0x5b3dd9(0x158)](){return[_0xa0163e,_0x59a075,_0x3ed8a1];}static get[_0x5b3dd9(0x161)](){const _0x158069=_0x5b3dd9;return _0x158069(0x19c);}static get[_0x5b3dd9(0x184)](){return!0x0;}static get[_0x5b3dd9(0x155)](){return!0x0;}constructor(_0x14a16a){const _0x588571=_0x5b3dd9;super(_0x14a16a),_0x14a16a[_0x588571(0x17d)][_0x588571(0x183)][_0x588571(0x17c)](_0x16128d),this[_0x588571(0x1ae)]=!0x1,this[_0x588571(0x1a2)](_0x588571(0x188),null),this[_0x588571(0x17e)]=null,this[_0x588571(0x18b)]=new Set(),this[_0x588571(0x1b2)]=_0x14a16a[_0x588571(0x16a)][_0x588571(0x18c)](_0x59a075),this[_0x588571(0x182)]=new Set(),this[_0x588571(0x173)]=[],this[_0x588571(0x16e)]=!0x1,this[_0x588571(0x174)]=_0x18d167(()=>{const _0x9920b3=_0x588571;this[_0x9920b3(0x1ab)][_0x9920b3(0x16a)][_0x9920b3(0x18c)](_0x9920b3(0x16c))[_0x9920b3(0x191)]();},0xfa,{'leading':!0x1});}[_0x5b3dd9(0x192)](){const _0x19ddf8=_0x5b3dd9,_0x352a4a=this[_0x19ddf8(0x1ab)][_0x19ddf8(0x16a)][_0x19ddf8(0x18c)](_0x3ed8a1);_0x352a4a[_0x19ddf8(0x193)]===this[_0x19ddf8(0x1ab)]&&(_0x352a4a[_0x19ddf8(0x175)](_0x19ddf8(0x163),this),this[_0x19ddf8(0x1ab)][_0x19ddf8(0x1a1)][_0x19ddf8(0x1a2)](_0x19ddf8(0x18e),(_0x3f52fa,_0x5acfa3)=>{const _0x5336f8=_0x19ddf8,_0x86371e=this[_0x5336f8(0x1b2)];if(this[_0x5336f8(0x1ae)]&&_0x86371e[_0x5336f8(0x151)]){const _0x17e268=this[_0x5336f8(0x17e)][_0x5336f8(0x16f)](_0x86371e[_0x5336f8(0x151)]);_0x17e268&&this[_0x5336f8(0x17f)](_0x17e268),_0x5acfa3();}}));}[_0x5b3dd9(0x1a6)](){const _0x464cdf=_0x5b3dd9,_0xdaa6c8=this[_0x464cdf(0x1ab)][_0x464cdf(0x16a)][_0x464cdf(0x18c)](_0x3ed8a1);_0xdaa6c8[_0x464cdf(0x193)]===this[_0x464cdf(0x1ab)]&&(_0xdaa6c8[_0x464cdf(0x1a8)]()||_0xdaa6c8[_0x464cdf(0x18d)](_0x464cdf(0x163)));}[_0x5b3dd9(0x19f)](_0xa30d7a){const _0x4ec926=_0x5b3dd9;_0xa30d7a!==this[_0x4ec926(0x188)]&&(this[_0x4ec926(0x188)]&&(this[_0x4ec926(0x188)][_0x4ec926(0x162)]=!0x1),_0xa30d7a&&this[_0x4ec926(0x1ab)]['ui'][_0x4ec926(0x15b)][_0x4ec926(0x197)]&&(this[_0x4ec926(0x17e)][_0x4ec926(0x186)](_0xa30d7a)&&this[_0x4ec926(0x169)](_0xa30d7a,!0x0),_0xa30d7a[_0x4ec926(0x162)]=!0x0),_0xa30d7a||this[_0x4ec926(0x181)]([]),this[_0x4ec926(0x188)]=_0xa30d7a);}[_0x5b3dd9(0x1b3)](_0x391ef1){const _0x5502b1=_0x5b3dd9;this[_0x5502b1(0x17e)]=_0x391ef1;const _0x22e88d=this[_0x5502b1(0x1ab)][_0x5502b1(0x16a)][_0x5502b1(0x18c)](_0x3ed8a1),_0x1c4d12=this[_0x5502b1(0x1b2)];if(this[_0x5502b1(0x1ae)])throw new _0x5caa94(_0x5502b1(0x164),this);if(_0x22e88d[_0x5502b1(0x193)]!==this[_0x5502b1(0x1ab)])throw new _0x5caa94(_0x5502b1(0x167),this);const _0x325b27=this[_0x5502b1(0x1ab)][_0x5502b1(0x16a)][_0x5502b1(0x18c)](_0xa0163e);this[_0x5502b1(0x160)](_0x325b27,_0x5502b1(0x198),()=>{const _0xcf1adf=_0x5502b1,_0x3fe287=_0x325b27[_0xcf1adf(0x166)]({'annotations':this[_0xcf1adf(0x17e)],'activeAnnotation':this[_0xcf1adf(0x188)]});var _0x490c59,_0x47b2ec;!this[_0xcf1adf(0x16e)]&&(_0x490c59=_0x3fe287,_0x47b2ec=this[_0xcf1adf(0x173)],_0x490c59[_0xcf1adf(0x1a4)]===_0x47b2ec[_0xcf1adf(0x1a4)]&&_0x490c59[_0xcf1adf(0x156)](_0x550387=>_0x47b2ec[_0xcf1adf(0x1b5)](_0x550387)))||(this[_0xcf1adf(0x16e)]=!0x1,this[_0xcf1adf(0x181)](_0x3fe287),this[_0xcf1adf(0x19f)](_0x3fe287[0x0]||null));}),this[_0x5502b1(0x160)](_0x325b27,_0x5502b1(0x154),(_0x1a5414,{isAnnotationTracked:_0x670b37})=>{const _0x49b58a=_0x5502b1;this[_0x49b58a(0x188)]&&_0x670b37(this[_0x49b58a(0x188)])&&(this[_0x49b58a(0x181)]([]),this[_0x49b58a(0x19f)](null));}),this[_0x5502b1(0x160)](_0x325b27,_0x5502b1(0x1b7),()=>{const _0x9f86e8=_0x5502b1;this[_0x9f86e8(0x174)]();}),this[_0x5502b1(0x160)](this[_0x5502b1(0x1ab)]['ui'][_0x5502b1(0x15b)],_0x5502b1(0x190),(_0x34886f,_0x5c609b,_0x58ebf1)=>{const _0x348985=_0x5502b1;_0x58ebf1||this[_0x348985(0x19f)](null);}),this[_0x5502b1(0x160)](_0x391ef1,_0x5502b1(0x1aa),(_0x1c436f,_0x37f3b2)=>{const _0x5ab621=_0x5502b1;this[_0x5ab621(0x187)](_0x37f3b2),_0x37f3b2===this[_0x5ab621(0x188)]&&this[_0x5ab621(0x19f)](null);}),this[_0x5502b1(0x160)](_0x1c4d12,_0x5502b1(0x1a3),(_0xd258b3,_0xaf89ad,_0x14f559,_0x336b45)=>{const _0x4c9069=_0x5502b1;_0x336b45&&this[_0x4c9069(0x19d)](_0x336b45);const _0x174937=_0x391ef1[_0x4c9069(0x16f)](_0x14f559);_0x14f559&&_0x174937&&(this[_0x4c9069(0x160)](_0x14f559,_0x4c9069(0x170),()=>{const _0x519b96=_0x4c9069;_0x1c4d12[_0x519b96(0x1b0)]();}),this[_0x4c9069(0x160)](_0x14f559,_0x4c9069(0x18e),()=>{const _0xea082a=_0x4c9069;this[_0xea082a(0x17f)](_0x174937),this[_0xea082a(0x1ab)][_0xea082a(0x17d)][_0xea082a(0x183)][_0xea082a(0x16d)]();}),this[_0x4c9069(0x188)]!==_0x174937&&this[_0x4c9069(0x19f)](_0x174937));}),this[_0x5502b1(0x160)](this[_0x5502b1(0x1ab)]['ui'],_0x5502b1(0x15d),()=>{const _0x36c64f=_0x5502b1;_0x1c4d12[_0x36c64f(0x151)]&&(_0x391ef1[_0x36c64f(0x16f)](_0x1c4d12[_0x36c64f(0x151)])&&_0x1c4d12[_0x36c64f(0x1b0)]());}),this[_0x5502b1(0x160)](this[_0x5502b1(0x1ab)][_0x5502b1(0x17d)][_0x5502b1(0x183)][_0x5502b1(0x1b6)],_0x5502b1(0x18a),()=>{const _0x1d7818=_0x5502b1;this[_0x1d7818(0x16e)]=!0x0,this[_0x1d7818(0x18b)][_0x1d7818(0x18f)]();}),this[_0x5502b1(0x1ab)][_0x5502b1(0x17d)][_0x5502b1(0x183)][_0x5502b1(0x1b6)][_0x5502b1(0x194)][_0x5502b1(0x19e)]&&this[_0x5502b1(0x1ab)][_0x5502b1(0x17d)][_0x5502b1(0x183)][_0x5502b1(0x16d)](),this[_0x5502b1(0x1ae)]=!0x0;}[_0x5b3dd9(0x157)](){const _0x3103b1=_0x5b3dd9;if(!this[_0x3103b1(0x1ae)])throw new _0x5caa94(_0x3103b1(0x199),this);this[_0x3103b1(0x19f)](null);for(const _0x590427 of this[_0x3103b1(0x182)])this[_0x3103b1(0x187)](_0x590427);this[_0x3103b1(0x174)][_0x3103b1(0x152)](),this[_0x3103b1(0x19d)](),this[_0x3103b1(0x1ae)]=!0x1,this[_0x3103b1(0x17e)]=null;}[_0x5b3dd9(0x179)](){const _0x4202fe=_0x5b3dd9;this[_0x4202fe(0x1ae)]&&this[_0x4202fe(0x157)](),this[_0x4202fe(0x174)][_0x4202fe(0x152)]();}[_0x5b3dd9(0x181)](_0x24fd52){const _0x20a612=_0x5b3dd9;for(const _0x4f8090 of this[_0x20a612(0x173)])_0x24fd52[_0x20a612(0x1b5)](_0x4f8090)||this[_0x20a612(0x18b)][_0x20a612(0x180)](_0x4f8090);for(const _0x5f03bf of this[_0x20a612(0x17e)])_0x24fd52[_0x20a612(0x1b5)](_0x5f03bf)||this[_0x20a612(0x187)](_0x5f03bf);if(this[_0x20a612(0x1ab)]['ui'][_0x20a612(0x15b)][_0x20a612(0x197)]){for(const _0x11ae18 of _0x24fd52)this[_0x20a612(0x169)](_0x11ae18);}this[_0x20a612(0x173)]=_0x24fd52;}[_0x5b3dd9(0x169)](_0x1dd420,_0x310f25=!0x1){const _0x52d426=_0x5b3dd9;this[_0x52d426(0x18b)][_0x52d426(0x186)](_0x1dd420)||(this[_0x52d426(0x182)][_0x52d426(0x186)](_0x1dd420)||this[_0x52d426(0x1b2)][_0x52d426(0x15f)](_0x1dd420[_0x52d426(0x183)])||(this[_0x52d426(0x182)][_0x52d426(0x17b)](_0x1dd420),this[_0x52d426(0x1b2)][_0x52d426(0x17b)]({'stackId':_0x1dd420[_0x52d426(0x183)]['id'],'view':_0x1dd420[_0x52d426(0x183)],'position':{'target':()=>this[_0x52d426(0x165)](_0x1dd420)}})),_0x310f25&&this[_0x52d426(0x1b2)][_0x52d426(0x172)](_0x1dd420[_0x52d426(0x183)]['id']));}[_0x5b3dd9(0x165)](_0x41cc56){const _0x5358f7=_0x5b3dd9,_0x11419c=_0x41cc56[_0x5358f7(0x171)],_0x2d8c5f=this[_0x5358f7(0x1ab)][_0x5358f7(0x17d)][_0x5358f7(0x183)],_0x51f285=_0x2d8c5f[_0x5358f7(0x1b6)][_0x5358f7(0x194)][_0x5358f7(0x159)](),_0x47bbe7=_0x2d8c5f[_0x5358f7(0x153)][_0x5358f7(0x168)](_0x51f285);if(_0x47bbe7[_0x5358f7(0x1a5)](!0x0),_0x11419c){if(_0x11419c instanceof _0x5b52e9)return _0x11419c;let _0x2d6c8c=[];for(const _0x17709f of _0x11419c)_0x2d6c8c[_0x5358f7(0x15e)](...F(_0x17709f[_0x5358f7(0x15c)]()));_0x2d6c8c=function(_0x3746c4){const _0x313737=_0x5358f7,_0x4c31cd=[];let _0x4fc56a=_0x3746c4[0x0];for(let _0x36c00b=0x1;_0x36c00b<_0x3746c4[_0x313737(0x1a4)];_0x36c00b++)P(_0x4fc56a,_0x3746c4[_0x36c00b])?_0x4fc56a[_0x313737(0x1b4)]+=_0x3746c4[_0x36c00b][_0x313737(0x1b4)]:(_0x4c31cd[_0x313737(0x15e)](_0x4fc56a),_0x4fc56a=_0x3746c4[_0x36c00b]);return _0x4c31cd[_0x313737(0x15e)](_0x4fc56a),_0x4c31cd;}(_0x2d6c8c);const _0x17f356=_0x47bbe7[_0x5358f7(0x195)]();return _0x2d6c8c[_0x5358f7(0x17a)](_0x3f66eb=>_0x3f66eb[_0x5358f7(0x19b)]<=_0x17f356[_0x5358f7(0x19b)]&&_0x3f66eb[_0x5358f7(0x16b)]>=_0x17f356[_0x5358f7(0x16b)]&&_0x3f66eb[_0x5358f7(0x1b1)]<=_0x17f356[_0x5358f7(0x1b1)]&&_0x3f66eb[_0x5358f7(0x1ac)]>=_0x17f356[_0x5358f7(0x1ac)])||_0x2d6c8c[0x0];}return _0x41cc56[_0x5358f7(0x1ad)]||_0x47bbe7;}[_0x5b3dd9(0x187)](_0x40143c){const _0x2a410f=_0x5b3dd9;this[_0x2a410f(0x182)][_0x2a410f(0x186)](_0x40143c)&&this[_0x2a410f(0x1b2)][_0x2a410f(0x15f)](_0x40143c[_0x2a410f(0x183)])&&(this[_0x2a410f(0x182)][_0x2a410f(0x180)](_0x40143c),this[_0x2a410f(0x1b2)][_0x2a410f(0x1aa)](_0x40143c[_0x2a410f(0x183)]));}[_0x5b3dd9(0x17f)](_0x1448a6){const _0x16f137=_0x5b3dd9;this[_0x16f137(0x18b)][_0x16f137(0x17b)](_0x1448a6),this[_0x16f137(0x187)](_0x1448a6);}}function F(_0xe29957){const _0x576936=_0x5b3dd9;return Array[_0x576936(0x177)](_0xe29957)[_0x576936(0x1a9)](DOMRect[_0x576936(0x196)]);}function P(_0x147a1f,_0x5aab0f){const _0x2e8d27=_0x5b3dd9;return _0x147a1f[_0x2e8d27(0x19b)]===_0x5aab0f[_0x2e8d27(0x19b)]&&_0x147a1f[_0x2e8d27(0x16b)]===_0x5aab0f[_0x2e8d27(0x16b)]&&_0x147a1f[_0x2e8d27(0x1ac)]===_0x5aab0f[_0x2e8d27(0x1b1)];}function _0x9469(){const _0x60f87a=['annotations','_closeAnnotation','delete','_setSelectedAnnotations','_addedAnnotations','view','isOfficialPlugin','48msLkyN','has','_removeAnnotationFromBalloon','activeAnnotation','2394327mIZSdE','mousedown','_manuallyClosed','get','switchTo','Esc','clear','change:isFocused','refreshVisibility','init','context','selection','getBoundingClientRect','fromRect','isFocused','refresh','inlineannotations-detach-not-attached','542340GgiNPM','top','InlineAnnotations','stopListening','editableElement','setActiveAnnotation','515QiAkaD','keystrokes','set','change:visibleView','length','collapse','afterInit','2eXrtkk','hasActive','map','remove','editor','right','targetRect','isAttached','4806624OcmZdr','updatePosition','left','_balloon','attach','width','includes','document','uiUpdate','2350EtYGXG','16272SwQplj','visibleView','cancel','domConverter','blur','isPremiumPlugin','every','detach','requires','getFirstRange','123981ftAwGq','focusTracker','getClientRects','update','push','hasView','listenTo','pluginName','isActive','inline','inlineannotations-attach-already-attached','_getBalloonTargetForAnnotation','getOrderedSelectedAnnotations','inlineannotations-not-allowed-with-context','viewRangeToDom','_addAnnotationToBalloon','plugins','bottom','Annotations','focus','_forceRefresh','getByView','change:height','target','showStack','_selectedAnnotations','_refreshVisibilityDebounced','register','1130339RtcwXx','from','1388iXVPfR','destroy','find','add','addObserver','editing'];_0x9469=function(){return _0x60f87a;};return _0x9469();}
|
|
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)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x569ad7=_0xe66c;(function(_0xfefb73,_0x3726c9){const _0x280527=_0xe66c,_0x322766=_0xfefb73();while(!![]){try{const _0x1bac7e=-parseInt(_0x280527(0x1a7))/0x1*(parseInt(_0x280527(0x1cc))/0x2)+-parseInt(_0x280527(0x157))/0x3*(-parseInt(_0x280527(0x1a5))/0x4)+parseInt(_0x280527(0x19a))/0x5*(-parseInt(_0x280527(0x1b8))/0x6)+-parseInt(_0x280527(0x186))/0x7*(parseInt(_0x280527(0x181))/0x8)+parseInt(_0x280527(0x15f))/0x9*(-parseInt(_0x280527(0x14d))/0xa)+-parseInt(_0x280527(0x18f))/0xb+-parseInt(_0x280527(0x1c1))/0xc*(-parseInt(_0x280527(0x1c0))/0xd);if(_0x1bac7e===_0x3726c9)break;else _0x322766['push'](_0x322766['shift']());}catch(_0x3c72a9){_0x322766['push'](_0x322766['shift']());}}}(_0x1ad9,0x5122b));import{ContextPlugin as _0x41dec1,Context as _0x3fa4a6}from'ckeditor5/src/core.js';function _0xe66c(_0x497497,_0x4cbbf0){const _0x1ad9b0=_0x1ad9();return _0xe66c=function(_0xe66c16,_0x24bd3d){_0xe66c16=_0xe66c16-0x14d;let _0x5f4ecd=_0x1ad9b0[_0xe66c16];return _0x5f4ecd;},_0xe66c(_0x497497,_0x4cbbf0);}import{AnnotationsUIs as _0x351d6b}from'./annotationsuis.js';import{Sidebar as _0x1e82b2}from'./sidebar.js';import{AnnotationCounterButtonView as _0x439e2e}from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x38cd1,BodyCollection as _0x3cd957}from'ckeditor5/src/ui.js';import{CKEditorError as _0x271057,DomEmitterMixin as _0x441d44,keyCodes as _0x2e1882,Collection as _0x53e813}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0xfd52ec}from'es-toolkit/compat';function _0x1ad9(){const _0x423cb0=['_integrateWithEditorAnnotations','has','unpin','65yjaKNE','change:container','EditorAnnotations','content','_updateBalloonPosition','register','blur','narrowsidebar-attach-already-attached','_hideBalloon','set:container','narrowsidebar-detach-not-attached','8ROcynX','southArrowNorthWest','458553NoHLuU','southArrowNorthEast','stopListening','find','init','uiUpdate','isOfficialPlugin','get','isVisible','pin','change:height','removeEventListener','keydown','context','addAnnotation','NarrowSidebar','requires','211842LlrzFY','balloonPanelView','stop','length','northArrowSouthEast','set','ready','refreshVisibility','29254147ieDtbi','12uHUNBV','_attachToContainer','_manuallyClosedAnnotationViews','focus','from','add','keyCode','attachToDom','_detachListeners','Annotations','number','2Wozljo','30OKetnT','refresh','_showBalloon','values','plugins','annotationType','includes','detach','rearrange','ck-sidebar--narrow','461046oZKVpk','view','setActiveAnnotation','_refreshPositioningDebounced','defaultPositions','delete','resize','getByView','1721529xDjIbC','target','northArrowSouth','_annotations','isPremiumPlugin','type','annotations','isDirty','Esc','_refreshPositioning','stopPropagation','preventDefault','mousedown','getOrderedSelectedAnnotations','high','bind','element','getSidebarItemView','bodyCollection','clear','locale','off','addEventListener','attach','_editorAnnotations','_attachListeners','focusableElements','cancel','first','narrowSidebar','isAttached','_annotationToNarrowView','remove','_destroyEditorAnnotationsIntegration','1016984QVPnmB','refreshPositioning','execute','southArrowNorth','_selectedAnnotations','7rFdROD','northArrowSouthWest','preventClosingBalloon','_detachFromContainer','low','activeAnnotation','contains','_setSelectedAnnotations','esc','6675262eLSwaF','editors','listenTo','destroy','hasDomSelection','pluginName','detachFromDom','_domEmitter'];_0x1ad9=function(){return _0x423cb0;};return _0x1ad9();}export class NarrowSidebar extends _0x41dec1{[_0x569ad7(0x17d)];[_0x569ad7(0x165)];[_0x569ad7(0x1c3)];[_0x569ad7(0x196)];[_0x569ad7(0x17e)];[_0x569ad7(0x185)];[_0x569ad7(0x177)];[_0x569ad7(0x15a)];static get[_0x569ad7(0x1b7)](){return[_0x1e82b2,_0x351d6b];}static get[_0x569ad7(0x194)](){const _0x4909bb=_0x569ad7;return _0x4909bb(0x1b6);}static get[_0x569ad7(0x1ad)](){return!0x0;}static get[_0x569ad7(0x163)](){return!0x0;}constructor(_0x5de1ea){const _0x45d63b=_0x569ad7;super(_0x5de1ea),this[_0x45d63b(0x17d)]=!0x1,this[_0x45d63b(0x1c3)]=new Set(),this[_0x45d63b(0x196)]=new(_0x441d44())(),this[_0x45d63b(0x17e)]=new Map(),this[_0x45d63b(0x1bd)](_0x45d63b(0x18b),null),this[_0x45d63b(0x165)]=null,this[_0x45d63b(0x185)]=[],this[_0x45d63b(0x177)]=new _0x53e813(),this[_0x45d63b(0x15a)]=_0xfd52ec(()=>{const _0x38b0f3=_0x45d63b;this[_0x38b0f3(0x168)]();},0xfa,{'leading':!0x1});}[_0x569ad7(0x1ab)](){const _0x250693=_0x569ad7;this[_0x250693(0x1b4)][_0x250693(0x151)][_0x250693(0x1ae)](_0x351d6b)[_0x250693(0x19f)](_0x250693(0x17c),this),this[_0x250693(0x171)]=new _0x3cd957(this[_0x250693(0x1b4)][_0x250693(0x173)]),this[_0x250693(0x1b9)]=new _0x38cd1(this[_0x250693(0x1b4)][_0x250693(0x173)]),this[_0x250693(0x171)][_0x250693(0x1c8)](),this[_0x250693(0x171)][_0x250693(0x1c6)](this[_0x250693(0x1b9)]);}[_0x569ad7(0x176)](_0x307a5c){const _0x361df1=_0x569ad7;this[_0x361df1(0x165)]=_0x307a5c;const _0x526686=this[_0x361df1(0x1b4)][_0x361df1(0x151)][_0x361df1(0x1ae)](_0x1e82b2),_0x1fdb7d=this[_0x361df1(0x1b9)];if(_0x526686[_0x361df1(0x162)]=_0x307a5c,this[_0x361df1(0x17d)])throw new _0x271057(_0x361df1(0x1a1),this);this[_0x361df1(0x17d)]=!0x0,this[_0x361df1(0x191)](_0x526686,_0x361df1(0x1a3),()=>{const _0x19d6ae=_0x361df1;this[_0x19d6ae(0x154)](),this[_0x19d6ae(0x191)](_0x526686,_0x19d6ae(0x19b),_0x5a2dce=>{const _0x2b1407=_0x19d6ae;_0x5a2dce[_0x2b1407(0x174)](),this[_0x2b1407(0x176)](_0x307a5c);});}),_0x526686[_0x361df1(0x1c2)]({'viewClass':_0x361df1(0x156),'spaceBetweenItems':0x5});const _0x3fd35b=_0x31c5e9=>{const _0x3f01df=_0x361df1,_0x52cbf5=new _0x439e2e(this[_0x3f01df(0x1b4)][_0x3f01df(0x173)]);_0x526686[_0x3f01df(0x1b5)](_0x31c5e9,_0x52cbf5),this[_0x3f01df(0x17e)][_0x3f01df(0x1bd)](_0x31c5e9,_0x52cbf5),_0x52cbf5[_0x3f01df(0x16e)](_0x3f01df(0x166),_0x3f01df(0x152),_0x3f01df(0x1cb))['to'](_0x31c5e9[_0x3f01df(0x158)],_0x3f01df(0x166),_0x3f01df(0x164),_0x3f01df(0x1bb)),_0x52cbf5['on'](_0x3f01df(0x183),()=>{const _0x118e8c=_0x3f01df;this[_0x118e8c(0x1c3)][_0x118e8c(0x172)](),_0x1fdb7d[_0x118e8c(0x19d)][_0x118e8c(0x17b)]!==_0x31c5e9[_0x118e8c(0x158)]?(this[_0x118e8c(0x14f)](_0x31c5e9),_0x31c5e9[_0x118e8c(0x158)][_0x118e8c(0x16f)][_0x118e8c(0x1c4)](),this[_0x118e8c(0x159)](_0x31c5e9)):this[_0x118e8c(0x159)](null);});};for(const _0xa3cf65 of _0x307a5c)_0x3fd35b(_0xa3cf65);this[_0x361df1(0x191)](_0x307a5c,_0x361df1(0x1c6),(_0x541ca0,_0x1ec189)=>{_0x3fd35b(_0x1ec189);}),this[_0x361df1(0x191)](_0x307a5c,_0x361df1(0x17f),(_0x2e6a47,_0x40ab89,_0x503bb2)=>{const _0x774992=_0x361df1;this[_0x774992(0x17e)][_0x774992(0x1ae)](_0x40ab89)[_0x774992(0x192)](),this[_0x774992(0x17e)][_0x774992(0x15c)](_0x40ab89),_0x526686[_0x774992(0x155)]({'removedAnnotation':_0x40ab89,'previousAnnotation':_0x307a5c[_0x774992(0x1ae)](_0x503bb2-0x1),'nextAnnotation':_0x307a5c[_0x774992(0x1ae)](_0x503bb2+0x1)}),_0x40ab89===this[_0x774992(0x18b)]&&this[_0x774992(0x159)](null);},{'priority':_0x361df1(0x18a)}),this[_0x361df1(0x191)](_0x307a5c,_0x361df1(0x1c4),(_0x37f84c,_0x3413ad)=>{const _0x13c4ae=_0x361df1;this[_0x13c4ae(0x159)](_0x3413ad);}),this[_0x361df1(0x191)](_0x307a5c,_0x361df1(0x1a0),()=>{const _0x5ae3ac=_0x361df1;this[_0x5ae3ac(0x159)](null);}),this[_0x361df1(0x196)][_0x361df1(0x191)](document,_0x361df1(0x1b3),(_0x104eb7,_0x577e07)=>{const _0x4d4ef5=_0x361df1;_0x577e07[_0x4d4ef5(0x1c7)]===_0x2e1882[_0x4d4ef5(0x18e)]&&_0x1fdb7d[_0x4d4ef5(0x1af)]&&(this[_0x4d4ef5(0x1c3)][_0x4d4ef5(0x1c6)](_0x1fdb7d[_0x4d4ef5(0x19d)][_0x4d4ef5(0x17b)]),this[_0x4d4ef5(0x1a2)](),_0x577e07[_0x4d4ef5(0x169)](),_0x577e07[_0x4d4ef5(0x16a)]());}),this[_0x361df1(0x196)][_0x361df1(0x191)](document,_0x361df1(0x16b),(_0x5935bc,_0x3ecc79)=>{const _0x31667b=_0x361df1,_0x360721=_0x3ecc79[_0x31667b(0x160)];_0x1fdb7d[_0x31667b(0x1af)]&&_0x1fdb7d[_0x31667b(0x16f)][_0x31667b(0x18c)](_0x360721)||_0x526686[_0x31667b(0x158)][_0x31667b(0x16f)][_0x31667b(0x18c)](_0x360721)||_0x5935bc[_0x31667b(0x188)]||this[_0x31667b(0x18b)]&&this[_0x31667b(0x18b)][_0x31667b(0x179)][_0x31667b(0x1aa)](_0x127c76=>_0x127c76[_0x31667b(0x18c)](_0x360721))||(this[_0x31667b(0x1c3)][_0x31667b(0x172)](),this[_0x31667b(0x1a2)](),this[_0x31667b(0x159)](null));});const _0x499155=this[_0x361df1(0x1b4)]instanceof _0x3fa4a6?this[_0x361df1(0x1b4)][_0x361df1(0x190)]:new _0x53e813([this[_0x361df1(0x1b4)]]);for(const _0x14029a of _0x499155)this[_0x361df1(0x197)](_0x14029a);this[_0x361df1(0x191)](_0x499155,_0x361df1(0x1c6),(_0x47db61,_0x5e93ac)=>{const _0x3bf0ad=_0x361df1;this[_0x3bf0ad(0x191)](_0x5e93ac,_0x3bf0ad(0x1be),()=>{const _0x2beb65=_0x3bf0ad;this[_0x2beb65(0x197)](_0x5e93ac);});}),this[_0x361df1(0x191)](_0x499155,_0x361df1(0x17f),(_0x2d9b32,_0x2e9a45)=>{const _0x4e7c15=_0x361df1;_0x2e9a45[_0x4e7c15(0x151)][_0x4e7c15(0x198)](_0x4e7c15(0x19c))&&this[_0x4e7c15(0x180)](_0x2e9a45[_0x4e7c15(0x151)][_0x4e7c15(0x1ae)](_0x4e7c15(0x19c)));}),window[_0x361df1(0x175)](_0x361df1(0x15d),this[_0x361df1(0x15a)]),this[_0x361df1(0x168)]();}[_0x569ad7(0x159)](_0x281fd3){const _0x4ab308=_0x569ad7;if(_0x281fd3===this[_0x4ab308(0x18b)])return;const _0x4df8d5=this[_0x4ab308(0x1b4)][_0x4ab308(0x151)][_0x4ab308(0x1ae)](_0x1e82b2);if(_0x4df8d5[_0x4ab308(0x14e)]({'blurredAnnotation':this[_0x4ab308(0x18b)],'activatedAnnotation':_0x281fd3,'disableAnimationOnActivatedAnnotation':!0x0}),_0x281fd3)_0x4df8d5[_0x4ab308(0x170)](_0x281fd3)?this[_0x4ab308(0x14f)](_0x281fd3):this[_0x4ab308(0x1a2)]();else this[_0x4ab308(0x1a2)]();this[_0x4ab308(0x18b)]=_0x281fd3;}[_0x569ad7(0x154)](){const _0x1f2d80=_0x569ad7;if(!this[_0x1f2d80(0x17d)])throw new _0x271057(_0x1f2d80(0x1a4),this);this[_0x1f2d80(0x159)](null);const _0x1a5cee=this[_0x1f2d80(0x1b4)][_0x1f2d80(0x151)][_0x1f2d80(0x1ae)](_0x1e82b2);this[_0x1f2d80(0x1a2)](),Array[_0x1f2d80(0x1c5)](this[_0x1f2d80(0x17e)][_0x1f2d80(0x150)](),_0x904c3=>_0x904c3[_0x1f2d80(0x192)]()),this[_0x1f2d80(0x17e)][_0x1f2d80(0x172)](),_0x1a5cee[_0x1f2d80(0x189)](this[_0x1f2d80(0x165)]),this[_0x1f2d80(0x1a9)](),this[_0x1f2d80(0x196)][_0x1f2d80(0x1a9)](),this[_0x1f2d80(0x1b4)]instanceof _0x3fa4a6&&this[_0x1f2d80(0x1a9)](this[_0x1f2d80(0x1b4)][_0x1f2d80(0x190)]);for(const _0x4e8602 of Array[_0x1f2d80(0x1c5)](this[_0x1f2d80(0x177)]))this[_0x1f2d80(0x180)](_0x4e8602);window[_0x1f2d80(0x1b2)](_0x1f2d80(0x15d),this[_0x1f2d80(0x15a)]),this[_0x1f2d80(0x15a)][_0x1f2d80(0x17a)](),this[_0x1f2d80(0x185)]=[],this[_0x1f2d80(0x17d)]=!0x1,this[_0x1f2d80(0x165)]=null;}[_0x569ad7(0x192)](){const _0x3e77c2=_0x569ad7;this[_0x3e77c2(0x17d)]&&this[_0x3e77c2(0x154)](),this[_0x3e77c2(0x171)][_0x3e77c2(0x195)]();}[_0x569ad7(0x197)](_0x2d83f2){const _0x51ea31=_0x569ad7;if(!_0x2d83f2[_0x51ea31(0x151)][_0x51ea31(0x198)](_0x51ea31(0x19c)))return;const _0x5c4136=_0x2d83f2[_0x51ea31(0x151)][_0x51ea31(0x1ae)](_0x51ea31(0x19c)),_0x2bc4b4=this[_0x51ea31(0x1b4)][_0x51ea31(0x151)][_0x51ea31(0x1ae)](_0x1e82b2),_0x42a31f=this[_0x51ea31(0x165)],_0x5814c9=this[_0x51ea31(0x1b9)],_0x669eaa=()=>{const _0x4284ed=_0x51ea31,_0x14782d=_0x5c4136[_0x4284ed(0x16c)]({'annotations':this[_0x4284ed(0x165)],'activeAnnotation':this[_0x4284ed(0x18b)]});this[_0x4284ed(0x18d)](_0x14782d),this[_0x4284ed(0x159)](_0x14782d[0x0]||null);};this[_0x51ea31(0x191)](_0x5c4136,_0x51ea31(0x14e),_0x669eaa),this[_0x51ea31(0x191)](_0x5c4136,_0x51ea31(0x1a0),(_0xf7cae1,{isAnnotationTracked:_0x3d293c})=>{const _0x40b53d=_0x51ea31;this[_0x40b53d(0x18b)]&&_0x3d293c(this[_0x40b53d(0x18b)])&&(this[_0x40b53d(0x18d)]([]),this[_0x40b53d(0x159)](null));}),this[_0x51ea31(0x191)](_0x5c4136,_0x51ea31(0x1ac),()=>{const _0x5032e0=_0x51ea31;this[_0x5032e0(0x15a)]();}),this[_0x51ea31(0x191)](_0x42a31f,_0x51ea31(0x1a0),_0x4d20c8=>{const _0x4445bb=_0x51ea31;_0x5c4136[_0x4445bb(0x193)]()&&_0x4d20c8[_0x4445bb(0x1ba)]();},{'priority':_0x51ea31(0x16d)}),this[_0x51ea31(0x191)](this[_0x51ea31(0x196)],_0x51ea31(0x16b),(_0x43fa65,_0x344f00)=>{const _0x49c851=_0x51ea31,_0x35527d=_0x344f00[_0x49c851(0x160)];_0x5814c9[_0x49c851(0x1af)]&&_0x5814c9[_0x49c851(0x16f)][_0x49c851(0x18c)](_0x35527d)||_0x2bc4b4[_0x49c851(0x158)][_0x49c851(0x16f)][_0x49c851(0x18c)](_0x35527d)||this[_0x49c851(0x18b)]&&_0x5c4136[_0x49c851(0x193)]()&&(_0x669eaa(),_0x43fa65[_0x49c851(0x188)]=!0x0);},{'priority':_0x51ea31(0x16d)}),this[_0x51ea31(0x177)][_0x51ea31(0x1c6)](_0x5c4136);}[_0x569ad7(0x180)](_0x1e3b2){const _0x440090=_0x569ad7;_0x1e3b2&&(this[_0x440090(0x1a9)](_0x1e3b2),this[_0x440090(0x177)][_0x440090(0x17f)](_0x1e3b2));}[_0x569ad7(0x18d)](_0x1da7a3){const _0x51807f=_0x569ad7;for(const _0x224872 of this[_0x51807f(0x185)])_0x1da7a3[_0x51807f(0x153)](_0x224872)||this[_0x51807f(0x1c3)][_0x51807f(0x15c)](_0x224872[_0x51807f(0x158)]);this[_0x51807f(0x185)]=_0x1da7a3;}[_0x569ad7(0x168)](){const _0x553d5b=_0x569ad7,_0x26dd78=this[_0x553d5b(0x1b9)];this[_0x553d5b(0x1b4)][_0x553d5b(0x151)][_0x553d5b(0x1ae)](_0x553d5b(0x1ca))[_0x553d5b(0x1bf)](),this[_0x553d5b(0x165)][_0x553d5b(0x182)](),_0x26dd78[_0x553d5b(0x1af)]&&this[_0x553d5b(0x19e)]();}[_0x569ad7(0x14f)](_0x401635){const _0x5d29d4=_0x569ad7;if(this[_0x5d29d4(0x1c3)][_0x5d29d4(0x198)](_0x401635[_0x5d29d4(0x158)]))return;const _0x557b81=this[_0x5d29d4(0x1b9)][_0x5d29d4(0x19d)][_0x5d29d4(0x17b)];_0x557b81!==_0x401635[_0x5d29d4(0x158)]?(_0x557b81&&this[_0x5d29d4(0x1c9)](_0x557b81),this[_0x5d29d4(0x178)](_0x401635[_0x5d29d4(0x158)]),this[_0x5d29d4(0x1b9)][_0x5d29d4(0x19d)][_0x5d29d4(0x172)](),this[_0x5d29d4(0x1b9)][_0x5d29d4(0x19d)][_0x5d29d4(0x1c6)](_0x401635[_0x5d29d4(0x158)]),this[_0x5d29d4(0x19e)]()):this[_0x5d29d4(0x19e)]();}[_0x569ad7(0x19e)](){const _0x3bb227=_0x569ad7,_0x3e096d=this[_0x3bb227(0x1b9)][_0x3bb227(0x19d)][_0x3bb227(0x17b)],_0x5c64d9=_0x3e096d&&this[_0x3bb227(0x165)][_0x3bb227(0x15e)](_0x3e096d);if(!_0x5c64d9||!this[_0x3bb227(0x17e)][_0x3bb227(0x198)](_0x5c64d9))return;const _0xda777b=this[_0x3bb227(0x17e)][_0x3bb227(0x1ae)](_0x5c64d9)[_0x3bb227(0x16f)],_0x597461=(function(){const _0x386ed0=_0x3bb227,_0x5787a0=_0x38cd1[_0x386ed0(0x15b)];return[_0x5787a0[_0x386ed0(0x1a8)],_0x5787a0[_0x386ed0(0x1bc)],_0x5787a0[_0x386ed0(0x184)],_0x5787a0[_0x386ed0(0x161)],_0x5787a0[_0x386ed0(0x1a6)],_0x5787a0[_0x386ed0(0x187)]];}());this[_0x3bb227(0x1b9)][_0x3bb227(0x1b0)]({'target':_0xda777b,'positions':_0x597461});}[_0x569ad7(0x1a2)](){const _0x1948a2=_0x569ad7,_0x5cd000=this[_0x1948a2(0x1b9)],_0x45c3e8=_0x5cd000[_0x1948a2(0x19d)][_0x1948a2(0x17b)];_0x45c3e8&&(this[_0x1948a2(0x1c9)](_0x45c3e8),_0x5cd000[_0x1948a2(0x199)](),_0x5cd000[_0x1948a2(0x19d)][_0x1948a2(0x172)]());}[_0x569ad7(0x178)](_0x1994f0){const _0x14339a=_0x569ad7;this[_0x14339a(0x191)](_0x1994f0,_0x14339a(0x1b1),()=>this[_0x14339a(0x19e)]()),this[_0x14339a(0x191)](_0x1994f0,_0x14339a(0x167),(_0x4a10c1,_0x30ab04)=>{const _0x4145c8=_0x14339a;this[_0x4145c8(0x1c3)][_0x4145c8(0x1c6)](_0x1994f0),this[_0x4145c8(0x1a2)](),_0x30ab04();});}[_0x569ad7(0x1c9)](_0x696f0c){const _0x26b74f=_0x569ad7;this[_0x26b74f(0x1a9)](_0x696f0c);}}
|
|
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);}}
|