@univerjs-pro/thread-comment-datasource 0.4.2-nightly.202411051606 → 0.4.2-nightly.202411061606

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/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x54dd21=_0x4b66;(function(_0xd98394,_0x1b481d){var _0x45ed50=_0x4b66,_0x2afa56=_0xd98394();while(!![]){try{var _0x42edf5=parseInt(_0x45ed50(0x126))/0x1*(-parseInt(_0x45ed50(0xe4))/0x2)+-parseInt(_0x45ed50(0x11a))/0x3+parseInt(_0x45ed50(0xf0))/0x4+parseInt(_0x45ed50(0x15d))/0x5*(-parseInt(_0x45ed50(0x10a))/0x6)+-parseInt(_0x45ed50(0x130))/0x7+-parseInt(_0x45ed50(0x105))/0x8+parseInt(_0x45ed50(0x186))/0x9;if(_0x42edf5===_0x1b481d)break;else _0x2afa56['push'](_0x2afa56['shift']());}catch(_0x480efb){_0x2afa56['push'](_0x2afa56['shift']());}}}(_0xab33,0xa890b));import{UserManagerService as _0x56b7da,Inject as _0x817594,Injector as _0xe5d23d,Disposable as _0x5bada8,CustomRangeType as _0x26aa2b,UniverInstanceType as _0x28e0ba,DependentOn as _0x3a845f,Plugin as _0x12fbcd,IConfigService as _0x5738a4}from'@univerjs/core';import{ThreadCommentModel as _0x18f42b,IThreadCommentDataSourceService as _0x48e9de,UniverThreadCommentPlugin as _0x2de509}from'@univerjs/thread-comment';import{CommentService as _0x588a4b,CollaborationSessionService as _0x13b89d,UniverCollaborationClientPlugin as _0x172583}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0xea8b06}from'@univerjs-pro/license';import{bufferTime as _0x118905}from'rxjs';import{HTTPService as _0x1ff2e1}from'@univerjs/network';import{IThreadCommentMentionDataService as _0x265b1d}from'@univerjs/thread-comment-ui';const Ne='UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN';var W=(_0x3387cf=>(_0x3387cf[_0x3387cf[_0x54dd21(0xfd)]=0x0]=_0x54dd21(0xfd),_0x3387cf[_0x3387cf['Solved']=0x1]='Solved',_0x3387cf[_0x3387cf['UNRECOGNIZED']=-0x1]=_0x54dd21(0x132),_0x3387cf))(W||{}),x=(_0x52c351=>(_0x52c351[_0x52c351[_0x54dd21(0x167)]=0x0]=_0x54dd21(0x167),_0x52c351[_0x52c351[_0x54dd21(0x15a)]=0x1]=_0x54dd21(0x15a),_0x52c351[_0x52c351[_0x54dd21(0x133)]=0x2]=_0x54dd21(0x133),_0x52c351[_0x52c351[_0x54dd21(0x16c)]=0x3]=_0x54dd21(0x16c),_0x52c351[_0x52c351['Delete']=0x4]=_0x54dd21(0x195),_0x52c351[_0x52c351[_0x54dd21(0x17a)]=0x5]=_0x54dd21(0x17a),_0x52c351[_0x52c351[_0x54dd21(0x132)]=-0x1]=_0x54dd21(0x132),_0x52c351))(x||{}),Te=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Ye(_0x5dff95){var _0x516fd9=_0x54dd21;return _0x5dff95&&_0x5dff95[_0x516fd9(0x19a)]&&Object[_0x516fd9(0x160)][_0x516fd9(0x151)]['call'](_0x5dff95,_0x516fd9(0x1a7))?_0x5dff95[_0x516fd9(0x1a7)]:_0x5dff95;}var de={'exports':{}};(function(_0x127031,_0x55f501){(function(_0x134fbc,_0x3f6ab6){var _0x141b58=_0x4b66;_0x127031[_0x141b58(0x146)]=_0x3f6ab6();}(Te,function(){var _0x787fac=_0x4b66,_0x2177af=0x3e8,_0x538b1a=0xea60,_0x520582=0x36ee80,_0x5bbd4b=_0x787fac(0x16e),_0x8e7967=_0x787fac(0x16a),_0x27b11e=_0x787fac(0xf2),_0x5b96b2=_0x787fac(0x11d),_0x3e7bfd='day',_0x43de28=_0x787fac(0x10e),_0x29a7bf=_0x787fac(0x18c),_0x47b028='quarter',_0x5a0df1=_0x787fac(0x11e),_0x4f1330='date',_0x97fe30=_0x787fac(0x1a4),_0x4494ef=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_0x59c51a=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_0x2bcce9={'name':'en','weekdays':'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'[_0x787fac(0xf6)]('_'),'months':_0x787fac(0x134)['split']('_'),'ordinal':function(_0x55fbb8){var _0x5ad59f=['th','st','nd','rd'],_0x3f7bbc=_0x55fbb8%0x64;return'['+_0x55fbb8+(_0x5ad59f[(_0x3f7bbc-0x14)%0xa]||_0x5ad59f[_0x3f7bbc]||_0x5ad59f[0x0])+']';}},_0xa23049=function(_0x518dac,_0x32dd0b,_0x71e93d){var _0x2b004c=_0x787fac,_0x199032=String(_0x518dac);return!_0x199032||_0x199032['length']>=_0x32dd0b?_0x518dac:''+Array(_0x32dd0b+0x1-_0x199032[_0x2b004c(0x110)])[_0x2b004c(0x194)](_0x71e93d)+_0x518dac;},_0x2b2424={'s':_0xa23049,'z':function(_0x220041){var _0x303fb0=_0x787fac,_0x4f80b0=-_0x220041['utcOffset'](),_0x55bd8a=Math[_0x303fb0(0x129)](_0x4f80b0),_0x3e51bb=Math[_0x303fb0(0x123)](_0x55bd8a/0x3c),_0x3b116d=_0x55bd8a%0x3c;return(_0x4f80b0<=0x0?'+':'-')+_0xa23049(_0x3e51bb,0x2,'0')+':'+_0xa23049(_0x3b116d,0x2,'0');},'m':function _0x1ce108(_0x34dd8a,_0x2dd26a){var _0x36056b=_0x787fac;if(_0x34dd8a[_0x36056b(0x10b)]()<_0x2dd26a[_0x36056b(0x10b)]())return-_0x1ce108(_0x2dd26a,_0x34dd8a);var _0x1f427e=0xc*(_0x2dd26a[_0x36056b(0x11e)]()-_0x34dd8a[_0x36056b(0x11e)]())+(_0x2dd26a[_0x36056b(0x18c)]()-_0x34dd8a[_0x36056b(0x18c)]()),_0x5d257f=_0x34dd8a[_0x36056b(0x122)]()[_0x36056b(0xe6)](_0x1f427e,_0x29a7bf),_0x3c7586=_0x2dd26a-_0x5d257f<0x0,_0x1597e6=_0x34dd8a[_0x36056b(0x122)]()['add'](_0x1f427e+(_0x3c7586?-0x1:0x1),_0x29a7bf);return+(-(_0x1f427e+(_0x2dd26a-_0x5d257f)/(_0x3c7586?_0x5d257f-_0x1597e6:_0x1597e6-_0x5d257f))||0x0);},'a':function(_0x34d950){var _0xe46226=_0x787fac;return _0x34d950<0x0?Math[_0xe46226(0x14c)](_0x34d950)||0x0:Math[_0xe46226(0x123)](_0x34d950);},'p':function(_0x1ee8a7){var _0xe346e8=_0x787fac;return{'M':_0x29a7bf,'y':_0x5a0df1,'w':_0x43de28,'d':_0x3e7bfd,'D':_0x4f1330,'h':_0x5b96b2,'m':_0x27b11e,'s':_0x8e7967,'ms':_0x5bbd4b,'Q':_0x47b028}[_0x1ee8a7]||String(_0x1ee8a7||'')[_0xe346e8(0x138)]()[_0xe346e8(0x175)](/s$/,'');},'u':function(_0x1b0cfb){return _0x1b0cfb===void 0x0;}},_0x37923e='en',_0x31dc01={};_0x31dc01[_0x37923e]=_0x2bcce9;var _0x8eb65c=_0x787fac(0x18b),_0x551eeb=function(_0x38c9f1){return _0x38c9f1 instanceof _0x2792a8||!(!_0x38c9f1||!_0x38c9f1[_0x8eb65c]);},_0xe23af2=function _0x17c454(_0x261d64,_0x36054c,_0x575cf5){var _0x39ffb0=_0x787fac,_0x2aa6b6;if(!_0x261d64)return _0x37923e;if(typeof _0x261d64=='string'){var _0x5c4629=_0x261d64['toLowerCase']();_0x31dc01[_0x5c4629]&&(_0x2aa6b6=_0x5c4629),_0x36054c&&(_0x31dc01[_0x5c4629]=_0x36054c,_0x2aa6b6=_0x5c4629);var _0xd5cedb=_0x261d64[_0x39ffb0(0xf6)]('-');if(!_0x2aa6b6&&_0xd5cedb[_0x39ffb0(0x110)]>0x1)return _0x17c454(_0xd5cedb[0x0]);}else{var _0x5a4558=_0x261d64['name'];_0x31dc01[_0x5a4558]=_0x261d64,_0x2aa6b6=_0x5a4558;}return!_0x575cf5&&_0x2aa6b6&&(_0x37923e=_0x2aa6b6),_0x2aa6b6||!_0x575cf5&&_0x37923e;},_0x249b28=function(_0x278a86,_0x58ce9d){var _0x7d3e50=_0x787fac;if(_0x551eeb(_0x278a86))return _0x278a86[_0x7d3e50(0x122)]();var _0x4b028c=typeof _0x58ce9d==_0x7d3e50(0xf7)?_0x58ce9d:{};return _0x4b028c[_0x7d3e50(0x10b)]=_0x278a86,_0x4b028c[_0x7d3e50(0x181)]=arguments,new _0x2792a8(_0x4b028c);},_0x2b6839=_0x2b2424;_0x2b6839['l']=_0xe23af2,_0x2b6839['i']=_0x551eeb,_0x2b6839['w']=function(_0x2f4dff,_0x4e7505){return _0x249b28(_0x2f4dff,{'locale':_0x4e7505['$L'],'utc':_0x4e7505['$u'],'x':_0x4e7505['$x'],'$offset':_0x4e7505['$offset']});};var _0x2792a8=(function(){var _0x45f2f7=_0x787fac;function _0x3bc636(_0x2a53f2){var _0x43340a=_0x4b66;this['$L']=_0xe23af2(_0x2a53f2[_0x43340a(0x142)],null,!0x0),this[_0x43340a(0x144)](_0x2a53f2),this['$x']=this['$x']||_0x2a53f2['x']||{},this[_0x8eb65c]=!0x0;}var _0x114eb1=_0x3bc636[_0x45f2f7(0x160)];return _0x114eb1[_0x45f2f7(0x144)]=function(_0x5c5aaa){var _0x524999=_0x45f2f7;this['$d']=function(_0xa6c53c){var _0x568f15=_0x4b66,_0xc87986=_0xa6c53c[_0x568f15(0x10b)],_0x36b908=_0xa6c53c[_0x568f15(0x14e)];if(_0xc87986===null)return new Date(NaN);if(_0x2b6839['u'](_0xc87986))return new Date();if(_0xc87986 instanceof Date)return new Date(_0xc87986);if(typeof _0xc87986==_0x568f15(0x16b)&&!/Z$/i['test'](_0xc87986)){var _0x4c472d=_0xc87986[_0x568f15(0x115)](_0x4494ef);if(_0x4c472d){var _0x2f5ba1=_0x4c472d[0x2]-0x1||0x0,_0x54100c=(_0x4c472d[0x7]||'0')[_0x568f15(0x18d)](0x0,0x3);return _0x36b908?new Date(Date[_0x568f15(0x182)](_0x4c472d[0x1],_0x2f5ba1,_0x4c472d[0x3]||0x1,_0x4c472d[0x4]||0x0,_0x4c472d[0x5]||0x0,_0x4c472d[0x6]||0x0,_0x54100c)):new Date(_0x4c472d[0x1],_0x2f5ba1,_0x4c472d[0x3]||0x1,_0x4c472d[0x4]||0x0,_0x4c472d[0x5]||0x0,_0x4c472d[0x6]||0x0,_0x54100c);}}return new Date(_0xc87986);}(_0x5c5aaa),this[_0x524999(0xfe)]();},_0x114eb1[_0x45f2f7(0xfe)]=function(){var _0x48ce81=_0x45f2f7,_0x2b1483=this['$d'];this['$y']=_0x2b1483[_0x48ce81(0x111)](),this['$M']=_0x2b1483[_0x48ce81(0x13f)](),this['$D']=_0x2b1483[_0x48ce81(0x13e)](),this['$W']=_0x2b1483[_0x48ce81(0x179)](),this['$H']=_0x2b1483['getHours'](),this['$m']=_0x2b1483['getMinutes'](),this['$s']=_0x2b1483['getSeconds'](),this[_0x48ce81(0x18e)]=_0x2b1483[_0x48ce81(0x168)]();},_0x114eb1['$utils']=function(){return _0x2b6839;},_0x114eb1[_0x45f2f7(0x153)]=function(){return this['$d']['toString']()!==_0x97fe30;},_0x114eb1[_0x45f2f7(0x1a6)]=function(_0x5b30fc,_0x5cd451){var _0xd035ac=_0x249b28(_0x5b30fc);return this['startOf'](_0x5cd451)<=_0xd035ac&&_0xd035ac<=this['endOf'](_0x5cd451);},_0x114eb1['isAfter']=function(_0x51c6c3,_0xbda803){return _0x249b28(_0x51c6c3)<this['startOf'](_0xbda803);},_0x114eb1[_0x45f2f7(0x172)]=function(_0x55e040,_0x9e8553){var _0x30b33e=_0x45f2f7;return this[_0x30b33e(0xe7)](_0x9e8553)<_0x249b28(_0x55e040);},_0x114eb1['$g']=function(_0x3bd0db,_0x5ec105,_0x46e40a){var _0x39bd0a=_0x45f2f7;return _0x2b6839['u'](_0x3bd0db)?this[_0x5ec105]:this[_0x39bd0a(0x176)](_0x46e40a,_0x3bd0db);},_0x114eb1['unix']=function(){var _0x45cdcd=_0x45f2f7;return Math[_0x45cdcd(0x123)](this[_0x45cdcd(0x108)]()/0x3e8);},_0x114eb1[_0x45f2f7(0x108)]=function(){var _0x36282f=_0x45f2f7;return this['$d'][_0x36282f(0x128)]();},_0x114eb1[_0x45f2f7(0x18a)]=function(_0x504039,_0x19953c){var _0x1014a6=_0x45f2f7,_0x3b493e=this,_0x2f3d0b=!!_0x2b6839['u'](_0x19953c)||_0x19953c,_0x2fc7c7=_0x2b6839['p'](_0x504039),_0x4403a8=function(_0x591eca,_0x21a0da){var _0x5d0da8=_0x2b6839['w'](_0x3b493e['$u']?Date['UTC'](_0x3b493e['$y'],_0x21a0da,_0x591eca):new Date(_0x3b493e['$y'],_0x21a0da,_0x591eca),_0x3b493e);return _0x2f3d0b?_0x5d0da8:_0x5d0da8['endOf'](_0x3e7bfd);},_0x4ae0a3=function(_0x9cc25f,_0x15e746){var _0x17c94b=_0x4b66;return _0x2b6839['w'](_0x3b493e[_0x17c94b(0x19c)]()[_0x9cc25f]['apply'](_0x3b493e['toDate']('s'),(_0x2f3d0b?[0x0,0x0,0x0,0x0]:[0x17,0x3b,0x3b,0x3e7])[_0x17c94b(0x15e)](_0x15e746)),_0x3b493e);},_0x1a7945=this['$W'],_0xadc292=this['$M'],_0x5440a8=this['$D'],_0x4e1c30=_0x1014a6(0x176)+(this['$u']?_0x1014a6(0x182):'');switch(_0x2fc7c7){case _0x5a0df1:return _0x2f3d0b?_0x4403a8(0x1,0x0):_0x4403a8(0x1f,0xb);case _0x29a7bf:return _0x2f3d0b?_0x4403a8(0x1,_0xadc292):_0x4403a8(0x0,_0xadc292+0x1);case _0x43de28:var _0x484d31=this['$locale']()[_0x1014a6(0x12f)]||0x0,_0x5ab873=(_0x1a7945<_0x484d31?_0x1a7945+0x7:_0x1a7945)-_0x484d31;return _0x4403a8(_0x2f3d0b?_0x5440a8-_0x5ab873:_0x5440a8+(0x6-_0x5ab873),_0xadc292);case _0x3e7bfd:case _0x4f1330:return _0x4ae0a3(_0x4e1c30+_0x1014a6(0x1a1),0x0);case _0x5b96b2:return _0x4ae0a3(_0x4e1c30+_0x1014a6(0xf5),0x1);case _0x27b11e:return _0x4ae0a3(_0x4e1c30+_0x1014a6(0x140),0x2);case _0x8e7967:return _0x4ae0a3(_0x4e1c30+'Milliseconds',0x3);default:return this['clone']();}},_0x114eb1['endOf']=function(_0x41c3ad){return this['startOf'](_0x41c3ad,!0x1);},_0x114eb1[_0x45f2f7(0x152)]=function(_0x1e8ddf,_0x2bc1e0){var _0x3b5107=_0x45f2f7,_0xb5eda1,_0x20d885=_0x2b6839['p'](_0x1e8ddf),_0x494f00='set'+(this['$u']?'UTC':''),_0x4dfe62=(_0xb5eda1={},_0xb5eda1[_0x3e7bfd]=_0x494f00+_0x3b5107(0x178),_0xb5eda1[_0x4f1330]=_0x494f00+'Date',_0xb5eda1[_0x29a7bf]=_0x494f00+_0x3b5107(0x131),_0xb5eda1[_0x5a0df1]=_0x494f00+_0x3b5107(0x18f),_0xb5eda1[_0x5b96b2]=_0x494f00+_0x3b5107(0x1a1),_0xb5eda1[_0x27b11e]=_0x494f00+_0x3b5107(0xf5),_0xb5eda1[_0x8e7967]=_0x494f00+'Seconds',_0xb5eda1[_0x5bbd4b]=_0x494f00+_0x3b5107(0x112),_0xb5eda1)[_0x20d885],_0x29ff8c=_0x20d885===_0x3e7bfd?this['$D']+(_0x2bc1e0-this['$W']):_0x2bc1e0;if(_0x20d885===_0x29a7bf||_0x20d885===_0x5a0df1){var _0x12509d=this['clone']()[_0x3b5107(0x176)](_0x4f1330,0x1);_0x12509d['$d'][_0x4dfe62](_0x29ff8c),_0x12509d['init'](),this['$d']=_0x12509d[_0x3b5107(0x176)](_0x4f1330,Math[_0x3b5107(0xfb)](this['$D'],_0x12509d[_0x3b5107(0x193)]()))['$d'];}else _0x4dfe62&&this['$d'][_0x4dfe62](_0x29ff8c);return this[_0x3b5107(0xfe)](),this;},_0x114eb1[_0x45f2f7(0x176)]=function(_0x900f60,_0x257130){var _0x66da4f=_0x45f2f7;return this[_0x66da4f(0x122)]()['$set'](_0x900f60,_0x257130);},_0x114eb1[_0x45f2f7(0x14a)]=function(_0x209888){return this[_0x2b6839['p'](_0x209888)]();},_0x114eb1[_0x45f2f7(0xe6)]=function(_0x4484ea,_0x11dd9b){var _0x35027d=_0x45f2f7,_0x3a0ab6,_0x56fec8=this;_0x4484ea=Number(_0x4484ea);var _0x3b89f5=_0x2b6839['p'](_0x11dd9b),_0x398c3d=function(_0x5356aa){var _0x4dd1a0=_0x4b66,_0x13978c=_0x249b28(_0x56fec8);return _0x2b6839['w'](_0x13978c[_0x4dd1a0(0x10b)](_0x13978c[_0x4dd1a0(0x10b)]()+Math['round'](_0x5356aa*_0x4484ea)),_0x56fec8);};if(_0x3b89f5===_0x29a7bf)return this[_0x35027d(0x176)](_0x29a7bf,this['$M']+_0x4484ea);if(_0x3b89f5===_0x5a0df1)return this['set'](_0x5a0df1,this['$y']+_0x4484ea);if(_0x3b89f5===_0x3e7bfd)return _0x398c3d(0x1);if(_0x3b89f5===_0x43de28)return _0x398c3d(0x7);var _0x4953d2=(_0x3a0ab6={},_0x3a0ab6[_0x27b11e]=_0x538b1a,_0x3a0ab6[_0x5b96b2]=_0x520582,_0x3a0ab6[_0x8e7967]=_0x2177af,_0x3a0ab6)[_0x3b89f5]||0x1,_0x3d1a49=this['$d'][_0x35027d(0x128)]()+_0x4484ea*_0x4953d2;return _0x2b6839['w'](_0x3d1a49,this);},_0x114eb1[_0x45f2f7(0x12c)]=function(_0x5b5f38,_0x5a983a){var _0xb06493=_0x45f2f7;return this[_0xb06493(0xe6)](-0x1*_0x5b5f38,_0x5a983a);},_0x114eb1['format']=function(_0x2d4d73){var _0x4d329f=_0x45f2f7,_0x44f0fb=this,_0x1d3f3b=this['$locale']();if(!this['isValid']())return _0x1d3f3b['invalidDate']||_0x97fe30;var _0x46a37e=_0x2d4d73||_0x4d329f(0x106),_0x4fd8f6=_0x2b6839['z'](this),_0x4fbd16=this['$H'],_0x42c6a6=this['$m'],_0x271800=this['$M'],_0x430205=_0x1d3f3b['weekdays'],_0x1d25a2=_0x1d3f3b[_0x4d329f(0x170)],_0x8a6027=_0x1d3f3b[_0x4d329f(0x184)],_0x4f592e=function(_0x4c0c0a,_0x5c5e3b,_0x5d31a8,_0x370846){var _0x3d365b=_0x4d329f;return _0x4c0c0a&&(_0x4c0c0a[_0x5c5e3b]||_0x4c0c0a(_0x44f0fb,_0x46a37e))||_0x5d31a8[_0x5c5e3b][_0x3d365b(0x15e)](0x0,_0x370846);},_0x238951=function(_0x5addec){return _0x2b6839['s'](_0x4fbd16%0xc||0xc,_0x5addec,'0');},_0x4582f5=_0x8a6027||function(_0x2cedf7,_0x309e6c,_0x20cee5){var _0x482f64=_0x4d329f,_0xb44ad5=_0x2cedf7<0xc?'AM':'PM';return _0x20cee5?_0xb44ad5[_0x482f64(0x138)]():_0xb44ad5;};return _0x46a37e[_0x4d329f(0x175)](_0x59c51a,function(_0x338619,_0x40c4cc){var _0x41fd7e=_0x4d329f;return _0x40c4cc||function(_0x27839f){var _0x37ea25=_0x4b66;switch(_0x27839f){case'YY':return String(_0x44f0fb['$y'])[_0x37ea25(0x15e)](-0x2);case'YYYY':return _0x2b6839['s'](_0x44f0fb['$y'],0x4,'0');case'M':return _0x271800+0x1;case'MM':return _0x2b6839['s'](_0x271800+0x1,0x2,'0');case'MMM':return _0x4f592e(_0x1d3f3b[_0x37ea25(0xf4)],_0x271800,_0x1d25a2,0x3);case'MMMM':return _0x4f592e(_0x1d25a2,_0x271800);case'D':return _0x44f0fb['$D'];case'DD':return _0x2b6839['s'](_0x44f0fb['$D'],0x2,'0');case'd':return String(_0x44f0fb['$W']);case'dd':return _0x4f592e(_0x1d3f3b[_0x37ea25(0x17f)],_0x44f0fb['$W'],_0x430205,0x2);case _0x37ea25(0x11c):return _0x4f592e(_0x1d3f3b[_0x37ea25(0x10c)],_0x44f0fb['$W'],_0x430205,0x3);case'dddd':return _0x430205[_0x44f0fb['$W']];case'H':return String(_0x4fbd16);case'HH':return _0x2b6839['s'](_0x4fbd16,0x2,'0');case'h':return _0x238951(0x1);case'hh':return _0x238951(0x2);case'a':return _0x4582f5(_0x4fbd16,_0x42c6a6,!0x0);case'A':return _0x4582f5(_0x4fbd16,_0x42c6a6,!0x1);case'm':return String(_0x42c6a6);case'mm':return _0x2b6839['s'](_0x42c6a6,0x2,'0');case's':return String(_0x44f0fb['$s']);case'ss':return _0x2b6839['s'](_0x44f0fb['$s'],0x2,'0');case _0x37ea25(0x136):return _0x2b6839['s'](_0x44f0fb[_0x37ea25(0x18e)],0x3,'0');case'Z':return _0x4fd8f6;}return null;}(_0x338619)||_0x4fd8f6[_0x41fd7e(0x175)](':','');});},_0x114eb1[_0x45f2f7(0x11f)]=function(){return 0xf*-Math['round'](this['$d']['getTimezoneOffset']()/0xf);},_0x114eb1[_0x45f2f7(0x183)]=function(_0x5079cd,_0x4633cb,_0x1f068c){var _0x3864ab=_0x45f2f7,_0x1491f1,_0x173666=this,_0x4dc1b7=_0x2b6839['p'](_0x4633cb),_0x37f802=_0x249b28(_0x5079cd),_0x133615=(_0x37f802['utcOffset']()-this[_0x3864ab(0x11f)]())*_0x538b1a,_0x364469=this-_0x37f802,_0x1a9972=function(){return _0x2b6839['m'](_0x173666,_0x37f802);};switch(_0x4dc1b7){case _0x5a0df1:_0x1491f1=_0x1a9972()/0xc;break;case _0x29a7bf:_0x1491f1=_0x1a9972();break;case _0x47b028:_0x1491f1=_0x1a9972()/0x3;break;case _0x43de28:_0x1491f1=(_0x364469-_0x133615)/0x240c8400;break;case _0x3e7bfd:_0x1491f1=(_0x364469-_0x133615)/0x5265c00;break;case _0x5b96b2:_0x1491f1=_0x364469/_0x520582;break;case _0x27b11e:_0x1491f1=_0x364469/_0x538b1a;break;case _0x8e7967:_0x1491f1=_0x364469/_0x2177af;break;default:_0x1491f1=_0x364469;}return _0x1f068c?_0x1491f1:_0x2b6839['a'](_0x1491f1);},_0x114eb1[_0x45f2f7(0x193)]=function(){var _0x2e084c=_0x45f2f7;return this[_0x2e084c(0xe7)](_0x29a7bf)['$D'];},_0x114eb1['$locale']=function(){return _0x31dc01[this['$L']];},_0x114eb1['locale']=function(_0x2dfb17,_0x85bed0){var _0xa3ebfa=_0x45f2f7;if(!_0x2dfb17)return this['$L'];var _0x4e4004=this[_0xa3ebfa(0x122)](),_0x1edc85=_0xe23af2(_0x2dfb17,_0x85bed0,!0x0);return _0x1edc85&&(_0x4e4004['$L']=_0x1edc85),_0x4e4004;},_0x114eb1['clone']=function(){return _0x2b6839['w'](this['$d'],this);},_0x114eb1['toDate']=function(){var _0x4ebea8=_0x45f2f7;return new Date(this[_0x4ebea8(0x108)]());},_0x114eb1['toJSON']=function(){var _0x1326ef=_0x45f2f7;return this[_0x1326ef(0x153)]()?this['toISOString']():null;},_0x114eb1['toISOString']=function(){var _0x11619a=_0x45f2f7;return this['$d'][_0x11619a(0x173)]();},_0x114eb1[_0x45f2f7(0xf1)]=function(){var _0x523177=_0x45f2f7;return this['$d'][_0x523177(0x162)]();},_0x3bc636;}()),_0x73d906=_0x2792a8[_0x787fac(0x160)];return _0x249b28[_0x787fac(0x160)]=_0x73d906,[[_0x787fac(0x18e),_0x5bbd4b],['$s',_0x8e7967],['$m',_0x27b11e],['$H',_0x5b96b2],['$W',_0x3e7bfd],['$M',_0x29a7bf],['$y',_0x5a0df1],['$D',_0x4f1330]][_0x787fac(0x13c)](function(_0x3d8922){_0x73d906[_0x3d8922[0x1]]=function(_0x2240e2){return this['$g'](_0x2240e2,_0x3d8922[0x0],_0x3d8922[0x1]);};}),_0x249b28[_0x787fac(0x156)]=function(_0x2a1483,_0x24cf7e){return _0x2a1483['$i']||(_0x2a1483(_0x24cf7e,_0x2792a8,_0x249b28),_0x2a1483['$i']=!0x0),_0x249b28;},_0x249b28[_0x787fac(0x142)]=_0xe23af2,_0x249b28['isDayjs']=_0x551eeb,_0x249b28[_0x787fac(0x161)]=function(_0x58c299){return _0x249b28(0x3e8*_0x58c299);},_0x249b28['en']=_0x31dc01[_0x37923e],_0x249b28['Ls']=_0x31dc01,_0x249b28['p']={},_0x249b28;}));}(de));var Ue=de[_0x54dd21(0x146)];const he=Ye(Ue),se=_0x1c2c0d=>he(new Date(+_0x1c2c0d))[_0x54dd21(0x102)](_0x54dd21(0x197)),Re=async(_0x407cfb,_0x1d386e)=>{var _0x5862e3=_0x54dd21;const _0x418644=_0x407cfb[_0x5862e3(0x14a)](_0x56b7da),_0x54863c=_0x407cfb['get'](_0x1ff2e1);_0x1d386e[_0x5862e3(0x13c)](_0x43bd1b=>{var _0x39f1e0=_0x5862e3;_0x418644[_0x39f1e0(0x166)](_0x43bd1b)&&_0x1d386e[_0x39f1e0(0xeb)](_0x43bd1b);}),_0x1d386e[_0x5862e3(0x15f)]&&(await _0x54863c[_0x5862e3(0x14a)](_0x5862e3(0x127),{'params':{'userIDs':[..._0x1d386e]}}))[_0x5862e3(0x19f)][_0x5862e3(0xed)][_0x5862e3(0x13c)](_0x3c87f0=>{var _0x1cd12c=_0x5862e3;_0x3c87f0&&_0x418644[_0x1cd12c(0x12d)](_0x3c87f0);});};var xe=Object[_0x54dd21(0x187)],He=Object['getOwnPropertyDescriptor'],Ee=(_0x2d7646,_0x31f78d,_0x697a90,_0x34cd48)=>{for(var _0xb1044f=_0x34cd48>0x1?void 0x0:_0x34cd48?He(_0x31f78d,_0x697a90):_0x31f78d,_0x33e9ab=_0x2d7646['length']-0x1,_0x31e2ee;_0x33e9ab>=0x0;_0x33e9ab--)(_0x31e2ee=_0x2d7646[_0x33e9ab])&&(_0xb1044f=(_0x34cd48?_0x31e2ee(_0x31f78d,_0x697a90,_0xb1044f):_0x31e2ee(_0xb1044f))||_0xb1044f);return _0x34cd48&&_0xb1044f&&xe(_0x31f78d,_0x697a90,_0xb1044f),_0xb1044f;},Z=(_0x408faa,_0x391d19)=>(_0x4a6838,_0x35445f)=>_0x391d19(_0x4a6838,_0x35445f,_0x408faa);let q=class extends _0x5bada8{constructor(_0x49f26d,_0xd595e2,_0xf6f4cf,_0x590237){var _0x1b00b6=_0x54dd21;super(),this[_0x1b00b6(0x165)]=_0x49f26d,this[_0x1b00b6(0x125)]=_0xd595e2,this[_0x1b00b6(0x17d)]=_0xf6f4cf,this[_0x1b00b6(0x143)]=_0x590237,this[_0x1b00b6(0x159)](),this[_0x1b00b6(0x180)]();}[_0x54dd21(0x180)](){var _0x130e6a=_0x54dd21;this[_0x130e6a(0x198)](this[_0x130e6a(0x125)]['commentUpdate$'][_0x130e6a(0x16f)](_0x118905(0x10))[_0x130e6a(0x1a5)](_0x6576a6=>{var _0x409bf6=_0x130e6a;const _0x4ee967=new Set();_0x6576a6[_0x409bf6(0x13c)](_0x50e021=>{var _0x38caff=_0x409bf6;switch(_0x50e021[_0x38caff(0xff)]){case _0x38caff(0xe6):{const _0x13fcaf=_0x50e021[_0x38caff(0x17b)][_0x38caff(0xea)];_0x4ee967['add'](_0x13fcaf);break;}}}),Re(this[_0x409bf6(0x143)],_0x4ee967);}));}[_0x54dd21(0x159)](){var _0x1e8067=_0x54dd21;this[_0x1e8067(0x198)](this['_commentService'][_0x1e8067(0x148)]['subscribe'](async _0x563c9e=>{var _0x5ec496=_0x1e8067,_0x646db7,_0x562b65,_0x1d1999,_0x3686ea;const _0x5c48d5=(_0x646db7=this[_0x5ec496(0x125)][_0x5ec496(0x145)](_0x563c9e['unitId'])[_0x5ec496(0xec)](_0x4f9775=>_0x4f9775[_0x5ec496(0x109)]===_0x563c9e['threadId']))==null?void 0x0:_0x646db7[_0x5ec496(0xe9)];if(!_0x5c48d5)return;const {unitId:_0x3572a3,subUnitId:_0x26c910}=_0x5c48d5;switch(_0x563c9e[_0x5ec496(0x174)]&&this['_userService'][_0x5ec496(0x12d)](_0x563c9e['user']),_0x563c9e[_0x5ec496(0xff)]){case x[_0x5ec496(0x15a)]:break;case x[_0x5ec496(0x133)]:{this['_threadCommentModel'][_0x5ec496(0x13a)](_0x3572a3,_0x26c910,{'unitId':_0x3572a3,'subUnitId':_0x26c910,'ref':'','id':_0x563c9e[_0x5ec496(0x191)],'dT':se(+_0x563c9e['createTimestamp']),'threadId':_0x563c9e[_0x5ec496(0x109)],'personId':(_0x1d1999=(_0x562b65=_0x563c9e[_0x5ec496(0x174)])==null?void 0x0:_0x562b65[_0x5ec496(0x14b)])!=null?_0x1d1999:_0x563c9e[_0x5ec496(0xee)],'text':JSON['parse'](_0x563c9e[_0x5ec496(0x107)]),'parentId':_0x5c48d5['id']});break;}case x[_0x5ec496(0x195)]:{const _0x18f5c5=this['_threadCommentModel'][_0x5ec496(0xe5)](_0x3572a3,_0x26c910,_0x563c9e[_0x5ec496(0x191)]);_0x18f5c5&&_0x18f5c5[_0x5ec496(0x10f)]&&this['_threadCommentModel']['deleteComment'](_0x3572a3,_0x26c910,_0x563c9e[_0x5ec496(0x191)]);break;}case x[_0x5ec496(0x16c)]:{this[_0x5ec496(0x125)]['updateComment'](_0x3572a3,_0x26c910,{'commentId':_0x563c9e[_0x5ec496(0x191)],'text':JSON[_0x5ec496(0x144)](_0x563c9e[_0x5ec496(0x107)])});break;}case x[_0x5ec496(0x17a)]:{const _0x3233c7=(_0x3686ea=this[_0x5ec496(0x125)][_0x5ec496(0x145)](_0x563c9e['unitId'])[_0x5ec496(0xec)](_0x490c40=>_0x490c40['threadId']===_0x563c9e[_0x5ec496(0x109)]))==null?void 0x0:_0x3686ea['root'];_0x3233c7&&this['_threadCommentModel'][_0x5ec496(0x137)](_0x3572a3,_0x26c910,_0x3233c7['id'],_0x563c9e['solved']===W['Solved']);break;}}}));}};q=Ee([Z(0x0,_0x817594(_0x588a4b)),Z(0x1,_0x817594(_0x18f42b)),Z(0x2,_0x817594(_0x56b7da)),Z(0x3,_0x817594(_0xe5d23d))],q);const Ae=_0x54dd21(0x158),Le={};function _0xab33(){var _0x3c2269=['join','Delete','rangeType','YYYY/MM/DD\x20HH:mm','disposeWithMe','solved','__esModule','symbol','toDate','post','_threadCommentDataSourceService','body','_threadCommentDataSource','Hours','_initDataSource','stringify','Invalid\x20Date','subscribe','isSame','default','8jDhOJb','getComment','add','endOf','getMentions','root','personId','delete','find','users','userId','/list','2657092ngayld','toString','minute','syncUpdateMutationToColla','monthsShort','Minutes','split','object','onReady','error','replies','min','rangeId','OpenOrReOpen','init','type','subject','_configService','format','/solved','dataSource','10374832AuNTSm','YYYY-MM-DDTHH:mm:ssZ','content','valueOf','threadId','204bAouib','date','weekdaysShort','http','week','parentId','length','getFullYear','Milliseconds','_threadCommentMentionDataService','customRanges','match','getMemberID','_config','getOwnPropertyDescriptor','location','2219940VOJrXD','avatar','ddd','hour','year','utcOffset','searchParams','map','clone','floor','_sessionService','_threadCommentModel','33722aBfENL','/universer-api/user/list','getTime','abs','/delete','unit','subtract','addUser','filter','weekStart','7151256bAxPjm','Month','UNRECOGNIZED','Reply','January_February_March_April_May_June_July_August_September_October_November_December','/universer-api/comment/unit/','SSS','resolveComment','toLowerCase','values','addComment','ref','forEach','code','getDate','getMonth','Seconds','COMMENT','locale','_injector','parse','getUnit','exports','resolved','commentUpdate$','_threadCommentMentionDataSource','get','userID','ceil','updateComment','utc','https:','/edit','hasOwnProperty','$set','isValid','comment','host','extend','https','thread-comment-data-source.config','_init','Add','name','/add','85395ffSWtH','slice','size','prototype','unix','toUTCString','createTimestamp','saveCommentToSnapshot','_commentService','getUser','Unknown','getMilliseconds','/reply','second','string','Edit','comments','millisecond','pipe','months','deleteComment','isBefore','toISOString','user','replace','set','pluginName','Date','getDay','Solve','payload','://','_userService','href','weekdaysMin','_initUserSync','args','UTC','diff','meridiem','_httpService','34201674haOkqC','defineProperty','UNIVER_UNKNOWN','reply','startOf','$isDayjsObject','month','substring','$ms','FullYear','onStarting','replyId','Solved','daysInMonth'];_0xab33=function(){return _0x3c2269;};return _0xab33();}var We=Object[_0x54dd21(0x187)],Fe=Object[_0x54dd21(0x118)],Ge=(_0x5b33b6,_0xd1fab7,_0x1b2d8f,_0x169b47)=>{var _0x498de8=_0x54dd21;for(var _0x382cb4=_0x169b47>0x1?void 0x0:_0x169b47?Fe(_0xd1fab7,_0x1b2d8f):_0xd1fab7,_0x5c7c6c=_0x5b33b6[_0x498de8(0x110)]-0x1,_0x11f254;_0x5c7c6c>=0x0;_0x5c7c6c--)(_0x11f254=_0x5b33b6[_0x5c7c6c])&&(_0x382cb4=(_0x169b47?_0x11f254(_0xd1fab7,_0x1b2d8f,_0x382cb4):_0x11f254(_0x382cb4))||_0x382cb4);return _0x169b47&&_0x382cb4&&We(_0xd1fab7,_0x1b2d8f,_0x382cb4),_0x382cb4;},z=(_0x2da760,_0x2f740b)=>(_0x46241d,_0x489edb)=>_0x2f740b(_0x46241d,_0x489edb,_0x2da760);function Je(_0x1b1717,_0x41fbf6){var _0x3522ac=_0x54dd21;const _0x3be65f=_0x1b1717[_0x3522ac(0xfa)][0x0];return{..._0x41fbf6,'id':_0x3be65f[_0x3522ac(0x191)],'resolved':_0x1b1717[_0x3522ac(0x199)]===0x1,'dT':se(_0x3be65f[_0x3522ac(0x163)]),'personId':_0x3be65f[_0x3522ac(0xee)],'threadId':_0x3be65f['threadId']};}function _0x4b66(_0x261d12,_0x478245){var _0xab33fd=_0xab33();return _0x4b66=function(_0x4b6696,_0x5200eb){_0x4b6696=_0x4b6696-0xe4;var _0x540dfa=_0xab33fd[_0x4b6696];return _0x540dfa;},_0x4b66(_0x261d12,_0x478245);}function Ze(_0x16cf8a,_0x4086a4,_0x53a81e){var _0x7d565d=_0x54dd21,_0x563972,_0x37478d;if(((_0x37478d=(_0x563972=_0x16cf8a==null?void 0x0:_0x16cf8a[_0x7d565d(0xfa)])==null?void 0x0:_0x563972[_0x7d565d(0x110)])!=null?_0x37478d:0x0)>0x0){const _0x291bbe=(_0x15d53b,_0x82c424)=>({'id':_0x15d53b[_0x7d565d(0x191)],'threadId':_0x15d53b[_0x7d565d(0x109)],'dT':se(_0x15d53b[_0x7d565d(0x163)]),'personId':_0x15d53b[_0x7d565d(0xee)],'resolved':_0x16cf8a[_0x7d565d(0x199)]===W[_0x7d565d(0x192)],'unitId':_0x4086a4,'subUnitId':_0x53a81e,'text':JSON[_0x7d565d(0x144)](_0x15d53b[_0x7d565d(0x107)]),'parentId':_0x82c424}),_0x31c032=_0x291bbe(_0x16cf8a[_0x7d565d(0xfa)][0x0]);return{..._0x31c032,'children':_0x16cf8a[_0x7d565d(0xfa)]['slice'](0x1)[_0x7d565d(0x121)](_0x5f4d9a=>_0x291bbe(_0x5f4d9a,_0x31c032['id']))};}return null;}let B=class{constructor(_0x31541f,_0x4a48a2,_0x4a776c,_0xfeb816){var _0xd7391c=_0x54dd21;this[_0xd7391c(0x185)]=_0x31541f,this[_0xd7391c(0x17d)]=_0x4a48a2,this[_0xd7391c(0x124)]=_0x4a776c,this[_0xd7391c(0x143)]=_0xfeb816;}async[_0x54dd21(0x13a)](_0x581084){var _0x536682=_0x54dd21,_0x572a58,_0xddfdbf;const {parentId:_0x2943f1,unitId:_0x47dc96,text:_0x399b8f,threadId:_0x472247}=_0x581084,_0x2bfff0=(_0xddfdbf=(_0x572a58=_0x399b8f[_0x536682(0x114)])==null?void 0x0:_0x572a58['filter'](_0x1576a2=>_0x1576a2[_0x536682(0x196)]===_0x26aa2b[_0x536682(0x141)])[_0x536682(0x121)](_0x2101c3=>_0x2101c3['rangeId']))!=null?_0xddfdbf:[],_0x320d9c=JSON[_0x536682(0x1a3)](_0x399b8f),_0x53905b=(await this['_sessionService']['requireSession'](_0x47dc96))['getMemberID']();if(_0x2943f1){const _0x526060={'memberId':_0x53905b,'unitId':_0x47dc96,'content':_0x320d9c,'mention':_0x2bfff0,'threadId':_0x472247},_0x4301ef=(await this[_0x536682(0x185)][_0x536682(0x19d)](_0x536682(0x135)+_0x47dc96+_0x536682(0x169),{'body':_0x526060}))[_0x536682(0x19f)][_0x536682(0x189)];return{..._0x581084,'id':_0x4301ef['replyId'],'dT':he(+_0x4301ef[_0x536682(0x163)])['format'](_0x536682(0x197)),'personId':_0x4301ef['userId']};}else{const _0x5f1d19={'memberId':_0x53905b,'unitId':_0x47dc96,'content':_0x320d9c,'mention':_0x2bfff0},_0x4e5fdc=await this[_0x536682(0x185)][_0x536682(0x19d)](_0x536682(0x135)+_0x47dc96+_0x536682(0x15c),{'body':_0x5f1d19});return Je(_0x4e5fdc[_0x536682(0x19f)][_0x536682(0x154)],_0x581084);}}async[_0x54dd21(0x14d)](_0x63ae08){var _0x5dfcb8=_0x54dd21,_0x49d459,_0x340b5b;const {text:_0x2f8f38,unitId:_0x4f4ced}=_0x63ae08,_0x5b80dd=(_0x340b5b=(_0x49d459=_0x2f8f38[_0x5dfcb8(0x114)])==null?void 0x0:_0x49d459[_0x5dfcb8(0x12e)](_0x28abd0=>_0x28abd0[_0x5dfcb8(0x196)]===_0x26aa2b['COMMENT'])[_0x5dfcb8(0x121)](_0x8143e2=>_0x8143e2[_0x5dfcb8(0xfc)]))!=null?_0x340b5b:[],_0x57360b=JSON[_0x5dfcb8(0x1a3)](_0x2f8f38),_0x2802cc=_0x63ae08[_0x5dfcb8(0x109)],_0x1efbb9=_0x63ae08['id'],_0x5bcf97={'memberId':(await this[_0x5dfcb8(0x124)]['requireSession'](_0x4f4ced))[_0x5dfcb8(0x116)](),'unitId':_0x4f4ced,'threadId':_0x2802cc,'mention':_0x5b80dd,'content':_0x57360b,'replyId':_0x1efbb9},_0x46a028=await this[_0x5dfcb8(0x185)][_0x5dfcb8(0x19d)](_0x5dfcb8(0x135)+_0x4f4ced+_0x5dfcb8(0x150),{'body':_0x5bcf97});return!_0x46a028[_0x5dfcb8(0x19f)][_0x5dfcb8(0xf9)]||_0x46a028['body'][_0x5dfcb8(0xf9)]['code']===0x1;}async['resolveComment'](_0x54531e){var _0x106e8d=_0x54dd21;const {unitId:_0x3d3b04}=_0x54531e,_0x18273d=_0x54531e['threadId'],_0x49b205={'memberId':this[_0x106e8d(0x17d)]['getCurrentUser']()[_0x106e8d(0x14b)],'unitId':_0x3d3b04,'threadId':_0x18273d,'solved':_0x54531e[_0x106e8d(0x147)]?W[_0x106e8d(0x192)]:W[_0x106e8d(0xfd)]},_0x2ffab8=await this[_0x106e8d(0x185)][_0x106e8d(0x19d)](_0x106e8d(0x135)+_0x3d3b04+_0x106e8d(0x103),{'body':_0x49b205});return!_0x2ffab8['body']['error']||_0x2ffab8[_0x106e8d(0x19f)][_0x106e8d(0xf9)][_0x106e8d(0x13d)]===0x1;}async[_0x54dd21(0x171)](_0x3610c1,_0x16b345,_0xf69885,_0x123702){var _0xbe7900=_0x54dd21;const _0x2c1636={'memberId':(await this[_0xbe7900(0x124)]['requireSession'](_0x3610c1))[_0xbe7900(0x116)](),'threadId':_0xf69885,'replyId':_0x123702,'unitId':_0x3610c1},_0x413a4b=await this[_0xbe7900(0x185)][_0xbe7900(0x19d)]('/universer-api/comment/unit/'+_0x3610c1+_0xbe7900(0x12a),{'body':_0x2c1636});return!_0x413a4b[_0xbe7900(0x19f)][_0xbe7900(0xf9)]||_0x413a4b[_0xbe7900(0x19f)]['error'][_0xbe7900(0x13d)]===0x1;}async['listComments'](_0x48341b,_0x556b32,_0x52ea9d){var _0x2c8077=_0x54dd21;const _0x5ae06b={'unitId':_0x48341b,'threadId':_0x52ea9d},_0x9dbdf1=await this[_0x2c8077(0x185)][_0x2c8077(0x19d)](_0x2c8077(0x135)+_0x48341b+_0x2c8077(0xef),{'body':_0x5ae06b}),_0x16510f=_0x52ea9d['map'](_0x9c3edb=>Ze(_0x9dbdf1['body'][_0x2c8077(0x16d)][_0x9c3edb],_0x48341b,_0x556b32))['filter'](Boolean);return Object[_0x2c8077(0x139)](_0x9dbdf1[_0x2c8077(0x19f)][_0x2c8077(0xed)])['forEach'](_0x22f042=>{var _0x3bdbae=_0x2c8077;this[_0x3bdbae(0x17d)][_0x3bdbae(0x12d)](_0x22f042);}),_0x16510f;}[_0x54dd21(0x164)](_0x1bef31){var _0x53c2e2=_0x54dd21;return{'id':_0x1bef31['id'],'threadId':_0x1bef31[_0x53c2e2(0x109)],'ref':_0x1bef31[_0x53c2e2(0x13b)]};}};B=Ge([z(0x0,_0x817594(_0x1ff2e1)),z(0x1,_0x817594(_0x56b7da)),z(0x2,_0x817594(_0x13b89d)),z(0x3,_0x817594(_0xe5d23d))],B);var ze=Object[_0x54dd21(0x187)],Ve=Object[_0x54dd21(0x118)],qe=(_0x1441cd,_0x1f5e29,_0x3ec007,_0x3b9a72)=>{var _0x10e87c=_0x54dd21;for(var _0x5443fa=_0x3b9a72>0x1?void 0x0:_0x3b9a72?Ve(_0x1f5e29,_0x3ec007):_0x1f5e29,_0x2e9639=_0x1441cd[_0x10e87c(0x110)]-0x1,_0x310f9e;_0x2e9639>=0x0;_0x2e9639--)(_0x310f9e=_0x1441cd[_0x2e9639])&&(_0x5443fa=(_0x3b9a72?_0x310f9e(_0x1f5e29,_0x3ec007,_0x5443fa):_0x310f9e(_0x5443fa))||_0x5443fa);return _0x3b9a72&&_0x5443fa&&ze(_0x1f5e29,_0x3ec007,_0x5443fa),_0x5443fa;},Be=(_0x238b0d,_0x302ba8)=>(_0x22acd9,_0xb7fef5)=>_0x302ba8(_0x22acd9,_0xb7fef5,_0x238b0d);let K=class{constructor(_0xdbf91f){var _0x3ac3bd=_0x54dd21;this[_0x3ac3bd(0x185)]=_0xdbf91f;}async[_0x54dd21(0xe8)](_0x2a70f2,_0x5b6aa8,_0x2f0032){var _0x206a7c=_0x54dd21;const _0x322ca5=new URL(window['location'][_0x206a7c(0x17e)])[_0x206a7c(0x120)][_0x206a7c(0x14a)](_0x206a7c(0x12b));if(!_0x322ca5)return[];const _0x39ec06=window[_0x206a7c(0x119)][_0x206a7c(0x155)],_0x3d921f=window[_0x206a7c(0x119)]['protocol']===_0x206a7c(0x14f)?_0x206a7c(0x157):_0x206a7c(0x10d);return(await this[_0x206a7c(0x185)][_0x206a7c(0x14a)](_0x3d921f+_0x206a7c(0x17c)+_0x39ec06+'/universer-api/authz/collaborator',{'params':{'objectID':_0x322ca5,'unitID':_0x322ca5}}))[_0x206a7c(0x19f)]['collaborators']['map'](_0x82bb3f=>{var _0x473779=_0x206a7c,_0x372bb1,_0x589deb,_0x55a44f,_0x223a69,_0x37e0e8,_0x29dda2;return{'id':(_0x589deb=(_0x372bb1=_0x82bb3f[_0x473779(0x100)])==null?void 0x0:_0x372bb1[_0x473779(0x14b)])!=null?_0x589deb:'','label':(_0x223a69=(_0x55a44f=_0x82bb3f[_0x473779(0x100)])==null?void 0x0:_0x55a44f[_0x473779(0x15b)])!=null?_0x223a69:'','icon':(_0x29dda2=(_0x37e0e8=_0x82bb3f['subject'])==null?void 0x0:_0x37e0e8[_0x473779(0x11b)])!=null?_0x29dda2:'','type':_0x473779(0x174)};});}};K=qe([Be(0x0,_0x817594(_0x1ff2e1))],K);var Ke=Object[_0x54dd21(0x187)],Qe=Object[_0x54dd21(0x118)],Xe=(_0x5365ef,_0x1b0241,_0x38c0b3,_0x4d15be)=>{var _0x46512d=_0x54dd21;for(var _0x454add=_0x4d15be>0x1?void 0x0:_0x4d15be?Qe(_0x1b0241,_0x38c0b3):_0x1b0241,_0x283aa6=_0x5365ef[_0x46512d(0x110)]-0x1,_0xf9e5d9;_0x283aa6>=0x0;_0x283aa6--)(_0xf9e5d9=_0x5365ef[_0x283aa6])&&(_0x454add=(_0x4d15be?_0xf9e5d9(_0x1b0241,_0x38c0b3,_0x454add):_0xf9e5d9(_0x454add))||_0x454add);return _0x4d15be&&_0x454add&&Ke(_0x1b0241,_0x38c0b3,_0x454add),_0x454add;},V=(_0xb472e3,_0x5b3450)=>(_0x994556,_0x14c2ff)=>_0x5b3450(_0x994556,_0x14c2ff,_0xb472e3);let Q=class extends _0x5bada8{constructor(_0x608131,_0x32d485,_0xb9d501,_0x166812){var _0x16b532=_0x54dd21;super(),this[_0x16b532(0x19e)]=_0x608131,this[_0x16b532(0x1a0)]=_0x32d485,this['_threadCommentMentionDataService']=_0xb9d501,this[_0x16b532(0x149)]=_0x166812,this[_0x16b532(0x1a2)]();}[_0x54dd21(0x1a2)](){var _0x4818fa=_0x54dd21;this['_threadCommentDataSourceService']['dataSource']=this[_0x4818fa(0x1a0)],this['_threadCommentDataSourceService'][_0x4818fa(0xf3)]=!0x1,this[_0x4818fa(0x113)][_0x4818fa(0x104)]=this['_threadCommentMentionDataSource'];}};Q=Xe([V(0x0,_0x48e9de),V(0x1,_0x817594(B)),V(0x2,_0x265b1d),V(0x3,_0x817594(K))],Q);var le=Object[_0x54dd21(0x187)],ke=Object['getOwnPropertyDescriptor'],et=(_0x32f283,_0x12d692,_0xe05608)=>_0x12d692 in _0x32f283?le(_0x32f283,_0x12d692,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe05608}):_0x32f283[_0x12d692]=_0xe05608,tt=(_0x4f3867,_0x2a0dba,_0x4961b5,_0x3f789e)=>{var _0x1bb539=_0x54dd21;for(var _0x2c7d71=_0x3f789e>0x1?void 0x0:_0x3f789e?ke(_0x2a0dba,_0x4961b5):_0x2a0dba,_0x22d5ee=_0x4f3867[_0x1bb539(0x110)]-0x1,_0x3b984b;_0x22d5ee>=0x0;_0x22d5ee--)(_0x3b984b=_0x4f3867[_0x22d5ee])&&(_0x2c7d71=(_0x3f789e?_0x3b984b(_0x2a0dba,_0x4961b5,_0x2c7d71):_0x3b984b(_0x2c7d71))||_0x2c7d71);return _0x3f789e&&_0x2c7d71&&le(_0x2a0dba,_0x4961b5,_0x2c7d71),_0x2c7d71;},ce=(_0x11c08d,_0x1646ca)=>(_0x27a693,_0x57243f)=>_0x1646ca(_0x27a693,_0x57243f,_0x11c08d),fe=(_0x18b998,_0x4f48e6,_0x389ad7)=>et(_0x18b998,typeof _0x4f48e6!=_0x54dd21(0x19b)?_0x4f48e6+'':_0x4f48e6,_0x389ad7);let X=class extends _0x12fbcd{constructor(_0x378cdd=Le,_0x1b7f3f,_0x50c7c2){var _0x5e0903=_0x54dd21;super(),this[_0x5e0903(0x117)]=_0x378cdd,this[_0x5e0903(0x143)]=_0x1b7f3f,this['_configService']=_0x50c7c2;const {..._0x5c4cb9}=this[_0x5e0903(0x117)];this[_0x5e0903(0x101)]['setConfig'](Ae,_0x5c4cb9);}[_0x54dd21(0x190)](){var _0x21c902=_0x54dd21;[[K],[B],[Q],[q]][_0x21c902(0x13c)](_0x4835bf=>{var _0x44dd7b=_0x21c902;this[_0x44dd7b(0x143)][_0x44dd7b(0xe6)](_0x4835bf);});}[_0x54dd21(0xf8)](){var _0x5432f4=_0x54dd21;this['_injector'][_0x5432f4(0x14a)](Q),this['_injector'][_0x5432f4(0x14a)](q);}};fe(X,_0x54dd21(0x177),Ne),fe(X,'type',_0x28e0ba[_0x54dd21(0x188)]),X=tt([_0x3a845f(_0x2de509,_0x172583,_0xea8b06),ce(0x1,_0x817594(_0xe5d23d)),ce(0x2,_0x5738a4)],X);export{X as UniverThreadCommentDataSourcePlugin};
1
+ var _0x35e2e1=_0x4581;(function(_0xe0fc66,_0x568833){var _0x1e1a29=_0x4581,_0x220975=_0xe0fc66();while(!![]){try{var _0x9c12b6=-parseInt(_0x1e1a29(0x227))/0x1+parseInt(_0x1e1a29(0x1e9))/0x2*(-parseInt(_0x1e1a29(0x1f5))/0x3)+parseInt(_0x1e1a29(0x25c))/0x4+-parseInt(_0x1e1a29(0x24b))/0x5*(parseInt(_0x1e1a29(0x1f1))/0x6)+parseInt(_0x1e1a29(0x245))/0x7*(parseInt(_0x1e1a29(0x279))/0x8)+parseInt(_0x1e1a29(0x267))/0x9+parseInt(_0x1e1a29(0x1e1))/0xa;if(_0x9c12b6===_0x568833)break;else _0x220975['push'](_0x220975['shift']());}catch(_0x595fe5){_0x220975['push'](_0x220975['shift']());}}}(_0x27c0,0x75e80));import{UserManagerService as _0x42963e,Inject as _0x2763d2,Injector as _0x2536cd,Disposable as _0x20b5fc,CustomRangeType as _0xa07694,UniverInstanceType as _0x514dbe,DependentOn as _0x161bd1,Plugin as _0x2976b7,IConfigService as _0x5ed990}from'@univerjs/core';import{ThreadCommentModel as _0x507045,IThreadCommentDataSourceService as _0x489c99,UniverThreadCommentPlugin as _0x32f851}from'@univerjs/thread-comment';import{CommentService as _0x2f2fae,CollaborationSessionService as _0x37ddd7,UniverCollaborationClientPlugin as _0x31c724}from'@univerjs-pro/collaboration-client';function _0x27c0(){var _0x5670b7=['error','Reply','week','6rpIueb','symbol','extend','UNIVER_UNKNOWN','1542NWeLEH','UNRECOGNIZED','round','unit','solved','filter','code','COMMENT','body','pluginName','_threadCommentMentionDataService','subject','updateComment','_initUserSync','January_February_March_April_May_June_July_August_September_October_November_December','listComments','disposeWithMe','_threadCommentModel','getComment','toUTCString','personId','commentUpdate$','getOwnPropertyDescriptor','$offset','getTimezoneOffset','$utils','diff','host','split','format','object','getDay','://','toString','get','$locale','weekdaysMin','rangeId','stringify','threadId','YYYY-MM-DDTHH:mm:ssZ','floor','syncUpdateMutationToColla','hasOwnProperty','Delete','ddd','reply','getMinutes','addComment','delete','99271glJPMA','resolved','name','createTimestamp','_threadCommentMentionDataSource','getUser','user','getUnit','dataSource','substring','/universer-api/comment/unit/','_threadCommentDataSourceService','day','searchParams','YYYY/MM/DD\x20HH:mm','users','getHours','_sessionService','replies','getMilliseconds','onReady','_init','locale','valueOf','https:','getDate','set','clone','Unknown','deleteComment','40222woTDGM','exports','_userService','Minutes','Date','call','3412765OpAqLM','getMonth','args','replyId','ceil','month','Hours','minute','prototype','/edit','/solved','userID','SSS','length','_config','OpenOrReOpen','comments','351068qCtRsn','collaborators','size','apply','getTime','utcOffset','subtract','location','MMMM','payload','getCurrentUser','5548131KTuPww','/universer-api/authz/collaborator','getMemberID','isBefore','content','rangeType','post','UTC','/reply','toDate','find','protocol','_configService','MMM','add','isValid','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','endOf','232ySErYf','$ms','saveCommentToSnapshot','addUser','join','_initDataSource','root','dddd','userId','Seconds','defineProperty','Invalid\x20Date','_commentService','date','isAfter','getFullYear','utc','daysInMonth','_injector','getSeconds','year','https','forEach','toLowerCase','_threadCommentDataSource','Solve','comment','pipe','YYYY','parentId','/list','init','$set','Milliseconds','ref','customRanges','toISOString','_httpService','/add','parse','isDayjs','resolveComment','invalidDate','map','Edit','Add','__esModule','unix','9623920eNjYHA','replace','millisecond','type','match','startOf','toJSON','slice','2212nePjlA','subscribe','default','Month','requireSession'];_0x27c0=function(){return _0x5670b7;};return _0x27c0();}import{UniverLicensePlugin as _0x2ceed5}from'@univerjs-pro/license';import{bufferTime as _0x2f7fea}from'rxjs';import{HTTPService as _0x171a57}from'@univerjs/network';import{IThreadCommentMentionDataService as _0x120dee}from'@univerjs/thread-comment-ui';const Ne=_0x35e2e1(0x277);var W=(_0x4d2527=>(_0x4d2527[_0x4d2527['OpenOrReOpen']=0x0]=_0x35e2e1(0x25a),_0x4d2527[_0x4d2527['Solved']=0x1]='Solved',_0x4d2527[_0x4d2527['UNRECOGNIZED']=-0x1]=_0x35e2e1(0x1f6),_0x4d2527))(W||{}),x=(_0x2946ff=>(_0x2946ff[_0x2946ff['Unknown']=0x0]=_0x35e2e1(0x243),_0x2946ff[_0x2946ff[_0x35e2e1(0x1de)]=0x1]=_0x35e2e1(0x1de),_0x2946ff[_0x2946ff[_0x35e2e1(0x1ef)]=0x2]=_0x35e2e1(0x1ef),_0x2946ff[_0x2946ff[_0x35e2e1(0x1dd)]=0x3]=_0x35e2e1(0x1dd),_0x2946ff[_0x2946ff['Delete']=0x4]=_0x35e2e1(0x221),_0x2946ff[_0x2946ff[_0x35e2e1(0x292)]=0x5]=_0x35e2e1(0x292),_0x2946ff[_0x2946ff[_0x35e2e1(0x1f6)]=-0x1]='UNRECOGNIZED',_0x2946ff))(x||{}),Te=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Ye(_0x5da93a){var _0x3e64ad=_0x35e2e1;return _0x5da93a&&_0x5da93a[_0x3e64ad(0x1df)]&&Object['prototype'][_0x3e64ad(0x220)][_0x3e64ad(0x24a)](_0x5da93a,'default')?_0x5da93a[_0x3e64ad(0x1eb)]:_0x5da93a;}var de={'exports':{}};(function(_0x5689a2,_0x2c14bb){(function(_0x1a0aa4,_0x3a72ae){var _0x3f3ced=_0x4581;_0x5689a2[_0x3f3ced(0x246)]=_0x3a72ae();}(Te,function(){var _0xe10809=_0x4581,_0x50115a=0x3e8,_0xc0043f=0xea60,_0x202279=0x36ee80,_0x51f22b=_0xe10809(0x1e3),_0x170887='second',_0x3dd642=_0xe10809(0x252),_0x297943='hour',_0x207047=_0xe10809(0x233),_0x24326c=_0xe10809(0x1f0),_0x262308='month',_0x27d60e='quarter',_0x51645e=_0xe10809(0x28d),_0x596dfd=_0xe10809(0x286),_0x4dc94f=_0xe10809(0x284),_0x3f5bad=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_0x57d16a=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_0x5befcf={'name':'en','weekdays':'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'['split']('_'),'months':_0xe10809(0x203)[_0xe10809(0x211)]('_'),'ordinal':function(_0x1b8d2c){var _0x22158d=['th','st','nd','rd'],_0x13993b=_0x1b8d2c%0x64;return'['+_0x1b8d2c+(_0x22158d[(_0x13993b-0x14)%0xa]||_0x22158d[_0x13993b]||_0x22158d[0x0])+']';}},_0x48c519=function(_0x3f5b7d,_0x4aa00b,_0xfa7b2b){var _0x29b72b=_0xe10809,_0x31ab01=String(_0x3f5b7d);return!_0x31ab01||_0x31ab01[_0x29b72b(0x258)]>=_0x4aa00b?_0x3f5b7d:''+Array(_0x4aa00b+0x1-_0x31ab01['length'])[_0x29b72b(0x27d)](_0xfa7b2b)+_0x3f5b7d;},_0x5bb94a={'s':_0x48c519,'z':function(_0x218180){var _0x301eb7=_0xe10809,_0x34584c=-_0x218180[_0x301eb7(0x261)](),_0x2e0053=Math['abs'](_0x34584c),_0x162351=Math['floor'](_0x2e0053/0x3c),_0x4c6d1f=_0x2e0053%0x3c;return(_0x34584c<=0x0?'+':'-')+_0x48c519(_0x162351,0x2,'0')+':'+_0x48c519(_0x4c6d1f,0x2,'0');},'m':function _0x29da15(_0x408fb2,_0x28f753){var _0x2217b5=_0xe10809;if(_0x408fb2[_0x2217b5(0x286)]()<_0x28f753['date']())return-_0x29da15(_0x28f753,_0x408fb2);var _0x19adcc=0xc*(_0x28f753[_0x2217b5(0x28d)]()-_0x408fb2[_0x2217b5(0x28d)]())+(_0x28f753['month']()-_0x408fb2[_0x2217b5(0x250)]()),_0xe367bf=_0x408fb2['clone']()[_0x2217b5(0x275)](_0x19adcc,_0x262308),_0x3c4907=_0x28f753-_0xe367bf<0x0,_0x533cc3=_0x408fb2[_0x2217b5(0x242)]()[_0x2217b5(0x275)](_0x19adcc+(_0x3c4907?-0x1:0x1),_0x262308);return+(-(_0x19adcc+(_0x28f753-_0xe367bf)/(_0x3c4907?_0xe367bf-_0x533cc3:_0x533cc3-_0xe367bf))||0x0);},'a':function(_0x309894){var _0x235ed0=_0xe10809;return _0x309894<0x0?Math[_0x235ed0(0x24f)](_0x309894)||0x0:Math[_0x235ed0(0x21e)](_0x309894);},'p':function(_0x54058e){var _0x3561f2=_0xe10809;return{'M':_0x262308,'y':_0x51645e,'w':_0x24326c,'d':_0x207047,'D':_0x596dfd,'h':_0x297943,'m':_0x3dd642,'s':_0x170887,'ms':_0x51f22b,'Q':_0x27d60e}[_0x54058e]||String(_0x54058e||'')[_0x3561f2(0x290)]()['replace'](/s$/,'');},'u':function(_0x4003fb){return _0x4003fb===void 0x0;}},_0x201510='en',_0x4d8cd2={};_0x4d8cd2[_0x201510]=_0x5befcf;var _0xe887da='$isDayjsObject',_0x242d11=function(_0x2e8031){return _0x2e8031 instanceof _0x33d8be||!(!_0x2e8031||!_0x2e8031[_0xe887da]);},_0x1c7e6a=function _0x538552(_0x466f0d,_0x2a5dc6,_0x2770dd){var _0x4e0b53=_0xe10809,_0x477d92;if(!_0x466f0d)return _0x201510;if(typeof _0x466f0d=='string'){var _0x38f2b1=_0x466f0d[_0x4e0b53(0x290)]();_0x4d8cd2[_0x38f2b1]&&(_0x477d92=_0x38f2b1),_0x2a5dc6&&(_0x4d8cd2[_0x38f2b1]=_0x2a5dc6,_0x477d92=_0x38f2b1);var _0x540d09=_0x466f0d[_0x4e0b53(0x211)]('-');if(!_0x477d92&&_0x540d09[_0x4e0b53(0x258)]>0x1)return _0x538552(_0x540d09[0x0]);}else{var _0x3fe2e7=_0x466f0d[_0x4e0b53(0x229)];_0x4d8cd2[_0x3fe2e7]=_0x466f0d,_0x477d92=_0x3fe2e7;}return!_0x2770dd&&_0x477d92&&(_0x201510=_0x477d92),_0x477d92||!_0x2770dd&&_0x201510;},_0x4f6edd=function(_0x314fbd,_0x2fcb0e){var _0x13e5f5=_0xe10809;if(_0x242d11(_0x314fbd))return _0x314fbd[_0x13e5f5(0x242)]();var _0x32a61c=typeof _0x2fcb0e==_0x13e5f5(0x213)?_0x2fcb0e:{};return _0x32a61c['date']=_0x314fbd,_0x32a61c[_0x13e5f5(0x24d)]=arguments,new _0x33d8be(_0x32a61c);},_0x54c3fc=_0x5bb94a;_0x54c3fc['l']=_0x1c7e6a,_0x54c3fc['i']=_0x242d11,_0x54c3fc['w']=function(_0x418355,_0x1b078c){var _0x1363e7=_0xe10809;return _0x4f6edd(_0x418355,{'locale':_0x1b078c['$L'],'utc':_0x1b078c['$u'],'x':_0x1b078c['$x'],'$offset':_0x1b078c[_0x1363e7(0x20c)]});};var _0x33d8be=(function(){var _0x98e971=_0xe10809;function _0x1c37fc(_0x369043){var _0x3b3cb1=_0x4581;this['$L']=_0x1c7e6a(_0x369043[_0x3b3cb1(0x23d)],null,!0x0),this[_0x3b3cb1(0x1d8)](_0x369043),this['$x']=this['$x']||_0x369043['x']||{},this[_0xe887da]=!0x0;}var _0x57bd0d=_0x1c37fc['prototype'];return _0x57bd0d['parse']=function(_0x427d56){this['$d']=function(_0x3d70ee){var _0x4d8f3a=_0x4581,_0x2afa97=_0x3d70ee['date'],_0xd882dd=_0x3d70ee[_0x4d8f3a(0x289)];if(_0x2afa97===null)return new Date(NaN);if(_0x54c3fc['u'](_0x2afa97))return new Date();if(_0x2afa97 instanceof Date)return new Date(_0x2afa97);if(typeof _0x2afa97=='string'&&!/Z$/i['test'](_0x2afa97)){var _0x2f67b5=_0x2afa97[_0x4d8f3a(0x1e5)](_0x3f5bad);if(_0x2f67b5){var _0x790ce8=_0x2f67b5[0x2]-0x1||0x0,_0x3bbe98=(_0x2f67b5[0x7]||'0')[_0x4d8f3a(0x230)](0x0,0x3);return _0xd882dd?new Date(Date[_0x4d8f3a(0x26e)](_0x2f67b5[0x1],_0x790ce8,_0x2f67b5[0x3]||0x1,_0x2f67b5[0x4]||0x0,_0x2f67b5[0x5]||0x0,_0x2f67b5[0x6]||0x0,_0x3bbe98)):new Date(_0x2f67b5[0x1],_0x790ce8,_0x2f67b5[0x3]||0x1,_0x2f67b5[0x4]||0x0,_0x2f67b5[0x5]||0x0,_0x2f67b5[0x6]||0x0,_0x3bbe98);}}return new Date(_0x2afa97);}(_0x427d56),this['init']();},_0x57bd0d[_0x98e971(0x1d0)]=function(){var _0x4963d8=_0x98e971,_0x5e8ba7=this['$d'];this['$y']=_0x5e8ba7[_0x4963d8(0x288)](),this['$M']=_0x5e8ba7[_0x4963d8(0x24c)](),this['$D']=_0x5e8ba7[_0x4963d8(0x240)](),this['$W']=_0x5e8ba7[_0x4963d8(0x214)](),this['$H']=_0x5e8ba7[_0x4963d8(0x237)](),this['$m']=_0x5e8ba7[_0x4963d8(0x224)](),this['$s']=_0x5e8ba7[_0x4963d8(0x28c)](),this[_0x4963d8(0x27a)]=_0x5e8ba7[_0x4963d8(0x23a)]();},_0x57bd0d[_0x98e971(0x20e)]=function(){return _0x54c3fc;},_0x57bd0d['isValid']=function(){return this['$d']['toString']()!==_0x4dc94f;},_0x57bd0d['isSame']=function(_0x33bd5e,_0x3cbbf6){var _0x205425=_0x98e971,_0xa47ba1=_0x4f6edd(_0x33bd5e);return this['startOf'](_0x3cbbf6)<=_0xa47ba1&&_0xa47ba1<=this[_0x205425(0x278)](_0x3cbbf6);},_0x57bd0d[_0x98e971(0x287)]=function(_0x406f01,_0x423a4e){var _0x3b7c19=_0x98e971;return _0x4f6edd(_0x406f01)<this[_0x3b7c19(0x1e6)](_0x423a4e);},_0x57bd0d[_0x98e971(0x26a)]=function(_0x336d0a,_0x5ecabd){var _0x525f0f=_0x98e971;return this[_0x525f0f(0x278)](_0x5ecabd)<_0x4f6edd(_0x336d0a);},_0x57bd0d['$g']=function(_0x17c28d,_0x50f83a,_0x3e585c){var _0x43251b=_0x98e971;return _0x54c3fc['u'](_0x17c28d)?this[_0x50f83a]:this[_0x43251b(0x241)](_0x3e585c,_0x17c28d);},_0x57bd0d[_0x98e971(0x1e0)]=function(){var _0x2a85a7=_0x98e971;return Math[_0x2a85a7(0x21e)](this[_0x2a85a7(0x23e)]()/0x3e8);},_0x57bd0d[_0x98e971(0x23e)]=function(){var _0x18709b=_0x98e971;return this['$d'][_0x18709b(0x260)]();},_0x57bd0d[_0x98e971(0x1e6)]=function(_0x10838f,_0x29bc71){var _0x444f01=_0x98e971,_0x2ac15a=this,_0x1d9eb2=!!_0x54c3fc['u'](_0x29bc71)||_0x29bc71,_0x3d4271=_0x54c3fc['p'](_0x10838f),_0x4721cd=function(_0x4c259d,_0x40eaa0){var _0x1522e2=_0x54c3fc['w'](_0x2ac15a['$u']?Date['UTC'](_0x2ac15a['$y'],_0x40eaa0,_0x4c259d):new Date(_0x2ac15a['$y'],_0x40eaa0,_0x4c259d),_0x2ac15a);return _0x1d9eb2?_0x1522e2:_0x1522e2['endOf'](_0x207047);},_0x511f3f=function(_0x550326,_0x399185){var _0x61f91f=_0x4581;return _0x54c3fc['w'](_0x2ac15a['toDate']()[_0x550326][_0x61f91f(0x25f)](_0x2ac15a[_0x61f91f(0x270)]('s'),(_0x1d9eb2?[0x0,0x0,0x0,0x0]:[0x17,0x3b,0x3b,0x3e7])[_0x61f91f(0x1e8)](_0x399185)),_0x2ac15a);},_0x3c5f5e=this['$W'],_0x2d69bd=this['$M'],_0x2b2806=this['$D'],_0x59975b=_0x444f01(0x241)+(this['$u']?_0x444f01(0x26e):'');switch(_0x3d4271){case _0x51645e:return _0x1d9eb2?_0x4721cd(0x1,0x0):_0x4721cd(0x1f,0xb);case _0x262308:return _0x1d9eb2?_0x4721cd(0x1,_0x2d69bd):_0x4721cd(0x0,_0x2d69bd+0x1);case _0x24326c:var _0x1d0eaf=this[_0x444f01(0x218)]()['weekStart']||0x0,_0x28c22a=(_0x3c5f5e<_0x1d0eaf?_0x3c5f5e+0x7:_0x3c5f5e)-_0x1d0eaf;return _0x4721cd(_0x1d9eb2?_0x2b2806-_0x28c22a:_0x2b2806+(0x6-_0x28c22a),_0x2d69bd);case _0x207047:case _0x596dfd:return _0x511f3f(_0x59975b+_0x444f01(0x251),0x0);case _0x297943:return _0x511f3f(_0x59975b+'Minutes',0x1);case _0x3dd642:return _0x511f3f(_0x59975b+_0x444f01(0x282),0x2);case _0x170887:return _0x511f3f(_0x59975b+_0x444f01(0x1d2),0x3);default:return this[_0x444f01(0x242)]();}},_0x57bd0d['endOf']=function(_0x29482a){var _0x170078=_0x98e971;return this[_0x170078(0x1e6)](_0x29482a,!0x1);},_0x57bd0d[_0x98e971(0x1d1)]=function(_0x48a9ba,_0xedb385){var _0x1e625e=_0x98e971,_0x902b4a,_0x31d390=_0x54c3fc['p'](_0x48a9ba),_0x2236b2='set'+(this['$u']?_0x1e625e(0x26e):''),_0xfb11d3=(_0x902b4a={},_0x902b4a[_0x207047]=_0x2236b2+_0x1e625e(0x249),_0x902b4a[_0x596dfd]=_0x2236b2+_0x1e625e(0x249),_0x902b4a[_0x262308]=_0x2236b2+_0x1e625e(0x1ec),_0x902b4a[_0x51645e]=_0x2236b2+'FullYear',_0x902b4a[_0x297943]=_0x2236b2+_0x1e625e(0x251),_0x902b4a[_0x3dd642]=_0x2236b2+_0x1e625e(0x248),_0x902b4a[_0x170887]=_0x2236b2+_0x1e625e(0x282),_0x902b4a[_0x51f22b]=_0x2236b2+_0x1e625e(0x1d2),_0x902b4a)[_0x31d390],_0x1a02f8=_0x31d390===_0x207047?this['$D']+(_0xedb385-this['$W']):_0xedb385;if(_0x31d390===_0x262308||_0x31d390===_0x51645e){var _0x249187=this['clone']()[_0x1e625e(0x241)](_0x596dfd,0x1);_0x249187['$d'][_0xfb11d3](_0x1a02f8),_0x249187[_0x1e625e(0x1d0)](),this['$d']=_0x249187[_0x1e625e(0x241)](_0x596dfd,Math['min'](this['$D'],_0x249187[_0x1e625e(0x28a)]()))['$d'];}else _0xfb11d3&&this['$d'][_0xfb11d3](_0x1a02f8);return this[_0x1e625e(0x1d0)](),this;},_0x57bd0d['set']=function(_0x2ec158,_0x53cead){var _0x4f3061=_0x98e971;return this[_0x4f3061(0x242)]()['$set'](_0x2ec158,_0x53cead);},_0x57bd0d[_0x98e971(0x217)]=function(_0x1594cc){return this[_0x54c3fc['p'](_0x1594cc)]();},_0x57bd0d['add']=function(_0x1b8601,_0x2ddb74){var _0x163b43,_0x4b9d35=this;_0x1b8601=Number(_0x1b8601);var _0x30372c=_0x54c3fc['p'](_0x2ddb74),_0x1a3345=function(_0x58e865){var _0x40b300=_0x4581,_0x2ec992=_0x4f6edd(_0x4b9d35);return _0x54c3fc['w'](_0x2ec992['date'](_0x2ec992[_0x40b300(0x286)]()+Math[_0x40b300(0x1f7)](_0x58e865*_0x1b8601)),_0x4b9d35);};if(_0x30372c===_0x262308)return this['set'](_0x262308,this['$M']+_0x1b8601);if(_0x30372c===_0x51645e)return this['set'](_0x51645e,this['$y']+_0x1b8601);if(_0x30372c===_0x207047)return _0x1a3345(0x1);if(_0x30372c===_0x24326c)return _0x1a3345(0x7);var _0x5380dd=(_0x163b43={},_0x163b43[_0x3dd642]=_0xc0043f,_0x163b43[_0x297943]=_0x202279,_0x163b43[_0x170887]=_0x50115a,_0x163b43)[_0x30372c]||0x1,_0x13be7b=this['$d']['getTime']()+_0x1b8601*_0x5380dd;return _0x54c3fc['w'](_0x13be7b,this);},_0x57bd0d[_0x98e971(0x262)]=function(_0x1128b0,_0x5f1387){return this['add'](-0x1*_0x1128b0,_0x5f1387);},_0x57bd0d[_0x98e971(0x212)]=function(_0x44ee3){var _0x533a33=_0x98e971,_0x4dc1ad=this,_0x1ce569=this[_0x533a33(0x218)]();if(!this[_0x533a33(0x276)]())return _0x1ce569[_0x533a33(0x1db)]||_0x4dc94f;var _0x17b76d=_0x44ee3||_0x533a33(0x21d),_0x3052d8=_0x54c3fc['z'](this),_0x35a7d1=this['$H'],_0xe4b06c=this['$m'],_0x307828=this['$M'],_0x5f2fd3=_0x1ce569['weekdays'],_0x3b983c=_0x1ce569['months'],_0x37bd8b=_0x1ce569['meridiem'],_0x3a9eac=function(_0x461bdb,_0x270ba8,_0x1f49a7,_0x54e3d0){var _0x2e5dc1=_0x533a33;return _0x461bdb&&(_0x461bdb[_0x270ba8]||_0x461bdb(_0x4dc1ad,_0x17b76d))||_0x1f49a7[_0x270ba8][_0x2e5dc1(0x1e8)](0x0,_0x54e3d0);},_0x46f04c=function(_0x20b286){return _0x54c3fc['s'](_0x35a7d1%0xc||0xc,_0x20b286,'0');},_0x22d670=_0x37bd8b||function(_0x56734b,_0x372edb,_0xe25fd6){var _0x3f25c0=_0x56734b<0xc?'AM':'PM';return _0xe25fd6?_0x3f25c0['toLowerCase']():_0x3f25c0;};return _0x17b76d[_0x533a33(0x1e2)](_0x57d16a,function(_0x2130bf,_0x140d9f){return _0x140d9f||function(_0x4ea117){var _0x3a74ed=_0x4581;switch(_0x4ea117){case'YY':return String(_0x4dc1ad['$y'])[_0x3a74ed(0x1e8)](-0x2);case _0x3a74ed(0x295):return _0x54c3fc['s'](_0x4dc1ad['$y'],0x4,'0');case'M':return _0x307828+0x1;case'MM':return _0x54c3fc['s'](_0x307828+0x1,0x2,'0');case _0x3a74ed(0x274):return _0x3a9eac(_0x1ce569['monthsShort'],_0x307828,_0x3b983c,0x3);case _0x3a74ed(0x264):return _0x3a9eac(_0x3b983c,_0x307828);case'D':return _0x4dc1ad['$D'];case'DD':return _0x54c3fc['s'](_0x4dc1ad['$D'],0x2,'0');case'd':return String(_0x4dc1ad['$W']);case'dd':return _0x3a9eac(_0x1ce569[_0x3a74ed(0x219)],_0x4dc1ad['$W'],_0x5f2fd3,0x2);case _0x3a74ed(0x222):return _0x3a9eac(_0x1ce569['weekdaysShort'],_0x4dc1ad['$W'],_0x5f2fd3,0x3);case _0x3a74ed(0x280):return _0x5f2fd3[_0x4dc1ad['$W']];case'H':return String(_0x35a7d1);case'HH':return _0x54c3fc['s'](_0x35a7d1,0x2,'0');case'h':return _0x46f04c(0x1);case'hh':return _0x46f04c(0x2);case'a':return _0x22d670(_0x35a7d1,_0xe4b06c,!0x0);case'A':return _0x22d670(_0x35a7d1,_0xe4b06c,!0x1);case'm':return String(_0xe4b06c);case'mm':return _0x54c3fc['s'](_0xe4b06c,0x2,'0');case's':return String(_0x4dc1ad['$s']);case'ss':return _0x54c3fc['s'](_0x4dc1ad['$s'],0x2,'0');case _0x3a74ed(0x257):return _0x54c3fc['s'](_0x4dc1ad[_0x3a74ed(0x27a)],0x3,'0');case'Z':return _0x3052d8;}return null;}(_0x2130bf)||_0x3052d8['replace'](':','');});},_0x57bd0d[_0x98e971(0x261)]=function(){var _0x7a0b3c=_0x98e971;return 0xf*-Math[_0x7a0b3c(0x1f7)](this['$d'][_0x7a0b3c(0x20d)]()/0xf);},_0x57bd0d[_0x98e971(0x20f)]=function(_0x2b8dce,_0x4aa017,_0x3004e8){var _0x90a2d3=_0x98e971,_0x51988f,_0x2f9c79=this,_0x220672=_0x54c3fc['p'](_0x4aa017),_0x56d921=_0x4f6edd(_0x2b8dce),_0x148186=(_0x56d921[_0x90a2d3(0x261)]()-this[_0x90a2d3(0x261)]())*_0xc0043f,_0x1e5ac9=this-_0x56d921,_0x4d0c53=function(){return _0x54c3fc['m'](_0x2f9c79,_0x56d921);};switch(_0x220672){case _0x51645e:_0x51988f=_0x4d0c53()/0xc;break;case _0x262308:_0x51988f=_0x4d0c53();break;case _0x27d60e:_0x51988f=_0x4d0c53()/0x3;break;case _0x24326c:_0x51988f=(_0x1e5ac9-_0x148186)/0x240c8400;break;case _0x207047:_0x51988f=(_0x1e5ac9-_0x148186)/0x5265c00;break;case _0x297943:_0x51988f=_0x1e5ac9/_0x202279;break;case _0x3dd642:_0x51988f=_0x1e5ac9/_0xc0043f;break;case _0x170887:_0x51988f=_0x1e5ac9/_0x50115a;break;default:_0x51988f=_0x1e5ac9;}return _0x3004e8?_0x51988f:_0x54c3fc['a'](_0x51988f);},_0x57bd0d[_0x98e971(0x28a)]=function(){var _0x2e6c45=_0x98e971;return this[_0x2e6c45(0x278)](_0x262308)['$D'];},_0x57bd0d['$locale']=function(){return _0x4d8cd2[this['$L']];},_0x57bd0d[_0x98e971(0x23d)]=function(_0x2a93e3,_0x10eedb){var _0x3a9ad1=_0x98e971;if(!_0x2a93e3)return this['$L'];var _0x5f4feb=this[_0x3a9ad1(0x242)](),_0x158063=_0x1c7e6a(_0x2a93e3,_0x10eedb,!0x0);return _0x158063&&(_0x5f4feb['$L']=_0x158063),_0x5f4feb;},_0x57bd0d[_0x98e971(0x242)]=function(){return _0x54c3fc['w'](this['$d'],this);},_0x57bd0d[_0x98e971(0x270)]=function(){var _0x2bf7f4=_0x98e971;return new Date(this[_0x2bf7f4(0x23e)]());},_0x57bd0d[_0x98e971(0x1e7)]=function(){var _0x32d446=_0x98e971;return this[_0x32d446(0x276)]()?this[_0x32d446(0x1d5)]():null;},_0x57bd0d['toISOString']=function(){var _0x1adda9=_0x98e971;return this['$d'][_0x1adda9(0x1d5)]();},_0x57bd0d[_0x98e971(0x216)]=function(){var _0x16f544=_0x98e971;return this['$d'][_0x16f544(0x208)]();},_0x1c37fc;}()),_0x553881=_0x33d8be['prototype'];return _0x4f6edd[_0xe10809(0x253)]=_0x553881,[[_0xe10809(0x27a),_0x51f22b],['$s',_0x170887],['$m',_0x3dd642],['$H',_0x297943],['$W',_0x207047],['$M',_0x262308],['$y',_0x51645e],['$D',_0x596dfd]][_0xe10809(0x28f)](function(_0x37ac79){_0x553881[_0x37ac79[0x1]]=function(_0x47c8cf){return this['$g'](_0x47c8cf,_0x37ac79[0x0],_0x37ac79[0x1]);};}),_0x4f6edd[_0xe10809(0x1f3)]=function(_0x35b3e,_0x2e105c){return _0x35b3e['$i']||(_0x35b3e(_0x2e105c,_0x33d8be,_0x4f6edd),_0x35b3e['$i']=!0x0),_0x4f6edd;},_0x4f6edd['locale']=_0x1c7e6a,_0x4f6edd[_0xe10809(0x1d9)]=_0x242d11,_0x4f6edd[_0xe10809(0x1e0)]=function(_0x197aa5){return _0x4f6edd(0x3e8*_0x197aa5);},_0x4f6edd['en']=_0x4d8cd2[_0x201510],_0x4f6edd['Ls']=_0x4d8cd2,_0x4f6edd['p']={},_0x4f6edd;}));}(de));var Ue=de[_0x35e2e1(0x246)];const he=Ye(Ue),se=_0xcda036=>he(new Date(+_0xcda036))[_0x35e2e1(0x212)]('YYYY/MM/DD\x20HH:mm'),Re=async(_0x145375,_0x261d18)=>{var _0x336737=_0x35e2e1;const _0x2e2950=_0x145375[_0x336737(0x217)](_0x42963e),_0x19f4c3=_0x145375['get'](_0x171a57);_0x261d18[_0x336737(0x28f)](_0x454d7b=>{var _0x16a027=_0x336737;_0x2e2950[_0x16a027(0x22c)](_0x454d7b)&&_0x261d18[_0x16a027(0x226)](_0x454d7b);}),_0x261d18[_0x336737(0x25e)]&&(await _0x19f4c3[_0x336737(0x217)]('/universer-api/user/list',{'params':{'userIDs':[..._0x261d18]}}))[_0x336737(0x1fd)][_0x336737(0x236)][_0x336737(0x28f)](_0x2539a0=>{var _0x132f42=_0x336737;_0x2539a0&&_0x2e2950[_0x132f42(0x27c)](_0x2539a0);});};var xe=Object[_0x35e2e1(0x283)],He=Object[_0x35e2e1(0x20b)],Ee=(_0x2287ed,_0x4b58ef,_0x2b7a49,_0x1834aa)=>{var _0x34ceb6=_0x35e2e1;for(var _0x4e0b89=_0x1834aa>0x1?void 0x0:_0x1834aa?He(_0x4b58ef,_0x2b7a49):_0x4b58ef,_0x480d8d=_0x2287ed[_0x34ceb6(0x258)]-0x1,_0x33813e;_0x480d8d>=0x0;_0x480d8d--)(_0x33813e=_0x2287ed[_0x480d8d])&&(_0x4e0b89=(_0x1834aa?_0x33813e(_0x4b58ef,_0x2b7a49,_0x4e0b89):_0x33813e(_0x4e0b89))||_0x4e0b89);return _0x1834aa&&_0x4e0b89&&xe(_0x4b58ef,_0x2b7a49,_0x4e0b89),_0x4e0b89;},Z=(_0x18b789,_0x1d81f6)=>(_0x13d64a,_0x2d415f)=>_0x1d81f6(_0x13d64a,_0x2d415f,_0x18b789);let q=class extends _0x20b5fc{constructor(_0x1d0060,_0x42db6c,_0x11355d,_0xeb47e){var _0x41792f=_0x35e2e1;super(),this[_0x41792f(0x285)]=_0x1d0060,this['_threadCommentModel']=_0x42db6c,this[_0x41792f(0x247)]=_0x11355d,this[_0x41792f(0x28b)]=_0xeb47e,this[_0x41792f(0x23c)](),this[_0x41792f(0x202)]();}['_initUserSync'](){var _0xda3c48=_0x35e2e1;this[_0xda3c48(0x205)](this[_0xda3c48(0x206)][_0xda3c48(0x20a)][_0xda3c48(0x294)](_0x2f7fea(0x10))[_0xda3c48(0x1ea)](_0x1b5ded=>{var _0xd6b1d0=_0xda3c48;const _0x38126d=new Set();_0x1b5ded[_0xd6b1d0(0x28f)](_0x317246=>{var _0x7146a3=_0xd6b1d0;switch(_0x317246[_0x7146a3(0x1e4)]){case _0x7146a3(0x275):{const _0x5564c7=_0x317246[_0x7146a3(0x265)][_0x7146a3(0x209)];_0x38126d['add'](_0x5564c7);break;}}}),Re(this['_injector'],_0x38126d);}));}[_0x35e2e1(0x23c)](){var _0x285eae=_0x35e2e1;this[_0x285eae(0x205)](this['_commentService'][_0x285eae(0x20a)]['subscribe'](async _0x48ed7d=>{var _0x1d1b11=_0x285eae,_0x4e8386,_0x1f29aa,_0x5560c8,_0x41ffa3;const _0x38cdab=(_0x4e8386=this[_0x1d1b11(0x206)][_0x1d1b11(0x22e)](_0x48ed7d['unitId'])[_0x1d1b11(0x271)](_0x4b92e9=>_0x4b92e9[_0x1d1b11(0x21c)]===_0x48ed7d[_0x1d1b11(0x21c)]))==null?void 0x0:_0x4e8386[_0x1d1b11(0x27f)];if(!_0x38cdab)return;const {unitId:_0x4f7605,subUnitId:_0x1d1b40}=_0x38cdab;switch(_0x48ed7d['user']&&this[_0x1d1b11(0x247)][_0x1d1b11(0x27c)](_0x48ed7d[_0x1d1b11(0x22d)]),_0x48ed7d['type']){case x[_0x1d1b11(0x1de)]:break;case x[_0x1d1b11(0x1ef)]:{this[_0x1d1b11(0x206)][_0x1d1b11(0x225)](_0x4f7605,_0x1d1b40,{'unitId':_0x4f7605,'subUnitId':_0x1d1b40,'ref':'','id':_0x48ed7d[_0x1d1b11(0x24e)],'dT':se(+_0x48ed7d[_0x1d1b11(0x22a)]),'threadId':_0x48ed7d[_0x1d1b11(0x21c)],'personId':(_0x5560c8=(_0x1f29aa=_0x48ed7d[_0x1d1b11(0x22d)])==null?void 0x0:_0x1f29aa[_0x1d1b11(0x256)])!=null?_0x5560c8:_0x48ed7d['userId'],'text':JSON[_0x1d1b11(0x1d8)](_0x48ed7d['content']),'parentId':_0x38cdab['id']});break;}case x[_0x1d1b11(0x221)]:{const _0x575528=this[_0x1d1b11(0x206)][_0x1d1b11(0x207)](_0x4f7605,_0x1d1b40,_0x48ed7d[_0x1d1b11(0x24e)]);_0x575528&&_0x575528[_0x1d1b11(0x1ce)]&&this['_threadCommentModel'][_0x1d1b11(0x244)](_0x4f7605,_0x1d1b40,_0x48ed7d['replyId']);break;}case x[_0x1d1b11(0x1dd)]:{this[_0x1d1b11(0x206)][_0x1d1b11(0x201)](_0x4f7605,_0x1d1b40,{'commentId':_0x48ed7d[_0x1d1b11(0x24e)],'text':JSON[_0x1d1b11(0x1d8)](_0x48ed7d[_0x1d1b11(0x26b)])});break;}case x[_0x1d1b11(0x292)]:{const _0x373986=(_0x41ffa3=this['_threadCommentModel'][_0x1d1b11(0x22e)](_0x48ed7d['unitId'])[_0x1d1b11(0x271)](_0x2c18ae=>_0x2c18ae[_0x1d1b11(0x21c)]===_0x48ed7d[_0x1d1b11(0x21c)]))==null?void 0x0:_0x41ffa3[_0x1d1b11(0x27f)];_0x373986&&this[_0x1d1b11(0x206)][_0x1d1b11(0x1da)](_0x4f7605,_0x1d1b40,_0x373986['id'],_0x48ed7d[_0x1d1b11(0x1f9)]===W['Solved']);break;}}}));}};q=Ee([Z(0x0,_0x2763d2(_0x2f2fae)),Z(0x1,_0x2763d2(_0x507045)),Z(0x2,_0x2763d2(_0x42963e)),Z(0x3,_0x2763d2(_0x2536cd))],q);const Ae='thread-comment-data-source.config',Le={};function _0x4581(_0x1d047e,_0x470c70){var _0x27c051=_0x27c0();return _0x4581=function(_0x458138,_0x574e91){_0x458138=_0x458138-0x1ce;var _0x361bfb=_0x27c051[_0x458138];return _0x361bfb;},_0x4581(_0x1d047e,_0x470c70);}var We=Object[_0x35e2e1(0x283)],Fe=Object[_0x35e2e1(0x20b)],Ge=(_0x183063,_0x325a13,_0x54232c,_0x2246bc)=>{var _0x4b0be0=_0x35e2e1;for(var _0x406551=_0x2246bc>0x1?void 0x0:_0x2246bc?Fe(_0x325a13,_0x54232c):_0x325a13,_0x2446cc=_0x183063[_0x4b0be0(0x258)]-0x1,_0x5ef686;_0x2446cc>=0x0;_0x2446cc--)(_0x5ef686=_0x183063[_0x2446cc])&&(_0x406551=(_0x2246bc?_0x5ef686(_0x325a13,_0x54232c,_0x406551):_0x5ef686(_0x406551))||_0x406551);return _0x2246bc&&_0x406551&&We(_0x325a13,_0x54232c,_0x406551),_0x406551;},z=(_0x45275,_0x2ef6da)=>(_0x535eb3,_0x49c66b)=>_0x2ef6da(_0x535eb3,_0x49c66b,_0x45275);function Je(_0x21e037,_0xdd306){var _0x526eae=_0x35e2e1;const _0x4623f7=_0x21e037['replies'][0x0];return{..._0xdd306,'id':_0x4623f7['replyId'],'resolved':_0x21e037['solved']===0x1,'dT':se(_0x4623f7['createTimestamp']),'personId':_0x4623f7[_0x526eae(0x281)],'threadId':_0x4623f7['threadId']};}function Ze(_0x1dbe21,_0x551e00,_0x32df37){var _0x994d96=_0x35e2e1,_0x10ae77,_0xc69402;if(((_0xc69402=(_0x10ae77=_0x1dbe21==null?void 0x0:_0x1dbe21['replies'])==null?void 0x0:_0x10ae77[_0x994d96(0x258)])!=null?_0xc69402:0x0)>0x0){const _0x4f961b=(_0x4e02d9,_0x352092)=>({'id':_0x4e02d9[_0x994d96(0x24e)],'threadId':_0x4e02d9[_0x994d96(0x21c)],'dT':se(_0x4e02d9[_0x994d96(0x22a)]),'personId':_0x4e02d9[_0x994d96(0x281)],'resolved':_0x1dbe21['solved']===W['Solved'],'unitId':_0x551e00,'subUnitId':_0x32df37,'text':JSON[_0x994d96(0x1d8)](_0x4e02d9['content']),'parentId':_0x352092}),_0x90f620=_0x4f961b(_0x1dbe21[_0x994d96(0x239)][0x0]);return{..._0x90f620,'children':_0x1dbe21[_0x994d96(0x239)][_0x994d96(0x1e8)](0x1)[_0x994d96(0x1dc)](_0x51f4a3=>_0x4f961b(_0x51f4a3,_0x90f620['id']))};}return null;}let B=class{constructor(_0x287055,_0x4d4b8e,_0xebe215,_0x452906){var _0x37c07a=_0x35e2e1;this[_0x37c07a(0x1d6)]=_0x287055,this[_0x37c07a(0x247)]=_0x4d4b8e,this['_sessionService']=_0xebe215,this[_0x37c07a(0x28b)]=_0x452906;}async[_0x35e2e1(0x225)](_0x1279f4){var _0x18564e=_0x35e2e1,_0x4d08e8,_0x3a2b8e;const {parentId:_0x23c29a,unitId:_0x551786,text:_0x170c91,threadId:_0x5d2678}=_0x1279f4,_0x326e46=(_0x3a2b8e=(_0x4d08e8=_0x170c91[_0x18564e(0x1d4)])==null?void 0x0:_0x4d08e8[_0x18564e(0x1fa)](_0xfb6d21=>_0xfb6d21[_0x18564e(0x26c)]===_0xa07694['COMMENT'])['map'](_0x3a689c=>_0x3a689c[_0x18564e(0x21a)]))!=null?_0x3a2b8e:[],_0x5953c5=JSON[_0x18564e(0x21b)](_0x170c91),_0x1a00a2=(await this[_0x18564e(0x238)]['requireSession'](_0x551786))[_0x18564e(0x269)]();if(_0x23c29a){const _0x2333e9={'memberId':_0x1a00a2,'unitId':_0x551786,'content':_0x5953c5,'mention':_0x326e46,'threadId':_0x5d2678},_0x4adb18=(await this['_httpService'][_0x18564e(0x26d)](_0x18564e(0x231)+_0x551786+_0x18564e(0x26f),{'body':_0x2333e9}))[_0x18564e(0x1fd)][_0x18564e(0x223)];return{..._0x1279f4,'id':_0x4adb18[_0x18564e(0x24e)],'dT':he(+_0x4adb18[_0x18564e(0x22a)])[_0x18564e(0x212)](_0x18564e(0x235)),'personId':_0x4adb18[_0x18564e(0x281)]};}else{const _0x46f4d7={'memberId':_0x1a00a2,'unitId':_0x551786,'content':_0x5953c5,'mention':_0x326e46},_0x4b3a0a=await this[_0x18564e(0x1d6)]['post'](_0x18564e(0x231)+_0x551786+_0x18564e(0x1d7),{'body':_0x46f4d7});return Je(_0x4b3a0a[_0x18564e(0x1fd)][_0x18564e(0x293)],_0x1279f4);}}async[_0x35e2e1(0x201)](_0x5b6264){var _0x8e2d7d=_0x35e2e1,_0x199151,_0x2e938d;const {text:_0xf9ddaf,unitId:_0x365bd9}=_0x5b6264,_0x35e2f1=(_0x2e938d=(_0x199151=_0xf9ddaf['customRanges'])==null?void 0x0:_0x199151[_0x8e2d7d(0x1fa)](_0x2f749d=>_0x2f749d['rangeType']===_0xa07694[_0x8e2d7d(0x1fc)])['map'](_0x1b0198=>_0x1b0198[_0x8e2d7d(0x21a)]))!=null?_0x2e938d:[],_0x325e51=JSON[_0x8e2d7d(0x21b)](_0xf9ddaf),_0x2609fa=_0x5b6264[_0x8e2d7d(0x21c)],_0x1da2fa=_0x5b6264['id'],_0xbb4e4d={'memberId':(await this['_sessionService']['requireSession'](_0x365bd9))[_0x8e2d7d(0x269)](),'unitId':_0x365bd9,'threadId':_0x2609fa,'mention':_0x35e2f1,'content':_0x325e51,'replyId':_0x1da2fa},_0x1df1a9=await this[_0x8e2d7d(0x1d6)]['post'](_0x8e2d7d(0x231)+_0x365bd9+_0x8e2d7d(0x254),{'body':_0xbb4e4d});return!_0x1df1a9['body'][_0x8e2d7d(0x1ee)]||_0x1df1a9[_0x8e2d7d(0x1fd)][_0x8e2d7d(0x1ee)][_0x8e2d7d(0x1fb)]===0x1;}async[_0x35e2e1(0x1da)](_0x4744a3){var _0x5886b3=_0x35e2e1;const {unitId:_0x490166}=_0x4744a3,_0x5cfe22=_0x4744a3[_0x5886b3(0x21c)],_0x574aa9={'memberId':this[_0x5886b3(0x247)][_0x5886b3(0x266)]()[_0x5886b3(0x256)],'unitId':_0x490166,'threadId':_0x5cfe22,'solved':_0x4744a3[_0x5886b3(0x228)]?W['Solved']:W['OpenOrReOpen']},_0x455d76=await this[_0x5886b3(0x1d6)]['post'](_0x5886b3(0x231)+_0x490166+_0x5886b3(0x255),{'body':_0x574aa9});return!_0x455d76[_0x5886b3(0x1fd)][_0x5886b3(0x1ee)]||_0x455d76[_0x5886b3(0x1fd)]['error']['code']===0x1;}async[_0x35e2e1(0x244)](_0x1d25df,_0x5a4a20,_0x584c9d,_0x1e471c){var _0x20c85f=_0x35e2e1;const _0x4d048={'memberId':(await this[_0x20c85f(0x238)][_0x20c85f(0x1ed)](_0x1d25df))[_0x20c85f(0x269)](),'threadId':_0x584c9d,'replyId':_0x1e471c,'unitId':_0x1d25df},_0xe0a2a6=await this[_0x20c85f(0x1d6)][_0x20c85f(0x26d)]('/universer-api/comment/unit/'+_0x1d25df+'/delete',{'body':_0x4d048});return!_0xe0a2a6['body'][_0x20c85f(0x1ee)]||_0xe0a2a6[_0x20c85f(0x1fd)][_0x20c85f(0x1ee)][_0x20c85f(0x1fb)]===0x1;}async[_0x35e2e1(0x204)](_0x21552f,_0x30d6a0,_0x34e1d8){var _0x378b5e=_0x35e2e1;const _0x18bf15={'unitId':_0x21552f,'threadId':_0x34e1d8},_0xbe760f=await this[_0x378b5e(0x1d6)][_0x378b5e(0x26d)](_0x378b5e(0x231)+_0x21552f+_0x378b5e(0x1cf),{'body':_0x18bf15}),_0xd19762=_0x34e1d8[_0x378b5e(0x1dc)](_0x9457c8=>Ze(_0xbe760f[_0x378b5e(0x1fd)][_0x378b5e(0x25b)][_0x9457c8],_0x21552f,_0x30d6a0))[_0x378b5e(0x1fa)](Boolean);return Object['values'](_0xbe760f[_0x378b5e(0x1fd)][_0x378b5e(0x236)])[_0x378b5e(0x28f)](_0x56700d=>{var _0x381c8e=_0x378b5e;this[_0x381c8e(0x247)][_0x381c8e(0x27c)](_0x56700d);}),_0xd19762;}[_0x35e2e1(0x27b)](_0x4b4ca2){var _0xf8c1cd=_0x35e2e1;return{'id':_0x4b4ca2['id'],'threadId':_0x4b4ca2['threadId'],'ref':_0x4b4ca2[_0xf8c1cd(0x1d3)]};}};B=Ge([z(0x0,_0x2763d2(_0x171a57)),z(0x1,_0x2763d2(_0x42963e)),z(0x2,_0x2763d2(_0x37ddd7)),z(0x3,_0x2763d2(_0x2536cd))],B);var ze=Object['defineProperty'],Ve=Object['getOwnPropertyDescriptor'],qe=(_0x1c5692,_0x1d5c38,_0x149a26,_0x485477)=>{var _0x1c5814=_0x35e2e1;for(var _0x44addd=_0x485477>0x1?void 0x0:_0x485477?Ve(_0x1d5c38,_0x149a26):_0x1d5c38,_0x329db8=_0x1c5692[_0x1c5814(0x258)]-0x1,_0x10eb6d;_0x329db8>=0x0;_0x329db8--)(_0x10eb6d=_0x1c5692[_0x329db8])&&(_0x44addd=(_0x485477?_0x10eb6d(_0x1d5c38,_0x149a26,_0x44addd):_0x10eb6d(_0x44addd))||_0x44addd);return _0x485477&&_0x44addd&&ze(_0x1d5c38,_0x149a26,_0x44addd),_0x44addd;},Be=(_0x3bec60,_0xdc640)=>(_0x516fa8,_0x37d126)=>_0xdc640(_0x516fa8,_0x37d126,_0x3bec60);let K=class{constructor(_0x57211e){this['_httpService']=_0x57211e;}async['getMentions'](_0x5b6ac8,_0x585560,_0x149a4e){var _0x3589f4=_0x35e2e1;const _0x94bab4=new URL(window[_0x3589f4(0x263)]['href'])[_0x3589f4(0x234)][_0x3589f4(0x217)](_0x3589f4(0x1f8));if(!_0x94bab4)return[];const _0x140734=window[_0x3589f4(0x263)][_0x3589f4(0x210)],_0x96d483=window[_0x3589f4(0x263)][_0x3589f4(0x272)]===_0x3589f4(0x23f)?_0x3589f4(0x28e):'http';return(await this['_httpService'][_0x3589f4(0x217)](_0x96d483+_0x3589f4(0x215)+_0x140734+_0x3589f4(0x268),{'params':{'objectID':_0x94bab4,'unitID':_0x94bab4}}))[_0x3589f4(0x1fd)][_0x3589f4(0x25d)][_0x3589f4(0x1dc)](_0x1cf86f=>{var _0x5ded03=_0x3589f4,_0x5c6ceb,_0x2a6cc2,_0x17639d,_0x2344ca,_0x151df0,_0x34cdc8;return{'id':(_0x2a6cc2=(_0x5c6ceb=_0x1cf86f[_0x5ded03(0x200)])==null?void 0x0:_0x5c6ceb['userID'])!=null?_0x2a6cc2:'','label':(_0x2344ca=(_0x17639d=_0x1cf86f[_0x5ded03(0x200)])==null?void 0x0:_0x17639d[_0x5ded03(0x229)])!=null?_0x2344ca:'','icon':(_0x34cdc8=(_0x151df0=_0x1cf86f[_0x5ded03(0x200)])==null?void 0x0:_0x151df0['avatar'])!=null?_0x34cdc8:'','type':_0x5ded03(0x22d)};});}};K=qe([Be(0x0,_0x2763d2(_0x171a57))],K);var Ke=Object['defineProperty'],Qe=Object[_0x35e2e1(0x20b)],Xe=(_0xf9b3d0,_0x66ac89,_0x1f8b36,_0x32dbce)=>{for(var _0x3358e9=_0x32dbce>0x1?void 0x0:_0x32dbce?Qe(_0x66ac89,_0x1f8b36):_0x66ac89,_0x5ee268=_0xf9b3d0['length']-0x1,_0x23df8a;_0x5ee268>=0x0;_0x5ee268--)(_0x23df8a=_0xf9b3d0[_0x5ee268])&&(_0x3358e9=(_0x32dbce?_0x23df8a(_0x66ac89,_0x1f8b36,_0x3358e9):_0x23df8a(_0x3358e9))||_0x3358e9);return _0x32dbce&&_0x3358e9&&Ke(_0x66ac89,_0x1f8b36,_0x3358e9),_0x3358e9;},V=(_0xaa504f,_0x4daf2f)=>(_0x213883,_0x548c76)=>_0x4daf2f(_0x213883,_0x548c76,_0xaa504f);let Q=class extends _0x20b5fc{constructor(_0x614be,_0x7f21f8,_0x3ba224,_0x148ce7){var _0x535de2=_0x35e2e1;super(),this['_threadCommentDataSourceService']=_0x614be,this['_threadCommentDataSource']=_0x7f21f8,this[_0x535de2(0x1ff)]=_0x3ba224,this[_0x535de2(0x22b)]=_0x148ce7,this[_0x535de2(0x27e)]();}[_0x35e2e1(0x27e)](){var _0x39cf64=_0x35e2e1;this[_0x39cf64(0x232)][_0x39cf64(0x22f)]=this[_0x39cf64(0x291)],this['_threadCommentDataSourceService'][_0x39cf64(0x21f)]=!0x1,this[_0x39cf64(0x1ff)][_0x39cf64(0x22f)]=this['_threadCommentMentionDataSource'];}};Q=Xe([V(0x0,_0x489c99),V(0x1,_0x2763d2(B)),V(0x2,_0x120dee),V(0x3,_0x2763d2(K))],Q);var le=Object[_0x35e2e1(0x283)],ke=Object[_0x35e2e1(0x20b)],et=(_0x38dfca,_0x3473ef,_0x1eb3ed)=>_0x3473ef in _0x38dfca?le(_0x38dfca,_0x3473ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1eb3ed}):_0x38dfca[_0x3473ef]=_0x1eb3ed,tt=(_0x51c369,_0x3657e9,_0x268de2,_0x2b22f8)=>{var _0x30fede=_0x35e2e1;for(var _0x5328dd=_0x2b22f8>0x1?void 0x0:_0x2b22f8?ke(_0x3657e9,_0x268de2):_0x3657e9,_0x5dfe6c=_0x51c369[_0x30fede(0x258)]-0x1,_0x1cc662;_0x5dfe6c>=0x0;_0x5dfe6c--)(_0x1cc662=_0x51c369[_0x5dfe6c])&&(_0x5328dd=(_0x2b22f8?_0x1cc662(_0x3657e9,_0x268de2,_0x5328dd):_0x1cc662(_0x5328dd))||_0x5328dd);return _0x2b22f8&&_0x5328dd&&le(_0x3657e9,_0x268de2,_0x5328dd),_0x5328dd;},ce=(_0x2d03e7,_0x5f3812)=>(_0x1ea7c1,_0x225583)=>_0x5f3812(_0x1ea7c1,_0x225583,_0x2d03e7),fe=(_0x49a8a0,_0x5a6e11,_0x116e55)=>et(_0x49a8a0,typeof _0x5a6e11!=_0x35e2e1(0x1f2)?_0x5a6e11+'':_0x5a6e11,_0x116e55);let X=class extends _0x2976b7{constructor(_0x1cbbcc=Le,_0x375b08,_0x4faf13){var _0x26f8aa=_0x35e2e1;super(),this[_0x26f8aa(0x259)]=_0x1cbbcc,this[_0x26f8aa(0x28b)]=_0x375b08,this[_0x26f8aa(0x273)]=_0x4faf13;const {..._0x39f56f}=this[_0x26f8aa(0x259)];this[_0x26f8aa(0x273)]['setConfig'](Ae,_0x39f56f);}['onStarting'](){var _0x5e17bd=_0x35e2e1;[[K],[B],[Q],[q]][_0x5e17bd(0x28f)](_0x1cdb8a=>{var _0x1ef861=_0x5e17bd;this[_0x1ef861(0x28b)]['add'](_0x1cdb8a);});}[_0x35e2e1(0x23b)](){var _0xfb5ca9=_0x35e2e1;this[_0xfb5ca9(0x28b)][_0xfb5ca9(0x217)](Q),this[_0xfb5ca9(0x28b)][_0xfb5ca9(0x217)](q);}};fe(X,_0x35e2e1(0x1fe),Ne),fe(X,_0x35e2e1(0x1e4),_0x514dbe[_0x35e2e1(0x1f4)]),X=tt([_0x161bd1(_0x32f851,_0x31c724,_0x2ceed5),ce(0x1,_0x2763d2(_0x2536cd)),ce(0x2,_0x5ed990)],X);export{X as UniverThreadCommentDataSourcePlugin};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3478(_0x724d9d,_0x442e63){var _0x4f2573=_0x4f25();return _0x3478=function(_0x347846,_0x420067){_0x347846=_0x347846-0x1c5;var _0x1c0539=_0x4f2573[_0x347846];return _0x1c0539;},_0x3478(_0x724d9d,_0x442e63);}(function(_0x3087aa,_0x112953){var _0x4c6cfd=_0x3478,_0x33b24d=_0x3087aa();while(!![]){try{var _0x59455=-parseInt(_0x4c6cfd(0x275))/0x1+-parseInt(_0x4c6cfd(0x26d))/0x2*(-parseInt(_0x4c6cfd(0x2a2))/0x3)+-parseInt(_0x4c6cfd(0x225))/0x4+parseInt(_0x4c6cfd(0x2af))/0x5*(parseInt(_0x4c6cfd(0x28b))/0x6)+parseInt(_0x4c6cfd(0x21a))/0x7*(parseInt(_0x4c6cfd(0x292))/0x8)+-parseInt(_0x4c6cfd(0x2b0))/0x9*(parseInt(_0x4c6cfd(0x2a1))/0xa)+parseInt(_0x4c6cfd(0x247))/0xb;if(_0x59455===_0x112953)break;else _0x33b24d['push'](_0x33b24d['shift']());}catch(_0x509783){_0x33b24d['push'](_0x33b24d['shift']());}}}(_0x4f25,0x92fe0),function(_0xc87f63,_0x5aae67){var _0xcadc3f=_0x3478;typeof exports==_0xcadc3f(0x29d)&&typeof module<'u'?_0x5aae67(exports,require(_0xcadc3f(0x224)),require(_0xcadc3f(0x220)),require('@univerjs-pro/collaboration-client'),require(_0xcadc3f(0x21d)),require(_0xcadc3f(0x263)),require(_0xcadc3f(0x25c)),require(_0xcadc3f(0x256))):typeof define==_0xcadc3f(0x1f1)&&define[_0xcadc3f(0x249)]?define([_0xcadc3f(0x1eb),_0xcadc3f(0x224),_0xcadc3f(0x220),_0xcadc3f(0x1f7),_0xcadc3f(0x21d),_0xcadc3f(0x263),_0xcadc3f(0x25c),_0xcadc3f(0x256)],_0x5aae67):(_0xc87f63=typeof globalThis<'u'?globalThis:_0xc87f63||self,_0x5aae67(_0xc87f63[_0xcadc3f(0x1e8)]={},_0xc87f63[_0xcadc3f(0x230)],_0xc87f63[_0xcadc3f(0x1ce)],_0xc87f63[_0xcadc3f(0x2ae)],_0xc87f63[_0xcadc3f(0x264)],_0xc87f63[_0xcadc3f(0x263)],_0xc87f63[_0xcadc3f(0x1da)],_0xc87f63[_0xcadc3f(0x207)]));}(this,function(_0x520cbd,_0x27c023,_0x8d7d72,_0x26a734,_0x1c992a,_0xbddd29,_0x4ce1df,_0x33e1dc){'use strict';var _0x496904=_0x3478;const _0x75462a='UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN';var _0x465d2d=(_0x26564d=>(_0x26564d[_0x26564d[_0x496904(0x281)]=0x0]=_0x496904(0x281),_0x26564d[_0x26564d['Solved']=0x1]='Solved',_0x26564d[_0x26564d[_0x496904(0x277)]=-0x1]=_0x496904(0x277),_0x26564d))(_0x465d2d||{}),_0x4d38e6=(_0x579dcd=>(_0x579dcd[_0x579dcd['Unknown']=0x0]=_0x496904(0x1c7),_0x579dcd[_0x579dcd[_0x496904(0x1fe)]=0x1]=_0x496904(0x1fe),_0x579dcd[_0x579dcd[_0x496904(0x1ec)]=0x2]=_0x496904(0x1ec),_0x579dcd[_0x579dcd[_0x496904(0x29c)]=0x3]=_0x496904(0x29c),_0x579dcd[_0x579dcd[_0x496904(0x21b)]=0x4]='Delete',_0x579dcd[_0x579dcd[_0x496904(0x2b3)]=0x5]=_0x496904(0x2b3),_0x579dcd[_0x579dcd[_0x496904(0x277)]=-0x1]='UNRECOGNIZED',_0x579dcd))(_0x4d38e6||{}),_0x20ef9a=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x10e299(_0x18316b){var _0x4bd7e4=_0x496904;return _0x18316b&&_0x18316b[_0x4bd7e4(0x25f)]&&Object[_0x4bd7e4(0x29a)][_0x4bd7e4(0x223)][_0x4bd7e4(0x1ee)](_0x18316b,'default')?_0x18316b[_0x4bd7e4(0x296)]:_0x18316b;}var _0x2ecad9={'exports':{}};(function(_0x26e8b9,_0x8431ef){(function(_0xea43fd,_0x19c061){_0x26e8b9['exports']=_0x19c061();}(_0x20ef9a,function(){var _0x35f5a9=_0x3478,_0x2e7313=0x3e8,_0x5aabd1=0xea60,_0x5ebcfd=0x36ee80,_0x31f934='millisecond',_0x4cd5db=_0x35f5a9(0x261),_0x421c11='minute',_0x10dad6=_0x35f5a9(0x2a8),_0x56d3c6=_0x35f5a9(0x219),_0x4db8f1=_0x35f5a9(0x1d8),_0x21f854=_0x35f5a9(0x2a7),_0x2457b6='quarter',_0x51a708='year',_0x1b4552=_0x35f5a9(0x243),_0x49a2ac=_0x35f5a9(0x290),_0x130b77=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_0x28ef7b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_0x4a8f61={'name':'en','weekdays':_0x35f5a9(0x21f)[_0x35f5a9(0x280)]('_'),'months':_0x35f5a9(0x1ef)['split']('_'),'ordinal':function(_0x5bdae3){var _0x111572=['th','st','nd','rd'],_0x12f64f=_0x5bdae3%0x64;return'['+_0x5bdae3+(_0x111572[(_0x12f64f-0x14)%0xa]||_0x111572[_0x12f64f]||_0x111572[0x0])+']';}},_0x3f6571=function(_0x38eb42,_0x48a743,_0x1f0157){var _0x413844=_0x35f5a9,_0x4d4e11=String(_0x38eb42);return!_0x4d4e11||_0x4d4e11['length']>=_0x48a743?_0x38eb42:''+Array(_0x48a743+0x1-_0x4d4e11[_0x413844(0x286)])[_0x413844(0x24d)](_0x1f0157)+_0x38eb42;},_0x42eb4f={'s':_0x3f6571,'z':function(_0x2f3ab8){var _0x911cf9=_0x35f5a9,_0x37e5e2=-_0x2f3ab8[_0x911cf9(0x260)](),_0x27efb9=Math['abs'](_0x37e5e2),_0x5c93ed=Math[_0x911cf9(0x2ab)](_0x27efb9/0x3c),_0x12362b=_0x27efb9%0x3c;return(_0x37e5e2<=0x0?'+':'-')+_0x3f6571(_0x5c93ed,0x2,'0')+':'+_0x3f6571(_0x12362b,0x2,'0');},'m':function _0x480ef6(_0x28583c,_0x468984){var _0x3b236d=_0x35f5a9;if(_0x28583c[_0x3b236d(0x243)]()<_0x468984[_0x3b236d(0x243)]())return-_0x480ef6(_0x468984,_0x28583c);var _0x27cb8c=0xc*(_0x468984[_0x3b236d(0x229)]()-_0x28583c['year']())+(_0x468984[_0x3b236d(0x2a7)]()-_0x28583c['month']()),_0x39e29a=_0x28583c['clone']()[_0x3b236d(0x29f)](_0x27cb8c,_0x21f854),_0x16a13f=_0x468984-_0x39e29a<0x0,_0xa2eaa4=_0x28583c[_0x3b236d(0x297)]()[_0x3b236d(0x29f)](_0x27cb8c+(_0x16a13f?-0x1:0x1),_0x21f854);return+(-(_0x27cb8c+(_0x468984-_0x39e29a)/(_0x16a13f?_0x39e29a-_0xa2eaa4:_0xa2eaa4-_0x39e29a))||0x0);},'a':function(_0x3ecfb3){var _0x265832=_0x35f5a9;return _0x3ecfb3<0x0?Math[_0x265832(0x298)](_0x3ecfb3)||0x0:Math[_0x265832(0x2ab)](_0x3ecfb3);},'p':function(_0x480069){var _0x3b3f78=_0x35f5a9;return{'M':_0x21f854,'y':_0x51a708,'w':_0x4db8f1,'d':_0x56d3c6,'D':_0x1b4552,'h':_0x10dad6,'m':_0x421c11,'s':_0x4cd5db,'ms':_0x31f934,'Q':_0x2457b6}[_0x480069]||String(_0x480069||'')['toLowerCase']()[_0x3b3f78(0x215)](/s$/,'');},'u':function(_0x46c0a1){return _0x46c0a1===void 0x0;}},_0x31ba23='en',_0x317ae0={};_0x317ae0[_0x31ba23]=_0x4a8f61;var _0x145655=_0x35f5a9(0x1e0),_0x26282f=function(_0x59cef7){return _0x59cef7 instanceof _0x488f1a||!(!_0x59cef7||!_0x59cef7[_0x145655]);},_0x35da07=function _0x474f70(_0x5f2d13,_0x4733cb,_0x3f2cb8){var _0x2e172a=_0x35f5a9,_0x4c3e4c;if(!_0x5f2d13)return _0x31ba23;if(typeof _0x5f2d13==_0x2e172a(0x23c)){var _0x5921c7=_0x5f2d13[_0x2e172a(0x1d3)]();_0x317ae0[_0x5921c7]&&(_0x4c3e4c=_0x5921c7),_0x4733cb&&(_0x317ae0[_0x5921c7]=_0x4733cb,_0x4c3e4c=_0x5921c7);var _0x5920e4=_0x5f2d13[_0x2e172a(0x280)]('-');if(!_0x4c3e4c&&_0x5920e4['length']>0x1)return _0x474f70(_0x5920e4[0x0]);}else{var _0x2bf407=_0x5f2d13['name'];_0x317ae0[_0x2bf407]=_0x5f2d13,_0x4c3e4c=_0x2bf407;}return!_0x3f2cb8&&_0x4c3e4c&&(_0x31ba23=_0x4c3e4c),_0x4c3e4c||!_0x3f2cb8&&_0x31ba23;},_0x37f094=function(_0x545ea6,_0x593d86){var _0x10e6e9=_0x35f5a9;if(_0x26282f(_0x545ea6))return _0x545ea6[_0x10e6e9(0x297)]();var _0x2b7dc0=typeof _0x593d86==_0x10e6e9(0x29d)?_0x593d86:{};return _0x2b7dc0[_0x10e6e9(0x243)]=_0x545ea6,_0x2b7dc0[_0x10e6e9(0x267)]=arguments,new _0x488f1a(_0x2b7dc0);},_0x105582=_0x42eb4f;_0x105582['l']=_0x35da07,_0x105582['i']=_0x26282f,_0x105582['w']=function(_0x13833b,_0x49715c){var _0x3930b5=_0x35f5a9;return _0x37f094(_0x13833b,{'locale':_0x49715c['$L'],'utc':_0x49715c['$u'],'x':_0x49715c['$x'],'$offset':_0x49715c[_0x3930b5(0x1ff)]});};var _0x488f1a=(function(){var _0xf43947=_0x35f5a9;function _0x1847cc(_0x180a1c){var _0x40cb98=_0x3478;this['$L']=_0x35da07(_0x180a1c[_0x40cb98(0x1df)],null,!0x0),this[_0x40cb98(0x273)](_0x180a1c),this['$x']=this['$x']||_0x180a1c['x']||{},this[_0x145655]=!0x0;}var _0x550e2c=_0x1847cc[_0xf43947(0x29a)];return _0x550e2c[_0xf43947(0x273)]=function(_0x28cc2b){this['$d']=function(_0xa4296){var _0x381119=_0x3478,_0x19412d=_0xa4296[_0x381119(0x243)],_0x3f4cab=_0xa4296[_0x381119(0x240)];if(_0x19412d===null)return new Date(NaN);if(_0x105582['u'](_0x19412d))return new Date();if(_0x19412d instanceof Date)return new Date(_0x19412d);if(typeof _0x19412d==_0x381119(0x23c)&&!/Z$/i['test'](_0x19412d)){var _0x446702=_0x19412d[_0x381119(0x1d4)](_0x130b77);if(_0x446702){var _0x1baabb=_0x446702[0x2]-0x1||0x0,_0x136406=(_0x446702[0x7]||'0')[_0x381119(0x216)](0x0,0x3);return _0x3f4cab?new Date(Date[_0x381119(0x28e)](_0x446702[0x1],_0x1baabb,_0x446702[0x3]||0x1,_0x446702[0x4]||0x0,_0x446702[0x5]||0x0,_0x446702[0x6]||0x0,_0x136406)):new Date(_0x446702[0x1],_0x1baabb,_0x446702[0x3]||0x1,_0x446702[0x4]||0x0,_0x446702[0x5]||0x0,_0x446702[0x6]||0x0,_0x136406);}}return new Date(_0x19412d);}(_0x28cc2b),this['init']();},_0x550e2c[_0xf43947(0x248)]=function(){var _0x51d9b1=_0xf43947,_0x104c3a=this['$d'];this['$y']=_0x104c3a[_0x51d9b1(0x26a)](),this['$M']=_0x104c3a[_0x51d9b1(0x26f)](),this['$D']=_0x104c3a[_0x51d9b1(0x294)](),this['$W']=_0x104c3a[_0x51d9b1(0x212)](),this['$H']=_0x104c3a['getHours'](),this['$m']=_0x104c3a[_0x51d9b1(0x26b)](),this['$s']=_0x104c3a[_0x51d9b1(0x278)](),this['$ms']=_0x104c3a[_0x51d9b1(0x21e)]();},_0x550e2c['$utils']=function(){return _0x105582;},_0x550e2c['isValid']=function(){var _0x3c270a=_0xf43947;return this['$d'][_0x3c270a(0x1e6)]()!==_0x49a2ac;},_0x550e2c[_0xf43947(0x250)]=function(_0x512e7f,_0x1013b6){var _0x2adb40=_0xf43947,_0x235a79=_0x37f094(_0x512e7f);return this[_0x2adb40(0x1cb)](_0x1013b6)<=_0x235a79&&_0x235a79<=this[_0x2adb40(0x2b2)](_0x1013b6);},_0x550e2c['isAfter']=function(_0x502bbe,_0x11be5f){var _0x384760=_0xf43947;return _0x37f094(_0x502bbe)<this[_0x384760(0x1cb)](_0x11be5f);},_0x550e2c['isBefore']=function(_0xdc88d6,_0x4e5998){var _0x2efbee=_0xf43947;return this[_0x2efbee(0x2b2)](_0x4e5998)<_0x37f094(_0xdc88d6);},_0x550e2c['$g']=function(_0x23fa50,_0x50fdcf,_0x565de5){var _0x3e59d9=_0xf43947;return _0x105582['u'](_0x23fa50)?this[_0x50fdcf]:this[_0x3e59d9(0x234)](_0x565de5,_0x23fa50);},_0x550e2c[_0xf43947(0x204)]=function(){var _0x2553af=_0xf43947;return Math['floor'](this[_0x2553af(0x25e)]()/0x3e8);},_0x550e2c[_0xf43947(0x25e)]=function(){var _0x5e477d=_0xf43947;return this['$d'][_0x5e477d(0x253)]();},_0x550e2c[_0xf43947(0x1cb)]=function(_0x552c67,_0x4ef8fa){var _0x1c69ce=_0xf43947,_0x224bf0=this,_0x58dbad=!!_0x105582['u'](_0x4ef8fa)||_0x4ef8fa,_0x3e2df0=_0x105582['p'](_0x552c67),_0x405c9c=function(_0x2e1544,_0x369d8c){var _0x3d81b2=_0x3478,_0x3d742d=_0x105582['w'](_0x224bf0['$u']?Date[_0x3d81b2(0x28e)](_0x224bf0['$y'],_0x369d8c,_0x2e1544):new Date(_0x224bf0['$y'],_0x369d8c,_0x2e1544),_0x224bf0);return _0x58dbad?_0x3d742d:_0x3d742d[_0x3d81b2(0x2b2)](_0x56d3c6);},_0x5a53a7=function(_0x431858,_0x53c892){var _0x540963=_0x3478;return _0x105582['w'](_0x224bf0[_0x540963(0x237)]()[_0x431858][_0x540963(0x1f4)](_0x224bf0[_0x540963(0x237)]('s'),(_0x58dbad?[0x0,0x0,0x0,0x0]:[0x17,0x3b,0x3b,0x3e7])[_0x540963(0x214)](_0x53c892)),_0x224bf0);},_0x4f0c07=this['$W'],_0x3ab3a3=this['$M'],_0x1b3317=this['$D'],_0x1445f4='set'+(this['$u']?_0x1c69ce(0x28e):'');switch(_0x3e2df0){case _0x51a708:return _0x58dbad?_0x405c9c(0x1,0x0):_0x405c9c(0x1f,0xb);case _0x21f854:return _0x58dbad?_0x405c9c(0x1,_0x3ab3a3):_0x405c9c(0x0,_0x3ab3a3+0x1);case _0x4db8f1:var _0x243d1d=this['$locale']()[_0x1c69ce(0x287)]||0x0,_0x1dd919=(_0x4f0c07<_0x243d1d?_0x4f0c07+0x7:_0x4f0c07)-_0x243d1d;return _0x405c9c(_0x58dbad?_0x1b3317-_0x1dd919:_0x1b3317+(0x6-_0x1dd919),_0x3ab3a3);case _0x56d3c6:case _0x1b4552:return _0x5a53a7(_0x1445f4+_0x1c69ce(0x270),0x0);case _0x10dad6:return _0x5a53a7(_0x1445f4+'Minutes',0x1);case _0x421c11:return _0x5a53a7(_0x1445f4+'Seconds',0x2);case _0x4cd5db:return _0x5a53a7(_0x1445f4+_0x1c69ce(0x289),0x3);default:return this[_0x1c69ce(0x297)]();}},_0x550e2c[_0xf43947(0x2b2)]=function(_0xe89b78){var _0x29125e=_0xf43947;return this[_0x29125e(0x1cb)](_0xe89b78,!0x1);},_0x550e2c[_0xf43947(0x28d)]=function(_0x4cf359,_0x57c5d0){var _0x4c2e21=_0xf43947,_0x5ac59e,_0xb80c6e=_0x105582['p'](_0x4cf359),_0x2ccd8b=_0x4c2e21(0x234)+(this['$u']?_0x4c2e21(0x28e):''),_0x358697=(_0x5ac59e={},_0x5ac59e[_0x56d3c6]=_0x2ccd8b+'Date',_0x5ac59e[_0x1b4552]=_0x2ccd8b+_0x4c2e21(0x1fa),_0x5ac59e[_0x21f854]=_0x2ccd8b+_0x4c2e21(0x1cf),_0x5ac59e[_0x51a708]=_0x2ccd8b+'FullYear',_0x5ac59e[_0x10dad6]=_0x2ccd8b+_0x4c2e21(0x270),_0x5ac59e[_0x421c11]=_0x2ccd8b+'Minutes',_0x5ac59e[_0x4cd5db]=_0x2ccd8b+_0x4c2e21(0x246),_0x5ac59e[_0x31f934]=_0x2ccd8b+_0x4c2e21(0x289),_0x5ac59e)[_0xb80c6e],_0x443376=_0xb80c6e===_0x56d3c6?this['$D']+(_0x57c5d0-this['$W']):_0x57c5d0;if(_0xb80c6e===_0x21f854||_0xb80c6e===_0x51a708){var _0x5e0572=this[_0x4c2e21(0x297)]()[_0x4c2e21(0x234)](_0x1b4552,0x1);_0x5e0572['$d'][_0x358697](_0x443376),_0x5e0572[_0x4c2e21(0x248)](),this['$d']=_0x5e0572['set'](_0x1b4552,Math[_0x4c2e21(0x217)](this['$D'],_0x5e0572[_0x4c2e21(0x228)]()))['$d'];}else _0x358697&&this['$d'][_0x358697](_0x443376);return this['init'](),this;},_0x550e2c['set']=function(_0x197e38,_0x2aa397){var _0x1ea3ee=_0xf43947;return this[_0x1ea3ee(0x297)]()['$set'](_0x197e38,_0x2aa397);},_0x550e2c[_0xf43947(0x210)]=function(_0x8c6d29){return this[_0x105582['p'](_0x8c6d29)]();},_0x550e2c[_0xf43947(0x29f)]=function(_0x3fec42,_0x588054){var _0xbf5d39=_0xf43947,_0x4e0b7e,_0x496f73=this;_0x3fec42=Number(_0x3fec42);var _0x5e862f=_0x105582['p'](_0x588054),_0x142552=function(_0x1f3026){var _0x660f66=_0x3478,_0x13758e=_0x37f094(_0x496f73);return _0x105582['w'](_0x13758e['date'](_0x13758e['date']()+Math[_0x660f66(0x269)](_0x1f3026*_0x3fec42)),_0x496f73);};if(_0x5e862f===_0x21f854)return this[_0xbf5d39(0x234)](_0x21f854,this['$M']+_0x3fec42);if(_0x5e862f===_0x51a708)return this[_0xbf5d39(0x234)](_0x51a708,this['$y']+_0x3fec42);if(_0x5e862f===_0x56d3c6)return _0x142552(0x1);if(_0x5e862f===_0x4db8f1)return _0x142552(0x7);var _0x134834=(_0x4e0b7e={},_0x4e0b7e[_0x421c11]=_0x5aabd1,_0x4e0b7e[_0x10dad6]=_0x5ebcfd,_0x4e0b7e[_0x4cd5db]=_0x2e7313,_0x4e0b7e)[_0x5e862f]||0x1,_0x22722b=this['$d'][_0xbf5d39(0x253)]()+_0x3fec42*_0x134834;return _0x105582['w'](_0x22722b,this);},_0x550e2c[_0xf43947(0x244)]=function(_0xc13d37,_0xe6fe99){var _0x1a8d40=_0xf43947;return this[_0x1a8d40(0x29f)](-0x1*_0xc13d37,_0xe6fe99);},_0x550e2c['format']=function(_0x1f7847){var _0x21238d=_0xf43947,_0x586662=this,_0x478716=this[_0x21238d(0x213)]();if(!this[_0x21238d(0x27e)]())return _0x478716[_0x21238d(0x1cc)]||_0x49a2ac;var _0x59f210=_0x1f7847||_0x21238d(0x218),_0x282413=_0x105582['z'](this),_0x4f2e94=this['$H'],_0x34daf7=this['$m'],_0x2c8826=this['$M'],_0xdc5a61=_0x478716['weekdays'],_0x55b5a1=_0x478716[_0x21238d(0x22c)],_0x37bdaf=_0x478716[_0x21238d(0x21c)],_0x3b3b4b=function(_0x36dee9,_0x1f877c,_0x48bdd8,_0x586ae6){var _0xae0681=_0x21238d;return _0x36dee9&&(_0x36dee9[_0x1f877c]||_0x36dee9(_0x586662,_0x59f210))||_0x48bdd8[_0x1f877c][_0xae0681(0x214)](0x0,_0x586ae6);},_0x16b35b=function(_0x42afbf){return _0x105582['s'](_0x4f2e94%0xc||0xc,_0x42afbf,'0');},_0x51a159=_0x37bdaf||function(_0x3cc3c4,_0x1e305c,_0xb7d79c){var _0x1fe6aa=_0x21238d,_0x10f46a=_0x3cc3c4<0xc?'AM':'PM';return _0xb7d79c?_0x10f46a[_0x1fe6aa(0x1d3)]():_0x10f46a;};return _0x59f210[_0x21238d(0x215)](_0x28ef7b,function(_0x3f3d1c,_0x15b38a){var _0x2faf23=_0x21238d;return _0x15b38a||function(_0x4065c4){var _0x30a084=_0x3478;switch(_0x4065c4){case'YY':return String(_0x586662['$y'])['slice'](-0x2);case _0x30a084(0x1dc):return _0x105582['s'](_0x586662['$y'],0x4,'0');case'M':return _0x2c8826+0x1;case'MM':return _0x105582['s'](_0x2c8826+0x1,0x2,'0');case _0x30a084(0x295):return _0x3b3b4b(_0x478716[_0x30a084(0x1f6)],_0x2c8826,_0x55b5a1,0x3);case _0x30a084(0x24a):return _0x3b3b4b(_0x55b5a1,_0x2c8826);case'D':return _0x586662['$D'];case'DD':return _0x105582['s'](_0x586662['$D'],0x2,'0');case'd':return String(_0x586662['$W']);case'dd':return _0x3b3b4b(_0x478716[_0x30a084(0x29e)],_0x586662['$W'],_0xdc5a61,0x2);case _0x30a084(0x25a):return _0x3b3b4b(_0x478716['weekdaysShort'],_0x586662['$W'],_0xdc5a61,0x3);case _0x30a084(0x282):return _0xdc5a61[_0x586662['$W']];case'H':return String(_0x4f2e94);case'HH':return _0x105582['s'](_0x4f2e94,0x2,'0');case'h':return _0x16b35b(0x1);case'hh':return _0x16b35b(0x2);case'a':return _0x51a159(_0x4f2e94,_0x34daf7,!0x0);case'A':return _0x51a159(_0x4f2e94,_0x34daf7,!0x1);case'm':return String(_0x34daf7);case'mm':return _0x105582['s'](_0x34daf7,0x2,'0');case's':return String(_0x586662['$s']);case'ss':return _0x105582['s'](_0x586662['$s'],0x2,'0');case _0x30a084(0x1fc):return _0x105582['s'](_0x586662[_0x30a084(0x23b)],0x3,'0');case'Z':return _0x282413;}return null;}(_0x3f3d1c)||_0x282413[_0x2faf23(0x215)](':','');});},_0x550e2c[_0xf43947(0x260)]=function(){var _0x3c68f1=_0xf43947;return 0xf*-Math[_0x3c68f1(0x269)](this['$d'][_0x3c68f1(0x233)]()/0xf);},_0x550e2c[_0xf43947(0x28a)]=function(_0x5018ed,_0x1f302b,_0x5a9a13){var _0x2fa543=_0xf43947,_0x5b7680,_0x243872=this,_0x4e6a1c=_0x105582['p'](_0x1f302b),_0x25ae81=_0x37f094(_0x5018ed),_0xb18ca6=(_0x25ae81[_0x2fa543(0x260)]()-this[_0x2fa543(0x260)]())*_0x5aabd1,_0x5b7beb=this-_0x25ae81,_0x455135=function(){return _0x105582['m'](_0x243872,_0x25ae81);};switch(_0x4e6a1c){case _0x51a708:_0x5b7680=_0x455135()/0xc;break;case _0x21f854:_0x5b7680=_0x455135();break;case _0x2457b6:_0x5b7680=_0x455135()/0x3;break;case _0x4db8f1:_0x5b7680=(_0x5b7beb-_0xb18ca6)/0x240c8400;break;case _0x56d3c6:_0x5b7680=(_0x5b7beb-_0xb18ca6)/0x5265c00;break;case _0x10dad6:_0x5b7680=_0x5b7beb/_0x5ebcfd;break;case _0x421c11:_0x5b7680=_0x5b7beb/_0x5aabd1;break;case _0x4cd5db:_0x5b7680=_0x5b7beb/_0x2e7313;break;default:_0x5b7680=_0x5b7beb;}return _0x5a9a13?_0x5b7680:_0x105582['a'](_0x5b7680);},_0x550e2c[_0xf43947(0x228)]=function(){var _0x568176=_0xf43947;return this[_0x568176(0x2b2)](_0x21f854)['$D'];},_0x550e2c[_0xf43947(0x213)]=function(){return _0x317ae0[this['$L']];},_0x550e2c[_0xf43947(0x1df)]=function(_0x196f7a,_0x3b6771){var _0x3abfed=_0xf43947;if(!_0x196f7a)return this['$L'];var _0x520112=this[_0x3abfed(0x297)](),_0x74707a=_0x35da07(_0x196f7a,_0x3b6771,!0x0);return _0x74707a&&(_0x520112['$L']=_0x74707a),_0x520112;},_0x550e2c[_0xf43947(0x297)]=function(){return _0x105582['w'](this['$d'],this);},_0x550e2c[_0xf43947(0x237)]=function(){return new Date(this['valueOf']());},_0x550e2c['toJSON']=function(){var _0x3e7508=_0xf43947;return this[_0x3e7508(0x27e)]()?this[_0x3e7508(0x23a)]():null;},_0x550e2c[_0xf43947(0x23a)]=function(){var _0x2073e9=_0xf43947;return this['$d'][_0x2073e9(0x23a)]();},_0x550e2c[_0xf43947(0x1e6)]=function(){var _0x46d383=_0xf43947;return this['$d'][_0x46d383(0x255)]();},_0x1847cc;}()),_0x35f40f=_0x488f1a[_0x35f5a9(0x29a)];return _0x37f094[_0x35f5a9(0x29a)]=_0x35f40f,[['$ms',_0x31f934],['$s',_0x4cd5db],['$m',_0x421c11],['$H',_0x10dad6],['$W',_0x56d3c6],['$M',_0x21f854],['$y',_0x51a708],['$D',_0x1b4552]]['forEach'](function(_0x55e7fe){_0x35f40f[_0x55e7fe[0x1]]=function(_0xc82427){return this['$g'](_0xc82427,_0x55e7fe[0x0],_0x55e7fe[0x1]);};}),_0x37f094[_0x35f5a9(0x239)]=function(_0x332c40,_0xa68cbe){return _0x332c40['$i']||(_0x332c40(_0xa68cbe,_0x488f1a,_0x37f094),_0x332c40['$i']=!0x0),_0x37f094;},_0x37f094[_0x35f5a9(0x1df)]=_0x35da07,_0x37f094[_0x35f5a9(0x1e7)]=_0x26282f,_0x37f094[_0x35f5a9(0x204)]=function(_0x311ba4){return _0x37f094(0x3e8*_0x311ba4);},_0x37f094['en']=_0x317ae0[_0x31ba23],_0x37f094['Ls']=_0x317ae0,_0x37f094['p']={},_0x37f094;}));}(_0x2ecad9));var _0x30d8cf=_0x2ecad9['exports'];const _0x3d1fc3=_0x10e299(_0x30d8cf),_0x5e7316=_0x5c4e6a=>_0x3d1fc3(new Date(+_0x5c4e6a))[_0x496904(0x1e3)](_0x496904(0x201)),_0x44bdbf=async(_0x328be6,_0x20c0e1)=>{var _0x8b8b54=_0x496904;const _0x33f462=_0x328be6[_0x8b8b54(0x210)](_0x27c023[_0x8b8b54(0x24c)]),_0x30b8ed=_0x328be6['get'](_0x4ce1df[_0x8b8b54(0x226)]);_0x20c0e1['forEach'](_0x81110b=>{var _0x4602f1=_0x8b8b54;_0x33f462[_0x4602f1(0x20f)](_0x81110b)&&_0x20c0e1[_0x4602f1(0x1ed)](_0x81110b);}),_0x20c0e1[_0x8b8b54(0x25d)]&&(await _0x30b8ed[_0x8b8b54(0x210)](_0x8b8b54(0x288),{'params':{'userIDs':[..._0x20c0e1]}}))['body']['users']['forEach'](_0x3705fb=>{_0x3705fb&&_0x33f462['addUser'](_0x3705fb);});};var _0x498d67=Object[_0x496904(0x2a6)],_0xd67447=Object['getOwnPropertyDescriptor'],_0x8d024b=(_0x1f38db,_0x5c6749,_0x2825a9,_0x620426)=>{for(var _0x2ce513=_0x620426>0x1?void 0x0:_0x620426?_0xd67447(_0x5c6749,_0x2825a9):_0x5c6749,_0x98d54d=_0x1f38db['length']-0x1,_0x1e7ba5;_0x98d54d>=0x0;_0x98d54d--)(_0x1e7ba5=_0x1f38db[_0x98d54d])&&(_0x2ce513=(_0x620426?_0x1e7ba5(_0x5c6749,_0x2825a9,_0x2ce513):_0x1e7ba5(_0x2ce513))||_0x2ce513);return _0x620426&&_0x2ce513&&_0x498d67(_0x5c6749,_0x2825a9,_0x2ce513),_0x2ce513;},_0x114979=(_0x454b14,_0x326cc2)=>(_0x46f543,_0x1407f5)=>_0x326cc2(_0x46f543,_0x1407f5,_0x454b14);let _0x345893=class extends _0x27c023[_0x496904(0x235)]{constructor(_0x18a7ad,_0x150cc1,_0x42592f,_0x5c1273){var _0x3931bb=_0x496904;super(),this['_commentService']=_0x18a7ad,this[_0x3931bb(0x28f)]=_0x150cc1,this[_0x3931bb(0x252)]=_0x42592f,this[_0x3931bb(0x1dd)]=_0x5c1273,this[_0x3931bb(0x24e)](),this[_0x3931bb(0x1e5)]();}[_0x496904(0x1e5)](){var _0x3e37f4=_0x496904;this['disposeWithMe'](this[_0x3e37f4(0x28f)][_0x3e37f4(0x22e)][_0x3e37f4(0x23e)](_0xbddd29[_0x3e37f4(0x283)](0x10))[_0x3e37f4(0x242)](_0x353bdf=>{var _0x3be016=_0x3e37f4;const _0x453109=new Set();_0x353bdf[_0x3be016(0x25b)](_0x38b0ee=>{var _0x481f7f=_0x3be016;switch(_0x38b0ee[_0x481f7f(0x257)]){case _0x481f7f(0x29f):{const _0x1a28d5=_0x38b0ee[_0x481f7f(0x29b)][_0x481f7f(0x1f8)];_0x453109[_0x481f7f(0x29f)](_0x1a28d5);break;}}}),_0x44bdbf(this[_0x3be016(0x1dd)],_0x453109);}));}[_0x496904(0x24e)](){var _0x2d18e1=_0x496904;this['disposeWithMe'](this[_0x2d18e1(0x27f)][_0x2d18e1(0x22e)][_0x2d18e1(0x242)](async _0x24bccf=>{var _0x380fae=_0x2d18e1,_0x408d71,_0x30e0a8,_0x303008,_0x4ea749;const _0x5cab42=(_0x408d71=this[_0x380fae(0x28f)][_0x380fae(0x205)](_0x24bccf[_0x380fae(0x1d9)])[_0x380fae(0x202)](_0x42155d=>_0x42155d['threadId']===_0x24bccf[_0x380fae(0x26e)]))==null?void 0x0:_0x408d71[_0x380fae(0x1db)];if(!_0x5cab42)return;const {unitId:_0x51c84c,subUnitId:_0x469b35}=_0x5cab42;switch(_0x24bccf[_0x380fae(0x265)]&&this[_0x380fae(0x252)][_0x380fae(0x293)](_0x24bccf[_0x380fae(0x265)]),_0x24bccf[_0x380fae(0x257)]){case _0x4d38e6[_0x380fae(0x1fe)]:break;case _0x4d38e6['Reply']:{this[_0x380fae(0x28f)]['addComment'](_0x51c84c,_0x469b35,{'unitId':_0x51c84c,'subUnitId':_0x469b35,'ref':'','id':_0x24bccf[_0x380fae(0x1cd)],'dT':_0x5e7316(+_0x24bccf[_0x380fae(0x20b)]),'threadId':_0x24bccf[_0x380fae(0x26e)],'personId':(_0x303008=(_0x30e0a8=_0x24bccf[_0x380fae(0x265)])==null?void 0x0:_0x30e0a8[_0x380fae(0x206)])!=null?_0x303008:_0x24bccf['userId'],'text':JSON[_0x380fae(0x273)](_0x24bccf['content']),'parentId':_0x5cab42['id']});break;}case _0x4d38e6[_0x380fae(0x21b)]:{const _0x5e6888=this[_0x380fae(0x28f)][_0x380fae(0x1de)](_0x51c84c,_0x469b35,_0x24bccf[_0x380fae(0x1cd)]);_0x5e6888&&_0x5e6888[_0x380fae(0x1f0)]&&this['_threadCommentModel'][_0x380fae(0x1e2)](_0x51c84c,_0x469b35,_0x24bccf[_0x380fae(0x1cd)]);break;}case _0x4d38e6[_0x380fae(0x29c)]:{this[_0x380fae(0x28f)]['updateComment'](_0x51c84c,_0x469b35,{'commentId':_0x24bccf['replyId'],'text':JSON[_0x380fae(0x273)](_0x24bccf[_0x380fae(0x22f)])});break;}case _0x4d38e6[_0x380fae(0x2b3)]:{const _0x2a04be=(_0x4ea749=this[_0x380fae(0x28f)][_0x380fae(0x205)](_0x24bccf[_0x380fae(0x1d9)])['find'](_0x211246=>_0x211246[_0x380fae(0x26e)]===_0x24bccf['threadId']))==null?void 0x0:_0x4ea749['root'];_0x2a04be&&this['_threadCommentModel'][_0x380fae(0x1d5)](_0x51c84c,_0x469b35,_0x2a04be['id'],_0x24bccf[_0x380fae(0x1f3)]===_0x465d2d[_0x380fae(0x1ea)]);break;}}}));}};_0x345893=_0x8d024b([_0x114979(0x0,_0x27c023[_0x496904(0x1ca)](_0x26a734[_0x496904(0x227)])),_0x114979(0x1,_0x27c023['Inject'](_0x8d7d72[_0x496904(0x251)])),_0x114979(0x2,_0x27c023[_0x496904(0x1ca)](_0x27c023['UserManagerService'])),_0x114979(0x3,_0x27c023['Inject'](_0x27c023[_0x496904(0x221)]))],_0x345893);const _0x36eeea='thread-comment-data-source.config',_0x20686d={};var _0x1e547f=Object[_0x496904(0x2a6)],_0x216545=Object['getOwnPropertyDescriptor'],_0x3ed6c6=(_0x2712a1,_0x4c0242,_0x681998,_0x23015d)=>{var _0xd788d1=_0x496904;for(var _0x19ad6c=_0x23015d>0x1?void 0x0:_0x23015d?_0x216545(_0x4c0242,_0x681998):_0x4c0242,_0x521c3e=_0x2712a1[_0xd788d1(0x286)]-0x1,_0x15060a;_0x521c3e>=0x0;_0x521c3e--)(_0x15060a=_0x2712a1[_0x521c3e])&&(_0x19ad6c=(_0x23015d?_0x15060a(_0x4c0242,_0x681998,_0x19ad6c):_0x15060a(_0x19ad6c))||_0x19ad6c);return _0x23015d&&_0x19ad6c&&_0x1e547f(_0x4c0242,_0x681998,_0x19ad6c),_0x19ad6c;},_0x54ca19=(_0x293ded,_0x4f8407)=>(_0x5abb7b,_0x1c1c6a)=>_0x4f8407(_0x5abb7b,_0x1c1c6a,_0x293ded);function _0x31bc01(_0x4b294e,_0x5c00c3){var _0x201551=_0x496904;const _0x5cb5c8=_0x4b294e[_0x201551(0x2ad)][0x0];return{..._0x5c00c3,'id':_0x5cb5c8[_0x201551(0x1cd)],'resolved':_0x4b294e[_0x201551(0x1f3)]===0x1,'dT':_0x5e7316(_0x5cb5c8[_0x201551(0x20b)]),'personId':_0x5cb5c8[_0x201551(0x27c)],'threadId':_0x5cb5c8['threadId']};}function _0x4039a3(_0x10c8bd,_0x5d5a72,_0x3529c4){var _0x22b442=_0x496904,_0x13b078,_0x185d69;if(((_0x185d69=(_0x13b078=_0x10c8bd==null?void 0x0:_0x10c8bd[_0x22b442(0x2ad)])==null?void 0x0:_0x13b078[_0x22b442(0x286)])!=null?_0x185d69:0x0)>0x0){const _0x471628=(_0x481383,_0x25fab3)=>({'id':_0x481383[_0x22b442(0x1cd)],'threadId':_0x481383[_0x22b442(0x26e)],'dT':_0x5e7316(_0x481383[_0x22b442(0x20b)]),'personId':_0x481383[_0x22b442(0x27c)],'resolved':_0x10c8bd[_0x22b442(0x1f3)]===_0x465d2d['Solved'],'unitId':_0x5d5a72,'subUnitId':_0x3529c4,'text':JSON[_0x22b442(0x273)](_0x481383[_0x22b442(0x22f)]),'parentId':_0x25fab3}),_0x2f72f2=_0x471628(_0x10c8bd[_0x22b442(0x2ad)][0x0]);return{..._0x2f72f2,'children':_0x10c8bd['replies'][_0x22b442(0x214)](0x1)[_0x22b442(0x266)](_0x27ee80=>_0x471628(_0x27ee80,_0x2f72f2['id']))};}return null;}let _0x3909b6=class{constructor(_0x45b844,_0x5056db,_0x33f322,_0x70dce5){var _0x5cf058=_0x496904;this[_0x5cf058(0x279)]=_0x45b844,this[_0x5cf058(0x252)]=_0x5056db,this[_0x5cf058(0x1f2)]=_0x33f322,this['_injector']=_0x70dce5;}async['addComment'](_0x50c929){var _0x5641c6=_0x496904,_0xb88294,_0x450851;const {parentId:_0x546b35,unitId:_0x45ea51,text:_0x179e43,threadId:_0x4295b0}=_0x50c929,_0x53542a=(_0x450851=(_0xb88294=_0x179e43[_0x5641c6(0x272)])==null?void 0x0:_0xb88294['filter'](_0x4c1cae=>_0x4c1cae[_0x5641c6(0x2a3)]===_0x27c023[_0x5641c6(0x254)][_0x5641c6(0x22d)])['map'](_0x57a6db=>_0x57a6db[_0x5641c6(0x222)]))!=null?_0x450851:[],_0x1146b1=JSON[_0x5641c6(0x1c8)](_0x179e43),_0x4a3f69=(await this['_sessionService'][_0x5641c6(0x1d2)](_0x45ea51))['getMemberID']();if(_0x546b35){const _0x5d2988={'memberId':_0x4a3f69,'unitId':_0x45ea51,'content':_0x1146b1,'mention':_0x53542a,'threadId':_0x4295b0},_0x31e510=(await this[_0x5641c6(0x279)]['post'](_0x5641c6(0x259)+_0x45ea51+_0x5641c6(0x23d),{'body':_0x5d2988}))[_0x5641c6(0x200)][_0x5641c6(0x236)];return{..._0x50c929,'id':_0x31e510['replyId'],'dT':_0x3d1fc3(+_0x31e510[_0x5641c6(0x20b)])[_0x5641c6(0x1e3)](_0x5641c6(0x201)),'personId':_0x31e510[_0x5641c6(0x27c)]};}else{const _0xc945db={'memberId':_0x4a3f69,'unitId':_0x45ea51,'content':_0x1146b1,'mention':_0x53542a},_0x521874=await this[_0x5641c6(0x279)][_0x5641c6(0x208)](_0x5641c6(0x259)+_0x45ea51+_0x5641c6(0x1c5),{'body':_0xc945db});return _0x31bc01(_0x521874[_0x5641c6(0x200)]['comment'],_0x50c929);}}async[_0x496904(0x20c)](_0x56aaa0){var _0x8a2fdd=_0x496904,_0x3c5c3d,_0x21bdf6;const {text:_0x441873,unitId:_0x3edc69}=_0x56aaa0,_0xeeceb5=(_0x21bdf6=(_0x3c5c3d=_0x441873['customRanges'])==null?void 0x0:_0x3c5c3d[_0x8a2fdd(0x2ac)](_0x497e9e=>_0x497e9e[_0x8a2fdd(0x2a3)]===_0x27c023[_0x8a2fdd(0x254)][_0x8a2fdd(0x22d)])['map'](_0x2290a3=>_0x2290a3[_0x8a2fdd(0x222)]))!=null?_0x21bdf6:[],_0x4a1268=JSON[_0x8a2fdd(0x1c8)](_0x441873),_0x4c222a=_0x56aaa0[_0x8a2fdd(0x26e)],_0x163b57=_0x56aaa0['id'],_0x22a58b={'memberId':(await this[_0x8a2fdd(0x1f2)][_0x8a2fdd(0x1d2)](_0x3edc69))[_0x8a2fdd(0x1d1)](),'unitId':_0x3edc69,'threadId':_0x4c222a,'mention':_0xeeceb5,'content':_0x4a1268,'replyId':_0x163b57},_0x4aa4b5=await this['_httpService'][_0x8a2fdd(0x208)]('/universer-api/comment/unit/'+_0x3edc69+_0x8a2fdd(0x24b),{'body':_0x22a58b});return!_0x4aa4b5[_0x8a2fdd(0x200)][_0x8a2fdd(0x2b4)]||_0x4aa4b5[_0x8a2fdd(0x200)][_0x8a2fdd(0x2b4)][_0x8a2fdd(0x2a9)]===0x1;}async[_0x496904(0x1d5)](_0x5a85d2){var _0x4b380f=_0x496904;const {unitId:_0x3b43d4}=_0x5a85d2,_0xd54a8e=_0x5a85d2['threadId'],_0x163392={'memberId':this[_0x4b380f(0x252)][_0x4b380f(0x1c9)]()[_0x4b380f(0x206)],'unitId':_0x3b43d4,'threadId':_0xd54a8e,'solved':_0x5a85d2[_0x4b380f(0x284)]?_0x465d2d[_0x4b380f(0x1ea)]:_0x465d2d[_0x4b380f(0x281)]},_0x344382=await this[_0x4b380f(0x279)][_0x4b380f(0x208)](_0x4b380f(0x259)+_0x3b43d4+_0x4b380f(0x291),{'body':_0x163392});return!_0x344382['body'][_0x4b380f(0x2b4)]||_0x344382[_0x4b380f(0x200)]['error'][_0x4b380f(0x2a9)]===0x1;}async['deleteComment'](_0x560fce,_0x1d69aa,_0x2eb7d7,_0x5c3374){var _0x35281d=_0x496904;const _0x1caf03={'memberId':(await this[_0x35281d(0x1f2)][_0x35281d(0x1d2)](_0x560fce))[_0x35281d(0x1d1)](),'threadId':_0x2eb7d7,'replyId':_0x5c3374,'unitId':_0x560fce},_0x5a6085=await this[_0x35281d(0x279)][_0x35281d(0x208)](_0x35281d(0x259)+_0x560fce+_0x35281d(0x299),{'body':_0x1caf03});return!_0x5a6085[_0x35281d(0x200)][_0x35281d(0x2b4)]||_0x5a6085['body'][_0x35281d(0x2b4)][_0x35281d(0x2a9)]===0x1;}async[_0x496904(0x2b1)](_0x55a647,_0x228e13,_0x4897bf){var _0x5eda09=_0x496904;const _0x456440={'unitId':_0x55a647,'threadId':_0x4897bf},_0xbc7c0d=await this[_0x5eda09(0x279)][_0x5eda09(0x208)](_0x5eda09(0x259)+_0x55a647+'/list',{'body':_0x456440}),_0x3c545d=_0x4897bf[_0x5eda09(0x266)](_0x12f181=>_0x4039a3(_0xbc7c0d['body'][_0x5eda09(0x238)][_0x12f181],_0x55a647,_0x228e13))[_0x5eda09(0x2ac)](Boolean);return Object[_0x5eda09(0x27d)](_0xbc7c0d[_0x5eda09(0x200)][_0x5eda09(0x1d0)])[_0x5eda09(0x25b)](_0x177af4=>{var _0x3d7c61=_0x5eda09;this['_userService'][_0x3d7c61(0x293)](_0x177af4);}),_0x3c545d;}[_0x496904(0x258)](_0x5e2158){var _0x20b343=_0x496904;return{'id':_0x5e2158['id'],'threadId':_0x5e2158[_0x20b343(0x26e)],'ref':_0x5e2158[_0x20b343(0x28c)]};}};_0x3909b6=_0x3ed6c6([_0x54ca19(0x0,_0x27c023['Inject'](_0x4ce1df['HTTPService'])),_0x54ca19(0x1,_0x27c023[_0x496904(0x1ca)](_0x27c023[_0x496904(0x24c)])),_0x54ca19(0x2,_0x27c023[_0x496904(0x1ca)](_0x26a734['CollaborationSessionService'])),_0x54ca19(0x3,_0x27c023[_0x496904(0x1ca)](_0x27c023[_0x496904(0x221)]))],_0x3909b6);var _0x5b3a35=Object[_0x496904(0x2a6)],_0x2a4ec7=Object[_0x496904(0x274)],_0x39e5e4=(_0x485baa,_0x55832a,_0x1649ae,_0x1efbc1)=>{var _0x3b72ea=_0x496904;for(var _0x1e1970=_0x1efbc1>0x1?void 0x0:_0x1efbc1?_0x2a4ec7(_0x55832a,_0x1649ae):_0x55832a,_0x3e4a13=_0x485baa[_0x3b72ea(0x286)]-0x1,_0x1ff750;_0x3e4a13>=0x0;_0x3e4a13--)(_0x1ff750=_0x485baa[_0x3e4a13])&&(_0x1e1970=(_0x1efbc1?_0x1ff750(_0x55832a,_0x1649ae,_0x1e1970):_0x1ff750(_0x1e1970))||_0x1e1970);return _0x1efbc1&&_0x1e1970&&_0x5b3a35(_0x55832a,_0x1649ae,_0x1e1970),_0x1e1970;},_0x44c7ad=(_0x41331b,_0x24d476)=>(_0x28a840,_0x1bee74)=>_0x24d476(_0x28a840,_0x1bee74,_0x41331b);let _0x2c5113=class{constructor(_0x4680e4){var _0x2e1bee=_0x496904;this[_0x2e1bee(0x279)]=_0x4680e4;}async[_0x496904(0x262)](_0x3b3d92,_0x559018,_0x117b2e){var _0x53dd9d=_0x496904;const _0x35259b=new URL(window['location'][_0x53dd9d(0x1d6)])[_0x53dd9d(0x203)][_0x53dd9d(0x210)](_0x53dd9d(0x2a0));if(!_0x35259b)return[];const _0x129cb4=window[_0x53dd9d(0x22b)][_0x53dd9d(0x1d7)],_0x1bf130=window[_0x53dd9d(0x22b)][_0x53dd9d(0x1c6)]==='https:'?_0x53dd9d(0x1fd):'http';return(await this[_0x53dd9d(0x279)][_0x53dd9d(0x210)](_0x1bf130+_0x53dd9d(0x2b5)+_0x129cb4+_0x53dd9d(0x1f9),{'params':{'objectID':_0x35259b,'unitID':_0x35259b}}))[_0x53dd9d(0x200)][_0x53dd9d(0x22a)]['map'](_0x27d68d=>{var _0x52b6d8=_0x53dd9d,_0x13d40d,_0x40f390,_0x1e6aa7,_0x4fe57f,_0xe96139,_0xcbe383;return{'id':(_0x40f390=(_0x13d40d=_0x27d68d[_0x52b6d8(0x1fb)])==null?void 0x0:_0x13d40d[_0x52b6d8(0x206)])!=null?_0x40f390:'','label':(_0x4fe57f=(_0x1e6aa7=_0x27d68d['subject'])==null?void 0x0:_0x1e6aa7[_0x52b6d8(0x2b7)])!=null?_0x4fe57f:'','icon':(_0xcbe383=(_0xe96139=_0x27d68d[_0x52b6d8(0x1fb)])==null?void 0x0:_0xe96139[_0x52b6d8(0x2aa)])!=null?_0xcbe383:'','type':'user'};});}};_0x2c5113=_0x39e5e4([_0x44c7ad(0x0,_0x27c023[_0x496904(0x1ca)](_0x4ce1df['HTTPService']))],_0x2c5113);var _0x10d011=Object[_0x496904(0x2a6)],_0x2e4707=Object[_0x496904(0x274)],_0x5cc863=(_0x5fe427,_0x441db0,_0x3e9cfc,_0x2b7084)=>{for(var _0x5898a2=_0x2b7084>0x1?void 0x0:_0x2b7084?_0x2e4707(_0x441db0,_0x3e9cfc):_0x441db0,_0x1de94c=_0x5fe427['length']-0x1,_0x23610d;_0x1de94c>=0x0;_0x1de94c--)(_0x23610d=_0x5fe427[_0x1de94c])&&(_0x5898a2=(_0x2b7084?_0x23610d(_0x441db0,_0x3e9cfc,_0x5898a2):_0x23610d(_0x5898a2))||_0x5898a2);return _0x2b7084&&_0x5898a2&&_0x10d011(_0x441db0,_0x3e9cfc,_0x5898a2),_0x5898a2;},_0x344ffc=(_0x42f059,_0x220144)=>(_0x1e05d3,_0x378253)=>_0x220144(_0x1e05d3,_0x378253,_0x42f059);let _0xd59aea=class extends _0x27c023['Disposable']{constructor(_0x5ec6f9,_0x4d0556,_0x3d14a7,_0x6fe23a){var _0x687598=_0x496904;super(),this[_0x687598(0x268)]=_0x5ec6f9,this[_0x687598(0x20d)]=_0x4d0556,this[_0x687598(0x209)]=_0x3d14a7,this[_0x687598(0x2b6)]=_0x6fe23a,this[_0x687598(0x27a)]();}[_0x496904(0x27a)](){var _0x3a87fb=_0x496904;this[_0x3a87fb(0x268)][_0x3a87fb(0x231)]=this[_0x3a87fb(0x20d)],this['_threadCommentDataSourceService'][_0x3a87fb(0x2b8)]=!0x1,this[_0x3a87fb(0x209)][_0x3a87fb(0x231)]=this[_0x3a87fb(0x2b6)];}};_0xd59aea=_0x5cc863([_0x344ffc(0x0,_0x8d7d72[_0x496904(0x27b)]),_0x344ffc(0x1,_0x27c023[_0x496904(0x1ca)](_0x3909b6)),_0x344ffc(0x2,_0x33e1dc[_0x496904(0x26c)]),_0x344ffc(0x3,_0x27c023[_0x496904(0x1ca)](_0x2c5113))],_0xd59aea);var _0x5c320b=Object['defineProperty'],_0x5df6a9=Object['getOwnPropertyDescriptor'],_0x2d27f4=(_0x207105,_0x25d5a8,_0x4c3048)=>_0x25d5a8 in _0x207105?_0x5c320b(_0x207105,_0x25d5a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c3048}):_0x207105[_0x25d5a8]=_0x4c3048,_0x2e27bd=(_0x378e15,_0x2a0ada,_0x3ca599,_0x484e95)=>{for(var _0x307adf=_0x484e95>0x1?void 0x0:_0x484e95?_0x5df6a9(_0x2a0ada,_0x3ca599):_0x2a0ada,_0x5bc3dd=_0x378e15['length']-0x1,_0x191d56;_0x5bc3dd>=0x0;_0x5bc3dd--)(_0x191d56=_0x378e15[_0x5bc3dd])&&(_0x307adf=(_0x484e95?_0x191d56(_0x2a0ada,_0x3ca599,_0x307adf):_0x191d56(_0x307adf))||_0x307adf);return _0x484e95&&_0x307adf&&_0x5c320b(_0x2a0ada,_0x3ca599,_0x307adf),_0x307adf;},_0x5c2467=(_0x4326b4,_0x5ee147)=>(_0x244cd7,_0x5cb90d)=>_0x5ee147(_0x244cd7,_0x5cb90d,_0x4326b4),_0x574cc9=(_0x499af8,_0x5d3593,_0x4b4643)=>_0x2d27f4(_0x499af8,typeof _0x5d3593!=_0x496904(0x232)?_0x5d3593+'':_0x5d3593,_0x4b4643);_0x520cbd['UniverThreadCommentDataSourcePlugin']=class extends _0x27c023[_0x496904(0x285)]{constructor(_0x4e5102=_0x20686d,_0x4e7ecd,_0x3463b0){var _0x162752=_0x496904;super(),this[_0x162752(0x1e1)]=_0x4e5102,this['_injector']=_0x4e7ecd,this[_0x162752(0x20a)]=_0x3463b0;const {..._0x1fdf3c}=this[_0x162752(0x1e1)];this[_0x162752(0x20a)][_0x162752(0x245)](_0x36eeea,_0x1fdf3c);}[_0x496904(0x2a4)](){var _0x28282b=_0x496904;[[_0x2c5113],[_0x3909b6],[_0xd59aea],[_0x345893]][_0x28282b(0x25b)](_0xa893bd=>{var _0x2bd483=_0x28282b;this[_0x2bd483(0x1dd)][_0x2bd483(0x29f)](_0xa893bd);});}[_0x496904(0x23f)](){var _0x11f195=_0x496904;this[_0x11f195(0x1dd)][_0x11f195(0x210)](_0xd59aea),this['_injector']['get'](_0x345893);}},_0x574cc9(_0x520cbd[_0x496904(0x1e4)],_0x496904(0x20e),_0x75462a),_0x574cc9(_0x520cbd[_0x496904(0x1e4)],_0x496904(0x257),_0x27c023[_0x496904(0x24f)][_0x496904(0x1f5)]),_0x520cbd['UniverThreadCommentDataSourcePlugin']=_0x2e27bd([_0x27c023[_0x496904(0x211)](_0x8d7d72[_0x496904(0x1e9)],_0x26a734[_0x496904(0x2a5)],_0x1c992a[_0x496904(0x271)]),_0x5c2467(0x1,_0x27c023['Inject'](_0x27c023[_0x496904(0x221)])),_0x5c2467(0x2,_0x27c023[_0x496904(0x241)])],_0x520cbd['UniverThreadCommentDataSourcePlugin']),Object[_0x496904(0x2a6)](_0x520cbd,Symbol['toStringTag'],{'value':_0x496904(0x276)});}));function _0x4f25(){var _0xc4a8ac=['Disposable','reply','toDate','comments','extend','toISOString','$ms','string','/reply','pipe','onReady','utc','IConfigService','subscribe','date','subtract','setConfig','Seconds','11196471CwNwNj','init','amd','MMMM','/edit','UserManagerService','join','_init','UniverInstanceType','isSame','ThreadCommentModel','_userService','getTime','CustomRangeType','toUTCString','@univerjs/thread-comment-ui','type','saveCommentToSnapshot','/universer-api/comment/unit/','ddd','forEach','@univerjs/network','size','valueOf','__esModule','utcOffset','second','getMentions','rxjs','UniverLicense','user','map','args','_threadCommentDataSourceService','round','getFullYear','getMinutes','IThreadCommentMentionDataService','9428ZPpSjb','threadId','getMonth','Hours','UniverLicensePlugin','customRanges','parse','getOwnPropertyDescriptor','637458YIgZnM','Module','UNRECOGNIZED','getSeconds','_httpService','_initDataSource','IThreadCommentDataSourceService','userId','values','isValid','_commentService','split','OpenOrReOpen','dddd','bufferTime','resolved','Plugin','length','weekStart','/universer-api/user/list','Milliseconds','diff','18OVESkc','ref','$set','UTC','_threadCommentModel','Invalid\x20Date','/solved','18824LgsvWA','addUser','getDate','MMM','default','clone','ceil','/delete','prototype','payload','Edit','object','weekdaysMin','add','unit','160010fTAETe','267pmNnWH','rangeType','onStarting','UniverCollaborationClientPlugin','defineProperty','month','hour','code','avatar','floor','filter','replies','UniverCollaborationClient','1165355PUqbSH','567kvWihc','listComments','endOf','Solve','error','://','_threadCommentMentionDataSource','name','syncUpdateMutationToColla','/add','protocol','Unknown','stringify','getCurrentUser','Inject','startOf','invalidDate','replyId','UniverThreadComment','Month','users','getMemberID','requireSession','toLowerCase','match','resolveComment','href','host','week','unitId','UniverNetwork','root','YYYY','_injector','getComment','locale','$isDayjsObject','_config','deleteComment','format','UniverThreadCommentDataSourcePlugin','_initUserSync','toString','isDayjs','UniverThreadCommentDatasource','UniverThreadCommentPlugin','Solved','exports','Reply','delete','call','January_February_March_April_May_June_July_August_September_October_November_December','parentId','function','_sessionService','solved','apply','UNIVER_UNKNOWN','monthsShort','@univerjs-pro/collaboration-client','personId','/universer-api/authz/collaborator','Date','subject','SSS','https','Add','$offset','body','YYYY/MM/DD\x20HH:mm','find','searchParams','unix','getUnit','userID','UniverThreadCommentUi','post','_threadCommentMentionDataService','_configService','createTimestamp','updateComment','_threadCommentDataSource','pluginName','getUser','get','DependentOn','getDay','$locale','slice','replace','substring','min','YYYY-MM-DDTHH:mm:ssZ','day','2807BXyFTx','Delete','meridiem','@univerjs-pro/license','getMilliseconds','Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday','@univerjs/thread-comment','Injector','rangeId','hasOwnProperty','@univerjs/core','3330288RRvYAw','HTTPService','CommentService','daysInMonth','year','collaborators','location','months','COMMENT','commentUpdate$','content','UniverCore','dataSource','symbol','getTimezoneOffset','set'];_0x4f25=function(){return _0xc4a8ac;};return _0x4f25();}
1
+ function _0x294e(_0x42c654,_0x4e02fd){var _0x4c7c8c=_0x4c7c();return _0x294e=function(_0x294e79,_0x29e1d5){_0x294e79=_0x294e79-0xec;var _0x55f510=_0x4c7c8c[_0x294e79];return _0x55f510;},_0x294e(_0x42c654,_0x4e02fd);}(function(_0x4fc9d6,_0x2616d6){var _0x3bf275=_0x294e,_0x5be510=_0x4fc9d6();while(!![]){try{var _0x16b723=-parseInt(_0x3bf275(0x164))/0x1+-parseInt(_0x3bf275(0x11c))/0x2+-parseInt(_0x3bf275(0x1ac))/0x3+-parseInt(_0x3bf275(0x158))/0x4+parseInt(_0x3bf275(0xf0))/0x5+-parseInt(_0x3bf275(0x1b1))/0x6+parseInt(_0x3bf275(0x161))/0x7;if(_0x16b723===_0x2616d6)break;else _0x5be510['push'](_0x5be510['shift']());}catch(_0x23ddd1){_0x5be510['push'](_0x5be510['shift']());}}}(_0x4c7c,0x37fe9),function(_0x14bb6e,_0xd50793){var _0x99b976=_0x294e;typeof exports==_0x99b976(0x173)&&typeof module<'u'?_0xd50793(exports,require('@univerjs/core'),require(_0x99b976(0x144)),require(_0x99b976(0x11a)),require(_0x99b976(0x1b8)),require(_0x99b976(0x180)),require(_0x99b976(0x18e)),require(_0x99b976(0x101))):typeof define==_0x99b976(0x1c7)&&define[_0x99b976(0x109)]?define([_0x99b976(0x197),_0x99b976(0x1ab),_0x99b976(0x144),_0x99b976(0x11a),_0x99b976(0x1b8),_0x99b976(0x180),_0x99b976(0x18e),_0x99b976(0x101)],_0xd50793):(_0x14bb6e=typeof globalThis<'u'?globalThis:_0x14bb6e||self,_0xd50793(_0x14bb6e[_0x99b976(0x191)]={},_0x14bb6e[_0x99b976(0x170)],_0x14bb6e[_0x99b976(0x10f)],_0x14bb6e[_0x99b976(0x1b3)],_0x14bb6e['UniverLicense'],_0x14bb6e[_0x99b976(0x180)],_0x14bb6e[_0x99b976(0x16f)],_0x14bb6e[_0x99b976(0x121)]));}(this,function(_0x1d9147,_0x3e890d,_0xbee6d3,_0x2423d7,_0x3bd496,_0x27522b,_0x5ec0fe,_0x456106){'use strict';var _0x5b9fea=_0x294e;const _0x238208=_0x5b9fea(0x12c);var _0x5cece8=(_0x566da5=>(_0x566da5[_0x566da5[_0x5b9fea(0xfc)]=0x0]=_0x5b9fea(0xfc),_0x566da5[_0x566da5[_0x5b9fea(0x138)]=0x1]='Solved',_0x566da5[_0x566da5[_0x5b9fea(0x123)]=-0x1]='UNRECOGNIZED',_0x566da5))(_0x5cece8||{}),_0x27f7f0=(_0x375e7d=>(_0x375e7d[_0x375e7d[_0x5b9fea(0xff)]=0x0]=_0x5b9fea(0xff),_0x375e7d[_0x375e7d[_0x5b9fea(0x13a)]=0x1]=_0x5b9fea(0x13a),_0x375e7d[_0x375e7d[_0x5b9fea(0x16e)]=0x2]=_0x5b9fea(0x16e),_0x375e7d[_0x375e7d[_0x5b9fea(0x1b5)]=0x3]='Edit',_0x375e7d[_0x375e7d[_0x5b9fea(0x131)]=0x4]=_0x5b9fea(0x131),_0x375e7d[_0x375e7d[_0x5b9fea(0x120)]=0x5]='Solve',_0x375e7d[_0x375e7d[_0x5b9fea(0x123)]=-0x1]=_0x5b9fea(0x123),_0x375e7d))(_0x27f7f0||{}),_0x30c07d=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x33a77f(_0x11f977){var _0x3c8a6f=_0x5b9fea;return _0x11f977&&_0x11f977[_0x3c8a6f(0x117)]&&Object[_0x3c8a6f(0x166)][_0x3c8a6f(0x168)][_0x3c8a6f(0x179)](_0x11f977,'default')?_0x11f977[_0x3c8a6f(0x1af)]:_0x11f977;}var _0x444bf3={'exports':{}};(function(_0x2b01e6,_0x37ced0){(function(_0x34a389,_0x5c742d){_0x2b01e6['exports']=_0x5c742d();}(_0x30c07d,function(){var _0x293a7b=_0x294e,_0x17d259=0x3e8,_0x27c9c2=0xea60,_0x30fba1=0x36ee80,_0x276741=_0x293a7b(0x134),_0x29ac6f=_0x293a7b(0x140),_0x5b1767=_0x293a7b(0x135),_0x317a84='hour',_0x42e896='day',_0x5a6567=_0x293a7b(0x19f),_0x42534a=_0x293a7b(0x15a),_0x3bf5c3='quarter',_0x1c4df6=_0x293a7b(0x15b),_0x21dde9=_0x293a7b(0x1bf),_0x69b087=_0x293a7b(0x119),_0x39c1ff=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_0x42be46=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_0x47e733={'name':'en','weekdays':'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'[_0x293a7b(0x185)]('_'),'months':_0x293a7b(0x154)[_0x293a7b(0x185)]('_'),'ordinal':function(_0x248c06){var _0x102df4=['th','st','nd','rd'],_0x3af11a=_0x248c06%0x64;return'['+_0x248c06+(_0x102df4[(_0x3af11a-0x14)%0xa]||_0x102df4[_0x3af11a]||_0x102df4[0x0])+']';}},_0x116a32=function(_0x40965a,_0x3ac281,_0x4f6cf0){var _0x573868=_0x293a7b,_0x3cd7ce=String(_0x40965a);return!_0x3cd7ce||_0x3cd7ce[_0x573868(0x1c5)]>=_0x3ac281?_0x40965a:''+Array(_0x3ac281+0x1-_0x3cd7ce['length'])[_0x573868(0x1a6)](_0x4f6cf0)+_0x40965a;},_0x539bfd={'s':_0x116a32,'z':function(_0x414273){var _0x1d412b=_0x293a7b,_0x11da44=-_0x414273[_0x1d412b(0x103)](),_0x2808f1=Math[_0x1d412b(0x13b)](_0x11da44),_0x3b8fea=Math['floor'](_0x2808f1/0x3c),_0x42d4f4=_0x2808f1%0x3c;return(_0x11da44<=0x0?'+':'-')+_0x116a32(_0x3b8fea,0x2,'0')+':'+_0x116a32(_0x42d4f4,0x2,'0');},'m':function _0x3f6776(_0x54afd4,_0x200fd3){var _0x3ce7c9=_0x293a7b;if(_0x54afd4[_0x3ce7c9(0x1bf)]()<_0x200fd3[_0x3ce7c9(0x1bf)]())return-_0x3f6776(_0x200fd3,_0x54afd4);var _0x21f2c1=0xc*(_0x200fd3[_0x3ce7c9(0x15b)]()-_0x54afd4['year']())+(_0x200fd3[_0x3ce7c9(0x15a)]()-_0x54afd4[_0x3ce7c9(0x15a)]()),_0x2c679f=_0x54afd4['clone']()[_0x3ce7c9(0xfa)](_0x21f2c1,_0x42534a),_0x2ff1b3=_0x200fd3-_0x2c679f<0x0,_0x44f12c=_0x54afd4[_0x3ce7c9(0x1a4)]()[_0x3ce7c9(0xfa)](_0x21f2c1+(_0x2ff1b3?-0x1:0x1),_0x42534a);return+(-(_0x21f2c1+(_0x200fd3-_0x2c679f)/(_0x2ff1b3?_0x2c679f-_0x44f12c:_0x44f12c-_0x2c679f))||0x0);},'a':function(_0x44d503){var _0x3dcbc5=_0x293a7b;return _0x44d503<0x0?Math['ceil'](_0x44d503)||0x0:Math[_0x3dcbc5(0x165)](_0x44d503);},'p':function(_0x5dce1d){var _0x2e0ace=_0x293a7b;return{'M':_0x42534a,'y':_0x1c4df6,'w':_0x5a6567,'d':_0x42e896,'D':_0x21dde9,'h':_0x317a84,'m':_0x5b1767,'s':_0x29ac6f,'ms':_0x276741,'Q':_0x3bf5c3}[_0x5dce1d]||String(_0x5dce1d||'')[_0x2e0ace(0x1be)]()[_0x2e0ace(0x152)](/s$/,'');},'u':function(_0x4b8f23){return _0x4b8f23===void 0x0;}},_0x1e4c42='en',_0x2f2784={};_0x2f2784[_0x1e4c42]=_0x47e733;var _0x3c73d3=_0x293a7b(0x102),_0x286243=function(_0x501bc4){return _0x501bc4 instanceof _0x57ea7b||!(!_0x501bc4||!_0x501bc4[_0x3c73d3]);},_0x58fee1=function _0x2fb512(_0x5bc5fb,_0x3b7f87,_0x4b69f5){var _0x42ebdb=_0x293a7b,_0x44c07c;if(!_0x5bc5fb)return _0x1e4c42;if(typeof _0x5bc5fb==_0x42ebdb(0x142)){var _0x796d90=_0x5bc5fb[_0x42ebdb(0x1be)]();_0x2f2784[_0x796d90]&&(_0x44c07c=_0x796d90),_0x3b7f87&&(_0x2f2784[_0x796d90]=_0x3b7f87,_0x44c07c=_0x796d90);var _0xb28955=_0x5bc5fb[_0x42ebdb(0x185)]('-');if(!_0x44c07c&&_0xb28955[_0x42ebdb(0x1c5)]>0x1)return _0x2fb512(_0xb28955[0x0]);}else{var _0x5067a7=_0x5bc5fb[_0x42ebdb(0x132)];_0x2f2784[_0x5067a7]=_0x5bc5fb,_0x44c07c=_0x5067a7;}return!_0x4b69f5&&_0x44c07c&&(_0x1e4c42=_0x44c07c),_0x44c07c||!_0x4b69f5&&_0x1e4c42;},_0x3ca7a6=function(_0x11d92d,_0x51167a){var _0x38778e=_0x293a7b;if(_0x286243(_0x11d92d))return _0x11d92d[_0x38778e(0x1a4)]();var _0x4f059c=typeof _0x51167a==_0x38778e(0x173)?_0x51167a:{};return _0x4f059c[_0x38778e(0x1bf)]=_0x11d92d,_0x4f059c[_0x38778e(0x159)]=arguments,new _0x57ea7b(_0x4f059c);},_0x4f4383=_0x539bfd;_0x4f4383['l']=_0x58fee1,_0x4f4383['i']=_0x286243,_0x4f4383['w']=function(_0xf8e316,_0x1ca3f8){var _0x196364=_0x293a7b;return _0x3ca7a6(_0xf8e316,{'locale':_0x1ca3f8['$L'],'utc':_0x1ca3f8['$u'],'x':_0x1ca3f8['$x'],'$offset':_0x1ca3f8[_0x196364(0x153)]});};var _0x57ea7b=(function(){var _0x260dda=_0x293a7b;function _0x4e7fc0(_0x3dcf2e){this['$L']=_0x58fee1(_0x3dcf2e['locale'],null,!0x0),this['parse'](_0x3dcf2e),this['$x']=this['$x']||_0x3dcf2e['x']||{},this[_0x3c73d3]=!0x0;}var _0x467b1e=_0x4e7fc0[_0x260dda(0x166)];return _0x467b1e['parse']=function(_0x1a4bbd){this['$d']=function(_0x1b838b){var _0x2aa209=_0x294e,_0x26d8f9=_0x1b838b['date'],_0x182018=_0x1b838b[_0x2aa209(0x104)];if(_0x26d8f9===null)return new Date(NaN);if(_0x4f4383['u'](_0x26d8f9))return new Date();if(_0x26d8f9 instanceof Date)return new Date(_0x26d8f9);if(typeof _0x26d8f9=='string'&&!/Z$/i['test'](_0x26d8f9)){var _0xa76fc4=_0x26d8f9[_0x2aa209(0x1c9)](_0x39c1ff);if(_0xa76fc4){var _0x38f32d=_0xa76fc4[0x2]-0x1||0x0,_0x241830=(_0xa76fc4[0x7]||'0')[_0x2aa209(0x1c8)](0x0,0x3);return _0x182018?new Date(Date[_0x2aa209(0x155)](_0xa76fc4[0x1],_0x38f32d,_0xa76fc4[0x3]||0x1,_0xa76fc4[0x4]||0x0,_0xa76fc4[0x5]||0x0,_0xa76fc4[0x6]||0x0,_0x241830)):new Date(_0xa76fc4[0x1],_0x38f32d,_0xa76fc4[0x3]||0x1,_0xa76fc4[0x4]||0x0,_0xa76fc4[0x5]||0x0,_0xa76fc4[0x6]||0x0,_0x241830);}}return new Date(_0x26d8f9);}(_0x1a4bbd),this['init']();},_0x467b1e[_0x260dda(0x1c1)]=function(){var _0x560e10=_0x260dda,_0x345ac2=this['$d'];this['$y']=_0x345ac2['getFullYear'](),this['$M']=_0x345ac2[_0x560e10(0x1b7)](),this['$D']=_0x345ac2['getDate'](),this['$W']=_0x345ac2[_0x560e10(0x14b)](),this['$H']=_0x345ac2[_0x560e10(0x1b4)](),this['$m']=_0x345ac2['getMinutes'](),this['$s']=_0x345ac2['getSeconds'](),this['$ms']=_0x345ac2['getMilliseconds']();},_0x467b1e['$utils']=function(){return _0x4f4383;},_0x467b1e[_0x260dda(0x128)]=function(){var _0x32e0aa=_0x260dda;return this['$d'][_0x32e0aa(0x195)]()!==_0x69b087;},_0x467b1e[_0x260dda(0x1c3)]=function(_0x52d64b,_0x4f41f8){var _0x31467a=_0x260dda,_0x209c62=_0x3ca7a6(_0x52d64b);return this[_0x31467a(0x178)](_0x4f41f8)<=_0x209c62&&_0x209c62<=this[_0x31467a(0xec)](_0x4f41f8);},_0x467b1e[_0x260dda(0x177)]=function(_0x2bc65a,_0x34fc0a){var _0x24d087=_0x260dda;return _0x3ca7a6(_0x2bc65a)<this[_0x24d087(0x178)](_0x34fc0a);},_0x467b1e[_0x260dda(0x12b)]=function(_0x3f232a,_0x1707a5){var _0x69d9c=_0x260dda;return this[_0x69d9c(0xec)](_0x1707a5)<_0x3ca7a6(_0x3f232a);},_0x467b1e['$g']=function(_0x41cf0e,_0x36593e,_0x51e6f2){var _0x1d724d=_0x260dda;return _0x4f4383['u'](_0x41cf0e)?this[_0x36593e]:this[_0x1d724d(0x160)](_0x51e6f2,_0x41cf0e);},_0x467b1e[_0x260dda(0x107)]=function(){var _0x21c225=_0x260dda;return Math[_0x21c225(0x165)](this['valueOf']()/0x3e8);},_0x467b1e['valueOf']=function(){var _0x3314a0=_0x260dda;return this['$d'][_0x3314a0(0xf9)]();},_0x467b1e[_0x260dda(0x178)]=function(_0x503f75,_0xc89fe6){var _0x9d5fd2=_0x260dda,_0x525afb=this,_0x4903ce=!!_0x4f4383['u'](_0xc89fe6)||_0xc89fe6,_0x3c266b=_0x4f4383['p'](_0x503f75),_0x469536=function(_0x5358,_0x22d9b5){var _0x236ebd=_0x294e,_0x58509a=_0x4f4383['w'](_0x525afb['$u']?Date[_0x236ebd(0x155)](_0x525afb['$y'],_0x22d9b5,_0x5358):new Date(_0x525afb['$y'],_0x22d9b5,_0x5358),_0x525afb);return _0x4903ce?_0x58509a:_0x58509a[_0x236ebd(0xec)](_0x42e896);},_0x56dbec=function(_0x4b72f8,_0x555988){var _0xbb577=_0x294e;return _0x4f4383['w'](_0x525afb[_0xbb577(0x1a1)]()[_0x4b72f8][_0xbb577(0x113)](_0x525afb[_0xbb577(0x1a1)]('s'),(_0x4903ce?[0x0,0x0,0x0,0x0]:[0x17,0x3b,0x3b,0x3e7])['slice'](_0x555988)),_0x525afb);},_0x2305c3=this['$W'],_0x258fec=this['$M'],_0xac4e80=this['$D'],_0x73104c=_0x9d5fd2(0x160)+(this['$u']?_0x9d5fd2(0x155):'');switch(_0x3c266b){case _0x1c4df6:return _0x4903ce?_0x469536(0x1,0x0):_0x469536(0x1f,0xb);case _0x42534a:return _0x4903ce?_0x469536(0x1,_0x258fec):_0x469536(0x0,_0x258fec+0x1);case _0x5a6567:var _0x16a87f=this[_0x9d5fd2(0x105)]()[_0x9d5fd2(0x18d)]||0x0,_0xb68ca1=(_0x2305c3<_0x16a87f?_0x2305c3+0x7:_0x2305c3)-_0x16a87f;return _0x469536(_0x4903ce?_0xac4e80-_0xb68ca1:_0xac4e80+(0x6-_0xb68ca1),_0x258fec);case _0x42e896:case _0x21dde9:return _0x56dbec(_0x73104c+'Hours',0x0);case _0x317a84:return _0x56dbec(_0x73104c+_0x9d5fd2(0xf3),0x1);case _0x5b1767:return _0x56dbec(_0x73104c+_0x9d5fd2(0x189),0x2);case _0x29ac6f:return _0x56dbec(_0x73104c+'Milliseconds',0x3);default:return this[_0x9d5fd2(0x1a4)]();}},_0x467b1e[_0x260dda(0xec)]=function(_0x5b4827){var _0x5d7064=_0x260dda;return this[_0x5d7064(0x178)](_0x5b4827,!0x1);},_0x467b1e['$set']=function(_0x3f99b8,_0xd39a7f){var _0x3c7968=_0x260dda,_0xbb10b6,_0x1cf463=_0x4f4383['p'](_0x3f99b8),_0x26f188=_0x3c7968(0x160)+(this['$u']?_0x3c7968(0x155):''),_0x4f22f7=(_0xbb10b6={},_0xbb10b6[_0x42e896]=_0x26f188+_0x3c7968(0x126),_0xbb10b6[_0x21dde9]=_0x26f188+'Date',_0xbb10b6[_0x42534a]=_0x26f188+_0x3c7968(0x10d),_0xbb10b6[_0x1c4df6]=_0x26f188+_0x3c7968(0x1c0),_0xbb10b6[_0x317a84]=_0x26f188+_0x3c7968(0x167),_0xbb10b6[_0x5b1767]=_0x26f188+_0x3c7968(0xf3),_0xbb10b6[_0x29ac6f]=_0x26f188+_0x3c7968(0x189),_0xbb10b6[_0x276741]=_0x26f188+_0x3c7968(0xf7),_0xbb10b6)[_0x1cf463],_0x12b0d5=_0x1cf463===_0x42e896?this['$D']+(_0xd39a7f-this['$W']):_0xd39a7f;if(_0x1cf463===_0x42534a||_0x1cf463===_0x1c4df6){var _0x4ada5f=this['clone']()['set'](_0x21dde9,0x1);_0x4ada5f['$d'][_0x4f22f7](_0x12b0d5),_0x4ada5f[_0x3c7968(0x1c1)](),this['$d']=_0x4ada5f[_0x3c7968(0x160)](_0x21dde9,Math[_0x3c7968(0x13e)](this['$D'],_0x4ada5f['daysInMonth']()))['$d'];}else _0x4f22f7&&this['$d'][_0x4f22f7](_0x12b0d5);return this['init'](),this;},_0x467b1e['set']=function(_0x1d6d35,_0x2765e8){var _0x4eb48b=_0x260dda;return this[_0x4eb48b(0x1a4)]()['$set'](_0x1d6d35,_0x2765e8);},_0x467b1e[_0x260dda(0x143)]=function(_0x45e647){return this[_0x4f4383['p'](_0x45e647)]();},_0x467b1e[_0x260dda(0xfa)]=function(_0x56acda,_0x369d8e){var _0x2f5b3d=_0x260dda,_0x17103d,_0x8944ba=this;_0x56acda=Number(_0x56acda);var _0x265572=_0x4f4383['p'](_0x369d8e),_0x5abc17=function(_0x4687ea){var _0xd205b7=_0x294e,_0x164862=_0x3ca7a6(_0x8944ba);return _0x4f4383['w'](_0x164862[_0xd205b7(0x1bf)](_0x164862[_0xd205b7(0x1bf)]()+Math[_0xd205b7(0x11f)](_0x4687ea*_0x56acda)),_0x8944ba);};if(_0x265572===_0x42534a)return this[_0x2f5b3d(0x160)](_0x42534a,this['$M']+_0x56acda);if(_0x265572===_0x1c4df6)return this[_0x2f5b3d(0x160)](_0x1c4df6,this['$y']+_0x56acda);if(_0x265572===_0x42e896)return _0x5abc17(0x1);if(_0x265572===_0x5a6567)return _0x5abc17(0x7);var _0x3d4947=(_0x17103d={},_0x17103d[_0x5b1767]=_0x27c9c2,_0x17103d[_0x317a84]=_0x30fba1,_0x17103d[_0x29ac6f]=_0x17d259,_0x17103d)[_0x265572]||0x1,_0x4c9905=this['$d'][_0x2f5b3d(0xf9)]()+_0x56acda*_0x3d4947;return _0x4f4383['w'](_0x4c9905,this);},_0x467b1e[_0x260dda(0x10b)]=function(_0x305096,_0x489f02){return this['add'](-0x1*_0x305096,_0x489f02);},_0x467b1e['format']=function(_0x1d2114){var _0x59e42e=_0x260dda,_0x5fbf59=this,_0x4c547c=this['$locale']();if(!this[_0x59e42e(0x128)]())return _0x4c547c[_0x59e42e(0x172)]||_0x69b087;var _0x47aae2=_0x1d2114||_0x59e42e(0x17e),_0x355b28=_0x4f4383['z'](this),_0xec574a=this['$H'],_0x5004c9=this['$m'],_0x57067a=this['$M'],_0x3155fc=_0x4c547c['weekdays'],_0x5e459e=_0x4c547c[_0x59e42e(0x12a)],_0x124b4c=_0x4c547c[_0x59e42e(0x169)],_0x1ac0ac=function(_0x5b81d4,_0x170795,_0x10b4df,_0x296fe3){var _0x1ccdf2=_0x59e42e;return _0x5b81d4&&(_0x5b81d4[_0x170795]||_0x5b81d4(_0x5fbf59,_0x47aae2))||_0x10b4df[_0x170795][_0x1ccdf2(0x136)](0x0,_0x296fe3);},_0x4e50f7=function(_0x13cfb2){return _0x4f4383['s'](_0xec574a%0xc||0xc,_0x13cfb2,'0');},_0xe98b1=_0x124b4c||function(_0xda094a,_0x5036a0,_0x4f4617){var _0xdcc7eb=_0x59e42e,_0xfc290c=_0xda094a<0xc?'AM':'PM';return _0x4f4617?_0xfc290c[_0xdcc7eb(0x1be)]():_0xfc290c;};return _0x47aae2[_0x59e42e(0x152)](_0x42be46,function(_0x30361a,_0x125353){var _0x338add=_0x59e42e;return _0x125353||function(_0x51eb05){var _0x34bf25=_0x294e;switch(_0x51eb05){case'YY':return String(_0x5fbf59['$y'])[_0x34bf25(0x136)](-0x2);case _0x34bf25(0x188):return _0x4f4383['s'](_0x5fbf59['$y'],0x4,'0');case'M':return _0x57067a+0x1;case'MM':return _0x4f4383['s'](_0x57067a+0x1,0x2,'0');case _0x34bf25(0x111):return _0x1ac0ac(_0x4c547c[_0x34bf25(0x124)],_0x57067a,_0x5e459e,0x3);case _0x34bf25(0x122):return _0x1ac0ac(_0x5e459e,_0x57067a);case'D':return _0x5fbf59['$D'];case'DD':return _0x4f4383['s'](_0x5fbf59['$D'],0x2,'0');case'd':return String(_0x5fbf59['$W']);case'dd':return _0x1ac0ac(_0x4c547c['weekdaysMin'],_0x5fbf59['$W'],_0x3155fc,0x2);case'ddd':return _0x1ac0ac(_0x4c547c[_0x34bf25(0x182)],_0x5fbf59['$W'],_0x3155fc,0x3);case _0x34bf25(0x11b):return _0x3155fc[_0x5fbf59['$W']];case'H':return String(_0xec574a);case'HH':return _0x4f4383['s'](_0xec574a,0x2,'0');case'h':return _0x4e50f7(0x1);case'hh':return _0x4e50f7(0x2);case'a':return _0xe98b1(_0xec574a,_0x5004c9,!0x0);case'A':return _0xe98b1(_0xec574a,_0x5004c9,!0x1);case'm':return String(_0x5004c9);case'mm':return _0x4f4383['s'](_0x5004c9,0x2,'0');case's':return String(_0x5fbf59['$s']);case'ss':return _0x4f4383['s'](_0x5fbf59['$s'],0x2,'0');case _0x34bf25(0x16d):return _0x4f4383['s'](_0x5fbf59[_0x34bf25(0x1c4)],0x3,'0');case'Z':return _0x355b28;}return null;}(_0x30361a)||_0x355b28[_0x338add(0x152)](':','');});},_0x467b1e[_0x260dda(0x103)]=function(){var _0x184cb2=_0x260dda;return 0xf*-Math[_0x184cb2(0x11f)](this['$d'][_0x184cb2(0x149)]()/0xf);},_0x467b1e[_0x260dda(0x14f)]=function(_0x248235,_0x2c9534,_0x127e65){var _0x5c49f0=_0x260dda,_0x3ea5de,_0x2aac03=this,_0x6df3d2=_0x4f4383['p'](_0x2c9534),_0x20083c=_0x3ca7a6(_0x248235),_0x37cf75=(_0x20083c[_0x5c49f0(0x103)]()-this[_0x5c49f0(0x103)]())*_0x27c9c2,_0x2529ac=this-_0x20083c,_0xb71cb0=function(){return _0x4f4383['m'](_0x2aac03,_0x20083c);};switch(_0x6df3d2){case _0x1c4df6:_0x3ea5de=_0xb71cb0()/0xc;break;case _0x42534a:_0x3ea5de=_0xb71cb0();break;case _0x3bf5c3:_0x3ea5de=_0xb71cb0()/0x3;break;case _0x5a6567:_0x3ea5de=(_0x2529ac-_0x37cf75)/0x240c8400;break;case _0x42e896:_0x3ea5de=(_0x2529ac-_0x37cf75)/0x5265c00;break;case _0x317a84:_0x3ea5de=_0x2529ac/_0x30fba1;break;case _0x5b1767:_0x3ea5de=_0x2529ac/_0x27c9c2;break;case _0x29ac6f:_0x3ea5de=_0x2529ac/_0x17d259;break;default:_0x3ea5de=_0x2529ac;}return _0x127e65?_0x3ea5de:_0x4f4383['a'](_0x3ea5de);},_0x467b1e[_0x260dda(0x137)]=function(){var _0x4656d8=_0x260dda;return this[_0x4656d8(0xec)](_0x42534a)['$D'];},_0x467b1e[_0x260dda(0x105)]=function(){return _0x2f2784[this['$L']];},_0x467b1e[_0x260dda(0xed)]=function(_0x167ee4,_0x2e5b0d){var _0x1018c2=_0x260dda;if(!_0x167ee4)return this['$L'];var _0x47c6f5=this[_0x1018c2(0x1a4)](),_0x2de17e=_0x58fee1(_0x167ee4,_0x2e5b0d,!0x0);return _0x2de17e&&(_0x47c6f5['$L']=_0x2de17e),_0x47c6f5;},_0x467b1e[_0x260dda(0x1a4)]=function(){return _0x4f4383['w'](this['$d'],this);},_0x467b1e[_0x260dda(0x1a1)]=function(){var _0x31a4c0=_0x260dda;return new Date(this[_0x31a4c0(0x19a)]());},_0x467b1e[_0x260dda(0x106)]=function(){var _0x3bb234=_0x260dda;return this['isValid']()?this[_0x3bb234(0x150)]():null;},_0x467b1e[_0x260dda(0x150)]=function(){var _0x203441=_0x260dda;return this['$d'][_0x203441(0x150)]();},_0x467b1e['toString']=function(){var _0x52ce23=_0x260dda;return this['$d'][_0x52ce23(0x175)]();},_0x4e7fc0;}()),_0x1ac7d0=_0x57ea7b[_0x293a7b(0x166)];return _0x3ca7a6['prototype']=_0x1ac7d0,[[_0x293a7b(0x1c4),_0x276741],['$s',_0x29ac6f],['$m',_0x5b1767],['$H',_0x317a84],['$W',_0x42e896],['$M',_0x42534a],['$y',_0x1c4df6],['$D',_0x21dde9]][_0x293a7b(0x17c)](function(_0x4237e6){_0x1ac7d0[_0x4237e6[0x1]]=function(_0x1a4075){return this['$g'](_0x1a4075,_0x4237e6[0x0],_0x4237e6[0x1]);};}),_0x3ca7a6[_0x293a7b(0x11d)]=function(_0x46aa74,_0x4dfe2f){return _0x46aa74['$i']||(_0x46aa74(_0x4dfe2f,_0x57ea7b,_0x3ca7a6),_0x46aa74['$i']=!0x0),_0x3ca7a6;},_0x3ca7a6[_0x293a7b(0xed)]=_0x58fee1,_0x3ca7a6[_0x293a7b(0xf8)]=_0x286243,_0x3ca7a6[_0x293a7b(0x107)]=function(_0x285f51){return _0x3ca7a6(0x3e8*_0x285f51);},_0x3ca7a6['en']=_0x2f2784[_0x1e4c42],_0x3ca7a6['Ls']=_0x2f2784,_0x3ca7a6['p']={},_0x3ca7a6;}));}(_0x444bf3));var _0x5cae90=_0x444bf3[_0x5b9fea(0x197)];const _0x39ff71=_0x33a77f(_0x5cae90),_0x146898=_0x3b9048=>_0x39ff71(new Date(+_0x3b9048))['format']('YYYY/MM/DD\x20HH:mm'),_0x332010=async(_0x41a469,_0x5a4e10)=>{var _0xed1a1a=_0x5b9fea;const _0x52ce37=_0x41a469['get'](_0x3e890d['UserManagerService']),_0x5edb48=_0x41a469[_0xed1a1a(0x143)](_0x5ec0fe[_0xed1a1a(0x14e)]);_0x5a4e10['forEach'](_0x584461=>{var _0x28073a=_0xed1a1a;_0x52ce37[_0x28073a(0x16a)](_0x584461)&&_0x5a4e10[_0x28073a(0x171)](_0x584461);}),_0x5a4e10[_0xed1a1a(0x147)]&&(await _0x5edb48['get']('/universer-api/user/list',{'params':{'userIDs':[..._0x5a4e10]}}))[_0xed1a1a(0x146)][_0xed1a1a(0x12e)][_0xed1a1a(0x17c)](_0x20c4d5=>{_0x20c4d5&&_0x52ce37['addUser'](_0x20c4d5);});};var _0x4e6776=Object['defineProperty'],_0x5a3b05=Object[_0x5b9fea(0x194)],_0x58125a=(_0x5afb41,_0x5edf77,_0x2446a1,_0x5e4491)=>{var _0x2ea2de=_0x5b9fea;for(var _0x1cf003=_0x5e4491>0x1?void 0x0:_0x5e4491?_0x5a3b05(_0x5edf77,_0x2446a1):_0x5edf77,_0x481846=_0x5afb41[_0x2ea2de(0x1c5)]-0x1,_0x5e6b28;_0x481846>=0x0;_0x481846--)(_0x5e6b28=_0x5afb41[_0x481846])&&(_0x1cf003=(_0x5e4491?_0x5e6b28(_0x5edf77,_0x2446a1,_0x1cf003):_0x5e6b28(_0x1cf003))||_0x1cf003);return _0x5e4491&&_0x1cf003&&_0x4e6776(_0x5edf77,_0x2446a1,_0x1cf003),_0x1cf003;},_0x2268dc=(_0x3acd33,_0x5efdef)=>(_0x364cac,_0x2f2b27)=>_0x5efdef(_0x364cac,_0x2f2b27,_0x3acd33);let _0x8707af=class extends _0x3e890d[_0x5b9fea(0x145)]{constructor(_0x37a882,_0x4d3032,_0x577cce,_0x84ca7c){var _0x1e2a71=_0x5b9fea;super(),this['_commentService']=_0x37a882,this[_0x1e2a71(0xee)]=_0x4d3032,this[_0x1e2a71(0x110)]=_0x577cce,this[_0x1e2a71(0x129)]=_0x84ca7c,this[_0x1e2a71(0x163)](),this[_0x1e2a71(0x156)]();}[_0x5b9fea(0x156)](){var _0x485aa6=_0x5b9fea;this[_0x485aa6(0x10c)](this[_0x485aa6(0xee)][_0x485aa6(0x196)]['pipe'](_0x27522b[_0x485aa6(0x10a)](0x10))[_0x485aa6(0x157)](_0x1eefb2=>{const _0xeeb66=new Set();_0x1eefb2['forEach'](_0x32a7c0=>{var _0x142a71=_0x294e;switch(_0x32a7c0[_0x142a71(0x174)]){case _0x142a71(0xfa):{const _0x1104a7=_0x32a7c0[_0x142a71(0x16b)]['personId'];_0xeeb66[_0x142a71(0xfa)](_0x1104a7);break;}}}),_0x332010(this['_injector'],_0xeeb66);}));}[_0x5b9fea(0x163)](){var _0x240b52=_0x5b9fea;this[_0x240b52(0x10c)](this[_0x240b52(0x1b9)][_0x240b52(0x196)][_0x240b52(0x157)](async _0x481be2=>{var _0x1efc23=_0x240b52,_0x4cb283,_0x5df596,_0x52a4ef,_0x3bc1a1;const _0x1f5f10=(_0x4cb283=this['_threadCommentModel'][_0x1efc23(0x148)](_0x481be2[_0x1efc23(0xf1)])[_0x1efc23(0x18a)](_0x26f89b=>_0x26f89b['threadId']===_0x481be2['threadId']))==null?void 0x0:_0x4cb283[_0x1efc23(0xfd)];if(!_0x1f5f10)return;const {unitId:_0x42bb25,subUnitId:_0x5babd2}=_0x1f5f10;switch(_0x481be2[_0x1efc23(0x14c)]&&this[_0x1efc23(0x110)][_0x1efc23(0x14a)](_0x481be2[_0x1efc23(0x14c)]),_0x481be2['type']){case _0x27f7f0[_0x1efc23(0x13a)]:break;case _0x27f7f0[_0x1efc23(0x16e)]:{this[_0x1efc23(0xee)][_0x1efc23(0x199)](_0x42bb25,_0x5babd2,{'unitId':_0x42bb25,'subUnitId':_0x5babd2,'ref':'','id':_0x481be2['replyId'],'dT':_0x146898(+_0x481be2[_0x1efc23(0x198)]),'threadId':_0x481be2[_0x1efc23(0x17a)],'personId':(_0x52a4ef=(_0x5df596=_0x481be2[_0x1efc23(0x14c)])==null?void 0x0:_0x5df596['userID'])!=null?_0x52a4ef:_0x481be2[_0x1efc23(0x18c)],'text':JSON['parse'](_0x481be2[_0x1efc23(0x1a7)]),'parentId':_0x1f5f10['id']});break;}case _0x27f7f0['Delete']:{const _0x25e4f8=this[_0x1efc23(0xee)][_0x1efc23(0xef)](_0x42bb25,_0x5babd2,_0x481be2['replyId']);_0x25e4f8&&_0x25e4f8[_0x1efc23(0x12d)]&&this[_0x1efc23(0xee)][_0x1efc23(0x13d)](_0x42bb25,_0x5babd2,_0x481be2['replyId']);break;}case _0x27f7f0[_0x1efc23(0x1b5)]:{this[_0x1efc23(0xee)][_0x1efc23(0x115)](_0x42bb25,_0x5babd2,{'commentId':_0x481be2[_0x1efc23(0x1a9)],'text':JSON[_0x1efc23(0x19c)](_0x481be2[_0x1efc23(0x1a7)])});break;}case _0x27f7f0['Solve']:{const _0x39d05c=(_0x3bc1a1=this[_0x1efc23(0xee)]['getUnit'](_0x481be2[_0x1efc23(0xf1)])[_0x1efc23(0x18a)](_0x313903=>_0x313903[_0x1efc23(0x17a)]===_0x481be2[_0x1efc23(0x17a)]))==null?void 0x0:_0x3bc1a1[_0x1efc23(0xfd)];_0x39d05c&&this['_threadCommentModel'][_0x1efc23(0x127)](_0x42bb25,_0x5babd2,_0x39d05c['id'],_0x481be2[_0x1efc23(0x108)]===_0x5cece8[_0x1efc23(0x138)]);break;}}}));}};_0x8707af=_0x58125a([_0x2268dc(0x0,_0x3e890d[_0x5b9fea(0x14d)](_0x2423d7[_0x5b9fea(0x17b)])),_0x2268dc(0x1,_0x3e890d['Inject'](_0xbee6d3[_0x5b9fea(0x184)])),_0x2268dc(0x2,_0x3e890d[_0x5b9fea(0x14d)](_0x3e890d[_0x5b9fea(0x1b2)])),_0x2268dc(0x3,_0x3e890d['Inject'](_0x3e890d[_0x5b9fea(0x1b6)]))],_0x8707af);const _0x5975a7=_0x5b9fea(0x1ae),_0x6d1b3c={};var _0x351a28=Object['defineProperty'],_0x12ad41=Object['getOwnPropertyDescriptor'],_0x167b7b=(_0x57283b,_0x1e6554,_0x97a064,_0x9b05c8)=>{var _0x5baa41=_0x5b9fea;for(var _0x336df1=_0x9b05c8>0x1?void 0x0:_0x9b05c8?_0x12ad41(_0x1e6554,_0x97a064):_0x1e6554,_0x34fce0=_0x57283b[_0x5baa41(0x1c5)]-0x1,_0x100212;_0x34fce0>=0x0;_0x34fce0--)(_0x100212=_0x57283b[_0x34fce0])&&(_0x336df1=(_0x9b05c8?_0x100212(_0x1e6554,_0x97a064,_0x336df1):_0x100212(_0x336df1))||_0x336df1);return _0x9b05c8&&_0x336df1&&_0x351a28(_0x1e6554,_0x97a064,_0x336df1),_0x336df1;},_0x266015=(_0x4498e3,_0x50bb1a)=>(_0x4d4476,_0x273175)=>_0x50bb1a(_0x4d4476,_0x273175,_0x4498e3);function _0x1f7e55(_0x126bc1,_0x24be98){var _0x44775d=_0x5b9fea;const _0x135f42=_0x126bc1[_0x44775d(0x18f)][0x0];return{..._0x24be98,'id':_0x135f42[_0x44775d(0x1a9)],'resolved':_0x126bc1[_0x44775d(0x108)]===0x1,'dT':_0x146898(_0x135f42[_0x44775d(0x198)]),'personId':_0x135f42[_0x44775d(0x18c)],'threadId':_0x135f42[_0x44775d(0x17a)]};}function _0x7e4ecf(_0x5c44bb,_0x2fb8c9,_0x3b8ad1){var _0x3b8d0c=_0x5b9fea,_0x39e5bd,_0x4e3712;if(((_0x4e3712=(_0x39e5bd=_0x5c44bb==null?void 0x0:_0x5c44bb[_0x3b8d0c(0x18f)])==null?void 0x0:_0x39e5bd[_0x3b8d0c(0x1c5)])!=null?_0x4e3712:0x0)>0x0){const _0x39c6f7=(_0x5b4a17,_0x1a7418)=>({'id':_0x5b4a17[_0x3b8d0c(0x1a9)],'threadId':_0x5b4a17[_0x3b8d0c(0x17a)],'dT':_0x146898(_0x5b4a17[_0x3b8d0c(0x198)]),'personId':_0x5b4a17[_0x3b8d0c(0x18c)],'resolved':_0x5c44bb[_0x3b8d0c(0x108)]===_0x5cece8['Solved'],'unitId':_0x2fb8c9,'subUnitId':_0x3b8ad1,'text':JSON[_0x3b8d0c(0x19c)](_0x5b4a17[_0x3b8d0c(0x1a7)]),'parentId':_0x1a7418}),_0x1b16f9=_0x39c6f7(_0x5c44bb[_0x3b8d0c(0x18f)][0x0]);return{..._0x1b16f9,'children':_0x5c44bb['replies'][_0x3b8d0c(0x136)](0x1)[_0x3b8d0c(0x100)](_0x2d8f3b=>_0x39c6f7(_0x2d8f3b,_0x1b16f9['id']))};}return null;}let _0x5153da=class{constructor(_0x32f294,_0x9809bb,_0x5d83b8,_0x2e5e2c){var _0x4f7e13=_0x5b9fea;this[_0x4f7e13(0x19e)]=_0x32f294,this[_0x4f7e13(0x110)]=_0x9809bb,this[_0x4f7e13(0x19d)]=_0x5d83b8,this[_0x4f7e13(0x129)]=_0x2e5e2c;}async['addComment'](_0x31f27e){var _0x5d71b1=_0x5b9fea,_0x4d7391,_0x359141;const {parentId:_0x583e0f,unitId:_0x48d74e,text:_0x7e4c6d,threadId:_0x1f54e1}=_0x31f27e,_0x1072aa=(_0x359141=(_0x4d7391=_0x7e4c6d[_0x5d71b1(0x15e)])==null?void 0x0:_0x4d7391[_0x5d71b1(0x192)](_0x6fc458=>_0x6fc458['rangeType']===_0x3e890d['CustomRangeType'][_0x5d71b1(0x1bd)])['map'](_0x5f2a72=>_0x5f2a72['rangeId']))!=null?_0x359141:[],_0x466984=JSON['stringify'](_0x7e4c6d),_0x24d027=(await this[_0x5d71b1(0x19d)][_0x5d71b1(0x112)](_0x48d74e))['getMemberID']();if(_0x583e0f){const _0x9bc7c8={'memberId':_0x24d027,'unitId':_0x48d74e,'content':_0x466984,'mention':_0x1072aa,'threadId':_0x1f54e1},_0xd0e9dc=(await this['_httpService'][_0x5d71b1(0x187)]('/universer-api/comment/unit/'+_0x48d74e+_0x5d71b1(0x118),{'body':_0x9bc7c8}))[_0x5d71b1(0x146)][_0x5d71b1(0xf6)];return{..._0x31f27e,'id':_0xd0e9dc[_0x5d71b1(0x1a9)],'dT':_0x39ff71(+_0xd0e9dc[_0x5d71b1(0x198)])[_0x5d71b1(0x133)](_0x5d71b1(0x1bc)),'personId':_0xd0e9dc[_0x5d71b1(0x18c)]};}else{const _0x47205b={'memberId':_0x24d027,'unitId':_0x48d74e,'content':_0x466984,'mention':_0x1072aa},_0xa422cf=await this[_0x5d71b1(0x19e)]['post'](_0x5d71b1(0x11e)+_0x48d74e+_0x5d71b1(0x186),{'body':_0x47205b});return _0x1f7e55(_0xa422cf[_0x5d71b1(0x146)][_0x5d71b1(0x1a0)],_0x31f27e);}}async[_0x5b9fea(0x115)](_0x17a8ae){var _0x4066e6=_0x5b9fea,_0xd605e4,_0x3cb18c;const {text:_0x58b057,unitId:_0x1e6265}=_0x17a8ae,_0x2b7de5=(_0x3cb18c=(_0xd605e4=_0x58b057['customRanges'])==null?void 0x0:_0xd605e4[_0x4066e6(0x192)](_0x46cd86=>_0x46cd86[_0x4066e6(0x1a8)]===_0x3e890d['CustomRangeType']['COMMENT'])[_0x4066e6(0x100)](_0x30e312=>_0x30e312[_0x4066e6(0x130)]))!=null?_0x3cb18c:[],_0x19d27e=JSON['stringify'](_0x58b057),_0x2fd331=_0x17a8ae[_0x4066e6(0x17a)],_0x4fc7c7=_0x17a8ae['id'],_0x3ad5cf={'memberId':(await this['_sessionService']['requireSession'](_0x1e6265))[_0x4066e6(0x1c6)](),'unitId':_0x1e6265,'threadId':_0x2fd331,'mention':_0x2b7de5,'content':_0x19d27e,'replyId':_0x4fc7c7},_0x348ce8=await this['_httpService'][_0x4066e6(0x187)](_0x4066e6(0x11e)+_0x1e6265+_0x4066e6(0x16c),{'body':_0x3ad5cf});return!_0x348ce8[_0x4066e6(0x146)]['error']||_0x348ce8[_0x4066e6(0x146)][_0x4066e6(0x114)][_0x4066e6(0x193)]===0x1;}async[_0x5b9fea(0x127)](_0x3102d1){var _0x5800ae=_0x5b9fea;const {unitId:_0x352da9}=_0x3102d1,_0xc186e9=_0x3102d1[_0x5800ae(0x17a)],_0x4daf63={'memberId':this[_0x5800ae(0x110)][_0x5800ae(0x1a3)]()[_0x5800ae(0x12f)],'unitId':_0x352da9,'threadId':_0xc186e9,'solved':_0x3102d1[_0x5800ae(0x183)]?_0x5cece8[_0x5800ae(0x138)]:_0x5cece8['OpenOrReOpen']},_0x11281f=await this[_0x5800ae(0x19e)]['post'](_0x5800ae(0x11e)+_0x352da9+_0x5800ae(0x181),{'body':_0x4daf63});return!_0x11281f[_0x5800ae(0x146)][_0x5800ae(0x114)]||_0x11281f['body']['error'][_0x5800ae(0x193)]===0x1;}async[_0x5b9fea(0x13d)](_0xcb6d69,_0x52ac3e,_0x512ee7,_0x1f8fd5){var _0x25192d=_0x5b9fea;const _0x393ea2={'memberId':(await this[_0x25192d(0x19d)][_0x25192d(0x112)](_0xcb6d69))['getMemberID'](),'threadId':_0x512ee7,'replyId':_0x1f8fd5,'unitId':_0xcb6d69},_0x781af9=await this['_httpService'][_0x25192d(0x187)](_0x25192d(0x11e)+_0xcb6d69+_0x25192d(0x15c),{'body':_0x393ea2});return!_0x781af9['body'][_0x25192d(0x114)]||_0x781af9[_0x25192d(0x146)][_0x25192d(0x114)]['code']===0x1;}async['listComments'](_0x3b0452,_0x52b9bf,_0x461625){var _0x72bdfb=_0x5b9fea;const _0x11464c={'unitId':_0x3b0452,'threadId':_0x461625},_0x283abe=await this[_0x72bdfb(0x19e)][_0x72bdfb(0x187)]('/universer-api/comment/unit/'+_0x3b0452+'/list',{'body':_0x11464c}),_0x5b3e2d=_0x461625[_0x72bdfb(0x100)](_0x454e25=>_0x7e4ecf(_0x283abe[_0x72bdfb(0x146)][_0x72bdfb(0x1bb)][_0x454e25],_0x3b0452,_0x52b9bf))['filter'](Boolean);return Object[_0x72bdfb(0x10e)](_0x283abe[_0x72bdfb(0x146)]['users'])[_0x72bdfb(0x17c)](_0x1b192e=>{var _0x40ffea=_0x72bdfb;this['_userService'][_0x40ffea(0x14a)](_0x1b192e);}),_0x5b3e2d;}['saveCommentToSnapshot'](_0x329c94){var _0xaac0cc=_0x5b9fea;return{'id':_0x329c94['id'],'threadId':_0x329c94[_0xaac0cc(0x17a)],'ref':_0x329c94['ref']};}};_0x5153da=_0x167b7b([_0x266015(0x0,_0x3e890d['Inject'](_0x5ec0fe[_0x5b9fea(0x14e)])),_0x266015(0x1,_0x3e890d['Inject'](_0x3e890d[_0x5b9fea(0x1b2)])),_0x266015(0x2,_0x3e890d[_0x5b9fea(0x14d)](_0x2423d7[_0x5b9fea(0x19b)])),_0x266015(0x3,_0x3e890d[_0x5b9fea(0x14d)](_0x3e890d[_0x5b9fea(0x1b6)]))],_0x5153da);var _0x528b8e=Object[_0x5b9fea(0x151)],_0x3be9f4=Object[_0x5b9fea(0x194)],_0x289ee5=(_0x22394b,_0x1ba813,_0x24d61c,_0x1d9667)=>{for(var _0xead6b=_0x1d9667>0x1?void 0x0:_0x1d9667?_0x3be9f4(_0x1ba813,_0x24d61c):_0x1ba813,_0x5ab7e8=_0x22394b['length']-0x1,_0x5e3968;_0x5ab7e8>=0x0;_0x5ab7e8--)(_0x5e3968=_0x22394b[_0x5ab7e8])&&(_0xead6b=(_0x1d9667?_0x5e3968(_0x1ba813,_0x24d61c,_0xead6b):_0x5e3968(_0xead6b))||_0xead6b);return _0x1d9667&&_0xead6b&&_0x528b8e(_0x1ba813,_0x24d61c,_0xead6b),_0xead6b;},_0xd9593=(_0x182fc5,_0x4010b8)=>(_0x5e34bb,_0x16be94)=>_0x4010b8(_0x5e34bb,_0x16be94,_0x182fc5);let _0x221473=class{constructor(_0x372cc0){var _0x4d6140=_0x5b9fea;this[_0x4d6140(0x19e)]=_0x372cc0;}async['getMentions'](_0xf4df7e,_0xeccbb,_0x4b202e){var _0x4ee171=_0x5b9fea;const _0x45cba1=new URL(window[_0x4ee171(0x1ad)][_0x4ee171(0x1ca)])[_0x4ee171(0x1aa)]['get']('unit');if(!_0x45cba1)return[];const _0x1cab33=window['location'][_0x4ee171(0x17f)],_0x4f27b0=window['location']['protocol']==='https:'?_0x4ee171(0x15f):'http';return(await this[_0x4ee171(0x19e)][_0x4ee171(0x143)](_0x4f27b0+'://'+_0x1cab33+_0x4ee171(0x162),{'params':{'objectID':_0x45cba1,'unitID':_0x45cba1}}))[_0x4ee171(0x146)]['collaborators'][_0x4ee171(0x100)](_0x3d8f98=>{var _0x210d7a=_0x4ee171,_0x13587a,_0x22b013,_0x371b1d,_0x467ae8,_0xa2d534,_0x169840;return{'id':(_0x22b013=(_0x13587a=_0x3d8f98[_0x210d7a(0x1ba)])==null?void 0x0:_0x13587a[_0x210d7a(0x12f)])!=null?_0x22b013:'','label':(_0x467ae8=(_0x371b1d=_0x3d8f98['subject'])==null?void 0x0:_0x371b1d[_0x210d7a(0x132)])!=null?_0x467ae8:'','icon':(_0x169840=(_0xa2d534=_0x3d8f98[_0x210d7a(0x1ba)])==null?void 0x0:_0xa2d534[_0x210d7a(0x139)])!=null?_0x169840:'','type':_0x210d7a(0x14c)};});}};_0x221473=_0x289ee5([_0xd9593(0x0,_0x3e890d[_0x5b9fea(0x14d)](_0x5ec0fe[_0x5b9fea(0x14e)]))],_0x221473);var _0x26bd21=Object[_0x5b9fea(0x151)],_0x216959=Object[_0x5b9fea(0x194)],_0x50a03d=(_0x41b4f,_0x23b362,_0x5d6e48,_0x5d4d91)=>{for(var _0x5865f4=_0x5d4d91>0x1?void 0x0:_0x5d4d91?_0x216959(_0x23b362,_0x5d6e48):_0x23b362,_0x32a57a=_0x41b4f['length']-0x1,_0x342f8e;_0x32a57a>=0x0;_0x32a57a--)(_0x342f8e=_0x41b4f[_0x32a57a])&&(_0x5865f4=(_0x5d4d91?_0x342f8e(_0x23b362,_0x5d6e48,_0x5865f4):_0x342f8e(_0x5865f4))||_0x5865f4);return _0x5d4d91&&_0x5865f4&&_0x26bd21(_0x23b362,_0x5d6e48,_0x5865f4),_0x5865f4;},_0x7ecc84=(_0x1e31ec,_0x3c8c4f)=>(_0x385408,_0x5e3ebe)=>_0x3c8c4f(_0x385408,_0x5e3ebe,_0x1e31ec);let _0x54be65=class extends _0x3e890d[_0x5b9fea(0x145)]{constructor(_0x3a4c18,_0x38e31d,_0x47c93a,_0x4e6ca5){var _0x144095=_0x5b9fea;super(),this[_0x144095(0x15d)]=_0x3a4c18,this[_0x144095(0x1c2)]=_0x38e31d,this['_threadCommentMentionDataService']=_0x47c93a,this['_threadCommentMentionDataSource']=_0x4e6ca5,this[_0x144095(0x1a2)]();}[_0x5b9fea(0x1a2)](){var _0x2390a2=_0x5b9fea;this['_threadCommentDataSourceService']['dataSource']=this[_0x2390a2(0x1c2)],this[_0x2390a2(0x15d)]['syncUpdateMutationToColla']=!0x1,this[_0x2390a2(0x17d)]['dataSource']=this['_threadCommentMentionDataSource'];}};_0x54be65=_0x50a03d([_0x7ecc84(0x0,_0xbee6d3[_0x5b9fea(0x1b0)]),_0x7ecc84(0x1,_0x3e890d[_0x5b9fea(0x14d)](_0x5153da)),_0x7ecc84(0x2,_0x456106[_0x5b9fea(0xfe)]),_0x7ecc84(0x3,_0x3e890d['Inject'](_0x221473))],_0x54be65);var _0x18edbd=Object[_0x5b9fea(0x151)],_0xfbb400=Object[_0x5b9fea(0x194)],_0x348e39=(_0x1f4bc3,_0x5bf656,_0x3f618d)=>_0x5bf656 in _0x1f4bc3?_0x18edbd(_0x1f4bc3,_0x5bf656,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f618d}):_0x1f4bc3[_0x5bf656]=_0x3f618d,_0x5e5b1b=(_0x484a03,_0x393e79,_0x7720cd,_0x4dfa94)=>{var _0x17aec1=_0x5b9fea;for(var _0x502389=_0x4dfa94>0x1?void 0x0:_0x4dfa94?_0xfbb400(_0x393e79,_0x7720cd):_0x393e79,_0x31e035=_0x484a03[_0x17aec1(0x1c5)]-0x1,_0x978de8;_0x31e035>=0x0;_0x31e035--)(_0x978de8=_0x484a03[_0x31e035])&&(_0x502389=(_0x4dfa94?_0x978de8(_0x393e79,_0x7720cd,_0x502389):_0x978de8(_0x502389))||_0x502389);return _0x4dfa94&&_0x502389&&_0x18edbd(_0x393e79,_0x7720cd,_0x502389),_0x502389;},_0x94dfd0=(_0x3ffb9e,_0xa2c36f)=>(_0x273024,_0x4f57d4)=>_0xa2c36f(_0x273024,_0x4f57d4,_0x3ffb9e),_0x346009=(_0x12e45f,_0x3a4dbc,_0x7fb251)=>_0x348e39(_0x12e45f,typeof _0x3a4dbc!=_0x5b9fea(0x18b)?_0x3a4dbc+'':_0x3a4dbc,_0x7fb251);_0x1d9147[_0x5b9fea(0x190)]=class extends _0x3e890d['Plugin']{constructor(_0x31de0b=_0x6d1b3c,_0x1ac98d,_0x153c64){var _0x3c306f=_0x5b9fea;super(),this[_0x3c306f(0xfb)]=_0x31de0b,this[_0x3c306f(0x129)]=_0x1ac98d,this[_0x3c306f(0x116)]=_0x153c64;const {..._0x42f7b5}=this[_0x3c306f(0xfb)];this[_0x3c306f(0x116)][_0x3c306f(0x13f)](_0x5975a7,_0x42f7b5);}[_0x5b9fea(0xf5)](){var _0x6030be=_0x5b9fea;[[_0x221473],[_0x5153da],[_0x54be65],[_0x8707af]][_0x6030be(0x17c)](_0x12c5c9=>{var _0x50b004=_0x6030be;this['_injector'][_0x50b004(0xfa)](_0x12c5c9);});}[_0x5b9fea(0x1a5)](){var _0x2e33bb=_0x5b9fea;this[_0x2e33bb(0x129)][_0x2e33bb(0x143)](_0x54be65),this[_0x2e33bb(0x129)][_0x2e33bb(0x143)](_0x8707af);}},_0x346009(_0x1d9147['UniverThreadCommentDataSourcePlugin'],_0x5b9fea(0x176),_0x238208),_0x346009(_0x1d9147[_0x5b9fea(0x190)],_0x5b9fea(0x174),_0x3e890d['UniverInstanceType']['UNIVER_UNKNOWN']),_0x1d9147['UniverThreadCommentDataSourcePlugin']=_0x5e5b1b([_0x3e890d[_0x5b9fea(0x13c)](_0xbee6d3[_0x5b9fea(0x141)],_0x2423d7[_0x5b9fea(0xf2)],_0x3bd496['UniverLicensePlugin']),_0x94dfd0(0x1,_0x3e890d[_0x5b9fea(0x14d)](_0x3e890d[_0x5b9fea(0x1b6)])),_0x94dfd0(0x2,_0x3e890d[_0x5b9fea(0xf4)])],_0x1d9147[_0x5b9fea(0x190)]),Object[_0x5b9fea(0x151)](_0x1d9147,Symbol[_0x5b9fea(0x125)],{'value':'Module'});}));function _0x4c7c(){var _0x173f62=['subtract','disposeWithMe','Month','values','UniverThreadComment','_userService','MMM','requireSession','apply','error','updateComment','_configService','__esModule','/reply','Invalid\x20Date','@univerjs-pro/collaboration-client','dddd','5894WrhFtQ','extend','/universer-api/comment/unit/','round','Solve','UniverThreadCommentUi','MMMM','UNRECOGNIZED','monthsShort','toStringTag','Date','resolveComment','isValid','_injector','months','isBefore','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','parentId','users','userID','rangeId','Delete','name','format','millisecond','minute','slice','daysInMonth','Solved','avatar','Add','abs','DependentOn','deleteComment','min','setConfig','second','UniverThreadCommentPlugin','string','get','@univerjs/thread-comment','Disposable','body','size','getUnit','getTimezoneOffset','addUser','getDay','user','Inject','HTTPService','diff','toISOString','defineProperty','replace','$offset','January_February_March_April_May_June_July_August_September_October_November_December','UTC','_initUserSync','subscribe','1496452airksv','args','month','year','/delete','_threadCommentDataSourceService','customRanges','https','set','4372928NwYeVX','/universer-api/authz/collaborator','_init','123842SkFQzG','floor','prototype','Hours','hasOwnProperty','meridiem','getUser','payload','/edit','SSS','Reply','UniverNetwork','UniverCore','delete','invalidDate','object','type','toUTCString','pluginName','isAfter','startOf','call','threadId','CommentService','forEach','_threadCommentMentionDataService','YYYY-MM-DDTHH:mm:ssZ','host','rxjs','/solved','weekdaysShort','resolved','ThreadCommentModel','split','/add','post','YYYY','Seconds','find','symbol','userId','weekStart','@univerjs/network','replies','UniverThreadCommentDataSourcePlugin','UniverThreadCommentDatasource','filter','code','getOwnPropertyDescriptor','toString','commentUpdate$','exports','createTimestamp','addComment','valueOf','CollaborationSessionService','parse','_sessionService','_httpService','week','comment','toDate','_initDataSource','getCurrentUser','clone','onReady','join','content','rangeType','replyId','searchParams','@univerjs/core','641739aryATR','location','thread-comment-data-source.config','default','IThreadCommentDataSourceService','563298NFUXeM','UserManagerService','UniverCollaborationClient','getHours','Edit','Injector','getMonth','@univerjs-pro/license','_commentService','subject','comments','YYYY/MM/DD\x20HH:mm','COMMENT','toLowerCase','date','FullYear','init','_threadCommentDataSource','isSame','$ms','length','getMemberID','function','substring','match','href','endOf','locale','_threadCommentModel','getComment','2066735HtWTKl','unitId','UniverCollaborationClientPlugin','Minutes','IConfigService','onStarting','reply','Milliseconds','isDayjs','getTime','add','_config','OpenOrReOpen','root','IThreadCommentMentionDataService','Unknown','map','@univerjs/thread-comment-ui','$isDayjsObject','utcOffset','utc','$locale','toJSON','unix','solved','amd','bufferTime'];_0x4c7c=function(){return _0x173f62;};return _0x4c7c();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/thread-comment-datasource",
3
- "version": "0.4.2-nightly.202411051606",
3
+ "version": "0.4.2-nightly.202411061606",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -44,14 +44,14 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "dayjs": "^1.11.13",
47
- "@univerjs-pro/collaboration-client": "0.4.2-nightly.202411051606",
48
- "@univerjs-pro/facade": "0.4.2-nightly.202411051606",
49
- "@univerjs-pro/license": "0.4.2-nightly.202411051606",
50
- "@univerjs/core": "0.4.2-nightly.202411051606",
47
+ "@univerjs-pro/collaboration-client": "0.4.2-nightly.202411061606",
48
+ "@univerjs-pro/license": "0.4.2-nightly.202411061606",
49
+ "@univerjs/network": "0.4.2-nightly.202411061606",
50
+ "@univerjs/core": "0.4.2-nightly.202411061606",
51
+ "@univerjs/thread-comment": "0.4.2-nightly.202411061606",
51
52
  "@univerjs/protocol": "0.1.39-alpha.38",
52
- "@univerjs/network": "0.4.2-nightly.202411051606",
53
- "@univerjs/thread-comment": "0.4.2-nightly.202411051606",
54
- "@univerjs/thread-comment-ui": "0.4.2-nightly.202411051606"
53
+ "@univerjs/thread-comment-ui": "0.4.2-nightly.202411061606",
54
+ "@univerjs-pro/facade": "0.4.2-nightly.202411061606"
55
55
  },
56
56
  "devDependencies": {
57
57
  "rxjs": "^7.8.1",