@ckeditor/ckeditor5-comments 0.0.0-nightly-20241115.0 → 0.0.0-nightly-20241117.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +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/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +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/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x25895a=_0x3552;function _0x5b2b(){const _0x1ea538=['define','sidebar.container','isOfficialPlugin','destroy','_recalculateBuffer','_alignForBottomChange','6AgwOBP','5511015CWAuaX','sidebar.preventScrollOutOfView','isActive','_recalculate','object','sidebar-setcontainer-invalid-element','change:bottom','class','target','minHeight','remove','_alignAfterItem','_annotations','bottom','last','container','context','config','length','_detachFromContainer','max','_targetTop','refresh','change:top','change:_lastItem','21JBQSnm','1967072oQxOfS','change:targetRect','element','_activeAnnotation','stopListening','listenTo','_destroySidebarItemView','getSidebarItemView','nodeType','_annotationToSidebarItemView','_getItemAfter','setContainer','render','addAnnotation','3798588eCrIqz','_setItemTop','_sidebarItemViewToAnnotation','locale','_alignForTopChange','bind','1344280UZxLiF','updateHeight','_lastItem','_getTargetTop','add','appendChild','top','pluginName','targetRect','push','delete','height','list','init','view','_updateLastItem','get','unbind','3041135bZlxzG','rearrange','_getMaxAvailableTop','_createSidebarView','clear','Sidebar','getIndex','content','_alignBeforeItem','_alignToTargetRect','335950zmmFgv','_attachToContainer','isPremiumPlugin','isAnimationDisabled','set','1129687UvHipf','_spaceBetweenItems','_getItemBefore','sidebar-attachtocontainer-missing-container'];_0x5b2b=function(){return _0x1ea538;};return _0x5b2b();}function _0x3552(_0x565820,_0x305527){const _0x5b2bf9=_0x5b2b();return _0x3552=function(_0x355284,_0x53ff99){_0x355284=_0x355284-0x1e8;let _0x25cf24=_0x5b2bf9[_0x355284];return _0x25cf24;},_0x3552(_0x565820,_0x305527);}(function(_0x971ef4,_0x2e13a4){const _0x11e49a=_0x3552,_0x3496f3=_0x971ef4();while(!![]){try{const _0x3a66b6=parseInt(_0x11e49a(0x240))/0x1+-parseInt(_0x11e49a(0x23b))/0x2*(-parseInt(_0x11e49a(0x1f0))/0x3)+parseInt(_0x11e49a(0x20b))/0x4+-parseInt(_0x11e49a(0x231))/0x5+-parseInt(_0x11e49a(0x219))/0x6+-parseInt(_0x11e49a(0x20a))/0x7*(-parseInt(_0x11e49a(0x21f))/0x8)+-parseInt(_0x11e49a(0x1f1))/0x9;if(_0x3a66b6===_0x2e13a4)break;else _0x3496f3['push'](_0x3496f3['shift']());}catch(_0x39076a){_0x3496f3['push'](_0x3496f3['shift']());}}}(_0x5b2b,0x9466a));import{ContextPlugin as _0x3f2745}from'ckeditor5/src/core.js';import{Rect as _0x3d96b3,CKEditorError as _0x2c11cb}from'ckeditor5/src/utils.js';import _0x40bbf5 from'./view/sidebarview.js';import _0x7ef858 from'./view/sidebaritemview.js';export default class z extends _0x3f2745{static get[_0x25895a(0x226)](){const _0x56b011=_0x25895a;return _0x56b011(0x236);}static get[_0x25895a(0x1ec)](){return!0x0;}static get[_0x25895a(0x23d)](){return!0x0;}constructor(_0x4f5198){const _0x3f65cd=_0x25895a;super(_0x4f5198),this[_0x3f65cd(0x23f)](_0x3f65cd(0x221),void 0x0),this[_0x3f65cd(0x22d)]=this[_0x3f65cd(0x234)](),this[_0x3f65cd(0x23f)](_0x3f65cd(0x200),null),this[_0x3f65cd(0x241)]=0x19,this[_0x3f65cd(0x21b)]=new Map(),this[_0x3f65cd(0x214)]=new Map(),this[_0x3f65cd(0x201)][_0x3f65cd(0x202)][_0x3f65cd(0x1ea)](_0x3f65cd(0x1f2),!0x1),this[_0x3f65cd(0x1fd)]=null,this[_0x3f65cd(0x20e)]=null,this[_0x3f65cd(0x1ee)]=[];}[_0x25895a(0x22c)](){const _0x8a7f6f=_0x25895a,_0x1fed17=this[_0x8a7f6f(0x201)][_0x8a7f6f(0x202)][_0x8a7f6f(0x22f)](_0x8a7f6f(0x1eb));_0x1fed17&&this[_0x8a7f6f(0x216)](_0x1fed17);}[_0x25895a(0x216)](_0x3dcdb4){const _0x16f61d=_0x25895a;if(!y(_0x3dcdb4))throw new _0x2c11cb(_0x16f61d(0x1f6));this[_0x16f61d(0x200)]=_0x3dcdb4;}[_0x25895a(0x23c)]({viewClass:_0x18e537='',spaceBetweenItems:_0x502c7f=0x19}={}){const _0x1fdc4c=_0x25895a;if(!y(this[_0x1fdc4c(0x200)]))throw new _0x2c11cb(_0x1fdc4c(0x1e9),this);this[_0x1fdc4c(0x200)][_0x1fdc4c(0x224)](this[_0x1fdc4c(0x22d)][_0x1fdc4c(0x20d)]),this[_0x1fdc4c(0x22d)][_0x1fdc4c(0x1f8)]=_0x18e537,this[_0x1fdc4c(0x241)]=_0x502c7f;}[_0x25895a(0x232)]({removedAnnotation:_0x4c165f,previousAnnotation:_0x3bf535,nextAnnotation:_0x1f0797}){const _0x13169c=_0x25895a,_0x428221=this[_0x13169c(0x212)](_0x4c165f);this[_0x13169c(0x22d)][_0x13169c(0x22b)][_0x13169c(0x1fb)](_0x428221),this[_0x13169c(0x211)](_0x4c165f),_0x3bf535&&this[_0x13169c(0x23a)](this[_0x13169c(0x212)](_0x3bf535)),_0x1f0797&&this[_0x13169c(0x23a)](this[_0x13169c(0x212)](_0x1f0797)),this[_0x13169c(0x22e)]();}[_0x25895a(0x207)]({blurredAnnotation:_0x5c806b,activatedAnnotation:_0x247aee,disableAnimationOnActivatedAnnotation:_0x358610}){const _0x3334a9=_0x25895a;if(this[_0x3334a9(0x20e)]=_0x247aee,_0x5c806b){_0x5c806b[_0x3334a9(0x1f3)]=!0x1;const _0x396e8f=this[_0x3334a9(0x212)](_0x5c806b);_0x396e8f&&_0x358610&&(_0x396e8f[_0x3334a9(0x23e)]=!0x1);}if(_0x247aee){const _0x3017c0=this[_0x3334a9(0x212)](_0x247aee);_0x3017c0&&(_0x247aee[_0x3334a9(0x1f3)]=!0x0,_0x358610&&(_0x3017c0[_0x3334a9(0x23e)]=!0x0,_0x3017c0[_0x3334a9(0x225)]+=0x1),this[_0x3334a9(0x23a)](_0x3017c0));}}[_0x25895a(0x204)](_0x41565a){const _0x38e23d=_0x25895a;if(this[_0x38e23d(0x22d)][_0x38e23d(0x20d)][_0x38e23d(0x1fb)](),_0x41565a){for(const _0x25c4be of _0x41565a)this[_0x38e23d(0x211)](_0x25c4be);}this[_0x38e23d(0x22d)][_0x38e23d(0x22b)][_0x38e23d(0x235)](),this[_0x38e23d(0x22d)][_0x38e23d(0x1f8)]='',this[_0x38e23d(0x221)]=null;}[_0x25895a(0x218)](_0x27ce06,_0x3aca8d){const _0x5ba107=_0x25895a;_0x3aca8d||(_0x3aca8d=_0x27ce06[_0x5ba107(0x22d)]);const _0x47500b=new _0x7ef858(this[_0x5ba107(0x201)][_0x5ba107(0x21c)]);this[_0x5ba107(0x21b)][_0x5ba107(0x23f)](_0x47500b,_0x27ce06),this[_0x5ba107(0x214)][_0x5ba107(0x23f)](_0x27ce06,_0x47500b),_0x47500b[_0x5ba107(0x238)][_0x5ba107(0x223)](_0x3aca8d),this[_0x5ba107(0x210)](_0x27ce06[_0x5ba107(0x22d)],_0x5ba107(0x20c),(_0x86246a,_0x993df0,_0x14f0a2)=>{const _0x5726b7=_0x5ba107,_0x4f86fb=this[_0x5726b7(0x222)](_0x27ce06,_0x14f0a2);_0x47500b[_0x5726b7(0x206)]!=_0x4f86fb&&(_0x47500b[_0x5726b7(0x206)]=_0x4f86fb,this[_0x5726b7(0x21a)](_0x47500b,_0x4f86fb));}),this[_0x5ba107(0x210)](_0x47500b,_0x5ba107(0x208),()=>{const _0x52f8e2=_0x5ba107;this[_0x52f8e2(0x1f4)](_0x47500b,_0x52f8e2(0x225));}),this[_0x5ba107(0x210)](_0x47500b,_0x5ba107(0x1f7),()=>{const _0x3edc76=_0x5ba107;this[_0x3edc76(0x1f4)](_0x47500b,_0x3edc76(0x1fe));}),this[_0x5ba107(0x23a)](_0x47500b);const _0x256864=this[_0x5ba107(0x1e8)](_0x47500b);if(_0x256864)this[_0x5ba107(0x1fc)](_0x256864,_0x47500b)||this[_0x5ba107(0x23a)](_0x47500b);else this[_0x5ba107(0x23a)](_0x47500b);return this[_0x5ba107(0x22e)](),this[_0x5ba107(0x22d)][_0x5ba107(0x22b)][_0x5ba107(0x223)](_0x47500b),_0x47500b;}[_0x25895a(0x21d)](_0x383047){const _0x44ea75=_0x25895a;if(!_0x383047[_0x44ea75(0x238)][_0x44ea75(0x203)])return;const _0x10ae7d=this[_0x44ea75(0x1e8)](_0x383047);if(!_0x10ae7d)return;const _0x302aa0=this[_0x44ea75(0x21b)][_0x44ea75(0x22f)](_0x10ae7d),_0x1122ca=this[_0x44ea75(0x20e)];_0x1122ca&&_0x1122ca===_0x302aa0?this[_0x44ea75(0x1fc)](_0x10ae7d,_0x383047):this[_0x44ea75(0x239)](_0x383047,_0x10ae7d);}[_0x25895a(0x1ef)](_0x398a79){const _0x528472=_0x25895a;if(!_0x398a79[_0x528472(0x238)][_0x528472(0x203)])return;const _0x8137b9=this[_0x528472(0x215)](_0x398a79);if(!_0x8137b9)return;const _0x238e81=this[_0x528472(0x21b)][_0x528472(0x22f)](_0x8137b9),_0x1f372e=this[_0x528472(0x201)][_0x528472(0x202)][_0x528472(0x22f)](_0x528472(0x1f2)),_0x5cf8fb=this[_0x528472(0x20e)];_0x5cf8fb&&_0x5cf8fb===_0x238e81&&_0x1f372e?(this[_0x528472(0x239)](_0x8137b9,_0x398a79),this[_0x528472(0x1fc)](_0x398a79,_0x8137b9)):_0x5cf8fb&&_0x5cf8fb===_0x238e81?this[_0x528472(0x239)](_0x8137b9,_0x398a79):this[_0x528472(0x1fc)](_0x398a79,_0x8137b9);}[_0x25895a(0x1f4)](_0x49bd3c,_0x310717){const _0x507a6c=_0x25895a;0x0===this[_0x507a6c(0x1ee)][_0x507a6c(0x203)]&&setTimeout(()=>{const _0x2f26d6=_0x507a6c;for(const {sidebarItemView:_0x56b6e8,changedProp:_0x2c535c}of this[_0x2f26d6(0x1ee)])_0x2f26d6(0x225)===_0x2c535c?this[_0x2f26d6(0x21d)](_0x56b6e8):this[_0x2f26d6(0x1ef)](_0x56b6e8);this[_0x2f26d6(0x1ee)]=[];},0xa),this[_0x507a6c(0x1ee)][_0x507a6c(0x228)]({'sidebarItemView':_0x49bd3c,'changedProp':_0x310717});}[_0x25895a(0x212)](_0x1a6663){const _0x1ab542=_0x25895a;return this[_0x1ab542(0x214)][_0x1ab542(0x22f)](_0x1a6663);}[_0x25895a(0x1ed)](){const _0x3bf629=_0x25895a;this[_0x3bf629(0x20f)](),this[_0x3bf629(0x22d)][_0x3bf629(0x1ed)]();}[_0x25895a(0x211)](_0x212026){const _0xfeb911=_0x25895a,_0x2df830=this[_0xfeb911(0x212)](_0x212026);this[_0xfeb911(0x20f)](_0x2df830),this[_0xfeb911(0x20f)](_0x212026[_0xfeb911(0x22d)]),_0x2df830[_0xfeb911(0x1ed)](),this[_0xfeb911(0x214)][_0xfeb911(0x229)](_0x212026),this[_0xfeb911(0x21b)][_0xfeb911(0x229)](_0x2df830);}[_0x25895a(0x234)](){const _0x1f9eae=_0x25895a,_0x302f44=new _0x40bbf5(this[_0x1f9eae(0x201)][_0x1f9eae(0x21c)]);return _0x302f44[_0x1f9eae(0x217)](),this['on'](_0x1f9eae(0x209),(_0x12e2b4,_0x1c8302,_0x599c2e,_0x46dcba)=>{const _0xa08c57=_0x1f9eae;_0x46dcba&&_0x302f44[_0xa08c57(0x230)](_0xa08c57(0x1fa)),_0x599c2e?_0x302f44[_0xa08c57(0x21e)](_0xa08c57(0x1fa))['to'](_0x599c2e,_0xa08c57(0x1fe)):_0x302f44[_0xa08c57(0x1fa)]=null;}),_0x302f44;}[_0x25895a(0x22e)](){const _0xcda319=_0x25895a;var _0x40913d;this[_0xcda319(0x221)]=(null===(_0x40913d=this[_0xcda319(0x1fd)])||void 0x0===_0x40913d?void 0x0:_0x40913d[_0xcda319(0x1ff)])?this[_0xcda319(0x212)](this[_0xcda319(0x1fd)][_0xcda319(0x1ff)]):null;}[_0x25895a(0x1e8)](_0x3a8345){const _0x475cd6=_0x25895a;var _0x3165c1;const _0xa978d4=this[_0x475cd6(0x21b)][_0x475cd6(0x22f)](_0x3a8345),_0x583cbe=_0xa978d4&&(null===(_0x3165c1=this[_0x475cd6(0x1fd)])||void 0x0===_0x3165c1?void 0x0:_0x3165c1[_0x475cd6(0x22f)](this[_0x475cd6(0x1fd)][_0x475cd6(0x237)](_0xa978d4)-0x1));return _0x583cbe&&this[_0x475cd6(0x212)](_0x583cbe)||null;}[_0x25895a(0x215)](_0x2d5ac8){const _0x306bc0=_0x25895a;var _0x519cf2;const _0x21134d=this[_0x306bc0(0x21b)][_0x306bc0(0x22f)](_0x2d5ac8),_0x1c49e3=_0x21134d&&(null===(_0x519cf2=this[_0x306bc0(0x1fd)])||void 0x0===_0x519cf2?void 0x0:_0x519cf2[_0x306bc0(0x22f)](this[_0x306bc0(0x1fd)][_0x306bc0(0x237)](_0x21134d)+0x1));return _0x1c49e3&&this[_0x306bc0(0x212)](_0x1c49e3)||null;}[_0x25895a(0x239)](_0x10d70b,_0x965eb6){const _0x29c999=_0x25895a;_0x10d70b[_0x29c999(0x220)]();const _0x4980f0=R(_0x965eb6[_0x29c999(0x1fe)]+this[_0x29c999(0x241)],_0x10d70b[_0x29c999(0x225)]);return!!_0x4980f0&&(this[_0x29c999(0x21a)](_0x965eb6,_0x965eb6[_0x29c999(0x225)]-_0x4980f0),!0x0);}[_0x25895a(0x1fc)](_0x47ffc2,_0x2c87a7){const _0x472c49=_0x25895a;_0x47ffc2[_0x472c49(0x220)]();const _0x499e30=R(_0x47ffc2[_0x472c49(0x1fe)]+this[_0x472c49(0x241)],_0x2c87a7[_0x472c49(0x225)]);return!!_0x499e30&&(this[_0x472c49(0x21a)](_0x2c87a7,_0x2c87a7[_0x472c49(0x225)]+_0x499e30,!0x1),!0x0);}[_0x25895a(0x23a)](_0x3874a2){const _0x1bd918=_0x25895a,_0x612eae=this[_0x1bd918(0x21b)][_0x1bd918(0x22f)](_0x3874a2);if(!_0x612eae||!_0x612eae[_0x1bd918(0x1f9)]||!_0x612eae[_0x1bd918(0x227)])return;const _0x4f3ac3=this[_0x1bd918(0x222)](_0x612eae,_0x612eae[_0x1bd918(0x227)]);this[_0x1bd918(0x21a)](_0x3874a2,_0x4f3ac3);}[_0x25895a(0x222)](_0x3d3c78,_0xaf968a){const _0x53788b=_0x25895a;if(null===_0xaf968a)return 0x0;if(_0x3d3c78[_0x53788b(0x1f9)]instanceof _0x3d96b3)return _0xaf968a[_0x53788b(0x225)];{const _0x4f02ba=new _0x3d96b3(this[_0x53788b(0x22d)][_0x53788b(0x20d)])[_0x53788b(0x225)];return _0xaf968a[_0x53788b(0x225)]-_0x4f02ba;}}[_0x25895a(0x21a)](_0x1ddeb1,_0x5276a7,_0x3abf61=this[_0x25895a(0x201)][_0x25895a(0x202)][_0x25895a(0x22f)](_0x25895a(0x1f2))){const _0x419b81=_0x25895a;_0x3abf61&&(_0x5276a7=Math[_0x419b81(0x205)](_0x5276a7,this[_0x419b81(0x233)](_0x1ddeb1))),_0x1ddeb1[_0x419b81(0x225)]=_0x5276a7;}[_0x25895a(0x233)](_0x454ade){const _0x1a74fb=_0x25895a;let _0x5f0ff3=this[_0x1a74fb(0x1e8)](_0x454ade),_0x16dc74=0x0;for(;_0x5f0ff3;)_0x5f0ff3[_0x1a74fb(0x220)](),_0x16dc74+=this[_0x1a74fb(0x241)]+_0x5f0ff3[_0x1a74fb(0x22a)],_0x5f0ff3=this[_0x1a74fb(0x1e8)](_0x5f0ff3);return _0x16dc74;}}function R(_0x25b0f9,_0x4bc6a4){const _0x3a7613=_0x25895a;return Math[_0x3a7613(0x205)](_0x25b0f9-_0x4bc6a4,0x0);}function y(_0x2c064a){const _0x12b518=_0x25895a;return null!==_0x2c064a&&_0x12b518(0x1f5)==typeof _0x2c064a&&0x1===_0x2c064a[_0x12b518(0x213)];}
|
|
23
|
+
function _0x3e91(){const _0x283094=['object','_lastItem','getSidebarItemView','sidebar-attachtocontainer-missing-container','length','targetRect','_getItemBefore','pluginName','listenTo','isActive','class','init','change:_lastItem','container','define','287EOHLRE','_updateLastItem','_targetTop','_destroySidebarItemView','refresh','20pZHTTQ','bottom','Sidebar','sidebar-setcontainer-invalid-element','view','_annotations','delete','addAnnotation','_alignToTargetRect','_setItemTop','_attachToContainer','getIndex','_getItemAfter','max','1746585JXgqTQ','render','push','destroy','context','9618CJEYXp','change:top','element','1085JEZhWF','_detachFromContainer','unbind','_annotationToSidebarItemView','clear','_sidebarItemViewToAnnotation','list','last','add','_alignAfterItem','nodeType','get','isAnimationDisabled','updateHeight','_alignForBottomChange','stopListening','_recalculate','remove','height','target','_alignBeforeItem','isPremiumPlugin','top','2498nappHE','_getMaxAvailableTop','_alignForTopChange','change:targetRect','locale','bind','3850216TIGHot','set','content','config','setContainer','2285835pNJZsd','_createSidebarView','_activeAnnotation','20YWjzvs','_spaceBetweenItems','_recalculateBuffer','sidebar.container','_getTargetTop','change:bottom','sidebar.preventScrollOutOfView','isOfficialPlugin','minHeight','appendChild','3166075kxpEpA','101139Gayblg','rearrange'];_0x3e91=function(){return _0x283094;};return _0x3e91();}const _0x4427a4=_0x2f55;(function(_0x3673ce,_0x285f46){const _0x8ac89=_0x2f55,_0x3d6a1b=_0x3673ce();while(!![]){try{const _0x5973e4=parseInt(_0x8ac89(0x120))/0x1*(parseInt(_0x8ac89(0xf6))/0x2)+parseInt(_0x8ac89(0x10f))/0x3*(-parseInt(_0x8ac89(0x125))/0x4)+-parseInt(_0x8ac89(0x101))/0x5+-parseInt(_0x8ac89(0xdc))/0x6*(-parseInt(_0x8ac89(0xdf))/0x7)+-parseInt(_0x8ac89(0xfc))/0x8+parseInt(_0x8ac89(0xd7))/0x9+-parseInt(_0x8ac89(0x104))/0xa*(-parseInt(_0x8ac89(0x10e))/0xb);if(_0x5973e4===_0x285f46)break;else _0x3d6a1b['push'](_0x3d6a1b['shift']());}catch(_0x2749ee){_0x3d6a1b['push'](_0x3d6a1b['shift']());}}}(_0x3e91,0x41d42));import{ContextPlugin as _0x5ba75e}from'ckeditor5/src/core.js';import{Rect as _0x12e855,CKEditorError as _0x48f55c}from'ckeditor5/src/utils.js';import _0x126a22 from'./view/sidebarview.js';import _0x8355df from'./view/sidebaritemview.js';export default class z extends _0x5ba75e{static get[_0x4427a4(0x118)](){const _0x3290e1=_0x4427a4;return _0x3290e1(0x127);}static get[_0x4427a4(0x10b)](){return!0x0;}static get[_0x4427a4(0xf4)](){return!0x0;}constructor(_0x14ec92){const _0x59a519=_0x4427a4;super(_0x14ec92),this[_0x59a519(0xfd)](_0x59a519(0x112),void 0x0),this[_0x59a519(0x129)]=this[_0x59a519(0x102)](),this[_0x59a519(0xfd)](_0x59a519(0x11e),null),this[_0x59a519(0x105)]=0x19,this[_0x59a519(0xe4)]=new Map(),this[_0x59a519(0xe2)]=new Map(),this[_0x59a519(0xdb)][_0x59a519(0xff)][_0x59a519(0x11f)](_0x59a519(0x10a),!0x1),this[_0x59a519(0x12a)]=null,this[_0x59a519(0x103)]=null,this[_0x59a519(0x106)]=[];}[_0x4427a4(0x11c)](){const _0x152a2f=_0x4427a4,_0x3a97b6=this[_0x152a2f(0xdb)][_0x152a2f(0xff)][_0x152a2f(0xea)](_0x152a2f(0x107));_0x3a97b6&&this[_0x152a2f(0x100)](_0x3a97b6);}[_0x4427a4(0x100)](_0x56d416){const _0x24c37b=_0x4427a4;if(!y(_0x56d416))throw new _0x48f55c(_0x24c37b(0x128));this[_0x24c37b(0x11e)]=_0x56d416;}[_0x4427a4(0x12f)]({viewClass:_0x443ce6='',spaceBetweenItems:_0x5b0836=0x19}={}){const _0x37aa6e=_0x4427a4;if(!y(this[_0x37aa6e(0x11e)]))throw new _0x48f55c(_0x37aa6e(0x114),this);this[_0x37aa6e(0x11e)][_0x37aa6e(0x10d)](this[_0x37aa6e(0x129)][_0x37aa6e(0xde)]),this[_0x37aa6e(0x129)][_0x37aa6e(0x11b)]=_0x443ce6,this[_0x37aa6e(0x105)]=_0x5b0836;}[_0x4427a4(0x110)]({removedAnnotation:_0x3feec4,previousAnnotation:_0x3611ee,nextAnnotation:_0x44fd57}){const _0x593d71=_0x4427a4,_0x193d39=this[_0x593d71(0x113)](_0x3feec4);this[_0x593d71(0x129)][_0x593d71(0xe5)][_0x593d71(0xf0)](_0x193d39),this[_0x593d71(0x123)](_0x3feec4),_0x3611ee&&this[_0x593d71(0x12d)](this[_0x593d71(0x113)](_0x3611ee)),_0x44fd57&&this[_0x593d71(0x12d)](this[_0x593d71(0x113)](_0x44fd57)),this[_0x593d71(0x121)]();}[_0x4427a4(0x124)]({blurredAnnotation:_0x58cdcf,activatedAnnotation:_0x503f85,disableAnimationOnActivatedAnnotation:_0x396342}){const _0x3803bc=_0x4427a4;if(this[_0x3803bc(0x103)]=_0x503f85,_0x58cdcf){_0x58cdcf[_0x3803bc(0x11a)]=!0x1;const _0xc17944=this[_0x3803bc(0x113)](_0x58cdcf);_0xc17944&&_0x396342&&(_0xc17944[_0x3803bc(0xeb)]=!0x1);}if(_0x503f85){const _0x409ec2=this[_0x3803bc(0x113)](_0x503f85);_0x409ec2&&(_0x503f85[_0x3803bc(0x11a)]=!0x0,_0x396342&&(_0x409ec2[_0x3803bc(0xeb)]=!0x0,_0x409ec2[_0x3803bc(0xf5)]+=0x1),this[_0x3803bc(0x12d)](_0x409ec2));}}[_0x4427a4(0xe0)](_0x56d173){const _0x539006=_0x4427a4;if(this[_0x539006(0x129)][_0x539006(0xde)][_0x539006(0xf0)](),_0x56d173){for(const _0x6a987f of _0x56d173)this[_0x539006(0x123)](_0x6a987f);}this[_0x539006(0x129)][_0x539006(0xe5)][_0x539006(0xe3)](),this[_0x539006(0x129)][_0x539006(0x11b)]='',this[_0x539006(0x112)]=null;}[_0x4427a4(0x12c)](_0xc59b33,_0x22289e){const _0x49b11d=_0x4427a4;_0x22289e||(_0x22289e=_0xc59b33[_0x49b11d(0x129)]);const _0x2601a3=new _0x8355df(this[_0x49b11d(0xdb)][_0x49b11d(0xfa)]);this[_0x49b11d(0xe4)][_0x49b11d(0xfd)](_0x2601a3,_0xc59b33),this[_0x49b11d(0xe2)][_0x49b11d(0xfd)](_0xc59b33,_0x2601a3),_0x2601a3[_0x49b11d(0xfe)][_0x49b11d(0xe7)](_0x22289e),this[_0x49b11d(0x119)](_0xc59b33[_0x49b11d(0x129)],_0x49b11d(0xf9),(_0x1bfebe,_0x2a5a54,_0x37f1af)=>{const _0x2d7326=_0x49b11d,_0x2b19c1=this[_0x2d7326(0x108)](_0xc59b33,_0x37f1af);_0x2601a3[_0x2d7326(0x122)]!=_0x2b19c1&&(_0x2601a3[_0x2d7326(0x122)]=_0x2b19c1,this[_0x2d7326(0x12e)](_0x2601a3,_0x2b19c1));}),this[_0x49b11d(0x119)](_0x2601a3,_0x49b11d(0xdd),()=>{const _0x418b36=_0x49b11d;this[_0x418b36(0xef)](_0x2601a3,_0x418b36(0xf5));}),this[_0x49b11d(0x119)](_0x2601a3,_0x49b11d(0x109),()=>{const _0x7a806f=_0x49b11d;this[_0x7a806f(0xef)](_0x2601a3,_0x7a806f(0x126));}),this[_0x49b11d(0x12d)](_0x2601a3);const _0x46d6ba=this[_0x49b11d(0x117)](_0x2601a3);if(_0x46d6ba)this[_0x49b11d(0xe8)](_0x46d6ba,_0x2601a3)||this[_0x49b11d(0x12d)](_0x2601a3);else this[_0x49b11d(0x12d)](_0x2601a3);return this[_0x49b11d(0x121)](),this[_0x49b11d(0x129)][_0x49b11d(0xe5)][_0x49b11d(0xe7)](_0x2601a3),_0x2601a3;}[_0x4427a4(0xf8)](_0x592dd9){const _0x154411=_0x4427a4;if(!_0x592dd9[_0x154411(0xfe)][_0x154411(0x115)])return;const _0x39a151=this[_0x154411(0x117)](_0x592dd9);if(!_0x39a151)return;const _0x1388fa=this[_0x154411(0xe4)][_0x154411(0xea)](_0x39a151),_0x27a3f8=this[_0x154411(0x103)];_0x27a3f8&&_0x27a3f8===_0x1388fa?this[_0x154411(0xe8)](_0x39a151,_0x592dd9):this[_0x154411(0xf3)](_0x592dd9,_0x39a151);}[_0x4427a4(0xed)](_0x79799b){const _0x4546e6=_0x4427a4;if(!_0x79799b[_0x4546e6(0xfe)][_0x4546e6(0x115)])return;const _0x8924cf=this[_0x4546e6(0x131)](_0x79799b);if(!_0x8924cf)return;const _0x3f7586=this[_0x4546e6(0xe4)][_0x4546e6(0xea)](_0x8924cf),_0x77d474=this[_0x4546e6(0xdb)][_0x4546e6(0xff)][_0x4546e6(0xea)](_0x4546e6(0x10a)),_0x2512c7=this[_0x4546e6(0x103)];_0x2512c7&&_0x2512c7===_0x3f7586&&_0x77d474?(this[_0x4546e6(0xf3)](_0x8924cf,_0x79799b),this[_0x4546e6(0xe8)](_0x79799b,_0x8924cf)):_0x2512c7&&_0x2512c7===_0x3f7586?this[_0x4546e6(0xf3)](_0x8924cf,_0x79799b):this[_0x4546e6(0xe8)](_0x79799b,_0x8924cf);}[_0x4427a4(0xef)](_0x3d3619,_0x3a66ee){const _0x432082=_0x4427a4;0x0===this[_0x432082(0x106)][_0x432082(0x115)]&&setTimeout(()=>{const _0x43fc48=_0x432082;for(const {sidebarItemView:_0x1db908,changedProp:_0x227708}of this[_0x43fc48(0x106)])_0x43fc48(0xf5)===_0x227708?this[_0x43fc48(0xf8)](_0x1db908):this[_0x43fc48(0xed)](_0x1db908);this[_0x43fc48(0x106)]=[];},0xa),this[_0x432082(0x106)][_0x432082(0xd9)]({'sidebarItemView':_0x3d3619,'changedProp':_0x3a66ee});}[_0x4427a4(0x113)](_0x4067f0){const _0x49a036=_0x4427a4;return this[_0x49a036(0xe2)][_0x49a036(0xea)](_0x4067f0);}[_0x4427a4(0xda)](){const _0x17e801=_0x4427a4;this[_0x17e801(0xee)](),this[_0x17e801(0x129)][_0x17e801(0xda)]();}[_0x4427a4(0x123)](_0x5eafd6){const _0x58dcdc=_0x4427a4,_0x5370e9=this[_0x58dcdc(0x113)](_0x5eafd6);this[_0x58dcdc(0xee)](_0x5370e9),this[_0x58dcdc(0xee)](_0x5eafd6[_0x58dcdc(0x129)]),_0x5370e9[_0x58dcdc(0xda)](),this[_0x58dcdc(0xe2)][_0x58dcdc(0x12b)](_0x5eafd6),this[_0x58dcdc(0xe4)][_0x58dcdc(0x12b)](_0x5370e9);}[_0x4427a4(0x102)](){const _0x37ada6=_0x4427a4,_0x50882a=new _0x126a22(this[_0x37ada6(0xdb)][_0x37ada6(0xfa)]);return _0x50882a[_0x37ada6(0xd8)](),this['on'](_0x37ada6(0x11d),(_0x28c392,_0x3f831b,_0x5a9357,_0x278c5d)=>{const _0x470d1f=_0x37ada6;_0x278c5d&&_0x50882a[_0x470d1f(0xe1)](_0x470d1f(0x10c)),_0x5a9357?_0x50882a[_0x470d1f(0xfb)](_0x470d1f(0x10c))['to'](_0x5a9357,_0x470d1f(0x126)):_0x50882a[_0x470d1f(0x10c)]=null;}),_0x50882a;}[_0x4427a4(0x121)](){const _0x33dbe6=_0x4427a4;var _0x147277;this[_0x33dbe6(0x112)]=(null===(_0x147277=this[_0x33dbe6(0x12a)])||void 0x0===_0x147277?void 0x0:_0x147277[_0x33dbe6(0xe6)])?this[_0x33dbe6(0x113)](this[_0x33dbe6(0x12a)][_0x33dbe6(0xe6)]):null;}[_0x4427a4(0x117)](_0x4a6132){const _0x4bf33a=_0x4427a4;var _0xd79bd;const _0x4e9338=this[_0x4bf33a(0xe4)][_0x4bf33a(0xea)](_0x4a6132),_0x3aea51=_0x4e9338&&(null===(_0xd79bd=this[_0x4bf33a(0x12a)])||void 0x0===_0xd79bd?void 0x0:_0xd79bd[_0x4bf33a(0xea)](this[_0x4bf33a(0x12a)][_0x4bf33a(0x130)](_0x4e9338)-0x1));return _0x3aea51&&this[_0x4bf33a(0x113)](_0x3aea51)||null;}[_0x4427a4(0x131)](_0x3eb8d5){const _0x47cd5a=_0x4427a4;var _0x174d14;const _0x4e1164=this[_0x47cd5a(0xe4)][_0x47cd5a(0xea)](_0x3eb8d5),_0x55ce25=_0x4e1164&&(null===(_0x174d14=this[_0x47cd5a(0x12a)])||void 0x0===_0x174d14?void 0x0:_0x174d14[_0x47cd5a(0xea)](this[_0x47cd5a(0x12a)][_0x47cd5a(0x130)](_0x4e1164)+0x1));return _0x55ce25&&this[_0x47cd5a(0x113)](_0x55ce25)||null;}[_0x4427a4(0xf3)](_0x1c6e03,_0x3ccee1){const _0xc78322=_0x4427a4;_0x1c6e03[_0xc78322(0xec)]();const _0x334053=R(_0x3ccee1[_0xc78322(0x126)]+this[_0xc78322(0x105)],_0x1c6e03[_0xc78322(0xf5)]);return!!_0x334053&&(this[_0xc78322(0x12e)](_0x3ccee1,_0x3ccee1[_0xc78322(0xf5)]-_0x334053),!0x0);}[_0x4427a4(0xe8)](_0x3a5403,_0x4cec23){const _0x2feda7=_0x4427a4;_0x3a5403[_0x2feda7(0xec)]();const _0x1601be=R(_0x3a5403[_0x2feda7(0x126)]+this[_0x2feda7(0x105)],_0x4cec23[_0x2feda7(0xf5)]);return!!_0x1601be&&(this[_0x2feda7(0x12e)](_0x4cec23,_0x4cec23[_0x2feda7(0xf5)]+_0x1601be,!0x1),!0x0);}[_0x4427a4(0x12d)](_0x4ce632){const _0x30de99=_0x4427a4,_0x5547f6=this[_0x30de99(0xe4)][_0x30de99(0xea)](_0x4ce632);if(!_0x5547f6||!_0x5547f6[_0x30de99(0xf2)]||!_0x5547f6[_0x30de99(0x116)])return;const _0x206058=this[_0x30de99(0x108)](_0x5547f6,_0x5547f6[_0x30de99(0x116)]);this[_0x30de99(0x12e)](_0x4ce632,_0x206058);}[_0x4427a4(0x108)](_0x2bc493,_0x3f8fa4){const _0x13ef12=_0x4427a4;if(null===_0x3f8fa4)return 0x0;if(_0x2bc493[_0x13ef12(0xf2)]instanceof _0x12e855)return _0x3f8fa4[_0x13ef12(0xf5)];{const _0x15cb0f=new _0x12e855(this[_0x13ef12(0x129)][_0x13ef12(0xde)])[_0x13ef12(0xf5)];return _0x3f8fa4[_0x13ef12(0xf5)]-_0x15cb0f;}}[_0x4427a4(0x12e)](_0x469d0f,_0x53afff,_0x3486d4=this[_0x4427a4(0xdb)][_0x4427a4(0xff)][_0x4427a4(0xea)](_0x4427a4(0x10a))){const _0x31d381=_0x4427a4;_0x3486d4&&(_0x53afff=Math[_0x31d381(0x132)](_0x53afff,this[_0x31d381(0xf7)](_0x469d0f))),_0x469d0f[_0x31d381(0xf5)]=_0x53afff;}[_0x4427a4(0xf7)](_0x4bafad){const _0x5d42fc=_0x4427a4;let _0x2df860=this[_0x5d42fc(0x117)](_0x4bafad),_0xd5ef65=0x0;for(;_0x2df860;)_0x2df860[_0x5d42fc(0xec)](),_0xd5ef65+=this[_0x5d42fc(0x105)]+_0x2df860[_0x5d42fc(0xf1)],_0x2df860=this[_0x5d42fc(0x117)](_0x2df860);return _0xd5ef65;}}function R(_0x160e79,_0x39718b){const _0x32865f=_0x4427a4;return Math[_0x32865f(0x132)](_0x160e79-_0x39718b,0x0);}function _0x2f55(_0x324b4e,_0x350b37){const _0x3e9151=_0x3e91();return _0x2f55=function(_0x2f559b,_0x4fab6d){_0x2f559b=_0x2f559b-0xd7;let _0x2425b7=_0x3e9151[_0x2f559b];return _0x2425b7;},_0x2f55(_0x324b4e,_0x350b37);}function y(_0xac34bd){const _0x34e3c6=_0x4427a4;return null!==_0xac34bd&&_0x34e3c6(0x111)==typeof _0xac34bd&&0x1===_0xac34bd[_0x34e3c6(0xe9)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
(function(_0x592e4b,_0x5585d9){const _0x37025f=_0x5734,_0x39aee=_0x592e4b();while(!![]){try{const _0x2b1827=parseInt(_0x37025f(0xa6))/0x1+parseInt(_0x37025f(0xb0))/0x2*(-parseInt(_0x37025f(0xad))/0x3)+parseInt(_0x37025f(0xa0))/0x4*(parseInt(_0x37025f(0xa3))/0x5)+-parseInt(_0x37025f(0xa5))/0x6*(-parseInt(_0x37025f(0xa2))/0x7)+-parseInt(_0x37025f(0xae))/0x8*(-parseInt(_0x37025f(0xbc))/0x9)+-parseInt(_0x37025f(0xb8))/0xa+-parseInt(_0x37025f(0xbe))/0xb*(parseInt(_0x37025f(0xaa))/0xc);if(_0x2b1827===_0x5585d9)break;else _0x39aee['push'](_0x39aee['shift']());}catch(_0x23a02e){_0x39aee['push'](_0x39aee['shift']());}}}(_0x2ddb,0x8eb70));function _0x2ddb(){const _0x983b41=['10265800JxdyAN','bindTemplate','icon','...','6743556nzLyfe','toString','22sXVqBD','span','4XKOfoV','counterView','8071SrNgSb','4197740DyjqmE','ck-annotation-counter__badge--','4002slALxX','472873oFZtSh','annotationType','extendTemplate','ck-annotation-counter__badge','3750168UJxWVm','children','setTemplate','445941zIzXtB','8esaqfg','set','8Pbklcd','add','ck-annotation-counter__badge--edit-mode','isDirty','number','bind','_badge','ck-annotation-counter'];_0x2ddb=function(){return _0x983b41;};return _0x2ddb();}function _0x5734(_0x12d98b,_0x1cbf22){const _0x2ddb8d=_0x2ddb();return _0x5734=function(_0x57345c,_0x5a0063){_0x57345c=_0x57345c-0x9f;let _0x4be6a6=_0x2ddb8d[_0x57345c];return _0x4be6a6;},_0x5734(_0x12d98b,_0x1cbf22);}import{ButtonView as _0x5a987c,View as _0x47778c}from'ckeditor5/src/ui.js';import _0x17f0e2 from'../../../theme/icons/add-comment.svg';export default class D extends _0x5a987c{constructor(_0x241aed){const _0x3f0d42=_0x5734;super(_0x241aed);const _0x541e10=this[_0x3f0d42(0xb9)];this[_0x3f0d42(0xaf)](_0x3f0d42(0xb3),!0x1),this[_0x3f0d42(0xaf)](_0x3f0d42(0xb4),0x0),this[_0x3f0d42(0xb5)](_0x3f0d42(0xb6))['to'](this,_0x3f0d42(0xb3),this,_0x3f0d42(0xb4),(_0x238e22,_0x106c3c)=>_0x238e22?_0x3f0d42(0xbb):_0x106c3c[_0x3f0d42(0xbd)]()),this[_0x3f0d42(0xaf)](_0x3f0d42(0xa7),''),this[_0x3f0d42(0xba)]=_0x17f0e2,this[_0x3f0d42(0xa8)]({'attributes':{'class':[_0x3f0d42(0xb7)]}}),this[_0x3f0d42(0xa1)]=new _0x47778c(),this[_0x3f0d42(0xa1)][_0x3f0d42(0xac)]({'tag':_0x3f0d42(0x9f),'attributes':{'class':[_0x3f0d42(0xa9),_0x541e10['to'](_0x3f0d42(0xa7),_0x20ce73=>_0x3f0d42(0xa4)+_0x20ce73),_0x541e10['if'](_0x3f0d42(0xb3),_0x3f0d42(0xb2))]},'children':[{'text':_0x541e10['to'](_0x3f0d42(0xb6))}]}),this[_0x3f0d42(0xab)][_0x3f0d42(0xb1)](this[_0x3f0d42(0xa1)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13fa93=_0x5164;(function(_0x3398ff,_0x56f546){const _0x38200d=_0x5164,_0x4eea49=_0x3398ff();while(!![]){try{const _0x3ea1df=parseInt(_0x38200d(0x8b))/0x1*(-parseInt(_0x38200d(0xa0))/0x2)+-parseInt(_0x38200d(0xa9))/0x3+parseInt(_0x38200d(0xb2))/0x4+parseInt(_0x38200d(0x9e))/0x5*(-parseInt(_0x38200d(0xb3))/0x6)+parseInt(_0x38200d(0xa6))/0x7+-parseInt(_0x38200d(0x95))/0x8+-parseInt(_0x38200d(0xa5))/0x9*(-parseInt(_0x38200d(0x98))/0xa);if(_0x3ea1df===_0x56f546)break;else _0x4eea49['push'](_0x4eea49['shift']());}catch(_0x2c938c){_0x4eea49['push'](_0x4eea49['shift']());}}}(_0x401b,0x4b1f0));import{View as _0x1b52ea}from'ckeditor5/src/ui.js';import{FocusTracker as _0x313cfb,KeystrokeHandler as _0x21b157,uid as _0x1c0222}from'ckeditor5/src/utils.js';import _0x181946 from'../../utils/createmutationobserver.js';function _0x5164(_0x275f7b,_0x17160c){const _0x401bae=_0x401b();return _0x5164=function(_0x51646b,_0x58e04c){_0x51646b=_0x51646b-0x89;let _0x4e40fb=_0x401bae[_0x51646b];return _0x4e40fb;},_0x5164(_0x275f7b,_0x17160c);}import'../../../theme/annotation.css';export default class T extends _0x1b52ea{constructor(_0xac6920,_0x59642d){const _0x325ee3=_0x5164;super(_0xac6920),this['id']=_0x1c0222(),this[_0x325ee3(0xaa)]=new _0x313cfb(),this[_0x325ee3(0xad)]=new _0x21b157(),this[_0x325ee3(0xad)][_0x325ee3(0xa1)](_0x325ee3(0xae),(_0x2f55ea,_0x492ff8)=>this[_0x325ee3(0xb1)](_0x325ee3(0xae),_0x492ff8)),this[_0x325ee3(0xa1)](_0x325ee3(0xb7),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x325ee3(0xa1)](_0x325ee3(0x96),0x0),this[_0x325ee3(0xa1)](_0x325ee3(0x9b),!0x1),this[_0x325ee3(0xa1)](_0x325ee3(0xb4),!0x1),this[_0x325ee3(0xa1)](_0x325ee3(0xa8),0x0),this[_0x325ee3(0xa1)](_0x325ee3(0x8d),''),this[_0x325ee3(0x90)]=_0x181946(()=>this[_0x325ee3(0x8c)]()),this[_0x325ee3(0x89)]=this[_0x325ee3(0x9d)](),this[_0x325ee3(0x89)][_0x325ee3(0x99)](_0x325ee3(0x8f),_0x325ee3(0x8e))['to'](this),this[_0x325ee3(0x89)][_0x325ee3(0xa7)](_0x59642d),this[_0x325ee3(0x97)]=_0x59642d;const _0x1326d3=this[_0x325ee3(0x9f)];this[_0x325ee3(0x94)]({'tag':_0x325ee3(0xb6),'attributes':{'class':['ck',_0x325ee3(0xa4),_0x325ee3(0xaf),_0x1326d3['if'](_0x325ee3(0x9b),_0x325ee3(0x91))],'role':_0x325ee3(0x8a)},'children':this[_0x325ee3(0x89)]});}[_0x13fa93(0x9a)](){const _0x20fec0=_0x13fa93;super[_0x20fec0(0x9a)](),this[_0x20fec0(0xaa)][_0x20fec0(0xa7)](this[_0x20fec0(0x9c)]),this[_0x20fec0(0xad)][_0x20fec0(0x92)](this[_0x20fec0(0x9c)]),this[_0x20fec0(0x90)][_0x20fec0(0xa3)](this[_0x20fec0(0x9c)]);}[_0x13fa93(0xac)](){const _0x41b195=_0x13fa93;this[_0x41b195(0x89)][_0x41b195(0xb0)](),this[_0x41b195(0xad)][_0x41b195(0xac)](),this[_0x41b195(0xaa)][_0x41b195(0xac)](),this[_0x41b195(0x90)][_0x41b195(0xa2)](),super[_0x41b195(0xac)]();}[_0x13fa93(0xab)](){const _0x2cc1fc=_0x13fa93;this[_0x2cc1fc(0x89)][_0x2cc1fc(0x93)]&&this[_0x2cc1fc(0x89)][_0x2cc1fc(0x93)][_0x2cc1fc(0xab)]();}[_0x13fa93(0x8c)](){const _0x1a9371=_0x13fa93,_0x165741=this[_0x1a9371(0x9c)][_0x1a9371(0xb5)];_0x165741&&(this[_0x1a9371(0x96)]=_0x165741);}}function _0x401b(){const _0x2692a2=['attach','ck-annotation-wrapper','99PZCzNg','4207iguods','add','length','1273389dhGTGR','focusTracker','focus','destroy','keystrokes','Esc','ck-rounded-corners','clear','fire','663268FfAMWX','1329642NbzXje','isDirty','clientHeight','div','targetRect','content','presentation','24979kBqZNt','_updateHeight','type','arrowdown','arrowup','_mutationObserver','ck-annotation-wrapper--active','listenTo','first','setTemplate','788784ZkWpWo','height','mainView','1211240mOgUlL','delegate','render','isActive','element','createCollection','10rlBHZJ','bindTemplate','18JtHYwV','set','detach'];_0x401b=function(){return _0x2692a2;};return _0x401b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3b5e(){const _0x38c0ef=['_targetTop','isAnimationDisabled','65FVqmSz','updateHeight','bottom','set','219402rUJnOO','549krYVRB','render','element','presentation','createCollection','1167023NtVVTJ','42802970BAaTcj','ck-sidebar-item--no-animation','arrowdown','bindTemplate','first','destroy','delegate','_mutationObserver','height','content','clear','32XqZkqf','attach','ck-sidebar-item','bind','arrowup','setTemplate','top','clientHeight','div','13954FYCdlb','focus','2594460IhFLKK','653580ZugehQ','2107707HJnHXC','detach'];_0x3b5e=function(){return _0x38c0ef;};return _0x3b5e();}const _0x25ccb8=_0x27ea;(function(_0x385d57,_0xa2a770){const _0x35cf04=_0x27ea,_0x10a756=_0x385d57();while(!![]){try{const _0x3de74a=-parseInt(_0x35cf04(0x64))/0x1+-parseInt(_0x35cf04(0x79))/0x2*(parseInt(_0x35cf04(0x86))/0x3)+parseInt(_0x35cf04(0x7b))/0x4+parseInt(_0x35cf04(0x81))/0x5*(-parseInt(_0x35cf04(0x85))/0x6)+-parseInt(_0x35cf04(0x7d))/0x7*(parseInt(_0x35cf04(0x70))/0x8)+-parseInt(_0x35cf04(0x7c))/0x9+parseInt(_0x35cf04(0x65))/0xa;if(_0x3de74a===_0xa2a770)break;else _0x10a756['push'](_0x10a756['shift']());}catch(_0x3baecd){_0x10a756['push'](_0x10a756['shift']());}}}(_0x3b5e,0xb2e1f));import{View as _0x3c60a2}from'ckeditor5/src/ui.js';import{toUnit as _0x2cde10}from'ckeditor5/src/utils.js';import _0x115d8c from'../../utils/createmutationobserver.js';const qt=_0x2cde10('px');function _0x27ea(_0x11bca1,_0x4362a0){const _0x3b5ee8=_0x3b5e();return _0x27ea=function(_0x27ea0e,_0x4bb5d2){_0x27ea0e=_0x27ea0e-0x64;let _0x1c3f0b=_0x3b5ee8[_0x27ea0e];return _0x1c3f0b;},_0x27ea(_0x11bca1,_0x4362a0);}export default class H extends _0x3c60a2{constructor(_0x331ee1){const _0xcd03d3=_0x27ea;super(_0x331ee1),this[_0xcd03d3(0x84)](_0xcd03d3(0x76),0x0),this[_0xcd03d3(0x84)](_0xcd03d3(0x6d),0x0),this[_0xcd03d3(0x73)](_0xcd03d3(0x83))['to'](this,_0xcd03d3(0x76),this,_0xcd03d3(0x6d),(_0x176a0c,_0x21be3)=>_0x176a0c+_0x21be3),this[_0xcd03d3(0x84)](_0xcd03d3(0x80),!0x1),this[_0xcd03d3(0x6c)]=_0x115d8c(()=>this[_0xcd03d3(0x82)]()),this[_0xcd03d3(0x7f)]=null,this[_0xcd03d3(0x6e)]=this[_0xcd03d3(0x8a)](),this[_0xcd03d3(0x6e)][_0xcd03d3(0x6b)](_0xcd03d3(0x74),_0xcd03d3(0x67))['to'](this);const _0x38ea5f=this[_0xcd03d3(0x68)];this[_0xcd03d3(0x75)]({'tag':_0xcd03d3(0x78),'attributes':{'class':[_0xcd03d3(0x72),_0x38ea5f['to'](_0xcd03d3(0x80),_0x21bdbe=>_0x21bdbe?_0xcd03d3(0x66):'')],'style':{'top':_0x38ea5f['to'](_0xcd03d3(0x76),_0x4fd43f=>qt(_0x4fd43f))},'role':_0xcd03d3(0x89)},'children':this[_0xcd03d3(0x6e)]});}[_0x25ccb8(0x87)](){const _0x4c1f9e=_0x25ccb8;super[_0x4c1f9e(0x87)](),this[_0x4c1f9e(0x6c)][_0x4c1f9e(0x71)](this[_0x4c1f9e(0x88)]);}[_0x25ccb8(0x7a)](){const _0x20bdec=_0x25ccb8;this[_0x20bdec(0x6e)][_0x20bdec(0x69)]&&this[_0x20bdec(0x6e)][_0x20bdec(0x69)][_0x20bdec(0x7a)]();}[_0x25ccb8(0x82)](){const _0x22f57d=_0x25ccb8,_0x24f936=this[_0x22f57d(0x88)][_0x22f57d(0x77)];_0x24f936&&(this[_0x22f57d(0x6d)]=_0x24f936);}[_0x25ccb8(0x6a)](){const _0x114770=_0x25ccb8;this[_0x114770(0x6e)][_0x114770(0x6f)](),this[_0x114770(0x6c)][_0x114770(0x7e)](),super[_0x114770(0x6a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e71f5=_0x513d;(function(_0x5bca7f,_0x92ac98){const _0x42e01a=_0x513d,_0x357110=_0x5bca7f();while(!![]){try{const _0xcb940=-parseInt(_0x42e01a(0xb9))/0x1+-parseInt(_0x42e01a(0xd7))/0x2*(-parseInt(_0x42e01a(0xbb))/0x3)+-parseInt(_0x42e01a(0xc3))/0x4+parseInt(_0x42e01a(0xb0))/0x5+-parseInt(_0x42e01a(0xad))/0x6*(parseInt(_0x42e01a(0xcf))/0x7)+-parseInt(_0x42e01a(0xd6))/0x8+parseInt(_0x42e01a(0xcc))/0x9*(parseInt(_0x42e01a(0xbf))/0xa);if(_0xcb940===_0x92ac98)break;else _0x357110['push'](_0x357110['shift']());}catch(_0x46e089){_0x357110['push'](_0x357110['shift']());}}}(_0x4c9f,0x4745a));function _0x513d(_0x3c1cf5,_0x3975d0){const _0x4c9f46=_0x4c9f();return _0x513d=function(_0x513dd7,_0x3c82a5){_0x513dd7=_0x513dd7-0xa9;let _0x5d605f=_0x4c9f46[_0x513dd7];return _0x5d605f;},_0x513d(_0x3c1cf5,_0x3975d0);}import{View as _0x58e84a,FocusCycler as _0x1f990c}from'ckeditor5/src/ui.js';function _0x4c9f(){const _0x15219d=['405498krmjOM','focus','9lBFFKO','Annotations\x20list','element','arrowup','11739590UvcanT','length','change:top','_setupKeyboardNavigation','1960960GSQnWO','ck-reset','focusNext','minHeight','_updateItemPositionInFocusables','setTemplate','class','arrowdown','set','9MsMZwa','add','number','1559999GqYSyD','div','bindTemplate','focusables','focusCycler','forEach','focusTracker','2820208AZoWIr','129190szZwKW','Annotations\x20sidebar','focusFirst','removed','source','focusPrevious','ck-sidebar','uiLanguageDirection','added','6PZbPVK','remove','application','1976535PsVloJ','change','render','listenTo','getIndex','createCollection','list','delegate','top'];_0x4c9f=function(){return _0x15219d;};return _0x4c9f();}import{FocusTracker as _0x5f495f,toUnit as _0x4c0723}from'ckeditor5/src/utils.js';import{getTranslation as _0x3089a6}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const qt=_0x4c0723('px');export default class V extends _0x58e84a{constructor(_0x1213e6){const _0xd8c031=_0x513d;super(_0x1213e6);const _0x4f12ad=this[_0xd8c031(0xd1)];this[_0xd8c031(0xcb)](_0xd8c031(0xc6),0x0),this[_0xd8c031(0xcb)](_0xd8c031(0xc9),''),this[_0xd8c031(0xb6)]=this[_0xd8c031(0xb5)](),this[_0xd8c031(0xd2)]=this[_0xd8c031(0xb5)](),this[_0xd8c031(0xb6)][_0xd8c031(0xb7)](_0xd8c031(0xbe),_0xd8c031(0xca))['to'](this),this[_0xd8c031(0xd5)]=new _0x5f495f(),this[_0xd8c031(0xd3)]=new _0x1f990c({'focusables':this[_0xd8c031(0xd2)],'focusTracker':this[_0xd8c031(0xd5)]}),this[_0xd8c031(0xc8)]({'tag':_0xd8c031(0xd0),'attributes':{'class':['ck',_0xd8c031(0xaa),_0xd8c031(0xc4),_0x4f12ad['to'](_0xd8c031(0xc9))],'style':{'minHeight':_0x4f12ad['to'](_0xd8c031(0xc6),_0x4644d7=>_0xd8c031(0xce)==typeof _0x4644d7?qt(_0x4644d7+0xa):null)},'dir':_0x1213e6[_0xd8c031(0xab)],'role':_0xd8c031(0xaf),'aria-label':_0x3089a6(_0x1213e6,_0xd8c031(0xd8)),'tabindex':0x0},'children':[{'tag':_0xd8c031(0xd0),'attributes':{'role':_0xd8c031(0xb6),'aria-label':_0x3089a6(_0x1213e6,_0xd8c031(0xbc))},'children':this[_0xd8c031(0xb6)]}]});}[_0x3e71f5(0xb2)](){const _0xa7cb29=_0x3e71f5;super[_0xa7cb29(0xb2)](),this[_0xa7cb29(0xc2)]();}[_0x3e71f5(0xba)](){const _0x28bd51=_0x3e71f5;this[_0x28bd51(0xd3)][_0x28bd51(0xd9)]();}[_0x3e71f5(0xc2)](){const _0x3ef43e=_0x3e71f5;this[_0x3ef43e(0xb6)][_0x3ef43e(0xb7)](_0x3ef43e(0xc1))['to'](this),this['on'](_0x3ef43e(0xc1),_0x2db890=>{const _0x5dc01f=_0x3ef43e;this[_0x5dc01f(0xc7)](_0x2db890[_0x5dc01f(0xdb)]);}),this[_0x3ef43e(0xb6)][_0x3ef43e(0xd4)](_0x3bc6d6=>{const _0x31c0fb=_0x3ef43e;this[_0x31c0fb(0xd5)][_0x31c0fb(0xcd)](_0x3bc6d6[_0x31c0fb(0xbd)]),this[_0x31c0fb(0xc7)](_0x3bc6d6);}),this[_0x3ef43e(0xb6)]['on'](_0x3ef43e(0xb1),(_0x52e56c,_0x3c88dc)=>{const _0x2a0bbb=_0x3ef43e;for(const _0x5bd393 of _0x3c88dc[_0x2a0bbb(0xda)])this[_0x2a0bbb(0xd5)][_0x2a0bbb(0xae)](_0x5bd393[_0x2a0bbb(0xbd)]),this[_0x2a0bbb(0xd2)][_0x2a0bbb(0xae)](_0x5bd393);for(const _0x1cd906 of _0x3c88dc[_0x2a0bbb(0xac)])this[_0x2a0bbb(0xd5)][_0x2a0bbb(0xcd)](_0x1cd906[_0x2a0bbb(0xbd)]),this[_0x2a0bbb(0xc7)](_0x1cd906);}),this['on'](_0x3ef43e(0xbe),()=>{const _0x95a065=_0x3ef43e;this[_0x95a065(0xd3)][_0x95a065(0xa9)]();}),this['on'](_0x3ef43e(0xca),()=>{const _0x135bc=_0x3ef43e;this[_0x135bc(0xd3)][_0x135bc(0xc5)]();}),this[_0x3ef43e(0xb3)](this[_0x3ef43e(0xbd)],_0x3ef43e(0xba),()=>{const _0x57d771=_0x3ef43e;this[_0x57d771(0xba)]();});}[_0x3e71f5(0xc7)](_0x457ebd){const _0x391ddd=_0x3e71f5,_0x131331=this[_0x391ddd(0xd2)][_0x391ddd(0xb4)](_0x457ebd);let _0x312ec7,_0xc086db;for(const _0xe0529c of this[_0x391ddd(0xd2)])if(_0x457ebd[_0x391ddd(0xb8)]<_0xe0529c[_0x391ddd(0xb8)]){_0x312ec7=_0xe0529c;break;}if(_0xc086db=_0x312ec7?this[_0x391ddd(0xd2)][_0x391ddd(0xb4)](_0x312ec7):this[_0x391ddd(0xd2)][_0x391ddd(0xc0)],-0x1!==_0x131331){if(_0x131331===_0xc086db-0x1)return;this[_0x391ddd(0xd2)][_0x391ddd(0xae)](_0x457ebd),_0xc086db=_0x312ec7?this[_0x391ddd(0xd2)][_0x391ddd(0xb4)](_0x312ec7):this[_0x391ddd(0xd2)][_0x391ddd(0xc0)];}this[_0x391ddd(0xd2)][_0x391ddd(0xcd)](_0x457ebd,_0xc086db);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x596dc7=_0x233e;(function(_0x134ab9,_0x1206d1){const _0x5c1c6e=_0x233e,_0x2ff28c=_0x134ab9();while(!![]){try{const _0xb3efda=-parseInt(_0x5c1c6e(0x8f))/0x1+-parseInt(_0x5c1c6e(0x87))/0x2+-parseInt(_0x5c1c6e(0x79))/0x3*(parseInt(_0x5c1c6e(0x7c))/0x4)+parseInt(_0x5c1c6e(0x99))/0x5*(-parseInt(_0x5c1c6e(0xaa))/0x6)+-parseInt(_0x5c1c6e(0x8b))/0x7+-parseInt(_0x5c1c6e(0xa9))/0x8+parseInt(_0x5c1c6e(0xa7))/0x9;if(_0xb3efda===_0x1206d1)break;else _0x2ff28c['push'](_0x2ff28c['shift']());}catch(_0x52f250){_0x2ff28c['push'](_0x2ff28c['shift']());}}}(_0x3381,0xa42b7));import{ContextPlugin as _0x14de96,Context as _0x79ce84}from'ckeditor5/src/core.js';import _0x29af02 from'./annotationsuis.js';function _0x233e(_0x3ddbd3,_0x23e6b6){const _0x338115=_0x3381();return _0x233e=function(_0x233ebe,_0x13b123){_0x233ebe=_0x233ebe-0x6b;let _0x8e0adf=_0x338115[_0x233ebe];return _0x8e0adf;},_0x233e(_0x3ddbd3,_0x23e6b6);}import _0x27e141 from'./sidebar.js';import{CKEditorError as _0x3f1f07,Collection as _0x20172f}from'ckeditor5/src/utils.js';function _0x3381(){const _0x1afa6a=['plugins','requires','high','ck-sidebar--wide','container','change:container','pluginName','60rncmIM','uiUpdate','init','stopListening','setActiveAnnotation','set','updateTargetRect','_editorAnnotations','activeAnnotation','addEventListener','isOfficialPlugin','addAnnotation','set:container','_destroyEditorAnnotationsIntegration','42447699FVOgjU','detach','347632hMhFas','2166EUiCrs','refresh','has','getOrderedSelectedAnnotations','WideSidebar','listenTo','blur','attach','stop','from','_integrateWithEditorAnnotations','resize','refreshPositioning','annotations','isPremiumPlugin','rearrange','_activeAnnotation','off','_attachToContainer','removeEventListener','3ZBKGia','register','isAttached','2649964uGYeSJ','add','get','destroy','remove','editors','widesidebar-attach-already-attached','switchTo','_detachFromContainer','EditorAnnotations','focus','2653544CQttIW','context','wideSidebar','cancel','8375472MsUyqv','widesidebar-detach-not-attached','hasDomSelection','ready','810427xOgTWK','_annotations','_refreshPositioningDebounced'];_0x3381=function(){return _0x1afa6a;};return _0x3381();}import{debounce as _0x5405cb}from'lodash-es';export default class e extends _0x14de96{static get[_0x596dc7(0x93)](){return[_0x27e141,_0x29af02];}static get[_0x596dc7(0x98)](){const _0x33b757=_0x596dc7;return _0x33b757(0xae);}static get[_0x596dc7(0xa3)](){return!0x0;}static get[_0x596dc7(0x73)](){return!0x0;}constructor(_0x4e2052){const _0x54558b=_0x596dc7;super(_0x4e2052),this[_0x54558b(0x7b)]=!0x1,this[_0x54558b(0x9e)](_0x54558b(0xa1),null),this[_0x54558b(0x72)]=null,this[_0x54558b(0xa0)]=new _0x20172f(),this[_0x54558b(0x91)]=_0x5405cb(()=>{const _0x41a701=_0x54558b;this[_0x41a701(0x72)][_0x41a701(0x71)]();},0xfa,{'leading':!0x1});}[_0x596dc7(0x9b)](){const _0x5849e7=_0x596dc7,_0x429c50=this[_0x5849e7(0x88)][_0x5849e7(0x92)][_0x5849e7(0x7e)](_0x29af02),_0xc410ac=this[_0x5849e7(0x88)][_0x5849e7(0x92)][_0x5849e7(0x7e)](_0x27e141);_0x429c50[_0x5849e7(0x7a)](_0x5849e7(0x89),this),_0xc410ac[_0x5849e7(0x96)]&&_0x429c50[_0x5849e7(0x83)](_0x5849e7(0x89));}[_0x596dc7(0x9d)](_0x101604){const _0xdca98b=_0x596dc7;if(_0x101604===this[_0xdca98b(0xa1)])return;const _0x55c8c6=this[_0xdca98b(0x88)][_0xdca98b(0x92)][_0xdca98b(0x7e)](_0x27e141);_0x55c8c6[_0xdca98b(0x75)]=_0x101604;const _0x3a9914=this[_0xdca98b(0xa1)];this[_0xdca98b(0xa1)]=_0x101604,_0x55c8c6[_0xdca98b(0xab)]({'blurredAnnotation':_0x3a9914,'activatedAnnotation':this[_0xdca98b(0xa1)]});}[_0x596dc7(0x6c)](_0x4819c5){const _0x1e1907=_0x596dc7;this[_0x1e1907(0x72)]=_0x4819c5;const _0x24a126=this[_0x1e1907(0x88)][_0x1e1907(0x92)][_0x1e1907(0x7e)](_0x27e141);if(_0x24a126[_0x1e1907(0x90)]=_0x4819c5,this[_0x1e1907(0x7b)])throw new _0x3f1f07(_0x1e1907(0x82),this);this[_0x1e1907(0x7b)]=!0x0,this[_0x1e1907(0xaf)](_0x24a126,_0x1e1907(0xa5),()=>{const _0x55765f=_0x1e1907;this[_0x55765f(0xa8)](),this[_0x55765f(0xaf)](_0x24a126,_0x55765f(0x97),_0x168a94=>{const _0x1600ef=_0x55765f;_0x168a94[_0x1600ef(0x76)](),this[_0x1600ef(0x6c)](_0x4819c5);});}),_0x24a126[_0x1e1907(0x77)]({'viewClass':_0x1e1907(0x95)});const _0x56229d=_0x4b2c1b=>{const _0x1dd8d6=_0x1e1907;_0x4b2c1b[_0x1dd8d6(0x9f)](),_0x24a126[_0x1dd8d6(0xa4)](_0x4b2c1b);};for(const _0x26813b of _0x4819c5)_0x56229d(_0x26813b);this[_0x1e1907(0xaf)](_0x4819c5,_0x1e1907(0x7d),(_0x5e6129,_0x354163)=>{_0x56229d(_0x354163);}),this[_0x1e1907(0xaf)](_0x4819c5,_0x1e1907(0x80),(_0x57b6fe,_0x53b96e,_0xc133a)=>{const _0x53fbb9=_0x1e1907;_0x24a126[_0x53fbb9(0x74)]({'removedAnnotation':_0x53b96e,'previousAnnotation':_0x4819c5[_0x53fbb9(0x7e)](_0xc133a-0x1),'nextAnnotation':_0x4819c5[_0x53fbb9(0x7e)](_0xc133a+0x1)}),_0x53b96e===this[_0x53fbb9(0xa1)]&&this[_0x53fbb9(0x9d)](null);},{'priority':_0x1e1907(0x94)}),this[_0x1e1907(0xaf)](_0x4819c5,_0x1e1907(0x86),(_0x2d0a2b,_0x45cf49)=>{const _0x14a6ed=_0x1e1907;this[_0x14a6ed(0x9d)](_0x45cf49);}),this[_0x1e1907(0xaf)](_0x4819c5,_0x1e1907(0x6b),()=>{const _0x19d376=_0x1e1907;this[_0x19d376(0x9d)](null);});const _0x554434=this[_0x1e1907(0x88)]instanceof _0x79ce84?this[_0x1e1907(0x88)][_0x1e1907(0x81)]:new _0x20172f([this[_0x1e1907(0x88)]]);for(const _0x3868f9 of _0x554434)this[_0x1e1907(0x6f)](_0x3868f9);this[_0x1e1907(0xaf)](_0x554434,_0x1e1907(0x7d),(_0x48484c,_0x37e9d1)=>{const _0x2b6768=_0x1e1907;this[_0x2b6768(0xaf)](_0x37e9d1,_0x2b6768(0x8e),()=>{const _0xa3d7ae=_0x2b6768;this[_0xa3d7ae(0x6f)](_0x37e9d1);});}),this[_0x1e1907(0xaf)](_0x554434,_0x1e1907(0x80),(_0x1c1850,_0x3f1bcf)=>{const _0x430e73=_0x1e1907;_0x3f1bcf[_0x430e73(0x92)][_0x430e73(0xac)](_0x430e73(0x85))&&this[_0x430e73(0xa6)](_0x3f1bcf[_0x430e73(0x92)][_0x430e73(0x7e)](_0x430e73(0x85)));}),window[_0x1e1907(0xa2)](_0x1e1907(0x70),this[_0x1e1907(0x91)]),this[_0x1e1907(0x72)][_0x1e1907(0x71)]();}[_0x596dc7(0xa8)](){const _0x286d47=_0x596dc7;if(!this[_0x286d47(0x7b)])throw new _0x3f1f07(_0x286d47(0x8c),this);this[_0x286d47(0x9d)](null);const _0x5097a8=this[_0x286d47(0x88)][_0x286d47(0x92)][_0x286d47(0x7e)](_0x27e141);_0x5097a8[_0x286d47(0x84)](this[_0x286d47(0x72)]),this[_0x286d47(0x9c)](_0x5097a8),this[_0x286d47(0x9c)](this[_0x286d47(0x72)]),this[_0x286d47(0x88)]instanceof _0x79ce84&&this[_0x286d47(0x9c)](this[_0x286d47(0x88)][_0x286d47(0x81)]);for(const _0x4c36ce of Array[_0x286d47(0x6e)](this[_0x286d47(0xa0)]))this[_0x286d47(0xa6)](_0x4c36ce);window[_0x286d47(0x78)](_0x286d47(0x70),this[_0x286d47(0x91)]),this[_0x286d47(0x91)][_0x286d47(0x8a)](),this[_0x286d47(0xa1)]=null,this[_0x286d47(0x7b)]=!0x1,this[_0x286d47(0x72)]=null;}[_0x596dc7(0x7f)](){const _0x1364de=_0x596dc7;this[_0x1364de(0x7b)]&&this[_0x1364de(0xa8)]();}[_0x596dc7(0x6f)](_0x2efe37){const _0x33471f=_0x596dc7;if(!_0x2efe37[_0x33471f(0x92)][_0x33471f(0xac)](_0x33471f(0x85)))return;const _0x5cf782=_0x2efe37[_0x33471f(0x92)][_0x33471f(0x7e)](_0x33471f(0x85)),_0xbda281=()=>{const _0x52382c=_0x33471f,_0xa20b1d=_0x5cf782[_0x52382c(0xad)]({'annotations':this[_0x52382c(0x72)],'activeAnnotation':this[_0x52382c(0xa1)]});this[_0x52382c(0x9d)](_0xa20b1d[0x0]||null);};this[_0x33471f(0xaf)](_0x5cf782,_0x33471f(0xab),_0xbda281),this[_0x33471f(0xaf)](_0x5cf782,_0x33471f(0x6b),(_0x54e775,{isAnnotationTracked:_0x2329c6})=>{const _0x515e09=_0x33471f;this[_0x515e09(0xa1)]&&_0x2329c6(this[_0x515e09(0xa1)])&&this[_0x515e09(0x9d)](null);}),this[_0x33471f(0xaf)](_0x5cf782,_0x33471f(0x9a),()=>{const _0x5a2c02=_0x33471f;this[_0x5a2c02(0x91)]();}),this[_0x33471f(0xaf)](this[_0x33471f(0x72)],_0x33471f(0x6b),_0x2de126=>{const _0x3dad2d=_0x33471f;_0x5cf782[_0x3dad2d(0x8d)]()&&(_0xbda281(),_0x2de126[_0x3dad2d(0x6d)]());},{'priority':_0x33471f(0x94)}),this[_0x33471f(0xa0)][_0x33471f(0x7d)](_0x5cf782);}[_0x596dc7(0xa6)](_0x2d3e4f){const _0xd2603c=_0x596dc7;this[_0xd2603c(0x9c)](_0x2d3e4f),this[_0xd2603c(0xa0)][_0xd2603c(0x80)](_0x2d3e4f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5a9e35=_0x3681;function _0x3681(_0x3cc41c,_0x2adb80){const _0xc781f7=_0xc781();return _0x3681=function(_0x36817c,_0x51254f){_0x36817c=_0x36817c-0xb0;let _0x40b246=_0xc781f7[_0x36817c];return _0x40b246;},_0x3681(_0x3cc41c,_0x2adb80);}(function(_0x25c6fb,_0x39200a){const _0x2744e0=_0x3681,_0x37b8f8=_0x25c6fb();while(!![]){try{const _0x34522c=-parseInt(_0x2744e0(0xd0))/0x1*(parseInt(_0x2744e0(0xbe))/0x2)+parseInt(_0x2744e0(0xce))/0x3+-parseInt(_0x2744e0(0xb7))/0x4+parseInt(_0x2744e0(0xc7))/0x5*(parseInt(_0x2744e0(0xd5))/0x6)+parseInt(_0x2744e0(0xb6))/0x7*(parseInt(_0x2744e0(0xc6))/0x8)+parseInt(_0x2744e0(0xc4))/0x9*(-parseInt(_0x2744e0(0xc2))/0xa)+parseInt(_0x2744e0(0xb5))/0xb;if(_0x34522c===_0x39200a)break;else _0x37b8f8['push'](_0x37b8f8['shift']());}catch(_0x1dfc73){_0x37b8f8['push'](_0x37b8f8['shift']());}}}(_0xc781,0xbe662));import{Command as _0x10c055}from'ckeditor5/src/core.js';import{uid as _0x5f2a93}from'ckeditor5/src/utils.js';function _0xc781(){const _0x5bd2c5=['18593179FKyRGR','7vvOETz','5067724fVIBVJ','element','_itemIsContent','$textProxy','execute','createRange','getItems','718IvtdYc','isObject','comment:','schema','70JyGMYa','end','1315989aEjhvU','getRanges','556208aXnRdB','219985XRAEco','change','document','refresh','selection','item','start','1374978xGCJNP','backward','1793gxtbqg','model','getLastMatchingPosition','_trimToContent','substr','204hfSNur','addMarker','editor','tableCell','isEnabled','push','_hasContent'];_0xc781=function(){return _0x5bd2c5;};return _0xc781();}export default class J extends _0x10c055{[_0x5a9e35(0xca)](){const _0x3760f1=_0x5a9e35,_0x3e74ff=this[_0x3760f1(0xb0)][_0x3760f1(0xd1)][_0x3760f1(0xc9)][_0x3760f1(0xcb)];for(const _0xffac41 of _0x3e74ff[_0x3760f1(0xc5)]())if(this[_0x3760f1(0xb4)](_0xffac41))return void(this[_0x3760f1(0xb2)]=!0x0);this[_0x3760f1(0xb2)]=!0x1;}[_0x5a9e35(0xbb)]({threadId:_0x50f1b2=_0x5f2a93()}={}){const _0x42c8d4=_0x5a9e35,_0x2ac038=this[_0x42c8d4(0xb0)][_0x42c8d4(0xd1)],_0x4fffca=[];for(const _0x23cb7a of _0x2ac038[_0x42c8d4(0xc9)][_0x42c8d4(0xcb)][_0x42c8d4(0xc5)]())this[_0x42c8d4(0xb4)](_0x23cb7a)&&_0x4fffca[_0x42c8d4(0xb3)](this[_0x42c8d4(0xd3)](_0x23cb7a));_0x2ac038[_0x42c8d4(0xc8)](_0x183f8d=>{const _0x58736a=_0x42c8d4;for(const _0x2cd80d of _0x4fffca){const _0x1e0c41=_0x5f2a93()[_0x58736a(0xd4)](0x1,0x5),_0x5b0121=_0x58736a(0xc0)+_0x50f1b2+':'+_0x1e0c41;_0x183f8d[_0x58736a(0xd6)](_0x5b0121,{'range':_0x2cd80d,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x5a9e35(0xb4)](_0x37c00d){const _0x18e793=_0x5a9e35;for(const _0x18ea1c of _0x37c00d[_0x18e793(0xbd)]())if(this[_0x18e793(0xb9)](_0x18ea1c))return!0x0;return!0x1;}[_0x5a9e35(0xb9)](_0x3960e0){const _0x498f7c=_0x5a9e35;return _0x3960e0['is'](_0x498f7c(0xba))||this[_0x498f7c(0xb0)][_0x498f7c(0xd1)][_0x498f7c(0xc1)][_0x498f7c(0xbf)](_0x3960e0)&&!_0x3960e0['is'](_0x498f7c(0xb8),_0x498f7c(0xb1));}[_0x5a9e35(0xd3)](_0x2b2d14){const _0x89b7e4=_0x5a9e35,_0x4cd10c=_0x4761b8=>!this[_0x89b7e4(0xb9)](_0x4761b8[_0x89b7e4(0xcc)]),_0x3f7a9c=_0x2b2d14[_0x89b7e4(0xcd)][_0x89b7e4(0xd2)](_0x4cd10c),_0xfe7f0=_0x2b2d14[_0x89b7e4(0xc3)][_0x89b7e4(0xd2)](_0x4cd10c,{'direction':_0x89b7e4(0xcf)});return this[_0x89b7e4(0xb0)][_0x89b7e4(0xd1)][_0x89b7e4(0xbc)](_0x3f7a9c,_0xfe7f0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x365e74=_0x1026;(function(_0x3224c6,_0x40d0dc){const _0x54755c=_0x1026,_0x26b440=_0x3224c6();while(!![]){try{const _0x2edd59=-parseInt(_0x54755c(0xe6))/0x1*(parseInt(_0x54755c(0xe1))/0x2)+parseInt(_0x54755c(0xd0))/0x3+parseInt(_0x54755c(0xef))/0x4*(-parseInt(_0x54755c(0xf4))/0x5)+parseInt(_0x54755c(0xe5))/0x6+parseInt(_0x54755c(0xe9))/0x7*(parseInt(_0x54755c(0xf5))/0x8)+-parseInt(_0x54755c(0xf2))/0x9*(parseInt(_0x54755c(0xe3))/0xa)+parseInt(_0x54755c(0xe0))/0xb*(parseInt(_0x54755c(0xdf))/0xc);if(_0x2edd59===_0x40d0dc)break;else _0x26b440['push'](_0x26b440['shift']());}catch(_0x20f91e){_0x26b440['push'](_0x26b440['shift']());}}}(_0x454d,0xcb71f));function _0x1026(_0x3acb95,_0xa40f87){const _0x454d3b=_0x454d();return _0x1026=function(_0x102681,_0x34915f){_0x102681=_0x102681-0xd0;let _0x4ead63=_0x454d3b[_0x102681];return _0x4ead63;},_0x1026(_0x3acb95,_0xa40f87);}function _0x454d(){const _0x2d516e=['has','add','isOfficialPlugin','4NcpecN','listenTo','requires','27729hVTPom','init','6928130FQtINU','8jREMLP','focus','get','plugins','1512876FCawsi','length','isActive','stopListening','CommentsArchive','archivedAt','remove','addCommentThread','isVisible','change:archivedAt','removeCommentThread','getCommentThread','isPremiumPlugin','archivedThreads','findIndex','4067004wPOQDm','66YnJzAx','605104SJenpe','_calculatePosition','5080dxFjfn','activate','8471508LowxrF','2fZqRAP','context','highest','3076339PRIQXe','collection','pluginName'];_0x454d=function(){return _0x2d516e;};return _0x454d();}import{ContextPlugin as _0xd8f288}from'ckeditor5/src/core.js';import{Collection as _0x258255}from'ckeditor5/src/utils.js';import _0x4998ad from'./commentsrepository.js';import _0x13d00f from'../annotations/annotations.js';export default class f extends _0xd8f288{static get[_0x365e74(0xeb)](){const _0x3595a0=_0x365e74;return _0x3595a0(0xd4);}static get[_0x365e74(0xee)](){return!0x0;}static get[_0x365e74(0xdc)](){return!0x0;}static get[_0x365e74(0xf1)](){return[_0x4998ad,_0x13d00f];}constructor(_0x13b557){const _0xd173c7=_0x365e74;super(_0x13b557),this[_0xd173c7(0xdd)]=new _0x258255();}[_0x365e74(0xf3)](){const _0x35d5ed=_0x365e74,_0x161d1c=this[_0x35d5ed(0xe7)],_0x269ddc=_0x161d1c[_0x35d5ed(0xf8)][_0x35d5ed(0xf7)](_0x4998ad),_0x29a1d2=_0x161d1c[_0x35d5ed(0xf8)][_0x35d5ed(0xf7)](_0x13d00f);this[_0x35d5ed(0xf0)](_0x269ddc,_0x35d5ed(0xd7),(_0x3b1869,{threadId:_0x4984e6})=>{const _0x3f7831=_0x35d5ed,_0x4128a6=_0x269ddc[_0x3f7831(0xdb)](_0x4984e6);_0x4128a6[_0x3f7831(0xd5)]&&this[_0x3f7831(0xdd)][_0x3f7831(0xed)](_0x4128a6,this[_0x3f7831(0xe2)](_0x4128a6[_0x3f7831(0xd5)])),this[_0x3f7831(0xf0)](_0x4128a6,_0x3f7831(0xd9),(_0x39e6a1,_0x427eb5,_0x5c8503)=>{const _0xc723da=_0x3f7831;_0x5c8503?this[_0xc723da(0xdd)][_0xc723da(0xec)](_0x4128a6)||this[_0xc723da(0xdd)][_0xc723da(0xed)](_0x4128a6,this[_0xc723da(0xe2)](_0x4128a6[_0xc723da(0xd5)])):this[_0xc723da(0xdd)][_0xc723da(0xec)](_0x4128a6)&&this[_0xc723da(0xdd)][_0xc723da(0xd6)](_0x4128a6);});}),this[_0x35d5ed(0xf0)](_0x269ddc,_0x35d5ed(0xda),(_0x15a177,{threadId:_0x15aa7b})=>{const _0x18c01b=_0x35d5ed,_0x2e95e6=_0x269ddc[_0x18c01b(0xdb)](_0x15aa7b);this[_0x18c01b(0xd3)](_0x2e95e6),this[_0x18c01b(0xdd)][_0x18c01b(0xec)](_0x2e95e6)&&this[_0x18c01b(0xdd)][_0x18c01b(0xd6)](_0x2e95e6);},{'priority':_0x35d5ed(0xe8)}),this[_0x35d5ed(0xf0)](_0x29a1d2[_0x35d5ed(0xea)],_0x35d5ed(0xf6),(_0x5ed092,_0x3af6f5)=>{const _0x30ede4=_0x35d5ed;_0x3af6f5[_0x30ede4(0xd8)]||(_0x3af6f5[_0x30ede4(0xd2)]=!0x0,_0x29a1d2[_0x30ede4(0xe4)](_0x3af6f5));});}[_0x365e74(0xe2)](_0x16dce5){const _0xbcbb2d=_0x365e74,_0x215767=[...this[_0xbcbb2d(0xdd)]][_0xbcbb2d(0xde)](_0xe548e7=>_0xe548e7[_0xbcbb2d(0xd5)]<_0x16dce5);return _0x215767>-0x1?_0x215767:this[_0xbcbb2d(0xdd)][_0xbcbb2d(0xd1)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e5d6d=_0x5ce1;(function(_0x378829,_0x85ddcb){const _0x127e62=_0x5ce1,_0x2f496d=_0x378829();while(!![]){try{const _0x57594e=-parseInt(_0x127e62(0x10c))/0x1*(-parseInt(_0x127e62(0xfe))/0x2)+-parseInt(_0x127e62(0x102))/0x3+-parseInt(_0x127e62(0x103))/0x4*(parseInt(_0x127e62(0xff))/0x5)+parseInt(_0x127e62(0x108))/0x6+-parseInt(_0x127e62(0xfb))/0x7*(parseInt(_0x127e62(0x111))/0x8)+parseInt(_0x127e62(0x126))/0x9*(-parseInt(_0x127e62(0x11f))/0xa)+parseInt(_0x127e62(0xf8))/0xb;if(_0x57594e===_0x85ddcb)break;else _0x2f496d['push'](_0x2f496d['shift']());}catch(_0x165a3e){_0x2f496d['push'](_0x2f496d['shift']());}}}(_0x3a54,0x58c63));import'../../theme/commentsarchive.css';import{Plugin as _0x56d110}from'ckeditor5/src/core.js';import{ViewCollection as _0x329570,MenuBarMenuListItemButtonView as _0x7e1f62,ButtonView as _0xec24b8,Dialog as _0xf9bfc7,DialogViewPosition as _0x336979}from'ckeditor5/src/ui.js';function _0x5ce1(_0x1bcd5b,_0x556745){const _0x3a5480=_0x3a54();return _0x5ce1=function(_0x5ce1cb,_0x1caa20){_0x5ce1cb=_0x5ce1cb-0xf5;let _0x4e9de2=_0x3a5480[_0x5ce1cb];return _0x4e9de2;},_0x5ce1(_0x1bcd5b,_0x556745);}function _0x3a54(){const _0xd748ad=['commentsArchive','show','find','Annotations','Dialog','view','_createCommentsArchiveButton','push','collaboration.channelId','_visibleAnnotations','get','isEnabled','CommentsArchiveUI','isOpen','annotationViews','EDITOR_TOP_SIDE','requires','locale','stopListening','_pendingThreads','listenTo','filter','5102229KCVUCM','findIndex','archivedAt','34482xQDrux','indexOf','plugins','1250174wAIVBb','5vjJmDa','collection','commentsArchiveView','1910775CEJOxM','57756ywuFoq','menuBar:commentsArchive','tooltip','length','menuitemcheckbox','4127034lwYUuw','_calculatePosition','set','add','1gkUleI','COMMENTS_ARCHIVE','bind','focusableElements','_hideDialogOnAnnotationEscape','168sMolGK','archivedThreads','config','isVisible','editor','remove','componentFactory','has','source','channelId','getByInnerView','isOn','stop','_threadToController','29390PYnfYV','escape','splice','isPremiumPlugin','hide','isOfficialPlugin','pluginName','2016GOVeHn','init','CommentsRepository','execute','innerView','_toggleDialog'];_0x3a54=function(){return _0xd748ad;};return _0x3a54();}import _0x4a9a59 from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x72cd5d}from'../utils/common-translations.js';import _0x21ff5f from'./ui/view/commentsarchiveview.js';import _0x351458 from'./commentsarchive.js';export default class a extends _0x56d110{static get[_0x3e5d6d(0x125)](){const _0x31d93a=_0x3e5d6d;return _0x31d93a(0x138);}static get[_0x3e5d6d(0x124)](){return!0x0;}static get[_0x3e5d6d(0x122)](){return!0x0;}static get[_0x3e5d6d(0x13c)](){return[_0x351458,_0xf9bfc7];}constructor(_0x3cc152){const _0x4ea112=_0x3e5d6d;super(_0x3cc152),this[_0x4ea112(0x110)]=_0x559fec=>{const _0x6833bb=_0x4ea112,_0x2b6213=_0x559fec[_0x6833bb(0x119)];if(!this[_0x6833bb(0x13a)][_0x6833bb(0x118)](_0x2b6213[_0x6833bb(0x131)]))return;const _0x2a09f6=this[_0x6833bb(0x115)][_0x6833bb(0xfd)][_0x6833bb(0x136)](_0x6833bb(0x130));_0x2a09f6[_0x6833bb(0x139)]&&_0x6833bb(0x12c)===_0x2a09f6['id']&&(_0x2a09f6[_0x6833bb(0x123)](),_0x559fec[_0x6833bb(0x11d)]());},this[_0x4ea112(0x13a)]=new _0x329570(),this[_0x4ea112(0xf5)]=[];}[_0x3e5d6d(0x127)](){const _0x1bbfef=_0x3e5d6d,_0x4b1eec=this[_0x1bbfef(0x115)],_0x2f4915=this[_0x1bbfef(0x110)][_0x1bbfef(0x10e)](this);_0x4b1eec['ui'][_0x1bbfef(0x117)][_0x1bbfef(0x10b)](_0x1bbfef(0x12c),()=>this[_0x1bbfef(0x132)](_0xec24b8,!0x0)),_0x4b1eec['ui'][_0x1bbfef(0x117)][_0x1bbfef(0x10b)](_0x1bbfef(0x104),()=>{const _0xbdffed=_0x1bbfef,_0x2c95ac=this[_0xbdffed(0x132)](_0x7e1f62);return _0x2c95ac[_0xbdffed(0x10a)]({'role':_0xbdffed(0x107)}),_0x2c95ac;});const _0x505d9a=_0x4b1eec[_0x1bbfef(0xfd)][_0x1bbfef(0x136)](_0x351458),_0x183737=_0x4b1eec[_0x1bbfef(0xfd)][_0x1bbfef(0x136)](_0x1bbfef(0x12f)),_0x2791a5=_0x4b1eec[_0x1bbfef(0xfd)][_0x1bbfef(0x136)](_0x1bbfef(0x128));this[_0x1bbfef(0xf6)](_0x505d9a[_0x1bbfef(0x112)],_0x1bbfef(0x10b),(_0x4bb162,_0x42392d)=>{const _0x2f3b2c=_0x1bbfef,_0xf9a16a=_0x4b1eec[_0x2f3b2c(0x113)][_0x2f3b2c(0x136)](_0x2f3b2c(0x134));if(!_0xf9a16a||_0x42392d[_0x2f3b2c(0x11a)]===_0xf9a16a){const _0x3209d0=_0x2791a5[_0x2f3b2c(0x11e)][_0x2f3b2c(0x136)](_0x42392d);if(!_0x3209d0)return void this[_0x2f3b2c(0xf5)][_0x2f3b2c(0x133)](_0x42392d);const _0x1773b8=this[_0x2f3b2c(0x109)](_0x42392d[_0x2f3b2c(0xfa)]),_0x540425=_0x183737[_0x2f3b2c(0x11b)](_0x3209d0[_0x2f3b2c(0x131)]);_0x540425[_0x2f3b2c(0x114)]&&_0x183737[_0x2f3b2c(0x135)][_0x2f3b2c(0x116)](_0x540425),this[_0x2f3b2c(0x13a)][_0x2f3b2c(0x10b)](_0x540425[_0x2f3b2c(0x131)],_0x1773b8);}}),this[_0x1bbfef(0xf6)](_0x183737[_0x1bbfef(0x100)],_0x1bbfef(0x10b),(_0x109d58,_0x1465b0)=>{const _0x143234=_0x1bbfef,_0x4e2fb3=this[_0x143234(0xf5)][_0x143234(0x12e)](_0x5ea675=>{const _0x512eae=_0x143234,_0x2eb36c=_0x2791a5[_0x512eae(0x11e)][_0x512eae(0x136)](_0x5ea675);return _0x2eb36c&&_0x1465b0[_0x512eae(0x12a)]===_0x2eb36c[_0x512eae(0x131)];});if(_0x4e2fb3){const _0x4e7507=this[_0x143234(0x109)](_0x4e2fb3[_0x143234(0xfa)]);this[_0x143234(0x13a)][_0x143234(0x10b)](_0x1465b0[_0x143234(0x131)],_0x4e7507),this[_0x143234(0xf5)][_0x143234(0x121)](this[_0x143234(0xf5)][_0x143234(0xfc)](_0x4e2fb3),0x1);}}),this[_0x1bbfef(0xf6)](_0x505d9a[_0x1bbfef(0x112)],_0x1bbfef(0x116),(_0x391cb2,_0x281f55)=>{const _0x351e55=_0x1bbfef,_0x56fb02=_0x4b1eec[_0x351e55(0x113)][_0x351e55(0x136)](_0x351e55(0x134));if(!_0x56fb02||_0x281f55[_0x351e55(0x11a)]===_0x56fb02){const _0x4275c0=_0x2791a5[_0x351e55(0x11e)][_0x351e55(0x136)](_0x281f55),_0x330a89=_0x183737[_0x351e55(0x11b)](_0x4275c0[_0x351e55(0x131)]);this[_0x351e55(0x13a)][_0x351e55(0x116)](_0x330a89[_0x351e55(0x131)]),this[_0x351e55(0x13e)](_0x330a89[_0x351e55(0x10f)]);}}),this[_0x1bbfef(0xf6)](_0x183737[_0x1bbfef(0x100)],_0x1bbfef(0x10b),(_0x2e5a4b,_0x291f02)=>{const _0x2a9a97=_0x1bbfef;this[_0x2a9a97(0xf6)](_0x291f02,_0x2a9a97(0x120),_0x2f4915);}),this[_0x1bbfef(0xf6)](_0x183737[_0x1bbfef(0x100)],_0x1bbfef(0x116),(_0x5f28e6,_0x41a4c9)=>{const _0x4918ec=_0x1bbfef;this[_0x4918ec(0x13e)](_0x41a4c9,_0x4918ec(0x120),_0x2f4915);});}[_0x3e5d6d(0x109)](_0x46a736){const _0x3b3e77=_0x3e5d6d,_0xa7dbd=this[_0x3b3e77(0x115)][_0x3b3e77(0x113)][_0x3b3e77(0x136)](_0x3b3e77(0x134)),_0x355cb1=[...this[_0x3b3e77(0x115)][_0x3b3e77(0xfd)][_0x3b3e77(0x136)](_0x351458)[_0x3b3e77(0x112)]][_0x3b3e77(0xf7)](_0x565e95=>_0x565e95[_0x3b3e77(0x11a)]===_0xa7dbd)[_0x3b3e77(0xf9)](_0x4c31c7=>_0x4c31c7[_0x3b3e77(0xfa)]<_0x46a736);return _0x355cb1<0x0||_0x355cb1>this[_0x3b3e77(0x13a)][_0x3b3e77(0x106)]?this[_0x3b3e77(0x13a)][_0x3b3e77(0x106)]:_0x355cb1-0x1;}[_0x3e5d6d(0x12b)](){const _0x59b781=_0x3e5d6d,_0x3ce680=this[_0x59b781(0x115)],_0x5ab79b=_0x3ce680[_0x59b781(0xfd)][_0x59b781(0x136)](_0x59b781(0x130));this[_0x59b781(0x101)]||(this[_0x59b781(0x101)]=new _0x21ff5f(_0x3ce680[_0x59b781(0x13d)],this[_0x59b781(0x13a)])),_0x59b781(0x12c)===_0x5ab79b['id']?_0x5ab79b[_0x59b781(0x123)]():_0x5ab79b[_0x59b781(0x12d)]({'id':_0x59b781(0x12c),'title':_0x72cd5d(_0x3ce680[_0x59b781(0x13d)],_0x59b781(0x10d)),'icon':_0x4a9a59,'hasCloseButton':!0x0,'content':this[_0x59b781(0x101)],'position':_0x336979[_0x59b781(0x13b)]});}[_0x3e5d6d(0x132)](_0xbb303b,_0x352155=!0x1){const _0x2f7298=_0x3e5d6d,_0x1410c7=this[_0x2f7298(0x115)][_0x2f7298(0x13d)],_0xa89151=this[_0x2f7298(0x115)][_0x2f7298(0xfd)][_0x2f7298(0x136)](_0x2f7298(0x130)),_0x280d2d=new _0xbb303b(_0x1410c7);return _0x280d2d[_0x2f7298(0x10e)](_0x2f7298(0x137))['to'](this,_0x2f7298(0x137)),_0x280d2d[_0x2f7298(0x10e)](_0x2f7298(0x11c))['to'](_0xa89151,'id',_0x45923a=>_0x2f7298(0x12c)===_0x45923a),_0x280d2d[_0x2f7298(0x10a)]({'label':_0x72cd5d(_0x1410c7,_0x2f7298(0x10d)),'icon':_0x4a9a59,'isToggleable':!0x0}),_0x352155&&(_0x280d2d[_0x2f7298(0x105)]=!0x0),this[_0x2f7298(0xf6)](_0x280d2d,_0x2f7298(0x129),()=>this[_0x2f7298(0x12b)]()),_0x280d2d;}}
|