@univerjs/preset-docs-collaboration 0.15.5 → 0.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  // @univerjs-pro/collaboration-client/index
2
- function _0x1abf(_0x15a05d,_0x225100){_0x15a05d=_0x15a05d-0x167;var _0x54c823=_0x54c8();var _0x1abf05=_0x54c823[_0x15a05d];return _0x1abf05;}(function(_0x3b09ca,_0x502176){var _0x571942=_0x1abf,_0xb782ec=_0x3b09ca();while(!![]){try{var _0x5775f5=-parseInt(_0x571942(0x374))/0x1+parseInt(_0x571942(0x379))/0x2+parseInt(_0x571942(0x293))/0x3+parseInt(_0x571942(0x37a))/0x4+-parseInt(_0x571942(0x1ca))/0x5+parseInt(_0x571942(0x41a))/0x6*(-parseInt(_0x571942(0x263))/0x7)+-parseInt(_0x571942(0x4f7))/0x8*(-parseInt(_0x571942(0x3ef))/0x9);if(_0x5775f5===_0x502176)break;else _0xb782ec['push'](_0xb782ec['shift']());}catch(_0x28d2f5){_0xb782ec['push'](_0xb782ec['shift']());}}}(_0x54c8,0xa15bb),function(_0x3b31be,_0x28ef78){var _0x3f8f9e=_0x1abf;typeof exports=='object'&&typeof module<'u'?_0x28ef78(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs-pro/license'),require('@univerjs/drawing')):typeof define=='function'&&define['amd']?define(['exports',_0x3f8f9e(0x252),'@univerjs/core',_0x3f8f9e(0x220),_0x3f8f9e(0x320),_0x3f8f9e(0x1d1),_0x3f8f9e(0x317),_0x3f8f9e(0x18e),_0x3f8f9e(0x4f8),_0x3f8f9e(0x4c8),_0x3f8f9e(0x3da)],_0x28ef78):(_0x3b31be=typeof globalThis<'u'?globalThis:_0x3b31be||self,_0x28ef78(_0x3b31be[_0x3f8f9e(0x3eb)]={},_0x3b31be['UniverProCollaboration'],_0x3b31be[_0x3f8f9e(0x41b)],_0x3b31be[_0x3f8f9e(0x203)],_0x3b31be[_0x3f8f9e(0x38c)],_0x3b31be[_0x3f8f9e(0x1d1)],_0x3b31be[_0x3f8f9e(0x2c8)],_0x3b31be[_0x3f8f9e(0x1d1)]['operators'],_0x3b31be[_0x3f8f9e(0x236)],_0x3b31be['UniverProLicense'],_0x3b31be[_0x3f8f9e(0x4e9)]));}(this,function(_0x1c6aa2,_0x425665,_0x2695a7,_0xd9299c,_0x57749b,_0x3b3710,_0x26a00c,_0xc987a3,_0x3e19df,_0x4bc4b5,_0x46bfdb){'use strict';var _0x212abf=_0x1abf;var _0x461dd8=Object[_0x212abf(0x272)],_0x3bd79b=(_0x335aec,_0xadb84b,_0x13ffb4)=>_0xadb84b in _0x335aec?_0x461dd8(_0x335aec,_0xadb84b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13ffb4}):_0x335aec[_0xadb84b]=_0x13ffb4,_0x110376=(_0x1da3ec,_0x1747e5,_0x1d5225)=>_0x3bd79b(_0x1da3ec,typeof _0x1747e5!='symbol'?_0x1747e5+'':_0x1747e5,_0x1d5225);const _0x2eabe4='/universer-api/snapshot',_0xad4b37=_0x212abf(0x4cf),_0x4154c7='ws://127.0.0.1:8000/universer-api/comb/connect',_0x5f5a8d=_0x212abf(0x2d8),_0x3e40c1='HEARTBEAT_INTERVAL',_0xf20a7c=_0x212abf(0x365),_0xd794b=_0x212abf(0x4a9),_0x3929c8=_0x212abf(0x4a2),_0x5bfefb=_0x212abf(0x396),_0xb6b83=_0x212abf(0x4d6),_0x2d8ee2=_0x212abf(0x20c),_0x3817ff=_0x212abf(0x2f8);var _0x50d3e0=(_0x37362f=>(_0x37362f[_0x37362f['UNDEFINED']=0x0]=_0x212abf(0x362),_0x37362f[_0x37362f['OK']=0x1]='OK',_0x37362f[_0x37362f[_0x212abf(0x352)]=0x2]=_0x212abf(0x352),_0x37362f[_0x37362f[_0x212abf(0x1c1)]=0x3]=_0x212abf(0x1c1),_0x37362f[_0x37362f[_0x212abf(0x1e9)]=0x4]=_0x212abf(0x1e9),_0x37362f[_0x37362f[_0x212abf(0x465)]=0x5]=_0x212abf(0x465),_0x37362f[_0x37362f[_0x212abf(0x1e7)]=0x6]=_0x212abf(0x1e7),_0x37362f[_0x37362f[_0x212abf(0x3e1)]=0x7]=_0x212abf(0x3e1),_0x37362f[_0x37362f[_0x212abf(0x1ab)]=0x8]=_0x212abf(0x1ab),_0x37362f[_0x37362f[_0x212abf(0x1e3)]=0x9]=_0x212abf(0x1e3),_0x37362f[_0x37362f[_0x212abf(0x247)]=0xa]=_0x212abf(0x247),_0x37362f[_0x37362f[_0x212abf(0x23a)]=0xb]=_0x212abf(0x23a),_0x37362f[_0x37362f[_0x212abf(0x31b)]=0xc]=_0x212abf(0x31b),_0x37362f[_0x37362f[_0x212abf(0x3d5)]=0xd]=_0x212abf(0x3d5),_0x37362f[_0x37362f[_0x212abf(0x282)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x37362f[_0x37362f[_0x212abf(0x37b)]=0xf]=_0x212abf(0x37b),_0x37362f[_0x37362f['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x212abf(0x19c),_0x37362f[_0x37362f[_0x212abf(0x456)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x37362f[_0x37362f['ERROR_AGAIN']=0x65]=_0x212abf(0x3b9),_0x37362f[_0x37362f[_0x212abf(0x2c7)]=0xc9]=_0x212abf(0x2c7),_0x37362f[_0x37362f[_0x212abf(0x4f4)]=0xca]='USER_IS_ANONYMOUS',_0x37362f[_0x37362f[_0x212abf(0x227)]=0x1389]=_0x212abf(0x227),_0x37362f[_0x37362f['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x212abf(0x498),_0x37362f[_0x37362f[_0x212abf(0x3dc)]=0x1772]=_0x212abf(0x3dc),_0x37362f[_0x37362f[_0x212abf(0x4ab)]=0x1773]=_0x212abf(0x4ab),_0x37362f[_0x37362f[_0x212abf(0x32c)]=0x1b59]=_0x212abf(0x32c),_0x37362f[_0x37362f[_0x212abf(0x4d4)]=0x1b5a]=_0x212abf(0x4d4),_0x37362f[_0x37362f[_0x212abf(0x3ec)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x37362f[_0x37362f[_0x212abf(0x508)]=0x1b5c]=_0x212abf(0x508),_0x37362f[_0x37362f[_0x212abf(0x493)]=0x1b5d]='APPLY_DUPLICATED',_0x37362f[_0x37362f[_0x212abf(0x3cd)]=0x1f41]=_0x212abf(0x3cd),_0x37362f[_0x37362f[_0x212abf(0x391)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x37362f[_0x37362f[_0x212abf(0x50f)]=0x232a]=_0x212abf(0x50f),_0x37362f[_0x37362f[_0x212abf(0x27d)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x37362f[_0x37362f[_0x212abf(0x1cd)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x37362f[_0x37362f[_0x212abf(0x260)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x37362f[_0x37362f[_0x212abf(0x4a6)]=0x2711]=_0x212abf(0x4a6),_0x37362f[_0x37362f[_0x212abf(0x36d)]=0x2712]=_0x212abf(0x36d),_0x37362f[_0x37362f[_0x212abf(0x44b)]=0x2713]=_0x212abf(0x44b),_0x37362f[_0x37362f[_0x212abf(0x245)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x37362f[_0x37362f[_0x212abf(0x463)]=0x271a]=_0x212abf(0x463),_0x37362f[_0x37362f[_0x212abf(0x1dc)]=0x271b]=_0x212abf(0x1dc),_0x37362f[_0x37362f[_0x212abf(0x20b)]=0x271c]=_0x212abf(0x20b),_0x37362f[_0x37362f[_0x212abf(0x345)]=0x271d]=_0x212abf(0x345),_0x37362f[_0x37362f[_0x212abf(0x219)]=0x271e]=_0x212abf(0x219),_0x37362f[_0x37362f[_0x212abf(0x2c5)]=0x271f]=_0x212abf(0x2c5),_0x37362f[_0x37362f[_0x212abf(0x3b3)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x37362f[_0x37362f[_0x212abf(0x436)]=0x2af9]=_0x212abf(0x436),_0x37362f[_0x37362f[_0x212abf(0x425)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x37362f[_0x37362f[_0x212abf(0x173)]=0x2ee2]='INVALID_INVITE_CODE',_0x37362f[_0x37362f['INVITE_CODE_REQUIRED']=0x2ee3]=_0x212abf(0x477),_0x37362f[_0x37362f['USER_NOT_INVITED_CODE']=0x2ee4]=_0x212abf(0x18f),_0x37362f[_0x37362f[_0x212abf(0x4d9)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x37362f[_0x37362f[_0x212abf(0x4db)]=0x32c9]=_0x212abf(0x4db),_0x37362f[_0x37362f[_0x212abf(0x407)]=0x32ca]=_0x212abf(0x407),_0x37362f[_0x37362f['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x212abf(0x43f),_0x37362f[_0x37362f['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x212abf(0x188),_0x37362f[_0x37362f['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x212abf(0x3e5),_0x37362f[_0x37362f['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x212abf(0x2e0),_0x37362f[_0x37362f[_0x212abf(0x439)]=0x36b4]=_0x212abf(0x439),_0x37362f[_0x37362f[_0x212abf(0x28b)]=0x36b5]=_0x212abf(0x28b),_0x37362f[_0x37362f[_0x212abf(0x25d)]=0x36b6]=_0x212abf(0x25d),_0x37362f[_0x37362f[_0x212abf(0x347)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x37362f[_0x37362f[_0x212abf(0x23f)]=0x36b8]=_0x212abf(0x23f),_0x37362f[_0x37362f[_0x212abf(0x3f0)]=0x3715]=_0x212abf(0x3f0),_0x37362f[_0x37362f['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x212abf(0x331),_0x37362f[_0x37362f[_0x212abf(0x453)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x37362f[_0x37362f[_0x212abf(0x3fe)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x37362f[_0x37362f[_0x212abf(0x39f)]=0x3a99]=_0x212abf(0x39f),_0x37362f[_0x37362f[_0x212abf(0x4ec)]=0x3a9a]=_0x212abf(0x4ec),_0x37362f[_0x37362f[_0x212abf(0x351)]=0x3a9b]=_0x212abf(0x351),_0x37362f[_0x37362f[_0x212abf(0x1f3)]=0x3a9c]=_0x212abf(0x1f3),_0x37362f[_0x37362f[_0x212abf(0x2be)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x37362f[_0x37362f[_0x212abf(0x24f)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x37362f[_0x37362f['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x212abf(0x410),_0x37362f[_0x37362f[_0x212abf(0x44e)]=0x3e81]=_0x212abf(0x44e),_0x37362f[_0x37362f[_0x212abf(0x242)]=-0x1]=_0x212abf(0x242),_0x37362f))(_0x50d3e0||{}),_0x10d356=(_0x5ee73e=>(_0x5ee73e[_0x5ee73e['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x5ee73e[_0x5ee73e[_0x212abf(0x286)]=0x1]=_0x212abf(0x286),_0x5ee73e[_0x5ee73e['UNIVER_SHEET']=0x2]=_0x212abf(0x2e8),_0x5ee73e[_0x5ee73e['UNIVER_SLIDE']=0x3]=_0x212abf(0x3d1),_0x5ee73e[_0x5ee73e['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x5ee73e[_0x5ee73e['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5ee73e))(_0x10d356||{}),_0x326b3c=(_0x59dc5f=>(_0x59dc5f[_0x59dc5f[_0x212abf(0x1ff)]=0x0]=_0x212abf(0x1ff),_0x59dc5f[_0x59dc5f[_0x212abf(0x4c6)]=0x1]=_0x212abf(0x4c6),_0x59dc5f[_0x59dc5f[_0x212abf(0x4e3)]=0x2]=_0x212abf(0x4e3),_0x59dc5f[_0x59dc5f['LEAVE']=0x3]=_0x212abf(0x4f3),_0x59dc5f[_0x59dc5f['INGEST']=0x4]=_0x212abf(0x343),_0x59dc5f[_0x59dc5f['HEARTBEAT']=0x5]=_0x212abf(0x43a),_0x59dc5f[_0x59dc5f[_0x212abf(0x476)]=0x6]='RECV',_0x59dc5f[_0x59dc5f['UNRECOGNIZED']=-0x1]=_0x212abf(0x242),_0x59dc5f))(_0x326b3c||{}),_0x1433f4=(_0x3b39bc=>(_0x3b39bc[_0x3b39bc[_0x212abf(0x17e)]=0x0]=_0x212abf(0x17e),_0x3b39bc[_0x3b39bc['OK']=0x1]='OK',_0x3b39bc[_0x3b39bc[_0x212abf(0x1d7)]=0x2]='FAIL',_0x3b39bc[_0x3b39bc[_0x212abf(0x200)]=0x3e9]=_0x212abf(0x200),_0x3b39bc[_0x3b39bc[_0x212abf(0x3ed)]=0x3ea]=_0x212abf(0x3ed),_0x3b39bc[_0x3b39bc[_0x212abf(0x461)]=0x3eb]=_0x212abf(0x461),_0x3b39bc[_0x3b39bc[_0x212abf(0x447)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3b39bc[_0x3b39bc['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3b39bc))(_0x1433f4||{}),_0x4d4f2c=(_0x334d45=>(_0x334d45[_0x334d45[_0x212abf(0x1a9)]=0x0]='Undefined',_0x334d45[_0x334d45[_0x212abf(0x1ae)]=0x1]=_0x212abf(0x1ae),_0x334d45[_0x334d45[_0x212abf(0x3ba)]=0x2]=_0x212abf(0x3ba),_0x334d45[_0x334d45[_0x212abf(0x3f6)]=0x3]=_0x212abf(0x3f6),_0x334d45[_0x334d45[_0x212abf(0x2ca)]=0x4]=_0x212abf(0x2ca),_0x334d45[_0x334d45[_0x212abf(0x48a)]=0x5]=_0x212abf(0x48a),_0x334d45[_0x334d45[_0x212abf(0x3be)]=0x6]=_0x212abf(0x3be),_0x334d45[_0x334d45[_0x212abf(0x242)]=-0x1]=_0x212abf(0x242),_0x334d45))(_0x4d4f2c||{});const _0x482eff=_0x212abf(0x1f2);function _0x137a72(_0xb4d05){var _0x2ba9ee=_0x212abf;return JSON[_0x2ba9ee(0x178)](_0xb4d05)[_0x2ba9ee(0x2e2)];}var _0x5ab775=(_0x4490c8=>(_0x4490c8[_0x212abf(0x1af)]=_0x212abf(0x1af),_0x4490c8['PERMISSION_DENIED']='PERMISSION_DENIED',_0x4490c8['CONFLICT']=_0x212abf(0x39c),_0x4490c8[_0x212abf(0x326)]=_0x212abf(0x326),_0x4490c8['JOIN_ROOM_FAILED']=_0x212abf(0x1c5),_0x4490c8[_0x212abf(0x36a)]=_0x212abf(0x36a),_0x4490c8[_0x212abf(0x468)]=_0x212abf(0x468),_0x4490c8[_0x212abf(0x3a8)]=_0x212abf(0x3a8),_0x4490c8))(_0x5ab775||{});class _0xfe53d{constructor(){var _0x47f9e9=_0x212abf;_0x110376(this,'_event$',new _0x3b3710[(_0x47f9e9(0x1bc))]()),_0x110376(this,_0x47f9e9(0x497),this[_0x47f9e9(0x4a5)][_0x47f9e9(0x3a2)]());}[_0x212abf(0x3ab)](_0x2dab6d){var _0x191510=_0x212abf;this['_event$'][_0x191510(0x185)](_0x2dab6d);}}class _0x1360e0{constructor(){var _0x2a3388=_0x212abf;_0x110376(this,_0x2a3388(0x42f),new _0x3b3710[(_0x2a3388(0x1bc))]()),_0x110376(this,_0x2a3388(0x224),this[_0x2a3388(0x42f)][_0x2a3388(0x3a2)]());}['onCommentUpdate'](_0x192d79){var _0x109c6f=_0x212abf;this[_0x109c6f(0x42f)][_0x109c6f(0x185)](_0x192d79);}}var _0x41133e=Object[_0x212abf(0x1f8)],_0x2116f2=(_0x41a486,_0x1822b8,_0x4e55ef,_0x1c5539)=>{var _0x3078fd=_0x212abf;for(var _0x2cd7d6=_0x1c5539>0x1?void 0x0:_0x1c5539?_0x41133e(_0x1822b8,_0x4e55ef):_0x1822b8,_0x130606=_0x41a486[_0x3078fd(0x2e2)]-0x1,_0x31d554;_0x130606>=0x0;_0x130606--)(_0x31d554=_0x41a486[_0x130606])&&(_0x2cd7d6=_0x31d554(_0x2cd7d6)||_0x2cd7d6);return _0x2cd7d6;},_0x1e8783=(_0x10d1e7,_0x55adf3)=>(_0x1c262a,_0x20023e)=>_0x55adf3(_0x1c262a,_0x20023e,_0x10d1e7);_0x1c6aa2[_0x212abf(0x2b0)]=class extends _0x2695a7['Disposable']{constructor(_0x281396,_0x5d63df){var _0x1cb0ab=_0x212abf;super(),_0x110376(this,'_roomMembers',new Map()),_0x110376(this,_0x1cb0ab(0x244),new _0x3b3710[(_0x1cb0ab(0x1bc))]()),(this[_0x1cb0ab(0x490)]=_0x281396,this['_userManagerService']=_0x5d63df,this[_0x1cb0ab(0x2fe)](_0x3b3710[_0x1cb0ab(0x3b6)](this[_0x1cb0ab(0x490)][_0x1cb0ab(0x195)](_0x2695a7[_0x1cb0ab(0x187)]['UNIVER_SHEET'])['pipe'](_0xc987a3['map'](_0x36d4ff=>_0x36d4ff[_0x1cb0ab(0x33b)]())),this[_0x1cb0ab(0x490)][_0x1cb0ab(0x195)](_0x2695a7[_0x1cb0ab(0x187)][_0x1cb0ab(0x286)])[_0x1cb0ab(0x1b2)](_0xc987a3[_0x1cb0ab(0x1eb)](_0x483ad5=>_0x483ad5['getUnitId']())),this[_0x1cb0ab(0x490)]['getTypeOfUnitDisposed$'](_0x2695a7[_0x1cb0ab(0x187)][_0x1cb0ab(0x3d1)])[_0x1cb0ab(0x1b2)](_0xc987a3[_0x1cb0ab(0x1eb)](_0x536a84=>_0x536a84['getUnitId']())))[_0x1cb0ab(0x23e)](_0x2deede=>this['_removeRoom'](_0x2deede))));}['waitForRoom$'](_0x4b8012){var _0x5d5beb=_0x212abf;return this[_0x5d5beb(0x49a)]['has'](_0x4b8012)?_0x3b3710['of'](this['_roomMembers']['get'](_0x4b8012)):this['_roomCreated$']['pipe'](_0xc987a3[_0x5d5beb(0x1eb)](_0x16f251=>{var _0x59c90b=_0x5d5beb;if(_0x16f251===_0x4b8012)return this[_0x59c90b(0x49a)]['get'](_0x16f251);}));}[_0x212abf(0x215)](_0x39e7e4){var _0x275dc4=_0x212abf;this['_userManagerService'][_0x275dc4(0x215)](_0x39e7e4);}[_0x212abf(0x289)](){var _0x2d3767=_0x212abf;return this[_0x2d3767(0x46d)][_0x2d3767(0x289)]();}[_0x212abf(0x3ff)](_0x541031,_0x5aa821){var _0x29b9b9=_0x212abf;let _0x13b04a=this[_0x29b9b9(0x49a)][_0x29b9b9(0x2e4)](_0x541031);_0x13b04a||(_0x13b04a=new _0x4d66d5(),this[_0x29b9b9(0x49a)][_0x29b9b9(0x214)](_0x541031,_0x13b04a),this[_0x29b9b9(0x244)][_0x29b9b9(0x185)](_0x541031)),_0x13b04a[_0x29b9b9(0x3ff)](_0x5aa821);}['removeMember'](_0x3031b8,_0x4bbd75){var _0xc92a1=_0x212abf;const _0x4ccda8=this['_roomMembers'][_0xc92a1(0x2e4)](_0x3031b8);_0x4ccda8&&_0x4ccda8[_0xc92a1(0x21d)](_0x4bbd75);}[_0x212abf(0x18b)](_0x2b9c0f){var _0x1b789a=_0x212abf;return this['_roomMembers'][_0x1b789a(0x2e4)](_0x2b9c0f);}[_0x212abf(0x47b)](_0xc56a30,_0x1c787d){var _0xb51a9f=_0x212abf;const _0x5cbce1=this[_0xb51a9f(0x49a)]['get'](_0xc56a30);if(_0x5cbce1)return _0x5cbce1[_0xb51a9f(0x47b)](_0x1c787d);}[_0x212abf(0x1f4)](_0x494247){var _0x424681=_0x212abf;const _0x460ca4=this[_0x424681(0x49a)][_0x424681(0x2e4)](_0x494247);_0x460ca4&&(_0x460ca4['dispose'](),this[_0x424681(0x49a)][_0x424681(0x360)](_0x494247));}[_0x212abf(0x1aa)](){var _0x2a3501=_0x212abf;this['_roomMembers'][_0x2a3501(0x20a)](_0x30d04b=>_0x30d04b['dispose']()),this[_0x2a3501(0x49a)][_0x2a3501(0x44f)](),this[_0x2a3501(0x244)][_0x2a3501(0x3a1)]();}},_0x1c6aa2[_0x212abf(0x2b0)]=_0x2116f2([_0x1e8783(0x0,_0x2695a7[_0x212abf(0x4ed)]),_0x1e8783(0x1,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x40a)]))],_0x1c6aa2[_0x212abf(0x2b0)]);class _0x4d66d5 extends _0x2695a7[_0x212abf(0x322)]{constructor(){var _0x231d35=_0x212abf;super(...arguments),_0x110376(this,_0x231d35(0x42b),new Map()),_0x110376(this,'_members$',new _0x3b3710[(_0x231d35(0x2ed))](this['_members'])),_0x110376(this,_0x231d35(0x21c),this[_0x231d35(0x3e3)][_0x231d35(0x3a2)]());}['dispose'](){var _0x50b2db=_0x212abf;this[_0x50b2db(0x42b)][_0x50b2db(0x44f)]();}[_0x212abf(0x3ff)](_0x22aa15){var _0x7913d0=_0x212abf;this[_0x7913d0(0x42b)][_0x7913d0(0x214)](_0x22aa15['memberID'],_0x22aa15),this['_emitMembers']();}['removeMember'](_0x3855ce){var _0x667143=_0x212abf;this[_0x667143(0x42b)][_0x667143(0x360)](_0x3855ce);}[_0x212abf(0x47b)](_0x128ab5){var _0x129714=_0x212abf;return this[_0x129714(0x42b)][_0x129714(0x2e4)](_0x128ab5);}[_0x212abf(0x19e)](){var _0x5ea179=_0x212abf;return Array[_0x5ea179(0x35c)](this[_0x5ea179(0x42b)][_0x5ea179(0x49c)]());}[_0x212abf(0x3ee)](){var _0xf17f77=_0x212abf;this['_members$'][_0xf17f77(0x185)](this[_0xf17f77(0x42b)]);}}var _0x2cfe51=Object[_0x212abf(0x1f8)],_0x5c6a66=(_0x4c9f2e,_0x5524bb,_0x246c8d,_0x588513)=>{var _0x3e737e=_0x212abf;for(var _0x2d5bf7=_0x588513>0x1?void 0x0:_0x588513?_0x2cfe51(_0x5524bb,_0x246c8d):_0x5524bb,_0x2816ec=_0x4c9f2e[_0x3e737e(0x2e2)]-0x1,_0x23f5e3;_0x2816ec>=0x0;_0x2816ec--)(_0x23f5e3=_0x4c9f2e[_0x2816ec])&&(_0x2d5bf7=_0x23f5e3(_0x2d5bf7)||_0x2d5bf7);return _0x2d5bf7;},_0x47b794=(_0x15b844,_0x26a75d)=>(_0x31c3b0,_0x130dd7)=>_0x26a75d(_0x31c3b0,_0x130dd7,_0x15b844),_0x1e024b=(_0x5dea58=>(_0x5dea58[_0x5dea58[_0x212abf(0x364)]=0x0]=_0x212abf(0x364),_0x5dea58[_0x5dea58[_0x212abf(0x448)]=0x1]=_0x212abf(0x448),_0x5dea58[_0x5dea58[_0x212abf(0x2aa)]=0x2]=_0x212abf(0x2aa),_0x5dea58[_0x5dea58[_0x212abf(0x42c)]=0x3]='ONLINE',_0x5dea58))(_0x1e024b||{});const _0x1584b1={[_0x1433f4[_0x212abf(0x1d7)]]:'session.join-failed',[_0x1433f4[_0x212abf(0x200)]]:_0x212abf(0x370),[_0x1433f4['JOIN_ROOM_NOT_EXISTS']]:_0x212abf(0x357),[_0x1433f4[_0x212abf(0x461)]]:_0x212abf(0x4a8),[_0x1433f4[_0x212abf(0x447)]]:_0x212abf(0x31a)};_0x1c6aa2[_0x212abf(0x3bd)]=class extends _0x2695a7[_0x212abf(0x1be)]{constructor(_0xfc6dcd,_0x4d63f1,_0x3fca19,_0x42c084,_0x17f15e,_0x267cac,_0x1bce57,_0x56a930){var _0x1afb9d=_0x212abf;super(),_0x110376(this,_0x1afb9d(0x4c4),new _0x3b3710[(_0x1afb9d(0x2ed))](0x0)),_0x110376(this,_0x1afb9d(0x40b),this[_0x1afb9d(0x4c4)]['asObservable']()),_0x110376(this,'_event$',new _0x3b3710[(_0x1afb9d(0x1bc))]()),_0x110376(this,_0x1afb9d(0x497),this[_0x1afb9d(0x4a5)]['asObservable']()),_0x110376(this,_0x1afb9d(0x206)),_0x110376(this,'_socketMessageSubscription'),_0x110376(this,_0x1afb9d(0x36f)),_0x110376(this,_0x1afb9d(0x171),!0x1),_0x110376(this,_0x1afb9d(0x3fa),null),(this['_unitID']=_0xfc6dcd,this[_0x1afb9d(0x24b)]=_0x3fca19,this['_configService']=_0x42c084,this[_0x1afb9d(0x3f8)]=_0x17f15e,this['_commentService']=_0x267cac,this[_0x1afb9d(0x32f)]=_0x1bce57,this[_0x1afb9d(0x40c)]=_0x56a930,this['_shouldReportTelemetry']=!!this[_0x1afb9d(0x40c)],_0x4d63f1['pipe'](_0x3b3710['takeUntil'](this[_0x1afb9d(0x4fd)]))[_0x1afb9d(0x23e)](_0x5179b3=>{var _0x5dc752=_0x1afb9d,_0x33776e;typeof _0x5179b3>'u'||(this[_0x5dc752(0x206)]=_0x5179b3,_0x5179b3?(this[_0x5dc752(0x437)](_0x5179b3),this[_0x5dc752(0x210)]=_0x5179b3[_0x5dc752(0x2df)][_0x5dc752(0x23e)](_0xb08f24=>{var _0x19a78d=_0x5dc752;_0xb08f24[_0x19a78d(0x1a1)]===this[_0x19a78d(0x50d)]&&this['_onCombEvent'](_0xb08f24);})):(this[_0x5dc752(0x2a0)](),this[_0x5dc752(0x4c4)][_0x5dc752(0x185)](0x2),(_0x33776e=this['_socketMessageSubscription'])==null||_0x33776e['unsubscribe'](),this[_0x5dc752(0x210)]=null));}));}get[_0x212abf(0x46f)](){var _0x2e409b=_0x212abf;return this[_0x2e409b(0x4c4)][_0x2e409b(0x2e3)]();}['getMemberID'](){var _0x458aa6=_0x212abf,_0x490f2f,_0x1a0aff;return(_0x1a0aff=(_0x490f2f=this['_socket'])==null?void 0x0:_0x490f2f[_0x458aa6(0x4b3)])!=null?_0x1a0aff:null;}[_0x212abf(0x1aa)](){var _0x2170cb=_0x212abf;super[_0x2170cb(0x1aa)](),this[_0x2170cb(0x4fd)][_0x2170cb(0x185)](),this[_0x2170cb(0x4fd)][_0x2170cb(0x3a1)]();}['close'](){var _0x24fc5a=_0x212abf,_0x161fbd,_0x4e2ea6;this[_0x24fc5a(0x2a0)](),(_0x161fbd=this[_0x24fc5a(0x206)])==null||_0x161fbd[_0x24fc5a(0x197)]({'cmd':_0x326b3c[_0x24fc5a(0x4f3)],'data':{'roomID':this[_0x24fc5a(0x50d)]}}),(_0x4e2ea6=this['_socket'])==null||_0x4e2ea6[_0x24fc5a(0x191)](),this[_0x24fc5a(0x4a5)]['complete'](),this['_sessionStatus$'][_0x24fc5a(0x3a1)](),this[_0x24fc5a(0x1aa)]();}[_0x212abf(0x507)](_0xb73750){var _0x1ab392=_0x212abf;_0xb73750[_0x1ab392(0x42e)]===_0x326b3c[_0x1ab392(0x4e3)]?this['_onJoinRoomEvent'](_0xb73750):_0xb73750[_0x1ab392(0x42e)]===_0x326b3c[_0x1ab392(0x476)]&&this[_0x1ab392(0x366)](_0xb73750);}[_0x212abf(0x437)](_0x115cdb){var _0x5d838e=_0x212abf;this[_0x5d838e(0x4c4)][_0x5d838e(0x185)](0x1),_0x115cdb[_0x5d838e(0x197)]({'cmd':_0x326b3c[_0x5d838e(0x4e3)],'routeKey':this[_0x5d838e(0x50d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5d838e(0x50d)]}]}});}[_0x212abf(0x46c)](_0x198e21){var _0x5ec307=_0x212abf,_0x5984c9;if(_0x198e21[_0x5ec307(0x4bc)]in _0x1584b1){this[_0x5ec307(0x32f)][_0x5ec307(0x3ab)]({'id':_0x5ab775['JOIN_ROOM_FAILED'],'data':_0x1584b1[_0x198e21['code']]}),this[_0x5ec307(0x4c4)][_0x5ec307(0x185)](0x2);return;}this[_0x5ec307(0x4c4)][_0x5ec307(0x185)](0x3);const _0x4f8d9c=(_0x5984c9=_0x198e21['data'][_0x5ec307(0x4cb)][this[_0x5ec307(0x50d)]])==null?void 0x0:_0x5984c9[_0x5ec307(0x2e9)];_0x4f8d9c&&_0x4f8d9c['forEach'](_0x175da5=>this[_0x5ec307(0x3f8)]['updateMember'](this['_unitID'],_0x175da5));}[_0x212abf(0x366)](_0x3c1b66){var _0x1d43bf=_0x212abf;try{const _0x1c8414=_0x3c1b66[_0x1d43bf(0x28c)];switch(_0x1c8414['eventID']){case _0x425665['CollaborationEvent'][_0x1d43bf(0x499)]:this[_0x1d43bf(0x4e5)](_0x1c8414),this[_0x1d43bf(0x4a5)][_0x1d43bf(0x185)](_0x1c8414);break;case _0x425665[_0x1d43bf(0x3c4)][_0x1d43bf(0x211)]:this['_onUserLeave'](_0x1c8414),this[_0x1d43bf(0x4a5)][_0x1d43bf(0x185)](_0x1c8414);break;case _0x425665[_0x1d43bf(0x3c4)][_0x1d43bf(0x3e2)]:case _0x425665[_0x1d43bf(0x3c4)][_0x1d43bf(0x315)]:this[_0x1d43bf(0x422)](),this[_0x1d43bf(0x2c9)](),this[_0x1d43bf(0x4a5)][_0x1d43bf(0x185)](_0x1c8414);break;case _0x425665[_0x1d43bf(0x3c4)]['MSG_FOR_ERROR']:this[_0x1d43bf(0x24b)][_0x1d43bf(0x4c9)](_0x1d43bf(0x349)+JSON[_0x1d43bf(0x178)](_0x1c8414)),this[_0x1d43bf(0x4a5)][_0x1d43bf(0x185)](_0x1c8414);break;case _0x425665[_0x1d43bf(0x3c4)][_0x1d43bf(0x3b0)]:this[_0x1d43bf(0x301)][_0x1d43bf(0x2c3)](_0x1c8414['data']),this[_0x1d43bf(0x4a5)][_0x1d43bf(0x185)](_0x1c8414);break;default:this[_0x1d43bf(0x4a5)]['next'](_0x1c8414);}}catch(_0x5d2bd1){this[_0x1d43bf(0x24b)][_0x1d43bf(0x4c9)](_0x5d2bd1,_0x3c1b66);}}[_0x212abf(0x4e5)](_0xe2297f){var _0x55342b=_0x212abf;this['_memberService'][_0x55342b(0x3ff)](this[_0x55342b(0x50d)],_0xe2297f[_0x55342b(0x28c)]);}[_0x212abf(0x37f)](_0x396c81){var _0x3c1f9a=_0x212abf;this[_0x3c1f9a(0x3f8)][_0x3c1f9a(0x21d)](this['_unitID'],_0x396c81[_0x3c1f9a(0x28c)]['memberID']);}async[_0x212abf(0x197)](_0x1eaa7f,_0x29d7a5){var _0x1776fa=_0x212abf;if(this[_0x1776fa(0x46f)]!==0x3||!this[_0x1776fa(0x206)])throw new Error(_0x1776fa(0x192));try{_0x1eaa7f[_0x1776fa(0x16a)]===_0x425665[_0x1776fa(0x3c4)][_0x1776fa(0x510)]&&(this[_0x1776fa(0x48e)](),this[_0x1776fa(0x1c8)](_0x1eaa7f)),this[_0x1776fa(0x206)][_0x1776fa(0x197)]({'cmd':_0x326b3c[_0x1776fa(0x343)],'routeKey':_0x29d7a5,'routeType':'','data':_0x1eaa7f});}catch(_0x546e8a){this[_0x1776fa(0x24b)][_0x1776fa(0x4c9)](_0x546e8a);}}[_0x212abf(0x48e)](){var _0xbd7002=_0x212abf,_0x2195fc;this[_0xbd7002(0x36f)]=setTimeout(()=>{var _0xbd2026=_0xbd7002;this[_0xbd2026(0x36f)]=null,this['_collaborationUIEventService'][_0xbd2026(0x3ab)]({'id':_0x5ab775[_0xbd2026(0x3a8)]});},(_0x2195fc=this[_0xbd7002(0x172)][_0xbd7002(0x3ea)](_0xf20a7c))!=null?_0x2195fc:0x4e20);}[_0x212abf(0x2c9)](){var _0x59c880=_0x212abf;this[_0x59c880(0x36f)]&&(clearTimeout(this[_0x59c880(0x36f)]),this[_0x59c880(0x36f)]=null);}[_0x212abf(0x1c8)](_0x39fedd){var _0x3e8da4=_0x212abf;if(!this['_shouldReportTelemetry'])return;const {data:_0xcc2cc8}=_0x39fedd,{unitID:_0x11c3b0,changeset:_0x54242f}=_0xcc2cc8,{mutations:_0x2a3831,type:_0x457fcd}=_0x54242f;this[_0x3e8da4(0x3fa)]={'unitId':_0x11c3b0,'type':_0x457fcd,'startTime':performance[_0x3e8da4(0x3c6)](),'stopTime':0x0,'duration':0x0,'size':_0x137a72(_0x2a3831)};}[_0x212abf(0x422)](){var _0x4c3c73=_0x212abf;if(this['_shouldReportTelemetry']){if(!this[_0x4c3c73(0x3fa)]){this[_0x4c3c73(0x24b)][_0x4c3c73(0x4c9)](_0x4c3c73(0x1dd),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4c3c73(0x3fa)][_0x4c3c73(0x2bb)]=performance[_0x4c3c73(0x3c6)](),this[_0x4c3c73(0x3fa)]['duration']=this['_telemetryInfo']['stopTime']-this[_0x4c3c73(0x3fa)][_0x4c3c73(0x253)],this['_telemetryService'][_0x4c3c73(0x2bd)](_0x482eff,this[_0x4c3c73(0x3fa)]),this[_0x4c3c73(0x3fa)]=null;}}[_0x212abf(0x2a0)](){this['_telemetryInfo']=null;}},_0x1c6aa2[_0x212abf(0x3bd)]=_0x5c6a66([_0x47b794(0x2,_0x2695a7[_0x212abf(0x1e4)]),_0x47b794(0x3,_0x2695a7[_0x212abf(0x333)]),_0x47b794(0x4,_0x2695a7[_0x212abf(0x4c1)](_0x1c6aa2[_0x212abf(0x2b0)])),_0x47b794(0x5,_0x2695a7[_0x212abf(0x4c1)](_0x1360e0)),_0x47b794(0x6,_0x2695a7['Inject'](_0xfe53d)),_0x47b794(0x7,_0x2695a7[_0x212abf(0x1d8)](_0x26a00c[_0x212abf(0x404)]))],_0x1c6aa2[_0x212abf(0x3bd)]);const _0x387771=_0x2695a7[_0x212abf(0x2a1)](_0x212abf(0x4b7));function _0x5d22e3(_0x2daa9b){var _0x28ebaa=_0x212abf;return _0x28ebaa(0x1e2)+_0x2daa9b;}var _0x260e5a=Object[_0x212abf(0x1f8)],_0x38fae1=(_0x47e992,_0x2b4bf2,_0x34bcd0,_0x5994d6)=>{var _0x52ae23=_0x212abf;for(var _0x25fcb2=_0x5994d6>0x1?void 0x0:_0x5994d6?_0x260e5a(_0x2b4bf2,_0x34bcd0):_0x2b4bf2,_0x4361fb=_0x47e992[_0x52ae23(0x2e2)]-0x1,_0x1bf342;_0x4361fb>=0x0;_0x4361fb--)(_0x1bf342=_0x47e992[_0x4361fb])&&(_0x25fcb2=_0x1bf342(_0x25fcb2)||_0x25fcb2);return _0x25fcb2;},_0x4ad6b8=(_0x3fb37f,_0x3f17b5)=>(_0x480dfc,_0x29d476)=>_0x3f17b5(_0x480dfc,_0x29d476,_0x3fb37f);function _0x356627(_0x476b31){var _0x4a8ccb=_0x212abf;const {unitID:_0x4e2031,mutations:_0x57f45a}=_0x476b31;return{'unitId':_0x4e2031,'subUnitId':_0x57f45a['length']>0x0?_0x57f45a[0x0][_0x4a8ccb(0x2d0)][_0x4a8ccb(0x39d)]:null};}_0x1c6aa2['SheetTransformSelectionsService']=class{constructor(_0x96df4f,_0x54cb5f,_0x495032){var _0x765688=_0x212abf;this['_injector']=_0x96df4f,this[_0x765688(0x500)]=_0x54cb5f,this[_0x765688(0x34e)]=_0x495032;}[_0x212abf(0x1f0)](_0x29171c){var _0xdc2366=_0x212abf,_0x9a0d69,_0x35eeea,_0x18419b,_0x3085d0;const _0x573598=this[_0xdc2366(0x2e5)][_0xdc2366(0x2e4)](_0x57749b[_0xdc2366(0x1c9)]),{unitId:_0x5e743f,subUnitId:_0x5ef763}=_0x356627(_0x29171c),_0x159d5c=_0x573598==null?void 0x0:_0x573598[_0xdc2366(0x18a)](_0x5e743f)['getCurrentSelections'](),_0x861a22=(_0x35eeea=(_0x9a0d69=this[_0xdc2366(0x34e)][_0xdc2366(0x31e)](_0x5e743f))==null?void 0x0:_0x9a0d69[_0xdc2366(0x47e)]())==null?void 0x0:_0x35eeea[_0xdc2366(0x4bd)]();if(_0x159d5c[_0xdc2366(0x2e2)]===0x0||!_0x5e743f||!_0x5ef763)return;const _0x21ed81=[{'id':_0x57749b[_0xdc2366(0x329)]['id'],'params':{'unitId':_0x5e743f,'subUnitId':_0x861a22,'selections':_0x2695a7[_0xdc2366(0x1a2)][_0xdc2366(0x230)](_0x159d5c)}}],_0x65cbc0=this['_transformService'][_0xdc2366(0x2a2)](_0x29171c,_0x21ed81);if(!_0x425665[_0xdc2366(0x4f0)](_0x65cbc0))throw _0x65cbc0[_0xdc2366(0x4c9)];const _0x284bf7=(_0x3085d0=(_0x18419b=_0x65cbc0[_0xdc2366(0x1fe)][0x0])==null?void 0x0:_0x18419b[_0xdc2366(0x2d0)])==null?void 0x0:_0x3085d0[_0xdc2366(0x19f)];if(Array[_0xdc2366(0x1f9)](_0x284bf7)&&_0x284bf7[_0xdc2366(0x2e2)]){if(_0x284bf7['length']===_0x21ed81[0x0][_0xdc2366(0x2d0)][_0xdc2366(0x19f)][_0xdc2366(0x2e2)]&&_0x284bf7[_0xdc2366(0x390)]((_0x101150,_0x3d664a)=>_0x2695a7[_0xdc2366(0x1f5)][_0xdc2366(0x358)](_0x101150[_0xdc2366(0x43c)],_0x21ed81[0x0][_0xdc2366(0x2d0)][_0xdc2366(0x19f)][_0x3d664a]['range'])))return;this[_0xdc2366(0x2e5)][_0xdc2366(0x2e4)](_0x2695a7[_0xdc2366(0x2f2)])['executeCommand'](_0x57749b['SetSelectionsOperation']['id'],{'unitId':_0x5e743f,'subUnitId':_0x861a22,'selections':_0x284bf7});}}},_0x1c6aa2[_0x212abf(0x48b)]=_0x38fae1([_0x4ad6b8(0x0,_0x2695a7['Inject'](_0x2695a7[_0x212abf(0x415)])),_0x4ad6b8(0x1,_0x425665[_0x212abf(0x328)]),_0x4ad6b8(0x2,_0x2695a7['IUniverInstanceService'])],_0x1c6aa2[_0x212abf(0x48b)]);const _0x4993a0=_0x2695a7[_0x212abf(0x2a1)](_0x212abf(0x395));var _0x38f487=(_0x35771d=>(_0x35771d[_0x35771d[_0x212abf(0x50b)]=0x0]=_0x212abf(0x50b),_0x35771d[_0x35771d['OTHER_CLIENTS_EDITING']=0x1]=_0x212abf(0x30a),_0x35771d))(_0x38f487||{});const _0x391e6e=_0x212abf(0x16b),_0x1ddbc2={};function _0x176c24(_0x14f5b4){var _0x3d841a=_0x212abf,_0x502133;return!!((_0x502133=_0x14f5b4[_0x3d841a(0x2d0)])!=null&&_0x502133[_0x3d841a(0x26d)]);}const _0x4af7bf=new Set([_0x57749b['InsertSheetMutation']['id']]);function _0x59e56c(_0x46acfb,_0x291785,_0x688208,_0x205a20,_0x2e1081){var _0x148d61=_0x212abf,_0x6e32d9,_0x1b9249,_0x182568,_0x56b8f7;const _0x305556=[];for(const _0x2ad107 of _0x46acfb){if(_0x4af7bf[_0x148d61(0x406)](_0x2ad107['id'])){if(_0x305556['length']>0x0)break;_0x305556[_0x148d61(0x4d2)](_0x2ad107);break;}if(_0x176c24(_0x2ad107)){if(_0x305556[_0x148d61(0x2e2)]>0x0)break;_0x305556['push'](_0x2ad107);break;}_0x305556['push'](_0x2ad107);}const _0x273ac4=(_0x1b9249=(_0x6e32d9=_0x2e1081[_0x148d61(0x289)]())==null?void 0x0:_0x6e32d9[_0x148d61(0x48d)])!=null?_0x1b9249:_0x148d61(0x3d2),_0x31cd2d=(_0x56b8f7=(_0x182568=_0x2e1081[_0x148d61(0x289)]())==null?void 0x0:_0x182568[_0x148d61(0x4b3)])!=null?_0x56b8f7:_0x148d61(0x3d2);return{'changeset':{'unitID':_0x291785,'type':_0x425665['mapDocumentTypeToUniverType'](_0x688208[_0x148d61(0x4a0)](_0x291785)),'baseRev':_0x205a20['getCurrentRevOfUnit'](_0x291785),'revision':0x0,'userID':_0x273ac4,'memberID':_0x31cd2d,'mutations':_0x305556},'pendingMutations':_0x46acfb['slice'](_0x305556['length'])};}function _0x5cf29b(_0x183cfd,_0x4e4ab2,_0x509799,_0x2c1ae6,_0x3902a7){var _0x5f506c=_0x212abf,_0x49304b,_0x251adc,_0x1917f3,_0x3770ac;const _0x542581=[_0x183cfd[_0x5f506c(0x332)]((_0x50e87b,_0xa30b9d)=>{var _0x45bec3=_0x5f506c,_0x3d780c;const {id:_0x105b77}=_0x50e87b,{id:_0x1fb3b4,type:_0x1918b2}=_0xa30b9d,_0x5275af=(_0x3d780c=_0x50e87b[_0x45bec3(0x2d0)])!=null?_0x3d780c:{'actions':null},_0x338455=_0xa30b9d[_0x45bec3(0x2d0)];if(_0x105b77&&_0x105b77!==_0x1fb3b4)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x105b77+'\x20-\x20'+_0x1fb3b4+'.');return{..._0x50e87b,'id':_0x1fb3b4,'type':_0x1918b2,'params':{'unitId':_0x338455[_0x45bec3(0x4fa)],'textRanges':_0x338455['textRanges'],'actions':_0x2695a7[_0x45bec3(0x386)][_0x45bec3(0x1d9)](_0x5275af[_0x45bec3(0x2ef)],_0x338455[_0x45bec3(0x2ef)])}};},{})],_0x2c1590=(_0x251adc=(_0x49304b=_0x3902a7[_0x5f506c(0x289)]())==null?void 0x0:_0x49304b['userID'])!=null?_0x251adc:'unknown',_0x4e3f8e=(_0x3770ac=(_0x1917f3=_0x3902a7[_0x5f506c(0x289)]())==null?void 0x0:_0x1917f3[_0x5f506c(0x4b3)])!=null?_0x3770ac:_0x5f506c(0x3d2);return{'changeset':{'unitID':_0x4e4ab2,'type':_0x425665[_0x5f506c(0x2d5)](_0x509799[_0x5f506c(0x4a0)](_0x4e4ab2)),'baseRev':_0x2c1ae6[_0x5f506c(0x2ab)](_0x4e4ab2),'revision':0x0,'userID':_0x2c1590,'memberID':_0x4e3f8e,'mutations':_0x542581},'pendingMutations':[]};}function _0x3c4b23(_0x45e5b2,_0xd08d50){var _0x51b441=_0x212abf;const _0x5cf98f=new _0x3b3710[(_0x51b441(0x285))](0x1);return setTimeout(()=>_0x5cf98f[_0x51b441(0x185)](_0xd08d50),_0x45e5b2),_0x5cf98f[_0x51b441(0x3a2)]()[_0x51b441(0x1b2)](_0x3b3710[_0x51b441(0x208)](0x1));}var _0x33ec39=Object[_0x212abf(0x1f8)],_0xbdfa67=(_0xd5e1ec,_0x311768,_0xb7aa73,_0x5ddbb1)=>{var _0x2988ba=_0x212abf;for(var _0x2279c2=_0x5ddbb1>0x1?void 0x0:_0x5ddbb1?_0x33ec39(_0x311768,_0xb7aa73):_0x311768,_0x356740=_0xd5e1ec[_0x2988ba(0x2e2)]-0x1,_0x4872ef;_0x356740>=0x0;_0x356740--)(_0x4872ef=_0xd5e1ec[_0x356740])&&(_0x2279c2=_0x4872ef(_0x2279c2)||_0x2279c2);return _0x2279c2;},_0x345f54=(_0xaff548,_0x51fbdd)=>(_0x5f0a43,_0x550325)=>_0x51fbdd(_0x5f0a43,_0x550325,_0xaff548),_0x3422b2=(_0x1009cc=>(_0x1009cc[_0x212abf(0x181)]=_0x212abf(0x423),_0x1009cc[_0x212abf(0x2c6)]=_0x212abf(0x3de),_0x1009cc[_0x212abf(0x302)]=_0x212abf(0x1e1),_0x1009cc[_0x212abf(0x4e2)]=_0x212abf(0x3f3),_0x1009cc['AWAITING_WITH_PENDING']=_0x212abf(0x1d2),_0x1009cc['FETCH_MISS']=_0x212abf(0x1df),_0x1009cc[_0x212abf(0x39c)]=_0x212abf(0x35e),_0x1009cc['OFFLINE']=_0x212abf(0x431),_0x1009cc))(_0x3422b2||{});const _0x21ef4f=0x4e20,_0x1b62f6=0x2bf20;class _0x30d248{constructor(_0x1afbd8,_0x391f94,_0x16f4e7,_0x2498fe,_0x20f8fa,_0x434fa3,_0x104a82,_0x5f22d0,_0x341a0c){var _0x5a347d=_0x212abf;_0x110376(this,_0x5a347d(0x383),null),_0x110376(this,'_pendingMutations',[]),(this[_0x5a347d(0x254)]=_0x1afbd8,this[_0x5a347d(0x306)]=_0x391f94,this[_0x5a347d(0x4b4)]=_0x20f8fa,this['_commandService']=_0x434fa3,this['_undoRedoService']=_0x104a82,this[_0x5a347d(0x432)]=_0x5f22d0,this[_0x5a347d(0x1ce)]=_0x341a0c,this[_0x5a347d(0x383)]=_0x16f4e7,this[_0x5a347d(0x4f9)]=_0x2498fe);}['_checkMissing'](_0x1335db){var _0x51f7a8=_0x212abf;const _0x4332ba=this[_0x51f7a8(0x432)]['getCurrentRevOfUnit'](this[_0x51f7a8(0x254)]);return _0x1335db['revision']>_0x4332ba+0x1?(this[_0x51f7a8(0x4b4)][_0x51f7a8(0x399)]({'from':_0x4332ba,'to':_0x1335db[_0x51f7a8(0x17a)]-0x1}),!0x0):!0x1;}[_0x212abf(0x2d4)](_0x8302ac){var _0x3f3794=_0x212abf;this[_0x3f3794(0x2dd)][_0x3f3794(0x261)](this['unitID'],_0x8302ac);}[_0x212abf(0x239)](_0x3e1a64){var _0x45c05b=_0x212abf,_0x3f9fca,_0xdfbffb;(_0xdfbffb=(_0x3f9fca=this[_0x45c05b(0x4b4)])[_0x45c05b(0x502)])==null||_0xdfbffb['call'](_0x3f9fca,_0x3e1a64);}['_transformIMECache'](_0x16c0d8){var _0x2f5c96=_0x212abf,_0x5d84ca,_0x374011;return(_0x374011=(_0x5d84ca=this[_0x2f5c96(0x4b4)])[_0x2f5c96(0x35d)])==null?void 0x0:_0x374011[_0x2f5c96(0x2b1)](_0x5d84ca,_0x16c0d8);}[_0x212abf(0x35f)](_0xf64cb4){var _0x3b167d=_0x212abf,_0x26d006,_0x28f10a;return(_0x28f10a=(_0x26d006=this[_0x3b167d(0x4b4)])[_0x3b167d(0x25b)])==null?void 0x0:_0x28f10a[_0x3b167d(0x2b1)](_0x26d006,_0xf64cb4);}[_0x212abf(0x455)](_0xa505f6){var _0x235268=_0x212abf,_0x4f7408,_0x50fd18,_0x5033da;return(_0x5033da=(_0x50fd18=(_0x4f7408=this[_0x235268(0x4b4)])[_0x235268(0x22d)])==null?void 0x0:_0x50fd18['call'](_0x4f7408,_0xa505f6))!=null?_0x5033da:_0xa505f6;}['_transformRemoteChangesetByStateCache'](_0x858eda){var _0x161ffe=_0x212abf,_0x76b6f0,_0x56b0ab,_0x4a84ed;return(_0x4a84ed=(_0x56b0ab=(_0x76b6f0=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x56b0ab[_0x161ffe(0x2b1)](_0x76b6f0,_0x858eda))!=null?_0x4a84ed:_0x858eda;}['_syncEditingCollabCursor'](_0x3e785f){var _0x3410a8=_0x212abf,_0x30e65e,_0x3bac4c;if(this[_0x3410a8(0x306)]===_0x10d356[_0x3410a8(0x286)]){const {unitID:_0x477714,mutations:_0x430967,memberID:_0x35da64}=_0x3e785f,_0x1c3303=_0x430967[_0x3410a8(0x2e2)]>0x0?_0x430967[0x0][_0x3410a8(0x2d0)][_0x3410a8(0x2d3)]:[];Array['isArray'](_0x1c3303)&&_0x1c3303[_0x3410a8(0x2e2)]>0x0&&((_0x3bac4c=(_0x30e65e=this[_0x3410a8(0x4b4)])[_0x3410a8(0x30f)])==null||_0x3bac4c['call'](_0x30e65e,{'unitID':_0x477714,'memberID':_0x35da64,'textRanges':_0x1c3303}));}}[_0x212abf(0x398)](){var _0x5c4151=_0x212abf,_0x3bb9d3;(_0x3bb9d3=this['_localCacheService'])==null||_0x3bb9d3[_0x5c4151(0x4c7)](this['unitID'],this[_0x5c4151(0x306)],this[_0x5c4151(0x383)],this[_0x5c4151(0x4f9)]);}[_0x212abf(0x1e0)](){var _0x5da3c9=_0x212abf;return this[_0x5da3c9(0x432)][_0x5da3c9(0x2ab)](this[_0x5da3c9(0x254)]);}[_0x212abf(0x31c)](){var _0x131e21=_0x212abf;this[_0x131e21(0x432)][_0x131e21(0x37e)](this['unitID']);}[_0x212abf(0x21f)](_0x5b60dd){var _0x51435f=_0x212abf,_0x4b8400;let _0x4e6780=this[_0x51435f(0x455)](_0x5b60dd);_0x4e6780=this[_0x51435f(0x427)](_0x4e6780);const _0x4b31b2=_0x2695a7['sequenceExecute'](_0x4e6780[_0x51435f(0x380)],this[_0x51435f(0x300)],{'fromCollab':!0x0});if(!_0x4b31b2[_0x51435f(0x4e1)])throw _0x4b31b2[_0x51435f(0x4c9)]instanceof Error?_0x4b31b2['error']:new Error((_0x4b8400=_0x4b31b2[_0x51435f(0x4c9)])!=null?_0x4b8400:_0x51435f(0x487));this[_0x51435f(0x505)](_0x4e6780),this[_0x51435f(0x35f)](_0x4e6780),this[_0x51435f(0x2d4)](_0x5b60dd),this[_0x51435f(0x239)](_0x4e6780),this[_0x51435f(0x387)](_0x4e6780),this[_0x51435f(0x31c)]();}}_0x1c6aa2[_0x212abf(0x4e6)]=class extends _0x30d248{constructor(_0x2a972c,_0x43b0be,_0x2db326,_0x1c2e4c,_0x2fd516,_0x4ce629,_0x12fcba,_0x38624b,_0x31fd9e,_0x3898c4){var _0xfad6b3=_0x212abf;super(_0x2a972c,_0x43b0be,null,[],_0x2db326,_0x12fcba,_0x4ce629,_0x1c2e4c,_0x3898c4),_0x110376(this,_0xfad6b3(0x4f1),'synced'),(this[_0xfad6b3(0x2e5)]=_0x2fd516,this[_0xfad6b3(0x24b)]=_0x38624b,this[_0xfad6b3(0x500)]=_0x31fd9e,this[_0xfad6b3(0x414)]=_0x3898c4);}[_0x212abf(0x2f0)](_0x2f6a7a){var _0x3cbe5f=_0x212abf;const _0x4696a7=this[_0x3cbe5f(0x2e5)][_0x3cbe5f(0x28e)](_0x1c6aa2[_0x3cbe5f(0x16d)],this['unitID'],this[_0x3cbe5f(0x306)],[_0x2f6a7a],this['_handler']);return _0x4696a7[_0x3cbe5f(0x3b7)](),_0x4696a7[_0x3cbe5f(0x398)](),_0x4696a7;}[_0x212abf(0x223)](_0x428da2){var _0x2f5ba3=_0x212abf;if(this[_0x2f5ba3(0x314)](_0x428da2))return this[_0x2f5ba3(0x2e5)][_0x2f5ba3(0x28e)](_0x1c6aa2[_0x2f5ba3(0x435)],this['unitID'],this[_0x2f5ba3(0x306)],null,[],null,[_0x428da2],this['_handler']);try{const _0x3e9641=this[_0x2f5ba3(0x500)][_0x2f5ba3(0x2a2)](_0x428da2,[_0x425665[_0x2f5ba3(0x3f5)]]);if(_0x425665[_0x2f5ba3(0x4f0)](_0x3e9641)){const {c1Prime:_0x205cd1}=_0x3e9641;return this[_0x2f5ba3(0x21f)](_0x205cd1),this;}throw _0x3e9641[_0x2f5ba3(0x4c9)];}catch(_0xaa1617){return this[_0x2f5ba3(0x24b)][_0x2f5ba3(0x4c9)](_0xaa1617),this[_0x2f5ba3(0x4b6)](!0x1);}}['_onConflict'](_0x6a99cb){var _0x5d3537=_0x212abf;return this[_0x5d3537(0x2e5)][_0x5d3537(0x28e)](_0x1c6aa2[_0x5d3537(0x361)],this[_0x5d3537(0x254)],this[_0x5d3537(0x306)],null,[],this['_handler'],_0x6a99cb);}[_0x212abf(0x1bb)](){var _0x2a096a=_0x212abf;throw new Error(_0x2a096a(0x503));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x212abf(0x488)](){return this;}[_0x212abf(0x217)](){var _0x53e89b=_0x212abf;return this[_0x53e89b(0x2e5)][_0x53e89b(0x28e)](_0x1c6aa2[_0x53e89b(0x1ad)],this[_0x53e89b(0x254)],this[_0x53e89b(0x306)],null,[],this[_0x53e89b(0x4b4)]);}[_0x212abf(0x226)](){return this;}['resend'](){var _0x3341d4=_0x212abf;throw new Error(_0x3341d4(0x3ac));}[_0x212abf(0x2b7)](){var _0x4c2700=_0x212abf;const _0x623300=this['_revisionService'][_0x4c2700(0x2ab)](this[_0x4c2700(0x254)]);return this[_0x4c2700(0x4b4)]['onMissingChangesets']({'from':_0x623300,'to':0x0}),this[_0x4c2700(0x2e5)][_0x4c2700(0x28e)](_0x1c6aa2['FetchingMissState'],this[_0x4c2700(0x254)],this[_0x4c2700(0x306)],null,[],null,[],this[_0x4c2700(0x4b4)]);}},_0x1c6aa2['SyncedState']=_0xbdfa67([_0x345f54(0x3,_0x2695a7[_0x212abf(0x4c1)](_0x425665['RevisionService'])),_0x345f54(0x4,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x345f54(0x5,_0x2695a7[_0x212abf(0x450)]),_0x345f54(0x6,_0x2695a7[_0x212abf(0x2f2)]),_0x345f54(0x7,_0x2695a7[_0x212abf(0x1e4)]),_0x345f54(0x8,_0x425665[_0x212abf(0x328)]),_0x345f54(0x9,_0x2695a7[_0x212abf(0x1d8)](_0x387771))],_0x1c6aa2['SyncedState']),_0x1c6aa2[_0x212abf(0x16d)]=class extends _0x30d248{constructor(_0x3bdb24,_0x17775c,_0x5113cb,_0x34aad7,_0x1a1358,_0x54b236,_0x419e81,_0x13fb21,_0x4a2f4b,_0x11c00c,_0x294dd2,_0xc51876,_0x1021e1,_0x1225b1){var _0x24664c=_0x212abf;super(_0x3bdb24,_0x17775c,null,_0x5113cb,_0x34aad7,_0x4a2f4b,_0x1021e1,_0x54b236,_0x1225b1),_0x110376(this,'status',_0x24664c(0x1e1)),_0x110376(this,_0x24664c(0x175),null),_0x110376(this,_0x24664c(0x484),null),(this['_injector']=_0x1a1358,this[_0x24664c(0x3f8)]=_0x419e81,this[_0x24664c(0x24b)]=_0x13fb21,this[_0x24664c(0x172)]=_0x11c00c,this[_0x24664c(0x500)]=_0x294dd2,this[_0x24664c(0x490)]=_0xc51876);}[_0x212abf(0x2f0)](_0x5e578b){var _0xe317c6=_0x212abf;return this['_pendingMutations'][_0xe317c6(0x4d2)](_0x5e578b),this[_0xe317c6(0x398)](),this;}[_0x212abf(0x223)](_0x5becc5){var _0x1108c5=_0x212abf;if(this['_checkMissing'](_0x5becc5))return this[_0x1108c5(0x273)](),this[_0x1108c5(0x2e5)][_0x1108c5(0x28e)](_0x1c6aa2[_0x1108c5(0x435)],this[_0x1108c5(0x254)],this[_0x1108c5(0x306)],null,this['_pendingMutations'],null,[_0x5becc5],this[_0x1108c5(0x4b4)]);try{const _0x4debc3=this[_0x1108c5(0x500)][_0x1108c5(0x2a2)](_0x5becc5,this[_0x1108c5(0x4f9)]);if(_0x425665[_0x1108c5(0x4f0)](_0x4debc3)){const {c1Prime:_0x1313ff,m2Prime:_0x6037d9}=_0x4debc3;this['_executeRemoteChangeset'](_0x1313ff);const _0x506beb=this[_0x1108c5(0x2e5)][_0x1108c5(0x28e)](_0x1c6aa2[_0x1108c5(0x16d)],this['unitID'],this[_0x1108c5(0x306)],_0x6037d9,this[_0x1108c5(0x4b4)]);this['_clearScheduledTask']();const _0x5bd806=new Date()[_0x1108c5(0x47c)](),_0xf5d156=this[_0x1108c5(0x175)]?Math[_0x1108c5(0x4ba)](this[_0x1108c5(0x175)]-_0x5bd806,0x0):this[_0x1108c5(0x24c)]();return _0x506beb[_0x1108c5(0x3b7)](_0xf5d156),_0x506beb;}throw _0x4debc3[_0x1108c5(0x4c9)];}catch(_0x12c6aa){return this['_logService'][_0x1108c5(0x4c9)](_0x12c6aa),this[_0x1108c5(0x4b6)](!0x1);}}[_0x212abf(0x1bb)](){var _0x1c545a=_0x212abf;throw new Error(_0x1c545a(0x4c3));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x212abf(0x488)](){return this;}[_0x212abf(0x217)](){var _0x1a55ee=_0x212abf;return this[_0x1a55ee(0x273)](),this[_0x1a55ee(0x2e5)][_0x1a55ee(0x28e)](_0x1c6aa2['OfflineState'],this['unitID'],this[_0x1a55ee(0x306)],null,this[_0x1a55ee(0x4f9)],this[_0x1a55ee(0x4b4)]);}[_0x212abf(0x226)](){return this;}[_0x212abf(0x3b7)](_0x5266d8){var _0x1b1d66=_0x212abf;const _0x1ca3fe=_0x5266d8!=null?_0x5266d8:this[_0x1b1d66(0x24c)]();this[_0x1b1d66(0x175)]=new Date()[_0x1b1d66(0x47c)]()+_0x1ca3fe,this['_sendingTimer']=setTimeout(()=>{var _0x1e1876=_0x1b1d66;this[_0x1e1876(0x273)]();let _0x2b7cfb=null;switch(this[_0x1e1876(0x306)]){case _0x10d356['UNIVER_SHEET']:{_0x2b7cfb=_0x59e56c(this[_0x1e1876(0x4f9)],this[_0x1e1876(0x254)],this[_0x1e1876(0x490)],this[_0x1e1876(0x432)],this['_memberService']);break;}case _0x10d356['UNIVER_DOC']:{this[_0x1e1876(0x4f9)]['every'](_0x1314e5=>_0x1314e5['id']===_0xd9299c[_0x1e1876(0x212)]['id'])?_0x2b7cfb=_0x5cf29b(this['_pendingMutations'],this[_0x1e1876(0x254)],this['_univerInstanceService'],this['_revisionService'],this[_0x1e1876(0x3f8)]):_0x2b7cfb=_0x59e56c(this[_0x1e1876(0x4f9)],this['unitID'],this[_0x1e1876(0x490)],this[_0x1e1876(0x432)],this[_0x1e1876(0x3f8)]);break;}default:throw new Error(_0x1e1876(0x45b)+this[_0x1e1876(0x306)]+_0x1e1876(0x47d));}const {changeset:_0x3fcd76,pendingMutations:_0x4a16e6}=_0x2b7cfb;this['_handler'][_0x1e1876(0x400)](_0x3fcd76);const _0x2b63a0=_0x4a16e6[_0x1e1876(0x2e2)]?this[_0x1e1876(0x2e5)]['createInstance'](_0x1c6aa2['AwaitingWithPendingState'],this[_0x1e1876(0x254)],this[_0x1e1876(0x306)],_0x3fcd76,_0x4a16e6,this['_handler'],void 0x0):this[_0x1e1876(0x2e5)][_0x1e1876(0x28e)](_0x1c6aa2[_0x1e1876(0x409)],this[_0x1e1876(0x254)],this[_0x1e1876(0x306)],_0x3fcd76,this[_0x1e1876(0x4b4)]);_0x2b63a0[_0x1e1876(0x398)](),this['_handler']['onStateChange'](this,_0x2b63a0);},_0x1ca3fe);}[_0x212abf(0x24c)](){var _0x13521a=_0x212abf,_0x4b0d2b;const _0x1ebdfc=this[_0x13521a(0x172)][_0x13521a(0x3ea)](_0x391e6e);return(_0x4b0d2b=_0x1ebdfc==null?void 0x0:_0x1ebdfc[_0x13521a(0x511)])!=null?_0x4b0d2b:0x7d0;}[_0x212abf(0x3fb)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x111a41=_0x212abf;this[_0x111a41(0x484)]!=null&&(clearTimeout(this[_0x111a41(0x484)]),this[_0x111a41(0x484)]=null);}[_0x212abf(0x4b6)](_0x5aa756){var _0x10da03=_0x212abf;return this[_0x10da03(0x273)](),this[_0x10da03(0x2e5)][_0x10da03(0x28e)](_0x1c6aa2[_0x10da03(0x361)],this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x10da03(0x4b4)],_0x5aa756);}},_0x1c6aa2[_0x212abf(0x16d)]=_0xbdfa67([_0x345f54(0x4,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x345f54(0x5,_0x2695a7[_0x212abf(0x4c1)](_0x425665[_0x212abf(0x3a9)])),_0x345f54(0x6,_0x2695a7[_0x212abf(0x4c1)](_0x1c6aa2[_0x212abf(0x2b0)])),_0x345f54(0x7,_0x2695a7['ILogService']),_0x345f54(0x8,_0x2695a7[_0x212abf(0x2f2)]),_0x345f54(0x9,_0x2695a7[_0x212abf(0x333)]),_0x345f54(0xa,_0x425665['ITransformService']),_0x345f54(0xb,_0x2695a7[_0x212abf(0x4ed)]),_0x345f54(0xc,_0x2695a7[_0x212abf(0x450)]),_0x345f54(0xd,_0x2695a7[_0x212abf(0x1d8)](_0x387771))],_0x1c6aa2[_0x212abf(0x16d)]),_0x1c6aa2[_0x212abf(0x409)]=class extends _0x30d248{constructor(_0x5caaa5,_0x2e487e,_0x46abba,_0x12cd9b,_0x58d455,_0x2ab0c6,_0x165b83,_0x2fe63d,_0x562a72,_0x5bb0d1,_0x3285eb){var _0x16558a=_0x212abf;super(_0x5caaa5,_0x2e487e,_0x46abba,[],_0x12cd9b,_0x165b83,_0x5bb0d1,_0x2ab0c6,_0x3285eb),_0x110376(this,_0x16558a(0x4f1),'awaiting'),_0x110376(this,_0x16558a(0x169),0x0),_0x110376(this,_0x16558a(0x462),0x0),_0x110376(this,_0x16558a(0x472)),_0x110376(this,'_sender'),(this[_0x16558a(0x2e5)]=_0x58d455,this[_0x16558a(0x24b)]=_0x2fe63d,this[_0x16558a(0x500)]=_0x562a72);}['appendMutation'](_0x4804bb){var _0x377121=_0x212abf;this[_0x377121(0x273)]();const _0x24efdc=this['_injector'][_0x377121(0x28e)](_0x1c6aa2[_0x377121(0x4e8)],this['unitID'],this[_0x377121(0x306)],this['_awaitingChangeset'],[_0x4804bb],this[_0x377121(0x4b4)],this[_0x377121(0x472)]);return _0x24efdc['_updateLocalCache'](),_0x24efdc;}['onRemoteChangeset'](_0x46cf24){var _0x56b5f8=_0x212abf;if(this[_0x56b5f8(0x314)](_0x46cf24))return this[_0x56b5f8(0x273)](),this['_injector'][_0x56b5f8(0x28e)](_0x1c6aa2['FetchingMissState'],this['unitID'],this['type'],this['_awaitingChangeset'],[],null,[_0x46cf24],this[_0x56b5f8(0x4b4)]);try{const _0x5299d4=this[_0x56b5f8(0x500)][_0x56b5f8(0x21b)]([_0x46cf24],[this[_0x56b5f8(0x383)]],!0x1);if(_0x425665[_0x56b5f8(0x3e4)](_0x5299d4)){const {c1Prime:_0x9f55a7,c2Prime:_0x1d396e}=_0x5299d4;this['_executeRemoteChangeset'](_0x9f55a7[0x0]),_0x1d396e[0x0][_0x56b5f8(0x44c)]=this[_0x56b5f8(0x1e0)](),this[_0x56b5f8(0x273)]();const _0x5aae59=this['_injector']['createInstance'](_0x1c6aa2[_0x56b5f8(0x409)],this['unitID'],this['type'],_0x1d396e[0x0],this[_0x56b5f8(0x4b4)]);return _0x5aae59[_0x56b5f8(0x398)](),_0x5aae59;}return this[_0x56b5f8(0x4b6)](!0x1);}catch(_0x1f9f11){return this[_0x56b5f8(0x24b)]['error'](_0x1f9f11),this[_0x56b5f8(0x4b6)](!0x1);}}[_0x212abf(0x1bb)](_0x5c9e61){var _0x1646db=_0x212abf;this[_0x1646db(0x273)]();const _0x25a9d2=this['_revisionService']['getCurrentRevOfUnit'](this[_0x1646db(0x254)]);if(_0x5c9e61['revision']<_0x25a9d2-0x1)return this;if(this[_0x1646db(0x314)](_0x5c9e61))return this[_0x1646db(0x2e5)]['createInstance'](_0x1c6aa2['FetchingMissState'],this[_0x1646db(0x254)],this[_0x1646db(0x306)],null,[],this[_0x1646db(0x383)],[],this[_0x1646db(0x4b4)]);this['_incrementRevisionNumber']();const _0x5b44f7=this[_0x1646db(0x2e5)][_0x1646db(0x28e)](_0x1c6aa2['SyncedState'],this['unitID'],this['type'],this[_0x1646db(0x4b4)]);return _0x5b44f7[_0x1646db(0x398)](),_0x5b44f7;}[_0x212abf(0x475)](_0x378ff0){var _0x1c29d2=_0x212abf;return this[_0x1c29d2(0x4b6)](!!(_0x378ff0!=null&&_0x378ff0[_0x1c29d2(0x174)]));}[_0x212abf(0x488)](_0xe9d3fe){var _0x5acfcf=_0x212abf;return this[_0x5acfcf(0x462)]>_0x1b62f6?this[_0x5acfcf(0x217)]():(this[_0x5acfcf(0x472)]=_0x3c4b23(this[_0x5acfcf(0x169)],{'timeout':this[_0x5acfcf(0x169)],'reqId':_0xe9d3fe['reqId']}),this[_0x5acfcf(0x38d)]=this[_0x5acfcf(0x472)][_0x5acfcf(0x23e)](({reqId:_0x524961,timeout:_0x1c7b46})=>{var _0x5121d3=_0x5acfcf;this[_0x5121d3(0x496)](_0x524961,_0x1c7b46);}),this);}[_0x212abf(0x217)](){var _0x5f1913=_0x212abf;return this['_clearScheduledTask'](),this['_injector'][_0x5f1913(0x28e)](_0x1c6aa2[_0x5f1913(0x1ad)],this[_0x5f1913(0x254)],this[_0x5f1913(0x306)],this['_awaitingChangeset'],[],this[_0x5f1913(0x4b4)]);}[_0x212abf(0x226)](){return this;}[_0x212abf(0x3fb)](){var _0x1e0cff=_0x212abf;this['_handler'][_0x1e0cff(0x400)](this['_awaitingChangeset']);}[_0x212abf(0x4b6)](_0x58e960){var _0x311c2a=_0x212abf;return this[_0x311c2a(0x273)](),this[_0x311c2a(0x2e5)][_0x311c2a(0x28e)](_0x1c6aa2['ConflictState'],this[_0x311c2a(0x254)],this[_0x311c2a(0x306)],this['_awaitingChangeset'],[],this['_handler'],_0x58e960);}['_resendWithTimeout'](_0x359fd1,_0x273958){var _0x4b6b3c=_0x212abf,_0x38000f;_0x359fd1===((_0x38000f=this[_0x4b6b3c(0x383)])==null?void 0x0:_0x38000f[_0x4b6b3c(0x43d)])&&(this[_0x4b6b3c(0x3fb)](),this[_0x4b6b3c(0x169)]=_0x273958===0x0?0x3e8:Math[_0x4b6b3c(0x4cc)](_0x273958*0x2,_0x21ef4f),this['_maxTotalRetryTimeout']+=this[_0x4b6b3c(0x169)]);}[_0x212abf(0x273)](){var _0x122852=_0x212abf,_0xddf0c4;(_0xddf0c4=this[_0x122852(0x38d)])==null||_0xddf0c4[_0x122852(0x419)](),this[_0x122852(0x169)]=0x0,this[_0x122852(0x462)]=0x0;}},_0x1c6aa2[_0x212abf(0x409)]=_0xbdfa67([_0x345f54(0x4,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x345f54(0x5,_0x2695a7[_0x212abf(0x4c1)](_0x425665['RevisionService'])),_0x345f54(0x6,_0x2695a7[_0x212abf(0x2f2)]),_0x345f54(0x7,_0x2695a7[_0x212abf(0x1e4)]),_0x345f54(0x8,_0x425665[_0x212abf(0x328)]),_0x345f54(0x9,_0x2695a7['IUndoRedoService']),_0x345f54(0xa,_0x2695a7['Optional'](_0x387771))],_0x1c6aa2[_0x212abf(0x409)]),_0x1c6aa2[_0x212abf(0x4e8)]=class extends _0x30d248{constructor(_0x3c5554,_0x83c2be,_0x41e6e7,_0x1ff3b6,_0x3de05c,_0x57ad18,_0x345f7f,_0x5b9cea,_0x4964e5,_0x16ba0a,_0x7be25f,_0x3cf595,_0xdab3c5){var _0x39cf34=_0x212abf;super(_0x3c5554,_0x83c2be,_0x41e6e7,_0x1ff3b6,_0x3de05c,_0x4964e5,_0x3cf595,_0x5b9cea,_0xdab3c5),_0x110376(this,_0x39cf34(0x4f1),_0x39cf34(0x1d2)),_0x110376(this,_0x39cf34(0x169),0x0),_0x110376(this,_0x39cf34(0x462),0x0),_0x110376(this,_0x39cf34(0x472)),_0x110376(this,_0x39cf34(0x38d)),(this[_0x39cf34(0x2e5)]=_0x345f7f,this[_0x39cf34(0x24b)]=_0x16ba0a,this[_0x39cf34(0x500)]=_0x7be25f,this[_0x39cf34(0x414)]=_0xdab3c5,_0x57ad18&&(this[_0x39cf34(0x472)]=_0x57ad18,this['_sender']=this['_resendTimer'][_0x39cf34(0x23e)](({reqId:_0x1fedf1,timeout:_0xf4b25e})=>{var _0x9d026b=_0x39cf34;this[_0x9d026b(0x496)](_0x1fedf1,_0xf4b25e);})));}[_0x212abf(0x2f0)](_0x26733f){var _0x2f2676=_0x212abf;return this[_0x2f2676(0x4f9)]['push'](_0x26733f),this;}[_0x212abf(0x223)](_0x51a77e){var _0x53028e=_0x212abf;if(this['_checkMissing'](_0x51a77e))return this['_clearScheduledTask'](),this[_0x53028e(0x2e5)][_0x53028e(0x28e)](_0x1c6aa2[_0x53028e(0x435)],this[_0x53028e(0x254)],this[_0x53028e(0x306)],this[_0x53028e(0x383)],this[_0x53028e(0x4f9)],null,[_0x51a77e],this[_0x53028e(0x4b4)]);try{const _0x231713=this[_0x53028e(0x500)][_0x53028e(0x21b)]([_0x51a77e],[this[_0x53028e(0x383)]],!0x1);if(_0x425665['isTransformChangesetsSuccess'](_0x231713)){const {c1Prime:_0x2c015a,c2Prime:_0x5cf501}=_0x231713,_0x59f770=this[_0x53028e(0x500)][_0x53028e(0x2a2)](_0x2c015a[0x0],this[_0x53028e(0x4f9)]);if(_0x425665[_0x53028e(0x4f0)](_0x59f770)){const {c1Prime:_0x3f94e0,m2Prime:_0x236bf1}=_0x59f770;return this[_0x53028e(0x21f)](_0x3f94e0),_0x5cf501[0x0][_0x53028e(0x44c)]=this[_0x53028e(0x1e0)](),this[_0x53028e(0x273)](),this[_0x53028e(0x2e5)][_0x53028e(0x28e)](_0x1c6aa2['AwaitingWithPendingState'],this[_0x53028e(0x254)],this['type'],_0x5cf501[0x0],_0x236bf1,this[_0x53028e(0x4b4)],void 0x0);}throw _0x59f770['error'];}throw _0x231713['error'];}catch(_0x2b216b){return this[_0x53028e(0x24b)]['error'](_0x2b216b),this[_0x53028e(0x4b6)](!0x1);}}[_0x212abf(0x1bb)](_0x5adf74){var _0xfe3b6f=_0x212abf;if(this[_0xfe3b6f(0x273)](),this['_checkMissing'](_0x5adf74))return this['_injector'][_0xfe3b6f(0x28e)](_0x1c6aa2[_0xfe3b6f(0x435)],this['unitID'],this[_0xfe3b6f(0x306)],null,this['_pendingMutations'],this[_0xfe3b6f(0x383)],[],this['_handler']);this[_0xfe3b6f(0x31c)]();const _0xe3a1ab=this[_0xfe3b6f(0x2e5)][_0xfe3b6f(0x28e)](_0x1c6aa2[_0xfe3b6f(0x16d)],this[_0xfe3b6f(0x254)],this['type'],this[_0xfe3b6f(0x4f9)],this['_handler']);return _0xe3a1ab['_schedule'](),_0xe3a1ab[_0xfe3b6f(0x398)](),_0xe3a1ab;}[_0x212abf(0x475)](_0x16f1e7){var _0x3ddf0d=_0x212abf;return this['_onConflict'](!!(_0x16f1e7!=null&&_0x16f1e7[_0x3ddf0d(0x174)]));}[_0x212abf(0x488)](_0x1bd805){var _0x1ef320=_0x212abf;return this[_0x1ef320(0x462)]>_0x1b62f6?this['toggleOffline']():(this[_0x1ef320(0x472)]=_0x3c4b23(this[_0x1ef320(0x169)],{'timeout':this['_resendTimeout'],'reqId':_0x1bd805[_0x1ef320(0x43d)]}),this[_0x1ef320(0x38d)]=this[_0x1ef320(0x472)][_0x1ef320(0x23e)](({reqId:_0x5b39c2,timeout:_0x4c0164})=>{var _0x172e26=_0x1ef320;this[_0x172e26(0x496)](_0x5b39c2,_0x4c0164);}),this);}[_0x212abf(0x217)](){var _0xfd0de3=_0x212abf;return this['_clearScheduledTask'](),this[_0xfd0de3(0x2e5)][_0xfd0de3(0x28e)](_0x1c6aa2['OfflineState'],this[_0xfd0de3(0x254)],this[_0xfd0de3(0x306)],this[_0xfd0de3(0x383)],this[_0xfd0de3(0x4f9)],this[_0xfd0de3(0x4b4)]);}[_0x212abf(0x226)](){return this;}[_0x212abf(0x3fb)](){var _0x693ca5=_0x212abf;this[_0x693ca5(0x4b4)][_0x693ca5(0x400)](this[_0x693ca5(0x383)]);}[_0x212abf(0x4b6)](_0x1e9bfd){var _0x1d093f=_0x212abf;return this[_0x1d093f(0x273)](),this[_0x1d093f(0x2e5)][_0x1d093f(0x28e)](_0x1c6aa2[_0x1d093f(0x361)],this[_0x1d093f(0x254)],this[_0x1d093f(0x306)],null,this['_pendingMutations'],this['_handler'],_0x1e9bfd);}[_0x212abf(0x496)](_0x391d12,_0x36a38c){var _0x157a41=_0x212abf,_0x4714ad;_0x391d12===((_0x4714ad=this[_0x157a41(0x383)])==null?void 0x0:_0x4714ad[_0x157a41(0x43d)])&&(this[_0x157a41(0x3fb)](),this[_0x157a41(0x169)]=_0x36a38c===0x0?0x3e8:Math[_0x157a41(0x4cc)](_0x36a38c*0x2,_0x21ef4f),this[_0x157a41(0x462)]+=this[_0x157a41(0x169)]);}[_0x212abf(0x273)](){var _0x85a0c8=_0x212abf,_0x1f25cc;(_0x1f25cc=this[_0x85a0c8(0x38d)])==null||_0x1f25cc[_0x85a0c8(0x419)](),this[_0x85a0c8(0x169)]=0x0,this[_0x85a0c8(0x462)]=0x0;}},_0x1c6aa2[_0x212abf(0x4e8)]=_0xbdfa67([_0x345f54(0x6,_0x2695a7['Inject'](_0x2695a7[_0x212abf(0x415)])),_0x345f54(0x7,_0x2695a7['Inject'](_0x425665[_0x212abf(0x3a9)])),_0x345f54(0x8,_0x2695a7[_0x212abf(0x2f2)]),_0x345f54(0x9,_0x2695a7[_0x212abf(0x1e4)]),_0x345f54(0xa,_0x425665['ITransformService']),_0x345f54(0xb,_0x2695a7[_0x212abf(0x450)]),_0x345f54(0xc,_0x2695a7['Optional'](_0x387771))],_0x1c6aa2[_0x212abf(0x4e8)]),_0x1c6aa2[_0x212abf(0x361)]=class extends _0x30d248{constructor(_0x52cedd,_0x358dca,_0x245fd1,_0x143180,_0x1c8bac,_0x4e5d28=!0x1,_0x45bd37,_0x277a80,_0x15b2a5,_0x7a5882,_0xd01854,_0x2c9e94,_0x4b318a){var _0x4bc26f=_0x212abf;super(_0x52cedd,_0x358dca,_0x245fd1,_0x143180,_0x1c8bac,_0x277a80,_0x15b2a5,_0x7a5882,_0x4b318a),_0x110376(this,_0x4bc26f(0x4f1),_0x4bc26f(0x35e)),(this[_0x4bc26f(0x4ac)]=_0x4e5d28,this[_0x4bc26f(0x47a)]=_0x45bd37,this[_0x4bc26f(0x3b5)]=_0xd01854,this[_0x4bc26f(0x32f)]=_0x2c9e94,this['localCacheService']=_0x4b318a,this['_showConflictNotification'](),this[_0x4bc26f(0x1d5)](),this[_0x4bc26f(0x27f)]());}[_0x212abf(0x2f0)](){return this;}[_0x212abf(0x223)](){return this;}[_0x212abf(0x1bb)](){return this;}[_0x212abf(0x475)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x212abf(0x226)](){return this;}[_0x212abf(0x3fb)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x52a2dc=_0x212abf,_0x216646;(_0x216646=this[_0x52a2dc(0x1ce)])==null||_0x216646['updateOfflineData'](this[_0x52a2dc(0x254)],this['type'],null,[]);}[_0x212abf(0x182)](){var _0x3f7238=_0x212abf;this[_0x3f7238(0x4ac)]?this['_collaborationUIEventService']['emitEvent']({'id':_0x5ab775['PERMISSION_DENIED']}):this[_0x3f7238(0x32f)][_0x3f7238(0x3ab)]({'id':_0x5ab775[_0x3f7238(0x39c)]});}[_0x212abf(0x27f)](){var _0x47e984=_0x212abf;this[_0x47e984(0x47a)][_0x47e984(0x3c1)](new _0x57749b[(_0x47e984(0x26b))](this[_0x47e984(0x254)])['id'],!0x1);}},_0x1c6aa2[_0x212abf(0x361)]=_0xbdfa67([_0x345f54(0x6,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7['IPermissionService'])),_0x345f54(0x7,_0x2695a7['ICommandService']),_0x345f54(0x8,_0x2695a7[_0x212abf(0x450)]),_0x345f54(0x9,_0x2695a7[_0x212abf(0x4c1)](_0x425665[_0x212abf(0x3a9)])),_0x345f54(0xa,_0x2695a7['Inject'](_0x2695a7[_0x212abf(0x49d)])),_0x345f54(0xb,_0x2695a7[_0x212abf(0x4c1)](_0xfe53d)),_0x345f54(0xc,_0x2695a7[_0x212abf(0x1d8)](_0x387771))],_0x1c6aa2['ConflictState']),_0x1c6aa2[_0x212abf(0x1ad)]=class extends _0x30d248{constructor(_0x15c525,_0x17507c,_0x3dee45,_0x4be918,_0x485ec9,_0x5c63b0,_0x4fbeaa,_0x305918,_0x448995,_0x5e244b){var _0x1b6bb4=_0x212abf;super(_0x15c525,_0x17507c,_0x3dee45,_0x4be918,_0x485ec9,_0x305918,_0x448995,_0x4fbeaa,_0x5e244b),_0x110376(this,_0x1b6bb4(0x4f1),'offline'),this[_0x1b6bb4(0x2e5)]=_0x5c63b0;}[_0x212abf(0x2f0)](_0x34c771){var _0xeb7473=_0x212abf;return this[_0xeb7473(0x4f9)][_0xeb7473(0x4d2)](_0x34c771),this[_0xeb7473(0x398)](),this;}[_0x212abf(0x223)](_0x33eaf2){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x212abf(0x1bb)](){var _0x91221d=_0x212abf;throw new Error(_0x91221d(0x48f));}[_0x212abf(0x475)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x212abf(0x488)](){return this;}[_0x212abf(0x217)](){return this;}[_0x212abf(0x226)](){var _0x574cde=_0x212abf;const {_injector:_0x29d69d,_pendingMutations:_0xd4a652,_awaitingChangeset:_0x38ac33,unitID:_0x10abae,_handler:_0x3cbf30,type:_0x1066b0}=this,_0x1dbcdc=_0x4a32e5(_0x29d69d,_0x10abae,_0x1066b0,_0x38ac33,_0xd4a652,_0x3cbf30);return _0x1dbcdc instanceof _0x1c6aa2['PendingState']?_0x1dbcdc[_0x574cde(0x3b7)]():(_0x1dbcdc instanceof _0x1c6aa2[_0x574cde(0x4e8)]||_0x1dbcdc instanceof _0x1c6aa2[_0x574cde(0x409)])&&_0x1dbcdc['resend'](),_0x1dbcdc;}[_0x212abf(0x3fb)](){var _0x560dc2=_0x212abf;throw new Error(_0x560dc2(0x478));}},_0x1c6aa2[_0x212abf(0x1ad)]=_0xbdfa67([_0x345f54(0x5,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x345f54(0x6,_0x2695a7['Inject'](_0x425665[_0x212abf(0x3a9)])),_0x345f54(0x7,_0x2695a7['ICommandService']),_0x345f54(0x8,_0x2695a7[_0x212abf(0x450)]),_0x345f54(0x9,_0x2695a7[_0x212abf(0x1d8)](_0x387771))],_0x1c6aa2['OfflineState']),_0x1c6aa2[_0x212abf(0x435)]=class extends _0x30d248{constructor(_0x128fd0,_0x46dad3,_0x3083c7,_0x54a610,_0x3da85c,_0x3ed8c5,_0x186c13,_0x40d035,_0x2a397f,_0x54fbdb,_0x15d228,_0x339a8e,_0x179c26,_0x46a55e){var _0x3fd8b0=_0x212abf;super(_0x128fd0,_0x46dad3,_0x3083c7,_0x54a610,_0x186c13,_0x15d228,_0x339a8e,_0x2a397f,_0x46a55e),_0x110376(this,_0x3fd8b0(0x4f1),_0x3fd8b0(0x1df)),(this[_0x3fd8b0(0x2eb)]=_0x3da85c,this['_queuedRemoteChangesets']=_0x3ed8c5,this[_0x3fd8b0(0x2e5)]=_0x40d035,this['_logService']=_0x54fbdb,this[_0x3fd8b0(0x500)]=_0x179c26,this['localCacheService']=_0x46a55e);}['onMissedChangesetFetched'](_0x195d01){var _0x2c747f=_0x212abf;try{const _0x360786=[..._0x195d01,...this['_queuedRemoteChangesets']],_0x7b6c67=[this[_0x2c747f(0x383)]||this[_0x2c747f(0x2eb)]][_0x2c747f(0x305)](_0x384482=>!!_0x384482);let _0x2f2ff7,_0x2e4e35;if(_0x7b6c67['length']){const _0x4d5b9b=this[_0x2c747f(0x500)][_0x2c747f(0x21b)](_0x360786,_0x7b6c67,!0x1);if(!_0x425665[_0x2c747f(0x3e4)](_0x4d5b9b))throw _0x4d5b9b[_0x2c747f(0x4c9)];_0x2f2ff7=_0x4d5b9b[_0x2c747f(0x228)],_0x2e4e35=_0x4d5b9b[_0x2c747f(0x3b4)];}else _0x2f2ff7=_0x360786,_0x2e4e35=[];let _0x3f4348=this[_0x2c747f(0x4f9)];_0x2f2ff7[_0x2c747f(0x20a)](_0xdf9c3=>{var _0x4d0184=_0x2c747f;let _0x798ce0;if(_0x3f4348[_0x4d0184(0x2e2)]){const _0x38c991=this['_transformService'][_0x4d0184(0x2a2)](_0xdf9c3,_0x3f4348);if(!_0x425665[_0x4d0184(0x4f0)](_0x38c991))throw _0x38c991[_0x4d0184(0x4c9)];_0x798ce0=_0x38c991[_0x4d0184(0x228)],_0x3f4348=_0x38c991[_0x4d0184(0x1fe)];}else _0x798ce0=_0xdf9c3;this[_0x4d0184(0x21f)](_0x798ce0);}),this[_0x2c747f(0x2eb)]&&this[_0x2c747f(0x31c)](),this[_0x2c747f(0x383)]&&_0x2e4e35['length']&&(_0x2e4e35[0x0][_0x2c747f(0x44c)]=this['_getCurrentRevision']());let _0x3a741d;if(this[_0x2c747f(0x383)]&&_0x3f4348[_0x2c747f(0x2e2)]!==0x0)_0x3a741d=this['_injector'][_0x2c747f(0x28e)](_0x1c6aa2[_0x2c747f(0x4e8)],this[_0x2c747f(0x254)],this['type'],_0x2e4e35[0x0],_0x3f4348,this[_0x2c747f(0x4b4)],void 0x0);else{if(this['_awaitingChangeset']&&_0x3f4348[_0x2c747f(0x2e2)]===0x0)_0x2e4e35[0x0][_0x2c747f(0x44c)]=this[_0x2c747f(0x1e0)](),_0x3a741d=this[_0x2c747f(0x2e5)][_0x2c747f(0x28e)](_0x1c6aa2[_0x2c747f(0x409)],this['unitID'],this['type'],_0x2e4e35[0x0],this[_0x2c747f(0x4b4)]);else{if(_0x3f4348[_0x2c747f(0x2e2)]!==0x0){const _0x4d327b=this[_0x2c747f(0x2e5)]['createInstance'](_0x1c6aa2[_0x2c747f(0x16d)],this[_0x2c747f(0x254)],this[_0x2c747f(0x306)],_0x3f4348,this[_0x2c747f(0x4b4)]);_0x4d327b[_0x2c747f(0x3b7)](),_0x3a741d=_0x4d327b;}else _0x3a741d=this[_0x2c747f(0x2e5)]['createInstance'](_0x1c6aa2['SyncedState'],this['unitID'],this[_0x2c747f(0x306)],this[_0x2c747f(0x4b4)]);}}return _0x3a741d['_updateLocalCache'](),_0x3a741d;}catch(_0x58a8f8){return this['_logService'][_0x2c747f(0x4c9)](_0x2c747f(0x2cf),'failed\x20to\x20apply\x20missed\x20changesets!',_0x58a8f8),this[_0x2c747f(0x2e5)][_0x2c747f(0x28e)](_0x1c6aa2[_0x2c747f(0x361)],this[_0x2c747f(0x254)],this[_0x2c747f(0x306)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x2c747f(0x4b4)],!0x1);}}[_0x212abf(0x3fb)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x212abf(0x2f0)](_0x1a25e2){var _0x1f7110=_0x212abf;return this[_0x1f7110(0x4f9)][_0x1f7110(0x4d2)](_0x1a25e2),this;}[_0x212abf(0x223)](_0x2e026b){var _0x1c56e2=_0x212abf;return this[_0x1c56e2(0x1cb)][_0x1c56e2(0x4d2)](_0x2e026b),this;}[_0x212abf(0x1bb)](_0x119bd8){var _0x5d5d46=_0x212abf;if(this['_awaitingChangeset'])return this[_0x5d5d46(0x2eb)]=this[_0x5d5d46(0x383)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x212abf(0x475)](_0x194a3f){var _0xf75b5f=_0x212abf;return this[_0xf75b5f(0x4b6)](!!(_0x194a3f!=null&&_0x194a3f['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x212abf(0x217)](){var _0x256813=_0x212abf;return this[_0x256813(0x2e5)][_0x256813(0x28e)](_0x1c6aa2[_0x256813(0x1ad)],this[_0x256813(0x254)],this[_0x256813(0x306)],this[_0x256813(0x383)],this[_0x256813(0x4f9)],this['_handler']);}[_0x212abf(0x226)](){return this;}[_0x212abf(0x4b6)](_0x490913){var _0x2e96be=_0x212abf;return this[_0x2e96be(0x2e5)]['createInstance'](_0x1c6aa2[_0x2e96be(0x361)],this[_0x2e96be(0x254)],this[_0x2e96be(0x306)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],_0x490913);}},_0x1c6aa2[_0x212abf(0x435)]=_0xbdfa67([_0x345f54(0x7,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x345f54(0x8,_0x2695a7[_0x212abf(0x4c1)](_0x425665['RevisionService'])),_0x345f54(0x9,_0x2695a7['ILogService']),_0x345f54(0xa,_0x2695a7[_0x212abf(0x2f2)]),_0x345f54(0xb,_0x2695a7[_0x212abf(0x450)]),_0x345f54(0xc,_0x425665[_0x212abf(0x328)]),_0x345f54(0xd,_0x2695a7['Optional'](_0x387771))],_0x1c6aa2['FetchingMissState']);function _0x4a32e5(_0x36e1c1,_0x1f18a7,_0xf73cf5,_0x231557,_0x392337,_0x4942e9){var _0x56bc60=_0x212abf;return _0x231557&&_0x392337[_0x56bc60(0x2e2)]?_0x36e1c1[_0x56bc60(0x28e)](_0x1c6aa2[_0x56bc60(0x4e8)],_0x1f18a7,_0xf73cf5,_0x231557,_0x392337,_0x4942e9,void 0x0):_0x231557?_0x36e1c1[_0x56bc60(0x28e)](_0x1c6aa2[_0x56bc60(0x409)],_0x1f18a7,_0xf73cf5,_0x231557,_0x4942e9):_0x392337[_0x56bc60(0x2e2)]?_0x36e1c1[_0x56bc60(0x28e)](_0x1c6aa2[_0x56bc60(0x16d)],_0x1f18a7,_0xf73cf5,_0x392337,_0x4942e9):_0x36e1c1[_0x56bc60(0x28e)](_0x1c6aa2[_0x56bc60(0x4e6)],_0x1f18a7,_0xf73cf5,_0x4942e9);}var _0xbfe78f=Object[_0x212abf(0x1f8)],_0xccaf90=(_0x50f130,_0x3daab5,_0x1a9824,_0x3b7cba)=>{for(var _0x58ec70=_0x3b7cba>0x1?void 0x0:_0x3b7cba?_0xbfe78f(_0x3daab5,_0x1a9824):_0x3daab5,_0x38abb5=_0x50f130['length']-0x1,_0xe3c77b;_0x38abb5>=0x0;_0x38abb5--)(_0xe3c77b=_0x50f130[_0x38abb5])&&(_0x58ec70=_0xe3c77b(_0x58ec70)||_0x58ec70);return _0x58ec70;},_0x2d4b3a=(_0xaa1657,_0x5f5143)=>(_0xdad4de,_0x2f620d)=>_0x5f5143(_0xdad4de,_0x2f620d,_0xaa1657);_0x1c6aa2[_0x212abf(0x20e)]=class extends _0x2695a7['RxDisposable']{constructor(_0x2d6a16,_0x598678,_0x4f0f04,_0xca073f,_0x15482b,_0x14365b,_0x4ddd92,_0x116160,_0x24ef2c,_0x307ea7,_0x59868e,_0x2bafe1,_0x47d846,_0x3097f6){var _0x3131c4=_0x212abf;super(),_0x110376(this,_0x3131c4(0x1a7),new _0x3b3710[(_0x3131c4(0x2ed))](null)),_0x110376(this,_0x3131c4(0x218),this[_0x3131c4(0x1a7)][_0x3131c4(0x3a2)]()),_0x110376(this,_0x3131c4(0x2ee)),_0x110376(this,_0x3131c4(0x2b4),!0x1),_0x110376(this,_0x3131c4(0x288),''),_0x110376(this,'_changesetReqId',0x0),_0x110376(this,_0x3131c4(0x4bb),this['state$']['pipe'](_0x3b3710['map'](_0x381032=>_0x381032?_0x381032[_0x3131c4(0x4f1)]:_0x3422b2['OFFLINE']),_0x3b3710[_0x3131c4(0x28f)](0x1))),_0x110376(this,_0x3131c4(0x20f),!0x1),_0x110376(this,_0x3131c4(0x225),[]),(this['unitID']=_0x2d6a16,this[_0x3131c4(0x17d)]=_0x598678,this[_0x3131c4(0x371)]=_0x4f0f04,this[_0x3131c4(0x2e5)]=_0xca073f,this[_0x3131c4(0x2f1)]=_0x15482b,this[_0x3131c4(0x3b5)]=_0x14365b,this['_revisionService']=_0x4ddd92,this[_0x3131c4(0x339)]=_0x116160,this[_0x3131c4(0x490)]=_0x24ef2c,this[_0x3131c4(0x24b)]=_0x307ea7,this[_0x3131c4(0x300)]=_0x59868e,this['_permissionService']=_0x2bafe1,this[_0x3131c4(0x2da)]=_0x47d846,this[_0x3131c4(0x1ce)]=_0x3097f6);}get[_0x212abf(0x29a)](){var _0x46cdb8=_0x212abf;return this[_0x46cdb8(0x2ee)];}async['init'](){var _0x6032e4=_0x212abf;if(this[_0x6032e4(0x29a)])throw new Error(_0x6032e4(0x323));await this[_0x6032e4(0x506)]();}[_0x212abf(0x337)](){var _0x2ac7af=_0x212abf;return this[_0x2ac7af(0x2b4)]=!0x0,_0x2695a7[_0x2ac7af(0x276)](()=>{var _0xb73776=_0x2ac7af;this[_0xb73776(0x2b4)]=!0x1,this[_0xb73776(0x3c9)]();});}[_0x212abf(0x1a5)](_0x3fccb2){this['_onLocalMutation'](_0x3fccb2);}[_0x212abf(0x249)](_0x114278){var _0x12fce3=_0x212abf;this[_0x12fce3(0x2ee)]=_0x114278,this['_state$'][_0x12fce3(0x185)](_0x114278);}async[_0x212abf(0x506)](){var _0x263969=_0x212abf,_0x1955b4;this[_0x263969(0x249)](await this[_0x263969(0x3d7)]()),this[_0x263969(0x2da)]&&((_0x1955b4=this['_singleActiveUnitService'])==null||_0x1955b4['editingUnit'](this[_0x263969(0x254)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x263969(0x231)](this[_0x263969(0x254)])[_0x263969(0x23e)](_0x25ee06=>{var _0x55e1f6=_0x263969;this[_0x55e1f6(0x24b)]['debug']('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x25ee06),_0x25ee06===_0x38f487['OTHER_CLIENTS_EDITING']?(this[_0x55e1f6(0x339)][_0x55e1f6(0x3ab)]({'id':_0x5ab775[_0x55e1f6(0x1af)]}),this['_permissionService'][_0x55e1f6(0x3c1)](new _0x57749b[(_0x55e1f6(0x26b))](this[_0x55e1f6(0x254)])['id'],!0x1),this[_0x55e1f6(0x47a)]['setShowComponents'](!0x1)):(this[_0x55e1f6(0x47a)][_0x55e1f6(0x3c1)](new _0x57749b[(_0x55e1f6(0x26b))](this[_0x55e1f6(0x254)])['id'],!0x0),this['_permissionService'][_0x55e1f6(0x3bb)](!0x0));})));let _0x34b5be=!0x1;return this[_0x263969(0x2fe)](this[_0x263969(0x17d)][_0x263969(0x40b)]['subscribe'](_0x2e3d65=>{var _0x2aefd5=_0x263969;_0x2e3d65===_0x1e024b[_0x2aefd5(0x42c)]?this[_0x2aefd5(0x367)](_0x34b5be):_0x2e3d65===_0x1e024b['OFFLINE']&&(_0x34b5be=!0x0,this[_0x2aefd5(0x479)]());})),this[_0x263969(0x2fe)](this['session']['event$'][_0x263969(0x23e)](_0x489fa1=>{var _0x20d542=_0x263969;try{switch(_0x489fa1[_0x20d542(0x16a)]){case _0x425665['CollaborationEvent'][_0x20d542(0x335)]:{this[_0x20d542(0x4d7)](_0x425665['parseProtocolChangeset'](_0x489fa1[_0x20d542(0x28c)]));break;}case _0x425665[_0x20d542(0x3c4)][_0x20d542(0x3e2)]:{this[_0x20d542(0x413)](_0x489fa1[_0x20d542(0x28c)]);break;}case _0x425665[_0x20d542(0x3c4)]['CHANGESET_REJ']:{this[_0x20d542(0x504)]();break;}case _0x425665[_0x20d542(0x3c4)][_0x20d542(0x315)]:{this['_onRemoteRetry'](_0x489fa1[_0x20d542(0x28c)]);break;}case _0x425665[_0x20d542(0x3c4)][_0x20d542(0x344)]:{this[_0x20d542(0x2d7)](_0x489fa1[_0x20d542(0x28c)]['changesets'][_0x20d542(0x1eb)](_0x2c40eb=>_0x425665[_0x20d542(0x30d)](_0x2c40eb)));break;}case _0x425665[_0x20d542(0x3c4)][_0x20d542(0x213)]:{this[_0x20d542(0x504)]({'isPermissionRej':!0x0});break;}case _0x425665['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x417326){throw console['error'](_0x20d542(0x194),_0x417326),_0x417326;}})),this[_0x263969(0x2ee)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x212abf(0x279)](){var _0x1c43c7=_0x212abf;if(this[_0x1c43c7(0x20f)])throw new Error(_0x1c43c7(0x35a));this[_0x1c43c7(0x20f)]=!0x0;}['_onLocalMutation'](_0x4ba05e){var _0x169695=_0x212abf;this[_0x169695(0x279)](),this[_0x169695(0x249)](this['_state'][_0x169695(0x2f0)](_0x4ba05e)),this[_0x169695(0x2ea)]();}[_0x212abf(0x4d7)](_0x572051){var _0x5d2cb0=_0x212abf;if(!(_0x572051['revision']<=this[_0x5d2cb0(0x432)]['getCurrentRevOfUnit'](this[_0x5d2cb0(0x254)]))){if(this[_0x5d2cb0(0x2b4)]){this[_0x5d2cb0(0x225)]['push'](_0x572051);return;}this[_0x5d2cb0(0x199)](_0x572051);}}[_0x212abf(0x3c9)](){var _0xb3e38b=_0x212abf;this[_0xb3e38b(0x225)][_0xb3e38b(0x20a)](_0x1ab3ed=>this['_applyRemoteChangeset'](_0x1ab3ed)),this[_0xb3e38b(0x225)]=[];}[_0x212abf(0x199)](_0x4f7935){var _0x5e3411=_0x212abf;const _0x39696e=this[_0x5e3411(0x2f1)][_0x5e3411(0x21a)][_0x5e3411(0x179)](this[_0x5e3411(0x2f1)][_0x5e3411(0x21a)][_0x5e3411(0x167)]()[_0x5e3411(0x336)])(_0x4f7935['mutations'],null)||_0x4f7935[_0x5e3411(0x380)],_0x17cb9f={..._0x4f7935,'mutations':_0x39696e};this[_0x5e3411(0x279)](),this[_0x5e3411(0x249)](this[_0x5e3411(0x2ee)][_0x5e3411(0x223)](_0x17cb9f)),this[_0x5e3411(0x2ea)]();}[_0x212abf(0x413)](_0x4c33be){var _0x27ea75=_0x212abf;this[_0x27ea75(0x279)](),this[_0x27ea75(0x249)](this['_state'][_0x27ea75(0x1bb)](_0x4c33be)),this['_unlockTransition']();}['_onRemoteRejected'](_0x7f5a27){var _0x1ae58d=_0x212abf;this[_0x1ae58d(0x279)](),this[_0x1ae58d(0x249)](this[_0x1ae58d(0x2ee)]['onRemoteRej'](_0x7f5a27)),this[_0x1ae58d(0x2ea)]();}['_onRemoteRetry'](_0x37570f){var _0x1ec274=_0x212abf;this['_lockTransition'](),this[_0x1ec274(0x249)](this[_0x1ec274(0x2ee)][_0x1ec274(0x488)](_0x37570f)),this[_0x1ec274(0x2ea)]();}[_0x212abf(0x2d7)](_0x2bb2d3){var _0x15f176=_0x212abf;if(!(this[_0x15f176(0x2ee)]instanceof _0x1c6aa2[_0x15f176(0x435)]))throw new TypeError(_0x15f176(0x1b1));const _0x34c219=_0x2bb2d3[_0x15f176(0x1eb)](_0x338e12=>{var _0x30c576=_0x15f176;const _0x18ec8a=this[_0x30c576(0x2f1)][_0x30c576(0x21a)][_0x30c576(0x179)](this[_0x30c576(0x2f1)][_0x30c576(0x21a)]['getInterceptPoints']()[_0x30c576(0x336)])(_0x338e12[_0x30c576(0x380)],null)||_0x338e12[_0x30c576(0x380)];return{..._0x338e12,'mutations':_0x18ec8a};});this['_lockTransition'](),this[_0x15f176(0x249)](this[_0x15f176(0x2ee)]['onMissedChangesetFetched'](_0x34c219)),this[_0x15f176(0x2ea)]();}[_0x212abf(0x479)](){var _0x178bf8=_0x212abf;this[_0x178bf8(0x279)](),this['_updateState'](this[_0x178bf8(0x2ee)][_0x178bf8(0x217)]()),this[_0x178bf8(0x2ea)]();}['_toggleOnline'](_0x521234=!0x1){var _0x3aed04=_0x212abf;this[_0x3aed04(0x279)](),this[_0x3aed04(0x249)](this[_0x3aed04(0x2ee)][_0x3aed04(0x226)]()),this[_0x3aed04(0x2ea)]();const _0x189f00=this[_0x3aed04(0x2ee)];_0x521234&&_0x189f00 instanceof _0x1c6aa2[_0x3aed04(0x4e6)]&&(this[_0x3aed04(0x279)](),this[_0x3aed04(0x249)](_0x189f00[_0x3aed04(0x2b7)]()),this[_0x3aed04(0x2ea)]());}async['_createInitialState'](){return new Promise(_0x2943be=>{var _0x4c179a=_0x1abf;this[_0x4c179a(0x17d)][_0x4c179a(0x40b)][_0x4c179a(0x1b2)](_0x3b3710['take'](0x1))[_0x4c179a(0x23e)](async _0x16c034=>{var _0x559574=_0x4c179a;_0x2943be(await this[_0x559574(0x281)](_0x16c034===_0x1e024b['ONLINE']));});});}['_createHandler'](){var _0x361085=_0x212abf;const _0x49f39f=this[_0x361085(0x254)];return{'onStateChange':(_0x3f6dec,_0x413205)=>{var _0x2aec86=_0x361085;if(_0x3f6dec!==this[_0x2aec86(0x2ee)])throw new Error(_0x2aec86(0x39a)+_0x3f6dec[_0x2aec86(0x4f1)]+_0x2aec86(0x295)+_0x413205[_0x2aec86(0x4f1)]+_0x2aec86(0x4ca)+this[_0x2aec86(0x2ee)][_0x2aec86(0x4f1)]);this[_0x2aec86(0x249)](_0x413205);},'onSendChangeset':_0x225fed=>{var _0x159419=_0x361085;_0x225fed[_0x159419(0x1d4)]||(_0x225fed['sid']=this[_0x159419(0x288)],_0x225fed[_0x159419(0x43d)]=++this[_0x159419(0x168)]);const _0x5b784f={'eventID':_0x425665[_0x159419(0x3c4)][_0x159419(0x510)],'data':{'unitID':_0x225fed[_0x159419(0x254)],'unitType':this[_0x159419(0x371)],'changeset':_0x225fed,'memberID':this[_0x159419(0x17d)][_0x159419(0x482)]()}};this['session'][_0x159419(0x197)](_0x5b784f,this[_0x159419(0x254)]);},'onMissingChangesets':({from:_0x46f349,to:_0x5501c6})=>{var _0xfb4e87=_0x361085;this['_logService'][_0xfb4e87(0x2c2)](_0xfb4e87(0x232),_0xfb4e87(0x204)+_0x46f349+_0xfb4e87(0x4c0)+_0x5501c6);const _0x7de6b9={'eventID':_0x425665[_0xfb4e87(0x3c4)][_0xfb4e87(0x4ea)],'data':{'unitID':_0x49f39f,'unitType':this[_0xfb4e87(0x371)],'from':_0x46f349,'to':_0x5501c6}};this['session'][_0xfb4e87(0x197)](_0x7de6b9,this[_0xfb4e87(0x254)]);}};}async[_0x212abf(0x281)](_0x141c2c){var _0xc78611=_0x212abf,_0x16da1e,_0x4e467b,_0x4b00cf;const _0x35bba1=await((_0x16da1e=this[_0xc78611(0x1ce)])==null?void 0x0:_0x16da1e[_0xc78611(0x294)](this[_0xc78611(0x254)])),_0x4d4076=(_0x4e467b=_0x35bba1==null?void 0x0:_0x35bba1[_0xc78611(0x380)])!=null?_0x4e467b:[],_0xf15ffc=(_0x4b00cf=_0x35bba1==null?void 0x0:_0x35bba1['awaitingChangeset'])!=null?_0x4b00cf:null,_0x3cf8dc=!!(_0xf15ffc!=null&&_0xf15ffc[_0xc78611(0x1d4)])&&!!(_0xf15ffc!=null&&_0xf15ffc['reqId']);this[_0xc78611(0x288)]=_0x3cf8dc?_0xf15ffc[_0xc78611(0x1d4)]:_0x425665[_0xc78611(0x266)](),this[_0xc78611(0x168)]=_0x3cf8dc?_0xf15ffc[_0xc78611(0x43d)]:0x0;const _0x2adf99=this[_0xc78611(0x254)];try{this[_0xc78611(0x33f)](_0xf15ffc,_0x4d4076);}catch(_0x236f51){this['_logService'][_0xc78611(0x4c9)](_0x236f51);}const _0x3e92a4=this[_0xc78611(0x2a7)]();if(_0x141c2c){const _0x2bce06=_0x4a32e5(this[_0xc78611(0x2e5)],_0x2adf99,this[_0xc78611(0x371)],_0xf15ffc,_0x4d4076,_0x3e92a4);return _0x2bce06 instanceof _0x1c6aa2[_0xc78611(0x16d)]?_0x2bce06[_0xc78611(0x3b7)]():(_0x2bce06 instanceof _0x1c6aa2['AwaitingWithPendingState']||_0x2bce06 instanceof _0x1c6aa2[_0xc78611(0x409)])&&_0x2bce06[_0xc78611(0x3fb)](),_0x2bce06;}return this[_0xc78611(0x2e5)][_0xc78611(0x28e)](_0x1c6aa2[_0xc78611(0x1ad)],_0x2adf99,this[_0xc78611(0x371)],_0xf15ffc,_0x4d4076,_0x3e92a4);}[_0x212abf(0x33f)](_0x25d65a,_0x591586){var _0x14f58e=_0x212abf,_0x217f18,_0x3d3154;const _0x5da16a=this['_compressMutationService'][_0x14f58e(0x21a)][_0x14f58e(0x179)](this['_compressMutationService'][_0x14f58e(0x21a)][_0x14f58e(0x167)]()[_0x14f58e(0x336)]);(_0x217f18=_0x5da16a((_0x25d65a==null?void 0x0:_0x25d65a[_0x14f58e(0x380)])||[],null))==null||_0x217f18[_0x14f58e(0x20a)](_0x5d3963=>this[_0x14f58e(0x300)]['executeCommand'](_0x5d3963['id'],_0x5d3963[_0x14f58e(0x2d0)])),(_0x3d3154=_0x5da16a(_0x591586||[],null))==null||_0x3d3154[_0x14f58e(0x20a)](_0xfd117c=>this[_0x14f58e(0x300)]['executeCommand'](_0xfd117c['id'],_0xfd117c[_0x14f58e(0x2d0)]));}},_0x1c6aa2[_0x212abf(0x20e)]=_0xccaf90([_0x2d4b3a(0x3,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7['Injector'])),_0x2d4b3a(0x4,_0x2695a7[_0x212abf(0x4c1)](_0x425665[_0x212abf(0x284)])),_0x2d4b3a(0x5,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x49d)])),_0x2d4b3a(0x6,_0x2695a7['Inject'](_0x425665[_0x212abf(0x3a9)])),_0x2d4b3a(0x7,_0x2695a7[_0x212abf(0x4c1)](_0xfe53d)),_0x2d4b3a(0x8,_0x2695a7[_0x212abf(0x4ed)]),_0x2d4b3a(0x9,_0x2695a7[_0x212abf(0x1e4)]),_0x2d4b3a(0xa,_0x2695a7['ICommandService']),_0x2d4b3a(0xb,_0x2695a7[_0x212abf(0x222)]),_0x2d4b3a(0xc,_0x2695a7[_0x212abf(0x1d8)](_0x4993a0)),_0x2d4b3a(0xd,_0x2695a7[_0x212abf(0x1d8)](_0x387771))],_0x1c6aa2['CollaborationEntity']),_0x1c6aa2['DocCollaborationEntity']=class extends _0x1c6aa2[_0x212abf(0x20e)]{constructor(_0x1de30b,_0x345068,_0x3ade38,_0x3a3a2b,_0xd8cc8,_0x55f45c,_0x422956,_0x107c6d,_0x5c29a8,_0x2bfd88,_0x2240e8,_0x29eef9,_0xe1cd3a,_0x24e21b){var _0x270db9=_0x212abf;super(_0x1de30b,_0x3ade38,_0x345068,_0x3a3a2b,_0xd8cc8,_0x55f45c,_0x422956,_0x107c6d,_0x5c29a8,_0x2bfd88,_0x2240e8,_0x29eef9,_0xe1cd3a,_0x24e21b),_0x110376(this,_0x270db9(0x26a),null),(this[_0x270db9(0x254)]=_0x1de30b,this['type']=_0x345068);}[_0x212abf(0x2ba)](_0x551958){var _0x353de8=_0x212abf;this[_0x353de8(0x26a)]=_0x551958;}[_0x212abf(0x1aa)](){var _0x34454a=_0x212abf;this[_0x34454a(0x26a)]=null,super[_0x34454a(0x1aa)]();}[_0x212abf(0x2a7)](){var _0x501253=_0x212abf;const _0x2f3a92=super['_createHandler']();return _0x2f3a92[_0x501253(0x35d)]=_0x14a921=>{var _0x30053e=_0x501253,_0x2eb6bf,_0x2d1876;return(_0x2d1876=(_0x2eb6bf=this['_handlerCallback'])==null?void 0x0:_0x2eb6bf[_0x30053e(0x35d)])==null?void 0x0:_0x2d1876[_0x30053e(0x2b1)](_0x2eb6bf,_0x14a921);},_0x2f3a92[_0x501253(0x25b)]=_0xab76db=>{var _0x22544f=_0x501253,_0x899754,_0x5c4dd5;return(_0x5c4dd5=(_0x899754=this['_handlerCallback'])==null?void 0x0:_0x899754['onTransformState'])==null?void 0x0:_0x5c4dd5[_0x22544f(0x2b1)](_0x899754,_0xab76db);},_0x2f3a92[_0x501253(0x502)]=_0x2a30f7=>{var _0x18f729=_0x501253,_0x48174a,_0x282356;return(_0x282356=(_0x48174a=this[_0x18f729(0x26a)])==null?void 0x0:_0x48174a[_0x18f729(0x502)])==null?void 0x0:_0x282356['call'](_0x48174a,_0x2a30f7);},_0x2f3a92[_0x501253(0x30f)]=_0x30652c=>{var _0x5b31bf=_0x501253,_0x5d6078,_0x1d52f1;return(_0x1d52f1=(_0x5d6078=this['_handlerCallback'])==null?void 0x0:_0x5d6078['onSyncEditingCollabCursor'])==null?void 0x0:_0x1d52f1[_0x5b31bf(0x2b1)](_0x5d6078,_0x30652c);},_0x2f3a92['onTransformRemoteChangesetByIMECache']=_0x5a232f=>{var _0xacc275=_0x501253,_0x457562,_0x15b5e7,_0x2bc9b9;if(!((_0x457562=this[_0xacc275(0x26a)])!=null&&_0x457562[_0xacc275(0x22d)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2bc9b9=(_0x15b5e7=this[_0xacc275(0x26a)])==null?void 0x0:_0x15b5e7[_0xacc275(0x22d)])==null?void 0x0:_0x2bc9b9['call'](_0x15b5e7,_0x5a232f);},_0x2f3a92['onTransformRemoteChangesetByStateCache']=_0x41b314=>{var _0x317274=_0x501253,_0x16d31b,_0xeab87f,_0x274b9f;if(!((_0x16d31b=this[_0x317274(0x26a)])!=null&&_0x16d31b['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x274b9f=(_0xeab87f=this[_0x317274(0x26a)])==null?void 0x0:_0xeab87f[_0x317274(0x3cb)])==null?void 0x0:_0x274b9f['call'](_0xeab87f,_0x41b314);},_0x2f3a92;}async[_0x212abf(0x506)](){var _0x11d765=_0x212abf;const _0x98951e=await super['_init']();return this[_0x11d765(0x2fe)](this['_commandService'][_0x11d765(0x1fb)]((_0x2cd47e,_0x102a4d)=>{var _0x58e7ab=_0x11d765;if(_0x2cd47e[_0x58e7ab(0x306)]!==_0x2695a7[_0x58e7ab(0x237)][_0x58e7ab(0x3fc)]||_0x102a4d!=null&&_0x102a4d[_0x58e7ab(0x2c0)]||_0x102a4d!=null&&_0x102a4d[_0x58e7ab(0x32d)]||_0x2cd47e['id']===_0xd9299c['RichTextEditingMutation']['id'])return;const _0x9df6ae=_0x2cd47e['params'];if((_0x9df6ae==null?void 0x0:_0x9df6ae['unitId'])!==this[_0x58e7ab(0x254)])return;const _0x1c99e1=_0x2cd47e,_0x4340f2=this[_0x58e7ab(0x2f1)][_0x58e7ab(0x21a)]['fetchThroughInterceptors'](this[_0x58e7ab(0x2f1)]['interceptor'][_0x58e7ab(0x167)]()[_0x58e7ab(0x1e8)])([_0x1c99e1],this['_univerInstanceService'])||[_0x1c99e1];this[_0x58e7ab(0x44d)](_0x4340f2[0x0]);})),_0x98951e;}},_0x1c6aa2[_0x212abf(0x375)]=_0xccaf90([_0x2d4b3a(0x3,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7['Injector'])),_0x2d4b3a(0x4,_0x2695a7[_0x212abf(0x4c1)](_0x425665['CompressMutationService'])),_0x2d4b3a(0x5,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x49d)])),_0x2d4b3a(0x6,_0x2695a7[_0x212abf(0x4c1)](_0x425665['RevisionService'])),_0x2d4b3a(0x7,_0x2695a7[_0x212abf(0x4c1)](_0xfe53d)),_0x2d4b3a(0x8,_0x2695a7[_0x212abf(0x4ed)]),_0x2d4b3a(0x9,_0x2695a7['ILogService']),_0x2d4b3a(0xa,_0x2695a7[_0x212abf(0x2f2)]),_0x2d4b3a(0xb,_0x2695a7[_0x212abf(0x222)]),_0x2d4b3a(0xc,_0x2695a7[_0x212abf(0x1d8)](_0x4993a0)),_0x2d4b3a(0xd,_0x2695a7['Optional'](_0x387771))],_0x1c6aa2['DocCollaborationEntity']),_0x1c6aa2[_0x212abf(0x29c)]=class extends _0x1c6aa2[_0x212abf(0x20e)]{constructor(_0x98c9e5,_0x220cf5,_0xbe1ce8,_0x59391e,_0x4a36fc,_0x29c11f,_0x50f52c,_0x532b02,_0x308fdd,_0x32662b,_0x2b72a6,_0x2cb2d8,_0x26eb0b,_0x49bcf3,_0x44cdaf){var _0x2b1f00=_0x212abf;super(_0x98c9e5,_0xbe1ce8,_0x220cf5,_0x59391e,_0x4a36fc,_0x29c11f,_0x50f52c,_0x308fdd,_0x32662b,_0x2b72a6,_0x2cb2d8,_0x26eb0b,_0x49bcf3,_0x44cdaf),this[_0x2b1f00(0x254)]=_0x98c9e5,this['type']=_0x220cf5,this[_0x2b1f00(0x34a)]=_0x532b02;}['_createHandler'](){var _0x1ea509=_0x212abf;const _0x465e01=super[_0x1ea509(0x2a7)]();return _0x465e01[_0x1ea509(0x502)]=_0x2848b5=>this['_sheetTransformSelectionsService'][_0x1ea509(0x1f0)](_0x2848b5),_0x465e01;}async['_init'](){var _0x231bee=_0x212abf;const _0x131cf6=await super[_0x231bee(0x506)]();return this[_0x231bee(0x2fe)](this[_0x231bee(0x300)][_0x231bee(0x1fb)]((_0x1613f3,_0x257cd9)=>{var _0x17246c=_0x231bee;if(_0x1613f3[_0x17246c(0x306)]!==_0x2695a7[_0x17246c(0x237)][_0x17246c(0x3fc)]||_0x257cd9!=null&&_0x257cd9[_0x17246c(0x2c0)]||_0x257cd9!=null&&_0x257cd9[_0x17246c(0x32d)])return;const _0x5b506d=_0x1613f3['params'];if((_0x5b506d==null?void 0x0:_0x5b506d[_0x17246c(0x4fa)])!==this['unitID'])return;const _0x51a57a=_0x1613f3,_0x75dfdc=this[_0x17246c(0x2f1)]['interceptor'][_0x17246c(0x179)](this[_0x17246c(0x2f1)][_0x17246c(0x21a)][_0x17246c(0x167)]()['COMPRESS_MUTATION_SEND'])([_0x51a57a],this['_univerInstanceService'])||[_0x51a57a];this['_onLocalMutation'](_0x75dfdc[0x0]);})),_0x131cf6;}},_0x1c6aa2[_0x212abf(0x29c)]=_0xccaf90([_0x2d4b3a(0x3,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x2d4b3a(0x4,_0x2695a7['Inject'](_0x425665[_0x212abf(0x284)])),_0x2d4b3a(0x5,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x49d)])),_0x2d4b3a(0x6,_0x2695a7['Inject'](_0x425665[_0x212abf(0x3a9)])),_0x2d4b3a(0x7,_0x2695a7[_0x212abf(0x4c1)](_0x1c6aa2[_0x212abf(0x48b)])),_0x2d4b3a(0x8,_0x2695a7[_0x212abf(0x4c1)](_0xfe53d)),_0x2d4b3a(0x9,_0x2695a7['IUniverInstanceService']),_0x2d4b3a(0xa,_0x2695a7[_0x212abf(0x1e4)]),_0x2d4b3a(0xb,_0x2695a7[_0x212abf(0x2f2)]),_0x2d4b3a(0xc,_0x2695a7[_0x212abf(0x222)]),_0x2d4b3a(0xd,_0x2695a7[_0x212abf(0x1d8)](_0x4993a0)),_0x2d4b3a(0xe,_0x2695a7['Optional'](_0x387771))],_0x1c6aa2[_0x212abf(0x29c)]);const _0x47a09f=_0x2695a7[_0x212abf(0x2a1)](_0x212abf(0x324));function _0x43d51c(_0x5301b9){var _0x313857=_0x212abf,_0x51bcea,_0x1f8ba6,_0x225241,_0x2daaca,_0x88af6;const _0xcf2e17=_0x5301b9['data'],_0x53fe7c=JSON['parse'](_0xcf2e17);switch(_0x53fe7c['cmd']){case _0x326b3c[_0x313857(0x43a)]:case _0x326b3c[_0x313857(0x4c6)]:{const _0x70f938=_0x53fe7c[_0x313857(0x3f2)];return{..._0x53fe7c,'data':_0x70f938,'cmd':_0x53fe7c[_0x313857(0x42e)]};}case _0x326b3c[_0x313857(0x4e3)]:{const _0x506ee4=_0x53fe7c[_0x313857(0x17f)];return{..._0x53fe7c,'data':_0x506ee4,'cmd':_0x53fe7c['cmd']};}case _0x326b3c[_0x313857(0x476)]:{const _0x34f40d=_0x53fe7c['collaMsg'];switch(_0x34f40d['eventID']){case _0x425665['CollaborationEvent'][_0x313857(0x213)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':(_0x51bcea=_0x34f40d[_0x313857(0x377)])==null?void 0x0:_0x51bcea['cs']},'cmd':_0x53fe7c['cmd']};case _0x425665[_0x313857(0x3c4)][_0x313857(0x3e2)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':(_0x1f8ba6=_0x34f40d[_0x313857(0x20d)])==null?void 0x0:_0x1f8ba6['cs']},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665[_0x313857(0x3c4)][_0x313857(0x335)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':(_0x225241=_0x34f40d[_0x313857(0x378)])==null?void 0x0:_0x225241['cs']},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665[_0x313857(0x3c4)][_0x313857(0x45e)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':(_0x2daaca=_0x34f40d[_0x313857(0x183)])==null?void 0x0:_0x2daaca['cs']},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665['CollaborationEvent'][_0x313857(0x315)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':(_0x88af6=_0x34f40d[_0x313857(0x4de)])==null?void 0x0:_0x88af6['cs']},'cmd':_0x53fe7c['cmd']};case _0x425665[_0x313857(0x3c4)][_0x313857(0x2d1)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d[_0x313857(0x2e6)]},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665['CollaborationEvent'][_0x313857(0x499)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d[_0x313857(0x3e0)]},'cmd':_0x53fe7c['cmd']};case _0x425665[_0x313857(0x3c4)]['USERS_LEAVE']:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d['leaveEvent']},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665[_0x313857(0x3c4)][_0x313857(0x2d9)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d[_0x313857(0x27c)]},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665[_0x313857(0x3c4)][_0x313857(0x2a3)]:case _0x425665['CollaborationEvent'][_0x313857(0x4c5)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d['liveShareOperation']},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665[_0x313857(0x3c4)][_0x313857(0x388)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d[_0x313857(0x27c)]},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665[_0x313857(0x3c4)]['MSG_FOR_ERROR']:return{..._0x53fe7c,'data':_0x34f40d,'cmd':_0x53fe7c['cmd']};case _0x425665['CollaborationEvent'][_0x313857(0x3b0)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d['commentUpdateEvent']},'cmd':_0x53fe7c['cmd']};case _0x425665[_0x313857(0x3c4)][_0x313857(0x2b9)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d[_0x313857(0x184)]},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665[_0x313857(0x3c4)][_0x313857(0x2ae)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d['shouldCloseConn']},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665[_0x313857(0x3c4)][_0x313857(0x318)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d[_0x313857(0x4f2)]},'cmd':_0x53fe7c['cmd']};default:return _0x53fe7c;}}default:return _0x53fe7c;}}function _0x3d2f94(_0x1ae175){var _0x567fe5=_0x212abf;switch(_0x1ae175[_0x567fe5(0x42e)]){case _0x326b3c[_0x567fe5(0x43a)]:case _0x326b3c[_0x567fe5(0x4c6)]:return JSON[_0x567fe5(0x178)]({'cmd':_0x1ae175['cmd'],'routeKey':_0x1ae175[_0x567fe5(0x1a1)]});case _0x326b3c['INGEST']:{let _0x3999de;switch(_0x1ae175[_0x567fe5(0x28c)][_0x567fe5(0x16a)]){case _0x425665[_0x567fe5(0x3c4)]['UPDATE_CURSOR']:{_0x3999de={'eventID':_0x425665['CollaborationEvent'][_0x567fe5(0x2d1)],'updateCursorEvent':_0x1ae175['data'][_0x567fe5(0x28c)]};break;}case _0x425665['CollaborationEvent'][_0x567fe5(0x211)]:{_0x3999de={'eventID':_0x425665['CollaborationEvent'][_0x567fe5(0x211)],'leaveEvent':_0x1ae175['data'][_0x567fe5(0x28c)]};break;}case _0x425665[_0x567fe5(0x3c4)]['USERS_ENTER']:{_0x3999de={'eventID':_0x425665['CollaborationEvent'][_0x567fe5(0x499)],'joinEvent':_0x1ae175[_0x567fe5(0x28c)][_0x567fe5(0x28c)]};break;}case _0x425665[_0x567fe5(0x3c4)][_0x567fe5(0x2d9)]:{_0x3999de={'eventID':_0x425665[_0x567fe5(0x3c4)][_0x567fe5(0x2d9)],'liveShareNewHost':_0x1ae175[_0x567fe5(0x28c)]['data']};break;}case _0x425665[_0x567fe5(0x3c4)]['LIVESHARE_OPERATION']:{_0x3999de={'eventID':_0x425665['CollaborationEvent'][_0x567fe5(0x4c5)],'liveShareOperation':_0x1ae175[_0x567fe5(0x28c)][_0x567fe5(0x28c)]};break;}case _0x425665[_0x567fe5(0x3c4)][_0x567fe5(0x388)]:{_0x3999de={'eventID':_0x425665['CollaborationEvent'][_0x567fe5(0x388)],'liveShareTerminate':_0x1ae175[_0x567fe5(0x28c)][_0x567fe5(0x28c)]};break;}case _0x425665[_0x567fe5(0x3c4)][_0x567fe5(0x2b2)]:{_0x3999de={'eventID':_0x425665['CollaborationEvent'][_0x567fe5(0x2b2)],'liveShareRequestHost':_0x1ae175[_0x567fe5(0x28c)][_0x567fe5(0x28c)]};break;}case _0x425665[_0x567fe5(0x3c4)][_0x567fe5(0x2a3)]:{_0x3999de={'eventID':_0x425665[_0x567fe5(0x3c4)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3999de={'eventID':_0x1ae175[_0x567fe5(0x28c)]['eventID']};}return JSON[_0x567fe5(0x178)]({'cmd':_0x1ae175['cmd'],'routeKey':_0x1ae175[_0x567fe5(0x1a1)],'collaMsg':_0x3999de});}case _0x326b3c['JOIN']:return JSON['stringify']({'cmd':_0x1ae175[_0x567fe5(0x42e)],'routeKey':_0x1ae175[_0x567fe5(0x1a1)],'joinReq':_0x1ae175[_0x567fe5(0x28c)]});case _0x326b3c['LEAVE']:return JSON[_0x567fe5(0x178)]({'cmd':_0x1ae175[_0x567fe5(0x42e)],'routeKey':_0x1ae175[_0x567fe5(0x1a1)],'leaveReq':_0x1ae175[_0x567fe5(0x28c)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x3cbc9f=Object[_0x212abf(0x1f8)],_0x20f65e=(_0x355dac,_0x2c1556,_0x3115c1,_0x282b49)=>{var _0x22e1c5=_0x212abf;for(var _0x2efd1e=_0x282b49>0x1?void 0x0:_0x282b49?_0x3cbc9f(_0x2c1556,_0x3115c1):_0x2c1556,_0x324898=_0x355dac[_0x22e1c5(0x2e2)]-0x1,_0x2ecab3;_0x324898>=0x0;_0x324898--)(_0x2ecab3=_0x355dac[_0x324898])&&(_0x2efd1e=_0x2ecab3(_0x2efd1e)||_0x2efd1e);return _0x2efd1e;},_0x55a3b5=(_0x31e182,_0x4dbfa5)=>(_0xf1a948,_0x300706)=>_0x4dbfa5(_0xf1a948,_0x300706,_0x31e182);const _0x43f90c=_0x2695a7[_0x212abf(0x2a1)](_0x212abf(0x22b));function _0x5d60c5(_0x243a88,_0x4f6710,_0x40539c){var _0x43c921=_0x212abf;return _0x243a88+'/'+_0x4f6710+_0x43c921(0x304)+_0x40539c+_0x43c921(0x1da);}_0x1c6aa2[_0x212abf(0x4a3)]=class extends _0x2695a7[_0x212abf(0x322)]{constructor(_0x148866,_0x3c0d26,_0xe4d57a,_0x2e2463,_0x74c9f2){var _0x591442=_0x212abf;super(),this[_0x591442(0x2e5)]=_0x148866,this['_httpService']=_0x3c0d26,this[_0x591442(0x172)]=_0xe4d57a,this[_0x591442(0x24b)]=_0x2e2463,this['_snapshotServerService']=_0x74c9f2;}[_0x212abf(0x259)](_0xe32ce6){var _0x5a020d=_0x212abf;const _0xdac97b=this[_0x5a020d(0x2e5)][_0x5a020d(0x2e4)](_0x3e19df[_0x5a020d(0x18d)]);if(!_0xdac97b)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1cf72d=_0xdac97b[_0x5a020d(0x1b5)](_0xe32ce6);if(!_0x1cf72d)throw new Error(_0x5a020d(0x1a4));const _0x9b61b=new _0x2695a7[(_0x5a020d(0x207))](),_0x17f5fc=new _0x3b3710[(_0x5a020d(0x1bc))]();_0x9b61b[_0x5a020d(0x3ae)](_0x1cf72d['close$'][_0x5a020d(0x23e)](_0x4d4a18=>_0x17f5fc[_0x5a020d(0x185)](_0x4d4a18))),_0x9b61b['add'](_0x2695a7[_0x5a020d(0x276)](()=>_0x17f5fc[_0x5a020d(0x3a1)]()));const _0x3e8a8f=new _0x3b3710[(_0x5a020d(0x1bc))]();_0x9b61b[_0x5a020d(0x3ae)](_0x1cf72d['error$'][_0x5a020d(0x23e)](_0xcda2d5=>_0x3e8a8f[_0x5a020d(0x185)](_0xcda2d5))),_0x9b61b[_0x5a020d(0x3ae)](_0x2695a7['toDisposable'](()=>_0x3e8a8f[_0x5a020d(0x3a1)]()));const _0x26de92=new _0x3b3710[(_0x5a020d(0x1bc))]();_0x9b61b[_0x5a020d(0x3ae)](_0x1cf72d[_0x5a020d(0x2df)][_0x5a020d(0x23e)](_0x2c0daf=>{var _0x573166=_0x5a020d;const _0x56e977=_0x43d51c(_0x2c0daf);_0x26de92[_0x573166(0x185)](_0x56e977);})),_0x9b61b[_0x5a020d(0x3ae)](_0x2695a7[_0x5a020d(0x276)](()=>_0x26de92['complete']()));let _0x55da93;const _0x1dc253=()=>{var _0x5076d6=_0x5a020d;_0x3e8a8f[_0x5076d6(0x185)](new Event(_0x5076d6(0x473))),_0x17f5fc['next'](new Event(_0x5076d6(0x473))),_0x55da93[_0x5076d6(0x191)]();};return _0x55da93={'memberID':'','close$':_0x17f5fc[_0x5a020d(0x3a2)](),'error$':_0x3e8a8f[_0x5a020d(0x3a2)](),'open$':_0x1cf72d[_0x5a020d(0x309)],'message$':_0x26de92[_0x5a020d(0x3a2)](),'send':_0xde3f16=>{var _0x42f45a=_0x5a020d;if(_0xde3f16[_0x42f45a(0x42e)]===_0x326b3c[_0x42f45a(0x343)]){if(_0xde3f16['data'][_0x42f45a(0x16a)]===_0x425665[_0x42f45a(0x3c4)][_0x42f45a(0x510)]){this[_0x42f45a(0x274)](_0x55da93,_0xde3f16[_0x42f45a(0x28c)])[_0x42f45a(0x341)](_0x54bbb1=>{var _0x19a7cc=_0x42f45a;this[_0x19a7cc(0x24b)]['error'](_0x54bbb1),_0x1dc253();});return;}if(_0xde3f16[_0x42f45a(0x28c)][_0x42f45a(0x16a)]===_0x425665[_0x42f45a(0x3c4)][_0x42f45a(0x4ea)]){const _0x3ab152=_0xde3f16[_0x42f45a(0x28c)];this['_fetchMissChangesets'](_0x3ab152)[_0x42f45a(0x394)](_0x2260c2=>{var _0x56c81a=_0x42f45a;_0x26de92[_0x56c81a(0x185)]({'cmd':_0x326b3c[_0x56c81a(0x476)],'code':_0x1433f4['OK'],'routeKey':_0x3ab152[_0x56c81a(0x28c)][_0x56c81a(0x254)],'routeType':'','data':{'eventID':_0x425665[_0x56c81a(0x3c4)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x2260c2}}});})[_0x42f45a(0x341)](_0xe7b464=>{var _0x599a62=_0x42f45a;this['_logService'][_0x599a62(0x4c9)](_0xe7b464),_0x1dc253();});return;}}_0x1cf72d['send'](_0x3d2f94(_0xde3f16));},'close':()=>{var _0xf65c82=_0x5a020d;_0x1cf72d['close'](),_0x9b61b[_0xf65c82(0x1aa)]();}},_0x55da93;}async[_0x212abf(0x274)](_0x26215d,_0x1a7908){var _0x49d198=_0x212abf,_0x10d3cf;const {unitType:_0x3f9fe0,unitID:_0x31e158,changeset:_0x2af07d}=_0x1a7908[_0x49d198(0x28c)],_0x4342e5={'unitID':_0x31e158,'memberID':_0x26215d['memberID'],'type':_0x3f9fe0,'changeset':_0x425665[_0x49d198(0x22e)](_0x2af07d)},_0x550785=this[_0x49d198(0x172)][_0x49d198(0x3ea)](_0x391e6e),_0x392cb2=_0x5d60c5((_0x10d3cf=_0x550785==null?void 0x0:_0x550785[_0x49d198(0x297)])!=null?_0x10d3cf:_0x5bfefb,_0x3f9fe0,_0x31e158);try{await this[_0x49d198(0x338)][_0x49d198(0x43b)](_0x392cb2,{'body':_0x4342e5});}catch(_0x489efd){throw this[_0x49d198(0x24b)][_0x49d198(0x4c9)](_0x49d198(0x1dd),_0x49d198(0x49f)),_0x489efd;}}async[_0x212abf(0x23c)](_0x2c156c){var _0x34eaa1=_0x212abf;const {unitID:_0x59040f,from:_0x438c8d,to:_0x14e4e4,unitType:_0x2eef05}=_0x2c156c[_0x34eaa1(0x28c)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x59040f,'type':_0x2eef05,'from':_0x438c8d,'to':_0x14e4e4}))[_0x34eaa1(0x38b)]['map'](_0x375ddd=>((_0x375ddd['mutations']===null||_0x375ddd[_0x34eaa1(0x380)]===void 0x0)&&(_0x375ddd[_0x34eaa1(0x380)]=[]),_0x375ddd));}},_0x1c6aa2[_0x212abf(0x4a3)]=_0x20f65e([_0x55a3b5(0x0,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x55a3b5(0x1,_0x2695a7[_0x212abf(0x4c1)](_0x3e19df[_0x212abf(0x355)])),_0x55a3b5(0x2,_0x2695a7[_0x212abf(0x333)]),_0x55a3b5(0x3,_0x2695a7[_0x212abf(0x1e4)]),_0x55a3b5(0x4,_0x425665['ISnapshotServerService'])],_0x1c6aa2['CollaborationSocketService']);var _0x9191ad=Object[_0x212abf(0x1f8)],_0x60ea58=(_0x5a76ca,_0x4480a1,_0x474634,_0x16401c)=>{var _0x2e00c7=_0x212abf;for(var _0x430385=_0x16401c>0x1?void 0x0:_0x16401c?_0x9191ad(_0x4480a1,_0x474634):_0x4480a1,_0x115196=_0x5a76ca[_0x2e00c7(0x2e2)]-0x1,_0x5280ea;_0x115196>=0x0;_0x115196--)(_0x5280ea=_0x5a76ca[_0x115196])&&(_0x430385=_0x5280ea(_0x430385)||_0x430385);return _0x430385;},_0x40b979=(_0x2c5577,_0xe9f56d)=>(_0x491a6f,_0x5bd749)=>_0xe9f56d(_0x491a6f,_0x5bd749,_0x2c5577);_0x1c6aa2[_0x212abf(0x319)]=class extends _0x2695a7[_0x212abf(0x322)]{constructor(_0x481442,_0x479efa,_0x177ea0,_0x135d73,_0x5781c6,_0x58c7fe){var _0x141eda=_0x212abf;super(),_0x110376(this,_0x141eda(0x4b5),new _0x3b3710[(_0x141eda(0x2ed))](void 0x0)),_0x110376(this,'socket$',this[_0x141eda(0x4b5)][_0x141eda(0x3a2)]()),_0x110376(this,_0x141eda(0x280),null),_0x110376(this,_0x141eda(0x310),new Map()),_0x110376(this,_0x141eda(0x2d6),new _0x3b3710[(_0x141eda(0x2ed))](_0x1e024b[_0x141eda(0x364)])),_0x110376(this,_0x141eda(0x4bb),this[_0x141eda(0x2d6)][_0x141eda(0x3a2)]()),_0x110376(this,'_socketReady',!0x1),_0x110376(this,'_retryConnectingTimer'),_0x110376(this,_0x141eda(0x3bf),0x0),_0x110376(this,_0x141eda(0x2f4)),_0x110376(this,_0x141eda(0x38e)),(this[_0x141eda(0x2e5)]=_0x481442,this['_logService']=_0x479efa,this[_0x141eda(0x172)]=_0x177ea0,this['_socketService']=_0x135d73,this[_0x141eda(0x32f)]=_0x5781c6,this[_0x141eda(0x275)]=_0x58c7fe,this[_0x141eda(0x26f)]());}get['_socket'](){var _0x21495a=_0x212abf;return this[_0x21495a(0x4b5)][_0x21495a(0x2e3)]();}[_0x212abf(0x26f)](){var _0x4aa9de=_0x212abf;this[_0x4aa9de(0x275)]&&this[_0x4aa9de(0x2fe)](this[_0x4aa9de(0x275)][_0x4aa9de(0x1ef)][_0x4aa9de(0x23e)](_0x2304ff=>{var _0x4ac867=_0x4aa9de;_0x2304ff&&!this[_0x4ac867(0x206)]&&this[_0x4ac867(0x458)](),_0x2304ff||this[_0x4ac867(0x257)]();}));}[_0x212abf(0x1aa)](){var _0x2b6671=_0x212abf;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x2b6671(0x3ce)](),this[_0x2b6671(0x4e4)](),this[_0x2b6671(0x310)][_0x2b6671(0x20a)](_0x55b79b=>_0x55b79b[_0x2b6671(0x1aa)]()),this['_sessions']['clear'](),this[_0x2b6671(0x2d6)][_0x2b6671(0x3a1)]();}async[_0x212abf(0x1c3)](_0x386d04){var _0x2e0e63=_0x212abf;if(this['_sessions'][_0x2e0e63(0x406)](_0x386d04))return this[_0x2e0e63(0x310)]['get'](_0x386d04);this['_tryEnsureSocket']();const _0x473287=this[_0x2e0e63(0x2e5)][_0x2e0e63(0x28e)](_0x1c6aa2[_0x2e0e63(0x3bd)],_0x386d04,this['_socket$'][_0x2e0e63(0x3a2)]());return this['_sessions'][_0x2e0e63(0x214)](_0x386d04,_0x473287),_0x473287;}['closeSession'](_0x486153){var _0x4c935b=_0x212abf,_0xa05bf4;const _0x4066a9=this[_0x4c935b(0x310)][_0x4c935b(0x2e4)](_0x486153);_0x4066a9&&(this[_0x4c935b(0x310)][_0x4c935b(0x360)](_0x486153),_0x4066a9[_0x4c935b(0x191)]()),this[_0x4c935b(0x310)]['size']||(_0xa05bf4=this[_0x4c935b(0x206)])==null||_0xa05bf4[_0x4c935b(0x191)]();}[_0x212abf(0x458)](){var _0x4b16cf=_0x212abf;this[_0x4b16cf(0x3bf)]=0x0,this[_0x4b16cf(0x16c)](),this[_0x4b16cf(0x21e)]();}[_0x212abf(0x16c)](){var _0x1fee90=_0x212abf;this[_0x1fee90(0x469)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x1fee90(0x469)]=null);}async['_createSocket'](){var _0xee27f8=_0x212abf,_0x13dc1f;const _0x243ee7=this['_configService'][_0xee27f8(0x3ea)](_0x391e6e),_0x301e47=(_0x13dc1f=_0x243ee7==null?void 0x0:_0x243ee7[_0xee27f8(0x24d)])!=null?_0x13dc1f:_0x4154c7,_0x12f99a=await this[_0xee27f8(0x177)][_0xee27f8(0x1b5)](_0x301e47);return this[_0xee27f8(0x280)]=_0x12f99a,_0x12f99a;}async['_tryEnsureSocket'](){var _0x5f4eb1=_0x212abf,_0x20d030,_0xb43a3e;try{const _0x3a71dc=(_0xb43a3e=(_0x20d030=this[_0x5f4eb1(0x206)])!=null?_0x20d030:this['_candidateSocket'])!=null?_0xb43a3e:await this[_0x5f4eb1(0x22a)]();if(_0x3a71dc){const _0x461e2c=_0x3a71dc['send'];_0x3a71dc['send']=_0x4a8129=>(this[_0x5f4eb1(0x494)](),_0x461e2c[_0x5f4eb1(0x29e)](_0x3a71dc,[_0x4a8129])),_0x3a71dc['message$']['subscribe'](_0x502277=>this[_0x5f4eb1(0x3d0)](_0x3a71dc,_0x502277)),_0x3a71dc[_0x5f4eb1(0x25c)][_0x5f4eb1(0x1b2)](_0xc987a3[_0x5f4eb1(0x208)](0x1))[_0x5f4eb1(0x23e)](_0x51d294=>this['_logService'][_0x5f4eb1(0x4c9)]('[CollaborationSessionService]:\x20socket\x20error',_0x51d294)),_0x3a71dc['open$'][_0x5f4eb1(0x1b2)](_0xc987a3[_0x5f4eb1(0x208)](0x1))[_0x5f4eb1(0x23e)](()=>{var _0x116853=_0x5f4eb1;this[_0x116853(0x287)](_0x3a71dc);}),_0x3a71dc['close$'][_0x5f4eb1(0x1b2)](_0xc987a3[_0x5f4eb1(0x208)](0x1))[_0x5f4eb1(0x23e)](_0x216ffa=>{var _0x367177=_0x5f4eb1;this[_0x367177(0x24b)][_0x367177(0x2c2)]('[CollaborationSessionService]',_0x367177(0x1d0),_0x216ffa),this[_0x367177(0x368)]();});}}catch(_0x2bb16b){this[_0x5f4eb1(0x24b)][_0x5f4eb1(0x4c9)](_0x2bb16b),this['_onConnectionFailed']();}}[_0x212abf(0x287)](_0x1bce1e){var _0x2472da=_0x212abf;this[_0x2472da(0x24b)]['debug'](_0x2472da(0x3ca),'socket\x20open.'),_0x1bce1e[_0x2472da(0x197)]({'cmd':_0x326b3c['HELLO']}),this[_0x2472da(0x494)]();}[_0x212abf(0x257)](){var _0x2de689=_0x212abf;this[_0x2de689(0x1cf)]=!0x1,this['_candidateSocket']=null,this[_0x2de689(0x2d6)][_0x2de689(0x185)](_0x1e024b[_0x2de689(0x2aa)]),this[_0x2de689(0x4b5)]['next'](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x212abf(0x368)](){var _0x228107=_0x212abf,_0x4dca09;this[_0x228107(0x257)](),this['_retryCount']<((_0x4dca09=this[_0x228107(0x172)]['getConfig'](_0xd794b))!=null?_0x4dca09:0x3)?(this[_0x228107(0x32f)][_0x228107(0x3ab)]({'id':_0x5ab775[_0x228107(0x36a)]}),this[_0x228107(0x21e)]()):this[_0x228107(0x32f)][_0x228107(0x3ab)]({'id':_0x5ab775['SOCKET_FAILED']});}[_0x212abf(0x21e)](){var _0x1b4fd5=_0x212abf,_0x57d392;const _0x59cd12=this[_0x1b4fd5(0x3bf)],_0x341ca5=this[_0x1b4fd5(0x172)][_0x1b4fd5(0x3ea)](_0x391e6e),_0x3a3dd6=_0x59cd12===0x0?0x0:((_0x57d392=_0x341ca5==null?void 0x0:_0x341ca5['retryConnectingInterval'])!=null?_0x57d392:0x4e20)*0x2**_0x59cd12;this['_retryConnectingTimer']=setTimeout(()=>{var _0x3c122a=_0x1b4fd5;clearTimeout(this[_0x3c122a(0x469)]),this[_0x3c122a(0x469)]=null,this['_tryEnsureSocket']();},_0x3a3dd6),this['_retryCount']+=0x1;}['_onMessage'](_0x56a03b,_0xb851f9){var _0x3b8a46=_0x212abf;const {cmd:_0x43c848}=_0xb851f9;_0x43c848===_0x326b3c['HELLO']&&!this[_0x3b8a46(0x1cf)]&&(_0x56a03b[_0x3b8a46(0x4b3)]=_0xb851f9[_0x3b8a46(0x28c)]['memberID'],this[_0x3b8a46(0x4b5)][_0x3b8a46(0x185)](_0x56a03b),this['_status$'][_0x3b8a46(0x185)](_0x1e024b['ONLINE']),this[_0x3b8a46(0x1cf)]=!0x0,this['_candidateSocket']=null),_0x43c848===_0x326b3c[_0x3b8a46(0x43a)]&&this['_clearTimeoutTimer'](),this[_0x3b8a46(0x494)]();}[_0x212abf(0x494)](){var _0x5b1b17=_0x212abf,_0x4e9961;this[_0x5b1b17(0x4e4)](),this[_0x5b1b17(0x2f4)]=setTimeout(()=>this[_0x5b1b17(0x251)](),(_0x4e9961=this[_0x5b1b17(0x172)][_0x5b1b17(0x3ea)](_0x3e40c1))!=null?_0x4e9961:0x7530);}[_0x212abf(0x251)](){var _0x408b5b=_0x212abf;this['_socket'][_0x408b5b(0x197)]({'cmd':_0x326b3c[_0x408b5b(0x43a)]}),this[_0x408b5b(0x17c)]();}[_0x212abf(0x17c)](){var _0x15d3b3=_0x212abf,_0x4e559b;this[_0x15d3b3(0x38e)]=setTimeout(()=>this[_0x15d3b3(0x368)](),(_0x4e559b=this[_0x15d3b3(0x172)][_0x15d3b3(0x3ea)](_0xf20a7c))!=null?_0x4e559b:0x4e20);}[_0x212abf(0x4e4)](){var _0x5b5c01=_0x212abf;this[_0x5b5c01(0x2f4)]!=null&&(clearTimeout(this[_0x5b5c01(0x2f4)]),this[_0x5b5c01(0x2f4)]=null);}[_0x212abf(0x3ce)](){var _0x246992=_0x212abf;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x246992(0x38e)]),this[_0x246992(0x38e)]=null);}},_0x1c6aa2[_0x212abf(0x319)]=_0x60ea58([_0x40b979(0x0,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x40b979(0x1,_0x2695a7['ILogService']),_0x40b979(0x2,_0x2695a7['IConfigService']),_0x40b979(0x3,_0x43f90c),_0x40b979(0x4,_0x2695a7['Inject'](_0xfe53d)),_0x40b979(0x5,_0x2695a7['Optional'](_0x47a09f))],_0x1c6aa2['CollaborationSessionService']);var _0x51ed1a=Object[_0x212abf(0x1f8)],_0x196776=(_0x5533ab,_0x17824a,_0x1cd65e,_0x911e33)=>{var _0x33134=_0x212abf;for(var _0x126723=_0x911e33>0x1?void 0x0:_0x911e33?_0x51ed1a(_0x17824a,_0x1cd65e):_0x17824a,_0x1a0cf6=_0x5533ab[_0x33134(0x2e2)]-0x1,_0xd4b58e;_0x1a0cf6>=0x0;_0x1a0cf6--)(_0xd4b58e=_0x5533ab[_0x1a0cf6])&&(_0x126723=_0xd4b58e(_0x126723)||_0x126723);return _0x126723;},_0xe8bdf3=(_0x5b9577,_0x1682a1)=>(_0x5e67ba,_0xb3aeda)=>_0x1682a1(_0x5e67ba,_0xb3aeda,_0x5b9577);_0x1c6aa2['CollaborationController']=class extends _0x2695a7[_0x212abf(0x1be)]{constructor(_0x19b77f,_0x395816,_0x754ba4,_0x33fc2f){var _0x31a5fe=_0x212abf,_0x11d733;super(),_0x110376(this,_0x31a5fe(0x26e),new Map()),_0x110376(this,'_entityInit$',new _0x3b3710[(_0x31a5fe(0x1bc))]()),_0x110376(this,'entityInit$',this[_0x31a5fe(0x373)][_0x31a5fe(0x3a2)]()),(this['_injector']=_0x19b77f,this[_0x31a5fe(0x401)]=_0x395816,this[_0x31a5fe(0x172)]=_0x754ba4,this[_0x31a5fe(0x490)]=_0x33fc2f,((_0x11d733=this[_0x31a5fe(0x172)][_0x31a5fe(0x3ea)](_0x391e6e))==null?void 0x0:_0x11d733['enableCollaboration'])!==!0x1&&this[_0x31a5fe(0x506)]());}[_0x212abf(0x1aa)](){var _0x1348f1=_0x212abf;super[_0x1348f1(0x1aa)](),this[_0x1348f1(0x26e)]['forEach'](_0x53f692=>_0x53f692['dispose']()),this[_0x1348f1(0x26e)]['clear']();}['getCollabEntity'](_0x314f65){var _0xb8677d=_0x212abf,_0x36691e;return(_0x36691e=this[_0xb8677d(0x26e)][_0xb8677d(0x2e4)](_0x314f65))!=null?_0x36691e:null;}[_0x212abf(0x452)](_0x28deeb){var _0xe3187a=_0x212abf;const _0x39bccd=this[_0xe3187a(0x38a)](_0x28deeb);return _0x39bccd?_0x3b3710['of'](_0x39bccd):this['_entityInit$'][_0xe3187a(0x1b2)](_0xc987a3[_0xe3187a(0x305)](_0x2e291c=>_0x2e291c[_0xe3187a(0x254)]===_0x28deeb));}['readyForCollab'](_0xa4bb6){var _0x1a1aed=_0x212abf;return _0x3b3710[_0x1a1aed(0x474)](this[_0x1a1aed(0x452)](_0xa4bb6)['pipe'](_0xc987a3['map'](()=>{})));}['_init'](){var _0x256cf8=_0x212abf;this['_univerInstanceService'][_0x256cf8(0x2c1)](_0x2695a7[_0x256cf8(0x187)][_0x256cf8(0x2e8)])['pipe'](_0x3b3710[_0x256cf8(0x4cd)](this['dispose$']),_0xc987a3[_0x256cf8(0x3c8)](0x10))[_0x256cf8(0x23e)](async _0x11b445=>{var _0x2f9e94=_0x256cf8;const _0x3019e3=_0x11b445['getUnitId'](),_0x1efd00=await this[_0x2f9e94(0x234)](_0x3019e3,_0x10d356[_0x2f9e94(0x2e8)]);this[_0x2f9e94(0x26e)][_0x2f9e94(0x214)](_0x3019e3,_0x1efd00);}),this['_univerInstanceService'][_0x256cf8(0x2c1)](_0x2695a7[_0x256cf8(0x187)]['UNIVER_DOC'])[_0x256cf8(0x1b2)](_0x3b3710[_0x256cf8(0x4cd)](this[_0x256cf8(0x4fd)]),_0xc987a3[_0x256cf8(0x3c8)](0x10))[_0x256cf8(0x1b2)](_0xc987a3[_0x256cf8(0x305)](_0xc594b7=>!_0xc594b7[_0x256cf8(0x33b)]()[_0x256cf8(0x444)]('__')))['subscribe'](async _0x1a4498=>{var _0x1aa322=_0x256cf8;const _0x5ae74e=_0x1a4498[_0x1aa322(0x33b)](),_0x2baa28=await this['_startCollaboration'](_0x5ae74e,_0x10d356[_0x1aa322(0x286)]);this[_0x1aa322(0x26e)][_0x1aa322(0x214)](_0x5ae74e,_0x2baa28);}),_0x3b3710[_0x256cf8(0x3b6)](this[_0x256cf8(0x490)][_0x256cf8(0x195)](_0x2695a7[_0x256cf8(0x187)][_0x256cf8(0x2e8)]),this[_0x256cf8(0x490)][_0x256cf8(0x195)](_0x2695a7['UniverInstanceType'][_0x256cf8(0x286)]))[_0x256cf8(0x1b2)](_0x3b3710[_0x256cf8(0x4cd)](this[_0x256cf8(0x4fd)]))['subscribe'](_0x212b6c=>{var _0x35deb8=_0x256cf8;const _0x2d6856=_0x212b6c[_0x35deb8(0x33b)](),_0x382776=this[_0x35deb8(0x26e)][_0x35deb8(0x2e4)](_0x2d6856);_0x382776&&(_0x382776[_0x35deb8(0x1aa)](),this[_0x35deb8(0x26e)][_0x35deb8(0x360)](_0x2d6856));});}async[_0x212abf(0x234)](_0x2114bd,_0x2a5b66){var _0x410fd9=_0x212abf;const _0x40fd30=await this[_0x410fd9(0x401)]['requireSession'](_0x2114bd),_0x3805d5=this[_0x410fd9(0x2e5)]['createInstance'](this['_getCtorByUniverType'](_0x2a5b66),_0x2114bd,_0x2a5b66,_0x40fd30);return await _0x3805d5[_0x410fd9(0x363)](),this['_entityInit$'][_0x410fd9(0x185)](_0x3805d5),_0x3805d5;}[_0x212abf(0x39b)](_0x4d0fed){var _0xb1ccb7=_0x212abf;switch(_0x4d0fed){case _0x10d356[_0xb1ccb7(0x286)]:return _0x1c6aa2[_0xb1ccb7(0x375)];case _0x10d356[_0xb1ccb7(0x2e8)]:return _0x1c6aa2[_0xb1ccb7(0x29c)];default:throw new Error(_0xb1ccb7(0x186)+_0x4d0fed);}}},_0x1c6aa2[_0x212abf(0x46b)]=_0x196776([_0xe8bdf3(0x0,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0xe8bdf3(0x1,_0x2695a7['Inject'](_0x1c6aa2[_0x212abf(0x319)])),_0xe8bdf3(0x2,_0x2695a7[_0x212abf(0x333)]),_0xe8bdf3(0x3,_0x2695a7[_0x212abf(0x4ed)])],_0x1c6aa2['CollaborationController']);var _0x484393=Object[_0x212abf(0x1f8)],_0x1c3ede=(_0x53187a,_0x223dde,_0x1e10cf,_0x12e520)=>{var _0x330779=_0x212abf;for(var _0x83250d=_0x12e520>0x1?void 0x0:_0x12e520?_0x484393(_0x223dde,_0x1e10cf):_0x223dde,_0x34d989=_0x53187a[_0x330779(0x2e2)]-0x1,_0x5e20b1;_0x34d989>=0x0;_0x34d989--)(_0x5e20b1=_0x53187a[_0x34d989])&&(_0x83250d=_0x5e20b1(_0x83250d)||_0x83250d);return _0x83250d;},_0x2e751e=(_0x507d74,_0x1d480f)=>(_0x573e46,_0x2d0a4b)=>_0x1d480f(_0x573e46,_0x2d0a4b,_0x507d74);const _0x6860ba=_0x212abf(0x4ee),_0xf7fe6c=_0x212abf(0x4a7);let _0xe74a3e=class extends _0x2695a7['Disposable']{constructor(_0x30abfc,_0x10149b){var _0x309988=_0x212abf;super(),this[_0x309988(0x490)]=_0x30abfc,this[_0x309988(0x172)]=_0x10149b,this['_init']();}['_init'](){var _0x1a0bb7=_0x212abf;this[_0x1a0bb7(0x2fe)](this[_0x1a0bb7(0x490)]['focused$'][_0x1a0bb7(0x23e)](()=>{var _0x462d74=_0x1a0bb7,_0x2ef7b1;const _0x7e88a6=this[_0x462d74(0x490)]['getFocusedUnit']();let _0x5ec493=(_0x2ef7b1=this['_configService']['getConfig'](_0x6860ba))!=null?_0x2ef7b1:_0xf7fe6c;_0x7e88a6 instanceof _0x2695a7['Workbook']&&(_0x5ec493=_0x7e88a6[_0x462d74(0x264)]),document[_0x462d74(0x2f7)]=_0x5ec493;}));}};_0xe74a3e=_0x1c3ede([_0x2e751e(0x0,_0x2695a7[_0x212abf(0x4ed)]),_0x2e751e(0x1,_0x2695a7[_0x212abf(0x333)])],_0xe74a3e);var _0x9e7954=Object[_0x212abf(0x1f8)],_0x2492d9=(_0x3d9546,_0x17e462,_0x595360,_0x2ebded)=>{var _0xe6029=_0x212abf;for(var _0x882001=_0x2ebded>0x1?void 0x0:_0x2ebded?_0x9e7954(_0x17e462,_0x595360):_0x17e462,_0x23a80f=_0x3d9546[_0xe6029(0x2e2)]-0x1,_0x14625c;_0x23a80f>=0x0;_0x23a80f--)(_0x14625c=_0x3d9546[_0x23a80f])&&(_0x882001=_0x14625c(_0x882001)||_0x882001);return _0x882001;},_0x3208b4=(_0x3a3afa,_0x6cf7cf)=>(_0x35261c,_0x4a0ea7)=>_0x6cf7cf(_0x35261c,_0x4a0ea7,_0x3a3afa);let _0x566f6a=class{constructor(_0x59b5ee,_0x5da145,_0x439755){var _0x4f2f8f=_0x212abf;this['_configService']=_0x59b5ee,this[_0x4f2f8f(0x338)]=_0x5da145,this['localeService']=_0x439755,this[_0x4f2f8f(0x363)]();}[_0x212abf(0x363)](){var _0x5d718a=_0x212abf;this[_0x5d718a(0x338)][_0x5d718a(0x33a)]({'priority':0x1,'interceptor':(_0x9c7bf5,_0x4df2ff)=>_0x4df2ff(_0x9c7bf5)[_0x5d718a(0x1b2)](_0x3b3710[_0x5d718a(0x22c)](async _0x4af7ad=>{var _0x420d64=_0x5d718a;const _0x2dfdb8=_0x4af7ad;if(_0x2dfdb8[_0x420d64(0x4f1)]===0x191){if(typeof window>'u')throw new Error(_0x420d64(0x4df));if(window['confirm'](this[_0x420d64(0x2f6)]['t'](_0x420d64(0x4ae)))){const _0x27d9c8=window[_0x420d64(0x2de)](window[_0x420d64(0x4d5)][_0x420d64(0x3cf)]);window[_0x420d64(0x4d5)][_0x420d64(0x3cf)]=this['_getLoginPath']()+_0x420d64(0x29b)+_0x27d9c8;}}return _0x2dfdb8;}))});}[_0x212abf(0x277)](){var _0x38b29c=_0x212abf,_0x4d52d4;const _0xa8e425=this['_configService']['getConfig'](_0x391e6e);return(_0x4d52d4=_0xa8e425==null?void 0x0:_0xa8e425[_0x38b29c(0x255)])!=null?_0x4d52d4:_0xb6b83;}};_0x566f6a=_0x2492d9([_0x3208b4(0x0,_0x2695a7[_0x212abf(0x333)]),_0x3208b4(0x1,_0x2695a7[_0x212abf(0x4c1)](_0x3e19df[_0x212abf(0x355)])),_0x3208b4(0x2,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7['LocaleService']))],_0x566f6a);var _0x3ce19a=Object['getOwnPropertyDescriptor'],_0xdb9b45=(_0x364342,_0xd3ea01,_0x194d8a,_0x4ee9a6)=>{for(var _0x4f7fa5=_0x4ee9a6>0x1?void 0x0:_0x4ee9a6?_0x3ce19a(_0xd3ea01,_0x194d8a):_0xd3ea01,_0x56d336=_0x364342['length']-0x1,_0x220cc3;_0x56d336>=0x0;_0x56d336--)(_0x220cc3=_0x364342[_0x56d336])&&(_0x4f7fa5=_0x220cc3(_0x4f7fa5)||_0x4f7fa5);return _0x4f7fa5;},_0xc1e040=(_0x39e2cf,_0x21ab9a)=>(_0x403146,_0x514410)=>_0x21ab9a(_0x403146,_0x514410,_0x39e2cf);const _0x2afe83=_0x212abf(0x40d);_0x1c6aa2[_0x212abf(0x307)]=class extends _0x2695a7[_0x212abf(0x322)]{constructor(_0x311a73,_0x411047){var _0x2001a7=_0x212abf;super(),this[_0x2001a7(0x290)]=_0x311a73,this['_configService']=_0x411047,this[_0x2001a7(0x27e)]();}[_0x212abf(0x27e)](){var _0x2eee24=_0x212abf;const _0x17b4a7=this;this['disposeWithMe'](this['_HTTPService'][_0x2eee24(0x33a)]({'priority':0x3e7,'interceptor':_0x3e19df[_0x2eee24(0x34b)]({'isMatch'(_0x58d049){var _0x11376e=_0x2eee24,_0x5f5a60;if(_0x58d049[_0x11376e(0x430)]===_0x11376e(0x2b8)&&((_0x5f5a60=_0x58d049[_0x11376e(0x25a)])!=null&&_0x5f5a60[_0x11376e(0x420)])){const {objectID:_0x317e5f,objectType:_0x5c3fff}=_0x58d049[_0x11376e(0x25a)][_0x11376e(0x420)]||{};if(!_0x317e5f||_0x5c3fff===void 0x0)return!0x1;const _0x58f35=_0x17b4a7['_getAPIPrefixPath']()+'/'+_0x5c3fff+_0x11376e(0x1c4)+_0x317e5f+_0x11376e(0x445);if(_0x58d049[_0x11376e(0x50a)]===_0x58f35)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x57169f){var _0x8aefe3=_0x2eee24,_0x259312;return(_0x259312=_0x57169f[_0x8aefe3(0x25a)])==null?void 0x0:_0x259312['body'];},'mergeParamsToRequest'(_0x403968,_0x1e6775){var _0x57a581=_0x2eee24;const _0x56214d=_0x17b4a7[_0x57a581(0x485)]()+_0x57a581(0x433),_0x2201a8=_0x403968[_0x57a581(0x332)]((_0x205ceb,_0x445cb7)=>{var _0xe746ab=_0x57a581;const {unitID:_0x2f9a74,objectID:_0x24eb7c,objectType:_0x144d3c,actions:_0x162547}=_0x445cb7;return _0x205ceb[_0x2f9a74]||(_0x205ceb[_0x2f9a74]={}),_0x205ceb[_0x2f9a74][_0x24eb7c]||(_0x205ceb[_0x2f9a74][_0x24eb7c]={'objectID':_0x24eb7c,'objectType':_0x144d3c,'actions':[]}),_0x205ceb[_0x2f9a74][_0x24eb7c]['actions'][_0xe746ab(0x4d2)](..._0x162547),_0x205ceb;},{}),_0x170038=[];for(const _0x249ccd in _0x2201a8)for(const _0x2700a1 in _0x2201a8[_0x249ccd]){const {actions:_0x33c6ef,objectType:_0x34daf8}=_0x2201a8[_0x249ccd][_0x2700a1],_0xa630fd=[...new Set(_0x33c6ef)];_0x170038[_0x57a581(0x4d2)]({'unitID':_0x249ccd,'objectID':_0x2700a1,'objectType':_0x34daf8,'actions':_0xa630fd});}return new _0x3e19df[(_0x57a581(0x501))](_0x57a581(0x2b8),_0x56214d,{'headers':_0x1e6775[_0x57a581(0x4d8)],'withCredentials':_0x1e6775['withCredentials'],'responseType':_0x1e6775['responseType'],'body':{'requests':_0x170038}});}},{'distributeResult'(_0xb2a2ca,_0x45edea){var _0x1179e6=_0x2eee24;const {objectActions:_0x16e6a1}=_0xb2a2ca;return _0x45edea[_0x1179e6(0x1eb)](_0x106e57=>{var _0x1c24d3=_0x1179e6;const {unitID:_0x1e8a4,objectID:_0x443ffe,actions:_0xd89638}=_0x106e57,_0x319d36=_0x16e6a1[_0x1c24d3(0x34c)](_0x3a956e=>_0x3a956e['unitID']===_0x1e8a4&&_0x3a956e['objectID']===_0x443ffe),_0x1a2474=_0xd89638[_0x1c24d3(0x1eb)](_0x3a15f3=>_0x319d36==null?void 0x0:_0x319d36[_0x1c24d3(0x2ef)]['find'](_0xdd5125=>_0xdd5125[_0x1c24d3(0x4d1)]===_0x3a15f3))['filter'](_0x48e9c7=>!!_0x48e9c7);return{'config':_0x106e57,'result':{'actions':_0x1a2474,'error':_0xb2a2ca[_0x1c24d3(0x4c9)]}};});}})}));}[_0x212abf(0x485)](){var _0x400245=_0x212abf,_0x287eab;const _0x27f335=this[_0x400245(0x172)]['getConfig'](_0x391e6e);return(_0x287eab=_0x27f335==null?void 0x0:_0x27f335[_0x400245(0x3a4)])!=null?_0x287eab:_0x2afe83;}async[_0x212abf(0x457)](_0xec35ba){var _0x34c5c7=_0x212abf;const _0x4427d5=this[_0x34c5c7(0x485)]()+'/'+_0xec35ba[_0x34c5c7(0x4fc)]+'/object';return(await this[_0x34c5c7(0x290)][_0x34c5c7(0x43b)](_0x4427d5,{'body':_0xec35ba}))[_0x34c5c7(0x420)][_0x34c5c7(0x2b6)]||'';}async['list'](_0x52b1d4){var _0x5ebecc=_0x212abf;const _0x41b823=this[_0x5ebecc(0x485)]()+_0x5ebecc(0x4d0);return(await this['_HTTPService']['post'](_0x41b823,{'body':_0x52b1d4}))['body'][_0x5ebecc(0x2a9)];}async[_0x212abf(0x27b)](_0x57212d){var _0x29dd23=_0x212abf,_0x4253c7,_0x194f12;const _0x2c7f67=this['_getAPIPrefixPath']()+'/'+_0x57212d[_0x29dd23(0x4fc)]+_0x29dd23(0x1c4)+_0x57212d[_0x29dd23(0x2b6)],_0x252f40=await this[_0x29dd23(0x290)][_0x29dd23(0x369)](_0x2c7f67,{'body':_0x57212d});if(((_0x194f12=(_0x4253c7=_0x252f40==null?void 0x0:_0x252f40[_0x29dd23(0x420)])==null?void 0x0:_0x4253c7[_0x29dd23(0x4c9)])==null?void 0x0:_0x194f12[_0x29dd23(0x4bc)])!==0x1)throw new Error(_0x29dd23(0x36b));}async[_0x212abf(0x26c)](_0x22e810){var _0x58186d=_0x212abf;const _0x44f342=this[_0x58186d(0x485)]()+'/'+_0x22e810[_0x58186d(0x4fc)]+_0x58186d(0x1c4)+_0x22e810['objectID']+_0x58186d(0x445);return(await this[_0x58186d(0x290)][_0x58186d(0x43b)](_0x44f342,{'body':_0x22e810}))[_0x58186d(0x420)][_0x58186d(0x2ef)];}async[_0x212abf(0x2bc)](_0x461f6b){var _0x38968d=_0x212abf;const _0x17623b=this[_0x38968d(0x485)]()+'/-/object/-/batch_allowed';return(await this[_0x38968d(0x290)][_0x38968d(0x43b)](_0x17623b,{'body':{'requests':_0x461f6b}}))[_0x38968d(0x420)]['objectActions'];}async[_0x212abf(0x3db)](_0xd23737){var _0x4ad98e=_0x212abf;const _0x344c29=this['_getAPIPrefixPath']()+'/'+_0xd23737[_0x4ad98e(0x4fc)]+_0x4ad98e(0x1ea),_0x37b22a=await this['_HTTPService'][_0x4ad98e(0x43b)](_0x344c29,{'body':_0xd23737});return{'roles':_0x37b22a['body'][_0x4ad98e(0x270)],'actions':_0x37b22a['body'][_0x4ad98e(0x2ef)]};}async['deleteCollaborator'](_0x278c81){var _0x25e8c5=_0x212abf;const _0x4609b3=this[_0x25e8c5(0x485)]()+_0x25e8c5(0x2cc);await this[_0x25e8c5(0x290)][_0x25e8c5(0x360)](_0x4609b3,{'params':{'collaboratorID':_0x278c81[_0x25e8c5(0x19d)],'objectID':_0x278c81['objectID'],'unitID':_0x278c81[_0x25e8c5(0x254)]}});}async[_0x212abf(0x470)](_0x299b53){var _0x5e61ca=_0x212abf;const _0x10d5b0=this[_0x5e61ca(0x485)]()+_0x5e61ca(0x2cc);await this[_0x5e61ca(0x290)][_0x5e61ca(0x438)](_0x10d5b0,{'body':_0x299b53});}async[_0x212abf(0x3dd)](_0x36d668){var _0x5bd681=_0x212abf;const _0x9ec0ce=this[_0x5bd681(0x485)]()+'/collaborator';await this[_0x5bd681(0x290)][_0x5bd681(0x43b)](_0x9ec0ce,{'body':_0x36d668});}async[_0x212abf(0x3aa)](_0x41cd42){var _0x206495=_0x212abf;const _0x40f271=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService'][_0x206495(0x2e4)](_0x40f271,{'params':{'objectID':_0x41cd42[_0x206495(0x2b6)],'unitID':_0x41cd42['unitID']}}))[_0x206495(0x420)][_0x206495(0x18c)];}async[_0x212abf(0x3d9)](_0x2c5396){var _0xeb9d3f=_0x212abf;const _0x210943=this['_getAPIPrefixPath']()+_0xeb9d3f(0x2cc);await this[_0xeb9d3f(0x290)][_0xeb9d3f(0x369)](_0x210943,{'body':_0x2c5396});}},_0x1c6aa2['AuthzIoHttpService']=_0xdb9b45([_0xc1e040(0x0,_0x2695a7[_0x212abf(0x4c1)](_0x3e19df['HTTPService'])),_0xc1e040(0x1,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7['IConfigService']))],_0x1c6aa2['AuthzIoHttpService']);var _0x339b0f=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x38b545(_0x28218e){var _0x300f37=_0x212abf;return _0x28218e&&_0x28218e[_0x300f37(0x454)]&&Object[_0x300f37(0x1ec)][_0x300f37(0x241)][_0x300f37(0x2b1)](_0x28218e,_0x300f37(0x4f5))?_0x28218e['default']:_0x28218e;}var _0x28f2b7={'exports':{}};function _0x160e68(_0x5dc6ab){var _0x434896=_0x212abf;throw new Error(_0x434896(0x50c)+_0x5dc6ab+_0x434896(0x41f));}var _0x186fbf={'exports':{}},_0x1ab288=_0x186fbf[_0x212abf(0x3a6)],_0x5b9e31;function _0x13d30e(){var _0x44b38c=_0x212abf;return _0x5b9e31||(_0x5b9e31=0x1,function(_0xc58b20,_0x4be9fe){(function(_0x19d3d6,_0x92fcca){var _0x1557d0=_0x1abf;_0xc58b20[_0x1557d0(0x3a6)]=_0x92fcca();}(_0x1ab288,function(){var _0x264eb8=_0x264eb8||function(_0x297c57,_0x472127){var _0x2bf616=_0x1abf,_0xb32c81;if(typeof window<'u'&&window[_0x2bf616(0x3c0)]&&(_0xb32c81=window['crypto']),typeof self<'u'&&self[_0x2bf616(0x3c0)]&&(_0xb32c81=self['crypto']),typeof globalThis<'u'&&globalThis[_0x2bf616(0x3c0)]&&(_0xb32c81=globalThis[_0x2bf616(0x3c0)]),!_0xb32c81&&typeof window<'u'&&window['msCrypto']&&(_0xb32c81=window[_0x2bf616(0x483)]),!_0xb32c81&&typeof _0x339b0f<'u'&&_0x339b0f[_0x2bf616(0x3c0)]&&(_0xb32c81=_0x339b0f['crypto']),!_0xb32c81&&typeof _0x160e68==_0x2bf616(0x1fc))try{_0xb32c81=require('crypto');}catch{}var _0x436ca3=function(){var _0x1fe94c=_0x2bf616;if(_0xb32c81){if(typeof _0xb32c81[_0x1fe94c(0x37d)]==_0x1fe94c(0x1fc))try{return _0xb32c81['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xb32c81[_0x1fe94c(0x3c7)]==_0x1fe94c(0x1fc))try{return _0xb32c81[_0x1fe94c(0x3c7)](0x4)[_0x1fe94c(0x3c2)]();}catch{}}throw new Error(_0x1fe94c(0x4e7));},_0xfa0e7=Object['create']||(function(){function _0x4e2730(){}return function(_0x3dca0c){var _0x50cf3f=_0x1abf,_0x5ec05a;return _0x4e2730[_0x50cf3f(0x1ec)]=_0x3dca0c,_0x5ec05a=new _0x4e2730(),_0x4e2730['prototype']=null,_0x5ec05a;};}()),_0xb8fcb4={},_0x54a5c9=_0xb8fcb4[_0x2bf616(0x449)]={},_0x2e13e0=_0x54a5c9[_0x2bf616(0x348)]=(function(){return{'extend':function(_0x4126f0){var _0x2cb633=_0x1abf,_0xa6eabb=_0xfa0e7(this);return _0x4126f0&&_0xa6eabb[_0x2cb633(0x43e)](_0x4126f0),(!_0xa6eabb[_0x2cb633(0x241)]('init')||this[_0x2cb633(0x363)]===_0xa6eabb[_0x2cb633(0x363)])&&(_0xa6eabb[_0x2cb633(0x363)]=function(){var _0x550255=_0x2cb633;_0xa6eabb[_0x550255(0x303)][_0x550255(0x363)][_0x550255(0x29e)](this,arguments);}),_0xa6eabb[_0x2cb633(0x363)][_0x2cb633(0x1ec)]=_0xa6eabb,_0xa6eabb[_0x2cb633(0x303)]=this,_0xa6eabb;},'create':function(){var _0x68f84b=_0x1abf,_0x308e83=this[_0x68f84b(0x29d)]();return _0x308e83[_0x68f84b(0x363)][_0x68f84b(0x29e)](_0x308e83,arguments),_0x308e83;},'init':function(){},'mixIn':function(_0x582f3f){var _0x5687f8=_0x1abf;for(var _0x37f422 in _0x582f3f)_0x582f3f[_0x5687f8(0x241)](_0x37f422)&&(this[_0x37f422]=_0x582f3f[_0x37f422]);_0x582f3f['hasOwnProperty'](_0x5687f8(0x381))&&(this[_0x5687f8(0x381)]=_0x582f3f[_0x5687f8(0x381)]);},'clone':function(){var _0x45a436=_0x1abf;return this['init'][_0x45a436(0x1ec)][_0x45a436(0x29d)](this);}};}()),_0x118dfb=_0x54a5c9['WordArray']=_0x2e13e0['extend']({'init':function(_0x14ac68,_0x3679f2){var _0x153ab5=_0x2bf616;_0x14ac68=this[_0x153ab5(0x256)]=_0x14ac68||[],_0x3679f2!=_0x472127?this[_0x153ab5(0x3d8)]=_0x3679f2:this[_0x153ab5(0x3d8)]=_0x14ac68[_0x153ab5(0x2e2)]*0x4;},'toString':function(_0x2553d7){return(_0x2553d7||_0x59a191)['stringify'](this);},'concat':function(_0x4f211c){var _0x59c50b=_0x2bf616,_0x214750=this['words'],_0x19f847=_0x4f211c[_0x59c50b(0x256)],_0x7c311d=this['sigBytes'],_0x4a0138=_0x4f211c[_0x59c50b(0x3d8)];if(this[_0x59c50b(0x4fe)](),_0x7c311d%0x4)for(var _0x4a6c82=0x0;_0x4a6c82<_0x4a0138;_0x4a6c82++){var _0x24b2c7=_0x19f847[_0x4a6c82>>>0x2]>>>0x18-_0x4a6c82%0x4*0x8&0xff;_0x214750[_0x7c311d+_0x4a6c82>>>0x2]|=_0x24b2c7<<0x18-(_0x7c311d+_0x4a6c82)%0x4*0x8;}else{for(var _0x2b7d5d=0x0;_0x2b7d5d<_0x4a0138;_0x2b7d5d+=0x4)_0x214750[_0x7c311d+_0x2b7d5d>>>0x2]=_0x19f847[_0x2b7d5d>>>0x2];}return this[_0x59c50b(0x3d8)]+=_0x4a0138,this;},'clamp':function(){var _0x1d992a=_0x2bf616,_0x3280ac=this[_0x1d992a(0x256)],_0x5273b7=this[_0x1d992a(0x3d8)];_0x3280ac[_0x5273b7>>>0x2]&=0xffffffff<<0x20-_0x5273b7%0x4*0x8,_0x3280ac['length']=_0x297c57['ceil'](_0x5273b7/0x4);},'clone':function(){var _0x3a0c9c=_0x2bf616,_0x3785f4=_0x2e13e0[_0x3a0c9c(0x1a0)][_0x3a0c9c(0x2b1)](this);return _0x3785f4['words']=this['words'][_0x3a0c9c(0x313)](0x0),_0x3785f4;},'random':function(_0xdb3a22){var _0x2ea05c=_0x2bf616;for(var _0x36d26d=[],_0x3d3cbc=0x0;_0x3d3cbc<_0xdb3a22;_0x3d3cbc+=0x4)_0x36d26d[_0x2ea05c(0x4d2)](_0x436ca3());return new _0x118dfb[(_0x2ea05c(0x363))](_0x36d26d,_0xdb3a22);}}),_0x2625a0=_0xb8fcb4['enc']={},_0x59a191=_0x2625a0['Hex']={'stringify':function(_0x104dc7){var _0x8e1aed=_0x2bf616;for(var _0x1c949b=_0x104dc7[_0x8e1aed(0x256)],_0xc4ffb8=_0x104dc7[_0x8e1aed(0x3d8)],_0x469b88=[],_0x2989ff=0x0;_0x2989ff<_0xc4ffb8;_0x2989ff++){var _0xf7458a=_0x1c949b[_0x2989ff>>>0x2]>>>0x18-_0x2989ff%0x4*0x8&0xff;_0x469b88[_0x8e1aed(0x4d2)]((_0xf7458a>>>0x4)[_0x8e1aed(0x381)](0x10)),_0x469b88[_0x8e1aed(0x4d2)]((_0xf7458a&0xf)[_0x8e1aed(0x381)](0x10));}return _0x469b88[_0x8e1aed(0x330)]('');},'parse':function(_0x1e7939){var _0x1cd7c7=_0x2bf616;for(var _0x1802cb=_0x1e7939[_0x1cd7c7(0x2e2)],_0x435060=[],_0x564292=0x0;_0x564292<_0x1802cb;_0x564292+=0x2)_0x435060[_0x564292>>>0x3]|=parseInt(_0x1e7939[_0x1cd7c7(0x327)](_0x564292,0x2),0x10)<<0x18-_0x564292%0x8*0x4;return new _0x118dfb[(_0x1cd7c7(0x363))](_0x435060,_0x1802cb/0x2);}},_0x1d3b34=_0x2625a0['Latin1']={'stringify':function(_0xba5d9f){var _0xfc6621=_0x2bf616;for(var _0x3f5126=_0xba5d9f[_0xfc6621(0x256)],_0x32117a=_0xba5d9f[_0xfc6621(0x3d8)],_0x236143=[],_0x39acb8=0x0;_0x39acb8<_0x32117a;_0x39acb8++){var _0x51a6e9=_0x3f5126[_0x39acb8>>>0x2]>>>0x18-_0x39acb8%0x4*0x8&0xff;_0x236143[_0xfc6621(0x4d2)](String[_0xfc6621(0x45d)](_0x51a6e9));}return _0x236143[_0xfc6621(0x330)]('');},'parse':function(_0x4d6db2){var _0x3c274b=_0x2bf616;for(var _0x11971a=_0x4d6db2[_0x3c274b(0x2e2)],_0x2e7e2a=[],_0x2c6759=0x0;_0x2c6759<_0x11971a;_0x2c6759++)_0x2e7e2a[_0x2c6759>>>0x2]|=(_0x4d6db2[_0x3c274b(0x240)](_0x2c6759)&0xff)<<0x18-_0x2c6759%0x4*0x8;return new _0x118dfb['init'](_0x2e7e2a,_0x11971a);}},_0x590ab1=_0x2625a0['Utf8']={'stringify':function(_0x799aac){var _0x311e48=_0x2bf616;try{return decodeURIComponent(escape(_0x1d3b34['stringify'](_0x799aac)));}catch{throw new Error(_0x311e48(0x1de));}},'parse':function(_0x323173){return _0x1d3b34['parse'](unescape(encodeURIComponent(_0x323173)));}},_0x2018ec=_0x54a5c9[_0x2bf616(0x2cb)]=_0x2e13e0[_0x2bf616(0x29d)]({'reset':function(){var _0x3c13da=_0x2bf616;this[_0x3c13da(0x32b)]=new _0x118dfb['init'](),this[_0x3c13da(0x3e8)]=0x0;},'_append':function(_0x283d8e){var _0xe8eb5a=_0x2bf616;typeof _0x283d8e=='string'&&(_0x283d8e=_0x590ab1[_0xe8eb5a(0x1bd)](_0x283d8e)),this['_data'][_0xe8eb5a(0x45c)](_0x283d8e),this[_0xe8eb5a(0x3e8)]+=_0x283d8e[_0xe8eb5a(0x3d8)];},'_process':function(_0xacc9cc){var _0x48b8d6=_0x2bf616,_0x7b7649,_0x484a91=this[_0x48b8d6(0x32b)],_0x5929e0=_0x484a91[_0x48b8d6(0x256)],_0x49cf07=_0x484a91[_0x48b8d6(0x3d8)],_0x517371=this[_0x48b8d6(0x353)],_0xe835cb=_0x517371*0x4,_0x3dd239=_0x49cf07/_0xe835cb;_0xacc9cc?_0x3dd239=_0x297c57[_0x48b8d6(0x32e)](_0x3dd239):_0x3dd239=_0x297c57['max']((_0x3dd239|0x0)-this['_minBufferSize'],0x0);var _0x5ef7ab=_0x3dd239*_0x517371,_0x450f1b=_0x297c57[_0x48b8d6(0x4cc)](_0x5ef7ab*0x4,_0x49cf07);if(_0x5ef7ab){for(var _0x5aee4b=0x0;_0x5aee4b<_0x5ef7ab;_0x5aee4b+=_0x517371)this[_0x48b8d6(0x258)](_0x5929e0,_0x5aee4b);_0x7b7649=_0x5929e0[_0x48b8d6(0x2ad)](0x0,_0x5ef7ab),_0x484a91[_0x48b8d6(0x3d8)]-=_0x450f1b;}return new _0x118dfb[(_0x48b8d6(0x363))](_0x7b7649,_0x450f1b);},'clone':function(){var _0x963413=_0x2bf616,_0x5ec51f=_0x2e13e0[_0x963413(0x1a0)][_0x963413(0x2b1)](this);return _0x5ec51f[_0x963413(0x32b)]=this[_0x963413(0x32b)][_0x963413(0x1a0)](),_0x5ec51f;},'_minBufferSize':0x0});_0x54a5c9[_0x2bf616(0x382)]=_0x2018ec[_0x2bf616(0x29d)]({'cfg':_0x2e13e0[_0x2bf616(0x29d)](),'init':function(_0x8e3521){var _0x506894=_0x2bf616;this[_0x506894(0x229)]=this[_0x506894(0x229)][_0x506894(0x29d)](_0x8e3521),this['reset']();},'reset':function(){var _0x43caf1=_0x2bf616;_0x2018ec[_0x43caf1(0x443)]['call'](this),this[_0x43caf1(0x1b0)]();},'update':function(_0x2ba121){var _0x154ea3=_0x2bf616;return this[_0x154ea3(0x1f6)](_0x2ba121),this[_0x154ea3(0x412)](),this;},'finalize':function(_0x54c0cd){var _0x4bd479=_0x2bf616;_0x54c0cd&&this[_0x4bd479(0x1f6)](_0x54c0cd);var _0x13a3c2=this[_0x4bd479(0x480)]();return _0x13a3c2;},'blockSize':0x10,'_createHelper':function(_0x14ea71){return function(_0x17461f,_0x1cebb0){var _0x227136=_0x1abf;return new _0x14ea71[(_0x227136(0x363))](_0x1cebb0)[_0x227136(0x221)](_0x17461f);};},'_createHmacHelper':function(_0x23c860){return function(_0x1cc749,_0x12f6bd){var _0x47bb90=_0x1abf;return new _0x30cc8a[(_0x47bb90(0x1d3))][(_0x47bb90(0x363))](_0x23c860,_0x12f6bd)[_0x47bb90(0x221)](_0x1cc749);};}});var _0x30cc8a=_0xb8fcb4[_0x2bf616(0x495)]={};return _0xb8fcb4;}(Math);return _0x264eb8;}));}(_0x186fbf)),_0x186fbf[_0x44b38c(0x3a6)];}var _0x58387c={'exports':{}},_0xd860cf=_0x58387c[_0x212abf(0x3a6)],_0x40fef1;function _0x3b52ae(){var _0x1b2ebd=_0x212abf;return _0x40fef1||(_0x40fef1=0x1,function(_0xd7459f,_0x3a4bdb){(function(_0x31e7f3,_0x54d52e){_0xd7459f['exports']=_0x54d52e(_0x13d30e());}(_0xd860cf,function(_0x4a6d91){var _0x257dd0=_0x1abf;return(function(){var _0x38eb25=_0x1abf,_0x52c0a3=_0x4a6d91,_0x3a47c3=_0x52c0a3[_0x38eb25(0x449)],_0x1b4b49=_0x3a47c3[_0x38eb25(0x2e1)],_0x2dce18=_0x52c0a3['enc'];_0x2dce18['Base64']={'stringify':function(_0x44965f){var _0x1ead46=_0x38eb25,_0x2454f9=_0x44965f['words'],_0x9bc22d=_0x44965f[_0x1ead46(0x3d8)],_0x8f3ab5=this[_0x1ead46(0x441)];_0x44965f['clamp']();for(var _0x21a316=[],_0x126929=0x0;_0x126929<_0x9bc22d;_0x126929+=0x3)for(var _0x4f0736=_0x2454f9[_0x126929>>>0x2]>>>0x18-_0x126929%0x4*0x8&0xff,_0x1a9b17=_0x2454f9[_0x126929+0x1>>>0x2]>>>0x18-(_0x126929+0x1)%0x4*0x8&0xff,_0x1e05d7=_0x2454f9[_0x126929+0x2>>>0x2]>>>0x18-(_0x126929+0x2)%0x4*0x8&0xff,_0x44d26f=_0x4f0736<<0x10|_0x1a9b17<<0x8|_0x1e05d7,_0x55773b=0x0;_0x55773b<0x4&&_0x126929+_0x55773b*0.75<_0x9bc22d;_0x55773b++)_0x21a316[_0x1ead46(0x4d2)](_0x8f3ab5[_0x1ead46(0x24a)](_0x44d26f>>>0x6*(0x3-_0x55773b)&0x3f));var _0x2ebe9e=_0x8f3ab5[_0x1ead46(0x24a)](0x40);if(_0x2ebe9e){for(;_0x21a316[_0x1ead46(0x2e2)]%0x4;)_0x21a316[_0x1ead46(0x4d2)](_0x2ebe9e);}return _0x21a316[_0x1ead46(0x330)]('');},'parse':function(_0x27b1f0){var _0x2abcfd=_0x38eb25,_0x252987=_0x27b1f0[_0x2abcfd(0x2e2)],_0x3816cb=this[_0x2abcfd(0x441)],_0x225b19=this[_0x2abcfd(0x385)];if(!_0x225b19){_0x225b19=this['_reverseMap']=[];for(var _0x2a328c=0x0;_0x2a328c<_0x3816cb[_0x2abcfd(0x2e2)];_0x2a328c++)_0x225b19[_0x3816cb[_0x2abcfd(0x240)](_0x2a328c)]=_0x2a328c;}var _0x47c16a=_0x3816cb[_0x2abcfd(0x24a)](0x40);if(_0x47c16a){var _0x195f02=_0x27b1f0[_0x2abcfd(0x442)](_0x47c16a);_0x195f02!==-0x1&&(_0x252987=_0x195f02);}return _0x58292d(_0x27b1f0,_0x252987,_0x225b19);},'_map':_0x38eb25(0x36e)};function _0x58292d(_0x233f56,_0x5bd56f,_0x4c9ab9){var _0x41617f=_0x38eb25;for(var _0x2e19c4=[],_0x5e86be=0x0,_0x1c25a0=0x0;_0x1c25a0<_0x5bd56f;_0x1c25a0++)if(_0x1c25a0%0x4){var _0x45e245=_0x4c9ab9[_0x233f56[_0x41617f(0x240)](_0x1c25a0-0x1)]<<_0x1c25a0%0x4*0x2,_0x1bcb75=_0x4c9ab9[_0x233f56['charCodeAt'](_0x1c25a0)]>>>0x6-_0x1c25a0%0x4*0x2,_0x4e340e=_0x45e245|_0x1bcb75;_0x2e19c4[_0x5e86be>>>0x2]|=_0x4e340e<<0x18-_0x5e86be%0x4*0x8,_0x5e86be++;}return _0x1b4b49[_0x41617f(0x457)](_0x2e19c4,_0x5e86be);}}()),_0x4a6d91[_0x257dd0(0x1cc)][_0x257dd0(0x3a7)];}));}(_0x58387c)),_0x58387c[_0x1b2ebd(0x3a6)];}var _0x3511ff={'exports':{}},_0x45418f=_0x3511ff[_0x212abf(0x3a6)],_0x2affde;function _0x29f972(){var _0x1c9892=_0x212abf;return _0x2affde||(_0x2affde=0x1,function(_0x310626,_0x5712b8){(function(_0x547d7e,_0x1a3dfc){var _0x3a0fe2=_0x1abf;_0x310626[_0x3a0fe2(0x3a6)]=_0x1a3dfc(_0x13d30e());}(_0x45418f,function(_0x2d7b6f){return function(_0x137620){var _0x1f1a6b=_0x1abf,_0xb95b88=_0x2d7b6f,_0x5951d4=_0xb95b88[_0x1f1a6b(0x449)],_0x1b238c=_0x5951d4['WordArray'],_0x179953=_0x5951d4['Hasher'],_0x35f6d2=_0xb95b88['algo'],_0x3db8ce=[];(function(){var _0xe1fba2=_0x1f1a6b;for(var _0xde4541=0x0;_0xde4541<0x40;_0xde4541++)_0x3db8ce[_0xde4541]=_0x137620[_0xe1fba2(0x3b1)](_0x137620[_0xe1fba2(0x3b2)](_0xde4541+0x1))*0x100000000|0x0;}());var _0x3b29e7=_0x35f6d2[_0x1f1a6b(0x30e)]=_0x179953['extend']({'_doReset':function(){var _0x18800d=_0x1f1a6b;this['_hash']=new _0x1b238c[(_0x18800d(0x363))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x29248a,_0x142b1e){var _0x186563=_0x1f1a6b;for(var _0x3f19c1=0x0;_0x3f19c1<0x10;_0x3f19c1++){var _0x384a46=_0x142b1e+_0x3f19c1,_0x1eb438=_0x29248a[_0x384a46];_0x29248a[_0x384a46]=(_0x1eb438<<0x8|_0x1eb438>>>0x18)&0xff00ff|(_0x1eb438<<0x18|_0x1eb438>>>0x8)&0xff00ff00;}var _0x1c198d=this[_0x186563(0x481)][_0x186563(0x256)],_0x34a997=_0x29248a[_0x142b1e+0x0],_0xf4cca1=_0x29248a[_0x142b1e+0x1],_0x1c6940=_0x29248a[_0x142b1e+0x2],_0x159476=_0x29248a[_0x142b1e+0x3],_0x2b16b3=_0x29248a[_0x142b1e+0x4],_0x19e2bb=_0x29248a[_0x142b1e+0x5],_0x55a47d=_0x29248a[_0x142b1e+0x6],_0x4affd4=_0x29248a[_0x142b1e+0x7],_0x3a7bb2=_0x29248a[_0x142b1e+0x8],_0x294827=_0x29248a[_0x142b1e+0x9],_0x425e49=_0x29248a[_0x142b1e+0xa],_0x154d89=_0x29248a[_0x142b1e+0xb],_0x31c7c4=_0x29248a[_0x142b1e+0xc],_0x1d6b3a=_0x29248a[_0x142b1e+0xd],_0x5b98d3=_0x29248a[_0x142b1e+0xe],_0x699e1d=_0x29248a[_0x142b1e+0xf],_0x15c363=_0x1c198d[0x0],_0x803353=_0x1c198d[0x1],_0x2b41c9=_0x1c198d[0x2],_0x3ac80d=_0x1c198d[0x3];_0x15c363=_0x3dcb93(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x34a997,0x7,_0x3db8ce[0x0]),_0x3ac80d=_0x3dcb93(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0xf4cca1,0xc,_0x3db8ce[0x1]),_0x2b41c9=_0x3dcb93(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x1c6940,0x11,_0x3db8ce[0x2]),_0x803353=_0x3dcb93(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x159476,0x16,_0x3db8ce[0x3]),_0x15c363=_0x3dcb93(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x2b16b3,0x7,_0x3db8ce[0x4]),_0x3ac80d=_0x3dcb93(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x19e2bb,0xc,_0x3db8ce[0x5]),_0x2b41c9=_0x3dcb93(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x55a47d,0x11,_0x3db8ce[0x6]),_0x803353=_0x3dcb93(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x4affd4,0x16,_0x3db8ce[0x7]),_0x15c363=_0x3dcb93(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x3a7bb2,0x7,_0x3db8ce[0x8]),_0x3ac80d=_0x3dcb93(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x294827,0xc,_0x3db8ce[0x9]),_0x2b41c9=_0x3dcb93(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x425e49,0x11,_0x3db8ce[0xa]),_0x803353=_0x3dcb93(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x154d89,0x16,_0x3db8ce[0xb]),_0x15c363=_0x3dcb93(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x31c7c4,0x7,_0x3db8ce[0xc]),_0x3ac80d=_0x3dcb93(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x1d6b3a,0xc,_0x3db8ce[0xd]),_0x2b41c9=_0x3dcb93(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x5b98d3,0x11,_0x3db8ce[0xe]),_0x803353=_0x3dcb93(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x699e1d,0x16,_0x3db8ce[0xf]),_0x15c363=_0x25ff81(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0xf4cca1,0x5,_0x3db8ce[0x10]),_0x3ac80d=_0x25ff81(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x55a47d,0x9,_0x3db8ce[0x11]),_0x2b41c9=_0x25ff81(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x154d89,0xe,_0x3db8ce[0x12]),_0x803353=_0x25ff81(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x34a997,0x14,_0x3db8ce[0x13]),_0x15c363=_0x25ff81(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x19e2bb,0x5,_0x3db8ce[0x14]),_0x3ac80d=_0x25ff81(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x425e49,0x9,_0x3db8ce[0x15]),_0x2b41c9=_0x25ff81(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x699e1d,0xe,_0x3db8ce[0x16]),_0x803353=_0x25ff81(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x2b16b3,0x14,_0x3db8ce[0x17]),_0x15c363=_0x25ff81(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x294827,0x5,_0x3db8ce[0x18]),_0x3ac80d=_0x25ff81(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x5b98d3,0x9,_0x3db8ce[0x19]),_0x2b41c9=_0x25ff81(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x159476,0xe,_0x3db8ce[0x1a]),_0x803353=_0x25ff81(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x3a7bb2,0x14,_0x3db8ce[0x1b]),_0x15c363=_0x25ff81(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x1d6b3a,0x5,_0x3db8ce[0x1c]),_0x3ac80d=_0x25ff81(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x1c6940,0x9,_0x3db8ce[0x1d]),_0x2b41c9=_0x25ff81(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x4affd4,0xe,_0x3db8ce[0x1e]),_0x803353=_0x25ff81(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x31c7c4,0x14,_0x3db8ce[0x1f]),_0x15c363=_0x4040f8(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x19e2bb,0x4,_0x3db8ce[0x20]),_0x3ac80d=_0x4040f8(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x3a7bb2,0xb,_0x3db8ce[0x21]),_0x2b41c9=_0x4040f8(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x154d89,0x10,_0x3db8ce[0x22]),_0x803353=_0x4040f8(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x5b98d3,0x17,_0x3db8ce[0x23]),_0x15c363=_0x4040f8(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0xf4cca1,0x4,_0x3db8ce[0x24]),_0x3ac80d=_0x4040f8(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x2b16b3,0xb,_0x3db8ce[0x25]),_0x2b41c9=_0x4040f8(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x4affd4,0x10,_0x3db8ce[0x26]),_0x803353=_0x4040f8(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x425e49,0x17,_0x3db8ce[0x27]),_0x15c363=_0x4040f8(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x1d6b3a,0x4,_0x3db8ce[0x28]),_0x3ac80d=_0x4040f8(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x34a997,0xb,_0x3db8ce[0x29]),_0x2b41c9=_0x4040f8(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x159476,0x10,_0x3db8ce[0x2a]),_0x803353=_0x4040f8(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x55a47d,0x17,_0x3db8ce[0x2b]),_0x15c363=_0x4040f8(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x294827,0x4,_0x3db8ce[0x2c]),_0x3ac80d=_0x4040f8(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x31c7c4,0xb,_0x3db8ce[0x2d]),_0x2b41c9=_0x4040f8(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x699e1d,0x10,_0x3db8ce[0x2e]),_0x803353=_0x4040f8(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x1c6940,0x17,_0x3db8ce[0x2f]),_0x15c363=_0x443fd0(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x34a997,0x6,_0x3db8ce[0x30]),_0x3ac80d=_0x443fd0(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x4affd4,0xa,_0x3db8ce[0x31]),_0x2b41c9=_0x443fd0(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x5b98d3,0xf,_0x3db8ce[0x32]),_0x803353=_0x443fd0(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x19e2bb,0x15,_0x3db8ce[0x33]),_0x15c363=_0x443fd0(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x31c7c4,0x6,_0x3db8ce[0x34]),_0x3ac80d=_0x443fd0(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x159476,0xa,_0x3db8ce[0x35]),_0x2b41c9=_0x443fd0(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x425e49,0xf,_0x3db8ce[0x36]),_0x803353=_0x443fd0(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0xf4cca1,0x15,_0x3db8ce[0x37]),_0x15c363=_0x443fd0(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x3a7bb2,0x6,_0x3db8ce[0x38]),_0x3ac80d=_0x443fd0(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x699e1d,0xa,_0x3db8ce[0x39]),_0x2b41c9=_0x443fd0(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x55a47d,0xf,_0x3db8ce[0x3a]),_0x803353=_0x443fd0(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x1d6b3a,0x15,_0x3db8ce[0x3b]),_0x15c363=_0x443fd0(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x2b16b3,0x6,_0x3db8ce[0x3c]),_0x3ac80d=_0x443fd0(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x154d89,0xa,_0x3db8ce[0x3d]),_0x2b41c9=_0x443fd0(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x1c6940,0xf,_0x3db8ce[0x3e]),_0x803353=_0x443fd0(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x294827,0x15,_0x3db8ce[0x3f]),_0x1c198d[0x0]=_0x1c198d[0x0]+_0x15c363|0x0,_0x1c198d[0x1]=_0x1c198d[0x1]+_0x803353|0x0,_0x1c198d[0x2]=_0x1c198d[0x2]+_0x2b41c9|0x0,_0x1c198d[0x3]=_0x1c198d[0x3]+_0x3ac80d|0x0;},'_doFinalize':function(){var _0x47ec79=_0x1f1a6b,_0x119746=this[_0x47ec79(0x32b)],_0x2d3279=_0x119746[_0x47ec79(0x256)],_0x1b847d=this[_0x47ec79(0x3e8)]*0x8,_0x9bd68c=_0x119746[_0x47ec79(0x3d8)]*0x8;_0x2d3279[_0x9bd68c>>>0x5]|=0x80<<0x18-_0x9bd68c%0x20;var _0x5a9847=_0x137620[_0x47ec79(0x2fc)](_0x1b847d/0x100000000),_0xf71ea=_0x1b847d;_0x2d3279[(_0x9bd68c+0x40>>>0x9<<0x4)+0xf]=(_0x5a9847<<0x8|_0x5a9847>>>0x18)&0xff00ff|(_0x5a9847<<0x18|_0x5a9847>>>0x8)&0xff00ff00,_0x2d3279[(_0x9bd68c+0x40>>>0x9<<0x4)+0xe]=(_0xf71ea<<0x8|_0xf71ea>>>0x18)&0xff00ff|(_0xf71ea<<0x18|_0xf71ea>>>0x8)&0xff00ff00,_0x119746[_0x47ec79(0x3d8)]=(_0x2d3279[_0x47ec79(0x2e2)]+0x1)*0x4,this[_0x47ec79(0x412)]();for(var _0x141964=this[_0x47ec79(0x481)],_0x1d1479=_0x141964[_0x47ec79(0x256)],_0x32f428=0x0;_0x32f428<0x4;_0x32f428++){var _0x33c352=_0x1d1479[_0x32f428];_0x1d1479[_0x32f428]=(_0x33c352<<0x8|_0x33c352>>>0x18)&0xff00ff|(_0x33c352<<0x18|_0x33c352>>>0x8)&0xff00ff00;}return _0x141964;},'clone':function(){var _0x196e70=_0x1f1a6b,_0x5f1279=_0x179953[_0x196e70(0x1a0)][_0x196e70(0x2b1)](this);return _0x5f1279[_0x196e70(0x481)]=this['_hash'][_0x196e70(0x1a0)](),_0x5f1279;}});function _0x3dcb93(_0x2847f5,_0x4e984e,_0x4dcd5e,_0xddb7f4,_0x2cf433,_0x400251,_0x4a2c52){var _0x53afff=_0x2847f5+(_0x4e984e&_0x4dcd5e|~_0x4e984e&_0xddb7f4)+_0x2cf433+_0x4a2c52;return(_0x53afff<<_0x400251|_0x53afff>>>0x20-_0x400251)+_0x4e984e;}function _0x25ff81(_0x4c949d,_0x558cfe,_0x4c155c,_0x52b4f4,_0x5998a1,_0x952cd6,_0x578b21){var _0x772503=_0x4c949d+(_0x558cfe&_0x52b4f4|_0x4c155c&~_0x52b4f4)+_0x5998a1+_0x578b21;return(_0x772503<<_0x952cd6|_0x772503>>>0x20-_0x952cd6)+_0x558cfe;}function _0x4040f8(_0x43803c,_0x392749,_0x1dbf6a,_0x5684c6,_0x2de70e,_0x491c86,_0x2a1008){var _0x206968=_0x43803c+(_0x392749^_0x1dbf6a^_0x5684c6)+_0x2de70e+_0x2a1008;return(_0x206968<<_0x491c86|_0x206968>>>0x20-_0x491c86)+_0x392749;}function _0x443fd0(_0x16bc3c,_0x2ed6c1,_0x5b4491,_0x30ce5d,_0x3ad178,_0x4e4fe5,_0x4af423){var _0x563f86=_0x16bc3c+(_0x5b4491^(_0x2ed6c1|~_0x30ce5d))+_0x3ad178+_0x4af423;return(_0x563f86<<_0x4e4fe5|_0x563f86>>>0x20-_0x4e4fe5)+_0x2ed6c1;}_0xb95b88['MD5']=_0x179953['_createHelper'](_0x3b29e7),_0xb95b88['HmacMD5']=_0x179953[_0x1f1a6b(0x1fd)](_0x3b29e7);}(Math),_0x2d7b6f['MD5'];}));}(_0x3511ff)),_0x3511ff[_0x1c9892(0x3a6)];}var _0x18d04e={'exports':{}},_0x4870a5={'exports':{}},_0x3370bf=_0x4870a5[_0x212abf(0x3a6)],_0x1316f5;function _0x356aa1(){var _0x2d2ce8=_0x212abf;return _0x1316f5||(_0x1316f5=0x1,function(_0x583972,_0x14009c){(function(_0x45dd7b,_0x4f8d3d){_0x583972['exports']=_0x4f8d3d(_0x13d30e());}(_0x3370bf,function(_0x132368){var _0x102415=_0x1abf;return(function(){var _0x5e0cd3=_0x1abf,_0x18c426=_0x132368,_0x552305=_0x18c426[_0x5e0cd3(0x449)],_0x293028=_0x552305[_0x5e0cd3(0x2e1)],_0x2691fb=_0x552305[_0x5e0cd3(0x382)],_0xad3ff4=_0x18c426[_0x5e0cd3(0x495)],_0x3bde56=[],_0x2d5a12=_0xad3ff4[_0x5e0cd3(0x2dc)]=_0x2691fb['extend']({'_doReset':function(){var _0x326b9e=_0x5e0cd3;this[_0x326b9e(0x481)]=new _0x293028[(_0x326b9e(0x363))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5213d4,_0x3e560){var _0x10b232=_0x5e0cd3;for(var _0x2484e6=this[_0x10b232(0x481)]['words'],_0x4cbe41=_0x2484e6[0x0],_0x47a6c2=_0x2484e6[0x1],_0x2d4cb1=_0x2484e6[0x2],_0xc37dcc=_0x2484e6[0x3],_0x5104a1=_0x2484e6[0x4],_0x4edcc4=0x0;_0x4edcc4<0x50;_0x4edcc4++){if(_0x4edcc4<0x10)_0x3bde56[_0x4edcc4]=_0x5213d4[_0x3e560+_0x4edcc4]|0x0;else{var _0x8607a4=_0x3bde56[_0x4edcc4-0x3]^_0x3bde56[_0x4edcc4-0x8]^_0x3bde56[_0x4edcc4-0xe]^_0x3bde56[_0x4edcc4-0x10];_0x3bde56[_0x4edcc4]=_0x8607a4<<0x1|_0x8607a4>>>0x1f;}var _0x373749=(_0x4cbe41<<0x5|_0x4cbe41>>>0x1b)+_0x5104a1+_0x3bde56[_0x4edcc4];_0x4edcc4<0x14?_0x373749+=(_0x47a6c2&_0x2d4cb1|~_0x47a6c2&_0xc37dcc)+0x5a827999:_0x4edcc4<0x28?_0x373749+=(_0x47a6c2^_0x2d4cb1^_0xc37dcc)+0x6ed9eba1:_0x4edcc4<0x3c?_0x373749+=(_0x47a6c2&_0x2d4cb1|_0x47a6c2&_0xc37dcc|_0x2d4cb1&_0xc37dcc)-0x70e44324:_0x373749+=(_0x47a6c2^_0x2d4cb1^_0xc37dcc)-0x359d3e2a,_0x5104a1=_0xc37dcc,_0xc37dcc=_0x2d4cb1,_0x2d4cb1=_0x47a6c2<<0x1e|_0x47a6c2>>>0x2,_0x47a6c2=_0x4cbe41,_0x4cbe41=_0x373749;}_0x2484e6[0x0]=_0x2484e6[0x0]+_0x4cbe41|0x0,_0x2484e6[0x1]=_0x2484e6[0x1]+_0x47a6c2|0x0,_0x2484e6[0x2]=_0x2484e6[0x2]+_0x2d4cb1|0x0,_0x2484e6[0x3]=_0x2484e6[0x3]+_0xc37dcc|0x0,_0x2484e6[0x4]=_0x2484e6[0x4]+_0x5104a1|0x0;},'_doFinalize':function(){var _0x27dd82=_0x5e0cd3,_0x1f810b=this[_0x27dd82(0x32b)],_0x386dff=_0x1f810b[_0x27dd82(0x256)],_0x3c05f8=this[_0x27dd82(0x3e8)]*0x8,_0x4a0b88=_0x1f810b['sigBytes']*0x8;return _0x386dff[_0x4a0b88>>>0x5]|=0x80<<0x18-_0x4a0b88%0x20,_0x386dff[(_0x4a0b88+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3c05f8/0x100000000),_0x386dff[(_0x4a0b88+0x40>>>0x9<<0x4)+0xf]=_0x3c05f8,_0x1f810b[_0x27dd82(0x3d8)]=_0x386dff[_0x27dd82(0x2e2)]*0x4,this[_0x27dd82(0x412)](),this['_hash'];},'clone':function(){var _0x1e2d04=_0x5e0cd3,_0x48aaed=_0x2691fb[_0x1e2d04(0x1a0)][_0x1e2d04(0x2b1)](this);return _0x48aaed[_0x1e2d04(0x481)]=this[_0x1e2d04(0x481)][_0x1e2d04(0x1a0)](),_0x48aaed;}});_0x18c426[_0x5e0cd3(0x2dc)]=_0x2691fb[_0x5e0cd3(0x3c3)](_0x2d5a12),_0x18c426[_0x5e0cd3(0x3e7)]=_0x2691fb['_createHmacHelper'](_0x2d5a12);}()),_0x132368[_0x102415(0x2dc)];}));}(_0x4870a5)),_0x4870a5[_0x2d2ce8(0x3a6)];}var _0x1db2c7={'exports':{}},_0x45a879=_0x1db2c7[_0x212abf(0x3a6)],_0x2fbc99;function _0x382b29(){var _0x5ee848=_0x212abf;return _0x2fbc99||(_0x2fbc99=0x1,function(_0x111a58,_0x39321f){(function(_0x97db2e,_0x203ef5){var _0x28c818=_0x1abf;_0x111a58[_0x28c818(0x3a6)]=_0x203ef5(_0x13d30e());}(_0x45a879,function(_0x46d96b){(function(){var _0xb9047a=_0x1abf,_0x3d2c7b=_0x46d96b,_0x16c6fe=_0x3d2c7b[_0xb9047a(0x449)],_0x3fde5e=_0x16c6fe['Base'],_0x1163e1=_0x3d2c7b['enc'],_0x2efbf7=_0x1163e1['Utf8'],_0x56aa12=_0x3d2c7b['algo'];_0x56aa12[_0xb9047a(0x1d3)]=_0x3fde5e[_0xb9047a(0x29d)]({'init':function(_0x32f057,_0x3956e8){var _0x2aad79=_0xb9047a;_0x32f057=this[_0x2aad79(0x2ff)]=new _0x32f057[(_0x2aad79(0x363))](),typeof _0x3956e8==_0x2aad79(0x265)&&(_0x3956e8=_0x2efbf7['parse'](_0x3956e8));var _0x270f25=_0x32f057[_0x2aad79(0x353)],_0x2032e8=_0x270f25*0x4;_0x3956e8[_0x2aad79(0x3d8)]>_0x2032e8&&(_0x3956e8=_0x32f057[_0x2aad79(0x221)](_0x3956e8)),_0x3956e8[_0x2aad79(0x4fe)]();for(var _0x53f311=this['_oKey']=_0x3956e8['clone'](),_0x460891=this[_0x2aad79(0x312)]=_0x3956e8[_0x2aad79(0x1a0)](),_0x2d160e=_0x53f311[_0x2aad79(0x256)],_0x38cf3c=_0x460891['words'],_0x3b9ad0=0x0;_0x3b9ad0<_0x270f25;_0x3b9ad0++)_0x2d160e[_0x3b9ad0]^=0x5c5c5c5c,_0x38cf3c[_0x3b9ad0]^=0x36363636;_0x53f311[_0x2aad79(0x3d8)]=_0x460891[_0x2aad79(0x3d8)]=_0x2032e8,this[_0x2aad79(0x443)]();},'reset':function(){var _0x3d5627=_0xb9047a,_0xa2c744=this[_0x3d5627(0x2ff)];_0xa2c744[_0x3d5627(0x443)](),_0xa2c744['update'](this[_0x3d5627(0x312)]);},'update':function(_0xf187f9){var _0x5ee46a=_0xb9047a;return this[_0x5ee46a(0x2ff)][_0x5ee46a(0x27b)](_0xf187f9),this;},'finalize':function(_0x314118){var _0x3121dd=_0xb9047a,_0x113048=this[_0x3121dd(0x2ff)],_0x460dc1=_0x113048[_0x3121dd(0x221)](_0x314118);_0x113048[_0x3121dd(0x443)]();var _0x577192=_0x113048[_0x3121dd(0x221)](this[_0x3121dd(0x4eb)][_0x3121dd(0x1a0)]()[_0x3121dd(0x45c)](_0x460dc1));return _0x577192;}});}());}));}(_0x1db2c7)),_0x1db2c7[_0x5ee848(0x3a6)];}var _0x5df299=_0x18d04e[_0x212abf(0x3a6)],_0x4d1c29;function _0x2c00d6(){var _0x1d4ca7=_0x212abf;return _0x4d1c29||(_0x4d1c29=0x1,function(_0x1e13bf,_0x178f36){(function(_0x315627,_0x2e3ed1,_0x5f382a){var _0x339099=_0x1abf;_0x1e13bf[_0x339099(0x3a6)]=_0x2e3ed1(_0x13d30e(),_0x356aa1(),_0x382b29());}(_0x5df299,function(_0x46d095){var _0x26d079=_0x1abf;return(function(){var _0x2ef0b4=_0x1abf,_0x52bc4a=_0x46d095,_0x59588a=_0x52bc4a[_0x2ef0b4(0x449)],_0x2ebf7c=_0x59588a[_0x2ef0b4(0x348)],_0x289d07=_0x59588a[_0x2ef0b4(0x2e1)],_0x73bfd5=_0x52bc4a['algo'],_0x14a36f=_0x73bfd5[_0x2ef0b4(0x30e)],_0x12edef=_0x73bfd5[_0x2ef0b4(0x271)]=_0x2ebf7c[_0x2ef0b4(0x29d)]({'cfg':_0x2ebf7c[_0x2ef0b4(0x29d)]({'keySize':0x80/0x20,'hasher':_0x14a36f,'iterations':0x1}),'init':function(_0x39b968){var _0x1e8d8c=_0x2ef0b4;this['cfg']=this[_0x1e8d8c(0x229)][_0x1e8d8c(0x29d)](_0x39b968);},'compute':function(_0xefe82d,_0x2d6779){var _0x266b08=_0x2ef0b4;for(var _0x1e5296,_0x53d27d=this['cfg'],_0x50020a=_0x53d27d[_0x266b08(0x471)][_0x266b08(0x457)](),_0xfaf8a0=_0x289d07[_0x266b08(0x457)](),_0x594fa6=_0xfaf8a0['words'],_0x48c9f7=_0x53d27d['keySize'],_0x38c9dc=_0x53d27d['iterations'];_0x594fa6[_0x266b08(0x2e2)]<_0x48c9f7;){_0x1e5296&&_0x50020a[_0x266b08(0x27b)](_0x1e5296),_0x1e5296=_0x50020a[_0x266b08(0x27b)](_0xefe82d)[_0x266b08(0x221)](_0x2d6779),_0x50020a[_0x266b08(0x443)]();for(var _0x1cfacb=0x1;_0x1cfacb<_0x38c9dc;_0x1cfacb++)_0x1e5296=_0x50020a[_0x266b08(0x221)](_0x1e5296),_0x50020a[_0x266b08(0x443)]();_0xfaf8a0[_0x266b08(0x45c)](_0x1e5296);}return _0xfaf8a0['sigBytes']=_0x48c9f7*0x4,_0xfaf8a0;}});_0x52bc4a[_0x2ef0b4(0x271)]=function(_0x5a12f7,_0x429abc,_0x5a140b){var _0x3e6255=_0x2ef0b4;return _0x12edef[_0x3e6255(0x457)](_0x5a140b)[_0x3e6255(0x354)](_0x5a12f7,_0x429abc);};}()),_0x46d095[_0x26d079(0x271)];}));}(_0x18d04e)),_0x18d04e[_0x1d4ca7(0x3a6)];}var _0x23a3fb={'exports':{}},_0x5e7dca=_0x23a3fb[_0x212abf(0x3a6)],_0x16981;function _0x4b29c1(){var _0x44675c=_0x212abf;return _0x16981||(_0x16981=0x1,function(_0x2e6d2f,_0x41d380){(function(_0x1b7473,_0x3981ee,_0x20a079){var _0x5bf6d4=_0x1abf;_0x2e6d2f[_0x5bf6d4(0x3a6)]=_0x3981ee(_0x13d30e(),_0x2c00d6());}(_0x5e7dca,function(_0x562be8){var _0x20b3d9=_0x1abf;_0x562be8[_0x20b3d9(0x449)][_0x20b3d9(0x235)]||function(_0x126131){var _0x4cf2d9=_0x20b3d9,_0x46bdd3=_0x562be8,_0xcee7f7=_0x46bdd3[_0x4cf2d9(0x449)],_0x2f33b7=_0xcee7f7['Base'],_0x518e5b=_0xcee7f7[_0x4cf2d9(0x2e1)],_0x594a69=_0xcee7f7['BufferedBlockAlgorithm'],_0x5e1ee0=_0x46bdd3['enc'];_0x5e1ee0[_0x4cf2d9(0x22f)];var _0x7e5c83=_0x5e1ee0[_0x4cf2d9(0x3a7)],_0x423502=_0x46bdd3[_0x4cf2d9(0x495)],_0x22f2b2=_0x423502[_0x4cf2d9(0x271)],_0x4fdeda=_0xcee7f7[_0x4cf2d9(0x235)]=_0x594a69[_0x4cf2d9(0x29d)]({'cfg':_0x2f33b7[_0x4cf2d9(0x29d)](),'createEncryptor':function(_0x29a075,_0x52d88d){var _0x5c09db=_0x4cf2d9;return this[_0x5c09db(0x457)](this['_ENC_XFORM_MODE'],_0x29a075,_0x52d88d);},'createDecryptor':function(_0x276046,_0x294f37){var _0x172846=_0x4cf2d9;return this[_0x172846(0x457)](this['_DEC_XFORM_MODE'],_0x276046,_0x294f37);},'init':function(_0x454cf0,_0x4db3c0,_0x51b5f8){var _0x264472=_0x4cf2d9;this[_0x264472(0x229)]=this[_0x264472(0x229)][_0x264472(0x29d)](_0x51b5f8),this['_xformMode']=_0x454cf0,this[_0x264472(0x42a)]=_0x4db3c0,this[_0x264472(0x443)]();},'reset':function(){var _0x1457d5=_0x4cf2d9;_0x594a69[_0x1457d5(0x443)]['call'](this),this[_0x1457d5(0x1b0)]();},'process':function(_0x24ab69){var _0x5bfa7d=_0x4cf2d9;return this['_append'](_0x24ab69),this[_0x5bfa7d(0x412)]();},'finalize':function(_0x409b3a){var _0x2e3bf8=_0x4cf2d9;_0x409b3a&&this['_append'](_0x409b3a);var _0x5d240d=this[_0x2e3bf8(0x480)]();return _0x5d240d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x56539e(_0x837b9a){var _0x1803f7=_0x1abf;return typeof _0x837b9a==_0x1803f7(0x265)?_0x312019:_0x4a8da3;}return function(_0x518d82){return{'encrypt':function(_0x376def,_0x26a02f,_0x1b27e0){var _0x34128f=_0x1abf;return _0x56539e(_0x26a02f)[_0x34128f(0x4d3)](_0x518d82,_0x376def,_0x26a02f,_0x1b27e0);},'decrypt':function(_0x133976,_0x156c02,_0x34126c){var _0x4d30be=_0x1abf;return _0x56539e(_0x156c02)[_0x4d30be(0x4b0)](_0x518d82,_0x133976,_0x156c02,_0x34126c);}};};}())});_0xcee7f7[_0x4cf2d9(0x1c2)]=_0x4fdeda[_0x4cf2d9(0x29d)]({'_doFinalize':function(){var _0xd21af4=_0x4cf2d9,_0x11fc1a=this[_0xd21af4(0x412)](!0x0);return _0x11fc1a;},'blockSize':0x1});var _0x9e7a83=_0x46bdd3[_0x4cf2d9(0x33e)]={},_0x1800f4=_0xcee7f7[_0x4cf2d9(0x408)]=_0x2f33b7[_0x4cf2d9(0x29d)]({'createEncryptor':function(_0x12f92d,_0x3f6336){var _0x2465f0=_0x4cf2d9;return this[_0x2465f0(0x451)][_0x2465f0(0x457)](_0x12f92d,_0x3f6336);},'createDecryptor':function(_0x1fd4c3,_0x3e514a){var _0x4d0449=_0x4cf2d9;return this[_0x4d0449(0x1b3)][_0x4d0449(0x457)](_0x1fd4c3,_0x3e514a);},'init':function(_0x486531,_0x3eba91){var _0x4c0bab=_0x4cf2d9;this['_cipher']=_0x486531,this[_0x4c0bab(0x4fb)]=_0x3eba91;}}),_0x1fcf32=_0x9e7a83[_0x4cf2d9(0x4dc)]=(function(){var _0x41d801=_0x4cf2d9,_0x151dc0=_0x1800f4[_0x41d801(0x29d)]();_0x151dc0[_0x41d801(0x451)]=_0x151dc0['extend']({'processBlock':function(_0x550b69,_0x52ac5d){var _0x1b3f33=_0x41d801,_0x110545=this[_0x1b3f33(0x262)],_0x208739=_0x110545[_0x1b3f33(0x353)];_0x1c9812[_0x1b3f33(0x2b1)](this,_0x550b69,_0x52ac5d,_0x208739),_0x110545[_0x1b3f33(0x243)](_0x550b69,_0x52ac5d),this[_0x1b3f33(0x428)]=_0x550b69[_0x1b3f33(0x313)](_0x52ac5d,_0x52ac5d+_0x208739);}}),_0x151dc0['Decryptor']=_0x151dc0['extend']({'processBlock':function(_0xab6d3a,_0x24be4b){var _0x26ab88=_0x41d801,_0x3d64f2=this['_cipher'],_0x36a001=_0x3d64f2[_0x26ab88(0x353)],_0x2f456c=_0xab6d3a['slice'](_0x24be4b,_0x24be4b+_0x36a001);_0x3d64f2[_0x26ab88(0x356)](_0xab6d3a,_0x24be4b),_0x1c9812[_0x26ab88(0x2b1)](this,_0xab6d3a,_0x24be4b,_0x36a001),this[_0x26ab88(0x428)]=_0x2f456c;}});function _0x1c9812(_0x5a1a16,_0x304d03,_0xac9f61){var _0x4a1cee=_0x41d801,_0x26bf6c,_0x2aceff=this['_iv'];_0x2aceff?(_0x26bf6c=_0x2aceff,this[_0x4a1cee(0x4fb)]=_0x126131):_0x26bf6c=this[_0x4a1cee(0x428)];for(var _0x35ff11=0x0;_0x35ff11<_0xac9f61;_0x35ff11++)_0x5a1a16[_0x304d03+_0x35ff11]^=_0x26bf6c[_0x35ff11];}return _0x151dc0;}()),_0x307481=_0x46bdd3[_0x4cf2d9(0x1c7)]={},_0x1661f6=_0x307481[_0x4cf2d9(0x248)]={'pad':function(_0x497c35,_0x528b2e){var _0x37c60c=_0x4cf2d9;for(var _0x5a46d8=_0x528b2e*0x4,_0x23d81c=_0x5a46d8-_0x497c35[_0x37c60c(0x3d8)]%_0x5a46d8,_0x2ae637=_0x23d81c<<0x18|_0x23d81c<<0x10|_0x23d81c<<0x8|_0x23d81c,_0x5ae9d8=[],_0x3e150e=0x0;_0x3e150e<_0x23d81c;_0x3e150e+=0x4)_0x5ae9d8[_0x37c60c(0x4d2)](_0x2ae637);var _0xb7b124=_0x518e5b['create'](_0x5ae9d8,_0x23d81c);_0x497c35[_0x37c60c(0x45c)](_0xb7b124);},'unpad':function(_0x3ba74a){var _0xd863f2=_0x4cf2d9,_0x34e37f=_0x3ba74a[_0xd863f2(0x256)][_0x3ba74a['sigBytes']-0x1>>>0x2]&0xff;_0x3ba74a[_0xd863f2(0x3d8)]-=_0x34e37f;}};_0xcee7f7['BlockCipher']=_0x4fdeda[_0x4cf2d9(0x29d)]({'cfg':_0x4fdeda[_0x4cf2d9(0x229)][_0x4cf2d9(0x29d)]({'mode':_0x1fcf32,'padding':_0x1661f6}),'reset':function(){var _0x56fa37=_0x4cf2d9,_0x20608b;_0x4fdeda[_0x56fa37(0x443)][_0x56fa37(0x2b1)](this);var _0x3657d1=this[_0x56fa37(0x229)],_0x7ac92a=_0x3657d1['iv'],_0x386227=_0x3657d1[_0x56fa37(0x33e)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x20608b=_0x386227[_0x56fa37(0x246)]:(_0x20608b=_0x386227[_0x56fa37(0x509)],this['_minBufferSize']=0x1),this[_0x56fa37(0x4dd)]&&this[_0x56fa37(0x4dd)][_0x56fa37(0x283)]==_0x20608b?this['_mode'][_0x56fa37(0x363)](this,_0x7ac92a&&_0x7ac92a[_0x56fa37(0x256)]):(this[_0x56fa37(0x4dd)]=_0x20608b['call'](_0x386227,this,_0x7ac92a&&_0x7ac92a[_0x56fa37(0x256)]),this[_0x56fa37(0x4dd)][_0x56fa37(0x283)]=_0x20608b);},'_doProcessBlock':function(_0x4baac7,_0x132203){var _0x2e2688=_0x4cf2d9;this['_mode'][_0x2e2688(0x464)](_0x4baac7,_0x132203);},'_doFinalize':function(){var _0x1c5cd8=_0x4cf2d9,_0x12bf20,_0x24ce0f=this[_0x1c5cd8(0x229)][_0x1c5cd8(0x397)];return this[_0x1c5cd8(0x233)]==this[_0x1c5cd8(0x4ff)]?(_0x24ce0f[_0x1c5cd8(0x1c7)](this[_0x1c5cd8(0x32b)],this[_0x1c5cd8(0x353)]),_0x12bf20=this[_0x1c5cd8(0x412)](!0x0)):(_0x12bf20=this[_0x1c5cd8(0x412)](!0x0),_0x24ce0f['unpad'](_0x12bf20)),_0x12bf20;},'blockSize':0x80/0x20});var _0x43d6cd=_0xcee7f7[_0x4cf2d9(0x42d)]=_0x2f33b7['extend']({'init':function(_0x51740a){var _0x184d4a=_0x4cf2d9;this[_0x184d4a(0x43e)](_0x51740a);},'toString':function(_0x4d9eee){var _0xa0e46e=_0x4cf2d9;return(_0x4d9eee||this[_0xa0e46e(0x41e)])[_0xa0e46e(0x178)](this);}}),_0x20838c=_0x46bdd3['format']={},_0x16e83e=_0x20838c[_0x4cf2d9(0x1d6)]={'stringify':function(_0x265445){var _0x58393e=_0x4cf2d9,_0x1da22f,_0x8dc3e8=_0x265445[_0x58393e(0x2ce)],_0x10a35c=_0x265445[_0x58393e(0x3bc)];return _0x10a35c?_0x1da22f=_0x518e5b[_0x58393e(0x457)]([0x53616c74,0x65645f5f])[_0x58393e(0x45c)](_0x10a35c)[_0x58393e(0x45c)](_0x8dc3e8):_0x1da22f=_0x8dc3e8,_0x1da22f['toString'](_0x7e5c83);},'parse':function(_0x5f14e8){var _0x2982be=_0x4cf2d9,_0x48db5e,_0xd5aa06=_0x7e5c83[_0x2982be(0x1bd)](_0x5f14e8),_0x2d74ca=_0xd5aa06[_0x2982be(0x256)];return _0x2d74ca[0x0]==0x53616c74&&_0x2d74ca[0x1]==0x65645f5f&&(_0x48db5e=_0x518e5b[_0x2982be(0x457)](_0x2d74ca[_0x2982be(0x313)](0x2,0x4)),_0x2d74ca[_0x2982be(0x2ad)](0x0,0x4),_0xd5aa06[_0x2982be(0x3d8)]-=0x10),_0x43d6cd[_0x2982be(0x457)]({'ciphertext':_0xd5aa06,'salt':_0x48db5e});}},_0x4a8da3=_0xcee7f7[_0x4cf2d9(0x4b8)]=_0x2f33b7[_0x4cf2d9(0x29d)]({'cfg':_0x2f33b7[_0x4cf2d9(0x29d)]({'format':_0x16e83e}),'encrypt':function(_0x31c855,_0x2d403e,_0x41f040,_0x3f5cb2){var _0x50fba0=_0x4cf2d9;_0x3f5cb2=this[_0x50fba0(0x229)][_0x50fba0(0x29d)](_0x3f5cb2);var _0x3703b6=_0x31c855[_0x50fba0(0x246)](_0x41f040,_0x3f5cb2),_0x5b9ba4=_0x3703b6['finalize'](_0x2d403e),_0x4fdb04=_0x3703b6[_0x50fba0(0x229)];return _0x43d6cd[_0x50fba0(0x457)]({'ciphertext':_0x5b9ba4,'key':_0x41f040,'iv':_0x4fdb04['iv'],'algorithm':_0x31c855,'mode':_0x4fdb04[_0x50fba0(0x33e)],'padding':_0x4fdb04[_0x50fba0(0x397)],'blockSize':_0x31c855[_0x50fba0(0x353)],'formatter':_0x3f5cb2[_0x50fba0(0x299)]});},'decrypt':function(_0x101f97,_0x422fb8,_0x3d2eee,_0x120a16){var _0x1d74ca=_0x4cf2d9;_0x120a16=this[_0x1d74ca(0x229)]['extend'](_0x120a16),_0x422fb8=this[_0x1d74ca(0x48c)](_0x422fb8,_0x120a16[_0x1d74ca(0x299)]);var _0x421422=_0x101f97[_0x1d74ca(0x509)](_0x3d2eee,_0x120a16)[_0x1d74ca(0x221)](_0x422fb8[_0x1d74ca(0x2ce)]);return _0x421422;},'_parse':function(_0x1f2c42,_0x5570e9){var _0x1d62dc=_0x4cf2d9;return typeof _0x1f2c42==_0x1d62dc(0x265)?_0x5570e9[_0x1d62dc(0x1bd)](_0x1f2c42,this):_0x1f2c42;}}),_0xbfbe8c=_0x46bdd3[_0x4cf2d9(0x205)]={},_0xe686ea=_0xbfbe8c['OpenSSL']={'execute':function(_0x541c6c,_0x953844,_0x31990a,_0x4a45bf,_0x40d8ea){var _0x397ee3=_0x4cf2d9;if(_0x4a45bf||(_0x4a45bf=_0x518e5b[_0x397ee3(0x4da)](0x40/0x8)),_0x40d8ea)var _0x4de15f=_0x22f2b2[_0x397ee3(0x457)]({'keySize':_0x953844+_0x31990a,'hasher':_0x40d8ea})[_0x397ee3(0x354)](_0x541c6c,_0x4a45bf);else var _0x4de15f=_0x22f2b2['create']({'keySize':_0x953844+_0x31990a})[_0x397ee3(0x354)](_0x541c6c,_0x4a45bf);var _0x5a8f32=_0x518e5b[_0x397ee3(0x457)](_0x4de15f[_0x397ee3(0x256)][_0x397ee3(0x313)](_0x953844),_0x31990a*0x4);return _0x4de15f[_0x397ee3(0x3d8)]=_0x953844*0x4,_0x43d6cd[_0x397ee3(0x457)]({'key':_0x4de15f,'iv':_0x5a8f32,'salt':_0x4a45bf});}},_0x312019=_0xcee7f7[_0x4cf2d9(0x238)]=_0x4a8da3['extend']({'cfg':_0x4a8da3['cfg'][_0x4cf2d9(0x29d)]({'kdf':_0xe686ea}),'encrypt':function(_0x3e6f3a,_0x9c4a37,_0x62c803,_0x34d953){var _0x57fec8=_0x4cf2d9;_0x34d953=this[_0x57fec8(0x229)][_0x57fec8(0x29d)](_0x34d953);var _0x1f1c7d=_0x34d953[_0x57fec8(0x205)]['execute'](_0x62c803,_0x3e6f3a[_0x57fec8(0x321)],_0x3e6f3a[_0x57fec8(0x193)],_0x34d953[_0x57fec8(0x3bc)],_0x34d953['hasher']);_0x34d953['iv']=_0x1f1c7d['iv'];var _0x2fc055=_0x4a8da3['encrypt'][_0x57fec8(0x2b1)](this,_0x3e6f3a,_0x9c4a37,_0x1f1c7d[_0x57fec8(0x216)],_0x34d953);return _0x2fc055[_0x57fec8(0x43e)](_0x1f1c7d),_0x2fc055;},'decrypt':function(_0x535d99,_0x32e473,_0x1c7cc2,_0x486941){var _0x1033e9=_0x4cf2d9;_0x486941=this[_0x1033e9(0x229)][_0x1033e9(0x29d)](_0x486941),_0x32e473=this[_0x1033e9(0x48c)](_0x32e473,_0x486941[_0x1033e9(0x299)]);var _0x5ce3d1=_0x486941[_0x1033e9(0x205)]['execute'](_0x1c7cc2,_0x535d99[_0x1033e9(0x321)],_0x535d99[_0x1033e9(0x193)],_0x32e473['salt'],_0x486941[_0x1033e9(0x471)]);_0x486941['iv']=_0x5ce3d1['iv'];var _0x5783a9=_0x4a8da3[_0x1033e9(0x4b0)][_0x1033e9(0x2b1)](this,_0x535d99,_0x32e473,_0x5ce3d1[_0x1033e9(0x216)],_0x486941);return _0x5783a9;}});}();}));}(_0x23a3fb)),_0x23a3fb[_0x44675c(0x3a6)];}var _0x5b9f1f=_0x28f2b7[_0x212abf(0x3a6)],_0x10d417;function _0x1474fa(){return _0x10d417||(_0x10d417=0x1,function(_0xe17a77,_0x545335){(function(_0x37321e,_0x3ed561,_0x19fd71){var _0x410abc=_0x1abf;_0xe17a77[_0x410abc(0x3a6)]=_0x3ed561(_0x13d30e(),_0x3b52ae(),_0x29f972(),_0x2c00d6(),_0x4b29c1());}(_0x5b9f1f,function(_0x180df7){var _0x901443=_0x1abf;return(function(){var _0x4c0be6=_0x1abf,_0x418d2a=_0x180df7,_0x248fad=_0x418d2a[_0x4c0be6(0x449)],_0x5a3eee=_0x248fad[_0x4c0be6(0x359)],_0x3ee577=_0x418d2a['algo'],_0x14e637=[],_0x1c24f4=[],_0x36798d=[],_0x31d55c=[],_0x277e74=[],_0x24c8d9=[],_0x1afd56=[],_0x152fe8=[],_0x1ceef5=[],_0x4ff76e=[];(function(){for(var _0x1dda29=[],_0x2f8911=0x0;_0x2f8911<0x100;_0x2f8911++)_0x2f8911<0x80?_0x1dda29[_0x2f8911]=_0x2f8911<<0x1:_0x1dda29[_0x2f8911]=_0x2f8911<<0x1^0x11b;for(var _0x5cc7ed=0x0,_0x4954af=0x0,_0x2f8911=0x0;_0x2f8911<0x100;_0x2f8911++){var _0x24cd15=_0x4954af^_0x4954af<<0x1^_0x4954af<<0x2^_0x4954af<<0x3^_0x4954af<<0x4;_0x24cd15=_0x24cd15>>>0x8^_0x24cd15&0xff^0x63,_0x14e637[_0x5cc7ed]=_0x24cd15,_0x1c24f4[_0x24cd15]=_0x5cc7ed;var _0x477e60=_0x1dda29[_0x5cc7ed],_0xf25b2=_0x1dda29[_0x477e60],_0x460ede=_0x1dda29[_0xf25b2],_0x5f7422=_0x1dda29[_0x24cd15]*0x101^_0x24cd15*0x1010100;_0x36798d[_0x5cc7ed]=_0x5f7422<<0x18|_0x5f7422>>>0x8,_0x31d55c[_0x5cc7ed]=_0x5f7422<<0x10|_0x5f7422>>>0x10,_0x277e74[_0x5cc7ed]=_0x5f7422<<0x8|_0x5f7422>>>0x18,_0x24c8d9[_0x5cc7ed]=_0x5f7422;var _0x5f7422=_0x460ede*0x1010101^_0xf25b2*0x10001^_0x477e60*0x101^_0x5cc7ed*0x1010100;_0x1afd56[_0x24cd15]=_0x5f7422<<0x18|_0x5f7422>>>0x8,_0x152fe8[_0x24cd15]=_0x5f7422<<0x10|_0x5f7422>>>0x10,_0x1ceef5[_0x24cd15]=_0x5f7422<<0x8|_0x5f7422>>>0x18,_0x4ff76e[_0x24cd15]=_0x5f7422,_0x5cc7ed?(_0x5cc7ed=_0x477e60^_0x1dda29[_0x1dda29[_0x1dda29[_0x460ede^_0x477e60]]],_0x4954af^=_0x1dda29[_0x1dda29[_0x4954af]]):_0x5cc7ed=_0x4954af=0x1;}}());var _0x5269ac=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x13ed19=_0x3ee577[_0x4c0be6(0x4ce)]=_0x5a3eee[_0x4c0be6(0x29d)]({'_doReset':function(){var _0x1a7677=_0x4c0be6,_0x29ff08;if(!(this[_0x1a7677(0x35b)]&&this['_keyPriorReset']===this['_key'])){for(var _0x828cba=this['_keyPriorReset']=this[_0x1a7677(0x42a)],_0x465bf3=_0x828cba['words'],_0x5afae2=_0x828cba[_0x1a7677(0x3d8)]/0x4,_0x73af09=this[_0x1a7677(0x35b)]=_0x5afae2+0x6,_0x559695=(_0x73af09+0x1)*0x4,_0x430f99=this['_keySchedule']=[],_0x164d1e=0x0;_0x164d1e<_0x559695;_0x164d1e++)_0x164d1e<_0x5afae2?_0x430f99[_0x164d1e]=_0x465bf3[_0x164d1e]:(_0x29ff08=_0x430f99[_0x164d1e-0x1],_0x164d1e%_0x5afae2?_0x5afae2>0x6&&_0x164d1e%_0x5afae2==0x4&&(_0x29ff08=_0x14e637[_0x29ff08>>>0x18]<<0x18|_0x14e637[_0x29ff08>>>0x10&0xff]<<0x10|_0x14e637[_0x29ff08>>>0x8&0xff]<<0x8|_0x14e637[_0x29ff08&0xff]):(_0x29ff08=_0x29ff08<<0x8|_0x29ff08>>>0x18,_0x29ff08=_0x14e637[_0x29ff08>>>0x18]<<0x18|_0x14e637[_0x29ff08>>>0x10&0xff]<<0x10|_0x14e637[_0x29ff08>>>0x8&0xff]<<0x8|_0x14e637[_0x29ff08&0xff],_0x29ff08^=_0x5269ac[_0x164d1e/_0x5afae2|0x0]<<0x18),_0x430f99[_0x164d1e]=_0x430f99[_0x164d1e-_0x5afae2]^_0x29ff08);for(var _0x3ec1fb=this[_0x1a7677(0x3f1)]=[],_0x18f291=0x0;_0x18f291<_0x559695;_0x18f291++){var _0x164d1e=_0x559695-_0x18f291;if(_0x18f291%0x4)var _0x29ff08=_0x430f99[_0x164d1e];else var _0x29ff08=_0x430f99[_0x164d1e-0x4];_0x18f291<0x4||_0x164d1e<=0x4?_0x3ec1fb[_0x18f291]=_0x29ff08:_0x3ec1fb[_0x18f291]=_0x1afd56[_0x14e637[_0x29ff08>>>0x18]]^_0x152fe8[_0x14e637[_0x29ff08>>>0x10&0xff]]^_0x1ceef5[_0x14e637[_0x29ff08>>>0x8&0xff]]^_0x4ff76e[_0x14e637[_0x29ff08&0xff]];}}},'encryptBlock':function(_0x5bd17c,_0x2d0c5e){var _0x2a6fef=_0x4c0be6;this[_0x2a6fef(0x38f)](_0x5bd17c,_0x2d0c5e,this['_keySchedule'],_0x36798d,_0x31d55c,_0x277e74,_0x24c8d9,_0x14e637);},'decryptBlock':function(_0x1b290f,_0x577fa0){var _0x4473a0=_0x4c0be6,_0x4d69ff=_0x1b290f[_0x577fa0+0x1];_0x1b290f[_0x577fa0+0x1]=_0x1b290f[_0x577fa0+0x3],_0x1b290f[_0x577fa0+0x3]=_0x4d69ff,this[_0x4473a0(0x38f)](_0x1b290f,_0x577fa0,this[_0x4473a0(0x3f1)],_0x1afd56,_0x152fe8,_0x1ceef5,_0x4ff76e,_0x1c24f4);var _0x4d69ff=_0x1b290f[_0x577fa0+0x1];_0x1b290f[_0x577fa0+0x1]=_0x1b290f[_0x577fa0+0x3],_0x1b290f[_0x577fa0+0x3]=_0x4d69ff;},'_doCryptBlock':function(_0x15007c,_0x526d4c,_0xf41a4,_0x3231c0,_0x5550bf,_0x118c0e,_0x11fd01,_0x574bd6){for(var _0x8abd95=this['_nRounds'],_0x3d70c1=_0x15007c[_0x526d4c]^_0xf41a4[0x0],_0x291650=_0x15007c[_0x526d4c+0x1]^_0xf41a4[0x1],_0x5c8877=_0x15007c[_0x526d4c+0x2]^_0xf41a4[0x2],_0x737986=_0x15007c[_0x526d4c+0x3]^_0xf41a4[0x3],_0x19092=0x4,_0xd2c04=0x1;_0xd2c04<_0x8abd95;_0xd2c04++){var _0x4f6bc0=_0x3231c0[_0x3d70c1>>>0x18]^_0x5550bf[_0x291650>>>0x10&0xff]^_0x118c0e[_0x5c8877>>>0x8&0xff]^_0x11fd01[_0x737986&0xff]^_0xf41a4[_0x19092++],_0x99306c=_0x3231c0[_0x291650>>>0x18]^_0x5550bf[_0x5c8877>>>0x10&0xff]^_0x118c0e[_0x737986>>>0x8&0xff]^_0x11fd01[_0x3d70c1&0xff]^_0xf41a4[_0x19092++],_0x432156=_0x3231c0[_0x5c8877>>>0x18]^_0x5550bf[_0x737986>>>0x10&0xff]^_0x118c0e[_0x3d70c1>>>0x8&0xff]^_0x11fd01[_0x291650&0xff]^_0xf41a4[_0x19092++],_0x43aeaa=_0x3231c0[_0x737986>>>0x18]^_0x5550bf[_0x3d70c1>>>0x10&0xff]^_0x118c0e[_0x291650>>>0x8&0xff]^_0x11fd01[_0x5c8877&0xff]^_0xf41a4[_0x19092++];_0x3d70c1=_0x4f6bc0,_0x291650=_0x99306c,_0x5c8877=_0x432156,_0x737986=_0x43aeaa;}var _0x4f6bc0=(_0x574bd6[_0x3d70c1>>>0x18]<<0x18|_0x574bd6[_0x291650>>>0x10&0xff]<<0x10|_0x574bd6[_0x5c8877>>>0x8&0xff]<<0x8|_0x574bd6[_0x737986&0xff])^_0xf41a4[_0x19092++],_0x99306c=(_0x574bd6[_0x291650>>>0x18]<<0x18|_0x574bd6[_0x5c8877>>>0x10&0xff]<<0x10|_0x574bd6[_0x737986>>>0x8&0xff]<<0x8|_0x574bd6[_0x3d70c1&0xff])^_0xf41a4[_0x19092++],_0x432156=(_0x574bd6[_0x5c8877>>>0x18]<<0x18|_0x574bd6[_0x737986>>>0x10&0xff]<<0x10|_0x574bd6[_0x3d70c1>>>0x8&0xff]<<0x8|_0x574bd6[_0x291650&0xff])^_0xf41a4[_0x19092++],_0x43aeaa=(_0x574bd6[_0x737986>>>0x18]<<0x18|_0x574bd6[_0x3d70c1>>>0x10&0xff]<<0x10|_0x574bd6[_0x291650>>>0x8&0xff]<<0x8|_0x574bd6[_0x5c8877&0xff])^_0xf41a4[_0x19092++];_0x15007c[_0x526d4c]=_0x4f6bc0,_0x15007c[_0x526d4c+0x1]=_0x99306c,_0x15007c[_0x526d4c+0x2]=_0x432156,_0x15007c[_0x526d4c+0x3]=_0x43aeaa;},'keySize':0x100/0x20});_0x418d2a[_0x4c0be6(0x4ce)]=_0x5a3eee[_0x4c0be6(0x3c3)](_0x13ed19);}()),_0x180df7[_0x901443(0x4ce)];}));}(_0x28f2b7)),_0x28f2b7['exports'];}var _0x3b896c=_0x1474fa();const _0x40e951=_0x38b545(_0x3b896c);var _0x34a9de=_0x3b52ae();const _0x4ed691=_0x38b545(_0x34a9de);var _0xbfbfc8={'exports':{}},_0x27b010=_0xbfbfc8[_0x212abf(0x3a6)],_0xb1e6de;function _0xdd2be(){var _0x44c14f=_0x212abf;return _0xb1e6de||(_0xb1e6de=0x1,function(_0xba131b,_0x4282ab){(function(_0x521b73,_0x51e530){var _0x12008f=_0x1abf;_0xba131b[_0x12008f(0x3a6)]=_0x51e530(_0x13d30e());}(_0x27b010,function(_0x59abdf){var _0x483120=_0x1abf;return _0x59abdf['enc'][_0x483120(0x22f)];}));}(_0xbfbfc8)),_0xbfbfc8[_0x44c14f(0x3a6)];}var _0x44d300=_0xdd2be();const _0x491234=_0x38b545(_0x44d300);var _0x5a5bfd={'exports':{}},_0x5bd99f=_0x5a5bfd[_0x212abf(0x3a6)],_0x4655b5;function _0x5b828e(){return _0x4655b5||(_0x4655b5=0x1,function(_0x200731,_0x418d78){(function(_0x3765ca,_0x45f596){_0x200731['exports']=_0x45f596(_0x13d30e());}(_0x5bd99f,function(_0x5d60f5){return(function(){var _0x3af98f=_0x1abf;if(typeof ArrayBuffer=='function'){var _0x404731=_0x5d60f5,_0xe7b390=_0x404731['lib'],_0x208163=_0xe7b390[_0x3af98f(0x2e1)],_0x51aff5=_0x208163[_0x3af98f(0x363)],_0x3fc757=_0x208163[_0x3af98f(0x363)]=function(_0x3a0d6d){var _0x54b48b=_0x3af98f;if(_0x3a0d6d instanceof ArrayBuffer&&(_0x3a0d6d=new Uint8Array(_0x3a0d6d)),(_0x3a0d6d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3a0d6d instanceof Uint8ClampedArray||_0x3a0d6d instanceof Int16Array||_0x3a0d6d instanceof Uint16Array||_0x3a0d6d instanceof Int32Array||_0x3a0d6d instanceof Uint32Array||_0x3a0d6d instanceof Float32Array||_0x3a0d6d instanceof Float64Array)&&(_0x3a0d6d=new Uint8Array(_0x3a0d6d[_0x54b48b(0x4c2)],_0x3a0d6d[_0x54b48b(0x1b6)],_0x3a0d6d[_0x54b48b(0x19a)])),_0x3a0d6d instanceof Uint8Array){for(var _0x4d8fae=_0x3a0d6d[_0x54b48b(0x19a)],_0x2aee43=[],_0x3d31e2=0x0;_0x3d31e2<_0x4d8fae;_0x3d31e2++)_0x2aee43[_0x3d31e2>>>0x2]|=_0x3a0d6d[_0x3d31e2]<<0x18-_0x3d31e2%0x4*0x8;_0x51aff5[_0x54b48b(0x2b1)](this,_0x2aee43,_0x4d8fae);}else _0x51aff5[_0x54b48b(0x29e)](this,arguments);};_0x3fc757[_0x3af98f(0x1ec)]=_0x208163;}}()),_0x5d60f5['lib']['WordArray'];}));}(_0x5a5bfd)),_0x5a5bfd['exports'];}var _0x320bff=_0x5b828e();const _0x476988=_0x38b545(_0x320bff);var _0x3ee420={'exports':{}},_0xe020d1=_0x3ee420[_0x212abf(0x3a6)],_0x22895d;function _0xdfee5e(){var _0x4e1ab8=_0x212abf;return _0x22895d||(_0x22895d=0x1,function(_0x1f25c1,_0x4b56be){(function(_0x1bec16,_0xb19f1b,_0x1071f4){var _0x153814=_0x1abf;_0x1f25c1[_0x153814(0x3a6)]=_0xb19f1b(_0x13d30e(),_0x4b29c1());}(_0xe020d1,function(_0x37a00c){var _0x3c8fae=_0x1abf;return _0x37a00c[_0x3c8fae(0x1c7)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x37a00c[_0x3c8fae(0x1c7)][_0x3c8fae(0x4be)];}));}(_0x3ee420)),_0x3ee420[_0x4e1ab8(0x3a6)];}var _0x5013ab=_0xdfee5e();const _0x309dd8=_0x38b545(_0x5013ab);function _0x92805e(_0x42112b,_0x5c3de9){var _0xa5c028=_0x212abf;const _0x140850=_0x5c3de9-_0x42112b[_0xa5c028(0x2e2)]%_0x5c3de9,_0x5ea9e2=String[_0xa5c028(0x45d)](_0x140850)[_0xa5c028(0x34d)](_0x140850);return _0x42112b+_0x5ea9e2;}function _0x38f49b(_0x39339d,_0x34d364){var _0x450322=_0x212abf;const _0x2d0c3f=_0x476988[_0x450322(0x4da)](0x10),_0x421d37=_0x92805e(_0x39339d,0x10),_0x3a33e1=_0x40e951['encrypt'](_0x491234[_0x450322(0x1bd)](_0x421d37),_0x4ed691[_0x450322(0x1bd)](_0x34d364),{'iv':_0x2d0c3f,'padding':_0x309dd8});return _0x2d0c3f[_0x450322(0x45c)](_0x3a33e1[_0x450322(0x2ce)])[_0x450322(0x381)](_0x4ed691);}function _0x275c11(){var _0x1319b1=_0x212abf;const _0x23daed=_0x4bc4b5[_0x1319b1(0x417)]()[_0x1319b1(0x41d)];if(typeof window<'u'&&typeof window[_0x1319b1(0x4d5)]<'u'&&_0x23daed){const _0x5b812a={'time':Math[_0x1319b1(0x2fc)](Date[_0x1319b1(0x3c6)]()/0x3e8),'domain':location[_0x1319b1(0x2bf)]};return _0x38f49b(JSON['stringify'](_0x5b812a),_0x23daed);}}var _0x1b2dc1=Object[_0x212abf(0x1f8)],_0x318440=(_0x2ca32a,_0x13c6cc,_0x55fa91,_0x5674c4)=>{for(var _0x41ff19=_0x5674c4>0x1?void 0x0:_0x5674c4?_0x1b2dc1(_0x13c6cc,_0x55fa91):_0x13c6cc,_0x3a413c=_0x2ca32a['length']-0x1,_0x345fe0;_0x3a413c>=0x0;_0x3a413c--)(_0x345fe0=_0x2ca32a[_0x3a413c])&&(_0x41ff19=_0x345fe0(_0x41ff19)||_0x41ff19);return _0x41ff19;},_0x58ef1c=(_0x553c35,_0x189539)=>(_0x419380,_0x310ce7)=>_0x189539(_0x419380,_0x310ce7,_0x553c35);let _0x588a4d=class{constructor(_0x594d04){var _0x3a98fa=_0x212abf;this[_0x3a98fa(0x338)]=_0x594d04,this[_0x3a98fa(0x459)]();}[_0x212abf(0x459)](){var _0x25fa39=_0x212abf;this['_httpService'][_0x25fa39(0x33a)]({'interceptor':(_0x4a871f,_0x526485)=>{var _0x275b7f=_0x25fa39;const _0x5a5a34=_0x4a871f[_0x275b7f(0x4d8)],_0x445062=_0x275c11();return _0x445062&&_0x5a5a34[_0x275b7f(0x214)]('x-univer-host',_0x445062),_0x526485(_0x4a871f);}});}};_0x588a4d=_0x318440([_0x58ef1c(0x0,_0x2695a7['Inject'](_0x3e19df[_0x212abf(0x355)]))],_0x588a4d);var _0x134a05=Object[_0x212abf(0x1f8)],_0xc3258f=(_0xa1e752,_0x217f81,_0x79bb6b,_0x2e8088)=>{var _0x728fb9=_0x212abf;for(var _0xea5d10=_0x2e8088>0x1?void 0x0:_0x2e8088?_0x134a05(_0x217f81,_0x79bb6b):_0x217f81,_0x192e99=_0xa1e752[_0x728fb9(0x2e2)]-0x1,_0x5819fe;_0x192e99>=0x0;_0x192e99--)(_0x5819fe=_0xa1e752[_0x192e99])&&(_0xea5d10=_0x5819fe(_0xea5d10)||_0xea5d10);return _0xea5d10;},_0x13a41b=(_0x10308f,_0x5268d5)=>(_0x5e41d1,_0x59ffca)=>_0x5268d5(_0x5e41d1,_0x59ffca,_0x10308f);_0x1c6aa2[_0x212abf(0x36c)]=class extends _0x2695a7[_0x212abf(0x1be)]{constructor(_0x432499,_0x1a977f,_0x2218ad){var _0x32fd3f=_0x212abf;super(),_0x110376(this,_0x32fd3f(0x1ac),new _0x3b3710[(_0x32fd3f(0x2ed))](null)),_0x110376(this,_0x32fd3f(0x201),this['_unitInfo$'][_0x32fd3f(0x3a2)]()),(this[_0x32fd3f(0x24b)]=_0x432499,this[_0x32fd3f(0x2ac)]=_0x1a977f,this[_0x32fd3f(0x1ce)]=_0x2218ad);}async[_0x212abf(0x308)](_0x4531d5,_0x58a715,_0x58876d){var _0x1c7c73=_0x212abf;this[_0x1c7c73(0x1ac)][_0x1c7c73(0x185)]({'unitId':_0x4531d5,'type':_0x58a715});let _0x39c5c=null;switch(_0x58a715){case _0x10d356[_0x1c7c73(0x2e8)]:{_0x39c5c=await this['_snapshotService'][_0x1c7c73(0x418)](_0x4531d5,_0x58876d);break;}case _0x10d356[_0x1c7c73(0x286)]:{_0x39c5c=await this[_0x1c7c73(0x2ac)][_0x1c7c73(0x33c)](_0x4531d5,_0x58876d);break;}default:{this[_0x1c7c73(0x24b)][_0x1c7c73(0x4c9)]('[DataLoaderService]',_0x1c7c73(0x16f));break;}}return _0x39c5c;}async['loadUnit'](_0x1040e2,_0x43758b,_0x3e9c47){var _0xe3cb68=_0x212abf,_0x1b0f12;this[_0xe3cb68(0x1ac)][_0xe3cb68(0x185)]({'unitId':_0x1040e2,'type':_0x43758b,'subUnitId':_0x3e9c47});let _0x18b18f=0x0;const _0x22bbe5=await((_0x1b0f12=this[_0xe3cb68(0x1ce)])==null?void 0x0:_0x1b0f12['loadOfflineData'](_0x1040e2));return _0x22bbe5&&(_0x22bbe5[_0xe3cb68(0x196)]||_0x22bbe5['mutations'][_0xe3cb68(0x2e2)]!==0x0)&&(_0x18b18f=_0x22bbe5[_0xe3cb68(0x267)]),_0x18b18f===0x0&&this[_0xe3cb68(0x24b)][_0xe3cb68(0x2c2)](_0xe3cb68(0x3cc),_0xe3cb68(0x49b)),this[_0xe3cb68(0x308)](_0x1040e2,_0x43758b,_0x18b18f);}},_0x1c6aa2['DataLoaderService']=_0xc3258f([_0x13a41b(0x0,_0x2695a7[_0x212abf(0x1e4)]),_0x13a41b(0x1,_0x2695a7[_0x212abf(0x4c1)](_0x425665[_0x212abf(0x4b1)])),_0x13a41b(0x2,_0x2695a7['Optional'](_0x387771))],_0x1c6aa2[_0x212abf(0x36c)]);var _0x4ab292=Object['getOwnPropertyDescriptor'],_0x465937=(_0x1e1817,_0x2a42ce,_0x56ccfe,_0x5a8a9c)=>{var _0x5f1808=_0x212abf;for(var _0x5ebca8=_0x5a8a9c>0x1?void 0x0:_0x5a8a9c?_0x4ab292(_0x2a42ce,_0x56ccfe):_0x2a42ce,_0x126ddd=_0x1e1817[_0x5f1808(0x2e2)]-0x1,_0x297223;_0x126ddd>=0x0;_0x126ddd--)(_0x297223=_0x1e1817[_0x126ddd])&&(_0x5ebca8=_0x297223(_0x5ebca8)||_0x5ebca8);return _0x5ebca8;},_0x28d0fd=(_0x143f8c,_0x583938)=>(_0x2bd4b8,_0x131cf9)=>_0x583938(_0x2bd4b8,_0x131cf9,_0x143f8c);const _0x3960f2=[_0x212abf(0x45f),_0x212abf(0x45a),_0x212abf(0x340),_0x212abf(0x426),_0x212abf(0x1ba)],_0xb9e511=0x5*0x400*0x400,_0x592657=_0x212abf(0x3a0),_0x2012f8=_0x212abf(0x33d);_0x1c6aa2[_0x212abf(0x269)]=class{constructor(_0x235739,_0x53a405,_0x459871){var _0x15a797=_0x212abf;_0x110376(this,'_waitCount',0x0),_0x110376(this,_0x15a797(0x31d),new _0x3b3710[(_0x15a797(0x1bc))]()),_0x110376(this,_0x15a797(0x4b2),this['_change$']),_0x110376(this,_0x15a797(0x3f9),new Map()),(this[_0x15a797(0x338)]=_0x235739,this[_0x15a797(0x172)]=_0x53a405,this[_0x15a797(0x490)]=_0x459871);}[_0x212abf(0x440)](_0x11e4c3){var _0x312559=_0x212abf;this[_0x312559(0x176)]=_0x11e4c3,this[_0x312559(0x31d)]['next'](_0x11e4c3);}[_0x212abf(0x3ad)](_0x14a459,_0x35c01c){var _0x5ea7bf=_0x212abf;if(_0x35c01c===_0x46bfdb[_0x5ea7bf(0x28d)][_0x5ea7bf(0x29f)]){const _0x52aa1b=new Image();return _0x52aa1b['src']=_0x14a459,_0x52aa1b;}return this[_0x5ea7bf(0x3f9)][_0x5ea7bf(0x2e4)](_0x14a459);}[_0x212abf(0x3f7)](_0x49d446,_0x407cd0,_0x5a5324){var _0x16ff23=_0x212abf;_0x407cd0===_0x46bfdb[_0x16ff23(0x28d)]['BASE64']||_0x5a5324==null||this['_imageSourceCache'][_0x16ff23(0x214)](_0x49d446,_0x5a5324);}async[_0x212abf(0x376)](_0x4f4aa2){var _0x4d2b3c=_0x212abf;try{const _0x1051f7=this[_0x4d2b3c(0x403)](this[_0x4d2b3c(0x411)](),''+_0x4f4aa2),_0x4f81e3=(await this[_0x4d2b3c(0x338)][_0x4d2b3c(0x2e4)](_0x1051f7))['body'];if(_0x4f81e3[_0x4d2b3c(0x4c9)]&&_0x4f81e3[_0x4d2b3c(0x4c9)][_0x4d2b3c(0x4bc)]===_0x50d3e0['OK']){const _0x1253b1=_0x2695a7['resolveWithBasePath'](_0x4f81e3[_0x4d2b3c(0x50a)],this[_0x4d2b3c(0x325)]());return Promise['resolve'](_0x1253b1);}return Promise[_0x4d2b3c(0x3b8)](_0x4f81e3[_0x4d2b3c(0x4c9)]);}catch(_0x4bc10d){return Promise[_0x4d2b3c(0x3b8)](_0x4bc10d);}}async[_0x212abf(0x16e)](_0xf71694){var _0x1ae9e4=_0x212abf;let _0x2a3f33='';if(!_0x3960f2[_0x1ae9e4(0x2ec)](_0xf71694[_0x1ae9e4(0x306)]))return this['_decreaseWaiting'](),Promise[_0x1ae9e4(0x3b8)](new Error(_0x46bfdb[_0x1ae9e4(0x32a)][_0x1ae9e4(0x291)]));if(_0xf71694[_0x1ae9e4(0x1f7)]>_0xb9e511)return this[_0x1ae9e4(0x39e)](),Promise[_0x1ae9e4(0x3b8)](new Error(_0x46bfdb[_0x1ae9e4(0x32a)][_0x1ae9e4(0x434)]));try{const _0x529f80=new FormData();_0x529f80[_0x1ae9e4(0x2a4)](_0x1ae9e4(0x350),_0xf71694);const _0x8a2169=this['_univerInstanceService']['getFocusedUnit'](),_0x5c12cc=_0x8a2169==null?void 0x0:_0x8a2169[_0x1ae9e4(0x33b)]();if(!_0x5c12cc)throw new Error(_0x1ae9e4(0x27a));const _0x2b523b=this[_0x1ae9e4(0x342)]()+_0x1ae9e4(0x2cd)+_0xf71694[_0x1ae9e4(0x1f7)][_0x1ae9e4(0x381)]()+_0x1ae9e4(0x268)+_0x4d4f2c[_0x1ae9e4(0x3f6)]+_0x1ae9e4(0x2fb)+encodeURIComponent(_0x5c12cc),_0x175d5f={'body':_0x529f80},_0x396db9=(await this['_httpService']['post'](_0x2b523b,_0x175d5f))[_0x1ae9e4(0x420)];if(typeof _0x396db9[_0x1ae9e4(0x23d)]!=_0x1ae9e4(0x265))return this[_0x1ae9e4(0x39e)](),Promise[_0x1ae9e4(0x3b8)](new Error(_0x46bfdb[_0x1ae9e4(0x32a)][_0x1ae9e4(0x2b5)]));_0x2a3f33=_0x396db9[_0x1ae9e4(0x23d)];}catch{return this['_decreaseWaiting'](),Promise[_0x1ae9e4(0x3b8)](new Error(_0x46bfdb[_0x1ae9e4(0x32a)]['ERROR_IMAGE']));}return new Promise((_0x250c96,_0x215f26)=>{var _0x26a812=_0x1ae9e4;const _0x27bafd=new FileReader();_0x27bafd[_0x26a812(0x4af)](_0xf71694),_0x27bafd[_0x26a812(0x4b9)]=_0x5739be=>{var _0x1015a9=_0x26a812,_0x41fce3;const _0x1d323d=(_0x41fce3=_0x5739be[_0x1015a9(0x2f5)])==null?void 0x0:_0x41fce3[_0x1015a9(0x4e1)];if(_0x1d323d==null){this[_0x1015a9(0x39e)](),_0x215f26(new Error(_0x46bfdb[_0x1015a9(0x32a)][_0x1015a9(0x2b5)]));return;}const _0x567c2b=_0x2695a7['generateRandomId'](0x6);_0x250c96({'imageId':_0x567c2b,'imageSourceType':_0x46bfdb[_0x1015a9(0x28d)][_0x1015a9(0x4ef)],'source':_0x2a3f33,'base64Cache':_0x1d323d,'status':_0x46bfdb[_0x1015a9(0x32a)][_0x1015a9(0x3a5)]}),this[_0x1015a9(0x39e)]();};});}[_0x212abf(0x342)](){var _0x216668=_0x212abf,_0x2e6771;const _0x38dbed=this['_configService'][_0x216668(0x3ea)](_0x391e6e);return(_0x2e6771=_0x38dbed==null?void 0x0:_0x38dbed[_0x216668(0x316)])!=null?_0x2e6771:_0x592657;}[_0x212abf(0x411)](){var _0x1347c4=_0x212abf,_0x1a4fcd;const _0x20105b=this['_configService']['getConfig'](_0x391e6e);return(_0x1a4fcd=_0x20105b==null?void 0x0:_0x20105b[_0x1347c4(0x446)])!=null?_0x1a4fcd:_0x2012f8;}['_getDownloadEndpointURL'](){var _0x49736c=_0x212abf,_0xb0c555;const _0x567366=this[_0x49736c(0x172)][_0x49736c(0x3ea)](_0x391e6e);return(_0xb0c555=_0x567366==null?void 0x0:_0x567366[_0x49736c(0x1ee)])!=null?_0xb0c555:location[_0x49736c(0x34f)];}['_replaceFileID'](_0xafe15c,_0x2d3712){var _0x3974b3=_0x212abf;return _0xafe15c[_0x3974b3(0x17b)]('{fileID}',_0x2d3712);}[_0x212abf(0x39e)](){var _0x1d5652=_0x212abf;this[_0x1d5652(0x176)]-=0x1,this[_0x1d5652(0x31d)]['next'](this[_0x1d5652(0x176)]);}},_0x1c6aa2[_0x212abf(0x269)]=_0x465937([_0x28d0fd(0x0,_0x2695a7[_0x212abf(0x4c1)](_0x3e19df[_0x212abf(0x355)])),_0x28d0fd(0x1,_0x2695a7['IConfigService']),_0x28d0fd(0x2,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7['IUniverInstanceService']))],_0x1c6aa2[_0x212abf(0x269)]);var _0x199a7b=Object['getOwnPropertyDescriptor'],_0x2bd17c=(_0x196fce,_0x3699ce,_0x5e1c04,_0x8f9cf5)=>{for(var _0x2d1d2f=_0x8f9cf5>0x1?void 0x0:_0x8f9cf5?_0x199a7b(_0x3699ce,_0x5e1c04):_0x3699ce,_0xd1ec95=_0x196fce['length']-0x1,_0x471710;_0xd1ec95>=0x0;_0xd1ec95--)(_0x471710=_0x196fce[_0xd1ec95])&&(_0x2d1d2f=_0x471710(_0x2d1d2f)||_0x2d1d2f);return _0x2d1d2f;},_0x189937=(_0x503549,_0x10e0d3)=>(_0x13c236,_0x294c73)=>_0x10e0d3(_0x13c236,_0x294c73,_0x503549);const _0x4d7704=_0x212abf(0x40d);_0x1c6aa2[_0x212abf(0x190)]=class{constructor(_0x1fcbd1,_0x118931){var _0x2ba905=_0x212abf;this[_0x2ba905(0x172)]=_0x1fcbd1,this[_0x2ba905(0x290)]=_0x118931;}[_0x212abf(0x485)](){var _0x26cece=_0x212abf,_0x161575;const _0x2071e4=this[_0x26cece(0x172)][_0x26cece(0x3ea)](_0x391e6e);return(_0x161575=_0x2071e4==null?void 0x0:_0x2071e4['authzUrl'])!=null?_0x161575:_0x4d7704;}async[_0x212abf(0x1fa)](_0x2e0cca){var _0xe59904=_0x212abf;const _0x230916=this[_0xe59904(0x485)]()+_0xe59904(0x2cc);return{'list':[{'title':_0xe59904(0x189),'mentions':(await this[_0xe59904(0x290)][_0xe59904(0x2e4)](_0x230916,{'params':{'objectID':_0x2e0cca[_0xe59904(0x4fa)],'unitID':_0x2e0cca[_0xe59904(0x4fa)]}}))['body']['collaborators']['map'](_0x298002=>({'objectId':_0x298002['id'],'name':_0x298002['subject'][_0xe59904(0x264)],'metadata':{'icon':_0x298002[_0xe59904(0x30c)][_0xe59904(0x4ad)]},'label':_0x298002[_0xe59904(0x30c)][_0xe59904(0x264)],'objectType':_0x2695a7['MentionType'][_0xe59904(0x1e6)]})),'metadata':{},'type':_0x2695a7[_0xe59904(0x389)][_0xe59904(0x1e6)]}]};}},_0x1c6aa2[_0x212abf(0x190)]=_0x2bd17c([_0x189937(0x0,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x333)])),_0x189937(0x1,_0x2695a7[_0x212abf(0x4c1)](_0x3e19df[_0x212abf(0x355)]))],_0x1c6aa2['MentionIoHttpService']);var _0x21c558=Object['getOwnPropertyDescriptor'],_0x3e7693=(_0x5e6ab6,_0x136ab5,_0x267dbb,_0x53e9c0)=>{for(var _0x361d1b=_0x53e9c0>0x1?void 0x0:_0x53e9c0?_0x21c558(_0x136ab5,_0x267dbb):_0x136ab5,_0x54127a=_0x5e6ab6['length']-0x1,_0x297659;_0x54127a>=0x0;_0x54127a--)(_0x297659=_0x5e6ab6[_0x54127a])&&(_0x361d1b=_0x297659(_0x361d1b)||_0x361d1b);return _0x361d1b;},_0x527e87=(_0x2dbf06,_0x131fa3)=>(_0x3e8e9a,_0x4089ff)=>_0x131fa3(_0x3e8e9a,_0x4089ff,_0x2dbf06);let _0x20d2bb=class extends _0x2695a7[_0x212abf(0x1be)]{constructor(_0x39fd7c,_0x54707d,_0x41225f,_0x143104,_0x4272d3){var _0x3e6cff=_0x212abf;super(),this['_injector']=_0x39fd7c,this[_0x3e6cff(0x490)]=_0x54707d,this['_permissionService']=_0x41225f,this['_collaborationSessionService']=_0x143104,this[_0x3e6cff(0x32f)]=_0x4272d3,this[_0x3e6cff(0x31f)](),this[_0x3e6cff(0x489)]();}[_0x212abf(0x489)](){var _0x38a298=_0x212abf;const _0x415682=async _0x55608c=>{var _0x3c7b45=_0x1abf;(await this[_0x3c7b45(0x402)][_0x3c7b45(0x1c3)](_0x55608c))['event$']['pipe'](_0xc987a3[_0x3c7b45(0x305)](_0x532433=>_0x532433['eventID']===_0x425665[_0x3c7b45(0x3c4)][_0x3c7b45(0x2ae)]),_0xc987a3[_0x3c7b45(0x4cd)](this['dispose$']))[_0x3c7b45(0x23e)](_0x2fdcad=>{var _0xcd7731=_0x3c7b45;const _0x506e87=_0x2fdcad,{reason:_0x34b46b}=_0x506e87['data'];this[_0xcd7731(0x32f)][_0xcd7731(0x3ab)]({'id':_0x5ab775[_0xcd7731(0x326)],'data':_0x34b46b}),this['_permissionService'][_0xcd7731(0x3c1)](new _0x57749b['WorkbookEditablePermission'](_0x55608c)['id'],!0x1),this[_0xcd7731(0x402)][_0xcd7731(0x296)](_0x55608c);});};_0x3b3710[_0x38a298(0x3b6)](this[_0x38a298(0x490)][_0x38a298(0x2c1)](_0x2695a7['UniverInstanceType'][_0x38a298(0x2e8)]),this[_0x38a298(0x490)][_0x38a298(0x2c1)](_0x2695a7[_0x38a298(0x187)]['UNIVER_DOC']))['pipe'](_0xc987a3[_0x38a298(0x1eb)](_0x4e1933=>_0x4e1933['getUnitId']()),_0xc987a3['filter'](_0x3e42d9=>!_0x2695a7[_0x38a298(0x3df)](_0x3e42d9)),_0xc987a3[_0x38a298(0x4cd)](this[_0x38a298(0x4fd)]))[_0x38a298(0x23e)](_0x78a1b6=>{_0x415682(_0x78a1b6);});}[_0x212abf(0x31f)](){var _0x59a0f6=_0x212abf;const _0x584317=async _0x52e299=>{var _0x30db55=_0x1abf;const _0x33a4bb=await this[_0x30db55(0x402)][_0x30db55(0x1c3)](_0x52e299),_0x318040=this['_injector']['get'](_0x57749b['SheetPermissionInitController']);_0x33a4bb[_0x30db55(0x497)][_0x30db55(0x1b2)](_0xc987a3['filter'](_0x15c6c5=>_0x15c6c5['eventID']===_0x425665[_0x30db55(0x3c4)][_0x30db55(0x2b9)]),_0xc987a3[_0x30db55(0x4cd)](this['dispose$']))[_0x30db55(0x23e)](_0x50aa20=>{var _0x39581b=_0x30db55;const _0x244169=_0x50aa20,{objectId:_0x257c61}=_0x244169[_0x39581b(0x28c)];_0x257c61===_0x52e299?_0x318040[_0x39581b(0x1a8)](_0x52e299):_0x318040['refreshPermission'](_0x52e299,_0x257c61);});};_0x3b3710[_0x59a0f6(0x3b6)](this['_univerInstanceService'][_0x59a0f6(0x2c1)](_0x2695a7[_0x59a0f6(0x187)][_0x59a0f6(0x2e8)]))[_0x59a0f6(0x1b2)](_0xc987a3[_0x59a0f6(0x1eb)](_0x1448a3=>_0x1448a3['getUnitId']()),_0xc987a3[_0x59a0f6(0x305)](_0x161053=>!_0x2695a7[_0x59a0f6(0x3df)](_0x161053)),_0xc987a3[_0x59a0f6(0x4cd)](this[_0x59a0f6(0x4fd)]))[_0x59a0f6(0x23e)](_0x3b70db=>{_0x584317(_0x3b70db);});}};_0x20d2bb=_0x3e7693([_0x527e87(0x0,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x527e87(0x1,_0x2695a7[_0x212abf(0x4ed)]),_0x527e87(0x2,_0x2695a7[_0x212abf(0x222)]),_0x527e87(0x3,_0x2695a7[_0x212abf(0x4c1)](_0x1c6aa2[_0x212abf(0x319)])),_0x527e87(0x4,_0x2695a7['Inject'](_0xfe53d))],_0x20d2bb);var _0x3a2a20=Object['getOwnPropertyDescriptor'],_0x4ae3ef=(_0x4ce13b,_0x4ab948,_0x385f6b,_0x30ab17)=>{for(var _0x13182d=_0x30ab17>0x1?void 0x0:_0x30ab17?_0x3a2a20(_0x4ab948,_0x385f6b):_0x4ab948,_0x9d9765=_0x4ce13b['length']-0x1,_0x411459;_0x9d9765>=0x0;_0x9d9765--)(_0x411459=_0x4ce13b[_0x9d9765])&&(_0x13182d=_0x411459(_0x13182d)||_0x13182d);return _0x13182d;},_0x53c304=(_0x210c26,_0x5c8326)=>(_0x553535,_0x154cbd)=>_0x5c8326(_0x553535,_0x154cbd,_0x210c26);_0x1c6aa2[_0x212abf(0x429)]=class{constructor(_0x277fa,_0xac7672){var _0xba7d8=_0x212abf;this['_configService']=_0x277fa,this[_0xba7d8(0x338)]=_0xac7672;}async['getUnitOnRev'](_0x41abb1,_0x2eeb46){var _0x2dc948=_0x212abf,_0x31a2f2;const {unitID:_0x3c2624,type:_0x3f09d5,revision:_0x210179=0x0}=_0x2eeb46,_0x5be0ec=this[_0x2dc948(0x486)]()+'/'+_0x3f09d5+_0x2dc948(0x304)+_0x3c2624+'/rev/'+_0x210179,_0x490db9=(await this[_0x2dc948(0x338)][_0x2dc948(0x2e4)](_0x5be0ec))[_0x2dc948(0x420)],_0x1faea1=(_0x31a2f2=_0x490db9[_0x2dc948(0x421)])==null?void 0x0:_0x31a2f2[_0x2dc948(0x1c0)];if(_0x1faea1){const _0x1a03aa=_0x1faea1==null?void 0x0:_0x1faea1['originalMeta'],_0x4e49d9=_0x425665[_0x2dc948(0x1c6)]['encode'](_0x425665[_0x2dc948(0x4aa)](_0x1a03aa));_0x1faea1[_0x2dc948(0x24e)]=_0x4e49d9,Object[_0x2dc948(0x292)](_0x1faea1[_0x2dc948(0x3fd)])['forEach'](([,_0x1446b8])=>{var _0x38656b=_0x2dc948;const _0x393526=_0x1446b8[_0x38656b(0x24e)],_0x3a737b=_0x425665[_0x38656b(0x1c6)][_0x38656b(0x23b)](_0x425665[_0x38656b(0x4aa)](_0x393526));_0x1446b8[_0x38656b(0x24e)]=_0x3a737b;});}return _0x490db9;}async[_0x212abf(0x3d3)](_0x3b6f6a,_0x489175){var _0x495a0a=_0x212abf;const {unitID:_0x345d93,type:_0x1cca02,blockID:_0x4f56e3}=_0x489175,_0x328ef1=this[_0x495a0a(0x47f)]()+'/'+_0x1cca02+_0x495a0a(0x304)+_0x345d93+_0x495a0a(0x198)+_0x4f56e3;return(await this[_0x495a0a(0x338)][_0x495a0a(0x2e4)](_0x328ef1))[_0x495a0a(0x420)];}async[_0x212abf(0x46a)](_0x495b88,_0x55bdf6){var _0x1ad3ee=_0x212abf;const {unitID:_0x5639f8,type:_0x10bcc2,blockID:_0x501d5e}=_0x55bdf6,_0x4d8d6b=this[_0x1ad3ee(0x47f)]()+_0x1ad3ee(0x198)+_0x10bcc2+'/unit/'+_0x5639f8+_0x1ad3ee(0x198)+_0x501d5e;return(await this[_0x1ad3ee(0x338)]['get'](_0x4d8d6b))[_0x1ad3ee(0x420)];}async[_0x212abf(0x372)](_0x52fa57,_0x3d846f){var _0x41d3a5=_0x212abf;const {unitID:_0x403a7b,type:_0x4a794b,from:_0x5ad5e5,to:_0x32bc88}=_0x3d846f,_0x164f57=this[_0x41d3a5(0x47f)]()+'/'+_0x4a794b+_0x41d3a5(0x304)+_0x403a7b+'/fetchmissing?from='+_0x5ad5e5+_0x41d3a5(0x334)+_0x32bc88;return(await this[_0x41d3a5(0x338)][_0x41d3a5(0x2e4)](_0x164f57))[_0x41d3a5(0x420)];}['getSnapshotAPIPath'](){var _0x46938c=_0x212abf,_0x521ac2;return(_0x521ac2=this[_0x46938c(0x172)][_0x46938c(0x3ea)](_0xad4b37))!=null?_0x521ac2:this[_0x46938c(0x47f)]();}[_0x212abf(0x47f)](){var _0x59d362=_0x212abf,_0x19d0c4;const _0x3cb330=this[_0x59d362(0x172)][_0x59d362(0x3ea)](_0x391e6e);return(_0x19d0c4=_0x3cb330==null?void 0x0:_0x3cb330[_0x59d362(0x405)])!=null?_0x19d0c4:_0x2eabe4;}async[_0x212abf(0x1a3)](_0x44c300,_0x48a6ef){var _0x36c0df=_0x212abf;const _0x15fbaf='/universer-api/snapshot/'+_0x48a6ef[_0x36c0df(0x306)]+_0x36c0df(0x304)+_0x48a6ef[_0x36c0df(0x254)]+'/resources';return(await this[_0x36c0df(0x338)]['get'](_0x15fbaf,{'params':{'resourceId':JSON['stringify'](_0x48a6ef[_0x36c0df(0x2af)])}}))[_0x36c0df(0x420)];}[_0x212abf(0x1a6)](){var _0x4cda0d=_0x212abf;throw new Error(_0x4cda0d(0x209));}['updateSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x212abf(0x2fd)](){var _0x268378=_0x212abf;throw new Error(_0x268378(0x209));}[_0x212abf(0x384)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x212abf(0x2a8)](){var _0x4c294d=_0x212abf;throw new Error(_0x4c294d(0x209));}[_0x212abf(0x2d2)](){var _0x416996=_0x212abf;throw new Error(_0x416996(0x209));}},_0x1c6aa2[_0x212abf(0x429)]=_0x4ae3ef([_0x53c304(0x0,_0x2695a7['IConfigService']),_0x53c304(0x1,_0x2695a7[_0x212abf(0x4c1)](_0x3e19df['HTTPService']))],_0x1c6aa2[_0x212abf(0x429)]);var _0x7cdff5=Object[_0x212abf(0x1f8)],_0x2c997c=(_0x32ea91,_0x33b029,_0x1fa26d,_0x3fc421)=>{for(var _0x5471f1=_0x3fc421>0x1?void 0x0:_0x3fc421?_0x7cdff5(_0x33b029,_0x1fa26d):_0x33b029,_0x2f9534=_0x32ea91['length']-0x1,_0xdd37e4;_0x2f9534>=0x0;_0x2f9534--)(_0xdd37e4=_0x32ea91[_0x2f9534])&&(_0x5471f1=_0xdd37e4(_0x5471f1)||_0x5471f1);return _0x5471f1;},_0x318d46=(_0x2cf85b,_0x573a15)=>(_0x5757aa,_0x1ef94c)=>_0x573a15(_0x5757aa,_0x1ef94c,_0x2cf85b);_0x1c6aa2[_0x212abf(0x202)]=class extends _0x2695a7[_0x212abf(0x2e7)]{constructor(_0x18e53a,_0x299016,_0x336daf,_0x2b532c,_0x410322){var _0x572e26=_0x212abf;super(_0x18e53a,_0x299016,_0x336daf),this[_0x572e26(0x500)]=_0x2b532c,this[_0x572e26(0x24b)]=_0x410322;}[_0x212abf(0x261)](_0x4bf7ce,_0x3c0760){var _0x46221c=_0x212abf;const _0x46af69=this[_0x46221c(0x250)](_0x4bf7ce);if(_0x46af69)try{const _0x56a654=this[_0x46221c(0x467)](_0x46af69,_0x3c0760);this[_0x46221c(0x30b)](_0x4bf7ce,_0x56a654);}catch(_0x10c726){this[_0x46221c(0x24b)][_0x46221c(0x4c9)](_0x46221c(0x424),_0x10c726),this[_0x46221c(0x180)](_0x4bf7ce);}const _0x298b6d=this['_getRedoStack'](_0x4bf7ce);if(_0x298b6d)try{const _0x39fb22=this[_0x46221c(0x467)](_0x298b6d,_0x3c0760);this['_substituteRedoStack'](_0x4bf7ce,_0x39fb22);}catch(_0x21aa80){this[_0x46221c(0x24b)][_0x46221c(0x4c9)](_0x21aa80),this[_0x46221c(0x46e)](_0x4bf7ce);}}['_clearUndo'](_0x53ad76){var _0x3eed9b=_0x212abf;const _0x2085dd=this['_getUndoStack'](_0x53ad76);_0x2085dd&&(_0x2085dd[_0x3eed9b(0x2e2)]=0x0,this[_0x3eed9b(0x466)]());}[_0x212abf(0x46e)](_0x55ef03){var _0x438236=_0x212abf;const _0x48ef57=this['_getRedoStack'](_0x55ef03);_0x48ef57&&(_0x48ef57[_0x438236(0x2e2)]=0x0,this[_0x438236(0x466)]());}['_substituteUndoStack'](_0x44df3e,_0x51dcd1){var _0x45799a=_0x212abf;this[_0x45799a(0x460)][_0x45799a(0x214)](_0x44df3e,_0x51dcd1),this[_0x45799a(0x466)]();}[_0x212abf(0x1b4)](_0x420333,_0x460a70){var _0x865fc4=_0x212abf;this[_0x865fc4(0x50e)][_0x865fc4(0x214)](_0x420333,_0x460a70),this['_updateStatus']();}[_0x212abf(0x467)](_0x583727,_0x135b18){var _0x5f0918=_0x212abf;const _0x4a7319=[];let _0x429718=_0x135b18,_0x21b24a=_0x135b18;for(let _0x44f90e=_0x583727[_0x5f0918(0x2e2)]-0x1;_0x44f90e>=0x0;_0x44f90e--){const {unitID:_0x175727,undoMutations:_0x2823b8,redoMutations:_0x2da7d5}=_0x583727[_0x44f90e],_0x3daa82=this[_0x5f0918(0x500)][_0x5f0918(0x2a2)](_0x429718,_0x2823b8),_0x29ced3=this['_transformService']['transformMutationsWithChangeset'](_0x21b24a,_0x2da7d5);if(_0x425665[_0x5f0918(0x40e)](_0x3daa82)||_0x425665[_0x5f0918(0x40e)](_0x29ced3)){this[_0x5f0918(0x24b)]['error'](_0x5f0918(0x424),_0x5f0918(0x3e9),_0x3daa82,_0x29ced3);break;}_0x429718=_0x3daa82['c1Prime'],_0x21b24a=_0x29ced3[_0x5f0918(0x228)],_0x4a7319[_0x5f0918(0x4d2)]({'unitID':_0x175727,'undoMutations':_0x3daa82[_0x5f0918(0x1fe)],'redoMutations':_0x29ced3[_0x5f0918(0x1fe)]});}return _0x4a7319['reverse']();}},_0x1c6aa2['CollaborativeUndoRedoService']=_0x2c997c([_0x318d46(0x0,_0x2695a7[_0x212abf(0x4ed)]),_0x318d46(0x1,_0x2695a7['ICommandService']),_0x318d46(0x2,_0x2695a7['IContextService']),_0x318d46(0x3,_0x425665['ITransformService']),_0x318d46(0x4,_0x2695a7[_0x212abf(0x1e4)])],_0x1c6aa2['CollaborativeUndoRedoService']);var _0x3c6332=Object[_0x212abf(0x272)],_0x1d2923=Object[_0x212abf(0x1f8)],_0x229979=(_0x41c7ed,_0x2d04fd,_0x4e6508)=>_0x2d04fd in _0x41c7ed?_0x3c6332(_0x41c7ed,_0x2d04fd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e6508}):_0x41c7ed[_0x2d04fd]=_0x4e6508,_0x351ae9=(_0x4bb7fe,_0x4fa617,_0x39a6c0,_0xdfb45a)=>{var _0x2558d3=_0x212abf;for(var _0x26b393=_0xdfb45a>0x1?void 0x0:_0xdfb45a?_0x1d2923(_0x4fa617,_0x39a6c0):_0x4fa617,_0x3826b7=_0x4bb7fe[_0x2558d3(0x2e2)]-0x1,_0x3360d4;_0x3826b7>=0x0;_0x3826b7--)(_0x3360d4=_0x4bb7fe[_0x3826b7])&&(_0x26b393=_0x3360d4(_0x26b393)||_0x26b393);return _0x26b393;},_0x4eef73=(_0x539378,_0x25d2b8)=>(_0x3a9155,_0x19f16a)=>_0x25d2b8(_0x3a9155,_0x19f16a,_0x539378),_0x30d666=(_0x2ab9a3,_0x1040b5,_0x13b65a)=>_0x229979(_0x2ab9a3,_0x1040b5+'',_0x13b65a);const _0x4cfaf5='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x1c6aa2[_0x212abf(0x44a)]=class extends _0x2695a7[_0x212abf(0x2f9)]{constructor(_0x185e47,_0x148009,_0x4b8da3,_0x254752){var _0x174c3a=_0x212abf;super(),_0x110376(this,_0x174c3a(0x3c5)),(this[_0x174c3a(0x24b)]=_0x148009,this['_injector']=_0x4b8da3,this[_0x174c3a(0x172)]=_0x254752);const {..._0x4c2a73}=_0x2695a7['merge']({},_0x1ddbc2,_0x185e47);if(!_0x4c2a73[_0x174c3a(0x1e5)])throw new Error(_0x174c3a(0x1ed));this[_0x174c3a(0x3c5)]=_0x4c2a73,this['_configService'][_0x174c3a(0x3d6)](_0x391e6e,_0x4c2a73);}[_0x212abf(0x346)](){var _0x2137a3=_0x212abf;this['_registerDependencies'](),this[_0x2137a3(0x2db)]();}[_0x212abf(0x1bf)](){var _0x14ba6a=_0x212abf,_0xa6934b,_0x5ec64d;this[_0x14ba6a(0x2e5)][_0x14ba6a(0x406)](_0x2695a7['IUndoRedoService'])&&this[_0x14ba6a(0x24b)][_0x14ba6a(0x4c9)](_0x14ba6a(0x3f4),_0x14ba6a(0x3e6));const _0x5dec93=_0x2695a7[_0x14ba6a(0x1b7)]([[_0x2695a7[_0x14ba6a(0x450)],{'useClass':_0x1c6aa2['CollaborativeUndoRedoService']}],[_0x1c6aa2[_0x14ba6a(0x319)]],[_0x1c6aa2[_0x14ba6a(0x2b0)]],[_0x1c6aa2[_0x14ba6a(0x48b)]],[_0x566f6a],[_0x588a4d],[_0x1360e0],[_0x20d2bb],[_0xfe53d],[_0x1c6aa2[_0x14ba6a(0x36c)]],[_0x43f90c,{'useClass':this[_0x14ba6a(0x3c5)][_0x14ba6a(0x1e5)]}],[_0x425665[_0x14ba6a(0x278)],{'useClass':_0x1c6aa2[_0x14ba6a(0x429)]}],[_0x2695a7[_0x14ba6a(0x37c)],{'useClass':_0x1c6aa2['AuthzIoHttpService']}],[_0x46bfdb[_0x14ba6a(0x311)],{'useClass':_0x1c6aa2[_0x14ba6a(0x269)]}],[_0x2695a7['IMentionIOService'],{'useClass':_0x1c6aa2[_0x14ba6a(0x190)]}],[_0x1c6aa2['CollaborationController']],[_0xe74a3e]],(_0xa6934b=this[_0x14ba6a(0x3c5)])==null?void 0x0:_0xa6934b['override']);if(!((_0x5ec64d=this[_0x14ba6a(0x3c5)])!=null&&_0x5ec64d['enableSingleActiveInstanceLock'])){const _0xeb9296=_0x5dec93['findIndex'](([_0x45e030])=>_0x45e030===_0x4993a0);_0xeb9296!==-0x1&&_0x5dec93[_0x14ba6a(0x2ad)](_0xeb9296,0x1);}_0x2695a7['registerDependencies'](this[_0x14ba6a(0x2e5)],_0x5dec93);}[_0x212abf(0x2db)](){var _0x21053e=_0x212abf,_0x58bd8e,_0x4a84d7,_0x1830a8;this[_0x21053e(0x2e5)][_0x21053e(0x2e4)](_0x3e19df[_0x21053e(0x355)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3e19df['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x58bd8e=this[_0x21053e(0x3c5)])!=null&&_0x58bd8e[_0x21053e(0x2c4)]||(_0x4a84d7=this[_0x21053e(0x2e5)][_0x21053e(0x2e4)](_0x387771,_0x2695a7[_0x21053e(0x49e)][_0x21053e(0x4e0)]))==null||_0x4a84d7[_0x21053e(0x416)](),(_0x1830a8=this['_config'])!=null&&_0x1830a8[_0x21053e(0x298)]&&_0x2695a7[_0x21053e(0x1b9)](this[_0x21053e(0x2e5)],[[_0x566f6a]]),_0x2695a7[_0x21053e(0x1b9)](this[_0x21053e(0x2e5)],[[_0x588a4d],[_0x1c6aa2[_0x21053e(0x46b)]],[_0x20d2bb]]);}},_0x30d666(_0x1c6aa2[_0x212abf(0x44a)],_0x212abf(0x25e),_0x4cfaf5),_0x1c6aa2[_0x212abf(0x44a)]=_0x351ae9([_0x2695a7[_0x212abf(0x25f)](_0x4bc4b5[_0x212abf(0x3d4)],_0x425665[_0x212abf(0x2f3)],_0x3e19df[_0x212abf(0x4a4)]),_0x4eef73(0x1,_0x2695a7[_0x212abf(0x1e4)]),_0x4eef73(0x2,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7['Injector'])),_0x4eef73(0x3,_0x2695a7['IConfigService'])],_0x1c6aa2[_0x212abf(0x44a)]),_0x1c6aa2[_0x212abf(0x2a6)]=_0x391e6e,_0x1c6aa2[_0x212abf(0x491)]=_0x3422b2,_0x1c6aa2[_0x212abf(0x393)]=_0x5ab775,_0x1c6aa2['CollaborationUIEventService']=_0xfe53d,_0x1c6aa2[_0x212abf(0x1db)]=_0x1360e0,_0x1c6aa2['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x4154c7,_0x1c6aa2['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x3817ff,_0x1c6aa2[_0x212abf(0x4a1)]=_0x5f5a8d,_0x1c6aa2[_0x212abf(0x1f1)]=_0x3e40c1,_0x1c6aa2[_0x212abf(0x3af)]=_0xf20a7c,_0x1c6aa2[_0x212abf(0x40f)]=_0x43f90c,_0x1c6aa2[_0x212abf(0x2a5)]=_0x387771,_0x1c6aa2[_0x212abf(0x4f6)]=_0x47a09f,_0x1c6aa2[_0x212abf(0x492)]=_0x4993a0,_0x1c6aa2[_0x212abf(0x4a2)]=0x3e8,_0x1c6aa2[_0x212abf(0x1b8)]=_0x3929c8,_0x1c6aa2[_0x212abf(0x2b3)]=_0x2d8ee2,_0x1c6aa2[_0x212abf(0x3a3)]=_0xd794b,_0x1c6aa2[_0x212abf(0x19b)]=_0x1e024b,_0x1c6aa2[_0x212abf(0x170)]=_0x38f487,_0x1c6aa2[_0x212abf(0x4bf)]=_0x43d51c,_0x1c6aa2[_0x212abf(0x392)]=_0x5d22e3,_0x1c6aa2[_0x212abf(0x41c)]=_0x3d2f94,Object[_0x212abf(0x272)](_0x1c6aa2,Symbol[_0x212abf(0x28a)],{'value':_0x212abf(0x2fa)});}));function _0x54c8(){var _0x2a29c1=['create','reconnect','_initRequestHeader','image/jpeg','[PendingState]:\x20unhandled\x20univer\x20type:\x20','concat','fromCharCode','CHANGESET_REJ','image/png','_undoStacks','JOIN_ROOM_PERMISSION_DENIED','_maxTotalRetryTimeout','YUUMI_NO_CUBOID_FOR_QUESTION','processBlock','UNAUTHENTICATED','_updateStatus','_transformStack','SOCKET_FAILED','_retryConnectingTimer','getDeserializedSheetBlock','CollaborationController','_onJoinRoomEvent','_userManagerService','_clearRedo','sessionStatus','updateCollaborator','hasher','_resendTimer','connection\x20error','firstValueFrom','onRemoteRej','RECV','INVITE_CODE_REQUIRED','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_toggleOffline','_permissionService','getMember','getTime','\x20in\x20_schedule.','getActiveSheet','_getAPIPrefix','_doFinalize','_hash','getMemberID','msCrypto','_sendingTimer','_getAPIPrefixPath','getSnapshotAPIPath','[CollaborationState]:\x20apply\x20error!','onRemoteRetry','_initCloseConn','UserProfileImg','SheetTransformSelectionsService','_parse','userID','_scheduleCollaborationTimeoutTimer','[OfflineState]:\x20received\x20acknowledgement.','_univerInstanceService','CollaborationStatus','ISingleActiveUnitService','APPLY_DUPLICATED','_rescheduleHeartbeat','algo','_resendWithTimeout','event$','SNAPSHOT_INVALID_SNAPSHOT','USERS_ENTER','_roomMembers','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','values','LocaleService','Quantity','submit\x20changeset\x20error!','getUnitType','DEFAULT_WS_SESSION_TICKET_URL','LOCAL_CACHE_INTERVAL','CollaborationSocketService','UniverNetworkPlugin','_event$','YUUMI_UNABLE_LOAD_URL','Univer','session.room-permission-denied','RETRY_CONNECTING_MAX_COUNT','b64DecodeUnicode','ENSURE_SNAPSHOT_EXECUTION','_isPermissionRej','avatar','auth.needGotoLoginAlert','readAsDataURL','decrypt','SnapshotService','change$','memberID','_handler','_socket$','_onConflict','collaboration-client.local-cache-service','SerializableCipher','onload','max','status$','code','getSheetId','NoPadding','deserializeToCombResponse','\x20to\x20','Inject','buffer','[PendingState]:\x20received\x20acknowledgement.','_sessionStatus$','LIVESHARE_OPERATION','HELLO','updateOfflineData','@univerjs-pro/license','error','\x0aCurrent:\x20','roomInfos','min','takeUntil','AES','SNAPSHOT_URL_KEY','/-/object/list','action','push','encrypt','APPLY_NON_SEQUENTIAL_REVISION','location','/universer-api/oidc/authpage','_onRemoteChangeset','headers','INVITE_CODE_ALREADY_BOUND','random','WECHAT_HAS_BEEN_BOUND','CBC','_mode','csShouldRetryEvent','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','OPTIONAL','result','AWAITING','JOIN','_clearHeartbeatTimer','_onUserJoin','SyncedState','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','AwaitingWithPendingState','UniverDrawing','FETCH_MISSING','_oKey','REDEMPTION_CODE_INACTIVE','IUniverInstanceService','DEFAULT_FILE_NAME','UUID','isTransformMutationsWithChangesetSuccess','status','uniscriptRunEvent','LEAVE','USER_IS_ANONYMOUS','default','INetworkConditionService','192200ErQzsM','@univerjs/network','_pendingMutations','unitId','_iv','objectType','dispose$','clamp','_ENC_XFORM_MODE','_transformService','HTTPRequest','onTransformSelections','[SyncedState]:\x20received\x20acknowledgement.','_onRemoteRejected','_transformIMECache','_init','_onCombEvent','APPLY_PERMISSION_DENIED','createDecryptor','url','NO_OTHER_CLIENTS_EDITING','Could\x20not\x20dynamically\x20require\x20\x22','_unitID','_redoStacks','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SUBMIT_CHANGESET','sendChangesetTimeout','getInterceptPoints','_changesetReqId','_resendTimeout','eventID','collaboration-client.config','_clearRetryConnectingTimer','PendingState','saveImage','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UnitStatus','_shouldReportTelemetry','_configService','INVALID_INVITE_CODE','isPermissionRej','_scheduleCompleteTimestamp','_waitCount','_socketService','stringify','fetchThroughInterceptors','revision','replace','_waitForHeartbeatResponse','session','UNKNOWN_CODE','joinRsp','_clearUndo','NOT_COLLAB','_showConflictNotification','csRejEvent','updatePermissionObjEvent','next','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','UniverInstanceType','ENTITLE_CAN_NOT_BUY_LOWER_OTP','People','getWorkbookSelections','getRoom','collaborators','ISocketService','rxjs/operators','USER_NOT_INVITED_CODE','MentionIoHttpService','close','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','ivSize','Error\x20on\x20receiving\x20event','getTypeOfUnitDisposed$','awaitingChangeset','send','/block/','_applyRemoteChangeset','byteLength','SessionStatus','LOGIN_TOKEN_PROCESSING_FAILED','collaboratorID','getAllMembers','selections','clone','routeKey','Tools','getResourcesRequest','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','onLocalMutation','saveSnapshot','_state$','initWorkbookPermissionChange','Undefined','dispose','TOO_MANY_REQUESTS','_unitInfo$','OfflineState','HttpImport','OTHER_CLIENT_EDITING','_doReset','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','pipe','Decryptor','_substituteRedoStack','createSocket','byteOffset','mergeOverrideWithDependencies','LOCAL_CACHE_INTERVAL_KEY','touchDependencies','image/bmp','onRemoteAck','Subject','parse','RxDisposable','_registerDependencies','workbook','PERMISSION_DENIED','StreamCipher','requireSession','/object/','JOIN_ROOM_FAILED','textEncoder','pad','_startTelemetryCollaborationNewChangeset','SheetsSelectionsService','1502130dekQsB','_queuedRemoteChangesets','enc','LICENSE_EXPORT_SIZE_EXCEEDED','_localCacheService','_socketReady','socket\x20close','rxjs','awaiting_with_pending','HMAC','sid','_clearLocalCache','OpenSSL','FAIL','Optional','compose','/new_changes','CommentService','YUUMI_ASYNCIO_CANCELLED','[CollaborationSession]','Malformed\x20UTF-8\x20data','fetch_missing','_getCurrentRevision','pending','unit-cache-','COMPLETION_FINISHED','ILogService','socketService','PERSON','ALREADY_EXISTS','COMPRESS_MUTATION_SEND','NOT_FOUND','/role','map','prototype','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','downloadEndpointUrl','online$','transformSelections','HEARTBEAT_INTERVAL_KEY','collaboration_new_changeset','REDEMPTION_CODE_NOT_STARTED','_removeRoom','Rectangle','_append','size','getOwnPropertyDescriptor','isArray','list','onMutationExecutedForCollab','function','_createHmacHelper','m2Prime','UNKNOWN_CMD','JOIN_ROOM_FULL','unitInfo$','CollaborativeUndoRedoService','UniverDocs','fetching\x20missing\x20changesets\x20from\x20','kdf','_socket','DisposableCollection','take','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','forEach','YUUMI_TABLE_NOT_FOUND_IN_UNIT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','csAckEvent','CollaborationEntity','_transitionLocked','_socketMessageSubscription','USERS_LEAVE','RichTextEditingMutation','PERMISSION_REJ','set','setCurrentUser','key','toggleOffline','state$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','interceptor','transformChangesets','members$','removeMember','_tryReconnect','_executeRemoteChangeset','@univerjs/docs','finalize','IPermissionService','onRemoteChangeset','commentUpdate$','_remoteChangesetQueue','toggleOnline','CHANGESET_REVISION_CONFILICT','c1Prime','cfg','_createSocket','univer-pro.collaboration-client-socket-service','concatMap','onTransformRemoteChangesetByIMECache','parseChangesetToProtocol','Utf8','deepClone','getUnitStatus$','[CollaborationEntity]','_xformMode','_startCollaboration','Cipher','UniverNetwork','CommandType','PasswordBasedCipher','_transformSelections','MOBILE_VERIFY_CODE_MISMATCH','encode','_fetchMissChangesets','FileId','subscribe','ENTITLE_USE_COUPON_NOT_1ST_TRADE','charCodeAt','hasOwnProperty','UNRECOGNIZED','encryptBlock','_roomCreated$','YUUMI_SUBSCRIPTION_NOT_FOUND','createEncryptor','LOGIN_FAILED','Pkcs7','_updateState','charAt','_logService','_getSendChangesetTimeout','collabWebSocketUrl','originalMeta','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_getUndoStack','_sendHeartbeat','@univerjs-pro/collaboration','startTime','unitID','loginUrlKey','words','_onOffline','_doProcessBlock','_doCreateSocket','requestParams','onTransformState','error$','ENTITLE_COUPON_EXPIRED','pluginName','DependentOn','LICENSE_DISTRO_REJECTED','transformUndoRedo','_cipher','70JSazFl','name','string','uuidv4','rev','&source=','CollaborationImageIoService','_handlerCallback','WorkbookEditablePermission','allowed','__splitChunk__','_entities','_listenToNetworkCondition','roles','EvpKDF','defineProperty','_clearScheduledTask','_submitChangeset','_networkConditionService','toDisposable','_getLoginPath','ISnapshotServerService','_lockTransition','unitId\x20is\x20not\x20found','update','liveShareNewHost','LICENSE_IMPORT_SIZE_EXCEEDED','_initMergeInterceptor','_disableEditing','_candidateSocket','_createInitialStateImpl','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','__creator','CompressMutationService','ReplaySubject','UNIVER_DOC','_onConnectionOpen','_changesetSessionId','getCurrentUser','toStringTag','ENTITLE_INVALID_COUPON_CODE','data','ImageSourceType','createInstance','shareReplay','_HTTPService','ERROR_IMAGE_TYPE','entries','306555eaFzEL','loadOfflineData','\x0aAfter:\x20','closeSession','collabSubmitChangesetUrl','enableAuthServer','format','state','?url=','SheetCollaborationEntity','extend','apply','BASE64','_throwTelemetryCollaborationNewChangeset','createIdentifier','transformMutationsWithChangeset','LIVESHARE_FETCH_OPERATIONS','append','ILocalCacheService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_createHandler','copyFileMeta','objects','OFFLINE','getCurrentRevOfUnit','_snapshotService','splice','SHOULD_CLOSE_CONN','resourceIDs','MemberService','call','LIVESHARE_REQUEST_HOST','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_collaborationPaused','ERROR_IMAGE','objectID','fetchMiss','POST','UPDATE_PERMISSION_OBJ','addHandlerCallback','stopTime','batchAllowed','capture','REDEMPTION_USER_NOT_ELIGIBLE','hostname','fromCollab','getTypeOfUnitAdded$','debug','onCommentUpdate','enableOfflineEditing','YUUMI_AI_RUN_FAILED','SYNCED','USER_NOT_FOUND','UniverTelemetry','_clearCollaborationTimeoutTimer','UnitSnapshot','BufferedBlockAlgorithm','/collaborator','?size=','ciphertext','[FetchMissState]','params','UPDATE_CURSOR','getLatestCsReqIdBySid','textRanges','_transformUndoredo','mapDocumentTypeToUniverType','_status$','_onFetchMissResult','/universer-api/user/session-ticket','LIVESHARE_NEW_HOST','_singleActiveUnitService','_initDependencies','SHA1','_undoRedoService','encodeURIComponent','message$','ENTITLE_DUP_SUBSCRIPTION','WordArray','length','getValue','get','_injector','updateCursorEvent','LocalUndoRedoService','UNIVER_SHEET','members','_unlockTransition','_acknowledgedAwaitingChangeset','includes','BehaviorSubject','_state','actions','appendMutation','_compressMutationService','ICommandService','UniverCollaborationPlugin','_sendHeartbeatTimer','target','localeService','title','/universer-api/uniscript','Plugin','Module','&assign=','floor','saveSheetBlock','disposeWithMe','_hasher','_commandService','_commentService','PENDING','$super','/unit/','filter','type','AuthzIoHttpService','loadUnitOfRevision','open$','OTHER_CLIENTS_EDITING','_substituteUndoStack','subject','parseProtocolChangeset','MD5','onSyncEditingCollabCursor','_sessions','IImageIoService','_iKey','slice','_checkMissing','CHANGESET_SHOULD_RETRY','uploadFileServerUrl','@univerjs/telemetry','UNISCRIPT_RUN','CollaborationSessionService','session.room-cnt-exceeds','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_incrementRevisionNumber','_change$','getUnit','_initUnitPermissionChange','@univerjs/sheets','keySize','Disposable','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','univer-pro.collaboration-client.network-condition.service','_getDownloadEndpointURL','CLOSE_ROOM','substr','ITransformService','SetSelectionsOperation','ImageUploadStatusType','_data','APPLY_REJECT','onlyLocal','ceil','_collaborationUIEventService','join','ENTITLE_REPORT_LIMIT_EXCEED','reduce','IConfigService','&to=','NEW_CHANGESETS','COMPRESS_MUTATION_APPLY','pauseCollaboration','_httpService','_eventService','registerHTTPInterceptor','getUnitId','loadDoc','/universer-api/file/{fileID}/sign-url','mode','_replayCachedMutations','image/jpg','catch','_getUploadFileURL','INGEST','PSEUDO_FETCH_MISSING_RESULT','YUUMI_ALL_TABLES_IS_INVALID','onStarting','ENTITLE_COUPON_USED_UP','Base','save\x20fail\x20reason\x20is\x20','_sheetTransformSelectionsService','MergeInterceptorFactory','find','repeat','_instanceService','origin','file','REDEMPTION_CODE_FULLY_REDEEMED','INTERNAL_ERROR','blockSize','compute','HTTPService','decryptBlock','session.room-not-exists','equals','BlockCipher','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','_nRounds','from','onTransformIME','conflict','_transformStateCache','delete','ConflictState','UNDEFINED','init','IDLE','HEARTBEAT_TIMEOUT','_onRecvEvent','_toggleOnline','_onConnectionFailed','put','SOCKET_FAILED_RETRY','Failed\x20to\x20update\x20permission\x20point','DataLoaderService','YUUMI_URL_COL_OUT_OF_RANGE','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_collaborationTimeoutTimer','session.room-full','_type','fetchMissingChangesets','_entityInit$','1044268rCuMEt','DocCollaborationEntity','getImage','permissionRejEvent','newCsEvent','1358952zlNvbR','4606604krlbUo','AUTHORIZE_CODE_ILLEGAL','IAuthzIoService','getRandomValues','incrementRevOfUnit','_onUserLeave','mutations','toString','Hasher','_awaitingChangeset','saveChangeset','_reverseMap','JSONX','_syncEditingCollabCursor','LIVESHARE_TERMINATE','MentionType','getCollabEntity','changesets','UniverSheets','_sender','_timeoutTimer','_doCryptBlock','every','LICENSE_MAX_UNITS_EXCEEDED','getLocalCacheKey','CollaborationUIEventId','then','univer-pro.collaboration-client.single-active-unit-service','/universer-api/comb','padding','_updateLocalCache','onMissingChangesets','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_getCtorByUniverType','CONFLICT','subUnitId','_decreaseWaiting','REDEMPTION_INVALID_CODE','/universer-api/stream/file/upload','complete','asObservable','RETRY_CONNECTING_MAX_COUNT_KEY','authzUrl','SUCCUSS','exports','Base64','SUBMIT_CHANGESET_TIMEOUT','RevisionService','listCollaborators','emitEvent','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getImageSourceCache','add','HEARTBEAT_TIMEOUT_KEY','COMMENT_UPDATE','abs','sin','YUUMI_CONNECTOR_URL_NOT_FOUND','c2Prime','_localeService','merge','_schedule','reject','ERROR_AGAIN','HttpExport','setShowComponents','salt','CollaborationSession','ClipsheetFragments','_retryCount','crypto','updatePermissionPoint','readInt32LE','_createHelper','CollaborationEvent','_config','now','randomBytes','delay','_exhaustRemoteChangesetQueue','[CollaborationSessionService]','onTransformRemoteChangesetByStateCache','[DataLoaderService]','CONNECTOR_DATA_TOO_LARGE','_clearTimeoutTimer','href','_onMessage','UNIVER_SLIDE','unknown','getSheetBlock','UniverLicensePlugin','EMAIL_VERIFY_CODE_MISMATCH','setConfig','_createInitialState','sigBytes','putCollaborators','@univerjs/drawing','listRoles','SNAPSHOT_HAS_BEEN_REMOVED','createCollaborator','synced','isInternalEditorID','joinEvent','INVALID_ARGUMENT','CHANGESET_ACK','_members$','isTransformChangesetsSuccess','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','HmacSHA1','_nDataBytes','transformStack\x20failed!','getConfig','UniverProCollaborationClient','APPLY_REVISION_CONFILICT','JOIN_ROOM_NOT_EXISTS','_emitMembers','495hwFRWF','ENTITLE_CHAT_LIMIT_EXCEED','_invKeySchedule','infoRsp','awaiting','[UniverCollaborationClientPlugin]','EmptyMutationInfo','UnitEmbedded','addImageSourceCache','_memberService','_imageSourceCache','_telemetryInfo','resend','MUTATION','sheets','ENTITLE_NEED_BILLING_ADDRESS','updateMember','onSendChangeset','_collabSessionService','_collaborationSessionService','_replaceFileID','ITelemetryService','snapshotServerUrl','has','MOBILE_HAS_BEEN_BOUND','BlockCipherMode','AwaitingState','UserManagerService','sessionStatus$','_telemetryService','/universer-api/authz','isTransformMutationsWithChangesetFailure','ICollaborationSocketService','REDEMPTION_CODE_HAS_BEEN_CREATED','_getSignURL','_process','_onRemoteACK','localCacheService','Injector','disableLocalCache','getGlobalObject','loadSheet','unsubscribe','749442idfIye','UniverCore','serializeCombRequest','__Key__','formatter','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','body','snapshot','_stopTelemetryCollaborationNewChangeset','not_collab','[CollaborationUndoRedoService]','INVITE_CODE_HAS_BEEN_UES','image/gif','_transformRemoteChangesetByStateCache','_prevBlock','SnapshotServerOverHTTPService','_key','_members','ONLINE','CipherParams','cmd','_commentUpdate$','method','offline','_revisionService','/-/object/-/batch_allowed','ERROR_EXCEED_SIZE','FetchingMissState','PY_RUNTIME_SCRIPT_ERROR','_joinRoom','patch','PAYMENT_CHANNEL_NOT_SUPPORT','HEARTBEAT','post','range','reqId','mixIn','EMAIL_HAS_BEEN_BOUND','setWaitCount','_map','indexOf','reset','startsWith','/allowed','signUrlServerUrl','GLOBAL_ROOMS_CNT_EXCEEDS','JOINING','lib','UniverCollaborationClientPlugin','YUUMI_RATE_OVER_LIMIT','baseRev','_onLocalMutation','DATA_SOURCE_TOO_LARGE','clear','IUndoRedoService','Encryptor','getCollabEntity$','ENTITLE_INSUFFICIENT_QUOTA','__esModule','_transformRemoteChangesetByIMECache','CURRENT_STATUS_CANNOT_OPERATE'];_0x54c8=function(){return _0x2a29c1;};return _0x54c8();}
2
+ function _0x3662(_0x33e309,_0x123bed){_0x33e309=_0x33e309-0x115;var _0x43079e=_0x4307();var _0x366268=_0x43079e[_0x33e309];return _0x366268;}function _0x4307(){var _0x31519a=['_event$','HEARTBEAT_TIMEOUT_KEY','RETRY_CONNECTING_MAX_COUNT','amd','FETCH_MISS','transformStack\x20failed!','onSendChangeset','conflict','_reverseMap','state$','_transformSelections','getTypeOfUnitDisposed$','Latin1','fromCollab','_showConflictNotification','_cipher','1556907HydDoQ','UniverDrawing','closeSession','$super','PERMISSION_DENIED','ONLINE','_status$','_candidateSocket','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','now','_mode','join','POST','reqId','_incrementRevisionNumber','Optional','from','state','unitID','parseChangesetToProtocol','_schedule','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_iKey','getSheetBlock','PendingState','/universer-api/file/{fileID}/sign-url','sid','find','pauseCollaboration','onlyLocal','WorkbookEditablePermission','UNIVER_SLIDE','_throwTelemetryCollaborationNewChangeset','reconnect','BehaviorSubject','onRemoteAck','JSONX','SUCCUSS','focused$','BlockCipherMode','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','HEARTBEAT_INTERVAL_KEY','_awaitingChangeset','hasOwnProperty','\x0aAfter:\x20','m2Prime','_clearCollaborationTimeoutTimer','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','/universer-api/comb','JOIN_ROOM_PERMISSION_DENIED','data','_onRemoteACK','AuthzIoHttpService','EMAIL_HAS_BEEN_BOUND','defineProperty','CHANGESET_REJ','EmptyMutationInfo','permissionRejEvent','createInstance','_createHelper','SheetsSelectionsService','_collabSessionService','readAsDataURL','_sheetTransformSelectionsService','_doFinalize','collaboration-client.config','_unlockTransition','RETRY_CONNECTING_MAX_COUNT_KEY','byteLength','FETCH_MISSING','AWAITING_WITH_PENDING','SetSelectionsOperation','_initUnitPermissionChange','send','SOCKET_FAILED_RETRY','objectActions','_substituteRedoStack','_retryCount','session.room-cnt-exceeds','INVALID_ARGUMENT','toStringTag','Cipher','_getAPIPrefix','onTransformSelections','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','APPLY_REJECT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','csShouldRetryEvent','ITransformService','_config','[CollaborationEntity]','stopTime','EvpKDF','function','copyFileMeta','ws://127.0.0.1:8000/universer-api/comb/connect','HTTPService','CHANGESET_ACK','HEARTBEAT_TIMEOUT','name','textEncoder','@univerjs/network','ImageSourceType','touchDependencies','getLatestCsReqIdBySid','asObservable','Failed\x20to\x20update\x20permission\x20point','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','UNRECOGNIZED','_eventService','SNAPSHOT_URL_KEY','initWorkbookPermissionChange','INTERNAL_ERROR','14733GNKAoX','Undefined','OFFLINE','_applyRemoteChangeset','WordArray','awaitingChangeset','every','stringify','_createHmacHelper','getCurrentSelections','LIVESHARE_FETCH_OPERATIONS','liveShareOperation','apply','_toggleOnline','_roomMembers','_change$','LEAVE','LIVESHARE_REQUEST_HOST','post','_updateLocalCache','hasher','UniverDocs','replace','_transitionLocked','unitId\x20is\x20not\x20found','_transformStack','Quantity','_onUserJoin','_singleActiveUnitService','ENTITLE_NEED_BILLING_ADDRESS','SUBMIT_CHANGESET_TIMEOUT','HttpExport','min','forEach','location','onRemoteRetry','unitId','_getRedoStack','UNIVER_PROJECT','MUTATION','responseType','_getLoginPath','_clearScheduledTask','ENTITLE_COUPON_EXPIRED','FAIL','dispose','Encryptor','ENTITLE_DUP_SUBSCRIPTION','_telemetryService','_rescheduleHeartbeat','NOT_FOUND','ISocketService','max','close$','_stopTelemetryCollaborationNewChangeset','_collaborationPaused','SNAPSHOT_HAS_BEEN_REMOVED','_invKeySchedule','_queuedRemoteChangesets','SHA1','enc','b64DecodeUnicode','shareReplay','ICollaborationSocketService','ERROR_IMAGE_TYPE','error$','save\x20fail\x20reason\x20is\x20','capture','getTime','init','createSocket','FetchingMissState','_exhaustRemoteChangesetQueue','RichTextEditingMutation','resolve','revision','slice','keySize','uniscriptRunEvent','@univerjs/sheets','MD5','merge','sequenceExecute','_networkConditionService','_startTelemetryCollaborationNewChangeset','_permissionService','has','selections','SUBMIT_CHANGESET','processBlock','_handlerCallback','_map','[PendingState]:\x20received\x20acknowledgement.','image/jpeg','length','authzUrl','NEW_CHANGESETS','/universer-api/stream/file/upload','Utf8','submit\x20changeset\x20error!','_createInitialStateImpl','debug','UNIVER_UNKNOWN','DEFAULT_WS_SESSION_TICKET_URL','crypto','method','editing\x20status\x20changed\x20to','changesets','ConflictState','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','extend','_revisionService','encryptBlock','CLOSE_ROOM','AwaitingWithPendingState','batchAllowed','actions','CommandType','Error\x20on\x20receiving\x20event','resolveWithBasePath','_nRounds','CommentService','snapshotServerUrl','_getSignURL','USERS_ENTER','PERMISSION_REJ','objectID','LICENSE_EXPORT_SIZE_EXCEEDED','getCollabEntity$','CollaborationEvent','_initRequestHeader','Disposable','ISnapshotServerService','Plugin','originalMeta','_getAPIPrefixPath','ENTITLE_CAN_NOT_BUY_LOWER_OTP','CollaborationEntity','_clearRedo','_key','unsubscribe','status','joinRsp','getConfig','getCurrentUser','[CollaborationSessionService]','Injector','_doCryptBlock','UNIVER_DOC','_waitForHeartbeatResponse','memberID','UNKNOWN_CMD','WECHAT_HAS_BEEN_BOUND','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','parseProtocolChangeset','YUUMI_RATE_OVER_LIMIT','uploadFileServerUrl','fetchMissingChangesets','loadDoc','ERROR_EXCEED_SIZE','\x20-\x20','SheetCollaborationEntity','textRanges','_removeRoom','blockSize','[CollaborationUndoRedoService]','INVITE_CODE_HAS_BEEN_UES','_transformIMECache','HEARTBEAT_INTERVAL','editingUnit','rxjs/operators','UPDATE_PERMISSION_OBJ','deepClone','getRandomValues','online$','ImageUploadStatusType','IPermissionService','IUndoRedoService','clone','_clearLocalCache','default','size','then','CollaborationStatus','LIVESHARE_OPERATION','Hex','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','REDEMPTION_CODE_FULLY_REDEEMED','_decreaseWaiting','getCurrentRevOfUnit','IUniverInstanceService','_createHandler','addHandlerCallback','_type','JOIN_ROOM_NOT_EXISTS','getUnitId','_onLocalMutation','COMPLETION_FINISHED','_initCloseConn','_compressMutationService','INVITE_CODE_ALREADY_BOUND','random','_changesetSessionId','LICENSE_IMPORT_SIZE_EXCEEDED','/allowed','mixIn','create','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','AES','session','LIVESHARE_NEW_HOST','createDecryptor','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_state','/role','_nDataBytes','object','reduce','not_collab','_remoteChangesetQueue','splice','_oKey','Inject','_hash','/object/','saveChangeset','string','getUnitStatus$','SOCKET_FAILED','status$','workbook','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','__splitChunk__','16540twArjU','_checkMissing','update','call','USERS_LEAVE','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','/fetchmissing?from=','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onStarting','_scheduleCollaborationTimeoutTimer','UniverInstanceType','format','ENTITLE_REPORT_LIMIT_EXCEED','url','CHANGESET_SHOULD_RETRY','_replayCachedMutations','complete','toggleOnline','UniverNetwork','commentUpdateEvent','routeKey','onCommentUpdate','_localeService','_entities','MSG_FOR_ERROR','\x20in\x20_schedule.','duration','compute','SHOULD_CLOSE_CONN','UnitSnapshot','updateCursorEvent','add','People','ALREADY_EXISTS','PY_RUNTIME_SCRIPT_ERROR','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','univer-pro.collaboration-client-socket-service','_clearHeartbeatTimer','findIndex','prototype','_emitMembers','formatter','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','StreamCipher','_doProcessBlock','_sendingTimer','finalize','padding','lib','[CollaborationSession]','deserializeToCombResponse','_onJoinRoomEvent','_socketReady','_acknowledgedAwaitingChangeset','AUTHORIZE_CODE_ILLEGAL','REDEMPTION_CODE_HAS_BEEN_CREATED','AwaitingState','CollaborativeUndoRedoService','saveSheetBlock','enableAuthServer','_updateState','Tools','roles','mode','[OfflineState]:\x20received\x20acknowledgement.','range','event$','algo','_ENC_XFORM_MODE','loadUnitOfRevision','REDEMPTION_CODE_INACTIVE','params','INGEST','emitEvent','_pendingMutations','SnapshotService','getWorkbookSelections','loadUnit','univer-pro.collaboration-client.network-condition.service','OpenSSL','onTransformRemoteChangesetByIMECache','PSEUDO_FETCH_MISSING_RESULT','EMAIL_VERIFY_CODE_MISMATCH','NoPadding','csAckEvent','getLocalCacheKey','_members$','/universer-api/snapshot','mergeOverrideWithDependencies','action','allowed','collaboration_new_changeset','open$','_minBufferSize','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_updateStatus','result','Malformed\x20UTF-8\x20data','_sessions','Decryptor','/block/','executeCommand','delete','mapDocumentTypeToUniverType','_resendTimeout','catch','CONNECTOR_DATA_TOO_LARGE','ERROR_IMAGE','UniverCore','filter','DisposableCollection','salt','saveSnapshot','CollaborationSessionService','toString','_onConnectionOpen','isArray','INVITE_CODE_REQUIRED','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','collaMsg','UniverCollaborationPlugin','sessionStatus$','ReplaySubject','_httpService','SNAPSHOT_INVALID_SNAPSHOT','_changesetReqId','ThresholdInterceptorFactory','UNKNOWN_CODE','_clearUndo','_tryReconnect','session.room-permission-denied','UniverCollaborationClientPlugin','_snapshotServerService','[OfflineState]:\x20received\x20changeset.','_shouldReportTelemetry','__esModule','YUUMI_URL_COL_OUT_OF_RANGE','_onMessage','MentionIoHttpService','map','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ClipsheetFragments','_collaborationUIEventService','removeMember','decrypt','substr','change$','fetching\x20missing\x20changesets\x20from\x20','DependentOn','disposeWithMe','delay','_onFetchMissResult','awaiting','_registerDependencies','ciphertext','AWAITING','updateOfflineData','Workbook','telemetry\x20info\x20is\x20not\x20initialized','UNIVER_SHEET','refreshPermission','ENTITLE_CHAT_LIMIT_EXCEED','fromCharCode','ISingleActiveUnitService','getInterceptPoints','_onRecvEvent','onRemoteChangeset','retryConnectingInterval','UnitStatus','_state$','getSnapshotAPIPath','_onRemoteRejected','session.room-full','transformChangesets','?size=','/universer-api/snapshot/','ENTITLE_USE_COUPON_NOT_1ST_TRADE','byteOffset','pad','title','execute','SheetPermissionInitController','collaboratorID','reject','HEARTBEAT','interceptor','target','REDEMPTION_CODE_NOT_STARTED','LOCAL_CACHE_INTERVAL','ivSize','LIVESHARE_TERMINATE','_createSocket','registerHTTPInterceptor','loadSheet','_collaborationTimeoutTimer','_replaceFileID','indexOf','transformUndoRedo','JOINING','encrypt','UNISCRIPT_RUN','get','IConfigService','disableLocalCache','pipe','LICENSE_MAX_UNITS_EXCEEDED','encodeURIComponent','SYNCED','UserManagerService','_createInitialState','decryptBlock','_doCreateSocket','OTHER_CLIENT_EDITING','offline','IDLE','collaborators','collabWebSocketUrl','\x20to\x20','_doReset','MOBILE_VERIFY_CODE_MISMATCH','43019750Hzzbzi','charCodeAt','_waitCount','_resendTimer','listCollaborators','_instanceService','DEFAULT_FILE_NAME','onStateChange','toggleOffline','LocaleService','_lockTransition','getGlobalObject','ILocalCacheService','socket\x20open.','APPLY_DUPLICATED','exports','[PendingState]:\x20received\x20rejection.','_socket$','firstValueFrom','charAt','readyForCollab','_parse','_configService','getOwnPropertyDescriptor','_syncEditingCollabCursor','_maxTotalRetryTimeout','rev','parse','withCredentials','CompressMutationService','CollaborationController','take','DATA_SOURCE_TOO_LARGE','_submitChangeset','c1Prime','newCsEvent','_members','uuidv4','_onConnectionFailed','takeUntil','connection\x20error','380rxaMkp','objectType','LICENSE_DISTRO_REJECTED','Base64','getSheetId','onTransformIME','_transformRemoteChangesetByIMECache','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_process','floor','&assign=','pending','updateSnapshot','_undoStacks','cfg','_clearTimeoutTimer','updatePermissionPoint','_getCtorByUniverType','/universer-api/authz','unknown','failed\x20to\x20apply\x20missed\x20changesets!','Module','hostname','src','getUnitType','image/gif','body','_getUploadFileURL','type','_redoStacks','APPLY_NON_SEQUENTIAL_REVISION','_retryConnectingTimer','DEFAULT_COLLAB_WEB_SOCKET_URL','error','[OfflineState]:\x20received\x20rejection.','ceil','ERROR_AGAIN','toDisposable','auth.needGotoLoginAlert','_userManagerService','_entityInit$','YUUMI_AI_RUN_FAILED','4966023hUpDXv','list','onload','socket$','LOGIN_FAILED','_onRemoteRetry','GLOBAL_ROOMS_CNT_EXCEEDS','INetworkConditionService','_transformStateCache','synced','_unitInfo$','JOIN_ROOM_FULL','href','_telemetryInfo','ICommandService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','c2Prime','DocCollaborationEntity','msCrypto','isTransformChangesetsSuccess','PERSON','CBC','_xformMode','_getUndoStack','localeService','isPermissionRej','encode','USER_NOT_FOUND','reset','_memberService','UniverTelemetry','CollaborationUIEventId','subject','getUnitOnRev','_undoRedoService','isInternalEditorID','[PendingState]:\x20unhandled\x20univer\x20type:\x20','rxjs','createCollaborator','requireSession','CURRENT_STATUS_CANNOT_OPERATE','/collaborator','set','SerializableCipher','next','onTransformState','_scheduleCompleteTimestamp','JOIN_ROOM_FAILED','CollaborationSocketService','_imageSourceCache','UserProfileImg','@univerjs-pro/collaboration','createEncryptor','_getCurrentRevision','getActiveSheet','TOO_MANY_REQUESTS','getMember','_sendHeartbeatTimer','snapshot','LOGIN_TOKEN_PROCESSING_FAILED','_transformUndoredo','HELLO','push','_startCollaboration','_keySchedule','_transformRemoteChangesetByStateCache','REDEMPTION_INVALID_CODE','getAllMembers','concatMap','UNAUTHENTICATED','fetchMiss','RevisionService','_toggleOffline','randomBytes','buffer','7579229LiRSmU','objects','sendChangesetTimeout','updateMember','REDEMPTION_USER_NOT_ELIGIBLE','createIdentifier','setCurrentUser','resourceIDs','_socket','_substituteUndoStack','clear','getFocusedUnit','sheets','HttpImport','Hasher','/-/object/-/batch_allowed','@univerjs/core','_snapshotService','ITelemetryService','5728LzCuJg','Pkcs7','_HTTPService','LOCAL_CACHE_INTERVAL_KEY','code','RxDisposable','collabSubmitChangesetUrl','baseRev','_tryEnsureSocket','onMutationExecutedForCollab','SheetTransformSelectionsService','BufferedBlockAlgorithm','[DataLoaderService]','APPLY_PERMISSION_DENIED','onRemoteRej','x-univer-host','onSyncEditingCollabCursor','members$','ENTITLE_INVALID_COUPON_CODE','enableCollaboration','_iv','appendMutation','sigBytes','YUUMI_CONNECTOR_URL_NOT_FOUND','CipherParams','COMMENT_UPDATE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','loadOfflineData','FileId','RECV','unpad','&to=','leaveEvent','cmd','getImage','YUUMI_NO_CUBOID_FOR_QUESTION','/rev/','IAuthzIoService','_commandService','setConfig','reverse','OPTIONAL','resend','_transformService','requestParams','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_injector','__creator','_initMergeInterceptor','@univerjs/telemetry','_isPermissionRej','USER_IS_ANONYMOUS','_append','Base','APPLY_REVISION_CONFILICT','_collaborationSessionService','_sessionStatus$','fetchThroughInterceptors','JOIN','_hasher','_disableEditing','updatePermissionObjEvent','_timeoutTimer','_handler','NO_OTHER_CLIENTS_EDITING','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','MemberService','subUnitId','_sender','setShowComponents','_socketMessageSubscription','INVALID_INVITE_CODE','6lhRpeO','UnitEmbedded','YUUMI_ASYNCIO_CANCELLED','_resendWithTimeout','subscribe','CollaborationSession','_sendHeartbeat','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','eventID','equals','/-/object/list','COMPRESS_MUTATION_APPLY','_roomCreated$','OfflineState','Subject','CollaborationImageIoService','clamp','CollaborationUIEventService','_getSendChangesetTimeout','UNDEFINED','_logService','/universer-api/uniscript','getTypeOfUnitAdded$','abs','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','downloadEndpointUrl','HmacSHA1','dispose$','transformMutationsWithChangeset','ILogService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','PAYMENT_CHANNEL_NOT_SUPPORT','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_localCacheService','isTransformMutationsWithChangesetFailure','_univerInstanceService','SyncedState','YUUMI_ALL_TABLES_IS_INVALID','[SyncedState]:\x20received\x20acknowledgement.','_initDependencies','_onCombEvent','_init','infoRsp','BASE64','_getDownloadEndpointURL','_data','/universer-api/oidc/authpage','mutations','_keyPriorReset','words','onLocalMutation','_commentUpdate$','OTHER_CLIENTS_EDITING','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_executeRemoteChangeset','CHANGESET_REVISION_CONFILICT','ENSURE_SNAPSHOT_EXECUTION','patch','univer-pro.collaboration-client.single-active-unit-service','getValue','localCacheService','incrementRevOfUnit','[SyncedState]:\x20received\x20rejection.','UPDATE_CURSOR','deleteCollaborator','UniverLicensePlugin','__Key__','_socketService','&source=','_clearRetryConnectingTimer','concat','CONFLICT','_onConflict','_onOffline','addImageSourceCache','UniverProLicense','SnapshotServerOverHTTPService','session.join-failed','UniverProCollaborationClient','YUUMI_UNABLE_LOAD_URL','values','MOBILE_HAS_BEEN_BOUND','?url=','3212358YDxxKu','ENTITLE_COUPON_USED_UP','message$','transformSelections','_onUserLeave','close','isTransformMutationsWithChangesetSuccess','_unitID','DataLoaderService','onMissedChangesetFetched','userID','unitInfo$','COMPRESS_MUTATION_SEND','fetch_missing','_listenToNetworkCondition','getCollabEntity','/unit/','_prevBlock','onTransformRemoteChangesetByStateCache','onMissingChangesets'];_0x4307=function(){return _0x31519a;};return _0x4307();}(function(_0x6b1e92,_0x475b6e){var _0x310994=_0x3662,_0x13f979=_0x6b1e92();while(!![]){try{var _0x20bf27=parseInt(_0x310994(0x451))/0x1+parseInt(_0x310994(0x42d))/0x2+parseInt(_0x310994(0x334))/0x3+parseInt(_0x310994(0x205))/0x4*(parseInt(_0x310994(0x30a))/0x5)+-parseInt(_0x310994(0x3da))/0x6*(parseInt(_0x310994(0x37f))/0x7)+parseInt(_0x310994(0x392))/0x8*(parseInt(_0x310994(0x11c))/0x9)+-parseInt(_0x310994(0x2e1))/0xa;if(_0x20bf27===_0x475b6e)break;else _0x13f979['push'](_0x13f979['shift']());}catch(_0x5c76df){_0x13f979['push'](_0x13f979['shift']());}}}(_0x4307,0xe09f9),function(_0x1836db,_0x953250){var _0x3c98c7=_0x3662;typeof exports==_0x3c98c7(0x1f4)&&typeof module<'u'?_0x953250(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs-pro/license'),require('@univerjs/drawing')):typeof define==_0x3c98c7(0x4ae)&&define[_0x3c98c7(0x444)]?define([_0x3c98c7(0x2f0),_0x3c98c7(0x367),_0x3c98c7(0x38f),'@univerjs/docs',_0x3c98c7(0x16b),_0x3c98c7(0x359),_0x3c98c7(0x3c3),_0x3c98c7(0x1c6),_0x3c98c7(0x4b6),'@univerjs-pro/license','@univerjs/drawing'],_0x953250):(_0x1836db=typeof globalThis<'u'?globalThis:_0x1836db||self,_0x953250(_0x1836db[_0x3c98c7(0x428)]={},_0x1836db['UniverProCollaboration'],_0x1836db[_0x3c98c7(0x271)],_0x1836db[_0x3c98c7(0x131)],_0x1836db['UniverSheets'],_0x1836db[_0x3c98c7(0x359)],_0x1836db[_0x3c98c7(0x352)],_0x1836db[_0x3c98c7(0x359)]['operators'],_0x1836db[_0x3c98c7(0x217)],_0x1836db[_0x3c98c7(0x425)],_0x1836db[_0x3c98c7(0x452)]));}(this,function(_0x43236a,_0x4a4eff,_0x132a8a,_0x172117,_0x3b6fb7,_0x41f28e,_0x405871,_0xb6ddf5,_0x38b1a1,_0x2a39fc,_0x58931d){'use strict';var _0x56fe62=_0x3662;var _0x330ea0=Object[_0x56fe62(0x487)],_0x1ab224=(_0x4aca00,_0x5ec480,_0x23c991)=>_0x5ec480 in _0x4aca00?_0x330ea0(_0x4aca00,_0x5ec480,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23c991}):_0x4aca00[_0x5ec480]=_0x23c991,_0x18d62f=(_0x36181b,_0x1849b5,_0x560986)=>_0x1ab224(_0x36181b,typeof _0x1849b5!='symbol'?_0x1849b5+'':_0x1849b5,_0x560986);const _0x304017=_0x56fe62(0x25c),_0x34823c=_0x56fe62(0x119),_0x148b14=_0x56fe62(0x4b0),_0x1e596d='/universer-api/user/session-ticket',_0x3a00b0=_0x56fe62(0x1c4),_0x5e0ea0=_0x56fe62(0x4b3),_0x23a235=_0x56fe62(0x443),_0x371f06=_0x56fe62(0x2c1),_0x31cb17=_0x56fe62(0x481),_0x1a755a=_0x56fe62(0x408),_0x29228a=_0x56fe62(0x20c),_0x555c26=_0x56fe62(0x3ef);var _0x41c854=(_0xcaef74=>(_0xcaef74[_0xcaef74['UNDEFINED']=0x0]=_0x56fe62(0x3ed),_0xcaef74[_0xcaef74['OK']=0x1]='OK',_0xcaef74[_0xcaef74['INTERNAL_ERROR']=0x2]=_0x56fe62(0x11b),_0xcaef74[_0xcaef74[_0x56fe62(0x455)]=0x3]=_0x56fe62(0x455),_0xcaef74[_0xcaef74['NOT_FOUND']=0x4]=_0x56fe62(0x14e),_0xcaef74[_0xcaef74[_0x56fe62(0x379)]=0x5]=_0x56fe62(0x379),_0xcaef74[_0xcaef74[_0x56fe62(0x226)]=0x6]=_0x56fe62(0x226),_0xcaef74[_0xcaef74[_0x56fe62(0x4a0)]=0x7]=_0x56fe62(0x4a0),_0xcaef74[_0xcaef74[_0x56fe62(0x36b)]=0x8]=_0x56fe62(0x36b),_0xcaef74[_0xcaef74[_0x56fe62(0x1e1)]=0x9]=_0x56fe62(0x1e1),_0xcaef74[_0xcaef74['LOGIN_FAILED']=0xa]=_0x56fe62(0x338),_0xcaef74[_0xcaef74[_0x56fe62(0x2e0)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xcaef74[_0xcaef74['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x56fe62(0x3d3),_0xcaef74[_0xcaef74[_0x56fe62(0x257)]=0xd]=_0x56fe62(0x257),_0xcaef74[_0xcaef74[_0x56fe62(0x1eb)]=0xe]=_0x56fe62(0x1eb),_0xcaef74[_0xcaef74[_0x56fe62(0x23b)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0xcaef74[_0xcaef74[_0x56fe62(0x36f)]=0x10]=_0x56fe62(0x36f),_0xcaef74[_0xcaef74[_0x56fe62(0x35c)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0xcaef74[_0xcaef74[_0x56fe62(0x32e)]=0x65]=_0x56fe62(0x32e),_0xcaef74[_0xcaef74[_0x56fe62(0x34f)]=0xc9]='USER_NOT_FOUND',_0xcaef74[_0xcaef74[_0x56fe62(0x3c5)]=0xca]=_0x56fe62(0x3c5),_0xcaef74[_0xcaef74[_0x56fe62(0x411)]=0x1389]=_0x56fe62(0x411),_0xcaef74[_0xcaef74['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x56fe62(0x281),_0xcaef74[_0xcaef74[_0x56fe62(0x154)]=0x1772]=_0x56fe62(0x154),_0xcaef74[_0xcaef74[_0x56fe62(0x412)]=0x1773]=_0x56fe62(0x412),_0xcaef74[_0xcaef74[_0x56fe62(0x4a6)]=0x1b59]='APPLY_REJECT',_0xcaef74[_0xcaef74[_0x56fe62(0x328)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xcaef74[_0xcaef74[_0x56fe62(0x3c8)]=0x1b5b]=_0x56fe62(0x3c8),_0xcaef74[_0xcaef74['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x56fe62(0x39f),_0xcaef74[_0xcaef74[_0x56fe62(0x2ef)]=0x1b5d]=_0x56fe62(0x2ef),_0xcaef74[_0xcaef74[_0x56fe62(0x26f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xcaef74[_0xcaef74[_0x56fe62(0x2d2)]=0x2329]=_0x56fe62(0x2d2),_0xcaef74[_0xcaef74[_0x56fe62(0x3f8)]=0x232a]=_0x56fe62(0x3f8),_0xcaef74[_0xcaef74[_0x56fe62(0x1e7)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xcaef74[_0xcaef74['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x56fe62(0x19b),_0xcaef74[_0xcaef74[_0x56fe62(0x30c)]=0x232d]=_0x56fe62(0x30c),_0xcaef74[_0xcaef74[_0x56fe62(0x429)]=0x2711]=_0x56fe62(0x429),_0xcaef74[_0xcaef74[_0x56fe62(0x28d)]=0x2712]=_0x56fe62(0x28d),_0xcaef74[_0xcaef74[_0x56fe62(0x1b7)]=0x2713]=_0x56fe62(0x1b7),_0xcaef74[_0xcaef74['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xcaef74[_0xcaef74[_0x56fe62(0x3b5)]=0x271a]=_0x56fe62(0x3b5),_0xcaef74[_0xcaef74[_0x56fe62(0x3dc)]=0x271b]=_0x56fe62(0x3dc),_0xcaef74[_0xcaef74[_0x56fe62(0x3ac)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xcaef74[_0xcaef74['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x56fe62(0x3ff),_0xcaef74[_0xcaef74['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x56fe62(0x4a7),_0xcaef74[_0xcaef74[_0x56fe62(0x333)]=0x271f]=_0x56fe62(0x333),_0xcaef74[_0xcaef74[_0x56fe62(0x3a9)]=0x2720]=_0x56fe62(0x3a9),_0xcaef74[_0xcaef74['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x56fe62(0x227),_0xcaef74[_0xcaef74[_0x56fe62(0x1c2)]=0x2ee1]=_0x56fe62(0x1c2),_0xcaef74[_0xcaef74[_0x56fe62(0x3d9)]=0x2ee2]=_0x56fe62(0x3d9),_0xcaef74[_0xcaef74[_0x56fe62(0x27a)]=0x2ee3]=_0x56fe62(0x27a),_0xcaef74[_0xcaef74['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0xcaef74[_0xcaef74[_0x56fe62(0x1e4)]=0x2ee5]=_0x56fe62(0x1e4),_0xcaef74[_0xcaef74[_0x56fe62(0x1b4)]=0x32c9]=_0x56fe62(0x1b4),_0xcaef74[_0xcaef74['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x56fe62(0x42b),_0xcaef74[_0xcaef74[_0x56fe62(0x486)]=0x32cb]=_0x56fe62(0x486),_0xcaef74[_0xcaef74[_0x56fe62(0x1a4)]=0x36b1]=_0x56fe62(0x1a4),_0xcaef74[_0xcaef74['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x56fe62(0x3e1),_0xcaef74[_0xcaef74[_0x56fe62(0x14b)]=0x36b3]=_0x56fe62(0x14b),_0xcaef74[_0xcaef74[_0x56fe62(0x3f9)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0xcaef74[_0xcaef74[_0x56fe62(0x3a4)]=0x36b5]=_0x56fe62(0x3a4),_0xcaef74[_0xcaef74[_0x56fe62(0x147)]=0x36b6]=_0x56fe62(0x147),_0xcaef74[_0xcaef74['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x56fe62(0x42e),_0xcaef74[_0xcaef74[_0x56fe62(0x2b5)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0xcaef74[_0xcaef74['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x56fe62(0x2a6),_0xcaef74[_0xcaef74['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x56fe62(0x211),_0xcaef74[_0xcaef74['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0xcaef74[_0xcaef74[_0x56fe62(0x139)]=0x37dd]=_0x56fe62(0x139),_0xcaef74[_0xcaef74[_0x56fe62(0x376)]=0x3a99]='REDEMPTION_INVALID_CODE',_0xcaef74[_0xcaef74[_0x56fe62(0x24b)]=0x3a9a]=_0x56fe62(0x24b),_0xcaef74[_0xcaef74['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x56fe62(0x1d7),_0xcaef74[_0xcaef74[_0x56fe62(0x2c0)]=0x3a9c]=_0x56fe62(0x2c0),_0xcaef74[_0xcaef74['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x56fe62(0x383),_0xcaef74[_0xcaef74['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x56fe62(0x40f),_0xcaef74[_0xcaef74['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x56fe62(0x23c),_0xcaef74[_0xcaef74[_0x56fe62(0x301)]=0x3e81]=_0x56fe62(0x301),_0xcaef74[_0xcaef74[_0x56fe62(0x117)]=-0x1]=_0x56fe62(0x117),_0xcaef74))(_0x41c854||{}),_0x5b3fe9=(_0x387318=>(_0x387318[_0x387318[_0x56fe62(0x182)]=0x0]=_0x56fe62(0x182),_0x387318[_0x387318[_0x56fe62(0x1b0)]=0x1]=_0x56fe62(0x1b0),_0x387318[_0x387318[_0x56fe62(0x2a4)]=0x2]='UNIVER_SHEET',_0x387318[_0x387318['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x387318[_0x387318[_0x56fe62(0x142)]=0x4]=_0x56fe62(0x142),_0x387318[_0x387318[_0x56fe62(0x117)]=-0x1]=_0x56fe62(0x117),_0x387318))(_0x5b3fe9||{}),_0x225c09=(_0x244af4=>(_0x244af4[_0x244af4['UNKNOWN_CMD']=0x0]=_0x56fe62(0x1b3),_0x244af4[_0x244af4[_0x56fe62(0x371)]=0x1]=_0x56fe62(0x371),_0x244af4[_0x244af4['JOIN']=0x2]='JOIN',_0x244af4[_0x244af4[_0x56fe62(0x12c)]=0x3]=_0x56fe62(0x12c),_0x244af4[_0x244af4[_0x56fe62(0x24d)]=0x4]='INGEST',_0x244af4[_0x244af4[_0x56fe62(0x2bd)]=0x5]=_0x56fe62(0x2bd),_0x244af4[_0x244af4[_0x56fe62(0x3af)]=0x6]=_0x56fe62(0x3af),_0x244af4[_0x244af4[_0x56fe62(0x117)]=-0x1]=_0x56fe62(0x117),_0x244af4))(_0x225c09||{}),_0x30b10a=(_0x15fda6=>(_0x15fda6[_0x15fda6[_0x56fe62(0x284)]=0x0]=_0x56fe62(0x284),_0x15fda6[_0x15fda6['OK']=0x1]='OK',_0x15fda6[_0x15fda6[_0x56fe62(0x148)]=0x2]='FAIL',_0x15fda6[_0x15fda6[_0x56fe62(0x33f)]=0x3e9]='JOIN_ROOM_FULL',_0x15fda6[_0x15fda6['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x56fe62(0x1de),_0x15fda6[_0x15fda6[_0x56fe62(0x482)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x15fda6[_0x15fda6[_0x56fe62(0x33a)]=0x3ec]=_0x56fe62(0x33a),_0x15fda6[_0x15fda6['UNRECOGNIZED']=-0x1]=_0x56fe62(0x117),_0x15fda6))(_0x30b10a||{}),_0x5c74c3=(_0x5bd318=>(_0x5bd318[_0x5bd318['Undefined']=0x0]=_0x56fe62(0x11d),_0x5bd318[_0x5bd318[_0x56fe62(0x38c)]=0x1]=_0x56fe62(0x38c),_0x5bd318[_0x5bd318['HttpExport']=0x2]=_0x56fe62(0x13b),_0x5bd318[_0x5bd318[_0x56fe62(0x3db)]=0x3]='UnitEmbedded',_0x5bd318[_0x5bd318[_0x56fe62(0x222)]=0x4]=_0x56fe62(0x222),_0x5bd318[_0x5bd318[_0x56fe62(0x366)]=0x5]='UserProfileImg',_0x5bd318[_0x5bd318['ClipsheetFragments']=0x6]=_0x56fe62(0x292),_0x5bd318[_0x5bd318[_0x56fe62(0x117)]=-0x1]='UNRECOGNIZED',_0x5bd318))(_0x5c74c3||{});const _0x3d0463=_0x56fe62(0x260);function _0x34b1d6(_0xd6cb02){var _0x8394ab=_0x56fe62;return JSON[_0x8394ab(0x123)](_0xd6cb02)[_0x8394ab(0x17a)];}var _0x3fbd84=(_0x2b0005=>(_0x2b0005[_0x56fe62(0x2d9)]='OTHER_CLIENT_EDITING',_0x2b0005[_0x56fe62(0x455)]=_0x56fe62(0x455),_0x2b0005[_0x56fe62(0x421)]=_0x56fe62(0x421),_0x2b0005[_0x56fe62(0x18d)]=_0x56fe62(0x18d),_0x2b0005[_0x56fe62(0x363)]='JOIN_ROOM_FAILED',_0x2b0005[_0x56fe62(0x49b)]='SOCKET_FAILED_RETRY',_0x2b0005['SOCKET_FAILED']=_0x56fe62(0x200),_0x2b0005[_0x56fe62(0x13a)]=_0x56fe62(0x13a),_0x2b0005))(_0x3fbd84||{});class _0x3d2ec6{constructor(){var _0x69e723=_0x56fe62;_0x18d62f(this,_0x69e723(0x441),new _0x41f28e[(_0x69e723(0x3e8))]()),_0x18d62f(this,_0x69e723(0x247),this[_0x69e723(0x441)][_0x69e723(0x4ba)]());}[_0x56fe62(0x24e)](_0x3ffcbd){var _0x490d4b=_0x56fe62;this[_0x490d4b(0x441)][_0x490d4b(0x360)](_0x3ffcbd);}}class _0x817b9d{constructor(){var _0x2a550c=_0x56fe62;_0x18d62f(this,'_commentUpdate$',new _0x41f28e[(_0x2a550c(0x3e8))]()),_0x18d62f(this,'commentUpdate$',this[_0x2a550c(0x40d)][_0x2a550c(0x4ba)]());}[_0x56fe62(0x21a)](_0x4b5722){var _0x588d73=_0x56fe62;this['_commentUpdate$'][_0x588d73(0x360)](_0x4b5722);}}var _0x5328c6=Object[_0x56fe62(0x2f8)],_0x3b189a=(_0x3166e3,_0x1971ee,_0x509cc6,_0x555567)=>{var _0x572650=_0x56fe62;for(var _0x369d16=_0x555567>0x1?void 0x0:_0x555567?_0x5328c6(_0x1971ee,_0x509cc6):_0x1971ee,_0x4719b8=_0x3166e3[_0x572650(0x17a)]-0x1,_0x4a6df9;_0x4719b8>=0x0;_0x4719b8--)(_0x4a6df9=_0x3166e3[_0x4719b8])&&(_0x369d16=_0x4a6df9(_0x369d16)||_0x369d16);return _0x369d16;},_0x4ecea7=(_0x3d8ecc,_0x1a2002)=>(_0x423315,_0x4607b0)=>_0x1a2002(_0x423315,_0x4607b0,_0x3d8ecc);_0x43236a['MemberService']=class extends _0x132a8a[_0x56fe62(0x19f)]{constructor(_0x325157,_0x479bb3){var _0x42a306=_0x56fe62;super(),_0x18d62f(this,_0x42a306(0x12a),new Map()),_0x18d62f(this,_0x42a306(0x3e6),new _0x41f28e[(_0x42a306(0x3e8))]()),(this[_0x42a306(0x3fd)]=_0x325157,this[_0x42a306(0x331)]=_0x479bb3,this[_0x42a306(0x29a)](_0x41f28e[_0x42a306(0x16d)](this['_univerInstanceService'][_0x42a306(0x44c)](_0x132a8a[_0x42a306(0x20f)]['UNIVER_SHEET'])[_0x42a306(0x2d1)](_0xb6ddf5['map'](_0x24ec60=>_0x24ec60[_0x42a306(0x1df)]())),this[_0x42a306(0x3fd)][_0x42a306(0x44c)](_0x132a8a[_0x42a306(0x20f)]['UNIVER_DOC'])[_0x42a306(0x2d1)](_0xb6ddf5[_0x42a306(0x290)](_0x267d7d=>_0x267d7d['getUnitId']())),this[_0x42a306(0x3fd)][_0x42a306(0x44c)](_0x132a8a[_0x42a306(0x20f)][_0x42a306(0x470)])['pipe'](_0xb6ddf5[_0x42a306(0x290)](_0x2e74ac=>_0x2e74ac[_0x42a306(0x1df)]())))[_0x42a306(0x3de)](_0xe9366d=>this[_0x42a306(0x1bf)](_0xe9366d))));}['waitForRoom$'](_0x187c08){var _0x464a5b=_0x56fe62;return this[_0x464a5b(0x12a)][_0x464a5b(0x172)](_0x187c08)?_0x41f28e['of'](this[_0x464a5b(0x12a)][_0x464a5b(0x2ce)](_0x187c08)):this[_0x464a5b(0x3e6)][_0x464a5b(0x2d1)](_0xb6ddf5[_0x464a5b(0x290)](_0x171ae7=>{var _0x3389bc=_0x464a5b;if(_0x171ae7===_0x187c08)return this[_0x3389bc(0x12a)]['get'](_0x171ae7);}));}[_0x56fe62(0x385)](_0x14597c){var _0x3744b6=_0x56fe62;this['_userManagerService'][_0x3744b6(0x385)](_0x14597c);}[_0x56fe62(0x1ac)](){var _0x4d2c4c=_0x56fe62;return this[_0x4d2c4c(0x331)][_0x4d2c4c(0x1ac)]();}['updateMember'](_0x5002f3,_0xe72f70){var _0x5e2e42=_0x56fe62;let _0x370bf5=this[_0x5e2e42(0x12a)][_0x5e2e42(0x2ce)](_0x5002f3);_0x370bf5||(_0x370bf5=new _0x21d799(),this[_0x5e2e42(0x12a)][_0x5e2e42(0x35e)](_0x5002f3,_0x370bf5),this['_roomCreated$'][_0x5e2e42(0x360)](_0x5002f3)),_0x370bf5[_0x5e2e42(0x382)](_0xe72f70);}[_0x56fe62(0x294)](_0x1acbd7,_0x2b7057){var _0x4de91f=_0x56fe62;const _0x445683=this[_0x4de91f(0x12a)][_0x4de91f(0x2ce)](_0x1acbd7);_0x445683&&_0x445683[_0x4de91f(0x294)](_0x2b7057);}['getRoom'](_0x300fd0){var _0x44f470=_0x56fe62;return this[_0x44f470(0x12a)][_0x44f470(0x2ce)](_0x300fd0);}[_0x56fe62(0x36c)](_0x174c22,_0x127608){var _0x4476bd=_0x56fe62;const _0x5e801c=this[_0x4476bd(0x12a)][_0x4476bd(0x2ce)](_0x174c22);if(_0x5e801c)return _0x5e801c[_0x4476bd(0x36c)](_0x127608);}[_0x56fe62(0x1bf)](_0x51620c){var _0x4be23b=_0x56fe62;const _0x2510bc=this[_0x4be23b(0x12a)][_0x4be23b(0x2ce)](_0x51620c);_0x2510bc&&(_0x2510bc[_0x4be23b(0x149)](),this[_0x4be23b(0x12a)][_0x4be23b(0x26b)](_0x51620c));}[_0x56fe62(0x149)](){var _0x48770f=_0x56fe62;this[_0x48770f(0x12a)]['forEach'](_0x5cb495=>_0x5cb495['dispose']()),this[_0x48770f(0x12a)]['clear'](),this[_0x48770f(0x3e6)][_0x48770f(0x215)]();}},_0x43236a[_0x56fe62(0x3d4)]=_0x3b189a([_0x4ecea7(0x0,_0x132a8a['IUniverInstanceService']),_0x4ecea7(0x1,_0x132a8a['Inject'](_0x132a8a[_0x56fe62(0x2d5)]))],_0x43236a['MemberService']);class _0x21d799 extends _0x132a8a[_0x56fe62(0x19f)]{constructor(){var _0x70b24b=_0x56fe62;super(...arguments),_0x18d62f(this,_0x70b24b(0x305),new Map()),_0x18d62f(this,_0x70b24b(0x25b),new _0x41f28e[(_0x70b24b(0x473))](this[_0x70b24b(0x305)])),_0x18d62f(this,_0x70b24b(0x3a3),this['_members$']['asObservable']());}[_0x56fe62(0x149)](){var _0x2cb0e7=_0x56fe62;this['_members'][_0x2cb0e7(0x389)]();}[_0x56fe62(0x382)](_0x3fb29e){var _0x4509fb=_0x56fe62;this['_members'][_0x4509fb(0x35e)](_0x3fb29e[_0x4509fb(0x1b2)],_0x3fb29e),this[_0x4509fb(0x22d)]();}['removeMember'](_0x41aec7){var _0x4b91cc=_0x56fe62;this[_0x4b91cc(0x305)][_0x4b91cc(0x26b)](_0x41aec7);}['getMember'](_0x548053){var _0x20a027=_0x56fe62;return this['_members'][_0x20a027(0x2ce)](_0x548053);}[_0x56fe62(0x377)](){var _0x2d1adf=_0x56fe62;return Array[_0x2d1adf(0x461)](this[_0x2d1adf(0x305)][_0x2d1adf(0x42a)]());}['_emitMembers'](){var _0xeadb60=_0x56fe62;this[_0xeadb60(0x25b)][_0xeadb60(0x360)](this['_members']);}}var _0x2b3895=Object['getOwnPropertyDescriptor'],_0x18a32e=(_0x14c5ad,_0x52cb06,_0x26a1c4,_0x45704c)=>{var _0x3282ea=_0x56fe62;for(var _0xf1526d=_0x45704c>0x1?void 0x0:_0x45704c?_0x2b3895(_0x52cb06,_0x26a1c4):_0x52cb06,_0x2fe758=_0x14c5ad[_0x3282ea(0x17a)]-0x1,_0x1593d7;_0x2fe758>=0x0;_0x2fe758--)(_0x1593d7=_0x14c5ad[_0x2fe758])&&(_0xf1526d=_0x1593d7(_0xf1526d)||_0xf1526d);return _0xf1526d;},_0x349648=(_0x3ee67a,_0x40abf7)=>(_0x752d75,_0x5adf0d)=>_0x40abf7(_0x752d75,_0x5adf0d,_0x3ee67a),_0x49f99f=(_0x59611e=>(_0x59611e[_0x59611e[_0x56fe62(0x2db)]=0x0]=_0x56fe62(0x2db),_0x59611e[_0x59611e[_0x56fe62(0x2cb)]=0x1]=_0x56fe62(0x2cb),_0x59611e[_0x59611e[_0x56fe62(0x11e)]=0x2]=_0x56fe62(0x11e),_0x59611e[_0x59611e['ONLINE']=0x3]=_0x56fe62(0x456),_0x59611e))(_0x49f99f||{});const _0x143bfc={[_0x30b10a[_0x56fe62(0x148)]]:_0x56fe62(0x427),[_0x30b10a[_0x56fe62(0x33f)]]:_0x56fe62(0x2b1),[_0x30b10a[_0x56fe62(0x1de)]]:'session.room-not-exists',[_0x30b10a['JOIN_ROOM_PERMISSION_DENIED']]:_0x56fe62(0x287),[_0x30b10a[_0x56fe62(0x33a)]]:_0x56fe62(0x49f)};_0x43236a[_0x56fe62(0x3df)]=class extends _0x132a8a[_0x56fe62(0x397)]{constructor(_0x4fdd2c,_0x4d50b5,_0x290d8c,_0x527049,_0x15f039,_0x10d2b4,_0x36ecb7,_0x3baef1){var _0x5a9fca=_0x56fe62;super(),_0x18d62f(this,'_sessionStatus$',new _0x41f28e['BehaviorSubject'](0x0)),_0x18d62f(this,'sessionStatus$',this['_sessionStatus$'][_0x5a9fca(0x4ba)]()),_0x18d62f(this,'_event$',new _0x41f28e[(_0x5a9fca(0x3e8))]()),_0x18d62f(this,_0x5a9fca(0x247),this['_event$'][_0x5a9fca(0x4ba)]()),_0x18d62f(this,_0x5a9fca(0x387)),_0x18d62f(this,_0x5a9fca(0x3d8)),_0x18d62f(this,_0x5a9fca(0x2c7)),_0x18d62f(this,_0x5a9fca(0x28b),!0x1),_0x18d62f(this,_0x5a9fca(0x341),null),(this[_0x5a9fca(0x434)]=_0x4fdd2c,this[_0x5a9fca(0x3ee)]=_0x290d8c,this['_configService']=_0x527049,this[_0x5a9fca(0x351)]=_0x15f039,this['_commentService']=_0x10d2b4,this[_0x5a9fca(0x293)]=_0x36ecb7,this[_0x5a9fca(0x14c)]=_0x3baef1,this['_shouldReportTelemetry']=!!this[_0x5a9fca(0x14c)],_0x4d50b5[_0x5a9fca(0x2d1)](_0x41f28e[_0x5a9fca(0x308)](this[_0x5a9fca(0x3f5)]))['subscribe'](_0x5efe04=>{var _0x738f9a=_0x5a9fca,_0xa2d22d;typeof _0x5efe04>'u'||(this['_socket']=_0x5efe04,_0x5efe04?(this['_joinRoom'](_0x5efe04),this[_0x738f9a(0x3d8)]=_0x5efe04[_0x738f9a(0x42f)][_0x738f9a(0x3de)](_0x13140b=>{var _0x261059=_0x738f9a;_0x13140b['routeKey']===this[_0x261059(0x434)]&&this['_onCombEvent'](_0x13140b);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x738f9a(0x3ca)][_0x738f9a(0x360)](0x2),(_0xa2d22d=this['_socketMessageSubscription'])==null||_0xa2d22d['unsubscribe'](),this[_0x738f9a(0x3d8)]=null));}));}get['sessionStatus'](){var _0x2e9674=_0x56fe62;return this['_sessionStatus$'][_0x2e9674(0x415)]();}['getMemberID'](){var _0x56dd94=_0x56fe62,_0x23b44d,_0x4ec3d6;return(_0x4ec3d6=(_0x23b44d=this[_0x56dd94(0x387)])==null?void 0x0:_0x23b44d[_0x56dd94(0x1b2)])!=null?_0x4ec3d6:null;}[_0x56fe62(0x149)](){var _0x4b2d4a=_0x56fe62;super[_0x4b2d4a(0x149)](),this[_0x4b2d4a(0x3f5)]['next'](),this['dispose$'][_0x4b2d4a(0x215)]();}['close'](){var _0x2a7761=_0x56fe62,_0x22533f,_0x1a7142;this[_0x2a7761(0x471)](),(_0x22533f=this[_0x2a7761(0x387)])==null||_0x22533f['send']({'cmd':_0x225c09[_0x2a7761(0x12c)],'data':{'roomID':this[_0x2a7761(0x434)]}}),(_0x1a7142=this['_socket'])==null||_0x1a7142[_0x2a7761(0x432)](),this['_event$'][_0x2a7761(0x215)](),this[_0x2a7761(0x3ca)][_0x2a7761(0x215)](),this[_0x2a7761(0x149)]();}[_0x56fe62(0x402)](_0x4e9f78){var _0x5314ad=_0x56fe62;_0x4e9f78[_0x5314ad(0x3b3)]===_0x225c09['JOIN']?this[_0x5314ad(0x238)](_0x4e9f78):_0x4e9f78[_0x5314ad(0x3b3)]===_0x225c09[_0x5314ad(0x3af)]&&this[_0x5314ad(0x2aa)](_0x4e9f78);}['_joinRoom'](_0x3bf17a){var _0x1e1e9a=_0x56fe62;this[_0x1e1e9a(0x3ca)][_0x1e1e9a(0x360)](0x1),_0x3bf17a[_0x1e1e9a(0x49a)]({'cmd':_0x225c09[_0x1e1e9a(0x3cc)],'routeKey':this[_0x1e1e9a(0x434)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1e1e9a(0x434)]}]}});}[_0x56fe62(0x238)](_0x214b79){var _0x28eb92=_0x56fe62,_0x2ea0ec;if(_0x214b79[_0x28eb92(0x396)]in _0x143bfc){this[_0x28eb92(0x293)][_0x28eb92(0x24e)]({'id':_0x3fbd84[_0x28eb92(0x363)],'data':_0x143bfc[_0x214b79[_0x28eb92(0x396)]]}),this[_0x28eb92(0x3ca)][_0x28eb92(0x360)](0x2);return;}this[_0x28eb92(0x3ca)][_0x28eb92(0x360)](0x3);const _0x36d044=(_0x2ea0ec=_0x214b79['data']['roomInfos'][this[_0x28eb92(0x434)]])==null?void 0x0:_0x2ea0ec['members'];_0x36d044&&_0x36d044[_0x28eb92(0x13d)](_0x34940e=>this[_0x28eb92(0x351)]['updateMember'](this[_0x28eb92(0x434)],_0x34940e));}[_0x56fe62(0x2aa)](_0x597765){var _0x208e73=_0x56fe62;try{const _0x2bfb94=_0x597765[_0x208e73(0x483)];switch(_0x2bfb94[_0x208e73(0x3e2)]){case _0x4a4eff[_0x208e73(0x19d)][_0x208e73(0x198)]:this[_0x208e73(0x137)](_0x2bfb94),this['_event$']['next'](_0x2bfb94);break;case _0x4a4eff['CollaborationEvent'][_0x208e73(0x209)]:this[_0x208e73(0x431)](_0x2bfb94),this[_0x208e73(0x441)][_0x208e73(0x360)](_0x2bfb94);break;case _0x4a4eff[_0x208e73(0x19d)][_0x208e73(0x4b2)]:case _0x4a4eff[_0x208e73(0x19d)][_0x208e73(0x213)]:this[_0x208e73(0x152)](),this[_0x208e73(0x47f)](),this['_event$'][_0x208e73(0x360)](_0x2bfb94);break;case _0x4a4eff[_0x208e73(0x19d)][_0x208e73(0x21d)]:this[_0x208e73(0x3ee)][_0x208e73(0x32b)](_0x208e73(0x15e)+JSON['stringify'](_0x2bfb94)),this['_event$'][_0x208e73(0x360)](_0x2bfb94);break;case _0x4a4eff[_0x208e73(0x19d)][_0x208e73(0x3ab)]:this['_commentService'][_0x208e73(0x21a)](_0x2bfb94['data']),this[_0x208e73(0x441)][_0x208e73(0x360)](_0x2bfb94);break;default:this[_0x208e73(0x441)][_0x208e73(0x360)](_0x2bfb94);}}catch(_0xc5264b){this[_0x208e73(0x3ee)][_0x208e73(0x32b)](_0xc5264b,_0x597765);}}[_0x56fe62(0x137)](_0x4b543b){var _0x1953c6=_0x56fe62;this[_0x1953c6(0x351)]['updateMember'](this['_unitID'],_0x4b543b['data']);}[_0x56fe62(0x431)](_0x18ddc0){var _0x51289c=_0x56fe62;this['_memberService'][_0x51289c(0x294)](this['_unitID'],_0x18ddc0['data'][_0x51289c(0x1b2)]);}async[_0x56fe62(0x49a)](_0x520fb0,_0x2e7db8){var _0xd8d14b=_0x56fe62;if(this['sessionStatus']!==0x3||!this[_0xd8d14b(0x387)])throw new Error(_0xd8d14b(0x4a5));try{_0x520fb0[_0xd8d14b(0x3e2)]===_0x4a4eff['CollaborationEvent'][_0xd8d14b(0x174)]&&(this[_0xd8d14b(0x20e)](),this[_0xd8d14b(0x170)](_0x520fb0)),this[_0xd8d14b(0x387)][_0xd8d14b(0x49a)]({'cmd':_0x225c09[_0xd8d14b(0x24d)],'routeKey':_0x2e7db8,'routeType':'','data':_0x520fb0});}catch(_0x236ba1){this[_0xd8d14b(0x3ee)][_0xd8d14b(0x32b)](_0x236ba1);}}['_scheduleCollaborationTimeoutTimer'](){var _0x278316=_0x56fe62,_0x48011f;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x3ab64b=_0x3662;this[_0x3ab64b(0x2c7)]=null,this[_0x3ab64b(0x293)][_0x3ab64b(0x24e)]({'id':_0x3fbd84[_0x3ab64b(0x13a)]});},(_0x48011f=this[_0x278316(0x2f7)][_0x278316(0x1ab)](_0x5e0ea0))!=null?_0x48011f:0x4e20);}[_0x56fe62(0x47f)](){var _0x4b043a=_0x56fe62;this[_0x4b043a(0x2c7)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x4b043a(0x2c7)]=null);}[_0x56fe62(0x170)](_0x1a7665){var _0x46fa3b=_0x56fe62;if(!this[_0x46fa3b(0x28b)])return;const {data:_0x360619}=_0x1a7665,{unitID:_0x216be4,changeset:_0x412209}=_0x360619,{mutations:_0x4f94ef,type:_0x1956fc}=_0x412209;this[_0x46fa3b(0x341)]={'unitId':_0x216be4,'type':_0x1956fc,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x34b1d6(_0x4f94ef)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x403cb9=_0x56fe62;if(this[_0x403cb9(0x28b)]){if(!this[_0x403cb9(0x341)]){this[_0x403cb9(0x3ee)][_0x403cb9(0x32b)](_0x403cb9(0x236),_0x403cb9(0x2a3));return;}this[_0x403cb9(0x341)][_0x403cb9(0x4ac)]=performance[_0x403cb9(0x45a)](),this['_telemetryInfo'][_0x403cb9(0x21f)]=this[_0x403cb9(0x341)][_0x403cb9(0x4ac)]-this['_telemetryInfo']['startTime'],this[_0x403cb9(0x14c)][_0x403cb9(0x15f)](_0x3d0463,this[_0x403cb9(0x341)]),this[_0x403cb9(0x341)]=null;}}[_0x56fe62(0x471)](){var _0x1593fb=_0x56fe62;this[_0x1593fb(0x341)]=null;}},_0x43236a[_0x56fe62(0x3df)]=_0x18a32e([_0x349648(0x2,_0x132a8a['ILogService']),_0x349648(0x3,_0x132a8a[_0x56fe62(0x2cf)]),_0x349648(0x4,_0x132a8a[_0x56fe62(0x1fa)](_0x43236a[_0x56fe62(0x3d4)])),_0x349648(0x5,_0x132a8a['Inject'](_0x817b9d)),_0x349648(0x6,_0x132a8a[_0x56fe62(0x1fa)](_0x3d2ec6)),_0x349648(0x7,_0x132a8a[_0x56fe62(0x460)](_0x405871[_0x56fe62(0x391)]))],_0x43236a['CollaborationSession']);const _0x11f168=_0x132a8a['createIdentifier']('collaboration-client.local-cache-service');function _0x16e1be(_0x576792){return'unit-cache-'+_0x576792;}var _0x391e14=Object[_0x56fe62(0x2f8)],_0xd69d3a=(_0x1cd365,_0x3fd5ed,_0x5b4088,_0x4b350c)=>{for(var _0x192607=_0x4b350c>0x1?void 0x0:_0x4b350c?_0x391e14(_0x3fd5ed,_0x5b4088):_0x3fd5ed,_0xfe9388=_0x1cd365['length']-0x1,_0x22130f;_0xfe9388>=0x0;_0xfe9388--)(_0x22130f=_0x1cd365[_0xfe9388])&&(_0x192607=_0x22130f(_0x192607)||_0x192607);return _0x192607;},_0x165d53=(_0x242c68,_0x24f6a2)=>(_0x5f1555,_0x5e9ee7)=>_0x24f6a2(_0x5f1555,_0x5e9ee7,_0x242c68);function _0x118815(_0x2b13a5){var _0x23701e=_0x56fe62;const {unitID:_0x601bc7,mutations:_0xb77f72}=_0x2b13a5;return{'unitId':_0x601bc7,'subUnitId':_0xb77f72[_0x23701e(0x17a)]>0x0?_0xb77f72[0x0][_0x23701e(0x24c)][_0x23701e(0x3d5)]:null};}_0x43236a[_0x56fe62(0x39c)]=class{constructor(_0x5ad2c8,_0x241a0a,_0x52bf9f){var _0x247303=_0x56fe62;this[_0x247303(0x3c0)]=_0x5ad2c8,this[_0x247303(0x3bd)]=_0x241a0a,this[_0x247303(0x2e6)]=_0x52bf9f;}[_0x56fe62(0x430)](_0x492401){var _0x27c93f=_0x56fe62,_0x3b9e0f,_0x208c18,_0x53a15a,_0x39aea2;const _0x5a646d=this[_0x27c93f(0x3c0)][_0x27c93f(0x2ce)](_0x3b6fb7[_0x27c93f(0x48d)]),{unitId:_0x34cc81,subUnitId:_0x4b9b74}=_0x118815(_0x492401),_0x38a3e6=_0x5a646d==null?void 0x0:_0x5a646d[_0x27c93f(0x251)](_0x34cc81)[_0x27c93f(0x125)](),_0x3e733f=(_0x208c18=(_0x3b9e0f=this[_0x27c93f(0x2e6)]['getUnit'](_0x34cc81))==null?void 0x0:_0x3b9e0f[_0x27c93f(0x36a)]())==null?void 0x0:_0x208c18[_0x27c93f(0x30e)]();if(_0x38a3e6['length']===0x0||!_0x34cc81||!_0x4b9b74)return;const _0x1aa5ab=[{'id':_0x3b6fb7[_0x27c93f(0x498)]['id'],'params':{'unitId':_0x34cc81,'subUnitId':_0x3e733f,'selections':_0x132a8a[_0x27c93f(0x242)][_0x27c93f(0x1c8)](_0x38a3e6)}}],_0x492458=this['_transformService']['transformMutationsWithChangeset'](_0x492401,_0x1aa5ab);if(!_0x4a4eff['isTransformMutationsWithChangesetSuccess'](_0x492458))throw _0x492458[_0x27c93f(0x32b)];const _0x151029=(_0x39aea2=(_0x53a15a=_0x492458['m2Prime'][0x0])==null?void 0x0:_0x53a15a[_0x27c93f(0x24c)])==null?void 0x0:_0x39aea2[_0x27c93f(0x173)];if(Array[_0x27c93f(0x279)](_0x151029)&&_0x151029[_0x27c93f(0x17a)]){if(_0x151029[_0x27c93f(0x17a)]===_0x1aa5ab[0x0]['params'][_0x27c93f(0x173)][_0x27c93f(0x17a)]&&_0x151029[_0x27c93f(0x122)]((_0x30a87b,_0x124774)=>_0x132a8a['Rectangle'][_0x27c93f(0x3e3)](_0x30a87b[_0x27c93f(0x246)],_0x1aa5ab[0x0][_0x27c93f(0x24c)][_0x27c93f(0x173)][_0x124774][_0x27c93f(0x246)])))return;this['_injector'][_0x27c93f(0x2ce)](_0x132a8a[_0x27c93f(0x342)])[_0x27c93f(0x26a)](_0x3b6fb7[_0x27c93f(0x498)]['id'],{'unitId':_0x34cc81,'subUnitId':_0x3e733f,'selections':_0x151029});}}},_0x43236a[_0x56fe62(0x39c)]=_0xd69d3a([_0x165d53(0x0,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1ae)])),_0x165d53(0x1,_0x4a4eff[_0x56fe62(0x4a9)]),_0x165d53(0x2,_0x132a8a['IUniverInstanceService'])],_0x43236a[_0x56fe62(0x39c)]);const _0x4fa0d2=_0x132a8a[_0x56fe62(0x384)](_0x56fe62(0x414));var _0x494ec1=(_0x411ef8=>(_0x411ef8[_0x411ef8[_0x56fe62(0x3d2)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x411ef8[_0x411ef8[_0x56fe62(0x40e)]=0x1]=_0x56fe62(0x40e),_0x411ef8))(_0x494ec1||{});const _0x16e9e6=_0x56fe62(0x492),_0x498ad0={};function _0x575c33(_0x3c58d5){var _0x2657bb=_0x56fe62,_0x1b03eb;return!!((_0x1b03eb=_0x3c58d5['params'])!=null&&_0x1b03eb[_0x2657bb(0x204)]);}const _0x2d1465=new Set([_0x3b6fb7['InsertSheetMutation']['id']]);function _0x5c4962(_0x1e9a60,_0x5e5d67,_0x5b20de,_0x21adfc,_0x25254d){var _0x150bc7=_0x56fe62,_0x31e4b3,_0x11c331,_0x85764c,_0x5cb96a;const _0x43d01c=[];for(const _0x5c1961 of _0x1e9a60){if(_0x2d1465[_0x150bc7(0x172)](_0x5c1961['id'])){if(_0x43d01c[_0x150bc7(0x17a)]>0x0)break;_0x43d01c['push'](_0x5c1961);break;}if(_0x575c33(_0x5c1961)){if(_0x43d01c['length']>0x0)break;_0x43d01c[_0x150bc7(0x372)](_0x5c1961);break;}_0x43d01c[_0x150bc7(0x372)](_0x5c1961);}const _0x5627e1=(_0x11c331=(_0x31e4b3=_0x25254d[_0x150bc7(0x1ac)]())==null?void 0x0:_0x31e4b3[_0x150bc7(0x437)])!=null?_0x11c331:'unknown',_0x454e5e=(_0x5cb96a=(_0x85764c=_0x25254d[_0x150bc7(0x1ac)]())==null?void 0x0:_0x85764c[_0x150bc7(0x1b2)])!=null?_0x5cb96a:_0x150bc7(0x31d);return{'changeset':{'unitID':_0x5e5d67,'type':_0x4a4eff[_0x150bc7(0x26c)](_0x5b20de[_0x150bc7(0x322)](_0x5e5d67)),'baseRev':_0x21adfc['getCurrentRevOfUnit'](_0x5e5d67),'revision':0x0,'userID':_0x5627e1,'memberID':_0x454e5e,'mutations':_0x43d01c},'pendingMutations':_0x1e9a60[_0x150bc7(0x168)](_0x43d01c['length'])};}function _0x491ef9(_0x45633c,_0x4dd6a8,_0xa269b4,_0x537c8b,_0x33d748){var _0xfa8b1d=_0x56fe62,_0x596e1b,_0x3bc912,_0x525a36,_0xcad4d3;const _0x3c9473=[_0x45633c[_0xfa8b1d(0x1f5)]((_0x50e599,_0x1e7522)=>{var _0x2fd5c4=_0xfa8b1d,_0x24941e;const {id:_0x3a8aa9}=_0x50e599,{id:_0x23c0a4,type:_0x5b104a}=_0x1e7522,_0x174e01=(_0x24941e=_0x50e599[_0x2fd5c4(0x24c)])!=null?_0x24941e:{'actions':null},_0x7b15f1=_0x1e7522['params'];if(_0x3a8aa9&&_0x3a8aa9!==_0x23c0a4)throw new Error(_0x2fd5c4(0x1b5)+_0x3a8aa9+_0x2fd5c4(0x1bc)+_0x23c0a4+'.');return{..._0x50e599,'id':_0x23c0a4,'type':_0x5b104a,'params':{'unitId':_0x7b15f1[_0x2fd5c4(0x140)],'textRanges':_0x7b15f1[_0x2fd5c4(0x1be)],'actions':_0x132a8a[_0x2fd5c4(0x475)]['compose'](_0x174e01[_0x2fd5c4(0x190)],_0x7b15f1[_0x2fd5c4(0x190)])}};},{})],_0x5d424e=(_0x3bc912=(_0x596e1b=_0x33d748[_0xfa8b1d(0x1ac)]())==null?void 0x0:_0x596e1b['userID'])!=null?_0x3bc912:_0xfa8b1d(0x31d),_0x3b7489=(_0xcad4d3=(_0x525a36=_0x33d748['getCurrentUser']())==null?void 0x0:_0x525a36['memberID'])!=null?_0xcad4d3:'unknown';return{'changeset':{'unitID':_0x4dd6a8,'type':_0x4a4eff[_0xfa8b1d(0x26c)](_0xa269b4['getUnitType'](_0x4dd6a8)),'baseRev':_0x537c8b[_0xfa8b1d(0x1d9)](_0x4dd6a8),'revision':0x0,'userID':_0x5d424e,'memberID':_0x3b7489,'mutations':_0x3c9473},'pendingMutations':[]};}function _0x27b781(_0x598f92,_0x5609dc){var _0x19bea7=_0x56fe62;const _0x38f9e4=new _0x41f28e[(_0x19bea7(0x27f))](0x1);return setTimeout(()=>_0x38f9e4[_0x19bea7(0x360)](_0x5609dc),_0x598f92),_0x38f9e4[_0x19bea7(0x4ba)]()['pipe'](_0x41f28e['take'](0x1));}var _0x1410c1=Object[_0x56fe62(0x2f8)],_0x17f9d3=(_0x4e62a7,_0xb7710e,_0x9a5912,_0xbe2ac6)=>{for(var _0x7a0807=_0xbe2ac6>0x1?void 0x0:_0xbe2ac6?_0x1410c1(_0xb7710e,_0x9a5912):_0xb7710e,_0x4585bf=_0x4e62a7['length']-0x1,_0x5ba0a;_0x4585bf>=0x0;_0x4585bf--)(_0x5ba0a=_0x4e62a7[_0x4585bf])&&(_0x7a0807=_0x5ba0a(_0x7a0807)||_0x7a0807);return _0x7a0807;},_0x56631f=(_0x5d6359,_0x4724cd)=>(_0x54cf89,_0x5f3bcd)=>_0x4724cd(_0x54cf89,_0x5f3bcd,_0x5d6359),_0x1ce56e=(_0x36f514=>(_0x36f514['NOT_COLLAB']=_0x56fe62(0x1f6),_0x36f514[_0x56fe62(0x2d4)]=_0x56fe62(0x33d),_0x36f514['PENDING']='pending',_0x36f514[_0x56fe62(0x2a0)]=_0x56fe62(0x29d),_0x36f514[_0x56fe62(0x497)]='awaiting_with_pending',_0x36f514[_0x56fe62(0x445)]='fetch_missing',_0x36f514[_0x56fe62(0x421)]=_0x56fe62(0x448),_0x36f514[_0x56fe62(0x11e)]=_0x56fe62(0x2da),_0x36f514))(_0x1ce56e||{});const _0xceddff=0x4e20,_0x1b83db=0x2bf20;class _0x261201{constructor(_0x722837,_0x5b9c30,_0x4b4a8f,_0x4add2a,_0x16f112,_0x415ffe,_0x3c2c72,_0x3c6063,_0x411324){var _0x110d69=_0x56fe62;_0x18d62f(this,_0x110d69(0x47b),null),_0x18d62f(this,_0x110d69(0x24f),[]),(this[_0x110d69(0x463)]=_0x722837,this[_0x110d69(0x326)]=_0x5b9c30,this[_0x110d69(0x3d1)]=_0x16f112,this[_0x110d69(0x3b8)]=_0x415ffe,this[_0x110d69(0x356)]=_0x3c2c72,this['_revisionService']=_0x3c6063,this['_localCacheService']=_0x411324,this[_0x110d69(0x47b)]=_0x4b4a8f,this['_pendingMutations']=_0x4add2a);}[_0x56fe62(0x206)](_0x36174f){var _0x414cb2=_0x56fe62;const _0x39bf32=this[_0x414cb2(0x18b)][_0x414cb2(0x1d9)](this['unitID']);return _0x36174f[_0x414cb2(0x167)]>_0x39bf32+0x1?(this[_0x414cb2(0x3d1)][_0x414cb2(0x440)]({'from':_0x39bf32,'to':_0x36174f[_0x414cb2(0x167)]-0x1}),!0x0):!0x1;}[_0x56fe62(0x370)](_0x3fce0f){var _0x526b49=_0x56fe62;this[_0x526b49(0x356)][_0x526b49(0x2ca)](this[_0x526b49(0x463)],_0x3fce0f);}[_0x56fe62(0x44b)](_0x56e45b){var _0x185e79=_0x56fe62,_0x54c6e3,_0x526a49;(_0x526a49=(_0x54c6e3=this[_0x185e79(0x3d1)])[_0x185e79(0x4a4)])==null||_0x526a49[_0x185e79(0x208)](_0x54c6e3,_0x56e45b);}[_0x56fe62(0x1c3)](_0x3879c8){var _0x14c28a=_0x56fe62,_0x42292f,_0x31b045;return(_0x31b045=(_0x42292f=this[_0x14c28a(0x3d1)])['onTransformIME'])==null?void 0x0:_0x31b045[_0x14c28a(0x208)](_0x42292f,_0x3879c8);}[_0x56fe62(0x33c)](_0x435096){var _0x8261fd=_0x56fe62,_0x1ae602,_0x4d72fd;return(_0x4d72fd=(_0x1ae602=this['_handler'])[_0x8261fd(0x361)])==null?void 0x0:_0x4d72fd[_0x8261fd(0x208)](_0x1ae602,_0x435096);}['_transformRemoteChangesetByIMECache'](_0x29d7dd){var _0x5d4248=_0x56fe62,_0x2f8270,_0x417f57,_0x11f97f;return(_0x11f97f=(_0x417f57=(_0x2f8270=this[_0x5d4248(0x3d1)])[_0x5d4248(0x255)])==null?void 0x0:_0x417f57['call'](_0x2f8270,_0x29d7dd))!=null?_0x11f97f:_0x29d7dd;}[_0x56fe62(0x375)](_0x179e3e){var _0x5d56ee=_0x56fe62,_0x5c9e27,_0x576767,_0x16edac;return(_0x16edac=(_0x576767=(_0x5c9e27=this[_0x5d56ee(0x3d1)])[_0x5d56ee(0x43f)])==null?void 0x0:_0x576767['call'](_0x5c9e27,_0x179e3e))!=null?_0x16edac:_0x179e3e;}['_syncEditingCollabCursor'](_0x118dbf){var _0x1041c3=_0x56fe62,_0x577be6,_0x32801f;if(this[_0x1041c3(0x326)]===_0x5b3fe9[_0x1041c3(0x1b0)]){const {unitID:_0x42ab79,mutations:_0x31f7de,memberID:_0x377dae}=_0x118dbf,_0x41f79a=_0x31f7de[_0x1041c3(0x17a)]>0x0?_0x31f7de[0x0]['params'][_0x1041c3(0x1be)]:[];Array[_0x1041c3(0x279)](_0x41f79a)&&_0x41f79a[_0x1041c3(0x17a)]>0x0&&((_0x32801f=(_0x577be6=this[_0x1041c3(0x3d1)])[_0x1041c3(0x3a2)])==null||_0x32801f[_0x1041c3(0x208)](_0x577be6,{'unitID':_0x42ab79,'memberID':_0x377dae,'textRanges':_0x41f79a}));}}[_0x56fe62(0x12f)](){var _0x13609e=_0x56fe62,_0x8b6eb4;(_0x8b6eb4=this['_localCacheService'])==null||_0x8b6eb4['updateOfflineData'](this[_0x13609e(0x463)],this['type'],this[_0x13609e(0x47b)],this[_0x13609e(0x24f)]);}[_0x56fe62(0x369)](){var _0x554c69=_0x56fe62;return this['_revisionService'][_0x554c69(0x1d9)](this['unitID']);}[_0x56fe62(0x45f)](){var _0x185f0b=_0x56fe62;this[_0x185f0b(0x18b)][_0x185f0b(0x417)](this[_0x185f0b(0x463)]);}[_0x56fe62(0x410)](_0x1f32a6){var _0x3a8891=_0x56fe62,_0x2ad563;let _0x51ae7a=this[_0x3a8891(0x310)](_0x1f32a6);_0x51ae7a=this[_0x3a8891(0x375)](_0x51ae7a);const _0x881284=_0x132a8a[_0x3a8891(0x16e)](_0x51ae7a[_0x3a8891(0x409)],this['_commandService'],{'fromCollab':!0x0});if(!_0x881284[_0x3a8891(0x265)])throw _0x881284['error']instanceof Error?_0x881284[_0x3a8891(0x32b)]:new Error((_0x2ad563=_0x881284[_0x3a8891(0x32b)])!=null?_0x2ad563:'[CollaborationState]:\x20apply\x20error!');this[_0x3a8891(0x1c3)](_0x51ae7a),this[_0x3a8891(0x33c)](_0x51ae7a),this[_0x3a8891(0x370)](_0x1f32a6),this['_transformSelections'](_0x51ae7a),this[_0x3a8891(0x2f9)](_0x51ae7a),this[_0x3a8891(0x45f)]();}}_0x43236a['SyncedState']=class extends _0x261201{constructor(_0x289a5b,_0x202778,_0x34f8c9,_0x36e318,_0x272a1d,_0x33bfc1,_0x1bdb4e,_0x48cd78,_0x344daa,_0x4a7aa3){var _0x32aef1=_0x56fe62;super(_0x289a5b,_0x202778,null,[],_0x34f8c9,_0x1bdb4e,_0x33bfc1,_0x36e318,_0x4a7aa3),_0x18d62f(this,_0x32aef1(0x1a9),_0x32aef1(0x33d)),(this['_injector']=_0x272a1d,this['_logService']=_0x48cd78,this['_transformService']=_0x344daa,this[_0x32aef1(0x416)]=_0x4a7aa3);}[_0x56fe62(0x3a7)](_0x17565c){var _0xc95cf1=_0x56fe62;const _0x228b0a=this[_0xc95cf1(0x3c0)][_0xc95cf1(0x48b)](_0x43236a[_0xc95cf1(0x469)],this[_0xc95cf1(0x463)],this[_0xc95cf1(0x326)],[_0x17565c],this[_0xc95cf1(0x3d1)]);return _0x228b0a[_0xc95cf1(0x465)](),_0x228b0a[_0xc95cf1(0x12f)](),_0x228b0a;}[_0x56fe62(0x2ab)](_0x49e2f3){var _0x801f4a=_0x56fe62;if(this[_0x801f4a(0x206)](_0x49e2f3))return this[_0x801f4a(0x3c0)][_0x801f4a(0x48b)](_0x43236a[_0x801f4a(0x163)],this['unitID'],this[_0x801f4a(0x326)],null,[],null,[_0x49e2f3],this[_0x801f4a(0x3d1)]);try{const _0x2e0415=this[_0x801f4a(0x3bd)][_0x801f4a(0x3f6)](_0x49e2f3,[_0x4a4eff[_0x801f4a(0x489)]]);if(_0x4a4eff[_0x801f4a(0x433)](_0x2e0415)){const {c1Prime:_0x21b1d8}=_0x2e0415;return this['_executeRemoteChangeset'](_0x21b1d8),this;}throw _0x2e0415[_0x801f4a(0x32b)];}catch(_0x370ad9){return this[_0x801f4a(0x3ee)][_0x801f4a(0x32b)](_0x370ad9),this[_0x801f4a(0x422)](!0x1);}}[_0x56fe62(0x422)](_0xb142b1){var _0x49e8f2=_0x56fe62;return this[_0x49e8f2(0x3c0)]['createInstance'](_0x43236a[_0x49e8f2(0x188)],this[_0x49e8f2(0x463)],this[_0x49e8f2(0x326)],null,[],this[_0x49e8f2(0x3d1)],_0xb142b1);}[_0x56fe62(0x474)](){var _0x218b29=_0x56fe62;throw new Error(_0x218b29(0x400));}[_0x56fe62(0x3a0)](){var _0x1af59a=_0x56fe62;throw new Error(_0x1af59a(0x418));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x39e2cc=_0x56fe62;return this[_0x39e2cc(0x3c0)]['createInstance'](_0x43236a[_0x39e2cc(0x3e7)],this['unitID'],this[_0x39e2cc(0x326)],null,[],this[_0x39e2cc(0x3d1)]);}['toggleOnline'](){return this;}[_0x56fe62(0x3bc)](){var _0xa9430=_0x56fe62;throw new Error(_0xa9430(0x479));}[_0x56fe62(0x37a)](){var _0x2bdfce=_0x56fe62;const _0x1d6080=this['_revisionService']['getCurrentRevOfUnit'](this[_0x2bdfce(0x463)]);return this[_0x2bdfce(0x3d1)]['onMissingChangesets']({'from':_0x1d6080,'to':0x0}),this[_0x2bdfce(0x3c0)]['createInstance'](_0x43236a[_0x2bdfce(0x163)],this[_0x2bdfce(0x463)],this[_0x2bdfce(0x326)],null,[],null,[],this[_0x2bdfce(0x3d1)]);}},_0x43236a[_0x56fe62(0x3fe)]=_0x17f9d3([_0x56631f(0x3,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x37b)])),_0x56631f(0x4,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1ae)])),_0x56631f(0x5,_0x132a8a[_0x56fe62(0x1cd)]),_0x56631f(0x6,_0x132a8a[_0x56fe62(0x342)]),_0x56631f(0x7,_0x132a8a['ILogService']),_0x56631f(0x8,_0x4a4eff[_0x56fe62(0x4a9)]),_0x56631f(0x9,_0x132a8a[_0x56fe62(0x460)](_0x11f168))],_0x43236a[_0x56fe62(0x3fe)]),_0x43236a[_0x56fe62(0x469)]=class extends _0x261201{constructor(_0x3dc87f,_0x576dfa,_0x2b8f07,_0x7738a7,_0x5e43f9,_0x19a80b,_0x1cc572,_0x3e40f2,_0x1560d0,_0x47a83a,_0x4377f7,_0x99251c,_0x147d78,_0x1f9de4){var _0x2943c2=_0x56fe62;super(_0x3dc87f,_0x576dfa,null,_0x2b8f07,_0x7738a7,_0x1560d0,_0x147d78,_0x19a80b,_0x1f9de4),_0x18d62f(this,'status',_0x2943c2(0x315)),_0x18d62f(this,_0x2943c2(0x362),null),_0x18d62f(this,_0x2943c2(0x232),null),(this['_injector']=_0x5e43f9,this[_0x2943c2(0x351)]=_0x1cc572,this[_0x2943c2(0x3ee)]=_0x3e40f2,this[_0x2943c2(0x2f7)]=_0x47a83a,this[_0x2943c2(0x3bd)]=_0x4377f7,this[_0x2943c2(0x3fd)]=_0x99251c);}['appendMutation'](_0x46d036){var _0x5e13d8=_0x56fe62;return this[_0x5e13d8(0x24f)]['push'](_0x46d036),this[_0x5e13d8(0x12f)](),this;}[_0x56fe62(0x2ab)](_0x4e179f){var _0x2e9a27=_0x56fe62;if(this[_0x2e9a27(0x206)](_0x4e179f))return this[_0x2e9a27(0x146)](),this['_injector'][_0x2e9a27(0x48b)](_0x43236a[_0x2e9a27(0x163)],this[_0x2e9a27(0x463)],this[_0x2e9a27(0x326)],null,this[_0x2e9a27(0x24f)],null,[_0x4e179f],this[_0x2e9a27(0x3d1)]);try{const _0x421a99=this['_transformService'][_0x2e9a27(0x3f6)](_0x4e179f,this['_pendingMutations']);if(_0x4a4eff[_0x2e9a27(0x433)](_0x421a99)){const {c1Prime:_0x2d3291,m2Prime:_0x57a755}=_0x421a99;this[_0x2e9a27(0x410)](_0x2d3291);const _0x2023e9=this[_0x2e9a27(0x3c0)]['createInstance'](_0x43236a[_0x2e9a27(0x469)],this['unitID'],this[_0x2e9a27(0x326)],_0x57a755,this['_handler']);this[_0x2e9a27(0x146)]();const _0x5e845=new Date()[_0x2e9a27(0x160)](),_0x30b10d=this[_0x2e9a27(0x362)]?Math[_0x2e9a27(0x150)](this['_scheduleCompleteTimestamp']-_0x5e845,0x0):this[_0x2e9a27(0x3ec)]();return _0x2023e9[_0x2e9a27(0x465)](_0x30b10d),_0x2023e9;}throw _0x421a99['error'];}catch(_0x595ed6){return this[_0x2e9a27(0x3ee)][_0x2e9a27(0x32b)](_0x595ed6),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x5bf637=_0x56fe62;throw new Error(_0x5bf637(0x178));}[_0x56fe62(0x3a0)](){var _0x2ef835=_0x56fe62;throw new Error(_0x2ef835(0x2f1));}[_0x56fe62(0x13f)](){return this;}[_0x56fe62(0x2e9)](){var _0x50e18b=_0x56fe62;return this[_0x50e18b(0x146)](),this[_0x50e18b(0x3c0)][_0x50e18b(0x48b)](_0x43236a[_0x50e18b(0x3e7)],this[_0x50e18b(0x463)],this[_0x50e18b(0x326)],null,this['_pendingMutations'],this['_handler']);}[_0x56fe62(0x216)](){return this;}[_0x56fe62(0x465)](_0x1fe539){var _0x481dd4=_0x56fe62;const _0x5c9fcf=_0x1fe539!=null?_0x1fe539:this[_0x481dd4(0x3ec)]();this[_0x481dd4(0x362)]=new Date()[_0x481dd4(0x160)]()+_0x5c9fcf,this[_0x481dd4(0x232)]=setTimeout(()=>{var _0x4c059a=_0x481dd4;this[_0x4c059a(0x146)]();let _0x56dacb=null;switch(this[_0x4c059a(0x326)]){case _0x5b3fe9[_0x4c059a(0x2a4)]:{_0x56dacb=_0x5c4962(this['_pendingMutations'],this[_0x4c059a(0x463)],this[_0x4c059a(0x3fd)],this[_0x4c059a(0x18b)],this[_0x4c059a(0x351)]);break;}case _0x5b3fe9[_0x4c059a(0x1b0)]:{this[_0x4c059a(0x24f)][_0x4c059a(0x122)](_0x4b3976=>_0x4b3976['id']===_0x172117[_0x4c059a(0x165)]['id'])?_0x56dacb=_0x491ef9(this[_0x4c059a(0x24f)],this[_0x4c059a(0x463)],this[_0x4c059a(0x3fd)],this[_0x4c059a(0x18b)],this[_0x4c059a(0x351)]):_0x56dacb=_0x5c4962(this[_0x4c059a(0x24f)],this['unitID'],this['_univerInstanceService'],this[_0x4c059a(0x18b)],this['_memberService']);break;}default:throw new Error(_0x4c059a(0x358)+this['type']+_0x4c059a(0x21e));}const {changeset:_0x45be3e,pendingMutations:_0x3b30a3}=_0x56dacb;this['_handler'][_0x4c059a(0x447)](_0x45be3e);const _0x39a5d2=_0x3b30a3[_0x4c059a(0x17a)]?this[_0x4c059a(0x3c0)]['createInstance'](_0x43236a[_0x4c059a(0x18e)],this[_0x4c059a(0x463)],this[_0x4c059a(0x326)],_0x45be3e,_0x3b30a3,this[_0x4c059a(0x3d1)],void 0x0):this[_0x4c059a(0x3c0)][_0x4c059a(0x48b)](_0x43236a['AwaitingState'],this['unitID'],this['type'],_0x45be3e,this[_0x4c059a(0x3d1)]);_0x39a5d2[_0x4c059a(0x12f)](),this[_0x4c059a(0x3d1)][_0x4c059a(0x2e8)](this,_0x39a5d2);},_0x5c9fcf);}['_getSendChangesetTimeout'](){var _0x5d1244=_0x56fe62,_0x280ca8;const _0x1d004c=this[_0x5d1244(0x2f7)][_0x5d1244(0x1ab)](_0x16e9e6);return(_0x280ca8=_0x1d004c==null?void 0x0:_0x1d004c[_0x5d1244(0x381)])!=null?_0x280ca8:0x7d0;}[_0x56fe62(0x3bc)](){var _0x199187=_0x56fe62;throw new Error(_0x199187(0x3bf));}[_0x56fe62(0x146)](){var _0x5ca41b=_0x56fe62;this[_0x5ca41b(0x232)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x5ca41b(0x232)]=null);}[_0x56fe62(0x422)](_0x173bc7){var _0x257a26=_0x56fe62;return this['_clearScheduledTask'](),this[_0x257a26(0x3c0)]['createInstance'](_0x43236a[_0x257a26(0x188)],this[_0x257a26(0x463)],this[_0x257a26(0x326)],null,this[_0x257a26(0x24f)],this[_0x257a26(0x3d1)],_0x173bc7);}},_0x43236a[_0x56fe62(0x469)]=_0x17f9d3([_0x56631f(0x4,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1ae)])),_0x56631f(0x5,_0x132a8a['Inject'](_0x4a4eff[_0x56fe62(0x37b)])),_0x56631f(0x6,_0x132a8a['Inject'](_0x43236a[_0x56fe62(0x3d4)])),_0x56631f(0x7,_0x132a8a['ILogService']),_0x56631f(0x8,_0x132a8a[_0x56fe62(0x342)]),_0x56631f(0x9,_0x132a8a[_0x56fe62(0x2cf)]),_0x56631f(0xa,_0x4a4eff[_0x56fe62(0x4a9)]),_0x56631f(0xb,_0x132a8a[_0x56fe62(0x1da)]),_0x56631f(0xc,_0x132a8a[_0x56fe62(0x1cd)]),_0x56631f(0xd,_0x132a8a[_0x56fe62(0x460)](_0x11f168))],_0x43236a[_0x56fe62(0x469)]),_0x43236a[_0x56fe62(0x23d)]=class extends _0x261201{constructor(_0x31c488,_0x5a12bc,_0x48a31f,_0x24985b,_0xac2208,_0x2bd8f5,_0x22fa38,_0x136904,_0x58616a,_0x1f03d9,_0x2a6af8){var _0x3887f6=_0x56fe62;super(_0x31c488,_0x5a12bc,_0x48a31f,[],_0x24985b,_0x22fa38,_0x1f03d9,_0x2bd8f5,_0x2a6af8),_0x18d62f(this,_0x3887f6(0x1a9),_0x3887f6(0x29d)),_0x18d62f(this,_0x3887f6(0x26d),0x0),_0x18d62f(this,_0x3887f6(0x2fa),0x0),_0x18d62f(this,'_resendTimer'),_0x18d62f(this,_0x3887f6(0x3d6)),(this[_0x3887f6(0x3c0)]=_0xac2208,this[_0x3887f6(0x3ee)]=_0x136904,this[_0x3887f6(0x3bd)]=_0x58616a);}[_0x56fe62(0x3a7)](_0xcc0db0){var _0x255d68=_0x56fe62;this[_0x255d68(0x146)]();const _0x22beae=this[_0x255d68(0x3c0)][_0x255d68(0x48b)](_0x43236a[_0x255d68(0x18e)],this[_0x255d68(0x463)],this['type'],this[_0x255d68(0x47b)],[_0xcc0db0],this['_handler'],this[_0x255d68(0x2e4)]);return _0x22beae[_0x255d68(0x12f)](),_0x22beae;}['onRemoteChangeset'](_0x269752){var _0x23016a=_0x56fe62;if(this['_checkMissing'](_0x269752))return this[_0x23016a(0x146)](),this[_0x23016a(0x3c0)][_0x23016a(0x48b)](_0x43236a['FetchingMissState'],this[_0x23016a(0x463)],this['type'],this[_0x23016a(0x47b)],[],null,[_0x269752],this['_handler']);try{const _0x283407=this[_0x23016a(0x3bd)][_0x23016a(0x2b2)]([_0x269752],[this[_0x23016a(0x47b)]],!0x1);if(_0x4a4eff[_0x23016a(0x347)](_0x283407)){const {c1Prime:_0x29210d,c2Prime:_0x3bdd15}=_0x283407;this[_0x23016a(0x410)](_0x29210d[0x0]),_0x3bdd15[0x0][_0x23016a(0x399)]=this[_0x23016a(0x369)](),this['_clearScheduledTask']();const _0x976274=this[_0x23016a(0x3c0)]['createInstance'](_0x43236a[_0x23016a(0x23d)],this[_0x23016a(0x463)],this[_0x23016a(0x326)],_0x3bdd15[0x0],this['_handler']);return _0x976274[_0x23016a(0x12f)](),_0x976274;}return this[_0x23016a(0x422)](!0x1);}catch(_0x105a83){return this[_0x23016a(0x3ee)][_0x23016a(0x32b)](_0x105a83),this[_0x23016a(0x422)](!0x1);}}['onRemoteAck'](_0x40458d){var _0x228045=_0x56fe62;this[_0x228045(0x146)]();const _0x1917e8=this['_revisionService'][_0x228045(0x1d9)](this[_0x228045(0x463)]);if(_0x40458d[_0x228045(0x167)]<_0x1917e8-0x1)return this;if(this[_0x228045(0x206)](_0x40458d))return this[_0x228045(0x3c0)][_0x228045(0x48b)](_0x43236a[_0x228045(0x163)],this[_0x228045(0x463)],this[_0x228045(0x326)],null,[],this[_0x228045(0x47b)],[],this['_handler']);this[_0x228045(0x45f)]();const _0x471d9d=this[_0x228045(0x3c0)][_0x228045(0x48b)](_0x43236a[_0x228045(0x3fe)],this[_0x228045(0x463)],this[_0x228045(0x326)],this['_handler']);return _0x471d9d[_0x228045(0x12f)](),_0x471d9d;}['onRemoteRej'](_0xf5f138){var _0x2bd7c3=_0x56fe62;return this[_0x2bd7c3(0x422)](!!(_0xf5f138!=null&&_0xf5f138[_0x2bd7c3(0x34d)]));}[_0x56fe62(0x13f)](_0x10d5e8){var _0x137bd5=_0x56fe62;return this[_0x137bd5(0x2fa)]>_0x1b83db?this[_0x137bd5(0x2e9)]():(this[_0x137bd5(0x2e4)]=_0x27b781(this[_0x137bd5(0x26d)],{'timeout':this[_0x137bd5(0x26d)],'reqId':_0x10d5e8['reqId']}),this[_0x137bd5(0x3d6)]=this[_0x137bd5(0x2e4)]['subscribe'](({reqId:_0x47dacd,timeout:_0x19a85f})=>{var _0x934776=_0x137bd5;this[_0x934776(0x3dd)](_0x47dacd,_0x19a85f);}),this);}[_0x56fe62(0x2e9)](){var _0x2e4406=_0x56fe62;return this[_0x2e4406(0x146)](),this[_0x2e4406(0x3c0)]['createInstance'](_0x43236a[_0x2e4406(0x3e7)],this[_0x2e4406(0x463)],this[_0x2e4406(0x326)],this[_0x2e4406(0x47b)],[],this[_0x2e4406(0x3d1)]);}[_0x56fe62(0x216)](){return this;}[_0x56fe62(0x3bc)](){var _0x392b8c=_0x56fe62;this[_0x392b8c(0x3d1)][_0x392b8c(0x447)](this[_0x392b8c(0x47b)]);}['_onConflict'](_0xfbb3e6){var _0x2814fa=_0x56fe62;return this[_0x2814fa(0x146)](),this['_injector'][_0x2814fa(0x48b)](_0x43236a[_0x2814fa(0x188)],this['unitID'],this[_0x2814fa(0x326)],this[_0x2814fa(0x47b)],[],this['_handler'],_0xfbb3e6);}[_0x56fe62(0x3dd)](_0x2f9b30,_0x3e0f07){var _0x3ac129=_0x56fe62,_0x5ad732;_0x2f9b30===((_0x5ad732=this['_awaitingChangeset'])==null?void 0x0:_0x5ad732['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x3e0f07===0x0?0x3e8:Math[_0x3ac129(0x13c)](_0x3e0f07*0x2,_0xceddff),this['_maxTotalRetryTimeout']+=this[_0x3ac129(0x26d)]);}['_clearScheduledTask'](){var _0x1887aa=_0x56fe62,_0x5722fc;(_0x5722fc=this[_0x1887aa(0x3d6)])==null||_0x5722fc['unsubscribe'](),this[_0x1887aa(0x26d)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},_0x43236a[_0x56fe62(0x23d)]=_0x17f9d3([_0x56631f(0x4,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1ae)])),_0x56631f(0x5,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x37b)])),_0x56631f(0x6,_0x132a8a[_0x56fe62(0x342)]),_0x56631f(0x7,_0x132a8a[_0x56fe62(0x3f7)]),_0x56631f(0x8,_0x4a4eff['ITransformService']),_0x56631f(0x9,_0x132a8a['IUndoRedoService']),_0x56631f(0xa,_0x132a8a[_0x56fe62(0x460)](_0x11f168))],_0x43236a['AwaitingState']),_0x43236a[_0x56fe62(0x18e)]=class extends _0x261201{constructor(_0x17c6e2,_0x3cf2de,_0x31a0a3,_0x2bd992,_0x4bedbc,_0x24ed12,_0x4e02d5,_0x58f0d1,_0x578431,_0x3fe941,_0x25cdc7,_0x4e7166,_0x2c4b9a){var _0x4f53cb=_0x56fe62;super(_0x17c6e2,_0x3cf2de,_0x31a0a3,_0x2bd992,_0x4bedbc,_0x578431,_0x4e7166,_0x58f0d1,_0x2c4b9a),_0x18d62f(this,'status','awaiting_with_pending'),_0x18d62f(this,'_resendTimeout',0x0),_0x18d62f(this,_0x4f53cb(0x2fa),0x0),_0x18d62f(this,_0x4f53cb(0x2e4)),_0x18d62f(this,_0x4f53cb(0x3d6)),(this[_0x4f53cb(0x3c0)]=_0x4e02d5,this[_0x4f53cb(0x3ee)]=_0x3fe941,this['_transformService']=_0x25cdc7,this[_0x4f53cb(0x416)]=_0x2c4b9a,_0x24ed12&&(this[_0x4f53cb(0x2e4)]=_0x24ed12,this[_0x4f53cb(0x3d6)]=this[_0x4f53cb(0x2e4)]['subscribe'](({reqId:_0x59d694,timeout:_0x3f686d})=>{this['_resendWithTimeout'](_0x59d694,_0x3f686d);})));}[_0x56fe62(0x3a7)](_0x52ff5d){var _0x236e2f=_0x56fe62;return this['_pendingMutations'][_0x236e2f(0x372)](_0x52ff5d),this;}[_0x56fe62(0x2ab)](_0x14761a){var _0x37f05c=_0x56fe62;if(this[_0x37f05c(0x206)](_0x14761a))return this[_0x37f05c(0x146)](),this['_injector'][_0x37f05c(0x48b)](_0x43236a[_0x37f05c(0x163)],this['unitID'],this[_0x37f05c(0x326)],this[_0x37f05c(0x47b)],this[_0x37f05c(0x24f)],null,[_0x14761a],this[_0x37f05c(0x3d1)]);try{const _0x5aaa35=this[_0x37f05c(0x3bd)][_0x37f05c(0x2b2)]([_0x14761a],[this['_awaitingChangeset']],!0x1);if(_0x4a4eff['isTransformChangesetsSuccess'](_0x5aaa35)){const {c1Prime:_0x199978,c2Prime:_0x5c31dd}=_0x5aaa35,_0x5f4416=this[_0x37f05c(0x3bd)][_0x37f05c(0x3f6)](_0x199978[0x0],this[_0x37f05c(0x24f)]);if(_0x4a4eff[_0x37f05c(0x433)](_0x5f4416)){const {c1Prime:_0x13989c,m2Prime:_0x170745}=_0x5f4416;return this[_0x37f05c(0x410)](_0x13989c),_0x5c31dd[0x0]['baseRev']=this[_0x37f05c(0x369)](),this[_0x37f05c(0x146)](),this[_0x37f05c(0x3c0)][_0x37f05c(0x48b)](_0x43236a[_0x37f05c(0x18e)],this[_0x37f05c(0x463)],this[_0x37f05c(0x326)],_0x5c31dd[0x0],_0x170745,this[_0x37f05c(0x3d1)],void 0x0);}throw _0x5f4416[_0x37f05c(0x32b)];}throw _0x5aaa35[_0x37f05c(0x32b)];}catch(_0x4532f8){return this[_0x37f05c(0x3ee)][_0x37f05c(0x32b)](_0x4532f8),this[_0x37f05c(0x422)](!0x1);}}[_0x56fe62(0x474)](_0x2ec21c){var _0x33d397=_0x56fe62;if(this[_0x33d397(0x146)](),this[_0x33d397(0x206)](_0x2ec21c))return this[_0x33d397(0x3c0)][_0x33d397(0x48b)](_0x43236a[_0x33d397(0x163)],this[_0x33d397(0x463)],this[_0x33d397(0x326)],null,this[_0x33d397(0x24f)],this[_0x33d397(0x47b)],[],this[_0x33d397(0x3d1)]);this[_0x33d397(0x45f)]();const _0x31552f=this[_0x33d397(0x3c0)][_0x33d397(0x48b)](_0x43236a[_0x33d397(0x469)],this[_0x33d397(0x463)],this['type'],this[_0x33d397(0x24f)],this[_0x33d397(0x3d1)]);return _0x31552f['_schedule'](),_0x31552f[_0x33d397(0x12f)](),_0x31552f;}[_0x56fe62(0x3a0)](_0x3ec89a){var _0x5f4dcc=_0x56fe62;return this['_onConflict'](!!(_0x3ec89a!=null&&_0x3ec89a[_0x5f4dcc(0x34d)]));}['onRemoteRetry'](_0x98bf2c){var _0x57930a=_0x56fe62;return this[_0x57930a(0x2fa)]>_0x1b83db?this[_0x57930a(0x2e9)]():(this[_0x57930a(0x2e4)]=_0x27b781(this['_resendTimeout'],{'timeout':this[_0x57930a(0x26d)],'reqId':_0x98bf2c[_0x57930a(0x45e)]}),this[_0x57930a(0x3d6)]=this['_resendTimer'][_0x57930a(0x3de)](({reqId:_0x2c1a22,timeout:_0x5e2b8b})=>{var _0x263d76=_0x57930a;this[_0x263d76(0x3dd)](_0x2c1a22,_0x5e2b8b);}),this);}['toggleOffline'](){var _0x4cdb0a=_0x56fe62;return this[_0x4cdb0a(0x146)](),this[_0x4cdb0a(0x3c0)][_0x4cdb0a(0x48b)](_0x43236a[_0x4cdb0a(0x3e7)],this[_0x4cdb0a(0x463)],this['type'],this[_0x4cdb0a(0x47b)],this[_0x4cdb0a(0x24f)],this[_0x4cdb0a(0x3d1)]);}['toggleOnline'](){return this;}[_0x56fe62(0x3bc)](){var _0x1e9755=_0x56fe62;this['_handler'][_0x1e9755(0x447)](this['_awaitingChangeset']);}[_0x56fe62(0x422)](_0x52c405){var _0x4ec0ea=_0x56fe62;return this[_0x4ec0ea(0x146)](),this['_injector'][_0x4ec0ea(0x48b)](_0x43236a[_0x4ec0ea(0x188)],this[_0x4ec0ea(0x463)],this[_0x4ec0ea(0x326)],null,this[_0x4ec0ea(0x24f)],this['_handler'],_0x52c405);}[_0x56fe62(0x3dd)](_0x16f797,_0x4f2e7c){var _0x5d5a26=_0x56fe62,_0x26f0a4;_0x16f797===((_0x26f0a4=this[_0x5d5a26(0x47b)])==null?void 0x0:_0x26f0a4[_0x5d5a26(0x45e)])&&(this[_0x5d5a26(0x3bc)](),this['_resendTimeout']=_0x4f2e7c===0x0?0x3e8:Math[_0x5d5a26(0x13c)](_0x4f2e7c*0x2,_0xceddff),this[_0x5d5a26(0x2fa)]+=this[_0x5d5a26(0x26d)]);}[_0x56fe62(0x146)](){var _0x478650=_0x56fe62,_0x5b9c13;(_0x5b9c13=this[_0x478650(0x3d6)])==null||_0x5b9c13[_0x478650(0x1a8)](),this[_0x478650(0x26d)]=0x0,this[_0x478650(0x2fa)]=0x0;}},_0x43236a[_0x56fe62(0x18e)]=_0x17f9d3([_0x56631f(0x6,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a['Injector'])),_0x56631f(0x7,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x37b)])),_0x56631f(0x8,_0x132a8a['ICommandService']),_0x56631f(0x9,_0x132a8a['ILogService']),_0x56631f(0xa,_0x4a4eff['ITransformService']),_0x56631f(0xb,_0x132a8a[_0x56fe62(0x1cd)]),_0x56631f(0xc,_0x132a8a[_0x56fe62(0x460)](_0x11f168))],_0x43236a[_0x56fe62(0x18e)]),_0x43236a[_0x56fe62(0x188)]=class extends _0x261201{constructor(_0x58a418,_0x1f157d,_0x4a95c8,_0x3e838c,_0x1118f9,_0x1458eb=!0x1,_0x9209d,_0x1af9ea,_0x124f83,_0x2fc80c,_0x8ab109,_0x5c8d91,_0x3a5c33){var _0x554417=_0x56fe62;super(_0x58a418,_0x1f157d,_0x4a95c8,_0x3e838c,_0x1118f9,_0x1af9ea,_0x124f83,_0x2fc80c,_0x3a5c33),_0x18d62f(this,_0x554417(0x1a9),_0x554417(0x448)),(this[_0x554417(0x3c4)]=_0x1458eb,this['_permissionService']=_0x9209d,this[_0x554417(0x21b)]=_0x8ab109,this['_collaborationUIEventService']=_0x5c8d91,this['localCacheService']=_0x3a5c33,this['_showConflictNotification'](),this[_0x554417(0x1cf)](),this[_0x554417(0x3ce)]());}[_0x56fe62(0x3a7)](){return this;}[_0x56fe62(0x2ab)](){return this;}[_0x56fe62(0x474)](){return this;}[_0x56fe62(0x3a0)](){return this;}[_0x56fe62(0x13f)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x56fe62(0x3bc)](){var _0x9df9c1=_0x56fe62;throw new Error(_0x9df9c1(0x189));}[_0x56fe62(0x1cf)](){var _0x3e5766=_0x56fe62,_0x3c6737;(_0x3c6737=this['_localCacheService'])==null||_0x3c6737[_0x3e5766(0x2a1)](this[_0x3e5766(0x463)],this['type'],null,[]);}[_0x56fe62(0x44f)](){var _0xfc9793=_0x56fe62;this[_0xfc9793(0x3c4)]?this[_0xfc9793(0x293)][_0xfc9793(0x24e)]({'id':_0x3fbd84[_0xfc9793(0x455)]}):this[_0xfc9793(0x293)][_0xfc9793(0x24e)]({'id':_0x3fbd84[_0xfc9793(0x421)]});}[_0x56fe62(0x3ce)](){var _0x4d7e1b=_0x56fe62;this[_0x4d7e1b(0x171)][_0x4d7e1b(0x31a)](new _0x3b6fb7[(_0x4d7e1b(0x46f))](this['unitID'])['id'],!0x1);}},_0x43236a[_0x56fe62(0x188)]=_0x17f9d3([_0x56631f(0x6,_0x132a8a['Inject'](_0x132a8a[_0x56fe62(0x1cc)])),_0x56631f(0x7,_0x132a8a['ICommandService']),_0x56631f(0x8,_0x132a8a[_0x56fe62(0x1cd)]),_0x56631f(0x9,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x37b)])),_0x56631f(0xa,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x2ea)])),_0x56631f(0xb,_0x132a8a[_0x56fe62(0x1fa)](_0x3d2ec6)),_0x56631f(0xc,_0x132a8a['Optional'](_0x11f168))],_0x43236a[_0x56fe62(0x188)]),_0x43236a[_0x56fe62(0x3e7)]=class extends _0x261201{constructor(_0x36143a,_0x5e19af,_0x3b2e00,_0x4b7344,_0x290d7f,_0x2ffe6c,_0x10d0da,_0x3d35b4,_0x24ad9e,_0x2904b7){var _0x398d06=_0x56fe62;super(_0x36143a,_0x5e19af,_0x3b2e00,_0x4b7344,_0x290d7f,_0x3d35b4,_0x24ad9e,_0x10d0da,_0x2904b7),_0x18d62f(this,_0x398d06(0x1a9),_0x398d06(0x2da)),this['_injector']=_0x2ffe6c;}[_0x56fe62(0x3a7)](_0x1be84b){var _0x2302c3=_0x56fe62;return this[_0x2302c3(0x24f)][_0x2302c3(0x372)](_0x1be84b),this[_0x2302c3(0x12f)](),this;}['onRemoteChangeset'](_0x19254d){var _0x2f8adc=_0x56fe62;throw new Error(_0x2f8adc(0x28a));}[_0x56fe62(0x474)](){var _0x1c7bb9=_0x56fe62;throw new Error(_0x1c7bb9(0x245));}[_0x56fe62(0x3a0)](){var _0x5128f7=_0x56fe62;throw new Error(_0x5128f7(0x32c));}[_0x56fe62(0x13f)](){return this;}[_0x56fe62(0x2e9)](){return this;}[_0x56fe62(0x216)](){var _0x1d9075=_0x56fe62;const {_injector:_0x8796c3,_pendingMutations:_0x5d86eb,_awaitingChangeset:_0x2d43c5,unitID:_0x51d825,_handler:_0x2537f6,type:_0x3f9b6f}=this,_0x23e535=_0x18c48d(_0x8796c3,_0x51d825,_0x3f9b6f,_0x2d43c5,_0x5d86eb,_0x2537f6);return _0x23e535 instanceof _0x43236a[_0x1d9075(0x469)]?_0x23e535[_0x1d9075(0x465)]():(_0x23e535 instanceof _0x43236a[_0x1d9075(0x18e)]||_0x23e535 instanceof _0x43236a[_0x1d9075(0x23d)])&&_0x23e535[_0x1d9075(0x3bc)](),_0x23e535;}[_0x56fe62(0x3bc)](){var _0x5915fe=_0x56fe62;throw new Error(_0x5915fe(0x203));}},_0x43236a['OfflineState']=_0x17f9d3([_0x56631f(0x5,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1ae)])),_0x56631f(0x6,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff['RevisionService'])),_0x56631f(0x7,_0x132a8a[_0x56fe62(0x342)]),_0x56631f(0x8,_0x132a8a[_0x56fe62(0x1cd)]),_0x56631f(0x9,_0x132a8a[_0x56fe62(0x460)](_0x11f168))],_0x43236a[_0x56fe62(0x3e7)]),_0x43236a['FetchingMissState']=class extends _0x261201{constructor(_0x4a6598,_0x2d5b5b,_0x39b059,_0x2a8ab2,_0x53df48,_0x45d52b,_0x4da1c1,_0x3110e8,_0x29f17e,_0x51066f,_0x3f9537,_0x2e0b36,_0x184dd7,_0x24403f){var _0x236528=_0x56fe62;super(_0x4a6598,_0x2d5b5b,_0x39b059,_0x2a8ab2,_0x4da1c1,_0x3f9537,_0x2e0b36,_0x29f17e,_0x24403f),_0x18d62f(this,_0x236528(0x1a9),_0x236528(0x43a)),(this['_acknowledgedAwaitingChangeset']=_0x53df48,this['_queuedRemoteChangesets']=_0x45d52b,this[_0x236528(0x3c0)]=_0x3110e8,this[_0x236528(0x3ee)]=_0x51066f,this['_transformService']=_0x184dd7,this['localCacheService']=_0x24403f);}[_0x56fe62(0x436)](_0x39bd3f){var _0x574059=_0x56fe62;try{const _0xf774c0=[..._0x39bd3f,...this[_0x574059(0x156)]],_0x877b53=[this[_0x574059(0x47b)]||this[_0x574059(0x23a)]][_0x574059(0x272)](_0x3c46cd=>!!_0x3c46cd);let _0x4da2fc,_0x4f7cce;if(_0x877b53[_0x574059(0x17a)]){const _0x45e15c=this[_0x574059(0x3bd)]['transformChangesets'](_0xf774c0,_0x877b53,!0x1);if(!_0x4a4eff['isTransformChangesetsSuccess'](_0x45e15c))throw _0x45e15c['error'];_0x4da2fc=_0x45e15c['c1Prime'],_0x4f7cce=_0x45e15c[_0x574059(0x344)];}else _0x4da2fc=_0xf774c0,_0x4f7cce=[];let _0x291120=this['_pendingMutations'];_0x4da2fc['forEach'](_0x40c041=>{var _0x907cec=_0x574059;let _0xe47654;if(_0x291120[_0x907cec(0x17a)]){const _0x52786d=this[_0x907cec(0x3bd)]['transformMutationsWithChangeset'](_0x40c041,_0x291120);if(!_0x4a4eff[_0x907cec(0x433)](_0x52786d))throw _0x52786d[_0x907cec(0x32b)];_0xe47654=_0x52786d[_0x907cec(0x303)],_0x291120=_0x52786d[_0x907cec(0x47e)];}else _0xe47654=_0x40c041;this['_executeRemoteChangeset'](_0xe47654);}),this[_0x574059(0x23a)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x4f7cce[_0x574059(0x17a)]&&(_0x4f7cce[0x0][_0x574059(0x399)]=this[_0x574059(0x369)]());let _0x2caaca;if(this[_0x574059(0x47b)]&&_0x291120[_0x574059(0x17a)]!==0x0)_0x2caaca=this[_0x574059(0x3c0)][_0x574059(0x48b)](_0x43236a[_0x574059(0x18e)],this[_0x574059(0x463)],this[_0x574059(0x326)],_0x4f7cce[0x0],_0x291120,this[_0x574059(0x3d1)],void 0x0);else{if(this['_awaitingChangeset']&&_0x291120[_0x574059(0x17a)]===0x0)_0x4f7cce[0x0][_0x574059(0x399)]=this[_0x574059(0x369)](),_0x2caaca=this[_0x574059(0x3c0)][_0x574059(0x48b)](_0x43236a[_0x574059(0x23d)],this[_0x574059(0x463)],this[_0x574059(0x326)],_0x4f7cce[0x0],this[_0x574059(0x3d1)]);else{if(_0x291120[_0x574059(0x17a)]!==0x0){const _0x2f2b5f=this[_0x574059(0x3c0)][_0x574059(0x48b)](_0x43236a[_0x574059(0x469)],this[_0x574059(0x463)],this[_0x574059(0x326)],_0x291120,this[_0x574059(0x3d1)]);_0x2f2b5f[_0x574059(0x465)](),_0x2caaca=_0x2f2b5f;}else _0x2caaca=this[_0x574059(0x3c0)][_0x574059(0x48b)](_0x43236a[_0x574059(0x3fe)],this[_0x574059(0x463)],this[_0x574059(0x326)],this[_0x574059(0x3d1)]);}}return _0x2caaca[_0x574059(0x12f)](),_0x2caaca;}catch(_0x152852){return this[_0x574059(0x3ee)][_0x574059(0x32b)]('[FetchMissState]',_0x574059(0x31e),_0x152852),this[_0x574059(0x3c0)]['createInstance'](_0x43236a[_0x574059(0x188)],this[_0x574059(0x463)],this[_0x574059(0x326)],this[_0x574059(0x47b)],this[_0x574059(0x24f)],this[_0x574059(0x3d1)],!0x1);}}['resend'](){var _0x58947c=_0x56fe62;throw new Error(_0x58947c(0x1f0));}[_0x56fe62(0x3a7)](_0xf1cd65){var _0x361fb8=_0x56fe62;return this[_0x361fb8(0x24f)]['push'](_0xf1cd65),this;}[_0x56fe62(0x2ab)](_0x34676c){var _0x35adc6=_0x56fe62;return this[_0x35adc6(0x156)][_0x35adc6(0x372)](_0x34676c),this;}['onRemoteAck'](_0x5bd34d){var _0x47274f=_0x56fe62;if(this['_awaitingChangeset'])return this[_0x47274f(0x23a)]=this[_0x47274f(0x47b)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x123a10){var _0x3050fb=_0x56fe62;return this[_0x3050fb(0x422)](!!(_0x123a10!=null&&_0x123a10[_0x3050fb(0x34d)]));}[_0x56fe62(0x13f)](){return this;}[_0x56fe62(0x2e9)](){var _0x35f98a=_0x56fe62;return this[_0x35f98a(0x3c0)][_0x35f98a(0x48b)](_0x43236a[_0x35f98a(0x3e7)],this['unitID'],this[_0x35f98a(0x326)],this[_0x35f98a(0x47b)],this['_pendingMutations'],this[_0x35f98a(0x3d1)]);}[_0x56fe62(0x216)](){return this;}[_0x56fe62(0x422)](_0x168057){var _0x11132c=_0x56fe62;return this[_0x11132c(0x3c0)]['createInstance'](_0x43236a[_0x11132c(0x188)],this['unitID'],this[_0x11132c(0x326)],this[_0x11132c(0x47b)],this[_0x11132c(0x24f)],this[_0x11132c(0x3d1)],_0x168057);}},_0x43236a[_0x56fe62(0x163)]=_0x17f9d3([_0x56631f(0x7,_0x132a8a['Inject'](_0x132a8a['Injector'])),_0x56631f(0x8,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x37b)])),_0x56631f(0x9,_0x132a8a[_0x56fe62(0x3f7)]),_0x56631f(0xa,_0x132a8a[_0x56fe62(0x342)]),_0x56631f(0xb,_0x132a8a['IUndoRedoService']),_0x56631f(0xc,_0x4a4eff[_0x56fe62(0x4a9)]),_0x56631f(0xd,_0x132a8a['Optional'](_0x11f168))],_0x43236a[_0x56fe62(0x163)]);function _0x18c48d(_0x292abc,_0x2baaa4,_0x3dd4f5,_0x1daef1,_0x562a3e,_0xc785ef){var _0x56c4ae=_0x56fe62;return _0x1daef1&&_0x562a3e[_0x56c4ae(0x17a)]?_0x292abc['createInstance'](_0x43236a[_0x56c4ae(0x18e)],_0x2baaa4,_0x3dd4f5,_0x1daef1,_0x562a3e,_0xc785ef,void 0x0):_0x1daef1?_0x292abc['createInstance'](_0x43236a['AwaitingState'],_0x2baaa4,_0x3dd4f5,_0x1daef1,_0xc785ef):_0x562a3e['length']?_0x292abc[_0x56c4ae(0x48b)](_0x43236a['PendingState'],_0x2baaa4,_0x3dd4f5,_0x562a3e,_0xc785ef):_0x292abc[_0x56c4ae(0x48b)](_0x43236a[_0x56c4ae(0x3fe)],_0x2baaa4,_0x3dd4f5,_0xc785ef);}var _0x48ac7e=Object[_0x56fe62(0x2f8)],_0x5e7589=(_0x500ec0,_0x352fe2,_0x24360e,_0x9d20b4)=>{var _0xa2e161=_0x56fe62;for(var _0x4036b7=_0x9d20b4>0x1?void 0x0:_0x9d20b4?_0x48ac7e(_0x352fe2,_0x24360e):_0x352fe2,_0x5d8ba6=_0x500ec0[_0xa2e161(0x17a)]-0x1,_0x3804fa;_0x5d8ba6>=0x0;_0x5d8ba6--)(_0x3804fa=_0x500ec0[_0x5d8ba6])&&(_0x4036b7=_0x3804fa(_0x4036b7)||_0x4036b7);return _0x4036b7;},_0x2519fe=(_0x4081ad,_0x39b5ac)=>(_0x561b4c,_0x18541c)=>_0x39b5ac(_0x561b4c,_0x18541c,_0x4081ad);_0x43236a[_0x56fe62(0x1a5)]=class extends _0x132a8a['RxDisposable']{constructor(_0x179088,_0x2e5ed5,_0x157f2b,_0x1d01dd,_0x47bce3,_0x3572dd,_0x1e013a,_0x3c7698,_0x340b0a,_0x402def,_0x1a42f9,_0x11b10b,_0x3080be,_0x284e91){var _0x4384b9=_0x56fe62;super(),_0x18d62f(this,_0x4384b9(0x2ae),new _0x41f28e['BehaviorSubject'](null)),_0x18d62f(this,_0x4384b9(0x44a),this[_0x4384b9(0x2ae)][_0x4384b9(0x4ba)]()),_0x18d62f(this,_0x4384b9(0x1f1)),_0x18d62f(this,_0x4384b9(0x153),!0x1),_0x18d62f(this,'_changesetSessionId',''),_0x18d62f(this,'_changesetReqId',0x0),_0x18d62f(this,_0x4384b9(0x201),this[_0x4384b9(0x44a)][_0x4384b9(0x2d1)](_0x41f28e[_0x4384b9(0x290)](_0x3a4028=>_0x3a4028?_0x3a4028[_0x4384b9(0x1a9)]:_0x1ce56e[_0x4384b9(0x11e)]),_0x41f28e[_0x4384b9(0x15a)](0x1))),_0x18d62f(this,'_transitionLocked',!0x1),_0x18d62f(this,_0x4384b9(0x1f7),[]),(this[_0x4384b9(0x463)]=_0x179088,this[_0x4384b9(0x1ed)]=_0x2e5ed5,this[_0x4384b9(0x1dd)]=_0x157f2b,this[_0x4384b9(0x3c0)]=_0x1d01dd,this['_compressMutationService']=_0x47bce3,this['_localeService']=_0x3572dd,this[_0x4384b9(0x18b)]=_0x1e013a,this[_0x4384b9(0x118)]=_0x3c7698,this['_univerInstanceService']=_0x340b0a,this[_0x4384b9(0x3ee)]=_0x402def,this[_0x4384b9(0x3b8)]=_0x1a42f9,this['_permissionService']=_0x11b10b,this[_0x4384b9(0x138)]=_0x3080be,this['_localCacheService']=_0x284e91);}get[_0x56fe62(0x462)](){return this['_state'];}async[_0x56fe62(0x161)](){var _0x520f2a=_0x56fe62;if(this['state'])throw new Error(_0x520f2a(0x480));await this[_0x520f2a(0x403)]();}[_0x56fe62(0x46d)](){var _0xa2116d=_0x56fe62;return this[_0xa2116d(0x153)]=!0x0,_0x132a8a['toDisposable'](()=>{var _0x597891=_0xa2116d;this[_0x597891(0x153)]=!0x1,this[_0x597891(0x164)]();});}[_0x56fe62(0x40c)](_0x543bb1){this['_onLocalMutation'](_0x543bb1);}[_0x56fe62(0x241)](_0x264adc){var _0x314304=_0x56fe62;this['_state']=_0x264adc,this['_state$'][_0x314304(0x360)](_0x264adc);}async[_0x56fe62(0x403)](){var _0x190356=_0x56fe62,_0x29bace;this[_0x190356(0x241)](await this[_0x190356(0x2d6)]()),this['_singleActiveUnitService']&&((_0x29bace=this[_0x190356(0x138)])==null||_0x29bace[_0x190356(0x1c5)](this['unitID']),this[_0x190356(0x29a)](this[_0x190356(0x138)][_0x190356(0x1ff)](this['unitID'])[_0x190356(0x3de)](_0x53f119=>{var _0x5168a8=_0x190356;this[_0x5168a8(0x3ee)][_0x5168a8(0x181)]('[CollaborationEntity]',_0x5168a8(0x186),_0x53f119),_0x53f119===_0x494ec1[_0x5168a8(0x40e)]?(this[_0x5168a8(0x118)][_0x5168a8(0x24e)]({'id':_0x3fbd84[_0x5168a8(0x2d9)]}),this[_0x5168a8(0x171)][_0x5168a8(0x31a)](new _0x3b6fb7['WorkbookEditablePermission'](this[_0x5168a8(0x463)])['id'],!0x1),this['_permissionService'][_0x5168a8(0x3d7)](!0x1)):(this[_0x5168a8(0x171)][_0x5168a8(0x31a)](new _0x3b6fb7['WorkbookEditablePermission'](this[_0x5168a8(0x463)])['id'],!0x0),this[_0x5168a8(0x171)][_0x5168a8(0x3d7)](!0x0));})));let _0x2b88a3=!0x1;return this[_0x190356(0x29a)](this[_0x190356(0x1ed)][_0x190356(0x27e)][_0x190356(0x3de)](_0x26d303=>{var _0x1e268e=_0x190356;_0x26d303===_0x49f99f[_0x1e268e(0x456)]?this[_0x1e268e(0x129)](_0x2b88a3):_0x26d303===_0x49f99f[_0x1e268e(0x11e)]&&(_0x2b88a3=!0x0,this[_0x1e268e(0x37c)]());})),this[_0x190356(0x29a)](this['session'][_0x190356(0x247)][_0x190356(0x3de)](_0x272e9a=>{var _0x5616a5=_0x190356;try{switch(_0x272e9a[_0x5616a5(0x3e2)]){case _0x4a4eff[_0x5616a5(0x19d)][_0x5616a5(0x17c)]:{this['_onRemoteChangeset'](_0x4a4eff[_0x5616a5(0x1b6)](_0x272e9a[_0x5616a5(0x483)]));break;}case _0x4a4eff[_0x5616a5(0x19d)][_0x5616a5(0x4b2)]:{this['_onRemoteACK'](_0x272e9a[_0x5616a5(0x483)]);break;}case _0x4a4eff[_0x5616a5(0x19d)][_0x5616a5(0x488)]:{this[_0x5616a5(0x2b0)]();break;}case _0x4a4eff['CollaborationEvent'][_0x5616a5(0x213)]:{this[_0x5616a5(0x339)](_0x272e9a[_0x5616a5(0x483)]);break;}case _0x4a4eff[_0x5616a5(0x19d)][_0x5616a5(0x256)]:{this[_0x5616a5(0x29c)](_0x272e9a[_0x5616a5(0x483)][_0x5616a5(0x187)][_0x5616a5(0x290)](_0x541964=>_0x4a4eff[_0x5616a5(0x1b6)](_0x541964)));break;}case _0x4a4eff[_0x5616a5(0x19d)][_0x5616a5(0x199)]:{this[_0x5616a5(0x2b0)]({'isPermissionRej':!0x0});break;}case _0x4a4eff[_0x5616a5(0x19d)][_0x5616a5(0x2cd)]:break;}}catch(_0x2287fe){throw console[_0x5616a5(0x32b)](_0x5616a5(0x192),_0x2287fe),_0x2287fe;}})),this[_0x190356(0x1f1)];}[_0x56fe62(0x493)](){var _0x2611a2=_0x56fe62;this[_0x2611a2(0x133)]=!0x1;}[_0x56fe62(0x2eb)](){if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x515ba1){var _0xefbfc9=_0x56fe62;this['_lockTransition'](),this[_0xefbfc9(0x241)](this[_0xefbfc9(0x1f1)][_0xefbfc9(0x3a7)](_0x515ba1)),this[_0xefbfc9(0x493)]();}['_onRemoteChangeset'](_0x14288b){var _0x4dfe8d=_0x56fe62;if(!(_0x14288b[_0x4dfe8d(0x167)]<=this[_0x4dfe8d(0x18b)][_0x4dfe8d(0x1d9)](this[_0x4dfe8d(0x463)]))){if(this['_collaborationPaused']){this[_0x4dfe8d(0x1f7)][_0x4dfe8d(0x372)](_0x14288b);return;}this[_0x4dfe8d(0x11f)](_0x14288b);}}['_exhaustRemoteChangesetQueue'](){var _0x45f6ef=_0x56fe62;this[_0x45f6ef(0x1f7)]['forEach'](_0xa577ac=>this[_0x45f6ef(0x11f)](_0xa577ac)),this[_0x45f6ef(0x1f7)]=[];}['_applyRemoteChangeset'](_0x1c3a4c){var _0x56fd33=_0x56fe62;const _0x5e4165=this[_0x56fd33(0x1e3)]['interceptor'][_0x56fd33(0x3cb)](this[_0x56fd33(0x1e3)]['interceptor'][_0x56fd33(0x2a9)]()['COMPRESS_MUTATION_APPLY'])(_0x1c3a4c['mutations'],null)||_0x1c3a4c['mutations'],_0x4bb448={..._0x1c3a4c,'mutations':_0x5e4165};this[_0x56fd33(0x2eb)](),this[_0x56fd33(0x241)](this[_0x56fd33(0x1f1)][_0x56fd33(0x2ab)](_0x4bb448)),this['_unlockTransition']();}[_0x56fe62(0x484)](_0x1d7562){var _0x660618=_0x56fe62;this[_0x660618(0x2eb)](),this[_0x660618(0x241)](this[_0x660618(0x1f1)][_0x660618(0x474)](_0x1d7562)),this[_0x660618(0x493)]();}[_0x56fe62(0x2b0)](_0x55dd9b){var _0x2e3628=_0x56fe62;this['_lockTransition'](),this[_0x2e3628(0x241)](this[_0x2e3628(0x1f1)][_0x2e3628(0x3a0)](_0x55dd9b)),this['_unlockTransition']();}[_0x56fe62(0x339)](_0x52e2ca){var _0x253fad=_0x56fe62;this[_0x253fad(0x2eb)](),this['_updateState'](this[_0x253fad(0x1f1)]['onRemoteRetry'](_0x52e2ca)),this[_0x253fad(0x493)]();}[_0x56fe62(0x29c)](_0x10147d){var _0xc532f5=_0x56fe62;if(!(this[_0xc532f5(0x1f1)]instanceof _0x43236a[_0xc532f5(0x163)]))throw new TypeError(_0xc532f5(0x22f));const _0x47289b=_0x10147d['map'](_0x3bfe7e=>{var _0x5356b0=_0xc532f5;const _0x53084a=this[_0x5356b0(0x1e3)][_0x5356b0(0x2be)][_0x5356b0(0x3cb)](this['_compressMutationService'][_0x5356b0(0x2be)][_0x5356b0(0x2a9)]()[_0x5356b0(0x3e5)])(_0x3bfe7e[_0x5356b0(0x409)],null)||_0x3bfe7e['mutations'];return{..._0x3bfe7e,'mutations':_0x53084a};});this[_0xc532f5(0x2eb)](),this[_0xc532f5(0x241)](this[_0xc532f5(0x1f1)]['onMissedChangesetFetched'](_0x47289b)),this[_0xc532f5(0x493)]();}[_0x56fe62(0x37c)](){var _0x53bbde=_0x56fe62;this[_0x53bbde(0x2eb)](),this[_0x53bbde(0x241)](this['_state'][_0x53bbde(0x2e9)]()),this[_0x53bbde(0x493)]();}[_0x56fe62(0x129)](_0x5bbe3a=!0x1){var _0x26ffb8=_0x56fe62;this[_0x26ffb8(0x2eb)](),this['_updateState'](this[_0x26ffb8(0x1f1)]['toggleOnline']()),this[_0x26ffb8(0x493)]();const _0x576fa0=this['_state'];_0x5bbe3a&&_0x576fa0 instanceof _0x43236a[_0x26ffb8(0x3fe)]&&(this[_0x26ffb8(0x2eb)](),this['_updateState'](_0x576fa0[_0x26ffb8(0x37a)]()),this[_0x26ffb8(0x493)]());}async[_0x56fe62(0x2d6)](){return new Promise(_0x232b1a=>{var _0x4ca92b=_0x3662;this['session'][_0x4ca92b(0x27e)][_0x4ca92b(0x2d1)](_0x41f28e[_0x4ca92b(0x300)](0x1))['subscribe'](async _0x8bcf85=>{var _0x5edca0=_0x4ca92b;_0x232b1a(await this[_0x5edca0(0x180)](_0x8bcf85===_0x49f99f[_0x5edca0(0x456)]));});});}['_createHandler'](){var _0x1ada90=_0x56fe62;const _0x4b6932=this[_0x1ada90(0x463)];return{'onStateChange':(_0x939763,_0x101e80)=>{var _0x3dd408=_0x1ada90;if(_0x939763!==this[_0x3dd408(0x1f1)])throw new Error(_0x3dd408(0x343)+_0x939763[_0x3dd408(0x1a9)]+_0x3dd408(0x47d)+_0x101e80[_0x3dd408(0x1a9)]+'\x0aCurrent:\x20'+this[_0x3dd408(0x1f1)][_0x3dd408(0x1a9)]);this['_updateState'](_0x101e80);},'onSendChangeset':_0x28beb5=>{var _0x53156d=_0x1ada90;_0x28beb5[_0x53156d(0x46b)]||(_0x28beb5[_0x53156d(0x46b)]=this['_changesetSessionId'],_0x28beb5[_0x53156d(0x45e)]=++this[_0x53156d(0x282)]);const _0x2f8035={'eventID':_0x4a4eff[_0x53156d(0x19d)][_0x53156d(0x174)],'data':{'unitID':_0x28beb5[_0x53156d(0x463)],'unitType':this['_type'],'changeset':_0x28beb5,'memberID':this[_0x53156d(0x1ed)]['getMemberID']()}};this['session'][_0x53156d(0x49a)](_0x2f8035,this[_0x53156d(0x463)]);},'onMissingChangesets':({from:_0x4a8618,to:_0x434d5f})=>{var _0x5b3ff6=_0x1ada90;this[_0x5b3ff6(0x3ee)][_0x5b3ff6(0x181)](_0x5b3ff6(0x4ab),_0x5b3ff6(0x298)+_0x4a8618+_0x5b3ff6(0x2de)+_0x434d5f);const _0x4abd51={'eventID':_0x4a4eff[_0x5b3ff6(0x19d)][_0x5b3ff6(0x496)],'data':{'unitID':_0x4b6932,'unitType':this[_0x5b3ff6(0x1dd)],'from':_0x4a8618,'to':_0x434d5f}};this['session'][_0x5b3ff6(0x49a)](_0x4abd51,this['unitID']);}};}async[_0x56fe62(0x180)](_0xce73f0){var _0x2419ca=_0x56fe62,_0x434890,_0x1abf56,_0x491f61;const _0x16a75b=await((_0x434890=this[_0x2419ca(0x3fb)])==null?void 0x0:_0x434890[_0x2419ca(0x3ad)](this[_0x2419ca(0x463)])),_0x3b0e9a=(_0x1abf56=_0x16a75b==null?void 0x0:_0x16a75b[_0x2419ca(0x409)])!=null?_0x1abf56:[],_0x4bb3fc=(_0x491f61=_0x16a75b==null?void 0x0:_0x16a75b['awaitingChangeset'])!=null?_0x491f61:null,_0x2ad72e=!!(_0x4bb3fc!=null&&_0x4bb3fc[_0x2419ca(0x46b)])&&!!(_0x4bb3fc!=null&&_0x4bb3fc['reqId']);this[_0x2419ca(0x1e6)]=_0x2ad72e?_0x4bb3fc[_0x2419ca(0x46b)]:_0x4a4eff[_0x2419ca(0x306)](),this['_changesetReqId']=_0x2ad72e?_0x4bb3fc[_0x2419ca(0x45e)]:0x0;const _0x2c8397=this[_0x2419ca(0x463)];try{this[_0x2419ca(0x214)](_0x4bb3fc,_0x3b0e9a);}catch(_0x1d273c){this['_logService'][_0x2419ca(0x32b)](_0x1d273c);}const _0x51a9eb=this[_0x2419ca(0x1db)]();if(_0xce73f0){const _0x3d8b57=_0x18c48d(this[_0x2419ca(0x3c0)],_0x2c8397,this[_0x2419ca(0x1dd)],_0x4bb3fc,_0x3b0e9a,_0x51a9eb);return _0x3d8b57 instanceof _0x43236a[_0x2419ca(0x469)]?_0x3d8b57['_schedule']():(_0x3d8b57 instanceof _0x43236a[_0x2419ca(0x18e)]||_0x3d8b57 instanceof _0x43236a['AwaitingState'])&&_0x3d8b57[_0x2419ca(0x3bc)](),_0x3d8b57;}return this[_0x2419ca(0x3c0)][_0x2419ca(0x48b)](_0x43236a[_0x2419ca(0x3e7)],_0x2c8397,this[_0x2419ca(0x1dd)],_0x4bb3fc,_0x3b0e9a,_0x51a9eb);}[_0x56fe62(0x214)](_0x1b9c67,_0x31014a){var _0x10ae55=_0x56fe62,_0x55f89c,_0x160517;const _0x27fe84=this[_0x10ae55(0x1e3)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x10ae55(0x2be)][_0x10ae55(0x2a9)]()[_0x10ae55(0x3e5)]);(_0x55f89c=_0x27fe84((_0x1b9c67==null?void 0x0:_0x1b9c67[_0x10ae55(0x409)])||[],null))==null||_0x55f89c[_0x10ae55(0x13d)](_0x594d48=>this[_0x10ae55(0x3b8)]['executeCommand'](_0x594d48['id'],_0x594d48['params'])),(_0x160517=_0x27fe84(_0x31014a||[],null))==null||_0x160517[_0x10ae55(0x13d)](_0x5b1342=>this[_0x10ae55(0x3b8)][_0x10ae55(0x26a)](_0x5b1342['id'],_0x5b1342[_0x10ae55(0x24c)]));}},_0x43236a[_0x56fe62(0x1a5)]=_0x5e7589([_0x2519fe(0x3,_0x132a8a['Inject'](_0x132a8a[_0x56fe62(0x1ae)])),_0x2519fe(0x4,_0x132a8a['Inject'](_0x4a4eff['CompressMutationService'])),_0x2519fe(0x5,_0x132a8a['Inject'](_0x132a8a[_0x56fe62(0x2ea)])),_0x2519fe(0x6,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x37b)])),_0x2519fe(0x7,_0x132a8a[_0x56fe62(0x1fa)](_0x3d2ec6)),_0x2519fe(0x8,_0x132a8a['IUniverInstanceService']),_0x2519fe(0x9,_0x132a8a[_0x56fe62(0x3f7)]),_0x2519fe(0xa,_0x132a8a[_0x56fe62(0x342)]),_0x2519fe(0xb,_0x132a8a[_0x56fe62(0x1cc)]),_0x2519fe(0xc,_0x132a8a[_0x56fe62(0x460)](_0x4fa0d2)),_0x2519fe(0xd,_0x132a8a['Optional'](_0x11f168))],_0x43236a['CollaborationEntity']),_0x43236a[_0x56fe62(0x345)]=class extends _0x43236a[_0x56fe62(0x1a5)]{constructor(_0x1077e8,_0x2eae31,_0x30afd1,_0x5ee45d,_0x527e4a,_0x348f2c,_0x173647,_0x1bd104,_0x2b4400,_0x3a575e,_0x34f79e,_0x5515ca,_0x49e7d7,_0x3b3b67){var _0x2b753a=_0x56fe62;super(_0x1077e8,_0x30afd1,_0x2eae31,_0x5ee45d,_0x527e4a,_0x348f2c,_0x173647,_0x1bd104,_0x2b4400,_0x3a575e,_0x34f79e,_0x5515ca,_0x49e7d7,_0x3b3b67),_0x18d62f(this,_0x2b753a(0x176),null),(this[_0x2b753a(0x463)]=_0x1077e8,this[_0x2b753a(0x326)]=_0x2eae31);}[_0x56fe62(0x1dc)](_0x1ee4cc){this['_handlerCallback']=_0x1ee4cc;}['dispose'](){var _0x7b8a1e=_0x56fe62;this[_0x7b8a1e(0x176)]=null,super[_0x7b8a1e(0x149)]();}['_createHandler'](){var _0x5e7284=_0x56fe62;const _0x57715e=super['_createHandler']();return _0x57715e[_0x5e7284(0x30f)]=_0x3537e8=>{var _0x3962c2=_0x5e7284,_0x456b85,_0x9dc336;return(_0x9dc336=(_0x456b85=this[_0x3962c2(0x176)])==null?void 0x0:_0x456b85[_0x3962c2(0x30f)])==null?void 0x0:_0x9dc336[_0x3962c2(0x208)](_0x456b85,_0x3537e8);},_0x57715e[_0x5e7284(0x361)]=_0x14d8e7=>{var _0xe6b4a4=_0x5e7284,_0x26e322,_0x48dcb0;return(_0x48dcb0=(_0x26e322=this[_0xe6b4a4(0x176)])==null?void 0x0:_0x26e322[_0xe6b4a4(0x361)])==null?void 0x0:_0x48dcb0[_0xe6b4a4(0x208)](_0x26e322,_0x14d8e7);},_0x57715e[_0x5e7284(0x4a4)]=_0x2c31a3=>{var _0x49adfe=_0x5e7284,_0x5a0586,_0xf9ea49;return(_0xf9ea49=(_0x5a0586=this[_0x49adfe(0x176)])==null?void 0x0:_0x5a0586['onTransformSelections'])==null?void 0x0:_0xf9ea49[_0x49adfe(0x208)](_0x5a0586,_0x2c31a3);},_0x57715e[_0x5e7284(0x3a2)]=_0x349165=>{var _0xf63cbf=_0x5e7284,_0x1577fa,_0x1ea82e;return(_0x1ea82e=(_0x1577fa=this[_0xf63cbf(0x176)])==null?void 0x0:_0x1577fa[_0xf63cbf(0x3a2)])==null?void 0x0:_0x1ea82e['call'](_0x1577fa,_0x349165);},_0x57715e[_0x5e7284(0x255)]=_0x388087=>{var _0x5c06d5=_0x5e7284,_0x15293d,_0x26fa67,_0x5842e8;if(!((_0x15293d=this['_handlerCallback'])!=null&&_0x15293d[_0x5c06d5(0x255)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5842e8=(_0x26fa67=this[_0x5c06d5(0x176)])==null?void 0x0:_0x26fa67['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5842e8[_0x5c06d5(0x208)](_0x26fa67,_0x388087);},_0x57715e[_0x5e7284(0x43f)]=_0x527caa=>{var _0x20a4ec=_0x5e7284,_0x53bf50,_0x44087e,_0x108813;if(!((_0x53bf50=this[_0x20a4ec(0x176)])!=null&&_0x53bf50[_0x20a4ec(0x43f)]))throw new Error(_0x20a4ec(0x116));return(_0x108813=(_0x44087e=this['_handlerCallback'])==null?void 0x0:_0x44087e[_0x20a4ec(0x43f)])==null?void 0x0:_0x108813[_0x20a4ec(0x208)](_0x44087e,_0x527caa);},_0x57715e;}async[_0x56fe62(0x403)](){var _0x58687f=_0x56fe62;const _0x156f79=await super[_0x58687f(0x403)]();return this[_0x58687f(0x29a)](this[_0x58687f(0x3b8)][_0x58687f(0x39b)]((_0xf18e08,_0x35f7b7)=>{var _0x2be695=_0x58687f;if(_0xf18e08[_0x2be695(0x326)]!==_0x132a8a[_0x2be695(0x191)][_0x2be695(0x143)]||_0x35f7b7!=null&&_0x35f7b7[_0x2be695(0x44e)]||_0x35f7b7!=null&&_0x35f7b7[_0x2be695(0x46e)]||_0xf18e08['id']===_0x172117['RichTextEditingMutation']['id'])return;const _0x212bfe=_0xf18e08[_0x2be695(0x24c)];if((_0x212bfe==null?void 0x0:_0x212bfe['unitId'])!==this[_0x2be695(0x463)])return;const _0x2705b3=_0xf18e08,_0x558f2b=this[_0x2be695(0x1e3)][_0x2be695(0x2be)][_0x2be695(0x3cb)](this[_0x2be695(0x1e3)][_0x2be695(0x2be)][_0x2be695(0x2a9)]()[_0x2be695(0x439)])([_0x2705b3],this[_0x2be695(0x3fd)])||[_0x2705b3];this['_onLocalMutation'](_0x558f2b[0x0]);})),_0x156f79;}},_0x43236a['DocCollaborationEntity']=_0x5e7589([_0x2519fe(0x3,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1ae)])),_0x2519fe(0x4,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x2fe)])),_0x2519fe(0x5,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a['LocaleService'])),_0x2519fe(0x6,_0x132a8a['Inject'](_0x4a4eff['RevisionService'])),_0x2519fe(0x7,_0x132a8a['Inject'](_0x3d2ec6)),_0x2519fe(0x8,_0x132a8a['IUniverInstanceService']),_0x2519fe(0x9,_0x132a8a[_0x56fe62(0x3f7)]),_0x2519fe(0xa,_0x132a8a['ICommandService']),_0x2519fe(0xb,_0x132a8a[_0x56fe62(0x1cc)]),_0x2519fe(0xc,_0x132a8a[_0x56fe62(0x460)](_0x4fa0d2)),_0x2519fe(0xd,_0x132a8a['Optional'](_0x11f168))],_0x43236a[_0x56fe62(0x345)]),_0x43236a[_0x56fe62(0x1bd)]=class extends _0x43236a[_0x56fe62(0x1a5)]{constructor(_0x11284e,_0x46d784,_0x1435e2,_0x5dbbd9,_0x5ce6ad,_0x20cf06,_0x340c4a,_0x513cff,_0x1d24de,_0x17eff1,_0x592ebd,_0x1dbd63,_0x3d32c4,_0x3c8b08,_0x274116){var _0xf24e6d=_0x56fe62;super(_0x11284e,_0x1435e2,_0x46d784,_0x5dbbd9,_0x5ce6ad,_0x20cf06,_0x340c4a,_0x1d24de,_0x17eff1,_0x592ebd,_0x1dbd63,_0x3d32c4,_0x3c8b08,_0x274116),this['unitID']=_0x11284e,this[_0xf24e6d(0x326)]=_0x46d784,this[_0xf24e6d(0x490)]=_0x513cff;}[_0x56fe62(0x1db)](){var _0x2e58d6=_0x56fe62;const _0x5c8db9=super[_0x2e58d6(0x1db)]();return _0x5c8db9[_0x2e58d6(0x4a4)]=_0x2a08ff=>this[_0x2e58d6(0x490)]['transformSelections'](_0x2a08ff),_0x5c8db9;}async[_0x56fe62(0x403)](){var _0x5ec85b=_0x56fe62;const _0x359153=await super[_0x5ec85b(0x403)]();return this[_0x5ec85b(0x29a)](this[_0x5ec85b(0x3b8)][_0x5ec85b(0x39b)]((_0x1de256,_0x39af71)=>{var _0x42b593=_0x5ec85b;if(_0x1de256['type']!==_0x132a8a['CommandType']['MUTATION']||_0x39af71!=null&&_0x39af71[_0x42b593(0x44e)]||_0x39af71!=null&&_0x39af71['onlyLocal'])return;const _0x54e7c5=_0x1de256[_0x42b593(0x24c)];if((_0x54e7c5==null?void 0x0:_0x54e7c5[_0x42b593(0x140)])!==this[_0x42b593(0x463)])return;const _0x26d582=_0x1de256,_0x39e32a=this[_0x42b593(0x1e3)]['interceptor'][_0x42b593(0x3cb)](this[_0x42b593(0x1e3)][_0x42b593(0x2be)][_0x42b593(0x2a9)]()[_0x42b593(0x439)])([_0x26d582],this[_0x42b593(0x3fd)])||[_0x26d582];this[_0x42b593(0x1e0)](_0x39e32a[0x0]);})),_0x359153;}},_0x43236a[_0x56fe62(0x1bd)]=_0x5e7589([_0x2519fe(0x3,_0x132a8a['Inject'](_0x132a8a[_0x56fe62(0x1ae)])),_0x2519fe(0x4,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x2fe)])),_0x2519fe(0x5,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x2ea)])),_0x2519fe(0x6,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x37b)])),_0x2519fe(0x7,_0x132a8a['Inject'](_0x43236a['SheetTransformSelectionsService'])),_0x2519fe(0x8,_0x132a8a[_0x56fe62(0x1fa)](_0x3d2ec6)),_0x2519fe(0x9,_0x132a8a[_0x56fe62(0x1da)]),_0x2519fe(0xa,_0x132a8a[_0x56fe62(0x3f7)]),_0x2519fe(0xb,_0x132a8a[_0x56fe62(0x342)]),_0x2519fe(0xc,_0x132a8a['IPermissionService']),_0x2519fe(0xd,_0x132a8a['Optional'](_0x4fa0d2)),_0x2519fe(0xe,_0x132a8a['Optional'](_0x11f168))],_0x43236a[_0x56fe62(0x1bd)]);const _0x48b40=_0x132a8a['createIdentifier'](_0x56fe62(0x253));function _0x1ffe34(_0x200bc6){var _0x1570b9=_0x56fe62,_0x357120,_0x2ea319,_0x128e81,_0x50109b,_0x50b984;const _0x20f53e=_0x200bc6[_0x1570b9(0x483)],_0x444bb5=JSON[_0x1570b9(0x2fc)](_0x20f53e);switch(_0x444bb5[_0x1570b9(0x3b3)]){case _0x225c09[_0x1570b9(0x2bd)]:case _0x225c09[_0x1570b9(0x371)]:{const _0x4fe6f2=_0x444bb5[_0x1570b9(0x404)];return{..._0x444bb5,'data':_0x4fe6f2,'cmd':_0x444bb5['cmd']};}case _0x225c09[_0x1570b9(0x3cc)]:{const _0x2c2749=_0x444bb5[_0x1570b9(0x1aa)];return{..._0x444bb5,'data':_0x2c2749,'cmd':_0x444bb5['cmd']};}case _0x225c09[_0x1570b9(0x3af)]:{const _0x1a5efd=_0x444bb5[_0x1570b9(0x27c)];switch(_0x1a5efd[_0x1570b9(0x3e2)]){case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x199)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':(_0x357120=_0x1a5efd[_0x1570b9(0x48a)])==null?void 0x0:_0x357120['cs']},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)]['CHANGESET_ACK']:return{..._0x444bb5,'data':{..._0x1a5efd,'data':(_0x2ea319=_0x1a5efd[_0x1570b9(0x259)])==null?void 0x0:_0x2ea319['cs']},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x17c)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':(_0x128e81=_0x1a5efd[_0x1570b9(0x304)])==null?void 0x0:_0x128e81['cs']},'cmd':_0x444bb5['cmd']};case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x488)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':(_0x50109b=_0x1a5efd['csRejEvent'])==null?void 0x0:_0x50109b['cs']},'cmd':_0x444bb5['cmd']};case _0x4a4eff['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x444bb5,'data':{..._0x1a5efd,'data':(_0x50b984=_0x1a5efd[_0x1570b9(0x4a8)])==null?void 0x0:_0x50b984['cs']},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd[_0x1570b9(0x223)]},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x198)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd['joinEvent']},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x209)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd[_0x1570b9(0x3b2)]},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x1ee)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd['liveShareNewHost']},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)]['LIVESHARE_FETCH_OPERATIONS']:case _0x4a4eff['CollaborationEvent'][_0x1570b9(0x1d4)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd[_0x1570b9(0x127)]},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)]['LIVESHARE_TERMINATE']:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd['liveShareNewHost']},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x21d)]:return{..._0x444bb5,'data':_0x1a5efd,'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)]['COMMENT_UPDATE']:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd[_0x1570b9(0x218)]},'cmd':_0x444bb5['cmd']};case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x1c7)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd[_0x1570b9(0x3cf)]},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x221)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd['shouldCloseConn']},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)]['UNISCRIPT_RUN']:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd[_0x1570b9(0x16a)]},'cmd':_0x444bb5['cmd']};default:return _0x444bb5;}}default:return _0x444bb5;}}function _0x41ac03(_0x2a6c95){var _0x44bdfc=_0x56fe62;switch(_0x2a6c95[_0x44bdfc(0x3b3)]){case _0x225c09[_0x44bdfc(0x2bd)]:case _0x225c09[_0x44bdfc(0x371)]:return JSON['stringify']({'cmd':_0x2a6c95[_0x44bdfc(0x3b3)],'routeKey':_0x2a6c95[_0x44bdfc(0x219)]});case _0x225c09[_0x44bdfc(0x24d)]:{let _0x57507e;switch(_0x2a6c95[_0x44bdfc(0x483)][_0x44bdfc(0x3e2)]){case _0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x419)]:{_0x57507e={'eventID':_0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x419)],'updateCursorEvent':_0x2a6c95['data'][_0x44bdfc(0x483)]};break;}case _0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x209)]:{_0x57507e={'eventID':_0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x209)],'leaveEvent':_0x2a6c95[_0x44bdfc(0x483)][_0x44bdfc(0x483)]};break;}case _0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x198)]:{_0x57507e={'eventID':_0x4a4eff['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x2a6c95['data'][_0x44bdfc(0x483)]};break;}case _0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x1ee)]:{_0x57507e={'eventID':_0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x1ee)],'liveShareNewHost':_0x2a6c95[_0x44bdfc(0x483)][_0x44bdfc(0x483)]};break;}case _0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x1d4)]:{_0x57507e={'eventID':_0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x1d4)],'liveShareOperation':_0x2a6c95[_0x44bdfc(0x483)]['data']};break;}case _0x4a4eff['CollaborationEvent'][_0x44bdfc(0x2c3)]:{_0x57507e={'eventID':_0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x2c3)],'liveShareTerminate':_0x2a6c95['data']['data']};break;}case _0x4a4eff[_0x44bdfc(0x19d)]['LIVESHARE_REQUEST_HOST']:{_0x57507e={'eventID':_0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x12d)],'liveShareRequestHost':_0x2a6c95[_0x44bdfc(0x483)][_0x44bdfc(0x483)]};break;}case _0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x126)]:{_0x57507e={'eventID':_0x4a4eff['CollaborationEvent'][_0x44bdfc(0x126)]};break;}default:_0x57507e={'eventID':_0x2a6c95[_0x44bdfc(0x483)][_0x44bdfc(0x3e2)]};}return JSON[_0x44bdfc(0x123)]({'cmd':_0x2a6c95[_0x44bdfc(0x3b3)],'routeKey':_0x2a6c95['routeKey'],'collaMsg':_0x57507e});}case _0x225c09[_0x44bdfc(0x3cc)]:return JSON[_0x44bdfc(0x123)]({'cmd':_0x2a6c95['cmd'],'routeKey':_0x2a6c95[_0x44bdfc(0x219)],'joinReq':_0x2a6c95[_0x44bdfc(0x483)]});case _0x225c09[_0x44bdfc(0x12c)]:return JSON[_0x44bdfc(0x123)]({'cmd':_0x2a6c95[_0x44bdfc(0x3b3)],'routeKey':_0x2a6c95[_0x44bdfc(0x219)],'leaveReq':_0x2a6c95[_0x44bdfc(0x483)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x1dc7fd=Object['getOwnPropertyDescriptor'],_0x302652=(_0x589c92,_0x3a9399,_0x244b6c,_0x14e5f8)=>{var _0x35624e=_0x56fe62;for(var _0x15c745=_0x14e5f8>0x1?void 0x0:_0x14e5f8?_0x1dc7fd(_0x3a9399,_0x244b6c):_0x3a9399,_0x2f6891=_0x589c92[_0x35624e(0x17a)]-0x1,_0x4a4701;_0x2f6891>=0x0;_0x2f6891--)(_0x4a4701=_0x589c92[_0x2f6891])&&(_0x15c745=_0x4a4701(_0x15c745)||_0x15c745);return _0x15c745;},_0x279959=(_0x1bddea,_0x29bedb)=>(_0x58f245,_0x17d780)=>_0x29bedb(_0x58f245,_0x17d780,_0x1bddea);const _0x56cc51=_0x132a8a[_0x56fe62(0x384)](_0x56fe62(0x229));function _0x1304c5(_0x15b97d,_0x45e1c9,_0x4a2b53){var _0x4d639b=_0x56fe62;return _0x15b97d+'/'+_0x45e1c9+_0x4d639b(0x43d)+_0x4a2b53+'/new_changes';}_0x43236a[_0x56fe62(0x364)]=class extends _0x132a8a[_0x56fe62(0x19f)]{constructor(_0x1b5372,_0x294147,_0x45cd79,_0x46a7e2,_0x17e852){var _0x130ed3=_0x56fe62;super(),this[_0x130ed3(0x3c0)]=_0x1b5372,this[_0x130ed3(0x280)]=_0x294147,this[_0x130ed3(0x2f7)]=_0x45cd79,this['_logService']=_0x46a7e2,this['_snapshotServerService']=_0x17e852;}[_0x56fe62(0x2d8)](_0x3c5db1){var _0x510dd2=_0x56fe62;const _0x1662a2=this[_0x510dd2(0x3c0)]['get'](_0x38b1a1[_0x510dd2(0x14f)]);if(!_0x1662a2)throw new Error(_0x510dd2(0x466));const _0x331b4c=_0x1662a2[_0x510dd2(0x162)](_0x3c5db1);if(!_0x331b4c)throw new Error(_0x510dd2(0x27b));const _0x47937e=new _0x132a8a[(_0x510dd2(0x273))](),_0x71207a=new _0x41f28e['Subject']();_0x47937e[_0x510dd2(0x224)](_0x331b4c['close$']['subscribe'](_0xa15c44=>_0x71207a[_0x510dd2(0x360)](_0xa15c44))),_0x47937e[_0x510dd2(0x224)](_0x132a8a[_0x510dd2(0x32f)](()=>_0x71207a[_0x510dd2(0x215)]()));const _0x3a9cfb=new _0x41f28e[(_0x510dd2(0x3e8))]();_0x47937e[_0x510dd2(0x224)](_0x331b4c[_0x510dd2(0x15d)][_0x510dd2(0x3de)](_0x5ab42e=>_0x3a9cfb[_0x510dd2(0x360)](_0x5ab42e))),_0x47937e[_0x510dd2(0x224)](_0x132a8a[_0x510dd2(0x32f)](()=>_0x3a9cfb[_0x510dd2(0x215)]()));const _0x5b216a=new _0x41f28e['Subject']();_0x47937e[_0x510dd2(0x224)](_0x331b4c['message$']['subscribe'](_0x37330b=>{var _0x2f6650=_0x510dd2;const _0x122d5d=_0x1ffe34(_0x37330b);_0x5b216a[_0x2f6650(0x360)](_0x122d5d);})),_0x47937e['add'](_0x132a8a['toDisposable'](()=>_0x5b216a['complete']()));let _0x5e5a0a;const _0xed0e36=()=>{var _0x47c163=_0x510dd2;_0x3a9cfb[_0x47c163(0x360)](new Event(_0x47c163(0x309))),_0x71207a['next'](new Event(_0x47c163(0x309))),_0x5e5a0a[_0x47c163(0x432)]();};return _0x5e5a0a={'memberID':'','close$':_0x71207a[_0x510dd2(0x4ba)](),'error$':_0x3a9cfb[_0x510dd2(0x4ba)](),'open$':_0x331b4c['open$'],'message$':_0x5b216a[_0x510dd2(0x4ba)](),'send':_0x3ad72=>{var _0x10366d=_0x510dd2;if(_0x3ad72[_0x10366d(0x3b3)]===_0x225c09['INGEST']){if(_0x3ad72['data'][_0x10366d(0x3e2)]===_0x4a4eff[_0x10366d(0x19d)][_0x10366d(0x174)]){this['_submitChangeset'](_0x5e5a0a,_0x3ad72['data'])[_0x10366d(0x26e)](_0x7de23a=>{var _0x249702=_0x10366d;this[_0x249702(0x3ee)][_0x249702(0x32b)](_0x7de23a),_0xed0e36();});return;}if(_0x3ad72['data'][_0x10366d(0x3e2)]===_0x4a4eff[_0x10366d(0x19d)][_0x10366d(0x496)]){const _0x357e2f=_0x3ad72[_0x10366d(0x483)];this['_fetchMissChangesets'](_0x357e2f)[_0x10366d(0x1d2)](_0x188da6=>{var _0x59d606=_0x10366d;_0x5b216a[_0x59d606(0x360)]({'cmd':_0x225c09['RECV'],'code':_0x30b10a['OK'],'routeKey':_0x357e2f['data']['unitID'],'routeType':'','data':{'eventID':_0x4a4eff[_0x59d606(0x19d)][_0x59d606(0x256)],'data':{'changesets':_0x188da6}}});})[_0x10366d(0x26e)](_0xe2e0c=>{this['_logService']['error'](_0xe2e0c),_0xed0e36();});return;}}_0x331b4c['send'](_0x41ac03(_0x3ad72));},'close':()=>{_0x331b4c['close'](),_0x47937e['dispose']();}},_0x5e5a0a;}async[_0x56fe62(0x302)](_0x5dd6cf,_0xf48e17){var _0x5443a5=_0x56fe62,_0x2631b9;const {unitType:_0x4070dd,unitID:_0x2529f3,changeset:_0x201525}=_0xf48e17['data'],_0x5733d2={'unitID':_0x2529f3,'memberID':_0x5dd6cf[_0x5443a5(0x1b2)],'type':_0x4070dd,'changeset':_0x4a4eff[_0x5443a5(0x464)](_0x201525)},_0x31eca2=this[_0x5443a5(0x2f7)][_0x5443a5(0x1ab)](_0x16e9e6),_0x42862f=_0x1304c5((_0x2631b9=_0x31eca2==null?void 0x0:_0x31eca2[_0x5443a5(0x398)])!=null?_0x2631b9:_0x31cb17,_0x4070dd,_0x2529f3);try{await this['_httpService'][_0x5443a5(0x12e)](_0x42862f,{'body':_0x5733d2});}catch(_0x3e36b7){throw this[_0x5443a5(0x3ee)][_0x5443a5(0x32b)](_0x5443a5(0x236),_0x5443a5(0x17f)),_0x3e36b7;}}async['_fetchMissChangesets'](_0x2a87ce){var _0x890ecd=_0x56fe62;const {unitID:_0x7ba730,from:_0x3c612e,to:_0x3dee62,unitType:_0x1a0d35}=_0x2a87ce[_0x890ecd(0x483)];return(await this[_0x890ecd(0x289)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x7ba730,'type':_0x1a0d35,'from':_0x3c612e,'to':_0x3dee62}))[_0x890ecd(0x187)]['map'](_0x343510=>((_0x343510['mutations']===null||_0x343510[_0x890ecd(0x409)]===void 0x0)&&(_0x343510[_0x890ecd(0x409)]=[]),_0x343510));}},_0x43236a[_0x56fe62(0x364)]=_0x302652([_0x279959(0x0,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a['Injector'])),_0x279959(0x1,_0x132a8a[_0x56fe62(0x1fa)](_0x38b1a1[_0x56fe62(0x4b1)])),_0x279959(0x2,_0x132a8a['IConfigService']),_0x279959(0x3,_0x132a8a[_0x56fe62(0x3f7)]),_0x279959(0x4,_0x4a4eff[_0x56fe62(0x1a0)])],_0x43236a[_0x56fe62(0x364)]);var _0x369fb1=Object[_0x56fe62(0x2f8)],_0x429f3a=(_0x17fb7b,_0x232dd2,_0x22a4de,_0x5d8451)=>{var _0x414a8e=_0x56fe62;for(var _0x4fa3d6=_0x5d8451>0x1?void 0x0:_0x5d8451?_0x369fb1(_0x232dd2,_0x22a4de):_0x232dd2,_0x2a3726=_0x17fb7b[_0x414a8e(0x17a)]-0x1,_0x58a2a6;_0x2a3726>=0x0;_0x2a3726--)(_0x58a2a6=_0x17fb7b[_0x2a3726])&&(_0x4fa3d6=_0x58a2a6(_0x4fa3d6)||_0x4fa3d6);return _0x4fa3d6;},_0x55ad3e=(_0x1d39d8,_0x396b82)=>(_0x92a9bd,_0x5d2e7a)=>_0x396b82(_0x92a9bd,_0x5d2e7a,_0x1d39d8);_0x43236a['CollaborationSessionService']=class extends _0x132a8a[_0x56fe62(0x19f)]{constructor(_0x5572aa,_0x4ff09d,_0x2d18f2,_0x201a36,_0x32f342,_0x600918){var _0xffc513=_0x56fe62;super(),_0x18d62f(this,'_socket$',new _0x41f28e[(_0xffc513(0x473))](void 0x0)),_0x18d62f(this,_0xffc513(0x337),this[_0xffc513(0x2f2)]['asObservable']()),_0x18d62f(this,'_candidateSocket',null),_0x18d62f(this,_0xffc513(0x267),new Map()),_0x18d62f(this,_0xffc513(0x457),new _0x41f28e[(_0xffc513(0x473))](_0x49f99f[_0xffc513(0x2db)])),_0x18d62f(this,'status$',this[_0xffc513(0x457)][_0xffc513(0x4ba)]()),_0x18d62f(this,_0xffc513(0x239),!0x1),_0x18d62f(this,_0xffc513(0x329)),_0x18d62f(this,_0xffc513(0x49e),0x0),_0x18d62f(this,_0xffc513(0x36d)),_0x18d62f(this,_0xffc513(0x3d0)),(this[_0xffc513(0x3c0)]=_0x5572aa,this[_0xffc513(0x3ee)]=_0x4ff09d,this[_0xffc513(0x2f7)]=_0x2d18f2,this['_socketService']=_0x201a36,this[_0xffc513(0x293)]=_0x32f342,this[_0xffc513(0x16f)]=_0x600918,this[_0xffc513(0x43b)]());}get[_0x56fe62(0x387)](){var _0x4a973b=_0x56fe62;return this[_0x4a973b(0x2f2)]['getValue']();}[_0x56fe62(0x43b)](){var _0x1637b8=_0x56fe62;this[_0x1637b8(0x16f)]&&this['disposeWithMe'](this[_0x1637b8(0x16f)][_0x1637b8(0x1ca)][_0x1637b8(0x3de)](_0x1fcb17=>{var _0x2fc3f4=_0x1637b8;_0x1fcb17&&!this[_0x2fc3f4(0x387)]&&this[_0x2fc3f4(0x472)](),_0x1fcb17||this[_0x2fc3f4(0x423)]();}));}[_0x56fe62(0x149)](){var _0x3d48c7=_0x56fe62;super[_0x3d48c7(0x149)](),this[_0x3d48c7(0x41f)](),this[_0x3d48c7(0x319)](),this[_0x3d48c7(0x22a)](),this['_sessions']['forEach'](_0xff2250=>_0xff2250['dispose']()),this[_0x3d48c7(0x267)][_0x3d48c7(0x389)](),this[_0x3d48c7(0x457)][_0x3d48c7(0x215)]();}async['requireSession'](_0x1f06f9){var _0x19d345=_0x56fe62;if(this[_0x19d345(0x267)][_0x19d345(0x172)](_0x1f06f9))return this['_sessions'][_0x19d345(0x2ce)](_0x1f06f9);this[_0x19d345(0x39a)]();const _0x56440e=this[_0x19d345(0x3c0)][_0x19d345(0x48b)](_0x43236a[_0x19d345(0x3df)],_0x1f06f9,this[_0x19d345(0x2f2)][_0x19d345(0x4ba)]());return this['_sessions'][_0x19d345(0x35e)](_0x1f06f9,_0x56440e),_0x56440e;}[_0x56fe62(0x453)](_0x4015a0){var _0x463227=_0x56fe62,_0x3d6df6;const _0x575038=this[_0x463227(0x267)][_0x463227(0x2ce)](_0x4015a0);_0x575038&&(this[_0x463227(0x267)][_0x463227(0x26b)](_0x4015a0),_0x575038['close']()),this[_0x463227(0x267)][_0x463227(0x1d1)]||(_0x3d6df6=this['_socket'])==null||_0x3d6df6[_0x463227(0x432)]();}[_0x56fe62(0x472)](){var _0x8187b8=_0x56fe62;this['_retryCount']=0x0,this[_0x8187b8(0x41f)](),this['_tryReconnect']();}[_0x56fe62(0x41f)](){var _0x375189=_0x56fe62;this[_0x375189(0x329)]!=null&&(clearTimeout(this[_0x375189(0x329)]),this[_0x375189(0x329)]=null);}async[_0x56fe62(0x2c4)](){var _0x2feb9b=_0x56fe62,_0xa11360;const _0x2f4e50=this[_0x2feb9b(0x2f7)][_0x2feb9b(0x1ab)](_0x16e9e6),_0x103b36=(_0xa11360=_0x2f4e50==null?void 0x0:_0x2f4e50[_0x2feb9b(0x2dd)])!=null?_0xa11360:_0x148b14,_0x37ff84=await this[_0x2feb9b(0x41d)][_0x2feb9b(0x162)](_0x103b36);return this['_candidateSocket']=_0x37ff84,_0x37ff84;}async[_0x56fe62(0x39a)](){var _0x1c3b14=_0x56fe62,_0x9ceba6,_0x37b0fa;try{const _0xa5c613=(_0x37b0fa=(_0x9ceba6=this['_socket'])!=null?_0x9ceba6:this[_0x1c3b14(0x458)])!=null?_0x37b0fa:await this['_createSocket']();if(_0xa5c613){const _0x16eb03=_0xa5c613[_0x1c3b14(0x49a)];_0xa5c613[_0x1c3b14(0x49a)]=_0x56a78a=>(this[_0x1c3b14(0x14d)](),_0x16eb03[_0x1c3b14(0x128)](_0xa5c613,[_0x56a78a])),_0xa5c613[_0x1c3b14(0x42f)][_0x1c3b14(0x3de)](_0x35afd9=>this[_0x1c3b14(0x28e)](_0xa5c613,_0x35afd9)),_0xa5c613[_0x1c3b14(0x15d)][_0x1c3b14(0x2d1)](_0xb6ddf5[_0x1c3b14(0x300)](0x1))[_0x1c3b14(0x3de)](_0x1853e2=>this[_0x1c3b14(0x3ee)][_0x1c3b14(0x32b)]('[CollaborationSessionService]:\x20socket\x20error',_0x1853e2)),_0xa5c613[_0x1c3b14(0x261)]['pipe'](_0xb6ddf5[_0x1c3b14(0x300)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0xa5c613);}),_0xa5c613[_0x1c3b14(0x151)]['pipe'](_0xb6ddf5[_0x1c3b14(0x300)](0x1))[_0x1c3b14(0x3de)](_0xdb51e=>{var _0x21266b=_0x1c3b14;this[_0x21266b(0x3ee)][_0x21266b(0x181)](_0x21266b(0x1ad),'socket\x20close',_0xdb51e),this['_onConnectionFailed']();});}}catch(_0x21af10){this[_0x1c3b14(0x3ee)][_0x1c3b14(0x32b)](_0x21af10),this[_0x1c3b14(0x307)]();}}[_0x56fe62(0x278)](_0x2a6f95){var _0x59614e=_0x56fe62;this[_0x59614e(0x3ee)][_0x59614e(0x181)]('[CollaborationSessionService]',_0x59614e(0x2ee)),_0x2a6f95[_0x59614e(0x49a)]({'cmd':_0x225c09[_0x59614e(0x371)]}),this[_0x59614e(0x14d)]();}['_onOffline'](){var _0x10d9e6=_0x56fe62;this['_socketReady']=!0x1,this[_0x10d9e6(0x458)]=null,this['_status$'][_0x10d9e6(0x360)](_0x49f99f[_0x10d9e6(0x11e)]),this[_0x10d9e6(0x2f2)][_0x10d9e6(0x360)](null),this[_0x10d9e6(0x319)](),this[_0x10d9e6(0x22a)]();}[_0x56fe62(0x307)](){var _0x40071c=_0x56fe62,_0x149cb1;this[_0x40071c(0x423)](),this[_0x40071c(0x49e)]<((_0x149cb1=this[_0x40071c(0x2f7)]['getConfig'](_0x23a235))!=null?_0x149cb1:0x3)?(this[_0x40071c(0x293)][_0x40071c(0x24e)]({'id':_0x3fbd84[_0x40071c(0x49b)]}),this[_0x40071c(0x286)]()):this[_0x40071c(0x293)][_0x40071c(0x24e)]({'id':_0x3fbd84[_0x40071c(0x200)]});}[_0x56fe62(0x286)](){var _0x4d1f41=_0x56fe62,_0x80a127;const _0x226139=this[_0x4d1f41(0x49e)],_0x28d5a2=this['_configService'][_0x4d1f41(0x1ab)](_0x16e9e6),_0x35182d=_0x226139===0x0?0x0:((_0x80a127=_0x28d5a2==null?void 0x0:_0x28d5a2[_0x4d1f41(0x2ac)])!=null?_0x80a127:0x4e20)*0x2**_0x226139;this['_retryConnectingTimer']=setTimeout(()=>{var _0x32d50=_0x4d1f41;clearTimeout(this['_retryConnectingTimer']),this[_0x32d50(0x329)]=null,this[_0x32d50(0x39a)]();},_0x35182d),this['_retryCount']+=0x1;}[_0x56fe62(0x28e)](_0x161333,_0x26ab12){var _0x26550d=_0x56fe62;const {cmd:_0x429b60}=_0x26ab12;_0x429b60===_0x225c09[_0x26550d(0x371)]&&!this[_0x26550d(0x239)]&&(_0x161333['memberID']=_0x26ab12[_0x26550d(0x483)][_0x26550d(0x1b2)],this['_socket$'][_0x26550d(0x360)](_0x161333),this[_0x26550d(0x457)][_0x26550d(0x360)](_0x49f99f['ONLINE']),this[_0x26550d(0x239)]=!0x0,this[_0x26550d(0x458)]=null),_0x429b60===_0x225c09[_0x26550d(0x2bd)]&&this[_0x26550d(0x319)](),this[_0x26550d(0x14d)]();}[_0x56fe62(0x14d)](){var _0x214c3f=_0x56fe62,_0x40c042;this[_0x214c3f(0x22a)](),this[_0x214c3f(0x36d)]=setTimeout(()=>this[_0x214c3f(0x3e0)](),(_0x40c042=this[_0x214c3f(0x2f7)][_0x214c3f(0x1ab)](_0x3a00b0))!=null?_0x40c042:0x7530);}[_0x56fe62(0x3e0)](){var _0x4b26ca=_0x56fe62;this[_0x4b26ca(0x387)]['send']({'cmd':_0x225c09[_0x4b26ca(0x2bd)]}),this[_0x4b26ca(0x1b1)]();}[_0x56fe62(0x1b1)](){var _0xf02933=_0x56fe62,_0x1a63f3;this[_0xf02933(0x3d0)]=setTimeout(()=>this[_0xf02933(0x307)](),(_0x1a63f3=this[_0xf02933(0x2f7)][_0xf02933(0x1ab)](_0x5e0ea0))!=null?_0x1a63f3:0x4e20);}[_0x56fe62(0x22a)](){var _0x952972=_0x56fe62;this[_0x952972(0x36d)]!=null&&(clearTimeout(this[_0x952972(0x36d)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x126847=_0x56fe62;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x126847(0x3d0)]),this[_0x126847(0x3d0)]=null);}},_0x43236a['CollaborationSessionService']=_0x429f3a([_0x55ad3e(0x0,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1ae)])),_0x55ad3e(0x1,_0x132a8a['ILogService']),_0x55ad3e(0x2,_0x132a8a[_0x56fe62(0x2cf)]),_0x55ad3e(0x3,_0x56cc51),_0x55ad3e(0x4,_0x132a8a[_0x56fe62(0x1fa)](_0x3d2ec6)),_0x55ad3e(0x5,_0x132a8a['Optional'](_0x48b40))],_0x43236a[_0x56fe62(0x276)]);var _0x578104=Object[_0x56fe62(0x2f8)],_0x50aa3b=(_0x4c7c66,_0x13dcc8,_0x58bef7,_0x59f67c)=>{var _0x3ec24c=_0x56fe62;for(var _0x872605=_0x59f67c>0x1?void 0x0:_0x59f67c?_0x578104(_0x13dcc8,_0x58bef7):_0x13dcc8,_0x3c6666=_0x4c7c66[_0x3ec24c(0x17a)]-0x1,_0xa0340e;_0x3c6666>=0x0;_0x3c6666--)(_0xa0340e=_0x4c7c66[_0x3c6666])&&(_0x872605=_0xa0340e(_0x872605)||_0x872605);return _0x872605;},_0x579361=(_0x3fe936,_0x53f177)=>(_0x2e259c,_0x365d01)=>_0x53f177(_0x2e259c,_0x365d01,_0x3fe936);_0x43236a[_0x56fe62(0x2ff)]=class extends _0x132a8a[_0x56fe62(0x397)]{constructor(_0x4920ab,_0x46bdbe,_0x9b8078,_0x28b89c){var _0x57567a=_0x56fe62,_0x5dadf0;super(),_0x18d62f(this,_0x57567a(0x21c),new Map()),_0x18d62f(this,_0x57567a(0x332),new _0x41f28e[(_0x57567a(0x3e8))]()),_0x18d62f(this,'entityInit$',this[_0x57567a(0x332)]['asObservable']()),(this[_0x57567a(0x3c0)]=_0x4920ab,this[_0x57567a(0x48e)]=_0x46bdbe,this[_0x57567a(0x2f7)]=_0x9b8078,this[_0x57567a(0x3fd)]=_0x28b89c,((_0x5dadf0=this['_configService']['getConfig'](_0x16e9e6))==null?void 0x0:_0x5dadf0[_0x57567a(0x3a5)])!==!0x1&&this[_0x57567a(0x403)]());}[_0x56fe62(0x149)](){var _0x2241f9=_0x56fe62;super[_0x2241f9(0x149)](),this['_entities'][_0x2241f9(0x13d)](_0x5dd797=>_0x5dd797[_0x2241f9(0x149)]()),this[_0x2241f9(0x21c)][_0x2241f9(0x389)]();}[_0x56fe62(0x43c)](_0x220225){var _0x59e701=_0x56fe62,_0x22904a;return(_0x22904a=this[_0x59e701(0x21c)][_0x59e701(0x2ce)](_0x220225))!=null?_0x22904a:null;}[_0x56fe62(0x19c)](_0x520a42){var _0x2162dc=_0x56fe62;const _0x941976=this['getCollabEntity'](_0x520a42);return _0x941976?_0x41f28e['of'](_0x941976):this[_0x2162dc(0x332)][_0x2162dc(0x2d1)](_0xb6ddf5['filter'](_0x1e0810=>_0x1e0810['unitID']===_0x520a42));}[_0x56fe62(0x2f5)](_0x5abf7d){var _0x215f0a=_0x56fe62;return _0x41f28e[_0x215f0a(0x2f3)](this['getCollabEntity$'](_0x5abf7d)[_0x215f0a(0x2d1)](_0xb6ddf5[_0x215f0a(0x290)](()=>{})));}['_init'](){var _0x5f072e=_0x56fe62;this['_univerInstanceService'][_0x5f072e(0x3f0)](_0x132a8a[_0x5f072e(0x20f)]['UNIVER_SHEET'])['pipe'](_0x41f28e[_0x5f072e(0x308)](this[_0x5f072e(0x3f5)]),_0xb6ddf5[_0x5f072e(0x29b)](0x10))['subscribe'](async _0x43b48b=>{var _0x400768=_0x5f072e;const _0x21336b=_0x43b48b['getUnitId'](),_0x518ebb=await this[_0x400768(0x373)](_0x21336b,_0x5b3fe9['UNIVER_SHEET']);this[_0x400768(0x21c)][_0x400768(0x35e)](_0x21336b,_0x518ebb);}),this[_0x5f072e(0x3fd)]['getTypeOfUnitAdded$'](_0x132a8a[_0x5f072e(0x20f)][_0x5f072e(0x1b0)])['pipe'](_0x41f28e[_0x5f072e(0x308)](this[_0x5f072e(0x3f5)]),_0xb6ddf5['delay'](0x10))[_0x5f072e(0x2d1)](_0xb6ddf5['filter'](_0x855fcf=>!_0x855fcf[_0x5f072e(0x1df)]()['startsWith']('__')))[_0x5f072e(0x3de)](async _0x56fbdd=>{var _0x506314=_0x5f072e;const _0x44b60e=_0x56fbdd['getUnitId'](),_0x98868=await this['_startCollaboration'](_0x44b60e,_0x5b3fe9[_0x506314(0x1b0)]);this[_0x506314(0x21c)][_0x506314(0x35e)](_0x44b60e,_0x98868);}),_0x41f28e[_0x5f072e(0x16d)](this['_univerInstanceService'][_0x5f072e(0x44c)](_0x132a8a[_0x5f072e(0x20f)]['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x132a8a['UniverInstanceType'][_0x5f072e(0x1b0)]))['pipe'](_0x41f28e['takeUntil'](this['dispose$']))[_0x5f072e(0x3de)](_0x45a05b=>{var _0x510079=_0x5f072e;const _0x4e89ef=_0x45a05b[_0x510079(0x1df)](),_0x43dbcd=this['_entities']['get'](_0x4e89ef);_0x43dbcd&&(_0x43dbcd[_0x510079(0x149)](),this[_0x510079(0x21c)][_0x510079(0x26b)](_0x4e89ef));});}async[_0x56fe62(0x373)](_0x24e318,_0x5d0bc3){var _0x16486a=_0x56fe62;const _0x3e7f3f=await this[_0x16486a(0x48e)][_0x16486a(0x35b)](_0x24e318),_0xf1e7f9=this[_0x16486a(0x3c0)][_0x16486a(0x48b)](this[_0x16486a(0x31b)](_0x5d0bc3),_0x24e318,_0x5d0bc3,_0x3e7f3f);return await _0xf1e7f9['init'](),this[_0x16486a(0x332)][_0x16486a(0x360)](_0xf1e7f9),_0xf1e7f9;}['_getCtorByUniverType'](_0x2818aa){var _0x34dc80=_0x56fe62;switch(_0x2818aa){case _0x5b3fe9[_0x34dc80(0x1b0)]:return _0x43236a['DocCollaborationEntity'];case _0x5b3fe9[_0x34dc80(0x2a4)]:return _0x43236a[_0x34dc80(0x1bd)];default:throw new Error(_0x34dc80(0x1d6)+_0x2818aa);}}},_0x43236a[_0x56fe62(0x2ff)]=_0x50aa3b([_0x579361(0x0,_0x132a8a['Inject'](_0x132a8a[_0x56fe62(0x1ae)])),_0x579361(0x1,_0x132a8a['Inject'](_0x43236a[_0x56fe62(0x276)])),_0x579361(0x2,_0x132a8a[_0x56fe62(0x2cf)]),_0x579361(0x3,_0x132a8a[_0x56fe62(0x1da)])],_0x43236a[_0x56fe62(0x2ff)]);var _0x1406ab=Object[_0x56fe62(0x2f8)],_0x1cb4be=(_0x2d4a2e,_0x24fae3,_0x5af67e,_0x1f4ba6)=>{var _0x407f19=_0x56fe62;for(var _0xf6abdd=_0x1f4ba6>0x1?void 0x0:_0x1f4ba6?_0x1406ab(_0x24fae3,_0x5af67e):_0x24fae3,_0x5ea4a9=_0x2d4a2e[_0x407f19(0x17a)]-0x1,_0x3e1824;_0x5ea4a9>=0x0;_0x5ea4a9--)(_0x3e1824=_0x2d4a2e[_0x5ea4a9])&&(_0xf6abdd=_0x3e1824(_0xf6abdd)||_0xf6abdd);return _0xf6abdd;},_0x35ca67=(_0x4d2cb5,_0xfe6346)=>(_0x2a0787,_0x3f0049)=>_0xfe6346(_0x2a0787,_0x3f0049,_0x4d2cb5);const _0x427962=_0x56fe62(0x2e7),_0x26c930='Univer';let _0x2f1d9c=class extends _0x132a8a[_0x56fe62(0x19f)]{constructor(_0x3f8ceb,_0x47c850){var _0x2ed62b=_0x56fe62;super(),this[_0x2ed62b(0x3fd)]=_0x3f8ceb,this['_configService']=_0x47c850,this[_0x2ed62b(0x403)]();}['_init'](){var _0x35ce49=_0x56fe62;this[_0x35ce49(0x29a)](this[_0x35ce49(0x3fd)][_0x35ce49(0x477)][_0x35ce49(0x3de)](()=>{var _0x1f4a4f=_0x35ce49,_0xf49129;const _0x3293e5=this[_0x1f4a4f(0x3fd)][_0x1f4a4f(0x38a)]();let _0x519d89=(_0xf49129=this[_0x1f4a4f(0x2f7)][_0x1f4a4f(0x1ab)](_0x427962))!=null?_0xf49129:_0x26c930;_0x3293e5 instanceof _0x132a8a[_0x1f4a4f(0x2a2)]&&(_0x519d89=_0x3293e5['name']),document[_0x1f4a4f(0x2b8)]=_0x519d89;}));}};_0x2f1d9c=_0x1cb4be([_0x35ca67(0x0,_0x132a8a[_0x56fe62(0x1da)]),_0x35ca67(0x1,_0x132a8a[_0x56fe62(0x2cf)])],_0x2f1d9c);var _0x50c15b=Object[_0x56fe62(0x2f8)],_0x17c026=(_0x17db5d,_0x14eb70,_0x4ece4e,_0x256533)=>{for(var _0x374863=_0x256533>0x1?void 0x0:_0x256533?_0x50c15b(_0x14eb70,_0x4ece4e):_0x14eb70,_0xbda6=_0x17db5d['length']-0x1,_0x31544c;_0xbda6>=0x0;_0xbda6--)(_0x31544c=_0x17db5d[_0xbda6])&&(_0x374863=_0x31544c(_0x374863)||_0x374863);return _0x374863;},_0x438125=(_0x22477e,_0x2282d2)=>(_0x64831,_0x121140)=>_0x2282d2(_0x64831,_0x121140,_0x22477e);let _0x398cd6=class{constructor(_0x2abc49,_0x102601,_0x481c01){var _0x24282d=_0x56fe62;this['_configService']=_0x2abc49,this[_0x24282d(0x280)]=_0x102601,this[_0x24282d(0x34c)]=_0x481c01,this['init']();}[_0x56fe62(0x161)](){var _0x1da1b0=_0x56fe62;this[_0x1da1b0(0x280)][_0x1da1b0(0x2c5)]({'priority':0x1,'interceptor':(_0xb5d66c,_0xd8c46c)=>_0xd8c46c(_0xb5d66c)['pipe'](_0x41f28e[_0x1da1b0(0x378)](async _0x2dd256=>{var _0x4a81ab=_0x1da1b0;const _0x210323=_0x2dd256;if(_0x210323[_0x4a81ab(0x1a9)]===0x191){if(typeof window>'u')throw new Error(_0x4a81ab(0x228));if(window['confirm'](this[_0x4a81ab(0x34c)]['t'](_0x4a81ab(0x330)))){const _0x4defb9=window[_0x4a81ab(0x2d3)](window[_0x4a81ab(0x13e)][_0x4a81ab(0x340)]);window[_0x4a81ab(0x13e)][_0x4a81ab(0x340)]=this['_getLoginPath']()+_0x4a81ab(0x42c)+_0x4defb9;}}return _0x210323;}))});}[_0x56fe62(0x145)](){var _0x468c2e=_0x56fe62,_0xf7d358;const _0x5f3a60=this[_0x468c2e(0x2f7)][_0x468c2e(0x1ab)](_0x16e9e6);return(_0xf7d358=_0x5f3a60==null?void 0x0:_0x5f3a60['loginUrlKey'])!=null?_0xf7d358:_0x1a755a;}};_0x398cd6=_0x17c026([_0x438125(0x0,_0x132a8a[_0x56fe62(0x2cf)]),_0x438125(0x1,_0x132a8a[_0x56fe62(0x1fa)](_0x38b1a1[_0x56fe62(0x4b1)])),_0x438125(0x2,_0x132a8a['Inject'](_0x132a8a[_0x56fe62(0x2ea)]))],_0x398cd6);var _0x22c2e1=Object[_0x56fe62(0x2f8)],_0x561570=(_0x22571c,_0x48dcea,_0x5f1048,_0x5d7958)=>{var _0x4cd908=_0x56fe62;for(var _0x4fe759=_0x5d7958>0x1?void 0x0:_0x5d7958?_0x22c2e1(_0x48dcea,_0x5f1048):_0x48dcea,_0x5538e1=_0x22571c[_0x4cd908(0x17a)]-0x1,_0x5ee697;_0x5538e1>=0x0;_0x5538e1--)(_0x5ee697=_0x22571c[_0x5538e1])&&(_0x4fe759=_0x5ee697(_0x4fe759)||_0x4fe759);return _0x4fe759;},_0x2e58e4=(_0x261b7a,_0x1a5681)=>(_0xa82325,_0x2dc959)=>_0x1a5681(_0xa82325,_0x2dc959,_0x261b7a);const _0x2bb4af=_0x56fe62(0x31c);_0x43236a[_0x56fe62(0x485)]=class extends _0x132a8a['Disposable']{constructor(_0x5a1a90,_0x57b703){var _0x41fc8d=_0x56fe62;super(),this['_HTTPService']=_0x5a1a90,this[_0x41fc8d(0x2f7)]=_0x57b703,this['_initMergeInterceptor']();}[_0x56fe62(0x3c2)](){var _0xa0629e=_0x56fe62;const _0x395ef5=this;this['disposeWithMe'](this[_0xa0629e(0x394)][_0xa0629e(0x2c5)]({'priority':0x3e7,'interceptor':_0x38b1a1['MergeInterceptorFactory']({'isMatch'(_0x415762){var _0x3e30b1=_0xa0629e,_0x419bf9;if(_0x415762[_0x3e30b1(0x185)]===_0x3e30b1(0x45d)&&((_0x419bf9=_0x415762[_0x3e30b1(0x3be)])!=null&&_0x419bf9[_0x3e30b1(0x324)])){const {objectID:_0x374f81,objectType:_0x271405}=_0x415762['requestParams'][_0x3e30b1(0x324)]||{};if(!_0x374f81||_0x271405===void 0x0)return!0x1;const _0x3d66c3=_0x395ef5[_0x3e30b1(0x1a3)]()+'/'+_0x271405+_0x3e30b1(0x1fc)+_0x374f81+'/allowed';if(_0x415762[_0x3e30b1(0x212)]===_0x3d66c3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xdda7a4){var _0x2f7cc7=_0xa0629e,_0x263e6c;return(_0x263e6c=_0xdda7a4[_0x2f7cc7(0x3be)])==null?void 0x0:_0x263e6c[_0x2f7cc7(0x324)];},'mergeParamsToRequest'(_0x213223,_0x1fa5a7){var _0x345f12=_0xa0629e;const _0x5913f5=_0x395ef5[_0x345f12(0x1a3)]()+_0x345f12(0x38e),_0x4b8ddb=_0x213223[_0x345f12(0x1f5)]((_0x328718,_0x5da1cc)=>{const {unitID:_0x2d48e8,objectID:_0x2fe642,objectType:_0x236813,actions:_0xc82517}=_0x5da1cc;return _0x328718[_0x2d48e8]||(_0x328718[_0x2d48e8]={}),_0x328718[_0x2d48e8][_0x2fe642]||(_0x328718[_0x2d48e8][_0x2fe642]={'objectID':_0x2fe642,'objectType':_0x236813,'actions':[]}),_0x328718[_0x2d48e8][_0x2fe642]['actions']['push'](..._0xc82517),_0x328718;},{}),_0x2c23b6=[];for(const _0x2ae16e in _0x4b8ddb)for(const _0x1ce283 in _0x4b8ddb[_0x2ae16e]){const {actions:_0x566ee2,objectType:_0x38f095}=_0x4b8ddb[_0x2ae16e][_0x1ce283],_0x11d4d0=[...new Set(_0x566ee2)];_0x2c23b6[_0x345f12(0x372)]({'unitID':_0x2ae16e,'objectID':_0x1ce283,'objectType':_0x38f095,'actions':_0x11d4d0});}return new _0x38b1a1['HTTPRequest']('POST',_0x5913f5,{'headers':_0x1fa5a7['headers'],'withCredentials':_0x1fa5a7[_0x345f12(0x2fd)],'responseType':_0x1fa5a7[_0x345f12(0x144)],'body':{'requests':_0x2c23b6}});}},{'distributeResult'(_0x439c71,_0x150acf){var _0x429ca2=_0xa0629e;const {objectActions:_0x20f789}=_0x439c71;return _0x150acf[_0x429ca2(0x290)](_0x271ac5=>{var _0x1a80bc=_0x429ca2;const {unitID:_0x456c1d,objectID:_0x3ebf9b,actions:_0x105ec5}=_0x271ac5,_0x141f3d=_0x20f789[_0x1a80bc(0x46c)](_0x81cc8f=>_0x81cc8f[_0x1a80bc(0x463)]===_0x456c1d&&_0x81cc8f['objectID']===_0x3ebf9b),_0xca0a98=_0x105ec5[_0x1a80bc(0x290)](_0x3b6db8=>_0x141f3d==null?void 0x0:_0x141f3d[_0x1a80bc(0x190)][_0x1a80bc(0x46c)](_0x2b2eb6=>_0x2b2eb6[_0x1a80bc(0x25e)]===_0x3b6db8))[_0x1a80bc(0x272)](_0x4921e8=>!!_0x4921e8);return{'config':_0x271ac5,'result':{'actions':_0xca0a98,'error':_0x439c71[_0x1a80bc(0x32b)]}};});}})}));}[_0x56fe62(0x1a3)](){var _0x49568e=_0x56fe62,_0xe3a8d;const _0x30d176=this['_configService'][_0x49568e(0x1ab)](_0x16e9e6);return(_0xe3a8d=_0x30d176==null?void 0x0:_0x30d176['authzUrl'])!=null?_0xe3a8d:_0x2bb4af;}async[_0x56fe62(0x1ea)](_0x30bb20){var _0x1bab91=_0x56fe62;const _0xc8166c=this[_0x1bab91(0x1a3)]()+'/'+_0x30bb20[_0x1bab91(0x30b)]+'/object';return(await this[_0x1bab91(0x394)][_0x1bab91(0x12e)](_0xc8166c,{'body':_0x30bb20}))['body']['objectID']||'';}async['list'](_0x5d08c9){var _0x54ccbd=_0x56fe62;const _0xd0483=this[_0x54ccbd(0x1a3)]()+_0x54ccbd(0x3e4);return(await this['_HTTPService'][_0x54ccbd(0x12e)](_0xd0483,{'body':_0x5d08c9}))[_0x54ccbd(0x324)][_0x54ccbd(0x380)];}async[_0x56fe62(0x207)](_0x240bbb){var _0x4a7877=_0x56fe62,_0x5db90f,_0x1490bc;const _0x29f143=this['_getAPIPrefixPath']()+'/'+_0x240bbb['objectType']+_0x4a7877(0x1fc)+_0x240bbb[_0x4a7877(0x19a)],_0xabcaf4=await this['_HTTPService']['put'](_0x29f143,{'body':_0x240bbb});if(((_0x1490bc=(_0x5db90f=_0xabcaf4==null?void 0x0:_0xabcaf4[_0x4a7877(0x324)])==null?void 0x0:_0x5db90f[_0x4a7877(0x32b)])==null?void 0x0:_0x1490bc['code'])!==0x1)throw new Error(_0x4a7877(0x115));}async[_0x56fe62(0x25f)](_0x48133c){var _0x4e23d4=_0x56fe62;const _0x56e390=this['_getAPIPrefixPath']()+'/'+_0x48133c['objectType']+_0x4e23d4(0x1fc)+_0x48133c[_0x4e23d4(0x19a)]+_0x4e23d4(0x1e8);return(await this['_HTTPService'][_0x4e23d4(0x12e)](_0x56e390,{'body':_0x48133c}))[_0x4e23d4(0x324)]['actions'];}async[_0x56fe62(0x18f)](_0x768472){var _0xe92348=_0x56fe62;const _0xf7b8d8=this['_getAPIPrefixPath']()+_0xe92348(0x38e);return(await this['_HTTPService'][_0xe92348(0x12e)](_0xf7b8d8,{'body':{'requests':_0x768472}}))[_0xe92348(0x324)][_0xe92348(0x49c)];}async['listRoles'](_0x4a80c6){var _0x407497=_0x56fe62;const _0x47b6e9=this[_0x407497(0x1a3)]()+'/'+_0x4a80c6[_0x407497(0x30b)]+_0x407497(0x1f2),_0x190fa3=await this[_0x407497(0x394)][_0x407497(0x12e)](_0x47b6e9,{'body':_0x4a80c6});return{'roles':_0x190fa3['body'][_0x407497(0x243)],'actions':_0x190fa3['body']['actions']};}async[_0x56fe62(0x41a)](_0x8cce60){var _0x474e6a=_0x56fe62;const _0x2a5772=this[_0x474e6a(0x1a3)]()+_0x474e6a(0x35d);await this['_HTTPService'][_0x474e6a(0x26b)](_0x2a5772,{'params':{'collaboratorID':_0x8cce60[_0x474e6a(0x2bb)],'objectID':_0x8cce60['objectID'],'unitID':_0x8cce60[_0x474e6a(0x463)]}});}async['updateCollaborator'](_0x7cc206){var _0x4e344c=_0x56fe62;const _0x4602aa=this[_0x4e344c(0x1a3)]()+'/collaborator';await this[_0x4e344c(0x394)][_0x4e344c(0x413)](_0x4602aa,{'body':_0x7cc206});}async[_0x56fe62(0x35a)](_0x4d1812){var _0x1f55b7=_0x56fe62;const _0x1ee0b4=this[_0x1f55b7(0x1a3)]()+'/collaborator';await this[_0x1f55b7(0x394)][_0x1f55b7(0x12e)](_0x1ee0b4,{'body':_0x4d1812});}async[_0x56fe62(0x2e5)](_0x1290a5){var _0x35a4c6=_0x56fe62;const _0x3a26ba=this[_0x35a4c6(0x1a3)]()+_0x35a4c6(0x35d);return(await this[_0x35a4c6(0x394)]['get'](_0x3a26ba,{'params':{'objectID':_0x1290a5['objectID'],'unitID':_0x1290a5['unitID']}}))[_0x35a4c6(0x324)][_0x35a4c6(0x2dc)];}async['putCollaborators'](_0x5f28a7){var _0x4d6912=_0x56fe62;const _0x33cc78=this[_0x4d6912(0x1a3)]()+'/collaborator';await this['_HTTPService']['put'](_0x33cc78,{'body':_0x5f28a7});}},_0x43236a[_0x56fe62(0x485)]=_0x561570([_0x2e58e4(0x0,_0x132a8a[_0x56fe62(0x1fa)](_0x38b1a1['HTTPService'])),_0x2e58e4(0x1,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x2cf)]))],_0x43236a[_0x56fe62(0x485)]);var _0x3f1dc8=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x519655(_0x21f633){var _0x2405bf=_0x56fe62;return _0x21f633&&_0x21f633[_0x2405bf(0x28c)]&&Object[_0x2405bf(0x22c)]['hasOwnProperty'][_0x2405bf(0x208)](_0x21f633,_0x2405bf(0x1d0))?_0x21f633[_0x2405bf(0x1d0)]:_0x21f633;}var _0xf153ba={'exports':{}};function _0x5dedcb(_0x303338){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x303338+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x5a262a={'exports':{}},_0x56a934=_0x5a262a[_0x56fe62(0x2f0)],_0x9af129;function _0x3a4bbd(){var _0x23dd5b=_0x56fe62;return _0x9af129||(_0x9af129=0x1,function(_0x29e0c6,_0x2ee461){(function(_0x41381c,_0x596a3d){var _0x56e0b3=_0x3662;_0x29e0c6[_0x56e0b3(0x2f0)]=_0x596a3d();}(_0x56a934,function(){var _0x1a09e9=_0x1a09e9||function(_0x5c8df6,_0x569326){var _0x18cd4c=_0x3662,_0x35a166;if(typeof window<'u'&&window[_0x18cd4c(0x184)]&&(_0x35a166=window['crypto']),typeof self<'u'&&self[_0x18cd4c(0x184)]&&(_0x35a166=self[_0x18cd4c(0x184)]),typeof globalThis<'u'&&globalThis[_0x18cd4c(0x184)]&&(_0x35a166=globalThis[_0x18cd4c(0x184)]),!_0x35a166&&typeof window<'u'&&window[_0x18cd4c(0x346)]&&(_0x35a166=window['msCrypto']),!_0x35a166&&typeof _0x3f1dc8<'u'&&_0x3f1dc8[_0x18cd4c(0x184)]&&(_0x35a166=_0x3f1dc8['crypto']),!_0x35a166&&typeof _0x5dedcb==_0x18cd4c(0x4ae))try{_0x35a166=require('crypto');}catch{}var _0x1c20c8=function(){var _0x134a79=_0x18cd4c;if(_0x35a166){if(typeof _0x35a166['getRandomValues']==_0x134a79(0x4ae))try{return _0x35a166[_0x134a79(0x1c9)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x35a166[_0x134a79(0x37d)]==_0x134a79(0x4ae))try{return _0x35a166[_0x134a79(0x37d)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x134a79(0x459));},_0x27a9fe=Object[_0x18cd4c(0x1ea)]||(function(){function _0x49a1e0(){}return function(_0x4e6bca){var _0x307e71=_0x3662,_0x4b0724;return _0x49a1e0[_0x307e71(0x22c)]=_0x4e6bca,_0x4b0724=new _0x49a1e0(),_0x49a1e0['prototype']=null,_0x4b0724;};}()),_0x5eebd2={},_0x3c41bd=_0x5eebd2[_0x18cd4c(0x235)]={},_0x20ec0e=_0x3c41bd[_0x18cd4c(0x3c7)]=(function(){return{'extend':function(_0x41b936){var _0x106007=_0x3662,_0x288a88=_0x27a9fe(this);return _0x41b936&&_0x288a88[_0x106007(0x1e9)](_0x41b936),(!_0x288a88[_0x106007(0x47c)](_0x106007(0x161))||this[_0x106007(0x161)]===_0x288a88[_0x106007(0x161)])&&(_0x288a88[_0x106007(0x161)]=function(){var _0x48f195=_0x106007;_0x288a88['$super'][_0x48f195(0x161)][_0x48f195(0x128)](this,arguments);}),_0x288a88[_0x106007(0x161)][_0x106007(0x22c)]=_0x288a88,_0x288a88[_0x106007(0x454)]=this,_0x288a88;},'create':function(){var _0x577afb=_0x3662,_0x44083a=this['extend']();return _0x44083a[_0x577afb(0x161)]['apply'](_0x44083a,arguments),_0x44083a;},'init':function(){},'mixIn':function(_0x1dbc69){var _0x427bf1=_0x3662;for(var _0x4aa736 in _0x1dbc69)_0x1dbc69[_0x427bf1(0x47c)](_0x4aa736)&&(this[_0x4aa736]=_0x1dbc69[_0x4aa736]);_0x1dbc69['hasOwnProperty'](_0x427bf1(0x277))&&(this[_0x427bf1(0x277)]=_0x1dbc69[_0x427bf1(0x277)]);},'clone':function(){var _0x40c23c=_0x3662;return this[_0x40c23c(0x161)][_0x40c23c(0x22c)][_0x40c23c(0x18a)](this);}};}()),_0x20ddce=_0x3c41bd[_0x18cd4c(0x120)]=_0x20ec0e[_0x18cd4c(0x18a)]({'init':function(_0x5aedfe,_0x208065){var _0x138060=_0x18cd4c;_0x5aedfe=this['words']=_0x5aedfe||[],_0x208065!=_0x569326?this[_0x138060(0x3a8)]=_0x208065:this[_0x138060(0x3a8)]=_0x5aedfe[_0x138060(0x17a)]*0x4;},'toString':function(_0x58e518){var _0x1b5da7=_0x18cd4c;return(_0x58e518||_0x3230a8)[_0x1b5da7(0x123)](this);},'concat':function(_0x1302d8){var _0x8e39c7=_0x18cd4c,_0x508fd7=this['words'],_0x58afea=_0x1302d8[_0x8e39c7(0x40b)],_0x5e988a=this[_0x8e39c7(0x3a8)],_0x5d45b2=_0x1302d8[_0x8e39c7(0x3a8)];if(this[_0x8e39c7(0x3ea)](),_0x5e988a%0x4)for(var _0x3e52b9=0x0;_0x3e52b9<_0x5d45b2;_0x3e52b9++){var _0x556fc7=_0x58afea[_0x3e52b9>>>0x2]>>>0x18-_0x3e52b9%0x4*0x8&0xff;_0x508fd7[_0x5e988a+_0x3e52b9>>>0x2]|=_0x556fc7<<0x18-(_0x5e988a+_0x3e52b9)%0x4*0x8;}else{for(var _0xd9acfd=0x0;_0xd9acfd<_0x5d45b2;_0xd9acfd+=0x4)_0x508fd7[_0x5e988a+_0xd9acfd>>>0x2]=_0x58afea[_0xd9acfd>>>0x2];}return this[_0x8e39c7(0x3a8)]+=_0x5d45b2,this;},'clamp':function(){var _0x194c15=_0x18cd4c,_0x2f0490=this[_0x194c15(0x40b)],_0x210f53=this[_0x194c15(0x3a8)];_0x2f0490[_0x210f53>>>0x2]&=0xffffffff<<0x20-_0x210f53%0x4*0x8,_0x2f0490[_0x194c15(0x17a)]=_0x5c8df6[_0x194c15(0x32d)](_0x210f53/0x4);},'clone':function(){var _0x5641a1=_0x18cd4c,_0x450c74=_0x20ec0e[_0x5641a1(0x1ce)][_0x5641a1(0x208)](this);return _0x450c74[_0x5641a1(0x40b)]=this[_0x5641a1(0x40b)][_0x5641a1(0x168)](0x0),_0x450c74;},'random':function(_0x93ccd7){var _0x4df8a4=_0x18cd4c;for(var _0x4ef50e=[],_0x3f150c=0x0;_0x3f150c<_0x93ccd7;_0x3f150c+=0x4)_0x4ef50e[_0x4df8a4(0x372)](_0x1c20c8());return new _0x20ddce[(_0x4df8a4(0x161))](_0x4ef50e,_0x93ccd7);}}),_0x24da70=_0x5eebd2[_0x18cd4c(0x158)]={},_0x3230a8=_0x24da70[_0x18cd4c(0x1d5)]={'stringify':function(_0x4d3806){var _0x22b2bd=_0x18cd4c;for(var _0x72552f=_0x4d3806[_0x22b2bd(0x40b)],_0x1198af=_0x4d3806[_0x22b2bd(0x3a8)],_0x11d4e9=[],_0x3a4ae9=0x0;_0x3a4ae9<_0x1198af;_0x3a4ae9++){var _0x45d6ac=_0x72552f[_0x3a4ae9>>>0x2]>>>0x18-_0x3a4ae9%0x4*0x8&0xff;_0x11d4e9[_0x22b2bd(0x372)]((_0x45d6ac>>>0x4)[_0x22b2bd(0x277)](0x10)),_0x11d4e9['push']((_0x45d6ac&0xf)[_0x22b2bd(0x277)](0x10));}return _0x11d4e9[_0x22b2bd(0x45c)]('');},'parse':function(_0xddb25){var _0x121747=_0x18cd4c;for(var _0x577c31=_0xddb25[_0x121747(0x17a)],_0x3fc4b9=[],_0x5951e1=0x0;_0x5951e1<_0x577c31;_0x5951e1+=0x2)_0x3fc4b9[_0x5951e1>>>0x3]|=parseInt(_0xddb25[_0x121747(0x296)](_0x5951e1,0x2),0x10)<<0x18-_0x5951e1%0x8*0x4;return new _0x20ddce[(_0x121747(0x161))](_0x3fc4b9,_0x577c31/0x2);}},_0x2e7665=_0x24da70[_0x18cd4c(0x44d)]={'stringify':function(_0x512f4e){var _0xccc627=_0x18cd4c;for(var _0x4e9408=_0x512f4e[_0xccc627(0x40b)],_0x43627f=_0x512f4e['sigBytes'],_0x5208f2=[],_0x50b577=0x0;_0x50b577<_0x43627f;_0x50b577++){var _0x5a4f4a=_0x4e9408[_0x50b577>>>0x2]>>>0x18-_0x50b577%0x4*0x8&0xff;_0x5208f2['push'](String[_0xccc627(0x2a7)](_0x5a4f4a));}return _0x5208f2['join']('');},'parse':function(_0x44ab86){var _0x446bb2=_0x18cd4c;for(var _0x2939a4=_0x44ab86[_0x446bb2(0x17a)],_0x2cd208=[],_0x903812=0x0;_0x903812<_0x2939a4;_0x903812++)_0x2cd208[_0x903812>>>0x2]|=(_0x44ab86[_0x446bb2(0x2e2)](_0x903812)&0xff)<<0x18-_0x903812%0x4*0x8;return new _0x20ddce[(_0x446bb2(0x161))](_0x2cd208,_0x2939a4);}},_0x2cc0f7=_0x24da70['Utf8']={'stringify':function(_0x2d4df4){var _0x443892=_0x18cd4c;try{return decodeURIComponent(escape(_0x2e7665[_0x443892(0x123)](_0x2d4df4)));}catch{throw new Error(_0x443892(0x266));}},'parse':function(_0x35f32a){return _0x2e7665['parse'](unescape(encodeURIComponent(_0x35f32a)));}},_0x2fbc40=_0x3c41bd[_0x18cd4c(0x39d)]=_0x20ec0e[_0x18cd4c(0x18a)]({'reset':function(){var _0x27b58c=_0x18cd4c;this[_0x27b58c(0x407)]=new _0x20ddce[(_0x27b58c(0x161))](),this['_nDataBytes']=0x0;},'_append':function(_0x1ecb0c){var _0x3ba641=_0x18cd4c;typeof _0x1ecb0c==_0x3ba641(0x1fe)&&(_0x1ecb0c=_0x2cc0f7[_0x3ba641(0x2fc)](_0x1ecb0c)),this['_data'][_0x3ba641(0x420)](_0x1ecb0c),this[_0x3ba641(0x1f3)]+=_0x1ecb0c[_0x3ba641(0x3a8)];},'_process':function(_0x3e6998){var _0x5a3000=_0x18cd4c,_0x3c4a3c,_0x42e038=this[_0x5a3000(0x407)],_0x7a14b5=_0x42e038[_0x5a3000(0x40b)],_0x415976=_0x42e038[_0x5a3000(0x3a8)],_0x4a2d7c=this[_0x5a3000(0x1c0)],_0x5d9d76=_0x4a2d7c*0x4,_0x4f8c77=_0x415976/_0x5d9d76;_0x3e6998?_0x4f8c77=_0x5c8df6['ceil'](_0x4f8c77):_0x4f8c77=_0x5c8df6[_0x5a3000(0x150)]((_0x4f8c77|0x0)-this['_minBufferSize'],0x0);var _0x2430f4=_0x4f8c77*_0x4a2d7c,_0xe19c75=_0x5c8df6[_0x5a3000(0x13c)](_0x2430f4*0x4,_0x415976);if(_0x2430f4){for(var _0x33d6d7=0x0;_0x33d6d7<_0x2430f4;_0x33d6d7+=_0x4a2d7c)this[_0x5a3000(0x231)](_0x7a14b5,_0x33d6d7);_0x3c4a3c=_0x7a14b5[_0x5a3000(0x1f8)](0x0,_0x2430f4),_0x42e038[_0x5a3000(0x3a8)]-=_0xe19c75;}return new _0x20ddce['init'](_0x3c4a3c,_0xe19c75);},'clone':function(){var _0x5c32bc=_0x18cd4c,_0x51eb13=_0x20ec0e[_0x5c32bc(0x1ce)][_0x5c32bc(0x208)](this);return _0x51eb13['_data']=this[_0x5c32bc(0x407)][_0x5c32bc(0x1ce)](),_0x51eb13;},'_minBufferSize':0x0});_0x3c41bd[_0x18cd4c(0x38d)]=_0x2fbc40[_0x18cd4c(0x18a)]({'cfg':_0x20ec0e[_0x18cd4c(0x18a)](),'init':function(_0x235e61){var _0x22c3a0=_0x18cd4c;this[_0x22c3a0(0x318)]=this[_0x22c3a0(0x318)]['extend'](_0x235e61),this[_0x22c3a0(0x350)]();},'reset':function(){var _0x381d22=_0x18cd4c;_0x2fbc40[_0x381d22(0x350)][_0x381d22(0x208)](this),this['_doReset']();},'update':function(_0x3e63c2){var _0x16a5b8=_0x18cd4c;return this[_0x16a5b8(0x3c6)](_0x3e63c2),this[_0x16a5b8(0x312)](),this;},'finalize':function(_0x1d7365){var _0xc3b53c=_0x18cd4c;_0x1d7365&&this[_0xc3b53c(0x3c6)](_0x1d7365);var _0x40e298=this[_0xc3b53c(0x491)]();return _0x40e298;},'blockSize':0x10,'_createHelper':function(_0x562074){return function(_0x583783,_0x3ddb3b){var _0xd793dc=_0x3662;return new _0x562074[(_0xd793dc(0x161))](_0x3ddb3b)[_0xd793dc(0x233)](_0x583783);};},'_createHmacHelper':function(_0x50c18c){return function(_0x396c3c,_0x45daf4){var _0x1746d7=_0x3662;return new _0x5a7fa6['HMAC'][(_0x1746d7(0x161))](_0x50c18c,_0x45daf4)[_0x1746d7(0x233)](_0x396c3c);};}});var _0x5a7fa6=_0x5eebd2[_0x18cd4c(0x248)]={};return _0x5eebd2;}(Math);return _0x1a09e9;}));}(_0x5a262a)),_0x5a262a[_0x23dd5b(0x2f0)];}var _0xace712={'exports':{}},_0xa6b832=_0xace712[_0x56fe62(0x2f0)],_0x1ac35a;function _0x18e8c5(){var _0x56c028=_0x56fe62;return _0x1ac35a||(_0x1ac35a=0x1,function(_0x4f67ec,_0x3af83f){(function(_0x4467ed,_0x15504e){_0x4f67ec['exports']=_0x15504e(_0x3a4bbd());}(_0xa6b832,function(_0x819209){var _0x3daff0=_0x3662;return(function(){var _0x2beda5=_0x3662,_0x5cf8a1=_0x819209,_0x46b50d=_0x5cf8a1[_0x2beda5(0x235)],_0x515e69=_0x46b50d['WordArray'],_0x2562dd=_0x5cf8a1[_0x2beda5(0x158)];_0x2562dd[_0x2beda5(0x30d)]={'stringify':function(_0x2752aa){var _0x2b66f8=_0x2beda5,_0x2004a8=_0x2752aa['words'],_0x1eb4df=_0x2752aa[_0x2b66f8(0x3a8)],_0x5530f2=this['_map'];_0x2752aa['clamp']();for(var _0x58f45c=[],_0x145148=0x0;_0x145148<_0x1eb4df;_0x145148+=0x3)for(var _0xe0df6d=_0x2004a8[_0x145148>>>0x2]>>>0x18-_0x145148%0x4*0x8&0xff,_0x598043=_0x2004a8[_0x145148+0x1>>>0x2]>>>0x18-(_0x145148+0x1)%0x4*0x8&0xff,_0x5e433e=_0x2004a8[_0x145148+0x2>>>0x2]>>>0x18-(_0x145148+0x2)%0x4*0x8&0xff,_0x2b0b26=_0xe0df6d<<0x10|_0x598043<<0x8|_0x5e433e,_0x17da62=0x0;_0x17da62<0x4&&_0x145148+_0x17da62*0.75<_0x1eb4df;_0x17da62++)_0x58f45c['push'](_0x5530f2[_0x2b66f8(0x2f4)](_0x2b0b26>>>0x6*(0x3-_0x17da62)&0x3f));var _0x599a78=_0x5530f2[_0x2b66f8(0x2f4)](0x40);if(_0x599a78){for(;_0x58f45c[_0x2b66f8(0x17a)]%0x4;)_0x58f45c[_0x2b66f8(0x372)](_0x599a78);}return _0x58f45c[_0x2b66f8(0x45c)]('');},'parse':function(_0x29c729){var _0xb61f77=_0x2beda5,_0x585894=_0x29c729[_0xb61f77(0x17a)],_0x3ea965=this[_0xb61f77(0x177)],_0x16f069=this['_reverseMap'];if(!_0x16f069){_0x16f069=this[_0xb61f77(0x449)]=[];for(var _0x30e149=0x0;_0x30e149<_0x3ea965[_0xb61f77(0x17a)];_0x30e149++)_0x16f069[_0x3ea965['charCodeAt'](_0x30e149)]=_0x30e149;}var _0xc10bd4=_0x3ea965[_0xb61f77(0x2f4)](0x40);if(_0xc10bd4){var _0x11a05d=_0x29c729[_0xb61f77(0x2c9)](_0xc10bd4);_0x11a05d!==-0x1&&(_0x585894=_0x11a05d);}return _0x32b999(_0x29c729,_0x585894,_0x16f069);},'_map':_0x2beda5(0x20a)};function _0x32b999(_0x117f53,_0x6a6726,_0x24446a){var _0x270cee=_0x2beda5;for(var _0x3265cc=[],_0x30f13b=0x0,_0x134a77=0x0;_0x134a77<_0x6a6726;_0x134a77++)if(_0x134a77%0x4){var _0xcfdbcd=_0x24446a[_0x117f53['charCodeAt'](_0x134a77-0x1)]<<_0x134a77%0x4*0x2,_0x7a186f=_0x24446a[_0x117f53[_0x270cee(0x2e2)](_0x134a77)]>>>0x6-_0x134a77%0x4*0x2,_0x159d60=_0xcfdbcd|_0x7a186f;_0x3265cc[_0x30f13b>>>0x2]|=_0x159d60<<0x18-_0x30f13b%0x4*0x8,_0x30f13b++;}return _0x515e69[_0x270cee(0x1ea)](_0x3265cc,_0x30f13b);}}()),_0x819209[_0x3daff0(0x158)][_0x3daff0(0x30d)];}));}(_0xace712)),_0xace712[_0x56c028(0x2f0)];}var _0x22abfd={'exports':{}},_0x54c78f=_0x22abfd[_0x56fe62(0x2f0)],_0x4e04a2;function _0xfa6a88(){var _0x4a040e=_0x56fe62;return _0x4e04a2||(_0x4e04a2=0x1,function(_0xdabd1d,_0x5480f8){(function(_0x5e37c8,_0x15c7d1){_0xdabd1d['exports']=_0x15c7d1(_0x3a4bbd());}(_0x54c78f,function(_0x1746a2){return function(_0x1afdfc){var _0xde101d=_0x3662,_0x2aeea9=_0x1746a2,_0x3cc216=_0x2aeea9[_0xde101d(0x235)],_0x932cef=_0x3cc216['WordArray'],_0x5dcc07=_0x3cc216[_0xde101d(0x38d)],_0x4941d3=_0x2aeea9[_0xde101d(0x248)],_0x4a221b=[];(function(){var _0x9f156b=_0xde101d;for(var _0x46ad66=0x0;_0x46ad66<0x40;_0x46ad66++)_0x4a221b[_0x46ad66]=_0x1afdfc[_0x9f156b(0x3f1)](_0x1afdfc['sin'](_0x46ad66+0x1))*0x100000000|0x0;}());var _0x4ba7d4=_0x4941d3[_0xde101d(0x16c)]=_0x5dcc07[_0xde101d(0x18a)]({'_doReset':function(){var _0x3d3ea4=_0xde101d;this[_0x3d3ea4(0x1fb)]=new _0x932cef[(_0x3d3ea4(0x161))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x58679b,_0xa2cb48){var _0x364860=_0xde101d;for(var _0x286ec3=0x0;_0x286ec3<0x10;_0x286ec3++){var _0x11dab7=_0xa2cb48+_0x286ec3,_0x27fb69=_0x58679b[_0x11dab7];_0x58679b[_0x11dab7]=(_0x27fb69<<0x8|_0x27fb69>>>0x18)&0xff00ff|(_0x27fb69<<0x18|_0x27fb69>>>0x8)&0xff00ff00;}var _0x564436=this['_hash'][_0x364860(0x40b)],_0x3340e1=_0x58679b[_0xa2cb48+0x0],_0x74ed6f=_0x58679b[_0xa2cb48+0x1],_0x29fce0=_0x58679b[_0xa2cb48+0x2],_0x1a2d58=_0x58679b[_0xa2cb48+0x3],_0x36dcf8=_0x58679b[_0xa2cb48+0x4],_0x26e9fc=_0x58679b[_0xa2cb48+0x5],_0x667baa=_0x58679b[_0xa2cb48+0x6],_0x48f379=_0x58679b[_0xa2cb48+0x7],_0x56ecaa=_0x58679b[_0xa2cb48+0x8],_0x5d8c27=_0x58679b[_0xa2cb48+0x9],_0xa240c8=_0x58679b[_0xa2cb48+0xa],_0x388e3b=_0x58679b[_0xa2cb48+0xb],_0x242fc1=_0x58679b[_0xa2cb48+0xc],_0x55a9c7=_0x58679b[_0xa2cb48+0xd],_0x1fde1a=_0x58679b[_0xa2cb48+0xe],_0x13a979=_0x58679b[_0xa2cb48+0xf],_0x2df9df=_0x564436[0x0],_0x4952ff=_0x564436[0x1],_0x534e15=_0x564436[0x2],_0x30539a=_0x564436[0x3];_0x2df9df=_0x189117(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x3340e1,0x7,_0x4a221b[0x0]),_0x30539a=_0x189117(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x74ed6f,0xc,_0x4a221b[0x1]),_0x534e15=_0x189117(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x29fce0,0x11,_0x4a221b[0x2]),_0x4952ff=_0x189117(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x1a2d58,0x16,_0x4a221b[0x3]),_0x2df9df=_0x189117(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x36dcf8,0x7,_0x4a221b[0x4]),_0x30539a=_0x189117(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x26e9fc,0xc,_0x4a221b[0x5]),_0x534e15=_0x189117(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x667baa,0x11,_0x4a221b[0x6]),_0x4952ff=_0x189117(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x48f379,0x16,_0x4a221b[0x7]),_0x2df9df=_0x189117(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x56ecaa,0x7,_0x4a221b[0x8]),_0x30539a=_0x189117(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x5d8c27,0xc,_0x4a221b[0x9]),_0x534e15=_0x189117(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0xa240c8,0x11,_0x4a221b[0xa]),_0x4952ff=_0x189117(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x388e3b,0x16,_0x4a221b[0xb]),_0x2df9df=_0x189117(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x242fc1,0x7,_0x4a221b[0xc]),_0x30539a=_0x189117(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x55a9c7,0xc,_0x4a221b[0xd]),_0x534e15=_0x189117(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x1fde1a,0x11,_0x4a221b[0xe]),_0x4952ff=_0x189117(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x13a979,0x16,_0x4a221b[0xf]),_0x2df9df=_0x59afe9(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x74ed6f,0x5,_0x4a221b[0x10]),_0x30539a=_0x59afe9(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x667baa,0x9,_0x4a221b[0x11]),_0x534e15=_0x59afe9(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x388e3b,0xe,_0x4a221b[0x12]),_0x4952ff=_0x59afe9(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x3340e1,0x14,_0x4a221b[0x13]),_0x2df9df=_0x59afe9(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x26e9fc,0x5,_0x4a221b[0x14]),_0x30539a=_0x59afe9(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0xa240c8,0x9,_0x4a221b[0x15]),_0x534e15=_0x59afe9(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x13a979,0xe,_0x4a221b[0x16]),_0x4952ff=_0x59afe9(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x36dcf8,0x14,_0x4a221b[0x17]),_0x2df9df=_0x59afe9(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x5d8c27,0x5,_0x4a221b[0x18]),_0x30539a=_0x59afe9(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x1fde1a,0x9,_0x4a221b[0x19]),_0x534e15=_0x59afe9(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x1a2d58,0xe,_0x4a221b[0x1a]),_0x4952ff=_0x59afe9(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x56ecaa,0x14,_0x4a221b[0x1b]),_0x2df9df=_0x59afe9(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x55a9c7,0x5,_0x4a221b[0x1c]),_0x30539a=_0x59afe9(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x29fce0,0x9,_0x4a221b[0x1d]),_0x534e15=_0x59afe9(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x48f379,0xe,_0x4a221b[0x1e]),_0x4952ff=_0x59afe9(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x242fc1,0x14,_0x4a221b[0x1f]),_0x2df9df=_0x283e1e(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x26e9fc,0x4,_0x4a221b[0x20]),_0x30539a=_0x283e1e(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x56ecaa,0xb,_0x4a221b[0x21]),_0x534e15=_0x283e1e(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x388e3b,0x10,_0x4a221b[0x22]),_0x4952ff=_0x283e1e(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x1fde1a,0x17,_0x4a221b[0x23]),_0x2df9df=_0x283e1e(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x74ed6f,0x4,_0x4a221b[0x24]),_0x30539a=_0x283e1e(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x36dcf8,0xb,_0x4a221b[0x25]),_0x534e15=_0x283e1e(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x48f379,0x10,_0x4a221b[0x26]),_0x4952ff=_0x283e1e(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0xa240c8,0x17,_0x4a221b[0x27]),_0x2df9df=_0x283e1e(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x55a9c7,0x4,_0x4a221b[0x28]),_0x30539a=_0x283e1e(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x3340e1,0xb,_0x4a221b[0x29]),_0x534e15=_0x283e1e(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x1a2d58,0x10,_0x4a221b[0x2a]),_0x4952ff=_0x283e1e(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x667baa,0x17,_0x4a221b[0x2b]),_0x2df9df=_0x283e1e(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x5d8c27,0x4,_0x4a221b[0x2c]),_0x30539a=_0x283e1e(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x242fc1,0xb,_0x4a221b[0x2d]),_0x534e15=_0x283e1e(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x13a979,0x10,_0x4a221b[0x2e]),_0x4952ff=_0x283e1e(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x29fce0,0x17,_0x4a221b[0x2f]),_0x2df9df=_0x30ee6f(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x3340e1,0x6,_0x4a221b[0x30]),_0x30539a=_0x30ee6f(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x48f379,0xa,_0x4a221b[0x31]),_0x534e15=_0x30ee6f(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x1fde1a,0xf,_0x4a221b[0x32]),_0x4952ff=_0x30ee6f(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x26e9fc,0x15,_0x4a221b[0x33]),_0x2df9df=_0x30ee6f(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x242fc1,0x6,_0x4a221b[0x34]),_0x30539a=_0x30ee6f(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x1a2d58,0xa,_0x4a221b[0x35]),_0x534e15=_0x30ee6f(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0xa240c8,0xf,_0x4a221b[0x36]),_0x4952ff=_0x30ee6f(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x74ed6f,0x15,_0x4a221b[0x37]),_0x2df9df=_0x30ee6f(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x56ecaa,0x6,_0x4a221b[0x38]),_0x30539a=_0x30ee6f(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x13a979,0xa,_0x4a221b[0x39]),_0x534e15=_0x30ee6f(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x667baa,0xf,_0x4a221b[0x3a]),_0x4952ff=_0x30ee6f(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x55a9c7,0x15,_0x4a221b[0x3b]),_0x2df9df=_0x30ee6f(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x36dcf8,0x6,_0x4a221b[0x3c]),_0x30539a=_0x30ee6f(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x388e3b,0xa,_0x4a221b[0x3d]),_0x534e15=_0x30ee6f(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x29fce0,0xf,_0x4a221b[0x3e]),_0x4952ff=_0x30ee6f(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x5d8c27,0x15,_0x4a221b[0x3f]),_0x564436[0x0]=_0x564436[0x0]+_0x2df9df|0x0,_0x564436[0x1]=_0x564436[0x1]+_0x4952ff|0x0,_0x564436[0x2]=_0x564436[0x2]+_0x534e15|0x0,_0x564436[0x3]=_0x564436[0x3]+_0x30539a|0x0;},'_doFinalize':function(){var _0xe98d=_0xde101d,_0x446e37=this[_0xe98d(0x407)],_0xd5e101=_0x446e37[_0xe98d(0x40b)],_0x2197bc=this['_nDataBytes']*0x8,_0x2fa36b=_0x446e37[_0xe98d(0x3a8)]*0x8;_0xd5e101[_0x2fa36b>>>0x5]|=0x80<<0x18-_0x2fa36b%0x20;var _0x3ef84a=_0x1afdfc['floor'](_0x2197bc/0x100000000),_0x29ec3c=_0x2197bc;_0xd5e101[(_0x2fa36b+0x40>>>0x9<<0x4)+0xf]=(_0x3ef84a<<0x8|_0x3ef84a>>>0x18)&0xff00ff|(_0x3ef84a<<0x18|_0x3ef84a>>>0x8)&0xff00ff00,_0xd5e101[(_0x2fa36b+0x40>>>0x9<<0x4)+0xe]=(_0x29ec3c<<0x8|_0x29ec3c>>>0x18)&0xff00ff|(_0x29ec3c<<0x18|_0x29ec3c>>>0x8)&0xff00ff00,_0x446e37[_0xe98d(0x3a8)]=(_0xd5e101[_0xe98d(0x17a)]+0x1)*0x4,this[_0xe98d(0x312)]();for(var _0x42eee8=this[_0xe98d(0x1fb)],_0x40c738=_0x42eee8[_0xe98d(0x40b)],_0x4e1b9d=0x0;_0x4e1b9d<0x4;_0x4e1b9d++){var _0x46025c=_0x40c738[_0x4e1b9d];_0x40c738[_0x4e1b9d]=(_0x46025c<<0x8|_0x46025c>>>0x18)&0xff00ff|(_0x46025c<<0x18|_0x46025c>>>0x8)&0xff00ff00;}return _0x42eee8;},'clone':function(){var _0x3ee5ca=_0xde101d,_0x5b8914=_0x5dcc07[_0x3ee5ca(0x1ce)][_0x3ee5ca(0x208)](this);return _0x5b8914[_0x3ee5ca(0x1fb)]=this[_0x3ee5ca(0x1fb)][_0x3ee5ca(0x1ce)](),_0x5b8914;}});function _0x189117(_0x4f706a,_0x5e0aa8,_0x14f379,_0x594eee,_0x25bf31,_0x109d95,_0x14ed84){var _0x2c53ba=_0x4f706a+(_0x5e0aa8&_0x14f379|~_0x5e0aa8&_0x594eee)+_0x25bf31+_0x14ed84;return(_0x2c53ba<<_0x109d95|_0x2c53ba>>>0x20-_0x109d95)+_0x5e0aa8;}function _0x59afe9(_0x482004,_0x3f1c9d,_0x4635a9,_0x5006c0,_0x65975e,_0x5d9946,_0xa31117){var _0x1f797c=_0x482004+(_0x3f1c9d&_0x5006c0|_0x4635a9&~_0x5006c0)+_0x65975e+_0xa31117;return(_0x1f797c<<_0x5d9946|_0x1f797c>>>0x20-_0x5d9946)+_0x3f1c9d;}function _0x283e1e(_0x96e85e,_0xf5ab95,_0x36cf63,_0x559411,_0x4bac2a,_0x32b92d,_0x14e519){var _0x4bc6aa=_0x96e85e+(_0xf5ab95^_0x36cf63^_0x559411)+_0x4bac2a+_0x14e519;return(_0x4bc6aa<<_0x32b92d|_0x4bc6aa>>>0x20-_0x32b92d)+_0xf5ab95;}function _0x30ee6f(_0x1cf158,_0xddf272,_0x14938a,_0x21cd87,_0x504ba5,_0x59d43d,_0x5156fe){var _0x2acf72=_0x1cf158+(_0x14938a^(_0xddf272|~_0x21cd87))+_0x504ba5+_0x5156fe;return(_0x2acf72<<_0x59d43d|_0x2acf72>>>0x20-_0x59d43d)+_0xddf272;}_0x2aeea9[_0xde101d(0x16c)]=_0x5dcc07[_0xde101d(0x48c)](_0x4ba7d4),_0x2aeea9['HmacMD5']=_0x5dcc07[_0xde101d(0x124)](_0x4ba7d4);}(Math),_0x1746a2['MD5'];}));}(_0x22abfd)),_0x22abfd[_0x4a040e(0x2f0)];}var _0x148e47={'exports':{}},_0x5a7dff={'exports':{}},_0x4548df=_0x5a7dff[_0x56fe62(0x2f0)],_0x5c9589;function _0x25e551(){var _0x40f5e5=_0x56fe62;return _0x5c9589||(_0x5c9589=0x1,function(_0x48cec8,_0x3c636b){(function(_0xab69ed,_0x2de4ce){var _0x5dc5a3=_0x3662;_0x48cec8[_0x5dc5a3(0x2f0)]=_0x2de4ce(_0x3a4bbd());}(_0x4548df,function(_0x2cc46a){return(function(){var _0x53b1ea=_0x3662,_0x2c067e=_0x2cc46a,_0x41f036=_0x2c067e[_0x53b1ea(0x235)],_0x5c016e=_0x41f036[_0x53b1ea(0x120)],_0x12cbe0=_0x41f036[_0x53b1ea(0x38d)],_0x3fda38=_0x2c067e[_0x53b1ea(0x248)],_0x4a438b=[],_0x15c9b6=_0x3fda38[_0x53b1ea(0x157)]=_0x12cbe0[_0x53b1ea(0x18a)]({'_doReset':function(){var _0x27049a=_0x53b1ea;this[_0x27049a(0x1fb)]=new _0x5c016e[(_0x27049a(0x161))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x20f302,_0x1f53aa){var _0x16927a=_0x53b1ea;for(var _0x5ea47b=this['_hash'][_0x16927a(0x40b)],_0x411b85=_0x5ea47b[0x0],_0x5f5cbe=_0x5ea47b[0x1],_0x550fd4=_0x5ea47b[0x2],_0xdd7d35=_0x5ea47b[0x3],_0xd6ab13=_0x5ea47b[0x4],_0x1f73a8=0x0;_0x1f73a8<0x50;_0x1f73a8++){if(_0x1f73a8<0x10)_0x4a438b[_0x1f73a8]=_0x20f302[_0x1f53aa+_0x1f73a8]|0x0;else{var _0x27ad04=_0x4a438b[_0x1f73a8-0x3]^_0x4a438b[_0x1f73a8-0x8]^_0x4a438b[_0x1f73a8-0xe]^_0x4a438b[_0x1f73a8-0x10];_0x4a438b[_0x1f73a8]=_0x27ad04<<0x1|_0x27ad04>>>0x1f;}var _0x1ec0de=(_0x411b85<<0x5|_0x411b85>>>0x1b)+_0xd6ab13+_0x4a438b[_0x1f73a8];_0x1f73a8<0x14?_0x1ec0de+=(_0x5f5cbe&_0x550fd4|~_0x5f5cbe&_0xdd7d35)+0x5a827999:_0x1f73a8<0x28?_0x1ec0de+=(_0x5f5cbe^_0x550fd4^_0xdd7d35)+0x6ed9eba1:_0x1f73a8<0x3c?_0x1ec0de+=(_0x5f5cbe&_0x550fd4|_0x5f5cbe&_0xdd7d35|_0x550fd4&_0xdd7d35)-0x70e44324:_0x1ec0de+=(_0x5f5cbe^_0x550fd4^_0xdd7d35)-0x359d3e2a,_0xd6ab13=_0xdd7d35,_0xdd7d35=_0x550fd4,_0x550fd4=_0x5f5cbe<<0x1e|_0x5f5cbe>>>0x2,_0x5f5cbe=_0x411b85,_0x411b85=_0x1ec0de;}_0x5ea47b[0x0]=_0x5ea47b[0x0]+_0x411b85|0x0,_0x5ea47b[0x1]=_0x5ea47b[0x1]+_0x5f5cbe|0x0,_0x5ea47b[0x2]=_0x5ea47b[0x2]+_0x550fd4|0x0,_0x5ea47b[0x3]=_0x5ea47b[0x3]+_0xdd7d35|0x0,_0x5ea47b[0x4]=_0x5ea47b[0x4]+_0xd6ab13|0x0;},'_doFinalize':function(){var _0xedffb3=_0x53b1ea,_0x4b7774=this[_0xedffb3(0x407)],_0x4c2484=_0x4b7774[_0xedffb3(0x40b)],_0x4ed28f=this[_0xedffb3(0x1f3)]*0x8,_0x2d66db=_0x4b7774[_0xedffb3(0x3a8)]*0x8;return _0x4c2484[_0x2d66db>>>0x5]|=0x80<<0x18-_0x2d66db%0x20,_0x4c2484[(_0x2d66db+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x4ed28f/0x100000000),_0x4c2484[(_0x2d66db+0x40>>>0x9<<0x4)+0xf]=_0x4ed28f,_0x4b7774['sigBytes']=_0x4c2484['length']*0x4,this['_process'](),this[_0xedffb3(0x1fb)];},'clone':function(){var _0x5a51a6=_0x53b1ea,_0x271fb3=_0x12cbe0[_0x5a51a6(0x1ce)][_0x5a51a6(0x208)](this);return _0x271fb3[_0x5a51a6(0x1fb)]=this[_0x5a51a6(0x1fb)]['clone'](),_0x271fb3;}});_0x2c067e[_0x53b1ea(0x157)]=_0x12cbe0[_0x53b1ea(0x48c)](_0x15c9b6),_0x2c067e[_0x53b1ea(0x3f4)]=_0x12cbe0['_createHmacHelper'](_0x15c9b6);}()),_0x2cc46a['SHA1'];}));}(_0x5a7dff)),_0x5a7dff[_0x40f5e5(0x2f0)];}var _0x4a99fd={'exports':{}},_0x37bedf=_0x4a99fd[_0x56fe62(0x2f0)],_0x3467df;function _0xbc9c28(){var _0x11ab58=_0x56fe62;return _0x3467df||(_0x3467df=0x1,function(_0x16989b,_0x16479d){(function(_0x41d45f,_0x339925){var _0x291a68=_0x3662;_0x16989b[_0x291a68(0x2f0)]=_0x339925(_0x3a4bbd());}(_0x37bedf,function(_0x2ad5ef){(function(){var _0x381f15=_0x3662,_0x275e83=_0x2ad5ef,_0x15d6ef=_0x275e83['lib'],_0x11de6e=_0x15d6ef[_0x381f15(0x3c7)],_0x343f93=_0x275e83['enc'],_0x2d139b=_0x343f93[_0x381f15(0x17e)],_0x54a7a4=_0x275e83[_0x381f15(0x248)];_0x54a7a4['HMAC']=_0x11de6e[_0x381f15(0x18a)]({'init':function(_0x29e6e4,_0x40721c){var _0x4766dc=_0x381f15;_0x29e6e4=this[_0x4766dc(0x3cd)]=new _0x29e6e4['init'](),typeof _0x40721c=='string'&&(_0x40721c=_0x2d139b[_0x4766dc(0x2fc)](_0x40721c));var _0x17bc79=_0x29e6e4[_0x4766dc(0x1c0)],_0x519d33=_0x17bc79*0x4;_0x40721c[_0x4766dc(0x3a8)]>_0x519d33&&(_0x40721c=_0x29e6e4[_0x4766dc(0x233)](_0x40721c)),_0x40721c[_0x4766dc(0x3ea)]();for(var _0xc4c9a0=this['_oKey']=_0x40721c[_0x4766dc(0x1ce)](),_0x174579=this[_0x4766dc(0x467)]=_0x40721c[_0x4766dc(0x1ce)](),_0x4d3966=_0xc4c9a0['words'],_0x5a1e6e=_0x174579[_0x4766dc(0x40b)],_0xf7c891=0x0;_0xf7c891<_0x17bc79;_0xf7c891++)_0x4d3966[_0xf7c891]^=0x5c5c5c5c,_0x5a1e6e[_0xf7c891]^=0x36363636;_0xc4c9a0[_0x4766dc(0x3a8)]=_0x174579[_0x4766dc(0x3a8)]=_0x519d33,this['reset']();},'reset':function(){var _0x8bb385=_0x381f15,_0x48420a=this['_hasher'];_0x48420a['reset'](),_0x48420a[_0x8bb385(0x207)](this[_0x8bb385(0x467)]);},'update':function(_0x117c51){var _0x3ca48f=_0x381f15;return this['_hasher'][_0x3ca48f(0x207)](_0x117c51),this;},'finalize':function(_0x211245){var _0xdfa65=_0x381f15,_0x235c8e=this[_0xdfa65(0x3cd)],_0x57ed87=_0x235c8e[_0xdfa65(0x233)](_0x211245);_0x235c8e[_0xdfa65(0x350)]();var _0x9a611c=_0x235c8e['finalize'](this[_0xdfa65(0x1f9)]['clone']()['concat'](_0x57ed87));return _0x9a611c;}});}());}));}(_0x4a99fd)),_0x4a99fd[_0x11ab58(0x2f0)];}var _0x360544=_0x148e47[_0x56fe62(0x2f0)],_0x14fa66;function _0x46846c(){return _0x14fa66||(_0x14fa66=0x1,function(_0x3f0397,_0x50b5b2){(function(_0x2e0c6c,_0x3d116d,_0x452d71){_0x3f0397['exports']=_0x3d116d(_0x3a4bbd(),_0x25e551(),_0xbc9c28());}(_0x360544,function(_0x324260){var _0x592bce=_0x3662;return(function(){var _0x1951eb=_0x3662,_0x389bb3=_0x324260,_0x34a2fe=_0x389bb3['lib'],_0x1b05ec=_0x34a2fe[_0x1951eb(0x3c7)],_0x54cfb4=_0x34a2fe[_0x1951eb(0x120)],_0x22133f=_0x389bb3[_0x1951eb(0x248)],_0x3e90bc=_0x22133f['MD5'],_0x573e8e=_0x22133f[_0x1951eb(0x4ad)]=_0x1b05ec[_0x1951eb(0x18a)]({'cfg':_0x1b05ec[_0x1951eb(0x18a)]({'keySize':0x80/0x20,'hasher':_0x3e90bc,'iterations':0x1}),'init':function(_0x49b0b3){var _0x32332c=_0x1951eb;this[_0x32332c(0x318)]=this['cfg'][_0x32332c(0x18a)](_0x49b0b3);},'compute':function(_0x42ae9a,_0x1e8bc8){var _0x2997f2=_0x1951eb;for(var _0x110ed4,_0x56923c=this[_0x2997f2(0x318)],_0x381d6c=_0x56923c['hasher']['create'](),_0x4af2b1=_0x54cfb4['create'](),_0x313cc2=_0x4af2b1[_0x2997f2(0x40b)],_0x3b2535=_0x56923c[_0x2997f2(0x169)],_0x57755a=_0x56923c['iterations'];_0x313cc2[_0x2997f2(0x17a)]<_0x3b2535;){_0x110ed4&&_0x381d6c[_0x2997f2(0x207)](_0x110ed4),_0x110ed4=_0x381d6c[_0x2997f2(0x207)](_0x42ae9a)['finalize'](_0x1e8bc8),_0x381d6c[_0x2997f2(0x350)]();for(var _0x2c3155=0x1;_0x2c3155<_0x57755a;_0x2c3155++)_0x110ed4=_0x381d6c[_0x2997f2(0x233)](_0x110ed4),_0x381d6c[_0x2997f2(0x350)]();_0x4af2b1[_0x2997f2(0x420)](_0x110ed4);}return _0x4af2b1[_0x2997f2(0x3a8)]=_0x3b2535*0x4,_0x4af2b1;}});_0x389bb3[_0x1951eb(0x4ad)]=function(_0x5aed3d,_0x1a515b,_0x4fc1a7){var _0x4fea77=_0x1951eb;return _0x573e8e[_0x4fea77(0x1ea)](_0x4fc1a7)[_0x4fea77(0x220)](_0x5aed3d,_0x1a515b);};}()),_0x324260[_0x592bce(0x4ad)];}));}(_0x148e47)),_0x148e47['exports'];}var _0x5c85f4={'exports':{}},_0x185735=_0x5c85f4['exports'],_0xf56260;function _0x108d55(){var _0x285b10=_0x56fe62;return _0xf56260||(_0xf56260=0x1,function(_0x20aac6,_0x6aa359){(function(_0x15b8a5,_0x13d460,_0x284521){var _0x39b428=_0x3662;_0x20aac6[_0x39b428(0x2f0)]=_0x13d460(_0x3a4bbd(),_0x46846c());}(_0x185735,function(_0x5b6970){var _0x56a629=_0x3662;_0x5b6970['lib'][_0x56a629(0x4a2)]||function(_0x2fd7db){var _0x151e66=_0x56a629,_0x27ebe3=_0x5b6970,_0x19cc81=_0x27ebe3[_0x151e66(0x235)],_0x11dfe6=_0x19cc81[_0x151e66(0x3c7)],_0x4f667c=_0x19cc81[_0x151e66(0x120)],_0x6d3b3d=_0x19cc81[_0x151e66(0x39d)],_0x32f04e=_0x27ebe3[_0x151e66(0x158)];_0x32f04e[_0x151e66(0x17e)];var _0x459c63=_0x32f04e['Base64'],_0x4d9481=_0x27ebe3[_0x151e66(0x248)],_0x2b4786=_0x4d9481[_0x151e66(0x4ad)],_0x6ab47e=_0x19cc81[_0x151e66(0x4a2)]=_0x6d3b3d[_0x151e66(0x18a)]({'cfg':_0x11dfe6[_0x151e66(0x18a)](),'createEncryptor':function(_0x1612c7,_0x12b380){var _0x25b5c9=_0x151e66;return this[_0x25b5c9(0x1ea)](this['_ENC_XFORM_MODE'],_0x1612c7,_0x12b380);},'createDecryptor':function(_0x42352e,_0x3b66d7){var _0xfe1c6=_0x151e66;return this[_0xfe1c6(0x1ea)](this['_DEC_XFORM_MODE'],_0x42352e,_0x3b66d7);},'init':function(_0x41d25d,_0x481668,_0x45fbfb){var _0x3c8b18=_0x151e66;this[_0x3c8b18(0x318)]=this[_0x3c8b18(0x318)][_0x3c8b18(0x18a)](_0x45fbfb),this[_0x3c8b18(0x34a)]=_0x41d25d,this['_key']=_0x481668,this[_0x3c8b18(0x350)]();},'reset':function(){var _0x11d351=_0x151e66;_0x6d3b3d[_0x11d351(0x350)][_0x11d351(0x208)](this),this[_0x11d351(0x2df)]();},'process':function(_0x18d6d5){var _0x1b06c3=_0x151e66;return this[_0x1b06c3(0x3c6)](_0x18d6d5),this['_process']();},'finalize':function(_0x15918f){var _0x3a6777=_0x151e66;_0x15918f&&this[_0x3a6777(0x3c6)](_0x15918f);var _0x255b58=this[_0x3a6777(0x491)]();return _0x255b58;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3f08f5(_0x1c8c9c){var _0x2ed500=_0x3662;return typeof _0x1c8c9c==_0x2ed500(0x1fe)?_0x138693:_0x5749c0;}return function(_0x4f6551){return{'encrypt':function(_0xa1b7d7,_0x4b0bd5,_0x2aab16){var _0x5c6da0=_0x3662;return _0x3f08f5(_0x4b0bd5)[_0x5c6da0(0x2cc)](_0x4f6551,_0xa1b7d7,_0x4b0bd5,_0x2aab16);},'decrypt':function(_0xdca139,_0x4fa91e,_0x3ef6fb){var _0x1874c8=_0x3662;return _0x3f08f5(_0x4fa91e)[_0x1874c8(0x295)](_0x4f6551,_0xdca139,_0x4fa91e,_0x3ef6fb);}};};}())});_0x19cc81[_0x151e66(0x230)]=_0x6ab47e[_0x151e66(0x18a)]({'_doFinalize':function(){var _0x145f6f=_0x151e66,_0x565a0c=this[_0x145f6f(0x312)](!0x0);return _0x565a0c;},'blockSize':0x1});var _0x3766f8=_0x27ebe3[_0x151e66(0x244)]={},_0x152bc0=_0x19cc81[_0x151e66(0x478)]=_0x11dfe6[_0x151e66(0x18a)]({'createEncryptor':function(_0x5cd510,_0x50ecff){var _0x16e50e=_0x151e66;return this[_0x16e50e(0x14a)][_0x16e50e(0x1ea)](_0x5cd510,_0x50ecff);},'createDecryptor':function(_0x1f69e9,_0x9e0c1b){var _0xf1a111=_0x151e66;return this['Decryptor'][_0xf1a111(0x1ea)](_0x1f69e9,_0x9e0c1b);},'init':function(_0x16881f,_0x19d461){var _0x5cfa77=_0x151e66;this['_cipher']=_0x16881f,this[_0x5cfa77(0x3a6)]=_0x19d461;}}),_0x44a1d7=_0x3766f8[_0x151e66(0x349)]=(function(){var _0x39ecfd=_0x151e66,_0x8e5b5a=_0x152bc0[_0x39ecfd(0x18a)]();_0x8e5b5a[_0x39ecfd(0x14a)]=_0x8e5b5a['extend']({'processBlock':function(_0x30ea42,_0x57f055){var _0x1d828c=_0x39ecfd,_0x16496d=this[_0x1d828c(0x450)],_0x2702f5=_0x16496d['blockSize'];_0x265d76[_0x1d828c(0x208)](this,_0x30ea42,_0x57f055,_0x2702f5),_0x16496d[_0x1d828c(0x18c)](_0x30ea42,_0x57f055),this[_0x1d828c(0x43e)]=_0x30ea42[_0x1d828c(0x168)](_0x57f055,_0x57f055+_0x2702f5);}}),_0x8e5b5a[_0x39ecfd(0x268)]=_0x8e5b5a[_0x39ecfd(0x18a)]({'processBlock':function(_0x3d1718,_0x539ba8){var _0x17fc82=_0x39ecfd,_0x20f92d=this[_0x17fc82(0x450)],_0x47dfc6=_0x20f92d['blockSize'],_0x25bab8=_0x3d1718[_0x17fc82(0x168)](_0x539ba8,_0x539ba8+_0x47dfc6);_0x20f92d[_0x17fc82(0x2d7)](_0x3d1718,_0x539ba8),_0x265d76[_0x17fc82(0x208)](this,_0x3d1718,_0x539ba8,_0x47dfc6),this['_prevBlock']=_0x25bab8;}});function _0x265d76(_0x5a96e2,_0x3703cf,_0xebb6f6){var _0x201c90=_0x39ecfd,_0x3cec97,_0x1745b5=this['_iv'];_0x1745b5?(_0x3cec97=_0x1745b5,this[_0x201c90(0x3a6)]=_0x2fd7db):_0x3cec97=this[_0x201c90(0x43e)];for(var _0x178c46=0x0;_0x178c46<_0xebb6f6;_0x178c46++)_0x5a96e2[_0x3703cf+_0x178c46]^=_0x3cec97[_0x178c46];}return _0x8e5b5a;}()),_0x1d9d95=_0x27ebe3['pad']={},_0x19bb27=_0x1d9d95[_0x151e66(0x393)]={'pad':function(_0xf2b2f6,_0x1575a1){var _0x8d9272=_0x151e66;for(var _0x563236=_0x1575a1*0x4,_0x26d1fa=_0x563236-_0xf2b2f6[_0x8d9272(0x3a8)]%_0x563236,_0x693afa=_0x26d1fa<<0x18|_0x26d1fa<<0x10|_0x26d1fa<<0x8|_0x26d1fa,_0x5e0808=[],_0x39060c=0x0;_0x39060c<_0x26d1fa;_0x39060c+=0x4)_0x5e0808[_0x8d9272(0x372)](_0x693afa);var _0x3ddf36=_0x4f667c['create'](_0x5e0808,_0x26d1fa);_0xf2b2f6[_0x8d9272(0x420)](_0x3ddf36);},'unpad':function(_0x473cf7){var _0x405dc9=_0x151e66,_0x2789d9=_0x473cf7[_0x405dc9(0x40b)][_0x473cf7['sigBytes']-0x1>>>0x2]&0xff;_0x473cf7['sigBytes']-=_0x2789d9;}};_0x19cc81['BlockCipher']=_0x6ab47e[_0x151e66(0x18a)]({'cfg':_0x6ab47e[_0x151e66(0x318)][_0x151e66(0x18a)]({'mode':_0x44a1d7,'padding':_0x19bb27}),'reset':function(){var _0x24f6a5=_0x151e66,_0x49d382;_0x6ab47e[_0x24f6a5(0x350)][_0x24f6a5(0x208)](this);var _0x1e31e2=this['cfg'],_0xb4afc0=_0x1e31e2['iv'],_0x17ea64=_0x1e31e2[_0x24f6a5(0x244)];this[_0x24f6a5(0x34a)]==this[_0x24f6a5(0x249)]?_0x49d382=_0x17ea64[_0x24f6a5(0x368)]:(_0x49d382=_0x17ea64[_0x24f6a5(0x1ef)],this[_0x24f6a5(0x262)]=0x1),this['_mode']&&this[_0x24f6a5(0x45b)][_0x24f6a5(0x3c1)]==_0x49d382?this['_mode'][_0x24f6a5(0x161)](this,_0xb4afc0&&_0xb4afc0[_0x24f6a5(0x40b)]):(this[_0x24f6a5(0x45b)]=_0x49d382[_0x24f6a5(0x208)](_0x17ea64,this,_0xb4afc0&&_0xb4afc0[_0x24f6a5(0x40b)]),this[_0x24f6a5(0x45b)][_0x24f6a5(0x3c1)]=_0x49d382);},'_doProcessBlock':function(_0x236903,_0x1e982e){var _0xf415bb=_0x151e66;this[_0xf415bb(0x45b)][_0xf415bb(0x175)](_0x236903,_0x1e982e);},'_doFinalize':function(){var _0x128527=_0x151e66,_0x2a06d5,_0x413968=this[_0x128527(0x318)][_0x128527(0x234)];return this[_0x128527(0x34a)]==this[_0x128527(0x249)]?(_0x413968[_0x128527(0x2b7)](this[_0x128527(0x407)],this[_0x128527(0x1c0)]),_0x2a06d5=this[_0x128527(0x312)](!0x0)):(_0x2a06d5=this[_0x128527(0x312)](!0x0),_0x413968[_0x128527(0x3b0)](_0x2a06d5)),_0x2a06d5;},'blockSize':0x80/0x20});var _0x1da196=_0x19cc81[_0x151e66(0x3aa)]=_0x11dfe6[_0x151e66(0x18a)]({'init':function(_0x5547a3){var _0x332d49=_0x151e66;this[_0x332d49(0x1e9)](_0x5547a3);},'toString':function(_0xfaee93){var _0x355e4b=_0x151e66;return(_0xfaee93||this[_0x355e4b(0x22e)])[_0x355e4b(0x123)](this);}}),_0x4d5b9e=_0x27ebe3[_0x151e66(0x210)]={},_0x2aee2f=_0x4d5b9e[_0x151e66(0x254)]={'stringify':function(_0x30779a){var _0x446af6=_0x151e66,_0x1e20de,_0x246f07=_0x30779a[_0x446af6(0x29f)],_0x10a122=_0x30779a[_0x446af6(0x274)];return _0x10a122?_0x1e20de=_0x4f667c['create']([0x53616c74,0x65645f5f])[_0x446af6(0x420)](_0x10a122)[_0x446af6(0x420)](_0x246f07):_0x1e20de=_0x246f07,_0x1e20de['toString'](_0x459c63);},'parse':function(_0x5ca866){var _0x58a41a=_0x151e66,_0x201e58,_0x4c2884=_0x459c63['parse'](_0x5ca866),_0x594699=_0x4c2884['words'];return _0x594699[0x0]==0x53616c74&&_0x594699[0x1]==0x65645f5f&&(_0x201e58=_0x4f667c['create'](_0x594699[_0x58a41a(0x168)](0x2,0x4)),_0x594699[_0x58a41a(0x1f8)](0x0,0x4),_0x4c2884[_0x58a41a(0x3a8)]-=0x10),_0x1da196['create']({'ciphertext':_0x4c2884,'salt':_0x201e58});}},_0x5749c0=_0x19cc81[_0x151e66(0x35f)]=_0x11dfe6['extend']({'cfg':_0x11dfe6[_0x151e66(0x18a)]({'format':_0x2aee2f}),'encrypt':function(_0x2409c3,_0x54361b,_0x119714,_0x438a70){var _0x4d2dba=_0x151e66;_0x438a70=this[_0x4d2dba(0x318)][_0x4d2dba(0x18a)](_0x438a70);var _0x1922c5=_0x2409c3[_0x4d2dba(0x368)](_0x119714,_0x438a70),_0x58915f=_0x1922c5[_0x4d2dba(0x233)](_0x54361b),_0x3f2b51=_0x1922c5[_0x4d2dba(0x318)];return _0x1da196[_0x4d2dba(0x1ea)]({'ciphertext':_0x58915f,'key':_0x119714,'iv':_0x3f2b51['iv'],'algorithm':_0x2409c3,'mode':_0x3f2b51[_0x4d2dba(0x244)],'padding':_0x3f2b51[_0x4d2dba(0x234)],'blockSize':_0x2409c3[_0x4d2dba(0x1c0)],'formatter':_0x438a70[_0x4d2dba(0x210)]});},'decrypt':function(_0x478fed,_0x3fe320,_0x724005,_0x1a0ce4){var _0x5b9520=_0x151e66;_0x1a0ce4=this[_0x5b9520(0x318)][_0x5b9520(0x18a)](_0x1a0ce4),_0x3fe320=this[_0x5b9520(0x2f6)](_0x3fe320,_0x1a0ce4['format']);var _0x525de4=_0x478fed[_0x5b9520(0x1ef)](_0x724005,_0x1a0ce4)[_0x5b9520(0x233)](_0x3fe320[_0x5b9520(0x29f)]);return _0x525de4;},'_parse':function(_0x371388,_0x357fd6){var _0x157f5a=_0x151e66;return typeof _0x371388==_0x157f5a(0x1fe)?_0x357fd6['parse'](_0x371388,this):_0x371388;}}),_0x47858f=_0x27ebe3['kdf']={},_0x17ad89=_0x47858f[_0x151e66(0x254)]={'execute':function(_0x386984,_0x238812,_0x483110,_0x38aa80,_0x1060da){var _0x1b168f=_0x151e66;if(_0x38aa80||(_0x38aa80=_0x4f667c[_0x1b168f(0x1e5)](0x40/0x8)),_0x1060da)var _0xefb884=_0x2b4786['create']({'keySize':_0x238812+_0x483110,'hasher':_0x1060da})[_0x1b168f(0x220)](_0x386984,_0x38aa80);else var _0xefb884=_0x2b4786[_0x1b168f(0x1ea)]({'keySize':_0x238812+_0x483110})[_0x1b168f(0x220)](_0x386984,_0x38aa80);var _0x42e957=_0x4f667c[_0x1b168f(0x1ea)](_0xefb884[_0x1b168f(0x40b)][_0x1b168f(0x168)](_0x238812),_0x483110*0x4);return _0xefb884[_0x1b168f(0x3a8)]=_0x238812*0x4,_0x1da196[_0x1b168f(0x1ea)]({'key':_0xefb884,'iv':_0x42e957,'salt':_0x38aa80});}},_0x138693=_0x19cc81['PasswordBasedCipher']=_0x5749c0[_0x151e66(0x18a)]({'cfg':_0x5749c0['cfg'][_0x151e66(0x18a)]({'kdf':_0x17ad89}),'encrypt':function(_0x3a6246,_0x2c1ecb,_0x59becd,_0x191335){var _0x527f0e=_0x151e66;_0x191335=this[_0x527f0e(0x318)][_0x527f0e(0x18a)](_0x191335);var _0x104b1e=_0x191335['kdf']['execute'](_0x59becd,_0x3a6246['keySize'],_0x3a6246[_0x527f0e(0x2c2)],_0x191335[_0x527f0e(0x274)],_0x191335[_0x527f0e(0x130)]);_0x191335['iv']=_0x104b1e['iv'];var _0x1042a5=_0x5749c0[_0x527f0e(0x2cc)][_0x527f0e(0x208)](this,_0x3a6246,_0x2c1ecb,_0x104b1e['key'],_0x191335);return _0x1042a5[_0x527f0e(0x1e9)](_0x104b1e),_0x1042a5;},'decrypt':function(_0x47c6ec,_0x17eb9f,_0x494b7d,_0x13540b){var _0x4949a9=_0x151e66;_0x13540b=this['cfg'][_0x4949a9(0x18a)](_0x13540b),_0x17eb9f=this['_parse'](_0x17eb9f,_0x13540b[_0x4949a9(0x210)]);var _0x41f2e3=_0x13540b['kdf'][_0x4949a9(0x2b9)](_0x494b7d,_0x47c6ec[_0x4949a9(0x169)],_0x47c6ec[_0x4949a9(0x2c2)],_0x17eb9f[_0x4949a9(0x274)],_0x13540b[_0x4949a9(0x130)]);_0x13540b['iv']=_0x41f2e3['iv'];var _0x37c4cd=_0x5749c0['decrypt']['call'](this,_0x47c6ec,_0x17eb9f,_0x41f2e3['key'],_0x13540b);return _0x37c4cd;}});}();}));}(_0x5c85f4)),_0x5c85f4[_0x285b10(0x2f0)];}var _0x43cebf=_0xf153ba[_0x56fe62(0x2f0)],_0x56630c;function _0x47d9dc(){var _0x1e0205=_0x56fe62;return _0x56630c||(_0x56630c=0x1,function(_0x5abe93,_0x44928f){(function(_0x2ad79b,_0x238243,_0x3ec116){var _0x26c9cf=_0x3662;_0x5abe93[_0x26c9cf(0x2f0)]=_0x238243(_0x3a4bbd(),_0x18e8c5(),_0xfa6a88(),_0x46846c(),_0x108d55());}(_0x43cebf,function(_0x2ff593){return(function(){var _0x522f2f=_0x3662,_0x2be796=_0x2ff593,_0x43f348=_0x2be796[_0x522f2f(0x235)],_0xce3d00=_0x43f348['BlockCipher'],_0x2d085f=_0x2be796[_0x522f2f(0x248)],_0x5e12b0=[],_0xf7d05e=[],_0x5899c7=[],_0x194bb5=[],_0x1bf054=[],_0x19ec1b=[],_0x591f7e=[],_0x5c3ee2=[],_0xa16f9f=[],_0x1e2696=[];(function(){for(var _0x14bdfd=[],_0x80f0ef=0x0;_0x80f0ef<0x100;_0x80f0ef++)_0x80f0ef<0x80?_0x14bdfd[_0x80f0ef]=_0x80f0ef<<0x1:_0x14bdfd[_0x80f0ef]=_0x80f0ef<<0x1^0x11b;for(var _0x536216=0x0,_0x522dcf=0x0,_0x80f0ef=0x0;_0x80f0ef<0x100;_0x80f0ef++){var _0x334fca=_0x522dcf^_0x522dcf<<0x1^_0x522dcf<<0x2^_0x522dcf<<0x3^_0x522dcf<<0x4;_0x334fca=_0x334fca>>>0x8^_0x334fca&0xff^0x63,_0x5e12b0[_0x536216]=_0x334fca,_0xf7d05e[_0x334fca]=_0x536216;var _0x2be9b0=_0x14bdfd[_0x536216],_0x305773=_0x14bdfd[_0x2be9b0],_0xd94c42=_0x14bdfd[_0x305773],_0x45a3de=_0x14bdfd[_0x334fca]*0x101^_0x334fca*0x1010100;_0x5899c7[_0x536216]=_0x45a3de<<0x18|_0x45a3de>>>0x8,_0x194bb5[_0x536216]=_0x45a3de<<0x10|_0x45a3de>>>0x10,_0x1bf054[_0x536216]=_0x45a3de<<0x8|_0x45a3de>>>0x18,_0x19ec1b[_0x536216]=_0x45a3de;var _0x45a3de=_0xd94c42*0x1010101^_0x305773*0x10001^_0x2be9b0*0x101^_0x536216*0x1010100;_0x591f7e[_0x334fca]=_0x45a3de<<0x18|_0x45a3de>>>0x8,_0x5c3ee2[_0x334fca]=_0x45a3de<<0x10|_0x45a3de>>>0x10,_0xa16f9f[_0x334fca]=_0x45a3de<<0x8|_0x45a3de>>>0x18,_0x1e2696[_0x334fca]=_0x45a3de,_0x536216?(_0x536216=_0x2be9b0^_0x14bdfd[_0x14bdfd[_0x14bdfd[_0xd94c42^_0x2be9b0]]],_0x522dcf^=_0x14bdfd[_0x14bdfd[_0x522dcf]]):_0x536216=_0x522dcf=0x1;}}());var _0x3b28c6=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2b113c=_0x2d085f[_0x522f2f(0x1ec)]=_0xce3d00['extend']({'_doReset':function(){var _0xdfee23=_0x522f2f,_0x40dcfa;if(!(this[_0xdfee23(0x194)]&&this[_0xdfee23(0x40a)]===this[_0xdfee23(0x1a7)])){for(var _0x315203=this['_keyPriorReset']=this[_0xdfee23(0x1a7)],_0x5b8e0c=_0x315203[_0xdfee23(0x40b)],_0x436da2=_0x315203['sigBytes']/0x4,_0x5794ad=this[_0xdfee23(0x194)]=_0x436da2+0x6,_0x52294d=(_0x5794ad+0x1)*0x4,_0x4fc05f=this[_0xdfee23(0x374)]=[],_0x1c0c1e=0x0;_0x1c0c1e<_0x52294d;_0x1c0c1e++)_0x1c0c1e<_0x436da2?_0x4fc05f[_0x1c0c1e]=_0x5b8e0c[_0x1c0c1e]:(_0x40dcfa=_0x4fc05f[_0x1c0c1e-0x1],_0x1c0c1e%_0x436da2?_0x436da2>0x6&&_0x1c0c1e%_0x436da2==0x4&&(_0x40dcfa=_0x5e12b0[_0x40dcfa>>>0x18]<<0x18|_0x5e12b0[_0x40dcfa>>>0x10&0xff]<<0x10|_0x5e12b0[_0x40dcfa>>>0x8&0xff]<<0x8|_0x5e12b0[_0x40dcfa&0xff]):(_0x40dcfa=_0x40dcfa<<0x8|_0x40dcfa>>>0x18,_0x40dcfa=_0x5e12b0[_0x40dcfa>>>0x18]<<0x18|_0x5e12b0[_0x40dcfa>>>0x10&0xff]<<0x10|_0x5e12b0[_0x40dcfa>>>0x8&0xff]<<0x8|_0x5e12b0[_0x40dcfa&0xff],_0x40dcfa^=_0x3b28c6[_0x1c0c1e/_0x436da2|0x0]<<0x18),_0x4fc05f[_0x1c0c1e]=_0x4fc05f[_0x1c0c1e-_0x436da2]^_0x40dcfa);for(var _0x41ec26=this[_0xdfee23(0x155)]=[],_0x1004f3=0x0;_0x1004f3<_0x52294d;_0x1004f3++){var _0x1c0c1e=_0x52294d-_0x1004f3;if(_0x1004f3%0x4)var _0x40dcfa=_0x4fc05f[_0x1c0c1e];else var _0x40dcfa=_0x4fc05f[_0x1c0c1e-0x4];_0x1004f3<0x4||_0x1c0c1e<=0x4?_0x41ec26[_0x1004f3]=_0x40dcfa:_0x41ec26[_0x1004f3]=_0x591f7e[_0x5e12b0[_0x40dcfa>>>0x18]]^_0x5c3ee2[_0x5e12b0[_0x40dcfa>>>0x10&0xff]]^_0xa16f9f[_0x5e12b0[_0x40dcfa>>>0x8&0xff]]^_0x1e2696[_0x5e12b0[_0x40dcfa&0xff]];}}},'encryptBlock':function(_0x56dc4e,_0x5696cf){var _0x31c7be=_0x522f2f;this[_0x31c7be(0x1af)](_0x56dc4e,_0x5696cf,this[_0x31c7be(0x374)],_0x5899c7,_0x194bb5,_0x1bf054,_0x19ec1b,_0x5e12b0);},'decryptBlock':function(_0x4802cc,_0x54200d){var _0x355e10=_0x522f2f,_0x1a5c6d=_0x4802cc[_0x54200d+0x1];_0x4802cc[_0x54200d+0x1]=_0x4802cc[_0x54200d+0x3],_0x4802cc[_0x54200d+0x3]=_0x1a5c6d,this[_0x355e10(0x1af)](_0x4802cc,_0x54200d,this[_0x355e10(0x155)],_0x591f7e,_0x5c3ee2,_0xa16f9f,_0x1e2696,_0xf7d05e);var _0x1a5c6d=_0x4802cc[_0x54200d+0x1];_0x4802cc[_0x54200d+0x1]=_0x4802cc[_0x54200d+0x3],_0x4802cc[_0x54200d+0x3]=_0x1a5c6d;},'_doCryptBlock':function(_0xc591df,_0x5be937,_0x5ee0ce,_0x221298,_0x410147,_0x14dee5,_0x15ebc2,_0x55afbd){for(var _0x386ae9=this['_nRounds'],_0x467218=_0xc591df[_0x5be937]^_0x5ee0ce[0x0],_0x34a956=_0xc591df[_0x5be937+0x1]^_0x5ee0ce[0x1],_0x211400=_0xc591df[_0x5be937+0x2]^_0x5ee0ce[0x2],_0x17ce3e=_0xc591df[_0x5be937+0x3]^_0x5ee0ce[0x3],_0x5b7a11=0x4,_0x347190=0x1;_0x347190<_0x386ae9;_0x347190++){var _0x5450aa=_0x221298[_0x467218>>>0x18]^_0x410147[_0x34a956>>>0x10&0xff]^_0x14dee5[_0x211400>>>0x8&0xff]^_0x15ebc2[_0x17ce3e&0xff]^_0x5ee0ce[_0x5b7a11++],_0x3cbb9d=_0x221298[_0x34a956>>>0x18]^_0x410147[_0x211400>>>0x10&0xff]^_0x14dee5[_0x17ce3e>>>0x8&0xff]^_0x15ebc2[_0x467218&0xff]^_0x5ee0ce[_0x5b7a11++],_0x1318da=_0x221298[_0x211400>>>0x18]^_0x410147[_0x17ce3e>>>0x10&0xff]^_0x14dee5[_0x467218>>>0x8&0xff]^_0x15ebc2[_0x34a956&0xff]^_0x5ee0ce[_0x5b7a11++],_0x234630=_0x221298[_0x17ce3e>>>0x18]^_0x410147[_0x467218>>>0x10&0xff]^_0x14dee5[_0x34a956>>>0x8&0xff]^_0x15ebc2[_0x211400&0xff]^_0x5ee0ce[_0x5b7a11++];_0x467218=_0x5450aa,_0x34a956=_0x3cbb9d,_0x211400=_0x1318da,_0x17ce3e=_0x234630;}var _0x5450aa=(_0x55afbd[_0x467218>>>0x18]<<0x18|_0x55afbd[_0x34a956>>>0x10&0xff]<<0x10|_0x55afbd[_0x211400>>>0x8&0xff]<<0x8|_0x55afbd[_0x17ce3e&0xff])^_0x5ee0ce[_0x5b7a11++],_0x3cbb9d=(_0x55afbd[_0x34a956>>>0x18]<<0x18|_0x55afbd[_0x211400>>>0x10&0xff]<<0x10|_0x55afbd[_0x17ce3e>>>0x8&0xff]<<0x8|_0x55afbd[_0x467218&0xff])^_0x5ee0ce[_0x5b7a11++],_0x1318da=(_0x55afbd[_0x211400>>>0x18]<<0x18|_0x55afbd[_0x17ce3e>>>0x10&0xff]<<0x10|_0x55afbd[_0x467218>>>0x8&0xff]<<0x8|_0x55afbd[_0x34a956&0xff])^_0x5ee0ce[_0x5b7a11++],_0x234630=(_0x55afbd[_0x17ce3e>>>0x18]<<0x18|_0x55afbd[_0x467218>>>0x10&0xff]<<0x10|_0x55afbd[_0x34a956>>>0x8&0xff]<<0x8|_0x55afbd[_0x211400&0xff])^_0x5ee0ce[_0x5b7a11++];_0xc591df[_0x5be937]=_0x5450aa,_0xc591df[_0x5be937+0x1]=_0x3cbb9d,_0xc591df[_0x5be937+0x2]=_0x1318da,_0xc591df[_0x5be937+0x3]=_0x234630;},'keySize':0x100/0x20});_0x2be796[_0x522f2f(0x1ec)]=_0xce3d00[_0x522f2f(0x48c)](_0x2b113c);}()),_0x2ff593['AES'];}));}(_0xf153ba)),_0xf153ba[_0x1e0205(0x2f0)];}var _0x115c2b=_0x47d9dc();const _0x1c5685=_0x519655(_0x115c2b);var _0x4d6c32=_0x18e8c5();const _0x4352b4=_0x519655(_0x4d6c32);var _0x45648e={'exports':{}},_0x6a5c44=_0x45648e['exports'],_0x34ed6a;function _0xb55a8e(){var _0xb8f45=_0x56fe62;return _0x34ed6a||(_0x34ed6a=0x1,function(_0x1e7a31,_0x494df1){(function(_0x5c70cf,_0x236b41){var _0x50dd01=_0x3662;_0x1e7a31[_0x50dd01(0x2f0)]=_0x236b41(_0x3a4bbd());}(_0x6a5c44,function(_0x43c6a1){var _0x304474=_0x3662;return _0x43c6a1[_0x304474(0x158)][_0x304474(0x17e)];}));}(_0x45648e)),_0x45648e[_0xb8f45(0x2f0)];}var _0x4217c4=_0xb55a8e();const _0x44f985=_0x519655(_0x4217c4);var _0x4aac90={'exports':{}},_0x1039aa=_0x4aac90[_0x56fe62(0x2f0)],_0x2acd93;function _0x305c99(){return _0x2acd93||(_0x2acd93=0x1,function(_0x174636,_0x2bfa9c){(function(_0x3251fd,_0x2dc4d6){var _0x31e24e=_0x3662;_0x174636[_0x31e24e(0x2f0)]=_0x2dc4d6(_0x3a4bbd());}(_0x1039aa,function(_0xb3a326){var _0x531ae8=_0x3662;return(function(){var _0x34940d=_0x3662;if(typeof ArrayBuffer==_0x34940d(0x4ae)){var _0x17967e=_0xb3a326,_0x132382=_0x17967e[_0x34940d(0x235)],_0x3e41e2=_0x132382[_0x34940d(0x120)],_0x5bff3c=_0x3e41e2[_0x34940d(0x161)],_0x1d085c=_0x3e41e2[_0x34940d(0x161)]=function(_0x7415ab){var _0x1c72c3=_0x34940d;if(_0x7415ab instanceof ArrayBuffer&&(_0x7415ab=new Uint8Array(_0x7415ab)),(_0x7415ab instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x7415ab instanceof Uint8ClampedArray||_0x7415ab instanceof Int16Array||_0x7415ab instanceof Uint16Array||_0x7415ab instanceof Int32Array||_0x7415ab instanceof Uint32Array||_0x7415ab instanceof Float32Array||_0x7415ab instanceof Float64Array)&&(_0x7415ab=new Uint8Array(_0x7415ab[_0x1c72c3(0x37e)],_0x7415ab[_0x1c72c3(0x2b6)],_0x7415ab[_0x1c72c3(0x495)])),_0x7415ab instanceof Uint8Array){for(var _0x4442dd=_0x7415ab[_0x1c72c3(0x495)],_0x312182=[],_0x5efcc0=0x0;_0x5efcc0<_0x4442dd;_0x5efcc0++)_0x312182[_0x5efcc0>>>0x2]|=_0x7415ab[_0x5efcc0]<<0x18-_0x5efcc0%0x4*0x8;_0x5bff3c[_0x1c72c3(0x208)](this,_0x312182,_0x4442dd);}else _0x5bff3c[_0x1c72c3(0x128)](this,arguments);};_0x1d085c[_0x34940d(0x22c)]=_0x3e41e2;}}()),_0xb3a326['lib'][_0x531ae8(0x120)];}));}(_0x4aac90)),_0x4aac90['exports'];}var _0x39c9c6=_0x305c99();const _0x4eb3c7=_0x519655(_0x39c9c6);var _0x2e3722={'exports':{}},_0xfdb0f5=_0x2e3722[_0x56fe62(0x2f0)],_0x138a11;function _0x3613c(){var _0xfbfb3b=_0x56fe62;return _0x138a11||(_0x138a11=0x1,function(_0x4b414b,_0x3f502e){(function(_0x4e4177,_0xcb105d,_0x31d2d5){var _0x145989=_0x3662;_0x4b414b[_0x145989(0x2f0)]=_0xcb105d(_0x3a4bbd(),_0x108d55());}(_0xfdb0f5,function(_0x18a286){var _0x3fc50b=_0x3662;return _0x18a286[_0x3fc50b(0x2b7)][_0x3fc50b(0x258)]={'pad':function(){},'unpad':function(){}},_0x18a286[_0x3fc50b(0x2b7)][_0x3fc50b(0x258)];}));}(_0x2e3722)),_0x2e3722[_0xfbfb3b(0x2f0)];}var _0x127e54=_0x3613c();const _0x3a8438=_0x519655(_0x127e54);function _0x5498a4(_0xf41d0d,_0x1c8cc4){var _0x223140=_0x56fe62;const _0x4b44ad=_0x1c8cc4-_0xf41d0d[_0x223140(0x17a)]%_0x1c8cc4,_0xde9744=String['fromCharCode'](_0x4b44ad)['repeat'](_0x4b44ad);return _0xf41d0d+_0xde9744;}function _0x19c79b(_0x5edc0e,_0x123b69){var _0x18f57e=_0x56fe62;const _0x35a28a=_0x4eb3c7[_0x18f57e(0x1e5)](0x10),_0x39d3ce=_0x5498a4(_0x5edc0e,0x10),_0x59838c=_0x1c5685[_0x18f57e(0x2cc)](_0x44f985[_0x18f57e(0x2fc)](_0x39d3ce),_0x4352b4[_0x18f57e(0x2fc)](_0x123b69),{'iv':_0x35a28a,'padding':_0x3a8438});return _0x35a28a['concat'](_0x59838c[_0x18f57e(0x29f)])[_0x18f57e(0x277)](_0x4352b4);}function _0x13d1aa(){var _0x6bc58a=_0x56fe62;const _0x53b4cd=_0x2a39fc[_0x6bc58a(0x2ec)]()[_0x6bc58a(0x41c)];if(typeof window<'u'&&typeof window[_0x6bc58a(0x13e)]<'u'&&_0x53b4cd){const _0x4e4e4d={'time':Math[_0x6bc58a(0x313)](Date[_0x6bc58a(0x45a)]()/0x3e8),'domain':location[_0x6bc58a(0x320)]};return _0x19c79b(JSON['stringify'](_0x4e4e4d),_0x53b4cd);}}var _0x409d9a=Object[_0x56fe62(0x2f8)],_0x52d76c=(_0x1e4d9f,_0x3ff8ea,_0x2288cb,_0x2dfa35)=>{var _0x158682=_0x56fe62;for(var _0x1519e9=_0x2dfa35>0x1?void 0x0:_0x2dfa35?_0x409d9a(_0x3ff8ea,_0x2288cb):_0x3ff8ea,_0x59126e=_0x1e4d9f[_0x158682(0x17a)]-0x1,_0x5667fb;_0x59126e>=0x0;_0x59126e--)(_0x5667fb=_0x1e4d9f[_0x59126e])&&(_0x1519e9=_0x5667fb(_0x1519e9)||_0x1519e9);return _0x1519e9;},_0x1d10b2=(_0x582781,_0x27354b)=>(_0x45b742,_0x1ae328)=>_0x27354b(_0x45b742,_0x1ae328,_0x582781);let _0x132e87=class{constructor(_0x584e3d){var _0x38c50b=_0x56fe62;this[_0x38c50b(0x280)]=_0x584e3d,this[_0x38c50b(0x19e)]();}[_0x56fe62(0x19e)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x3a0bec,_0x12ffdd)=>{var _0x240668=_0x3662;const _0x3d1a09=_0x3a0bec['headers'],_0x516638=_0x13d1aa();return _0x516638&&_0x3d1a09[_0x240668(0x35e)](_0x240668(0x3a1),_0x516638),_0x12ffdd(_0x3a0bec);}});}};_0x132e87=_0x52d76c([_0x1d10b2(0x0,_0x132a8a[_0x56fe62(0x1fa)](_0x38b1a1[_0x56fe62(0x4b1)]))],_0x132e87);var _0x17404b=Object[_0x56fe62(0x2f8)],_0xd2a2fb=(_0x42b384,_0x286be1,_0x3bd6ed,_0x100b09)=>{var _0xc28c13=_0x56fe62;for(var _0x60db9b=_0x100b09>0x1?void 0x0:_0x100b09?_0x17404b(_0x286be1,_0x3bd6ed):_0x286be1,_0x58b300=_0x42b384[_0xc28c13(0x17a)]-0x1,_0x58c7b4;_0x58b300>=0x0;_0x58b300--)(_0x58c7b4=_0x42b384[_0x58b300])&&(_0x60db9b=_0x58c7b4(_0x60db9b)||_0x60db9b);return _0x60db9b;},_0x1fac74=(_0x5ca792,_0x4f56ec)=>(_0x360771,_0x2b4fbc)=>_0x4f56ec(_0x360771,_0x2b4fbc,_0x5ca792);_0x43236a[_0x56fe62(0x435)]=class extends _0x132a8a[_0x56fe62(0x397)]{constructor(_0x52acd1,_0x45954e,_0x32a6a7){var _0x3d23bc=_0x56fe62;super(),_0x18d62f(this,_0x3d23bc(0x33e),new _0x41f28e[(_0x3d23bc(0x473))](null)),_0x18d62f(this,_0x3d23bc(0x438),this[_0x3d23bc(0x33e)][_0x3d23bc(0x4ba)]()),(this[_0x3d23bc(0x3ee)]=_0x52acd1,this[_0x3d23bc(0x390)]=_0x45954e,this[_0x3d23bc(0x3fb)]=_0x32a6a7);}async[_0x56fe62(0x24a)](_0x2d1a5b,_0x467b7b,_0x593ca1){var _0x19b085=_0x56fe62;this[_0x19b085(0x33e)]['next']({'unitId':_0x2d1a5b,'type':_0x467b7b});let _0x5909d9=null;switch(_0x467b7b){case _0x5b3fe9[_0x19b085(0x2a4)]:{_0x5909d9=await this[_0x19b085(0x390)][_0x19b085(0x2c6)](_0x2d1a5b,_0x593ca1);break;}case _0x5b3fe9[_0x19b085(0x1b0)]:{_0x5909d9=await this[_0x19b085(0x390)][_0x19b085(0x1ba)](_0x2d1a5b,_0x593ca1);break;}default:{this[_0x19b085(0x3ee)][_0x19b085(0x32b)](_0x19b085(0x39e),_0x19b085(0x291));break;}}return _0x5909d9;}async[_0x56fe62(0x252)](_0x4a2423,_0x57784a,_0x3d0e15){var _0x3bbee8=_0x56fe62,_0x446e4f;this[_0x3bbee8(0x33e)][_0x3bbee8(0x360)]({'unitId':_0x4a2423,'type':_0x57784a,'subUnitId':_0x3d0e15});let _0x468319=0x0;const _0x507349=await((_0x446e4f=this[_0x3bbee8(0x3fb)])==null?void 0x0:_0x446e4f[_0x3bbee8(0x3ad)](_0x4a2423));return _0x507349&&(_0x507349[_0x3bbee8(0x121)]||_0x507349[_0x3bbee8(0x409)][_0x3bbee8(0x17a)]!==0x0)&&(_0x468319=_0x507349[_0x3bbee8(0x2fb)]),_0x468319===0x0&&this[_0x3bbee8(0x3ee)][_0x3bbee8(0x181)](_0x3bbee8(0x39e),_0x3bbee8(0x3fa)),this[_0x3bbee8(0x24a)](_0x4a2423,_0x57784a,_0x468319);}},_0x43236a[_0x56fe62(0x435)]=_0xd2a2fb([_0x1fac74(0x0,_0x132a8a[_0x56fe62(0x3f7)]),_0x1fac74(0x1,_0x132a8a['Inject'](_0x4a4eff[_0x56fe62(0x250)])),_0x1fac74(0x2,_0x132a8a['Optional'](_0x11f168))],_0x43236a[_0x56fe62(0x435)]);var _0x5be236=Object[_0x56fe62(0x2f8)],_0x3dc17b=(_0x5ca037,_0x22a3ed,_0xdece1a,_0x7ae0f6)=>{for(var _0x48ca0a=_0x7ae0f6>0x1?void 0x0:_0x7ae0f6?_0x5be236(_0x22a3ed,_0xdece1a):_0x22a3ed,_0x509e02=_0x5ca037['length']-0x1,_0x2b7dde;_0x509e02>=0x0;_0x509e02--)(_0x2b7dde=_0x5ca037[_0x509e02])&&(_0x48ca0a=_0x2b7dde(_0x48ca0a)||_0x48ca0a);return _0x48ca0a;},_0x545a82=(_0x361382,_0x292d4f)=>(_0xf55557,_0x3b62e4)=>_0x292d4f(_0xf55557,_0x3b62e4,_0x361382);const _0x544011=['image/png',_0x56fe62(0x179),'image/jpg',_0x56fe62(0x323),'image/bmp'],_0x5b8f1f=0x5*0x400*0x400,_0x199c0e=_0x56fe62(0x17d),_0x2d393d=_0x56fe62(0x46a);_0x43236a[_0x56fe62(0x3e9)]=class{constructor(_0x18b92a,_0x475cf2,_0x2737fb){var _0x5e0bd8=_0x56fe62;_0x18d62f(this,_0x5e0bd8(0x2e3),0x0),_0x18d62f(this,'_change$',new _0x41f28e[(_0x5e0bd8(0x3e8))]()),_0x18d62f(this,_0x5e0bd8(0x297),this[_0x5e0bd8(0x12b)]),_0x18d62f(this,_0x5e0bd8(0x365),new Map()),(this[_0x5e0bd8(0x280)]=_0x18b92a,this[_0x5e0bd8(0x2f7)]=_0x475cf2,this[_0x5e0bd8(0x3fd)]=_0x2737fb);}['setWaitCount'](_0x4bb140){var _0x3b9bc1=_0x56fe62;this['_waitCount']=_0x4bb140,this[_0x3b9bc1(0x12b)][_0x3b9bc1(0x360)](_0x4bb140);}['getImageSourceCache'](_0x458b7c,_0x1f0ba1){var _0x4b65dd=_0x56fe62;if(_0x1f0ba1===_0x58931d[_0x4b65dd(0x4b7)][_0x4b65dd(0x405)]){const _0x215849=new Image();return _0x215849[_0x4b65dd(0x321)]=_0x458b7c,_0x215849;}return this['_imageSourceCache'][_0x4b65dd(0x2ce)](_0x458b7c);}[_0x56fe62(0x424)](_0x129a9a,_0x4a0c61,_0x2616fc){var _0xc3e480=_0x56fe62;_0x4a0c61===_0x58931d[_0xc3e480(0x4b7)][_0xc3e480(0x405)]||_0x2616fc==null||this['_imageSourceCache'][_0xc3e480(0x35e)](_0x129a9a,_0x2616fc);}async[_0x56fe62(0x3b4)](_0x5d69a1){var _0x23287d=_0x56fe62;try{const _0x591d92=this[_0x23287d(0x2c8)](this[_0x23287d(0x197)](),''+_0x5d69a1),_0x1d5a2f=(await this[_0x23287d(0x280)]['get'](_0x591d92))['body'];if(_0x1d5a2f['error']&&_0x1d5a2f[_0x23287d(0x32b)][_0x23287d(0x396)]===_0x41c854['OK']){const _0x4190c2=_0x132a8a[_0x23287d(0x193)](_0x1d5a2f[_0x23287d(0x212)],this[_0x23287d(0x406)]());return Promise[_0x23287d(0x166)](_0x4190c2);}return Promise[_0x23287d(0x2bc)](_0x1d5a2f['error']);}catch(_0x282b52){return Promise[_0x23287d(0x2bc)](_0x282b52);}}async['saveImage'](_0x404576){var _0x5a442c=_0x56fe62;let _0x37bb42='';if(!_0x544011['includes'](_0x404576[_0x5a442c(0x326)]))return this[_0x5a442c(0x1d8)](),Promise['reject'](new Error(_0x58931d[_0x5a442c(0x1cb)][_0x5a442c(0x15c)]));if(_0x404576[_0x5a442c(0x1d1)]>_0x5b8f1f)return this[_0x5a442c(0x1d8)](),Promise[_0x5a442c(0x2bc)](new Error(_0x58931d[_0x5a442c(0x1cb)][_0x5a442c(0x1bb)]));try{const _0x518780=new FormData();_0x518780['append']('file',_0x404576);const _0x3a4376=this['_univerInstanceService'][_0x5a442c(0x38a)](),_0x2ba4a1=_0x3a4376==null?void 0x0:_0x3a4376['getUnitId']();if(!_0x2ba4a1)throw new Error(_0x5a442c(0x134));const _0x1e2373=this[_0x5a442c(0x325)]()+_0x5a442c(0x2b3)+_0x404576[_0x5a442c(0x1d1)][_0x5a442c(0x277)]()+_0x5a442c(0x41e)+_0x5c74c3[_0x5a442c(0x3db)]+_0x5a442c(0x314)+encodeURIComponent(_0x2ba4a1),_0x375b24={'body':_0x518780},_0x58374d=(await this[_0x5a442c(0x280)][_0x5a442c(0x12e)](_0x1e2373,_0x375b24))[_0x5a442c(0x324)];if(typeof _0x58374d[_0x5a442c(0x3ae)]!=_0x5a442c(0x1fe))return this[_0x5a442c(0x1d8)](),Promise[_0x5a442c(0x2bc)](new Error(_0x58931d[_0x5a442c(0x1cb)]['ERROR_IMAGE']));_0x37bb42=_0x58374d[_0x5a442c(0x3ae)];}catch{return this[_0x5a442c(0x1d8)](),Promise[_0x5a442c(0x2bc)](new Error(_0x58931d['ImageUploadStatusType'][_0x5a442c(0x270)]));}return new Promise((_0x37d984,_0x535142)=>{var _0x5e4c6a=_0x5a442c;const _0x437fea=new FileReader();_0x437fea[_0x5e4c6a(0x48f)](_0x404576),_0x437fea[_0x5e4c6a(0x336)]=_0x222057=>{var _0x3be106=_0x5e4c6a,_0x3d4e3e;const _0x351ca4=(_0x3d4e3e=_0x222057[_0x3be106(0x2bf)])==null?void 0x0:_0x3d4e3e[_0x3be106(0x265)];if(_0x351ca4==null){this['_decreaseWaiting'](),_0x535142(new Error(_0x58931d['ImageUploadStatusType'][_0x3be106(0x270)]));return;}const _0x33d04a=_0x132a8a['generateRandomId'](0x6);_0x37d984({'imageId':_0x33d04a,'imageSourceType':_0x58931d[_0x3be106(0x4b7)]['UUID'],'source':_0x37bb42,'base64Cache':_0x351ca4,'status':_0x58931d[_0x3be106(0x1cb)][_0x3be106(0x476)]}),this['_decreaseWaiting']();};});}[_0x56fe62(0x325)](){var _0x1d4423=_0x56fe62,_0x582ad5;const _0x24b40a=this[_0x1d4423(0x2f7)][_0x1d4423(0x1ab)](_0x16e9e6);return(_0x582ad5=_0x24b40a==null?void 0x0:_0x24b40a[_0x1d4423(0x1b8)])!=null?_0x582ad5:_0x199c0e;}[_0x56fe62(0x197)](){var _0x3fa41e=_0x56fe62,_0xfb7b67;const _0x2b858b=this[_0x3fa41e(0x2f7)][_0x3fa41e(0x1ab)](_0x16e9e6);return(_0xfb7b67=_0x2b858b==null?void 0x0:_0x2b858b['signUrlServerUrl'])!=null?_0xfb7b67:_0x2d393d;}['_getDownloadEndpointURL'](){var _0x172091=_0x56fe62,_0x194783;const _0x121cca=this[_0x172091(0x2f7)][_0x172091(0x1ab)](_0x16e9e6);return(_0x194783=_0x121cca==null?void 0x0:_0x121cca[_0x172091(0x3f3)])!=null?_0x194783:location['origin'];}[_0x56fe62(0x2c8)](_0x2b67fd,_0x2c17f9){var _0x1b0ab3=_0x56fe62;return _0x2b67fd[_0x1b0ab3(0x132)]('{fileID}',_0x2c17f9);}[_0x56fe62(0x1d8)](){var _0x365964=_0x56fe62;this[_0x365964(0x2e3)]-=0x1,this[_0x365964(0x12b)][_0x365964(0x360)](this['_waitCount']);}},_0x43236a[_0x56fe62(0x3e9)]=_0x3dc17b([_0x545a82(0x0,_0x132a8a['Inject'](_0x38b1a1[_0x56fe62(0x4b1)])),_0x545a82(0x1,_0x132a8a[_0x56fe62(0x2cf)]),_0x545a82(0x2,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1da)]))],_0x43236a['CollaborationImageIoService']);var _0x10a3cd=Object[_0x56fe62(0x2f8)],_0x435895=(_0x3ff2ec,_0x5e6b3e,_0x5ca9ab,_0x3f6258)=>{var _0x27941d=_0x56fe62;for(var _0xcbfa08=_0x3f6258>0x1?void 0x0:_0x3f6258?_0x10a3cd(_0x5e6b3e,_0x5ca9ab):_0x5e6b3e,_0x5c233d=_0x3ff2ec[_0x27941d(0x17a)]-0x1,_0x303ffa;_0x5c233d>=0x0;_0x5c233d--)(_0x303ffa=_0x3ff2ec[_0x5c233d])&&(_0xcbfa08=_0x303ffa(_0xcbfa08)||_0xcbfa08);return _0xcbfa08;},_0x4326c4=(_0x34a4af,_0xdd687)=>(_0x1ecc2e,_0x43e27c)=>_0xdd687(_0x1ecc2e,_0x43e27c,_0x34a4af);const _0xa68804=_0x56fe62(0x31c);_0x43236a['MentionIoHttpService']=class{constructor(_0xb4edda,_0x3584a4){var _0x5b632f=_0x56fe62;this[_0x5b632f(0x2f7)]=_0xb4edda,this['_HTTPService']=_0x3584a4;}[_0x56fe62(0x1a3)](){var _0x71864c=_0x56fe62,_0x30a600;const _0x2c2c1b=this[_0x71864c(0x2f7)][_0x71864c(0x1ab)](_0x16e9e6);return(_0x30a600=_0x2c2c1b==null?void 0x0:_0x2c2c1b[_0x71864c(0x17b)])!=null?_0x30a600:_0xa68804;}async[_0x56fe62(0x335)](_0x36b03d){var _0x238255=_0x56fe62;const _0xef47f8=this[_0x238255(0x1a3)]()+_0x238255(0x35d);return{'list':[{'title':_0x238255(0x225),'mentions':(await this[_0x238255(0x394)][_0x238255(0x2ce)](_0xef47f8,{'params':{'objectID':_0x36b03d[_0x238255(0x140)],'unitID':_0x36b03d[_0x238255(0x140)]}}))[_0x238255(0x324)]['collaborators'][_0x238255(0x290)](_0xf3f9cc=>({'objectId':_0xf3f9cc['id'],'name':_0xf3f9cc[_0x238255(0x354)][_0x238255(0x4b4)],'metadata':{'icon':_0xf3f9cc[_0x238255(0x354)]['avatar']},'label':_0xf3f9cc[_0x238255(0x354)][_0x238255(0x4b4)],'objectType':_0x132a8a['MentionType']['PERSON']})),'metadata':{},'type':_0x132a8a['MentionType'][_0x238255(0x348)]}]};}},_0x43236a['MentionIoHttpService']=_0x435895([_0x4326c4(0x0,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a['IConfigService'])),_0x4326c4(0x1,_0x132a8a['Inject'](_0x38b1a1['HTTPService']))],_0x43236a[_0x56fe62(0x28f)]);var _0x42b4d1=Object[_0x56fe62(0x2f8)],_0x24ac77=(_0x37d342,_0x2a4497,_0x141654,_0x55bbc1)=>{var _0x5b642c=_0x56fe62;for(var _0x5169cd=_0x55bbc1>0x1?void 0x0:_0x55bbc1?_0x42b4d1(_0x2a4497,_0x141654):_0x2a4497,_0x24277d=_0x37d342[_0x5b642c(0x17a)]-0x1,_0x81b154;_0x24277d>=0x0;_0x24277d--)(_0x81b154=_0x37d342[_0x24277d])&&(_0x5169cd=_0x81b154(_0x5169cd)||_0x5169cd);return _0x5169cd;},_0x868438=(_0x8c6171,_0x3c646f)=>(_0x66d659,_0x51acc9)=>_0x3c646f(_0x66d659,_0x51acc9,_0x8c6171);let _0x294196=class extends _0x132a8a[_0x56fe62(0x397)]{constructor(_0x516334,_0xd2670,_0x14b4ea,_0x35c363,_0x328ff2){var _0x31023e=_0x56fe62;super(),this[_0x31023e(0x3c0)]=_0x516334,this['_univerInstanceService']=_0xd2670,this[_0x31023e(0x171)]=_0x14b4ea,this[_0x31023e(0x3c9)]=_0x35c363,this[_0x31023e(0x293)]=_0x328ff2,this[_0x31023e(0x499)](),this[_0x31023e(0x1e2)]();}[_0x56fe62(0x1e2)](){var _0x2780c9=_0x56fe62;const _0x1fb754=async _0x4bdd20=>{var _0x4cb3fd=_0x3662;(await this[_0x4cb3fd(0x3c9)][_0x4cb3fd(0x35b)](_0x4bdd20))[_0x4cb3fd(0x247)][_0x4cb3fd(0x2d1)](_0xb6ddf5[_0x4cb3fd(0x272)](_0x300429=>_0x300429[_0x4cb3fd(0x3e2)]===_0x4a4eff[_0x4cb3fd(0x19d)][_0x4cb3fd(0x221)]),_0xb6ddf5[_0x4cb3fd(0x308)](this['dispose$']))[_0x4cb3fd(0x3de)](_0x18668b=>{var _0xf1b3b7=_0x4cb3fd;const _0x291cf0=_0x18668b,{reason:_0x59a2d6}=_0x291cf0[_0xf1b3b7(0x483)];this[_0xf1b3b7(0x293)]['emitEvent']({'id':_0x3fbd84['CLOSE_ROOM'],'data':_0x59a2d6}),this[_0xf1b3b7(0x171)][_0xf1b3b7(0x31a)](new _0x3b6fb7[(_0xf1b3b7(0x46f))](_0x4bdd20)['id'],!0x1),this[_0xf1b3b7(0x3c9)][_0xf1b3b7(0x453)](_0x4bdd20);});};_0x41f28e[_0x2780c9(0x16d)](this['_univerInstanceService'][_0x2780c9(0x3f0)](_0x132a8a[_0x2780c9(0x20f)]['UNIVER_SHEET']),this[_0x2780c9(0x3fd)][_0x2780c9(0x3f0)](_0x132a8a[_0x2780c9(0x20f)][_0x2780c9(0x1b0)]))[_0x2780c9(0x2d1)](_0xb6ddf5[_0x2780c9(0x290)](_0x611238=>_0x611238[_0x2780c9(0x1df)]()),_0xb6ddf5[_0x2780c9(0x272)](_0xbc4d0=>!_0x132a8a[_0x2780c9(0x357)](_0xbc4d0)),_0xb6ddf5[_0x2780c9(0x308)](this['dispose$']))[_0x2780c9(0x3de)](_0x4ce522=>{_0x1fb754(_0x4ce522);});}['_initUnitPermissionChange'](){var _0x52707f=_0x56fe62;const _0x4d1d66=async _0x5555ad=>{var _0x16eed1=_0x3662;const _0x5d2a1f=await this[_0x16eed1(0x3c9)][_0x16eed1(0x35b)](_0x5555ad),_0x4d6fe1=this['_injector'][_0x16eed1(0x2ce)](_0x3b6fb7[_0x16eed1(0x2ba)]);_0x5d2a1f[_0x16eed1(0x247)][_0x16eed1(0x2d1)](_0xb6ddf5[_0x16eed1(0x272)](_0xc3d684=>_0xc3d684[_0x16eed1(0x3e2)]===_0x4a4eff['CollaborationEvent'][_0x16eed1(0x1c7)]),_0xb6ddf5['takeUntil'](this[_0x16eed1(0x3f5)]))['subscribe'](_0x26f9c2=>{var _0x5adfd2=_0x16eed1;const _0x480f45=_0x26f9c2,{objectId:_0x4b84d1}=_0x480f45['data'];_0x4b84d1===_0x5555ad?_0x4d6fe1[_0x5adfd2(0x11a)](_0x5555ad):_0x4d6fe1[_0x5adfd2(0x2a5)](_0x5555ad,_0x4b84d1);});};_0x41f28e[_0x52707f(0x16d)](this[_0x52707f(0x3fd)][_0x52707f(0x3f0)](_0x132a8a['UniverInstanceType'][_0x52707f(0x2a4)]))['pipe'](_0xb6ddf5['map'](_0xe96fd=>_0xe96fd[_0x52707f(0x1df)]()),_0xb6ddf5[_0x52707f(0x272)](_0x1550cb=>!_0x132a8a[_0x52707f(0x357)](_0x1550cb)),_0xb6ddf5['takeUntil'](this[_0x52707f(0x3f5)]))[_0x52707f(0x3de)](_0x642978=>{_0x4d1d66(_0x642978);});}};_0x294196=_0x24ac77([_0x868438(0x0,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1ae)])),_0x868438(0x1,_0x132a8a[_0x56fe62(0x1da)]),_0x868438(0x2,_0x132a8a[_0x56fe62(0x1cc)]),_0x868438(0x3,_0x132a8a['Inject'](_0x43236a['CollaborationSessionService'])),_0x868438(0x4,_0x132a8a[_0x56fe62(0x1fa)](_0x3d2ec6))],_0x294196);var _0x116d2c=Object['getOwnPropertyDescriptor'],_0x3a6b98=(_0x4e09e9,_0x2198e5,_0x1b051b,_0x56a8f2)=>{var _0x59ad50=_0x56fe62;for(var _0x1fd550=_0x56a8f2>0x1?void 0x0:_0x56a8f2?_0x116d2c(_0x2198e5,_0x1b051b):_0x2198e5,_0x5bd807=_0x4e09e9[_0x59ad50(0x17a)]-0x1,_0x5c6971;_0x5bd807>=0x0;_0x5bd807--)(_0x5c6971=_0x4e09e9[_0x5bd807])&&(_0x1fd550=_0x5c6971(_0x1fd550)||_0x1fd550);return _0x1fd550;},_0x1f6e1c=(_0x3689b4,_0x316871)=>(_0x58f1d4,_0x1d3511)=>_0x316871(_0x58f1d4,_0x1d3511,_0x3689b4);_0x43236a['SnapshotServerOverHTTPService']=class{constructor(_0x12ef8d,_0x4a22e1){var _0x151b39=_0x56fe62;this[_0x151b39(0x2f7)]=_0x12ef8d,this[_0x151b39(0x280)]=_0x4a22e1;}async[_0x56fe62(0x355)](_0x4d88aa,_0x502fd9){var _0x326e39=_0x56fe62,_0x2f8a65;const {unitID:_0x456d62,type:_0x45183b,revision:_0x526801=0x0}=_0x502fd9,_0xd37e2a=this[_0x326e39(0x2af)]()+'/'+_0x45183b+_0x326e39(0x43d)+_0x456d62+_0x326e39(0x3b6)+_0x526801,_0x410ebf=(await this[_0x326e39(0x280)][_0x326e39(0x2ce)](_0xd37e2a))[_0x326e39(0x324)],_0x3be701=(_0x2f8a65=_0x410ebf[_0x326e39(0x36e)])==null?void 0x0:_0x2f8a65[_0x326e39(0x202)];if(_0x3be701){const _0xb96658=_0x3be701==null?void 0x0:_0x3be701['originalMeta'],_0x29bfc8=_0x4a4eff[_0x326e39(0x4b5)][_0x326e39(0x34e)](_0x4a4eff[_0x326e39(0x159)](_0xb96658));_0x3be701[_0x326e39(0x1a2)]=_0x29bfc8,Object['entries'](_0x3be701[_0x326e39(0x38b)])[_0x326e39(0x13d)](([,_0x2c98f0])=>{var _0x3d6eaa=_0x326e39;const _0x35e663=_0x2c98f0['originalMeta'],_0x584c04=_0x4a4eff['textEncoder']['encode'](_0x4a4eff[_0x3d6eaa(0x159)](_0x35e663));_0x2c98f0[_0x3d6eaa(0x1a2)]=_0x584c04;});}return _0x410ebf;}async[_0x56fe62(0x468)](_0x19ae6b,_0x4abf02){var _0x2fb178=_0x56fe62;const {unitID:_0x256bc0,type:_0x2189f7,blockID:_0x4a0ad5}=_0x4abf02,_0x50f398=this['_getAPIPrefix']()+'/'+_0x2189f7+_0x2fb178(0x43d)+_0x256bc0+'/block/'+_0x4a0ad5;return(await this[_0x2fb178(0x280)][_0x2fb178(0x2ce)](_0x50f398))[_0x2fb178(0x324)];}async['getDeserializedSheetBlock'](_0x195d59,_0x2ffe5a){var _0x2e072c=_0x56fe62;const {unitID:_0x3808b4,type:_0x419ac6,blockID:_0x598a20}=_0x2ffe5a,_0x1e5bcd=this[_0x2e072c(0x4a3)]()+_0x2e072c(0x269)+_0x419ac6+'/unit/'+_0x3808b4+_0x2e072c(0x269)+_0x598a20;return(await this[_0x2e072c(0x280)][_0x2e072c(0x2ce)](_0x1e5bcd))[_0x2e072c(0x324)];}async[_0x56fe62(0x1b9)](_0x272113,_0x1d451d){var _0x59c559=_0x56fe62;const {unitID:_0x2635b4,type:_0x44c550,from:_0x3ddab1,to:_0x564b9c}=_0x1d451d,_0x140c6c=this['_getAPIPrefix']()+'/'+_0x44c550+_0x59c559(0x43d)+_0x2635b4+_0x59c559(0x20b)+_0x3ddab1+_0x59c559(0x3b1)+_0x564b9c;return(await this['_httpService'][_0x59c559(0x2ce)](_0x140c6c))[_0x59c559(0x324)];}[_0x56fe62(0x2af)](){var _0x12a840=_0x56fe62,_0x3f7c5e;return(_0x3f7c5e=this['_configService'][_0x12a840(0x1ab)](_0x34823c))!=null?_0x3f7c5e:this[_0x12a840(0x4a3)]();}[_0x56fe62(0x4a3)](){var _0x4a0002=_0x56fe62,_0x14b534;const _0x1c4407=this['_configService']['getConfig'](_0x16e9e6);return(_0x14b534=_0x1c4407==null?void 0x0:_0x1c4407[_0x4a0002(0x196)])!=null?_0x14b534:_0x304017;}async['getResourcesRequest'](_0x367197,_0x3372c4){var _0x8bd5be=_0x56fe62;const _0x5e0f6e=_0x8bd5be(0x2b4)+_0x3372c4['type']+_0x8bd5be(0x43d)+_0x3372c4[_0x8bd5be(0x463)]+'/resources';return(await this[_0x8bd5be(0x280)][_0x8bd5be(0x2ce)](_0x5e0f6e,{'params':{'resourceId':JSON[_0x8bd5be(0x123)](_0x3372c4[_0x8bd5be(0x386)])}}))[_0x8bd5be(0x324)];}[_0x56fe62(0x275)](){var _0x53d0bd=_0x56fe62;throw new Error(_0x53d0bd(0x263));}[_0x56fe62(0x316)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x56fe62(0x23f)](){var _0x12ea1e=_0x56fe62;throw new Error(_0x12ea1e(0x263));}[_0x56fe62(0x1fd)](){var _0x416559=_0x56fe62;throw new Error(_0x416559(0x263));}[_0x56fe62(0x4af)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x56fe62(0x4b9)](){var _0x1a1375=_0x56fe62;throw new Error(_0x1a1375(0x263));}},_0x43236a[_0x56fe62(0x426)]=_0x3a6b98([_0x1f6e1c(0x0,_0x132a8a['IConfigService']),_0x1f6e1c(0x1,_0x132a8a['Inject'](_0x38b1a1['HTTPService']))],_0x43236a[_0x56fe62(0x426)]);var _0x17de4d=Object[_0x56fe62(0x2f8)],_0x439086=(_0x610a2a,_0x396c0d,_0x356b1c,_0x9087d5)=>{var _0x2495a1=_0x56fe62;for(var _0x4c30b5=_0x9087d5>0x1?void 0x0:_0x9087d5?_0x17de4d(_0x396c0d,_0x356b1c):_0x396c0d,_0x15879a=_0x610a2a[_0x2495a1(0x17a)]-0x1,_0x116534;_0x15879a>=0x0;_0x15879a--)(_0x116534=_0x610a2a[_0x15879a])&&(_0x4c30b5=_0x116534(_0x4c30b5)||_0x4c30b5);return _0x4c30b5;},_0x1d302a=(_0x555c2d,_0x36abcb)=>(_0xfa72c7,_0x15dcae)=>_0x36abcb(_0xfa72c7,_0x15dcae,_0x555c2d);_0x43236a['CollaborativeUndoRedoService']=class extends _0x132a8a['LocalUndoRedoService']{constructor(_0x1856cc,_0x14ab28,_0x36ebbd,_0x49d380,_0x4ca0d0){var _0x51033a=_0x56fe62;super(_0x1856cc,_0x14ab28,_0x36ebbd),this['_transformService']=_0x49d380,this[_0x51033a(0x3ee)]=_0x4ca0d0;}[_0x56fe62(0x2ca)](_0x1d2a84,_0x104920){var _0x401bb7=_0x56fe62;const _0x3e3539=this['_getUndoStack'](_0x1d2a84);if(_0x3e3539)try{const _0xc3a7ff=this[_0x401bb7(0x135)](_0x3e3539,_0x104920);this[_0x401bb7(0x388)](_0x1d2a84,_0xc3a7ff);}catch(_0x5d9669){this[_0x401bb7(0x3ee)][_0x401bb7(0x32b)](_0x401bb7(0x1c1),_0x5d9669),this[_0x401bb7(0x285)](_0x1d2a84);}const _0x1cf12f=this[_0x401bb7(0x141)](_0x1d2a84);if(_0x1cf12f)try{const _0x5f411b=this[_0x401bb7(0x135)](_0x1cf12f,_0x104920);this['_substituteRedoStack'](_0x1d2a84,_0x5f411b);}catch(_0x36b56a){this[_0x401bb7(0x3ee)][_0x401bb7(0x32b)](_0x36b56a),this[_0x401bb7(0x1a6)](_0x1d2a84);}}[_0x56fe62(0x285)](_0x170d8a){var _0x3c9254=_0x56fe62;const _0x42af0a=this[_0x3c9254(0x34b)](_0x170d8a);_0x42af0a&&(_0x42af0a[_0x3c9254(0x17a)]=0x0,this['_updateStatus']());}[_0x56fe62(0x1a6)](_0x5eb056){var _0x24ad4c=_0x56fe62;const _0x5192f9=this[_0x24ad4c(0x141)](_0x5eb056);_0x5192f9&&(_0x5192f9[_0x24ad4c(0x17a)]=0x0,this[_0x24ad4c(0x264)]());}['_substituteUndoStack'](_0x49efbc,_0x7a4d38){var _0x5540b5=_0x56fe62;this[_0x5540b5(0x317)]['set'](_0x49efbc,_0x7a4d38),this[_0x5540b5(0x264)]();}[_0x56fe62(0x49d)](_0x5d90ce,_0x19ad2d){var _0x32503a=_0x56fe62;this[_0x32503a(0x327)][_0x32503a(0x35e)](_0x5d90ce,_0x19ad2d),this[_0x32503a(0x264)]();}[_0x56fe62(0x135)](_0x43b600,_0x31ae14){var _0x36b9b3=_0x56fe62;const _0x3b48b0=[];let _0x4d517a=_0x31ae14,_0x53fff0=_0x31ae14;for(let _0x47e2d1=_0x43b600[_0x36b9b3(0x17a)]-0x1;_0x47e2d1>=0x0;_0x47e2d1--){const {unitID:_0x43e6b4,undoMutations:_0x5c1512,redoMutations:_0x3e945c}=_0x43b600[_0x47e2d1],_0x578c58=this[_0x36b9b3(0x3bd)]['transformMutationsWithChangeset'](_0x4d517a,_0x5c1512),_0x53a03b=this[_0x36b9b3(0x3bd)][_0x36b9b3(0x3f6)](_0x53fff0,_0x3e945c);if(_0x4a4eff['isTransformMutationsWithChangesetFailure'](_0x578c58)||_0x4a4eff[_0x36b9b3(0x3fc)](_0x53a03b)){this[_0x36b9b3(0x3ee)][_0x36b9b3(0x32b)](_0x36b9b3(0x1c1),_0x36b9b3(0x446),_0x578c58,_0x53a03b);break;}_0x4d517a=_0x578c58[_0x36b9b3(0x303)],_0x53fff0=_0x53a03b[_0x36b9b3(0x303)],_0x3b48b0['push']({'unitID':_0x43e6b4,'undoMutations':_0x578c58[_0x36b9b3(0x47e)],'redoMutations':_0x53a03b['m2Prime']});}return _0x3b48b0[_0x36b9b3(0x3ba)]();}},_0x43236a['CollaborativeUndoRedoService']=_0x439086([_0x1d302a(0x0,_0x132a8a['IUniverInstanceService']),_0x1d302a(0x1,_0x132a8a[_0x56fe62(0x342)]),_0x1d302a(0x2,_0x132a8a['IContextService']),_0x1d302a(0x3,_0x4a4eff[_0x56fe62(0x4a9)]),_0x1d302a(0x4,_0x132a8a[_0x56fe62(0x3f7)])],_0x43236a[_0x56fe62(0x23e)]);var _0x528a0a=Object['defineProperty'],_0x4a48e6=Object[_0x56fe62(0x2f8)],_0x48f071=(_0x1c5647,_0x5f169e,_0x288c72)=>_0x5f169e in _0x1c5647?_0x528a0a(_0x1c5647,_0x5f169e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x288c72}):_0x1c5647[_0x5f169e]=_0x288c72,_0x4a45a3=(_0x1e563a,_0x5b3335,_0x1fca0f,_0x20e8bd)=>{var _0x3c3584=_0x56fe62;for(var _0x323ae2=_0x20e8bd>0x1?void 0x0:_0x20e8bd?_0x4a48e6(_0x5b3335,_0x1fca0f):_0x5b3335,_0x25ff1c=_0x1e563a[_0x3c3584(0x17a)]-0x1,_0x2acace;_0x25ff1c>=0x0;_0x25ff1c--)(_0x2acace=_0x1e563a[_0x25ff1c])&&(_0x323ae2=_0x2acace(_0x323ae2)||_0x323ae2);return _0x323ae2;},_0x3e11eb=(_0x409686,_0x427bf5)=>(_0x3871f3,_0x7a86f6)=>_0x427bf5(_0x3871f3,_0x7a86f6,_0x409686),_0x259d04=(_0xa8c599,_0x43f0cc,_0x144126)=>_0x48f071(_0xa8c599,_0x43f0cc+'',_0x144126);const _0x21558c='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x43236a[_0x56fe62(0x288)]=class extends _0x132a8a[_0x56fe62(0x1a1)]{constructor(_0x15552f,_0x156d70,_0x6ee677,_0x2d47c4){var _0x54c6e2=_0x56fe62;super(),_0x18d62f(this,_0x54c6e2(0x4aa)),(this[_0x54c6e2(0x3ee)]=_0x156d70,this['_injector']=_0x6ee677,this[_0x54c6e2(0x2f7)]=_0x2d47c4);const {..._0x5c6248}=_0x132a8a['merge']({},_0x498ad0,_0x15552f);if(!_0x5c6248['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x54c6e2(0x4aa)]=_0x5c6248,this[_0x54c6e2(0x2f7)][_0x54c6e2(0x3b9)](_0x16e9e6,_0x5c6248);}[_0x56fe62(0x20d)](){var _0x28de4f=_0x56fe62;this[_0x28de4f(0x29e)](),this[_0x28de4f(0x401)]();}[_0x56fe62(0x29e)](){var _0x7b7cf1=_0x56fe62,_0x2a1d8b,_0x185e60;this['_injector'][_0x7b7cf1(0x172)](_0x132a8a[_0x7b7cf1(0x1cd)])&&this[_0x7b7cf1(0x3ee)][_0x7b7cf1(0x32b)]('[UniverCollaborationClientPlugin]',_0x7b7cf1(0x3f2));const _0x5ba216=_0x132a8a[_0x7b7cf1(0x25d)]([[_0x132a8a[_0x7b7cf1(0x1cd)],{'useClass':_0x43236a['CollaborativeUndoRedoService']}],[_0x43236a[_0x7b7cf1(0x276)]],[_0x43236a[_0x7b7cf1(0x3d4)]],[_0x43236a['SheetTransformSelectionsService']],[_0x398cd6],[_0x132e87],[_0x817b9d],[_0x294196],[_0x3d2ec6],[_0x43236a[_0x7b7cf1(0x435)]],[_0x56cc51,{'useClass':this[_0x7b7cf1(0x4aa)]['socketService']}],[_0x4a4eff[_0x7b7cf1(0x1a0)],{'useClass':_0x43236a[_0x7b7cf1(0x426)]}],[_0x132a8a[_0x7b7cf1(0x3b7)],{'useClass':_0x43236a[_0x7b7cf1(0x485)]}],[_0x58931d['IImageIoService'],{'useClass':_0x43236a['CollaborationImageIoService']}],[_0x132a8a['IMentionIOService'],{'useClass':_0x43236a[_0x7b7cf1(0x28f)]}],[_0x43236a[_0x7b7cf1(0x2ff)]],[_0x2f1d9c]],(_0x2a1d8b=this[_0x7b7cf1(0x4aa)])==null?void 0x0:_0x2a1d8b['override']);if(!((_0x185e60=this[_0x7b7cf1(0x4aa)])!=null&&_0x185e60['enableSingleActiveInstanceLock'])){const _0x1f0d08=_0x5ba216[_0x7b7cf1(0x22b)](([_0x36149f])=>_0x36149f===_0x4fa0d2);_0x1f0d08!==-0x1&&_0x5ba216[_0x7b7cf1(0x1f8)](_0x1f0d08,0x1);}_0x132a8a['registerDependencies'](this[_0x7b7cf1(0x3c0)],_0x5ba216);}[_0x56fe62(0x401)](){var _0x46cebd=_0x56fe62,_0xb4d06b,_0x1d719a,_0x392c4f;this['_injector']['get'](_0x38b1a1[_0x46cebd(0x4b1)])[_0x46cebd(0x2c5)]({'priority':0x14,'interceptor':_0x38b1a1[_0x46cebd(0x283)]({'maxParallel':0x6})}),(_0xb4d06b=this[_0x46cebd(0x4aa)])!=null&&_0xb4d06b['enableOfflineEditing']||(_0x1d719a=this[_0x46cebd(0x3c0)][_0x46cebd(0x2ce)](_0x11f168,_0x132a8a[_0x46cebd(0x136)][_0x46cebd(0x3bb)]))==null||_0x1d719a[_0x46cebd(0x2d0)](),(_0x392c4f=this['_config'])!=null&&_0x392c4f[_0x46cebd(0x240)]&&_0x132a8a[_0x46cebd(0x4b8)](this['_injector'],[[_0x398cd6]]),_0x132a8a[_0x46cebd(0x4b8)](this['_injector'],[[_0x132e87],[_0x43236a[_0x46cebd(0x2ff)]],[_0x294196]]);}},_0x259d04(_0x43236a[_0x56fe62(0x288)],'pluginName',_0x21558c),_0x43236a[_0x56fe62(0x288)]=_0x4a45a3([_0x132a8a[_0x56fe62(0x299)](_0x2a39fc[_0x56fe62(0x41b)],_0x4a4eff[_0x56fe62(0x27d)],_0x38b1a1['UniverNetworkPlugin']),_0x3e11eb(0x1,_0x132a8a[_0x56fe62(0x3f7)]),_0x3e11eb(0x2,_0x132a8a['Inject'](_0x132a8a[_0x56fe62(0x1ae)])),_0x3e11eb(0x3,_0x132a8a[_0x56fe62(0x2cf)])],_0x43236a['UniverCollaborationClientPlugin']),_0x43236a[_0x56fe62(0x311)]=_0x16e9e6,_0x43236a[_0x56fe62(0x1d3)]=_0x1ce56e,_0x43236a[_0x56fe62(0x353)]=_0x3fbd84,_0x43236a[_0x56fe62(0x3eb)]=_0x3d2ec6,_0x43236a[_0x56fe62(0x195)]=_0x817b9d,_0x43236a[_0x56fe62(0x32a)]=_0x148b14,_0x43236a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x555c26,_0x43236a[_0x56fe62(0x183)]=_0x1e596d,_0x43236a[_0x56fe62(0x47a)]=_0x3a00b0,_0x43236a[_0x56fe62(0x442)]=_0x5e0ea0,_0x43236a[_0x56fe62(0x15b)]=_0x56cc51,_0x43236a[_0x56fe62(0x2ed)]=_0x11f168,_0x43236a[_0x56fe62(0x33b)]=_0x48b40,_0x43236a[_0x56fe62(0x2a8)]=_0x4fa0d2,_0x43236a[_0x56fe62(0x2c1)]=0x3e8,_0x43236a[_0x56fe62(0x395)]=_0x371f06,_0x43236a['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x29228a,_0x43236a[_0x56fe62(0x494)]=_0x23a235,_0x43236a['SessionStatus']=_0x49f99f,_0x43236a[_0x56fe62(0x2ad)]=_0x494ec1,_0x43236a[_0x56fe62(0x237)]=_0x1ffe34,_0x43236a[_0x56fe62(0x25a)]=_0x16e1be,_0x43236a['serializeCombRequest']=_0x41ac03,Object[_0x56fe62(0x487)](_0x43236a,Symbol[_0x56fe62(0x4a1)],{'value':_0x56fe62(0x31f)});}));
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- function _0x26a5(_0x5ac20c,_0x1d683b){_0x5ac20c=_0x5ac20c-0xc1;const _0x1482d2=_0x1482();let _0x26a5e5=_0x1482d2[_0x5ac20c];return _0x26a5e5;}function _0x1482(){const _0x562ded=['fireEvent','8915624sBoZIO','pipe','MemberService','Inject','getCollabEntity','CollaborationStatusChanged','_univerInstanceService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getUnitId','length','loadSheetAsync','loadActiveSheetAsync','UniverCore','get','loadUnitOfRevision','CollaborationController','@univerjs/core/facade','FUniver','@univerjs-pro/collaboration-client','@univerjs-pro/collaboration','2366954GPoHrh','DataLoaderService','loadUnit','getCollaborationStatus','_injector','_collaborationController','31991571JfTpAD','6366bvGEAR','exports','UniverProCollaboration','state','toDisposable','Injector','_initialize','subscribeCollaborators','toStringTag','loadServerUnit','getCollaboration','_snapshotService','subscribe','getUniverSheet','status$','2681sAOlDJ','FBase','members$','entityInit$','extend','loadSheet','_handler','IUniverInstanceService','status','CollaborationStatus','NOT_COLLAB','FEnum','readyForCollab','loadActiveSheet','UniverCoreFacade','function','registerEventHandler','rxjs','972508YijoYC','@univerjs/core','UniverProCollaborationClientFacade','1645plGmFo','object','FCollaboration','4956NALJxL','loadServerUnitOfRevision','add','DisposableCollection','getOwnPropertyDescriptor','1876548uXnnMk'];_0x1482=function(){return _0x562ded;};return _0x1482();}(function(_0x54a450,_0x1ed153){const _0x182d96=_0x26a5,_0x53dd1e=_0x54a450();while(!![]){try{const _0x197fdf=parseInt(_0x182d96(0xdd))/0x1+-parseInt(_0x182d96(0xfe))/0x2+-parseInt(_0x182d96(0xe8))/0x3+parseInt(_0x182d96(0xe3))/0x4*(-parseInt(_0x182d96(0xe0))/0x5)+-parseInt(_0x182d96(0x105))/0x6*(parseInt(_0x182d96(0xcb))/0x7)+-parseInt(_0x182d96(0xea))/0x8+parseInt(_0x182d96(0x104))/0x9;if(_0x197fdf===_0x1ed153)break;else _0x53dd1e['push'](_0x53dd1e['shift']());}catch(_0x2b372b){_0x53dd1e['push'](_0x53dd1e['shift']());}}}(_0x1482,0xc0cb7),function(_0x32b7ee,_0x4d89a2){const _0x1f4f13=_0x26a5;typeof exports==_0x1f4f13(0xe1)&&typeof module<'u'?_0x4d89a2(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x1f4f13(0xda)&&define['amd']?define([_0x1f4f13(0x106),_0x1f4f13(0xfc),_0x1f4f13(0xfa),_0x1f4f13(0xde),_0x1f4f13(0xfd),_0x1f4f13(0xdc)],_0x4d89a2):(_0x32b7ee=typeof globalThis<'u'?globalThis:_0x32b7ee||self,_0x4d89a2(_0x32b7ee[_0x1f4f13(0xdf)]={},_0x32b7ee['UniverProCollaborationClient'],_0x32b7ee[_0x1f4f13(0xd9)],_0x32b7ee[_0x1f4f13(0xf6)],_0x32b7ee[_0x1f4f13(0x107)],_0x32b7ee[_0x1f4f13(0xdc)]));}(this,function(_0x1cce30,_0x432046,_0x1de2fa,_0x2fa5ab,_0xee1ea8,_0x389bd1){'use strict';const _0x2e7cde=_0x26a5;class _0x445e3e extends _0x1de2fa[_0x2e7cde(0xd6)]{get['CollaborationStatus'](){return _0x432046['CollaborationStatus'];}}_0x1de2fa[_0x2e7cde(0xd6)][_0x2e7cde(0xcf)](_0x445e3e);class _0x5ae32f{get[_0x2e7cde(0xef)](){const _0x207fdb=_0x2e7cde;return _0x207fdb(0xef);}}_0x1de2fa['FEventName'][_0x2e7cde(0xcf)](_0x5ae32f);var _0x3bb960=Object[_0x2e7cde(0xe7)],_0x5806aa=(_0x53bb2f,_0x415147,_0x319201,_0x1f1586)=>{const _0x111bed=_0x2e7cde;for(var _0x522509=_0x1f1586>0x1?void 0x0:_0x1f1586?_0x3bb960(_0x415147,_0x319201):_0x415147,_0x601d66=_0x53bb2f[_0x111bed(0xf3)]-0x1,_0x215266;_0x601d66>=0x0;_0x601d66--)(_0x215266=_0x53bb2f[_0x601d66])&&(_0x522509=_0x215266(_0x522509)||_0x522509);return _0x522509;},_0xc418a0=(_0x107614,_0x45fb58)=>(_0x4b88c8,_0x4c7b8d)=>_0x45fb58(_0x4b88c8,_0x4c7b8d,_0x107614);_0x1cce30[_0x2e7cde(0xe2)]=class extends _0x1de2fa[_0x2e7cde(0xcc)]{constructor(_0x146bed,_0x23a3dc,_0x49e2ac,_0x556fc6,_0x342bfe){const _0x138d95=_0x2e7cde;super(),this[_0x138d95(0xd1)]=_0x146bed,this['_injector']=_0x23a3dc,this['_univerInstanceService']=_0x49e2ac,this[_0x138d95(0xc7)]=_0x556fc6,this[_0x138d95(0x103)]=_0x342bfe;}async[_0x2e7cde(0xd8)](){const _0x2a2d04=_0x2e7cde;return this[_0x2a2d04(0xf5)]();}async[_0x2e7cde(0xf5)](){const _0x1106f7=_0x2e7cde;throw new Error(_0x1106f7(0xf1));}async[_0x2e7cde(0xd0)](_0x16a7e7){return this['loadSheetAsync'](_0x16a7e7);}async[_0x2e7cde(0xf4)](_0x16681e,_0x125eed){const _0x566f21=_0x2e7cde;return await this[_0x566f21(0xc7)]['loadSheet'](_0x16681e,0x0,_0x125eed)?(await this[_0x566f21(0x103)][_0x566f21(0xd7)](_0x16681e),this[_0x566f21(0xd1)][_0x566f21(0xc9)](_0x16681e)):null;}[_0x2e7cde(0xc3)](_0x2c9445,_0x2b6e45){const _0x20e18f=_0x2e7cde,_0x1365de=this[_0x20e18f(0x102)]['get'](_0x432046[_0x20e18f(0xec)])['waitForRoom$'](_0x2c9445)[_0x20e18f(0xeb)](_0x389bd1['switchMap'](_0x2d2108=>_0x2d2108[_0x20e18f(0xcd)]))[_0x20e18f(0xc8)](_0x10fb13=>_0x2b6e45(Array['from'](_0x10fb13['values']())));return _0x2fa5ab[_0x20e18f(0x109)](_0x1365de);}[_0x2e7cde(0x101)](_0x4178aa){const _0x24e16c=_0x2e7cde;var _0x4144d2;let _0x137981;if(_0x4178aa)_0x137981=_0x4178aa;else{const _0x1b7866=this[_0x24e16c(0xf0)]['getFocusedUnit']();_0x137981=_0x1b7866==null?void 0x0:_0x1b7866[_0x24e16c(0xf2)]();}if(!_0x137981)return _0x432046[_0x24e16c(0xd4)][_0x24e16c(0xd5)];const _0xd248cb=this[_0x24e16c(0x103)][_0x24e16c(0xee)](_0x137981);return(_0x4144d2=_0xd248cb==null?void 0x0:_0xd248cb[_0x24e16c(0x108)][_0x24e16c(0xd3)])!=null?_0x4144d2:_0x432046[_0x24e16c(0xd4)][_0x24e16c(0xd5)];}},_0x1cce30[_0x2e7cde(0xe2)]=_0x5806aa([_0xc418a0(0x1,_0x2fa5ab[_0x2e7cde(0xed)](_0x2fa5ab[_0x2e7cde(0xc1)])),_0xc418a0(0x2,_0x2fa5ab[_0x2e7cde(0xd2)]),_0xc418a0(0x3,_0x2fa5ab['Inject'](_0xee1ea8['SnapshotService'])),_0xc418a0(0x4,_0x2fa5ab['Inject'](_0x432046[_0x2e7cde(0xf9)]))],_0x1cce30[_0x2e7cde(0xe2)]);class _0x49c4b7 extends _0x1de2fa[_0x2e7cde(0xfb)]{[_0x2e7cde(0xc2)](_0x801d19){const _0xb39baf=_0x2e7cde,_0x584252=_0x801d19[_0xb39baf(0xf7)](_0x432046['CollaborationController']);this['disposeWithMe'](this[_0xb39baf(0xdb)](this['Event'][_0xb39baf(0xef)],()=>{const _0xf69608=_0xb39baf,_0x573988=new _0x2fa5ab[(_0xf69608(0xe6))](),_0x53283f=_0x584252[_0xf69608(0xce)][_0xf69608(0xc8)](_0x1fef13=>{const _0xd84ea8=_0xf69608,_0x4c28a3=_0x1fef13[_0xd84ea8(0xca)]['subscribe'](_0x3c4837=>{const _0x11c78d=_0xd84ea8;this[_0x11c78d(0xe9)](this['Event'][_0x11c78d(0xef)],{'unitId':_0x1fef13['unitID'],'status':_0x3c4837});});_0x573988[_0xd84ea8(0xe5)](_0x2fa5ab[_0xd84ea8(0x109)](_0x4c28a3));});return _0x573988['add'](_0x2fa5ab[_0xf69608(0x109)](_0x53283f)),_0x573988;}));}[_0x2e7cde(0xc6)](){const _0x10622b=_0x2e7cde;return this[_0x10622b(0x102)]['createInstance'](_0x1cce30[_0x10622b(0xe2)],{'getUniverSheet':_0x15e8f3=>this[_0x10622b(0xc9)](_0x15e8f3)});}[_0x2e7cde(0xc5)](_0x1ea4de,_0x4260cc,_0x31c5d3){const _0x22561f=_0x2e7cde;return this[_0x22561f(0x102)]['get'](_0x432046[_0x22561f(0xff)])[_0x22561f(0x100)](_0x1ea4de,_0x4260cc,_0x31c5d3);}[_0x2e7cde(0xe4)](_0x2213f3,_0x569540,_0x475797){const _0xacd42d=_0x2e7cde;return this['_injector'][_0xacd42d(0xf7)](_0x432046['DataLoaderService'])[_0xacd42d(0xf8)](_0x2213f3,_0x569540,_0x475797);}}_0x1de2fa[_0x2e7cde(0xfb)][_0x2e7cde(0xcf)](_0x49c4b7),Object['defineProperty'](_0x1cce30,Symbol[_0x2e7cde(0xc4)],{'value':'Module'});}));
5
+ function _0x10be(){const _0x4abc6d=['switchMap','loadSheetAsync','subscribe','54042rjMsOq','_injector','@univerjs-pro/collaboration','extend','UniverProCollaboration','_univerInstanceService','add','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','members$','pipe','readyForCollab','_snapshotService','FUniver','_initialize','575UiqAVg','status$','state','getUnitId','defineProperty','registerEventHandler','CollaborationStatus','_collaborationController','UniverCore','1057529NXaMyN','12JVWDKa','getUniverSheet','loadServerUnitOfRevision','getCollaborationStatus','createInstance','168lzJhhb','@univerjs/core','Event','unitID','UniverProCollaborationClient','getFocusedUnit','4039570WtwgUU','toStringTag','toDisposable','_handler','18hBCcpo','fireEvent','subscribeCollaborators','CollaborationController','698614bJcDZh','values','rxjs','entityInit$','NOT_COLLAB','Inject','8huOIjK','loadUnit','from','FEnum','get','disposeWithMe','exports','FCollaboration','loadActiveSheet','loadUnitOfRevision','411662IjiZBM','status','object','loadSheet','UniverProCollaborationClientFacade','CollaborationStatusChanged','loadActiveSheetAsync','loadServerUnit','Module','getCollaboration','@univerjs-pro/collaboration-client','6236329SJfHaF','getOwnPropertyDescriptor','DataLoaderService','@univerjs/core/facade','65732eryerQ'];_0x10be=function(){return _0x4abc6d;};return _0x10be();}function _0x2c5a(_0x487c46,_0x3ce330){_0x487c46=_0x487c46-0xeb;const _0x10be9c=_0x10be();let _0x2c5a10=_0x10be9c[_0x487c46];return _0x2c5a10;}(function(_0xfb8e04,_0x3ac774){const _0x13c46e=_0x2c5a,_0x37b5e3=_0xfb8e04();while(!![]){try{const _0x2e46e1=-parseInt(_0x13c46e(0x133))/0x1+parseInt(_0x13c46e(0x109))/0x2+-parseInt(_0x13c46e(0xeb))/0x3*(parseInt(_0x13c46e(0x118))/0x4)+-parseInt(_0x13c46e(0x12a))/0x5*(-parseInt(_0x13c46e(0x11c))/0x6)+parseInt(_0x13c46e(0xf9))/0x7*(-parseInt(_0x13c46e(0xff))/0x8)+-parseInt(_0x13c46e(0xf5))/0x9*(-parseInt(_0x13c46e(0xf1))/0xa)+-parseInt(_0x13c46e(0x114))/0xb*(-parseInt(_0x13c46e(0x134))/0xc);if(_0x2e46e1===_0x3ac774)break;else _0x37b5e3['push'](_0x37b5e3['shift']());}catch(_0x4e6c64){_0x37b5e3['push'](_0x37b5e3['shift']());}}}(_0x10be,0x8391e),function(_0x3394d4,_0x37f268){const _0x3a3962=_0x2c5a;typeof exports==_0x3a3962(0x10b)&&typeof module<'u'?_0x37f268(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define=='function'&&define['amd']?define([_0x3a3962(0x105),_0x3a3962(0x113),_0x3a3962(0x117),_0x3a3962(0xec),_0x3a3962(0x11e),_0x3a3962(0xfb)],_0x37f268):(_0x3394d4=typeof globalThis<'u'?globalThis:_0x3394d4||self,_0x37f268(_0x3394d4[_0x3a3962(0x10d)]={},_0x3394d4[_0x3a3962(0xef)],_0x3394d4['UniverCoreFacade'],_0x3394d4[_0x3a3962(0x132)],_0x3394d4[_0x3a3962(0x120)],_0x3394d4[_0x3a3962(0xfb)]));}(this,function(_0x123a99,_0x342178,_0x18b6e0,_0x1cc93f,_0xf167f9,_0x5c8a09){'use strict';const _0x366aab=_0x2c5a;class _0x3d5c66 extends _0x18b6e0[_0x366aab(0x102)]{get[_0x366aab(0x130)](){const _0x337e90=_0x366aab;return _0x342178[_0x337e90(0x130)];}}_0x18b6e0[_0x366aab(0x102)]['extend'](_0x3d5c66);class _0x8005c{get['CollaborationStatusChanged'](){return'CollaborationStatusChanged';}}_0x18b6e0['FEventName']['extend'](_0x8005c);var _0x505911=Object[_0x366aab(0x115)],_0x103a38=(_0x7724fa,_0x13a37b,_0x2ff29e,_0x280965)=>{for(var _0x25ce85=_0x280965>0x1?void 0x0:_0x280965?_0x505911(_0x13a37b,_0x2ff29e):_0x13a37b,_0x1acb39=_0x7724fa['length']-0x1,_0x396d41;_0x1acb39>=0x0;_0x1acb39--)(_0x396d41=_0x7724fa[_0x1acb39])&&(_0x25ce85=_0x396d41(_0x25ce85)||_0x25ce85);return _0x25ce85;},_0x53415b=(_0x462193,_0x436c1d)=>(_0x1f9cda,_0x374b99)=>_0x436c1d(_0x1f9cda,_0x374b99,_0x462193);_0x123a99[_0x366aab(0x106)]=class extends _0x18b6e0['FBase']{constructor(_0x4ab055,_0xf59311,_0x149b6b,_0x181734,_0x2c458c){const _0x117484=_0x366aab;super(),this[_0x117484(0xf4)]=_0x4ab055,this[_0x117484(0x11d)]=_0xf59311,this[_0x117484(0x121)]=_0x149b6b,this[_0x117484(0x127)]=_0x181734,this[_0x117484(0x131)]=_0x2c458c;}async[_0x366aab(0x107)](){const _0x3c1fd8=_0x366aab;return this[_0x3c1fd8(0x10f)]();}async[_0x366aab(0x10f)](){const _0xe00e31=_0x366aab;throw new Error(_0xe00e31(0x123));}async[_0x366aab(0x10c)](_0x37329f){const _0x5350d4=_0x366aab;return this[_0x5350d4(0x11a)](_0x37329f);}async['loadSheetAsync'](_0x335af1,_0x2df050){const _0x753b78=_0x366aab;return await this[_0x753b78(0x127)][_0x753b78(0x10c)](_0x335af1,0x0,_0x2df050)?(await this[_0x753b78(0x131)][_0x753b78(0x126)](_0x335af1),this['_handler']['getUniverSheet'](_0x335af1)):null;}[_0x366aab(0xf7)](_0x36d2d3,_0x4e8d63){const _0x18799c=_0x366aab,_0x4e3838=this[_0x18799c(0x11d)][_0x18799c(0x103)](_0x342178['MemberService'])['waitForRoom$'](_0x36d2d3)[_0x18799c(0x125)](_0x5c8a09[_0x18799c(0x119)](_0x7e64a8=>_0x7e64a8[_0x18799c(0x124)]))[_0x18799c(0x11b)](_0x135d3b=>_0x4e8d63(Array[_0x18799c(0x101)](_0x135d3b[_0x18799c(0xfa)]())));return _0x1cc93f[_0x18799c(0xf3)](_0x4e3838);}[_0x366aab(0x137)](_0x211c95){const _0x265a1e=_0x366aab;var _0x59ded2;let _0x10a3ec;if(_0x211c95)_0x10a3ec=_0x211c95;else{const _0x4d356f=this['_univerInstanceService'][_0x265a1e(0xf0)]();_0x10a3ec=_0x4d356f==null?void 0x0:_0x4d356f[_0x265a1e(0x12d)]();}if(!_0x10a3ec)return _0x342178[_0x265a1e(0x130)][_0x265a1e(0xfd)];const _0x3915f0=this['_collaborationController']['getCollabEntity'](_0x10a3ec);return(_0x59ded2=_0x3915f0==null?void 0x0:_0x3915f0[_0x265a1e(0x12c)][_0x265a1e(0x10a)])!=null?_0x59ded2:_0x342178['CollaborationStatus'][_0x265a1e(0xfd)];}},_0x123a99[_0x366aab(0x106)]=_0x103a38([_0x53415b(0x1,_0x1cc93f[_0x366aab(0xfe)](_0x1cc93f['Injector'])),_0x53415b(0x2,_0x1cc93f['IUniverInstanceService']),_0x53415b(0x3,_0x1cc93f[_0x366aab(0xfe)](_0xf167f9['SnapshotService'])),_0x53415b(0x4,_0x1cc93f['Inject'](_0x342178[_0x366aab(0xf8)]))],_0x123a99[_0x366aab(0x106)]);class _0x3e0bb5 extends _0x18b6e0[_0x366aab(0x128)]{[_0x366aab(0x129)](_0x1ac0ae){const _0x175626=_0x366aab,_0x16ddbb=_0x1ac0ae[_0x175626(0x103)](_0x342178['CollaborationController']);this[_0x175626(0x104)](this[_0x175626(0x12f)](this[_0x175626(0xed)][_0x175626(0x10e)],()=>{const _0x34bf3c=_0x175626,_0x56e817=new _0x1cc93f['DisposableCollection'](),_0x189128=_0x16ddbb[_0x34bf3c(0xfc)]['subscribe'](_0x5ac082=>{const _0x22385a=_0x34bf3c,_0x327881=_0x5ac082[_0x22385a(0x12b)][_0x22385a(0x11b)](_0x1e7f5a=>{const _0x297f94=_0x22385a;this[_0x297f94(0xf6)](this['Event'][_0x297f94(0x10e)],{'unitId':_0x5ac082[_0x297f94(0xee)],'status':_0x1e7f5a});});_0x56e817[_0x22385a(0x122)](_0x1cc93f['toDisposable'](_0x327881));});return _0x56e817[_0x34bf3c(0x122)](_0x1cc93f['toDisposable'](_0x189128)),_0x56e817;}));}[_0x366aab(0x112)](){const _0x408815=_0x366aab;return this[_0x408815(0x11d)][_0x408815(0x138)](_0x123a99[_0x408815(0x106)],{'getUniverSheet':_0x11dba2=>this[_0x408815(0x135)](_0x11dba2)});}[_0x366aab(0x110)](_0x465a19,_0x137d1f,_0x319dfe){const _0x12ab07=_0x366aab;return this[_0x12ab07(0x11d)][_0x12ab07(0x103)](_0x342178[_0x12ab07(0x116)])[_0x12ab07(0x100)](_0x465a19,_0x137d1f,_0x319dfe);}[_0x366aab(0x136)](_0x39e245,_0x5f1497,_0x280948){const _0x27549c=_0x366aab;return this['_injector'][_0x27549c(0x103)](_0x342178[_0x27549c(0x116)])[_0x27549c(0x108)](_0x39e245,_0x5f1497,_0x280948);}}_0x18b6e0['FUniver'][_0x366aab(0x11f)](_0x3e0bb5),Object[_0x366aab(0x12e)](_0x123a99,Symbol[_0x366aab(0xf2)],{'value':_0x366aab(0x111)});}));
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0x3f90(_0xf88a0f,_0x4334db){_0xf88a0f=_0xf88a0f-0xcb;const _0x3893da=_0x3893();let _0x3f90a1=_0x3893da[_0xf88a0f];return _0x3f90a1;}function _0x3893(){const _0x1f0edb=['collaboration-client-ui.config','getColor','event$','addEventListener','restore','APPLY_NON_SEQUENTIAL_REVISION','imageSourceType','_hasFormulaInDirtyRanges','_setFormulaLimitStatus','_anchor','off-line-icon_clip0_910_343','_docStateChangeManagerService','handleDeleteRangeMoveUp','UniverProCollaborationClient','HEADER_MENU','RemoveColCommandId','@univerjs/sheets','font','_transformHistoryAndStateStack','exports','loadUnit','2619376oamong','bottom','RegularPolygon','_maxFormulaLimit','OffLineIcon','rxjs','now','_context','saveTaskMap','roomMembers','then','_name','onPointerMove$','2kbDGgy','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','fillStyle','subunit','handleInsertCol','object','_drawAnchor','LOGIN_TOKEN_PROCESSING_FAILED','pluginName','Success','all','onPointerLeave$','LocaleService','_getAnchorBounding','START_CALCULATION','startFormulaLimitUrl','throttleTime','_updateCollabCursors','cursorInfo$','JOIN_ROOM_FAILED','hovered','getColorFromTheme','UniverProCollaborationClientUi','...','registerDependencies','/universer-api/frontend/logs','SNAPSHOT_HAS_BEEN_REMOVED','getSheetId','_localCacheService','saveImage','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_refreshCollabCursors','FromArray','collabCursorState$','_startDocCollabCursor','arc','getRangePointData','UPDATE_CURSOR','parseInt','_docTransformStateCacheService','getMember','TRANSFORM_CHANGE_OBSERVABLE_TYPE','ILogService','asObservable','entries','_initStatusComponent','delete','getCoordByCell','dispose$','_session','replaceState','path','_messageService','_removeClearOtherTimer','1966164NMAbbp','yellow.400','deserializeRangeWithSheet','children','code','text','div','_revisionService','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','getValue','@univerjs/ui','transformStateCache','createElement','green.600','ThemeService','transformMutation','executionId','_onRefRangeChange','_selfUnitIDs','_httpService','length','[CollaborationDataLoaderController]','_syncEditingCollabCursorService','Tooltip','ENTITLE_DUP_SUBSCRIPTION','formula.calculation.unable','USER_NOT_FOUND','ITransformService','searchParams','color','_localeService','syncEditingCollabCursor','currentColor','xlink:href','registerRefRange','REDEMPTION_CODE_INACTIVE','releaseFormulaLimitUrl','onRendered','_render','ENSURE_SNAPSHOT_EXECUTION','react','join','_saveCache','_clearPolling','handleInsertRangeMoveDown','connectInjector','_color','_registerDependencies','_roomMembers$','LICENSE_EXPORT_SIZE_EXCEEDED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PY_RUNTIME_SCRIPT_ERROR','disposeUnit','@univerjs/engine-formula','getDocRanges','current','sheetId','_eventUnsubscribe','ticket','/universer-api/license/formula/limit/status','Subject','getCurrentSelections','@univerjs/engine-render','UniverSheetsUi','_entities','activeSheet$','MOBILE_HAS_BEEN_BOUND','_checkAndWaitForCalculationPermission','_lastResponseTimestamp','_cursorShapes','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','REDEMPTION_CODE_NOT_STARTED','doc.mutation.rich-text-editing','whenReady','/universer-api/license/formula/limit/done','RxDisposable','@univerjs/network','split','_assignedColors','Tools','InsertRowCommandId','CONFLICT','disposeWithMe','_unitOnClients','get','add','IMessageService','rxjs/operators','catch','OFFLINE','IUniverInstanceService','UNIVER_SHEET','_cursorInfo$','800crFQAo','SNAPSHOT_INVALID_SNAPSHOT','2349645KKDMaR','_saveTaskMap','_memberService','WebBrowserSingleActiveUnitService','name','setStateCache','generateRandomId','CollaborationDataLoaderController','executeCommand','startsWith','getUnitId','_removeCollabCursors','debounce','currentUsage','setUndoRedoMutationParamsCache','YUUMI_URL_COL_OUT_OF_RANGE','REDEMPTION_USER_REDEEM_TIMES_EXCEED','COMPLETION_FINISHED','_releaseCalculationLimit','INVALID_INVITE_CODE','_configService','Injector','_scheduleSaving','_drawRectRange','contains','ISocketService','params','getSkeleton','_instanceService','SessionStatus','SetTextSelectionsOperation','handleInsertRow','data','_scheduleHeartbeat','DocSelectionManagerService','[LogService\x20Error]:\x20','DEFAULT_WS_SESSION_TICKET_URL','sessionStatus$','exhaustSavingTask','APPLY_REJECT','univer-flex\x20univer-items-center','black','save','_lastPointer','textRanges','getUniverSheetInstance','endColumn','collab-text-range-','collabStatus.syncing','transform','0\x200\x2016\x2016','_handleHover','USER_IS_ANONYMOUS','map','_initCommandExecutedListener','UniverDesign','m1Prime','unshift','startRow','labelPosition','defIds','_ensureSubject','idSuffix','subscribeEvent','RemoteUniscriptService','Failed','replace','1078275zVaxFW','_currentUsage','_updateSubUnitFromURLParams','_pollingInterval','top','0\x200\x2017\x2016','_sheetSkeletonManagerService','ENTITLE_COUPON_EXPIRED','_taskIds','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getCurrentRevOfUnit','SheetSkeletonManagerService','_collabCursorState$','[Window\x20Error]:\x20','override','evenodd','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','FormulaExecutedStateType','requireSession','debounceTime','PENDING','currentSkeleton$','EMAIL_HAS_BEEN_BOUND','@univerjs-pro/collaboration-client','round','_cachedData','590240mXLcwT','row','getSheetBySheetId','getRenderById','ColorKit','unhandledrejection','onMouseMove','IURLService','registerRenderModule','YUUMI_CONNECTOR_URL_NOT_FOUND','mapTo','_id','setItem','_cursor','height','_labelPosition','_send','useRef','debug','send','moveTo','_injector','_logService','roomMembers$','createInstance','clearInterval','_handleLeaveEvent','on-line-icon','_setupSubUnitSync','AUTHORIZE_CODE_ILLEGAL','SYNCED','SetFormulaCalculationNotificationMutation','jsx','touchDependencies','UniverUi','sheetID','history','getAncestorScale','DependentOn','url(#on-line-icon_clip0_910_349)','addObjects','forEach','1em','addClipboardHook','OTHER_CLIENT_EDITING','wsSessionTicketUrl','assignAColorForMemberID','LOGIN_FAILED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','handleDeleteRangeMoveLeft','_showGuardMessage','_initWindowErrorListener','string','CHANGESET_REVISION_CONFILICT','DisposableCollection','/universer-api/license/formula/limit/start','_backgroundColor','none','_refRangeService','YUUMI_ALL_TABLES_IS_INVALID','from','Shape','_uiPartsService','MemberService','InsertColCommandId','entityInit$','defineProperty','body','CollaborationSessionService','IImageIoService','INVITE_CODE_ALREADY_BOUND','addHandlerCallback','Disposable','RefRangeService','clipPath','CONNECTOR_DATA_TOO_LARGE','status$','UniverCollaborationClientUIPlugin','Inject','uni.network.url-service','distinctUntilChanged','UNDEFINED','_beforeCloseService','transformByState','deepClone','post','UNRECOGNIZED','_anchorDot','http://www.w3.org/2000/svg','_scheduleClearOtherTimer','_updateLocalCursor','push','YUUMI_AI_RUN_FAILED','getLocalCacheKey','runId','getItem','focused$','toDisposable','_getSheetObject','getUndoRedoMutationParamsCache','DocStateChangeManagerService','getCurrentUnitForType','_univerInstanceService','_memberID','removeEventListener','transformMutationsWithChangeset','getRelativeToViewportCoord','_collaborationUIEventService','parse','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','tag','getCellMatrix','setInterval','jiqing.500','TOO_MANY_REQUESTS','engine','_updateURLWithCurrentState','_docClipboardService','_shapes','backgroundColor','CollaborationEvent','saveOfflineData','collabStatus.fetchMiss','ENTITLE_CHAT_LIMIT_EXCEED','isTransformMutationFailure','serializeRangeWithSheet','EffectRefRangId','UNIVER_DOC','measureText','_uploadLog','SOCKET_FAILED_RETRY','getActiveRange','_transformPreviousActiveRange','getTypeOfUnitAdded$','formula.calculation.waiting','ILocalStorageService','shareReplay','UniverDocs','_registerRenderDependencies','unitId','error','transformSelections','TEXT_RANGE_LAYER_INDEX','url(#off-line-icon_clip0_910_343)','type','socket$','getUnit','size','UniverEngineRender','ONLINE','LOCAL_CACHE_INTERVAL_KEY','_imageIoService','Warning','_toggleOnline','replaceDocRanges','isEditing','merge','PERMISSION_DENIED','getFocusedUnit','selection','570355yRnJpR','getTypeOfUnitDisposed$','INotificationService','session.collaboration-timeout','_onCursorUpdate','registerBeforeClose','_transformService','max','APPLY_DUPLICATED','_startSheetCollabCursor','_initUserListener','@univerjs/core','LICENSE_IMPORT_SIZE_EXCEEDED','getStateCache','collabStatus.offline','isArray','urlChange$','getMergeData','complete','REDEMPTION_INVALID_CODE','docStateChange$','unload','SUBMIT_CHANGESET_TIMEOUT','CollaborationUIEventId','REDEMPTION_CODE_FULLY_REDEEMED','drawWith','RevisionService','_handleEvent','skeleton','REDEMPTION_CODE_HAS_BEEN_CREATED','_disabled','stageInfo','findNodePositionByCharIndex','_initEvent','BuiltInUIPart','newValue','currentTheme$','svg','_renderManagerService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','key','makeDirty','EMAIL_VERIFY_CODE_MISMATCH','_status$','MoveRangeCommandId','isTransformMutationsWithChangesetSuccess','displayName','_entityInit$','ICommandService','DOC_RANGE_TYPE','@univerjs/design','PAYMENT_CHANNEL_NOT_SUPPORT','isActive','Optional','getOffsetConfig','IDocClipboardService','_getSaveTimeout','forwardRef','mutations','fromEventSubject','NOT_FOUND','SetFormulaCalculationStartMutation','INTERNAL_ERROR','Unknown\x20user','CLOSE_ROOM','useDependency','_handleJoinEvent','combineLatest','_config','includes','IRenderManagerService','redoState','unit','_getMergeRange','symbol','NO_OTHER_CLIENTS_EDITING','updateOfflineData','url(#$1','_unitStatus','href','getUnitStatus$','blue.400','beforeCommandExecuted','_docSyncEditingCollabCursorService','@univerjs/rpc','INVITE_CODE_HAS_BEEN_UES','isFormulaId','_initDependencies','MUTATION','registerComponent','transformRemoteChangeset','_hovered','TEXT','SheetsSelectionsService','startColumn','switchMap','DesktopCollaborationStatusDisplayController','onCommandExecuted','width','init','use','APPLY_PERMISSION_DENIED','bind','@univerjs-pro/collaboration','totalFormulasToCalculate','ENTITLE_CAN_NOT_BUY_LOWER_OTP','permission.content','IConfigService','takeUntil','fillText','createIdentifier','memberID','YUUMI_SUBSCRIPTION_NOT_FOUND','_transformUndoRedoStack','_textBubble','BehaviorSubject','UniverCore','jsxs','some','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getConfig','getViewport','collaboration.closeRoom','subUnitId','ENTITLE_USE_COUPON_NOT_1ST_TRADE','MessageType','\x20at\x20','collabStatus.synced','NodePositionConvertToCursor','_document','YUUMI_UNABLE_LOAD_URL','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CollaborationController','_clearOtherTimers','M0\x200H16V16H0z','collabStatus.conflict','_commandService','SetSelectionsOperation','function','CollaborationStatus','_monkeyPatchLogService','red.300','_applyCommand','_docTransformSelectionsService','OnLineIcon','assign','YUUMI_ASYNCIO_CANCELLED','Loading','RemoveRowCommandId','ACTIVE_UNIT_EVENT_CHANNEL','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getActiveSheet','_themeService','getOwnPropertyDescriptor','LICENSE_DISTRO_REJECTED','_colorIndex','_heartbeatTimer','subscribe','session.connection-failed','setAlpha','_localStorageService','_initUnhandledRejectionListener','_initEntityListener','MOBILE_VERIFY_CODE_MISMATCH','Error','useCallback','mask','runOnServer','SetWorksheetActivateCommand','clearTimeout','formula.calculation.started','popstate','_onCursorDelete','_initResize','undoState','_colorAssignService','DocCollaborationEntity','COLORS','handleIRemoveCol','_getSessionTicket','@univerjs/docs-ui','_init','_drawTextRange','m2Prime','getCollabCursors$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DocIMEInputManagerService','_online','DocSkeletonManagerService','_hideTimer','next','addObject','WECHAT_HAS_BEEN_BOUND','triggerDblclick','handleInsertRangeMoveRight','APPLY_REVISION_CONFILICT','setShapeProps','InsertRangeMoveRightCommandId','setTimeout','_toggleOffline','YUUMI_NO_CUBOID_FOR_QUESTION','UniverSheets','hide','_cursors','_createSocketURL','translate(.97)','stack','IUIPartsService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','toString','set','flatMap','origin','colorChannel1','YUUMI_RATE_OVER_LIMIT','editingUnit','_collabSessionService','NodePositionConvertToRectRange','attrs','45351WCxVst','UniverInstanceType','_docTransformIMECacheService','UnitStatus','trim','NOT_COLLAB','VIEW_MAIN','ENTITLE_NEED_BILLING_ADDRESS','getParam','_startCalculationLimit','Module','FormulaExecuteStageType','_hover','getMemberID','getCellPositionByOffset','enableFrontendLog','_urlService','dirtyRanges','IBeforeCloseService','getCollabEntity$','toRgbString','UniverRpc','REDEMPTION_USER_NOT_ELIGIBLE','unitID','_scene','with','_collaborationSessionService','WebSocketService','filter','InsertRangeMoveDownCommandId','SUCCESS','collaboration.offline-data-not-saved','CommandType','IRemoteInstanceService','dispose','cursorInfo','fromEvent','pushState','useObservable','off-line-icon','_dataLoaderService','pipe','limitInfo','UNAUTHENTICATED','_initCommandInterceptor','ILocalCacheService','enableLocalCache','lineTo','_initStatusListener','_collaborationController','has','disableLocalCache','RECT','defs','DATA_SOURCE_TOO_LARGE','BrowserCollaborationSocketService','ranges','column','7bVrJcM','invokeId','location','SheetCollabCursorShape','show','onPointerEnter$','_handleHeartbeatEvent','runRefRangeMutations','CURRENT_STATUS_CANNOT_OPERATE','source','ISnapshotServerService','ENTITLE_INVALID_COUPON_CODE','reconnect','stringify','on-line-icon_clip0_910_349','substring','_collabCursorController','session.will-retry','white','values','_range','fill','INVITE_CODE_REQUIRED','endRow','selections','ENTITLE_INSUFFICIENT_QUOTA','handleIRemoveRow','_getScale','_docSkeletonManagerService','stage','ALREADY_EXISTS','Rect','WebURLService','setParam'];_0x3893=function(){return _0x1f0edb;};return _0x3893();}(function(_0x1baf0f,_0x1b0090){const _0x18104a=_0x3f90,_0x37e716=_0x1baf0f();while(!![]){try{const _0x59da7f=-parseInt(_0x18104a(0x19c))/0x1*(-parseInt(_0x18104a(0x2f5))/0x2)+-parseInt(_0x18104a(0xe2))/0x3+parseInt(_0x18104a(0xfc))/0x4+-parseInt(_0x18104a(0x38a))/0x5+parseInt(_0x18104a(0x32b))/0x6*(parseInt(_0x18104a(0x2b1))/0x7)+-parseInt(_0x18104a(0x2e8))/0x8+parseInt(_0x18104a(0x277))/0x9*(parseInt(_0x18104a(0x388))/0xa);if(_0x59da7f===_0x1b0090)break;else _0x37e716['push'](_0x37e716['shift']());}catch(_0x352fbb){_0x37e716['push'](_0x37e716['shift']());}}}(_0x3893,0x47471),function(_0x2b52bc,_0x3310b6){const _0x1b9c7d=_0x3f90;typeof exports==_0x1b9c7d(0x2fa)&&typeof module<'u'?_0x3310b6(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x1b9c7d(0x226)&&define['amd']?define([_0x1b9c7d(0x2e6),'react/jsx-runtime',_0x1b9c7d(0xf9),_0x1b9c7d(0x1a7),_0x1b9c7d(0x335),'rxjs',_0x1b9c7d(0x1ce),_0x1b9c7d(0x353),_0x1b9c7d(0x1f0),_0x1b9c7d(0x2e3),_0x1b9c7d(0x369),_0x1b9c7d(0x377),_0x1b9c7d(0x250),'@univerjs/drawing',_0x1b9c7d(0x203),'@univerjs/docs',_0x1b9c7d(0x360),_0x1b9c7d(0x382),'@univerjs/sheets-ui'],_0x3310b6):(_0x2b52bc=typeof globalThis<'u'?globalThis:_0x2b52bc||self,_0x3310b6(_0x2b52bc[_0x1b9c7d(0x30b)]={},_0x2b52bc['React'],_0x2b52bc[_0x1b9c7d(0x2e0)],_0x2b52bc[_0x1b9c7d(0x210)],_0x2b52bc[_0x1b9c7d(0x11e)],_0x2b52bc[_0x1b9c7d(0x2ed)],_0x2b52bc[_0x1b9c7d(0xd6)],_0x2b52bc['React'],_0x2b52bc[_0x1b9c7d(0x28c)],_0x2b52bc[_0x1b9c7d(0x265)],_0x2b52bc[_0x1b9c7d(0x190)],_0x2b52bc['UniverNetwork'],_0x2b52bc['UniverDocsUi'],_0x2b52bc['UniverDrawing'],_0x2b52bc['UniverProCollaboration'],_0x2b52bc[_0x1b9c7d(0x185)],_0x2b52bc['UniverEngineFormula'],_0x2b52bc[_0x1b9c7d(0x2ed)]['operators'],_0x2b52bc[_0x1b9c7d(0x36a)]));}(this,function(_0x497957,_0x8016bc,_0xe662fa,_0x488b23,_0x16efad,_0xd39c43,_0x29b3d4,_0x48e918,_0x95816f,_0x579814,_0x4ad5e1,_0x46c86d,_0x568c85,_0x22ecfc,_0x330813,_0x473e87,_0x5a73c8,_0x517874,_0x477084){'use strict';const _0x35d624=_0x3f90;var _0x27bd3c=Object[_0x35d624(0x13e)],_0x250b08=(_0x222f58,_0x3f7e96,_0x2c4f71)=>_0x3f7e96 in _0x222f58?_0x27bd3c(_0x222f58,_0x3f7e96,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c4f71}):_0x222f58[_0x3f7e96]=_0x2c4f71,_0x5c8f58=(_0x2c8c7d,_0x2d15cd,_0x1cd133)=>_0x250b08(_0x2c8c7d,typeof _0x2d15cd!=_0x35d624(0x1e6)?_0x2d15cd+'':_0x2d15cd,_0x1cd133);function _0x399dcd({ref:_0xc5f7f6,..._0x265687}){const _0x338cc6=_0x35d624,{icon:_0x11f4e7,id:_0x3271e6,className:_0x42251f,extend:_0x45bda7,..._0x55e806}=_0x265687,_0x156607=('univerjs-icon\x20univerjs-icon-'+_0x3271e6+'\x20'+(_0x42251f||''))[_0x338cc6(0x27b)](),_0x5cbb57=_0x48e918[_0x338cc6(0x10d)]('_'+_0x305be1());return _0x192183(_0x11f4e7,''+_0x3271e6,{'defIds':_0x11f4e7[_0x338cc6(0xdb)],'idSuffix':_0x5cbb57[_0x338cc6(0x362)]},{'ref':_0xc5f7f6,'className':_0x156607,..._0x55e806},_0x45bda7);}function _0x192183(_0x222a2a,_0x5d5c03,_0x1b4902,_0x174014,_0x1fd099){const _0x597ff2=_0x35d624;return _0x48e918[_0x597ff2(0x337)](_0x222a2a[_0x597ff2(0x16a)],{'key':_0x5d5c03,..._0x1f8a2e(_0x222a2a,_0x1b4902,_0x1fd099),..._0x174014},(_0x9e4244(_0x222a2a,_0x1b4902)[_0x597ff2(0x32e)]||[])[_0x597ff2(0xd4)]((_0x1692c4,_0x4146ab)=>_0x192183(_0x1692c4,_0x5d5c03+'-'+_0x222a2a[_0x597ff2(0x16a)]+'-'+_0x4146ab,_0x1b4902,void 0x0,_0x1fd099)));}function _0x1f8a2e(_0x337d6b,_0x396f4b,_0x4e119a){const _0x1d31cd=_0x35d624,_0x40418e={..._0x337d6b['attrs']};_0x4e119a!=null&&_0x4e119a[_0x1d31cd(0x271)]&&_0x40418e[_0x1d31cd(0x2c6)]===_0x1d31cd(0x271)&&(_0x40418e[_0x1d31cd(0x2c6)]=_0x4e119a[_0x1d31cd(0x271)]),_0x337d6b[_0x1d31cd(0x16a)]===_0x1d31cd(0x242)&&_0x40418e['id']&&(_0x40418e['id']=_0x40418e['id']+_0x396f4b[_0x1d31cd(0xdd)]),Object[_0x1d31cd(0x321)](_0x40418e)[_0x1d31cd(0x125)](([_0x246b60,_0x4dfd18])=>{const _0xb1eb00=_0x1d31cd;_0x246b60===_0xb1eb00(0x242)&&typeof _0x4dfd18==_0xb1eb00(0x130)&&(_0x40418e[_0x246b60]=_0x4dfd18[_0xb1eb00(0xe1)](/url\(#(.*)\)/,'url(#$1'+_0x396f4b['idSuffix']+')'));});const {defIds:_0x4e7a23}=_0x396f4b;return!_0x4e7a23||_0x4e7a23[_0x1d31cd(0x33f)]===0x0||(_0x337d6b[_0x1d31cd(0x16a)]===_0x1d31cd(0x200)&&_0x40418e[_0x1d31cd(0x34c)]&&(_0x40418e[_0x1d31cd(0x34c)]=_0x40418e[_0x1d31cd(0x34c)]+_0x396f4b[_0x1d31cd(0xdd)]),Object[_0x1d31cd(0x321)](_0x40418e)[_0x1d31cd(0x125)](([_0x286945,_0xa325f3])=>{const _0x43e4ad=_0x1d31cd;typeof _0xa325f3==_0x43e4ad(0x130)&&(_0x40418e[_0x286945]=_0xa325f3[_0x43e4ad(0xe1)](/url\(#(.*)\)/,_0x43e4ad(0x1e9)+_0x396f4b[_0x43e4ad(0xdd)]+')'));})),_0x40418e;}function _0x9e4244(_0x43e1f9,_0x2947ca){const _0x395081=_0x35d624;var _0x4d24e1;const {defIds:_0x425e2c}=_0x2947ca;return!_0x425e2c||_0x425e2c[_0x395081(0x33f)]===0x0?_0x43e1f9:_0x43e1f9[_0x395081(0x16a)]===_0x395081(0x2ac)&&((_0x4d24e1=_0x43e1f9[_0x395081(0x32e)])!=null&&_0x4d24e1[_0x395081(0x33f)])?{..._0x43e1f9,'children':_0x43e1f9[_0x395081(0x32e)][_0x395081(0xd4)](_0x5a9a4e=>typeof _0x5a9a4e['attrs']['id']==_0x395081(0x130)&&_0x425e2c&&_0x425e2c['includes'](_0x5a9a4e[_0x395081(0x276)]['id'])?{..._0x5a9a4e,'attrs':{..._0x5a9a4e['attrs'],'id':_0x5a9a4e[_0x395081(0x276)]['id']+_0x2947ca[_0x395081(0xdd)]}}:_0x5a9a4e)}:_0x43e1f9;}function _0x305be1(){const _0x34d0ae=_0x35d624;return Math['random']()[_0x34d0ae(0x26d)](0x24)[_0x34d0ae(0x2c0)](0x2,0x8);}_0x399dcd[_0x35d624(0x1ca)]='UniverIcon';const _0x90719b={'tag':_0x35d624(0x1c1),'attrs':{'xmlns':_0x35d624(0x154),'fill':_0x35d624(0x135),'viewBox':_0x35d624(0xd1),'width':'1em','height':_0x35d624(0x126)},'children':[{'tag':'g','attrs':{'clipPath':_0x35d624(0x18b)},'children':[{'tag':_0x35d624(0x328),'attrs':{'stroke':_0x35d624(0x34b),'d':_0x35d624(0x333),'strokeLinecap':_0x35d624(0xfa),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x35d624(0x2ac),'attrs':{},'children':[{'tag':_0x35d624(0x146),'attrs':{'id':_0x35d624(0x2dd)},'children':[{'tag':_0x35d624(0x328),'attrs':{'fill':_0x35d624(0x2c3),'d':_0x35d624(0x222)}}]}]}],'defIds':[_0x35d624(0x2dd)]},_0x19b6b3=_0x48e918[_0x35d624(0x1d5)](function(_0x3b1f52,_0x4aa44a){const _0x205cb9=_0x35d624;return _0x48e918[_0x205cb9(0x337)](_0x399dcd,Object[_0x205cb9(0x22d)]({},_0x3b1f52,{'id':_0x205cb9(0x29e),'ref':_0x4aa44a,'icon':_0x90719b}));});_0x19b6b3[_0x35d624(0x1ca)]=_0x35d624(0x2ec);const _0xe02553={'tag':_0x35d624(0x1c1),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x35d624(0x135),'viewBox':_0x35d624(0xe7),'width':_0x35d624(0x126),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x35d624(0x123)},'children':[{'tag':_0x35d624(0x328),'attrs':{'stroke':'currentColor','d':_0x35d624(0x313),'strokeLinecap':_0x35d624(0xfa),'strokeLinejoin':_0x35d624(0xfa),'strokeWidth':1.2}}]},{'tag':_0x35d624(0x2ac),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x35d624(0x328),'attrs':{'fill':_0x35d624(0x2c3),'d':_0x35d624(0x222),'transform':_0x35d624(0x269)}}]}]}],'defIds':[_0x35d624(0x2bf)]},_0x249d13=_0x48e918[_0x35d624(0x1d5)](function(_0x433cf7,_0x4234be){const _0x43be6f=_0x35d624;return _0x48e918[_0x43be6f(0x337)](_0x399dcd,Object[_0x43be6f(0x22d)]({},_0x433cf7,{'id':_0x43be6f(0x117),'ref':_0x4234be,'icon':_0xe02553}));});_0x249d13[_0x35d624(0x1ca)]=_0x35d624(0x22c);function _0x347706(_0x41a677){const _0x3990f6=_0x35d624;switch(_0x41a677){case _0xe662fa[_0x3990f6(0x227)]['OFFLINE']:return _0x3990f6(0x1aa);case _0xe662fa[_0x3990f6(0x227)]['CONFLICT']:return _0x3990f6(0x223);case _0xe662fa[_0x3990f6(0x227)]['FETCH_MISS']:return _0x3990f6(0x176);case _0xe662fa['CollaborationStatus'][_0x3990f6(0x27c)]:return'collabStatus.notCollab';case _0xe662fa['CollaborationStatus']['AWAITING']:case _0xe662fa['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x3990f6(0xcf);case _0xe662fa[_0x3990f6(0x227)][_0x3990f6(0x11a)]:case _0xe662fa[_0x3990f6(0x227)][_0x3990f6(0xf6)]:return _0x3990f6(0x21b);}}function _0x3eef9f(_0x8dd343){const _0x4d8d43=_0x35d624,{status$:_0xae32dc}=_0x8dd343,_0x3a16ce=_0x16efad[_0x4d8d43(0x29d)](_0xae32dc,_0xe662fa[_0x4d8d43(0x227)]['NOT_COLLAB']),_0x4ea414=_0x16efad[_0x4d8d43(0x1dd)](_0x488b23[_0x4d8d43(0x301)]),_0x40d908=_0x16efad[_0x4d8d43(0x1dd)](_0xe662fa[_0x4d8d43(0x140)]),_0x254ec9=_0x3a16ce!==_0xe662fa[_0x4d8d43(0x227)][_0x4d8d43(0x384)],_0xa30468=_0x4ea414['t'](_0x347706(_0x3a16ce)),_0x240c79=_0x254ec9?_0x8016bc[_0x4d8d43(0x11c)](_0x249d13,{}):_0x8016bc[_0x4d8d43(0x11c)](_0x19b6b3,{}),_0xc30a35=_0x48e918[_0x4d8d43(0x241)](()=>{const _0x1a3997=_0x4d8d43;_0x254ec9||_0x40d908[_0x1a3997(0x2bd)]();},[_0x254ec9,_0x40d908]);function _0x1ad43c(){const _0x259735=_0x4d8d43;return _0x8016bc[_0x259735(0x211)](_0x259735(0x331),{'className':_0x259735(0x3b2),'onClick':_0xc30a35,'children':[_0x8016bc[_0x259735(0x11c)](_0x259735(0x331),{'className':_0x29b3d4['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x254ec9,'univer-text-red-500':!_0x254ec9}),'children':_0x240c79}),_0x8016bc[_0x259735(0x11c)](_0x259735(0x331),{'className':_0x259735(0x2f6),'children':_0xa30468})]});}return _0x254ec9?_0x1ad43c():_0x8016bc[_0x4d8d43(0x11c)](_0x29b3d4[_0x4d8d43(0x342)],{'title':_0x4ea414['t']('collab-client.tooltip.reconnect'),'children':_0x1ad43c()});}var _0x1922a2=Object[_0x35d624(0x235)],_0x2e6e9a=(_0x110c99,_0x4df21b,_0x5d4b50,_0x647791)=>{const _0x3f3663=_0x35d624;for(var _0x5c8c16=_0x647791>0x1?void 0x0:_0x647791?_0x1922a2(_0x4df21b,_0x5d4b50):_0x4df21b,_0xe9cdb3=_0x110c99[_0x3f3663(0x33f)]-0x1,_0x345b7b;_0xe9cdb3>=0x0;_0xe9cdb3--)(_0x345b7b=_0x110c99[_0xe9cdb3])&&(_0x5c8c16=_0x345b7b(_0x5c8c16)||_0x5c8c16);return _0x5c8c16;},_0x3b11e2=(_0x6e9ab9,_0x425b1c)=>(_0x147c0d,_0xb4c68)=>_0x425b1c(_0x147c0d,_0xb4c68,_0x6e9ab9);_0x497957[_0x35d624(0x1fc)]=class extends _0x488b23['Disposable']{constructor(_0x58aa90,_0x5ee014,_0x192313,_0x2e06a2){const _0x55ef5b=_0x35d624;super(),_0x5c8f58(this,_0x55ef5b(0x1c7),new _0xd39c43[(_0x55ef5b(0x20f))](_0xe662fa['CollaborationStatus'][_0x55ef5b(0x27c)])),(this[_0x55ef5b(0x162)]=_0x58aa90,this[_0x55ef5b(0x111)]=_0x5ee014,this[_0x55ef5b(0x2a8)]=_0x192313,this[_0x55ef5b(0x13a)]=_0x2e06a2,this[_0x55ef5b(0x322)](),this[_0x55ef5b(0x2a7)]());}['_initStatusListener'](){const _0x41674b=_0x35d624;this[_0x41674b(0x37d)](this['_univerInstanceService'][_0x41674b(0x15c)][_0x41674b(0x2a0)](_0xd39c43['switchMap'](()=>{const _0x316aec=_0x41674b,_0x20e8eb=this['_univerInstanceService']['getFocusedUnit']();return _0x20e8eb?this[_0x316aec(0x2a8)][_0x316aec(0x28a)](_0x20e8eb[_0x316aec(0x394)]()):_0xd39c43['of'](null);}),_0xd39c43[_0x41674b(0x1fb)](_0x55ea46=>_0x55ea46?_0x55ea46[_0x41674b(0x148)]:_0xd39c43['of'](_0xe662fa[_0x41674b(0x227)][_0x41674b(0x27c)])))[_0x41674b(0x239)](_0x325dc3=>{const _0x1ab396=_0x41674b;this['_status$'][_0x1ab396(0x25a)](_0x325dc3);}));}['_initStatusComponent'](){const _0x5e95f0=_0x35d624;this[_0x5e95f0(0x37d)](this[_0x5e95f0(0x13a)][_0x5e95f0(0x1f5)](_0x16efad[_0x5e95f0(0x1be)][_0x5e95f0(0x2e1)],()=>_0x16efad[_0x5e95f0(0x358)](_0x495282({'status$':this['_status$']['asObservable']()}),this[_0x5e95f0(0x111)])));}},_0x497957[_0x35d624(0x1fc)]=_0x2e6e9a([_0x3b11e2(0x0,_0x488b23[_0x35d624(0x385)]),_0x3b11e2(0x1,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x3b11e2(0x2,_0x488b23[_0x35d624(0x14a)](_0xe662fa[_0x35d624(0x220)])),_0x3b11e2(0x3,_0x16efad[_0x35d624(0x26b)])],_0x497957[_0x35d624(0x1fc)]);function _0x495282(_0x30cd61){const {status$:_0x3ffd97}=_0x30cd61;return function(){return _0x8016bc['jsx'](_0x3eef9f,{'status$':_0x3ffd97});};}const _0x59fd33=_0x488b23[_0x35d624(0x20a)](_0x35d624(0x14b));var _0x54dc5a=Object[_0x35d624(0x235)],_0x42aad5=(_0x39e198,_0x16a799,_0x54de49,_0x389636)=>{const _0x70de29=_0x35d624;for(var _0x40b056=_0x389636>0x1?void 0x0:_0x389636?_0x54dc5a(_0x16a799,_0x54de49):_0x16a799,_0x3e6cdd=_0x39e198[_0x70de29(0x33f)]-0x1,_0x2ac771;_0x3e6cdd>=0x0;_0x3e6cdd--)(_0x2ac771=_0x39e198[_0x3e6cdd])&&(_0x40b056=_0x2ac771(_0x40b056)||_0x40b056);return _0x40b056;},_0x26e654=(_0xa1d039,_0x4d6fbf)=>(_0x5acd31,_0x2c4835)=>_0x4d6fbf(_0x5acd31,_0x2c4835,_0xa1d039);_0x497957[_0x35d624(0x391)]=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0x4c7346,_0xded4b,_0x1c7ef1,_0x23e213,_0x2b8f6f){const _0x10db15=_0x35d624;super(),this[_0x10db15(0x287)]=_0x4c7346,this[_0x10db15(0x112)]=_0xded4b,this[_0x10db15(0x224)]=_0x1c7ef1,this[_0x10db15(0x29f)]=_0x23e213,_0x2b8f6f?_0x2b8f6f==null||_0x2b8f6f[_0x10db15(0x374)]()[_0x10db15(0x2f2)](()=>this['_init']()):(this[_0x10db15(0x112)][_0x10db15(0x10e)](_0x10db15(0x340),_0x10db15(0x12c)),this[_0x10db15(0x251)]());}async['_init'](){const _0x3c91f9=_0x35d624,_0x5dbd5d=this[_0x3c91f9(0x287)][_0x3c91f9(0x27f)](_0x3c91f9(0x1e4)),_0x8129c6=this[_0x3c91f9(0x287)]['getParam'](_0x3c91f9(0x18c)),_0x31e2e9=this[_0x3c91f9(0x287)][_0x3c91f9(0x27f)]('subunit');if(!_0x5dbd5d||!_0x8129c6){this[_0x3c91f9(0x112)][_0x3c91f9(0x10e)](_0x3c91f9(0x340),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x411a28=await this[_0x3c91f9(0x29f)][_0x3c91f9(0x2e7)](_0x5dbd5d,Number(_0x8129c6),_0x31e2e9);_0x411a28&&_0x411a28 instanceof _0x488b23['Workbook']&&this[_0x3c91f9(0x118)](_0x411a28);}async['_setupSubUnitSync'](_0x4adabc){const _0x22b8e9=_0x35d624;await this[_0x22b8e9(0xe4)](_0x4adabc),_0x4adabc[_0x22b8e9(0x36c)][_0x22b8e9(0x2a0)](_0xd39c43['takeUntil'](this[_0x22b8e9(0x325)]))[_0x22b8e9(0x239)](_0x1ca3b3=>{const _0x3c8623=_0x22b8e9;_0x1ca3b3&&this[_0x3c8623(0x170)](_0x1ca3b3);}),this[_0x22b8e9(0x287)][_0x22b8e9(0x1ac)]['pipe'](_0xd39c43[_0x22b8e9(0x208)](this[_0x22b8e9(0x325)]))['subscribe'](()=>this[_0x22b8e9(0xe4)](_0x4adabc));}['_updateURLWithCurrentState'](_0x4fda1d,_0x4e55ea=!0x1){const _0x4ac7b2=_0x35d624,_0x16bcd3=this[_0x4ac7b2(0x287)][_0x4ac7b2(0x27f)](_0x4ac7b2(0x2f8));_0x4fda1d[_0x4ac7b2(0x310)]()!==_0x16bcd3&&this['_urlService'][_0x4ac7b2(0x2d2)](_0x4ac7b2(0x2f8),_0x4fda1d[_0x4ac7b2(0x310)](),_0x4e55ea);}async['_updateSubUnitFromURLParams'](_0x5e7823){const _0x4f5f13=_0x35d624;var _0x5a50e0;const _0x272e69=this[_0x4f5f13(0x287)]['getParam'](_0x4f5f13(0x2f8));if(!_0x272e69||!_0x5e7823[_0x4f5f13(0xfe)](_0x272e69)){const _0x3a4c60=_0x5e7823['getUnhiddenWorksheets']()[0x0],_0xec7293=_0x5e7823[_0x4f5f13(0xfe)](_0x3a4c60);if(!_0xec7293)return;this[_0x4f5f13(0x170)](_0xec7293,!0x0),await this[_0x4f5f13(0x224)]['executeCommand'](_0x579814[_0x4f5f13(0x244)]['id'],{'unitId':_0x5e7823[_0x4f5f13(0x394)](),'subUnitId':_0x3a4c60});return;}((_0x5a50e0=_0x5e7823[_0x4f5f13(0x233)]())==null?void 0x0:_0x5a50e0['getSheetId']())!==_0x272e69&&await this[_0x4f5f13(0x224)]['executeCommand'](_0x579814[_0x4f5f13(0x244)]['id'],{'unitId':_0x5e7823['getUnitId'](),'subUnitId':_0x272e69});}},_0x497957[_0x35d624(0x391)]=_0x42aad5([_0x26e654(0x0,_0x59fd33),_0x26e654(0x1,_0x488b23[_0x35d624(0x31f)]),_0x26e654(0x2,_0x488b23[_0x35d624(0x1cc)]),_0x26e654(0x3,_0x488b23[_0x35d624(0x14a)](_0xe662fa['DataLoaderService'])),_0x26e654(0x4,_0x488b23[_0x35d624(0x1d1)](_0x95816f[_0x35d624(0x298)]))],_0x497957[_0x35d624(0x391)]);var _0x22083f=Object[_0x35d624(0x235)],_0x1d55e1=(_0x35a18c,_0x996b4e,_0x2a5304,_0x403108)=>{const _0x4a3e3f=_0x35d624;for(var _0x4a4089=_0x403108>0x1?void 0x0:_0x403108?_0x22083f(_0x996b4e,_0x2a5304):_0x996b4e,_0x36efe7=_0x35a18c[_0x4a3e3f(0x33f)]-0x1,_0x1687f9;_0x36efe7>=0x0;_0x36efe7--)(_0x1687f9=_0x35a18c[_0x36efe7])&&(_0x4a4089=_0x1687f9(_0x4a4089)||_0x4a4089);return _0x4a4089;},_0x27e887=(_0x282e47,_0x522b5e)=>(_0x3b764b,_0x174190)=>_0x522b5e(_0x3b764b,_0x174190,_0x282e47);let _0x1a397d=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0x12676c,_0x5a3e9f){const _0x1d88f0=_0x35d624;super(),this[_0x1d88f0(0x171)]=_0x12676c,this['_imageIoService']=_0x5a3e9f,this[_0x1d88f0(0x251)]();}[_0x35d624(0x251)](){const _0x1f60c5=_0x35d624,_0x2eb3ef=this;this[_0x1f60c5(0x37d)](this['_docClipboardService'][_0x1f60c5(0x127)]({'onBeforePasteImage':async _0x38d205=>{const _0x5939be=_0x1f60c5,_0x25194a=await _0x2eb3ef[_0x5939be(0x193)][_0x5939be(0x312)](_0x38d205);return _0x25194a?{'source':_0x25194a[_0x5939be(0x2ba)],'imageSourceType':_0x25194a[_0x5939be(0x2d9)]}:null;}}));}};_0x1a397d=_0x1d55e1([_0x27e887(0x0,_0x568c85[_0x35d624(0x1d3)]),_0x27e887(0x1,_0x22ecfc[_0x35d624(0x141)])],_0x1a397d);const _0x406a63=['purple.300',_0x35d624(0x16d),_0x35d624(0x338),_0x35d624(0x229),_0x35d624(0x1ed),_0x35d624(0x32c)];class _0x3a845f extends _0x488b23['Disposable']{constructor(){const _0x415e7d=_0x35d624;super(...arguments),_0x5c8f58(this,_0x415e7d(0x379),new Map()),_0x5c8f58(this,_0x415e7d(0x237),0x0);}[_0x35d624(0x12a)](_0x29ac26){const _0x4c6b53=_0x35d624;if(this[_0x4c6b53(0x379)][_0x4c6b53(0x2a9)](_0x29ac26))return this['_assignedColors'][_0x4c6b53(0x37f)](_0x29ac26);const _0x4072c9=_0x406a63[this['_colorIndex']];return this[_0x4c6b53(0x237)]=(this['_colorIndex']+0x1)%_0x406a63['length'],this['_assignedColors'][_0x4c6b53(0x26e)](_0x29ac26,_0x4072c9),_0x4072c9;}}function _0x108b41(_0x422baa){const _0x6a116a=_0x35d624;let _0x1512f5='';for(const _0x1751ca of _0x422baa){const {startOffset:_0x545b20,endOffset:_0x25974f,isActive:_0x3ccb4d,rangeType:_0x276620,segmentId:_0x1a65f2,segmentPage:_0xf84fcc}=_0x1751ca;_0x1512f5[_0x6a116a(0x33f)]&&(_0x1512f5+=','),_0x1512f5+=_0x545b20+':'+_0x25974f+':'+(_0x3ccb4d?'1':'0')+':'+_0x276620+':'+_0x1a65f2+':'+_0xf84fcc;}return _0x1512f5;}function _0x307604(_0x1ebec6){const _0x535ead=_0x35d624,_0x574104=_0x1ebec6[_0x535ead(0x378)](','),_0x4745f6=[];for(const _0x50c0b2 of _0x574104){const [_0xde3a5b,_0x4b69f6,_0x27f6c3,_0x3eff7c,_0x1ebb64,_0x35d8c0]=_0x50c0b2[_0x535ead(0x378)](':');_0x4745f6[_0x535ead(0x157)]({'startOffset':Number(_0xde3a5b),'endOffset':Number(_0x4b69f6),'collapsed':_0xde3a5b===_0x4b69f6,'isActive':_0x27f6c3==='1','rangeType':_0x3eff7c===_0x488b23[_0x535ead(0x1cd)][_0x535ead(0x1f8)]?_0x488b23[_0x535ead(0x1cd)][_0x535ead(0x1f8)]:_0x488b23[_0x535ead(0x1cd)][_0x535ead(0x2ab)],'segmentId':typeof _0x1ebb64=='string'?String(_0x1ebb64):'','segmentPage':Number(_0x35d8c0!=null?_0x35d8c0:-0x1)});}return _0x4745f6[_0x535ead(0x212)](_0x3198c1=>_0x3198c1[_0x535ead(0x1d0)])||(_0x4745f6[0x0]['isActive']=!0x0),_0x4745f6;}class _0x4f1bea extends _0x488b23[_0x35d624(0x376)]{constructor(){const _0x7cb1f5=_0x35d624;super(...arguments),_0x5c8f58(this,_0x7cb1f5(0xee),new _0xd39c43[(_0x7cb1f5(0x20f))](null)),_0x5c8f58(this,_0x7cb1f5(0x316),this['_collabCursorState$'][_0x7cb1f5(0x320)]());}['syncEditingCollabCursor'](_0x920b8d){const _0x4e907b=_0x35d624,{unitID:_0x3a9ab8,memberID:_0x201aed,textRanges:_0x4a0fb7}=_0x920b8d,_0x345628=_0x108b41(_0x4a0fb7);if(_0x345628==='')return;const _0x3fc58b={'unitID':_0x3a9ab8,'memberID':_0x201aed,'selection':_0x345628};this[_0x4e907b(0xee)]['next'](_0x3fc58b);}}var _0x33454b=Object[_0x35d624(0x235)],_0x43e68d=(_0x3d9a22,_0x13247b,_0x1018d7,_0x364859)=>{const _0x4e1dad=_0x35d624;for(var _0x9c7dbe=_0x364859>0x1?void 0x0:_0x364859?_0x33454b(_0x13247b,_0x1018d7):_0x13247b,_0x405cbc=_0x3d9a22[_0x4e1dad(0x33f)]-0x1,_0x44f084;_0x405cbc>=0x0;_0x405cbc--)(_0x44f084=_0x3d9a22[_0x405cbc])&&(_0x9c7dbe=_0x44f084(_0x9c7dbe)||_0x9c7dbe);return _0x9c7dbe;},_0x45e62a=(_0x58fc8b,_0xf39940)=>(_0x4b2563,_0x46c523)=>_0xf39940(_0x4b2563,_0x46c523,_0x58fc8b);const _0x26cfbf=0x12c,_0x4016ed=0x64;let _0x5f2e5e=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0x10f7f1,_0xd4dab5,_0x308423,_0x1bf9eb,_0x3fcb68,_0x1679ba,_0x1a4c78,_0x3d3582,_0x80ccc1){const _0x410847=_0x35d624;super(),_0x5c8f58(this,_0x410847(0x257),!0x1),_0x5c8f58(this,_0x410847(0x251),!0x1),_0x5c8f58(this,_0x410847(0x387),new _0xd39c43[(_0x410847(0x20f))](new Map())),_0x5c8f58(this,_0x410847(0x307),this[_0x410847(0x387)]['asObservable']()),_0x5c8f58(this,_0x410847(0x35b),new _0xd39c43['BehaviorSubject']([])),_0x5c8f58(this,_0x410847(0x113),this['_roomMembers$'][_0x410847(0x2a0)](_0xd39c43[_0x410847(0xf5)](_0x26cfbf))),_0x5c8f58(this,_0x410847(0x156),_0x488b23[_0x410847(0x396)](_0x426e06=>{const _0x5524ef=_0x410847,_0x1c0621={'eventID':_0x330813[_0x5524ef(0x174)][_0x5524ef(0x31a)],'data':{'unitID':this[_0x5524ef(0x28e)],'memberID':this['_session'][_0x5524ef(0x284)](),'selection':_0x108b41(_0x426e06)}};this['_session'][_0x5524ef(0x10f)](_0x1c0621,this[_0x5524ef(0x28e)]);},_0x4016ed)),(this[_0x410847(0x28e)]=_0x10f7f1,this[_0x410847(0x326)]=_0xd4dab5,this[_0x410847(0x111)]=_0x308423,this[_0x410847(0x24b)]=_0x1bf9eb,this[_0x410847(0x38c)]=_0x3fcb68,this[_0x410847(0x341)]=_0x1679ba,this[_0x410847(0x1a2)]=_0x1a4c78,this[_0x410847(0x162)]=_0x3d3582,this[_0x410847(0x224)]=_0x80ccc1);}get[_0x35d624(0x29a)](){const _0x43f15f=_0x35d624;return this[_0x43f15f(0x387)][_0x43f15f(0x334)]();}get['roomMembers'](){const _0x1f9a76=_0x35d624;return this[_0x1f9a76(0x35b)][_0x1f9a76(0x334)]();}[_0x35d624(0x299)](){const _0x28645c=_0x35d624;super['dispose'](),this[_0x28645c(0x387)][_0x28645c(0x25a)](new Map()),this['_cursorInfo$'][_0x28645c(0x1ae)](),this[_0x28645c(0x35b)][_0x28645c(0x25a)]([]),this[_0x28645c(0x35b)]['complete']();}[_0x35d624(0x1ff)](){const _0x25e1fb=_0x35d624;this[_0x25e1fb(0x251)]||(this[_0x25e1fb(0x251)]=!0x0,this[_0x25e1fb(0x326)][_0x25e1fb(0x3af)][_0x25e1fb(0x2a0)](_0xd39c43['takeUntil'](this[_0x25e1fb(0x325)]))['subscribe'](_0x3cad5e=>{const _0x5079ce=_0x25e1fb;_0x3cad5e===_0xe662fa[_0x5079ce(0x3a7)][_0x5079ce(0x191)]?this[_0x5079ce(0x195)]():this[_0x5079ce(0x263)]();}),this[_0x25e1fb(0x326)][_0x25e1fb(0x2d5)][_0x25e1fb(0x2a0)](_0xd39c43[_0x25e1fb(0x208)](this[_0x25e1fb(0x325)]))[_0x25e1fb(0x239)](_0x2ae40e=>{const _0xe958f8=_0x25e1fb,_0x5b564f=_0x2ae40e['eventID'];_0x5b564f===_0x330813[_0xe958f8(0x174)][_0xe958f8(0x31a)]&&this[_0xe958f8(0x1a0)](_0x2ae40e),_0x5b564f===_0x330813[_0xe958f8(0x174)]['USERS_LEAVE']&&this[_0xe958f8(0x248)](_0x2ae40e);}),this[_0x25e1fb(0x37d)](this[_0x25e1fb(0x224)][_0x25e1fb(0x1fd)](_0x15dc48=>{const _0x2ca90f=_0x25e1fb,_0x56f2ea=_0x15dc48[_0x2ca90f(0x3a4)];_0x56f2ea!=null&&this[_0x2ca90f(0x257)]&&_0x15dc48['id']===_0x473e87[_0x2ca90f(0x3a8)]['id']&&_0x56f2ea[_0x2ca90f(0x187)]===this['unitID']&&_0x56f2ea[_0x2ca90f(0x197)]===!0x1&&_0x56f2ea[_0x2ca90f(0x2af)][_0x2ca90f(0x33f)]>0x0&&this[_0x2ca90f(0x156)](_0x56f2ea[_0x2ca90f(0x2af)]);})),this[_0x25e1fb(0x341)]['collabCursorState$'][_0x25e1fb(0x2a0)](_0xd39c43[_0x25e1fb(0x208)](this[_0x25e1fb(0x325)]))[_0x25e1fb(0x239)](_0x3df33c=>{const _0x5105a2=_0x25e1fb;if((_0x3df33c==null?void 0x0:_0x3df33c[_0x5105a2(0x28e)])!==this['unitID'])return;const _0x1867e5={'eventID':_0x330813[_0x5105a2(0x174)][_0x5105a2(0x31a)],'data':_0x3df33c};this[_0x5105a2(0x1a0)](_0x1867e5);}),this['disposeWithMe'](this[_0x25e1fb(0x224)][_0x25e1fb(0x1fd)](_0x44f69c=>{const _0x30b013=_0x25e1fb;if(_0x44f69c[_0x30b013(0x3a4)]==null)return;const _0x1ea469=_0x44f69c[_0x30b013(0x3a4)];if(_0x44f69c['id']!==_0x473e87['RichTextEditingMutation']['id']||_0x1ea469[_0x30b013(0x187)]!==this[_0x30b013(0x28e)])return;const _0x3b8996={'id':_0x30b013(0x373),'params':_0x1ea469},_0x51bc14=this[_0x30b013(0x29a)];for(const [_0x378808,_0x40d578]of _0x51bc14){const _0x6aa883={'id':_0x30b013(0x373),'params':{'unitId':this[_0x30b013(0x28e)],'actions':null,'textRanges':_0x40d578['ranges']}},_0x50c39f=this[_0x30b013(0x1a2)][_0x30b013(0x33a)](_0x3b8996,_0x6aa883,!0x1);if(_0x330813['isTransformMutationFailure'](_0x50c39f))throw _0x50c39f[_0x30b013(0x188)];_0x51bc14['set'](_0x378808,{..._0x40d578,'ranges':_0x50c39f['m2Prime']['params'][_0x30b013(0xcb)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x51bc14);});})));}[_0x35d624(0x1a0)](_0xe9b6b2){const _0x55d911=_0x35d624;var _0x27e779,_0x29bc76;const {memberID:_0x5374ee,selection:_0x450bdf}=_0xe9b6b2['data'],_0x17629=_0x307604(_0x450bdf),_0xa54cea=(_0x29bc76=(_0x27e779=this[_0x55d911(0x38c)]['getMember'](this[_0x55d911(0x28e)],_0x5374ee))==null?void 0x0:_0x27e779[_0x55d911(0x38e)])!=null?_0x29bc76:'Unknown\x20user',_0x1054bd={'color':this[_0x55d911(0x24b)][_0x55d911(0x12a)](_0x5374ee),'name':_0xa54cea,'ranges':_0x17629},_0x3e93ab=this[_0x55d911(0x29a)];_0x3e93ab[_0x55d911(0x26e)](_0x5374ee,_0x1054bd),this['_cursorInfo$'][_0x55d911(0x25a)](_0x3e93ab);}[_0x35d624(0x248)](_0x599ec3){const _0x3cc9ab=_0x35d624,{memberID:_0x43be78}=_0x599ec3['data'],_0x4b879c=this['cursorInfo'];_0x4b879c[_0x3cc9ab(0x323)](_0x43be78),this[_0x3cc9ab(0x387)]['next'](_0x4b879c);}[_0x35d624(0x195)](){const _0x3d48cb=_0x35d624;var _0x3e80fb;if(this['_online']=!0x0,((_0x3e80fb=this[_0x3d48cb(0x162)][_0x3d48cb(0x19a)]())==null?void 0x0:_0x3e80fb[_0x3d48cb(0x394)]())!==this['unitID'])return;const _0x1fcd41=this[_0x3d48cb(0x111)][_0x3d48cb(0x37f)](_0x473e87[_0x3d48cb(0x3ac)])[_0x3d48cb(0x361)]();Array[_0x3d48cb(0x1ab)](_0x1fcd41)&&_0x1fcd41[_0x3d48cb(0x33f)]>0x0&&this[_0x3d48cb(0x156)](_0x1fcd41);}[_0x35d624(0x263)](){this['_online']=!0x1;}};_0x5f2e5e=_0x43e68d([_0x45e62a(0x2,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x45e62a(0x3,_0x488b23[_0x35d624(0x14a)](_0x3a845f)),_0x45e62a(0x4,_0x488b23['Inject'](_0xe662fa[_0x35d624(0x13b)])),_0x45e62a(0x5,_0x488b23['Inject'](_0x4f1bea)),_0x45e62a(0x6,_0x330813['ITransformService']),_0x45e62a(0x7,_0x488b23[_0x35d624(0x385)]),_0x45e62a(0x8,_0x488b23[_0x35d624(0x1cc)])],_0x5f2e5e);var _0x34640e=Object[_0x35d624(0x235)],_0x30af6e=(_0x29ea12,_0x456e0f,_0x1dc54d,_0x1e8e21)=>{for(var _0x440afa=_0x1e8e21>0x1?void 0x0:_0x1e8e21?_0x34640e(_0x456e0f,_0x1dc54d):_0x456e0f,_0x541d6d=_0x29ea12['length']-0x1,_0x346279;_0x541d6d>=0x0;_0x541d6d--)(_0x346279=_0x29ea12[_0x541d6d])&&(_0x440afa=_0x346279(_0x440afa)||_0x440afa);return _0x440afa;},_0x26fdda=(_0x1e0db3,_0x14bfd0)=>(_0x1bbb7c,_0x266daa)=>_0x14bfd0(_0x1bbb7c,_0x266daa,_0x1e0db3);const _0x4bf96c=0x12c,_0x12bab0=0x64,_0x36a631=()=>{let _0x155bea=[],_0xda4665=!0x1;return _0x1412b1=>{const _0x3298b9=_0x3f90;_0x155bea[_0x3298b9(0x157)](_0x1412b1),_0xda4665||(_0xda4665=!0x0,setTimeout(()=>{const _0x143a29=_0x3298b9;_0x155bea[_0x143a29(0x125)](_0x4cec47=>_0x4cec47()),_0x155bea=[],_0xda4665=!0x1;}));};};let _0x535e38=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0x4e3f26,_0x193a4d,_0x5a1da2,_0x3d8b5a,_0x31d3af,_0xec9f1c,_0x31b2b2,_0x16d660){const _0x516340=_0x35d624;super(),_0x5c8f58(this,_0x516340(0x257),!0x1),_0x5c8f58(this,_0x516340(0x251),!0x1),_0x5c8f58(this,_0x516340(0x387),new _0xd39c43[(_0x516340(0x20f))](new Map())),_0x5c8f58(this,_0x516340(0x307),this['_cursorInfo$']['asObservable']()),_0x5c8f58(this,_0x516340(0x35b),new _0xd39c43['BehaviorSubject']([])),_0x5c8f58(this,_0x516340(0x113),this[_0x516340(0x35b)][_0x516340(0x2a0)](_0xd39c43[_0x516340(0xf5)](_0x4bf96c))),_0x5c8f58(this,'_updateLocalCursor',_0x488b23[_0x516340(0x396)]((_0x19ee6f,_0x354ac8)=>{const _0x1e8533=_0x516340,_0x32575d={'eventID':_0x330813[_0x1e8533(0x174)][_0x1e8533(0x31a)],'data':{'unitID':this[_0x1e8533(0x28e)],'memberID':this[_0x1e8533(0x326)][_0x1e8533(0x284)](),'selection':_0x5a73c8[_0x1e8533(0x179)](_0x19ee6f,_0x354ac8['range'])}};this[_0x1e8533(0x326)][_0x1e8533(0x10f)](_0x32575d,this['unitID']);},_0x12bab0)),(this[_0x516340(0x28e)]=_0x4e3f26,this[_0x516340(0x326)]=_0x193a4d,this['_injector']=_0x5a1da2,this['_colorAssignService']=_0x3d8b5a,this[_0x516340(0x38c)]=_0x31d3af,this[_0x516340(0x162)]=_0xec9f1c,this[_0x516340(0x224)]=_0x31b2b2,this['_refRangeService']=_0x16d660);}get[_0x35d624(0x29a)](){const _0x292ace=_0x35d624;return this['_cursorInfo$'][_0x292ace(0x334)]();}get[_0x35d624(0x2f1)](){const _0x5cfbcd=_0x35d624;return this[_0x5cfbcd(0x35b)]['getValue']();}[_0x35d624(0x299)](){const _0x22d240=_0x35d624;super['dispose'](),this[_0x22d240(0x387)][_0x22d240(0x25a)](new Map()),this[_0x22d240(0x387)][_0x22d240(0x1ae)](),this[_0x22d240(0x35b)][_0x22d240(0x25a)]([]),this[_0x22d240(0x35b)]['complete']();}[_0x35d624(0x1ff)](){const _0x676123=_0x35d624;this[_0x676123(0x251)]||(this['_init']=!0x0,this[_0x676123(0x326)]['sessionStatus$'][_0x676123(0x2a0)](_0xd39c43[_0x676123(0x208)](this[_0x676123(0x325)]))[_0x676123(0x239)](_0x3aeb58=>{const _0x1a2a6c=_0x676123;_0x3aeb58===_0xe662fa[_0x1a2a6c(0x3a7)][_0x1a2a6c(0x191)]?this[_0x1a2a6c(0x195)]():this[_0x1a2a6c(0x263)]();}),this[_0x676123(0x326)][_0x676123(0x2d5)][_0x676123(0x2a0)](_0xd39c43['takeUntil'](this[_0x676123(0x325)]))[_0x676123(0x239)](_0x5a3153=>{const _0x5c03e0=_0x676123,_0x5f3bc1=_0x5a3153['eventID'];_0x5f3bc1===_0x330813[_0x5c03e0(0x174)][_0x5c03e0(0x31a)]&&this[_0x5c03e0(0x1a0)](_0x5a3153),_0x5f3bc1===_0x330813['CollaborationEvent']['USERS_LEAVE']&&this[_0x5c03e0(0x248)](_0x5a3153);}),this[_0x676123(0x33c)](),this[_0x676123(0x37d)](this[_0x676123(0x224)]['onCommandExecuted'](_0x50c42c=>{const _0x1b6266=_0x676123;if(this[_0x1b6266(0x257)]&&_0x50c42c['id']===_0x579814[_0x1b6266(0x225)]['id']&&_0x50c42c[_0x1b6266(0x3a4)][_0x1b6266(0x187)]===this[_0x1b6266(0x28e)]){const _0x653f60=_0x50c42c[_0x1b6266(0x3a4)];this['_updateLocalCursor'](_0x653f60[_0x1b6266(0x217)],_0x653f60[_0x1b6266(0x2c9)][0x0]);}})));}[_0x35d624(0x1a0)](_0x36ae1d){const _0x3bb66a=_0x35d624;var _0x29db8d,_0x15f42b;const {memberID:_0x4235d9,selection:_0xdb7d1e}=_0x36ae1d['data'],{sheetName:_0x2d73f2,range:_0x540c9a}=_0x5a73c8[_0x3bb66a(0x32d)](_0xdb7d1e),_0x3a5fb2={'name':(_0x15f42b=(_0x29db8d=this[_0x3bb66a(0x38c)][_0x3bb66a(0x31d)](this[_0x3bb66a(0x28e)],_0x4235d9))==null?void 0x0:_0x29db8d[_0x3bb66a(0x38e)])!=null?_0x15f42b:_0x3bb66a(0x1db),'range':this[_0x3bb66a(0x1e5)](_0x2d73f2,_0x540c9a),'sheetID':_0x2d73f2,'color':this[_0x3bb66a(0x24b)][_0x3bb66a(0x12a)](_0x4235d9),'selection':_0xdb7d1e},_0x1b79c5=this['cursorInfo'];_0x1b79c5[_0x3bb66a(0x26e)](_0x4235d9,_0x3a5fb2),this['_cursorInfo$'][_0x3bb66a(0x25a)](_0x1b79c5);}[_0x35d624(0x248)](_0x11907b){const _0x146659=_0x35d624,{memberID:_0x3894ee}=_0x11907b['data'],_0x4bd3ef=this[_0x146659(0x29a)];_0x4bd3ef['delete'](_0x3894ee),this['_cursorInfo$'][_0x146659(0x25a)](_0x4bd3ef);}[_0x35d624(0x1e5)](_0x4845e5,_0x1ce35a){const _0x5d5e95=_0x35d624;var _0x2d4c86,_0xcbe847;const _0x5d7fdf=(_0xcbe847=(_0x2d4c86=this[_0x5d5e95(0x162)][_0x5d5e95(0xcc)](this[_0x5d5e95(0x28e)]))==null?void 0x0:_0x2d4c86[_0x5d5e95(0xfe)](_0x4845e5))==null?void 0x0:_0xcbe847[_0x5d5e95(0x1ad)]();return(_0x5d7fdf==null?void 0x0:_0x5d7fdf['find'](_0x9458e3=>_0x488b23['Rectangle'][_0x5d5e95(0x3a2)](_0x9458e3,_0x1ce35a)))||_0x1ce35a;}[_0x35d624(0x33c)](){const _0x5243bc=_0x35d624,_0x2b93e3=new _0x488b23[(_0x5243bc(0x132))](),_0x46f884=_0x36a631(),_0x57cfa7=()=>{const _0x594a65=_0x5243bc;_0x2b93e3[_0x594a65(0x299)]();const _0x5f014d=(_0x3dcb73,_0x489e9a,_0x2d75dd,_0x31552b)=>{const _0x45a01f=_0x594a65;let _0x390414=[];switch(_0x3dcb73['id']){case _0x579814['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x390414=_0x579814[_0x45a01f(0x12d)](_0x3dcb73,_0x31552b);break;}case _0x579814[_0x45a01f(0x17a)]['DeleteRangeMoveUpCommandId']:{_0x390414=_0x579814[_0x45a01f(0x2df)](_0x3dcb73,_0x31552b);break;}case _0x579814['EffectRefRangId'][_0x45a01f(0x13c)]:{_0x390414=_0x579814[_0x45a01f(0x2f9)](_0x3dcb73,_0x31552b);break;}case _0x579814[_0x45a01f(0x17a)][_0x45a01f(0x294)]:{_0x390414=_0x579814[_0x45a01f(0x357)](_0x3dcb73,_0x31552b);break;}case _0x579814['EffectRefRangId'][_0x45a01f(0x261)]:{_0x390414=_0x579814[_0x45a01f(0x25e)](_0x3dcb73,_0x31552b);break;}case _0x579814[_0x45a01f(0x17a)][_0x45a01f(0x37b)]:{_0x390414=_0x579814[_0x45a01f(0x3a9)](_0x3dcb73,_0x31552b);break;}case _0x579814['EffectRefRangId'][_0x45a01f(0x1c8)]:{_0x390414=_0x579814['handleMoveRange'](_0x3dcb73,_0x31552b);break;}case _0x579814['EffectRefRangId'][_0x45a01f(0x2e2)]:{_0x390414=_0x579814[_0x45a01f(0x24e)](_0x3dcb73,_0x31552b);break;}case _0x579814['EffectRefRangId'][_0x45a01f(0x230)]:{_0x390414=_0x579814[_0x45a01f(0x2cb)](_0x3dcb73,_0x31552b);break;}}const _0x17930c=_0x579814[_0x45a01f(0x2b8)](_0x390414,_0x31552b),_0x494529=this[_0x45a01f(0x29a)][_0x45a01f(0x37f)](_0x489e9a);if(_0x494529&&_0x17930c){const _0x27ec4e={..._0x494529,'range':_0x17930c};this['cursorInfo'][_0x45a01f(0x26e)](_0x489e9a,_0x27ec4e),_0x46f884(()=>{const _0x30a039=_0x45a01f,_0x3427b5=this[_0x30a039(0x136)]['registerRefRange'](_0x17930c,_0x1d2ad1=>(_0x3427b5[_0x30a039(0x299)](),_0x5f014d(_0x1d2ad1,_0x489e9a,_0x2d75dd,_0x17930c)));_0x2b93e3['add'](_0x3427b5);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x31acec,_0x514fb6)=>{const _0x1ea9b7=_0x594a65,{range:_0x376b71,sheetID:_0x258cf4}=_0x31acec,_0xc845df=this[_0x1ea9b7(0x136)][_0x1ea9b7(0x34d)](_0x376b71,_0xf46c6=>(_0xc845df['dispose'](),_0x5f014d(_0xf46c6,_0x514fb6,_0x258cf4,_0x376b71)));_0x2b93e3[_0x1ea9b7(0x380)](_0xc845df);});};this[_0x5243bc(0x37d)](_0x488b23[_0x5243bc(0x15d)](this[_0x5243bc(0x387)][_0x5243bc(0x239)](()=>{_0x57cfa7();})));}[_0x35d624(0x195)](){const _0x5d0cae=_0x35d624;var _0x44f5b7,_0x1f5608;if(this[_0x5d0cae(0x257)]=!0x0,((_0x44f5b7=this[_0x5d0cae(0x162)][_0x5d0cae(0x19a)]())==null?void 0x0:_0x44f5b7['getUnitId']())!==this[_0x5d0cae(0x28e)])return;const _0x43f61c=(_0x1f5608=this[_0x5d0cae(0x111)][_0x5d0cae(0x37f)](_0x579814[_0x5d0cae(0x1f9)])[_0x5d0cae(0x368)]())==null?void 0x0:_0x1f5608[0x0],_0x2bb1f1=this['_univerInstanceService'][_0x5d0cae(0x161)](_0x488b23[_0x5d0cae(0x278)][_0x5d0cae(0x386)])['getActiveSheet']();_0x43f61c&&_0x2bb1f1&&this[_0x5d0cae(0x156)](_0x2bb1f1[_0x5d0cae(0x310)](),_0x43f61c);}[_0x35d624(0x263)](){const _0x1a3f0c=_0x35d624;this[_0x1a3f0c(0x257)]=!0x1;}};_0x535e38=_0x30af6e([_0x26fdda(0x2,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x26fdda(0x3,_0x488b23[_0x35d624(0x14a)](_0x3a845f)),_0x26fdda(0x4,_0x488b23['Inject'](_0xe662fa[_0x35d624(0x13b)])),_0x26fdda(0x5,_0x488b23[_0x35d624(0x385)]),_0x26fdda(0x6,_0x488b23[_0x35d624(0x1cc)]),_0x26fdda(0x7,_0x488b23[_0x35d624(0x14a)](_0x579814[_0x35d624(0x145)]))],_0x535e38);var _0x564c88=Object[_0x35d624(0x235)],_0x2b0350=(_0x5c27ef,_0x5dd6a2,_0xcc2390,_0x4d3226)=>{for(var _0x53a85c=_0x4d3226>0x1?void 0x0:_0x4d3226?_0x564c88(_0x5dd6a2,_0xcc2390):_0x5dd6a2,_0x50bdd3=_0x5c27ef['length']-0x1,_0x332c1a;_0x50bdd3>=0x0;_0x50bdd3--)(_0x332c1a=_0x5c27ef[_0x50bdd3])&&(_0x53a85c=_0x332c1a(_0x53a85c)||_0x53a85c);return _0x53a85c;},_0x5e20b0=(_0x577001,_0x34310f)=>(_0x306788,_0x58ef1a)=>_0x34310f(_0x306788,_0x58ef1a,_0x577001);let _0x52c457=class extends _0x488b23['RxDisposable']{constructor(_0x1c81d7,_0xea62b2,_0x2a7990){const _0x1afabb=_0x35d624;super(),_0x5c8f58(this,'_entities',new Map()),_0x5c8f58(this,_0x1afabb(0x1cb),new _0xd39c43[(_0x1afabb(0x367))]()),(this[_0x1afabb(0x162)]=_0x1c81d7,this[_0x1afabb(0x111)]=_0xea62b2,this[_0x1afabb(0x274)]=_0x2a7990,this[_0x1afabb(0x251)]());}[_0x35d624(0x299)](){const _0x51b40e=_0x35d624;super['dispose'](),this['_entityInit$'][_0x51b40e(0x1ae)](),this[_0x51b40e(0x36b)]['forEach'](_0x58e629=>_0x58e629[_0x51b40e(0x299)]());}[_0x35d624(0x254)](_0x501897){const _0x462c6a=_0x35d624;return this[_0x462c6a(0x36b)]['has'](_0x501897)?this[_0x462c6a(0x36b)]['get'](_0x501897)[_0x462c6a(0x307)]:this[_0x462c6a(0x1cb)]['pipe'](_0xd39c43['filter'](_0x2e9a05=>_0x2e9a05['unitID']===_0x501897),_0xd39c43['switchMap'](_0x51ff9e=>_0x51ff9e[_0x462c6a(0x307)]));}[_0x35d624(0x251)](){const _0x367368=_0x35d624;this[_0x367368(0x162)][_0x367368(0x181)](_0x488b23[_0x367368(0x278)]['UNIVER_SHEET'])[_0x367368(0x2a0)](_0xd39c43['takeUntil'](this[_0x367368(0x325)]))[_0x367368(0x239)](async _0x30fc70=>{const _0xa94af5=_0x367368,_0x427b61=_0x30fc70[_0xa94af5(0x394)](),_0x3c8dfb=await this[_0xa94af5(0x1a5)](_0x427b61);this[_0xa94af5(0x1cb)]['next'](_0x3c8dfb),this['_entities'][_0xa94af5(0x26e)](_0x427b61,_0x3c8dfb);}),this[_0x367368(0x162)][_0x367368(0x181)](_0x488b23[_0x367368(0x278)][_0x367368(0x17b)])[_0x367368(0x2a0)](_0xd39c43['takeUntil'](this[_0x367368(0x325)]))[_0x367368(0x2a0)](_0xd39c43[_0x367368(0x293)](_0x288edb=>!_0x288edb[_0x367368(0x394)]()[_0x367368(0x393)]('__')))[_0x367368(0x239)](async _0x11d0bb=>{const _0x933885=_0x367368,_0x48d55a=_0x11d0bb[_0x933885(0x394)](),_0x1fe060=await this[_0x933885(0x317)](_0x48d55a);this['_entityInit$'][_0x933885(0x25a)](_0x1fe060),this[_0x933885(0x36b)][_0x933885(0x26e)](_0x48d55a,_0x1fe060);}),_0xd39c43[_0x367368(0x198)](this[_0x367368(0x162)][_0x367368(0x19d)](_0x488b23[_0x367368(0x278)][_0x367368(0x17b)]),this[_0x367368(0x162)]['getTypeOfUnitDisposed$'](_0x488b23[_0x367368(0x278)]['UNIVER_SHEET']))[_0x367368(0x2a0)](_0xd39c43['takeUntil'](this['dispose$']))[_0x367368(0x239)](_0x51540a=>{const _0x2ae8db=_0x367368,_0x2311dd=_0x51540a[_0x2ae8db(0x394)](),_0x4fc4df=this[_0x2ae8db(0x36b)]['get'](_0x2311dd);_0x4fc4df&&(_0x4fc4df[_0x2ae8db(0x299)](),this[_0x2ae8db(0x36b)][_0x2ae8db(0x323)](_0x2311dd));});}async[_0x35d624(0x1a5)](_0x292784){const _0x4aac86=_0x35d624,_0x29191e=await this[_0x4aac86(0x274)]['requireSession'](_0x292784),_0x5e6687=this[_0x4aac86(0x111)][_0x4aac86(0x114)](_0x535e38,_0x292784,_0x29191e);return _0x5e6687[_0x4aac86(0x1ff)](),_0x5e6687;}async['_startDocCollabCursor'](_0x461cb7){const _0x5ddc8b=_0x35d624,_0x9daf99=await this[_0x5ddc8b(0x274)][_0x5ddc8b(0xf4)](_0x461cb7),_0x116f27=this['_injector'][_0x5ddc8b(0x114)](_0x5f2e5e,_0x461cb7,_0x9daf99);return _0x116f27[_0x5ddc8b(0x1ff)](),_0x116f27;}};_0x52c457=_0x2b0350([_0x5e20b0(0x0,_0x488b23[_0x35d624(0x385)]),_0x5e20b0(0x1,_0x488b23[_0x35d624(0x14a)](_0x488b23['Injector'])),_0x5e20b0(0x2,_0x488b23[_0x35d624(0x14a)](_0xe662fa['CollaborationSessionService']))],_0x52c457);const _0x3e1347=0x14,_0x4814b2=0xc8,_0x19907b=0x4,_0x3d292f=0x5;function _0x8ebd3e(_0x297518,_0x45f832){const _0x1af95c=_0x35d624;let {radius:_0x534704,width:_0x27582b,height:_0x507a4e}=_0x45f832;_0x534704=_0x534704!=null?_0x534704:0x0,_0x27582b=_0x27582b!=null?_0x27582b:0x1e,_0x507a4e=_0x507a4e!=null?_0x507a4e:0x1e;let _0x1a623c=0x0,_0x47c28a=0x0,_0x2ab738=0x0;_0x1a623c=_0x47c28a=_0x2ab738=Math['min'](_0x534704,_0x27582b/0x2,_0x507a4e/0x2),_0x297518['beginPath'](),_0x297518[_0x1af95c(0x110)](_0x1a623c,0x0),_0x297518[_0x1af95c(0x2a6)](_0x27582b-_0x47c28a,0x0),_0x297518[_0x1af95c(0x318)](_0x27582b-_0x47c28a,_0x47c28a,_0x47c28a,Math['PI']*0x3/0x2,0x0,!0x1),_0x297518[_0x1af95c(0x2a6)](_0x27582b,_0x507a4e-_0x2ab738),_0x297518[_0x1af95c(0x318)](_0x27582b-_0x2ab738,_0x507a4e-_0x2ab738,_0x2ab738,0x0,Math['PI']/0x2,!0x1),_0x297518[_0x1af95c(0x2a6)](0x0,_0x507a4e),_0x297518[_0x1af95c(0x2a6)](0x0,_0x1a623c),_0x297518[_0x1af95c(0x318)](_0x1a623c,_0x1a623c,_0x1a623c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x297518['closePath'](),_0x45f832[_0x1af95c(0x2c6)]&&(_0x297518[_0x1af95c(0x3b4)](),_0x297518['fillStyle']=_0x45f832[_0x1af95c(0x2c6)],_0x45f832['fillRule']===_0x1af95c(0xf1)?_0x297518[_0x1af95c(0x2c6)](_0x1af95c(0xf1)):_0x297518['fill'](),_0x297518['restore']());}class _0x35a191 extends _0x4ad5e1[_0x35d624(0x139)]{constructor(_0x30064d,_0x3869c1){const _0xed8332=_0x35d624;super(_0x30064d,_0x3869c1),_0x5c8f58(this,_0xed8332(0x348)),_0x5c8f58(this,'text'),(this[_0xed8332(0x348)]=_0x3869c1==null?void 0x0:_0x3869c1[_0xed8332(0x348)],this[_0xed8332(0x330)]=_0x3869c1==null?void 0x0:_0x3869c1['text']);}static['drawWith'](_0xd45d31,_0x2cbcc4){const _0x18cc59=_0x35d624,{text:_0x5b5c91,color:_0x71fce8}=_0x2cbcc4;_0xd45d31[_0x18cc59(0x3b4)](),_0xd45d31[_0x18cc59(0x2e4)]=_0x18cc59(0x26c);const _0x245de7=_0xd45d31[_0x18cc59(0x17c)](_0x5b5c91)[_0x18cc59(0x1fe)],_0x129267=Math['min'](_0x245de7+0x2*_0x19907b,_0x4814b2);_0x8ebd3e(_0xd45d31,{'height':_0x3e1347,'radius':0x4,'width':_0x129267,'fill':_0x71fce8}),_0xd45d31[_0x18cc59(0x2f7)]='#FFF';const _0x4ecb30=_0x19907b,_0x4f522d=_0x3e1347-_0x3d292f,_0x47ea50=_0x4814b2-0x2*_0x19907b;if(_0x245de7>_0x47ea50){let _0x3e3917='',_0x119d0b=0x0;for(const _0x20fdd6 of _0x5b5c91){const _0x4e449a=_0xd45d31[_0x18cc59(0x17c)](_0x20fdd6)[_0x18cc59(0x1fe)];if(_0x119d0b+_0x4e449a<=_0x47ea50-_0xd45d31[_0x18cc59(0x17c)](_0x18cc59(0x30c))[_0x18cc59(0x1fe)])_0x3e3917+=_0x20fdd6,_0x119d0b+=_0x4e449a;else{_0x3e3917+=_0x18cc59(0x30c);break;}}_0xd45d31[_0x18cc59(0x209)](_0x3e3917,_0x4ecb30,_0x4f522d);}else _0xd45d31[_0x18cc59(0x209)](_0x5b5c91,_0x4ecb30,_0x4f522d);_0xd45d31[_0x18cc59(0x2d7)]();}['_draw'](_0x27a3cd){const _0x45790b=_0x35d624;_0x35a191[_0x45790b(0x1b5)](_0x27a3cd,this);}}const _0xcaa577='collab-text-anchor-',_0x51a857=_0x35d624(0xce),_0x433d2f='collab-rect-range-',_0x27b9f4=0x6,_0x291d89=1.5,_0x59f5fd=0x4,_0x58c60f=1.5,_0x4d180f='rgba(255,\x20255,\x20255,\x200.01)';class _0x5c0baf{constructor(_0x549d3d,_0x4f21c1,_0x2d8c06,_0x5d5c39){const _0x34d6e5=_0x35d624;_0x5c8f58(this,_0x34d6e5(0x172),[]),_0x5c8f58(this,'_anchor',null),_0x5c8f58(this,_0x34d6e5(0x20e),null),_0x5c8f58(this,'_anchorDot',null),_0x5c8f58(this,_0x34d6e5(0x259),null),_0x5c8f58(this,'_eventUnsubscribe',null),(this[_0x34d6e5(0x109)]=_0x549d3d,this[_0x34d6e5(0x28f)]=_0x4f21c1,this['_docSkeleton']=_0x2d8c06,this[_0x34d6e5(0x21d)]=_0x5d5c39,this[_0x34d6e5(0x351)]());}set[_0x35d624(0x283)](_0x49d230){const _0x1d05f5=_0x35d624;_0x49d230?(this[_0x1d05f5(0x153)]&&this[_0x1d05f5(0x153)][_0x1d05f5(0x266)](),this[_0x1d05f5(0x20e)]&&this[_0x1d05f5(0x20e)][_0x1d05f5(0x2b5)]()):(this['_anchorDot']&&this[_0x1d05f5(0x153)][_0x1d05f5(0x2b5)](),this[_0x1d05f5(0x20e)]&&this[_0x1d05f5(0x20e)][_0x1d05f5(0x266)]());}[_0x35d624(0x299)](){const _0x2e542a=_0x35d624;for(const _0x4ae198 of this['_shapes'])_0x4ae198['dispose']();this[_0x2e542a(0x20e)]&&this[_0x2e542a(0x20e)][_0x2e542a(0x299)](),this[_0x2e542a(0x153)]&&this[_0x2e542a(0x153)][_0x2e542a(0x299)](),this[_0x2e542a(0x2dc)]&&this[_0x2e542a(0x2dc)][_0x2e542a(0x299)](),this[_0x2e542a(0x364)]&&this['_eventUnsubscribe']();}[_0x35d624(0x351)](){const _0x475ab0=_0x35d624;var _0x4debfc;const {_docSkeleton:_0x88bb2d,_document:_0x3dd494}=this,{color:_0x2deccb,name:_0x37ffd9,ranges:_0x1e2920}=this[_0x475ab0(0x109)],_0x2fcbd5=_0x3dd494[_0x475ab0(0x1d2)](),{docsLeft:_0x13f67d,docsTop:_0x4fb8f4}=_0x2fcbd5,_0x21089b=new _0x568c85[(_0x475ab0(0x21c))](_0x2fcbd5,_0x88bb2d);for(const {startOffset:_0x1a12f5,endOffset:_0x3d31f2,rangeType:_0x4b6322,segmentId:_0x7ef245,segmentPage:_0x59bacb,collapsed:_0x1b4331,isActive:_0x3b5eff}of _0x1e2920){const _0x21714d=_0x88bb2d['findNodePositionByCharIndex'](_0x1a12f5,!0x0,_0x7ef245,_0x59bacb);let _0x3a20a7=_0x88bb2d[_0x475ab0(0x1bc)](_0x3d31f2,!0x0,_0x7ef245,_0x59bacb);if(_0x3a20a7==null&&(_0x3a20a7=_0x88bb2d[_0x475ab0(0x1bc)](_0x3d31f2-0x1,!0x1,_0x7ef245,_0x59bacb)),_0x3b5eff){const {contentBoxPointGroup:_0x583c23}=_0x21089b[_0x475ab0(0x319)](_0x3a20a7,_0x3a20a7);if(_0x583c23[_0x475ab0(0x33f)]===0x0)continue;this[_0x475ab0(0x2fb)](_0x2deccb,_0x583c23,_0x13f67d,_0x4fb8f4,_0x37ffd9),this[_0x475ab0(0x364)]=this['_handleHover']();}if(_0x21714d&&_0x3a20a7){if(_0x4b6322===_0x488b23[_0x475ab0(0x1cd)][_0x475ab0(0x2ab)]){const _0x20d63b=new _0x568c85[(_0x475ab0(0x275))](_0x2fcbd5,_0x88bb2d),{pointGroup:_0x157cb3}=(_0x4debfc=_0x20d63b[_0x475ab0(0x319)](_0x21714d,_0x3a20a7))!=null?_0x4debfc:{};if(_0x157cb3==null||_0x157cb3['length']===0x0)continue;this[_0x475ab0(0x3a1)](_0x2deccb,_0x157cb3,_0x13f67d,_0x4fb8f4);}else{if(!_0x1b4331){const {borderBoxPointGroup:_0x2192d4}=_0x21089b['getRangePointData'](_0x21714d,_0x3a20a7);if(_0x2192d4[_0x475ab0(0x33f)]===0x0)continue;this[_0x475ab0(0x252)](_0x2deccb,_0x2192d4,_0x13f67d,_0x4fb8f4);}}}}}['_drawAnchor'](_0x3571f8,_0x4b6455,_0x10ba72,_0x345990,_0x5122ad){const _0x325b46=_0x35d624,_0xffb00d=this[_0x325b46(0x302)](_0x4b6455),{left:_0x15241f,top:_0x1fe2f5,height:_0x3760d7}=_0xffb00d,_0x52e779=this['_getScale'](),_0x2a99a7=_0x58c60f/_0x52e779,_0x320983=new _0x4ad5e1['Rect'](_0xcaa577+_0x488b23[_0x325b46(0x390)](_0x27b9f4),{'left':_0x15241f+_0x10ba72-_0x2a99a7,'top':_0x1fe2f5+_0x345990,'height':_0x3760d7,'width':_0x291d89,'fill':_0x3571f8||_0x4ad5e1[_0x325b46(0x2d4)](_0x488b23[_0x325b46(0x24d)][_0x325b46(0x3b3)],0x0),'strokeWidth':_0x2a99a7,'stroke':_0x4d180f,'evented':!0x0});this[_0x325b46(0x2dc)]=_0x320983,this[_0x325b46(0x28f)]['addObject'](_0x320983,_0x568c85[_0x325b46(0x18a)]);const _0x10790c=new _0x4ad5e1[(_0x325b46(0x2d0))](_0xcaa577+_0x488b23[_0x325b46(0x390)](_0x27b9f4),{'left':_0x15241f+_0x10ba72-_0x2a99a7,'top':_0x1fe2f5+_0x345990-_0x59f5fd/0x2,'height':_0x59f5fd,'width':_0x59f5fd,'fill':_0x3571f8||_0x4ad5e1['getColor'](_0x488b23['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x3571f8||_0x4ad5e1['getColor'](_0x488b23[_0x325b46(0x24d)][_0x325b46(0x3b3)],0x0),'evented':!0x1});this[_0x325b46(0x153)]=_0x10790c,this[_0x325b46(0x28f)][_0x325b46(0x25b)](_0x10790c,_0x568c85[_0x325b46(0x18a)]);const _0x373286=new _0x35a191(_0xcaa577+_0x488b23[_0x325b46(0x390)](_0x27b9f4),{'left':_0x15241f+_0x10ba72-_0x2a99a7,'top':_0x1fe2f5+_0x345990-_0x3e1347,'text':_0x5122ad,'color':_0x3571f8});this[_0x325b46(0x20e)]=_0x373286,this[_0x325b46(0x28f)]['addObject'](_0x373286,_0x568c85[_0x325b46(0x18a)]),this[_0x325b46(0x283)]=!0x1;}[_0x35d624(0xd2)](){const _0x59f8ad=_0x35d624,_0x262759=this['_anchor']['onPointerEnter$']['subscribeEvent'](()=>{const _0xa3ca8c=_0x3f90;this[_0xa3ca8c(0x283)]=!0x0;}),_0x83c362=this[_0x59f8ad(0x2dc)][_0x59f8ad(0x300)][_0x59f8ad(0xde)](()=>{const _0x15577b=_0x59f8ad;this[_0x15577b(0x259)]&&clearTimeout(this[_0x15577b(0x259)]),this[_0x15577b(0x259)]=setTimeout(()=>{const _0x270d2c=_0x15577b;this[_0x270d2c(0x283)]=!0x1;},0x7d0);});return()=>{_0x262759['unsubscribe'](),_0x83c362['unsubscribe']();};}[_0x35d624(0x252)](_0x45190a,_0x54a450,_0x200135,_0x496d8d){const _0x4f07d7=_0x35d624,_0x5a6a28=new _0x488b23[(_0x4f07d7(0x100))](_0x45190a)[_0x4f07d7(0x23b)](0.2)[_0x4f07d7(0x28b)](),_0x5d54c7=new _0x4ad5e1[(_0x4f07d7(0x2ea))](_0x51a857+_0x488b23['generateRandomId'](_0x27b9f4),{'pointsGroup':_0x54a450,'fill':_0x5a6a28||_0x4ad5e1['getColor'](_0x488b23['COLORS']['black'],0.2),'left':_0x200135,'top':_0x496d8d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f07d7(0x172)]['push'](_0x5d54c7),this[_0x4f07d7(0x28f)][_0x4f07d7(0x25b)](_0x5d54c7,_0x568c85['TEXT_RANGE_LAYER_INDEX']);}[_0x35d624(0x3a1)](_0x2afa85,_0x176ede,_0xf17dc2,_0x507564){const _0x405b89=_0x35d624,_0x255350=new _0x488b23[(_0x405b89(0x100))](_0x2afa85)['setAlpha'](0.2)[_0x405b89(0x28b)](),_0x25c28d=new _0x4ad5e1[(_0x405b89(0x2ea))](_0x433d2f+_0x488b23[_0x405b89(0x390)](_0x27b9f4),{'pointsGroup':_0x176ede,'fill':_0x255350||_0x4ad5e1[_0x405b89(0x2d4)](_0x488b23[_0x405b89(0x24d)]['black'],0.2),'left':_0xf17dc2,'top':_0x507564,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x405b89(0x172)][_0x405b89(0x157)](_0x25c28d),this[_0x405b89(0x28f)]['addObject'](_0x25c28d,_0x568c85['TEXT_RANGE_LAYER_INDEX']);}[_0x35d624(0x302)](_0x2af89d){const _0x40afe9=_0x2af89d[0x0],_0x1c8aad=_0x40afe9[0x0],_0x49c206=_0x40afe9[0x2],{x:_0x133cb4,y:_0x366518}=_0x1c8aad,{x:_0x588c0f,y:_0x456566}=_0x49c206;return{'left':_0x133cb4,'top':_0x366518,'width':_0x588c0f-_0x133cb4,'height':_0x456566-_0x366518};}[_0x35d624(0x2cc)](){const _0x5810ef=_0x35d624,{scaleX:_0x3dd3bd,scaleY:_0x14ec85}=this[_0x5810ef(0x28f)][_0x5810ef(0x121)]();return Math[_0x5810ef(0x1a3)](_0x3dd3bd,_0x14ec85);}}var _0x1627ae=Object[_0x35d624(0x235)],_0x552f09=(_0x4a1817,_0xb792b9,_0x2041cb,_0x3c86bf)=>{const _0x446075=_0x35d624;for(var _0x109a8a=_0x3c86bf>0x1?void 0x0:_0x3c86bf?_0x1627ae(_0xb792b9,_0x2041cb):_0xb792b9,_0x567345=_0x4a1817[_0x446075(0x33f)]-0x1,_0x36d29e;_0x567345>=0x0;_0x567345--)(_0x36d29e=_0x4a1817[_0x567345])&&(_0x109a8a=_0x36d29e(_0x109a8a)||_0x109a8a);return _0x109a8a;},_0x4927f3=(_0x548cbd,_0x297379)=>(_0xcfb168,_0x223c24)=>_0x297379(_0xcfb168,_0x223c24,_0x548cbd);let _0x2a680a=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0xba1c58,_0x14e0ba,_0x585b31,_0x42e4c7,_0x5ea943){const _0x21d2d8=_0x35d624;super(),_0x5c8f58(this,_0x21d2d8(0x370),[]),_0x5c8f58(this,_0x21d2d8(0x267),[]),(this[_0x21d2d8(0x2ef)]=_0xba1c58,this[_0x21d2d8(0x2cd)]=_0x14e0ba,this[_0x21d2d8(0x2c1)]=_0x585b31,this[_0x21d2d8(0x224)]=_0x42e4c7,this['_themeService']=_0x5ea943,this[_0x21d2d8(0x251)]());}[_0x35d624(0x251)](){const _0x577c1a=_0x35d624,_0x4f843c=this[_0x577c1a(0x2ef)][_0x577c1a(0x187)],_0x3b120a=this[_0x577c1a(0x2cd)];this[_0x577c1a(0x37d)](_0xd39c43[_0x577c1a(0x1df)]([this['_collabCursorController'][_0x577c1a(0x254)](_0x4f843c),this['_themeService'][_0x577c1a(0x1c0)]])[_0x577c1a(0x2a0)](_0x517874[_0x577c1a(0xd4)](([_0x1c8917,_0xd76354])=>({'skeleton':_0x3b120a[_0x577c1a(0x3a5)](),'cursors':[..._0x1c8917[_0x577c1a(0x2c4)]()][_0x577c1a(0x26f)](_0x9d1b1d=>({..._0x9d1b1d,'color':this[_0x577c1a(0x234)]['getColorFromTheme'](_0x9d1b1d[_0x577c1a(0x348)])}))})))[_0x577c1a(0x239)](_0x26e448=>{const _0x11eded=_0x577c1a;if(this['_removeCollabCursors'](),_0x26e448){const {skeleton:_0x462bbb,cursors:_0x5bc2d5}=_0x26e448;this[_0x11eded(0x306)](_0x462bbb,_0x5bc2d5);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x35d624(0x306)](_0x4f986b,_0x3234c4){const _0xfc5a23=_0x35d624,{scene:_0x327860,mainComponent:_0x44ce3c}=this[_0xfc5a23(0x2ef)],_0x178358=_0x3234c4[_0xfc5a23(0xd4)](_0x2061a5=>new _0x5c0baf(_0x2061a5,_0x327860,_0x4f986b,_0x44ce3c));this['_cursorShapes']=_0x178358,this['_cursors']=_0x3234c4;}[_0x35d624(0x314)](){const _0x453b0b=_0x35d624;this['_removeCollabCursors']();const {scene:_0xd0d88c,mainComponent:_0x194a29}=this[_0x453b0b(0x2ef)],_0xff90ac=this[_0x453b0b(0x2cd)][_0x453b0b(0x3a5)](),_0x19d5c1=this[_0x453b0b(0x267)][_0x453b0b(0xd4)](_0x3d936d=>new _0x5c0baf(_0x3d936d,_0xd0d88c,_0xff90ac,_0x194a29));this[_0x453b0b(0x370)]=_0x19d5c1;}[_0x35d624(0x395)](){const _0x3c8f76=_0x35d624;this[_0x3c8f76(0x370)][_0x3c8f76(0x125)](_0x281713=>_0x281713['dispose']()),this[_0x3c8f76(0x370)]=[];}[_0x35d624(0xd5)](){const _0x56e4c5=_0x35d624,_0x549272=[_0x568c85['SetDocZoomRatioOperation']['id']];this[_0x56e4c5(0x37d)](this[_0x56e4c5(0x224)][_0x56e4c5(0x1fd)](_0x1cb8a7=>{const _0x525cc8=_0x56e4c5;_0x549272[_0x525cc8(0x1e1)](_0x1cb8a7['id'])&&_0x1cb8a7['params'][_0x525cc8(0x187)]===this['_context'][_0x525cc8(0x187)]&&this[_0x525cc8(0x314)]();}));}[_0x35d624(0x249)](){const _0x2de24a=_0x35d624;this[_0x2de24a(0x37d)](_0x488b23[_0x2de24a(0x1d7)](this[_0x2de24a(0x2ef)][_0x2de24a(0x16f)]['onTransformChange$'])['pipe'](_0x517874[_0x2de24a(0x293)](_0x121bf4=>_0x121bf4[_0x2de24a(0x18c)]===_0x4ad5e1[_0x2de24a(0x31e)]['resize']),_0x517874[_0x2de24a(0x305)](0x10))[_0x2de24a(0x239)](()=>{const _0x9dabb7=_0x2de24a;this[_0x9dabb7(0x314)]();}));}};_0x2a680a=_0x552f09([_0x4927f3(0x1,_0x488b23[_0x35d624(0x14a)](_0x473e87[_0x35d624(0x258)])),_0x4927f3(0x2,_0x488b23[_0x35d624(0x14a)](_0x52c457)),_0x4927f3(0x3,_0x488b23[_0x35d624(0x1cc)]),_0x4927f3(0x4,_0x488b23['Inject'](_0x488b23[_0x35d624(0x339)]))],_0x2a680a);const _0x5c9426=0x1,_0x276093=1.5;class _0x370ba4 extends _0x4ad5e1[_0x35d624(0x139)]{constructor(_0x4c80a0,_0x449f5d){const _0x1ec27e=_0x35d624;super(_0x4c80a0,_0x449f5d),_0x5c8f58(this,_0x1ec27e(0x359)),_0x5c8f58(this,'_hovered',!0x1),_0x5c8f58(this,_0x1ec27e(0x2c5)),_0x5c8f58(this,_0x1ec27e(0x2f3),''),_0x5c8f58(this,'_labelPosition',_0x1ec27e(0xe6)),_0x5c8f58(this,_0x1ec27e(0x134)),(_0x449f5d&&this[_0x1ec27e(0x260)](_0x449f5d),this[_0x1ec27e(0x2b6)][_0x1ec27e(0xde)](()=>this[_0x1ec27e(0x260)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x11aef6){const _0x5d8786=_0x35d624;var _0x24e658,_0x16890e,_0x4100c2,_0xc5d404,_0x36ea47,_0x286c7e;this['_color']=(_0x24e658=_0x11aef6['color'])!=null?_0x24e658:this[_0x5d8786(0x359)],this[_0x5d8786(0x1f7)]=(_0x16890e=_0x11aef6[_0x5d8786(0x309)])!=null?_0x16890e:this['_hovered'],this['_range']=(_0x4100c2=_0x11aef6['range'])!=null?_0x4100c2:this['_range'],this[_0x5d8786(0x2f3)]=(_0xc5d404=_0x11aef6[_0x5d8786(0x38e)])!=null?_0xc5d404:this[_0x5d8786(0x2f3)],this['_labelPosition']=(_0x36ea47=_0x11aef6[_0x5d8786(0xda)])!=null?_0x36ea47:this[_0x5d8786(0x10b)],this[_0x5d8786(0x134)]=(_0x286c7e=_0x11aef6[_0x5d8786(0x173)])!=null?_0x286c7e:this[_0x5d8786(0x134)],this[_0x5d8786(0x14f)]({'width':_0x11aef6[_0x5d8786(0x1fe)],'height':_0x11aef6['height']});}['onMouseMove'](_0xfaaf8e){const _0x5dcc10=_0x35d624,{row:_0x15f540,column:_0x760380}=_0xfaaf8e;if(_0x15f540>=this[_0x5dcc10(0x2c5)]['startRow']&&_0x15f540<=this[_0x5dcc10(0x2c5)][_0x5dcc10(0x2c8)]&&_0x760380>=this[_0x5dcc10(0x2c5)][_0x5dcc10(0x1fa)]&&_0x760380<=this[_0x5dcc10(0x2c5)][_0x5dcc10(0xcd)]){this[_0x5dcc10(0x260)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x35d624(0x25d)](_0x578503){return!0x1;}['_draw'](_0x14bed1){const _0x34775a=_0x35d624;_0x4ad5e1[_0x34775a(0x2d0)][_0x34775a(0x1b5)](_0x14bed1,{'width':this[_0x34775a(0x1fe)],'height':this[_0x34775a(0x10a)],'strokeWidth':_0x276093,'stroke':this[_0x34775a(0x359)],'evented':!0x1,'fill':this[_0x34775a(0x134)]}),this[_0x34775a(0x1f7)]&&(_0x14bed1[_0x34775a(0x3b4)](),_0x14bed1[_0x34775a(0xd0)](0x1,0x0,0x0,0x1,this[_0x34775a(0x1fe)],this[_0x34775a(0x10b)]===_0x34775a(0x2e9)?0x0:-_0x3e1347),_0x35a191[_0x34775a(0x1b5)](_0x14bed1,{'text':this[_0x34775a(0x2f3)],'color':this[_0x34775a(0x359)]}),_0x14bed1[_0x34775a(0x2d7)]());}}var _0x271f4f=Object[_0x35d624(0x235)],_0x393bb2=(_0x247d86,_0x36ed1e,_0x562335,_0x5cc3f4)=>{const _0x472744=_0x35d624;for(var _0x1950a0=_0x5cc3f4>0x1?void 0x0:_0x5cc3f4?_0x271f4f(_0x36ed1e,_0x562335):_0x36ed1e,_0x3fdf6b=_0x247d86[_0x472744(0x33f)]-0x1,_0x1cc47e;_0x3fdf6b>=0x0;_0x3fdf6b--)(_0x1cc47e=_0x247d86[_0x3fdf6b])&&(_0x1950a0=_0x1cc47e(_0x1950a0)||_0x1950a0);return _0x1950a0;},_0x173c15=(_0x535424,_0x33559d)=>(_0x171605,_0x57c260)=>_0x33559d(_0x171605,_0x57c260,_0x535424);const _0x5ed7c3=0x1389;let _0x3f03ab=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0x20f390,_0x281578,_0x33c011,_0x18b38f){const _0x10dcd0=_0x35d624;super(),_0x5c8f58(this,_0x10dcd0(0x267),new Set()),_0x5c8f58(this,'_lastPointer',null),(this[_0x10dcd0(0x2ef)]=_0x20f390,this[_0x10dcd0(0xe8)]=_0x281578,this[_0x10dcd0(0x2c1)]=_0x33c011,this[_0x10dcd0(0x234)]=_0x18b38f,this['_init']());}[_0x35d624(0x251)](){const _0x3c87b2=_0x35d624;this[_0x3c87b2(0xe8)][_0x3c87b2(0xf7)][_0x3c87b2(0x2a0)](_0x517874['takeUntil'](this[_0x3c87b2(0x325)]),_0x517874[_0x3c87b2(0x1fb)](_0x2e9bc2=>{const _0x3613f3=_0x3c87b2;if(_0x2e9bc2){const _0x19423d=_0x2e9bc2[_0x3613f3(0x363)];return _0xd39c43[_0x3613f3(0x1df)](this[_0x3613f3(0x2c1)]['getCollabCursors$'](this['_context']['unitId']),this[_0x3613f3(0x234)][_0x3613f3(0x1c0)])[_0x3613f3(0x2a0)](_0x517874[_0x3613f3(0xd4)](([_0x5376b3,_0x2619c3])=>{const _0x468e89=_0x3613f3,_0x1171be=new Map();return _0x5376b3[_0x468e89(0x125)]((_0x118809,_0x2e72a1)=>{const _0x3680d2=_0x468e89;if(_0x118809[_0x3680d2(0x11f)]===_0x19423d){const _0x1c242a={..._0x118809};_0x1c242a[_0x3680d2(0x348)]=this['_themeService'][_0x3680d2(0x30a)](_0x118809[_0x3680d2(0x348)]),_0x1171be[_0x3680d2(0x26e)](_0x2e72a1,_0x1c242a);}}),{'skeleton':_0x2e9bc2,'cursors':_0x1171be};}));}return _0xd39c43['of']({'skeleton':null,'cursors':new Map()});}))[_0x3c87b2(0x239)](({skeleton:_0x4e0e69,cursors:_0x4d704e})=>{const _0x333a69=_0x3c87b2;this[_0x333a69(0x395)](),_0x4e0e69&&this[_0x333a69(0x306)](_0x4e0e69,_0x4d704e);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x3c87b2(0x239)](_0x228248=>{const _0x4fb024=_0x3c87b2;if(_0x228248==null)return;const {skeleton:_0x4fcfed}=_0x228248,{scene:_0x1491bb}=this['_context'];_0x1491bb[_0x4fb024(0x2f4)]['subscribeEvent'](_0x488b23[_0x4fb024(0x396)](_0x170c20=>{const _0x585f13=_0x4fb024;var _0x3df871,_0x2c55af;const {offsetX:_0x5566c8,offsetY:_0x57a470}=_0x170c20,{x:_0x2a26ee,y:_0x25c9b0}=_0x1491bb[_0x585f13(0x166)](_0x4ad5e1['Vector2'][_0x585f13(0x315)]([_0x5566c8,_0x57a470])),{scaleX:_0xdf0db3,scaleY:_0x390c20}=_0x1491bb[_0x585f13(0x121)](),_0x40d260=_0x1491bb[_0x585f13(0x215)](_0x4ad5e1['SHEET_VIEWPORT_KEY'][_0x585f13(0x27d)]),_0x595505=_0x1491bb['getVpScrollXYInfoByPosToVp'](_0x4ad5e1['Vector2'][_0x585f13(0x315)]([_0x2a26ee,_0x25c9b0]),_0x40d260),_0x767182=_0x4fcfed[_0x585f13(0x285)](_0x5566c8,_0x57a470,_0xdf0db3,_0x390c20,_0x595505);((_0x3df871=this[_0x585f13(0x3b5)])==null?void 0x0:_0x3df871[_0x585f13(0x2b0)])===_0x767182[_0x585f13(0x2b0)]&&((_0x2c55af=this['_lastPointer'])==null?void 0x0:_0x2c55af[_0x585f13(0xfd)])===_0x767182['row']||this[_0x585f13(0x267)][_0x585f13(0x125)](_0x3bc8b5=>{const _0x46e805=_0x585f13;_0x3bc8b5[_0x46e805(0x102)](_0x767182);});},0x64));});}[_0x35d624(0x306)](_0x455bed,_0x54b2d3){const _0x32d07d=_0x35d624;var _0x2a8a7a;const _0x2a047e=(_0x2a8a7a=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x2a8a7a[_0x32d07d(0x1b8)];if(!_0x2a047e)return;const _0x35044e=this[_0x32d07d(0x15e)]();if(!_0x35044e)return;this[_0x32d07d(0x267)][_0x32d07d(0x125)](_0x386ce8=>{const _0xa042ce=_0x32d07d;_0x386ce8[_0xa042ce(0x1c5)]();});const {scene:_0x47ca38}=_0x35044e,_0x56dd0f=_0x85ffeb(Array['from'](_0x54b2d3[_0x32d07d(0x2c4)]()))[_0x32d07d(0xd4)](_0x4fc5eb=>{const _0x1198c0=_0x32d07d,{color:_0x1e5478,range:_0x372995,name:_0x29dd2b,selection:_0x2d41cd,sheetID:_0x11e5c7}=_0x4fc5eb,{startColumn:_0xafef6a,startRow:_0x215d8c,endColumn:_0x351d8a,endRow:_0x4be057}=_0x372995,_0x567f95=_0x477084[_0x1198c0(0x324)](_0x215d8c,_0xafef6a,_0x47ca38,_0x2a047e),_0x4a991e=_0x477084[_0x1198c0(0x324)](_0x4be057,_0x351d8a,_0x47ca38,_0x2a047e),{columnHeaderHeightAndMarginTop:_0x3bfa52}=_0x2a047e,{startX:_0x5b1836,startY:_0xb33be8}=_0x567f95,{endX:_0x4c1672,endY:_0x259e1d}=_0x4a991e,_0x264d79=_0x4c1672-_0x5b1836,_0x3f9d0f=_0x259e1d-_0xb33be8,_0x11bae2={'labelPosition':_0xb33be8-_0x3bfa52>=_0x3e1347?_0x1198c0(0xe6):'bottom','sheetID':_0x11e5c7,'range':_0x372995,'color':_0x1e5478,'name':_0x29dd2b,'selection':_0x2d41cd,'left':_0x5b1836,'top':_0xb33be8,'width':_0x264d79,'height':_0x3f9d0f,'evented':!0x1,'zIndex':_0x5ed7c3};return new _0x370ba4(_0x29dd2b,_0x11bae2);});_0x47ca38[_0x32d07d(0x124)](_0x56dd0f,_0x5c9426),this[_0x32d07d(0x267)]=new Set(_0x56dd0f);}['_removeCollabCursors'](){const _0x156af1=_0x35d624;var _0x57b176;(_0x57b176=this[_0x156af1(0x267)])==null||_0x57b176['forEach'](_0x1036c1=>_0x1036c1[_0x156af1(0x299)]());}[_0x35d624(0x15e)](){const _0x4359c1=_0x35d624;return _0x477084['getSheetObject'](this[_0x4359c1(0x2ef)]['unit'],this['_context']);}};_0x3f03ab=_0x393bb2([_0x173c15(0x1,_0x488b23[_0x35d624(0x14a)](_0x477084[_0x35d624(0xed)])),_0x173c15(0x2,_0x488b23[_0x35d624(0x14a)](_0x52c457)),_0x173c15(0x3,_0x488b23['Inject'](_0x488b23[_0x35d624(0x339)]))],_0x3f03ab);function _0x85ffeb(_0x30c87b){const _0x5a7ce7=_0x35d624,_0x194fb1=new Map();return _0x30c87b[_0x5a7ce7(0x125)](_0x11eb64=>{const _0x281156=_0x5a7ce7;if(_0x194fb1[_0x281156(0x2a9)](_0x11eb64[_0x281156(0x19b)])){const _0x8404b6=_0x194fb1[_0x281156(0x37f)](_0x11eb64[_0x281156(0x19b)]);_0x8404b6[_0x281156(0x38e)]+=',\x20'+_0x11eb64[_0x281156(0x38e)];}else _0x194fb1[_0x281156(0x26e)](_0x11eb64[_0x281156(0x19b)],_0x11eb64);}),Array[_0x5a7ce7(0x138)](_0x194fb1[_0x5a7ce7(0x2c4)]());}var _0x53760a=Object[_0x35d624(0x235)],_0x42b026=(_0x481b76,_0x4cff8e,_0x3e5d9a,_0x1a7ecb)=>{const _0x429643=_0x35d624;for(var _0x579883=_0x1a7ecb>0x1?void 0x0:_0x1a7ecb?_0x53760a(_0x4cff8e,_0x3e5d9a):_0x4cff8e,_0x55dff4=_0x481b76[_0x429643(0x33f)]-0x1,_0x503d51;_0x55dff4>=0x0;_0x55dff4--)(_0x503d51=_0x481b76[_0x55dff4])&&(_0x579883=_0x503d51(_0x579883)||_0x579883);return _0x579883;},_0x25e23f=(_0x182719,_0x573357)=>(_0x49b9a3,_0x2a7969)=>_0x573357(_0x49b9a3,_0x2a7969,_0x182719);let _0x4de461=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x21a72e,_0x200f0b,_0x6ad427,_0x550749,_0x4f407b,_0x2fc0ef){const _0x3e1df8=_0x35d624;super(),this[_0x3e1df8(0x14e)]=_0x21a72e,this[_0x3e1df8(0x311)]=_0x200f0b,this[_0x3e1df8(0x167)]=_0x6ad427,this[_0x3e1df8(0x329)]=_0x550749,this['_notificationService']=_0x4f407b,this[_0x3e1df8(0x349)]=_0x2fc0ef,this['_setupBeforeClosingHandler'](),this[_0x3e1df8(0x1bd)]();}['_setupBeforeClosingHandler'](){const _0x311c9e=_0x35d624;this[_0x311c9e(0x37d)](this[_0x311c9e(0x14e)][_0x311c9e(0x1a1)](()=>{const _0x467bd1=_0x311c9e;if(this[_0x467bd1(0x311)]['saveTaskMap']['size'])return this[_0x467bd1(0x349)]['t'](_0x467bd1(0x296));}));}[_0x35d624(0x1bd)](){const _0x434c57=_0x35d624;this[_0x434c57(0x37d)](this[_0x434c57(0x167)][_0x434c57(0x2d5)]['subscribe'](_0x2de548=>{const _0x5d2942=_0x434c57;_0x2de548['id']===_0xe662fa[_0x5d2942(0x1b3)][_0x5d2942(0x128)]&&this[_0x5d2942(0x329)][_0x5d2942(0x2b5)]({'type':_0x29b3d4['MessageType'][_0x5d2942(0x194)],'content':this[_0x5d2942(0x349)]['t']('collaboration.single-unit.warning')}),_0x2de548['id']===_0xe662fa[_0x5d2942(0x1b3)][_0x5d2942(0x1dc)]&&this['_messageService'][_0x5d2942(0x2b5)]({'type':_0x29b3d4[_0x5d2942(0x219)][_0x5d2942(0x194)],'content':this[_0x5d2942(0x349)]['t']('collaboration.closeRoom')}),_0x2de548['id']===_0xe662fa[_0x5d2942(0x1b3)][_0x5d2942(0x199)]&&this['_notificationService'][_0x5d2942(0x2b5)]({'title':this[_0x5d2942(0x349)]['t']('permission.title'),'content':this['_localeService']['t'](_0x5d2942(0x206)),'type':'error','duration':0x0}),_0x2de548['id']===_0xe662fa['CollaborationUIEventId'][_0x5d2942(0x37c)]&&this[_0x5d2942(0x329)][_0x5d2942(0x2b5)]({'type':_0x29b3d4['MessageType'][_0x5d2942(0x240)],'content':this[_0x5d2942(0x349)]['t'](_0x5d2942(0x216))+'('+_0x2de548[_0x5d2942(0x3aa)]+')'}),_0x2de548['id']===_0xe662fa['CollaborationUIEventId'][_0x5d2942(0x308)]&&this[_0x5d2942(0x329)]['show']({'type':_0x29b3d4[_0x5d2942(0x219)]['Warning'],'content':this['_localeService']['t'](_0x2de548['data']||'')}),_0x2de548['id']===_0xe662fa[_0x5d2942(0x1b3)][_0x5d2942(0x17e)]&&this[_0x5d2942(0x329)][_0x5d2942(0x2b5)]({'type':_0x29b3d4[_0x5d2942(0x219)][_0x5d2942(0x194)],'content':this[_0x5d2942(0x349)]['t'](_0x5d2942(0x2c2))}),_0x2de548['id']===_0xe662fa['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x5d2942(0x329)][_0x5d2942(0x2b5)]({'type':_0x29b3d4['MessageType'][_0x5d2942(0x240)],'content':this[_0x5d2942(0x349)]['t'](_0x5d2942(0x23a))}),_0x2de548['id']===_0xe662fa['CollaborationUIEventId'][_0x5d2942(0x1b2)]&&this[_0x5d2942(0x329)][_0x5d2942(0x2b5)]({'type':_0x29b3d4[_0x5d2942(0x219)][_0x5d2942(0x240)],'content':this[_0x5d2942(0x349)]['t'](_0x5d2942(0x19f))});}));}};_0x4de461=_0x42b026([_0x25e23f(0x0,_0x16efad[_0x35d624(0x289)]),_0x25e23f(0x1,_0xe662fa[_0x35d624(0x2a4)]),_0x25e23f(0x2,_0x488b23[_0x35d624(0x14a)](_0xe662fa['CollaborationUIEventService'])),_0x25e23f(0x3,_0x16efad[_0x35d624(0x381)]),_0x25e23f(0x4,_0x16efad[_0x35d624(0x19e)]),_0x25e23f(0x5,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x301)]))],_0x4de461);var _0x3935e1=Object[_0x35d624(0x235)],_0x3f032f=(_0x104e4f,_0x7201fb,_0x4032ae,_0x473e44)=>{for(var _0x385bd2=_0x473e44>0x1?void 0x0:_0x473e44?_0x3935e1(_0x7201fb,_0x4032ae):_0x7201fb,_0x294242=_0x104e4f['length']-0x1,_0x3f9806;_0x294242>=0x0;_0x294242--)(_0x3f9806=_0x104e4f[_0x294242])&&(_0x385bd2=_0x3f9806(_0x385bd2)||_0x385bd2);return _0x385bd2;},_0x43d69b=(_0x3d08a2,_0x577f59)=>(_0x77c254,_0x28b4f8)=>_0x577f59(_0x77c254,_0x28b4f8,_0x3d08a2);let _0x5b922f=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x5db7d5,_0x1ef7c0,_0x156766,_0x473cd6){const _0xc9a62d=_0x35d624;super(),_0x5c8f58(this,_0xc9a62d(0x163)),(this[_0xc9a62d(0x111)]=_0x5db7d5,this[_0xc9a62d(0x33e)]=_0x1ef7c0,this[_0xc9a62d(0x112)]=_0x156766,this[_0xc9a62d(0x291)]=_0x473cd6,this['_init']());}[_0x35d624(0x251)](){const _0x228a22=_0x35d624;this[_0x228a22(0x12f)](),this[_0x228a22(0x23d)](),this[_0x228a22(0x228)](),this[_0x228a22(0x1a6)]();}[_0x35d624(0x1a6)](){const _0x47cc55=_0x35d624;this[_0x47cc55(0x37d)](this[_0x47cc55(0x291)][_0x47cc55(0x18d)]['subscribe'](_0x1382fa=>{const _0x116fad=_0x47cc55;this[_0x116fad(0x163)]=_0x1382fa==null?void 0x0:_0x1382fa[_0x116fad(0x20b)];}));}[_0x35d624(0x12f)](){const _0x2a6bd4=_0x35d624,_0x55e9e2=_0x305cf2=>{const _0x40dd6c=_0x3f90;var _0x1230ec;this['_uploadLog']('error',_0x40dd6c(0xef)+_0x305cf2['message']+_0x40dd6c(0x21a)+_0x305cf2['filename']+':'+_0x305cf2['lineno']+':'+_0x305cf2['colno']+'\x0a'+(((_0x1230ec=_0x305cf2['error'])==null?void 0x0:_0x1230ec['stack'])||''));};window[_0x2a6bd4(0x2d6)]('error',_0x55e9e2),this[_0x2a6bd4(0x37d)](()=>{const _0x4ea172=_0x2a6bd4;window[_0x4ea172(0x164)](_0x4ea172(0x188),_0x55e9e2);});}[_0x35d624(0x23d)](){const _0x535f42=_0x35d624,_0x9ade0d=_0x2035a7=>{const _0xe6042c=_0x3f90;this[_0xe6042c(0x17d)](_0xe6042c(0x188),'[Unhandled\x20Rejection]:\x20'+_0x2035a7['reason']);};window[_0x535f42(0x2d6)](_0x535f42(0x101),_0x9ade0d),this[_0x535f42(0x37d)](()=>{const _0x825f2e=_0x535f42;window[_0x825f2e(0x164)](_0x825f2e(0x101),_0x9ade0d);});}['_monkeyPatchLogService'](){const _0x3cfcdc=_0x35d624,_0x5187c4=this[_0x3cfcdc(0x112)][_0x3cfcdc(0x188)][_0x3cfcdc(0x202)](this[_0x3cfcdc(0x112)]);this['_logService']['error']=(..._0x28ad46)=>{const _0x1087d2=_0x3cfcdc,_0xfc38f8=_0x28ad46[_0x1087d2(0xd4)](_0x3158f3=>_0x3158f3 instanceof Error?_0x3158f3['message']+'\x0a'+_0x3158f3[_0x1087d2(0x26a)]:String(_0x3158f3))[_0x1087d2(0x354)]('\x20');this[_0x1087d2(0x17d)](_0x1087d2(0x188),_0x1087d2(0x3ad)+_0xfc38f8),_0x5187c4(..._0x28ad46);},this[_0x3cfcdc(0x37d)](()=>{const _0x4e650d=_0x3cfcdc;this[_0x4e650d(0x112)]['error']=_0x5187c4;});}[_0x35d624(0x17d)](_0x1bbf09,_0x2d921a){const _0x47f41c=_0x35d624;try{const _0x294ba8={'userId':this['_memberID'],'logLabel':_0x1bbf09,'content':_0x2d921a};this['_httpService'][_0x47f41c(0x151)](_0x47f41c(0x30e),{'body':_0x294ba8})[_0x47f41c(0x383)](()=>{});}catch{}}};_0x5b922f=_0x3f032f([_0x43d69b(0x0,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x43d69b(0x1,_0x488b23['Inject'](_0x46c86d['HTTPService'])),_0x43d69b(0x2,_0x488b23[_0x35d624(0x31f)]),_0x43d69b(0x3,_0x488b23[_0x35d624(0x14a)](_0xe662fa['CollaborationSessionService']))],_0x5b922f);const _0x370bf5=_0x35d624(0x2d3),_0x32f775={};var _0x20cd9a=Object[_0x35d624(0x235)],_0x281d70=(_0x562163,_0x2c279a,_0x5a1ce8,_0x289446)=>{const _0x2e591b=_0x35d624;for(var _0x33f664=_0x289446>0x1?void 0x0:_0x289446?_0x20cd9a(_0x2c279a,_0x5a1ce8):_0x2c279a,_0x11a7b5=_0x562163[_0x2e591b(0x33f)]-0x1,_0x47b52c;_0x11a7b5>=0x0;_0x11a7b5--)(_0x47b52c=_0x562163[_0x11a7b5])&&(_0x33f664=_0x47b52c(_0x33f664)||_0x33f664);return _0x33f664;},_0x90622d=(_0x278bc5,_0x76876f)=>(_0x30b1a2,_0x305dce)=>_0x76876f(_0x30b1a2,_0x305dce,_0x278bc5);let _0x4b7de7=class{constructor(_0xc72702,_0x1516be){this['_transformService']=_0xc72702,this['_renderManagerService']=_0x1516be;}['transformIMECache'](_0x1f3c37){const _0x42aae5=_0x35d624;this[_0x42aae5(0x20d)](_0x1f3c37),this[_0x42aae5(0x180)](_0x1f3c37);}['transformRemoteChangeset'](_0x50e3ea){const _0x36af2c=_0x35d624,{unitID:_0x55687b}=_0x50e3ea,_0x4561dc=this[_0x36af2c(0x1c2)][_0x36af2c(0xff)](_0x55687b)[_0x36af2c(0x290)](_0x568c85['DocIMEInputManagerService']),{redoCache:_0x295396}=_0x4561dc[_0x36af2c(0x15f)]();if(_0x295396[_0x36af2c(0x33f)]===0x0)return _0x50e3ea;let _0x48aa12=_0x488b23[_0x36af2c(0x37a)]['deepClone'](_0x50e3ea[_0x36af2c(0x1d6)][0x0]);for(let _0x3cebc8=0x0;_0x3cebc8<_0x295396[_0x36af2c(0x33f)];_0x3cebc8++){const _0x2b2c32={'id':'doc.mutation.rich-text-editing','params':{..._0x295396[_0x3cebc8]}},_0xb49748=this['_transformService']['transformMutation'](_0x48aa12,_0x2b2c32,!0x1);if(_0x330813[_0x36af2c(0x178)](_0xb49748))throw _0xb49748['error'];_0x48aa12=_0xb49748['m1Prime'];}return{..._0x488b23['Tools'][_0x36af2c(0x150)](_0x50e3ea),'mutations':[_0x48aa12]};}[_0x35d624(0x20d)](_0x12dc32){const _0x396504=_0x35d624,{unitID:_0x107abc}=_0x12dc32,_0x2cec62=this[_0x396504(0x1c2)][_0x396504(0xff)](_0x107abc)['with'](_0x568c85[_0x396504(0x256)]),{undoCache:_0x592be9,redoCache:_0x11f1a2}=_0x2cec62[_0x396504(0x15f)]();if(_0x592be9[_0x396504(0x33f)]===0x0||_0x11f1a2[_0x396504(0x33f)]===0x0)return;const _0x54b64d=[],_0x273fd3=[];let _0x4a5b7e=_0x488b23[_0x396504(0x37a)][_0x396504(0x150)](_0x12dc32['mutations'][0x0]),_0x46089d=_0x488b23[_0x396504(0x37a)][_0x396504(0x150)](_0x12dc32[_0x396504(0x1d6)][0x0]);for(let _0x2fa299=_0x592be9['length']-0x1;_0x2fa299>=0x0;_0x2fa299--){const _0x64c082={'id':_0x396504(0x373),'params':{..._0x592be9[_0x2fa299]}},_0x2be9f9={'id':'doc.mutation.rich-text-editing','params':{..._0x11f1a2[_0x2fa299]}},_0xc829ff=this[_0x396504(0x1a2)]['transformMutation'](_0x4a5b7e,_0x64c082,!0x1),_0x1dd9ca=this[_0x396504(0x1a2)][_0x396504(0x33a)](_0x46089d,_0x2be9f9,!0x1);if(_0x330813[_0x396504(0x178)](_0xc829ff))throw _0xc829ff['error'];if(_0x330813[_0x396504(0x178)](_0x1dd9ca))throw _0x1dd9ca[_0x396504(0x188)];_0x54b64d[_0x396504(0xd8)](_0xc829ff[_0x396504(0x253)][_0x396504(0x3a4)]),_0x273fd3[_0x396504(0xd8)](_0x1dd9ca['m2Prime'][_0x396504(0x3a4)]),_0x4a5b7e=_0xc829ff[_0x396504(0xd7)],_0x46089d=_0x1dd9ca[_0x396504(0xd7)];}_0x2cec62[_0x396504(0x398)]({'undoCache':_0x54b64d,'redoCache':_0x273fd3});}['_transformPreviousActiveRange'](_0x181bfe){const _0x12e438=_0x35d624,{unitID:_0x5ea55a}=_0x181bfe,_0x6c05db=this[_0x12e438(0x1c2)]['getRenderById'](_0x5ea55a)['with'](_0x568c85['DocIMEInputManagerService']),_0x373f42=_0x6c05db[_0x12e438(0x17f)]();if(_0x373f42==null)return;const _0x450859=[{'id':_0x12e438(0x373),'params':{'unitId':_0x181bfe['unitID'],'actions':null,'textRanges':[_0x373f42]}}],_0x5dd87d=this[_0x12e438(0x1a2)]['transformMutationsWithChangeset'](_0x181bfe,_0x450859);if(!_0x330813['isTransformMutationsWithChangesetSuccess'](_0x5dd87d))throw _0x5dd87d['error'];const _0x1697bf=_0x5dd87d[_0x12e438(0x253)][0x0][_0x12e438(0x3a4)]['textRanges'];Array[_0x12e438(0x1ab)](_0x1697bf)&&_0x1697bf[_0x12e438(0x33f)]&&_0x6c05db['setActiveRange'](_0x1697bf[0x0]);}};_0x4b7de7=_0x281d70([_0x90622d(0x0,_0x330813[_0x35d624(0x346)]),_0x90622d(0x1,_0x4ad5e1[_0x35d624(0x1e2)])],_0x4b7de7);var _0x20c88b=Object['getOwnPropertyDescriptor'],_0x36cfec=(_0x5834bf,_0x3eadf7,_0x4e4f20,_0x1c91ba)=>{const _0x3bd6c1=_0x35d624;for(var _0x3b024b=_0x1c91ba>0x1?void 0x0:_0x1c91ba?_0x20c88b(_0x3eadf7,_0x4e4f20):_0x3eadf7,_0x4215da=_0x5834bf[_0x3bd6c1(0x33f)]-0x1,_0x9f6838;_0x4215da>=0x0;_0x4215da--)(_0x9f6838=_0x5834bf[_0x4215da])&&(_0x3b024b=_0x9f6838(_0x3b024b)||_0x3b024b);return _0x3b024b;},_0xbb13fb=(_0x9322eb,_0x350eac)=>(_0x33b8b5,_0x32524a)=>_0x350eac(_0x33b8b5,_0x32524a,_0x9322eb);let _0x1432ff=class{constructor(_0x424ff5,_0x3415a4,_0x3965a3){const _0x126d03=_0x35d624;this[_0x126d03(0x111)]=_0x424ff5,this[_0x126d03(0x1a2)]=_0x3415a4,this[_0x126d03(0x2de)]=_0x3965a3;}['transformStateCache'](_0x15c4a2){this['_transformHistoryAndStateStack'](_0x15c4a2);}[_0x35d624(0x1f6)](_0x49b58f){const _0xd4a49d=_0x35d624,{unitID:_0x1962c9}=_0x49b58f,{collaboration:_0x4cc0d9}=this[_0xd4a49d(0x2de)]['getStateCache'](_0x1962c9);if(_0x4cc0d9[_0xd4a49d(0x33f)]===0x0)return _0x49b58f;let _0x21b8dd=_0x488b23[_0xd4a49d(0x37a)][_0xd4a49d(0x150)](_0x49b58f[_0xd4a49d(0x1d6)][0x0]);for(let _0x3d20c8=0x0;_0x3d20c8<_0x4cc0d9[_0xd4a49d(0x33f)];_0x3d20c8++){const _0x32ef0c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cc0d9[_0x3d20c8][_0xd4a49d(0x187)],..._0x4cc0d9[_0x3d20c8][_0xd4a49d(0x1e3)]}},_0x99397d=this['_transformService'][_0xd4a49d(0x33a)](_0x21b8dd,_0x32ef0c,!0x1);if(_0x330813[_0xd4a49d(0x178)](_0x99397d))throw _0x99397d[_0xd4a49d(0x188)];_0x21b8dd=_0x99397d['m1Prime'];}return{..._0x488b23['Tools'][_0xd4a49d(0x150)](_0x49b58f),'mutations':[_0x21b8dd]};}[_0x35d624(0x2e5)](_0x30b27d){const _0x3a040c=_0x35d624,{unitID:_0x4f48a3}=_0x30b27d,{history:_0x5c8765,collaboration:_0x5993a6}=this[_0x3a040c(0x2de)][_0x3a040c(0x1a9)](_0x4f48a3);if(_0x5c8765['length']===0x0&&_0x5993a6[_0x3a040c(0x33f)]===0x0)return;const _0x408c59=[],_0x59485d=[];let _0x1304b8=_0x488b23[_0x3a040c(0x37a)][_0x3a040c(0x150)](_0x30b27d[_0x3a040c(0x1d6)][0x0]),_0x4750d6=_0x488b23[_0x3a040c(0x37a)]['deepClone'](_0x30b27d[_0x3a040c(0x1d6)][0x0]);for(let _0x311bdb=_0x5c8765[_0x3a040c(0x33f)]-0x1;_0x311bdb>=0x0;_0x311bdb--){const _0x138618={'id':_0x3a040c(0x373),'params':{'unitId':_0x5c8765[_0x311bdb][_0x3a040c(0x187)],..._0x5c8765[_0x311bdb]['undoState']}},_0x5dea18={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5c8765[_0x311bdb][_0x3a040c(0x187)],..._0x5c8765[_0x311bdb][_0x3a040c(0x1e3)]}},_0x3b713=this[_0x3a040c(0x1a2)]['transformMutation'](_0x1304b8,_0x138618,!0x1),_0x3d23da=this[_0x3a040c(0x1a2)][_0x3a040c(0x33a)](_0x4750d6,_0x5dea18,!0x1);if(_0x330813[_0x3a040c(0x178)](_0x3b713))throw _0x3b713[_0x3a040c(0x188)];if(_0x330813['isTransformMutationFailure'](_0x3d23da))throw _0x3d23da[_0x3a040c(0x188)];_0x408c59['unshift']({..._0x5c8765[_0x311bdb],'undoState':_0x3b713['m2Prime'][_0x3a040c(0x3a4)],'redoState':_0x3d23da[_0x3a040c(0x253)][_0x3a040c(0x3a4)]}),_0x1304b8=_0x3b713['m1Prime'],_0x4750d6=_0x3d23da[_0x3a040c(0xd7)];}_0x1304b8=_0x488b23[_0x3a040c(0x37a)][_0x3a040c(0x150)](_0x30b27d[_0x3a040c(0x1d6)][0x0]),_0x4750d6=_0x488b23[_0x3a040c(0x37a)][_0x3a040c(0x150)](_0x30b27d[_0x3a040c(0x1d6)][0x0]);for(let _0x4a2626=_0x5993a6[_0x3a040c(0x33f)]-0x1;_0x4a2626>=0x0;_0x4a2626--){const _0x29b016={'id':_0x3a040c(0x373),'params':{'unitId':_0x5993a6[_0x4a2626][_0x3a040c(0x187)],..._0x5993a6[_0x4a2626][_0x3a040c(0x24a)]}},_0x3c12ec={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5993a6[_0x4a2626][_0x3a040c(0x187)],..._0x5993a6[_0x4a2626]['redoState']}},_0x3d9b3a=this['_transformService']['transformMutation'](_0x1304b8,_0x29b016,!0x1),_0x8dd0b1=this[_0x3a040c(0x1a2)][_0x3a040c(0x33a)](_0x4750d6,_0x3c12ec,!0x1);if(_0x330813[_0x3a040c(0x178)](_0x3d9b3a))throw _0x3d9b3a[_0x3a040c(0x188)];if(_0x330813[_0x3a040c(0x178)](_0x8dd0b1))throw _0x8dd0b1['error'];_0x59485d[_0x3a040c(0xd8)]({..._0x5993a6[_0x4a2626],'undoState':_0x3d9b3a[_0x3a040c(0x253)][_0x3a040c(0x3a4)],'redoState':_0x8dd0b1[_0x3a040c(0x253)]['params']}),_0x1304b8=_0x3d9b3a[_0x3a040c(0xd7)],_0x4750d6=_0x8dd0b1['m1Prime'];}this[_0x3a040c(0x2de)][_0x3a040c(0x38f)](_0x4f48a3,{'history':_0x408c59,'collaboration':_0x59485d});}};_0x1432ff=_0x36cfec([_0xbb13fb(0x0,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0xbb13fb(0x1,_0x330813[_0x35d624(0x346)]),_0xbb13fb(0x2,_0x488b23[_0x35d624(0x14a)](_0x568c85[_0x35d624(0x160)]))],_0x1432ff);var _0x360afb=Object[_0x35d624(0x235)],_0x40a8c5=(_0x505d5e,_0xe07b4,_0x59a676,_0x4384d7)=>{for(var _0x261e1f=_0x4384d7>0x1?void 0x0:_0x4384d7?_0x360afb(_0xe07b4,_0x59a676):_0xe07b4,_0x20d680=_0x505d5e['length']-0x1,_0x44b6ea;_0x20d680>=0x0;_0x20d680--)(_0x44b6ea=_0x505d5e[_0x20d680])&&(_0x261e1f=_0x44b6ea(_0x261e1f)||_0x261e1f);return _0x261e1f;},_0x4966bd=(_0x512210,_0x236657)=>(_0x32047b,_0x59b7f7)=>_0x236657(_0x32047b,_0x59b7f7,_0x512210);let _0x2e060d=class{constructor(_0x1ee632,_0xb04ec7){const _0x1f74a7=_0x35d624;this[_0x1f74a7(0x111)]=_0x1ee632,this['_transformService']=_0xb04ec7;}['transformSelections'](_0x528347){const _0x5b3e66=_0x35d624;var _0x2129bf;const _0x2c9830=this[_0x5b3e66(0x111)][_0x5b3e66(0x37f)](_0x473e87[_0x5b3e66(0x3ac)]),_0x478875=(_0x2129bf=_0x2c9830[_0x5b3e66(0x361)]())!=null?_0x2129bf:[];if(_0x478875[_0x5b3e66(0x33f)]===0x0)return;const _0x5a0c52=_0x528347[_0x5b3e66(0x28e)],_0x3c76b8=[{'id':_0x5b3e66(0x373),'params':{'unitId':_0x5a0c52,'actions':null,'textRanges':_0x478875}}],_0x55efc8=this[_0x5b3e66(0x1a2)][_0x5b3e66(0x165)](_0x528347,_0x3c76b8);if(!_0x330813[_0x5b3e66(0x1c9)](_0x55efc8))throw _0x55efc8[_0x5b3e66(0x188)];const _0x485dcf=_0x55efc8['m2Prime'][0x0][_0x5b3e66(0x3a4)][_0x5b3e66(0xcb)];Array[_0x5b3e66(0x1ab)](_0x485dcf)&&_0x485dcf[_0x5b3e66(0x33f)]&&_0x2c9830[_0x5b3e66(0x196)](_0x485dcf,{'unitId':_0x5a0c52,'subUnitId':_0x5a0c52},!0x1);}};_0x2e060d=_0x40a8c5([_0x4966bd(0x0,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x4966bd(0x1,_0x330813[_0x35d624(0x346)])],_0x2e060d);var _0x5cd970=Object['getOwnPropertyDescriptor'],_0x2a52cd=(_0x262145,_0x45288f,_0x105a24,_0x154911)=>{const _0x51fbf5=_0x35d624;for(var _0x1e529f=_0x154911>0x1?void 0x0:_0x154911?_0x5cd970(_0x45288f,_0x105a24):_0x45288f,_0x4d2e9a=_0x262145[_0x51fbf5(0x33f)]-0x1,_0x2b765f;_0x4d2e9a>=0x0;_0x4d2e9a--)(_0x2b765f=_0x262145[_0x4d2e9a])&&(_0x1e529f=_0x2b765f(_0x1e529f)||_0x1e529f);return _0x1e529f;},_0x49615e=(_0x131c3f,_0x4a1b74)=>(_0x295799,_0x3d54ca)=>_0x4a1b74(_0x295799,_0x3d54ca,_0x131c3f);let _0x13fe58=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x1a895e,_0x41d389,_0x71d6d9,_0x375ce1,_0x4f5ccb,_0x464ef3,_0x567541,_0x63bde3){const _0x33f418=_0x35d624;super(),_0x5c8f58(this,_0x33f418(0x1c7),new _0xd39c43[(_0x33f418(0x20f))](_0xe662fa[_0x33f418(0x227)][_0x33f418(0x27c)])),(this[_0x33f418(0x2de)]=_0x1a895e,this[_0x33f418(0x2a8)]=_0x41d389,this[_0x33f418(0x279)]=_0x71d6d9,this[_0x33f418(0x31c)]=_0x375ce1,this[_0x33f418(0x22b)]=_0x4f5ccb,this[_0x33f418(0x1ef)]=_0x464ef3,this[_0x33f418(0x329)]=_0x567541,this['_localeService']=_0x63bde3,this[_0x33f418(0x23e)]());}['_initEntityListener'](){const _0x35a30e=_0x35d624;this[_0x35a30e(0x37d)](this['_collaborationController'][_0x35a30e(0x13d)]['subscribe'](_0x455a16=>{const _0x1ab29c=_0x35a30e,_0xd368ab=this[_0x1ab29c(0x2de)][_0x1ab29c(0x1b0)][_0x1ab29c(0x239)](_0x158829=>{const _0x675ecc=_0x1ab29c;if(_0x158829==null)return;const {unitId:_0x39019e,redoState:_0x541dae,commandId:_0x343280}=_0x158829;if(_0x39019e!==_0x455a16[_0x675ecc(0x28e)])return;const _0x10f5c3={'id':_0x343280,'type':_0x488b23[_0x675ecc(0x297)][_0x675ecc(0x1f4)],'params':{'unitId':_0x39019e,'actions':_0x541dae['actions'],'textRanges':null}};_0x455a16['onLocalMutation'](_0x10f5c3);});if(_0x455a16[_0x1ab29c(0x37d)](_0xd368ab),_0x455a16 instanceof _0xe662fa[_0x1ab29c(0x24c)]){const _0x2ef844={'onTransformIME':_0x5242e9=>this[_0x1ab29c(0x279)]['transformIMECache'](_0x5242e9),'onTransformState':_0x335ee0=>this[_0x1ab29c(0x31c)][_0x1ab29c(0x336)](_0x335ee0),'onTransformSelections':_0x24a4bd=>this[_0x1ab29c(0x22b)][_0x1ab29c(0x189)](_0x24a4bd),'onSyncEditingCollabCursor':_0x5c309b=>this[_0x1ab29c(0x1ef)][_0x1ab29c(0x34a)](_0x5c309b),'onTransformRemoteChangesetByIMECache':_0x4cac9e=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x4cac9e),'onTransformRemoteChangesetByStateCache':_0x190559=>this[_0x1ab29c(0x31c)]['transformRemoteChangeset'](_0x190559)};_0x455a16[_0x1ab29c(0x143)](_0x2ef844);}}));}};_0x13fe58=_0x2a52cd([_0x49615e(0x0,_0x488b23[_0x35d624(0x14a)](_0x568c85[_0x35d624(0x160)])),_0x49615e(0x1,_0x488b23[_0x35d624(0x14a)](_0xe662fa[_0x35d624(0x220)])),_0x49615e(0x2,_0x488b23[_0x35d624(0x14a)](_0x4b7de7)),_0x49615e(0x3,_0x488b23['Inject'](_0x1432ff)),_0x49615e(0x4,_0x488b23['Inject'](_0x2e060d)),_0x49615e(0x5,_0x488b23[_0x35d624(0x14a)](_0x4f1bea)),_0x49615e(0x6,_0x16efad[_0x35d624(0x381)]),_0x49615e(0x7,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x301)]))],_0x13fe58);var _0x524c8c=(_0x48f374=>(_0x48f374[_0x48f374[_0x35d624(0x14d)]=0x0]=_0x35d624(0x14d),_0x48f374[_0x48f374['OK']=0x1]='OK',_0x48f374[_0x48f374[_0x35d624(0x1da)]=0x2]=_0x35d624(0x1da),_0x48f374[_0x48f374[_0x35d624(0x199)]=0x3]=_0x35d624(0x199),_0x48f374[_0x48f374[_0x35d624(0x1d8)]=0x4]=_0x35d624(0x1d8),_0x48f374[_0x48f374[_0x35d624(0x2a2)]=0x5]='UNAUTHENTICATED',_0x48f374[_0x48f374[_0x35d624(0x2cf)]=0x6]=_0x35d624(0x2cf),_0x48f374[_0x48f374['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x48f374[_0x48f374[_0x35d624(0x16e)]=0x8]=_0x35d624(0x16e),_0x48f374[_0x48f374['COMPLETION_FINISHED']=0x9]=_0x35d624(0x39b),_0x48f374[_0x48f374[_0x35d624(0x12b)]=0xa]=_0x35d624(0x12b),_0x48f374[_0x48f374[_0x35d624(0x23f)]=0xb]=_0x35d624(0x23f),_0x48f374[_0x48f374[_0x35d624(0x35d)]=0xc]=_0x35d624(0x35d),_0x48f374[_0x48f374['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x35d624(0x1c6),_0x48f374[_0x48f374[_0x35d624(0x169)]=0xe]=_0x35d624(0x169),_0x48f374[_0x48f374[_0x35d624(0x119)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x48f374[_0x48f374[_0x35d624(0x2fc)]=0x10]=_0x35d624(0x2fc),_0x48f374[_0x48f374['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x35d624(0x2b9),_0x48f374[_0x48f374['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x48f374[_0x48f374[_0x35d624(0x345)]=0xc9]=_0x35d624(0x345),_0x48f374[_0x48f374['USER_IS_ANONYMOUS']=0xca]=_0x35d624(0xd3),_0x48f374[_0x48f374[_0x35d624(0x131)]=0x1389]=_0x35d624(0x131),_0x48f374[_0x48f374[_0x35d624(0x389)]=0x1771]=_0x35d624(0x389),_0x48f374[_0x48f374[_0x35d624(0x30f)]=0x1772]=_0x35d624(0x30f),_0x48f374[_0x48f374[_0x35d624(0x352)]=0x1773]=_0x35d624(0x352),_0x48f374[_0x48f374[_0x35d624(0x3b1)]=0x1b59]=_0x35d624(0x3b1),_0x48f374[_0x48f374[_0x35d624(0x2d8)]=0x1b5a]=_0x35d624(0x2d8),_0x48f374[_0x48f374[_0x35d624(0x25f)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x48f374[_0x48f374['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x35d624(0x201),_0x48f374[_0x48f374[_0x35d624(0x1a4)]=0x1b5d]=_0x35d624(0x1a4),_0x48f374[_0x48f374[_0x35d624(0x147)]=0x1f41]=_0x35d624(0x147),_0x48f374[_0x48f374['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x48f374[_0x48f374[_0x35d624(0x255)]=0x232a]=_0x35d624(0x255),_0x48f374[_0x48f374['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x35d624(0x1a8),_0x48f374[_0x48f374[_0x35d624(0x35c)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x48f374[_0x48f374[_0x35d624(0x236)]=0x232d]=_0x35d624(0x236),_0x48f374[_0x48f374[_0x35d624(0x21e)]=0x2711]=_0x35d624(0x21e),_0x48f374[_0x48f374[_0x35d624(0x399)]=0x2712]=_0x35d624(0x399),_0x48f374[_0x48f374['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x35d624(0x272),_0x48f374[_0x48f374[_0x35d624(0x20c)]=0x2714]=_0x35d624(0x20c),_0x48f374[_0x48f374[_0x35d624(0x264)]=0x271a]=_0x35d624(0x264),_0x48f374[_0x48f374['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x35d624(0x22e),_0x48f374[_0x48f374[_0x35d624(0x21f)]=0x271c]=_0x35d624(0x21f),_0x48f374[_0x48f374[_0x35d624(0x137)]=0x271d]=_0x35d624(0x137),_0x48f374[_0x48f374['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x35d624(0xf2),_0x48f374[_0x48f374[_0x35d624(0x158)]=0x271f]=_0x35d624(0x158),_0x48f374[_0x48f374[_0x35d624(0x105)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x48f374[_0x48f374[_0x35d624(0x35e)]=0x2af9]=_0x35d624(0x35e),_0x48f374[_0x48f374['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x35d624(0x1f1),_0x48f374[_0x48f374[_0x35d624(0x39d)]=0x2ee2]=_0x35d624(0x39d),_0x48f374[_0x48f374[_0x35d624(0x2c7)]=0x2ee3]=_0x35d624(0x2c7),_0x48f374[_0x48f374['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x48f374[_0x48f374[_0x35d624(0x142)]=0x2ee5]=_0x35d624(0x142),_0x48f374[_0x48f374[_0x35d624(0x25c)]=0x32c9]=_0x35d624(0x25c),_0x48f374[_0x48f374[_0x35d624(0x36d)]=0x32ca]=_0x35d624(0x36d),_0x48f374[_0x48f374[_0x35d624(0xf8)]=0x32cb]=_0x35d624(0xf8),_0x48f374[_0x48f374[_0x35d624(0x205)]=0x36b1]=_0x35d624(0x205),_0x48f374[_0x48f374[_0x35d624(0xeb)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x48f374[_0x48f374['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x35d624(0x343),_0x48f374[_0x48f374[_0x35d624(0x1cf)]=0x36b4]=_0x35d624(0x1cf),_0x48f374[_0x48f374[_0x35d624(0x2bc)]=0x36b5]=_0x35d624(0x2bc),_0x48f374[_0x48f374[_0x35d624(0xe9)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x48f374[_0x48f374['ENTITLE_COUPON_USED_UP']=0x36b7]='ENTITLE_COUPON_USED_UP',_0x48f374[_0x48f374[_0x35d624(0x218)]=0x36b8]=_0x35d624(0x218),_0x48f374[_0x48f374['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x35d624(0x177),_0x48f374[_0x48f374['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x48f374[_0x48f374[_0x35d624(0x2ca)]=0x3717]=_0x35d624(0x2ca),_0x48f374[_0x48f374['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x35d624(0x27e),_0x48f374[_0x48f374[_0x35d624(0x1af)]=0x3a99]=_0x35d624(0x1af),_0x48f374[_0x48f374[_0x35d624(0x34e)]=0x3a9a]=_0x35d624(0x34e),_0x48f374[_0x48f374[_0x35d624(0x1b4)]=0x3a9b]=_0x35d624(0x1b4),_0x48f374[_0x48f374[_0x35d624(0x372)]=0x3a9c]=_0x35d624(0x372),_0x48f374[_0x48f374[_0x35d624(0x28d)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x48f374[_0x48f374[_0x35d624(0x39a)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x48f374[_0x48f374['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x35d624(0x1b9),_0x48f374[_0x48f374['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x35d624(0x2ad),_0x48f374[_0x48f374[_0x35d624(0x152)]=-0x1]=_0x35d624(0x152),_0x48f374))(_0x524c8c||{});function _0x2b4d36(_0x1e7b51){const _0x3680ce=_0x35d624;var _0xebfda8,_0x2d0261;const _0x472435=(_0xebfda8=_0x1e7b51[_0x3680ce(0x1bb)])==null?void 0x0:_0xebfda8[_0x3680ce(0x2ce)],_0x45ccba=((_0x2d0261=_0x1e7b51[_0x3680ce(0x1bb)])==null?void 0x0:_0x2d0261[_0x3680ce(0x204)])||0x0;return _0x472435===_0x5a73c8[_0x3680ce(0x282)][_0x3680ce(0x303)]&&_0x45ccba>0x0;}function _0x3d34fe(_0x163190){const _0x5c7495=_0x35d624;return _0x163190['functionsExecutedState']===_0x5a73c8[_0x5c7495(0xf3)][_0x5c7495(0x295)];}var _0xec557f=Object['getOwnPropertyDescriptor'],_0x5c5bb5=(_0x3a2f4e,_0x922b26,_0x167e1b,_0x6c1ddb)=>{const _0x4e19ea=_0x35d624;for(var _0x23b312=_0x6c1ddb>0x1?void 0x0:_0x6c1ddb?_0xec557f(_0x922b26,_0x167e1b):_0x922b26,_0x5d149d=_0x3a2f4e[_0x4e19ea(0x33f)]-0x1,_0x46fc3b;_0x5d149d>=0x0;_0x5d149d--)(_0x46fc3b=_0x3a2f4e[_0x5d149d])&&(_0x23b312=_0x46fc3b(_0x23b312)||_0x23b312);return _0x23b312;},_0x407e74=(_0x4ad5f4,_0x3382c9)=>(_0x311342,_0x313c2b)=>_0x3382c9(_0x311342,_0x313c2b,_0x4ad5f4);const _0x4d7c95=_0x35d624(0x366),_0x5b2a39=_0x35d624(0x133),_0x358343=_0x35d624(0x375);let _0x243db5=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x5084b4,_0x582350,_0x451fcc,_0x2c8e38,_0x4ef444,_0x195f7b,_0xb90f8){const _0x213c1c=_0x35d624;super(),_0x5c8f58(this,_0x213c1c(0xe5),null),_0x5c8f58(this,_0x213c1c(0x2eb),0x0),_0x5c8f58(this,'_currentUsage',0x0),_0x5c8f58(this,_0x213c1c(0xea),[]),_0x5c8f58(this,_0x213c1c(0x36f),0x0),(this[_0x213c1c(0x329)]=_0x5084b4,this['_commandService']=_0x582350,this['_configService']=_0x451fcc,this[_0x213c1c(0x33e)]=_0x2c8e38,this['_univerInstanceService']=_0x4ef444,this[_0x213c1c(0x112)]=_0x195f7b,this['_localeService']=_0xb90f8,this[_0x213c1c(0x2a3)]());}[_0x35d624(0x2a3)](){const _0x3229f2=_0x35d624;this[_0x3229f2(0x37d)](this[_0x3229f2(0x224)][_0x3229f2(0x1ee)]((_0x3cec53,_0x305873)=>{const _0x2f4e8b=_0x3229f2;var _0x4ab30d;if(_0x3cec53['id']!==_0x5a73c8[_0x2f4e8b(0x1d9)]['id'])return;const _0xecc5ea=_0x3cec53[_0x2f4e8b(0x3a4)];if(!this[_0x2f4e8b(0x2da)]((_0x4ab30d=_0xecc5ea[_0x2f4e8b(0x288)])!=null?_0x4ab30d:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x2f4e8b(0x36e)](_0x3cec53,_0x305873),this[_0x2f4e8b(0x12e)](),new _0x488b23['CanceledError']();})),this['disposeWithMe'](this[_0x3229f2(0x224)][_0x3229f2(0x1fd)]((_0x5b2731,_0x2dc5d8)=>{const _0x201142=_0x3229f2;if(_0x5b2731['id']!==_0x5a73c8[_0x201142(0x11b)]['id'])return;const _0x5817b8=_0x5b2731[_0x201142(0x3a4)];if(_0x2b4d36(_0x5817b8)){const _0x362110=_0x488b23[_0x201142(0x390)]();this['_taskIds']['push'](_0x362110),this[_0x201142(0x280)](_0x362110);}else{if(_0x3d34fe(_0x5817b8)&&this[_0x201142(0xea)][_0x201142(0x33f)]>0x0){const _0x3d6894=this['_taskIds']['shift']();this[_0x201142(0x39c)](_0x3d6894);}}}));}[_0x35d624(0x299)](){const _0x490f5e=_0x35d624;super[_0x490f5e(0x299)](),this[_0x490f5e(0x356)](),this['_taskIds']=[],this[_0x490f5e(0xe3)]=0x0,this[_0x490f5e(0x2eb)]=0x0,this[_0x490f5e(0x36f)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x44f63d,_0x319414){const _0x141bb8=_0x35d624;for(let _0x2bc6d9=0x0;_0x2bc6d9<0x1e;_0x2bc6d9++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this[_0x141bb8(0x22a)](_0x44f63d,_0x319414),this[_0x141bb8(0x329)][_0x141bb8(0x2b5)]({'content':this[_0x141bb8(0x349)]['t'](_0x141bb8(0x246)),'type':_0x29b3d4[_0x141bb8(0x219)][_0x141bb8(0x2fe)]});return;}await new Promise(_0x58a327=>{const _0x3edda1=_0x141bb8;this[_0x3edda1(0xe5)]=window[_0x3edda1(0x262)](_0x58a327,0x3e8);});}catch(_0x478135){this[_0x141bb8(0x112)][_0x141bb8(0x188)](_0x478135);}this[_0x141bb8(0x329)][_0x141bb8(0x2b5)]({'content':this[_0x141bb8(0x349)]['t'](_0x141bb8(0x344)),'type':_0x29b3d4[_0x141bb8(0x219)]['Error']});}[_0x35d624(0x22a)](_0xc58dd5,_0x5d1c80){const _0x1f21e4=_0x35d624;try{this[_0x1f21e4(0x224)][_0x1f21e4(0x392)](_0xc58dd5['id'],_0xc58dd5['params'],_0x5d1c80);}catch(_0x36d0bc){this['_logService'][_0x1f21e4(0x188)](_0x36d0bc);}}[_0x35d624(0x2db)](_0x53ef2e,_0x5d80df){const _0x5d1a8a=_0x35d624;_0x5d80df<this[_0x5d1a8a(0x36f)]||(this['_lastResponseTimestamp']=_0x5d80df,this[_0x5d1a8a(0x2eb)]=Number[_0x5d1a8a(0x31b)](_0x53ef2e['maxFormulaLimit']),this['_currentUsage']=Number[_0x5d1a8a(0x31b)](_0x53ef2e[_0x5d1a8a(0x397)]));}async[_0x35d624(0x280)](_0x3b8a42){const _0x3e2d30=_0x35d624;var _0x533a8e,_0x22c323;const _0x225a9e=Date[_0x3e2d30(0x2ee)]();try{const _0x3962b0=((_0x533a8e=this['_configService'][_0x3e2d30(0x214)](_0xe662fa[_0x3e2d30(0x1c3)]))==null?void 0x0:_0x533a8e[_0x3e2d30(0x304)])||_0x5b2a39,_0x1c4ed4=(await this[_0x3e2d30(0x33e)][_0x3e2d30(0x151)](_0x3962b0,{'body':JSON[_0x3e2d30(0x2be)]({'taskId':_0x3b8a42})}))[_0x3e2d30(0x13f)];if(((_0x22c323=_0x1c4ed4[_0x3e2d30(0x188)])==null?void 0x0:_0x22c323[_0x3e2d30(0x32f)])!==_0x524c8c['OK'])return;this[_0x3e2d30(0x2db)](_0x1c4ed4['limitInfo'],_0x225a9e);}catch(_0x1e6fad){this[_0x3e2d30(0x112)]['error'](_0x1e6fad);}}async['_getFormulaLimitStatus'](_0x2db08d){const _0x3a655d=_0x35d624;var _0x226a3d,_0x2d76fd;const _0xb49352=Date['now']();try{const _0x1ad77d=((_0x226a3d=this['_configService'][_0x3a655d(0x214)](_0xe662fa[_0x3a655d(0x1c3)]))==null?void 0x0:_0x226a3d['getFormulaLimitStatusUrl'])||_0x4d7c95,_0x439b83=_0x2db08d?_0x1ad77d+'?taskId='+encodeURIComponent(_0x2db08d):_0x1ad77d,_0x2efc6b=(await this[_0x3a655d(0x33e)][_0x3a655d(0x37f)](_0x439b83))[_0x3a655d(0x13f)];if(((_0x2d76fd=_0x2efc6b[_0x3a655d(0x188)])==null?void 0x0:_0x2d76fd[_0x3a655d(0x32f)])!==_0x524c8c['OK'])return;this['_setFormulaLimitStatus'](_0x2efc6b[_0x3a655d(0x2a1)],_0xb49352);}catch(_0x40b3f3){this['_logService'][_0x3a655d(0x188)](_0x40b3f3);}}async['_releaseCalculationLimit'](_0xbdf9a6){const _0x324ad6=_0x35d624;var _0x79784e,_0x282f87;const _0x2691c3=Date['now']();try{const _0x4494d9=((_0x79784e=this[_0x324ad6(0x39e)][_0x324ad6(0x214)](_0xe662fa[_0x324ad6(0x1c3)]))==null?void 0x0:_0x79784e[_0x324ad6(0x34f)])||_0x358343,_0x382098=(await this[_0x324ad6(0x33e)]['post'](_0x4494d9,{'body':JSON[_0x324ad6(0x2be)]({'taskId':_0xbdf9a6})}))[_0x324ad6(0x13f)];if(((_0x282f87=_0x382098[_0x324ad6(0x188)])==null?void 0x0:_0x282f87[_0x324ad6(0x32f)])!==_0x524c8c['OK'])return;this[_0x324ad6(0x2db)](_0x382098[_0x324ad6(0x2a1)],_0x2691c3);}catch(_0x45b4bf){this[_0x324ad6(0x112)][_0x324ad6(0x188)](_0x45b4bf);}}['_checkCalculationAvailable'](){const _0x52b2bc=_0x35d624;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x52b2bc(0x2eb)]-this[_0x52b2bc(0xe3)]>0x0;}['_clearPolling'](){const _0x22b077=_0x35d624;this[_0x22b077(0xe5)]&&(clearTimeout(this[_0x22b077(0xe5)]),this['_pollingInterval']=null);}[_0x35d624(0x12e)](){const _0x132116=_0x35d624;this[_0x132116(0x329)][_0x132116(0x2b5)]({'content':this[_0x132116(0x349)]['t'](_0x132116(0x182)),'type':_0x29b3d4[_0x132116(0x219)][_0x132116(0x22f)]});}[_0x35d624(0x2da)](_0x55d7c4){const _0x553c3d=_0x35d624;for(const _0x150633 of _0x55d7c4){const {unitId:_0x1424e2,sheetId:_0xba7ad4,range:_0x46084b}=_0x150633,_0x24a1e0=this[_0x553c3d(0x162)][_0x553c3d(0x18e)](_0x1424e2);if(!_0x24a1e0)continue;const _0x2b1a51=_0x24a1e0['getSheetBySheetId'](_0xba7ad4);if(!_0x2b1a51)continue;const _0x4a30dd=_0x2b1a51[_0x553c3d(0x16b)]();for(let _0x266eb0=_0x46084b[_0x553c3d(0xd9)];_0x266eb0<=_0x46084b[_0x553c3d(0x2c8)];_0x266eb0++)for(let _0x4dfcc9=_0x46084b[_0x553c3d(0x1fa)];_0x4dfcc9<=_0x46084b['endColumn'];_0x4dfcc9++){const _0xecdc0a=_0x4a30dd[_0x553c3d(0x334)](_0x266eb0,_0x4dfcc9);if(_0xecdc0a&&(_0x488b23['isFormulaString'](_0xecdc0a['f'])||_0x488b23[_0x553c3d(0x1f2)](_0xecdc0a['si'])))return!0x0;}}return!0x1;}};_0x243db5=_0x5c5bb5([_0x407e74(0x0,_0x488b23[_0x35d624(0x14a)](_0x16efad[_0x35d624(0x381)])),_0x407e74(0x1,_0x488b23['ICommandService']),_0x407e74(0x2,_0x488b23[_0x35d624(0x207)]),_0x407e74(0x3,_0x488b23[_0x35d624(0x14a)](_0x46c86d['HTTPService'])),_0x407e74(0x4,_0x488b23['IUniverInstanceService']),_0x407e74(0x5,_0x488b23[_0x35d624(0x31f)]),_0x407e74(0x6,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x301)]))],_0x243db5);var _0xa374e8=Object['getOwnPropertyDescriptor'],_0x9df212=(_0x531f1e,_0x202805,_0x144e78,_0x30c2b0)=>{for(var _0x5af1dc=_0x30c2b0>0x1?void 0x0:_0x30c2b0?_0xa374e8(_0x202805,_0x144e78):_0x202805,_0x12284e=_0x531f1e['length']-0x1,_0x4de524;_0x12284e>=0x0;_0x12284e--)(_0x4de524=_0x531f1e[_0x12284e])&&(_0x5af1dc=_0x4de524(_0x5af1dc)||_0x5af1dc);return _0x5af1dc;},_0x11f59e=(_0x3ccbad,_0x3b47cd)=>(_0x47cb24,_0x2daa77)=>_0x3b47cd(_0x47cb24,_0x2daa77,_0x3ccbad);let _0x5b1857=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x2cd4c3,_0x2860b3,_0x27d169){const _0x4707e9=_0x35d624;super(),_0x5c8f58(this,_0x4707e9(0xfb),new Map()),_0x5c8f58(this,'_saveTaskMap',new Map()),_0x5c8f58(this,_0x4707e9(0x1ba),!0x1),(this['_configService']=_0x2cd4c3,this[_0x4707e9(0x23c)]=_0x2860b3,this[_0x4707e9(0x332)]=_0x27d169);}[_0x35d624(0x2aa)](){this['_disabled']=!0x0;}[_0x35d624(0x2a5)](){this['_disabled']=!0x1;}get[_0x35d624(0x2f0)](){const _0x3dc687=_0x35d624;return this[_0x3dc687(0x38b)];}[_0x35d624(0x299)](){const _0x461bd1=_0x35d624;this[_0x461bd1(0x3b0)]()[_0x461bd1(0x2f2)](()=>super[_0x461bd1(0x299)]());}async['loadOfflineData'](_0x397ce1){const _0x11705c=_0x35d624;return this[_0x11705c(0x1ba)]?null:this[_0x11705c(0x23c)][_0x11705c(0x15b)](_0xe662fa[_0x11705c(0x159)](_0x397ce1));}async[_0x35d624(0x175)](_0x56167d,_0xfe3781){const _0x18b537=_0x35d624;return!!this[_0x18b537(0x23c)][_0x18b537(0x108)](_0x56167d,_0xfe3781);}[_0x35d624(0x1e8)](_0x1daf93,_0x2503e4,_0x46e68c,_0x312705){const _0x411fa1=_0x35d624,_0x5e76f1=this[_0x411fa1(0x332)][_0x411fa1(0xec)](_0x1daf93);this[_0x411fa1(0xfb)]['set'](_0x1daf93,{'unitID':_0x1daf93,'type':_0x2503e4,'awaitingChangeset':_0x46e68c,'mutations':_0x312705,'rev':_0x5e76f1}),this[_0x411fa1(0x38b)]['has'](_0x1daf93)||this[_0x411fa1(0x3a0)](_0x1daf93);}[_0x35d624(0x3a0)](_0x51fc4e){const _0xfabd34=_0x35d624,_0x355c43=this[_0xfabd34(0x1d4)]();_0x355c43===0x0?this[_0xfabd34(0x355)](_0x51fc4e):this[_0xfabd34(0x38b)][_0xfabd34(0x26e)](_0x51fc4e,setTimeout(()=>this[_0xfabd34(0x355)](_0x51fc4e),_0x355c43));}[_0x35d624(0x1d4)](){const _0x145103=_0x35d624;var _0x25d1eb;return(_0x25d1eb=this['_configService']['getConfig'](_0xe662fa[_0x145103(0x192)]))!=null?_0x25d1eb:_0xe662fa['LOCAL_CACHE_INTERVAL'];}[_0x35d624(0x355)](_0x57c0ab){const _0x41a7bb=_0x35d624,_0x2fde01=this[_0x41a7bb(0x38b)]['get'](_0x57c0ab);return _0x2fde01!==void 0x0&&window[_0x41a7bb(0x245)](_0x2fde01),this['_localStorageService'][_0x41a7bb(0x108)](_0xe662fa[_0x41a7bb(0x159)](_0x57c0ab),this[_0x41a7bb(0xfb)][_0x41a7bb(0x37f)](_0x57c0ab))[_0x41a7bb(0x2f2)](()=>this[_0x41a7bb(0x38b)]['delete'](_0x57c0ab));}async[_0x35d624(0x3b0)](){const _0x3e5d66=_0x35d624,_0x48cf8b=[];this[_0x3e5d66(0x38b)][_0x3e5d66(0x125)]((_0x105b62,_0x432e8c)=>{const _0x3fbc02=_0x3e5d66;window[_0x3fbc02(0x245)](_0x105b62),_0x48cf8b['push'](this[_0x3fbc02(0x355)](_0x432e8c)[_0x3fbc02(0x2f2)](()=>{const _0x2f5131=_0x3fbc02;this[_0x2f5131(0x38b)][_0x2f5131(0x323)](_0x432e8c);}));}),await Promise[_0x3e5d66(0x2ff)](_0x48cf8b);}};_0x5b1857=_0x9df212([_0x11f59e(0x0,_0x488b23[_0x35d624(0x207)]),_0x11f59e(0x1,_0x488b23[_0x35d624(0x183)]),_0x11f59e(0x2,_0x488b23[_0x35d624(0x14a)](_0x330813[_0x35d624(0x1b6)]))],_0x5b1857);class _0xec686a extends _0x488b23[_0x35d624(0x376)]{constructor(){const _0x379b4a=_0x35d624;super(),_0x5c8f58(this,_0x379b4a(0x1ac)),this[_0x379b4a(0x1ac)]=_0xd39c43[_0x379b4a(0x29b)](window,_0x379b4a(0x247))[_0x379b4a(0x2a0)](_0xd39c43[_0x379b4a(0x208)](this[_0x379b4a(0x325)]),_0xd39c43[_0x379b4a(0x184)](0x1),_0xd39c43[_0x379b4a(0x106)](void 0x0));}[_0x35d624(0x2d2)](_0xd2d802,_0x488b84,_0x38981b=!0x1){const _0x1c3797=_0x35d624,_0x353504=new URL(window[_0x1c3797(0x2b3)]['href']);_0x353504[_0x1c3797(0x347)][_0x1c3797(0x26e)](_0xd2d802,_0x488b84),_0x38981b?window[_0x1c3797(0x120)][_0x1c3797(0x327)]('','',_0x353504[_0x1c3797(0x26d)]()):window['history'][_0x1c3797(0x29c)]('','',_0x353504[_0x1c3797(0x26d)]());}['removeParam'](_0x1ee18e,_0x37e61d=!0x1){const _0x5eb8f3=_0x35d624,_0x25bfa2=new URL(window['location'][_0x5eb8f3(0x1eb)]);_0x25bfa2[_0x5eb8f3(0x347)][_0x5eb8f3(0x323)](_0x1ee18e),_0x37e61d?window['history'][_0x5eb8f3(0x327)]('','',_0x25bfa2[_0x5eb8f3(0x26d)]()):window[_0x5eb8f3(0x120)][_0x5eb8f3(0x29c)]('','',_0x25bfa2['toString']());}['getParam'](_0x1bff7e){const _0x1de5fb=_0x35d624;var _0x2bb0ac;return(_0x2bb0ac=new URL(window[_0x1de5fb(0x2b3)][_0x1de5fb(0x1eb)])[_0x1de5fb(0x347)][_0x1de5fb(0x37f)](_0x1bff7e))!=null?_0x2bb0ac:void 0x0;}}var _0x537c5f=Object[_0x35d624(0x13e)],_0x3d2093=Object[_0x35d624(0x235)],_0x35786c=(_0x245afc,_0x200a55,_0x460358)=>_0x200a55 in _0x245afc?_0x537c5f(_0x245afc,_0x200a55,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x460358}):_0x245afc[_0x200a55]=_0x460358,_0xbafb5a=(_0x4d32ce,_0xff9251,_0x194bb8,_0xe28f64)=>{for(var _0x4736d9=_0xe28f64>0x1?void 0x0:_0xe28f64?_0x3d2093(_0xff9251,_0x194bb8):_0xff9251,_0x38143c=_0x4d32ce['length']-0x1,_0x1d6882;_0x38143c>=0x0;_0x38143c--)(_0x1d6882=_0x4d32ce[_0x38143c])&&(_0x4736d9=_0x1d6882(_0x4736d9)||_0x4736d9);return _0x4736d9;},_0x2b0bae=(_0xe1bfa3,_0x1d221b)=>(_0x338b17,_0x23e771)=>_0x1d221b(_0x338b17,_0x23e771,_0xe1bfa3),_0x1ca766=(_0x26576f,_0x1ceadc,_0x5859aa)=>_0x35786c(_0x26576f,_0x1ceadc+'',_0x5859aa);const _0x240d31=_0x35d624(0x213);_0x497957[_0x35d624(0x149)]=class extends _0x488b23['Plugin']{constructor(_0x5f447a=_0x32f775,_0x26a02f,_0x231f39,_0x5ed541){const _0x17aff7=_0x35d624;super(),this['_config']=_0x5f447a,this[_0x17aff7(0x1c2)]=_0x26a02f,this['_injector']=_0x231f39,this[_0x17aff7(0x39e)]=_0x5ed541;const {..._0x3947d4}=_0x488b23[_0x17aff7(0x198)]({},_0x32f775,this['_config']);this[_0x17aff7(0x39e)]['setConfig'](_0x370bf5,_0x3947d4);}['onStarting'](){const _0x13ecbc=_0x35d624;this[_0x13ecbc(0x35a)](),this[_0x13ecbc(0x1f3)]();}[_0x35d624(0x350)](){const _0x3cbf62=_0x35d624;this[_0x3cbf62(0x186)]();}[_0x35d624(0x35a)](){const _0x8659ff=_0x35d624;var _0x4d59c8;const _0x78ec3f=[[_0x3a845f],[_0x243db5],[_0x2e060d],[_0x4b7de7],[_0x1432ff],[_0x4f1bea],[_0x59fd33,{'useClass':_0xec686a}],[_0x46c86d[_0x8659ff(0x3a3)],{'useClass':_0x46c86d[_0x8659ff(0x292)]}],[_0xe662fa['ILocalCacheService'],{'useClass':_0x5b1857}],[_0x497957['DesktopCollaborationStatusDisplayController']],[_0x13fe58],[_0x4de461],[_0x52c457],[_0x1a397d],[_0x497957[_0x8659ff(0x391)]]];this[_0x8659ff(0x1e0)][_0x8659ff(0x286)]&&_0x78ec3f[_0x8659ff(0x157)]([_0x5b922f]),_0x488b23[_0x8659ff(0x30d)](this[_0x8659ff(0x111)],_0x488b23['mergeOverrideWithDependencies'](_0x78ec3f,(_0x4d59c8=this['_config'])==null?void 0x0:_0x4d59c8[_0x8659ff(0xf0)]));}[_0x35d624(0x186)](){const _0x44c7b4=_0x35d624;this[_0x44c7b4(0x37d)](this[_0x44c7b4(0x1c2)][_0x44c7b4(0x104)](_0x488b23[_0x44c7b4(0x278)][_0x44c7b4(0x17b)],[_0x2a680a])),this['disposeWithMe'](this[_0x44c7b4(0x1c2)][_0x44c7b4(0x104)](_0x488b23['UniverInstanceType'][_0x44c7b4(0x386)],[_0x3f03ab]));}['_initDependencies'](){const _0x4d8321=_0x35d624;_0x488b23[_0x4d8321(0x11d)](this[_0x4d8321(0x111)],[[_0x52c457],[_0x497957['DesktopCollaborationStatusDisplayController']],[_0x13fe58],[_0x4de461],[_0x497957['CollaborationDataLoaderController']],[_0x243db5]]),this[_0x4d8321(0x1e0)][_0x4d8321(0x286)]&&_0x488b23['touchDependencies'](this[_0x4d8321(0x111)],[[_0x5b922f]]);}},_0x1ca766(_0x497957[_0x35d624(0x149)],_0x35d624(0x2fd),_0x240d31),_0x497957['UniverCollaborationClientUIPlugin']=_0xbafb5a([_0x488b23[_0x35d624(0x122)](_0xe662fa['UniverCollaborationClientPlugin']),_0x2b0bae(0x1,_0x4ad5e1['IRenderManagerService']),_0x2b0bae(0x2,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x2b0bae(0x3,_0x488b23[_0x35d624(0x207)])],_0x497957['UniverCollaborationClientUIPlugin']);var _0x49d1a5=Object[_0x35d624(0x235)],_0x220188=(_0x59bf96,_0x823a57,_0x3488f0,_0x52ee00)=>{const _0x36fc1d=_0x35d624;for(var _0x126624=_0x52ee00>0x1?void 0x0:_0x52ee00?_0x49d1a5(_0x823a57,_0x3488f0):_0x823a57,_0xb93d0f=_0x59bf96[_0x36fc1d(0x33f)]-0x1,_0x42af81;_0xb93d0f>=0x0;_0xb93d0f--)(_0x42af81=_0x59bf96[_0xb93d0f])&&(_0x126624=_0x42af81(_0x126624)||_0x126624);return _0x126624;},_0x39e103=(_0x4d1cb0,_0x91a060)=>(_0x4bc52b,_0x17118b)=>_0x91a060(_0x4bc52b,_0x17118b,_0x4d1cb0);_0x497957[_0x35d624(0x2ae)]=class extends _0xe662fa['CollaborationSocketService']{constructor(_0x4f692c,_0x5b4ba3,_0x506329,_0x3c2c7f,_0x36e384){super(_0x4f692c,_0x5b4ba3,_0x506329,_0x3c2c7f,_0x36e384);}async['createSocket'](_0x361208){const _0x3323e5=await this['_getSessionTicket'](),_0x3ef80b=this['_createSocketURL'](_0x361208,_0x3323e5);return this['_doCreateSocket'](_0x3ef80b);}[_0x35d624(0x268)](_0x32f7c6,_0x1ce54b){const _0x2525c3=_0x35d624,_0x51a58e=typeof window>'u'?new URL(_0x32f7c6):new URL(_0x32f7c6,window[_0x2525c3(0x2b3)][_0x2525c3(0x270)]);_0x51a58e[_0x2525c3(0x347)][_0x2525c3(0x26e)]('sessionTicket',_0x1ce54b);const _0x393ecd=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2525c3(0x2b3)]['search']);return _0x393ecd[_0x2525c3(0x37f)]('runId')&&_0x51a58e['searchParams'][_0x2525c3(0x26e)](_0x2525c3(0x15a),_0x393ecd[_0x2525c3(0x37f)](_0x2525c3(0x15a))),_0x51a58e[_0x2525c3(0x26d)]();}async[_0x35d624(0x24f)](){const _0x22c248=_0x35d624;var _0x1c7988,_0x303b12,_0x1d7854;const _0x187877=this[_0x22c248(0x39e)][_0x22c248(0x214)](_0xe662fa[_0x22c248(0x1c3)]),_0x50e9a8=(_0x1c7988=_0x187877==null?void 0x0:_0x187877[_0x22c248(0x129)])!=null?_0x1c7988:_0xe662fa[_0x22c248(0x3ae)];return(_0x1d7854=(_0x303b12=(await this[_0x22c248(0x33e)][_0x22c248(0x37f)](_0x50e9a8,{'headers':{'Content-Type':'application/json'}}))[_0x22c248(0x13f)])==null?void 0x0:_0x303b12[_0x22c248(0x365)])!=null?_0x1d7854:'';}},_0x497957[_0x35d624(0x2ae)]=_0x220188([_0x39e103(0x0,_0x488b23['Inject'](_0x488b23[_0x35d624(0x39f)])),_0x39e103(0x1,_0x488b23['Inject'](_0x46c86d['HTTPService'])),_0x39e103(0x2,_0x488b23[_0x35d624(0x207)]),_0x39e103(0x3,_0x488b23[_0x35d624(0x31f)]),_0x39e103(0x4,_0x330813[_0x35d624(0x2bb)])],_0x497957['BrowserCollaborationSocketService']);var _0x31aa58=Object[_0x35d624(0x235)],_0x225a38=(_0x194de1,_0x238d4e,_0xad5c1b,_0x42f144)=>{const _0x4541ec=_0x35d624;for(var _0x58451e=_0x42f144>0x1?void 0x0:_0x42f144?_0x31aa58(_0x238d4e,_0xad5c1b):_0x238d4e,_0x39f3cb=_0x194de1[_0x4541ec(0x33f)]-0x1,_0x420cfc;_0x39f3cb>=0x0;_0x39f3cb--)(_0x420cfc=_0x194de1[_0x39f3cb])&&(_0x58451e=_0x420cfc(_0x58451e)||_0x58451e);return _0x58451e;},_0x23df0b=(_0x1877ce,_0x198f68)=>(_0xe6c358,_0x5c47cd)=>_0x198f68(_0xe6c358,_0x5c47cd,_0x1877ce);_0x497957[_0x35d624(0xdf)]=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x4f6106,_0x417c3f,_0x336e84){const _0x3ac1cd=_0x35d624;super(),this[_0x3ac1cd(0x3a6)]=_0x4f6106,this[_0x3ac1cd(0x33e)]=_0x417c3f,this[_0x3ac1cd(0x39e)]=_0x336e84;}async[_0x35d624(0x243)](_0x4b16ee,_0x4bebc6,_0x134e45,..._0x8ae971){const _0x43fa91=_0x35d624;var _0x3e57f2,_0x1b04a7,_0x48db1b,_0x2f99f5;const _0x47b79d=this[_0x43fa91(0x3a6)][_0x43fa91(0x19a)]();if(!_0x47b79d)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x478fa3=((_0x3e57f2=this['_configService'][_0x43fa91(0x214)](_0xe662fa[_0x43fa91(0x371)]))!=null?_0x3e57f2:_0xe662fa[_0x43fa91(0x232)])+'/'+_0x4b16ee+'/run/'+_0x4bebc6,_0x144a5e=new URL(window['location'][_0x43fa91(0x1eb)]),_0x59d2ee={'scriptId':_0x4b16ee,'runId':(_0x1b04a7=_0x144a5e['searchParams'][_0x43fa91(0x37f)](_0x43fa91(0x15a)))!=null?_0x1b04a7:'','function':_0x4bebc6,'unitId':_0x47b79d[_0x43fa91(0x394)](),'argsOfFunction':JSON['stringify'](_0x8ae971),'invokeId':(_0x48db1b=_0x134e45[_0x43fa91(0x2b2)])!=null?_0x48db1b:'','executionId':(_0x2f99f5=_0x134e45[_0x43fa91(0x33b)])!=null?_0x2f99f5:''};try{const _0x128c35=await this[_0x43fa91(0x33e)][_0x43fa91(0x151)](_0x478fa3,{'body':_0x59d2ee});return _0x128c35['body'][_0x43fa91(0x188)]&&_0x128c35[_0x43fa91(0x13f)]['error'][_0x43fa91(0x32f)]!==_0x524c8c['OK']?_0x43fa91(0xe0):_0x128c35[_0x43fa91(0x13f)]['result'];}catch{return _0x43fa91(0xe0);}}},_0x497957[_0x35d624(0xdf)]=_0x225a38([_0x23df0b(0x0,_0x488b23[_0x35d624(0x385)]),_0x23df0b(0x1,_0x488b23[_0x35d624(0x14a)](_0x46c86d['HTTPService'])),_0x23df0b(0x2,_0x488b23[_0x35d624(0x207)])],_0x497957[_0x35d624(0xdf)]);const _0x193945=0x7530,_0x54dc8d=_0x35d624(0x231);class _0x40af19 extends _0x488b23[_0x35d624(0x144)]{constructor(){const _0x24a900=_0x35d624;super(),_0x5c8f58(this,'_id',_0x488b23['generateRandomId']()),_0x5c8f58(this,_0x24a900(0x33d),new Set()),_0x5c8f58(this,_0x24a900(0x37e),new Map()),_0x5c8f58(this,_0x24a900(0x238),null),_0x5c8f58(this,_0x24a900(0x221),new Map()),_0x5c8f58(this,_0x24a900(0x1ea),new Map()),this[_0x24a900(0x251)]();}[_0x35d624(0x299)](){const _0x2d6065=_0x35d624;super['dispose'](),this[_0x2d6065(0x221)]['forEach']((_0x14c722,_0x1e9e25)=>this['_removeClearOtherTimer'](_0x1e9e25)),this['_heartbeatTimer']&&window[_0x2d6065(0x115)](this[_0x2d6065(0x238)]);}[_0x35d624(0x1ec)](_0x51bb6e){const _0x52efd7=_0x35d624;return this['_ensureSubject'](_0x51bb6e)[_0x52efd7(0x2a0)](_0xd39c43[_0x52efd7(0x14c)]());}[_0x35d624(0x273)](_0x1a3f82){const _0x54ae79=_0x35d624;this[_0x54ae79(0x33d)][_0x54ae79(0x18f)]===0x0&&this[_0x54ae79(0x3ab)](),this[_0x54ae79(0x33d)][_0x54ae79(0x380)](_0x1a3f82),this[_0x54ae79(0x10c)]({'type':0x0,'memberID':this[_0x54ae79(0x107)],'unitIDs':[_0x1a3f82],'isForwarded':!0x1});}[_0x35d624(0x35f)](_0x190b1f){const _0x2e6c85=_0x35d624;this['_selfUnitIDs'][_0x2e6c85(0x323)](_0x190b1f),this[_0x2e6c85(0x33d)][_0x2e6c85(0x18f)]===0x0&&this[_0x2e6c85(0x238)]&&window['clearInterval'](this[_0x2e6c85(0x238)]);}[_0x35d624(0x251)](){const _0x46adb1=_0x35d624;this[_0x46adb1(0x37d)](_0x488b23[_0x46adb1(0x15d)](_0xd39c43['fromEvent'](window,'storage')['subscribe'](_0x409614=>{const _0xa89af0=_0x46adb1;if(_0x409614[_0xa89af0(0x1c4)]!==_0x54dc8d||!_0x409614['newValue'])return;const _0x2175b5=JSON[_0xa89af0(0x168)](_0x409614[_0xa89af0(0x1bf)]);this[_0xa89af0(0x1b7)](_0x2175b5);}))),window[_0x46adb1(0x2d6)](_0x46adb1(0x1b1),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x46adb1(0x138)](this[_0x46adb1(0x33d)])}));}[_0x35d624(0x1b7)](_0x543673){const _0x353199=_0x35d624;switch(_0x543673[_0x353199(0x18c)]){case 0x0:this[_0x353199(0x1de)](_0x543673);break;case 0x1:this['_handleLeaveEvent'](_0x543673);break;case 0x2:this[_0x353199(0x2b7)](_0x543673);break;}}['_handleJoinEvent'](_0x42c1fc){const _0x32c1b3=_0x35d624,{unitIDs:_0x240af8,memberID:_0x6d9db0,isForwarded:_0x4a6033}=_0x42c1fc;_0x240af8['forEach'](_0x47e65a=>{const _0x9a2995=_0x3f90;if(!_0x4a6033&&this[_0x9a2995(0x37e)][_0x9a2995(0x2a9)](_0x47e65a)&&this[_0x9a2995(0xdc)](_0x47e65a)['next'](_0xe662fa[_0x9a2995(0x27a)]['OTHER_CLIENTS_EDITING']),!this[_0x9a2995(0x37e)][_0x9a2995(0x2a9)](_0x47e65a)||!this[_0x9a2995(0x37e)][_0x9a2995(0x37f)](_0x47e65a)[_0x9a2995(0x2a9)](_0x6d9db0)){const _0x27f335=this['_unitOnClients'][_0x9a2995(0x37f)](_0x47e65a)||new Set();_0x27f335[_0x9a2995(0x380)](_0x6d9db0),this['_unitOnClients'][_0x9a2995(0x26e)](_0x47e65a,_0x27f335),this['_scheduleClearOtherTimer'](_0x6d9db0);}}),_0x4a6033||this[_0x32c1b3(0x10c)]({'type':0x0,'memberID':this[_0x32c1b3(0x107)],'unitIDs':[...this[_0x32c1b3(0x33d)]],'isForwarded':!0x0});}[_0x35d624(0x155)](_0x14ed70){const _0x372e83=_0x35d624;this['_removeClearOtherTimer'](_0x14ed70);const _0x31ac70=window['setTimeout'](()=>{const _0x53b544=_0x3f90;this[_0x53b544(0x37e)]['forEach'](_0x4bdada=>{const _0x20e990=_0x53b544;_0x4bdada[_0x20e990(0x323)](_0x14ed70);});},_0x193945*0x2);this[_0x372e83(0x221)][_0x372e83(0x26e)](_0x14ed70,_0x31ac70);}[_0x35d624(0x32a)](_0x3fedef){const _0x244426=_0x35d624;if(this['_clearOtherTimers'][_0x244426(0x2a9)](_0x3fedef)){const _0x3b0f23=this['_clearOtherTimers'][_0x244426(0x37f)](_0x3fedef);_0x3b0f23&&window[_0x244426(0x245)](_0x3b0f23),this[_0x244426(0x221)][_0x244426(0x26e)](_0x3fedef,null);}}[_0x35d624(0x116)](_0x3c0186){const _0x311c8e=_0x35d624,{memberID:_0x2ec4a5,unitIDs:_0x3c1cf5}=_0x3c0186;_0x3c1cf5[_0x311c8e(0x125)](_0xb33d1d=>{const _0x29542d=_0x311c8e;var _0x253f22;const _0x5d284a=this[_0x29542d(0x37e)]['get'](_0xb33d1d);_0x5d284a&&(_0x5d284a[_0x29542d(0x323)](_0x2ec4a5),(_0x253f22=this[_0x29542d(0xdc)](_0xb33d1d))==null||_0x253f22['next'](_0x5d284a[_0x29542d(0x18f)]===0x0?_0xe662fa[_0x29542d(0x27a)][_0x29542d(0x1e7)]:_0xe662fa[_0x29542d(0x27a)]['OTHER_CLIENTS_EDITING']));}),this[_0x311c8e(0x32a)](_0x2ec4a5);}['_handleHeartbeatEvent'](_0x1ad8cd){const _0x476e1c=_0x35d624;this['_scheduleClearOtherTimer'](_0x1ad8cd[_0x476e1c(0x20b)]);}['_send'](_0xb82d96){const _0x154019=_0x35d624;localStorage['setItem'](_0x54dc8d,JSON[_0x154019(0x2be)](_0xb82d96));}[_0x35d624(0x3ab)](){const _0x33a29d=_0x35d624;this[_0x33a29d(0x238)]=window[_0x33a29d(0x16c)](()=>{const _0x5b2e22=_0x33a29d;this[_0x5b2e22(0x10c)]({'type':0x2,'memberID':this[_0x5b2e22(0x107)]});},_0x193945);}[_0x35d624(0xdc)](_0x1eb82e){const _0x567c51=_0x35d624;return this[_0x567c51(0x1ea)][_0x567c51(0x2a9)](_0x1eb82e)||this[_0x567c51(0x1ea)][_0x567c51(0x26e)](_0x1eb82e,new _0xd39c43['BehaviorSubject'](_0xe662fa[_0x567c51(0x27a)][_0x567c51(0x1e7)])),this[_0x567c51(0x1ea)][_0x567c51(0x37f)](_0x1eb82e);}}_0x497957[_0x35d624(0x103)]=_0x59fd33,_0x497957[_0x35d624(0x2b4)]=_0x370ba4,_0x497957[_0x35d624(0x38d)]=_0x40af19,_0x497957[_0x35d624(0x2d1)]=_0xec686a,Object[_0x35d624(0x13e)](_0x497957,Symbol['toStringTag'],{'value':_0x35d624(0x281)});}));
8
+ (function(_0x29f525,_0x13b533){const _0x35d19a=_0x4f4a,_0x18e649=_0x29f525();while(!![]){try{const _0x12d7d1=-parseInt(_0x35d19a(0x38c))/0x1+parseInt(_0x35d19a(0x392))/0x2+parseInt(_0x35d19a(0x1ed))/0x3*(parseInt(_0x35d19a(0x2a5))/0x4)+parseInt(_0x35d19a(0x19d))/0x5*(-parseInt(_0x35d19a(0x232))/0x6)+parseInt(_0x35d19a(0xf7))/0x7*(-parseInt(_0x35d19a(0x208))/0x8)+parseInt(_0x35d19a(0x124))/0x9*(parseInt(_0x35d19a(0x158))/0xa)+parseInt(_0x35d19a(0xe8))/0xb;if(_0x12d7d1===_0x13b533)break;else _0x18e649['push'](_0x18e649['shift']());}catch(_0x8a5fe4){_0x18e649['push'](_0x18e649['shift']());}}}(_0x458d,0xcd23a),function(_0x187132,_0x5c6ee8){const _0x206b75=_0x4f4a;typeof exports==_0x206b75(0xd0)&&typeof module<'u'?_0x5c6ee8(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x206b75(0x341)&&define[_0x206b75(0x15a)]?define([_0x206b75(0x132),_0x206b75(0xcc),_0x206b75(0xfd),'@univerjs/core','@univerjs/ui',_0x206b75(0x22e),_0x206b75(0x2c3),_0x206b75(0x318),_0x206b75(0x37d),'@univerjs/sheets','@univerjs/engine-render',_0x206b75(0x156),'@univerjs/docs-ui',_0x206b75(0x20a),'@univerjs-pro/collaboration',_0x206b75(0x339),_0x206b75(0x2e8),_0x206b75(0xe0),_0x206b75(0x204)],_0x5c6ee8):(_0x187132=typeof globalThis<'u'?globalThis:_0x187132||self,_0x5c6ee8(_0x187132[_0x206b75(0x335)]={},_0x187132[_0x206b75(0x1de)],_0x187132[_0x206b75(0x316)],_0x187132[_0x206b75(0x389)],_0x187132[_0x206b75(0x20d)],_0x187132['rxjs'],_0x187132[_0x206b75(0x2ad)],_0x187132[_0x206b75(0x1de)],_0x187132[_0x206b75(0x33a)],_0x187132['UniverSheets'],_0x187132[_0x206b75(0x353)],_0x187132[_0x206b75(0x269)],_0x187132['UniverDocsUi'],_0x187132[_0x206b75(0x3a2)],_0x187132[_0x206b75(0x329)],_0x187132['UniverDocs'],_0x187132['UniverEngineFormula'],_0x187132[_0x206b75(0x22e)][_0x206b75(0x1c9)],_0x187132[_0x206b75(0xbb)]));}(this,function(_0x12f853,_0x96b66,_0x483f62,_0x2f9c71,_0x97839d,_0x4b9e95,_0x15837d,_0x4301c4,_0x67e237,_0x219559,_0x3281d5,_0x1c1235,_0x244982,_0x484fb1,_0x555c33,_0x20fc77,_0x5a5f64,_0x32e776,_0x4dff07){'use strict';const _0x1203bc=_0x4f4a;var _0x4d54f9=Object[_0x1203bc(0x34f)],_0x389878=(_0x3ea495,_0xa76e66,_0x4d5362)=>_0xa76e66 in _0x3ea495?_0x4d54f9(_0x3ea495,_0xa76e66,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d5362}):_0x3ea495[_0xa76e66]=_0x4d5362,_0x5e2d7e=(_0x58980c,_0x3a5d25,_0x1c3e53)=>_0x389878(_0x58980c,typeof _0x3a5d25!=_0x1203bc(0x170)?_0x3a5d25+'':_0x3a5d25,_0x1c3e53);function _0x195981({ref:_0xf9305e,..._0x46b691}){const _0x432d1e=_0x1203bc,{icon:_0x2345d6,id:_0x5a8117,className:_0x59cd59,extend:_0x33c950,..._0x54f83b}=_0x46b691,_0x43e9d5=(_0x432d1e(0x31b)+_0x5a8117+'\x20'+(_0x59cd59||''))[_0x432d1e(0x261)](),_0x2bbca9=_0x4301c4['useRef']('_'+_0x2bf27c());return _0x435068(_0x2345d6,''+_0x5a8117,{'defIds':_0x2345d6[_0x432d1e(0x1c2)],'idSuffix':_0x2bbca9[_0x432d1e(0x360)]},{'ref':_0xf9305e,'className':_0x43e9d5,..._0x54f83b},_0x33c950);}function _0x435068(_0x263044,_0x2201cb,_0x5e9086,_0x1264f9,_0x7cc389){const _0x204963=_0x1203bc;return _0x4301c4[_0x204963(0x36f)](_0x263044[_0x204963(0x31f)],{'key':_0x2201cb,..._0x34f126(_0x263044,_0x5e9086,_0x7cc389),..._0x1264f9},(_0x211b01(_0x263044,_0x5e9086)[_0x204963(0x2ef)]||[])['map']((_0x5bf72e,_0xa40c5c)=>_0x435068(_0x5bf72e,_0x2201cb+'-'+_0x263044['tag']+'-'+_0xa40c5c,_0x5e9086,void 0x0,_0x7cc389)));}function _0x34f126(_0x35626f,_0x1fbed5,_0x4e1d7e){const _0x4ef02c=_0x1203bc,_0x2fbf5b={..._0x35626f[_0x4ef02c(0x310)]};_0x4e1d7e!=null&&_0x4e1d7e['colorChannel1']&&_0x2fbf5b[_0x4ef02c(0x10b)]==='colorChannel1'&&(_0x2fbf5b[_0x4ef02c(0x10b)]=_0x4e1d7e['colorChannel1']),_0x35626f['tag']===_0x4ef02c(0x240)&&_0x2fbf5b['id']&&(_0x2fbf5b['id']=_0x2fbf5b['id']+_0x1fbed5[_0x4ef02c(0x268)]),Object['entries'](_0x2fbf5b)[_0x4ef02c(0x2fb)](([_0x250511,_0x19a5df])=>{const _0x25888e=_0x4ef02c;_0x250511===_0x25888e(0x240)&&typeof _0x19a5df==_0x25888e(0x179)&&(_0x2fbf5b[_0x250511]=_0x19a5df[_0x25888e(0x195)](/url\(#(.*)\)/,'url(#$1'+_0x1fbed5[_0x25888e(0x268)]+')'));});const {defIds:_0x2bb985}=_0x1fbed5;return!_0x2bb985||_0x2bb985['length']===0x0||(_0x35626f[_0x4ef02c(0x31f)]==='use'&&_0x2fbf5b[_0x4ef02c(0xc0)]&&(_0x2fbf5b[_0x4ef02c(0xc0)]=_0x2fbf5b[_0x4ef02c(0xc0)]+_0x1fbed5[_0x4ef02c(0x268)]),Object['entries'](_0x2fbf5b)[_0x4ef02c(0x2fb)](([_0x3e20d6,_0x726668])=>{const _0x2f99af=_0x4ef02c;typeof _0x726668==_0x2f99af(0x179)&&(_0x2fbf5b[_0x3e20d6]=_0x726668[_0x2f99af(0x195)](/url\(#(.*)\)/,_0x2f99af(0x202)+_0x1fbed5[_0x2f99af(0x268)]+')'));})),_0x2fbf5b;}function _0x211b01(_0x2538ad,_0x439785){const _0x2f72d6=_0x1203bc;var _0x27059d;const {defIds:_0x3f7bf6}=_0x439785;return!_0x3f7bf6||_0x3f7bf6['length']===0x0?_0x2538ad:_0x2538ad['tag']===_0x2f72d6(0x24f)&&((_0x27059d=_0x2538ad[_0x2f72d6(0x2ef)])!=null&&_0x27059d[_0x2f72d6(0x381)])?{..._0x2538ad,'children':_0x2538ad[_0x2f72d6(0x2ef)][_0x2f72d6(0x29a)](_0xbf5aa5=>typeof _0xbf5aa5['attrs']['id']==_0x2f72d6(0x179)&&_0x3f7bf6&&_0x3f7bf6['includes'](_0xbf5aa5[_0x2f72d6(0x310)]['id'])?{..._0xbf5aa5,'attrs':{..._0xbf5aa5[_0x2f72d6(0x310)],'id':_0xbf5aa5[_0x2f72d6(0x310)]['id']+_0x439785[_0x2f72d6(0x268)]}}:_0xbf5aa5)}:_0x2538ad;}function _0x2bf27c(){const _0x85907d=_0x1203bc;return Math[_0x85907d(0x11f)]()[_0x85907d(0x24c)](0x24)[_0x85907d(0x393)](0x2,0x8);}_0x195981[_0x1203bc(0x36b)]=_0x1203bc(0x2ab);const _0x4985b7={'tag':_0x1203bc(0x379),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1203bc(0x19f),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x1203bc(0x361)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1203bc(0x160),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x1203bc(0x2a4),'strokeLinejoin':_0x1203bc(0x2a4),'strokeWidth':1.2}}]},{'tag':_0x1203bc(0x24f),'attrs':{},'children':[{'tag':_0x1203bc(0x236),'attrs':{'id':_0x1203bc(0x34b)},'children':[{'tag':_0x1203bc(0x160),'attrs':{'fill':_0x1203bc(0xc8),'d':_0x1203bc(0x289)}}]}]}],'defIds':[_0x1203bc(0x34b)]},_0x52581a=_0x4301c4['forwardRef'](function(_0x270e7f,_0xa491f0){const _0x495bf4=_0x1203bc;return _0x4301c4['createElement'](_0x195981,Object[_0x495bf4(0x122)]({},_0x270e7f,{'id':_0x495bf4(0x16d),'ref':_0xa491f0,'icon':_0x4985b7}));});_0x52581a[_0x1203bc(0x36b)]='OffLineIcon';const _0x214dd1={'tag':_0x1203bc(0x379),'attrs':{'xmlns':_0x1203bc(0x3bc),'fill':_0x1203bc(0x19f),'viewBox':_0x1203bc(0x312),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x1203bc(0x362),'d':_0x1203bc(0x3b6),'strokeLinecap':_0x1203bc(0x2a4),'strokeLinejoin':_0x1203bc(0x2a4),'strokeWidth':1.2}}]},{'tag':_0x1203bc(0x24f),'attrs':{},'children':[{'tag':_0x1203bc(0x236),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x1203bc(0x117)]},_0x85e077=_0x4301c4[_0x1203bc(0x2ae)](function(_0x5e926e,_0x3b1bab){const _0xdad42d=_0x1203bc;return _0x4301c4[_0xdad42d(0x36f)](_0x195981,Object[_0xdad42d(0x122)]({},_0x5e926e,{'id':'on-line-icon','ref':_0x3b1bab,'icon':_0x214dd1}));});_0x85e077[_0x1203bc(0x36b)]=_0x1203bc(0x1d0);function _0x3a4d1c(_0x3ddcd6){const _0x9c242d=_0x1203bc;switch(_0x3ddcd6){case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x397)]:return _0x9c242d(0x394);case _0x483f62['CollaborationStatus'][_0x9c242d(0x277)]:return _0x9c242d(0x2ce);case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x399)]:return'collabStatus.fetchMiss';case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x3a7)]:return _0x9c242d(0x1e0);case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x33b)]:case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x2f9)]:return'collabStatus.syncing';case _0x483f62['CollaborationStatus'][_0x9c242d(0x1df)]:case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x1b0)]:return _0x9c242d(0xdb);}}function _0x2a3dde(_0xe96f0e){const _0x207331=_0x1203bc,{status$:_0x7037f6}=_0xe96f0e,_0x5d56ef=_0x97839d['useObservable'](_0x7037f6,_0x483f62[_0x207331(0x380)][_0x207331(0x3a7)]),_0x3efe77=_0x97839d[_0x207331(0x142)](_0x2f9c71[_0x207331(0xed)]),_0x1c7112=_0x97839d['useDependency'](_0x483f62[_0x207331(0xcd)]),_0x1becc1=_0x5d56ef!==_0x483f62[_0x207331(0x380)][_0x207331(0x397)],_0xa782ec=_0x3efe77['t'](_0x3a4d1c(_0x5d56ef)),_0x378c5c=_0x1becc1?_0x96b66[_0x207331(0x343)](_0x85e077,{}):_0x96b66[_0x207331(0x343)](_0x52581a,{}),_0x1ab94b=_0x4301c4[_0x207331(0x3a6)](()=>{const _0x3a5eb5=_0x207331;_0x1becc1||_0x1c7112[_0x3a5eb5(0x120)]();},[_0x1becc1,_0x1c7112]);function _0x5c5f75(){const _0x1c1b5f=_0x207331;return _0x96b66[_0x1c1b5f(0x15b)](_0x1c1b5f(0x209),{'className':_0x1c1b5f(0x2e3),'onClick':_0x1ab94b,'children':[_0x96b66[_0x1c1b5f(0x343)](_0x1c1b5f(0x209),{'className':_0x15837d['clsx'](_0x1c1b5f(0x11c),{'univer-text-green-500':_0x1becc1,'univer-text-red-500':!_0x1becc1}),'children':_0x378c5c}),_0x96b66[_0x1c1b5f(0x343)](_0x1c1b5f(0x209),{'className':_0x1c1b5f(0x270),'children':_0xa782ec})]});}return _0x1becc1?_0x5c5f75():_0x96b66['jsx'](_0x15837d[_0x207331(0x14f)],{'title':_0x3efe77['t']('collab-client.tooltip.reconnect'),'children':_0x5c5f75()});}var _0x36054f=Object[_0x1203bc(0x29b)],_0x4a9f7a=(_0x2ed028,_0x4cf1ae,_0x3e7ff2,_0x345c82)=>{const _0x2c2f9a=_0x1203bc;for(var _0x2afdcf=_0x345c82>0x1?void 0x0:_0x345c82?_0x36054f(_0x4cf1ae,_0x3e7ff2):_0x4cf1ae,_0x3d235e=_0x2ed028[_0x2c2f9a(0x381)]-0x1,_0x46e285;_0x3d235e>=0x0;_0x3d235e--)(_0x46e285=_0x2ed028[_0x3d235e])&&(_0x2afdcf=_0x46e285(_0x2afdcf)||_0x2afdcf);return _0x2afdcf;},_0x23e03f=(_0x144785,_0x1aaf99)=>(_0x153161,_0xd61431)=>_0x1aaf99(_0x153161,_0xd61431,_0x144785);_0x12f853[_0x1203bc(0x2e9)]=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x466c32,_0x5ad0cb,_0x26ab69,_0x240c1c){const _0x52b790=_0x1203bc;super(),_0x5e2d7e(this,_0x52b790(0x1a2),new _0x4b9e95[(_0x52b790(0x396))](_0x483f62['CollaborationStatus'][_0x52b790(0x3a7)])),(this[_0x52b790(0xf9)]=_0x466c32,this[_0x52b790(0x2ec)]=_0x5ad0cb,this[_0x52b790(0x15f)]=_0x26ab69,this[_0x52b790(0x12b)]=_0x240c1c,this[_0x52b790(0x31d)](),this[_0x52b790(0x1fd)]());}[_0x1203bc(0x1fd)](){const _0x387ea0=_0x1203bc;this[_0x387ea0(0x293)](this['_univerInstanceService']['focused$'][_0x387ea0(0x1e5)](_0x4b9e95[_0x387ea0(0xfa)](()=>{const _0x3f4a7e=_0x387ea0,_0x3d9703=this[_0x3f4a7e(0xf9)][_0x3f4a7e(0x193)]();return _0x3d9703?this['_collaborationController'][_0x3f4a7e(0x2be)](_0x3d9703[_0x3f4a7e(0x140)]()):_0x4b9e95['of'](null);}),_0x4b9e95['switchMap'](_0x5f0291=>_0x5f0291?_0x5f0291[_0x387ea0(0x330)]:_0x4b9e95['of'](_0x483f62[_0x387ea0(0x380)]['NOT_COLLAB'])))[_0x387ea0(0x33f)](_0x1e4caa=>{const _0x4ba50d=_0x387ea0;this[_0x4ba50d(0x1a2)][_0x4ba50d(0x326)](_0x1e4caa);}));}[_0x1203bc(0x31d)](){const _0x55751d=_0x1203bc;this['disposeWithMe'](this[_0x55751d(0x12b)][_0x55751d(0x25b)](_0x97839d[_0x55751d(0x2d5)]['HEADER_MENU'],()=>_0x97839d[_0x55751d(0x27d)](_0x46db35({'status$':this[_0x55751d(0x1a2)][_0x55751d(0x2f7)]()}),this[_0x55751d(0x2ec)])));}},_0x12f853[_0x1203bc(0x2e9)]=_0x4a9f7a([_0x23e03f(0x0,_0x2f9c71[_0x1203bc(0x19b)]),_0x23e03f(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x23e03f(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x483f62['CollaborationController'])),_0x23e03f(0x3,_0x97839d[_0x1203bc(0x32c)])],_0x12f853[_0x1203bc(0x2e9)]);function _0x46db35(_0x19202e){const {status$:_0x359aa5}=_0x19202e;return function(){const _0x531725=_0x4f4a;return _0x96b66[_0x531725(0x343)](_0x2a3dde,{'status$':_0x359aa5});};}const _0x34744d=_0x2f9c71[_0x1203bc(0x259)]('uni.network.url-service');var _0x599d13=Object[_0x1203bc(0x29b)],_0x18bd4c=(_0x1244c4,_0x35e8a6,_0x286ed9,_0x3e87ba)=>{for(var _0x10c8fe=_0x3e87ba>0x1?void 0x0:_0x3e87ba?_0x599d13(_0x35e8a6,_0x286ed9):_0x35e8a6,_0x3c77b1=_0x1244c4['length']-0x1,_0x126d8b;_0x3c77b1>=0x0;_0x3c77b1--)(_0x126d8b=_0x1244c4[_0x3c77b1])&&(_0x10c8fe=_0x126d8b(_0x10c8fe)||_0x10c8fe);return _0x10c8fe;},_0x197664=(_0x172e86,_0x5211bd)=>(_0x429ce6,_0x4b47bb)=>_0x5211bd(_0x429ce6,_0x4b47bb,_0x172e86);_0x12f853[_0x1203bc(0x211)]=class extends _0x2f9c71['RxDisposable']{constructor(_0x277a1a,_0x3936e8,_0x591f28,_0x4eb1b8,_0xe45530){const _0x237508=_0x1203bc;super(),this[_0x237508(0x2a8)]=_0x277a1a,this[_0x237508(0x21d)]=_0x3936e8,this['_commandService']=_0x591f28,this[_0x237508(0x1c1)]=_0x4eb1b8,_0xe45530?_0xe45530==null||_0xe45530[_0x237508(0x2ba)]()[_0x237508(0x1ee)](()=>this[_0x237508(0x3ad)]()):(this[_0x237508(0x21d)][_0x237508(0x34e)](_0x237508(0x246),_0x237508(0x308)),this['_init']());}async['_init'](){const _0x10e8a1=_0x1203bc,_0x216805=this[_0x10e8a1(0x2a8)][_0x10e8a1(0x229)](_0x10e8a1(0xd3)),_0x4c79ce=this[_0x10e8a1(0x2a8)]['getParam'](_0x10e8a1(0x101)),_0x106227=this[_0x10e8a1(0x2a8)][_0x10e8a1(0x229)](_0x10e8a1(0x118));if(!_0x216805||!_0x4c79ce){this[_0x10e8a1(0x21d)]['debug'](_0x10e8a1(0x246),_0x10e8a1(0x241));return;}const _0x2ae4dd=await this['_dataLoaderService'][_0x10e8a1(0x2c1)](_0x216805,Number(_0x4c79ce),_0x106227);_0x2ae4dd&&_0x2ae4dd instanceof _0x2f9c71[_0x10e8a1(0x26b)]&&this['_setupSubUnitSync'](_0x2ae4dd);}async['_setupSubUnitSync'](_0x231aaa){const _0x12d87b=_0x1203bc;await this[_0x12d87b(0x303)](_0x231aaa),_0x231aaa[_0x12d87b(0x23e)]['pipe'](_0x4b9e95[_0x12d87b(0x300)](this[_0x12d87b(0x17c)]))['subscribe'](_0x46fd0c=>{const _0x21590a=_0x12d87b;_0x46fd0c&&this[_0x21590a(0x1b6)](_0x46fd0c);}),this['_urlService'][_0x12d87b(0x189)][_0x12d87b(0x1e5)](_0x4b9e95[_0x12d87b(0x300)](this[_0x12d87b(0x17c)]))[_0x12d87b(0x33f)](()=>this[_0x12d87b(0x303)](_0x231aaa));}[_0x1203bc(0x1b6)](_0x3b2da5,_0x43ddfa=!0x1){const _0x23bcf5=_0x1203bc,_0x1dd4f6=this['_urlService'][_0x23bcf5(0x229)]('subunit');_0x3b2da5[_0x23bcf5(0x2b0)]()!==_0x1dd4f6&&this[_0x23bcf5(0x2a8)][_0x23bcf5(0x377)]('subunit',_0x3b2da5['getSheetId'](),_0x43ddfa);}async[_0x1203bc(0x303)](_0x50579a){const _0x560294=_0x1203bc;var _0x10b491;const _0x5177f6=this['_urlService'][_0x560294(0x229)](_0x560294(0x118));if(!_0x5177f6||!_0x50579a[_0x560294(0x150)](_0x5177f6)){const _0x33322=_0x50579a[_0x560294(0xde)]()[0x0],_0x4be507=_0x50579a[_0x560294(0x150)](_0x33322);if(!_0x4be507)return;this['_updateURLWithCurrentState'](_0x4be507,!0x0),await this[_0x560294(0x13b)][_0x560294(0x143)](_0x219559[_0x560294(0x27e)]['id'],{'unitId':_0x50579a[_0x560294(0x140)](),'subUnitId':_0x33322});return;}((_0x10b491=_0x50579a[_0x560294(0x36e)]())==null?void 0x0:_0x10b491[_0x560294(0x2b0)]())!==_0x5177f6&&await this['_commandService']['executeCommand'](_0x219559['SetWorksheetActivateCommand']['id'],{'unitId':_0x50579a[_0x560294(0x140)](),'subUnitId':_0x5177f6});}},_0x12f853[_0x1203bc(0x211)]=_0x18bd4c([_0x197664(0x0,_0x34744d),_0x197664(0x1,_0x2f9c71[_0x1203bc(0x220)]),_0x197664(0x2,_0x2f9c71[_0x1203bc(0x183)]),_0x197664(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x483f62['DataLoaderService'])),_0x197664(0x4,_0x2f9c71[_0x1203bc(0x36d)](_0x67e237[_0x1203bc(0xee)]))],_0x12f853[_0x1203bc(0x211)]);var _0x25864e=Object[_0x1203bc(0x29b)],_0x301770=(_0xc343fd,_0x278394,_0x1a15af,_0x59a5c4)=>{const _0xc8032d=_0x1203bc;for(var _0x90bd2f=_0x59a5c4>0x1?void 0x0:_0x59a5c4?_0x25864e(_0x278394,_0x1a15af):_0x278394,_0x3527a7=_0xc343fd[_0xc8032d(0x381)]-0x1,_0x4ed143;_0x3527a7>=0x0;_0x3527a7--)(_0x4ed143=_0xc343fd[_0x3527a7])&&(_0x90bd2f=_0x4ed143(_0x90bd2f)||_0x90bd2f);return _0x90bd2f;},_0x898994=(_0x559cd6,_0x4e2012)=>(_0xf89589,_0xbb1d66)=>_0x4e2012(_0xf89589,_0xbb1d66,_0x559cd6);let _0x82a21d=class extends _0x2f9c71[_0x1203bc(0x201)]{constructor(_0x3e6f1e,_0x5bcb6b){const _0x2c5fcd=_0x1203bc;super(),this[_0x2c5fcd(0x197)]=_0x3e6f1e,this[_0x2c5fcd(0x2e5)]=_0x5bcb6b,this['_init']();}['_init'](){const _0x4ab6e3=_0x1203bc,_0x1a126b=this;this[_0x4ab6e3(0x293)](this[_0x4ab6e3(0x197)]['addClipboardHook']({'onBeforePasteImage':async _0x1c861b=>{const _0x1b0af1=_0x4ab6e3,_0x4a2f89=await _0x1a126b[_0x1b0af1(0x2e5)][_0x1b0af1(0x14d)](_0x1c861b);return _0x4a2f89?{'source':_0x4a2f89[_0x1b0af1(0x10d)],'imageSourceType':_0x4a2f89[_0x1b0af1(0x366)]}:null;}}));}};_0x82a21d=_0x301770([_0x898994(0x0,_0x244982[_0x1203bc(0x1ae)]),_0x898994(0x1,_0x484fb1['IImageIoService'])],_0x82a21d);const _0x1ec272=[_0x1203bc(0x1dc),_0x1203bc(0x163),_0x1203bc(0xf5),_0x1203bc(0x10a),_0x1203bc(0x1e2),'yellow.400'];class _0x3df9df extends _0x2f9c71[_0x1203bc(0x255)]{constructor(){const _0x1a89b4=_0x1203bc;super(...arguments),_0x5e2d7e(this,_0x1a89b4(0xc9),new Map()),_0x5e2d7e(this,'_colorIndex',0x0);}[_0x1203bc(0x3a5)](_0x241002){const _0x31e197=_0x1203bc;if(this[_0x31e197(0xc9)][_0x31e197(0x1c6)](_0x241002))return this[_0x31e197(0xc9)][_0x31e197(0x28e)](_0x241002);const _0x3f1f39=_0x1ec272[this[_0x31e197(0xdf)]];return this[_0x31e197(0xdf)]=(this[_0x31e197(0xdf)]+0x1)%_0x1ec272[_0x31e197(0x381)],this[_0x31e197(0xc9)][_0x31e197(0x186)](_0x241002,_0x3f1f39),_0x3f1f39;}}function _0x4be0c1(_0x5597de){const _0x34fb6f=_0x1203bc;let _0x141871='';for(const _0xbf18c5 of _0x5597de){const {startOffset:_0x4c83fc,endOffset:_0x32248e,isActive:_0x3bed93,rangeType:_0x1c0d92,segmentId:_0x5b28bc,segmentPage:_0x41ce83}=_0xbf18c5;_0x141871[_0x34fb6f(0x381)]&&(_0x141871+=','),_0x141871+=_0x4c83fc+':'+_0x32248e+':'+(_0x3bed93?'1':'0')+':'+_0x1c0d92+':'+_0x5b28bc+':'+_0x41ce83;}return _0x141871;}function _0x1f250d(_0xb86f58){const _0x504b9d=_0x1203bc,_0x4c0a48=_0xb86f58[_0x504b9d(0x1e6)](','),_0x17d960=[];for(const _0x344c90 of _0x4c0a48){const [_0x505db5,_0x262f8b,_0x24488e,_0x12edad,_0x5d3e31,_0xf639ee]=_0x344c90[_0x504b9d(0x1e6)](':');_0x17d960[_0x504b9d(0x35e)]({'startOffset':Number(_0x505db5),'endOffset':Number(_0x262f8b),'collapsed':_0x505db5===_0x262f8b,'isActive':_0x24488e==='1','rangeType':_0x12edad===_0x2f9c71[_0x504b9d(0x2fd)]['TEXT']?_0x2f9c71[_0x504b9d(0x2fd)]['TEXT']:_0x2f9c71[_0x504b9d(0x2fd)][_0x504b9d(0x234)],'segmentId':typeof _0x5d3e31==_0x504b9d(0x179)?String(_0x5d3e31):'','segmentPage':Number(_0xf639ee!=null?_0xf639ee:-0x1)});}return _0x17d960['some'](_0x42605c=>_0x42605c[_0x504b9d(0x264)])||(_0x17d960[0x0]['isActive']=!0x0),_0x17d960;}class _0x26bb99 extends _0x2f9c71[_0x1203bc(0x201)]{constructor(){const _0x5c1bc4=_0x1203bc;super(...arguments),_0x5e2d7e(this,_0x5c1bc4(0x1bd),new _0x4b9e95['BehaviorSubject'](null)),_0x5e2d7e(this,_0x5c1bc4(0x2cc),this[_0x5c1bc4(0x1bd)]['asObservable']());}[_0x1203bc(0x11a)](_0x1081d5){const _0x2d47b9=_0x1203bc,{unitID:_0x3d227f,memberID:_0x54dc3d,textRanges:_0x496ff7}=_0x1081d5,_0x3f0f43=_0x4be0c1(_0x496ff7);if(_0x3f0f43==='')return;const _0x11b9a1={'unitID':_0x3d227f,'memberID':_0x54dc3d,'selection':_0x3f0f43};this[_0x2d47b9(0x1bd)][_0x2d47b9(0x326)](_0x11b9a1);}}var _0x5ba5b3=Object[_0x1203bc(0x29b)],_0x19b86f=(_0xf720b3,_0x4a8e5e,_0x6a464d,_0x37eccb)=>{const _0x5db74f=_0x1203bc;for(var _0x4acf6d=_0x37eccb>0x1?void 0x0:_0x37eccb?_0x5ba5b3(_0x4a8e5e,_0x6a464d):_0x4a8e5e,_0x54b408=_0xf720b3[_0x5db74f(0x381)]-0x1,_0x3a30d0;_0x54b408>=0x0;_0x54b408--)(_0x3a30d0=_0xf720b3[_0x54b408])&&(_0x4acf6d=_0x3a30d0(_0x4acf6d)||_0x4acf6d);return _0x4acf6d;},_0x2b894e=(_0x3eb21a,_0x2e5a6e)=>(_0x202668,_0x334e1a)=>_0x2e5a6e(_0x202668,_0x334e1a,_0x3eb21a);const _0x3cad77=0x12c,_0x273cc9=0x64;let _0x57615a=class extends _0x2f9c71['RxDisposable']{constructor(_0xeb493a,_0x13fe80,_0xaade06,_0x9e3347,_0x572247,_0x5f3e36,_0x4a6681,_0x497bf2,_0x1b3867){const _0x2aaf74=_0x1203bc;super(),_0x5e2d7e(this,_0x2aaf74(0x207),!0x1),_0x5e2d7e(this,'_init',!0x1),_0x5e2d7e(this,_0x2aaf74(0x102),new _0x4b9e95['BehaviorSubject'](new Map())),_0x5e2d7e(this,_0x2aaf74(0x3a0),this[_0x2aaf74(0x102)][_0x2aaf74(0x2f7)]()),_0x5e2d7e(this,'_roomMembers$',new _0x4b9e95[(_0x2aaf74(0x396))]([])),_0x5e2d7e(this,_0x2aaf74(0x297),this[_0x2aaf74(0x1ff)][_0x2aaf74(0x1e5)](_0x4b9e95[_0x2aaf74(0x306)](_0x3cad77))),_0x5e2d7e(this,'_updateLocalCursor',_0x2f9c71[_0x2aaf74(0x167)](_0x35fd15=>{const _0xaa9006=_0x2aaf74,_0x424611={'eventID':_0x555c33[_0xaa9006(0x230)][_0xaa9006(0xca)],'data':{'unitID':this[_0xaa9006(0x1fe)],'memberID':this[_0xaa9006(0xea)][_0xaa9006(0xbd)](),'selection':_0x4be0c1(_0x35fd15)}};this[_0xaa9006(0xea)][_0xaa9006(0xda)](_0x424611,this[_0xaa9006(0x1fe)]);},_0x273cc9)),(this['unitID']=_0xeb493a,this[_0x2aaf74(0xea)]=_0x13fe80,this[_0x2aaf74(0x2ec)]=_0xaade06,this[_0x2aaf74(0x307)]=_0x9e3347,this['_memberService']=_0x572247,this['_syncEditingCollabCursorService']=_0x5f3e36,this[_0x2aaf74(0x147)]=_0x4a6681,this[_0x2aaf74(0xf9)]=_0x497bf2,this[_0x2aaf74(0x13b)]=_0x1b3867);}get[_0x1203bc(0x2d6)](){const _0x3f7721=_0x1203bc;return this[_0x3f7721(0x102)]['getValue']();}get['roomMembers'](){const _0x486096=_0x1203bc;return this[_0x486096(0x1ff)][_0x486096(0x2f5)]();}['dispose'](){const _0x37b310=_0x1203bc;super[_0x37b310(0x105)](),this[_0x37b310(0x102)]['next'](new Map()),this[_0x37b310(0x102)]['complete'](),this[_0x37b310(0x1ff)][_0x37b310(0x326)]([]),this['_roomMembers$'][_0x37b310(0x1a3)]();}[_0x1203bc(0x16a)](){const _0x1544b1=_0x1203bc;this['_init']||(this[_0x1544b1(0x3ad)]=!0x0,this[_0x1544b1(0xea)][_0x1544b1(0x385)][_0x1544b1(0x1e5)](_0x4b9e95[_0x1544b1(0x300)](this[_0x1544b1(0x17c)]))[_0x1544b1(0x33f)](_0x1db965=>{const _0x39741b=_0x1544b1;_0x1db965===_0x483f62[_0x39741b(0x1a7)][_0x39741b(0x376)]?this[_0x39741b(0x28b)]():this[_0x39741b(0x22b)]();}),this['_session'][_0x1544b1(0x262)][_0x1544b1(0x1e5)](_0x4b9e95['takeUntil'](this[_0x1544b1(0x17c)]))['subscribe'](_0xd0ca74=>{const _0x5f55b8=_0x1544b1,_0x188d47=_0xd0ca74[_0x5f55b8(0x2de)];_0x188d47===_0x555c33['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0xd0ca74),_0x188d47===_0x555c33['CollaborationEvent'][_0x5f55b8(0x278)]&&this[_0x5f55b8(0x19e)](_0xd0ca74);}),this[_0x1544b1(0x293)](this['_commandService'][_0x1544b1(0x395)](_0x415c87=>{const _0x630048=_0x1544b1,_0xa5e46f=_0x415c87[_0x630048(0x285)];_0xa5e46f!=null&&this[_0x630048(0x207)]&&_0x415c87['id']===_0x20fc77[_0x630048(0x146)]['id']&&_0xa5e46f['unitId']===this['unitID']&&_0xa5e46f['isEditing']===!0x1&&_0xa5e46f[_0x630048(0x248)]['length']>0x0&&this['_updateLocalCursor'](_0xa5e46f[_0x630048(0x248)]);})),this[_0x1544b1(0x3b7)][_0x1544b1(0x2cc)][_0x1544b1(0x1e5)](_0x4b9e95['takeUntil'](this[_0x1544b1(0x17c)]))[_0x1544b1(0x33f)](_0x5a8e52=>{const _0x43d5f2=_0x1544b1;if((_0x5a8e52==null?void 0x0:_0x5a8e52[_0x43d5f2(0x1fe)])!==this[_0x43d5f2(0x1fe)])return;const _0x5edc45={'eventID':_0x555c33['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x5a8e52};this[_0x43d5f2(0x2db)](_0x5edc45);}),this[_0x1544b1(0x293)](this[_0x1544b1(0x13b)][_0x1544b1(0x395)](_0x53326b=>{const _0x34ff56=_0x1544b1;if(_0x53326b[_0x34ff56(0x285)]==null)return;const _0x143a60=_0x53326b[_0x34ff56(0x285)];if(_0x53326b['id']!==_0x20fc77['RichTextEditingMutation']['id']||_0x143a60[_0x34ff56(0x23a)]!==this[_0x34ff56(0x1fe)])return;const _0xe7a31c={'id':'doc.mutation.rich-text-editing','params':_0x143a60},_0x3e564a=this[_0x34ff56(0x2d6)];for(const [_0x44d5c3,_0x3cba64]of _0x3e564a){const _0x185994={'id':_0x34ff56(0x20f),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3cba64[_0x34ff56(0x248)]}},_0x43322d=this[_0x34ff56(0x147)][_0x34ff56(0x221)](_0xe7a31c,_0x185994,!0x1);if(_0x555c33[_0x34ff56(0x352)](_0x43322d))throw _0x43322d[_0x34ff56(0x2af)];_0x3e564a[_0x34ff56(0x186)](_0x44d5c3,{..._0x3cba64,'ranges':_0x43322d['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x530020=_0x34ff56;this[_0x530020(0x102)][_0x530020(0x326)](_0x3e564a);});})));}[_0x1203bc(0x2db)](_0x3822ec){const _0x194f88=_0x1203bc;var _0x1ede94,_0x1202e1;const {memberID:_0x216dec,selection:_0x4b65a6}=_0x3822ec[_0x194f88(0x39e)],_0x4a1f9e=_0x1f250d(_0x4b65a6),_0x56dd2e=(_0x1202e1=(_0x1ede94=this['_memberService']['getMember'](this[_0x194f88(0x1fe)],_0x216dec))==null?void 0x0:_0x1ede94[_0x194f88(0x29d)])!=null?_0x1202e1:'Unknown\x20user',_0x4f7050={'color':this['_colorAssignService'][_0x194f88(0x3a5)](_0x216dec),'name':_0x56dd2e,'ranges':_0x4a1f9e},_0x5dfe51=this['cursorInfo'];_0x5dfe51[_0x194f88(0x186)](_0x216dec,_0x4f7050),this[_0x194f88(0x102)]['next'](_0x5dfe51);}[_0x1203bc(0x19e)](_0x5b594a){const _0x7fbb05=_0x1203bc,{memberID:_0x38db5c}=_0x5b594a[_0x7fbb05(0x39e)],_0x54ff9c=this[_0x7fbb05(0x2d6)];_0x54ff9c['delete'](_0x38db5c),this[_0x7fbb05(0x102)][_0x7fbb05(0x326)](_0x54ff9c);}[_0x1203bc(0x28b)](){const _0x3811a8=_0x1203bc;var _0x5c604c;if(this[_0x3811a8(0x207)]=!0x0,((_0x5c604c=this['_univerInstanceService'][_0x3811a8(0x193)]())==null?void 0x0:_0x5c604c[_0x3811a8(0x140)]())!==this[_0x3811a8(0x1fe)])return;const _0x450429=this[_0x3811a8(0x2ec)][_0x3811a8(0x28e)](_0x20fc77[_0x3811a8(0xc3)])[_0x3811a8(0x12f)]();Array['isArray'](_0x450429)&&_0x450429[_0x3811a8(0x381)]>0x0&&this[_0x3811a8(0x292)](_0x450429);}[_0x1203bc(0x22b)](){const _0x2032df=_0x1203bc;this[_0x2032df(0x207)]=!0x1;}};_0x57615a=_0x19b86f([_0x2b894e(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x2b894e(0x3,_0x2f9c71['Inject'](_0x3df9df)),_0x2b894e(0x4,_0x2f9c71[_0x1203bc(0x165)](_0x483f62['MemberService'])),_0x2b894e(0x5,_0x2f9c71[_0x1203bc(0x165)](_0x26bb99)),_0x2b894e(0x6,_0x555c33[_0x1203bc(0x243)]),_0x2b894e(0x7,_0x2f9c71['IUniverInstanceService']),_0x2b894e(0x8,_0x2f9c71['ICommandService'])],_0x57615a);var _0x576251=Object['getOwnPropertyDescriptor'],_0x501c02=(_0x2e9ad7,_0x10efef,_0x48eca9,_0x2b4e4a)=>{const _0x52f9e8=_0x1203bc;for(var _0x992d7a=_0x2b4e4a>0x1?void 0x0:_0x2b4e4a?_0x576251(_0x10efef,_0x48eca9):_0x10efef,_0x5000e4=_0x2e9ad7[_0x52f9e8(0x381)]-0x1,_0xccb650;_0x5000e4>=0x0;_0x5000e4--)(_0xccb650=_0x2e9ad7[_0x5000e4])&&(_0x992d7a=_0xccb650(_0x992d7a)||_0x992d7a);return _0x992d7a;},_0x45cd70=(_0x5fd37b,_0x518ee3)=>(_0x350c40,_0x1fcfe1)=>_0x518ee3(_0x350c40,_0x1fcfe1,_0x5fd37b);const _0x81cc4a=0x12c,_0x78a1e=0x64,_0x23add1=()=>{let _0x569124=[],_0x5d30dd=!0x1;return _0x4afbe8=>{const _0x3a951d=_0x4f4a;_0x569124[_0x3a951d(0x35e)](_0x4afbe8),_0x5d30dd||(_0x5d30dd=!0x0,setTimeout(()=>{const _0x3b6798=_0x3a951d;_0x569124[_0x3b6798(0x2fb)](_0x179352=>_0x179352()),_0x569124=[],_0x5d30dd=!0x1;}));};};let _0x119670=class extends _0x2f9c71[_0x1203bc(0x201)]{constructor(_0x34be70,_0x33e8e8,_0x35ace7,_0x591a80,_0x1508db,_0xb57b21,_0x237710,_0xa275e0){const _0xb10a97=_0x1203bc;super(),_0x5e2d7e(this,_0xb10a97(0x207),!0x1),_0x5e2d7e(this,'_init',!0x1),_0x5e2d7e(this,_0xb10a97(0x102),new _0x4b9e95[(_0xb10a97(0x396))](new Map())),_0x5e2d7e(this,'cursorInfo$',this[_0xb10a97(0x102)][_0xb10a97(0x2f7)]()),_0x5e2d7e(this,'_roomMembers$',new _0x4b9e95[(_0xb10a97(0x396))]([])),_0x5e2d7e(this,_0xb10a97(0x297),this[_0xb10a97(0x1ff)]['pipe'](_0x4b9e95['debounceTime'](_0x81cc4a))),_0x5e2d7e(this,_0xb10a97(0x292),_0x2f9c71[_0xb10a97(0x167)]((_0x124f8a,_0x2fcc13)=>{const _0x361fd7=_0xb10a97,_0x3cba08={'eventID':_0x555c33[_0x361fd7(0x230)][_0x361fd7(0xca)],'data':{'unitID':this[_0x361fd7(0x1fe)],'memberID':this['_session']['getMemberID'](),'selection':_0x5a5f64[_0x361fd7(0x194)](_0x124f8a,_0x2fcc13[_0x361fd7(0xf4)])}};this[_0x361fd7(0xea)][_0x361fd7(0xda)](_0x3cba08,this[_0x361fd7(0x1fe)]);},_0x78a1e)),(this['unitID']=_0x34be70,this[_0xb10a97(0xea)]=_0x33e8e8,this[_0xb10a97(0x2ec)]=_0x35ace7,this[_0xb10a97(0x307)]=_0x591a80,this[_0xb10a97(0xc7)]=_0x1508db,this[_0xb10a97(0xf9)]=_0xb57b21,this['_commandService']=_0x237710,this[_0xb10a97(0x1db)]=_0xa275e0);}get[_0x1203bc(0x2d6)](){const _0x2f6387=_0x1203bc;return this[_0x2f6387(0x102)][_0x2f6387(0x2f5)]();}get['roomMembers'](){const _0x185d77=_0x1203bc;return this[_0x185d77(0x1ff)]['getValue']();}[_0x1203bc(0x105)](){const _0x42d709=_0x1203bc;super[_0x42d709(0x105)](),this[_0x42d709(0x102)][_0x42d709(0x326)](new Map()),this[_0x42d709(0x102)][_0x42d709(0x1a3)](),this[_0x42d709(0x1ff)][_0x42d709(0x326)]([]),this[_0x42d709(0x1ff)][_0x42d709(0x1a3)]();}[_0x1203bc(0x16a)](){const _0x569a04=_0x1203bc;this[_0x569a04(0x3ad)]||(this[_0x569a04(0x3ad)]=!0x0,this['_session']['sessionStatus$'][_0x569a04(0x1e5)](_0x4b9e95[_0x569a04(0x300)](this[_0x569a04(0x17c)]))['subscribe'](_0x265428=>{const _0x1fc4c3=_0x569a04;_0x265428===_0x483f62[_0x1fc4c3(0x1a7)][_0x1fc4c3(0x376)]?this[_0x1fc4c3(0x28b)]():this[_0x1fc4c3(0x22b)]();}),this[_0x569a04(0xea)]['event$']['pipe'](_0x4b9e95['takeUntil'](this[_0x569a04(0x17c)]))[_0x569a04(0x33f)](_0xb3d658=>{const _0x3d505f=_0x569a04,_0x322464=_0xb3d658['eventID'];_0x322464===_0x555c33[_0x3d505f(0x230)][_0x3d505f(0xca)]&&this[_0x3d505f(0x2db)](_0xb3d658),_0x322464===_0x555c33[_0x3d505f(0x230)]['USERS_LEAVE']&&this[_0x3d505f(0x19e)](_0xb3d658);}),this[_0x569a04(0x18c)](),this[_0x569a04(0x293)](this[_0x569a04(0x13b)][_0x569a04(0x395)](_0x24c67a=>{const _0x57f1ad=_0x569a04;if(this[_0x57f1ad(0x207)]&&_0x24c67a['id']===_0x219559[_0x57f1ad(0x1f7)]['id']&&_0x24c67a[_0x57f1ad(0x285)][_0x57f1ad(0x23a)]===this['unitID']){const _0x30884a=_0x24c67a['params'];this[_0x57f1ad(0x292)](_0x30884a[_0x57f1ad(0x2e0)],_0x30884a[_0x57f1ad(0x1c3)][0x0]);}})));}[_0x1203bc(0x2db)](_0x331c7d){const _0x5f39b1=_0x1203bc;var _0x5a3962,_0x412aaa;const {memberID:_0x182dc0,selection:_0xa8ebf5}=_0x331c7d['data'],{sheetName:_0x46cc4c,range:_0x3b0cd1}=_0x5a5f64[_0x5f39b1(0x24e)](_0xa8ebf5),_0x479553={'name':(_0x412aaa=(_0x5a3962=this[_0x5f39b1(0xc7)][_0x5f39b1(0x370)](this[_0x5f39b1(0x1fe)],_0x182dc0))==null?void 0x0:_0x5a3962[_0x5f39b1(0x29d)])!=null?_0x412aaa:_0x5f39b1(0x191),'range':this[_0x5f39b1(0x148)](_0x46cc4c,_0x3b0cd1),'sheetID':_0x46cc4c,'color':this[_0x5f39b1(0x307)][_0x5f39b1(0x3a5)](_0x182dc0),'selection':_0xa8ebf5},_0x2ad183=this['cursorInfo'];_0x2ad183[_0x5f39b1(0x186)](_0x182dc0,_0x479553),this[_0x5f39b1(0x102)][_0x5f39b1(0x326)](_0x2ad183);}['_onCursorDelete'](_0x38b010){const _0x10f355=_0x1203bc,{memberID:_0x1a2b38}=_0x38b010[_0x10f355(0x39e)],_0x50c2be=this[_0x10f355(0x2d6)];_0x50c2be[_0x10f355(0x2eb)](_0x1a2b38),this[_0x10f355(0x102)][_0x10f355(0x326)](_0x50c2be);}['_getMergeRange'](_0x5f7ec8,_0x428aa5){const _0x3d1a73=_0x1203bc;var _0x29b3c8,_0x1e3758;const _0x20550b=(_0x1e3758=(_0x29b3c8=this[_0x3d1a73(0xf9)][_0x3d1a73(0x22a)](this[_0x3d1a73(0x1fe)]))==null?void 0x0:_0x29b3c8[_0x3d1a73(0x150)](_0x5f7ec8))==null?void 0x0:_0x1e3758['getMergeData']();return(_0x20550b==null?void 0x0:_0x20550b[_0x3d1a73(0x214)](_0x5c2e50=>_0x2f9c71[_0x3d1a73(0x244)][_0x3d1a73(0x257)](_0x5c2e50,_0x428aa5)))||_0x428aa5;}[_0x1203bc(0x18c)](){const _0x2775c1=_0x1203bc,_0x3a4aa2=new _0x2f9c71['DisposableCollection'](),_0x8cbea9=_0x23add1(),_0x143547=()=>{const _0x39a01c=_0x4f4a;_0x3a4aa2[_0x39a01c(0x105)]();const _0x2c8249=(_0xe639c9,_0x3036ef,_0x28c885,_0x54f96a)=>{const _0x5a2456=_0x39a01c;let _0x24e6c2=[];switch(_0xe639c9['id']){case _0x219559['EffectRefRangId'][_0x5a2456(0xe4)]:{_0x24e6c2=_0x219559['handleDeleteRangeMoveLeft'](_0xe639c9,_0x54f96a);break;}case _0x219559[_0x5a2456(0x26e)][_0x5a2456(0x1e9)]:{_0x24e6c2=_0x219559[_0x5a2456(0x26d)](_0xe639c9,_0x54f96a);break;}case _0x219559[_0x5a2456(0x26e)]['InsertColCommandId']:{_0x24e6c2=_0x219559[_0x5a2456(0x384)](_0xe639c9,_0x54f96a);break;}case _0x219559['EffectRefRangId'][_0x5a2456(0x1da)]:{_0x24e6c2=_0x219559['handleInsertRangeMoveDown'](_0xe639c9,_0x54f96a);break;}case _0x219559['EffectRefRangId'][_0x5a2456(0x2c8)]:{_0x24e6c2=_0x219559['handleInsertRangeMoveRight'](_0xe639c9,_0x54f96a);break;}case _0x219559['EffectRefRangId']['InsertRowCommandId']:{_0x24e6c2=_0x219559[_0x5a2456(0x103)](_0xe639c9,_0x54f96a);break;}case _0x219559[_0x5a2456(0x26e)][_0x5a2456(0x11b)]:{_0x24e6c2=_0x219559[_0x5a2456(0x110)](_0xe639c9,_0x54f96a);break;}case _0x219559[_0x5a2456(0x26e)]['RemoveColCommandId']:{_0x24e6c2=_0x219559[_0x5a2456(0x18f)](_0xe639c9,_0x54f96a);break;}case _0x219559[_0x5a2456(0x26e)]['RemoveRowCommandId']:{_0x24e6c2=_0x219559['handleIRemoveRow'](_0xe639c9,_0x54f96a);break;}}const _0x15ab9e=_0x219559[_0x5a2456(0x35a)](_0x24e6c2,_0x54f96a),_0x59fcf8=this[_0x5a2456(0x2d6)]['get'](_0x3036ef);if(_0x59fcf8&&_0x15ab9e){const _0x5eb9b6={..._0x59fcf8,'range':_0x15ab9e};this[_0x5a2456(0x2d6)][_0x5a2456(0x186)](_0x3036ef,_0x5eb9b6),_0x8cbea9(()=>{const _0x4fed9a=_0x5a2456,_0x344707=this[_0x4fed9a(0x1db)][_0x4fed9a(0x327)](_0x15ab9e,_0x3e3278=>(_0x344707[_0x4fed9a(0x105)](),_0x2c8249(_0x3e3278,_0x3036ef,_0x28c885,_0x15ab9e)));_0x3a4aa2[_0x4fed9a(0x298)](_0x344707);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x39d0cf,_0x4449ad)=>{const _0x5487e3=_0x39a01c,{range:_0x1afdeb,sheetID:_0x1c88b2}=_0x39d0cf,_0x383193=this[_0x5487e3(0x1db)]['registerRefRange'](_0x1afdeb,_0x1bc461=>(_0x383193['dispose'](),_0x2c8249(_0x1bc461,_0x4449ad,_0x1c88b2,_0x1afdeb)));_0x3a4aa2['add'](_0x383193);});};this['disposeWithMe'](_0x2f9c71[_0x2775c1(0x1e7)](this['_cursorInfo$'][_0x2775c1(0x33f)](()=>{_0x143547();})));}['_toggleOnline'](){const _0x12fcfb=_0x1203bc;var _0x21784f,_0x1c2570;if(this[_0x12fcfb(0x207)]=!0x0,((_0x21784f=this[_0x12fcfb(0xf9)][_0x12fcfb(0x193)]())==null?void 0x0:_0x21784f[_0x12fcfb(0x140)]())!==this[_0x12fcfb(0x1fe)])return;const _0x54bf84=(_0x1c2570=this[_0x12fcfb(0x2ec)][_0x12fcfb(0x28e)](_0x219559['SheetsSelectionsService'])[_0x12fcfb(0x157)]())==null?void 0x0:_0x1c2570[0x0],_0xe365d2=this[_0x12fcfb(0xf9)][_0x12fcfb(0x35c)](_0x2f9c71['UniverInstanceType'][_0x12fcfb(0x18a)])[_0x12fcfb(0x36e)]();_0x54bf84&&_0xe365d2&&this[_0x12fcfb(0x292)](_0xe365d2[_0x12fcfb(0x2b0)](),_0x54bf84);}[_0x1203bc(0x22b)](){const _0xdcca8f=_0x1203bc;this[_0xdcca8f(0x207)]=!0x1;}};_0x119670=_0x501c02([_0x45cd70(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x45cd70(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x3df9df)),_0x45cd70(0x4,_0x2f9c71[_0x1203bc(0x165)](_0x483f62[_0x1203bc(0x1d9)])),_0x45cd70(0x5,_0x2f9c71[_0x1203bc(0x19b)]),_0x45cd70(0x6,_0x2f9c71['ICommandService']),_0x45cd70(0x7,_0x2f9c71[_0x1203bc(0x165)](_0x219559['RefRangeService']))],_0x119670);var _0x1fe194=Object[_0x1203bc(0x29b)],_0x5cb0a7=(_0x422b62,_0x513a10,_0xe05663,_0x1b24fd)=>{const _0x34c65d=_0x1203bc;for(var _0x39eb9e=_0x1b24fd>0x1?void 0x0:_0x1b24fd?_0x1fe194(_0x513a10,_0xe05663):_0x513a10,_0x6106f9=_0x422b62[_0x34c65d(0x381)]-0x1,_0x36497e;_0x6106f9>=0x0;_0x6106f9--)(_0x36497e=_0x422b62[_0x6106f9])&&(_0x39eb9e=_0x36497e(_0x39eb9e)||_0x39eb9e);return _0x39eb9e;},_0x2d8717=(_0x4ed8a4,_0x5685f2)=>(_0x23f73a,_0x5b2d9a)=>_0x5685f2(_0x23f73a,_0x5b2d9a,_0x4ed8a4);let _0x36bfc6=class extends _0x2f9c71[_0x1203bc(0x201)]{constructor(_0x2605d9,_0x3637e0,_0x4205ea){const _0x4cb732=_0x1203bc;super(),_0x5e2d7e(this,'_entities',new Map()),_0x5e2d7e(this,'_entityInit$',new _0x4b9e95[(_0x4cb732(0x272))]()),(this['_univerInstanceService']=_0x2605d9,this[_0x4cb732(0x2ec)]=_0x3637e0,this['_collabSessionService']=_0x4205ea,this['_init']());}[_0x1203bc(0x105)](){const _0xa1bba8=_0x1203bc;super[_0xa1bba8(0x105)](),this[_0xa1bba8(0x24b)]['complete'](),this['_entities'][_0xa1bba8(0x2fb)](_0x1a3c2b=>_0x1a3c2b[_0xa1bba8(0x105)]());}[_0x1203bc(0x2fc)](_0x261a39){const _0x3b2c3d=_0x1203bc;return this[_0x3b2c3d(0x12a)][_0x3b2c3d(0x1c6)](_0x261a39)?this['_entities'][_0x3b2c3d(0x28e)](_0x261a39)[_0x3b2c3d(0x3a0)]:this[_0x3b2c3d(0x24b)]['pipe'](_0x4b9e95[_0x3b2c3d(0x309)](_0xc6a9ec=>_0xc6a9ec[_0x3b2c3d(0x1fe)]===_0x261a39),_0x4b9e95[_0x3b2c3d(0xfa)](_0xb77831=>_0xb77831[_0x3b2c3d(0x3a0)]));}['_init'](){const _0x5968f3=_0x1203bc;this[_0x5968f3(0xf9)][_0x5968f3(0x3bb)](_0x2f9c71['UniverInstanceType'][_0x5968f3(0x18a)])[_0x5968f3(0x1e5)](_0x4b9e95['takeUntil'](this[_0x5968f3(0x17c)]))[_0x5968f3(0x33f)](async _0x52b2e0=>{const _0x2fde7c=_0x5968f3,_0x59a907=_0x52b2e0[_0x2fde7c(0x140)](),_0x3da98a=await this[_0x2fde7c(0xe6)](_0x59a907);this[_0x2fde7c(0x24b)]['next'](_0x3da98a),this[_0x2fde7c(0x12a)]['set'](_0x59a907,_0x3da98a);}),this[_0x5968f3(0xf9)][_0x5968f3(0x3bb)](_0x2f9c71[_0x5968f3(0xe2)]['UNIVER_DOC'])[_0x5968f3(0x1e5)](_0x4b9e95[_0x5968f3(0x300)](this['dispose$']))[_0x5968f3(0x1e5)](_0x4b9e95[_0x5968f3(0x309)](_0x5f0fe0=>!_0x5f0fe0[_0x5968f3(0x140)]()[_0x5968f3(0x239)]('__')))[_0x5968f3(0x33f)](async _0x1c8789=>{const _0x337ef1=_0x5968f3,_0x32d3a7=_0x1c8789[_0x337ef1(0x140)](),_0x291a43=await this['_startDocCollabCursor'](_0x32d3a7);this[_0x337ef1(0x24b)][_0x337ef1(0x326)](_0x291a43),this[_0x337ef1(0x12a)][_0x337ef1(0x186)](_0x32d3a7,_0x291a43);}),_0x4b9e95[_0x5968f3(0x134)](this[_0x5968f3(0xf9)][_0x5968f3(0x314)](_0x2f9c71[_0x5968f3(0xe2)]['UNIVER_DOC']),this[_0x5968f3(0xf9)]['getTypeOfUnitDisposed$'](_0x2f9c71[_0x5968f3(0xe2)][_0x5968f3(0x18a)]))['pipe'](_0x4b9e95[_0x5968f3(0x300)](this[_0x5968f3(0x17c)]))['subscribe'](_0x3705d3=>{const _0x40407a=_0x5968f3,_0x161b95=_0x3705d3[_0x40407a(0x140)](),_0x5eb26c=this[_0x40407a(0x12a)][_0x40407a(0x28e)](_0x161b95);_0x5eb26c&&(_0x5eb26c['dispose'](),this[_0x40407a(0x12a)]['delete'](_0x161b95));});}async['_startSheetCollabCursor'](_0x400d1e){const _0x28544b=_0x1203bc,_0x21c131=await this[_0x28544b(0x25d)][_0x28544b(0x171)](_0x400d1e),_0xbdf37e=this[_0x28544b(0x2ec)][_0x28544b(0x238)](_0x119670,_0x400d1e,_0x21c131);return _0xbdf37e[_0x28544b(0x16a)](),_0xbdf37e;}async['_startDocCollabCursor'](_0x21e956){const _0x3420da=_0x1203bc,_0x365f7f=await this[_0x3420da(0x25d)]['requireSession'](_0x21e956),_0x2ab348=this[_0x3420da(0x2ec)][_0x3420da(0x238)](_0x57615a,_0x21e956,_0x365f7f);return _0x2ab348['init'](),_0x2ab348;}};_0x36bfc6=_0x5cb0a7([_0x2d8717(0x0,_0x2f9c71[_0x1203bc(0x19b)]),_0x2d8717(0x1,_0x2f9c71['Inject'](_0x2f9c71[_0x1203bc(0x1cd)])),_0x2d8717(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x483f62['CollaborationSessionService']))],_0x36bfc6);const _0xd05176=0x14,_0x4372ef=0xc8,_0xa44669=0x4,_0x3a2f07=0x5;function _0x3d942e(_0xe2300c,_0x72777d){const _0x3bc46c=_0x1203bc;let {radius:_0x2ae5e0,width:_0xaaf1e5,height:_0x936305}=_0x72777d;_0x2ae5e0=_0x2ae5e0!=null?_0x2ae5e0:0x0,_0xaaf1e5=_0xaaf1e5!=null?_0xaaf1e5:0x1e,_0x936305=_0x936305!=null?_0x936305:0x1e;let _0x39063e=0x0,_0x157b6b=0x0,_0x4b2959=0x0;_0x39063e=_0x157b6b=_0x4b2959=Math[_0x3bc46c(0x31e)](_0x2ae5e0,_0xaaf1e5/0x2,_0x936305/0x2),_0xe2300c[_0x3bc46c(0x279)](),_0xe2300c[_0x3bc46c(0x168)](_0x39063e,0x0),_0xe2300c[_0x3bc46c(0x200)](_0xaaf1e5-_0x157b6b,0x0),_0xe2300c['arc'](_0xaaf1e5-_0x157b6b,_0x157b6b,_0x157b6b,Math['PI']*0x3/0x2,0x0,!0x1),_0xe2300c[_0x3bc46c(0x200)](_0xaaf1e5,_0x936305-_0x4b2959),_0xe2300c['arc'](_0xaaf1e5-_0x4b2959,_0x936305-_0x4b2959,_0x4b2959,0x0,Math['PI']/0x2,!0x1),_0xe2300c[_0x3bc46c(0x200)](0x0,_0x936305),_0xe2300c[_0x3bc46c(0x200)](0x0,_0x39063e),_0xe2300c[_0x3bc46c(0x249)](_0x39063e,_0x39063e,_0x39063e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xe2300c[_0x3bc46c(0x1c7)](),_0x72777d['fill']&&(_0xe2300c[_0x3bc46c(0x125)](),_0xe2300c[_0x3bc46c(0x17d)]=_0x72777d[_0x3bc46c(0x10b)],_0x72777d[_0x3bc46c(0x2c2)]===_0x3bc46c(0x29e)?_0xe2300c[_0x3bc46c(0x10b)](_0x3bc46c(0x29e)):_0xe2300c[_0x3bc46c(0x10b)](),_0xe2300c[_0x3bc46c(0x175)]());}class _0x559954 extends _0x3281d5[_0x1203bc(0x2b8)]{constructor(_0x13b599,_0x188511){const _0x284579=_0x1203bc;super(_0x13b599,_0x188511),_0x5e2d7e(this,_0x284579(0x2d3)),_0x5e2d7e(this,_0x284579(0x23d)),(this[_0x284579(0x2d3)]=_0x188511==null?void 0x0:_0x188511['color'],this[_0x284579(0x23d)]=_0x188511==null?void 0x0:_0x188511['text']);}static[_0x1203bc(0x275)](_0x4b1fef,_0x36d412){const _0x4df57f=_0x1203bc,{text:_0x33d167,color:_0xef662f}=_0x36d412;_0x4b1fef[_0x4df57f(0x125)](),_0x4b1fef[_0x4df57f(0x30b)]=_0x4df57f(0x2ac);const _0x30a7ec=_0x4b1fef['measureText'](_0x33d167)[_0x4df57f(0x181)],_0x3c146b=Math['min'](_0x30a7ec+0x2*_0xa44669,_0x4372ef);_0x3d942e(_0x4b1fef,{'height':_0xd05176,'radius':0x4,'width':_0x3c146b,'fill':_0xef662f}),_0x4b1fef['fillStyle']=_0x4df57f(0x16f);const _0x2ed808=_0xa44669,_0x22bd38=_0xd05176-_0x3a2f07,_0x353f96=_0x4372ef-0x2*_0xa44669;if(_0x30a7ec>_0x353f96){let _0x4ad1d4='',_0x54dc67=0x0;for(const _0x76b812 of _0x33d167){const _0x2db4ae=_0x4b1fef[_0x4df57f(0xdd)](_0x76b812)[_0x4df57f(0x181)];if(_0x54dc67+_0x2db4ae<=_0x353f96-_0x4b1fef[_0x4df57f(0xdd)](_0x4df57f(0x27a))[_0x4df57f(0x181)])_0x4ad1d4+=_0x76b812,_0x54dc67+=_0x2db4ae;else{_0x4ad1d4+=_0x4df57f(0x27a);break;}}_0x4b1fef[_0x4df57f(0x1d8)](_0x4ad1d4,_0x2ed808,_0x22bd38);}else _0x4b1fef[_0x4df57f(0x1d8)](_0x33d167,_0x2ed808,_0x22bd38);_0x4b1fef[_0x4df57f(0x175)]();}[_0x1203bc(0x2f2)](_0x16d5c8){const _0x5aeede=_0x1203bc;_0x559954[_0x5aeede(0x275)](_0x16d5c8,this);}}const _0x3b4446=_0x1203bc(0x32d),_0xe5d8ad='collab-text-range-',_0x2e7d8e=_0x1203bc(0x212),_0x21ed4e=0x6,_0x2600dd=1.5,_0x60bfa0=0x4,_0xcf3c6b=1.5,_0x106c5a=_0x1203bc(0x2ea);class _0x2d9246{constructor(_0x1f5520,_0x4ce624,_0x58f3e0,_0x181414){const _0x589105=_0x1203bc;_0x5e2d7e(this,_0x589105(0x18b),[]),_0x5e2d7e(this,_0x589105(0x33d),null),_0x5e2d7e(this,_0x589105(0x371),null),_0x5e2d7e(this,'_anchorDot',null),_0x5e2d7e(this,_0x589105(0x1d7),null),_0x5e2d7e(this,'_eventUnsubscribe',null),(this[_0x589105(0x345)]=_0x1f5520,this[_0x589105(0x242)]=_0x4ce624,this[_0x589105(0x2f6)]=_0x58f3e0,this[_0x589105(0x169)]=_0x181414,this[_0x589105(0x2d1)]());}set['_hover'](_0x247a06){const _0x47a4f4=_0x1203bc;_0x247a06?(this[_0x47a4f4(0x283)]&&this[_0x47a4f4(0x283)][_0x47a4f4(0x30e)](),this[_0x47a4f4(0x371)]&&this[_0x47a4f4(0x371)][_0x47a4f4(0x363)]()):(this[_0x47a4f4(0x283)]&&this[_0x47a4f4(0x283)]['show'](),this[_0x47a4f4(0x371)]&&this[_0x47a4f4(0x371)][_0x47a4f4(0x30e)]());}[_0x1203bc(0x105)](){const _0x386ee9=_0x1203bc;for(const _0x1bf889 of this['_shapes'])_0x1bf889[_0x386ee9(0x105)]();this[_0x386ee9(0x371)]&&this[_0x386ee9(0x371)][_0x386ee9(0x105)](),this['_anchorDot']&&this[_0x386ee9(0x283)][_0x386ee9(0x105)](),this['_anchor']&&this[_0x386ee9(0x33d)][_0x386ee9(0x105)](),this[_0x386ee9(0x2ff)]&&this[_0x386ee9(0x2ff)]();}[_0x1203bc(0x2d1)](){const _0x396901=_0x1203bc;var _0x3dc10e;const {_docSkeleton:_0x2d90a6,_document:_0x3dc91d}=this,{color:_0x493c81,name:_0x87838f,ranges:_0x3c8174}=this[_0x396901(0x345)],_0x1464fc=_0x3dc91d[_0x396901(0x173)](),{docsLeft:_0xdc1164,docsTop:_0x3dcb7f}=_0x1464fc,_0x4b5e2e=new _0x244982[(_0x396901(0x271))](_0x1464fc,_0x2d90a6);for(const {startOffset:_0x2ba660,endOffset:_0x32f1e9,rangeType:_0xfc15d6,segmentId:_0x42c331,segmentPage:_0x312de9,collapsed:_0x206a0e,isActive:_0x525f43}of _0x3c8174){const _0x2188eb=_0x2d90a6[_0x396901(0x37e)](_0x2ba660,!0x0,_0x42c331,_0x312de9);let _0x3062b5=_0x2d90a6[_0x396901(0x37e)](_0x32f1e9,!0x0,_0x42c331,_0x312de9);if(_0x3062b5==null&&(_0x3062b5=_0x2d90a6[_0x396901(0x37e)](_0x32f1e9-0x1,!0x1,_0x42c331,_0x312de9)),_0x525f43){const {contentBoxPointGroup:_0x41ca31}=_0x4b5e2e[_0x396901(0x15c)](_0x3062b5,_0x3062b5);if(_0x41ca31[_0x396901(0x381)]===0x0)continue;this[_0x396901(0x2f4)](_0x493c81,_0x41ca31,_0xdc1164,_0x3dcb7f,_0x87838f),this[_0x396901(0x2ff)]=this[_0x396901(0x1c5)]();}if(_0x2188eb&&_0x3062b5){if(_0xfc15d6===_0x2f9c71['DOC_RANGE_TYPE'][_0x396901(0x234)]){const _0x302dcf=new _0x244982['NodePositionConvertToRectRange'](_0x1464fc,_0x2d90a6),{pointGroup:_0x36ce4a}=(_0x3dc10e=_0x302dcf[_0x396901(0x15c)](_0x2188eb,_0x3062b5))!=null?_0x3dc10e:{};if(_0x36ce4a==null||_0x36ce4a[_0x396901(0x381)]===0x0)continue;this['_drawRectRange'](_0x493c81,_0x36ce4a,_0xdc1164,_0x3dcb7f);}else{if(!_0x206a0e){const {borderBoxPointGroup:_0x143d27}=_0x4b5e2e[_0x396901(0x15c)](_0x2188eb,_0x3062b5);if(_0x143d27['length']===0x0)continue;this[_0x396901(0x131)](_0x493c81,_0x143d27,_0xdc1164,_0x3dcb7f);}}}}}[_0x1203bc(0x2f4)](_0x1c1f7e,_0x34c0a9,_0x757e19,_0x2b415c,_0x318969){const _0x13f016=_0x1203bc,_0x25b661=this[_0x13f016(0x331)](_0x34c0a9),{left:_0x29e4a4,top:_0x23a540,height:_0x1eea3e}=_0x25b661,_0x463f4a=this['_getScale'](),_0x1e42be=_0xcf3c6b/_0x463f4a,_0x2f4e64=new _0x3281d5[(_0x13f016(0x346))](_0x3b4446+_0x2f9c71[_0x13f016(0x188)](_0x21ed4e),{'left':_0x29e4a4+_0x757e19-_0x1e42be,'top':_0x23a540+_0x2b415c,'height':_0x1eea3e,'width':_0x2600dd,'fill':_0x1c1f7e||_0x3281d5[_0x13f016(0x149)](_0x2f9c71[_0x13f016(0x216)][_0x13f016(0xfe)],0x0),'strokeWidth':_0x1e42be,'stroke':_0x106c5a,'evented':!0x0});this[_0x13f016(0x33d)]=_0x2f4e64,this[_0x13f016(0x242)][_0x13f016(0x398)](_0x2f4e64,_0x244982[_0x13f016(0x17b)]);const _0x3e99a4=new _0x3281d5[(_0x13f016(0x346))](_0x3b4446+_0x2f9c71['generateRandomId'](_0x21ed4e),{'left':_0x29e4a4+_0x757e19-_0x1e42be,'top':_0x23a540+_0x2b415c-_0x60bfa0/0x2,'height':_0x60bfa0,'width':_0x60bfa0,'fill':_0x1c1f7e||_0x3281d5[_0x13f016(0x149)](_0x2f9c71[_0x13f016(0x216)][_0x13f016(0xfe)],0x0),'strokeWidth':0x0,'stroke':_0x1c1f7e||_0x3281d5[_0x13f016(0x149)](_0x2f9c71[_0x13f016(0x216)][_0x13f016(0xfe)],0x0),'evented':!0x1});this[_0x13f016(0x283)]=_0x3e99a4,this[_0x13f016(0x242)][_0x13f016(0x398)](_0x3e99a4,_0x244982[_0x13f016(0x17b)]);const _0x4f6ffb=new _0x559954(_0x3b4446+_0x2f9c71['generateRandomId'](_0x21ed4e),{'left':_0x29e4a4+_0x757e19-_0x1e42be,'top':_0x23a540+_0x2b415c-_0xd05176,'text':_0x318969,'color':_0x1c1f7e});this[_0x13f016(0x371)]=_0x4f6ffb,this['_scene'][_0x13f016(0x398)](_0x4f6ffb,_0x244982[_0x13f016(0x17b)]),this[_0x13f016(0x252)]=!0x1;}[_0x1203bc(0x1c5)](){const _0x266a6f=_0x1203bc,_0x36efc7=this[_0x266a6f(0x33d)][_0x266a6f(0x219)]['subscribeEvent'](()=>{const _0x5d0d82=_0x266a6f;this[_0x5d0d82(0x252)]=!0x0;}),_0x1af884=this['_anchor']['onPointerLeave$'][_0x266a6f(0x1ba)](()=>{const _0x258e7a=_0x266a6f;this[_0x258e7a(0x1d7)]&&clearTimeout(this[_0x258e7a(0x1d7)]),this['_hideTimer']=setTimeout(()=>{const _0x432125=_0x258e7a;this[_0x432125(0x252)]=!0x1;},0x7d0);});return()=>{const _0x268391=_0x266a6f;_0x36efc7[_0x268391(0x16c)](),_0x1af884[_0x268391(0x16c)]();};}[_0x1203bc(0x131)](_0x34b4fd,_0x421568,_0x2b180b,_0x44e102){const _0x4e78a4=_0x1203bc,_0x5d4686=new _0x2f9c71['ColorKit'](_0x34b4fd)[_0x4e78a4(0x1d5)](0.2)[_0x4e78a4(0x1b1)](),_0x25d512=new _0x3281d5[(_0x4e78a4(0x296))](_0xe5d8ad+_0x2f9c71['generateRandomId'](_0x21ed4e),{'pointsGroup':_0x421568,'fill':_0x5d4686||_0x3281d5[_0x4e78a4(0x149)](_0x2f9c71[_0x4e78a4(0x216)][_0x4e78a4(0xfe)],0.2),'left':_0x2b180b,'top':_0x44e102,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e78a4(0x18b)][_0x4e78a4(0x35e)](_0x25d512),this[_0x4e78a4(0x242)]['addObject'](_0x25d512,_0x244982[_0x4e78a4(0x17b)]);}[_0x1203bc(0xbe)](_0x223ba7,_0x286809,_0x46caf8,_0x5ccdb5){const _0x300e45=_0x1203bc,_0xdeba5d=new _0x2f9c71[(_0x300e45(0x332))](_0x223ba7)['setAlpha'](0.2)[_0x300e45(0x1b1)](),_0xd9db93=new _0x3281d5[(_0x300e45(0x296))](_0x2e7d8e+_0x2f9c71['generateRandomId'](_0x21ed4e),{'pointsGroup':_0x286809,'fill':_0xdeba5d||_0x3281d5[_0x300e45(0x149)](_0x2f9c71[_0x300e45(0x216)][_0x300e45(0xfe)],0.2),'left':_0x46caf8,'top':_0x5ccdb5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x300e45(0x18b)]['push'](_0xd9db93),this[_0x300e45(0x242)][_0x300e45(0x398)](_0xd9db93,_0x244982[_0x300e45(0x17b)]);}[_0x1203bc(0x331)](_0x44918c){const _0x37cb50=_0x44918c[0x0],_0x2a8186=_0x37cb50[0x0],_0x546f4f=_0x37cb50[0x2],{x:_0x2ffed5,y:_0x2275f7}=_0x2a8186,{x:_0x2fc2cf,y:_0x35544f}=_0x546f4f;return{'left':_0x2ffed5,'top':_0x2275f7,'width':_0x2fc2cf-_0x2ffed5,'height':_0x35544f-_0x2275f7};}[_0x1203bc(0x256)](){const _0x246bba=_0x1203bc,{scaleX:_0x2d79bb,scaleY:_0x5bbbf5}=this[_0x246bba(0x242)][_0x246bba(0x294)]();return Math['max'](_0x2d79bb,_0x5bbbf5);}}var _0x968117=Object[_0x1203bc(0x29b)],_0x573101=(_0x58a024,_0x582c8d,_0x2c07eb,_0x6293f2)=>{const _0x38bbd4=_0x1203bc;for(var _0x155b42=_0x6293f2>0x1?void 0x0:_0x6293f2?_0x968117(_0x582c8d,_0x2c07eb):_0x582c8d,_0x519432=_0x58a024[_0x38bbd4(0x381)]-0x1,_0x22ec87;_0x519432>=0x0;_0x519432--)(_0x22ec87=_0x58a024[_0x519432])&&(_0x155b42=_0x22ec87(_0x155b42)||_0x155b42);return _0x155b42;},_0x14f373=(_0x27d8d0,_0x3d6e96)=>(_0x188106,_0x38fe72)=>_0x3d6e96(_0x188106,_0x38fe72,_0x27d8d0);let _0x574c0a=class extends _0x2f9c71[_0x1203bc(0x201)]{constructor(_0x49049a,_0x593524,_0x1a03c4,_0x4d7947,_0x146604){const _0x4edc16=_0x1203bc;super(),_0x5e2d7e(this,_0x4edc16(0x128),[]),_0x5e2d7e(this,_0x4edc16(0x3ac),[]),(this[_0x4edc16(0x301)]=_0x49049a,this[_0x4edc16(0x2a6)]=_0x593524,this['_collabCursorController']=_0x1a03c4,this[_0x4edc16(0x13b)]=_0x4d7947,this[_0x4edc16(0x14c)]=_0x146604,this[_0x4edc16(0x3ad)]());}[_0x1203bc(0x3ad)](){const _0x13d08d=_0x1203bc,_0x1b9c5b=this[_0x13d08d(0x301)][_0x13d08d(0x23a)],_0x5334f4=this[_0x13d08d(0x2a6)];this['disposeWithMe'](_0x4b9e95[_0x13d08d(0x190)]([this['_collabCursorController'][_0x13d08d(0x2fc)](_0x1b9c5b),this['_themeService'][_0x13d08d(0x210)]])[_0x13d08d(0x1e5)](_0x32e776[_0x13d08d(0x29a)](([_0x4deb93,_0x175728])=>({'skeleton':_0x5334f4[_0x13d08d(0x2e4)](),'cursors':[..._0x4deb93[_0x13d08d(0x27c)]()][_0x13d08d(0x2e1)](_0x5884da=>({..._0x5884da,'color':this['_themeService'][_0x13d08d(0x2c9)](_0x5884da[_0x13d08d(0x2d3)])}))})))[_0x13d08d(0x33f)](_0x2fc88a=>{const _0x3469e3=_0x13d08d;if(this[_0x3469e3(0x1a0)](),_0x2fc88a){const {skeleton:_0x2f4f04,cursors:_0x12c4fb}=_0x2fc88a;this[_0x3469e3(0x1ad)](_0x2f4f04,_0x12c4fb);}})),this[_0x13d08d(0x136)](),this[_0x13d08d(0xf3)]();}[_0x1203bc(0x1ad)](_0x193167,_0x45a752){const _0x3f80ac=_0x1203bc,{scene:_0x4e2c70,mainComponent:_0x1979a9}=this['_context'],_0x127722=_0x45a752[_0x3f80ac(0x29a)](_0x3e7c68=>new _0x2d9246(_0x3e7c68,_0x4e2c70,_0x193167,_0x1979a9));this[_0x3f80ac(0x128)]=_0x127722,this[_0x3f80ac(0x3ac)]=_0x45a752;}[_0x1203bc(0x359)](){const _0x570e71=_0x1203bc;this[_0x570e71(0x1a0)]();const {scene:_0x301af0,mainComponent:_0xb7117b}=this[_0x570e71(0x301)],_0xcd4bbb=this[_0x570e71(0x2a6)][_0x570e71(0x2e4)](),_0x29a5d6=this[_0x570e71(0x3ac)]['map'](_0x419473=>new _0x2d9246(_0x419473,_0x301af0,_0xcd4bbb,_0xb7117b));this[_0x570e71(0x128)]=_0x29a5d6;}[_0x1203bc(0x1a0)](){const _0x306964=_0x1203bc;this[_0x306964(0x128)][_0x306964(0x2fb)](_0x53c704=>_0x53c704['dispose']()),this['_cursorShapes']=[];}[_0x1203bc(0xf3)](){const _0x58e3f5=_0x1203bc,_0x55ec71=[_0x244982[_0x58e3f5(0x12c)]['id']];this[_0x58e3f5(0x293)](this[_0x58e3f5(0x13b)][_0x58e3f5(0x395)](_0x4eb248=>{const _0x54d70d=_0x58e3f5;_0x55ec71['includes'](_0x4eb248['id'])&&_0x4eb248['params'][_0x54d70d(0x23a)]===this['_context'][_0x54d70d(0x23a)]&&this[_0x54d70d(0x359)]();}));}[_0x1203bc(0x136)](){const _0x33ed1b=_0x1203bc;this[_0x33ed1b(0x293)](_0x2f9c71[_0x33ed1b(0x2d7)](this['_context'][_0x33ed1b(0x387)][_0x33ed1b(0x203)])[_0x33ed1b(0x1e5)](_0x32e776[_0x33ed1b(0x309)](_0x578f04=>_0x578f04[_0x33ed1b(0x101)]===_0x3281d5['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x33ed1b(0x383)]),_0x32e776['throttleTime'](0x10))[_0x33ed1b(0x33f)](()=>{this['_refreshCollabCursors']();}));}};_0x574c0a=_0x573101([_0x14f373(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x20fc77['DocSkeletonManagerService'])),_0x14f373(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x36bfc6)),_0x14f373(0x3,_0x2f9c71[_0x1203bc(0x183)]),_0x14f373(0x4,_0x2f9c71['Inject'](_0x2f9c71['ThemeService']))],_0x574c0a);const _0x35b26b=0x1,_0x6547b7=1.5;class _0x4486c3 extends _0x3281d5[_0x1203bc(0x2b8)]{constructor(_0x551e1b,_0x2b4f7e){const _0x238635=_0x1203bc;var _0x492c26,_0x18502e;super(_0x551e1b,_0x2b4f7e),_0x5e2d7e(this,_0x238635(0x321)),_0x5e2d7e(this,_0x238635(0x192),!0x1),_0x5e2d7e(this,_0x238635(0xc6)),_0x5e2d7e(this,_0x238635(0x2f8),''),_0x5e2d7e(this,_0x238635(0x13f),_0x238635(0x2e2)),_0x5e2d7e(this,_0x238635(0x19c)),_0x5e2d7e(this,'_showText'),_0x5e2d7e(this,_0x238635(0x266)),_0x5e2d7e(this,'_highlightSecond',0x4),_0x5e2d7e(this,_0x238635(0xd9)),_0x5e2d7e(this,_0x238635(0x2c7)),_0x5e2d7e(this,_0x238635(0x106),!0x0),_0x5e2d7e(this,_0x238635(0x231),0x0),(_0x2b4f7e&&(this['setShapeProps'](_0x2b4f7e),_0x2b4f7e[_0x238635(0x17a)]&&((_0x492c26=_0x2b4f7e[_0x238635(0x2cf)])!=null?_0x492c26:this[_0x238635(0x1e8)])&&this[_0x238635(0x1f6)]((_0x18502e=_0x2b4f7e[_0x238635(0x2cf)])!=null?_0x18502e:this[_0x238635(0x1e8)])),this[_0x238635(0x219)][_0x238635(0x1ba)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x238635(0xf6)][_0x238635(0x1ba)](()=>this[_0x238635(0x224)]({'hovered':!0x1})));}[_0x1203bc(0x299)](_0x21571f){const _0x47c519=_0x1203bc;this[_0x47c519(0x231)]=_0x21571f;}[_0x1203bc(0x224)](_0x145655){const _0x2cfafb=_0x1203bc;var _0x22b5fb,_0x5b40e6,_0x2534c2,_0x2df314,_0x2b0afc,_0x3d90d3,_0x49d743;this['_color']=(_0x22b5fb=_0x145655['color'])!=null?_0x22b5fb:this[_0x2cfafb(0x321)],this[_0x2cfafb(0x192)]=(_0x5b40e6=_0x145655['hovered'])!=null?_0x5b40e6:this[_0x2cfafb(0x192)],this[_0x2cfafb(0xc6)]=(_0x2534c2=_0x145655[_0x2cfafb(0xf4)])!=null?_0x2534c2:this[_0x2cfafb(0xc6)],this[_0x2cfafb(0x2f8)]=(_0x2df314=_0x145655[_0x2cfafb(0x29d)])!=null?_0x2df314:this[_0x2cfafb(0x2f8)],this[_0x2cfafb(0x13f)]=(_0x2b0afc=_0x145655[_0x2cfafb(0xec)])!=null?_0x2b0afc:this[_0x2cfafb(0x13f)],this['_backgroundColor']=(_0x3d90d3=_0x145655['backgroundColor'])!=null?_0x3d90d3:this['_backgroundColor'],this[_0x2cfafb(0x1ac)]=(_0x49d743=_0x145655[_0x2cfafb(0x2a7)])!=null?_0x49d743:this['_showText'],_0x145655[_0x2cfafb(0x2cf)]!==void 0x0&&(this[_0x2cfafb(0x1e8)]=_0x145655['highlightSecond']),_0x145655[_0x2cfafb(0x17a)]!==void 0x0&&(this[_0x2cfafb(0x266)]=_0x145655[_0x2cfafb(0x17a)]),_0x145655[_0x2cfafb(0x32e)]!==void 0x0&&(this[_0x2cfafb(0x231)]=_0x145655['offsetY']),this['transformByState']({'width':_0x145655[_0x2cfafb(0x181)],'height':_0x145655[_0x2cfafb(0x3ab)]});}[_0x1203bc(0x29f)](_0x27ce65){const _0x9c0013=_0x1203bc,{row:_0x4c3393,column:_0x9bd32f}=_0x27ce65;if(_0x4c3393>=this['_range']['startRow']&&_0x4c3393<=this[_0x9c0013(0xc6)][_0x9c0013(0x2e6)]&&_0x9bd32f>=this[_0x9c0013(0xc6)][_0x9c0013(0x390)]&&_0x9bd32f<=this[_0x9c0013(0xc6)]['endColumn']){this[_0x9c0013(0x224)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1203bc(0x1f6)](_0x1150f3){const _0x5878db=_0x1203bc;this[_0x5878db(0x295)](),this[_0x5878db(0x106)]=!0x0,this[_0x5878db(0x2c7)]=window[_0x5878db(0x37f)](()=>{const _0x5d61b0=_0x5878db;this['_isBlinkVisible']=!this['_isBlinkVisible'],this[_0x5d61b0(0x3a8)](!0x0);},0x1f4),this[_0x5878db(0xd9)]=window[_0x5878db(0x1a1)](()=>{const _0x5615ae=_0x5878db;this[_0x5615ae(0x295)](),this[_0x5615ae(0x106)]=!0x0,this[_0x5615ae(0x3a8)](!0x0);},_0x1150f3*0x3e8);}[_0x1203bc(0x295)](){const _0x549161=_0x1203bc;this[_0x549161(0x2c7)]&&(window[_0x549161(0x196)](this[_0x549161(0x2c7)]),this[_0x549161(0x2c7)]=void 0x0),this[_0x549161(0xd9)]&&(window[_0x549161(0x30c)](this[_0x549161(0xd9)]),this['_blinkTimer']=void 0x0);}['triggerDblclick'](_0x5d9652){return!0x1;}[_0x1203bc(0x105)](){const _0x127e57=_0x1203bc;this[_0x127e57(0x295)](),super[_0x127e57(0x105)]();}[_0x1203bc(0x2f2)](_0x5ec917){const _0xc10335=_0x1203bc;var _0x11631e,_0x3817e5;let _0x1c2319=this[_0xc10335(0x321)],_0x546ada=this[_0xc10335(0x19c)];this['_highlight']&&!this[_0xc10335(0x106)]&&(_0x1c2319=this[_0xc10335(0x22d)](this[_0xc10335(0x321)]),_0x546ada=this[_0xc10335(0x19c)]?this[_0xc10335(0x22d)](this['_backgroundColor']):void 0x0),_0x3281d5[_0xc10335(0x346)][_0xc10335(0x275)](_0x5ec917,{'width':this[_0xc10335(0x181)],'height':this['height'],'strokeWidth':(_0x11631e=this[_0xc10335(0x351)])!=null?_0x11631e:_0x6547b7,'stroke':_0x1c2319,'evented':!0x1,'fill':_0x546ada}),(this[_0xc10335(0x192)]||this[_0xc10335(0x1ac)])&&(_0x5ec917[_0xc10335(0x125)](),_0x5ec917[_0xc10335(0xdc)](0x1,0x0,0x0,0x1,this[_0xc10335(0x181)],(this[_0xc10335(0x13f)]===_0xc10335(0x3ae)?0x0:-_0xd05176)+((_0x3817e5=this[_0xc10335(0x231)])!=null?_0x3817e5:0x0)),_0x559954[_0xc10335(0x275)](_0x5ec917,{'text':this['_name'],'color':_0x1c2319}),_0x5ec917['restore']());}[_0x1203bc(0x22d)](_0x47c26e){const _0x404dc3=_0x1203bc;if(_0x47c26e['startsWith']('#')){const _0x345c88=Number[_0x404dc3(0x344)](_0x47c26e[_0x404dc3(0x3ba)](0x1,0x3),0x10),_0x3cbeaf=Number[_0x404dc3(0x344)](_0x47c26e['slice'](0x3,0x5),0x10),_0xe8da20=Number[_0x404dc3(0x344)](_0x47c26e['slice'](0x5,0x7),0x10);return _0x404dc3(0x305)+_0x345c88+',\x20'+_0x3cbeaf+',\x20'+_0xe8da20+_0x404dc3(0x2d9);}return _0x47c26e[_0x404dc3(0x239)](_0x404dc3(0x267))?_0x47c26e[_0x404dc3(0x195)](/[\d.]+\)$/g,_0x404dc3(0x14e)):_0x47c26e['startsWith'](_0x404dc3(0x322))?_0x47c26e['replace'](_0x404dc3(0x322),_0x404dc3(0x267))[_0x404dc3(0x195)](')',_0x404dc3(0x2d9)):_0x47c26e;}}var _0x1d1e3d=Object[_0x1203bc(0x29b)],_0x323a1f=(_0x58f51d,_0x4ad0a0,_0x490f1e,_0x5336c3)=>{const _0x52d2fd=_0x1203bc;for(var _0x53057d=_0x5336c3>0x1?void 0x0:_0x5336c3?_0x1d1e3d(_0x4ad0a0,_0x490f1e):_0x4ad0a0,_0x3a1ccb=_0x58f51d[_0x52d2fd(0x381)]-0x1,_0x150456;_0x3a1ccb>=0x0;_0x3a1ccb--)(_0x150456=_0x58f51d[_0x3a1ccb])&&(_0x53057d=_0x150456(_0x53057d)||_0x53057d);return _0x53057d;},_0x1becd4=(_0x971e2,_0x21a6cb)=>(_0x2a6503,_0x4f8622)=>_0x21a6cb(_0x2a6503,_0x4f8622,_0x971e2);const _0x574c8c=0x1389;let _0x1873f7=class extends _0x2f9c71[_0x1203bc(0x201)]{constructor(_0x3749a7,_0x17441c,_0x77cdb8,_0x1a97ad){const _0x31d43c=_0x1203bc;super(),_0x5e2d7e(this,'_cursors',new Set()),_0x5e2d7e(this,'_lastPointer',null),(this['_context']=_0x3749a7,this[_0x31d43c(0x39a)]=_0x17441c,this[_0x31d43c(0x3af)]=_0x77cdb8,this[_0x31d43c(0x14c)]=_0x1a97ad,this[_0x31d43c(0x3ad)]());}[_0x1203bc(0x3ad)](){const _0x4361f2=_0x1203bc;this[_0x4361f2(0x39a)][_0x4361f2(0x104)]['pipe'](_0x32e776[_0x4361f2(0x300)](this[_0x4361f2(0x17c)]),_0x32e776['switchMap'](_0x5342e4=>{const _0x497915=_0x4361f2;if(_0x5342e4){const _0x166d75=_0x5342e4[_0x497915(0x2cd)];return _0x4b9e95[_0x497915(0x190)](this[_0x497915(0x3af)]['getCollabCursors$'](this[_0x497915(0x301)][_0x497915(0x23a)]),this[_0x497915(0x14c)][_0x497915(0x210)])['pipe'](_0x32e776[_0x497915(0x29a)](([_0x59afaa,_0x4094a8])=>{const _0x36e09a=new Map();return _0x59afaa['forEach']((_0xc43f6f,_0xdf9dc4)=>{const _0x43d9bf=_0x4f4a;if(_0xc43f6f[_0x43d9bf(0x2ca)]===_0x166d75){const _0x265f9e={..._0xc43f6f};_0x265f9e[_0x43d9bf(0x2d3)]=this['_themeService'][_0x43d9bf(0x2c9)](_0xc43f6f[_0x43d9bf(0x2d3)]),_0x36e09a[_0x43d9bf(0x186)](_0xdf9dc4,_0x265f9e);}}),{'skeleton':_0x5342e4,'cursors':_0x36e09a};}));}return _0x4b9e95['of']({'skeleton':null,'cursors':new Map()});}))[_0x4361f2(0x33f)](({skeleton:_0x496145,cursors:_0x4cb985})=>{const _0x58777b=_0x4361f2;this[_0x58777b(0x1a0)](),_0x496145&&this['_updateCollabCursors'](_0x496145,_0x4cb985);}),this[_0x4361f2(0x39a)][_0x4361f2(0x104)][_0x4361f2(0x33f)](_0x172ea3=>{const _0x4bc7ac=_0x4361f2;if(_0x172ea3==null)return;const {skeleton:_0x5e2a56}=_0x172ea3,{scene:_0x37b314}=this['_context'];_0x37b314[_0x4bc7ac(0x253)][_0x4bc7ac(0x1ba)](_0x2f9c71[_0x4bc7ac(0x167)](_0x66b67e=>{const _0x23ec1f=_0x4bc7ac;var _0x327887,_0x1990d3;const {offsetX:_0x695f3a,offsetY:_0x153a03}=_0x66b67e,{x:_0x4d335b,y:_0x149c8a}=_0x37b314[_0x23ec1f(0x30f)](_0x3281d5[_0x23ec1f(0xcf)]['FromArray']([_0x695f3a,_0x153a03])),{scaleX:_0xa8e76b,scaleY:_0x2849ec}=_0x37b314[_0x23ec1f(0x294)](),_0x367edb=_0x37b314[_0x23ec1f(0x2f0)](_0x3281d5[_0x23ec1f(0x1b5)][_0x23ec1f(0x28a)]),_0x352812=_0x37b314[_0x23ec1f(0x20c)](_0x3281d5['Vector2'][_0x23ec1f(0x114)]([_0x4d335b,_0x149c8a]),_0x367edb),_0x406748=_0x5e2a56[_0x23ec1f(0x198)](_0x695f3a,_0x153a03,_0xa8e76b,_0x2849ec,_0x352812);((_0x327887=this[_0x23ec1f(0x2a2)])==null?void 0x0:_0x327887[_0x23ec1f(0xd2)])===_0x406748[_0x23ec1f(0xd2)]&&((_0x1990d3=this['_lastPointer'])==null?void 0x0:_0x1990d3['row'])===_0x406748[_0x23ec1f(0x2a3)]||this[_0x23ec1f(0x3ac)][_0x23ec1f(0x2fb)](_0x504b67=>{const _0x247ec8=_0x23ec1f;_0x504b67[_0x247ec8(0x29f)](_0x406748);});},0x64));});}[_0x1203bc(0x1ad)](_0x2c298a,_0x236aba){const _0x2e25ab=_0x1203bc;var _0x3f4bb6;const _0x596a80=(_0x3f4bb6=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x3f4bb6[_0x2e25ab(0x368)];if(!_0x596a80)return;const _0x2d6783=this[_0x2e25ab(0xd6)]();if(!_0x2d6783)return;this['_cursors'][_0x2e25ab(0x2fb)](_0x4e6557=>{const _0x3a2a86=_0x2e25ab;_0x4e6557[_0x3a2a86(0x3a8)]();});const {scene:_0x22bb15}=_0x2d6783,_0x3b9997=_0x2081c9(Array[_0x2e25ab(0x1f5)](_0x236aba[_0x2e25ab(0x27c)]()))[_0x2e25ab(0x29a)](_0x36d7bf=>{const _0x2114c3=_0x2e25ab,{color:_0xe92f3e,range:_0x1e6715,name:_0x205c9d,selection:_0x28aa93,sheetID:_0x3c4f8b}=_0x36d7bf,{startColumn:_0x2cc079,startRow:_0x521aa8,endColumn:_0x54dfe4,endRow:_0x3f22cc}=_0x1e6715,_0x2e87e0=_0x4dff07[_0x2114c3(0x274)](_0x521aa8,_0x2cc079,_0x22bb15,_0x596a80),_0x5cd0eb=_0x4dff07[_0x2114c3(0x274)](_0x3f22cc,_0x54dfe4,_0x22bb15,_0x596a80),{columnHeaderHeightAndMarginTop:_0x1db48e}=_0x596a80,{startX:_0x5985c5,startY:_0x3899c6}=_0x2e87e0,{endX:_0x566cd4,endY:_0x3def22}=_0x5cd0eb,_0x21350a=_0x566cd4-_0x5985c5,_0xbe6108=_0x3def22-_0x3899c6,_0x1c75fc={'labelPosition':_0x3899c6-_0x1db48e>=_0xd05176?'top':'bottom','sheetID':_0x3c4f8b,'range':_0x1e6715,'color':_0xe92f3e,'name':_0x205c9d,'selection':_0x28aa93,'left':_0x5985c5,'top':_0x3899c6,'width':_0x21350a,'height':_0xbe6108,'evented':!0x1,'zIndex':_0x574c8c};return new _0x4486c3(_0x205c9d,_0x1c75fc);});_0x22bb15[_0x2e25ab(0x281)](_0x3b9997,_0x35b26b),this[_0x2e25ab(0x3ac)]=new Set(_0x3b9997);}['_removeCollabCursors'](){const _0x4b9d73=_0x1203bc;var _0x2cfc79;(_0x2cfc79=this[_0x4b9d73(0x3ac)])==null||_0x2cfc79[_0x4b9d73(0x2fb)](_0xab6b7b=>_0xab6b7b[_0x4b9d73(0x105)]());}[_0x1203bc(0xd6)](){const _0xfd7b35=_0x1203bc;return _0x4dff07[_0xfd7b35(0xe3)](this[_0xfd7b35(0x301)][_0xfd7b35(0xd3)],this[_0xfd7b35(0x301)]);}};_0x1873f7=_0x323a1f([_0x1becd4(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x4dff07[_0x1203bc(0xce)])),_0x1becd4(0x2,_0x2f9c71['Inject'](_0x36bfc6)),_0x1becd4(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x38e)]))],_0x1873f7);function _0x2081c9(_0x2f06e6){const _0x550c62=_0x1203bc,_0x4e43b2=new Map();return _0x2f06e6['forEach'](_0x3b5756=>{const _0xc4f50=_0x4f4a;if(_0x4e43b2[_0xc4f50(0x1c6)](_0x3b5756[_0xc4f50(0x116)])){const _0x191839=_0x4e43b2['get'](_0x3b5756['selection']);_0x191839[_0xc4f50(0x29d)]+=',\x20'+_0x3b5756[_0xc4f50(0x29d)];}else _0x4e43b2[_0xc4f50(0x186)](_0x3b5756[_0xc4f50(0x116)],_0x3b5756);}),Array[_0x550c62(0x1f5)](_0x4e43b2['values']());}var _0x20b299=Object['getOwnPropertyDescriptor'],_0x4a5461=(_0x425688,_0x5b81d0,_0x264236,_0x3d05db)=>{const _0x19e8da=_0x1203bc;for(var _0x486843=_0x3d05db>0x1?void 0x0:_0x3d05db?_0x20b299(_0x5b81d0,_0x264236):_0x5b81d0,_0x10098f=_0x425688[_0x19e8da(0x381)]-0x1,_0x32aa59;_0x10098f>=0x0;_0x10098f--)(_0x32aa59=_0x425688[_0x10098f])&&(_0x486843=_0x32aa59(_0x486843)||_0x486843);return _0x486843;},_0xc0722a=(_0x2cc2ea,_0x4143f0)=>(_0x6bac97,_0x495051)=>_0x4143f0(_0x6bac97,_0x495051,_0x2cc2ea);let _0x527dfc=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x5962a1,_0x43836,_0x3285b2,_0x52d734,_0x38e393,_0xfb7a0c){const _0x25ab76=_0x1203bc;super(),this[_0x25ab76(0x154)]=_0x5962a1,this[_0x25ab76(0x115)]=_0x43836,this[_0x25ab76(0x22c)]=_0x3285b2,this[_0x25ab76(0x250)]=_0x52d734,this[_0x25ab76(0x166)]=_0x38e393,this[_0x25ab76(0x2dc)]=_0xfb7a0c,this['_setupBeforeClosingHandler'](),this[_0x25ab76(0x180)]();}[_0x1203bc(0x2dd)](){const _0xa33559=_0x1203bc;this[_0xa33559(0x293)](this[_0xa33559(0x154)][_0xa33559(0xf0)](()=>{const _0x528a74=_0xa33559;if(this[_0x528a74(0x115)][_0x528a74(0x112)][_0x528a74(0x260)])return this[_0x528a74(0x2dc)]['t'](_0x528a74(0x25a));}));}[_0x1203bc(0x180)](){const _0x277c72=_0x1203bc;this[_0x277c72(0x293)](this[_0x277c72(0x22c)][_0x277c72(0x262)][_0x277c72(0x33f)](_0x16b242=>{const _0x929239=_0x277c72;_0x16b242['id']===_0x483f62[_0x929239(0xe5)][_0x929239(0x178)]&&this[_0x929239(0x250)][_0x929239(0x363)]({'type':_0x15837d['MessageType']['Warning'],'content':this['_localeService']['t'](_0x929239(0x119))}),_0x16b242['id']===_0x483f62[_0x929239(0xe5)][_0x929239(0x1ab)]&&this[_0x929239(0x250)]['show']({'type':_0x15837d[_0x929239(0x176)][_0x929239(0x373)],'content':this[_0x929239(0x2dc)]['t'](_0x929239(0x3aa))}),_0x16b242['id']===_0x483f62[_0x929239(0xe5)]['PERMISSION_DENIED']&&this['_notificationService'][_0x929239(0x363)]({'title':this[_0x929239(0x2dc)]['t'](_0x929239(0xe1)),'content':this[_0x929239(0x2dc)]['t'](_0x929239(0x14a)),'type':_0x929239(0x2af),'duration':0x0}),_0x16b242['id']===_0x483f62['CollaborationUIEventId']['CONFLICT']&&this['_messageService'][_0x929239(0x363)]({'type':_0x15837d[_0x929239(0x176)][_0x929239(0x375)],'content':this[_0x929239(0x2dc)]['t'](_0x929239(0x3aa))+'('+_0x16b242['data']+')'}),_0x16b242['id']===_0x483f62['CollaborationUIEventId'][_0x929239(0x20e)]&&this[_0x929239(0x250)][_0x929239(0x363)]({'type':_0x15837d[_0x929239(0x176)]['Warning'],'content':this[_0x929239(0x2dc)]['t'](_0x16b242[_0x929239(0x39e)]||'')}),_0x16b242['id']===_0x483f62[_0x929239(0xe5)]['SOCKET_FAILED_RETRY']&&this[_0x929239(0x250)]['show']({'type':_0x15837d['MessageType'][_0x929239(0x373)],'content':this[_0x929239(0x2dc)]['t'](_0x929239(0x237))}),_0x16b242['id']===_0x483f62[_0x929239(0xe5)][_0x929239(0x15d)]&&this['_messageService'][_0x929239(0x363)]({'type':_0x15837d[_0x929239(0x176)][_0x929239(0x375)],'content':this[_0x929239(0x2dc)]['t'](_0x929239(0x1c4))}),_0x16b242['id']===_0x483f62[_0x929239(0xe5)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x929239(0x250)][_0x929239(0x363)]({'type':_0x15837d[_0x929239(0x176)][_0x929239(0x375)],'content':this[_0x929239(0x2dc)]['t']('session.collaboration-timeout')});}));}};_0x527dfc=_0x4a5461([_0xc0722a(0x0,_0x97839d[_0x1203bc(0x137)]),_0xc0722a(0x1,_0x483f62['ILocalCacheService']),_0xc0722a(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x483f62[_0x1203bc(0x2cb)])),_0xc0722a(0x3,_0x97839d[_0x1203bc(0x1f2)]),_0xc0722a(0x4,_0x97839d['INotificationService']),_0xc0722a(0x5,_0x2f9c71['Inject'](_0x2f9c71[_0x1203bc(0xed)]))],_0x527dfc);var _0xc685af=Object[_0x1203bc(0x29b)],_0x371308=(_0x47f9a4,_0x1a556c,_0x3ef694,_0x2d0d4b)=>{for(var _0x2b679d=_0x2d0d4b>0x1?void 0x0:_0x2d0d4b?_0xc685af(_0x1a556c,_0x3ef694):_0x1a556c,_0x51f203=_0x47f9a4['length']-0x1,_0x6dce08;_0x51f203>=0x0;_0x51f203--)(_0x6dce08=_0x47f9a4[_0x51f203])&&(_0x2b679d=_0x6dce08(_0x2b679d)||_0x2b679d);return _0x2b679d;},_0x2e7cd5=(_0x246028,_0x3f928d)=>(_0x5e8fe4,_0x3bd26d)=>_0x3f928d(_0x5e8fe4,_0x3bd26d,_0x246028);let _0x45fd84=class extends _0x2f9c71['Disposable']{constructor(_0x1320c4,_0x49230b,_0x589204,_0x3ff1e2){const _0x1d45b4=_0x1203bc;super(),_0x5e2d7e(this,_0x1d45b4(0x213)),(this[_0x1d45b4(0x2ec)]=_0x1320c4,this['_httpService']=_0x49230b,this['_logService']=_0x589204,this['_collaborationSessionService']=_0x3ff1e2,this['_init']());}[_0x1203bc(0x3ad)](){const _0x5cd137=_0x1203bc;this[_0x5cd137(0x365)](),this['_initUnhandledRejectionListener'](),this[_0x5cd137(0x26f)](),this[_0x5cd137(0x1d2)]();}[_0x1203bc(0x1d2)](){const _0x160b8b=_0x1203bc;this[_0x160b8b(0x293)](this[_0x160b8b(0x2a0)][_0x160b8b(0x174)][_0x160b8b(0x33f)](_0x507ae4=>{const _0x59e4e0=_0x160b8b;this['_memberID']=_0x507ae4==null?void 0x0:_0x507ae4[_0x59e4e0(0x320)];}));}[_0x1203bc(0x365)](){const _0xba927=_0x1203bc,_0x2cfc31=_0x318b58=>{const _0x2faf14=_0x4f4a;var _0x4c8acb;this['_uploadLog'](_0x2faf14(0x2af),_0x2faf14(0x1d3)+_0x318b58[_0x2faf14(0x13a)]+_0x2faf14(0x138)+_0x318b58[_0x2faf14(0x3b9)]+':'+_0x318b58[_0x2faf14(0x1b3)]+':'+_0x318b58['colno']+'\x0a'+(((_0x4c8acb=_0x318b58[_0x2faf14(0x2af)])==null?void 0x0:_0x4c8acb[_0x2faf14(0xc4)])||''));};window[_0xba927(0x18e)](_0xba927(0x2af),_0x2cfc31),this[_0xba927(0x293)](()=>{const _0x4eb90d=_0xba927;window[_0x4eb90d(0x1d6)](_0x4eb90d(0x2af),_0x2cfc31);});}[_0x1203bc(0x164)](){const _0x31cc0c=_0x1203bc,_0x2803cb=_0x367d56=>{const _0x13531b=_0x4f4a;this[_0x13531b(0x30d)]('error',_0x13531b(0x291)+_0x367d56[_0x13531b(0xe7)]);};window[_0x31cc0c(0x18e)]('unhandledrejection',_0x2803cb),this[_0x31cc0c(0x293)](()=>{const _0x3d68b8=_0x31cc0c;window[_0x3d68b8(0x1d6)](_0x3d68b8(0x100),_0x2803cb);});}[_0x1203bc(0x26f)](){const _0x35534d=_0x1203bc,_0x3baae5=this['_logService'][_0x35534d(0x2af)][_0x35534d(0x2f3)](this[_0x35534d(0x21d)]);this['_logService']['error']=(..._0x3f8dcb)=>{const _0x363023=_0x35534d,_0x2be9be=_0x3f8dcb[_0x363023(0x29a)](_0x451b4f=>_0x451b4f instanceof Error?_0x451b4f[_0x363023(0x13a)]+'\x0a'+_0x451b4f[_0x363023(0xc4)]:String(_0x451b4f))['join']('\x20');this['_uploadLog'](_0x363023(0x2af),'[LogService\x20Error]:\x20'+_0x2be9be),_0x3baae5(..._0x3f8dcb);},this[_0x35534d(0x293)](()=>{const _0x5c59b6=_0x35534d;this['_logService'][_0x5c59b6(0x2af)]=_0x3baae5;});}[_0x1203bc(0x30d)](_0x58008a,_0x13e641){const _0x5ae812=_0x1203bc;try{const _0x364b19={'userId':this['_memberID'],'logLabel':_0x58008a,'content':_0x13e641};this[_0x5ae812(0x247)][_0x5ae812(0x2d8)](_0x5ae812(0x1f9),{'body':_0x364b19})[_0x5ae812(0x22f)](()=>{});}catch{}}};_0x45fd84=_0x371308([_0x2e7cd5(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x2e7cd5(0x1,_0x2f9c71['Inject'](_0x1c1235['HTTPService'])),_0x2e7cd5(0x2,_0x2f9c71[_0x1203bc(0x220)]),_0x2e7cd5(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x483f62[_0x1203bc(0xcd)]))],_0x45fd84);const _0x5e1025=_0x1203bc(0x145),_0x4795ce={};var _0x5e8509=Object[_0x1203bc(0x29b)],_0x16495f=(_0x56c938,_0xa9c055,_0x2ef2e1,_0x48768c)=>{const _0x46da02=_0x1203bc;for(var _0x2c9a04=_0x48768c>0x1?void 0x0:_0x48768c?_0x5e8509(_0xa9c055,_0x2ef2e1):_0xa9c055,_0x32d0cb=_0x56c938[_0x46da02(0x381)]-0x1,_0x326d80;_0x32d0cb>=0x0;_0x32d0cb--)(_0x326d80=_0x56c938[_0x32d0cb])&&(_0x2c9a04=_0x326d80(_0x2c9a04)||_0x2c9a04);return _0x2c9a04;},_0x48f5ce=(_0x1ef467,_0x409386)=>(_0x458e56,_0x2e58a3)=>_0x409386(_0x458e56,_0x2e58a3,_0x1ef467);let _0x36697e=class{constructor(_0x49b08d,_0x1b54f1){const _0x338126=_0x1203bc;this[_0x338126(0x147)]=_0x49b08d,this[_0x338126(0x386)]=_0x1b54f1;}[_0x1203bc(0x391)](_0x4e95ac){const _0x569ee6=_0x1203bc;this[_0x569ee6(0x336)](_0x4e95ac),this['_transformPreviousActiveRange'](_0x4e95ac);}['transformRemoteChangeset'](_0x31d54c){const _0x31fd54=_0x1203bc,{unitID:_0x2ab4f5}=_0x31d54c,_0x579709=this[_0x31fd54(0x386)][_0x31fd54(0x206)](_0x2ab4f5)['with'](_0x244982[_0x31fd54(0x199)]),{redoCache:_0x1e341d}=_0x579709[_0x31fd54(0xf8)]();if(_0x1e341d[_0x31fd54(0x381)]===0x0)return _0x31d54c;let _0x348a4c=_0x2f9c71[_0x31fd54(0x28c)][_0x31fd54(0x317)](_0x31d54c[_0x31fd54(0x35f)][0x0]);for(let _0x51178a=0x0;_0x51178a<_0x1e341d[_0x31fd54(0x381)];_0x51178a++){const _0x1cf7c3={'id':'doc.mutation.rich-text-editing','params':{..._0x1e341d[_0x51178a]}},_0x58923f=this[_0x31fd54(0x147)][_0x31fd54(0x221)](_0x348a4c,_0x1cf7c3,!0x1);if(_0x555c33[_0x31fd54(0x352)](_0x58923f))throw _0x58923f['error'];_0x348a4c=_0x58923f[_0x31fd54(0x2c5)];}return{..._0x2f9c71[_0x31fd54(0x28c)][_0x31fd54(0x317)](_0x31d54c),'mutations':[_0x348a4c]};}[_0x1203bc(0x336)](_0x3fa52c){const _0x547cca=_0x1203bc,{unitID:_0x1e9060}=_0x3fa52c,_0x191925=this[_0x547cca(0x386)][_0x547cca(0x206)](_0x1e9060)[_0x547cca(0xd7)](_0x244982[_0x547cca(0x199)]),{undoCache:_0x4f7004,redoCache:_0x5edd07}=_0x191925[_0x547cca(0xf8)]();if(_0x4f7004[_0x547cca(0x381)]===0x0||_0x5edd07[_0x547cca(0x381)]===0x0)return;const _0x36261e=[],_0x16b361=[];let _0x3bb572=_0x2f9c71[_0x547cca(0x28c)][_0x547cca(0x317)](_0x3fa52c[_0x547cca(0x35f)][0x0]),_0x1b0d08=_0x2f9c71[_0x547cca(0x28c)]['deepClone'](_0x3fa52c['mutations'][0x0]);for(let _0x1a1161=_0x4f7004['length']-0x1;_0x1a1161>=0x0;_0x1a1161--){const _0x267e6f={'id':_0x547cca(0x20f),'params':{..._0x4f7004[_0x1a1161]}},_0x2e7c08={'id':_0x547cca(0x20f),'params':{..._0x5edd07[_0x1a1161]}},_0x5aca63=this[_0x547cca(0x147)][_0x547cca(0x221)](_0x3bb572,_0x267e6f,!0x1),_0xc8b37c=this['_transformService'][_0x547cca(0x221)](_0x1b0d08,_0x2e7c08,!0x1);if(_0x555c33[_0x547cca(0x352)](_0x5aca63))throw _0x5aca63['error'];if(_0x555c33['isTransformMutationFailure'](_0xc8b37c))throw _0xc8b37c[_0x547cca(0x2af)];_0x36261e[_0x547cca(0xeb)](_0x5aca63[_0x547cca(0x338)][_0x547cca(0x285)]),_0x16b361[_0x547cca(0xeb)](_0xc8b37c[_0x547cca(0x338)]['params']),_0x3bb572=_0x5aca63[_0x547cca(0x2c5)],_0x1b0d08=_0xc8b37c[_0x547cca(0x2c5)];}_0x191925[_0x547cca(0x144)]({'undoCache':_0x36261e,'redoCache':_0x16b361});}['_transformPreviousActiveRange'](_0x2118e7){const _0x1b1d02=_0x1203bc,{unitID:_0x2b05e9}=_0x2118e7,_0x5977f6=this[_0x1b1d02(0x386)][_0x1b1d02(0x206)](_0x2b05e9)[_0x1b1d02(0xd7)](_0x244982[_0x1b1d02(0x199)]),_0x455900=_0x5977f6[_0x1b1d02(0x1fc)]();if(_0x455900==null)return;const _0x57fcd2=[{'id':_0x1b1d02(0x20f),'params':{'unitId':_0x2118e7[_0x1b1d02(0x1fe)],'actions':null,'textRanges':[_0x455900]}}],_0x648836=this[_0x1b1d02(0x147)][_0x1b1d02(0x24a)](_0x2118e7,_0x57fcd2);if(!_0x555c33[_0x1b1d02(0x218)](_0x648836))throw _0x648836[_0x1b1d02(0x2af)];const _0x3d10a3=_0x648836[_0x1b1d02(0x338)][0x0]['params'][_0x1b1d02(0x25e)];Array[_0x1b1d02(0x364)](_0x3d10a3)&&_0x3d10a3['length']&&_0x5977f6[_0x1b1d02(0x29c)](_0x3d10a3[0x0]);}};_0x36697e=_0x16495f([_0x48f5ce(0x0,_0x555c33[_0x1203bc(0x243)]),_0x48f5ce(0x1,_0x3281d5[_0x1203bc(0x2b9)])],_0x36697e);var _0x443791=Object['getOwnPropertyDescriptor'],_0x2f8c9b=(_0x22c127,_0x556055,_0x43c28e,_0x3be538)=>{const _0x508c36=_0x1203bc;for(var _0x50cdf1=_0x3be538>0x1?void 0x0:_0x3be538?_0x443791(_0x556055,_0x43c28e):_0x556055,_0x17df93=_0x22c127[_0x508c36(0x381)]-0x1,_0x32f700;_0x17df93>=0x0;_0x17df93--)(_0x32f700=_0x22c127[_0x17df93])&&(_0x50cdf1=_0x32f700(_0x50cdf1)||_0x50cdf1);return _0x50cdf1;},_0x38a613=(_0x434f49,_0x42e47e)=>(_0x121da5,_0x25af04)=>_0x42e47e(_0x121da5,_0x25af04,_0x434f49);let _0x3e9655=class{constructor(_0xaeb8a6,_0xf5d195,_0x4838e0){const _0x35f1f2=_0x1203bc;this[_0x35f1f2(0x2ec)]=_0xaeb8a6,this[_0x35f1f2(0x147)]=_0xf5d195,this[_0x35f1f2(0x313)]=_0x4838e0;}[_0x1203bc(0x2c0)](_0x4b0f48){const _0x178f54=_0x1203bc;this[_0x178f54(0x1b9)](_0x4b0f48);}[_0x1203bc(0x17e)](_0x32d496){const _0x2404a6=_0x1203bc,{unitID:_0x2db3a5}=_0x32d496,{collaboration:_0x5ea277}=this[_0x2404a6(0x313)][_0x2404a6(0xd5)](_0x2db3a5);if(_0x5ea277[_0x2404a6(0x381)]===0x0)return _0x32d496;let _0x31061e=_0x2f9c71[_0x2404a6(0x28c)][_0x2404a6(0x317)](_0x32d496[_0x2404a6(0x35f)][0x0]);for(let _0x3e6539=0x0;_0x3e6539<_0x5ea277[_0x2404a6(0x381)];_0x3e6539++){const _0x172448={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5ea277[_0x3e6539]['unitId'],..._0x5ea277[_0x3e6539]['redoState']}},_0x2548f0=this[_0x2404a6(0x147)][_0x2404a6(0x221)](_0x31061e,_0x172448,!0x1);if(_0x555c33[_0x2404a6(0x352)](_0x2548f0))throw _0x2548f0[_0x2404a6(0x2af)];_0x31061e=_0x2548f0[_0x2404a6(0x2c5)];}return{..._0x2f9c71[_0x2404a6(0x28c)]['deepClone'](_0x32d496),'mutations':[_0x31061e]};}[_0x1203bc(0x1b9)](_0x4c110a){const _0x2c1497=_0x1203bc,{unitID:_0x19b41e}=_0x4c110a,{history:_0x412210,collaboration:_0x24d376}=this[_0x2c1497(0x313)][_0x2c1497(0xd5)](_0x19b41e);if(_0x412210[_0x2c1497(0x381)]===0x0&&_0x24d376[_0x2c1497(0x381)]===0x0)return;const _0x412fea=[],_0x4a72f9=[];let _0xf7a022=_0x2f9c71[_0x2c1497(0x28c)]['deepClone'](_0x4c110a['mutations'][0x0]),_0x20f069=_0x2f9c71[_0x2c1497(0x28c)][_0x2c1497(0x317)](_0x4c110a[_0x2c1497(0x35f)][0x0]);for(let _0x52844e=_0x412210[_0x2c1497(0x381)]-0x1;_0x52844e>=0x0;_0x52844e--){const _0x7e1e6={'id':_0x2c1497(0x20f),'params':{'unitId':_0x412210[_0x52844e][_0x2c1497(0x23a)],..._0x412210[_0x52844e][_0x2c1497(0x3a9)]}},_0x319255={'id':_0x2c1497(0x20f),'params':{'unitId':_0x412210[_0x52844e]['unitId'],..._0x412210[_0x52844e][_0x2c1497(0x3a4)]}},_0x3ff626=this['_transformService'][_0x2c1497(0x221)](_0xf7a022,_0x7e1e6,!0x1),_0x5c450f=this['_transformService'][_0x2c1497(0x221)](_0x20f069,_0x319255,!0x1);if(_0x555c33[_0x2c1497(0x352)](_0x3ff626))throw _0x3ff626['error'];if(_0x555c33[_0x2c1497(0x352)](_0x5c450f))throw _0x5c450f[_0x2c1497(0x2af)];_0x412fea['unshift']({..._0x412210[_0x52844e],'undoState':_0x3ff626[_0x2c1497(0x338)]['params'],'redoState':_0x5c450f[_0x2c1497(0x338)][_0x2c1497(0x285)]}),_0xf7a022=_0x3ff626[_0x2c1497(0x2c5)],_0x20f069=_0x5c450f[_0x2c1497(0x2c5)];}_0xf7a022=_0x2f9c71[_0x2c1497(0x28c)][_0x2c1497(0x317)](_0x4c110a[_0x2c1497(0x35f)][0x0]),_0x20f069=_0x2f9c71[_0x2c1497(0x28c)]['deepClone'](_0x4c110a[_0x2c1497(0x35f)][0x0]);for(let _0x15490e=_0x24d376[_0x2c1497(0x381)]-0x1;_0x15490e>=0x0;_0x15490e--){const _0x3876e3={'id':_0x2c1497(0x20f),'params':{'unitId':_0x24d376[_0x15490e][_0x2c1497(0x23a)],..._0x24d376[_0x15490e][_0x2c1497(0x3a9)]}},_0x33e6db={'id':_0x2c1497(0x20f),'params':{'unitId':_0x24d376[_0x15490e][_0x2c1497(0x23a)],..._0x24d376[_0x15490e]['redoState']}},_0x4ae584=this[_0x2c1497(0x147)][_0x2c1497(0x221)](_0xf7a022,_0x3876e3,!0x1),_0x2b56cd=this[_0x2c1497(0x147)][_0x2c1497(0x221)](_0x20f069,_0x33e6db,!0x1);if(_0x555c33['isTransformMutationFailure'](_0x4ae584))throw _0x4ae584[_0x2c1497(0x2af)];if(_0x555c33[_0x2c1497(0x352)](_0x2b56cd))throw _0x2b56cd[_0x2c1497(0x2af)];_0x4a72f9[_0x2c1497(0xeb)]({..._0x24d376[_0x15490e],'undoState':_0x4ae584[_0x2c1497(0x338)][_0x2c1497(0x285)],'redoState':_0x2b56cd[_0x2c1497(0x338)][_0x2c1497(0x285)]}),_0xf7a022=_0x4ae584[_0x2c1497(0x2c5)],_0x20f069=_0x2b56cd[_0x2c1497(0x2c5)];}this[_0x2c1497(0x313)][_0x2c1497(0x215)](_0x19b41e,{'history':_0x412fea,'collaboration':_0x4a72f9});}};_0x3e9655=_0x2f8c9b([_0x38a613(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x38a613(0x1,_0x555c33['ITransformService']),_0x38a613(0x2,_0x2f9c71['Inject'](_0x244982[_0x1203bc(0xef)]))],_0x3e9655);var _0x1414af=Object[_0x1203bc(0x29b)],_0x3cbb8d=(_0x3e9b17,_0x4a7f0a,_0x3323d0,_0xadb195)=>{const _0x48cc89=_0x1203bc;for(var _0x418eb9=_0xadb195>0x1?void 0x0:_0xadb195?_0x1414af(_0x4a7f0a,_0x3323d0):_0x4a7f0a,_0x28507c=_0x3e9b17[_0x48cc89(0x381)]-0x1,_0x3f460b;_0x28507c>=0x0;_0x28507c--)(_0x3f460b=_0x3e9b17[_0x28507c])&&(_0x418eb9=_0x3f460b(_0x418eb9)||_0x418eb9);return _0x418eb9;},_0x1ccaf1=(_0x3a7987,_0x381a94)=>(_0x453435,_0x12e6d2)=>_0x381a94(_0x453435,_0x12e6d2,_0x3a7987);let _0x39b66e=class{constructor(_0x19f0fa,_0x398c43){const _0x468cd4=_0x1203bc;this['_injector']=_0x19f0fa,this[_0x468cd4(0x147)]=_0x398c43;}[_0x1203bc(0x33c)](_0x3e7bda){const _0x247d63=_0x1203bc;var _0x32e2c1;const _0x267804=this['_injector'][_0x247d63(0x28e)](_0x20fc77[_0x247d63(0xc3)]),_0x5ac00c=(_0x32e2c1=_0x267804[_0x247d63(0x12f)]())!=null?_0x32e2c1:[];if(_0x5ac00c[_0x247d63(0x381)]===0x0)return;const _0x5e6605=_0x3e7bda[_0x247d63(0x1fe)],_0x5cc6f8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5e6605,'actions':null,'textRanges':_0x5ac00c}}],_0x5b927f=this[_0x247d63(0x147)][_0x247d63(0x24a)](_0x3e7bda,_0x5cc6f8);if(!_0x555c33[_0x247d63(0x218)](_0x5b927f))throw _0x5b927f[_0x247d63(0x2af)];const _0x18d369=_0x5b927f[_0x247d63(0x338)][0x0][_0x247d63(0x285)][_0x247d63(0x25e)];Array[_0x247d63(0x364)](_0x18d369)&&_0x18d369[_0x247d63(0x381)]&&_0x267804[_0x247d63(0x39f)](_0x18d369,{'unitId':_0x5e6605,'subUnitId':_0x5e6605},!0x1);}};_0x39b66e=_0x3cbb8d([_0x1ccaf1(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71['Injector'])),_0x1ccaf1(0x1,_0x555c33[_0x1203bc(0x243)])],_0x39b66e);var _0x3419e0=Object[_0x1203bc(0x29b)],_0x59396=(_0x2934e3,_0x1d8a5d,_0x2d995f,_0x4c61b6)=>{const _0x3519ff=_0x1203bc;for(var _0x1e6749=_0x4c61b6>0x1?void 0x0:_0x4c61b6?_0x3419e0(_0x1d8a5d,_0x2d995f):_0x1d8a5d,_0x177343=_0x2934e3[_0x3519ff(0x381)]-0x1,_0x5aed69;_0x177343>=0x0;_0x177343--)(_0x5aed69=_0x2934e3[_0x177343])&&(_0x1e6749=_0x5aed69(_0x1e6749)||_0x1e6749);return _0x1e6749;},_0x52362c=(_0x5ec067,_0x21f7eb)=>(_0xda2590,_0x373148)=>_0x21f7eb(_0xda2590,_0x373148,_0x5ec067);let _0x438673=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x20bb8b,_0x412338,_0x35a9e9,_0x4f97af,_0x2cc036,_0x5d600d,_0x4ea25d,_0x35bad2){const _0x5555ad=_0x1203bc;super(),_0x5e2d7e(this,_0x5555ad(0x1a2),new _0x4b9e95[(_0x5555ad(0x396))](_0x483f62[_0x5555ad(0x380)][_0x5555ad(0x3a7)])),(this['_docStateChangeManagerService']=_0x20bb8b,this['_collaborationController']=_0x412338,this[_0x5555ad(0x1d1)]=_0x35a9e9,this[_0x5555ad(0x1ce)]=_0x4f97af,this[_0x5555ad(0x1bb)]=_0x2cc036,this[_0x5555ad(0x3a1)]=_0x5d600d,this[_0x5555ad(0x250)]=_0x4ea25d,this[_0x5555ad(0x2dc)]=_0x35bad2,this['_initEntityListener']());}[_0x1203bc(0x3b2)](){const _0x1ea874=_0x1203bc;this[_0x1ea874(0x293)](this[_0x1ea874(0x15f)][_0x1ea874(0x27b)][_0x1ea874(0x33f)](_0x536fec=>{const _0x22fd53=_0x1ea874,_0x1e7f32=this[_0x22fd53(0x313)][_0x22fd53(0x287)][_0x22fd53(0x33f)](_0x364588=>{const _0x40eccd=_0x22fd53;if(_0x364588==null)return;const {unitId:_0x59f4c5,redoState:_0x21630f,commandId:_0x2b52d5}=_0x364588;if(_0x59f4c5!==_0x536fec[_0x40eccd(0x1fe)])return;const _0xb5af3f={'id':_0x2b52d5,'type':_0x2f9c71[_0x40eccd(0xf2)]['MUTATION'],'params':{'unitId':_0x59f4c5,'actions':_0x21630f[_0x40eccd(0x1f1)],'textRanges':null}};_0x536fec[_0x40eccd(0x227)](_0xb5af3f);});if(_0x536fec[_0x22fd53(0x293)](_0x1e7f32),_0x536fec instanceof _0x483f62[_0x22fd53(0x13d)]){const _0x3d42c3={'onTransformIME':_0x39536f=>this[_0x22fd53(0x1d1)][_0x22fd53(0x391)](_0x39536f),'onTransformState':_0x49c381=>this['_docTransformStateCacheService'][_0x22fd53(0x2c0)](_0x49c381),'onTransformSelections':_0x1934d3=>this[_0x22fd53(0x1bb)][_0x22fd53(0x33c)](_0x1934d3),'onSyncEditingCollabCursor':_0x1ae780=>this['_docSyncEditingCollabCursorService'][_0x22fd53(0x11a)](_0x1ae780),'onTransformRemoteChangesetByIMECache':_0x8c0186=>this[_0x22fd53(0x1d1)]['transformRemoteChangeset'](_0x8c0186),'onTransformRemoteChangesetByStateCache':_0x1d3142=>this[_0x22fd53(0x1ce)][_0x22fd53(0x17e)](_0x1d3142)};_0x536fec[_0x22fd53(0x2d4)](_0x3d42c3);}}));}};_0x438673=_0x59396([_0x52362c(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x244982[_0x1203bc(0xef)])),_0x52362c(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x483f62[_0x1203bc(0xbf)])),_0x52362c(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x36697e)),_0x52362c(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x3e9655)),_0x52362c(0x4,_0x2f9c71[_0x1203bc(0x165)](_0x39b66e)),_0x52362c(0x5,_0x2f9c71[_0x1203bc(0x165)](_0x26bb99)),_0x52362c(0x6,_0x97839d[_0x1203bc(0x1f2)]),_0x52362c(0x7,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0xed)]))],_0x438673);var _0x4a6838=(_0x45c16f=>(_0x45c16f[_0x45c16f[_0x1203bc(0x2bb)]=0x0]=_0x1203bc(0x2bb),_0x45c16f[_0x45c16f['OK']=0x1]='OK',_0x45c16f[_0x45c16f[_0x1203bc(0x324)]=0x2]=_0x1203bc(0x324),_0x45c16f[_0x45c16f[_0x1203bc(0x223)]=0x3]=_0x1203bc(0x223),_0x45c16f[_0x45c16f[_0x1203bc(0x21e)]=0x4]=_0x1203bc(0x21e),_0x45c16f[_0x45c16f['UNAUTHENTICATED']=0x5]=_0x1203bc(0x1d4),_0x45c16f[_0x45c16f[_0x1203bc(0x302)]=0x6]='ALREADY_EXISTS',_0x45c16f[_0x45c16f[_0x1203bc(0x28f)]=0x7]=_0x1203bc(0x28f),_0x45c16f[_0x45c16f[_0x1203bc(0x280)]=0x8]=_0x1203bc(0x280),_0x45c16f[_0x45c16f[_0x1203bc(0x184)]=0x9]=_0x1203bc(0x184),_0x45c16f[_0x45c16f[_0x1203bc(0x2bd)]=0xa]=_0x1203bc(0x2bd),_0x45c16f[_0x45c16f['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x1203bc(0x2b5),_0x45c16f[_0x45c16f[_0x1203bc(0x126)]=0xc]=_0x1203bc(0x126),_0x45c16f[_0x45c16f[_0x1203bc(0x37c)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x45c16f[_0x45c16f[_0x1203bc(0x245)]=0xe]=_0x1203bc(0x245),_0x45c16f[_0x45c16f[_0x1203bc(0x185)]=0xf]=_0x1203bc(0x185),_0x45c16f[_0x45c16f['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1203bc(0x342),_0x45c16f[_0x45c16f['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x45c16f[_0x45c16f['ERROR_AGAIN']=0x65]=_0x1203bc(0x1ef),_0x45c16f[_0x45c16f['USER_NOT_FOUND']=0xc9]=_0x1203bc(0x21a),_0x45c16f[_0x45c16f[_0x1203bc(0xd4)]=0xca]=_0x1203bc(0xd4),_0x45c16f[_0x45c16f[_0x1203bc(0x357)]=0x1389]=_0x1203bc(0x357),_0x45c16f[_0x45c16f[_0x1203bc(0x21c)]=0x1771]=_0x1203bc(0x21c),_0x45c16f[_0x45c16f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1203bc(0x1a4),_0x45c16f[_0x45c16f['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1203bc(0xf1),_0x45c16f[_0x45c16f[_0x1203bc(0x107)]=0x1b59]='APPLY_REJECT',_0x45c16f[_0x45c16f[_0x1203bc(0x16e)]=0x1b5a]=_0x1203bc(0x16e),_0x45c16f[_0x45c16f[_0x1203bc(0x311)]=0x1b5b]=_0x1203bc(0x311),_0x45c16f[_0x45c16f['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1203bc(0x319),_0x45c16f[_0x45c16f[_0x1203bc(0xbc)]=0x1b5d]='APPLY_DUPLICATED',_0x45c16f[_0x45c16f[_0x1203bc(0x347)]=0x1f41]=_0x1203bc(0x347),_0x45c16f[_0x45c16f[_0x1203bc(0x1b4)]=0x2329]=_0x1203bc(0x1b4),_0x45c16f[_0x45c16f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1203bc(0x21f),_0x45c16f[_0x45c16f[_0x1203bc(0x235)]=0x232b]=_0x1203bc(0x235),_0x45c16f[_0x45c16f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x45c16f[_0x45c16f[_0x1203bc(0x273)]=0x232d]=_0x1203bc(0x273),_0x45c16f[_0x45c16f[_0x1203bc(0x1bf)]=0x2711]=_0x1203bc(0x1bf),_0x45c16f[_0x45c16f[_0x1203bc(0x2b4)]=0x2712]=_0x1203bc(0x2b4),_0x45c16f[_0x45c16f['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1203bc(0x2d0),_0x45c16f[_0x45c16f[_0x1203bc(0x334)]=0x2714]=_0x1203bc(0x334),_0x45c16f[_0x45c16f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1203bc(0x1a6),_0x45c16f[_0x45c16f['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x1203bc(0x388),_0x45c16f[_0x45c16f[_0x1203bc(0x38b)]=0x271c]=_0x1203bc(0x38b),_0x45c16f[_0x45c16f[_0x1203bc(0x1f3)]=0x271d]=_0x1203bc(0x1f3),_0x45c16f[_0x45c16f[_0x1203bc(0x349)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x45c16f[_0x45c16f[_0x1203bc(0x325)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x45c16f[_0x45c16f[_0x1203bc(0x19a)]=0x2720]=_0x1203bc(0x19a),_0x45c16f[_0x45c16f[_0x1203bc(0x1ec)]=0x2af9]=_0x1203bc(0x1ec),_0x45c16f[_0x45c16f[_0x1203bc(0x161)]=0x2ee1]=_0x1203bc(0x161),_0x45c16f[_0x45c16f[_0x1203bc(0x3b5)]=0x2ee2]=_0x1203bc(0x3b5),_0x45c16f[_0x45c16f[_0x1203bc(0x12e)]=0x2ee3]=_0x1203bc(0x12e),_0x45c16f[_0x45c16f['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1203bc(0x333),_0x45c16f[_0x45c16f[_0x1203bc(0x38d)]=0x2ee5]=_0x1203bc(0x38d),_0x45c16f[_0x45c16f[_0x1203bc(0x2d2)]=0x32c9]=_0x1203bc(0x2d2),_0x45c16f[_0x45c16f[_0x1203bc(0x1af)]=0x32ca]=_0x1203bc(0x1af),_0x45c16f[_0x45c16f['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1203bc(0x1fb),_0x45c16f[_0x45c16f['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x1203bc(0x3b1),_0x45c16f[_0x45c16f[_0x1203bc(0x2aa)]=0x36b2]=_0x1203bc(0x2aa),_0x45c16f[_0x45c16f[_0x1203bc(0x354)]=0x36b3]=_0x1203bc(0x354),_0x45c16f[_0x45c16f[_0x1203bc(0x111)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x45c16f[_0x45c16f['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x1203bc(0x284),_0x45c16f[_0x45c16f[_0x1203bc(0x258)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x45c16f[_0x45c16f[_0x1203bc(0x1eb)]=0x36b7]=_0x1203bc(0x1eb),_0x45c16f[_0x45c16f[_0x1203bc(0x34d)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x45c16f[_0x45c16f[_0x1203bc(0x1bc)]=0x3715]=_0x1203bc(0x1bc),_0x45c16f[_0x45c16f['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x1203bc(0x25c),_0x45c16f[_0x45c16f[_0x1203bc(0x304)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x45c16f[_0x45c16f['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x1203bc(0x1cc),_0x45c16f[_0x45c16f[_0x1203bc(0x129)]=0x3a99]=_0x1203bc(0x129),_0x45c16f[_0x45c16f[_0x1203bc(0x2ee)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x45c16f[_0x45c16f[_0x1203bc(0xfb)]=0x3a9b]=_0x1203bc(0xfb),_0x45c16f[_0x45c16f['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x1203bc(0x2f1),_0x45c16f[_0x45c16f[_0x1203bc(0x2b7)]=0x3a9d]=_0x1203bc(0x2b7),_0x45c16f[_0x45c16f[_0x1203bc(0x35b)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x45c16f[_0x45c16f[_0x1203bc(0x35d)]=0x3a9f]=_0x1203bc(0x35d),_0x45c16f[_0x45c16f['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x45c16f[_0x45c16f[_0x1203bc(0x340)]=-0x1]=_0x1203bc(0x340),_0x45c16f))(_0x4a6838||{});function _0x495f53(_0x22e7dc){const _0x1ceb04=_0x1203bc;var _0x1297c7,_0x13e81e;const _0x52da72=(_0x1297c7=_0x22e7dc[_0x1ceb04(0x12d)])==null?void 0x0:_0x1297c7[_0x1ceb04(0x26c)],_0x576ce5=((_0x13e81e=_0x22e7dc[_0x1ceb04(0x12d)])==null?void 0x0:_0x13e81e['totalFormulasToCalculate'])||0x0;return _0x52da72===_0x5a5f64[_0x1ceb04(0x1a5)][_0x1ceb04(0x16b)]&&_0x576ce5>0x0;}function _0x173df2(_0x2be568){const _0x2c1438=_0x1203bc;return _0x2be568[_0x2c1438(0x2c4)]===_0x5a5f64[_0x2c1438(0x290)]['SUCCESS'];}var _0x33f215=Object[_0x1203bc(0x29b)],_0x1df6f2=(_0x3bc246,_0x50e924,_0x5e4070,_0x19d1ee)=>{const _0xf2204b=_0x1203bc;for(var _0x3fa361=_0x19d1ee>0x1?void 0x0:_0x19d1ee?_0x33f215(_0x50e924,_0x5e4070):_0x50e924,_0x206fb2=_0x3bc246[_0xf2204b(0x381)]-0x1,_0x4a2baa;_0x206fb2>=0x0;_0x206fb2--)(_0x4a2baa=_0x3bc246[_0x206fb2])&&(_0x3fa361=_0x4a2baa(_0x3fa361)||_0x3fa361);return _0x3fa361;},_0x14de57=(_0x2fb7e7,_0x3dc11a)=>(_0x1a4fa7,_0x4c6f46)=>_0x3dc11a(_0x1a4fa7,_0x4c6f46,_0x2fb7e7);const _0x23d3ee=_0x1203bc(0x2fa),_0x3d8b05=_0x1203bc(0x1b8),_0x15c3ca='/universer-api/license/formula/limit/done';let _0x368987=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x4e6549,_0x30966b,_0x4841da,_0x2394c6,_0x11070e,_0x4671b9,_0x56358b){const _0x8715b4=_0x1203bc;super(),_0x5e2d7e(this,'_pollingInterval',null),_0x5e2d7e(this,_0x8715b4(0x10e),0x0),_0x5e2d7e(this,'_currentUsage',0x0),_0x5e2d7e(this,_0x8715b4(0x350),[]),_0x5e2d7e(this,_0x8715b4(0xc1),0x0),(this['_messageService']=_0x4e6549,this['_commandService']=_0x30966b,this[_0x8715b4(0x233)]=_0x4841da,this[_0x8715b4(0x247)]=_0x2394c6,this['_univerInstanceService']=_0x11070e,this['_logService']=_0x4671b9,this[_0x8715b4(0x2dc)]=_0x56358b,this[_0x8715b4(0x374)]());}[_0x1203bc(0x374)](){const _0x1f02af=_0x1203bc;this[_0x1f02af(0x293)](this[_0x1f02af(0x13b)]['beforeCommandExecuted']((_0x35f9a9,_0x1385dc)=>{const _0x164be3=_0x1f02af;var _0x2ad5be;if(_0x35f9a9['id']!==_0x5a5f64[_0x164be3(0x37b)]['id'])return;const _0x185abe=_0x35f9a9[_0x164be3(0x285)];if(!this[_0x164be3(0x1f8)]((_0x2ad5be=_0x185abe[_0x164be3(0x323)])!=null?_0x2ad5be:[]))return;if(!this[_0x164be3(0x11e)]())throw this['_checkAndWaitForCalculationPermission'](_0x35f9a9,_0x1385dc),this[_0x164be3(0x130)](),new _0x2f9c71[(_0x164be3(0x1aa))]();})),this[_0x1f02af(0x293)](this[_0x1f02af(0x13b)][_0x1f02af(0x395)]((_0x38b17d,_0x38b44c)=>{const _0x50ea2e=_0x1f02af;if(_0x38b17d['id']!==_0x5a5f64[_0x50ea2e(0x265)]['id'])return;const _0xcd5430=_0x38b17d['params'];if(_0x495f53(_0xcd5430)){const _0x44edc1=_0x2f9c71[_0x50ea2e(0x188)]();this[_0x50ea2e(0x350)][_0x50ea2e(0x35e)](_0x44edc1),this[_0x50ea2e(0x39d)](_0x44edc1);}else{if(_0x173df2(_0xcd5430)&&this['_taskIds'][_0x50ea2e(0x381)]>0x0){const _0x26fc64=this['_taskIds']['shift']();this[_0x50ea2e(0x1c0)](_0x26fc64);}}}));}[_0x1203bc(0x105)](){const _0xa6ddf0=_0x1203bc;super['dispose'](),this[_0xa6ddf0(0x328)](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0xa6ddf0(0x10e)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x1203bc(0x337)](_0x5b4e93,_0x2bfd98){const _0x394e8a=_0x1203bc;for(let _0x12b2df=0x0;_0x12b2df<0x1e;_0x12b2df++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this[_0x394e8a(0x14b)](_0x5b4e93,_0x2bfd98),this[_0x394e8a(0x250)][_0x394e8a(0x363)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x15837d[_0x394e8a(0x176)]['Success']});return;}await new Promise(_0x397b6f=>{const _0x34ca4a=_0x394e8a;this['_pollingInterval']=window[_0x34ca4a(0x1a1)](_0x397b6f,0x3e8);});}catch(_0x1dfd30){this['_logService']['error'](_0x1dfd30);}this[_0x394e8a(0x250)]['show']({'content':this[_0x394e8a(0x2dc)]['t']('formula.calculation.unable'),'type':_0x15837d[_0x394e8a(0x176)]['Error']});}['_applyCommand'](_0x1fe25,_0x3377e2){const _0x44cf88=_0x1203bc;try{this[_0x44cf88(0x13b)][_0x44cf88(0x143)](_0x1fe25['id'],_0x1fe25[_0x44cf88(0x285)],_0x3377e2);}catch(_0x2d6e44){this['_logService']['error'](_0x2d6e44);}}[_0x1203bc(0xd8)](_0x1c6684,_0x4dd8cc){const _0x4e3a40=_0x1203bc;_0x4dd8cc<this[_0x4e3a40(0xc1)]||(this[_0x4e3a40(0xc1)]=_0x4dd8cc,this[_0x4e3a40(0x10e)]=Number[_0x4e3a40(0x344)](_0x1c6684['maxFormulaLimit']),this[_0x4e3a40(0x135)]=Number[_0x4e3a40(0x344)](_0x1c6684[_0x4e3a40(0x367)]));}async[_0x1203bc(0x39d)](_0x462473){const _0x24518f=_0x1203bc;var _0x363c7d,_0x5d2404;const _0x2decf4=Date[_0x24518f(0x20b)]();try{const _0x8836c8=((_0x363c7d=this[_0x24518f(0x233)]['getConfig'](_0x483f62['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x363c7d[_0x24518f(0x187)])||_0x3d8b05,_0xc07248=(await this[_0x24518f(0x247)][_0x24518f(0x2d8)](_0x8836c8,{'body':JSON[_0x24518f(0x2b2)]({'taskId':_0x462473})}))[_0x24518f(0x24d)];if(((_0x5d2404=_0xc07248[_0x24518f(0x2af)])==null?void 0x0:_0x5d2404[_0x24518f(0x1e3)])!==_0x4a6838['OK'])return;this['_setFormulaLimitStatus'](_0xc07248[_0x24518f(0x226)],_0x2decf4);}catch(_0x434c71){this[_0x24518f(0x21d)]['error'](_0x434c71);}}async['_getFormulaLimitStatus'](_0x2d6b10){const _0x211de7=_0x1203bc;var _0xa7dbe,_0x479f09;const _0xbd8651=Date['now']();try{const _0x1fc96a=((_0xa7dbe=this[_0x211de7(0x233)]['getConfig'](_0x483f62['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xa7dbe['getFormulaLimitStatusUrl'])||_0x23d3ee,_0x3ab193=_0x2d6b10?_0x1fc96a+_0x211de7(0x39c)+encodeURIComponent(_0x2d6b10):_0x1fc96a,_0x311239=(await this['_httpService']['get'](_0x3ab193))[_0x211de7(0x24d)];if(((_0x479f09=_0x311239[_0x211de7(0x2af)])==null?void 0x0:_0x479f09[_0x211de7(0x1e3)])!==_0x4a6838['OK'])return;this[_0x211de7(0xd8)](_0x311239[_0x211de7(0x226)],_0xbd8651);}catch(_0x2d5c6b){this[_0x211de7(0x21d)][_0x211de7(0x2af)](_0x2d5c6b);}}async[_0x1203bc(0x1c0)](_0xc148f1){const _0xd6e16b=_0x1203bc;var _0x2dd10e,_0x2704e4;const _0x2c1731=Date[_0xd6e16b(0x20b)]();try{const _0x5f29fb=((_0x2dd10e=this[_0xd6e16b(0x233)][_0xd6e16b(0x36a)](_0x483f62[_0xd6e16b(0x2c6)]))==null?void 0x0:_0x2dd10e['releaseFormulaLimitUrl'])||_0x15c3ca,_0x3b9a14=(await this[_0xd6e16b(0x247)][_0xd6e16b(0x2d8)](_0x5f29fb,{'body':JSON[_0xd6e16b(0x2b2)]({'taskId':_0xc148f1})}))[_0xd6e16b(0x24d)];if(((_0x2704e4=_0x3b9a14[_0xd6e16b(0x2af)])==null?void 0x0:_0x2704e4[_0xd6e16b(0x1e3)])!==_0x4a6838['OK'])return;this[_0xd6e16b(0xd8)](_0x3b9a14['limitInfo'],_0x2c1731);}catch(_0x2477d9){this['_logService'][_0xd6e16b(0x2af)](_0x2477d9);}}['_checkCalculationAvailable'](){const _0x60e26a=_0x1203bc;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x60e26a(0x10e)]-this[_0x60e26a(0x135)]>0x0;}[_0x1203bc(0x328)](){const _0xecd2f1=_0x1203bc;this[_0xecd2f1(0x28d)]&&(clearTimeout(this[_0xecd2f1(0x28d)]),this['_pollingInterval']=null);}[_0x1203bc(0x130)](){const _0x11cf0d=_0x1203bc;this[_0x11cf0d(0x250)][_0x11cf0d(0x363)]({'content':this[_0x11cf0d(0x2dc)]['t'](_0x11cf0d(0x263)),'type':_0x15837d[_0x11cf0d(0x176)][_0x11cf0d(0x2ed)]});}['_hasFormulaInDirtyRanges'](_0x403328){const _0x199646=_0x1203bc;for(const _0x3b3d42 of _0x403328){const {unitId:_0x5727b5,sheetId:_0x1823d2,range:_0x187f67}=_0x3b3d42,_0x19d4e0=this[_0x199646(0xf9)][_0x199646(0x369)](_0x5727b5);if(!_0x19d4e0)continue;const _0x5110e9=_0x19d4e0['getSheetBySheetId'](_0x1823d2);if(!_0x5110e9)continue;const _0x110d71=_0x5110e9[_0x199646(0x1a8)]();for(let _0x30c2ae=_0x187f67[_0x199646(0x152)];_0x30c2ae<=_0x187f67[_0x199646(0x2e6)];_0x30c2ae++)for(let _0xda3887=_0x187f67[_0x199646(0x390)];_0xda3887<=_0x187f67[_0x199646(0x139)];_0xda3887++){const _0x221960=_0x110d71[_0x199646(0x2f5)](_0x30c2ae,_0xda3887);if(_0x221960&&(_0x2f9c71['isFormulaString'](_0x221960['f'])||_0x2f9c71[_0x199646(0xe9)](_0x221960['si'])))return!0x0;}}return!0x1;}};_0x368987=_0x1df6f2([_0x14de57(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x97839d[_0x1203bc(0x1f2)])),_0x14de57(0x1,_0x2f9c71[_0x1203bc(0x183)]),_0x14de57(0x2,_0x2f9c71[_0x1203bc(0xff)]),_0x14de57(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x1c1235[_0x1203bc(0x23f)])),_0x14de57(0x4,_0x2f9c71[_0x1203bc(0x19b)]),_0x14de57(0x5,_0x2f9c71[_0x1203bc(0x220)]),_0x14de57(0x6,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0xed)]))],_0x368987);var _0x5e4b19=Object['getOwnPropertyDescriptor'],_0x495ba0=(_0x19298b,_0x38d222,_0x454adf,_0x22cc69)=>{const _0x4e3346=_0x1203bc;for(var _0x1196f8=_0x22cc69>0x1?void 0x0:_0x22cc69?_0x5e4b19(_0x38d222,_0x454adf):_0x38d222,_0x3395a4=_0x19298b[_0x4e3346(0x381)]-0x1,_0x527f14;_0x3395a4>=0x0;_0x3395a4--)(_0x527f14=_0x19298b[_0x3395a4])&&(_0x1196f8=_0x527f14(_0x1196f8)||_0x1196f8);return _0x1196f8;},_0x5456a3=(_0x5827f4,_0xa49079)=>(_0x428ba0,_0x24f691)=>_0xa49079(_0x428ba0,_0x24f691,_0x5827f4);let _0x4da336=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x5bd9c8,_0x245ebf,_0x32d4fc){const _0x2d24f3=_0x1203bc;super(),_0x5e2d7e(this,'_cachedData',new Map()),_0x5e2d7e(this,_0x2d24f3(0xd1),new Map()),_0x5e2d7e(this,_0x2d24f3(0x113),!0x1),(this[_0x2d24f3(0x233)]=_0x5bd9c8,this[_0x2d24f3(0x2a9)]=_0x245ebf,this[_0x2d24f3(0x33e)]=_0x32d4fc);}[_0x1203bc(0x31a)](){const _0x24a052=_0x1203bc;this[_0x24a052(0x113)]=!0x0;}[_0x1203bc(0x13c)](){this['_disabled']=!0x1;}get[_0x1203bc(0x112)](){const _0x21113f=_0x1203bc;return this[_0x21113f(0xd1)];}['dispose'](){const _0x1b20d1=_0x1203bc;this[_0x1b20d1(0x18d)]()[_0x1b20d1(0x1ee)](()=>super['dispose']());}async[_0x1203bc(0x251)](_0x4768bc){const _0x362f51=_0x1203bc;return this[_0x362f51(0x113)]?null:this[_0x362f51(0x2a9)]['getItem'](_0x483f62[_0x362f51(0x276)](_0x4768bc));}async[_0x1203bc(0x39b)](_0x43fcbc,_0x16324a){const _0x4ea8a3=_0x1203bc;return!!this[_0x4ea8a3(0x2a9)]['setItem'](_0x43fcbc,_0x16324a);}[_0x1203bc(0xfc)](_0x687b89,_0x3d3350,_0x4c51e3,_0x70bfb1){const _0x210d14=_0x1203bc,_0x59c1de=this[_0x210d14(0x33e)]['getCurrentRevOfUnit'](_0x687b89);this[_0x210d14(0x21b)][_0x210d14(0x186)](_0x687b89,{'unitID':_0x687b89,'type':_0x3d3350,'awaitingChangeset':_0x4c51e3,'mutations':_0x70bfb1,'rev':_0x59c1de}),this[_0x210d14(0xd1)][_0x210d14(0x1c6)](_0x687b89)||this['_scheduleSaving'](_0x687b89);}[_0x1203bc(0x32a)](_0x4be823){const _0x349e60=_0x1203bc,_0xc692a9=this[_0x349e60(0x1a9)]();_0xc692a9===0x0?this[_0x349e60(0x1fa)](_0x4be823):this[_0x349e60(0xd1)][_0x349e60(0x186)](_0x4be823,setTimeout(()=>this[_0x349e60(0x1fa)](_0x4be823),_0xc692a9));}[_0x1203bc(0x1a9)](){const _0x7791c0=_0x1203bc;var _0x28e8d4;return(_0x28e8d4=this[_0x7791c0(0x233)]['getConfig'](_0x483f62[_0x7791c0(0x2bc)]))!=null?_0x28e8d4:_0x483f62['LOCAL_CACHE_INTERVAL'];}[_0x1203bc(0x1fa)](_0x3ac8a7){const _0x2f34d8=_0x1203bc,_0x1ceadb=this[_0x2f34d8(0xd1)][_0x2f34d8(0x28e)](_0x3ac8a7);return _0x1ceadb!==void 0x0&&window[_0x2f34d8(0x30c)](_0x1ceadb),this[_0x2f34d8(0x2a9)][_0x2f34d8(0x32b)](_0x483f62['getLocalCacheKey'](_0x3ac8a7),this[_0x2f34d8(0x21b)]['get'](_0x3ac8a7))[_0x2f34d8(0x1ee)](()=>this[_0x2f34d8(0xd1)]['delete'](_0x3ac8a7));}async[_0x1203bc(0x18d)](){const _0x385b26=_0x1203bc,_0x5b671d=[];this['_saveTaskMap'][_0x385b26(0x2fb)]((_0x399482,_0x568903)=>{const _0x3bf4cf=_0x385b26;window['clearTimeout'](_0x399482),_0x5b671d[_0x3bf4cf(0x35e)](this[_0x3bf4cf(0x1fa)](_0x568903)[_0x3bf4cf(0x1ee)](()=>{const _0x55a6d5=_0x3bf4cf;this[_0x55a6d5(0xd1)][_0x55a6d5(0x2eb)](_0x568903);}));}),await Promise[_0x385b26(0x1dd)](_0x5b671d);}};_0x4da336=_0x495ba0([_0x5456a3(0x0,_0x2f9c71[_0x1203bc(0xff)]),_0x5456a3(0x1,_0x2f9c71[_0x1203bc(0x2b3)]),_0x5456a3(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x555c33[_0x1203bc(0x3b3)]))],_0x4da336);class _0x29b4a8 extends _0x2f9c71[_0x1203bc(0x201)]{constructor(){const _0x503272=_0x1203bc;super(),_0x5e2d7e(this,_0x503272(0x189)),this['urlChange$']=_0x4b9e95['fromEvent'](window,_0x503272(0x2b6))[_0x503272(0x1e5)](_0x4b9e95[_0x503272(0x300)](this[_0x503272(0x17c)]),_0x4b9e95[_0x503272(0x153)](0x1),_0x4b9e95[_0x503272(0x172)](void 0x0));}[_0x1203bc(0x377)](_0x55a47a,_0x5ff7d4,_0x5e18a6=!0x1){const _0x4c844b=_0x1203bc,_0x4150ad=new URL(window[_0x4c844b(0x1e1)][_0x4c844b(0x13e)]);_0x4150ad[_0x4c844b(0x348)][_0x4c844b(0x186)](_0x55a47a,_0x5ff7d4),_0x5e18a6?window[_0x4c844b(0x10c)][_0x4c844b(0x177)]('','',_0x4150ad['toString']()):window['history']['pushState']('','',_0x4150ad[_0x4c844b(0x24c)]());}[_0x1203bc(0x34a)](_0x50d8ae,_0x559719=!0x1){const _0x1d3de9=_0x1203bc,_0xea18b6=new URL(window[_0x1d3de9(0x1e1)][_0x1d3de9(0x13e)]);_0xea18b6['searchParams'][_0x1d3de9(0x2eb)](_0x50d8ae),_0x559719?window[_0x1d3de9(0x10c)][_0x1d3de9(0x177)]('','',_0xea18b6[_0x1d3de9(0x24c)]()):window[_0x1d3de9(0x10c)]['pushState']('','',_0xea18b6[_0x1d3de9(0x24c)]());}[_0x1203bc(0x229)](_0x1dc9b2){const _0x297071=_0x1203bc;var _0x476346;return(_0x476346=new URL(window['location'][_0x297071(0x13e)])[_0x297071(0x348)][_0x297071(0x28e)](_0x1dc9b2))!=null?_0x476346:void 0x0;}}var _0xc3dee6=Object[_0x1203bc(0x34f)],_0x34cf1d=Object[_0x1203bc(0x29b)],_0x42903a=(_0x4407f2,_0x4c0271,_0x2d0f31)=>_0x4c0271 in _0x4407f2?_0xc3dee6(_0x4407f2,_0x4c0271,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d0f31}):_0x4407f2[_0x4c0271]=_0x2d0f31,_0x9fe56f=(_0x50be3c,_0x28f70a,_0x457eb2,_0x1ac430)=>{for(var _0x4d395b=_0x1ac430>0x1?void 0x0:_0x1ac430?_0x34cf1d(_0x28f70a,_0x457eb2):_0x28f70a,_0x467939=_0x50be3c['length']-0x1,_0x5841b7;_0x467939>=0x0;_0x467939--)(_0x5841b7=_0x50be3c[_0x467939])&&(_0x4d395b=_0x5841b7(_0x4d395b)||_0x4d395b);return _0x4d395b;},_0x35d4f9=(_0x2113b0,_0x464874)=>(_0x49f3e5,_0x1adc30)=>_0x464874(_0x49f3e5,_0x1adc30,_0x2113b0),_0x55406a=(_0x5f1b1a,_0x57fa41,_0x16ae79)=>_0x42903a(_0x5f1b1a,_0x57fa41+'',_0x16ae79);const _0x1e5233=_0x1203bc(0x288);_0x12f853[_0x1203bc(0x3b0)]=class extends _0x2f9c71['Plugin']{constructor(_0x5a379c=_0x4795ce,_0x1ff696,_0x4493e9,_0x5d15f5){const _0x43be0b=_0x1203bc;super(),this[_0x43be0b(0x37a)]=_0x5a379c,this[_0x43be0b(0x386)]=_0x1ff696,this[_0x43be0b(0x2ec)]=_0x4493e9,this[_0x43be0b(0x233)]=_0x5d15f5;const {..._0x329284}=_0x2f9c71[_0x43be0b(0x134)]({},_0x4795ce,this[_0x43be0b(0x37a)]);this['_configService'][_0x43be0b(0x38f)](_0x5e1025,_0x329284);}[_0x1203bc(0x378)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x1203bc(0x15e)](){this['_registerRenderDependencies']();}[_0x1203bc(0x228)](){const _0x2bdb08=_0x1203bc;var _0x3a5aa0;const _0x4d717b=[[_0x3df9df],[_0x368987],[_0x39b66e],[_0x36697e],[_0x3e9655],[_0x26bb99],[_0x34744d,{'useClass':_0x29b4a8}],[_0x1c1235[_0x2bdb08(0x2b1)],{'useClass':_0x1c1235['WebSocketService']}],[_0x483f62['ILocalCacheService'],{'useClass':_0x4da336}],[_0x12f853['DesktopCollaborationStatusDisplayController']],[_0x438673],[_0x527dfc],[_0x36bfc6],[_0x82a21d],[_0x12f853[_0x2bdb08(0x211)]]];this[_0x2bdb08(0x37a)][_0x2bdb08(0x282)]&&_0x4d717b[_0x2bdb08(0x35e)]([_0x45fd84]),_0x2f9c71[_0x2bdb08(0x32f)](this['_injector'],_0x2f9c71[_0x2bdb08(0x1be)](_0x4d717b,(_0x3a5aa0=this['_config'])==null?void 0x0:_0x3a5aa0[_0x2bdb08(0x1b2)]));}['_registerRenderDependencies'](){const _0x353e8d=_0x1203bc;this[_0x353e8d(0x293)](this[_0x353e8d(0x386)][_0x353e8d(0x38a)](_0x2f9c71[_0x353e8d(0xe2)][_0x353e8d(0x1ea)],[_0x574c0a])),this[_0x353e8d(0x293)](this[_0x353e8d(0x386)][_0x353e8d(0x38a)](_0x2f9c71['UniverInstanceType'][_0x353e8d(0x18a)],[_0x1873f7]));}[_0x1203bc(0xcb)](){const _0x35b33e=_0x1203bc;_0x2f9c71[_0x35b33e(0x1cb)](this[_0x35b33e(0x2ec)],[[_0x36bfc6],[_0x12f853[_0x35b33e(0x2e9)]],[_0x438673],[_0x527dfc],[_0x12f853['CollaborationDataLoaderController']],[_0x368987]]),this['_config']['enableFrontendLog']&&_0x2f9c71[_0x35b33e(0x1cb)](this['_injector'],[[_0x45fd84]]);}},_0x55406a(_0x12f853[_0x1203bc(0x3b0)],_0x1203bc(0x1c8),_0x1e5233),_0x12f853[_0x1203bc(0x3b0)]=_0x9fe56f([_0x2f9c71[_0x1203bc(0xc2)](_0x483f62[_0x1203bc(0x2fe)]),_0x35d4f9(0x1,_0x3281d5['IRenderManagerService']),_0x35d4f9(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x35d4f9(0x3,_0x2f9c71[_0x1203bc(0xff)])],_0x12f853[_0x1203bc(0x3b0)]);var _0x448232=Object[_0x1203bc(0x29b)],_0x291ce1=(_0x45e29a,_0x2ea9de,_0x4ec5bc,_0x322c1a)=>{for(var _0x4dc779=_0x322c1a>0x1?void 0x0:_0x322c1a?_0x448232(_0x2ea9de,_0x4ec5bc):_0x2ea9de,_0x58b3aa=_0x45e29a['length']-0x1,_0x26cfa8;_0x58b3aa>=0x0;_0x58b3aa--)(_0x26cfa8=_0x45e29a[_0x58b3aa])&&(_0x4dc779=_0x26cfa8(_0x4dc779)||_0x4dc779);return _0x4dc779;},_0x321dfb=(_0x2bf8e4,_0x18e937)=>(_0x195df2,_0x5c8fac)=>_0x18e937(_0x195df2,_0x5c8fac,_0x2bf8e4);_0x12f853[_0x1203bc(0x3b4)]=class extends _0x483f62['CollaborationSocketService']{constructor(_0x677f80,_0x36e83a,_0x38ea4f,_0x498fba,_0x8eb34b){super(_0x677f80,_0x36e83a,_0x38ea4f,_0x498fba,_0x8eb34b);}async[_0x1203bc(0xc5)](_0x2c67f3){const _0x5cdb9f=_0x1203bc,_0x1e440a=await this[_0x5cdb9f(0x31c)](),_0x13b70b=this[_0x5cdb9f(0x36c)](_0x2c67f3,_0x1e440a);return this[_0x5cdb9f(0x2df)](_0x13b70b);}[_0x1203bc(0x36c)](_0x41617d,_0x29edef){const _0x284264=_0x1203bc,_0x2d7596=typeof window>'u'?new URL(_0x41617d):new URL(_0x41617d,window[_0x284264(0x1e1)][_0x284264(0x155)]);_0x2d7596[_0x284264(0x348)][_0x284264(0x186)](_0x284264(0x1f4),_0x29edef);const _0x4f4240=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x284264(0x1e1)][_0x284264(0x162)]);return _0x4f4240[_0x284264(0x28e)](_0x284264(0x3a3))&&_0x2d7596[_0x284264(0x348)]['set'](_0x284264(0x3a3),_0x4f4240['get'](_0x284264(0x3a3))),_0x2d7596['toString']();}async[_0x1203bc(0x31c)](){const _0x6232b9=_0x1203bc;var _0x2f309a,_0x4ab5d7,_0x225eda;const _0x55df1d=this['_configService']['getConfig'](_0x483f62[_0x6232b9(0x2c6)]),_0x589a0=(_0x2f309a=_0x55df1d==null?void 0x0:_0x55df1d[_0x6232b9(0x1f0)])!=null?_0x2f309a:_0x483f62[_0x6232b9(0x358)];return(_0x225eda=(_0x4ab5d7=(await this[_0x6232b9(0x247)][_0x6232b9(0x28e)](_0x589a0,{'headers':{'Content-Type':_0x6232b9(0x1e4)}}))[_0x6232b9(0x24d)])==null?void 0x0:_0x4ab5d7[_0x6232b9(0x315)])!=null?_0x225eda:'';}},_0x12f853[_0x1203bc(0x3b4)]=_0x291ce1([_0x321dfb(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71['Injector'])),_0x321dfb(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x1c1235[_0x1203bc(0x23f)])),_0x321dfb(0x2,_0x2f9c71[_0x1203bc(0xff)]),_0x321dfb(0x3,_0x2f9c71[_0x1203bc(0x220)]),_0x321dfb(0x4,_0x555c33[_0x1203bc(0x26a)])],_0x12f853[_0x1203bc(0x3b4)]);var _0x31126f=Object[_0x1203bc(0x29b)],_0xc32723=(_0x2ea642,_0x105da2,_0x2d7721,_0x7eb7a7)=>{const _0x14b9e2=_0x1203bc;for(var _0x5dd060=_0x7eb7a7>0x1?void 0x0:_0x7eb7a7?_0x31126f(_0x105da2,_0x2d7721):_0x105da2,_0x31709b=_0x2ea642[_0x14b9e2(0x381)]-0x1,_0x93c027;_0x31709b>=0x0;_0x31709b--)(_0x93c027=_0x2ea642[_0x31709b])&&(_0x5dd060=_0x93c027(_0x5dd060)||_0x5dd060);return _0x5dd060;},_0x7a1df2=(_0x12fdc1,_0x4679fe)=>(_0x568a37,_0x152efd)=>_0x4679fe(_0x568a37,_0x152efd,_0x12fdc1);_0x12f853[_0x1203bc(0x127)]=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x57025b,_0x45a223,_0x100136){const _0x2e89b7=_0x1203bc;super(),this['_instanceService']=_0x57025b,this[_0x2e89b7(0x247)]=_0x45a223,this[_0x2e89b7(0x233)]=_0x100136;}async['runOnServer'](_0x5c709b,_0x2bd209,_0x43bc49,..._0x12c122){const _0xd29922=_0x1203bc;var _0x52d537,_0x5e376f,_0x4b94ac,_0x17a7d5;const _0x236dac=this['_instanceService'][_0xd29922(0x193)]();if(!_0x236dac)throw new Error(_0xd29922(0x1ca));const _0x4ed675=((_0x52d537=this[_0xd29922(0x233)]['getConfig'](_0x483f62[_0xd29922(0x121)]))!=null?_0x52d537:_0x483f62['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5c709b+_0xd29922(0x222)+_0x2bd209,_0x3812c2=new URL(window['location'][_0xd29922(0x13e)]),_0x15327e={'scriptId':_0x5c709b,'runId':(_0x5e376f=_0x3812c2[_0xd29922(0x348)][_0xd29922(0x28e)]('runId'))!=null?_0x5e376f:'','function':_0x2bd209,'unitId':_0x236dac[_0xd29922(0x140)](),'argsOfFunction':JSON['stringify'](_0x12c122),'invokeId':(_0x4b94ac=_0x43bc49[_0xd29922(0x23b)])!=null?_0x4b94ac:'','executionId':(_0x17a7d5=_0x43bc49[_0xd29922(0x2da)])!=null?_0x17a7d5:''};try{const _0x136c59=await this[_0xd29922(0x247)][_0xd29922(0x2d8)](_0x4ed675,{'body':_0x15327e});return _0x136c59['body']['error']&&_0x136c59[_0xd29922(0x24d)]['error'][_0xd29922(0x1e3)]!==_0x4a6838['OK']?_0xd29922(0x1b7):_0x136c59['body'][_0xd29922(0x159)];}catch{return _0xd29922(0x1b7);}}},_0x12f853['RemoteUniscriptService']=_0xc32723([_0x7a1df2(0x0,_0x2f9c71['IUniverInstanceService']),_0x7a1df2(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x1c1235[_0x1203bc(0x23f)])),_0x7a1df2(0x2,_0x2f9c71[_0x1203bc(0xff)])],_0x12f853[_0x1203bc(0x127)]);const _0x1eec61=0x7530,_0x200768='ACTIVE_UNIT_EVENT_CHANNEL';class _0x495ce4 extends _0x2f9c71['Disposable']{constructor(){const _0x3e1cfb=_0x1203bc;super(),_0x5e2d7e(this,'_id',_0x2f9c71['generateRandomId']()),_0x5e2d7e(this,_0x3e1cfb(0x123),new Set()),_0x5e2d7e(this,_0x3e1cfb(0x34c),new Map()),_0x5e2d7e(this,_0x3e1cfb(0x286),null),_0x5e2d7e(this,_0x3e1cfb(0x3b8),new Map()),_0x5e2d7e(this,_0x3e1cfb(0x25f),new Map()),this['_init']();}[_0x1203bc(0x105)](){const _0x3f1727=_0x1203bc;super[_0x3f1727(0x105)](),this[_0x3f1727(0x3b8)]['forEach']((_0x3e7e27,_0x51fbff)=>this[_0x3f1727(0x27f)](_0x51fbff)),this[_0x3f1727(0x286)]&&window[_0x3f1727(0x196)](this[_0x3f1727(0x286)]);}[_0x1203bc(0x108)](_0x4fe474){const _0x496169=_0x1203bc;return this[_0x496169(0x356)](_0x4fe474)['pipe'](_0x4b9e95['distinctUntilChanged']());}[_0x1203bc(0x23c)](_0x32b73e){const _0x1659ca=_0x1203bc;this[_0x1659ca(0x123)][_0x1659ca(0x260)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x1659ca(0x298)](_0x32b73e),this[_0x1659ca(0x109)]({'type':0x0,'memberID':this[_0x1659ca(0x254)],'unitIDs':[_0x32b73e],'isForwarded':!0x1});}[_0x1203bc(0x133)](_0x19854c){const _0x3db240=_0x1203bc;this[_0x3db240(0x123)][_0x3db240(0x2eb)](_0x19854c),this['_selfUnitIDs'][_0x3db240(0x260)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x3db240(0x286)]);}[_0x1203bc(0x3ad)](){const _0x4609a0=_0x1203bc;this[_0x4609a0(0x293)](_0x2f9c71[_0x4609a0(0x1e7)](_0x4b9e95[_0x4609a0(0x205)](window,_0x4609a0(0x382))['subscribe'](_0x53e443=>{const _0x12f2d9=_0x4609a0;if(_0x53e443[_0x12f2d9(0x17f)]!==_0x200768||!_0x53e443[_0x12f2d9(0x10f)])return;const _0x434d99=JSON[_0x12f2d9(0x225)](_0x53e443['newValue']);this['_handleEvent'](_0x434d99);}))),window[_0x4609a0(0x18e)]('unload',()=>this[_0x4609a0(0x109)]({'type':0x1,'memberID':this[_0x4609a0(0x254)],'unitIDs':Array[_0x4609a0(0x1f5)](this[_0x4609a0(0x123)])}));}[_0x1203bc(0x355)](_0x16668b){const _0x9c1370=_0x1203bc;switch(_0x16668b[_0x9c1370(0x101)]){case 0x0:this[_0x9c1370(0x2e7)](_0x16668b);break;case 0x1:this[_0x9c1370(0x372)](_0x16668b);break;case 0x2:this[_0x9c1370(0x1cf)](_0x16668b);break;}}['_handleJoinEvent'](_0x32ee86){const _0x59d014=_0x1203bc,{unitIDs:_0x43dd0c,memberID:_0x41f5b5,isForwarded:_0x2b88cb}=_0x32ee86;_0x43dd0c['forEach'](_0x33eded=>{const _0x21c3ac=_0x4f4a;if(!_0x2b88cb&&this[_0x21c3ac(0x34c)][_0x21c3ac(0x1c6)](_0x33eded)&&this[_0x21c3ac(0x356)](_0x33eded)[_0x21c3ac(0x326)](_0x483f62[_0x21c3ac(0x2bf)][_0x21c3ac(0x2a1)]),!this[_0x21c3ac(0x34c)]['has'](_0x33eded)||!this['_unitOnClients'][_0x21c3ac(0x28e)](_0x33eded)[_0x21c3ac(0x1c6)](_0x41f5b5)){const _0x11494f=this[_0x21c3ac(0x34c)][_0x21c3ac(0x28e)](_0x33eded)||new Set();_0x11494f[_0x21c3ac(0x298)](_0x41f5b5),this[_0x21c3ac(0x34c)][_0x21c3ac(0x186)](_0x33eded,_0x11494f),this['_scheduleClearOtherTimer'](_0x41f5b5);}}),_0x2b88cb||this[_0x59d014(0x109)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x59d014(0x123)]],'isForwarded':!0x0});}[_0x1203bc(0x30a)](_0x41ef2f){const _0x46b0e8=_0x1203bc;this[_0x46b0e8(0x27f)](_0x41ef2f);const _0xa168e4=window[_0x46b0e8(0x1a1)](()=>{const _0x1dc31b=_0x46b0e8;this[_0x1dc31b(0x34c)]['forEach'](_0x5419e5=>{const _0x20be0f=_0x1dc31b;_0x5419e5[_0x20be0f(0x2eb)](_0x41ef2f);});},_0x1eec61*0x2);this['_clearOtherTimers'][_0x46b0e8(0x186)](_0x41ef2f,_0xa168e4);}[_0x1203bc(0x27f)](_0x3f7a0e){const _0x552025=_0x1203bc;if(this[_0x552025(0x3b8)][_0x552025(0x1c6)](_0x3f7a0e)){const _0x11f4f7=this['_clearOtherTimers'][_0x552025(0x28e)](_0x3f7a0e);_0x11f4f7&&window['clearTimeout'](_0x11f4f7),this['_clearOtherTimers'][_0x552025(0x186)](_0x3f7a0e,null);}}['_handleLeaveEvent'](_0x28ceff){const _0x578e69=_0x1203bc,{memberID:_0x102499,unitIDs:_0x185362}=_0x28ceff;_0x185362[_0x578e69(0x2fb)](_0x990b4a=>{const _0x5a2a10=_0x578e69;var _0xc74f2f;const _0x27f906=this[_0x5a2a10(0x34c)][_0x5a2a10(0x28e)](_0x990b4a);_0x27f906&&(_0x27f906['delete'](_0x102499),(_0xc74f2f=this['_ensureSubject'](_0x990b4a))==null||_0xc74f2f['next'](_0x27f906[_0x5a2a10(0x260)]===0x0?_0x483f62[_0x5a2a10(0x2bf)][_0x5a2a10(0x141)]:_0x483f62[_0x5a2a10(0x2bf)][_0x5a2a10(0x2a1)]));}),this[_0x578e69(0x27f)](_0x102499);}[_0x1203bc(0x1cf)](_0x594d32){const _0x2e05f7=_0x1203bc;this[_0x2e05f7(0x30a)](_0x594d32[_0x2e05f7(0x320)]);}[_0x1203bc(0x109)](_0x1fd62f){const _0x3c7888=_0x1203bc;localStorage[_0x3c7888(0x32b)](_0x200768,JSON[_0x3c7888(0x2b2)](_0x1fd62f));}['_scheduleHeartbeat'](){const _0x58a35b=_0x1203bc;this[_0x58a35b(0x286)]=window[_0x58a35b(0x37f)](()=>{const _0x3bade9=_0x58a35b;this[_0x3bade9(0x109)]({'type':0x2,'memberID':this[_0x3bade9(0x254)]});},_0x1eec61);}[_0x1203bc(0x356)](_0xb44b48){const _0x40031a=_0x1203bc;return this[_0x40031a(0x25f)][_0x40031a(0x1c6)](_0xb44b48)||this[_0x40031a(0x25f)][_0x40031a(0x186)](_0xb44b48,new _0x4b9e95[(_0x40031a(0x396))](_0x483f62[_0x40031a(0x2bf)][_0x40031a(0x141)])),this[_0x40031a(0x25f)]['get'](_0xb44b48);}}_0x12f853[_0x1203bc(0x182)]=_0x34744d,_0x12f853['SheetCollabCursorShape']=_0x4486c3,_0x12f853[_0x1203bc(0x11d)]=_0x495ce4,_0x12f853['WebURLService']=_0x29b4a8,Object['defineProperty'](_0x12f853,Symbol[_0x1203bc(0x151)],{'value':_0x1203bc(0x217)});}));function _0x4f4a(_0x121786,_0x2ada10){_0x121786=_0x121786-0xbb;const _0x458d66=_0x458d();let _0x4f4aec=_0x458d66[_0x121786];return _0x4f4aec;}function _0x458d(){const _0x166f88=['getUniverSheetInstance','_toggleOffline','_collaborationUIEventService','_getLighterColor','rxjs','catch','CollaborationEvent','_offsetY','6MHuTpD','_configService','RECT','LICENSE_IMPORT_SIZE_EXCEEDED','clipPath','session.will-retry','createInstance','startsWith','unitId','invokeId','editingUnit','text','activeSheet$','HTTPService','mask','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_scene','ITransformService','Rectangle','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[CollaborationDataLoaderController]','_httpService','ranges','arc','transformMutationsWithChangeset','_entityInit$','toString','body','deserializeRangeWithSheet','defs','_messageService','loadOfflineData','_hover','onPointerMove$','_id','Disposable','_getScale','contains','ENTITLE_COUPON_EXPIRED','createIdentifier','collaboration.offline-data-not-saved','registerComponent','ENTITLE_REPORT_LIMIT_EXCEED','_collabSessionService','textRanges','_unitStatus','size','trim','event$','formula.calculation.waiting','isActive','SetFormulaCalculationNotificationMutation','_highlight','rgba','idSuffix','UniverNetwork','ISnapshotServerService','Workbook','stage','handleDeleteRangeMoveUp','EffectRefRangId','_monkeyPatchLogService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','NodePositionConvertToCursor','Subject','LICENSE_DISTRO_REJECTED','getCoordByCell','drawWith','getLocalCacheKey','CONFLICT','USERS_LEAVE','beginPath','...','entityInit$','values','connectInjector','SetWorksheetActivateCommand','_removeClearOtherTimer','TOO_MANY_REQUESTS','addObjects','enableFrontendLog','_anchorDot','ENTITLE_INVALID_COUPON_CODE','params','_heartbeatTimer','docStateChange$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','M0\x200H16V16H0z','VIEW_MAIN','_toggleOnline','Tools','_pollingInterval','get','INVALID_ARGUMENT','FormulaExecutedStateType','[Unhandled\x20Rejection]:\x20','_updateLocalCursor','disposeWithMe','getAncestorScale','_stopBlinking','RegularPolygon','roomMembers$','add','setOffsetY','map','getOwnPropertyDescriptor','setActiveRange','name','evenodd','onMouseMove','_collaborationSessionService','OTHER_CLIENTS_EDITING','_lastPointer','row','round','7316BDGEvH','_docSkeletonManagerService','showText','_urlService','_localStorageService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UniverIcon','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UniverDesign','forwardRef','error','getSheetId','ISocketService','stringify','ILocalStorageService','YUUMI_URL_COL_OUT_OF_RANGE','MOBILE_VERIFY_CODE_MISMATCH','popstate','REDEMPTION_USER_NOT_ELIGIBLE','Shape','IRenderManagerService','whenReady','UNDEFINED','LOCAL_CACHE_INTERVAL_KEY','LOGIN_FAILED','getCollabEntity$','UnitStatus','transformStateCache','loadUnit','fillRule','@univerjs/design','functionsExecutedState','m1Prime','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_blinkIntervalTimer','InsertRangeMoveRightCommandId','getColorFromTheme','sheetID','CollaborationUIEventService','collabCursorState$','sheetId','collabStatus.conflict','highlightSecond','YUUMI_RATE_OVER_LIMIT','_render','WECHAT_HAS_BEEN_BOUND','color','addHandlerCallback','BuiltInUIPart','cursorInfo','fromEventSubject','post',',\x200.2)','executionId','_onCursorUpdate','_localeService','_setupBeforeClosingHandler','eventID','_doCreateSocket','subUnitId','flatMap','top','univer-flex\x20univer-items-center','getSkeleton','_imageIoService','endRow','_handleJoinEvent','@univerjs/engine-formula','DesktopCollaborationStatusDisplayController','rgba(255,\x20255,\x20255,\x200.01)','delete','_injector','Loading','REDEMPTION_CODE_INACTIVE','children','getViewport','REDEMPTION_CODE_NOT_STARTED','_draw','bind','_drawAnchor','getValue','_docSkeleton','asObservable','_name','AWAITING_WITH_PENDING','/universer-api/license/formula/limit/status','forEach','getCollabCursors$','DOC_RANGE_TYPE','UniverCollaborationClientPlugin','_eventUnsubscribe','takeUntil','_context','ALREADY_EXISTS','_updateSubUnitFromURLParams','ENTITLE_INSUFFICIENT_QUOTA','rgba(','debounceTime','_colorAssignService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','filter','_scheduleClearOtherTimer','font','clearTimeout','_uploadLog','hide','getRelativeToViewportCoord','attrs','APPLY_REVISION_CONFILICT','0\x200\x2017\x2016','_docStateChangeManagerService','getTypeOfUnitDisposed$','ticket','UniverProCollaborationClient','deepClone','react','APPLY_PERMISSION_DENIED','disableLocalCache','univerjs-icon\x20univerjs-icon-','_getSessionTicket','_initStatusComponent','min','tag','memberID','_color','rgb','dirtyRanges','INTERNAL_ERROR','YUUMI_AI_RUN_FAILED','next','registerRefRange','_clearPolling','UniverProCollaboration','_scheduleSaving','setItem','IUIPartsService','collab-text-anchor-','offsetY','registerDependencies','status$','_getAnchorBounding','ColorKit','USER_NOT_INVITED_CODE','YUUMI_SUBSCRIPTION_NOT_FOUND','UniverProCollaborationClientUi','_transformUndoRedoStack','_checkAndWaitForCalculationPermission','m2Prime','@univerjs/docs','UniverRpc','AWAITING','transformSelections','_anchor','_revisionService','subscribe','UNRECOGNIZED','function','LOGIN_TOKEN_PROCESSING_FAILED','jsx','parseInt','_cursor','Rect','CONNECTOR_DATA_TOO_LARGE','searchParams','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','removeParam','off-line-icon_clip0_910_343','_unitOnClients','ENTITLE_USE_COUPON_NOT_1ST_TRADE','debug','defineProperty','_taskIds','strokeWidth','isTransformMutationFailure','UniverEngineRender','ENTITLE_DUP_SUBSCRIPTION','_handleEvent','_ensureSubject','CHANGESET_REVISION_CONFILICT','DEFAULT_WS_SESSION_TICKET_URL','_refreshCollabCursors','runRefRangeMutations','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getCurrentUnitForType','REDEMPTION_CODE_HAS_BEEN_CREATED','push','mutations','current','1em','currentColor','show','isArray','_initWindowErrorListener','imageSourceType','currentUsage','skeleton','getUnit','getConfig','displayName','_createSocketURL','Optional','getActiveSheet','createElement','getMember','_textBubble','_handleLeaveEvent','Warning','_initCommandInterceptor','Error','ONLINE','setParam','onStarting','svg','_config','SetFormulaCalculationStartMutation','EMAIL_VERIFY_CODE_MISMATCH','@univerjs/rpc','findNodePositionByCharIndex','setInterval','CollaborationStatus','length','storage','resize','handleInsertCol','sessionStatus$','_renderManagerService','engine','YUUMI_ASYNCIO_CANCELLED','UniverCore','registerRenderModule','YUUMI_TABLE_NOT_FOUND_IN_UNIT','365660tnfgdP','INVITE_CODE_ALREADY_BOUND','ThemeService','setConfig','startColumn','transformIMECache','2549358YLCsER','substring','collabStatus.offline','onCommandExecuted','BehaviorSubject','OFFLINE','addObject','FETCH_MISS','_sheetSkeletonManagerService','saveOfflineData','?taskId=','_startCalculationLimit','data','replaceDocRanges','cursorInfo$','_docSyncEditingCollabCursorService','UniverDrawing','runId','redoState','assignAColorForMemberID','useCallback','NOT_COLLAB','makeDirty','undoState','collaboration.closeRoom','height','_cursors','_init','bottom','_collabCursorController','UniverCollaborationClientUIPlugin','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_initEntityListener','RevisionService','BrowserCollaborationSocketService','INVALID_INVITE_CODE','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_syncEditingCollabCursorService','_clearOtherTimers','filename','slice','getTypeOfUnitAdded$','http://www.w3.org/2000/svg','UniverSheetsUi','APPLY_DUPLICATED','getMemberID','_drawRectRange','CollaborationController','xlink:href','_lastResponseTimestamp','DependentOn','DocSelectionManagerService','stack','createSocket','_range','_memberService','white','_assignedColors','UPDATE_CURSOR','_initDependencies','react/jsx-runtime','CollaborationSessionService','SheetSkeletonManagerService','Vector2','object','_saveTaskMap','column','unit','USER_IS_ANONYMOUS','getStateCache','_getSheetObject','with','_setFormulaLimitStatus','_blinkTimer','send','collabStatus.synced','transform','measureText','getUnhiddenWorksheets','_colorIndex','rxjs/operators','permission.title','UniverInstanceType','getSheetObject','DeleteRangeMoveLeftCommandId','CollaborationUIEventId','_startSheetCollabCursor','reason','11675554BZCLEf','isFormulaId','_session','unshift','labelPosition','LocaleService','IRemoteInstanceService','DocStateChangeManagerService','registerBeforeClose','ENSURE_SNAPSHOT_EXECUTION','CommandType','_initCommandExecutedListener','range','green.600','onPointerLeave$','7scSKag','getUndoRedoMutationParamsCache','_univerInstanceService','switchMap','REDEMPTION_CODE_FULLY_REDEEMED','updateOfflineData','@univerjs-pro/collaboration-client','black','IConfigService','unhandledrejection','type','_cursorInfo$','handleInsertRow','currentSkeleton$','dispose','_isBlinkVisible','APPLY_REJECT','getUnitStatus$','_send','red.300','fill','history','source','_maxFormulaLimit','newValue','handleMoveRange','PAYMENT_CHANNEL_NOT_SUPPORT','saveTaskMap','_disabled','FromArray','_localCacheService','selection','on-line-icon_clip0_910_349','subunit','collaboration.single-unit.warning','syncEditingCollabCursor','MoveRangeCommandId','univer-mr-2\x20univer-flex\x20univer-text-xl','WebBrowserSingleActiveUnitService','_checkCalculationAvailable','random','reconnect','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','assign','_selfUnitIDs','18CkHToN','save','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','RemoteUniscriptService','_cursorShapes','REDEMPTION_INVALID_CODE','_entities','_uiPartsService','SetDocZoomRatioOperation','stageInfo','INVITE_CODE_REQUIRED','getDocRanges','_showGuardMessage','_drawTextRange','exports','disposeUnit','merge','_currentUsage','_initResize','IBeforeCloseService','\x20at\x20','endColumn','message','_commandService','enableLocalCache','DocCollaborationEntity','href','_labelPosition','getUnitId','NO_OTHER_CLIENTS_EDITING','useDependency','executeCommand','setUndoRedoMutationParamsCache','collaboration-client-ui.config','SetTextSelectionsOperation','_transformService','_getMergeRange','getColor','permission.content','_applyCommand','_themeService','saveImage','0.2)','Tooltip','getSheetBySheetId','toStringTag','startRow','shareReplay','_beforeCloseService','origin','@univerjs/network','getCurrentSelections','2650550qsjjwp','result','amd','jsxs','getRangePointData','SOCKET_FAILED','onRendered','_collaborationController','path','INVITE_CODE_HAS_BEEN_UES','search','jiqing.500','_initUnhandledRejectionListener','Inject','_notificationService','debounce','moveTo','_document','init','START_CALCULATION','unsubscribe','off-line-icon','APPLY_NON_SEQUENTIAL_REVISION','#FFF','symbol','requireSession','mapTo','getOffsetConfig','socket$','restore','MessageType','replaceState','OTHER_CLIENT_EDITING','string','highlight','TEXT_RANGE_LAYER_INDEX','dispose$','fillStyle','transformRemoteChangeset','key','_initEvent','width','IURLService','ICommandService','COMPLETION_FINISHED','AUTHORIZE_CODE_ILLEGAL','set','startFormulaLimitUrl','generateRandomId','urlChange$','UNIVER_SHEET','_shapes','_onRefRangeChange','exhaustSavingTask','addEventListener','handleIRemoveCol','combineLatest','Unknown\x20user','_hovered','getFocusedUnit','serializeRangeWithSheet','replace','clearInterval','_docClipboardService','getCellPositionByOffset','DocIMEInputManagerService','YUUMI_CONNECTOR_URL_NOT_FOUND','IUniverInstanceService','_backgroundColor','7360055EcqddW','_onCursorDelete','none','_removeCollabCursors','setTimeout','_status$','complete','SNAPSHOT_HAS_BEEN_REMOVED','FormulaExecuteStageType','YUUMI_NO_CUBOID_FOR_QUESTION','SessionStatus','getCellMatrix','_getSaveTimeout','CanceledError','CLOSE_ROOM','_showText','_updateCollabCursors','IDocClipboardService','MOBILE_HAS_BEEN_BOUND','PENDING','toRgbString','override','lineno','LICENSE_MAX_UNITS_EXCEEDED','SHEET_VIEWPORT_KEY','_updateURLWithCurrentState','Failed','/universer-api/license/formula/limit/start','_transformHistoryAndStateStack','subscribeEvent','_docTransformSelectionsService','ENTITLE_CHAT_LIMIT_EXCEED','_collabCursorState$','mergeOverrideWithDependencies','YUUMI_UNABLE_LOAD_URL','_releaseCalculationLimit','_dataLoaderService','defIds','selections','session.connection-failed','_handleHover','has','closePath','pluginName','operators','[RemoteUniscriptService]:\x20no\x20focused\x20unit','touchDependencies','ENTITLE_NEED_BILLING_ADDRESS','Injector','_docTransformStateCacheService','_handleHeartbeatEvent','OnLineIcon','_docTransformIMECacheService','_initUserListener','[Window\x20Error]:\x20','UNAUTHENTICATED','setAlpha','removeEventListener','_hideTimer','fillText','MemberService','InsertRangeMoveDownCommandId','_refRangeService','purple.300','all','React','SYNCED','collabStatus.notCollab','location','blue.400','code','application/json','pipe','split','toDisposable','_highlightSecond','DeleteRangeMoveUpCommandId','UNIVER_DOC','ENTITLE_COUPON_USED_UP','PY_RUNTIME_SCRIPT_ERROR','375Fmterv','then','ERROR_AGAIN','wsSessionTicketUrl','actions','IMessageService','YUUMI_ALL_TABLES_IS_INVALID','sessionTicket','from','_startBlinking','SetSelectionsOperation','_hasFormulaInDirtyRanges','/universer-api/frontend/logs','_saveCache','EMAIL_HAS_BEEN_BOUND','getActiveRange','_initStatusListener','unitID','_roomMembers$','lineTo','RxDisposable','url(#$1','onTransformChange$','@univerjs/sheets-ui','fromEvent','getRenderById','_online','3335256oiReVT','div','@univerjs/drawing','now','getVpScrollXYInfoByPosToVp','UniverUi','JOIN_ROOM_FAILED','doc.mutation.rich-text-editing','currentTheme$','CollaborationDataLoaderController','collab-rect-range-','_memberID','find','setStateCache','COLORS','Module','isTransformMutationsWithChangesetSuccess','onPointerEnter$','USER_NOT_FOUND','_cachedData','SNAPSHOT_INVALID_SNAPSHOT','_logService','NOT_FOUND','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ILogService','transformMutation','/run/','PERMISSION_DENIED','setShapeProps','parse','limitInfo','onLocalMutation','_registerDependencies','getParam'];_0x458d=function(){return _0x166f88;};return _0x458d();}
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- function _0x4f2f(_0x5f2d87,_0x35fc79){_0x5f2d87=_0x5f2d87-0x15b;var _0x109df7=_0x109d();var _0x4f2f58=_0x109df7[_0x5f2d87];return _0x4f2f58;}(function(_0x2d148e,_0x16ba4e){var _0x4d1f2b=_0x4f2f,_0x169384=_0x2d148e();while(!![]){try{var _0x43d1b6=-parseInt(_0x4d1f2b(0x169))/0x1+parseInt(_0x4d1f2b(0x15d))/0x2+parseInt(_0x4d1f2b(0x16a))/0x3+parseInt(_0x4d1f2b(0x168))/0x4*(parseInt(_0x4d1f2b(0x164))/0x5)+parseInt(_0x4d1f2b(0x165))/0x6*(parseInt(_0x4d1f2b(0x161))/0x7)+parseInt(_0x4d1f2b(0x15f))/0x8*(parseInt(_0x4d1f2b(0x166))/0x9)+-parseInt(_0x4d1f2b(0x15e))/0xa;if(_0x43d1b6===_0x16ba4e)break;else _0x169384['push'](_0x169384['shift']());}catch(_0x2b47e7){_0x169384['push'](_0x169384['shift']());}}}(_0x109d,0x8801b),function(_0x5621af,_0x37af08){var _0x2cd29a=_0x4f2f;typeof exports==_0x2cd29a(0x163)&&typeof module<'u'?_0x37af08(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define=='function'&&define[_0x2cd29a(0x167)]?define([_0x2cd29a(0x15b),'@univerjs/core/facade'],_0x37af08):(_0x5621af=typeof globalThis<'u'?globalThis:_0x5621af||self,_0x37af08(_0x5621af[_0x2cd29a(0x15c)],_0x5621af[_0x2cd29a(0x162)]));}(this,function(_0x149861,_0x26fbd4){'use strict';var _0x56f91c=_0x4f2f;class _0x37bfb7 extends _0x26fbd4[_0x56f91c(0x16b)]{[_0x56f91c(0x16c)](_0x4ff776,_0x29512a,..._0x594c69){var _0x55c012=_0x56f91c;return this[_0x55c012(0x16d)]['get'](_0x149861['RemoteUniscriptService'])[_0x55c012(0x16c)](_0x4ff776,_0x29512a,{},..._0x594c69);}}_0x26fbd4[_0x56f91c(0x16b)][_0x56f91c(0x160)](_0x37bfb7);}));function _0x109d(){var _0x596da1=['runOnServer','_injector','@univerjs-pro/collaboration-client-ui','UniverProCollaborationClientUi','1699338ralkIc','17065960EhYiPI','206824lVoDLb','extend','28ygFlZH','UniverCoreFacade','object','330RsSwFb','922116PJARbg','216yAdnez','amd','13624xdxbTd','456243VzxFux','1230723RdwnCm','FUniver'];_0x109d=function(){return _0x596da1;};return _0x109d();}
11
+ function _0x3f66(_0x54fc7e,_0x4059a8){_0x54fc7e=_0x54fc7e-0xbb;var _0x2deceb=_0x2dec();var _0x3f66fe=_0x2deceb[_0x54fc7e];return _0x3f66fe;}(function(_0x3dccbd,_0x42b6d3){var _0x238faa=_0x3f66,_0xa0cd98=_0x3dccbd();while(!![]){try{var _0x351b8f=parseInt(_0x238faa(0xc8))/0x1+parseInt(_0x238faa(0xc6))/0x2*(-parseInt(_0x238faa(0xc7))/0x3)+parseInt(_0x238faa(0xc2))/0x4+-parseInt(_0x238faa(0xbc))/0x5*(-parseInt(_0x238faa(0xbf))/0x6)+-parseInt(_0x238faa(0xc4))/0x7*(parseInt(_0x238faa(0xcc))/0x8)+parseInt(_0x238faa(0xce))/0x9*(parseInt(_0x238faa(0xc9))/0xa)+-parseInt(_0x238faa(0xbe))/0xb;if(_0x351b8f===_0x42b6d3)break;else _0xa0cd98['push'](_0xa0cd98['shift']());}catch(_0x3ab0b2){_0xa0cd98['push'](_0xa0cd98['shift']());}}}(_0x2dec,0x740df),function(_0x2adffd,_0x1c8db9){var _0x74bd25=_0x3f66;typeof exports==_0x74bd25(0xca)&&typeof module<'u'?_0x1c8db9(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x74bd25(0xcd)&&define[_0x74bd25(0xc3)]?define(['@univerjs-pro/collaboration-client-ui','@univerjs/core/facade'],_0x1c8db9):(_0x2adffd=typeof globalThis<'u'?globalThis:_0x2adffd||self,_0x1c8db9(_0x2adffd[_0x74bd25(0xc1)],_0x2adffd[_0x74bd25(0xc5)]));}(this,function(_0x24fa77,_0x8a172b){'use strict';var _0x269de6=_0x3f66;class _0x1ab7bd extends _0x8a172b[_0x269de6(0xbb)]{[_0x269de6(0xbd)](_0x180006,_0x42df85,..._0x4a58ca){var _0x2638be=_0x269de6;return this[_0x2638be(0xc0)]['get'](_0x24fa77[_0x2638be(0xcb)])[_0x2638be(0xbd)](_0x180006,_0x42df85,{},..._0x4a58ca);}}_0x8a172b[_0x269de6(0xbb)]['extend'](_0x1ab7bd);}));function _0x2dec(){var _0x170477=['UniverCoreFacade','10ErtMKp','44313CbnuRj','43887xsbUho','10GXMRrB','object','RemoteUniscriptService','79160xEVqoC','function','7449597txVLby','FUniver','5jmWMhC','runOnServer','10376729vpsmtx','2013582hSmLHa','_injector','UniverProCollaborationClientUi','3001604YqJniC','amd','329GwHIRe'];_0x2dec=function(){return _0x170477;};return _0x2dec();}
12
12
 
13
13
  // index
14
14
  (function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/collaboration-client/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/collaboration-client/lib/facade"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.UniverPresetDocsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi))})(this,(function(e,i,l,t){"use strict";function a(n){const r=new URL(n,window.location.origin);switch(r.protocol){case"https:":r.protocol="wss:";break;case"http:":r.protocol="ws:";break}return r.toString()}function s(n={}){const{universerEndpoint:r}=n,o=r!=null?r:`${window.location.protocol}//${window.location.host}`;return{plugins:[i.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:!0,enableSingleActiveInstanceLock:!0,enableAuthServer:!0,authzUrl:`${o}/universer-api/authz`,snapshotServerUrl:`${o}/universer-api/snapshot`,collabSubmitChangesetUrl:`${o}/universer-api/comb`,collabWebSocketUrl:a(`${o}/universer-api/comb/connect`),loginUrlKey:`${o}/universer-api/oidc/authpage`,uploadFileServerUrl:`${o}/universer-api/stream/file/upload`,signUrlServerUrl:`${o}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${o}/`,wsSessionTicketUrl:`${o}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],t.UniverCollaborationClientUIPlugin]}}e.UniverDocsCollaborationPreset=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));