@ckeditor/ckeditor5-comments 42.0.0-alpha.2 → 42.0.0-alpha.21
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 _0x272c25=_0x1895;function _0x2a1b(){const _0x185b01=['consumable','addMarker:','getAttribute','isObject','ck-comment-marker--active','$textProxy','928548waWxpS','dataDowncast','hasMarkerForId','name','once','upcast','reopenCommentThread','editor','consume','openNewCommentThread','removeCommentThread','42320980ofEtFn','_initializeMarkerConverters','_initAriaMarkerChangeAnnouncements','end','markerToHighlight','_reconvertMarkers','conversion','group','getByInnerView','_attachMarkerToThread','add','rootName','schema','refreshVisibility','3466347ZrhVDC','_getTargetForId','listenTo','hasContent','push','ready','state','differ','_getTextContext','registerAnnotation','_handleMarkerAddAndRemove','scrollToThreadMarker','clear','getAllMarkersForId','affectsData','_attachArchivedThread','announce','updateMarker','CommentsEditing','removeMarker:','substring','markers','set','item','render','isResolved','fetchCommentThread','comment','registerPostFixer','unlinkedAt','dataToMarker','focus','542546sRQhFw','locale','change:isReadOnly','isThreadsLoadingPaused','root','addCommentThread','$graveyard','newRange','setUnlinkedAt','get','_handleThreadMarker','config','switchReadOnly','getItems','change:isThreadsLoadingPaused','isEqual','activeMarker','removeMarker','ariaLiveAnnouncer','init','for','document','collaboration.channelId','start','reconvertMarker','size','requires','editingDowncast','_threadToController','_threads','setContext','context','then','isLocal','model','hasDomSelection','low','managedUsingOperations','attachTo','2629032StsLWS','comment:','resolveCommentThread','commands','1QhCuai','215rCCaZo','createRange','ENTER_COMMENT_ANNOUNCEMENT','createElement','from','change:activeMarker','pluginName','change','hasCommentThread','isAttached','_hasTargetInContent','destroyed','ignoreResolvedComments','data','LEAVE_COMMENT_ANNOUNCEMENT','length','startsWith','getChangedMarkers','getRange','isCollapsed','markerName','getCommentThread','split','ck-comment-marker','editing','4456072fIbAjG','addComment','getWalker','enqueueChange','82452sYuNiC','plugins','$marker','elementToElement','destroy','delete','view','markerToData','text','18TVndEV','getCommentThreads','_detachCommentThread','createPositionBefore'];_0x2a1b=function(){return _0x185b01;};return _0x2a1b();}(function(_0x28ed10,_0x5a18b0){const _0x196b2d=_0x1895,_0x255e5e=_0x28ed10();while(!![]){try{const _0x2beef1=-parseInt(_0x196b2d(0x1c7))/0x1*(-parseInt(_0x196b2d(0x231))/0x2)+-parseInt(_0x196b2d(0x211))/0x3+-parseInt(_0x196b2d(0x1e5))/0x4*(parseInt(_0x196b2d(0x1c8))/0x5)+-parseInt(_0x196b2d(0x1f8))/0x6+-parseInt(_0x196b2d(0x1c3))/0x7+parseInt(_0x196b2d(0x1e1))/0x8*(-parseInt(_0x196b2d(0x1ee))/0x9)+parseInt(_0x196b2d(0x203))/0xa;if(_0x2beef1===_0x5a18b0)break;else _0x255e5e['push'](_0x255e5e['shift']());}catch(_0xe94603){_0x255e5e['push'](_0x255e5e['shift']());}}}(_0x2a1b,0xc783b));import{Plugin as _0x49a577}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1adca7}from'ckeditor5/src/utils.js';import _0x51bfd6 from'./commentsrepository.js';import _0x36f383 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x352eae,getAllMarkersDomElementsSorted as _0x4e2888}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2d7fd7 from'../annotations/editorannotations.js';import _0x4dd5ad from'./integrations/commentsrestrictededitingmode.js';import _0x24204c from'./integrations/importword.js';import _0x5bcda9 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';function _0x1895(_0x33a1be,_0x2ed0f9){const _0x2a1b91=_0x2a1b();return _0x1895=function(_0x1895c7,_0x59fb7d){_0x1895c7=_0x1895c7-0x1a9;let _0x319bf7=_0x2a1b91[_0x1895c7];return _0x319bf7;},_0x1895(_0x33a1be,_0x2ed0f9);}import _0x29cf74 from'../annotations/annotations.js';import{getTranslation as _0x138519}from'../utils/common-translations.js';export default class r extends _0x49a577{static get[_0x272c25(0x1b6)](){return[_0x51bfd6,_0x2d7fd7,_0x4dd5ad,_0x24204c,_0x5bcda9];}static get[_0x272c25(0x1ce)](){const _0x1af8af=_0x272c25;return _0x1af8af(0x223);}constructor(_0x2ea3d3){const _0x1baf81=_0x272c25;super(_0x2ea3d3),this[_0x1baf81(0x227)](_0x1baf81(0x234),!0x0),_0x2ea3d3[_0x1baf81(0x1d5)][_0x1baf81(0x1fc)](_0x1baf81(0x216),()=>this[_0x1baf81(0x234)]=!0x1),this[_0x1baf81(0x227)](_0x1baf81(0x1ac),null),this['on'](_0x1baf81(0x1cd),(_0x1a1e07,_0x41efa0,_0x17bc2b,_0x19576d)=>{const _0x32f242=_0x1baf81,_0x14f775=_0x17bc2b?it(_0x17bc2b)['id']:null;if(_0x2ea3d3[_0x32f242(0x1be)][_0x32f242(0x1cf)](()=>{const _0x5c39c4=_0x32f242;if(_0x14f775){const _0x1cf549=this[_0x5c39c4(0x21e)](_0x14f775);for(const _0x3b5aa6 of _0x1cf549)_0x2ea3d3[_0x5c39c4(0x1e0)][_0x5c39c4(0x1b4)](_0x3b5aa6);}if(_0x19576d){const {id:_0x52cd17}=it(_0x19576d),_0x2a003a=this[_0x5c39c4(0x21e)](_0x52cd17);for(const _0x2b1723 of _0x2a003a)_0x2ea3d3[_0x5c39c4(0x1e0)][_0x5c39c4(0x1b4)](_0x2b1723);}}),_0x14f775){const _0xd99ef5=_0x2ea3d3[_0x32f242(0x1e6)][_0x32f242(0x23a)](_0x51bfd6)[_0x32f242(0x1dd)](_0x14f775);_0xd99ef5&&_0xd99ef5[_0x32f242(0x22a)]&&this[_0x32f242(0x21c)](_0x14f775);}}),this[_0x1baf81(0x205)]();}[_0x272c25(0x1af)](){const _0x898229=_0x272c25,_0x1f242a=this[_0x898229(0x1ff)],_0x314013=_0x1f242a[_0x898229(0x1e6)][_0x898229(0x23a)](_0x51bfd6),_0x461161=_0x1f242a[_0x898229(0x23c)][_0x898229(0x23a)](_0x898229(0x1b2));_0x1f242a[_0x898229(0x1c6)][_0x898229(0x20d)](_0x898229(0x236),new _0x36f383(_0x1f242a)),this[_0x898229(0x213)](_0x1f242a,_0x898229(0x233),(_0xe2e9bd,_0x210d88,_0x5ee3cb)=>{const _0x5d8738=_0x898229;_0x314013[_0x5d8738(0x23d)](_0x5ee3cb,_0x1f242a[_0x5d8738(0x23c)][_0x5d8738(0x23a)](_0x5d8738(0x1b2)));}),this[_0x898229(0x213)](_0x314013,nt(_0x898229(0x236),_0x461161),(_0x3b8ab7,{threadId:_0x49483})=>{const _0x397dc7=_0x898229,_0x179ada=this[_0x397dc7(0x1ff)][_0x397dc7(0x1e6)][_0x397dc7(0x23a)](_0x51bfd6)[_0x397dc7(0x1dd)](_0x49483);_0x179ada&&_0x179ada[_0x397dc7(0x22e)]&&this[_0x397dc7(0x220)](_0x49483);}),this[_0x898229(0x213)](_0x314013,nt(_0x898229(0x202),_0x461161),(_0x535d09,{threadId:_0x25b4d4})=>{const _0x1e07c6=_0x898229;_0x1f242a[_0x1e07c6(0x1be)][_0x1e07c6(0x1e4)]({'isUndoable':!0x1},_0x5de746=>{const _0x504729=_0x1e07c6,_0x2eb1bd=this[_0x504729(0x21e)](_0x25b4d4);for(const _0x2928e0 of _0x2eb1bd)_0x5de746[_0x504729(0x1ad)](_0x2928e0);});}),this[_0x898229(0x213)](_0x314013,nt(_0x898229(0x1c5),_0x461161),(_0x4d7102,{threadId:_0x523dad})=>{const _0x24742e=_0x898229;(this[_0x24742e(0x208)](_0x523dad),this[_0x24742e(0x1ff)][_0x24742e(0x1e0)][_0x24742e(0x1eb)][_0x24742e(0x1bf)])&&(this[_0x24742e(0x1ff)][_0x24742e(0x1e6)][_0x24742e(0x23a)](_0x51bfd6)[_0x24742e(0x1dd)](_0x523dad)[_0x24742e(0x22e)]||this[_0x24742e(0x1ff)][_0x24742e(0x1e0)][_0x24742e(0x1eb)][_0x24742e(0x230)]());},{'priority':_0x898229(0x1c0)}),this[_0x898229(0x213)](_0x314013,nt(_0x898229(0x1fe),_0x461161),(_0x1fa060,{threadId:_0x43f619})=>{const _0xb2e8e8=_0x898229;this[_0xb2e8e8(0x208)](_0x43f619);},{'priority':_0x898229(0x1c0)}),this[_0x898229(0x213)](_0x314013,nt(_0x898229(0x1e2),_0x461161),(_0x46bf0f,{threadId:_0x4f6835,isFromAdapter:_0x2fb950})=>{const _0x43ab3c=_0x898229,_0x495f0f=this[_0x43ab3c(0x21e)](_0x4f6835);if(_0x2fb950||0x0==_0x495f0f[_0x43ab3c(0x1d7)]||!_0x314013[_0x43ab3c(0x1d0)](_0x4f6835))return;0x1===_0x314013[_0x43ab3c(0x1dd)](_0x4f6835)[_0x43ab3c(0x1d7)]&&_0x1f242a[_0x43ab3c(0x1be)][_0x43ab3c(0x1e4)]({'isUndoable':!0x1},_0x55ea28=>{const _0x2b2375=_0x43ab3c;for(const _0x5c3236 of _0x495f0f)_0x55ea28[_0x2b2375(0x222)](_0x5c3236,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x898229(0x1c0)}),this[_0x898229(0x204)](),this[_0x898229(0x21b)]();}[_0x272c25(0x1e9)](){const _0x1dcedb=_0x272c25,_0x2dd965=this[_0x1dcedb(0x1ff)][_0x1dcedb(0x1e6)][_0x1dcedb(0x23a)](_0x51bfd6),_0x33b9d6=this[_0x1dcedb(0x1ff)][_0x1dcedb(0x23c)][_0x1dcedb(0x23a)](_0x1dcedb(0x1b2));for(const _0x25bc92 of _0x2dd965[_0x1dcedb(0x1ef)]({'channelId':_0x33b9d6}))_0x2dd965[_0x1dcedb(0x1f0)](_0x25bc92['id']),_0x2dd965[_0x1dcedb(0x1b9)][_0x1dcedb(0x1ea)](_0x25bc92['id']);super[_0x1dcedb(0x1e9)]();}[_0x272c25(0x1fa)](_0x3bebab){const _0xad6fce=_0x272c25;return this[_0xad6fce(0x21e)](_0x3bebab)[_0xad6fce(0x1d7)]>0x0;}[_0x272c25(0x21e)](_0x5d0ef6){const _0x4b08a0=_0x272c25,_0x4e16a3=[];for(const _0x281c4e of this[_0x4b08a0(0x1ff)][_0x4b08a0(0x1be)][_0x4b08a0(0x226)])_0x281c4e[_0x4b08a0(0x1fb)][_0x4b08a0(0x1d8)](_0x4b08a0(0x1c4)+_0x5d0ef6)&&_0x4e16a3[_0x4b08a0(0x215)](_0x281c4e);return _0x4e16a3;}[_0x272c25(0x21c)](_0x5a2907){const _0x1bbb8f=_0x272c25,_0x4a8efb=this[_0x1bbb8f(0x212)](_0x5a2907);_0x4a8efb&&setTimeout(()=>{const _0x3c1fa2=_0x1bbb8f;this[_0x3c1fa2(0x1ac)]&&it(this[_0x3c1fa2(0x1ac)])['id']===_0x5a2907&&_0x1adca7({'target':_0x4a8efb[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x272c25(0x208)](_0x138bd1){const _0x1774d1=_0x272c25;this[_0x1774d1(0x1ff)][_0x1774d1(0x1be)][_0x1774d1(0x1cf)](()=>{const _0x9b16ca=_0x1774d1;for(const _0x17b59b of this[_0x9b16ca(0x21e)](_0x138bd1))this[_0x9b16ca(0x1ff)][_0x9b16ca(0x1e0)][_0x9b16ca(0x1b4)](_0x17b59b);});}[_0x272c25(0x220)](_0x6a7639){const _0xf44e94=_0x272c25,_0x4be6a0=this[_0xf44e94(0x1ff)][_0xf44e94(0x1e6)][_0xf44e94(0x23a)](_0x51bfd6),_0x466c50=this[_0xf44e94(0x1ff)][_0xf44e94(0x1e6)][_0xf44e94(0x23a)](_0x2d7fd7),_0x80aa77=_0x4be6a0[_0xf44e94(0x1dd)](_0x6a7639);if(!_0x80aa77[_0xf44e94(0x1d1)]){const _0x67d105=_0x80aa77[_0xf44e94(0x1c2)](()=>this[_0xf44e94(0x212)](_0x80aa77['id']));_0x466c50[_0xf44e94(0x21a)](_0x67d105),_0x80aa77[_0xf44e94(0x1d2)]=!0x1;}}[_0x272c25(0x204)](){const _0x43f8e8=_0x272c25,_0x420fae=this[_0x43f8e8(0x1ff)];_0x420fae[_0x43f8e8(0x209)][_0x43f8e8(0x1b0)](_0x43f8e8(0x1b7))[_0x43f8e8(0x207)]({'model':_0x43f8e8(0x22c),'view':(_0x583757,_0x560bee)=>{const _0x2648f9=_0x43f8e8,{id:_0xba42f5}=it(_0x583757[_0x2648f9(0x1dc)]),_0x5ab34a=_0x420fae[_0x2648f9(0x1e6)][_0x2648f9(0x23a)](_0x51bfd6)[_0x2648f9(0x1dd)](_0xba42f5),_0x8ce884=this[_0x2648f9(0x1ac)]&&it(this[_0x2648f9(0x1ac)])['id']===_0xba42f5;if(_0x5ab34a&&_0x5ab34a[_0x2648f9(0x22a)]&&!_0x8ce884&&_0x583757[_0x2648f9(0x228)])return _0x560bee[_0x2648f9(0x1f2)][_0x2648f9(0x200)](_0x583757[_0x2648f9(0x228)],_0x2648f9(0x1f3)+_0x583757[_0x2648f9(0x1dc)]),_0x560bee[_0x2648f9(0x1f2)][_0x2648f9(0x200)](_0x583757[_0x2648f9(0x228)],_0x2648f9(0x224)+_0x583757[_0x2648f9(0x1dc)]),null;const _0x2720a5=[_0x2648f9(0x1df)];return _0x8ce884&&_0x2720a5[_0x2648f9(0x215)](_0x2648f9(0x1f6)),{'classes':_0x2720a5,'attributes':{'data-comment':_0xba42f5}};}}),_0x420fae[_0x43f8e8(0x209)][_0x43f8e8(0x1b0)](_0x43f8e8(0x1f9))[_0x43f8e8(0x1ec)]({'model':_0x43f8e8(0x22c),'view':(_0x327123,{options:_0x32e0f9})=>{const _0x3dec23=_0x43f8e8,_0x2a0099=_0x420fae[_0x3dec23(0x1e6)][_0x3dec23(0x23a)](_0x51bfd6),_0x2e2fb9=_0x420fae[_0x3dec23(0x1be)][_0x3dec23(0x226)][_0x3dec23(0x23a)](_0x327123),{id:_0x5c8a82,part:_0x1feb73}=it(_0x327123);if(_0x2e2fb9&&!_0x2e2fb9[_0x3dec23(0x21f)])return null;if(_0x32e0f9[_0x3dec23(0x1d4)]){const _0x293f93=_0x2a0099[_0x3dec23(0x1dd)](_0x5c8a82);if(_0x293f93&&_0x293f93[_0x3dec23(0x22a)])return null;}return{'group':_0x3dec23(0x22c),'name':_0x1feb73?_0x5c8a82+':'+_0x1feb73:_0x5c8a82};}}),_0x420fae[_0x43f8e8(0x209)][_0x43f8e8(0x1b0)](_0x43f8e8(0x1fd))[_0x43f8e8(0x1e8)]({'view':{'name':_0x43f8e8(0x22c),'attributes':{'id':/^\w/}},'model':(_0x500f64,{writer:_0x23e04a})=>_0x23e04a[_0x43f8e8(0x1cb)](_0x43f8e8(0x1e7),{'data-name':_0x43f8e8(0x1c4)+_0x500f64[_0x43f8e8(0x1f4)]('id')})}),_0x420fae[_0x43f8e8(0x209)][_0x43f8e8(0x1b0)](_0x43f8e8(0x1fd))[_0x43f8e8(0x22f)]({'view':_0x43f8e8(0x22c)});}[_0x272c25(0x21b)](){const _0x28feb8=_0x272c25,_0x3dadb1=this[_0x28feb8(0x1ff)],_0x23143d=_0x3dadb1[_0x28feb8(0x1e6)][_0x28feb8(0x23a)](_0x51bfd6),_0xfd4c32=new Set(),_0x161901=new Set();_0x3dadb1[_0x28feb8(0x1be)][_0x28feb8(0x1b1)][_0x28feb8(0x22d)](_0x163b65=>{const _0xffa53a=_0x28feb8;let _0x513230=!0x1;for(const {name:_0x3ee7e4,data:_0x546a68}of _0x3dadb1[_0xffa53a(0x1be)][_0xffa53a(0x1b1)][_0xffa53a(0x218)][_0xffa53a(0x1d9)]()){const {group:_0x1f7ede,id:_0x49b524}=it(_0x3ee7e4);let _0x23cdac=_0x546a68[_0xffa53a(0x238)];if(_0xffa53a(0x22c)!==_0x1f7ede||!_0x23cdac)continue;const _0x39612b=_0xffa53a(0x237)===_0x23cdac[_0xffa53a(0x235)][_0xffa53a(0x20e)];_0x39612b||(_0x23cdac=st(_0x23cdac,_0x3dadb1[_0xffa53a(0x1be)]),!_0x23cdac||_0x23cdac[_0xffa53a(0x1db)]||!_0x546a68[_0xffa53a(0x238)]||_0x23cdac[_0xffa53a(0x1ab)](_0x546a68[_0xffa53a(0x238)]))?_0x3dadb1[_0xffa53a(0x1be)][_0xffa53a(0x214)](_0x23cdac)&&!_0x39612b?this[_0xffa53a(0x234)]?_0xfd4c32[_0xffa53a(0x20d)](_0x3ee7e4):this[_0xffa53a(0x23b)](_0x3ee7e4,_0x49b524):(_0x161901[_0xffa53a(0x20d)](_0x3ee7e4),_0xfd4c32[_0xffa53a(0x1ea)](_0x3ee7e4),_0x163b65[_0xffa53a(0x1ad)](_0x3ee7e4),_0x513230=!0x0):(_0x163b65[_0xffa53a(0x222)](_0x3ee7e4,{'range':_0x23cdac}),_0x513230=!0x0);}return _0x513230;}),this['on'](_0x28feb8(0x1aa),(_0x1d9bef,_0x3aaa6c,_0x39a9d0)=>{const _0x2d5d90=_0x28feb8;if(!_0x39a9d0&&_0xfd4c32[_0x2d5d90(0x1b5)])for(const _0x272f30 of _0xfd4c32){const {id:_0x57a12e}=it(_0x272f30);_0xfd4c32[_0x2d5d90(0x1ea)](_0x272f30),_0x3dadb1[_0x2d5d90(0x1be)][_0x2d5d90(0x226)][_0x2d5d90(0x23a)](_0x272f30)&&this[_0x2d5d90(0x23b)](_0x272f30,_0x57a12e);}}),this[_0x28feb8(0x213)](_0x3dadb1[_0x28feb8(0x1be)][_0x28feb8(0x1b1)],_0x28feb8(0x1cf),(_0xbb6817,_0x24d6ef)=>{const _0x3b552a=_0x28feb8;for(const {name:_0x3515b1,data:{newRange:_0x24feec}}of _0x3dadb1[_0x3b552a(0x1be)][_0x3b552a(0x1b1)][_0x3b552a(0x218)][_0x3b552a(0x1d9)]()){const {group:_0x1e6d64,id:_0x439b85}=it(_0x3515b1);if(_0x3b552a(0x22c)!==_0x1e6d64)continue;const _0x1c2d11=_0x23143d[_0x3b552a(0x1dd)](_0x439b85),_0x59c720=this[_0x3b552a(0x1fa)](_0x439b85);_0x1c2d11&&(_0x1c2d11[_0x3b552a(0x1d2)]||_0x3dadb1[_0x3b552a(0x1e0)][_0x3b552a(0x1eb)][_0x3b552a(0x1fc)](_0x3b552a(0x229),()=>{const _0x4fab51=_0x3b552a,_0x422a69=_0x3dadb1[_0x4fab51(0x1e6)][_0x4fab51(0x23a)](_0x29cf74),_0x4d6c1a=_0x23143d[_0x4fab51(0x1b8)][_0x4fab51(0x23a)](_0x1c2d11)[_0x4fab51(0x1eb)];_0x422a69[_0x4fab51(0x20b)](_0x4d6c1a)[_0x4fab51(0x210)]();},{'priority':_0x3b552a(0x1c0)}),_0x1c2d11[_0x3b552a(0x1d2)]=_0x59c720||!!_0x24feec),_0x24feec||(_0x161901[_0x3b552a(0x20d)](_0x3515b1),_0xfd4c32[_0x3b552a(0x1ea)](_0x3515b1));}if(_0x24d6ef[_0x3b552a(0x1bd)])for(const _0x23e3f of _0x161901){const {id:_0xcdd0e1}=it(_0x23e3f),_0x10717f=_0x23143d[_0x3b552a(0x1dd)](_0xcdd0e1),_0x24d35f=this[_0x3b552a(0x1fa)](_0xcdd0e1);_0xfd4c32[_0x3b552a(0x1ea)](_0x23e3f),!_0x10717f||_0x24d35f||_0x10717f[_0x3b552a(0x22e)]||_0x10717f[_0x3b552a(0x239)](new Date());}_0x161901[_0x3b552a(0x21d)]();});}[_0x272c25(0x212)](_0x4595fc){const _0x5e5a3b=_0x272c25,_0x482c3e=this[_0x5e5a3b(0x1ff)],_0x27d7ef=this[_0x5e5a3b(0x21e)](_0x4595fc);return _0x4e2888(_0x482c3e[_0x5e5a3b(0x1e0)],_0x27d7ef);}[_0x272c25(0x219)](_0x5ea076){const _0x362638=_0x272c25,_0x22ecfe=this[_0x362638(0x21e)](_0x5ea076);let _0x5ea27f='',_0xcc94b7=!0x1;for(const _0x2ebb8f of _0x22ecfe){const _0x5ca89b=_0x2ebb8f[_0x362638(0x1da)]();for(const _0xf9dedb of Array[_0x362638(0x1cc)](_0x5ca89b[_0x362638(0x1a9)]()))_0xf9dedb['is'](_0x362638(0x1f7))?(_0x5ea27f&&_0xcc94b7&&(_0x5ea27f+='\x20',_0xcc94b7=!0x1),_0x5ea27f+=_0xf9dedb[_0x362638(0x1d5)]):_0xcc94b7=!0x0;_0xcc94b7=!0x0;}return _0x5ea27f[_0x362638(0x225)](0x0,0x96);}[_0x272c25(0x20c)](_0x5f2309,_0x2928a2){const _0x32e65a=_0x272c25,_0x3b84dd=this[_0x32e65a(0x1ff)],_0x1413a2=_0x3b84dd[_0x32e65a(0x1e6)][_0x32e65a(0x23a)](_0x51bfd6);let _0x3bcdc0=_0x1413a2[_0x32e65a(0x1dd)](_0x2928a2);const _0x5da033=_0x3b84dd[_0x32e65a(0x23c)][_0x32e65a(0x23a)](_0x32e65a(0x1b2)),_0x5a5ae3=_0x3b84dd[_0x32e65a(0x1e6)][_0x32e65a(0x23a)](_0x2d7fd7);if(_0x3bcdc0&&(_0x3bcdc0[_0x32e65a(0x22e)]&&_0x3bcdc0[_0x32e65a(0x239)](null),_0x3bcdc0[_0x32e65a(0x1d1)]))return _0x3bcdc0;return!this[_0x32e65a(0x21e)](_0x2928a2)[0x0][_0x32e65a(0x1c1)]?_0x3b84dd[_0x32e65a(0x1e0)][_0x32e65a(0x1eb)][_0x32e65a(0x1fc)](_0x32e65a(0x229),()=>{const _0x252642=_0x32e65a;if(_0x1413a2[_0x252642(0x1dd)](_0x2928a2))return;const _0x296d97=_0x3b84dd[_0x252642(0x1e6)][_0x252642(0x23a)](_0x29cf74);_0x3bcdc0=_0x1413a2[_0x252642(0x201)]({'channelId':_0x5da033,'threadId':_0x2928a2,'target':()=>this[_0x252642(0x212)](_0x2928a2),'context':{'type':_0x252642(0x1ed),'value':this[_0x252642(0x219)](_0x2928a2)}});const _0x4da562=_0x1413a2[_0x252642(0x1b8)][_0x252642(0x23a)](_0x3bcdc0)[_0x252642(0x1eb)],_0x243960=_0x296d97[_0x252642(0x20b)](_0x4da562);_0x243960&&_0x5a5ae3[_0x252642(0x21a)](_0x243960);},{'priority':_0x32e65a(0x1c0)}):_0x1413a2[_0x32e65a(0x22b)]({'channelId':_0x5da033,'threadId':_0x2928a2})[_0x32e65a(0x1bc)](_0x5ea6ba=>{const _0x456edb=_0x32e65a;if(_0x456edb(0x1d3)!==_0x3b84dd[_0x456edb(0x217)]){if(_0x3bcdc0=_0x5ea6ba,_0x3bcdc0&&!_0x3bcdc0[_0x456edb(0x1d1)]){const _0x5a1cbf=_0x3bcdc0[_0x456edb(0x1c2)](()=>this[_0x456edb(0x212)](_0x2928a2));_0x5a5ae3[_0x456edb(0x21a)](_0x5a1cbf),_0x3bcdc0[_0x456edb(0x22a)]&&this[_0x456edb(0x208)](_0x2928a2);}else{if(!_0x3bcdc0){const _0x4499f5=this[_0x456edb(0x21e)](_0x2928a2);_0x3b84dd[_0x456edb(0x1be)][_0x456edb(0x1cf)](_0x3e46fe=>{const _0x145b9d=_0x456edb;for(const _0x794618 of _0x4499f5)_0x3e46fe[_0x145b9d(0x1ad)](_0x794618);});}}}}),_0x3bcdc0;}[_0x272c25(0x23b)](_0x22354d,_0x2d12a2){const _0x2dbfe4=_0x272c25,_0x2e3f01=this[_0x2dbfe4(0x20c)](_0x22354d,_0x2d12a2);_0x2e3f01&&!_0x2e3f01[_0x2dbfe4(0x1bb)]&&_0x2e3f01[_0x2dbfe4(0x1ba)]({'type':_0x2dbfe4(0x1ed),'value':this[_0x2dbfe4(0x219)](_0x2d12a2)});}[_0x272c25(0x205)](){const _0x27b1f2=_0x272c25,_0x6cd501=this[_0x27b1f2(0x1ff)];_0x352eae(_0x6cd501[_0x27b1f2(0x1be)],({left:_0x495955,entered:_0x5a357f})=>{const _0x10b552=_0x27b1f2;for(const _0x592a33 of _0x495955)if(at(_0x592a33)){_0x6cd501['ui'][_0x10b552(0x1ae)][_0x10b552(0x221)](_0x138519(_0x6cd501[_0x10b552(0x232)],_0x10b552(0x1d6)));break;}for(const _0x3e95dc of _0x5a357f)if(at(_0x3e95dc)){_0x6cd501['ui'][_0x10b552(0x1ae)][_0x10b552(0x221)](_0x138519(_0x6cd501[_0x10b552(0x232)],_0x10b552(0x1ca)));break;}});}}function nt(_0x230ebf,_0x47482b){return _0x47482b?_0x230ebf+':'+_0x47482b:_0x230ebf;}function it(_0x10b2af){const _0x5ecafe=_0x272c25,_0x3bbb35=_0x10b2af[_0x5ecafe(0x1de)](':');return{'group':_0x3bbb35[0x0],'id':_0x3bbb35[0x1],'part':_0x3bbb35[0x2]};}function st(_0x4963cf,_0x59823f){const _0x58f79d=_0x272c25,_0x4393e2=_0x59823f[_0x58f79d(0x20f)],_0x4c4faa=_0x59823f[_0x58f79d(0x1c9)](_0x4963cf[_0x58f79d(0x1b3)]);for(const _0x24125c of _0x4963cf[_0x58f79d(0x1e3)]()){const {type:_0x5c34be,item:_0x3a2233,nextPosition:_0x3f07e4}=_0x24125c;if(_0x58f79d(0x1ed)===_0x5c34be||_0x4393e2[_0x58f79d(0x1f5)](_0x3a2233)){const _0x34505b=_0x59823f[_0x58f79d(0x1f1)](_0x3a2233);_0x4c4faa[_0x58f79d(0x1db)]&&(_0x4c4faa[_0x58f79d(0x1b3)]=_0x34505b),_0x4c4faa[_0x58f79d(0x206)]=_0x3f07e4;}}return _0x4c4faa;}function at(_0x1131b0){const _0x70691a=_0x272c25;return _0x70691a(0x22c)===it(_0x1131b0[_0x70691a(0x1fb)])[_0x70691a(0x20a)];}
|
|
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)];}
|