@ckeditor/ckeditor5-comments 46.1.1-alpha.3 → 46.1.1
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 +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- 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 +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- 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/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2efc34=_0x2342;function _0x2342(_0x26dec8,_0x28bc24){const _0xc5cbf4=_0xc5cb();return _0x2342=function(_0x23428b,_0x5b5330){_0x23428b=_0x23428b-0x19d;let _0x5be410=_0xc5cbf4[_0x23428b];return _0x5be410;},_0x2342(_0x26dec8,_0x28bc24);}(function(_0x328450,_0x1795bc){const _0x1d5350=_0x2342,_0x5622f6=_0x328450();while(!![]){try{const _0x41a08f=-parseInt(_0x1d5350(0x1f1))/0x1+-parseInt(_0x1d5350(0x1a7))/0x2*(-parseInt(_0x1d5350(0x1ef))/0x3)+-parseInt(_0x1d5350(0x1ad))/0x4*(parseInt(_0x1d5350(0x232))/0x5)+parseInt(_0x1d5350(0x1fd))/0x6*(-parseInt(_0x1d5350(0x1fc))/0x7)+-parseInt(_0x1d5350(0x23d))/0x8*(parseInt(_0x1d5350(0x19f))/0x9)+parseInt(_0x1d5350(0x1b4))/0xa+-parseInt(_0x1d5350(0x1ca))/0xb*(-parseInt(_0x1d5350(0x1a9))/0xc);if(_0x41a08f===_0x1795bc)break;else _0x5622f6['push'](_0x5622f6['shift']());}catch(_0x1c8025){_0x5622f6['push'](_0x5622f6['shift']());}}}(_0xc5cb,0x7fe7a));import{Plugin as _0xa12963}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x3dbcb1,scrollViewportToShowTarget as _0x43fe45,uid as _0x5d74a3}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x2ea321}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x55163e}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x22f6b6,getAllMarkersDomElementsSorted as _0x8c2f3b,FOCUS_ANNOTATION_KEYSTROKE as _0x2dd555,Users as _0x37ee18}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x2d34ca}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0xfbb323}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x22b1b9}from'./integrations/importword.js';import{CommentsClipboard as _0x5ef19f}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x5c786b}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x124b8}from'../annotations/annotations.js';function _0xc5cb(){const _0x1e0c27=['init','markerToData','_attachArchivedThread','_attachMarkerToThread','isAttached','consume','author','_getTargetForId','markers','affectsData','getRange','plugins','first','change:activeMarker','name','removeCommentThread','commands','consumable','document','change:isThreadsLoadingPaused','editingDowncast','once','isSubmitted','add','schema','ready','hasCommentThread','hasDomSelection','2085441klCxQl','removeMarker','375106IxzYPp','_hasTargetInContent','getCommentThread','isObject','_handleMarkerAddAndRemove','map','addCommentThread','newRange','isThreadsLoadingPaused','pluginName','refreshVisibility','2344671hLWgtK','12YoHlNY','markerName','state','requires','_threadToController','locale','hasContent','registerPostFixer','remove','addMarker:','dataToMarker','comments','enqueueChange','start','getAttribute','comment:','data','filter','reopenCommentThread','_reconvertMarkers','change:isReadOnly','rootName','fetchCommentThread','isEqual','getWalker','ariaLiveAnnouncer','item','for','attachTo','_initAriaMarkerChangeAnnouncements','ignoreResolvedComments','markerToHighlight','end','CommentsEditing','getChangedMarkers','_detachCommentThread','getItems','text','$marker','size','getByInnerView','destroy','view','_handleThreadMarker','isCollapsed','setContext','isResolved','hasMarkerForId','destroyed','render','context','showCommentHighlights','comment','190ZnWSnh','reconvertMarker','isPremiumPlugin','activeMarker','announce','setUnlinkedAt','_initializeMarkerConverters','registerAnnotation','collaboration.channelId','_handleInitialThreads','editing','3824712seEBAH','resolveCommentThread','getCommentThreads','get','ck-comment-marker--active','elementToElement','createPositionBefore','managedUsingOperations','9BqWMlN','_threads','channelId','updateMarker','set','clear','_getTextContext','LEAVE_COMMENT_ANNOUNCEMENT','2eijgnc','root','12OhEMee','push','editor','length','3652VTQGkA','openNewCommentThread','model','ck-comment-marker','isOfficialPlugin','switchReadOnly','createElement','1789120YHPkrg','unlinkedAt','$graveyard','conversion','substring','upcast','forEach','href','ENTER_COMMENT_ANNOUNCEMENT','$textProxy','change','afterInit','delete','from','then','removeMarker:','group','fromCharCode','low','startsWith','addComment','getAllMarkersForId','13283974UQnCBH','createRange','join','listenTo','config','focus','differ','scrollToThreadMarker','dataDowncast'];_0xc5cb=function(){return _0x1e0c27;};return _0xc5cb();}import{getTranslation as _0x148243}from'../utils/common-translations.js';import{splitMarkerName as _0x256167}from'../utils/splitmarkername.js';export class CommentsEditing extends _0xa12963{static get[_0x2efc34(0x200)](){return[_0x2ea321,_0x2d34ca,_0x37ee18,_0xfbb323,_0x22b1b9,_0x5ef19f,_0x5c786b];}static get[_0x2efc34(0x1fa)](){const _0x45fa4b=_0x2efc34;return _0x45fa4b(0x21e);}static get[_0x2efc34(0x1b1)](){return!0x0;}static get[_0x2efc34(0x234)](){return!0x0;}constructor(_0x3c288a){const _0x48f81e=_0x2efc34;super(_0x3c288a),this[_0x48f81e(0x1a3)](_0x48f81e(0x1f9),!0x0),_0x3c288a[_0x48f81e(0x20d)][_0x48f81e(0x1e8)](_0x48f81e(0x1ec),()=>this[_0x48f81e(0x1f9)]=!0x1),this[_0x48f81e(0x1a3)](_0x48f81e(0x235),null),this['on'](_0x48f81e(0x1e0),(_0x370346,_0x4fd049,_0x21269d,_0x9ed430)=>{const _0x47efee=_0x48f81e,_0x3c14a2=_0x3c288a[_0x47efee(0x1de)][_0x47efee(0x240)](_0x2ea321),_0x212a0d=_0x21269d?_0x256167(_0x21269d)['id']:null;_0x3c288a[_0x47efee(0x1af)][_0x47efee(0x1be)](()=>{const _0x485fe1=_0x47efee;if(_0x212a0d){const _0x5788bc=this[_0x485fe1(0x1c9)](_0x212a0d);for(const _0x3468db of _0x5788bc)_0x3c288a[_0x485fe1(0x23c)][_0x485fe1(0x233)](_0x3468db);}if(_0x9ed430){const {id:_0x5bbc78}=_0x256167(_0x9ed430),_0x24a9e0=_0x3c14a2[_0x485fe1(0x1f3)](_0x5bbc78);if(_0x24a9e0&&_0x24a9e0[_0x485fe1(0x1b5)])return;if(_0x24a9e0&&!_0x24a9e0[_0x485fe1(0x1d7)])return;const _0x42411f=this[_0x485fe1(0x1c9)](_0x5bbc78);for(const _0x543f00 of _0x42411f)_0x3c288a[_0x485fe1(0x23c)][_0x485fe1(0x233)](_0x543f00);}}),_0x212a0d&&this[_0x47efee(0x1d1)](_0x212a0d);}),this[_0x48f81e(0x21a)]();}[_0x2efc34(0x1d3)](){const _0x30aaba=_0x2efc34,_0x226b68=this[_0x30aaba(0x1ab)],_0x3bbb76=_0x226b68[_0x30aaba(0x1de)][_0x30aaba(0x240)](_0x2ea321),_0x35aea6=_0x226b68[_0x30aaba(0x1ce)][_0x30aaba(0x240)](_0x30aaba(0x23a)),_0x3ad024=_0x3bbb76[_0x30aaba(0x23f)]()[_0x30aaba(0x20e)](_0x5f3332=>_0x5f3332[_0x30aaba(0x1a1)]!==_0x35aea6);_0x226b68[_0x30aaba(0x1e3)][_0x30aaba(0x1ea)](_0x30aaba(0x1f7),new _0x55163e(_0x226b68)),this[_0x30aaba(0x1cd)](_0x226b68,_0x30aaba(0x211),(_0x78c2c1,_0x3f6fa8,_0x1df1c7)=>{const _0x134b73=_0x30aaba;_0x3bbb76[_0x134b73(0x1b2)](_0x1df1c7,_0x226b68[_0x134b73(0x1ce)][_0x134b73(0x240)](_0x134b73(0x23a)));}),this[_0x30aaba(0x1cd)](_0x3bbb76,dt(_0x30aaba(0x1f7),_0x35aea6),(_0x471d4b,{threadId:_0x534d72})=>{const _0x47cb48=_0x30aaba,_0x375e9f=this[_0x47cb48(0x1ab)][_0x47cb48(0x1de)][_0x47cb48(0x240)](_0x2ea321)[_0x47cb48(0x1f3)](_0x534d72);_0x375e9f?.[_0x47cb48(0x1b5)]&&this[_0x47cb48(0x1d5)](_0x534d72);}),this[_0x30aaba(0x1cd)](_0x3bbb76,dt(_0x30aaba(0x1e2),_0x35aea6),(_0x118ad0,{threadId:_0x4551c7})=>{const _0x4e24ae=_0x30aaba;_0x226b68[_0x4e24ae(0x1af)][_0x4e24ae(0x209)]({'isUndoable':!0x1},_0x1f3ca0=>{const _0x2bac94=_0x4e24ae,_0x39e5db=this[_0x2bac94(0x1c9)](_0x4551c7);for(const _0xfe6cfd of _0x39e5db)_0x1f3ca0[_0x2bac94(0x1f0)](_0xfe6cfd);});}),this[_0x30aaba(0x1cd)](_0x3bbb76,dt(_0x30aaba(0x23e),_0x35aea6),(_0x39e828,{threadId:_0x25e6c9})=>{const _0x2f8e7d=_0x30aaba;(this[_0x2f8e7d(0x210)](_0x25e6c9),this[_0x2f8e7d(0x1ab)][_0x2f8e7d(0x23c)][_0x2f8e7d(0x227)][_0x2f8e7d(0x1ee)])&&(this[_0x2f8e7d(0x1ab)][_0x2f8e7d(0x1de)][_0x2f8e7d(0x240)](_0x2ea321)[_0x2f8e7d(0x1f3)](_0x25e6c9)[_0x2f8e7d(0x1b5)]||this[_0x2f8e7d(0x1ab)][_0x2f8e7d(0x23c)][_0x2f8e7d(0x227)][_0x2f8e7d(0x1cf)]());},{'priority':_0x30aaba(0x1c6)}),this[_0x30aaba(0x1cd)](_0x3bbb76,dt(_0x30aaba(0x20f),_0x35aea6),(_0x100bb8,{threadId:_0x26ca21})=>{const _0x442fff=_0x30aaba;this[_0x442fff(0x210)](_0x26ca21);},{'priority':_0x30aaba(0x1c6)}),this[_0x30aaba(0x1cd)](_0x3bbb76,dt(_0x30aaba(0x1c8),_0x35aea6),(_0x1b98ee,{threadId:_0x499cac,isFromAdapter:_0x19e3d2})=>{const _0x23d18f=_0x30aaba,_0x25a491=this[_0x23d18f(0x1c9)](_0x499cac);if(_0x19e3d2||0x0==_0x25a491[_0x23d18f(0x1ac)]||!_0x3bbb76[_0x23d18f(0x1ed)](_0x499cac))return;0x1===_0x3bbb76[_0x23d18f(0x1f3)](_0x499cac)[_0x23d18f(0x1ac)]&&_0x226b68[_0x23d18f(0x1af)][_0x23d18f(0x209)]({'isUndoable':!0x1},_0x4cdc1f=>{const _0x541c6b=_0x23d18f;for(const _0x4fe583 of _0x25a491)_0x4cdc1f[_0x541c6b(0x1a2)](_0x4fe583,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x30aaba(0x1c6)}),this[_0x30aaba(0x238)](),this[_0x30aaba(0x1f5)](),this[_0x30aaba(0x23b)](_0x3ad024);}[_0x2efc34(0x1bf)](){!async function(_0x4907e0){const _0x82f889=_0x1dd4ed([0x4b,0x70,0x4f,0x42,0x4a,0x47,0x4e,0x53,0x45,0x67,0x71,0x43,0x79,0x66,0x56,0x46,0x31,0x6b,0x5a,0x38,0x6c,0x62,0x6e,0x52,0x6a,0x4d,0x37,0x65,0x49,0x7a,0x41,0x73,0x44,0x51,0x48,0x77,0x39,0x61,0x54,0x68,0x75,0x36,0x72,0x63,0x59,0x69,0x30,0x35,0x55,0x6d,0x50,0x4c,0x34,0x64,0x33,0x58,0x32,0x57,0x6f,0x74,0x76,0x78]),_0x59d516=0x73460ab3,_0x313f50=0x734179c3^_0x59d516,_0x2a9960=window[_0x1dd4ed([0x44,0x61,0x74,0x65])][_0x1dd4ed([0x6e,0x6f,0x77])](),_0x2797f5=_0x4907e0[_0x1dd4ed([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x36b06c=new window[(_0x1dd4ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x107011=>{_0x2797f5[_0x1dd4ed([0x6f,0x6e,0x63,0x65])](_0x1dd4ed([0x72,0x65,0x61,0x64,0x79]),_0x107011);}),_0x306853={[_0x1dd4ed([0x6b,0x74,0x79])]:_0x1dd4ed([0x45,0x43]),[_0x1dd4ed([0x75,0x73,0x65])]:_0x1dd4ed([0x73,0x69,0x67]),[_0x1dd4ed([0x63,0x72,0x76])]:_0x1dd4ed([0x50,0x2d,0x32,0x35,0x36]),[_0x1dd4ed([0x78])]:_0x1dd4ed([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1dd4ed([0x79])]:_0x1dd4ed([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1dd4ed([0x61,0x6c,0x67])]:_0x1dd4ed([0x45,0x53,0x32,0x35,0x36])},_0x47461e=_0x2797f5[_0x1dd4ed([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1dd4ed([0x67,0x65,0x74])](_0x1dd4ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e5d06(){let _0x5e0ce9,_0x3517f2=null,_0x1bfe14=null;try{if(_0x47461e==_0x1dd4ed([0x47,0x50,0x4c]))return _0x1dd4ed([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e0ce9=_0x2daf7f(),!_0x5e0ce9)return _0x1dd4ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5e0ce9[_0x1dd4ed([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1bfe14=_0x1a494e(_0x5e0ce9[_0x1dd4ed([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e0ce9[_0x1dd4ed([0x6a,0x74,0x69])])),await _0x5ea96c()?_0x26d903()?_0x574e72()?_0x1dd4ed([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x392ae5()?(_0x5e0ce9[_0x1dd4ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1dd4ed([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3517f2=_0xf8b86b(_0x1dd4ed([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5e0ce9[_0x1dd4ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1dd4ed([0x74,0x72,0x69,0x61,0x6c])&&(_0x3517f2=_0xf8b86b(_0x1dd4ed([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x245b7b()):_0x1dd4ed([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1dd4ed([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1dd4ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1dd4ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x574e72(){const _0x3b66f5=[_0x1dd4ed([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1dd4ed([0x74,0x72,0x69,0x61,0x6c])][_0x1dd4ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e0ce9[_0x1dd4ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a9960/0x3e8:0xe10*_0x313f50;return _0x5e0ce9[_0x1dd4ed([0x65,0x78,0x70])]<_0x3b66f5;}function _0x26d903(){const _0x56221f=_0x5e0ce9[_0x1dd4ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x56221f)return!0x1;if(_0x56221f[_0x1dd4ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dd4ed([0x2a])))return!0x0;if(_0x56221f[_0x1dd4ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dd4ed([0x43,0x4d,0x54])))return!0x0;if(_0x56221f[_0x1dd4ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dd4ed([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x3e75af())return!0x0;if(_0x56221f[_0x1dd4ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dd4ed([0x52,0x43,0x4d,0x54]))){if(_0x3beb12())return!0x0;if(_0xc73825()||_0x550faf())return!0x0;}return!0x1;}function _0x392ae5(){const _0x470b2c=_0x2342,_0x32ac7b=_0x5e0ce9[_0x1dd4ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32ac7b||0x0==_0x32ac7b[_0x1dd4ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1237bf}=new URL(window[_0x1dd4ed([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x470b2c(0x1bb)]);if(_0x32ac7b[_0x1dd4ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1237bf))return!0x0;const _0x383d6a=_0x1237bf[_0x1dd4ed([0x73,0x70,0x6c,0x69,0x74])](_0x1dd4ed([0x2e]));return _0x32ac7b[_0x1dd4ed([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44a181=>_0x44a181[_0x1dd4ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dd4ed([0x2a])))[_0x1dd4ed([0x6d,0x61,0x70])](_0x25d8d2=>_0x25d8d2[_0x1dd4ed([0x73,0x70,0x6c,0x69,0x74])](_0x1dd4ed([0x2e])))[_0x1dd4ed([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3afa4b=>_0x3afa4b[_0x1dd4ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x383d6a[_0x1dd4ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1dd4ed([0x6d,0x61,0x70])](_0x46922a=>Array(_0x383d6a[_0x1dd4ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x46922a[_0x1dd4ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1dd4ed([0x66,0x69,0x6c,0x6c])](_0x46922a[0x0]===_0x1dd4ed([0x2a])?_0x1dd4ed([0x2a]):'')[_0x1dd4ed([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x46922a))[_0x1dd4ed([0x73,0x6f,0x6d,0x65])](_0x5aa57a=>_0x383d6a[_0x1dd4ed([0x65,0x76,0x65,0x72,0x79])]((_0x497d85,_0x8a454f)=>_0x5aa57a[_0x8a454f]===_0x497d85||_0x5aa57a[_0x8a454f]===_0x1dd4ed([0x2a])));}function _0x245b7b(){return _0x3517f2&&_0x1bfe14?new window[(_0x1dd4ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa6a579,_0x4a9222)=>{_0x3517f2[_0x1dd4ed([0x74,0x68,0x65,0x6e])](_0xa6a579,_0x4a9222),_0x1bfe14[_0x1dd4ed([0x74,0x68,0x65,0x6e])](_0x1519e5=>{_0x1519e5!=_0x1dd4ed([0x56,0x61,0x6c,0x69,0x64])&&_0xa6a579(_0x1519e5);},_0x4a9222);}):_0x3517f2||_0x1bfe14||_0x1dd4ed([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a494e(_0x4b3d7c,_0x1a27ad){return new window[(_0x1dd4ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d0802=>{if(_0x175e14())return _0x1d0802(_0x1dd4ed([0x56,0x61,0x6c,0x69,0x64]));_0x5847eb(),_0x2797f5[_0x1dd4ed([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1dd4ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x21779d=!0x1;const _0x4b9034=_0x5d74a3();function _0x2d598c(_0x5b2ec7){return!!_0x5b2ec7&&(typeof _0x5b2ec7===_0x1dd4ed([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b2ec7===_0x1dd4ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b2ec7[_0x1dd4ed([0x74,0x68,0x65,0x6e])]===_0x1dd4ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b2ec7[_0x1dd4ed([0x63,0x61,0x74,0x63,0x68])]===_0x1dd4ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x366424(_0x1387e2){_0x2a75e9(_0x1387e2)[_0x1dd4ed([0x74,0x68,0x65,0x6e])](_0x28e05b=>{if(!_0x28e05b||_0x28e05b[_0x1dd4ed([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1dd4ed([0x6f,0x6b]))return _0x1dd4ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3f15a4(_0x2f5f1d(_0x4b9034+_0x1a27ad))!=_0x28e05b[_0x1dd4ed([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1dd4ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1dd4ed([0x56,0x61,0x6c,0x69,0x64]);})[_0x1dd4ed([0x74,0x68,0x65,0x6e])](_0x4f315b=>(_0x57af94(),_0x4f315b),()=>{const _0x3a8cfa=_0x4b6308();return null==_0x3a8cfa?(_0x57af94(),_0x1dd4ed([0x56,0x61,0x6c,0x69,0x64])):_0x1dd4ed(_0x2a9960-_0x3a8cfa>(0x574a8eb3^_0x59d516)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1dd4ed([0x74,0x68,0x65,0x6e])](_0x1d0802)[_0x1dd4ed([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d0802(_0x1dd4ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x43df93=0x7370e433^_0x59d516;function _0x57af94(){const _0x80c573=_0x1dd4ed([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f15a4(_0x2f5f1d(_0x4b3d7c)),_0x2522be=_0x4eebea(_0x3f15a4(window[_0x1dd4ed([0x4d,0x61,0x74,0x68])][_0x1dd4ed([0x63,0x65,0x69,0x6c])](_0x2a9960/_0x43df93)));window[_0x1dd4ed([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1dd4ed([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x80c573,_0x2522be);}function _0x4b6308(){const _0x5c3cd2=_0x1dd4ed([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f15a4(_0x2f5f1d(_0x4b3d7c)),_0x5533fe=window[_0x1dd4ed([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1dd4ed([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c3cd2);return _0x5533fe?window[_0x1dd4ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4eebea(_0x5533fe),0x10)*_0x43df93:null;}function _0x2a75e9(_0xdd232){return new window[(_0x1dd4ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x310570,_0x48f910)=>{_0xdd232[_0x1dd4ed([0x74,0x68,0x65,0x6e])](_0x310570,_0x48f910),window[_0x1dd4ed([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48f910,0x7347de73^_0x59d516);});}}_0x2797f5[_0x1dd4ed([0x6f,0x6e])](_0x1dd4ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x106a2d,_0x858280)=>{if(_0x858280[0x0]!=_0x4b3d7c)return _0x1d0802(_0x1dd4ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x858280[0x1]={..._0x858280[0x1],[_0x1dd4ed([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4b9034};},{[_0x1dd4ed([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1dd4ed([0x68,0x69,0x67,0x68])}),_0x2797f5[_0x1dd4ed([0x6f,0x6e])](_0x1dd4ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x335f87=>{_0x2d598c(_0x335f87[_0x1dd4ed([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x21779d=!0x0,_0x366424(_0x335f87[_0x1dd4ed([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1dd4ed([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1dd4ed([0x6c,0x6f,0x77])}),_0x36b06c[_0x1dd4ed([0x74,0x68,0x65,0x6e])](()=>{_0x21779d||_0x1d0802(_0x1dd4ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x175e14(){return _0x2797f5[_0x1dd4ed([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1dd4ed([0x76,0x69,0x65,0x77])][_0x1dd4ed([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1dd4ed([0x61,0x75,0x74,0x6f]);}function _0x5847eb(){_0x2797f5[_0x1dd4ed([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1dd4ed([0x76,0x69,0x65,0x77])][_0x1dd4ed([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1dd4ed([0x61,0x75,0x74,0x6f]);}}function _0xf8b86b(_0x4f9a17){const _0x438cab=[new window[(_0x1dd4ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdbb76b=>setTimeout(_0xdbb76b,0x734f347f^_0x59d516)),_0x36b06c[_0x1dd4ed([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1dd4ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d8cc0=>{let _0x231a22=0x0;_0x2797f5[_0x1dd4ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x1dd4ed([0x6f,0x6e])](_0x1dd4ed([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x474b14,_0x5e9948)=>{_0x5e9948[0x0][_0x1dd4ed([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x231a22++,_0x231a22==(0x73460b4b^_0x59d516)&&(_0x5d8cc0(),_0x474b14[_0x1dd4ed([0x6f,0x66,0x66])]());});}))];return window[_0x1dd4ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1dd4ed([0x72,0x61,0x63,0x65])](_0x438cab)[_0x1dd4ed([0x74,0x68,0x65,0x6e])](()=>_0x4f9a17);}async function _0x1cd818(){await _0x36b06c,_0x2797f5[_0x1dd4ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x1dd4ed([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x91ae3a,_0x2797f5[_0x1dd4ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x1dd4ed([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x91ae3a,_0x2797f5[_0x1dd4ed([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1dd4ed([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3e75af(){return window[_0x1dd4ed([0x67,0x6c,0x6f,0x62])]&&window[_0x1dd4ed([0x67,0x6c,0x6f,0x62])][_0x1dd4ed([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x3beb12(){return _0x49d4c8(_0x1dd4ed([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x58cee8(_0x1dd4ed([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1dd4ed([0x73,0x74,0x61,0x74,0x65])]==_0x1dd4ed([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0xc73825(){return _0x49d4c8(_0x1dd4ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x550faf(){return _0x49d4c8(_0x1dd4ed([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x46108a(_0xfcd617){const _0x3a67dd=_0x213627();_0x2797f5[_0x3a67dd]=_0x1dd4ed([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xfcd617,_0xfcd617!=_0x1dd4ed([0x56,0x61,0x6c,0x69,0x64])&&_0x1cd818();}function _0x213627(){const _0x24e696=window[_0x1dd4ed([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1dd4ed([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1dd4ed([0x6e,0x6f,0x77])]())[_0x1dd4ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1dd4ed([0x2e]),'');let _0x1e4e61=_0x1dd4ed([0x4b]);for(let _0x11371c=0x0;_0x11371c<_0x24e696[_0x1dd4ed([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11371c+=0x2){let _0xd0f91f=window[_0x1dd4ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24e696[_0x1dd4ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x11371c,_0x11371c+0x2));_0xd0f91f>=_0x82f889[_0x1dd4ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xd0f91f-=_0x82f889[_0x1dd4ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1e4e61+=_0x82f889[_0xd0f91f];}return _0x1e4e61;}function _0x2daf7f(){const _0x303246=_0x47461e[_0x1dd4ed([0x73,0x70,0x6c,0x69,0x74])](_0x1dd4ed([0x2e]));if(0x3!=_0x303246[_0x1dd4ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b36ff(_0x303246[0x1]);function _0x1b36ff(_0x4f3b61){const _0x59c09d=_0x17a9b7(_0x4f3b61);return _0x59c09d&&_0x4e27a6()?_0x59c09d:null;function _0x4e27a6(){const _0x33d30c=_0x59c09d[_0x1dd4ed([0x6a,0x74,0x69])],_0x28a5cd=window[_0x1dd4ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33d30c[_0x1dd4ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33d30c[_0x1dd4ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x27ff4e={..._0x59c09d,[_0x1dd4ed([0x6a,0x74,0x69])]:_0x33d30c[_0x1dd4ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33d30c[_0x1dd4ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x27ff4e[_0x1dd4ed([0x76,0x63])],_0x2f5f1d(_0x27ff4e)==_0x28a5cd;}}}async function _0x5ea96c(){let _0x7ff49d=!0x0;try{const _0x32d1d9=_0x47461e[_0x1dd4ed([0x73,0x70,0x6c,0x69,0x74])](_0x1dd4ed([0x2e])),[_0x4b2f5d,_0x162057,_0x47f7dd]=_0x32d1d9;return _0x4e22e2(_0x4b2f5d),await _0x5bfc9b(_0x4b2f5d,_0x162057,_0x47f7dd),_0x7ff49d;}catch{return!0x1;}function _0x4e22e2(_0x48bd8d){const _0x2ee9a6=_0x17a9b7(_0x48bd8d);_0x2ee9a6&&_0x2ee9a6[_0x1dd4ed([0x61,0x6c,0x67])]==_0x1dd4ed([0x45,0x53,0x32,0x35,0x36])||(_0x7ff49d=!0x1);}async function _0x5bfc9b(_0x22ee03,_0x59dea0,_0x35ebd0){const _0x3e568c=window[_0x1dd4ed([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1dd4ed([0x66,0x72,0x6f,0x6d])](_0x411d54(_0x35ebd0),_0x36ddaf=>_0x36ddaf[_0x1dd4ed([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c3107=new window[(_0x1dd4ed([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1dd4ed([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x22ee03+_0x1dd4ed([0x2e])+_0x59dea0),_0x2862bf=window[_0x1dd4ed([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1dd4ed([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2862bf)return;const _0x126a80=await _0x2862bf[_0x1dd4ed([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1dd4ed([0x6a,0x77,0x6b]),_0x306853,{[_0x1dd4ed([0x6e,0x61,0x6d,0x65])]:_0x1dd4ed([0x45,0x43,0x44,0x53,0x41]),[_0x1dd4ed([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1dd4ed([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1dd4ed([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2862bf[_0x1dd4ed([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1dd4ed([0x6e,0x61,0x6d,0x65])]:_0x1dd4ed([0x45,0x43,0x44,0x53,0x41]),[_0x1dd4ed([0x68,0x61,0x73,0x68])]:{[_0x1dd4ed([0x6e,0x61,0x6d,0x65])]:_0x1dd4ed([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x126a80,_0x3e568c,_0x5c3107)||(_0x7ff49d=!0x1);}}function _0x17a9b7(_0x17b316){return _0x17b316[_0x1dd4ed([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1dd4ed([0x65,0x79]))?JSON[_0x1dd4ed([0x70,0x61,0x72,0x73,0x65])](_0x411d54(_0x17b316)):null;}function _0x411d54(_0x2ef488){return window[_0x1dd4ed([0x61,0x74,0x6f,0x62])](_0x2ef488[_0x1dd4ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1dd4ed([0x2b]))[_0x1dd4ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1dd4ed([0x2f])));}function _0x2f5f1d(_0x30e054){let _0x3f752a=0x1505;function _0x1e0c89(_0x3934fe){for(let _0x54265b=0x0;_0x54265b<_0x3934fe[_0x1dd4ed([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54265b++){const _0x18339e=_0x3934fe[_0x1dd4ed([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x54265b);_0x3f752a=(_0x3f752a<<0x5)+_0x3f752a+_0x18339e,_0x3f752a&=_0x3f752a;}}function _0x2f8d62(_0x4b5895){Array[_0x1dd4ed([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4b5895)?_0x4b5895[_0x1dd4ed([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2f8d62):_0x4b5895&&typeof _0x4b5895==_0x1dd4ed([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1dd4ed([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4b5895)[_0x1dd4ed([0x73,0x6f,0x72,0x74])]()[_0x1dd4ed([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x51bb5f,_0xe37909])=>{_0x1e0c89(_0x51bb5f),_0x2f8d62(_0xe37909);}):_0x1e0c89(window[_0x1dd4ed([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4b5895));}return _0x2f8d62(_0x30e054),_0x3f752a>>>0x0;}function _0x3f15a4(_0x3680c6){return _0x3680c6[_0x1dd4ed([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1dd4ed([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1dd4ed([0x30]));}function _0x4eebea(_0x3aa31e){return _0x3aa31e[_0x1dd4ed([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1dd4ed([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1dd4ed([0x6a,0x6f,0x69,0x6e])]('');}function _0x49d4c8(_0x4febc4){return _0x2797f5[_0x1dd4ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1dd4ed([0x68,0x61,0x73])](_0x4febc4);}function _0x58cee8(_0x554202){return _0x2797f5[_0x1dd4ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1dd4ed([0x67,0x65,0x74])](_0x554202);}function _0x91ae3a(){}function _0x1dd4ed(_0x343bde){const _0x378901=_0x2342;return _0x343bde[_0x378901(0x1f6)](_0x53c570=>String[_0x378901(0x1c5)](_0x53c570))[_0x378901(0x1cc)]('');}_0x46108a(await _0x2e5d06());}(this);}[_0x2efc34(0x226)](){const _0x1c3e2b=_0x2efc34,_0x3fd971=this[_0x1c3e2b(0x1ab)][_0x1c3e2b(0x1de)][_0x1c3e2b(0x240)](_0x2ea321),_0x5d0643=this[_0x1c3e2b(0x1ab)][_0x1c3e2b(0x1ce)][_0x1c3e2b(0x240)](_0x1c3e2b(0x23a));for(const _0x2df420 of _0x3fd971[_0x1c3e2b(0x23f)]({'channelId':_0x5d0643}))_0x3fd971[_0x1c3e2b(0x220)](_0x2df420['id']),_0x3fd971[_0x1c3e2b(0x1a0)][_0x1c3e2b(0x1c0)](_0x2df420['id']);super[_0x1c3e2b(0x226)]();}[_0x2efc34(0x22c)](_0x4a6ec8){const _0x38b3b6=_0x2efc34;return this[_0x38b3b6(0x1c9)](_0x4a6ec8)[_0x38b3b6(0x1ac)]>0x0;}[_0x2efc34(0x1c9)](_0x48cf03){const _0x270dd3=_0x2efc34,_0x179854=[];for(const _0xceb131 of this[_0x270dd3(0x1ab)][_0x270dd3(0x1af)][_0x270dd3(0x1db)])_0xceb131[_0x270dd3(0x1e1)][_0x270dd3(0x1c7)](_0x270dd3(0x20c)+_0x48cf03)&&_0x179854[_0x270dd3(0x1aa)](_0xceb131);return _0x179854;}[_0x2efc34(0x1d1)](_0x19c510){setTimeout(()=>{const _0x5258a7=_0x2342,_0x16254e=this[_0x5258a7(0x1da)](_0x19c510);if(!_0x16254e)return;this[_0x5258a7(0x235)]&&_0x256167(this[_0x5258a7(0x235)])['id']===_0x19c510&&_0x43fe45({'target':_0x16254e[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x2efc34(0x210)](_0x17c662){const _0x414268=_0x2efc34;this[_0x414268(0x1ab)][_0x414268(0x1af)][_0x414268(0x1be)](()=>{const _0x17ee01=_0x414268;for(const _0xa98082 of this[_0x17ee01(0x1c9)](_0x17c662))this[_0x17ee01(0x1ab)][_0x17ee01(0x23c)][_0x17ee01(0x233)](_0xa98082);});}[_0x2efc34(0x1d5)](_0x26e710){const _0x107fd8=_0x2efc34,_0x2ab46e=this[_0x107fd8(0x1ab)][_0x107fd8(0x1de)][_0x107fd8(0x240)](_0x2ea321),_0x4005ed=this[_0x107fd8(0x1ab)][_0x107fd8(0x1de)][_0x107fd8(0x240)](_0x2d34ca),_0x1cbb22=_0x2ab46e[_0x107fd8(0x1f3)](_0x26e710);if(!_0x1cbb22[_0x107fd8(0x1d7)]){const _0x5f26e0=_0x1cbb22[_0x107fd8(0x219)](()=>this[_0x107fd8(0x1da)](_0x1cbb22['id']));_0x4005ed[_0x107fd8(0x239)](_0x5f26e0),_0x1cbb22[_0x107fd8(0x1f2)]=!0x1;}}[_0x2efc34(0x238)](){const _0x185181=_0x2efc34,_0x578db8=this[_0x185181(0x1ab)],_0x57df2d=_0x578db8[_0x185181(0x1de)][_0x185181(0x240)](_0x37ee18);_0x578db8[_0x185181(0x1b7)][_0x185181(0x218)](_0x185181(0x1e7))[_0x185181(0x21c)]({'model':_0x185181(0x231),'view':(_0x550b5a,_0x1dc95e)=>{const _0x339097=_0x185181,{id:_0x380d01}=_0x256167(_0x550b5a[_0x339097(0x1fe)]),_0x37a988=_0x578db8[_0x339097(0x1de)][_0x339097(0x240)](_0x2ea321)[_0x339097(0x1f3)](_0x380d01),_0x53a1bc=this[_0x339097(0x235)]&&_0x256167(this[_0x339097(0x235)])['id']===_0x380d01;let _0x30a723;if(_0x37a988&&_0x37a988[_0x339097(0x22b)]&&!_0x53a1bc&&_0x550b5a[_0x339097(0x217)])return _0x1dc95e[_0x339097(0x1e4)][_0x339097(0x1d8)](_0x550b5a[_0x339097(0x217)],_0x339097(0x206)+_0x550b5a[_0x339097(0x1fe)]),_0x1dc95e[_0x339097(0x1e4)][_0x339097(0x1d8)](_0x550b5a[_0x339097(0x217)],_0x339097(0x1c3)+_0x550b5a[_0x339097(0x1fe)]),null;const _0x1c0964=[_0x339097(0x1b0)];return _0x53a1bc&&_0x1c0964[_0x339097(0x1aa)](_0x339097(0x241)),_0x30a723=_0x37a988?.[_0x339097(0x1ac)]?_0x37a988[_0x339097(0x208)][_0x339097(0x1df)][_0x339097(0x1d9)]['id']:_0x57df2d['me']['id'],{'classes':_0x1c0964,'attributes':{'data-comment':_0x380d01,'data-author-id':_0x30a723}};}}),_0x578db8[_0x185181(0x1b7)][_0x185181(0x218)](_0x185181(0x1d2))[_0x185181(0x1d4)]({'model':_0x185181(0x231),'view':(_0x53becc,{options:_0x1932fb})=>{const _0x3e83c9=_0x185181;if(_0x1932fb[_0x3e83c9(0x230)])return null;const _0x54ae13=_0x578db8[_0x3e83c9(0x1de)][_0x3e83c9(0x240)](_0x2ea321),_0x2da173=_0x578db8[_0x3e83c9(0x1af)][_0x3e83c9(0x1db)][_0x3e83c9(0x240)](_0x53becc),{id:_0x520b91,part:_0x2dc893}=_0x256167(_0x53becc);return _0x2da173&&!_0x2da173[_0x3e83c9(0x1dc)]||_0x1932fb[_0x3e83c9(0x21b)]&&_0x54ae13[_0x3e83c9(0x1f3)](_0x520b91)?.[_0x3e83c9(0x22b)]?null:{'group':_0x3e83c9(0x231),'name':_0x2dc893?_0x520b91+':'+_0x2dc893:_0x520b91};}}),_0x578db8[_0x185181(0x1b7)][_0x185181(0x218)](_0x185181(0x1b9))[_0x185181(0x242)]({'view':{'name':_0x185181(0x231),'attributes':{'id':/^\w/}},'model':(_0x3c734f,{writer:_0x9043e2})=>_0x9043e2[_0x185181(0x1b3)](_0x185181(0x223),{'data-name':_0x185181(0x20c)+_0x3c734f[_0x185181(0x20b)]('id')})}),_0x578db8[_0x185181(0x1b7)][_0x185181(0x218)](_0x185181(0x1b9))[_0x185181(0x207)]({'view':_0x185181(0x231)});}[_0x2efc34(0x1f5)](){const _0x43ff5d=_0x2efc34,_0x3fc884=this[_0x43ff5d(0x1ab)],_0x465106=_0x3fc884[_0x43ff5d(0x1de)][_0x43ff5d(0x240)](_0x2ea321),_0x446f34=new Set(),_0x3c9c96=new Set();_0x3fc884[_0x43ff5d(0x1af)][_0x43ff5d(0x1e5)][_0x43ff5d(0x204)](_0x5bfc7f=>{const _0x4ccaae=_0x43ff5d;let _0x5c87b0=!0x1;for(const {name:_0x1adda3,data:_0x5d4609}of _0x3fc884[_0x4ccaae(0x1af)][_0x4ccaae(0x1e5)][_0x4ccaae(0x1d0)][_0x4ccaae(0x21f)]()){const {group:_0x57e56f,id:_0x372e31}=_0x256167(_0x1adda3);let _0x166dab=_0x5d4609[_0x4ccaae(0x1f8)];if(_0x4ccaae(0x231)!==_0x57e56f||!_0x166dab)continue;const _0x5e062b=_0x4ccaae(0x1b6)===_0x166dab[_0x4ccaae(0x1a8)][_0x4ccaae(0x212)];_0x5e062b||(_0x166dab=ht(_0x166dab,_0x3fc884[_0x4ccaae(0x1af)]),!_0x166dab||_0x166dab[_0x4ccaae(0x229)]||!_0x5d4609[_0x4ccaae(0x1f8)]||_0x166dab[_0x4ccaae(0x214)](_0x5d4609[_0x4ccaae(0x1f8)]))?_0x3fc884[_0x4ccaae(0x1af)][_0x4ccaae(0x203)](_0x166dab)&&!_0x5e062b?this[_0x4ccaae(0x1f9)]?_0x446f34[_0x4ccaae(0x1ea)](_0x1adda3):this[_0x4ccaae(0x228)](_0x1adda3,_0x372e31):(_0x3c9c96[_0x4ccaae(0x1ea)](_0x1adda3),_0x446f34[_0x4ccaae(0x1c0)](_0x1adda3),_0x5bfc7f[_0x4ccaae(0x1f0)](_0x1adda3),_0x5c87b0=!0x0):(_0x5bfc7f[_0x4ccaae(0x1a2)](_0x1adda3,{'range':_0x166dab}),_0x5c87b0=!0x0);}return _0x5c87b0;}),this['on'](_0x43ff5d(0x1e6),(_0x3a8a07,_0x57a547,_0x512067)=>{const _0x2b54b3=_0x43ff5d;if(!_0x512067&&_0x446f34[_0x2b54b3(0x224)])for(const _0x564e39 of _0x446f34){const {id:_0x4e9923}=_0x256167(_0x564e39);_0x446f34[_0x2b54b3(0x1c0)](_0x564e39),_0x3fc884[_0x2b54b3(0x1af)][_0x2b54b3(0x1db)][_0x2b54b3(0x240)](_0x564e39)&&this[_0x2b54b3(0x228)](_0x564e39,_0x4e9923);}}),this[_0x43ff5d(0x1cd)](_0x3fc884[_0x43ff5d(0x1af)][_0x43ff5d(0x1e5)],_0x43ff5d(0x1be),()=>{const _0x44692f=_0x43ff5d;for(const {name:_0x14ca94,data:{newRange:_0x452057}}of _0x3fc884[_0x44692f(0x1af)][_0x44692f(0x1e5)][_0x44692f(0x1d0)][_0x44692f(0x21f)]()){const {group:_0x461a30,id:_0x412a1d}=_0x256167(_0x14ca94);if(_0x44692f(0x231)!==_0x461a30)continue;const _0x151786=_0x465106[_0x44692f(0x1f3)](_0x412a1d),_0x1f2e9e=this[_0x44692f(0x22c)](_0x412a1d);_0x151786&&(!_0x151786[_0x44692f(0x1f2)]&&_0x452057&&_0x3fc884[_0x44692f(0x23c)][_0x44692f(0x227)][_0x44692f(0x1e8)](_0x44692f(0x22e),()=>{const _0x360f89=_0x44692f,_0x395cce=_0x3fc884[_0x360f89(0x1de)][_0x360f89(0x240)](_0x124b8),_0x342aa4=_0x465106[_0x360f89(0x201)][_0x360f89(0x240)](_0x151786)[_0x360f89(0x227)];_0x395cce[_0x360f89(0x225)](_0x342aa4)[_0x360f89(0x1fb)]();},{'priority':_0x44692f(0x1c6)}),_0x151786[_0x44692f(0x1f2)]=_0x1f2e9e||!!_0x452057),_0x452057||(_0x3c9c96[_0x44692f(0x1ea)](_0x14ca94),_0x446f34[_0x44692f(0x1c0)](_0x14ca94));}for(const _0x333248 of _0x3c9c96){const {id:_0x232410}=_0x256167(_0x333248),_0x47a76b=_0x465106[_0x44692f(0x1f3)](_0x232410);if(_0x446f34[_0x44692f(0x1c0)](_0x333248),!_0x47a76b)continue;const _0x5a600c=this[_0x44692f(0x22c)](_0x232410);_0x5a600c||_0x47a76b[_0x44692f(0x1e9)]?_0x5a600c||_0x47a76b[_0x44692f(0x1b5)]||_0x47a76b[_0x44692f(0x237)](new Date()):_0x47a76b[_0x44692f(0x205)]();}_0x3c9c96[_0x44692f(0x1a4)]();});}[_0x2efc34(0x23b)](_0x12f519){const _0x3c4cdb=_0x2efc34;_0x12f519[_0x3c4cdb(0x1ba)](_0x23e7c0=>{const _0x24e87a=_0x3c4cdb;_0x23e7c0[_0x24e87a(0x1b5)]&&this[_0x24e87a(0x1d5)](_0x23e7c0['id']);});}[_0x2efc34(0x1da)](_0x4529ed){const _0x217faf=_0x2efc34,_0x43d6cf=this[_0x217faf(0x1ab)],_0x3261af=this[_0x217faf(0x1c9)](_0x4529ed);return _0x8c2f3b(_0x43d6cf[_0x217faf(0x23c)],_0x3261af);}[_0x2efc34(0x1a5)](_0x5f0156){const _0x59151a=_0x2efc34,_0x15c3f3=this[_0x59151a(0x1c9)](_0x5f0156);let _0x44da76='',_0x293e5b=!0x1;for(const _0x4ade18 of _0x15c3f3){const _0x699a82=_0x4ade18[_0x59151a(0x1dd)]();for(const _0x40a5c3 of Array[_0x59151a(0x1c1)](_0x699a82[_0x59151a(0x221)]()))_0x40a5c3['is'](_0x59151a(0x1bd))?(_0x44da76&&_0x293e5b&&(_0x44da76+='\x20',_0x293e5b=!0x1),_0x44da76+=_0x40a5c3[_0x59151a(0x20d)]):_0x293e5b=!0x0;_0x293e5b=!0x0;}return _0x44da76[_0x59151a(0x1b8)](0x0,0x96);}[_0x2efc34(0x1d6)](_0xe7c7e8,_0x58bbb5){const _0x4b0fd4=_0x2efc34,_0x288fdb=this[_0x4b0fd4(0x1ab)],_0x4b9899=_0x288fdb[_0x4b0fd4(0x1de)][_0x4b0fd4(0x240)](_0x2ea321);let _0x5c6f95=_0x4b9899[_0x4b0fd4(0x1f3)](_0x58bbb5);const _0x3f0170=_0x288fdb[_0x4b0fd4(0x1ce)][_0x4b0fd4(0x240)](_0x4b0fd4(0x23a)),_0x501ee9=_0x288fdb[_0x4b0fd4(0x1de)][_0x4b0fd4(0x240)](_0x2d34ca);if(_0x5c6f95&&(_0x5c6f95[_0x4b0fd4(0x1b5)]&&_0x5c6f95[_0x4b0fd4(0x237)](null),_0x5c6f95[_0x4b0fd4(0x1d7)]))return _0x5c6f95;return!this[_0x4b0fd4(0x1c9)](_0x58bbb5)[0x0][_0x4b0fd4(0x19e)]?_0x288fdb[_0x4b0fd4(0x23c)][_0x4b0fd4(0x227)][_0x4b0fd4(0x1e8)](_0x4b0fd4(0x22e),()=>{const _0x59ca75=_0x4b0fd4;if(_0x4b9899[_0x59ca75(0x1f3)](_0x58bbb5))return;const _0x43fd6c=_0x288fdb[_0x59ca75(0x1de)][_0x59ca75(0x240)](_0x124b8);_0x5c6f95=_0x4b9899[_0x59ca75(0x1ae)]({'channelId':_0x3f0170,'threadId':_0x58bbb5,'target':()=>this[_0x59ca75(0x1da)](_0x58bbb5),'context':{'type':_0x59ca75(0x222),'value':this[_0x59ca75(0x1a5)](_0x58bbb5)}});const _0x15ac51=_0x4b9899[_0x59ca75(0x201)][_0x59ca75(0x240)](_0x5c6f95)[_0x59ca75(0x227)],_0x45b7ca=_0x43fd6c[_0x59ca75(0x225)](_0x15ac51);_0x45b7ca&&_0x501ee9[_0x59ca75(0x239)](_0x45b7ca);},{'priority':_0x4b0fd4(0x1c6)}):_0x4b9899[_0x4b0fd4(0x213)]({'channelId':_0x3f0170,'threadId':_0x58bbb5})[_0x4b0fd4(0x1c2)](_0xe55527=>{const _0x135668=_0x4b0fd4;if(_0x135668(0x22d)!==_0x288fdb[_0x135668(0x1ff)]){if(_0x5c6f95=_0xe55527,_0x5c6f95&&!_0x5c6f95[_0x135668(0x1d7)]){const _0xe72aa8=_0x5c6f95[_0x135668(0x219)](()=>this[_0x135668(0x1da)](_0x58bbb5));_0x501ee9[_0x135668(0x239)](_0xe72aa8),_0x5c6f95[_0x135668(0x22b)]&&this[_0x135668(0x210)](_0x58bbb5);}else{if(!_0x5c6f95){const _0x3040c8=this[_0x135668(0x1c9)](_0x58bbb5);_0x288fdb[_0x135668(0x1af)][_0x135668(0x1be)](_0x304138=>{const _0x49a4c2=_0x135668;for(const _0x31ea4d of _0x3040c8)_0x304138[_0x49a4c2(0x1f0)](_0x31ea4d);});}}}}),_0x5c6f95;}[_0x2efc34(0x228)](_0x38bc99,_0x47cbec){const _0x391dbb=_0x2efc34,_0x596ca1=this[_0x391dbb(0x1d6)](_0x38bc99,_0x47cbec);_0x596ca1&&!_0x596ca1[_0x391dbb(0x22f)]&&_0x596ca1[_0x391dbb(0x22a)]({'type':_0x391dbb(0x222),'value':this[_0x391dbb(0x1a5)](_0x47cbec)});}[_0x2efc34(0x21a)](){const _0x44fce1=_0x2efc34,_0x14fc54=this[_0x44fce1(0x1ab)];_0x22f6b6(_0x14fc54[_0x44fce1(0x1af)],({left:_0xe890c7,entered:_0x2b2031})=>{const _0x578a90=_0x44fce1;for(const _0x59be6f of _0xe890c7)if(mt(_0x59be6f)){_0x14fc54['ui'][_0x578a90(0x216)][_0x578a90(0x236)](_0x148243(_0x14fc54[_0x578a90(0x202)],_0x578a90(0x1a6)));break;}for(const _0x4e2688 of _0x2b2031)if(mt(_0x4e2688)){_0x14fc54['ui'][_0x578a90(0x216)][_0x578a90(0x236)](_0x148243(_0x14fc54[_0x578a90(0x202)],_0x578a90(0x1bc),_0x3dbcb1(_0x2dd555)));break;}});}}function dt(_0x442db3,_0x28d3e4){return _0x28d3e4?_0x442db3+':'+_0x28d3e4:_0x442db3;}function ht(_0x2f40b4,_0x2fa798){const _0x4bade2=_0x2efc34,_0x93a171=_0x2fa798[_0x4bade2(0x1eb)],_0x26b54e=_0x2fa798[_0x4bade2(0x1cb)](_0x2f40b4[_0x4bade2(0x20a)]);for(const _0x50c3f2 of _0x2f40b4[_0x4bade2(0x215)]()){const {type:_0x4f58b7,item:_0x3bbe27,nextPosition:_0x54647d}=_0x50c3f2;if(_0x4bade2(0x222)===_0x4f58b7||_0x93a171[_0x4bade2(0x1f4)](_0x3bbe27)){const _0x476176=_0x2fa798[_0x4bade2(0x19d)](_0x3bbe27);_0x26b54e[_0x4bade2(0x229)]&&(_0x26b54e[_0x4bade2(0x20a)]=_0x476176),_0x26b54e[_0x4bade2(0x21d)]=_0x54647d;}}return _0x26b54e;}function mt(_0x11d6bc){const _0x2d77da=_0x2efc34;return _0x2d77da(0x231)===_0x256167(_0x11d6bc[_0x2d77da(0x1e1)])[_0x2d77da(0x1c4)];}
|
|
23
|
+
const _0x1f9539=_0x3363;(function(_0x349377,_0x7fee52){const _0x47ae9d=_0x3363,_0x29520=_0x349377();while(!![]){try{const _0x223e0e=parseInt(_0x47ae9d(0x173))/0x1*(parseInt(_0x47ae9d(0x1aa))/0x2)+-parseInt(_0x47ae9d(0x1af))/0x3*(parseInt(_0x47ae9d(0x1b5))/0x4)+-parseInt(_0x47ae9d(0x1b4))/0x5*(-parseInt(_0x47ae9d(0x128))/0x6)+-parseInt(_0x47ae9d(0x160))/0x7*(-parseInt(_0x47ae9d(0x139))/0x8)+-parseInt(_0x47ae9d(0x1a6))/0x9+-parseInt(_0x47ae9d(0x198))/0xa+parseInt(_0x47ae9d(0x197))/0xb*(parseInt(_0x47ae9d(0x175))/0xc);if(_0x223e0e===_0x7fee52)break;else _0x29520['push'](_0x29520['shift']());}catch(_0x444cf4){_0x29520['push'](_0x29520['shift']());}}}(_0x2bc5,0x38fb3));import{Plugin as _0x21fd49}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x80420e,scrollViewportToShowTarget as _0x58dc5a,uid as _0x4a22a4}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x6e1382}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x1e4542}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x422795,getAllMarkersDomElementsSorted as _0x5ed235,FOCUS_ANNOTATION_KEYSTROKE as _0x3bd771,Users as _0x539abd}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x436b37}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x276112}from'./integrations/commentsrestrictededitingmode.js';function _0x3363(_0x2e3dd4,_0x580efd){const _0x2bc5cb=_0x2bc5();return _0x3363=function(_0x3363b8,_0x3a5bae){_0x3363b8=_0x3363b8-0x119;let _0x2f6b2e=_0x2bc5cb[_0x3363b8];return _0x2f6b2e;},_0x3363(_0x2e3dd4,_0x580efd);}import{CommentsImportWord as _0x28560e}from'./integrations/importword.js';import{CommentsClipboard as _0x348eac}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0xdb6d3d}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x5045ac}from'../annotations/annotations.js';import{getTranslation as _0x4d21e7}from'../utils/common-translations.js';import{splitMarkerName as _0x154933}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x21fd49{static get[_0x1f9539(0x17a)](){return[_0x6e1382,_0x436b37,_0x539abd,_0x276112,_0x28560e,_0x348eac,_0xdb6d3d];}static get[_0x1f9539(0x1a8)](){const _0x25c73a=_0x1f9539;return _0x25c73a(0x12a);}static get[_0x1f9539(0x155)](){return!0x0;}static get[_0x1f9539(0x13c)](){return!0x0;}constructor(_0x43ea8f){const _0x4e6008=_0x1f9539;super(_0x43ea8f),this[_0x4e6008(0x1b9)](_0x4e6008(0x174),!0x0),_0x43ea8f[_0x4e6008(0x1bd)][_0x4e6008(0x1a4)](_0x4e6008(0x12c),()=>this[_0x4e6008(0x174)]=!0x1),this[_0x4e6008(0x1b9)](_0x4e6008(0x152),null),this['on'](_0x4e6008(0x1a0),(_0x235caf,_0x30a882,_0x4e1aca,_0x2415a1)=>{const _0x23b125=_0x4e6008,_0x63e205=_0x43ea8f[_0x23b125(0x15d)][_0x23b125(0x14d)](_0x6e1382),_0x3f0406=_0x4e1aca?_0x154933(_0x4e1aca)['id']:null;_0x43ea8f[_0x23b125(0x143)][_0x23b125(0x14e)](()=>{const _0x1bd0a2=_0x23b125;if(_0x3f0406){const _0x347735=this[_0x1bd0a2(0x1a7)](_0x3f0406);for(const _0x40f166 of _0x347735)_0x43ea8f[_0x1bd0a2(0x18e)][_0x1bd0a2(0x182)](_0x40f166);}if(_0x2415a1){const {id:_0x37a4ee}=_0x154933(_0x2415a1),_0x368c77=_0x63e205[_0x1bd0a2(0x12b)](_0x37a4ee);if(_0x368c77&&_0x368c77[_0x1bd0a2(0x191)])return;if(_0x368c77&&!_0x368c77[_0x1bd0a2(0x124)])return;const _0x4ba275=this[_0x1bd0a2(0x1a7)](_0x37a4ee);for(const _0x213ab9 of _0x4ba275)_0x43ea8f[_0x1bd0a2(0x18e)][_0x1bd0a2(0x182)](_0x213ab9);}}),_0x3f0406&&this[_0x23b125(0x16b)](_0x3f0406);}),this[_0x4e6008(0x140)]();}[_0x1f9539(0x13a)](){const _0x17b571=_0x1f9539,_0x2ae7d2=this[_0x17b571(0x1ab)],_0x5d3232=_0x2ae7d2[_0x17b571(0x15d)][_0x17b571(0x14d)](_0x6e1382),_0x4edb71=_0x2ae7d2[_0x17b571(0x1b6)][_0x17b571(0x14d)](_0x17b571(0x12d)),_0x38cb12=_0x5d3232[_0x17b571(0x146)]()[_0x17b571(0x158)](_0x2ea4cb=>_0x2ea4cb[_0x17b571(0x19f)]!==_0x4edb71);_0x2ae7d2[_0x17b571(0x195)][_0x17b571(0x167)](_0x17b571(0x18a),new _0x1e4542(_0x2ae7d2)),this[_0x17b571(0x165)](_0x2ae7d2,_0x17b571(0x138),(_0x2e1dcb,_0x4fed71,_0x29c95b)=>{const _0x30247a=_0x17b571;_0x5d3232[_0x30247a(0x11a)](_0x29c95b,_0x2ae7d2[_0x30247a(0x1b6)][_0x30247a(0x14d)](_0x30247a(0x12d)));}),this[_0x17b571(0x165)](_0x5d3232,dt(_0x17b571(0x18a),_0x4edb71),(_0x166692,{threadId:_0x11948c})=>{const _0xb1166c=_0x17b571,_0x1f1a9e=this[_0xb1166c(0x1ab)][_0xb1166c(0x15d)][_0xb1166c(0x14d)](_0x6e1382)[_0xb1166c(0x12b)](_0x11948c);_0x1f1a9e?.[_0xb1166c(0x191)]&&this[_0xb1166c(0x15c)](_0x11948c);}),this[_0x17b571(0x165)](_0x5d3232,dt(_0x17b571(0x16a),_0x4edb71),(_0x586710,{threadId:_0x391e1b})=>{const _0x494ae4=_0x17b571;_0x2ae7d2[_0x494ae4(0x143)][_0x494ae4(0x157)]({'isUndoable':!0x1},_0x2078bd=>{const _0x32b5d8=_0x494ae4,_0x1e9b60=this[_0x32b5d8(0x1a7)](_0x391e1b);for(const _0x32b29a of _0x1e9b60)_0x2078bd[_0x32b5d8(0x196)](_0x32b29a);});}),this[_0x17b571(0x165)](_0x5d3232,dt(_0x17b571(0x16c),_0x4edb71),(_0x5e318c,{threadId:_0x52b648})=>{const _0x409a60=_0x17b571;(this[_0x409a60(0x1bc)](_0x52b648),this[_0x409a60(0x1ab)][_0x409a60(0x18e)][_0x409a60(0x18b)][_0x409a60(0x156)])&&(this[_0x409a60(0x1ab)][_0x409a60(0x15d)][_0x409a60(0x14d)](_0x6e1382)[_0x409a60(0x12b)](_0x52b648)[_0x409a60(0x191)]||this[_0x409a60(0x1ab)][_0x409a60(0x18e)][_0x409a60(0x18b)][_0x409a60(0x11f)]());},{'priority':_0x17b571(0x171)}),this[_0x17b571(0x165)](_0x5d3232,dt(_0x17b571(0x1ba),_0x4edb71),(_0x490032,{threadId:_0x5322b7})=>{const _0x516943=_0x17b571;this[_0x516943(0x1bc)](_0x5322b7);},{'priority':_0x17b571(0x171)}),this[_0x17b571(0x165)](_0x5d3232,dt(_0x17b571(0x18d),_0x4edb71),(_0x4993cd,{threadId:_0x27219c,isFromAdapter:_0x3692e1})=>{const _0x531840=_0x17b571,_0x1674e9=this[_0x531840(0x1a7)](_0x27219c);if(_0x3692e1||0x0==_0x1674e9[_0x531840(0x193)]||!_0x5d3232[_0x531840(0x11c)](_0x27219c))return;0x1===_0x5d3232[_0x531840(0x12b)](_0x27219c)[_0x531840(0x193)]&&_0x2ae7d2[_0x531840(0x143)][_0x531840(0x157)]({'isUndoable':!0x1},_0x32c8a7=>{const _0x5ba7f0=_0x531840;for(const _0x267d8a of _0x1674e9)_0x32c8a7[_0x5ba7f0(0x1a1)](_0x267d8a,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x17b571(0x171)}),this[_0x17b571(0x163)](),this[_0x17b571(0x19a)](),this[_0x17b571(0x17c)](_0x38cb12);}[_0x1f9539(0x169)](){!async function(_0x24bb51){const _0x4cf3d4=_0x234758([0x4b,0x70,0x4f,0x42,0x4a,0x47,0x4e,0x53,0x45,0x67,0x71,0x43,0x79,0x66,0x56,0x46,0x31,0x6b,0x5a,0x38,0x6c,0x62,0x6e,0x52,0x6a,0x4d,0x37,0x65,0x49,0x7a,0x41,0x73,0x44,0x51,0x48,0x77,0x39,0x61,0x54,0x68,0x75,0x36,0x72,0x63,0x59,0x69,0x30,0x35,0x55,0x6d,0x50,0x4c,0x34,0x64,0x33,0x58,0x32,0x57,0x6f,0x74,0x76,0x78]),_0x47e1d6=0x73460ab3,_0x460a77=0x734179c3^_0x47e1d6,_0x113d11=window[_0x234758([0x44,0x61,0x74,0x65])][_0x234758([0x6e,0x6f,0x77])](),_0xaaa413=_0x24bb51[_0x234758([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32841c=new window[(_0x234758([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f4c9f=>{_0xaaa413[_0x234758([0x6f,0x6e,0x63,0x65])](_0x234758([0x72,0x65,0x61,0x64,0x79]),_0x5f4c9f);}),_0x438f8f={[_0x234758([0x6b,0x74,0x79])]:_0x234758([0x45,0x43]),[_0x234758([0x75,0x73,0x65])]:_0x234758([0x73,0x69,0x67]),[_0x234758([0x63,0x72,0x76])]:_0x234758([0x50,0x2d,0x32,0x35,0x36]),[_0x234758([0x78])]:_0x234758([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x234758([0x79])]:_0x234758([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x234758([0x61,0x6c,0x67])]:_0x234758([0x45,0x53,0x32,0x35,0x36])},_0xcc8b1c=_0xaaa413[_0x234758([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x234758([0x67,0x65,0x74])](_0x234758([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e7fea(){let _0x51999f,_0x22efa2=null,_0x3e3479=null;try{if(_0xcc8b1c==_0x234758([0x47,0x50,0x4c]))return _0x234758([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51999f=_0x3d77d9(),!_0x51999f)return _0x234758([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x51999f[_0x234758([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e3479=_0x1ce28a(_0x51999f[_0x234758([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51999f[_0x234758([0x6a,0x74,0x69])])),await _0x7f3025()?_0x498e92()?_0x4a18f4()?_0x234758([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x443460()?(_0x51999f[_0x234758([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x234758([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x22efa2=_0x24649b(_0x234758([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x51999f[_0x234758([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x234758([0x74,0x72,0x69,0x61,0x6c])&&(_0x22efa2=_0x24649b(_0x234758([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xffe24d()):_0x234758([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x234758([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x234758([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x234758([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a18f4(){const _0x51c153=[_0x234758([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x234758([0x74,0x72,0x69,0x61,0x6c])][_0x234758([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51999f[_0x234758([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x113d11/0x3e8:0xe10*_0x460a77;return _0x51999f[_0x234758([0x65,0x78,0x70])]<_0x51c153;}function _0x498e92(){const _0x24a24c=_0x51999f[_0x234758([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x24a24c)return!0x1;if(_0x24a24c[_0x234758([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x234758([0x2a])))return!0x0;if(_0x24a24c[_0x234758([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x234758([0x43,0x4d,0x54])))return!0x0;if(_0x24a24c[_0x234758([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x234758([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x11570c())return!0x0;if(_0x24a24c[_0x234758([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x234758([0x52,0x43,0x4d,0x54]))){if(_0x3b61d0())return!0x0;if(_0x415b0d()||_0x4b3f80())return!0x0;}return!0x1;}function _0x443460(){const _0xa85817=_0x3363,_0x59bbbe=_0x51999f[_0x234758([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x59bbbe||0x0==_0x59bbbe[_0x234758([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x38cc45}=new URL(window[_0x234758([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xa85817(0x1bb)]);if(_0x59bbbe[_0x234758([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38cc45))return!0x0;const _0x2fe814=_0x38cc45[_0x234758([0x73,0x70,0x6c,0x69,0x74])](_0x234758([0x2e]));return _0x59bbbe[_0x234758([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29cab1=>_0x29cab1[_0x234758([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x234758([0x2a])))[_0x234758([0x6d,0x61,0x70])](_0x407aa4=>_0x407aa4[_0x234758([0x73,0x70,0x6c,0x69,0x74])](_0x234758([0x2e])))[_0x234758([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x446992=>_0x446992[_0x234758([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2fe814[_0x234758([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x234758([0x6d,0x61,0x70])](_0x444eb5=>Array(_0x2fe814[_0x234758([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x444eb5[_0x234758([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x234758([0x66,0x69,0x6c,0x6c])](_0x444eb5[0x0]===_0x234758([0x2a])?_0x234758([0x2a]):'')[_0x234758([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x444eb5))[_0x234758([0x73,0x6f,0x6d,0x65])](_0x53b8ee=>_0x2fe814[_0x234758([0x65,0x76,0x65,0x72,0x79])]((_0x503ed6,_0x10db10)=>_0x53b8ee[_0x10db10]===_0x503ed6||_0x53b8ee[_0x10db10]===_0x234758([0x2a])));}function _0xffe24d(){return _0x22efa2&&_0x3e3479?new window[(_0x234758([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7eee00,_0x246089)=>{_0x22efa2[_0x234758([0x74,0x68,0x65,0x6e])](_0x7eee00,_0x246089),_0x3e3479[_0x234758([0x74,0x68,0x65,0x6e])](_0x57faec=>{_0x57faec!=_0x234758([0x56,0x61,0x6c,0x69,0x64])&&_0x7eee00(_0x57faec);},_0x246089);}):_0x22efa2||_0x3e3479||_0x234758([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1ce28a(_0x2d1abf,_0x20caf6){return new window[(_0x234758([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe252ab=>{if(_0x3fbedc())return _0xe252ab(_0x234758([0x56,0x61,0x6c,0x69,0x64]));_0x27a7df(),_0xaaa413[_0x234758([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x234758([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x51b1f1=!0x1;const _0x385105=_0x4a22a4();function _0x4dc62b(_0x5a3a9d){return!!_0x5a3a9d&&(typeof _0x5a3a9d===_0x234758([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5a3a9d===_0x234758([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5a3a9d[_0x234758([0x74,0x68,0x65,0x6e])]===_0x234758([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5a3a9d[_0x234758([0x63,0x61,0x74,0x63,0x68])]===_0x234758([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x16c51f(_0xaf3c98){_0x3a1185(_0xaf3c98)[_0x234758([0x74,0x68,0x65,0x6e])](_0x5da376=>{if(!_0x5da376||_0x5da376[_0x234758([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x234758([0x6f,0x6b]))return _0x234758([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x568751(_0x3607c7(_0x385105+_0x20caf6))!=_0x5da376[_0x234758([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x234758([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x234758([0x56,0x61,0x6c,0x69,0x64]);})[_0x234758([0x74,0x68,0x65,0x6e])](_0x1031e7=>(_0x3316b1(),_0x1031e7),()=>{const _0x46d27f=_0x465d0a();return null==_0x46d27f?(_0x3316b1(),_0x234758([0x56,0x61,0x6c,0x69,0x64])):_0x234758(_0x113d11-_0x46d27f>(0x574a8eb3^_0x47e1d6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x234758([0x74,0x68,0x65,0x6e])](_0xe252ab)[_0x234758([0x63,0x61,0x74,0x63,0x68])](()=>{_0xe252ab(_0x234758([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x276a95=0x7370e433^_0x47e1d6;function _0x3316b1(){const _0xb181d2=_0x234758([0x6c,0x6c,0x63,0x74,0x2d])+_0x568751(_0x3607c7(_0x2d1abf)),_0x58218c=_0x12572e(_0x568751(window[_0x234758([0x4d,0x61,0x74,0x68])][_0x234758([0x63,0x65,0x69,0x6c])](_0x113d11/_0x276a95)));window[_0x234758([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x234758([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb181d2,_0x58218c);}function _0x465d0a(){const _0x18df73=_0x234758([0x6c,0x6c,0x63,0x74,0x2d])+_0x568751(_0x3607c7(_0x2d1abf)),_0x4dac3d=window[_0x234758([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x234758([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18df73);return _0x4dac3d?window[_0x234758([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12572e(_0x4dac3d),0x10)*_0x276a95:null;}function _0x3a1185(_0x2a644d){return new window[(_0x234758([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x103e8f,_0x284559)=>{_0x2a644d[_0x234758([0x74,0x68,0x65,0x6e])](_0x103e8f,_0x284559),window[_0x234758([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x284559,0x7347de73^_0x47e1d6);});}}_0xaaa413[_0x234758([0x6f,0x6e])](_0x234758([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x44e1df,_0x3567ab)=>{if(_0x3567ab[0x0]!=_0x2d1abf)return _0xe252ab(_0x234758([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3567ab[0x1]={..._0x3567ab[0x1],[_0x234758([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x385105};},{[_0x234758([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x234758([0x68,0x69,0x67,0x68])}),_0xaaa413[_0x234758([0x6f,0x6e])](_0x234758([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2fa1ad=>{_0x4dc62b(_0x2fa1ad[_0x234758([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x51b1f1=!0x0,_0x16c51f(_0x2fa1ad[_0x234758([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x234758([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x234758([0x6c,0x6f,0x77])}),_0x32841c[_0x234758([0x74,0x68,0x65,0x6e])](()=>{_0x51b1f1||_0xe252ab(_0x234758([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3fbedc(){return _0xaaa413[_0x234758([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x234758([0x76,0x69,0x65,0x77])][_0x234758([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x234758([0x61,0x75,0x74,0x6f]);}function _0x27a7df(){_0xaaa413[_0x234758([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x234758([0x76,0x69,0x65,0x77])][_0x234758([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x234758([0x61,0x75,0x74,0x6f]);}}function _0x24649b(_0x1eb8b3){const _0x5dcd45=[new window[(_0x234758([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d2670=>setTimeout(_0x5d2670,0x734f347f^_0x47e1d6)),_0x32841c[_0x234758([0x74,0x68,0x65,0x6e])](()=>new window[(_0x234758([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x351403=>{let _0x452e55=0x0;_0xaaa413[_0x234758([0x6d,0x6f,0x64,0x65,0x6c])][_0x234758([0x6f,0x6e])](_0x234758([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1871bb,_0xeb8388)=>{_0xeb8388[0x0][_0x234758([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x452e55++,_0x452e55==(0x73460b4b^_0x47e1d6)&&(_0x351403(),_0x1871bb[_0x234758([0x6f,0x66,0x66])]());});}))];return window[_0x234758([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x234758([0x72,0x61,0x63,0x65])](_0x5dcd45)[_0x234758([0x74,0x68,0x65,0x6e])](()=>_0x1eb8b3);}async function _0x26939b(){await _0x32841c,_0xaaa413[_0x234758([0x6d,0x6f,0x64,0x65,0x6c])][_0x234758([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x224837,_0xaaa413[_0x234758([0x6d,0x6f,0x64,0x65,0x6c])][_0x234758([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x224837,_0xaaa413[_0x234758([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x234758([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x11570c(){return window[_0x234758([0x67,0x6c,0x6f,0x62])]&&window[_0x234758([0x67,0x6c,0x6f,0x62])][_0x234758([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x3b61d0(){return _0x399c59(_0x234758([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x236966(_0x234758([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x234758([0x73,0x74,0x61,0x74,0x65])]==_0x234758([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x415b0d(){return _0x399c59(_0x234758([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x4b3f80(){return _0x399c59(_0x234758([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x48cebd(_0x191924){const _0x254371=_0x2d0f88();_0xaaa413[_0x254371]=_0x234758([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x191924,_0x191924!=_0x234758([0x56,0x61,0x6c,0x69,0x64])&&_0x26939b();}function _0x2d0f88(){const _0x2618c0=window[_0x234758([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x234758([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x234758([0x6e,0x6f,0x77])]())[_0x234758([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x234758([0x2e]),'');let _0x171d38=_0x234758([0x4b]);for(let _0x3d3aea=0x0;_0x3d3aea<_0x2618c0[_0x234758([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d3aea+=0x2){let _0x3f0ff8=window[_0x234758([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2618c0[_0x234758([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d3aea,_0x3d3aea+0x2));_0x3f0ff8>=_0x4cf3d4[_0x234758([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3f0ff8-=_0x4cf3d4[_0x234758([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x171d38+=_0x4cf3d4[_0x3f0ff8];}return _0x171d38;}function _0x3d77d9(){const _0x22ab17=_0xcc8b1c[_0x234758([0x73,0x70,0x6c,0x69,0x74])](_0x234758([0x2e]));if(0x3!=_0x22ab17[_0x234758([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x35fa04(_0x22ab17[0x1]);function _0x35fa04(_0x2e5469){const _0x555a73=_0x23233c(_0x2e5469);return _0x555a73&&_0x1f2aa2()?_0x555a73:null;function _0x1f2aa2(){const _0xdfc572=_0x555a73[_0x234758([0x6a,0x74,0x69])],_0x1efb66=window[_0x234758([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdfc572[_0x234758([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xdfc572[_0x234758([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2a8c9d={..._0x555a73,[_0x234758([0x6a,0x74,0x69])]:_0xdfc572[_0x234758([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xdfc572[_0x234758([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2a8c9d[_0x234758([0x76,0x63])],_0x3607c7(_0x2a8c9d)==_0x1efb66;}}}async function _0x7f3025(){let _0x3c7754=!0x0;try{const _0x544eaa=_0xcc8b1c[_0x234758([0x73,0x70,0x6c,0x69,0x74])](_0x234758([0x2e])),[_0x164d7a,_0x216c7d,_0x4ce691]=_0x544eaa;return _0x306d5b(_0x164d7a),await _0x4c26(_0x164d7a,_0x216c7d,_0x4ce691),_0x3c7754;}catch{return!0x1;}function _0x306d5b(_0xa55013){const _0x1ef986=_0x23233c(_0xa55013);_0x1ef986&&_0x1ef986[_0x234758([0x61,0x6c,0x67])]==_0x234758([0x45,0x53,0x32,0x35,0x36])||(_0x3c7754=!0x1);}async function _0x4c26(_0x37efbf,_0x252862,_0x491e8d){const _0x507b0f=window[_0x234758([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x234758([0x66,0x72,0x6f,0x6d])](_0x3ec7cc(_0x491e8d),_0x1160e3=>_0x1160e3[_0x234758([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x16c281=new window[(_0x234758([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x234758([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x37efbf+_0x234758([0x2e])+_0x252862),_0x445a80=window[_0x234758([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x234758([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x445a80)return;const _0x1b0ec5=await _0x445a80[_0x234758([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x234758([0x6a,0x77,0x6b]),_0x438f8f,{[_0x234758([0x6e,0x61,0x6d,0x65])]:_0x234758([0x45,0x43,0x44,0x53,0x41]),[_0x234758([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x234758([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x234758([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x445a80[_0x234758([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x234758([0x6e,0x61,0x6d,0x65])]:_0x234758([0x45,0x43,0x44,0x53,0x41]),[_0x234758([0x68,0x61,0x73,0x68])]:{[_0x234758([0x6e,0x61,0x6d,0x65])]:_0x234758([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b0ec5,_0x507b0f,_0x16c281)||(_0x3c7754=!0x1);}}function _0x23233c(_0x1320a1){return _0x1320a1[_0x234758([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x234758([0x65,0x79]))?JSON[_0x234758([0x70,0x61,0x72,0x73,0x65])](_0x3ec7cc(_0x1320a1)):null;}function _0x3ec7cc(_0x1715c0){return window[_0x234758([0x61,0x74,0x6f,0x62])](_0x1715c0[_0x234758([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x234758([0x2b]))[_0x234758([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x234758([0x2f])));}function _0x3607c7(_0xd1666a){let _0x97c955=0x1505;function _0x8eff60(_0x7a7e00){for(let _0x35a8e1=0x0;_0x35a8e1<_0x7a7e00[_0x234758([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35a8e1++){const _0x1a28ae=_0x7a7e00[_0x234758([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35a8e1);_0x97c955=(_0x97c955<<0x5)+_0x97c955+_0x1a28ae,_0x97c955&=_0x97c955;}}function _0x9f09dd(_0x4b5c67){Array[_0x234758([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4b5c67)?_0x4b5c67[_0x234758([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9f09dd):_0x4b5c67&&typeof _0x4b5c67==_0x234758([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x234758([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4b5c67)[_0x234758([0x73,0x6f,0x72,0x74])]()[_0x234758([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x338c16,_0x5f5055])=>{_0x8eff60(_0x338c16),_0x9f09dd(_0x5f5055);}):_0x8eff60(window[_0x234758([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4b5c67));}return _0x9f09dd(_0xd1666a),_0x97c955>>>0x0;}function _0x568751(_0x442c6a){return _0x442c6a[_0x234758([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x234758([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x234758([0x30]));}function _0x12572e(_0x4bd7f7){return _0x4bd7f7[_0x234758([0x73,0x70,0x6c,0x69,0x74])]('')[_0x234758([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x234758([0x6a,0x6f,0x69,0x6e])]('');}function _0x399c59(_0x42f3bc){return _0xaaa413[_0x234758([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x234758([0x68,0x61,0x73])](_0x42f3bc);}function _0x236966(_0xeff318){return _0xaaa413[_0x234758([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x234758([0x67,0x65,0x74])](_0xeff318);}function _0x224837(){}function _0x234758(_0x4d65f0){const _0x1b9501=_0x3363;return _0x4d65f0[_0x1b9501(0x121)](_0x1f1fa1=>String[_0x1b9501(0x18f)](_0x1f1fa1))[_0x1b9501(0x144)]('');}_0x48cebd(await _0x4e7fea());}(this);}[_0x1f9539(0x120)](){const _0x4f1512=_0x1f9539,_0x116027=this[_0x4f1512(0x1ab)][_0x4f1512(0x15d)][_0x4f1512(0x14d)](_0x6e1382),_0x18aa92=this[_0x4f1512(0x1ab)][_0x4f1512(0x1b6)][_0x4f1512(0x14d)](_0x4f1512(0x12d));for(const _0x9d6079 of _0x116027[_0x4f1512(0x146)]({'channelId':_0x18aa92}))_0x116027[_0x4f1512(0x154)](_0x9d6079['id']),_0x116027[_0x4f1512(0x132)][_0x4f1512(0x1b8)](_0x9d6079['id']);super[_0x4f1512(0x120)]();}[_0x1f9539(0x1b1)](_0x5b9150){const _0x1a2345=_0x1f9539;return this[_0x1a2345(0x1a7)](_0x5b9150)[_0x1a2345(0x193)]>0x0;}[_0x1f9539(0x1a7)](_0x447e2e){const _0x535749=_0x1f9539,_0x242c5b=[];for(const _0x397e45 of this[_0x535749(0x1ab)][_0x535749(0x143)][_0x535749(0x141)])_0x397e45[_0x535749(0x1a3)][_0x535749(0x19d)](_0x535749(0x14b)+_0x447e2e)&&_0x242c5b[_0x535749(0x17d)](_0x397e45);return _0x242c5b;}[_0x1f9539(0x16b)](_0x3ccba2){setTimeout(()=>{const _0x3d2970=_0x3363,_0x176124=this[_0x3d2970(0x127)](_0x3ccba2);if(!_0x176124)return;this[_0x3d2970(0x152)]&&_0x154933(this[_0x3d2970(0x152)])['id']===_0x3ccba2&&_0x58dc5a({'target':_0x176124[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x1f9539(0x1bc)](_0x5a4a37){const _0x2a7386=_0x1f9539;this[_0x2a7386(0x1ab)][_0x2a7386(0x143)][_0x2a7386(0x14e)](()=>{const _0x4f77d8=_0x2a7386;for(const _0x2f9829 of this[_0x4f77d8(0x1a7)](_0x5a4a37))this[_0x4f77d8(0x1ab)][_0x4f77d8(0x18e)][_0x4f77d8(0x182)](_0x2f9829);});}[_0x1f9539(0x15c)](_0x71f05c){const _0x503ccd=_0x1f9539,_0x537122=this[_0x503ccd(0x1ab)][_0x503ccd(0x15d)][_0x503ccd(0x14d)](_0x6e1382),_0x252700=this[_0x503ccd(0x1ab)][_0x503ccd(0x15d)][_0x503ccd(0x14d)](_0x436b37),_0x5c12a0=_0x537122[_0x503ccd(0x12b)](_0x71f05c);if(!_0x5c12a0[_0x503ccd(0x124)]){const _0x1fdca2=_0x5c12a0[_0x503ccd(0x15e)](()=>this[_0x503ccd(0x127)](_0x5c12a0['id']));_0x252700[_0x503ccd(0x11e)](_0x1fdca2),_0x5c12a0[_0x503ccd(0x17e)]=!0x1;}}[_0x1f9539(0x163)](){const _0x77d397=_0x1f9539,_0x29a423=this[_0x77d397(0x1ab)],_0x3967ea=_0x29a423[_0x77d397(0x15d)][_0x77d397(0x14d)](_0x539abd);_0x29a423[_0x77d397(0x126)][_0x77d397(0x1ac)](_0x77d397(0x137))[_0x77d397(0x11b)]({'model':_0x77d397(0x13b),'view':(_0x51a995,_0x274dcf)=>{const _0x5d1524=_0x77d397,{id:_0x2cd884}=_0x154933(_0x51a995[_0x5d1524(0x19e)]),_0x23f78b=_0x29a423[_0x5d1524(0x15d)][_0x5d1524(0x14d)](_0x6e1382)[_0x5d1524(0x12b)](_0x2cd884),_0x167a75=this[_0x5d1524(0x152)]&&_0x154933(this[_0x5d1524(0x152)])['id']===_0x2cd884;let _0x31e977;if(_0x23f78b&&_0x23f78b[_0x5d1524(0x122)]&&!_0x167a75&&_0x51a995[_0x5d1524(0x15b)])return _0x274dcf[_0x5d1524(0x177)][_0x5d1524(0x150)](_0x51a995[_0x5d1524(0x15b)],_0x5d1524(0x16f)+_0x51a995[_0x5d1524(0x19e)]),_0x274dcf[_0x5d1524(0x177)][_0x5d1524(0x150)](_0x51a995[_0x5d1524(0x15b)],_0x5d1524(0x170)+_0x51a995[_0x5d1524(0x19e)]),null;const _0x2ec322=[_0x5d1524(0x185)];return _0x167a75&&_0x2ec322[_0x5d1524(0x17d)](_0x5d1524(0x123)),_0x31e977=_0x23f78b?.[_0x5d1524(0x193)]?_0x23f78b[_0x5d1524(0x18c)][_0x5d1524(0x172)][_0x5d1524(0x16e)]['id']:_0x3967ea['me']['id'],{'classes':_0x2ec322,'attributes':{'data-comment':_0x2cd884,'data-author-id':_0x31e977}};}}),_0x29a423[_0x77d397(0x126)][_0x77d397(0x1ac)](_0x77d397(0x14c))[_0x77d397(0x149)]({'model':_0x77d397(0x13b),'view':(_0x1b3088,{options:_0x27a1af})=>{const _0x39caf3=_0x77d397;if(_0x27a1af[_0x39caf3(0x129)])return null;const _0x128240=_0x29a423[_0x39caf3(0x15d)][_0x39caf3(0x14d)](_0x6e1382),_0x1a1b1e=_0x29a423[_0x39caf3(0x143)][_0x39caf3(0x141)][_0x39caf3(0x14d)](_0x1b3088),{id:_0x407bfd,part:_0x6546fc}=_0x154933(_0x1b3088);return _0x1a1b1e&&!_0x1a1b1e[_0x39caf3(0x183)]||_0x27a1af[_0x39caf3(0x1b2)]&&_0x128240[_0x39caf3(0x12b)](_0x407bfd)?.[_0x39caf3(0x122)]?null:{'group':_0x39caf3(0x13b),'name':_0x6546fc?_0x407bfd+':'+_0x6546fc:_0x407bfd};}}),_0x29a423[_0x77d397(0x126)][_0x77d397(0x1ac)](_0x77d397(0x148))[_0x77d397(0x162)]({'view':{'name':_0x77d397(0x13b),'attributes':{'id':/^\w/}},'model':(_0x181fc0,{writer:_0x32c296})=>_0x32c296[_0x77d397(0x188)](_0x77d397(0x1b3),{'data-name':_0x77d397(0x14b)+_0x181fc0[_0x77d397(0x192)]('id')})}),_0x29a423[_0x77d397(0x126)][_0x77d397(0x1ac)](_0x77d397(0x148))[_0x77d397(0x1be)]({'view':_0x77d397(0x13b)});}[_0x1f9539(0x19a)](){const _0x470d3b=_0x1f9539,_0x77f40=this[_0x470d3b(0x1ab)],_0x3eaf60=_0x77f40[_0x470d3b(0x15d)][_0x470d3b(0x14d)](_0x6e1382),_0x290535=new Set(),_0x2ae809=new Set();_0x77f40[_0x470d3b(0x143)][_0x470d3b(0x184)][_0x470d3b(0x13d)](_0x3c4b92=>{const _0x363e57=_0x470d3b;let _0x4c57b7=!0x1;for(const {name:_0x4d9a70,data:_0xc15c70}of _0x77f40[_0x363e57(0x143)][_0x363e57(0x184)][_0x363e57(0x181)][_0x363e57(0x199)]()){const {group:_0x83ff2e,id:_0x3d5ea4}=_0x154933(_0x4d9a70);let _0x4ad795=_0xc15c70[_0x363e57(0x16d)];if(_0x363e57(0x13b)!==_0x83ff2e||!_0x4ad795)continue;const _0x315f2b=_0x363e57(0x15f)===_0x4ad795[_0x363e57(0x130)][_0x363e57(0x13e)];_0x315f2b||(_0x4ad795=ht(_0x4ad795,_0x77f40[_0x363e57(0x143)]),!_0x4ad795||_0x4ad795[_0x363e57(0x13f)]||!_0xc15c70[_0x363e57(0x16d)]||_0x4ad795[_0x363e57(0x168)](_0xc15c70[_0x363e57(0x16d)]))?_0x77f40[_0x363e57(0x143)][_0x363e57(0x19c)](_0x4ad795)&&!_0x315f2b?this[_0x363e57(0x174)]?_0x290535[_0x363e57(0x167)](_0x4d9a70):this[_0x363e57(0x1ad)](_0x4d9a70,_0x3d5ea4):(_0x2ae809[_0x363e57(0x167)](_0x4d9a70),_0x290535[_0x363e57(0x1b8)](_0x4d9a70),_0x3c4b92[_0x363e57(0x196)](_0x4d9a70),_0x4c57b7=!0x0):(_0x3c4b92[_0x363e57(0x1a1)](_0x4d9a70,{'range':_0x4ad795}),_0x4c57b7=!0x0);}return _0x4c57b7;}),this['on'](_0x470d3b(0x147),(_0x1b62f6,_0x3571c1,_0x11a0c0)=>{const _0x50b991=_0x470d3b;if(!_0x11a0c0&&_0x290535[_0x50b991(0x159)])for(const _0x19b513 of _0x290535){const {id:_0x5d1370}=_0x154933(_0x19b513);_0x290535[_0x50b991(0x1b8)](_0x19b513),_0x77f40[_0x50b991(0x143)][_0x50b991(0x141)][_0x50b991(0x14d)](_0x19b513)&&this[_0x50b991(0x1ad)](_0x19b513,_0x5d1370);}}),this[_0x470d3b(0x165)](_0x77f40[_0x470d3b(0x143)][_0x470d3b(0x184)],_0x470d3b(0x14e),()=>{const _0x25d9b4=_0x470d3b;for(const {name:_0x732972,data:{newRange:_0x4ed160}}of _0x77f40[_0x25d9b4(0x143)][_0x25d9b4(0x184)][_0x25d9b4(0x181)][_0x25d9b4(0x199)]()){const {group:_0x11e50d,id:_0x3c5079}=_0x154933(_0x732972);if(_0x25d9b4(0x13b)!==_0x11e50d)continue;const _0x1e0094=_0x3eaf60[_0x25d9b4(0x12b)](_0x3c5079),_0xc6f024=this[_0x25d9b4(0x1b1)](_0x3c5079);_0x1e0094&&(!_0x1e0094[_0x25d9b4(0x17e)]&&_0x4ed160&&_0x77f40[_0x25d9b4(0x18e)][_0x25d9b4(0x18b)][_0x25d9b4(0x1a4)](_0x25d9b4(0x119),()=>{const _0x1fada7=_0x25d9b4,_0x2d09f3=_0x77f40[_0x1fada7(0x15d)][_0x1fada7(0x14d)](_0x5045ac),_0xf2d5ef=_0x3eaf60[_0x1fada7(0x1a2)][_0x1fada7(0x14d)](_0x1e0094)[_0x1fada7(0x18b)];_0x2d09f3[_0x1fada7(0x15a)](_0xf2d5ef)[_0x1fada7(0x17f)]();},{'priority':_0x25d9b4(0x171)}),_0x1e0094[_0x25d9b4(0x17e)]=_0xc6f024||!!_0x4ed160),_0x4ed160||(_0x2ae809[_0x25d9b4(0x167)](_0x732972),_0x290535[_0x25d9b4(0x1b8)](_0x732972));}for(const _0x296144 of _0x2ae809){const {id:_0x1a6cb4}=_0x154933(_0x296144),_0x2e1707=_0x3eaf60[_0x25d9b4(0x12b)](_0x1a6cb4);if(_0x290535[_0x25d9b4(0x1b8)](_0x296144),!_0x2e1707)continue;const _0x46ab54=this[_0x25d9b4(0x1b1)](_0x1a6cb4);_0x46ab54||_0x2e1707[_0x25d9b4(0x142)]?_0x46ab54||_0x2e1707[_0x25d9b4(0x191)]||_0x2e1707[_0x25d9b4(0x12f)](new Date()):_0x2e1707[_0x25d9b4(0x1b7)]();}_0x2ae809[_0x25d9b4(0x164)]();});}[_0x1f9539(0x17c)](_0xa056f3){const _0x36785b=_0x1f9539;_0xa056f3[_0x36785b(0x145)](_0x2b86f0=>{const _0x5494aa=_0x36785b;_0x2b86f0[_0x5494aa(0x191)]&&this[_0x5494aa(0x15c)](_0x2b86f0['id']);});}[_0x1f9539(0x127)](_0x1eda63){const _0xecdf0f=_0x1f9539,_0x1470d5=this[_0xecdf0f(0x1ab)],_0x2014aa=this[_0xecdf0f(0x1a7)](_0x1eda63);return _0x5ed235(_0x1470d5[_0xecdf0f(0x18e)],_0x2014aa);}[_0x1f9539(0x135)](_0x2d0805){const _0x3c143e=_0x1f9539,_0x13b8c0=this[_0x3c143e(0x1a7)](_0x2d0805);let _0x118fbf='',_0x197560=!0x1;for(const _0x573c53 of _0x13b8c0){const _0x3f2de0=_0x573c53[_0x3c143e(0x1a5)]();for(const _0x478bc5 of Array[_0x3c143e(0x1a9)](_0x3f2de0[_0x3c143e(0x151)]()))_0x478bc5['is'](_0x3c143e(0x180))?(_0x118fbf&&_0x197560&&(_0x118fbf+='\x20',_0x197560=!0x1),_0x118fbf+=_0x478bc5[_0x3c143e(0x1bd)]):_0x197560=!0x0;_0x197560=!0x0;}return _0x118fbf[_0x3c143e(0x136)](0x0,0x96);}[_0x1f9539(0x19b)](_0x314f24,_0x32f953){const _0x47c29e=_0x1f9539,_0x5095eb=this[_0x47c29e(0x1ab)],_0xae9cfc=_0x5095eb[_0x47c29e(0x15d)][_0x47c29e(0x14d)](_0x6e1382);let _0x4d1574=_0xae9cfc[_0x47c29e(0x12b)](_0x32f953);const _0x41b0bc=_0x5095eb[_0x47c29e(0x1b6)][_0x47c29e(0x14d)](_0x47c29e(0x12d)),_0x2cd999=_0x5095eb[_0x47c29e(0x15d)][_0x47c29e(0x14d)](_0x436b37);if(_0x4d1574&&(_0x4d1574[_0x47c29e(0x191)]&&_0x4d1574[_0x47c29e(0x12f)](null),_0x4d1574[_0x47c29e(0x124)]))return _0x4d1574;return!this[_0x47c29e(0x1a7)](_0x32f953)[0x0][_0x47c29e(0x161)]?_0x5095eb[_0x47c29e(0x18e)][_0x47c29e(0x18b)][_0x47c29e(0x1a4)](_0x47c29e(0x119),()=>{const _0x5c811e=_0x47c29e;if(_0xae9cfc[_0x5c811e(0x12b)](_0x32f953))return;const _0x11d840=_0x5095eb[_0x5c811e(0x15d)][_0x5c811e(0x14d)](_0x5045ac);_0x4d1574=_0xae9cfc[_0x5c811e(0x178)]({'channelId':_0x41b0bc,'threadId':_0x32f953,'target':()=>this[_0x5c811e(0x127)](_0x32f953),'context':{'type':_0x5c811e(0x153),'value':this[_0x5c811e(0x135)](_0x32f953)}});const _0x2fe4f2=_0xae9cfc[_0x5c811e(0x1a2)][_0x5c811e(0x14d)](_0x4d1574)[_0x5c811e(0x18b)],_0x2d2c8c=_0x11d840[_0x5c811e(0x15a)](_0x2fe4f2);_0x2d2c8c&&_0x2cd999[_0x5c811e(0x11e)](_0x2d2c8c);},{'priority':_0x47c29e(0x171)}):_0xae9cfc[_0x47c29e(0x1b0)]({'channelId':_0x41b0bc,'threadId':_0x32f953})[_0x47c29e(0x131)](_0x4d23c3=>{const _0x13e3a6=_0x47c29e;if(_0x13e3a6(0x190)!==_0x5095eb[_0x13e3a6(0x133)]){if(_0x4d1574=_0x4d23c3,_0x4d1574&&!_0x4d1574[_0x13e3a6(0x124)]){const _0x545259=_0x4d1574[_0x13e3a6(0x15e)](()=>this[_0x13e3a6(0x127)](_0x32f953));_0x2cd999[_0x13e3a6(0x11e)](_0x545259),_0x4d1574[_0x13e3a6(0x122)]&&this[_0x13e3a6(0x1bc)](_0x32f953);}else{if(!_0x4d1574){const _0x1868b2=this[_0x13e3a6(0x1a7)](_0x32f953);_0x5095eb[_0x13e3a6(0x143)][_0x13e3a6(0x14e)](_0xf5efa8=>{const _0x93acea=_0x13e3a6;for(const _0x8156e5 of _0x1868b2)_0xf5efa8[_0x93acea(0x196)](_0x8156e5);});}}}}),_0x4d1574;}[_0x1f9539(0x1ad)](_0x1fc178,_0x5022d2){const _0x54b51e=_0x1f9539,_0x223dbb=this[_0x54b51e(0x19b)](_0x1fc178,_0x5022d2);_0x223dbb&&!_0x223dbb[_0x54b51e(0x189)]&&_0x223dbb[_0x54b51e(0x11d)]({'type':_0x54b51e(0x153),'value':this[_0x54b51e(0x135)](_0x5022d2)});}[_0x1f9539(0x140)](){const _0x5e480a=_0x1f9539,_0x275ee7=this[_0x5e480a(0x1ab)];_0x422795(_0x275ee7[_0x5e480a(0x143)],({left:_0x278508,entered:_0x386279})=>{const _0x3bb3bc=_0x5e480a;for(const _0x3e59f8 of _0x278508)if(mt(_0x3e59f8)){_0x275ee7['ui'][_0x3bb3bc(0x14a)][_0x3bb3bc(0x134)](_0x4d21e7(_0x275ee7[_0x3bb3bc(0x187)],_0x3bb3bc(0x125)));break;}for(const _0x360e61 of _0x386279)if(mt(_0x360e61)){_0x275ee7['ui'][_0x3bb3bc(0x14a)][_0x3bb3bc(0x134)](_0x4d21e7(_0x275ee7[_0x3bb3bc(0x187)],_0x3bb3bc(0x17b),_0x80420e(_0x3bd771)));break;}});}}function dt(_0x108530,_0x1b9818){return _0x1b9818?_0x108530+':'+_0x1b9818:_0x108530;}function ht(_0x1b2f46,_0x49cffd){const _0x37b794=_0x1f9539,_0xe2fe5a=_0x49cffd[_0x37b794(0x176)],_0x2b84b5=_0x49cffd[_0x37b794(0x186)](_0x1b2f46[_0x37b794(0x179)]);for(const _0x2853b5 of _0x1b2f46[_0x37b794(0x12e)]()){const {type:_0x5e5bf6,item:_0x1a5d4e,nextPosition:_0x43aa65}=_0x2853b5;if(_0x37b794(0x153)===_0x5e5bf6||_0xe2fe5a[_0x37b794(0x194)](_0x1a5d4e)){const _0x57d497=_0x49cffd[_0x37b794(0x166)](_0x1a5d4e);_0x2b84b5[_0x37b794(0x13f)]&&(_0x2b84b5[_0x37b794(0x179)]=_0x57d497),_0x2b84b5[_0x37b794(0x1ae)]=_0x43aa65;}}return _0x2b84b5;}function mt(_0x38a5ea){const _0x49db2e=_0x1f9539;return _0x49db2e(0x13b)===_0x154933(_0x38a5ea[_0x49db2e(0x1a3)])[_0x49db2e(0x14f)];}function _0x2bc5(){const _0x15cbdd=['registerPostFixer','rootName','isCollapsed','_initAriaMarkerChangeAnnouncements','markers','isSubmitted','model','join','forEach','getCommentThreads','change:isThreadsLoadingPaused','upcast','markerToData','ariaLiveAnnouncer','comment:','dataDowncast','get','change','group','consume','getItems','activeMarker','text','_detachCommentThread','isOfficialPlugin','hasDomSelection','enqueueChange','filter','size','getByInnerView','item','_attachArchivedThread','plugins','attachTo','$graveyard','21HwzLCf','managedUsingOperations','elementToElement','_initializeMarkerConverters','clear','listenTo','createPositionBefore','add','isEqual','afterInit','removeCommentThread','scrollToThreadMarker','resolveCommentThread','newRange','author','addMarker:','removeMarker:','low','first','52mhjLsx','isThreadsLoadingPaused','3011604GxKjzx','schema','consumable','openNewCommentThread','start','requires','ENTER_COMMENT_ANNOUNCEMENT','_handleInitialThreads','push','_hasTargetInContent','refreshVisibility','$textProxy','differ','reconvertMarker','affectsData','document','ck-comment-marker','createRange','locale','createElement','context','addCommentThread','view','comments','addComment','editing','fromCharCode','destroyed','unlinkedAt','getAttribute','length','isObject','commands','removeMarker','33DCCkTG','2909180UIYRrq','getChangedMarkers','_handleMarkerAddAndRemove','_attachMarkerToThread','hasContent','startsWith','markerName','channelId','change:activeMarker','updateMarker','_threadToController','name','once','getRange','2993175sgXRDb','getAllMarkersForId','pluginName','from','1522UUIzBx','editor','for','_handleThreadMarker','end','4509tpOWQC','fetchCommentThread','hasMarkerForId','ignoreResolvedComments','$marker','265JrLkLF','1204iXXpjQ','config','remove','delete','set','reopenCommentThread','href','_reconvertMarkers','data','dataToMarker','render','switchReadOnly','markerToHighlight','hasCommentThread','setContext','registerAnnotation','focus','destroy','map','isResolved','ck-comment-marker--active','isAttached','LEAVE_COMMENT_ANNOUNCEMENT','conversion','_getTargetForId','37554usxxru','showCommentHighlights','CommentsEditing','getCommentThread','ready','collaboration.channelId','getWalker','setUnlinkedAt','root','then','_threads','state','announce','_getTextContext','substring','editingDowncast','change:isReadOnly','493576zcZrcl','init','comment','isPremiumPlugin'];_0x2bc5=function(){return _0x15cbdd;};return _0x2bc5();}
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4f7f(){const _0x1eb0b7=['editorDestroyed','commentsrepository-invalid-commentid','requires','comments','243jNgnLP','isDirty','_readOnlyChannels','focus','comments.maxThreadTotalWeight','getByInnerView','commentsrepository-add-comment-internal-error','once','editorReady','commentsrepository-add-comment-user-not-exists','setAttribute','isOfficialPlugin','change:authoredAt','push','@external','removeAttribute','135730hpQyqz','commentsrepository-invalid-comment-thread-id','reopenCommentThread','type','_addCommentThread','commentsrepository-missing-comment-thread','comments.CommentThreadView','escape','PendingActions','4846864ruCkVg','set','30GbpcQV','comments.copyMarkers','_removeCommentThread','openNewCommentThread','view','comment','CommentView','createdAt','max','_threadToController','modifyAll','error','isEditable','commentId','weight','submit','_unbindEditors','stopListening','length','warn','reduce','activate','commentsrepository-remove-comment-internal-error','highest','getUser','_updateCommentThread','focusableElements','change:_permissions','_remove','getComment','commentsrepository-add-comment-thread-internal-error','createCommentThreadController','activeCommentThread','external:','setContext','channelId','creator','authoredAt','author','getCommentThread','getIndex','div','commentsrepository-update-comment-thread-internal-error','CommentThreadView','116410hhxpfv','resolveCommentThread','_addComment','plugins','attributes','_permissions','_removeComment','createElement','_isSubmitted','get','commentsrepository-update-comment-internal-error','_attachCommentThread','getCommentThreads','change:activeAnnotations','_updateActiveAnnotation','4204674mBfJBW','model','_hasTargetInContent','commentsrepository-update-missing-comment','commentsrepository-reopen-comment-thread-internal-error','commentsrepository-fetch-comment-thread','_findOptimalIndex','commentsrepository-resolved-comment-thread','commentsrepository-invalid-comment-authorid','listenTo','switchReadOnly','_reopenCommentThread','catch','PENDING_ACTION_COMMENT_THREAD','threadId','archivedAt','removeComment','reopen','setActiveCommentThread','has','bind','_viewToController','commentsrepository-active-not-attached','add','_createCommentThreadView','616RyjOIy','setPermissions','isRemovable','commentsrepository-resolve-comment-thread-internal-error','commentsrepository-active-missing-comment-thread','refreshVisibility','624318IbntVT','trim','isResolved','_threads','commentsrepository-remove-comment-thread-internal-error','_createNewComment','toJSON','noChannel','unlinkedAt','commentsrepository-attach-missing-comment-thread','isReadOnly','commentsrepository-update-comment-missing-comment-thread','string','_removeActiveAnnotation','filter','commentUpdated','body','resolvedAt','submitCommentThread','_bindAnnotationToEditors','_add','assign','resolve','focusTracker','textContent','remove','change:isDirty','licenseKey','isAttached','CommentsRepository','commentsrepository-invalid-comment-content','then','_adapter','change:_readOnlyChannels','authorName','commentsrepository-reopen-comment-thread','commentsrepository-update-comment-invalid-content','pluginName','getTime','_detachCommentThread','updateCommentThread','comments.maxCommentCharsWhenCollapsed','_updateComment','addComment','getPermissions','getCommentThreadForAnnotation','attachTo','innerHTML','commentsrepository-add-comment-to-missing-comment-thread','fire','commentsrepository-adapter-already-set','commentInputView','innerView','addUser','1ZrNTso','isVisible','update','commentsrepository-missing-thread-and-adapter-method','fetchCommentThread','_update','22756qLIIPW','canComment','commentThreadInputView','_resolveCommentThread','commentsListView','deactivateAll','getAnnotationForCommentThread','resolvedBy','content','comments.CommentView','commentsrepository-duplicated-comment-thread-id','82262CKiAXk','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','write','context','define','commentsrepository-missing-target','commentsrepository-get-comment-invalid-id','config','adapter','isExternal','isActive','_submitCommentThread','commentsrepository-remove-missing-comment','commentsrepository-remove-missing-comment-thread','destroy','comments.editorConfig','locale','comments.maxCommentsWhenCollapsed','_repository','from','commentsrepository-remove-comment-missing-comment-thread','hasCommentThread','delete','setUnlinkedAt','bodyCollectionContainer','isSubmitted','admin','_isAttached','init','lowest','find','addCommentThread','updateComment','isFromAdapter','map','function','isResolvable','values','_getExternalAuthor','isPremiumPlugin','removeCommentThread'];_0x4f7f=function(){return _0x1eb0b7;};return _0x4f7f();}const _0x2d0ebf=_0x1b0f;(function(_0x182998,_0x2e6c0d){const _0x131ede=_0x1b0f,_0x1cca6f=_0x182998();while(!![]){try{const _0x424f43=parseInt(_0x131ede(0x1c1))/0x1*(parseInt(_0x131ede(0x1d2))/0x2)+-parseInt(_0x131ede(0x1ff))/0x3*(-parseInt(_0x131ede(0x1c7))/0x4)+parseInt(_0x131ede(0x131))/0x5*(-parseInt(_0x131ede(0x18b))/0x6)+-parseInt(_0x131ede(0x126))/0x7+-parseInt(_0x131ede(0x12f))/0x8+parseInt(_0x131ede(0x16c))/0x9+-parseInt(_0x131ede(0x15d))/0xa*(-parseInt(_0x131ede(0x185))/0xb);if(_0x424f43===_0x2e6c0d)break;else _0x1cca6f['push'](_0x1cca6f['shift']());}catch(_0x4614f3){_0x1cca6f['push'](_0x1cca6f['shift']());}}}(_0x4f7f,0x5ab00));import{PendingActions as _0x379f35,ContextPlugin as _0x40536d,Editor as _0x43453c}from'ckeditor5/src/core.js';import{Collection as _0x4c9948,uid as _0xd0de3,CKEditorError as _0x38e7b9,ObservableMixin as _0x11534e}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x5d63eb,hashObject as _0x103a66,Users as _0xe6d91b}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x5d1671,isEqual as _0x4d429c,set as _0x2b04d7,unset as _0x1d8656}from'es-toolkit/compat';import{CommentThreadController as _0x3444c9}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x15bbb4}from'./ui/view/commentthreadview.js';import{CommentView as _0xf771d7}from'./ui/view/commentview.js';function _0x1b0f(_0x5c1f15,_0x3d9c63){const _0x4f7f2f=_0x4f7f();return _0x1b0f=function(_0x1b0f16,_0x4b3716){_0x1b0f16=_0x1b0f16-0x123;let _0x1c020f=_0x4f7f2f[_0x1b0f16];return _0x1c020f;},_0x1b0f(_0x5c1f15,_0x3d9c63);}import{getTranslation as _0x45ede6}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x9d971d}from'../annotations/view/annotationview.js';import{Annotation as _0x31668e}from'../annotations/annotation.js';import{Annotations as _0x4cf71d}from'../annotations/annotations.js';const _t=Symbol(_0x2d0ebf(0x192)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x40536d{[_0x2d0ebf(0x18e)];[_0x2d0ebf(0x13a)];[_0x2d0ebf(0x181)];static get[_0x2d0ebf(0x1fd)](){return[_0x4cf71d,_0x379f35,_0xe6d91b];}static get[_0x2d0ebf(0x1b0)](){const _0x3a0685=_0x2d0ebf;return _0x3a0685(0x1a8);}static get[_0x2d0ebf(0x20a)](){return!0x0;}static get[_0x2d0ebf(0x1f9)](){return!0x0;}constructor(_0xd79846){const _0xb4de14=_0x2d0ebf;super(_0xd79846),this[_0xb4de14(0x18e)]=new Map(),this[_0xb4de14(0x13a)]=new Map(),this[_0xb4de14(0x181)]=new Map(),this[_0xb4de14(0x130)](_0xb4de14(0x201),new Set()),this[_0xb4de14(0x130)](_0xb4de14(0x162),new Map());const _0x2e4722=this[_0xb4de14(0x1d5)][_0xb4de14(0x1d9)];_0x2e4722[_0xb4de14(0x1d6)](_0xb4de14(0x1e3),0x2),_0x2e4722[_0xb4de14(0x1d6)](_0xb4de14(0x203),0x1f4),_0x2e4722[_0xb4de14(0x1d6)](_0xb4de14(0x1b4),0x8c),_0x2e4722[_0xb4de14(0x1d6)](_0xb4de14(0x12c),_0x15bbb4),_0x2e4722[_0xb4de14(0x1d6)](_0xb4de14(0x1d0),_0xf771d7),_0x2e4722[_0xb4de14(0x166)](_0xb4de14(0x1e1))||console[_0xb4de14(0x144)](_0xb4de14(0x1d3));}[_0x2d0ebf(0x1ee)](){const _0x28c444=_0x2d0ebf,_0x258922=this[_0x28c444(0x1d5)][_0x28c444(0x160)][_0x28c444(0x166)](_0x4cf71d);this[_0x28c444(0x130)](_0x28c444(0x151),null),this['on'](_0x28c444(0x1f1),(_0x316d45,_0x449ffa)=>this[_0x28c444(0x12a)](_0x449ffa)),this['on'](_0x28c444(0x19d),(_0x47bfa4,_0x5de1eb)=>this[_0x28c444(0x1dd)](_0x5de1eb)),this['on'](_0x28c444(0x15e),(_0x42ff91,_0x490b1a)=>this[_0x28c444(0x1ca)](_0x490b1a)),this['on'](_0x28c444(0x15e),(_0x1b45bf,_0x5ad702)=>this[_0x28c444(0x16b)](_0x5ad702),{'priority':_0x28c444(0x1ef)}),this['on'](_0x28c444(0x128),(_0x4c1dc6,_0xbb8048)=>this[_0x28c444(0x177)](_0xbb8048)),this['on'](_0x28c444(0x128),(_0x946632,_0xd0285)=>this[_0x28c444(0x16b)](_0xd0285),{'priority':_0x28c444(0x1ef)}),this['on'](_0x28c444(0x1fa),(_0x1dae09,_0x2b0703)=>this[_0x28c444(0x133)](_0x2b0703)),this['on'](_0x28c444(0x1b3),(_0x13c9e9,_0x199d70)=>this[_0x28c444(0x14a)](_0x199d70)),this['on'](_0x28c444(0x1b3),(_0x9d5487,_0xd1ba34)=>this[_0x28c444(0x16b)](_0xd1ba34),{'priority':_0x28c444(0x1ef)}),this['on'](_0x28c444(0x1b6),(_0xc48b14,_0x1fee1f)=>this[_0x28c444(0x15f)](_0x1fee1f)),this['on'](_0x28c444(0x1f2),(_0x2bb8c1,_0x3c0a79)=>this[_0x28c444(0x1b5)](_0x3c0a79)),this['on'](_0x28c444(0x17c),(_0x51aee4,_0x53468f)=>this[_0x28c444(0x163)](_0x53468f)),this['on'](_0x28c444(0x1b6),(_0x1c2722,{threadId:_0xd3c5fa,isFromAdapter:_0x11438f})=>{const _0x19c4e0=_0x28c444;if(_0x11438f)return;const _0x44c91c=this[_0x19c4e0(0x158)](_0xd3c5fa),_0x158c0c=_0x44c91c&&this[_0x19c4e0(0x13a)][_0x19c4e0(0x166)](_0x44c91c);_0x158c0c&&_0x158c0c[_0x19c4e0(0x135)][_0x19c4e0(0x1cb)][_0x19c4e0(0x202)](-0x1);},{'priority':_0x28c444(0x1ef)}),this[_0x28c444(0x175)](_0x258922,_0x28c444(0x16a),(_0x554cfa,_0x2a0aca,_0x105ba6)=>{const _0x40f28f=_0x28c444,_0x3e8c3f=Array[_0x40f28f(0x1e5)](_0x105ba6)[_0x40f28f(0x1f4)](_0x5a2c72=>this[_0x40f28f(0x181)][_0x40f28f(0x166)](_0x5a2c72[_0x40f28f(0x1bf)]))[_0x40f28f(0x199)](Boolean)[0x0];this[_0x40f28f(0x151)]=_0x3e8c3f?_0x3e8c3f[_0x40f28f(0x16d)]:null;});}set[_0x2d0ebf(0x1da)](_0x102c85){const _0x45f974=_0x2d0ebf;if(this[_0x45f974(0x1ab)])throw new _0x38e7b9(_0x45f974(0x1bd));this[_0x45f974(0x1ab)]=_0x102c85;}get[_0x2d0ebf(0x1da)](){const _0x61f8a3=_0x2d0ebf;return this[_0x61f8a3(0x1ab)];}[_0x2d0ebf(0x1f1)]({channelId:_0x14c479=_t,threadId:_0x1a59e5=_0xd0de3(),comments:_0x5d0b3f=[],unlinkedAt:_0x5c176c=null,resolvedAt:_0x24317b=null,resolvedBy:_0x36a913=null,target:_0x431333=null,context:_0x4b4db3=null,attributes:_0x13c46d={},isResolvable:_0x510bf8=!0x0,isSubmitted:_0x2dafe6=!0x1,isFromAdapter:_0x332641=!0x1}={}){const _0x36f0df=_0x2d0ebf;return this[_0x36f0df(0x1bc)](Nt(_0x36f0df(0x1f1),_0x14c479),{'channelId':_0x14c479,'threadId':_0x1a59e5,'comments':_0x5d0b3f,'unlinkedAt':_0x5c176c,'resolvedAt':_0x24317b,'resolvedBy':_0x36a913,'target':_0x431333,'context':_0x4b4db3,'attributes':_0x13c46d,'isFromAdapter':_0x332641,'isResolvable':_0x510bf8,'isSubmitted':_0x2dafe6}),this[_0x36f0df(0x158)](_0x1a59e5);}[_0x2d0ebf(0x134)]({channelId:_0x254985=_t,threadId:_0x792957=_0xd0de3(),target:_0x555902,context:_0x3166b6=null,isResolvable:_0x1ed653=!0x0}){const _0x13ad6a=_0x2d0ebf;if(this[_0x13ad6a(0x201)][_0x13ad6a(0x17f)](_0x254985)||this[_0x13ad6a(0x201)][_0x13ad6a(0x17f)](void 0x0))return null;if(!_0x555902)throw new _0x38e7b9(_0x13ad6a(0x1d7));const _0x342720=this[_0x13ad6a(0x1f1)]({'channelId':_0x254985,'threadId':_0x792957,'target':_0x555902,'context':_0x3166b6,'isResolvable':_0x1ed653});if(!_0x342720)return null;const _0x33f0e8=this[_0x13ad6a(0x13a)][_0x13ad6a(0x166)](_0x342720),_0x3bc002=_0x33f0e8[_0x13ad6a(0x135)][_0x13ad6a(0x1c9)][_0x13ad6a(0x1be)],_0x3a74ae=this[_0x13ad6a(0x1d5)][_0x13ad6a(0x160)][_0x13ad6a(0x166)](_0x4cf71d),_0x3b653f=_0x3a74ae[_0x13ad6a(0x204)](_0x33f0e8[_0x13ad6a(0x135)]);return _0x3a74ae[_0x13ad6a(0x146)](_0x3b653f),_0x3bc002[_0x13ad6a(0x206)](_0x13ad6a(0x207),()=>_0x3bc002[_0x13ad6a(0x202)]()),_0x342720;}[_0x2d0ebf(0x1e7)](_0x231300){const _0x395581=_0x2d0ebf;if(_0x395581(0x197)!=typeof _0x231300)throw new _0x38e7b9(_0x395581(0x127));return this[_0x395581(0x18e)][_0x395581(0x17f)](_0x231300);}[_0x2d0ebf(0x1b3)]({channelId:_0x5cb602=_t,threadId:_0x4fab5a,context:_0x31c459,unlinkedAt:_0x2c8d14,attributes:_0x2c5f6b,isFromAdapter:_0x34227d=!0x1}){const _0x1a85a3=_0x2d0ebf;return this[_0x1a85a3(0x1bc)](Nt(_0x1a85a3(0x1b3),_0x5cb602),{'channelId':_0x5cb602,'threadId':_0x4fab5a,'context':_0x31c459,'unlinkedAt':_0x2c8d14,'attributes':_0x2c5f6b,'isFromAdapter':_0x34227d}),this[_0x1a85a3(0x158)](_0x4fab5a);}[_0x2d0ebf(0x158)](_0x5f2883){const _0x49d3bd=_0x2d0ebf;if(_0x49d3bd(0x197)!=typeof _0x5f2883)throw new _0x38e7b9(_0x49d3bd(0x127));return this[_0x49d3bd(0x18e)][_0x49d3bd(0x166)](_0x5f2883);}[_0x2d0ebf(0x1c5)]({channelId:_0x2c7845,threadId:_0x2f3e8c}={}){const _0x387648=_0x2d0ebf,_0x23df05=this[_0x387648(0x158)](_0x2f3e8c);if(_0x23df05)return Promise[_0x387648(0x1a1)](_0x23df05);if(!this[_0x387648(0x1da)])return Promise[_0x387648(0x1a1)](void 0x0);if(_0x387648(0x1f5)!=typeof this[_0x387648(0x1da)][_0x387648(0x158)])throw new _0x38e7b9(_0x387648(0x1c4),this[_0x387648(0x1d5)]);return this[_0x387648(0x1da)][_0x387648(0x158)]({'channelId':_0x2c7845,'threadId':_0x2f3e8c})[_0x387648(0x1aa)](_0x35acf3=>this[_0x387648(0x1e7)](_0x2f3e8c)?this[_0x387648(0x158)](_0x2f3e8c):_0x35acf3?this[_0x387648(0x1f1)](Object[_0x387648(0x1a0)]({'isFromAdapter':!0x0,'channelId':_0x2c7845},_0x35acf3)):void 0x0)[_0x387648(0x178)](_0x382486=>{const _0x4ffe3b=_0x387648;throw console[_0x4ffe3b(0x13c)](_0x382486),new _0x38e7b9(_0x4ffe3b(0x171),this[_0x4ffe3b(0x1d5)]);});}[_0x2d0ebf(0x169)]({channelId:_0x3a17dd,skipNotAttached:_0x56deb3=!0x1,skipEmpty:_0x510e09=!0x1,toJSON:_0x3e9edc=!0x1}={}){const _0x5c99d6=_0x2d0ebf,_0xe9ab5a=[];for(const _0x20c6c6 of this[_0x5c99d6(0x18e)][_0x5c99d6(0x1f7)]())_0x3a17dd&&_0x20c6c6[_0x5c99d6(0x154)]!==_0x3a17dd||_0x56deb3&&!_0x20c6c6[_0x5c99d6(0x1a7)]||_0x510e09&&0x0===_0x20c6c6[_0x5c99d6(0x143)]||_0xe9ab5a[_0x5c99d6(0x123)](_0x20c6c6);return _0x3e9edc?_0xe9ab5a[_0x5c99d6(0x1f4)](_0x50f5aa=>_0x50f5aa[_0x5c99d6(0x191)]()):_0xe9ab5a;}[_0x2d0ebf(0x1cd)](_0x1e3f15){const _0x232800=_0x2d0ebf,_0x13653e=this[_0x232800(0x13a)][_0x232800(0x166)](_0x1e3f15);if(!_0x13653e)return null;return this[_0x232800(0x1d5)][_0x232800(0x160)][_0x232800(0x166)](_0x4cf71d)[_0x232800(0x204)](_0x13653e[_0x232800(0x135)])||null;}[_0x2d0ebf(0x1b8)](_0x5308c0){const _0x26231f=_0x2d0ebf,_0x547e21=this[_0x26231f(0x181)][_0x26231f(0x166)](_0x5308c0[_0x26231f(0x1bf)]);return _0x547e21?_0x547e21[_0x26231f(0x16d)]:null;}[_0x2d0ebf(0x17e)](_0x5dd057){const _0x732504=_0x2d0ebf,_0x47c697=this[_0x732504(0x1d5)][_0x732504(0x160)][_0x732504(0x166)](_0x4cf71d);if(!_0x5dd057)return void(this[_0x732504(0x151)]&&_0x47c697[_0x732504(0x1cc)]());const _0x3db089=this[_0x732504(0x158)](_0x5dd057);if(!_0x3db089)throw new _0x38e7b9(_0x732504(0x189),null,{'threadId':_0x5dd057});if(!this[_0x732504(0x13a)][_0x732504(0x17f)](_0x3db089))throw new _0x38e7b9(_0x732504(0x182),null,{'threadId':_0x5dd057});const _0xba6ac0=_0x47c697[_0x732504(0x204)](this[_0x732504(0x13a)][_0x732504(0x166)](_0x3db089)[_0x732504(0x135)]);_0x47c697[_0x732504(0x146)](_0xba6ac0);}[_0x2d0ebf(0x176)](_0xec02a5,_0x395587){const _0x220b96=_0x2d0ebf;_0xec02a5?this[_0x220b96(0x201)][_0x220b96(0x183)](_0x395587):this[_0x220b96(0x201)][_0x220b96(0x1e8)](_0x395587),this[_0x220b96(0x1bc)](_0x220b96(0x1ac),_0x220b96(0x201),this[_0x220b96(0x201)],this[_0x220b96(0x201)]);}[_0x2d0ebf(0x195)](_0x2a9300){const _0x5f3ba1=_0x2d0ebf;return this[_0x5f3ba1(0x201)][_0x5f3ba1(0x17f)](_0x2a9300)||this[_0x5f3ba1(0x201)][_0x5f3ba1(0x17f)](void 0x0);}[_0x2d0ebf(0x150)](_0x37556a,_0x266e0f){return new _0x3444c9(_0x37556a,_0x266e0f);}[_0x2d0ebf(0x186)](_0x18d243,_0x22d5d2=_t){const _0x487d38=_0x2d0ebf;this[_0x487d38(0x162)][_0x487d38(0x130)](_0x22d5d2,_0x18d243),this[_0x487d38(0x1bc)](_0x487d38(0x14c),_0x487d38(0x162),this[_0x487d38(0x162)],this[_0x487d38(0x162)]);}[_0x2d0ebf(0x1b7)](_0x28b50c=_t){const _0x32dc7c=_0x2d0ebf;return this[_0x32dc7c(0x162)][_0x32dc7c(0x17f)](_0x28b50c)?this[_0x32dc7c(0x162)][_0x32dc7c(0x166)](_0x28b50c):bt;}[_0x2d0ebf(0x12a)]({channelId:_0x10b86e,threadId:_0x54535a,comments:_0x45b1e5,unlinkedAt:_0x4e935a,resolvedAt:_0x23e275,resolvedBy:_0x14f78e,target:_0x42cc2d,context:_0x3deefa,attributes:_0x2c0828,isFromAdapter:_0x411fd5,isResolvable:_0x560c65,isSubmitted:_0x521a57}){const _0x949dce=_0x2d0ebf;if(_0x949dce(0x197)!=typeof _0x54535a)throw new _0x38e7b9(_0x949dce(0x127),null,{'threadId':_0x54535a});if(this[_0x949dce(0x1e7)](_0x54535a))throw new _0x38e7b9(_0x949dce(0x1d1),null,{'threadId':_0x54535a});const _0x936b25=new CommentThread(this,{'channelId':_0x10b86e,'id':_0x54535a,'context':_0x3deefa,'attributes':_0x2c0828,'unlinkedAt':_0x4e935a,'resolvedAt':_0x23e275,'resolvedBy':_0x14f78e?this[_0x949dce(0x1d5)][_0x949dce(0x160)][_0x949dce(0x166)](_0xe6d91b)[_0x949dce(0x149)](_0x14f78e):null,'isResolvable':_0x560c65,'isSubmitted':_0x521a57||_0x411fd5});this[_0x949dce(0x18e)][_0x949dce(0x130)](_0x54535a,_0x936b25);for(const _0x4ef6f2 of _0x45b1e5)_0x936b25[_0x949dce(0x19f)](this[_0x949dce(0x190)]({'threadId':_0x54535a,..._0x4ef6f2}));return _0x42cc2d&&_0x936b25[_0x949dce(0x1b9)](_0x42cc2d),_0x411fd5||!_0x936b25[_0x949dce(0x143)]?Promise[_0x949dce(0x1a1)]():this[_0x949dce(0x1dd)]({'channelId':_0x10b86e,'threadId':_0x54535a});}[_0x2d0ebf(0x1dd)]({channelId:_0x41091f,threadId:_0x23a449}){const _0xf7b12a=_0x2d0ebf;if(!this[_0xf7b12a(0x1e7)](_0x23a449))throw new _0x38e7b9(_0xf7b12a(0x12b),this);const _0x112e85=this[_0xf7b12a(0x158)](_0x23a449);if(_0x112e85[_0xf7b12a(0x165)]=!0x0,!this[_0xf7b12a(0x1da)]||_0xf7b12a(0x1f5)!=typeof this[_0xf7b12a(0x1da)][_0xf7b12a(0x1f1)])return Promise[_0xf7b12a(0x1a1)]();const {id:_0x5813b2,comments:_0x555be0,resolvedAt:_0x590919,resolvedBy:_0x4aa264,context:_0x471eb6,attributes:_0x21585f}=_0x112e85,_0x381ca1=this[_0xf7b12a(0x1d5)][_0xf7b12a(0x160)][_0xf7b12a(0x166)](_0xf7b12a(0x12e)),_0x594eb6=_0x381ca1[_0xf7b12a(0x183)](_0x45ede6(this[_0xf7b12a(0x1d5)][_0xf7b12a(0x1e2)],_0xf7b12a(0x179)));return this[_0xf7b12a(0x1da)][_0xf7b12a(0x1f1)]({'channelId':_0x41091f,'threadId':_0x5813b2,'comments':_0x555be0[_0xf7b12a(0x1f4)](_0xa77df0=>_0xa77df0[_0xf7b12a(0x191)]()),'resolvedAt':_0x590919,'resolvedBy':_0x4aa264?_0x4aa264['id']:_0x4aa264,'context':_0x471eb6,'attributes':_0x21585f})[_0xf7b12a(0x1aa)](({comments:_0x51b395})=>{const _0x3784df=_0xf7b12a;_0x381ca1[_0x3784df(0x1a4)](_0x594eb6);for(const _0x1d3818 of _0x51b395)this[_0x3784df(0x1b5)]({'channelId':_0x41091f,'threadId':_0x23a449,'commentId':_0x1d3818[_0x3784df(0x13e)],'createdAt':_0x1d3818[_0x3784df(0x138)],'isFromAdapter':!0x0});})[_0xf7b12a(0x178)](_0x8b69f5=>{const _0x2b035e=_0xf7b12a;throw console[_0x2b035e(0x13c)](_0x8b69f5),new _0x38e7b9(_0x2b035e(0x14f),this);});}[_0x2d0ebf(0x168)]({threadId:_0x4011c8,target:_0x48a68c}){const _0x834093=_0x2d0ebf,_0x3f880c=this[_0x834093(0x158)](_0x4011c8);if(!_0x3f880c)throw new _0x38e7b9(_0x834093(0x194),this);const _0x42e7c2=this[_0x834093(0x1d5)][_0x834093(0x160)][_0x834093(0x166)](_0x834093(0x12e)),_0x24c28f=this[_0x834093(0x1d5)][_0x834093(0x160)][_0x834093(0x166)](_0x4cf71d),_0x351d13=this[_0x834093(0x184)](_0x3f880c),_0x3559ab=new _0x3444c9(_0x3f880c,_0x351d13);let _0x12909e=null;_0x351d13['on'](_0x834093(0x1a5),(_0x577a72,_0x2d8038,_0x31aead)=>{const _0x1197b3=_0x834093;_0x31aead?_0x12909e=_0x42e7c2[_0x1197b3(0x183)](_0x45ede6(this[_0x1197b3(0x1d5)][_0x1197b3(0x1e2)],_0x1197b3(0x179))):_0x12909e&&(_0x42e7c2[_0x1197b3(0x1a4)](_0x12909e),_0x12909e=null);}),this[_0x834093(0x13a)][_0x834093(0x130)](_0x3f880c,_0x3559ab),this[_0x834093(0x181)][_0x834093(0x130)](_0x351d13,_0x3559ab);const _0x1c7bbc=new _0x9d971d(this[_0x834093(0x1d5)][_0x834093(0x1e2)],_0x351d13);_0x1c7bbc[_0x834093(0x180)](_0x834093(0x143))['to'](_0x351d13),_0x1c7bbc[_0x834093(0x180)](_0x834093(0x200))['to'](_0x351d13,_0x834093(0x200),_0x351d13,_0x834093(0x143),(_0x2313b6,_0x38edef)=>_0x2313b6||!_0x38edef),_0x1c7bbc[_0x834093(0x180)](_0x834093(0x1dc))['to'](_0x351d13),_0x1c7bbc[_0x834093(0x129)]=_0x834093(0x136);const _0x337abd=new _0x31668e({'view':_0x1c7bbc,'target':_0x48a68c,'type':_0x834093(0x136),'isVisible':!_0x3f880c[_0x834093(0x17b)]&&!!(_0x834093(0x1f5)==typeof _0x48a68c?_0x48a68c():_0x48a68c)});return _0x351d13['on'](_0x834093(0x12d),()=>{const _0x1d71ef=_0x834093;_0x337abd[_0x1d71ef(0x1bc)](_0x1d71ef(0x12d));}),this[_0x834093(0x19e)](_0x351d13,_0x337abd),_0x24c28f[_0x834093(0x183)](_0x337abd),_0x337abd;}[_0x2d0ebf(0x19e)](_0x36e77a,_0x4ea68f){const _0xe23ad6=_0x2d0ebf;this[_0xe23ad6(0x175)](_0x36e77a,_0xe23ad6(0x207),(_0x5f1d36,_0x194662)=>{const _0x54c648=_0xe23ad6,_0x58f036=_0x194662['ui'][_0x54c648(0x135)][_0x54c648(0x19b)][_0x54c648(0x1ea)];_0x4ea68f[_0x54c648(0x14b)][_0x54c648(0x183)](_0x58f036),this[_0x54c648(0x1d5)]instanceof _0x43453c&&this[_0x54c648(0x1d5)]['ui'][_0x54c648(0x1a2)][_0x54c648(0x183)](_0x58f036);},{'priority':_0xe23ad6(0x148)}),this[_0xe23ad6(0x175)](_0x36e77a,_0xe23ad6(0x1fb),(_0xae78a1,_0x277952)=>{const _0x431264=_0xe23ad6,_0x1c7224=_0x277952['ui'][_0x431264(0x135)][_0x431264(0x19b)][_0x431264(0x1ea)];_0x4ea68f[_0x431264(0x14b)][_0x431264(0x17f)](_0x1c7224)&&_0x4ea68f[_0x431264(0x14b)][_0x431264(0x1a4)](_0x1c7224),this[_0x431264(0x1d5)]instanceof _0x43453c&&this[_0x431264(0x1d5)]['ui'][_0x431264(0x1a2)][_0x431264(0x1a4)](_0x1c7224);});}[_0x2d0ebf(0x141)](_0x5957cd){const _0x4cbaea=_0x2d0ebf;this[_0x4cbaea(0x142)](_0x5957cd,_0x4cbaea(0x207)),this[_0x4cbaea(0x142)](_0x5957cd,_0x4cbaea(0x1fb));}[_0x2d0ebf(0x184)](_0x5432ef){const _0x4ca780=_0x2d0ebf,_0x35d9bf=this[_0x4ca780(0x1d5)][_0x4ca780(0x160)][_0x4ca780(0x166)](_0xe6d91b),{config:_0x4c0da9,locale:_0x56e0eb}=this[_0x4ca780(0x1d5)],_0x49fcc4=_0x5d63eb(_0x4c0da9[_0x4ca780(0x166)](_0x4ca780(0x1e2)),_0x56e0eb);return new(0x0,(_0x4c0da9[_0x4ca780(0x166)](_0x4ca780(0x1fe)))[(_0x4ca780(0x15c))])(_0x56e0eb,_0x5432ef,_0x35d9bf['me'],{'editorConfig':{..._0x4c0da9[_0x4ca780(0x166)](_0x4ca780(0x1e1)),'licenseKey':this[_0x4ca780(0x1d5)][_0x4ca780(0x1d9)][_0x4ca780(0x166)](_0x4ca780(0x1a6))},'copyMarkers':_0x4c0da9[_0x4ca780(0x166)](_0x4ca780(0x132)),'maxCommentsWhenCollapsed':_0x4c0da9[_0x4ca780(0x166)](_0x4ca780(0x1e3)),'maxThreadTotalWeight':_0x4c0da9[_0x4ca780(0x166)](_0x4ca780(0x203)),'maxCommentCharsWhenCollapsed':_0x4c0da9[_0x4ca780(0x166)](_0x4ca780(0x1b4)),'formatDateTime':_0x49fcc4,'CommentView':_0x4c0da9[_0x4ca780(0x166)](_0x4ca780(0x1fe))[_0x4ca780(0x137)]});}[_0x2d0ebf(0x1ca)]({threadId:_0x399e73,channelId:_0x520e81,resolvedAt:_0x1e3d3b,resolvedBy:_0x38179d,isFromAdapter:_0x2c105b}){const _0x20d807=_0x2d0ebf;if(!this[_0x20d807(0x1e7)](_0x399e73))throw new _0x38e7b9(_0x20d807(0x12b),null,{'threadId':_0x399e73});const _0x2b7fd4=this[_0x20d807(0x158)](_0x399e73);if(_0x2b7fd4[_0x20d807(0x18d)])throw new _0x38e7b9(_0x20d807(0x173),null,{'threadId':_0x399e73});const _0x5a66c1=this[_0x20d807(0x1d5)][_0x20d807(0x160)][_0x20d807(0x166)](_0xe6d91b);if(_0x2b7fd4[_0x20d807(0x1ce)]=_0x5a66c1[_0x20d807(0x149)](_0x38179d),_0x2b7fd4[_0x20d807(0x19c)]=_0x1e3d3b,_0x2c105b||!this[_0x20d807(0x1da)]||_0x20d807(0x1f5)!=typeof this[_0x20d807(0x1da)][_0x20d807(0x15e)])return Promise[_0x20d807(0x1a1)]();const _0x5e0b9e=this[_0x20d807(0x1d5)][_0x20d807(0x160)][_0x20d807(0x166)](_0x20d807(0x12e)),_0x192be0=_0x5e0b9e[_0x20d807(0x183)](_0x45ede6(this[_0x20d807(0x1d5)][_0x20d807(0x1e2)],_0x20d807(0x179)));return this[_0x20d807(0x1da)][_0x20d807(0x15e)]({'channelId':_0x520e81,'threadId':_0x399e73})[_0x20d807(0x1aa)](({resolvedAt:_0x1cd655,resolvedBy:_0x3c0587})=>{const _0x5d13dd=_0x20d807;_0x5e0b9e[_0x5d13dd(0x1a4)](_0x192be0),_0x2b7fd4[_0x5d13dd(0x1ce)]['id']!==_0x3c0587&&(_0x2b7fd4[_0x5d13dd(0x1ce)]=_0x5a66c1[_0x5d13dd(0x149)](_0x3c0587)),_0x2b7fd4[_0x5d13dd(0x19c)]=_0x1cd655;})[_0x20d807(0x178)](_0x8cfb09=>{const _0x44dd7a=_0x20d807;throw console[_0x44dd7a(0x13c)](_0x8cfb09),new _0x38e7b9(_0x44dd7a(0x188),this);});}[_0x2d0ebf(0x177)]({threadId:_0x2a67e7,channelId:_0x16bfcb,isFromAdapter:_0x4a9418}){const _0x5e3bf7=_0x2d0ebf;if(!this[_0x5e3bf7(0x1e7)](_0x2a67e7))throw new _0x38e7b9(_0x5e3bf7(0x12b),null,{'threadId':_0x2a67e7});const _0x157144=this[_0x5e3bf7(0x158)](_0x2a67e7);if(!_0x157144[_0x5e3bf7(0x18d)])throw new _0x38e7b9(_0x5e3bf7(0x1ae),null,{'threadId':_0x2a67e7});if(_0x157144[_0x5e3bf7(0x1ce)]=null,_0x157144[_0x5e3bf7(0x19c)]=null,_0x4a9418||!this[_0x5e3bf7(0x1da)]||_0x5e3bf7(0x1f5)!=typeof this[_0x5e3bf7(0x1da)][_0x5e3bf7(0x128)])return Promise[_0x5e3bf7(0x1a1)]();const _0x286862=this[_0x5e3bf7(0x1d5)][_0x5e3bf7(0x160)][_0x5e3bf7(0x166)](_0x5e3bf7(0x12e)),_0x13ba2d=_0x286862[_0x5e3bf7(0x183)](_0x45ede6(this[_0x5e3bf7(0x1d5)][_0x5e3bf7(0x1e2)],_0x5e3bf7(0x179)));return this[_0x5e3bf7(0x1da)][_0x5e3bf7(0x128)]({'channelId':_0x16bfcb,'threadId':_0x2a67e7})[_0x5e3bf7(0x1aa)](()=>_0x286862[_0x5e3bf7(0x1a4)](_0x13ba2d))[_0x5e3bf7(0x178)](_0x470d4e=>{const _0x85e60a=_0x5e3bf7;throw console[_0x85e60a(0x13c)](_0x470d4e),new _0x38e7b9(_0x85e60a(0x170),this);});}[_0x2d0ebf(0x133)]({threadId:_0x2867ab,isFromAdapter:_0x1b41b3}){const _0x57d953=_0x2d0ebf,_0x1a3b71=this[_0x57d953(0x158)](_0x2867ab);if(!_0x1a3b71)throw new _0x38e7b9(_0x57d953(0x1df),this);if(this[_0x57d953(0x1b2)](_0x2867ab),this[_0x57d953(0x18e)][_0x57d953(0x1e8)](_0x2867ab),!_0x1a3b71[_0x57d953(0x1eb)]||_0x1b41b3||!this[_0x57d953(0x1da)]||_0x57d953(0x1f5)!=typeof this[_0x57d953(0x1da)][_0x57d953(0x1fa)])return Promise[_0x57d953(0x1a1)]();const _0x1b211e=this[_0x57d953(0x1d5)][_0x57d953(0x160)][_0x57d953(0x166)](_0x57d953(0x12e)),{channelId:_0x1e4563}=_0x1a3b71,_0x5708cb=_0x1b211e[_0x57d953(0x183)](_0x45ede6(this[_0x57d953(0x1d5)][_0x57d953(0x1e2)],_0x57d953(0x179)));return this[_0x57d953(0x1da)][_0x57d953(0x1fa)]({'channelId':_0x1e4563,'threadId':_0x2867ab})[_0x57d953(0x1aa)](()=>_0x1b211e[_0x57d953(0x1a4)](_0x5708cb))[_0x57d953(0x178)](_0x35f830=>{const _0x2df62a=_0x57d953;throw console[_0x2df62a(0x13c)](_0x35f830),new _0x38e7b9(_0x2df62a(0x18f),this);});}[_0x2d0ebf(0x14a)]({threadId:_0x1505fe,unlinkedAt:_0x582e84,context:_0x339b64,attributes:_0x325ce1,isFromAdapter:_0x485dd9}){const _0x2d58bc=_0x2d0ebf;if(_0x2d58bc(0x197)!=typeof _0x1505fe)throw new _0x38e7b9(_0x2d58bc(0x127),null,{'threadId':_0x1505fe});if(!this[_0x2d58bc(0x1e7)](_0x1505fe))throw new _0x38e7b9(_0x2d58bc(0x12b),null,{'threadId':_0x1505fe});const _0xa61095=this[_0x2d58bc(0x158)](_0x1505fe);let _0x5a91d3=!0x1;if(void 0x0!==_0x339b64&&_0xa61095[_0x2d58bc(0x1d5)]!==_0x339b64&&(_0xa61095[_0x2d58bc(0x1d5)]=_0x339b64,_0x5a91d3=!0x0),void 0x0!==_0x582e84&&_0xa61095[_0x2d58bc(0x193)]!==_0x582e84&&(_0xa61095[_0x2d58bc(0x193)]=_0x582e84,_0x5a91d3=!0x0),_0x325ce1&&!_0x4d429c(_0x325ce1,_0xa61095[_0x2d58bc(0x161)])&&(_0xa61095[_0x2d58bc(0x161)]=_0x325ce1,_0x5a91d3=!0x0),!_0x5a91d3)return Promise[_0x2d58bc(0x1a1)]();if(!_0xa61095[_0x2d58bc(0x1eb)]||_0x485dd9||!this[_0x2d58bc(0x1da)]||_0x2d58bc(0x1f5)!=typeof this[_0x2d58bc(0x1da)][_0x2d58bc(0x1b3)])return Promise[_0x2d58bc(0x1a1)]();const _0x3c0dc6=this[_0x2d58bc(0x1d5)][_0x2d58bc(0x160)][_0x2d58bc(0x166)](_0x2d58bc(0x12e)),{channelId:_0x3506e1}=_0xa61095,_0x57a476=_0x3c0dc6[_0x2d58bc(0x183)](_0x45ede6(this[_0x2d58bc(0x1d5)][_0x2d58bc(0x1e2)],_0x2d58bc(0x179)));return this[_0x2d58bc(0x1da)][_0x2d58bc(0x1b3)]({'channelId':_0x3506e1,'threadId':_0x1505fe,'context':_0x339b64,'unlinkedAt':_0x582e84,'attributes':_0x325ce1})[_0x2d58bc(0x1aa)](()=>_0x3c0dc6[_0x2d58bc(0x1a4)](_0x57a476))[_0x2d58bc(0x178)](_0x528ec1=>{const _0x135a97=_0x2d58bc;throw console[_0x135a97(0x13c)](_0x528ec1),new _0x38e7b9(_0x135a97(0x15b),this);});}[_0x2d0ebf(0x1b2)](_0x5e1fd7){const _0x489070=_0x2d0ebf,_0x29d6a2=this[_0x489070(0x1d5)][_0x489070(0x160)][_0x489070(0x166)](_0x4cf71d),_0x487c7f=this[_0x489070(0x158)](_0x5e1fd7);if(_0x487c7f[_0x489070(0x1ed)]=!0x1,this[_0x489070(0x13a)][_0x489070(0x17f)](_0x487c7f)){const _0x4b39f7=this[_0x489070(0x13a)][_0x489070(0x166)](_0x487c7f),_0x8aace8=_0x4b39f7[_0x489070(0x135)],_0x408d1c=_0x29d6a2[_0x489070(0x204)](_0x8aace8);this[_0x489070(0x13a)][_0x489070(0x1e8)](_0x487c7f),this[_0x489070(0x181)][_0x489070(0x1e8)](_0x8aace8),_0x408d1c&&_0x29d6a2[_0x489070(0x1a4)](_0x408d1c),_0x4b39f7[_0x489070(0x1e0)](),_0x8aace8[_0x489070(0x1e0)]()[_0x489070(0x1aa)](()=>{const _0x1d7e91=_0x489070;this[_0x1d7e91(0x141)](_0x8aace8);});}}[_0x2d0ebf(0x16b)]({threadId:_0x63f984,resolvedAt:_0x5733d7,unlinkedAt:_0x3396b8}){const _0x21f66d=_0x2d0ebf,_0x5a1998=!!_0x5733d7,_0x5c16e6=this[_0x21f66d(0x1d5)][_0x21f66d(0x160)][_0x21f66d(0x166)](_0x4cf71d),_0x2f25e8=this[_0x21f66d(0x158)](_0x63f984);if(this[_0x21f66d(0x13a)][_0x21f66d(0x17f)](_0x2f25e8)){const _0x3e80ff=this[_0x21f66d(0x13a)][_0x21f66d(0x166)](_0x2f25e8)[_0x21f66d(0x135)],_0x7127ed=_0x5c16e6[_0x21f66d(0x204)](_0x3e80ff);_0x7127ed&&(_0x5a1998&&_0x5c16e6[_0x21f66d(0x198)](_0x7127ed),_0x3396b8?_0x7127ed[_0x21f66d(0x1c2)]=!0x1:_0x7127ed[_0x21f66d(0x18a)]());}}[_0x2d0ebf(0x1f8)](_0x3434ee){const _0x25f58a=_0x2d0ebf,_0x1bec00=this[_0x25f58a(0x1d5)][_0x25f58a(0x160)][_0x25f58a(0x166)](_0xe6d91b),_0x3735fc=_0x103a66(_0x25f58a(0x152)+_0x3434ee),_0x5bed3e=_0x1bec00[_0x25f58a(0x149)](_0x3735fc);return _0x5bed3e||_0x1bec00[_0x25f58a(0x1c0)]({'id':_0x3735fc,'name':_0x3434ee});}[_0x2d0ebf(0x190)]({threadId:_0x13fa2b,commentId:_0x4da371=_0xd0de3(),content:_0x2cf9ae,authorId:_0x218fc7,createdAt:_0x4603b4,attributes:_0x19f20d}){const _0x105bac=_0x2d0ebf;if(_0x105bac(0x197)!=typeof _0x4da371)throw new _0x38e7b9(_0x105bac(0x1fc));if(_0x105bac(0x197)!=typeof _0x218fc7)throw new _0x38e7b9(_0x105bac(0x174));if(_0x105bac(0x197)!=typeof _0x2cf9ae||!_0x2cf9ae[_0x105bac(0x18c)]())throw new _0x38e7b9(_0x105bac(0x1a9));const _0x441658=this[_0x105bac(0x1d5)][_0x105bac(0x160)][_0x105bac(0x166)](_0xe6d91b)[_0x105bac(0x149)](_0x218fc7);if(!_0x441658)throw new _0x38e7b9(_0x105bac(0x208),null,{'authorId':_0x218fc7});let _0x45611f=null,_0x35f5cf=_0x4603b4;return _0x19f20d?.[_0x105bac(0x124)]&&(_0x45611f=this[_0x105bac(0x1f8)](_0x19f20d[_0x105bac(0x124)][_0x105bac(0x1ad)]),_0x35f5cf=new Date(_0x19f20d[_0x105bac(0x124)][_0x105bac(0x138)])),new Comment(this,{'threadId':_0x13fa2b,'id':_0x4da371,'author':_0x45611f||_0x441658,'creator':_0x441658,'content':_0x2cf9ae,'createdAt':_0x4603b4,'authoredAt':_0x35f5cf,'attributes':_0x19f20d});}[_0x2d0ebf(0x15f)](_0x5230fc){const _0x542c23=_0x2d0ebf;let {threadId:_0x10c28a,content:_0x316b99,attributes:_0xa04823,isFromAdapter:_0x20b054}=_0x5230fc;const _0x2de2e0=this[_0x542c23(0x158)](_0x5230fc[_0x542c23(0x17a)]);if(!_0x2de2e0)throw new _0x38e7b9(_0x542c23(0x1bb),this);const _0x55470e=this[_0x542c23(0x190)](_0x5230fc),{id:_0x5ad992}=_0x55470e;if(_0x2de2e0[_0x542c23(0x19f)](_0x55470e),_0x20b054||!this[_0x542c23(0x1da)]||_0x542c23(0x1f5)!=typeof this[_0x542c23(0x1da)][_0x542c23(0x1b6)]||!_0x2de2e0[_0x542c23(0x1eb)])return Promise[_0x542c23(0x1a1)]();const _0x5cd829=this[_0x542c23(0x1d5)][_0x542c23(0x160)][_0x542c23(0x166)](_0x542c23(0x12e)),{channelId:_0x4b22fb}=_0x2de2e0,_0x24fc3e=_0x5cd829[_0x542c23(0x183)](_0x45ede6(this[_0x542c23(0x1d5)][_0x542c23(0x1e2)],_0x542c23(0x179)));return _0xa04823||(_0xa04823={}),this[_0x542c23(0x1da)][_0x542c23(0x1b6)]({'channelId':_0x4b22fb,'threadId':_0x10c28a,'commentId':_0x5ad992,'content':_0x316b99,'attributes':_0xa04823})[_0x542c23(0x1aa)](_0x236e09=>{const _0x1b6dc6=_0x542c23;_0x5cd829[_0x1b6dc6(0x1a4)](_0x24fc3e),_0x236e09&&this[_0x1b6dc6(0x1b5)]({'channelId':_0x4b22fb,'threadId':_0x10c28a,'commentId':_0x5ad992,'createdAt':_0x236e09[_0x1b6dc6(0x138)],'isFromAdapter':!0x0});})[_0x542c23(0x178)](_0x2b766a=>{const _0x100153=_0x542c23;throw console[_0x100153(0x13c)](_0x2b766a),new _0x38e7b9(_0x100153(0x205),this);});}[_0x2d0ebf(0x1b5)]({threadId:_0x41a30c,commentId:_0x2e9dfa,content:_0x16ad49,createdAt:_0x34fd2b,attributes:_0x82e163,isFromAdapter:_0x3a976b}){const _0x5b160b=_0x2d0ebf;if(void 0x0!==_0x16ad49&&(_0x5b160b(0x197)!=typeof _0x16ad49||!_0x16ad49[_0x5b160b(0x18c)]()[_0x5b160b(0x143)]))throw new _0x38e7b9(_0x5b160b(0x1af));const _0x565c31=this[_0x5b160b(0x158)](_0x41a30c),_0xc412fe=_0x565c31[_0x5b160b(0x14e)](_0x2e9dfa);if(!_0xc412fe)throw new _0x38e7b9(_0x5b160b(0x16f),this);let _0x1ffcc8=!0x1;if(_0x16ad49&&_0x16ad49!==_0xc412fe[_0x5b160b(0x1cf)]&&(_0xc412fe[_0x5b160b(0x13d)]||_0x3a976b)&&(_0xc412fe[_0x5b160b(0x1cf)]=_0x16ad49,_0x1ffcc8=!0x0),_0x34fd2b&&_0x34fd2b!==_0xc412fe[_0x5b160b(0x138)]&&(_0xc412fe[_0x5b160b(0x138)]=_0x34fd2b,_0xc412fe[_0x5b160b(0x161)]&&_0xc412fe[_0x5b160b(0x161)][_0x5b160b(0x124)]||(_0xc412fe[_0x5b160b(0x156)]=_0x34fd2b),_0x1ffcc8=!0x0),_0x82e163&&!_0x4d429c(_0x82e163,_0xc412fe[_0x5b160b(0x161)])&&(_0xc412fe[_0x5b160b(0x161)]=_0x82e163,_0x1ffcc8=!0x0),!_0x1ffcc8)return Promise[_0x5b160b(0x1a1)]();if(_0x565c31[_0x5b160b(0x1bc)](_0x5b160b(0x19a)),_0x3a976b||!this[_0x5b160b(0x1da)]||_0x5b160b(0x1f5)!=typeof this[_0x5b160b(0x1da)][_0x5b160b(0x1f2)])return Promise[_0x5b160b(0x1a1)]();const _0x57fa3a=this[_0x5b160b(0x1d5)][_0x5b160b(0x160)][_0x5b160b(0x166)](_0x5b160b(0x12e)),{channelId:_0x139ecf}=this[_0x5b160b(0x158)](_0xc412fe[_0x5b160b(0x17a)]),_0x51c167=_0x57fa3a[_0x5b160b(0x183)](_0x45ede6(this[_0x5b160b(0x1d5)][_0x5b160b(0x1e2)],_0x5b160b(0x179)));return this[_0x5b160b(0x1da)][_0x5b160b(0x1f2)]({'channelId':_0x139ecf,'threadId':_0x41a30c,'commentId':_0x2e9dfa,'content':_0x16ad49,'attributes':_0x82e163})[_0x5b160b(0x1aa)](()=>_0x57fa3a[_0x5b160b(0x1a4)](_0x51c167))[_0x5b160b(0x178)](_0xf3d991=>{const _0x3bae40=_0x5b160b;throw console[_0x3bae40(0x13c)](_0xf3d991),new _0x38e7b9(_0x3bae40(0x167),this);});}[_0x2d0ebf(0x163)]({threadId:_0x3dc2c3,commentId:_0x57ddce,isFromAdapter:_0x427070}){const _0x135f24=_0x2d0ebf,_0x40d511=this[_0x135f24(0x158)](_0x3dc2c3),_0x4e44be=_0x40d511[_0x135f24(0x14e)](_0x57ddce);if(!_0x4e44be)throw new _0x38e7b9(_0x135f24(0x1de),this);if(_0x40d511[_0x135f24(0x14d)](_0x4e44be),_0x427070||!this[_0x135f24(0x1da)]||_0x135f24(0x1f5)!=typeof this[_0x135f24(0x1da)][_0x135f24(0x17c)])return Promise[_0x135f24(0x1a1)]();const _0x28f484=this[_0x135f24(0x1d5)][_0x135f24(0x160)][_0x135f24(0x166)](_0x135f24(0x12e)),{channelId:_0x50f0fc}=_0x40d511,_0x349a87=_0x28f484[_0x135f24(0x183)](_0x45ede6(this[_0x135f24(0x1d5)][_0x135f24(0x1e2)],_0x135f24(0x179)));return this[_0x135f24(0x1da)][_0x135f24(0x17c)]({'channelId':_0x50f0fc,'threadId':_0x3dc2c3,'commentId':_0x57ddce})[_0x135f24(0x1aa)](()=>_0x28f484[_0x135f24(0x1a4)](_0x349a87))[_0x135f24(0x178)](_0x418f98=>{const _0x2d5128=_0x135f24;throw console[_0x2d5128(0x13c)](_0x418f98),new _0x38e7b9(_0x2d5128(0x147),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const _0xd311cf=_0x46b5;(function(_0x5a4d0b,_0x38866a){const _0x30b8c0=_0x46b5,_0x802d29=_0x5a4d0b();while(!![]){try{const _0x16fc08=parseInt(_0x30b8c0(0x1a7))/0x1*(-parseInt(_0x30b8c0(0x1a9))/0x2)+-parseInt(_0x30b8c0(0x1c9))/0x3*(-parseInt(_0x30b8c0(0x1d6))/0x4)+-parseInt(_0x30b8c0(0x1e3))/0x5*(-parseInt(_0x30b8c0(0x170))/0x6)+-parseInt(_0x30b8c0(0x18a))/0x7+parseInt(_0x30b8c0(0x14c))/0x8*(-parseInt(_0x30b8c0(0x18c))/0x9)+-parseInt(_0x30b8c0(0x18d))/0xa+-parseInt(_0x30b8c0(0x1f6))/0xb*(-parseInt(_0x30b8c0(0x1e4))/0xc);if(_0x16fc08===_0x38866a)break;else _0x802d29['push'](_0x802d29['shift']());}catch(_0x2cac6e){_0x802d29['push'](_0x802d29['shift']());}}}(_0x500e,0x2b533));import{PendingActions as _0x3b3ddb,ContextPlugin as _0x231ecd,Editor as _0x415d3b}from'ckeditor5/src/core.js';function _0x46b5(_0x21ddfb,_0x6fb327){const _0x500e3f=_0x500e();return _0x46b5=function(_0x46b58e,_0xece747){_0x46b58e=_0x46b58e-0x112;let _0x3cf2c6=_0x500e3f[_0x46b58e];return _0x3cf2c6;},_0x46b5(_0x21ddfb,_0x6fb327);}import{Collection as _0x13a5a2,uid as _0x310e61,CKEditorError as _0x4eb061,ObservableMixin as _0x137755}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x2cdbb8,hashObject as _0x4efddd,Users as _0x2ff2a6}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x1b2a28,isEqual as _0xbdefbd,set as _0x2a5625,unset as _0xf59091}from'es-toolkit/compat';import{CommentThreadController as _0x20dbda}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x477a2b}from'./ui/view/commentthreadview.js';import{CommentView as _0x7028a6}from'./ui/view/commentview.js';import{getTranslation as _0x12d92e}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x4f14f5}from'../annotations/view/annotationview.js';import{Annotation as _0xc2308a}from'../annotations/annotation.js';import{Annotations as _0x4de513}from'../annotations/annotations.js';const _t=Symbol(_0xd311cf(0x1c7)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x231ecd{[_0xd311cf(0x143)];[_0xd311cf(0x1ab)];[_0xd311cf(0x1cd)];static get[_0xd311cf(0x17d)](){return[_0x4de513,_0x3b3ddb,_0x2ff2a6];}static get[_0xd311cf(0x1c0)](){const _0x5e6236=_0xd311cf;return _0x5e6236(0x117);}static get[_0xd311cf(0x191)](){return!0x0;}static get[_0xd311cf(0x16f)](){return!0x0;}constructor(_0x36be10){const _0x1d6f46=_0xd311cf;super(_0x36be10),this[_0x1d6f46(0x143)]=new Map(),this[_0x1d6f46(0x1ab)]=new Map(),this[_0x1d6f46(0x1cd)]=new Map(),this[_0x1d6f46(0x180)](_0x1d6f46(0x167),new Set()),this[_0x1d6f46(0x180)](_0x1d6f46(0x1b2),new Map());const _0x473226=this[_0x1d6f46(0x11a)][_0x1d6f46(0x1a8)];_0x473226[_0x1d6f46(0x1a6)](_0x1d6f46(0x120),0x2),_0x473226[_0x1d6f46(0x1a6)](_0x1d6f46(0x1d3),0x1f4),_0x473226[_0x1d6f46(0x1a6)](_0x1d6f46(0x142),0x8c),_0x473226[_0x1d6f46(0x1a6)](_0x1d6f46(0x17a),_0x477a2b),_0x473226[_0x1d6f46(0x1a6)](_0x1d6f46(0x19f),_0x7028a6),_0x473226[_0x1d6f46(0x190)](_0x1d6f46(0x171))||console[_0x1d6f46(0x157)](_0x1d6f46(0x1ad));}[_0xd311cf(0x148)](){const _0x219b5f=_0xd311cf,_0x2afe30=this[_0x219b5f(0x11a)][_0x219b5f(0x13d)][_0x219b5f(0x190)](_0x4de513);this[_0x219b5f(0x180)](_0x219b5f(0x1cf),null),this['on'](_0x219b5f(0x129),(_0x1a5622,_0x240c29)=>this[_0x219b5f(0x184)](_0x240c29)),this['on'](_0x219b5f(0x12e),(_0x58ac33,_0x4e52a8)=>this[_0x219b5f(0x169)](_0x4e52a8)),this['on'](_0x219b5f(0x1e6),(_0x4336eb,_0x25c871)=>this[_0x219b5f(0x127)](_0x25c871)),this['on'](_0x219b5f(0x1e6),(_0x363cad,_0x432983)=>this[_0x219b5f(0x13b)](_0x432983),{'priority':_0x219b5f(0x188)}),this['on'](_0x219b5f(0x11c),(_0x574d37,_0x149098)=>this[_0x219b5f(0x13a)](_0x149098)),this['on'](_0x219b5f(0x11c),(_0xda4ba9,_0x5a6e98)=>this[_0x219b5f(0x13b)](_0x5a6e98),{'priority':_0x219b5f(0x188)}),this['on'](_0x219b5f(0x1af),(_0x839fd1,_0x323afa)=>this[_0x219b5f(0x1ef)](_0x323afa)),this['on'](_0x219b5f(0x13c),(_0x2fe698,_0x462c06)=>this[_0x219b5f(0x158)](_0x462c06)),this['on'](_0x219b5f(0x13c),(_0x20c24c,_0x36d2d3)=>this[_0x219b5f(0x13b)](_0x36d2d3),{'priority':_0x219b5f(0x188)}),this['on'](_0x219b5f(0x144),(_0x105d3e,_0x75be90)=>this[_0x219b5f(0x14d)](_0x75be90)),this['on'](_0x219b5f(0x17e),(_0x49d137,_0x2bda85)=>this[_0x219b5f(0x1bd)](_0x2bda85)),this['on'](_0x219b5f(0x1f8),(_0x1b83af,_0x49a7eb)=>this[_0x219b5f(0x16d)](_0x49a7eb)),this['on'](_0x219b5f(0x144),(_0x46f9cf,{threadId:_0x500931,isFromAdapter:_0x29bf5e})=>{const _0x3248d3=_0x219b5f;if(_0x29bf5e)return;const _0x45ff3b=this[_0x3248d3(0x12c)](_0x500931),_0x55d37d=_0x45ff3b&&this[_0x3248d3(0x1ab)][_0x3248d3(0x190)](_0x45ff3b);_0x55d37d&&_0x55d37d[_0x3248d3(0x1bb)][_0x3248d3(0x1b4)][_0x3248d3(0x197)](-0x1);},{'priority':_0x219b5f(0x188)}),this[_0x219b5f(0x198)](_0x2afe30,_0x219b5f(0x173),(_0x5daa57,_0x2045ff,_0x568e83)=>{const _0x36ca79=_0x219b5f,_0x20a20b=Array[_0x36ca79(0x1ce)](_0x568e83)[_0x36ca79(0x114)](_0x4b3b51=>this[_0x36ca79(0x1cd)][_0x36ca79(0x190)](_0x4b3b51[_0x36ca79(0x177)]))[_0x36ca79(0x140)](Boolean)[0x0];this[_0x36ca79(0x1cf)]=_0x20a20b?_0x20a20b[_0x36ca79(0x16e)]:null;});}set[_0xd311cf(0x138)](_0x1105ee){const _0x536d2d=_0xd311cf;if(this[_0x536d2d(0x14b)])throw new _0x4eb061(_0x536d2d(0x165));this[_0x536d2d(0x14b)]=_0x1105ee;}get[_0xd311cf(0x138)](){const _0x523884=_0xd311cf;return this[_0x523884(0x14b)];}[_0xd311cf(0x129)]({channelId:_0x35890a=_t,threadId:_0x236ff8=_0x310e61(),comments:_0x5c2abe=[],unlinkedAt:_0x268225=null,resolvedAt:_0x59ea21=null,resolvedBy:_0x45d8b4=null,target:_0xa77630=null,context:_0x3c3bfb=null,attributes:_0x148e49={},isResolvable:_0x1b82e3=!0x0,isSubmitted:_0x29ae91=!0x1,isFromAdapter:_0x3cd090=!0x1}={}){const _0x2abea5=_0xd311cf;return this[_0x2abea5(0x119)](Nt(_0x2abea5(0x129),_0x35890a),{'channelId':_0x35890a,'threadId':_0x236ff8,'comments':_0x5c2abe,'unlinkedAt':_0x268225,'resolvedAt':_0x59ea21,'resolvedBy':_0x45d8b4,'target':_0xa77630,'context':_0x3c3bfb,'attributes':_0x148e49,'isFromAdapter':_0x3cd090,'isResolvable':_0x1b82e3,'isSubmitted':_0x29ae91}),this[_0x2abea5(0x12c)](_0x236ff8);}[_0xd311cf(0x151)]({channelId:_0x4e527e=_t,threadId:_0x54be58=_0x310e61(),target:_0x47d518,context:_0x426550=null,isResolvable:_0x588510=!0x0}){const _0x122e08=_0xd311cf;if(this[_0x122e08(0x167)][_0x122e08(0x19c)](_0x4e527e)||this[_0x122e08(0x167)][_0x122e08(0x19c)](void 0x0))return null;if(!_0x47d518)throw new _0x4eb061(_0x122e08(0x176));const _0x367b4b=this[_0x122e08(0x129)]({'channelId':_0x4e527e,'threadId':_0x54be58,'target':_0x47d518,'context':_0x426550,'isResolvable':_0x588510});if(!_0x367b4b)return null;const _0x347ceb=this[_0x122e08(0x1ab)][_0x122e08(0x190)](_0x367b4b),_0x79cdb7=_0x347ceb[_0x122e08(0x1bb)][_0x122e08(0x14e)][_0x122e08(0x1ac)],_0x512525=this[_0x122e08(0x11a)][_0x122e08(0x13d)][_0x122e08(0x190)](_0x4de513),_0x3fe9a9=_0x512525[_0x122e08(0x12d)](_0x347ceb[_0x122e08(0x1bb)]);return _0x512525[_0x122e08(0x162)](_0x3fe9a9),_0x79cdb7[_0x122e08(0x168)](_0x122e08(0x189),()=>_0x79cdb7[_0x122e08(0x197)]()),_0x367b4b;}[_0xd311cf(0x183)](_0x4abbc5){const _0x1edf58=_0xd311cf;if(_0x1edf58(0x12b)!=typeof _0x4abbc5)throw new _0x4eb061(_0x1edf58(0x1c2));return this[_0x1edf58(0x143)][_0x1edf58(0x19c)](_0x4abbc5);}[_0xd311cf(0x13c)]({channelId:_0x528ebb=_t,threadId:_0x5b555e,context:_0x33ca05,unlinkedAt:_0xfbbb33,attributes:_0x4d047a,isFromAdapter:_0x5abae9=!0x1}){const _0x56445a=_0xd311cf;return this[_0x56445a(0x119)](Nt(_0x56445a(0x13c),_0x528ebb),{'channelId':_0x528ebb,'threadId':_0x5b555e,'context':_0x33ca05,'unlinkedAt':_0xfbbb33,'attributes':_0x4d047a,'isFromAdapter':_0x5abae9}),this[_0x56445a(0x12c)](_0x5b555e);}[_0xd311cf(0x12c)](_0x1bdae7){const _0x39feec=_0xd311cf;if(_0x39feec(0x12b)!=typeof _0x1bdae7)throw new _0x4eb061(_0x39feec(0x1c2));return this[_0x39feec(0x143)][_0x39feec(0x190)](_0x1bdae7);}[_0xd311cf(0x160)]({channelId:_0x3e8cb6,threadId:_0x5c9fc5}={}){const _0xfc72f4=_0xd311cf,_0x49790c=this[_0xfc72f4(0x12c)](_0x5c9fc5);if(_0x49790c)return Promise[_0xfc72f4(0x195)](_0x49790c);if(!this[_0xfc72f4(0x138)])return Promise[_0xfc72f4(0x195)](void 0x0);if(_0xfc72f4(0x194)!=typeof this[_0xfc72f4(0x138)][_0xfc72f4(0x12c)])throw new _0x4eb061(_0xfc72f4(0x1f7),this[_0xfc72f4(0x11a)]);return this[_0xfc72f4(0x138)][_0xfc72f4(0x12c)]({'channelId':_0x3e8cb6,'threadId':_0x5c9fc5})[_0xfc72f4(0x193)](_0x34be16=>this[_0xfc72f4(0x183)](_0x5c9fc5)?this[_0xfc72f4(0x12c)](_0x5c9fc5):_0x34be16?this[_0xfc72f4(0x129)](Object[_0xfc72f4(0x1f9)]({'isFromAdapter':!0x0,'channelId':_0x3e8cb6},_0x34be16)):void 0x0)[_0xfc72f4(0x1dd)](_0x537252=>{const _0x564421=_0xfc72f4;throw console[_0x564421(0x1c3)](_0x537252),new _0x4eb061(_0x564421(0x1aa),this[_0x564421(0x11a)]);});}[_0xd311cf(0x1cb)]({channelId:_0x5022ca,skipNotAttached:_0x2945dc=!0x1,skipEmpty:_0x34fb71=!0x1,toJSON:_0x286060=!0x1}={}){const _0x5c182b=_0xd311cf,_0x4d5081=[];for(const _0xcc6934 of this[_0x5c182b(0x143)][_0x5c182b(0x192)]())_0x5022ca&&_0xcc6934[_0x5c182b(0x16b)]!==_0x5022ca||_0x2945dc&&!_0xcc6934[_0x5c182b(0x1fa)]||_0x34fb71&&0x0===_0xcc6934[_0x5c182b(0x17c)]||_0x4d5081[_0x5c182b(0x1f1)](_0xcc6934);return _0x286060?_0x4d5081[_0x5c182b(0x114)](_0x28f4e4=>_0x28f4e4[_0x5c182b(0x1b1)]()):_0x4d5081;}[_0xd311cf(0x15e)](_0x42a6f2){const _0x4d5b99=_0xd311cf,_0x12d551=this[_0x4d5b99(0x1ab)][_0x4d5b99(0x190)](_0x42a6f2);if(!_0x12d551)return null;return this[_0x4d5b99(0x11a)][_0x4d5b99(0x13d)][_0x4d5b99(0x190)](_0x4de513)[_0x4d5b99(0x12d)](_0x12d551[_0x4d5b99(0x1bb)])||null;}[_0xd311cf(0x1e8)](_0x7d1cb0){const _0x167bf5=_0xd311cf,_0x290aeb=this[_0x167bf5(0x1cd)][_0x167bf5(0x190)](_0x7d1cb0[_0x167bf5(0x177)]);return _0x290aeb?_0x290aeb[_0x167bf5(0x16e)]:null;}[_0xd311cf(0x19b)](_0x57ff06){const _0x5c09b2=_0xd311cf,_0x1dfb19=this[_0x5c09b2(0x11a)][_0x5c09b2(0x13d)][_0x5c09b2(0x190)](_0x4de513);if(!_0x57ff06)return void(this[_0x5c09b2(0x1cf)]&&_0x1dfb19[_0x5c09b2(0x17f)]());const _0x146da1=this[_0x5c09b2(0x12c)](_0x57ff06);if(!_0x146da1)throw new _0x4eb061(_0x5c09b2(0x1eb),null,{'threadId':_0x57ff06});if(!this[_0x5c09b2(0x1ab)][_0x5c09b2(0x19c)](_0x146da1))throw new _0x4eb061(_0x5c09b2(0x131),null,{'threadId':_0x57ff06});const _0x2cef50=_0x1dfb19[_0x5c09b2(0x12d)](this[_0x5c09b2(0x1ab)][_0x5c09b2(0x190)](_0x146da1)[_0x5c09b2(0x1bb)]);_0x1dfb19[_0x5c09b2(0x162)](_0x2cef50);}[_0xd311cf(0x1d2)](_0x5f4f94,_0xb4edfe){const _0x2e4fa5=_0xd311cf;_0x5f4f94?this[_0x2e4fa5(0x167)][_0x2e4fa5(0x118)](_0xb4edfe):this[_0x2e4fa5(0x167)][_0x2e4fa5(0x122)](_0xb4edfe),this[_0x2e4fa5(0x119)](_0x2e4fa5(0x196),_0x2e4fa5(0x167),this[_0x2e4fa5(0x167)],this[_0x2e4fa5(0x167)]);}[_0xd311cf(0x199)](_0x4ed206){const _0x39c4e5=_0xd311cf;return this[_0x39c4e5(0x167)][_0x39c4e5(0x19c)](_0x4ed206)||this[_0x39c4e5(0x167)][_0x39c4e5(0x19c)](void 0x0);}[_0xd311cf(0x155)](_0x444b42,_0x47fe00){return new _0x20dbda(_0x444b42,_0x47fe00);}[_0xd311cf(0x166)](_0x467d60,_0x5839ad=_t){const _0x3d1f8d=_0xd311cf;this[_0x3d1f8d(0x1b2)][_0x3d1f8d(0x180)](_0x5839ad,_0x467d60),this[_0x3d1f8d(0x119)](_0x3d1f8d(0x14a),_0x3d1f8d(0x1b2),this[_0x3d1f8d(0x1b2)],this[_0x3d1f8d(0x1b2)]);}[_0xd311cf(0x123)](_0x1ba57b=_t){const _0xa458c8=_0xd311cf;return this[_0xa458c8(0x1b2)][_0xa458c8(0x19c)](_0x1ba57b)?this[_0xa458c8(0x1b2)][_0xa458c8(0x190)](_0x1ba57b):bt;}[_0xd311cf(0x184)]({channelId:_0x20ddba,threadId:_0x342ab2,comments:_0x209707,unlinkedAt:_0x24569b,resolvedAt:_0x261613,resolvedBy:_0x33f0ed,target:_0xaadd10,context:_0x14c882,attributes:_0x4c0808,isFromAdapter:_0x38c042,isResolvable:_0x491909,isSubmitted:_0x37f313}){const _0x27d1a6=_0xd311cf;if(_0x27d1a6(0x12b)!=typeof _0x342ab2)throw new _0x4eb061(_0x27d1a6(0x1c2),null,{'threadId':_0x342ab2});if(this[_0x27d1a6(0x183)](_0x342ab2))throw new _0x4eb061(_0x27d1a6(0x181),null,{'threadId':_0x342ab2});const _0x3eb4f7=new CommentThread(this,{'channelId':_0x20ddba,'id':_0x342ab2,'context':_0x14c882,'attributes':_0x4c0808,'unlinkedAt':_0x24569b,'resolvedAt':_0x261613,'resolvedBy':_0x33f0ed?this[_0x27d1a6(0x11a)][_0x27d1a6(0x13d)][_0x27d1a6(0x190)](_0x2ff2a6)[_0x27d1a6(0x1fb)](_0x33f0ed):null,'isResolvable':_0x491909,'isSubmitted':_0x37f313||_0x38c042});this[_0x27d1a6(0x143)][_0x27d1a6(0x180)](_0x342ab2,_0x3eb4f7);for(const _0x43c4bd of _0x209707)_0x3eb4f7[_0x27d1a6(0x15b)](this[_0x27d1a6(0x134)]({'threadId':_0x342ab2,..._0x43c4bd}));return _0xaadd10&&_0x3eb4f7[_0x27d1a6(0x14f)](_0xaadd10),_0x38c042||!_0x3eb4f7[_0x27d1a6(0x17c)]?Promise[_0x27d1a6(0x195)]():this[_0x27d1a6(0x169)]({'channelId':_0x20ddba,'threadId':_0x342ab2});}[_0xd311cf(0x169)]({channelId:_0x205c37,threadId:_0x47c68a}){const _0x542b24=_0xd311cf;if(!this[_0x542b24(0x183)](_0x47c68a))throw new _0x4eb061(_0x542b24(0x1a1),this);const _0x3c9cec=this[_0x542b24(0x12c)](_0x47c68a);if(_0x3c9cec[_0x542b24(0x1b6)]=!0x0,!this[_0x542b24(0x138)]||_0x542b24(0x194)!=typeof this[_0x542b24(0x138)][_0x542b24(0x129)])return Promise[_0x542b24(0x195)]();const {id:_0x340c70,comments:_0x4e45c3,resolvedAt:_0x33128b,resolvedBy:_0x4883e9,context:_0x559ba1,attributes:_0x12d3bc}=_0x3c9cec,_0x28dd6c=this[_0x542b24(0x11a)][_0x542b24(0x13d)][_0x542b24(0x190)](_0x542b24(0x1d5)),_0x222d1e=_0x28dd6c[_0x542b24(0x118)](_0x12d92e(this[_0x542b24(0x11a)][_0x542b24(0x1db)],_0x542b24(0x19d)));return this[_0x542b24(0x138)][_0x542b24(0x129)]({'channelId':_0x205c37,'threadId':_0x340c70,'comments':_0x4e45c3[_0x542b24(0x114)](_0x10a62a=>_0x10a62a[_0x542b24(0x1b1)]()),'resolvedAt':_0x33128b,'resolvedBy':_0x4883e9?_0x4883e9['id']:_0x4883e9,'context':_0x559ba1,'attributes':_0x12d3bc})[_0x542b24(0x193)](({comments:_0x11fa96})=>{const _0x2626cf=_0x542b24;_0x28dd6c[_0x2626cf(0x1f0)](_0x222d1e);for(const _0x442394 of _0x11fa96)this[_0x2626cf(0x1bd)]({'channelId':_0x205c37,'threadId':_0x47c68a,'commentId':_0x442394[_0x2626cf(0x1ae)],'createdAt':_0x442394[_0x2626cf(0x1e2)],'isFromAdapter':!0x0});})[_0x542b24(0x1dd)](_0x3be344=>{const _0x392ab8=_0x542b24;throw console[_0x392ab8(0x1c3)](_0x3be344),new _0x4eb061(_0x392ab8(0x147),this);});}[_0xd311cf(0x152)]({threadId:_0x2ae164,target:_0x3df6a4}){const _0x1c98db=_0xd311cf,_0x2bbb2d=this[_0x1c98db(0x12c)](_0x2ae164);if(!_0x2bbb2d)throw new _0x4eb061(_0x1c98db(0x115),this);const _0x387fca=this[_0x1c98db(0x11a)][_0x1c98db(0x13d)][_0x1c98db(0x190)](_0x1c98db(0x1d5)),_0xd24bed=this[_0x1c98db(0x11a)][_0x1c98db(0x13d)][_0x1c98db(0x190)](_0x4de513),_0x21d4d6=this[_0x1c98db(0x1dc)](_0x2bbb2d),_0x33edd7=new _0x20dbda(_0x2bbb2d,_0x21d4d6);let _0x56a95e=null;_0x21d4d6['on'](_0x1c98db(0x1ec),(_0x4ac0f7,_0xf1f5b0,_0x25aacc)=>{const _0x1eae96=_0x1c98db;_0x25aacc?_0x56a95e=_0x387fca[_0x1eae96(0x118)](_0x12d92e(this[_0x1eae96(0x11a)][_0x1eae96(0x1db)],_0x1eae96(0x19d))):_0x56a95e&&(_0x387fca[_0x1eae96(0x1f0)](_0x56a95e),_0x56a95e=null);}),this[_0x1c98db(0x1ab)][_0x1c98db(0x180)](_0x2bbb2d,_0x33edd7),this[_0x1c98db(0x1cd)][_0x1c98db(0x180)](_0x21d4d6,_0x33edd7);const _0x1a6c72=new _0x4f14f5(this[_0x1c98db(0x11a)][_0x1c98db(0x1db)],_0x21d4d6);_0x1a6c72[_0x1c98db(0x172)](_0x1c98db(0x17c))['to'](_0x21d4d6),_0x1a6c72[_0x1c98db(0x172)](_0x1c98db(0x178))['to'](_0x21d4d6,_0x1c98db(0x178),_0x21d4d6,_0x1c98db(0x17c),(_0x45b279,_0x312737)=>_0x45b279||!_0x312737),_0x1a6c72[_0x1c98db(0x172)](_0x1c98db(0x19a))['to'](_0x21d4d6),_0x1a6c72[_0x1c98db(0x1b7)]=_0x1c98db(0x187);const _0x3a775a=new _0xc2308a({'view':_0x1a6c72,'target':_0x3df6a4,'type':_0x1c98db(0x187),'isVisible':!_0x2bbb2d[_0x1c98db(0x11d)]&&!!(_0x1c98db(0x194)==typeof _0x3df6a4?_0x3df6a4():_0x3df6a4)});return _0x21d4d6['on'](_0x1c98db(0x1a5),()=>{const _0x4da5e9=_0x1c98db;_0x3a775a[_0x4da5e9(0x119)](_0x4da5e9(0x1a5));}),this[_0x1c98db(0x112)](_0x21d4d6,_0x3a775a),_0xd24bed[_0x1c98db(0x118)](_0x3a775a),_0x3a775a;}[_0xd311cf(0x112)](_0x257e39,_0x2dbbeb){const _0x42c4fb=_0xd311cf;this[_0x42c4fb(0x198)](_0x257e39,_0x42c4fb(0x189),(_0x14360c,_0x47c71a)=>{const _0x2f11c3=_0x42c4fb,_0x30e3f5=_0x47c71a['ui'][_0x2f11c3(0x1bb)][_0x2f11c3(0x16a)][_0x2f11c3(0x1f4)];_0x2dbbeb[_0x2f11c3(0x161)][_0x2f11c3(0x118)](_0x30e3f5),this[_0x2f11c3(0x11a)]instanceof _0x415d3b&&this[_0x2f11c3(0x11a)]['ui'][_0x2f11c3(0x182)][_0x2f11c3(0x118)](_0x30e3f5);},{'priority':_0x42c4fb(0x18f)}),this[_0x42c4fb(0x198)](_0x257e39,_0x42c4fb(0x1f3),(_0x35caff,_0x3d41a8)=>{const _0x1aa53d=_0x42c4fb,_0x2959dc=_0x3d41a8['ui'][_0x1aa53d(0x1bb)][_0x1aa53d(0x16a)][_0x1aa53d(0x1f4)];_0x2dbbeb[_0x1aa53d(0x161)][_0x1aa53d(0x19c)](_0x2959dc)&&_0x2dbbeb[_0x1aa53d(0x161)][_0x1aa53d(0x1f0)](_0x2959dc),this[_0x1aa53d(0x11a)]instanceof _0x415d3b&&this[_0x1aa53d(0x11a)]['ui'][_0x1aa53d(0x182)][_0x1aa53d(0x1f0)](_0x2959dc);});}[_0xd311cf(0x1c6)](_0x2fdc7a){const _0x362d92=_0xd311cf;this[_0x362d92(0x136)](_0x2fdc7a,_0x362d92(0x189)),this[_0x362d92(0x136)](_0x2fdc7a,_0x362d92(0x1f3));}[_0xd311cf(0x1dc)](_0x4e1245){const _0x3308e3=_0xd311cf,_0x2b764a=this[_0x3308e3(0x11a)][_0x3308e3(0x13d)][_0x3308e3(0x190)](_0x2ff2a6),{config:_0x3ece00,locale:_0x18aa14}=this[_0x3308e3(0x11a)],_0x387955=_0x2cdbb8(_0x3ece00[_0x3308e3(0x190)](_0x3308e3(0x1db)),_0x18aa14);return new(0x0,(_0x3ece00[_0x3308e3(0x190)](_0x3308e3(0x1ba)))[(_0x3308e3(0x15c))])(_0x18aa14,_0x4e1245,_0x2b764a['me'],{'editorConfig':{..._0x3ece00[_0x3308e3(0x190)](_0x3308e3(0x171)),'licenseKey':this[_0x3308e3(0x11a)][_0x3308e3(0x1a8)][_0x3308e3(0x190)](_0x3308e3(0x1de))},'copyMarkers':_0x3ece00[_0x3308e3(0x190)](_0x3308e3(0x1e5)),'maxCommentsWhenCollapsed':_0x3ece00[_0x3308e3(0x190)](_0x3308e3(0x120)),'maxThreadTotalWeight':_0x3ece00[_0x3308e3(0x190)](_0x3308e3(0x1d3)),'maxCommentCharsWhenCollapsed':_0x3ece00[_0x3308e3(0x190)](_0x3308e3(0x142)),'formatDateTime':_0x387955,'CommentView':_0x3ece00[_0x3308e3(0x190)](_0x3308e3(0x1ba))[_0x3308e3(0x179)]});}[_0xd311cf(0x127)]({threadId:_0x4b4d88,channelId:_0x483400,resolvedAt:_0x4f2541,resolvedBy:_0x32f096,isFromAdapter:_0x1b5204}){const _0x1c2d7b=_0xd311cf;if(!this[_0x1c2d7b(0x183)](_0x4b4d88))throw new _0x4eb061(_0x1c2d7b(0x1a1),null,{'threadId':_0x4b4d88});const _0x2fee26=this[_0x1c2d7b(0x12c)](_0x4b4d88);if(_0x2fee26[_0x1c2d7b(0x15f)])throw new _0x4eb061(_0x1c2d7b(0x1c1),null,{'threadId':_0x4b4d88});const _0x28f04a=this[_0x1c2d7b(0x11a)][_0x1c2d7b(0x13d)][_0x1c2d7b(0x190)](_0x2ff2a6);if(_0x2fee26[_0x1c2d7b(0x1ee)]=_0x28f04a[_0x1c2d7b(0x1fb)](_0x32f096),_0x2fee26[_0x1c2d7b(0x15a)]=_0x4f2541,_0x1b5204||!this[_0x1c2d7b(0x138)]||_0x1c2d7b(0x194)!=typeof this[_0x1c2d7b(0x138)][_0x1c2d7b(0x1e6)])return Promise[_0x1c2d7b(0x195)]();const _0x3d56a9=this[_0x1c2d7b(0x11a)][_0x1c2d7b(0x13d)][_0x1c2d7b(0x190)](_0x1c2d7b(0x1d5)),_0x585904=_0x3d56a9[_0x1c2d7b(0x118)](_0x12d92e(this[_0x1c2d7b(0x11a)][_0x1c2d7b(0x1db)],_0x1c2d7b(0x19d)));return this[_0x1c2d7b(0x138)][_0x1c2d7b(0x1e6)]({'channelId':_0x483400,'threadId':_0x4b4d88})[_0x1c2d7b(0x193)](({resolvedAt:_0x5a774c,resolvedBy:_0x34d827})=>{const _0x4f8cb1=_0x1c2d7b;_0x3d56a9[_0x4f8cb1(0x1f0)](_0x585904),_0x2fee26[_0x4f8cb1(0x1ee)]['id']!==_0x34d827&&(_0x2fee26[_0x4f8cb1(0x1ee)]=_0x28f04a[_0x4f8cb1(0x1fb)](_0x34d827)),_0x2fee26[_0x4f8cb1(0x15a)]=_0x5a774c;})[_0x1c2d7b(0x1dd)](_0x52c305=>{const _0x49065c=_0x1c2d7b;throw console[_0x49065c(0x1c3)](_0x52c305),new _0x4eb061(_0x49065c(0x130),this);});}[_0xd311cf(0x13a)]({threadId:_0x34b598,channelId:_0x5919b6,isFromAdapter:_0x273ccb}){const _0xcadcaf=_0xd311cf;if(!this[_0xcadcaf(0x183)](_0x34b598))throw new _0x4eb061(_0xcadcaf(0x1a1),null,{'threadId':_0x34b598});const _0x19a5e6=this[_0xcadcaf(0x12c)](_0x34b598);if(!_0x19a5e6[_0xcadcaf(0x15f)])throw new _0x4eb061(_0xcadcaf(0x11e),null,{'threadId':_0x34b598});if(_0x19a5e6[_0xcadcaf(0x1ee)]=null,_0x19a5e6[_0xcadcaf(0x15a)]=null,_0x273ccb||!this[_0xcadcaf(0x138)]||_0xcadcaf(0x194)!=typeof this[_0xcadcaf(0x138)][_0xcadcaf(0x11c)])return Promise[_0xcadcaf(0x195)]();const _0x5cd730=this[_0xcadcaf(0x11a)][_0xcadcaf(0x13d)][_0xcadcaf(0x190)](_0xcadcaf(0x1d5)),_0x2e59af=_0x5cd730[_0xcadcaf(0x118)](_0x12d92e(this[_0xcadcaf(0x11a)][_0xcadcaf(0x1db)],_0xcadcaf(0x19d)));return this[_0xcadcaf(0x138)][_0xcadcaf(0x11c)]({'channelId':_0x5919b6,'threadId':_0x34b598})[_0xcadcaf(0x193)](()=>_0x5cd730[_0xcadcaf(0x1f0)](_0x2e59af))[_0xcadcaf(0x1dd)](_0x3380e0=>{const _0x1a49bf=_0xcadcaf;throw console[_0x1a49bf(0x1c3)](_0x3380e0),new _0x4eb061(_0x1a49bf(0x1c4),this);});}[_0xd311cf(0x1ef)]({threadId:_0x5ee67c,isFromAdapter:_0x511c21}){const _0x3e24a3=_0xd311cf,_0x1bea99=this[_0x3e24a3(0x12c)](_0x5ee67c);if(!_0x1bea99)throw new _0x4eb061(_0x3e24a3(0x125),this);if(this[_0x3e24a3(0x1cc)](_0x5ee67c),this[_0x3e24a3(0x143)][_0x3e24a3(0x122)](_0x5ee67c),!_0x1bea99[_0x3e24a3(0x154)]||_0x511c21||!this[_0x3e24a3(0x138)]||_0x3e24a3(0x194)!=typeof this[_0x3e24a3(0x138)][_0x3e24a3(0x1af)])return Promise[_0x3e24a3(0x195)]();const _0x21e4eb=this[_0x3e24a3(0x11a)][_0x3e24a3(0x13d)][_0x3e24a3(0x190)](_0x3e24a3(0x1d5)),{channelId:_0x3a8b9f}=_0x1bea99,_0x5c76af=_0x21e4eb[_0x3e24a3(0x118)](_0x12d92e(this[_0x3e24a3(0x11a)][_0x3e24a3(0x1db)],_0x3e24a3(0x19d)));return this[_0x3e24a3(0x138)][_0x3e24a3(0x1af)]({'channelId':_0x3a8b9f,'threadId':_0x5ee67c})[_0x3e24a3(0x193)](()=>_0x21e4eb[_0x3e24a3(0x1f0)](_0x5c76af))[_0x3e24a3(0x1dd)](_0x136a54=>{const _0x4ffc60=_0x3e24a3;throw console[_0x4ffc60(0x1c3)](_0x136a54),new _0x4eb061(_0x4ffc60(0x1bf),this);});}[_0xd311cf(0x158)]({threadId:_0x3b2493,unlinkedAt:_0x4233a0,context:_0x18c058,attributes:_0x3b6e8f,isFromAdapter:_0x1c0de1}){const _0x3fcd42=_0xd311cf;if(_0x3fcd42(0x12b)!=typeof _0x3b2493)throw new _0x4eb061(_0x3fcd42(0x1c2),null,{'threadId':_0x3b2493});if(!this[_0x3fcd42(0x183)](_0x3b2493))throw new _0x4eb061(_0x3fcd42(0x1a1),null,{'threadId':_0x3b2493});const _0x53ae92=this[_0x3fcd42(0x12c)](_0x3b2493);let _0x3847a4=!0x1;if(void 0x0!==_0x18c058&&_0x53ae92[_0x3fcd42(0x11a)]!==_0x18c058&&(_0x53ae92[_0x3fcd42(0x11a)]=_0x18c058,_0x3847a4=!0x0),void 0x0!==_0x4233a0&&_0x53ae92[_0x3fcd42(0x128)]!==_0x4233a0&&(_0x53ae92[_0x3fcd42(0x128)]=_0x4233a0,_0x3847a4=!0x0),_0x3b6e8f&&!_0xbdefbd(_0x3b6e8f,_0x53ae92[_0x3fcd42(0x1d0)])&&(_0x53ae92[_0x3fcd42(0x1d0)]=_0x3b6e8f,_0x3847a4=!0x0),!_0x3847a4)return Promise[_0x3fcd42(0x195)]();if(!_0x53ae92[_0x3fcd42(0x154)]||_0x1c0de1||!this[_0x3fcd42(0x138)]||_0x3fcd42(0x194)!=typeof this[_0x3fcd42(0x138)][_0x3fcd42(0x13c)])return Promise[_0x3fcd42(0x195)]();const _0x317b0a=this[_0x3fcd42(0x11a)][_0x3fcd42(0x13d)][_0x3fcd42(0x190)](_0x3fcd42(0x1d5)),{channelId:_0x6b7825}=_0x53ae92,_0x20944d=_0x317b0a[_0x3fcd42(0x118)](_0x12d92e(this[_0x3fcd42(0x11a)][_0x3fcd42(0x1db)],_0x3fcd42(0x19d)));return this[_0x3fcd42(0x138)][_0x3fcd42(0x13c)]({'channelId':_0x6b7825,'threadId':_0x3b2493,'context':_0x18c058,'unlinkedAt':_0x4233a0,'attributes':_0x3b6e8f})[_0x3fcd42(0x193)](()=>_0x317b0a[_0x3fcd42(0x1f0)](_0x20944d))[_0x3fcd42(0x1dd)](_0x2fd905=>{const _0xaffe2d=_0x3fcd42;throw console[_0xaffe2d(0x1c3)](_0x2fd905),new _0x4eb061(_0xaffe2d(0x15d),this);});}[_0xd311cf(0x1cc)](_0x4be842){const _0x2e8331=_0xd311cf,_0x4217f1=this[_0x2e8331(0x11a)][_0x2e8331(0x13d)][_0x2e8331(0x190)](_0x4de513),_0x16fb83=this[_0x2e8331(0x12c)](_0x4be842);if(_0x16fb83[_0x2e8331(0x174)]=!0x1,this[_0x2e8331(0x1ab)][_0x2e8331(0x19c)](_0x16fb83)){const _0x1b582b=this[_0x2e8331(0x1ab)][_0x2e8331(0x190)](_0x16fb83),_0x50192d=_0x1b582b[_0x2e8331(0x1bb)],_0x1b5b23=_0x4217f1[_0x2e8331(0x12d)](_0x50192d);this[_0x2e8331(0x1ab)][_0x2e8331(0x122)](_0x16fb83),this[_0x2e8331(0x1cd)][_0x2e8331(0x122)](_0x50192d),_0x1b5b23&&_0x4217f1[_0x2e8331(0x1f0)](_0x1b5b23),_0x1b582b[_0x2e8331(0x13e)](),_0x50192d[_0x2e8331(0x13e)]()[_0x2e8331(0x193)](()=>{const _0xa69771=_0x2e8331;this[_0xa69771(0x1c6)](_0x50192d);});}}[_0xd311cf(0x13b)]({threadId:_0x37884e,resolvedAt:_0x4b3ac9,unlinkedAt:_0x206649}){const _0x1f4678=_0xd311cf,_0x19777e=!!_0x4b3ac9,_0x92867b=this[_0x1f4678(0x11a)][_0x1f4678(0x13d)][_0x1f4678(0x190)](_0x4de513),_0x258371=this[_0x1f4678(0x12c)](_0x37884e);if(this[_0x1f4678(0x1ab)][_0x1f4678(0x19c)](_0x258371)){const _0x58f56f=this[_0x1f4678(0x1ab)][_0x1f4678(0x190)](_0x258371)[_0x1f4678(0x1bb)],_0x480a18=_0x92867b[_0x1f4678(0x12d)](_0x58f56f);_0x480a18&&(_0x19777e&&_0x92867b[_0x1f4678(0x1be)](_0x480a18),_0x206649?_0x480a18[_0x1f4678(0x141)]=!0x1:_0x480a18[_0x1f4678(0x1b5)]());}}[_0xd311cf(0x145)](_0x5c48a8){const _0x2b6a3c=_0xd311cf,_0x1bf620=this[_0x2b6a3c(0x11a)][_0x2b6a3c(0x13d)][_0x2b6a3c(0x190)](_0x2ff2a6),_0x36cf99=_0x4efddd(_0x2b6a3c(0x1ca)+_0x5c48a8),_0x346a2b=_0x1bf620[_0x2b6a3c(0x1fb)](_0x36cf99);return _0x346a2b||_0x1bf620[_0x2b6a3c(0x1f5)]({'id':_0x36cf99,'name':_0x5c48a8});}[_0xd311cf(0x134)]({threadId:_0x3480b2,commentId:_0x13a88f=_0x310e61(),content:_0x5c0aaa,authorId:_0x6d2ed2,createdAt:_0xa63af1,attributes:_0x1af064}){const _0x4940eb=_0xd311cf;if(_0x4940eb(0x12b)!=typeof _0x13a88f)throw new _0x4eb061(_0x4940eb(0x1bc));if(_0x4940eb(0x12b)!=typeof _0x6d2ed2)throw new _0x4eb061(_0x4940eb(0x16c));if(_0x4940eb(0x12b)!=typeof _0x5c0aaa||!_0x5c0aaa[_0x4940eb(0x18e)]())throw new _0x4eb061(_0x4940eb(0x126));const _0x1a7c85=this[_0x4940eb(0x11a)][_0x4940eb(0x13d)][_0x4940eb(0x190)](_0x2ff2a6)[_0x4940eb(0x1fb)](_0x6d2ed2);if(!_0x1a7c85)throw new _0x4eb061(_0x4940eb(0x1e7),null,{'authorId':_0x6d2ed2});let _0x45e4d4=null,_0x479aa3=_0xa63af1;return _0x1af064?.[_0x4940eb(0x156)]&&(_0x45e4d4=this[_0x4940eb(0x145)](_0x1af064[_0x4940eb(0x156)][_0x4940eb(0x133)]),_0x479aa3=new Date(_0x1af064[_0x4940eb(0x156)][_0x4940eb(0x1e2)])),new Comment(this,{'threadId':_0x3480b2,'id':_0x13a88f,'author':_0x45e4d4||_0x1a7c85,'creator':_0x1a7c85,'content':_0x5c0aaa,'createdAt':_0xa63af1,'authoredAt':_0x479aa3,'attributes':_0x1af064});}[_0xd311cf(0x14d)](_0x4c2117){const _0x2e4093=_0xd311cf;let {threadId:_0x550358,content:_0x3e6f8d,attributes:_0x2376b3,isFromAdapter:_0x284b1d}=_0x4c2117;const _0x3975ae=this[_0x2e4093(0x12c)](_0x4c2117[_0x2e4093(0x1c8)]);if(!_0x3975ae)throw new _0x4eb061(_0x2e4093(0x1ea),this);const _0x406471=this[_0x2e4093(0x134)](_0x4c2117),{id:_0x3a9efb}=_0x406471;if(_0x3975ae[_0x2e4093(0x15b)](_0x406471),_0x284b1d||!this[_0x2e4093(0x138)]||_0x2e4093(0x194)!=typeof this[_0x2e4093(0x138)][_0x2e4093(0x144)]||!_0x3975ae[_0x2e4093(0x154)])return Promise[_0x2e4093(0x195)]();const _0x37c265=this[_0x2e4093(0x11a)][_0x2e4093(0x13d)][_0x2e4093(0x190)](_0x2e4093(0x1d5)),{channelId:_0x82a438}=_0x3975ae,_0x1acc5d=_0x37c265[_0x2e4093(0x118)](_0x12d92e(this[_0x2e4093(0x11a)][_0x2e4093(0x1db)],_0x2e4093(0x19d)));return _0x2376b3||(_0x2376b3={}),this[_0x2e4093(0x138)][_0x2e4093(0x144)]({'channelId':_0x82a438,'threadId':_0x550358,'commentId':_0x3a9efb,'content':_0x3e6f8d,'attributes':_0x2376b3})[_0x2e4093(0x193)](_0x213540=>{const _0x3974b1=_0x2e4093;_0x37c265[_0x3974b1(0x1f0)](_0x1acc5d),_0x213540&&this[_0x3974b1(0x1bd)]({'channelId':_0x82a438,'threadId':_0x550358,'commentId':_0x3a9efb,'createdAt':_0x213540[_0x3974b1(0x1e2)],'isFromAdapter':!0x0});})[_0x2e4093(0x1dd)](_0xad60b=>{const _0x5d0831=_0x2e4093;throw console[_0x5d0831(0x1c3)](_0xad60b),new _0x4eb061(_0x5d0831(0x1a0),this);});}[_0xd311cf(0x1bd)]({threadId:_0x6eab9d,commentId:_0x240459,content:_0x340f8c,createdAt:_0x33eff2,attributes:_0x23ef91,isFromAdapter:_0x593e15}){const _0x3e887a=_0xd311cf;if(void 0x0!==_0x340f8c&&(_0x3e887a(0x12b)!=typeof _0x340f8c||!_0x340f8c[_0x3e887a(0x18e)]()[_0x3e887a(0x17c)]))throw new _0x4eb061(_0x3e887a(0x1e1));const _0xf9f9ef=this[_0x3e887a(0x12c)](_0x6eab9d),_0x30a6ce=_0xf9f9ef[_0x3e887a(0x163)](_0x240459);if(!_0x30a6ce)throw new _0x4eb061(_0x3e887a(0x1d7),this);let _0x4a68be=!0x1;if(_0x340f8c&&_0x340f8c!==_0x30a6ce[_0x3e887a(0x1c5)]&&(_0x30a6ce[_0x3e887a(0x1df)]||_0x593e15)&&(_0x30a6ce[_0x3e887a(0x1c5)]=_0x340f8c,_0x4a68be=!0x0),_0x33eff2&&_0x33eff2!==_0x30a6ce[_0x3e887a(0x1e2)]&&(_0x30a6ce[_0x3e887a(0x1e2)]=_0x33eff2,_0x30a6ce[_0x3e887a(0x1d0)]&&_0x30a6ce[_0x3e887a(0x1d0)][_0x3e887a(0x156)]||(_0x30a6ce[_0x3e887a(0x1d4)]=_0x33eff2),_0x4a68be=!0x0),_0x23ef91&&!_0xbdefbd(_0x23ef91,_0x30a6ce[_0x3e887a(0x1d0)])&&(_0x30a6ce[_0x3e887a(0x1d0)]=_0x23ef91,_0x4a68be=!0x0),!_0x4a68be)return Promise[_0x3e887a(0x195)]();if(_0xf9f9ef[_0x3e887a(0x119)](_0x3e887a(0x185)),_0x593e15||!this[_0x3e887a(0x138)]||_0x3e887a(0x194)!=typeof this[_0x3e887a(0x138)][_0x3e887a(0x17e)])return Promise[_0x3e887a(0x195)]();const _0xf9447c=this[_0x3e887a(0x11a)][_0x3e887a(0x13d)][_0x3e887a(0x190)](_0x3e887a(0x1d5)),{channelId:_0x5b3e51}=this[_0x3e887a(0x12c)](_0x30a6ce[_0x3e887a(0x1c8)]),_0x18dfb1=_0xf9447c[_0x3e887a(0x118)](_0x12d92e(this[_0x3e887a(0x11a)][_0x3e887a(0x1db)],_0x3e887a(0x19d)));return this[_0x3e887a(0x138)][_0x3e887a(0x17e)]({'channelId':_0x5b3e51,'threadId':_0x6eab9d,'commentId':_0x240459,'content':_0x340f8c,'attributes':_0x23ef91})[_0x3e887a(0x193)](()=>_0xf9447c[_0x3e887a(0x1f0)](_0x18dfb1))[_0x3e887a(0x1dd)](_0x1fec61=>{const _0x2a2928=_0x3e887a;throw console[_0x2a2928(0x1c3)](_0x1fec61),new _0x4eb061(_0x2a2928(0x1d9),this);});}[_0xd311cf(0x16d)]({threadId:_0x4afe94,commentId:_0x2e6e39,isFromAdapter:_0x339c95}){const _0x3a44af=_0xd311cf,_0x11725d=this[_0x3a44af(0x12c)](_0x4afe94),_0x282141=_0x11725d[_0x3a44af(0x163)](_0x2e6e39);if(!_0x282141)throw new _0x4eb061(_0x3a44af(0x11f),this);if(_0x11725d[_0x3a44af(0x121)](_0x282141),_0x339c95||!this[_0x3a44af(0x138)]||_0x3a44af(0x194)!=typeof this[_0x3a44af(0x138)][_0x3a44af(0x1f8)])return Promise[_0x3a44af(0x195)]();const _0x5593ef=this[_0x3a44af(0x11a)][_0x3a44af(0x13d)][_0x3a44af(0x190)](_0x3a44af(0x1d5)),{channelId:_0x230d32}=_0x11725d,_0x30b2f7=_0x5593ef[_0x3a44af(0x118)](_0x12d92e(this[_0x3a44af(0x11a)][_0x3a44af(0x1db)],_0x3a44af(0x19d)));return this[_0x3a44af(0x138)][_0x3a44af(0x1f8)]({'channelId':_0x230d32,'threadId':_0x4afe94,'commentId':_0x2e6e39})[_0x3a44af(0x193)](()=>_0x5593ef[_0x3a44af(0x1f0)](_0x30b2f7))[_0x3a44af(0x1dd)](_0x3317c4=>{const _0x584758=_0x3a44af;throw console[_0x584758(0x1c3)](_0x3317c4),new _0x4eb061(_0x584758(0x186),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x137755(){[_0xd311cf(0x16b)];['id'];[_0xd311cf(0x174)];[_0xd311cf(0x1b6)];[_0xd311cf(0x1ba)];[_0xd311cf(0x135)];constructor(_0x5745c7,_0x3feac6){const _0x31936b=_0xd311cf;super();const _0x527762=_0x3feac6[_0x31936b(0x11b)];this[_0x31936b(0x16b)]=_0x3feac6[_0x31936b(0x16b)],this['id']=_0x3feac6['id'],this[_0x31936b(0x1ba)]=new _0x13a5a2(),this[_0x31936b(0x135)]=_0x5745c7,this[_0x31936b(0x174)]=!0x1,this[_0x31936b(0x1b6)]=_0x3feac6[_0x31936b(0x154)],this[_0x31936b(0x180)](_0x31936b(0x1b0),!0x0),this[_0x31936b(0x172)](_0x31936b(0x199))['to'](_0x5745c7,_0x31936b(0x1b2),_0x5745c7,_0x31936b(0x167),()=>_0x5745c7[_0x31936b(0x199)](this[_0x31936b(0x16b)])),this[_0x31936b(0x172)](_0x31936b(0x124))['to'](_0x5745c7,_0x31936b(0x1b2),()=>_0x5745c7[_0x31936b(0x123)](this[_0x31936b(0x16b)])[_0x31936b(0x139)]),this[_0x31936b(0x172)](_0x31936b(0x113))['to'](_0x5745c7,_0x31936b(0x1b2),()=>{const _0x4902eb=_0x31936b,_0x1de174=_0x5745c7[_0x4902eb(0x123)](this[_0x4902eb(0x16b)]);return _0x1de174[_0x4902eb(0x149)]||_0x1de174[_0x4902eb(0x139)];}),this[_0x31936b(0x172)](_0x31936b(0x11b))['to'](_0x5745c7,_0x31936b(0x1b2),()=>_0x527762&&_0x5745c7[_0x31936b(0x123)](this[_0x31936b(0x16b)])[_0x31936b(0x195)]),this[_0x31936b(0x180)](_0x31936b(0x11a),_0x3feac6[_0x31936b(0x11a)]),this[_0x31936b(0x172)](_0x31936b(0x11d))['to'](this,_0x31936b(0x15a),this,_0x31936b(0x128),(_0x29bb5c,_0x5c73ad)=>_0x29bb5c?_0x5c73ad?_0x29bb5c<_0x5c73ad?_0x29bb5c:_0x5c73ad:_0x29bb5c:_0x5c73ad),this[_0x31936b(0x180)](_0x31936b(0x128),_0x3feac6[_0x31936b(0x128)]||null),this[_0x31936b(0x180)](_0x31936b(0x15a),_0x3feac6[_0x31936b(0x15a)]||null),this[_0x31936b(0x180)](_0x31936b(0x1ee),_0x3feac6[_0x31936b(0x1ee)]||null),this[_0x31936b(0x172)](_0x31936b(0x15f))['to'](this,_0x31936b(0x15a),_0x17147a=>!!_0x17147a),this[_0x31936b(0x180)](_0x31936b(0x1d0),_0x3feac6[_0x31936b(0x1d0)]||{});}get[_0xd311cf(0x153)](){const _0x47e4c4=_0xd311cf;return Array[_0x47e4c4(0x1ce)](this[_0x47e4c4(0x1ba)])[_0x47e4c4(0x1d8)]((_0x352ca8,_0x1f402d)=>_0x352ca8+_0x1f402d[_0x47e4c4(0x153)],0x0);}get[_0xd311cf(0x17c)](){const _0x35de0c=_0xd311cf;return this[_0x35de0c(0x1ba)][_0x35de0c(0x17c)];}get[_0xd311cf(0x1fa)](){const _0x219509=_0xd311cf;return this[_0x219509(0x174)];}get[_0xd311cf(0x154)](){const _0x5df135=_0xd311cf;return this[_0x5df135(0x1b6)];}[_0xd311cf(0x175)](){const _0x38f387=_0xd311cf,{channelId:_0x2703bf,id:_0x39c527}=this;this[_0x38f387(0x135)][_0x38f387(0x119)](Nt(_0x38f387(0x12e),_0x2703bf),{'channelId':_0x2703bf,'threadId':_0x39c527});}[_0xd311cf(0x116)](_0x37242f){const _0xc8c637=_0xd311cf;this[_0xc8c637(0x1a3)]({'unlinkedAt':_0x37242f});}[_0xd311cf(0x195)]({resolvedAt:_0x978c03=new Date(),resolvedBy:_0x42f6ad=null,isFromAdapter:_0x414fb3=!0x1}={}){const _0x2c058a=_0xd311cf,_0x21e7d6=this[_0x2c058a(0x135)][_0x2c058a(0x11a)][_0x2c058a(0x13d)][_0x2c058a(0x190)](_0x2ff2a6)['me'],{channelId:_0xc5fa97,id:_0x13cb18}=this;this[_0x2c058a(0x135)][_0x2c058a(0x119)](Nt(_0x2c058a(0x1e6),_0xc5fa97),{'channelId':_0xc5fa97,'threadId':_0x13cb18,'resolvedAt':_0x978c03,'resolvedBy':_0x42f6ad||_0x21e7d6['id'],'isFromAdapter':_0x414fb3});}[_0xd311cf(0x132)]({isFromAdapter:_0x38175a=!0x1}={}){const _0x57aed0=_0xd311cf,{channelId:_0x519ebb,id:_0x4f83db}=this;this[_0x57aed0(0x135)][_0x57aed0(0x119)](Nt(_0x57aed0(0x11c),_0x519ebb),{'channelId':_0x519ebb,'threadId':_0x4f83db,'isFromAdapter':_0x38175a});}[_0xd311cf(0x1a2)](_0x3c499c){const _0x55b0bd=_0xd311cf;this[_0x55b0bd(0x11a)]||this[_0x55b0bd(0x1a3)]({'context':_0x3c499c});}[_0xd311cf(0x164)](_0x28b0aa,_0x1b5d46){const _0x1846b3=_0xd311cf,_0x5179fd=_0x1b2a28(this[_0x1846b3(0x1d0)]);_0x2a5625(_0x5179fd,_0x28b0aa,_0x1b5d46),this[_0x1846b3(0x1a3)]({'attributes':_0x5179fd});}[_0xd311cf(0x13f)](_0x4b3dbf){const _0x1b9364=_0xd311cf,_0x2e0e8b=_0x1b2a28(this[_0x1b9364(0x1d0)]);_0xf59091(_0x2e0e8b,_0x4b3dbf),this[_0x1b9364(0x1a3)]({'attributes':_0x2e0e8b});}[_0xd311cf(0x1f0)]({isFromAdapter:_0x19f631=!0x1}={}){const _0x15235f=_0xd311cf,{channelId:_0x1d2d05,id:_0x462d6c}=this;this[_0x15235f(0x135)][_0x15235f(0x119)](Nt(_0x15235f(0x1af),_0x1d2d05),{'channelId':_0x1d2d05,'threadId':_0x462d6c,'isFromAdapter':_0x19f631});}[_0xd311cf(0x14f)](_0x58e75c){const _0x52afcf=_0xd311cf;return this[_0x52afcf(0x135)][_0x52afcf(0x152)]({'threadId':this['id'],'target':_0x58e75c});}[_0xd311cf(0x144)](_0x5c4d30){const _0x17fd06=_0xd311cf,{channelId:_0x1c406b,id:_0x11f055}=this;this[_0x17fd06(0x135)][_0x17fd06(0x119)](Nt(_0x17fd06(0x144),_0x1c406b,_0x11f055),Object[_0x17fd06(0x1f9)]({'channelId':_0x1c406b,'threadId':_0x11f055},_0x5c4d30));}[_0xd311cf(0x163)](_0x36f27f){const _0xbd951e=_0xd311cf;if(_0xbd951e(0x12b)!=typeof _0x36f27f)throw new _0x4eb061(_0xbd951e(0x1b8),null,{'commentId':_0x36f27f});return this[_0xbd951e(0x1ba)][_0xbd951e(0x190)](_0x36f27f);}[_0xd311cf(0x1b1)](){const _0xada3fe=_0xd311cf;return{'threadId':this['id'],'context':this[_0xada3fe(0x11a)],'unlinkedAt':this[_0xada3fe(0x128)],'resolvedAt':this[_0xada3fe(0x15a)],'resolvedBy':this[_0xada3fe(0x1ee)]?this[_0xada3fe(0x1ee)]['id']:null,'archivedAt':this[_0xada3fe(0x11d)],'comments':this[_0xada3fe(0x1ba)][_0xada3fe(0x114)](_0x2d429a=>_0x2d429a[_0xada3fe(0x1b1)]()),'attributes':this[_0xada3fe(0x1d0)]};}[_0xd311cf(0x15b)](_0xfb24a9){const _0x65db70=_0xd311cf;return this[_0x65db70(0x198)](_0xfb24a9,_0x65db70(0x1d1),()=>{const _0xc74cc1=_0x65db70,_0x1778ea=this[_0xc74cc1(0x19e)](_0xfb24a9),_0x355284=this[_0xc74cc1(0x1ba)];_0x1778ea-0x1!=_0x355284[_0xc74cc1(0x159)](_0xfb24a9)&&_0x1778ea+0x1!=_0x355284[_0xc74cc1(0x159)](_0xfb24a9)&&(this[_0xc74cc1(0x121)](_0xfb24a9),this[_0xc74cc1(0x15b)](_0xfb24a9));}),this[_0x65db70(0x1ba)][_0x65db70(0x118)](_0xfb24a9,this[_0x65db70(0x19e)](_0xfb24a9));}[_0xd311cf(0x1a3)](_0x5e6482){const _0xd9631=_0xd311cf,{channelId:_0x21e0ff,id:_0x4f0037}=this;this[_0xd9631(0x135)][_0xd9631(0x119)](Nt(_0xd9631(0x13c),_0x21e0ff),{..._0x5e6482,'channelId':_0x21e0ff,'threadId':_0x4f0037});}[_0xd311cf(0x121)](_0x336b15){const _0x32a220=_0xd311cf;return this[_0x32a220(0x136)](_0x336b15),_0x336b15[_0x32a220(0x13e)](),this[_0x32a220(0x1ba)][_0x32a220(0x1f0)](_0x336b15);}[_0xd311cf(0x19e)](_0x47fe7c){const _0x404b66=_0xd311cf,_0x373fcd=this[_0x404b66(0x1ba)][_0x404b66(0x146)](_0x23fe1b=>new Date(_0x23fe1b[_0x404b66(0x1d4)])[_0x404b66(0x18b)]()>new Date(_0x47fe7c[_0x404b66(0x1d4)])[_0x404b66(0x18b)]());return _0x373fcd?this[_0x404b66(0x1ba)][_0x404b66(0x159)](_0x373fcd):this[_0x404b66(0x17c)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x137755(){['id'];[_0xd311cf(0x1c8)];[_0xd311cf(0x12f)];[_0xd311cf(0x1e0)];[_0xd311cf(0x1ed)];[_0xd311cf(0x1e2)];[_0xd311cf(0x135)];constructor(_0x39ccca,_0x11cc3d){const _0x46e7b3=_0xd311cf;super();const _0x151e5f=_0x39ccca[_0x46e7b3(0x11a)][_0x46e7b3(0x13d)][_0x46e7b3(0x190)](_0x2ff2a6)['me'],_0x3d2c91=_0x39ccca[_0x46e7b3(0x12c)](_0x11cc3d[_0x46e7b3(0x1c8)]),_0x3a4242=0x0===_0x3d2c91[_0x46e7b3(0x1ba)][_0x46e7b3(0x17c)],_0x430d50=_0x151e5f===_0x11cc3d[_0x46e7b3(0x12f)];this['id']=_0x11cc3d['id'],this[_0x46e7b3(0x1c8)]=_0x11cc3d[_0x46e7b3(0x1c8)],this[_0x46e7b3(0x12f)]=_0x11cc3d[_0x46e7b3(0x12f)],this[_0x46e7b3(0x1e0)]=_0x11cc3d[_0x46e7b3(0x1e0)],this[_0x46e7b3(0x1ed)]=Boolean(_0x11cc3d[_0x46e7b3(0x1d0)]&&_0x11cc3d[_0x46e7b3(0x1d0)][_0x46e7b3(0x156)]),this[_0x46e7b3(0x180)](_0x46e7b3(0x1c5),_0x11cc3d[_0x46e7b3(0x1c5)]),this[_0x46e7b3(0x1e2)]=_0x11cc3d[_0x46e7b3(0x1e2)]||new Date(),this[_0x46e7b3(0x180)](_0x46e7b3(0x1d4),_0x11cc3d[_0x46e7b3(0x1d4)]||new Date()),this[_0x46e7b3(0x172)](_0x46e7b3(0x15a))['to'](_0x3d2c91,_0x46e7b3(0x15a)),this[_0x46e7b3(0x180)](_0x46e7b3(0x1d0),_0x11cc3d[_0x46e7b3(0x1d0)]||{}),this[_0x46e7b3(0x172)](_0x46e7b3(0x1df))['to'](_0x39ccca,_0x46e7b3(0x1b2),()=>{const _0x326a03=_0x46e7b3,_0x240355=_0x39ccca[_0x326a03(0x123)](_0x3d2c91[_0x326a03(0x16b)])[_0x326a03(0x149)],_0x4271a5=_0x39ccca[_0x326a03(0x123)](_0x3d2c91[_0x326a03(0x16b)])[_0x326a03(0x1b9)];return _0x430d50&&_0x240355||!_0x430d50&&_0x4271a5;}),this[_0x46e7b3(0x172)](_0x46e7b3(0x124))['to'](_0x3d2c91,_0x46e7b3(0x124),_0x39ccca,_0x46e7b3(0x1b2),_0x135e09=>{const _0x20cfe8=_0x46e7b3,_0x59e99c=_0x39ccca[_0x20cfe8(0x123)](_0x3d2c91[_0x20cfe8(0x16b)])[_0x20cfe8(0x149)],_0x3888da=_0x39ccca[_0x20cfe8(0x123)](_0x3d2c91[_0x20cfe8(0x16b)])[_0x20cfe8(0x1b9)];return _0x430d50&&_0x59e99c||_0x135e09&&_0x3a4242||!_0x430d50&&_0x3888da&&!_0x3a4242;}),this[_0x46e7b3(0x172)](_0x46e7b3(0x199))['to'](_0x3d2c91,_0x46e7b3(0x199)),this[_0x46e7b3(0x135)]=_0x39ccca;}get[_0xd311cf(0x153)](){const _0x3482b6=_0xd311cf;return Math[_0x3482b6(0x1da)](function(_0x451e5f){const _0x397711=_0x3482b6,_0x359776=document[_0x397711(0x150)](_0x397711(0x12a));return _0x359776[_0x397711(0x1b3)]=_0x451e5f,_0x359776[_0x397711(0x1a4)][_0x397711(0x17c)];}(this[_0x3482b6(0x1c5)]),0xc8);}[_0xd311cf(0x1e9)](_0x4e825c){const _0x3e1313=_0xd311cf,{threadId:_0x18dce4,id:_0x245db9}=this;if(!this[_0x3e1313(0x135)][_0x3e1313(0x183)](_0x18dce4))throw new _0x4eb061(_0x3e1313(0x1f2),this);const {channelId:_0x5c5c5d}=this[_0x3e1313(0x135)][_0x3e1313(0x12c)](_0x18dce4);this[_0x3e1313(0x135)][_0x3e1313(0x119)](Nt(_0x3e1313(0x17e),_0x5c5c5d,_0x18dce4),{'channelId':_0x5c5c5d,'threadId':_0x18dce4,'commentId':_0x245db9,..._0x4e825c});}[_0xd311cf(0x164)](_0x48e091,_0x4b4876){const _0xc88f89=_0xd311cf,_0x47fe47=_0x1b2a28(this[_0xc88f89(0x1d0)]);_0x2a5625(_0x47fe47,_0x48e091,_0x4b4876),this[_0xc88f89(0x1e9)]({'attributes':_0x47fe47});}[_0xd311cf(0x13f)](_0x22a64a){const _0x16b6ce=_0xd311cf,_0x427994=_0x1b2a28(this[_0x16b6ce(0x1d0)]);_0xf59091(_0x427994,_0x22a64a),this[_0x16b6ce(0x1e9)]({'attributes':_0x427994});}[_0xd311cf(0x1f0)](_0x3211a5={}){const _0x894bf5=_0xd311cf;if(!_0x3211a5[_0x894bf5(0x137)]&&!this[_0x894bf5(0x124)])return;const {threadId:_0x5c03d7,id:_0x56554e}=this;if(!this[_0x894bf5(0x135)][_0x894bf5(0x183)](_0x5c03d7))throw new _0x4eb061(_0x894bf5(0x17b),this);const {channelId:_0x3396a6}=this[_0x894bf5(0x135)][_0x894bf5(0x12c)](_0x5c03d7);this[_0x894bf5(0x135)][_0x894bf5(0x119)](Nt(_0x894bf5(0x1f8),_0x3396a6,_0x5c03d7),{'channelId':_0x3396a6,'threadId':_0x5c03d7,'commentId':_0x56554e,..._0x3211a5});}[_0xd311cf(0x1b1)](){const _0x129ddb=_0xd311cf;return{'commentId':this['id'],'content':this[_0x129ddb(0x1c5)],'createdAt':this[_0x129ddb(0x1e2)],'authorId':this[_0x129ddb(0x1e0)]['id'],'attributes':this[_0x129ddb(0x1d0)]};}[_0xd311cf(0x13e)](){const _0x1f548b=_0xd311cf;this[_0x1f548b(0x136)]();}}function Nt(_0x10e314,..._0x23d8bc){for(const _0x409b87 of _0x23d8bc)void 0x0!==_0x409b87&&(_0x10e314+=':'+String(_0x409b87));return _0x10e314;}function _0x500e(){const _0x1987e4=['getUser','_bindAnnotationToEditors','canComment','map','commentsrepository-attach-missing-comment-thread','setUnlinkedAt','CommentsRepository','add','fire','context','isResolvable','reopenCommentThread','archivedAt','commentsrepository-reopen-comment-thread','commentsrepository-remove-missing-comment','comments.maxCommentsWhenCollapsed','_remove','delete','getPermissions','isRemovable','commentsrepository-remove-missing-comment-thread','commentsrepository-invalid-comment-content','_resolveCommentThread','unlinkedAt','addCommentThread','div','string','getCommentThread','getByInnerView','submitCommentThread','author','commentsrepository-resolve-comment-thread-internal-error','commentsrepository-active-not-attached','reopen','authorName','_createNewComment','_repository','stopListening','isFromAdapter','adapter','admin','_reopenCommentThread','_updateActiveAnnotation','updateCommentThread','plugins','destroy','removeAttribute','filter','isVisible','comments.maxCommentCharsWhenCollapsed','_threads','addComment','_getExternalAuthor','find','commentsrepository-add-comment-thread-internal-error','init','write','change:_permissions','_adapter','312PIRFKR','_addComment','commentThreadInputView','attachTo','createElement','openNewCommentThread','_attachCommentThread','weight','isSubmitted','createCommentThreadController','@external','warn','_updateCommentThread','getIndex','resolvedAt','_add','CommentThreadView','commentsrepository-update-comment-thread-internal-error','getAnnotationForCommentThread','isResolved','fetchCommentThread','focusableElements','activate','getComment','setAttribute','commentsrepository-adapter-already-set','setPermissions','_readOnlyChannels','once','_submitCommentThread','body','channelId','commentsrepository-invalid-comment-authorid','_removeComment','model','isPremiumPlugin','27618uLfSHm','comments.editorConfig','bind','change:activeAnnotations','_isAttached','submit','commentsrepository-missing-target','innerView','isDirty','CommentView','comments.CommentThreadView','commentsrepository-remove-comment-missing-comment-thread','length','requires','updateComment','deactivateAll','set','commentsrepository-duplicated-comment-thread-id','focusTracker','hasCommentThread','_addCommentThread','commentUpdated','commentsrepository-remove-comment-internal-error','comment','lowest','editorReady','1699446XtZgyR','getTime','71829CRhQUX','3292770nSNZYH','trim','highest','get','isOfficialPlugin','values','then','function','resolve','change:_readOnlyChannels','focus','listenTo','isReadOnly','isActive','setActiveCommentThread','has','PENDING_ACTION_COMMENT_THREAD','_findOptimalIndex','comments.CommentView','commentsrepository-add-comment-internal-error','commentsrepository-missing-comment-thread','setContext','_update','textContent','escape','define','2638YfgZXs','config','106XdCpNi','commentsrepository-fetch-comment-thread','_threadToController','commentInputView','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','commentId','removeCommentThread','_hasTargetInContent','toJSON','_permissions','innerHTML','commentsListView','refreshVisibility','_isSubmitted','type','commentsrepository-get-comment-invalid-id','modifyAll','comments','view','commentsrepository-invalid-commentid','_updateComment','_removeActiveAnnotation','commentsrepository-remove-comment-thread-internal-error','pluginName','commentsrepository-resolved-comment-thread','commentsrepository-invalid-comment-thread-id','error','commentsrepository-reopen-comment-thread-internal-error','content','_unbindEditors','noChannel','threadId','312VZwVPc','external:','getCommentThreads','_detachCommentThread','_viewToController','from','activeCommentThread','attributes','change:authoredAt','switchReadOnly','comments.maxThreadTotalWeight','authoredAt','PendingActions','12092JMwDLP','commentsrepository-update-missing-comment','reduce','commentsrepository-update-comment-internal-error','max','locale','_createCommentThreadView','catch','licenseKey','isEditable','creator','commentsrepository-update-comment-invalid-content','createdAt','95jGVUoO','1597476LhGLEH','comments.copyMarkers','resolveCommentThread','commentsrepository-add-comment-user-not-exists','getCommentThreadForAnnotation','update','commentsrepository-add-comment-to-missing-comment-thread','commentsrepository-active-missing-comment-thread','change:isDirty','isExternal','resolvedBy','_removeCommentThread','remove','push','commentsrepository-update-comment-missing-comment-thread','editorDestroyed','bodyCollectionContainer','addUser','66RTlSrx','commentsrepository-missing-thread-and-adapter-method','removeComment','assign','isAttached'];_0x500e=function(){return _0x1987e4;};return _0x500e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x259598=_0x3d35;(function(_0x293f0d,_0x4d7c5c){const _0x3a2354=_0x3d35,_0x3d8540=_0x293f0d();while(!![]){try{const _0x3a171d=parseInt(_0x3a2354(0x113))/0x1*(parseInt(_0x3a2354(0xfe))/0x2)+parseInt(_0x3a2354(0xfc))/0x3*(-parseInt(_0x3a2354(0xc9))/0x4)+parseInt(_0x3a2354(0xec))/0x5*(parseInt(_0x3a2354(0xf2))/0x6)+parseInt(_0x3a2354(0x117))/0x7+parseInt(_0x3a2354(0xf8))/0x8+-parseInt(_0x3a2354(0xde))/0x9*(parseInt(_0x3a2354(0xf5))/0xa)+-parseInt(_0x3a2354(0x10f))/0xb*(parseInt(_0x3a2354(0xe7))/0xc);if(_0x3a171d===_0x4d7c5c)break;else _0x3d8540['push'](_0x3d8540['shift']());}catch(_0x23aa59){_0x3d8540['push'](_0x3d8540['shift']());}}}(_0x3911,0x73b74));import{Plugin as _0x5339b8}from'ckeditor5/src/core.js';import{IconAddComment as _0x4d4deb}from'ckeditor5/src/icons.js';function _0x3d35(_0x3174f6,_0x418976){const _0x3911b5=_0x3911();return _0x3d35=function(_0x3d35d7,_0x118618){_0x3d35d7=_0x3d35d7-0xc4;let _0x5e96ca=_0x3911b5[_0x3d35d7];return _0x5e96ca;},_0x3d35(_0x3174f6,_0x418976);}import{CommentsRepository as _0x55595e}from'./commentsrepository.js';import{CommentsEditing as _0x56649a}from'./commentsediting.js';import{EditorAnnotations as _0x253ba6}from'../annotations/editorannotations.js';import{ButtonView as _0x62fb91,MenuBarMenuListItemButtonView as _0x18f394}from'ckeditor5/src/ui.js';import{Annotations as _0xe74ef0}from'../annotations/annotations.js';import{CommentsListView as _0x2235b3}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x32cd7a}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x3e78b}from'../utils/common-translations.js';export class CommentsUI extends _0x5339b8{[_0x259598(0xc6)];[_0x259598(0xed)];static get[_0x259598(0xdc)](){const _0xea320f=_0x259598;return _0xea320f(0xe0);}static get[_0x259598(0xf7)](){return!0x0;}static get[_0x259598(0xe4)](){return!0x0;}static get[_0x259598(0xf4)](){return[_0x55595e,_0x56649a,_0x253ba6,_0xe74ef0];}get[_0x259598(0x110)](){return _0x2235b3;}get[_0x259598(0x109)](){return _0x32cd7a;}[_0x259598(0xcd)](){const _0x2e5ae1=_0x259598,_0x5bfa09=this[_0x2e5ae1(0xe6)],_0x31cea3=_0x5bfa09[_0x2e5ae1(0xcf)][_0x2e5ae1(0xc8)](_0x55595e),_0x38f344=_0x5bfa09[_0x2e5ae1(0xcf)][_0x2e5ae1(0xc8)](_0x56649a),_0x413d6e=_0x5bfa09[_0x2e5ae1(0xcf)][_0x2e5ae1(0xc8)](_0xe74ef0),_0x35992d=_0x5bfa09[_0x2e5ae1(0xcf)][_0x2e5ae1(0xc8)](_0x253ba6);_0x5bfa09['ui'][_0x2e5ae1(0x10b)][_0x2e5ae1(0x100)](_0x2e5ae1(0xf9),()=>{const _0x3db531=_0x2e5ae1,_0x37da11=this[_0x3db531(0xfb)](_0x62fb91);return _0x37da11[_0x3db531(0xe5)]=!0x0,_0x37da11;}),_0x5bfa09['ui'][_0x2e5ae1(0x10b)][_0x2e5ae1(0x100)](_0x2e5ae1(0xdd),()=>this[_0x2e5ae1(0xfb)](_0x18f394)),_0x35992d[_0x2e5ae1(0xd7)](()=>{const _0x3fb9ad=_0x2e5ae1,_0x398708=[];for(const [_0x48e487,_0x352bc7]of _0x31cea3[_0x3fb9ad(0x11c)]){const _0x3452e7=_0x38f344[_0x3fb9ad(0xdf)](_0x48e487['id']),_0xdc4186=_0x3452e7[_0x3fb9ad(0x11a)](_0x28aa6d=>_0x28aa6d[_0x3fb9ad(0x10d)]());_0x3452e7[_0x3fb9ad(0x11b)]>0x0&&_0x398708[_0x3fb9ad(0xf0)]([_0x352bc7[_0x3fb9ad(0x105)],_0xdc4186]);}return _0x398708;}),this[_0x2e5ae1(0xd3)](_0x413d6e,_0x2e5ae1(0xee),(_0x437677,_0x310b02,_0x2d6172)=>{const _0x5f1a3a=_0x2e5ae1,_0x352a26=Array[_0x5f1a3a(0x10e)](_0x2d6172)[_0x5f1a3a(0x11a)](_0x1cfb2b=>_0x1cfb2b[_0x5f1a3a(0x101)])[_0x5f1a3a(0x10c)](_0x53b7d6=>_0x31cea3[_0x5f1a3a(0xe9)][_0x5f1a3a(0xf6)](_0x53b7d6));if(!_0x352a26)return void(_0x38f344[_0x5f1a3a(0xd2)]=null);const _0x1980f6=_0x31cea3[_0x5f1a3a(0xe9)][_0x5f1a3a(0xc8)](_0x352a26)[_0x5f1a3a(0xd4)]['id'],_0x1db0eb=_0x5f1a3a(0xef)+_0x1980f6;_0x1980f6&&_0x38f344[_0x5f1a3a(0xe2)](_0x1980f6)?_0x38f344[_0x5f1a3a(0xd2)]=_0x1db0eb:_0x38f344[_0x5f1a3a(0xd2)]&&(_0x38f344[_0x5f1a3a(0xd2)]=null);}),this[_0x2e5ae1(0xd3)](_0x31cea3,_0x2e5ae1(0xd1),(_0x24f835,{threadId:_0x487dbf,isFromAdapter:_0x5e14ee})=>{const _0x497d0a=_0x2e5ae1;!_0x5e14ee&&_0x5bfa09['ui'][_0x497d0a(0xe3)][_0x497d0a(0xfa)]&&_0x38f344[_0x497d0a(0xe2)](_0x487dbf)&&_0x5bfa09[_0x497d0a(0x111)][_0x497d0a(0x105)][_0x497d0a(0xd6)]();},{'priority':_0x2e5ae1(0x104)}),this[_0x2e5ae1(0xd3)](_0x31cea3,_0x2e5ae1(0xca),(_0x166abe,{threadId:_0x4c8304,isFromAdapter:_0x167473})=>{const _0x45a227=_0x2e5ae1;if(_0x167473||!_0x38f344[_0x45a227(0xe2)](_0x4c8304)||!_0x31cea3[_0x45a227(0xda)](_0x4c8304))return;0x1===_0x31cea3[_0x45a227(0xfd)](_0x4c8304)[_0x45a227(0x11b)]&&(_0x5bfa09[_0x45a227(0x111)][_0x45a227(0x105)][_0x45a227(0xd6)](),_0x166abe[_0x45a227(0xeb)]());},{'priority':_0x2e5ae1(0xea)}),this[_0x2e5ae1(0xc6)]=this[_0x2e5ae1(0xe6)][_0x2e5ae1(0x115)][_0x2e5ae1(0xc8)](_0x2e5ae1(0xc6));const _0x4b939e=this[_0x2e5ae1(0xe6)];this[_0x2e5ae1(0xed)]=setInterval(()=>{const _0x3a0055=_0x2e5ae1;let _0x12bdda;for(const _0x6f3c13 in _0x4b939e){const _0x5199f9=_0x6f3c13,_0x3bd172=_0x4b939e[_0x5199f9];if(_0x3a0055(0xdb)==_0x3bd172||_0x3a0055(0xd9)==_0x3bd172||_0x3a0055(0xc7)==_0x3bd172||_0x3a0055(0xff)==_0x3bd172||_0x3a0055(0x114)==_0x3bd172||_0x3a0055(0xc5)==_0x3bd172||_0x3a0055(0xe8)==_0x3bd172||_0x3a0055(0x10a)==_0x3bd172){delete _0x4b939e[_0x5199f9],_0x12bdda=_0x3bd172,clearInterval(this[_0x3a0055(0xed)]),this[_0x3a0055(0xed)]=void 0x0;break;}}_0x3a0055(0xd9)==_0x12bdda&&_0x4b939e[_0x3a0055(0xc4)](_0x3a0055(0x108)),_0x3a0055(0xc7)==_0x12bdda&&_0x4b939e[_0x3a0055(0xc4)](_0x3a0055(0x112)),_0x3a0055(0xff)==_0x12bdda&&_0x4b939e[_0x3a0055(0xc4)](_0x3a0055(0x116)),_0x3a0055(0x114)==_0x12bdda&&_0x4b939e[_0x3a0055(0xc4)](_0x3a0055(0xe1),_0x3a0055(0xf3)),_0x3a0055(0xc5)==_0x12bdda&&_0x4b939e[_0x3a0055(0xc4)](_0x3a0055(0x103)),_0x3a0055(0xe8)==_0x12bdda&&_0x4b939e[_0x3a0055(0xc4)](_0x3a0055(0xce)),_0x3a0055(0x10a)==_0x12bdda&&_0x4b939e[_0x3a0055(0xc4)](_0x3a0055(0xd8));},0x3e8);}[_0x259598(0xcb)](){const _0x1e3826=_0x259598;super[_0x1e3826(0xcb)](),this[_0x1e3826(0xed)]&&clearInterval(this[_0x1e3826(0xed)]);}[_0x259598(0xfb)](_0x1b3c30){const _0x35b2c9=_0x259598,_0x4a33ef=this[_0x35b2c9(0xe6)],_0x4f2d7b=new _0x1b3c30(_0x4a33ef[_0x35b2c9(0x107)]),_0x33beb7=_0x4a33ef[_0x35b2c9(0x106)][_0x35b2c9(0xc8)](_0x35b2c9(0x118));return _0x4f2d7b[_0x35b2c9(0x102)]({'label':_0x3e78b(_0x4a33ef[_0x35b2c9(0x107)],_0x35b2c9(0xcc)),'icon':_0x4d4deb}),_0x4f2d7b[_0x35b2c9(0xd5)](_0x35b2c9(0xf1))['to'](_0x33beb7,_0x35b2c9(0xd0)),this[_0x35b2c9(0xd3)](_0x4f2d7b,_0x35b2c9(0x119),()=>{const _0x55625b=_0x35b2c9;_0x33beb7[_0x55625b(0x119)]();}),_0x4f2d7b;}}function _0x3911(){const _0x394dc3=['editor','10380ckQloj','commentsLicenseKeyTrialLimit','_viewToController','low','stop','116650vPNjKY','_licenseKeyCheckInterval','change:activeAnnotations','comment:','push','isEnabled','126BcWYQH','Comments','requires','120610VYMdrE','has','isOfficialPlugin','611976NgZhsA','comment','isFocused','_createUIButton','6KZXfNA','getCommentThread','10462jCXaBR','commentsLicenseKeyDomainLimit','add','innerView','set','evaluationLimit','highest','view','commands','locale','invalid','CommentThreadInputView','commentsLicenseKeyUsageLimit','componentFactory','find','getRange','from','5071jwwFTr','CommentsListView','editing','expired','173bfeUcm','commentsLicenseKeyNotAllowed','config','domainLimit','7084PacvDm','addCommentThread','execute','map','length','_threadToController','_showLicenseError','commentsLicenseKeyEvaluationLimit','licenseKey','commentsLicenseKeyExpired','get','258572wPTTss','addComment','destroy','Comment','init','trialLimit','plugins','hasContent','removeCommentThread','activeMarker','listenTo','model','bind','focus','addSourceCollector','usageLimit','commentsLicenseKeyInvalid','hasCommentThread','commentsLicenseKeyValid','pluginName','menuBar:comment','351nKInwi','getAllMarkersForId','CommentsUI','featureNotAllowed','hasMarkerForId','focusTracker','isPremiumPlugin','tooltip'];_0x3911=function(){return _0x394dc3;};return _0x3911();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50dec5=_0x36b0;(function(_0x33fee3,_0x3d30b2){const _0xfe84fb=_0x36b0,_0x3355f8=_0x33fee3();while(!![]){try{const _0x4e8774=parseInt(_0xfe84fb(0x191))/0x1+parseInt(_0xfe84fb(0x185))/0x2+-parseInt(_0xfe84fb(0x193))/0x3*(parseInt(_0xfe84fb(0x177))/0x4)+parseInt(_0xfe84fb(0x179))/0x5+parseInt(_0xfe84fb(0x17a))/0x6*(-parseInt(_0xfe84fb(0x178))/0x7)+-parseInt(_0xfe84fb(0x188))/0x8*(-parseInt(_0xfe84fb(0x198))/0x9)+-parseInt(_0xfe84fb(0x17c))/0xa;if(_0x4e8774===_0x3d30b2)break;else _0x3355f8['push'](_0x3355f8['shift']());}catch(_0x13db16){_0x3355f8['push'](_0x3355f8['shift']());}}}(_0x375c,0xad7a9));import{Plugin as _0x2a8f9a}from'ckeditor5/src/core.js';function _0x36b0(_0x192b01,_0x3f592f){const _0x375c86=_0x375c();return _0x36b0=function(_0x36b0df,_0x5b1a59){_0x36b0df=_0x36b0df-0x175;let _0x12be99=_0x375c86[_0x36b0df];return _0x12be99;},_0x36b0(_0x192b01,_0x3f592f);}import{ClipboardPipeline as _0x1d79f1,ClipboardMarkersUtils as _0x1e2035}from'ckeditor5/src/clipboard.js';function _0x375c(){const _0x2b371c=['config','8222070ThjISr','all','_registerMarkerToCopy','get','requires','contentInsertion','hasCommentThread','CommentsRepository','markers','1851452oTRXqx','keys','comments.copyMarkers','11357480tSrxfk','cut','delete','ClipboardMarkersUtils','listenTo','define','afterInit','highest','split','567801fcnKaE','dragstart','1375095kHllVq','ClipboardPipeline','comment','default','never','9ziKKMq','_removeMarkersWithoutThreads','_mapCommentsCopyConfigToRegisterConfiguration','has','always','editor','plugins','_registerMarkerInClipboardPipeline','content','8kztSfn','30296Yxnqnc','2918350sqnJjT','1452kfngqb'];_0x375c=function(){return _0x2b371c;};return _0x375c();}export class CommentsClipboard extends _0x2a8f9a{constructor(_0x49fdb4){const _0x42e03a=_0x36b0;super(_0x49fdb4),this[_0x42e03a(0x19d)][_0x42e03a(0x17b)][_0x42e03a(0x18d)](_0x42e03a(0x187),_0x42e03a(0x196));}static get[_0x50dec5(0x180)](){return[_0x1e2035,_0x1d79f1];}[_0x50dec5(0x18e)](){const _0xe929ed=_0x50dec5,_0x998d75=this[_0xe929ed(0x19d)][_0xe929ed(0x19e)][_0xe929ed(0x17f)](_0xe929ed(0x194));this[_0xe929ed(0x175)](),this[_0xe929ed(0x18c)](_0x998d75,_0xe929ed(0x181),(_0x24e7e6,_0x4877f6)=>this[_0xe929ed(0x199)](_0x4877f6[_0xe929ed(0x176)][_0xe929ed(0x184)]),{'priority':_0xe929ed(0x18f)});}[_0x50dec5(0x199)](_0x316dee){const _0x42e3d6=_0x50dec5;if(!this[_0x42e3d6(0x19d)][_0x42e3d6(0x19e)][_0x42e3d6(0x19b)](_0x42e3d6(0x183)))return _0x316dee;const _0x13b40d=this[_0x42e3d6(0x19d)][_0x42e3d6(0x19e)][_0x42e3d6(0x17f)](_0x42e3d6(0x183));for(const _0x2232ec of _0x316dee[_0x42e3d6(0x186)]()){const [_0x22437b,_0xd10c3b]=_0x2232ec[_0x42e3d6(0x190)](':');_0x42e3d6(0x195)!=_0x22437b||_0x13b40d[_0x42e3d6(0x182)](_0xd10c3b)||_0x316dee[_0x42e3d6(0x18a)](_0x2232ec);}return _0x316dee;}[_0x50dec5(0x175)](){const _0x1deb82=_0x50dec5,_0x2888d6=this[_0x1deb82(0x19d)][_0x1deb82(0x19e)][_0x1deb82(0x17f)](_0x1deb82(0x18b)),_0x186474=this[_0x1deb82(0x19a)](this[_0x1deb82(0x19d)][_0x1deb82(0x17b)][_0x1deb82(0x17f)](_0x1deb82(0x187)));_0x186474&&_0x2888d6[_0x1deb82(0x17e)](_0x1deb82(0x195),_0x186474);}[_0x50dec5(0x19a)](_0x46a078){const _0x4a0508=_0x50dec5;switch(_0x46a078){case _0x4a0508(0x19c):return{'allowedActions':_0x4a0508(0x17d),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x4a0508(0x196):return{'allowedActions':[_0x4a0508(0x189),_0x4a0508(0x192)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x4a0508(0x197):return null;default:return null;}}}
|