@ckeditor/ckeditor5-comments 42.0.0-alpha.20 → 42.0.0-alpha.22
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 _0x29d2b7=_0x2eb7;(function(_0x3e1670,_0x54bd32){const _0x47df8b=_0x2eb7,_0x540e81=_0x3e1670();while(!![]){try{const _0x1785e9=-parseInt(_0x47df8b(0x218))/0x1*(parseInt(_0x47df8b(0x1ff))/0x2)+parseInt(_0x47df8b(0x233))/0x3*(parseInt(_0x47df8b(0x237))/0x4)+-parseInt(_0x47df8b(0x21b))/0x5+-parseInt(_0x47df8b(0x219))/0x6+-parseInt(_0x47df8b(0x228))/0x7+parseInt(_0x47df8b(0x251))/0x8+parseInt(_0x47df8b(0x201))/0x9;if(_0x1785e9===_0x54bd32)break;else _0x540e81['push'](_0x540e81['shift']());}catch(_0x5abbd7){_0x540e81['push'](_0x540e81['shift']());}}}(_0x2716,0x2a686));import{Plugin as _0x3b10a8}from'ckeditor5/src/core.js';function _0x2716(){const _0x4783a7=['low','data','isEqual','model','collaboration.channelId','consume','_handleThreadMarker','text','markers','item','hasDomSelection','_handleMarkerAddAndRemove','markerName','render','addMarker:','getAllMarkersForId','_attachArchivedThread','switchReadOnly','hasContent','conversion','ariaLiveAnnouncer','$textProxy','ENTER_COMMENT_ANNOUNCEMENT','size','differ','$marker','change:isThreadsLoadingPaused','hasMarkerForId','ignoreResolvedComments','getRange','editing','openNewCommentThread','isLocal','newRange','updateMarker','160TWeiTm','split','4076316TDtpDk','getChangedMarkers','length','plugins','markerToHighlight','announce','destroy','createPositionBefore','delete','pluginName','push','root','init','_initializeMarkerConverters','state','get','name','startsWith','addCommentThread','destroyed','dataToMarker','comment:','focus','3256NEdIRQ','571686OIsxic','removeCommentThread','1134400pujzQb','getCommentThreads','removeMarker:','end','removeMarker','_detachCommentThread','_reconvertMarkers','createElement','editor','isObject','CommentsEditing','commands','group','715624MkJYhr','isThreadsLoadingPaused','setUnlinkedAt','addComment','_hasTargetInContent','_getTargetForId','once','view','attachTo','_attachMarkerToThread','setContext','6jaaULZ','document','for','isResolved','408596VNvZCH','LEAVE_COMMENT_ANNOUNCEMENT','clear','scrollToThreadMarker','affectsData','listenTo','enqueueChange','ck-comment-marker--active','locale','upcast','editingDowncast','_getTextContext','requires','managedUsingOperations','change:isReadOnly','fetchCommentThread','_threadToController','isCollapsed','substring','getWalker','registerAnnotation','dataDowncast','reopenCommentThread','getAttribute','elementToElement','registerPostFixer','1610824yJPoMf','$graveyard','comment','consumable','_initAriaMarkerChangeAnnouncements','change','config','getItems','schema','ready','set','getCommentThread','activeMarker','createRange','reconvertMarker','isAttached','markerToData','start','from','_threads','ck-comment-marker','getByInnerView','add','then','rootName','unlinkedAt','hasCommentThread','resolveCommentThread','change:activeMarker','context','refreshVisibility'];_0x2716=function(){return _0x4783a7;};return _0x2716();}import{scrollViewportToShowTarget as _0xd42923}from'ckeditor5/src/utils.js';function _0x2eb7(_0x3b5529,_0x361f57){const _0x2716f3=_0x2716();return _0x2eb7=function(_0x2eb77c,_0x30d9a5){_0x2eb77c=_0x2eb77c-0x1d3;let _0xd225ce=_0x2716f3[_0x2eb77c];return _0xd225ce;},_0x2eb7(_0x3b5529,_0x361f57);}import _0x1ce032 from'./commentsrepository.js';import _0x202af from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x5b7280,getAllMarkersDomElementsSorted as _0x14172c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2ff7e9 from'../annotations/editorannotations.js';import _0x5b1d4b from'./integrations/commentsrestrictededitingmode.js';import _0x1e2e0a from'./integrations/importword.js';import _0x12c569 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x26e874 from'../annotations/annotations.js';import{getTranslation as _0x5a0b01}from'../utils/common-translations.js';export default class r extends _0x3b10a8{static get[_0x29d2b7(0x243)](){return[_0x1ce032,_0x2ff7e9,_0x5b1d4b,_0x1e2e0a,_0x12c569];}static get[_0x29d2b7(0x20a)](){const _0x44fc76=_0x29d2b7;return _0x44fc76(0x225);}constructor(_0x45df7f){const _0x31d332=_0x29d2b7;super(_0x45df7f),this[_0x31d332(0x25b)](_0x31d332(0x229),!0x0),_0x45df7f[_0x31d332(0x1dd)][_0x31d332(0x22e)](_0x31d332(0x25a),()=>this[_0x31d332(0x229)]=!0x1),this[_0x31d332(0x25b)](_0x31d332(0x25d),null),this['on'](_0x31d332(0x1d9),(_0x3d0fd1,_0x5bbe5f,_0x41d6c4,_0x4a5c93)=>{const _0x3f0834=_0x31d332,_0x1b2386=_0x41d6c4?it(_0x41d6c4)['id']:null;if(_0x45df7f[_0x3f0834(0x1df)][_0x3f0834(0x256)](()=>{const _0x32ae7b=_0x3f0834;if(_0x1b2386){const _0x5ed555=this[_0x32ae7b(0x1eb)](_0x1b2386);for(const _0x59a2a1 of _0x5ed555)_0x45df7f[_0x32ae7b(0x1fa)][_0x32ae7b(0x25f)](_0x59a2a1);}if(_0x4a5c93){const {id:_0x4bf396}=it(_0x4a5c93),_0x5de19b=this[_0x32ae7b(0x1eb)](_0x4bf396);for(const _0x20a280 of _0x5de19b)_0x45df7f[_0x32ae7b(0x1fa)][_0x32ae7b(0x25f)](_0x20a280);}}),_0x1b2386){const _0x399d27=_0x45df7f[_0x3f0834(0x204)][_0x3f0834(0x210)](_0x1ce032)[_0x3f0834(0x25c)](_0x1b2386);_0x399d27&&_0x399d27[_0x3f0834(0x236)]&&this[_0x3f0834(0x23a)](_0x1b2386);}}),this[_0x31d332(0x255)]();}[_0x29d2b7(0x20d)](){const _0x571824=_0x29d2b7,_0x177730=this[_0x571824(0x223)],_0x3d8218=_0x177730[_0x571824(0x204)][_0x571824(0x210)](_0x1ce032),_0x2d1cca=_0x177730[_0x571824(0x257)][_0x571824(0x210)](_0x571824(0x1e0));_0x177730[_0x571824(0x226)][_0x571824(0x1d3)](_0x571824(0x213),new _0x202af(_0x177730)),this[_0x571824(0x23c)](_0x177730,_0x571824(0x245),(_0x433a3b,_0x21aa22,_0x359012)=>{const _0x24796f=_0x571824;_0x3d8218[_0x24796f(0x1ed)](_0x359012,_0x177730[_0x24796f(0x257)][_0x24796f(0x210)](_0x24796f(0x1e0)));}),this[_0x571824(0x23c)](_0x3d8218,nt(_0x571824(0x213),_0x2d1cca),(_0x5e7ccb,{threadId:_0x40aca9})=>{const _0xffaf08=_0x571824,_0x3fb866=this[_0xffaf08(0x223)][_0xffaf08(0x204)][_0xffaf08(0x210)](_0x1ce032)[_0xffaf08(0x25c)](_0x40aca9);_0x3fb866&&_0x3fb866[_0xffaf08(0x1d6)]&&this[_0xffaf08(0x1ec)](_0x40aca9);}),this[_0x571824(0x23c)](_0x3d8218,nt(_0x571824(0x21a),_0x2d1cca),(_0x595885,{threadId:_0x458f9e})=>{const _0x561df7=_0x571824;_0x177730[_0x561df7(0x1df)][_0x561df7(0x23d)]({'isUndoable':!0x1},_0x2934d0=>{const _0x48e74b=_0x561df7,_0xa3a348=this[_0x48e74b(0x1eb)](_0x458f9e);for(const _0xe19f35 of _0xa3a348)_0x2934d0[_0x48e74b(0x21f)](_0xe19f35);});}),this[_0x571824(0x23c)](_0x3d8218,nt(_0x571824(0x1d8),_0x2d1cca),(_0x45bea6,{threadId:_0x29ccf6})=>{const _0x3d2c85=_0x571824;(this[_0x3d2c85(0x221)](_0x29ccf6),this[_0x3d2c85(0x223)][_0x3d2c85(0x1fa)][_0x3d2c85(0x22f)][_0x3d2c85(0x1e6)])&&(this[_0x3d2c85(0x223)][_0x3d2c85(0x204)][_0x3d2c85(0x210)](_0x1ce032)[_0x3d2c85(0x25c)](_0x29ccf6)[_0x3d2c85(0x1d6)]||this[_0x3d2c85(0x223)][_0x3d2c85(0x1fa)][_0x3d2c85(0x22f)][_0x3d2c85(0x217)]());},{'priority':_0x571824(0x1dc)}),this[_0x571824(0x23c)](_0x3d8218,nt(_0x571824(0x24d),_0x2d1cca),(_0x5cb337,{threadId:_0x2c19e5})=>{const _0x5b93a0=_0x571824;this[_0x5b93a0(0x221)](_0x2c19e5);},{'priority':_0x571824(0x1dc)}),this[_0x571824(0x23c)](_0x3d8218,nt(_0x571824(0x22b),_0x2d1cca),(_0x265060,{threadId:_0x4dbea5,isFromAdapter:_0x2f2c85})=>{const _0x338056=_0x571824,_0x213078=this[_0x338056(0x1eb)](_0x4dbea5);if(_0x2f2c85||0x0==_0x213078[_0x338056(0x203)]||!_0x3d8218[_0x338056(0x1d7)](_0x4dbea5))return;0x1===_0x3d8218[_0x338056(0x25c)](_0x4dbea5)[_0x338056(0x203)]&&_0x177730[_0x338056(0x1df)][_0x338056(0x23d)]({'isUndoable':!0x1},_0x38e5f5=>{const _0x3f9947=_0x338056;for(const _0x5e023c of _0x213078)_0x38e5f5[_0x3f9947(0x1fe)](_0x5e023c,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x571824(0x1dc)}),this[_0x571824(0x20e)](),this[_0x571824(0x1e7)]();}[_0x29d2b7(0x207)](){const _0x24d753=_0x29d2b7,_0x3890c0=this[_0x24d753(0x223)][_0x24d753(0x204)][_0x24d753(0x210)](_0x1ce032),_0x4fad7e=this[_0x24d753(0x223)][_0x24d753(0x257)][_0x24d753(0x210)](_0x24d753(0x1e0));for(const _0x1eb730 of _0x3890c0[_0x24d753(0x21c)]({'channelId':_0x4fad7e}))_0x3890c0[_0x24d753(0x220)](_0x1eb730['id']),_0x3890c0[_0x24d753(0x264)][_0x24d753(0x209)](_0x1eb730['id']);super[_0x24d753(0x207)]();}[_0x29d2b7(0x1f7)](_0x13f407){const _0x2ef277=_0x29d2b7;return this[_0x2ef277(0x1eb)](_0x13f407)[_0x2ef277(0x203)]>0x0;}[_0x29d2b7(0x1eb)](_0x159717){const _0x26d3d9=_0x29d2b7,_0x1d35bc=[];for(const _0x2ecba0 of this[_0x26d3d9(0x223)][_0x26d3d9(0x1df)][_0x26d3d9(0x1e4)])_0x2ecba0[_0x26d3d9(0x211)][_0x26d3d9(0x212)](_0x26d3d9(0x216)+_0x159717)&&_0x1d35bc[_0x26d3d9(0x20b)](_0x2ecba0);return _0x1d35bc;}[_0x29d2b7(0x23a)](_0x1e3ddf){const _0x1f979b=_0x29d2b7,_0x2ca6ce=this[_0x1f979b(0x22d)](_0x1e3ddf);_0x2ca6ce&&setTimeout(()=>{const _0x4694fa=_0x1f979b;this[_0x4694fa(0x25d)]&&it(this[_0x4694fa(0x25d)])['id']===_0x1e3ddf&&_0xd42923({'target':_0x2ca6ce[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x29d2b7(0x221)](_0x2740cb){const _0x5079cf=_0x29d2b7;this[_0x5079cf(0x223)][_0x5079cf(0x1df)][_0x5079cf(0x256)](()=>{const _0x564bed=_0x5079cf;for(const _0x1de0bd of this[_0x564bed(0x1eb)](_0x2740cb))this[_0x564bed(0x223)][_0x564bed(0x1fa)][_0x564bed(0x25f)](_0x1de0bd);});}[_0x29d2b7(0x1ec)](_0x39c5fb){const _0x399aa3=_0x29d2b7,_0x12d15b=this[_0x399aa3(0x223)][_0x399aa3(0x204)][_0x399aa3(0x210)](_0x1ce032),_0x4bf93b=this[_0x399aa3(0x223)][_0x399aa3(0x204)][_0x399aa3(0x210)](_0x2ff7e9),_0x32b3ab=_0x12d15b[_0x399aa3(0x25c)](_0x39c5fb);if(!_0x32b3ab[_0x399aa3(0x260)]){const _0xaa588c=_0x32b3ab[_0x399aa3(0x230)](()=>this[_0x399aa3(0x22d)](_0x32b3ab['id']));_0x4bf93b[_0x399aa3(0x24b)](_0xaa588c),_0x32b3ab[_0x399aa3(0x22c)]=!0x1;}}[_0x29d2b7(0x20e)](){const _0xcae5ef=_0x29d2b7,_0x385b84=this[_0xcae5ef(0x223)];_0x385b84[_0xcae5ef(0x1ef)][_0xcae5ef(0x235)](_0xcae5ef(0x241))[_0xcae5ef(0x205)]({'model':_0xcae5ef(0x253),'view':(_0x5f3243,_0x2bcdbf)=>{const _0x2305f7=_0xcae5ef,{id:_0x1c91aa}=it(_0x5f3243[_0x2305f7(0x1e8)]),_0x5d12a6=_0x385b84[_0x2305f7(0x204)][_0x2305f7(0x210)](_0x1ce032)[_0x2305f7(0x25c)](_0x1c91aa),_0x22bfdc=this[_0x2305f7(0x25d)]&&it(this[_0x2305f7(0x25d)])['id']===_0x1c91aa;if(_0x5d12a6&&_0x5d12a6[_0x2305f7(0x236)]&&!_0x22bfdc&&_0x5f3243[_0x2305f7(0x1e5)])return _0x2bcdbf[_0x2305f7(0x254)][_0x2305f7(0x1e1)](_0x5f3243[_0x2305f7(0x1e5)],_0x2305f7(0x1ea)+_0x5f3243[_0x2305f7(0x1e8)]),_0x2bcdbf[_0x2305f7(0x254)][_0x2305f7(0x1e1)](_0x5f3243[_0x2305f7(0x1e5)],_0x2305f7(0x21d)+_0x5f3243[_0x2305f7(0x1e8)]),null;const _0x20c167=[_0x2305f7(0x265)];return _0x22bfdc&&_0x20c167[_0x2305f7(0x20b)](_0x2305f7(0x23e)),{'classes':_0x20c167,'attributes':{'data-comment':_0x1c91aa}};}}),_0x385b84[_0xcae5ef(0x1ef)][_0xcae5ef(0x235)](_0xcae5ef(0x24c))[_0xcae5ef(0x261)]({'model':_0xcae5ef(0x253),'view':(_0x2a3434,{options:_0x332699})=>{const _0x5e6e1a=_0xcae5ef,_0x199f6b=_0x385b84[_0x5e6e1a(0x204)][_0x5e6e1a(0x210)](_0x1ce032),_0x15522b=_0x385b84[_0x5e6e1a(0x1df)][_0x5e6e1a(0x1e4)][_0x5e6e1a(0x210)](_0x2a3434),{id:_0x366224,part:_0x553b34}=it(_0x2a3434);if(_0x15522b&&!_0x15522b[_0x5e6e1a(0x23b)])return null;if(_0x332699[_0x5e6e1a(0x1f8)]){const _0x52c300=_0x199f6b[_0x5e6e1a(0x25c)](_0x366224);if(_0x52c300&&_0x52c300[_0x5e6e1a(0x236)])return null;}return{'group':_0x5e6e1a(0x253),'name':_0x553b34?_0x366224+':'+_0x553b34:_0x366224};}}),_0x385b84[_0xcae5ef(0x1ef)][_0xcae5ef(0x235)](_0xcae5ef(0x240))[_0xcae5ef(0x24f)]({'view':{'name':_0xcae5ef(0x253),'attributes':{'id':/^\w/}},'model':(_0x531c98,{writer:_0x8615e3})=>_0x8615e3[_0xcae5ef(0x222)](_0xcae5ef(0x1f5),{'data-name':_0xcae5ef(0x216)+_0x531c98[_0xcae5ef(0x24e)]('id')})}),_0x385b84[_0xcae5ef(0x1ef)][_0xcae5ef(0x235)](_0xcae5ef(0x240))[_0xcae5ef(0x215)]({'view':_0xcae5ef(0x253)});}[_0x29d2b7(0x1e7)](){const _0x3789da=_0x29d2b7,_0x2766bd=this[_0x3789da(0x223)],_0x32c73c=_0x2766bd[_0x3789da(0x204)][_0x3789da(0x210)](_0x1ce032),_0x3ae7ca=new Set(),_0x40a9dc=new Set();_0x2766bd[_0x3789da(0x1df)][_0x3789da(0x234)][_0x3789da(0x250)](_0xaa4ce7=>{const _0x557dec=_0x3789da;let _0x1e9e11=!0x1;for(const {name:_0x27d664,data:_0x59e31d}of _0x2766bd[_0x557dec(0x1df)][_0x557dec(0x234)][_0x557dec(0x1f4)][_0x557dec(0x202)]()){const {group:_0x588d08,id:_0x5cc7d2}=it(_0x27d664);let _0x8ccca8=_0x59e31d[_0x557dec(0x1fd)];if(_0x557dec(0x253)!==_0x588d08||!_0x8ccca8)continue;const _0x194941=_0x557dec(0x252)===_0x8ccca8[_0x557dec(0x20c)][_0x557dec(0x1d5)];_0x194941||(_0x8ccca8=st(_0x8ccca8,_0x2766bd[_0x557dec(0x1df)]),!_0x8ccca8||_0x8ccca8[_0x557dec(0x248)]||!_0x59e31d[_0x557dec(0x1fd)]||_0x8ccca8[_0x557dec(0x1de)](_0x59e31d[_0x557dec(0x1fd)]))?_0x2766bd[_0x557dec(0x1df)][_0x557dec(0x1ee)](_0x8ccca8)&&!_0x194941?this[_0x557dec(0x229)]?_0x3ae7ca[_0x557dec(0x1d3)](_0x27d664):this[_0x557dec(0x1e2)](_0x27d664,_0x5cc7d2):(_0x40a9dc[_0x557dec(0x1d3)](_0x27d664),_0x3ae7ca[_0x557dec(0x209)](_0x27d664),_0xaa4ce7[_0x557dec(0x21f)](_0x27d664),_0x1e9e11=!0x0):(_0xaa4ce7[_0x557dec(0x1fe)](_0x27d664,{'range':_0x8ccca8}),_0x1e9e11=!0x0);}return _0x1e9e11;}),this['on'](_0x3789da(0x1f6),(_0x502434,_0x216a17,_0x2f5c56)=>{const _0x76ff35=_0x3789da;if(!_0x2f5c56&&_0x3ae7ca[_0x76ff35(0x1f3)])for(const _0x3e6186 of _0x3ae7ca){const {id:_0x29f8ed}=it(_0x3e6186);_0x3ae7ca[_0x76ff35(0x209)](_0x3e6186),_0x2766bd[_0x76ff35(0x1df)][_0x76ff35(0x1e4)][_0x76ff35(0x210)](_0x3e6186)&&this[_0x76ff35(0x1e2)](_0x3e6186,_0x29f8ed);}}),this[_0x3789da(0x23c)](_0x2766bd[_0x3789da(0x1df)][_0x3789da(0x234)],_0x3789da(0x256),(_0x31de83,_0x24f638)=>{const _0x1a9675=_0x3789da;for(const {name:_0x2279db,data:{newRange:_0x2b4474}}of _0x2766bd[_0x1a9675(0x1df)][_0x1a9675(0x234)][_0x1a9675(0x1f4)][_0x1a9675(0x202)]()){const {group:_0x140a20,id:_0x1810a1}=it(_0x2279db);if(_0x1a9675(0x253)!==_0x140a20)continue;const _0x559d55=_0x32c73c[_0x1a9675(0x25c)](_0x1810a1),_0x1df416=this[_0x1a9675(0x1f7)](_0x1810a1);_0x559d55&&(_0x559d55[_0x1a9675(0x22c)]||_0x2766bd[_0x1a9675(0x1fa)][_0x1a9675(0x22f)][_0x1a9675(0x22e)](_0x1a9675(0x1e9),()=>{const _0x4b0146=_0x1a9675,_0x27eb2e=_0x2766bd[_0x4b0146(0x204)][_0x4b0146(0x210)](_0x26e874),_0x5baee5=_0x32c73c[_0x4b0146(0x247)][_0x4b0146(0x210)](_0x559d55)[_0x4b0146(0x22f)];_0x27eb2e[_0x4b0146(0x266)](_0x5baee5)[_0x4b0146(0x1db)]();},{'priority':_0x1a9675(0x1dc)}),_0x559d55[_0x1a9675(0x22c)]=_0x1df416||!!_0x2b4474),_0x2b4474||(_0x40a9dc[_0x1a9675(0x1d3)](_0x2279db),_0x3ae7ca[_0x1a9675(0x209)](_0x2279db));}if(_0x24f638[_0x1a9675(0x1fc)])for(const _0x4f8f33 of _0x40a9dc){const {id:_0x4db532}=it(_0x4f8f33),_0x34fa2c=_0x32c73c[_0x1a9675(0x25c)](_0x4db532),_0x2b4ccb=this[_0x1a9675(0x1f7)](_0x4db532);_0x3ae7ca[_0x1a9675(0x209)](_0x4f8f33),!_0x34fa2c||_0x2b4ccb||_0x34fa2c[_0x1a9675(0x1d6)]||_0x34fa2c[_0x1a9675(0x22a)](new Date());}_0x40a9dc[_0x1a9675(0x239)]();});}[_0x29d2b7(0x22d)](_0x5771e5){const _0xa7f76c=_0x29d2b7,_0x430c0b=this[_0xa7f76c(0x223)],_0x9bf914=this[_0xa7f76c(0x1eb)](_0x5771e5);return _0x14172c(_0x430c0b[_0xa7f76c(0x1fa)],_0x9bf914);}[_0x29d2b7(0x242)](_0x241222){const _0x130c9b=_0x29d2b7,_0x26d163=this[_0x130c9b(0x1eb)](_0x241222);let _0x17827d='',_0x5b9ea5=!0x1;for(const _0x5b6646 of _0x26d163){const _0x1cdda9=_0x5b6646[_0x130c9b(0x1f9)]();for(const _0xf4ada7 of Array[_0x130c9b(0x263)](_0x1cdda9[_0x130c9b(0x258)]()))_0xf4ada7['is'](_0x130c9b(0x1f1))?(_0x17827d&&_0x5b9ea5&&(_0x17827d+='\x20',_0x5b9ea5=!0x1),_0x17827d+=_0xf4ada7[_0x130c9b(0x1dd)]):_0x5b9ea5=!0x0;_0x5b9ea5=!0x0;}return _0x17827d[_0x130c9b(0x249)](0x0,0x96);}[_0x29d2b7(0x231)](_0x414435,_0x3c3016){const _0x2adba3=_0x29d2b7,_0x3d5999=this[_0x2adba3(0x223)],_0x502626=_0x3d5999[_0x2adba3(0x204)][_0x2adba3(0x210)](_0x1ce032);let _0x262bd2=_0x502626[_0x2adba3(0x25c)](_0x3c3016);const _0x3600c0=_0x3d5999[_0x2adba3(0x257)][_0x2adba3(0x210)](_0x2adba3(0x1e0)),_0x54999e=_0x3d5999[_0x2adba3(0x204)][_0x2adba3(0x210)](_0x2ff7e9);if(_0x262bd2&&(_0x262bd2[_0x2adba3(0x1d6)]&&_0x262bd2[_0x2adba3(0x22a)](null),_0x262bd2[_0x2adba3(0x260)]))return _0x262bd2;return!this[_0x2adba3(0x1eb)](_0x3c3016)[0x0][_0x2adba3(0x244)]?_0x3d5999[_0x2adba3(0x1fa)][_0x2adba3(0x22f)][_0x2adba3(0x22e)](_0x2adba3(0x1e9),()=>{const _0x36d736=_0x2adba3;if(_0x502626[_0x36d736(0x25c)](_0x3c3016))return;const _0xb22c2c=_0x3d5999[_0x36d736(0x204)][_0x36d736(0x210)](_0x26e874);_0x262bd2=_0x502626[_0x36d736(0x1fb)]({'channelId':_0x3600c0,'threadId':_0x3c3016,'target':()=>this[_0x36d736(0x22d)](_0x3c3016),'context':{'type':_0x36d736(0x1e3),'value':this[_0x36d736(0x242)](_0x3c3016)}});const _0x4c35c7=_0x502626[_0x36d736(0x247)][_0x36d736(0x210)](_0x262bd2)[_0x36d736(0x22f)],_0x3dc43d=_0xb22c2c[_0x36d736(0x266)](_0x4c35c7);_0x3dc43d&&_0x54999e[_0x36d736(0x24b)](_0x3dc43d);},{'priority':_0x2adba3(0x1dc)}):_0x502626[_0x2adba3(0x246)]({'channelId':_0x3600c0,'threadId':_0x3c3016})[_0x2adba3(0x1d4)](_0x516325=>{const _0x505784=_0x2adba3;if(_0x505784(0x214)!==_0x3d5999[_0x505784(0x20f)]){if(_0x262bd2=_0x516325,_0x262bd2&&!_0x262bd2[_0x505784(0x260)]){const _0x3d345a=_0x262bd2[_0x505784(0x230)](()=>this[_0x505784(0x22d)](_0x3c3016));_0x54999e[_0x505784(0x24b)](_0x3d345a),_0x262bd2[_0x505784(0x236)]&&this[_0x505784(0x221)](_0x3c3016);}else{if(!_0x262bd2){const _0x30db76=this[_0x505784(0x1eb)](_0x3c3016);_0x3d5999[_0x505784(0x1df)][_0x505784(0x256)](_0x5c75a3=>{const _0x47159c=_0x505784;for(const _0x449630 of _0x30db76)_0x5c75a3[_0x47159c(0x21f)](_0x449630);});}}}}),_0x262bd2;}[_0x29d2b7(0x1e2)](_0x43e6ad,_0x8279e3){const _0x3dedc4=_0x29d2b7,_0x21d1e5=this[_0x3dedc4(0x231)](_0x43e6ad,_0x8279e3);_0x21d1e5&&!_0x21d1e5[_0x3dedc4(0x1da)]&&_0x21d1e5[_0x3dedc4(0x232)]({'type':_0x3dedc4(0x1e3),'value':this[_0x3dedc4(0x242)](_0x8279e3)});}[_0x29d2b7(0x255)](){const _0x3ffef3=_0x29d2b7,_0xfbbc40=this[_0x3ffef3(0x223)];_0x5b7280(_0xfbbc40[_0x3ffef3(0x1df)],({left:_0x1de065,entered:_0x55ff95})=>{const _0x2a1d2d=_0x3ffef3;for(const _0x383202 of _0x1de065)if(at(_0x383202)){_0xfbbc40['ui'][_0x2a1d2d(0x1f0)][_0x2a1d2d(0x206)](_0x5a0b01(_0xfbbc40[_0x2a1d2d(0x23f)],_0x2a1d2d(0x238)));break;}for(const _0x40a033 of _0x55ff95)if(at(_0x40a033)){_0xfbbc40['ui'][_0x2a1d2d(0x1f0)][_0x2a1d2d(0x206)](_0x5a0b01(_0xfbbc40[_0x2a1d2d(0x23f)],_0x2a1d2d(0x1f2)));break;}});}}function nt(_0x3578c3,_0x1367e9){return _0x1367e9?_0x3578c3+':'+_0x1367e9:_0x3578c3;}function it(_0x40d99c){const _0x3224a0=_0x29d2b7,_0x3e9651=_0x40d99c[_0x3224a0(0x200)](':');return{'group':_0x3e9651[0x0],'id':_0x3e9651[0x1],'part':_0x3e9651[0x2]};}function st(_0xa2af60,_0x3c7659){const _0x4976ce=_0x29d2b7,_0x5cfa99=_0x3c7659[_0x4976ce(0x259)],_0x3e4fa1=_0x3c7659[_0x4976ce(0x25e)](_0xa2af60[_0x4976ce(0x262)]);for(const _0x3f0551 of _0xa2af60[_0x4976ce(0x24a)]()){const {type:_0x4e1a0c,item:_0x13efbb,nextPosition:_0x547caf}=_0x3f0551;if(_0x4976ce(0x1e3)===_0x4e1a0c||_0x5cfa99[_0x4976ce(0x224)](_0x13efbb)){const _0x583d44=_0x3c7659[_0x4976ce(0x208)](_0x13efbb);_0x3e4fa1[_0x4976ce(0x248)]&&(_0x3e4fa1[_0x4976ce(0x262)]=_0x583d44),_0x3e4fa1[_0x4976ce(0x21e)]=_0x547caf;}}return _0x3e4fa1;}function at(_0x554764){const _0x3dc343=_0x29d2b7;return _0x3dc343(0x253)===it(_0x554764[_0x3dc343(0x211)])[_0x3dc343(0x227)];}
|