@ckeditor/ckeditor5-comments 44.3.0-alpha.7 → 45.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/build/comments.js +1 -1
- package/build/translations/be.js +1 -0
- package/ckeditor5-metadata.json +2 -2
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.d.ts +8 -0
- package/dist/translations/be.js +23 -0
- package/dist/translations/be.umd.js +23 -0
- 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/lang/translations/be.po +178 -0
- package/package.json +19 -18
- 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.d.ts +4 -0
- 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 +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.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.d.ts +1 -0
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/icons/add-comment.svg +0 -11
- package/theme/icons/comments-archive.svg +0 -11
- package/theme/icons/edit-comment.svg +0 -11
- package/theme/icons/remove-comment.svg +0 -11
- package/theme/icons/undo.svg +0 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3dfb40=_0x52d5;(function(_0x41deaa,_0x2d1431){const _0x35478b=_0x52d5,_0xbb9741=_0x41deaa();while(!![]){try{const _0x4985b4=-parseInt(_0x35478b(0xaf))/0x1*(parseInt(_0x35478b(0xe0))/0x2)+-parseInt(_0x35478b(0xac))/0x3+-parseInt(_0x35478b(0xe1))/0x4*(parseInt(_0x35478b(0xeb))/0x5)+-parseInt(_0x35478b(0xb1))/0x6*(parseInt(_0x35478b(0xb5))/0x7)+-parseInt(_0x35478b(0xda))/0x8+-parseInt(_0x35478b(0xbf))/0x9+parseInt(_0x35478b(0xc0))/0xa;if(_0x4985b4===_0x2d1431)break;else _0xbb9741['push'](_0xbb9741['shift']());}catch(_0x7fc4a){_0xbb9741['push'](_0xbb9741['shift']());}}}(_0x4151,0x9deec));function _0x4151(){const _0x403989=['uiUpdate','collection','blur','pluginName','change:isFocused','document','5pDwcwi','push','3527067ZQHAYT','isPremiumPlugin','map','73076VjPDBi','_editorAnnotationsData','6UQkWbh','focusTracker','refreshSelectedViews','addSourceCollector','5237813rEfPFt','editing','isEqual','getRanges','model','fire','EditorAnnotations','view','plugins','isReadOnly','2513691jHgpNI','49457900WVLhCO','add','set','listenTo','annotation','registerAnnotation','init','_editorAnnotations','isCollapsed','refresh','innerView','selection','directChange','isOfficialPlugin','containsRange','sort','requires','update','editor','hasDomSelection','element','remove','function','get','delete','getOrderedSelectedAnnotations','8560384JqUsmE','editorannotations-invalid-source-callback','getByInnerView','change:range','_dataCollectors','range','28YWzaJs','10156TDBQrc','from','has','cancel'];_0x4151=function(){return _0x403989;};return _0x4151();}function _0x52d5(_0x5240b6,_0x198639){const _0x415162=_0x4151();return _0x52d5=function(_0x52d5ef,_0x195f94){_0x52d5ef=_0x52d5ef-0xac;let _0x243c01=_0x415162[_0x52d5ef];return _0x243c01;},_0x52d5(_0x5240b6,_0x198639);}import{Plugin as _0x459a20}from'ckeditor5/src/core.js';import{CKEditorError as _0x480ae8}from'ckeditor5/src/utils.js';import{debounce as _0x4594ad}from'es-toolkit/compat';import _0x564ca6 from'./annotations.js';export default class P extends _0x459a20{[_0x3dfb40(0xde)];[_0x3dfb40(0xc7)];static get[_0x3dfb40(0xd0)](){return[_0x564ca6];}static get[_0x3dfb40(0xe8)](){const _0x169a80=_0x3dfb40;return _0x169a80(0xbb);}static get[_0x3dfb40(0xcd)](){return!0x0;}static get[_0x3dfb40(0xad)](){return!0x0;}constructor(_0x22fdf9){const _0x56c527=_0x3dfb40;super(_0x22fdf9),this[_0x56c527(0xde)]=new Set(),this[_0x56c527(0xc7)]=new Set();}[_0x3dfb40(0xc6)](){const _0x111fcd=_0x3dfb40,_0x411bf6=this[_0x111fcd(0xd2)],_0x113e88=_0x411bf6[_0x111fcd(0xb9)][_0x111fcd(0xea)][_0x111fcd(0xcb)],_0xc2a80e=_0x4594ad(()=>this[_0x111fcd(0xb3)](),0xa);_0x113e88['on'](_0x111fcd(0xdd),(_0x1a5520,_0x58f1af)=>{const _0x1e50bb=_0x111fcd;_0x58f1af[_0x1e50bb(0xcc)]&&(_0xc2a80e[_0x1e50bb(0xe4)](),this[_0x1e50bb(0xb3)]());}),this[_0x111fcd(0xc3)](_0x411bf6[_0x111fcd(0xb6)][_0x111fcd(0xbc)][_0x111fcd(0xea)],_0x111fcd(0xe9),(_0x491d47,_0x22810c,_0x56eec9)=>{_0x56eec9&&_0xc2a80e();}),this[_0x111fcd(0xc3)](_0x411bf6['ui'][_0x111fcd(0xb2)],_0x111fcd(0xe9),(_0x4650ae,_0x43aa20,_0xcfbc8e)=>{const _0x12801e=_0x111fcd;_0xcfbc8e||_0x411bf6[_0x12801e(0xbe)]||this[_0x12801e(0xba)](_0x12801e(0xe7),{'isAnnotationTracked':_0x613a52=>this[_0x12801e(0xb0)][_0x12801e(0xe3)](_0x613a52[_0x12801e(0xca)])});}),this[_0x111fcd(0xc3)](this[_0x111fcd(0xd2)]['ui'],_0x111fcd(0xd1),()=>this[_0x111fcd(0xba)](_0x111fcd(0xe5)));}[_0x3dfb40(0xc5)](_0x11f9fa){const _0xa19386=_0x3dfb40;if(this[_0xa19386(0xc7)][_0xa19386(0xe3)](_0x11f9fa[_0xa19386(0xbc)]))return;this[_0xa19386(0xc7)][_0xa19386(0xc1)](_0x11f9fa[_0xa19386(0xbc)]),this[_0xa19386(0xd2)]['ui'][_0xa19386(0xb2)][_0xa19386(0xc1)](_0x11f9fa[_0xa19386(0xbc)][_0xa19386(0xd4)]);const _0x1dfd20=this[_0xa19386(0xd2)][_0xa19386(0xbd)][_0xa19386(0xd7)](_0x564ca6);this[_0xa19386(0xc3)](_0x1dfd20[_0xa19386(0xe6)],_0xa19386(0xd5),(_0x22d693,_0xe65976)=>{const _0x3978ab=_0xa19386;this[_0x3978ab(0xd2)]['ui'][_0x3978ab(0xb2)][_0x3978ab(0xd5)](_0xe65976[_0x3978ab(0xbc)][_0x3978ab(0xd4)]),this[_0x3978ab(0xc7)][_0x3978ab(0xd8)](_0xe65976[_0x3978ab(0xbc)]);});}[_0x3dfb40(0xd3)](){const _0x22f584=_0x3dfb40;return this[_0x22f584(0xd2)][_0x22f584(0xb6)][_0x22f584(0xbc)][_0x22f584(0xd3)];}[_0x3dfb40(0xb4)](_0x37d7a9){const _0xdc55e4=_0x3dfb40;if(_0xdc55e4(0xd6)!=typeof _0x37d7a9)throw new _0x480ae8(_0xdc55e4(0xdb));this[_0xdc55e4(0xde)][_0xdc55e4(0xc1)](_0x37d7a9);}[_0x3dfb40(0xb3)](){const _0x3549e5=_0x3dfb40;this[_0x3549e5(0xba)](_0x3549e5(0xc9));}[_0x3dfb40(0xd9)]({activeAnnotation:_0x3811f8,annotations:_0x86de4c}){const _0x5206eb=_0x3dfb40,_0x4ca554=[],_0x53675c=this[_0x5206eb(0xd2)][_0x5206eb(0xb9)][_0x5206eb(0xea)][_0x5206eb(0xcb)],_0x4df87a=Array[_0x5206eb(0xe2)](_0x53675c[_0x5206eb(0xb8)]());for(const [_0x23c9b6,_0x4bac91]of this[_0x5206eb(0xb0)]){const _0x293ab2=_0x40b778(_0x4bac91),_0x52ea8b=_0x86de4c[_0x5206eb(0xdc)](_0x23c9b6);_0x293ab2&&_0x52ea8b&&_0x4ca554[_0x5206eb(0xec)]({'annotation':_0x52ea8b,'range':_0x293ab2});}function _0x40b778(_0x169931){const _0x8485f1=_0x5206eb;for(const _0x54a4a6 of _0x169931)for(const _0xb32322 of _0x4df87a)if(_0x54a4a6[_0x8485f1(0xce)](_0xb32322,!_0x53675c[_0x8485f1(0xc8)]))return _0x54a4a6;return null;}return _0x4ca554[_0x5206eb(0xcf)]((_0x5d76f6,_0x1ca6e2)=>{const _0x1a183d=_0x5206eb,_0x5cf9ae=_0x5d76f6[_0x1a183d(0xdf)],_0x5e236e=_0x1ca6e2[_0x1a183d(0xdf)];if(!_0x5cf9ae[_0x1a183d(0xb7)](_0x5e236e)){if(_0x5cf9ae[_0x1a183d(0xce)](_0x5e236e,!0x0))return 0x1;if(_0x5e236e[_0x1a183d(0xce)](_0x5cf9ae,!0x0))return-0x1;}return _0x5d76f6[_0x1a183d(0xc4)]==_0x3811f8?-0x1:_0x1ca6e2[_0x1a183d(0xc4)]==_0x3811f8?0x1:0x0;})[_0x5206eb(0xae)](_0x2ed011=>_0x2ed011[_0x5206eb(0xc4)]);}get[_0x3dfb40(0xb0)](){const _0x2903fb=_0x3dfb40,_0x190a5e=new Map();for(const _0x400557 of Array[_0x2903fb(0xe2)](this[_0x2903fb(0xde)]))for(const [_0x472746,_0x548ba7]of _0x400557())_0x190a5e[_0x2903fb(0xc2)](_0x472746,_0x548ba7);return _0x190a5e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4f7ec8=_0x4653;(function(_0x3fc524,_0x2c7a63){const _0x4c36c3=_0x4653,_0x4a76ec=_0x3fc524();while(!![]){try{const _0x2a2a2e=parseInt(_0x4c36c3(0x12c))/0x1*(parseInt(_0x4c36c3(0x136))/0x2)+-parseInt(_0x4c36c3(0x12b))/0x3*(-parseInt(_0x4c36c3(0xdd))/0x4)+parseInt(_0x4c36c3(0xe9))/0x5*(-parseInt(_0x4c36c3(0x126))/0x6)+parseInt(_0x4c36c3(0xf8))/0x7*(-parseInt(_0x4c36c3(0xe4))/0x8)+parseInt(_0x4c36c3(0x118))/0x9*(-parseInt(_0x4c36c3(0xf3))/0xa)+parseInt(_0x4c36c3(0x12d))/0xb+parseInt(_0x4c36c3(0x137))/0xc;if(_0x2a2a2e===_0x2c7a63)break;else _0x4a76ec['push'](_0x4a76ec['shift']());}catch(_0x4130d3){_0x4a76ec['push'](_0x4a76ec['shift']());}}}(_0x46bd,0x79361));import{Plugin as _0x6d598b}from'ckeditor5/src/core.js';import _0x121405 from'./annotationsuis.js';import _0x478617 from'./editorannotations.js';function _0x4653(_0x18c7b6,_0x1f82c9){const _0x46bd96=_0x46bd();return _0x4653=function(_0x4653c7,_0x598245){_0x4653c7=_0x4653c7-0xdd;let _0x44fda0=_0x46bd96[_0x4653c7];return _0x44fda0;},_0x4653(_0x18c7b6,_0x1f82c9);}import{ContextualBalloon as _0x5b0a41}from'ckeditor5/src/ui.js';import{MouseObserver as _0x57b383}from'ckeditor5/src/engine.js';import{CKEditorError as _0x16a9a5,Rect as _0x728f3d}from'ckeditor5/src/utils.js';function _0x46bd(){const _0x27d98c=['delete','selection','mousedown','focus','viewRangeToDom','inline','editing','1497490vebbHv','stopListening','hasView','getOrderedSelectedAnnotations','_manuallyClosed','39403kJrRSo','width','top','isFocused','map','has','updatePosition','right','left','target','showStack','get','hasActive','getFirstRange','update','detach','_selectedAnnotations','_forceRefresh','_setSelectedAnnotations','inlineannotations-not-allowed-with-context','plugins','pluginName','blur','Esc','annotations','isAttached','_addAnnotationToBalloon','targetRect','activeAnnotation','visibleView','view','add','54gJwKwf','keystrokes','switchTo','afterInit','every','init','getBoundingClientRect','bottom','requires','change:visibleView','getByView','_removeAnnotationFromBalloon','push','inlineannotations-detach-not-attached','6ZJfDmG','context','_balloon','find','destroy','2806269SXElNN','59209bMxSnB','8357547inBhdH','document','attach','editor','length','change:isFocused','addObserver','register','remove','16ZHNxVj','3411684byeKxx','listenTo','_addedAnnotations','isOfficialPlugin','_closeAnnotation','domConverter','_getBalloonTargetForAnnotation','setActiveAnnotation','editableElement','fromRect','focusTracker','4hXCvPl','from','refresh','change:height','collapse','includes','getClientRects','440NFnhCA','set','InlineAnnotations','isPremiumPlugin','clear','3743045YUExhh','isActive','inlineannotations-attach-already-attached'];_0x46bd=function(){return _0x27d98c;};return _0x46bd();}import'./../../theme/annotation-inline.css';export default class c extends _0x6d598b{static get[_0x4f7ec8(0x120)](){return[_0x478617,_0x5b0a41,_0x121405];}static get[_0x4f7ec8(0x10d)](){const _0x4c01f0=_0x4f7ec8;return _0x4c01f0(0xe6);}static get[_0x4f7ec8(0x13a)](){return!0x0;}static get[_0x4f7ec8(0xe7)](){return!0x0;}constructor(_0x45f3f5){const _0x43cacf=_0x4f7ec8;super(_0x45f3f5),_0x45f3f5[_0x43cacf(0xf2)][_0x43cacf(0x116)][_0x43cacf(0x133)](_0x57b383),this[_0x43cacf(0x111)]=!0x1,this[_0x43cacf(0xe5)](_0x43cacf(0x114),null),this[_0x43cacf(0x110)]=null,this[_0x43cacf(0xf7)]=new Set(),this[_0x43cacf(0x128)]=_0x45f3f5[_0x43cacf(0x10c)][_0x43cacf(0x103)](_0x5b0a41),this[_0x43cacf(0x139)]=new Set(),this[_0x43cacf(0x108)]=[],this[_0x43cacf(0x109)]=!0x1;}[_0x4f7ec8(0x11d)](){const _0x1cb5d4=_0x4f7ec8,_0xa87efe=this[_0x1cb5d4(0x130)][_0x1cb5d4(0x10c)][_0x1cb5d4(0x103)](_0x121405);_0xa87efe[_0x1cb5d4(0x127)]===this[_0x1cb5d4(0x130)]&&(_0xa87efe[_0x1cb5d4(0x134)](_0x1cb5d4(0xf1),this),this[_0x1cb5d4(0x130)][_0x1cb5d4(0x119)][_0x1cb5d4(0xe5)](_0x1cb5d4(0x10f),(_0x5463e1,_0x1f5916)=>{const _0xd803e7=_0x1cb5d4,_0x542e46=this[_0xd803e7(0x128)];if(this[_0xd803e7(0x111)]&&_0x542e46[_0xd803e7(0x115)]){const _0x302fdc=this[_0xd803e7(0x110)][_0xd803e7(0x122)](_0x542e46[_0xd803e7(0x115)]);_0x302fdc&&this[_0xd803e7(0x13b)](_0x302fdc),_0x1f5916();}}));}[_0x4f7ec8(0x11b)](){const _0xdef3bb=_0x4f7ec8,_0x5b81f2=this[_0xdef3bb(0x130)][_0xdef3bb(0x10c)][_0xdef3bb(0x103)](_0x121405);_0x5b81f2[_0xdef3bb(0x127)]===this[_0xdef3bb(0x130)]&&(_0x5b81f2[_0xdef3bb(0x104)]()||_0x5b81f2[_0xdef3bb(0x11a)](_0xdef3bb(0xf1)));}[_0x4f7ec8(0x13e)](_0x3cf5d7){const _0x1eb63e=_0x4f7ec8;_0x3cf5d7!==this[_0x1eb63e(0x114)]&&(this[_0x1eb63e(0x114)]&&(this[_0x1eb63e(0x114)][_0x1eb63e(0xea)]=!0x1),_0x3cf5d7&&this[_0x1eb63e(0x130)]['ui'][_0x1eb63e(0x141)][_0x1eb63e(0xfb)]&&(this[_0x1eb63e(0x110)][_0x1eb63e(0xfd)](_0x3cf5d7)&&this[_0x1eb63e(0x112)](_0x3cf5d7,!0x0),_0x3cf5d7[_0x1eb63e(0xea)]=!0x0),_0x3cf5d7||this[_0x1eb63e(0x10a)]([]),this[_0x1eb63e(0x114)]=_0x3cf5d7);}[_0x4f7ec8(0x12f)](_0xdc86a0){const _0x50598e=_0x4f7ec8;this[_0x50598e(0x110)]=_0xdc86a0;const _0x417dfd=this[_0x50598e(0x130)][_0x50598e(0x10c)][_0x50598e(0x103)](_0x121405),_0x4a7a4a=this[_0x50598e(0x128)];if(this[_0x50598e(0x111)])throw new _0x16a9a5(_0x50598e(0xeb),this);if(_0x417dfd[_0x50598e(0x127)]!==this[_0x50598e(0x130)])throw new _0x16a9a5(_0x50598e(0x10b),this);const _0x87a852=this[_0x50598e(0x130)][_0x50598e(0x10c)][_0x50598e(0x103)](_0x478617);this[_0x50598e(0x138)](_0x87a852,_0x50598e(0xdf),()=>{const _0x47b7f5=_0x50598e,_0xb63b49=_0x87a852[_0x47b7f5(0xf6)]({'annotations':this[_0x47b7f5(0x110)],'activeAnnotation':this[_0x47b7f5(0x114)]});var _0x193832,_0x13a781;!this[_0x47b7f5(0x109)]&&(_0x193832=_0xb63b49,_0x13a781=this[_0x47b7f5(0x108)],_0x193832[_0x47b7f5(0x131)]===_0x13a781[_0x47b7f5(0x131)]&&_0x193832[_0x47b7f5(0x11c)](_0x149488=>_0x13a781[_0x47b7f5(0xe2)](_0x149488)))||(this[_0x47b7f5(0x109)]=!0x1,this[_0x47b7f5(0x10a)](_0xb63b49),this[_0x47b7f5(0x13e)](_0xb63b49[0x0]||null));}),this[_0x50598e(0x138)](_0x87a852,_0x50598e(0x10e),(_0x42e757,{isAnnotationTracked:_0x598b6b})=>{const _0x20050d=_0x50598e;this[_0x20050d(0x114)]&&_0x598b6b(this[_0x20050d(0x114)])&&(this[_0x20050d(0x10a)]([]),this[_0x20050d(0x13e)](null));}),this[_0x50598e(0x138)](this[_0x50598e(0x130)]['ui'][_0x50598e(0x141)],_0x50598e(0x132),(_0x5f40fe,_0x5c6aaa,_0x3d5626)=>{const _0x30f2d6=_0x50598e;_0x3d5626||this[_0x30f2d6(0x13e)](null);}),this[_0x50598e(0x138)](_0xdc86a0,_0x50598e(0x135),(_0x4133eb,_0x59ef2e)=>{const _0x8bb815=_0x50598e;this[_0x8bb815(0x123)](_0x59ef2e),_0x59ef2e===this[_0x8bb815(0x114)]&&this[_0x8bb815(0x13e)](null);}),this[_0x50598e(0x138)](_0x4a7a4a,_0x50598e(0x121),(_0x28df8f,_0x27c39b,_0x1603c6,_0x1a4d0b)=>{const _0x441947=_0x50598e;_0x1a4d0b&&this[_0x441947(0xf4)](_0x1a4d0b);const _0x5b771e=_0xdc86a0[_0x441947(0x122)](_0x1603c6);_0x1603c6&&_0x5b771e&&(this[_0x441947(0x138)](_0x1603c6,_0x441947(0xe0),()=>{const _0x2325ac=_0x441947;_0x4a7a4a[_0x2325ac(0xfe)]();}),this[_0x441947(0x138)](_0x1603c6,_0x441947(0x10f),()=>{const _0x57a461=_0x441947;this[_0x57a461(0x13b)](_0x5b771e),this[_0x57a461(0x130)][_0x57a461(0xf2)][_0x57a461(0x116)][_0x57a461(0xef)]();}),this[_0x441947(0x114)]!==_0x5b771e&&this[_0x441947(0x13e)](_0x5b771e));}),this[_0x50598e(0x138)](this[_0x50598e(0x130)]['ui'],_0x50598e(0x106),()=>{const _0x640014=_0x50598e;_0x4a7a4a[_0x640014(0x115)]&&(_0xdc86a0[_0x640014(0x122)](_0x4a7a4a[_0x640014(0x115)])&&_0x4a7a4a[_0x640014(0xfe)]());}),this[_0x50598e(0x138)](this[_0x50598e(0x130)][_0x50598e(0xf2)][_0x50598e(0x116)][_0x50598e(0x12e)],_0x50598e(0xee),()=>{const _0x1fa0bb=_0x50598e;this[_0x1fa0bb(0x109)]=!0x0,this[_0x1fa0bb(0xf7)][_0x1fa0bb(0xe8)]();}),this[_0x50598e(0x130)][_0x50598e(0xf2)][_0x50598e(0x116)][_0x50598e(0x12e)][_0x50598e(0xed)][_0x50598e(0x13f)]&&this[_0x50598e(0x130)][_0x50598e(0xf2)][_0x50598e(0x116)][_0x50598e(0xef)](),this[_0x50598e(0x111)]=!0x0;}[_0x4f7ec8(0x107)](){const _0x1c3222=_0x4f7ec8;if(!this[_0x1c3222(0x111)])throw new _0x16a9a5(_0x1c3222(0x125),this);this[_0x1c3222(0x13e)](null);for(const _0x467761 of this[_0x1c3222(0x139)])this[_0x1c3222(0x123)](_0x467761);this[_0x1c3222(0xf4)](),this[_0x1c3222(0x111)]=!0x1,this[_0x1c3222(0x110)]=null;}[_0x4f7ec8(0x12a)](){const _0x449ed6=_0x4f7ec8;this[_0x449ed6(0x111)]&&this[_0x449ed6(0x107)]();}[_0x4f7ec8(0x10a)](_0x108148){const _0x3309b7=_0x4f7ec8;for(const _0x749df of this[_0x3309b7(0x108)])_0x108148[_0x3309b7(0xe2)](_0x749df)||this[_0x3309b7(0xf7)][_0x3309b7(0xec)](_0x749df);for(const _0x2192f2 of this[_0x3309b7(0x110)])_0x108148[_0x3309b7(0xe2)](_0x2192f2)||this[_0x3309b7(0x123)](_0x2192f2);if(this[_0x3309b7(0x130)]['ui'][_0x3309b7(0x141)][_0x3309b7(0xfb)]){for(const _0x1a566b of _0x108148)this[_0x3309b7(0x112)](_0x1a566b);}this[_0x3309b7(0x108)]=_0x108148;}[_0x4f7ec8(0x112)](_0x1048c5,_0x16a341=!0x1){const _0x3d6940=_0x4f7ec8;this[_0x3d6940(0xf7)][_0x3d6940(0xfd)](_0x1048c5)||(this[_0x3d6940(0x139)][_0x3d6940(0xfd)](_0x1048c5)||this[_0x3d6940(0x128)][_0x3d6940(0xf5)](_0x1048c5[_0x3d6940(0x116)])||(this[_0x3d6940(0x139)][_0x3d6940(0x117)](_0x1048c5),this[_0x3d6940(0x128)][_0x3d6940(0x117)]({'stackId':_0x1048c5[_0x3d6940(0x116)]['id'],'view':_0x1048c5[_0x3d6940(0x116)],'position':{'target':()=>this[_0x3d6940(0x13d)](_0x1048c5)}})),_0x16a341&&this[_0x3d6940(0x128)][_0x3d6940(0x102)](_0x1048c5[_0x3d6940(0x116)]['id']));}[_0x4f7ec8(0x13d)](_0xb760fe){const _0x421dd3=_0x4f7ec8,_0x4c24bd=_0xb760fe[_0x421dd3(0x101)],_0x5651ec=this[_0x421dd3(0x130)][_0x421dd3(0xf2)][_0x421dd3(0x116)],_0x4bc414=_0x5651ec[_0x421dd3(0x12e)][_0x421dd3(0xed)][_0x421dd3(0x105)](),_0x2d498a=_0x5651ec[_0x421dd3(0x13c)][_0x421dd3(0xf0)](_0x4bc414);if(_0x2d498a[_0x421dd3(0xe1)](!0x0),_0x4c24bd){if(_0x4c24bd instanceof _0x728f3d)return _0x4c24bd;let _0x553c5e=[];for(const _0x16b597 of _0x4c24bd)_0x553c5e[_0x421dd3(0x124)](...(_0x7792ae=_0x16b597[_0x421dd3(0xe3)](),Array[_0x421dd3(0xde)](_0x7792ae)[_0x421dd3(0xfc)](DOMRect[_0x421dd3(0x140)])));_0x553c5e=function(_0x36bc17){const _0x3e4aa2=_0x421dd3,_0x3965d2=[];let _0xeeafb0=_0x36bc17[0x0];for(let _0x523b55=0x1;_0x523b55<_0x36bc17[_0x3e4aa2(0x131)];_0x523b55++)b(_0xeeafb0,_0x36bc17[_0x523b55])?_0xeeafb0[_0x3e4aa2(0xf9)]+=_0x36bc17[_0x523b55][_0x3e4aa2(0xf9)]:(_0x3965d2[_0x3e4aa2(0x124)](_0xeeafb0),_0xeeafb0=_0x36bc17[_0x523b55]);return _0x3965d2[_0x3e4aa2(0x124)](_0xeeafb0),_0x3965d2;}(_0x553c5e);const _0x577a48=_0x2d498a[_0x421dd3(0x11e)]();return _0x553c5e[_0x421dd3(0x129)](_0x113df4=>_0x113df4[_0x421dd3(0xfa)]<=_0x577a48[_0x421dd3(0xfa)]&&_0x113df4[_0x421dd3(0x11f)]>=_0x577a48[_0x421dd3(0x11f)]&&_0x113df4[_0x421dd3(0x100)]<=_0x577a48[_0x421dd3(0x100)]&&_0x113df4[_0x421dd3(0xff)]>=_0x577a48[_0x421dd3(0xff)])||_0x553c5e[0x0];}var _0x7792ae;return _0xb760fe[_0x421dd3(0x113)]||_0x2d498a;}[_0x4f7ec8(0x123)](_0xe05746){const _0x242e58=_0x4f7ec8;this[_0x242e58(0x139)][_0x242e58(0xfd)](_0xe05746)&&this[_0x242e58(0x128)][_0x242e58(0xf5)](_0xe05746[_0x242e58(0x116)])&&(this[_0x242e58(0x139)][_0x242e58(0xec)](_0xe05746),this[_0x242e58(0x128)][_0x242e58(0x135)](_0xe05746[_0x242e58(0x116)]));}[_0x4f7ec8(0x13b)](_0x940d94){const _0x320d47=_0x4f7ec8;this[_0x320d47(0xf7)][_0x320d47(0x117)](_0x940d94),this[_0x320d47(0x123)](_0x940d94);}}function b(_0x2a44b5,_0x1072f7){const _0x1add89=_0x4f7ec8;return _0x2a44b5[_0x1add89(0xfa)]===_0x1072f7[_0x1add89(0xfa)]&&_0x2a44b5[_0x1add89(0x11f)]===_0x1072f7[_0x1add89(0x11f)]&&_0x2a44b5[_0x1add89(0xff)]===_0x1072f7[_0x1add89(0x100)];}
|
|
23
|
+
const _0x54a0b6=_0x5ed0;(function(_0x3d011a,_0x1d20f5){const _0x596dd4=_0x5ed0,_0x1f2c92=_0x3d011a();while(!![]){try{const _0xf36f31=-parseInt(_0x596dd4(0xed))/0x1*(parseInt(_0x596dd4(0xc4))/0x2)+-parseInt(_0x596dd4(0xba))/0x3*(-parseInt(_0x596dd4(0xb5))/0x4)+parseInt(_0x596dd4(0xd5))/0x5*(-parseInt(_0x596dd4(0xb6))/0x6)+parseInt(_0x596dd4(0xb1))/0x7*(parseInt(_0x596dd4(0xca))/0x8)+parseInt(_0x596dd4(0x9b))/0x9*(-parseInt(_0x596dd4(0xbb))/0xa)+-parseInt(_0x596dd4(0xea))/0xb*(-parseInt(_0x596dd4(0xbf))/0xc)+parseInt(_0x596dd4(0xc5))/0xd*(parseInt(_0x596dd4(0xa8))/0xe);if(_0xf36f31===_0x1d20f5)break;else _0x1f2c92['push'](_0x1f2c92['shift']());}catch(_0x57ad97){_0x1f2c92['push'](_0x1f2c92['shift']());}}}(_0xf93f,0xb618f));function _0x5ed0(_0x264171,_0x33ee71){const _0xf93f13=_0xf93f();return _0x5ed0=function(_0x5ed093,_0x52500b){_0x5ed093=_0x5ed093-0x99;let _0x21e018=_0xf93f13[_0x5ed093];return _0x21e018;},_0x5ed0(_0x264171,_0x33ee71);}import{Plugin as _0x45942e}from'ckeditor5/src/core.js';function _0xf93f(){const _0x536682=['isPremiumPlugin','change:isFocused','view','includes','13680LGvMmw','left','set','refresh','remove','target','hasActive','Esc','_removeAnnotationFromBalloon','map','inline','1392785RNnKQd','init','has','clear','focusTracker','_forceRefresh','_balloon','find','isActive','isAttached','attach','pluginName','right','blur','_addedAnnotations','hasView','_addAnnotationToBalloon','afterInit','register','setActiveAnnotation','push','341dHHOUF','mousedown','detach','483229crUwfz','destroy','getFirstRange','length','fromRect','change:height','showStack','change:visibleView','get','_getBalloonTargetForAnnotation','delete','every','editableElement','add','activeAnnotation','annotations','width','listenTo','getBoundingClientRect','getOrderedSelectedAnnotations','update','9GieHMV','viewRangeToDom','bottom','stopListening','updatePosition','selection','focus','domConverter','targetRect','requires','isOfficialPlugin','switchTo','_manuallyClosed','648718ujfklQ','context','document','collapse','inlineannotations-not-allowed-with-context','getByView','plugins','getClientRects','visibleView','4018DQWWBw','_selectedAnnotations','top','isFocused','328XHMkRv','24YgWeqh','_setSelectedAnnotations','editor','inlineannotations-attach-already-attached','32367BKYMzC','1820850NDoLKY','from','addObserver','keystrokes','424284rFincl','_closeAnnotation','InlineAnnotations','editing','inlineannotations-detach-not-attached','4WLkTCI','13omnLGh'];_0xf93f=function(){return _0x536682;};return _0xf93f();}import _0x3589c6 from'./annotationsuis.js';import _0x522904 from'./editorannotations.js';import{ContextualBalloon as _0x40df02}from'ckeditor5/src/ui.js';import{MouseObserver as _0x467011}from'ckeditor5/src/engine.js';import{CKEditorError as _0x56c213,Rect as _0x19099a}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x45942e{[_0x54a0b6(0xde)];[_0x54a0b6(0xfc)];[_0x54a0b6(0xa7)];[_0x54a0b6(0xdb)];[_0x54a0b6(0xe3)];[_0x54a0b6(0xb2)];[_0x54a0b6(0xda)];static get[_0x54a0b6(0xa4)](){return[_0x522904,_0x40df02,_0x3589c6];}static get[_0x54a0b6(0xe0)](){const _0x20e4cc=_0x54a0b6;return _0x20e4cc(0xc1);}static get[_0x54a0b6(0xa5)](){return!0x0;}static get[_0x54a0b6(0xc6)](){return!0x0;}constructor(_0x5deecc){const _0x36eac3=_0x54a0b6;super(_0x5deecc),_0x5deecc[_0x36eac3(0xc2)][_0x36eac3(0xc8)][_0x36eac3(0xbd)](_0x467011),this[_0x36eac3(0xde)]=!0x1,this[_0x36eac3(0xcc)](_0x36eac3(0xfb),null),this[_0x36eac3(0xfc)]=null,this[_0x36eac3(0xa7)]=new Set(),this[_0x36eac3(0xdb)]=_0x5deecc[_0x36eac3(0xae)][_0x36eac3(0xf5)](_0x40df02),this[_0x36eac3(0xe3)]=new Set(),this[_0x36eac3(0xb2)]=[],this[_0x36eac3(0xda)]=!0x1;}[_0x54a0b6(0xd6)](){const _0x145d93=_0x54a0b6,_0x4784b0=this[_0x145d93(0xb8)][_0x145d93(0xae)][_0x145d93(0xf5)](_0x3589c6);_0x4784b0[_0x145d93(0xa9)]===this[_0x145d93(0xb8)]&&(_0x4784b0[_0x145d93(0xe7)](_0x145d93(0xd4),this),this[_0x145d93(0xb8)][_0x145d93(0xbe)][_0x145d93(0xcc)](_0x145d93(0xd1),(_0x25b3b2,_0x549635)=>{const _0x1b9bbd=_0x145d93,_0x59e23a=this[_0x1b9bbd(0xdb)];if(this[_0x1b9bbd(0xde)]&&_0x59e23a[_0x1b9bbd(0xb0)]){const _0x30a059=this[_0x1b9bbd(0xfc)][_0x1b9bbd(0xad)](_0x59e23a[_0x1b9bbd(0xb0)]);_0x30a059&&this[_0x1b9bbd(0xc0)](_0x30a059),_0x549635();}}));}[_0x54a0b6(0xe6)](){const _0x4cece7=_0x54a0b6,_0x9bf2e1=this[_0x4cece7(0xb8)][_0x4cece7(0xae)][_0x4cece7(0xf5)](_0x3589c6);_0x9bf2e1[_0x4cece7(0xa9)]===this[_0x4cece7(0xb8)]&&(_0x9bf2e1[_0x4cece7(0xd0)]()||_0x9bf2e1[_0x4cece7(0xa6)](_0x4cece7(0xd4)));}[_0x54a0b6(0xe8)](_0x11a8b9){const _0x18ea03=_0x54a0b6;_0x11a8b9!==this[_0x18ea03(0xfb)]&&(this[_0x18ea03(0xfb)]&&(this[_0x18ea03(0xfb)][_0x18ea03(0xdd)]=!0x1),_0x11a8b9&&this[_0x18ea03(0xb8)]['ui'][_0x18ea03(0xd9)][_0x18ea03(0xb4)]&&(this[_0x18ea03(0xfc)][_0x18ea03(0xd7)](_0x11a8b9)&&this[_0x18ea03(0xe5)](_0x11a8b9,!0x0),_0x11a8b9[_0x18ea03(0xdd)]=!0x0),_0x11a8b9||this[_0x18ea03(0xb7)]([]),this[_0x18ea03(0xfb)]=_0x11a8b9);}[_0x54a0b6(0xdf)](_0x398b45){const _0x17ab2c=_0x54a0b6;this[_0x17ab2c(0xfc)]=_0x398b45;const _0x56b828=this[_0x17ab2c(0xb8)][_0x17ab2c(0xae)][_0x17ab2c(0xf5)](_0x3589c6),_0x55c85b=this[_0x17ab2c(0xdb)];if(this[_0x17ab2c(0xde)])throw new _0x56c213(_0x17ab2c(0xb9),this);if(_0x56b828[_0x17ab2c(0xa9)]!==this[_0x17ab2c(0xb8)])throw new _0x56c213(_0x17ab2c(0xac),this);const _0x171f5e=this[_0x17ab2c(0xb8)][_0x17ab2c(0xae)][_0x17ab2c(0xf5)](_0x522904);this[_0x17ab2c(0xfe)](_0x171f5e,_0x17ab2c(0xcd),()=>{const _0x524ad1=_0x17ab2c,_0x5fd42b=_0x171f5e[_0x524ad1(0x99)]({'annotations':this[_0x524ad1(0xfc)],'activeAnnotation':this[_0x524ad1(0xfb)]});var _0x1a2151,_0x590bfd;!this[_0x524ad1(0xda)]&&(_0x1a2151=_0x5fd42b,_0x590bfd=this[_0x524ad1(0xb2)],_0x1a2151[_0x524ad1(0xf0)]===_0x590bfd[_0x524ad1(0xf0)]&&_0x1a2151[_0x524ad1(0xf8)](_0xd30b90=>_0x590bfd[_0x524ad1(0xc9)](_0xd30b90)))||(this[_0x524ad1(0xda)]=!0x1,this[_0x524ad1(0xb7)](_0x5fd42b),this[_0x524ad1(0xe8)](_0x5fd42b[0x0]||null));}),this[_0x17ab2c(0xfe)](_0x171f5e,_0x17ab2c(0xe2),(_0x55a3eb,{isAnnotationTracked:_0xc92f80})=>{const _0x18e455=_0x17ab2c;this[_0x18e455(0xfb)]&&_0xc92f80(this[_0x18e455(0xfb)])&&(this[_0x18e455(0xb7)]([]),this[_0x18e455(0xe8)](null));}),this[_0x17ab2c(0xfe)](this[_0x17ab2c(0xb8)]['ui'][_0x17ab2c(0xd9)],_0x17ab2c(0xc7),(_0x5f3ee1,_0x52754d,_0x13e767)=>{const _0x8a96f8=_0x17ab2c;_0x13e767||this[_0x8a96f8(0xe8)](null);}),this[_0x17ab2c(0xfe)](_0x398b45,_0x17ab2c(0xce),(_0x1867d7,_0x44edd3)=>{const _0x2ee86a=_0x17ab2c;this[_0x2ee86a(0xd2)](_0x44edd3),_0x44edd3===this[_0x2ee86a(0xfb)]&&this[_0x2ee86a(0xe8)](null);}),this[_0x17ab2c(0xfe)](_0x55c85b,_0x17ab2c(0xf4),(_0x55447d,_0x425d71,_0x3d3707,_0x15ca6f)=>{const _0x1fe4b6=_0x17ab2c;_0x15ca6f&&this[_0x1fe4b6(0x9e)](_0x15ca6f);const _0x1bb609=_0x398b45[_0x1fe4b6(0xad)](_0x3d3707);_0x3d3707&&_0x1bb609&&(this[_0x1fe4b6(0xfe)](_0x3d3707,_0x1fe4b6(0xf2),()=>{const _0x37842e=_0x1fe4b6;_0x55c85b[_0x37842e(0x9f)]();}),this[_0x1fe4b6(0xfe)](_0x3d3707,_0x1fe4b6(0xd1),()=>{const _0x1050fc=_0x1fe4b6;this[_0x1050fc(0xc0)](_0x1bb609),this[_0x1050fc(0xb8)][_0x1050fc(0xc2)][_0x1050fc(0xc8)][_0x1050fc(0xa1)]();}),this[_0x1fe4b6(0xfb)]!==_0x1bb609&&this[_0x1fe4b6(0xe8)](_0x1bb609));}),this[_0x17ab2c(0xfe)](this[_0x17ab2c(0xb8)]['ui'],_0x17ab2c(0x9a),()=>{const _0x2481f9=_0x17ab2c;_0x55c85b[_0x2481f9(0xb0)]&&(_0x398b45[_0x2481f9(0xad)](_0x55c85b[_0x2481f9(0xb0)])&&_0x55c85b[_0x2481f9(0x9f)]());}),this[_0x17ab2c(0xfe)](this[_0x17ab2c(0xb8)][_0x17ab2c(0xc2)][_0x17ab2c(0xc8)][_0x17ab2c(0xaa)],_0x17ab2c(0xeb),()=>{const _0x4e5f96=_0x17ab2c;this[_0x4e5f96(0xda)]=!0x0,this[_0x4e5f96(0xa7)][_0x4e5f96(0xd8)]();}),this[_0x17ab2c(0xb8)][_0x17ab2c(0xc2)][_0x17ab2c(0xc8)][_0x17ab2c(0xaa)][_0x17ab2c(0xa0)][_0x17ab2c(0xf9)]&&this[_0x17ab2c(0xb8)][_0x17ab2c(0xc2)][_0x17ab2c(0xc8)][_0x17ab2c(0xa1)](),this[_0x17ab2c(0xde)]=!0x0;}[_0x54a0b6(0xec)](){const _0x3c22cc=_0x54a0b6;if(!this[_0x3c22cc(0xde)])throw new _0x56c213(_0x3c22cc(0xc3),this);this[_0x3c22cc(0xe8)](null);for(const _0x9d27ee of this[_0x3c22cc(0xe3)])this[_0x3c22cc(0xd2)](_0x9d27ee);this[_0x3c22cc(0x9e)](),this[_0x3c22cc(0xde)]=!0x1,this[_0x3c22cc(0xfc)]=null;}[_0x54a0b6(0xee)](){const _0x2e2716=_0x54a0b6;this[_0x2e2716(0xde)]&&this[_0x2e2716(0xec)]();}[_0x54a0b6(0xb7)](_0x4ba69d){const _0x110704=_0x54a0b6;for(const _0x2cbdf1 of this[_0x110704(0xb2)])_0x4ba69d[_0x110704(0xc9)](_0x2cbdf1)||this[_0x110704(0xa7)][_0x110704(0xf7)](_0x2cbdf1);for(const _0x3bdc4b of this[_0x110704(0xfc)])_0x4ba69d[_0x110704(0xc9)](_0x3bdc4b)||this[_0x110704(0xd2)](_0x3bdc4b);if(this[_0x110704(0xb8)]['ui'][_0x110704(0xd9)][_0x110704(0xb4)]){for(const _0x38a936 of _0x4ba69d)this[_0x110704(0xe5)](_0x38a936);}this[_0x110704(0xb2)]=_0x4ba69d;}[_0x54a0b6(0xe5)](_0x543e1f,_0x2618e4=!0x1){const _0x504198=_0x54a0b6;this[_0x504198(0xa7)][_0x504198(0xd7)](_0x543e1f)||(this[_0x504198(0xe3)][_0x504198(0xd7)](_0x543e1f)||this[_0x504198(0xdb)][_0x504198(0xe4)](_0x543e1f[_0x504198(0xc8)])||(this[_0x504198(0xe3)][_0x504198(0xfa)](_0x543e1f),this[_0x504198(0xdb)][_0x504198(0xfa)]({'stackId':_0x543e1f[_0x504198(0xc8)]['id'],'view':_0x543e1f[_0x504198(0xc8)],'position':{'target':()=>this[_0x504198(0xf6)](_0x543e1f)}})),_0x2618e4&&this[_0x504198(0xdb)][_0x504198(0xf3)](_0x543e1f[_0x504198(0xc8)]['id']));}[_0x54a0b6(0xf6)](_0x1dbf65){const _0x3afac8=_0x54a0b6,_0x22cfeb=_0x1dbf65[_0x3afac8(0xcf)],_0x9928cb=this[_0x3afac8(0xb8)][_0x3afac8(0xc2)][_0x3afac8(0xc8)],_0x2a3b99=_0x9928cb[_0x3afac8(0xaa)][_0x3afac8(0xa0)][_0x3afac8(0xef)](),_0x396343=_0x9928cb[_0x3afac8(0xa2)][_0x3afac8(0x9c)](_0x2a3b99);if(_0x396343[_0x3afac8(0xab)](!0x0),_0x22cfeb){if(_0x22cfeb instanceof _0x19099a)return _0x22cfeb;let _0xfaa85f=[];for(const _0xf73bce of _0x22cfeb)_0xfaa85f[_0x3afac8(0xe9)](...(_0x4ae304=_0xf73bce[_0x3afac8(0xaf)](),Array[_0x3afac8(0xbc)](_0x4ae304)[_0x3afac8(0xd3)](DOMRect[_0x3afac8(0xf1)])));_0xfaa85f=function(_0x142146){const _0x3a0546=_0x3afac8,_0xb29dc6=[];let _0x598c45=_0x142146[0x0];for(let _0x5eeb88=0x1;_0x5eeb88<_0x142146[_0x3a0546(0xf0)];_0x5eeb88++)B(_0x598c45,_0x142146[_0x5eeb88])?_0x598c45[_0x3a0546(0xfd)]+=_0x142146[_0x5eeb88][_0x3a0546(0xfd)]:(_0xb29dc6[_0x3a0546(0xe9)](_0x598c45),_0x598c45=_0x142146[_0x5eeb88]);return _0xb29dc6[_0x3a0546(0xe9)](_0x598c45),_0xb29dc6;}(_0xfaa85f);const _0x3d056f=_0x396343[_0x3afac8(0xff)]();return _0xfaa85f[_0x3afac8(0xdc)](_0x2151ae=>_0x2151ae[_0x3afac8(0xb3)]<=_0x3d056f[_0x3afac8(0xb3)]&&_0x2151ae[_0x3afac8(0x9d)]>=_0x3d056f[_0x3afac8(0x9d)]&&_0x2151ae[_0x3afac8(0xcb)]<=_0x3d056f[_0x3afac8(0xcb)]&&_0x2151ae[_0x3afac8(0xe1)]>=_0x3d056f[_0x3afac8(0xe1)])||_0xfaa85f[0x0];}var _0x4ae304;return _0x1dbf65[_0x3afac8(0xa3)]||_0x396343;}[_0x54a0b6(0xd2)](_0x576831){const _0x245539=_0x54a0b6;this[_0x245539(0xe3)][_0x245539(0xd7)](_0x576831)&&this[_0x245539(0xdb)][_0x245539(0xe4)](_0x576831[_0x245539(0xc8)])&&(this[_0x245539(0xe3)][_0x245539(0xf7)](_0x576831),this[_0x245539(0xdb)][_0x245539(0xce)](_0x576831[_0x245539(0xc8)]));}[_0x54a0b6(0xc0)](_0x2ed9dd){const _0x2ef238=_0x54a0b6;this[_0x2ef238(0xa7)][_0x2ef238(0xfa)](_0x2ed9dd),this[_0x2ef238(0xd2)](_0x2ed9dd);}}function B(_0x122308,_0x2b5822){const _0x2ef1de=_0x54a0b6;return _0x122308[_0x2ef1de(0xb3)]===_0x2b5822[_0x2ef1de(0xb3)]&&_0x122308[_0x2ef1de(0x9d)]===_0x2b5822[_0x2ef1de(0x9d)]&&_0x122308[_0x2ef1de(0xe1)]===_0x2b5822[_0x2ef1de(0xcb)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x475d87=_0x5bf2;(function(_0x15820c,_0x2d1a69){const _0x28bdf2=_0x5bf2,_0x7fb8fd=_0x15820c();while(!![]){try{const _0x1f6869=-parseInt(_0x28bdf2(0x206))/0x1*(-parseInt(_0x28bdf2(0x1a5))/0x2)+parseInt(_0x28bdf2(0x1bf))/0x3+-parseInt(_0x28bdf2(0x1fe))/0x4+-parseInt(_0x28bdf2(0x1a2))/0x5+-parseInt(_0x28bdf2(0x1b2))/0x6+parseInt(_0x28bdf2(0x1af))/0x7+parseInt(_0x28bdf2(0x1f6))/0x8;if(_0x1f6869===_0x2d1a69)break;else _0x7fb8fd['push'](_0x7fb8fd['shift']());}catch(_0x5d02ea){_0x7fb8fd['push'](_0x7fb8fd['shift']());}}}(_0xb8da,0x8a258));import{ContextPlugin as _0x1a81a5,Context as _0x41d476}from'ckeditor5/src/core.js';function _0xb8da(){const _0x51f228=['_editorAnnotations','southArrowNorthEast','from','southArrowNorth','detach','_attachToContainer','clear','1436703ocwOJS','bodyCollection','preventDefault','isDirty','hasDomSelection','annotations','focusableElements','ready','isAttached','pin','_integrateWithEditorAnnotations','blur','northArrowSouthWest','_refreshPositioningDebounced','narrowsidebar-attach-already-attached','isPremiumPlugin','_selectedAnnotations','_detachFromContainer','view','target','keyCode','remove','context','southArrowNorthWest','low','destroy','_hideBalloon','cancel','northArrowSouthEast','balloonPanelView','contains','stopPropagation','_manuallyClosedAnnotationViews','first','delete','off','narrowsidebar-detach-not-attached','pluginName','refresh','set:container','getByView','activeAnnotation','focus','attachToDom','_destroyEditorAnnotationsIntegration','find','_annotationToNarrowView','setActiveAnnotation','isVisible','_refreshPositioning','editors','create','set','number','keydown','6195872unKiai','_setSelectedAnnotations','high','values','change:height','_showBalloon','attach','_domEmitter','477544prKSzN','get','_updateBalloonPosition','change:container','length','esc','northArrowSouth','EditorAnnotations','1eubIjw','narrowSidebar','isOfficialPlugin','getOrderedSelectedAnnotations','listenTo','type','getSidebarItemView','includes','mousedown','NarrowSidebar','unpin','annotationType','init','_annotations','resize','removeEventListener','requires','Esc','content','rearrange','execute','addAnnotation','3212675mCDisK','preventClosingBalloon','add','693122Jkvjxv','element','plugins','detachFromDom','refreshPositioning','defaultPositions','ck-sidebar--narrow','stop','addEventListener','locale','1620269dblCQP','_attachListeners','_detachListeners','3021864VQJWfs','register','stopListening','uiUpdate','bind','has'];_0xb8da=function(){return _0x51f228;};return _0xb8da();}import _0x47b62f from'./annotationsuis.js';import _0x735da8 from'./sidebar.js';import _0x3fed07 from'./view/annotationcounterbuttonview.js';function _0x5bf2(_0x13ff31,_0x26bcb3){const _0xb8dac9=_0xb8da();return _0x5bf2=function(_0x5bf2cb,_0xc617e1){_0x5bf2cb=_0x5bf2cb-0x197;let _0x262b3d=_0xb8dac9[_0x5bf2cb];return _0x262b3d;},_0x5bf2(_0x13ff31,_0x26bcb3);}import{BalloonPanelView as _0x2928af,BodyCollection as _0x5146df}from'ckeditor5/src/ui.js';import{CKEditorError as _0x48ffa6,DomEmitterMixin as _0x3d46a1,keyCodes as _0x8d1ea,Collection as _0x12e257}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x3e3580}from'lodash-es';export default class n extends _0x1a81a5{static get[_0x475d87(0x19c)](){return[_0x735da8,_0x47b62f];}static get[_0x475d87(0x1e4)](){const _0x481888=_0x475d87;return _0x481888(0x20f);}static get[_0x475d87(0x208)](){return!0x0;}static get[_0x475d87(0x1ce)](){return!0x0;}constructor(_0x58bf82){const _0x35f83a=_0x475d87;super(_0x58bf82),this[_0x35f83a(0x1c7)]=!0x1,this[_0x35f83a(0x1df)]=new Set(),this[_0x35f83a(0x1fd)]=Object[_0x35f83a(0x1f2)](_0x3d46a1),this[_0x35f83a(0x1ed)]=new Map(),this[_0x35f83a(0x1f3)](_0x35f83a(0x1e8),null),this[_0x35f83a(0x1c4)]=null,this[_0x35f83a(0x1cf)]=[],this[_0x35f83a(0x1b8)]=new _0x12e257(),this[_0x35f83a(0x1cc)]=_0x3e3580(()=>{const _0x57cac4=_0x35f83a;this[_0x57cac4(0x1f0)]();},0xfa,{'leading':!0x1});}[_0x475d87(0x198)](){const _0xe0b5d6=_0x475d87;this[_0xe0b5d6(0x1d5)][_0xe0b5d6(0x1a7)][_0xe0b5d6(0x1ff)](_0x47b62f)[_0xe0b5d6(0x1b3)](_0xe0b5d6(0x207),this),this[_0xe0b5d6(0x1c0)]=new _0x5146df(this[_0xe0b5d6(0x1d5)][_0xe0b5d6(0x1ae)]),this[_0xe0b5d6(0x1dc)]=new _0x2928af(this[_0xe0b5d6(0x1d5)][_0xe0b5d6(0x1ae)]),this[_0xe0b5d6(0x1c0)][_0xe0b5d6(0x1ea)](),this[_0xe0b5d6(0x1c0)][_0xe0b5d6(0x1a4)](this[_0xe0b5d6(0x1dc)]);}[_0x475d87(0x1fc)](_0x645fa5){const _0x1f8aef=_0x475d87;this[_0x1f8aef(0x1c4)]=_0x645fa5;const _0x45c023=this[_0x1f8aef(0x1d5)][_0x1f8aef(0x1a7)][_0x1f8aef(0x1ff)](_0x735da8),_0x539882=this[_0x1f8aef(0x1dc)];if(_0x45c023[_0x1f8aef(0x199)]=_0x645fa5,this[_0x1f8aef(0x1c7)])throw new _0x48ffa6(_0x1f8aef(0x1cd),this);this[_0x1f8aef(0x1c7)]=!0x0,this[_0x1f8aef(0x20a)](_0x45c023,_0x1f8aef(0x1e6),()=>{const _0x3ae122=_0x1f8aef;this[_0x3ae122(0x1bc)](),this[_0x3ae122(0x20a)](_0x45c023,_0x3ae122(0x201),_0x407b8f=>{const _0x1e2631=_0x3ae122;_0x407b8f[_0x1e2631(0x1e2)](),this[_0x1e2631(0x1fc)](_0x645fa5);});}),_0x45c023[_0x1f8aef(0x1bd)]({'viewClass':_0x1f8aef(0x1ab),'spaceBetweenItems':0x5});const _0x5bf128=_0x398695=>{const _0x5ab14c=_0x1f8aef,_0x253712=new _0x3fed07(this[_0x5ab14c(0x1d5)][_0x5ab14c(0x1ae)]);_0x45c023[_0x5ab14c(0x1a1)](_0x398695,_0x253712),this[_0x5ab14c(0x1ed)][_0x5ab14c(0x1f3)](_0x398695,_0x253712),_0x253712[_0x5ab14c(0x1b6)](_0x5ab14c(0x1c2),_0x5ab14c(0x197),_0x5ab14c(0x1f4))['to'](_0x398695[_0x5ab14c(0x1d1)],_0x5ab14c(0x1c2),_0x5ab14c(0x20b),_0x5ab14c(0x202)),_0x253712['on'](_0x5ab14c(0x1a0),()=>{const _0x2c25af=_0x5ab14c;this[_0x2c25af(0x1df)][_0x2c25af(0x1be)](),_0x539882[_0x2c25af(0x19e)][_0x2c25af(0x1e0)]!==_0x398695[_0x2c25af(0x1d1)]?(this[_0x2c25af(0x1fb)](_0x398695),_0x398695[_0x2c25af(0x1d1)][_0x2c25af(0x1a6)][_0x2c25af(0x1e9)](),this[_0x2c25af(0x1ee)](_0x398695)):this[_0x2c25af(0x1ee)](null);});};for(const _0x1febaf of _0x645fa5)_0x5bf128(_0x1febaf);this[_0x1f8aef(0x20a)](_0x645fa5,_0x1f8aef(0x1a4),(_0x22da86,_0x486310)=>{_0x5bf128(_0x486310);}),this[_0x1f8aef(0x20a)](_0x645fa5,_0x1f8aef(0x1d4),(_0x1b5e3c,_0x196fa4,_0x184ba8)=>{const _0x57b033=_0x1f8aef;this[_0x57b033(0x1ed)][_0x57b033(0x1ff)](_0x196fa4)[_0x57b033(0x1d8)](),this[_0x57b033(0x1ed)][_0x57b033(0x1e1)](_0x196fa4),_0x45c023[_0x57b033(0x19f)]({'removedAnnotation':_0x196fa4,'previousAnnotation':_0x645fa5[_0x57b033(0x1ff)](_0x184ba8-0x1),'nextAnnotation':_0x645fa5[_0x57b033(0x1ff)](_0x184ba8+0x1)}),_0x196fa4===this[_0x57b033(0x1e8)]&&this[_0x57b033(0x1ee)](null);},{'priority':_0x1f8aef(0x1d7)}),this[_0x1f8aef(0x20a)](_0x645fa5,_0x1f8aef(0x1e9),(_0x500324,_0x159d83)=>{const _0x41e1d8=_0x1f8aef;this[_0x41e1d8(0x1ee)](_0x159d83);}),this[_0x1f8aef(0x20a)](_0x645fa5,_0x1f8aef(0x1ca),()=>{const _0x28e7b7=_0x1f8aef;this[_0x28e7b7(0x1ee)](null);}),this[_0x1f8aef(0x1fd)][_0x1f8aef(0x20a)](document,_0x1f8aef(0x1f5),(_0x384ca8,_0x30222a)=>{const _0x4657c6=_0x1f8aef;_0x30222a[_0x4657c6(0x1d3)]===_0x8d1ea[_0x4657c6(0x203)]&&_0x539882[_0x4657c6(0x1ef)]&&(this[_0x4657c6(0x1df)][_0x4657c6(0x1a4)](_0x539882[_0x4657c6(0x19e)][_0x4657c6(0x1e0)]),this[_0x4657c6(0x1d9)](),_0x30222a[_0x4657c6(0x1de)](),_0x30222a[_0x4657c6(0x1c1)]());}),this[_0x1f8aef(0x1fd)][_0x1f8aef(0x20a)](document,_0x1f8aef(0x20e),(_0x1656c8,_0x2a4d29)=>{const _0x1e0339=_0x1f8aef,_0x21949f=_0x2a4d29[_0x1e0339(0x1d2)];_0x539882[_0x1e0339(0x1ef)]&&_0x539882[_0x1e0339(0x1a6)][_0x1e0339(0x1dd)](_0x21949f)||_0x45c023[_0x1e0339(0x1d1)][_0x1e0339(0x1a6)][_0x1e0339(0x1dd)](_0x21949f)||_0x1656c8[_0x1e0339(0x1a3)]||this[_0x1e0339(0x1e8)]&&this[_0x1e0339(0x1e8)][_0x1e0339(0x1c5)][_0x1e0339(0x1ec)](_0x5ed152=>_0x5ed152[_0x1e0339(0x1dd)](_0x21949f))||(this[_0x1e0339(0x1df)][_0x1e0339(0x1be)](),this[_0x1e0339(0x1d9)](),this[_0x1e0339(0x1ee)](null));});const _0x1db51b=this[_0x1f8aef(0x1d5)]instanceof _0x41d476?this[_0x1f8aef(0x1d5)][_0x1f8aef(0x1f1)]:new _0x12e257([this[_0x1f8aef(0x1d5)]]);for(const _0x3f4b63 of _0x1db51b)this[_0x1f8aef(0x1c9)](_0x3f4b63);this[_0x1f8aef(0x20a)](_0x1db51b,_0x1f8aef(0x1a4),(_0x360901,_0x3abfcf)=>{const _0x12ce18=_0x1f8aef;this[_0x12ce18(0x20a)](_0x3abfcf,_0x12ce18(0x1c6),()=>{const _0x3295ed=_0x12ce18;this[_0x3295ed(0x1c9)](_0x3abfcf);});}),this[_0x1f8aef(0x20a)](_0x1db51b,_0x1f8aef(0x1d4),(_0x195b3d,_0x172994)=>{const _0x1d32eb=_0x1f8aef;_0x172994[_0x1d32eb(0x1a7)][_0x1d32eb(0x1b7)](_0x1d32eb(0x205))&&this[_0x1d32eb(0x1eb)](_0x172994[_0x1d32eb(0x1a7)][_0x1d32eb(0x1ff)](_0x1d32eb(0x205)));}),window[_0x1f8aef(0x1ad)](_0x1f8aef(0x19a),this[_0x1f8aef(0x1cc)]),this[_0x1f8aef(0x1f0)]();}[_0x475d87(0x1ee)](_0xb214c){const _0x3c62b5=_0x475d87;if(_0xb214c===this[_0x3c62b5(0x1e8)])return;const _0x244e83=this[_0x3c62b5(0x1d5)][_0x3c62b5(0x1a7)][_0x3c62b5(0x1ff)](_0x735da8);if(_0x244e83[_0x3c62b5(0x1e5)]({'blurredAnnotation':this[_0x3c62b5(0x1e8)],'activatedAnnotation':_0xb214c,'disableAnimationOnActivatedAnnotation':!0x0}),_0xb214c)_0x244e83[_0x3c62b5(0x20c)](_0xb214c)?this[_0x3c62b5(0x1fb)](_0xb214c):this[_0x3c62b5(0x1d9)]();else this[_0x3c62b5(0x1d9)]();this[_0x3c62b5(0x1e8)]=_0xb214c;}[_0x475d87(0x1bc)](){const _0x809ac3=_0x475d87;if(!this[_0x809ac3(0x1c7)])throw new _0x48ffa6(_0x809ac3(0x1e3),this);this[_0x809ac3(0x1ee)](null);const _0x58c91b=this[_0x809ac3(0x1d5)][_0x809ac3(0x1a7)][_0x809ac3(0x1ff)](_0x735da8);this[_0x809ac3(0x1d9)](),Array[_0x809ac3(0x1ba)](this[_0x809ac3(0x1ed)][_0x809ac3(0x1f9)](),_0x439df5=>_0x439df5[_0x809ac3(0x1d8)]()),this[_0x809ac3(0x1ed)][_0x809ac3(0x1be)](),_0x58c91b[_0x809ac3(0x1d0)](this[_0x809ac3(0x1c4)]),this[_0x809ac3(0x1b4)](),this[_0x809ac3(0x1fd)][_0x809ac3(0x1b4)](),this[_0x809ac3(0x1d5)]instanceof _0x41d476&&this[_0x809ac3(0x1b4)](this[_0x809ac3(0x1d5)][_0x809ac3(0x1f1)]);for(const _0x3cb4c4 of Array[_0x809ac3(0x1ba)](this[_0x809ac3(0x1b8)]))this[_0x809ac3(0x1eb)](_0x3cb4c4);window[_0x809ac3(0x19b)](_0x809ac3(0x19a),this[_0x809ac3(0x1cc)]),this[_0x809ac3(0x1cc)][_0x809ac3(0x1da)](),this[_0x809ac3(0x1cf)]=[],this[_0x809ac3(0x1c7)]=!0x1,this[_0x809ac3(0x1c4)]=null;}[_0x475d87(0x1d8)](){const _0x5d2576=_0x475d87;this[_0x5d2576(0x1c7)]&&this[_0x5d2576(0x1bc)](),this[_0x5d2576(0x1c0)][_0x5d2576(0x1a8)]();}[_0x475d87(0x1c9)](_0x51effa){const _0x113c6c=_0x475d87;if(!_0x51effa[_0x113c6c(0x1a7)][_0x113c6c(0x1b7)](_0x113c6c(0x205)))return;const _0x83db13=_0x51effa[_0x113c6c(0x1a7)][_0x113c6c(0x1ff)](_0x113c6c(0x205)),_0x151eb9=this[_0x113c6c(0x1d5)][_0x113c6c(0x1a7)][_0x113c6c(0x1ff)](_0x735da8),_0x3416a5=this[_0x113c6c(0x1c4)],_0x3000e5=this[_0x113c6c(0x1dc)],_0x142d3c=()=>{const _0x57b894=_0x113c6c,_0x21e400=_0x83db13[_0x57b894(0x209)]({'annotations':this[_0x57b894(0x1c4)],'activeAnnotation':this[_0x57b894(0x1e8)]});this[_0x57b894(0x1f7)](_0x21e400),this[_0x57b894(0x1ee)](_0x21e400[0x0]||null);};this[_0x113c6c(0x20a)](_0x83db13,_0x113c6c(0x1e5),_0x142d3c),this[_0x113c6c(0x20a)](_0x83db13,_0x113c6c(0x1ca),(_0x59ced4,{isAnnotationTracked:_0x48ce8b})=>{const _0x106f5d=_0x113c6c;this[_0x106f5d(0x1e8)]&&_0x48ce8b(this[_0x106f5d(0x1e8)])&&(this[_0x106f5d(0x1f7)]([]),this[_0x106f5d(0x1ee)](null));}),this[_0x113c6c(0x20a)](_0x83db13,_0x113c6c(0x1b5),()=>{const _0x5e6da4=_0x113c6c;this[_0x5e6da4(0x1cc)]();}),this[_0x113c6c(0x20a)](_0x3416a5,_0x113c6c(0x1ca),_0x4eda21=>{const _0x48ce6d=_0x113c6c;_0x83db13[_0x48ce6d(0x1c3)]()&&_0x4eda21[_0x48ce6d(0x1ac)]();},{'priority':_0x113c6c(0x1f8)}),this[_0x113c6c(0x20a)](this[_0x113c6c(0x1fd)],_0x113c6c(0x20e),(_0x543f79,_0x3121de)=>{const _0xc5531b=_0x113c6c,_0x3823fd=_0x3121de[_0xc5531b(0x1d2)];_0x3000e5[_0xc5531b(0x1ef)]&&_0x3000e5[_0xc5531b(0x1a6)][_0xc5531b(0x1dd)](_0x3823fd)||_0x151eb9[_0xc5531b(0x1d1)][_0xc5531b(0x1a6)][_0xc5531b(0x1dd)](_0x3823fd)||this[_0xc5531b(0x1e8)]&&_0x83db13[_0xc5531b(0x1c3)]()&&(_0x142d3c(),_0x543f79[_0xc5531b(0x1a3)]=!0x0);},{'priority':_0x113c6c(0x1f8)}),this[_0x113c6c(0x1b8)][_0x113c6c(0x1a4)](_0x83db13);}[_0x475d87(0x1eb)](_0x11a2c8){const _0x345078=_0x475d87;_0x11a2c8&&(this[_0x345078(0x1b4)](_0x11a2c8),this[_0x345078(0x1b8)][_0x345078(0x1d4)](_0x11a2c8));}[_0x475d87(0x1f7)](_0x155ad4){const _0x3fb378=_0x475d87;for(const _0x2ca253 of this[_0x3fb378(0x1cf)])_0x155ad4[_0x3fb378(0x20d)](_0x2ca253)||this[_0x3fb378(0x1df)][_0x3fb378(0x1e1)](_0x2ca253[_0x3fb378(0x1d1)]);this[_0x3fb378(0x1cf)]=_0x155ad4;}[_0x475d87(0x1f0)](){const _0x2b07f5=_0x475d87,_0x11a5a9=this[_0x2b07f5(0x1dc)];this[_0x2b07f5(0x1c4)][_0x2b07f5(0x1a9)](),_0x11a5a9[_0x2b07f5(0x1ef)]&&this[_0x2b07f5(0x200)]();}[_0x475d87(0x1fb)](_0x362838){const _0x3c3504=_0x475d87;if(this[_0x3c3504(0x1df)][_0x3c3504(0x1b7)](_0x362838[_0x3c3504(0x1d1)]))return;const _0x150ce1=this[_0x3c3504(0x1dc)][_0x3c3504(0x19e)][_0x3c3504(0x1e0)];_0x150ce1!==_0x362838[_0x3c3504(0x1d1)]?(_0x150ce1&&this[_0x3c3504(0x1b1)](_0x150ce1),this[_0x3c3504(0x1b0)](_0x362838[_0x3c3504(0x1d1)]),this[_0x3c3504(0x1dc)][_0x3c3504(0x19e)][_0x3c3504(0x1be)](),this[_0x3c3504(0x1dc)][_0x3c3504(0x19e)][_0x3c3504(0x1a4)](_0x362838[_0x3c3504(0x1d1)]),this[_0x3c3504(0x200)]()):this[_0x3c3504(0x200)]();}[_0x475d87(0x200)](){const _0x2f1fad=_0x475d87,_0x1cd8b8=this[_0x2f1fad(0x1dc)][_0x2f1fad(0x19e)][_0x2f1fad(0x1e0)],_0x360953=_0x1cd8b8&&this[_0x2f1fad(0x1c4)][_0x2f1fad(0x1e7)](_0x1cd8b8);if(!_0x360953||!this[_0x2f1fad(0x1ed)][_0x2f1fad(0x1b7)](_0x360953))return;const _0x3539f9=this[_0x2f1fad(0x1ed)][_0x2f1fad(0x1ff)](_0x360953)[_0x2f1fad(0x1a6)],_0x1752e5=(function(){const _0x25f59f=_0x2f1fad,_0x497a85=_0x2928af[_0x25f59f(0x1aa)];return[_0x497a85[_0x25f59f(0x1b9)],_0x497a85[_0x25f59f(0x1db)],_0x497a85[_0x25f59f(0x1bb)],_0x497a85[_0x25f59f(0x204)],_0x497a85[_0x25f59f(0x1d6)],_0x497a85[_0x25f59f(0x1cb)]];}());this[_0x2f1fad(0x1dc)][_0x2f1fad(0x1c8)]({'target':_0x3539f9,'positions':_0x1752e5});}[_0x475d87(0x1d9)](){const _0x24dc7c=_0x475d87,_0x530dad=this[_0x24dc7c(0x1dc)],_0x50b35c=_0x530dad[_0x24dc7c(0x19e)][_0x24dc7c(0x1e0)];_0x50b35c&&(this[_0x24dc7c(0x1b1)](_0x50b35c),_0x530dad[_0x24dc7c(0x210)](),_0x530dad[_0x24dc7c(0x19e)][_0x24dc7c(0x1be)]());}[_0x475d87(0x1b0)](_0x54c468){const _0xe6fb30=_0x475d87;this[_0xe6fb30(0x20a)](_0x54c468,_0xe6fb30(0x1fa),()=>this[_0xe6fb30(0x200)]()),this[_0xe6fb30(0x20a)](_0x54c468,_0xe6fb30(0x19d),(_0x5bca13,_0x4a2686)=>{const _0x30c91a=_0xe6fb30;this[_0x30c91a(0x1df)][_0x30c91a(0x1a4)](_0x54c468),this[_0x30c91a(0x1d9)](),_0x4a2686();});}[_0x475d87(0x1b1)](_0x5b95f4){const _0x1bb3c7=_0x475d87;this[_0x1bb3c7(0x1b4)](_0x5b95f4);}}
|
|
23
|
+
const _0x342840=_0x291b;(function(_0x1dfe14,_0x1734fd){const _0xcd1b79=_0x291b,_0x5af55e=_0x1dfe14();while(!![]){try{const _0x1d397f=parseInt(_0xcd1b79(0x16c))/0x1+-parseInt(_0xcd1b79(0x199))/0x2+-parseInt(_0xcd1b79(0x16b))/0x3*(parseInt(_0xcd1b79(0x12f))/0x4)+-parseInt(_0xcd1b79(0x14d))/0x5+-parseInt(_0xcd1b79(0x195))/0x6+-parseInt(_0xcd1b79(0x16f))/0x7*(-parseInt(_0xcd1b79(0x18c))/0x8)+parseInt(_0xcd1b79(0x169))/0x9;if(_0x1d397f===_0x1734fd)break;else _0x5af55e['push'](_0x5af55e['shift']());}catch(_0x25e47e){_0x5af55e['push'](_0x5af55e['shift']());}}}(_0x242a,0xf3111));import{ContextPlugin as _0x198ec1,Context as _0x5b01ba}from'ckeditor5/src/core.js';import _0x9f4eee from'./annotationsuis.js';import _0x2835d0 from'./sidebar.js';function _0x242a(){const _0x28d4ee=['784504PKKihP','contains','view','keydown','_domEmitter','plugins','attachToDom','isVisible','pluginName','_refreshPositioning','from','southArrowNorthWest','delete','_attachListeners','southArrowNorth','init','_editorAnnotations','173464BolXMh','_hideBalloon','preventDefault','context','resize','values','destroy','off','_updateBalloonPosition','narrowsidebar-detach-not-attached','content','focusableElements','EditorAnnotations','cancel','blur','isPremiumPlugin','northArrowSouthWest','attach','low','stop','addEventListener','annotationType','get','NarrowSidebar','change:container','_destroyEditorAnnotationsIntegration','narrowsidebar-attach-already-attached','type','removeEventListener','stopListening','4490985fjIzUE','getByView','preventClosingBalloon','editors','execute','_selectedAnnotations','number','includes','_annotations','high','pin','northArrowSouthEast','_annotationToNarrowView','keyCode','_detachListeners','isOfficialPlugin','change:height','_showBalloon','narrowSidebar','northArrowSouth','southArrowNorthEast','set','rearrange','hasDomSelection','bodyCollection','annotations','length','clear','33715431PlMjZQ','ready','117vgPtMJ','1270585ofOqus','defaultPositions','listenTo','1043VfjeWj','_manuallyClosedAnnotationViews','refresh','has','getOrderedSelectedAnnotations','locale','register','_detachFromContainer','detach','_refreshPositioningDebounced','create','getSidebarItemView','isDirty','Esc','unpin','element','addAnnotation','focus','mousedown','esc','stopPropagation','set:container','detachFromDom','isAttached','_integrateWithEditorAnnotations','balloonPanelView','first','uiUpdate','requires','8472SnUNyS','setActiveAnnotation','add','ck-sidebar--narrow','target','_attachToContainer','remove','find','refreshPositioning','7183266PPiLKO','bind','activeAnnotation','_setSelectedAnnotations'];_0x242a=function(){return _0x28d4ee;};return _0x242a();}import _0x35165e from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x4fe0ba,BodyCollection as _0x53f21d}from'ckeditor5/src/ui.js';import{CKEditorError as _0x487a05,DomEmitterMixin as _0x507f7a,keyCodes as _0x2ca908,Collection as _0x4dc3ed}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x4a4df1}from'es-toolkit/compat';function _0x291b(_0x44cc2c,_0x428e11){const _0x242ab5=_0x242a();return _0x291b=function(_0x291b4d,_0xc3742c){_0x291b4d=_0x291b4d-0x12a;let _0x23b2d9=_0x242ab5[_0x291b4d];return _0x23b2d9;},_0x291b(_0x44cc2c,_0x428e11);}export default class n extends _0x198ec1{[_0x342840(0x186)];[_0x342840(0x166)];[_0x342840(0x170)];[_0x342840(0x19d)];[_0x342840(0x159)];[_0x342840(0x152)];[_0x342840(0x12e)];[_0x342840(0x178)];static get[_0x342840(0x18b)](){return[_0x2835d0,_0x9f4eee];}static get[_0x342840(0x1a1)](){const _0x19ea36=_0x342840;return _0x19ea36(0x146);}static get[_0x342840(0x15c)](){return!0x0;}static get[_0x342840(0x13e)](){return!0x0;}constructor(_0x2d8bb5){const _0x2fcaf5=_0x342840;super(_0x2d8bb5),this[_0x2fcaf5(0x186)]=!0x1,this[_0x2fcaf5(0x170)]=new Set(),this[_0x2fcaf5(0x19d)]=Object[_0x2fcaf5(0x179)](_0x507f7a),this[_0x2fcaf5(0x159)]=new Map(),this[_0x2fcaf5(0x162)](_0x2fcaf5(0x197),null),this[_0x2fcaf5(0x166)]=null,this[_0x2fcaf5(0x152)]=[],this[_0x2fcaf5(0x12e)]=new _0x4dc3ed(),this[_0x2fcaf5(0x178)]=_0x4a4df1(()=>{const _0x52be4a=_0x2fcaf5;this[_0x52be4a(0x1a2)]();},0xfa,{'leading':!0x1});}[_0x342840(0x12d)](){const _0x5e9054=_0x342840;this[_0x5e9054(0x132)][_0x5e9054(0x19e)][_0x5e9054(0x145)](_0x9f4eee)[_0x5e9054(0x175)](_0x5e9054(0x15f),this),this[_0x5e9054(0x165)]=new _0x53f21d(this[_0x5e9054(0x132)][_0x5e9054(0x174)]),this[_0x5e9054(0x188)]=new _0x4fe0ba(this[_0x5e9054(0x132)][_0x5e9054(0x174)]),this[_0x5e9054(0x165)][_0x5e9054(0x19f)](),this[_0x5e9054(0x165)][_0x5e9054(0x18e)](this[_0x5e9054(0x188)]);}[_0x342840(0x140)](_0x2314f9){const _0x40d64e=_0x342840;this[_0x40d64e(0x166)]=_0x2314f9;const _0x52a6a2=this[_0x40d64e(0x132)][_0x40d64e(0x19e)][_0x40d64e(0x145)](_0x2835d0),_0x4daee7=this[_0x40d64e(0x188)];if(_0x52a6a2[_0x40d64e(0x155)]=_0x2314f9,this[_0x40d64e(0x186)])throw new _0x487a05(_0x40d64e(0x149),this);this[_0x40d64e(0x186)]=!0x0,this[_0x40d64e(0x16e)](_0x52a6a2,_0x40d64e(0x184),()=>{const _0x33434c=_0x40d64e;this[_0x33434c(0x177)](),this[_0x33434c(0x16e)](_0x52a6a2,_0x33434c(0x147),_0x5b775a=>{const _0x8bec43=_0x33434c;_0x5b775a[_0x8bec43(0x136)](),this[_0x8bec43(0x140)](_0x2314f9);});}),_0x52a6a2[_0x40d64e(0x191)]({'viewClass':_0x40d64e(0x18f),'spaceBetweenItems':0x5});const _0x5eaf77=_0x22f9e0=>{const _0x1015f9=_0x40d64e,_0x13bdb4=new _0x35165e(this[_0x1015f9(0x132)][_0x1015f9(0x174)]);_0x52a6a2[_0x1015f9(0x17f)](_0x22f9e0,_0x13bdb4),this[_0x1015f9(0x159)][_0x1015f9(0x162)](_0x22f9e0,_0x13bdb4),_0x13bdb4[_0x1015f9(0x196)](_0x1015f9(0x17b),_0x1015f9(0x144),_0x1015f9(0x153))['to'](_0x22f9e0[_0x1015f9(0x19b)],_0x1015f9(0x17b),_0x1015f9(0x14a),_0x1015f9(0x167)),_0x13bdb4['on'](_0x1015f9(0x151),()=>{const _0x63ffc2=_0x1015f9;this[_0x63ffc2(0x170)][_0x63ffc2(0x168)](),_0x4daee7[_0x63ffc2(0x139)][_0x63ffc2(0x189)]!==_0x22f9e0[_0x63ffc2(0x19b)]?(this[_0x63ffc2(0x15e)](_0x22f9e0),_0x22f9e0[_0x63ffc2(0x19b)][_0x63ffc2(0x17e)][_0x63ffc2(0x180)](),this[_0x63ffc2(0x18d)](_0x22f9e0)):this[_0x63ffc2(0x18d)](null);});};for(const _0x223dce of _0x2314f9)_0x5eaf77(_0x223dce);this[_0x40d64e(0x16e)](_0x2314f9,_0x40d64e(0x18e),(_0x47099e,_0x404b96)=>{_0x5eaf77(_0x404b96);}),this[_0x40d64e(0x16e)](_0x2314f9,_0x40d64e(0x192),(_0x26c4c0,_0x43548d,_0x3b48fa)=>{const _0x4132db=_0x40d64e;this[_0x4132db(0x159)][_0x4132db(0x145)](_0x43548d)[_0x4132db(0x135)](),this[_0x4132db(0x159)][_0x4132db(0x12a)](_0x43548d),_0x52a6a2[_0x4132db(0x163)]({'removedAnnotation':_0x43548d,'previousAnnotation':_0x2314f9[_0x4132db(0x145)](_0x3b48fa-0x1),'nextAnnotation':_0x2314f9[_0x4132db(0x145)](_0x3b48fa+0x1)}),_0x43548d===this[_0x4132db(0x197)]&&this[_0x4132db(0x18d)](null);},{'priority':_0x40d64e(0x141)}),this[_0x40d64e(0x16e)](_0x2314f9,_0x40d64e(0x180),(_0x2e8daf,_0x5bc615)=>{const _0x3db227=_0x40d64e;this[_0x3db227(0x18d)](_0x5bc615);}),this[_0x40d64e(0x16e)](_0x2314f9,_0x40d64e(0x13d),()=>{const _0x540d11=_0x40d64e;this[_0x540d11(0x18d)](null);}),this[_0x40d64e(0x19d)][_0x40d64e(0x16e)](document,_0x40d64e(0x19c),(_0x4b9720,_0x46e34a)=>{const _0x18dbe4=_0x40d64e;_0x46e34a[_0x18dbe4(0x15a)]===_0x2ca908[_0x18dbe4(0x182)]&&_0x4daee7[_0x18dbe4(0x1a0)]&&(this[_0x18dbe4(0x170)][_0x18dbe4(0x18e)](_0x4daee7[_0x18dbe4(0x139)][_0x18dbe4(0x189)]),this[_0x18dbe4(0x130)](),_0x46e34a[_0x18dbe4(0x183)](),_0x46e34a[_0x18dbe4(0x131)]());}),this[_0x40d64e(0x19d)][_0x40d64e(0x16e)](document,_0x40d64e(0x181),(_0x448d85,_0x15c7dc)=>{const _0x396aa2=_0x40d64e,_0x93db28=_0x15c7dc[_0x396aa2(0x190)];_0x4daee7[_0x396aa2(0x1a0)]&&_0x4daee7[_0x396aa2(0x17e)][_0x396aa2(0x19a)](_0x93db28)||_0x52a6a2[_0x396aa2(0x19b)][_0x396aa2(0x17e)][_0x396aa2(0x19a)](_0x93db28)||_0x448d85[_0x396aa2(0x14f)]||this[_0x396aa2(0x197)]&&this[_0x396aa2(0x197)][_0x396aa2(0x13a)][_0x396aa2(0x193)](_0x2c9428=>_0x2c9428[_0x396aa2(0x19a)](_0x93db28))||(this[_0x396aa2(0x170)][_0x396aa2(0x168)](),this[_0x396aa2(0x130)](),this[_0x396aa2(0x18d)](null));});const _0x1884f8=this[_0x40d64e(0x132)]instanceof _0x5b01ba?this[_0x40d64e(0x132)][_0x40d64e(0x150)]:new _0x4dc3ed([this[_0x40d64e(0x132)]]);for(const _0x4d2d1b of _0x1884f8)this[_0x40d64e(0x187)](_0x4d2d1b);this[_0x40d64e(0x16e)](_0x1884f8,_0x40d64e(0x18e),(_0x4f16d4,_0x305239)=>{const _0x45ff1f=_0x40d64e;this[_0x45ff1f(0x16e)](_0x305239,_0x45ff1f(0x16a),()=>{const _0x2e04b6=_0x45ff1f;this[_0x2e04b6(0x187)](_0x305239);});}),this[_0x40d64e(0x16e)](_0x1884f8,_0x40d64e(0x192),(_0xd2ec5,_0x5755d1)=>{const _0x40e419=_0x40d64e;_0x5755d1[_0x40e419(0x19e)][_0x40e419(0x172)](_0x40e419(0x13b))&&this[_0x40e419(0x148)](_0x5755d1[_0x40e419(0x19e)][_0x40e419(0x145)](_0x40e419(0x13b)));}),window[_0x40d64e(0x143)](_0x40d64e(0x133),this[_0x40d64e(0x178)]),this[_0x40d64e(0x1a2)]();}[_0x342840(0x18d)](_0x33d708){const _0x5f55e9=_0x342840;if(_0x33d708===this[_0x5f55e9(0x197)])return;const _0x2eaaca=this[_0x5f55e9(0x132)][_0x5f55e9(0x19e)][_0x5f55e9(0x145)](_0x2835d0);if(_0x2eaaca[_0x5f55e9(0x171)]({'blurredAnnotation':this[_0x5f55e9(0x197)],'activatedAnnotation':_0x33d708,'disableAnimationOnActivatedAnnotation':!0x0}),_0x33d708)_0x2eaaca[_0x5f55e9(0x17a)](_0x33d708)?this[_0x5f55e9(0x15e)](_0x33d708):this[_0x5f55e9(0x130)]();else this[_0x5f55e9(0x130)]();this[_0x5f55e9(0x197)]=_0x33d708;}[_0x342840(0x177)](){const _0x26fe73=_0x342840;if(!this[_0x26fe73(0x186)])throw new _0x487a05(_0x26fe73(0x138),this);this[_0x26fe73(0x18d)](null);const _0x11674c=this[_0x26fe73(0x132)][_0x26fe73(0x19e)][_0x26fe73(0x145)](_0x2835d0);this[_0x26fe73(0x130)](),Array[_0x26fe73(0x1a3)](this[_0x26fe73(0x159)][_0x26fe73(0x134)](),_0x929d31=>_0x929d31[_0x26fe73(0x135)]()),this[_0x26fe73(0x159)][_0x26fe73(0x168)](),_0x11674c[_0x26fe73(0x176)](this[_0x26fe73(0x166)]),this[_0x26fe73(0x14c)](),this[_0x26fe73(0x19d)][_0x26fe73(0x14c)](),this[_0x26fe73(0x132)]instanceof _0x5b01ba&&this[_0x26fe73(0x14c)](this[_0x26fe73(0x132)][_0x26fe73(0x150)]);for(const _0x139cd9 of Array[_0x26fe73(0x1a3)](this[_0x26fe73(0x12e)]))this[_0x26fe73(0x148)](_0x139cd9);window[_0x26fe73(0x14b)](_0x26fe73(0x133),this[_0x26fe73(0x178)]),this[_0x26fe73(0x178)][_0x26fe73(0x13c)](),this[_0x26fe73(0x152)]=[],this[_0x26fe73(0x186)]=!0x1,this[_0x26fe73(0x166)]=null;}[_0x342840(0x135)](){const _0x3cab28=_0x342840;this[_0x3cab28(0x186)]&&this[_0x3cab28(0x177)](),this[_0x3cab28(0x165)][_0x3cab28(0x185)]();}[_0x342840(0x187)](_0x509f67){const _0x1056cf=_0x342840;if(!_0x509f67[_0x1056cf(0x19e)][_0x1056cf(0x172)](_0x1056cf(0x13b)))return;const _0x30a86a=_0x509f67[_0x1056cf(0x19e)][_0x1056cf(0x145)](_0x1056cf(0x13b)),_0x38dee0=this[_0x1056cf(0x132)][_0x1056cf(0x19e)][_0x1056cf(0x145)](_0x2835d0),_0x3ff659=this[_0x1056cf(0x166)],_0x10259b=this[_0x1056cf(0x188)],_0x571b89=()=>{const _0x18d6be=_0x1056cf,_0x25b877=_0x30a86a[_0x18d6be(0x173)]({'annotations':this[_0x18d6be(0x166)],'activeAnnotation':this[_0x18d6be(0x197)]});this[_0x18d6be(0x198)](_0x25b877),this[_0x18d6be(0x18d)](_0x25b877[0x0]||null);};this[_0x1056cf(0x16e)](_0x30a86a,_0x1056cf(0x171),_0x571b89),this[_0x1056cf(0x16e)](_0x30a86a,_0x1056cf(0x13d),(_0x143a27,{isAnnotationTracked:_0x505abb})=>{const _0x68ae10=_0x1056cf;this[_0x68ae10(0x197)]&&_0x505abb(this[_0x68ae10(0x197)])&&(this[_0x68ae10(0x198)]([]),this[_0x68ae10(0x18d)](null));}),this[_0x1056cf(0x16e)](_0x30a86a,_0x1056cf(0x18a),()=>{const _0x1a192d=_0x1056cf;this[_0x1a192d(0x178)]();}),this[_0x1056cf(0x16e)](_0x3ff659,_0x1056cf(0x13d),_0x50ae0a=>{const _0x8fc0b8=_0x1056cf;_0x30a86a[_0x8fc0b8(0x164)]()&&_0x50ae0a[_0x8fc0b8(0x142)]();},{'priority':_0x1056cf(0x156)}),this[_0x1056cf(0x16e)](this[_0x1056cf(0x19d)],_0x1056cf(0x181),(_0x296d5a,_0x3b371b)=>{const _0x182686=_0x1056cf,_0x1ba44d=_0x3b371b[_0x182686(0x190)];_0x10259b[_0x182686(0x1a0)]&&_0x10259b[_0x182686(0x17e)][_0x182686(0x19a)](_0x1ba44d)||_0x38dee0[_0x182686(0x19b)][_0x182686(0x17e)][_0x182686(0x19a)](_0x1ba44d)||this[_0x182686(0x197)]&&_0x30a86a[_0x182686(0x164)]()&&(_0x571b89(),_0x296d5a[_0x182686(0x14f)]=!0x0);},{'priority':_0x1056cf(0x156)}),this[_0x1056cf(0x12e)][_0x1056cf(0x18e)](_0x30a86a);}[_0x342840(0x148)](_0x3716c2){const _0x123ff9=_0x342840;_0x3716c2&&(this[_0x123ff9(0x14c)](_0x3716c2),this[_0x123ff9(0x12e)][_0x123ff9(0x192)](_0x3716c2));}[_0x342840(0x198)](_0x4e9029){const _0x1e98c6=_0x342840;for(const _0x52272b of this[_0x1e98c6(0x152)])_0x4e9029[_0x1e98c6(0x154)](_0x52272b)||this[_0x1e98c6(0x170)][_0x1e98c6(0x12a)](_0x52272b[_0x1e98c6(0x19b)]);this[_0x1e98c6(0x152)]=_0x4e9029;}[_0x342840(0x1a2)](){const _0x411d1f=_0x342840,_0x1068c9=this[_0x411d1f(0x188)];this[_0x411d1f(0x166)][_0x411d1f(0x194)](),_0x1068c9[_0x411d1f(0x1a0)]&&this[_0x411d1f(0x137)]();}[_0x342840(0x15e)](_0x145c87){const _0x472ea1=_0x342840;if(this[_0x472ea1(0x170)][_0x472ea1(0x172)](_0x145c87[_0x472ea1(0x19b)]))return;const _0x42b177=this[_0x472ea1(0x188)][_0x472ea1(0x139)][_0x472ea1(0x189)];_0x42b177!==_0x145c87[_0x472ea1(0x19b)]?(_0x42b177&&this[_0x472ea1(0x15b)](_0x42b177),this[_0x472ea1(0x12b)](_0x145c87[_0x472ea1(0x19b)]),this[_0x472ea1(0x188)][_0x472ea1(0x139)][_0x472ea1(0x168)](),this[_0x472ea1(0x188)][_0x472ea1(0x139)][_0x472ea1(0x18e)](_0x145c87[_0x472ea1(0x19b)]),this[_0x472ea1(0x137)]()):this[_0x472ea1(0x137)]();}[_0x342840(0x137)](){const _0x49d324=_0x342840,_0x33b93b=this[_0x49d324(0x188)][_0x49d324(0x139)][_0x49d324(0x189)],_0x10fdce=_0x33b93b&&this[_0x49d324(0x166)][_0x49d324(0x14e)](_0x33b93b);if(!_0x10fdce||!this[_0x49d324(0x159)][_0x49d324(0x172)](_0x10fdce))return;const _0x46480d=this[_0x49d324(0x159)][_0x49d324(0x145)](_0x10fdce)[_0x49d324(0x17e)],_0x1355ce=(function(){const _0x40faed=_0x49d324,_0x226894=_0x4fe0ba[_0x40faed(0x16d)];return[_0x226894[_0x40faed(0x161)],_0x226894[_0x40faed(0x158)],_0x226894[_0x40faed(0x12c)],_0x226894[_0x40faed(0x160)],_0x226894[_0x40faed(0x1a4)],_0x226894[_0x40faed(0x13f)]];}());this[_0x49d324(0x188)][_0x49d324(0x157)]({'target':_0x46480d,'positions':_0x1355ce});}[_0x342840(0x130)](){const _0x2d0763=_0x342840,_0xecdc5e=this[_0x2d0763(0x188)],_0x57a00f=_0xecdc5e[_0x2d0763(0x139)][_0x2d0763(0x189)];_0x57a00f&&(this[_0x2d0763(0x15b)](_0x57a00f),_0xecdc5e[_0x2d0763(0x17d)](),_0xecdc5e[_0x2d0763(0x139)][_0x2d0763(0x168)]());}[_0x342840(0x12b)](_0x224a8a){const _0x31ad0f=_0x342840;this[_0x31ad0f(0x16e)](_0x224a8a,_0x31ad0f(0x15d),()=>this[_0x31ad0f(0x137)]()),this[_0x31ad0f(0x16e)](_0x224a8a,_0x31ad0f(0x17c),(_0x163d6e,_0x420f85)=>{const _0x24a8a2=_0x31ad0f;this[_0x24a8a2(0x170)][_0x24a8a2(0x18e)](_0x224a8a),this[_0x24a8a2(0x130)](),_0x420f85();});}[_0x342840(0x15b)](_0x389163){const _0x3c2f2e=_0x342840;this[_0x3c2f2e(0x14c)](_0x389163);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x469c4b=_0x1c16;(function(_0x99ae46,_0x24b5c1){const _0x33972e=_0x1c16,_0x4d33f8=_0x99ae46();while(!![]){try{const _0x4fe39d=parseInt(_0x33972e(0xcf))/0x1*(parseInt(_0x33972e(0xca))/0x2)+parseInt(_0x33972e(0xcd))/0x3*(parseInt(_0x33972e(0xab))/0x4)+parseInt(_0x33972e(0xd3))/0x5*(parseInt(_0x33972e(0xf6))/0x6)+parseInt(_0x33972e(0xe5))/0x7+-parseInt(_0x33972e(0xd1))/0x8*(parseInt(_0x33972e(0xc9))/0x9)+parseInt(_0x33972e(0xaf))/0xa*(-parseInt(_0x33972e(0xbe))/0xb)+parseInt(_0x33972e(0xaa))/0xc*(-parseInt(_0x33972e(0xac))/0xd);if(_0x4fe39d===_0x24b5c1)break;else _0x4d33f8['push'](_0x4d33f8['shift']());}catch(_0x4fe281){_0x4d33f8['push'](_0x4d33f8['shift']());}}}(_0x1a1c,0x2b688));import{ContextPlugin as _0x124f2b}from'ckeditor5/src/core.js';import{Rect as _0x22a6b3,CKEditorError as _0xda0f5b}from'ckeditor5/src/utils.js';function _0x1c16(_0x73b269,_0x4c34bf){const _0x1a1cde=_0x1a1c();return _0x1c16=function(_0x1c1601,_0x2c0a85){_0x1c1601=_0x1c1601-0x9b;let _0x19a5af=_0x1a1cde[_0x1c1601];return _0x19a5af;},_0x1c16(_0x73b269,_0x4c34bf);}import _0x169da1 from'./view/sidebarview.js';function _0x1a1c(){const _0x8d3d25=['6AkDFyP','targetRect','remove','define','_alignBeforeItem','render','_activeAnnotation','target','top','_getItemAfter','listenTo','list','_destroySidebarItemView','setContainer','sidebar.preventScrollOutOfView','getSidebarItemView','_getItemBefore','refresh','4764YVGwFN','83064pIgsaM','18226BfWJvR','_recalculateBuffer','height','70aOsEBL','_alignAfterItem','_recalculate','set','_setItemTop','sidebar-attachtocontainer-missing-container','get','_attachToContainer','change:targetRect','minHeight','clear','content','addAnnotation','container','pluginName','216183MQMjgb','_detachFromContainer','_lastItem','updateHeight','_alignForTopChange','sidebar-setcontainer-invalid-element','bottom','unbind','change:bottom','isOfficialPlugin','_alignForBottomChange','45GFtPxr','14bmGnCw','class','view','36cPQbJu','_sidebarItemViewToAnnotation','49953eeLlXa','max','52600Krhfdp','sidebar.container','613945nBIEDw','destroy','change:top','_createSidebarView','rearrange','length','config','_updateLastItem','_getMaxAvailableTop','add','delete','_spaceBetweenItems','bind','element','Sidebar','_getTargetTop','push','context','1282316ryTGjg','isActive','nodeType','locale','appendChild','change:_lastItem','_alignToTargetRect','isPremiumPlugin','stopListening','last','isAnimationDisabled','_annotations','getIndex','object','_targetTop','_annotationToSidebarItemView','init'];_0x1a1c=function(){return _0x8d3d25;};return _0x1a1c();}import _0xf9c2d1 from'./view/sidebaritemview.js';export default class z extends _0x124f2b{static get[_0x469c4b(0xbd)](){const _0x3821f5=_0x469c4b;return _0x3821f5(0xe1);}static get[_0x469c4b(0xc7)](){return!0x0;}static get[_0x469c4b(0xec)](){return!0x0;}constructor(_0x32daa9){const _0x438971=_0x469c4b;super(_0x32daa9),this[_0x438971(0xb2)](_0x438971(0xc0),void 0x0),this[_0x438971(0xcc)]=this[_0x438971(0xd6)](),this[_0x438971(0xb2)](_0x438971(0xbc),null),this[_0x438971(0xde)]=0x19,this[_0x438971(0xce)]=new Map(),this[_0x438971(0xf4)]=new Map(),this[_0x438971(0xe4)][_0x438971(0xd9)][_0x438971(0x9b)](_0x438971(0xa6),!0x1),this[_0x438971(0xf0)]=null,this[_0x438971(0x9e)]=null,this[_0x438971(0xad)]=[];}[_0x469c4b(0xf5)](){const _0xad1574=_0x469c4b,_0x2195ba=this[_0xad1574(0xe4)][_0xad1574(0xd9)][_0xad1574(0xb5)](_0xad1574(0xd2));_0x2195ba&&this[_0xad1574(0xa5)](_0x2195ba);}[_0x469c4b(0xa5)](_0x203d06){const _0x2c57d7=_0x469c4b;if(!y(_0x203d06))throw new _0xda0f5b(_0x2c57d7(0xc3));this[_0x2c57d7(0xbc)]=_0x203d06;}[_0x469c4b(0xb6)]({viewClass:_0x174f58='',spaceBetweenItems:_0x32ce94=0x19}={}){const _0x2ba848=_0x469c4b;if(!y(this[_0x2ba848(0xbc)]))throw new _0xda0f5b(_0x2ba848(0xb4),this);this[_0x2ba848(0xbc)][_0x2ba848(0xe9)](this[_0x2ba848(0xcc)][_0x2ba848(0xe0)]),this[_0x2ba848(0xcc)][_0x2ba848(0xcb)]=_0x174f58,this[_0x2ba848(0xde)]=_0x32ce94;}[_0x469c4b(0xd7)]({removedAnnotation:_0x4e84da,previousAnnotation:_0x31eed7,nextAnnotation:_0x213555}){const _0xd030d5=_0x469c4b,_0x3f820e=this[_0xd030d5(0xa7)](_0x4e84da);this[_0xd030d5(0xcc)][_0xd030d5(0xa3)][_0xd030d5(0xf8)](_0x3f820e),this[_0xd030d5(0xa4)](_0x4e84da),_0x31eed7&&this[_0xd030d5(0xeb)](this[_0xd030d5(0xa7)](_0x31eed7)),_0x213555&&this[_0xd030d5(0xeb)](this[_0xd030d5(0xa7)](_0x213555)),this[_0xd030d5(0xda)]();}[_0x469c4b(0xa9)]({blurredAnnotation:_0xbb261,activatedAnnotation:_0x5ee226,disableAnimationOnActivatedAnnotation:_0x338d9d}){const _0xe8086=_0x469c4b;if(this[_0xe8086(0x9e)]=_0x5ee226,_0xbb261){_0xbb261[_0xe8086(0xe6)]=!0x1;const _0x23ed8a=this[_0xe8086(0xa7)](_0xbb261);_0x23ed8a&&_0x338d9d&&(_0x23ed8a[_0xe8086(0xef)]=!0x1);}if(_0x5ee226){const _0x37f89d=this[_0xe8086(0xa7)](_0x5ee226);_0x37f89d&&(_0x5ee226[_0xe8086(0xe6)]=!0x0,_0x338d9d&&(_0x37f89d[_0xe8086(0xef)]=!0x0,_0x37f89d[_0xe8086(0xa0)]+=0x1),this[_0xe8086(0xeb)](_0x37f89d));}}[_0x469c4b(0xbf)](_0x2591e2){const _0x55a16b=_0x469c4b;if(this[_0x55a16b(0xcc)][_0x55a16b(0xe0)][_0x55a16b(0xf8)](),_0x2591e2){for(const _0x18d1a8 of _0x2591e2)this[_0x55a16b(0xa4)](_0x18d1a8);}this[_0x55a16b(0xcc)][_0x55a16b(0xa3)][_0x55a16b(0xb9)](),this[_0x55a16b(0xcc)][_0x55a16b(0xcb)]='',this[_0x55a16b(0xc0)]=null;}[_0x469c4b(0xbb)](_0x5512df,_0x56815f){const _0x1de2fd=_0x469c4b;_0x56815f||(_0x56815f=_0x5512df[_0x1de2fd(0xcc)]);const _0x510482=new _0xf9c2d1(this[_0x1de2fd(0xe4)][_0x1de2fd(0xe8)]);this[_0x1de2fd(0xce)][_0x1de2fd(0xb2)](_0x510482,_0x5512df),this[_0x1de2fd(0xf4)][_0x1de2fd(0xb2)](_0x5512df,_0x510482),_0x510482[_0x1de2fd(0xba)][_0x1de2fd(0xdc)](_0x56815f),this[_0x1de2fd(0xa2)](_0x5512df[_0x1de2fd(0xcc)],_0x1de2fd(0xb7),(_0xd2e1f6,_0x584883,_0x4c8e16)=>{const _0x5eea30=_0x1de2fd,_0x35018d=this[_0x5eea30(0xe2)](_0x5512df,_0x4c8e16);_0x510482[_0x5eea30(0xf3)]!=_0x35018d&&(_0x510482[_0x5eea30(0xf3)]=_0x35018d,this[_0x5eea30(0xb3)](_0x510482,_0x35018d));}),this[_0x1de2fd(0xa2)](_0x510482,_0x1de2fd(0xd5),()=>{const _0x352a0a=_0x1de2fd;this[_0x352a0a(0xb1)](_0x510482,_0x352a0a(0xa0));}),this[_0x1de2fd(0xa2)](_0x510482,_0x1de2fd(0xc6),()=>{const _0x3365fe=_0x1de2fd;this[_0x3365fe(0xb1)](_0x510482,_0x3365fe(0xc4));}),this[_0x1de2fd(0xeb)](_0x510482);const _0x324f94=this[_0x1de2fd(0xa8)](_0x510482);if(_0x324f94)this[_0x1de2fd(0xb0)](_0x324f94,_0x510482)||this[_0x1de2fd(0xeb)](_0x510482);else this[_0x1de2fd(0xeb)](_0x510482);return this[_0x1de2fd(0xda)](),this[_0x1de2fd(0xcc)][_0x1de2fd(0xa3)][_0x1de2fd(0xdc)](_0x510482),_0x510482;}[_0x469c4b(0xc2)](_0x2ddb91){const _0x740b0b=_0x469c4b;if(!_0x2ddb91[_0x740b0b(0xba)][_0x740b0b(0xd8)])return;const _0x5774ed=this[_0x740b0b(0xa8)](_0x2ddb91);if(!_0x5774ed)return;const _0x378679=this[_0x740b0b(0xce)][_0x740b0b(0xb5)](_0x5774ed),_0x1f78e1=this[_0x740b0b(0x9e)];_0x1f78e1&&_0x1f78e1===_0x378679?this[_0x740b0b(0xb0)](_0x5774ed,_0x2ddb91):this[_0x740b0b(0x9c)](_0x2ddb91,_0x5774ed);}[_0x469c4b(0xc8)](_0x57cbae){const _0x5724e4=_0x469c4b;if(!_0x57cbae[_0x5724e4(0xba)][_0x5724e4(0xd8)])return;const _0x51759b=this[_0x5724e4(0xa1)](_0x57cbae);if(!_0x51759b)return;const _0x5f2c08=this[_0x5724e4(0xce)][_0x5724e4(0xb5)](_0x51759b),_0x46b9ce=this[_0x5724e4(0xe4)][_0x5724e4(0xd9)][_0x5724e4(0xb5)](_0x5724e4(0xa6)),_0x5e93f2=this[_0x5724e4(0x9e)];_0x5e93f2&&_0x5e93f2===_0x5f2c08&&_0x46b9ce?(this[_0x5724e4(0x9c)](_0x51759b,_0x57cbae),this[_0x5724e4(0xb0)](_0x57cbae,_0x51759b)):_0x5e93f2&&_0x5e93f2===_0x5f2c08?this[_0x5724e4(0x9c)](_0x51759b,_0x57cbae):this[_0x5724e4(0xb0)](_0x57cbae,_0x51759b);}[_0x469c4b(0xb1)](_0x53e0c3,_0x4da312){const _0x26182f=_0x469c4b;0x0===this[_0x26182f(0xad)][_0x26182f(0xd8)]&&setTimeout(()=>{const _0x9341d0=_0x26182f;for(const {sidebarItemView:_0x21e6cc,changedProp:_0x4c6d73}of this[_0x9341d0(0xad)])_0x9341d0(0xa0)===_0x4c6d73?this[_0x9341d0(0xc2)](_0x21e6cc):this[_0x9341d0(0xc8)](_0x21e6cc);this[_0x9341d0(0xad)]=[];},0xa),this[_0x26182f(0xad)][_0x26182f(0xe3)]({'sidebarItemView':_0x53e0c3,'changedProp':_0x4da312});}[_0x469c4b(0xa7)](_0x3f828e){const _0x3a1f2e=_0x469c4b;return this[_0x3a1f2e(0xf4)][_0x3a1f2e(0xb5)](_0x3f828e);}[_0x469c4b(0xd4)](){const _0x282a1f=_0x469c4b;this[_0x282a1f(0xed)](),this[_0x282a1f(0xcc)][_0x282a1f(0xd4)]();}[_0x469c4b(0xa4)](_0x2460c4){const _0x3152b3=_0x469c4b,_0x15205d=this[_0x3152b3(0xa7)](_0x2460c4);this[_0x3152b3(0xed)](_0x15205d),this[_0x3152b3(0xed)](_0x2460c4[_0x3152b3(0xcc)]),_0x15205d[_0x3152b3(0xd4)](),this[_0x3152b3(0xf4)][_0x3152b3(0xdd)](_0x2460c4),this[_0x3152b3(0xce)][_0x3152b3(0xdd)](_0x15205d);}[_0x469c4b(0xd6)](){const _0x2ab2d0=_0x469c4b,_0x25a396=new _0x169da1(this[_0x2ab2d0(0xe4)][_0x2ab2d0(0xe8)]);return _0x25a396[_0x2ab2d0(0x9d)](),this['on'](_0x2ab2d0(0xea),(_0x467b15,_0xee379a,_0x313e7c,_0x56c78d)=>{const _0x2d1c03=_0x2ab2d0;_0x56c78d&&_0x25a396[_0x2d1c03(0xc5)](_0x2d1c03(0xb8)),_0x313e7c?_0x25a396[_0x2d1c03(0xdf)](_0x2d1c03(0xb8))['to'](_0x313e7c,_0x2d1c03(0xc4)):_0x25a396[_0x2d1c03(0xb8)]=null;}),_0x25a396;}[_0x469c4b(0xda)](){const _0x594a36=_0x469c4b;var _0x290b57;this[_0x594a36(0xc0)]=(null===(_0x290b57=this[_0x594a36(0xf0)])||void 0x0===_0x290b57?void 0x0:_0x290b57[_0x594a36(0xee)])?this[_0x594a36(0xa7)](this[_0x594a36(0xf0)][_0x594a36(0xee)]):null;}[_0x469c4b(0xa8)](_0x2e0caf){const _0x275948=_0x469c4b;var _0x152aaf;const _0xb5316b=this[_0x275948(0xce)][_0x275948(0xb5)](_0x2e0caf),_0xc4ff0c=_0xb5316b&&(null===(_0x152aaf=this[_0x275948(0xf0)])||void 0x0===_0x152aaf?void 0x0:_0x152aaf[_0x275948(0xb5)](this[_0x275948(0xf0)][_0x275948(0xf1)](_0xb5316b)-0x1));return _0xc4ff0c&&this[_0x275948(0xa7)](_0xc4ff0c)||null;}[_0x469c4b(0xa1)](_0x380dd6){const _0x41adf9=_0x469c4b;var _0x539a65;const _0x3d667e=this[_0x41adf9(0xce)][_0x41adf9(0xb5)](_0x380dd6),_0x504ca5=_0x3d667e&&(null===(_0x539a65=this[_0x41adf9(0xf0)])||void 0x0===_0x539a65?void 0x0:_0x539a65[_0x41adf9(0xb5)](this[_0x41adf9(0xf0)][_0x41adf9(0xf1)](_0x3d667e)+0x1));return _0x504ca5&&this[_0x41adf9(0xa7)](_0x504ca5)||null;}[_0x469c4b(0x9c)](_0x3b6ded,_0x55a150){const _0x4763f9=_0x469c4b;_0x3b6ded[_0x4763f9(0xc1)]();const _0x21d175=R(_0x55a150[_0x4763f9(0xc4)]+this[_0x4763f9(0xde)],_0x3b6ded[_0x4763f9(0xa0)]);return!!_0x21d175&&(this[_0x4763f9(0xb3)](_0x55a150,_0x55a150[_0x4763f9(0xa0)]-_0x21d175),!0x0);}[_0x469c4b(0xb0)](_0x1ee864,_0x50bfc8){const _0x19eb6a=_0x469c4b;_0x1ee864[_0x19eb6a(0xc1)]();const _0x5099f9=R(_0x1ee864[_0x19eb6a(0xc4)]+this[_0x19eb6a(0xde)],_0x50bfc8[_0x19eb6a(0xa0)]);return!!_0x5099f9&&(this[_0x19eb6a(0xb3)](_0x50bfc8,_0x50bfc8[_0x19eb6a(0xa0)]+_0x5099f9,!0x1),!0x0);}[_0x469c4b(0xeb)](_0x280ec9){const _0x3451d1=_0x469c4b,_0x1ecfb8=this[_0x3451d1(0xce)][_0x3451d1(0xb5)](_0x280ec9);if(!_0x1ecfb8||!_0x1ecfb8[_0x3451d1(0x9f)]||!_0x1ecfb8[_0x3451d1(0xf7)])return;const _0x51caec=this[_0x3451d1(0xe2)](_0x1ecfb8,_0x1ecfb8[_0x3451d1(0xf7)]);this[_0x3451d1(0xb3)](_0x280ec9,_0x51caec);}[_0x469c4b(0xe2)](_0x4a2b44,_0x5e3991){const _0x5cc47f=_0x469c4b;if(null===_0x5e3991)return 0x0;if(_0x4a2b44[_0x5cc47f(0x9f)]instanceof _0x22a6b3)return _0x5e3991[_0x5cc47f(0xa0)];{const _0x3885c1=new _0x22a6b3(this[_0x5cc47f(0xcc)][_0x5cc47f(0xe0)])[_0x5cc47f(0xa0)];return _0x5e3991[_0x5cc47f(0xa0)]-_0x3885c1;}}[_0x469c4b(0xb3)](_0x1306b0,_0x1e1c0a,_0x245dc5=this[_0x469c4b(0xe4)][_0x469c4b(0xd9)][_0x469c4b(0xb5)](_0x469c4b(0xa6))){const _0x44b911=_0x469c4b;_0x245dc5&&(_0x1e1c0a=Math[_0x44b911(0xd0)](_0x1e1c0a,this[_0x44b911(0xdb)](_0x1306b0))),_0x1306b0[_0x44b911(0xa0)]=_0x1e1c0a;}[_0x469c4b(0xdb)](_0x26eeca){const _0x3c5736=_0x469c4b;let _0x463d97=this[_0x3c5736(0xa8)](_0x26eeca),_0x59d448=0x0;for(;_0x463d97;)_0x463d97[_0x3c5736(0xc1)](),_0x59d448+=this[_0x3c5736(0xde)]+_0x463d97[_0x3c5736(0xae)],_0x463d97=this[_0x3c5736(0xa8)](_0x463d97);return _0x59d448;}}function R(_0x25e545,_0x675ae3){const _0x28ee7b=_0x469c4b;return Math[_0x28ee7b(0xd0)](_0x25e545-_0x675ae3,0x0);}function y(_0x45e34a){const _0x2c22d7=_0x469c4b;return null!==_0x45e34a&&_0x2c22d7(0xf2)==typeof _0x45e34a&&0x1===_0x45e34a[_0x2c22d7(0xe7)];}
|
|
23
|
+
const _0x311eba=_0x4e32;(function(_0x55f2f3,_0x5d286f){const _0x9db26d=_0x4e32,_0xc5c319=_0x55f2f3();while(!![]){try{const _0x385d42=-parseInt(_0x9db26d(0xb8))/0x1+-parseInt(_0x9db26d(0x86))/0x2+parseInt(_0x9db26d(0x96))/0x3+parseInt(_0x9db26d(0xd6))/0x4*(-parseInt(_0x9db26d(0x97))/0x5)+parseInt(_0x9db26d(0xc1))/0x6*(-parseInt(_0x9db26d(0xa2))/0x7)+-parseInt(_0x9db26d(0x8a))/0x8+-parseInt(_0x9db26d(0xc7))/0x9*(-parseInt(_0x9db26d(0xb1))/0xa);if(_0x385d42===_0x5d286f)break;else _0xc5c319['push'](_0xc5c319['shift']());}catch(_0x22d8ff){_0xc5c319['push'](_0xc5c319['shift']());}}}(_0x3745,0xb20f1));function _0x4e32(_0x300a80,_0xe65cdf){const _0x37456c=_0x3745();return _0x4e32=function(_0x4e32b6,_0x4a093f){_0x4e32b6=_0x4e32b6-0x84;let _0x41c487=_0x37456c[_0x4e32b6];return _0x41c487;},_0x4e32(_0x300a80,_0xe65cdf);}import{ContextPlugin as _0x2dbc3f}from'ckeditor5/src/core.js';import{Rect as _0xb159a9,CKEditorError as _0x298b70}from'ckeditor5/src/utils.js';function _0x3745(){const _0x38f5a0=['container','targetRect','locale','_getMaxAvailableTop','_recalculate','423750wqpRiy','set','_alignForTopChange','unbind','2475328AmwBFB','target','_getItemAfter','_lastItem','view','_alignBeforeItem','config','_destroySidebarItemView','setContainer','getIndex','minHeight','_alignToTargetRect','1477497BfwjkA','400MUkhLN','rearrange','_getItemBefore','_recalculateBuffer','isOfficialPlugin','getSidebarItemView','_alignForBottomChange','_updateLastItem','destroy','_sidebarItemViewToAnnotation','bottom','203wyPQbm','class','object','element','context','_annotations','height','_annotationToSidebarItemView','init','isPremiumPlugin','bind','sidebar.container','change:targetRect','isAnimationDisabled','get','35108450CWZqlx','_createSidebarView','stopListening','change:top','listenTo','_attachToContainer','top','1174600osAvCv','_getTargetTop','change:_lastItem','sidebar.preventScrollOutOfView','pluginName','_setItemTop','sidebar-attachtocontainer-missing-container','render','max','229896imQVWs','_spaceBetweenItems','content','addAnnotation','delete','last','9eCddCt','Sidebar','list','length','clear','define','change:bottom','remove','nodeType','_targetTop','isActive','_alignAfterItem','refresh','_activeAnnotation','sidebar-setcontainer-invalid-element','23348pCUlvU','add','appendChild','_detachFromContainer','push','updateHeight'];_0x3745=function(){return _0x38f5a0;};return _0x3745();}import _0x4e4f60 from'./view/sidebarview.js';import _0x4f45f3 from'./view/sidebaritemview.js';export default class z extends _0x2dbc3f{[_0x311eba(0x8e)];[_0x311eba(0xd4)];[_0x311eba(0xa7)];[_0x311eba(0xc2)];[_0x311eba(0xa0)];[_0x311eba(0xa9)];[_0x311eba(0x9a)];static get[_0x311eba(0xbc)](){const _0x3d23b2=_0x311eba;return _0x3d23b2(0xc8);}static get[_0x311eba(0x9b)](){return!0x0;}static get[_0x311eba(0xab)](){return!0x0;}constructor(_0x350478){const _0x58ab01=_0x311eba;super(_0x350478),this[_0x58ab01(0x87)](_0x58ab01(0x8d),void 0x0),this[_0x58ab01(0x8e)]=this[_0x58ab01(0xb2)](),this[_0x58ab01(0x87)](_0x58ab01(0xdc),null),this[_0x58ab01(0xc2)]=0x19,this[_0x58ab01(0xa0)]=new Map(),this[_0x58ab01(0xa9)]=new Map(),this[_0x58ab01(0xa6)][_0x58ab01(0x90)][_0x58ab01(0xcc)](_0x58ab01(0xbb),!0x1),this[_0x58ab01(0xa7)]=null,this[_0x58ab01(0xd4)]=null,this[_0x58ab01(0x9a)]=[];}[_0x311eba(0xaa)](){const _0x1d09d8=_0x311eba,_0x5c9280=this[_0x1d09d8(0xa6)][_0x1d09d8(0x90)][_0x1d09d8(0xb0)](_0x1d09d8(0xad));_0x5c9280&&this[_0x1d09d8(0x92)](_0x5c9280);}[_0x311eba(0x92)](_0x1c7767){const _0xcc9b7e=_0x311eba;if(!y(_0x1c7767))throw new _0x298b70(_0xcc9b7e(0xd5));this[_0xcc9b7e(0xdc)]=_0x1c7767;}[_0x311eba(0xb6)]({viewClass:_0x357808='',spaceBetweenItems:_0x583218=0x19}={}){const _0x3f0932=_0x311eba;if(!y(this[_0x3f0932(0xdc)]))throw new _0x298b70(_0x3f0932(0xbe),this);this[_0x3f0932(0xdc)][_0x3f0932(0xd8)](this[_0x3f0932(0x8e)][_0x3f0932(0xa5)]),this[_0x3f0932(0x8e)][_0x3f0932(0xa3)]=_0x357808,this[_0x3f0932(0xc2)]=_0x583218;}[_0x311eba(0x98)]({removedAnnotation:_0x22ee1f,previousAnnotation:_0x390784,nextAnnotation:_0x4dbbcb}){const _0x2788be=_0x311eba,_0x125510=this[_0x2788be(0x9c)](_0x22ee1f);this[_0x2788be(0x8e)][_0x2788be(0xc9)][_0x2788be(0xce)](_0x125510),this[_0x2788be(0x91)](_0x22ee1f),_0x390784&&this[_0x2788be(0x95)](this[_0x2788be(0x9c)](_0x390784)),_0x4dbbcb&&this[_0x2788be(0x95)](this[_0x2788be(0x9c)](_0x4dbbcb)),this[_0x2788be(0x9e)]();}[_0x311eba(0xd3)]({blurredAnnotation:_0x218b35,activatedAnnotation:_0x1114c7,disableAnimationOnActivatedAnnotation:_0x3f1792}){const _0x397a89=_0x311eba;if(this[_0x397a89(0xd4)]=_0x1114c7,_0x218b35){_0x218b35[_0x397a89(0xd1)]=!0x1;const _0x491811=this[_0x397a89(0x9c)](_0x218b35);_0x491811&&_0x3f1792&&(_0x491811[_0x397a89(0xaf)]=!0x1);}if(_0x1114c7){const _0x23186c=this[_0x397a89(0x9c)](_0x1114c7);_0x23186c&&(_0x1114c7[_0x397a89(0xd1)]=!0x0,_0x3f1792&&(_0x23186c[_0x397a89(0xaf)]=!0x0,_0x23186c[_0x397a89(0xb7)]+=0x1),this[_0x397a89(0x95)](_0x23186c));}}[_0x311eba(0xd9)](_0x319a59){const _0x4be817=_0x311eba;if(this[_0x4be817(0x8e)][_0x4be817(0xa5)][_0x4be817(0xce)](),_0x319a59){for(const _0x192578 of _0x319a59)this[_0x4be817(0x91)](_0x192578);}this[_0x4be817(0x8e)][_0x4be817(0xc9)][_0x4be817(0xcb)](),this[_0x4be817(0x8e)][_0x4be817(0xa3)]='',this[_0x4be817(0x8d)]=null;}[_0x311eba(0xc4)](_0x5601a9,_0x47fae1){const _0x12763e=_0x311eba;_0x47fae1||(_0x47fae1=_0x5601a9[_0x12763e(0x8e)]);const _0x4e809c=new _0x4f45f3(this[_0x12763e(0xa6)][_0x12763e(0xde)]);this[_0x12763e(0xa0)][_0x12763e(0x87)](_0x4e809c,_0x5601a9),this[_0x12763e(0xa9)][_0x12763e(0x87)](_0x5601a9,_0x4e809c),_0x4e809c[_0x12763e(0xc3)][_0x12763e(0xd7)](_0x47fae1),this[_0x12763e(0xb5)](_0x5601a9[_0x12763e(0x8e)],_0x12763e(0xae),(_0x4422c8,_0x3157fa,_0x6fd20a)=>{const _0x4c7540=_0x12763e,_0x354c0f=this[_0x4c7540(0xb9)](_0x5601a9,_0x6fd20a);_0x4e809c[_0x4c7540(0xd0)]!=_0x354c0f&&(_0x4e809c[_0x4c7540(0xd0)]=_0x354c0f,this[_0x4c7540(0xbd)](_0x4e809c,_0x354c0f));}),this[_0x12763e(0xb5)](_0x4e809c,_0x12763e(0xb4),()=>{const _0x1ee4c5=_0x12763e;this[_0x1ee4c5(0x85)](_0x4e809c,_0x1ee4c5(0xb7));}),this[_0x12763e(0xb5)](_0x4e809c,_0x12763e(0xcd),()=>{const _0x2a395c=_0x12763e;this[_0x2a395c(0x85)](_0x4e809c,_0x2a395c(0xa1));}),this[_0x12763e(0x95)](_0x4e809c);const _0xab9592=this[_0x12763e(0x99)](_0x4e809c);if(_0xab9592)this[_0x12763e(0xd2)](_0xab9592,_0x4e809c)||this[_0x12763e(0x95)](_0x4e809c);else this[_0x12763e(0x95)](_0x4e809c);return this[_0x12763e(0x9e)](),this[_0x12763e(0x8e)][_0x12763e(0xc9)][_0x12763e(0xd7)](_0x4e809c),_0x4e809c;}[_0x311eba(0x88)](_0xc9de9a){const _0x3886fa=_0x311eba;if(!_0xc9de9a[_0x3886fa(0xc3)][_0x3886fa(0xca)])return;const _0x5a4521=this[_0x3886fa(0x99)](_0xc9de9a);if(!_0x5a4521)return;const _0x1b8d3e=this[_0x3886fa(0xa0)][_0x3886fa(0xb0)](_0x5a4521),_0x5940c9=this[_0x3886fa(0xd4)];_0x5940c9&&_0x5940c9===_0x1b8d3e?this[_0x3886fa(0xd2)](_0x5a4521,_0xc9de9a):this[_0x3886fa(0x8f)](_0xc9de9a,_0x5a4521);}[_0x311eba(0x9d)](_0x13a55f){const _0x1b5437=_0x311eba;if(!_0x13a55f[_0x1b5437(0xc3)][_0x1b5437(0xca)])return;const _0x38d63c=this[_0x1b5437(0x8c)](_0x13a55f);if(!_0x38d63c)return;const _0x1fad5a=this[_0x1b5437(0xa0)][_0x1b5437(0xb0)](_0x38d63c),_0x1bc2dd=this[_0x1b5437(0xa6)][_0x1b5437(0x90)][_0x1b5437(0xb0)](_0x1b5437(0xbb)),_0x1a58f5=this[_0x1b5437(0xd4)];_0x1a58f5&&_0x1a58f5===_0x1fad5a&&_0x1bc2dd?(this[_0x1b5437(0x8f)](_0x38d63c,_0x13a55f),this[_0x1b5437(0xd2)](_0x13a55f,_0x38d63c)):_0x1a58f5&&_0x1a58f5===_0x1fad5a?this[_0x1b5437(0x8f)](_0x38d63c,_0x13a55f):this[_0x1b5437(0xd2)](_0x13a55f,_0x38d63c);}[_0x311eba(0x85)](_0x30b515,_0x57e823){const _0xb6c212=_0x311eba;0x0===this[_0xb6c212(0x9a)][_0xb6c212(0xca)]&&setTimeout(()=>{const _0x5363ee=_0xb6c212;for(const {sidebarItemView:_0x135835,changedProp:_0x370551}of this[_0x5363ee(0x9a)])_0x5363ee(0xb7)===_0x370551?this[_0x5363ee(0x88)](_0x135835):this[_0x5363ee(0x9d)](_0x135835);this[_0x5363ee(0x9a)]=[];},0xa),this[_0xb6c212(0x9a)][_0xb6c212(0xda)]({'sidebarItemView':_0x30b515,'changedProp':_0x57e823});}[_0x311eba(0x9c)](_0x43a5c5){const _0x1a9a2b=_0x311eba;return this[_0x1a9a2b(0xa9)][_0x1a9a2b(0xb0)](_0x43a5c5);}[_0x311eba(0x9f)](){const _0x16929c=_0x311eba;this[_0x16929c(0xb3)](),this[_0x16929c(0x8e)][_0x16929c(0x9f)]();}[_0x311eba(0x91)](_0x79aab3){const _0x501af0=_0x311eba,_0x2edc22=this[_0x501af0(0x9c)](_0x79aab3);this[_0x501af0(0xb3)](_0x2edc22),this[_0x501af0(0xb3)](_0x79aab3[_0x501af0(0x8e)]),_0x2edc22[_0x501af0(0x9f)](),this[_0x501af0(0xa9)][_0x501af0(0xc5)](_0x79aab3),this[_0x501af0(0xa0)][_0x501af0(0xc5)](_0x2edc22);}[_0x311eba(0xb2)](){const _0x2bdaab=_0x311eba,_0x2b92b4=new _0x4e4f60(this[_0x2bdaab(0xa6)][_0x2bdaab(0xde)]);return _0x2b92b4[_0x2bdaab(0xbf)](),this['on'](_0x2bdaab(0xba),(_0x14f1ae,_0x4f1983,_0xd0c58c,_0x91513b)=>{const _0x3e760f=_0x2bdaab;_0x91513b&&_0x2b92b4[_0x3e760f(0x89)](_0x3e760f(0x94)),_0xd0c58c?_0x2b92b4[_0x3e760f(0xac)](_0x3e760f(0x94))['to'](_0xd0c58c,_0x3e760f(0xa1)):_0x2b92b4[_0x3e760f(0x94)]=null;}),_0x2b92b4;}[_0x311eba(0x9e)](){const _0x57d619=_0x311eba;this[_0x57d619(0x8d)]=this[_0x57d619(0xa7)]?.[_0x57d619(0xc6)]?this[_0x57d619(0x9c)](this[_0x57d619(0xa7)][_0x57d619(0xc6)]):null;}[_0x311eba(0x99)](_0x39d9f6){const _0x1fee06=_0x311eba,_0x309a0b=this[_0x1fee06(0xa0)][_0x1fee06(0xb0)](_0x39d9f6),_0x196c1f=_0x309a0b&&this[_0x1fee06(0xa7)]?.[_0x1fee06(0xb0)](this[_0x1fee06(0xa7)][_0x1fee06(0x93)](_0x309a0b)-0x1);return _0x196c1f&&this[_0x1fee06(0x9c)](_0x196c1f)||null;}[_0x311eba(0x8c)](_0x129566){const _0x1ab681=_0x311eba,_0x310c85=this[_0x1ab681(0xa0)][_0x1ab681(0xb0)](_0x129566),_0x15e08e=_0x310c85&&this[_0x1ab681(0xa7)]?.[_0x1ab681(0xb0)](this[_0x1ab681(0xa7)][_0x1ab681(0x93)](_0x310c85)+0x1);return _0x15e08e&&this[_0x1ab681(0x9c)](_0x15e08e)||null;}[_0x311eba(0x8f)](_0x379851,_0x3ac051){const _0x32d990=_0x311eba;_0x379851[_0x32d990(0xdb)]();const _0x64262f=R(_0x3ac051[_0x32d990(0xa1)]+this[_0x32d990(0xc2)],_0x379851[_0x32d990(0xb7)]);return!!_0x64262f&&(this[_0x32d990(0xbd)](_0x3ac051,_0x3ac051[_0x32d990(0xb7)]-_0x64262f),!0x0);}[_0x311eba(0xd2)](_0x40a816,_0x2ae977){const _0x210abd=_0x311eba;_0x40a816[_0x210abd(0xdb)]();const _0xc28a9a=R(_0x40a816[_0x210abd(0xa1)]+this[_0x210abd(0xc2)],_0x2ae977[_0x210abd(0xb7)]);return!!_0xc28a9a&&(this[_0x210abd(0xbd)](_0x2ae977,_0x2ae977[_0x210abd(0xb7)]+_0xc28a9a,!0x1),!0x0);}[_0x311eba(0x95)](_0x54b65e){const _0x43b06c=_0x311eba,_0x16f2f9=this[_0x43b06c(0xa0)][_0x43b06c(0xb0)](_0x54b65e);if(!_0x16f2f9||!_0x16f2f9[_0x43b06c(0x8b)]||!_0x16f2f9[_0x43b06c(0xdd)])return;const _0x43576f=this[_0x43b06c(0xb9)](_0x16f2f9,_0x16f2f9[_0x43b06c(0xdd)]);this[_0x43b06c(0xbd)](_0x54b65e,_0x43576f);}[_0x311eba(0xb9)](_0x5a21c8,_0x3140c2){const _0x4fefbb=_0x311eba;if(null===_0x3140c2)return 0x0;if(_0x5a21c8[_0x4fefbb(0x8b)]instanceof _0xb159a9)return _0x3140c2[_0x4fefbb(0xb7)];{const _0x2a3df7=new _0xb159a9(this[_0x4fefbb(0x8e)][_0x4fefbb(0xa5)])[_0x4fefbb(0xb7)];return _0x3140c2[_0x4fefbb(0xb7)]-_0x2a3df7;}}[_0x311eba(0xbd)](_0x25243d,_0x43c3a8,_0x2334f2=this[_0x311eba(0xa6)][_0x311eba(0x90)][_0x311eba(0xb0)](_0x311eba(0xbb))){const _0x24d04e=_0x311eba;_0x2334f2&&(_0x43c3a8=Math[_0x24d04e(0xc0)](_0x43c3a8,this[_0x24d04e(0x84)](_0x25243d))),_0x25243d[_0x24d04e(0xb7)]=_0x43c3a8;}[_0x311eba(0x84)](_0x5b1bc9){const _0x18f708=_0x311eba;let _0x406d33=this[_0x18f708(0x99)](_0x5b1bc9),_0xf9006b=0x0;for(;_0x406d33;)_0x406d33[_0x18f708(0xdb)](),_0xf9006b+=this[_0x18f708(0xc2)]+_0x406d33[_0x18f708(0xa8)],_0x406d33=this[_0x18f708(0x99)](_0x406d33);return _0xf9006b;}}function R(_0x23403e,_0x3c2a69){const _0xe19436=_0x311eba;return Math[_0xe19436(0xc0)](_0x23403e-_0x3c2a69,0x0);}function y(_0x3133dd){const _0x231d2d=_0x311eba;return null!==_0x3133dd&&_0x231d2d(0xa4)==typeof _0x3133dd&&0x1===_0x3133dd[_0x231d2d(0xcf)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5152(){const _0x380e3b=['3337377SkxRRQ','number','isDirty','7469UOOeBK','bind','3464368auKNtH','setTemplate','counterView','set','6761844fwcAHz','5976pBUVou','ck-annotation-counter','toString','32TEzgry','extendTemplate','_badge','children','icon','46hJatSX','23365240pGUHuZ','524455YMGkHc','bindTemplate','span','add','ck-annotation-counter__badge--edit-mode','19079EkZbCq','...','ck-annotation-counter__badge--','ck-annotation-counter__badge','annotationType'];_0x5152=function(){return _0x380e3b;};return _0x5152();}const _0x5c5293=_0x2eb9;function _0x2eb9(_0x5ac828,_0x2801e8){const _0x5152cf=_0x5152();return _0x2eb9=function(_0x2eb9ef,_0x5a3ea2){_0x2eb9ef=_0x2eb9ef-0xce;let _0x3404de=_0x5152cf[_0x2eb9ef];return _0x3404de;},_0x2eb9(_0x5ac828,_0x2801e8);}(function(_0x556bce,_0xb6f5e8){const _0xc681c1=_0x2eb9,_0x16deb5=_0x556bce();while(!![]){try{const _0x156bcc=parseInt(_0xc681c1(0xe8))/0x1*(parseInt(_0xc681c1(0xe1))/0x2)+parseInt(_0xc681c1(0xcf))/0x3+parseInt(_0xc681c1(0xdc))/0x4*(-parseInt(_0xc681c1(0xe3))/0x5)+-parseInt(_0xc681c1(0xd9))/0x6*(-parseInt(_0xc681c1(0xd2))/0x7)+parseInt(_0xc681c1(0xd4))/0x8+parseInt(_0xc681c1(0xd8))/0x9+-parseInt(_0xc681c1(0xe2))/0xa;if(_0x156bcc===_0xb6f5e8)break;else _0x16deb5['push'](_0x16deb5['shift']());}catch(_0x3180d3){_0x16deb5['push'](_0x16deb5['shift']());}}}(_0x5152,0x9807e));import{ButtonView as _0x3b9020,View as _0x31d6d4}from'ckeditor5/src/ui.js';import{IconAddComment as _0x55f124}from'ckeditor5/src/icons.js';export default class C extends _0x3b9020{[_0x5c5293(0xd6)];constructor(_0x3a72db){const _0x482749=_0x5c5293;super(_0x3a72db);const _0x125827=this[_0x482749(0xe4)];this[_0x482749(0xd7)](_0x482749(0xd1),!0x1),this[_0x482749(0xd7)](_0x482749(0xd0),0x0),this[_0x482749(0xd3)](_0x482749(0xde))['to'](this,_0x482749(0xd1),this,_0x482749(0xd0),(_0x515b38,_0x207ba9)=>_0x515b38?_0x482749(0xe9):_0x207ba9[_0x482749(0xdb)]()),this[_0x482749(0xd7)](_0x482749(0xce),''),this[_0x482749(0xe0)]=_0x55f124,this[_0x482749(0xdd)]({'attributes':{'class':[_0x482749(0xda)]}}),this[_0x482749(0xd6)]=new _0x31d6d4(),this[_0x482749(0xd6)][_0x482749(0xd5)]({'tag':_0x482749(0xe5),'attributes':{'class':[_0x482749(0xeb),_0x125827['to'](_0x482749(0xce),_0x982bed=>_0x482749(0xea)+_0x982bed),_0x125827['if'](_0x482749(0xd1),_0x482749(0xe7))]},'children':[{'text':_0x125827['to'](_0x482749(0xde))}]}),this[_0x482749(0xdf)][_0x482749(0xe6)](this[_0x482749(0xd6)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xf092b9=_0x3444;function _0x3444(_0x2d754b,_0x40ae9c){const _0x2eafda=_0x2eaf();return _0x3444=function(_0x3444c7,_0x1ab997){_0x3444c7=_0x3444c7-0x71;let _0x47a205=_0x2eafda[_0x3444c7];return _0x47a205;},_0x3444(_0x2d754b,_0x40ae9c);}(function(_0x55499c,_0x29cdf6){const _0x17238c=_0x3444,_0x20bf72=_0x55499c();while(!![]){try{const _0x3b96cd=parseInt(_0x17238c(0x99))/0x1*(parseInt(_0x17238c(0x7e))/0x2)+-parseInt(_0x17238c(0x98))/0x3*(-parseInt(_0x17238c(0x95))/0x4)+-parseInt(_0x17238c(0x8e))/0x5*(-parseInt(_0x17238c(0x93))/0x6)+-parseInt(_0x17238c(0x8b))/0x7*(-parseInt(_0x17238c(0x80))/0x8)+-parseInt(_0x17238c(0xa0))/0x9*(-parseInt(_0x17238c(0x96))/0xa)+-parseInt(_0x17238c(0x9e))/0xb*(parseInt(_0x17238c(0x79))/0xc)+-parseInt(_0x17238c(0x7b))/0xd;if(_0x3b96cd===_0x29cdf6)break;else _0x20bf72['push'](_0x20bf72['shift']());}catch(_0x5c865c){_0x20bf72['push'](_0x20bf72['shift']());}}}(_0x2eaf,0xc3b08));import{View as _0x13b174}from'ckeditor5/src/ui.js';import{FocusTracker as _0x328145,KeystrokeHandler as _0x30673b,uid as _0x574465}from'ckeditor5/src/utils.js';function _0x2eaf(){const _0x3f66d0=['12KIMiSD','isActive','8hhmURJ','40glSNyI','render','1867143VKoWFJ','54581hqNSny','targetRect','Esc','arrowup','height','33BbpEgs','_updateHeight','2843991UwopUT','bindTemplate','setTemplate','listenTo','div','clear','ck-annotation-wrapper','_mutationObserver','isDirty','first','focus','3988884Ogrsor','delegate','36588539OPDjjY','length','destroy','18rNmHCl','keystrokes','534680qfrtbF','detach','presentation','focusTracker','attach','set','ck-annotation-wrapper--active','createCollection','fire','clientHeight','type','35YeypRv','element','add','3197765KhKfjn','mainView','ck-rounded-corners','arrowdown','content'];_0x2eaf=function(){return _0x3f66d0;};return _0x2eaf();}import _0x48f665 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class S extends _0x13b174{[_0xf092b9(0x83)];['id'];[_0xf092b9(0x7f)];[_0xf092b9(0x92)];[_0xf092b9(0x8f)];[_0xf092b9(0x75)];constructor(_0x33ae07,_0x24c089){const _0x4d08b0=_0xf092b9;super(_0x33ae07),this['id']=_0x574465(),this[_0x4d08b0(0x83)]=new _0x328145(),this[_0x4d08b0(0x7f)]=new _0x30673b(),this[_0x4d08b0(0x7f)][_0x4d08b0(0x85)](_0x4d08b0(0x9b),(_0x3872ff,_0xbc3e28)=>this[_0x4d08b0(0x88)](_0x4d08b0(0x9b),_0xbc3e28)),this[_0x4d08b0(0x85)](_0x4d08b0(0x9a),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x4d08b0(0x85)](_0x4d08b0(0x9d),0x0),this[_0x4d08b0(0x85)](_0x4d08b0(0x94),!0x1),this[_0x4d08b0(0x85)](_0x4d08b0(0x76),!0x1),this[_0x4d08b0(0x85)](_0x4d08b0(0x7c),0x0),this[_0x4d08b0(0x85)](_0x4d08b0(0x8a),''),this[_0x4d08b0(0x75)]=_0x48f665(()=>this[_0x4d08b0(0x9f)]()),this[_0x4d08b0(0x92)]=this[_0x4d08b0(0x87)](),this[_0x4d08b0(0x92)][_0x4d08b0(0x7a)](_0x4d08b0(0x9c),_0x4d08b0(0x91))['to'](this),this[_0x4d08b0(0x92)][_0x4d08b0(0x8d)](_0x24c089),this[_0x4d08b0(0x8f)]=_0x24c089;const _0x3b2e2c=this[_0x4d08b0(0xa1)];this[_0x4d08b0(0xa2)]({'tag':_0x4d08b0(0x72),'attributes':{'class':['ck',_0x4d08b0(0x74),_0x4d08b0(0x90),_0x3b2e2c['if'](_0x4d08b0(0x94),_0x4d08b0(0x86))],'role':_0x4d08b0(0x82)},'children':this[_0x4d08b0(0x92)]});}[_0xf092b9(0x97)](){const _0x13e433=_0xf092b9;super[_0x13e433(0x97)](),this[_0x13e433(0x83)][_0x13e433(0x8d)](this[_0x13e433(0x8c)]),this[_0x13e433(0x7f)][_0x13e433(0x71)](this[_0x13e433(0x8c)]),this[_0x13e433(0x75)][_0x13e433(0x84)](this[_0x13e433(0x8c)]);}[_0xf092b9(0x7d)](){const _0x2cb49e=_0xf092b9;this[_0x2cb49e(0x92)][_0x2cb49e(0x73)](),this[_0x2cb49e(0x7f)][_0x2cb49e(0x7d)](),this[_0x2cb49e(0x83)][_0x2cb49e(0x7d)](),this[_0x2cb49e(0x75)][_0x2cb49e(0x81)](),super[_0x2cb49e(0x7d)]();}[_0xf092b9(0x78)](){const _0x349517=_0xf092b9;this[_0x349517(0x92)][_0x349517(0x77)]&&this[_0x349517(0x92)][_0x349517(0x77)][_0x349517(0x78)]();}[_0xf092b9(0x9f)](){const _0x36c38a=_0xf092b9,_0x497349=this[_0x36c38a(0x8c)][_0x36c38a(0x89)];_0x497349&&(this[_0x36c38a(0x9d)]=_0x497349);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b7772=_0xd91e;(function(_0x1b9780,_0x285a61){const _0x1c30da=_0xd91e,_0x47fdea=_0x1b9780();while(!![]){try{const _0x5ba9ce=parseInt(_0x1c30da(0x95))/0x1+parseInt(_0x1c30da(0x9d))/0x2*(parseInt(_0x1c30da(0x8e))/0x3)+parseInt(_0x1c30da(0x99))/0x4+-parseInt(_0x1c30da(0xb4))/0x5*(-parseInt(_0x1c30da(0xaa))/0x6)+-parseInt(_0x1c30da(0xaf))/0x7*(parseInt(_0x1c30da(0xae))/0x8)+parseInt(_0x1c30da(0xa1))/0x9+-parseInt(_0x1c30da(0xac))/0xa;if(_0x5ba9ce===_0x285a61)break;else _0x47fdea['push'](_0x47fdea['shift']());}catch(_0x5b2037){_0x47fdea['push'](_0x47fdea['shift']());}}}(_0x2822,0xe72f1));function _0xd91e(_0x6178c0,_0x411b93){const _0x28228a=_0x2822();return _0xd91e=function(_0xd91e0,_0x276b91){_0xd91e0=_0xd91e0-0x8e;let _0x17191a=_0x28228a[_0xd91e0];return _0x17191a;},_0xd91e(_0x6178c0,_0x411b93);}function _0x2822(){const _0x2d2e89=['bindTemplate','updateHeight','div','329867wVBlxf','element','first','ck-sidebar-item--no-animation','2918244QfaNTe','clear','_targetTop','setTemplate','38sbrrnR','isAnimationDisabled','delegate','arrowdown','353079gfMAkn','destroy','bind','attach','createCollection','presentation','set','bottom','focus','246uyYUNZ','arrowup','11016810HNHlpv','detach','2895928oEhiRN','7KKbiGp','top','content','render','clientHeight','147775Bsoann','15819XrNXyu','height','_mutationObserver','ck-sidebar-item'];_0x2822=function(){return _0x2d2e89;};return _0x2822();}import{View as _0x2ab396}from'ckeditor5/src/ui.js';import{toUnit as _0x47a4c8}from'ckeditor5/src/utils.js';import _0x3042bc from'../../utils/createmutationobserver.js';const Ht=_0x47a4c8('px');export default class H extends _0x2ab396{[_0x5b7772(0xb1)];[_0x5b7772(0x9b)];[_0x5b7772(0x90)];constructor(_0x36c3cd){const _0x44e359=_0x5b7772;super(_0x36c3cd),this[_0x44e359(0xa7)](_0x44e359(0xb0),0x0),this[_0x44e359(0xa7)](_0x44e359(0x8f),0x0),this[_0x44e359(0xa3)](_0x44e359(0xa8))['to'](this,_0x44e359(0xb0),this,_0x44e359(0x8f),(_0x2a3b0f,_0xb21037)=>_0x2a3b0f+_0xb21037),this[_0x44e359(0xa7)](_0x44e359(0x9e),!0x1),this[_0x44e359(0x90)]=_0x3042bc(()=>this[_0x44e359(0x93)]()),this[_0x44e359(0x9b)]=null,this[_0x44e359(0xb1)]=this[_0x44e359(0xa5)](),this[_0x44e359(0xb1)][_0x44e359(0x9f)](_0x44e359(0xab),_0x44e359(0xa0))['to'](this);const _0x498022=this[_0x44e359(0x92)];this[_0x44e359(0x9c)]({'tag':_0x44e359(0x94),'attributes':{'class':[_0x44e359(0x91),_0x498022['to'](_0x44e359(0x9e),_0x4c4da0=>_0x4c4da0?_0x44e359(0x98):'')],'style':{'top':_0x498022['to'](_0x44e359(0xb0),_0x428541=>Ht(_0x428541))},'role':_0x44e359(0xa6)},'children':this[_0x44e359(0xb1)]});}[_0x5b7772(0xb2)](){const _0x445277=_0x5b7772;super[_0x445277(0xb2)](),this[_0x445277(0x90)][_0x445277(0xa4)](this[_0x445277(0x96)]);}[_0x5b7772(0xa9)](){const _0xc0260=_0x5b7772;this[_0xc0260(0xb1)][_0xc0260(0x97)]&&this[_0xc0260(0xb1)][_0xc0260(0x97)][_0xc0260(0xa9)]();}[_0x5b7772(0x93)](){const _0x217ecc=_0x5b7772,_0x1bba73=this[_0x217ecc(0x96)][_0x217ecc(0xb3)];_0x1bba73&&(this[_0x217ecc(0x8f)]=_0x1bba73);}[_0x5b7772(0xa2)](){const _0x1d8965=_0x5b7772;this[_0x1d8965(0xb1)][_0x1d8965(0x9a)](),this[_0x1d8965(0x90)][_0x1d8965(0xad)](),super[_0x1d8965(0xa2)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x15d7(_0x3fc447,_0x2914a7){const _0x51ed61=_0x51ed();return _0x15d7=function(_0x15d712,_0x2e7129){_0x15d712=_0x15d712-0xec;let _0x116325=_0x51ed61[_0x15d712];return _0x116325;},_0x15d7(_0x3fc447,_0x2914a7);}const _0x347981=_0x15d7;(function(_0x2a6403,_0xcecffa){const _0x41578d=_0x15d7,_0x580724=_0x2a6403();while(!![]){try{const _0x4e691f=-parseInt(_0x41578d(0x106))/0x1+parseInt(_0x41578d(0x11c))/0x2*(parseInt(_0x41578d(0x101))/0x3)+parseInt(_0x41578d(0xee))/0x4+parseInt(_0x41578d(0x111))/0x5+parseInt(_0x41578d(0xfa))/0x6*(-parseInt(_0x41578d(0xf4))/0x7)+-parseInt(_0x41578d(0x102))/0x8+parseInt(_0x41578d(0xf1))/0x9;if(_0x4e691f===_0xcecffa)break;else _0x580724['push'](_0x580724['shift']());}catch(_0x5b401b){_0x580724['push'](_0x580724['shift']());}}}(_0x51ed,0x50c80));import{View as _0x524f6e,FocusCycler as _0x11e280}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2c262e,toUnit as _0x46ae7a}from'ckeditor5/src/utils.js';import{getTranslation as _0x2fac21}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ht=_0x46ae7a('px');function _0x51ed(){const _0x210522=['arrowup','div','_setupKeyboardNavigation','render','application','6528NmDJmb','change:top','focusables','focusTracker','removed','delegate','focusPrevious','501yrSnxL','4857616yVngiS','source','Annotations\x20sidebar','list','36102RApCwC','class','element','forEach','Annotations\x20list','ck-reset','ck-sidebar','uiLanguageDirection','arrowdown','minHeight','length','234215SVckHq','remove','_updateItemPositionInFocusables','number','top','createCollection','focus','focusNext','added','getIndex','listenTo','3150KEZkEo','focusCycler','set','setTemplate','2353160yVUKhN','change','focusFirst','5355018gueHgW','add','bindTemplate','3339wACwNg'];_0x51ed=function(){return _0x210522;};return _0x51ed();}export default class F extends _0x524f6e{[_0x347981(0x105)];[_0x347981(0xfc)];[_0x347981(0xfd)];[_0x347981(0x11d)];constructor(_0x147661){const _0x22389d=_0x347981;super(_0x147661);const _0x1c927b=this[_0x22389d(0xf3)];this[_0x22389d(0xec)](_0x22389d(0x10f),0x0),this[_0x22389d(0xec)](_0x22389d(0x107),''),this[_0x22389d(0x105)]=this[_0x22389d(0x116)](),this[_0x22389d(0xfc)]=this[_0x22389d(0x116)](),this[_0x22389d(0x105)][_0x22389d(0xff)](_0x22389d(0xf5),_0x22389d(0x10e))['to'](this),this[_0x22389d(0xfd)]=new _0x2c262e(),this[_0x22389d(0x11d)]=new _0x11e280({'focusables':this[_0x22389d(0xfc)],'focusTracker':this[_0x22389d(0xfd)]}),this[_0x22389d(0xed)]({'tag':_0x22389d(0xf6),'attributes':{'class':['ck',_0x22389d(0x10c),_0x22389d(0x10b),_0x1c927b['to'](_0x22389d(0x107))],'style':{'minHeight':_0x1c927b['to'](_0x22389d(0x10f),_0x5ed9ba=>_0x22389d(0x114)==typeof _0x5ed9ba?Ht(_0x5ed9ba+0xa):null)},'dir':_0x147661[_0x22389d(0x10d)],'role':_0x22389d(0xf9),'aria-label':_0x2fac21(_0x147661,_0x22389d(0x104)),'tabindex':0x0},'children':[{'tag':_0x22389d(0xf6),'attributes':{'role':_0x22389d(0x105),'aria-label':_0x2fac21(_0x147661,_0x22389d(0x10a))},'children':this[_0x22389d(0x105)]}]});}[_0x347981(0xf8)](){const _0x32f311=_0x347981;super[_0x32f311(0xf8)](),this[_0x32f311(0xf7)]();}[_0x347981(0x117)](){const _0x2ab6ef=_0x347981;this[_0x2ab6ef(0x11d)][_0x2ab6ef(0xf0)]();}[_0x347981(0xf7)](){const _0x199812=_0x347981;this[_0x199812(0x105)][_0x199812(0xff)](_0x199812(0xfb))['to'](this),this['on'](_0x199812(0xfb),_0x4e1f16=>{const _0x4dff4b=_0x199812;this[_0x4dff4b(0x113)](_0x4e1f16[_0x4dff4b(0x103)]);}),this[_0x199812(0x105)][_0x199812(0x109)](_0x9b507e=>{const _0x4f33bd=_0x199812;this[_0x4f33bd(0xfd)][_0x4f33bd(0xf2)](_0x9b507e[_0x4f33bd(0x108)]),this[_0x4f33bd(0x113)](_0x9b507e);}),this[_0x199812(0x105)]['on'](_0x199812(0xef),(_0xd085e9,_0x2d809f)=>{const _0x5c47ac=_0x199812;for(const _0x8f6e2 of _0x2d809f[_0x5c47ac(0xfe)])this[_0x5c47ac(0xfd)][_0x5c47ac(0x112)](_0x8f6e2[_0x5c47ac(0x108)]),this[_0x5c47ac(0xfc)][_0x5c47ac(0x112)](_0x8f6e2);for(const _0x10725b of _0x2d809f[_0x5c47ac(0x119)])this[_0x5c47ac(0xfd)][_0x5c47ac(0xf2)](_0x10725b[_0x5c47ac(0x108)]),this[_0x5c47ac(0x113)](_0x10725b);}),this['on'](_0x199812(0xf5),()=>{const _0xfa5294=_0x199812;this[_0xfa5294(0x11d)][_0xfa5294(0x100)]();}),this['on'](_0x199812(0x10e),()=>{const _0x54aad5=_0x199812;this[_0x54aad5(0x11d)][_0x54aad5(0x118)]();}),this[_0x199812(0x11b)](this[_0x199812(0x108)],_0x199812(0x117),()=>{const _0x3c903f=_0x199812;this[_0x3c903f(0x117)]();});}[_0x347981(0x113)](_0x1ce42b){const _0x57bb1d=_0x347981,_0x24eddf=this[_0x57bb1d(0xfc)][_0x57bb1d(0x11a)](_0x1ce42b);let _0x142e0f,_0x2c12ef;for(const _0x214c4c of this[_0x57bb1d(0xfc)])if(_0x1ce42b[_0x57bb1d(0x115)]<_0x214c4c[_0x57bb1d(0x115)]){_0x142e0f=_0x214c4c;break;}if(_0x2c12ef=_0x142e0f?this[_0x57bb1d(0xfc)][_0x57bb1d(0x11a)](_0x142e0f):this[_0x57bb1d(0xfc)][_0x57bb1d(0x110)],-0x1!==_0x24eddf){if(_0x24eddf===_0x2c12ef-0x1)return;this[_0x57bb1d(0xfc)][_0x57bb1d(0x112)](_0x1ce42b),_0x2c12ef=_0x142e0f?this[_0x57bb1d(0xfc)][_0x57bb1d(0x11a)](_0x142e0f):this[_0x57bb1d(0xfc)][_0x57bb1d(0x110)];}this[_0x57bb1d(0xfc)][_0x57bb1d(0xf2)](_0x1ce42b,_0x2c12ef);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1602(){const _0x10a748=['high','_annotations','remove','_refreshPositioningDebounced','container','add','isAttached','set','stopListening','switchTo','annotations','set:container','widesidebar-attach-already-attached','uiUpdate','1357810pNqloL','3050278xDJPVF','690852EEfImM','hasDomSelection','_integrateWithEditorAnnotations','destroy','resize','EditorAnnotations','has','_destroyEditorAnnotationsIntegration','editors','updateTargetRect','context','refreshPositioning','init','activeAnnotation','plugins','2121276fhgOeI','wideSidebar','856147ztByIj','rearrange','WideSidebar','addEventListener','stop','off','ck-sidebar--wide','addAnnotation','removeEventListener','widesidebar-detach-not-attached','from','get','isPremiumPlugin','_detachFromContainer','listenTo','_activeAnnotation','focus','register','detach','33ZJbjdc','cancel','refresh','1422KshzUc','setActiveAnnotation','change:container','attach','_attachToContainer','requires','blur','12qPZmQP','71768JUZnIm','188IYnZfS','getOrderedSelectedAnnotations','pluginName','_editorAnnotations','33130EfmNeq','ready','isOfficialPlugin'];_0x1602=function(){return _0x10a748;};return _0x1602();}function _0x3fea(_0x4f2266,_0x2fc868){const _0x1602cb=_0x1602();return _0x3fea=function(_0x3fead9,_0x9b4c61){_0x3fead9=_0x3fead9-0x13a;let _0x280ab0=_0x1602cb[_0x3fead9];return _0x280ab0;},_0x3fea(_0x4f2266,_0x2fc868);}const _0x456155=_0x3fea;(function(_0x3a5623,_0x3dc1db){const _0x23c94b=_0x3fea,_0x557133=_0x3a5623();while(!![]){try{const _0x3609f8=parseInt(_0x23c94b(0x16f))/0x1+-parseInt(_0x23c94b(0x16d))/0x2+-parseInt(_0x23c94b(0x15e))/0x3+parseInt(_0x23c94b(0x147))/0x4*(parseInt(_0x23c94b(0x14b))/0x5)+parseInt(_0x23c94b(0x145))/0x6*(-parseInt(_0x23c94b(0x15d))/0x7)+-parseInt(_0x23c94b(0x146))/0x8*(-parseInt(_0x23c94b(0x13e))/0x9)+-parseInt(_0x23c94b(0x15c))/0xa*(-parseInt(_0x23c94b(0x13b))/0xb);if(_0x3609f8===_0x3dc1db)break;else _0x557133['push'](_0x557133['shift']());}catch(_0x19d3c5){_0x557133['push'](_0x557133['shift']());}}}(_0x1602,0xca9cc));import{ContextPlugin as _0x3b1f6a,Context as _0x3bd7a6}from'ckeditor5/src/core.js';import _0x180920 from'./annotationsuis.js';import _0x475922 from'./sidebar.js';import{CKEditorError as _0x3f00b6,Collection as _0x4efd76}from'ckeditor5/src/utils.js';import{debounce as _0x372eee}from'es-toolkit/compat';export default class e extends _0x3b1f6a{[_0x456155(0x154)];[_0x456155(0x158)];[_0x456155(0x14a)];[_0x456155(0x151)];static get[_0x456155(0x143)](){return[_0x475922,_0x180920];}static get[_0x456155(0x149)](){const _0x2badb8=_0x456155;return _0x2badb8(0x171);}static get[_0x456155(0x14d)](){return!0x0;}static get[_0x456155(0x17b)](){return!0x0;}constructor(_0xe92457){const _0x208013=_0x456155;super(_0xe92457),this[_0x208013(0x154)]=!0x1,this[_0x208013(0x155)](_0x208013(0x16b),null),this[_0x208013(0x158)]=null,this[_0x208013(0x14a)]=new _0x4efd76(),this[_0x208013(0x151)]=_0x372eee(()=>{const _0x2b20a9=_0x208013;this[_0x2b20a9(0x158)][_0x2b20a9(0x169)]();},0xfa,{'leading':!0x1});}[_0x456155(0x16a)](){const _0x66431=_0x456155,_0x237f84=this[_0x66431(0x168)][_0x66431(0x16c)][_0x66431(0x17a)](_0x180920),_0x33fcea=this[_0x66431(0x168)][_0x66431(0x16c)][_0x66431(0x17a)](_0x475922);_0x237f84[_0x66431(0x180)](_0x66431(0x16e),this),_0x33fcea[_0x66431(0x152)]&&_0x237f84[_0x66431(0x157)](_0x66431(0x16e));}[_0x456155(0x13f)](_0x4e71d0){const _0x19ef61=_0x456155;if(_0x4e71d0===this[_0x19ef61(0x16b)])return;const _0x45c56e=this[_0x19ef61(0x168)][_0x19ef61(0x16c)][_0x19ef61(0x17a)](_0x475922);_0x45c56e[_0x19ef61(0x17e)]=_0x4e71d0;const _0x59af80=this[_0x19ef61(0x16b)];_0x45c56e[_0x19ef61(0x13d)]({'blurredAnnotation':_0x59af80,'activatedAnnotation':_0x4e71d0}),this[_0x19ef61(0x16b)]=_0x4e71d0;}[_0x456155(0x141)](_0x311ce6){const _0x20ed59=_0x456155;this[_0x20ed59(0x158)]=_0x311ce6;const _0x59e917=this[_0x20ed59(0x168)][_0x20ed59(0x16c)][_0x20ed59(0x17a)](_0x475922);if(_0x59e917[_0x20ed59(0x14f)]=_0x311ce6,this[_0x20ed59(0x154)])throw new _0x3f00b6(_0x20ed59(0x15a),this);this[_0x20ed59(0x154)]=!0x0,this[_0x20ed59(0x17d)](_0x59e917,_0x20ed59(0x159),()=>{const _0x170377=_0x20ed59;this[_0x170377(0x13a)](),this[_0x170377(0x17d)](_0x59e917,_0x170377(0x140),_0x17539c=>{const _0x56a98e=_0x170377;_0x17539c[_0x56a98e(0x174)](),this[_0x56a98e(0x141)](_0x311ce6);});}),_0x59e917[_0x20ed59(0x142)]({'viewClass':_0x20ed59(0x175)});const _0x19deaf=_0x2cbd42=>{const _0xd5cbca=_0x20ed59;_0x2cbd42[_0xd5cbca(0x167)](),_0x59e917[_0xd5cbca(0x176)](_0x2cbd42);};for(const _0x474e0f of _0x311ce6)_0x19deaf(_0x474e0f);this[_0x20ed59(0x17d)](_0x311ce6,_0x20ed59(0x153),(_0x562721,_0x2f5f88)=>{_0x19deaf(_0x2f5f88);}),this[_0x20ed59(0x17d)](_0x311ce6,_0x20ed59(0x150),(_0x53abbe,_0x30bc94,_0x5b02b8)=>{const _0x531172=_0x20ed59;_0x59e917[_0x531172(0x170)]({'removedAnnotation':_0x30bc94,'previousAnnotation':_0x311ce6[_0x531172(0x17a)](_0x5b02b8-0x1),'nextAnnotation':_0x311ce6[_0x531172(0x17a)](_0x5b02b8+0x1)}),_0x30bc94===this[_0x531172(0x16b)]&&this[_0x531172(0x13f)](null);},{'priority':_0x20ed59(0x14e)}),this[_0x20ed59(0x17d)](_0x311ce6,_0x20ed59(0x17f),(_0x4c9bd6,_0x5efc9b)=>{const _0x568636=_0x20ed59;this[_0x568636(0x13f)](_0x5efc9b);}),this[_0x20ed59(0x17d)](_0x311ce6,_0x20ed59(0x144),()=>{const _0x35682a=_0x20ed59;this[_0x35682a(0x13f)](null);});const _0xd6cf79=this[_0x20ed59(0x168)]instanceof _0x3bd7a6?this[_0x20ed59(0x168)][_0x20ed59(0x166)]:new _0x4efd76([this[_0x20ed59(0x168)]]);for(const _0x260d76 of _0xd6cf79)this[_0x20ed59(0x160)](_0x260d76);this[_0x20ed59(0x17d)](_0xd6cf79,_0x20ed59(0x153),(_0x36dc7b,_0x45e36c)=>{const _0x4583bb=_0x20ed59;this[_0x4583bb(0x17d)](_0x45e36c,_0x4583bb(0x14c),()=>{const _0x1629f6=_0x4583bb;this[_0x1629f6(0x160)](_0x45e36c);});}),this[_0x20ed59(0x17d)](_0xd6cf79,_0x20ed59(0x150),(_0x40e3ca,_0x52603b)=>{const _0x145a2b=_0x20ed59;_0x52603b[_0x145a2b(0x16c)][_0x145a2b(0x164)](_0x145a2b(0x163))&&this[_0x145a2b(0x165)](_0x52603b[_0x145a2b(0x16c)][_0x145a2b(0x17a)](_0x145a2b(0x163)));}),window[_0x20ed59(0x172)](_0x20ed59(0x162),this[_0x20ed59(0x151)]),this[_0x20ed59(0x158)][_0x20ed59(0x169)]();}[_0x456155(0x13a)](){const _0x4c9f27=_0x456155;if(!this[_0x4c9f27(0x154)])throw new _0x3f00b6(_0x4c9f27(0x178),this);this[_0x4c9f27(0x13f)](null);const _0x27a2dc=this[_0x4c9f27(0x168)][_0x4c9f27(0x16c)][_0x4c9f27(0x17a)](_0x475922);_0x27a2dc[_0x4c9f27(0x17c)](this[_0x4c9f27(0x158)]),this[_0x4c9f27(0x156)](_0x27a2dc),this[_0x4c9f27(0x156)](this[_0x4c9f27(0x158)]),this[_0x4c9f27(0x168)]instanceof _0x3bd7a6&&this[_0x4c9f27(0x156)](this[_0x4c9f27(0x168)][_0x4c9f27(0x166)]);for(const _0x13e790 of Array[_0x4c9f27(0x179)](this[_0x4c9f27(0x14a)]))this[_0x4c9f27(0x165)](_0x13e790);window[_0x4c9f27(0x177)](_0x4c9f27(0x162),this[_0x4c9f27(0x151)]),this[_0x4c9f27(0x151)][_0x4c9f27(0x13c)](),this[_0x4c9f27(0x16b)]=null,this[_0x4c9f27(0x154)]=!0x1,this[_0x4c9f27(0x158)]=null;}[_0x456155(0x161)](){const _0x3610c5=_0x456155;this[_0x3610c5(0x154)]&&this[_0x3610c5(0x13a)]();}[_0x456155(0x160)](_0x2c1579){const _0x5ebfa7=_0x456155;if(!_0x2c1579[_0x5ebfa7(0x16c)][_0x5ebfa7(0x164)](_0x5ebfa7(0x163)))return;const _0x4fac90=_0x2c1579[_0x5ebfa7(0x16c)][_0x5ebfa7(0x17a)](_0x5ebfa7(0x163)),_0x1f18ba=()=>{const _0x25764f=_0x5ebfa7,_0x3a01ac=_0x4fac90[_0x25764f(0x148)]({'annotations':this[_0x25764f(0x158)],'activeAnnotation':this[_0x25764f(0x16b)]});this[_0x25764f(0x13f)](_0x3a01ac[0x0]||null);};this[_0x5ebfa7(0x17d)](_0x4fac90,_0x5ebfa7(0x13d),_0x1f18ba),this[_0x5ebfa7(0x17d)](_0x4fac90,_0x5ebfa7(0x144),(_0x2f8eeb,{isAnnotationTracked:_0x234223})=>{const _0x1aaaae=_0x5ebfa7;this[_0x1aaaae(0x16b)]&&_0x234223(this[_0x1aaaae(0x16b)])&&this[_0x1aaaae(0x13f)](null);}),this[_0x5ebfa7(0x17d)](_0x4fac90,_0x5ebfa7(0x15b),()=>{const _0x105eb1=_0x5ebfa7;this[_0x105eb1(0x151)]();}),this[_0x5ebfa7(0x17d)](this[_0x5ebfa7(0x158)],_0x5ebfa7(0x144),_0x26740c=>{const _0x5a3ac0=_0x5ebfa7;_0x4fac90[_0x5a3ac0(0x15f)]()&&(_0x1f18ba(),_0x26740c[_0x5a3ac0(0x173)]());},{'priority':_0x5ebfa7(0x14e)}),this[_0x5ebfa7(0x14a)][_0x5ebfa7(0x153)](_0x4fac90);}[_0x456155(0x165)](_0x395907){const _0x2d571d=_0x456155;this[_0x2d571d(0x156)](_0x395907),this[_0x2d571d(0x14a)][_0x2d571d(0x150)](_0x395907);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1e8f(){const _0x42b991=['getLastMatchingPosition','backward','editor','start','431654Btzpca','selection','schema','$textProxy','item','element','substr','execute','document','getRanges','12695490iwefKE','isEnabled','13242RYlcus','refresh','change','createRange','comment:','model','_itemIsContent','1592992fwQRQD','_hasContent','isObject','end','96KDBPPW','getItems','13993540rIOzHE','2RquvAp','45bvUPwO','6734196ZowanR','tableCell','addMarker','push','619722zcagKw','_trimToContent'];_0x1e8f=function(){return _0x42b991;};return _0x1e8f();}const _0x1e0981=_0x1192;(function(_0x2c0cd4,_0x2e2c50){const _0x3d338b=_0x1192,_0x417328=_0x2c0cd4();while(!![]){try{const _0x3fd321=-parseInt(_0x3d338b(0x174))/0x1*(-parseInt(_0x3d338b(0x180))/0x2)+parseInt(_0x3d338b(0x18c))/0x3*(parseInt(_0x3d338b(0x171))/0x4)+parseInt(_0x3d338b(0x175))/0x5*(parseInt(_0x3d338b(0x17a))/0x6)+-parseInt(_0x3d338b(0x176))/0x7+parseInt(_0x3d338b(0x16d))/0x8+parseInt(_0x3d338b(0x18a))/0x9+-parseInt(_0x3d338b(0x173))/0xa;if(_0x3fd321===_0x2e2c50)break;else _0x417328['push'](_0x417328['shift']());}catch(_0x117ccd){_0x417328['push'](_0x417328['shift']());}}}(_0x1e8f,0xaeb05));function _0x1192(_0x298b47,_0x81a586){const _0x1e8f7a=_0x1e8f();return _0x1192=function(_0x11920c,_0x3364c0){_0x11920c=_0x11920c-0x168;let _0x437ccf=_0x1e8f7a[_0x11920c];return _0x437ccf;},_0x1192(_0x298b47,_0x81a586);}import{Command as _0x3dd905}from'ckeditor5/src/core.js';import{uid as _0x42e622}from'ckeditor5/src/utils.js';export default class J extends _0x3dd905{[_0x1e0981(0x18d)](){const _0x3ce734=_0x1e0981,_0x43b816=this[_0x3ce734(0x17e)][_0x3ce734(0x16b)][_0x3ce734(0x188)][_0x3ce734(0x181)];for(const _0xe5a88 of _0x43b816[_0x3ce734(0x189)]())if(this[_0x3ce734(0x16e)](_0xe5a88))return void(this[_0x3ce734(0x18b)]=!0x0);this[_0x3ce734(0x18b)]=!0x1;}[_0x1e0981(0x187)]({threadId:_0x583b1c=_0x42e622()}={}){const _0xbf6f74=_0x1e0981,_0x17a8df=this[_0xbf6f74(0x17e)][_0xbf6f74(0x16b)],_0x327245=[];for(const _0x3fa6f2 of _0x17a8df[_0xbf6f74(0x188)][_0xbf6f74(0x181)][_0xbf6f74(0x189)]())this[_0xbf6f74(0x16e)](_0x3fa6f2)&&_0x327245[_0xbf6f74(0x179)](this[_0xbf6f74(0x17b)](_0x3fa6f2));_0x17a8df[_0xbf6f74(0x168)](_0x5581eb=>{const _0x1ea161=_0xbf6f74;for(const _0x56e8de of _0x327245){const _0x15876a=_0x42e622()[_0x1ea161(0x186)](0x1,0x5),_0xc2d553=_0x1ea161(0x16a)+_0x583b1c+':'+_0x15876a;_0x5581eb[_0x1ea161(0x178)](_0xc2d553,{'range':_0x56e8de,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x1e0981(0x16e)](_0xb2a8f7){const _0x133abe=_0x1e0981;for(const _0x551862 of _0xb2a8f7[_0x133abe(0x172)]())if(this[_0x133abe(0x16c)](_0x551862))return!0x0;return!0x1;}[_0x1e0981(0x16c)](_0x2b272c){const _0x48da54=_0x1e0981;return _0x2b272c['is'](_0x48da54(0x183))||this[_0x48da54(0x17e)][_0x48da54(0x16b)][_0x48da54(0x182)][_0x48da54(0x16f)](_0x2b272c)&&!_0x2b272c['is'](_0x48da54(0x185),_0x48da54(0x177));}[_0x1e0981(0x17b)](_0x2e23d8){const _0x140505=_0x1e0981,_0x26cc2d=_0x392ffc=>!this[_0x140505(0x16c)](_0x392ffc[_0x140505(0x184)]),_0x2951c6=_0x2e23d8[_0x140505(0x17f)][_0x140505(0x17c)](_0x26cc2d),_0x84706f=_0x2e23d8[_0x140505(0x170)][_0x140505(0x17c)](_0x26cc2d,{'direction':_0x140505(0x17d)});return this[_0x140505(0x17e)][_0x140505(0x16b)][_0x140505(0x169)](_0x2951c6,_0x84706f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x565798=_0x28f0;(function(_0x12e521,_0x397575){const _0x33c8c3=_0x28f0,_0x387aba=_0x12e521();while(!![]){try{const _0x33cb42=parseInt(_0x33c8c3(0x1fe))/0x1+-parseInt(_0x33c8c3(0x204))/0x2*(-parseInt(_0x33c8c3(0x1f4))/0x3)+-parseInt(_0x33c8c3(0x214))/0x4*(parseInt(_0x33c8c3(0x209))/0x5)+-parseInt(_0x33c8c3(0x205))/0x6*(-parseInt(_0x33c8c3(0x203))/0x7)+-parseInt(_0x33c8c3(0x1ff))/0x8+-parseInt(_0x33c8c3(0x1f3))/0x9*(parseInt(_0x33c8c3(0x20f))/0xa)+-parseInt(_0x33c8c3(0x20e))/0xb*(-parseInt(_0x33c8c3(0x216))/0xc);if(_0x33cb42===_0x397575)break;else _0x387aba['push'](_0x387aba['shift']());}catch(_0x1718d0){_0x387aba['push'](_0x387aba['shift']());}}}(_0x2764,0x36fb1));import{ContextPlugin as _0x5f1342}from'ckeditor5/src/core.js';function _0x28f0(_0x37eafe,_0x19e597){const _0x276499=_0x2764();return _0x28f0=function(_0x28f0f4,_0x31d83e){_0x28f0f4=_0x28f0f4-0x1f1;let _0x12c04c=_0x276499[_0x28f0f4];return _0x12c04c;},_0x28f0(_0x37eafe,_0x19e597);}import{Collection as _0x49424b}from'ckeditor5/src/utils.js';import _0x1133a1 from'./commentsrepository.js';import _0x1f9a1e from'../annotations/annotations.js';function _0x2764(){const _0x5c3af8=['collection','change:archivedAt','28167UzLbzx','3303720kqeniQ','findIndex','getCommentThread','add','7JNeDtq','18MYCMOl','2683074jfgshI','archivedThreads','context','stopListening','90ZPMgYi','removeCommentThread','remove','length','isActive','22YUwjNT','1530hrqUGQ','activate','listenTo','has','focus','29092eYcnfH','CommentsArchive','3634908SGzGBA','isVisible','addCommentThread','plugins','isOfficialPlugin','get','20214CRbiLV','10518NNsdlk','archivedAt','pluginName','highest','isPremiumPlugin','init','requires','_calculatePosition'];_0x2764=function(){return _0x5c3af8;};return _0x2764();}export default class f extends _0x5f1342{static get[_0x565798(0x1f6)](){const _0x5e10f5=_0x565798;return _0x5e10f5(0x215);}static get[_0x565798(0x1f1)](){return!0x0;}static get[_0x565798(0x1f8)](){return!0x0;}static get[_0x565798(0x1fa)](){return[_0x1133a1,_0x1f9a1e];}constructor(_0x23a5ce){const _0x589e71=_0x565798;super(_0x23a5ce),this[_0x589e71(0x206)]=new _0x49424b();}[_0x565798(0x1f9)](){const _0x29f738=_0x565798,_0x3b20b2=this[_0x29f738(0x207)],_0x30c5c0=_0x3b20b2[_0x29f738(0x219)][_0x29f738(0x1f2)](_0x1133a1),_0x262de3=_0x3b20b2[_0x29f738(0x219)][_0x29f738(0x1f2)](_0x1f9a1e);this[_0x29f738(0x211)](_0x30c5c0,_0x29f738(0x218),(_0x5a596d,{threadId:_0x13df61})=>{const _0x2804e8=_0x29f738,_0x1c77cd=_0x30c5c0[_0x2804e8(0x201)](_0x13df61);_0x1c77cd[_0x2804e8(0x1f5)]&&this[_0x2804e8(0x206)][_0x2804e8(0x202)](_0x1c77cd,this[_0x2804e8(0x1fb)](_0x1c77cd[_0x2804e8(0x1f5)])),this[_0x2804e8(0x211)](_0x1c77cd,_0x2804e8(0x1fd),(_0x153c13,_0x5a0855,_0x2f0ff7)=>{const _0x278ca1=_0x2804e8;_0x2f0ff7?this[_0x278ca1(0x206)][_0x278ca1(0x212)](_0x1c77cd)||this[_0x278ca1(0x206)][_0x278ca1(0x202)](_0x1c77cd,this[_0x278ca1(0x1fb)](_0x1c77cd[_0x278ca1(0x1f5)])):this[_0x278ca1(0x206)][_0x278ca1(0x212)](_0x1c77cd)&&this[_0x278ca1(0x206)][_0x278ca1(0x20b)](_0x1c77cd);});}),this[_0x29f738(0x211)](_0x30c5c0,_0x29f738(0x20a),(_0x158c60,{threadId:_0xdd326c})=>{const _0x1d6424=_0x29f738,_0x3b7c20=_0x30c5c0[_0x1d6424(0x201)](_0xdd326c);this[_0x1d6424(0x208)](_0x3b7c20),this[_0x1d6424(0x206)][_0x1d6424(0x212)](_0x3b7c20)&&this[_0x1d6424(0x206)][_0x1d6424(0x20b)](_0x3b7c20);},{'priority':_0x29f738(0x1f7)}),this[_0x29f738(0x211)](_0x262de3[_0x29f738(0x1fc)],_0x29f738(0x213),(_0x53c903,_0x17029d)=>{const _0x558936=_0x29f738;_0x17029d[_0x558936(0x217)]||(_0x17029d[_0x558936(0x20d)]=!0x0,_0x262de3[_0x558936(0x210)](_0x17029d));});}[_0x565798(0x1fb)](_0x397dea){const _0x1b648f=_0x565798,_0x3ee610=[...this[_0x1b648f(0x206)]][_0x1b648f(0x200)](_0x186443=>_0x186443[_0x1b648f(0x1f5)]<_0x397dea);return _0x3ee610>-0x1?_0x3ee610:this[_0x1b648f(0x206)][_0x1b648f(0x20c)];}}
|