@ckeditor/ckeditor5-comments 43.1.0-alpha.6 → 43.1.0-alpha.8
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/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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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
|
-
function _0x5c7b(){const _0x562b01=['updateHeight','76601sHAUWd','clear','class','target','last','max','_createSidebarView','_targetTop','pluginName','list','length','isAnimationDisabled','_updateLastItem','set','_alignBeforeItem','209hAeMlm','_getItemAfter','_getMaxAvailableTop','_lastItem','container','context','Sidebar','getSidebarItemView','refresh','rearrange','appendChild','_alignForBottomChange','change:_lastItem','top','locale','change:bottom','remove','1692730MXpDdC','2SPeonE','targetRect','change:top','_activeAnnotation','init','_alignForTopChange','height','470hOEdrw','change:targetRect','get','define','_getTargetTop','listenTo','_recalculateBuffer','_sidebarItemViewToAnnotation','359316mbLQVx','27PDwaGI','sidebar-setcontainer-invalid-element','content','_setItemTop','sidebar.container','add','2495848CszHUj','view','_detachFromContainer','_annotations','1084740ITkcqa','object','render','nodeType','minHeight','config','_alignAfterItem','getIndex','delete','stopListening','366iguxby','setContainer','_recalculate','bottom','destroy','700868TfvcVS','12880MTrRPi','_getItemBefore','sidebar.preventScrollOutOfView','_alignToTargetRect','_attachToContainer','sidebar-attachtocontainer-missing-container','bind','isActive','_destroySidebarItemView','_annotationToSidebarItemView','element','addAnnotation','unbind','_spaceBetweenItems','push'];_0x5c7b=function(){return _0x562b01;};return _0x5c7b();}const _0x5b856f=_0xec07;(function(_0x3ba975,_0x5c092a){const _0xa9929f=_0xec07,_0xb5dae9=_0x3ba975();while(!![]){try{const _0x5b086c=-parseInt(_0xa9929f(0x12d))/0x1*(-parseInt(_0xa9929f(0x15f))/0x2)+parseInt(_0xa9929f(0x11e))/0x3+parseInt(_0xa9929f(0x12e))/0x4*(parseInt(_0xa9929f(0x10b))/0x5)+-parseInt(_0xa9929f(0x128))/0x6*(parseInt(_0xa9929f(0x13e))/0x7)+parseInt(_0xa9929f(0x11a))/0x8*(-parseInt(_0xa9929f(0x114))/0x9)+parseInt(_0xa9929f(0x15e))/0xa+-parseInt(_0xa9929f(0x14d))/0xb*(-parseInt(_0xa9929f(0x113))/0xc);if(_0x5b086c===_0x5c092a)break;else _0xb5dae9['push'](_0xb5dae9['shift']());}catch(_0x1cb200){_0xb5dae9['push'](_0xb5dae9['shift']());}}}(_0x5c7b,0x7a08c));function _0xec07(_0x17f202,_0x28facd){const _0x5c7b11=_0x5c7b();return _0xec07=function(_0xec0728,_0x3a035f){_0xec0728=_0xec0728-0x10a;let _0x1e5966=_0x5c7b11[_0xec0728];return _0x1e5966;},_0xec07(_0x17f202,_0x28facd);}import{ContextPlugin as _0x79385f}from'ckeditor5/src/core.js';import{Rect as _0x1599d9,CKEditorError as _0x39c366}from'ckeditor5/src/utils.js';import _0x34534e from'./view/sidebarview.js';import _0x3805ec from'./view/sidebaritemview.js';export default class D extends _0x79385f{static get[_0x5b856f(0x146)](){const _0x2f9dcf=_0x5b856f;return _0x2f9dcf(0x153);}constructor(_0x499089){const _0x545e32=_0x5b856f;super(_0x499089),this[_0x545e32(0x14b)](_0x545e32(0x150),void 0x0),this[_0x545e32(0x11b)]=this[_0x545e32(0x144)](),this[_0x545e32(0x14b)](_0x545e32(0x151),null),this[_0x545e32(0x13b)]=0x19,this[_0x545e32(0x112)]=new Map(),this[_0x545e32(0x137)]=new Map(),this[_0x545e32(0x152)][_0x545e32(0x123)][_0x545e32(0x10e)](_0x545e32(0x130),!0x1),this[_0x545e32(0x11d)]=null,this[_0x545e32(0x162)]=null,this[_0x545e32(0x111)]=[];}[_0x5b856f(0x163)](){const _0x4f9487=_0x5b856f,_0x38f012=this[_0x4f9487(0x152)][_0x4f9487(0x123)][_0x4f9487(0x10d)](_0x4f9487(0x118));_0x38f012&&this[_0x4f9487(0x129)](_0x38f012);}[_0x5b856f(0x129)](_0x65d48c){const _0x144945=_0x5b856f;if(!y(_0x65d48c))throw new _0x39c366(_0x144945(0x115));this[_0x144945(0x151)]=_0x65d48c;}[_0x5b856f(0x132)]({viewClass:_0x5d75ae='',spaceBetweenItems:_0x4e9796=0x19}={}){const _0x2406d4=_0x5b856f;if(!y(this[_0x2406d4(0x151)]))throw new _0x39c366(_0x2406d4(0x133),this);this[_0x2406d4(0x151)][_0x2406d4(0x157)](this[_0x2406d4(0x11b)][_0x2406d4(0x138)]),this[_0x2406d4(0x11b)][_0x2406d4(0x140)]=_0x5d75ae,this[_0x2406d4(0x13b)]=_0x4e9796;}[_0x5b856f(0x156)]({removedAnnotation:_0x19373d,previousAnnotation:_0x3134ce,nextAnnotation:_0x2d783f}){const _0xab76cf=_0x5b856f,_0x81597d=this[_0xab76cf(0x154)](_0x19373d);this[_0xab76cf(0x11b)][_0xab76cf(0x147)][_0xab76cf(0x15d)](_0x81597d),this[_0xab76cf(0x136)](_0x19373d),_0x3134ce&&this[_0xab76cf(0x131)](this[_0xab76cf(0x154)](_0x3134ce)),_0x2d783f&&this[_0xab76cf(0x131)](this[_0xab76cf(0x154)](_0x2d783f)),this[_0xab76cf(0x14a)]();}[_0x5b856f(0x155)]({blurredAnnotation:_0x454140,activatedAnnotation:_0xa2c7bc,disableAnimationOnActivatedAnnotation:_0x4c4228}){const _0x394408=_0x5b856f;if(this[_0x394408(0x162)]=_0xa2c7bc,_0x454140){_0x454140[_0x394408(0x135)]=!0x1;const _0x4dd014=this[_0x394408(0x154)](_0x454140);_0x4dd014&&_0x4c4228&&(_0x4dd014[_0x394408(0x149)]=!0x1);}if(_0xa2c7bc){const _0x5d1f45=this[_0x394408(0x154)](_0xa2c7bc);_0x5d1f45&&(_0xa2c7bc[_0x394408(0x135)]=!0x0,_0x4c4228&&(_0x5d1f45[_0x394408(0x149)]=!0x0,_0x5d1f45[_0x394408(0x15a)]+=0x1),this[_0x394408(0x131)](_0x5d1f45));}}[_0x5b856f(0x11c)](_0xe73da9){const _0x352335=_0x5b856f;if(this[_0x352335(0x11b)][_0x352335(0x138)][_0x352335(0x15d)](),_0xe73da9){for(const _0x2a2e43 of _0xe73da9)this[_0x352335(0x136)](_0x2a2e43);}this[_0x352335(0x11b)][_0x352335(0x147)][_0x352335(0x13f)](),this[_0x352335(0x11b)][_0x352335(0x140)]='',this[_0x352335(0x150)]=null;}[_0x5b856f(0x139)](_0x1899ba,_0x2e5908){const _0x4ecde7=_0x5b856f;_0x2e5908||(_0x2e5908=_0x1899ba[_0x4ecde7(0x11b)]);const _0x50190c=new _0x3805ec(this[_0x4ecde7(0x152)][_0x4ecde7(0x15b)]);this[_0x4ecde7(0x112)][_0x4ecde7(0x14b)](_0x50190c,_0x1899ba),this[_0x4ecde7(0x137)][_0x4ecde7(0x14b)](_0x1899ba,_0x50190c),_0x50190c[_0x4ecde7(0x116)][_0x4ecde7(0x119)](_0x2e5908),this[_0x4ecde7(0x110)](_0x1899ba[_0x4ecde7(0x11b)],_0x4ecde7(0x10c),(_0x122e33,_0x55ea0f,_0x36051d)=>{const _0x12fbcf=_0x4ecde7,_0x7f0401=this[_0x12fbcf(0x10f)](_0x1899ba,_0x36051d);_0x50190c[_0x12fbcf(0x145)]!=_0x7f0401&&(_0x50190c[_0x12fbcf(0x145)]=_0x7f0401,this[_0x12fbcf(0x117)](_0x50190c,_0x7f0401));}),this[_0x4ecde7(0x110)](_0x50190c,_0x4ecde7(0x161),()=>{const _0x2173b3=_0x4ecde7;this[_0x2173b3(0x12a)](_0x50190c,_0x2173b3(0x15a));}),this[_0x4ecde7(0x110)](_0x50190c,_0x4ecde7(0x15c),()=>{const _0x34c10e=_0x4ecde7;this[_0x34c10e(0x12a)](_0x50190c,_0x34c10e(0x12b));}),this[_0x4ecde7(0x131)](_0x50190c);const _0x4b7f0b=this[_0x4ecde7(0x12f)](_0x50190c);if(_0x4b7f0b)this[_0x4ecde7(0x124)](_0x4b7f0b,_0x50190c)||this[_0x4ecde7(0x131)](_0x50190c);else this[_0x4ecde7(0x131)](_0x50190c);return this[_0x4ecde7(0x14a)](),this[_0x4ecde7(0x11b)][_0x4ecde7(0x147)][_0x4ecde7(0x119)](_0x50190c),_0x50190c;}[_0x5b856f(0x164)](_0x2f6cf8){const _0x36ac1d=_0x5b856f;if(!_0x2f6cf8[_0x36ac1d(0x116)][_0x36ac1d(0x148)])return;const _0x472472=this[_0x36ac1d(0x12f)](_0x2f6cf8);if(!_0x472472)return;const _0x13a553=this[_0x36ac1d(0x112)][_0x36ac1d(0x10d)](_0x472472),_0x170a3b=this[_0x36ac1d(0x162)];_0x170a3b&&_0x170a3b===_0x13a553?this[_0x36ac1d(0x124)](_0x472472,_0x2f6cf8):this[_0x36ac1d(0x14c)](_0x2f6cf8,_0x472472);}[_0x5b856f(0x158)](_0x59a69c){const _0x596cb7=_0x5b856f;if(!_0x59a69c[_0x596cb7(0x116)][_0x596cb7(0x148)])return;const _0x308908=this[_0x596cb7(0x14e)](_0x59a69c);if(!_0x308908)return;const _0x39630f=this[_0x596cb7(0x112)][_0x596cb7(0x10d)](_0x308908),_0x43049d=this[_0x596cb7(0x152)][_0x596cb7(0x123)][_0x596cb7(0x10d)](_0x596cb7(0x130)),_0x25bfe4=this[_0x596cb7(0x162)];_0x25bfe4&&_0x25bfe4===_0x39630f&&_0x43049d?(this[_0x596cb7(0x14c)](_0x308908,_0x59a69c),this[_0x596cb7(0x124)](_0x59a69c,_0x308908)):_0x25bfe4&&_0x25bfe4===_0x39630f?this[_0x596cb7(0x14c)](_0x308908,_0x59a69c):this[_0x596cb7(0x124)](_0x59a69c,_0x308908);}[_0x5b856f(0x12a)](_0x2b914d,_0x1b765f){const _0x4d2a95=_0x5b856f;0x0===this[_0x4d2a95(0x111)][_0x4d2a95(0x148)]&&setTimeout(()=>{const _0x192f1=_0x4d2a95;for(const {sidebarItemView:_0x54e39c,changedProp:_0x103acd}of this[_0x192f1(0x111)])_0x192f1(0x15a)===_0x103acd?this[_0x192f1(0x164)](_0x54e39c):this[_0x192f1(0x158)](_0x54e39c);this[_0x192f1(0x111)]=[];},0xa),this[_0x4d2a95(0x111)][_0x4d2a95(0x13c)]({'sidebarItemView':_0x2b914d,'changedProp':_0x1b765f});}[_0x5b856f(0x154)](_0x1ee46c){const _0x42bba0=_0x5b856f;return this[_0x42bba0(0x137)][_0x42bba0(0x10d)](_0x1ee46c);}[_0x5b856f(0x12c)](){const _0x1d3f83=_0x5b856f;this[_0x1d3f83(0x127)](),this[_0x1d3f83(0x11b)][_0x1d3f83(0x12c)]();}[_0x5b856f(0x136)](_0x6fe662){const _0xd21ca6=_0x5b856f,_0x567ceb=this[_0xd21ca6(0x154)](_0x6fe662);this[_0xd21ca6(0x127)](_0x567ceb),this[_0xd21ca6(0x127)](_0x6fe662[_0xd21ca6(0x11b)]),_0x567ceb[_0xd21ca6(0x12c)](),this[_0xd21ca6(0x137)][_0xd21ca6(0x126)](_0x6fe662),this[_0xd21ca6(0x112)][_0xd21ca6(0x126)](_0x567ceb);}[_0x5b856f(0x144)](){const _0x2643c2=_0x5b856f,_0x22419a=new _0x34534e(this[_0x2643c2(0x152)][_0x2643c2(0x15b)]);return _0x22419a[_0x2643c2(0x120)](),this['on'](_0x2643c2(0x159),(_0x235334,_0x3f09c1,_0x474bde,_0xc4ef7f)=>{const _0x245442=_0x2643c2;_0xc4ef7f&&_0x22419a[_0x245442(0x13a)](_0x245442(0x122)),_0x474bde?_0x22419a[_0x245442(0x134)](_0x245442(0x122))['to'](_0x474bde,_0x245442(0x12b)):_0x22419a[_0x245442(0x122)]=null;}),_0x22419a;}[_0x5b856f(0x14a)](){const _0x438831=_0x5b856f;var _0x216b64;this[_0x438831(0x150)]=(null===(_0x216b64=this[_0x438831(0x11d)])||void 0x0===_0x216b64?void 0x0:_0x216b64[_0x438831(0x142)])?this[_0x438831(0x154)](this[_0x438831(0x11d)][_0x438831(0x142)]):null;}[_0x5b856f(0x12f)](_0x2ea77d){const _0x43b1d0=_0x5b856f;var _0x26e455;const _0x2b7c98=this[_0x43b1d0(0x112)][_0x43b1d0(0x10d)](_0x2ea77d),_0x4fcdfb=_0x2b7c98&&(null===(_0x26e455=this[_0x43b1d0(0x11d)])||void 0x0===_0x26e455?void 0x0:_0x26e455[_0x43b1d0(0x10d)](this[_0x43b1d0(0x11d)][_0x43b1d0(0x125)](_0x2b7c98)-0x1));return _0x4fcdfb&&this[_0x43b1d0(0x154)](_0x4fcdfb)||null;}[_0x5b856f(0x14e)](_0x594621){const _0x4d3410=_0x5b856f;var _0x42f897;const _0x211af2=this[_0x4d3410(0x112)][_0x4d3410(0x10d)](_0x594621),_0x3e761a=_0x211af2&&(null===(_0x42f897=this[_0x4d3410(0x11d)])||void 0x0===_0x42f897?void 0x0:_0x42f897[_0x4d3410(0x10d)](this[_0x4d3410(0x11d)][_0x4d3410(0x125)](_0x211af2)+0x1));return _0x3e761a&&this[_0x4d3410(0x154)](_0x3e761a)||null;}[_0x5b856f(0x14c)](_0x525b3b,_0x6a74be){const _0x2574e5=_0x5b856f;_0x525b3b[_0x2574e5(0x13d)]();const _0x2bded5=R(_0x6a74be[_0x2574e5(0x12b)]+this[_0x2574e5(0x13b)],_0x525b3b[_0x2574e5(0x15a)]);return!!_0x2bded5&&(this[_0x2574e5(0x117)](_0x6a74be,_0x6a74be[_0x2574e5(0x15a)]-_0x2bded5),!0x0);}[_0x5b856f(0x124)](_0xba79bf,_0x281262){const _0x5efa92=_0x5b856f;_0xba79bf[_0x5efa92(0x13d)]();const _0x4ee4bc=R(_0xba79bf[_0x5efa92(0x12b)]+this[_0x5efa92(0x13b)],_0x281262[_0x5efa92(0x15a)]);return!!_0x4ee4bc&&(this[_0x5efa92(0x117)](_0x281262,_0x281262[_0x5efa92(0x15a)]+_0x4ee4bc,!0x1),!0x0);}[_0x5b856f(0x131)](_0x3cf43e){const _0x50b57d=_0x5b856f,_0x108baa=this[_0x50b57d(0x112)][_0x50b57d(0x10d)](_0x3cf43e);if(!_0x108baa||!_0x108baa[_0x50b57d(0x141)]||!_0x108baa[_0x50b57d(0x160)])return;const _0x388d78=this[_0x50b57d(0x10f)](_0x108baa,_0x108baa[_0x50b57d(0x160)]);this[_0x50b57d(0x117)](_0x3cf43e,_0x388d78);}[_0x5b856f(0x10f)](_0x3d0189,_0x15fc91){const _0x7f3f6d=_0x5b856f;if(null===_0x15fc91)return 0x0;if(_0x3d0189[_0x7f3f6d(0x141)]instanceof _0x1599d9)return _0x15fc91[_0x7f3f6d(0x15a)];{const _0x530bcc=new _0x1599d9(this[_0x7f3f6d(0x11b)][_0x7f3f6d(0x138)])[_0x7f3f6d(0x15a)];return _0x15fc91[_0x7f3f6d(0x15a)]-_0x530bcc;}}[_0x5b856f(0x117)](_0x399c15,_0x5e8591,_0x47f6fe=this[_0x5b856f(0x152)][_0x5b856f(0x123)][_0x5b856f(0x10d)](_0x5b856f(0x130))){const _0x4341e4=_0x5b856f;_0x47f6fe&&(_0x5e8591=Math[_0x4341e4(0x143)](_0x5e8591,this[_0x4341e4(0x14f)](_0x399c15))),_0x399c15[_0x4341e4(0x15a)]=_0x5e8591;}[_0x5b856f(0x14f)](_0x1d8888){const _0x30c0c1=_0x5b856f;let _0x3bca57=this[_0x30c0c1(0x12f)](_0x1d8888),_0xd00248=0x0;for(;_0x3bca57;)_0x3bca57[_0x30c0c1(0x13d)](),_0xd00248+=this[_0x30c0c1(0x13b)]+_0x3bca57[_0x30c0c1(0x10a)],_0x3bca57=this[_0x30c0c1(0x12f)](_0x3bca57);return _0xd00248;}}function R(_0x571fd3,_0x34d276){const _0x59dcf5=_0x5b856f;return Math[_0x59dcf5(0x143)](_0x571fd3-_0x34d276,0x0);}function y(_0x3318e6){const _0x4f3098=_0x5b856f;return null!==_0x3318e6&&_0x4f3098(0x11f)==typeof _0x3318e6&&0x1===_0x3318e6[_0x4f3098(0x121)];}
|
|
23
|
+
const _0x25dae5=_0x54a4;(function(_0x4ec535,_0x13104b){const _0x34378=_0x54a4,_0x548989=_0x4ec535();while(!![]){try{const _0x22369d=parseInt(_0x34378(0x222))/0x1+-parseInt(_0x34378(0x21e))/0x2+parseInt(_0x34378(0x203))/0x3+-parseInt(_0x34378(0x1ee))/0x4*(parseInt(_0x34378(0x20d))/0x5)+-parseInt(_0x34378(0x205))/0x6+-parseInt(_0x34378(0x220))/0x7*(parseInt(_0x34378(0x22b))/0x8)+parseInt(_0x34378(0x214))/0x9*(parseInt(_0x34378(0x233))/0xa);if(_0x22369d===_0x13104b)break;else _0x548989['push'](_0x548989['shift']());}catch(_0x53f26f){_0x548989['push'](_0x548989['shift']());}}}(_0x7876,0x2cab2));import{ContextPlugin as _0x54b3e1}from'ckeditor5/src/core.js';import{Rect as _0x40f304,CKEditorError as _0x13c386}from'ckeditor5/src/utils.js';import _0x3f992b from'./view/sidebarview.js';function _0x54a4(_0x43bb2b,_0x145548){const _0x78762=_0x7876();return _0x54a4=function(_0x54a4b2,_0x2dbc76){_0x54a4b2=_0x54a4b2-0x1eb;let _0x5910d9=_0x78762[_0x54a4b2];return _0x5910d9;},_0x54a4(_0x43bb2b,_0x145548);}import _0x3e8fb4 from'./view/sidebaritemview.js';export default class D extends _0x54b3e1{static get[_0x25dae5(0x232)](){const _0x2eb1c0=_0x25dae5;return _0x2eb1c0(0x1f3);}constructor(_0x17154c){const _0x1c1843=_0x25dae5;super(_0x17154c),this[_0x1c1843(0x1f6)](_0x1c1843(0x23e),void 0x0),this[_0x1c1843(0x1fe)]=this[_0x1c1843(0x206)](),this[_0x1c1843(0x1f6)](_0x1c1843(0x22f),null),this[_0x1c1843(0x216)]=0x19,this[_0x1c1843(0x238)]=new Map(),this[_0x1c1843(0x240)]=new Map(),this[_0x1c1843(0x1f5)][_0x1c1843(0x21c)][_0x1c1843(0x208)](_0x1c1843(0x230),!0x1),this[_0x1c1843(0x1f9)]=null,this[_0x1c1843(0x1ff)]=null,this[_0x1c1843(0x242)]=[];}[_0x25dae5(0x21b)](){const _0x426193=_0x25dae5,_0x57b765=this[_0x426193(0x1f5)][_0x426193(0x21c)][_0x426193(0x1fa)](_0x426193(0x231));_0x57b765&&this[_0x426193(0x217)](_0x57b765);}[_0x25dae5(0x217)](_0x1f98c5){const _0x4db82a=_0x25dae5;if(!y(_0x1f98c5))throw new _0x13c386(_0x4db82a(0x224));this[_0x4db82a(0x22f)]=_0x1f98c5;}[_0x25dae5(0x23b)]({viewClass:_0x1a6839='',spaceBetweenItems:_0x5e0196=0x19}={}){const _0x253977=_0x25dae5;if(!y(this[_0x253977(0x22f)]))throw new _0x13c386(_0x253977(0x218),this);this[_0x253977(0x22f)][_0x253977(0x21d)](this[_0x253977(0x1fe)][_0x253977(0x239)]),this[_0x253977(0x1fe)][_0x253977(0x1f7)]=_0x1a6839,this[_0x253977(0x216)]=_0x5e0196;}[_0x25dae5(0x20e)]({removedAnnotation:_0x2656a1,previousAnnotation:_0x9d1635,nextAnnotation:_0x4f9093}){const _0x3cee1e=_0x25dae5,_0xb5cac7=this[_0x3cee1e(0x1f0)](_0x2656a1);this[_0x3cee1e(0x1fe)][_0x3cee1e(0x209)][_0x3cee1e(0x21f)](_0xb5cac7),this[_0x3cee1e(0x223)](_0x2656a1),_0x9d1635&&this[_0x3cee1e(0x1ed)](this[_0x3cee1e(0x1f0)](_0x9d1635)),_0x4f9093&&this[_0x3cee1e(0x1ed)](this[_0x3cee1e(0x1f0)](_0x4f9093)),this[_0x3cee1e(0x202)]();}[_0x25dae5(0x22d)]({blurredAnnotation:_0x579328,activatedAnnotation:_0x247997,disableAnimationOnActivatedAnnotation:_0x4c8924}){const _0x287ee2=_0x25dae5;if(this[_0x287ee2(0x1ff)]=_0x247997,_0x579328){_0x579328[_0x287ee2(0x1f2)]=!0x1;const _0x30a7d3=this[_0x287ee2(0x1f0)](_0x579328);_0x30a7d3&&_0x4c8924&&(_0x30a7d3[_0x287ee2(0x236)]=!0x1);}if(_0x247997){const _0x56f304=this[_0x287ee2(0x1f0)](_0x247997);_0x56f304&&(_0x247997[_0x287ee2(0x1f2)]=!0x0,_0x4c8924&&(_0x56f304[_0x287ee2(0x236)]=!0x0,_0x56f304[_0x287ee2(0x1fb)]+=0x1),this[_0x287ee2(0x1ed)](_0x56f304));}}[_0x25dae5(0x234)](_0x2d786b){const _0x16dc72=_0x25dae5;if(this[_0x16dc72(0x1fe)][_0x16dc72(0x239)][_0x16dc72(0x21f)](),_0x2d786b){for(const _0x18a635 of _0x2d786b)this[_0x16dc72(0x223)](_0x18a635);}this[_0x16dc72(0x1fe)][_0x16dc72(0x209)][_0x16dc72(0x1ec)](),this[_0x16dc72(0x1fe)][_0x16dc72(0x1f7)]='',this[_0x16dc72(0x23e)]=null;}[_0x25dae5(0x243)](_0xd8662e,_0x36d0e8){const _0x275961=_0x25dae5;_0x36d0e8||(_0x36d0e8=_0xd8662e[_0x275961(0x1fe)]);const _0x24bca4=new _0x3e8fb4(this[_0x275961(0x1f5)][_0x275961(0x226)]);this[_0x275961(0x238)][_0x275961(0x1f6)](_0x24bca4,_0xd8662e),this[_0x275961(0x240)][_0x275961(0x1f6)](_0xd8662e,_0x24bca4),_0x24bca4[_0x275961(0x20c)][_0x275961(0x210)](_0x36d0e8),this[_0x275961(0x1fd)](_0xd8662e[_0x275961(0x1fe)],_0x275961(0x22e),(_0x4b809a,_0x5e7a36,_0x265b3b)=>{const _0x3bbba0=_0x275961,_0x1170cd=this[_0x3bbba0(0x201)](_0xd8662e,_0x265b3b);_0x24bca4[_0x3bbba0(0x1fc)]!=_0x1170cd&&(_0x24bca4[_0x3bbba0(0x1fc)]=_0x1170cd,this[_0x3bbba0(0x229)](_0x24bca4,_0x1170cd));}),this[_0x275961(0x1fd)](_0x24bca4,_0x275961(0x227),()=>{const _0x5c5b88=_0x275961;this[_0x5c5b88(0x23c)](_0x24bca4,_0x5c5b88(0x1fb));}),this[_0x275961(0x1fd)](_0x24bca4,_0x275961(0x23d),()=>{const _0x24af84=_0x275961;this[_0x24af84(0x23c)](_0x24bca4,_0x24af84(0x20f));}),this[_0x275961(0x1ed)](_0x24bca4);const _0x796fec=this[_0x275961(0x200)](_0x24bca4);if(_0x796fec)this[_0x275961(0x207)](_0x796fec,_0x24bca4)||this[_0x275961(0x1ed)](_0x24bca4);else this[_0x275961(0x1ed)](_0x24bca4);return this[_0x275961(0x202)](),this[_0x275961(0x1fe)][_0x275961(0x209)][_0x275961(0x210)](_0x24bca4),_0x24bca4;}[_0x25dae5(0x228)](_0x42b798){const _0xcf00f=_0x25dae5;if(!_0x42b798[_0xcf00f(0x20c)][_0xcf00f(0x219)])return;const _0x29da7c=this[_0xcf00f(0x200)](_0x42b798);if(!_0x29da7c)return;const _0x2fd9c2=this[_0xcf00f(0x238)][_0xcf00f(0x1fa)](_0x29da7c),_0xf5a659=this[_0xcf00f(0x1ff)];_0xf5a659&&_0xf5a659===_0x2fd9c2?this[_0xcf00f(0x207)](_0x29da7c,_0x42b798):this[_0xcf00f(0x221)](_0x42b798,_0x29da7c);}[_0x25dae5(0x213)](_0x2873fe){const _0x2dae26=_0x25dae5;if(!_0x2873fe[_0x2dae26(0x20c)][_0x2dae26(0x219)])return;const _0x26b255=this[_0x2dae26(0x212)](_0x2873fe);if(!_0x26b255)return;const _0x2a84a2=this[_0x2dae26(0x238)][_0x2dae26(0x1fa)](_0x26b255),_0x5f334f=this[_0x2dae26(0x1f5)][_0x2dae26(0x21c)][_0x2dae26(0x1fa)](_0x2dae26(0x230)),_0x24b084=this[_0x2dae26(0x1ff)];_0x24b084&&_0x24b084===_0x2a84a2&&_0x5f334f?(this[_0x2dae26(0x221)](_0x26b255,_0x2873fe),this[_0x2dae26(0x207)](_0x2873fe,_0x26b255)):_0x24b084&&_0x24b084===_0x2a84a2?this[_0x2dae26(0x221)](_0x26b255,_0x2873fe):this[_0x2dae26(0x207)](_0x2873fe,_0x26b255);}[_0x25dae5(0x23c)](_0x1dce6c,_0x16f5a5){const _0x226339=_0x25dae5;0x0===this[_0x226339(0x242)][_0x226339(0x219)]&&setTimeout(()=>{const _0x201331=_0x226339;for(const {sidebarItemView:_0x35c896,changedProp:_0x490950}of this[_0x201331(0x242)])_0x201331(0x1fb)===_0x490950?this[_0x201331(0x228)](_0x35c896):this[_0x201331(0x213)](_0x35c896);this[_0x201331(0x242)]=[];},0xa),this[_0x226339(0x242)][_0x226339(0x20a)]({'sidebarItemView':_0x1dce6c,'changedProp':_0x16f5a5});}[_0x25dae5(0x1f0)](_0x44963a){const _0x5a7b11=_0x25dae5;return this[_0x5a7b11(0x240)][_0x5a7b11(0x1fa)](_0x44963a);}[_0x25dae5(0x23a)](){const _0x30aa63=_0x25dae5;this[_0x30aa63(0x225)](),this[_0x30aa63(0x1fe)][_0x30aa63(0x23a)]();}[_0x25dae5(0x223)](_0x39a5f4){const _0x3f29af=_0x25dae5,_0x1a9946=this[_0x3f29af(0x1f0)](_0x39a5f4);this[_0x3f29af(0x225)](_0x1a9946),this[_0x3f29af(0x225)](_0x39a5f4[_0x3f29af(0x1fe)]),_0x1a9946[_0x3f29af(0x23a)](),this[_0x3f29af(0x240)][_0x3f29af(0x22c)](_0x39a5f4),this[_0x3f29af(0x238)][_0x3f29af(0x22c)](_0x1a9946);}[_0x25dae5(0x206)](){const _0x112070=_0x25dae5,_0x362041=new _0x3f992b(this[_0x112070(0x1f5)][_0x112070(0x226)]);return _0x362041[_0x112070(0x1ef)](),this['on'](_0x112070(0x235),(_0x22a552,_0x1eb679,_0x1ff112,_0x597b72)=>{const _0x3a63d2=_0x112070;_0x597b72&&_0x362041[_0x3a63d2(0x21a)](_0x3a63d2(0x1f8)),_0x1ff112?_0x362041[_0x3a63d2(0x211)](_0x3a63d2(0x1f8))['to'](_0x1ff112,_0x3a63d2(0x20f)):_0x362041[_0x3a63d2(0x1f8)]=null;}),_0x362041;}[_0x25dae5(0x202)](){const _0x109563=_0x25dae5;var _0x520cef;this[_0x109563(0x23e)]=(null===(_0x520cef=this[_0x109563(0x1f9)])||void 0x0===_0x520cef?void 0x0:_0x520cef[_0x109563(0x23f)])?this[_0x109563(0x1f0)](this[_0x109563(0x1f9)][_0x109563(0x23f)]):null;}[_0x25dae5(0x200)](_0x7452fe){const _0x287d33=_0x25dae5;var _0x53611e;const _0x995635=this[_0x287d33(0x238)][_0x287d33(0x1fa)](_0x7452fe),_0x52af0c=_0x995635&&(null===(_0x53611e=this[_0x287d33(0x1f9)])||void 0x0===_0x53611e?void 0x0:_0x53611e[_0x287d33(0x1fa)](this[_0x287d33(0x1f9)][_0x287d33(0x1f1)](_0x995635)-0x1));return _0x52af0c&&this[_0x287d33(0x1f0)](_0x52af0c)||null;}[_0x25dae5(0x212)](_0x260d4b){const _0xf84296=_0x25dae5;var _0x54dc1a;const _0x590937=this[_0xf84296(0x238)][_0xf84296(0x1fa)](_0x260d4b),_0x372081=_0x590937&&(null===(_0x54dc1a=this[_0xf84296(0x1f9)])||void 0x0===_0x54dc1a?void 0x0:_0x54dc1a[_0xf84296(0x1fa)](this[_0xf84296(0x1f9)][_0xf84296(0x1f1)](_0x590937)+0x1));return _0x372081&&this[_0xf84296(0x1f0)](_0x372081)||null;}[_0x25dae5(0x221)](_0x3884fc,_0x54e817){const _0x3b6247=_0x25dae5;_0x3884fc[_0x3b6247(0x22a)]();const _0x8b1904=R(_0x54e817[_0x3b6247(0x20f)]+this[_0x3b6247(0x216)],_0x3884fc[_0x3b6247(0x1fb)]);return!!_0x8b1904&&(this[_0x3b6247(0x229)](_0x54e817,_0x54e817[_0x3b6247(0x1fb)]-_0x8b1904),!0x0);}[_0x25dae5(0x207)](_0xb39b12,_0x164ab2){const _0x1f37f8=_0x25dae5;_0xb39b12[_0x1f37f8(0x22a)]();const _0xf989e9=R(_0xb39b12[_0x1f37f8(0x20f)]+this[_0x1f37f8(0x216)],_0x164ab2[_0x1f37f8(0x1fb)]);return!!_0xf989e9&&(this[_0x1f37f8(0x229)](_0x164ab2,_0x164ab2[_0x1f37f8(0x1fb)]+_0xf989e9,!0x1),!0x0);}[_0x25dae5(0x1ed)](_0x100695){const _0x1a766d=_0x25dae5,_0x5dd350=this[_0x1a766d(0x238)][_0x1a766d(0x1fa)](_0x100695);if(!_0x5dd350||!_0x5dd350[_0x1a766d(0x204)]||!_0x5dd350[_0x1a766d(0x1eb)])return;const _0xd73fe5=this[_0x1a766d(0x201)](_0x5dd350,_0x5dd350[_0x1a766d(0x1eb)]);this[_0x1a766d(0x229)](_0x100695,_0xd73fe5);}[_0x25dae5(0x201)](_0xf5cc1b,_0xd40a38){const _0x8ba551=_0x25dae5;if(null===_0xd40a38)return 0x0;if(_0xf5cc1b[_0x8ba551(0x204)]instanceof _0x40f304)return _0xd40a38[_0x8ba551(0x1fb)];{const _0x3b2c47=new _0x40f304(this[_0x8ba551(0x1fe)][_0x8ba551(0x239)])[_0x8ba551(0x1fb)];return _0xd40a38[_0x8ba551(0x1fb)]-_0x3b2c47;}}[_0x25dae5(0x229)](_0x3550c9,_0x1a5bd0,_0x16cc7b=this[_0x25dae5(0x1f5)][_0x25dae5(0x21c)][_0x25dae5(0x1fa)](_0x25dae5(0x230))){const _0x1094de=_0x25dae5;_0x16cc7b&&(_0x1a5bd0=Math[_0x1094de(0x20b)](_0x1a5bd0,this[_0x1094de(0x241)](_0x3550c9))),_0x3550c9[_0x1094de(0x1fb)]=_0x1a5bd0;}[_0x25dae5(0x241)](_0x42f49a){const _0x4c6d85=_0x25dae5;let _0x58d338=this[_0x4c6d85(0x200)](_0x42f49a),_0x5bdf81=0x0;for(;_0x58d338;)_0x58d338[_0x4c6d85(0x22a)](),_0x5bdf81+=this[_0x4c6d85(0x216)]+_0x58d338[_0x4c6d85(0x215)],_0x58d338=this[_0x4c6d85(0x200)](_0x58d338);return _0x5bdf81;}}function R(_0x33b09e,_0x53f661){const _0x29222b=_0x25dae5;return Math[_0x29222b(0x20b)](_0x33b09e-_0x53f661,0x0);}function _0x7876(){const _0x2abde2=['sidebar-setcontainer-invalid-element','stopListening','locale','change:top','_alignForTopChange','_setItemTop','updateHeight','6568LdYYGS','delete','refresh','change:targetRect','container','sidebar.preventScrollOutOfView','sidebar.container','pluginName','33490gtvtgM','_detachFromContainer','change:_lastItem','isAnimationDisabled','nodeType','_sidebarItemViewToAnnotation','element','destroy','_attachToContainer','_recalculate','change:bottom','_lastItem','last','_annotationToSidebarItemView','_getMaxAvailableTop','_recalculateBuffer','addAnnotation','targetRect','clear','_alignToTargetRect','8pvnQRd','render','getSidebarItemView','getIndex','isActive','Sidebar','object','context','set','class','minHeight','_annotations','get','top','_targetTop','listenTo','view','_activeAnnotation','_getItemBefore','_getTargetTop','_updateLastItem','72165PGEuYs','target','1774848fbvTuU','_createSidebarView','_alignAfterItem','define','list','push','max','content','92555ivECcF','rearrange','bottom','add','bind','_getItemAfter','_alignForBottomChange','2367lJyFSh','height','_spaceBetweenItems','setContainer','sidebar-attachtocontainer-missing-container','length','unbind','init','config','appendChild','634018aMDdvg','remove','1407hnyllR','_alignBeforeItem','92980fJvLHm','_destroySidebarItemView'];_0x7876=function(){return _0x2abde2;};return _0x7876();}function y(_0x30e89a){const _0x18d8b6=_0x25dae5;return null!==_0x30e89a&&_0x18d8b6(0x1f4)==typeof _0x30e89a&&0x1===_0x30e89a[_0x18d8b6(0x237)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x35b269,_0x12c4a5){const _0x20f64a=_0x2640,_0x4df736=_0x35b269();while(!![]){try{const _0xd22011=-parseInt(_0x20f64a(0x1cb))/0x1*(-parseInt(_0x20f64a(0x1e2))/0x2)+-parseInt(_0x20f64a(0x1e5))/0x3*(parseInt(_0x20f64a(0x1ca))/0x4)+parseInt(_0x20f64a(0x1cc))/0x5*(parseInt(_0x20f64a(0x1d9))/0x6)+-parseInt(_0x20f64a(0x1d1))/0x7+-parseInt(_0x20f64a(0x1d0))/0x8+-parseInt(_0x20f64a(0x1df))/0x9*(-parseInt(_0x20f64a(0x1d4))/0xa)+-parseInt(_0x20f64a(0x1e0))/0xb;if(_0xd22011===_0x12c4a5)break;else _0x4df736['push'](_0x4df736['shift']());}catch(_0x4dd291){_0x4df736['push'](_0x4df736['shift']());}}}(_0x51e7,0xd4705));import{ButtonView as _0x39b9c7,View as _0x541d45}from'ckeditor5/src/ui.js';function _0x2640(_0x3374e9,_0x435989){const _0x51e775=_0x51e7();return _0x2640=function(_0x26401d,_0x33b48a){_0x26401d=_0x26401d-0x1c7;let _0x4dc19c=_0x51e775[_0x26401d];return _0x4dc19c;},_0x2640(_0x3374e9,_0x435989);}import _0x52f4cd from'../../../theme/icons/add-comment.svg';function _0x51e7(){const _0xb3816d=['bindTemplate','144PHfYPa','10452002UKeRXq','toString','152BaXfQt','ck-annotation-counter','isDirty','75BkDLjP','counterView','number','ck-annotation-counter__badge--edit-mode','140908usOJnC','18173ELqbGD','686955rXhVfc','add','children','bind','4835256KHWmES','4142754VGnJEC','set','ck-annotation-counter__badge--','799730cLSeaI','span','ck-annotation-counter__badge','_badge','extendTemplate','54TGFStq','...','annotationType','icon','setTemplate'];_0x51e7=function(){return _0xb3816d;};return _0x51e7();}export default class L extends _0x39b9c7{constructor(_0x560129){const _0x6e73ed=_0x2640;super(_0x560129);const _0x2e33b8=this[_0x6e73ed(0x1de)];this[_0x6e73ed(0x1d2)](_0x6e73ed(0x1e4),!0x1),this[_0x6e73ed(0x1d2)](_0x6e73ed(0x1c8),0x0),this[_0x6e73ed(0x1cf)](_0x6e73ed(0x1d7))['to'](this,_0x6e73ed(0x1e4),this,_0x6e73ed(0x1c8),(_0x441c59,_0x46e16c)=>_0x441c59?_0x6e73ed(0x1da):_0x46e16c[_0x6e73ed(0x1e1)]()),this[_0x6e73ed(0x1d2)](_0x6e73ed(0x1db),''),this[_0x6e73ed(0x1dc)]=_0x52f4cd,this[_0x6e73ed(0x1d8)]({'attributes':{'class':[_0x6e73ed(0x1e3)]}}),this[_0x6e73ed(0x1c7)]=new _0x541d45(),this[_0x6e73ed(0x1c7)][_0x6e73ed(0x1dd)]({'tag':_0x6e73ed(0x1d5),'attributes':{'class':[_0x6e73ed(0x1d6),_0x2e33b8['to'](_0x6e73ed(0x1db),_0x294a91=>_0x6e73ed(0x1d3)+_0x294a91),_0x2e33b8['if'](_0x6e73ed(0x1e4),_0x6e73ed(0x1c9))]},'children':[{'text':_0x2e33b8['to'](_0x6e73ed(0x1d7))}]}),this[_0x6e73ed(0x1ce)][_0x6e73ed(0x1cd)](this[_0x6e73ed(0x1c7)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32d251=_0xc52f;(function(_0x43d193,_0x3071ca){const _0x5fce4f=_0xc52f,_0xc2526d=_0x43d193();while(!![]){try{const _0x5af984=-parseInt(_0x5fce4f(0x13e))/0x1*(parseInt(_0x5fce4f(0x146))/0x2)+parseInt(_0x5fce4f(0x13b))/0x3*(-parseInt(_0x5fce4f(0x140))/0x4)+-parseInt(_0x5fce4f(0x13c))/0x5*(-parseInt(_0x5fce4f(0x13f))/0x6)+-parseInt(_0x5fce4f(0x141))/0x7*(parseInt(_0x5fce4f(0x132))/0x8)+-parseInt(_0x5fce4f(0x136))/0x9*(parseInt(_0x5fce4f(0x14e))/0xa)+parseInt(_0x5fce4f(0x15a))/0xb*(parseInt(_0x5fce4f(0x15e))/0xc)+parseInt(_0x5fce4f(0x151))/0xd;if(_0x5af984===_0x3071ca)break;else _0xc2526d['push'](_0xc2526d['shift']());}catch(_0x4c86f6){_0xc2526d['push'](_0xc2526d['shift']());}}}(_0x6904,0x305fe));function _0xc52f(_0x2a6080,_0x52a452){const _0x6904c8=_0x6904();return _0xc52f=function(_0xc52f9,_0x5441bd){_0xc52f9=_0xc52f9-0x132;let _0x4f3f50=_0x6904c8[_0xc52f9];return _0x4f3f50;},_0xc52f(_0x2a6080,_0x52a452);}import{View as _0x48c9eb}from'ckeditor5/src/ui.js';import{FocusTracker as _0x137087,KeystrokeHandler as _0x3b4fff,uid as _0x5a2b42}from'ckeditor5/src/utils.js';import _0x42885d from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0x6904(){const _0x3c7185=['clear','attach','focusTracker','set','setTemplate','927790ascqAF','type','destroy','11003265jPmoom','bindTemplate','listenTo','fire','height','mainView','length','element','ck-annotation-wrapper','22NqyGKs','isActive','clientHeight','first','834060fCAVGe','_updateHeight','focus','detach','div','ck-annotation-wrapper--active','65144uEQebG','add','createCollection','presentation','36KalINu','ck-rounded-corners','keystrokes','arrowdown','delegate','9iTlZuU','17965DhoWqc','_mutationObserver','92hAveMC','78hZxXfn','426588QSeDil','21frLsIl','isDirty','render','content','arrowup','2576UqwFfV','Esc','targetRect'];_0x6904=function(){return _0x3c7185;};return _0x6904();}export default class T extends _0x48c9eb{constructor(_0x376272,_0x4388f2){const _0x299ba5=_0xc52f;super(_0x376272),this['id']=_0x5a2b42(),this[_0x299ba5(0x14b)]=new _0x137087(),this[_0x299ba5(0x138)]=new _0x3b4fff(),this[_0x299ba5(0x138)][_0x299ba5(0x14c)](_0x299ba5(0x147),(_0x17feb8,_0x51cff7)=>this[_0x299ba5(0x154)](_0x299ba5(0x147),_0x51cff7)),this[_0x299ba5(0x14c)](_0x299ba5(0x148),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x299ba5(0x14c)](_0x299ba5(0x155),0x0),this[_0x299ba5(0x14c)](_0x299ba5(0x15b),!0x1),this[_0x299ba5(0x14c)](_0x299ba5(0x142),!0x1),this[_0x299ba5(0x14c)](_0x299ba5(0x157),0x0),this[_0x299ba5(0x14c)](_0x299ba5(0x14f),''),this[_0x299ba5(0x13d)]=_0x42885d(()=>this[_0x299ba5(0x15f)]()),this[_0x299ba5(0x144)]=this[_0x299ba5(0x134)](),this[_0x299ba5(0x144)][_0x299ba5(0x13a)](_0x299ba5(0x145),_0x299ba5(0x139))['to'](this),this[_0x299ba5(0x144)][_0x299ba5(0x133)](_0x4388f2),this[_0x299ba5(0x156)]=_0x4388f2;const _0x328ec9=this[_0x299ba5(0x152)];this[_0x299ba5(0x14d)]({'tag':_0x299ba5(0x162),'attributes':{'class':['ck',_0x299ba5(0x159),_0x299ba5(0x137),_0x328ec9['if'](_0x299ba5(0x15b),_0x299ba5(0x163))],'role':_0x299ba5(0x135)},'children':this[_0x299ba5(0x144)]});}[_0x32d251(0x143)](){const _0x30825c=_0x32d251;super[_0x30825c(0x143)](),this[_0x30825c(0x14b)][_0x30825c(0x133)](this[_0x30825c(0x158)]),this[_0x30825c(0x138)][_0x30825c(0x153)](this[_0x30825c(0x158)]),this[_0x30825c(0x13d)][_0x30825c(0x14a)](this[_0x30825c(0x158)]);}[_0x32d251(0x150)](){const _0x51a773=_0x32d251;this[_0x51a773(0x144)][_0x51a773(0x149)](),this[_0x51a773(0x138)][_0x51a773(0x150)](),this[_0x51a773(0x14b)][_0x51a773(0x150)](),this[_0x51a773(0x13d)][_0x51a773(0x161)](),super[_0x51a773(0x150)]();}[_0x32d251(0x160)](){const _0x2fd833=_0x32d251;this[_0x2fd833(0x144)][_0x2fd833(0x15d)]&&this[_0x2fd833(0x144)][_0x2fd833(0x15d)][_0x2fd833(0x160)]();}[_0x32d251(0x15f)](){const _0x18288a=_0x32d251,_0x4c2670=this[_0x18288a(0x158)][_0x18288a(0x15c)];_0x4c2670&&(this[_0x18288a(0x155)]=_0x4c2670);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2078f8=_0x4946;(function(_0x29d988,_0x3176ee){const _0x13ceaa=_0x4946,_0x59c2e5=_0x29d988();while(!![]){try{const _0x1ebc66=parseInt(_0x13ceaa(0x112))/0x1*(-parseInt(_0x13ceaa(0x126))/0x2)+parseInt(_0x13ceaa(0x117))/0x3+-parseInt(_0x13ceaa(0x128))/0x4*(-parseInt(_0x13ceaa(0x113))/0x5)+-parseInt(_0x13ceaa(0x108))/0x6*(parseInt(_0x13ceaa(0x105))/0x7)+-parseInt(_0x13ceaa(0x123))/0x8*(parseInt(_0x13ceaa(0x11c))/0x9)+parseInt(_0x13ceaa(0x10f))/0xa+parseInt(_0x13ceaa(0x109))/0xb;if(_0x1ebc66===_0x3176ee)break;else _0x59c2e5['push'](_0x59c2e5['shift']());}catch(_0x3123a7){_0x59c2e5['push'](_0x59c2e5['shift']());}}}(_0x29b7,0x1ae42));function _0x4946(_0x3b3174,_0x585393){const _0x29b7a0=_0x29b7();return _0x4946=function(_0x4946bd,_0x588f98){_0x4946bd=_0x4946bd-0x103;let _0x32e61f=_0x29b7a0[_0x4946bd];return _0x32e61f;},_0x4946(_0x3b3174,_0x585393);}import{View as _0xb8408d}from'ckeditor5/src/ui.js';import{toUnit as _0x42b06c}from'ckeditor5/src/utils.js';import _0x43d10a from'../../utils/createmutationobserver.js';const qt=_0x42b06c('px');export default class H extends _0xb8408d{constructor(_0x33384c){const _0x50ccd7=_0x4946;super(_0x33384c),this[_0x50ccd7(0x119)](_0x50ccd7(0x11f),0x0),this[_0x50ccd7(0x119)](_0x50ccd7(0x10a),0x0),this[_0x50ccd7(0x11d)](_0x50ccd7(0x11b))['to'](this,_0x50ccd7(0x11f),this,_0x50ccd7(0x10a),(_0x3e8ac0,_0x30d9ac)=>_0x3e8ac0+_0x30d9ac),this[_0x50ccd7(0x119)](_0x50ccd7(0x129),!0x1),this[_0x50ccd7(0x103)]=_0x43d10a(()=>this[_0x50ccd7(0x107)]()),this[_0x50ccd7(0x104)]=null,this[_0x50ccd7(0x110)]=this[_0x50ccd7(0x114)](),this[_0x50ccd7(0x110)][_0x50ccd7(0x125)](_0x50ccd7(0x124),_0x50ccd7(0x10b))['to'](this);const _0x94cb0=this[_0x50ccd7(0x115)];this[_0x50ccd7(0x10c)]({'tag':_0x50ccd7(0x111),'attributes':{'class':[_0x50ccd7(0x10d),_0x94cb0['to'](_0x50ccd7(0x129),_0x4956ee=>_0x4956ee?_0x50ccd7(0x12a):'')],'style':{'top':_0x94cb0['to'](_0x50ccd7(0x11f),_0x326bb8=>qt(_0x326bb8))},'role':_0x50ccd7(0x11e)},'children':this[_0x50ccd7(0x110)]});}[_0x2078f8(0x120)](){const _0xe70a01=_0x2078f8;super[_0xe70a01(0x120)](),this[_0xe70a01(0x103)][_0xe70a01(0x118)](this[_0xe70a01(0x116)]);}[_0x2078f8(0x127)](){const _0x340048=_0x2078f8;this[_0x340048(0x110)][_0x340048(0x121)]&&this[_0x340048(0x110)][_0x340048(0x121)][_0x340048(0x127)]();}[_0x2078f8(0x107)](){const _0x43253=_0x2078f8,_0x4bc448=this[_0x43253(0x116)][_0x43253(0x122)];_0x4bc448&&(this[_0x43253(0x10a)]=_0x4bc448);}[_0x2078f8(0x10e)](){const _0x836fe8=_0x2078f8;this[_0x836fe8(0x110)][_0x836fe8(0x11a)](),this[_0x836fe8(0x103)][_0x836fe8(0x106)](),super[_0x836fe8(0x10e)]();}}function _0x29b7(){const _0x3d85a0=['205220FkenPs','isAnimationDisabled','ck-sidebar-item--no-animation','_mutationObserver','_targetTop','772121ooXlBV','detach','updateHeight','6JdiBRr','1092806xCNWtV','height','arrowdown','setTemplate','ck-sidebar-item','destroy','1973870uazOoi','content','div','690DWFwSX','5pijwHE','createCollection','bindTemplate','element','226962TJnRxi','attach','set','clear','bottom','1717407TSrxee','bind','presentation','top','render','first','clientHeight','8DmuMHu','arrowup','delegate','36wRonlQ','focus'];_0x29b7=function(){return _0x3d85a0;};return _0x29b7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19d6d3=_0xe4f8;(function(_0x433d09,_0x1924d1){const _0x51ba2b=_0xe4f8,_0x482354=_0x433d09();while(!![]){try{const _0x3a2652=parseInt(_0x51ba2b(0xb8))/0x1+-parseInt(_0x51ba2b(0xaf))/0x2+parseInt(_0x51ba2b(0x92))/0x3+-parseInt(_0x51ba2b(0x96))/0x4+parseInt(_0x51ba2b(0xaa))/0x5*(parseInt(_0x51ba2b(0x9d))/0x6)+-parseInt(_0x51ba2b(0xa1))/0x7*(parseInt(_0x51ba2b(0xb2))/0x8)+parseInt(_0x51ba2b(0xa3))/0x9;if(_0x3a2652===_0x1924d1)break;else _0x482354['push'](_0x482354['shift']());}catch(_0x118f89){_0x482354['push'](_0x482354['shift']());}}}(_0x4f65,0x510b5));import{View as _0x3e60ec,FocusCycler as _0x9ea46}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3a989c,toUnit as _0x4101ff}from'ckeditor5/src/utils.js';import{getTranslation as _0x2e5ea6}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const qt=_0x4101ff('px');function _0xe4f8(_0x510ec8,_0x34c77e){const _0x4f6597=_0x4f65();return _0xe4f8=function(_0xe4f8be,_0x39edd1){_0xe4f8be=_0xe4f8be-0x89;let _0xb44596=_0x4f6597[_0xe4f8be];return _0xb44596;},_0xe4f8(_0x510ec8,_0x34c77e);}function _0x4f65(){const _0x292f07=['element','createCollection','269988uDXyrO','Annotations\x20list','forEach','137336mQZDdg','ck-reset','ck-sidebar','_setupKeyboardNavigation','div','set','318560vOHOfY','list','Annotations\x20sidebar','render','getIndex','application','source','setTemplate','minHeight','delegate','arrowup','top','300237FiRuWy','remove','length','focusPrevious','1936276kqzMQk','uiLanguageDirection','add','focus','bindTemplate','focusTracker','_updateItemPositionInFocusables','3778566gvACuf','focusFirst','class','focusCycler','42EgpiTW','change:top','50598dNarlV','change','added','removed','focusables','listenTo','number','5zOTvxM','arrowdown','focusNext'];_0x4f65=function(){return _0x292f07;};return _0x4f65();}export default class V extends _0x3e60ec{constructor(_0x196ce4){const _0x4e234f=_0xe4f8;super(_0x196ce4);const _0xc7dc1c=this[_0x4e234f(0x9a)];this[_0x4e234f(0xb7)](_0x4e234f(0x8e),0x0),this[_0x4e234f(0xb7)](_0x4e234f(0x9f),''),this[_0x4e234f(0xb9)]=this[_0x4e234f(0xae)](),this[_0x4e234f(0xa7)]=this[_0x4e234f(0xae)](),this[_0x4e234f(0xb9)][_0x4e234f(0x8f)](_0x4e234f(0x90),_0x4e234f(0xab))['to'](this),this[_0x4e234f(0x9b)]=new _0x3a989c(),this[_0x4e234f(0xa0)]=new _0x9ea46({'focusables':this[_0x4e234f(0xa7)],'focusTracker':this[_0x4e234f(0x9b)]}),this[_0x4e234f(0x8d)]({'tag':_0x4e234f(0xb6),'attributes':{'class':['ck',_0x4e234f(0xb4),_0x4e234f(0xb3),_0xc7dc1c['to'](_0x4e234f(0x9f))],'style':{'minHeight':_0xc7dc1c['to'](_0x4e234f(0x8e),_0x1ca144=>_0x4e234f(0xa9)==typeof _0x1ca144?qt(_0x1ca144+0xa):null)},'dir':_0x196ce4[_0x4e234f(0x97)],'role':_0x4e234f(0x8b),'aria-label':_0x2e5ea6(_0x196ce4,_0x4e234f(0xba)),'tabindex':0x0},'children':[{'tag':_0x4e234f(0xb6),'attributes':{'role':_0x4e234f(0xb9),'aria-label':_0x2e5ea6(_0x196ce4,_0x4e234f(0xb0))},'children':this[_0x4e234f(0xb9)]}]});}[_0x19d6d3(0x89)](){const _0x315f10=_0x19d6d3;super[_0x315f10(0x89)](),this[_0x315f10(0xb5)]();}[_0x19d6d3(0x99)](){const _0x1a404=_0x19d6d3;this[_0x1a404(0xa0)][_0x1a404(0x9e)]();}[_0x19d6d3(0xb5)](){const _0x30b752=_0x19d6d3;this[_0x30b752(0xb9)][_0x30b752(0x8f)](_0x30b752(0xa2))['to'](this),this['on'](_0x30b752(0xa2),_0x3bf808=>{const _0x5c18e4=_0x30b752;this[_0x5c18e4(0x9c)](_0x3bf808[_0x5c18e4(0x8c)]);}),this[_0x30b752(0xb9)][_0x30b752(0xb1)](_0xf659d=>{const _0x4c171a=_0x30b752;this[_0x4c171a(0x9b)][_0x4c171a(0x98)](_0xf659d[_0x4c171a(0xad)]),this[_0x4c171a(0x9c)](_0xf659d);}),this[_0x30b752(0xb9)]['on'](_0x30b752(0xa4),(_0xcf310d,_0x1ea8f8)=>{const _0x38bd82=_0x30b752;for(const _0x3fde2c of _0x1ea8f8[_0x38bd82(0xa6)])this[_0x38bd82(0x9b)][_0x38bd82(0x93)](_0x3fde2c[_0x38bd82(0xad)]),this[_0x38bd82(0xa7)][_0x38bd82(0x93)](_0x3fde2c);for(const _0x158985 of _0x1ea8f8[_0x38bd82(0xa5)])this[_0x38bd82(0x9b)][_0x38bd82(0x98)](_0x158985[_0x38bd82(0xad)]),this[_0x38bd82(0x9c)](_0x158985);}),this['on'](_0x30b752(0x90),()=>{const _0x4c50ca=_0x30b752;this[_0x4c50ca(0xa0)][_0x4c50ca(0x95)]();}),this['on'](_0x30b752(0xab),()=>{const _0x18ba92=_0x30b752;this[_0x18ba92(0xa0)][_0x18ba92(0xac)]();}),this[_0x30b752(0xa8)](this[_0x30b752(0xad)],_0x30b752(0x99),()=>{const _0x2d9950=_0x30b752;this[_0x2d9950(0x99)]();});}[_0x19d6d3(0x9c)](_0x4944c9){const _0x5a1e62=_0x19d6d3,_0x17d960=this[_0x5a1e62(0xa7)][_0x5a1e62(0x8a)](_0x4944c9);let _0x323b8b,_0x4d66f5;for(const _0x1ad6c7 of this[_0x5a1e62(0xa7)])if(_0x4944c9[_0x5a1e62(0x91)]<_0x1ad6c7[_0x5a1e62(0x91)]){_0x323b8b=_0x1ad6c7;break;}if(_0x4d66f5=_0x323b8b?this[_0x5a1e62(0xa7)][_0x5a1e62(0x8a)](_0x323b8b):this[_0x5a1e62(0xa7)][_0x5a1e62(0x94)],-0x1!==_0x17d960){if(_0x17d960===_0x4d66f5-0x1)return;this[_0x5a1e62(0xa7)][_0x5a1e62(0x93)](_0x4944c9),_0x4d66f5=_0x323b8b?this[_0x5a1e62(0xa7)][_0x5a1e62(0x8a)](_0x323b8b):this[_0x5a1e62(0xa7)][_0x5a1e62(0x94)];}this[_0x5a1e62(0xa7)][_0x5a1e62(0x98)](_0x4944c9,_0x4d66f5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3edfca=_0x4eb3;function _0x12bc(){const _0x1b11f6=['_annotations','refreshPositioning','detach','23656SJKSTM','_editorAnnotations','resize','272900mdLpWJ','hasDomSelection','448080ehrEUt','addAnnotation','widesidebar-detach-not-attached','_attachToContainer','set','removeEventListener','addEventListener','add','register','change:container','ready','_refreshPositioningDebounced','listenTo','isAttached','switchTo','140vqZWQf','container','pluginName','_detachFromContainer','getOrderedSelectedAnnotations','widesidebar-attach-already-attached','editors','408DLwYZF','updateTargetRect','setActiveAnnotation','remove','702LuuYqU','216HjEsxF','from','requires','rearrange','WideSidebar','attach','set:container','1137969IwuaHw','activeAnnotation','wideSidebar','annotations','blur','plugins','_activeAnnotation','cancel','refresh','EditorAnnotations','420nMPsBK','stopListening','destroy','high','_destroyEditorAnnotationsIntegration','uiUpdate','has','ck-sidebar--wide','stop','focus','_integrateWithEditorAnnotations','context','off','init','526390efyKSd','get'];_0x12bc=function(){return _0x1b11f6;};return _0x12bc();}(function(_0x1b6533,_0x557ce1){const _0x4eda75=_0x4eb3,_0xb1eb6e=_0x1b6533();while(!![]){try{const _0x337e2b=-parseInt(_0x4eda75(0x234))/0x1*(parseInt(_0x4eda75(0x233))/0x2)+-parseInt(_0x4eda75(0x22f))/0x3*(-parseInt(_0x4eda75(0x201))/0x4)+parseInt(_0x4eda75(0x20f))/0x5+-parseInt(_0x4eda75(0x219))/0x6+parseInt(_0x4eda75(0x228))/0x7*(parseInt(_0x4eda75(0x214))/0x8)+parseInt(_0x4eda75(0x1f7))/0x9+-parseInt(_0x4eda75(0x217))/0xa;if(_0x337e2b===_0x557ce1)break;else _0xb1eb6e['push'](_0xb1eb6e['shift']());}catch(_0x3d3487){_0xb1eb6e['push'](_0xb1eb6e['shift']());}}}(_0x12bc,0x1f179));import{ContextPlugin as _0x46067c,Context as _0x296290}from'ckeditor5/src/core.js';import _0x40c978 from'./annotationsuis.js';function _0x4eb3(_0x537e4c,_0x1c90c5){const _0x12bcc3=_0x12bc();return _0x4eb3=function(_0x4eb338,_0x332ea6){_0x4eb338=_0x4eb338-0x1f3;let _0x2f3d02=_0x12bcc3[_0x4eb338];return _0x2f3d02;},_0x4eb3(_0x537e4c,_0x1c90c5);}import _0x3f21f8 from'./sidebar.js';import{CKEditorError as _0x337f44,Collection as _0x326c14}from'ckeditor5/src/utils.js';import{debounce as _0x318b3c}from'lodash-es';export default class n extends _0x46067c{static get[_0x3edfca(0x236)](){return[_0x3f21f8,_0x40c978];}static get[_0x3edfca(0x22a)](){const _0x3c709d=_0x3edfca;return _0x3c709d(0x1f4);}constructor(_0x4d56ef){const _0x551d51=_0x3edfca;super(_0x4d56ef),this[_0x551d51(0x226)]=!0x1,this[_0x551d51(0x21d)](_0x551d51(0x1f8),null),this[_0x551d51(0x1fa)]=null,this[_0x551d51(0x215)]=new _0x326c14(),this[_0x551d51(0x224)]=_0x318b3c(()=>{const _0x5d4242=_0x551d51;this[_0x5d4242(0x1fa)][_0x5d4242(0x212)]();},0xfa,{'leading':!0x1});}[_0x3edfca(0x20e)](){const _0x5b7bb7=_0x3edfca,_0x3718cc=this[_0x5b7bb7(0x20c)][_0x5b7bb7(0x1fc)][_0x5b7bb7(0x210)](_0x40c978),_0x364c21=this[_0x5b7bb7(0x20c)][_0x5b7bb7(0x1fc)][_0x5b7bb7(0x210)](_0x3f21f8);_0x3718cc[_0x5b7bb7(0x221)](_0x5b7bb7(0x1f9),this),_0x364c21[_0x5b7bb7(0x229)]&&_0x3718cc[_0x5b7bb7(0x227)](_0x5b7bb7(0x1f9));}[_0x3edfca(0x231)](_0x16975a){const _0x34933d=_0x3edfca;if(_0x16975a===this[_0x34933d(0x1f8)])return;const _0x14aa25=this[_0x34933d(0x20c)][_0x34933d(0x1fc)][_0x34933d(0x210)](_0x3f21f8);_0x14aa25[_0x34933d(0x1fd)]=_0x16975a;const _0x3156b7=this[_0x34933d(0x1f8)];this[_0x34933d(0x1f8)]=_0x16975a,_0x14aa25[_0x34933d(0x1ff)]({'blurredAnnotation':_0x3156b7,'activatedAnnotation':this[_0x34933d(0x1f8)]});}[_0x3edfca(0x1f5)](_0xb153e2){const _0x2fd9b8=_0x3edfca;this[_0x2fd9b8(0x1fa)]=_0xb153e2;const _0x2e8d3f=this[_0x2fd9b8(0x20c)][_0x2fd9b8(0x1fc)][_0x2fd9b8(0x210)](_0x3f21f8);if(_0x2e8d3f[_0x2fd9b8(0x211)]=_0xb153e2,this[_0x2fd9b8(0x226)])throw new _0x337f44(_0x2fd9b8(0x22d),this);this[_0x2fd9b8(0x226)]=!0x0,this[_0x2fd9b8(0x225)](_0x2e8d3f,_0x2fd9b8(0x1f6),()=>{const _0x558009=_0x2fd9b8;this[_0x558009(0x213)](),this[_0x558009(0x225)](_0x2e8d3f,_0x558009(0x222),_0xbf79df=>{const _0x17ee1b=_0x558009;_0xbf79df[_0x17ee1b(0x20d)](),this[_0x17ee1b(0x1f5)](_0xb153e2);});}),_0x2e8d3f[_0x2fd9b8(0x21c)]({'viewClass':_0x2fd9b8(0x208)});const _0x44e378=_0x10d89d=>{const _0x3643ce=_0x2fd9b8;_0x10d89d[_0x3643ce(0x230)](),_0x2e8d3f[_0x3643ce(0x21a)](_0x10d89d);};for(const _0x30be4c of _0xb153e2)_0x44e378(_0x30be4c);this[_0x2fd9b8(0x225)](_0xb153e2,_0x2fd9b8(0x220),(_0x3d2805,_0x4fdfc3)=>{_0x44e378(_0x4fdfc3);}),this[_0x2fd9b8(0x225)](_0xb153e2,_0x2fd9b8(0x232),(_0x1ec3d1,_0x362337,_0x2eb7a2)=>{const _0x239448=_0x2fd9b8;_0x2e8d3f[_0x239448(0x1f3)]({'removedAnnotation':_0x362337,'previousAnnotation':_0xb153e2[_0x239448(0x210)](_0x2eb7a2-0x1),'nextAnnotation':_0xb153e2[_0x239448(0x210)](_0x2eb7a2+0x1)}),_0x362337===this[_0x239448(0x1f8)]&&this[_0x239448(0x231)](null);},{'priority':_0x2fd9b8(0x204)}),this[_0x2fd9b8(0x225)](_0xb153e2,_0x2fd9b8(0x20a),(_0x96050,_0x10ac27)=>{const _0x2bd483=_0x2fd9b8;this[_0x2bd483(0x231)](_0x10ac27);}),this[_0x2fd9b8(0x225)](_0xb153e2,_0x2fd9b8(0x1fb),()=>{const _0x43a7b8=_0x2fd9b8;this[_0x43a7b8(0x231)](null);});const _0x569b59=this[_0x2fd9b8(0x20c)]instanceof _0x296290?this[_0x2fd9b8(0x20c)][_0x2fd9b8(0x22e)]:new _0x326c14([this[_0x2fd9b8(0x20c)]]);for(const _0x55acb1 of _0x569b59)this[_0x2fd9b8(0x20b)](_0x55acb1);this[_0x2fd9b8(0x225)](_0x569b59,_0x2fd9b8(0x220),(_0x3af7ad,_0x5ae9ab)=>{const _0x253f6d=_0x2fd9b8;this[_0x253f6d(0x225)](_0x5ae9ab,_0x253f6d(0x223),()=>{const _0x59c6be=_0x253f6d;this[_0x59c6be(0x20b)](_0x5ae9ab);});}),this[_0x2fd9b8(0x225)](_0x569b59,_0x2fd9b8(0x232),(_0x54e4eb,_0x4cc61b)=>{const _0x47e5ea=_0x2fd9b8;_0x4cc61b[_0x47e5ea(0x1fc)][_0x47e5ea(0x207)](_0x47e5ea(0x200))&&this[_0x47e5ea(0x205)](_0x4cc61b[_0x47e5ea(0x1fc)][_0x47e5ea(0x210)](_0x47e5ea(0x200)));}),window[_0x2fd9b8(0x21f)](_0x2fd9b8(0x216),this[_0x2fd9b8(0x224)]),this[_0x2fd9b8(0x1fa)][_0x2fd9b8(0x212)]();}[_0x3edfca(0x213)](){const _0x391ecf=_0x3edfca;if(!this[_0x391ecf(0x226)])throw new _0x337f44(_0x391ecf(0x21b),this);this[_0x391ecf(0x231)](null);const _0x563036=this[_0x391ecf(0x20c)][_0x391ecf(0x1fc)][_0x391ecf(0x210)](_0x3f21f8);_0x563036[_0x391ecf(0x22b)](this[_0x391ecf(0x1fa)]),this[_0x391ecf(0x202)](_0x563036),this[_0x391ecf(0x202)](this[_0x391ecf(0x1fa)]),this[_0x391ecf(0x20c)]instanceof _0x296290&&this[_0x391ecf(0x202)](this[_0x391ecf(0x20c)][_0x391ecf(0x22e)]);for(const _0x43a8d6 of Array[_0x391ecf(0x235)](this[_0x391ecf(0x215)]))this[_0x391ecf(0x205)](_0x43a8d6);window[_0x391ecf(0x21e)](_0x391ecf(0x216),this[_0x391ecf(0x224)]),this[_0x391ecf(0x224)][_0x391ecf(0x1fe)](),this[_0x391ecf(0x1f8)]=null,this[_0x391ecf(0x226)]=!0x1,this[_0x391ecf(0x1fa)]=null;}[_0x3edfca(0x203)](){const _0x5b98bb=_0x3edfca;this[_0x5b98bb(0x226)]&&this[_0x5b98bb(0x213)]();}[_0x3edfca(0x20b)](_0x4a067a){const _0x5d4563=_0x3edfca;if(!_0x4a067a[_0x5d4563(0x1fc)][_0x5d4563(0x207)](_0x5d4563(0x200)))return;const _0xff489b=_0x4a067a[_0x5d4563(0x1fc)][_0x5d4563(0x210)](_0x5d4563(0x200)),_0x6f9509=()=>{const _0x3e21d2=_0x5d4563,_0x91d0d2=_0xff489b[_0x3e21d2(0x22c)]({'annotations':this[_0x3e21d2(0x1fa)],'activeAnnotation':this[_0x3e21d2(0x1f8)]});this[_0x3e21d2(0x231)](_0x91d0d2[0x0]||null);};this[_0x5d4563(0x225)](_0xff489b,_0x5d4563(0x1ff),_0x6f9509),this[_0x5d4563(0x225)](_0xff489b,_0x5d4563(0x1fb),(_0xf0e992,{isAnnotationTracked:_0xe9da39})=>{const _0x1d5ca5=_0x5d4563;this[_0x1d5ca5(0x1f8)]&&_0xe9da39(this[_0x1d5ca5(0x1f8)])&&this[_0x1d5ca5(0x231)](null);}),this[_0x5d4563(0x225)](_0xff489b,_0x5d4563(0x206),()=>{const _0x2472a9=_0x5d4563;this[_0x2472a9(0x224)]();}),this[_0x5d4563(0x225)](this[_0x5d4563(0x1fa)],_0x5d4563(0x1fb),_0x21f379=>{const _0x12db3b=_0x5d4563;_0xff489b[_0x12db3b(0x218)]()&&(_0x6f9509(),_0x21f379[_0x12db3b(0x209)]());},{'priority':_0x5d4563(0x204)}),this[_0x5d4563(0x215)][_0x5d4563(0x220)](_0xff489b);}[_0x3edfca(0x205)](_0x28aa46){const _0x5e5975=_0x3edfca;this[_0x5e5975(0x202)](_0x28aa46),this[_0x5e5975(0x215)][_0x5e5975(0x232)](_0x28aa46);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x423e(_0x9a34bd,_0x333194){const _0x15a2f3=_0x15a2();return _0x423e=function(_0x423e09,_0x3aff4e){_0x423e09=_0x423e09-0x12c;let _0x55ae48=_0x15a2f3[_0x423e09];return _0x55ae48;},_0x423e(_0x9a34bd,_0x333194);}function _0x15a2(){const _0x37bd45=['34HymLPF','123185oowEbN','getLastMatchingPosition','backward','isEnabled','tableCell','$textProxy','1267wSyorl','substr','5377041nBvmxp','comment:','editor','element','document','isObject','_hasContent','1001787oyLFqI','_itemIsContent','76qAadTV','13086sbsnfN','refresh','start','createRange','end','3596ynWaAO','schema','model','execute','11719020zzyuFK','addMarker','657672CyDyHo','change','getItems','_trimToContent','push','item','getRanges','selection'];_0x15a2=function(){return _0x37bd45;};return _0x15a2();}const _0x5a67cc=_0x423e;(function(_0xb47712,_0x2f582d){const _0x1892e3=_0x423e,_0x5d3bc7=_0xb47712();while(!![]){try{const _0x15657f=-parseInt(_0x1892e3(0x13f))/0x1*(parseInt(_0x1892e3(0x14d))/0x2)+-parseInt(_0x1892e3(0x137))/0x3+-parseInt(_0x1892e3(0x139))/0x4*(-parseInt(_0x1892e3(0x14e))/0x5)+-parseInt(_0x1892e3(0x13a))/0x6*(parseInt(_0x1892e3(0x12e))/0x7)+parseInt(_0x1892e3(0x145))/0x8+-parseInt(_0x1892e3(0x130))/0x9+parseInt(_0x1892e3(0x143))/0xa;if(_0x15657f===_0x2f582d)break;else _0x5d3bc7['push'](_0x5d3bc7['shift']());}catch(_0x1e0bde){_0x5d3bc7['push'](_0x5d3bc7['shift']());}}}(_0x15a2,0x51c5f));import{Command as _0x2702ea}from'ckeditor5/src/core.js';import{uid as _0x1a0751}from'ckeditor5/src/utils.js';export default class J extends _0x2702ea{[_0x5a67cc(0x13b)](){const _0x3b5691=_0x5a67cc,_0x208727=this[_0x3b5691(0x132)][_0x3b5691(0x141)][_0x3b5691(0x134)][_0x3b5691(0x14c)];for(const _0x3fe582 of _0x208727[_0x3b5691(0x14b)]())if(this[_0x3b5691(0x136)](_0x3fe582))return void(this[_0x3b5691(0x151)]=!0x0);this[_0x3b5691(0x151)]=!0x1;}[_0x5a67cc(0x142)]({threadId:_0x4862a3=_0x1a0751()}={}){const _0x215756=_0x5a67cc,_0x449b7f=this[_0x215756(0x132)][_0x215756(0x141)],_0x393b97=[];for(const _0x241896 of _0x449b7f[_0x215756(0x134)][_0x215756(0x14c)][_0x215756(0x14b)]())this[_0x215756(0x136)](_0x241896)&&_0x393b97[_0x215756(0x149)](this[_0x215756(0x148)](_0x241896));_0x449b7f[_0x215756(0x146)](_0x51d436=>{const _0x165a5e=_0x215756;for(const _0x54e08a of _0x393b97){const _0x51f0d9=_0x1a0751()[_0x165a5e(0x12f)](0x1,0x5),_0x4e5908=_0x165a5e(0x131)+_0x4862a3+':'+_0x51f0d9;_0x51d436[_0x165a5e(0x144)](_0x4e5908,{'range':_0x54e08a,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x5a67cc(0x136)](_0x54c33d){const _0x44e83d=_0x5a67cc;for(const _0x137fd7 of _0x54c33d[_0x44e83d(0x147)]())if(this[_0x44e83d(0x138)](_0x137fd7))return!0x0;return!0x1;}[_0x5a67cc(0x138)](_0x1cb3fe){const _0x4ca4c0=_0x5a67cc;return _0x1cb3fe['is'](_0x4ca4c0(0x12d))||this[_0x4ca4c0(0x132)][_0x4ca4c0(0x141)][_0x4ca4c0(0x140)][_0x4ca4c0(0x135)](_0x1cb3fe)&&!_0x1cb3fe['is'](_0x4ca4c0(0x133),_0x4ca4c0(0x12c));}[_0x5a67cc(0x148)](_0x15b888){const _0x498bed=_0x5a67cc,_0xf8779a=_0x1d5ab6=>!this[_0x498bed(0x138)](_0x1d5ab6[_0x498bed(0x14a)]),_0x2f25c2=_0x15b888[_0x498bed(0x13c)][_0x498bed(0x14f)](_0xf8779a),_0x3d5b6b=_0x15b888[_0x498bed(0x13e)][_0x498bed(0x14f)](_0xf8779a,{'direction':_0x498bed(0x150)});return this[_0x498bed(0x132)][_0x498bed(0x141)][_0x498bed(0x13d)](_0x2f25c2,_0x3d5b6b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x51aa(){const _0x24fbd0=['collection','isVisible','pluginName','highest','context','addCommentThread','isActive','plugins','remove','activate','has','3682SPLgLe','69JiuRne','62974nzzxkp','64209QBnFhN','CommentsArchive','get','3760076PsXsnR','requires','archivedAt','removeCommentThread','6472YiLUUc','5jLZOXz','getCommentThread','archivedThreads','length','6192450ujERxV','listenTo','findIndex','_calculatePosition','stopListening','610WlxqKT','change:archivedAt','4505445fHdUrJ','init','focus','add','487663iQPFaw'];_0x51aa=function(){return _0x24fbd0;};return _0x51aa();}const _0x2a9a52=_0x4b7c;(function(_0x48deb6,_0x2e3e50){const _0x1bab30=_0x4b7c,_0x3ac2e2=_0x48deb6();while(!![]){try{const _0x333861=-parseInt(_0x1bab30(0x168))/0x1+-parseInt(_0x1bab30(0x167))/0x2*(parseInt(_0x1bab30(0x166))/0x3)+-parseInt(_0x1bab30(0x16b))/0x4*(-parseInt(_0x1bab30(0x170))/0x5)+-parseInt(_0x1bab30(0x174))/0x6+-parseInt(_0x1bab30(0x165))/0x7*(parseInt(_0x1bab30(0x16f))/0x8)+-parseInt(_0x1bab30(0x155))/0x9+parseInt(_0x1bab30(0x153))/0xa*(parseInt(_0x1bab30(0x159))/0xb);if(_0x333861===_0x2e3e50)break;else _0x3ac2e2['push'](_0x3ac2e2['shift']());}catch(_0x559091){_0x3ac2e2['push'](_0x3ac2e2['shift']());}}}(_0x51aa,0xdb2ac));function _0x4b7c(_0x4aa443,_0x1d6ee9){const _0x51aabe=_0x51aa();return _0x4b7c=function(_0x4b7c9b,_0x4757ae){_0x4b7c9b=_0x4b7c9b-0x153;let _0x5e6c0d=_0x51aabe[_0x4b7c9b];return _0x5e6c0d;},_0x4b7c(_0x4aa443,_0x1d6ee9);}import{ContextPlugin as _0x1b5936}from'ckeditor5/src/core.js';import{Collection as _0x15df3c}from'ckeditor5/src/utils.js';import _0x10f2fc from'./commentsrepository.js';import _0x173a58 from'../annotations/annotations.js';export default class p extends _0x1b5936{static get[_0x2a9a52(0x15c)](){const _0x1136ce=_0x2a9a52;return _0x1136ce(0x169);}static get[_0x2a9a52(0x16c)](){return[_0x10f2fc,_0x173a58];}constructor(_0x49d3c2){const _0x3fd98f=_0x2a9a52;super(_0x49d3c2),this[_0x3fd98f(0x172)]=new _0x15df3c();}[_0x2a9a52(0x156)](){const _0x59c269=_0x2a9a52,_0x500de4=this[_0x59c269(0x15e)],_0x4e9d34=_0x500de4[_0x59c269(0x161)][_0x59c269(0x16a)](_0x10f2fc),_0x533bfe=_0x500de4[_0x59c269(0x161)][_0x59c269(0x16a)](_0x173a58);this[_0x59c269(0x175)](_0x4e9d34,_0x59c269(0x15f),(_0x45f821,{threadId:_0x287dad})=>{const _0x3ea339=_0x59c269,_0x2c729e=_0x4e9d34[_0x3ea339(0x171)](_0x287dad);_0x2c729e[_0x3ea339(0x16d)]&&this[_0x3ea339(0x172)][_0x3ea339(0x158)](_0x2c729e,this[_0x3ea339(0x177)](_0x2c729e[_0x3ea339(0x16d)])),this[_0x3ea339(0x175)](_0x2c729e,_0x3ea339(0x154),(_0x35f57a,_0x2b6049,_0x128ec3)=>{const _0x57ea6a=_0x3ea339;_0x128ec3?this[_0x57ea6a(0x172)][_0x57ea6a(0x164)](_0x2c729e)||this[_0x57ea6a(0x172)][_0x57ea6a(0x158)](_0x2c729e,this[_0x57ea6a(0x177)](_0x2c729e[_0x57ea6a(0x16d)])):this[_0x57ea6a(0x172)][_0x57ea6a(0x164)](_0x2c729e)&&this[_0x57ea6a(0x172)][_0x57ea6a(0x162)](_0x2c729e);});}),this[_0x59c269(0x175)](_0x4e9d34,_0x59c269(0x16e),(_0x29fd2a,{threadId:_0x4c793a})=>{const _0x45b8b8=_0x59c269,_0x3c4b5a=_0x4e9d34[_0x45b8b8(0x171)](_0x4c793a);this[_0x45b8b8(0x178)](_0x3c4b5a),this[_0x45b8b8(0x172)][_0x45b8b8(0x164)](_0x3c4b5a)&&this[_0x45b8b8(0x172)][_0x45b8b8(0x162)](_0x3c4b5a);},{'priority':_0x59c269(0x15d)}),this[_0x59c269(0x175)](_0x533bfe[_0x59c269(0x15a)],_0x59c269(0x157),(_0xd1be0f,_0x1dcf3a)=>{const _0x67142a=_0x59c269;_0x1dcf3a[_0x67142a(0x15b)]||(_0x1dcf3a[_0x67142a(0x160)]=!0x0,_0x533bfe[_0x67142a(0x163)](_0x1dcf3a));});}[_0x2a9a52(0x177)](_0x2c364a){const _0x23369e=_0x2a9a52,_0xe4b5fe=[...this[_0x23369e(0x172)]][_0x23369e(0x176)](_0xa04161=>_0xa04161[_0x23369e(0x16d)]<_0x2c364a);return _0xe4b5fe>-0x1?_0xe4b5fe:this[_0x23369e(0x172)][_0x23369e(0x173)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ad83e=_0x1747;(function(_0x29ce67,_0x111aaa){const _0x16957e=_0x1747,_0xf92a7d=_0x29ce67();while(!![]){try{const _0xf76b2c=-parseInt(_0x16957e(0x1c4))/0x1+-parseInt(_0x16957e(0x1b5))/0x2+-parseInt(_0x16957e(0x1ea))/0x3+-parseInt(_0x16957e(0x1b6))/0x4+-parseInt(_0x16957e(0x1dd))/0x5+parseInt(_0x16957e(0x1b7))/0x6*(-parseInt(_0x16957e(0x1e0))/0x7)+parseInt(_0x16957e(0x1ec))/0x8;if(_0xf76b2c===_0x111aaa)break;else _0xf92a7d['push'](_0xf92a7d['shift']());}catch(_0x2a43a0){_0xf92a7d['push'](_0xf92a7d['shift']());}}}(_0x31d7,0x44dcd));import'../../theme/commentsarchive.css';import{Plugin as _0x1a2622}from'ckeditor5/src/core.js';import{ViewCollection as _0x587ccb,MenuBarMenuListItemButtonView as _0x345cda,ButtonView as _0x4dff67,Dialog as _0x387710,DialogViewPosition as _0x68a2de}from'ckeditor5/src/ui.js';import _0x2ffb48 from'../../theme/icons/comments-archive.svg';function _0x1747(_0x45ae03,_0x4714e1){const _0x31d7a7=_0x31d7();return _0x1747=function(_0x17477f,_0x57711e){_0x17477f=_0x17477f-0x1b0;let _0x17dbba=_0x31d7a7[_0x17477f];return _0x17dbba;},_0x1747(_0x45ae03,_0x4714e1);}import{getTranslation as _0x16e438}from'../utils/common-translations.js';import _0x280cea from'./ui/view/commentsarchiveview.js';import _0x3da779 from'./commentsarchive.js';function _0x31d7(){const _0x5cd2da=['CommentsArchiveUI','componentFactory','Dialog','indexOf','findIndex','_toggleDialog','remove','annotationViews','isVisible','370794mDpiiB','isOn','config','_visibleAnnotations','_createCommentsArchiveButton','filter','menuitemcheckbox','getByInnerView','archivedAt','stop','focusableElements','set','push','splice','stopListening','commentsArchive','hide','_pendingThreads','_hideDialogOnAnnotationEscape','archivedThreads','show','locale','channelId','Annotations','source','2516080XzrCUo','add','bind','14DrUmJL','EDITOR_TOP_SIDE','collection','execute','isEnabled','view','editor','_threadToController','escape','COMMENTS_ARCHIVE','720468ppgauG','pluginName','14802384ztkWLG','listenTo','init','commentsArchiveView','menuBar:commentsArchive','collaboration.channelId','innerView','plugins','tooltip','find','get','CommentsRepository','requires','_calculatePosition','31788wtVfmP','523220rZBztK','922116iTrcXU','has','isOpen','length'];_0x31d7=function(){return _0x5cd2da;};return _0x31d7();}export default class a extends _0x1a2622{static get[_0x5ad83e(0x1eb)](){const _0x2ab6a5=_0x5ad83e;return _0x2ab6a5(0x1bb);}static get[_0x5ad83e(0x1b3)](){return[_0x3da779,_0x387710];}constructor(_0x3f15eb){const _0x294389=_0x5ad83e;super(_0x3f15eb),this[_0x294389(0x1d6)]=_0x68871e=>{const _0x557986=_0x294389,_0x3150c1=_0x68871e[_0x557986(0x1dc)];if(!this[_0x557986(0x1c2)][_0x557986(0x1b8)](_0x3150c1[_0x557986(0x1e5)]))return;const _0x258d65=this[_0x557986(0x1e6)][_0x557986(0x1f3)][_0x557986(0x1b1)](_0x557986(0x1bd));_0x258d65[_0x557986(0x1b9)]&&_0x557986(0x1d3)===_0x258d65['id']&&(_0x258d65[_0x557986(0x1d4)](),_0x68871e[_0x557986(0x1cd)]());},this[_0x294389(0x1c2)]=new _0x587ccb(),this[_0x294389(0x1d5)]=[];}[_0x5ad83e(0x1ee)](){const _0x346263=_0x5ad83e,_0x2f5c56=this[_0x346263(0x1e6)],_0x5c37f8=this[_0x346263(0x1d6)][_0x346263(0x1df)](this);_0x2f5c56['ui'][_0x346263(0x1bc)][_0x346263(0x1de)](_0x346263(0x1d3),()=>this[_0x346263(0x1c8)](_0x4dff67,!0x0)),_0x2f5c56['ui'][_0x346263(0x1bc)][_0x346263(0x1de)](_0x346263(0x1f0),()=>{const _0x6a4061=_0x346263,_0x45b6fb=this[_0x6a4061(0x1c8)](_0x345cda);return _0x45b6fb[_0x6a4061(0x1cf)]({'role':_0x6a4061(0x1ca)}),_0x45b6fb;});const _0xdd8b5f=_0x2f5c56[_0x346263(0x1f3)][_0x346263(0x1b1)](_0x3da779),_0x1f5d3d=_0x2f5c56[_0x346263(0x1f3)][_0x346263(0x1b1)](_0x346263(0x1db)),_0x4609d8=_0x2f5c56[_0x346263(0x1f3)][_0x346263(0x1b1)](_0x346263(0x1b2));this[_0x346263(0x1ed)](_0xdd8b5f[_0x346263(0x1d7)],_0x346263(0x1de),(_0x14d744,_0x21f8b6)=>{const _0x35815e=_0x346263,_0x47bc05=_0x2f5c56[_0x35815e(0x1c6)][_0x35815e(0x1b1)](_0x35815e(0x1f1));if(!_0x47bc05||_0x21f8b6[_0x35815e(0x1da)]===_0x47bc05){const _0x1671be=_0x4609d8[_0x35815e(0x1e7)][_0x35815e(0x1b1)](_0x21f8b6);if(!_0x1671be)return void this[_0x35815e(0x1d5)][_0x35815e(0x1d0)](_0x21f8b6);const _0x5aa047=this[_0x35815e(0x1b4)](_0x21f8b6[_0x35815e(0x1cc)]),_0x508ccd=_0x1f5d3d[_0x35815e(0x1cb)](_0x1671be[_0x35815e(0x1e5)]);_0x508ccd[_0x35815e(0x1c3)]&&_0x1f5d3d[_0x35815e(0x1c7)][_0x35815e(0x1c1)](_0x508ccd),this[_0x35815e(0x1c2)][_0x35815e(0x1de)](_0x508ccd[_0x35815e(0x1e5)],_0x5aa047);}}),this[_0x346263(0x1ed)](_0x1f5d3d[_0x346263(0x1e2)],_0x346263(0x1de),(_0x4ef904,_0x5675ea)=>{const _0x3c21bc=_0x346263,_0x184cc1=this[_0x3c21bc(0x1d5)][_0x3c21bc(0x1b0)](_0x3b263a=>{const _0x149fd2=_0x3c21bc,_0x4f67eb=_0x4609d8[_0x149fd2(0x1e7)][_0x149fd2(0x1b1)](_0x3b263a);return _0x4f67eb&&_0x5675ea[_0x149fd2(0x1f2)]===_0x4f67eb[_0x149fd2(0x1e5)];});if(_0x184cc1){const _0x1d2d67=this[_0x3c21bc(0x1b4)](_0x184cc1[_0x3c21bc(0x1cc)]);this[_0x3c21bc(0x1c2)][_0x3c21bc(0x1de)](_0x5675ea[_0x3c21bc(0x1e5)],_0x1d2d67),this[_0x3c21bc(0x1d5)][_0x3c21bc(0x1d1)](this[_0x3c21bc(0x1d5)][_0x3c21bc(0x1be)](_0x184cc1),0x1);}}),this[_0x346263(0x1ed)](_0xdd8b5f[_0x346263(0x1d7)],_0x346263(0x1c1),(_0x46126d,_0x17cae3)=>{const _0x29d4dc=_0x346263,_0x40a38f=_0x2f5c56[_0x29d4dc(0x1c6)][_0x29d4dc(0x1b1)](_0x29d4dc(0x1f1));if(!_0x40a38f||_0x17cae3[_0x29d4dc(0x1da)]===_0x40a38f){const _0x134b48=_0x4609d8[_0x29d4dc(0x1e7)][_0x29d4dc(0x1b1)](_0x17cae3),_0x429869=_0x1f5d3d[_0x29d4dc(0x1cb)](_0x134b48[_0x29d4dc(0x1e5)]);this[_0x29d4dc(0x1c2)][_0x29d4dc(0x1c1)](_0x429869[_0x29d4dc(0x1e5)]),this[_0x29d4dc(0x1d2)](_0x429869[_0x29d4dc(0x1ce)]);}}),this[_0x346263(0x1ed)](_0x1f5d3d[_0x346263(0x1e2)],_0x346263(0x1de),(_0x525df1,_0x7e9d90)=>{const _0x2385fb=_0x346263;this[_0x2385fb(0x1ed)](_0x7e9d90,_0x2385fb(0x1e8),_0x5c37f8);}),this[_0x346263(0x1ed)](_0x1f5d3d[_0x346263(0x1e2)],_0x346263(0x1c1),(_0x1481c2,_0x342c3c)=>{const _0x527f6c=_0x346263;this[_0x527f6c(0x1d2)](_0x342c3c,_0x527f6c(0x1e8),_0x5c37f8);});}[_0x5ad83e(0x1b4)](_0x27f5e4){const _0x29f3e3=_0x5ad83e,_0x4bedf6=this[_0x29f3e3(0x1e6)][_0x29f3e3(0x1c6)][_0x29f3e3(0x1b1)](_0x29f3e3(0x1f1)),_0x39343f=[...this[_0x29f3e3(0x1e6)][_0x29f3e3(0x1f3)][_0x29f3e3(0x1b1)](_0x3da779)[_0x29f3e3(0x1d7)]][_0x29f3e3(0x1c9)](_0x399975=>_0x399975[_0x29f3e3(0x1da)]===_0x4bedf6)[_0x29f3e3(0x1bf)](_0x41e6c8=>_0x41e6c8[_0x29f3e3(0x1cc)]<_0x27f5e4);return _0x39343f<0x0||_0x39343f>this[_0x29f3e3(0x1c2)][_0x29f3e3(0x1ba)]?this[_0x29f3e3(0x1c2)][_0x29f3e3(0x1ba)]:_0x39343f-0x1;}[_0x5ad83e(0x1c0)](){const _0x532eb7=_0x5ad83e,_0xbd6a7c=this[_0x532eb7(0x1e6)],_0x28e7e5=_0xbd6a7c[_0x532eb7(0x1f3)][_0x532eb7(0x1b1)](_0x532eb7(0x1bd));this[_0x532eb7(0x1ef)]||(this[_0x532eb7(0x1ef)]=new _0x280cea(_0xbd6a7c[_0x532eb7(0x1d9)],this[_0x532eb7(0x1c2)])),_0x532eb7(0x1d3)===_0x28e7e5['id']?_0x28e7e5[_0x532eb7(0x1d4)]():_0x28e7e5[_0x532eb7(0x1d8)]({'id':_0x532eb7(0x1d3),'title':_0x16e438(_0xbd6a7c[_0x532eb7(0x1d9)],_0x532eb7(0x1e9)),'icon':_0x2ffb48,'hasCloseButton':!0x0,'content':this[_0x532eb7(0x1ef)],'position':_0x68a2de[_0x532eb7(0x1e1)]});}[_0x5ad83e(0x1c8)](_0x1ab074,_0x52a8eb=!0x1){const _0x3829ab=_0x5ad83e,_0x538ca7=this[_0x3829ab(0x1e6)][_0x3829ab(0x1d9)],_0x1a4696=this[_0x3829ab(0x1e6)][_0x3829ab(0x1f3)][_0x3829ab(0x1b1)](_0x3829ab(0x1bd)),_0x3f3a0b=new _0x1ab074(_0x538ca7);return _0x3f3a0b[_0x3829ab(0x1df)](_0x3829ab(0x1e4))['to'](this,_0x3829ab(0x1e4)),_0x3f3a0b[_0x3829ab(0x1df)](_0x3829ab(0x1c5))['to'](_0x1a4696,'id',_0xe31559=>_0x3829ab(0x1d3)===_0xe31559),_0x3f3a0b[_0x3829ab(0x1cf)]({'label':_0x16e438(_0x538ca7,_0x3829ab(0x1e9)),'icon':_0x2ffb48,'isToggleable':!0x0}),_0x52a8eb&&(_0x3f3a0b[_0x3829ab(0x1f4)]=!0x0),this[_0x3829ab(0x1ed)](_0x3f3a0b,_0x3829ab(0x1e3),()=>this[_0x3829ab(0x1c0)]()),_0x3f3a0b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1affdc=_0x24c4;(function(_0x59e7d6,_0xd4b25b){const _0x7f3b67=_0x24c4,_0xcbb3a4=_0x59e7d6();while(!![]){try{const _0x195cf1=-parseInt(_0x7f3b67(0x231))/0x1*(-parseInt(_0x7f3b67(0x232))/0x2)+-parseInt(_0x7f3b67(0x1ed))/0x3*(parseInt(_0x7f3b67(0x1db))/0x4)+-parseInt(_0x7f3b67(0x200))/0x5+-parseInt(_0x7f3b67(0x1cb))/0x6+-parseInt(_0x7f3b67(0x1fa))/0x7*(parseInt(_0x7f3b67(0x20e))/0x8)+parseInt(_0x7f3b67(0x23f))/0x9+-parseInt(_0x7f3b67(0x1e7))/0xa*(-parseInt(_0x7f3b67(0x1df))/0xb);if(_0x195cf1===_0xd4b25b)break;else _0xcbb3a4['push'](_0xcbb3a4['shift']());}catch(_0x480685){_0xcbb3a4['push'](_0xcbb3a4['shift']());}}}(_0x2f3b,0x82e86));import{Plugin as _0x4ccbdc}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x18a866,scrollViewportToShowTarget as _0xec7dd}from'ckeditor5/src/utils.js';import _0x579a28 from'./commentsrepository.js';import _0xd8cb8c from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x39985b,getAllMarkersDomElementsSorted as _0xa70d25,FOCUS_ANNOTATION_KEYSTROKE as _0x38cbc4,Users as _0x3f1ffe}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3f241a from'../annotations/editorannotations.js';import _0x5a29a4 from'./integrations/commentsrestrictededitingmode.js';function _0x24c4(_0x5ec166,_0x1c278b){const _0x2f3b29=_0x2f3b();return _0x24c4=function(_0x24c4e8,_0x390fab){_0x24c4e8=_0x24c4e8-0x1c6;let _0x5d520e=_0x2f3b29[_0x24c4e8];return _0x5d520e;},_0x24c4(_0x5ec166,_0x1c278b);}import _0x19063d from'./integrations/importword.js';import _0x156629 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x4e8271 from'../annotations/annotations.js';import{getTranslation as _0x16e956}from'../utils/common-translations.js';export default class r extends _0x4ccbdc{static get[_0x1affdc(0x24a)](){return[_0x579a28,_0x3f241a,_0x3f1ffe,_0x5a29a4,_0x19063d,_0x156629];}static get[_0x1affdc(0x23d)](){const _0x4520d0=_0x1affdc;return _0x4520d0(0x201);}constructor(_0x5d9d5c){const _0x3f8277=_0x1affdc;super(_0x5d9d5c),this[_0x3f8277(0x1dc)](_0x3f8277(0x209),!0x0),_0x5d9d5c[_0x3f8277(0x1e2)][_0x3f8277(0x1d6)](_0x3f8277(0x25a),()=>this[_0x3f8277(0x209)]=!0x1),this[_0x3f8277(0x1dc)](_0x3f8277(0x22a),null),this['on'](_0x3f8277(0x24b),(_0x135160,_0x4d9101,_0x35814a,_0x22c3ed)=>{const _0x1de855=_0x3f8277,_0x533997=_0x35814a?splitMarkerName(_0x35814a)['id']:null;if(_0x5d9d5c[_0x1de855(0x1fc)][_0x1de855(0x1e5)](()=>{const _0x2fbf24=_0x1de855;if(_0x533997){const _0x426c26=this[_0x2fbf24(0x1de)](_0x533997);for(const _0x1f1048 of _0x426c26)_0x5d9d5c[_0x2fbf24(0x256)][_0x2fbf24(0x23b)](_0x1f1048);}if(_0x22c3ed){const {id:_0x312ced}=splitMarkerName(_0x22c3ed),_0x24345e=this[_0x2fbf24(0x1de)](_0x312ced);for(const _0x18d650 of _0x24345e)_0x5d9d5c[_0x2fbf24(0x256)][_0x2fbf24(0x23b)](_0x18d650);}}),_0x533997){const _0x2dbf63=_0x5d9d5c[_0x1de855(0x224)][_0x1de855(0x204)](_0x579a28)[_0x1de855(0x221)](_0x533997);_0x2dbf63&&_0x2dbf63[_0x1de855(0x1ca)]&&this[_0x1de855(0x21c)](_0x533997);}}),this[_0x3f8277(0x210)]();}[_0x1affdc(0x1ee)](){const _0x3e2fa5=_0x1affdc,_0x31712c=this[_0x3e2fa5(0x254)],_0x54dfef=_0x31712c[_0x3e2fa5(0x224)][_0x3e2fa5(0x204)](_0x579a28),_0x4f14b5=_0x31712c[_0x3e2fa5(0x255)][_0x3e2fa5(0x204)](_0x3e2fa5(0x25e));_0x31712c[_0x3e2fa5(0x1c6)][_0x3e2fa5(0x1f3)](_0x3e2fa5(0x212),new _0xd8cb8c(_0x31712c)),this[_0x3e2fa5(0x1e1)](_0x31712c,_0x3e2fa5(0x240),(_0x4f8fb8,_0x385403,_0xe1cf1f)=>{const _0x18b026=_0x3e2fa5;_0x54dfef[_0x18b026(0x24c)](_0xe1cf1f,_0x31712c[_0x18b026(0x255)][_0x18b026(0x204)](_0x18b026(0x25e)));}),this[_0x3e2fa5(0x1e1)](_0x54dfef,mt(_0x3e2fa5(0x212),_0x4f14b5),(_0x42d0e7,{threadId:_0x49d549})=>{const _0x5ab521=_0x3e2fa5,_0x7aecea=this[_0x5ab521(0x254)][_0x5ab521(0x224)][_0x5ab521(0x204)](_0x579a28)[_0x5ab521(0x221)](_0x49d549);_0x7aecea&&_0x7aecea[_0x5ab521(0x24f)]&&this[_0x5ab521(0x1f9)](_0x49d549);}),this[_0x3e2fa5(0x1e1)](_0x54dfef,mt(_0x3e2fa5(0x229),_0x4f14b5),(_0x5ebd94,{threadId:_0x57cbf9})=>{const _0x41289c=_0x3e2fa5;_0x31712c[_0x41289c(0x1fc)][_0x41289c(0x22c)]({'isUndoable':!0x1},_0x3f4c50=>{const _0x36f47a=_0x41289c,_0x2f87ca=this[_0x36f47a(0x1de)](_0x57cbf9);for(const _0x127062 of _0x2f87ca)_0x3f4c50[_0x36f47a(0x1da)](_0x127062);});}),this[_0x3e2fa5(0x1e1)](_0x54dfef,mt(_0x3e2fa5(0x1cd),_0x4f14b5),(_0x15df29,{threadId:_0x2f662e})=>{const _0x5c5cd3=_0x3e2fa5;(this[_0x5c5cd3(0x222)](_0x2f662e),this[_0x5c5cd3(0x254)][_0x5c5cd3(0x256)][_0x5c5cd3(0x1cf)][_0x5c5cd3(0x1dd)])&&(this[_0x5c5cd3(0x254)][_0x5c5cd3(0x224)][_0x5c5cd3(0x204)](_0x579a28)[_0x5c5cd3(0x221)](_0x2f662e)[_0x5c5cd3(0x24f)]||this[_0x5c5cd3(0x254)][_0x5c5cd3(0x256)][_0x5c5cd3(0x1cf)][_0x5c5cd3(0x1f7)]());},{'priority':_0x3e2fa5(0x24d)}),this[_0x3e2fa5(0x1e1)](_0x54dfef,mt(_0x3e2fa5(0x1e6),_0x4f14b5),(_0x490568,{threadId:_0x32fddb})=>{const _0x18e422=_0x3e2fa5;this[_0x18e422(0x222)](_0x32fddb);},{'priority':_0x3e2fa5(0x24d)}),this[_0x3e2fa5(0x1e1)](_0x54dfef,mt(_0x3e2fa5(0x1e8),_0x4f14b5),(_0x332197,{threadId:_0x65bc8b,isFromAdapter:_0x1008e9})=>{const _0x849c69=_0x3e2fa5,_0x3cdde7=this[_0x849c69(0x1de)](_0x65bc8b);if(_0x1008e9||0x0==_0x3cdde7[_0x849c69(0x23c)]||!_0x54dfef[_0x849c69(0x1ec)](_0x65bc8b))return;0x1===_0x54dfef[_0x849c69(0x221)](_0x65bc8b)[_0x849c69(0x23c)]&&_0x31712c[_0x849c69(0x1fc)][_0x849c69(0x22c)]({'isUndoable':!0x1},_0x371e79=>{const _0x2f6f4d=_0x849c69;for(const _0xc70688 of _0x3cdde7)_0x371e79[_0x2f6f4d(0x20a)](_0xc70688,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x3e2fa5(0x24d)}),this[_0x3e2fa5(0x1d9)](),this[_0x3e2fa5(0x243)]();}[_0x1affdc(0x239)](){const _0x4cde49=_0x1affdc,_0x55ce96=this[_0x4cde49(0x254)][_0x4cde49(0x224)][_0x4cde49(0x204)](_0x579a28),_0x57e1bf=this[_0x4cde49(0x254)][_0x4cde49(0x255)][_0x4cde49(0x204)](_0x4cde49(0x25e));for(const _0x32aebd of _0x55ce96[_0x4cde49(0x20b)]({'channelId':_0x57e1bf}))_0x55ce96[_0x4cde49(0x20f)](_0x32aebd['id']),_0x55ce96[_0x4cde49(0x22d)][_0x4cde49(0x1e0)](_0x32aebd['id']);super[_0x4cde49(0x239)]();}[_0x1affdc(0x1d7)](_0x10afc7){const _0x4354c9=_0x1affdc;return this[_0x4354c9(0x1de)](_0x10afc7)[_0x4354c9(0x23c)]>0x0;}[_0x1affdc(0x1de)](_0x450147){const _0x3497b6=_0x1affdc,_0x3428e3=[];for(const _0x580e58 of this[_0x3497b6(0x254)][_0x3497b6(0x1fc)][_0x3497b6(0x1f5)])_0x580e58[_0x3497b6(0x23e)][_0x3497b6(0x215)](_0x3497b6(0x257)+_0x450147)&&_0x3428e3[_0x3497b6(0x1f2)](_0x580e58);return _0x3428e3;}[_0x1affdc(0x21c)](_0x49ae7e){const _0x37c58a=_0x1affdc,_0x30424f=this[_0x37c58a(0x228)](_0x49ae7e);_0x30424f&&setTimeout(()=>{const _0x1abe17=_0x37c58a;this[_0x1abe17(0x22a)]&&splitMarkerName(this[_0x1abe17(0x22a)])['id']===_0x49ae7e&&_0xec7dd({'target':_0x30424f[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x1affdc(0x222)](_0x37324b){const _0x327f6b=_0x1affdc;this[_0x327f6b(0x254)][_0x327f6b(0x1fc)][_0x327f6b(0x1e5)](()=>{const _0x4e0a4d=_0x327f6b;for(const _0x23cb49 of this[_0x4e0a4d(0x1de)](_0x37324b))this[_0x4e0a4d(0x254)][_0x4e0a4d(0x256)][_0x4e0a4d(0x23b)](_0x23cb49);});}[_0x1affdc(0x1f9)](_0x112550){const _0x294efd=_0x1affdc,_0x5265f0=this[_0x294efd(0x254)][_0x294efd(0x224)][_0x294efd(0x204)](_0x579a28),_0x22743e=this[_0x294efd(0x254)][_0x294efd(0x224)][_0x294efd(0x204)](_0x3f241a),_0x1956e4=_0x5265f0[_0x294efd(0x221)](_0x112550);if(!_0x1956e4[_0x294efd(0x205)]){const _0x2ce4dd=_0x1956e4[_0x294efd(0x24e)](()=>this[_0x294efd(0x228)](_0x1956e4['id']));_0x22743e[_0x294efd(0x1e3)](_0x2ce4dd),_0x1956e4[_0x294efd(0x1ce)]=!0x1;}}[_0x1affdc(0x1d9)](){const _0x4da6d9=_0x1affdc,_0x119dce=this[_0x4da6d9(0x254)],_0x1749f7=_0x119dce[_0x4da6d9(0x224)][_0x4da6d9(0x204)](_0x3f1ffe);_0x119dce[_0x4da6d9(0x1eb)][_0x4da6d9(0x1cc)](_0x4da6d9(0x245))[_0x4da6d9(0x1d5)]({'model':_0x4da6d9(0x1ea),'view':(_0x3cda32,_0x1964a9)=>{const _0x318174=_0x4da6d9,{id:_0x2c6a1b}=splitMarkerName(_0x3cda32[_0x318174(0x21d)]),_0x28e78d=_0x119dce[_0x318174(0x224)][_0x318174(0x204)](_0x579a28)[_0x318174(0x221)](_0x2c6a1b),_0x5caa2f=this[_0x318174(0x22a)]&&splitMarkerName(this[_0x318174(0x22a)])['id']===_0x2c6a1b;let _0x32d515;if(_0x28e78d&&_0x28e78d[_0x318174(0x1ca)]&&!_0x5caa2f&&_0x3cda32[_0x318174(0x21a)])return _0x1964a9[_0x318174(0x214)][_0x318174(0x21b)](_0x3cda32[_0x318174(0x21a)],_0x318174(0x1f6)+_0x3cda32[_0x318174(0x21d)]),_0x1964a9[_0x318174(0x214)][_0x318174(0x21b)](_0x3cda32[_0x318174(0x21a)],_0x318174(0x22b)+_0x3cda32[_0x318174(0x21d)]),null;const _0x35895e=[_0x318174(0x234)];return _0x5caa2f&&_0x35895e[_0x318174(0x1f2)](_0x318174(0x233)),_0x32d515=_0x28e78d&&_0x28e78d[_0x318174(0x23c)]?_0x28e78d[_0x318174(0x1c7)][_0x318174(0x246)][_0x318174(0x1d3)]['id']:_0x1749f7['me']['id'],{'classes':_0x35895e,'attributes':{'data-comment':_0x2c6a1b,'data-author-id':_0x32d515}};}}),_0x119dce[_0x4da6d9(0x1eb)][_0x4da6d9(0x1cc)](_0x4da6d9(0x20c))[_0x4da6d9(0x252)]({'model':_0x4da6d9(0x1ea),'view':(_0x4b8bc7,{options:_0x50f420})=>{const _0x470892=_0x4da6d9,_0xc01d73=_0x119dce[_0x470892(0x224)][_0x470892(0x204)](_0x579a28),_0x400a4d=_0x119dce[_0x470892(0x1fc)][_0x470892(0x1f5)][_0x470892(0x204)](_0x4b8bc7),{id:_0x3bf7f3,part:_0x35c34e}=splitMarkerName(_0x4b8bc7);if(_0x400a4d&&!_0x400a4d[_0x470892(0x1fd)])return null;if(_0x50f420[_0x470892(0x1f4)]){const _0x3483aa=_0xc01d73[_0x470892(0x221)](_0x3bf7f3);if(_0x3483aa&&_0x3483aa[_0x470892(0x1ca)])return null;}return{'group':_0x470892(0x1ea),'name':_0x35c34e?_0x3bf7f3+':'+_0x35c34e:_0x3bf7f3};}}),_0x119dce[_0x4da6d9(0x1eb)][_0x4da6d9(0x1cc)](_0x4da6d9(0x1d1))[_0x4da6d9(0x1e4)]({'view':{'name':_0x4da6d9(0x1ea),'attributes':{'id':/^\w/}},'model':(_0x3a43e7,{writer:_0x442315})=>_0x442315[_0x4da6d9(0x1ef)](_0x4da6d9(0x219),{'data-name':_0x4da6d9(0x257)+_0x3a43e7[_0x4da6d9(0x206)]('id')})}),_0x119dce[_0x4da6d9(0x1eb)][_0x4da6d9(0x1cc)](_0x4da6d9(0x1d1))[_0x4da6d9(0x22e)]({'view':_0x4da6d9(0x1ea)});}[_0x1affdc(0x243)](){const _0x4de4a5=_0x1affdc,_0x17271d=this[_0x4de4a5(0x254)],_0x1c6213=_0x17271d[_0x4de4a5(0x224)][_0x4de4a5(0x204)](_0x579a28),_0x1aea3f=new Set(),_0x1b861e=new Set();_0x17271d[_0x4de4a5(0x1fc)][_0x4de4a5(0x1c9)][_0x4de4a5(0x248)](_0x235006=>{const _0x52a547=_0x4de4a5;let _0xb2239a=!0x1;for(const {name:_0x4108f5,data:_0x3e1786}of _0x17271d[_0x52a547(0x1fc)][_0x52a547(0x1c9)][_0x52a547(0x1f1)][_0x52a547(0x1d8)]()){const {group:_0x2f09c2,id:_0x1e9abe}=splitMarkerName(_0x4108f5);let _0x817466=_0x3e1786[_0x52a547(0x23a)];if(_0x52a547(0x1ea)!==_0x2f09c2||!_0x817466)continue;const _0x2d374f=_0x52a547(0x253)===_0x817466[_0x52a547(0x230)][_0x52a547(0x213)];_0x2d374f||(_0x817466=dt(_0x817466,_0x17271d[_0x52a547(0x1fc)]),!_0x817466||_0x817466[_0x52a547(0x236)]||!_0x3e1786[_0x52a547(0x23a)]||_0x817466[_0x52a547(0x226)](_0x3e1786[_0x52a547(0x23a)]))?_0x17271d[_0x52a547(0x1fc)][_0x52a547(0x244)](_0x817466)&&!_0x2d374f?this[_0x52a547(0x209)]?_0x1aea3f[_0x52a547(0x1f3)](_0x4108f5):this[_0x52a547(0x25b)](_0x4108f5,_0x1e9abe):(_0x1b861e[_0x52a547(0x1f3)](_0x4108f5),_0x1aea3f[_0x52a547(0x1e0)](_0x4108f5),_0x235006[_0x52a547(0x1da)](_0x4108f5),_0xb2239a=!0x0):(_0x235006[_0x52a547(0x20a)](_0x4108f5,{'range':_0x817466}),_0xb2239a=!0x0);}return _0xb2239a;}),this['on'](_0x4de4a5(0x25d),(_0x1e523b,_0x4a3804,_0x35231a)=>{const _0x1b9d32=_0x4de4a5;if(!_0x35231a&&_0x1aea3f[_0x1b9d32(0x238)])for(const _0x4594cf of _0x1aea3f){const {id:_0x30a2f4}=splitMarkerName(_0x4594cf);_0x1aea3f[_0x1b9d32(0x1e0)](_0x4594cf),_0x17271d[_0x1b9d32(0x1fc)][_0x1b9d32(0x1f5)][_0x1b9d32(0x204)](_0x4594cf)&&this[_0x1b9d32(0x25b)](_0x4594cf,_0x30a2f4);}}),this[_0x4de4a5(0x1e1)](_0x17271d[_0x4de4a5(0x1fc)][_0x4de4a5(0x1c9)],_0x4de4a5(0x1e5),(_0x458780,_0x25ccf7)=>{const _0xf0f1e5=_0x4de4a5;for(const {name:_0xdbb793,data:{newRange:_0x11a017}}of _0x17271d[_0xf0f1e5(0x1fc)][_0xf0f1e5(0x1c9)][_0xf0f1e5(0x1f1)][_0xf0f1e5(0x1d8)]()){const {group:_0x189e4c,id:_0x3231f4}=splitMarkerName(_0xdbb793);if(_0xf0f1e5(0x1ea)!==_0x189e4c)continue;const _0xd3d347=_0x1c6213[_0xf0f1e5(0x221)](_0x3231f4),_0x5afd60=this[_0xf0f1e5(0x1d7)](_0x3231f4);_0xd3d347&&(!_0xd3d347[_0xf0f1e5(0x1ce)]&&_0x11a017&&_0x17271d[_0xf0f1e5(0x256)][_0xf0f1e5(0x1cf)][_0xf0f1e5(0x1d6)](_0xf0f1e5(0x207),()=>{const _0xdfbab3=_0xf0f1e5,_0x4169b1=_0x17271d[_0xdfbab3(0x224)][_0xdfbab3(0x204)](_0x4e8271),_0x5b17c2=_0x1c6213[_0xdfbab3(0x218)][_0xdfbab3(0x204)](_0xd3d347)[_0xdfbab3(0x1cf)];_0x4169b1[_0xdfbab3(0x1d0)](_0x5b17c2)[_0xdfbab3(0x1d2)]();},{'priority':_0xf0f1e5(0x24d)}),_0xd3d347[_0xf0f1e5(0x1ce)]=_0x5afd60||!!_0x11a017),_0x11a017||(_0x1b861e[_0xf0f1e5(0x1f3)](_0xdbb793),_0x1aea3f[_0xf0f1e5(0x1e0)](_0xdbb793));}if(_0x25ccf7[_0xf0f1e5(0x259)])for(const _0x32e8de of _0x1b861e){const {id:_0x4d3185}=splitMarkerName(_0x32e8de),_0x5dd133=_0x1c6213[_0xf0f1e5(0x221)](_0x4d3185),_0x5857b1=this[_0xf0f1e5(0x1d7)](_0x4d3185);_0x1aea3f[_0xf0f1e5(0x1e0)](_0x32e8de),!_0x5dd133||_0x5857b1||_0x5dd133[_0xf0f1e5(0x24f)]||_0x5dd133[_0xf0f1e5(0x258)](new Date());}_0x1b861e[_0xf0f1e5(0x220)]();});}[_0x1affdc(0x228)](_0x5be9e0){const _0x528165=_0x1affdc,_0x451d32=this[_0x528165(0x254)],_0x323280=this[_0x528165(0x1de)](_0x5be9e0);return _0xa70d25(_0x451d32[_0x528165(0x256)],_0x323280);}[_0x1affdc(0x250)](_0x5d90e2){const _0x3555c5=_0x1affdc,_0x4f4f1a=this[_0x3555c5(0x1de)](_0x5d90e2);let _0x59180f='',_0x12ef18=!0x1;for(const _0x50fa84 of _0x4f4f1a){const _0x19c960=_0x50fa84[_0x3555c5(0x1fe)]();for(const _0x2461c6 of Array[_0x3555c5(0x21f)](_0x19c960[_0x3555c5(0x237)]()))_0x2461c6['is'](_0x3555c5(0x211))?(_0x59180f&&_0x12ef18&&(_0x59180f+='\x20',_0x12ef18=!0x1),_0x59180f+=_0x2461c6[_0x3555c5(0x1e2)]):_0x12ef18=!0x0;_0x12ef18=!0x0;}return _0x59180f[_0x3555c5(0x1ff)](0x0,0x96);}[_0x1affdc(0x1fb)](_0x2240a9,_0xe9d2f1){const _0x50286e=_0x1affdc,_0x59b285=this[_0x50286e(0x254)],_0x68ec4b=_0x59b285[_0x50286e(0x224)][_0x50286e(0x204)](_0x579a28);let _0x251f76=_0x68ec4b[_0x50286e(0x221)](_0xe9d2f1);const _0x2f46f5=_0x59b285[_0x50286e(0x255)][_0x50286e(0x204)](_0x50286e(0x25e)),_0x6b069e=_0x59b285[_0x50286e(0x224)][_0x50286e(0x204)](_0x3f241a);if(_0x251f76&&(_0x251f76[_0x50286e(0x24f)]&&_0x251f76[_0x50286e(0x258)](null),_0x251f76[_0x50286e(0x205)]))return _0x251f76;return!this[_0x50286e(0x1de)](_0xe9d2f1)[0x0][_0x50286e(0x241)]?_0x59b285[_0x50286e(0x256)][_0x50286e(0x1cf)][_0x50286e(0x1d6)](_0x50286e(0x207),()=>{const _0x59e632=_0x50286e;if(_0x68ec4b[_0x59e632(0x221)](_0xe9d2f1))return;const _0x1d79a1=_0x59b285[_0x59e632(0x224)][_0x59e632(0x204)](_0x4e8271);_0x251f76=_0x68ec4b[_0x59e632(0x1f8)]({'channelId':_0x2f46f5,'threadId':_0xe9d2f1,'target':()=>this[_0x59e632(0x228)](_0xe9d2f1),'context':{'type':_0x59e632(0x1f0),'value':this[_0x59e632(0x250)](_0xe9d2f1)}});const _0x4c5eed=_0x68ec4b[_0x59e632(0x218)][_0x59e632(0x204)](_0x251f76)[_0x59e632(0x1cf)],_0x4c3717=_0x1d79a1[_0x59e632(0x1d0)](_0x4c5eed);_0x4c3717&&_0x6b069e[_0x59e632(0x1e3)](_0x4c3717);},{'priority':_0x50286e(0x24d)}):_0x68ec4b[_0x50286e(0x217)]({'channelId':_0x2f46f5,'threadId':_0xe9d2f1})[_0x50286e(0x1d4)](_0x3ffff1=>{const _0x545b90=_0x50286e;if(_0x545b90(0x235)!==_0x59b285[_0x545b90(0x227)]){if(_0x251f76=_0x3ffff1,_0x251f76&&!_0x251f76[_0x545b90(0x205)]){const _0x5e5600=_0x251f76[_0x545b90(0x24e)](()=>this[_0x545b90(0x228)](_0xe9d2f1));_0x6b069e[_0x545b90(0x1e3)](_0x5e5600),_0x251f76[_0x545b90(0x1ca)]&&this[_0x545b90(0x222)](_0xe9d2f1);}else{if(!_0x251f76){const _0x4d9019=this[_0x545b90(0x1de)](_0xe9d2f1);_0x59b285[_0x545b90(0x1fc)][_0x545b90(0x1e5)](_0x5a21de=>{const _0x15dcb2=_0x545b90;for(const _0xec69f7 of _0x4d9019)_0x5a21de[_0x15dcb2(0x1da)](_0xec69f7);});}}}}),_0x251f76;}[_0x1affdc(0x25b)](_0x4e8568,_0x38b23d){const _0x375fbb=_0x1affdc,_0x3950de=this[_0x375fbb(0x1fb)](_0x4e8568,_0x38b23d);_0x3950de&&!_0x3950de[_0x375fbb(0x22f)]&&_0x3950de[_0x375fbb(0x247)]({'type':_0x375fbb(0x1f0),'value':this[_0x375fbb(0x250)](_0x38b23d)});}[_0x1affdc(0x210)](){const _0x255477=_0x1affdc,_0xda16c0=this[_0x255477(0x254)];_0x39985b(_0xda16c0[_0x255477(0x1fc)],({left:_0xfb57e1,entered:_0x31ee11})=>{const _0x259dda=_0x255477;for(const _0x4c94d7 of _0xfb57e1)if(ht(_0x4c94d7)){_0xda16c0['ui'][_0x259dda(0x202)][_0x259dda(0x208)](_0x16e956(_0xda16c0[_0x259dda(0x251)],_0x259dda(0x242)));break;}for(const _0x48293c of _0x31ee11)if(ht(_0x48293c)){_0xda16c0['ui'][_0x259dda(0x202)][_0x259dda(0x208)](_0x16e956(_0xda16c0[_0x259dda(0x251)],_0x259dda(0x25c),_0x18a866(_0x38cbc4)));break;}});}}function mt(_0x1a2323,_0x2d533f){return _0x2d533f?_0x1a2323+':'+_0x2d533f:_0x1a2323;}export function splitMarkerName(_0x30fee3){const _0x3761bc=_0x1affdc,_0xc4ebf2=_0x30fee3[_0x3761bc(0x223)](':');return{'group':_0xc4ebf2[0x0],'id':_0xc4ebf2[0x1],'part':_0xc4ebf2[0x2]};}function dt(_0x46aa4e,_0x554393){const _0x42a80a=_0x1affdc,_0x2748a7=_0x554393[_0x42a80a(0x216)],_0x268319=_0x554393[_0x42a80a(0x1e9)](_0x46aa4e[_0x42a80a(0x20d)]);for(const _0x31228a of _0x46aa4e[_0x42a80a(0x203)]()){const {type:_0x23067c,item:_0x527d29,nextPosition:_0xb9a76a}=_0x31228a;if(_0x42a80a(0x1f0)===_0x23067c||_0x2748a7[_0x42a80a(0x249)](_0x527d29)){const _0x91261d=_0x554393[_0x42a80a(0x1c8)](_0x527d29);_0x268319[_0x42a80a(0x236)]&&(_0x268319[_0x42a80a(0x20d)]=_0x91261d),_0x268319[_0x42a80a(0x21e)]=_0xb9a76a;}}return _0x268319;}function _0x2f3b(){const _0x59d3a1=['unlinkedAt','_getTextContext','locale','markerToData','$graveyard','editor','config','editing','comment:','setUnlinkedAt','isLocal','ready','_handleThreadMarker','ENTER_COMMENT_ANNOUNCEMENT','change:isThreadsLoadingPaused','collaboration.channelId','commands','comments','createPositionBefore','document','isResolved','3177858uOFzAr','for','resolveCommentThread','_hasTargetInContent','view','getByInnerView','upcast','refreshVisibility','author','then','markerToHighlight','once','hasMarkerForId','getChangedMarkers','_initializeMarkerConverters','removeMarker','760xgvfJo','set','hasDomSelection','getAllMarkersForId','87219HOYdBg','delete','listenTo','data','registerAnnotation','elementToElement','change','reopenCommentThread','2250thVamK','addComment','createRange','comment','conversion','hasCommentThread','2019GrOXNn','init','createElement','text','differ','push','add','ignoreResolvedComments','markers','addMarker:','focus','openNewCommentThread','_attachArchivedThread','6193201hAksKZ','_attachMarkerToThread','model','affectsData','getRange','substring','4441730jkYRiK','CommentsEditing','ariaLiveAnnouncer','getWalker','get','isAttached','getAttribute','render','announce','isThreadsLoadingPaused','updateMarker','getCommentThreads','dataDowncast','start','8HwEaAj','_detachCommentThread','_initAriaMarkerChangeAnnouncements','$textProxy','addCommentThread','rootName','consumable','startsWith','schema','fetchCommentThread','_threadToController','$marker','item','consume','scrollToThreadMarker','markerName','end','from','clear','getCommentThread','_reconvertMarkers','split','plugins','group','isEqual','state','_getTargetForId','removeCommentThread','activeMarker','removeMarker:','enqueueChange','_threads','dataToMarker','context','root','3weHsXe','440754aiuBfG','ck-comment-marker--active','ck-comment-marker','destroyed','isCollapsed','getItems','size','destroy','newRange','reconvertMarker','length','pluginName','name','4694796RWyyeg','change:isReadOnly','managedUsingOperations','LEAVE_COMMENT_ANNOUNCEMENT','_handleMarkerAddAndRemove','hasContent','editingDowncast','first','setContext','registerPostFixer','isObject','requires','change:activeMarker','switchReadOnly','low','attachTo'];_0x2f3b=function(){return _0x59d3a1;};return _0x2f3b();}function ht(_0x1d1345){const _0xeaa089=_0x1affdc;return _0xeaa089(0x1ea)===splitMarkerName(_0x1d1345[_0xeaa089(0x23e)])[_0xeaa089(0x225)];}
|
|
23
|
+
const _0x35b685=_0xe122;function _0xe122(_0x33ba30,_0x333c85){const _0x7773e2=_0x7773();return _0xe122=function(_0xe1220d,_0x5daced){_0xe1220d=_0xe1220d-0x101;let _0x30dbaa=_0x7773e2[_0xe1220d];return _0x30dbaa;},_0xe122(_0x33ba30,_0x333c85);}(function(_0x39cbf3,_0x18a47d){const _0x137e57=_0xe122,_0x7a2c36=_0x39cbf3();while(!![]){try{const _0x49cafe=-parseInt(_0x137e57(0x11d))/0x1+-parseInt(_0x137e57(0x119))/0x2*(parseInt(_0x137e57(0x18b))/0x3)+-parseInt(_0x137e57(0x164))/0x4*(-parseInt(_0x137e57(0x111))/0x5)+-parseInt(_0x137e57(0x14a))/0x6+-parseInt(_0x137e57(0x146))/0x7+parseInt(_0x137e57(0x159))/0x8*(-parseInt(_0x137e57(0x143))/0x9)+parseInt(_0x137e57(0x17c))/0xa;if(_0x49cafe===_0x18a47d)break;else _0x7a2c36['push'](_0x7a2c36['shift']());}catch(_0x4448a3){_0x7a2c36['push'](_0x7a2c36['shift']());}}}(_0x7773,0x9c67e));import{Plugin as _0x1f0df3}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x1e6fc9,scrollViewportToShowTarget as _0x234d15}from'ckeditor5/src/utils.js';import _0x4d91af from'./commentsrepository.js';import _0x1a464a from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x118074,getAllMarkersDomElementsSorted as _0x263684,FOCUS_ANNOTATION_KEYSTROKE as _0x2a83c1,Users as _0x470041}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x467774 from'../annotations/editorannotations.js';function _0x7773(){const _0x33d3ad=['commands','createRange','isCollapsed','newRange','config','_attachMarkerToThread','_reconvertMarkers','ck-comment-marker--active','LEAVE_COMMENT_ANNOUNCEMENT','state','markerName','low','ignoreResolvedComments','author','reconvertMarker','requires','unlinkedAt','setUnlinkedAt','getWalker','comments','registerAnnotation','end','hasContent','view','849565nwCZKS','isLocal','hasCommentThread','plugins','isEqual','hasDomSelection','split','schema','1304mTOyQA','comment','hasMarkerForId','_attachArchivedThread','56480avMvbD','focus','size','$graveyard','createElement','_handleThreadMarker','_getTextContext','data','comment:','start','change:activeMarker','_initAriaMarkerChangeAnnouncements','elementToElement','destroyed','enqueueChange','_threadToController','upcast','dataToMarker','once','isThreadsLoadingPaused','isResolved','consumable','reopenCommentThread','change:isThreadsLoadingPaused','length','editingDowncast','announce','conversion','createPositionBefore','removeMarker','push','destroy','getChangedMarkers','add','substring','addCommentThread','_hasTargetInContent','from','81JIWCdP','group','_getTargetForId','1375486hawDQg','getAttribute','_threads','managedUsingOperations','6830964KbESXY','get','then','collaboration.channelId','removeCommentThread','document','affectsData','first','getCommentThread','$marker','scrollToThreadMarker','render','$textProxy','locale','openNewCommentThread','378344OfxLdM','consume','markers','isObject','isAttached','addComment','resolveCommentThread','model','change','root','listenTo','4RuHJar','CommentsEditing','startsWith','context','getRange','ck-comment-marker','attachTo','delete','_detachCommentThread','setContext','removeMarker:','change:isReadOnly','registerPostFixer','_initializeMarkerConverters','addMarker:','differ','markerToData','refreshVisibility','name','rootName','pluginName','updateMarker','getAllMarkersForId','clear','22884860oakhSr','editor','for','getItems','activeMarker','ready','switchReadOnly','item','_handleMarkerAddAndRemove','init','ariaLiveAnnouncer','getCommentThreads','markerToHighlight','dataDowncast','fetchCommentThread','3gmWzhA','text','editing','getByInnerView','set','ENTER_COMMENT_ANNOUNCEMENT'];_0x7773=function(){return _0x33d3ad;};return _0x7773();}import _0x54545c from'./integrations/commentsrestrictededitingmode.js';import _0x59d6ac from'./integrations/importword.js';import _0x365bb8 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x330288 from'../annotations/annotations.js';import{getTranslation as _0x2c49dc}from'../utils/common-translations.js';export default class r extends _0x1f0df3{static get[_0x35b685(0x108)](){return[_0x4d91af,_0x467774,_0x470041,_0x54545c,_0x59d6ac,_0x365bb8];}static get[_0x35b685(0x178)](){const _0x306abd=_0x35b685;return _0x306abd(0x165);}constructor(_0x490bd2){const _0x2e522a=_0x35b685;super(_0x490bd2),this[_0x2e522a(0x18f)](_0x2e522a(0x130),!0x0),_0x490bd2[_0x2e522a(0x124)][_0x2e522a(0x12f)](_0x2e522a(0x181),()=>this[_0x2e522a(0x130)]=!0x1),this[_0x2e522a(0x18f)](_0x2e522a(0x180),null),this['on'](_0x2e522a(0x127),(_0x4e5431,_0x7c9e89,_0x521ffc,_0x595b9d)=>{const _0x2eb41d=_0x2e522a,_0x3c0514=_0x521ffc?splitMarkerName(_0x521ffc)['id']:null;if(_0x490bd2[_0x2eb41d(0x160)][_0x2eb41d(0x161)](()=>{const _0x426186=_0x2eb41d;if(_0x3c0514){const _0x53f346=this[_0x426186(0x17a)](_0x3c0514);for(const _0x4b8639 of _0x53f346)_0x490bd2[_0x426186(0x18d)][_0x426186(0x107)](_0x4b8639);}if(_0x595b9d){const {id:_0xac6276}=splitMarkerName(_0x595b9d),_0x49108c=this[_0x426186(0x17a)](_0xac6276);for(const _0x4d7164 of _0x49108c)_0x490bd2[_0x426186(0x18d)][_0x426186(0x107)](_0x4d7164);}}),_0x3c0514){const _0x5adf0c=_0x490bd2[_0x2eb41d(0x114)][_0x2eb41d(0x14b)](_0x4d91af)[_0x2eb41d(0x152)](_0x3c0514);_0x5adf0c&&_0x5adf0c[_0x2eb41d(0x131)]&&this[_0x2eb41d(0x154)](_0x3c0514);}}),this[_0x2e522a(0x128)]();}[_0x35b685(0x185)](){const _0x4ddda8=_0x35b685,_0x556cb8=this[_0x4ddda8(0x17d)],_0x543f0a=_0x556cb8[_0x4ddda8(0x114)][_0x4ddda8(0x14b)](_0x4d91af),_0x3d670c=_0x556cb8[_0x4ddda8(0x195)][_0x4ddda8(0x14b)](_0x4ddda8(0x14d));_0x556cb8[_0x4ddda8(0x191)][_0x4ddda8(0x13e)](_0x4ddda8(0x140),new _0x1a464a(_0x556cb8)),this[_0x4ddda8(0x163)](_0x556cb8,_0x4ddda8(0x16f),(_0x5424ac,_0xb10366,_0xfbc03b)=>{const _0x4d19f6=_0x4ddda8;_0x543f0a[_0x4d19f6(0x182)](_0xfbc03b,_0x556cb8[_0x4d19f6(0x195)][_0x4d19f6(0x14b)](_0x4d19f6(0x14d)));}),this[_0x4ddda8(0x163)](_0x543f0a,mt(_0x4ddda8(0x140),_0x3d670c),(_0x4e335a,{threadId:_0xe1ec96})=>{const _0x1c38a4=_0x4ddda8,_0x4e5a87=this[_0x1c38a4(0x17d)][_0x1c38a4(0x114)][_0x1c38a4(0x14b)](_0x4d91af)[_0x1c38a4(0x152)](_0xe1ec96);_0x4e5a87&&_0x4e5a87[_0x1c38a4(0x109)]&&this[_0x1c38a4(0x11c)](_0xe1ec96);}),this[_0x4ddda8(0x163)](_0x543f0a,mt(_0x4ddda8(0x14e),_0x3d670c),(_0x582823,{threadId:_0x560e30})=>{const _0x4f32ce=_0x4ddda8;_0x556cb8[_0x4f32ce(0x160)][_0x4f32ce(0x12b)]({'isUndoable':!0x1},_0x2bc3b8=>{const _0x57e97f=_0x4f32ce,_0x30906a=this[_0x57e97f(0x17a)](_0x560e30);for(const _0x33d596 of _0x30906a)_0x2bc3b8[_0x57e97f(0x13a)](_0x33d596);});}),this[_0x4ddda8(0x163)](_0x543f0a,mt(_0x4ddda8(0x15f),_0x3d670c),(_0x333794,{threadId:_0x2c8e84})=>{const _0x595865=_0x4ddda8;(this[_0x595865(0x197)](_0x2c8e84),this[_0x595865(0x17d)][_0x595865(0x18d)][_0x595865(0x110)][_0x595865(0x116)])&&(this[_0x595865(0x17d)][_0x595865(0x114)][_0x595865(0x14b)](_0x4d91af)[_0x595865(0x152)](_0x2c8e84)[_0x595865(0x109)]||this[_0x595865(0x17d)][_0x595865(0x18d)][_0x595865(0x110)][_0x595865(0x11e)]());},{'priority':_0x4ddda8(0x104)}),this[_0x4ddda8(0x163)](_0x543f0a,mt(_0x4ddda8(0x133),_0x3d670c),(_0x5bccb9,{threadId:_0x5ae8dc})=>{const _0x373fe4=_0x4ddda8;this[_0x373fe4(0x197)](_0x5ae8dc);},{'priority':_0x4ddda8(0x104)}),this[_0x4ddda8(0x163)](_0x543f0a,mt(_0x4ddda8(0x15e),_0x3d670c),(_0x3a737b,{threadId:_0x44bcfd,isFromAdapter:_0xfa6876})=>{const _0x34fea3=_0x4ddda8,_0x4e35ea=this[_0x34fea3(0x17a)](_0x44bcfd);if(_0xfa6876||0x0==_0x4e35ea[_0x34fea3(0x135)]||!_0x543f0a[_0x34fea3(0x113)](_0x44bcfd))return;0x1===_0x543f0a[_0x34fea3(0x152)](_0x44bcfd)[_0x34fea3(0x135)]&&_0x556cb8[_0x34fea3(0x160)][_0x34fea3(0x12b)]({'isUndoable':!0x1},_0x5ae0f7=>{const _0x574547=_0x34fea3;for(const _0x8e9ed5 of _0x4e35ea)_0x5ae0f7[_0x574547(0x179)](_0x8e9ed5,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x4ddda8(0x104)}),this[_0x4ddda8(0x171)](),this[_0x4ddda8(0x184)]();}[_0x35b685(0x13c)](){const _0x4b4fc3=_0x35b685,_0x563330=this[_0x4b4fc3(0x17d)][_0x4b4fc3(0x114)][_0x4b4fc3(0x14b)](_0x4d91af),_0x1ae731=this[_0x4b4fc3(0x17d)][_0x4b4fc3(0x195)][_0x4b4fc3(0x14b)](_0x4b4fc3(0x14d));for(const _0x145a45 of _0x563330[_0x4b4fc3(0x187)]({'channelId':_0x1ae731}))_0x563330[_0x4b4fc3(0x16c)](_0x145a45['id']),_0x563330[_0x4b4fc3(0x148)][_0x4b4fc3(0x16b)](_0x145a45['id']);super[_0x4b4fc3(0x13c)]();}[_0x35b685(0x11b)](_0x57c276){const _0x1d1898=_0x35b685;return this[_0x1d1898(0x17a)](_0x57c276)[_0x1d1898(0x135)]>0x0;}[_0x35b685(0x17a)](_0x135c47){const _0x38bf80=_0x35b685,_0x57f8ca=[];for(const _0x21e559 of this[_0x38bf80(0x17d)][_0x38bf80(0x160)][_0x38bf80(0x15b)])_0x21e559[_0x38bf80(0x176)][_0x38bf80(0x166)](_0x38bf80(0x125)+_0x135c47)&&_0x57f8ca[_0x38bf80(0x13b)](_0x21e559);return _0x57f8ca;}[_0x35b685(0x154)](_0xefdd4e){const _0xa0e3d7=_0x35b685,_0x3a0cee=this[_0xa0e3d7(0x145)](_0xefdd4e);_0x3a0cee&&setTimeout(()=>{const _0x14d862=_0xa0e3d7;this[_0x14d862(0x180)]&&splitMarkerName(this[_0x14d862(0x180)])['id']===_0xefdd4e&&_0x234d15({'target':_0x3a0cee[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x35b685(0x197)](_0x5005a9){const _0x59b179=_0x35b685;this[_0x59b179(0x17d)][_0x59b179(0x160)][_0x59b179(0x161)](()=>{const _0x6bb87a=_0x59b179;for(const _0x4bb7c1 of this[_0x6bb87a(0x17a)](_0x5005a9))this[_0x6bb87a(0x17d)][_0x6bb87a(0x18d)][_0x6bb87a(0x107)](_0x4bb7c1);});}[_0x35b685(0x11c)](_0x4984d7){const _0x4f0aa3=_0x35b685,_0x58dac4=this[_0x4f0aa3(0x17d)][_0x4f0aa3(0x114)][_0x4f0aa3(0x14b)](_0x4d91af),_0x5e4d35=this[_0x4f0aa3(0x17d)][_0x4f0aa3(0x114)][_0x4f0aa3(0x14b)](_0x467774),_0x38d147=_0x58dac4[_0x4f0aa3(0x152)](_0x4984d7);if(!_0x38d147[_0x4f0aa3(0x15d)]){const _0x46972a=_0x38d147[_0x4f0aa3(0x16a)](()=>this[_0x4f0aa3(0x145)](_0x38d147['id']));_0x5e4d35[_0x4f0aa3(0x10d)](_0x46972a),_0x38d147[_0x4f0aa3(0x141)]=!0x1;}}[_0x35b685(0x171)](){const _0x72a123=_0x35b685,_0x46e6bf=this[_0x72a123(0x17d)],_0x4302d8=_0x46e6bf[_0x72a123(0x114)][_0x72a123(0x14b)](_0x470041);_0x46e6bf[_0x72a123(0x138)][_0x72a123(0x17e)](_0x72a123(0x136))[_0x72a123(0x188)]({'model':_0x72a123(0x11a),'view':(_0x416b3d,_0x116ed8)=>{const _0x4a6195=_0x72a123,{id:_0x5116e6}=splitMarkerName(_0x416b3d[_0x4a6195(0x103)]),_0x21863=_0x46e6bf[_0x4a6195(0x114)][_0x4a6195(0x14b)](_0x4d91af)[_0x4a6195(0x152)](_0x5116e6),_0x4a62b8=this[_0x4a6195(0x180)]&&splitMarkerName(this[_0x4a6195(0x180)])['id']===_0x5116e6;let _0x73fb1;if(_0x21863&&_0x21863[_0x4a6195(0x131)]&&!_0x4a62b8&&_0x416b3d[_0x4a6195(0x183)])return _0x116ed8[_0x4a6195(0x132)][_0x4a6195(0x15a)](_0x416b3d[_0x4a6195(0x183)],_0x4a6195(0x172)+_0x416b3d[_0x4a6195(0x103)]),_0x116ed8[_0x4a6195(0x132)][_0x4a6195(0x15a)](_0x416b3d[_0x4a6195(0x183)],_0x4a6195(0x16e)+_0x416b3d[_0x4a6195(0x103)]),null;const _0x561906=[_0x4a6195(0x169)];return _0x4a62b8&&_0x561906[_0x4a6195(0x13b)](_0x4a6195(0x198)),_0x73fb1=_0x21863&&_0x21863[_0x4a6195(0x135)]?_0x21863[_0x4a6195(0x10c)][_0x4a6195(0x151)][_0x4a6195(0x106)]['id']:_0x4302d8['me']['id'],{'classes':_0x561906,'attributes':{'data-comment':_0x5116e6,'data-author-id':_0x73fb1}};}}),_0x46e6bf[_0x72a123(0x138)][_0x72a123(0x17e)](_0x72a123(0x189))[_0x72a123(0x174)]({'model':_0x72a123(0x11a),'view':(_0x590075,{options:_0x3411c5})=>{const _0x33fb5f=_0x72a123,_0x4003db=_0x46e6bf[_0x33fb5f(0x114)][_0x33fb5f(0x14b)](_0x4d91af),_0x52957c=_0x46e6bf[_0x33fb5f(0x160)][_0x33fb5f(0x15b)][_0x33fb5f(0x14b)](_0x590075),{id:_0x505ecd,part:_0x521b15}=splitMarkerName(_0x590075);if(_0x52957c&&!_0x52957c[_0x33fb5f(0x150)])return null;if(_0x3411c5[_0x33fb5f(0x105)]){const _0x2bee47=_0x4003db[_0x33fb5f(0x152)](_0x505ecd);if(_0x2bee47&&_0x2bee47[_0x33fb5f(0x131)])return null;}return{'group':_0x33fb5f(0x11a),'name':_0x521b15?_0x505ecd+':'+_0x521b15:_0x505ecd};}}),_0x46e6bf[_0x72a123(0x138)][_0x72a123(0x17e)](_0x72a123(0x12d))[_0x72a123(0x129)]({'view':{'name':_0x72a123(0x11a),'attributes':{'id':/^\w/}},'model':(_0x25316b,{writer:_0x30ef6d})=>_0x30ef6d[_0x72a123(0x121)](_0x72a123(0x153),{'data-name':_0x72a123(0x125)+_0x25316b[_0x72a123(0x147)]('id')})}),_0x46e6bf[_0x72a123(0x138)][_0x72a123(0x17e)](_0x72a123(0x12d))[_0x72a123(0x12e)]({'view':_0x72a123(0x11a)});}[_0x35b685(0x184)](){const _0x59d5e3=_0x35b685,_0x5f3af4=this[_0x59d5e3(0x17d)],_0x18d2dd=_0x5f3af4[_0x59d5e3(0x114)][_0x59d5e3(0x14b)](_0x4d91af),_0x3c7546=new Set(),_0x5749ae=new Set();_0x5f3af4[_0x59d5e3(0x160)][_0x59d5e3(0x14f)][_0x59d5e3(0x170)](_0x53db00=>{const _0x11a0bf=_0x59d5e3;let _0x3247ba=!0x1;for(const {name:_0x4f0776,data:_0xd7de9d}of _0x5f3af4[_0x11a0bf(0x160)][_0x11a0bf(0x14f)][_0x11a0bf(0x173)][_0x11a0bf(0x13d)]()){const {group:_0x4dfff9,id:_0x1a9695}=splitMarkerName(_0x4f0776);let _0x262970=_0xd7de9d[_0x11a0bf(0x194)];if(_0x11a0bf(0x11a)!==_0x4dfff9||!_0x262970)continue;const _0x26f0a7=_0x11a0bf(0x120)===_0x262970[_0x11a0bf(0x162)][_0x11a0bf(0x177)];_0x26f0a7||(_0x262970=dt(_0x262970,_0x5f3af4[_0x11a0bf(0x160)]),!_0x262970||_0x262970[_0x11a0bf(0x193)]||!_0xd7de9d[_0x11a0bf(0x194)]||_0x262970[_0x11a0bf(0x115)](_0xd7de9d[_0x11a0bf(0x194)]))?_0x5f3af4[_0x11a0bf(0x160)][_0x11a0bf(0x10f)](_0x262970)&&!_0x26f0a7?this[_0x11a0bf(0x130)]?_0x3c7546[_0x11a0bf(0x13e)](_0x4f0776):this[_0x11a0bf(0x122)](_0x4f0776,_0x1a9695):(_0x5749ae[_0x11a0bf(0x13e)](_0x4f0776),_0x3c7546[_0x11a0bf(0x16b)](_0x4f0776),_0x53db00[_0x11a0bf(0x13a)](_0x4f0776),_0x3247ba=!0x0):(_0x53db00[_0x11a0bf(0x179)](_0x4f0776,{'range':_0x262970}),_0x3247ba=!0x0);}return _0x3247ba;}),this['on'](_0x59d5e3(0x134),(_0xe7324a,_0x411796,_0x1bff9d)=>{const _0x25c01e=_0x59d5e3;if(!_0x1bff9d&&_0x3c7546[_0x25c01e(0x11f)])for(const _0x2ca8d1 of _0x3c7546){const {id:_0x12e192}=splitMarkerName(_0x2ca8d1);_0x3c7546[_0x25c01e(0x16b)](_0x2ca8d1),_0x5f3af4[_0x25c01e(0x160)][_0x25c01e(0x15b)][_0x25c01e(0x14b)](_0x2ca8d1)&&this[_0x25c01e(0x122)](_0x2ca8d1,_0x12e192);}}),this[_0x59d5e3(0x163)](_0x5f3af4[_0x59d5e3(0x160)][_0x59d5e3(0x14f)],_0x59d5e3(0x161),(_0x38027a,_0x2725a8)=>{const _0xd40ab4=_0x59d5e3;for(const {name:_0x5ba486,data:{newRange:_0x5e8111}}of _0x5f3af4[_0xd40ab4(0x160)][_0xd40ab4(0x14f)][_0xd40ab4(0x173)][_0xd40ab4(0x13d)]()){const {group:_0x135668,id:_0x35a362}=splitMarkerName(_0x5ba486);if(_0xd40ab4(0x11a)!==_0x135668)continue;const _0x5d20e2=_0x18d2dd[_0xd40ab4(0x152)](_0x35a362),_0x211346=this[_0xd40ab4(0x11b)](_0x35a362);_0x5d20e2&&(!_0x5d20e2[_0xd40ab4(0x141)]&&_0x5e8111&&_0x5f3af4[_0xd40ab4(0x18d)][_0xd40ab4(0x110)][_0xd40ab4(0x12f)](_0xd40ab4(0x155),()=>{const _0x5ab574=_0xd40ab4,_0x33fa05=_0x5f3af4[_0x5ab574(0x114)][_0x5ab574(0x14b)](_0x330288),_0x66a672=_0x18d2dd[_0x5ab574(0x12c)][_0x5ab574(0x14b)](_0x5d20e2)[_0x5ab574(0x110)];_0x33fa05[_0x5ab574(0x18e)](_0x66a672)[_0x5ab574(0x175)]();},{'priority':_0xd40ab4(0x104)}),_0x5d20e2[_0xd40ab4(0x141)]=_0x211346||!!_0x5e8111),_0x5e8111||(_0x5749ae[_0xd40ab4(0x13e)](_0x5ba486),_0x3c7546[_0xd40ab4(0x16b)](_0x5ba486));}if(_0x2725a8[_0xd40ab4(0x112)])for(const _0x5383f0 of _0x5749ae){const {id:_0x15da8e}=splitMarkerName(_0x5383f0),_0x21d0e0=_0x18d2dd[_0xd40ab4(0x152)](_0x15da8e),_0x1e852c=this[_0xd40ab4(0x11b)](_0x15da8e);_0x3c7546[_0xd40ab4(0x16b)](_0x5383f0),!_0x21d0e0||_0x1e852c||_0x21d0e0[_0xd40ab4(0x109)]||_0x21d0e0[_0xd40ab4(0x10a)](new Date());}_0x5749ae[_0xd40ab4(0x17b)]();});}[_0x35b685(0x145)](_0x284bc6){const _0x573af8=_0x35b685,_0x176333=this[_0x573af8(0x17d)],_0x1a4920=this[_0x573af8(0x17a)](_0x284bc6);return _0x263684(_0x176333[_0x573af8(0x18d)],_0x1a4920);}[_0x35b685(0x123)](_0x2f3c0a){const _0x2f9f25=_0x35b685,_0x397a44=this[_0x2f9f25(0x17a)](_0x2f3c0a);let _0x5be359='',_0x757266=!0x1;for(const _0x46864d of _0x397a44){const _0x22101b=_0x46864d[_0x2f9f25(0x168)]();for(const _0x2c22a6 of Array[_0x2f9f25(0x142)](_0x22101b[_0x2f9f25(0x17f)]()))_0x2c22a6['is'](_0x2f9f25(0x156))?(_0x5be359&&_0x757266&&(_0x5be359+='\x20',_0x757266=!0x1),_0x5be359+=_0x2c22a6[_0x2f9f25(0x124)]):_0x757266=!0x0;_0x757266=!0x0;}return _0x5be359[_0x2f9f25(0x13f)](0x0,0x96);}[_0x35b685(0x196)](_0x280f61,_0x5f0ab9){const _0x2933f5=_0x35b685,_0x3520dd=this[_0x2933f5(0x17d)],_0x25b51a=_0x3520dd[_0x2933f5(0x114)][_0x2933f5(0x14b)](_0x4d91af);let _0x4b4409=_0x25b51a[_0x2933f5(0x152)](_0x5f0ab9);const _0x2e6047=_0x3520dd[_0x2933f5(0x195)][_0x2933f5(0x14b)](_0x2933f5(0x14d)),_0x333a6e=_0x3520dd[_0x2933f5(0x114)][_0x2933f5(0x14b)](_0x467774);if(_0x4b4409&&(_0x4b4409[_0x2933f5(0x109)]&&_0x4b4409[_0x2933f5(0x10a)](null),_0x4b4409[_0x2933f5(0x15d)]))return _0x4b4409;return!this[_0x2933f5(0x17a)](_0x5f0ab9)[0x0][_0x2933f5(0x149)]?_0x3520dd[_0x2933f5(0x18d)][_0x2933f5(0x110)][_0x2933f5(0x12f)](_0x2933f5(0x155),()=>{const _0x3fae5b=_0x2933f5;if(_0x25b51a[_0x3fae5b(0x152)](_0x5f0ab9))return;const _0x23fb43=_0x3520dd[_0x3fae5b(0x114)][_0x3fae5b(0x14b)](_0x330288);_0x4b4409=_0x25b51a[_0x3fae5b(0x158)]({'channelId':_0x2e6047,'threadId':_0x5f0ab9,'target':()=>this[_0x3fae5b(0x145)](_0x5f0ab9),'context':{'type':_0x3fae5b(0x18c),'value':this[_0x3fae5b(0x123)](_0x5f0ab9)}});const _0x529301=_0x25b51a[_0x3fae5b(0x12c)][_0x3fae5b(0x14b)](_0x4b4409)[_0x3fae5b(0x110)],_0x71591=_0x23fb43[_0x3fae5b(0x18e)](_0x529301);_0x71591&&_0x333a6e[_0x3fae5b(0x10d)](_0x71591);},{'priority':_0x2933f5(0x104)}):_0x25b51a[_0x2933f5(0x18a)]({'channelId':_0x2e6047,'threadId':_0x5f0ab9})[_0x2933f5(0x14c)](_0xdcdda=>{const _0x455886=_0x2933f5;if(_0x455886(0x12a)!==_0x3520dd[_0x455886(0x102)]){if(_0x4b4409=_0xdcdda,_0x4b4409&&!_0x4b4409[_0x455886(0x15d)]){const _0x317652=_0x4b4409[_0x455886(0x16a)](()=>this[_0x455886(0x145)](_0x5f0ab9));_0x333a6e[_0x455886(0x10d)](_0x317652),_0x4b4409[_0x455886(0x131)]&&this[_0x455886(0x197)](_0x5f0ab9);}else{if(!_0x4b4409){const _0x4f14a3=this[_0x455886(0x17a)](_0x5f0ab9);_0x3520dd[_0x455886(0x160)][_0x455886(0x161)](_0x4bda09=>{const _0x543f56=_0x455886;for(const _0x35f406 of _0x4f14a3)_0x4bda09[_0x543f56(0x13a)](_0x35f406);});}}}}),_0x4b4409;}[_0x35b685(0x122)](_0x30b873,_0x1f3b90){const _0xc9da84=_0x35b685,_0x175d22=this[_0xc9da84(0x196)](_0x30b873,_0x1f3b90);_0x175d22&&!_0x175d22[_0xc9da84(0x167)]&&_0x175d22[_0xc9da84(0x16d)]({'type':_0xc9da84(0x18c),'value':this[_0xc9da84(0x123)](_0x1f3b90)});}[_0x35b685(0x128)](){const _0x21b749=_0x35b685,_0x5d81ce=this[_0x21b749(0x17d)];_0x118074(_0x5d81ce[_0x21b749(0x160)],({left:_0x490a9e,entered:_0x56934f})=>{const _0x5069ba=_0x21b749;for(const _0x385020 of _0x490a9e)if(ht(_0x385020)){_0x5d81ce['ui'][_0x5069ba(0x186)][_0x5069ba(0x137)](_0x2c49dc(_0x5d81ce[_0x5069ba(0x157)],_0x5069ba(0x101)));break;}for(const _0x3cad73 of _0x56934f)if(ht(_0x3cad73)){_0x5d81ce['ui'][_0x5069ba(0x186)][_0x5069ba(0x137)](_0x2c49dc(_0x5d81ce[_0x5069ba(0x157)],_0x5069ba(0x190),_0x1e6fc9(_0x2a83c1)));break;}});}}function mt(_0xa6c365,_0xc8d63){return _0xc8d63?_0xa6c365+':'+_0xc8d63:_0xa6c365;}export function splitMarkerName(_0xccb507){const _0x48197d=_0x35b685,_0x1a61bb=_0xccb507[_0x48197d(0x117)](':');return{'group':_0x1a61bb[0x0],'id':_0x1a61bb[0x1],'part':_0x1a61bb[0x2]};}function dt(_0x11147e,_0x2479c0){const _0x5a8924=_0x35b685,_0x2cf69d=_0x2479c0[_0x5a8924(0x118)],_0x230622=_0x2479c0[_0x5a8924(0x192)](_0x11147e[_0x5a8924(0x126)]);for(const _0x3d55b0 of _0x11147e[_0x5a8924(0x10b)]()){const {type:_0x2ca7cc,item:_0x181d2b,nextPosition:_0x3d090a}=_0x3d55b0;if(_0x5a8924(0x18c)===_0x2ca7cc||_0x2cf69d[_0x5a8924(0x15c)](_0x181d2b)){const _0x57c206=_0x2479c0[_0x5a8924(0x139)](_0x181d2b);_0x230622[_0x5a8924(0x193)]&&(_0x230622[_0x5a8924(0x126)]=_0x57c206),_0x230622[_0x5a8924(0x10e)]=_0x3d090a;}}return _0x230622;}function ht(_0x3f65eb){const _0x47476a=_0x35b685;return _0x47476a(0x11a)===splitMarkerName(_0x3f65eb[_0x47476a(0x176)])[_0x47476a(0x144)];}
|