@ckeditor/ckeditor5-comments 42.0.0-alpha.21 → 42.0.0-alpha.23
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 +3 -3
- 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/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2b7431=_0x4a31;function _0x4a31(_0x246867,_0xe98276){const _0x54f7e7=_0x54f7();return _0x4a31=function(_0x4a3117,_0x2bf541){_0x4a3117=_0x4a3117-0x1c7;let _0x201f5d=_0x54f7e7[_0x4a3117];return _0x201f5d;},_0x4a31(_0x246867,_0xe98276);}(function(_0x2fb9b2,_0x3aec38){const _0x4b6cbe=_0x4a31,_0x580e0f=_0x2fb9b2();while(!![]){try{const _0x2dcacb=-parseInt(_0x4b6cbe(0x206))/0x1*(-parseInt(_0x4b6cbe(0x219))/0x2)+-parseInt(_0x4b6cbe(0x1d5))/0x3+parseInt(_0x4b6cbe(0x259))/0x4*(parseInt(_0x4b6cbe(0x225))/0x5)+parseInt(_0x4b6cbe(0x210))/0x6*(parseInt(_0x4b6cbe(0x253))/0x7)+parseInt(_0x4b6cbe(0x23c))/0x8*(-parseInt(_0x4b6cbe(0x1ce))/0x9)+parseInt(_0x4b6cbe(0x246))/0xa*(-parseInt(_0x4b6cbe(0x1ff))/0xb)+parseInt(_0x4b6cbe(0x20e))/0xc;if(_0x2dcacb===_0x3aec38)break;else _0x580e0f['push'](_0x580e0f['shift']());}catch(_0x5de8b9){_0x580e0f['push'](_0x580e0f['shift']());}}}(_0x54f7,0x405ca));import{Plugin as _0x3d48a1}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x116392}from'ckeditor5/src/utils.js';import _0x2fe49d from'./commentsrepository.js';function _0x54f7(){const _0x5747fe=['openNewCommentThread','clear','CommentsEditing','config','group','end','hasCommentThread','push','4950319VrBFYw','isCollapsed','LEAVE_COMMENT_ANNOUNCEMENT','commands','start','view','from','1ZOOcNp','change','activeMarker','setUnlinkedAt','resolveCommentThread','item','ready','document','6504948dutTrk','requires','2238858fRXXch','getChangedMarkers','get','name','startsWith','_hasTargetInContent','getByInnerView','locale','updateMarker','436214aLIpfC','split','scrollToThreadMarker','set','switchReadOnly','isResolved','_getTextContext','focus','consume','differ','registerAnnotation','editing','309435sQirhK','createElement','markerToData','$textProxy','markerToHighlight','isObject','ck-comment-marker--active','listenTo','context','markers','state','change:isThreadsLoadingPaused','managedUsingOperations','addMarker:','consumable','delete','collaboration.channelId','upcast','ENTER_COMMENT_ANNOUNCEMENT','$graveyard','for','addComment','isEqual','2293944RodFzg','hasMarkerForId','ck-comment-marker','removeCommentThread','substring','editingDowncast','_handleThreadMarker','reconvertMarker','announce','getCommentThreads','10utLSbD','low','conversion','$marker','isAttached','destroyed','render','refreshVisibility','ariaLiveAnnouncer','_getTargetForId','hasDomSelection','setContext','attachTo','7wNvTKa','_handleMarkerAddAndRemove','pluginName','removeMarker','change:isReadOnly','getWalker','16bCWjOS','text','change:activeMarker','_initializeMarkerConverters','_threads','isThreadsLoadingPaused','removeMarker:','schema','fetchCommentThread','_attachArchivedThread','getRange','root','9hajIBL','dataDowncast','newRange','elementToElement','getAllMarkersForId','unlinkedAt','once','1141437LvWSFo','plugins','_initAriaMarkerChangeAnnouncements','dataToMarker','add','isLocal','destroy','_attachMarkerToThread','init','getAttribute','addCommentThread','data','registerPostFixer','getCommentThread','length','then','ignoreResolvedComments','editor','createPositionBefore','rootName','model','createRange','comment:','enqueueChange','_reconvertMarkers','affectsData','getItems','_detachCommentThread','hasContent','_threadToController','reopenCommentThread','markerName','size','comment'];_0x54f7=function(){return _0x5747fe;};return _0x54f7();}import _0xe9a9a8 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x5b60dd,getAllMarkersDomElementsSorted as _0x388cb2}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x6fc960 from'../annotations/editorannotations.js';import _0x4b8261 from'./integrations/commentsrestrictededitingmode.js';import _0x126635 from'./integrations/importword.js';import _0x4dcc7b from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x53b043 from'../annotations/annotations.js';import{getTranslation as _0x368aa4}from'../utils/common-translations.js';export default class r extends _0x3d48a1{static get[_0x2b7431(0x20f)](){return[_0x2fe49d,_0x6fc960,_0x4b8261,_0x126635,_0x4dcc7b];}static get[_0x2b7431(0x255)](){const _0x4ff49a=_0x2b7431;return _0x4ff49a(0x1f9);}constructor(_0xfd5fd){const _0x1165d8=_0x2b7431;super(_0xfd5fd),this[_0x1165d8(0x21c)](_0x1165d8(0x1c7),!0x0),_0xfd5fd[_0x1165d8(0x1e0)][_0x1165d8(0x1d4)](_0x1165d8(0x20c),()=>this[_0x1165d8(0x1c7)]=!0x1),this[_0x1165d8(0x21c)](_0x1165d8(0x208),null),this['on'](_0x1165d8(0x25b),(_0x58a18d,_0x1f6a6f,_0x127d36,_0x5a3b88)=>{const _0x23b8d2=_0x1165d8,_0x256598=_0x127d36?it(_0x127d36)['id']:null;if(_0xfd5fd[_0x23b8d2(0x1e9)][_0x23b8d2(0x207)](()=>{const _0x3ec6bf=_0x23b8d2;if(_0x256598){const _0x5f22fb=this[_0x3ec6bf(0x1d2)](_0x256598);for(const _0x53946 of _0x5f22fb)_0xfd5fd[_0x3ec6bf(0x224)][_0x3ec6bf(0x243)](_0x53946);}if(_0x5a3b88){const {id:_0x32fa58}=it(_0x5a3b88),_0x295433=this[_0x3ec6bf(0x1d2)](_0x32fa58);for(const _0x56d23d of _0x295433)_0xfd5fd[_0x3ec6bf(0x224)][_0x3ec6bf(0x243)](_0x56d23d);}}),_0x256598){const _0x4e6dab=_0xfd5fd[_0x23b8d2(0x1d6)][_0x23b8d2(0x212)](_0x2fe49d)[_0x23b8d2(0x1e2)](_0x256598);_0x4e6dab&&_0x4e6dab[_0x23b8d2(0x21e)]&&this[_0x23b8d2(0x21b)](_0x256598);}}),this[_0x1165d8(0x1d7)]();}[_0x2b7431(0x1dd)](){const _0x360533=_0x2b7431,_0x8f8ef=this[_0x360533(0x1e6)],_0x5c876d=_0x8f8ef[_0x360533(0x1d6)][_0x360533(0x212)](_0x2fe49d),_0x117520=_0x8f8ef[_0x360533(0x1fa)][_0x360533(0x212)](_0x360533(0x235));_0x8f8ef[_0x360533(0x202)][_0x360533(0x1d9)](_0x360533(0x1df),new _0xe9a9a8(_0x8f8ef)),this[_0x360533(0x22c)](_0x8f8ef,_0x360533(0x257),(_0x5879b2,_0x49516f,_0x1c0a12)=>{const _0x1f6795=_0x360533;_0x5c876d[_0x1f6795(0x21d)](_0x1c0a12,_0x8f8ef[_0x1f6795(0x1fa)][_0x1f6795(0x212)](_0x1f6795(0x235)));}),this[_0x360533(0x22c)](_0x5c876d,nt(_0x360533(0x1df),_0x117520),(_0x40516c,{threadId:_0x43e7e7})=>{const _0x113977=_0x360533,_0x29b7d5=this[_0x113977(0x1e6)][_0x113977(0x1d6)][_0x113977(0x212)](_0x2fe49d)[_0x113977(0x1e2)](_0x43e7e7);_0x29b7d5&&_0x29b7d5[_0x113977(0x1d3)]&&this[_0x113977(0x1cb)](_0x43e7e7);}),this[_0x360533(0x22c)](_0x5c876d,nt(_0x360533(0x23f),_0x117520),(_0x1495e3,{threadId:_0x51182c})=>{const _0x2eddc6=_0x360533;_0x8f8ef[_0x2eddc6(0x1e9)][_0x2eddc6(0x1ec)]({'isUndoable':!0x1},_0x1e615c=>{const _0x5babb2=_0x2eddc6,_0x536db4=this[_0x5babb2(0x1d2)](_0x51182c);for(const _0x385e3e of _0x536db4)_0x1e615c[_0x5babb2(0x256)](_0x385e3e);});}),this[_0x360533(0x22c)](_0x5c876d,nt(_0x360533(0x20a),_0x117520),(_0x442632,{threadId:_0x4e004c})=>{const _0x59177a=_0x360533;(this[_0x59177a(0x1ed)](_0x4e004c),this[_0x59177a(0x1e6)][_0x59177a(0x224)][_0x59177a(0x204)][_0x59177a(0x250)])&&(this[_0x59177a(0x1e6)][_0x59177a(0x1d6)][_0x59177a(0x212)](_0x2fe49d)[_0x59177a(0x1e2)](_0x4e004c)[_0x59177a(0x1d3)]||this[_0x59177a(0x1e6)][_0x59177a(0x224)][_0x59177a(0x204)][_0x59177a(0x220)]());},{'priority':_0x360533(0x247)}),this[_0x360533(0x22c)](_0x5c876d,nt(_0x360533(0x1f3),_0x117520),(_0x498f0a,{threadId:_0x1ceb2d})=>{const _0x12e86f=_0x360533;this[_0x12e86f(0x1ed)](_0x1ceb2d);},{'priority':_0x360533(0x247)}),this[_0x360533(0x22c)](_0x5c876d,nt(_0x360533(0x23a),_0x117520),(_0x2f2c59,{threadId:_0x366492,isFromAdapter:_0x3c742c})=>{const _0x1e64ad=_0x360533,_0x5f515f=this[_0x1e64ad(0x1d2)](_0x366492);if(_0x3c742c||0x0==_0x5f515f[_0x1e64ad(0x1e3)]||!_0x5c876d[_0x1e64ad(0x1fd)](_0x366492))return;0x1===_0x5c876d[_0x1e64ad(0x1e2)](_0x366492)[_0x1e64ad(0x1e3)]&&_0x8f8ef[_0x1e64ad(0x1e9)][_0x1e64ad(0x1ec)]({'isUndoable':!0x1},_0x39d04f=>{const _0x488eab=_0x1e64ad;for(const _0x26efa4 of _0x5f515f)_0x39d04f[_0x488eab(0x218)](_0x26efa4,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x360533(0x247)}),this[_0x360533(0x25c)](),this[_0x360533(0x254)]();}[_0x2b7431(0x1db)](){const _0x204774=_0x2b7431,_0x11bbb5=this[_0x204774(0x1e6)][_0x204774(0x1d6)][_0x204774(0x212)](_0x2fe49d),_0x4d9b6e=this[_0x204774(0x1e6)][_0x204774(0x1fa)][_0x204774(0x212)](_0x204774(0x235));for(const _0x57e7b6 of _0x11bbb5[_0x204774(0x245)]({'channelId':_0x4d9b6e}))_0x11bbb5[_0x204774(0x1f0)](_0x57e7b6['id']),_0x11bbb5[_0x204774(0x25d)][_0x204774(0x234)](_0x57e7b6['id']);super[_0x204774(0x1db)]();}[_0x2b7431(0x23d)](_0x4e9473){const _0x2175aa=_0x2b7431;return this[_0x2175aa(0x1d2)](_0x4e9473)[_0x2175aa(0x1e3)]>0x0;}[_0x2b7431(0x1d2)](_0x50990c){const _0x3494a2=_0x2b7431,_0x1763fa=[];for(const _0x437b64 of this[_0x3494a2(0x1e6)][_0x3494a2(0x1e9)][_0x3494a2(0x22e)])_0x437b64[_0x3494a2(0x213)][_0x3494a2(0x214)](_0x3494a2(0x1eb)+_0x50990c)&&_0x1763fa[_0x3494a2(0x1fe)](_0x437b64);return _0x1763fa;}[_0x2b7431(0x21b)](_0x58bc44){const _0x13ac3c=_0x2b7431,_0x4a57ab=this[_0x13ac3c(0x24f)](_0x58bc44);_0x4a57ab&&setTimeout(()=>{const _0x5dcf89=_0x13ac3c;this[_0x5dcf89(0x208)]&&it(this[_0x5dcf89(0x208)])['id']===_0x58bc44&&_0x116392({'target':_0x4a57ab[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x2b7431(0x1ed)](_0x467dec){const _0x11e28a=_0x2b7431;this[_0x11e28a(0x1e6)][_0x11e28a(0x1e9)][_0x11e28a(0x207)](()=>{const _0x186c1e=_0x11e28a;for(const _0x369bde of this[_0x186c1e(0x1d2)](_0x467dec))this[_0x186c1e(0x1e6)][_0x186c1e(0x224)][_0x186c1e(0x243)](_0x369bde);});}[_0x2b7431(0x1cb)](_0x2d92f6){const _0x4f3ce1=_0x2b7431,_0x3d4e7e=this[_0x4f3ce1(0x1e6)][_0x4f3ce1(0x1d6)][_0x4f3ce1(0x212)](_0x2fe49d),_0x9e608d=this[_0x4f3ce1(0x1e6)][_0x4f3ce1(0x1d6)][_0x4f3ce1(0x212)](_0x6fc960),_0x303eb6=_0x3d4e7e[_0x4f3ce1(0x1e2)](_0x2d92f6);if(!_0x303eb6[_0x4f3ce1(0x24a)]){const _0x244883=_0x303eb6[_0x4f3ce1(0x252)](()=>this[_0x4f3ce1(0x24f)](_0x303eb6['id']));_0x9e608d[_0x4f3ce1(0x223)](_0x244883),_0x303eb6[_0x4f3ce1(0x215)]=!0x1;}}[_0x2b7431(0x25c)](){const _0x49eacd=_0x2b7431,_0x257e4e=this[_0x49eacd(0x1e6)];_0x257e4e[_0x49eacd(0x248)][_0x49eacd(0x239)](_0x49eacd(0x241))[_0x49eacd(0x229)]({'model':_0x49eacd(0x1f6),'view':(_0x4973b4,_0x544820)=>{const _0x3e49c2=_0x49eacd,{id:_0xe396c4}=it(_0x4973b4[_0x3e49c2(0x1f4)]),_0x1b08e4=_0x257e4e[_0x3e49c2(0x1d6)][_0x3e49c2(0x212)](_0x2fe49d)[_0x3e49c2(0x1e2)](_0xe396c4),_0x37e7fd=this[_0x3e49c2(0x208)]&&it(this[_0x3e49c2(0x208)])['id']===_0xe396c4;if(_0x1b08e4&&_0x1b08e4[_0x3e49c2(0x21e)]&&!_0x37e7fd&&_0x4973b4[_0x3e49c2(0x20b)])return _0x544820[_0x3e49c2(0x233)][_0x3e49c2(0x221)](_0x4973b4[_0x3e49c2(0x20b)],_0x3e49c2(0x232)+_0x4973b4[_0x3e49c2(0x1f4)]),_0x544820[_0x3e49c2(0x233)][_0x3e49c2(0x221)](_0x4973b4[_0x3e49c2(0x20b)],_0x3e49c2(0x1c8)+_0x4973b4[_0x3e49c2(0x1f4)]),null;const _0x529c5f=[_0x3e49c2(0x23e)];return _0x37e7fd&&_0x529c5f[_0x3e49c2(0x1fe)](_0x3e49c2(0x22b)),{'classes':_0x529c5f,'attributes':{'data-comment':_0xe396c4}};}}),_0x257e4e[_0x49eacd(0x248)][_0x49eacd(0x239)](_0x49eacd(0x1cf))[_0x49eacd(0x227)]({'model':_0x49eacd(0x1f6),'view':(_0x7f7dc0,{options:_0x8200a1})=>{const _0x20d2e7=_0x49eacd,_0x34a7f8=_0x257e4e[_0x20d2e7(0x1d6)][_0x20d2e7(0x212)](_0x2fe49d),_0xb7333=_0x257e4e[_0x20d2e7(0x1e9)][_0x20d2e7(0x22e)][_0x20d2e7(0x212)](_0x7f7dc0),{id:_0x343a16,part:_0x498155}=it(_0x7f7dc0);if(_0xb7333&&!_0xb7333[_0x20d2e7(0x1ee)])return null;if(_0x8200a1[_0x20d2e7(0x1e5)]){const _0x59acc6=_0x34a7f8[_0x20d2e7(0x1e2)](_0x343a16);if(_0x59acc6&&_0x59acc6[_0x20d2e7(0x21e)])return null;}return{'group':_0x20d2e7(0x1f6),'name':_0x498155?_0x343a16+':'+_0x498155:_0x343a16};}}),_0x257e4e[_0x49eacd(0x248)][_0x49eacd(0x239)](_0x49eacd(0x236))[_0x49eacd(0x1d1)]({'view':{'name':_0x49eacd(0x1f6),'attributes':{'id':/^\w/}},'model':(_0x47ed13,{writer:_0x20226b})=>_0x20226b[_0x49eacd(0x226)](_0x49eacd(0x249),{'data-name':_0x49eacd(0x1eb)+_0x47ed13[_0x49eacd(0x1de)]('id')})}),_0x257e4e[_0x49eacd(0x248)][_0x49eacd(0x239)](_0x49eacd(0x236))[_0x49eacd(0x1d8)]({'view':_0x49eacd(0x1f6)});}[_0x2b7431(0x254)](){const _0x384d04=_0x2b7431,_0x29b679=this[_0x384d04(0x1e6)],_0x3eaf64=_0x29b679[_0x384d04(0x1d6)][_0x384d04(0x212)](_0x2fe49d),_0x1bbbe4=new Set(),_0x51603d=new Set();_0x29b679[_0x384d04(0x1e9)][_0x384d04(0x20d)][_0x384d04(0x1e1)](_0x289e02=>{const _0x30ee33=_0x384d04;let _0x2494bc=!0x1;for(const {name:_0x4876b5,data:_0x504849}of _0x29b679[_0x30ee33(0x1e9)][_0x30ee33(0x20d)][_0x30ee33(0x222)][_0x30ee33(0x211)]()){const {group:_0x8068cd,id:_0x35d916}=it(_0x4876b5);let _0x42e940=_0x504849[_0x30ee33(0x1d0)];if(_0x30ee33(0x1f6)!==_0x8068cd||!_0x42e940)continue;const _0x23441d=_0x30ee33(0x238)===_0x42e940[_0x30ee33(0x1cd)][_0x30ee33(0x1e8)];_0x23441d||(_0x42e940=st(_0x42e940,_0x29b679[_0x30ee33(0x1e9)]),!_0x42e940||_0x42e940[_0x30ee33(0x200)]||!_0x504849[_0x30ee33(0x1d0)]||_0x42e940[_0x30ee33(0x23b)](_0x504849[_0x30ee33(0x1d0)]))?_0x29b679[_0x30ee33(0x1e9)][_0x30ee33(0x1f1)](_0x42e940)&&!_0x23441d?this[_0x30ee33(0x1c7)]?_0x1bbbe4[_0x30ee33(0x1d9)](_0x4876b5):this[_0x30ee33(0x242)](_0x4876b5,_0x35d916):(_0x51603d[_0x30ee33(0x1d9)](_0x4876b5),_0x1bbbe4[_0x30ee33(0x234)](_0x4876b5),_0x289e02[_0x30ee33(0x256)](_0x4876b5),_0x2494bc=!0x0):(_0x289e02[_0x30ee33(0x218)](_0x4876b5,{'range':_0x42e940}),_0x2494bc=!0x0);}return _0x2494bc;}),this['on'](_0x384d04(0x230),(_0x4160af,_0x203dcb,_0x209b4d)=>{const _0x385d04=_0x384d04;if(!_0x209b4d&&_0x1bbbe4[_0x385d04(0x1f5)])for(const _0x32aed0 of _0x1bbbe4){const {id:_0xc5d68d}=it(_0x32aed0);_0x1bbbe4[_0x385d04(0x234)](_0x32aed0),_0x29b679[_0x385d04(0x1e9)][_0x385d04(0x22e)][_0x385d04(0x212)](_0x32aed0)&&this[_0x385d04(0x242)](_0x32aed0,_0xc5d68d);}}),this[_0x384d04(0x22c)](_0x29b679[_0x384d04(0x1e9)][_0x384d04(0x20d)],_0x384d04(0x207),(_0x1b9e34,_0x51b705)=>{const _0x41e388=_0x384d04;for(const {name:_0x47b325,data:{newRange:_0x583770}}of _0x29b679[_0x41e388(0x1e9)][_0x41e388(0x20d)][_0x41e388(0x222)][_0x41e388(0x211)]()){const {group:_0x22b545,id:_0x34cd8c}=it(_0x47b325);if(_0x41e388(0x1f6)!==_0x22b545)continue;const _0x41e9b2=_0x3eaf64[_0x41e388(0x1e2)](_0x34cd8c),_0x541bb8=this[_0x41e388(0x23d)](_0x34cd8c);_0x41e9b2&&(_0x41e9b2[_0x41e388(0x215)]||_0x29b679[_0x41e388(0x224)][_0x41e388(0x204)][_0x41e388(0x1d4)](_0x41e388(0x24c),()=>{const _0x4cbde9=_0x41e388,_0x47b135=_0x29b679[_0x4cbde9(0x1d6)][_0x4cbde9(0x212)](_0x53b043),_0x2a2355=_0x3eaf64[_0x4cbde9(0x1f2)][_0x4cbde9(0x212)](_0x41e9b2)[_0x4cbde9(0x204)];_0x47b135[_0x4cbde9(0x216)](_0x2a2355)[_0x4cbde9(0x24d)]();},{'priority':_0x41e388(0x247)}),_0x41e9b2[_0x41e388(0x215)]=_0x541bb8||!!_0x583770),_0x583770||(_0x51603d[_0x41e388(0x1d9)](_0x47b325),_0x1bbbe4[_0x41e388(0x234)](_0x47b325));}if(_0x51b705[_0x41e388(0x1da)])for(const _0x323811 of _0x51603d){const {id:_0x31e188}=it(_0x323811),_0x1e374d=_0x3eaf64[_0x41e388(0x1e2)](_0x31e188),_0x4710fb=this[_0x41e388(0x23d)](_0x31e188);_0x1bbbe4[_0x41e388(0x234)](_0x323811),!_0x1e374d||_0x4710fb||_0x1e374d[_0x41e388(0x1d3)]||_0x1e374d[_0x41e388(0x209)](new Date());}_0x51603d[_0x41e388(0x1f8)]();});}[_0x2b7431(0x24f)](_0x2e9a03){const _0xd2f84b=_0x2b7431,_0x43ce02=this[_0xd2f84b(0x1e6)],_0x57fc41=this[_0xd2f84b(0x1d2)](_0x2e9a03);return _0x388cb2(_0x43ce02[_0xd2f84b(0x224)],_0x57fc41);}[_0x2b7431(0x21f)](_0x41a484){const _0x5acc97=_0x2b7431,_0x543cd4=this[_0x5acc97(0x1d2)](_0x41a484);let _0xb5851e='',_0x1d2c79=!0x1;for(const _0x3dc842 of _0x543cd4){const _0x4468fe=_0x3dc842[_0x5acc97(0x1cc)]();for(const _0x498182 of Array[_0x5acc97(0x205)](_0x4468fe[_0x5acc97(0x1ef)]()))_0x498182['is'](_0x5acc97(0x228))?(_0xb5851e&&_0x1d2c79&&(_0xb5851e+='\x20',_0x1d2c79=!0x1),_0xb5851e+=_0x498182[_0x5acc97(0x1e0)]):_0x1d2c79=!0x0;_0x1d2c79=!0x0;}return _0xb5851e[_0x5acc97(0x240)](0x0,0x96);}[_0x2b7431(0x1dc)](_0xd75c23,_0x2b999c){const _0x6af3c1=_0x2b7431,_0x3eecfc=this[_0x6af3c1(0x1e6)],_0xcb76df=_0x3eecfc[_0x6af3c1(0x1d6)][_0x6af3c1(0x212)](_0x2fe49d);let _0x5ba8a4=_0xcb76df[_0x6af3c1(0x1e2)](_0x2b999c);const _0x4bd51c=_0x3eecfc[_0x6af3c1(0x1fa)][_0x6af3c1(0x212)](_0x6af3c1(0x235)),_0x43b3e8=_0x3eecfc[_0x6af3c1(0x1d6)][_0x6af3c1(0x212)](_0x6fc960);if(_0x5ba8a4&&(_0x5ba8a4[_0x6af3c1(0x1d3)]&&_0x5ba8a4[_0x6af3c1(0x209)](null),_0x5ba8a4[_0x6af3c1(0x24a)]))return _0x5ba8a4;return!this[_0x6af3c1(0x1d2)](_0x2b999c)[0x0][_0x6af3c1(0x231)]?_0x3eecfc[_0x6af3c1(0x224)][_0x6af3c1(0x204)][_0x6af3c1(0x1d4)](_0x6af3c1(0x24c),()=>{const _0x18614d=_0x6af3c1;if(_0xcb76df[_0x18614d(0x1e2)](_0x2b999c))return;const _0x31ddd7=_0x3eecfc[_0x18614d(0x1d6)][_0x18614d(0x212)](_0x53b043);_0x5ba8a4=_0xcb76df[_0x18614d(0x1f7)]({'channelId':_0x4bd51c,'threadId':_0x2b999c,'target':()=>this[_0x18614d(0x24f)](_0x2b999c),'context':{'type':_0x18614d(0x25a),'value':this[_0x18614d(0x21f)](_0x2b999c)}});const _0x47db03=_0xcb76df[_0x18614d(0x1f2)][_0x18614d(0x212)](_0x5ba8a4)[_0x18614d(0x204)],_0x56b43b=_0x31ddd7[_0x18614d(0x216)](_0x47db03);_0x56b43b&&_0x43b3e8[_0x18614d(0x223)](_0x56b43b);},{'priority':_0x6af3c1(0x247)}):_0xcb76df[_0x6af3c1(0x1ca)]({'channelId':_0x4bd51c,'threadId':_0x2b999c})[_0x6af3c1(0x1e4)](_0x2c9eaf=>{const _0x4aeb3d=_0x6af3c1;if(_0x4aeb3d(0x24b)!==_0x3eecfc[_0x4aeb3d(0x22f)]){if(_0x5ba8a4=_0x2c9eaf,_0x5ba8a4&&!_0x5ba8a4[_0x4aeb3d(0x24a)]){const _0x1d41d0=_0x5ba8a4[_0x4aeb3d(0x252)](()=>this[_0x4aeb3d(0x24f)](_0x2b999c));_0x43b3e8[_0x4aeb3d(0x223)](_0x1d41d0),_0x5ba8a4[_0x4aeb3d(0x21e)]&&this[_0x4aeb3d(0x1ed)](_0x2b999c);}else{if(!_0x5ba8a4){const _0x29814c=this[_0x4aeb3d(0x1d2)](_0x2b999c);_0x3eecfc[_0x4aeb3d(0x1e9)][_0x4aeb3d(0x207)](_0x6753da=>{const _0x330d28=_0x4aeb3d;for(const _0x54a2a7 of _0x29814c)_0x6753da[_0x330d28(0x256)](_0x54a2a7);});}}}}),_0x5ba8a4;}[_0x2b7431(0x242)](_0x2c7c10,_0x3530cd){const _0x49e7eb=_0x2b7431,_0x15dc2c=this[_0x49e7eb(0x1dc)](_0x2c7c10,_0x3530cd);_0x15dc2c&&!_0x15dc2c[_0x49e7eb(0x22d)]&&_0x15dc2c[_0x49e7eb(0x251)]({'type':_0x49e7eb(0x25a),'value':this[_0x49e7eb(0x21f)](_0x3530cd)});}[_0x2b7431(0x1d7)](){const _0x2aab20=_0x2b7431,_0x108d7a=this[_0x2aab20(0x1e6)];_0x5b60dd(_0x108d7a[_0x2aab20(0x1e9)],({left:_0x3e798d,entered:_0x1d4ded})=>{const _0x429411=_0x2aab20;for(const _0x1e3738 of _0x3e798d)if(at(_0x1e3738)){_0x108d7a['ui'][_0x429411(0x24e)][_0x429411(0x244)](_0x368aa4(_0x108d7a[_0x429411(0x217)],_0x429411(0x201)));break;}for(const _0x552c43 of _0x1d4ded)if(at(_0x552c43)){_0x108d7a['ui'][_0x429411(0x24e)][_0x429411(0x244)](_0x368aa4(_0x108d7a[_0x429411(0x217)],_0x429411(0x237)));break;}});}}function nt(_0x41e219,_0x49fbd7){return _0x49fbd7?_0x41e219+':'+_0x49fbd7:_0x41e219;}function it(_0x72f6a6){const _0x4c4e1e=_0x2b7431,_0x24c6dd=_0x72f6a6[_0x4c4e1e(0x21a)](':');return{'group':_0x24c6dd[0x0],'id':_0x24c6dd[0x1],'part':_0x24c6dd[0x2]};}function st(_0x3ef4c7,_0x2f368b){const _0x5594a0=_0x2b7431,_0xe35aef=_0x2f368b[_0x5594a0(0x1c9)],_0x27e7dc=_0x2f368b[_0x5594a0(0x1ea)](_0x3ef4c7[_0x5594a0(0x203)]);for(const _0x469f23 of _0x3ef4c7[_0x5594a0(0x258)]()){const {type:_0x4fe120,item:_0x1a5216,nextPosition:_0x58e388}=_0x469f23;if(_0x5594a0(0x25a)===_0x4fe120||_0xe35aef[_0x5594a0(0x22a)](_0x1a5216)){const _0x4cfcb2=_0x2f368b[_0x5594a0(0x1e7)](_0x1a5216);_0x27e7dc[_0x5594a0(0x200)]&&(_0x27e7dc[_0x5594a0(0x203)]=_0x4cfcb2),_0x27e7dc[_0x5594a0(0x1fc)]=_0x58e388;}}return _0x27e7dc;}function at(_0x3e00c1){const _0x475bc8=_0x2b7431;return _0x475bc8(0x1f6)===it(_0x3e00c1[_0x475bc8(0x213)])[_0x475bc8(0x1fb)];}
|
|
23
|
+
const _0x4deb7f=_0xaeb2;(function(_0x43cf33,_0x30b55d){const _0x52a59d=_0xaeb2,_0xdead3=_0x43cf33();while(!![]){try{const _0x518375=parseInt(_0x52a59d(0x1ea))/0x1*(-parseInt(_0x52a59d(0x1e3))/0x2)+-parseInt(_0x52a59d(0x1a6))/0x3+parseInt(_0x52a59d(0x20b))/0x4+parseInt(_0x52a59d(0x216))/0x5*(-parseInt(_0x52a59d(0x209))/0x6)+parseInt(_0x52a59d(0x238))/0x7+-parseInt(_0x52a59d(0x1c7))/0x8+-parseInt(_0x52a59d(0x235))/0x9*(-parseInt(_0x52a59d(0x1ae))/0xa);if(_0x518375===_0x30b55d)break;else _0xdead3['push'](_0xdead3['shift']());}catch(_0x1a3243){_0xdead3['push'](_0xdead3['shift']());}}}(_0x5641,0x993ef));import{Plugin as _0xdcabbd}from'ckeditor5/src/core.js';function _0x5641(){const _0x403da0=['_detachCommentThread','isAttached','reconvertMarker','for','_initializeMarkerConverters','95rLRoHt','get','rootName','locale','isEqual','name','render','editor','markerToHighlight','root','setContext','plugins','dataDowncast','addComment','getItems','substring','_initAriaMarkerChangeAnnouncements','updateMarker','getRange','announce','add','isObject','addCommentThread','switchReadOnly','setUnlinkedAt','reopenCommentThread','isResolved','startsWith','hasCommentThread','_threads','createRange','9Pulily','editing','$textProxy','7788942IAbOFZ','comment:','isCollapsed','2591454QrLzOm','destroy','$graveyard','scrollToThreadMarker','upcast','hasContent','length','dataToMarker','24745850gsQnMa','managedUsingOperations','consumable','change:isReadOnly','once','newRange','addMarker:','requires','isThreadsLoadingPaused','markers','_hasTargetInContent','markerToData','comment','config','consume','hasMarkerForId','init','registerAnnotation','CommentsEditing','isLocal','elementToElement','focus','createElement','removeCommentThread','editingDowncast','9809032DAzXJY','getCommentThreads','openNewCommentThread','createPositionBefore','hasDomSelection','set','_reconvertMarkers','ready','_attachMarkerToThread','getAllMarkersForId','getWalker','then','refreshVisibility','enqueueChange','_getTextContext','text','ignoreResolvedComments','_handleThreadMarker','item','_getTargetForId','getAttribute','model','activeMarker','$marker','ENTER_COMMENT_ANNOUNCEMENT','attachTo','registerPostFixer','document','2rSSmnm','clear','affectsData','delete','change:isThreadsLoadingPaused','ck-comment-marker','end','872617IkvORF','resolveCommentThread','fetchCommentThread','_handleMarkerAddAndRemove','push','group','data','state','getChangedMarkers','collaboration.channelId','conversion','unlinkedAt','ck-comment-marker--active','ariaLiveAnnouncer','commands','markerName','pluginName','_threadToController','removeMarker:','destroyed','removeMarker','getCommentThread','low','split','change:activeMarker','_attachArchivedThread','change','context','start','LEAVE_COMMENT_ANNOUNCEMENT','differ','313032VIbyll','from','3976944euaQxL','listenTo','view','getByInnerView','schema','size'];_0x5641=function(){return _0x403da0;};return _0x5641();}function _0xaeb2(_0x5a44d6,_0x54c4e4){const _0x564120=_0x5641();return _0xaeb2=function(_0xaeb2c4,_0x9ee17a){_0xaeb2c4=_0xaeb2c4-0x1a6;let _0x3bdbd6=_0x564120[_0xaeb2c4];return _0x3bdbd6;},_0xaeb2(_0x5a44d6,_0x54c4e4);}import{scrollViewportToShowTarget as _0x5ef152}from'ckeditor5/src/utils.js';import _0x3c1a7b from'./commentsrepository.js';import _0x2ed46b from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x3322af,getAllMarkersDomElementsSorted as _0x5204a8}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3c9561 from'../annotations/editorannotations.js';import _0x214c66 from'./integrations/commentsrestrictededitingmode.js';import _0x50a96c from'./integrations/importword.js';import _0x5aa265 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x545f32 from'../annotations/annotations.js';import{getTranslation as _0x230232}from'../utils/common-translations.js';export default class r extends _0xdcabbd{static get[_0x4deb7f(0x1b5)](){return[_0x3c1a7b,_0x3c9561,_0x214c66,_0x50a96c,_0x5aa265];}static get[_0x4deb7f(0x1fa)](){const _0x4515a5=_0x4deb7f;return _0x4515a5(0x1c0);}constructor(_0x99e60e){const _0x129a4d=_0x4deb7f;super(_0x99e60e),this[_0x129a4d(0x1cc)](_0x129a4d(0x1b6),!0x0),_0x99e60e[_0x129a4d(0x1f0)][_0x129a4d(0x1b2)](_0x129a4d(0x1ce),()=>this[_0x129a4d(0x1b6)]=!0x1),this[_0x129a4d(0x1cc)](_0x129a4d(0x1dd),null),this['on'](_0x129a4d(0x202),(_0x2a60af,_0x19f8ad,_0x2229c7,_0x3309fa)=>{const _0xc2ee8f=_0x129a4d,_0x39cae0=_0x2229c7?it(_0x2229c7)['id']:null;if(_0x99e60e[_0xc2ee8f(0x1dc)][_0xc2ee8f(0x204)](()=>{const _0x270e8a=_0xc2ee8f;if(_0x39cae0){const _0x29c38c=this[_0x270e8a(0x1d0)](_0x39cae0);for(const _0x155ef2 of _0x29c38c)_0x99e60e[_0x270e8a(0x236)][_0x270e8a(0x213)](_0x155ef2);}if(_0x3309fa){const {id:_0x3c9e6d}=it(_0x3309fa),_0x1749ea=this[_0x270e8a(0x1d0)](_0x3c9e6d);for(const _0x5032ff of _0x1749ea)_0x99e60e[_0x270e8a(0x236)][_0x270e8a(0x213)](_0x5032ff);}}),_0x39cae0){const _0x128b87=_0x99e60e[_0xc2ee8f(0x221)][_0xc2ee8f(0x217)](_0x3c1a7b)[_0xc2ee8f(0x1ff)](_0x39cae0);_0x128b87&&_0x128b87[_0xc2ee8f(0x230)]&&this[_0xc2ee8f(0x1a9)](_0x39cae0);}}),this[_0x129a4d(0x226)]();}[_0x4deb7f(0x1be)](){const _0x22c7ec=_0x4deb7f,_0x5d0062=this[_0x22c7ec(0x21d)],_0x500e35=_0x5d0062[_0x22c7ec(0x221)][_0x22c7ec(0x217)](_0x3c1a7b),_0x377252=_0x5d0062[_0x22c7ec(0x1bb)][_0x22c7ec(0x217)](_0x22c7ec(0x1f3));_0x5d0062[_0x22c7ec(0x1f8)][_0x22c7ec(0x22a)](_0x22c7ec(0x22c),new _0x2ed46b(_0x5d0062)),this[_0x22c7ec(0x20c)](_0x5d0062,_0x22c7ec(0x1b1),(_0x24328c,_0x358fc6,_0x2733fb)=>{const _0x4fabb1=_0x22c7ec;_0x500e35[_0x4fabb1(0x22d)](_0x2733fb,_0x5d0062[_0x4fabb1(0x1bb)][_0x4fabb1(0x217)](_0x4fabb1(0x1f3)));}),this[_0x22c7ec(0x20c)](_0x500e35,nt(_0x22c7ec(0x22c),_0x377252),(_0xe17fcf,{threadId:_0x5aa827})=>{const _0x58349e=_0x22c7ec,_0x35860e=this[_0x58349e(0x21d)][_0x58349e(0x221)][_0x58349e(0x217)](_0x3c1a7b)[_0x58349e(0x1ff)](_0x5aa827);_0x35860e&&_0x35860e[_0x58349e(0x1f5)]&&this[_0x58349e(0x203)](_0x5aa827);}),this[_0x22c7ec(0x20c)](_0x500e35,nt(_0x22c7ec(0x1c5),_0x377252),(_0x55bafb,{threadId:_0x284db7})=>{const _0x6bd4e=_0x22c7ec;_0x5d0062[_0x6bd4e(0x1dc)][_0x6bd4e(0x1d4)]({'isUndoable':!0x1},_0x2095ed=>{const _0x302bd6=_0x6bd4e,_0x2e0b1a=this[_0x302bd6(0x1d0)](_0x284db7);for(const _0x2af81f of _0x2e0b1a)_0x2095ed[_0x302bd6(0x1fe)](_0x2af81f);});}),this[_0x22c7ec(0x20c)](_0x500e35,nt(_0x22c7ec(0x1eb),_0x377252),(_0x32a625,{threadId:_0xa03291})=>{const _0x25b6ca=_0x22c7ec;(this[_0x25b6ca(0x1cd)](_0xa03291),this[_0x25b6ca(0x21d)][_0x25b6ca(0x236)][_0x25b6ca(0x20d)][_0x25b6ca(0x1cb)])&&(this[_0x25b6ca(0x21d)][_0x25b6ca(0x221)][_0x25b6ca(0x217)](_0x3c1a7b)[_0x25b6ca(0x1ff)](_0xa03291)[_0x25b6ca(0x1f5)]||this[_0x25b6ca(0x21d)][_0x25b6ca(0x236)][_0x25b6ca(0x20d)][_0x25b6ca(0x1c3)]());},{'priority':_0x22c7ec(0x200)}),this[_0x22c7ec(0x20c)](_0x500e35,nt(_0x22c7ec(0x22f),_0x377252),(_0x465c7a,{threadId:_0x3fe107})=>{const _0x4bac13=_0x22c7ec;this[_0x4bac13(0x1cd)](_0x3fe107);},{'priority':_0x22c7ec(0x200)}),this[_0x22c7ec(0x20c)](_0x500e35,nt(_0x22c7ec(0x223),_0x377252),(_0x1c99ae,{threadId:_0x23a293,isFromAdapter:_0x78c2e1})=>{const _0x2e0b92=_0x22c7ec,_0x551faf=this[_0x2e0b92(0x1d0)](_0x23a293);if(_0x78c2e1||0x0==_0x551faf[_0x2e0b92(0x1ac)]||!_0x500e35[_0x2e0b92(0x232)](_0x23a293))return;0x1===_0x500e35[_0x2e0b92(0x1ff)](_0x23a293)[_0x2e0b92(0x1ac)]&&_0x5d0062[_0x2e0b92(0x1dc)][_0x2e0b92(0x1d4)]({'isUndoable':!0x1},_0x25194e=>{const _0xf1d6b3=_0x2e0b92;for(const _0x492319 of _0x551faf)_0x25194e[_0xf1d6b3(0x227)](_0x492319,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x22c7ec(0x200)}),this[_0x22c7ec(0x215)](),this[_0x22c7ec(0x1ed)]();}[_0x4deb7f(0x1a7)](){const _0x311975=_0x4deb7f,_0x4919fb=this[_0x311975(0x21d)][_0x311975(0x221)][_0x311975(0x217)](_0x3c1a7b),_0x32e08e=this[_0x311975(0x21d)][_0x311975(0x1bb)][_0x311975(0x217)](_0x311975(0x1f3));for(const _0x245739 of _0x4919fb[_0x311975(0x1c8)]({'channelId':_0x32e08e}))_0x4919fb[_0x311975(0x211)](_0x245739['id']),_0x4919fb[_0x311975(0x233)][_0x311975(0x1e6)](_0x245739['id']);super[_0x311975(0x1a7)]();}[_0x4deb7f(0x1bd)](_0x4fc6de){const _0x2da81c=_0x4deb7f;return this[_0x2da81c(0x1d0)](_0x4fc6de)[_0x2da81c(0x1ac)]>0x0;}[_0x4deb7f(0x1d0)](_0x3dc2bb){const _0xb0f27b=_0x4deb7f,_0x4f72a5=[];for(const _0x121787 of this[_0xb0f27b(0x21d)][_0xb0f27b(0x1dc)][_0xb0f27b(0x1b7)])_0x121787[_0xb0f27b(0x21b)][_0xb0f27b(0x231)](_0xb0f27b(0x239)+_0x3dc2bb)&&_0x4f72a5[_0xb0f27b(0x1ee)](_0x121787);return _0x4f72a5;}[_0x4deb7f(0x1a9)](_0xff269d){const _0x2964bd=_0x4deb7f,_0x1c9e37=this[_0x2964bd(0x1da)](_0xff269d);_0x1c9e37&&setTimeout(()=>{const _0x171da9=_0x2964bd;this[_0x171da9(0x1dd)]&&it(this[_0x171da9(0x1dd)])['id']===_0xff269d&&_0x5ef152({'target':_0x1c9e37[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x4deb7f(0x1cd)](_0x53cf67){const _0x2e6ea6=_0x4deb7f;this[_0x2e6ea6(0x21d)][_0x2e6ea6(0x1dc)][_0x2e6ea6(0x204)](()=>{const _0x1bc212=_0x2e6ea6;for(const _0x5d725e of this[_0x1bc212(0x1d0)](_0x53cf67))this[_0x1bc212(0x21d)][_0x1bc212(0x236)][_0x1bc212(0x213)](_0x5d725e);});}[_0x4deb7f(0x203)](_0x187c95){const _0x19955e=_0x4deb7f,_0x4326a5=this[_0x19955e(0x21d)][_0x19955e(0x221)][_0x19955e(0x217)](_0x3c1a7b),_0x4ad06c=this[_0x19955e(0x21d)][_0x19955e(0x221)][_0x19955e(0x217)](_0x3c9561),_0x5bcdc4=_0x4326a5[_0x19955e(0x1ff)](_0x187c95);if(!_0x5bcdc4[_0x19955e(0x212)]){const _0x33d1d5=_0x5bcdc4[_0x19955e(0x1e0)](()=>this[_0x19955e(0x1da)](_0x5bcdc4['id']));_0x4ad06c[_0x19955e(0x1bf)](_0x33d1d5),_0x5bcdc4[_0x19955e(0x1b8)]=!0x1;}}[_0x4deb7f(0x215)](){const _0x23fe6a=_0x4deb7f,_0x1ba4fa=this[_0x23fe6a(0x21d)];_0x1ba4fa[_0x23fe6a(0x1f4)][_0x23fe6a(0x214)](_0x23fe6a(0x1c6))[_0x23fe6a(0x21e)]({'model':_0x23fe6a(0x1ba),'view':(_0xe8d4ae,_0x2d3233)=>{const _0x5c39fe=_0x23fe6a,{id:_0x5e5f1d}=it(_0xe8d4ae[_0x5c39fe(0x1f9)]),_0x3b5138=_0x1ba4fa[_0x5c39fe(0x221)][_0x5c39fe(0x217)](_0x3c1a7b)[_0x5c39fe(0x1ff)](_0x5e5f1d),_0x2fcf82=this[_0x5c39fe(0x1dd)]&&it(this[_0x5c39fe(0x1dd)])['id']===_0x5e5f1d;if(_0x3b5138&&_0x3b5138[_0x5c39fe(0x230)]&&!_0x2fcf82&&_0xe8d4ae[_0x5c39fe(0x1d9)])return _0x2d3233[_0x5c39fe(0x1b0)][_0x5c39fe(0x1bc)](_0xe8d4ae[_0x5c39fe(0x1d9)],_0x5c39fe(0x1b4)+_0xe8d4ae[_0x5c39fe(0x1f9)]),_0x2d3233[_0x5c39fe(0x1b0)][_0x5c39fe(0x1bc)](_0xe8d4ae[_0x5c39fe(0x1d9)],_0x5c39fe(0x1fc)+_0xe8d4ae[_0x5c39fe(0x1f9)]),null;const _0x4dc37e=[_0x5c39fe(0x1e8)];return _0x2fcf82&&_0x4dc37e[_0x5c39fe(0x1ee)](_0x5c39fe(0x1f6)),{'classes':_0x4dc37e,'attributes':{'data-comment':_0x5e5f1d}};}}),_0x1ba4fa[_0x23fe6a(0x1f4)][_0x23fe6a(0x214)](_0x23fe6a(0x222))[_0x23fe6a(0x1b9)]({'model':_0x23fe6a(0x1ba),'view':(_0x51a5ad,{options:_0x18e9d1})=>{const _0x38d4a6=_0x23fe6a,_0x1850d1=_0x1ba4fa[_0x38d4a6(0x221)][_0x38d4a6(0x217)](_0x3c1a7b),_0x552a86=_0x1ba4fa[_0x38d4a6(0x1dc)][_0x38d4a6(0x1b7)][_0x38d4a6(0x217)](_0x51a5ad),{id:_0x2b8f12,part:_0x38276c}=it(_0x51a5ad);if(_0x552a86&&!_0x552a86[_0x38d4a6(0x1e5)])return null;if(_0x18e9d1[_0x38d4a6(0x1d7)]){const _0x44c4ec=_0x1850d1[_0x38d4a6(0x1ff)](_0x2b8f12);if(_0x44c4ec&&_0x44c4ec[_0x38d4a6(0x230)])return null;}return{'group':_0x38d4a6(0x1ba),'name':_0x38276c?_0x2b8f12+':'+_0x38276c:_0x2b8f12};}}),_0x1ba4fa[_0x23fe6a(0x1f4)][_0x23fe6a(0x214)](_0x23fe6a(0x1aa))[_0x23fe6a(0x1c2)]({'view':{'name':_0x23fe6a(0x1ba),'attributes':{'id':/^\w/}},'model':(_0x3451a0,{writer:_0x5e0450})=>_0x5e0450[_0x23fe6a(0x1c4)](_0x23fe6a(0x1de),{'data-name':_0x23fe6a(0x239)+_0x3451a0[_0x23fe6a(0x1db)]('id')})}),_0x1ba4fa[_0x23fe6a(0x1f4)][_0x23fe6a(0x214)](_0x23fe6a(0x1aa))[_0x23fe6a(0x1ad)]({'view':_0x23fe6a(0x1ba)});}[_0x4deb7f(0x1ed)](){const _0x35d6f7=_0x4deb7f,_0x4634d7=this[_0x35d6f7(0x21d)],_0x251ed3=_0x4634d7[_0x35d6f7(0x221)][_0x35d6f7(0x217)](_0x3c1a7b),_0x29892c=new Set(),_0x275650=new Set();_0x4634d7[_0x35d6f7(0x1dc)][_0x35d6f7(0x1e2)][_0x35d6f7(0x1e1)](_0x1739b4=>{const _0x39138e=_0x35d6f7;let _0xdb501a=!0x1;for(const {name:_0xd1726f,data:_0x18afb6}of _0x4634d7[_0x39138e(0x1dc)][_0x39138e(0x1e2)][_0x39138e(0x208)][_0x39138e(0x1f2)]()){const {group:_0x51dfb3,id:_0xbd0ccc}=it(_0xd1726f);let _0x5c90a2=_0x18afb6[_0x39138e(0x1b3)];if(_0x39138e(0x1ba)!==_0x51dfb3||!_0x5c90a2)continue;const _0x12301c=_0x39138e(0x1a8)===_0x5c90a2[_0x39138e(0x21f)][_0x39138e(0x218)];_0x12301c||(_0x5c90a2=st(_0x5c90a2,_0x4634d7[_0x39138e(0x1dc)]),!_0x5c90a2||_0x5c90a2[_0x39138e(0x23a)]||!_0x18afb6[_0x39138e(0x1b3)]||_0x5c90a2[_0x39138e(0x21a)](_0x18afb6[_0x39138e(0x1b3)]))?_0x4634d7[_0x39138e(0x1dc)][_0x39138e(0x1ab)](_0x5c90a2)&&!_0x12301c?this[_0x39138e(0x1b6)]?_0x29892c[_0x39138e(0x22a)](_0xd1726f):this[_0x39138e(0x1d8)](_0xd1726f,_0xbd0ccc):(_0x275650[_0x39138e(0x22a)](_0xd1726f),_0x29892c[_0x39138e(0x1e6)](_0xd1726f),_0x1739b4[_0x39138e(0x1fe)](_0xd1726f),_0xdb501a=!0x0):(_0x1739b4[_0x39138e(0x227)](_0xd1726f,{'range':_0x5c90a2}),_0xdb501a=!0x0);}return _0xdb501a;}),this['on'](_0x35d6f7(0x1e7),(_0x34a3c7,_0xe3f1d9,_0x26cceb)=>{const _0x32a07e=_0x35d6f7;if(!_0x26cceb&&_0x29892c[_0x32a07e(0x210)])for(const _0x309170 of _0x29892c){const {id:_0x45c9e3}=it(_0x309170);_0x29892c[_0x32a07e(0x1e6)](_0x309170),_0x4634d7[_0x32a07e(0x1dc)][_0x32a07e(0x1b7)][_0x32a07e(0x217)](_0x309170)&&this[_0x32a07e(0x1d8)](_0x309170,_0x45c9e3);}}),this[_0x35d6f7(0x20c)](_0x4634d7[_0x35d6f7(0x1dc)][_0x35d6f7(0x1e2)],_0x35d6f7(0x204),(_0x51e457,_0x2fe0a3)=>{const _0x4dcc84=_0x35d6f7;for(const {name:_0x3f8986,data:{newRange:_0x5b0436}}of _0x4634d7[_0x4dcc84(0x1dc)][_0x4dcc84(0x1e2)][_0x4dcc84(0x208)][_0x4dcc84(0x1f2)]()){const {group:_0x10284b,id:_0x2369b6}=it(_0x3f8986);if(_0x4dcc84(0x1ba)!==_0x10284b)continue;const _0x5ced24=_0x251ed3[_0x4dcc84(0x1ff)](_0x2369b6),_0x3b1664=this[_0x4dcc84(0x1bd)](_0x2369b6);_0x5ced24&&(_0x5ced24[_0x4dcc84(0x1b8)]||_0x4634d7[_0x4dcc84(0x236)][_0x4dcc84(0x20d)][_0x4dcc84(0x1b2)](_0x4dcc84(0x21c),()=>{const _0x10ac35=_0x4dcc84,_0x5c8b46=_0x4634d7[_0x10ac35(0x221)][_0x10ac35(0x217)](_0x545f32),_0x571f9=_0x251ed3[_0x10ac35(0x1fb)][_0x10ac35(0x217)](_0x5ced24)[_0x10ac35(0x20d)];_0x5c8b46[_0x10ac35(0x20e)](_0x571f9)[_0x10ac35(0x1d3)]();},{'priority':_0x4dcc84(0x200)}),_0x5ced24[_0x4dcc84(0x1b8)]=_0x3b1664||!!_0x5b0436),_0x5b0436||(_0x275650[_0x4dcc84(0x22a)](_0x3f8986),_0x29892c[_0x4dcc84(0x1e6)](_0x3f8986));}if(_0x2fe0a3[_0x4dcc84(0x1c1)])for(const _0x3d9b4c of _0x275650){const {id:_0x4d3b10}=it(_0x3d9b4c),_0xdad022=_0x251ed3[_0x4dcc84(0x1ff)](_0x4d3b10),_0xa8c84c=this[_0x4dcc84(0x1bd)](_0x4d3b10);_0x29892c[_0x4dcc84(0x1e6)](_0x3d9b4c),!_0xdad022||_0xa8c84c||_0xdad022[_0x4dcc84(0x1f5)]||_0xdad022[_0x4dcc84(0x22e)](new Date());}_0x275650[_0x4dcc84(0x1e4)]();});}[_0x4deb7f(0x1da)](_0x395a04){const _0x52e331=_0x4deb7f,_0x5a2271=this[_0x52e331(0x21d)],_0x289ae4=this[_0x52e331(0x1d0)](_0x395a04);return _0x5204a8(_0x5a2271[_0x52e331(0x236)],_0x289ae4);}[_0x4deb7f(0x1d5)](_0x3a306e){const _0x41921d=_0x4deb7f,_0x14e3ab=this[_0x41921d(0x1d0)](_0x3a306e);let _0x4f2c40='',_0x335dac=!0x1;for(const _0x259282 of _0x14e3ab){const _0x3b0d67=_0x259282[_0x41921d(0x228)]();for(const _0x52c144 of Array[_0x41921d(0x20a)](_0x3b0d67[_0x41921d(0x224)]()))_0x52c144['is'](_0x41921d(0x237))?(_0x4f2c40&&_0x335dac&&(_0x4f2c40+='\x20',_0x335dac=!0x1),_0x4f2c40+=_0x52c144[_0x41921d(0x1f0)]):_0x335dac=!0x0;_0x335dac=!0x0;}return _0x4f2c40[_0x41921d(0x225)](0x0,0x96);}[_0x4deb7f(0x1cf)](_0x49bd23,_0x404a69){const _0xa83eda=_0x4deb7f,_0xc83e42=this[_0xa83eda(0x21d)],_0x320f4c=_0xc83e42[_0xa83eda(0x221)][_0xa83eda(0x217)](_0x3c1a7b);let _0xfcfeb7=_0x320f4c[_0xa83eda(0x1ff)](_0x404a69);const _0x56669f=_0xc83e42[_0xa83eda(0x1bb)][_0xa83eda(0x217)](_0xa83eda(0x1f3)),_0x3dafe6=_0xc83e42[_0xa83eda(0x221)][_0xa83eda(0x217)](_0x3c9561);if(_0xfcfeb7&&(_0xfcfeb7[_0xa83eda(0x1f5)]&&_0xfcfeb7[_0xa83eda(0x22e)](null),_0xfcfeb7[_0xa83eda(0x212)]))return _0xfcfeb7;return!this[_0xa83eda(0x1d0)](_0x404a69)[0x0][_0xa83eda(0x1af)]?_0xc83e42[_0xa83eda(0x236)][_0xa83eda(0x20d)][_0xa83eda(0x1b2)](_0xa83eda(0x21c),()=>{const _0x1d72bb=_0xa83eda;if(_0x320f4c[_0x1d72bb(0x1ff)](_0x404a69))return;const _0x129d81=_0xc83e42[_0x1d72bb(0x221)][_0x1d72bb(0x217)](_0x545f32);_0xfcfeb7=_0x320f4c[_0x1d72bb(0x1c9)]({'channelId':_0x56669f,'threadId':_0x404a69,'target':()=>this[_0x1d72bb(0x1da)](_0x404a69),'context':{'type':_0x1d72bb(0x1d6),'value':this[_0x1d72bb(0x1d5)](_0x404a69)}});const _0x56a193=_0x320f4c[_0x1d72bb(0x1fb)][_0x1d72bb(0x217)](_0xfcfeb7)[_0x1d72bb(0x20d)],_0x2181db=_0x129d81[_0x1d72bb(0x20e)](_0x56a193);_0x2181db&&_0x3dafe6[_0x1d72bb(0x1bf)](_0x2181db);},{'priority':_0xa83eda(0x200)}):_0x320f4c[_0xa83eda(0x1ec)]({'channelId':_0x56669f,'threadId':_0x404a69})[_0xa83eda(0x1d2)](_0x54585b=>{const _0x5ab3a5=_0xa83eda;if(_0x5ab3a5(0x1fd)!==_0xc83e42[_0x5ab3a5(0x1f1)]){if(_0xfcfeb7=_0x54585b,_0xfcfeb7&&!_0xfcfeb7[_0x5ab3a5(0x212)]){const _0x33a5b9=_0xfcfeb7[_0x5ab3a5(0x1e0)](()=>this[_0x5ab3a5(0x1da)](_0x404a69));_0x3dafe6[_0x5ab3a5(0x1bf)](_0x33a5b9),_0xfcfeb7[_0x5ab3a5(0x230)]&&this[_0x5ab3a5(0x1cd)](_0x404a69);}else{if(!_0xfcfeb7){const _0x4a2d82=this[_0x5ab3a5(0x1d0)](_0x404a69);_0xc83e42[_0x5ab3a5(0x1dc)][_0x5ab3a5(0x204)](_0x57e15f=>{const _0xfbfccf=_0x5ab3a5;for(const _0x20df51 of _0x4a2d82)_0x57e15f[_0xfbfccf(0x1fe)](_0x20df51);});}}}}),_0xfcfeb7;}[_0x4deb7f(0x1d8)](_0x384320,_0x50ca5d){const _0x293320=_0x4deb7f,_0x4fb02f=this[_0x293320(0x1cf)](_0x384320,_0x50ca5d);_0x4fb02f&&!_0x4fb02f[_0x293320(0x205)]&&_0x4fb02f[_0x293320(0x220)]({'type':_0x293320(0x1d6),'value':this[_0x293320(0x1d5)](_0x50ca5d)});}[_0x4deb7f(0x226)](){const _0x568b1d=_0x4deb7f,_0x2999f0=this[_0x568b1d(0x21d)];_0x3322af(_0x2999f0[_0x568b1d(0x1dc)],({left:_0x11511f,entered:_0x27c23a})=>{const _0x1efa7b=_0x568b1d;for(const _0x373aac of _0x11511f)if(at(_0x373aac)){_0x2999f0['ui'][_0x1efa7b(0x1f7)][_0x1efa7b(0x229)](_0x230232(_0x2999f0[_0x1efa7b(0x219)],_0x1efa7b(0x207)));break;}for(const _0x253cb8 of _0x27c23a)if(at(_0x253cb8)){_0x2999f0['ui'][_0x1efa7b(0x1f7)][_0x1efa7b(0x229)](_0x230232(_0x2999f0[_0x1efa7b(0x219)],_0x1efa7b(0x1df)));break;}});}}function nt(_0x24379c,_0x18ba1a){return _0x18ba1a?_0x24379c+':'+_0x18ba1a:_0x24379c;}function it(_0x29968c){const _0x714a7c=_0x4deb7f,_0x5546bc=_0x29968c[_0x714a7c(0x201)](':');return{'group':_0x5546bc[0x0],'id':_0x5546bc[0x1],'part':_0x5546bc[0x2]};}function st(_0x22282e,_0x216fe1){const _0x24ee68=_0x4deb7f,_0x482095=_0x216fe1[_0x24ee68(0x20f)],_0x2d5aae=_0x216fe1[_0x24ee68(0x234)](_0x22282e[_0x24ee68(0x206)]);for(const _0x321b14 of _0x22282e[_0x24ee68(0x1d1)]()){const {type:_0x2b3a36,item:_0x3d0915,nextPosition:_0x321dd8}=_0x321b14;if(_0x24ee68(0x1d6)===_0x2b3a36||_0x482095[_0x24ee68(0x22b)](_0x3d0915)){const _0xa1b638=_0x216fe1[_0x24ee68(0x1ca)](_0x3d0915);_0x2d5aae[_0x24ee68(0x23a)]&&(_0x2d5aae[_0x24ee68(0x206)]=_0xa1b638),_0x2d5aae[_0x24ee68(0x1e9)]=_0x321dd8;}}return _0x2d5aae;}function at(_0x3a0813){const _0x716684=_0x4deb7f;return _0x716684(0x1ba)===it(_0x3a0813[_0x716684(0x21b)])[_0x716684(0x1ef)];}
|