@univerjs/preset-sheets-collaboration 0.12.0 → 0.12.2
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 +7 -7
- package/lib/umd/locales/ca-ES.js +3 -3
- package/lib/umd/locales/en-US.js +3 -3
- package/lib/umd/locales/es-ES.js +3 -3
- package/lib/umd/locales/fa-IR.js +3 -3
- package/lib/umd/locales/fr-FR.js +3 -3
- package/lib/umd/locales/ja-JP.js +3 -3
- package/lib/umd/locales/ko-KR.js +3 -3
- package/lib/umd/locales/ru-RU.js +3 -3
- package/lib/umd/locales/vi-VN.js +3 -3
- package/lib/umd/locales/zh-CN.js +3 -3
- package/lib/umd/locales/zh-TW.js +3 -3
- package/package.json +10 -10
package/lib/umd/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
// @univerjs-pro/collaboration-client/index
|
|
2
|
-
function _0x239d(_0x2c18d6,_0x4cab3e){var _0x14f833=_0x14f8();return _0x239d=function(_0x239d66,_0x4c5e26){_0x239d66=_0x239d66-0x159;var _0x21772e=_0x14f833[_0x239d66];return _0x21772e;},_0x239d(_0x2c18d6,_0x4cab3e);}(function(_0x3696ee,_0x195c99){var _0x32e9a8=_0x239d,_0x33a899=_0x3696ee();while(!![]){try{var _0x32501a=parseInt(_0x32e9a8(0x48e))/0x1+parseInt(_0x32e9a8(0x272))/0x2+-parseInt(_0x32e9a8(0x3ae))/0x3*(-parseInt(_0x32e9a8(0x42a))/0x4)+-parseInt(_0x32e9a8(0x273))/0x5*(-parseInt(_0x32e9a8(0x1de))/0x6)+-parseInt(_0x32e9a8(0x398))/0x7*(parseInt(_0x32e9a8(0x21c))/0x8)+parseInt(_0x32e9a8(0x1e1))/0x9+-parseInt(_0x32e9a8(0x1d8))/0xa*(parseInt(_0x32e9a8(0x4e4))/0xb);if(_0x32501a===_0x195c99)break;else _0x33a899['push'](_0x33a899['shift']());}catch(_0x21fc34){_0x33a899['push'](_0x33a899['shift']());}}}(_0x14f8,0x6701e),function(_0x285ae7,_0x235c51){var _0x58015b=_0x239d;typeof exports==_0x58015b(0x4a0)&&typeof module<'u'?_0x235c51(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/drawing'),require('@univerjs-pro/license')):typeof define==_0x58015b(0x38c)&&define[_0x58015b(0x2d7)]?define(['exports','@univerjs-pro/collaboration',_0x58015b(0x219),'@univerjs/docs','@univerjs/sheets',_0x58015b(0x19e),_0x58015b(0x342),_0x58015b(0x4be),_0x58015b(0x1a3),_0x58015b(0x3a4),_0x58015b(0x33f)],_0x235c51):(_0x285ae7=typeof globalThis<'u'?globalThis:_0x285ae7||self,_0x235c51(_0x285ae7[_0x58015b(0x34b)]={},_0x285ae7[_0x58015b(0x323)],_0x285ae7[_0x58015b(0x4ae)],_0x285ae7[_0x58015b(0x1ae)],_0x285ae7[_0x58015b(0x15b)],_0x285ae7[_0x58015b(0x19e)],_0x285ae7['UniverTelemetry'],_0x285ae7[_0x58015b(0x19e)][_0x58015b(0x2cc)],_0x285ae7[_0x58015b(0x27a)],_0x285ae7[_0x58015b(0x4b6)],_0x285ae7[_0x58015b(0x181)]));}(this,function(_0x5ac5d4,_0x254674,_0x17feb2,_0x65b9e,_0xf0578e,_0xd6d137,_0x2c2438,_0x17b903,_0x5d9456,_0x513afe,_0x53486c){'use strict';var _0xe600ea=_0x239d;var _0x2b1fcc=Object['defineProperty'],_0x3fa6cf=(_0x1581fc,_0x4ce858,_0x1d177b)=>_0x4ce858 in _0x1581fc?_0x2b1fcc(_0x1581fc,_0x4ce858,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d177b}):_0x1581fc[_0x4ce858]=_0x1d177b,_0x358222=(_0x39656f,_0x5dc19d,_0xcd48af)=>_0x3fa6cf(_0x39656f,typeof _0x5dc19d!='symbol'?_0x5dc19d+'':_0x5dc19d,_0xcd48af);const _0x499d3c=_0xe600ea(0x29b),_0x78b8d2=_0xe600ea(0x255),_0x7074fe='ws://127.0.0.1:8000/universer-api/comb/connect',_0x467298=_0xe600ea(0x25c),_0x6e4708=_0xe600ea(0x338),_0x2ffda5='HEARTBEAT_TIMEOUT',_0x273ad5=_0xe600ea(0x39c),_0x3b999d='LOCAL_CACHE_INTERVAL',_0x3abca4='/universer-api/comb',_0xd24973='/universer-api/oidc/authpage',_0x212dcf=_0xe600ea(0x1a5),_0x3427a4='/universer-api/uniscript';var _0x1a6891=(_0x23ace6=>(_0x23ace6[_0x23ace6['UNDEFINED']=0x0]=_0xe600ea(0x277),_0x23ace6[_0x23ace6['OK']=0x1]='OK',_0x23ace6[_0x23ace6[_0xe600ea(0x2a8)]=0x2]=_0xe600ea(0x2a8),_0x23ace6[_0x23ace6[_0xe600ea(0x31c)]=0x3]=_0xe600ea(0x31c),_0x23ace6[_0x23ace6[_0xe600ea(0x307)]=0x4]=_0xe600ea(0x307),_0x23ace6[_0x23ace6['UNAUTHENTICATED']=0x5]=_0xe600ea(0x3b8),_0x23ace6[_0x23ace6[_0xe600ea(0x1e5)]=0x6]='ALREADY_EXISTS',_0x23ace6[_0x23ace6[_0xe600ea(0x2b0)]=0x7]=_0xe600ea(0x2b0),_0x23ace6[_0x23ace6['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x23ace6[_0x23ace6['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x23ace6[_0x23ace6[_0xe600ea(0x4d6)]=0xa]=_0xe600ea(0x4d6),_0x23ace6[_0x23ace6[_0xe600ea(0x320)]=0xb]=_0xe600ea(0x320),_0x23ace6[_0x23ace6[_0xe600ea(0x3f9)]=0xc]=_0xe600ea(0x3f9),_0x23ace6[_0x23ace6['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x23ace6[_0x23ace6[_0xe600ea(0x3e9)]=0xe]=_0xe600ea(0x3e9),_0x23ace6[_0x23ace6[_0xe600ea(0x251)]=0xf]=_0xe600ea(0x251),_0x23ace6[_0x23ace6['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0xe600ea(0x2fe),_0x23ace6[_0x23ace6[_0xe600ea(0x3c2)]=0x64]=_0xe600ea(0x3c2),_0x23ace6[_0x23ace6['ERROR_AGAIN']=0x65]=_0xe600ea(0x3b3),_0x23ace6[_0x23ace6[_0xe600ea(0x46a)]=0xc9]='USER_NOT_FOUND',_0x23ace6[_0x23ace6[_0xe600ea(0x2df)]=0xca]=_0xe600ea(0x2df),_0x23ace6[_0x23ace6['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xe600ea(0x172),_0x23ace6[_0x23ace6[_0xe600ea(0x319)]=0x1771]=_0xe600ea(0x319),_0x23ace6[_0x23ace6[_0xe600ea(0x2b5)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x23ace6[_0x23ace6[_0xe600ea(0x3d3)]=0x1773]=_0xe600ea(0x3d3),_0x23ace6[_0x23ace6[_0xe600ea(0x1cc)]=0x1b59]=_0xe600ea(0x1cc),_0x23ace6[_0x23ace6[_0xe600ea(0x2f7)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x23ace6[_0x23ace6[_0xe600ea(0x20f)]=0x1b5b]=_0xe600ea(0x20f),_0x23ace6[_0x23ace6[_0xe600ea(0x3de)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x23ace6[_0x23ace6[_0xe600ea(0x1f7)]=0x1b5d]='APPLY_DUPLICATED',_0x23ace6[_0x23ace6['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x23ace6[_0x23ace6[_0xe600ea(0x37e)]=0x2329]=_0xe600ea(0x37e),_0x23ace6[_0x23ace6[_0xe600ea(0x1bc)]=0x232a]=_0xe600ea(0x1bc),_0x23ace6[_0x23ace6[_0xe600ea(0x2d6)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x23ace6[_0x23ace6[_0xe600ea(0x1d2)]=0x232c]=_0xe600ea(0x1d2),_0x23ace6[_0x23ace6[_0xe600ea(0x425)]=0x232d]=_0xe600ea(0x425),_0x23ace6[_0x23ace6[_0xe600ea(0x162)]=0x2711]=_0xe600ea(0x162),_0x23ace6[_0x23ace6[_0xe600ea(0x40e)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x23ace6[_0x23ace6[_0xe600ea(0x414)]=0x2713]=_0xe600ea(0x414),_0x23ace6[_0x23ace6['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x23ace6[_0x23ace6[_0xe600ea(0x2f8)]=0x271a]=_0xe600ea(0x2f8),_0x23ace6[_0x23ace6[_0xe600ea(0x416)]=0x271b]=_0xe600ea(0x416),_0x23ace6[_0x23ace6[_0xe600ea(0x39b)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x23ace6[_0x23ace6[_0xe600ea(0x3f5)]=0x271d]=_0xe600ea(0x3f5),_0x23ace6[_0x23ace6['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0xe600ea(0x390),_0x23ace6[_0x23ace6[_0xe600ea(0x405)]=0x271f]=_0xe600ea(0x405),_0x23ace6[_0x23ace6[_0xe600ea(0x17a)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x23ace6[_0x23ace6['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x23ace6[_0x23ace6[_0xe600ea(0x197)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x23ace6[_0x23ace6['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x23ace6[_0x23ace6[_0xe600ea(0x35a)]=0x2ee3]=_0xe600ea(0x35a),_0x23ace6[_0x23ace6['USER_NOT_INVITED_CODE']=0x2ee4]=_0xe600ea(0x3c6),_0x23ace6[_0x23ace6[_0xe600ea(0x366)]=0x2ee5]=_0xe600ea(0x366),_0x23ace6[_0x23ace6[_0xe600ea(0x194)]=0x32c9]=_0xe600ea(0x194),_0x23ace6[_0x23ace6[_0xe600ea(0x36a)]=0x32ca]=_0xe600ea(0x36a),_0x23ace6[_0x23ace6['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x23ace6[_0x23ace6[_0xe600ea(0x1fc)]=0x36b1]=_0xe600ea(0x1fc),_0x23ace6[_0x23ace6[_0xe600ea(0x4c5)]=0x36b2]=_0xe600ea(0x4c5),_0x23ace6[_0x23ace6['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0xe600ea(0x447),_0x23ace6[_0x23ace6[_0xe600ea(0x19d)]=0x36b4]=_0xe600ea(0x19d),_0x23ace6[_0x23ace6[_0xe600ea(0x2da)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x23ace6[_0x23ace6[_0xe600ea(0x209)]=0x3716]=_0xe600ea(0x209),_0x23ace6[_0x23ace6['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x23ace6[_0x23ace6[_0xe600ea(0x353)]=0x37dd]=_0xe600ea(0x353),_0x23ace6[_0x23ace6[_0xe600ea(0x21a)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x23ace6[_0x23ace6['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0xe600ea(0x3f8),_0x23ace6[_0x23ace6[_0xe600ea(0x45f)]=0x3a9b]=_0xe600ea(0x45f),_0x23ace6[_0x23ace6[_0xe600ea(0x451)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x23ace6[_0x23ace6[_0xe600ea(0x21e)]=0x3a9d]=_0xe600ea(0x21e),_0x23ace6[_0x23ace6[_0xe600ea(0x3c0)]=0x3a9e]=_0xe600ea(0x3c0),_0x23ace6[_0x23ace6[_0xe600ea(0x4b3)]=0x3a9f]=_0xe600ea(0x4b3),_0x23ace6[_0x23ace6[_0xe600ea(0x1c9)]=0x3e81]=_0xe600ea(0x1c9),_0x23ace6[_0x23ace6[_0xe600ea(0x1ea)]=-0x1]=_0xe600ea(0x1ea),_0x23ace6))(_0x1a6891||{}),_0x45ea9e=(_0x38499b=>(_0x38499b[_0x38499b[_0xe600ea(0x315)]=0x0]=_0xe600ea(0x315),_0x38499b[_0x38499b[_0xe600ea(0x380)]=0x1]='UNIVER_DOC',_0x38499b[_0x38499b[_0xe600ea(0x291)]=0x2]=_0xe600ea(0x291),_0x38499b[_0x38499b[_0xe600ea(0x246)]=0x3]='UNIVER_SLIDE',_0x38499b[_0x38499b[_0xe600ea(0x21d)]=0x4]=_0xe600ea(0x21d),_0x38499b[_0x38499b[_0xe600ea(0x1ea)]=-0x1]=_0xe600ea(0x1ea),_0x38499b))(_0x45ea9e||{}),_0x46224e=(_0x339776=>(_0x339776[_0x339776[_0xe600ea(0x2a6)]=0x0]=_0xe600ea(0x2a6),_0x339776[_0x339776['HELLO']=0x1]=_0xe600ea(0x20d),_0x339776[_0x339776['JOIN']=0x2]=_0xe600ea(0x2e7),_0x339776[_0x339776[_0xe600ea(0x16f)]=0x3]='LEAVE',_0x339776[_0x339776[_0xe600ea(0x275)]=0x4]=_0xe600ea(0x275),_0x339776[_0x339776[_0xe600ea(0x461)]=0x5]='HEARTBEAT',_0x339776[_0x339776['RECV']=0x6]=_0xe600ea(0x2e1),_0x339776[_0x339776[_0xe600ea(0x1ea)]=-0x1]=_0xe600ea(0x1ea),_0x339776))(_0x46224e||{}),_0x594c4b=(_0x473f74=>(_0x473f74[_0x473f74[_0xe600ea(0x169)]=0x0]=_0xe600ea(0x169),_0x473f74[_0x473f74['OK']=0x1]='OK',_0x473f74[_0x473f74[_0xe600ea(0x269)]=0x2]='FAIL',_0x473f74[_0x473f74[_0xe600ea(0x23f)]=0x3e9]=_0xe600ea(0x23f),_0x473f74[_0x473f74[_0xe600ea(0x279)]=0x3ea]=_0xe600ea(0x279),_0x473f74[_0x473f74['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x473f74[_0x473f74[_0xe600ea(0x4d7)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x473f74[_0x473f74[_0xe600ea(0x1ea)]=-0x1]=_0xe600ea(0x1ea),_0x473f74))(_0x594c4b||{}),_0x592339=(_0x17bea7=>(_0x17bea7[_0x17bea7['Undefined']=0x0]=_0xe600ea(0x229),_0x17bea7[_0x17bea7['HttpImport']=0x1]='HttpImport',_0x17bea7[_0x17bea7[_0xe600ea(0x493)]=0x2]=_0xe600ea(0x493),_0x17bea7[_0x17bea7['UnitEmbedded']=0x3]='UnitEmbedded',_0x17bea7[_0x17bea7[_0xe600ea(0x2f1)]=0x4]=_0xe600ea(0x2f1),_0x17bea7[_0x17bea7[_0xe600ea(0x372)]=0x5]=_0xe600ea(0x372),_0x17bea7[_0x17bea7[_0xe600ea(0x394)]=0x6]=_0xe600ea(0x394),_0x17bea7[_0x17bea7['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x17bea7))(_0x592339||{});const _0x8c6e8f='collaboration_new_changeset';function _0x5372be(_0x42c7f9){var _0x328a07=_0xe600ea;return JSON[_0x328a07(0x4ea)](_0x42c7f9)[_0x328a07(0x4ac)];}var _0x5852a5=(_0x2a9b15=>(_0x2a9b15[_0xe600ea(0x43c)]=_0xe600ea(0x43c),_0x2a9b15[_0xe600ea(0x31c)]=_0xe600ea(0x31c),_0x2a9b15[_0xe600ea(0x373)]=_0xe600ea(0x373),_0x2a9b15[_0xe600ea(0x231)]=_0xe600ea(0x231),_0x2a9b15['JOIN_ROOM_FAILED']=_0xe600ea(0x2c0),_0x2a9b15[_0xe600ea(0x2aa)]=_0xe600ea(0x2aa),_0x2a9b15[_0xe600ea(0x42b)]=_0xe600ea(0x42b),_0x2a9b15[_0xe600ea(0x296)]='SUBMIT_CHANGESET_TIMEOUT',_0x2a9b15))(_0x5852a5||{});class _0x2ee36c{constructor(){var _0x148308=_0xe600ea;_0x358222(this,_0x148308(0x281),new _0xd6d137[(_0x148308(0x247))]()),_0x358222(this,_0x148308(0x37f),this[_0x148308(0x281)][_0x148308(0x310)]());}[_0xe600ea(0x33d)](_0x5f0da7){var _0x2d0082=_0xe600ea;this[_0x2d0082(0x281)][_0x2d0082(0x413)](_0x5f0da7);}}class _0x16bd41{constructor(){var _0x25f0df=_0xe600ea;_0x358222(this,_0x25f0df(0x189),new _0xd6d137['Subject']()),_0x358222(this,'commentUpdate$',this[_0x25f0df(0x189)][_0x25f0df(0x310)]());}['onCommentUpdate'](_0x272c02){var _0x480ea1=_0xe600ea;this[_0x480ea1(0x189)][_0x480ea1(0x413)](_0x272c02);}}var _0x2a68e7=Object[_0xe600ea(0x305)],_0x545d9d=(_0x4d30ea,_0x32b195,_0x37a7ea,_0x3597ca)=>{var _0x481695=_0xe600ea;for(var _0xd9b2e=_0x3597ca>0x1?void 0x0:_0x3597ca?_0x2a68e7(_0x32b195,_0x37a7ea):_0x32b195,_0x51e477=_0x4d30ea[_0x481695(0x4ac)]-0x1,_0x24ea2f;_0x51e477>=0x0;_0x51e477--)(_0x24ea2f=_0x4d30ea[_0x51e477])&&(_0xd9b2e=_0x24ea2f(_0xd9b2e)||_0xd9b2e);return _0xd9b2e;},_0xf9353e=(_0x484d7f,_0xe89d2f)=>(_0x31c733,_0x2e64e8)=>_0xe89d2f(_0x31c733,_0x2e64e8,_0x484d7f);_0x5ac5d4[_0xe600ea(0x325)]=class extends _0x17feb2[_0xe600ea(0x388)]{constructor(_0xc2d929,_0x493ad0){var _0x42833f=_0xe600ea;super(),_0x358222(this,_0x42833f(0x304),new Map()),_0x358222(this,'_roomCreated$',new _0xd6d137[(_0x42833f(0x247))]()),(this[_0x42833f(0x1c4)]=_0xc2d929,this[_0x42833f(0x4c2)]=_0x493ad0,this['disposeWithMe'](_0xd6d137[_0x42833f(0x4bb)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x17feb2[_0x42833f(0x1dc)][_0x42833f(0x291)])['pipe'](_0x17b903[_0x42833f(0x4ab)](_0x580c28=>_0x580c28[_0x42833f(0x23e)]())),this['_univerInstanceService'][_0x42833f(0x47a)](_0x17feb2[_0x42833f(0x1dc)][_0x42833f(0x380)])[_0x42833f(0x28b)](_0x17b903[_0x42833f(0x4ab)](_0x57d7b6=>_0x57d7b6[_0x42833f(0x23e)]())),this[_0x42833f(0x1c4)]['getTypeOfUnitDisposed$'](_0x17feb2['UniverInstanceType'][_0x42833f(0x246)])[_0x42833f(0x28b)](_0x17b903[_0x42833f(0x4ab)](_0x123fe4=>_0x123fe4[_0x42833f(0x23e)]())))[_0x42833f(0x1c0)](_0x3fd159=>this[_0x42833f(0x183)](_0x3fd159))));}[_0xe600ea(0x244)](_0xe742f9){var _0x114b25=_0xe600ea;return this[_0x114b25(0x304)][_0x114b25(0x371)](_0xe742f9)?_0xd6d137['of'](this[_0x114b25(0x304)][_0x114b25(0x299)](_0xe742f9)):this[_0x114b25(0x28f)][_0x114b25(0x28b)](_0x17b903[_0x114b25(0x4ab)](_0x598693=>{var _0x34d8aa=_0x114b25;if(_0x598693===_0xe742f9)return this[_0x34d8aa(0x304)][_0x34d8aa(0x299)](_0x598693);}));}['setCurrentUser'](_0x3fe80f){var _0x305f49=_0xe600ea;this[_0x305f49(0x4c2)]['setCurrentUser'](_0x3fe80f);}[_0xe600ea(0x37d)](){var _0x314eff=_0xe600ea;return this[_0x314eff(0x4c2)][_0x314eff(0x37d)]();}['updateMember'](_0x2ddca6,_0x149da0){var _0x2d3bab=_0xe600ea;let _0x33f15c=this[_0x2d3bab(0x304)][_0x2d3bab(0x299)](_0x2ddca6);_0x33f15c||(_0x33f15c=new _0x30ad20(),this[_0x2d3bab(0x304)][_0x2d3bab(0x1f9)](_0x2ddca6,_0x33f15c),this[_0x2d3bab(0x28f)][_0x2d3bab(0x413)](_0x2ddca6)),_0x33f15c[_0x2d3bab(0x27e)](_0x149da0);}['removeMember'](_0x308b31,_0x1e9c7d){var _0x161991=_0xe600ea;const _0x1354d1=this['_roomMembers'][_0x161991(0x299)](_0x308b31);_0x1354d1&&_0x1354d1['removeMember'](_0x1e9c7d);}[_0xe600ea(0x316)](_0x122dcd){var _0x5c4a10=_0xe600ea;return this[_0x5c4a10(0x304)][_0x5c4a10(0x299)](_0x122dcd);}[_0xe600ea(0x329)](_0x52370b,_0x3842a9){var _0x39e771=_0xe600ea;const _0x242a3c=this[_0x39e771(0x304)]['get'](_0x52370b);if(_0x242a3c)return _0x242a3c[_0x39e771(0x329)](_0x3842a9);}[_0xe600ea(0x183)](_0x25e40e){var _0x456642=_0xe600ea;const _0x577ec5=this[_0x456642(0x304)][_0x456642(0x299)](_0x25e40e);_0x577ec5&&(_0x577ec5[_0x456642(0x4bd)](),this['_roomMembers'][_0x456642(0x322)](_0x25e40e));}[_0xe600ea(0x4bd)](){var _0x5d381b=_0xe600ea;this[_0x5d381b(0x304)][_0x5d381b(0x3b2)](_0x9d08f2=>_0x9d08f2['dispose']()),this[_0x5d381b(0x304)]['clear'](),this['_roomCreated$'][_0x5d381b(0x308)]();}},_0x5ac5d4[_0xe600ea(0x325)]=_0x545d9d([_0xf9353e(0x0,_0x17feb2[_0xe600ea(0x213)]),_0xf9353e(0x1,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x276)]))],_0x5ac5d4[_0xe600ea(0x325)]);class _0x30ad20 extends _0x17feb2[_0xe600ea(0x388)]{constructor(){var _0x222c87=_0xe600ea;super(...arguments),_0x358222(this,_0x222c87(0x192),new Map()),_0x358222(this,_0x222c87(0x3ed),new _0xd6d137['BehaviorSubject'](this['_members'])),_0x358222(this,'members$',this[_0x222c87(0x3ed)]['asObservable']());}['dispose'](){var _0x4edeab=_0xe600ea;this['_members'][_0x4edeab(0x1d6)]();}[_0xe600ea(0x27e)](_0x1764f9){var _0x3c7ee4=_0xe600ea;this['_members'][_0x3c7ee4(0x1f9)](_0x1764f9[_0x3c7ee4(0x178)],_0x1764f9),this[_0x3c7ee4(0x1cd)]();}['removeMember'](_0x130019){var _0x5e8d72=_0xe600ea;this[_0x5e8d72(0x192)][_0x5e8d72(0x322)](_0x130019);}['getMember'](_0x452dfb){var _0x4c8b1e=_0xe600ea;return this[_0x4c8b1e(0x192)]['get'](_0x452dfb);}['getAllMembers'](){var _0x4e74a4=_0xe600ea;return Array[_0x4e74a4(0x15c)](this[_0x4e74a4(0x192)][_0x4e74a4(0x496)]());}['_emitMembers'](){var _0x14ceb1=_0xe600ea;this[_0x14ceb1(0x3ed)]['next'](this['_members']);}}var _0x4947a7=Object[_0xe600ea(0x305)],_0x3d3f1f=(_0x58858c,_0x5f5239,_0x36a3b8,_0x5547a4)=>{var _0x5bbeff=_0xe600ea;for(var _0x17b32a=_0x5547a4>0x1?void 0x0:_0x5547a4?_0x4947a7(_0x5f5239,_0x36a3b8):_0x5f5239,_0x15f548=_0x58858c[_0x5bbeff(0x4ac)]-0x1,_0x2d222b;_0x15f548>=0x0;_0x15f548--)(_0x2d222b=_0x58858c[_0x15f548])&&(_0x17b32a=_0x2d222b(_0x17b32a)||_0x17b32a);return _0x17b32a;},_0x54cf88=(_0x250930,_0x297f1e)=>(_0x10dcd8,_0x5f1299)=>_0x297f1e(_0x10dcd8,_0x5f1299,_0x250930),_0x57cde5=(_0x17f571=>(_0x17f571[_0x17f571[_0xe600ea(0x1da)]=0x0]='IDLE',_0x17f571[_0x17f571['JOINING']=0x1]=_0xe600ea(0x399),_0x17f571[_0x17f571['OFFLINE']=0x2]=_0xe600ea(0x2ee),_0x17f571[_0x17f571[_0xe600ea(0x337)]=0x3]=_0xe600ea(0x337),_0x17f571))(_0x57cde5||{});const _0x9dadb8={[_0x594c4b[_0xe600ea(0x269)]]:_0xe600ea(0x2ab),[_0x594c4b[_0xe600ea(0x23f)]]:'session.room-full',[_0x594c4b[_0xe600ea(0x279)]]:_0xe600ea(0x31d),[_0x594c4b[_0xe600ea(0x1dd)]]:_0xe600ea(0x341),[_0x594c4b[_0xe600ea(0x4d7)]]:_0xe600ea(0x18d)};_0x5ac5d4[_0xe600ea(0x38a)]=class extends _0x17feb2[_0xe600ea(0x286)]{constructor(_0x36eb19,_0x366777,_0x56b1bd,_0x309060,_0x1f206a,_0x57b72c,_0xef3761,_0x2ccb80){var _0x4135d9=_0xe600ea;super(),_0x358222(this,_0x4135d9(0x476),new _0xd6d137[(_0x4135d9(0x1f8))](0x0)),_0x358222(this,_0x4135d9(0x4a1),this['_sessionStatus$'][_0x4135d9(0x310)]()),_0x358222(this,_0x4135d9(0x281),new _0xd6d137[(_0x4135d9(0x247))]()),_0x358222(this,_0x4135d9(0x37f),this[_0x4135d9(0x281)][_0x4135d9(0x310)]()),_0x358222(this,_0x4135d9(0x4c0)),_0x358222(this,_0x4135d9(0x345)),_0x358222(this,_0x4135d9(0x24c)),_0x358222(this,_0x4135d9(0x1e0),!0x1),_0x358222(this,_0x4135d9(0x1bd),null),(this[_0x4135d9(0x1d1)]=_0x36eb19,this[_0x4135d9(0x42f)]=_0x56b1bd,this['_configService']=_0x309060,this['_memberService']=_0x1f206a,this['_commentService']=_0x57b72c,this[_0x4135d9(0x4ed)]=_0xef3761,this[_0x4135d9(0x395)]=_0x2ccb80,this['_shouldReportTelemetry']=!!this[_0x4135d9(0x395)],_0x366777['pipe'](_0xd6d137[_0x4135d9(0x369)](this[_0x4135d9(0x160)]))[_0x4135d9(0x1c0)](_0x26ec6d=>{var _0x1c951a=_0x4135d9,_0x2f6e66;typeof _0x26ec6d>'u'||(this['_socket']=_0x26ec6d,_0x26ec6d?(this[_0x1c951a(0x404)](_0x26ec6d),this[_0x1c951a(0x345)]=_0x26ec6d[_0x1c951a(0x2e6)][_0x1c951a(0x1c0)](_0x2e5d3c=>{var _0xb16870=_0x1c951a;_0x2e5d3c['routeKey']===this['_unitID']&&this[_0xb16870(0x2c9)](_0x2e5d3c);})):(this[_0x1c951a(0x17f)](),this['_sessionStatus$'][_0x1c951a(0x413)](0x2),(_0x2f6e66=this[_0x1c951a(0x345)])==null||_0x2f6e66['unsubscribe'](),this[_0x1c951a(0x345)]=null));}));}get['sessionStatus'](){var _0x26fbc2=_0xe600ea;return this[_0x26fbc2(0x476)]['getValue']();}[_0xe600ea(0x3f7)](){var _0x5ac167=_0xe600ea,_0x29917f,_0x4d7228;return(_0x4d7228=(_0x29917f=this['_socket'])==null?void 0x0:_0x29917f[_0x5ac167(0x178)])!=null?_0x4d7228:null;}[_0xe600ea(0x4bd)](){var _0x9205e3=_0xe600ea;super[_0x9205e3(0x4bd)](),this[_0x9205e3(0x160)]['next'](),this['dispose$'][_0x9205e3(0x308)]();}[_0xe600ea(0x46b)](){var _0xcfc4c2=_0xe600ea,_0x271e38,_0x552827;this['_throwTelemetryCollaborationNewChangeset'](),(_0x271e38=this['_socket'])==null||_0x271e38[_0xcfc4c2(0x3d2)]({'cmd':_0x46224e['LEAVE'],'data':{'roomID':this[_0xcfc4c2(0x1d1)]}}),(_0x552827=this['_socket'])==null||_0x552827[_0xcfc4c2(0x46b)](),this[_0xcfc4c2(0x281)][_0xcfc4c2(0x308)](),this['_sessionStatus$'][_0xcfc4c2(0x308)](),this[_0xcfc4c2(0x4bd)]();}[_0xe600ea(0x2c9)](_0x321160){var _0x3b6ee8=_0xe600ea;_0x321160[_0x3b6ee8(0x15d)]===_0x46224e[_0x3b6ee8(0x2e7)]?this[_0x3b6ee8(0x36d)](_0x321160):_0x321160[_0x3b6ee8(0x15d)]===_0x46224e[_0x3b6ee8(0x2e1)]&&this[_0x3b6ee8(0x362)](_0x321160);}[_0xe600ea(0x404)](_0x392b0a){var _0x58d7b3=_0xe600ea;this[_0x58d7b3(0x476)]['next'](0x1),_0x392b0a[_0x58d7b3(0x3d2)]({'cmd':_0x46224e['JOIN'],'routeKey':this[_0x58d7b3(0x1d1)],'routeType':'','data':{'rooms':[{'roomID':this[_0x58d7b3(0x1d1)]}]}});}[_0xe600ea(0x36d)](_0x8aed6c){var _0x223983=_0xe600ea,_0x4877de;if(_0x8aed6c[_0x223983(0x4a9)]in _0x9dadb8){this[_0x223983(0x4ed)][_0x223983(0x33d)]({'id':_0x5852a5[_0x223983(0x2c0)],'data':_0x9dadb8[_0x8aed6c['code']]}),this[_0x223983(0x476)][_0x223983(0x413)](0x2);return;}this['_sessionStatus$'][_0x223983(0x413)](0x3);const _0x326440=(_0x4877de=_0x8aed6c[_0x223983(0x2f6)][_0x223983(0x287)][this[_0x223983(0x1d1)]])==null?void 0x0:_0x4877de[_0x223983(0x1fa)];_0x326440&&_0x326440['forEach'](_0x8277=>this[_0x223983(0x283)][_0x223983(0x27e)](this['_unitID'],_0x8277));}['_onRecvEvent'](_0x37800c){var _0x5f0df3=_0xe600ea;try{const _0x21b6f8=_0x37800c[_0x5f0df3(0x2f6)];switch(_0x21b6f8['eventID']){case _0x254674['CollaborationEvent']['USERS_ENTER']:this['_onUserJoin'](_0x21b6f8),this[_0x5f0df3(0x281)][_0x5f0df3(0x413)](_0x21b6f8);break;case _0x254674[_0x5f0df3(0x411)][_0x5f0df3(0x4da)]:this[_0x5f0df3(0x326)](_0x21b6f8),this['_event$'][_0x5f0df3(0x413)](_0x21b6f8);break;case _0x254674['CollaborationEvent'][_0x5f0df3(0x4de)]:case _0x254674[_0x5f0df3(0x411)]['CHANGESET_SHOULD_RETRY']:this[_0x5f0df3(0x28d)](),this[_0x5f0df3(0x16a)](),this[_0x5f0df3(0x281)]['next'](_0x21b6f8);break;case _0x254674[_0x5f0df3(0x411)][_0x5f0df3(0x2b6)]:this[_0x5f0df3(0x42f)][_0x5f0df3(0x343)](_0x5f0df3(0x3d9)+JSON['stringify'](_0x21b6f8)),this[_0x5f0df3(0x281)][_0x5f0df3(0x413)](_0x21b6f8);break;case _0x254674[_0x5f0df3(0x411)][_0x5f0df3(0x36c)]:this['_commentService']['onCommentUpdate'](_0x21b6f8[_0x5f0df3(0x2f6)]),this[_0x5f0df3(0x281)]['next'](_0x21b6f8);break;default:this[_0x5f0df3(0x281)]['next'](_0x21b6f8);}}catch(_0xe364fe){this[_0x5f0df3(0x42f)]['error'](_0xe364fe,_0x37800c);}}[_0xe600ea(0x1bb)](_0xdd4b8d){var _0x2dbbaf=_0xe600ea;this[_0x2dbbaf(0x283)][_0x2dbbaf(0x27e)](this[_0x2dbbaf(0x1d1)],_0xdd4b8d['data']);}[_0xe600ea(0x326)](_0x7312bc){var _0x384e0b=_0xe600ea;this['_memberService'][_0x384e0b(0x29f)](this[_0x384e0b(0x1d1)],_0x7312bc['data'][_0x384e0b(0x178)]);}async['send'](_0x40c86f,_0x4559c9){var _0x4a7ca3=_0xe600ea;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x4a7ca3(0x2a0));try{_0x40c86f[_0x4a7ca3(0x4d0)]===_0x254674['CollaborationEvent'][_0x4a7ca3(0x3ef)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4a7ca3(0x385)](_0x40c86f)),this[_0x4a7ca3(0x4c0)][_0x4a7ca3(0x3d2)]({'cmd':_0x46224e[_0x4a7ca3(0x275)],'routeKey':_0x4559c9,'routeType':'','data':_0x40c86f});}catch(_0x16d2b2){this[_0x4a7ca3(0x42f)][_0x4a7ca3(0x343)](_0x16d2b2);}}[_0xe600ea(0x49c)](){var _0x175821=_0xe600ea,_0x25fac0;this[_0x175821(0x24c)]=setTimeout(()=>{var _0x1c6494=_0x175821;this[_0x1c6494(0x24c)]=null,this['_collaborationUIEventService']['emitEvent']({'id':_0x5852a5[_0x1c6494(0x296)]});},(_0x25fac0=this[_0x175821(0x164)][_0x175821(0x1aa)](_0x2ffda5))!=null?_0x25fac0:0x4e20);}[_0xe600ea(0x16a)](){var _0x13feb9=_0xe600ea;this[_0x13feb9(0x24c)]&&(clearTimeout(this[_0x13feb9(0x24c)]),this['_collaborationTimeoutTimer']=null);}[_0xe600ea(0x385)](_0x59639d){var _0x1d27ed=_0xe600ea;if(!this[_0x1d27ed(0x1e0)])return;const {data:_0x3d5158}=_0x59639d,{unitID:_0x14ae68,changeset:_0x55ba13}=_0x3d5158,{mutations:_0x123414,type:_0x38de46}=_0x55ba13;this[_0x1d27ed(0x1bd)]={'unitId':_0x14ae68,'type':_0x38de46,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x5372be(_0x123414)};}[_0xe600ea(0x28d)](){var _0x37862c=_0xe600ea;if(this[_0x37862c(0x1e0)]){if(!this['_telemetryInfo']){this[_0x37862c(0x42f)]['error'](_0x37862c(0x3d0),_0x37862c(0x29a));return;}this['_telemetryInfo'][_0x37862c(0x3c3)]=performance[_0x37862c(0x478)](),this[_0x37862c(0x1bd)][_0x37862c(0x28e)]=this['_telemetryInfo'][_0x37862c(0x3c3)]-this[_0x37862c(0x1bd)][_0x37862c(0x15e)],this['_telemetryService'][_0x37862c(0x403)](_0x8c6e8f,this[_0x37862c(0x1bd)]),this[_0x37862c(0x1bd)]=null;}}[_0xe600ea(0x17f)](){var _0x1296e7=_0xe600ea;this[_0x1296e7(0x1bd)]=null;}},_0x5ac5d4[_0xe600ea(0x38a)]=_0x3d3f1f([_0x54cf88(0x2,_0x17feb2[_0xe600ea(0x2b8)]),_0x54cf88(0x3,_0x17feb2[_0xe600ea(0x1be)]),_0x54cf88(0x4,_0x17feb2[_0xe600ea(0x1c2)](_0x5ac5d4[_0xe600ea(0x325)])),_0x54cf88(0x5,_0x17feb2[_0xe600ea(0x1c2)](_0x16bd41)),_0x54cf88(0x6,_0x17feb2[_0xe600ea(0x1c2)](_0x2ee36c)),_0x54cf88(0x7,_0x17feb2[_0xe600ea(0x3ee)](_0x2c2438['ITelemetryService']))],_0x5ac5d4['CollaborationSession']);const _0x2d8396=_0x17feb2['createIdentifier'](_0xe600ea(0x2ec));function _0x22e215(_0x29c2b7){var _0x2b7d38=_0xe600ea;return _0x2b7d38(0x384)+_0x29c2b7;}var _0x435bad=Object['getOwnPropertyDescriptor'],_0x48980b=(_0x5c8f7c,_0x389100,_0xbde4be,_0x4d8041)=>{var _0x33fe15=_0xe600ea;for(var _0x54357d=_0x4d8041>0x1?void 0x0:_0x4d8041?_0x435bad(_0x389100,_0xbde4be):_0x389100,_0x480502=_0x5c8f7c[_0x33fe15(0x4ac)]-0x1,_0x162a3f;_0x480502>=0x0;_0x480502--)(_0x162a3f=_0x5c8f7c[_0x480502])&&(_0x54357d=_0x162a3f(_0x54357d)||_0x54357d);return _0x54357d;},_0x1b59dd=(_0x11a40b,_0xcf1657)=>(_0x3bd771,_0x125d05)=>_0xcf1657(_0x3bd771,_0x125d05,_0x11a40b);function _0x3b5906(_0x42deea){var _0x1662d8=_0xe600ea;const {unitID:_0x4664e8,mutations:_0x1dae85}=_0x42deea;return{'unitId':_0x4664e8,'subUnitId':_0x1dae85[_0x1662d8(0x4ac)]>0x0?_0x1dae85[0x0]['params'][_0x1662d8(0x41e)]:null};}_0x5ac5d4[_0xe600ea(0x26e)]=class{constructor(_0x11d8d0,_0x295e23,_0x1c1b6a){var _0x5b2cc0=_0xe600ea;this[_0x5b2cc0(0x4bf)]=_0x11d8d0,this[_0x5b2cc0(0x3db)]=_0x295e23,this[_0x5b2cc0(0x264)]=_0x1c1b6a;}[_0xe600ea(0x2e5)](_0x3bef3d){var _0x2e2840=_0xe600ea,_0x528c72,_0x21fa76,_0x570167,_0x50d27a;const _0x1f8674=this[_0x2e2840(0x4bf)][_0x2e2840(0x299)](_0xf0578e['SheetsSelectionsService']),{unitId:_0x6896c0,subUnitId:_0x490594}=_0x3b5906(_0x3bef3d),_0x71184b=_0x1f8674==null?void 0x0:_0x1f8674[_0x2e2840(0x1db)](_0x6896c0)[_0x2e2840(0x436)](),_0x25c7f5=(_0x21fa76=(_0x528c72=this['_instanceService']['getUnit'](_0x6896c0))==null?void 0x0:_0x528c72['getActiveSheet']())==null?void 0x0:_0x21fa76[_0x2e2840(0x185)]();if(_0x71184b[_0x2e2840(0x4ac)]===0x0||!_0x6896c0||!_0x490594)return;const _0x563980=[{'id':_0xf0578e[_0x2e2840(0x1b0)]['id'],'params':{'unitId':_0x6896c0,'subUnitId':_0x25c7f5,'selections':_0x17feb2[_0x2e2840(0x4a8)][_0x2e2840(0x182)](_0x71184b)}}],_0x4544ad=this[_0x2e2840(0x3db)][_0x2e2840(0x453)](_0x3bef3d,_0x563980);if(!_0x254674[_0x2e2840(0x230)](_0x4544ad))throw _0x4544ad[_0x2e2840(0x343)];const _0x2eb870=(_0x50d27a=(_0x570167=_0x4544ad[_0x2e2840(0x41a)][0x0])==null?void 0x0:_0x570167[_0x2e2840(0x33b)])==null?void 0x0:_0x50d27a['selections'];if(Array[_0x2e2840(0x4a6)](_0x2eb870)&&_0x2eb870['length']){if(_0x2eb870['length']===_0x563980[0x0]['params']['selections'][_0x2e2840(0x4ac)]&&_0x2eb870[_0x2e2840(0x1b8)]((_0xe8047,_0x4f5bf1)=>_0x17feb2['Rectangle'][_0x2e2840(0x2ca)](_0xe8047[_0x2e2840(0x233)],_0x563980[0x0][_0x2e2840(0x33b)][_0x2e2840(0x48f)][_0x4f5bf1]['range'])))return;this[_0x2e2840(0x4bf)][_0x2e2840(0x299)](_0x17feb2['ICommandService'])[_0x2e2840(0x241)](_0xf0578e[_0x2e2840(0x1b0)]['id'],{'unitId':_0x6896c0,'subUnitId':_0x25c7f5,'selections':_0x2eb870});}}},_0x5ac5d4['SheetTransformSelectionsService']=_0x48980b([_0x1b59dd(0x0,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2['Injector'])),_0x1b59dd(0x1,_0x254674[_0xe600ea(0x1a1)]),_0x1b59dd(0x2,_0x17feb2[_0xe600ea(0x213)])],_0x5ac5d4[_0xe600ea(0x26e)]);const _0xba00e=_0x17feb2[_0xe600ea(0x3e6)]('univer-pro.collaboration-client.single-active-unit-service');var _0x1eb2dd=(_0x4c1334=>(_0x4c1334[_0x4c1334[_0xe600ea(0x29e)]=0x0]=_0xe600ea(0x29e),_0x4c1334[_0x4c1334[_0xe600ea(0x3fa)]=0x1]=_0xe600ea(0x3fa),_0x4c1334))(_0x1eb2dd||{});const _0x566bcc='collaboration-client.config',_0x55e88d={},_0x1d889d=new Set([_0xf0578e[_0xe600ea(0x179)]['id']]);function _0x5b796f(_0x34c9bc,_0x3d640c,_0x3ea4dc,_0xd35f6,_0x1d2404){var _0x2cce3a=_0xe600ea,_0x1a9f89,_0x253b45,_0x298c29,_0xf7c978;const _0x1dd487=[];for(const _0x3db562 of _0x34c9bc)if(_0x1d889d['has'](_0x3db562['id'])){if(_0x1dd487[_0x2cce3a(0x4ac)]>0x0)break;_0x1dd487[_0x2cce3a(0x2c3)](_0x3db562);break;}else _0x1dd487['push'](_0x3db562);const _0x44fc3b=(_0x253b45=(_0x1a9f89=_0x1d2404[_0x2cce3a(0x37d)]())==null?void 0x0:_0x1a9f89[_0x2cce3a(0x180)])!=null?_0x253b45:_0x2cce3a(0x37a),_0xa66521=(_0xf7c978=(_0x298c29=_0x1d2404['getCurrentUser']())==null?void 0x0:_0x298c29[_0x2cce3a(0x178)])!=null?_0xf7c978:_0x2cce3a(0x37a);return{'changeset':{'unitID':_0x3d640c,'type':_0x254674[_0x2cce3a(0x2f5)](_0x3ea4dc[_0x2cce3a(0x1ba)](_0x3d640c)),'baseRev':_0xd35f6[_0x2cce3a(0x17b)](_0x3d640c),'revision':0x0,'userID':_0x44fc3b,'memberID':_0xa66521,'mutations':_0x1dd487},'pendingMutations':_0x34c9bc[_0x2cce3a(0x4d8)](_0x1dd487['length'])};}function _0x38ff64(_0x2cceda,_0x50046f,_0x1bdb81,_0x53444c,_0x5a7de9){var _0x2567e6=_0xe600ea,_0x59480e,_0x2c9a35,_0x36ed10,_0x6eb5af;const _0x3462a7=[_0x2cceda[_0x2567e6(0x2ef)]((_0x3e9acb,_0x2853b3)=>{var _0x3d9fe7=_0x2567e6,_0x270ab6;const {id:_0x101cc6}=_0x3e9acb,{id:_0x394fa7,type:_0x2f2ed2}=_0x2853b3,_0x1611df=(_0x270ab6=_0x3e9acb[_0x3d9fe7(0x33b)])!=null?_0x270ab6:{'actions':null},_0x379ca4=_0x2853b3[_0x3d9fe7(0x33b)];if(_0x101cc6&&_0x101cc6!==_0x394fa7)throw new Error(_0x3d9fe7(0x2f2)+_0x101cc6+_0x3d9fe7(0x22c)+_0x394fa7+'.');return{..._0x3e9acb,'id':_0x394fa7,'type':_0x2f2ed2,'params':{'unitId':_0x379ca4['unitId'],'textRanges':_0x379ca4['textRanges'],'actions':_0x17feb2[_0x3d9fe7(0x424)][_0x3d9fe7(0x3bc)](_0x1611df['actions'],_0x379ca4[_0x3d9fe7(0x2b1)])}};},{})],_0x1319d8=(_0x2c9a35=(_0x59480e=_0x5a7de9['getCurrentUser']())==null?void 0x0:_0x59480e[_0x2567e6(0x180)])!=null?_0x2c9a35:_0x2567e6(0x37a),_0x86a4ec=(_0x6eb5af=(_0x36ed10=_0x5a7de9['getCurrentUser']())==null?void 0x0:_0x36ed10[_0x2567e6(0x178)])!=null?_0x6eb5af:_0x2567e6(0x37a);return{'changeset':{'unitID':_0x50046f,'type':_0x254674[_0x2567e6(0x2f5)](_0x1bdb81[_0x2567e6(0x1ba)](_0x50046f)),'baseRev':_0x53444c[_0x2567e6(0x17b)](_0x50046f),'revision':0x0,'userID':_0x1319d8,'memberID':_0x86a4ec,'mutations':_0x3462a7},'pendingMutations':[]};}function _0x17920d(_0xe5a420,_0x538676){var _0x2ab7b8=_0xe600ea;const _0x11babe=new _0xd6d137[(_0x2ab7b8(0x4eb))](0x1);return setTimeout(()=>_0x11babe['next'](_0x538676),_0xe5a420),_0x11babe[_0x2ab7b8(0x310)]()['pipe'](_0xd6d137[_0x2ab7b8(0x481)](0x1));}var _0x3d30f1=Object[_0xe600ea(0x305)],_0x13e4f5=(_0x4c8e99,_0x6b6d91,_0x3abc0a,_0x4abd4f)=>{var _0x581af2=_0xe600ea;for(var _0x4611b1=_0x4abd4f>0x1?void 0x0:_0x4abd4f?_0x3d30f1(_0x6b6d91,_0x3abc0a):_0x6b6d91,_0x44efe4=_0x4c8e99[_0x581af2(0x4ac)]-0x1,_0x5a3eb4;_0x44efe4>=0x0;_0x44efe4--)(_0x5a3eb4=_0x4c8e99[_0x44efe4])&&(_0x4611b1=_0x5a3eb4(_0x4611b1)||_0x4611b1);return _0x4611b1;},_0x17005c=(_0x2c2403,_0x4ac630)=>(_0x4bd237,_0x45e9a8)=>_0x4ac630(_0x4bd237,_0x45e9a8,_0x2c2403),_0x93c01f=(_0x3caa85=>(_0x3caa85['NOT_COLLAB']='not_collab',_0x3caa85[_0xe600ea(0x16c)]=_0xe600ea(0x4ca),_0x3caa85[_0xe600ea(0x3e3)]=_0xe600ea(0x3e2),_0x3caa85[_0xe600ea(0x2d8)]=_0xe600ea(0x3aa),_0x3caa85[_0xe600ea(0x270)]=_0xe600ea(0x35d),_0x3caa85['FETCH_MISS']=_0xe600ea(0x18e),_0x3caa85[_0xe600ea(0x373)]='conflict',_0x3caa85['OFFLINE']=_0xe600ea(0x1f5),_0x3caa85))(_0x93c01f||{});const _0x3291d1=0xea60;class _0x3024e3{constructor(_0x483f39,_0x31eaa1,_0xe287ae,_0x10a8f2,_0x42b5db,_0xa1196,_0x5cc79d,_0x57d8b6,_0x188fb5){var _0x18952c=_0xe600ea;_0x358222(this,'_awaitingChangeset',null),_0x358222(this,'_pendingMutations',[]),(this['unitID']=_0x483f39,this[_0x18952c(0x285)]=_0x31eaa1,this[_0x18952c(0x3a7)]=_0x42b5db,this['_commandService']=_0xa1196,this['_undoRedoService']=_0x5cc79d,this[_0x18952c(0x1a2)]=_0x57d8b6,this[_0x18952c(0x2a1)]=_0x188fb5,this['_awaitingChangeset']=_0xe287ae,this['_pendingMutations']=_0x10a8f2);}[_0xe600ea(0x1bf)](_0x1e8ee3){var _0x1e4ea9=_0xe600ea;const _0x3d8143=this['_revisionService'][_0x1e4ea9(0x17b)](this[_0x1e4ea9(0x224)]);return _0x1e8ee3[_0x1e4ea9(0x347)]>_0x3d8143+0x1?(this['_handler']['onMissingChangesets']({'from':_0x3d8143,'to':_0x1e8ee3[_0x1e4ea9(0x347)]-0x1}),!0x0):!0x1;}[_0xe600ea(0x3f0)](_0x17ea55){var _0x1b7d67=_0xe600ea;this[_0x1b7d67(0x193)][_0x1b7d67(0x1f2)](this['unitID'],_0x17ea55);}[_0xe600ea(0x3c1)](_0x1fe884){var _0x1f5fc0=_0xe600ea,_0x50a26f,_0xd3ae53;(_0xd3ae53=(_0x50a26f=this[_0x1f5fc0(0x3a7)])['onTransformSelections'])==null||_0xd3ae53[_0x1f5fc0(0x24d)](_0x50a26f,_0x1fe884);}[_0xe600ea(0x16b)](_0x37bccd){var _0x129b3f=_0xe600ea,_0x4df6f5,_0x53e9a5;return(_0x53e9a5=(_0x4df6f5=this['_handler'])[_0x129b3f(0x39a)])==null?void 0x0:_0x53e9a5['call'](_0x4df6f5,_0x37bccd);}[_0xe600ea(0x39e)](_0x33e4f5){var _0x3ad9b7=_0xe600ea,_0x168b9a,_0x33513b;return(_0x33513b=(_0x168b9a=this['_handler'])[_0x3ad9b7(0x2f9)])==null?void 0x0:_0x33513b[_0x3ad9b7(0x24d)](_0x168b9a,_0x33e4f5);}[_0xe600ea(0x36b)](_0x2598d4){var _0x241dd8=_0xe600ea,_0x4de082,_0x2c33d2,_0x5ed551;return(_0x5ed551=(_0x2c33d2=(_0x4de082=this[_0x241dd8(0x3a7)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2c33d2[_0x241dd8(0x24d)](_0x4de082,_0x2598d4))!=null?_0x5ed551:_0x2598d4;}[_0xe600ea(0x381)](_0x4a6760){var _0xba7659=_0xe600ea,_0x55674d,_0x80aa15,_0x4c33af;return(_0x4c33af=(_0x80aa15=(_0x55674d=this[_0xba7659(0x3a7)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x80aa15[_0xba7659(0x24d)](_0x55674d,_0x4a6760))!=null?_0x4c33af:_0x4a6760;}[_0xe600ea(0x3a8)](_0x4dd18b){var _0x28f969=_0xe600ea,_0x1bedbc,_0x5dc244;if(this[_0x28f969(0x285)]===_0x45ea9e['UNIVER_DOC']){const {unitID:_0x15729c,mutations:_0x59b294,memberID:_0x17a86f}=_0x4dd18b,_0x23dde5=_0x59b294[_0x28f969(0x4ac)]>0x0?_0x59b294[0x0][_0x28f969(0x33b)][_0x28f969(0x486)]:[];Array[_0x28f969(0x4a6)](_0x23dde5)&&_0x23dde5['length']>0x0&&((_0x5dc244=(_0x1bedbc=this[_0x28f969(0x3a7)])[_0x28f969(0x216)])==null||_0x5dc244[_0x28f969(0x24d)](_0x1bedbc,{'unitID':_0x15729c,'memberID':_0x17a86f,'textRanges':_0x23dde5}));}}['_updateLocalCache'](){var _0x10700f=_0xe600ea,_0x31c97b;(_0x31c97b=this[_0x10700f(0x2a1)])==null||_0x31c97b['updateOfflineData'](this['unitID'],this[_0x10700f(0x285)],this[_0x10700f(0x382)],this[_0x10700f(0x19b)]);}[_0xe600ea(0x352)](){var _0x1d6ab8=_0xe600ea;return this[_0x1d6ab8(0x1a2)][_0x1d6ab8(0x17b)](this[_0x1d6ab8(0x224)]);}[_0xe600ea(0x1e7)](){var _0x402927=_0xe600ea;this[_0x402927(0x1a2)][_0x402927(0x3df)](this[_0x402927(0x224)]);}[_0xe600ea(0x3cc)](_0x5a098c){var _0x4fcb8b=_0xe600ea,_0x3129b3;let _0x58dc26=this[_0x4fcb8b(0x36b)](_0x5a098c);_0x58dc26=this[_0x4fcb8b(0x381)](_0x58dc26);const _0x2b695c=_0x17feb2[_0x4fcb8b(0x498)](_0x58dc26['mutations'],this[_0x4fcb8b(0x37c)],{'fromCollab':!0x0});if(!_0x2b695c[_0x4fcb8b(0x446)])throw _0x2b695c['error']instanceof Error?_0x2b695c[_0x4fcb8b(0x343)]:new Error((_0x3129b3=_0x2b695c[_0x4fcb8b(0x343)])!=null?_0x3129b3:_0x4fcb8b(0x24b));this[_0x4fcb8b(0x16b)](_0x58dc26),this[_0x4fcb8b(0x39e)](_0x58dc26),this[_0x4fcb8b(0x3f0)](_0x5a098c),this[_0x4fcb8b(0x3c1)](_0x58dc26),this[_0x4fcb8b(0x3a8)](_0x58dc26),this['_incrementRevisionNumber']();}}_0x5ac5d4[_0xe600ea(0x250)]=class extends _0x3024e3{constructor(_0x2cf75c,_0x46698e,_0xbf97d9,_0x1c8e0d,_0x3586e2,_0x29ae16,_0x3d20c0,_0x2290f5,_0x5563a7,_0x1d59db){var _0x154238=_0xe600ea;super(_0x2cf75c,_0x46698e,null,[],_0xbf97d9,_0x3d20c0,_0x29ae16,_0x1c8e0d,_0x1d59db),_0x358222(this,_0x154238(0x4b1),_0x154238(0x4ca)),(this[_0x154238(0x4bf)]=_0x3586e2,this[_0x154238(0x42f)]=_0x2290f5,this['_transformService']=_0x5563a7,this[_0x154238(0x226)]=_0x1d59db);}['appendMutation'](_0x58564c){var _0x566be0=_0xe600ea;const _0x5f0fc7=this[_0x566be0(0x4bf)][_0x566be0(0x340)](_0x5ac5d4[_0x566be0(0x47f)],this['unitID'],this[_0x566be0(0x285)],[_0x58564c],this[_0x566be0(0x3a7)]);return _0x5f0fc7[_0x566be0(0x26c)](),_0x5f0fc7[_0x566be0(0x3b5)](),_0x5f0fc7;}[_0xe600ea(0x489)](_0x4db91b){var _0x38e6c7=_0xe600ea;if(this[_0x38e6c7(0x1bf)](_0x4db91b))return this[_0x38e6c7(0x4bf)][_0x38e6c7(0x340)](_0x5ac5d4['FetchingMissState'],this[_0x38e6c7(0x224)],this[_0x38e6c7(0x285)],null,[],null,[_0x4db91b],this['_handler']);try{const _0x13d9b0=this[_0x38e6c7(0x3db)][_0x38e6c7(0x453)](_0x4db91b,[_0x254674[_0x38e6c7(0x408)]]);if(_0x254674[_0x38e6c7(0x230)](_0x13d9b0)){const {c1Prime:_0x1ceadb}=_0x13d9b0;return this[_0x38e6c7(0x3cc)](_0x1ceadb),this;}throw _0x13d9b0[_0x38e6c7(0x343)];}catch(_0x452d39){return this[_0x38e6c7(0x42f)][_0x38e6c7(0x343)](_0x452d39),this['_onConflict'](!0x1);}}[_0xe600ea(0x265)](_0x53bc5f){var _0x57e746=_0xe600ea;return this[_0x57e746(0x4bf)][_0x57e746(0x340)](_0x5ac5d4[_0x57e746(0x228)],this[_0x57e746(0x224)],this['type'],null,[],this[_0x57e746(0x3a7)],_0x53bc5f);}[_0xe600ea(0x1b3)](){var _0x55c188=_0xe600ea;throw new Error(_0x55c188(0x4d2));}[_0xe600ea(0x368)](){var _0x84e372=_0xe600ea;throw new Error(_0x84e372(0x375));}[_0xe600ea(0x4d3)](){return this;}[_0xe600ea(0x349)](){var _0x994987=_0xe600ea;return this['_injector'][_0x994987(0x340)](_0x5ac5d4[_0x994987(0x1e3)],this[_0x994987(0x224)],this[_0x994987(0x285)],null,[],this['_handler']);}[_0xe600ea(0x3dc)](){return this;}[_0xe600ea(0x2b9)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xe600ea(0x2dc)](){var _0x113e1b=_0xe600ea;const _0xb5a783=this['_revisionService'][_0x113e1b(0x17b)](this[_0x113e1b(0x224)]);return this['_handler'][_0x113e1b(0x202)]({'from':_0xb5a783,'to':0x0}),this[_0x113e1b(0x4bf)][_0x113e1b(0x340)](_0x5ac5d4['FetchingMissState'],this['unitID'],this[_0x113e1b(0x285)],null,[],null,[],this[_0x113e1b(0x3a7)]);}},_0x5ac5d4[_0xe600ea(0x250)]=_0x13e4f5([_0x17005c(0x3,_0x17feb2['Inject'](_0x254674[_0xe600ea(0x468)])),_0x17005c(0x4,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x17005c(0x5,_0x17feb2[_0xe600ea(0x26f)]),_0x17005c(0x6,_0x17feb2[_0xe600ea(0x1ee)]),_0x17005c(0x7,_0x17feb2['ILogService']),_0x17005c(0x8,_0x254674[_0xe600ea(0x1a1)]),_0x17005c(0x9,_0x17feb2[_0xe600ea(0x3ee)](_0x2d8396))],_0x5ac5d4['SyncedState']),_0x5ac5d4['PendingState']=class extends _0x3024e3{constructor(_0x1fd3bb,_0x54e7d9,_0x5312d6,_0x5dbdeb,_0x365b52,_0x547f67,_0x47ebe0,_0x295864,_0x401391,_0x12aede,_0x46ce0b,_0x581d9b,_0x20e18f,_0x27652a){var _0x1a5f5b=_0xe600ea;super(_0x1fd3bb,_0x54e7d9,null,_0x5312d6,_0x5dbdeb,_0x401391,_0x20e18f,_0x547f67,_0x27652a),_0x358222(this,'status',_0x1a5f5b(0x3e2)),_0x358222(this,_0x1a5f5b(0x2c7),null),_0x358222(this,_0x1a5f5b(0x2b2),null),(this[_0x1a5f5b(0x4bf)]=_0x365b52,this[_0x1a5f5b(0x283)]=_0x47ebe0,this[_0x1a5f5b(0x42f)]=_0x295864,this[_0x1a5f5b(0x164)]=_0x12aede,this[_0x1a5f5b(0x3db)]=_0x46ce0b,this['_univerInstanceService']=_0x581d9b);}['appendMutation'](_0x1230e4){var _0x13f702=_0xe600ea;return this['_pendingMutations'][_0x13f702(0x2c3)](_0x1230e4),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x553ca1){var _0x3e8a9e=_0xe600ea;if(this[_0x3e8a9e(0x1bf)](_0x553ca1))return this[_0x3e8a9e(0x46d)](),this['_injector'][_0x3e8a9e(0x340)](_0x5ac5d4[_0x3e8a9e(0x41f)],this['unitID'],this[_0x3e8a9e(0x285)],null,this[_0x3e8a9e(0x19b)],null,[_0x553ca1],this['_handler']);try{const _0x2502db=this[_0x3e8a9e(0x3db)][_0x3e8a9e(0x453)](_0x553ca1,this[_0x3e8a9e(0x19b)]);if(_0x254674[_0x3e8a9e(0x230)](_0x2502db)){const {c1Prime:_0x343f23,m2Prime:_0xd9d03}=_0x2502db;this[_0x3e8a9e(0x3cc)](_0x343f23);const _0x5e3626=this['_injector'][_0x3e8a9e(0x340)](_0x5ac5d4[_0x3e8a9e(0x47f)],this[_0x3e8a9e(0x224)],this[_0x3e8a9e(0x285)],_0xd9d03,this[_0x3e8a9e(0x3a7)]);this[_0x3e8a9e(0x46d)]();const _0xce68bd=new Date()['getTime'](),_0x5c5990=this[_0x3e8a9e(0x2c7)]?Math[_0x3e8a9e(0x236)](this['_scheduleCompleteTimestamp']-_0xce68bd,0x0):this[_0x3e8a9e(0x208)]();return _0x5e3626['_schedule'](_0x5c5990),_0x5e3626;}throw _0x2502db['error'];}catch(_0x330f4f){return this[_0x3e8a9e(0x42f)]['error'](_0x330f4f),this['_onConflict'](!0x1);}}[_0xe600ea(0x1b3)](){var _0x4df779=_0xe600ea;throw new Error(_0x4df779(0x38e));}['onRemoteRej'](){var _0x20a471=_0xe600ea;throw new Error(_0x20a471(0x42c));}[_0xe600ea(0x4d3)](){return this;}[_0xe600ea(0x349)](){var _0xe31d1c=_0xe600ea;return this[_0xe31d1c(0x46d)](),this[_0xe31d1c(0x4bf)][_0xe31d1c(0x340)](_0x5ac5d4['OfflineState'],this['unitID'],this['type'],null,this[_0xe31d1c(0x19b)],this['_handler']);}[_0xe600ea(0x3dc)](){return this;}[_0xe600ea(0x26c)](_0x5a1cea){var _0x194076=_0xe600ea;const _0x350780=_0x5a1cea!=null?_0x5a1cea:this[_0x194076(0x208)]();this[_0x194076(0x2c7)]=new Date()['getTime']()+_0x350780,this[_0x194076(0x2b2)]=setTimeout(()=>{var _0x101716=_0x194076;this[_0x101716(0x46d)]();let _0x23a40b=null;switch(this['type']){case _0x45ea9e[_0x101716(0x291)]:{_0x23a40b=_0x5b796f(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x101716(0x1a2)],this[_0x101716(0x283)]);break;}case _0x45ea9e[_0x101716(0x380)]:{this[_0x101716(0x19b)][_0x101716(0x1b8)](_0x20dd69=>_0x20dd69['id']===_0x65b9e[_0x101716(0x1fb)]['id'])?_0x23a40b=_0x38ff64(this['_pendingMutations'],this['unitID'],this[_0x101716(0x1c4)],this['_revisionService'],this['_memberService']):_0x23a40b=_0x5b796f(this[_0x101716(0x19b)],this[_0x101716(0x224)],this[_0x101716(0x1c4)],this['_revisionService'],this[_0x101716(0x283)]);break;}default:throw new Error(_0x101716(0x45e)+this[_0x101716(0x285)]+'\x20in\x20_schedule.');}const {changeset:_0xe125d1,pendingMutations:_0x311ee9}=_0x23a40b;this[_0x101716(0x3a7)][_0x101716(0x3ff)](_0xe125d1);const _0x54b16d=_0x311ee9['length']?this[_0x101716(0x4bf)][_0x101716(0x340)](_0x5ac5d4[_0x101716(0x460)],this[_0x101716(0x224)],this[_0x101716(0x285)],_0xe125d1,_0x311ee9,this[_0x101716(0x3a7)],void 0x0):this[_0x101716(0x4bf)][_0x101716(0x340)](_0x5ac5d4[_0x101716(0x28a)],this['unitID'],this['type'],_0xe125d1,this[_0x101716(0x3a7)]);_0x54b16d[_0x101716(0x3b5)](),this[_0x101716(0x3a7)][_0x101716(0x23b)](this,_0x54b16d);},_0x350780);}[_0xe600ea(0x208)](){var _0x44df37=_0xe600ea,_0x52dc2c;const _0x8a7c83=this[_0x44df37(0x164)][_0x44df37(0x1aa)](_0x566bcc);return(_0x52dc2c=_0x8a7c83==null?void 0x0:_0x8a7c83[_0x44df37(0x2ea)])!=null?_0x52dc2c:0x7d0;}[_0xe600ea(0x2b9)](){var _0x3d63b8=_0xe600ea;throw new Error(_0x3d63b8(0x402));}['_clearScheduledTask'](){var _0x3e64de=_0xe600ea;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x3e64de(0x2b2)]=null);}['_onConflict'](_0x4c6ce9){var _0xc96162=_0xe600ea;return this[_0xc96162(0x46d)](),this['_injector'][_0xc96162(0x340)](_0x5ac5d4['ConflictState'],this['unitID'],this['type'],null,this[_0xc96162(0x19b)],this[_0xc96162(0x3a7)],_0x4c6ce9);}},_0x5ac5d4['PendingState']=_0x13e4f5([_0x17005c(0x4,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x17005c(0x5,_0x17feb2[_0xe600ea(0x1c2)](_0x254674[_0xe600ea(0x468)])),_0x17005c(0x6,_0x17feb2[_0xe600ea(0x1c2)](_0x5ac5d4[_0xe600ea(0x325)])),_0x17005c(0x7,_0x17feb2[_0xe600ea(0x2b8)]),_0x17005c(0x8,_0x17feb2[_0xe600ea(0x1ee)]),_0x17005c(0x9,_0x17feb2[_0xe600ea(0x1be)]),_0x17005c(0xa,_0x254674['ITransformService']),_0x17005c(0xb,_0x17feb2[_0xe600ea(0x213)]),_0x17005c(0xc,_0x17feb2[_0xe600ea(0x26f)]),_0x17005c(0xd,_0x17feb2[_0xe600ea(0x3ee)](_0x2d8396))],_0x5ac5d4[_0xe600ea(0x47f)]),_0x5ac5d4['AwaitingState']=class extends _0x3024e3{constructor(_0x137bdf,_0x164278,_0x1ffa75,_0x34cb8a,_0x569c02,_0x411bea,_0x3cace3,_0x37bbf1,_0x3d5c23,_0x27e953,_0x2899a0){var _0x7162b6=_0xe600ea;super(_0x137bdf,_0x164278,_0x1ffa75,[],_0x34cb8a,_0x3cace3,_0x27e953,_0x411bea,_0x2899a0),_0x358222(this,'status','awaiting'),_0x358222(this,_0x7162b6(0x17e),0x0),_0x358222(this,_0x7162b6(0x331)),_0x358222(this,_0x7162b6(0x2fd)),(this[_0x7162b6(0x4bf)]=_0x569c02,this['_logService']=_0x37bbf1,this[_0x7162b6(0x3db)]=_0x3d5c23);}[_0xe600ea(0x35c)](_0x463f42){var _0x182376=_0xe600ea;this['_clearScheduledTask']();const _0x183498=this[_0x182376(0x4bf)]['createInstance'](_0x5ac5d4[_0x182376(0x460)],this[_0x182376(0x224)],this[_0x182376(0x285)],this['_awaitingChangeset'],[_0x463f42],this['_handler'],this[_0x182376(0x331)]);return _0x183498['_updateLocalCache'](),_0x183498;}['onRemoteChangeset'](_0x29dc57){var _0x5899ed=_0xe600ea;if(this[_0x5899ed(0x1bf)](_0x29dc57))return this['_clearScheduledTask'](),this[_0x5899ed(0x4bf)][_0x5899ed(0x340)](_0x5ac5d4[_0x5899ed(0x41f)],this['unitID'],this[_0x5899ed(0x285)],this['_awaitingChangeset'],[],null,[_0x29dc57],this[_0x5899ed(0x3a7)]);try{const _0x17140a=this['_transformService'][_0x5899ed(0x1ac)]([_0x29dc57],[this['_awaitingChangeset']],!0x1);if(_0x254674[_0x5899ed(0x34f)](_0x17140a)){const {c1Prime:_0x21f22b,c2Prime:_0x5a7be0}=_0x17140a;this['_executeRemoteChangeset'](_0x21f22b[0x0]),_0x5a7be0[0x0]['baseRev']=this[_0x5899ed(0x352)](),this['_clearScheduledTask']();const _0x24eeaa=this[_0x5899ed(0x4bf)][_0x5899ed(0x340)](_0x5ac5d4['AwaitingState'],this[_0x5899ed(0x224)],this[_0x5899ed(0x285)],_0x5a7be0[0x0],this[_0x5899ed(0x3a7)]);return _0x24eeaa[_0x5899ed(0x3b5)](),_0x24eeaa;}return this[_0x5899ed(0x265)](!0x1);}catch(_0x2a92ad){return this[_0x5899ed(0x42f)]['error'](_0x2a92ad),this[_0x5899ed(0x265)](!0x1);}}['onRemoteAck'](_0x2afec4){var _0x462f53=_0xe600ea;this[_0x462f53(0x46d)]();const _0x5867cb=this[_0x462f53(0x1a2)][_0x462f53(0x17b)](this[_0x462f53(0x224)]);if(_0x2afec4[_0x462f53(0x347)]<_0x5867cb-0x1)return this;if(this['_checkMissing'](_0x2afec4))return this[_0x462f53(0x4bf)][_0x462f53(0x340)](_0x5ac5d4[_0x462f53(0x41f)],this['unitID'],this[_0x462f53(0x285)],null,[],this[_0x462f53(0x382)],[],this[_0x462f53(0x3a7)]);this[_0x462f53(0x1e7)]();const _0x46a589=this[_0x462f53(0x4bf)][_0x462f53(0x340)](_0x5ac5d4[_0x462f53(0x250)],this[_0x462f53(0x224)],this[_0x462f53(0x285)],this[_0x462f53(0x3a7)]);return _0x46a589['_updateLocalCache'](),_0x46a589;}[_0xe600ea(0x368)](_0x5dc7c1){var _0x35f82b=_0xe600ea;return this[_0x35f82b(0x265)](!!(_0x5dc7c1!=null&&_0x5dc7c1['isPermissionRej']));}[_0xe600ea(0x4d3)](_0x4fc356){var _0x23529=_0xe600ea;return this[_0x23529(0x17e)]>_0x3291d1?this[_0x23529(0x349)]():(this[_0x23529(0x331)]=_0x17920d(this[_0x23529(0x17e)],{'timeout':this[_0x23529(0x17e)],'reqId':_0x4fc356['reqId']}),this[_0x23529(0x2fd)]=this[_0x23529(0x331)][_0x23529(0x1c0)](({reqId:_0x1e42af,timeout:_0x3a0b2b})=>{var _0x13be7e=_0x23529;this[_0x13be7e(0x431)](_0x1e42af,_0x3a0b2b);}),this);}['toggleOffline'](){var _0x461f13=_0xe600ea;return this[_0x461f13(0x46d)](),this[_0x461f13(0x4bf)][_0x461f13(0x340)](_0x5ac5d4[_0x461f13(0x1e3)],this[_0x461f13(0x224)],this[_0x461f13(0x285)],this[_0x461f13(0x382)],[],this[_0x461f13(0x3a7)]);}['toggleOnline'](){return this;}[_0xe600ea(0x2b9)](){var _0x231263=_0xe600ea;this[_0x231263(0x3a7)][_0x231263(0x3ff)](this[_0x231263(0x382)]);}[_0xe600ea(0x265)](_0x3ccd22){var _0x424c7c=_0xe600ea;return this[_0x424c7c(0x46d)](),this[_0x424c7c(0x4bf)][_0x424c7c(0x340)](_0x5ac5d4['ConflictState'],this[_0x424c7c(0x224)],this['type'],this[_0x424c7c(0x382)],[],this[_0x424c7c(0x3a7)],_0x3ccd22);}[_0xe600ea(0x431)](_0xe9bbed,_0x3cc155){var _0xcd31d=_0xe600ea,_0x5639a2;_0xe9bbed===((_0x5639a2=this[_0xcd31d(0x382)])==null?void 0x0:_0x5639a2['reqId'])&&(this['resend'](),this[_0xcd31d(0x17e)]=_0x3cc155===0x0?0x3e8:_0x3cc155*0x2);}[_0xe600ea(0x46d)](){var _0x4471d8=_0xe600ea,_0x1d434d;(_0x1d434d=this['_sender'])==null||_0x1d434d[_0x4471d8(0x358)](),this[_0x4471d8(0x17e)]=0x0;}},_0x5ac5d4['AwaitingState']=_0x13e4f5([_0x17005c(0x4,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x17005c(0x5,_0x17feb2[_0xe600ea(0x1c2)](_0x254674[_0xe600ea(0x468)])),_0x17005c(0x6,_0x17feb2[_0xe600ea(0x1ee)]),_0x17005c(0x7,_0x17feb2[_0xe600ea(0x2b8)]),_0x17005c(0x8,_0x254674[_0xe600ea(0x1a1)]),_0x17005c(0x9,_0x17feb2[_0xe600ea(0x26f)]),_0x17005c(0xa,_0x17feb2[_0xe600ea(0x3ee)](_0x2d8396))],_0x5ac5d4[_0xe600ea(0x28a)]),_0x5ac5d4['AwaitingWithPendingState']=class extends _0x3024e3{constructor(_0x2ed2d8,_0x59f34c,_0x529b8f,_0x4b11bb,_0x1953cc,_0x381b7b,_0xe7ff3f,_0x41240f,_0x15b986,_0x54c79b,_0x1626d7,_0x38bc0b,_0x59f36b){var _0x1255d7=_0xe600ea;super(_0x2ed2d8,_0x59f34c,_0x529b8f,_0x4b11bb,_0x1953cc,_0x15b986,_0x38bc0b,_0x41240f,_0x59f36b),_0x358222(this,_0x1255d7(0x4b1),_0x1255d7(0x35d)),_0x358222(this,_0x1255d7(0x17e),0x0),_0x358222(this,_0x1255d7(0x331)),_0x358222(this,'_sender'),(this[_0x1255d7(0x4bf)]=_0xe7ff3f,this[_0x1255d7(0x42f)]=_0x54c79b,this[_0x1255d7(0x3db)]=_0x1626d7,this['localCacheService']=_0x59f36b,_0x381b7b&&(this[_0x1255d7(0x331)]=_0x381b7b,this['_sender']=this[_0x1255d7(0x331)][_0x1255d7(0x1c0)](({reqId:_0x23a510,timeout:_0x650a40})=>{this['_resendWithTimeout'](_0x23a510,_0x650a40);})));}[_0xe600ea(0x35c)](_0x306b45){var _0x1c5181=_0xe600ea;return this[_0x1c5181(0x19b)][_0x1c5181(0x2c3)](_0x306b45),this;}[_0xe600ea(0x489)](_0x57fa6a){var _0x35a8d1=_0xe600ea;if(this[_0x35a8d1(0x1bf)](_0x57fa6a))return this[_0x35a8d1(0x46d)](),this[_0x35a8d1(0x4bf)]['createInstance'](_0x5ac5d4[_0x35a8d1(0x41f)],this['unitID'],this[_0x35a8d1(0x285)],this[_0x35a8d1(0x382)],this[_0x35a8d1(0x19b)],null,[_0x57fa6a],this[_0x35a8d1(0x3a7)]);try{const _0x57cfc5=this[_0x35a8d1(0x3db)][_0x35a8d1(0x1ac)]([_0x57fa6a],[this[_0x35a8d1(0x382)]],!0x1);if(_0x254674[_0x35a8d1(0x34f)](_0x57cfc5)){const {c1Prime:_0x389c47,c2Prime:_0x332830}=_0x57cfc5,_0x6dd93f=this['_transformService'][_0x35a8d1(0x453)](_0x389c47[0x0],this[_0x35a8d1(0x19b)]);if(_0x254674[_0x35a8d1(0x230)](_0x6dd93f)){const {c1Prime:_0x1e3b73,m2Prime:_0x21e37a}=_0x6dd93f;return this[_0x35a8d1(0x3cc)](_0x1e3b73),_0x332830[0x0]['baseRev']=this[_0x35a8d1(0x352)](),this[_0x35a8d1(0x46d)](),this[_0x35a8d1(0x4bf)][_0x35a8d1(0x340)](_0x5ac5d4[_0x35a8d1(0x460)],this[_0x35a8d1(0x224)],this[_0x35a8d1(0x285)],_0x332830[0x0],_0x21e37a,this[_0x35a8d1(0x3a7)],void 0x0);}throw _0x6dd93f[_0x35a8d1(0x343)];}throw _0x57cfc5[_0x35a8d1(0x343)];}catch(_0x29f5a5){return this[_0x35a8d1(0x42f)][_0x35a8d1(0x343)](_0x29f5a5),this[_0x35a8d1(0x265)](!0x1);}}['onRemoteAck'](_0x14bec0){var _0xe8d59e=_0xe600ea;if(this[_0xe8d59e(0x46d)](),this['_checkMissing'](_0x14bec0))return this[_0xe8d59e(0x4bf)][_0xe8d59e(0x340)](_0x5ac5d4['FetchingMissState'],this[_0xe8d59e(0x224)],this['type'],null,this[_0xe8d59e(0x19b)],this[_0xe8d59e(0x382)],[],this[_0xe8d59e(0x3a7)]);this['_incrementRevisionNumber']();const _0x4e2e4b=this['_injector'][_0xe8d59e(0x340)](_0x5ac5d4['PendingState'],this['unitID'],this[_0xe8d59e(0x285)],this[_0xe8d59e(0x19b)],this['_handler']);return _0x4e2e4b[_0xe8d59e(0x26c)](),_0x4e2e4b[_0xe8d59e(0x3b5)](),_0x4e2e4b;}[_0xe600ea(0x368)](_0x185e82){var _0x1fd345=_0xe600ea;return this[_0x1fd345(0x265)](!!(_0x185e82!=null&&_0x185e82['isPermissionRej']));}['onRemoteRetry'](_0x1ea738){var _0x66e14e=_0xe600ea;return this[_0x66e14e(0x17e)]>_0x3291d1?this[_0x66e14e(0x349)]():(this[_0x66e14e(0x331)]=_0x17920d(this['_resendTimeout'],{'timeout':this[_0x66e14e(0x17e)],'reqId':_0x1ea738['reqId']}),this[_0x66e14e(0x2fd)]=this[_0x66e14e(0x331)][_0x66e14e(0x1c0)](({reqId:_0x2f9d6f,timeout:_0x1d228a})=>{var _0x583255=_0x66e14e;this[_0x583255(0x431)](_0x2f9d6f,_0x1d228a);}),this);}[_0xe600ea(0x349)](){var _0x2b4a7f=_0xe600ea;return this['_clearScheduledTask'](),this[_0x2b4a7f(0x4bf)]['createInstance'](_0x5ac5d4[_0x2b4a7f(0x1e3)],this[_0x2b4a7f(0x224)],this['type'],this[_0x2b4a7f(0x382)],this[_0x2b4a7f(0x19b)],this[_0x2b4a7f(0x3a7)]);}[_0xe600ea(0x3dc)](){return this;}[_0xe600ea(0x2b9)](){var _0x5e45b3=_0xe600ea;this[_0x5e45b3(0x3a7)][_0x5e45b3(0x3ff)](this[_0x5e45b3(0x382)]);}[_0xe600ea(0x265)](_0x433004){var _0x5c9fe1=_0xe600ea;return this[_0x5c9fe1(0x46d)](),this[_0x5c9fe1(0x4bf)][_0x5c9fe1(0x340)](_0x5ac5d4[_0x5c9fe1(0x228)],this['unitID'],this[_0x5c9fe1(0x285)],null,this[_0x5c9fe1(0x19b)],this['_handler'],_0x433004);}['_resendWithTimeout'](_0x48e0a0,_0x56d358){var _0x3eb070=_0xe600ea,_0x15c5ba;_0x48e0a0===((_0x15c5ba=this[_0x3eb070(0x382)])==null?void 0x0:_0x15c5ba[_0x3eb070(0x242)])&&(this[_0x3eb070(0x2b9)](),this['_resendTimeout']=_0x56d358===0x0?0x3e8:_0x56d358*0x2);}[_0xe600ea(0x46d)](){var _0x1614a3=_0xe600ea,_0x2bfdc9;(_0x2bfdc9=this[_0x1614a3(0x2fd)])==null||_0x2bfdc9[_0x1614a3(0x358)](),this[_0x1614a3(0x17e)]=0x0;}},_0x5ac5d4['AwaitingWithPendingState']=_0x13e4f5([_0x17005c(0x6,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x17005c(0x7,_0x17feb2[_0xe600ea(0x1c2)](_0x254674[_0xe600ea(0x468)])),_0x17005c(0x8,_0x17feb2[_0xe600ea(0x1ee)]),_0x17005c(0x9,_0x17feb2['ILogService']),_0x17005c(0xa,_0x254674[_0xe600ea(0x1a1)]),_0x17005c(0xb,_0x17feb2[_0xe600ea(0x26f)]),_0x17005c(0xc,_0x17feb2['Optional'](_0x2d8396))],_0x5ac5d4['AwaitingWithPendingState']),_0x5ac5d4['ConflictState']=class extends _0x3024e3{constructor(_0x1a3559,_0x16d9eb,_0x47649a,_0x1606ad,_0x2d2630,_0x549358=!0x1,_0x5afe28,_0x302f96,_0x5571d6,_0x383234,_0x4add60,_0x290acd,_0x5bfd29){var _0x19eb26=_0xe600ea;super(_0x1a3559,_0x16d9eb,_0x47649a,_0x1606ad,_0x2d2630,_0x302f96,_0x5571d6,_0x383234,_0x5bfd29),_0x358222(this,_0x19eb26(0x4b1),_0x19eb26(0x422)),(this['_isPermissionRej']=_0x549358,this['_permissionService']=_0x5afe28,this['_localeService']=_0x4add60,this[_0x19eb26(0x4ed)]=_0x290acd,this[_0x19eb26(0x226)]=_0x5bfd29,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x19eb26(0x252)]());}['appendMutation'](){return this;}[_0xe600ea(0x489)](){return this;}['onRemoteAck'](){return this;}[_0xe600ea(0x368)](){return this;}[_0xe600ea(0x4d3)](){return this;}['toggleOffline'](){return this;}[_0xe600ea(0x3dc)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xe600ea(0x470)](){var _0x4f68be=_0xe600ea,_0x35daae;(_0x35daae=this['_localCacheService'])==null||_0x35daae[_0x4f68be(0x1a9)](this[_0x4f68be(0x224)],this['type'],null,[]);}[_0xe600ea(0x1ec)](){var _0x4c0d52=_0xe600ea;this[_0x4c0d52(0x292)]?this[_0x4c0d52(0x4ed)][_0x4c0d52(0x33d)]({'id':_0x5852a5[_0x4c0d52(0x31c)]}):this[_0x4c0d52(0x4ed)][_0x4c0d52(0x33d)]({'id':_0x5852a5[_0x4c0d52(0x373)]});}[_0xe600ea(0x252)](){var _0x9e263a=_0xe600ea;this[_0x9e263a(0x43a)]['updatePermissionPoint'](new _0xf0578e['WorkbookEditablePermission'](this[_0x9e263a(0x224)])['id'],!0x1);}},_0x5ac5d4['ConflictState']=_0x13e4f5([_0x17005c(0x6,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1ab)])),_0x17005c(0x7,_0x17feb2[_0xe600ea(0x1ee)]),_0x17005c(0x8,_0x17feb2[_0xe600ea(0x26f)]),_0x17005c(0x9,_0x17feb2[_0xe600ea(0x1c2)](_0x254674[_0xe600ea(0x468)])),_0x17005c(0xa,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x27d)])),_0x17005c(0xb,_0x17feb2[_0xe600ea(0x1c2)](_0x2ee36c)),_0x17005c(0xc,_0x17feb2['Optional'](_0x2d8396))],_0x5ac5d4[_0xe600ea(0x228)]),_0x5ac5d4[_0xe600ea(0x1e3)]=class extends _0x3024e3{constructor(_0x474ec0,_0x241caf,_0x3aee97,_0x1c8441,_0x5e7069,_0xad0783,_0x119aa4,_0x127872,_0x535f8c,_0x511804){var _0x354a56=_0xe600ea;super(_0x474ec0,_0x241caf,_0x3aee97,_0x1c8441,_0x5e7069,_0x127872,_0x535f8c,_0x119aa4,_0x511804),_0x358222(this,_0x354a56(0x4b1),_0x354a56(0x1f5)),this['_injector']=_0xad0783;}[_0xe600ea(0x35c)](_0x403893){var _0x2d2d3c=_0xe600ea;return this[_0x2d2d3c(0x19b)][_0x2d2d3c(0x2c3)](_0x403893),this[_0x2d2d3c(0x3b5)](),this;}[_0xe600ea(0x489)](_0x40b7f4){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0xe600ea(0x1b3)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x112dfc=_0xe600ea;throw new Error(_0x112dfc(0x435));}[_0xe600ea(0x4d3)](){return this;}[_0xe600ea(0x349)](){return this;}['toggleOnline'](){var _0x5eeb06=_0xe600ea;const {_injector:_0x539802,_pendingMutations:_0x1abeb9,_awaitingChangeset:_0x12273f,unitID:_0x5ea53b,_handler:_0x6b0c94,type:_0x442efa}=this,_0x10309a=_0x2eb482(_0x539802,_0x5ea53b,_0x442efa,_0x12273f,_0x1abeb9,_0x6b0c94);return _0x10309a instanceof _0x5ac5d4['PendingState']?_0x10309a['_schedule']():(_0x10309a instanceof _0x5ac5d4[_0x5eeb06(0x460)]||_0x10309a instanceof _0x5ac5d4[_0x5eeb06(0x28a)])&&_0x10309a[_0x5eeb06(0x2b9)](),_0x10309a;}[_0xe600ea(0x2b9)](){var _0x5df6de=_0xe600ea;throw new Error(_0x5df6de(0x24e));}},_0x5ac5d4[_0xe600ea(0x1e3)]=_0x13e4f5([_0x17005c(0x5,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2['Injector'])),_0x17005c(0x6,_0x17feb2[_0xe600ea(0x1c2)](_0x254674[_0xe600ea(0x468)])),_0x17005c(0x7,_0x17feb2[_0xe600ea(0x1ee)]),_0x17005c(0x8,_0x17feb2[_0xe600ea(0x26f)]),_0x17005c(0x9,_0x17feb2[_0xe600ea(0x3ee)](_0x2d8396))],_0x5ac5d4['OfflineState']),_0x5ac5d4[_0xe600ea(0x41f)]=class extends _0x3024e3{constructor(_0x31daf0,_0x1ff77c,_0x42ff6e,_0x5bea66,_0x241105,_0x3bbe65,_0x599b09,_0xf5bb64,_0x4030ed,_0x3ca1e3,_0x4059ca,_0x2c8897,_0x51ce35,_0x20e665){var _0x5a0c63=_0xe600ea;super(_0x31daf0,_0x1ff77c,_0x42ff6e,_0x5bea66,_0x599b09,_0x4059ca,_0x2c8897,_0x4030ed,_0x20e665),_0x358222(this,_0x5a0c63(0x4b1),_0x5a0c63(0x18e)),(this[_0x5a0c63(0x3ad)]=_0x241105,this[_0x5a0c63(0x3a3)]=_0x3bbe65,this[_0x5a0c63(0x4bf)]=_0xf5bb64,this[_0x5a0c63(0x42f)]=_0x3ca1e3,this[_0x5a0c63(0x3db)]=_0x51ce35,this[_0x5a0c63(0x226)]=_0x20e665);}['onMissedChangesetFetched'](_0x5ad829){var _0x5be2fa=_0xe600ea;try{const _0x11c091=[..._0x5ad829,...this['_queuedRemoteChangesets']],_0x283d24=[this[_0x5be2fa(0x382)]||this[_0x5be2fa(0x3ad)]][_0x5be2fa(0x4a4)](_0x5dcb01=>!!_0x5dcb01);let _0x1c0db7,_0x5c5482;if(_0x283d24[_0x5be2fa(0x4ac)]){const _0x4c26ea=this[_0x5be2fa(0x3db)]['transformChangesets'](_0x11c091,_0x283d24,!0x1);if(!_0x254674['isTransformChangesetsSuccess'](_0x4c26ea))throw _0x4c26ea[_0x5be2fa(0x343)];_0x1c0db7=_0x4c26ea['c1Prime'],_0x5c5482=_0x4c26ea[_0x5be2fa(0x4d9)];}else _0x1c0db7=_0x11c091,_0x5c5482=[];let _0x16b807=this[_0x5be2fa(0x19b)];_0x1c0db7[_0x5be2fa(0x3b2)](_0x440783=>{var _0x3e97c9=_0x5be2fa;let _0x3bc07c;if(_0x16b807[_0x3e97c9(0x4ac)]){const _0x13ef38=this[_0x3e97c9(0x3db)][_0x3e97c9(0x453)](_0x440783,_0x16b807);if(!_0x254674['isTransformMutationsWithChangesetSuccess'](_0x13ef38))throw _0x13ef38[_0x3e97c9(0x343)];_0x3bc07c=_0x13ef38[_0x3e97c9(0x41b)],_0x16b807=_0x13ef38[_0x3e97c9(0x41a)];}else _0x3bc07c=_0x440783;this['_executeRemoteChangeset'](_0x3bc07c);}),this[_0x5be2fa(0x3ad)]&&this[_0x5be2fa(0x1e7)](),this['_awaitingChangeset']&&_0x5c5482[_0x5be2fa(0x4ac)]&&(_0x5c5482[0x0][_0x5be2fa(0x4a7)]=this[_0x5be2fa(0x352)]());let _0x1c4c3f;if(this[_0x5be2fa(0x382)]&&_0x16b807[_0x5be2fa(0x4ac)]!==0x0)_0x1c4c3f=this[_0x5be2fa(0x4bf)][_0x5be2fa(0x340)](_0x5ac5d4[_0x5be2fa(0x460)],this['unitID'],this['type'],_0x5c5482[0x0],_0x16b807,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x16b807['length']===0x0)_0x5c5482[0x0][_0x5be2fa(0x4a7)]=this[_0x5be2fa(0x352)](),_0x1c4c3f=this['_injector'][_0x5be2fa(0x340)](_0x5ac5d4[_0x5be2fa(0x28a)],this['unitID'],this[_0x5be2fa(0x285)],_0x5c5482[0x0],this['_handler']);else{if(_0x16b807['length']!==0x0){const _0x3a296c=this[_0x5be2fa(0x4bf)][_0x5be2fa(0x340)](_0x5ac5d4[_0x5be2fa(0x47f)],this['unitID'],this[_0x5be2fa(0x285)],_0x16b807,this[_0x5be2fa(0x3a7)]);_0x3a296c[_0x5be2fa(0x26c)](),_0x1c4c3f=_0x3a296c;}else _0x1c4c3f=this[_0x5be2fa(0x4bf)][_0x5be2fa(0x340)](_0x5ac5d4[_0x5be2fa(0x250)],this[_0x5be2fa(0x224)],this[_0x5be2fa(0x285)],this[_0x5be2fa(0x3a7)]);}}return _0x1c4c3f[_0x5be2fa(0x3b5)](),_0x1c4c3f;}catch(_0x46c699){return this[_0x5be2fa(0x42f)][_0x5be2fa(0x343)](_0x5be2fa(0x32e),_0x5be2fa(0x21b),_0x46c699),this[_0x5be2fa(0x4bf)][_0x5be2fa(0x340)](_0x5ac5d4[_0x5be2fa(0x228)],this[_0x5be2fa(0x224)],this[_0x5be2fa(0x285)],this[_0x5be2fa(0x382)],this['_pendingMutations'],this[_0x5be2fa(0x3a7)],!0x1);}}[_0xe600ea(0x2b9)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x3b88f4){var _0x2b8e64=_0xe600ea;return this['_pendingMutations'][_0x2b8e64(0x2c3)](_0x3b88f4),this;}[_0xe600ea(0x489)](_0x3e6286){var _0x58016c=_0xe600ea;return this[_0x58016c(0x3a3)][_0x58016c(0x2c3)](_0x3e6286),this;}[_0xe600ea(0x1b3)](_0x5e3415){var _0x56ef5e=_0xe600ea;if(this[_0x56ef5e(0x382)])return this[_0x56ef5e(0x3ad)]=this[_0x56ef5e(0x382)],this[_0x56ef5e(0x382)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0xe600ea(0x368)](_0x3f6d61){var _0x382c52=_0xe600ea;return this['_onConflict'](!!(_0x3f6d61!=null&&_0x3f6d61[_0x382c52(0x1a0)]));}[_0xe600ea(0x4d3)](){return this;}[_0xe600ea(0x349)](){var _0x28454e=_0xe600ea;return this[_0x28454e(0x4bf)][_0x28454e(0x340)](_0x5ac5d4[_0x28454e(0x1e3)],this[_0x28454e(0x224)],this[_0x28454e(0x285)],this[_0x28454e(0x382)],this[_0x28454e(0x19b)],this[_0x28454e(0x3a7)]);}[_0xe600ea(0x3dc)](){return this;}[_0xe600ea(0x265)](_0x2bfff4){var _0x4ce752=_0xe600ea;return this['_injector'][_0x4ce752(0x340)](_0x5ac5d4[_0x4ce752(0x228)],this[_0x4ce752(0x224)],this['type'],this[_0x4ce752(0x382)],this[_0x4ce752(0x19b)],this[_0x4ce752(0x3a7)],_0x2bfff4);}},_0x5ac5d4['FetchingMissState']=_0x13e4f5([_0x17005c(0x7,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x17005c(0x8,_0x17feb2[_0xe600ea(0x1c2)](_0x254674[_0xe600ea(0x468)])),_0x17005c(0x9,_0x17feb2[_0xe600ea(0x2b8)]),_0x17005c(0xa,_0x17feb2[_0xe600ea(0x1ee)]),_0x17005c(0xb,_0x17feb2[_0xe600ea(0x26f)]),_0x17005c(0xc,_0x254674[_0xe600ea(0x1a1)]),_0x17005c(0xd,_0x17feb2[_0xe600ea(0x3ee)](_0x2d8396))],_0x5ac5d4[_0xe600ea(0x41f)]);function _0x2eb482(_0x244a7c,_0x3087c2,_0xa35de5,_0x4b6ccb,_0x16a123,_0x2cea34){var _0x217535=_0xe600ea;return _0x4b6ccb&&_0x16a123[_0x217535(0x4ac)]?_0x244a7c['createInstance'](_0x5ac5d4[_0x217535(0x460)],_0x3087c2,_0xa35de5,_0x4b6ccb,_0x16a123,_0x2cea34,void 0x0):_0x4b6ccb?_0x244a7c['createInstance'](_0x5ac5d4[_0x217535(0x28a)],_0x3087c2,_0xa35de5,_0x4b6ccb,_0x2cea34):_0x16a123[_0x217535(0x4ac)]?_0x244a7c[_0x217535(0x340)](_0x5ac5d4[_0x217535(0x47f)],_0x3087c2,_0xa35de5,_0x16a123,_0x2cea34):_0x244a7c[_0x217535(0x340)](_0x5ac5d4['SyncedState'],_0x3087c2,_0xa35de5,_0x2cea34);}var _0x4814c0=Object[_0xe600ea(0x305)],_0x188857=(_0x1c6fd9,_0x2b7ea2,_0x5c35c6,_0x4e5011)=>{var _0x291db3=_0xe600ea;for(var _0x41f719=_0x4e5011>0x1?void 0x0:_0x4e5011?_0x4814c0(_0x2b7ea2,_0x5c35c6):_0x2b7ea2,_0x5bb6aa=_0x1c6fd9[_0x291db3(0x4ac)]-0x1,_0x50960e;_0x5bb6aa>=0x0;_0x5bb6aa--)(_0x50960e=_0x1c6fd9[_0x5bb6aa])&&(_0x41f719=_0x50960e(_0x41f719)||_0x41f719);return _0x41f719;},_0x1cc481=(_0x22c1f1,_0x25abee)=>(_0x510e1b,_0x26f0cb)=>_0x25abee(_0x510e1b,_0x26f0cb,_0x22c1f1);_0x5ac5d4['CollaborationEntity']=class extends _0x17feb2[_0xe600ea(0x286)]{constructor(_0x5406e7,_0x4044b0,_0x5383da,_0x28fde9,_0x1e865e,_0x29deda,_0x15e92e,_0x3863ab,_0x547b86,_0x3a8735,_0x308698,_0x29c8d7,_0x1d62e4,_0x1be100){var _0x35e8e3=_0xe600ea;super(),_0x358222(this,_0x35e8e3(0x271),new _0xd6d137['BehaviorSubject'](null)),_0x358222(this,_0x35e8e3(0x2ac),this[_0x35e8e3(0x271)]['asObservable']()),_0x358222(this,_0x35e8e3(0x475)),_0x358222(this,_0x35e8e3(0x32d),!0x1),_0x358222(this,_0x35e8e3(0x24f),''),_0x358222(this,'_changesetReqId',0x0),_0x358222(this,_0x35e8e3(0x3cb),this[_0x35e8e3(0x2ac)][_0x35e8e3(0x28b)](_0xd6d137[_0x35e8e3(0x4ab)](_0x4e3a35=>_0x4e3a35?_0x4e3a35[_0x35e8e3(0x4b1)]:_0x93c01f[_0x35e8e3(0x2ee)]),_0xd6d137[_0x35e8e3(0x18b)](0x1))),_0x358222(this,_0x35e8e3(0x450),!0x1),_0x358222(this,_0x35e8e3(0x177),[]),(this[_0x35e8e3(0x224)]=_0x5406e7,this['session']=_0x4044b0,this[_0x35e8e3(0x2d1)]=_0x5383da,this['_injector']=_0x28fde9,this['_compressMutationService']=_0x1e865e,this[_0x35e8e3(0x1c6)]=_0x29deda,this[_0x35e8e3(0x1a2)]=_0x15e92e,this['_eventService']=_0x3863ab,this['_univerInstanceService']=_0x547b86,this[_0x35e8e3(0x42f)]=_0x3a8735,this[_0x35e8e3(0x37c)]=_0x308698,this[_0x35e8e3(0x43a)]=_0x29c8d7,this[_0x35e8e3(0x3eb)]=_0x1d62e4,this['_localCacheService']=_0x1be100);}get[_0xe600ea(0x19a)](){var _0x4cd0e4=_0xe600ea;return this[_0x4cd0e4(0x475)];}async[_0xe600ea(0x2ff)](){var _0x4c424a=_0xe600ea;if(this[_0x4c424a(0x19a)])throw new Error(_0x4c424a(0x3ba));await this[_0x4c424a(0x344)]();}[_0xe600ea(0x18a)](){var _0x4d1942=_0xe600ea;return this[_0x4d1942(0x32d)]=!0x0,_0x17feb2['toDisposable'](()=>{var _0x36f814=_0x4d1942;this['_collaborationPaused']=!0x1,this[_0x36f814(0x3b7)]();});}[_0xe600ea(0x1d7)](_0x1e8aef){var _0x2f23f3=_0xe600ea;this[_0x2f23f3(0x1cf)](_0x1e8aef);}['_updateState'](_0x3854fc){this['_state']=_0x3854fc,this['_state$']['next'](_0x3854fc);}async['_init'](){var _0x4aafba=_0xe600ea,_0x4845de;this['_updateState'](await this[_0x4aafba(0x391)]()),this[_0x4aafba(0x3eb)]&&((_0x4845de=this['_singleActiveUnitService'])==null||_0x4845de[_0x4aafba(0x25d)](this[_0x4aafba(0x224)]),this['disposeWithMe'](this[_0x4aafba(0x3eb)][_0x4aafba(0x346)](this['unitID'])[_0x4aafba(0x1c0)](_0x47fd0e=>{var _0x235721=_0x4aafba;this[_0x235721(0x42f)]['debug']('[CollaborationEntity]',_0x235721(0x364),_0x47fd0e),_0x47fd0e===_0x1eb2dd[_0x235721(0x3fa)]?(this['_eventService'][_0x235721(0x33d)]({'id':_0x5852a5[_0x235721(0x43c)]}),this[_0x235721(0x43a)][_0x235721(0x474)](new _0xf0578e[(_0x235721(0x3a5))](this[_0x235721(0x224)])['id'],!0x1),this['_permissionService'][_0x235721(0x2c5)](!0x1)):(this[_0x235721(0x43a)][_0x235721(0x474)](new _0xf0578e[(_0x235721(0x3a5))](this[_0x235721(0x224)])['id'],!0x0),this[_0x235721(0x43a)]['setShowComponents'](!0x0));})));let _0x46fe72=!0x1;return this['disposeWithMe'](this[_0x4aafba(0x1d5)][_0x4aafba(0x4a1)][_0x4aafba(0x1c0)](_0x10b69e=>{var _0x5f5c47=_0x4aafba;_0x10b69e===_0x57cde5[_0x5f5c47(0x337)]?this[_0x5f5c47(0x441)](_0x46fe72):_0x10b69e===_0x57cde5[_0x5f5c47(0x2ee)]&&(_0x46fe72=!0x0,this[_0x5f5c47(0x256)]());})),this[_0x4aafba(0x49e)](this[_0x4aafba(0x1d5)][_0x4aafba(0x37f)]['subscribe'](_0x6c5e5b=>{var _0x449a47=_0x4aafba;try{switch(_0x6c5e5b[_0x449a47(0x4d0)]){case _0x254674[_0x449a47(0x411)][_0x449a47(0x4f0)]:{this['_onRemoteChangeset'](_0x254674[_0x449a47(0x4e7)](_0x6c5e5b[_0x449a47(0x2f6)]));break;}case _0x254674[_0x449a47(0x411)]['CHANGESET_ACK']:{this[_0x449a47(0x263)](_0x6c5e5b[_0x449a47(0x2f6)]);break;}case _0x254674['CollaborationEvent'][_0x449a47(0x16d)]:{this[_0x449a47(0x267)]();break;}case _0x254674[_0x449a47(0x411)][_0x449a47(0x3cd)]:{this[_0x449a47(0x328)](_0x6c5e5b[_0x449a47(0x2f6)]);break;}case _0x254674['CollaborationEvent'][_0x449a47(0x2ad)]:{this[_0x449a47(0x22d)](_0x6c5e5b[_0x449a47(0x2f6)]['changesets'][_0x449a47(0x4ab)](_0x1d6d4c=>_0x254674[_0x449a47(0x4e7)](_0x1d6d4c)));break;}case _0x254674[_0x449a47(0x411)][_0x449a47(0x196)]:{this[_0x449a47(0x267)]({'isPermissionRej':!0x0});break;}case _0x254674[_0x449a47(0x411)]['UNISCRIPT_RUN']:break;}}catch(_0x1a7b9c){throw console['error'](_0x449a47(0x49a),_0x1a7b9c),_0x1a7b9c;}})),this[_0x4aafba(0x475)];}[_0xe600ea(0x400)](){var _0x219cd9=_0xe600ea;this[_0x219cd9(0x450)]=!0x1;}[_0xe600ea(0x2b3)](){var _0xc23916=_0xe600ea;if(this[_0xc23916(0x450)])throw new Error(_0xc23916(0x217));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x290b9e){var _0x98d184=_0xe600ea;this[_0x98d184(0x2b3)](),this[_0x98d184(0x3bd)](this[_0x98d184(0x475)][_0x98d184(0x35c)](_0x290b9e)),this[_0x98d184(0x400)]();}['_onRemoteChangeset'](_0x2c2c99){var _0x4405b5=_0xe600ea;if(!(_0x2c2c99[_0x4405b5(0x347)]<=this['_revisionService'][_0x4405b5(0x17b)](this['unitID']))){if(this['_collaborationPaused']){this[_0x4405b5(0x177)][_0x4405b5(0x2c3)](_0x2c2c99);return;}this[_0x4405b5(0x2d0)](_0x2c2c99);}}[_0xe600ea(0x3b7)](){var _0x3b5633=_0xe600ea;this[_0x3b5633(0x177)][_0x3b5633(0x3b2)](_0x344dd2=>this[_0x3b5633(0x2d0)](_0x344dd2)),this[_0x3b5633(0x177)]=[];}[_0xe600ea(0x2d0)](_0x2cd578){var _0x4b91cf=_0xe600ea;const _0x243f5b=this[_0x4b91cf(0x1c8)][_0x4b91cf(0x3a1)][_0x4b91cf(0x212)](this[_0x4b91cf(0x1c8)][_0x4b91cf(0x3a1)][_0x4b91cf(0x293)]()[_0x4b91cf(0x348)])(_0x2cd578[_0x4b91cf(0x1e6)],null)||_0x2cd578[_0x4b91cf(0x1e6)],_0x2a286f={..._0x2cd578,'mutations':_0x243f5b};this[_0x4b91cf(0x2b3)](),this[_0x4b91cf(0x3bd)](this[_0x4b91cf(0x475)]['onRemoteChangeset'](_0x2a286f)),this['_unlockTransition']();}[_0xe600ea(0x263)](_0x1fceb4){var _0x18f4a2=_0xe600ea;this[_0x18f4a2(0x2b3)](),this[_0x18f4a2(0x3bd)](this['_state'][_0x18f4a2(0x1b3)](_0x1fceb4)),this[_0x18f4a2(0x400)]();}[_0xe600ea(0x267)](_0x108dca){var _0x55b76c=_0xe600ea;this['_lockTransition'](),this[_0x55b76c(0x3bd)](this[_0x55b76c(0x475)][_0x55b76c(0x368)](_0x108dca)),this[_0x55b76c(0x400)]();}[_0xe600ea(0x328)](_0x496712){var _0x32a77b=_0xe600ea;this['_lockTransition'](),this[_0x32a77b(0x3bd)](this[_0x32a77b(0x475)][_0x32a77b(0x4d3)](_0x496712)),this['_unlockTransition']();}[_0xe600ea(0x22d)](_0x4027f5){var _0xb3dae0=_0xe600ea;if(!(this[_0xb3dae0(0x475)]instanceof _0x5ac5d4[_0xb3dae0(0x41f)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3b9cdb=_0x4027f5[_0xb3dae0(0x4ab)](_0x5d31a5=>{var _0x38118d=_0xb3dae0;const _0x43fdde=this[_0x38118d(0x1c8)][_0x38118d(0x3a1)]['fetchThroughInterceptors'](this[_0x38118d(0x1c8)]['interceptor'][_0x38118d(0x293)]()[_0x38118d(0x348)])(_0x5d31a5[_0x38118d(0x1e6)],null)||_0x5d31a5['mutations'];return{..._0x5d31a5,'mutations':_0x43fdde};});this[_0xb3dae0(0x2b3)](),this[_0xb3dae0(0x3bd)](this[_0xb3dae0(0x475)][_0xb3dae0(0x1d4)](_0x3b9cdb)),this['_unlockTransition']();}[_0xe600ea(0x256)](){var _0xc67d77=_0xe600ea;this['_lockTransition'](),this[_0xc67d77(0x3bd)](this[_0xc67d77(0x475)][_0xc67d77(0x349)]()),this[_0xc67d77(0x400)]();}[_0xe600ea(0x441)](_0x5427b3=!0x1){var _0x318000=_0xe600ea;this[_0x318000(0x2b3)](),this[_0x318000(0x3bd)](this[_0x318000(0x475)][_0x318000(0x3dc)]()),this[_0x318000(0x400)]();const _0x2416b4=this[_0x318000(0x475)];_0x5427b3&&_0x2416b4 instanceof _0x5ac5d4[_0x318000(0x250)]&&(this['_lockTransition'](),this[_0x318000(0x3bd)](_0x2416b4[_0x318000(0x2dc)]()),this['_unlockTransition']());}async[_0xe600ea(0x391)](){return new Promise(_0x1ae9f0=>{var _0x5d356c=_0x239d;this[_0x5d356c(0x1d5)][_0x5d356c(0x4a1)]['pipe'](_0xd6d137[_0x5d356c(0x481)](0x1))['subscribe'](async _0x56a37c=>{var _0x132800=_0x5d356c;_0x1ae9f0(await this[_0x132800(0x2ce)](_0x56a37c===_0x57cde5['ONLINE']));});});}[_0xe600ea(0x3ce)](){var _0x215dbd=_0xe600ea;const _0x143c64=this[_0x215dbd(0x224)];return{'onStateChange':(_0x2cab55,_0x208011)=>{var _0x1550e9=_0x215dbd;if(_0x2cab55!==this[_0x1550e9(0x475)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2cab55['status']+_0x1550e9(0x218)+_0x208011[_0x1550e9(0x4b1)]+'\x0aCurrent:\x20'+this['_state'][_0x1550e9(0x4b1)]);this[_0x1550e9(0x3bd)](_0x208011);},'onSendChangeset':_0x34d713=>{var _0x3e9dad=_0x215dbd;_0x34d713[_0x3e9dad(0x412)]||(_0x34d713[_0x3e9dad(0x412)]=this[_0x3e9dad(0x24f)],_0x34d713[_0x3e9dad(0x242)]=++this[_0x3e9dad(0x4c4)]);const _0x3d55e7={'eventID':_0x254674[_0x3e9dad(0x411)][_0x3e9dad(0x3ef)],'data':{'unitID':_0x34d713[_0x3e9dad(0x224)],'unitType':this[_0x3e9dad(0x2d1)],'changeset':_0x34d713,'memberID':this['session'][_0x3e9dad(0x3f7)]()}};this[_0x3e9dad(0x1d5)][_0x3e9dad(0x3d2)](_0x3d55e7,this[_0x3e9dad(0x224)]);},'onMissingChangesets':({from:_0x5e660f,to:_0x57c5f4})=>{var _0x2c4b91=_0x215dbd;this[_0x2c4b91(0x42f)]['debug']('[CollaborationEntity]',_0x2c4b91(0x220)+_0x5e660f+_0x2c4b91(0x298)+_0x57c5f4);const _0x1acda5={'eventID':_0x254674['CollaborationEvent'][_0x2c4b91(0x1c1)],'data':{'unitID':_0x143c64,'unitType':this[_0x2c4b91(0x2d1)],'from':_0x5e660f,'to':_0x57c5f4}};this[_0x2c4b91(0x1d5)]['send'](_0x1acda5,this['unitID']);}};}async[_0xe600ea(0x2ce)](_0x2fe271){var _0x2a709b=_0xe600ea,_0x2ea15f,_0x109f90,_0x543e7f;const _0x42dab5=await((_0x2ea15f=this[_0x2a709b(0x2a1)])==null?void 0x0:_0x2ea15f[_0x2a709b(0x266)](this[_0x2a709b(0x224)])),_0x7e7519=(_0x109f90=_0x42dab5==null?void 0x0:_0x42dab5[_0x2a709b(0x1e6)])!=null?_0x109f90:[],_0x5e6941=(_0x543e7f=_0x42dab5==null?void 0x0:_0x42dab5[_0x2a709b(0x1e8)])!=null?_0x543e7f:null,_0x44a429=!!(_0x5e6941!=null&&_0x5e6941['sid'])&&!!(_0x5e6941!=null&&_0x5e6941[_0x2a709b(0x242)]);this[_0x2a709b(0x24f)]=_0x44a429?_0x5e6941[_0x2a709b(0x412)]:_0x254674['uuidv4'](),this[_0x2a709b(0x4c4)]=_0x44a429?_0x5e6941[_0x2a709b(0x242)]:0x0;const _0x25566b=this[_0x2a709b(0x224)];try{this['_replayCachedMutations'](_0x5e6941,_0x7e7519);}catch(_0x5881f7){this['_logService'][_0x2a709b(0x343)](_0x5881f7);}const _0xd00e63=this[_0x2a709b(0x3ce)]();if(_0x2fe271){const _0x3b623d=_0x2eb482(this['_injector'],_0x25566b,this[_0x2a709b(0x2d1)],_0x5e6941,_0x7e7519,_0xd00e63);return _0x3b623d instanceof _0x5ac5d4['PendingState']?_0x3b623d[_0x2a709b(0x26c)]():(_0x3b623d instanceof _0x5ac5d4[_0x2a709b(0x460)]||_0x3b623d instanceof _0x5ac5d4[_0x2a709b(0x28a)])&&_0x3b623d[_0x2a709b(0x2b9)](),_0x3b623d;}return this[_0x2a709b(0x4bf)]['createInstance'](_0x5ac5d4[_0x2a709b(0x1e3)],_0x25566b,this[_0x2a709b(0x2d1)],_0x5e6941,_0x7e7519,_0xd00e63);}[_0xe600ea(0x1cb)](_0x39ae1c,_0xf946fe){var _0x8eb408=_0xe600ea,_0x4273f9,_0x551e3f;const _0x56656d=this[_0x8eb408(0x1c8)][_0x8eb408(0x3a1)][_0x8eb408(0x212)](this['_compressMutationService']['interceptor'][_0x8eb408(0x293)]()[_0x8eb408(0x348)]);(_0x4273f9=_0x56656d((_0x39ae1c==null?void 0x0:_0x39ae1c[_0x8eb408(0x1e6)])||[],null))==null||_0x4273f9[_0x8eb408(0x3b2)](_0x2499ad=>this[_0x8eb408(0x37c)][_0x8eb408(0x241)](_0x2499ad['id'],_0x2499ad[_0x8eb408(0x33b)])),(_0x551e3f=_0x56656d(_0xf946fe||[],null))==null||_0x551e3f[_0x8eb408(0x3b2)](_0x13c91b=>this[_0x8eb408(0x37c)][_0x8eb408(0x241)](_0x13c91b['id'],_0x13c91b['params']));}},_0x5ac5d4['CollaborationEntity']=_0x188857([_0x1cc481(0x3,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2['Injector'])),_0x1cc481(0x4,_0x17feb2[_0xe600ea(0x1c2)](_0x254674['CompressMutationService'])),_0x1cc481(0x5,_0x17feb2['Inject'](_0x17feb2[_0xe600ea(0x27d)])),_0x1cc481(0x6,_0x17feb2[_0xe600ea(0x1c2)](_0x254674['RevisionService'])),_0x1cc481(0x7,_0x17feb2[_0xe600ea(0x1c2)](_0x2ee36c)),_0x1cc481(0x8,_0x17feb2[_0xe600ea(0x213)]),_0x1cc481(0x9,_0x17feb2[_0xe600ea(0x2b8)]),_0x1cc481(0xa,_0x17feb2[_0xe600ea(0x1ee)]),_0x1cc481(0xb,_0x17feb2[_0xe600ea(0x1ab)]),_0x1cc481(0xc,_0x17feb2[_0xe600ea(0x3ee)](_0xba00e)),_0x1cc481(0xd,_0x17feb2['Optional'](_0x2d8396))],_0x5ac5d4[_0xe600ea(0x1f0)]),_0x5ac5d4['DocCollaborationEntity']=class extends _0x5ac5d4[_0xe600ea(0x1f0)]{constructor(_0x77b523,_0x39978e,_0x521c23,_0x504e23,_0x5a6ed1,_0xd20c61,_0xdc18bc,_0x3762d3,_0x4b1437,_0x120723,_0xaf35df,_0x2e60c8,_0x167089,_0x5b1502){var _0x492e00=_0xe600ea;super(_0x77b523,_0x521c23,_0x39978e,_0x504e23,_0x5a6ed1,_0xd20c61,_0xdc18bc,_0x3762d3,_0x4b1437,_0x120723,_0xaf35df,_0x2e60c8,_0x167089,_0x5b1502),_0x358222(this,'_handlerCallback',null),(this[_0x492e00(0x224)]=_0x77b523,this[_0x492e00(0x285)]=_0x39978e);}['addHandlerCallback'](_0x1ae47d){var _0x54f23b=_0xe600ea;this[_0x54f23b(0x4af)]=_0x1ae47d;}[_0xe600ea(0x4bd)](){var _0x5ea251=_0xe600ea;this[_0x5ea251(0x4af)]=null,super['dispose']();}['_createHandler'](){var _0x37ebc3=_0xe600ea;const _0x645687=super[_0x37ebc3(0x3ce)]();return _0x645687[_0x37ebc3(0x39a)]=_0x13c405=>{var _0x565c20=_0x37ebc3,_0x3d5b1d,_0x4e1a58;return(_0x4e1a58=(_0x3d5b1d=this[_0x565c20(0x4af)])==null?void 0x0:_0x3d5b1d[_0x565c20(0x39a)])==null?void 0x0:_0x4e1a58['call'](_0x3d5b1d,_0x13c405);},_0x645687[_0x37ebc3(0x2f9)]=_0x135f30=>{var _0x117219=_0x37ebc3,_0x4ea4d3,_0x3d4c4b;return(_0x3d4c4b=(_0x4ea4d3=this['_handlerCallback'])==null?void 0x0:_0x4ea4d3[_0x117219(0x2f9)])==null?void 0x0:_0x3d4c4b['call'](_0x4ea4d3,_0x135f30);},_0x645687[_0x37ebc3(0x1df)]=_0x36be79=>{var _0x4e418d=_0x37ebc3,_0x180916,_0x279c93;return(_0x279c93=(_0x180916=this['_handlerCallback'])==null?void 0x0:_0x180916[_0x4e418d(0x1df)])==null?void 0x0:_0x279c93[_0x4e418d(0x24d)](_0x180916,_0x36be79);},_0x645687[_0x37ebc3(0x216)]=_0x5bd380=>{var _0x27d908=_0x37ebc3,_0x45073a,_0x179b1c;return(_0x179b1c=(_0x45073a=this[_0x27d908(0x4af)])==null?void 0x0:_0x45073a[_0x27d908(0x216)])==null?void 0x0:_0x179b1c['call'](_0x45073a,_0x5bd380);},_0x645687[_0x37ebc3(0x440)]=_0x3f1cfb=>{var _0x3b1386=_0x37ebc3,_0x99f20d,_0xef4afa,_0x4f8880;if(!((_0x99f20d=this['_handlerCallback'])!=null&&_0x99f20d[_0x3b1386(0x440)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x4f8880=(_0xef4afa=this[_0x3b1386(0x4af)])==null?void 0x0:_0xef4afa[_0x3b1386(0x440)])==null?void 0x0:_0x4f8880[_0x3b1386(0x24d)](_0xef4afa,_0x3f1cfb);},_0x645687['onTransformRemoteChangesetByStateCache']=_0x52b5e4=>{var _0x3200f0=_0x37ebc3,_0x53df3e,_0x7098c2,_0x297afa;if(!((_0x53df3e=this['_handlerCallback'])!=null&&_0x53df3e[_0x3200f0(0x4cd)]))throw new Error(_0x3200f0(0x48b));return(_0x297afa=(_0x7098c2=this[_0x3200f0(0x4af)])==null?void 0x0:_0x7098c2[_0x3200f0(0x4cd)])==null?void 0x0:_0x297afa['call'](_0x7098c2,_0x52b5e4);},_0x645687;}async[_0xe600ea(0x344)](){var _0x233039=_0xe600ea;const _0x5bca68=await super['_init']();return this[_0x233039(0x49e)](this[_0x233039(0x37c)][_0x233039(0x30d)]((_0x409d7a,_0x5a244e)=>{var _0x496122=_0x233039;if(_0x409d7a['type']!==_0x17feb2[_0x496122(0x1b2)][_0x496122(0x3bf)]||_0x5a244e!=null&&_0x5a244e[_0x496122(0x483)]||_0x5a244e!=null&&_0x5a244e[_0x496122(0x25e)]||_0x409d7a['id']===_0x65b9e[_0x496122(0x1fb)]['id'])return;const _0x595243=_0x409d7a[_0x496122(0x33b)];if((_0x595243==null?void 0x0:_0x595243['unitId'])!==this[_0x496122(0x224)])return;const _0x524282=_0x409d7a,_0x2c5e4e=this[_0x496122(0x1c8)][_0x496122(0x3a1)]['fetchThroughInterceptors'](this[_0x496122(0x1c8)][_0x496122(0x3a1)][_0x496122(0x293)]()[_0x496122(0x4ce)])([_0x524282],this[_0x496122(0x1c4)])||[_0x524282];this[_0x496122(0x1cf)](_0x2c5e4e[0x0]);})),_0x5bca68;}},_0x5ac5d4[_0xe600ea(0x31e)]=_0x188857([_0x1cc481(0x3,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x1cc481(0x4,_0x17feb2['Inject'](_0x254674[_0xe600ea(0x4e6)])),_0x1cc481(0x5,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x27d)])),_0x1cc481(0x6,_0x17feb2[_0xe600ea(0x1c2)](_0x254674[_0xe600ea(0x468)])),_0x1cc481(0x7,_0x17feb2[_0xe600ea(0x1c2)](_0x2ee36c)),_0x1cc481(0x8,_0x17feb2[_0xe600ea(0x213)]),_0x1cc481(0x9,_0x17feb2['ILogService']),_0x1cc481(0xa,_0x17feb2[_0xe600ea(0x1ee)]),_0x1cc481(0xb,_0x17feb2[_0xe600ea(0x1ab)]),_0x1cc481(0xc,_0x17feb2[_0xe600ea(0x3ee)](_0xba00e)),_0x1cc481(0xd,_0x17feb2[_0xe600ea(0x3ee)](_0x2d8396))],_0x5ac5d4[_0xe600ea(0x31e)]),_0x5ac5d4[_0xe600ea(0x4d4)]=class extends _0x5ac5d4[_0xe600ea(0x1f0)]{constructor(_0x25ffd3,_0x5bef0a,_0x5e7868,_0x49d29d,_0x52daa2,_0xf09f19,_0x29ea6d,_0x39267b,_0x16daa5,_0x31c7a1,_0x156ea4,_0x2c8bc4,_0x503990,_0x4ed2a9,_0x47a5f6){var _0x5bde9e=_0xe600ea;super(_0x25ffd3,_0x5e7868,_0x5bef0a,_0x49d29d,_0x52daa2,_0xf09f19,_0x29ea6d,_0x16daa5,_0x31c7a1,_0x156ea4,_0x2c8bc4,_0x503990,_0x4ed2a9,_0x47a5f6),this[_0x5bde9e(0x224)]=_0x25ffd3,this[_0x5bde9e(0x285)]=_0x5bef0a,this[_0x5bde9e(0x23c)]=_0x39267b;}[_0xe600ea(0x3ce)](){var _0x35da21=_0xe600ea;const _0x453560=super[_0x35da21(0x3ce)]();return _0x453560[_0x35da21(0x1df)]=_0x852dfd=>this['_sheetTransformSelectionsService']['transformSelections'](_0x852dfd),_0x453560;}async[_0xe600ea(0x344)](){var _0x462ec9=_0xe600ea;const _0x2adb2e=await super[_0x462ec9(0x344)]();return this[_0x462ec9(0x49e)](this[_0x462ec9(0x37c)][_0x462ec9(0x30d)]((_0x26b2a2,_0x211b29)=>{var _0x5b7032=_0x462ec9;if(_0x26b2a2[_0x5b7032(0x285)]!==_0x17feb2[_0x5b7032(0x1b2)][_0x5b7032(0x3bf)]||_0x211b29!=null&&_0x211b29[_0x5b7032(0x483)]||_0x211b29!=null&&_0x211b29[_0x5b7032(0x25e)])return;const _0x47aca5=_0x26b2a2[_0x5b7032(0x33b)];if((_0x47aca5==null?void 0x0:_0x47aca5[_0x5b7032(0x2e2)])!==this['unitID'])return;const _0x567769=_0x26b2a2,_0x37c511=this['_compressMutationService'][_0x5b7032(0x3a1)]['fetchThroughInterceptors'](this[_0x5b7032(0x1c8)][_0x5b7032(0x3a1)][_0x5b7032(0x293)]()['COMPRESS_MUTATION_SEND'])([_0x567769],this[_0x5b7032(0x1c4)])||[_0x567769];this[_0x5b7032(0x1cf)](_0x37c511[0x0]);})),_0x2adb2e;}},_0x5ac5d4[_0xe600ea(0x4d4)]=_0x188857([_0x1cc481(0x3,_0x17feb2['Inject'](_0x17feb2[_0xe600ea(0x1b6)])),_0x1cc481(0x4,_0x17feb2['Inject'](_0x254674[_0xe600ea(0x4e6)])),_0x1cc481(0x5,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x27d)])),_0x1cc481(0x6,_0x17feb2['Inject'](_0x254674[_0xe600ea(0x468)])),_0x1cc481(0x7,_0x17feb2[_0xe600ea(0x1c2)](_0x5ac5d4['SheetTransformSelectionsService'])),_0x1cc481(0x8,_0x17feb2['Inject'](_0x2ee36c)),_0x1cc481(0x9,_0x17feb2[_0xe600ea(0x213)]),_0x1cc481(0xa,_0x17feb2[_0xe600ea(0x2b8)]),_0x1cc481(0xb,_0x17feb2[_0xe600ea(0x1ee)]),_0x1cc481(0xc,_0x17feb2[_0xe600ea(0x1ab)]),_0x1cc481(0xd,_0x17feb2['Optional'](_0xba00e)),_0x1cc481(0xe,_0x17feb2[_0xe600ea(0x3ee)](_0x2d8396))],_0x5ac5d4[_0xe600ea(0x4d4)]);const _0x5304a7=_0x17feb2[_0xe600ea(0x3e6)](_0xe600ea(0x1ca));function _0x594894(_0x3173dd){var _0x12b936=_0xe600ea,_0x2c7c88,_0x182c27,_0xc78efa,_0x475029,_0x1e0892;const _0x45d16b=_0x3173dd['data'],_0x165a40=JSON[_0x12b936(0x19f)](_0x45d16b);switch(_0x165a40[_0x12b936(0x15d)]){case _0x46224e['HEARTBEAT']:case _0x46224e[_0x12b936(0x20d)]:{const _0xa22236=_0x165a40['infoRsp'];return{..._0x165a40,'data':_0xa22236,'cmd':_0x165a40['cmd']};}case _0x46224e[_0x12b936(0x2e7)]:{const _0x1f3ff2=_0x165a40[_0x12b936(0x3d6)];return{..._0x165a40,'data':_0x1f3ff2,'cmd':_0x165a40[_0x12b936(0x15d)]};}case _0x46224e[_0x12b936(0x2e1)]:{const _0x28ac9c=_0x165a40[_0x12b936(0x38f)];switch(_0x28ac9c[_0x12b936(0x4d0)]){case _0x254674[_0x12b936(0x411)][_0x12b936(0x196)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':(_0x2c7c88=_0x28ac9c['permissionRejEvent'])==null?void 0x0:_0x2c7c88['cs']},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)][_0x12b936(0x4de)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':(_0x182c27=_0x28ac9c[_0x12b936(0x4e3)])==null?void 0x0:_0x182c27['cs']},'cmd':_0x165a40['cmd']};case _0x254674['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x165a40,'data':{..._0x28ac9c,'data':(_0xc78efa=_0x28ac9c['newCsEvent'])==null?void 0x0:_0xc78efa['cs']},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674['CollaborationEvent'][_0x12b936(0x16d)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':(_0x475029=_0x28ac9c[_0x12b936(0x437)])==null?void 0x0:_0x475029['cs']},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)][_0x12b936(0x3cd)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':(_0x1e0892=_0x28ac9c[_0x12b936(0x44e)])==null?void 0x0:_0x1e0892['cs']},'cmd':_0x165a40['cmd']};case _0x254674['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c[_0x12b936(0x167)]},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674['CollaborationEvent'][_0x12b936(0x3e4)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c[_0x12b936(0x3d5)]},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674['CollaborationEvent'][_0x12b936(0x4da)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c[_0x12b936(0x4e9)]},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)][_0x12b936(0x26b)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c['liveShareNewHost']},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)][_0x12b936(0x200)]:case _0x254674[_0x12b936(0x411)][_0x12b936(0x278)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c[_0x12b936(0x260)]},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)][_0x12b936(0x47c)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c['liveShareNewHost']},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)][_0x12b936(0x2b6)]:return{..._0x165a40,'data':_0x28ac9c,'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)][_0x12b936(0x36c)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c['commentUpdateEvent']},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)]['UPDATE_PERMISSION_OBJ']:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c[_0x12b936(0x43d)]},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674['CollaborationEvent'][_0x12b936(0x4cb)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c['shouldCloseConn']},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)]['UNISCRIPT_RUN']:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c[_0x12b936(0x46c)]},'cmd':_0x165a40[_0x12b936(0x15d)]};default:return _0x165a40;}}default:return _0x165a40;}}function _0x2ea570(_0x2a70f6){var _0xf7403c=_0xe600ea;switch(_0x2a70f6[_0xf7403c(0x15d)]){case _0x46224e[_0xf7403c(0x461)]:case _0x46224e[_0xf7403c(0x20d)]:return JSON['stringify']({'cmd':_0x2a70f6['cmd'],'routeKey':_0x2a70f6[_0xf7403c(0x215)]});case _0x46224e[_0xf7403c(0x275)]:{let _0x3a0c21;switch(_0x2a70f6[_0xf7403c(0x2f6)][_0xf7403c(0x4d0)]){case _0x254674[_0xf7403c(0x411)][_0xf7403c(0x4db)]:{_0x3a0c21={'eventID':_0x254674[_0xf7403c(0x411)][_0xf7403c(0x4db)],'updateCursorEvent':_0x2a70f6['data']['data']};break;}case _0x254674['CollaborationEvent']['USERS_LEAVE']:{_0x3a0c21={'eventID':_0x254674[_0xf7403c(0x411)][_0xf7403c(0x4da)],'leaveEvent':_0x2a70f6[_0xf7403c(0x2f6)][_0xf7403c(0x2f6)]};break;}case _0x254674[_0xf7403c(0x411)][_0xf7403c(0x3e4)]:{_0x3a0c21={'eventID':_0x254674[_0xf7403c(0x411)][_0xf7403c(0x3e4)],'joinEvent':_0x2a70f6['data'][_0xf7403c(0x2f6)]};break;}case _0x254674[_0xf7403c(0x411)][_0xf7403c(0x26b)]:{_0x3a0c21={'eventID':_0x254674[_0xf7403c(0x411)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x2a70f6[_0xf7403c(0x2f6)][_0xf7403c(0x2f6)]};break;}case _0x254674['CollaborationEvent'][_0xf7403c(0x278)]:{_0x3a0c21={'eventID':_0x254674[_0xf7403c(0x411)][_0xf7403c(0x278)],'liveShareOperation':_0x2a70f6[_0xf7403c(0x2f6)]['data']};break;}case _0x254674['CollaborationEvent'][_0xf7403c(0x47c)]:{_0x3a0c21={'eventID':_0x254674[_0xf7403c(0x411)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2a70f6[_0xf7403c(0x2f6)]['data']};break;}case _0x254674[_0xf7403c(0x411)][_0xf7403c(0x44a)]:{_0x3a0c21={'eventID':_0x254674[_0xf7403c(0x411)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2a70f6['data'][_0xf7403c(0x2f6)]};break;}case _0x254674[_0xf7403c(0x411)][_0xf7403c(0x200)]:{_0x3a0c21={'eventID':_0x254674[_0xf7403c(0x411)][_0xf7403c(0x200)]};break;}default:_0x3a0c21={'eventID':_0x2a70f6['data']['eventID']};}return JSON[_0xf7403c(0x4ea)]({'cmd':_0x2a70f6['cmd'],'routeKey':_0x2a70f6[_0xf7403c(0x215)],'collaMsg':_0x3a0c21});}case _0x46224e[_0xf7403c(0x2e7)]:return JSON[_0xf7403c(0x4ea)]({'cmd':_0x2a70f6[_0xf7403c(0x15d)],'routeKey':_0x2a70f6['routeKey'],'joinReq':_0x2a70f6[_0xf7403c(0x2f6)]});case _0x46224e[_0xf7403c(0x16f)]:return JSON[_0xf7403c(0x4ea)]({'cmd':_0x2a70f6[_0xf7403c(0x15d)],'routeKey':_0x2a70f6[_0xf7403c(0x215)],'leaveReq':_0x2a70f6[_0xf7403c(0x2f6)]});default:throw new Error(_0xf7403c(0x3fc));}}var _0x35601c=Object[_0xe600ea(0x305)],_0x503144=(_0x383516,_0x161f20,_0x142469,_0x35a4a8)=>{var _0x16537c=_0xe600ea;for(var _0x3d45e0=_0x35a4a8>0x1?void 0x0:_0x35a4a8?_0x35601c(_0x161f20,_0x142469):_0x161f20,_0x5b4ca3=_0x383516[_0x16537c(0x4ac)]-0x1,_0x5d016f;_0x5b4ca3>=0x0;_0x5b4ca3--)(_0x5d016f=_0x383516[_0x5b4ca3])&&(_0x3d45e0=_0x5d016f(_0x3d45e0)||_0x3d45e0);return _0x3d45e0;},_0x3e19dc=(_0x46089b,_0x590fdf)=>(_0x1c6893,_0x3e1da7)=>_0x590fdf(_0x1c6893,_0x3e1da7,_0x46089b);const _0x15e7ae=_0x17feb2[_0xe600ea(0x3e6)](_0xe600ea(0x393));function _0x456103(_0x1def10,_0xd782ea,_0x1bb61b){var _0x16ed02=_0xe600ea;return _0x1def10+'/'+_0xd782ea+_0x16ed02(0x4e5)+_0x1bb61b+_0x16ed02(0x27c);}_0x5ac5d4['CollaborationSocketService']=class extends _0x17feb2[_0xe600ea(0x388)]{constructor(_0x27f86d,_0x1de1d3,_0xc51791,_0x293aeb,_0x8db0c1){var _0x21cc40=_0xe600ea;super(),this[_0x21cc40(0x4bf)]=_0x27f86d,this[_0x21cc40(0x26d)]=_0x1de1d3,this[_0x21cc40(0x164)]=_0xc51791,this['_logService']=_0x293aeb,this[_0x21cc40(0x159)]=_0x8db0c1;}[_0xe600ea(0x39f)](_0x56e480){var _0x550bd3=_0xe600ea;const _0x114ecc=this[_0x550bd3(0x4bf)][_0x550bd3(0x299)](_0x5d9456[_0x550bd3(0x40c)]);if(!_0x114ecc)throw new Error(_0x550bd3(0x459));const _0x2f4605=_0x114ecc[_0x550bd3(0x33a)](_0x56e480);if(!_0x2f4605)throw new Error(_0x550bd3(0x301));const _0xc9a786=new _0x17feb2[(_0x550bd3(0x232))](),_0x4f9786=new _0xd6d137[(_0x550bd3(0x247))]();_0xc9a786['add'](_0x2f4605[_0x550bd3(0x1f4)][_0x550bd3(0x1c0)](_0x113692=>_0x4f9786['next'](_0x113692))),_0xc9a786[_0x550bd3(0x31f)](_0x17feb2[_0x550bd3(0x1d3)](()=>_0x4f9786[_0x550bd3(0x308)]()));const _0x12ea45=new _0xd6d137['Subject']();_0xc9a786[_0x550bd3(0x31f)](_0x2f4605[_0x550bd3(0x249)][_0x550bd3(0x1c0)](_0x51b0e0=>_0x12ea45['next'](_0x51b0e0))),_0xc9a786[_0x550bd3(0x31f)](_0x17feb2[_0x550bd3(0x1d3)](()=>_0x12ea45[_0x550bd3(0x308)]()));const _0x17cda4=new _0xd6d137[(_0x550bd3(0x247))]();_0xc9a786[_0x550bd3(0x31f)](_0x2f4605['message$'][_0x550bd3(0x1c0)](_0x1867b8=>{var _0x54999c=_0x550bd3;const _0x35e330=_0x594894(_0x1867b8);_0x17cda4[_0x54999c(0x413)](_0x35e330);})),_0xc9a786[_0x550bd3(0x31f)](_0x17feb2[_0x550bd3(0x1d3)](()=>_0x17cda4[_0x550bd3(0x308)]()));let _0x3631da;const _0x34e0fe=()=>{var _0x3772b1=_0x550bd3;_0x12ea45[_0x3772b1(0x413)](new Event(_0x3772b1(0x34c))),_0x4f9786[_0x3772b1(0x413)](new Event(_0x3772b1(0x34c))),_0x3631da[_0x3772b1(0x46b)]();};return _0x3631da={'memberID':'','close$':_0x4f9786[_0x550bd3(0x310)](),'error$':_0x12ea45[_0x550bd3(0x310)](),'open$':_0x2f4605[_0x550bd3(0x3c9)],'message$':_0x17cda4[_0x550bd3(0x310)](),'send':_0x5b22d6=>{var _0x9f386d=_0x550bd3;if(_0x5b22d6[_0x9f386d(0x15d)]===_0x46224e[_0x9f386d(0x275)]){if(_0x5b22d6['data'][_0x9f386d(0x4d0)]===_0x254674[_0x9f386d(0x411)][_0x9f386d(0x3ef)]){this[_0x9f386d(0x20c)](_0x3631da,_0x5b22d6[_0x9f386d(0x2f6)])[_0x9f386d(0x23d)](_0x5f2179=>{var _0x403753=_0x9f386d;this[_0x403753(0x42f)][_0x403753(0x343)](_0x5f2179),_0x34e0fe();});return;}if(_0x5b22d6[_0x9f386d(0x2f6)][_0x9f386d(0x4d0)]===_0x254674[_0x9f386d(0x411)][_0x9f386d(0x1c1)]){const _0x524449=_0x5b22d6[_0x9f386d(0x2f6)];this[_0x9f386d(0x2a2)](_0x524449)[_0x9f386d(0x4cc)](_0x51a353=>{var _0x195b0c=_0x9f386d;_0x17cda4[_0x195b0c(0x413)]({'cmd':_0x46224e[_0x195b0c(0x2e1)],'code':_0x594c4b['OK'],'routeKey':_0x524449[_0x195b0c(0x2f6)][_0x195b0c(0x224)],'routeType':'','data':{'eventID':_0x254674[_0x195b0c(0x411)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x51a353}}});})[_0x9f386d(0x23d)](_0x1d396e=>{var _0x50b860=_0x9f386d;this['_logService'][_0x50b860(0x343)](_0x1d396e),_0x34e0fe();});return;}}_0x2f4605[_0x9f386d(0x3d2)](_0x2ea570(_0x5b22d6));},'close':()=>{var _0x7902ab=_0x550bd3;_0x2f4605[_0x7902ab(0x46b)](),_0xc9a786['dispose']();}},_0x3631da;}async[_0xe600ea(0x20c)](_0x558e97,_0x48e411){var _0x349a9b=_0xe600ea,_0x42a6f1;const {unitType:_0x4ad3b8,unitID:_0x225773,changeset:_0x450907}=_0x48e411[_0x349a9b(0x2f6)],_0x271753={'unitID':_0x225773,'memberID':_0x558e97[_0x349a9b(0x178)],'type':_0x4ad3b8,'changeset':_0x254674[_0x349a9b(0x211)](_0x450907)},_0x19569d=this[_0x349a9b(0x164)]['getConfig'](_0x566bcc),_0x41195e=_0x456103((_0x42a6f1=_0x19569d==null?void 0x0:_0x19569d['collabSubmitChangesetUrl'])!=null?_0x42a6f1:_0x3abca4,_0x4ad3b8,_0x225773);try{await this['_httpService'][_0x349a9b(0x465)](_0x41195e,{'body':_0x271753});}catch(_0x17cb9b){throw this['_logService']['error']('[CollaborationSession]','submit\x20changeset\x20error!'),_0x17cb9b;}}async[_0xe600ea(0x2a2)](_0x216e42){var _0x13f169=_0xe600ea;const {unitID:_0x3fed2b,from:_0xdf2ac,to:_0xd40ced,unitType:_0xa8d3b5}=_0x216e42['data'];return(await this[_0x13f169(0x159)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3fed2b,'type':_0xa8d3b5,'from':_0xdf2ac,'to':_0xd40ced}))[_0x13f169(0x33e)][_0x13f169(0x4ab)](_0x29fd91=>((_0x29fd91[_0x13f169(0x1e6)]===null||_0x29fd91['mutations']===void 0x0)&&(_0x29fd91[_0x13f169(0x1e6)]=[]),_0x29fd91));}},_0x5ac5d4[_0xe600ea(0x4a2)]=_0x503144([_0x3e19dc(0x0,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x3e19dc(0x1,_0x17feb2['Inject'](_0x5d9456['HTTPService'])),_0x3e19dc(0x2,_0x17feb2[_0xe600ea(0x1be)]),_0x3e19dc(0x3,_0x17feb2[_0xe600ea(0x2b8)]),_0x3e19dc(0x4,_0x254674['ISnapshotServerService'])],_0x5ac5d4[_0xe600ea(0x4a2)]);var _0x2552fb=Object[_0xe600ea(0x305)],_0x295d70=(_0x6a3213,_0x1dddd1,_0x555852,_0x1444c9)=>{var _0x53d568=_0xe600ea;for(var _0x16570d=_0x1444c9>0x1?void 0x0:_0x1444c9?_0x2552fb(_0x1dddd1,_0x555852):_0x1dddd1,_0x3d7a4f=_0x6a3213[_0x53d568(0x4ac)]-0x1,_0x47fb43;_0x3d7a4f>=0x0;_0x3d7a4f--)(_0x47fb43=_0x6a3213[_0x3d7a4f])&&(_0x16570d=_0x47fb43(_0x16570d)||_0x16570d);return _0x16570d;},_0x1638fd=(_0x3c9d42,_0x4f1a82)=>(_0x2dd492,_0x4bb2d6)=>_0x4f1a82(_0x2dd492,_0x4bb2d6,_0x3c9d42);_0x5ac5d4[_0xe600ea(0x439)]=class extends _0x17feb2['Disposable']{constructor(_0x5893d9,_0x11bbb7,_0x28664c,_0x2935a1,_0x95cc75,_0x325d55){var _0xc576ec=_0xe600ea;super(),_0x358222(this,_0xc576ec(0x494),new _0xd6d137[(_0xc576ec(0x1f8))](void 0x0)),_0x358222(this,_0xc576ec(0x2d3),this[_0xc576ec(0x494)][_0xc576ec(0x310)]()),_0x358222(this,_0xc576ec(0x27f),null),_0x358222(this,_0xc576ec(0x455),new Map()),_0x358222(this,_0xc576ec(0x389),new _0xd6d137[(_0xc576ec(0x1f8))](_0x57cde5[_0xc576ec(0x1da)])),_0x358222(this,_0xc576ec(0x3cb),this[_0xc576ec(0x389)][_0xc576ec(0x310)]()),_0x358222(this,_0xc576ec(0x26a),!0x1),_0x358222(this,_0xc576ec(0x3af)),_0x358222(this,_0xc576ec(0x3d8),0x0),_0x358222(this,_0xc576ec(0x2dd)),_0x358222(this,_0xc576ec(0x48a)),(this['_injector']=_0x5893d9,this[_0xc576ec(0x42f)]=_0x11bbb7,this[_0xc576ec(0x164)]=_0x28664c,this['_socketService']=_0x2935a1,this[_0xc576ec(0x4ed)]=_0x95cc75,this[_0xc576ec(0x3fe)]=_0x325d55,this[_0xc576ec(0x356)]());}get[_0xe600ea(0x4c0)](){var _0x4ba409=_0xe600ea;return this[_0x4ba409(0x494)]['getValue']();}[_0xe600ea(0x356)](){var _0x35f3dd=_0xe600ea;this[_0x35f3dd(0x3fe)]&&this['disposeWithMe'](this[_0x35f3dd(0x3fe)][_0x35f3dd(0x1f1)]['subscribe'](_0x15a8f4=>{var _0x169ebe=_0x35f3dd;_0x15a8f4&&!this[_0x169ebe(0x4c0)]&&this[_0x169ebe(0x2db)](),_0x15a8f4||this[_0x169ebe(0x35b)]();}));}['dispose'](){var _0x5f2ba6=_0xe600ea;super[_0x5f2ba6(0x4bd)](),this[_0x5f2ba6(0x1ce)](),this[_0x5f2ba6(0x330)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x5f2ba6(0x3b2)](_0x1f8311=>_0x1f8311[_0x5f2ba6(0x4bd)]()),this[_0x5f2ba6(0x455)]['clear'](),this['_status$']['complete']();}async[_0xe600ea(0x1b7)](_0x4c87c0){var _0x4330ea=_0xe600ea;if(this['_sessions'][_0x4330ea(0x371)](_0x4c87c0))return this[_0x4330ea(0x455)][_0x4330ea(0x299)](_0x4c87c0);this['_tryEnsureSocket']();const _0x31fa43=this[_0x4330ea(0x4bf)][_0x4330ea(0x340)](_0x5ac5d4[_0x4330ea(0x38a)],_0x4c87c0,this['_socket$']['asObservable']());return this[_0x4330ea(0x455)]['set'](_0x4c87c0,_0x31fa43),_0x31fa43;}[_0xe600ea(0x1e4)](_0x1a90d9){var _0x2ef29b=_0xe600ea,_0x4fdfed;const _0x569a6e=this[_0x2ef29b(0x455)][_0x2ef29b(0x299)](_0x1a90d9);_0x569a6e&&(this[_0x2ef29b(0x455)][_0x2ef29b(0x322)](_0x1a90d9),_0x569a6e[_0x2ef29b(0x46b)]()),this['_sessions'][_0x2ef29b(0x2b4)]||(_0x4fdfed=this[_0x2ef29b(0x4c0)])==null||_0x4fdfed[_0x2ef29b(0x46b)]();}[_0xe600ea(0x2db)](){var _0x114097=_0xe600ea;this[_0x114097(0x3d8)]=0x0,this[_0x114097(0x1ce)](),this['_tryReconnect']();}[_0xe600ea(0x1ce)](){var _0x3ee8a6=_0xe600ea;this[_0x3ee8a6(0x3af)]!=null&&(clearTimeout(this[_0x3ee8a6(0x3af)]),this[_0x3ee8a6(0x3af)]=null);}async['_createSocket'](){var _0x3ccef5=_0xe600ea,_0x6c073;const _0x310cf2=this[_0x3ccef5(0x164)][_0x3ccef5(0x1aa)](_0x566bcc),_0x13c824=(_0x6c073=_0x310cf2==null?void 0x0:_0x310cf2['collabWebSocketUrl'])!=null?_0x6c073:_0x7074fe,_0x393480=await this[_0x3ccef5(0x29d)]['createSocket'](_0x13c824);return this[_0x3ccef5(0x27f)]=_0x393480,_0x393480;}async[_0xe600ea(0x3ec)](){var _0x1f0855=_0xe600ea,_0x296d32,_0x91a1e9;try{const _0x4f7ca8=(_0x91a1e9=(_0x296d32=this['_socket'])!=null?_0x296d32:this[_0x1f0855(0x27f)])!=null?_0x91a1e9:await this[_0x1f0855(0x258)]();if(_0x4f7ca8){const _0x7cb840=_0x4f7ca8[_0x1f0855(0x3d2)];_0x4f7ca8[_0x1f0855(0x3d2)]=_0x2319c6=>(this['_rescheduleHeartbeat'](),_0x7cb840[_0x1f0855(0x4b0)](_0x4f7ca8,[_0x2319c6])),_0x4f7ca8[_0x1f0855(0x2e6)]['subscribe'](_0xc8bdbf=>this['_onMessage'](_0x4f7ca8,_0xc8bdbf)),_0x4f7ca8[_0x1f0855(0x249)][_0x1f0855(0x28b)](_0x17b903[_0x1f0855(0x481)](0x1))[_0x1f0855(0x1c0)](_0x411554=>this['_logService']['error'](_0x1f0855(0x488),_0x411554)),_0x4f7ca8[_0x1f0855(0x3c9)][_0x1f0855(0x28b)](_0x17b903[_0x1f0855(0x481)](0x1))[_0x1f0855(0x1c0)](()=>{var _0x348a8d=_0x1f0855;this[_0x348a8d(0x4c3)](_0x4f7ca8);}),_0x4f7ca8[_0x1f0855(0x1f4)]['pipe'](_0x17b903[_0x1f0855(0x481)](0x1))[_0x1f0855(0x1c0)](_0xc09940=>{var _0x2cec22=_0x1f0855;this[_0x2cec22(0x42f)]['debug'](_0x2cec22(0x302),_0x2cec22(0x42e),_0xc09940),this['_onConnectionFailed']();});}}catch(_0x13e9cc){this[_0x1f0855(0x42f)]['error'](_0x13e9cc),this['_onConnectionFailed']();}}[_0xe600ea(0x4c3)](_0x2271e7){var _0x59efb5=_0xe600ea;this[_0x59efb5(0x42f)][_0x59efb5(0x3a2)](_0x59efb5(0x302),'socket\x20open.'),_0x2271e7[_0x59efb5(0x3d2)]({'cmd':_0x46224e['HELLO']}),this['_rescheduleHeartbeat']();}[_0xe600ea(0x35b)](){var _0x23d01f=_0xe600ea;this[_0x23d01f(0x26a)]=!0x1,this[_0x23d01f(0x27f)]=null,this['_status$']['next'](_0x57cde5[_0x23d01f(0x2ee)]),this['_socket$'][_0x23d01f(0x413)](null),this[_0x23d01f(0x330)](),this[_0x23d01f(0x409)]();}['_onConnectionFailed'](){var _0x1230a2=_0xe600ea,_0x4aeffc;this['_onOffline'](),this['_retryCount']<((_0x4aeffc=this[_0x1230a2(0x164)]['getConfig'](_0x273ad5))!=null?_0x4aeffc:0x3)?(this[_0x1230a2(0x4ed)][_0x1230a2(0x33d)]({'id':_0x5852a5[_0x1230a2(0x2aa)]}),this[_0x1230a2(0x2a9)]()):this[_0x1230a2(0x4ed)][_0x1230a2(0x33d)]({'id':_0x5852a5[_0x1230a2(0x42b)]});}[_0xe600ea(0x2a9)](){var _0x27fe49=_0xe600ea,_0x2e8003;const _0x46dbde=this[_0x27fe49(0x3d8)],_0x125b34=this['_configService'][_0x27fe49(0x1aa)](_0x566bcc),_0x28e139=_0x46dbde===0x0?0x0:((_0x2e8003=_0x125b34==null?void 0x0:_0x125b34[_0x27fe49(0x43b)])!=null?_0x2e8003:0x4e20)*0x2**_0x46dbde;this[_0x27fe49(0x3af)]=setTimeout(()=>{var _0x5239b4=_0x27fe49;clearTimeout(this[_0x5239b4(0x3af)]),this['_retryConnectingTimer']=null,this[_0x5239b4(0x3ec)]();},_0x28e139),this['_retryCount']+=0x1;}[_0xe600ea(0x203)](_0x4007b8,_0x5b9b88){var _0x2d694a=_0xe600ea;const {cmd:_0x1ac9ef}=_0x5b9b88;_0x1ac9ef===_0x46224e[_0x2d694a(0x20d)]&&!this[_0x2d694a(0x26a)]&&(_0x4007b8['memberID']=_0x5b9b88[_0x2d694a(0x2f6)]['memberID'],this[_0x2d694a(0x494)]['next'](_0x4007b8),this['_status$'][_0x2d694a(0x413)](_0x57cde5[_0x2d694a(0x337)]),this[_0x2d694a(0x26a)]=!0x0,this[_0x2d694a(0x27f)]=null),_0x1ac9ef===_0x46224e[_0x2d694a(0x461)]&&this[_0x2d694a(0x330)](),this[_0x2d694a(0x443)]();}[_0xe600ea(0x443)](){var _0x2169fd=_0xe600ea,_0x3eaaf3;this['_clearHeartbeatTimer'](),this[_0x2169fd(0x2dd)]=setTimeout(()=>this[_0x2169fd(0x370)](),(_0x3eaaf3=this['_configService']['getConfig'](_0x6e4708))!=null?_0x3eaaf3:0x7530);}['_sendHeartbeat'](){var _0x37eeaf=_0xe600ea;this[_0x37eeaf(0x4c0)]['send']({'cmd':_0x46224e[_0x37eeaf(0x461)]}),this[_0x37eeaf(0x17c)]();}[_0xe600ea(0x17c)](){var _0x36a475=_0xe600ea,_0x16dac0;this[_0x36a475(0x48a)]=setTimeout(()=>this[_0x36a475(0x40d)](),(_0x16dac0=this[_0x36a475(0x164)][_0x36a475(0x1aa)](_0x2ffda5))!=null?_0x16dac0:0x4e20);}['_clearHeartbeatTimer'](){var _0x5d6ade=_0xe600ea;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5d6ade(0x2dd)]=null);}[_0xe600ea(0x330)](){var _0x488a56=_0xe600ea;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x488a56(0x48a)]),this[_0x488a56(0x48a)]=null);}},_0x5ac5d4['CollaborationSessionService']=_0x295d70([_0x1638fd(0x0,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x1638fd(0x1,_0x17feb2[_0xe600ea(0x2b8)]),_0x1638fd(0x2,_0x17feb2[_0xe600ea(0x1be)]),_0x1638fd(0x3,_0x15e7ae),_0x1638fd(0x4,_0x17feb2['Inject'](_0x2ee36c)),_0x1638fd(0x5,_0x17feb2['Optional'](_0x5304a7))],_0x5ac5d4[_0xe600ea(0x439)]);var _0x2d13a6=Object[_0xe600ea(0x305)],_0x3c2685=(_0x4cf911,_0x55b0e9,_0xacf69f,_0x29a4c9)=>{var _0x1f1307=_0xe600ea;for(var _0x32ae2c=_0x29a4c9>0x1?void 0x0:_0x29a4c9?_0x2d13a6(_0x55b0e9,_0xacf69f):_0x55b0e9,_0x5bc06f=_0x4cf911[_0x1f1307(0x4ac)]-0x1,_0x2b8ec3;_0x5bc06f>=0x0;_0x5bc06f--)(_0x2b8ec3=_0x4cf911[_0x5bc06f])&&(_0x32ae2c=_0x2b8ec3(_0x32ae2c)||_0x32ae2c);return _0x32ae2c;},_0x34419c=(_0x65d1b7,_0x1dc667)=>(_0x2f9377,_0x4ffd45)=>_0x1dc667(_0x2f9377,_0x4ffd45,_0x65d1b7);_0x5ac5d4[_0xe600ea(0x3be)]=class extends _0x17feb2[_0xe600ea(0x286)]{constructor(_0xa3b6c9,_0x5d2a32,_0x3748ce,_0x10c3fa){var _0x25514b=_0xe600ea,_0xb4b294;super(),_0x358222(this,'_entities',new Map()),_0x358222(this,'_entityInit$',new _0xd6d137['Subject']()),_0x358222(this,_0x25514b(0x173),this[_0x25514b(0x27b)]['asObservable']()),(this[_0x25514b(0x4bf)]=_0xa3b6c9,this[_0x25514b(0x28c)]=_0x5d2a32,this[_0x25514b(0x164)]=_0x3748ce,this[_0x25514b(0x1c4)]=_0x10c3fa,((_0xb4b294=this[_0x25514b(0x164)]['getConfig'](_0x566bcc))==null?void 0x0:_0xb4b294[_0x25514b(0x31a)])!==!0x1&&this[_0x25514b(0x344)]());}['dispose'](){var _0x56643c=_0xe600ea;super['dispose'](),this[_0x56643c(0x4b8)][_0x56643c(0x3b2)](_0x447c3f=>_0x447c3f[_0x56643c(0x4bd)]()),this[_0x56643c(0x4b8)][_0x56643c(0x1d6)]();}['getCollabEntity'](_0x5d0467){var _0x1bd098=_0xe600ea,_0x44ebd3;return(_0x44ebd3=this[_0x1bd098(0x4b8)]['get'](_0x5d0467))!=null?_0x44ebd3:null;}[_0xe600ea(0x3ca)](_0x474ba9){var _0x5995d7=_0xe600ea;const _0x25c104=this[_0x5995d7(0x4aa)](_0x474ba9);return _0x25c104?_0xd6d137['of'](_0x25c104):this['_entityInit$'][_0x5995d7(0x28b)](_0x17b903['filter'](_0x3a15ca=>_0x3a15ca[_0x5995d7(0x224)]===_0x474ba9));}['readyForCollab'](_0x56a04b){var _0x4c07ff=_0xe600ea;return _0xd6d137[_0x4c07ff(0x257)](this[_0x4c07ff(0x3ca)](_0x56a04b)[_0x4c07ff(0x28b)](_0x17b903[_0x4c07ff(0x4ab)](()=>{})));}[_0xe600ea(0x344)](){var _0x3fc6dc=_0xe600ea;this['_univerInstanceService'][_0x3fc6dc(0x295)](_0x17feb2[_0x3fc6dc(0x1dc)][_0x3fc6dc(0x291)])[_0x3fc6dc(0x28b)](_0xd6d137[_0x3fc6dc(0x369)](this[_0x3fc6dc(0x160)]),_0x17b903[_0x3fc6dc(0x452)](0x10))[_0x3fc6dc(0x1c0)](async _0x392e56=>{var _0x33c003=_0x3fc6dc;const _0x2ac819=_0x392e56[_0x33c003(0x23e)](),_0x9f3067=await this[_0x33c003(0x2de)](_0x2ac819,_0x45ea9e['UNIVER_SHEET']);this[_0x33c003(0x4b8)][_0x33c003(0x1f9)](_0x2ac819,_0x9f3067);}),this[_0x3fc6dc(0x1c4)][_0x3fc6dc(0x295)](_0x17feb2[_0x3fc6dc(0x1dc)][_0x3fc6dc(0x380)])['pipe'](_0xd6d137[_0x3fc6dc(0x369)](this[_0x3fc6dc(0x160)]),_0x17b903[_0x3fc6dc(0x452)](0x10))[_0x3fc6dc(0x28b)](_0x17b903[_0x3fc6dc(0x4a4)](_0x29d4ec=>!_0x29d4ec[_0x3fc6dc(0x23e)]()[_0x3fc6dc(0x4c8)]('__')))[_0x3fc6dc(0x1c0)](async _0x48a833=>{var _0x2a8449=_0x3fc6dc;const _0x4ed3ac=_0x48a833[_0x2a8449(0x23e)](),_0x341609=await this[_0x2a8449(0x2de)](_0x4ed3ac,_0x45ea9e[_0x2a8449(0x380)]);this[_0x2a8449(0x4b8)][_0x2a8449(0x1f9)](_0x4ed3ac,_0x341609);}),_0xd6d137[_0x3fc6dc(0x4bb)](this[_0x3fc6dc(0x1c4)][_0x3fc6dc(0x47a)](_0x17feb2[_0x3fc6dc(0x1dc)]['UNIVER_SHEET']),this[_0x3fc6dc(0x1c4)][_0x3fc6dc(0x47a)](_0x17feb2[_0x3fc6dc(0x1dc)][_0x3fc6dc(0x380)]))[_0x3fc6dc(0x28b)](_0xd6d137[_0x3fc6dc(0x369)](this[_0x3fc6dc(0x160)]))[_0x3fc6dc(0x1c0)](_0x462a4d=>{var _0xe26a8f=_0x3fc6dc;const _0x5167fb=_0x462a4d[_0xe26a8f(0x23e)](),_0x3c4b1f=this[_0xe26a8f(0x4b8)][_0xe26a8f(0x299)](_0x5167fb);_0x3c4b1f&&(_0x3c4b1f[_0xe26a8f(0x4bd)](),this[_0xe26a8f(0x4b8)][_0xe26a8f(0x322)](_0x5167fb));});}async[_0xe600ea(0x2de)](_0x4c7ed9,_0x11ce2b){var _0x5e49e0=_0xe600ea;const _0x37c5c9=await this[_0x5e49e0(0x28c)][_0x5e49e0(0x1b7)](_0x4c7ed9),_0x12af18=this['_injector'][_0x5e49e0(0x340)](this['_getCtorByUniverType'](_0x11ce2b),_0x4c7ed9,_0x11ce2b,_0x37c5c9);return await _0x12af18['init'](),this[_0x5e49e0(0x27b)][_0x5e49e0(0x413)](_0x12af18),_0x12af18;}[_0xe600ea(0x491)](_0x5b3dee){var _0x113467=_0xe600ea;switch(_0x5b3dee){case _0x45ea9e[_0x113467(0x380)]:return _0x5ac5d4[_0x113467(0x31e)];case _0x45ea9e[_0x113467(0x291)]:return _0x5ac5d4[_0x113467(0x4d4)];default:throw new Error(_0x113467(0x44c)+_0x5b3dee);}}},_0x5ac5d4[_0xe600ea(0x3be)]=_0x3c2685([_0x34419c(0x0,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x34419c(0x1,_0x17feb2[_0xe600ea(0x1c2)](_0x5ac5d4['CollaborationSessionService'])),_0x34419c(0x2,_0x17feb2[_0xe600ea(0x1be)]),_0x34419c(0x3,_0x17feb2['IUniverInstanceService'])],_0x5ac5d4['CollaborationController']);var _0xeb3603=Object[_0xe600ea(0x305)],_0x11c7de=(_0xe72c1d,_0x33511d,_0x48bb33,_0x432aa4)=>{var _0x29b956=_0xe600ea;for(var _0x337e95=_0x432aa4>0x1?void 0x0:_0x432aa4?_0xeb3603(_0x33511d,_0x48bb33):_0x33511d,_0x397bd4=_0xe72c1d[_0x29b956(0x4ac)]-0x1,_0x12d493;_0x397bd4>=0x0;_0x397bd4--)(_0x12d493=_0xe72c1d[_0x397bd4])&&(_0x337e95=_0x12d493(_0x337e95)||_0x337e95);return _0x337e95;},_0x13608f=(_0xc2806e,_0x1ea5ff)=>(_0x36a78b,_0x549ec1)=>_0x1ea5ff(_0x36a78b,_0x549ec1,_0xc2806e);const _0x242f72=_0xe600ea(0x2f3),_0x3410f2=_0xe600ea(0x2d2);let _0x3876c7=class extends _0x17feb2['Disposable']{constructor(_0x2d8ffe,_0x377787){var _0x43ea88=_0xe600ea;super(),this['_univerInstanceService']=_0x2d8ffe,this['_configService']=_0x377787,this[_0x43ea88(0x344)]();}[_0xe600ea(0x344)](){var _0x35a8a6=_0xe600ea;this['disposeWithMe'](this[_0x35a8a6(0x1c4)][_0x35a8a6(0x171)][_0x35a8a6(0x1c0)](()=>{var _0x3781d7=_0x35a8a6,_0x711307;const _0x510cfe=this[_0x3781d7(0x1c4)][_0x3781d7(0x377)]();let _0x17de46=(_0x711307=this[_0x3781d7(0x164)][_0x3781d7(0x1aa)](_0x242f72))!=null?_0x711307:_0x3410f2;_0x510cfe instanceof _0x17feb2['Workbook']&&(_0x17de46=_0x510cfe['name']),document[_0x3781d7(0x166)]=_0x17de46;}));}};_0x3876c7=_0x11c7de([_0x13608f(0x0,_0x17feb2[_0xe600ea(0x213)]),_0x13608f(0x1,_0x17feb2[_0xe600ea(0x1be)])],_0x3876c7);var _0x431f93=Object['getOwnPropertyDescriptor'],_0x4db745=(_0x220ce5,_0x4bb311,_0x8573dc,_0x19070b)=>{var _0x5ea4f0=_0xe600ea;for(var _0x55c3c3=_0x19070b>0x1?void 0x0:_0x19070b?_0x431f93(_0x4bb311,_0x8573dc):_0x4bb311,_0x442fa4=_0x220ce5[_0x5ea4f0(0x4ac)]-0x1,_0x4f92b9;_0x442fa4>=0x0;_0x442fa4--)(_0x4f92b9=_0x220ce5[_0x442fa4])&&(_0x55c3c3=_0x4f92b9(_0x55c3c3)||_0x55c3c3);return _0x55c3c3;},_0x32a65c=(_0x3b7bbf,_0x600ba9)=>(_0x3e7d53,_0x1da32c)=>_0x600ba9(_0x3e7d53,_0x1da32c,_0x3b7bbf);let _0x1d325e=class{constructor(_0xbc7dd3,_0x3373fc,_0x336b7e){var _0x46bb01=_0xe600ea;this[_0x46bb01(0x164)]=_0xbc7dd3,this[_0x46bb01(0x26d)]=_0x3373fc,this[_0x46bb01(0x47d)]=_0x336b7e,this['init']();}[_0xe600ea(0x2ff)](){var _0x1ba28f=_0xe600ea;this['_httpService'][_0x1ba28f(0x410)]({'priority':0x1,'interceptor':(_0x23e865,_0x522bd1)=>_0x522bd1(_0x23e865)[_0x1ba28f(0x28b)](_0xd6d137[_0x1ba28f(0x3e5)](async _0x5d947a=>{var _0x459d1c=_0x1ba28f;const _0x3e8301=_0x5d947a;if(_0x3e8301[_0x459d1c(0x4b1)]===0x191){if(typeof window>'u')throw new Error(_0x459d1c(0x45b));if(window[_0x459d1c(0x2c1)](this[_0x459d1c(0x47d)]['t'](_0x459d1c(0x30e)))){const _0x4a1c9a=window[_0x459d1c(0x2eb)](window[_0x459d1c(0x1c5)]['href']);window[_0x459d1c(0x1c5)][_0x459d1c(0x168)]=this['_getLoginPath']()+_0x459d1c(0x36f)+_0x4a1c9a;}}return _0x3e8301;}))});}['_getLoginPath'](){var _0x1d32a6=_0xe600ea,_0x116a0f;const _0xa6b70d=this['_configService'][_0x1d32a6(0x1aa)](_0x566bcc);return(_0x116a0f=_0xa6b70d==null?void 0x0:_0xa6b70d['loginUrlKey'])!=null?_0x116a0f:_0xd24973;}};_0x1d325e=_0x4db745([_0x32a65c(0x0,_0x17feb2[_0xe600ea(0x1be)]),_0x32a65c(0x1,_0x17feb2[_0xe600ea(0x1c2)](_0x5d9456[_0xe600ea(0x2a3)])),_0x32a65c(0x2,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x27d)]))],_0x1d325e);var _0x59fb01=Object[_0xe600ea(0x305)],_0x1b7bb7=(_0x355b56,_0x257a83,_0x2cbbf5,_0x1d9b3c)=>{var _0x319ccb=_0xe600ea;for(var _0x50020c=_0x1d9b3c>0x1?void 0x0:_0x1d9b3c?_0x59fb01(_0x257a83,_0x2cbbf5):_0x257a83,_0x35f4a6=_0x355b56[_0x319ccb(0x4ac)]-0x1,_0x59114e;_0x35f4a6>=0x0;_0x35f4a6--)(_0x59114e=_0x355b56[_0x35f4a6])&&(_0x50020c=_0x59114e(_0x50020c)||_0x50020c);return _0x50020c;},_0x22f5ff=(_0x4bd044,_0x44be8a)=>(_0x563c9e,_0x11d680)=>_0x44be8a(_0x563c9e,_0x11d680,_0x4bd044);const _0x555a38=_0xe600ea(0x1c3);_0x5ac5d4[_0xe600ea(0x198)]=class extends _0x17feb2['Disposable']{constructor(_0x11e6f7,_0x125f44){var _0x9524d3=_0xe600ea;super(),this['_HTTPService']=_0x11e6f7,this[_0x9524d3(0x164)]=_0x125f44,this[_0x9524d3(0x165)]();}[_0xe600ea(0x165)](){var _0x1982bc=_0xe600ea;const _0xbbc2db=this;this['disposeWithMe'](this[_0x1982bc(0x187)][_0x1982bc(0x410)]({'priority':0x3e7,'interceptor':_0x5d9456['MergeInterceptorFactory']({'isMatch'(_0x48229e){var _0x2f7f72=_0x1982bc,_0x41c92e;if(_0x48229e[_0x2f7f72(0x43f)]===_0x2f7f72(0x188)&&((_0x41c92e=_0x48229e[_0x2f7f72(0x397)])!=null&&_0x41c92e[_0x2f7f72(0x201)])){const {objectID:_0x2ecc50,objectType:_0x33413f}=_0x48229e[_0x2f7f72(0x397)]['body']||{};if(!_0x2ecc50||_0x33413f===void 0x0)return!0x1;const _0x1707d9=_0xbbc2db['_getAPIPrefixPath']()+'/'+_0x33413f+'/object/'+_0x2ecc50+_0x2f7f72(0x45d);if(_0x48229e[_0x2f7f72(0x245)]===_0x1707d9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x506c48){var _0x1aaeff=_0x1982bc,_0x2ccd33;return(_0x2ccd33=_0x506c48['requestParams'])==null?void 0x0:_0x2ccd33[_0x1aaeff(0x201)];},'mergeParamsToRequest'(_0x15c364,_0x15de52){var _0x561313=_0x1982bc;const _0x28b679=_0xbbc2db['_getAPIPrefixPath']()+_0x561313(0x434),_0x54c6f8=_0x15c364[_0x561313(0x2ef)]((_0x5cf3fa,_0x273912)=>{var _0x4cf16b=_0x561313;const {unitID:_0x4308af,objectID:_0x38246c,objectType:_0x4f57ad,actions:_0x3587ea}=_0x273912;return _0x5cf3fa[_0x4308af]||(_0x5cf3fa[_0x4308af]={}),_0x5cf3fa[_0x4308af][_0x38246c]||(_0x5cf3fa[_0x4308af][_0x38246c]={'objectID':_0x38246c,'objectType':_0x4f57ad,'actions':[]}),_0x5cf3fa[_0x4308af][_0x38246c][_0x4cf16b(0x2b1)][_0x4cf16b(0x2c3)](..._0x3587ea),_0x5cf3fa;},{}),_0x21d08c=[];for(const _0x17d503 in _0x54c6f8)for(const _0x57b9a8 in _0x54c6f8[_0x17d503]){const {actions:_0x140dfe,objectType:_0x1ae28b}=_0x54c6f8[_0x17d503][_0x57b9a8],_0x107f7b=[...new Set(_0x140dfe)];_0x21d08c[_0x561313(0x2c3)]({'unitID':_0x17d503,'objectID':_0x57b9a8,'objectType':_0x1ae28b,'actions':_0x107f7b});}return new _0x5d9456['HTTPRequest'](_0x561313(0x188),_0x28b679,{'headers':_0x15de52[_0x561313(0x1d0)],'withCredentials':_0x15de52[_0x561313(0x33c)],'responseType':_0x15de52['responseType'],'body':{'requests':_0x21d08c}});}},{'distributeResult'(_0x3fae8b,_0x44a73c){const {objectActions:_0x31f076}=_0x3fae8b;return _0x44a73c['map'](_0x921cc5=>{var _0x318788=_0x239d;const {unitID:_0x494f48,objectID:_0x573133,actions:_0x1e5635}=_0x921cc5,_0x27de6d=_0x31f076['find'](_0x42f73a=>_0x42f73a[_0x318788(0x224)]===_0x494f48&&_0x42f73a[_0x318788(0x191)]===_0x573133),_0x42db69=_0x1e5635[_0x318788(0x4ab)](_0x50761e=>_0x27de6d==null?void 0x0:_0x27de6d[_0x318788(0x2b1)][_0x318788(0x3d4)](_0x56e23e=>_0x56e23e['action']===_0x50761e))[_0x318788(0x4a4)](_0x4b1a0d=>!!_0x4b1a0d);return{'config':_0x921cc5,'result':{'actions':_0x42db69,'error':_0x3fae8b['error']}};});}})}));}[_0xe600ea(0x3cf)](){var _0x5e8a9d=_0xe600ea,_0x31d887;const _0x39b650=this[_0x5e8a9d(0x164)][_0x5e8a9d(0x1aa)](_0x566bcc);return(_0x31d887=_0x39b650==null?void 0x0:_0x39b650[_0x5e8a9d(0x321)])!=null?_0x31d887:_0x555a38;}async[_0xe600ea(0x163)](_0x3320e7){var _0x4d0c3e=_0xe600ea;const _0x298359=this['_getAPIPrefixPath']()+'/'+_0x3320e7[_0x4d0c3e(0x44f)]+_0x4d0c3e(0x195);return(await this[_0x4d0c3e(0x187)][_0x4d0c3e(0x465)](_0x298359,{'body':_0x3320e7}))[_0x4d0c3e(0x201)][_0x4d0c3e(0x191)]||'';}async[_0xe600ea(0x175)](_0x2a7fd1){var _0x34400f=_0xe600ea;const _0x4089fb=this[_0x34400f(0x3cf)]()+'/-/object/list';return(await this['_HTTPService'][_0x34400f(0x465)](_0x4089fb,{'body':_0x2a7fd1}))[_0x34400f(0x201)]['objects'];}async['update'](_0x5bd9b5){var _0x5979e3=_0xe600ea,_0x2d4f84,_0x1784da;const _0x1ab095=this[_0x5979e3(0x3cf)]()+'/'+_0x5bd9b5[_0x5979e3(0x44f)]+_0x5979e3(0x354)+_0x5bd9b5[_0x5979e3(0x191)],_0x181213=await this[_0x5979e3(0x187)][_0x5979e3(0x3b6)](_0x1ab095,{'body':_0x5bd9b5});if(((_0x1784da=(_0x2d4f84=_0x181213==null?void 0x0:_0x181213['body'])==null?void 0x0:_0x2d4f84[_0x5979e3(0x343)])==null?void 0x0:_0x1784da[_0x5979e3(0x4a9)])!==0x1)throw new Error(_0x5979e3(0x4e1));}async[_0xe600ea(0x2a5)](_0x3c30ac){var _0x3c01af=_0xe600ea;const _0x598f8e=this['_getAPIPrefixPath']()+'/'+_0x3c30ac[_0x3c01af(0x44f)]+_0x3c01af(0x354)+_0x3c30ac['objectID']+'/allowed';return(await this[_0x3c01af(0x187)][_0x3c01af(0x465)](_0x598f8e,{'body':_0x3c30ac}))['body'][_0x3c01af(0x2b1)];}async['batchAllowed'](_0x476a8d){var _0x361350=_0xe600ea;const _0x1f8818=this[_0x361350(0x3cf)]()+_0x361350(0x434);return(await this[_0x361350(0x187)][_0x361350(0x465)](_0x1f8818,{'body':{'requests':_0x476a8d}}))['body'][_0x361350(0x30c)];}async['listRoles'](_0x4abb06){var _0x553867=_0xe600ea;const _0x3e5c88=this['_getAPIPrefixPath']()+'/'+_0x4abb06[_0x553867(0x44f)]+_0x553867(0x222),_0x238694=await this[_0x553867(0x187)][_0x553867(0x465)](_0x3e5c88,{'body':_0x4abb06});return{'roles':_0x238694[_0x553867(0x201)][_0x553867(0x21f)],'actions':_0x238694[_0x553867(0x201)][_0x553867(0x2b1)]};}async['deleteCollaborator'](_0x30d30c){var _0x16a48a=_0xe600ea;const _0xd1182e=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x16a48a(0x187)]['delete'](_0xd1182e,{'params':{'collaboratorID':_0x30d30c[_0x16a48a(0x42d)],'objectID':_0x30d30c[_0x16a48a(0x191)],'unitID':_0x30d30c[_0x16a48a(0x224)]}});}async[_0xe600ea(0x4dd)](_0x1d2546){var _0x151de8=_0xe600ea;const _0x211b34=this[_0x151de8(0x3cf)]()+_0x151de8(0x479);await this[_0x151de8(0x187)][_0x151de8(0x204)](_0x211b34,{'body':_0x1d2546});}async[_0xe600ea(0x359)](_0x27af28){var _0x28ab80=_0xe600ea;const _0x5adacf=this[_0x28ab80(0x3cf)]()+_0x28ab80(0x479);await this[_0x28ab80(0x187)][_0x28ab80(0x465)](_0x5adacf,{'body':_0x27af28});}async[_0xe600ea(0x1b4)](_0x519421){var _0x56efb3=_0xe600ea;const _0x37670a=this[_0x56efb3(0x3cf)]()+_0x56efb3(0x479);return(await this['_HTTPService']['get'](_0x37670a,{'params':{'objectID':_0x519421[_0x56efb3(0x191)],'unitID':_0x519421['unitID']}}))[_0x56efb3(0x201)][_0x56efb3(0x484)];}async[_0xe600ea(0x2e0)](_0x3892f7){var _0x1a0038=_0xe600ea;const _0x374e50=this[_0x1a0038(0x3cf)]()+_0x1a0038(0x479);await this[_0x1a0038(0x187)][_0x1a0038(0x3b6)](_0x374e50,{'body':_0x3892f7});}},_0x5ac5d4['AuthzIoHttpService']=_0x1b7bb7([_0x22f5ff(0x0,_0x17feb2[_0xe600ea(0x1c2)](_0x5d9456[_0xe600ea(0x2a3)])),_0x22f5ff(0x1,_0x17feb2['Inject'](_0x17feb2[_0xe600ea(0x1be)]))],_0x5ac5d4[_0xe600ea(0x198)]);var _0x22d0d9=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x379320(_0x14a905){var _0x5a76e5=_0xe600ea;return _0x14a905&&_0x14a905['__esModule']&&Object[_0x5a76e5(0x2e9)][_0x5a76e5(0x259)][_0x5a76e5(0x24d)](_0x14a905,_0x5a76e5(0x361))?_0x14a905[_0x5a76e5(0x361)]:_0x14a905;}var _0x386aa5={'exports':{}};function _0x16f940(_0x435d5d){var _0x38f0cd=_0xe600ea;throw new Error(_0x38f0cd(0x454)+_0x435d5d+_0x38f0cd(0x427));}var _0x1352d6={'exports':{}},_0x13b9a7=_0x1352d6[_0xe600ea(0x1af)],_0xfe240a;function _0xa7bb9e(){var _0x567cab=_0xe600ea;return _0xfe240a||(_0xfe240a=0x1,function(_0x5d3170,_0x21c903){(function(_0x53cddd,_0x28227e){var _0x50631f=_0x239d;_0x5d3170[_0x50631f(0x1af)]=_0x28227e();}(_0x13b9a7,function(){var _0x453af9=_0x453af9||function(_0x532cad,_0x2176ca){var _0x21f410=_0x239d,_0x20fbf7;if(typeof window<'u'&&window[_0x21f410(0x243)]&&(_0x20fbf7=window[_0x21f410(0x243)]),typeof self<'u'&&self['crypto']&&(_0x20fbf7=self[_0x21f410(0x243)]),typeof globalThis<'u'&&globalThis[_0x21f410(0x243)]&&(_0x20fbf7=globalThis[_0x21f410(0x243)]),!_0x20fbf7&&typeof window<'u'&&window['msCrypto']&&(_0x20fbf7=window[_0x21f410(0x3f1)]),!_0x20fbf7&&typeof _0x22d0d9<'u'&&_0x22d0d9[_0x21f410(0x243)]&&(_0x20fbf7=_0x22d0d9[_0x21f410(0x243)]),!_0x20fbf7&&typeof _0x16f940=='function')try{_0x20fbf7=require('crypto');}catch{}var _0x445972=function(){var _0x1e1ebd=_0x21f410;if(_0x20fbf7){if(typeof _0x20fbf7[_0x1e1ebd(0x432)]==_0x1e1ebd(0x38c))try{return _0x20fbf7[_0x1e1ebd(0x432)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x20fbf7[_0x1e1ebd(0x40f)]==_0x1e1ebd(0x38c))try{return _0x20fbf7['randomBytes'](0x4)[_0x1e1ebd(0x22f)]();}catch{}}throw new Error(_0x1e1ebd(0x31b));},_0x2d105f=Object['create']||(function(){function _0x220dde(){}return function(_0x34906a){var _0x4bf49a=_0x239d,_0x2c441b;return _0x220dde[_0x4bf49a(0x2e9)]=_0x34906a,_0x2c441b=new _0x220dde(),_0x220dde[_0x4bf49a(0x2e9)]=null,_0x2c441b;};}()),_0x471479={},_0x262d44=_0x471479[_0x21f410(0x300)]={},_0x2a1c23=_0x262d44['Base']=(function(){return{'extend':function(_0x11584a){var _0x57e9c5=_0x239d,_0x44481e=_0x2d105f(this);return _0x11584a&&_0x44481e[_0x57e9c5(0x462)](_0x11584a),(!_0x44481e['hasOwnProperty'](_0x57e9c5(0x2ff))||this['init']===_0x44481e[_0x57e9c5(0x2ff)])&&(_0x44481e['init']=function(){var _0x5825dd=_0x57e9c5;_0x44481e[_0x5825dd(0x415)]['init']['apply'](this,arguments);}),_0x44481e[_0x57e9c5(0x2ff)]['prototype']=_0x44481e,_0x44481e[_0x57e9c5(0x415)]=this,_0x44481e;},'create':function(){var _0xbabf24=_0x239d,_0x3714db=this[_0xbabf24(0x334)]();return _0x3714db['init'][_0xbabf24(0x4b0)](_0x3714db,arguments),_0x3714db;},'init':function(){},'mixIn':function(_0x24d94f){var _0x1f5ab0=_0x239d;for(var _0xd2513b in _0x24d94f)_0x24d94f['hasOwnProperty'](_0xd2513b)&&(this[_0xd2513b]=_0x24d94f[_0xd2513b]);_0x24d94f[_0x1f5ab0(0x259)]('toString')&&(this[_0x1f5ab0(0x4c6)]=_0x24d94f['toString']);},'clone':function(){var _0x4ca3ee=_0x239d;return this[_0x4ca3ee(0x2ff)]['prototype'][_0x4ca3ee(0x334)](this);}};}()),_0x4b8810=_0x262d44[_0x21f410(0x36e)]=_0x2a1c23['extend']({'init':function(_0x1fc3b8,_0x457975){var _0x40a079=_0x21f410;_0x1fc3b8=this['words']=_0x1fc3b8||[],_0x457975!=_0x2176ca?this['sigBytes']=_0x457975:this[_0x40a079(0x378)]=_0x1fc3b8[_0x40a079(0x4ac)]*0x4;},'toString':function(_0x301737){var _0x49ff47=_0x21f410;return(_0x301737||_0x492f99)[_0x49ff47(0x4ea)](this);},'concat':function(_0x28ffbe){var _0x6498e6=_0x21f410,_0x3eaac2=this[_0x6498e6(0x1f6)],_0x33e2fa=_0x28ffbe[_0x6498e6(0x1f6)],_0x3a311d=this[_0x6498e6(0x378)],_0x2a8f32=_0x28ffbe[_0x6498e6(0x378)];if(this['clamp'](),_0x3a311d%0x4)for(var _0xfcef47=0x0;_0xfcef47<_0x2a8f32;_0xfcef47++){var _0x491381=_0x33e2fa[_0xfcef47>>>0x2]>>>0x18-_0xfcef47%0x4*0x8&0xff;_0x3eaac2[_0x3a311d+_0xfcef47>>>0x2]|=_0x491381<<0x18-(_0x3a311d+_0xfcef47)%0x4*0x8;}else{for(var _0x52f4ce=0x0;_0x52f4ce<_0x2a8f32;_0x52f4ce+=0x4)_0x3eaac2[_0x3a311d+_0x52f4ce>>>0x2]=_0x33e2fa[_0x52f4ce>>>0x2];}return this[_0x6498e6(0x378)]+=_0x2a8f32,this;},'clamp':function(){var _0x21d453=_0x21f410,_0x43653f=this[_0x21d453(0x1f6)],_0x3ffba1=this['sigBytes'];_0x43653f[_0x3ffba1>>>0x2]&=0xffffffff<<0x20-_0x3ffba1%0x4*0x8,_0x43653f[_0x21d453(0x4ac)]=_0x532cad['ceil'](_0x3ffba1/0x4);},'clone':function(){var _0xd2b12d=_0x21f410,_0x1ad51c=_0x2a1c23[_0xd2b12d(0x35e)]['call'](this);return _0x1ad51c['words']=this['words'][_0xd2b12d(0x4d8)](0x0),_0x1ad51c;},'random':function(_0x280d81){var _0x8ad3fd=_0x21f410;for(var _0x5dd60e=[],_0x175d0a=0x0;_0x175d0a<_0x280d81;_0x175d0a+=0x4)_0x5dd60e[_0x8ad3fd(0x2c3)](_0x445972());return new _0x4b8810[(_0x8ad3fd(0x2ff))](_0x5dd60e,_0x280d81);}}),_0x5dae95=_0x471479['enc']={},_0x492f99=_0x5dae95[_0x21f410(0x2d5)]={'stringify':function(_0x5ccd70){var _0xf86f4c=_0x21f410;for(var _0x5cd17d=_0x5ccd70[_0xf86f4c(0x1f6)],_0x324fb3=_0x5ccd70[_0xf86f4c(0x378)],_0x273cc1=[],_0x33a87a=0x0;_0x33a87a<_0x324fb3;_0x33a87a++){var _0x3b8ab0=_0x5cd17d[_0x33a87a>>>0x2]>>>0x18-_0x33a87a%0x4*0x8&0xff;_0x273cc1['push']((_0x3b8ab0>>>0x4)['toString'](0x10)),_0x273cc1[_0xf86f4c(0x2c3)]((_0x3b8ab0&0xf)[_0xf86f4c(0x4c6)](0x10));}return _0x273cc1[_0xf86f4c(0x48d)]('');},'parse':function(_0x1bfa4d){var _0x1d3983=_0x21f410;for(var _0x4a8848=_0x1bfa4d['length'],_0x5525bf=[],_0x20ab50=0x0;_0x20ab50<_0x4a8848;_0x20ab50+=0x2)_0x5525bf[_0x20ab50>>>0x3]|=parseInt(_0x1bfa4d['substr'](_0x20ab50,0x2),0x10)<<0x18-_0x20ab50%0x8*0x4;return new _0x4b8810[(_0x1d3983(0x2ff))](_0x5525bf,_0x4a8848/0x2);}},_0x218f7b=_0x5dae95[_0x21f410(0x2be)]={'stringify':function(_0x56571e){var _0x21d0fc=_0x21f410;for(var _0x42eb39=_0x56571e[_0x21d0fc(0x1f6)],_0x16426b=_0x56571e[_0x21d0fc(0x378)],_0x361188=[],_0x377971=0x0;_0x377971<_0x16426b;_0x377971++){var _0x2559d3=_0x42eb39[_0x377971>>>0x2]>>>0x18-_0x377971%0x4*0x8&0xff;_0x361188[_0x21d0fc(0x2c3)](String['fromCharCode'](_0x2559d3));}return _0x361188[_0x21d0fc(0x48d)]('');},'parse':function(_0x1643c5){var _0x306136=_0x21f410;for(var _0x276ff7=_0x1643c5[_0x306136(0x4ac)],_0x7d5b0=[],_0x4085f6=0x0;_0x4085f6<_0x276ff7;_0x4085f6++)_0x7d5b0[_0x4085f6>>>0x2]|=(_0x1643c5['charCodeAt'](_0x4085f6)&0xff)<<0x18-_0x4085f6%0x4*0x8;return new _0x4b8810['init'](_0x7d5b0,_0x276ff7);}},_0x43f875=_0x5dae95['Utf8']={'stringify':function(_0x9018b4){var _0x67a697=_0x21f410;try{return decodeURIComponent(escape(_0x218f7b[_0x67a697(0x4ea)](_0x9018b4)));}catch{throw new Error(_0x67a697(0x22a));}},'parse':function(_0x99ee9c){var _0x14f0d3=_0x21f410;return _0x218f7b[_0x14f0d3(0x19f)](unescape(encodeURIComponent(_0x99ee9c)));}},_0x657383=_0x262d44[_0x21f410(0x3e8)]=_0x2a1c23[_0x21f410(0x334)]({'reset':function(){var _0x3df15c=_0x21f410;this['_data']=new _0x4b8810[(_0x3df15c(0x2ff))](),this[_0x3df15c(0x4e8)]=0x0;},'_append':function(_0x451aa3){var _0x305b72=_0x21f410;typeof _0x451aa3=='string'&&(_0x451aa3=_0x43f875[_0x305b72(0x19f)](_0x451aa3)),this[_0x305b72(0x448)][_0x305b72(0x3ac)](_0x451aa3),this['_nDataBytes']+=_0x451aa3[_0x305b72(0x378)];},'_process':function(_0x1c0199){var _0x3b9cda=_0x21f410,_0x3325e0,_0x2de13b=this[_0x3b9cda(0x448)],_0x445e8e=_0x2de13b['words'],_0xd1476a=_0x2de13b[_0x3b9cda(0x378)],_0x2b019e=this[_0x3b9cda(0x4cf)],_0x52aa42=_0x2b019e*0x4,_0x4f5875=_0xd1476a/_0x52aa42;_0x1c0199?_0x4f5875=_0x532cad[_0x3b9cda(0x2bd)](_0x4f5875):_0x4f5875=_0x532cad[_0x3b9cda(0x236)]((_0x4f5875|0x0)-this[_0x3b9cda(0x45c)],0x0);var _0x44e7dc=_0x4f5875*_0x2b019e,_0xf2d9=_0x532cad[_0x3b9cda(0x392)](_0x44e7dc*0x4,_0xd1476a);if(_0x44e7dc){for(var _0x38a7b0=0x0;_0x38a7b0<_0x44e7dc;_0x38a7b0+=_0x2b019e)this[_0x3b9cda(0x34e)](_0x445e8e,_0x38a7b0);_0x3325e0=_0x445e8e[_0x3b9cda(0x2ae)](0x0,_0x44e7dc),_0x2de13b[_0x3b9cda(0x378)]-=_0xf2d9;}return new _0x4b8810[(_0x3b9cda(0x2ff))](_0x3325e0,_0xf2d9);},'clone':function(){var _0xd26aa4=_0x21f410,_0x49ed03=_0x2a1c23[_0xd26aa4(0x35e)]['call'](this);return _0x49ed03[_0xd26aa4(0x448)]=this['_data']['clone'](),_0x49ed03;},'_minBufferSize':0x0});_0x262d44[_0x21f410(0x3c8)]=_0x657383[_0x21f410(0x334)]({'cfg':_0x2a1c23[_0x21f410(0x334)](),'init':function(_0x5e1868){var _0x43394a=_0x21f410;this[_0x43394a(0x426)]=this[_0x43394a(0x426)][_0x43394a(0x334)](_0x5e1868),this[_0x43394a(0x2c4)]();},'reset':function(){var _0x11e90a=_0x21f410;_0x657383[_0x11e90a(0x2c4)][_0x11e90a(0x24d)](this),this[_0x11e90a(0x464)]();},'update':function(_0x592e5b){var _0x1532cb=_0x21f410;return this[_0x1532cb(0x2c8)](_0x592e5b),this['_process'](),this;},'finalize':function(_0x5633f3){var _0x413a2c=_0x21f410;_0x5633f3&&this[_0x413a2c(0x2c8)](_0x5633f3);var _0x3fa56b=this[_0x413a2c(0x49b)]();return _0x3fa56b;},'blockSize':0x10,'_createHelper':function(_0x3e008b){return function(_0x54f5d5,_0x57ebc0){var _0x2e9d59=_0x239d;return new _0x3e008b[(_0x2e9d59(0x2ff))](_0x57ebc0)['finalize'](_0x54f5d5);};},'_createHmacHelper':function(_0x1a71fc){return function(_0x241095,_0x2aa656){var _0xa259ac=_0x239d;return new _0x150a36['HMAC']['init'](_0x1a71fc,_0x2aa656)[_0xa259ac(0x199)](_0x241095);};}});var _0x150a36=_0x471479[_0x21f410(0x30a)]={};return _0x471479;}(Math);return _0x453af9;}));}(_0x1352d6)),_0x1352d6[_0x567cab(0x1af)];}var _0x4f9783={'exports':{}},_0x26fb7d=_0x4f9783[_0xe600ea(0x1af)],_0x5a8f7c;function _0x107eef(){var _0x55a79e=_0xe600ea;return _0x5a8f7c||(_0x5a8f7c=0x1,function(_0x1619fc,_0x1dfb93){(function(_0x308895,_0x5478f5){var _0x2a070d=_0x239d;_0x1619fc[_0x2a070d(0x1af)]=_0x5478f5(_0xa7bb9e());}(_0x26fb7d,function(_0x4933df){var _0x3f0469=_0x239d;return(function(){var _0x4e31f3=_0x239d,_0x6e0357=_0x4933df,_0x57a326=_0x6e0357[_0x4e31f3(0x300)],_0x55394c=_0x57a326['WordArray'],_0x8cfd5b=_0x6e0357[_0x4e31f3(0x280)];_0x8cfd5b['Base64']={'stringify':function(_0x2e3691){var _0x4d3346=_0x4e31f3,_0x25d1e5=_0x2e3691[_0x4d3346(0x1f6)],_0x1a9c6a=_0x2e3691[_0x4d3346(0x378)],_0x54c68d=this[_0x4d3346(0x463)];_0x2e3691['clamp']();for(var _0x9f4b5c=[],_0x51af0=0x0;_0x51af0<_0x1a9c6a;_0x51af0+=0x3)for(var _0x57cf18=_0x25d1e5[_0x51af0>>>0x2]>>>0x18-_0x51af0%0x4*0x8&0xff,_0x5b97db=_0x25d1e5[_0x51af0+0x1>>>0x2]>>>0x18-(_0x51af0+0x1)%0x4*0x8&0xff,_0x182f2a=_0x25d1e5[_0x51af0+0x2>>>0x2]>>>0x18-(_0x51af0+0x2)%0x4*0x8&0xff,_0x597c71=_0x57cf18<<0x10|_0x5b97db<<0x8|_0x182f2a,_0x20a5c7=0x0;_0x20a5c7<0x4&&_0x51af0+_0x20a5c7*0.75<_0x1a9c6a;_0x20a5c7++)_0x9f4b5c[_0x4d3346(0x2c3)](_0x54c68d[_0x4d3346(0x23a)](_0x597c71>>>0x6*(0x3-_0x20a5c7)&0x3f));var _0x3821a3=_0x54c68d[_0x4d3346(0x23a)](0x40);if(_0x3821a3){for(;_0x9f4b5c[_0x4d3346(0x4ac)]%0x4;)_0x9f4b5c[_0x4d3346(0x2c3)](_0x3821a3);}return _0x9f4b5c[_0x4d3346(0x48d)]('');},'parse':function(_0x378da0){var _0x21971e=_0x4e31f3,_0x296524=_0x378da0[_0x21971e(0x4ac)],_0x309f4b=this[_0x21971e(0x463)],_0x18529d=this[_0x21971e(0x2a4)];if(!_0x18529d){_0x18529d=this['_reverseMap']=[];for(var _0x5b1bb4=0x0;_0x5b1bb4<_0x309f4b['length'];_0x5b1bb4++)_0x18529d[_0x309f4b[_0x21971e(0x4ba)](_0x5b1bb4)]=_0x5b1bb4;}var _0x15eec2=_0x309f4b[_0x21971e(0x23a)](0x40);if(_0x15eec2){var _0x3de99c=_0x378da0['indexOf'](_0x15eec2);_0x3de99c!==-0x1&&(_0x296524=_0x3de99c);}return _0x270d86(_0x378da0,_0x296524,_0x18529d);},'_map':_0x4e31f3(0x438)};function _0x270d86(_0x360f91,_0x86aebf,_0x40a2bd){var _0x2411a6=_0x4e31f3;for(var _0xf5f897=[],_0x3637b4=0x0,_0x498409=0x0;_0x498409<_0x86aebf;_0x498409++)if(_0x498409%0x4){var _0x4dfe30=_0x40a2bd[_0x360f91[_0x2411a6(0x4ba)](_0x498409-0x1)]<<_0x498409%0x4*0x2,_0x19dddf=_0x40a2bd[_0x360f91[_0x2411a6(0x4ba)](_0x498409)]>>>0x6-_0x498409%0x4*0x2,_0x27f63b=_0x4dfe30|_0x19dddf;_0xf5f897[_0x3637b4>>>0x2]|=_0x27f63b<<0x18-_0x3637b4%0x4*0x8,_0x3637b4++;}return _0x55394c[_0x2411a6(0x163)](_0xf5f897,_0x3637b4);}}()),_0x4933df[_0x3f0469(0x280)][_0x3f0469(0x472)];}));}(_0x4f9783)),_0x4f9783[_0x55a79e(0x1af)];}var _0x1ce12d={'exports':{}},_0x2dfac8=_0x1ce12d[_0xe600ea(0x1af)],_0xeb1e65;function _0x3efef3(){var _0x12d55c=_0xe600ea;return _0xeb1e65||(_0xeb1e65=0x1,function(_0x2912b4,_0x3a722b){(function(_0x41165d,_0x986e30){var _0x2035d6=_0x239d;_0x2912b4[_0x2035d6(0x1af)]=_0x986e30(_0xa7bb9e());}(_0x2dfac8,function(_0x538b5b){var _0x464b1f=_0x239d;return function(_0x3e142c){var _0xc62cc2=_0x239d,_0x13ae84=_0x538b5b,_0x4a8e85=_0x13ae84[_0xc62cc2(0x300)],_0x250ee6=_0x4a8e85[_0xc62cc2(0x36e)],_0x340ebd=_0x4a8e85[_0xc62cc2(0x3c8)],_0x553bac=_0x13ae84[_0xc62cc2(0x30a)],_0x3412a7=[];(function(){var _0x4c9225=_0xc62cc2;for(var _0x37fa0d=0x0;_0x37fa0d<0x40;_0x37fa0d++)_0x3412a7[_0x37fa0d]=_0x3e142c[_0x4c9225(0x419)](_0x3e142c[_0x4c9225(0x254)](_0x37fa0d+0x1))*0x100000000|0x0;}());var _0x22fd7a=_0x553bac[_0xc62cc2(0x30b)]=_0x340ebd[_0xc62cc2(0x334)]({'_doReset':function(){var _0x5b0875=_0xc62cc2;this[_0x5b0875(0x268)]=new _0x250ee6[(_0x5b0875(0x2ff))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xf03728,_0x36928f){var _0x3eee25=_0xc62cc2;for(var _0x42997d=0x0;_0x42997d<0x10;_0x42997d++){var _0x3b30e2=_0x36928f+_0x42997d,_0x499445=_0xf03728[_0x3b30e2];_0xf03728[_0x3b30e2]=(_0x499445<<0x8|_0x499445>>>0x18)&0xff00ff|(_0x499445<<0x18|_0x499445>>>0x8)&0xff00ff00;}var _0x132072=this[_0x3eee25(0x268)][_0x3eee25(0x1f6)],_0x13628e=_0xf03728[_0x36928f+0x0],_0x44b85a=_0xf03728[_0x36928f+0x1],_0x47d0ab=_0xf03728[_0x36928f+0x2],_0x1dd689=_0xf03728[_0x36928f+0x3],_0xd90884=_0xf03728[_0x36928f+0x4],_0x4ccfc9=_0xf03728[_0x36928f+0x5],_0x3bc0b4=_0xf03728[_0x36928f+0x6],_0x4e30cb=_0xf03728[_0x36928f+0x7],_0x5b4bf5=_0xf03728[_0x36928f+0x8],_0x3d2e5d=_0xf03728[_0x36928f+0x9],_0x4559cf=_0xf03728[_0x36928f+0xa],_0x4f083e=_0xf03728[_0x36928f+0xb],_0x492b49=_0xf03728[_0x36928f+0xc],_0x3040a7=_0xf03728[_0x36928f+0xd],_0x438f68=_0xf03728[_0x36928f+0xe],_0x546ef1=_0xf03728[_0x36928f+0xf],_0x5777c4=_0x132072[0x0],_0x20a5a0=_0x132072[0x1],_0x59de27=_0x132072[0x2],_0x1e3db2=_0x132072[0x3];_0x5777c4=_0x442882(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x13628e,0x7,_0x3412a7[0x0]),_0x1e3db2=_0x442882(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x44b85a,0xc,_0x3412a7[0x1]),_0x59de27=_0x442882(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x47d0ab,0x11,_0x3412a7[0x2]),_0x20a5a0=_0x442882(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x1dd689,0x16,_0x3412a7[0x3]),_0x5777c4=_0x442882(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0xd90884,0x7,_0x3412a7[0x4]),_0x1e3db2=_0x442882(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x4ccfc9,0xc,_0x3412a7[0x5]),_0x59de27=_0x442882(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x3bc0b4,0x11,_0x3412a7[0x6]),_0x20a5a0=_0x442882(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x4e30cb,0x16,_0x3412a7[0x7]),_0x5777c4=_0x442882(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x5b4bf5,0x7,_0x3412a7[0x8]),_0x1e3db2=_0x442882(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x3d2e5d,0xc,_0x3412a7[0x9]),_0x59de27=_0x442882(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x4559cf,0x11,_0x3412a7[0xa]),_0x20a5a0=_0x442882(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x4f083e,0x16,_0x3412a7[0xb]),_0x5777c4=_0x442882(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x492b49,0x7,_0x3412a7[0xc]),_0x1e3db2=_0x442882(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x3040a7,0xc,_0x3412a7[0xd]),_0x59de27=_0x442882(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x438f68,0x11,_0x3412a7[0xe]),_0x20a5a0=_0x442882(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x546ef1,0x16,_0x3412a7[0xf]),_0x5777c4=_0x2cd2b6(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x44b85a,0x5,_0x3412a7[0x10]),_0x1e3db2=_0x2cd2b6(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x3bc0b4,0x9,_0x3412a7[0x11]),_0x59de27=_0x2cd2b6(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x4f083e,0xe,_0x3412a7[0x12]),_0x20a5a0=_0x2cd2b6(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x13628e,0x14,_0x3412a7[0x13]),_0x5777c4=_0x2cd2b6(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x4ccfc9,0x5,_0x3412a7[0x14]),_0x1e3db2=_0x2cd2b6(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x4559cf,0x9,_0x3412a7[0x15]),_0x59de27=_0x2cd2b6(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x546ef1,0xe,_0x3412a7[0x16]),_0x20a5a0=_0x2cd2b6(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0xd90884,0x14,_0x3412a7[0x17]),_0x5777c4=_0x2cd2b6(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x3d2e5d,0x5,_0x3412a7[0x18]),_0x1e3db2=_0x2cd2b6(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x438f68,0x9,_0x3412a7[0x19]),_0x59de27=_0x2cd2b6(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x1dd689,0xe,_0x3412a7[0x1a]),_0x20a5a0=_0x2cd2b6(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x5b4bf5,0x14,_0x3412a7[0x1b]),_0x5777c4=_0x2cd2b6(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x3040a7,0x5,_0x3412a7[0x1c]),_0x1e3db2=_0x2cd2b6(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x47d0ab,0x9,_0x3412a7[0x1d]),_0x59de27=_0x2cd2b6(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x4e30cb,0xe,_0x3412a7[0x1e]),_0x20a5a0=_0x2cd2b6(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x492b49,0x14,_0x3412a7[0x1f]),_0x5777c4=_0x2f6449(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x4ccfc9,0x4,_0x3412a7[0x20]),_0x1e3db2=_0x2f6449(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x5b4bf5,0xb,_0x3412a7[0x21]),_0x59de27=_0x2f6449(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x4f083e,0x10,_0x3412a7[0x22]),_0x20a5a0=_0x2f6449(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x438f68,0x17,_0x3412a7[0x23]),_0x5777c4=_0x2f6449(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x44b85a,0x4,_0x3412a7[0x24]),_0x1e3db2=_0x2f6449(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0xd90884,0xb,_0x3412a7[0x25]),_0x59de27=_0x2f6449(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x4e30cb,0x10,_0x3412a7[0x26]),_0x20a5a0=_0x2f6449(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x4559cf,0x17,_0x3412a7[0x27]),_0x5777c4=_0x2f6449(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x3040a7,0x4,_0x3412a7[0x28]),_0x1e3db2=_0x2f6449(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x13628e,0xb,_0x3412a7[0x29]),_0x59de27=_0x2f6449(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x1dd689,0x10,_0x3412a7[0x2a]),_0x20a5a0=_0x2f6449(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x3bc0b4,0x17,_0x3412a7[0x2b]),_0x5777c4=_0x2f6449(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x3d2e5d,0x4,_0x3412a7[0x2c]),_0x1e3db2=_0x2f6449(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x492b49,0xb,_0x3412a7[0x2d]),_0x59de27=_0x2f6449(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x546ef1,0x10,_0x3412a7[0x2e]),_0x20a5a0=_0x2f6449(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x47d0ab,0x17,_0x3412a7[0x2f]),_0x5777c4=_0x15289e(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x13628e,0x6,_0x3412a7[0x30]),_0x1e3db2=_0x15289e(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x4e30cb,0xa,_0x3412a7[0x31]),_0x59de27=_0x15289e(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x438f68,0xf,_0x3412a7[0x32]),_0x20a5a0=_0x15289e(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x4ccfc9,0x15,_0x3412a7[0x33]),_0x5777c4=_0x15289e(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x492b49,0x6,_0x3412a7[0x34]),_0x1e3db2=_0x15289e(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x1dd689,0xa,_0x3412a7[0x35]),_0x59de27=_0x15289e(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x4559cf,0xf,_0x3412a7[0x36]),_0x20a5a0=_0x15289e(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x44b85a,0x15,_0x3412a7[0x37]),_0x5777c4=_0x15289e(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x5b4bf5,0x6,_0x3412a7[0x38]),_0x1e3db2=_0x15289e(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x546ef1,0xa,_0x3412a7[0x39]),_0x59de27=_0x15289e(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x3bc0b4,0xf,_0x3412a7[0x3a]),_0x20a5a0=_0x15289e(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x3040a7,0x15,_0x3412a7[0x3b]),_0x5777c4=_0x15289e(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0xd90884,0x6,_0x3412a7[0x3c]),_0x1e3db2=_0x15289e(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x4f083e,0xa,_0x3412a7[0x3d]),_0x59de27=_0x15289e(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x47d0ab,0xf,_0x3412a7[0x3e]),_0x20a5a0=_0x15289e(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x3d2e5d,0x15,_0x3412a7[0x3f]),_0x132072[0x0]=_0x132072[0x0]+_0x5777c4|0x0,_0x132072[0x1]=_0x132072[0x1]+_0x20a5a0|0x0,_0x132072[0x2]=_0x132072[0x2]+_0x59de27|0x0,_0x132072[0x3]=_0x132072[0x3]+_0x1e3db2|0x0;},'_doFinalize':function(){var _0x36beeb=_0xc62cc2,_0x30c8ae=this[_0x36beeb(0x448)],_0x277323=_0x30c8ae[_0x36beeb(0x1f6)],_0x7ca2b0=this[_0x36beeb(0x4e8)]*0x8,_0x2f8ed5=_0x30c8ae[_0x36beeb(0x378)]*0x8;_0x277323[_0x2f8ed5>>>0x5]|=0x80<<0x18-_0x2f8ed5%0x20;var _0x1c7385=_0x3e142c[_0x36beeb(0x363)](_0x7ca2b0/0x100000000),_0x24a344=_0x7ca2b0;_0x277323[(_0x2f8ed5+0x40>>>0x9<<0x4)+0xf]=(_0x1c7385<<0x8|_0x1c7385>>>0x18)&0xff00ff|(_0x1c7385<<0x18|_0x1c7385>>>0x8)&0xff00ff00,_0x277323[(_0x2f8ed5+0x40>>>0x9<<0x4)+0xe]=(_0x24a344<<0x8|_0x24a344>>>0x18)&0xff00ff|(_0x24a344<<0x18|_0x24a344>>>0x8)&0xff00ff00,_0x30c8ae[_0x36beeb(0x378)]=(_0x277323[_0x36beeb(0x4ac)]+0x1)*0x4,this[_0x36beeb(0x312)]();for(var _0x1df049=this[_0x36beeb(0x268)],_0x10d300=_0x1df049[_0x36beeb(0x1f6)],_0x4d88be=0x0;_0x4d88be<0x4;_0x4d88be++){var _0x141f80=_0x10d300[_0x4d88be];_0x10d300[_0x4d88be]=(_0x141f80<<0x8|_0x141f80>>>0x18)&0xff00ff|(_0x141f80<<0x18|_0x141f80>>>0x8)&0xff00ff00;}return _0x1df049;},'clone':function(){var _0x117920=_0xc62cc2,_0x678421=_0x340ebd[_0x117920(0x35e)][_0x117920(0x24d)](this);return _0x678421[_0x117920(0x268)]=this[_0x117920(0x268)][_0x117920(0x35e)](),_0x678421;}});function _0x442882(_0x3ec4d6,_0x2f2d6f,_0x2634be,_0x3ea090,_0x104ebc,_0x389bdb,_0x498cc6){var _0x12a9a5=_0x3ec4d6+(_0x2f2d6f&_0x2634be|~_0x2f2d6f&_0x3ea090)+_0x104ebc+_0x498cc6;return(_0x12a9a5<<_0x389bdb|_0x12a9a5>>>0x20-_0x389bdb)+_0x2f2d6f;}function _0x2cd2b6(_0x5a0f50,_0x5d1561,_0x411749,_0x43e0a1,_0x49050a,_0x2cc7a3,_0x2c9c1b){var _0x197485=_0x5a0f50+(_0x5d1561&_0x43e0a1|_0x411749&~_0x43e0a1)+_0x49050a+_0x2c9c1b;return(_0x197485<<_0x2cc7a3|_0x197485>>>0x20-_0x2cc7a3)+_0x5d1561;}function _0x2f6449(_0x4bcab0,_0x43fa0c,_0x18dd6a,_0xb754b7,_0x329ea3,_0x5aa57f,_0x17213f){var _0x55c09c=_0x4bcab0+(_0x43fa0c^_0x18dd6a^_0xb754b7)+_0x329ea3+_0x17213f;return(_0x55c09c<<_0x5aa57f|_0x55c09c>>>0x20-_0x5aa57f)+_0x43fa0c;}function _0x15289e(_0x4ddbbd,_0x1a1e05,_0x5a8d78,_0x343d0f,_0x4826ae,_0xf47cc2,_0xcd60ad){var _0x218ffe=_0x4ddbbd+(_0x5a8d78^(_0x1a1e05|~_0x343d0f))+_0x4826ae+_0xcd60ad;return(_0x218ffe<<_0xf47cc2|_0x218ffe>>>0x20-_0xf47cc2)+_0x1a1e05;}_0x13ae84[_0xc62cc2(0x30b)]=_0x340ebd[_0xc62cc2(0x339)](_0x22fd7a),_0x13ae84[_0xc62cc2(0x227)]=_0x340ebd[_0xc62cc2(0x253)](_0x22fd7a);}(Math),_0x538b5b[_0x464b1f(0x30b)];}));}(_0x1ce12d)),_0x1ce12d[_0x12d55c(0x1af)];}var _0x45737a={'exports':{}},_0x4ee37b={'exports':{}},_0x78bb38=_0x4ee37b['exports'],_0x1f1829;function _0x3b0db6(){var _0x112f54=_0xe600ea;return _0x1f1829||(_0x1f1829=0x1,function(_0x5e9dfc,_0x123f86){(function(_0x3985aa,_0x4dfe38){var _0xff2ee5=_0x239d;_0x5e9dfc[_0xff2ee5(0x1af)]=_0x4dfe38(_0xa7bb9e());}(_0x78bb38,function(_0x2a0cf8){var _0x2f8066=_0x239d;return(function(){var _0x508b06=_0x239d,_0x3cf202=_0x2a0cf8,_0x508f10=_0x3cf202['lib'],_0x37f0a3=_0x508f10[_0x508b06(0x36e)],_0x3ccbff=_0x508f10[_0x508b06(0x3c8)],_0x42e134=_0x3cf202[_0x508b06(0x30a)],_0x5c6287=[],_0x4e0bf0=_0x42e134[_0x508b06(0x2c6)]=_0x3ccbff[_0x508b06(0x334)]({'_doReset':function(){var _0x36b1aa=_0x508b06;this['_hash']=new _0x37f0a3[(_0x36b1aa(0x2ff))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x226f1f,_0x3babab){var _0x22d943=_0x508b06;for(var _0xd9936=this[_0x22d943(0x268)][_0x22d943(0x1f6)],_0x17df57=_0xd9936[0x0],_0x27bb6c=_0xd9936[0x1],_0x2aae9d=_0xd9936[0x2],_0x22a89b=_0xd9936[0x3],_0x186a87=_0xd9936[0x4],_0x5087ae=0x0;_0x5087ae<0x50;_0x5087ae++){if(_0x5087ae<0x10)_0x5c6287[_0x5087ae]=_0x226f1f[_0x3babab+_0x5087ae]|0x0;else{var _0x15fe11=_0x5c6287[_0x5087ae-0x3]^_0x5c6287[_0x5087ae-0x8]^_0x5c6287[_0x5087ae-0xe]^_0x5c6287[_0x5087ae-0x10];_0x5c6287[_0x5087ae]=_0x15fe11<<0x1|_0x15fe11>>>0x1f;}var _0x386b54=(_0x17df57<<0x5|_0x17df57>>>0x1b)+_0x186a87+_0x5c6287[_0x5087ae];_0x5087ae<0x14?_0x386b54+=(_0x27bb6c&_0x2aae9d|~_0x27bb6c&_0x22a89b)+0x5a827999:_0x5087ae<0x28?_0x386b54+=(_0x27bb6c^_0x2aae9d^_0x22a89b)+0x6ed9eba1:_0x5087ae<0x3c?_0x386b54+=(_0x27bb6c&_0x2aae9d|_0x27bb6c&_0x22a89b|_0x2aae9d&_0x22a89b)-0x70e44324:_0x386b54+=(_0x27bb6c^_0x2aae9d^_0x22a89b)-0x359d3e2a,_0x186a87=_0x22a89b,_0x22a89b=_0x2aae9d,_0x2aae9d=_0x27bb6c<<0x1e|_0x27bb6c>>>0x2,_0x27bb6c=_0x17df57,_0x17df57=_0x386b54;}_0xd9936[0x0]=_0xd9936[0x0]+_0x17df57|0x0,_0xd9936[0x1]=_0xd9936[0x1]+_0x27bb6c|0x0,_0xd9936[0x2]=_0xd9936[0x2]+_0x2aae9d|0x0,_0xd9936[0x3]=_0xd9936[0x3]+_0x22a89b|0x0,_0xd9936[0x4]=_0xd9936[0x4]+_0x186a87|0x0;},'_doFinalize':function(){var _0x1bd07f=_0x508b06,_0x377d01=this[_0x1bd07f(0x448)],_0x55132c=_0x377d01[_0x1bd07f(0x1f6)],_0x2f7987=this[_0x1bd07f(0x4e8)]*0x8,_0xc94829=_0x377d01[_0x1bd07f(0x378)]*0x8;return _0x55132c[_0xc94829>>>0x5]|=0x80<<0x18-_0xc94829%0x20,_0x55132c[(_0xc94829+0x40>>>0x9<<0x4)+0xe]=Math[_0x1bd07f(0x363)](_0x2f7987/0x100000000),_0x55132c[(_0xc94829+0x40>>>0x9<<0x4)+0xf]=_0x2f7987,_0x377d01['sigBytes']=_0x55132c[_0x1bd07f(0x4ac)]*0x4,this[_0x1bd07f(0x312)](),this['_hash'];},'clone':function(){var _0x1ecf16=_0x508b06,_0x45ddf5=_0x3ccbff[_0x1ecf16(0x35e)][_0x1ecf16(0x24d)](this);return _0x45ddf5[_0x1ecf16(0x268)]=this[_0x1ecf16(0x268)][_0x1ecf16(0x35e)](),_0x45ddf5;}});_0x3cf202[_0x508b06(0x2c6)]=_0x3ccbff['_createHelper'](_0x4e0bf0),_0x3cf202['HmacSHA1']=_0x3ccbff['_createHmacHelper'](_0x4e0bf0);}()),_0x2a0cf8[_0x2f8066(0x2c6)];}));}(_0x4ee37b)),_0x4ee37b[_0x112f54(0x1af)];}var _0x1753cf={'exports':{}},_0x4b18e8=_0x1753cf['exports'],_0x274200;function _0x5212b0(){var _0x18141a=_0xe600ea;return _0x274200||(_0x274200=0x1,function(_0x20de6b,_0x3f0193){(function(_0x700ef2,_0x11742e){var _0x115086=_0x239d;_0x20de6b[_0x115086(0x1af)]=_0x11742e(_0xa7bb9e());}(_0x4b18e8,function(_0x1216cb){(function(){var _0x2e0a16=_0x239d,_0x28ba62=_0x1216cb,_0x5f4c12=_0x28ba62['lib'],_0x4fa62f=_0x5f4c12[_0x2e0a16(0x332)],_0xe5ea4=_0x28ba62[_0x2e0a16(0x280)],_0x28ebcf=_0xe5ea4[_0x2e0a16(0x43e)],_0x5844eb=_0x28ba62['algo'];_0x5844eb[_0x2e0a16(0x22b)]=_0x4fa62f[_0x2e0a16(0x334)]({'init':function(_0x506364,_0xe1e1cf){var _0x55d5af=_0x2e0a16;_0x506364=this[_0x55d5af(0x3f3)]=new _0x506364[(_0x55d5af(0x2ff))](),typeof _0xe1e1cf==_0x55d5af(0x1ed)&&(_0xe1e1cf=_0x28ebcf['parse'](_0xe1e1cf));var _0x3228a2=_0x506364[_0x55d5af(0x4cf)],_0x25f520=_0x3228a2*0x4;_0xe1e1cf['sigBytes']>_0x25f520&&(_0xe1e1cf=_0x506364[_0x55d5af(0x199)](_0xe1e1cf)),_0xe1e1cf[_0x55d5af(0x35f)]();for(var _0x37e72c=this[_0x55d5af(0x161)]=_0xe1e1cf[_0x55d5af(0x35e)](),_0x3b9490=this[_0x55d5af(0x423)]=_0xe1e1cf[_0x55d5af(0x35e)](),_0x3bd74f=_0x37e72c[_0x55d5af(0x1f6)],_0x3ce211=_0x3b9490[_0x55d5af(0x1f6)],_0x230c66=0x0;_0x230c66<_0x3228a2;_0x230c66++)_0x3bd74f[_0x230c66]^=0x5c5c5c5c,_0x3ce211[_0x230c66]^=0x36363636;_0x37e72c[_0x55d5af(0x378)]=_0x3b9490[_0x55d5af(0x378)]=_0x25f520,this[_0x55d5af(0x2c4)]();},'reset':function(){var _0x2b3247=_0x2e0a16,_0x243a55=this[_0x2b3247(0x3f3)];_0x243a55[_0x2b3247(0x2c4)](),_0x243a55['update'](this[_0x2b3247(0x423)]);},'update':function(_0x450ed4){var _0x5e6711=_0x2e0a16;return this[_0x5e6711(0x3f3)][_0x5e6711(0x1a7)](_0x450ed4),this;},'finalize':function(_0x34aded){var _0x2cbdef=_0x2e0a16,_0x5872f5=this['_hasher'],_0x27af88=_0x5872f5[_0x2cbdef(0x199)](_0x34aded);_0x5872f5[_0x2cbdef(0x2c4)]();var _0x439dbc=_0x5872f5[_0x2cbdef(0x199)](this[_0x2cbdef(0x161)][_0x2cbdef(0x35e)]()['concat'](_0x27af88));return _0x439dbc;}});}());}));}(_0x1753cf)),_0x1753cf[_0x18141a(0x1af)];}var _0x22e9a6=_0x45737a['exports'],_0x365c9c;function _0x4eb118(){var _0x2b6789=_0xe600ea;return _0x365c9c||(_0x365c9c=0x1,function(_0x1a7cdf,_0x335971){(function(_0x42126c,_0x58596d,_0x39b4ba){var _0x5eaaa1=_0x239d;_0x1a7cdf[_0x5eaaa1(0x1af)]=_0x58596d(_0xa7bb9e(),_0x3b0db6(),_0x5212b0());}(_0x22e9a6,function(_0x5a4602){return(function(){var _0x19547e=_0x239d,_0x175067=_0x5a4602,_0x5f0852=_0x175067[_0x19547e(0x300)],_0x36f947=_0x5f0852[_0x19547e(0x332)],_0x1a7299=_0x5f0852[_0x19547e(0x36e)],_0x4f17e9=_0x175067[_0x19547e(0x30a)],_0x43e54f=_0x4f17e9['MD5'],_0x2feb4d=_0x4f17e9[_0x19547e(0x46e)]=_0x36f947[_0x19547e(0x334)]({'cfg':_0x36f947[_0x19547e(0x334)]({'keySize':0x80/0x20,'hasher':_0x43e54f,'iterations':0x1}),'init':function(_0x41ae74){var _0x2209e8=_0x19547e;this[_0x2209e8(0x426)]=this[_0x2209e8(0x426)][_0x2209e8(0x334)](_0x41ae74);},'compute':function(_0x59c782,_0xf85cd6){var _0x115303=_0x19547e;for(var _0x9494c,_0x232090=this[_0x115303(0x426)],_0xf8e0c5=_0x232090[_0x115303(0x480)]['create'](),_0x1dbbfe=_0x1a7299[_0x115303(0x163)](),_0x159880=_0x1dbbfe[_0x115303(0x1f6)],_0x297907=_0x232090[_0x115303(0x4b9)],_0x5c8c86=_0x232090[_0x115303(0x41d)];_0x159880[_0x115303(0x4ac)]<_0x297907;){_0x9494c&&_0xf8e0c5[_0x115303(0x1a7)](_0x9494c),_0x9494c=_0xf8e0c5['update'](_0x59c782)[_0x115303(0x199)](_0xf85cd6),_0xf8e0c5[_0x115303(0x2c4)]();for(var _0x1a0a2e=0x1;_0x1a0a2e<_0x5c8c86;_0x1a0a2e++)_0x9494c=_0xf8e0c5[_0x115303(0x199)](_0x9494c),_0xf8e0c5[_0x115303(0x2c4)]();_0x1dbbfe[_0x115303(0x3ac)](_0x9494c);}return _0x1dbbfe[_0x115303(0x378)]=_0x297907*0x4,_0x1dbbfe;}});_0x175067[_0x19547e(0x46e)]=function(_0xbbe2ee,_0x34fe2b,_0x42fe17){var _0xc5752b=_0x19547e;return _0x2feb4d[_0xc5752b(0x163)](_0x42fe17)[_0xc5752b(0x4c7)](_0xbbe2ee,_0x34fe2b);};}()),_0x5a4602['EvpKDF'];}));}(_0x45737a)),_0x45737a[_0x2b6789(0x1af)];}var _0x389c54={'exports':{}},_0x598a25=_0x389c54[_0xe600ea(0x1af)],_0x51ab75;function _0x708350(){return _0x51ab75||(_0x51ab75=0x1,function(_0x55533a,_0x439f3f){(function(_0x3728f3,_0x2b2c56,_0xc5d645){var _0xf8680f=_0x239d;_0x55533a[_0xf8680f(0x1af)]=_0x2b2c56(_0xa7bb9e(),_0x4eb118());}(_0x598a25,function(_0x46fc5d){var _0x284ae8=_0x239d;_0x46fc5d[_0x284ae8(0x300)][_0x284ae8(0x4ef)]||function(_0x3e0658){var _0x3fef00=_0x284ae8,_0x46cb8a=_0x46fc5d,_0x54a48f=_0x46cb8a['lib'],_0x3b35b1=_0x54a48f[_0x3fef00(0x332)],_0x1d1083=_0x54a48f[_0x3fef00(0x36e)],_0x2911cc=_0x54a48f[_0x3fef00(0x3e8)],_0x40a310=_0x46cb8a[_0x3fef00(0x280)];_0x40a310['Utf8'];var _0x270242=_0x40a310['Base64'],_0x2530eb=_0x46cb8a['algo'],_0x957979=_0x2530eb[_0x3fef00(0x46e)],_0x45190d=_0x54a48f[_0x3fef00(0x4ef)]=_0x2911cc['extend']({'cfg':_0x3b35b1[_0x3fef00(0x334)](),'createEncryptor':function(_0x526881,_0x96e458){var _0x247d36=_0x3fef00;return this[_0x247d36(0x163)](this['_ENC_XFORM_MODE'],_0x526881,_0x96e458);},'createDecryptor':function(_0x19d9df,_0x4df0b0){var _0x110be5=_0x3fef00;return this['create'](this[_0x110be5(0x492)],_0x19d9df,_0x4df0b0);},'init':function(_0x3c43a6,_0x967a02,_0x30bc31){var _0x535f1e=_0x3fef00;this[_0x535f1e(0x426)]=this[_0x535f1e(0x426)]['extend'](_0x30bc31),this[_0x535f1e(0x2a7)]=_0x3c43a6,this[_0x535f1e(0x313)]=_0x967a02,this[_0x535f1e(0x2c4)]();},'reset':function(){var _0x258642=_0x3fef00;_0x2911cc[_0x258642(0x2c4)][_0x258642(0x24d)](this),this[_0x258642(0x464)]();},'process':function(_0x117b8d){var _0x57449e=_0x3fef00;return this['_append'](_0x117b8d),this[_0x57449e(0x312)]();},'finalize':function(_0x3b675a){var _0x179343=_0x3fef00;_0x3b675a&&this[_0x179343(0x2c8)](_0x3b675a);var _0x2bc114=this['_doFinalize']();return _0x2bc114;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2200ff(_0x43b48c){var _0x4ddf8d=_0x239d;return typeof _0x43b48c==_0x4ddf8d(0x1ed)?_0x25882d:_0x3870dc;}return function(_0x3e7e2b){return{'encrypt':function(_0x372bc6,_0x217df0,_0x493c9){return _0x2200ff(_0x217df0)['encrypt'](_0x3e7e2b,_0x372bc6,_0x217df0,_0x493c9);},'decrypt':function(_0x4dcf9d,_0x317947,_0x3d0adb){return _0x2200ff(_0x317947)['decrypt'](_0x3e7e2b,_0x4dcf9d,_0x317947,_0x3d0adb);}};};}())});_0x54a48f[_0x3fef00(0x4f1)]=_0x45190d[_0x3fef00(0x334)]({'_doFinalize':function(){var _0x46d3dc=_0x3fef00,_0xb77510=this[_0x46d3dc(0x312)](!0x0);return _0xb77510;},'blockSize':0x1});var _0x49edbf=_0x46cb8a[_0x3fef00(0x20e)]={},_0x27d98d=_0x54a48f[_0x3fef00(0x4c9)]=_0x3b35b1[_0x3fef00(0x334)]({'createEncryptor':function(_0x52b3d0,_0x5076e7){var _0x3798a1=_0x3fef00;return this['Encryptor'][_0x3798a1(0x163)](_0x52b3d0,_0x5076e7);},'createDecryptor':function(_0x45cbe3,_0x385085){var _0x2733a4=_0x3fef00;return this[_0x2733a4(0x4ec)]['create'](_0x45cbe3,_0x385085);},'init':function(_0x46e3a6,_0x368b42){var _0x224e03=_0x3fef00;this[_0x224e03(0x4a3)]=_0x46e3a6,this[_0x224e03(0x24a)]=_0x368b42;}}),_0x381356=_0x49edbf[_0x3fef00(0x1a4)]=(function(){var _0x2f428a=_0x3fef00,_0x1d46f4=_0x27d98d[_0x2f428a(0x334)]();_0x1d46f4[_0x2f428a(0x2cf)]=_0x1d46f4[_0x2f428a(0x334)]({'processBlock':function(_0x2c80b6,_0x52770b){var _0x3a83fe=_0x2f428a,_0x5bf2a8=this[_0x3a83fe(0x4a3)],_0x111898=_0x5bf2a8[_0x3a83fe(0x4cf)];_0xa4adcd[_0x3a83fe(0x24d)](this,_0x2c80b6,_0x52770b,_0x111898),_0x5bf2a8[_0x3a83fe(0x4df)](_0x2c80b6,_0x52770b),this['_prevBlock']=_0x2c80b6[_0x3a83fe(0x4d8)](_0x52770b,_0x52770b+_0x111898);}}),_0x1d46f4[_0x2f428a(0x4ec)]=_0x1d46f4[_0x2f428a(0x334)]({'processBlock':function(_0x243673,_0x569820){var _0x4f4505=_0x2f428a,_0x3c9613=this[_0x4f4505(0x4a3)],_0x1ed749=_0x3c9613[_0x4f4505(0x4cf)],_0x25857a=_0x243673[_0x4f4505(0x4d8)](_0x569820,_0x569820+_0x1ed749);_0x3c9613[_0x4f4505(0x207)](_0x243673,_0x569820),_0xa4adcd[_0x4f4505(0x24d)](this,_0x243673,_0x569820,_0x1ed749),this[_0x4f4505(0x1ad)]=_0x25857a;}});function _0xa4adcd(_0x1556b4,_0x478857,_0x28ba21){var _0x52d121=_0x2f428a,_0x2b75dd,_0x50ebab=this['_iv'];_0x50ebab?(_0x2b75dd=_0x50ebab,this[_0x52d121(0x24a)]=_0x3e0658):_0x2b75dd=this[_0x52d121(0x1ad)];for(var _0x11cca2=0x0;_0x11cca2<_0x28ba21;_0x11cca2++)_0x1556b4[_0x478857+_0x11cca2]^=_0x2b75dd[_0x11cca2];}return _0x1d46f4;}()),_0x2b4ae9=_0x46cb8a[_0x3fef00(0x1fd)]={},_0x228ffe=_0x2b4ae9['Pkcs7']={'pad':function(_0x5dc684,_0x226572){var _0xb462b9=_0x3fef00;for(var _0x1726c9=_0x226572*0x4,_0xe6bb1=_0x1726c9-_0x5dc684[_0xb462b9(0x378)]%_0x1726c9,_0x18e4ee=_0xe6bb1<<0x18|_0xe6bb1<<0x10|_0xe6bb1<<0x8|_0xe6bb1,_0x534404=[],_0x29406d=0x0;_0x29406d<_0xe6bb1;_0x29406d+=0x4)_0x534404[_0xb462b9(0x2c3)](_0x18e4ee);var _0xbf285=_0x1d1083[_0xb462b9(0x163)](_0x534404,_0xe6bb1);_0x5dc684[_0xb462b9(0x3ac)](_0xbf285);},'unpad':function(_0x4b606b){var _0xf6c799=_0x3fef00,_0x59fe06=_0x4b606b[_0xf6c799(0x1f6)][_0x4b606b[_0xf6c799(0x378)]-0x1>>>0x2]&0xff;_0x4b606b[_0xf6c799(0x378)]-=_0x59fe06;}};_0x54a48f['BlockCipher']=_0x45190d['extend']({'cfg':_0x45190d[_0x3fef00(0x426)][_0x3fef00(0x334)]({'mode':_0x381356,'padding':_0x228ffe}),'reset':function(){var _0x46229b=_0x3fef00,_0x90b0f5;_0x45190d[_0x46229b(0x2c4)][_0x46229b(0x24d)](this);var _0x463aa7=this[_0x46229b(0x426)],_0x330918=_0x463aa7['iv'],_0x420cca=_0x463aa7[_0x46229b(0x20e)];this[_0x46229b(0x2a7)]==this[_0x46229b(0x240)]?_0x90b0f5=_0x420cca['createEncryptor']:(_0x90b0f5=_0x420cca[_0x46229b(0x314)],this['_minBufferSize']=0x1),this[_0x46229b(0x186)]&&this[_0x46229b(0x186)][_0x46229b(0x407)]==_0x90b0f5?this['_mode']['init'](this,_0x330918&&_0x330918[_0x46229b(0x1f6)]):(this[_0x46229b(0x186)]=_0x90b0f5[_0x46229b(0x24d)](_0x420cca,this,_0x330918&&_0x330918[_0x46229b(0x1f6)]),this[_0x46229b(0x186)]['__creator']=_0x90b0f5);},'_doProcessBlock':function(_0x310cd3,_0x2c95ac){var _0x3c7d27=_0x3fef00;this[_0x3c7d27(0x186)][_0x3c7d27(0x2ba)](_0x310cd3,_0x2c95ac);},'_doFinalize':function(){var _0x55198c=_0x3fef00,_0x52f2dc,_0x2a6652=this[_0x55198c(0x426)][_0x55198c(0x2f0)];return this[_0x55198c(0x2a7)]==this[_0x55198c(0x240)]?(_0x2a6652['pad'](this[_0x55198c(0x448)],this[_0x55198c(0x4cf)]),_0x52f2dc=this[_0x55198c(0x312)](!0x0)):(_0x52f2dc=this[_0x55198c(0x312)](!0x0),_0x2a6652[_0x55198c(0x3e7)](_0x52f2dc)),_0x52f2dc;},'blockSize':0x80/0x20});var _0x2d474c=_0x54a48f[_0x3fef00(0x449)]=_0x3b35b1[_0x3fef00(0x334)]({'init':function(_0x54dee7){var _0x18ccde=_0x3fef00;this[_0x18ccde(0x462)](_0x54dee7);},'toString':function(_0x4a0cf3){var _0x41a59d=_0x3fef00;return(_0x4a0cf3||this[_0x41a59d(0x25b)])[_0x41a59d(0x4ea)](this);}}),_0xe59c6a=_0x46cb8a[_0x3fef00(0x2bf)]={},_0x3c95ae=_0xe59c6a['OpenSSL']={'stringify':function(_0x442f09){var _0x4b1377=_0x3fef00,_0x436b3f,_0x2915ab=_0x442f09[_0x4b1377(0x2fa)],_0x14cd2d=_0x442f09['salt'];return _0x14cd2d?_0x436b3f=_0x1d1083[_0x4b1377(0x163)]([0x53616c74,0x65645f5f])[_0x4b1377(0x3ac)](_0x14cd2d)[_0x4b1377(0x3ac)](_0x2915ab):_0x436b3f=_0x2915ab,_0x436b3f[_0x4b1377(0x4c6)](_0x270242);},'parse':function(_0x52df76){var _0x219a47=_0x3fef00,_0x18de89,_0x562f22=_0x270242[_0x219a47(0x19f)](_0x52df76),_0x54f029=_0x562f22[_0x219a47(0x1f6)];return _0x54f029[0x0]==0x53616c74&&_0x54f029[0x1]==0x65645f5f&&(_0x18de89=_0x1d1083[_0x219a47(0x163)](_0x54f029[_0x219a47(0x4d8)](0x2,0x4)),_0x54f029[_0x219a47(0x2ae)](0x0,0x4),_0x562f22[_0x219a47(0x378)]-=0x10),_0x2d474c[_0x219a47(0x163)]({'ciphertext':_0x562f22,'salt':_0x18de89});}},_0x3870dc=_0x54a48f[_0x3fef00(0x29c)]=_0x3b35b1['extend']({'cfg':_0x3b35b1['extend']({'format':_0x3c95ae}),'encrypt':function(_0x5d521d,_0x2a428c,_0x2c4a58,_0x3c3a41){var _0x4e19a1=_0x3fef00;_0x3c3a41=this[_0x4e19a1(0x426)][_0x4e19a1(0x334)](_0x3c3a41);var _0x2edf23=_0x5d521d[_0x4e19a1(0x3b0)](_0x2c4a58,_0x3c3a41),_0x24c399=_0x2edf23[_0x4e19a1(0x199)](_0x2a428c),_0x32cf58=_0x2edf23['cfg'];return _0x2d474c['create']({'ciphertext':_0x24c399,'key':_0x2c4a58,'iv':_0x32cf58['iv'],'algorithm':_0x5d521d,'mode':_0x32cf58[_0x4e19a1(0x20e)],'padding':_0x32cf58[_0x4e19a1(0x2f0)],'blockSize':_0x5d521d[_0x4e19a1(0x4cf)],'formatter':_0x3c3a41[_0x4e19a1(0x2bf)]});},'decrypt':function(_0x54d169,_0x42948b,_0x55e066,_0x101293){var _0x2ce99e=_0x3fef00;_0x101293=this[_0x2ce99e(0x426)]['extend'](_0x101293),_0x42948b=this[_0x2ce99e(0x2e3)](_0x42948b,_0x101293[_0x2ce99e(0x2bf)]);var _0x9116ec=_0x54d169[_0x2ce99e(0x314)](_0x55e066,_0x101293)[_0x2ce99e(0x199)](_0x42948b['ciphertext']);return _0x9116ec;},'_parse':function(_0x52e0ea,_0x92cd80){var _0x3c262e=_0x3fef00;return typeof _0x52e0ea=='string'?_0x92cd80[_0x3c262e(0x19f)](_0x52e0ea,this):_0x52e0ea;}}),_0x5b8d97=_0x46cb8a[_0x3fef00(0x190)]={},_0x3037cb=_0x5b8d97[_0x3fef00(0x248)]={'execute':function(_0x1354ba,_0x401756,_0x8fba86,_0x84fecc,_0x14cde0){var _0xee4579=_0x3fef00;if(_0x84fecc||(_0x84fecc=_0x1d1083[_0xee4579(0x1e2)](0x40/0x8)),_0x14cde0)var _0x259c70=_0x957979['create']({'keySize':_0x401756+_0x8fba86,'hasher':_0x14cde0})[_0xee4579(0x4c7)](_0x1354ba,_0x84fecc);else var _0x259c70=_0x957979['create']({'keySize':_0x401756+_0x8fba86})[_0xee4579(0x4c7)](_0x1354ba,_0x84fecc);var _0xfa72e0=_0x1d1083[_0xee4579(0x163)](_0x259c70[_0xee4579(0x1f6)]['slice'](_0x401756),_0x8fba86*0x4);return _0x259c70[_0xee4579(0x378)]=_0x401756*0x4,_0x2d474c[_0xee4579(0x163)]({'key':_0x259c70,'iv':_0xfa72e0,'salt':_0x84fecc});}},_0x25882d=_0x54a48f[_0x3fef00(0x386)]=_0x3870dc[_0x3fef00(0x334)]({'cfg':_0x3870dc[_0x3fef00(0x426)][_0x3fef00(0x334)]({'kdf':_0x3037cb}),'encrypt':function(_0x59e3f4,_0x2ea3c7,_0x6d2af,_0x943eb6){var _0x4cb065=_0x3fef00;_0x943eb6=this[_0x4cb065(0x426)]['extend'](_0x943eb6);var _0x3d6eb4=_0x943eb6[_0x4cb065(0x190)][_0x4cb065(0x235)](_0x6d2af,_0x59e3f4['keySize'],_0x59e3f4[_0x4cb065(0x365)],_0x943eb6[_0x4cb065(0x466)],_0x943eb6['hasher']);_0x943eb6['iv']=_0x3d6eb4['iv'];var _0x4a3058=_0x3870dc[_0x4cb065(0x379)][_0x4cb065(0x24d)](this,_0x59e3f4,_0x2ea3c7,_0x3d6eb4[_0x4cb065(0x32f)],_0x943eb6);return _0x4a3058[_0x4cb065(0x462)](_0x3d6eb4),_0x4a3058;},'decrypt':function(_0x404de8,_0x3f17b0,_0x1ad7a0,_0x509bd0){var _0x302b00=_0x3fef00;_0x509bd0=this[_0x302b00(0x426)][_0x302b00(0x334)](_0x509bd0),_0x3f17b0=this['_parse'](_0x3f17b0,_0x509bd0[_0x302b00(0x2bf)]);var _0x3c985b=_0x509bd0['kdf'][_0x302b00(0x235)](_0x1ad7a0,_0x404de8[_0x302b00(0x4b9)],_0x404de8[_0x302b00(0x365)],_0x3f17b0[_0x302b00(0x466)],_0x509bd0[_0x302b00(0x480)]);_0x509bd0['iv']=_0x3c985b['iv'];var _0x31c34a=_0x3870dc[_0x302b00(0x4ad)]['call'](this,_0x404de8,_0x3f17b0,_0x3c985b[_0x302b00(0x32f)],_0x509bd0);return _0x31c34a;}});}();}));}(_0x389c54)),_0x389c54['exports'];}var _0x4c79ef=_0x386aa5['exports'],_0x58039c;function _0xb8b27c(){return _0x58039c||(_0x58039c=0x1,function(_0x544a94,_0x2d2b27){(function(_0x3ff505,_0x5bc666,_0x347da9){var _0x3d74b2=_0x239d;_0x544a94[_0x3d74b2(0x1af)]=_0x5bc666(_0xa7bb9e(),_0x107eef(),_0x3efef3(),_0x4eb118(),_0x708350());}(_0x4c79ef,function(_0x577a40){var _0x1bb3c8=_0x239d;return(function(){var _0x825afd=_0x239d,_0x1b4c29=_0x577a40,_0x376539=_0x1b4c29[_0x825afd(0x300)],_0x2391e5=_0x376539[_0x825afd(0x4b5)],_0x1cca01=_0x1b4c29[_0x825afd(0x30a)],_0x9d25bc=[],_0x4468f3=[],_0x9967a8=[],_0x512876=[],_0x51e19e=[],_0x32e13b=[],_0x2b2ab9=[],_0x5c3c46=[],_0x2bbaa6=[],_0x427156=[];(function(){for(var _0x20b3e2=[],_0x43c753=0x0;_0x43c753<0x100;_0x43c753++)_0x43c753<0x80?_0x20b3e2[_0x43c753]=_0x43c753<<0x1:_0x20b3e2[_0x43c753]=_0x43c753<<0x1^0x11b;for(var _0x234cbc=0x0,_0x45d83c=0x0,_0x43c753=0x0;_0x43c753<0x100;_0x43c753++){var _0x471640=_0x45d83c^_0x45d83c<<0x1^_0x45d83c<<0x2^_0x45d83c<<0x3^_0x45d83c<<0x4;_0x471640=_0x471640>>>0x8^_0x471640&0xff^0x63,_0x9d25bc[_0x234cbc]=_0x471640,_0x4468f3[_0x471640]=_0x234cbc;var _0x2a6dfc=_0x20b3e2[_0x234cbc],_0xce5acd=_0x20b3e2[_0x2a6dfc],_0x2f010a=_0x20b3e2[_0xce5acd],_0x11bc70=_0x20b3e2[_0x471640]*0x101^_0x471640*0x1010100;_0x9967a8[_0x234cbc]=_0x11bc70<<0x18|_0x11bc70>>>0x8,_0x512876[_0x234cbc]=_0x11bc70<<0x10|_0x11bc70>>>0x10,_0x51e19e[_0x234cbc]=_0x11bc70<<0x8|_0x11bc70>>>0x18,_0x32e13b[_0x234cbc]=_0x11bc70;var _0x11bc70=_0x2f010a*0x1010101^_0xce5acd*0x10001^_0x2a6dfc*0x101^_0x234cbc*0x1010100;_0x2b2ab9[_0x471640]=_0x11bc70<<0x18|_0x11bc70>>>0x8,_0x5c3c46[_0x471640]=_0x11bc70<<0x10|_0x11bc70>>>0x10,_0x2bbaa6[_0x471640]=_0x11bc70<<0x8|_0x11bc70>>>0x18,_0x427156[_0x471640]=_0x11bc70,_0x234cbc?(_0x234cbc=_0x2a6dfc^_0x20b3e2[_0x20b3e2[_0x20b3e2[_0x2f010a^_0x2a6dfc]]],_0x45d83c^=_0x20b3e2[_0x20b3e2[_0x45d83c]]):_0x234cbc=_0x45d83c=0x1;}}());var _0x72a8ae=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xec5893=_0x1cca01[_0x825afd(0x477)]=_0x2391e5[_0x825afd(0x334)]({'_doReset':function(){var _0x49477c=_0x825afd,_0x2104ae;if(!(this[_0x49477c(0x2d9)]&&this[_0x49477c(0x290)]===this['_key'])){for(var _0x4414f6=this['_keyPriorReset']=this['_key'],_0x192948=_0x4414f6[_0x49477c(0x1f6)],_0x504e2f=_0x4414f6[_0x49477c(0x378)]/0x4,_0x2dbf61=this[_0x49477c(0x2d9)]=_0x504e2f+0x6,_0x3d0865=(_0x2dbf61+0x1)*0x4,_0x49fece=this[_0x49477c(0x16e)]=[],_0x58924e=0x0;_0x58924e<_0x3d0865;_0x58924e++)_0x58924e<_0x504e2f?_0x49fece[_0x58924e]=_0x192948[_0x58924e]:(_0x2104ae=_0x49fece[_0x58924e-0x1],_0x58924e%_0x504e2f?_0x504e2f>0x6&&_0x58924e%_0x504e2f==0x4&&(_0x2104ae=_0x9d25bc[_0x2104ae>>>0x18]<<0x18|_0x9d25bc[_0x2104ae>>>0x10&0xff]<<0x10|_0x9d25bc[_0x2104ae>>>0x8&0xff]<<0x8|_0x9d25bc[_0x2104ae&0xff]):(_0x2104ae=_0x2104ae<<0x8|_0x2104ae>>>0x18,_0x2104ae=_0x9d25bc[_0x2104ae>>>0x18]<<0x18|_0x9d25bc[_0x2104ae>>>0x10&0xff]<<0x10|_0x9d25bc[_0x2104ae>>>0x8&0xff]<<0x8|_0x9d25bc[_0x2104ae&0xff],_0x2104ae^=_0x72a8ae[_0x58924e/_0x504e2f|0x0]<<0x18),_0x49fece[_0x58924e]=_0x49fece[_0x58924e-_0x504e2f]^_0x2104ae);for(var _0x33799a=this['_invKeySchedule']=[],_0x378ba5=0x0;_0x378ba5<_0x3d0865;_0x378ba5++){var _0x58924e=_0x3d0865-_0x378ba5;if(_0x378ba5%0x4)var _0x2104ae=_0x49fece[_0x58924e];else var _0x2104ae=_0x49fece[_0x58924e-0x4];_0x378ba5<0x4||_0x58924e<=0x4?_0x33799a[_0x378ba5]=_0x2104ae:_0x33799a[_0x378ba5]=_0x2b2ab9[_0x9d25bc[_0x2104ae>>>0x18]]^_0x5c3c46[_0x9d25bc[_0x2104ae>>>0x10&0xff]]^_0x2bbaa6[_0x9d25bc[_0x2104ae>>>0x8&0xff]]^_0x427156[_0x9d25bc[_0x2104ae&0xff]];}}},'encryptBlock':function(_0x85705d,_0x2ef97c){var _0x150f88=_0x825afd;this[_0x150f88(0x2fb)](_0x85705d,_0x2ef97c,this[_0x150f88(0x16e)],_0x9967a8,_0x512876,_0x51e19e,_0x32e13b,_0x9d25bc);},'decryptBlock':function(_0x11f177,_0x1e6c8f){var _0x4acd34=_0x825afd,_0x13dc10=_0x11f177[_0x1e6c8f+0x1];_0x11f177[_0x1e6c8f+0x1]=_0x11f177[_0x1e6c8f+0x3],_0x11f177[_0x1e6c8f+0x3]=_0x13dc10,this['_doCryptBlock'](_0x11f177,_0x1e6c8f,this[_0x4acd34(0x214)],_0x2b2ab9,_0x5c3c46,_0x2bbaa6,_0x427156,_0x4468f3);var _0x13dc10=_0x11f177[_0x1e6c8f+0x1];_0x11f177[_0x1e6c8f+0x1]=_0x11f177[_0x1e6c8f+0x3],_0x11f177[_0x1e6c8f+0x3]=_0x13dc10;},'_doCryptBlock':function(_0x34472a,_0x14569a,_0x3f01b3,_0x433b76,_0x2d2f24,_0x2df96c,_0x4d9e60,_0x953a72){var _0x3a4cae=_0x825afd;for(var _0x39dc0c=this[_0x3a4cae(0x2d9)],_0x5924f7=_0x34472a[_0x14569a]^_0x3f01b3[0x0],_0x1129e0=_0x34472a[_0x14569a+0x1]^_0x3f01b3[0x1],_0x2c418b=_0x34472a[_0x14569a+0x2]^_0x3f01b3[0x2],_0x4448f3=_0x34472a[_0x14569a+0x3]^_0x3f01b3[0x3],_0x36b1dd=0x4,_0x38aefa=0x1;_0x38aefa<_0x39dc0c;_0x38aefa++){var _0x536ee9=_0x433b76[_0x5924f7>>>0x18]^_0x2d2f24[_0x1129e0>>>0x10&0xff]^_0x2df96c[_0x2c418b>>>0x8&0xff]^_0x4d9e60[_0x4448f3&0xff]^_0x3f01b3[_0x36b1dd++],_0x37c53e=_0x433b76[_0x1129e0>>>0x18]^_0x2d2f24[_0x2c418b>>>0x10&0xff]^_0x2df96c[_0x4448f3>>>0x8&0xff]^_0x4d9e60[_0x5924f7&0xff]^_0x3f01b3[_0x36b1dd++],_0x7002b6=_0x433b76[_0x2c418b>>>0x18]^_0x2d2f24[_0x4448f3>>>0x10&0xff]^_0x2df96c[_0x5924f7>>>0x8&0xff]^_0x4d9e60[_0x1129e0&0xff]^_0x3f01b3[_0x36b1dd++],_0x1ca72b=_0x433b76[_0x4448f3>>>0x18]^_0x2d2f24[_0x5924f7>>>0x10&0xff]^_0x2df96c[_0x1129e0>>>0x8&0xff]^_0x4d9e60[_0x2c418b&0xff]^_0x3f01b3[_0x36b1dd++];_0x5924f7=_0x536ee9,_0x1129e0=_0x37c53e,_0x2c418b=_0x7002b6,_0x4448f3=_0x1ca72b;}var _0x536ee9=(_0x953a72[_0x5924f7>>>0x18]<<0x18|_0x953a72[_0x1129e0>>>0x10&0xff]<<0x10|_0x953a72[_0x2c418b>>>0x8&0xff]<<0x8|_0x953a72[_0x4448f3&0xff])^_0x3f01b3[_0x36b1dd++],_0x37c53e=(_0x953a72[_0x1129e0>>>0x18]<<0x18|_0x953a72[_0x2c418b>>>0x10&0xff]<<0x10|_0x953a72[_0x4448f3>>>0x8&0xff]<<0x8|_0x953a72[_0x5924f7&0xff])^_0x3f01b3[_0x36b1dd++],_0x7002b6=(_0x953a72[_0x2c418b>>>0x18]<<0x18|_0x953a72[_0x4448f3>>>0x10&0xff]<<0x10|_0x953a72[_0x5924f7>>>0x8&0xff]<<0x8|_0x953a72[_0x1129e0&0xff])^_0x3f01b3[_0x36b1dd++],_0x1ca72b=(_0x953a72[_0x4448f3>>>0x18]<<0x18|_0x953a72[_0x5924f7>>>0x10&0xff]<<0x10|_0x953a72[_0x1129e0>>>0x8&0xff]<<0x8|_0x953a72[_0x2c418b&0xff])^_0x3f01b3[_0x36b1dd++];_0x34472a[_0x14569a]=_0x536ee9,_0x34472a[_0x14569a+0x1]=_0x37c53e,_0x34472a[_0x14569a+0x2]=_0x7002b6,_0x34472a[_0x14569a+0x3]=_0x1ca72b;},'keySize':0x100/0x20});_0x1b4c29[_0x825afd(0x477)]=_0x2391e5[_0x825afd(0x339)](_0xec5893);}()),_0x577a40[_0x1bb3c8(0x477)];}));}(_0x386aa5)),_0x386aa5['exports'];}var _0x533406=_0xb8b27c();const _0x41a5e1=_0x379320(_0x533406);var _0x274332=_0x107eef();const _0x322413=_0x379320(_0x274332);var _0x330ad3={'exports':{}},_0x512bcd=_0x330ad3[_0xe600ea(0x1af)],_0x391392;function _0x4bbb33(){var _0x40790d=_0xe600ea;return _0x391392||(_0x391392=0x1,function(_0x33316d,_0x13f81d){(function(_0x5aaafb,_0x106922){var _0x3c3436=_0x239d;_0x33316d[_0x3c3436(0x1af)]=_0x106922(_0xa7bb9e());}(_0x512bcd,function(_0x319a98){var _0x6c6299=_0x239d;return _0x319a98[_0x6c6299(0x280)][_0x6c6299(0x43e)];}));}(_0x330ad3)),_0x330ad3[_0x40790d(0x1af)];}var _0x2e5137=_0x4bbb33();const _0x217195=_0x379320(_0x2e5137);var _0x4951a1={'exports':{}},_0xd632a6=_0x4951a1[_0xe600ea(0x1af)],_0x38cee9;function _0x4d0303(){var _0x460ec2=_0xe600ea;return _0x38cee9||(_0x38cee9=0x1,function(_0x1f706d,_0x38c98a){(function(_0x198c50,_0x203a0b){var _0x99673e=_0x239d;_0x1f706d[_0x99673e(0x1af)]=_0x203a0b(_0xa7bb9e());}(_0xd632a6,function(_0x2828ce){var _0x3f2f4a=_0x239d;return(function(){var _0x6ad9bb=_0x239d;if(typeof ArrayBuffer==_0x6ad9bb(0x38c)){var _0x494266=_0x2828ce,_0x29ca2f=_0x494266[_0x6ad9bb(0x300)],_0x59c0e0=_0x29ca2f[_0x6ad9bb(0x36e)],_0x2d4966=_0x59c0e0['init'],_0x2ee653=_0x59c0e0[_0x6ad9bb(0x2ff)]=function(_0x9174f9){var _0x3b56d2=_0x6ad9bb;if(_0x9174f9 instanceof ArrayBuffer&&(_0x9174f9=new Uint8Array(_0x9174f9)),(_0x9174f9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x9174f9 instanceof Uint8ClampedArray||_0x9174f9 instanceof Int16Array||_0x9174f9 instanceof Uint16Array||_0x9174f9 instanceof Int32Array||_0x9174f9 instanceof Uint32Array||_0x9174f9 instanceof Float32Array||_0x9174f9 instanceof Float64Array)&&(_0x9174f9=new Uint8Array(_0x9174f9[_0x3b56d2(0x25f)],_0x9174f9[_0x3b56d2(0x1e9)],_0x9174f9[_0x3b56d2(0x1fe)])),_0x9174f9 instanceof Uint8Array){for(var _0x4eff2b=_0x9174f9['byteLength'],_0x1ae02b=[],_0x57bc9f=0x0;_0x57bc9f<_0x4eff2b;_0x57bc9f++)_0x1ae02b[_0x57bc9f>>>0x2]|=_0x9174f9[_0x57bc9f]<<0x18-_0x57bc9f%0x4*0x8;_0x2d4966['call'](this,_0x1ae02b,_0x4eff2b);}else _0x2d4966[_0x3b56d2(0x4b0)](this,arguments);};_0x2ee653[_0x6ad9bb(0x2e9)]=_0x59c0e0;}}()),_0x2828ce[_0x3f2f4a(0x300)][_0x3f2f4a(0x36e)];}));}(_0x4951a1)),_0x4951a1[_0x460ec2(0x1af)];}var _0x3a43f5=_0x4d0303();const _0x40634d=_0x379320(_0x3a43f5);var _0x291ded={'exports':{}},_0x4c803f=_0x291ded['exports'],_0x522de1;function _0x2f9e37(){return _0x522de1||(_0x522de1=0x1,function(_0x514920,_0x47c7f1){(function(_0x5a2327,_0x50908f,_0x2c0e56){var _0x20d2db=_0x239d;_0x514920[_0x20d2db(0x1af)]=_0x50908f(_0xa7bb9e(),_0x708350());}(_0x4c803f,function(_0xd2efe4){var _0x38bd46=_0x239d;return _0xd2efe4[_0x38bd46(0x1fd)][_0x38bd46(0x3b4)]={'pad':function(){},'unpad':function(){}},_0xd2efe4[_0x38bd46(0x1fd)][_0x38bd46(0x3b4)];}));}(_0x291ded)),_0x291ded['exports'];}var _0x2cea47=_0x2f9e37();const _0x1a8d55=_0x379320(_0x2cea47);function _0x24ec76(_0x1e5e2e,_0x2172f6){var _0x30b233=_0xe600ea;const _0x28e7f8=_0x2172f6-_0x1e5e2e[_0x30b233(0x4ac)]%_0x2172f6,_0x293fa6=String['fromCharCode'](_0x28e7f8)[_0x30b233(0x3f6)](_0x28e7f8);return _0x1e5e2e+_0x293fa6;}function _0x5189a1(_0x3b1035,_0x45da8c){var _0xd5c116=_0xe600ea;const _0x3793dc=_0x40634d[_0xd5c116(0x1e2)](0x10),_0x3ad99a=_0x24ec76(_0x3b1035,0x10),_0x35e196=_0x41a5e1['encrypt'](_0x217195[_0xd5c116(0x19f)](_0x3ad99a),_0x322413['parse'](_0x45da8c),{'iv':_0x3793dc,'padding':_0x1a8d55});return _0x3793dc[_0xd5c116(0x3ac)](_0x35e196[_0xd5c116(0x2fa)])[_0xd5c116(0x4c6)](_0x322413);}function _0x3862df(){var _0x5c091b=_0xe600ea;const _0x299306=_0x53486c[_0x5c091b(0x3dd)]()['__Key__'];if(_0x299306){const _0x428ffd={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x5c091b(0x3ab)]};return _0x5189a1(JSON[_0x5c091b(0x4ea)](_0x428ffd),_0x299306);}}var _0x4fed5a=Object[_0xe600ea(0x305)],_0x571a57=(_0x3e9ae9,_0xb8669a,_0x20fb72,_0x1fef7a)=>{var _0x520108=_0xe600ea;for(var _0x21e024=_0x1fef7a>0x1?void 0x0:_0x1fef7a?_0x4fed5a(_0xb8669a,_0x20fb72):_0xb8669a,_0x381462=_0x3e9ae9[_0x520108(0x4ac)]-0x1,_0xb0cc04;_0x381462>=0x0;_0x381462--)(_0xb0cc04=_0x3e9ae9[_0x381462])&&(_0x21e024=_0xb0cc04(_0x21e024)||_0x21e024);return _0x21e024;},_0x489433=(_0x371ea9,_0x5f4323)=>(_0x42a208,_0x2b934a)=>_0x5f4323(_0x42a208,_0x2b934a,_0x371ea9);let _0x3c0d90=class{constructor(_0xcabeae){var _0x4d8b52=_0xe600ea;this['_httpService']=_0xcabeae,this[_0x4d8b52(0x1b5)]();}[_0xe600ea(0x1b5)](){var _0x42a6d2=_0xe600ea;this[_0x42a6d2(0x26d)][_0x42a6d2(0x410)]({'interceptor':(_0x16bf41,_0x7582aa)=>{var _0x198932=_0x42a6d2;const _0x4cc00d=_0x16bf41[_0x198932(0x1d0)],_0x371683=_0x3862df();return _0x371683&&_0x4cc00d[_0x198932(0x1f9)](_0x198932(0x282),_0x371683),_0x7582aa(_0x16bf41);}});}};_0x3c0d90=_0x571a57([_0x489433(0x0,_0x17feb2[_0xe600ea(0x1c2)](_0x5d9456[_0xe600ea(0x2a3)]))],_0x3c0d90);var _0xcf3503=Object['getOwnPropertyDescriptor'],_0x3c908e=(_0xa010a2,_0x59ca40,_0xcb89fc,_0xd8d058)=>{var _0x2cefc7=_0xe600ea;for(var _0x37e164=_0xd8d058>0x1?void 0x0:_0xd8d058?_0xcf3503(_0x59ca40,_0xcb89fc):_0x59ca40,_0x32a9b8=_0xa010a2[_0x2cefc7(0x4ac)]-0x1,_0x48d53d;_0x32a9b8>=0x0;_0x32a9b8--)(_0x48d53d=_0xa010a2[_0x32a9b8])&&(_0x37e164=_0x48d53d(_0x37e164)||_0x37e164);return _0x37e164;},_0xd64254=(_0x35f9a8,_0x5d8736)=>(_0x8d0352,_0x32eff9)=>_0x5d8736(_0x8d0352,_0x32eff9,_0x35f9a8);_0x5ac5d4['DataLoaderService']=class extends _0x17feb2[_0xe600ea(0x286)]{constructor(_0x2ad047,_0x500cb1,_0x1a7301){var _0x259dbc=_0xe600ea;super(),_0x358222(this,'_unitInfo$',new _0xd6d137[(_0x259dbc(0x1f8))](null)),_0x358222(this,'unitInfo$',this[_0x259dbc(0x15f)][_0x259dbc(0x310)]()),(this[_0x259dbc(0x42f)]=_0x2ad047,this[_0x259dbc(0x20a)]=_0x500cb1,this[_0x259dbc(0x2a1)]=_0x1a7301);}async[_0xe600ea(0x3b1)](_0x483f54,_0x4de5f1,_0x4c9a27){var _0x492d13=_0xe600ea;this[_0x492d13(0x15f)]['next']({'unitId':_0x483f54,'type':_0x4de5f1});let _0x58f76a=null;switch(_0x4de5f1){case _0x45ea9e['UNIVER_SHEET']:{_0x58f76a=await this['_snapshotService']['loadSheet'](_0x483f54,_0x4c9a27);break;}case _0x45ea9e[_0x492d13(0x380)]:{_0x58f76a=await this[_0x492d13(0x20a)]['loadDoc'](_0x483f54,_0x4c9a27);break;}default:{this[_0x492d13(0x42f)][_0x492d13(0x343)]('[DataLoaderService]',_0x492d13(0x210));break;}}return _0x58f76a;}async[_0xe600ea(0x20b)](_0x30e079,_0x282796,_0x5799a7){var _0x165408=_0xe600ea,_0xd3b333;this[_0x165408(0x15f)][_0x165408(0x413)]({'unitId':_0x30e079,'type':_0x282796,'subUnitId':_0x5799a7});let _0x3a5087=0x0;const _0x1970ce=await((_0xd3b333=this[_0x165408(0x2a1)])==null?void 0x0:_0xd3b333[_0x165408(0x266)](_0x30e079));return _0x1970ce&&(_0x1970ce['awaitingChangeset']||_0x1970ce['mutations'][_0x165408(0x4ac)]!==0x0)&&(_0x3a5087=_0x1970ce[_0x165408(0x4b4)]),_0x3a5087===0x0&&this[_0x165408(0x42f)]['debug'](_0x165408(0x335),_0x165408(0x4e2)),this[_0x165408(0x3b1)](_0x30e079,_0x282796,_0x3a5087);}},_0x5ac5d4[_0xe600ea(0x3f4)]=_0x3c908e([_0xd64254(0x0,_0x17feb2[_0xe600ea(0x2b8)]),_0xd64254(0x1,_0x17feb2[_0xe600ea(0x1c2)](_0x254674['SnapshotService'])),_0xd64254(0x2,_0x17feb2[_0xe600ea(0x3ee)](_0x2d8396))],_0x5ac5d4[_0xe600ea(0x3f4)]);var _0x167dcc=Object[_0xe600ea(0x305)],_0x5b4a48=(_0x163d97,_0x272721,_0x16d423,_0x4a7569)=>{for(var _0x1dde60=_0x4a7569>0x1?void 0x0:_0x4a7569?_0x167dcc(_0x272721,_0x16d423):_0x272721,_0x5501f4=_0x163d97['length']-0x1,_0x29e6fa;_0x5501f4>=0x0;_0x5501f4--)(_0x29e6fa=_0x163d97[_0x5501f4])&&(_0x1dde60=_0x29e6fa(_0x1dde60)||_0x1dde60);return _0x1dde60;},_0xaf9b24=(_0x4e1089,_0x183aff)=>(_0x2eff35,_0x4bc707)=>_0x183aff(_0x2eff35,_0x4bc707,_0x4e1089);const _0x15b835=[_0xe600ea(0x2af),_0xe600ea(0x442),_0xe600ea(0x284),_0xe600ea(0x309),_0xe600ea(0x49f)],_0x176568=0x5*0x400*0x400,_0x14a302='/universer-api/stream/file/upload',_0x4add0b=_0xe600ea(0x3da);_0x5ac5d4[_0xe600ea(0x420)]=class{constructor(_0xf0df6a,_0x58401d,_0x1e55ca){var _0x2dabd3=_0xe600ea;_0x358222(this,_0x2dabd3(0x4c1),0x0),_0x358222(this,'_change$',new _0xd6d137[(_0x2dabd3(0x247))]()),_0x358222(this,_0x2dabd3(0x297),this[_0x2dabd3(0x497)]),_0x358222(this,'_imageSourceCache',new Map()),(this['_httpService']=_0xf0df6a,this[_0x2dabd3(0x164)]=_0x58401d,this[_0x2dabd3(0x1c4)]=_0x1e55ca);}['setWaitCount'](_0x125258){var _0x4af8fa=_0xe600ea;this[_0x4af8fa(0x4c1)]=_0x125258,this[_0x4af8fa(0x497)]['next'](_0x125258);}[_0xe600ea(0x383)](_0xf36e95,_0x47374e){var _0xe95235=_0xe600ea;if(_0x47374e===_0x513afe[_0xe95235(0x223)][_0xe95235(0x4b2)]){const _0x221ffa=new Image();return _0x221ffa[_0xe95235(0x44b)]=_0xf36e95,_0x221ffa;}return this[_0xe95235(0x25a)]['get'](_0xf36e95);}[_0xe600ea(0x1d9)](_0x2892ba,_0x4bbf6a,_0x4102ee){var _0x1e053d=_0xe600ea;_0x4bbf6a===_0x513afe[_0x1e053d(0x223)][_0x1e053d(0x4b2)]||_0x4102ee==null||this[_0x1e053d(0x25a)][_0x1e053d(0x1f9)](_0x2892ba,_0x4102ee);}async[_0xe600ea(0x46f)](_0xbadf2e){var _0x43ca75=_0xe600ea;try{const _0x505667=this[_0x43ca75(0x49d)](this[_0x43ca75(0x47e)](),''+_0xbadf2e),_0x4744de=(await this[_0x43ca75(0x26d)][_0x43ca75(0x299)](_0x505667))[_0x43ca75(0x201)];if(_0x4744de['error']&&_0x4744de[_0x43ca75(0x343)][_0x43ca75(0x4a9)]===_0x1a6891['OK']){const _0x2bb8b9=new URL(_0x4744de['url'],this[_0x43ca75(0x1eb)]())['toString']();return Promise['resolve'](_0x2bb8b9);}return Promise['reject'](_0x4744de['error']);}catch(_0x566627){return Promise['reject'](_0x566627);}}async[_0xe600ea(0x433)](_0xb5d289){var _0xe2d452=_0xe600ea;let _0x37d383='';if(!_0x15b835[_0xe2d452(0x350)](_0xb5d289[_0xe2d452(0x285)]))return this['_decreaseWaiting'](),Promise[_0xe2d452(0x15a)](new Error(_0x513afe['ImageUploadStatusType'][_0xe2d452(0x3d7)]));if(_0xb5d289[_0xe2d452(0x2b4)]>_0x176568)return this[_0xe2d452(0x18c)](),Promise[_0xe2d452(0x15a)](new Error(_0x513afe[_0xe2d452(0x499)][_0xe2d452(0x1ff)]));try{const _0x1029a0=new FormData();_0x1029a0[_0xe2d452(0x1b9)](_0xe2d452(0x317),_0xb5d289);const _0x3c83db=this[_0xe2d452(0x1c4)]['getFocusedUnit'](),_0x592323=_0x3c83db==null?void 0x0:_0x3c83db[_0xe2d452(0x23e)]();if(!_0x592323)throw new Error(_0xe2d452(0x469));const _0xd6153a=this[_0xe2d452(0x3c7)]()+'?size='+_0xb5d289[_0xe2d452(0x2b4)][_0xe2d452(0x4c6)]()+'&source='+_0x592339[_0xe2d452(0x40a)]+_0xe2d452(0x457)+encodeURIComponent(_0x592323),_0x4b9511={'body':_0x1029a0},_0x2c5347=(await this[_0xe2d452(0x26d)][_0xe2d452(0x465)](_0xd6153a,_0x4b9511))[_0xe2d452(0x201)];if(typeof _0x2c5347['FileId']!=_0xe2d452(0x1ed))return this[_0xe2d452(0x18c)](),Promise['reject'](new Error(_0x513afe[_0xe2d452(0x499)][_0xe2d452(0x274)]));_0x37d383=_0x2c5347[_0xe2d452(0x3c4)];}catch{return this[_0xe2d452(0x18c)](),Promise[_0xe2d452(0x15a)](new Error(_0x513afe[_0xe2d452(0x499)][_0xe2d452(0x274)]));}return new Promise((_0x18221b,_0x55feb3)=>{var _0x2a7e2b=_0xe2d452;const _0x1b7ea9=new FileReader();_0x1b7ea9[_0x2a7e2b(0x2f4)](_0xb5d289),_0x1b7ea9[_0x2a7e2b(0x4b7)]=_0x5a4573=>{var _0xede8a8=_0x2a7e2b,_0x2e7837;const _0x4a8d7f=(_0x2e7837=_0x5a4573[_0xede8a8(0x3a9)])==null?void 0x0:_0x2e7837[_0xede8a8(0x446)];if(_0x4a8d7f==null){this[_0xede8a8(0x18c)](),_0x55feb3(new Error(_0x513afe[_0xede8a8(0x499)][_0xede8a8(0x274)]));return;}const _0x341fa0=_0x17feb2[_0xede8a8(0x445)](0x6);_0x18221b({'imageId':_0x341fa0,'imageSourceType':_0x513afe[_0xede8a8(0x223)][_0xede8a8(0x471)],'source':_0x37d383,'base64Cache':_0x4a8d7f,'status':_0x513afe['ImageUploadStatusType']['SUCCUSS']}),this[_0xede8a8(0x18c)]();};});}['_getUploadFileURL'](){var _0x4570ea=_0xe600ea,_0x479b14;const _0x23d1c9=this[_0x4570ea(0x164)][_0x4570ea(0x1aa)](_0x566bcc);return(_0x479b14=_0x23d1c9==null?void 0x0:_0x23d1c9[_0x4570ea(0x205)])!=null?_0x479b14:_0x14a302;}[_0xe600ea(0x47e)](){var _0x5c168f=_0xe600ea,_0x14db4a;const _0x15ae88=this['_configService']['getConfig'](_0x566bcc);return(_0x14db4a=_0x15ae88==null?void 0x0:_0x15ae88[_0x5c168f(0x418)])!=null?_0x14db4a:_0x4add0b;}['_getDownloadEndpointURL'](){var _0x314cc2=_0xe600ea,_0xa67f91;const _0x31bac9=this[_0x314cc2(0x164)][_0x314cc2(0x1aa)](_0x566bcc);return(_0xa67f91=_0x31bac9==null?void 0x0:_0x31bac9[_0x314cc2(0x357)])!=null?_0xa67f91:location['origin'];}[_0xe600ea(0x49d)](_0x284087,_0x3c0aa7){var _0x3830bc=_0xe600ea;return _0x284087[_0x3830bc(0x1b1)](_0x3830bc(0x327),_0x3c0aa7);}[_0xe600ea(0x18c)](){var _0x50f5f9=_0xe600ea;this[_0x50f5f9(0x4c1)]-=0x1,this[_0x50f5f9(0x497)][_0x50f5f9(0x413)](this[_0x50f5f9(0x4c1)]);}},_0x5ac5d4['CollaborationImageIoService']=_0x5b4a48([_0xaf9b24(0x0,_0x17feb2[_0xe600ea(0x1c2)](_0x5d9456[_0xe600ea(0x2a3)])),_0xaf9b24(0x1,_0x17feb2['IConfigService']),_0xaf9b24(0x2,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2['IUniverInstanceService']))],_0x5ac5d4[_0xe600ea(0x420)]);var _0x2918da=Object[_0xe600ea(0x305)],_0x5c73e1=(_0x162871,_0x30ff95,_0x4f73dd,_0x4ac4de)=>{var _0x1065d2=_0xe600ea;for(var _0x5a3cc1=_0x4ac4de>0x1?void 0x0:_0x4ac4de?_0x2918da(_0x30ff95,_0x4f73dd):_0x30ff95,_0x3916ac=_0x162871[_0x1065d2(0x4ac)]-0x1,_0x416e20;_0x3916ac>=0x0;_0x3916ac--)(_0x416e20=_0x162871[_0x3916ac])&&(_0x5a3cc1=_0x416e20(_0x5a3cc1)||_0x5a3cc1);return _0x5a3cc1;},_0x5422ff=(_0x3d8a33,_0x543fc6)=>(_0x497cfe,_0x497f66)=>_0x543fc6(_0x497cfe,_0x497f66,_0x3d8a33);const _0x3740a0='/universer-api/authz';_0x5ac5d4[_0xe600ea(0x318)]=class{constructor(_0x520aa1,_0xba7d75){var _0xf6f407=_0xe600ea;this[_0xf6f407(0x164)]=_0x520aa1,this['_HTTPService']=_0xba7d75;}[_0xe600ea(0x3cf)](){var _0x56db30;const _0x14f814=this['_configService']['getConfig'](_0x566bcc);return(_0x56db30=_0x14f814==null?void 0x0:_0x14f814['authzUrl'])!=null?_0x56db30:_0x3740a0;}async[_0xe600ea(0x175)](_0x18a76b){var _0x2345d4=_0xe600ea;const _0xa31c48=this[_0x2345d4(0x3cf)]()+_0x2345d4(0x479);return{'list':[{'title':_0x2345d4(0x1a6),'mentions':(await this[_0x2345d4(0x187)]['get'](_0xa31c48,{'params':{'objectID':_0x18a76b[_0x2345d4(0x2e2)],'unitID':_0x18a76b['unitId']}}))[_0x2345d4(0x201)][_0x2345d4(0x484)][_0x2345d4(0x4ab)](_0x43a0f1=>({'objectId':_0x43a0f1['id'],'name':_0x43a0f1[_0x2345d4(0x495)][_0x2345d4(0x234)],'metadata':{'icon':_0x43a0f1['subject']['avatar']},'label':_0x43a0f1['subject'][_0x2345d4(0x234)],'objectType':_0x17feb2[_0x2345d4(0x45a)]['PERSON']})),'metadata':{},'type':_0x17feb2[_0x2345d4(0x45a)]['PERSON']}]};}},_0x5ac5d4['MentionIoHttpService']=_0x5c73e1([_0x5422ff(0x0,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1be)])),_0x5422ff(0x1,_0x17feb2[_0xe600ea(0x1c2)](_0x5d9456[_0xe600ea(0x2a3)]))],_0x5ac5d4[_0xe600ea(0x318)]);var _0x544b0a=Object[_0xe600ea(0x305)],_0x8ca295=(_0x1732fd,_0x39e581,_0x5520ec,_0x44a8c7)=>{var _0x38db14=_0xe600ea;for(var _0x40484d=_0x44a8c7>0x1?void 0x0:_0x44a8c7?_0x544b0a(_0x39e581,_0x5520ec):_0x39e581,_0x211cec=_0x1732fd[_0x38db14(0x4ac)]-0x1,_0x4eb201;_0x211cec>=0x0;_0x211cec--)(_0x4eb201=_0x1732fd[_0x211cec])&&(_0x40484d=_0x4eb201(_0x40484d)||_0x40484d);return _0x40484d;},_0x346ef6=(_0x35c3b1,_0x29f617)=>(_0x655a04,_0x5854b4)=>_0x29f617(_0x655a04,_0x5854b4,_0x35c3b1);let _0x58edb8=class extends _0x17feb2[_0xe600ea(0x286)]{constructor(_0x2a2450,_0x168bda,_0x47fce4,_0x53772,_0x3d00d1){var _0x17547d=_0xe600ea;super(),this['_injector']=_0x2a2450,this[_0x17547d(0x1c4)]=_0x168bda,this['_permissionService']=_0x47fce4,this[_0x17547d(0x487)]=_0x53772,this[_0x17547d(0x4ed)]=_0x3d00d1,this[_0x17547d(0x490)](),this[_0x17547d(0x32b)]();}[_0xe600ea(0x32b)](){var _0x576a42=_0xe600ea;const _0x62a14c=async _0x59c099=>{var _0x592261=_0x239d;(await this[_0x592261(0x487)][_0x592261(0x1b7)](_0x59c099))[_0x592261(0x37f)][_0x592261(0x28b)](_0x17b903['filter'](_0x3f9051=>_0x3f9051[_0x592261(0x4d0)]===_0x254674['CollaborationEvent'][_0x592261(0x4cb)]),_0x17b903[_0x592261(0x369)](this['dispose$']))[_0x592261(0x1c0)](_0xeb1f11=>{var _0x3de7c0=_0x592261;const _0x3674f7=_0xeb1f11,{reason:_0x495f88}=_0x3674f7[_0x3de7c0(0x2f6)];this['_collaborationUIEventService']['emitEvent']({'id':_0x5852a5['CLOSE_ROOM'],'data':_0x495f88}),this[_0x3de7c0(0x43a)][_0x3de7c0(0x474)](new _0xf0578e['WorkbookEditablePermission'](_0x59c099)['id'],!0x1),this[_0x3de7c0(0x487)][_0x3de7c0(0x1e4)](_0x59c099);});};_0xd6d137[_0x576a42(0x4bb)](this['_univerInstanceService'][_0x576a42(0x295)](_0x17feb2[_0x576a42(0x1dc)][_0x576a42(0x291)]),this[_0x576a42(0x1c4)][_0x576a42(0x295)](_0x17feb2[_0x576a42(0x1dc)][_0x576a42(0x380)]))[_0x576a42(0x28b)](_0x17b903[_0x576a42(0x4ab)](_0x456fb9=>_0x456fb9[_0x576a42(0x23e)]()),_0x17b903['filter'](_0x221d37=>!_0x17feb2[_0x576a42(0x3d1)](_0x221d37)),_0x17b903[_0x576a42(0x369)](this[_0x576a42(0x160)]))[_0x576a42(0x1c0)](_0x425ba7=>{_0x62a14c(_0x425ba7);});}[_0xe600ea(0x490)](){var _0xb34aae=_0xe600ea;const _0x802f42=async _0x57405b=>{var _0x40b27a=_0x239d;const _0x5dd069=await this['_collaborationSessionService']['requireSession'](_0x57405b),_0x273be6=this['_injector'][_0x40b27a(0x299)](_0xf0578e[_0x40b27a(0x3fd)]);_0x5dd069['event$'][_0x40b27a(0x28b)](_0x17b903[_0x40b27a(0x4a4)](_0x2d1093=>_0x2d1093['eventID']===_0x254674[_0x40b27a(0x411)][_0x40b27a(0x1ef)]),_0x17b903['takeUntil'](this[_0x40b27a(0x160)]))[_0x40b27a(0x1c0)](_0x160cfc=>{var _0x7598ea=_0x40b27a;const _0x1deab6=_0x160cfc,{objectId:_0x135217}=_0x1deab6[_0x7598ea(0x2f6)];_0x135217===_0x57405b?_0x273be6[_0x7598ea(0x4d5)](_0x57405b):_0x273be6[_0x7598ea(0x3a6)](_0x57405b,_0x135217);});};_0xd6d137[_0xb34aae(0x4bb)](this['_univerInstanceService'][_0xb34aae(0x295)](_0x17feb2['UniverInstanceType'][_0xb34aae(0x291)]))[_0xb34aae(0x28b)](_0x17b903[_0xb34aae(0x4ab)](_0x559ca8=>_0x559ca8['getUnitId']()),_0x17b903[_0xb34aae(0x4a4)](_0x41118a=>!_0x17feb2['isInternalEditorID'](_0x41118a)),_0x17b903['takeUntil'](this[_0xb34aae(0x160)]))[_0xb34aae(0x1c0)](_0x7fd00a=>{_0x802f42(_0x7fd00a);});}};_0x58edb8=_0x8ca295([_0x346ef6(0x0,_0x17feb2['Inject'](_0x17feb2['Injector'])),_0x346ef6(0x1,_0x17feb2[_0xe600ea(0x213)]),_0x346ef6(0x2,_0x17feb2['IPermissionService']),_0x346ef6(0x3,_0x17feb2[_0xe600ea(0x1c2)](_0x5ac5d4[_0xe600ea(0x439)])),_0x346ef6(0x4,_0x17feb2[_0xe600ea(0x1c2)](_0x2ee36c))],_0x58edb8);var _0x4060fe=Object[_0xe600ea(0x305)],_0x237b92=(_0x103093,_0xe77a04,_0x149e21,_0x5a91d8)=>{for(var _0x1780b0=_0x5a91d8>0x1?void 0x0:_0x5a91d8?_0x4060fe(_0xe77a04,_0x149e21):_0xe77a04,_0x10778f=_0x103093['length']-0x1,_0x1f9e70;_0x10778f>=0x0;_0x10778f--)(_0x1f9e70=_0x103093[_0x10778f])&&(_0x1780b0=_0x1f9e70(_0x1780b0)||_0x1780b0);return _0x1780b0;},_0x4cf7fc=(_0x477a27,_0xa3ec58)=>(_0x23077b,_0x18433e)=>_0xa3ec58(_0x23077b,_0x18433e,_0x477a27);_0x5ac5d4[_0xe600ea(0x2bb)]=class{constructor(_0x3f9237,_0x5aa433){var _0x18a2f2=_0xe600ea;this[_0x18a2f2(0x164)]=_0x3f9237,this['_httpService']=_0x5aa433;}async[_0xe600ea(0x1a8)](_0x5a668e,_0x457f67){var _0x3a8b01=_0xe600ea,_0x4e1785;const {unitID:_0x464764,type:_0x43739f,revision:_0x177bd2=0x0}=_0x457f67,_0x1c267f=this[_0x3a8b01(0x38b)]()+'/'+_0x43739f+_0x3a8b01(0x4e5)+_0x464764+_0x3a8b01(0x482)+_0x177bd2,_0x42b81b=(await this[_0x3a8b01(0x26d)][_0x3a8b01(0x299)](_0x1c267f))[_0x3a8b01(0x201)],_0x198593=(_0x4e1785=_0x42b81b['snapshot'])==null?void 0x0:_0x4e1785[_0x3a8b01(0x4e0)];if(_0x198593){const _0x4e4f14=_0x198593==null?void 0x0:_0x198593['originalMeta'],_0x26cac3=_0x254674['textEncoder'][_0x3a8b01(0x32c)](_0x254674[_0x3a8b01(0x48c)](_0x4e4f14));_0x198593[_0x3a8b01(0x288)]=_0x26cac3,Object[_0x3a8b01(0x374)](_0x198593[_0x3a8b01(0x333)])[_0x3a8b01(0x3b2)](([,_0x4d6bb2])=>{var _0x3b61c9=_0x3a8b01;const _0x425c34=_0x4d6bb2['originalMeta'],_0x4103a0=_0x254674[_0x3b61c9(0x2cd)][_0x3b61c9(0x32c)](_0x254674['b64DecodeUnicode'](_0x425c34));_0x4d6bb2['originalMeta']=_0x4103a0;});}return _0x42b81b;}async[_0xe600ea(0x1c7)](_0x37bbe0,_0x192657){var _0xdaa26b=_0xe600ea;const {unitID:_0x155fc5,type:_0x358b77,blockID:_0x4fcc06}=_0x192657,_0x3af81b=this[_0xdaa26b(0x262)]()+'/'+_0x358b77+'/unit/'+_0x155fc5+_0xdaa26b(0x2e4)+_0x4fcc06;return(await this[_0xdaa26b(0x26d)][_0xdaa26b(0x299)](_0x3af81b))['body'];}async['getDeserializedSheetBlock'](_0x1afd13,_0x338090){var _0xdc8203=_0xe600ea;const {unitID:_0x20468a,type:_0x2f5f02,blockID:_0x482635}=_0x338090,_0x345315=this['_getAPIPrefix']()+_0xdc8203(0x2e4)+_0x2f5f02+_0xdc8203(0x4e5)+_0x20468a+'/block/'+_0x482635;return(await this[_0xdc8203(0x26d)][_0xdc8203(0x299)](_0x345315))[_0xdc8203(0x201)];}async['fetchMissingChangesets'](_0x2b5fa9,_0x2a7eec){var _0x20bda3=_0xe600ea;const {unitID:_0x51169d,type:_0x469c2f,from:_0x469cfb,to:_0x49b9db}=_0x2a7eec,_0x2040bf=this[_0x20bda3(0x262)]()+'/'+_0x469c2f+'/unit/'+_0x51169d+_0x20bda3(0x428)+_0x469cfb+_0x20bda3(0x17d)+_0x49b9db;return(await this[_0x20bda3(0x26d)][_0x20bda3(0x299)](_0x2040bf))['body'];}['getSnapshotAPIPath'](){var _0x1dae3d=_0xe600ea,_0x342ab2;return(_0x342ab2=this[_0x1dae3d(0x164)][_0x1dae3d(0x1aa)](_0x78b8d2))!=null?_0x342ab2:this['_getAPIPrefix']();}[_0xe600ea(0x262)](){var _0x240254=_0xe600ea,_0x41bcd2;const _0x553f05=this[_0x240254(0x164)][_0x240254(0x1aa)](_0x566bcc);return(_0x41bcd2=_0x553f05==null?void 0x0:_0x553f05[_0x240254(0x3e0)])!=null?_0x41bcd2:_0x499d3c;}async[_0xe600ea(0x367)](_0x37c2d7,_0x510235){var _0x45c73f=_0xe600ea;const _0x2f6d87=_0x45c73f(0x261)+_0x510235[_0x45c73f(0x285)]+'/unit/'+_0x510235[_0x45c73f(0x224)]+_0x45c73f(0x467);return(await this[_0x45c73f(0x26d)]['get'](_0x2f6d87,{'params':{'resourceId':JSON['stringify'](_0x510235[_0x45c73f(0x3c5)])}}))[_0x45c73f(0x201)];}[_0xe600ea(0x3e1)](){var _0x2f37b5=_0xe600ea;throw new Error(_0x2f37b5(0x311));}[_0xe600ea(0x2d4)](){var _0x9d61be=_0xe600ea;throw new Error(_0x9d61be(0x311));}[_0xe600ea(0x3fb)](){var _0x1e70d8=_0xe600ea;throw new Error(_0x1e70d8(0x311));}['saveChangeset'](){var _0x1731fc=_0xe600ea;throw new Error(_0x1731fc(0x311));}[_0xe600ea(0x387)](){var _0x42c957=_0xe600ea;throw new Error(_0x42c957(0x311));}[_0xe600ea(0x47b)](){var _0x130641=_0xe600ea;throw new Error(_0x130641(0x311));}},_0x5ac5d4['SnapshotServerOverHTTPService']=_0x237b92([_0x4cf7fc(0x0,_0x17feb2[_0xe600ea(0x1be)]),_0x4cf7fc(0x1,_0x17feb2['Inject'](_0x5d9456[_0xe600ea(0x2a3)]))],_0x5ac5d4[_0xe600ea(0x2bb)]);var _0x5c40ee=Object[_0xe600ea(0x305)],_0x4fb627=(_0x5c6f95,_0x4b9b2b,_0x252c90,_0x3f55ba)=>{var _0x50bfd5=_0xe600ea;for(var _0x343e17=_0x3f55ba>0x1?void 0x0:_0x3f55ba?_0x5c40ee(_0x4b9b2b,_0x252c90):_0x4b9b2b,_0x3c1865=_0x5c6f95[_0x50bfd5(0x4ac)]-0x1,_0x5c9ad0;_0x3c1865>=0x0;_0x3c1865--)(_0x5c9ad0=_0x5c6f95[_0x3c1865])&&(_0x343e17=_0x5c9ad0(_0x343e17)||_0x343e17);return _0x343e17;},_0x10f827=(_0x2693be,_0x34bae7)=>(_0x168786,_0x110b2a)=>_0x34bae7(_0x168786,_0x110b2a,_0x2693be);_0x5ac5d4[_0xe600ea(0x2c2)]=class extends _0x17feb2[_0xe600ea(0x44d)]{constructor(_0x13a39d,_0x4dcc57,_0x4a478a,_0x4b61e9,_0x108207){var _0x29670f=_0xe600ea;super(_0x13a39d,_0x4dcc57,_0x4a478a),this[_0x29670f(0x3db)]=_0x4b61e9,this[_0x29670f(0x42f)]=_0x108207;}[_0xe600ea(0x1f2)](_0x934d5a,_0x164b3e){var _0x83d540=_0xe600ea;const _0x2ddc19=this['_getUndoStack'](_0x934d5a);if(_0x2ddc19)try{const _0x5cba46=this[_0x83d540(0x351)](_0x2ddc19,_0x164b3e);this[_0x83d540(0x225)](_0x934d5a,_0x5cba46);}catch(_0x17526d){this['_logService'][_0x83d540(0x343)](_0x83d540(0x2e8),_0x17526d),this[_0x83d540(0x3ea)](_0x934d5a);}const _0x4445f6=this['_getRedoStack'](_0x934d5a);if(_0x4445f6)try{const _0x34336e=this['_transformStack'](_0x4445f6,_0x164b3e);this[_0x83d540(0x289)](_0x934d5a,_0x34336e);}catch(_0xf8377b){this[_0x83d540(0x42f)][_0x83d540(0x343)](_0xf8377b),this[_0x83d540(0x176)](_0x934d5a);}}['_clearUndo'](_0xd9e6bc){var _0x5d0711=_0xe600ea;const _0x30d997=this[_0x5d0711(0x421)](_0xd9e6bc);_0x30d997&&(_0x30d997[_0x5d0711(0x4ac)]=0x0,this[_0x5d0711(0x4a5)]());}[_0xe600ea(0x176)](_0x1df360){var _0x58bae9=_0xe600ea;const _0x338b82=this[_0x58bae9(0x485)](_0x1df360);_0x338b82&&(_0x338b82['length']=0x0,this[_0x58bae9(0x4a5)]());}['_substituteUndoStack'](_0x321da8,_0x3584c9){var _0x38c237=_0xe600ea;this[_0x38c237(0x2ed)][_0x38c237(0x1f9)](_0x321da8,_0x3584c9),this[_0x38c237(0x4a5)]();}['_substituteRedoStack'](_0x23e751,_0x2e4a5a){var _0x1f9673=_0xe600ea;this[_0x1f9673(0x303)][_0x1f9673(0x1f9)](_0x23e751,_0x2e4a5a),this['_updateStatus']();}['_transformStack'](_0x42e95b,_0x2f2b3d){var _0x5d3cdc=_0xe600ea;const _0x485a0e=[];let _0x9a2704=_0x2f2b3d,_0x299122=_0x2f2b3d;for(let _0x3dabb8=_0x42e95b[_0x5d3cdc(0x4ac)]-0x1;_0x3dabb8>=0x0;_0x3dabb8--){const {unitID:_0x537c9f,undoMutations:_0x443fc5,redoMutations:_0x564a88}=_0x42e95b[_0x3dabb8],_0x8620a7=this[_0x5d3cdc(0x3db)][_0x5d3cdc(0x453)](_0x9a2704,_0x443fc5),_0x527721=this[_0x5d3cdc(0x3db)][_0x5d3cdc(0x453)](_0x299122,_0x564a88);if(_0x254674[_0x5d3cdc(0x184)](_0x8620a7)||_0x254674[_0x5d3cdc(0x184)](_0x527721)){this[_0x5d3cdc(0x42f)][_0x5d3cdc(0x343)]('[CollaborationUndoRedoService]',_0x5d3cdc(0x238),_0x8620a7,_0x527721);break;}_0x9a2704=_0x8620a7[_0x5d3cdc(0x41b)],_0x299122=_0x527721[_0x5d3cdc(0x41b)],_0x485a0e[_0x5d3cdc(0x2c3)]({'unitID':_0x537c9f,'undoMutations':_0x8620a7[_0x5d3cdc(0x41a)],'redoMutations':_0x527721[_0x5d3cdc(0x41a)]});}return _0x485a0e['reverse']();}},_0x5ac5d4[_0xe600ea(0x2c2)]=_0x4fb627([_0x10f827(0x0,_0x17feb2[_0xe600ea(0x213)]),_0x10f827(0x1,_0x17feb2[_0xe600ea(0x1ee)]),_0x10f827(0x2,_0x17feb2[_0xe600ea(0x444)]),_0x10f827(0x3,_0x254674['ITransformService']),_0x10f827(0x4,_0x17feb2[_0xe600ea(0x2b8)])],_0x5ac5d4[_0xe600ea(0x2c2)]);var _0x151313=Object[_0xe600ea(0x430)],_0x44587b=Object[_0xe600ea(0x305)],_0x49df1b=(_0x348388,_0x39f0dd,_0x506a49)=>_0x39f0dd in _0x348388?_0x151313(_0x348388,_0x39f0dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x506a49}):_0x348388[_0x39f0dd]=_0x506a49,_0x198e1a=(_0x2052b8,_0x1e3dd3,_0x28b519,_0x6785ec)=>{var _0x48f890=_0xe600ea;for(var _0x41dc3d=_0x6785ec>0x1?void 0x0:_0x6785ec?_0x44587b(_0x1e3dd3,_0x28b519):_0x1e3dd3,_0x383fad=_0x2052b8[_0x48f890(0x4ac)]-0x1,_0x5bf17d;_0x383fad>=0x0;_0x383fad--)(_0x5bf17d=_0x2052b8[_0x383fad])&&(_0x41dc3d=_0x5bf17d(_0x41dc3d)||_0x41dc3d);return _0x41dc3d;},_0x1994f8=(_0x5cb6b0,_0x3b3523)=>(_0x53c28e,_0x140877)=>_0x3b3523(_0x53c28e,_0x140877,_0x5cb6b0),_0x3109a9=(_0x273041,_0x967a0b,_0x4400f8)=>_0x49df1b(_0x273041,_0x967a0b+'',_0x4400f8);const _0x26d855=_0xe600ea(0x170);_0x5ac5d4[_0xe600ea(0x38d)]=class extends _0x17feb2[_0xe600ea(0x3bb)]{constructor(_0x302ea7,_0x2926ab,_0x4d9f85,_0x590c3c){var _0x32e9d0=_0xe600ea;super(),_0x358222(this,_0x32e9d0(0x294)),(this['_logService']=_0x2926ab,this[_0x32e9d0(0x4bf)]=_0x4d9f85,this['_configService']=_0x590c3c);const {..._0x44d179}=_0x17feb2[_0x32e9d0(0x4bb)]({},_0x55e88d,_0x302ea7);if(!_0x44d179[_0x32e9d0(0x1f3)])throw new Error(_0x32e9d0(0x4dc));this[_0x32e9d0(0x294)]=_0x44d179,this[_0x32e9d0(0x164)][_0x32e9d0(0x41c)](_0x566bcc,_0x44d179);}[_0xe600ea(0x355)](){var _0x51e931=_0xe600ea;this[_0x51e931(0x206)](),this[_0x51e931(0x401)]();}[_0xe600ea(0x206)](){var _0x70dd27=_0xe600ea,_0x3ac018,_0x4b053a;this[_0x70dd27(0x4bf)]['has'](_0x17feb2[_0x70dd27(0x26f)])&&this[_0x70dd27(0x42f)][_0x70dd27(0x343)](_0x70dd27(0x4d1),_0x70dd27(0x324));const _0x1ff83c=_0x17feb2['mergeOverrideWithDependencies']([[_0x17feb2[_0x70dd27(0x26f)],{'useClass':_0x5ac5d4['CollaborativeUndoRedoService']}],[_0x5ac5d4[_0x70dd27(0x439)]],[_0x5ac5d4[_0x70dd27(0x325)]],[_0x5ac5d4[_0x70dd27(0x26e)]],[_0x1d325e],[_0x3c0d90],[_0x16bd41],[_0x58edb8],[_0x2ee36c],[_0x5ac5d4[_0x70dd27(0x3f4)]],[_0x15e7ae,{'useClass':this['_config'][_0x70dd27(0x1f3)]}],[_0x254674[_0x70dd27(0x19c)],{'useClass':_0x5ac5d4[_0x70dd27(0x2bb)]}],[_0x17feb2[_0x70dd27(0x417)],{'useClass':_0x5ac5d4[_0x70dd27(0x198)]}],[_0x513afe['IImageIoService'],{'useClass':_0x5ac5d4[_0x70dd27(0x420)]}],[_0x17feb2[_0x70dd27(0x39d)],{'useClass':_0x5ac5d4[_0x70dd27(0x318)]}],[_0x5ac5d4['CollaborationController']],[_0x3876c7]],(_0x3ac018=this[_0x70dd27(0x294)])==null?void 0x0:_0x3ac018['override']);if(!((_0x4b053a=this[_0x70dd27(0x294)])!=null&&_0x4b053a['enableSingleActiveInstanceLock'])){const _0x14a2ee=_0x1ff83c[_0x70dd27(0x2bc)](([_0x276aaf])=>_0x276aaf===_0xba00e);_0x14a2ee!==-0x1&&_0x1ff83c[_0x70dd27(0x2ae)](_0x14a2ee,0x1);}_0x17feb2['registerDependencies'](this['_injector'],_0x1ff83c);}[_0xe600ea(0x401)](){var _0x4796b4=_0xe600ea,_0x4d2e45,_0x29b2c1,_0xabf643;this['_injector'][_0x4796b4(0x299)](_0x5d9456[_0x4796b4(0x2a3)])[_0x4796b4(0x410)]({'priority':0x14,'interceptor':_0x5d9456[_0x4796b4(0x221)]({'maxParallel':0x6})}),(_0x4d2e45=this[_0x4796b4(0x294)])!=null&&_0x4d2e45['enableOfflineEditing']||(_0x29b2c1=this[_0x4796b4(0x4bf)][_0x4796b4(0x299)](_0x2d8396,_0x17feb2['Quantity'][_0x4796b4(0x4ee)]))==null||_0x29b2c1[_0x4796b4(0x458)](),(_0xabf643=this[_0x4796b4(0x294)])!=null&&_0xabf643[_0x4796b4(0x2b7)]&&_0x17feb2[_0x4796b4(0x40b)](this[_0x4796b4(0x4bf)],[[_0x1d325e]]),_0x17feb2['touchDependencies'](this[_0x4796b4(0x4bf)],[[_0x3c0d90],[_0x5ac5d4[_0x4796b4(0x3be)]],[_0x58edb8]]);}},_0x3109a9(_0x5ac5d4[_0xe600ea(0x38d)],_0xe600ea(0x37b),_0x26d855),_0x5ac5d4[_0xe600ea(0x38d)]=_0x198e1a([_0x17feb2[_0xe600ea(0x2fc)](_0x254674[_0xe600ea(0x3f2)],_0x5d9456[_0xe600ea(0x3b9)]),_0x1994f8(0x1,_0x17feb2[_0xe600ea(0x2b8)]),_0x1994f8(0x2,_0x17feb2['Inject'](_0x17feb2['Injector'])),_0x1994f8(0x3,_0x17feb2[_0xe600ea(0x1be)])],_0x5ac5d4[_0xe600ea(0x38d)]),_0x5ac5d4[_0xe600ea(0x22e)]=_0x566bcc,_0x5ac5d4[_0xe600ea(0x4bc)]=_0x93c01f,_0x5ac5d4['CollaborationUIEventId']=_0x5852a5,_0x5ac5d4['CollaborationUIEventService']=_0x2ee36c,_0x5ac5d4[_0xe600ea(0x2cb)]=_0x16bd41,_0x5ac5d4[_0xe600ea(0x360)]=_0x7074fe,_0x5ac5d4[_0xe600ea(0x306)]=_0x3427a4,_0x5ac5d4[_0xe600ea(0x30f)]=_0x467298,_0x5ac5d4[_0xe600ea(0x376)]=_0x6e4708,_0x5ac5d4[_0xe600ea(0x473)]=_0x2ffda5,_0x5ac5d4[_0xe600ea(0x336)]=_0x15e7ae,_0x5ac5d4[_0xe600ea(0x174)]=_0x2d8396,_0x5ac5d4['INetworkConditionService']=_0x5304a7,_0x5ac5d4[_0xe600ea(0x3a0)]=_0xba00e,_0x5ac5d4[_0xe600ea(0x429)]=0x3e8,_0x5ac5d4[_0xe600ea(0x32a)]=_0x3b999d,_0x5ac5d4[_0xe600ea(0x396)]=_0x212dcf,_0x5ac5d4[_0xe600ea(0x406)]=_0x273ad5,_0x5ac5d4[_0xe600ea(0x237)]=_0x57cde5,_0x5ac5d4[_0xe600ea(0x34a)]=_0x1eb2dd,_0x5ac5d4[_0xe600ea(0x34d)]=_0x594894,_0x5ac5d4['getLocalCacheKey']=_0x22e215,_0x5ac5d4[_0xe600ea(0x456)]=_0x2ea570,Object['defineProperty'](_0x5ac5d4,Symbol[_0xe600ea(0x18f)],{'value':_0xe600ea(0x239)});}));function _0x14f8(){var _0xc2685b=['transformMutationsWithChangeset','Could\x20not\x20dynamically\x20require\x20\x22','_sessions','serializeCombRequest','&assign=','disableLocalCache','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','MentionType','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_minBufferSize','/allowed','[PendingState]:\x20unhandled\x20univer\x20type:\x20','REDEMPTION_CODE_FULLY_REDEEMED','AwaitingWithPendingState','HEARTBEAT','mixIn','_map','_doReset','post','salt','/resources','RevisionService','unitId\x20is\x20not\x20found','USER_NOT_FOUND','close','uniscriptRunEvent','_clearScheduledTask','EvpKDF','getImage','_clearLocalCache','UUID','Base64','HEARTBEAT_TIMEOUT_KEY','updatePermissionPoint','_state','_sessionStatus$','AES','now','/collaborator','getTypeOfUnitDisposed$','getLatestCsReqIdBySid','LIVESHARE_TERMINATE','localeService','_getSignURL','PendingState','hasher','take','/rev/','fromCollab','collaborators','_getRedoStack','textRanges','_collaborationSessionService','[CollaborationSessionService]:\x20socket\x20error','onRemoteChangeset','_timeoutTimer','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','b64DecodeUnicode','join','303571DCsGGJ','selections','_initUnitPermissionChange','_getCtorByUniverType','_DEC_XFORM_MODE','HttpExport','_socket$','subject','values','_change$','sequenceExecute','ImageUploadStatusType','Error\x20on\x20receiving\x20event','_doFinalize','_scheduleCollaborationTimeoutTimer','_replaceFileID','disposeWithMe','image/bmp','object','sessionStatus$','CollaborationSocketService','_cipher','filter','_updateStatus','isArray','baseRev','Tools','code','getCollabEntity','map','length','decrypt','UniverCore','_handlerCallback','apply','status','BASE64','REDEMPTION_CODE_HAS_BEEN_CREATED','rev','BlockCipher','UniverDrawing','onload','_entities','keySize','charCodeAt','merge','CollaborationStatus','dispose','rxjs/operators','_injector','_socket','_waitCount','_userManagerService','_onConnectionOpen','_changesetReqId','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','toString','compute','startsWith','BlockCipherMode','synced','SHOULD_CLOSE_CONN','then','onTransformRemoteChangesetByStateCache','COMPRESS_MUTATION_SEND','blockSize','eventID','[UniverCollaborationClientPlugin]','[SyncedState]:\x20received\x20acknowledgement.','onRemoteRetry','SheetCollaborationEntity','initWorkbookPermissionChange','LOGIN_FAILED','GLOBAL_ROOMS_CNT_EXCEEDS','slice','c2Prime','USERS_LEAVE','UPDATE_CURSOR','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','updateCollaborator','CHANGESET_ACK','encryptBlock','workbook','Failed\x20to\x20update\x20permission\x20point','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','csAckEvent','11QZJLXX','/unit/','CompressMutationService','parseProtocolChangeset','_nDataBytes','leaveEvent','stringify','ReplaySubject','Decryptor','_collaborationUIEventService','OPTIONAL','Cipher','NEW_CHANGESETS','StreamCipher','_snapshotServerService','reject','UniverSheets','from','cmd','startTime','_unitInfo$','dispose$','_oKey','YUUMI_UNABLE_LOAD_URL','create','_configService','_initMergeInterceptor','title','updateCursorEvent','href','UNKNOWN_CODE','_clearCollaborationTimeoutTimer','_transformIMECache','SYNCED','CHANGESET_REJ','_keySchedule','LEAVE','UNIVER_COLLABORATION_CLIENT_PLUGIN','focused$','CHANGESET_REVISION_CONFILICT','entityInit$','ILocalCacheService','list','_clearRedo','_remoteChangesetQueue','memberID','InsertSheetMutation','YUUMI_CONNECTOR_URL_NOT_FOUND','getCurrentRevOfUnit','_waitForHeartbeatResponse','&to=','_resendTimeout','_throwTelemetryCollaborationNewChangeset','userID','UniverProLicense','deepClone','_removeRoom','isTransformMutationsWithChangesetFailure','getSheetId','_mode','_HTTPService','POST','_commentUpdate$','pauseCollaboration','shareReplay','_decreaseWaiting','session.room-cnt-exceeds','fetch_missing','toStringTag','kdf','objectID','_members','_undoRedoService','WECHAT_HAS_BEEN_BOUND','/object','PERMISSION_REJ','INVITE_CODE_HAS_BEEN_UES','AuthzIoHttpService','finalize','state','_pendingMutations','ISnapshotServerService','PAYMENT_CHANNEL_NOT_SUPPORT','rxjs','parse','isPermissionRej','ITransformService','_revisionService','@univerjs/network','CBC','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','People','update','getUnitOnRev','updateOfflineData','getConfig','IPermissionService','transformChangesets','_prevBlock','UniverDocs','exports','SetSelectionsOperation','replace','CommandType','onRemoteAck','listCollaborators','_initRequestHeader','Injector','requireSession','every','append','getUnitType','_onUserJoin','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_telemetryInfo','IConfigService','_checkMissing','subscribe','FETCH_MISSING','Inject','/universer-api/authz','_univerInstanceService','location','_localeService','getSheetBlock','_compressMutationService','DATA_SOURCE_TOO_LARGE','univer-pro.collaboration-client.network-condition.service','_replayCachedMutations','APPLY_REJECT','_emitMembers','_clearRetryConnectingTimer','_onLocalMutation','headers','_unitID','LICENSE_EXPORT_SIZE_EXCEEDED','toDisposable','onMissedChangesetFetched','session','clear','onLocalMutation','10520090MfZHQi','addImageSourceCache','IDLE','getWorkbookSelections','UniverInstanceType','JOIN_ROOM_PERMISSION_DENIED','30KzLgoC','onTransformSelections','_shouldReportTelemetry','2429784emzOmG','random','OfflineState','closeSession','ALREADY_EXISTS','mutations','_incrementRevisionNumber','awaitingChangeset','byteOffset','UNRECOGNIZED','_getDownloadEndpointURL','_showConflictNotification','string','ICommandService','UPDATE_PERMISSION_OBJ','CollaborationEntity','online$','transformUndoRedo','socketService','close$','offline','words','APPLY_DUPLICATED','BehaviorSubject','set','members','RichTextEditingMutation','ENTITLE_CAN_NOT_BUY_LOWER_OTP','pad','byteLength','ERROR_EXCEED_SIZE','LIVESHARE_FETCH_OPERATIONS','body','onMissingChangesets','_onMessage','patch','uploadFileServerUrl','_registerDependencies','decryptBlock','_getSendChangesetTimeout','ENTITLE_REPORT_LIMIT_EXCEED','_snapshotService','loadUnit','_submitChangeset','HELLO','mode','APPLY_REVISION_CONFILICT','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','parseChangesetToProtocol','fetchThroughInterceptors','IUniverInstanceService','_invKeySchedule','routeKey','onSyncEditingCollabCursor','[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.','\x0aAfter:\x20','@univerjs/core','REDEMPTION_INVALID_CODE','failed\x20to\x20apply\x20missed\x20changesets!','43968MNWDMV','UNIVER_PROJECT','REDEMPTION_USER_NOT_ELIGIBLE','roles','fetching\x20missing\x20changesets\x20from\x20','ThresholdInterceptorFactory','/role','ImageSourceType','unitID','_substituteUndoStack','localCacheService','HmacMD5','ConflictState','Undefined','Malformed\x20UTF-8\x20data','HMAC','\x20-\x20','_onFetchMissResult','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','readInt32LE','isTransformMutationsWithChangesetSuccess','CLOSE_ROOM','DisposableCollection','range','name','execute','max','SessionStatus','transformStack\x20failed!','Module','charAt','onStateChange','_sheetTransformSelectionsService','catch','getUnitId','JOIN_ROOM_FULL','_ENC_XFORM_MODE','executeCommand','reqId','crypto','waitForRoom$','url','UNIVER_SLIDE','Subject','OpenSSL','error$','_iv','[CollaborationState]:\x20apply\x20error!','_collaborationTimeoutTimer','call','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_changesetSessionId','SyncedState','AUTHORIZE_CODE_ILLEGAL','_disableEditing','_createHmacHelper','sin','SNAPSHOT_URL_KEY','_toggleOffline','firstValueFrom','_createSocket','hasOwnProperty','_imageSourceCache','formatter','/universer-api/user/session-ticket','editingUnit','onlyLocal','buffer','liveShareOperation','/universer-api/snapshot/','_getAPIPrefix','_onRemoteACK','_instanceService','_onConflict','loadOfflineData','_onRemoteRejected','_hash','FAIL','_socketReady','LIVESHARE_NEW_HOST','_schedule','_httpService','SheetTransformSelectionsService','IUndoRedoService','AWAITING_WITH_PENDING','_state$','1305420AhyXAS','498115TTHPgj','ERROR_IMAGE','INGEST','UserManagerService','UNDEFINED','LIVESHARE_OPERATION','JOIN_ROOM_NOT_EXISTS','UniverNetwork','_entityInit$','/new_changes','LocaleService','updateMember','_candidateSocket','enc','_event$','x-univer-host','_memberService','image/jpg','type','RxDisposable','roomInfos','originalMeta','_substituteRedoStack','AwaitingState','pipe','_collabSessionService','_stopTelemetryCollaborationNewChangeset','duration','_roomCreated$','_keyPriorReset','UNIVER_SHEET','_isPermissionRej','getInterceptPoints','_config','getTypeOfUnitAdded$','SUBMIT_CHANGESET_TIMEOUT','change$','\x20to\x20','get','telemetry\x20info\x20is\x20not\x20initialized','/universer-api/snapshot','SerializableCipher','_socketService','NO_OTHER_CLIENTS_EDITING','removeMember','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_localCacheService','_fetchMissChangesets','HTTPService','_reverseMap','allowed','UNKNOWN_CMD','_xformMode','INTERNAL_ERROR','_tryReconnect','SOCKET_FAILED_RETRY','session.join-failed','state$','PSEUDO_FETCH_MISSING_RESULT','splice','image/png','INVALID_ARGUMENT','actions','_sendingTimer','_lockTransition','size','SNAPSHOT_HAS_BEEN_REMOVED','MSG_FOR_ERROR','enableAuthServer','ILogService','resend','processBlock','SnapshotServerOverHTTPService','findIndex','ceil','Latin1','format','JOIN_ROOM_FAILED','confirm','CollaborativeUndoRedoService','push','reset','setShowComponents','SHA1','_scheduleCompleteTimestamp','_append','_onCombEvent','equals','CommentService','operators','textEncoder','_createInitialStateImpl','Encryptor','_applyRemoteChangeset','_type','Univer','socket$','updateSnapshot','Hex','LICENSE_IMPORT_SIZE_EXCEEDED','amd','AWAITING','_nRounds','ENTITLE_CHAT_LIMIT_EXCEED','reconnect','fetchMiss','_sendHeartbeatTimer','_startCollaboration','USER_IS_ANONYMOUS','putCollaborators','RECV','unitId','_parse','/block/','transformSelections','message$','JOIN','[CollaborationUndoRedoService]','prototype','sendChangesetTimeout','encodeURIComponent','collaboration-client.local-cache-service','_undoStacks','OFFLINE','reduce','padding','UnitSnapshot','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','DEFAULT_FILE_NAME','readAsDataURL','mapDocumentTypeToUniverType','data','APPLY_NON_SEQUENTIAL_REVISION','YUUMI_NO_CUBOID_FOR_QUESTION','onTransformState','ciphertext','_doCryptBlock','DependentOn','_sender','LOGIN_TOKEN_PROCESSING_FAILED','init','lib','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[CollaborationSessionService]','_redoStacks','_roomMembers','getOwnPropertyDescriptor','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','NOT_FOUND','complete','image/gif','algo','MD5','objectActions','onCommandExecuted','auth.needGotoLoginAlert','DEFAULT_WS_SESSION_TICKET_URL','asObservable','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_process','_key','createDecryptor','UNIVER_UNKNOWN','getRoom','file','MentionIoHttpService','SNAPSHOT_INVALID_SNAPSHOT','enableCollaboration','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','PERMISSION_DENIED','session.room-not-exists','DocCollaborationEntity','add','MOBILE_VERIFY_CODE_MISMATCH','authzUrl','delete','UniverProCollaboration','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','MemberService','_onUserLeave','{fileID}','_onRemoteRetry','getMember','LOCAL_CACHE_INTERVAL_KEY','_initCloseConn','encode','_collaborationPaused','[FetchMissState]','key','_clearTimeoutTimer','_resendTimer','Base','sheets','extend','[DataLoaderService]','ICollaborationSocketService','ONLINE','HEARTBEAT_INTERVAL','_createHelper','createSocket','params','withCredentials','emitEvent','changesets','@univerjs-pro/license','createInstance','session.room-permission-denied','@univerjs/telemetry','error','_init','_socketMessageSubscription','getUnitStatus$','revision','COMPRESS_MUTATION_APPLY','toggleOffline','UnitStatus','UniverProCollaborationClient','connection\x20error','deserializeToCombResponse','_doProcessBlock','isTransformChangesetsSuccess','includes','_transformStack','_getCurrentRevision','ENTITLE_NEED_BILLING_ADDRESS','/object/','onStarting','_listenToNetworkCondition','downloadEndpointUrl','unsubscribe','createCollaborator','INVITE_CODE_REQUIRED','_onOffline','appendMutation','awaiting_with_pending','clone','clamp','DEFAULT_COLLAB_WEB_SOCKET_URL','default','_onRecvEvent','floor','editing\x20status\x20changed\x20to','ivSize','INVITE_CODE_ALREADY_BOUND','getResourcesRequest','onRemoteRej','takeUntil','MOBILE_HAS_BEEN_BOUND','_transformRemoteChangesetByIMECache','COMMENT_UPDATE','_onJoinRoomEvent','WordArray','?url=','_sendHeartbeat','has','UserProfileImg','CONFLICT','entries','[SyncedState]:\x20received\x20rejection.','HEARTBEAT_INTERVAL_KEY','getFocusedUnit','sigBytes','encrypt','unknown','pluginName','_commandService','getCurrentUser','LICENSE_MAX_UNITS_EXCEEDED','event$','UNIVER_DOC','_transformRemoteChangesetByStateCache','_awaitingChangeset','getImageSourceCache','unit-cache-','_startTelemetryCollaborationNewChangeset','PasswordBasedCipher','copyFileMeta','Disposable','_status$','CollaborationSession','getSnapshotAPIPath','function','UniverCollaborationClientPlugin','[PendingState]:\x20received\x20acknowledgement.','collaMsg','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_createInitialState','min','univer-pro.collaboration-client-socket-service','ClipsheetFragments','_telemetryService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','requestParams','525oSagWK','JOINING','onTransformIME','YUUMI_TABLE_NOT_FOUND_IN_UNIT','RETRY_CONNECTING_MAX_COUNT','IMentionIOService','_transformStateCache','_doCreateSocket','ISingleActiveUnitService','interceptor','debug','_queuedRemoteChangesets','@univerjs/drawing','WorkbookEditablePermission','refreshPermission','_handler','_syncEditingCollabCursor','target','awaiting','hostname','concat','_acknowledgedAwaitingChangeset','33kgwDpU','_retryConnectingTimer','createEncryptor','loadUnitOfRevision','forEach','ERROR_AGAIN','NoPadding','_updateLocalCache','put','_exhaustRemoteChangesetQueue','UNAUTHENTICATED','UniverNetworkPlugin','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','Plugin','compose','_updateState','CollaborationController','MUTATION','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_transformSelections','CURRENT_STATUS_CANNOT_OPERATE','stopTime','FileId','resourceIDs','USER_NOT_INVITED_CODE','_getUploadFileURL','Hasher','open$','getCollabEntity$','status$','_executeRemoteChangeset','CHANGESET_SHOULD_RETRY','_createHandler','_getAPIPrefixPath','[CollaborationSession]','isInternalEditorID','send','ENSURE_SNAPSHOT_EXECUTION','find','joinEvent','joinRsp','ERROR_IMAGE_TYPE','_retryCount','save\x20fail\x20reason\x20is\x20','/universer-api/file/{fileID}/sign-url','_transformService','toggleOnline','getGlobalObject','APPLY_PERMISSION_DENIED','incrementRevOfUnit','snapshotServerUrl','saveSnapshot','pending','PENDING','USERS_ENTER','concatMap','createIdentifier','unpad','BufferedBlockAlgorithm','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_clearUndo','_singleActiveUnitService','_tryEnsureSocket','_members$','Optional','SUBMIT_CHANGESET','_transformUndoredo','msCrypto','UniverCollaborationPlugin','_hasher','DataLoaderService','YUUMI_ALL_TABLES_IS_INVALID','repeat','getMemberID','REDEMPTION_CODE_INACTIVE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','OTHER_CLIENTS_EDITING','saveSheetBlock','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','SheetPermissionInitController','_networkConditionService','onSendChangeset','_unlockTransition','_initDependencies','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','capture','_joinRoom','YUUMI_AI_RUN_FAILED','RETRY_CONNECTING_MAX_COUNT_KEY','__creator','EmptyMutationInfo','_clearHeartbeatTimer','UnitEmbedded','touchDependencies','ISocketService','_onConnectionFailed','YUUMI_URL_COL_OUT_OF_RANGE','randomBytes','registerHTTPInterceptor','CollaborationEvent','sid','next','YUUMI_RATE_OVER_LIMIT','$super','YUUMI_ASYNCIO_CANCELLED','IAuthzIoService','signUrlServerUrl','abs','m2Prime','c1Prime','setConfig','iterations','subUnitId','FetchingMissState','CollaborationImageIoService','_getUndoStack','conflict','_iKey','JSONX','LICENSE_DISTRO_REJECTED','cfg','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','/fetchmissing?from=','LOCAL_CACHE_INTERVAL','58820BqcDfR','SOCKET_FAILED','[PendingState]:\x20received\x20rejection.','collaboratorID','socket\x20close','_logService','defineProperty','_resendWithTimeout','getRandomValues','saveImage','/-/object/-/batch_allowed','[OfflineState]:\x20received\x20rejection.','getCurrentSelections','csRejEvent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','CollaborationSessionService','_permissionService','retryConnectingInterval','OTHER_CLIENT_EDITING','updatePermissionObjEvent','Utf8','method','onTransformRemoteChangesetByIMECache','_toggleOnline','image/jpeg','_rescheduleHeartbeat','IContextService','generateRandomId','result','ENTITLE_DUP_SUBSCRIPTION','_data','CipherParams','LIVESHARE_REQUEST_HOST','src','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','LocalUndoRedoService','csShouldRetryEvent','objectType','_transitionLocked','REDEMPTION_CODE_NOT_STARTED','delay'];_0x14f8=function(){return _0xc2685b;};return _0x14f8();}
|
|
2
|
+
function _0x532f(_0x25f1b2,_0x868a62){var _0x44db5c=_0x44db();return _0x532f=function(_0x532f4b,_0x1f002c){_0x532f4b=_0x532f4b-0x85;var _0x1c092f=_0x44db5c[_0x532f4b];return _0x1c092f;},_0x532f(_0x25f1b2,_0x868a62);}function _0x44db(){var _0x28651c=['APPLY_PERMISSION_DENIED','AUTHORIZE_CODE_ILLEGAL','REDEMPTION_INVALID_CODE','COMPRESS_MUTATION_APPLY','USER_NOT_FOUND','setCurrentUser','_onUserLeave','infoRsp','every','[CollaborationState]:\x20apply\x20error!','update','_startCollaboration','CollaborativeUndoRedoService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','updatePermissionObjEvent','MUTATION','_univerInstanceService','abs','_onConflict','HEARTBEAT_TIMEOUT','CHANGESET_REJ','ICollaborationSocketService','deserializeToCombResponse','getTypeOfUnitDisposed$','avatar','saveSheetBlock','JSONX','status$','CHANGESET_ACK','@univerjs-pro/license','_unitID','_data','eventID','b64DecodeUnicode','_injector','_acknowledgedAwaitingChangeset','_toggleOnline','listCollaborators','_redoStacks','put','includes','toggleOnline','csShouldRetryEvent','HEARTBEAT_INTERVAL','APPLY_REJECT','_checkMissing','stopTime','DisposableCollection','_getDownloadEndpointURL','MOBILE_VERIFY_CODE_MISMATCH','withCredentials','call','SUBMIT_CHANGESET','CollaborationEvent','data','resourceIDs','Injector','CollaborationUIEventId','_onCombEvent','sessionStatus','/unit/','_resendWithTimeout','_schedule','_lockTransition','_doProcessBlock','loadUnitOfRevision','[DataLoaderService]','[OfflineState]:\x20received\x20rejection.','REDEMPTION_USER_NOT_ELIGIBLE','AuthzIoHttpService','_transformStack','LOCAL_CACHE_INTERVAL','awaiting','CollaborationController','JOIN_ROOM_FULL','catch','finalize','SOCKET_FAILED_RETRY','_handler','HEARTBEAT_INTERVAL_KEY','13124520cFEMFe','sequenceExecute','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','addHandlerCallback','uuidv4','UNRECOGNIZED','getSnapshotAPIPath','override','getTypeOfUnitAdded$','compute','pipe','telemetry\x20info\x20is\x20not\x20initialized','UniverDocs','_clearLocalCache','ciphertext','/universer-api/uniscript','SNAPSHOT_HAS_BEEN_REMOVED','/universer-api/snapshot','PSEUDO_FETCH_MISSING_RESULT','copyFileMeta','YUUMI_AI_RUN_FAILED','prototype','Disposable','/object/','deepClone','\x20in\x20_schedule.','SHOULD_CLOSE_CONN','length','WECHAT_HAS_BEEN_BOUND','NOT_FOUND','awaiting_with_pending','FileId','_replayCachedMutations','_xformMode','leaveEvent','saveSnapshot','SnapshotServerOverHTTPService','fetch_missing','operators','GLOBAL_ROOMS_CNT_EXCEEDS','IUniverInstanceService','name','state$','onTransformState','onTransformRemoteChangesetByStateCache','dispose$','_nDataBytes','getMember','OPTIONAL','getUnitId','createCollaborator','HTTPRequest','@univerjs/drawing','INVITE_CODE_REQUIRED','socket\x20open.','_disableEditing','_collaborationTimeoutTimer','onRemoteAck','CollaborationImageIoService','focused$','_clearRetryConnectingTimer','repeat','fromCollab','src','mapDocumentTypeToUniverType','CHANGESET_REVISION_CONFILICT','_configService','reset','_changesetSessionId','Hex','routeKey','_transformService','_socket$','onTransformIME','map','_updateState','isPermissionRej','_listenToNetworkCondition','resend','_tryEnsureSocket','ConflictState','close','_tryReconnect','ITransformService','DEFAULT_COLLAB_WEB_SOCKET_URL','executeCommand','decryptBlock','/object','_init','SheetTransformSelectionsService','_updateStatus','YUUMI_ASYNCIO_CANCELLED','_cipher','entries','salt','indexOf','_getLoginPath','_onFetchMissResult','apply','ILogService','_pendingMutations','JOIN','UNIVER_SLIDE','unknown','collaboratorID','event$','_socket','words','UNAUTHENTICATED','_iKey','LocaleService','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_UNABLE_LOAD_URL','encrypt','LICENSE_MAX_UNITS_EXCEEDED','Hasher','_revisionService','open$','touchDependencies','/universer-api/snapshot/','_parse','WordArray','emitEvent','_snapshotService','_telemetryService','_resendTimeout','EMAIL_VERIFY_CODE_MISMATCH','LocalUndoRedoService','UniverNetworkPlugin','string','_doReset','DependentOn','Quantity','@univerjs/docs','saveChangeset','EmptyMutationInfo','set','resolve','BehaviorSubject','serializeCombRequest','default','commentUpdateEvent','_shouldReportTelemetry','members','ITelemetryService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','type','state','OfflineState','9948qvKcbM','HmacMD5','@univerjs/core','ENTITLE_DUP_SUBSCRIPTION','_exhaustRemoteChangesetQueue','UniverCollaborationPlugin','removeMember','APPLY_NON_SEQUENTIAL_REVISION','c2Prime','getValue','image/png','has','createInstance','_initRequestHeader','title','message$','ERROR_IMAGE_TYPE','status','transformChangesets','RxDisposable','getAllMembers','Base64','_executeRemoteChangeset','batchAllowed','Base','ISnapshotServerService','_localeService','CollaborationEntity','RETRY_CONNECTING_MAX_COUNT_KEY','_localCacheService','Inject','_doCryptBlock','SetSelectionsOperation','offline','defineProperty','floor','unitId','UNISCRIPT_RUN','OTHER_CLIENT_EDITING','function','joinEvent','_rescheduleHeartbeat','method','crypto','getDeserializedSheetBlock','USER_IS_ANONYMOUS','fetchThroughInterceptors','waitForRoom$','_onOffline','subject','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','univer-pro.collaboration-client.network-condition.service','getImageSourceCache','updateMember','HttpImport','registerDependencies','hasOwnProperty','push','disposeWithMe','getCurrentUser','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UNDEFINED','session.room-cnt-exceeds','delay','UNIVER_DOC','addImageSourceCache','toString','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','create','_submitChangeset','action','uploadFileServerUrl','_onRemoteRetry','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformUndoredo','&source=','UNIVER_PROJECT','objectActions','OTHER_CLIENTS_EDITING','UniverNetwork','_substituteRedoStack','PERSON','SNAPSHOT_INVALID_SNAPSHOT','subscribe','NEW_CHANGESETS','setConfig','collaMsg','error','enableSingleActiveInstanceLock','target','Plugin','[CollaborationSessionService]:\x20socket\x20error','getLocalCacheKey','ENTITLE_REPORT_LIMIT_EXCEED','JOIN_ROOM_PERMISSION_DENIED','listRoles','shareReplay','REDEMPTION_CODE_HAS_BEEN_CREATED','APPLY_REVISION_CONFILICT','actions','UniverInstanceType','UUID','_waitForHeartbeatResponse','updateCollaborator','SHA1','BlockCipher','isTransformChangesetsSuccess','ENSURE_SNAPSHOT_EXECUTION','rev','UniverProLicense','slice','RevisionService','getTime','signUrlServerUrl','FETCH_MISS','IImageIoService','baseRev','onlyLocal','_doFinalize','_remoteChangesetQueue','_getCtorByUniverType','_HTTPService','min','values','onTransformSelections','AWAITING_WITH_PENDING','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','JOIN_ROOM_FAILED','JOINING','_collaborationSessionService','enableOfflineEditing','_getCurrentRevision','clone','[OfflineState]:\x20received\x20changeset.','toDisposable','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getCollabEntity','412IdMjkA','objectType','UNIVER_SHEET','_onConnectionFailed','originalMeta','CommandType','_instanceService','JOIN_ROOM_NOT_EXISTS','INGEST','PERMISSION_DENIED','SerializableCipher','unitID','_nRounds','readAsDataURL','IUndoRedoService','_entities','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_scheduleCollaborationTimeoutTimer','formatter','DataLoaderService','readInt32LE','MD5','LICENSE_EXPORT_SIZE_EXCEEDED','symbol','getSheetBlock','collaboration-client.local-cache-service','{fileID}','_handlerCallback','onMissedChangesetFetched','parseProtocolChangeset','PasswordBasedCipher','_getAPIPrefix','concatMap','_oKey','UnitStatus','_append','IMentionIOService','INVALID_INVITE_CODE','mutations','closeSession','findIndex','_queuedRemoteChangesets','randomBytes','_clearScheduledTask','_throwTelemetryCollaborationNewChangeset','BASE64','ClipsheetFragments','format','FETCH_MISSING','_state$','_sendHeartbeat','execute','_toggleOffline','_emitMembers','kdf','updatePermissionPoint','processBlock','getUnitType','complete','_createInitialState','/new_changes','_registerDependencies','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','reduce','OpenSSL','lib','Univer','now','range','_entityInit$','_undoStacks','_transformSelections','getOwnPropertyDescriptor','isTransformMutationsWithChangesetFailure','unpad','@univerjs-pro/collaboration','createEncryptor','_clearRedo','__creator','[CollaborationUndoRedoService]','m2Prime','onMissingChangesets','310721Cnriwb','_hasher','_joinRoom','/block/','ISocketService','_keySchedule','UnitSnapshot','UPDATE_CURSOR','DEFAULT_WS_SESSION_TICKET_URL','origin','reconnect','ILocalCacheService','textRanges','YUUMI_CONNECTOR_URL_NOT_FOUND','_incrementRevisionNumber','takeUntil','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','ws://127.0.0.1:8000/universer-api/comb/connect','_singleActiveUnitService','Undefined','socketService','byteLength','pad','sessionStatus$','_decreaseWaiting','add','47353141CTsEwu','DATA_SOURCE_TOO_LARGE','_transformRemoteChangesetByStateCache','LICENSE_IMPORT_SIZE_EXCEEDED','6LHxlkj','Decryptor','_imageSourceCache','AwaitingWithPendingState','[SyncedState]:\x20received\x20rejection.','createIdentifier','ERROR_IMAGE','_onRemoteRejected','duration','selections','sendChangesetTimeout','RETRY_CONNECTING_MAX_COUNT','/rev/','1560348rLzMAh','ENTITLE_INSUFFICIENT_QUOTA','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_transitionLocked','REDEMPTION_CODE_NOT_STARTED','_substituteUndoStack','_compressMutationService','_initDependencies','MOBILE_HAS_BEEN_BOUND','generateRandomId','pluginName','_getSendChangesetTimeout','transformMutationsWithChangeset','EvpKDF','_snapshotServerService','loadOfflineData','rxjs/operators','Utf8','editingUnit','_roomMembers','getActiveSheet','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','&assign=','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','saveImage','session.join-failed','getSheetId','CommentService','newCsEvent','startsWith','init','HEARTBEAT','_prevBlock','_socketMessageSubscription','_candidateSocket','COMPRESS_MUTATION_SEND','revision','\x0aCurrent:\x20','_onRemoteACK','onSendChangeset','IConfigService','failed\x20to\x20apply\x20missed\x20changesets!','[FetchMissState]','_showConflictNotification','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','byteOffset','_logService','key','authzUrl','hostname','CHANGESET_SHOULD_RETRY','_createInitialStateImpl','save\x20fail\x20reason\x20is\x20','ReplaySubject','_updateLocalCache','@univerjs/network','c1Prime','HMAC','getCurrentSelections','_event$','incrementRevOfUnit','_commandService','ceil','MSG_FOR_ERROR','UnitEmbedded','_retryCount','FetchingMissState','SessionStatus','INVITE_CODE_HAS_BEEN_UES','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Module','Optional','_sendHeartbeatTimer','disableLocalCache','merge','ONLINE','[PendingState]:\x20received\x20rejection.','LOGIN_TOKEN_PROCESSING_FAILED','DEFAULT_FILE_NAME','from','SUCCUSS','AWAITING','cfg','getMemberID','enc','LIVESHARE_OPERATION','_commentUpdate$','LIVESHARE_FETCH_OPERATIONS','objectID','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_hash','ImageUploadStatusType','transformStack\x20failed!','UNKNOWN_CMD','_status$','__Key__','LICENSE_DISTRO_REJECTED','error$','post','/universer-api/stream/file/upload','HELLO','max','SOCKET_FAILED','AwaitingState','_telemetryInfo','/universer-api/user/session-ticket','?url=','toggleOffline','uniscriptRunEvent','FAIL','Subject','NO_OTHER_CLIENTS_EDITING','enableCollaboration','list','_process','_keyPriorReset','_scheduleCompleteTimestamp','ENTITLE_NEED_BILLING_ADDRESS','BlockCipherMode','stringify','find','_collaborationUIEventService','auth.needGotoLoginAlert','getResourcesRequest','EMAIL_HAS_BEEN_BOUND','_initUnitPermissionChange','PERMISSION_REJ','[CollaborationSessionService]','session.room-permission-denied','YUUMI_NO_CUBOID_FOR_QUESTION','next','CBC','CLOSE_ROOM','_removeRoom','UNIVER_UNKNOWN','_change$','location','BufferedBlockAlgorithm','reverse','_timeoutTimer','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','1297865YMucoc','Latin1','APPLY_DUPLICATED','NOT_COLLAB','_onConnectionOpen','transformUndoRedo','LIVESHARE_TERMINATE','snapshotServerUrl','onTransformRemoteChangesetByIMECache','SUBMIT_CHANGESET_TIMEOUT','reqId','_minBufferSize','_mode','getConfig','exports','_onUserJoin','YUUMI_URL_COL_OUT_OF_RANGE','random','then','_transformRemoteChangesetByIMECache','_onRecvEvent','_clearHeartbeatTimer','workbook','splice','pending','readyForCollab','CompressMutationService','_map','onSyncEditingCollabCursor','getUnitOnRev','SheetPermissionInitController','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_syncEditingCollabCursor','LIVESHARE_REQUEST_HOST','localeService','textEncoder','session','_initMergeInterceptor','getRandomValues','_userManagerService','USERS_LEAVE','headers','_clearUndo','ALREADY_EXISTS','HttpExport','COMPLETION_FINISHED','code','memberID','RichTextEditingMutation','buffer','_networkConditionService','_waitCount','fromCharCode','CONNECTOR_DATA_TOO_LARGE','sid','substr','/universer-api/authz','CONFLICT','body','asObservable','[OfflineState]:\x20received\x20acknowledgement.','close$','3138lrOVOJ','ivSize','_isPermissionRej','cmd','unsubscribe','patch','confirm','getInterceptPoints','ThresholdInterceptorFactory','SheetsSelectionsService','updateOfflineData','LOGIN_FAILED','_sessionStatus$','_createHandler','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','getImage','IPermissionService','_iv','_stopTelemetryCollaborationNewChangeset','HTTPService','file','_sessions','\x0aAfter:\x20','equals','_clearCollaborationTimeoutTimer','enableAuthServer','REDEMPTION_CODE_INACTIVE','_changesetReqId','[PendingState]:\x20received\x20acknowledgement.','_createSocket','ImageSourceType','INVALID_ARGUMENT','ENTITLE_CHAT_LIMIT_EXCEED','isArray','forEach','localCacheService','entityInit$','image/bmp','send','IContextService','_collaborationPaused','CollaborationSession','fetchMissingChangesets','2149sjqSKa','getWorkbookSelections','OFFLINE','_ENC_XFORM_MODE','LIVESHARE_NEW_HOST','CollaborationSocketService','getCollabEntity$','padding','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','iterations','_state','_onMessage','shouldCloseConn','setWaitCount','TOO_MANY_REQUESTS','params','_permissionService','clamp','UniverCollaborationClientPlugin','_memberService','ERROR_EXCEED_SIZE','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','loadUnit','70ZodXYR','CURRENT_STATUS_CANNOT_OPERATE','_createHmacHelper','isTransformMutationsWithChangesetSuccess','_collabSessionService','_type','INTERNAL_ERROR','clear','INVITE_CODE_ALREADY_BOUND','UniverCore','_httpService','INetworkConditionService','_getAPIPrefixPath','REDEMPTION_CODE_FULLY_REDEEMED','[CollaborationSession]','_getUploadFileURL','_commentService','requestParams','href','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_members','mixIn','RECV','POST','onRemoteRetry','[SyncedState]:\x20received\x20acknowledgement.','onCommandExecuted','Failed\x20to\x20update\x20permission\x20point','sheets','unitInfo$','Malformed\x20UTF-8\x20data','_createHelper','_sheetTransformSelectionsService','_socketReady','USERS_ENTER','NoPadding','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','liveShareNewHost','IAuthzIoService','_key','_sender','Workbook','PendingState','onRemoteRej','awaitingChangeset','changesets','downloadEndpointUrl','loadSheet','_socketService','take','commentUpdate$','_config','encodeURIComponent','_members$','getUnit','MentionIoHttpService','liveShareOperation','onRemoteChangeset','transformSelections','size','isInternalEditorID','CollaborationUIEventService','AES','image/jpg','extend','UserManagerService','appendMutation','hasher','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverDrawing','_fetchMissChangesets','?size=','interceptor','/-/object/-/batch_allowed','sin','_awaitingChangeset','image/gif','socket\x20close','_roomCreated$','debug','_onRemoteChangeset','retryConnectingInterval','USER_NOT_INVITED_CODE','fetching\x20missing\x20changesets\x20from\x20','PY_RUNTIME_SCRIPT_ERROR','_clearTimeoutTimer','getCurrentRevOfUnit','/allowed','getFocusedUnit','rxjs','joinRsp','People','capture','online$','ICommandService','dispose','WorkbookEditablePermission','getLatestCsReqIdBySid','Error\x20on\x20receiving\x20event','_transformIMECache','SyncedState','msCrypto','IDLE','createDecryptor','reject','SNAPSHOT_URL_KEY','_eventService','_onLocalMutation','/collaborator','blockSize','charCodeAt','url','startTime','CollaborationStatus','UniverProCollaborationClient','_reverseMap','[UniverCollaborationClientPlugin]','keySize','UniverSheets','collaborators','_startTelemetryCollaborationNewChangeset','parse','SheetCollaborationEntity','_initCloseConn','UNIVER_COLLABORATION_CLIENT_PLUGIN','mode','join','Encryptor','requireSession','onStateChange','algo','setShowComponents','$super','roles','LEAVE','_unlockTransition','MemberService','sigBytes','univer-pro.collaboration-client.single-active-unit-service','[PendingState]:\x20unhandled\x20univer\x20type:\x20','DocCollaborationEntity','CollaborationSessionService','UNKNOWN_CODE','charAt','_retryConnectingTimer','PAYMENT_CHANNEL_NOT_SUPPORT','connection\x20error','get','_applyRemoteChangeset','InsertSheetMutation','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','result','loadDoc','concat','userID','MentionType','_sendingTimer','createSocket','_onJoinRoomEvent','filter','_unitInfo$','registerHTTPInterceptor','_getSignURL','_resendTimer','ERROR_AGAIN','initWorkbookPermissionChange','delete','HmacSHA1'];_0x44db=function(){return _0x28651c;};return _0x44db();}(function(_0x1dd14f,_0x56d8ed){var _0x447e10=_0x532f,_0x19d4ac=_0x1dd14f();while(!![]){try{var _0x5480fc=parseInt(_0x447e10(0x1db))/0x1*(-parseInt(_0x447e10(0x1f9))/0x2)+-parseInt(_0x447e10(0x100))/0x3*(-parseInt(_0x447e10(0x189))/0x4)+parseInt(_0x447e10(0x295))/0x5+-parseInt(_0x447e10(0x2d3))/0x6*(parseInt(_0x447e10(0x2ff))/0x7)+-parseInt(_0x447e10(0x40f))/0x8+parseInt(_0x447e10(0x206))/0x9*(-parseInt(_0x447e10(0x316))/0xa)+parseInt(_0x447e10(0x1f5))/0xb;if(_0x5480fc===_0x56d8ed)break;else _0x19d4ac['push'](_0x19d4ac['shift']());}catch(_0x3a5ecb){_0x19d4ac['push'](_0x19d4ac['shift']());}}}(_0x44db,0xea253),function(_0x3ff5c3,_0x1cf5e0){var _0xe7f8c3=_0x532f;typeof exports=='object'&&typeof module<'u'?_0x1cf5e0(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/drawing'),require('@univerjs-pro/license')):typeof define==_0xe7f8c3(0x127)&&define['amd']?define([_0xe7f8c3(0x2a3),_0xe7f8c3(0x1d4),_0xe7f8c3(0x102),_0xe7f8c3(0xf0),'@univerjs/sheets',_0xe7f8c3(0x370),'@univerjs/telemetry',_0xe7f8c3(0x216),_0xe7f8c3(0x23e),_0xe7f8c3(0x9f),_0xe7f8c3(0x3dc)],_0x1cf5e0):(_0x3ff5c3=typeof globalThis<'u'?globalThis:_0x3ff5c3||self,_0x1cf5e0(_0x3ff5c3[_0xe7f8c3(0x389)]={},_0x3ff5c3['UniverProCollaboration'],_0x3ff5c3[_0xe7f8c3(0x31f)],_0x3ff5c3[_0xe7f8c3(0x41c)],_0x3ff5c3[_0xe7f8c3(0x38d)],_0x3ff5c3[_0xe7f8c3(0x370)],_0x3ff5c3['UniverTelemetry'],_0x3ff5c3['rxjs'][_0xe7f8c3(0x91)],_0x3ff5c3[_0xe7f8c3(0x14f)],_0x3ff5c3[_0xe7f8c3(0x35c)],_0x3ff5c3[_0xe7f8c3(0x16d)]));}(this,function(_0x247d18,_0x4f9634,_0x112078,_0x171cda,_0x44a4a2,_0x1909d3,_0x1782f1,_0x57d774,_0x1b0b18,_0x4b9ee5,_0x236deb){'use strict';var _0x46a189=_0x532f;var _0x3f386d=Object[_0x46a189(0x122)],_0x2a6c22=(_0x4525f8,_0x3c351a,_0x565171)=>_0x3c351a in _0x4525f8?_0x3f386d(_0x4525f8,_0x3c351a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x565171}):_0x4525f8[_0x3c351a]=_0x565171,_0x25aa6e=(_0x56ef5b,_0x5a9b84,_0x1eafcd)=>_0x2a6c22(_0x56ef5b,typeof _0x5a9b84!=_0x46a189(0x1a0)?_0x5a9b84+'':_0x5a9b84,_0x1eafcd);const _0x22f59e=_0x46a189(0x421),_0x30d808=_0x46a189(0x380),_0x1cfacc=_0x46a189(0x1ec),_0x35d64c=_0x46a189(0x271),_0x3dbfa6=_0x46a189(0x3ea),_0x375a07=_0x46a189(0x3d2),_0x302883=_0x46a189(0x204),_0x2ccf29=_0x46a189(0x406),_0x18fa10='/universer-api/comb',_0x1c9c58='/universer-api/oidc/authpage',_0x475e7c=_0x46a189(0x24c),_0x3f6e73=_0x46a189(0x41f);var _0x169ac9=(_0x45a58d=>(_0x45a58d[_0x45a58d['UNDEFINED']=0x0]=_0x46a189(0x13d),_0x45a58d[_0x45a58d['OK']=0x1]='OK',_0x45a58d[_0x45a58d[_0x46a189(0x31c)]=0x2]=_0x46a189(0x31c),_0x45a58d[_0x45a58d[_0x46a189(0x192)]=0x3]=_0x46a189(0x192),_0x45a58d[_0x45a58d[_0x46a189(0x88)]=0x4]=_0x46a189(0x88),_0x45a58d[_0x45a58d[_0x46a189(0xd7)]=0x5]=_0x46a189(0xd7),_0x45a58d[_0x45a58d['ALREADY_EXISTS']=0x6]=_0x46a189(0x2c0),_0x45a58d[_0x45a58d[_0x46a189(0x2f3)]=0x7]=_0x46a189(0x2f3),_0x45a58d[_0x45a58d[_0x46a189(0x30d)]=0x8]=_0x46a189(0x30d),_0x45a58d[_0x45a58d[_0x46a189(0x2c2)]=0x9]='COMPLETION_FINISHED',_0x45a58d[_0x45a58d[_0x46a189(0x2de)]=0xa]=_0x46a189(0x2de),_0x45a58d[_0x45a58d[_0x46a189(0x3f0)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x45a58d[_0x45a58d[_0x46a189(0x17e)]=0xc]=_0x46a189(0x17e),_0x45a58d[_0x45a58d[_0x46a189(0xe9)]=0xd]=_0x46a189(0xe9),_0x45a58d[_0x45a58d[_0x46a189(0x32a)]=0xe]=_0x46a189(0x32a),_0x45a58d[_0x45a58d[_0x46a189(0x3c0)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x45a58d[_0x45a58d[_0x46a189(0x254)]=0x10]=_0x46a189(0x254),_0x45a58d[_0x45a58d[_0x46a189(0x317)]=0x64]=_0x46a189(0x317),_0x45a58d[_0x45a58d[_0x46a189(0x3bb)]=0x65]=_0x46a189(0x3bb),_0x45a58d[_0x45a58d[_0x46a189(0x3c3)]=0xc9]=_0x46a189(0x3c3),_0x45a58d[_0x45a58d[_0x46a189(0x12d)]=0xca]=_0x46a189(0x12d),_0x45a58d[_0x45a58d[_0x46a189(0xac)]=0x1389]=_0x46a189(0xac),_0x45a58d[_0x45a58d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x46a189(0x152),_0x45a58d[_0x45a58d[_0x46a189(0x420)]=0x1772]=_0x46a189(0x420),_0x45a58d[_0x45a58d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x46a189(0x16b),_0x45a58d[_0x45a58d[_0x46a189(0x3eb)]=0x1b59]=_0x46a189(0x3eb),_0x45a58d[_0x45a58d[_0x46a189(0x107)]=0x1b5a]=_0x46a189(0x107),_0x45a58d[_0x45a58d[_0x46a189(0x162)]=0x1b5b]=_0x46a189(0x162),_0x45a58d[_0x45a58d[_0x46a189(0x3bf)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x45a58d[_0x45a58d[_0x46a189(0x297)]=0x1b5d]=_0x46a189(0x297),_0x45a58d[_0x45a58d[_0x46a189(0x2ca)]=0x1f41]=_0x46a189(0x2ca),_0x45a58d[_0x45a58d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x46a189(0xdd),_0x45a58d[_0x45a58d[_0x46a189(0x21b)]=0x232a]=_0x46a189(0x21b),_0x45a58d[_0x45a58d[_0x46a189(0x1f8)]=0x232b]=_0x46a189(0x1f8),_0x45a58d[_0x45a58d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x46a189(0x19f),_0x45a58d[_0x45a58d[_0x46a189(0x268)]=0x232d]=_0x46a189(0x268),_0x45a58d[_0x45a58d[_0x46a189(0xdb)]=0x2711]=_0x46a189(0xdb),_0x45a58d[_0x45a58d[_0x46a189(0x2a5)]=0x2712]=_0x46a189(0x2a5),_0x45a58d[_0x45a58d['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x45a58d[_0x45a58d[_0x46a189(0xda)]=0x2714]=_0x46a189(0xda),_0x45a58d[_0x45a58d[_0x46a189(0x289)]=0x271a]=_0x46a189(0x289),_0x45a58d[_0x45a58d[_0x46a189(0xc6)]=0x271b]=_0x46a189(0xc6),_0x45a58d[_0x45a58d[_0x46a189(0x261)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x45a58d[_0x45a58d['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x45a58d[_0x45a58d[_0x46a189(0x35b)]=0x271e]=_0x46a189(0x35b),_0x45a58d[_0x45a58d[_0x46a189(0x424)]=0x271f]=_0x46a189(0x424),_0x45a58d[_0x45a58d[_0x46a189(0x1e8)]=0x2720]=_0x46a189(0x1e8),_0x45a58d[_0x45a58d[_0x46a189(0x36b)]=0x2af9]=_0x46a189(0x36b),_0x45a58d[_0x45a58d['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x46a189(0x24b),_0x45a58d[_0x45a58d[_0x46a189(0x1ae)]=0x2ee2]=_0x46a189(0x1ae),_0x45a58d[_0x45a58d[_0x46a189(0xa0)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x45a58d[_0x45a58d[_0x46a189(0x369)]=0x2ee4]=_0x46a189(0x369),_0x45a58d[_0x45a58d[_0x46a189(0x31e)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x45a58d[_0x45a58d[_0x46a189(0x87)]=0x32c9]=_0x46a189(0x87),_0x45a58d[_0x45a58d[_0x46a189(0x20e)]=0x32ca]=_0x46a189(0x20e),_0x45a58d[_0x45a58d[_0x46a189(0x284)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x45a58d[_0x45a58d[_0x46a189(0x199)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x45a58d[_0x45a58d[_0x46a189(0x13c)]=0x36b2]=_0x46a189(0x13c),_0x45a58d[_0x45a58d[_0x46a189(0x103)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x45a58d[_0x45a58d[_0x46a189(0x3a8)]=0x36b4]=_0x46a189(0x3a8),_0x45a58d[_0x45a58d[_0x46a189(0x2f4)]=0x3715]=_0x46a189(0x2f4),_0x45a58d[_0x45a58d[_0x46a189(0x15d)]=0x3716]=_0x46a189(0x15d),_0x45a58d[_0x45a58d[_0x46a189(0x207)]=0x3717]=_0x46a189(0x207),_0x45a58d[_0x45a58d[_0x46a189(0x27d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x45a58d[_0x45a58d[_0x46a189(0x3c1)]=0x3a99]=_0x46a189(0x3c1),_0x45a58d[_0x45a58d[_0x46a189(0x2ee)]=0x3a9a]=_0x46a189(0x2ee),_0x45a58d[_0x45a58d[_0x46a189(0x323)]=0x3a9b]=_0x46a189(0x323),_0x45a58d[_0x45a58d[_0x46a189(0x20a)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x45a58d[_0x45a58d['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x46a189(0x403),_0x45a58d[_0x45a58d[_0x46a189(0x2b4)]=0x3a9e]=_0x46a189(0x2b4),_0x45a58d[_0x45a58d['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x46a189(0x161),_0x45a58d[_0x45a58d['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x46a189(0x1f6),_0x45a58d[_0x45a58d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x45a58d))(_0x169ac9||{}),_0x193e02=(_0x307967=>(_0x307967[_0x307967[_0x46a189(0x28e)]=0x0]=_0x46a189(0x28e),_0x307967[_0x307967['UNIVER_DOC']=0x1]=_0x46a189(0x140),_0x307967[_0x307967['UNIVER_SHEET']=0x2]=_0x46a189(0x18b),_0x307967[_0x307967[_0x46a189(0xd1)]=0x3]=_0x46a189(0xd1),_0x307967[_0x307967[_0x46a189(0x14c)]=0x4]='UNIVER_PROJECT',_0x307967[_0x307967[_0x46a189(0x415)]=-0x1]=_0x46a189(0x415),_0x307967))(_0x193e02||{}),_0x32720a=(_0x57b738=>(_0x57b738[_0x57b738[_0x46a189(0x265)]=0x0]=_0x46a189(0x265),_0x57b738[_0x57b738[_0x46a189(0x26c)]=0x1]='HELLO',_0x57b738[_0x57b738['JOIN']=0x2]=_0x46a189(0xd0),_0x57b738[_0x57b738[_0x46a189(0x39d)]=0x3]='LEAVE',_0x57b738[_0x57b738[_0x46a189(0x191)]=0x4]='INGEST',_0x57b738[_0x57b738[_0x46a189(0x226)]=0x5]=_0x46a189(0x226),_0x57b738[_0x57b738[_0x46a189(0x32d)]=0x6]=_0x46a189(0x32d),_0x57b738[_0x57b738[_0x46a189(0x415)]=-0x1]=_0x46a189(0x415),_0x57b738))(_0x32720a||{}),_0x142cf7=(_0x500a0c=>(_0x500a0c[_0x500a0c['UNKNOWN_CODE']=0x0]=_0x46a189(0x3a5),_0x500a0c[_0x500a0c['OK']=0x1]='OK',_0x500a0c[_0x500a0c['FAIL']=0x2]='FAIL',_0x500a0c[_0x500a0c[_0x46a189(0x409)]=0x3e9]=_0x46a189(0x409),_0x500a0c[_0x500a0c[_0x46a189(0x190)]=0x3ea]=_0x46a189(0x190),_0x500a0c[_0x500a0c[_0x46a189(0x15e)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x500a0c[_0x500a0c[_0x46a189(0x92)]=0x3ec]=_0x46a189(0x92),_0x500a0c[_0x500a0c[_0x46a189(0x415)]=-0x1]=_0x46a189(0x415),_0x500a0c))(_0x142cf7||{}),_0x6a4310=(_0x71b615=>(_0x71b615[_0x71b615[_0x46a189(0x1ee)]=0x0]=_0x46a189(0x1ee),_0x71b615[_0x71b615['HttpImport']=0x1]=_0x46a189(0x136),_0x71b615[_0x71b615[_0x46a189(0x2c1)]=0x2]=_0x46a189(0x2c1),_0x71b615[_0x71b615[_0x46a189(0x247)]=0x3]=_0x46a189(0x247),_0x71b615[_0x71b615[_0x46a189(0x1e1)]=0x4]=_0x46a189(0x1e1),_0x71b615[_0x71b615['UserProfileImg']=0x5]='UserProfileImg',_0x71b615[_0x71b615[_0x46a189(0x1b7)]=0x6]=_0x46a189(0x1b7),_0x71b615[_0x71b615[_0x46a189(0x415)]=-0x1]='UNRECOGNIZED',_0x71b615))(_0x6a4310||{});const _0x31a0de='collaboration_new_changeset';function _0x5170bd(_0x4c3de5){var _0xe7d2e5=_0x46a189;return JSON[_0xe7d2e5(0x27f)](_0x4c3de5)[_0xe7d2e5(0x86)];}var _0xee750e=(_0x18023d=>(_0x18023d[_0x46a189(0x126)]='OTHER_CLIENT_EDITING',_0x18023d['PERMISSION_DENIED']='PERMISSION_DENIED',_0x18023d[_0x46a189(0x2ce)]=_0x46a189(0x2ce),_0x18023d[_0x46a189(0x28c)]='CLOSE_ROOM',_0x18023d['JOIN_ROOM_FAILED']=_0x46a189(0x17f),_0x18023d['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x18023d['SOCKET_FAILED']='SOCKET_FAILED',_0x18023d[_0x46a189(0x29e)]='SUBMIT_CHANGESET_TIMEOUT',_0x18023d))(_0xee750e||{});class _0x12b7ba{constructor(){var _0x14992d=_0x46a189;_0x25aa6e(this,'_event$',new _0x1909d3[(_0x14992d(0x276))]()),_0x25aa6e(this,_0x14992d(0xd4),this[_0x14992d(0x242)]['asObservable']());}[_0x46a189(0xe5)](_0x417e97){var _0x3b9f9d=_0x46a189;this['_event$'][_0x3b9f9d(0x28a)](_0x417e97);}}class _0x4b3801{constructor(){var _0x917324=_0x46a189;_0x25aa6e(this,'_commentUpdate$',new _0x1909d3['Subject']()),_0x25aa6e(this,_0x917324(0x349),this[_0x917324(0x25d)][_0x917324(0x2d0)]());}['onCommentUpdate'](_0x29a07a){var _0x12abf5=_0x46a189;this['_commentUpdate$'][_0x12abf5(0x28a)](_0x29a07a);}}var _0x5178df=Object[_0x46a189(0x1d1)],_0x10812b=(_0x493b55,_0x31989a,_0x1b9379,_0x2fc5f9)=>{var _0x4a596c=_0x46a189;for(var _0x529dda=_0x2fc5f9>0x1?void 0x0:_0x2fc5f9?_0x5178df(_0x31989a,_0x1b9379):_0x31989a,_0x95f1b9=_0x493b55[_0x4a596c(0x86)]-0x1,_0x506b6e;_0x95f1b9>=0x0;_0x95f1b9--)(_0x506b6e=_0x493b55[_0x95f1b9])&&(_0x529dda=_0x506b6e(_0x529dda)||_0x529dda);return _0x529dda;},_0x226330=(_0x36f549,_0x2fb304)=>(_0x2f5581,_0x1f236c)=>_0x2fb304(_0x2f5581,_0x1f236c,_0x36f549);_0x247d18[_0x46a189(0x39f)]=class extends _0x112078[_0x46a189(0x426)]{constructor(_0x1310e9,_0x17b136){var _0x27763=_0x46a189;super(),_0x25aa6e(this,_0x27763(0x219),new Map()),_0x25aa6e(this,'_roomCreated$',new _0x1909d3[(_0x27763(0x276))]()),(this[_0x27763(0x3cf)]=_0x1310e9,this['_userManagerService']=_0x17b136,this[_0x27763(0x13a)](_0x1909d3[_0x27763(0x251)](this[_0x27763(0x3cf)][_0x27763(0x3d6)](_0x112078[_0x27763(0x164)]['UNIVER_SHEET'])[_0x27763(0x41a)](_0x57d774[_0x27763(0xb5)](_0x412ac1=>_0x412ac1[_0x27763(0x9c)]())),this['_univerInstanceService'][_0x27763(0x3d6)](_0x112078[_0x27763(0x164)]['UNIVER_DOC'])[_0x27763(0x41a)](_0x57d774['map'](_0x3e53fa=>_0x3e53fa['getUnitId']())),this[_0x27763(0x3cf)][_0x27763(0x3d6)](_0x112078[_0x27763(0x164)][_0x27763(0xd1)])['pipe'](_0x57d774['map'](_0x5a3970=>_0x5a3970[_0x27763(0x9c)]())))[_0x27763(0x153)](_0x37879c=>this[_0x27763(0x28d)](_0x37879c))));}[_0x46a189(0x12f)](_0x30d39e){var _0x22498b=_0x46a189;return this[_0x22498b(0x219)][_0x22498b(0x10b)](_0x30d39e)?_0x1909d3['of'](this['_roomMembers'][_0x22498b(0x3aa)](_0x30d39e)):this[_0x22498b(0x365)][_0x22498b(0x41a)](_0x57d774[_0x22498b(0xb5)](_0x38ad1b=>{var _0x4ed957=_0x22498b;if(_0x38ad1b===_0x30d39e)return this[_0x4ed957(0x219)][_0x4ed957(0x3aa)](_0x38ad1b);}));}[_0x46a189(0x3c4)](_0x50fc61){var _0x1074a3=_0x46a189;this[_0x1074a3(0x2bc)]['setCurrentUser'](_0x50fc61);}[_0x46a189(0x13b)](){var _0x51d8e3=_0x46a189;return this[_0x51d8e3(0x2bc)][_0x51d8e3(0x13b)]();}[_0x46a189(0x135)](_0x5a2c63,_0xdbf0d2){var _0x7e8a3c=_0x46a189;let _0x18be40=this['_roomMembers']['get'](_0x5a2c63);_0x18be40||(_0x18be40=new _0x8f18a2(),this[_0x7e8a3c(0x219)][_0x7e8a3c(0xf3)](_0x5a2c63,_0x18be40),this[_0x7e8a3c(0x365)][_0x7e8a3c(0x28a)](_0x5a2c63)),_0x18be40[_0x7e8a3c(0x135)](_0xdbf0d2);}[_0x46a189(0x106)](_0x3de89b,_0x8d3a43){var _0x267127=_0x46a189;const _0x49d129=this[_0x267127(0x219)][_0x267127(0x3aa)](_0x3de89b);_0x49d129&&_0x49d129[_0x267127(0x106)](_0x8d3a43);}['getRoom'](_0x485367){var _0x5d8f02=_0x46a189;return this[_0x5d8f02(0x219)][_0x5d8f02(0x3aa)](_0x485367);}[_0x46a189(0x9a)](_0x79a973,_0x1e8b0c){var _0x2a2188=_0x46a189;const _0x297339=this[_0x2a2188(0x219)][_0x2a2188(0x3aa)](_0x79a973);if(_0x297339)return _0x297339[_0x2a2188(0x9a)](_0x1e8b0c);}[_0x46a189(0x28d)](_0x1adacb){var _0x3f7099=_0x46a189;const _0x219fc2=this[_0x3f7099(0x219)]['get'](_0x1adacb);_0x219fc2&&(_0x219fc2[_0x3f7099(0x376)](),this[_0x3f7099(0x219)][_0x3f7099(0x3bd)](_0x1adacb));}[_0x46a189(0x376)](){var _0x1790b0=_0x46a189;this[_0x1790b0(0x219)][_0x1790b0(0x2f6)](_0x51d581=>_0x51d581[_0x1790b0(0x376)]()),this[_0x1790b0(0x219)][_0x1790b0(0x31d)](),this['_roomCreated$'][_0x1790b0(0x1c3)]();}},_0x247d18[_0x46a189(0x39f)]=_0x10812b([_0x226330(0x0,_0x112078[_0x46a189(0x93)]),_0x226330(0x1,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x358)]))],_0x247d18[_0x46a189(0x39f)]);class _0x8f18a2 extends _0x112078[_0x46a189(0x426)]{constructor(){var _0x24eb48=_0x46a189;super(...arguments),_0x25aa6e(this,_0x24eb48(0x32b),new Map()),_0x25aa6e(this,_0x24eb48(0x34c),new _0x1909d3['BehaviorSubject'](this[_0x24eb48(0x32b)])),_0x25aa6e(this,'members$',this[_0x24eb48(0x34c)]['asObservable']());}[_0x46a189(0x376)](){var _0x1cba53=_0x46a189;this['_members'][_0x1cba53(0x31d)]();}[_0x46a189(0x135)](_0x473519){var _0x3fb3cc=_0x46a189;this[_0x3fb3cc(0x32b)][_0x3fb3cc(0xf3)](_0x473519['memberID'],_0x473519),this['_emitMembers']();}['removeMember'](_0x4e323b){var _0x439dda=_0x46a189;this[_0x439dda(0x32b)][_0x439dda(0x3bd)](_0x4e323b);}[_0x46a189(0x9a)](_0x3571d6){var _0x1bc299=_0x46a189;return this[_0x1bc299(0x32b)]['get'](_0x3571d6);}[_0x46a189(0x114)](){var _0x55935d=_0x46a189;return Array[_0x55935d(0x256)](this[_0x55935d(0x32b)][_0x55935d(0x17b)]());}[_0x46a189(0x1be)](){var _0x859ac7=_0x46a189;this[_0x859ac7(0x34c)][_0x859ac7(0x28a)](this[_0x859ac7(0x32b)]);}}var _0x1384ba=Object['getOwnPropertyDescriptor'],_0x2aeca1=(_0x31341b,_0x408785,_0x329157,_0x45e07d)=>{for(var _0x4af454=_0x45e07d>0x1?void 0x0:_0x45e07d?_0x1384ba(_0x408785,_0x329157):_0x408785,_0x330ad5=_0x31341b['length']-0x1,_0x4c6ae9;_0x330ad5>=0x0;_0x330ad5--)(_0x4c6ae9=_0x31341b[_0x330ad5])&&(_0x4af454=_0x4c6ae9(_0x4af454)||_0x4af454);return _0x4af454;},_0x5bc123=(_0x3f688c,_0x4dcc57)=>(_0x3e57df,_0x744d43)=>_0x4dcc57(_0x3e57df,_0x744d43,_0x3f688c),_0x4f1434=(_0x3956ba=>(_0x3956ba[_0x3956ba[_0x46a189(0x37d)]=0x0]=_0x46a189(0x37d),_0x3956ba[_0x3956ba[_0x46a189(0x180)]=0x1]=_0x46a189(0x180),_0x3956ba[_0x3956ba['OFFLINE']=0x2]=_0x46a189(0x301),_0x3956ba[_0x3956ba[_0x46a189(0x252)]=0x3]=_0x46a189(0x252),_0x3956ba))(_0x4f1434||{});const _0x51a3a6={[_0x142cf7[_0x46a189(0x275)]]:_0x46a189(0x220),[_0x142cf7[_0x46a189(0x409)]]:'session.room-full',[_0x142cf7[_0x46a189(0x190)]]:'session.room-not-exists',[_0x142cf7['JOIN_ROOM_PERMISSION_DENIED']]:_0x46a189(0x288),[_0x142cf7[_0x46a189(0x92)]]:_0x46a189(0x13e)};_0x247d18[_0x46a189(0x2fd)]=class extends _0x112078[_0x46a189(0x113)]{constructor(_0x1f4042,_0x14430d,_0xb64d32,_0x404b49,_0x34f835,_0x52ceba,_0x4914c8,_0x5cfa75){var _0x3298e9=_0x46a189;super(),_0x25aa6e(this,_0x3298e9(0x2df),new _0x1909d3[(_0x3298e9(0xf5))](0x0)),_0x25aa6e(this,_0x3298e9(0x1f2),this[_0x3298e9(0x2df)]['asObservable']()),_0x25aa6e(this,_0x3298e9(0x242),new _0x1909d3[(_0x3298e9(0x276))]()),_0x25aa6e(this,_0x3298e9(0xd4),this['_event$'][_0x3298e9(0x2d0)]()),_0x25aa6e(this,_0x3298e9(0xd5)),_0x25aa6e(this,_0x3298e9(0x228)),_0x25aa6e(this,_0x3298e9(0xa3)),_0x25aa6e(this,_0x3298e9(0xf9),!0x1),_0x25aa6e(this,_0x3298e9(0x270),null),(this[_0x3298e9(0x3dd)]=_0x1f4042,this[_0x3298e9(0x235)]=_0xb64d32,this[_0x3298e9(0xad)]=_0x404b49,this[_0x3298e9(0x312)]=_0x34f835,this[_0x3298e9(0x326)]=_0x52ceba,this[_0x3298e9(0x281)]=_0x4914c8,this[_0x3298e9(0xe7)]=_0x5cfa75,this['_shouldReportTelemetry']=!!this[_0x3298e9(0xe7)],_0x14430d[_0x3298e9(0x41a)](_0x1909d3[_0x3298e9(0x1ea)](this[_0x3298e9(0x98)]))[_0x3298e9(0x153)](_0x580b78=>{var _0x532f5e=_0x3298e9,_0x56994a;typeof _0x580b78>'u'||(this[_0x532f5e(0xd5)]=_0x580b78,_0x580b78?(this[_0x532f5e(0x1dd)](_0x580b78),this[_0x532f5e(0x228)]=_0x580b78['message$']['subscribe'](_0x35ec51=>{var _0xcb3d2c=_0x532f5e;_0x35ec51[_0xcb3d2c(0xb1)]===this['_unitID']&&this[_0xcb3d2c(0x3f9)](_0x35ec51);})):(this[_0x532f5e(0x1b5)](),this[_0x532f5e(0x2df)][_0x532f5e(0x28a)](0x2),(_0x56994a=this[_0x532f5e(0x228)])==null||_0x56994a[_0x532f5e(0x2d7)](),this[_0x532f5e(0x228)]=null));}));}get[_0x46a189(0x3fa)](){var _0xbaaac5=_0x46a189;return this[_0xbaaac5(0x2df)]['getValue']();}[_0x46a189(0x25a)](){var _0x1335a3=_0x46a189,_0x6d8109,_0x541133;return(_0x541133=(_0x6d8109=this['_socket'])==null?void 0x0:_0x6d8109[_0x1335a3(0x2c4)])!=null?_0x541133:null;}[_0x46a189(0x376)](){var _0xe67f98=_0x46a189;super[_0xe67f98(0x376)](),this[_0xe67f98(0x98)][_0xe67f98(0x28a)](),this['dispose$'][_0xe67f98(0x1c3)]();}[_0x46a189(0xbc)](){var _0x179474=_0x46a189,_0x5967c4,_0x47ea24;this[_0x179474(0x1b5)](),(_0x5967c4=this[_0x179474(0xd5)])==null||_0x5967c4[_0x179474(0x2fa)]({'cmd':_0x32720a[_0x179474(0x39d)],'data':{'roomID':this[_0x179474(0x3dd)]}}),(_0x47ea24=this['_socket'])==null||_0x47ea24['close'](),this[_0x179474(0x242)]['complete'](),this['_sessionStatus$'][_0x179474(0x1c3)](),this[_0x179474(0x376)]();}[_0x46a189(0x3f9)](_0xdda356){var _0x2cacce=_0x46a189;_0xdda356[_0x2cacce(0x2d6)]===_0x32720a['JOIN']?this[_0x2cacce(0x3b5)](_0xdda356):_0xdda356[_0x2cacce(0x2d6)]===_0x32720a[_0x2cacce(0x32d)]&&this[_0x2cacce(0x2a9)](_0xdda356);}[_0x46a189(0x1dd)](_0x5c6826){var _0x537e8c=_0x46a189;this[_0x537e8c(0x2df)]['next'](0x1),_0x5c6826[_0x537e8c(0x2fa)]({'cmd':_0x32720a['JOIN'],'routeKey':this[_0x537e8c(0x3dd)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x46a189(0x3b5)](_0x325a7c){var _0x41a1a9=_0x46a189,_0x34867a;if(_0x325a7c[_0x41a1a9(0x2c3)]in _0x51a3a6){this[_0x41a1a9(0x281)]['emitEvent']({'id':_0xee750e[_0x41a1a9(0x17f)],'data':_0x51a3a6[_0x325a7c[_0x41a1a9(0x2c3)]]}),this['_sessionStatus$']['next'](0x2);return;}this['_sessionStatus$'][_0x41a1a9(0x28a)](0x3);const _0x56fd95=(_0x34867a=_0x325a7c[_0x41a1a9(0x3f5)]['roomInfos'][this[_0x41a1a9(0x3dd)]])==null?void 0x0:_0x34867a[_0x41a1a9(0xfa)];_0x56fd95&&_0x56fd95[_0x41a1a9(0x2f6)](_0x2de559=>this[_0x41a1a9(0x312)][_0x41a1a9(0x135)](this[_0x41a1a9(0x3dd)],_0x2de559));}[_0x46a189(0x2a9)](_0x418b68){var _0x15aaa3=_0x46a189;try{const _0x2e2ebf=_0x418b68['data'];switch(_0x2e2ebf[_0x15aaa3(0x3df)]){case _0x4f9634[_0x15aaa3(0x3f4)][_0x15aaa3(0x339)]:this[_0x15aaa3(0x2a4)](_0x2e2ebf),this[_0x15aaa3(0x242)][_0x15aaa3(0x28a)](_0x2e2ebf);break;case _0x4f9634[_0x15aaa3(0x3f4)][_0x15aaa3(0x2bd)]:this[_0x15aaa3(0x3c5)](_0x2e2ebf),this['_event$']['next'](_0x2e2ebf);break;case _0x4f9634[_0x15aaa3(0x3f4)][_0x15aaa3(0x3db)]:case _0x4f9634[_0x15aaa3(0x3f4)][_0x15aaa3(0x239)]:this[_0x15aaa3(0x2e6)](),this[_0x15aaa3(0x2ec)](),this[_0x15aaa3(0x242)][_0x15aaa3(0x28a)](_0x2e2ebf);break;case _0x4f9634[_0x15aaa3(0x3f4)][_0x15aaa3(0x246)]:this[_0x15aaa3(0x235)][_0x15aaa3(0x157)](_0x15aaa3(0x23b)+JSON['stringify'](_0x2e2ebf)),this['_event$'][_0x15aaa3(0x28a)](_0x2e2ebf);break;case _0x4f9634['CollaborationEvent']['COMMENT_UPDATE']:this['_commentService']['onCommentUpdate'](_0x2e2ebf[_0x15aaa3(0x3f5)]),this[_0x15aaa3(0x242)]['next'](_0x2e2ebf);break;default:this[_0x15aaa3(0x242)][_0x15aaa3(0x28a)](_0x2e2ebf);}}catch(_0x26ebcd){this[_0x15aaa3(0x235)]['error'](_0x26ebcd,_0x418b68);}}['_onUserJoin'](_0x510666){var _0x1d4e8e=_0x46a189;this[_0x1d4e8e(0x312)][_0x1d4e8e(0x135)](this[_0x1d4e8e(0x3dd)],_0x510666['data']);}[_0x46a189(0x3c5)](_0x1d6670){var _0x37b399=_0x46a189;this['_memberService'][_0x37b399(0x106)](this[_0x37b399(0x3dd)],_0x1d6670['data']['memberID']);}async[_0x46a189(0x2fa)](_0x5a4511,_0x843b12){var _0x272cbf=_0x46a189;if(this[_0x272cbf(0x3fa)]!==0x3||!this[_0x272cbf(0xd5)])throw new Error(_0x272cbf(0x307));try{_0x5a4511[_0x272cbf(0x3df)]===_0x4f9634[_0x272cbf(0x3f4)][_0x272cbf(0x3f3)]&&(this[_0x272cbf(0x19a)](),this[_0x272cbf(0x38f)](_0x5a4511)),this[_0x272cbf(0xd5)][_0x272cbf(0x2fa)]({'cmd':_0x32720a[_0x272cbf(0x191)],'routeKey':_0x843b12,'routeType':'','data':_0x5a4511});}catch(_0x5db594){this[_0x272cbf(0x235)][_0x272cbf(0x157)](_0x5db594);}}[_0x46a189(0x19a)](){var _0x2e47ca=_0x46a189,_0x42af6b;this[_0x2e47ca(0xa3)]=setTimeout(()=>{var _0xe9ec2f=_0x2e47ca;this[_0xe9ec2f(0xa3)]=null,this[_0xe9ec2f(0x281)][_0xe9ec2f(0xe5)]({'id':_0xee750e['SUBMIT_CHANGESET_TIMEOUT']});},(_0x42af6b=this['_configService']['getConfig'](_0x375a07))!=null?_0x42af6b:0x4e20);}[_0x46a189(0x2ec)](){var _0x4294e4=_0x46a189;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x4294e4(0xa3)]),this[_0x4294e4(0xa3)]=null);}[_0x46a189(0x38f)](_0x60f685){var _0x2c7be0=_0x46a189;if(!this[_0x2c7be0(0xf9)])return;const {data:_0x172094}=_0x60f685,{unitID:_0x113ab3,changeset:_0x422081}=_0x172094,{mutations:_0x356bf4,type:_0x1068e7}=_0x422081;this[_0x2c7be0(0x270)]={'unitId':_0x113ab3,'type':_0x1068e7,'startTime':performance[_0x2c7be0(0x1cc)](),'stopTime':0x0,'duration':0x0,'size':_0x5170bd(_0x356bf4)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x704e94=_0x46a189;if(this[_0x704e94(0xf9)]){if(!this['_telemetryInfo']){this['_logService'][_0x704e94(0x157)](_0x704e94(0x324),_0x704e94(0x41b));return;}this[_0x704e94(0x270)][_0x704e94(0x3ed)]=performance[_0x704e94(0x1cc)](),this['_telemetryInfo'][_0x704e94(0x201)]=this[_0x704e94(0x270)][_0x704e94(0x3ed)]-this[_0x704e94(0x270)][_0x704e94(0x387)],this[_0x704e94(0xe7)][_0x704e94(0x373)](_0x31a0de,this[_0x704e94(0x270)]),this[_0x704e94(0x270)]=null;}}[_0x46a189(0x1b5)](){var _0x33ef8c=_0x46a189;this[_0x33ef8c(0x270)]=null;}},_0x247d18[_0x46a189(0x2fd)]=_0x2aeca1([_0x5bc123(0x2,_0x112078[_0x46a189(0xce)]),_0x5bc123(0x3,_0x112078[_0x46a189(0x22f)]),_0x5bc123(0x4,_0x112078['Inject'](_0x247d18['MemberService'])),_0x5bc123(0x5,_0x112078['Inject'](_0x4b3801)),_0x5bc123(0x6,_0x112078[_0x46a189(0x11e)](_0x12b7ba)),_0x5bc123(0x7,_0x112078[_0x46a189(0x24e)](_0x1782f1[_0x46a189(0xfb)]))],_0x247d18[_0x46a189(0x2fd)]);const _0x1257cc=_0x112078[_0x46a189(0x1fe)](_0x46a189(0x1a2));function _0x37fe5f(_0x4cf76b){return'unit-cache-'+_0x4cf76b;}var _0x3a5878=Object[_0x46a189(0x1d1)],_0x4e1184=(_0x229f6e,_0x1d08ba,_0x182e0d,_0x3cac18)=>{for(var _0x1299d0=_0x3cac18>0x1?void 0x0:_0x3cac18?_0x3a5878(_0x1d08ba,_0x182e0d):_0x1d08ba,_0xb683ab=_0x229f6e['length']-0x1,_0xcdde53;_0xb683ab>=0x0;_0xb683ab--)(_0xcdde53=_0x229f6e[_0xb683ab])&&(_0x1299d0=_0xcdde53(_0x1299d0)||_0x1299d0);return _0x1299d0;},_0x4b5882=(_0xff0538,_0x303e15)=>(_0xf5f05b,_0x3d10a5)=>_0x303e15(_0xf5f05b,_0x3d10a5,_0xff0538);function _0x53c8db(_0x496c32){var _0x598242=_0x46a189;const {unitID:_0x852b40,mutations:_0x2c28ec}=_0x496c32;return{'unitId':_0x852b40,'subUnitId':_0x2c28ec[_0x598242(0x86)]>0x0?_0x2c28ec[0x0][_0x598242(0x30e)]['subUnitId']:null};}_0x247d18['SheetTransformSelectionsService']=class{constructor(_0x43e6f9,_0xec7f45,_0x5ddcab){var _0x2ede86=_0x46a189;this['_injector']=_0x43e6f9,this['_transformService']=_0xec7f45,this[_0x2ede86(0x18f)]=_0x5ddcab;}['transformSelections'](_0x11f8b0){var _0x37cc37=_0x46a189,_0x3838c8,_0x7d2f2,_0x4529d0,_0xbfceee;const _0x411aea=this['_injector'][_0x37cc37(0x3aa)](_0x44a4a2[_0x37cc37(0x2dc)]),{unitId:_0x5d5b8,subUnitId:_0x331700}=_0x53c8db(_0x11f8b0),_0x2bea25=_0x411aea==null?void 0x0:_0x411aea[_0x37cc37(0x300)](_0x5d5b8)[_0x37cc37(0x241)](),_0x331ba8=(_0x7d2f2=(_0x3838c8=this[_0x37cc37(0x18f)][_0x37cc37(0x34d)](_0x5d5b8))==null?void 0x0:_0x3838c8[_0x37cc37(0x21a)]())==null?void 0x0:_0x7d2f2[_0x37cc37(0x221)]();if(_0x2bea25[_0x37cc37(0x86)]===0x0||!_0x5d5b8||!_0x331700)return;const _0x5b5f80=[{'id':_0x44a4a2[_0x37cc37(0x120)]['id'],'params':{'unitId':_0x5d5b8,'subUnitId':_0x331ba8,'selections':_0x112078['Tools'][_0x37cc37(0x428)](_0x2bea25)}}],_0x149875=this['_transformService'][_0x37cc37(0x212)](_0x11f8b0,_0x5b5f80);if(!_0x4f9634[_0x37cc37(0x319)](_0x149875))throw _0x149875['error'];const _0x1b8acc=(_0xbfceee=(_0x4529d0=_0x149875[_0x37cc37(0x1d9)][0x0])==null?void 0x0:_0x4529d0[_0x37cc37(0x30e)])==null?void 0x0:_0xbfceee['selections'];if(Array[_0x37cc37(0x2f5)](_0x1b8acc)&&_0x1b8acc[_0x37cc37(0x86)]){if(_0x1b8acc[_0x37cc37(0x86)]===_0x5b5f80[0x0][_0x37cc37(0x30e)][_0x37cc37(0x202)]['length']&&_0x1b8acc['every']((_0x470069,_0x14c43b)=>_0x112078['Rectangle'][_0x37cc37(0x2eb)](_0x470069[_0x37cc37(0x1cd)],_0x5b5f80[0x0][_0x37cc37(0x30e)][_0x37cc37(0x202)][_0x14c43b][_0x37cc37(0x1cd)])))return;this[_0x37cc37(0x3e1)][_0x37cc37(0x3aa)](_0x112078[_0x37cc37(0x375)])[_0x37cc37(0xc0)](_0x44a4a2['SetSelectionsOperation']['id'],{'unitId':_0x5d5b8,'subUnitId':_0x331ba8,'selections':_0x1b8acc});}}},_0x247d18[_0x46a189(0xc4)]=_0x4e1184([_0x4b5882(0x0,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x4b5882(0x1,_0x4f9634[_0x46a189(0xbe)]),_0x4b5882(0x2,_0x112078[_0x46a189(0x93)])],_0x247d18[_0x46a189(0xc4)]);const _0x51ca0c=_0x112078[_0x46a189(0x1fe)](_0x46a189(0x3a1));var _0xaf572f=(_0x553b74=>(_0x553b74[_0x553b74[_0x46a189(0x277)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x553b74[_0x553b74[_0x46a189(0x14e)]=0x1]=_0x46a189(0x14e),_0x553b74))(_0xaf572f||{});const _0x4f0c7a='collaboration-client.config',_0x13cd5c={},_0x2bc183=new Set([_0x44a4a2[_0x46a189(0x3ac)]['id']]);function _0x20c38c(_0x2e5210,_0x3e2548,_0x361151,_0x1bf89a,_0x237fa0){var _0x2b2f4f=_0x46a189,_0x10a2fb,_0x5629f3,_0x3f6dc5,_0x41713d;const _0x9c8733=[];for(const _0x344be4 of _0x2e5210)if(_0x2bc183[_0x2b2f4f(0x10b)](_0x344be4['id'])){if(_0x9c8733['length']>0x0)break;_0x9c8733[_0x2b2f4f(0x139)](_0x344be4);break;}else _0x9c8733[_0x2b2f4f(0x139)](_0x344be4);const _0x468960=(_0x5629f3=(_0x10a2fb=_0x237fa0[_0x2b2f4f(0x13b)]())==null?void 0x0:_0x10a2fb[_0x2b2f4f(0x3b1)])!=null?_0x5629f3:_0x2b2f4f(0xd2),_0x57727f=(_0x41713d=(_0x3f6dc5=_0x237fa0[_0x2b2f4f(0x13b)]())==null?void 0x0:_0x3f6dc5[_0x2b2f4f(0x2c4)])!=null?_0x41713d:_0x2b2f4f(0xd2);return{'changeset':{'unitID':_0x3e2548,'type':_0x4f9634['mapDocumentTypeToUniverType'](_0x361151['getUnitType'](_0x3e2548)),'baseRev':_0x1bf89a[_0x2b2f4f(0x36d)](_0x3e2548),'revision':0x0,'userID':_0x468960,'memberID':_0x57727f,'mutations':_0x9c8733},'pendingMutations':_0x2e5210[_0x2b2f4f(0x16e)](_0x9c8733[_0x2b2f4f(0x86)])};}function _0x4de314(_0x576e95,_0x38b69d,_0x48e115,_0x5934a6,_0x2d6925){var _0xfe1b14=_0x46a189,_0x258b30,_0x2d5172,_0x5a16bb,_0x13520d;const _0x285bf4=[_0x576e95['reduce']((_0x202b67,_0x2cdf60)=>{var _0x2b9376=_0x532f,_0x4dcdc4;const {id:_0x5715b4}=_0x202b67,{id:_0x396bbb,type:_0xdfffa0}=_0x2cdf60,_0x39e548=(_0x4dcdc4=_0x202b67[_0x2b9376(0x30e)])!=null?_0x4dcdc4:{'actions':null},_0x26f689=_0x2cdf60[_0x2b9376(0x30e)];if(_0x5715b4&&_0x5715b4!==_0x396bbb)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x5715b4+'\x20-\x20'+_0x396bbb+'.');return{..._0x202b67,'id':_0x396bbb,'type':_0xdfffa0,'params':{'unitId':_0x26f689[_0x2b9376(0x124)],'textRanges':_0x26f689[_0x2b9376(0x1e7)],'actions':_0x112078[_0x2b9376(0x3d9)]['compose'](_0x39e548[_0x2b9376(0x163)],_0x26f689['actions'])}};},{})],_0x366684=(_0x2d5172=(_0x258b30=_0x2d6925[_0xfe1b14(0x13b)]())==null?void 0x0:_0x258b30[_0xfe1b14(0x3b1)])!=null?_0x2d5172:_0xfe1b14(0xd2),_0x3fe92b=(_0x13520d=(_0x5a16bb=_0x2d6925[_0xfe1b14(0x13b)]())==null?void 0x0:_0x5a16bb[_0xfe1b14(0x2c4)])!=null?_0x13520d:'unknown';return{'changeset':{'unitID':_0x38b69d,'type':_0x4f9634[_0xfe1b14(0xab)](_0x48e115[_0xfe1b14(0x1c2)](_0x38b69d)),'baseRev':_0x5934a6[_0xfe1b14(0x36d)](_0x38b69d),'revision':0x0,'userID':_0x366684,'memberID':_0x3fe92b,'mutations':_0x285bf4},'pendingMutations':[]};}function _0x8f7348(_0x1c3015,_0x13e0d8){var _0x478d70=_0x46a189;const _0x257237=new _0x1909d3[(_0x478d70(0x23c))](0x1);return setTimeout(()=>_0x257237[_0x478d70(0x28a)](_0x13e0d8),_0x1c3015),_0x257237[_0x478d70(0x2d0)]()[_0x478d70(0x41a)](_0x1909d3[_0x478d70(0x348)](0x1));}var _0x20317f=Object[_0x46a189(0x1d1)],_0x476bd3=(_0x2ef545,_0x8f8e39,_0x12a602,_0x375b16)=>{var _0x4ea487=_0x46a189;for(var _0x2ab777=_0x375b16>0x1?void 0x0:_0x375b16?_0x20317f(_0x8f8e39,_0x12a602):_0x8f8e39,_0x2ab7e0=_0x2ef545[_0x4ea487(0x86)]-0x1,_0x122758;_0x2ab7e0>=0x0;_0x2ab7e0--)(_0x122758=_0x2ef545[_0x2ab7e0])&&(_0x2ab777=_0x122758(_0x2ab777)||_0x2ab777);return _0x2ab777;},_0x1064ef=(_0x331aaf,_0x1f05da)=>(_0x21001e,_0x1083bc)=>_0x1f05da(_0x21001e,_0x1083bc,_0x331aaf),_0x41e9c8=(_0x34b2e4=>(_0x34b2e4[_0x46a189(0x298)]='not_collab',_0x34b2e4['SYNCED']='synced',_0x34b2e4['PENDING']=_0x46a189(0x2ad),_0x34b2e4[_0x46a189(0x258)]=_0x46a189(0x407),_0x34b2e4[_0x46a189(0x17d)]=_0x46a189(0x89),_0x34b2e4[_0x46a189(0x172)]=_0x46a189(0x90),_0x34b2e4[_0x46a189(0x2ce)]='conflict',_0x34b2e4['OFFLINE']='offline',_0x34b2e4))(_0x41e9c8||{});const _0x42e30a=0xea60;class _0x1442ea{constructor(_0x1138e0,_0x370112,_0x54aed7,_0x25ee0d,_0x298d13,_0xc14b27,_0x2f9670,_0x37fecd,_0x1627c7){var _0x1d444d=_0x46a189;_0x25aa6e(this,_0x1d444d(0x362),null),_0x25aa6e(this,_0x1d444d(0xcf),[]),(this['unitID']=_0x1138e0,this[_0x1d444d(0xfd)]=_0x370112,this['_handler']=_0x298d13,this[_0x1d444d(0x244)]=_0xc14b27,this['_undoRedoService']=_0x2f9670,this[_0x1d444d(0xdf)]=_0x37fecd,this[_0x1d444d(0x11d)]=_0x1627c7,this[_0x1d444d(0x362)]=_0x54aed7,this[_0x1d444d(0xcf)]=_0x25ee0d);}['_checkMissing'](_0x56a5eb){var _0x3cc9ff=_0x46a189;const _0x3ceb35=this[_0x3cc9ff(0xdf)][_0x3cc9ff(0x36d)](this[_0x3cc9ff(0x194)]);return _0x56a5eb[_0x3cc9ff(0x22b)]>_0x3ceb35+0x1?(this[_0x3cc9ff(0x40d)][_0x3cc9ff(0x1da)]({'from':_0x3ceb35,'to':_0x56a5eb[_0x3cc9ff(0x22b)]-0x1}),!0x0):!0x1;}[_0x46a189(0x14a)](_0x5c8c6d){var _0x3af2c7=_0x46a189;this['_undoRedoService'][_0x3af2c7(0x29a)](this[_0x3af2c7(0x194)],_0x5c8c6d);}[_0x46a189(0x1d0)](_0x2b78a0){var _0x455409=_0x46a189,_0x3840cf,_0x22a9e2;(_0x22a9e2=(_0x3840cf=this['_handler'])[_0x455409(0x17c)])==null||_0x22a9e2[_0x455409(0x3f2)](_0x3840cf,_0x2b78a0);}['_transformIMECache'](_0x5d758e){var _0x2b3eb7=_0x46a189,_0x6d551f,_0x6be772;return(_0x6be772=(_0x6d551f=this[_0x2b3eb7(0x40d)])[_0x2b3eb7(0xb4)])==null?void 0x0:_0x6be772[_0x2b3eb7(0x3f2)](_0x6d551f,_0x5d758e);}['_transformStateCache'](_0x1f14e3){var _0x3d2221=_0x46a189,_0x58d8d0,_0x217b80;return(_0x217b80=(_0x58d8d0=this[_0x3d2221(0x40d)])[_0x3d2221(0x96)])==null?void 0x0:_0x217b80['call'](_0x58d8d0,_0x1f14e3);}[_0x46a189(0x2a8)](_0x56c35f){var _0x1c013f=_0x46a189,_0x4f1478,_0x377d05,_0x329513;return(_0x329513=(_0x377d05=(_0x4f1478=this[_0x1c013f(0x40d)])[_0x1c013f(0x29d)])==null?void 0x0:_0x377d05[_0x1c013f(0x3f2)](_0x4f1478,_0x56c35f))!=null?_0x329513:_0x56c35f;}[_0x46a189(0x1f7)](_0x818c7e){var _0x11e88f=_0x46a189,_0x7f87f4,_0x47d6fe,_0x71b20a;return(_0x71b20a=(_0x47d6fe=(_0x7f87f4=this['_handler'])[_0x11e88f(0x97)])==null?void 0x0:_0x47d6fe[_0x11e88f(0x3f2)](_0x7f87f4,_0x818c7e))!=null?_0x71b20a:_0x818c7e;}[_0x46a189(0x2b5)](_0x2f5983){var _0x364fcc=_0x46a189,_0x3ca6f8,_0x4ac548;if(this[_0x364fcc(0xfd)]===_0x193e02[_0x364fcc(0x140)]){const {unitID:_0x26ceea,mutations:_0x21066e,memberID:_0x29415a}=_0x2f5983,_0x1f727d=_0x21066e[_0x364fcc(0x86)]>0x0?_0x21066e[0x0][_0x364fcc(0x30e)][_0x364fcc(0x1e7)]:[];Array[_0x364fcc(0x2f5)](_0x1f727d)&&_0x1f727d['length']>0x0&&((_0x4ac548=(_0x3ca6f8=this[_0x364fcc(0x40d)])[_0x364fcc(0x2b1)])==null||_0x4ac548[_0x364fcc(0x3f2)](_0x3ca6f8,{'unitID':_0x26ceea,'memberID':_0x29415a,'textRanges':_0x1f727d}));}}[_0x46a189(0x23d)](){var _0xd05c38=_0x46a189,_0x173d68;(_0x173d68=this[_0xd05c38(0x11d)])==null||_0x173d68[_0xd05c38(0x2dd)](this['unitID'],this[_0xd05c38(0xfd)],this[_0xd05c38(0x362)],this[_0xd05c38(0xcf)]);}[_0x46a189(0x183)](){return this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);}['_incrementRevisionNumber'](){var _0x768ba1=_0x46a189;this[_0x768ba1(0xdf)][_0x768ba1(0x243)](this[_0x768ba1(0x194)]);}['_executeRemoteChangeset'](_0x1fffc8){var _0x1085d5=_0x46a189,_0x403109;let _0x2a6425=this[_0x1085d5(0x2a8)](_0x1fffc8);_0x2a6425=this['_transformRemoteChangesetByStateCache'](_0x2a6425);const _0x56e65a=_0x112078[_0x1085d5(0x410)](_0x2a6425[_0x1085d5(0x1af)],this['_commandService'],{'fromCollab':!0x0});if(!_0x56e65a[_0x1085d5(0x3ae)])throw _0x56e65a['error']instanceof Error?_0x56e65a['error']:new Error((_0x403109=_0x56e65a['error'])!=null?_0x403109:_0x1085d5(0x3c8));this[_0x1085d5(0x37a)](_0x2a6425),this['_transformStateCache'](_0x2a6425),this[_0x1085d5(0x14a)](_0x1fffc8),this[_0x1085d5(0x1d0)](_0x2a6425),this['_syncEditingCollabCursor'](_0x2a6425),this[_0x1085d5(0x1e9)]();}}_0x247d18[_0x46a189(0x37b)]=class extends _0x1442ea{constructor(_0x214e95,_0x2ddf40,_0x697988,_0x9c5b78,_0x38a320,_0x224d9a,_0x2db070,_0x5089e9,_0xc7b761,_0xfd80bc){var _0x465824=_0x46a189;super(_0x214e95,_0x2ddf40,null,[],_0x697988,_0x2db070,_0x224d9a,_0x9c5b78,_0xfd80bc),_0x25aa6e(this,_0x465824(0x111),'synced'),(this[_0x465824(0x3e1)]=_0x38a320,this[_0x465824(0x235)]=_0x5089e9,this[_0x465824(0xb2)]=_0xc7b761,this[_0x465824(0x2f7)]=_0xfd80bc);}['appendMutation'](_0x570385){var _0x2dac91=_0x46a189;const _0x475977=this[_0x2dac91(0x3e1)][_0x2dac91(0x10c)](_0x247d18[_0x2dac91(0x341)],this[_0x2dac91(0x194)],this['type'],[_0x570385],this[_0x2dac91(0x40d)]);return _0x475977['_schedule'](),_0x475977['_updateLocalCache'](),_0x475977;}['onRemoteChangeset'](_0x541875){var _0x51bf14=_0x46a189;if(this['_checkMissing'](_0x541875))return this['_injector'][_0x51bf14(0x10c)](_0x247d18[_0x51bf14(0x249)],this[_0x51bf14(0x194)],this['type'],null,[],null,[_0x541875],this['_handler']);try{const _0x1cea13=this[_0x51bf14(0xb2)][_0x51bf14(0x212)](_0x541875,[_0x4f9634[_0x51bf14(0xf2)]]);if(_0x4f9634[_0x51bf14(0x319)](_0x1cea13)){const {c1Prime:_0x224877}=_0x1cea13;return this[_0x51bf14(0x116)](_0x224877),this;}throw _0x1cea13[_0x51bf14(0x157)];}catch(_0x546284){return this[_0x51bf14(0x235)]['error'](_0x546284),this['_onConflict'](!0x1);}}[_0x46a189(0x3d1)](_0x44df7d){var _0x45dc48=_0x46a189;return this['_injector']['createInstance'](_0x247d18[_0x45dc48(0xbb)],this[_0x45dc48(0x194)],this[_0x45dc48(0xfd)],null,[],this[_0x45dc48(0x40d)],_0x44df7d);}[_0x46a189(0xa4)](){var _0x11f205=_0x46a189;throw new Error(_0x11f205(0x330));}[_0x46a189(0x342)](){var _0x5ebf51=_0x46a189;throw new Error(_0x5ebf51(0x1fd));}['onRemoteRetry'](){return this;}[_0x46a189(0x273)](){var _0x5ad2f8=_0x46a189;return this[_0x5ad2f8(0x3e1)][_0x5ad2f8(0x10c)](_0x247d18['OfflineState'],this[_0x5ad2f8(0x194)],this[_0x5ad2f8(0xfd)],null,[],this['_handler']);}[_0x46a189(0x3e8)](){return this;}[_0x46a189(0xb9)](){var _0x56c311=_0x46a189;throw new Error(_0x56c311(0x21e));}['fetchMiss'](){var _0x1ba959=_0x46a189;const _0x1e02b5=this[_0x1ba959(0xdf)][_0x1ba959(0x36d)](this['unitID']);return this['_handler']['onMissingChangesets']({'from':_0x1e02b5,'to':0x0}),this[_0x1ba959(0x3e1)][_0x1ba959(0x10c)](_0x247d18[_0x1ba959(0x249)],this[_0x1ba959(0x194)],this[_0x1ba959(0xfd)],null,[],null,[],this[_0x1ba959(0x40d)]);}},_0x247d18[_0x46a189(0x37b)]=_0x476bd3([_0x1064ef(0x3,_0x112078['Inject'](_0x4f9634[_0x46a189(0x16f)])),_0x1064ef(0x4,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x5,_0x112078[_0x46a189(0x197)]),_0x1064ef(0x6,_0x112078[_0x46a189(0x375)]),_0x1064ef(0x7,_0x112078[_0x46a189(0xce)]),_0x1064ef(0x8,_0x4f9634['ITransformService']),_0x1064ef(0x9,_0x112078['Optional'](_0x1257cc))],_0x247d18[_0x46a189(0x37b)]),_0x247d18[_0x46a189(0x341)]=class extends _0x1442ea{constructor(_0x4122ca,_0x19ca1d,_0x1b931c,_0x3fcabe,_0x34ecd7,_0x1892fe,_0x555a22,_0x457f05,_0x5c9781,_0x3de0ab,_0x564c0a,_0x6ca685,_0x195264,_0x141903){var _0x4f8955=_0x46a189;super(_0x4122ca,_0x19ca1d,null,_0x1b931c,_0x3fcabe,_0x5c9781,_0x195264,_0x1892fe,_0x141903),_0x25aa6e(this,_0x4f8955(0x111),_0x4f8955(0x2ad)),_0x25aa6e(this,_0x4f8955(0x27c),null),_0x25aa6e(this,_0x4f8955(0x3b3),null),(this[_0x4f8955(0x3e1)]=_0x34ecd7,this[_0x4f8955(0x312)]=_0x555a22,this[_0x4f8955(0x235)]=_0x457f05,this[_0x4f8955(0xad)]=_0x3de0ab,this[_0x4f8955(0xb2)]=_0x564c0a,this['_univerInstanceService']=_0x6ca685);}[_0x46a189(0x359)](_0x1355b5){var _0x518813=_0x46a189;return this['_pendingMutations'][_0x518813(0x139)](_0x1355b5),this[_0x518813(0x23d)](),this;}['onRemoteChangeset'](_0x191d3e){var _0x54b520=_0x46a189;if(this[_0x54b520(0x3ec)](_0x191d3e))return this['_clearScheduledTask'](),this[_0x54b520(0x3e1)][_0x54b520(0x10c)](_0x247d18[_0x54b520(0x249)],this[_0x54b520(0x194)],this[_0x54b520(0xfd)],null,this['_pendingMutations'],null,[_0x191d3e],this[_0x54b520(0x40d)]);try{const _0x587603=this[_0x54b520(0xb2)][_0x54b520(0x212)](_0x191d3e,this[_0x54b520(0xcf)]);if(_0x4f9634['isTransformMutationsWithChangesetSuccess'](_0x587603)){const {c1Prime:_0x3d45cf,m2Prime:_0x11a8ea}=_0x587603;this['_executeRemoteChangeset'](_0x3d45cf);const _0x36e24b=this['_injector']['createInstance'](_0x247d18[_0x54b520(0x341)],this[_0x54b520(0x194)],this['type'],_0x11a8ea,this[_0x54b520(0x40d)]);this[_0x54b520(0x1b4)]();const _0x3d34b5=new Date()[_0x54b520(0x170)](),_0x5cd823=this[_0x54b520(0x27c)]?Math[_0x54b520(0x26d)](this['_scheduleCompleteTimestamp']-_0x3d34b5,0x0):this[_0x54b520(0x211)]();return _0x36e24b[_0x54b520(0x3fd)](_0x5cd823),_0x36e24b;}throw _0x587603[_0x54b520(0x157)];}catch(_0x13e089){return this[_0x54b520(0x235)][_0x54b520(0x157)](_0x13e089),this[_0x54b520(0x3d1)](!0x1);}}[_0x46a189(0xa4)](){var _0x2f8aca=_0x46a189;throw new Error(_0x2f8aca(0x2f0));}['onRemoteRej'](){var _0x4ee18b=_0x46a189;throw new Error(_0x4ee18b(0x253));}['onRemoteRetry'](){return this;}[_0x46a189(0x273)](){var _0xaeb4c6=_0x46a189;return this[_0xaeb4c6(0x1b4)](),this[_0xaeb4c6(0x3e1)][_0xaeb4c6(0x10c)](_0x247d18[_0xaeb4c6(0xff)],this[_0xaeb4c6(0x194)],this['type'],null,this[_0xaeb4c6(0xcf)],this[_0xaeb4c6(0x40d)]);}['toggleOnline'](){return this;}[_0x46a189(0x3fd)](_0x24b9da){var _0x2ce5e2=_0x46a189;const _0x2c79ac=_0x24b9da!=null?_0x24b9da:this['_getSendChangesetTimeout']();this[_0x2ce5e2(0x27c)]=new Date()['getTime']()+_0x2c79ac,this['_sendingTimer']=setTimeout(()=>{var _0x298310=_0x2ce5e2;this[_0x298310(0x1b4)]();let _0x575a68=null;switch(this[_0x298310(0xfd)]){case _0x193e02[_0x298310(0x18b)]:{_0x575a68=_0x20c38c(this[_0x298310(0xcf)],this[_0x298310(0x194)],this[_0x298310(0x3cf)],this[_0x298310(0xdf)],this[_0x298310(0x312)]);break;}case _0x193e02['UNIVER_DOC']:{this[_0x298310(0xcf)][_0x298310(0x3c7)](_0x160882=>_0x160882['id']===_0x171cda['RichTextEditingMutation']['id'])?_0x575a68=_0x4de314(this[_0x298310(0xcf)],this['unitID'],this[_0x298310(0x3cf)],this[_0x298310(0xdf)],this[_0x298310(0x312)]):_0x575a68=_0x20c38c(this[_0x298310(0xcf)],this[_0x298310(0x194)],this['_univerInstanceService'],this[_0x298310(0xdf)],this[_0x298310(0x312)]);break;}default:throw new Error(_0x298310(0x3a2)+this[_0x298310(0xfd)]+_0x298310(0x429));}const {changeset:_0x2228df,pendingMutations:_0x5d509d}=_0x575a68;this['_handler'][_0x298310(0x22e)](_0x2228df);const _0x2f3bd4=_0x5d509d[_0x298310(0x86)]?this[_0x298310(0x3e1)]['createInstance'](_0x247d18['AwaitingWithPendingState'],this[_0x298310(0x194)],this[_0x298310(0xfd)],_0x2228df,_0x5d509d,this[_0x298310(0x40d)],void 0x0):this[_0x298310(0x3e1)][_0x298310(0x10c)](_0x247d18[_0x298310(0x26f)],this[_0x298310(0x194)],this[_0x298310(0xfd)],_0x2228df,this[_0x298310(0x40d)]);_0x2f3bd4[_0x298310(0x23d)](),this['_handler'][_0x298310(0x398)](this,_0x2f3bd4);},_0x2c79ac);}[_0x46a189(0x211)](){var _0x493661=_0x46a189,_0x4c16ee;const _0x3727cb=this[_0x493661(0xad)]['getConfig'](_0x4f0c7a);return(_0x4c16ee=_0x3727cb==null?void 0x0:_0x3727cb[_0x493661(0x203)])!=null?_0x4c16ee:0x7d0;}[_0x46a189(0xb9)](){var _0x1266e1=_0x46a189;throw new Error(_0x1266e1(0x314));}['_clearScheduledTask'](){var _0x36c7f1=_0x46a189;this[_0x36c7f1(0x3b3)]!=null&&(clearTimeout(this[_0x36c7f1(0x3b3)]),this['_sendingTimer']=null);}[_0x46a189(0x3d1)](_0x4d575a){var _0x2142c1=_0x46a189;return this[_0x2142c1(0x1b4)](),this[_0x2142c1(0x3e1)][_0x2142c1(0x10c)](_0x247d18[_0x2142c1(0xbb)],this[_0x2142c1(0x194)],this[_0x2142c1(0xfd)],null,this[_0x2142c1(0xcf)],this['_handler'],_0x4d575a);}},_0x247d18[_0x46a189(0x341)]=_0x476bd3([_0x1064ef(0x4,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x5,_0x112078[_0x46a189(0x11e)](_0x4f9634['RevisionService'])),_0x1064ef(0x6,_0x112078[_0x46a189(0x11e)](_0x247d18[_0x46a189(0x39f)])),_0x1064ef(0x7,_0x112078[_0x46a189(0xce)]),_0x1064ef(0x8,_0x112078[_0x46a189(0x375)]),_0x1064ef(0x9,_0x112078[_0x46a189(0x22f)]),_0x1064ef(0xa,_0x4f9634[_0x46a189(0xbe)]),_0x1064ef(0xb,_0x112078['IUniverInstanceService']),_0x1064ef(0xc,_0x112078['IUndoRedoService']),_0x1064ef(0xd,_0x112078['Optional'](_0x1257cc))],_0x247d18[_0x46a189(0x341)]),_0x247d18['AwaitingState']=class extends _0x1442ea{constructor(_0x492b66,_0x29cdc6,_0x4ff168,_0x503d41,_0x315f92,_0x1cad9d,_0x5dda73,_0x1fee45,_0x43770d,_0x21dccc,_0x1b7633){var _0x314ebb=_0x46a189;super(_0x492b66,_0x29cdc6,_0x4ff168,[],_0x503d41,_0x5dda73,_0x21dccc,_0x1cad9d,_0x1b7633),_0x25aa6e(this,_0x314ebb(0x111),_0x314ebb(0x407)),_0x25aa6e(this,_0x314ebb(0xe8),0x0),_0x25aa6e(this,_0x314ebb(0x3ba)),_0x25aa6e(this,_0x314ebb(0x33f)),(this[_0x314ebb(0x3e1)]=_0x315f92,this['_logService']=_0x1fee45,this[_0x314ebb(0xb2)]=_0x43770d);}['appendMutation'](_0x18050c){var _0x8e1a50=_0x46a189;this['_clearScheduledTask']();const _0x48a480=this[_0x8e1a50(0x3e1)][_0x8e1a50(0x10c)](_0x247d18['AwaitingWithPendingState'],this[_0x8e1a50(0x194)],this[_0x8e1a50(0xfd)],this[_0x8e1a50(0x362)],[_0x18050c],this[_0x8e1a50(0x40d)],this[_0x8e1a50(0x3ba)]);return _0x48a480[_0x8e1a50(0x23d)](),_0x48a480;}['onRemoteChangeset'](_0x2bbae6){var _0x18b413=_0x46a189;if(this[_0x18b413(0x3ec)](_0x2bbae6))return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x247d18[_0x18b413(0x249)],this[_0x18b413(0x194)],this[_0x18b413(0xfd)],this[_0x18b413(0x362)],[],null,[_0x2bbae6],this[_0x18b413(0x40d)]);try{const _0x489b39=this[_0x18b413(0xb2)][_0x18b413(0x112)]([_0x2bbae6],[this[_0x18b413(0x362)]],!0x1);if(_0x4f9634['isTransformChangesetsSuccess'](_0x489b39)){const {c1Prime:_0x11b0e6,c2Prime:_0x57fd37}=_0x489b39;this['_executeRemoteChangeset'](_0x11b0e6[0x0]),_0x57fd37[0x0]['baseRev']=this[_0x18b413(0x183)](),this[_0x18b413(0x1b4)]();const _0xd7f0ad=this[_0x18b413(0x3e1)][_0x18b413(0x10c)](_0x247d18[_0x18b413(0x26f)],this['unitID'],this[_0x18b413(0xfd)],_0x57fd37[0x0],this['_handler']);return _0xd7f0ad['_updateLocalCache'](),_0xd7f0ad;}return this[_0x18b413(0x3d1)](!0x1);}catch(_0x8a2352){return this['_logService'][_0x18b413(0x157)](_0x8a2352),this[_0x18b413(0x3d1)](!0x1);}}['onRemoteAck'](_0x184b53){var _0x97f4bd=_0x46a189;this['_clearScheduledTask']();const _0x50eb37=this[_0x97f4bd(0xdf)][_0x97f4bd(0x36d)](this[_0x97f4bd(0x194)]);if(_0x184b53[_0x97f4bd(0x22b)]<_0x50eb37-0x1)return this;if(this[_0x97f4bd(0x3ec)](_0x184b53))return this[_0x97f4bd(0x3e1)][_0x97f4bd(0x10c)](_0x247d18[_0x97f4bd(0x249)],this[_0x97f4bd(0x194)],this['type'],null,[],this[_0x97f4bd(0x362)],[],this[_0x97f4bd(0x40d)]);this[_0x97f4bd(0x1e9)]();const _0x4e6c53=this[_0x97f4bd(0x3e1)][_0x97f4bd(0x10c)](_0x247d18['SyncedState'],this['unitID'],this[_0x97f4bd(0xfd)],this[_0x97f4bd(0x40d)]);return _0x4e6c53[_0x97f4bd(0x23d)](),_0x4e6c53;}[_0x46a189(0x342)](_0x3a6192){var _0x20a671=_0x46a189;return this[_0x20a671(0x3d1)](!!(_0x3a6192!=null&&_0x3a6192[_0x20a671(0xb7)]));}[_0x46a189(0x32f)](_0x1fdf7b){var _0x23a844=_0x46a189;return this['_resendTimeout']>_0x42e30a?this[_0x23a844(0x273)]():(this[_0x23a844(0x3ba)]=_0x8f7348(this[_0x23a844(0xe8)],{'timeout':this[_0x23a844(0xe8)],'reqId':_0x1fdf7b[_0x23a844(0x29f)]}),this[_0x23a844(0x33f)]=this[_0x23a844(0x3ba)][_0x23a844(0x153)](({reqId:_0x4ab516,timeout:_0x2d794d})=>{var _0x2a617c=_0x23a844;this[_0x2a617c(0x3fc)](_0x4ab516,_0x2d794d);}),this);}[_0x46a189(0x273)](){var _0x42e0d7=_0x46a189;return this[_0x42e0d7(0x1b4)](),this[_0x42e0d7(0x3e1)][_0x42e0d7(0x10c)](_0x247d18[_0x42e0d7(0xff)],this[_0x42e0d7(0x194)],this[_0x42e0d7(0xfd)],this['_awaitingChangeset'],[],this[_0x42e0d7(0x40d)]);}[_0x46a189(0x3e8)](){return this;}[_0x46a189(0xb9)](){var _0x2d51a9=_0x46a189;this[_0x2d51a9(0x40d)][_0x2d51a9(0x22e)](this['_awaitingChangeset']);}['_onConflict'](_0x2e9c97){var _0x3bf08f=_0x46a189;return this[_0x3bf08f(0x1b4)](),this[_0x3bf08f(0x3e1)]['createInstance'](_0x247d18['ConflictState'],this[_0x3bf08f(0x194)],this[_0x3bf08f(0xfd)],this[_0x3bf08f(0x362)],[],this[_0x3bf08f(0x40d)],_0x2e9c97);}['_resendWithTimeout'](_0x48e11e,_0x99b7b4){var _0x519647=_0x46a189,_0x5e602b;_0x48e11e===((_0x5e602b=this[_0x519647(0x362)])==null?void 0x0:_0x5e602b['reqId'])&&(this[_0x519647(0xb9)](),this['_resendTimeout']=_0x99b7b4===0x0?0x3e8:_0x99b7b4*0x2);}['_clearScheduledTask'](){var _0x5090ba=_0x46a189,_0xd6aeb9;(_0xd6aeb9=this['_sender'])==null||_0xd6aeb9[_0x5090ba(0x2d7)](),this[_0x5090ba(0xe8)]=0x0;}},_0x247d18['AwaitingState']=_0x476bd3([_0x1064ef(0x4,_0x112078['Inject'](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x5,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x16f)])),_0x1064ef(0x6,_0x112078[_0x46a189(0x375)]),_0x1064ef(0x7,_0x112078[_0x46a189(0xce)]),_0x1064ef(0x8,_0x4f9634[_0x46a189(0xbe)]),_0x1064ef(0x9,_0x112078[_0x46a189(0x197)]),_0x1064ef(0xa,_0x112078['Optional'](_0x1257cc))],_0x247d18[_0x46a189(0x26f)]),_0x247d18[_0x46a189(0x1fc)]=class extends _0x1442ea{constructor(_0x309fd0,_0x5bebbe,_0x4345e9,_0x3dfe20,_0x2a869a,_0x127df5,_0xeefc8e,_0x476542,_0x144a99,_0x2115ce,_0x505f1c,_0x38d4e0,_0x1038c3){var _0x214c35=_0x46a189;super(_0x309fd0,_0x5bebbe,_0x4345e9,_0x3dfe20,_0x2a869a,_0x144a99,_0x38d4e0,_0x476542,_0x1038c3),_0x25aa6e(this,_0x214c35(0x111),'awaiting_with_pending'),_0x25aa6e(this,'_resendTimeout',0x0),_0x25aa6e(this,_0x214c35(0x3ba)),_0x25aa6e(this,'_sender'),(this['_injector']=_0xeefc8e,this[_0x214c35(0x235)]=_0x2115ce,this[_0x214c35(0xb2)]=_0x505f1c,this['localCacheService']=_0x1038c3,_0x127df5&&(this['_resendTimer']=_0x127df5,this[_0x214c35(0x33f)]=this[_0x214c35(0x3ba)][_0x214c35(0x153)](({reqId:_0x15540b,timeout:_0x539347})=>{var _0x237706=_0x214c35;this[_0x237706(0x3fc)](_0x15540b,_0x539347);})));}[_0x46a189(0x359)](_0x398e77){var _0x4e9b98=_0x46a189;return this[_0x4e9b98(0xcf)][_0x4e9b98(0x139)](_0x398e77),this;}[_0x46a189(0x350)](_0x33cdd){var _0x3f5376=_0x46a189;if(this[_0x3f5376(0x3ec)](_0x33cdd))return this[_0x3f5376(0x1b4)](),this['_injector'][_0x3f5376(0x10c)](_0x247d18[_0x3f5376(0x249)],this[_0x3f5376(0x194)],this[_0x3f5376(0xfd)],this[_0x3f5376(0x362)],this[_0x3f5376(0xcf)],null,[_0x33cdd],this[_0x3f5376(0x40d)]);try{const _0x13f0be=this['_transformService'][_0x3f5376(0x112)]([_0x33cdd],[this['_awaitingChangeset']],!0x1);if(_0x4f9634[_0x3f5376(0x16a)](_0x13f0be)){const {c1Prime:_0x302da5,c2Prime:_0x1465f3}=_0x13f0be,_0x52a157=this['_transformService']['transformMutationsWithChangeset'](_0x302da5[0x0],this[_0x3f5376(0xcf)]);if(_0x4f9634[_0x3f5376(0x319)](_0x52a157)){const {c1Prime:_0x30fba4,m2Prime:_0x9a34be}=_0x52a157;return this[_0x3f5376(0x116)](_0x30fba4),_0x1465f3[0x0][_0x3f5376(0x174)]=this[_0x3f5376(0x183)](),this[_0x3f5376(0x1b4)](),this['_injector'][_0x3f5376(0x10c)](_0x247d18[_0x3f5376(0x1fc)],this['unitID'],this['type'],_0x1465f3[0x0],_0x9a34be,this[_0x3f5376(0x40d)],void 0x0);}throw _0x52a157[_0x3f5376(0x157)];}throw _0x13f0be[_0x3f5376(0x157)];}catch(_0x1c2fbc){return this['_logService'][_0x3f5376(0x157)](_0x1c2fbc),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x589d0b){var _0x23ccb3=_0x46a189;if(this[_0x23ccb3(0x1b4)](),this['_checkMissing'](_0x589d0b))return this[_0x23ccb3(0x3e1)][_0x23ccb3(0x10c)](_0x247d18[_0x23ccb3(0x249)],this['unitID'],this[_0x23ccb3(0xfd)],null,this[_0x23ccb3(0xcf)],this[_0x23ccb3(0x362)],[],this[_0x23ccb3(0x40d)]);this['_incrementRevisionNumber']();const _0x52d3a1=this[_0x23ccb3(0x3e1)][_0x23ccb3(0x10c)](_0x247d18[_0x23ccb3(0x341)],this['unitID'],this[_0x23ccb3(0xfd)],this[_0x23ccb3(0xcf)],this[_0x23ccb3(0x40d)]);return _0x52d3a1[_0x23ccb3(0x3fd)](),_0x52d3a1[_0x23ccb3(0x23d)](),_0x52d3a1;}[_0x46a189(0x342)](_0x4fda86){var _0x16b85d=_0x46a189;return this[_0x16b85d(0x3d1)](!!(_0x4fda86!=null&&_0x4fda86[_0x16b85d(0xb7)]));}['onRemoteRetry'](_0x3da459){var _0x24601e=_0x46a189;return this[_0x24601e(0xe8)]>_0x42e30a?this[_0x24601e(0x273)]():(this[_0x24601e(0x3ba)]=_0x8f7348(this[_0x24601e(0xe8)],{'timeout':this[_0x24601e(0xe8)],'reqId':_0x3da459[_0x24601e(0x29f)]}),this[_0x24601e(0x33f)]=this[_0x24601e(0x3ba)][_0x24601e(0x153)](({reqId:_0x43f786,timeout:_0x265f15})=>{var _0x3bc793=_0x24601e;this[_0x3bc793(0x3fc)](_0x43f786,_0x265f15);}),this);}['toggleOffline'](){var _0x1b664c=_0x46a189;return this[_0x1b664c(0x1b4)](),this['_injector'][_0x1b664c(0x10c)](_0x247d18[_0x1b664c(0xff)],this[_0x1b664c(0x194)],this['type'],this[_0x1b664c(0x362)],this[_0x1b664c(0xcf)],this[_0x1b664c(0x40d)]);}[_0x46a189(0x3e8)](){return this;}[_0x46a189(0xb9)](){var _0x38810c=_0x46a189;this['_handler'][_0x38810c(0x22e)](this[_0x38810c(0x362)]);}[_0x46a189(0x3d1)](_0x8e067){var _0x517a72=_0x46a189;return this['_clearScheduledTask'](),this[_0x517a72(0x3e1)][_0x517a72(0x10c)](_0x247d18[_0x517a72(0xbb)],this[_0x517a72(0x194)],this['type'],null,this[_0x517a72(0xcf)],this[_0x517a72(0x40d)],_0x8e067);}['_resendWithTimeout'](_0x4bcdb6,_0x18db0e){var _0x10ea87=_0x46a189,_0x38bf53;_0x4bcdb6===((_0x38bf53=this[_0x10ea87(0x362)])==null?void 0x0:_0x38bf53['reqId'])&&(this[_0x10ea87(0xb9)](),this[_0x10ea87(0xe8)]=_0x18db0e===0x0?0x3e8:_0x18db0e*0x2);}['_clearScheduledTask'](){var _0x34296b=_0x46a189,_0x3ed64d;(_0x3ed64d=this[_0x34296b(0x33f)])==null||_0x3ed64d['unsubscribe'](),this['_resendTimeout']=0x0;}},_0x247d18[_0x46a189(0x1fc)]=_0x476bd3([_0x1064ef(0x6,_0x112078['Inject'](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x7,_0x112078[_0x46a189(0x11e)](_0x4f9634['RevisionService'])),_0x1064ef(0x8,_0x112078['ICommandService']),_0x1064ef(0x9,_0x112078[_0x46a189(0xce)]),_0x1064ef(0xa,_0x4f9634[_0x46a189(0xbe)]),_0x1064ef(0xb,_0x112078[_0x46a189(0x197)]),_0x1064ef(0xc,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18[_0x46a189(0x1fc)]),_0x247d18[_0x46a189(0xbb)]=class extends _0x1442ea{constructor(_0x452086,_0x445b97,_0x2390d0,_0x2e7721,_0x34136d,_0x48c79c=!0x1,_0x56fdac,_0x1c9306,_0xd03f58,_0x46983f,_0x940f55,_0x1a9906,_0x5462d1){var _0x2cdac0=_0x46a189;super(_0x452086,_0x445b97,_0x2390d0,_0x2e7721,_0x34136d,_0x1c9306,_0xd03f58,_0x46983f,_0x5462d1),_0x25aa6e(this,_0x2cdac0(0x111),'conflict'),(this['_isPermissionRej']=_0x48c79c,this[_0x2cdac0(0x30f)]=_0x56fdac,this[_0x2cdac0(0x11a)]=_0x940f55,this['_collaborationUIEventService']=_0x1a9906,this[_0x2cdac0(0x2f7)]=_0x5462d1,this[_0x2cdac0(0x232)](),this[_0x2cdac0(0x41d)](),this[_0x2cdac0(0xa2)]());}[_0x46a189(0x359)](){return this;}['onRemoteChangeset'](){return this;}[_0x46a189(0xa4)](){return this;}['onRemoteRej'](){return this;}[_0x46a189(0x32f)](){return this;}[_0x46a189(0x273)](){return this;}[_0x46a189(0x3e8)](){return this;}[_0x46a189(0xb9)](){var _0x2ea67b=_0x46a189;throw new Error(_0x2ea67b(0x2e2));}[_0x46a189(0x41d)](){var _0x14183b=_0x46a189,_0x58ba2d;(_0x58ba2d=this['_localCacheService'])==null||_0x58ba2d[_0x14183b(0x2dd)](this[_0x14183b(0x194)],this['type'],null,[]);}[_0x46a189(0x232)](){var _0x413b8b=_0x46a189;this[_0x413b8b(0x2d5)]?this[_0x413b8b(0x281)]['emitEvent']({'id':_0xee750e[_0x413b8b(0x192)]}):this[_0x413b8b(0x281)][_0x413b8b(0xe5)]({'id':_0xee750e[_0x413b8b(0x2ce)]});}[_0x46a189(0xa2)](){var _0x3b7669=_0x46a189;this[_0x3b7669(0x30f)][_0x3b7669(0x1c0)](new _0x44a4a2['WorkbookEditablePermission'](this['unitID'])['id'],!0x1);}},_0x247d18[_0x46a189(0xbb)]=_0x476bd3([_0x1064ef(0x6,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x2e4)])),_0x1064ef(0x7,_0x112078[_0x46a189(0x375)]),_0x1064ef(0x8,_0x112078[_0x46a189(0x197)]),_0x1064ef(0x9,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x16f)])),_0x1064ef(0xa,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0xd9)])),_0x1064ef(0xb,_0x112078['Inject'](_0x12b7ba)),_0x1064ef(0xc,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18['ConflictState']),_0x247d18[_0x46a189(0xff)]=class extends _0x1442ea{constructor(_0xe0342a,_0x1f7ab6,_0x29b8a8,_0x1f68a2,_0x205121,_0x1085d2,_0x45290d,_0x321d1a,_0x53c8bf,_0x59a920){var _0x1ec399=_0x46a189;super(_0xe0342a,_0x1f7ab6,_0x29b8a8,_0x1f68a2,_0x205121,_0x321d1a,_0x53c8bf,_0x45290d,_0x59a920),_0x25aa6e(this,'status',_0x1ec399(0x121)),this['_injector']=_0x1085d2;}['appendMutation'](_0x1574cc){var _0x2defeb=_0x46a189;return this['_pendingMutations'][_0x2defeb(0x139)](_0x1574cc),this[_0x2defeb(0x23d)](),this;}[_0x46a189(0x350)](_0xaff2b1){var _0x42781d=_0x46a189;throw new Error(_0x42781d(0x185));}[_0x46a189(0xa4)](){var _0x5cb1ca=_0x46a189;throw new Error(_0x5cb1ca(0x2d1));}[_0x46a189(0x342)](){var _0x3a4134=_0x46a189;throw new Error(_0x3a4134(0x402));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x46a189(0x3e8)](){var _0x1a577f=_0x46a189;const {_injector:_0x215638,_pendingMutations:_0x2f529b,_awaitingChangeset:_0x4643b0,unitID:_0x5b1e14,_handler:_0x198e81,type:_0x330baa}=this,_0x2876b4=_0x43dba4(_0x215638,_0x5b1e14,_0x330baa,_0x4643b0,_0x2f529b,_0x198e81);return _0x2876b4 instanceof _0x247d18['PendingState']?_0x2876b4[_0x1a577f(0x3fd)]():(_0x2876b4 instanceof _0x247d18[_0x1a577f(0x1fc)]||_0x2876b4 instanceof _0x247d18[_0x1a577f(0x26f)])&&_0x2876b4[_0x1a577f(0xb9)](),_0x2876b4;}[_0x46a189(0xb9)](){var _0x31ce57=_0x46a189;throw new Error(_0x31ce57(0x149));}},_0x247d18[_0x46a189(0xff)]=_0x476bd3([_0x1064ef(0x5,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x6,_0x112078['Inject'](_0x4f9634[_0x46a189(0x16f)])),_0x1064ef(0x7,_0x112078['ICommandService']),_0x1064ef(0x8,_0x112078[_0x46a189(0x197)]),_0x1064ef(0x9,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18[_0x46a189(0xff)]),_0x247d18[_0x46a189(0x249)]=class extends _0x1442ea{constructor(_0x34b05c,_0x5681a1,_0x2948dc,_0x4c008a,_0x2de0e3,_0x5da276,_0x20aaac,_0xc5ecd1,_0xc9a751,_0x1f303f,_0x19fa9f,_0x37010b,_0x56de84,_0x481533){var _0x5e84b5=_0x46a189;super(_0x34b05c,_0x5681a1,_0x2948dc,_0x4c008a,_0x20aaac,_0x19fa9f,_0x37010b,_0xc9a751,_0x481533),_0x25aa6e(this,'status',_0x5e84b5(0x90)),(this[_0x5e84b5(0x3e2)]=_0x2de0e3,this[_0x5e84b5(0x1b2)]=_0x5da276,this['_injector']=_0xc5ecd1,this[_0x5e84b5(0x235)]=_0x1f303f,this['_transformService']=_0x56de84,this[_0x5e84b5(0x2f7)]=_0x481533);}[_0x46a189(0x1a5)](_0x4a3019){var _0x4e8158=_0x46a189;try{const _0x313009=[..._0x4a3019,...this[_0x4e8158(0x1b2)]],_0x1eaa1d=[this[_0x4e8158(0x362)]||this[_0x4e8158(0x3e2)]]['filter'](_0x3b9481=>!!_0x3b9481);let _0x5e8979,_0x9a4888;if(_0x1eaa1d[_0x4e8158(0x86)]){const _0x5965b8=this[_0x4e8158(0xb2)][_0x4e8158(0x112)](_0x313009,_0x1eaa1d,!0x1);if(!_0x4f9634[_0x4e8158(0x16a)](_0x5965b8))throw _0x5965b8['error'];_0x5e8979=_0x5965b8['c1Prime'],_0x9a4888=_0x5965b8[_0x4e8158(0x108)];}else _0x5e8979=_0x313009,_0x9a4888=[];let _0x20edfb=this[_0x4e8158(0xcf)];_0x5e8979[_0x4e8158(0x2f6)](_0xb9dd83=>{var _0x140d68=_0x4e8158;let _0x216e97;if(_0x20edfb[_0x140d68(0x86)]){const _0x1f1f5a=this['_transformService']['transformMutationsWithChangeset'](_0xb9dd83,_0x20edfb);if(!_0x4f9634['isTransformMutationsWithChangesetSuccess'](_0x1f1f5a))throw _0x1f1f5a['error'];_0x216e97=_0x1f1f5a[_0x140d68(0x23f)],_0x20edfb=_0x1f1f5a[_0x140d68(0x1d9)];}else _0x216e97=_0xb9dd83;this['_executeRemoteChangeset'](_0x216e97);}),this[_0x4e8158(0x3e2)]&&this['_incrementRevisionNumber'](),this[_0x4e8158(0x362)]&&_0x9a4888[_0x4e8158(0x86)]&&(_0x9a4888[0x0][_0x4e8158(0x174)]=this[_0x4e8158(0x183)]());let _0x1048f1;if(this[_0x4e8158(0x362)]&&_0x20edfb[_0x4e8158(0x86)]!==0x0)_0x1048f1=this[_0x4e8158(0x3e1)][_0x4e8158(0x10c)](_0x247d18[_0x4e8158(0x1fc)],this[_0x4e8158(0x194)],this[_0x4e8158(0xfd)],_0x9a4888[0x0],_0x20edfb,this[_0x4e8158(0x40d)],void 0x0);else{if(this[_0x4e8158(0x362)]&&_0x20edfb['length']===0x0)_0x9a4888[0x0]['baseRev']=this[_0x4e8158(0x183)](),_0x1048f1=this['_injector'][_0x4e8158(0x10c)](_0x247d18[_0x4e8158(0x26f)],this['unitID'],this[_0x4e8158(0xfd)],_0x9a4888[0x0],this[_0x4e8158(0x40d)]);else{if(_0x20edfb['length']!==0x0){const _0x1161e3=this[_0x4e8158(0x3e1)][_0x4e8158(0x10c)](_0x247d18['PendingState'],this[_0x4e8158(0x194)],this[_0x4e8158(0xfd)],_0x20edfb,this[_0x4e8158(0x40d)]);_0x1161e3[_0x4e8158(0x3fd)](),_0x1048f1=_0x1161e3;}else _0x1048f1=this[_0x4e8158(0x3e1)][_0x4e8158(0x10c)](_0x247d18[_0x4e8158(0x37b)],this[_0x4e8158(0x194)],this[_0x4e8158(0xfd)],this['_handler']);}}return _0x1048f1[_0x4e8158(0x23d)](),_0x1048f1;}catch(_0xba8702){return this[_0x4e8158(0x235)]['error'](_0x4e8158(0x231),_0x4e8158(0x230),_0xba8702),this[_0x4e8158(0x3e1)][_0x4e8158(0x10c)](_0x247d18[_0x4e8158(0xbb)],this['unitID'],this[_0x4e8158(0xfd)],this[_0x4e8158(0x362)],this[_0x4e8158(0xcf)],this[_0x4e8158(0x40d)],!0x1);}}[_0x46a189(0xb9)](){var _0x511eda=_0x46a189;throw new Error(_0x511eda(0xfc));}['appendMutation'](_0x2fd673){var _0x5c1a87=_0x46a189;return this['_pendingMutations'][_0x5c1a87(0x139)](_0x2fd673),this;}[_0x46a189(0x350)](_0xec5058){var _0x30a127=_0x46a189;return this[_0x30a127(0x1b2)][_0x30a127(0x139)](_0xec5058),this;}[_0x46a189(0xa4)](_0x8da4de){var _0x3c46fa=_0x46a189;if(this[_0x3c46fa(0x362)])return this[_0x3c46fa(0x3e2)]=this[_0x3c46fa(0x362)],this['_awaitingChangeset']=null,this;throw new Error(_0x3c46fa(0x294));}[_0x46a189(0x342)](_0x50b19d){var _0x2b799c=_0x46a189;return this['_onConflict'](!!(_0x50b19d!=null&&_0x50b19d[_0x2b799c(0xb7)]));}[_0x46a189(0x32f)](){return this;}[_0x46a189(0x273)](){var _0x2c1367=_0x46a189;return this[_0x2c1367(0x3e1)]['createInstance'](_0x247d18[_0x2c1367(0xff)],this[_0x2c1367(0x194)],this[_0x2c1367(0xfd)],this['_awaitingChangeset'],this[_0x2c1367(0xcf)],this[_0x2c1367(0x40d)]);}[_0x46a189(0x3e8)](){return this;}['_onConflict'](_0x4f5a81){var _0x50b6cf=_0x46a189;return this[_0x50b6cf(0x3e1)][_0x50b6cf(0x10c)](_0x247d18[_0x50b6cf(0xbb)],this['unitID'],this[_0x50b6cf(0xfd)],this[_0x50b6cf(0x362)],this[_0x50b6cf(0xcf)],this['_handler'],_0x4f5a81);}},_0x247d18['FetchingMissState']=_0x476bd3([_0x1064ef(0x7,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x8,_0x112078['Inject'](_0x4f9634[_0x46a189(0x16f)])),_0x1064ef(0x9,_0x112078[_0x46a189(0xce)]),_0x1064ef(0xa,_0x112078['ICommandService']),_0x1064ef(0xb,_0x112078['IUndoRedoService']),_0x1064ef(0xc,_0x4f9634[_0x46a189(0xbe)]),_0x1064ef(0xd,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18[_0x46a189(0x249)]);function _0x43dba4(_0x19f7c5,_0x347c81,_0x33cd0b,_0x134c46,_0x131a52,_0x33e7c8){var _0x2e0447=_0x46a189;return _0x134c46&&_0x131a52[_0x2e0447(0x86)]?_0x19f7c5[_0x2e0447(0x10c)](_0x247d18[_0x2e0447(0x1fc)],_0x347c81,_0x33cd0b,_0x134c46,_0x131a52,_0x33e7c8,void 0x0):_0x134c46?_0x19f7c5[_0x2e0447(0x10c)](_0x247d18[_0x2e0447(0x26f)],_0x347c81,_0x33cd0b,_0x134c46,_0x33e7c8):_0x131a52[_0x2e0447(0x86)]?_0x19f7c5['createInstance'](_0x247d18['PendingState'],_0x347c81,_0x33cd0b,_0x131a52,_0x33e7c8):_0x19f7c5[_0x2e0447(0x10c)](_0x247d18['SyncedState'],_0x347c81,_0x33cd0b,_0x33e7c8);}var _0x1ecd97=Object[_0x46a189(0x1d1)],_0x6fafde=(_0x522f63,_0x1530bb,_0x18eb0f,_0x4bd28e)=>{var _0x56993a=_0x46a189;for(var _0x10faf9=_0x4bd28e>0x1?void 0x0:_0x4bd28e?_0x1ecd97(_0x1530bb,_0x18eb0f):_0x1530bb,_0x450808=_0x522f63[_0x56993a(0x86)]-0x1,_0x32c5a2;_0x450808>=0x0;_0x450808--)(_0x32c5a2=_0x522f63[_0x450808])&&(_0x10faf9=_0x32c5a2(_0x10faf9)||_0x10faf9);return _0x10faf9;},_0x3290fe=(_0x39b6fa,_0x3ea48d)=>(_0x4c7c5e,_0x543f78)=>_0x3ea48d(_0x4c7c5e,_0x543f78,_0x39b6fa);_0x247d18[_0x46a189(0x11b)]=class extends _0x112078[_0x46a189(0x113)]{constructor(_0x16f116,_0x36e33b,_0x55986d,_0x3b0c5e,_0x150441,_0x10162a,_0x3555c3,_0x47f9ef,_0x326ef6,_0x36eeec,_0x3c052b,_0x171318,_0x450070,_0x3a82f2){var _0x12980b=_0x46a189;super(),_0x25aa6e(this,'_state$',new _0x1909d3['BehaviorSubject'](null)),_0x25aa6e(this,'state$',this[_0x12980b(0x1ba)][_0x12980b(0x2d0)]()),_0x25aa6e(this,_0x12980b(0x309)),_0x25aa6e(this,_0x12980b(0x2fc),!0x1),_0x25aa6e(this,'_changesetSessionId',''),_0x25aa6e(this,_0x12980b(0x2ef),0x0),_0x25aa6e(this,_0x12980b(0x3da),this[_0x12980b(0x95)]['pipe'](_0x1909d3[_0x12980b(0xb5)](_0x476aba=>_0x476aba?_0x476aba[_0x12980b(0x111)]:_0x41e9c8[_0x12980b(0x301)]),_0x1909d3[_0x12980b(0x160)](0x1))),_0x25aa6e(this,_0x12980b(0x209),!0x1),_0x25aa6e(this,_0x12980b(0x177),[]),(this[_0x12980b(0x194)]=_0x16f116,this[_0x12980b(0x2b9)]=_0x36e33b,this[_0x12980b(0x31b)]=_0x55986d,this['_injector']=_0x3b0c5e,this['_compressMutationService']=_0x150441,this['_localeService']=_0x10162a,this[_0x12980b(0xdf)]=_0x3555c3,this[_0x12980b(0x381)]=_0x47f9ef,this[_0x12980b(0x3cf)]=_0x326ef6,this[_0x12980b(0x235)]=_0x36eeec,this['_commandService']=_0x3c052b,this['_permissionService']=_0x171318,this['_singleActiveUnitService']=_0x450070,this[_0x12980b(0x11d)]=_0x3a82f2);}get[_0x46a189(0xfe)](){var _0x1cfcb8=_0x46a189;return this[_0x1cfcb8(0x309)];}async[_0x46a189(0x225)](){var _0x212e19=_0x46a189;if(this[_0x212e19(0xfe)])throw new Error(_0x212e19(0x412));await this[_0x212e19(0xc3)]();}['pauseCollaboration'](){var _0x54b5bd=_0x46a189;return this[_0x54b5bd(0x2fc)]=!0x0,_0x112078[_0x54b5bd(0x186)](()=>{var _0x381e25=_0x54b5bd;this['_collaborationPaused']=!0x1,this[_0x381e25(0x104)]();});}['onLocalMutation'](_0x39e184){var _0x10d38a=_0x46a189;this[_0x10d38a(0x382)](_0x39e184);}[_0x46a189(0xb6)](_0x3c0fd4){var _0x3ff702=_0x46a189;this[_0x3ff702(0x309)]=_0x3c0fd4,this[_0x3ff702(0x1ba)][_0x3ff702(0x28a)](_0x3c0fd4);}async[_0x46a189(0xc3)](){var _0x37e64d=_0x46a189,_0x444113;this[_0x37e64d(0xb6)](await this[_0x37e64d(0x1c4)]()),this[_0x37e64d(0x1ed)]&&((_0x444113=this[_0x37e64d(0x1ed)])==null||_0x444113[_0x37e64d(0x218)](this[_0x37e64d(0x194)]),this[_0x37e64d(0x13a)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x37e64d(0x194)])[_0x37e64d(0x153)](_0x380456=>{var _0x10de85=_0x37e64d;this['_logService'][_0x10de85(0x366)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x380456),_0x380456===_0xaf572f[_0x10de85(0x14e)]?(this[_0x10de85(0x381)][_0x10de85(0xe5)]({'id':_0xee750e['OTHER_CLIENT_EDITING']}),this[_0x10de85(0x30f)][_0x10de85(0x1c0)](new _0x44a4a2[(_0x10de85(0x377))](this[_0x10de85(0x194)])['id'],!0x1),this[_0x10de85(0x30f)][_0x10de85(0x39a)](!0x1)):(this[_0x10de85(0x30f)][_0x10de85(0x1c0)](new _0x44a4a2[(_0x10de85(0x377))](this[_0x10de85(0x194)])['id'],!0x0),this[_0x10de85(0x30f)][_0x10de85(0x39a)](!0x0));})));let _0x2006c0=!0x1;return this[_0x37e64d(0x13a)](this[_0x37e64d(0x2b9)][_0x37e64d(0x1f2)][_0x37e64d(0x153)](_0x1dc9b7=>{var _0x22196c=_0x37e64d;_0x1dc9b7===_0x4f1434['ONLINE']?this['_toggleOnline'](_0x2006c0):_0x1dc9b7===_0x4f1434['OFFLINE']&&(_0x2006c0=!0x0,this[_0x22196c(0x1bd)]());})),this[_0x37e64d(0x13a)](this[_0x37e64d(0x2b9)][_0x37e64d(0xd4)][_0x37e64d(0x153)](_0x1c8d0a=>{var _0xaf258f=_0x37e64d;try{switch(_0x1c8d0a[_0xaf258f(0x3df)]){case _0x4f9634[_0xaf258f(0x3f4)][_0xaf258f(0x154)]:{this[_0xaf258f(0x367)](_0x4f9634[_0xaf258f(0x1a6)](_0x1c8d0a[_0xaf258f(0x3f5)]));break;}case _0x4f9634[_0xaf258f(0x3f4)][_0xaf258f(0x3db)]:{this[_0xaf258f(0x22d)](_0x1c8d0a[_0xaf258f(0x3f5)]);break;}case _0x4f9634[_0xaf258f(0x3f4)][_0xaf258f(0x3d3)]:{this[_0xaf258f(0x200)]();break;}case _0x4f9634['CollaborationEvent'][_0xaf258f(0x239)]:{this[_0xaf258f(0x148)](_0x1c8d0a['data']);break;}case _0x4f9634[_0xaf258f(0x3f4)][_0xaf258f(0x422)]:{this[_0xaf258f(0xcc)](_0x1c8d0a['data'][_0xaf258f(0x344)][_0xaf258f(0xb5)](_0x464d49=>_0x4f9634['parseProtocolChangeset'](_0x464d49)));break;}case _0x4f9634[_0xaf258f(0x3f4)][_0xaf258f(0x286)]:{this[_0xaf258f(0x200)]({'isPermissionRej':!0x0});break;}case _0x4f9634['CollaborationEvent'][_0xaf258f(0x125)]:break;}}catch(_0x10f3be){throw console[_0xaf258f(0x157)](_0xaf258f(0x379),_0x10f3be),_0x10f3be;}})),this[_0x37e64d(0x309)];}[_0x46a189(0x39e)](){var _0x4b0dc1=_0x46a189;this[_0x4b0dc1(0x209)]=!0x1;}[_0x46a189(0x3fe)](){var _0x2f610a=_0x46a189;if(this[_0x2f610a(0x209)])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[_0x2f610a(0x209)]=!0x0;}['_onLocalMutation'](_0x47916d){var _0x4b700e=_0x46a189;this[_0x4b700e(0x3fe)](),this[_0x4b700e(0xb6)](this[_0x4b700e(0x309)][_0x4b700e(0x359)](_0x47916d)),this[_0x4b700e(0x39e)]();}[_0x46a189(0x367)](_0x572fba){var _0x239562=_0x46a189;if(!(_0x572fba[_0x239562(0x22b)]<=this[_0x239562(0xdf)][_0x239562(0x36d)](this[_0x239562(0x194)]))){if(this[_0x239562(0x2fc)]){this[_0x239562(0x177)][_0x239562(0x139)](_0x572fba);return;}this[_0x239562(0x3ab)](_0x572fba);}}['_exhaustRemoteChangesetQueue'](){var _0x1545b6=_0x46a189;this[_0x1545b6(0x177)][_0x1545b6(0x2f6)](_0x210d43=>this[_0x1545b6(0x3ab)](_0x210d43)),this[_0x1545b6(0x177)]=[];}[_0x46a189(0x3ab)](_0x13d800){var _0x5573c6=_0x46a189;const _0x5d433b=this[_0x5573c6(0x20c)][_0x5573c6(0x35f)][_0x5573c6(0x12e)](this['_compressMutationService']['interceptor'][_0x5573c6(0x2da)]()[_0x5573c6(0x3c2)])(_0x13d800[_0x5573c6(0x1af)],null)||_0x13d800[_0x5573c6(0x1af)],_0x4cd3bc={..._0x13d800,'mutations':_0x5d433b};this[_0x5573c6(0x3fe)](),this[_0x5573c6(0xb6)](this['_state'][_0x5573c6(0x350)](_0x4cd3bc)),this[_0x5573c6(0x39e)]();}[_0x46a189(0x22d)](_0x4f41bd){var _0x110b15=_0x46a189;this[_0x110b15(0x3fe)](),this['_updateState'](this[_0x110b15(0x309)]['onRemoteAck'](_0x4f41bd)),this['_unlockTransition']();}['_onRemoteRejected'](_0x1dbd52){var _0x157bbb=_0x46a189;this[_0x157bbb(0x3fe)](),this['_updateState'](this[_0x157bbb(0x309)][_0x157bbb(0x342)](_0x1dbd52)),this['_unlockTransition']();}[_0x46a189(0x148)](_0x4d1aa1){var _0x47b50a=_0x46a189;this['_lockTransition'](),this[_0x47b50a(0xb6)](this[_0x47b50a(0x309)]['onRemoteRetry'](_0x4d1aa1)),this['_unlockTransition']();}[_0x46a189(0xcc)](_0x431f4c){var _0x5d9a9b=_0x46a189;if(!(this['_state']instanceof _0x247d18['FetchingMissState']))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xd4b78=_0x431f4c[_0x5d9a9b(0xb5)](_0x1147b2=>{var _0x36d576=_0x5d9a9b;const _0x513ca7=this[_0x36d576(0x20c)][_0x36d576(0x35f)][_0x36d576(0x12e)](this['_compressMutationService'][_0x36d576(0x35f)]['getInterceptPoints']()[_0x36d576(0x3c2)])(_0x1147b2['mutations'],null)||_0x1147b2['mutations'];return{..._0x1147b2,'mutations':_0x513ca7};});this[_0x5d9a9b(0x3fe)](),this[_0x5d9a9b(0xb6)](this[_0x5d9a9b(0x309)][_0x5d9a9b(0x1a5)](_0xd4b78)),this[_0x5d9a9b(0x39e)]();}[_0x46a189(0x1bd)](){var _0x4f41a8=_0x46a189;this[_0x4f41a8(0x3fe)](),this[_0x4f41a8(0xb6)](this[_0x4f41a8(0x309)][_0x4f41a8(0x273)]()),this[_0x4f41a8(0x39e)]();}[_0x46a189(0x3e3)](_0x3a15a1=!0x1){var _0x26ba61=_0x46a189;this[_0x26ba61(0x3fe)](),this['_updateState'](this[_0x26ba61(0x309)][_0x26ba61(0x3e8)]()),this['_unlockTransition']();const _0x506c95=this[_0x26ba61(0x309)];_0x3a15a1&&_0x506c95 instanceof _0x247d18[_0x26ba61(0x37b)]&&(this[_0x26ba61(0x3fe)](),this['_updateState'](_0x506c95['fetchMiss']()),this[_0x26ba61(0x39e)]());}async[_0x46a189(0x1c4)](){return new Promise(_0x28ebf8=>{var _0x3d759c=_0x532f;this[_0x3d759c(0x2b9)]['sessionStatus$'][_0x3d759c(0x41a)](_0x1909d3[_0x3d759c(0x348)](0x1))['subscribe'](async _0xcf26f5=>{var _0x3ddd64=_0x3d759c;_0x28ebf8(await this['_createInitialStateImpl'](_0xcf26f5===_0x4f1434[_0x3ddd64(0x252)]));});});}['_createHandler'](){var _0x283fff=_0x46a189;const _0x1dcad4=this[_0x283fff(0x194)];return{'onStateChange':(_0xd951c3,_0x1d90f2)=>{var _0x4711a4=_0x283fff;if(_0xd951c3!==this[_0x4711a4(0x309)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0xd951c3['status']+_0x4711a4(0x2ea)+_0x1d90f2[_0x4711a4(0x111)]+_0x4711a4(0x22c)+this[_0x4711a4(0x309)][_0x4711a4(0x111)]);this[_0x4711a4(0xb6)](_0x1d90f2);},'onSendChangeset':_0x3691a2=>{var _0x421f77=_0x283fff;_0x3691a2[_0x421f77(0x2cb)]||(_0x3691a2['sid']=this[_0x421f77(0xaf)],_0x3691a2[_0x421f77(0x29f)]=++this[_0x421f77(0x2ef)]);const _0x587db2={'eventID':_0x4f9634[_0x421f77(0x3f4)][_0x421f77(0x3f3)],'data':{'unitID':_0x3691a2[_0x421f77(0x194)],'unitType':this[_0x421f77(0x31b)],'changeset':_0x3691a2,'memberID':this[_0x421f77(0x2b9)][_0x421f77(0x25a)]()}};this['session'][_0x421f77(0x2fa)](_0x587db2,this[_0x421f77(0x194)]);},'onMissingChangesets':({from:_0x282d96,to:_0x79b22c})=>{var _0x2c6009=_0x283fff;this[_0x2c6009(0x235)][_0x2c6009(0x366)]('[CollaborationEntity]',_0x2c6009(0x36a)+_0x282d96+'\x20to\x20'+_0x79b22c);const _0x4257dc={'eventID':_0x4f9634['CollaborationEvent'][_0x2c6009(0x1b9)],'data':{'unitID':_0x1dcad4,'unitType':this[_0x2c6009(0x31b)],'from':_0x282d96,'to':_0x79b22c}};this[_0x2c6009(0x2b9)]['send'](_0x4257dc,this[_0x2c6009(0x194)]);}};}async[_0x46a189(0x23a)](_0x445883){var _0x54c873=_0x46a189,_0x106b8c,_0x32bfcb,_0x29ac10;const _0x5bc15a=await((_0x106b8c=this[_0x54c873(0x11d)])==null?void 0x0:_0x106b8c[_0x54c873(0x215)](this[_0x54c873(0x194)])),_0x31d820=(_0x32bfcb=_0x5bc15a==null?void 0x0:_0x5bc15a[_0x54c873(0x1af)])!=null?_0x32bfcb:[],_0x7cd963=(_0x29ac10=_0x5bc15a==null?void 0x0:_0x5bc15a['awaitingChangeset'])!=null?_0x29ac10:null,_0x3990a6=!!(_0x7cd963!=null&&_0x7cd963[_0x54c873(0x2cb)])&&!!(_0x7cd963!=null&&_0x7cd963[_0x54c873(0x29f)]);this[_0x54c873(0xaf)]=_0x3990a6?_0x7cd963[_0x54c873(0x2cb)]:_0x4f9634[_0x54c873(0x414)](),this[_0x54c873(0x2ef)]=_0x3990a6?_0x7cd963[_0x54c873(0x29f)]:0x0;const _0x1fd5b2=this[_0x54c873(0x194)];try{this[_0x54c873(0x8b)](_0x7cd963,_0x31d820);}catch(_0x121857){this['_logService']['error'](_0x121857);}const _0x402e8e=this[_0x54c873(0x2e0)]();if(_0x445883){const _0x89fbe7=_0x43dba4(this[_0x54c873(0x3e1)],_0x1fd5b2,this[_0x54c873(0x31b)],_0x7cd963,_0x31d820,_0x402e8e);return _0x89fbe7 instanceof _0x247d18[_0x54c873(0x341)]?_0x89fbe7['_schedule']():(_0x89fbe7 instanceof _0x247d18[_0x54c873(0x1fc)]||_0x89fbe7 instanceof _0x247d18[_0x54c873(0x26f)])&&_0x89fbe7['resend'](),_0x89fbe7;}return this[_0x54c873(0x3e1)][_0x54c873(0x10c)](_0x247d18[_0x54c873(0xff)],_0x1fd5b2,this[_0x54c873(0x31b)],_0x7cd963,_0x31d820,_0x402e8e);}[_0x46a189(0x8b)](_0x2da263,_0x5aa6bc){var _0x2b496d=_0x46a189,_0x419d23,_0x47c31d;const _0x1f1221=this[_0x2b496d(0x20c)]['interceptor'][_0x2b496d(0x12e)](this['_compressMutationService'][_0x2b496d(0x35f)][_0x2b496d(0x2da)]()[_0x2b496d(0x3c2)]);(_0x419d23=_0x1f1221((_0x2da263==null?void 0x0:_0x2da263[_0x2b496d(0x1af)])||[],null))==null||_0x419d23[_0x2b496d(0x2f6)](_0x268cd9=>this[_0x2b496d(0x244)][_0x2b496d(0xc0)](_0x268cd9['id'],_0x268cd9['params'])),(_0x47c31d=_0x1f1221(_0x5aa6bc||[],null))==null||_0x47c31d[_0x2b496d(0x2f6)](_0x1e5cbd=>this[_0x2b496d(0x244)]['executeCommand'](_0x1e5cbd['id'],_0x1e5cbd[_0x2b496d(0x30e)]));}},_0x247d18['CollaborationEntity']=_0x6fafde([_0x3290fe(0x3,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x3290fe(0x4,_0x112078['Inject'](_0x4f9634[_0x46a189(0x2af)])),_0x3290fe(0x5,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0xd9)])),_0x3290fe(0x6,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x16f)])),_0x3290fe(0x7,_0x112078['Inject'](_0x12b7ba)),_0x3290fe(0x8,_0x112078['IUniverInstanceService']),_0x3290fe(0x9,_0x112078['ILogService']),_0x3290fe(0xa,_0x112078['ICommandService']),_0x3290fe(0xb,_0x112078[_0x46a189(0x2e4)]),_0x3290fe(0xc,_0x112078[_0x46a189(0x24e)](_0x51ca0c)),_0x3290fe(0xd,_0x112078['Optional'](_0x1257cc))],_0x247d18['CollaborationEntity']),_0x247d18[_0x46a189(0x3a3)]=class extends _0x247d18[_0x46a189(0x11b)]{constructor(_0x1b7403,_0x1a8b0a,_0x4d8d28,_0x3ba352,_0xe6b339,_0x4892dd,_0x5c0392,_0x26ecf8,_0x20a136,_0x300966,_0x2e4512,_0x4949b9,_0x36ef31,_0x3ab146){var _0x4ed337=_0x46a189;super(_0x1b7403,_0x4d8d28,_0x1a8b0a,_0x3ba352,_0xe6b339,_0x4892dd,_0x5c0392,_0x26ecf8,_0x20a136,_0x300966,_0x2e4512,_0x4949b9,_0x36ef31,_0x3ab146),_0x25aa6e(this,_0x4ed337(0x1a4),null),(this[_0x4ed337(0x194)]=_0x1b7403,this[_0x4ed337(0xfd)]=_0x1a8b0a);}[_0x46a189(0x413)](_0x477d30){var _0x186c6c=_0x46a189;this[_0x186c6c(0x1a4)]=_0x477d30;}['dispose'](){var _0x30eac4=_0x46a189;this['_handlerCallback']=null,super[_0x30eac4(0x376)]();}[_0x46a189(0x2e0)](){var _0x4c9cc3=_0x46a189;const _0x52a79d=super[_0x4c9cc3(0x2e0)]();return _0x52a79d[_0x4c9cc3(0xb4)]=_0x1d38d5=>{var _0x3d430f=_0x4c9cc3,_0x337177,_0x1318e8;return(_0x1318e8=(_0x337177=this[_0x3d430f(0x1a4)])==null?void 0x0:_0x337177[_0x3d430f(0xb4)])==null?void 0x0:_0x1318e8[_0x3d430f(0x3f2)](_0x337177,_0x1d38d5);},_0x52a79d[_0x4c9cc3(0x96)]=_0x18d378=>{var _0x29078c=_0x4c9cc3,_0x356075,_0x283c31;return(_0x283c31=(_0x356075=this[_0x29078c(0x1a4)])==null?void 0x0:_0x356075[_0x29078c(0x96)])==null?void 0x0:_0x283c31[_0x29078c(0x3f2)](_0x356075,_0x18d378);},_0x52a79d[_0x4c9cc3(0x17c)]=_0x32135e=>{var _0x464d5a=_0x4c9cc3,_0x5581b8,_0x479f06;return(_0x479f06=(_0x5581b8=this['_handlerCallback'])==null?void 0x0:_0x5581b8[_0x464d5a(0x17c)])==null?void 0x0:_0x479f06['call'](_0x5581b8,_0x32135e);},_0x52a79d[_0x4c9cc3(0x2b1)]=_0xfe58a3=>{var _0x13cec1=_0x4c9cc3,_0x50710c,_0x3c8c04;return(_0x3c8c04=(_0x50710c=this['_handlerCallback'])==null?void 0x0:_0x50710c['onSyncEditingCollabCursor'])==null?void 0x0:_0x3c8c04[_0x13cec1(0x3f2)](_0x50710c,_0xfe58a3);},_0x52a79d['onTransformRemoteChangesetByIMECache']=_0x42e961=>{var _0x2afac2=_0x4c9cc3,_0x21c3db,_0x1211e5,_0x51200f;if(!((_0x21c3db=this[_0x2afac2(0x1a4)])!=null&&_0x21c3db[_0x2afac2(0x29d)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x51200f=(_0x1211e5=this[_0x2afac2(0x1a4)])==null?void 0x0:_0x1211e5[_0x2afac2(0x29d)])==null?void 0x0:_0x51200f[_0x2afac2(0x3f2)](_0x1211e5,_0x42e961);},_0x52a79d[_0x4c9cc3(0x97)]=_0x497c55=>{var _0x15bddf=_0x4c9cc3,_0x151166,_0x47e785,_0x93cef8;if(!((_0x151166=this[_0x15bddf(0x1a4)])!=null&&_0x151166[_0x15bddf(0x97)]))throw new Error(_0x15bddf(0x132));return(_0x93cef8=(_0x47e785=this[_0x15bddf(0x1a4)])==null?void 0x0:_0x47e785[_0x15bddf(0x97)])==null?void 0x0:_0x93cef8[_0x15bddf(0x3f2)](_0x47e785,_0x497c55);},_0x52a79d;}async['_init'](){var _0x81432a=_0x46a189;const _0x26253a=await super['_init']();return this[_0x81432a(0x13a)](this[_0x81432a(0x244)]['onCommandExecuted']((_0x3327f2,_0x429e4d)=>{var _0x4f65ed=_0x81432a;if(_0x3327f2[_0x4f65ed(0xfd)]!==_0x112078['CommandType'][_0x4f65ed(0x3ce)]||_0x429e4d!=null&&_0x429e4d[_0x4f65ed(0xa9)]||_0x429e4d!=null&&_0x429e4d[_0x4f65ed(0x175)]||_0x3327f2['id']===_0x171cda[_0x4f65ed(0x2c5)]['id'])return;const _0x5028de=_0x3327f2['params'];if((_0x5028de==null?void 0x0:_0x5028de[_0x4f65ed(0x124)])!==this[_0x4f65ed(0x194)])return;const _0x2827f2=_0x3327f2,_0x377840=this[_0x4f65ed(0x20c)][_0x4f65ed(0x35f)][_0x4f65ed(0x12e)](this[_0x4f65ed(0x20c)][_0x4f65ed(0x35f)][_0x4f65ed(0x2da)]()[_0x4f65ed(0x22a)])([_0x2827f2],this[_0x4f65ed(0x3cf)])||[_0x2827f2];this['_onLocalMutation'](_0x377840[0x0]);})),_0x26253a;}},_0x247d18[_0x46a189(0x3a3)]=_0x6fafde([_0x3290fe(0x3,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x3290fe(0x4,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x2af)])),_0x3290fe(0x5,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0xd9)])),_0x3290fe(0x6,_0x112078['Inject'](_0x4f9634['RevisionService'])),_0x3290fe(0x7,_0x112078[_0x46a189(0x11e)](_0x12b7ba)),_0x3290fe(0x8,_0x112078[_0x46a189(0x93)]),_0x3290fe(0x9,_0x112078['ILogService']),_0x3290fe(0xa,_0x112078[_0x46a189(0x375)]),_0x3290fe(0xb,_0x112078['IPermissionService']),_0x3290fe(0xc,_0x112078[_0x46a189(0x24e)](_0x51ca0c)),_0x3290fe(0xd,_0x112078['Optional'](_0x1257cc))],_0x247d18['DocCollaborationEntity']),_0x247d18[_0x46a189(0x391)]=class extends _0x247d18[_0x46a189(0x11b)]{constructor(_0x51150b,_0x2cea13,_0x50bc74,_0x3aacf9,_0x45c34d,_0x1274eb,_0x322080,_0x256131,_0xca5ece,_0x2a73a8,_0x26dce4,_0x1cc97b,_0x554cb8,_0x1828c1,_0x318adc){var _0x471356=_0x46a189;super(_0x51150b,_0x50bc74,_0x2cea13,_0x3aacf9,_0x45c34d,_0x1274eb,_0x322080,_0xca5ece,_0x2a73a8,_0x26dce4,_0x1cc97b,_0x554cb8,_0x1828c1,_0x318adc),this['unitID']=_0x51150b,this[_0x471356(0xfd)]=_0x2cea13,this[_0x471356(0x337)]=_0x256131;}[_0x46a189(0x2e0)](){var _0x12c16a=_0x46a189;const _0xa139e3=super['_createHandler']();return _0xa139e3[_0x12c16a(0x17c)]=_0x4ecda1=>this[_0x12c16a(0x337)][_0x12c16a(0x351)](_0x4ecda1),_0xa139e3;}async[_0x46a189(0xc3)](){var _0x1535e2=_0x46a189;const _0x1ddd29=await super[_0x1535e2(0xc3)]();return this[_0x1535e2(0x13a)](this['_commandService'][_0x1535e2(0x331)]((_0x5a26f1,_0x57a7a3)=>{var _0x390f84=_0x1535e2;if(_0x5a26f1[_0x390f84(0xfd)]!==_0x112078[_0x390f84(0x18e)][_0x390f84(0x3ce)]||_0x57a7a3!=null&&_0x57a7a3[_0x390f84(0xa9)]||_0x57a7a3!=null&&_0x57a7a3[_0x390f84(0x175)])return;const _0xc3a16f=_0x5a26f1['params'];if((_0xc3a16f==null?void 0x0:_0xc3a16f['unitId'])!==this['unitID'])return;const _0x58fcc1=_0x5a26f1,_0x5cdf44=this['_compressMutationService'][_0x390f84(0x35f)][_0x390f84(0x12e)](this[_0x390f84(0x20c)][_0x390f84(0x35f)][_0x390f84(0x2da)]()[_0x390f84(0x22a)])([_0x58fcc1],this[_0x390f84(0x3cf)])||[_0x58fcc1];this[_0x390f84(0x382)](_0x5cdf44[0x0]);})),_0x1ddd29;}},_0x247d18[_0x46a189(0x391)]=_0x6fafde([_0x3290fe(0x3,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x3290fe(0x4,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x2af)])),_0x3290fe(0x5,_0x112078['Inject'](_0x112078['LocaleService'])),_0x3290fe(0x6,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x16f)])),_0x3290fe(0x7,_0x112078[_0x46a189(0x11e)](_0x247d18[_0x46a189(0xc4)])),_0x3290fe(0x8,_0x112078[_0x46a189(0x11e)](_0x12b7ba)),_0x3290fe(0x9,_0x112078[_0x46a189(0x93)]),_0x3290fe(0xa,_0x112078['ILogService']),_0x3290fe(0xb,_0x112078[_0x46a189(0x375)]),_0x3290fe(0xc,_0x112078[_0x46a189(0x2e4)]),_0x3290fe(0xd,_0x112078[_0x46a189(0x24e)](_0x51ca0c)),_0x3290fe(0xe,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18[_0x46a189(0x391)]);const _0x4284be=_0x112078[_0x46a189(0x1fe)](_0x46a189(0x133));function _0x3a30da(_0x36c8b2){var _0x412ef9=_0x46a189,_0x44ac5b,_0x2406fb,_0x1e60b5,_0x4b64fb,_0x20d046;const _0xfdcb12=_0x36c8b2[_0x412ef9(0x3f5)],_0x17149d=JSON[_0x412ef9(0x390)](_0xfdcb12);switch(_0x17149d[_0x412ef9(0x2d6)]){case _0x32720a[_0x412ef9(0x226)]:case _0x32720a[_0x412ef9(0x26c)]:{const _0x2540a8=_0x17149d[_0x412ef9(0x3c6)];return{..._0x17149d,'data':_0x2540a8,'cmd':_0x17149d['cmd']};}case _0x32720a[_0x412ef9(0xd0)]:{const _0x1c87c4=_0x17149d[_0x412ef9(0x371)];return{..._0x17149d,'data':_0x1c87c4,'cmd':_0x17149d[_0x412ef9(0x2d6)]};}case _0x32720a[_0x412ef9(0x32d)]:{const _0x5153a0=_0x17149d[_0x412ef9(0x156)];switch(_0x5153a0[_0x412ef9(0x3df)]){case _0x4f9634['CollaborationEvent'][_0x412ef9(0x286)]:return{..._0x17149d,'data':{..._0x5153a0,'data':(_0x44ac5b=_0x5153a0['permissionRejEvent'])==null?void 0x0:_0x44ac5b['cs']},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x3db)]:return{..._0x17149d,'data':{..._0x5153a0,'data':(_0x2406fb=_0x5153a0['csAckEvent'])==null?void 0x0:_0x2406fb['cs']},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)]['NEW_CHANGESETS']:return{..._0x17149d,'data':{..._0x5153a0,'data':(_0x1e60b5=_0x5153a0[_0x412ef9(0x223)])==null?void 0x0:_0x1e60b5['cs']},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x3d3)]:return{..._0x17149d,'data':{..._0x5153a0,'data':(_0x4b64fb=_0x5153a0['csRejEvent'])==null?void 0x0:_0x4b64fb['cs']},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x239)]:return{..._0x17149d,'data':{..._0x5153a0,'data':(_0x20d046=_0x5153a0[_0x412ef9(0x3e9)])==null?void 0x0:_0x20d046['cs']},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x1e2)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0['updateCursorEvent']},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x339)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x128)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634['CollaborationEvent']['USERS_LEAVE']:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x8d)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634['CollaborationEvent'][_0x412ef9(0x303)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x33c)]},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x25e)]:case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x25c)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x34f)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634['CollaborationEvent'][_0x412ef9(0x29b)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x33c)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634[_0x412ef9(0x3f4)]['MSG_FOR_ERROR']:return{..._0x17149d,'data':_0x5153a0,'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634[_0x412ef9(0x3f4)]['COMMENT_UPDATE']:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0xf8)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634[_0x412ef9(0x3f4)]['UPDATE_PERMISSION_OBJ']:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x3cd)]},'cmd':_0x17149d['cmd']};case _0x4f9634['CollaborationEvent'][_0x412ef9(0x85)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x30b)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634[_0x412ef9(0x3f4)]['UNISCRIPT_RUN']:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x274)]},'cmd':_0x17149d['cmd']};default:return _0x17149d;}}default:return _0x17149d;}}function _0x5da2ca(_0x583679){var _0x5b6b62=_0x46a189;switch(_0x583679[_0x5b6b62(0x2d6)]){case _0x32720a[_0x5b6b62(0x226)]:case _0x32720a[_0x5b6b62(0x26c)]:return JSON[_0x5b6b62(0x27f)]({'cmd':_0x583679['cmd'],'routeKey':_0x583679[_0x5b6b62(0xb1)]});case _0x32720a[_0x5b6b62(0x191)]:{let _0x55e346;switch(_0x583679[_0x5b6b62(0x3f5)][_0x5b6b62(0x3df)]){case _0x4f9634['CollaborationEvent'][_0x5b6b62(0x1e2)]:{_0x55e346={'eventID':_0x4f9634['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x583679[_0x5b6b62(0x3f5)][_0x5b6b62(0x3f5)]};break;}case _0x4f9634[_0x5b6b62(0x3f4)]['USERS_LEAVE']:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x2bd)],'leaveEvent':_0x583679['data']['data']};break;}case _0x4f9634['CollaborationEvent'][_0x5b6b62(0x339)]:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x339)],'joinEvent':_0x583679['data']['data']};break;}case _0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x303)]:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x303)],'liveShareNewHost':_0x583679[_0x5b6b62(0x3f5)]['data']};break;}case _0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x25c)]:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x25c)],'liveShareOperation':_0x583679[_0x5b6b62(0x3f5)]['data']};break;}case _0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x29b)]:{_0x55e346={'eventID':_0x4f9634['CollaborationEvent'][_0x5b6b62(0x29b)],'liveShareTerminate':_0x583679[_0x5b6b62(0x3f5)][_0x5b6b62(0x3f5)]};break;}case _0x4f9634[_0x5b6b62(0x3f4)]['LIVESHARE_REQUEST_HOST']:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x2b6)],'liveShareRequestHost':_0x583679['data']['data']};break;}case _0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x25e)]:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x25e)]};break;}default:_0x55e346={'eventID':_0x583679['data'][_0x5b6b62(0x3df)]};}return JSON['stringify']({'cmd':_0x583679[_0x5b6b62(0x2d6)],'routeKey':_0x583679['routeKey'],'collaMsg':_0x55e346});}case _0x32720a[_0x5b6b62(0xd0)]:return JSON[_0x5b6b62(0x27f)]({'cmd':_0x583679[_0x5b6b62(0x2d6)],'routeKey':_0x583679[_0x5b6b62(0xb1)],'joinReq':_0x583679[_0x5b6b62(0x3f5)]});case _0x32720a[_0x5b6b62(0x39d)]:return JSON[_0x5b6b62(0x27f)]({'cmd':_0x583679['cmd'],'routeKey':_0x583679[_0x5b6b62(0xb1)],'leaveReq':_0x583679[_0x5b6b62(0x3f5)]});default:throw new Error(_0x5b6b62(0x21c));}}var _0x42b74e=Object['getOwnPropertyDescriptor'],_0x30e8f2=(_0x264a45,_0xe17de,_0x313136,_0x2d4897)=>{var _0x1c9d40=_0x46a189;for(var _0x3110e7=_0x2d4897>0x1?void 0x0:_0x2d4897?_0x42b74e(_0xe17de,_0x313136):_0xe17de,_0x37e8cf=_0x264a45[_0x1c9d40(0x86)]-0x1,_0xa52f31;_0x37e8cf>=0x0;_0x37e8cf--)(_0xa52f31=_0x264a45[_0x37e8cf])&&(_0x3110e7=_0xa52f31(_0x3110e7)||_0x3110e7);return _0x3110e7;},_0x3feea7=(_0x1d920e,_0x18821d)=>(_0x36a04c,_0x4ee9ac)=>_0x18821d(_0x36a04c,_0x4ee9ac,_0x1d920e);const _0x5501e9=_0x112078[_0x46a189(0x1fe)]('univer-pro.collaboration-client-socket-service');function _0x2ae8ef(_0x447bae,_0x2d638a,_0x498a4c){var _0x520f04=_0x46a189;return _0x447bae+'/'+_0x2d638a+_0x520f04(0x3fb)+_0x498a4c+_0x520f04(0x1c5);}_0x247d18[_0x46a189(0x304)]=class extends _0x112078[_0x46a189(0x426)]{constructor(_0x4014bd,_0x563819,_0x2fc33c,_0xac7335,_0x317c2e){var _0x23203e=_0x46a189;super(),this[_0x23203e(0x3e1)]=_0x4014bd,this[_0x23203e(0x320)]=_0x563819,this[_0x23203e(0xad)]=_0x2fc33c,this[_0x23203e(0x235)]=_0xac7335,this[_0x23203e(0x214)]=_0x317c2e;}['_doCreateSocket'](_0x3506a6){var _0x1a6fac=_0x46a189;const _0x1746e9=this[_0x1a6fac(0x3e1)][_0x1a6fac(0x3aa)](_0x1b0b18[_0x1a6fac(0x1df)]);if(!_0x1746e9)throw new Error(_0x1a6fac(0x2e1));const _0x3f3a92=_0x1746e9[_0x1a6fac(0x3b4)](_0x3506a6);if(!_0x3f3a92)throw new Error(_0x1a6fac(0x260));const _0x44e3b2=new _0x112078[(_0x1a6fac(0x3ee))](),_0x404c6f=new _0x1909d3['Subject']();_0x44e3b2['add'](_0x3f3a92[_0x1a6fac(0x2d2)][_0x1a6fac(0x153)](_0x9278e6=>_0x404c6f['next'](_0x9278e6))),_0x44e3b2[_0x1a6fac(0x1f4)](_0x112078['toDisposable'](()=>_0x404c6f['complete']()));const _0x400deb=new _0x1909d3[(_0x1a6fac(0x276))]();_0x44e3b2[_0x1a6fac(0x1f4)](_0x3f3a92[_0x1a6fac(0x269)][_0x1a6fac(0x153)](_0x3b3020=>_0x400deb[_0x1a6fac(0x28a)](_0x3b3020))),_0x44e3b2[_0x1a6fac(0x1f4)](_0x112078[_0x1a6fac(0x186)](()=>_0x400deb[_0x1a6fac(0x1c3)]()));const _0x113e2e=new _0x1909d3[(_0x1a6fac(0x276))]();_0x44e3b2[_0x1a6fac(0x1f4)](_0x3f3a92['message$'][_0x1a6fac(0x153)](_0x36d514=>{var _0xa5e038=_0x1a6fac;const _0x402377=_0x3a30da(_0x36d514);_0x113e2e[_0xa5e038(0x28a)](_0x402377);})),_0x44e3b2[_0x1a6fac(0x1f4)](_0x112078[_0x1a6fac(0x186)](()=>_0x113e2e['complete']()));let _0x4834b9;const _0x1fd89f=()=>{var _0x41f840=_0x1a6fac;_0x400deb[_0x41f840(0x28a)](new Event(_0x41f840(0x3a9))),_0x404c6f['next'](new Event(_0x41f840(0x3a9))),_0x4834b9[_0x41f840(0xbc)]();};return _0x4834b9={'memberID':'','close$':_0x404c6f[_0x1a6fac(0x2d0)](),'error$':_0x400deb[_0x1a6fac(0x2d0)](),'open$':_0x3f3a92[_0x1a6fac(0xe0)],'message$':_0x113e2e[_0x1a6fac(0x2d0)](),'send':_0x4d4bf9=>{var _0x26db11=_0x1a6fac;if(_0x4d4bf9[_0x26db11(0x2d6)]===_0x32720a[_0x26db11(0x191)]){if(_0x4d4bf9['data']['eventID']===_0x4f9634[_0x26db11(0x3f4)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x4834b9,_0x4d4bf9[_0x26db11(0x3f5)])[_0x26db11(0x40a)](_0x2fe844=>{var _0x32a246=_0x26db11;this[_0x32a246(0x235)][_0x32a246(0x157)](_0x2fe844),_0x1fd89f();});return;}if(_0x4d4bf9[_0x26db11(0x3f5)][_0x26db11(0x3df)]===_0x4f9634[_0x26db11(0x3f4)][_0x26db11(0x1b9)]){const _0x22207a=_0x4d4bf9[_0x26db11(0x3f5)];this[_0x26db11(0x35d)](_0x22207a)[_0x26db11(0x2a7)](_0x349413=>{var _0x4e11c4=_0x26db11;_0x113e2e[_0x4e11c4(0x28a)]({'cmd':_0x32720a[_0x4e11c4(0x32d)],'code':_0x142cf7['OK'],'routeKey':_0x22207a[_0x4e11c4(0x3f5)]['unitID'],'routeType':'','data':{'eventID':_0x4f9634[_0x4e11c4(0x3f4)][_0x4e11c4(0x422)],'data':{'changesets':_0x349413}}});})['catch'](_0x3e1703=>{var _0x379cea=_0x26db11;this[_0x379cea(0x235)][_0x379cea(0x157)](_0x3e1703),_0x1fd89f();});return;}}_0x3f3a92['send'](_0x5da2ca(_0x4d4bf9));},'close':()=>{_0x3f3a92['close'](),_0x44e3b2['dispose']();}},_0x4834b9;}async[_0x46a189(0x145)](_0x9e485d,_0x53cddc){var _0xced9f0=_0x46a189,_0x349d30;const {unitType:_0x29bda1,unitID:_0x9de0a6,changeset:_0xd176a1}=_0x53cddc[_0xced9f0(0x3f5)],_0x4d132f={'unitID':_0x9de0a6,'memberID':_0x9e485d[_0xced9f0(0x2c4)],'type':_0x29bda1,'changeset':_0x4f9634['parseChangesetToProtocol'](_0xd176a1)},_0x44bcad=this[_0xced9f0(0xad)][_0xced9f0(0x2a2)](_0x4f0c7a),_0x3a0a79=_0x2ae8ef((_0x349d30=_0x44bcad==null?void 0x0:_0x44bcad['collabSubmitChangesetUrl'])!=null?_0x349d30:_0x18fa10,_0x29bda1,_0x9de0a6);try{await this[_0xced9f0(0x320)]['post'](_0x3a0a79,{'body':_0x4d132f});}catch(_0x20a04a){throw this['_logService'][_0xced9f0(0x157)](_0xced9f0(0x324),'submit\x20changeset\x20error!'),_0x20a04a;}}async[_0x46a189(0x35d)](_0x46d198){var _0x5039b4=_0x46a189;const {unitID:_0x47ed61,from:_0x501211,to:_0x5c8bc4,unitType:_0x494f00}=_0x46d198[_0x5039b4(0x3f5)];return(await this[_0x5039b4(0x214)][_0x5039b4(0x2fe)]({'metadata':void 0x0},{'unitID':_0x47ed61,'type':_0x494f00,'from':_0x501211,'to':_0x5c8bc4}))['changesets']['map'](_0x5eb4c6=>((_0x5eb4c6['mutations']===null||_0x5eb4c6[_0x5039b4(0x1af)]===void 0x0)&&(_0x5eb4c6[_0x5039b4(0x1af)]=[]),_0x5eb4c6));}},_0x247d18[_0x46a189(0x304)]=_0x30e8f2([_0x3feea7(0x0,_0x112078[_0x46a189(0x11e)](_0x112078['Injector'])),_0x3feea7(0x1,_0x112078[_0x46a189(0x11e)](_0x1b0b18[_0x46a189(0x2e7)])),_0x3feea7(0x2,_0x112078[_0x46a189(0x22f)]),_0x3feea7(0x3,_0x112078[_0x46a189(0xce)]),_0x3feea7(0x4,_0x4f9634[_0x46a189(0x119)])],_0x247d18[_0x46a189(0x304)]);var _0x3e9554=Object[_0x46a189(0x1d1)],_0x3bf711=(_0x44b016,_0x1dfba1,_0x5e6ba7,_0x49940e)=>{var _0x4036e8=_0x46a189;for(var _0x4d2fb1=_0x49940e>0x1?void 0x0:_0x49940e?_0x3e9554(_0x1dfba1,_0x5e6ba7):_0x1dfba1,_0xbc37a=_0x44b016[_0x4036e8(0x86)]-0x1,_0x3d9974;_0xbc37a>=0x0;_0xbc37a--)(_0x3d9974=_0x44b016[_0xbc37a])&&(_0x4d2fb1=_0x3d9974(_0x4d2fb1)||_0x4d2fb1);return _0x4d2fb1;},_0x1c57e1=(_0x12729c,_0x466b7f)=>(_0x534ae2,_0xaf5322)=>_0x466b7f(_0x534ae2,_0xaf5322,_0x12729c);_0x247d18[_0x46a189(0x3a4)]=class extends _0x112078['Disposable']{constructor(_0x2a10c6,_0x5a8b9e,_0x9ec38b,_0x867483,_0x4c62a9,_0x206722){var _0x381671=_0x46a189;super(),_0x25aa6e(this,_0x381671(0xb3),new _0x1909d3[(_0x381671(0xf5))](void 0x0)),_0x25aa6e(this,'socket$',this['_socket$']['asObservable']()),_0x25aa6e(this,_0x381671(0x229),null),_0x25aa6e(this,_0x381671(0x2e9),new Map()),_0x25aa6e(this,_0x381671(0x266),new _0x1909d3[(_0x381671(0xf5))](_0x4f1434[_0x381671(0x37d)])),_0x25aa6e(this,_0x381671(0x3da),this[_0x381671(0x266)][_0x381671(0x2d0)]()),_0x25aa6e(this,_0x381671(0x338),!0x1),_0x25aa6e(this,_0x381671(0x3a7)),_0x25aa6e(this,_0x381671(0x248),0x0),_0x25aa6e(this,_0x381671(0x24f)),_0x25aa6e(this,_0x381671(0x293)),(this[_0x381671(0x3e1)]=_0x2a10c6,this['_logService']=_0x5a8b9e,this['_configService']=_0x9ec38b,this[_0x381671(0x347)]=_0x867483,this[_0x381671(0x281)]=_0x4c62a9,this[_0x381671(0x2c7)]=_0x206722,this[_0x381671(0xb8)]());}get['_socket'](){var _0x21a3a3=_0x46a189;return this[_0x21a3a3(0xb3)][_0x21a3a3(0x109)]();}['_listenToNetworkCondition'](){var _0x4a1412=_0x46a189;this[_0x4a1412(0x2c7)]&&this[_0x4a1412(0x13a)](this[_0x4a1412(0x2c7)][_0x4a1412(0x374)][_0x4a1412(0x153)](_0x3e5ce4=>{var _0x73d1d1=_0x4a1412;_0x3e5ce4&&!this[_0x73d1d1(0xd5)]&&this[_0x73d1d1(0x1e5)](),_0x3e5ce4||this[_0x73d1d1(0x130)]();}));}['dispose'](){var _0x46fc68=_0x46a189;super['dispose'](),this[_0x46fc68(0xa7)](),this[_0x46fc68(0x36c)](),this[_0x46fc68(0x2aa)](),this[_0x46fc68(0x2e9)]['forEach'](_0xd640d0=>_0xd640d0[_0x46fc68(0x376)]()),this[_0x46fc68(0x2e9)][_0x46fc68(0x31d)](),this[_0x46fc68(0x266)][_0x46fc68(0x1c3)]();}async['requireSession'](_0x565158){var _0x4d8a2d=_0x46a189;if(this[_0x4d8a2d(0x2e9)]['has'](_0x565158))return this['_sessions'][_0x4d8a2d(0x3aa)](_0x565158);this[_0x4d8a2d(0xba)]();const _0x4a3db3=this[_0x4d8a2d(0x3e1)][_0x4d8a2d(0x10c)](_0x247d18[_0x4d8a2d(0x2fd)],_0x565158,this[_0x4d8a2d(0xb3)][_0x4d8a2d(0x2d0)]());return this[_0x4d8a2d(0x2e9)]['set'](_0x565158,_0x4a3db3),_0x4a3db3;}['closeSession'](_0x19345b){var _0x312920=_0x46a189,_0x3b4277;const _0x15c9af=this[_0x312920(0x2e9)][_0x312920(0x3aa)](_0x19345b);_0x15c9af&&(this[_0x312920(0x2e9)][_0x312920(0x3bd)](_0x19345b),_0x15c9af[_0x312920(0xbc)]()),this['_sessions'][_0x312920(0x352)]||(_0x3b4277=this['_socket'])==null||_0x3b4277[_0x312920(0xbc)]();}[_0x46a189(0x1e5)](){var _0x1dc7f=_0x46a189;this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this[_0x1dc7f(0xbd)]();}['_clearRetryConnectingTimer'](){var _0x29a665=_0x46a189;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x29a665(0x3a7)]),this[_0x29a665(0x3a7)]=null);}async['_createSocket'](){var _0x3c5fd4=_0x46a189,_0x4c1184;const _0x4e38d6=this[_0x3c5fd4(0xad)][_0x3c5fd4(0x2a2)](_0x4f0c7a),_0x6d06ba=(_0x4c1184=_0x4e38d6==null?void 0x0:_0x4e38d6['collabWebSocketUrl'])!=null?_0x4c1184:_0x1cfacc,_0x11cc41=await this['_socketService']['createSocket'](_0x6d06ba);return this[_0x3c5fd4(0x229)]=_0x11cc41,_0x11cc41;}async[_0x46a189(0xba)](){var _0x5457ce=_0x46a189,_0x37b002,_0x45c13a;try{const _0x13bcc4=(_0x45c13a=(_0x37b002=this[_0x5457ce(0xd5)])!=null?_0x37b002:this[_0x5457ce(0x229)])!=null?_0x45c13a:await this[_0x5457ce(0x2f1)]();if(_0x13bcc4){const _0x552dd2=_0x13bcc4['send'];_0x13bcc4[_0x5457ce(0x2fa)]=_0x132604=>(this[_0x5457ce(0x129)](),_0x552dd2[_0x5457ce(0xcd)](_0x13bcc4,[_0x132604])),_0x13bcc4[_0x5457ce(0x10f)][_0x5457ce(0x153)](_0x7237be=>this[_0x5457ce(0x30a)](_0x13bcc4,_0x7237be)),_0x13bcc4[_0x5457ce(0x269)]['pipe'](_0x57d774[_0x5457ce(0x348)](0x1))[_0x5457ce(0x153)](_0x454d98=>this[_0x5457ce(0x235)][_0x5457ce(0x157)](_0x5457ce(0x15b),_0x454d98)),_0x13bcc4['open$']['pipe'](_0x57d774[_0x5457ce(0x348)](0x1))[_0x5457ce(0x153)](()=>{this['_onConnectionOpen'](_0x13bcc4);}),_0x13bcc4['close$'][_0x5457ce(0x41a)](_0x57d774[_0x5457ce(0x348)](0x1))[_0x5457ce(0x153)](_0x5b9d42=>{var _0x3f453d=_0x5457ce;this['_logService']['debug'](_0x3f453d(0x287),_0x3f453d(0x364),_0x5b9d42),this['_onConnectionFailed']();});}}catch(_0x5a329e){this['_logService'][_0x5457ce(0x157)](_0x5a329e),this[_0x5457ce(0x18c)]();}}[_0x46a189(0x299)](_0x523974){var _0x3129c4=_0x46a189;this[_0x3129c4(0x235)][_0x3129c4(0x366)](_0x3129c4(0x287),_0x3129c4(0xa1)),_0x523974['send']({'cmd':_0x32720a[_0x3129c4(0x26c)]}),this[_0x3129c4(0x129)]();}[_0x46a189(0x130)](){var _0x12e067=_0x46a189;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x12e067(0x266)]['next'](_0x4f1434[_0x12e067(0x301)]),this[_0x12e067(0xb3)][_0x12e067(0x28a)](null),this[_0x12e067(0x36c)](),this[_0x12e067(0x2aa)]();}[_0x46a189(0x18c)](){var _0x58c9aa=_0x46a189,_0x3e01ab;this[_0x58c9aa(0x130)](),this[_0x58c9aa(0x248)]<((_0x3e01ab=this[_0x58c9aa(0xad)]['getConfig'](_0x302883))!=null?_0x3e01ab:0x3)?(this['_collaborationUIEventService'][_0x58c9aa(0xe5)]({'id':_0xee750e[_0x58c9aa(0x40c)]}),this[_0x58c9aa(0xbd)]()):this['_collaborationUIEventService'][_0x58c9aa(0xe5)]({'id':_0xee750e[_0x58c9aa(0x26e)]});}[_0x46a189(0xbd)](){var _0x45142f=_0x46a189,_0x11161b;const _0x1806b3=this[_0x45142f(0x248)],_0x45dae8=this[_0x45142f(0xad)][_0x45142f(0x2a2)](_0x4f0c7a),_0x13044a=_0x1806b3===0x0?0x0:((_0x11161b=_0x45dae8==null?void 0x0:_0x45dae8[_0x45142f(0x368)])!=null?_0x11161b:0x4e20)*0x2**_0x1806b3;this['_retryConnectingTimer']=setTimeout(()=>{var _0x126bcd=_0x45142f;clearTimeout(this[_0x126bcd(0x3a7)]),this[_0x126bcd(0x3a7)]=null,this[_0x126bcd(0xba)]();},_0x13044a),this['_retryCount']+=0x1;}['_onMessage'](_0x467efc,_0x37c7c4){var _0x393cb8=_0x46a189;const {cmd:_0x533ec3}=_0x37c7c4;_0x533ec3===_0x32720a[_0x393cb8(0x26c)]&&!this[_0x393cb8(0x338)]&&(_0x467efc[_0x393cb8(0x2c4)]=_0x37c7c4[_0x393cb8(0x3f5)][_0x393cb8(0x2c4)],this['_socket$'][_0x393cb8(0x28a)](_0x467efc),this[_0x393cb8(0x266)][_0x393cb8(0x28a)](_0x4f1434['ONLINE']),this['_socketReady']=!0x0,this[_0x393cb8(0x229)]=null),_0x533ec3===_0x32720a['HEARTBEAT']&&this[_0x393cb8(0x36c)](),this[_0x393cb8(0x129)]();}[_0x46a189(0x129)](){var _0x7c6321=_0x46a189,_0x41cabd;this[_0x7c6321(0x2aa)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x7c6321(0x1bb)](),(_0x41cabd=this[_0x7c6321(0xad)]['getConfig'](_0x3dbfa6))!=null?_0x41cabd:0x7530);}[_0x46a189(0x1bb)](){var _0x1b555a=_0x46a189;this['_socket'][_0x1b555a(0x2fa)]({'cmd':_0x32720a[_0x1b555a(0x226)]}),this[_0x1b555a(0x166)]();}[_0x46a189(0x166)](){var _0x5d018a=_0x46a189,_0x1f809e;this['_timeoutTimer']=setTimeout(()=>this[_0x5d018a(0x18c)](),(_0x1f809e=this['_configService']['getConfig'](_0x375a07))!=null?_0x1f809e:0x4e20);}[_0x46a189(0x2aa)](){var _0x51e66f=_0x46a189;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x51e66f(0x24f)]=null);}[_0x46a189(0x36c)](){var _0x271762=_0x46a189;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x271762(0x293)]),this[_0x271762(0x293)]=null);}},_0x247d18['CollaborationSessionService']=_0x3bf711([_0x1c57e1(0x0,_0x112078[_0x46a189(0x11e)](_0x112078['Injector'])),_0x1c57e1(0x1,_0x112078[_0x46a189(0xce)]),_0x1c57e1(0x2,_0x112078['IConfigService']),_0x1c57e1(0x3,_0x5501e9),_0x1c57e1(0x4,_0x112078[_0x46a189(0x11e)](_0x12b7ba)),_0x1c57e1(0x5,_0x112078[_0x46a189(0x24e)](_0x4284be))],_0x247d18[_0x46a189(0x3a4)]);var _0x2a5326=Object['getOwnPropertyDescriptor'],_0xe69e2c=(_0x3f7f39,_0x5f56a2,_0x38b627,_0x305fa9)=>{var _0x36befa=_0x46a189;for(var _0x27abf9=_0x305fa9>0x1?void 0x0:_0x305fa9?_0x2a5326(_0x5f56a2,_0x38b627):_0x5f56a2,_0x543c92=_0x3f7f39[_0x36befa(0x86)]-0x1,_0x3f1672;_0x543c92>=0x0;_0x543c92--)(_0x3f1672=_0x3f7f39[_0x543c92])&&(_0x27abf9=_0x3f1672(_0x27abf9)||_0x27abf9);return _0x27abf9;},_0x740c56=(_0x3c3a9a,_0x5b6436)=>(_0x583e08,_0x4922f7)=>_0x5b6436(_0x583e08,_0x4922f7,_0x3c3a9a);_0x247d18[_0x46a189(0x408)]=class extends _0x112078[_0x46a189(0x113)]{constructor(_0x426a66,_0x5e49e5,_0x405122,_0x1d98d8){var _0x2ae217=_0x46a189,_0x1e7152;super(),_0x25aa6e(this,'_entities',new Map()),_0x25aa6e(this,_0x2ae217(0x1ce),new _0x1909d3[(_0x2ae217(0x276))]()),_0x25aa6e(this,_0x2ae217(0x2f8),this[_0x2ae217(0x1ce)][_0x2ae217(0x2d0)]()),(this[_0x2ae217(0x3e1)]=_0x426a66,this[_0x2ae217(0x31a)]=_0x5e49e5,this[_0x2ae217(0xad)]=_0x405122,this[_0x2ae217(0x3cf)]=_0x1d98d8,((_0x1e7152=this[_0x2ae217(0xad)][_0x2ae217(0x2a2)](_0x4f0c7a))==null?void 0x0:_0x1e7152[_0x2ae217(0x278)])!==!0x1&&this[_0x2ae217(0xc3)]());}[_0x46a189(0x376)](){var _0x481ccc=_0x46a189;super['dispose'](),this[_0x481ccc(0x198)][_0x481ccc(0x2f6)](_0x343dcd=>_0x343dcd[_0x481ccc(0x376)]()),this['_entities'][_0x481ccc(0x31d)]();}[_0x46a189(0x188)](_0x44aa69){var _0xa82b35=_0x46a189,_0x271d64;return(_0x271d64=this[_0xa82b35(0x198)][_0xa82b35(0x3aa)](_0x44aa69))!=null?_0x271d64:null;}[_0x46a189(0x305)](_0x30fc64){var _0x5047ab=_0x46a189;const _0x2aa111=this[_0x5047ab(0x188)](_0x30fc64);return _0x2aa111?_0x1909d3['of'](_0x2aa111):this[_0x5047ab(0x1ce)][_0x5047ab(0x41a)](_0x57d774['filter'](_0x32147c=>_0x32147c['unitID']===_0x30fc64));}[_0x46a189(0x2ae)](_0x431a8b){var _0x36fc1f=_0x46a189;return _0x1909d3['firstValueFrom'](this['getCollabEntity$'](_0x431a8b)[_0x36fc1f(0x41a)](_0x57d774[_0x36fc1f(0xb5)](()=>{})));}[_0x46a189(0xc3)](){var _0x3c53fc=_0x46a189;this['_univerInstanceService'][_0x3c53fc(0x418)](_0x112078[_0x3c53fc(0x164)][_0x3c53fc(0x18b)])[_0x3c53fc(0x41a)](_0x1909d3[_0x3c53fc(0x1ea)](this[_0x3c53fc(0x98)]),_0x57d774[_0x3c53fc(0x13f)](0x10))[_0x3c53fc(0x153)](async _0x29e027=>{var _0x1a263c=_0x3c53fc;const _0x2b978d=_0x29e027[_0x1a263c(0x9c)](),_0x1ebe39=await this['_startCollaboration'](_0x2b978d,_0x193e02[_0x1a263c(0x18b)]);this['_entities']['set'](_0x2b978d,_0x1ebe39);}),this[_0x3c53fc(0x3cf)][_0x3c53fc(0x418)](_0x112078[_0x3c53fc(0x164)]['UNIVER_DOC'])['pipe'](_0x1909d3[_0x3c53fc(0x1ea)](this[_0x3c53fc(0x98)]),_0x57d774[_0x3c53fc(0x13f)](0x10))[_0x3c53fc(0x41a)](_0x57d774['filter'](_0x341214=>!_0x341214[_0x3c53fc(0x9c)]()[_0x3c53fc(0x224)]('__')))['subscribe'](async _0x590be6=>{var _0x2f3524=_0x3c53fc;const _0x1b1e40=_0x590be6[_0x2f3524(0x9c)](),_0x3dd82a=await this[_0x2f3524(0x3ca)](_0x1b1e40,_0x193e02['UNIVER_DOC']);this['_entities'][_0x2f3524(0xf3)](_0x1b1e40,_0x3dd82a);}),_0x1909d3[_0x3c53fc(0x251)](this[_0x3c53fc(0x3cf)][_0x3c53fc(0x3d6)](_0x112078[_0x3c53fc(0x164)]['UNIVER_SHEET']),this[_0x3c53fc(0x3cf)][_0x3c53fc(0x3d6)](_0x112078['UniverInstanceType'][_0x3c53fc(0x140)]))[_0x3c53fc(0x41a)](_0x1909d3[_0x3c53fc(0x1ea)](this[_0x3c53fc(0x98)]))['subscribe'](_0x10c0e5=>{var _0x1327ec=_0x3c53fc;const _0x429061=_0x10c0e5['getUnitId'](),_0x3c150d=this['_entities'][_0x1327ec(0x3aa)](_0x429061);_0x3c150d&&(_0x3c150d[_0x1327ec(0x376)](),this['_entities']['delete'](_0x429061));});}async[_0x46a189(0x3ca)](_0x3fdf4a,_0x39cbdc){var _0x1833c1=_0x46a189;const _0x464ce0=await this[_0x1833c1(0x31a)]['requireSession'](_0x3fdf4a),_0xdb7934=this[_0x1833c1(0x3e1)][_0x1833c1(0x10c)](this[_0x1833c1(0x178)](_0x39cbdc),_0x3fdf4a,_0x39cbdc,_0x464ce0);return await _0xdb7934[_0x1833c1(0x225)](),this[_0x1833c1(0x1ce)]['next'](_0xdb7934),_0xdb7934;}[_0x46a189(0x178)](_0x2c81ed){var _0x56e939=_0x46a189;switch(_0x2c81ed){case _0x193e02[_0x56e939(0x140)]:return _0x247d18[_0x56e939(0x3a3)];case _0x193e02[_0x56e939(0x18b)]:return _0x247d18[_0x56e939(0x391)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2c81ed);}}},_0x247d18[_0x46a189(0x408)]=_0xe69e2c([_0x740c56(0x0,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x740c56(0x1,_0x112078[_0x46a189(0x11e)](_0x247d18['CollaborationSessionService'])),_0x740c56(0x2,_0x112078[_0x46a189(0x22f)]),_0x740c56(0x3,_0x112078[_0x46a189(0x93)])],_0x247d18[_0x46a189(0x408)]);var _0x2de2aa=Object[_0x46a189(0x1d1)],_0x16263a=(_0x2803f6,_0x1b1a24,_0x81c26f,_0x4bf719)=>{var _0x5c1992=_0x46a189;for(var _0x11701b=_0x4bf719>0x1?void 0x0:_0x4bf719?_0x2de2aa(_0x1b1a24,_0x81c26f):_0x1b1a24,_0x4f29b9=_0x2803f6[_0x5c1992(0x86)]-0x1,_0x416b81;_0x4f29b9>=0x0;_0x4f29b9--)(_0x416b81=_0x2803f6[_0x4f29b9])&&(_0x11701b=_0x416b81(_0x11701b)||_0x11701b);return _0x11701b;},_0x517170=(_0x24b02a,_0x525430)=>(_0x5e188c,_0x1af0d7)=>_0x525430(_0x5e188c,_0x1af0d7,_0x24b02a);const _0x191a2d=_0x46a189(0x255),_0x1c24eb=_0x46a189(0x1cb);let _0x2f6ee9=class extends _0x112078[_0x46a189(0x426)]{constructor(_0xd720b5,_0x26b828){var _0x484347=_0x46a189;super(),this[_0x484347(0x3cf)]=_0xd720b5,this['_configService']=_0x26b828,this[_0x484347(0xc3)]();}['_init'](){var _0x592c41=_0x46a189;this[_0x592c41(0x13a)](this['_univerInstanceService'][_0x592c41(0xa6)][_0x592c41(0x153)](()=>{var _0x48672e=_0x592c41,_0x2bedd4;const _0x758c9c=this[_0x48672e(0x3cf)][_0x48672e(0x36f)]();let _0x5e1311=(_0x2bedd4=this[_0x48672e(0xad)][_0x48672e(0x2a2)](_0x191a2d))!=null?_0x2bedd4:_0x1c24eb;_0x758c9c instanceof _0x112078[_0x48672e(0x340)]&&(_0x5e1311=_0x758c9c[_0x48672e(0x94)]),document[_0x48672e(0x10e)]=_0x5e1311;}));}};_0x2f6ee9=_0x16263a([_0x517170(0x0,_0x112078['IUniverInstanceService']),_0x517170(0x1,_0x112078['IConfigService'])],_0x2f6ee9);var _0x25bca7=Object[_0x46a189(0x1d1)],_0x5ab716=(_0x336943,_0x308ec6,_0x580aa4,_0x8f155d)=>{for(var _0x52c189=_0x8f155d>0x1?void 0x0:_0x8f155d?_0x25bca7(_0x308ec6,_0x580aa4):_0x308ec6,_0x3f7244=_0x336943['length']-0x1,_0x1a80be;_0x3f7244>=0x0;_0x3f7244--)(_0x1a80be=_0x336943[_0x3f7244])&&(_0x52c189=_0x1a80be(_0x52c189)||_0x52c189);return _0x52c189;},_0x5c2816=(_0x9f344f,_0x9dc40c)=>(_0x1324a2,_0x33bcef)=>_0x9dc40c(_0x1324a2,_0x33bcef,_0x9f344f);let _0x327685=class{constructor(_0x3c797b,_0x3cc66b,_0x1f853d){var _0x4bed67=_0x46a189;this['_configService']=_0x3c797b,this[_0x4bed67(0x320)]=_0x3cc66b,this['localeService']=_0x1f853d,this[_0x4bed67(0x225)]();}['init'](){var _0x490e1f=_0x46a189;this[_0x490e1f(0x320)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x474adf,_0xbb15e1)=>_0xbb15e1(_0x474adf)[_0x490e1f(0x41a)](_0x1909d3[_0x490e1f(0x1a9)](async _0x4d6051=>{var _0x2d4008=_0x490e1f;const _0x2edbfe=_0x4d6051;if(_0x2edbfe['status']===0x191){if(typeof window>'u')throw new Error(_0x2d4008(0x208));if(window[_0x2d4008(0x2d9)](this[_0x2d4008(0x2b7)]['t'](_0x2d4008(0x282)))){const _0x5c9916=window[_0x2d4008(0x34b)](window['location'][_0x2d4008(0x328)]);window[_0x2d4008(0x290)][_0x2d4008(0x328)]=this['_getLoginPath']()+_0x2d4008(0x272)+_0x5c9916;}}return _0x2edbfe;}))});}[_0x46a189(0xcb)](){var _0x925e4a=_0x46a189,_0xa475c0;const _0x1ee0a6=this[_0x925e4a(0xad)][_0x925e4a(0x2a2)](_0x4f0c7a);return(_0xa475c0=_0x1ee0a6==null?void 0x0:_0x1ee0a6['loginUrlKey'])!=null?_0xa475c0:_0x1c9c58;}};_0x327685=_0x5ab716([_0x5c2816(0x0,_0x112078[_0x46a189(0x22f)]),_0x5c2816(0x1,_0x112078[_0x46a189(0x11e)](_0x1b0b18[_0x46a189(0x2e7)])),_0x5c2816(0x2,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0xd9)]))],_0x327685);var _0x175056=Object['getOwnPropertyDescriptor'],_0x4a2d78=(_0x3ad132,_0x3435c2,_0x2645ad,_0x5e08a8)=>{var _0x39264f=_0x46a189;for(var _0x32e74d=_0x5e08a8>0x1?void 0x0:_0x5e08a8?_0x175056(_0x3435c2,_0x2645ad):_0x3435c2,_0x278815=_0x3ad132[_0x39264f(0x86)]-0x1,_0x2a0ef5;_0x278815>=0x0;_0x278815--)(_0x2a0ef5=_0x3ad132[_0x278815])&&(_0x32e74d=_0x2a0ef5(_0x32e74d)||_0x32e74d);return _0x32e74d;},_0x1a822f=(_0x18556f,_0x824614)=>(_0x509dfa,_0x3eddce)=>_0x824614(_0x509dfa,_0x3eddce,_0x18556f);const _0xa7fa46=_0x46a189(0x2cd);_0x247d18[_0x46a189(0x404)]=class extends _0x112078['Disposable']{constructor(_0x2d8ec4,_0x48e81b){var _0x2e4577=_0x46a189;super(),this[_0x2e4577(0x179)]=_0x2d8ec4,this['_configService']=_0x48e81b,this[_0x2e4577(0x2ba)]();}[_0x46a189(0x2ba)](){var _0x5ca6da=_0x46a189;const _0xfcbf1d=this;this[_0x5ca6da(0x13a)](this[_0x5ca6da(0x179)][_0x5ca6da(0x3b8)]({'priority':0x3e7,'interceptor':_0x1b0b18['MergeInterceptorFactory']({'isMatch'(_0x36f796){var _0xd24edc=_0x5ca6da,_0x414fb3;if(_0x36f796[_0xd24edc(0x12a)]===_0xd24edc(0x32e)&&((_0x414fb3=_0x36f796[_0xd24edc(0x327)])!=null&&_0x414fb3[_0xd24edc(0x2cf)])){const {objectID:_0x14b66b,objectType:_0x569a06}=_0x36f796['requestParams'][_0xd24edc(0x2cf)]||{};if(!_0x14b66b||_0x569a06===void 0x0)return!0x1;const _0x2978b0=_0xfcbf1d['_getAPIPrefixPath']()+'/'+_0x569a06+_0xd24edc(0x427)+_0x14b66b+_0xd24edc(0x36e);if(_0x36f796[_0xd24edc(0x386)]===_0x2978b0)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x410031){var _0x96f0a6=_0x5ca6da,_0x561bce;return(_0x561bce=_0x410031[_0x96f0a6(0x327)])==null?void 0x0:_0x561bce[_0x96f0a6(0x2cf)];},'mergeParamsToRequest'(_0x27b2d3,_0x50ca47){var _0x32eb2b=_0x5ca6da;const _0x13ded2=_0xfcbf1d[_0x32eb2b(0x322)]()+'/-/object/-/batch_allowed',_0x48511a=_0x27b2d3[_0x32eb2b(0x1c8)]((_0x509dbf,_0x2c0cf0)=>{var _0x43f622=_0x32eb2b;const {unitID:_0x481f3e,objectID:_0x1a7aae,objectType:_0x326fc5,actions:_0x13084f}=_0x2c0cf0;return _0x509dbf[_0x481f3e]||(_0x509dbf[_0x481f3e]={}),_0x509dbf[_0x481f3e][_0x1a7aae]||(_0x509dbf[_0x481f3e][_0x1a7aae]={'objectID':_0x1a7aae,'objectType':_0x326fc5,'actions':[]}),_0x509dbf[_0x481f3e][_0x1a7aae]['actions'][_0x43f622(0x139)](..._0x13084f),_0x509dbf;},{}),_0x3fd785=[];for(const _0x4db1a5 in _0x48511a)for(const _0x46a4ca in _0x48511a[_0x4db1a5]){const {actions:_0x4b7457,objectType:_0x49f00e}=_0x48511a[_0x4db1a5][_0x46a4ca],_0x30ece8=[...new Set(_0x4b7457)];_0x3fd785[_0x32eb2b(0x139)]({'unitID':_0x4db1a5,'objectID':_0x46a4ca,'objectType':_0x49f00e,'actions':_0x30ece8});}return new _0x1b0b18[(_0x32eb2b(0x9e))]('POST',_0x13ded2,{'headers':_0x50ca47[_0x32eb2b(0x2be)],'withCredentials':_0x50ca47[_0x32eb2b(0x3f1)],'responseType':_0x50ca47['responseType'],'body':{'requests':_0x3fd785}});}},{'distributeResult'(_0x57b279,_0x208710){var _0x30e812=_0x5ca6da;const {objectActions:_0x3199f7}=_0x57b279;return _0x208710[_0x30e812(0xb5)](_0x5d9843=>{var _0x1e0ac6=_0x30e812;const {unitID:_0xa68185,objectID:_0x162680,actions:_0x38ba66}=_0x5d9843,_0x252275=_0x3199f7[_0x1e0ac6(0x280)](_0x493b0e=>_0x493b0e[_0x1e0ac6(0x194)]===_0xa68185&&_0x493b0e[_0x1e0ac6(0x25f)]===_0x162680),_0x21583c=_0x38ba66[_0x1e0ac6(0xb5)](_0x272895=>_0x252275==null?void 0x0:_0x252275[_0x1e0ac6(0x163)][_0x1e0ac6(0x280)](_0x35c817=>_0x35c817[_0x1e0ac6(0x146)]===_0x272895))['filter'](_0x11b1c4=>!!_0x11b1c4);return{'config':_0x5d9843,'result':{'actions':_0x21583c,'error':_0x57b279['error']}};});}})}));}[_0x46a189(0x322)](){var _0x429527=_0x46a189,_0x9654bd;const _0x544d2c=this[_0x429527(0xad)][_0x429527(0x2a2)](_0x4f0c7a);return(_0x9654bd=_0x544d2c==null?void 0x0:_0x544d2c[_0x429527(0x237)])!=null?_0x9654bd:_0xa7fa46;}async[_0x46a189(0x144)](_0x455972){var _0x346473=_0x46a189;const _0x49f638=this[_0x346473(0x322)]()+'/'+_0x455972[_0x346473(0x18a)]+_0x346473(0xc2);return(await this[_0x346473(0x179)][_0x346473(0x26a)](_0x49f638,{'body':_0x455972}))[_0x346473(0x2cf)]['objectID']||'';}async[_0x46a189(0x279)](_0x20bf6c){var _0x1bbb9c=_0x46a189;const _0x3fea84=this[_0x1bbb9c(0x322)]()+'/-/object/list';return(await this[_0x1bbb9c(0x179)][_0x1bbb9c(0x26a)](_0x3fea84,{'body':_0x20bf6c}))['body']['objects'];}async['update'](_0x490441){var _0x2f06c9=_0x46a189,_0x4b5e6a,_0x1966dc;const _0x26dfd7=this[_0x2f06c9(0x322)]()+'/'+_0x490441[_0x2f06c9(0x18a)]+_0x2f06c9(0x427)+_0x490441[_0x2f06c9(0x25f)],_0x2c5c65=await this['_HTTPService'][_0x2f06c9(0x3e6)](_0x26dfd7,{'body':_0x490441});if(((_0x1966dc=(_0x4b5e6a=_0x2c5c65==null?void 0x0:_0x2c5c65['body'])==null?void 0x0:_0x4b5e6a[_0x2f06c9(0x157)])==null?void 0x0:_0x1966dc[_0x2f06c9(0x2c3)])!==0x1)throw new Error(_0x2f06c9(0x332));}async['allowed'](_0x429f1a){var _0x4fcece=_0x46a189;const _0x267b4b=this[_0x4fcece(0x322)]()+'/'+_0x429f1a['objectType']+_0x4fcece(0x427)+_0x429f1a[_0x4fcece(0x25f)]+_0x4fcece(0x36e);return(await this[_0x4fcece(0x179)]['post'](_0x267b4b,{'body':_0x429f1a}))[_0x4fcece(0x2cf)][_0x4fcece(0x163)];}async[_0x46a189(0x117)](_0x47f394){var _0xc3dd5d=_0x46a189;const _0x4144f4=this[_0xc3dd5d(0x322)]()+_0xc3dd5d(0x360);return(await this[_0xc3dd5d(0x179)][_0xc3dd5d(0x26a)](_0x4144f4,{'body':{'requests':_0x47f394}}))['body'][_0xc3dd5d(0x14d)];}async[_0x46a189(0x15f)](_0x3add96){var _0xbfd2f8=_0x46a189;const _0x3a861c=this[_0xbfd2f8(0x322)]()+'/'+_0x3add96[_0xbfd2f8(0x18a)]+'/role',_0x31bd29=await this[_0xbfd2f8(0x179)][_0xbfd2f8(0x26a)](_0x3a861c,{'body':_0x3add96});return{'roles':_0x31bd29[_0xbfd2f8(0x2cf)][_0xbfd2f8(0x39c)],'actions':_0x31bd29[_0xbfd2f8(0x2cf)]['actions']};}async['deleteCollaborator'](_0x49ecf1){var _0x54334a=_0x46a189;const _0x74ec34=this[_0x54334a(0x322)]()+_0x54334a(0x383);await this[_0x54334a(0x179)]['delete'](_0x74ec34,{'params':{'collaboratorID':_0x49ecf1[_0x54334a(0xd3)],'objectID':_0x49ecf1[_0x54334a(0x25f)],'unitID':_0x49ecf1[_0x54334a(0x194)]}});}async[_0x46a189(0x167)](_0x22a81a){var _0x250bd3=_0x46a189;const _0x10fb7f=this[_0x250bd3(0x322)]()+_0x250bd3(0x383);await this[_0x250bd3(0x179)][_0x250bd3(0x2d8)](_0x10fb7f,{'body':_0x22a81a});}async[_0x46a189(0x9d)](_0x4f2593){var _0x303689=_0x46a189;const _0x220f76=this[_0x303689(0x322)]()+_0x303689(0x383);await this[_0x303689(0x179)]['post'](_0x220f76,{'body':_0x4f2593});}async[_0x46a189(0x3e4)](_0x58824a){var _0x206f0d=_0x46a189;const _0x136d5d=this[_0x206f0d(0x322)]()+'/collaborator';return(await this[_0x206f0d(0x179)][_0x206f0d(0x3aa)](_0x136d5d,{'params':{'objectID':_0x58824a[_0x206f0d(0x25f)],'unitID':_0x58824a['unitID']}}))[_0x206f0d(0x2cf)][_0x206f0d(0x38e)];}async['putCollaborators'](_0x56c010){var _0x40e75d=_0x46a189;const _0xdd1785=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x40e75d(0x179)][_0x40e75d(0x3e6)](_0xdd1785,{'body':_0x56c010});}},_0x247d18[_0x46a189(0x404)]=_0x4a2d78([_0x1a822f(0x0,_0x112078['Inject'](_0x1b0b18['HTTPService'])),_0x1a822f(0x1,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x22f)]))],_0x247d18[_0x46a189(0x404)]);var _0x4ed974=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x2577ba(_0x49ed25){var _0x2f86ce=_0x46a189;return _0x49ed25&&_0x49ed25['__esModule']&&Object['prototype'][_0x2f86ce(0x138)][_0x2f86ce(0x3f2)](_0x49ed25,'default')?_0x49ed25[_0x2f86ce(0xf7)]:_0x49ed25;}var _0x12cccc={'exports':{}};function _0x1aa7ab(_0x1679d4){var _0x593c70=_0x46a189;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1679d4+_0x593c70(0x33b));}var _0x2cc2eb={'exports':{}},_0xae656c=_0x2cc2eb['exports'],_0x23a4d6;function _0x10f252(){var _0x9d089b=_0x46a189;return _0x23a4d6||(_0x23a4d6=0x1,function(_0x40eda3,_0x5c1c36){(function(_0x407356,_0x3b7640){_0x40eda3['exports']=_0x3b7640();}(_0xae656c,function(){var _0x1744d6=_0x1744d6||function(_0xe0b69d,_0x2c8e3a){var _0x5f437f=_0x532f,_0x17c1fa;if(typeof window<'u'&&window[_0x5f437f(0x12b)]&&(_0x17c1fa=window[_0x5f437f(0x12b)]),typeof self<'u'&&self[_0x5f437f(0x12b)]&&(_0x17c1fa=self[_0x5f437f(0x12b)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x17c1fa=globalThis[_0x5f437f(0x12b)]),!_0x17c1fa&&typeof window<'u'&&window[_0x5f437f(0x37c)]&&(_0x17c1fa=window[_0x5f437f(0x37c)]),!_0x17c1fa&&typeof _0x4ed974<'u'&&_0x4ed974[_0x5f437f(0x12b)]&&(_0x17c1fa=_0x4ed974[_0x5f437f(0x12b)]),!_0x17c1fa&&typeof _0x1aa7ab==_0x5f437f(0x127))try{_0x17c1fa=require('crypto');}catch{}var _0x1b492a=function(){var _0x468de3=_0x5f437f;if(_0x17c1fa){if(typeof _0x17c1fa['getRandomValues']==_0x468de3(0x127))try{return _0x17c1fa[_0x468de3(0x2bb)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x17c1fa['randomBytes']==_0x468de3(0x127))try{return _0x17c1fa[_0x468de3(0x1b3)](0x4)[_0x468de3(0x19d)]();}catch{}}throw new Error(_0x468de3(0x411));},_0x3ec6a2=Object[_0x5f437f(0x144)]||(function(){function _0xe2cd12(){}return function(_0x5986ae){var _0x1e9927=_0x532f,_0x48f699;return _0xe2cd12[_0x1e9927(0x425)]=_0x5986ae,_0x48f699=new _0xe2cd12(),_0xe2cd12[_0x1e9927(0x425)]=null,_0x48f699;};}()),_0x46b9ac={},_0x5dd9ae=_0x46b9ac['lib']={},_0x4ab59a=_0x5dd9ae[_0x5f437f(0x118)]=(function(){return{'extend':function(_0x23bbd7){var _0xf3ccc9=_0x532f,_0x188581=_0x3ec6a2(this);return _0x23bbd7&&_0x188581['mixIn'](_0x23bbd7),(!_0x188581[_0xf3ccc9(0x138)](_0xf3ccc9(0x225))||this[_0xf3ccc9(0x225)]===_0x188581['init'])&&(_0x188581[_0xf3ccc9(0x225)]=function(){var _0x1f60cf=_0xf3ccc9;_0x188581['$super'][_0x1f60cf(0x225)]['apply'](this,arguments);}),_0x188581['init']['prototype']=_0x188581,_0x188581[_0xf3ccc9(0x39b)]=this,_0x188581;},'create':function(){var _0x3159a6=_0x532f,_0xf23265=this['extend']();return _0xf23265[_0x3159a6(0x225)][_0x3159a6(0xcd)](_0xf23265,arguments),_0xf23265;},'init':function(){},'mixIn':function(_0x4bbeb){var _0x17907e=_0x532f;for(var _0x2f1a9a in _0x4bbeb)_0x4bbeb[_0x17907e(0x138)](_0x2f1a9a)&&(this[_0x2f1a9a]=_0x4bbeb[_0x2f1a9a]);_0x4bbeb[_0x17907e(0x138)](_0x17907e(0x142))&&(this[_0x17907e(0x142)]=_0x4bbeb[_0x17907e(0x142)]);},'clone':function(){var _0x4a6a79=_0x532f;return this[_0x4a6a79(0x225)]['prototype'][_0x4a6a79(0x357)](this);}};}()),_0x290000=_0x5dd9ae[_0x5f437f(0xe4)]=_0x4ab59a[_0x5f437f(0x357)]({'init':function(_0x3722cd,_0x419900){var _0x5c4f92=_0x5f437f;_0x3722cd=this[_0x5c4f92(0xd6)]=_0x3722cd||[],_0x419900!=_0x2c8e3a?this[_0x5c4f92(0x3a0)]=_0x419900:this[_0x5c4f92(0x3a0)]=_0x3722cd[_0x5c4f92(0x86)]*0x4;},'toString':function(_0x343a9d){var _0x48dd1e=_0x5f437f;return(_0x343a9d||_0x3e2458)[_0x48dd1e(0x27f)](this);},'concat':function(_0x13bea7){var _0x26f2b5=_0x5f437f,_0x45dd00=this['words'],_0x46778a=_0x13bea7[_0x26f2b5(0xd6)],_0x1177f6=this[_0x26f2b5(0x3a0)],_0x36fa37=_0x13bea7['sigBytes'];if(this[_0x26f2b5(0x310)](),_0x1177f6%0x4)for(var _0x4e2495=0x0;_0x4e2495<_0x36fa37;_0x4e2495++){var _0x2a5c01=_0x46778a[_0x4e2495>>>0x2]>>>0x18-_0x4e2495%0x4*0x8&0xff;_0x45dd00[_0x1177f6+_0x4e2495>>>0x2]|=_0x2a5c01<<0x18-(_0x1177f6+_0x4e2495)%0x4*0x8;}else{for(var _0x13f64f=0x0;_0x13f64f<_0x36fa37;_0x13f64f+=0x4)_0x45dd00[_0x1177f6+_0x13f64f>>>0x2]=_0x46778a[_0x13f64f>>>0x2];}return this['sigBytes']+=_0x36fa37,this;},'clamp':function(){var _0x4f84f7=_0x5f437f,_0x297b2f=this[_0x4f84f7(0xd6)],_0x5518b5=this['sigBytes'];_0x297b2f[_0x5518b5>>>0x2]&=0xffffffff<<0x20-_0x5518b5%0x4*0x8,_0x297b2f[_0x4f84f7(0x86)]=_0xe0b69d['ceil'](_0x5518b5/0x4);},'clone':function(){var _0x2e6cb0=_0x5f437f,_0x19ad73=_0x4ab59a['clone'][_0x2e6cb0(0x3f2)](this);return _0x19ad73[_0x2e6cb0(0xd6)]=this[_0x2e6cb0(0xd6)][_0x2e6cb0(0x16e)](0x0),_0x19ad73;},'random':function(_0xc1048d){var _0x2faae1=_0x5f437f;for(var _0x2ae013=[],_0x17e954=0x0;_0x17e954<_0xc1048d;_0x17e954+=0x4)_0x2ae013[_0x2faae1(0x139)](_0x1b492a());return new _0x290000[(_0x2faae1(0x225))](_0x2ae013,_0xc1048d);}}),_0x1ecb11=_0x46b9ac[_0x5f437f(0x25b)]={},_0x3e2458=_0x1ecb11[_0x5f437f(0xb0)]={'stringify':function(_0x1b98e){var _0x194c1b=_0x5f437f;for(var _0x322bec=_0x1b98e[_0x194c1b(0xd6)],_0x2ac69e=_0x1b98e['sigBytes'],_0x174493=[],_0x36753c=0x0;_0x36753c<_0x2ac69e;_0x36753c++){var _0x743288=_0x322bec[_0x36753c>>>0x2]>>>0x18-_0x36753c%0x4*0x8&0xff;_0x174493['push']((_0x743288>>>0x4)[_0x194c1b(0x142)](0x10)),_0x174493[_0x194c1b(0x139)]((_0x743288&0xf)[_0x194c1b(0x142)](0x10));}return _0x174493[_0x194c1b(0x395)]('');},'parse':function(_0x446568){var _0xa4d59b=_0x5f437f;for(var _0x477543=_0x446568[_0xa4d59b(0x86)],_0x1a44f0=[],_0x3baa14=0x0;_0x3baa14<_0x477543;_0x3baa14+=0x2)_0x1a44f0[_0x3baa14>>>0x3]|=parseInt(_0x446568[_0xa4d59b(0x2cc)](_0x3baa14,0x2),0x10)<<0x18-_0x3baa14%0x8*0x4;return new _0x290000[(_0xa4d59b(0x225))](_0x1a44f0,_0x477543/0x2);}},_0x4da516=_0x1ecb11[_0x5f437f(0x296)]={'stringify':function(_0x405df8){var _0x593d0f=_0x5f437f;for(var _0x40f5a9=_0x405df8[_0x593d0f(0xd6)],_0x5ab703=_0x405df8[_0x593d0f(0x3a0)],_0x37bc22=[],_0x5be502=0x0;_0x5be502<_0x5ab703;_0x5be502++){var _0x3b7b3e=_0x40f5a9[_0x5be502>>>0x2]>>>0x18-_0x5be502%0x4*0x8&0xff;_0x37bc22['push'](String[_0x593d0f(0x2c9)](_0x3b7b3e));}return _0x37bc22['join']('');},'parse':function(_0xca0b8e){var _0x197de5=_0x5f437f;for(var _0x5474ed=_0xca0b8e['length'],_0x5c1d59=[],_0x2f61f8=0x0;_0x2f61f8<_0x5474ed;_0x2f61f8++)_0x5c1d59[_0x2f61f8>>>0x2]|=(_0xca0b8e[_0x197de5(0x385)](_0x2f61f8)&0xff)<<0x18-_0x2f61f8%0x4*0x8;return new _0x290000[(_0x197de5(0x225))](_0x5c1d59,_0x5474ed);}},_0x2540cf=_0x1ecb11[_0x5f437f(0x217)]={'stringify':function(_0x3d162e){var _0x346c45=_0x5f437f;try{return decodeURIComponent(escape(_0x4da516[_0x346c45(0x27f)](_0x3d162e)));}catch{throw new Error(_0x346c45(0x335));}},'parse':function(_0x152162){var _0x1a5ef8=_0x5f437f;return _0x4da516[_0x1a5ef8(0x390)](unescape(encodeURIComponent(_0x152162)));}},_0x8bbeaa=_0x5dd9ae[_0x5f437f(0x291)]=_0x4ab59a[_0x5f437f(0x357)]({'reset':function(){var _0x5247c8=_0x5f437f;this[_0x5247c8(0x3de)]=new _0x290000[(_0x5247c8(0x225))](),this[_0x5247c8(0x99)]=0x0;},'_append':function(_0x6748a7){var _0x56c281=_0x5f437f;typeof _0x6748a7==_0x56c281(0xec)&&(_0x6748a7=_0x2540cf[_0x56c281(0x390)](_0x6748a7)),this[_0x56c281(0x3de)][_0x56c281(0x3b0)](_0x6748a7),this['_nDataBytes']+=_0x6748a7[_0x56c281(0x3a0)];},'_process':function(_0x3a214){var _0x4303e2=_0x5f437f,_0xf7e441,_0x56a39c=this[_0x4303e2(0x3de)],_0x3e7a6d=_0x56a39c[_0x4303e2(0xd6)],_0x2fc6d7=_0x56a39c[_0x4303e2(0x3a0)],_0x28bae6=this['blockSize'],_0x4abad8=_0x28bae6*0x4,_0x2a2277=_0x2fc6d7/_0x4abad8;_0x3a214?_0x2a2277=_0xe0b69d[_0x4303e2(0x245)](_0x2a2277):_0x2a2277=_0xe0b69d[_0x4303e2(0x26d)]((_0x2a2277|0x0)-this['_minBufferSize'],0x0);var _0x3c6d3c=_0x2a2277*_0x28bae6,_0xca05f0=_0xe0b69d[_0x4303e2(0x17a)](_0x3c6d3c*0x4,_0x2fc6d7);if(_0x3c6d3c){for(var _0x56aa3d=0x0;_0x56aa3d<_0x3c6d3c;_0x56aa3d+=_0x28bae6)this[_0x4303e2(0x3ff)](_0x3e7a6d,_0x56aa3d);_0xf7e441=_0x3e7a6d['splice'](0x0,_0x3c6d3c),_0x56a39c[_0x4303e2(0x3a0)]-=_0xca05f0;}return new _0x290000[(_0x4303e2(0x225))](_0xf7e441,_0xca05f0);},'clone':function(){var _0x22ec2f=_0x5f437f,_0x3f6871=_0x4ab59a[_0x22ec2f(0x184)][_0x22ec2f(0x3f2)](this);return _0x3f6871[_0x22ec2f(0x3de)]=this[_0x22ec2f(0x3de)][_0x22ec2f(0x184)](),_0x3f6871;},'_minBufferSize':0x0});_0x5dd9ae[_0x5f437f(0xde)]=_0x8bbeaa['extend']({'cfg':_0x4ab59a[_0x5f437f(0x357)](),'init':function(_0x332c4b){var _0x3f0fb1=_0x5f437f;this['cfg']=this[_0x3f0fb1(0x259)]['extend'](_0x332c4b),this[_0x3f0fb1(0xae)]();},'reset':function(){var _0x1c5710=_0x5f437f;_0x8bbeaa[_0x1c5710(0xae)][_0x1c5710(0x3f2)](this),this['_doReset']();},'update':function(_0x20cbf8){var _0x4b9d1e=_0x5f437f;return this[_0x4b9d1e(0x1ac)](_0x20cbf8),this[_0x4b9d1e(0x27a)](),this;},'finalize':function(_0x446849){var _0x209ef4=_0x5f437f;_0x446849&&this[_0x209ef4(0x1ac)](_0x446849);var _0xe4b67e=this[_0x209ef4(0x176)]();return _0xe4b67e;},'blockSize':0x10,'_createHelper':function(_0x509bf3){return function(_0x2824bb,_0x6138ef){var _0x156337=_0x532f;return new _0x509bf3[(_0x156337(0x225))](_0x6138ef)[_0x156337(0x40b)](_0x2824bb);};},'_createHmacHelper':function(_0x7c5d5a){return function(_0x59928c,_0x475dd8){var _0x4341ff=_0x532f;return new _0x1de18c[(_0x4341ff(0x240))][(_0x4341ff(0x225))](_0x7c5d5a,_0x475dd8)[_0x4341ff(0x40b)](_0x59928c);};}});var _0x1de18c=_0x46b9ac[_0x5f437f(0x399)]={};return _0x46b9ac;}(Math);return _0x1744d6;}));}(_0x2cc2eb)),_0x2cc2eb[_0x9d089b(0x2a3)];}var _0x5e9580={'exports':{}},_0x36c3ec=_0x5e9580['exports'],_0x421702;function _0x2ea24d(){return _0x421702||(_0x421702=0x1,function(_0x24122d,_0x5c977d){(function(_0x10b78e,_0x36dac7){var _0x29f9a6=_0x532f;_0x24122d[_0x29f9a6(0x2a3)]=_0x36dac7(_0x10f252());}(_0x36c3ec,function(_0x445774){var _0x16dd7c=_0x532f;return(function(){var _0x4bbc19=_0x532f,_0x27ed06=_0x445774,_0x876224=_0x27ed06[_0x4bbc19(0x1ca)],_0x3d6632=_0x876224[_0x4bbc19(0xe4)],_0x19aeb6=_0x27ed06['enc'];_0x19aeb6['Base64']={'stringify':function(_0x62b609){var _0x7e05bd=_0x4bbc19,_0x1c98ef=_0x62b609[_0x7e05bd(0xd6)],_0x4ba96=_0x62b609['sigBytes'],_0x5807f5=this[_0x7e05bd(0x2b0)];_0x62b609[_0x7e05bd(0x310)]();for(var _0x2a1210=[],_0x3728d2=0x0;_0x3728d2<_0x4ba96;_0x3728d2+=0x3)for(var _0x62a4ec=_0x1c98ef[_0x3728d2>>>0x2]>>>0x18-_0x3728d2%0x4*0x8&0xff,_0x391ea1=_0x1c98ef[_0x3728d2+0x1>>>0x2]>>>0x18-(_0x3728d2+0x1)%0x4*0x8&0xff,_0x5fea58=_0x1c98ef[_0x3728d2+0x2>>>0x2]>>>0x18-(_0x3728d2+0x2)%0x4*0x8&0xff,_0x5a9387=_0x62a4ec<<0x10|_0x391ea1<<0x8|_0x5fea58,_0x2c4dd5=0x0;_0x2c4dd5<0x4&&_0x3728d2+_0x2c4dd5*0.75<_0x4ba96;_0x2c4dd5++)_0x2a1210[_0x7e05bd(0x139)](_0x5807f5[_0x7e05bd(0x3a6)](_0x5a9387>>>0x6*(0x3-_0x2c4dd5)&0x3f));var _0x28f161=_0x5807f5[_0x7e05bd(0x3a6)](0x40);if(_0x28f161){for(;_0x2a1210[_0x7e05bd(0x86)]%0x4;)_0x2a1210['push'](_0x28f161);}return _0x2a1210[_0x7e05bd(0x395)]('');},'parse':function(_0x59866b){var _0x50430e=_0x4bbc19,_0x5c5f83=_0x59866b[_0x50430e(0x86)],_0x2661c9=this[_0x50430e(0x2b0)],_0x5e9c71=this['_reverseMap'];if(!_0x5e9c71){_0x5e9c71=this[_0x50430e(0x38a)]=[];for(var _0x4b74be=0x0;_0x4b74be<_0x2661c9[_0x50430e(0x86)];_0x4b74be++)_0x5e9c71[_0x2661c9[_0x50430e(0x385)](_0x4b74be)]=_0x4b74be;}var _0x23b6a9=_0x2661c9[_0x50430e(0x3a6)](0x40);if(_0x23b6a9){var _0x384c05=_0x59866b[_0x50430e(0xca)](_0x23b6a9);_0x384c05!==-0x1&&(_0x5c5f83=_0x384c05);}return _0x4cca7b(_0x59866b,_0x5c5f83,_0x5e9c71);},'_map':_0x4bbc19(0x3cc)};function _0x4cca7b(_0x3bc865,_0x2a2b03,_0x393580){var _0x18c7b3=_0x4bbc19;for(var _0x5b308f=[],_0x4089f8=0x0,_0x7b29df=0x0;_0x7b29df<_0x2a2b03;_0x7b29df++)if(_0x7b29df%0x4){var _0x5f1df0=_0x393580[_0x3bc865[_0x18c7b3(0x385)](_0x7b29df-0x1)]<<_0x7b29df%0x4*0x2,_0x2f697c=_0x393580[_0x3bc865['charCodeAt'](_0x7b29df)]>>>0x6-_0x7b29df%0x4*0x2,_0x44e017=_0x5f1df0|_0x2f697c;_0x5b308f[_0x4089f8>>>0x2]|=_0x44e017<<0x18-_0x4089f8%0x4*0x8,_0x4089f8++;}return _0x3d6632['create'](_0x5b308f,_0x4089f8);}}()),_0x445774[_0x16dd7c(0x25b)][_0x16dd7c(0x115)];}));}(_0x5e9580)),_0x5e9580['exports'];}var _0x342287={'exports':{}},_0x36ae9d=_0x342287[_0x46a189(0x2a3)],_0x7fdac5;function _0xda11a2(){var _0x5d5de3=_0x46a189;return _0x7fdac5||(_0x7fdac5=0x1,function(_0x24645c,_0x1a00f2){(function(_0x4685a9,_0x358792){var _0x2996b2=_0x532f;_0x24645c[_0x2996b2(0x2a3)]=_0x358792(_0x10f252());}(_0x36ae9d,function(_0x3bfd84){var _0x975bdd=_0x532f;return function(_0x86fcc4){var _0x297ce5=_0x532f,_0x2e2faa=_0x3bfd84,_0x1fb80b=_0x2e2faa[_0x297ce5(0x1ca)],_0x3c9167=_0x1fb80b['WordArray'],_0x43dcf2=_0x1fb80b[_0x297ce5(0xde)],_0x27081b=_0x2e2faa[_0x297ce5(0x399)],_0x406ef5=[];(function(){var _0x8fbf7e=_0x297ce5;for(var _0x191717=0x0;_0x191717<0x40;_0x191717++)_0x406ef5[_0x191717]=_0x86fcc4[_0x8fbf7e(0x3d0)](_0x86fcc4[_0x8fbf7e(0x361)](_0x191717+0x1))*0x100000000|0x0;}());var _0x4d5971=_0x27081b['MD5']=_0x43dcf2[_0x297ce5(0x357)]({'_doReset':function(){var _0x15f925=_0x297ce5;this[_0x15f925(0x262)]=new _0x3c9167['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x471cfb,_0x1c8571){var _0x48bdd9=_0x297ce5;for(var _0x13a423=0x0;_0x13a423<0x10;_0x13a423++){var _0x26f132=_0x1c8571+_0x13a423,_0x1eeb1a=_0x471cfb[_0x26f132];_0x471cfb[_0x26f132]=(_0x1eeb1a<<0x8|_0x1eeb1a>>>0x18)&0xff00ff|(_0x1eeb1a<<0x18|_0x1eeb1a>>>0x8)&0xff00ff00;}var _0x290463=this[_0x48bdd9(0x262)][_0x48bdd9(0xd6)],_0x1fa8f5=_0x471cfb[_0x1c8571+0x0],_0x1cf97c=_0x471cfb[_0x1c8571+0x1],_0x22c7f4=_0x471cfb[_0x1c8571+0x2],_0x5b6abd=_0x471cfb[_0x1c8571+0x3],_0x435b56=_0x471cfb[_0x1c8571+0x4],_0xf023ba=_0x471cfb[_0x1c8571+0x5],_0x24af45=_0x471cfb[_0x1c8571+0x6],_0x184785=_0x471cfb[_0x1c8571+0x7],_0x2429fe=_0x471cfb[_0x1c8571+0x8],_0x365c16=_0x471cfb[_0x1c8571+0x9],_0x4581d6=_0x471cfb[_0x1c8571+0xa],_0x2780b9=_0x471cfb[_0x1c8571+0xb],_0x5ede7f=_0x471cfb[_0x1c8571+0xc],_0x16bcba=_0x471cfb[_0x1c8571+0xd],_0x5a3917=_0x471cfb[_0x1c8571+0xe],_0x538047=_0x471cfb[_0x1c8571+0xf],_0x1d0eea=_0x290463[0x0],_0x2f7d86=_0x290463[0x1],_0x59fd8e=_0x290463[0x2],_0x9e2461=_0x290463[0x3];_0x1d0eea=_0x401850(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1fa8f5,0x7,_0x406ef5[0x0]),_0x9e2461=_0x401850(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x1cf97c,0xc,_0x406ef5[0x1]),_0x59fd8e=_0x401850(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x22c7f4,0x11,_0x406ef5[0x2]),_0x2f7d86=_0x401850(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x5b6abd,0x16,_0x406ef5[0x3]),_0x1d0eea=_0x401850(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x435b56,0x7,_0x406ef5[0x4]),_0x9e2461=_0x401850(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0xf023ba,0xc,_0x406ef5[0x5]),_0x59fd8e=_0x401850(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x24af45,0x11,_0x406ef5[0x6]),_0x2f7d86=_0x401850(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x184785,0x16,_0x406ef5[0x7]),_0x1d0eea=_0x401850(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x2429fe,0x7,_0x406ef5[0x8]),_0x9e2461=_0x401850(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x365c16,0xc,_0x406ef5[0x9]),_0x59fd8e=_0x401850(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x4581d6,0x11,_0x406ef5[0xa]),_0x2f7d86=_0x401850(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2780b9,0x16,_0x406ef5[0xb]),_0x1d0eea=_0x401850(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x5ede7f,0x7,_0x406ef5[0xc]),_0x9e2461=_0x401850(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x16bcba,0xc,_0x406ef5[0xd]),_0x59fd8e=_0x401850(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x5a3917,0x11,_0x406ef5[0xe]),_0x2f7d86=_0x401850(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x538047,0x16,_0x406ef5[0xf]),_0x1d0eea=_0x1dd239(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1cf97c,0x5,_0x406ef5[0x10]),_0x9e2461=_0x1dd239(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x24af45,0x9,_0x406ef5[0x11]),_0x59fd8e=_0x1dd239(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x2780b9,0xe,_0x406ef5[0x12]),_0x2f7d86=_0x1dd239(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x1fa8f5,0x14,_0x406ef5[0x13]),_0x1d0eea=_0x1dd239(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0xf023ba,0x5,_0x406ef5[0x14]),_0x9e2461=_0x1dd239(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x4581d6,0x9,_0x406ef5[0x15]),_0x59fd8e=_0x1dd239(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x538047,0xe,_0x406ef5[0x16]),_0x2f7d86=_0x1dd239(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x435b56,0x14,_0x406ef5[0x17]),_0x1d0eea=_0x1dd239(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x365c16,0x5,_0x406ef5[0x18]),_0x9e2461=_0x1dd239(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x5a3917,0x9,_0x406ef5[0x19]),_0x59fd8e=_0x1dd239(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x5b6abd,0xe,_0x406ef5[0x1a]),_0x2f7d86=_0x1dd239(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2429fe,0x14,_0x406ef5[0x1b]),_0x1d0eea=_0x1dd239(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x16bcba,0x5,_0x406ef5[0x1c]),_0x9e2461=_0x1dd239(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x22c7f4,0x9,_0x406ef5[0x1d]),_0x59fd8e=_0x1dd239(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x184785,0xe,_0x406ef5[0x1e]),_0x2f7d86=_0x1dd239(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x5ede7f,0x14,_0x406ef5[0x1f]),_0x1d0eea=_0x1117eb(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0xf023ba,0x4,_0x406ef5[0x20]),_0x9e2461=_0x1117eb(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x2429fe,0xb,_0x406ef5[0x21]),_0x59fd8e=_0x1117eb(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x2780b9,0x10,_0x406ef5[0x22]),_0x2f7d86=_0x1117eb(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x5a3917,0x17,_0x406ef5[0x23]),_0x1d0eea=_0x1117eb(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1cf97c,0x4,_0x406ef5[0x24]),_0x9e2461=_0x1117eb(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x435b56,0xb,_0x406ef5[0x25]),_0x59fd8e=_0x1117eb(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x184785,0x10,_0x406ef5[0x26]),_0x2f7d86=_0x1117eb(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x4581d6,0x17,_0x406ef5[0x27]),_0x1d0eea=_0x1117eb(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x16bcba,0x4,_0x406ef5[0x28]),_0x9e2461=_0x1117eb(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x1fa8f5,0xb,_0x406ef5[0x29]),_0x59fd8e=_0x1117eb(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x5b6abd,0x10,_0x406ef5[0x2a]),_0x2f7d86=_0x1117eb(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x24af45,0x17,_0x406ef5[0x2b]),_0x1d0eea=_0x1117eb(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x365c16,0x4,_0x406ef5[0x2c]),_0x9e2461=_0x1117eb(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x5ede7f,0xb,_0x406ef5[0x2d]),_0x59fd8e=_0x1117eb(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x538047,0x10,_0x406ef5[0x2e]),_0x2f7d86=_0x1117eb(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x22c7f4,0x17,_0x406ef5[0x2f]),_0x1d0eea=_0x4c0b37(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1fa8f5,0x6,_0x406ef5[0x30]),_0x9e2461=_0x4c0b37(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x184785,0xa,_0x406ef5[0x31]),_0x59fd8e=_0x4c0b37(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x5a3917,0xf,_0x406ef5[0x32]),_0x2f7d86=_0x4c0b37(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0xf023ba,0x15,_0x406ef5[0x33]),_0x1d0eea=_0x4c0b37(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x5ede7f,0x6,_0x406ef5[0x34]),_0x9e2461=_0x4c0b37(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x5b6abd,0xa,_0x406ef5[0x35]),_0x59fd8e=_0x4c0b37(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x4581d6,0xf,_0x406ef5[0x36]),_0x2f7d86=_0x4c0b37(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x1cf97c,0x15,_0x406ef5[0x37]),_0x1d0eea=_0x4c0b37(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x2429fe,0x6,_0x406ef5[0x38]),_0x9e2461=_0x4c0b37(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x538047,0xa,_0x406ef5[0x39]),_0x59fd8e=_0x4c0b37(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x24af45,0xf,_0x406ef5[0x3a]),_0x2f7d86=_0x4c0b37(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x16bcba,0x15,_0x406ef5[0x3b]),_0x1d0eea=_0x4c0b37(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x435b56,0x6,_0x406ef5[0x3c]),_0x9e2461=_0x4c0b37(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x2780b9,0xa,_0x406ef5[0x3d]),_0x59fd8e=_0x4c0b37(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x22c7f4,0xf,_0x406ef5[0x3e]),_0x2f7d86=_0x4c0b37(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x365c16,0x15,_0x406ef5[0x3f]),_0x290463[0x0]=_0x290463[0x0]+_0x1d0eea|0x0,_0x290463[0x1]=_0x290463[0x1]+_0x2f7d86|0x0,_0x290463[0x2]=_0x290463[0x2]+_0x59fd8e|0x0,_0x290463[0x3]=_0x290463[0x3]+_0x9e2461|0x0;},'_doFinalize':function(){var _0x1278f6=_0x297ce5,_0x5b90b3=this[_0x1278f6(0x3de)],_0x5c7509=_0x5b90b3[_0x1278f6(0xd6)],_0x50be0a=this[_0x1278f6(0x99)]*0x8,_0x404702=_0x5b90b3[_0x1278f6(0x3a0)]*0x8;_0x5c7509[_0x404702>>>0x5]|=0x80<<0x18-_0x404702%0x20;var _0x3ca141=_0x86fcc4[_0x1278f6(0x123)](_0x50be0a/0x100000000),_0x27e5a3=_0x50be0a;_0x5c7509[(_0x404702+0x40>>>0x9<<0x4)+0xf]=(_0x3ca141<<0x8|_0x3ca141>>>0x18)&0xff00ff|(_0x3ca141<<0x18|_0x3ca141>>>0x8)&0xff00ff00,_0x5c7509[(_0x404702+0x40>>>0x9<<0x4)+0xe]=(_0x27e5a3<<0x8|_0x27e5a3>>>0x18)&0xff00ff|(_0x27e5a3<<0x18|_0x27e5a3>>>0x8)&0xff00ff00,_0x5b90b3[_0x1278f6(0x3a0)]=(_0x5c7509[_0x1278f6(0x86)]+0x1)*0x4,this[_0x1278f6(0x27a)]();for(var _0x1d74ee=this[_0x1278f6(0x262)],_0x1a6f51=_0x1d74ee[_0x1278f6(0xd6)],_0xeac78f=0x0;_0xeac78f<0x4;_0xeac78f++){var _0x2db9ea=_0x1a6f51[_0xeac78f];_0x1a6f51[_0xeac78f]=(_0x2db9ea<<0x8|_0x2db9ea>>>0x18)&0xff00ff|(_0x2db9ea<<0x18|_0x2db9ea>>>0x8)&0xff00ff00;}return _0x1d74ee;},'clone':function(){var _0x1e242d=_0x297ce5,_0x4ee524=_0x43dcf2[_0x1e242d(0x184)][_0x1e242d(0x3f2)](this);return _0x4ee524[_0x1e242d(0x262)]=this[_0x1e242d(0x262)]['clone'](),_0x4ee524;}});function _0x401850(_0xe16463,_0x63a854,_0xe71591,_0x22add8,_0x31bafb,_0x12d243,_0x1b3812){var _0x3ae620=_0xe16463+(_0x63a854&_0xe71591|~_0x63a854&_0x22add8)+_0x31bafb+_0x1b3812;return(_0x3ae620<<_0x12d243|_0x3ae620>>>0x20-_0x12d243)+_0x63a854;}function _0x1dd239(_0x224b90,_0x176c4c,_0x487a9b,_0x1aa548,_0x1e2cbe,_0x29724f,_0x55dcea){var _0x57835f=_0x224b90+(_0x176c4c&_0x1aa548|_0x487a9b&~_0x1aa548)+_0x1e2cbe+_0x55dcea;return(_0x57835f<<_0x29724f|_0x57835f>>>0x20-_0x29724f)+_0x176c4c;}function _0x1117eb(_0x24dde9,_0x53e24e,_0xd73c9,_0x89eda5,_0x35ccaa,_0x29c26b,_0x380d30){var _0x8b1e7b=_0x24dde9+(_0x53e24e^_0xd73c9^_0x89eda5)+_0x35ccaa+_0x380d30;return(_0x8b1e7b<<_0x29c26b|_0x8b1e7b>>>0x20-_0x29c26b)+_0x53e24e;}function _0x4c0b37(_0x581c19,_0x3c7e56,_0x97e040,_0x34a63c,_0x4d3b99,_0x2de15b,_0x849ffd){var _0x3d8efd=_0x581c19+(_0x97e040^(_0x3c7e56|~_0x34a63c))+_0x4d3b99+_0x849ffd;return(_0x3d8efd<<_0x2de15b|_0x3d8efd>>>0x20-_0x2de15b)+_0x3c7e56;}_0x2e2faa[_0x297ce5(0x19e)]=_0x43dcf2['_createHelper'](_0x4d5971),_0x2e2faa[_0x297ce5(0x101)]=_0x43dcf2[_0x297ce5(0x318)](_0x4d5971);}(Math),_0x3bfd84[_0x975bdd(0x19e)];}));}(_0x342287)),_0x342287[_0x5d5de3(0x2a3)];}var _0x37193c={'exports':{}},_0x5db7b3={'exports':{}},_0x2e9a09=_0x5db7b3[_0x46a189(0x2a3)],_0x6be86;function _0x16ec76(){return _0x6be86||(_0x6be86=0x1,function(_0x3fc51a,_0x4765eb){(function(_0x36e6dc,_0x4e21c1){var _0x282da8=_0x532f;_0x3fc51a[_0x282da8(0x2a3)]=_0x4e21c1(_0x10f252());}(_0x2e9a09,function(_0x591f86){return(function(){var _0x228588=_0x532f,_0x3d27b6=_0x591f86,_0x138a31=_0x3d27b6[_0x228588(0x1ca)],_0xb4898=_0x138a31[_0x228588(0xe4)],_0xb83018=_0x138a31[_0x228588(0xde)],_0x13c8ac=_0x3d27b6['algo'],_0x1643c1=[],_0x1ae154=_0x13c8ac['SHA1']=_0xb83018[_0x228588(0x357)]({'_doReset':function(){var _0x4e0e19=_0x228588;this[_0x4e0e19(0x262)]=new _0xb4898[(_0x4e0e19(0x225))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x35d9ee,_0x79faf9){var _0x48dec0=_0x228588;for(var _0x3392fc=this['_hash'][_0x48dec0(0xd6)],_0x21b1cd=_0x3392fc[0x0],_0x107397=_0x3392fc[0x1],_0x2e0d33=_0x3392fc[0x2],_0x2cf707=_0x3392fc[0x3],_0x546c4d=_0x3392fc[0x4],_0x17d174=0x0;_0x17d174<0x50;_0x17d174++){if(_0x17d174<0x10)_0x1643c1[_0x17d174]=_0x35d9ee[_0x79faf9+_0x17d174]|0x0;else{var _0x5a6f4b=_0x1643c1[_0x17d174-0x3]^_0x1643c1[_0x17d174-0x8]^_0x1643c1[_0x17d174-0xe]^_0x1643c1[_0x17d174-0x10];_0x1643c1[_0x17d174]=_0x5a6f4b<<0x1|_0x5a6f4b>>>0x1f;}var _0x38173b=(_0x21b1cd<<0x5|_0x21b1cd>>>0x1b)+_0x546c4d+_0x1643c1[_0x17d174];_0x17d174<0x14?_0x38173b+=(_0x107397&_0x2e0d33|~_0x107397&_0x2cf707)+0x5a827999:_0x17d174<0x28?_0x38173b+=(_0x107397^_0x2e0d33^_0x2cf707)+0x6ed9eba1:_0x17d174<0x3c?_0x38173b+=(_0x107397&_0x2e0d33|_0x107397&_0x2cf707|_0x2e0d33&_0x2cf707)-0x70e44324:_0x38173b+=(_0x107397^_0x2e0d33^_0x2cf707)-0x359d3e2a,_0x546c4d=_0x2cf707,_0x2cf707=_0x2e0d33,_0x2e0d33=_0x107397<<0x1e|_0x107397>>>0x2,_0x107397=_0x21b1cd,_0x21b1cd=_0x38173b;}_0x3392fc[0x0]=_0x3392fc[0x0]+_0x21b1cd|0x0,_0x3392fc[0x1]=_0x3392fc[0x1]+_0x107397|0x0,_0x3392fc[0x2]=_0x3392fc[0x2]+_0x2e0d33|0x0,_0x3392fc[0x3]=_0x3392fc[0x3]+_0x2cf707|0x0,_0x3392fc[0x4]=_0x3392fc[0x4]+_0x546c4d|0x0;},'_doFinalize':function(){var _0x7288ca=_0x228588,_0x572478=this[_0x7288ca(0x3de)],_0x382dfe=_0x572478['words'],_0x3c6e9d=this[_0x7288ca(0x99)]*0x8,_0x530de1=_0x572478[_0x7288ca(0x3a0)]*0x8;return _0x382dfe[_0x530de1>>>0x5]|=0x80<<0x18-_0x530de1%0x20,_0x382dfe[(_0x530de1+0x40>>>0x9<<0x4)+0xe]=Math[_0x7288ca(0x123)](_0x3c6e9d/0x100000000),_0x382dfe[(_0x530de1+0x40>>>0x9<<0x4)+0xf]=_0x3c6e9d,_0x572478[_0x7288ca(0x3a0)]=_0x382dfe[_0x7288ca(0x86)]*0x4,this[_0x7288ca(0x27a)](),this['_hash'];},'clone':function(){var _0x309553=_0x228588,_0x3ea30e=_0xb83018[_0x309553(0x184)][_0x309553(0x3f2)](this);return _0x3ea30e[_0x309553(0x262)]=this[_0x309553(0x262)][_0x309553(0x184)](),_0x3ea30e;}});_0x3d27b6[_0x228588(0x168)]=_0xb83018[_0x228588(0x336)](_0x1ae154),_0x3d27b6[_0x228588(0x3be)]=_0xb83018['_createHmacHelper'](_0x1ae154);}()),_0x591f86['SHA1'];}));}(_0x5db7b3)),_0x5db7b3['exports'];}var _0x19d76a={'exports':{}},_0x1c3506=_0x19d76a['exports'],_0x5cabd3;function _0x1d8a3d(){var _0x578398=_0x46a189;return _0x5cabd3||(_0x5cabd3=0x1,function(_0x599ae1,_0x473831){(function(_0x12c6fe,_0x3ac746){var _0x1dc4ab=_0x532f;_0x599ae1[_0x1dc4ab(0x2a3)]=_0x3ac746(_0x10f252());}(_0x1c3506,function(_0x1438d7){(function(){var _0x336939=_0x532f,_0x7f17b6=_0x1438d7,_0x47aeb4=_0x7f17b6[_0x336939(0x1ca)],_0x2c943c=_0x47aeb4[_0x336939(0x118)],_0x2658a9=_0x7f17b6[_0x336939(0x25b)],_0x1f5e30=_0x2658a9[_0x336939(0x217)],_0x33f76a=_0x7f17b6[_0x336939(0x399)];_0x33f76a[_0x336939(0x240)]=_0x2c943c[_0x336939(0x357)]({'init':function(_0x4141d0,_0x106bb2){var _0x180d1e=_0x336939;_0x4141d0=this[_0x180d1e(0x1dc)]=new _0x4141d0['init'](),typeof _0x106bb2==_0x180d1e(0xec)&&(_0x106bb2=_0x1f5e30['parse'](_0x106bb2));var _0x33d054=_0x4141d0[_0x180d1e(0x384)],_0x46fa1e=_0x33d054*0x4;_0x106bb2[_0x180d1e(0x3a0)]>_0x46fa1e&&(_0x106bb2=_0x4141d0[_0x180d1e(0x40b)](_0x106bb2)),_0x106bb2[_0x180d1e(0x310)]();for(var _0x7ac494=this['_oKey']=_0x106bb2[_0x180d1e(0x184)](),_0x2ee453=this[_0x180d1e(0xd8)]=_0x106bb2[_0x180d1e(0x184)](),_0x29d6a9=_0x7ac494[_0x180d1e(0xd6)],_0x346705=_0x2ee453[_0x180d1e(0xd6)],_0xfe33e=0x0;_0xfe33e<_0x33d054;_0xfe33e++)_0x29d6a9[_0xfe33e]^=0x5c5c5c5c,_0x346705[_0xfe33e]^=0x36363636;_0x7ac494['sigBytes']=_0x2ee453[_0x180d1e(0x3a0)]=_0x46fa1e,this[_0x180d1e(0xae)]();},'reset':function(){var _0x2e832b=_0x336939,_0x2f6f7=this[_0x2e832b(0x1dc)];_0x2f6f7['reset'](),_0x2f6f7['update'](this[_0x2e832b(0xd8)]);},'update':function(_0x58a9bd){var _0x5f289f=_0x336939;return this[_0x5f289f(0x1dc)]['update'](_0x58a9bd),this;},'finalize':function(_0x46dc3e){var _0x1c03f4=_0x336939,_0x581afe=this['_hasher'],_0x5aeb82=_0x581afe[_0x1c03f4(0x40b)](_0x46dc3e);_0x581afe['reset']();var _0x3b2eda=_0x581afe[_0x1c03f4(0x40b)](this[_0x1c03f4(0x1aa)][_0x1c03f4(0x184)]()['concat'](_0x5aeb82));return _0x3b2eda;}});}());}));}(_0x19d76a)),_0x19d76a[_0x578398(0x2a3)];}var _0x302572=_0x37193c[_0x46a189(0x2a3)],_0x307f45;function _0x483d34(){var _0x5d8cfa=_0x46a189;return _0x307f45||(_0x307f45=0x1,function(_0x3186ae,_0xe960a8){(function(_0x53ed37,_0x13ee18,_0x5c9a89){var _0x40509c=_0x532f;_0x3186ae[_0x40509c(0x2a3)]=_0x13ee18(_0x10f252(),_0x16ec76(),_0x1d8a3d());}(_0x302572,function(_0xe8325a){return(function(){var _0x3512a6=_0x532f,_0x2f7a2a=_0xe8325a,_0x52e320=_0x2f7a2a[_0x3512a6(0x1ca)],_0xa56e19=_0x52e320[_0x3512a6(0x118)],_0x37983f=_0x52e320[_0x3512a6(0xe4)],_0x39b6f1=_0x2f7a2a[_0x3512a6(0x399)],_0x3e1042=_0x39b6f1['MD5'],_0x4aaab9=_0x39b6f1[_0x3512a6(0x213)]=_0xa56e19[_0x3512a6(0x357)]({'cfg':_0xa56e19['extend']({'keySize':0x80/0x20,'hasher':_0x3e1042,'iterations':0x1}),'init':function(_0x2c568d){var _0x4cf574=_0x3512a6;this[_0x4cf574(0x259)]=this[_0x4cf574(0x259)]['extend'](_0x2c568d);},'compute':function(_0x5d294e,_0x55e7c9){var _0x315db6=_0x3512a6;for(var _0x452296,_0x79abd=this[_0x315db6(0x259)],_0x2a76b6=_0x79abd[_0x315db6(0x35a)][_0x315db6(0x144)](),_0x39edd5=_0x37983f[_0x315db6(0x144)](),_0x32cff9=_0x39edd5[_0x315db6(0xd6)],_0x5b7efb=_0x79abd['keySize'],_0xdc009a=_0x79abd[_0x315db6(0x308)];_0x32cff9[_0x315db6(0x86)]<_0x5b7efb;){_0x452296&&_0x2a76b6[_0x315db6(0x3c9)](_0x452296),_0x452296=_0x2a76b6[_0x315db6(0x3c9)](_0x5d294e)[_0x315db6(0x40b)](_0x55e7c9),_0x2a76b6[_0x315db6(0xae)]();for(var _0x27c182=0x1;_0x27c182<_0xdc009a;_0x27c182++)_0x452296=_0x2a76b6[_0x315db6(0x40b)](_0x452296),_0x2a76b6[_0x315db6(0xae)]();_0x39edd5[_0x315db6(0x3b0)](_0x452296);}return _0x39edd5[_0x315db6(0x3a0)]=_0x5b7efb*0x4,_0x39edd5;}});_0x2f7a2a[_0x3512a6(0x213)]=function(_0x17f055,_0x8b31d9,_0x4d3ed1){var _0x1cd282=_0x3512a6;return _0x4aaab9[_0x1cd282(0x144)](_0x4d3ed1)[_0x1cd282(0x419)](_0x17f055,_0x8b31d9);};}()),_0xe8325a['EvpKDF'];}));}(_0x37193c)),_0x37193c[_0x5d8cfa(0x2a3)];}var _0x1e4111={'exports':{}},_0x1c4120=_0x1e4111[_0x46a189(0x2a3)],_0x5272b4;function _0x2f791f(){return _0x5272b4||(_0x5272b4=0x1,function(_0xd3e8c3,_0x259ed0){(function(_0x48be0e,_0x25045a,_0x18c47e){var _0x27bdb2=_0x532f;_0xd3e8c3[_0x27bdb2(0x2a3)]=_0x25045a(_0x10f252(),_0x483d34());}(_0x1c4120,function(_0x35551e){_0x35551e['lib']['Cipher']||function(_0xbc4d0f){var _0x7619a0=_0x532f,_0x474867=_0x35551e,_0x1da7dc=_0x474867[_0x7619a0(0x1ca)],_0x8daec0=_0x1da7dc[_0x7619a0(0x118)],_0x1f1921=_0x1da7dc[_0x7619a0(0xe4)],_0x67fbad=_0x1da7dc['BufferedBlockAlgorithm'],_0x179783=_0x474867[_0x7619a0(0x25b)];_0x179783[_0x7619a0(0x217)];var _0x51453f=_0x179783[_0x7619a0(0x115)],_0x39c2f1=_0x474867[_0x7619a0(0x399)],_0x53a8d1=_0x39c2f1[_0x7619a0(0x213)],_0x53a236=_0x1da7dc['Cipher']=_0x67fbad[_0x7619a0(0x357)]({'cfg':_0x8daec0[_0x7619a0(0x357)](),'createEncryptor':function(_0x457f00,_0x32f7e7){var _0x48e447=_0x7619a0;return this['create'](this[_0x48e447(0x302)],_0x457f00,_0x32f7e7);},'createDecryptor':function(_0x4f7783,_0x2b403f){var _0x5c961f=_0x7619a0;return this[_0x5c961f(0x144)](this['_DEC_XFORM_MODE'],_0x4f7783,_0x2b403f);},'init':function(_0x369b32,_0x17770a,_0x55560a){var _0x5ccce1=_0x7619a0;this['cfg']=this[_0x5ccce1(0x259)]['extend'](_0x55560a),this[_0x5ccce1(0x8c)]=_0x369b32,this['_key']=_0x17770a,this[_0x5ccce1(0xae)]();},'reset':function(){var _0x17489e=_0x7619a0;_0x67fbad[_0x17489e(0xae)][_0x17489e(0x3f2)](this),this[_0x17489e(0xed)]();},'process':function(_0x1989bc){var _0x112606=_0x7619a0;return this['_append'](_0x1989bc),this[_0x112606(0x27a)]();},'finalize':function(_0x348e77){var _0x4b7ccf=_0x7619a0;_0x348e77&&this[_0x4b7ccf(0x1ac)](_0x348e77);var _0x465bfe=this[_0x4b7ccf(0x176)]();return _0x465bfe;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xa807b6(_0xeb8691){var _0x57039e=_0x532f;return typeof _0xeb8691==_0x57039e(0xec)?_0xb75352:_0x1f7cd3;}return function(_0xdd3fe){return{'encrypt':function(_0x597a85,_0x48ae0b,_0x5ef71a){var _0x5e0eef=_0x532f;return _0xa807b6(_0x48ae0b)[_0x5e0eef(0xdc)](_0xdd3fe,_0x597a85,_0x48ae0b,_0x5ef71a);},'decrypt':function(_0x4304a1,_0x4b1b9d,_0x213e93){return _0xa807b6(_0x4b1b9d)['decrypt'](_0xdd3fe,_0x4304a1,_0x4b1b9d,_0x213e93);}};};}())});_0x1da7dc['StreamCipher']=_0x53a236[_0x7619a0(0x357)]({'_doFinalize':function(){var _0x5dec51=_0x7619a0,_0x21c12d=this[_0x5dec51(0x27a)](!0x0);return _0x21c12d;},'blockSize':0x1});var _0x341c0f=_0x474867[_0x7619a0(0x394)]={},_0x56a6bf=_0x1da7dc[_0x7619a0(0x27e)]=_0x8daec0[_0x7619a0(0x357)]({'createEncryptor':function(_0x4f2575,_0x7fba76){var _0x541883=_0x7619a0;return this[_0x541883(0x396)]['create'](_0x4f2575,_0x7fba76);},'createDecryptor':function(_0x40c351,_0x45dd5b){var _0x54e69f=_0x7619a0;return this[_0x54e69f(0x1fa)]['create'](_0x40c351,_0x45dd5b);},'init':function(_0x332dc1,_0xce64f6){var _0x3507d3=_0x7619a0;this[_0x3507d3(0xc7)]=_0x332dc1,this['_iv']=_0xce64f6;}}),_0x500090=_0x341c0f[_0x7619a0(0x28b)]=(function(){var _0x1d1ebd=_0x7619a0,_0x156648=_0x56a6bf[_0x1d1ebd(0x357)]();_0x156648[_0x1d1ebd(0x396)]=_0x156648[_0x1d1ebd(0x357)]({'processBlock':function(_0x4995cf,_0x23a23c){var _0x2abe46=_0x1d1ebd,_0x255d26=this[_0x2abe46(0xc7)],_0x13481d=_0x255d26[_0x2abe46(0x384)];_0x56940f[_0x2abe46(0x3f2)](this,_0x4995cf,_0x23a23c,_0x13481d),_0x255d26['encryptBlock'](_0x4995cf,_0x23a23c),this[_0x2abe46(0x227)]=_0x4995cf[_0x2abe46(0x16e)](_0x23a23c,_0x23a23c+_0x13481d);}}),_0x156648[_0x1d1ebd(0x1fa)]=_0x156648[_0x1d1ebd(0x357)]({'processBlock':function(_0x2f904d,_0x14755b){var _0x55c1e4=_0x1d1ebd,_0x524169=this['_cipher'],_0x3fd58c=_0x524169[_0x55c1e4(0x384)],_0x495877=_0x2f904d[_0x55c1e4(0x16e)](_0x14755b,_0x14755b+_0x3fd58c);_0x524169[_0x55c1e4(0xc1)](_0x2f904d,_0x14755b),_0x56940f[_0x55c1e4(0x3f2)](this,_0x2f904d,_0x14755b,_0x3fd58c),this['_prevBlock']=_0x495877;}});function _0x56940f(_0x21ed39,_0x2b4cba,_0x185a8f){var _0x521a02=_0x1d1ebd,_0xbaf534,_0x33fe2d=this[_0x521a02(0x2e5)];_0x33fe2d?(_0xbaf534=_0x33fe2d,this[_0x521a02(0x2e5)]=_0xbc4d0f):_0xbaf534=this[_0x521a02(0x227)];for(var _0x339d05=0x0;_0x339d05<_0x185a8f;_0x339d05++)_0x21ed39[_0x2b4cba+_0x339d05]^=_0xbaf534[_0x339d05];}return _0x156648;}()),_0x5a9f68=_0x474867['pad']={},_0x668057=_0x5a9f68['Pkcs7']={'pad':function(_0x3396ed,_0x160df3){var _0x254bd7=_0x7619a0;for(var _0x4f3325=_0x160df3*0x4,_0xcd68ef=_0x4f3325-_0x3396ed[_0x254bd7(0x3a0)]%_0x4f3325,_0x509ec8=_0xcd68ef<<0x18|_0xcd68ef<<0x10|_0xcd68ef<<0x8|_0xcd68ef,_0x3aadd4=[],_0x2de6e8=0x0;_0x2de6e8<_0xcd68ef;_0x2de6e8+=0x4)_0x3aadd4[_0x254bd7(0x139)](_0x509ec8);var _0x483bdf=_0x1f1921[_0x254bd7(0x144)](_0x3aadd4,_0xcd68ef);_0x3396ed[_0x254bd7(0x3b0)](_0x483bdf);},'unpad':function(_0x28b407){var _0x10212c=_0x7619a0,_0x215fca=_0x28b407[_0x10212c(0xd6)][_0x28b407[_0x10212c(0x3a0)]-0x1>>>0x2]&0xff;_0x28b407[_0x10212c(0x3a0)]-=_0x215fca;}};_0x1da7dc['BlockCipher']=_0x53a236['extend']({'cfg':_0x53a236[_0x7619a0(0x259)][_0x7619a0(0x357)]({'mode':_0x500090,'padding':_0x668057}),'reset':function(){var _0x3c9df7=_0x7619a0,_0x1bea3a;_0x53a236[_0x3c9df7(0xae)][_0x3c9df7(0x3f2)](this);var _0x5d8947=this[_0x3c9df7(0x259)],_0x9b8e42=_0x5d8947['iv'],_0x2b2266=_0x5d8947['mode'];this[_0x3c9df7(0x8c)]==this['_ENC_XFORM_MODE']?_0x1bea3a=_0x2b2266[_0x3c9df7(0x1d5)]:(_0x1bea3a=_0x2b2266[_0x3c9df7(0x37e)],this[_0x3c9df7(0x2a0)]=0x1),this[_0x3c9df7(0x2a1)]&&this[_0x3c9df7(0x2a1)][_0x3c9df7(0x1d7)]==_0x1bea3a?this[_0x3c9df7(0x2a1)][_0x3c9df7(0x225)](this,_0x9b8e42&&_0x9b8e42[_0x3c9df7(0xd6)]):(this[_0x3c9df7(0x2a1)]=_0x1bea3a[_0x3c9df7(0x3f2)](_0x2b2266,this,_0x9b8e42&&_0x9b8e42[_0x3c9df7(0xd6)]),this[_0x3c9df7(0x2a1)][_0x3c9df7(0x1d7)]=_0x1bea3a);},'_doProcessBlock':function(_0x3b7eec,_0x24c7f4){var _0x4d1593=_0x7619a0;this[_0x4d1593(0x2a1)][_0x4d1593(0x1c1)](_0x3b7eec,_0x24c7f4);},'_doFinalize':function(){var _0x6957f=_0x7619a0,_0x15673a,_0x5a2f25=this[_0x6957f(0x259)]['padding'];return this[_0x6957f(0x8c)]==this[_0x6957f(0x302)]?(_0x5a2f25[_0x6957f(0x1f1)](this['_data'],this['blockSize']),_0x15673a=this[_0x6957f(0x27a)](!0x0)):(_0x15673a=this['_process'](!0x0),_0x5a2f25[_0x6957f(0x1d3)](_0x15673a)),_0x15673a;},'blockSize':0x80/0x20});var _0x161b9e=_0x1da7dc['CipherParams']=_0x8daec0[_0x7619a0(0x357)]({'init':function(_0x220c17){this['mixIn'](_0x220c17);},'toString':function(_0x160905){var _0x3de998=_0x7619a0;return(_0x160905||this[_0x3de998(0x19b)])[_0x3de998(0x27f)](this);}}),_0x5678f7=_0x474867[_0x7619a0(0x1b8)]={},_0x509e02=_0x5678f7[_0x7619a0(0x1c9)]={'stringify':function(_0xaa5dd8){var _0x256f10=_0x7619a0,_0x5aed4c,_0x4f56a2=_0xaa5dd8[_0x256f10(0x41e)],_0x2fd791=_0xaa5dd8['salt'];return _0x2fd791?_0x5aed4c=_0x1f1921[_0x256f10(0x144)]([0x53616c74,0x65645f5f])[_0x256f10(0x3b0)](_0x2fd791)[_0x256f10(0x3b0)](_0x4f56a2):_0x5aed4c=_0x4f56a2,_0x5aed4c[_0x256f10(0x142)](_0x51453f);},'parse':function(_0x82cab4){var _0x14d44a=_0x7619a0,_0xda43ff,_0x1584b2=_0x51453f[_0x14d44a(0x390)](_0x82cab4),_0x2548a9=_0x1584b2['words'];return _0x2548a9[0x0]==0x53616c74&&_0x2548a9[0x1]==0x65645f5f&&(_0xda43ff=_0x1f1921[_0x14d44a(0x144)](_0x2548a9[_0x14d44a(0x16e)](0x2,0x4)),_0x2548a9[_0x14d44a(0x2ac)](0x0,0x4),_0x1584b2[_0x14d44a(0x3a0)]-=0x10),_0x161b9e['create']({'ciphertext':_0x1584b2,'salt':_0xda43ff});}},_0x1f7cd3=_0x1da7dc[_0x7619a0(0x193)]=_0x8daec0['extend']({'cfg':_0x8daec0[_0x7619a0(0x357)]({'format':_0x509e02}),'encrypt':function(_0x4acb0b,_0x3d3b92,_0x39348c,_0x36d506){var _0x4db0a2=_0x7619a0;_0x36d506=this[_0x4db0a2(0x259)][_0x4db0a2(0x357)](_0x36d506);var _0x3a4aaf=_0x4acb0b[_0x4db0a2(0x1d5)](_0x39348c,_0x36d506),_0x1d14a4=_0x3a4aaf[_0x4db0a2(0x40b)](_0x3d3b92),_0x1b5867=_0x3a4aaf[_0x4db0a2(0x259)];return _0x161b9e[_0x4db0a2(0x144)]({'ciphertext':_0x1d14a4,'key':_0x39348c,'iv':_0x1b5867['iv'],'algorithm':_0x4acb0b,'mode':_0x1b5867['mode'],'padding':_0x1b5867[_0x4db0a2(0x306)],'blockSize':_0x4acb0b['blockSize'],'formatter':_0x36d506[_0x4db0a2(0x1b8)]});},'decrypt':function(_0x968088,_0x4b1392,_0x5a8361,_0x2d78f0){var _0x37bbec=_0x7619a0;_0x2d78f0=this[_0x37bbec(0x259)]['extend'](_0x2d78f0),_0x4b1392=this[_0x37bbec(0xe3)](_0x4b1392,_0x2d78f0[_0x37bbec(0x1b8)]);var _0x545118=_0x968088[_0x37bbec(0x37e)](_0x5a8361,_0x2d78f0)[_0x37bbec(0x40b)](_0x4b1392[_0x37bbec(0x41e)]);return _0x545118;},'_parse':function(_0x514dbb,_0x42765b){var _0x535545=_0x7619a0;return typeof _0x514dbb==_0x535545(0xec)?_0x42765b[_0x535545(0x390)](_0x514dbb,this):_0x514dbb;}}),_0x531d57=_0x474867[_0x7619a0(0x1bf)]={},_0x24debb=_0x531d57[_0x7619a0(0x1c9)]={'execute':function(_0x1b5ee1,_0xb66a36,_0x2890f1,_0x59f49e,_0x18d544){var _0x5e98b5=_0x7619a0;if(_0x59f49e||(_0x59f49e=_0x1f1921[_0x5e98b5(0x2a6)](0x40/0x8)),_0x18d544)var _0x387f84=_0x53a8d1[_0x5e98b5(0x144)]({'keySize':_0xb66a36+_0x2890f1,'hasher':_0x18d544})[_0x5e98b5(0x419)](_0x1b5ee1,_0x59f49e);else var _0x387f84=_0x53a8d1[_0x5e98b5(0x144)]({'keySize':_0xb66a36+_0x2890f1})[_0x5e98b5(0x419)](_0x1b5ee1,_0x59f49e);var _0x1ca3e3=_0x1f1921[_0x5e98b5(0x144)](_0x387f84[_0x5e98b5(0xd6)][_0x5e98b5(0x16e)](_0xb66a36),_0x2890f1*0x4);return _0x387f84[_0x5e98b5(0x3a0)]=_0xb66a36*0x4,_0x161b9e[_0x5e98b5(0x144)]({'key':_0x387f84,'iv':_0x1ca3e3,'salt':_0x59f49e});}},_0xb75352=_0x1da7dc[_0x7619a0(0x1a7)]=_0x1f7cd3[_0x7619a0(0x357)]({'cfg':_0x1f7cd3[_0x7619a0(0x259)][_0x7619a0(0x357)]({'kdf':_0x24debb}),'encrypt':function(_0x560737,_0x27d749,_0x471689,_0x4a7acd){var _0x520b74=_0x7619a0;_0x4a7acd=this[_0x520b74(0x259)][_0x520b74(0x357)](_0x4a7acd);var _0x2553f6=_0x4a7acd['kdf']['execute'](_0x471689,_0x560737['keySize'],_0x560737[_0x520b74(0x2d4)],_0x4a7acd['salt'],_0x4a7acd[_0x520b74(0x35a)]);_0x4a7acd['iv']=_0x2553f6['iv'];var _0x21a82a=_0x1f7cd3[_0x520b74(0xdc)][_0x520b74(0x3f2)](this,_0x560737,_0x27d749,_0x2553f6[_0x520b74(0x236)],_0x4a7acd);return _0x21a82a[_0x520b74(0x32c)](_0x2553f6),_0x21a82a;},'decrypt':function(_0x1b8bae,_0x375d5c,_0x551e36,_0x51947e){var _0x16bebf=_0x7619a0;_0x51947e=this[_0x16bebf(0x259)]['extend'](_0x51947e),_0x375d5c=this['_parse'](_0x375d5c,_0x51947e[_0x16bebf(0x1b8)]);var _0x255b35=_0x51947e['kdf'][_0x16bebf(0x1bc)](_0x551e36,_0x1b8bae[_0x16bebf(0x38c)],_0x1b8bae['ivSize'],_0x375d5c[_0x16bebf(0xc9)],_0x51947e[_0x16bebf(0x35a)]);_0x51947e['iv']=_0x255b35['iv'];var _0x5581eb=_0x1f7cd3['decrypt'][_0x16bebf(0x3f2)](this,_0x1b8bae,_0x375d5c,_0x255b35[_0x16bebf(0x236)],_0x51947e);return _0x5581eb;}});}();}));}(_0x1e4111)),_0x1e4111['exports'];}var _0x58a2ec=_0x12cccc[_0x46a189(0x2a3)],_0x3983b9;function _0x1fffcc(){var _0x863490=_0x46a189;return _0x3983b9||(_0x3983b9=0x1,function(_0x10fd9f,_0xf2a92c){(function(_0x446395,_0x1831ac,_0x3a7d3a){var _0x3ebb8a=_0x532f;_0x10fd9f[_0x3ebb8a(0x2a3)]=_0x1831ac(_0x10f252(),_0x2ea24d(),_0xda11a2(),_0x483d34(),_0x2f791f());}(_0x58a2ec,function(_0x18ab1){var _0x1bfc3d=_0x532f;return(function(){var _0x49acc8=_0x532f,_0x32efa6=_0x18ab1,_0x5de56c=_0x32efa6[_0x49acc8(0x1ca)],_0xf09ed8=_0x5de56c[_0x49acc8(0x169)],_0x305881=_0x32efa6[_0x49acc8(0x399)],_0x5edbb4=[],_0x2ac440=[],_0x5cef2c=[],_0x3608ff=[],_0x239944=[],_0x57231a=[],_0x107979=[],_0x33668a=[],_0x189ee3=[],_0x3be325=[];(function(){for(var _0x3acc58=[],_0x73f168=0x0;_0x73f168<0x100;_0x73f168++)_0x73f168<0x80?_0x3acc58[_0x73f168]=_0x73f168<<0x1:_0x3acc58[_0x73f168]=_0x73f168<<0x1^0x11b;for(var _0x2fee91=0x0,_0x5a3a8b=0x0,_0x73f168=0x0;_0x73f168<0x100;_0x73f168++){var _0x56fb05=_0x5a3a8b^_0x5a3a8b<<0x1^_0x5a3a8b<<0x2^_0x5a3a8b<<0x3^_0x5a3a8b<<0x4;_0x56fb05=_0x56fb05>>>0x8^_0x56fb05&0xff^0x63,_0x5edbb4[_0x2fee91]=_0x56fb05,_0x2ac440[_0x56fb05]=_0x2fee91;var _0x2b8ea9=_0x3acc58[_0x2fee91],_0x5a98d4=_0x3acc58[_0x2b8ea9],_0xf7c0f5=_0x3acc58[_0x5a98d4],_0x24eee2=_0x3acc58[_0x56fb05]*0x101^_0x56fb05*0x1010100;_0x5cef2c[_0x2fee91]=_0x24eee2<<0x18|_0x24eee2>>>0x8,_0x3608ff[_0x2fee91]=_0x24eee2<<0x10|_0x24eee2>>>0x10,_0x239944[_0x2fee91]=_0x24eee2<<0x8|_0x24eee2>>>0x18,_0x57231a[_0x2fee91]=_0x24eee2;var _0x24eee2=_0xf7c0f5*0x1010101^_0x5a98d4*0x10001^_0x2b8ea9*0x101^_0x2fee91*0x1010100;_0x107979[_0x56fb05]=_0x24eee2<<0x18|_0x24eee2>>>0x8,_0x33668a[_0x56fb05]=_0x24eee2<<0x10|_0x24eee2>>>0x10,_0x189ee3[_0x56fb05]=_0x24eee2<<0x8|_0x24eee2>>>0x18,_0x3be325[_0x56fb05]=_0x24eee2,_0x2fee91?(_0x2fee91=_0x2b8ea9^_0x3acc58[_0x3acc58[_0x3acc58[_0xf7c0f5^_0x2b8ea9]]],_0x5a3a8b^=_0x3acc58[_0x3acc58[_0x5a3a8b]]):_0x2fee91=_0x5a3a8b=0x1;}}());var _0x5e769=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x49315e=_0x305881[_0x49acc8(0x355)]=_0xf09ed8[_0x49acc8(0x357)]({'_doReset':function(){var _0x25aa6c=_0x49acc8,_0x12dfb2;if(!(this[_0x25aa6c(0x195)]&&this[_0x25aa6c(0x27b)]===this[_0x25aa6c(0x33e)])){for(var _0x146655=this[_0x25aa6c(0x27b)]=this[_0x25aa6c(0x33e)],_0x479933=_0x146655[_0x25aa6c(0xd6)],_0x357875=_0x146655[_0x25aa6c(0x3a0)]/0x4,_0x541f06=this['_nRounds']=_0x357875+0x6,_0x5184bd=(_0x541f06+0x1)*0x4,_0x3eccf9=this[_0x25aa6c(0x1e0)]=[],_0x20fc91=0x0;_0x20fc91<_0x5184bd;_0x20fc91++)_0x20fc91<_0x357875?_0x3eccf9[_0x20fc91]=_0x479933[_0x20fc91]:(_0x12dfb2=_0x3eccf9[_0x20fc91-0x1],_0x20fc91%_0x357875?_0x357875>0x6&&_0x20fc91%_0x357875==0x4&&(_0x12dfb2=_0x5edbb4[_0x12dfb2>>>0x18]<<0x18|_0x5edbb4[_0x12dfb2>>>0x10&0xff]<<0x10|_0x5edbb4[_0x12dfb2>>>0x8&0xff]<<0x8|_0x5edbb4[_0x12dfb2&0xff]):(_0x12dfb2=_0x12dfb2<<0x8|_0x12dfb2>>>0x18,_0x12dfb2=_0x5edbb4[_0x12dfb2>>>0x18]<<0x18|_0x5edbb4[_0x12dfb2>>>0x10&0xff]<<0x10|_0x5edbb4[_0x12dfb2>>>0x8&0xff]<<0x8|_0x5edbb4[_0x12dfb2&0xff],_0x12dfb2^=_0x5e769[_0x20fc91/_0x357875|0x0]<<0x18),_0x3eccf9[_0x20fc91]=_0x3eccf9[_0x20fc91-_0x357875]^_0x12dfb2);for(var _0x191b46=this['_invKeySchedule']=[],_0x1e8335=0x0;_0x1e8335<_0x5184bd;_0x1e8335++){var _0x20fc91=_0x5184bd-_0x1e8335;if(_0x1e8335%0x4)var _0x12dfb2=_0x3eccf9[_0x20fc91];else var _0x12dfb2=_0x3eccf9[_0x20fc91-0x4];_0x1e8335<0x4||_0x20fc91<=0x4?_0x191b46[_0x1e8335]=_0x12dfb2:_0x191b46[_0x1e8335]=_0x107979[_0x5edbb4[_0x12dfb2>>>0x18]]^_0x33668a[_0x5edbb4[_0x12dfb2>>>0x10&0xff]]^_0x189ee3[_0x5edbb4[_0x12dfb2>>>0x8&0xff]]^_0x3be325[_0x5edbb4[_0x12dfb2&0xff]];}}},'encryptBlock':function(_0x154af8,_0x2a74a4){var _0x300f2a=_0x49acc8;this[_0x300f2a(0x11f)](_0x154af8,_0x2a74a4,this[_0x300f2a(0x1e0)],_0x5cef2c,_0x3608ff,_0x239944,_0x57231a,_0x5edbb4);},'decryptBlock':function(_0x3aff9f,_0x205e6c){var _0x993469=_0x3aff9f[_0x205e6c+0x1];_0x3aff9f[_0x205e6c+0x1]=_0x3aff9f[_0x205e6c+0x3],_0x3aff9f[_0x205e6c+0x3]=_0x993469,this['_doCryptBlock'](_0x3aff9f,_0x205e6c,this['_invKeySchedule'],_0x107979,_0x33668a,_0x189ee3,_0x3be325,_0x2ac440);var _0x993469=_0x3aff9f[_0x205e6c+0x1];_0x3aff9f[_0x205e6c+0x1]=_0x3aff9f[_0x205e6c+0x3],_0x3aff9f[_0x205e6c+0x3]=_0x993469;},'_doCryptBlock':function(_0x1c1784,_0x3b2135,_0x2b7c39,_0x14209d,_0x459b5c,_0x4fda33,_0x8cec09,_0x552142){var _0xdd2feb=_0x49acc8;for(var _0x434af1=this[_0xdd2feb(0x195)],_0x15784f=_0x1c1784[_0x3b2135]^_0x2b7c39[0x0],_0x140361=_0x1c1784[_0x3b2135+0x1]^_0x2b7c39[0x1],_0x4ef20f=_0x1c1784[_0x3b2135+0x2]^_0x2b7c39[0x2],_0x559674=_0x1c1784[_0x3b2135+0x3]^_0x2b7c39[0x3],_0x3cfbd3=0x4,_0x31880f=0x1;_0x31880f<_0x434af1;_0x31880f++){var _0xd05593=_0x14209d[_0x15784f>>>0x18]^_0x459b5c[_0x140361>>>0x10&0xff]^_0x4fda33[_0x4ef20f>>>0x8&0xff]^_0x8cec09[_0x559674&0xff]^_0x2b7c39[_0x3cfbd3++],_0x3e12c4=_0x14209d[_0x140361>>>0x18]^_0x459b5c[_0x4ef20f>>>0x10&0xff]^_0x4fda33[_0x559674>>>0x8&0xff]^_0x8cec09[_0x15784f&0xff]^_0x2b7c39[_0x3cfbd3++],_0x4a61d7=_0x14209d[_0x4ef20f>>>0x18]^_0x459b5c[_0x559674>>>0x10&0xff]^_0x4fda33[_0x15784f>>>0x8&0xff]^_0x8cec09[_0x140361&0xff]^_0x2b7c39[_0x3cfbd3++],_0x560a56=_0x14209d[_0x559674>>>0x18]^_0x459b5c[_0x15784f>>>0x10&0xff]^_0x4fda33[_0x140361>>>0x8&0xff]^_0x8cec09[_0x4ef20f&0xff]^_0x2b7c39[_0x3cfbd3++];_0x15784f=_0xd05593,_0x140361=_0x3e12c4,_0x4ef20f=_0x4a61d7,_0x559674=_0x560a56;}var _0xd05593=(_0x552142[_0x15784f>>>0x18]<<0x18|_0x552142[_0x140361>>>0x10&0xff]<<0x10|_0x552142[_0x4ef20f>>>0x8&0xff]<<0x8|_0x552142[_0x559674&0xff])^_0x2b7c39[_0x3cfbd3++],_0x3e12c4=(_0x552142[_0x140361>>>0x18]<<0x18|_0x552142[_0x4ef20f>>>0x10&0xff]<<0x10|_0x552142[_0x559674>>>0x8&0xff]<<0x8|_0x552142[_0x15784f&0xff])^_0x2b7c39[_0x3cfbd3++],_0x4a61d7=(_0x552142[_0x4ef20f>>>0x18]<<0x18|_0x552142[_0x559674>>>0x10&0xff]<<0x10|_0x552142[_0x15784f>>>0x8&0xff]<<0x8|_0x552142[_0x140361&0xff])^_0x2b7c39[_0x3cfbd3++],_0x560a56=(_0x552142[_0x559674>>>0x18]<<0x18|_0x552142[_0x15784f>>>0x10&0xff]<<0x10|_0x552142[_0x140361>>>0x8&0xff]<<0x8|_0x552142[_0x4ef20f&0xff])^_0x2b7c39[_0x3cfbd3++];_0x1c1784[_0x3b2135]=_0xd05593,_0x1c1784[_0x3b2135+0x1]=_0x3e12c4,_0x1c1784[_0x3b2135+0x2]=_0x4a61d7,_0x1c1784[_0x3b2135+0x3]=_0x560a56;},'keySize':0x100/0x20});_0x32efa6[_0x49acc8(0x355)]=_0xf09ed8[_0x49acc8(0x336)](_0x49315e);}()),_0x18ab1[_0x1bfc3d(0x355)];}));}(_0x12cccc)),_0x12cccc[_0x863490(0x2a3)];}var _0x1f0d38=_0x1fffcc();const _0x29a064=_0x2577ba(_0x1f0d38);var _0x4c9ec2=_0x2ea24d();const _0x29432a=_0x2577ba(_0x4c9ec2);var _0x6ae997={'exports':{}},_0x10b11a=_0x6ae997[_0x46a189(0x2a3)],_0x31c95e;function _0x3c8809(){var _0x3ef456=_0x46a189;return _0x31c95e||(_0x31c95e=0x1,function(_0xbc2158,_0x1b4740){(function(_0x5cde01,_0x2bbc6d){var _0x3d3708=_0x532f;_0xbc2158[_0x3d3708(0x2a3)]=_0x2bbc6d(_0x10f252());}(_0x10b11a,function(_0x25b816){var _0x2e6c8d=_0x532f;return _0x25b816[_0x2e6c8d(0x25b)][_0x2e6c8d(0x217)];}));}(_0x6ae997)),_0x6ae997[_0x3ef456(0x2a3)];}var _0x1b8d63=_0x3c8809();const _0xa89690=_0x2577ba(_0x1b8d63);var _0x5e7554={'exports':{}},_0x534396=_0x5e7554[_0x46a189(0x2a3)],_0x5f0f1a;function _0x3dd0f4(){return _0x5f0f1a||(_0x5f0f1a=0x1,function(_0x1f1675,_0x4c7890){(function(_0x35df7a,_0x3d94a8){var _0x23929f=_0x532f;_0x1f1675[_0x23929f(0x2a3)]=_0x3d94a8(_0x10f252());}(_0x534396,function(_0x34288b){var _0x255ebf=_0x532f;return(function(){var _0x172654=_0x532f;if(typeof ArrayBuffer==_0x172654(0x127)){var _0x173da4=_0x34288b,_0x2dad44=_0x173da4[_0x172654(0x1ca)],_0x13dc80=_0x2dad44[_0x172654(0xe4)],_0x40870a=_0x13dc80['init'],_0x208b51=_0x13dc80[_0x172654(0x225)]=function(_0x58600e){var _0x430e6f=_0x172654;if(_0x58600e instanceof ArrayBuffer&&(_0x58600e=new Uint8Array(_0x58600e)),(_0x58600e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x58600e instanceof Uint8ClampedArray||_0x58600e instanceof Int16Array||_0x58600e instanceof Uint16Array||_0x58600e instanceof Int32Array||_0x58600e instanceof Uint32Array||_0x58600e instanceof Float32Array||_0x58600e instanceof Float64Array)&&(_0x58600e=new Uint8Array(_0x58600e[_0x430e6f(0x2c6)],_0x58600e[_0x430e6f(0x234)],_0x58600e[_0x430e6f(0x1f0)])),_0x58600e instanceof Uint8Array){for(var _0x474a2a=_0x58600e[_0x430e6f(0x1f0)],_0x40e189=[],_0x36cd8f=0x0;_0x36cd8f<_0x474a2a;_0x36cd8f++)_0x40e189[_0x36cd8f>>>0x2]|=_0x58600e[_0x36cd8f]<<0x18-_0x36cd8f%0x4*0x8;_0x40870a[_0x430e6f(0x3f2)](this,_0x40e189,_0x474a2a);}else _0x40870a[_0x430e6f(0xcd)](this,arguments);};_0x208b51[_0x172654(0x425)]=_0x13dc80;}}()),_0x34288b[_0x255ebf(0x1ca)][_0x255ebf(0xe4)];}));}(_0x5e7554)),_0x5e7554['exports'];}var _0x3d8bdd=_0x3dd0f4();const _0x290c96=_0x2577ba(_0x3d8bdd);var _0x5231d0={'exports':{}},_0x1a542c=_0x5231d0[_0x46a189(0x2a3)],_0x4e44a5;function _0x37dbdc(){return _0x4e44a5||(_0x4e44a5=0x1,function(_0x3833f8,_0x26c9ab){(function(_0x15ef89,_0x44aceb,_0x2a3125){_0x3833f8['exports']=_0x44aceb(_0x10f252(),_0x2f791f());}(_0x1a542c,function(_0x58747f){var _0x35fe3e=_0x532f;return _0x58747f['pad'][_0x35fe3e(0x33a)]={'pad':function(){},'unpad':function(){}},_0x58747f[_0x35fe3e(0x1f1)][_0x35fe3e(0x33a)];}));}(_0x5231d0)),_0x5231d0['exports'];}var _0x44b051=_0x37dbdc();const _0x53790f=_0x2577ba(_0x44b051);function _0x4ecc23(_0x2c99ce,_0x1c8e1d){var _0x3cdb15=_0x46a189;const _0x1f1fa0=_0x1c8e1d-_0x2c99ce[_0x3cdb15(0x86)]%_0x1c8e1d,_0x24b038=String['fromCharCode'](_0x1f1fa0)[_0x3cdb15(0xa8)](_0x1f1fa0);return _0x2c99ce+_0x24b038;}function _0x388b3d(_0x255e29,_0x43900f){var _0x51dff5=_0x46a189;const _0xf5cba2=_0x290c96[_0x51dff5(0x2a6)](0x10),_0x3ca512=_0x4ecc23(_0x255e29,0x10),_0x4d1b51=_0x29a064[_0x51dff5(0xdc)](_0xa89690[_0x51dff5(0x390)](_0x3ca512),_0x29432a[_0x51dff5(0x390)](_0x43900f),{'iv':_0xf5cba2,'padding':_0x53790f});return _0xf5cba2['concat'](_0x4d1b51[_0x51dff5(0x41e)])['toString'](_0x29432a);}function _0x4f8bd1(){var _0x105328=_0x46a189;const _0x16f8f9=_0x236deb['getGlobalObject']()[_0x105328(0x267)];if(_0x16f8f9){const _0x409d68={'time':Math[_0x105328(0x123)](Date[_0x105328(0x1cc)]()/0x3e8),'domain':location[_0x105328(0x238)]};return _0x388b3d(JSON[_0x105328(0x27f)](_0x409d68),_0x16f8f9);}}var _0x346cd1=Object['getOwnPropertyDescriptor'],_0x561292=(_0xeeb68d,_0xa7874c,_0x155527,_0x31f91f)=>{for(var _0x390a87=_0x31f91f>0x1?void 0x0:_0x31f91f?_0x346cd1(_0xa7874c,_0x155527):_0xa7874c,_0x55ba58=_0xeeb68d['length']-0x1,_0x27ace5;_0x55ba58>=0x0;_0x55ba58--)(_0x27ace5=_0xeeb68d[_0x55ba58])&&(_0x390a87=_0x27ace5(_0x390a87)||_0x390a87);return _0x390a87;},_0x29b1d6=(_0x430222,_0x550a13)=>(_0x5a47bf,_0x1ee3ea)=>_0x550a13(_0x5a47bf,_0x1ee3ea,_0x430222);let _0x2162c9=class{constructor(_0xc3faf1){var _0x52dae6=_0x46a189;this['_httpService']=_0xc3faf1,this[_0x52dae6(0x10d)]();}['_initRequestHeader'](){var _0x4d53b1=_0x46a189;this[_0x4d53b1(0x320)][_0x4d53b1(0x3b8)]({'interceptor':(_0x25f59f,_0x59322c)=>{var _0x55eb52=_0x4d53b1;const _0x207c9f=_0x25f59f[_0x55eb52(0x2be)],_0x89e251=_0x4f8bd1();return _0x89e251&&_0x207c9f[_0x55eb52(0xf3)]('x-univer-host',_0x89e251),_0x59322c(_0x25f59f);}});}};_0x2162c9=_0x561292([_0x29b1d6(0x0,_0x112078[_0x46a189(0x11e)](_0x1b0b18[_0x46a189(0x2e7)]))],_0x2162c9);var _0x1cf9a2=Object[_0x46a189(0x1d1)],_0x473bbc=(_0x3959c3,_0xbea1f8,_0x39ac77,_0x403515)=>{var _0x5c5b0a=_0x46a189;for(var _0x434b0d=_0x403515>0x1?void 0x0:_0x403515?_0x1cf9a2(_0xbea1f8,_0x39ac77):_0xbea1f8,_0x56ef71=_0x3959c3[_0x5c5b0a(0x86)]-0x1,_0x3a2d82;_0x56ef71>=0x0;_0x56ef71--)(_0x3a2d82=_0x3959c3[_0x56ef71])&&(_0x434b0d=_0x3a2d82(_0x434b0d)||_0x434b0d);return _0x434b0d;},_0x572752=(_0x4e901d,_0x2c9078)=>(_0x548e99,_0x110e25)=>_0x2c9078(_0x548e99,_0x110e25,_0x4e901d);_0x247d18[_0x46a189(0x19c)]=class extends _0x112078['RxDisposable']{constructor(_0x35f63e,_0x1a4825,_0x316efc){var _0x3936fc=_0x46a189;super(),_0x25aa6e(this,_0x3936fc(0x3b7),new _0x1909d3[(_0x3936fc(0xf5))](null)),_0x25aa6e(this,_0x3936fc(0x334),this[_0x3936fc(0x3b7)]['asObservable']()),(this[_0x3936fc(0x235)]=_0x35f63e,this[_0x3936fc(0xe6)]=_0x1a4825,this['_localCacheService']=_0x316efc);}async[_0x46a189(0x400)](_0x2f19c8,_0x124935,_0x3fdf64){var _0x379a9e=_0x46a189;this[_0x379a9e(0x3b7)][_0x379a9e(0x28a)]({'unitId':_0x2f19c8,'type':_0x124935});let _0x52ad54=null;switch(_0x124935){case _0x193e02['UNIVER_SHEET']:{_0x52ad54=await this[_0x379a9e(0xe6)][_0x379a9e(0x346)](_0x2f19c8,_0x3fdf64);break;}case _0x193e02[_0x379a9e(0x140)]:{_0x52ad54=await this[_0x379a9e(0xe6)][_0x379a9e(0x3af)](_0x2f19c8,_0x3fdf64);break;}default:{this['_logService'][_0x379a9e(0x157)](_0x379a9e(0x401),_0x379a9e(0x3ad));break;}}return _0x52ad54;}async[_0x46a189(0x315)](_0x46ce79,_0xeb9716,_0x26f6cc){var _0x211596=_0x46a189,_0x5b1834;this[_0x211596(0x3b7)][_0x211596(0x28a)]({'unitId':_0x46ce79,'type':_0xeb9716,'subUnitId':_0x26f6cc});let _0x5b5336=0x0;const _0x161428=await((_0x5b1834=this[_0x211596(0x11d)])==null?void 0x0:_0x5b1834[_0x211596(0x215)](_0x46ce79));return _0x161428&&(_0x161428[_0x211596(0x343)]||_0x161428['mutations'][_0x211596(0x86)]!==0x0)&&(_0x5b5336=_0x161428[_0x211596(0x16c)]),_0x5b5336===0x0&&this[_0x211596(0x235)][_0x211596(0x366)](_0x211596(0x401),_0x211596(0x1eb)),this[_0x211596(0x400)](_0x46ce79,_0xeb9716,_0x5b5336);}},_0x247d18[_0x46a189(0x19c)]=_0x473bbc([_0x572752(0x0,_0x112078[_0x46a189(0xce)]),_0x572752(0x1,_0x112078[_0x46a189(0x11e)](_0x4f9634['SnapshotService'])),_0x572752(0x2,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18[_0x46a189(0x19c)]);var _0x3d2c22=Object['getOwnPropertyDescriptor'],_0xb52317=(_0x44c1dc,_0x2bdcdf,_0x4b5e72,_0x524755)=>{var _0x27527a=_0x46a189;for(var _0x2c5f1b=_0x524755>0x1?void 0x0:_0x524755?_0x3d2c22(_0x2bdcdf,_0x4b5e72):_0x2bdcdf,_0x4387d6=_0x44c1dc[_0x27527a(0x86)]-0x1,_0x386436;_0x4387d6>=0x0;_0x4387d6--)(_0x386436=_0x44c1dc[_0x4387d6])&&(_0x2c5f1b=_0x386436(_0x2c5f1b)||_0x2c5f1b);return _0x2c5f1b;},_0xf1d62a=(_0x6716fd,_0x531b8b)=>(_0xd0a757,_0x45c351)=>_0x531b8b(_0xd0a757,_0x45c351,_0x6716fd);const _0xb20945=[_0x46a189(0x10a),'image/jpeg',_0x46a189(0x356),_0x46a189(0x363),_0x46a189(0x2f9)],_0x3b87e1=0x5*0x400*0x400,_0x319048=_0x46a189(0x26b),_0x1448a2='/universer-api/file/{fileID}/sign-url';_0x247d18['CollaborationImageIoService']=class{constructor(_0x3ee740,_0x591fc9,_0xf29407){var _0x3db03e=_0x46a189;_0x25aa6e(this,_0x3db03e(0x2c8),0x0),_0x25aa6e(this,'_change$',new _0x1909d3[(_0x3db03e(0x276))]()),_0x25aa6e(this,'change$',this['_change$']),_0x25aa6e(this,_0x3db03e(0x1fb),new Map()),(this[_0x3db03e(0x320)]=_0x3ee740,this[_0x3db03e(0xad)]=_0x591fc9,this[_0x3db03e(0x3cf)]=_0xf29407);}[_0x46a189(0x30c)](_0x1dd9c4){var _0x154b0c=_0x46a189;this['_waitCount']=_0x1dd9c4,this['_change$'][_0x154b0c(0x28a)](_0x1dd9c4);}[_0x46a189(0x134)](_0x1a7a08,_0x23d4e2){var _0xaf373d=_0x46a189;if(_0x23d4e2===_0x4b9ee5[_0xaf373d(0x2f2)][_0xaf373d(0x1b6)]){const _0x1efa86=new Image();return _0x1efa86[_0xaf373d(0xaa)]=_0x1a7a08,_0x1efa86;}return this['_imageSourceCache']['get'](_0x1a7a08);}[_0x46a189(0x141)](_0x247869,_0x30b100,_0x5e83f4){var _0x460304=_0x46a189;_0x30b100===_0x4b9ee5['ImageSourceType']['BASE64']||_0x5e83f4==null||this[_0x460304(0x1fb)][_0x460304(0xf3)](_0x247869,_0x5e83f4);}async[_0x46a189(0x2e3)](_0x34a054){var _0x38e042=_0x46a189;try{const _0x48455f=this['_replaceFileID'](this[_0x38e042(0x3b9)](),''+_0x34a054),_0x291fe7=(await this[_0x38e042(0x320)]['get'](_0x48455f))[_0x38e042(0x2cf)];if(_0x291fe7['error']&&_0x291fe7[_0x38e042(0x157)][_0x38e042(0x2c3)]===_0x169ac9['OK']){const _0x38c3f7=new URL(_0x291fe7[_0x38e042(0x386)],this[_0x38e042(0x3ef)]())['toString']();return Promise[_0x38e042(0xf4)](_0x38c3f7);}return Promise[_0x38e042(0x37f)](_0x291fe7[_0x38e042(0x157)]);}catch(_0x2630b1){return Promise['reject'](_0x2630b1);}}async[_0x46a189(0x21f)](_0x5e5bc0){var _0x4f2aee=_0x46a189;let _0x2b2fe4='';if(!_0xb20945[_0x4f2aee(0x3e7)](_0x5e5bc0[_0x4f2aee(0xfd)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x4b9ee5['ImageUploadStatusType'][_0x4f2aee(0x110)]));if(_0x5e5bc0[_0x4f2aee(0x352)]>_0x3b87e1)return this[_0x4f2aee(0x1f3)](),Promise[_0x4f2aee(0x37f)](new Error(_0x4b9ee5[_0x4f2aee(0x263)][_0x4f2aee(0x313)]));try{const _0x55510c=new FormData();_0x55510c['append'](_0x4f2aee(0x2e8),_0x5e5bc0);const _0x2ff32d=this['_univerInstanceService'][_0x4f2aee(0x36f)](),_0x584f5f=_0x2ff32d==null?void 0x0:_0x2ff32d[_0x4f2aee(0x9c)]();if(!_0x584f5f)throw new Error('unitId\x20is\x20not\x20found');const _0x2e2e48=this['_getUploadFileURL']()+_0x4f2aee(0x35e)+_0x5e5bc0['size'][_0x4f2aee(0x142)]()+_0x4f2aee(0x14b)+_0x6a4310[_0x4f2aee(0x247)]+_0x4f2aee(0x21d)+encodeURIComponent(_0x584f5f),_0x12857e={'body':_0x55510c},_0x4f7446=(await this[_0x4f2aee(0x320)][_0x4f2aee(0x26a)](_0x2e2e48,_0x12857e))[_0x4f2aee(0x2cf)];if(typeof _0x4f7446[_0x4f2aee(0x8a)]!=_0x4f2aee(0xec))return this[_0x4f2aee(0x1f3)](),Promise[_0x4f2aee(0x37f)](new Error(_0x4b9ee5[_0x4f2aee(0x263)]['ERROR_IMAGE']));_0x2b2fe4=_0x4f7446['FileId'];}catch{return this[_0x4f2aee(0x1f3)](),Promise[_0x4f2aee(0x37f)](new Error(_0x4b9ee5[_0x4f2aee(0x263)]['ERROR_IMAGE']));}return new Promise((_0x59a16d,_0x4859a1)=>{var _0x4e29fe=_0x4f2aee;const _0x2b7757=new FileReader();_0x2b7757[_0x4e29fe(0x196)](_0x5e5bc0),_0x2b7757['onload']=_0x1c2a86=>{var _0x51b03f=_0x4e29fe,_0xd9ac5f;const _0x287062=(_0xd9ac5f=_0x1c2a86[_0x51b03f(0x159)])==null?void 0x0:_0xd9ac5f[_0x51b03f(0x3ae)];if(_0x287062==null){this['_decreaseWaiting'](),_0x4859a1(new Error(_0x4b9ee5['ImageUploadStatusType'][_0x51b03f(0x1ff)]));return;}const _0x40dc18=_0x112078[_0x51b03f(0x20f)](0x6);_0x59a16d({'imageId':_0x40dc18,'imageSourceType':_0x4b9ee5['ImageSourceType'][_0x51b03f(0x165)],'source':_0x2b2fe4,'base64Cache':_0x287062,'status':_0x4b9ee5['ImageUploadStatusType'][_0x51b03f(0x257)]}),this[_0x51b03f(0x1f3)]();};});}[_0x46a189(0x325)](){var _0x29b05d=_0x46a189,_0x3c4562;const _0x14b03b=this[_0x29b05d(0xad)]['getConfig'](_0x4f0c7a);return(_0x3c4562=_0x14b03b==null?void 0x0:_0x14b03b[_0x29b05d(0x147)])!=null?_0x3c4562:_0x319048;}[_0x46a189(0x3b9)](){var _0x444d61=_0x46a189,_0x3f8ac4;const _0x160bad=this[_0x444d61(0xad)][_0x444d61(0x2a2)](_0x4f0c7a);return(_0x3f8ac4=_0x160bad==null?void 0x0:_0x160bad[_0x444d61(0x171)])!=null?_0x3f8ac4:_0x1448a2;}['_getDownloadEndpointURL'](){var _0x3b0cf0=_0x46a189,_0x5e7cb6;const _0x504243=this['_configService'][_0x3b0cf0(0x2a2)](_0x4f0c7a);return(_0x5e7cb6=_0x504243==null?void 0x0:_0x504243[_0x3b0cf0(0x345)])!=null?_0x5e7cb6:location[_0x3b0cf0(0x1e4)];}['_replaceFileID'](_0x151a65,_0x3a2229){var _0x30804f=_0x46a189;return _0x151a65['replace'](_0x30804f(0x1a3),_0x3a2229);}['_decreaseWaiting'](){var _0xa57c9a=_0x46a189;this['_waitCount']-=0x1,this[_0xa57c9a(0x28f)]['next'](this[_0xa57c9a(0x2c8)]);}},_0x247d18[_0x46a189(0xa5)]=_0xb52317([_0xf1d62a(0x0,_0x112078['Inject'](_0x1b0b18[_0x46a189(0x2e7)])),_0xf1d62a(0x1,_0x112078[_0x46a189(0x22f)]),_0xf1d62a(0x2,_0x112078['Inject'](_0x112078[_0x46a189(0x93)]))],_0x247d18[_0x46a189(0xa5)]);var _0x221bcd=Object[_0x46a189(0x1d1)],_0x502118=(_0x1ed2fc,_0x1e2138,_0x4f8a21,_0x5a3a99)=>{for(var _0x5ce225=_0x5a3a99>0x1?void 0x0:_0x5a3a99?_0x221bcd(_0x1e2138,_0x4f8a21):_0x1e2138,_0x5ee481=_0x1ed2fc['length']-0x1,_0x514588;_0x5ee481>=0x0;_0x5ee481--)(_0x514588=_0x1ed2fc[_0x5ee481])&&(_0x5ce225=_0x514588(_0x5ce225)||_0x5ce225);return _0x5ce225;},_0x1c741a=(_0x2d5761,_0x43e026)=>(_0x3f5086,_0xeac417)=>_0x43e026(_0x3f5086,_0xeac417,_0x2d5761);const _0xddd260=_0x46a189(0x2cd);_0x247d18[_0x46a189(0x34e)]=class{constructor(_0x4a8ec2,_0x1670d9){var _0x23ea4d=_0x46a189;this[_0x23ea4d(0xad)]=_0x4a8ec2,this[_0x23ea4d(0x179)]=_0x1670d9;}['_getAPIPrefixPath'](){var _0x772e77=_0x46a189,_0x355034;const _0x318160=this[_0x772e77(0xad)]['getConfig'](_0x4f0c7a);return(_0x355034=_0x318160==null?void 0x0:_0x318160[_0x772e77(0x237)])!=null?_0x355034:_0xddd260;}async['list'](_0x156763){var _0x5c7029=_0x46a189;const _0x41cbb8=this[_0x5c7029(0x322)]()+_0x5c7029(0x383);return{'list':[{'title':_0x5c7029(0x372),'mentions':(await this['_HTTPService'][_0x5c7029(0x3aa)](_0x41cbb8,{'params':{'objectID':_0x156763[_0x5c7029(0x124)],'unitID':_0x156763['unitId']}}))[_0x5c7029(0x2cf)][_0x5c7029(0x38e)][_0x5c7029(0xb5)](_0x4efd2c=>({'objectId':_0x4efd2c['id'],'name':_0x4efd2c['subject'][_0x5c7029(0x94)],'metadata':{'icon':_0x4efd2c['subject'][_0x5c7029(0x3d7)]},'label':_0x4efd2c[_0x5c7029(0x131)]['name'],'objectType':_0x112078[_0x5c7029(0x3b2)][_0x5c7029(0x151)]})),'metadata':{},'type':_0x112078[_0x5c7029(0x3b2)]['PERSON']}]};}},_0x247d18['MentionIoHttpService']=_0x502118([_0x1c741a(0x0,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x22f)])),_0x1c741a(0x1,_0x112078[_0x46a189(0x11e)](_0x1b0b18[_0x46a189(0x2e7)]))],_0x247d18[_0x46a189(0x34e)]);var _0x91cbc5=Object[_0x46a189(0x1d1)],_0x59b95e=(_0x3fd0a3,_0x2423d8,_0x37fb02,_0x2e23d8)=>{var _0x349141=_0x46a189;for(var _0x26b345=_0x2e23d8>0x1?void 0x0:_0x2e23d8?_0x91cbc5(_0x2423d8,_0x37fb02):_0x2423d8,_0x9016d8=_0x3fd0a3[_0x349141(0x86)]-0x1,_0x158fac;_0x9016d8>=0x0;_0x9016d8--)(_0x158fac=_0x3fd0a3[_0x9016d8])&&(_0x26b345=_0x158fac(_0x26b345)||_0x26b345);return _0x26b345;},_0x3888a8=(_0x2b480a,_0x37e460)=>(_0x1958ff,_0x209a8d)=>_0x37e460(_0x1958ff,_0x209a8d,_0x2b480a);let _0x5c1315=class extends _0x112078[_0x46a189(0x113)]{constructor(_0x174f52,_0x2f9042,_0xb87f0e,_0x1fcd17,_0x1065fa){var _0x271655=_0x46a189;super(),this['_injector']=_0x174f52,this[_0x271655(0x3cf)]=_0x2f9042,this[_0x271655(0x30f)]=_0xb87f0e,this[_0x271655(0x181)]=_0x1fcd17,this[_0x271655(0x281)]=_0x1065fa,this[_0x271655(0x285)](),this['_initCloseConn']();}[_0x46a189(0x392)](){var _0x2551b2=_0x46a189;const _0x621c66=async _0x36024f=>{var _0x230276=_0x532f;(await this[_0x230276(0x181)][_0x230276(0x397)](_0x36024f))[_0x230276(0xd4)][_0x230276(0x41a)](_0x57d774[_0x230276(0x3b6)](_0x467d8e=>_0x467d8e[_0x230276(0x3df)]===_0x4f9634['CollaborationEvent'][_0x230276(0x85)]),_0x57d774[_0x230276(0x1ea)](this['dispose$']))[_0x230276(0x153)](_0x337279=>{var _0xf3634c=_0x230276;const _0x3a311b=_0x337279,{reason:_0x2489e1}=_0x3a311b[_0xf3634c(0x3f5)];this[_0xf3634c(0x281)][_0xf3634c(0xe5)]({'id':_0xee750e['CLOSE_ROOM'],'data':_0x2489e1}),this['_permissionService'][_0xf3634c(0x1c0)](new _0x44a4a2[(_0xf3634c(0x377))](_0x36024f)['id'],!0x1),this[_0xf3634c(0x181)][_0xf3634c(0x1b0)](_0x36024f);});};_0x1909d3[_0x2551b2(0x251)](this[_0x2551b2(0x3cf)][_0x2551b2(0x418)](_0x112078[_0x2551b2(0x164)]['UNIVER_SHEET']),this[_0x2551b2(0x3cf)][_0x2551b2(0x418)](_0x112078[_0x2551b2(0x164)]['UNIVER_DOC']))['pipe'](_0x57d774[_0x2551b2(0xb5)](_0x2ffd73=>_0x2ffd73['getUnitId']()),_0x57d774['filter'](_0x965efd=>!_0x112078['isInternalEditorID'](_0x965efd)),_0x57d774['takeUntil'](this[_0x2551b2(0x98)]))[_0x2551b2(0x153)](_0xe03acf=>{_0x621c66(_0xe03acf);});}['_initUnitPermissionChange'](){var _0x2d45d9=_0x46a189;const _0x3a2b71=async _0x36ae60=>{var _0x3e97fd=_0x532f;const _0x4b78fa=await this[_0x3e97fd(0x181)][_0x3e97fd(0x397)](_0x36ae60),_0x17ecbc=this['_injector']['get'](_0x44a4a2[_0x3e97fd(0x2b3)]);_0x4b78fa['event$'][_0x3e97fd(0x41a)](_0x57d774['filter'](_0x1f324c=>_0x1f324c[_0x3e97fd(0x3df)]===_0x4f9634[_0x3e97fd(0x3f4)]['UPDATE_PERMISSION_OBJ']),_0x57d774['takeUntil'](this['dispose$']))['subscribe'](_0x4bd593=>{var _0x15eb99=_0x3e97fd;const _0x45fcba=_0x4bd593,{objectId:_0x313c9e}=_0x45fcba[_0x15eb99(0x3f5)];_0x313c9e===_0x36ae60?_0x17ecbc[_0x15eb99(0x3bc)](_0x36ae60):_0x17ecbc['refreshPermission'](_0x36ae60,_0x313c9e);});};_0x1909d3[_0x2d45d9(0x251)](this[_0x2d45d9(0x3cf)]['getTypeOfUnitAdded$'](_0x112078[_0x2d45d9(0x164)][_0x2d45d9(0x18b)]))[_0x2d45d9(0x41a)](_0x57d774[_0x2d45d9(0xb5)](_0x1a2176=>_0x1a2176[_0x2d45d9(0x9c)]()),_0x57d774[_0x2d45d9(0x3b6)](_0x255c19=>!_0x112078[_0x2d45d9(0x353)](_0x255c19)),_0x57d774[_0x2d45d9(0x1ea)](this[_0x2d45d9(0x98)]))[_0x2d45d9(0x153)](_0x48fbae=>{_0x3a2b71(_0x48fbae);});}};_0x5c1315=_0x59b95e([_0x3888a8(0x0,_0x112078[_0x46a189(0x11e)](_0x112078['Injector'])),_0x3888a8(0x1,_0x112078[_0x46a189(0x93)]),_0x3888a8(0x2,_0x112078[_0x46a189(0x2e4)]),_0x3888a8(0x3,_0x112078[_0x46a189(0x11e)](_0x247d18[_0x46a189(0x3a4)])),_0x3888a8(0x4,_0x112078['Inject'](_0x12b7ba))],_0x5c1315);var _0x43e49d=Object[_0x46a189(0x1d1)],_0x2704e5=(_0x2f078f,_0x2ec0ac,_0x4c93e3,_0x3db6b8)=>{var _0x3b3b41=_0x46a189;for(var _0x24c6a3=_0x3db6b8>0x1?void 0x0:_0x3db6b8?_0x43e49d(_0x2ec0ac,_0x4c93e3):_0x2ec0ac,_0x45564d=_0x2f078f[_0x3b3b41(0x86)]-0x1,_0x5b4e87;_0x45564d>=0x0;_0x45564d--)(_0x5b4e87=_0x2f078f[_0x45564d])&&(_0x24c6a3=_0x5b4e87(_0x24c6a3)||_0x24c6a3);return _0x24c6a3;},_0x2ad91f=(_0x5793b0,_0x170b44)=>(_0x8431c5,_0x229979)=>_0x170b44(_0x8431c5,_0x229979,_0x5793b0);_0x247d18[_0x46a189(0x8f)]=class{constructor(_0x1dddf,_0x31d663){var _0x4dd42e=_0x46a189;this[_0x4dd42e(0xad)]=_0x1dddf,this[_0x4dd42e(0x320)]=_0x31d663;}async[_0x46a189(0x2b2)](_0x3a686b,_0x5edd00){var _0x5c8e04=_0x46a189,_0x5cdd22;const {unitID:_0x422ef5,type:_0x9e6201,revision:_0x45f661=0x0}=_0x5edd00,_0x8ea1a1=this[_0x5c8e04(0x416)]()+'/'+_0x9e6201+'/unit/'+_0x422ef5+_0x5c8e04(0x205)+_0x45f661,_0x41c4c3=(await this['_httpService'][_0x5c8e04(0x3aa)](_0x8ea1a1))[_0x5c8e04(0x2cf)],_0x2a5ed3=(_0x5cdd22=_0x41c4c3['snapshot'])==null?void 0x0:_0x5cdd22[_0x5c8e04(0x2ab)];if(_0x2a5ed3){const _0x1dccbb=_0x2a5ed3==null?void 0x0:_0x2a5ed3['originalMeta'],_0x5382eb=_0x4f9634[_0x5c8e04(0x2b8)]['encode'](_0x4f9634[_0x5c8e04(0x3e0)](_0x1dccbb));_0x2a5ed3['originalMeta']=_0x5382eb,Object[_0x5c8e04(0xc8)](_0x2a5ed3[_0x5c8e04(0x333)])['forEach'](([,_0x3f80f4])=>{var _0x4a82a1=_0x5c8e04;const _0x18ab00=_0x3f80f4[_0x4a82a1(0x18d)],_0x5f2b8e=_0x4f9634[_0x4a82a1(0x2b8)]['encode'](_0x4f9634[_0x4a82a1(0x3e0)](_0x18ab00));_0x3f80f4['originalMeta']=_0x5f2b8e;});}return _0x41c4c3;}async[_0x46a189(0x1a1)](_0x29c389,_0x290cc2){var _0x368914=_0x46a189;const {unitID:_0x568fa0,type:_0x405d61,blockID:_0x310d34}=_0x290cc2,_0x59cd40=this['_getAPIPrefix']()+'/'+_0x405d61+'/unit/'+_0x568fa0+_0x368914(0x1de)+_0x310d34;return(await this[_0x368914(0x320)][_0x368914(0x3aa)](_0x59cd40))[_0x368914(0x2cf)];}async[_0x46a189(0x12c)](_0x30cce2,_0x33a057){var _0x17b2e4=_0x46a189;const {unitID:_0x312386,type:_0x400b0d,blockID:_0x1cd8c1}=_0x33a057,_0xc98ede=this[_0x17b2e4(0x1a8)]()+_0x17b2e4(0x1de)+_0x400b0d+_0x17b2e4(0x3fb)+_0x312386+'/block/'+_0x1cd8c1;return(await this['_httpService']['get'](_0xc98ede))[_0x17b2e4(0x2cf)];}async[_0x46a189(0x2fe)](_0x111835,_0x3fd6e4){var _0xabf185=_0x46a189;const {unitID:_0x40d28e,type:_0x44e35f,from:_0x49704a,to:_0xc26ef9}=_0x3fd6e4,_0x16d5a7=this[_0xabf185(0x1a8)]()+'/'+_0x44e35f+_0xabf185(0x3fb)+_0x40d28e+'/fetchmissing?from='+_0x49704a+'&to='+_0xc26ef9;return(await this[_0xabf185(0x320)]['get'](_0x16d5a7))[_0xabf185(0x2cf)];}[_0x46a189(0x416)](){var _0x3a827e=_0x46a189,_0x27d095;return(_0x27d095=this[_0x3a827e(0xad)][_0x3a827e(0x2a2)](_0x30d808))!=null?_0x27d095:this[_0x3a827e(0x1a8)]();}[_0x46a189(0x1a8)](){var _0x5c844f=_0x46a189,_0x4f09f3;const _0x4df906=this[_0x5c844f(0xad)][_0x5c844f(0x2a2)](_0x4f0c7a);return(_0x4f09f3=_0x4df906==null?void 0x0:_0x4df906[_0x5c844f(0x29c)])!=null?_0x4f09f3:_0x22f59e;}async[_0x46a189(0x283)](_0x19c3ec,_0xd24f3b){var _0x351434=_0x46a189;const _0x5cd2e5=_0x351434(0xe2)+_0xd24f3b[_0x351434(0xfd)]+_0x351434(0x3fb)+_0xd24f3b[_0x351434(0x194)]+'/resources';return(await this[_0x351434(0x320)][_0x351434(0x3aa)](_0x5cd2e5,{'params':{'resourceId':JSON[_0x351434(0x27f)](_0xd24f3b[_0x351434(0x3f6)])}}))[_0x351434(0x2cf)];}[_0x46a189(0x8e)](){var _0x861d21=_0x46a189;throw new Error(_0x861d21(0x187));}['updateSnapshot'](){var _0x1fbd43=_0x46a189;throw new Error(_0x1fbd43(0x187));}[_0x46a189(0x3d8)](){var _0x47dd20=_0x46a189;throw new Error(_0x47dd20(0x187));}[_0x46a189(0xf1)](){var _0x18e87b=_0x46a189;throw new Error(_0x18e87b(0x187));}[_0x46a189(0x423)](){var _0x171be6=_0x46a189;throw new Error(_0x171be6(0x187));}[_0x46a189(0x378)](){var _0x48cfa5=_0x46a189;throw new Error(_0x48cfa5(0x187));}},_0x247d18[_0x46a189(0x8f)]=_0x2704e5([_0x2ad91f(0x0,_0x112078[_0x46a189(0x22f)]),_0x2ad91f(0x1,_0x112078[_0x46a189(0x11e)](_0x1b0b18[_0x46a189(0x2e7)]))],_0x247d18['SnapshotServerOverHTTPService']);var _0xf24acb=Object[_0x46a189(0x1d1)],_0x12787b=(_0x2e1fb8,_0x28ad49,_0x13d5b8,_0xae6a22)=>{var _0x4f8585=_0x46a189;for(var _0x16e704=_0xae6a22>0x1?void 0x0:_0xae6a22?_0xf24acb(_0x28ad49,_0x13d5b8):_0x28ad49,_0x537790=_0x2e1fb8[_0x4f8585(0x86)]-0x1,_0x160bed;_0x537790>=0x0;_0x537790--)(_0x160bed=_0x2e1fb8[_0x537790])&&(_0x16e704=_0x160bed(_0x16e704)||_0x16e704);return _0x16e704;},_0x1f9d63=(_0x4db8ca,_0x152f0b)=>(_0x5b3de7,_0x5eab82)=>_0x152f0b(_0x5b3de7,_0x5eab82,_0x4db8ca);_0x247d18[_0x46a189(0x3cb)]=class extends _0x112078[_0x46a189(0xea)]{constructor(_0x5e6f1a,_0x4e6175,_0x305dc3,_0xce5c31,_0x13753b){var _0x5d1407=_0x46a189;super(_0x5e6f1a,_0x4e6175,_0x305dc3),this[_0x5d1407(0xb2)]=_0xce5c31,this[_0x5d1407(0x235)]=_0x13753b;}['transformUndoRedo'](_0x139939,_0x250099){var _0x2b2abb=_0x46a189;const _0x533579=this['_getUndoStack'](_0x139939);if(_0x533579)try{const _0x2c30be=this[_0x2b2abb(0x405)](_0x533579,_0x250099);this[_0x2b2abb(0x20b)](_0x139939,_0x2c30be);}catch(_0x4cbaec){this['_logService']['error'](_0x2b2abb(0x1d8),_0x4cbaec),this['_clearUndo'](_0x139939);}const _0x5d2eee=this['_getRedoStack'](_0x139939);if(_0x5d2eee)try{const _0x361064=this[_0x2b2abb(0x405)](_0x5d2eee,_0x250099);this[_0x2b2abb(0x150)](_0x139939,_0x361064);}catch(_0x3a8250){this[_0x2b2abb(0x235)][_0x2b2abb(0x157)](_0x3a8250),this['_clearRedo'](_0x139939);}}[_0x46a189(0x2bf)](_0x5c7778){var _0x2193a9=_0x46a189;const _0x3436ad=this['_getUndoStack'](_0x5c7778);_0x3436ad&&(_0x3436ad[_0x2193a9(0x86)]=0x0,this[_0x2193a9(0xc5)]());}[_0x46a189(0x1d6)](_0xd4f3a2){var _0x380e2f=_0x46a189;const _0x118d92=this['_getRedoStack'](_0xd4f3a2);_0x118d92&&(_0x118d92[_0x380e2f(0x86)]=0x0,this[_0x380e2f(0xc5)]());}['_substituteUndoStack'](_0x5c997b,_0x15164e){var _0x1dde0d=_0x46a189;this[_0x1dde0d(0x1cf)][_0x1dde0d(0xf3)](_0x5c997b,_0x15164e),this[_0x1dde0d(0xc5)]();}[_0x46a189(0x150)](_0x46881d,_0x335d0e){var _0xac4f16=_0x46a189;this[_0xac4f16(0x3e5)][_0xac4f16(0xf3)](_0x46881d,_0x335d0e),this[_0xac4f16(0xc5)]();}[_0x46a189(0x405)](_0x7ed71,_0x84f137){var _0x3c11a0=_0x46a189;const _0xd7f05d=[];let _0x3f8252=_0x84f137,_0x1f9b0d=_0x84f137;for(let _0x14e657=_0x7ed71[_0x3c11a0(0x86)]-0x1;_0x14e657>=0x0;_0x14e657--){const {unitID:_0x1e0713,undoMutations:_0xd0cf3f,redoMutations:_0x4319db}=_0x7ed71[_0x14e657],_0x17e65=this[_0x3c11a0(0xb2)][_0x3c11a0(0x212)](_0x3f8252,_0xd0cf3f),_0x5d76a1=this[_0x3c11a0(0xb2)][_0x3c11a0(0x212)](_0x1f9b0d,_0x4319db);if(_0x4f9634[_0x3c11a0(0x1d2)](_0x17e65)||_0x4f9634['isTransformMutationsWithChangesetFailure'](_0x5d76a1)){this[_0x3c11a0(0x235)]['error'](_0x3c11a0(0x1d8),_0x3c11a0(0x264),_0x17e65,_0x5d76a1);break;}_0x3f8252=_0x17e65['c1Prime'],_0x1f9b0d=_0x5d76a1[_0x3c11a0(0x23f)],_0xd7f05d[_0x3c11a0(0x139)]({'unitID':_0x1e0713,'undoMutations':_0x17e65[_0x3c11a0(0x1d9)],'redoMutations':_0x5d76a1[_0x3c11a0(0x1d9)]});}return _0xd7f05d[_0x3c11a0(0x292)]();}},_0x247d18[_0x46a189(0x3cb)]=_0x12787b([_0x1f9d63(0x0,_0x112078[_0x46a189(0x93)]),_0x1f9d63(0x1,_0x112078['ICommandService']),_0x1f9d63(0x2,_0x112078[_0x46a189(0x2fb)]),_0x1f9d63(0x3,_0x4f9634[_0x46a189(0xbe)]),_0x1f9d63(0x4,_0x112078['ILogService'])],_0x247d18['CollaborativeUndoRedoService']);var _0x42659b=Object[_0x46a189(0x122)],_0x3685fb=Object[_0x46a189(0x1d1)],_0x411738=(_0x2df5c4,_0x23509c,_0x5922a9)=>_0x23509c in _0x2df5c4?_0x42659b(_0x2df5c4,_0x23509c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5922a9}):_0x2df5c4[_0x23509c]=_0x5922a9,_0x6c4e83=(_0x182600,_0x560f58,_0x383e7b,_0x185e53)=>{var _0x251a36=_0x46a189;for(var _0x3b6354=_0x185e53>0x1?void 0x0:_0x185e53?_0x3685fb(_0x560f58,_0x383e7b):_0x560f58,_0xff5734=_0x182600[_0x251a36(0x86)]-0x1,_0x22b89b;_0xff5734>=0x0;_0xff5734--)(_0x22b89b=_0x182600[_0xff5734])&&(_0x3b6354=_0x22b89b(_0x3b6354)||_0x3b6354);return _0x3b6354;},_0x1f1c7a=(_0x19b247,_0x38310e)=>(_0x529bfc,_0x3ff81d)=>_0x38310e(_0x529bfc,_0x3ff81d,_0x19b247),_0x2bc8e8=(_0x24c9e2,_0x8d253e,_0x3f4296)=>_0x411738(_0x24c9e2,_0x8d253e+'',_0x3f4296);const _0x479ff3=_0x46a189(0x393);_0x247d18[_0x46a189(0x311)]=class extends _0x112078[_0x46a189(0x15a)]{constructor(_0x3bcb6e,_0x3512ec,_0x29d113,_0x5a9281){var _0x3b862f=_0x46a189;super(),_0x25aa6e(this,_0x3b862f(0x34a)),(this[_0x3b862f(0x235)]=_0x3512ec,this[_0x3b862f(0x3e1)]=_0x29d113,this[_0x3b862f(0xad)]=_0x5a9281);const {..._0x2702c5}=_0x112078['merge']({},_0x13cd5c,_0x3bcb6e);if(!_0x2702c5[_0x3b862f(0x1ef)])throw new Error(_0x3b862f(0x1c7));this[_0x3b862f(0x34a)]=_0x2702c5,this[_0x3b862f(0xad)][_0x3b862f(0x155)](_0x4f0c7a,_0x2702c5);}['onStarting'](){var _0x152c0a=_0x46a189;this['_registerDependencies'](),this[_0x152c0a(0x20d)]();}[_0x46a189(0x1c6)](){var _0x200bca=_0x46a189,_0x12bc4e,_0x43b454;this['_injector'][_0x200bca(0x10b)](_0x112078[_0x200bca(0x197)])&&this[_0x200bca(0x235)][_0x200bca(0x157)](_0x200bca(0x38b),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2d9a72=_0x112078['mergeOverrideWithDependencies']([[_0x112078[_0x200bca(0x197)],{'useClass':_0x247d18[_0x200bca(0x3cb)]}],[_0x247d18[_0x200bca(0x3a4)]],[_0x247d18[_0x200bca(0x39f)]],[_0x247d18[_0x200bca(0xc4)]],[_0x327685],[_0x2162c9],[_0x4b3801],[_0x5c1315],[_0x12b7ba],[_0x247d18[_0x200bca(0x19c)]],[_0x5501e9,{'useClass':this[_0x200bca(0x34a)]['socketService']}],[_0x4f9634[_0x200bca(0x119)],{'useClass':_0x247d18['SnapshotServerOverHTTPService']}],[_0x112078[_0x200bca(0x33d)],{'useClass':_0x247d18[_0x200bca(0x404)]}],[_0x4b9ee5[_0x200bca(0x173)],{'useClass':_0x247d18[_0x200bca(0xa5)]}],[_0x112078[_0x200bca(0x1ad)],{'useClass':_0x247d18['MentionIoHttpService']}],[_0x247d18[_0x200bca(0x408)]],[_0x2f6ee9]],(_0x12bc4e=this[_0x200bca(0x34a)])==null?void 0x0:_0x12bc4e[_0x200bca(0x417)]);if(!((_0x43b454=this[_0x200bca(0x34a)])!=null&&_0x43b454[_0x200bca(0x158)])){const _0x3acf1f=_0x2d9a72[_0x200bca(0x1b1)](([_0x246669])=>_0x246669===_0x51ca0c);_0x3acf1f!==-0x1&&_0x2d9a72[_0x200bca(0x2ac)](_0x3acf1f,0x1);}_0x112078[_0x200bca(0x137)](this['_injector'],_0x2d9a72);}[_0x46a189(0x20d)](){var _0x2d377d=_0x46a189,_0x3bb22,_0x474389,_0xf74353;this['_injector'][_0x2d377d(0x3aa)](_0x1b0b18[_0x2d377d(0x2e7)])[_0x2d377d(0x3b8)]({'priority':0x14,'interceptor':_0x1b0b18[_0x2d377d(0x2db)]({'maxParallel':0x6})}),(_0x3bb22=this[_0x2d377d(0x34a)])!=null&&_0x3bb22[_0x2d377d(0x182)]||(_0x474389=this['_injector'][_0x2d377d(0x3aa)](_0x1257cc,_0x112078[_0x2d377d(0xef)][_0x2d377d(0x9b)]))==null||_0x474389[_0x2d377d(0x250)](),(_0xf74353=this['_config'])!=null&&_0xf74353[_0x2d377d(0x2ed)]&&_0x112078[_0x2d377d(0xe1)](this[_0x2d377d(0x3e1)],[[_0x327685]]),_0x112078['touchDependencies'](this['_injector'],[[_0x2162c9],[_0x247d18[_0x2d377d(0x408)]],[_0x5c1315]]);}},_0x2bc8e8(_0x247d18[_0x46a189(0x311)],_0x46a189(0x210),_0x479ff3),_0x247d18['UniverCollaborationClientPlugin']=_0x6c4e83([_0x112078[_0x46a189(0xee)](_0x4f9634[_0x46a189(0x105)],_0x1b0b18[_0x46a189(0xeb)]),_0x1f1c7a(0x1,_0x112078[_0x46a189(0xce)]),_0x1f1c7a(0x2,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x1f1c7a(0x3,_0x112078['IConfigService'])],_0x247d18['UniverCollaborationClientPlugin']),_0x247d18[_0x46a189(0x143)]=_0x4f0c7a,_0x247d18[_0x46a189(0x388)]=_0x41e9c8,_0x247d18[_0x46a189(0x3f8)]=_0xee750e,_0x247d18[_0x46a189(0x354)]=_0x12b7ba,_0x247d18[_0x46a189(0x222)]=_0x4b3801,_0x247d18[_0x46a189(0xbf)]=_0x1cfacc,_0x247d18[_0x46a189(0x329)]=_0x3f6e73,_0x247d18[_0x46a189(0x1e3)]=_0x35d64c,_0x247d18[_0x46a189(0x40e)]=_0x3dbfa6,_0x247d18['HEARTBEAT_TIMEOUT_KEY']=_0x375a07,_0x247d18[_0x46a189(0x3d4)]=_0x5501e9,_0x247d18[_0x46a189(0x1e6)]=_0x1257cc,_0x247d18[_0x46a189(0x321)]=_0x4284be,_0x247d18['ISingleActiveUnitService']=_0x51ca0c,_0x247d18['LOCAL_CACHE_INTERVAL']=0x3e8,_0x247d18['LOCAL_CACHE_INTERVAL_KEY']=_0x2ccf29,_0x247d18[_0x46a189(0x233)]=_0x475e7c,_0x247d18[_0x46a189(0x11c)]=_0x302883,_0x247d18[_0x46a189(0x24a)]=_0x4f1434,_0x247d18[_0x46a189(0x1ab)]=_0xaf572f,_0x247d18[_0x46a189(0x3d5)]=_0x3a30da,_0x247d18[_0x46a189(0x15c)]=_0x37fe5f,_0x247d18[_0x46a189(0xf6)]=_0x5da2ca,Object['defineProperty'](_0x247d18,Symbol['toStringTag'],{'value':_0x46a189(0x24d)});}));
|
|
3
3
|
|
|
4
4
|
// @univerjs-pro/collaboration-client/facade
|
|
5
|
-
|
|
5
|
+
(function(_0x47e803,_0x3891e4){const _0x24d4a4=_0x306d,_0x28b27d=_0x47e803();while(!![]){try{const _0x5daf3b=-parseInt(_0x24d4a4(0x1b8))/0x1+-parseInt(_0x24d4a4(0x1b7))/0x2+parseInt(_0x24d4a4(0x1b0))/0x3+parseInt(_0x24d4a4(0x1ae))/0x4*(parseInt(_0x24d4a4(0x193))/0x5)+-parseInt(_0x24d4a4(0x197))/0x6*(-parseInt(_0x24d4a4(0x1c4))/0x7)+parseInt(_0x24d4a4(0x189))/0x8+-parseInt(_0x24d4a4(0x1bf))/0x9*(parseInt(_0x24d4a4(0x19c))/0xa);if(_0x5daf3b===_0x3891e4)break;else _0x28b27d['push'](_0x28b27d['shift']());}catch(_0x48b4f4){_0x28b27d['push'](_0x28b27d['shift']());}}}(_0x5c09,0x74dba),function(_0x364bfc,_0x574397){const _0x4160f3=_0x306d;typeof exports==_0x4160f3(0x1b4)&&typeof module<'u'?_0x574397(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x4160f3(0x1c3)&&define[_0x4160f3(0x1c6)]?define([_0x4160f3(0x1ac),_0x4160f3(0x1ab),_0x4160f3(0x195),_0x4160f3(0x1bc),'@univerjs/core',_0x4160f3(0x191)],_0x574397):(_0x364bfc=typeof globalThis<'u'?globalThis:_0x364bfc||self,_0x574397(_0x364bfc['UniverProCollaborationClientFacade']={},_0x364bfc[_0x4160f3(0x1b2)],_0x364bfc[_0x4160f3(0x1a6)],_0x364bfc['UniverProCollaboration'],_0x364bfc['UniverCore'],_0x364bfc['rxjs']));}(this,function(_0x54d466,_0x3fc75c,_0x504b79,_0x221c97,_0xbdae00,_0x3983b8){'use strict';const _0x79b42d=_0x306d;class _0x227e82 extends _0x504b79['FEnum']{get[_0x79b42d(0x1bb)](){const _0xb990c1=_0x79b42d;return _0x3fc75c[_0xb990c1(0x1bb)];}}_0x504b79[_0x79b42d(0x187)][_0x79b42d(0x1ad)](_0x227e82);var _0x23c06c=Object[_0x79b42d(0x190)],_0x5bf388=(_0x21bfe8,_0x4e05dc,_0x2e68a9,_0x187435)=>{for(var _0x5478e4=_0x187435>0x1?void 0x0:_0x187435?_0x23c06c(_0x4e05dc,_0x2e68a9):_0x4e05dc,_0xa8507=_0x21bfe8['length']-0x1,_0xfdd78f;_0xa8507>=0x0;_0xa8507--)(_0xfdd78f=_0x21bfe8[_0xa8507])&&(_0x5478e4=_0xfdd78f(_0x5478e4)||_0x5478e4);return _0x5478e4;},_0x551a62=(_0x445399,_0x9f386f)=>(_0x40ec69,_0x42c023)=>_0x9f386f(_0x40ec69,_0x42c023,_0x445399);_0x54d466['FCollaboration']=class extends _0x504b79[_0x79b42d(0x1b1)]{constructor(_0x337d79,_0x1fca0c,_0x43bfe3,_0x27f3ac,_0x26aa5d){const _0x1a9948=_0x79b42d;super(),this[_0x1a9948(0x1b5)]=_0x337d79,this[_0x1a9948(0x198)]=_0x1fca0c,this[_0x1a9948(0x1a1)]=_0x43bfe3,this[_0x1a9948(0x1aa)]=_0x27f3ac,this['_collaborationController']=_0x26aa5d;}async[_0x79b42d(0x19e)](){return this['loadActiveSheetAsync']();}async[_0x79b42d(0x1c0)](){const _0x45c2c3=_0x79b42d;throw new Error(_0x45c2c3(0x1a4));}async[_0x79b42d(0x1a7)](_0x190f7b){const _0x15b8f4=_0x79b42d;return this[_0x15b8f4(0x1a9)](_0x190f7b);}async[_0x79b42d(0x1a9)](_0x20dd26,_0x3ce3f7){const _0x443b3f=_0x79b42d;return await this[_0x443b3f(0x1aa)]['loadSheet'](_0x20dd26,0x0,_0x3ce3f7)?(await this[_0x443b3f(0x18a)][_0x443b3f(0x18f)](_0x20dd26),this[_0x443b3f(0x1b5)][_0x443b3f(0x1a0)](_0x20dd26)):null;}[_0x79b42d(0x1c2)](_0x3271f3,_0x387f67){const _0x43859f=_0x79b42d,_0x410c06=this['_injector'][_0x43859f(0x1af)](_0x3fc75c[_0x43859f(0x19f)])['waitForRoom$'](_0x3271f3)[_0x43859f(0x19d)](_0x3983b8['switchMap'](_0x3569a8=>_0x3569a8[_0x43859f(0x1ba)]))[_0x43859f(0x1a5)](_0x2f5e7d=>_0x387f67(Array[_0x43859f(0x1bd)](_0x2f5e7d[_0x43859f(0x1be)]())));return _0xbdae00['toDisposable'](_0x410c06);}['getCollaborationStatus'](){const _0x25bc09=_0x79b42d,_0x136b80=this['_univerInstanceService'][_0x25bc09(0x1c5)]();if(!_0x136b80)return _0x3fc75c[_0x25bc09(0x1bb)]['NOT_COLLAB'];const _0x4ab8d6=this['_collaborationController'][_0x25bc09(0x1c1)](_0x136b80[_0x25bc09(0x1a2)]());return _0x4ab8d6?_0x4ab8d6[_0x25bc09(0x18e)]['status']:_0x3fc75c[_0x25bc09(0x1bb)][_0x25bc09(0x19a)];}},_0x54d466[_0x79b42d(0x1a8)]=_0x5bf388([_0x551a62(0x1,_0xbdae00[_0x79b42d(0x199)](_0xbdae00[_0x79b42d(0x188)])),_0x551a62(0x2,_0xbdae00[_0x79b42d(0x1b9)]),_0x551a62(0x3,_0xbdae00[_0x79b42d(0x199)](_0x221c97[_0x79b42d(0x19b)])),_0x551a62(0x4,_0xbdae00['Inject'](_0x3fc75c[_0x79b42d(0x1a3)]))],_0x54d466['FCollaboration']);class _0x1af5bc extends _0x504b79[_0x79b42d(0x196)]{[_0x79b42d(0x18d)](){const _0x562eb0=_0x79b42d;return this[_0x562eb0(0x198)]['createInstance'](_0x54d466[_0x562eb0(0x1a8)],{'getUniverSheet':_0x447417=>this['getUniverSheet'](_0x447417)});}[_0x79b42d(0x18c)](_0xcca85c,_0x282767,_0x1bd48a){const _0x16c78e=_0x79b42d;return this[_0x16c78e(0x198)][_0x16c78e(0x1af)](_0x3fc75c[_0x16c78e(0x18b)])[_0x16c78e(0x1b3)](_0xcca85c,_0x282767,_0x1bd48a);}[_0x79b42d(0x1b6)](_0x268222,_0x588bee,_0x1961f1){const _0x50ea55=_0x79b42d;return this[_0x50ea55(0x198)][_0x50ea55(0x1af)](_0x3fc75c[_0x50ea55(0x18b)])[_0x50ea55(0x186)](_0x268222,_0x588bee,_0x1961f1);}}_0x504b79[_0x79b42d(0x196)][_0x79b42d(0x1ad)](_0x1af5bc),Object[_0x79b42d(0x194)](_0x54d466,Symbol['toStringTag'],{'value':_0x79b42d(0x192)});}));function _0x306d(_0x18e204,_0x34efb1){const _0x5c0950=_0x5c09();return _0x306d=function(_0x306d38,_0x1d5d5c){_0x306d38=_0x306d38-0x186;let _0x2fc0de=_0x5c0950[_0x306d38];return _0x2fc0de;},_0x306d(_0x18e204,_0x34efb1);}function _0x5c09(){const _0x2012f0=['UniverCoreFacade','loadSheet','FCollaboration','loadSheetAsync','_snapshotService','@univerjs-pro/collaboration-client','exports','extend','1624392pFEyBl','get','95484CUxSsZ','FBase','UniverProCollaborationClient','loadUnit','object','_handler','loadServerUnitOfRevision','1544670VhmVKA','512971TrveXv','IUniverInstanceService','members$','CollaborationStatus','@univerjs-pro/collaboration','from','values','4041DTLSzZ','loadActiveSheetAsync','getCollabEntity','subscribeCollaborators','function','133cdqobX','getFocusedUnit','amd','loadUnitOfRevision','FEnum','Injector','4709656ZlliPx','_collaborationController','DataLoaderService','loadServerUnit','getCollaboration','state','readyForCollab','getOwnPropertyDescriptor','rxjs','Module','5dXymig','defineProperty','@univerjs/core/facade','FUniver','300756cqIuYu','_injector','Inject','NOT_COLLAB','SnapshotService','4790snuTpR','pipe','loadActiveSheet','MemberService','getUniverSheet','_univerInstanceService','getUnitId','CollaborationController','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','subscribe'];_0x5c09=function(){return _0x2012f0;};return _0x5c09();}
|
|
6
6
|
|
|
7
7
|
// @univerjs-pro/collaboration-client-ui/index
|
|
8
|
-
function _0x1f64(){const _0x493072=['UniverCollaborationClientPlugin','UniverSheets','_localCacheService','@univerjs-pro/collaboration-client','row','ENTITLE_DUP_SUBSCRIPTION','UnitStatus','getCollabEntity$','_sheetSkeletonManagerService','runRefRangeMutations','exhaustSavingTask','REDEMPTION_CODE_FULLY_REDEEMED','M0\x200H16V16H0z','limitInfo','_assignedColors','subUnitId','REDEMPTION_CODE_HAS_BEEN_CREATED','some','yellow.400','SHEET_VIEWPORT_KEY','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_initEvent','handleInsertRangeMoveDown','_initCommandInterceptor','getStateCache','USER_NOT_FOUND','clearInterval','width','sessionStatus$','getformulaLimitStatusUrl','useCallback','triggerDblclick','getValue','LICENSE_DISTRO_REJECTED','APPLY_DUPLICATED','translate(.97)','SetSelectionsOperation','ThemeService','PERMISSION_DENIED','getDocRanges','collabStatus.syncing','_toggleOnline','getVpScrollXYInfoByPosToVp','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_initStatusComponent','Unknown\x20user','_setupBeforeClosingHandler','ILocalStorageService','round','throttleTime','SetFormulaCalculationStartMutation','RxDisposable','SUBMIT_CHANGESET_TIMEOUT','debounce','params','displayName','registerComponent','APPLY_REJECT','http://www.w3.org/2000/svg','bottom','@univerjs/docs-ui','history','_docSyncEditingCollabCursorService','m2Prime','source','_applyCommand','DocSelectionManagerService','getCoordByCell','YUUMI_CONNECTOR_URL_NOT_FOUND','formula.calculation.waiting','_getSaveTimeout','column','_removeCollabCursors','handleDeleteRangeMoveUp','_startCalculationLimit','registerDependencies','_saveCache','type','range','_getSessionTicket','_getMergeRange','RevisionService','off-line-icon_clip0_910_343','RECT','_backgroundColor','memberID','_selfUnitIDs','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','@univerjs/engine-render','mask','Warning','distinctUntilChanged','APPLY_PERMISSION_DENIED','amd','_checkCalculationAvailable','DATA_SOURCE_TOO_LARGE','size','_notificationService','div','selections','LICENSE_MAX_UNITS_EXCEEDED','_updateURLWithCurrentState','updateOfflineData','_color','unitId','getTypeOfUnitDisposed$','OTHER_CLIENTS_EDITING','name','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','hide','_unitOnClients','createSocket','_entities','transformSelections','_initResize','_startDocCollabCursor','getUnitId','top','MoveRangeCommandId','createIdentifier','saveTaskMap','xlink:href','arc','_univerInstanceService','createInstance','ILogService','find','RichTextEditingMutation','transformRemoteChangeset','doc.mutation.rich-text-editing','_colorIndex','LocaleService','@univerjs-pro/collaboration','UniverDesign','dispose','getUndoRedoMutationParamsCache','_entityInit$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','useDependency','getOwnPropertyDescriptor','getCurrentUnitForType','stageInfo','...','handleIRemoveCol','_injector','COMPLETION_FINISHED','_docSkeleton','BehaviorSubject','LICENSE_IMPORT_SIZE_EXCEEDED','contains','getItem','_checkAndWaitForCalculationPermission','values','_releaseCalculationLimit','fromEvent','_initEntityListener','cursorInfo$','getUnit','startColumn','undoState','addObject','_localStorageService','disposeWithMe','/universer-api/license/formula/limit/done','@univerjs/network','attrs','measureText','_localeService','HTTPService','_getFormulaLimitStatus','m1Prime','clearTimeout','_dataLoaderService','RemoteUniscriptService','debounceTime','selection','map','UniverIcon','Tools','collab-text-anchor-','activeSheet$','event$','asObservable','_collaborationUIEventService','_name','Rectangle','result','_docClipboardService','code','_drawAnchor','_colorAssignService','6259176yNHEeA','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_collabSessionService','UniverEngineFormula','moveTo','exports','428246DJAveY','mergeOverrideWithDependencies','makeDirty','MOBILE_HAS_BEEN_BOUND','currentSkeleton$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','isFormulaId','DisposableCollection','registerBeforeClose','setInterval','_handleHover','DeleteRangeMoveUpCommandId','INVALID_ARGUMENT','registerRenderModule','INTERNAL_ERROR','_context','_commandService','skeleton','setParam','REDEMPTION_CODE_NOT_STARTED','IUniverInstanceService','add','_registerDependencies','transformIMECache','onRendered','SessionStatus','ENSURE_SNAPSHOT_EXECUTION','DEFAULT_WS_SESSION_TICKET_URL','BrowserCollaborationSocketService','collab-text-range-','stringify','addObjects','@univerjs/ui','on-line-icon_clip0_910_349','SetTextSelectionsOperation','_cursors','startsWith','isTransformMutationFailure','_updateSubUnitFromURLParams','transform','collabStatus.synced','drawWith','delete','_onCursorUpdate','_setupSubUnitSync','requireSession','onStarting','touchDependencies','ITransformService','fillStyle','EffectRefRangId','getRangePointData','DOC_RANGE_TYPE','deserializeRangeWithSheet','length','MUTATION','from','invokeId','fromEventSubject','toDisposable','getRenderById','_updateCollabCursors','WECHAT_HAS_BEEN_BOUND','CHANGESET_REVISION_CONFILICT','push','addHandlerCallback','ranges','@univerjs/sheets-ui','_ensureSubject','_render','Success','_transformService','black','getFocusedUnit','Vector2','text','subunit','LOCAL_CACHE_INTERVAL','loadOfflineData','assignAColorForMemberID','_beforeCloseService','switchMap','REDEMPTION_USER_NOT_ELIGIBLE','UniverRpc','NOT_COLLAB','transformByState','_docTransformIMECacheService','IDocClipboardService','RemoveColCommandId','init','CollaborationStatus','has','LICENSE_EXPORT_SIZE_EXCEEDED','operators','IBeforeCloseService','clipPath','TEXT_RANGE_LAYER_INDEX','_refRangeService','_clearPolling','UNAUTHENTICATED','pipe','getParam','TEXT','current','currentTheme$','_docTransformStateCacheService','CONNECTOR_DATA_TOO_LARGE','DataLoaderService','search','actions','107140aaWGLK','CollaborationController','endRow','_scheduleSaving','isActive','NO_OTHER_CLIENTS_EDITING','SNAPSHOT_INVALID_SNAPSHOT','_handleLeaveEvent','functionsExecutedState','UniverDocsUi','SheetSkeletonManagerService','onPointerEnter$','SheetsSelectionsService','PY_RUNTIME_SCRIPT_ERROR','substring','white','ENTITLE_NEED_BILLING_ADDRESS','colorChannel1','split','isEditing','NodePositionConvertToRectRange','with','_initDependencies','fillText','children','transformMutation','unload','MessageType','APPLY_REVISION_CONFILICT','IMessageService','YUUMI_ASYNCIO_CANCELLED','handleInsertCol','_messageService','uni.network.url-service','tag','collabStatus.conflict','Error','collaboration-client.offline-data-not-saved','START_CALCULATION','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','mutations','deepClone','DesktopCollaborationStatusDisplayController','_handleHeartbeatEvent','UNRECOGNIZED','roomMembers','body','Injector','getCellMatrix','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','FETCH_MISS','_themeService','loadUnit','_getSheetObject','getUnhiddenWorksheets','enableLocalCache','url(#$1','_onCursorDelete','sheetID','_setFormulaLimitStatus','toRgbString','/run/','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_drawRectRange','origin','rxjs/operators','_transformUndoRedoStack','ILocalCacheService','subscribeEvent','40oHnBWE','_cursorShapes','restore','forEach','send','IConfigService','MemberService','_startSheetCollabCursor','unsubscribe','1em','_handleJoinEvent','getActiveSheet','Plugin','_onRefRangeChange','_hovered','AUTHORIZE_CODE_ILLEGAL','CollaborationEvent','OnLineIcon','/universer-api/license/formula/limit/start','_transformHistoryAndStateStack','_roomMembers$','rxjs','lineTo','replaceDocRanges','purple.300','?taskId=','path','urlChange$','DocStateChangeManagerService','Failed','/universer-api/license/formula/limit/status','_showGuardMessage','RegularPolygon','RefRangeService','REDEMPTION_INVALID_CODE','USERS_LEAVE','getUnitStatus$','_anchorDot','on-line-icon','CURRENT_STATUS_CANNOT_OPERATE','SetFormulaCalculationNotificationMutation','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getActiveRange','_status$','SYNCED','endColumn','permission.title','CLOSE_ROOM','MOBILE_VERIFY_CODE_MISMATCH','cursorInfo','_clearOtherTimers','_configService','_refreshCollabCursors','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','VIEW_MAIN','entries','_taskIds','forwardRef','OTHER_CLIENT_EDITING','unitID','fillRule','runId','CollaborationUIEventId','_eventUnsubscribe','runOnServer','780806PUXYwK','_saveTaskMap','_createSocketURL','@univerjs/docs','_toggleOffline','OffLineIcon','eventID','handleInsertRangeMoveRight','getCellPositionByOffset','_online','_imageIoService','0\x200\x2016\x2016','getCurrentSelections','React','_syncEditingCollabCursorService','complete','currentColor','isTransformMutationsWithChangesetSuccess','all','_httpService','ISocketService','defineProperty','SNAPSHOT_HAS_BEEN_REMOVED','_maxFormulaLimit','shareReplay','Subject','collab-rect-range-','APPLY_NON_SEQUENTIAL_REVISION','ONLINE','getSheetObject','_docSkeletonManagerService','generateRandomId','executeCommand','_renderManagerService','handleIRemoveRow','IImageIoService','@univerjs/engine-formula','setAlpha','application/json','@univerjs/sheets','setItem','debug','onPointerLeave$','entityInit$','rgba(255,\x20255,\x20255,\x200.01)','function','isArray','LOGIN_TOKEN_PROCESSING_FAILED','getSheetBySheetId','_docStateChangeManagerService','UniverDocs','location','INVITE_CODE_ALREADY_BOUND','takeUntil','_getAnchorBounding','pluginName','set','WebSocketService','defs','flatMap','onCommandExecuted','replaceState','toString','_handleEvent','max','_cursor','OFFLINE','DocCollaborationEntity','useRef','@univerjs/core','unshift','get','LOGIN_FAILED','imageSourceType','stage','_heartbeatTimer','getOffsetConfig','_instanceService','_hover','getAncestorScale','reconnect','YUUMI_NO_CUBOID_FOR_QUESTION','FromArray','includes','_cursorInfo$','UniverCollaborationClientUIPlugin','session.collaboration-timeout','syncEditingCollabCursor','getSkeleton','UNDEFINED','_currentUsage','roomMembers$','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','combineLatest','_urlService','PENDING','UNIVER_SHEET','SUCCESS','UPDATE_CURSOR','string','ENTITLE_REPORT_LIMIT_EXCEED','trim','_session','ENTITLE_INSUFFICIENT_QUOTA','univer-flex\x20univer-items-center','_collabCursorController','EMAIL_HAS_BEEN_BOUND','dirtyRanges','AWAITING_WITH_PENDING','_uiPartsService','save','JOIN_ROOM_FAILED','CollaborationSessionService','UniverNetwork','CollaborationSocketService','INotificationService','DeleteRangeMoveLeftCommandId','_hasFormulaInDirtyRanges','getColor','getConfig','onLocalMutation','handleMoveRange','now','Inject','getTypeOfUnitAdded$','_hideTimer','collabStatus.notCollab','YUUMI_ALL_TABLES_IS_INVALID','IUIPartsService','collaboration-client-ui.config','UniverProCollaboration','serializeRangeWithSheet','addEventListener','ACTIVE_UNIT_EVENT_CHANNEL','collaboration.closeRoom','getCollabCursors$','wsSessionTicketUrl','FormulaExecuteStageType','NOT_FOUND','height','url(#off-line-icon_clip0_910_343)','replace','_initStatusListener','_getScale','YUUMI_URL_COL_OUT_OF_RANGE','isFormulaString','[CollaborationDataLoaderController]','_labelPosition','_lastPointer','getUniverSheetInstance','RemoveRowCommandId','8VVOwQD','USER_IS_ANONYMOUS','onMouseMove','formula.calculation.started','beginPath','_updateLocalCursor','Shape','_pollingInterval','TRANSFORM_CHANGE_OBSERVABLE_TYPE','setShapeProps','evenodd','INVITE_CODE_REQUIRED','Disposable','idSuffix','_id','_collabCursorState$','registerRefRange','next','textRanges','subscribe','shift','_initCommandExecutedListener','YUUMI_RATE_OVER_LIMIT','ColorKit','@univerjs/design','_removeClearOtherTimer','UniverEngineRender','getRelativeToViewportCoord','_unitStatus','SetWorksheetActivateCommand','href','UNIVER_DOC','0\x200\x2017\x2016','transformStateCache','COLORS','SOCKET_FAILED_RETRY','REDEMPTION_CODE_INACTIVE','_send','_revisionService','post','78216MryKZc','svg','UniverSheetsUi','getLocalCacheKey','saveOfflineData','_registerRenderDependencies','341019kbpGNC','_collaborationController','CanceledError','unit','collabCursorState$','formula.calculation.unable','YUUMI_UNABLE_LOAD_URL','none','INVITE_CODE_HAS_BEEN_UES','UniverProCollaborationClient','closePath','_transformPreviousActiveRange','setStateCache','_anchor','Workbook','color','_init','_range','getMember','WebBrowserSingleActiveUnitService','collaboration.single-unit.warning','UniverInstanceType','dispose$','error','IRenderManagerService','UniverProCollaborationClientUi','_drawTextRange','#FFF','blue.400','_cachedData','_textBubble','YUUMI_AI_RUN_FAILED','_scheduleHeartbeat','ERROR_AGAIN','PAYMENT_CHANNEL_NOT_SUPPORT','then','findNodePositionByCharIndex','filter','setActiveRange','show','_logService','HEADER_MENU','686060VpgdlZ','data','ALREADY_EXISTS','_lastResponseTimestamp','_scheduleClearOtherTimer','collab-client.tooltip.reconnect','useObservable','parseInt','handleDeleteRangeMoveLeft','CollaborationDataLoaderController','InsertRangeMoveRightCommandId','_disabled','Rect','ICommandService','createElement','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','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CONFLICT','_scene','resize','setTimeout','whenReady','UniverDrawing','searchParams','getSheetId','getMergeData','getMemberID','fill','Loading','Module','redoState','getColorFromTheme','startRow','_config','SOCKET_FAILED','sheetId','removeParam','jsx','@univerjs/rpc','NodePositionConvertToCursor','_shapes','toStringTag','_docTransformSelectionsService'];_0x1f64=function(){return _0x493072;};return _0x1f64();}function _0x1014(_0x5e86da,_0x1de17e){const _0x1f64ae=_0x1f64();return _0x1014=function(_0x1014a1,_0x2c5142){_0x1014a1=_0x1014a1-0xfc;let _0x5c4540=_0x1f64ae[_0x1014a1];return _0x5c4540;},_0x1014(_0x5e86da,_0x1de17e);}(function(_0x3e1441,_0x18b45c){const _0x364213=_0x1014,_0xa58066=_0x3e1441();while(!![]){try{const _0x7a96=-parseInt(_0x364213(0x318))/0x1+-parseInt(_0x364213(0x39f))/0x2+-parseInt(_0x364213(0x190))/0x3+parseInt(_0x364213(0x1ba))/0x4+-parseInt(_0x364213(0x35d))/0x5*(parseInt(_0x364213(0x18a))/0x6)+-parseInt(_0x364213(0x2aa))/0x7*(-parseInt(_0x364213(0x162))/0x8)+parseInt(_0x364213(0x2a4))/0x9;if(_0x7a96===_0x18b45c)break;else _0xa58066['push'](_0xa58066['shift']());}catch(_0x33b3d8){_0xa58066['push'](_0xa58066['shift']());}}}(_0x1f64,0x33ead),function(_0x1668e1,_0x3eb164){const _0x4123fc=_0x1014;typeof exports=='object'&&typeof module<'u'?_0x3eb164(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==_0x4123fc(0x3cc)&&define[_0x4123fc(0x242)]?define([_0x4123fc(0x2a9),'react/jsx-runtime',_0x4123fc(0x1e8),_0x4123fc(0x10f),_0x4123fc(0x2ca),'rxjs',_0x4123fc(0x17a),'react',_0x4123fc(0x1e0),_0x4123fc(0x3c6),_0x4123fc(0x23d),_0x4123fc(0x289),_0x4123fc(0x221),'@univerjs/drawing',_0x4123fc(0x269),_0x4123fc(0x3a2),_0x4123fc(0x3c3),_0x4123fc(0x359),_0x4123fc(0x2ed)],_0x3eb164):(_0x1668e1=typeof globalThis<'u'?globalThis:_0x1668e1||self,_0x3eb164(_0x1668e1[_0x4123fc(0x1a9)]={},_0x1668e1[_0x4123fc(0x3ac)],_0x1668e1[_0x4123fc(0x199)],_0x1668e1['UniverCore'],_0x1668e1['UniverUi'],_0x1668e1[_0x4123fc(0x372)],_0x1668e1[_0x4123fc(0x26a)],_0x1668e1[_0x4123fc(0x3ac)],_0x1668e1[_0x4123fc(0x2fd)],_0x1668e1[_0x4123fc(0x1e6)],_0x1668e1[_0x4123fc(0x17c)],_0x1668e1[_0x4123fc(0x13c)],_0x1668e1[_0x4123fc(0x321)],_0x1668e1[_0x4123fc(0x1d0)],_0x1668e1[_0x4123fc(0x14d)],_0x1668e1[_0x4123fc(0xfc)],_0x1668e1[_0x4123fc(0x2a7)],_0x1668e1[_0x4123fc(0x372)][_0x4123fc(0x307)],_0x1668e1[_0x4123fc(0x18c)]));}(this,function(_0x1ef13c,_0x21d04b,_0x562098,_0x3238b4,_0x5e73b5,_0x1c6f00,_0x13fbb7,_0x11583d,_0x1899fd,_0x3ed8fc,_0xcb617a,_0x4c4936,_0x2260ff,_0x496e7a,_0x57c8d5,_0xf153d4,_0x2de62,_0x3663d5,_0x9833be){'use strict';const _0x1b3145=_0x1014;var _0x1e9977=Object[_0x1b3145(0x3b4)],_0x250e48=(_0x2921b3,_0x7152b4,_0xd70de5)=>_0x7152b4 in _0x2921b3?_0x1e9977(_0x2921b3,_0x7152b4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd70de5}):_0x2921b3[_0x7152b4]=_0xd70de5,_0xc84b25=(_0xaae3c7,_0x4a217d,_0x12d5d4)=>_0x250e48(_0xaae3c7,typeof _0x4a217d!='symbol'?_0x4a217d+'':_0x4a217d,_0x12d5d4);function _0x48cc70({ref:_0x147c95,..._0x4704ee}){const _0x102b7b=_0x1b3145,{icon:_0x223422,id:_0x2f5aba,className:_0x28fa47,extend:_0x31b74e,..._0x548c81}=_0x4704ee,_0x486e0a=('univerjs-icon\x20univerjs-icon-'+_0x2f5aba+'\x20'+(_0x28fa47||''))[_0x102b7b(0x130)](),_0x20938a=_0x11583d[_0x102b7b(0x10e)]('_'+_0x5158c0());return _0x3aeb79(_0x223422,''+_0x2f5aba,{'defIds':_0x223422['defIds'],'idSuffix':_0x20938a[_0x102b7b(0x311)]},{'ref':_0x147c95,'className':_0x486e0a,..._0x548c81},_0x31b74e);}function _0x3aeb79(_0x1f384f,_0x22d6c5,_0x43c1a6,_0x51f00f,_0x2e8a6d){const _0x3055bd=_0x1b3145;return _0x11583d[_0x3055bd(0x1c8)](_0x1f384f[_0x3055bd(0x33a)],{'key':_0x22d6c5,..._0x4dc3d1(_0x1f384f,_0x43c1a6,_0x2e8a6d),..._0x51f00f},(_0x2d6c15(_0x1f384f,_0x43c1a6)[_0x3055bd(0x330)]||[])[_0x3055bd(0x295)]((_0x5bcad5,_0x45abff)=>_0x3aeb79(_0x5bcad5,_0x22d6c5+'-'+_0x1f384f[_0x3055bd(0x33a)]+'-'+_0x45abff,_0x43c1a6,void 0x0,_0x2e8a6d)));}function _0x4dc3d1(_0x636217,_0xbfac0e,_0x3fe9b4){const _0x3cb8fe=_0x1b3145,_0x4d5a13={..._0x636217['attrs']};_0x3fe9b4!=null&&_0x3fe9b4[_0x3cb8fe(0x329)]&&_0x4d5a13[_0x3cb8fe(0x1d5)]===_0x3cb8fe(0x329)&&(_0x4d5a13['fill']=_0x3fe9b4[_0x3cb8fe(0x329)]),_0x636217[_0x3cb8fe(0x33a)]===_0x3cb8fe(0x23e)&&_0x4d5a13['id']&&(_0x4d5a13['id']=_0x4d5a13['id']+_0xbfac0e[_0x3cb8fe(0x16f)]),Object[_0x3cb8fe(0x395)](_0x4d5a13)[_0x3cb8fe(0x360)](([_0x189536,_0x1a6c4c])=>{const _0x32882c=_0x3cb8fe;_0x189536===_0x32882c(0x23e)&&typeof _0x1a6c4c=='string'&&(_0x4d5a13[_0x189536]=_0x1a6c4c[_0x32882c(0x158)](/url\(#(.*)\)/,_0x32882c(0x350)+_0xbfac0e['idSuffix']+')'));});const {defIds:_0x21d080}=_0xbfac0e;return!_0x21d080||_0x21d080[_0x3cb8fe(0x2e0)]===0x0||(_0x636217[_0x3cb8fe(0x33a)]==='use'&&_0x4d5a13['xlink:href']&&(_0x4d5a13['xlink:href']=_0x4d5a13[_0x3cb8fe(0x25e)]+_0xbfac0e[_0x3cb8fe(0x16f)]),Object['entries'](_0x4d5a13)[_0x3cb8fe(0x360)](([_0x619101,_0x148788])=>{const _0x50df2b=_0x3cb8fe;typeof _0x148788=='string'&&(_0x4d5a13[_0x619101]=_0x148788[_0x50df2b(0x158)](/url\(#(.*)\)/,_0x50df2b(0x350)+_0xbfac0e[_0x50df2b(0x16f)]+')'));})),_0x4d5a13;}function _0x2d6c15(_0x2e262e,_0x1c167c){const _0x5227b3=_0x1b3145;var _0x1a142c;const {defIds:_0x2b38bf}=_0x1c167c;return!_0x2b38bf||_0x2b38bf[_0x5227b3(0x2e0)]===0x0?_0x2e262e:_0x2e262e[_0x5227b3(0x33a)]===_0x5227b3(0x104)&&((_0x1a142c=_0x2e262e['children'])!=null&&_0x1a142c[_0x5227b3(0x2e0)])?{..._0x2e262e,'children':_0x2e262e[_0x5227b3(0x330)][_0x5227b3(0x295)](_0x47bf38=>typeof _0x47bf38[_0x5227b3(0x28a)]['id']==_0x5227b3(0x12e)&&_0x2b38bf&&_0x2b38bf[_0x5227b3(0x11d)](_0x47bf38[_0x5227b3(0x28a)]['id'])?{..._0x47bf38,'attrs':{..._0x47bf38[_0x5227b3(0x28a)],'id':_0x47bf38[_0x5227b3(0x28a)]['id']+_0x1c167c[_0x5227b3(0x16f)]}}:_0x47bf38)}:_0x2e262e;}function _0x5158c0(){const _0x1578c0=_0x1b3145;return Math['random']()[_0x1578c0(0x108)](0x24)[_0x1578c0(0x326)](0x2,0x8);}_0x48cc70['displayName']=_0x1b3145(0x296);const _0x54ec01={'tag':_0x1b3145(0x18b),'attrs':{'xmlns':_0x1b3145(0x21f),'fill':_0x1b3145(0x197),'viewBox':_0x1b3145(0x3aa),'width':_0x1b3145(0x366),'height':_0x1b3145(0x366)},'children':[{'tag':'g','attrs':{'clipPath':_0x1b3145(0x157)},'children':[{'tag':_0x1b3145(0x377),'attrs':{'stroke':_0x1b3145(0x3af),'d':_0x1b3145(0x1c9),'strokeLinecap':_0x1b3145(0x215),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1b3145(0x104),'attrs':{},'children':[{'tag':_0x1b3145(0x309),'attrs':{'id':_0x1b3145(0x237)},'children':[{'tag':_0x1b3145(0x377),'attrs':{'fill':_0x1b3145(0x327),'d':_0x1b3145(0x1f1)}}]}]}],'defIds':[_0x1b3145(0x237)]},_0x3a7545=_0x11583d[_0x1b3145(0x397)](function(_0x26aef5,_0x945850){const _0x38def5=_0x1b3145;return _0x11583d[_0x38def5(0x1c8)](_0x48cc70,Object['assign']({},_0x26aef5,{'id':'off-line-icon','ref':_0x945850,'icon':_0x54ec01}));});_0x3a7545[_0x1b3145(0x21c)]=_0x1b3145(0x3a4);const _0x26cc52={'tag':_0x1b3145(0x18b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1b3145(0x197),'viewBox':_0x1b3145(0x182),'width':_0x1b3145(0x366),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x1b3145(0x377),'attrs':{'stroke':_0x1b3145(0x3af),'d':_0x1b3145(0x127),'strokeLinecap':_0x1b3145(0x215),'strokeLinejoin':_0x1b3145(0x215),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1b3145(0x2cb)},'children':[{'tag':_0x1b3145(0x377),'attrs':{'fill':_0x1b3145(0x327),'d':_0x1b3145(0x1f1),'transform':_0x1b3145(0x208)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x10cb35=_0x11583d['forwardRef'](function(_0x11d55f,_0x517099){const _0x4ac1a4=_0x1b3145;return _0x11583d[_0x4ac1a4(0x1c8)](_0x48cc70,Object['assign']({},_0x11d55f,{'id':_0x4ac1a4(0x383),'ref':_0x517099,'icon':_0x26cc52}));});_0x10cb35[_0x1b3145(0x21c)]=_0x1b3145(0x36e);function _0x43d122(_0x394b0d){const _0x1ac51d=_0x1b3145;switch(_0x394b0d){case _0x562098[_0x1ac51d(0x304)][_0x1ac51d(0x10c)]:return'collabStatus.offline';case _0x562098[_0x1ac51d(0x304)][_0x1ac51d(0x1cb)]:return _0x1ac51d(0x33b);case _0x562098[_0x1ac51d(0x304)][_0x1ac51d(0x34a)]:return'collabStatus.fetchMiss';case _0x562098[_0x1ac51d(0x304)]['NOT_COLLAB']:return _0x1ac51d(0x149);case _0x562098[_0x1ac51d(0x304)]['AWAITING']:case _0x562098[_0x1ac51d(0x304)][_0x1ac51d(0x137)]:return _0x1ac51d(0x20d);case _0x562098[_0x1ac51d(0x304)][_0x1ac51d(0x38a)]:case _0x562098[_0x1ac51d(0x304)][_0x1ac51d(0x12a)]:return _0x1ac51d(0x2d2);}}function _0x14a610(_0xcfd344){const _0x4b7020=_0x1b3145,{status$:_0x14590d}=_0xcfd344,_0x32a7db=_0x5e73b5[_0x4b7020(0x1c0)](_0x14590d,_0x562098['CollaborationStatus'][_0x4b7020(0x2fe)]),_0x399693=_0x5e73b5[_0x4b7020(0x26f)](_0x3238b4['LocaleService']),_0x59e310=_0x5e73b5['useDependency'](_0x562098[_0x4b7020(0x13b)]),_0x31a4cf=_0x32a7db!==_0x562098[_0x4b7020(0x304)][_0x4b7020(0x10c)],_0x2631c8=_0x399693['t'](_0x43d122(_0x32a7db)),_0x2e0099=_0x31a4cf?_0x21d04b['jsx'](_0x10cb35,{}):_0x21d04b[_0x4b7020(0x1df)](_0x3a7545,{}),_0x4c52c4=_0x11583d[_0x4b7020(0x203)](()=>{const _0x134ca4=_0x4b7020;_0x31a4cf||_0x59e310[_0x134ca4(0x11a)]();},[_0x31a4cf,_0x59e310]);function _0x474511(){const _0x5cac43=_0x4b7020;return _0x21d04b['jsxs'](_0x5cac43(0x247),{'className':_0x5cac43(0x133),'onClick':_0x4c52c4,'children':[_0x21d04b['jsx']('div',{'className':_0x13fbb7['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x31a4cf,'univer-text-red-500':!_0x31a4cf}),'children':_0x2e0099}),_0x21d04b['jsx']('div',{'className':_0x5cac43(0x26e),'children':_0x2631c8})]});}return _0x31a4cf?_0x474511():_0x21d04b[_0x4b7020(0x1df)](_0x13fbb7['Tooltip'],{'title':_0x399693['t'](_0x4b7020(0x1bf)),'children':_0x474511()});}var _0x5c9a5c=Object[_0x1b3145(0x270)],_0x348425=(_0x527717,_0x3a5deb,_0x5403b8,_0x175f72)=>{const _0x1b004b=_0x1b3145;for(var _0x27fc5a=_0x175f72>0x1?void 0x0:_0x175f72?_0x5c9a5c(_0x3a5deb,_0x5403b8):_0x3a5deb,_0x4ed146=_0x527717[_0x1b004b(0x2e0)]-0x1,_0x42b954;_0x4ed146>=0x0;_0x4ed146--)(_0x42b954=_0x527717[_0x4ed146])&&(_0x27fc5a=_0x42b954(_0x27fc5a)||_0x27fc5a);return _0x27fc5a;},_0x5dcbe1=(_0x225106,_0xc3880b)=>(_0xf496d,_0x72c97a)=>_0xc3880b(_0xf496d,_0x72c97a,_0x225106);_0x1ef13c[_0x1b3145(0x342)]=class extends _0x3238b4[_0x1b3145(0x16e)]{constructor(_0x5f0644,_0x4a2840,_0x1ab461,_0x3c6a9c){const _0x486497=_0x1b3145;super(),_0xc84b25(this,_0x486497(0x389),new _0x1c6f00[(_0x486497(0x278))](_0x562098[_0x486497(0x304)][_0x486497(0x2fe)])),(this[_0x486497(0x260)]=_0x5f0644,this['_injector']=_0x4a2840,this[_0x486497(0x191)]=_0x1ab461,this[_0x486497(0x138)]=_0x3c6a9c,this[_0x486497(0x211)](),this[_0x486497(0x159)]());}[_0x1b3145(0x159)](){const _0x5139f8=_0x1b3145;this[_0x5139f8(0x287)](this[_0x5139f8(0x260)]['focused$']['pipe'](_0x1c6f00['switchMap'](()=>{const _0x51d326=_0x5139f8,_0x3925a1=this['_univerInstanceService']['getFocusedUnit']();return _0x3925a1?this[_0x51d326(0x191)][_0x51d326(0x1ec)](_0x3925a1[_0x51d326(0x259)]()):_0x1c6f00['of'](null);}),_0x1c6f00['switchMap'](_0x212745=>_0x212745?_0x212745['status$']:_0x1c6f00['of'](_0x562098[_0x5139f8(0x304)][_0x5139f8(0x2fe)])))[_0x5139f8(0x175)](_0x1260b5=>{const _0x4cbbaf=_0x5139f8;this[_0x4cbbaf(0x389)][_0x4cbbaf(0x173)](_0x1260b5);}));}[_0x1b3145(0x211)](){const _0xc620e8=_0x1b3145;this[_0xc620e8(0x287)](this[_0xc620e8(0x138)][_0xc620e8(0x21d)](_0x5e73b5['BuiltInUIPart'][_0xc620e8(0x1b9)],()=>_0x5e73b5['connectInjector'](_0x9c42e6({'status$':this[_0xc620e8(0x389)][_0xc620e8(0x29b)]()}),this[_0xc620e8(0x275)])));}},_0x1ef13c[_0x1b3145(0x342)]=_0x348425([_0x5dcbe1(0x0,_0x3238b4[_0x1b3145(0x2be)]),_0x5dcbe1(0x1,_0x3238b4['Inject'](_0x3238b4[_0x1b3145(0x347)])),_0x5dcbe1(0x2,_0x3238b4['Inject'](_0x562098[_0x1b3145(0x319)])),_0x5dcbe1(0x3,_0x5e73b5[_0x1b3145(0x14b)])],_0x1ef13c[_0x1b3145(0x342)]);function _0x9c42e6(_0x59f913){const {status$:_0x28f9ce}=_0x59f913;return function(){const _0xff313f=_0x1014;return _0x21d04b[_0xff313f(0x1df)](_0x14a610,{'status$':_0x28f9ce});};}const _0x559004=_0x3238b4[_0x1b3145(0x25c)](_0x1b3145(0x339));var _0x104741=Object[_0x1b3145(0x270)],_0x590d04=(_0x375ccc,_0x4f8f37,_0x5582b6,_0x37fbf7)=>{const _0x2addf2=_0x1b3145;for(var _0x4597a7=_0x37fbf7>0x1?void 0x0:_0x37fbf7?_0x104741(_0x4f8f37,_0x5582b6):_0x4f8f37,_0x2180c8=_0x375ccc[_0x2addf2(0x2e0)]-0x1,_0xf1d9;_0x2180c8>=0x0;_0x2180c8--)(_0xf1d9=_0x375ccc[_0x2180c8])&&(_0x4597a7=_0xf1d9(_0x4597a7)||_0x4597a7);return _0x4597a7;},_0x533b83=(_0xa0b750,_0xe2879)=>(_0x568437,_0x368d57)=>_0xe2879(_0x568437,_0x368d57,_0xa0b750);_0x1ef13c['CollaborationDataLoaderController']=class extends _0x3238b4[_0x1b3145(0x218)]{constructor(_0x25074d,_0xa18fb,_0xdea156,_0x107bef,_0x5e8b20){const _0x18c7b5=_0x1b3145;super(),this[_0x18c7b5(0x129)]=_0x25074d,this[_0x18c7b5(0x1b8)]=_0xa18fb,this['_commandService']=_0xdea156,this['_dataLoaderService']=_0x107bef,_0x5e8b20?_0x5e8b20==null||_0x5e8b20[_0x18c7b5(0x1cf)]()[_0x18c7b5(0x1b3)](()=>this[_0x18c7b5(0x1a0)]()):(this[_0x18c7b5(0x1b8)][_0x18c7b5(0x3c8)](_0x18c7b5(0x15d),_0x18c7b5(0x1f9)),this['_init']());}async['_init'](){const _0x36adeb=_0x1b3145,_0x3a3c1c=this['_urlService']['getParam'](_0x36adeb(0x193)),_0xb89ecd=this['_urlService'][_0x36adeb(0x30f)](_0x36adeb(0x232)),_0x10b870=this['_urlService']['getParam'](_0x36adeb(0x2f6));if(!_0x3a3c1c||!_0xb89ecd){this[_0x36adeb(0x1b8)][_0x36adeb(0x3c8)](_0x36adeb(0x15d),_0x36adeb(0x23c));return;}const _0x19cb23=await this[_0x36adeb(0x291)][_0x36adeb(0x34c)](_0x3a3c1c,Number(_0xb89ecd),_0x10b870);_0x19cb23&&_0x19cb23 instanceof _0x3238b4[_0x36adeb(0x19e)]&&this[_0x36adeb(0x2d6)](_0x19cb23);}async[_0x1b3145(0x2d6)](_0x22bf2b){const _0x256e15=_0x1b3145;await this[_0x256e15(0x2d0)](_0x22bf2b),_0x22bf2b[_0x256e15(0x299)]['pipe'](_0x1c6f00['takeUntil'](this[_0x256e15(0x1a6)]))[_0x256e15(0x175)](_0x33947e=>{_0x33947e&&this['_updateURLWithCurrentState'](_0x33947e);}),this['_urlService'][_0x256e15(0x378)][_0x256e15(0x30e)](_0x1c6f00[_0x256e15(0xff)](this[_0x256e15(0x1a6)]))[_0x256e15(0x175)](()=>this[_0x256e15(0x2d0)](_0x22bf2b));}[_0x1b3145(0x24a)](_0x4ec6f2,_0x372f29=!0x1){const _0x810f1=_0x1b3145,_0x2700df=this[_0x810f1(0x129)][_0x810f1(0x30f)](_0x810f1(0x2f6));_0x4ec6f2[_0x810f1(0x1d2)]()!==_0x2700df&&this[_0x810f1(0x129)][_0x810f1(0x2bc)]('subunit',_0x4ec6f2[_0x810f1(0x1d2)](),_0x372f29);}async[_0x1b3145(0x2d0)](_0x21ebb6){const _0x1873d3=_0x1b3145;var _0x505e43;const _0x16dc8f=this[_0x1873d3(0x129)]['getParam'](_0x1873d3(0x2f6));if(!_0x16dc8f||!_0x21ebb6[_0x1873d3(0x3cf)](_0x16dc8f)){const _0x23968d=_0x21ebb6[_0x1873d3(0x34e)]()[0x0],_0x3e6bad=_0x21ebb6[_0x1873d3(0x3cf)](_0x23968d);if(!_0x3e6bad)return;this[_0x1873d3(0x24a)](_0x3e6bad,!0x0),await this[_0x1873d3(0x2ba)][_0x1873d3(0x3bf)](_0x3ed8fc[_0x1873d3(0x17f)]['id'],{'unitId':_0x21ebb6[_0x1873d3(0x259)](),'subUnitId':_0x23968d});return;}((_0x505e43=_0x21ebb6[_0x1873d3(0x368)]())==null?void 0x0:_0x505e43[_0x1873d3(0x1d2)]())!==_0x16dc8f&&await this['_commandService']['executeCommand'](_0x3ed8fc[_0x1873d3(0x17f)]['id'],{'unitId':_0x21ebb6[_0x1873d3(0x259)](),'subUnitId':_0x16dc8f});}},_0x1ef13c[_0x1b3145(0x1c3)]=_0x590d04([_0x533b83(0x0,_0x559004),_0x533b83(0x1,_0x3238b4[_0x1b3145(0x262)]),_0x533b83(0x2,_0x3238b4[_0x1b3145(0x1c7)]),_0x533b83(0x3,_0x3238b4['Inject'](_0x562098[_0x1b3145(0x315)])),_0x533b83(0x4,_0x3238b4['Optional'](_0x1899fd['IRemoteInstanceService']))],_0x1ef13c[_0x1b3145(0x1c3)]);var _0x22aa43=Object[_0x1b3145(0x270)],_0x1655cd=(_0x5e7107,_0x47bbda,_0x9b5511,_0x3e5ee7)=>{const _0x4395c7=_0x1b3145;for(var _0x2d2b7e=_0x3e5ee7>0x1?void 0x0:_0x3e5ee7?_0x22aa43(_0x47bbda,_0x9b5511):_0x47bbda,_0x47b01e=_0x5e7107[_0x4395c7(0x2e0)]-0x1,_0x1b603b;_0x47b01e>=0x0;_0x47b01e--)(_0x1b603b=_0x5e7107[_0x47b01e])&&(_0x2d2b7e=_0x1b603b(_0x2d2b7e)||_0x2d2b7e);return _0x2d2b7e;},_0x3f26b5=(_0x2976f6,_0x31555f)=>(_0x430c45,_0x5ac539)=>_0x31555f(_0x430c45,_0x5ac539,_0x2976f6);let _0x386d5a=class extends _0x3238b4[_0x1b3145(0x218)]{constructor(_0x40274d,_0x5f0b60){const _0x5dd841=_0x1b3145;super(),this[_0x5dd841(0x2a0)]=_0x40274d,this[_0x5dd841(0x3a9)]=_0x5f0b60,this[_0x5dd841(0x1a0)]();}[_0x1b3145(0x1a0)](){const _0x2c4c1e=_0x1b3145,_0x3c0358=this;this[_0x2c4c1e(0x287)](this[_0x2c4c1e(0x2a0)]['addClipboardHook']({'onBeforePasteImage':async _0x1d0e8d=>{const _0x1c1918=_0x2c4c1e,_0x174d27=await _0x3c0358[_0x1c1918(0x3a9)]['saveImage'](_0x1d0e8d);return _0x174d27?{'source':_0x174d27[_0x1c1918(0x225)],'imageSourceType':_0x174d27[_0x1c1918(0x113)]}:null;}}));}};_0x386d5a=_0x1655cd([_0x3f26b5(0x0,_0x2260ff[_0x1b3145(0x301)]),_0x3f26b5(0x1,_0x496e7a[_0x1b3145(0x3c2)])],_0x386d5a);const _0x21771f=[_0x1b3145(0x375),'jiqing.500','green.600','red.300',_0x1b3145(0x1ac),_0x1b3145(0x1f7)];class _0x29a11f extends _0x3238b4[_0x1b3145(0x16e)]{constructor(){const _0x201560=_0x1b3145;super(...arguments),_0xc84b25(this,_0x201560(0x1f3),new Map()),_0xc84b25(this,'_colorIndex',0x0);}[_0x1b3145(0x2f9)](_0x35147e){const _0x5705fa=_0x1b3145;if(this[_0x5705fa(0x1f3)]['has'](_0x35147e))return this[_0x5705fa(0x1f3)]['get'](_0x35147e);const _0x392980=_0x21771f[this['_colorIndex']];return this[_0x5705fa(0x267)]=(this['_colorIndex']+0x1)%_0x21771f[_0x5705fa(0x2e0)],this[_0x5705fa(0x1f3)][_0x5705fa(0x102)](_0x35147e,_0x392980),_0x392980;}}function _0x4663a4(_0x18b659){const _0x2d74f4=_0x1b3145;let _0x59f1f5='';for(const _0x48ca12 of _0x18b659){const {startOffset:_0x27cd1f,endOffset:_0x4156ec,isActive:_0xca8fb,rangeType:_0x488ff2,segmentId:_0x333c87,segmentPage:_0x52a5dd}=_0x48ca12;_0x59f1f5[_0x2d74f4(0x2e0)]&&(_0x59f1f5+=','),_0x59f1f5+=_0x27cd1f+':'+_0x4156ec+':'+(_0xca8fb?'1':'0')+':'+_0x488ff2+':'+_0x333c87+':'+_0x52a5dd;}return _0x59f1f5;}function _0x161316(_0xb7ab7b){const _0x2c30cd=_0x1b3145,_0xbe0474=_0xb7ab7b['split'](','),_0x13267b=[];for(const _0x5c9f6a of _0xbe0474){const [_0x308930,_0x5c68b2,_0x56de6f,_0x860747,_0x46aabd,_0x3a34fa]=_0x5c9f6a[_0x2c30cd(0x32a)](':');_0x13267b[_0x2c30cd(0x2ea)]({'startOffset':Number(_0x308930),'endOffset':Number(_0x5c68b2),'collapsed':_0x308930===_0x5c68b2,'isActive':_0x56de6f==='1','rangeType':_0x860747===_0x3238b4[_0x2c30cd(0x2de)][_0x2c30cd(0x310)]?_0x3238b4[_0x2c30cd(0x2de)][_0x2c30cd(0x310)]:_0x3238b4[_0x2c30cd(0x2de)][_0x2c30cd(0x238)],'segmentId':typeof _0x46aabd==_0x2c30cd(0x12e)?String(_0x46aabd):'','segmentPage':Number(_0x3a34fa!=null?_0x3a34fa:-0x1)});}return _0x13267b[_0x2c30cd(0x1f6)](_0xee258e=>_0xee258e[_0x2c30cd(0x31c)])||(_0x13267b[0x0][_0x2c30cd(0x31c)]=!0x0),_0x13267b;}class _0x464ecb extends _0x3238b4[_0x1b3145(0x218)]{constructor(){const _0x24df07=_0x1b3145;super(...arguments),_0xc84b25(this,_0x24df07(0x171),new _0x1c6f00[(_0x24df07(0x278))](null)),_0xc84b25(this,_0x24df07(0x194),this[_0x24df07(0x171)]['asObservable']());}[_0x1b3145(0x121)](_0x4747c8){const _0x5746c7=_0x1b3145,{unitID:_0x13568c,memberID:_0x3fc43f,textRanges:_0x70d1b8}=_0x4747c8,_0x1091a0=_0x4663a4(_0x70d1b8);if(_0x1091a0==='')return;const _0x537349={'unitID':_0x13568c,'memberID':_0x3fc43f,'selection':_0x1091a0};this[_0x5746c7(0x171)][_0x5746c7(0x173)](_0x537349);}}var _0x2610c1=Object[_0x1b3145(0x270)],_0x1dddbc=(_0x169acf,_0x1cd17a,_0x429fa3,_0x2436a8)=>{const _0x5dbc24=_0x1b3145;for(var _0x36a5ef=_0x2436a8>0x1?void 0x0:_0x2436a8?_0x2610c1(_0x1cd17a,_0x429fa3):_0x1cd17a,_0x58955f=_0x169acf[_0x5dbc24(0x2e0)]-0x1,_0x220e58;_0x58955f>=0x0;_0x58955f--)(_0x220e58=_0x169acf[_0x58955f])&&(_0x36a5ef=_0x220e58(_0x36a5ef)||_0x36a5ef);return _0x36a5ef;},_0x18e964=(_0x3e5262,_0x5f4309)=>(_0x15166e,_0x68155)=>_0x5f4309(_0x15166e,_0x68155,_0x3e5262);const _0x75096e=0x12c,_0x469a3c=0x64;let _0x5db392=class extends _0x3238b4['RxDisposable']{constructor(_0x665de9,_0xe4c65,_0x4ca1c4,_0x259efa,_0x307a15,_0x4d50f4,_0x3708b0,_0xfb6024,_0xfc9be4){const _0x654365=_0x1b3145;super(),_0xc84b25(this,'_online',!0x1),_0xc84b25(this,'_init',!0x1),_0xc84b25(this,_0x654365(0x11e),new _0x1c6f00[(_0x654365(0x278))](new Map())),_0xc84b25(this,_0x654365(0x281),this['_cursorInfo$'][_0x654365(0x29b)]()),_0xc84b25(this,_0x654365(0x371),new _0x1c6f00[(_0x654365(0x278))]([])),_0xc84b25(this,'roomMembers$',this[_0x654365(0x371)][_0x654365(0x30e)](_0x1c6f00[_0x654365(0x293)](_0x75096e))),_0xc84b25(this,_0x654365(0x167),_0x3238b4['debounce'](_0x11de91=>{const _0x459e11=_0x654365,_0x509fa6={'eventID':_0x57c8d5[_0x459e11(0x36d)][_0x459e11(0x12d)],'data':{'unitID':this[_0x459e11(0x399)],'memberID':this[_0x459e11(0x131)][_0x459e11(0x1d4)](),'selection':_0x4663a4(_0x11de91)}};this[_0x459e11(0x131)][_0x459e11(0x361)](_0x509fa6,this['unitID']);},_0x469a3c)),(this[_0x654365(0x399)]=_0x665de9,this['_session']=_0xe4c65,this['_injector']=_0x4ca1c4,this[_0x654365(0x2a3)]=_0x259efa,this['_memberService']=_0x307a15,this[_0x654365(0x3ad)]=_0x4d50f4,this[_0x654365(0x2f1)]=_0x3708b0,this[_0x654365(0x260)]=_0xfb6024,this[_0x654365(0x2ba)]=_0xfc9be4);}get['cursorInfo'](){const _0x226c9d=_0x1b3145;return this[_0x226c9d(0x11e)][_0x226c9d(0x205)]();}get[_0x1b3145(0x345)](){const _0x5902dd=_0x1b3145;return this['_roomMembers$'][_0x5902dd(0x205)]();}[_0x1b3145(0x26b)](){const _0x4d8900=_0x1b3145;super['dispose'](),this['_cursorInfo$'][_0x4d8900(0x173)](new Map()),this[_0x4d8900(0x11e)][_0x4d8900(0x3ae)](),this[_0x4d8900(0x371)][_0x4d8900(0x173)]([]),this[_0x4d8900(0x371)]['complete']();}[_0x1b3145(0x303)](){const _0x1bcfbb=_0x1b3145;this[_0x1bcfbb(0x1a0)]||(this[_0x1bcfbb(0x1a0)]=!0x0,this[_0x1bcfbb(0x131)][_0x1bcfbb(0x201)][_0x1bcfbb(0x30e)](_0x1c6f00[_0x1bcfbb(0xff)](this['dispose$']))[_0x1bcfbb(0x175)](_0x407fb3=>{const _0x6ac5cc=_0x1bcfbb;_0x407fb3===_0x562098[_0x6ac5cc(0x2c3)][_0x6ac5cc(0x3bb)]?this[_0x6ac5cc(0x20e)]():this['_toggleOffline']();}),this[_0x1bcfbb(0x131)]['event$'][_0x1bcfbb(0x30e)](_0x1c6f00[_0x1bcfbb(0xff)](this['dispose$']))[_0x1bcfbb(0x175)](_0x17ba8f=>{const _0x43c15d=_0x1bcfbb,_0xe0136a=_0x17ba8f[_0x43c15d(0x3a5)];_0xe0136a===_0x57c8d5[_0x43c15d(0x36d)][_0x43c15d(0x12d)]&&this[_0x43c15d(0x2d5)](_0x17ba8f),_0xe0136a===_0x57c8d5['CollaborationEvent'][_0x43c15d(0x380)]&&this[_0x43c15d(0x351)](_0x17ba8f);}),this[_0x1bcfbb(0x287)](this[_0x1bcfbb(0x2ba)][_0x1bcfbb(0x106)](_0x4071e6=>{const _0x54debf=_0x1bcfbb,_0x2fd831=_0x4071e6['params'];_0x2fd831!=null&&this[_0x54debf(0x3a8)]&&_0x4071e6['id']===_0xf153d4[_0x54debf(0x2cc)]['id']&&_0x2fd831[_0x54debf(0x24d)]===this[_0x54debf(0x399)]&&_0x2fd831[_0x54debf(0x32b)]===!0x1&&_0x2fd831['ranges'][_0x54debf(0x2e0)]>0x0&&this[_0x54debf(0x167)](_0x2fd831[_0x54debf(0x2ec)]);})),this['_syncEditingCollabCursorService'][_0x1bcfbb(0x194)]['pipe'](_0x1c6f00[_0x1bcfbb(0xff)](this[_0x1bcfbb(0x1a6)]))[_0x1bcfbb(0x175)](_0x2c727f=>{const _0xc3210a=_0x1bcfbb;if((_0x2c727f==null?void 0x0:_0x2c727f['unitID'])!==this[_0xc3210a(0x399)])return;const _0xaf760a={'eventID':_0x57c8d5[_0xc3210a(0x36d)][_0xc3210a(0x12d)],'data':_0x2c727f};this['_onCursorUpdate'](_0xaf760a);}),this[_0x1bcfbb(0x287)](this[_0x1bcfbb(0x2ba)]['onCommandExecuted'](_0x13bfc6=>{const _0x3bcc44=_0x1bcfbb;if(_0x13bfc6[_0x3bcc44(0x21b)]==null)return;const _0x46e9fd=_0x13bfc6['params'];if(_0x13bfc6['id']!==_0xf153d4[_0x3bcc44(0x264)]['id']||_0x46e9fd['unitId']!==this['unitID'])return;const _0x512464={'id':_0x3bcc44(0x266),'params':_0x46e9fd},_0x521b8d=this[_0x3bcc44(0x38f)];for(const [_0x49f1d8,_0x394c50]of _0x521b8d){const _0x3afb96={'id':_0x3bcc44(0x266),'params':{'unitId':this[_0x3bcc44(0x399)],'actions':null,'textRanges':_0x394c50[_0x3bcc44(0x2ec)]}},_0x1db40a=this['_transformService'][_0x3bcc44(0x331)](_0x512464,_0x3afb96,!0x1);if(_0x57c8d5['isTransformMutationFailure'](_0x1db40a))throw _0x1db40a[_0x3bcc44(0x1a7)];_0x521b8d[_0x3bcc44(0x102)](_0x49f1d8,{..._0x394c50,'ranges':_0x1db40a[_0x3bcc44(0x224)][_0x3bcc44(0x21b)][_0x3bcc44(0x174)]});}queueMicrotask(()=>{const _0x33ff38=_0x3bcc44;this[_0x33ff38(0x11e)]['next'](_0x521b8d);});})));}[_0x1b3145(0x2d5)](_0x45c587){const _0x1ac38c=_0x1b3145;var _0x56a9bc,_0xc1316f;const {memberID:_0x518f3b,selection:_0x1bc230}=_0x45c587[_0x1ac38c(0x1bb)],_0x46a5a8=_0x161316(_0x1bc230),_0x2094d8=(_0xc1316f=(_0x56a9bc=this['_memberService'][_0x1ac38c(0x1a2)](this[_0x1ac38c(0x399)],_0x518f3b))==null?void 0x0:_0x56a9bc[_0x1ac38c(0x250)])!=null?_0xc1316f:_0x1ac38c(0x212),_0x181daf={'color':this[_0x1ac38c(0x2a3)]['assignAColorForMemberID'](_0x518f3b),'name':_0x2094d8,'ranges':_0x46a5a8},_0x3e0846=this[_0x1ac38c(0x38f)];_0x3e0846['set'](_0x518f3b,_0x181daf),this[_0x1ac38c(0x11e)][_0x1ac38c(0x173)](_0x3e0846);}[_0x1b3145(0x351)](_0x229cc1){const _0x25d473=_0x1b3145,{memberID:_0x1a856b}=_0x229cc1[_0x25d473(0x1bb)],_0x38f7b7=this['cursorInfo'];_0x38f7b7[_0x25d473(0x2d4)](_0x1a856b),this[_0x25d473(0x11e)][_0x25d473(0x173)](_0x38f7b7);}[_0x1b3145(0x20e)](){const _0x34259e=_0x1b3145;var _0x55b41e;if(this[_0x34259e(0x3a8)]=!0x0,((_0x55b41e=this[_0x34259e(0x260)][_0x34259e(0x2f3)]())==null?void 0x0:_0x55b41e['getUnitId']())!==this[_0x34259e(0x399)])return;const _0x28656b=this[_0x34259e(0x275)]['get'](_0xf153d4['DocSelectionManagerService'])['getDocRanges']();Array[_0x34259e(0x3cd)](_0x28656b)&&_0x28656b[_0x34259e(0x2e0)]>0x0&&this[_0x34259e(0x167)](_0x28656b);}[_0x1b3145(0x3a3)](){const _0x352047=_0x1b3145;this[_0x352047(0x3a8)]=!0x1;}};_0x5db392=_0x1dddbc([_0x18e964(0x2,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x347)])),_0x18e964(0x3,_0x3238b4[_0x1b3145(0x146)](_0x29a11f)),_0x18e964(0x4,_0x3238b4[_0x1b3145(0x146)](_0x562098[_0x1b3145(0x363)])),_0x18e964(0x5,_0x3238b4['Inject'](_0x464ecb)),_0x18e964(0x6,_0x57c8d5[_0x1b3145(0x2da)]),_0x18e964(0x7,_0x3238b4['IUniverInstanceService']),_0x18e964(0x8,_0x3238b4[_0x1b3145(0x1c7)])],_0x5db392);var _0x5c8842=Object[_0x1b3145(0x270)],_0x45a398=(_0x1056e4,_0x4bd44f,_0x2ce2f2,_0xf1fbff)=>{const _0x537159=_0x1b3145;for(var _0x4da86f=_0xf1fbff>0x1?void 0x0:_0xf1fbff?_0x5c8842(_0x4bd44f,_0x2ce2f2):_0x4bd44f,_0x187980=_0x1056e4[_0x537159(0x2e0)]-0x1,_0x336aa9;_0x187980>=0x0;_0x187980--)(_0x336aa9=_0x1056e4[_0x187980])&&(_0x4da86f=_0x336aa9(_0x4da86f)||_0x4da86f);return _0x4da86f;},_0x52a122=(_0x19f4b0,_0x48ee77)=>(_0x502b33,_0x4e59dd)=>_0x48ee77(_0x502b33,_0x4e59dd,_0x19f4b0);const _0x4cf5ed=0x12c,_0xe76dfd=0x64,_0x4a167e=()=>{let _0x4f0c53=[],_0x6db817=!0x1;return _0x364ed5=>{const _0x5df27b=_0x1014;_0x4f0c53[_0x5df27b(0x2ea)](_0x364ed5),_0x6db817||(_0x6db817=!0x0,setTimeout(()=>{const _0x4c7e9a=_0x5df27b;_0x4f0c53[_0x4c7e9a(0x360)](_0xd32e7a=>_0xd32e7a()),_0x4f0c53=[],_0x6db817=!0x1;}));};};let _0x26790a=class extends _0x3238b4[_0x1b3145(0x218)]{constructor(_0x36e74f,_0x2dd217,_0x2495ef,_0x3903d2,_0x49d05e,_0x3319b2,_0x4957ac,_0x432f2d){const _0x4e0bd9=_0x1b3145;super(),_0xc84b25(this,_0x4e0bd9(0x3a8),!0x1),_0xc84b25(this,_0x4e0bd9(0x1a0),!0x1),_0xc84b25(this,_0x4e0bd9(0x11e),new _0x1c6f00[(_0x4e0bd9(0x278))](new Map())),_0xc84b25(this,_0x4e0bd9(0x281),this[_0x4e0bd9(0x11e)][_0x4e0bd9(0x29b)]()),_0xc84b25(this,_0x4e0bd9(0x371),new _0x1c6f00[(_0x4e0bd9(0x278))]([])),_0xc84b25(this,_0x4e0bd9(0x125),this[_0x4e0bd9(0x371)][_0x4e0bd9(0x30e)](_0x1c6f00[_0x4e0bd9(0x293)](_0x4cf5ed))),_0xc84b25(this,'_updateLocalCursor',_0x3238b4[_0x4e0bd9(0x21a)]((_0xecf055,_0x460bd1)=>{const _0xe1e1fe=_0x4e0bd9,_0x162b58={'eventID':_0x57c8d5[_0xe1e1fe(0x36d)][_0xe1e1fe(0x12d)],'data':{'unitID':this[_0xe1e1fe(0x399)],'memberID':this['_session']['getMemberID'](),'selection':_0x2de62[_0xe1e1fe(0x14e)](_0xecf055,_0x460bd1[_0xe1e1fe(0x233)])}};this[_0xe1e1fe(0x131)][_0xe1e1fe(0x361)](_0x162b58,this[_0xe1e1fe(0x399)]);},_0xe76dfd)),(this[_0x4e0bd9(0x399)]=_0x36e74f,this[_0x4e0bd9(0x131)]=_0x2dd217,this[_0x4e0bd9(0x275)]=_0x2495ef,this[_0x4e0bd9(0x2a3)]=_0x3903d2,this['_memberService']=_0x49d05e,this[_0x4e0bd9(0x260)]=_0x3319b2,this[_0x4e0bd9(0x2ba)]=_0x4957ac,this[_0x4e0bd9(0x30b)]=_0x432f2d);}get[_0x1b3145(0x38f)](){const _0x333a8b=_0x1b3145;return this['_cursorInfo$'][_0x333a8b(0x205)]();}get[_0x1b3145(0x345)](){const _0x1febbc=_0x1b3145;return this[_0x1febbc(0x371)][_0x1febbc(0x205)]();}[_0x1b3145(0x26b)](){const _0x5943cf=_0x1b3145;super[_0x5943cf(0x26b)](),this[_0x5943cf(0x11e)]['next'](new Map()),this[_0x5943cf(0x11e)][_0x5943cf(0x3ae)](),this['_roomMembers$'][_0x5943cf(0x173)]([]),this[_0x5943cf(0x371)][_0x5943cf(0x3ae)]();}[_0x1b3145(0x303)](){const _0x1740ed=_0x1b3145;this[_0x1740ed(0x1a0)]||(this[_0x1740ed(0x1a0)]=!0x0,this[_0x1740ed(0x131)][_0x1740ed(0x201)][_0x1740ed(0x30e)](_0x1c6f00[_0x1740ed(0xff)](this[_0x1740ed(0x1a6)]))[_0x1740ed(0x175)](_0x4254e1=>{const _0x19c8e8=_0x1740ed;_0x4254e1===_0x562098[_0x19c8e8(0x2c3)][_0x19c8e8(0x3bb)]?this[_0x19c8e8(0x20e)]():this[_0x19c8e8(0x3a3)]();}),this[_0x1740ed(0x131)][_0x1740ed(0x29a)][_0x1740ed(0x30e)](_0x1c6f00[_0x1740ed(0xff)](this[_0x1740ed(0x1a6)]))[_0x1740ed(0x175)](_0x5e1835=>{const _0x1464d0=_0x1740ed,_0x1f9ba4=_0x5e1835[_0x1464d0(0x3a5)];_0x1f9ba4===_0x57c8d5['CollaborationEvent'][_0x1464d0(0x12d)]&&this[_0x1464d0(0x2d5)](_0x5e1835),_0x1f9ba4===_0x57c8d5[_0x1464d0(0x36d)]['USERS_LEAVE']&&this[_0x1464d0(0x351)](_0x5e1835);}),this[_0x1740ed(0x36a)](),this[_0x1740ed(0x287)](this['_commandService']['onCommandExecuted'](_0x2c0349=>{const _0x4a470e=_0x1740ed;if(this[_0x4a470e(0x3a8)]&&_0x2c0349['id']===_0x3ed8fc[_0x4a470e(0x209)]['id']&&_0x2c0349[_0x4a470e(0x21b)][_0x4a470e(0x24d)]===this[_0x4a470e(0x399)]){const _0x36874a=_0x2c0349[_0x4a470e(0x21b)];this[_0x4a470e(0x167)](_0x36874a[_0x4a470e(0x1f4)],_0x36874a[_0x4a470e(0x248)][0x0]);}})));}[_0x1b3145(0x2d5)](_0x37cf85){const _0x587f7f=_0x1b3145;var _0x509e9b,_0x5dfdca;const {memberID:_0x5e6704,selection:_0x2a87ed}=_0x37cf85['data'],{sheetName:_0x132fe5,range:_0xa3fc19}=_0x2de62[_0x587f7f(0x2df)](_0x2a87ed),_0x2baf2d={'name':(_0x5dfdca=(_0x509e9b=this['_memberService']['getMember'](this[_0x587f7f(0x399)],_0x5e6704))==null?void 0x0:_0x509e9b[_0x587f7f(0x250)])!=null?_0x5dfdca:_0x587f7f(0x212),'range':this[_0x587f7f(0x235)](_0x132fe5,_0xa3fc19),'sheetID':_0x132fe5,'color':this[_0x587f7f(0x2a3)][_0x587f7f(0x2f9)](_0x5e6704),'selection':_0x2a87ed},_0x342cd6=this[_0x587f7f(0x38f)];_0x342cd6[_0x587f7f(0x102)](_0x5e6704,_0x2baf2d),this[_0x587f7f(0x11e)]['next'](_0x342cd6);}[_0x1b3145(0x351)](_0x93e921){const _0x443de2=_0x1b3145,{memberID:_0x187315}=_0x93e921[_0x443de2(0x1bb)],_0x22ad42=this['cursorInfo'];_0x22ad42[_0x443de2(0x2d4)](_0x187315),this[_0x443de2(0x11e)][_0x443de2(0x173)](_0x22ad42);}[_0x1b3145(0x235)](_0x1c5577,_0x7de27b){const _0x160760=_0x1b3145;var _0x5b46b9,_0x5ad2c9;const _0x25da47=(_0x5ad2c9=(_0x5b46b9=this[_0x160760(0x260)][_0x160760(0x160)](this[_0x160760(0x399)]))==null?void 0x0:_0x5b46b9[_0x160760(0x3cf)](_0x1c5577))==null?void 0x0:_0x5ad2c9[_0x160760(0x1d3)]();return(_0x25da47==null?void 0x0:_0x25da47[_0x160760(0x263)](_0x4c776b=>_0x3238b4[_0x160760(0x29e)][_0x160760(0x27a)](_0x4c776b,_0x7de27b)))||_0x7de27b;}[_0x1b3145(0x36a)](){const _0x12fe8c=_0x1b3145,_0x3bc556=new _0x3238b4[(_0x12fe8c(0x2b1))](),_0x10a8d8=_0x4a167e(),_0x33eb13=()=>{const _0x4d7b70=_0x12fe8c;_0x3bc556['dispose']();const _0x171c88=(_0x515eac,_0x193e63,_0x57ea25,_0x1c5639)=>{const _0xc7c252=_0x1014;let _0x11a297=[];switch(_0x515eac['id']){case _0x3ed8fc[_0xc7c252(0x2dc)][_0xc7c252(0x13f)]:{_0x11a297=_0x3ed8fc[_0xc7c252(0x1c2)](_0x515eac,_0x1c5639);break;}case _0x3ed8fc['EffectRefRangId'][_0xc7c252(0x2b5)]:{_0x11a297=_0x3ed8fc[_0xc7c252(0x22e)](_0x515eac,_0x1c5639);break;}case _0x3ed8fc['EffectRefRangId']['InsertColCommandId']:{_0x11a297=_0x3ed8fc[_0xc7c252(0x337)](_0x515eac,_0x1c5639);break;}case _0x3ed8fc[_0xc7c252(0x2dc)]['InsertRangeMoveDownCommandId']:{_0x11a297=_0x3ed8fc[_0xc7c252(0x1fb)](_0x515eac,_0x1c5639);break;}case _0x3ed8fc[_0xc7c252(0x2dc)][_0xc7c252(0x1c4)]:{_0x11a297=_0x3ed8fc[_0xc7c252(0x3a6)](_0x515eac,_0x1c5639);break;}case _0x3ed8fc[_0xc7c252(0x2dc)]['InsertRowCommandId']:{_0x11a297=_0x3ed8fc['handleInsertRow'](_0x515eac,_0x1c5639);break;}case _0x3ed8fc[_0xc7c252(0x2dc)][_0xc7c252(0x25b)]:{_0x11a297=_0x3ed8fc[_0xc7c252(0x144)](_0x515eac,_0x1c5639);break;}case _0x3ed8fc['EffectRefRangId'][_0xc7c252(0x302)]:{_0x11a297=_0x3ed8fc[_0xc7c252(0x274)](_0x515eac,_0x1c5639);break;}case _0x3ed8fc[_0xc7c252(0x2dc)][_0xc7c252(0x161)]:{_0x11a297=_0x3ed8fc[_0xc7c252(0x3c1)](_0x515eac,_0x1c5639);break;}}const _0x1e8e85=_0x3ed8fc[_0xc7c252(0x1ee)](_0x11a297,_0x1c5639),_0x4a86b8=this['cursorInfo'][_0xc7c252(0x111)](_0x193e63);if(_0x4a86b8&&_0x1e8e85){const _0x5c2fae={..._0x4a86b8,'range':_0x1e8e85};this[_0xc7c252(0x38f)]['set'](_0x193e63,_0x5c2fae),_0x10a8d8(()=>{const _0x357560=_0xc7c252,_0x38a13a=this[_0x357560(0x30b)]['registerRefRange'](_0x1e8e85,_0x58de67=>(_0x38a13a[_0x357560(0x26b)](),_0x171c88(_0x58de67,_0x193e63,_0x57ea25,_0x1e8e85)));_0x3bc556[_0x357560(0x2bf)](_0x38a13a);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4d7b70(0x360)]((_0x5b619b,_0xdae53c)=>{const _0x288a0f=_0x4d7b70,{range:_0x3bee64,sheetID:_0xea4f35}=_0x5b619b,_0x2c5936=this[_0x288a0f(0x30b)][_0x288a0f(0x172)](_0x3bee64,_0x4efb78=>(_0x2c5936[_0x288a0f(0x26b)](),_0x171c88(_0x4efb78,_0xdae53c,_0xea4f35,_0x3bee64)));_0x3bc556['add'](_0x2c5936);});};this[_0x12fe8c(0x287)](_0x3238b4[_0x12fe8c(0x2e5)](this[_0x12fe8c(0x11e)][_0x12fe8c(0x175)](()=>{_0x33eb13();})));}[_0x1b3145(0x20e)](){const _0x15e4c9=_0x1b3145;var _0x3341eb,_0x2ba904;if(this[_0x15e4c9(0x3a8)]=!0x0,((_0x3341eb=this[_0x15e4c9(0x260)]['getFocusedUnit']())==null?void 0x0:_0x3341eb[_0x15e4c9(0x259)]())!==this[_0x15e4c9(0x399)])return;const _0x121978=(_0x2ba904=this[_0x15e4c9(0x275)][_0x15e4c9(0x111)](_0x3ed8fc[_0x15e4c9(0x324)])[_0x15e4c9(0x3ab)]())==null?void 0x0:_0x2ba904[0x0],_0x136562=this[_0x15e4c9(0x260)][_0x15e4c9(0x271)](_0x3238b4['UniverInstanceType'][_0x15e4c9(0x12b)])[_0x15e4c9(0x368)]();_0x121978&&_0x136562&&this[_0x15e4c9(0x167)](_0x136562[_0x15e4c9(0x1d2)](),_0x121978);}[_0x1b3145(0x3a3)](){this['_online']=!0x1;}};_0x26790a=_0x45a398([_0x52a122(0x2,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x347)])),_0x52a122(0x3,_0x3238b4[_0x1b3145(0x146)](_0x29a11f)),_0x52a122(0x4,_0x3238b4[_0x1b3145(0x146)](_0x562098['MemberService'])),_0x52a122(0x5,_0x3238b4[_0x1b3145(0x2be)]),_0x52a122(0x6,_0x3238b4[_0x1b3145(0x1c7)]),_0x52a122(0x7,_0x3238b4[_0x1b3145(0x146)](_0x3ed8fc[_0x1b3145(0x37e)]))],_0x26790a);var _0x24d87d=Object[_0x1b3145(0x270)],_0x1866d4=(_0x1503a3,_0x22356d,_0x510949,_0x13fa2a)=>{const _0x1c4787=_0x1b3145;for(var _0xced473=_0x13fa2a>0x1?void 0x0:_0x13fa2a?_0x24d87d(_0x22356d,_0x510949):_0x22356d,_0x5b664d=_0x1503a3[_0x1c4787(0x2e0)]-0x1,_0x50b455;_0x5b664d>=0x0;_0x5b664d--)(_0x50b455=_0x1503a3[_0x5b664d])&&(_0xced473=_0x50b455(_0xced473)||_0xced473);return _0xced473;},_0x41c665=(_0xaa3e67,_0x862609)=>(_0x5c01eb,_0x2c233d)=>_0x862609(_0x5c01eb,_0x2c233d,_0xaa3e67);let _0xf2e975=class extends _0x3238b4[_0x1b3145(0x218)]{constructor(_0x364d44,_0x398f15,_0xf7f934){const _0x4d2138=_0x1b3145;super(),_0xc84b25(this,_0x4d2138(0x255),new Map()),_0xc84b25(this,_0x4d2138(0x26d),new _0x1c6f00[(_0x4d2138(0x3b8))]()),(this[_0x4d2138(0x260)]=_0x364d44,this['_injector']=_0x398f15,this[_0x4d2138(0x2a6)]=_0xf7f934,this[_0x4d2138(0x1a0)]());}[_0x1b3145(0x26b)](){const _0x5dee7c=_0x1b3145;super[_0x5dee7c(0x26b)](),this[_0x5dee7c(0x26d)]['complete'](),this[_0x5dee7c(0x255)][_0x5dee7c(0x360)](_0x37403e=>_0x37403e[_0x5dee7c(0x26b)]());}[_0x1b3145(0x152)](_0x3c23fc){const _0x355a6b=_0x1b3145;return this['_entities'][_0x355a6b(0x305)](_0x3c23fc)?this[_0x355a6b(0x255)]['get'](_0x3c23fc)[_0x355a6b(0x281)]:this[_0x355a6b(0x26d)]['pipe'](_0x1c6f00[_0x355a6b(0x1b5)](_0x37f30e=>_0x37f30e[_0x355a6b(0x399)]===_0x3c23fc),_0x1c6f00[_0x355a6b(0x2fb)](_0x3c2520=>_0x3c2520[_0x355a6b(0x281)]));}[_0x1b3145(0x1a0)](){const _0x11ccc8=_0x1b3145;this[_0x11ccc8(0x260)][_0x11ccc8(0x147)](_0x3238b4[_0x11ccc8(0x1a5)][_0x11ccc8(0x12b)])[_0x11ccc8(0x30e)](_0x1c6f00[_0x11ccc8(0xff)](this[_0x11ccc8(0x1a6)]))[_0x11ccc8(0x175)](async _0x5d1f99=>{const _0x346c41=_0x11ccc8,_0x12964b=_0x5d1f99[_0x346c41(0x259)](),_0x50df83=await this[_0x346c41(0x364)](_0x12964b);this['_entityInit$'][_0x346c41(0x173)](_0x50df83),this['_entities'][_0x346c41(0x102)](_0x12964b,_0x50df83);}),this[_0x11ccc8(0x260)][_0x11ccc8(0x147)](_0x3238b4['UniverInstanceType'][_0x11ccc8(0x181)])[_0x11ccc8(0x30e)](_0x1c6f00[_0x11ccc8(0xff)](this[_0x11ccc8(0x1a6)]))[_0x11ccc8(0x30e)](_0x1c6f00[_0x11ccc8(0x1b5)](_0x223f2e=>!_0x223f2e[_0x11ccc8(0x259)]()[_0x11ccc8(0x2ce)]('__')))[_0x11ccc8(0x175)](async _0x4d9669=>{const _0x1340bd=_0x11ccc8,_0x57bb00=_0x4d9669[_0x1340bd(0x259)](),_0x12932e=await this[_0x1340bd(0x258)](_0x57bb00);this[_0x1340bd(0x26d)][_0x1340bd(0x173)](_0x12932e),this[_0x1340bd(0x255)][_0x1340bd(0x102)](_0x57bb00,_0x12932e);}),_0x1c6f00['merge'](this[_0x11ccc8(0x260)]['getTypeOfUnitDisposed$'](_0x3238b4[_0x11ccc8(0x1a5)][_0x11ccc8(0x181)]),this['_univerInstanceService'][_0x11ccc8(0x24e)](_0x3238b4[_0x11ccc8(0x1a5)][_0x11ccc8(0x12b)]))['pipe'](_0x1c6f00[_0x11ccc8(0xff)](this[_0x11ccc8(0x1a6)]))[_0x11ccc8(0x175)](_0x528a0d=>{const _0x5eb147=_0x11ccc8,_0x44b6c8=_0x528a0d[_0x5eb147(0x259)](),_0x459ab4=this[_0x5eb147(0x255)][_0x5eb147(0x111)](_0x44b6c8);_0x459ab4&&(_0x459ab4[_0x5eb147(0x26b)](),this['_entities'][_0x5eb147(0x2d4)](_0x44b6c8));});}async[_0x1b3145(0x364)](_0x51c2bd){const _0xd79a4f=_0x1b3145,_0x4c4746=await this[_0xd79a4f(0x2a6)]['requireSession'](_0x51c2bd),_0x4c02ce=this['_injector'][_0xd79a4f(0x261)](_0x26790a,_0x51c2bd,_0x4c4746);return _0x4c02ce[_0xd79a4f(0x303)](),_0x4c02ce;}async[_0x1b3145(0x258)](_0x4fe652){const _0x30c46c=_0x1b3145,_0x12f778=await this[_0x30c46c(0x2a6)][_0x30c46c(0x2d7)](_0x4fe652),_0x34773a=this[_0x30c46c(0x275)]['createInstance'](_0x5db392,_0x4fe652,_0x12f778);return _0x34773a[_0x30c46c(0x303)](),_0x34773a;}};_0xf2e975=_0x1866d4([_0x41c665(0x0,_0x3238b4[_0x1b3145(0x2be)]),_0x41c665(0x1,_0x3238b4['Inject'](_0x3238b4[_0x1b3145(0x347)])),_0x41c665(0x2,_0x3238b4[_0x1b3145(0x146)](_0x562098[_0x1b3145(0x13b)]))],_0xf2e975);const _0x1a445f=0x14,_0x2026f3=0xc8,_0x2d1835=0x4,_0x2847fb=0x5;function _0x2f4e2d(_0x133180,_0x582f50){const _0xf02f57=_0x1b3145;let {radius:_0xb30741,width:_0x2022c7,height:_0x4c6658}=_0x582f50;_0xb30741=_0xb30741!=null?_0xb30741:0x0,_0x2022c7=_0x2022c7!=null?_0x2022c7:0x1e,_0x4c6658=_0x4c6658!=null?_0x4c6658:0x1e;let _0x5a47fe=0x0,_0x177080=0x0,_0x4952e0=0x0;_0x5a47fe=_0x177080=_0x4952e0=Math['min'](_0xb30741,_0x2022c7/0x2,_0x4c6658/0x2),_0x133180[_0xf02f57(0x166)](),_0x133180[_0xf02f57(0x2a8)](_0x5a47fe,0x0),_0x133180[_0xf02f57(0x373)](_0x2022c7-_0x177080,0x0),_0x133180[_0xf02f57(0x25f)](_0x2022c7-_0x177080,_0x177080,_0x177080,Math['PI']*0x3/0x2,0x0,!0x1),_0x133180['lineTo'](_0x2022c7,_0x4c6658-_0x4952e0),_0x133180[_0xf02f57(0x25f)](_0x2022c7-_0x4952e0,_0x4c6658-_0x4952e0,_0x4952e0,0x0,Math['PI']/0x2,!0x1),_0x133180[_0xf02f57(0x373)](0x0,_0x4c6658),_0x133180['lineTo'](0x0,_0x5a47fe),_0x133180['arc'](_0x5a47fe,_0x5a47fe,_0x5a47fe,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x133180[_0xf02f57(0x19a)](),_0x582f50['fill']&&(_0x133180[_0xf02f57(0x139)](),_0x133180['fillStyle']=_0x582f50[_0xf02f57(0x1d5)],_0x582f50[_0xf02f57(0x39a)]===_0xf02f57(0x16c)?_0x133180[_0xf02f57(0x1d5)]('evenodd'):_0x133180[_0xf02f57(0x1d5)](),_0x133180[_0xf02f57(0x35f)]());}class _0x2e4121 extends _0xcb617a[_0x1b3145(0x168)]{constructor(_0x444ebd,_0x4b815b){const _0x3b6004=_0x1b3145;super(_0x444ebd,_0x4b815b),_0xc84b25(this,'color'),_0xc84b25(this,'text'),(this[_0x3b6004(0x19f)]=_0x4b815b==null?void 0x0:_0x4b815b[_0x3b6004(0x19f)],this[_0x3b6004(0x2f5)]=_0x4b815b==null?void 0x0:_0x4b815b['text']);}static[_0x1b3145(0x2d3)](_0x936e93,_0x138ec7){const _0x4455b6=_0x1b3145,{text:_0x29533e,color:_0x4b1166}=_0x138ec7;_0x936e93['save'](),_0x936e93['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1aeafe=_0x936e93['measureText'](_0x29533e)[_0x4455b6(0x200)],_0x3fd77f=Math['min'](_0x1aeafe+0x2*_0x2d1835,_0x2026f3);_0x2f4e2d(_0x936e93,{'height':_0x1a445f,'radius':0x4,'width':_0x3fd77f,'fill':_0x4b1166}),_0x936e93[_0x4455b6(0x2db)]=_0x4455b6(0x1ab);const _0x38eab5=_0x2d1835,_0x4808a3=_0x1a445f-_0x2847fb,_0x338030=_0x2026f3-0x2*_0x2d1835;if(_0x1aeafe>_0x338030){let _0x3e3369='',_0x181a50=0x0;for(const _0x3b1ab9 of _0x29533e){const _0x42f38c=_0x936e93[_0x4455b6(0x28b)](_0x3b1ab9)[_0x4455b6(0x200)];if(_0x181a50+_0x42f38c<=_0x338030-_0x936e93[_0x4455b6(0x28b)]('...')[_0x4455b6(0x200)])_0x3e3369+=_0x3b1ab9,_0x181a50+=_0x42f38c;else{_0x3e3369+=_0x4455b6(0x273);break;}}_0x936e93[_0x4455b6(0x32f)](_0x3e3369,_0x38eab5,_0x4808a3);}else _0x936e93[_0x4455b6(0x32f)](_0x29533e,_0x38eab5,_0x4808a3);_0x936e93[_0x4455b6(0x35f)]();}['_draw'](_0xd3dd0f){const _0x2b69ef=_0x1b3145;_0x2e4121[_0x2b69ef(0x2d3)](_0xd3dd0f,this);}}const _0x48a5c8=_0x1b3145(0x298),_0x297508=_0x1b3145(0x2c7),_0x44f24d=_0x1b3145(0x3b9),_0xf5d4dc=0x6,_0x1dbdd1=1.5,_0x8638c4=0x4,_0x7e2406=1.5,_0x45331c=_0x1b3145(0x3cb);class _0x2bf31f{constructor(_0xbff1d0,_0x5980cb,_0x481f60,_0x1a26f3){const _0x496ea8=_0x1b3145;_0xc84b25(this,_0x496ea8(0x1e2),[]),_0xc84b25(this,_0x496ea8(0x19d),null),_0xc84b25(this,_0x496ea8(0x1ae),null),_0xc84b25(this,_0x496ea8(0x382),null),_0xc84b25(this,_0x496ea8(0x148),null),_0xc84b25(this,_0x496ea8(0x39d),null),(this[_0x496ea8(0x10b)]=_0xbff1d0,this[_0x496ea8(0x1cc)]=_0x5980cb,this[_0x496ea8(0x277)]=_0x481f60,this['_document']=_0x1a26f3,this[_0x496ea8(0x2ef)]());}set[_0x1b3145(0x118)](_0xb89608){const _0x18fba1=_0x1b3145;_0xb89608?(this[_0x18fba1(0x382)]&&this['_anchorDot']['hide'](),this[_0x18fba1(0x1ae)]&&this[_0x18fba1(0x1ae)][_0x18fba1(0x1b7)]()):(this[_0x18fba1(0x382)]&&this['_anchorDot'][_0x18fba1(0x1b7)](),this[_0x18fba1(0x1ae)]&&this[_0x18fba1(0x1ae)][_0x18fba1(0x252)]());}[_0x1b3145(0x26b)](){const _0x41c639=_0x1b3145;for(const _0x22a1e5 of this['_shapes'])_0x22a1e5[_0x41c639(0x26b)]();this[_0x41c639(0x1ae)]&&this['_textBubble'][_0x41c639(0x26b)](),this[_0x41c639(0x382)]&&this[_0x41c639(0x382)][_0x41c639(0x26b)](),this[_0x41c639(0x19d)]&&this[_0x41c639(0x19d)]['dispose'](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x1b3145(0x2ef)](){const _0x2528d2=_0x1b3145;var _0x2d490b;const {_docSkeleton:_0x45145a,_document:_0xa342ca}=this,{color:_0x439d39,name:_0x2361dc,ranges:_0x848878}=this['_cursor'],_0x450c99=_0xa342ca[_0x2528d2(0x116)](),{docsLeft:_0x5a35f8,docsTop:_0x26d311}=_0x450c99,_0x4e8b6e=new _0x2260ff[(_0x2528d2(0x1e1))](_0x450c99,_0x45145a);for(const {startOffset:_0x343a69,endOffset:_0x2b90a5,rangeType:_0x174425,segmentId:_0x15d486,segmentPage:_0x13614a,collapsed:_0x221382,isActive:_0x289035}of _0x848878){const _0x2c2600=_0x45145a['findNodePositionByCharIndex'](_0x343a69,!0x0,_0x15d486,_0x13614a);let _0x401286=_0x45145a[_0x2528d2(0x1b4)](_0x2b90a5,!0x0,_0x15d486,_0x13614a);if(_0x401286==null&&(_0x401286=_0x45145a[_0x2528d2(0x1b4)](_0x2b90a5-0x1,!0x1,_0x15d486,_0x13614a)),_0x289035){const {contentBoxPointGroup:_0x246a7a}=_0x4e8b6e[_0x2528d2(0x2dd)](_0x401286,_0x401286);if(_0x246a7a[_0x2528d2(0x2e0)]===0x0)continue;this[_0x2528d2(0x2a2)](_0x439d39,_0x246a7a,_0x5a35f8,_0x26d311,_0x2361dc),this['_eventUnsubscribe']=this[_0x2528d2(0x2b4)]();}if(_0x2c2600&&_0x401286){if(_0x174425===_0x3238b4['DOC_RANGE_TYPE']['RECT']){const _0x436ce8=new _0x2260ff[(_0x2528d2(0x32c))](_0x450c99,_0x45145a),{pointGroup:_0x5efc7c}=(_0x2d490b=_0x436ce8[_0x2528d2(0x2dd)](_0x2c2600,_0x401286))!=null?_0x2d490b:{};if(_0x5efc7c==null||_0x5efc7c[_0x2528d2(0x2e0)]===0x0)continue;this['_drawRectRange'](_0x439d39,_0x5efc7c,_0x5a35f8,_0x26d311);}else{if(!_0x221382){const {borderBoxPointGroup:_0x2bfc76}=_0x4e8b6e[_0x2528d2(0x2dd)](_0x2c2600,_0x401286);if(_0x2bfc76[_0x2528d2(0x2e0)]===0x0)continue;this['_drawTextRange'](_0x439d39,_0x2bfc76,_0x5a35f8,_0x26d311);}}}}}['_drawAnchor'](_0x5f21da,_0x2c3000,_0x5a7157,_0x4b8e68,_0x2012c9){const _0xda8c17=_0x1b3145,_0x233702=this[_0xda8c17(0x100)](_0x2c3000),{left:_0x28dbdf,top:_0x43c760,height:_0x21a3ad}=_0x233702,_0x55a4a5=this['_getScale'](),_0x3b4215=_0x7e2406/_0x55a4a5,_0x2acf9=new _0xcb617a[(_0xda8c17(0x1c6))](_0x48a5c8+_0x3238b4[_0xda8c17(0x3be)](_0xf5d4dc),{'left':_0x28dbdf+_0x5a7157-_0x3b4215,'top':_0x43c760+_0x4b8e68,'height':_0x21a3ad,'width':_0x1dbdd1,'fill':_0x5f21da||_0xcb617a[_0xda8c17(0x141)](_0x3238b4['COLORS'][_0xda8c17(0x2f2)],0x0),'strokeWidth':_0x3b4215,'stroke':_0x45331c,'evented':!0x0});this[_0xda8c17(0x19d)]=_0x2acf9,this[_0xda8c17(0x1cc)][_0xda8c17(0x285)](_0x2acf9,_0x2260ff[_0xda8c17(0x30a)]);const _0x2c79bf=new _0xcb617a[(_0xda8c17(0x1c6))](_0x48a5c8+_0x3238b4['generateRandomId'](_0xf5d4dc),{'left':_0x28dbdf+_0x5a7157-_0x3b4215,'top':_0x43c760+_0x4b8e68-_0x8638c4/0x2,'height':_0x8638c4,'width':_0x8638c4,'fill':_0x5f21da||_0xcb617a[_0xda8c17(0x141)](_0x3238b4[_0xda8c17(0x184)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x5f21da||_0xcb617a[_0xda8c17(0x141)](_0x3238b4['COLORS']['black'],0x0),'evented':!0x1});this[_0xda8c17(0x382)]=_0x2c79bf,this['_scene'][_0xda8c17(0x285)](_0x2c79bf,_0x2260ff[_0xda8c17(0x30a)]);const _0x16b04e=new _0x2e4121(_0x48a5c8+_0x3238b4['generateRandomId'](_0xf5d4dc),{'left':_0x28dbdf+_0x5a7157-_0x3b4215,'top':_0x43c760+_0x4b8e68-_0x1a445f,'text':_0x2012c9,'color':_0x5f21da});this[_0xda8c17(0x1ae)]=_0x16b04e,this[_0xda8c17(0x1cc)][_0xda8c17(0x285)](_0x16b04e,_0x2260ff[_0xda8c17(0x30a)]),this['_hover']=!0x1;}['_handleHover'](){const _0x3841f9=_0x1b3145,_0x1941fb=this[_0x3841f9(0x19d)][_0x3841f9(0x323)][_0x3841f9(0x35c)](()=>{const _0x386b23=_0x3841f9;this[_0x386b23(0x118)]=!0x0;}),_0x5cf3e0=this[_0x3841f9(0x19d)][_0x3841f9(0x3c9)][_0x3841f9(0x35c)](()=>{const _0x27ebc7=_0x3841f9;this[_0x27ebc7(0x148)]&&clearTimeout(this[_0x27ebc7(0x148)]),this[_0x27ebc7(0x148)]=setTimeout(()=>{const _0x260cb1=_0x27ebc7;this[_0x260cb1(0x118)]=!0x1;},0x7d0);});return()=>{const _0x1336c2=_0x3841f9;_0x1941fb[_0x1336c2(0x365)](),_0x5cf3e0[_0x1336c2(0x365)]();};}[_0x1b3145(0x1aa)](_0x539354,_0xb7c66a,_0x143766,_0x2d6a8c){const _0x31e3d5=_0x1b3145,_0x3d9a7f=new _0x3238b4[(_0x31e3d5(0x179))](_0x539354)[_0x31e3d5(0x3c4)](0.2)[_0x31e3d5(0x354)](),_0x1271a0=new _0xcb617a[(_0x31e3d5(0x37d))](_0x297508+_0x3238b4[_0x31e3d5(0x3be)](_0xf5d4dc),{'pointsGroup':_0xb7c66a,'fill':_0x3d9a7f||_0xcb617a[_0x31e3d5(0x141)](_0x3238b4[_0x31e3d5(0x184)]['black'],0.2),'left':_0x143766,'top':_0x2d6a8c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x31e3d5(0x1e2)]['push'](_0x1271a0),this[_0x31e3d5(0x1cc)][_0x31e3d5(0x285)](_0x1271a0,_0x2260ff[_0x31e3d5(0x30a)]);}[_0x1b3145(0x357)](_0x4a0252,_0x208836,_0x4f38fb,_0x1fa25c){const _0x4e537e=_0x1b3145,_0x197557=new _0x3238b4[(_0x4e537e(0x179))](_0x4a0252)['setAlpha'](0.2)['toRgbString'](),_0x4c7938=new _0xcb617a['RegularPolygon'](_0x44f24d+_0x3238b4[_0x4e537e(0x3be)](_0xf5d4dc),{'pointsGroup':_0x208836,'fill':_0x197557||_0xcb617a['getColor'](_0x3238b4['COLORS'][_0x4e537e(0x2f2)],0.2),'left':_0x4f38fb,'top':_0x1fa25c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e537e(0x1e2)]['push'](_0x4c7938),this[_0x4e537e(0x1cc)][_0x4e537e(0x285)](_0x4c7938,_0x2260ff[_0x4e537e(0x30a)]);}[_0x1b3145(0x100)](_0x3cd99e){const _0x187998=_0x3cd99e[0x0],_0x521f71=_0x187998[0x0],_0x429280=_0x187998[0x2],{x:_0x32d9e7,y:_0x4bab19}=_0x521f71,{x:_0xdbb270,y:_0x343418}=_0x429280;return{'left':_0x32d9e7,'top':_0x4bab19,'width':_0xdbb270-_0x32d9e7,'height':_0x343418-_0x4bab19};}[_0x1b3145(0x15a)](){const _0x23df7f=_0x1b3145,{scaleX:_0x42a97e,scaleY:_0x55dbf6}=this['_scene'][_0x23df7f(0x119)]();return Math[_0x23df7f(0x10a)](_0x42a97e,_0x55dbf6);}}var _0x44e343=Object[_0x1b3145(0x270)],_0x434c9a=(_0x24d0e0,_0x3e2748,_0x63ded7,_0x1fa55e)=>{const _0x4f397d=_0x1b3145;for(var _0x47dddb=_0x1fa55e>0x1?void 0x0:_0x1fa55e?_0x44e343(_0x3e2748,_0x63ded7):_0x3e2748,_0x3e2eab=_0x24d0e0[_0x4f397d(0x2e0)]-0x1,_0x34a660;_0x3e2eab>=0x0;_0x3e2eab--)(_0x34a660=_0x24d0e0[_0x3e2eab])&&(_0x47dddb=_0x34a660(_0x47dddb)||_0x47dddb);return _0x47dddb;},_0x4c8fa6=(_0x2acd4c,_0x297ce7)=>(_0x577e60,_0x4fdd27)=>_0x297ce7(_0x577e60,_0x4fdd27,_0x2acd4c);let _0x23d495=class extends _0x3238b4[_0x1b3145(0x218)]{constructor(_0x479712,_0x5bd201,_0x44c6ba,_0x1bf41a,_0x86cc0f){const _0xe4e1c9=_0x1b3145;super(),_0xc84b25(this,_0xe4e1c9(0x35e),[]),_0xc84b25(this,_0xe4e1c9(0x2cd),[]),(this[_0xe4e1c9(0x2b9)]=_0x479712,this['_docSkeletonManagerService']=_0x5bd201,this[_0xe4e1c9(0x134)]=_0x44c6ba,this[_0xe4e1c9(0x2ba)]=_0x1bf41a,this[_0xe4e1c9(0x34b)]=_0x86cc0f,this[_0xe4e1c9(0x1a0)]());}[_0x1b3145(0x1a0)](){const _0x34e4e8=_0x1b3145,_0x3e5d57=this[_0x34e4e8(0x2b9)][_0x34e4e8(0x24d)],_0x32d6c7=this[_0x34e4e8(0x3bd)];this[_0x34e4e8(0x287)](_0x1c6f00[_0x34e4e8(0x128)]([this[_0x34e4e8(0x134)][_0x34e4e8(0x152)](_0x3e5d57),this[_0x34e4e8(0x34b)][_0x34e4e8(0x312)]])[_0x34e4e8(0x30e)](_0x3663d5[_0x34e4e8(0x295)](([_0x1e6cf8,_0x44d763])=>({'skeleton':_0x32d6c7[_0x34e4e8(0x122)](),'cursors':[..._0x1e6cf8[_0x34e4e8(0x27d)]()][_0x34e4e8(0x105)](_0x48e8cb=>({..._0x48e8cb,'color':this['_themeService'][_0x34e4e8(0x1d9)](_0x48e8cb[_0x34e4e8(0x19f)])}))})))['subscribe'](_0x5e1250=>{const _0x40a3a1=_0x34e4e8;if(this[_0x40a3a1(0x22d)](),_0x5e1250){const {skeleton:_0x35a55f,cursors:_0x19cd60}=_0x5e1250;this['_updateCollabCursors'](_0x35a55f,_0x19cd60);}})),this[_0x34e4e8(0x257)](),this[_0x34e4e8(0x177)]();}[_0x1b3145(0x2e7)](_0x435a3d,_0x35b95d){const _0x53699b=_0x1b3145,{scene:_0x35efde,mainComponent:_0x247c9d}=this[_0x53699b(0x2b9)],_0x3ce87f=_0x35b95d[_0x53699b(0x295)](_0x2dfb98=>new _0x2bf31f(_0x2dfb98,_0x35efde,_0x435a3d,_0x247c9d));this[_0x53699b(0x35e)]=_0x3ce87f,this['_cursors']=_0x35b95d;}[_0x1b3145(0x392)](){const _0x57fe77=_0x1b3145;this['_removeCollabCursors']();const {scene:_0xaae0b,mainComponent:_0x195699}=this['_context'],_0x5da4cf=this['_docSkeletonManagerService']['getSkeleton'](),_0x4f63ec=this[_0x57fe77(0x2cd)][_0x57fe77(0x295)](_0x324067=>new _0x2bf31f(_0x324067,_0xaae0b,_0x5da4cf,_0x195699));this['_cursorShapes']=_0x4f63ec;}[_0x1b3145(0x22d)](){const _0x2ca437=_0x1b3145;this[_0x2ca437(0x35e)][_0x2ca437(0x360)](_0x22cc6d=>_0x22cc6d['dispose']()),this['_cursorShapes']=[];}[_0x1b3145(0x177)](){const _0x15048d=_0x1b3145,_0x2603cc=[_0x2260ff['SetDocZoomRatioOperation']['id']];this[_0x15048d(0x287)](this[_0x15048d(0x2ba)][_0x15048d(0x106)](_0x2a8bb4=>{const _0x2d18f9=_0x15048d;_0x2603cc['includes'](_0x2a8bb4['id'])&&_0x2a8bb4['params'][_0x2d18f9(0x24d)]===this[_0x2d18f9(0x2b9)]['unitId']&&this[_0x2d18f9(0x392)]();}));}[_0x1b3145(0x257)](){const _0x270bd9=_0x1b3145;this[_0x270bd9(0x287)](_0x3238b4[_0x270bd9(0x2e4)](this[_0x270bd9(0x2b9)]['engine']['onTransformChange$'])[_0x270bd9(0x30e)](_0x3663d5['filter'](_0x42db89=>_0x42db89['type']===_0xcb617a[_0x270bd9(0x16a)][_0x270bd9(0x1cd)]),_0x3663d5[_0x270bd9(0x216)](0x10))[_0x270bd9(0x175)](()=>{const _0x33188e=_0x270bd9;this[_0x33188e(0x392)]();}));}};_0x23d495=_0x434c9a([_0x4c8fa6(0x1,_0x3238b4['Inject'](_0xf153d4['DocSkeletonManagerService'])),_0x4c8fa6(0x2,_0x3238b4[_0x1b3145(0x146)](_0xf2e975)),_0x4c8fa6(0x3,_0x3238b4[_0x1b3145(0x1c7)]),_0x4c8fa6(0x4,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x20a)]))],_0x23d495);const _0x5de5d2=0x1,_0x5093fa=1.5;class _0x47b0f3 extends _0xcb617a[_0x1b3145(0x168)]{constructor(_0x309030,_0x4c0476){const _0x1865e0=_0x1b3145;super(_0x309030,_0x4c0476),_0xc84b25(this,_0x1865e0(0x24c)),_0xc84b25(this,'_hovered',!0x1),_0xc84b25(this,_0x1865e0(0x1a1)),_0xc84b25(this,'_name',''),_0xc84b25(this,'_labelPosition',_0x1865e0(0x25a)),_0xc84b25(this,_0x1865e0(0x239)),(_0x4c0476&&this['setShapeProps'](_0x4c0476),this[_0x1865e0(0x323)][_0x1865e0(0x35c)](()=>this[_0x1865e0(0x16b)]({'hovered':!0x0})),this[_0x1865e0(0x3c9)]['subscribeEvent'](()=>this[_0x1865e0(0x16b)]({'hovered':!0x1})));}[_0x1b3145(0x16b)](_0xfdb415){const _0x5f380a=_0x1b3145;var _0x4fc991,_0x4fce9b,_0x4bde44,_0x40e926,_0x5463d7,_0x51098d;this[_0x5f380a(0x24c)]=(_0x4fc991=_0xfdb415[_0x5f380a(0x19f)])!=null?_0x4fc991:this[_0x5f380a(0x24c)],this[_0x5f380a(0x36b)]=(_0x4fce9b=_0xfdb415['hovered'])!=null?_0x4fce9b:this['_hovered'],this[_0x5f380a(0x1a1)]=(_0x4bde44=_0xfdb415[_0x5f380a(0x233)])!=null?_0x4bde44:this['_range'],this['_name']=(_0x40e926=_0xfdb415[_0x5f380a(0x250)])!=null?_0x40e926:this['_name'],this['_labelPosition']=(_0x5463d7=_0xfdb415['labelPosition'])!=null?_0x5463d7:this['_labelPosition'],this[_0x5f380a(0x239)]=(_0x51098d=_0xfdb415['backgroundColor'])!=null?_0x51098d:this[_0x5f380a(0x239)],this[_0x5f380a(0x2ff)]({'width':_0xfdb415[_0x5f380a(0x200)],'height':_0xfdb415[_0x5f380a(0x156)]});}['onMouseMove'](_0x17bb28){const _0x23f327=_0x1b3145,{row:_0x4b5f21,column:_0x24a9f8}=_0x17bb28;if(_0x4b5f21>=this[_0x23f327(0x1a1)][_0x23f327(0x1da)]&&_0x4b5f21<=this[_0x23f327(0x1a1)][_0x23f327(0x31a)]&&_0x24a9f8>=this[_0x23f327(0x1a1)][_0x23f327(0x283)]&&_0x24a9f8<=this[_0x23f327(0x1a1)]['endColumn']){this[_0x23f327(0x16b)]({'hovered':!0x0});return;}this[_0x23f327(0x16b)]({'hovered':!0x1});}[_0x1b3145(0x204)](_0x206057){return!0x1;}['_draw'](_0x38f319){const _0x5b2c44=_0x1b3145;_0xcb617a[_0x5b2c44(0x1c6)][_0x5b2c44(0x2d3)](_0x38f319,{'width':this[_0x5b2c44(0x200)],'height':this[_0x5b2c44(0x156)],'strokeWidth':_0x5093fa,'stroke':this[_0x5b2c44(0x24c)],'evented':!0x1,'fill':this[_0x5b2c44(0x239)]}),this[_0x5b2c44(0x36b)]&&(_0x38f319['save'](),_0x38f319[_0x5b2c44(0x2d1)](0x1,0x0,0x0,0x1,this[_0x5b2c44(0x200)],this[_0x5b2c44(0x15e)]===_0x5b2c44(0x220)?0x0:-_0x1a445f),_0x2e4121[_0x5b2c44(0x2d3)](_0x38f319,{'text':this[_0x5b2c44(0x29d)],'color':this[_0x5b2c44(0x24c)]}),_0x38f319[_0x5b2c44(0x35f)]());}}var _0x10f293=Object[_0x1b3145(0x270)],_0x389d9e=(_0x2b349b,_0x4682d5,_0x1cd0d1,_0x161ba1)=>{const _0x444220=_0x1b3145;for(var _0x459d8d=_0x161ba1>0x1?void 0x0:_0x161ba1?_0x10f293(_0x4682d5,_0x1cd0d1):_0x4682d5,_0x4d230d=_0x2b349b[_0x444220(0x2e0)]-0x1,_0x17b930;_0x4d230d>=0x0;_0x4d230d--)(_0x17b930=_0x2b349b[_0x4d230d])&&(_0x459d8d=_0x17b930(_0x459d8d)||_0x459d8d);return _0x459d8d;},_0x558fd6=(_0x2446a7,_0x4763db)=>(_0x1aaa3b,_0x4cec5e)=>_0x4763db(_0x1aaa3b,_0x4cec5e,_0x2446a7);const _0x47de2d=0x1389;let _0x55c3b2=class extends _0x3238b4[_0x1b3145(0x218)]{constructor(_0x26661e,_0x5be53c,_0x1483af,_0x290427){const _0x39f4b9=_0x1b3145;super(),_0xc84b25(this,_0x39f4b9(0x2cd),new Set()),_0xc84b25(this,_0x39f4b9(0x15f),null),(this[_0x39f4b9(0x2b9)]=_0x26661e,this[_0x39f4b9(0x1ed)]=_0x5be53c,this[_0x39f4b9(0x134)]=_0x1483af,this[_0x39f4b9(0x34b)]=_0x290427,this[_0x39f4b9(0x1a0)]());}[_0x1b3145(0x1a0)](){const _0x51073b=_0x1b3145;this[_0x51073b(0x1ed)]['currentSkeleton$'][_0x51073b(0x30e)](_0x3663d5['takeUntil'](this[_0x51073b(0x1a6)]),_0x3663d5[_0x51073b(0x2fb)](_0x4114ef=>{const _0x1dd1a3=_0x51073b;if(_0x4114ef){const _0x7d0b01=_0x4114ef[_0x1dd1a3(0x1dd)];return _0x1c6f00[_0x1dd1a3(0x128)](this[_0x1dd1a3(0x134)][_0x1dd1a3(0x152)](this[_0x1dd1a3(0x2b9)][_0x1dd1a3(0x24d)]),this['_themeService'][_0x1dd1a3(0x312)])[_0x1dd1a3(0x30e)](_0x3663d5[_0x1dd1a3(0x295)](([_0x47a7dc,_0x161dfd])=>{const _0xa39f40=_0x1dd1a3,_0x2704c7=new Map();return _0x47a7dc[_0xa39f40(0x360)]((_0x3519af,_0x22d0ac)=>{const _0x293b53=_0xa39f40;if(_0x3519af[_0x293b53(0x352)]===_0x7d0b01){const _0xabbabd={..._0x3519af};_0xabbabd[_0x293b53(0x19f)]=this[_0x293b53(0x34b)]['getColorFromTheme'](_0x3519af[_0x293b53(0x19f)]),_0x2704c7[_0x293b53(0x102)](_0x22d0ac,_0xabbabd);}}),{'skeleton':_0x4114ef,'cursors':_0x2704c7};}));}return _0x1c6f00['of']({'skeleton':null,'cursors':new Map()});}))[_0x51073b(0x175)](({skeleton:_0x29dda2,cursors:_0x25f5b8})=>{const _0x98d47b=_0x51073b;this['_removeCollabCursors'](),_0x29dda2&&this[_0x98d47b(0x2e7)](_0x29dda2,_0x25f5b8);}),this[_0x51073b(0x1ed)][_0x51073b(0x2ae)][_0x51073b(0x175)](_0x296ce5=>{const _0x2d8b76=_0x51073b;if(_0x296ce5==null)return;const {skeleton:_0xba2ef6}=_0x296ce5,{scene:_0x3c6fe3}=this['_context'];_0x3c6fe3['onPointerMove$']['subscribeEvent'](_0x3238b4[_0x2d8b76(0x21a)](_0x1b588f=>{const _0x5c5a7c=_0x2d8b76;var _0x4f5f26,_0x4389f5;const {offsetX:_0x2edbd1,offsetY:_0x256de0}=_0x1b588f,{x:_0xfafb0,y:_0x39486b}=_0x3c6fe3[_0x5c5a7c(0x17d)](_0xcb617a[_0x5c5a7c(0x2f4)][_0x5c5a7c(0x11c)]([_0x2edbd1,_0x256de0])),{scaleX:_0x351c21,scaleY:_0x1e99c8}=_0x3c6fe3['getAncestorScale'](),_0x4f2080=_0x3c6fe3['getViewport'](_0xcb617a[_0x5c5a7c(0x1f8)][_0x5c5a7c(0x394)]),_0x8d31ea=_0x3c6fe3[_0x5c5a7c(0x20f)](_0xcb617a[_0x5c5a7c(0x2f4)]['FromArray']([_0xfafb0,_0x39486b]),_0x4f2080),_0x259c74=_0xba2ef6[_0x5c5a7c(0x3a7)](_0x2edbd1,_0x256de0,_0x351c21,_0x1e99c8,_0x8d31ea);((_0x4f5f26=this['_lastPointer'])==null?void 0x0:_0x4f5f26[_0x5c5a7c(0x22c)])===_0x259c74[_0x5c5a7c(0x22c)]&&((_0x4389f5=this[_0x5c5a7c(0x15f)])==null?void 0x0:_0x4389f5[_0x5c5a7c(0x1e9)])===_0x259c74['row']||this['_cursors'][_0x5c5a7c(0x360)](_0x28a168=>{const _0x3f8311=_0x5c5a7c;_0x28a168[_0x3f8311(0x164)](_0x259c74);});},0x64));});}[_0x1b3145(0x2e7)](_0x5effa9,_0x12e680){const _0x47942a=_0x1b3145;var _0x4408e2;const _0x4f8918=(_0x4408e2=this[_0x47942a(0x1ed)]['getCurrent']())==null?void 0x0:_0x4408e2[_0x47942a(0x2bb)];if(!_0x4f8918)return;const _0xa17d4c=this['_getSheetObject']();if(!_0xa17d4c)return;this['_cursors'][_0x47942a(0x360)](_0x32086f=>{const _0x512888=_0x47942a;_0x32086f[_0x512888(0x2ac)]();});const {scene:_0x37f24b}=_0xa17d4c,_0x13eeb7=_0x341632(Array['from'](_0x12e680[_0x47942a(0x27d)]()))[_0x47942a(0x295)](_0x1078de=>{const _0x178665=_0x47942a,{color:_0x1f17a1,range:_0x507137,name:_0x380b2c,selection:_0x5dce4d,sheetID:_0x35eb88}=_0x1078de,{startColumn:_0x26aa49,startRow:_0x3aaf67,endColumn:_0x34b74b,endRow:_0xd05be3}=_0x507137,_0xe0e05a=_0x9833be[_0x178665(0x228)](_0x3aaf67,_0x26aa49,_0x37f24b,_0x4f8918),_0x2ab73f=_0x9833be[_0x178665(0x228)](_0xd05be3,_0x34b74b,_0x37f24b,_0x4f8918),{columnHeaderHeightAndMarginTop:_0xa7479c}=_0x4f8918,{startX:_0x167f2d,startY:_0x5c7388}=_0xe0e05a,{endX:_0x2b2b3a,endY:_0x569c3b}=_0x2ab73f,_0x2a5790=_0x2b2b3a-_0x167f2d,_0x474f6b=_0x569c3b-_0x5c7388,_0x550717={'labelPosition':_0x5c7388-_0xa7479c>=_0x1a445f?_0x178665(0x25a):_0x178665(0x220),'sheetID':_0x35eb88,'range':_0x507137,'color':_0x1f17a1,'name':_0x380b2c,'selection':_0x5dce4d,'left':_0x167f2d,'top':_0x5c7388,'width':_0x2a5790,'height':_0x474f6b,'evented':!0x1,'zIndex':_0x47de2d};return new _0x47b0f3(_0x380b2c,_0x550717);});_0x37f24b[_0x47942a(0x2c9)](_0x13eeb7,_0x5de5d2),this[_0x47942a(0x2cd)]=new Set(_0x13eeb7);}[_0x1b3145(0x22d)](){const _0x424d2f=_0x1b3145;var _0xbe87dd;(_0xbe87dd=this[_0x424d2f(0x2cd)])==null||_0xbe87dd[_0x424d2f(0x360)](_0x1379a9=>_0x1379a9[_0x424d2f(0x26b)]());}[_0x1b3145(0x34d)](){const _0x5e160b=_0x1b3145;return _0x9833be[_0x5e160b(0x3bc)](this[_0x5e160b(0x2b9)][_0x5e160b(0x193)],this['_context']);}};_0x55c3b2=_0x389d9e([_0x558fd6(0x1,_0x3238b4['Inject'](_0x9833be[_0x1b3145(0x322)])),_0x558fd6(0x2,_0x3238b4['Inject'](_0xf2e975)),_0x558fd6(0x3,_0x3238b4['Inject'](_0x3238b4[_0x1b3145(0x20a)]))],_0x55c3b2);function _0x341632(_0x4238c1){const _0x1413c3=_0x1b3145,_0x41c162=new Map();return _0x4238c1[_0x1413c3(0x360)](_0x2d1b90=>{const _0x2aec0c=_0x1413c3;if(_0x41c162[_0x2aec0c(0x305)](_0x2d1b90['selection'])){const _0x1d4256=_0x41c162[_0x2aec0c(0x111)](_0x2d1b90['selection']);_0x1d4256['name']+=',\x20'+_0x2d1b90[_0x2aec0c(0x250)];}else _0x41c162['set'](_0x2d1b90[_0x2aec0c(0x294)],_0x2d1b90);}),Array[_0x1413c3(0x2e2)](_0x41c162[_0x1413c3(0x27d)]());}var _0x488f18=Object[_0x1b3145(0x270)],_0x134846=(_0x266000,_0x3fa7be,_0x5eee3e,_0x37b7b1)=>{const _0x400cb1=_0x1b3145;for(var _0x2ba2ac=_0x37b7b1>0x1?void 0x0:_0x37b7b1?_0x488f18(_0x3fa7be,_0x5eee3e):_0x3fa7be,_0x549c4d=_0x266000[_0x400cb1(0x2e0)]-0x1,_0x5230cf;_0x549c4d>=0x0;_0x549c4d--)(_0x5230cf=_0x266000[_0x549c4d])&&(_0x2ba2ac=_0x5230cf(_0x2ba2ac)||_0x2ba2ac);return _0x2ba2ac;},_0x13e259=(_0x3f17d6,_0xe026bd)=>(_0x4f8acb,_0x4cd87c)=>_0xe026bd(_0x4f8acb,_0x4cd87c,_0x3f17d6);let _0x435379=class extends _0x3238b4[_0x1b3145(0x16e)]{constructor(_0x4ee78d,_0x5af5ea,_0x51c9fd,_0x5198de,_0x6b645a,_0xaa1af9){const _0x2039ca=_0x1b3145;super(),this[_0x2039ca(0x2fa)]=_0x4ee78d,this[_0x2039ca(0x1e7)]=_0x5af5ea,this[_0x2039ca(0x29c)]=_0x51c9fd,this[_0x2039ca(0x338)]=_0x5198de,this[_0x2039ca(0x246)]=_0x6b645a,this[_0x2039ca(0x28c)]=_0xaa1af9,this[_0x2039ca(0x213)](),this[_0x2039ca(0x1fa)]();}['_setupBeforeClosingHandler'](){const _0x457ca6=_0x1b3145;this[_0x457ca6(0x287)](this[_0x457ca6(0x2fa)][_0x457ca6(0x2b2)](()=>{const _0x31146c=_0x457ca6;if(this[_0x31146c(0x1e7)][_0x31146c(0x25d)][_0x31146c(0x245)])return this['_localeService']['t'](_0x31146c(0x33d));}));}[_0x1b3145(0x1fa)](){const _0x1ef637=_0x1b3145;this['disposeWithMe'](this[_0x1ef637(0x29c)][_0x1ef637(0x29a)]['subscribe'](_0x10ccae=>{const _0x320463=_0x1ef637;_0x10ccae['id']===_0x562098['CollaborationUIEventId'][_0x320463(0x398)]&&this[_0x320463(0x338)][_0x320463(0x1b7)]({'type':_0x13fbb7[_0x320463(0x333)][_0x320463(0x23f)],'content':this[_0x320463(0x28c)]['t'](_0x320463(0x1a4))}),_0x10ccae['id']===_0x562098['CollaborationUIEventId'][_0x320463(0x38d)]&&this[_0x320463(0x338)][_0x320463(0x1b7)]({'type':_0x13fbb7[_0x320463(0x333)]['Warning'],'content':this[_0x320463(0x28c)]['t'](_0x320463(0x151))}),_0x10ccae['id']===_0x562098[_0x320463(0x39c)][_0x320463(0x20b)]&&this['_notificationService'][_0x320463(0x1b7)]({'title':this[_0x320463(0x28c)]['t'](_0x320463(0x38c)),'content':this[_0x320463(0x28c)]['t']('permission.content'),'type':_0x320463(0x1a7),'duration':0x0}),_0x10ccae['id']===_0x562098[_0x320463(0x39c)]['CONFLICT']&&this[_0x320463(0x338)][_0x320463(0x1b7)]({'type':_0x13fbb7['MessageType']['Error'],'content':this[_0x320463(0x28c)]['t'](_0x320463(0x151))+'('+_0x10ccae[_0x320463(0x1bb)]+')'}),_0x10ccae['id']===_0x562098[_0x320463(0x39c)][_0x320463(0x13a)]&&this[_0x320463(0x338)][_0x320463(0x1b7)]({'type':_0x13fbb7[_0x320463(0x333)][_0x320463(0x23f)],'content':this[_0x320463(0x28c)]['t'](_0x10ccae[_0x320463(0x1bb)]||'')}),_0x10ccae['id']===_0x562098[_0x320463(0x39c)][_0x320463(0x185)]&&this[_0x320463(0x338)][_0x320463(0x1b7)]({'type':_0x13fbb7['MessageType'][_0x320463(0x23f)],'content':this['_localeService']['t']('session.will-retry')}),_0x10ccae['id']===_0x562098[_0x320463(0x39c)][_0x320463(0x1dc)]&&this[_0x320463(0x338)][_0x320463(0x1b7)]({'type':_0x13fbb7[_0x320463(0x333)][_0x320463(0x33c)],'content':this['_localeService']['t']('session.connection-failed')}),_0x10ccae['id']===_0x562098[_0x320463(0x39c)][_0x320463(0x219)]&&this[_0x320463(0x338)][_0x320463(0x1b7)]({'type':_0x13fbb7[_0x320463(0x333)]['Error'],'content':this[_0x320463(0x28c)]['t'](_0x320463(0x120))});}));}};_0x435379=_0x134846([_0x13e259(0x0,_0x5e73b5[_0x1b3145(0x308)]),_0x13e259(0x1,_0x562098[_0x1b3145(0x35b)]),_0x13e259(0x2,_0x3238b4[_0x1b3145(0x146)](_0x562098['CollaborationUIEventService'])),_0x13e259(0x3,_0x5e73b5[_0x1b3145(0x335)]),_0x13e259(0x4,_0x5e73b5[_0x1b3145(0x13e)]),_0x13e259(0x5,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x268)]))],_0x435379);const _0x248369=_0x1b3145(0x14c),_0x3865ef={};var _0x24e11c=Object['getOwnPropertyDescriptor'],_0x3f4c88=(_0x226355,_0x2a5c59,_0x3c7573,_0x38deb1)=>{const _0x5766ae=_0x1b3145;for(var _0x1f85a6=_0x38deb1>0x1?void 0x0:_0x38deb1?_0x24e11c(_0x2a5c59,_0x3c7573):_0x2a5c59,_0x37210c=_0x226355[_0x5766ae(0x2e0)]-0x1,_0x52cbb5;_0x37210c>=0x0;_0x37210c--)(_0x52cbb5=_0x226355[_0x37210c])&&(_0x1f85a6=_0x52cbb5(_0x1f85a6)||_0x1f85a6);return _0x1f85a6;},_0x36d6da=(_0x464b87,_0x1f0e08)=>(_0x3d3e72,_0x4203c1)=>_0x1f0e08(_0x3d3e72,_0x4203c1,_0x464b87);let _0x278970=class{constructor(_0x3f8fca,_0x54434a){const _0x172203=_0x1b3145;this['_transformService']=_0x3f8fca,this[_0x172203(0x3c0)]=_0x54434a;}[_0x1b3145(0x2c1)](_0x1b72fe){const _0x561d58=_0x1b3145;this[_0x561d58(0x35a)](_0x1b72fe),this[_0x561d58(0x19b)](_0x1b72fe);}[_0x1b3145(0x265)](_0x527f30){const _0x464775=_0x1b3145,{unitID:_0x4ade39}=_0x527f30,_0x2faaea=this[_0x464775(0x3c0)][_0x464775(0x2e6)](_0x4ade39)[_0x464775(0x32d)](_0x2260ff['DocIMEInputManagerService']),{redoCache:_0x3e2889}=_0x2faaea[_0x464775(0x26c)]();if(_0x3e2889[_0x464775(0x2e0)]===0x0)return _0x527f30;let _0x5d9a49=_0x3238b4[_0x464775(0x297)][_0x464775(0x341)](_0x527f30[_0x464775(0x340)][0x0]);for(let _0x56cf94=0x0;_0x56cf94<_0x3e2889[_0x464775(0x2e0)];_0x56cf94++){const _0x60380c={'id':_0x464775(0x266),'params':{..._0x3e2889[_0x56cf94]}},_0x2e9463=this[_0x464775(0x2f1)]['transformMutation'](_0x5d9a49,_0x60380c,!0x1);if(_0x57c8d5[_0x464775(0x2cf)](_0x2e9463))throw _0x2e9463['error'];_0x5d9a49=_0x2e9463[_0x464775(0x28f)];}return{..._0x3238b4[_0x464775(0x297)][_0x464775(0x341)](_0x527f30),'mutations':[_0x5d9a49]};}[_0x1b3145(0x35a)](_0x48bddc){const _0x2fdf11=_0x1b3145,{unitID:_0x5afae6}=_0x48bddc,_0x6607c3=this[_0x2fdf11(0x3c0)][_0x2fdf11(0x2e6)](_0x5afae6)['with'](_0x2260ff['DocIMEInputManagerService']),{undoCache:_0x2d350d,redoCache:_0x1c6832}=_0x6607c3[_0x2fdf11(0x26c)]();if(_0x2d350d[_0x2fdf11(0x2e0)]===0x0||_0x1c6832['length']===0x0)return;const _0x11989d=[],_0x537b45=[];let _0x27f045=_0x3238b4[_0x2fdf11(0x297)]['deepClone'](_0x48bddc[_0x2fdf11(0x340)][0x0]),_0x4ec67b=_0x3238b4[_0x2fdf11(0x297)][_0x2fdf11(0x341)](_0x48bddc['mutations'][0x0]);for(let _0x4ba1e7=_0x2d350d[_0x2fdf11(0x2e0)]-0x1;_0x4ba1e7>=0x0;_0x4ba1e7--){const _0x557ea8={'id':_0x2fdf11(0x266),'params':{..._0x2d350d[_0x4ba1e7]}},_0x71e2b2={'id':_0x2fdf11(0x266),'params':{..._0x1c6832[_0x4ba1e7]}},_0x44691b=this['_transformService'][_0x2fdf11(0x331)](_0x27f045,_0x557ea8,!0x1),_0x1176a0=this[_0x2fdf11(0x2f1)][_0x2fdf11(0x331)](_0x4ec67b,_0x71e2b2,!0x1);if(_0x57c8d5[_0x2fdf11(0x2cf)](_0x44691b))throw _0x44691b[_0x2fdf11(0x1a7)];if(_0x57c8d5[_0x2fdf11(0x2cf)](_0x1176a0))throw _0x1176a0[_0x2fdf11(0x1a7)];_0x11989d[_0x2fdf11(0x110)](_0x44691b['m2Prime'][_0x2fdf11(0x21b)]),_0x537b45[_0x2fdf11(0x110)](_0x1176a0[_0x2fdf11(0x224)]['params']),_0x27f045=_0x44691b['m1Prime'],_0x4ec67b=_0x1176a0[_0x2fdf11(0x28f)];}_0x6607c3['setUndoRedoMutationParamsCache']({'undoCache':_0x11989d,'redoCache':_0x537b45});}[_0x1b3145(0x19b)](_0x33e743){const _0x5c1247=_0x1b3145,{unitID:_0xe38e6f}=_0x33e743,_0x47936e=this[_0x5c1247(0x3c0)][_0x5c1247(0x2e6)](_0xe38e6f)[_0x5c1247(0x32d)](_0x2260ff['DocIMEInputManagerService']),_0x2d9ac8=_0x47936e[_0x5c1247(0x388)]();if(_0x2d9ac8==null)return;const _0x5c3221=[{'id':_0x5c1247(0x266),'params':{'unitId':_0x33e743[_0x5c1247(0x399)],'actions':null,'textRanges':[_0x2d9ac8]}}],_0x4c923b=this[_0x5c1247(0x2f1)]['transformMutationsWithChangeset'](_0x33e743,_0x5c3221);if(!_0x57c8d5[_0x5c1247(0x3b0)](_0x4c923b))throw _0x4c923b[_0x5c1247(0x1a7)];const _0x824d29=_0x4c923b[_0x5c1247(0x224)][0x0]['params'][_0x5c1247(0x174)];Array[_0x5c1247(0x3cd)](_0x824d29)&&_0x824d29[_0x5c1247(0x2e0)]&&_0x47936e[_0x5c1247(0x1b6)](_0x824d29[0x0]);}};_0x278970=_0x3f4c88([_0x36d6da(0x0,_0x57c8d5['ITransformService']),_0x36d6da(0x1,_0xcb617a['IRenderManagerService'])],_0x278970);var _0x3f04f4=Object[_0x1b3145(0x270)],_0x3318f8=(_0x13b2b9,_0x24bb2d,_0x21dcb3,_0x21dc96)=>{for(var _0x1a0673=_0x21dc96>0x1?void 0x0:_0x21dc96?_0x3f04f4(_0x24bb2d,_0x21dcb3):_0x24bb2d,_0x5e5c3e=_0x13b2b9['length']-0x1,_0x2bfba0;_0x5e5c3e>=0x0;_0x5e5c3e--)(_0x2bfba0=_0x13b2b9[_0x5e5c3e])&&(_0x1a0673=_0x2bfba0(_0x1a0673)||_0x1a0673);return _0x1a0673;},_0x513473=(_0x596d6b,_0x3f1f7f)=>(_0x7b7908,_0x375183)=>_0x3f1f7f(_0x7b7908,_0x375183,_0x596d6b);let _0x382ba6=class{constructor(_0x2628ed,_0x4d8a27,_0x1a019d){const _0x54ccb6=_0x1b3145;this[_0x54ccb6(0x275)]=_0x2628ed,this[_0x54ccb6(0x2f1)]=_0x4d8a27,this[_0x54ccb6(0x3d0)]=_0x1a019d;}[_0x1b3145(0x183)](_0x3d078d){const _0x1058f1=_0x1b3145;this[_0x1058f1(0x370)](_0x3d078d);}[_0x1b3145(0x265)](_0x12364d){const _0x116973=_0x1b3145,{unitID:_0x3ce484}=_0x12364d,{collaboration:_0x53b2ef}=this[_0x116973(0x3d0)][_0x116973(0x1fd)](_0x3ce484);if(_0x53b2ef[_0x116973(0x2e0)]===0x0)return _0x12364d;let _0x104d34=_0x3238b4[_0x116973(0x297)][_0x116973(0x341)](_0x12364d['mutations'][0x0]);for(let _0x340f98=0x0;_0x340f98<_0x53b2ef[_0x116973(0x2e0)];_0x340f98++){const _0x488489={'id':_0x116973(0x266),'params':{'unitId':_0x53b2ef[_0x340f98][_0x116973(0x24d)],..._0x53b2ef[_0x340f98][_0x116973(0x1d8)]}},_0x31a812=this[_0x116973(0x2f1)][_0x116973(0x331)](_0x104d34,_0x488489,!0x1);if(_0x57c8d5[_0x116973(0x2cf)](_0x31a812))throw _0x31a812[_0x116973(0x1a7)];_0x104d34=_0x31a812[_0x116973(0x28f)];}return{..._0x3238b4[_0x116973(0x297)][_0x116973(0x341)](_0x12364d),'mutations':[_0x104d34]};}[_0x1b3145(0x370)](_0x26b9cd){const _0x2cf5f6=_0x1b3145,{unitID:_0x4bbe72}=_0x26b9cd,{history:_0x2cac46,collaboration:_0x1f92cf}=this[_0x2cf5f6(0x3d0)][_0x2cf5f6(0x1fd)](_0x4bbe72);if(_0x2cac46[_0x2cf5f6(0x2e0)]===0x0&&_0x1f92cf[_0x2cf5f6(0x2e0)]===0x0)return;const _0x11124=[],_0x31e6cb=[];let _0x177442=_0x3238b4[_0x2cf5f6(0x297)][_0x2cf5f6(0x341)](_0x26b9cd[_0x2cf5f6(0x340)][0x0]),_0xa89b71=_0x3238b4[_0x2cf5f6(0x297)]['deepClone'](_0x26b9cd[_0x2cf5f6(0x340)][0x0]);for(let _0x56d22b=_0x2cac46[_0x2cf5f6(0x2e0)]-0x1;_0x56d22b>=0x0;_0x56d22b--){const _0x58543f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2cac46[_0x56d22b][_0x2cf5f6(0x24d)],..._0x2cac46[_0x56d22b][_0x2cf5f6(0x284)]}},_0x2f2205={'id':_0x2cf5f6(0x266),'params':{'unitId':_0x2cac46[_0x56d22b][_0x2cf5f6(0x24d)],..._0x2cac46[_0x56d22b][_0x2cf5f6(0x1d8)]}},_0x3c5471=this[_0x2cf5f6(0x2f1)]['transformMutation'](_0x177442,_0x58543f,!0x1),_0x304dd8=this[_0x2cf5f6(0x2f1)]['transformMutation'](_0xa89b71,_0x2f2205,!0x1);if(_0x57c8d5[_0x2cf5f6(0x2cf)](_0x3c5471))throw _0x3c5471[_0x2cf5f6(0x1a7)];if(_0x57c8d5[_0x2cf5f6(0x2cf)](_0x304dd8))throw _0x304dd8[_0x2cf5f6(0x1a7)];_0x11124[_0x2cf5f6(0x110)]({..._0x2cac46[_0x56d22b],'undoState':_0x3c5471[_0x2cf5f6(0x224)][_0x2cf5f6(0x21b)],'redoState':_0x304dd8[_0x2cf5f6(0x224)][_0x2cf5f6(0x21b)]}),_0x177442=_0x3c5471[_0x2cf5f6(0x28f)],_0xa89b71=_0x304dd8[_0x2cf5f6(0x28f)];}_0x177442=_0x3238b4[_0x2cf5f6(0x297)][_0x2cf5f6(0x341)](_0x26b9cd['mutations'][0x0]),_0xa89b71=_0x3238b4[_0x2cf5f6(0x297)][_0x2cf5f6(0x341)](_0x26b9cd['mutations'][0x0]);for(let _0x3fc8d6=_0x1f92cf[_0x2cf5f6(0x2e0)]-0x1;_0x3fc8d6>=0x0;_0x3fc8d6--){const _0xebd09a={'id':_0x2cf5f6(0x266),'params':{'unitId':_0x1f92cf[_0x3fc8d6][_0x2cf5f6(0x24d)],..._0x1f92cf[_0x3fc8d6][_0x2cf5f6(0x284)]}},_0x4ef8f2={'id':_0x2cf5f6(0x266),'params':{'unitId':_0x1f92cf[_0x3fc8d6]['unitId'],..._0x1f92cf[_0x3fc8d6]['redoState']}},_0xbaa0f0=this[_0x2cf5f6(0x2f1)][_0x2cf5f6(0x331)](_0x177442,_0xebd09a,!0x1),_0xd8977f=this['_transformService']['transformMutation'](_0xa89b71,_0x4ef8f2,!0x1);if(_0x57c8d5['isTransformMutationFailure'](_0xbaa0f0))throw _0xbaa0f0[_0x2cf5f6(0x1a7)];if(_0x57c8d5[_0x2cf5f6(0x2cf)](_0xd8977f))throw _0xd8977f[_0x2cf5f6(0x1a7)];_0x31e6cb['unshift']({..._0x1f92cf[_0x3fc8d6],'undoState':_0xbaa0f0['m2Prime'][_0x2cf5f6(0x21b)],'redoState':_0xd8977f[_0x2cf5f6(0x224)][_0x2cf5f6(0x21b)]}),_0x177442=_0xbaa0f0[_0x2cf5f6(0x28f)],_0xa89b71=_0xd8977f[_0x2cf5f6(0x28f)];}this['_docStateChangeManagerService'][_0x2cf5f6(0x19c)](_0x4bbe72,{'history':_0x11124,'collaboration':_0x31e6cb});}};_0x382ba6=_0x3318f8([_0x513473(0x0,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x347)])),_0x513473(0x1,_0x57c8d5[_0x1b3145(0x2da)]),_0x513473(0x2,_0x3238b4['Inject'](_0x2260ff['DocStateChangeManagerService']))],_0x382ba6);var _0x480d8b=Object[_0x1b3145(0x270)],_0x4f8e28=(_0x2d72dc,_0x179cf6,_0x22703a,_0x2d3ba2)=>{const _0x2a1125=_0x1b3145;for(var _0x2b63bb=_0x2d3ba2>0x1?void 0x0:_0x2d3ba2?_0x480d8b(_0x179cf6,_0x22703a):_0x179cf6,_0x37fd9a=_0x2d72dc[_0x2a1125(0x2e0)]-0x1,_0x1175f7;_0x37fd9a>=0x0;_0x37fd9a--)(_0x1175f7=_0x2d72dc[_0x37fd9a])&&(_0x2b63bb=_0x1175f7(_0x2b63bb)||_0x2b63bb);return _0x2b63bb;},_0x5adce0=(_0x13be45,_0x5ed72b)=>(_0x364529,_0x343e19)=>_0x5ed72b(_0x364529,_0x343e19,_0x13be45);let _0x2fdebd=class{constructor(_0x18affe,_0x11166c){const _0x1945ee=_0x1b3145;this[_0x1945ee(0x275)]=_0x18affe,this[_0x1945ee(0x2f1)]=_0x11166c;}[_0x1b3145(0x256)](_0x246f64){const _0x2e5b34=_0x1b3145;var _0x8c7a4d;const _0x305104=this[_0x2e5b34(0x275)]['get'](_0xf153d4[_0x2e5b34(0x227)]),_0x3fae06=(_0x8c7a4d=_0x305104[_0x2e5b34(0x20c)]())!=null?_0x8c7a4d:[];if(_0x3fae06['length']===0x0)return;const _0x15ba29=_0x246f64[_0x2e5b34(0x399)],_0x1aec9b=[{'id':_0x2e5b34(0x266),'params':{'unitId':_0x15ba29,'actions':null,'textRanges':_0x3fae06}}],_0x573329=this[_0x2e5b34(0x2f1)]['transformMutationsWithChangeset'](_0x246f64,_0x1aec9b);if(!_0x57c8d5['isTransformMutationsWithChangesetSuccess'](_0x573329))throw _0x573329[_0x2e5b34(0x1a7)];const _0x5e3031=_0x573329[_0x2e5b34(0x224)][0x0]['params'][_0x2e5b34(0x174)];Array['isArray'](_0x5e3031)&&_0x5e3031[_0x2e5b34(0x2e0)]&&_0x305104[_0x2e5b34(0x374)](_0x5e3031,{'unitId':_0x15ba29,'subUnitId':_0x15ba29},!0x1);}};_0x2fdebd=_0x4f8e28([_0x5adce0(0x0,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x347)])),_0x5adce0(0x1,_0x57c8d5['ITransformService'])],_0x2fdebd);var _0x33428a=Object[_0x1b3145(0x270)],_0xe91464=(_0x2063cb,_0x1c3529,_0x2ed8f3,_0x4cf705)=>{for(var _0x29ca2=_0x4cf705>0x1?void 0x0:_0x4cf705?_0x33428a(_0x1c3529,_0x2ed8f3):_0x1c3529,_0x9b6c9=_0x2063cb['length']-0x1,_0x572221;_0x9b6c9>=0x0;_0x9b6c9--)(_0x572221=_0x2063cb[_0x9b6c9])&&(_0x29ca2=_0x572221(_0x29ca2)||_0x29ca2);return _0x29ca2;},_0x4cae95=(_0x4040c4,_0x4589e5)=>(_0x37d138,_0xd8b655)=>_0x4589e5(_0x37d138,_0xd8b655,_0x4040c4);let _0x284146=class extends _0x3238b4['Disposable']{constructor(_0x83944e,_0x5558f5,_0x4e0ce2,_0x2706ff,_0x356bb4,_0x1323e2,_0x1662ba,_0x3a6169){const _0x4c307b=_0x1b3145;super(),_0xc84b25(this,_0x4c307b(0x389),new _0x1c6f00[(_0x4c307b(0x278))](_0x562098[_0x4c307b(0x304)]['NOT_COLLAB'])),(this[_0x4c307b(0x3d0)]=_0x83944e,this[_0x4c307b(0x191)]=_0x5558f5,this['_docTransformIMECacheService']=_0x4e0ce2,this[_0x4c307b(0x313)]=_0x2706ff,this['_docTransformSelectionsService']=_0x356bb4,this[_0x4c307b(0x223)]=_0x1323e2,this[_0x4c307b(0x338)]=_0x1662ba,this[_0x4c307b(0x28c)]=_0x3a6169,this[_0x4c307b(0x280)]());}[_0x1b3145(0x280)](){const _0xdea40e=_0x1b3145;this[_0xdea40e(0x287)](this[_0xdea40e(0x191)][_0xdea40e(0x3ca)][_0xdea40e(0x175)](_0x57987d=>{const _0x25974b=_0xdea40e,_0x3b77ab=this[_0x25974b(0x3d0)]['docStateChange$'][_0x25974b(0x175)](_0x4cf90e=>{const _0x3e2457=_0x25974b;if(_0x4cf90e==null)return;const {unitId:_0x308842,redoState:_0x5bf3b4,commandId:_0x364571}=_0x4cf90e;if(_0x308842!==_0x57987d[_0x3e2457(0x399)])return;const _0x40e4dc={'id':_0x364571,'type':_0x3238b4['CommandType'][_0x3e2457(0x2e1)],'params':{'unitId':_0x308842,'actions':_0x5bf3b4[_0x3e2457(0x317)],'textRanges':null}};_0x57987d[_0x3e2457(0x143)](_0x40e4dc);});if(_0x57987d['disposeWithMe'](_0x3b77ab),_0x57987d instanceof _0x562098[_0x25974b(0x10d)]){const _0x35acb1={'onTransformIME':_0x46c0f4=>this[_0x25974b(0x300)][_0x25974b(0x2c1)](_0x46c0f4),'onTransformState':_0xdfecf7=>this['_docTransformStateCacheService']['transformStateCache'](_0xdfecf7),'onTransformSelections':_0x53656a=>this[_0x25974b(0x1e4)][_0x25974b(0x256)](_0x53656a),'onSyncEditingCollabCursor':_0x1d7924=>this[_0x25974b(0x223)][_0x25974b(0x121)](_0x1d7924),'onTransformRemoteChangesetByIMECache':_0x2b1219=>this[_0x25974b(0x300)][_0x25974b(0x265)](_0x2b1219),'onTransformRemoteChangesetByStateCache':_0x130b14=>this[_0x25974b(0x313)][_0x25974b(0x265)](_0x130b14)};_0x57987d[_0x25974b(0x2eb)](_0x35acb1);}}));}};_0x284146=_0xe91464([_0x4cae95(0x0,_0x3238b4[_0x1b3145(0x146)](_0x2260ff[_0x1b3145(0x379)])),_0x4cae95(0x1,_0x3238b4[_0x1b3145(0x146)](_0x562098[_0x1b3145(0x319)])),_0x4cae95(0x2,_0x3238b4[_0x1b3145(0x146)](_0x278970)),_0x4cae95(0x3,_0x3238b4['Inject'](_0x382ba6)),_0x4cae95(0x4,_0x3238b4[_0x1b3145(0x146)](_0x2fdebd)),_0x4cae95(0x5,_0x3238b4[_0x1b3145(0x146)](_0x464ecb)),_0x4cae95(0x6,_0x5e73b5[_0x1b3145(0x335)]),_0x4cae95(0x7,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x268)]))],_0x284146);var _0x1903ab=(_0x1a5c67=>(_0x1a5c67[_0x1a5c67[_0x1b3145(0x123)]=0x0]=_0x1b3145(0x123),_0x1a5c67[_0x1a5c67['OK']=0x1]='OK',_0x1a5c67[_0x1a5c67[_0x1b3145(0x2b8)]=0x2]=_0x1b3145(0x2b8),_0x1a5c67[_0x1a5c67['PERMISSION_DENIED']=0x3]=_0x1b3145(0x20b),_0x1a5c67[_0x1a5c67[_0x1b3145(0x155)]=0x4]='NOT_FOUND',_0x1a5c67[_0x1a5c67[_0x1b3145(0x30d)]=0x5]=_0x1b3145(0x30d),_0x1a5c67[_0x1a5c67[_0x1b3145(0x1bc)]=0x6]=_0x1b3145(0x1bc),_0x1a5c67[_0x1a5c67[_0x1b3145(0x2b6)]=0x7]=_0x1b3145(0x2b6),_0x1a5c67[_0x1a5c67['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x1a5c67[_0x1a5c67[_0x1b3145(0x276)]=0x9]='COMPLETION_FINISHED',_0x1a5c67[_0x1a5c67['LOGIN_FAILED']=0xa]=_0x1b3145(0x112),_0x1a5c67[_0x1a5c67[_0x1b3145(0x38e)]=0xb]=_0x1b3145(0x38e),_0x1a5c67[_0x1a5c67['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x1b3145(0x33f),_0x1a5c67[_0x1a5c67['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x1a5c67[_0x1a5c67[_0x1b3145(0x349)]=0xe]=_0x1b3145(0x349),_0x1a5c67[_0x1a5c67[_0x1b3145(0x36c)]=0xf]=_0x1b3145(0x36c),_0x1a5c67[_0x1a5c67[_0x1b3145(0x3ce)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x1a5c67[_0x1a5c67['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x1b3145(0x384),_0x1a5c67[_0x1a5c67[_0x1b3145(0x1b1)]=0x65]=_0x1b3145(0x1b1),_0x1a5c67[_0x1a5c67[_0x1b3145(0x1fe)]=0xc9]=_0x1b3145(0x1fe),_0x1a5c67[_0x1a5c67[_0x1b3145(0x163)]=0xca]=_0x1b3145(0x163),_0x1a5c67[_0x1a5c67[_0x1b3145(0x2e9)]=0x1389]=_0x1b3145(0x2e9),_0x1a5c67[_0x1a5c67['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1b3145(0x31e),_0x1a5c67[_0x1a5c67[_0x1b3145(0x3b5)]=0x1772]=_0x1b3145(0x3b5),_0x1a5c67[_0x1a5c67[_0x1b3145(0x2c4)]=0x1773]=_0x1b3145(0x2c4),_0x1a5c67[_0x1a5c67['APPLY_REJECT']=0x1b59]=_0x1b3145(0x21e),_0x1a5c67[_0x1a5c67[_0x1b3145(0x3ba)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1a5c67[_0x1a5c67[_0x1b3145(0x334)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1a5c67[_0x1a5c67[_0x1b3145(0x241)]=0x1b5c]=_0x1b3145(0x241),_0x1a5c67[_0x1a5c67[_0x1b3145(0x207)]=0x1b5d]=_0x1b3145(0x207),_0x1a5c67[_0x1a5c67['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1b3145(0x314),_0x1a5c67[_0x1a5c67[_0x1b3145(0x249)]=0x2329]=_0x1b3145(0x249),_0x1a5c67[_0x1a5c67[_0x1b3145(0x251)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1a5c67[_0x1a5c67[_0x1b3145(0x279)]=0x232b]=_0x1b3145(0x279),_0x1a5c67[_0x1a5c67[_0x1b3145(0x306)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1a5c67[_0x1a5c67[_0x1b3145(0x206)]=0x232d]=_0x1b3145(0x206),_0x1a5c67[_0x1a5c67[_0x1b3145(0x196)]=0x2711]=_0x1b3145(0x196),_0x1a5c67[_0x1a5c67['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1b3145(0x15b),_0x1a5c67[_0x1a5c67[_0x1b3145(0x178)]=0x2713]=_0x1b3145(0x178),_0x1a5c67[_0x1a5c67['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1a5c67[_0x1a5c67['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1b3145(0x11b),_0x1a5c67[_0x1a5c67[_0x1b3145(0x336)]=0x271b]=_0x1b3145(0x336),_0x1a5c67[_0x1a5c67[_0x1b3145(0x2af)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1a5c67[_0x1a5c67['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1b3145(0x14a),_0x1a5c67[_0x1a5c67['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1b3145(0x1ca),_0x1a5c67[_0x1a5c67['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1b3145(0x1af),_0x1a5c67[_0x1a5c67['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1b3145(0x229),_0x1a5c67[_0x1a5c67[_0x1b3145(0x325)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1a5c67[_0x1a5c67[_0x1b3145(0x198)]=0x2ee1]=_0x1b3145(0x198),_0x1a5c67[_0x1a5c67[_0x1b3145(0x126)]=0x2ee2]='INVALID_INVITE_CODE',_0x1a5c67[_0x1a5c67[_0x1b3145(0x16d)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x1a5c67[_0x1a5c67['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x1a5c67[_0x1a5c67[_0x1b3145(0xfe)]=0x2ee5]=_0x1b3145(0xfe),_0x1a5c67[_0x1a5c67['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1b3145(0x2e8),_0x1a5c67[_0x1a5c67['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1b3145(0x2ad),_0x1a5c67[_0x1a5c67[_0x1b3145(0x135)]=0x32cb]=_0x1b3145(0x135),_0x1a5c67[_0x1a5c67[_0x1b3145(0x2a5)]=0x36b1]=_0x1b3145(0x2a5),_0x1a5c67[_0x1a5c67['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x1a5c67[_0x1a5c67[_0x1b3145(0x1ea)]=0x36b3]=_0x1b3145(0x1ea),_0x1a5c67[_0x1a5c67[_0x1b3145(0x1b2)]=0x36b4]=_0x1b3145(0x1b2),_0x1a5c67[_0x1a5c67['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x1a5c67[_0x1a5c67[_0x1b3145(0x12f)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x1a5c67[_0x1a5c67[_0x1b3145(0x132)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x1a5c67[_0x1a5c67[_0x1b3145(0x328)]=0x37dd]=_0x1b3145(0x328),_0x1a5c67[_0x1a5c67[_0x1b3145(0x37f)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x1a5c67[_0x1a5c67[_0x1b3145(0x186)]=0x3a9a]=_0x1b3145(0x186),_0x1a5c67[_0x1a5c67['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x1b3145(0x1f0),_0x1a5c67[_0x1a5c67[_0x1b3145(0x2bd)]=0x3a9c]=_0x1b3145(0x2bd),_0x1a5c67[_0x1a5c67[_0x1b3145(0x2fc)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x1a5c67[_0x1a5c67[_0x1b3145(0x387)]=0x3a9e]=_0x1b3145(0x387),_0x1a5c67[_0x1a5c67[_0x1b3145(0x1f5)]=0x3a9f]=_0x1b3145(0x1f5),_0x1a5c67[_0x1a5c67[_0x1b3145(0x244)]=0x3e81]=_0x1b3145(0x244),_0x1a5c67[_0x1a5c67[_0x1b3145(0x344)]=-0x1]=_0x1b3145(0x344),_0x1a5c67))(_0x1903ab||{});function _0x18ad97(_0x253352){const _0x3d6749=_0x1b3145;var _0x424f73,_0x261523;const _0x76e79c=(_0x424f73=_0x253352[_0x3d6749(0x272)])==null?void 0x0:_0x424f73[_0x3d6749(0x114)],_0x108af4=((_0x261523=_0x253352['stageInfo'])==null?void 0x0:_0x261523['totalFormulasToCalculate'])||0x0;return _0x76e79c===_0x2de62[_0x3d6749(0x154)][_0x3d6749(0x33e)]&&_0x108af4>0x0;}function _0x1d5f0b(_0x494255){const _0x4274c9=_0x1b3145;return _0x494255[_0x4274c9(0x320)]===_0x2de62['FormulaExecutedStateType'][_0x4274c9(0x12c)];}var _0x39e397=Object['getOwnPropertyDescriptor'],_0x18a24d=(_0x2a3046,_0x2a2da9,_0x3f3fb5,_0x3d6344)=>{for(var _0x4bd350=_0x3d6344>0x1?void 0x0:_0x3d6344?_0x39e397(_0x2a2da9,_0x3f3fb5):_0x2a2da9,_0x468c04=_0x2a3046['length']-0x1,_0x318076;_0x468c04>=0x0;_0x468c04--)(_0x318076=_0x2a3046[_0x468c04])&&(_0x4bd350=_0x318076(_0x4bd350)||_0x4bd350);return _0x4bd350;},_0x18a83d=(_0x389819,_0x5041cf)=>(_0x1471f2,_0x3ddb9b)=>_0x5041cf(_0x1471f2,_0x3ddb9b,_0x389819);const _0x3aabeb=_0x1b3145(0x37b),_0x17b4ad=_0x1b3145(0x36f),_0x403fa4=_0x1b3145(0x288);let _0x1a1e52=class extends _0x3238b4[_0x1b3145(0x16e)]{constructor(_0xf922d7,_0x204007,_0x5944bc,_0x5b4f0f,_0x5a5486,_0x107406,_0x53805b){const _0xbd0cd5=_0x1b3145;super(),_0xc84b25(this,_0xbd0cd5(0x169),null),_0xc84b25(this,'_maxFormulaLimit',0x0),_0xc84b25(this,'_currentUsage',0x0),_0xc84b25(this,_0xbd0cd5(0x396),[]),_0xc84b25(this,_0xbd0cd5(0x1bd),0x0),(this[_0xbd0cd5(0x338)]=_0xf922d7,this['_commandService']=_0x204007,this['_configService']=_0x5944bc,this[_0xbd0cd5(0x3b2)]=_0x5b4f0f,this['_univerInstanceService']=_0x5a5486,this['_logService']=_0x107406,this[_0xbd0cd5(0x28c)]=_0x53805b,this['_initCommandInterceptor']());}[_0x1b3145(0x1fc)](){const _0x4257ed=_0x1b3145;this[_0x4257ed(0x287)](this['_commandService']['beforeCommandExecuted']((_0x2ebedc,_0x11a516)=>{const _0x2153f9=_0x4257ed;var _0x4d4898;if(_0x2ebedc['id']!==_0x2de62[_0x2153f9(0x217)]['id'])return;const _0xccadb6=_0x2ebedc[_0x2153f9(0x21b)];if(!this['_hasFormulaInDirtyRanges']((_0x4d4898=_0xccadb6[_0x2153f9(0x136)])!=null?_0x4d4898:[]))return;if(!this[_0x2153f9(0x243)]())throw this['_checkAndWaitForCalculationPermission'](_0x2ebedc,_0x11a516),this['_showGuardMessage'](),new _0x3238b4[(_0x2153f9(0x192))]();})),this[_0x4257ed(0x287)](this[_0x4257ed(0x2ba)][_0x4257ed(0x106)]((_0x504dc2,_0x103aba)=>{const _0x1371bf=_0x4257ed;if(_0x504dc2['id']!==_0x2de62[_0x1371bf(0x385)]['id'])return;const _0x3e28b9=_0x504dc2['params'];if(_0x18ad97(_0x3e28b9)){const _0x2aa0c1=_0x3238b4['generateRandomId']();this[_0x1371bf(0x396)][_0x1371bf(0x2ea)](_0x2aa0c1),this[_0x1371bf(0x22f)](_0x2aa0c1);}else{if(_0x1d5f0b(_0x3e28b9)&&this[_0x1371bf(0x396)][_0x1371bf(0x2e0)]>0x0){const _0x4f7fae=this[_0x1371bf(0x396)][_0x1371bf(0x176)]();this[_0x1371bf(0x27e)](_0x4f7fae);}}}));}[_0x1b3145(0x26b)](){const _0x113d0d=_0x1b3145;super[_0x113d0d(0x26b)](),this[_0x113d0d(0x30c)](),this[_0x113d0d(0x396)]=[],this[_0x113d0d(0x124)]=0x0,this[_0x113d0d(0x3b6)]=0x0,this[_0x113d0d(0x1bd)]=0x0;}async[_0x1b3145(0x27c)](_0x9e90b0,_0x39d93e){const _0x498179=_0x1b3145;for(let _0xe42ea=0x0;_0xe42ea<0x1e;_0xe42ea++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this[_0x498179(0x226)](_0x9e90b0,_0x39d93e),this[_0x498179(0x338)][_0x498179(0x1b7)]({'content':this[_0x498179(0x28c)]['t'](_0x498179(0x165)),'type':_0x13fbb7[_0x498179(0x333)][_0x498179(0x2f0)]});return;}await new Promise(_0x51bc98=>{const _0x3540a5=_0x498179;this[_0x3540a5(0x169)]=window[_0x3540a5(0x1ce)](_0x51bc98,0x3e8);});}catch(_0x132358){this[_0x498179(0x1b8)][_0x498179(0x1a7)](_0x132358);}this[_0x498179(0x338)][_0x498179(0x1b7)]({'content':this['_localeService']['t'](_0x498179(0x195)),'type':_0x13fbb7[_0x498179(0x333)][_0x498179(0x33c)]});}[_0x1b3145(0x226)](_0x3f1d1f,_0x296805){const _0x31f09e=_0x1b3145;try{this['_commandService']['executeCommand'](_0x3f1d1f['id'],_0x3f1d1f['params'],_0x296805);}catch(_0x7ada96){this[_0x31f09e(0x1b8)]['error'](_0x7ada96);}}['_setFormulaLimitStatus'](_0x2d4137,_0x545f03){const _0x2b8990=_0x1b3145;_0x545f03<this[_0x2b8990(0x1bd)]||(this[_0x2b8990(0x1bd)]=_0x545f03,this[_0x2b8990(0x3b6)]=Number[_0x2b8990(0x1c1)](_0x2d4137['maxFormulaLimit']),this['_currentUsage']=Number[_0x2b8990(0x1c1)](_0x2d4137['currentUsage']));}async[_0x1b3145(0x22f)](_0x4330e5){const _0x301e49=_0x1b3145;var _0x43f4e8,_0x5058e0;const _0x39efc9=Date['now']();try{const _0x421ec3=((_0x43f4e8=this[_0x301e49(0x391)][_0x301e49(0x142)](_0x562098[_0x301e49(0x210)]))==null?void 0x0:_0x43f4e8['startFormulaLimitUrl'])||_0x17b4ad,_0x48ed42=(await this[_0x301e49(0x3b2)]['post'](_0x421ec3,{'body':JSON[_0x301e49(0x2c8)]({'taskId':_0x4330e5})}))[_0x301e49(0x346)];if(((_0x5058e0=_0x48ed42[_0x301e49(0x1a7)])==null?void 0x0:_0x5058e0['code'])!==_0x1903ab['OK'])return;this['_setFormulaLimitStatus'](_0x48ed42[_0x301e49(0x1f2)],_0x39efc9);}catch(_0x50532f){this[_0x301e49(0x1b8)][_0x301e49(0x1a7)](_0x50532f);}}async[_0x1b3145(0x28e)](_0x10dcba){const _0xabf392=_0x1b3145;var _0x40ad89,_0x1fb8ca;const _0x25538b=Date[_0xabf392(0x145)]();try{const _0x1f765b=((_0x40ad89=this[_0xabf392(0x391)][_0xabf392(0x142)](_0x562098[_0xabf392(0x210)]))==null?void 0x0:_0x40ad89[_0xabf392(0x202)])||_0x3aabeb,_0x584a3e=_0x10dcba?_0x1f765b+_0xabf392(0x376)+encodeURIComponent(_0x10dcba):_0x1f765b,_0x410f70=(await this[_0xabf392(0x3b2)][_0xabf392(0x111)](_0x584a3e))[_0xabf392(0x346)];if(((_0x1fb8ca=_0x410f70[_0xabf392(0x1a7)])==null?void 0x0:_0x1fb8ca[_0xabf392(0x2a1)])!==_0x1903ab['OK'])return;this['_setFormulaLimitStatus'](_0x410f70[_0xabf392(0x1f2)],_0x25538b);}catch(_0x1c9f2a){this['_logService'][_0xabf392(0x1a7)](_0x1c9f2a);}}async[_0x1b3145(0x27e)](_0x18a313){const _0x3cb21a=_0x1b3145;var _0x286198,_0x5f2b46;const _0x53a6fc=Date[_0x3cb21a(0x145)]();try{const _0x4901cb=((_0x286198=this[_0x3cb21a(0x391)]['getConfig'](_0x562098[_0x3cb21a(0x210)]))==null?void 0x0:_0x286198['releaseFormulaLimitUrl'])||_0x403fa4,_0x4da715=(await this[_0x3cb21a(0x3b2)][_0x3cb21a(0x189)](_0x4901cb,{'body':JSON['stringify']({'taskId':_0x18a313})}))[_0x3cb21a(0x346)];if(((_0x5f2b46=_0x4da715['error'])==null?void 0x0:_0x5f2b46[_0x3cb21a(0x2a1)])!==_0x1903ab['OK'])return;this[_0x3cb21a(0x353)](_0x4da715[_0x3cb21a(0x1f2)],_0x53a6fc);}catch(_0x20f9ed){this[_0x3cb21a(0x1b8)][_0x3cb21a(0x1a7)](_0x20f9ed);}}[_0x1b3145(0x243)](){const _0x1ea43b=_0x1b3145;return this[_0x1ea43b(0x3b6)]===0x0?!0x0:this[_0x1ea43b(0x3b6)]-this[_0x1ea43b(0x124)]>0x0;}[_0x1b3145(0x30c)](){const _0x5411c6=_0x1b3145;this[_0x5411c6(0x169)]&&(clearTimeout(this['_pollingInterval']),this['_pollingInterval']=null);}[_0x1b3145(0x37c)](){const _0x2bba93=_0x1b3145;this[_0x2bba93(0x338)][_0x2bba93(0x1b7)]({'content':this[_0x2bba93(0x28c)]['t'](_0x2bba93(0x22a)),'type':_0x13fbb7['MessageType'][_0x2bba93(0x1d6)]});}[_0x1b3145(0x140)](_0x135137){const _0x26930c=_0x1b3145;for(const _0x1f6659 of _0x135137){const {unitId:_0x8fe722,sheetId:_0x5a394e,range:_0x16525d}=_0x1f6659,_0x403494=this[_0x26930c(0x260)][_0x26930c(0x282)](_0x8fe722);if(!_0x403494)continue;const _0x3c0c65=_0x403494[_0x26930c(0x3cf)](_0x5a394e);if(!_0x3c0c65)continue;const _0x80f2d2=_0x3c0c65[_0x26930c(0x348)]();for(let _0x872509=_0x16525d['startRow'];_0x872509<=_0x16525d['endRow'];_0x872509++)for(let _0x38a26a=_0x16525d['startColumn'];_0x38a26a<=_0x16525d[_0x26930c(0x38b)];_0x38a26a++){const _0x524531=_0x80f2d2[_0x26930c(0x205)](_0x872509,_0x38a26a);if(_0x524531&&(_0x3238b4[_0x26930c(0x15c)](_0x524531['f'])||_0x3238b4[_0x26930c(0x2b0)](_0x524531['si'])))return!0x0;}}return!0x1;}};_0x1a1e52=_0x18a24d([_0x18a83d(0x0,_0x3238b4[_0x1b3145(0x146)](_0x5e73b5[_0x1b3145(0x335)])),_0x18a83d(0x1,_0x3238b4[_0x1b3145(0x1c7)]),_0x18a83d(0x2,_0x3238b4[_0x1b3145(0x362)]),_0x18a83d(0x3,_0x3238b4[_0x1b3145(0x146)](_0x4c4936[_0x1b3145(0x28d)])),_0x18a83d(0x4,_0x3238b4['IUniverInstanceService']),_0x18a83d(0x5,_0x3238b4['ILogService']),_0x18a83d(0x6,_0x3238b4['Inject'](_0x3238b4[_0x1b3145(0x268)]))],_0x1a1e52);var _0x581a77=Object['getOwnPropertyDescriptor'],_0x33f298=(_0x2f2622,_0x1a2593,_0x1f3d65,_0xd9ffdf)=>{const _0x1757c5=_0x1b3145;for(var _0x27d53e=_0xd9ffdf>0x1?void 0x0:_0xd9ffdf?_0x581a77(_0x1a2593,_0x1f3d65):_0x1a2593,_0x314721=_0x2f2622[_0x1757c5(0x2e0)]-0x1,_0x1510ad;_0x314721>=0x0;_0x314721--)(_0x1510ad=_0x2f2622[_0x314721])&&(_0x27d53e=_0x1510ad(_0x27d53e)||_0x27d53e);return _0x27d53e;},_0x297495=(_0x5b892f,_0x2de631)=>(_0x484425,_0x1c1644)=>_0x2de631(_0x484425,_0x1c1644,_0x5b892f);let _0x1b4b06=class extends _0x3238b4[_0x1b3145(0x16e)]{constructor(_0x546e2c,_0x54ee77,_0x566266){const _0x5732c6=_0x1b3145;super(),_0xc84b25(this,_0x5732c6(0x1ad),new Map()),_0xc84b25(this,'_saveTaskMap',new Map()),_0xc84b25(this,'_disabled',!0x1),(this[_0x5732c6(0x391)]=_0x546e2c,this['_localStorageService']=_0x54ee77,this[_0x5732c6(0x188)]=_0x566266);}['disableLocalCache'](){const _0x23d9ce=_0x1b3145;this[_0x23d9ce(0x1c5)]=!0x0;}[_0x1b3145(0x34f)](){const _0x41315e=_0x1b3145;this[_0x41315e(0x1c5)]=!0x1;}get['saveTaskMap'](){const _0x4429f1=_0x1b3145;return this[_0x4429f1(0x3a0)];}[_0x1b3145(0x26b)](){const _0x3a3c67=_0x1b3145;this['exhaustSavingTask']()[_0x3a3c67(0x1b3)](()=>super[_0x3a3c67(0x26b)]());}async[_0x1b3145(0x2f8)](_0x108617){const _0x201c34=_0x1b3145;return this['_disabled']?null:this[_0x201c34(0x286)][_0x201c34(0x27b)](_0x562098['getLocalCacheKey'](_0x108617));}async[_0x1b3145(0x18e)](_0xb22610,_0x5b43a2){const _0x35120e=_0x1b3145;return!!this['_localStorageService'][_0x35120e(0x3c7)](_0xb22610,_0x5b43a2);}[_0x1b3145(0x24b)](_0x1e75ea,_0x10e017,_0x591bcc,_0x48de2a){const _0x485154=_0x1b3145,_0x22048c=this[_0x485154(0x188)]['getCurrentRevOfUnit'](_0x1e75ea);this['_cachedData'][_0x485154(0x102)](_0x1e75ea,{'unitID':_0x1e75ea,'type':_0x10e017,'awaitingChangeset':_0x591bcc,'mutations':_0x48de2a,'rev':_0x22048c}),this[_0x485154(0x3a0)][_0x485154(0x305)](_0x1e75ea)||this['_scheduleSaving'](_0x1e75ea);}[_0x1b3145(0x31b)](_0x571fa5){const _0x31e890=_0x1b3145,_0x211277=this[_0x31e890(0x22b)]();_0x211277===0x0?this[_0x31e890(0x231)](_0x571fa5):this['_saveTaskMap'][_0x31e890(0x102)](_0x571fa5,setTimeout(()=>this[_0x31e890(0x231)](_0x571fa5),_0x211277));}['_getSaveTimeout'](){const _0x575cd0=_0x1b3145;var _0x8c9e0c;return(_0x8c9e0c=this[_0x575cd0(0x391)][_0x575cd0(0x142)](_0x562098['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x8c9e0c:_0x562098[_0x575cd0(0x2f7)];}[_0x1b3145(0x231)](_0x3c738d){const _0x339175=_0x1b3145,_0xd49358=this['_saveTaskMap'][_0x339175(0x111)](_0x3c738d);return _0xd49358!==void 0x0&&window['clearTimeout'](_0xd49358),this[_0x339175(0x286)][_0x339175(0x3c7)](_0x562098[_0x339175(0x18d)](_0x3c738d),this[_0x339175(0x1ad)][_0x339175(0x111)](_0x3c738d))['then'](()=>this[_0x339175(0x3a0)]['delete'](_0x3c738d));}async[_0x1b3145(0x1ef)](){const _0x16976c=_0x1b3145,_0x4598ce=[];this[_0x16976c(0x3a0)][_0x16976c(0x360)]((_0x292307,_0x34b86b)=>{const _0x24d027=_0x16976c;window['clearTimeout'](_0x292307),_0x4598ce[_0x24d027(0x2ea)](this[_0x24d027(0x231)](_0x34b86b)[_0x24d027(0x1b3)](()=>{const _0x508e85=_0x24d027;this[_0x508e85(0x3a0)]['delete'](_0x34b86b);}));}),await Promise[_0x16976c(0x3b1)](_0x4598ce);}};_0x1b4b06=_0x33f298([_0x297495(0x0,_0x3238b4[_0x1b3145(0x362)]),_0x297495(0x1,_0x3238b4[_0x1b3145(0x214)]),_0x297495(0x2,_0x3238b4[_0x1b3145(0x146)](_0x57c8d5[_0x1b3145(0x236)]))],_0x1b4b06);class _0x1e6858 extends _0x3238b4[_0x1b3145(0x218)]{constructor(){const _0x20b047=_0x1b3145;super(),_0xc84b25(this,'urlChange$'),this[_0x20b047(0x378)]=_0x1c6f00[_0x20b047(0x27f)](window,'popstate')[_0x20b047(0x30e)](_0x1c6f00[_0x20b047(0xff)](this[_0x20b047(0x1a6)]),_0x1c6f00[_0x20b047(0x3b7)](0x1),_0x1c6f00['mapTo'](void 0x0));}['setParam'](_0x5e4bb4,_0x5aa1d6,_0x4e5fd2=!0x1){const _0x53feac=_0x1b3145,_0x282455=new URL(window[_0x53feac(0xfd)][_0x53feac(0x180)]);_0x282455['searchParams'][_0x53feac(0x102)](_0x5e4bb4,_0x5aa1d6),_0x4e5fd2?window[_0x53feac(0x222)]['replaceState']('','',_0x282455[_0x53feac(0x108)]()):window[_0x53feac(0x222)]['pushState']('','',_0x282455[_0x53feac(0x108)]());}[_0x1b3145(0x1de)](_0x77689c,_0x10ec58=!0x1){const _0x121ecc=_0x1b3145,_0x28a2f8=new URL(window[_0x121ecc(0xfd)]['href']);_0x28a2f8[_0x121ecc(0x1d1)][_0x121ecc(0x2d4)](_0x77689c),_0x10ec58?window[_0x121ecc(0x222)][_0x121ecc(0x107)]('','',_0x28a2f8[_0x121ecc(0x108)]()):window[_0x121ecc(0x222)]['pushState']('','',_0x28a2f8['toString']());}['getParam'](_0xd50206){const _0x286335=_0x1b3145;var _0x1cc51a;return(_0x1cc51a=new URL(window['location']['href'])[_0x286335(0x1d1)][_0x286335(0x111)](_0xd50206))!=null?_0x1cc51a:void 0x0;}}var _0x3b8cc2=Object[_0x1b3145(0x3b4)],_0xd41ee6=Object[_0x1b3145(0x270)],_0x1edded=(_0x21981f,_0xa3a5ed,_0x1d0db9)=>_0xa3a5ed in _0x21981f?_0x3b8cc2(_0x21981f,_0xa3a5ed,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d0db9}):_0x21981f[_0xa3a5ed]=_0x1d0db9,_0x1ecbd0=(_0x56a465,_0x1bdd67,_0x2aa061,_0x3147dd)=>{const _0x1ca309=_0x1b3145;for(var _0x2995f5=_0x3147dd>0x1?void 0x0:_0x3147dd?_0xd41ee6(_0x1bdd67,_0x2aa061):_0x1bdd67,_0x5a4967=_0x56a465[_0x1ca309(0x2e0)]-0x1,_0xe3c6fb;_0x5a4967>=0x0;_0x5a4967--)(_0xe3c6fb=_0x56a465[_0x5a4967])&&(_0x2995f5=_0xe3c6fb(_0x2995f5)||_0x2995f5);return _0x2995f5;},_0x2284a1=(_0x2f5340,_0x42c3a3)=>(_0x29d819,_0x1a620e)=>_0x42c3a3(_0x29d819,_0x1a620e,_0x2f5340),_0x151cf3=(_0x27c697,_0x4edfc2,_0xfd87ce)=>_0x1edded(_0x27c697,_0x4edfc2+'',_0xfd87ce);const _0x280fc7=_0x1b3145(0x393);_0x1ef13c['UniverCollaborationClientUIPlugin']=class extends _0x3238b4[_0x1b3145(0x369)]{constructor(_0x2233c2=_0x3865ef,_0x3c71c0,_0x2fe09b,_0x5d5c57){const _0x15f961=_0x1b3145;super(),this[_0x15f961(0x1db)]=_0x2233c2,this[_0x15f961(0x3c0)]=_0x3c71c0,this['_injector']=_0x2fe09b,this[_0x15f961(0x391)]=_0x5d5c57;const {..._0x465e54}=_0x3238b4['merge']({},_0x3865ef,this[_0x15f961(0x1db)]);this[_0x15f961(0x391)]['setConfig'](_0x248369,_0x465e54);}[_0x1b3145(0x2d8)](){const _0xf01e10=_0x1b3145;this[_0xf01e10(0x2c0)](),this['_initDependencies']();}[_0x1b3145(0x2c2)](){const _0x1a5232=_0x1b3145;this[_0x1a5232(0x18f)]();}['_registerDependencies'](){const _0x2a563e=_0x1b3145;var _0x353a40;const _0x54316d=[[_0x29a11f],[_0x1a1e52],[_0x2fdebd],[_0x278970],[_0x382ba6],[_0x464ecb],[_0x559004,{'useClass':_0x1e6858}],[_0x4c4936[_0x2a563e(0x3b3)],{'useClass':_0x4c4936[_0x2a563e(0x103)]}],[_0x562098[_0x2a563e(0x35b)],{'useClass':_0x1b4b06}],[_0x1ef13c[_0x2a563e(0x342)]],[_0x284146],[_0x435379],[_0xf2e975],[_0x386d5a],[_0x1ef13c['CollaborationDataLoaderController']]];_0x3238b4[_0x2a563e(0x230)](this[_0x2a563e(0x275)],_0x3238b4[_0x2a563e(0x2ab)](_0x54316d,(_0x353a40=this['_config'])==null?void 0x0:_0x353a40['override']));}[_0x1b3145(0x18f)](){const _0x24db07=_0x1b3145;this[_0x24db07(0x287)](this[_0x24db07(0x3c0)][_0x24db07(0x2b7)](_0x3238b4[_0x24db07(0x1a5)][_0x24db07(0x181)],[_0x23d495])),this['disposeWithMe'](this[_0x24db07(0x3c0)][_0x24db07(0x2b7)](_0x3238b4[_0x24db07(0x1a5)][_0x24db07(0x12b)],[_0x55c3b2]));}[_0x1b3145(0x32e)](){const _0x3fe4d5=_0x1b3145;_0x3238b4[_0x3fe4d5(0x2d9)](this[_0x3fe4d5(0x275)],[[_0xf2e975],[_0x1ef13c['DesktopCollaborationStatusDisplayController']],[_0x284146],[_0x435379],[_0x1ef13c['CollaborationDataLoaderController']],[_0x1a1e52]]);}},_0x151cf3(_0x1ef13c[_0x1b3145(0x11f)],_0x1b3145(0x101),_0x280fc7),_0x1ef13c[_0x1b3145(0x11f)]=_0x1ecbd0([_0x3238b4['DependentOn'](_0x562098[_0x1b3145(0x1e5)]),_0x2284a1(0x1,_0xcb617a[_0x1b3145(0x1a8)]),_0x2284a1(0x2,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x347)])),_0x2284a1(0x3,_0x3238b4[_0x1b3145(0x362)])],_0x1ef13c[_0x1b3145(0x11f)]);var _0x2c16ca=Object[_0x1b3145(0x270)],_0x56106d=(_0x509e25,_0xcd1666,_0x3d9684,_0x4b16e5)=>{const _0x5f1862=_0x1b3145;for(var _0x5d5054=_0x4b16e5>0x1?void 0x0:_0x4b16e5?_0x2c16ca(_0xcd1666,_0x3d9684):_0xcd1666,_0x5cc9d2=_0x509e25[_0x5f1862(0x2e0)]-0x1,_0x5be12d;_0x5cc9d2>=0x0;_0x5cc9d2--)(_0x5be12d=_0x509e25[_0x5cc9d2])&&(_0x5d5054=_0x5be12d(_0x5d5054)||_0x5d5054);return _0x5d5054;},_0x5b8b0e=(_0x55f359,_0x397bbb)=>(_0x141893,_0x49dcfe)=>_0x397bbb(_0x141893,_0x49dcfe,_0x55f359);_0x1ef13c[_0x1b3145(0x2c6)]=class extends _0x562098[_0x1b3145(0x13d)]{constructor(_0x569149,_0xa1c660,_0x3e4e24,_0x48ad81,_0x28bd23){super(_0x569149,_0xa1c660,_0x3e4e24,_0x48ad81,_0x28bd23);}async[_0x1b3145(0x254)](_0x28e5fe){const _0xb4f495=_0x1b3145,_0x15fd95=await this[_0xb4f495(0x234)](),_0x3a6505=this[_0xb4f495(0x3a1)](_0x28e5fe,_0x15fd95);return this['_doCreateSocket'](_0x3a6505);}[_0x1b3145(0x3a1)](_0x5c23dc,_0x5daabb){const _0xb2b6e7=_0x1b3145,_0x38acd7=typeof window>'u'?new URL(_0x5c23dc):new URL(_0x5c23dc,window[_0xb2b6e7(0xfd)][_0xb2b6e7(0x358)]);_0x38acd7[_0xb2b6e7(0x1d1)][_0xb2b6e7(0x102)]('sessionTicket',_0x5daabb);const _0x2681fd=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xb2b6e7(0xfd)][_0xb2b6e7(0x316)]);return _0x2681fd[_0xb2b6e7(0x111)]('runId')&&_0x38acd7[_0xb2b6e7(0x1d1)][_0xb2b6e7(0x102)](_0xb2b6e7(0x39b),_0x2681fd[_0xb2b6e7(0x111)](_0xb2b6e7(0x39b))),_0x38acd7['toString']();}async[_0x1b3145(0x234)](){const _0x31df9f=_0x1b3145;var _0x1b411a,_0x12e861,_0x2e3503;const _0x127723=this['_configService'][_0x31df9f(0x142)](_0x562098['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x3470f2=(_0x1b411a=_0x127723==null?void 0x0:_0x127723[_0x31df9f(0x153)])!=null?_0x1b411a:_0x562098[_0x31df9f(0x2c5)];return(_0x2e3503=(_0x12e861=(await this[_0x31df9f(0x3b2)][_0x31df9f(0x111)](_0x3470f2,{'headers':{'Content-Type':_0x31df9f(0x3c5)}}))[_0x31df9f(0x346)])==null?void 0x0:_0x12e861['ticket'])!=null?_0x2e3503:'';}},_0x1ef13c[_0x1b3145(0x2c6)]=_0x56106d([_0x5b8b0e(0x0,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x347)])),_0x5b8b0e(0x1,_0x3238b4[_0x1b3145(0x146)](_0x4c4936[_0x1b3145(0x28d)])),_0x5b8b0e(0x2,_0x3238b4[_0x1b3145(0x362)]),_0x5b8b0e(0x3,_0x3238b4[_0x1b3145(0x262)]),_0x5b8b0e(0x4,_0x57c8d5['ISnapshotServerService'])],_0x1ef13c[_0x1b3145(0x2c6)]);var _0x42baba=Object[_0x1b3145(0x270)],_0x44e14f=(_0x26e5d7,_0x2120cf,_0x500bbd,_0x49e026)=>{const _0x422546=_0x1b3145;for(var _0x27c473=_0x49e026>0x1?void 0x0:_0x49e026?_0x42baba(_0x2120cf,_0x500bbd):_0x2120cf,_0x275964=_0x26e5d7[_0x422546(0x2e0)]-0x1,_0x4b736c;_0x275964>=0x0;_0x275964--)(_0x4b736c=_0x26e5d7[_0x275964])&&(_0x27c473=_0x4b736c(_0x27c473)||_0x27c473);return _0x27c473;},_0x44bf3a=(_0x59dffd,_0x486144)=>(_0x544868,_0x4b079)=>_0x486144(_0x544868,_0x4b079,_0x59dffd);_0x1ef13c[_0x1b3145(0x292)]=class extends _0x3238b4[_0x1b3145(0x16e)]{constructor(_0x53ed36,_0x3ea3a0,_0x17b556){const _0xb55bb4=_0x1b3145;super(),this[_0xb55bb4(0x117)]=_0x53ed36,this[_0xb55bb4(0x3b2)]=_0x3ea3a0,this[_0xb55bb4(0x391)]=_0x17b556;}async[_0x1b3145(0x39e)](_0x21d780,_0x54da53,_0x346f90,..._0x2d6937){const _0x34fe2c=_0x1b3145;var _0x2122b7,_0x43f52a,_0x565283,_0x5618ab;const _0x2912ce=this[_0x34fe2c(0x117)]['getFocusedUnit']();if(!_0x2912ce)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x560f58=((_0x2122b7=this[_0x34fe2c(0x391)][_0x34fe2c(0x142)](_0x562098[_0x34fe2c(0x386)]))!=null?_0x2122b7:_0x562098[_0x34fe2c(0x356)])+'/'+_0x21d780+_0x34fe2c(0x355)+_0x54da53,_0x2e447f=new URL(window['location'][_0x34fe2c(0x180)]),_0x5b75e3={'scriptId':_0x21d780,'runId':(_0x43f52a=_0x2e447f[_0x34fe2c(0x1d1)]['get'](_0x34fe2c(0x39b)))!=null?_0x43f52a:'','function':_0x54da53,'unitId':_0x2912ce[_0x34fe2c(0x259)](),'argsOfFunction':JSON[_0x34fe2c(0x2c8)](_0x2d6937),'invokeId':(_0x565283=_0x346f90[_0x34fe2c(0x2e3)])!=null?_0x565283:'','executionId':(_0x5618ab=_0x346f90['executionId'])!=null?_0x5618ab:''};try{const _0x18905b=await this[_0x34fe2c(0x3b2)][_0x34fe2c(0x189)](_0x560f58,{'body':_0x5b75e3});return _0x18905b[_0x34fe2c(0x346)]['error']&&_0x18905b[_0x34fe2c(0x346)]['error']['code']!==_0x1903ab['OK']?_0x34fe2c(0x37a):_0x18905b[_0x34fe2c(0x346)][_0x34fe2c(0x29f)];}catch{return _0x34fe2c(0x37a);}}},_0x1ef13c['RemoteUniscriptService']=_0x44e14f([_0x44bf3a(0x0,_0x3238b4[_0x1b3145(0x2be)]),_0x44bf3a(0x1,_0x3238b4[_0x1b3145(0x146)](_0x4c4936[_0x1b3145(0x28d)])),_0x44bf3a(0x2,_0x3238b4[_0x1b3145(0x362)])],_0x1ef13c[_0x1b3145(0x292)]);const _0x255c62=0x7530,_0x57cf67=_0x1b3145(0x150);class _0x51e8a8 extends _0x3238b4[_0x1b3145(0x16e)]{constructor(){const _0x30120e=_0x1b3145;super(),_0xc84b25(this,_0x30120e(0x170),_0x3238b4['generateRandomId']()),_0xc84b25(this,_0x30120e(0x23b),new Set()),_0xc84b25(this,'_unitOnClients',new Map()),_0xc84b25(this,'_heartbeatTimer',null),_0xc84b25(this,'_clearOtherTimers',new Map()),_0xc84b25(this,_0x30120e(0x17e),new Map()),this['_init']();}[_0x1b3145(0x26b)](){const _0x379309=_0x1b3145;super['dispose'](),this['_clearOtherTimers'][_0x379309(0x360)]((_0xac4233,_0x3e2d36)=>this[_0x379309(0x17b)](_0x3e2d36)),this['_heartbeatTimer']&&window[_0x379309(0x1ff)](this['_heartbeatTimer']);}[_0x1b3145(0x381)](_0x18d5aa){const _0x11346a=_0x1b3145;return this[_0x11346a(0x2ee)](_0x18d5aa)[_0x11346a(0x30e)](_0x1c6f00[_0x11346a(0x240)]());}['editingUnit'](_0x552cd4){const _0x225e2f=_0x1b3145;this[_0x225e2f(0x23b)][_0x225e2f(0x245)]===0x0&&this[_0x225e2f(0x1b0)](),this[_0x225e2f(0x23b)]['add'](_0x552cd4),this[_0x225e2f(0x187)]({'type':0x0,'memberID':this[_0x225e2f(0x170)],'unitIDs':[_0x552cd4],'isForwarded':!0x1});}['disposeUnit'](_0x4e2ecb){const _0x527a34=_0x1b3145;this[_0x527a34(0x23b)][_0x527a34(0x2d4)](_0x4e2ecb),this[_0x527a34(0x23b)]['size']===0x0&&this[_0x527a34(0x115)]&&window[_0x527a34(0x1ff)](this[_0x527a34(0x115)]);}['_init'](){const _0x4745a6=_0x1b3145;this[_0x4745a6(0x287)](_0x3238b4[_0x4745a6(0x2e5)](_0x1c6f00[_0x4745a6(0x27f)](window,'storage')[_0x4745a6(0x175)](_0x9c910e=>{if(_0x9c910e['key']!==_0x57cf67||!_0x9c910e['newValue'])return;const _0x22b451=JSON['parse'](_0x9c910e['newValue']);this['_handleEvent'](_0x22b451);}))),window[_0x4745a6(0x14f)](_0x4745a6(0x332),()=>this['_send']({'type':0x1,'memberID':this[_0x4745a6(0x170)],'unitIDs':Array[_0x4745a6(0x2e2)](this[_0x4745a6(0x23b)])}));}[_0x1b3145(0x109)](_0x294048){const _0x4fd7c2=_0x1b3145;switch(_0x294048[_0x4fd7c2(0x232)]){case 0x0:this[_0x4fd7c2(0x367)](_0x294048);break;case 0x1:this['_handleLeaveEvent'](_0x294048);break;case 0x2:this[_0x4fd7c2(0x343)](_0x294048);break;}}[_0x1b3145(0x367)](_0x4a9fa2){const _0x385b4f=_0x1b3145,{unitIDs:_0x2fb628,memberID:_0x4a45e9,isForwarded:_0x4643f1}=_0x4a9fa2;_0x2fb628[_0x385b4f(0x360)](_0x46cb53=>{const _0x3a0ff8=_0x385b4f;if(!_0x4643f1&&this['_unitOnClients'][_0x3a0ff8(0x305)](_0x46cb53)&&this[_0x3a0ff8(0x2ee)](_0x46cb53)[_0x3a0ff8(0x173)](_0x562098['UnitStatus'][_0x3a0ff8(0x24f)]),!this[_0x3a0ff8(0x253)]['has'](_0x46cb53)||!this[_0x3a0ff8(0x253)]['get'](_0x46cb53)['has'](_0x4a45e9)){const _0x106b34=this['_unitOnClients'][_0x3a0ff8(0x111)](_0x46cb53)||new Set();_0x106b34[_0x3a0ff8(0x2bf)](_0x4a45e9),this[_0x3a0ff8(0x253)][_0x3a0ff8(0x102)](_0x46cb53,_0x106b34),this[_0x3a0ff8(0x1be)](_0x4a45e9);}}),_0x4643f1||this['_send']({'type':0x0,'memberID':this[_0x385b4f(0x170)],'unitIDs':[...this[_0x385b4f(0x23b)]],'isForwarded':!0x0});}[_0x1b3145(0x1be)](_0x5a72fd){const _0x527f5b=_0x1b3145;this[_0x527f5b(0x17b)](_0x5a72fd);const _0x43f5b2=window['setTimeout'](()=>{const _0x3f052b=_0x527f5b;this[_0x3f052b(0x253)][_0x3f052b(0x360)](_0x22365f=>{const _0x4732a1=_0x3f052b;_0x22365f[_0x4732a1(0x2d4)](_0x5a72fd);});},_0x255c62*0x2);this[_0x527f5b(0x390)]['set'](_0x5a72fd,_0x43f5b2);}[_0x1b3145(0x17b)](_0x5dfae2){const _0x2a68bf=_0x1b3145;if(this['_clearOtherTimers'][_0x2a68bf(0x305)](_0x5dfae2)){const _0x349ef7=this['_clearOtherTimers']['get'](_0x5dfae2);_0x349ef7&&window[_0x2a68bf(0x290)](_0x349ef7),this[_0x2a68bf(0x390)][_0x2a68bf(0x102)](_0x5dfae2,null);}}[_0x1b3145(0x31f)](_0x19449e){const _0xd8f4cc=_0x1b3145,{memberID:_0x127dc4,unitIDs:_0x189a09}=_0x19449e;_0x189a09['forEach'](_0x39e5b2=>{const _0x222c2c=_0x1014;var _0x4e64aa;const _0x9f0f8e=this[_0x222c2c(0x253)]['get'](_0x39e5b2);_0x9f0f8e&&(_0x9f0f8e[_0x222c2c(0x2d4)](_0x127dc4),(_0x4e64aa=this[_0x222c2c(0x2ee)](_0x39e5b2))==null||_0x4e64aa[_0x222c2c(0x173)](_0x9f0f8e[_0x222c2c(0x245)]===0x0?_0x562098[_0x222c2c(0x1eb)][_0x222c2c(0x31d)]:_0x562098[_0x222c2c(0x1eb)][_0x222c2c(0x24f)]));}),this[_0xd8f4cc(0x17b)](_0x127dc4);}[_0x1b3145(0x343)](_0x33a020){const _0xc1bab2=_0x1b3145;this['_scheduleClearOtherTimer'](_0x33a020[_0xc1bab2(0x23a)]);}[_0x1b3145(0x187)](_0x141e6d){const _0x1407e8=_0x1b3145;localStorage[_0x1407e8(0x3c7)](_0x57cf67,JSON[_0x1407e8(0x2c8)](_0x141e6d));}[_0x1b3145(0x1b0)](){const _0x326cd4=_0x1b3145;this['_heartbeatTimer']=window[_0x326cd4(0x2b3)](()=>{const _0xc4b72f=_0x326cd4;this[_0xc4b72f(0x187)]({'type':0x2,'memberID':this['_id']});},_0x255c62);}[_0x1b3145(0x2ee)](_0x3b2497){const _0x2161c0=_0x1b3145;return this['_unitStatus']['has'](_0x3b2497)||this[_0x2161c0(0x17e)][_0x2161c0(0x102)](_0x3b2497,new _0x1c6f00[(_0x2161c0(0x278))](_0x562098[_0x2161c0(0x1eb)][_0x2161c0(0x31d)])),this['_unitStatus']['get'](_0x3b2497);}}_0x1ef13c['IURLService']=_0x559004,_0x1ef13c['SheetCollabCursorShape']=_0x47b0f3,_0x1ef13c[_0x1b3145(0x1a3)]=_0x51e8a8,_0x1ef13c['WebURLService']=_0x1e6858,Object[_0x1b3145(0x3b4)](_0x1ef13c,Symbol[_0x1b3145(0x1e3)],{'value':_0x1b3145(0x1d7)});}));
|
|
8
|
+
function _0xd869(_0x1dc9d5,_0x23723e){const _0x5f3338=_0x5f33();return _0xd869=function(_0xd869b9,_0x1602dd){_0xd869b9=_0xd869b9-0x1ea;let _0x230744=_0x5f3338[_0xd869b9];return _0x230744;},_0xd869(_0x1dc9d5,_0x23723e);}function _0x5f33(){const _0x1515d6=['href','_updateLocalCursor','dispose','collabStatus.offline','_textBubble','getFocusedUnit','_hasFormulaInDirtyRanges','INVITE_CODE_REQUIRED','@univerjs-pro/collaboration-client','_initWindowErrorListener','_handleEvent','_docTransformStateCacheService','TOO_MANY_REQUESTS','OffLineIcon','now','_cursors','stage','UniverProCollaborationClientUi','_syncEditingCollabCursorService','cursorInfo','url(#off-line-icon_clip0_910_343)','rgba(255,\x20255,\x20255,\x200.01)','with','whenReady','on-line-icon_clip0_910_349','m1Prime','_showGuardMessage','editingUnit','_online','ENTITLE_CHAT_LIMIT_EXCEED','handleInsertCol','UniverRpc','forwardRef','_anchorDot','forEach','_status$','FromArray','_docSkeleton','enableFrontendLog','currentColor','setShapeProps','height','getViewport','/universer-api/license/formula/limit/start','hovered','INVALID_ARGUMENT','SheetSkeletonManagerService','_localStorageService','IDocClipboardService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_updateURLWithCurrentState','NOT_COLLAB','currentSkeleton$','beginPath','@univerjs/drawing','FormulaExecutedStateType','_onCursorDelete','SetSelectionsOperation','Shape','MOBILE_VERIFY_CODE_MISMATCH','YUUMI_ASYNCIO_CANCELLED','_document','then','origin','string','transformRemoteChangeset','getCellPositionByOffset','url(#on-line-icon_clip0_910_349)','AUTHORIZE_CODE_ILLEGAL','registerBeforeClose','CONNECTOR_DATA_TOO_LARGE','APPLY_NON_SEQUENTIAL_REVISION','location','runOnServer','throttleTime','ILogService','CollaborationDataLoaderController','_initCommandExecutedListener','startsWith','_localeService','session.collaboration-timeout','shift','UniverInstanceType','triggerDblclick','transformByState','SetTextSelectionsOperation','Disposable','dispose$','SetDocZoomRatioOperation','univer-flex\x20univer-items-center','ENSURE_SNAPSHOT_EXECUTION','DependentOn','registerRefRange','setConfig','getActiveRange','_transformPreviousActiveRange','_colorIndex','_docTransformSelectionsService','PENDING','UPDATE_CURSOR','_toggleOffline','registerRenderModule','m2Prime','_entities','getValue','switchMap','_logService','_checkAndWaitForCalculationPermission','_init','UniverDrawing','_assignedColors','show','259329UrHHwt','_hover','SetFormulaCalculationStartMutation','RemoveColCommandId','LICENSE_EXPORT_SIZE_EXCEEDED','reconnect','YUUMI_SUBSCRIPTION_NOT_FOUND','limitInfo','type','deserializeRangeWithSheet','sessionStatus$','425752JqPTVa','_hideTimer','getColor','colorChannel1','UNDEFINED','ENTITLE_REPORT_LIMIT_EXCEED','catch','history','@univerjs/ui','random','getOwnPropertyDescriptor','searchParams','startColumn','14RCztlw','size','DocCollaborationEntity','stringify','IRenderManagerService','APPLY_DUPLICATED','setStateCache','ENTITLE_DUP_SUBSCRIPTION','1543959JwKbjP','clipPath','startRow','SYNCED','_handleLeaveEvent','transformStateCache','connectInjector','runId','getTypeOfUnitAdded$','TEXT_RANGE_LAYER_INDEX','_setFormulaLimitStatus','imageSourceType','rxjs','ALREADY_EXISTS','@univerjs/docs-ui','save','UniverProCollaborationClient','@univerjs/sheets','WebURLService','min','_createSocketURL','_getFormulaLimitStatus','_cursorInfo$','EMAIL_HAS_BEEN_BOUND','DeleteRangeMoveLeftCommandId','makeDirty','endRow','tag','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UNIVER_SHEET','addObject','_clearOtherTimers','_startDocCollabCursor','UniverNetwork','_getScale','getUniverSheetInstance','CollaborationEvent','getMember','getCollabEntity$','shareReplay','executeCommand','handleMoveRange','distinctUntilChanged','from','error','_initStatusListener','unitID','SheetsSelectionsService','UNIVER_DOC','urlChange$','_injector','LOGIN_FAILED','HEADER_MENU','runRefRangeMutations','off-line-icon','SNAPSHOT_INVALID_SNAPSHOT','handleInsertRangeMoveDown','NodePositionConvertToRectRange','ENTITLE_CAN_NOT_BUY_LOWER_OTP','22mwYeYY','/universer-api/license/formula/limit/done','OTHER_CLIENT_EDITING','COMPLETION_FINISHED','sheetID','labelPosition','addObjects','INotificationService','removeParam','collab-client.tooltip.reconnect','#FFF','disposeUnit','CollaborationUIEventService','CHANGESET_REVISION_CONFILICT','width','toStringTag','CommandType','Tools','REDEMPTION_CODE_HAS_BEEN_CREATED','MemberService','subscribeEvent','UniverEngineFormula','cursorInfo$','totalFormulasToCalculate','clsx','_cursorShapes','Plugin','_handleHeartbeatEvent','WECHAT_HAS_BEEN_BOUND','UniverSheets','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','beforeCommandExecuted','on-line-icon','LOGIN_TOKEN_PROCESSING_FAILED','_getSessionTicket','params','handleInsertRangeMoveRight','@univerjs/design','_transformService','undoState','[Window\x20Error]:\x20','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','PAYMENT_CHANNEL_NOT_SUPPORT','collabStatus.synced','VIEW_MAIN','ThemeService','operators','_saveTaskMap','_collabSessionService','InsertRangeMoveRightCommandId','svg','COLORS','0\x200\x2017\x2016','max','_lastPointer','fromEvent','_taskIds','UNAUTHENTICATED','BrowserCollaborationSocketService','attrs','DataLoaderService','fill','debounceTime','USER_NOT_INVITED_CODE','UniverEngineRender','RxDisposable','pipe','ITransformService','RevisionService','getCellMatrix','UnitStatus','sessionTicket','HTTPService','@univerjs/engine-formula','complete','maxFormulaLimit','_dataLoaderService','current','_initStatusComponent','map','defineProperty','_collaborationUIEventService','DisposableCollection','filter','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_instanceService','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','2226fZHjkT','handleInsertRow','debounce','_config','RegularPolygon','handleDeleteRangeMoveLeft','getTypeOfUnitDisposed$','white','_httpService','UniverSheetsUi','_handleJoinEvent','_docClipboardService','stageInfo','isTransformMutationFailure','getLocalCacheKey','parseInt','getSkeleton','replaceState','_id','DOC_RANGE_TYPE','jsx','textRanges','row','_colorAssignService','children','restore','_refreshCollabCursors','ILocalStorageService','DEFAULT_WS_SESSION_TICKET_URL','PY_RUNTIME_SCRIPT_ERROR','onRendered','removeEventListener','_applyCommand','join','transformSelections','code','subUnitId','subunit','session.will-retry','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initEntityListener','JOIN_ROOM_FAILED','toDisposable','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','none','_initUserListener','_sheetSkeletonManagerService','CanceledError','react','_session','/universer-api/license/formula/limit/status','black','_color','startFormulaLimitUrl','trim','_revisionService','_anchor','_scheduleSaving','MoveRangeCommandId','_collaborationController','CollaborationUIEventId','FETCH_MISS','ICommandService','UniverDesign','onCommandExecuted','IUIPartsService','OnLineIcon','0\x200\x2016\x2016','_ensureSubject','_beforeCloseService','setTimeout','YUUMI_URL_COL_OUT_OF_RANGE','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','_startCalculationLimit','text','NOT_FOUND','getSheetBySheetId','IMessageService','stack','react/jsx-runtime','CollaborationStatus','combineLatest','length','_updateSubUnitFromURLParams','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Vector2','top','getRangePointData','_name','YUUMI_AI_RUN_FAILED','getVpScrollXYInfoByPosToVp','ENTITLE_INSUFFICIENT_QUOTA','_docSkeletonManagerService','NO_OTHER_CLIENTS_EDITING','formula.calculation.started','_pollingInterval','_refRangeService','MOBILE_HAS_BEEN_BOUND','ISocketService','ERROR_AGAIN','uni.network.url-service','permission.title','syncEditingCollabCursor','_transformUndoRedoStack','evenodd','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getOffsetConfig','engine','72FWqkmd','30SYEfYo','entityInit$','_drawTextRange','unit','InsertRangeMoveDownCommandId','USER_NOT_FOUND','memberID','_scheduleClearOtherTimer','addClipboardHook','collab-rect-range-','http://www.w3.org/2000/svg','OFFLINE','socket$','storage','_registerRenderDependencies','onPointerMove$','bottom','M0\x200H16V16H0z','get','RemoveRowCommandId','_unitStatus','750688NEMche','DATA_SOURCE_TOO_LARGE','roomMembers','EMAIL_VERIFY_CODE_MISMATCH','UniverCollaborationClientUIPlugin','...','ILocalCacheService','createElement','unshift','all','getConfig','lineno','_initUnhandledRejectionListener','getStateCache','saveImage','INVITE_CODE_HAS_BEEN_UES','YUUMI_CONNECTOR_URL_NOT_FOUND','getDocRanges','resize','name','_registerDependencies','CONFLICT','OTHER_CLIENTS_EDITING','3615UXBiDd','UniverProCollaboration','popstate','updateOfflineData','CollaborationSessionService','saveOfflineData','search','disposeWithMe','_initCommandInterceptor','DocSkeletonManagerService','CollaborationController','LICENSE_DISTRO_REJECTED','isArray','_heartbeatTimer','getAncestorScale','green.600','IRemoteInstanceService','INVITE_CODE_ALREADY_BOUND','measureText','ticket','ENTITLE_NEED_BILLING_ADDRESS','arc','REDEMPTION_CODE_INACTIVE','_collaborationSessionService','_uiPartsService','_selfUnitIDs','RECT','setAlpha','skeleton','_docStateChangeManagerService','handleIRemoveRow','SNAPSHOT_HAS_BEEN_REMOVED','_urlService','bind','takeUntil','UniverDocsUi','mask','_startSheetCollabCursor','idSuffix','releaseFormulaLimitUrl','invokeId','getMemberID','closePath','red.300','doc.mutation.rich-text-editing','_disabled','_renderManagerService','_checkCalculationAvailable','_monkeyPatchLogService','collaboration-client.offline-data-not-saved','functionsExecutedState','collabStatus.conflict','addEventListener','ColorKit','SOCKET_FAILED_RETRY','pushState','_handleHover','mapTo','_render','_initEvent','getUnit','useObservable','purple.300','set','_hovered','_removeCollabCursors','getSheetId','_setupSubUnitSync','values','includes','NodePositionConvertToCursor','Error','createSocket','saveTaskMap','activeSheet$','permission.content','_univerInstanceService','LICENSE_MAX_UNITS_EXCEEDED','fillRule','currentTheme$','translate(.97)','object','_initDependencies','send','formula.calculation.unable','BehaviorSubject','236985OBhAqh','backgroundColor','APPLY_PERMISSION_DENIED','find','Loading','SheetCollabCursorShape','IConfigService','2466924jgvjOc','YUUMI_NO_CUBOID_FOR_QUESTION','@univerjs/network','_cursor','_backgroundColor','endColumn','APPLY_REVISION_CONFILICT','getUnitStatus$','touchDependencies','_transformHistoryAndStateStack','setItem','APPLY_REJECT','_uploadLog','next','deepClone','getRenderById','collaboration.single-unit.warning','REDEMPTION_INVALID_CODE','clearTimeout','ranges','_lastResponseTimestamp','pluginName','IUniverInstanceService','_releaseCalculationLimit','AWAITING_WITH_PENDING','_messageService','actions','Rectangle','_localCacheService','unitId','getCoordByCell','Injector','_collabCursorState$','Subject','SessionStatus','useRef','MessageType','body','assignAColorForMemberID','redoState','focused$','fillText','path','univer-mr-2\x20univer-flex\x20univer-text-xl','_onRefRangeChange','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','transform','application/json','YUUMI_UNABLE_LOAD_URL','LocaleService','selection','replace','SetFormulaCalculationNotificationMutation','CLOSE_ROOM','init','isActive','[Unhandled\x20Rejection]:\x20','@univerjs/core','disableLocalCache','fromEventSubject','unsubscribe','_onCursorUpdate','off-line-icon_clip0_910_343','_labelPosition','_send','flatMap','getformulaLimitStatusUrl','unhandledrejection','_clearPolling','findNodePositionByCharIndex','_getSheetObject','PERMISSION_DENIED','onPointerEnter$','_getAnchorBounding','_maxFormulaLimit','merge','has','_scheduleHeartbeat','collabStatus.notCollab','REDEMPTION_USER_REDEEM_TIMES_EXCEED','transformIMECache','loadUnit','INVALID_INVITE_CODE','eventID','Optional','setParam','_scene','_draw','CURRENT_STATUS_CANNOT_OPERATE','START_CALCULATION','collaboration-client-ui.config','exhaustSavingTask','_doCreateSocket','parse','generateRandomId','UniverCollaborationClientPlugin','LICENSE_IMPORT_SIZE_EXCEEDED','push','Warning','USERS_LEAVE','range','enableLocalCache','defs','transformMutation','subscribe','_toggleOnline','Workbook','LOCAL_CACHE_INTERVAL','collab-text-range-','?taskId=','xlink:href','UniverUi','transformMutationsWithChangeset','fillStyle','drawWith','selections','_eventUnsubscribe','clearInterval','event$','Rect','_setupBeforeClosingHandler','currentUsage','_currentUsage','getParam','_getMergeRange','sheetId','jsxs','_memberService','result','getUndoRedoMutationParamsCache','_themeService','SHEET_VIEWPORT_KEY','_docTransformIMECacheService','delete','split','add','_drawAnchor','contains','_range','_commandService','requireSession','column','DocStateChangeManagerService','color','round','mutations','docStateChange$','DesktopCollaborationStatusDisplayController','DocIMEInputManagerService','dirtyRanges','YUUMI_RATE_OVER_LIMIT','EffectRefRangId','SUCCESS','getCurrentRevOfUnit','getColorFromTheme','@univerjs-pro/collaboration','displayName','status$','toString','_shapes','ACTIVE_UNIT_EVENT_CHANNEL','reason','UNRECOGNIZED','DocSelectionManagerService','getCollabCursors$','_updateCollabCursors','post','_removeClearOtherTimer','colno','handleIRemoveCol','_entityInit$','message','replaceDocRanges','isEditing','hide','exports','@univerjs/rpc','_collabCursorController','SetWorksheetActivateCommand','_roomMembers$','handleDeleteRangeMoveUp','div','Inject','_configService','data','Failed','INTERNAL_ERROR','formula.calculation.waiting','debug','REDEMPTION_CODE_FULLY_REDEEMED','1em','RichTextEditingMutation','lineTo','TEXT','_imageIoService','_unitOnClients','getUnitId','amd','RemoteUniscriptService','_cachedData','newValue','isTransformMutationsWithChangesetSuccess','_saveCache','registerComponent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_memberID','asObservable','[CollaborationDataLoaderController]','LOCAL_CACHE_INTERVAL_KEY','SUBMIT_CHANGESET_TIMEOUT','_notificationService','_context','symbol','wsSessionTicketUrl','some','IImageIoService'];_0x5f33=function(){return _0x1515d6;};return _0x5f33();}(function(_0x5d7b73,_0x1d1cb9){const _0x32d03d=_0xd869,_0x251028=_0x5d7b73();while(!![]){try{const _0x2fee79=-parseInt(_0x32d03d(0x4c7))/0x1+parseInt(_0x32d03d(0x3ab))/0x2*(parseInt(_0x32d03d(0x244))/0x3)+-parseInt(_0x32d03d(0x39e))/0x4+-parseInt(_0x32d03d(0x1ee))/0x5*(-parseInt(_0x32d03d(0x445))/0x6)+-parseInt(_0x32d03d(0x393))/0x7*(-parseInt(_0x32d03d(0x4b1))/0x8)+parseInt(_0x32d03d(0x3b3))/0x9*(parseInt(_0x32d03d(0x4b2))/0xa)+parseInt(_0x32d03d(0x3ee))/0xb*(-parseInt(_0x32d03d(0x24b))/0xc);if(_0x2fee79===_0x1d1cb9)break;else _0x251028['push'](_0x251028['shift']());}catch(_0x1d844d){_0x251028['push'](_0x251028['shift']());}}}(_0x5f33,0x61e62),function(_0x56a97c,_0x1aab00){const _0x16dc1c=_0xd869;typeof exports==_0x16dc1c(0x23f)&&typeof module<'u'?_0x1aab00(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=='function'&&define[_0x16dc1c(0x310)]?define([_0x16dc1c(0x2fa),_0x16dc1c(0x494),_0x16dc1c(0x32b),_0x16dc1c(0x284),_0x16dc1c(0x3a6),'rxjs',_0x16dc1c(0x413),_0x16dc1c(0x475),_0x16dc1c(0x2fb),_0x16dc1c(0x3c4),'@univerjs/engine-render',_0x16dc1c(0x24d),_0x16dc1c(0x3c1),_0x16dc1c(0x359),_0x16dc1c(0x2e6),'@univerjs/docs',_0x16dc1c(0x437),'rxjs/operators','@univerjs/sheets-ui'],_0x1aab00):(_0x56a97c=typeof globalThis<'u'?globalThis:_0x56a97c||self,_0x1aab00(_0x56a97c[_0x16dc1c(0x334)]={},_0x56a97c['React'],_0x56a97c[_0x16dc1c(0x3c3)],_0x56a97c['UniverCore'],_0x56a97c[_0x16dc1c(0x2ba)],_0x56a97c[_0x16dc1c(0x3bf)],_0x56a97c[_0x16dc1c(0x484)],_0x56a97c['React'],_0x56a97c[_0x16dc1c(0x342)],_0x56a97c[_0x16dc1c(0x40b)],_0x56a97c[_0x16dc1c(0x42e)],_0x56a97c[_0x16dc1c(0x3d4)],_0x56a97c[_0x16dc1c(0x211)],_0x56a97c[_0x16dc1c(0x390)],_0x56a97c[_0x16dc1c(0x1ef)],_0x56a97c['UniverDocs'],_0x56a97c[_0x16dc1c(0x403)],_0x56a97c['rxjs'][_0x16dc1c(0x41c)],_0x56a97c[_0x16dc1c(0x44e)]));}(this,function(_0x3e1990,_0x28f318,_0x493e59,_0x51c091,_0x47d161,_0x2d756d,_0x1039db,_0x48ac88,_0x455030,_0x184ff5,_0x396fb6,_0x38be65,_0x594fa4,_0x2e6991,_0x5b9cab,_0x37270e,_0xfcd088,_0xe24628,_0x5aaf45){'use strict';const _0x25c8ac=_0xd869;var _0x16d5e3=Object[_0x25c8ac(0x43e)],_0x108762=(_0x35cb87,_0x2bb3a0,_0x55b7ef)=>_0x2bb3a0 in _0x35cb87?_0x16d5e3(_0x35cb87,_0x2bb3a0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55b7ef}):_0x35cb87[_0x2bb3a0]=_0x55b7ef,_0x3a54cf=(_0x6e6c74,_0xb6a63b,_0x48e5f6)=>_0x108762(_0x6e6c74,typeof _0xb6a63b!=_0x25c8ac(0x31f)?_0xb6a63b+'':_0xb6a63b,_0x48e5f6);function _0x30e69f({ref:_0x32af84,..._0xd224fa}){const _0x334bda=_0x25c8ac,{icon:_0x4edddc,id:_0x483b3e,className:_0x235cc8,extend:_0x36fd03,..._0x4ce8ec}=_0xd224fa,_0x50b6fd=('univerjs-icon\x20univerjs-icon-'+_0x483b3e+'\x20'+(_0x235cc8||''))[_0x334bda(0x47b)](),_0xb16133=_0x48ac88[_0x334bda(0x26e)]('_'+_0x3cd384());return _0x1824cc(_0x4edddc,''+_0x483b3e,{'defIds':_0x4edddc['defIds'],'idSuffix':_0xb16133[_0x334bda(0x43b)]},{'ref':_0x32af84,'className':_0x50b6fd,..._0x4ce8ec},_0x36fd03);}function _0x1824cc(_0x139793,_0x433eee,_0x44ece7,_0x139346,_0x5d40b3){const _0x4c3fb8=_0x25c8ac;return _0x48ac88['createElement'](_0x139793[_0x4c3fb8(0x3ce)],{'key':_0x433eee,..._0x3bb75a(_0x139793,_0x44ece7,_0x5d40b3),..._0x139346},(_0x20c545(_0x139793,_0x44ece7)[_0x4c3fb8(0x45d)]||[])[_0x4c3fb8(0x43d)]((_0x581013,_0x208988)=>_0x1824cc(_0x581013,_0x433eee+'-'+_0x139793[_0x4c3fb8(0x3ce)]+'-'+_0x208988,_0x44ece7,void 0x0,_0x5d40b3)));}function _0x3bb75a(_0x34d2f4,_0x867fd9,_0xaa8e4e){const _0x2ccbd9=_0x25c8ac,_0x8552e6={..._0x34d2f4['attrs']};_0xaa8e4e!=null&&_0xaa8e4e[_0x2ccbd9(0x3a1)]&&_0x8552e6['fill']===_0x2ccbd9(0x3a1)&&(_0x8552e6['fill']=_0xaa8e4e['colorChannel1']),_0x34d2f4[_0x2ccbd9(0x3ce)]===_0x2ccbd9(0x212)&&_0x8552e6['id']&&(_0x8552e6['id']=_0x8552e6['id']+_0x867fd9[_0x2ccbd9(0x214)]),Object['entries'](_0x8552e6)[_0x2ccbd9(0x345)](([_0x300140,_0x11e6e4])=>{const _0x3fc173=_0x2ccbd9;_0x300140===_0x3fc173(0x212)&&typeof _0x11e6e4==_0x3fc173(0x363)&&(_0x8552e6[_0x300140]=_0x11e6e4[_0x3fc173(0x27e)](/url\(#(.*)\)/,'url(#$1'+_0x867fd9['idSuffix']+')'));});const {defIds:_0x444ff1}=_0x867fd9;return!_0x444ff1||_0x444ff1[_0x2ccbd9(0x497)]===0x0||(_0x34d2f4[_0x2ccbd9(0x3ce)]==='use'&&_0x8552e6[_0x2ccbd9(0x2b9)]&&(_0x8552e6[_0x2ccbd9(0x2b9)]=_0x8552e6[_0x2ccbd9(0x2b9)]+_0x867fd9[_0x2ccbd9(0x214)]),Object['entries'](_0x8552e6)[_0x2ccbd9(0x345)](([_0x5b4e43,_0x3327de])=>{const _0x27d23e=_0x2ccbd9;typeof _0x3327de=='string'&&(_0x8552e6[_0x5b4e43]=_0x3327de[_0x27d23e(0x27e)](/url\(#(.*)\)/,'url(#$1'+_0x867fd9[_0x27d23e(0x214)]+')'));})),_0x8552e6;}function _0x20c545(_0x4cbd60,_0x2bb8ec){const _0x280936=_0x25c8ac;var _0x53d5ca;const {defIds:_0x1b606f}=_0x2bb8ec;return!_0x1b606f||_0x1b606f[_0x280936(0x497)]===0x0?_0x4cbd60:_0x4cbd60[_0x280936(0x3ce)]===_0x280936(0x2b1)&&((_0x53d5ca=_0x4cbd60['children'])!=null&&_0x53d5ca[_0x280936(0x497)])?{..._0x4cbd60,'children':_0x4cbd60['children']['map'](_0xd9bd40=>typeof _0xd9bd40['attrs']['id']=='string'&&_0x1b606f&&_0x1b606f[_0x280936(0x233)](_0xd9bd40['attrs']['id'])?{..._0xd9bd40,'attrs':{..._0xd9bd40[_0x280936(0x429)],'id':_0xd9bd40[_0x280936(0x429)]['id']+_0x2bb8ec[_0x280936(0x214)]}}:_0xd9bd40)}:_0x4cbd60;}function _0x3cd384(){const _0x59fc07=_0x25c8ac;return Math[_0x59fc07(0x3a7)]()[_0x59fc07(0x2e9)](0x24)['substring'](0x2,0x8);}_0x30e69f[_0x25c8ac(0x2e7)]='UniverIcon';const _0x44a0c2={'tag':_0x25c8ac(0x420),'attrs':{'xmlns':_0x25c8ac(0x4bc),'fill':_0x25c8ac(0x471),'viewBox':_0x25c8ac(0x488),'width':_0x25c8ac(0x309),'height':_0x25c8ac(0x309)},'children':[{'tag':'g','attrs':{'clipPath':_0x25c8ac(0x337)},'children':[{'tag':_0x25c8ac(0x275),'attrs':{'stroke':_0x25c8ac(0x34a),'d':_0x25c8ac(0x48d),'strokeLinecap':_0x25c8ac(0x2db),'strokeLinejoin':_0x25c8ac(0x2db),'strokeWidth':1.2}}]},{'tag':_0x25c8ac(0x2b1),'attrs':{},'children':[{'tag':_0x25c8ac(0x3b4),'attrs':{'id':_0x25c8ac(0x289)},'children':[{'tag':_0x25c8ac(0x275),'attrs':{'fill':_0x25c8ac(0x44c),'d':_0x25c8ac(0x4c3)}}]}]}],'defIds':[_0x25c8ac(0x289)]},_0x203892=_0x48ac88['forwardRef'](function(_0x32a454,_0x3a44e2){const _0x3f9267=_0x25c8ac;return _0x48ac88[_0x3f9267(0x4ce)](_0x30e69f,Object['assign']({},_0x32a454,{'id':_0x3f9267(0x3e9),'ref':_0x3a44e2,'icon':_0x44a0c2}));});_0x203892[_0x25c8ac(0x2e7)]=_0x25c8ac(0x330);const _0x154113={'tag':_0x25c8ac(0x420),'attrs':{'xmlns':_0x25c8ac(0x4bc),'fill':'none','viewBox':_0x25c8ac(0x422),'width':_0x25c8ac(0x309),'height':_0x25c8ac(0x309)},'children':[{'tag':'g','attrs':{'clipPath':_0x25c8ac(0x366)},'children':[{'tag':_0x25c8ac(0x275),'attrs':{'stroke':_0x25c8ac(0x34a),'d':_0x25c8ac(0x444),'strokeLinecap':'round','strokeLinejoin':_0x25c8ac(0x2db),'strokeWidth':1.2}}]},{'tag':_0x25c8ac(0x2b1),'attrs':{},'children':[{'tag':_0x25c8ac(0x3b4),'attrs':{'id':_0x25c8ac(0x33b)},'children':[{'tag':_0x25c8ac(0x275),'attrs':{'fill':_0x25c8ac(0x44c),'d':_0x25c8ac(0x4c3),'transform':_0x25c8ac(0x23e)}}]}]}],'defIds':[_0x25c8ac(0x33b)]},_0xf8140=_0x48ac88[_0x25c8ac(0x343)](function(_0x38025a,_0x33f56d){const _0x5f2372=_0x25c8ac;return _0x48ac88[_0x5f2372(0x4ce)](_0x30e69f,Object['assign']({},_0x38025a,{'id':_0x5f2372(0x40e),'ref':_0x33f56d,'icon':_0x154113}));});_0xf8140[_0x25c8ac(0x2e7)]=_0x25c8ac(0x487);function _0x23753c(_0x4a96a6){const _0x5a20bf=_0x25c8ac;switch(_0x4a96a6){case _0x493e59[_0x5a20bf(0x495)][_0x5a20bf(0x4bd)]:return _0x5a20bf(0x326);case _0x493e59[_0x5a20bf(0x495)]['CONFLICT']:return _0x5a20bf(0x221);case _0x493e59[_0x5a20bf(0x495)][_0x5a20bf(0x482)]:return'collabStatus.fetchMiss';case _0x493e59[_0x5a20bf(0x495)]['NOT_COLLAB']:return _0x5a20bf(0x299);case _0x493e59['CollaborationStatus']['AWAITING']:case _0x493e59[_0x5a20bf(0x495)][_0x5a20bf(0x263)]:return'collabStatus.syncing';case _0x493e59['CollaborationStatus'][_0x5a20bf(0x3b6)]:case _0x493e59[_0x5a20bf(0x495)][_0x5a20bf(0x385)]:return _0x5a20bf(0x419);}}function _0x5d6759(_0x44027b){const _0x653721=_0x25c8ac,{status$:_0x1576dc}=_0x44027b,_0x3ba682=_0x47d161[_0x653721(0x22b)](_0x1576dc,_0x493e59[_0x653721(0x495)][_0x653721(0x356)]),_0x5e734d=_0x47d161['useDependency'](_0x51c091[_0x653721(0x27c)]),_0x24d327=_0x47d161['useDependency'](_0x493e59[_0x653721(0x1f2)]),_0x48ba29=_0x3ba682!==_0x493e59[_0x653721(0x495)][_0x653721(0x4bd)],_0x30645d=_0x5e734d['t'](_0x23753c(_0x3ba682)),_0x4c4784=_0x48ba29?_0x28f318[_0x653721(0x459)](_0xf8140,{}):_0x28f318[_0x653721(0x459)](_0x203892,{}),_0x5e0068=_0x48ac88['useCallback'](()=>{const _0x19623e=_0x653721;_0x48ba29||_0x24d327[_0x19623e(0x398)]();},[_0x48ba29,_0x24d327]);function _0x43d532(){const _0x425473=_0x653721;return _0x28f318[_0x425473(0x2c9)](_0x425473(0x300),{'className':_0x425473(0x37c),'onClick':_0x5e0068,'children':[_0x28f318[_0x425473(0x459)](_0x425473(0x300),{'className':_0x1039db[_0x425473(0x406)](_0x425473(0x276),{'univer-text-green-500':_0x48ba29,'univer-text-red-500':!_0x48ba29}),'children':_0x4c4784}),_0x28f318[_0x425473(0x459)](_0x425473(0x300),{'className':_0x425473(0x278),'children':_0x30645d})]});}return _0x48ba29?_0x43d532():_0x28f318[_0x653721(0x459)](_0x1039db['Tooltip'],{'title':_0x5e734d['t'](_0x653721(0x3f7)),'children':_0x43d532()});}var _0x5e3dad=Object[_0x25c8ac(0x3a8)],_0x2bba69=(_0x81345b,_0x31de25,_0xd45531,_0x849073)=>{const _0x4e76c0=_0x25c8ac;for(var _0x2a8da=_0x849073>0x1?void 0x0:_0x849073?_0x5e3dad(_0x31de25,_0xd45531):_0x31de25,_0x47a9a3=_0x81345b[_0x4e76c0(0x497)]-0x1,_0x39fba3;_0x47a9a3>=0x0;_0x47a9a3--)(_0x39fba3=_0x81345b[_0x47a9a3])&&(_0x2a8da=_0x39fba3(_0x2a8da)||_0x2a8da);return _0x2a8da;},_0x48ca72=(_0x16e758,_0x11d0fd)=>(_0x23e6cd,_0x3e52af)=>_0x11d0fd(_0x23e6cd,_0x3e52af,_0x16e758);_0x3e1990['DesktopCollaborationStatusDisplayController']=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x260071,_0x591f6d,_0x378f94,_0x53658d){const _0x3afe2a=_0x25c8ac;super(),_0x3a54cf(this,_0x3afe2a(0x346),new _0x2d756d[(_0x3afe2a(0x243))](_0x493e59[_0x3afe2a(0x495)][_0x3afe2a(0x356)])),(this[_0x3afe2a(0x23a)]=_0x260071,this['_injector']=_0x591f6d,this['_collaborationController']=_0x378f94,this[_0x3afe2a(0x206)]=_0x53658d,this['_initStatusComponent'](),this[_0x3afe2a(0x3e0)]());}[_0x25c8ac(0x3e0)](){const _0x346733=_0x25c8ac;this['disposeWithMe'](this['_univerInstanceService'][_0x346733(0x273)][_0x346733(0x430)](_0x2d756d[_0x346733(0x38c)](()=>{const _0x5e6a73=_0x346733,_0x2eed89=this['_univerInstanceService'][_0x5e6a73(0x328)]();return _0x2eed89?this['_collaborationController'][_0x5e6a73(0x3d9)](_0x2eed89[_0x5e6a73(0x30f)]()):_0x2d756d['of'](null);}),_0x2d756d[_0x346733(0x38c)](_0x5a8b79=>_0x5a8b79?_0x5a8b79[_0x346733(0x2e8)]:_0x2d756d['of'](_0x493e59[_0x346733(0x495)][_0x346733(0x356)])))[_0x346733(0x2b3)](_0x1c65cf=>{this['_status$']['next'](_0x1c65cf);}));}[_0x25c8ac(0x43c)](){const _0x3add05=_0x25c8ac;this[_0x3add05(0x1f5)](this['_uiPartsService'][_0x3add05(0x316)](_0x47d161['BuiltInUIPart'][_0x3add05(0x3e7)],()=>_0x47d161[_0x3add05(0x3b9)](_0x493f43({'status$':this[_0x3add05(0x346)][_0x3add05(0x319)]()}),this[_0x3add05(0x3e5)])));}},_0x3e1990[_0x25c8ac(0x2de)]=_0x2bba69([_0x48ca72(0x0,_0x51c091[_0x25c8ac(0x261)]),_0x48ca72(0x1,_0x51c091['Inject'](_0x51c091[_0x25c8ac(0x26a)])),_0x48ca72(0x2,_0x51c091['Inject'](_0x493e59[_0x25c8ac(0x1f8)])),_0x48ca72(0x3,_0x47d161[_0x25c8ac(0x486)])],_0x3e1990[_0x25c8ac(0x2de)]);function _0x493f43(_0x5bc3d3){const {status$:_0x4e46b8}=_0x5bc3d3;return function(){const _0x119f80=_0xd869;return _0x28f318[_0x119f80(0x459)](_0x5d6759,{'status$':_0x4e46b8});};}const _0x2e14a9=_0x51c091['createIdentifier'](_0x25c8ac(0x4a9));var _0x221104=Object[_0x25c8ac(0x3a8)],_0x128adc=(_0x254b44,_0x4d9bbb,_0x2f03a6,_0x52119c)=>{const _0x3c7ed7=_0x25c8ac;for(var _0x335886=_0x52119c>0x1?void 0x0:_0x52119c?_0x221104(_0x4d9bbb,_0x2f03a6):_0x4d9bbb,_0x549ef4=_0x254b44[_0x3c7ed7(0x497)]-0x1,_0x3f1bf4;_0x549ef4>=0x0;_0x549ef4--)(_0x3f1bf4=_0x254b44[_0x549ef4])&&(_0x335886=_0x3f1bf4(_0x335886)||_0x335886);return _0x335886;},_0x29596e=(_0x47bfb1,_0x387f04)=>(_0x5b7c78,_0x2d8f7a)=>_0x387f04(_0x5b7c78,_0x2d8f7a,_0x47bfb1);_0x3e1990[_0x25c8ac(0x36f)]=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x332f48,_0x20132b,_0x36d830,_0x178ce9,_0x32a4f2){const _0x7a16ce=_0x25c8ac;super(),this[_0x7a16ce(0x20e)]=_0x332f48,this['_logService']=_0x20132b,this[_0x7a16ce(0x2d6)]=_0x36d830,this[_0x7a16ce(0x43a)]=_0x178ce9,_0x32a4f2?_0x32a4f2==null||_0x32a4f2[_0x7a16ce(0x33a)]()[_0x7a16ce(0x361)](()=>this[_0x7a16ce(0x38f)]()):(this['_logService'][_0x7a16ce(0x307)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x7a16ce(0x38f)]());}async[_0x25c8ac(0x38f)](){const _0x2c627a=_0x25c8ac,_0x1c83f0=this[_0x2c627a(0x20e)][_0x2c627a(0x2c6)](_0x2c627a(0x4b5)),_0x5c6c57=this[_0x2c627a(0x20e)][_0x2c627a(0x2c6)](_0x2c627a(0x39b)),_0x3ab3b2=this[_0x2c627a(0x20e)][_0x2c627a(0x2c6)]('subunit');if(!_0x1c83f0||!_0x5c6c57){this[_0x2c627a(0x38d)][_0x2c627a(0x307)](_0x2c627a(0x31a),_0x2c627a(0x46c));return;}const _0x9a8a59=await this['_dataLoaderService'][_0x2c627a(0x29c)](_0x1c83f0,Number(_0x5c6c57),_0x3ab3b2);_0x9a8a59&&_0x9a8a59 instanceof _0x51c091[_0x2c627a(0x2b5)]&&this[_0x2c627a(0x231)](_0x9a8a59);}async['_setupSubUnitSync'](_0x120cf5){const _0x101ca9=_0x25c8ac;await this[_0x101ca9(0x498)](_0x120cf5),_0x120cf5[_0x101ca9(0x238)][_0x101ca9(0x430)](_0x2d756d[_0x101ca9(0x210)](this['dispose$']))['subscribe'](_0x52ca8c=>{const _0x50afdc=_0x101ca9;_0x52ca8c&&this[_0x50afdc(0x355)](_0x52ca8c);}),this[_0x101ca9(0x20e)]['urlChange$'][_0x101ca9(0x430)](_0x2d756d[_0x101ca9(0x210)](this[_0x101ca9(0x37a)]))[_0x101ca9(0x2b3)](()=>this[_0x101ca9(0x498)](_0x120cf5));}[_0x25c8ac(0x355)](_0x46d2e2,_0x217078=!0x1){const _0x4f566d=_0x25c8ac,_0x1141c8=this[_0x4f566d(0x20e)][_0x4f566d(0x2c6)](_0x4f566d(0x46a));_0x46d2e2[_0x4f566d(0x230)]()!==_0x1141c8&&this[_0x4f566d(0x20e)][_0x4f566d(0x2a0)](_0x4f566d(0x46a),_0x46d2e2[_0x4f566d(0x230)](),_0x217078);}async[_0x25c8ac(0x498)](_0x41b7ca){const _0x2e3eb6=_0x25c8ac;var _0x38a41a;const _0x4f3eba=this[_0x2e3eb6(0x20e)]['getParam'](_0x2e3eb6(0x46a));if(!_0x4f3eba||!_0x41b7ca[_0x2e3eb6(0x491)](_0x4f3eba)){const _0x578749=_0x41b7ca['getUnhiddenWorksheets']()[0x0],_0xf2d36c=_0x41b7ca[_0x2e3eb6(0x491)](_0x578749);if(!_0xf2d36c)return;this[_0x2e3eb6(0x355)](_0xf2d36c,!0x0),await this[_0x2e3eb6(0x2d6)][_0x2e3eb6(0x3db)](_0x184ff5['SetWorksheetActivateCommand']['id'],{'unitId':_0x41b7ca['getUnitId'](),'subUnitId':_0x578749});return;}((_0x38a41a=_0x41b7ca['getActiveSheet']())==null?void 0x0:_0x38a41a[_0x2e3eb6(0x230)]())!==_0x4f3eba&&await this[_0x2e3eb6(0x2d6)][_0x2e3eb6(0x3db)](_0x184ff5[_0x2e3eb6(0x2fd)]['id'],{'unitId':_0x41b7ca[_0x2e3eb6(0x30f)](),'subUnitId':_0x4f3eba});}},_0x3e1990['CollaborationDataLoaderController']=_0x128adc([_0x29596e(0x0,_0x2e14a9),_0x29596e(0x1,_0x51c091['ILogService']),_0x29596e(0x2,_0x51c091[_0x25c8ac(0x483)]),_0x29596e(0x3,_0x51c091['Inject'](_0x493e59[_0x25c8ac(0x42a)])),_0x29596e(0x4,_0x51c091[_0x25c8ac(0x29f)](_0x455030[_0x25c8ac(0x1fe)]))],_0x3e1990['CollaborationDataLoaderController']);var _0x5ab5b8=Object[_0x25c8ac(0x3a8)],_0x114b66=(_0x3f606c,_0x4da2ed,_0x231806,_0x4abc6b)=>{const _0x2e326c=_0x25c8ac;for(var _0x32443c=_0x4abc6b>0x1?void 0x0:_0x4abc6b?_0x5ab5b8(_0x4da2ed,_0x231806):_0x4da2ed,_0x2dad0c=_0x3f606c[_0x2e326c(0x497)]-0x1,_0x1e3072;_0x2dad0c>=0x0;_0x2dad0c--)(_0x1e3072=_0x3f606c[_0x2dad0c])&&(_0x32443c=_0x1e3072(_0x32443c)||_0x32443c);return _0x32443c;},_0x715c48=(_0x2c07f6,_0x442b18)=>(_0x1bc16d,_0x2ba3ea)=>_0x442b18(_0x1bc16d,_0x2ba3ea,_0x2c07f6);let _0xee1fb5=class extends _0x51c091['RxDisposable']{constructor(_0x5af752,_0x56e938){const _0xc240b3=_0x25c8ac;super(),this[_0xc240b3(0x450)]=_0x5af752,this[_0xc240b3(0x30d)]=_0x56e938,this[_0xc240b3(0x38f)]();}[_0x25c8ac(0x38f)](){const _0x240618=_0x25c8ac,_0x7e188d=this;this[_0x240618(0x1f5)](this['_docClipboardService'][_0x240618(0x4ba)]({'onBeforePasteImage':async _0x3cd973=>{const _0x21e7eb=_0x240618,_0xba0326=await _0x7e188d[_0x21e7eb(0x30d)][_0x21e7eb(0x4d5)](_0x3cd973);return _0xba0326?{'source':_0xba0326['source'],'imageSourceType':_0xba0326[_0x21e7eb(0x3be)]}:null;}}));}};_0xee1fb5=_0x114b66([_0x715c48(0x0,_0x594fa4[_0x25c8ac(0x353)]),_0x715c48(0x1,_0x2e6991[_0x25c8ac(0x322)])],_0xee1fb5);const _0x124c8d=[_0x25c8ac(0x22c),'jiqing.500',_0x25c8ac(0x1fd),_0x25c8ac(0x219),'blue.400','yellow.400'];class _0x3dd070 extends _0x51c091[_0x25c8ac(0x379)]{constructor(){const _0x148cab=_0x25c8ac;super(...arguments),_0x3a54cf(this,'_assignedColors',new Map()),_0x3a54cf(this,_0x148cab(0x383),0x0);}['assignAColorForMemberID'](_0x17ecc2){const _0x3396a0=_0x25c8ac;if(this['_assignedColors'][_0x3396a0(0x297)](_0x17ecc2))return this[_0x3396a0(0x391)][_0x3396a0(0x4c4)](_0x17ecc2);const _0x7cfbcd=_0x124c8d[this[_0x3396a0(0x383)]];return this[_0x3396a0(0x383)]=(this[_0x3396a0(0x383)]+0x1)%_0x124c8d['length'],this[_0x3396a0(0x391)][_0x3396a0(0x22d)](_0x17ecc2,_0x7cfbcd),_0x7cfbcd;}}function _0x3190ac(_0x2d4bf2){let _0x58f40e='';for(const _0x287a1d of _0x2d4bf2){const {startOffset:_0x58e838,endOffset:_0x2e6922,isActive:_0x4c7880,rangeType:_0x4ac23a,segmentId:_0x3b6764,segmentPage:_0x2b28ab}=_0x287a1d;_0x58f40e['length']&&(_0x58f40e+=','),_0x58f40e+=_0x58e838+':'+_0x2e6922+':'+(_0x4c7880?'1':'0')+':'+_0x4ac23a+':'+_0x3b6764+':'+_0x2b28ab;}return _0x58f40e;}function _0x505ec7(_0xd3347a){const _0x2e2919=_0x25c8ac,_0x2c71ad=_0xd3347a[_0x2e2919(0x2d1)](','),_0x253e35=[];for(const _0x309d57 of _0x2c71ad){const [_0x23b262,_0x40927f,_0x11ca47,_0x2e85fa,_0x1b6d95,_0x532b5a]=_0x309d57[_0x2e2919(0x2d1)](':');_0x253e35['push']({'startOffset':Number(_0x23b262),'endOffset':Number(_0x40927f),'collapsed':_0x23b262===_0x40927f,'isActive':_0x11ca47==='1','rangeType':_0x2e85fa===_0x51c091['DOC_RANGE_TYPE'][_0x2e2919(0x30c)]?_0x51c091[_0x2e2919(0x458)][_0x2e2919(0x30c)]:_0x51c091[_0x2e2919(0x458)][_0x2e2919(0x208)],'segmentId':typeof _0x1b6d95==_0x2e2919(0x363)?String(_0x1b6d95):'','segmentPage':Number(_0x532b5a!=null?_0x532b5a:-0x1)});}return _0x253e35[_0x2e2919(0x321)](_0x83e861=>_0x83e861[_0x2e2919(0x282)])||(_0x253e35[0x0]['isActive']=!0x0),_0x253e35;}class _0x43bd11 extends _0x51c091[_0x25c8ac(0x42f)]{constructor(){const _0x42ec57=_0x25c8ac;super(...arguments),_0x3a54cf(this,_0x42ec57(0x26b),new _0x2d756d[(_0x42ec57(0x243))](null)),_0x3a54cf(this,'collabCursorState$',this[_0x42ec57(0x26b)][_0x42ec57(0x319)]());}[_0x25c8ac(0x4ab)](_0x140ad2){const _0x3dabdf=_0x25c8ac,{unitID:_0xee07f3,memberID:_0x348712,textRanges:_0x3e5bbd}=_0x140ad2,_0x1ee357=_0x3190ac(_0x3e5bbd);if(_0x1ee357==='')return;const _0x1e2c0a={'unitID':_0xee07f3,'memberID':_0x348712,'selection':_0x1ee357};this[_0x3dabdf(0x26b)][_0x3dabdf(0x258)](_0x1e2c0a);}}var _0xc82f30=Object[_0x25c8ac(0x3a8)],_0xc0e9a6=(_0x3bb3a8,_0x55470c,_0x3769e8,_0x1e7d8a)=>{const _0x399061=_0x25c8ac;for(var _0x2798ef=_0x1e7d8a>0x1?void 0x0:_0x1e7d8a?_0xc82f30(_0x55470c,_0x3769e8):_0x55470c,_0x5282f0=_0x3bb3a8[_0x399061(0x497)]-0x1,_0x39e769;_0x5282f0>=0x0;_0x5282f0--)(_0x39e769=_0x3bb3a8[_0x5282f0])&&(_0x2798ef=_0x39e769(_0x2798ef)||_0x2798ef);return _0x2798ef;},_0x455341=(_0x4f7e0f,_0x5c82fb)=>(_0x29255c,_0x51246f)=>_0x5c82fb(_0x29255c,_0x51246f,_0x4f7e0f);const _0x17f5e1=0x12c,_0x2e9a9e=0x64;let _0x5ae18d=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x402032,_0x1395e2,_0x53725c,_0xec3a79,_0x3d21d1,_0x1adeca,_0x42d7b6,_0x2a546e,_0x1817d6){const _0x47ffef=_0x25c8ac;super(),_0x3a54cf(this,'_online',!0x1),_0x3a54cf(this,_0x47ffef(0x38f),!0x1),_0x3a54cf(this,_0x47ffef(0x3c9),new _0x2d756d['BehaviorSubject'](new Map())),_0x3a54cf(this,_0x47ffef(0x404),this['_cursorInfo$']['asObservable']()),_0x3a54cf(this,_0x47ffef(0x2fe),new _0x2d756d['BehaviorSubject']([])),_0x3a54cf(this,'roomMembers$',this[_0x47ffef(0x2fe)][_0x47ffef(0x430)](_0x2d756d[_0x47ffef(0x42c)](_0x17f5e1))),_0x3a54cf(this,'_updateLocalCursor',_0x51c091[_0x47ffef(0x447)](_0x1d1bc3=>{const _0x4431dd=_0x47ffef,_0x1a3d54={'eventID':_0x5b9cab[_0x4431dd(0x3d7)][_0x4431dd(0x386)],'data':{'unitID':this['unitID'],'memberID':this[_0x4431dd(0x476)]['getMemberID'](),'selection':_0x3190ac(_0x1d1bc3)}};this[_0x4431dd(0x476)][_0x4431dd(0x241)](_0x1a3d54,this[_0x4431dd(0x3e1)]);},_0x2e9a9e)),(this[_0x47ffef(0x3e1)]=_0x402032,this[_0x47ffef(0x476)]=_0x1395e2,this[_0x47ffef(0x3e5)]=_0x53725c,this[_0x47ffef(0x45c)]=_0xec3a79,this['_memberService']=_0x3d21d1,this[_0x47ffef(0x335)]=_0x1adeca,this[_0x47ffef(0x414)]=_0x42d7b6,this['_univerInstanceService']=_0x2a546e,this[_0x47ffef(0x2d6)]=_0x1817d6);}get[_0x25c8ac(0x336)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x4e8264=_0x25c8ac;return this['_roomMembers$'][_0x4e8264(0x38b)]();}['dispose'](){const _0x1309db=_0x25c8ac;super[_0x1309db(0x325)](),this[_0x1309db(0x3c9)][_0x1309db(0x258)](new Map()),this[_0x1309db(0x3c9)][_0x1309db(0x438)](),this[_0x1309db(0x2fe)][_0x1309db(0x258)]([]),this[_0x1309db(0x2fe)]['complete']();}['init'](){const _0x2b1621=_0x25c8ac;this[_0x2b1621(0x38f)]||(this[_0x2b1621(0x38f)]=!0x0,this[_0x2b1621(0x476)][_0x2b1621(0x39d)][_0x2b1621(0x430)](_0x2d756d[_0x2b1621(0x210)](this[_0x2b1621(0x37a)]))[_0x2b1621(0x2b3)](_0x50b40d=>{const _0x8e46e9=_0x2b1621;_0x50b40d===_0x493e59[_0x8e46e9(0x26d)]['ONLINE']?this[_0x8e46e9(0x2b4)]():this[_0x8e46e9(0x387)]();}),this[_0x2b1621(0x476)][_0x2b1621(0x2c1)][_0x2b1621(0x430)](_0x2d756d[_0x2b1621(0x210)](this[_0x2b1621(0x37a)]))[_0x2b1621(0x2b3)](_0x54c7d5=>{const _0x5425a7=_0x2b1621,_0x4c3bf7=_0x54c7d5['eventID'];_0x4c3bf7===_0x5b9cab[_0x5425a7(0x3d7)][_0x5425a7(0x386)]&&this[_0x5425a7(0x288)](_0x54c7d5),_0x4c3bf7===_0x5b9cab['CollaborationEvent']['USERS_LEAVE']&&this[_0x5425a7(0x35b)](_0x54c7d5);}),this['disposeWithMe'](this['_commandService'][_0x2b1621(0x485)](_0x319ccf=>{const _0x5e9230=_0x2b1621,_0x5722ee=_0x319ccf[_0x5e9230(0x411)];_0x5722ee!=null&&this[_0x5e9230(0x33f)]&&_0x319ccf['id']===_0x37270e[_0x5e9230(0x378)]['id']&&_0x5722ee[_0x5e9230(0x268)]===this['unitID']&&_0x5722ee[_0x5e9230(0x2f8)]===!0x1&&_0x5722ee['ranges'][_0x5e9230(0x497)]>0x0&&this[_0x5e9230(0x324)](_0x5722ee[_0x5e9230(0x25e)]);})),this[_0x2b1621(0x335)]['collabCursorState$'][_0x2b1621(0x430)](_0x2d756d[_0x2b1621(0x210)](this[_0x2b1621(0x37a)]))[_0x2b1621(0x2b3)](_0x469c16=>{const _0x5dee18=_0x2b1621;if((_0x469c16==null?void 0x0:_0x469c16[_0x5dee18(0x3e1)])!==this[_0x5dee18(0x3e1)])return;const _0xda0b7c={'eventID':_0x5b9cab['CollaborationEvent'][_0x5dee18(0x386)],'data':_0x469c16};this[_0x5dee18(0x288)](_0xda0b7c);}),this[_0x2b1621(0x1f5)](this[_0x2b1621(0x2d6)][_0x2b1621(0x485)](_0x3a8705=>{const _0x46d807=_0x2b1621;if(_0x3a8705[_0x46d807(0x411)]==null)return;const _0x4c22c8=_0x3a8705[_0x46d807(0x411)];if(_0x3a8705['id']!==_0x37270e[_0x46d807(0x30a)]['id']||_0x4c22c8[_0x46d807(0x268)]!==this[_0x46d807(0x3e1)])return;const _0x11a835={'id':_0x46d807(0x21a),'params':_0x4c22c8},_0x4d8bb3=this[_0x46d807(0x336)];for(const [_0x160ad3,_0xac7133]of _0x4d8bb3){const _0x290f2d={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x46d807(0x3e1)],'actions':null,'textRanges':_0xac7133['ranges']}},_0x4b7a06=this[_0x46d807(0x414)]['transformMutation'](_0x11a835,_0x290f2d,!0x1);if(_0x5b9cab[_0x46d807(0x452)](_0x4b7a06))throw _0x4b7a06['error'];_0x4d8bb3[_0x46d807(0x22d)](_0x160ad3,{..._0xac7133,'ranges':_0x4b7a06[_0x46d807(0x389)][_0x46d807(0x411)][_0x46d807(0x45a)]});}queueMicrotask(()=>{const _0x437c25=_0x46d807;this[_0x437c25(0x3c9)][_0x437c25(0x258)](_0x4d8bb3);});})));}[_0x25c8ac(0x288)](_0x1698b6){const _0x34d936=_0x25c8ac;var _0xf6e15c,_0x1aec5b;const {memberID:_0x191bf3,selection:_0x3bbcc1}=_0x1698b6[_0x34d936(0x303)],_0x2689ac=_0x505ec7(_0x3bbcc1),_0xe99abd=(_0x1aec5b=(_0xf6e15c=this[_0x34d936(0x2ca)][_0x34d936(0x3d8)](this[_0x34d936(0x3e1)],_0x191bf3))==null?void 0x0:_0xf6e15c['name'])!=null?_0x1aec5b:'Unknown\x20user',_0x358a4e={'color':this['_colorAssignService'][_0x34d936(0x271)](_0x191bf3),'name':_0xe99abd,'ranges':_0x2689ac},_0x5021a7=this['cursorInfo'];_0x5021a7[_0x34d936(0x22d)](_0x191bf3,_0x358a4e),this['_cursorInfo$'][_0x34d936(0x258)](_0x5021a7);}['_onCursorDelete'](_0x27f41a){const _0x535b53=_0x25c8ac,{memberID:_0x2b042f}=_0x27f41a[_0x535b53(0x303)],_0x11bcb4=this[_0x535b53(0x336)];_0x11bcb4['delete'](_0x2b042f),this[_0x535b53(0x3c9)][_0x535b53(0x258)](_0x11bcb4);}[_0x25c8ac(0x2b4)](){const _0x31a329=_0x25c8ac;var _0x593aaf;if(this['_online']=!0x0,((_0x593aaf=this[_0x31a329(0x23a)]['getFocusedUnit']())==null?void 0x0:_0x593aaf['getUnitId']())!==this[_0x31a329(0x3e1)])return;const _0x25530d=this['_injector'][_0x31a329(0x4c4)](_0x37270e[_0x31a329(0x2ee)])[_0x31a329(0x4d8)]();Array[_0x31a329(0x1fa)](_0x25530d)&&_0x25530d[_0x31a329(0x497)]>0x0&&this[_0x31a329(0x324)](_0x25530d);}[_0x25c8ac(0x387)](){const _0x4da63e=_0x25c8ac;this[_0x4da63e(0x33f)]=!0x1;}};_0x5ae18d=_0xc0e9a6([_0x455341(0x2,_0x51c091[_0x25c8ac(0x301)](_0x51c091['Injector'])),_0x455341(0x3,_0x51c091['Inject'](_0x3dd070)),_0x455341(0x4,_0x51c091[_0x25c8ac(0x301)](_0x493e59['MemberService'])),_0x455341(0x5,_0x51c091[_0x25c8ac(0x301)](_0x43bd11)),_0x455341(0x6,_0x5b9cab[_0x25c8ac(0x431)]),_0x455341(0x7,_0x51c091[_0x25c8ac(0x261)]),_0x455341(0x8,_0x51c091['ICommandService'])],_0x5ae18d);var _0x5c03ba=Object['getOwnPropertyDescriptor'],_0x317fe5=(_0x560e93,_0x83ab81,_0x48fadd,_0x1adc15)=>{const _0x52a44c=_0x25c8ac;for(var _0x4e4cf5=_0x1adc15>0x1?void 0x0:_0x1adc15?_0x5c03ba(_0x83ab81,_0x48fadd):_0x83ab81,_0xfc3c37=_0x560e93[_0x52a44c(0x497)]-0x1,_0x47da54;_0xfc3c37>=0x0;_0xfc3c37--)(_0x47da54=_0x560e93[_0xfc3c37])&&(_0x4e4cf5=_0x47da54(_0x4e4cf5)||_0x4e4cf5);return _0x4e4cf5;},_0x134361=(_0xfec868,_0x57a270)=>(_0x58f9e0,_0x4e1c6c)=>_0x57a270(_0x58f9e0,_0x4e1c6c,_0xfec868);const _0x4081fa=0x12c,_0x37a625=0x64,_0x11bc78=()=>{let _0x36fff9=[],_0x250dff=!0x1;return _0x4f16c0=>{const _0xaff4d4=_0xd869;_0x36fff9[_0xaff4d4(0x2ac)](_0x4f16c0),_0x250dff||(_0x250dff=!0x0,setTimeout(()=>{const _0x467d5e=_0xaff4d4;_0x36fff9[_0x467d5e(0x345)](_0x5e2311=>_0x5e2311()),_0x36fff9=[],_0x250dff=!0x1;}));};};let _0x219f89=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x1cba96,_0x33b86b,_0x3141d1,_0x195c13,_0x3b7928,_0x5d5c86,_0x2958de,_0x3e0d0e){const _0x246637=_0x25c8ac;super(),_0x3a54cf(this,_0x246637(0x33f),!0x1),_0x3a54cf(this,_0x246637(0x38f),!0x1),_0x3a54cf(this,_0x246637(0x3c9),new _0x2d756d[(_0x246637(0x243))](new Map())),_0x3a54cf(this,_0x246637(0x404),this[_0x246637(0x3c9)][_0x246637(0x319)]()),_0x3a54cf(this,_0x246637(0x2fe),new _0x2d756d[(_0x246637(0x243))]([])),_0x3a54cf(this,'roomMembers$',this[_0x246637(0x2fe)][_0x246637(0x430)](_0x2d756d[_0x246637(0x42c)](_0x4081fa))),_0x3a54cf(this,_0x246637(0x324),_0x51c091[_0x246637(0x447)]((_0x497824,_0x13a953)=>{const _0x12bccb=_0x246637,_0x908948={'eventID':_0x5b9cab[_0x12bccb(0x3d7)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x12bccb(0x476)][_0x12bccb(0x217)](),'selection':_0xfcd088['serializeRangeWithSheet'](_0x497824,_0x13a953[_0x12bccb(0x2af)])}};this[_0x12bccb(0x476)][_0x12bccb(0x241)](_0x908948,this['unitID']);},_0x37a625)),(this[_0x246637(0x3e1)]=_0x1cba96,this['_session']=_0x33b86b,this[_0x246637(0x3e5)]=_0x3141d1,this['_colorAssignService']=_0x195c13,this[_0x246637(0x2ca)]=_0x3b7928,this['_univerInstanceService']=_0x5d5c86,this['_commandService']=_0x2958de,this[_0x246637(0x4a5)]=_0x3e0d0e);}get[_0x25c8ac(0x336)](){const _0x567064=_0x25c8ac;return this[_0x567064(0x3c9)][_0x567064(0x38b)]();}get[_0x25c8ac(0x4c9)](){const _0x391081=_0x25c8ac;return this['_roomMembers$'][_0x391081(0x38b)]();}[_0x25c8ac(0x325)](){const _0x543b28=_0x25c8ac;super[_0x543b28(0x325)](),this[_0x543b28(0x3c9)][_0x543b28(0x258)](new Map()),this[_0x543b28(0x3c9)][_0x543b28(0x438)](),this[_0x543b28(0x2fe)][_0x543b28(0x258)]([]),this['_roomMembers$'][_0x543b28(0x438)]();}[_0x25c8ac(0x281)](){const _0x21003e=_0x25c8ac;this[_0x21003e(0x38f)]||(this[_0x21003e(0x38f)]=!0x0,this['_session']['sessionStatus$'][_0x21003e(0x430)](_0x2d756d['takeUntil'](this[_0x21003e(0x37a)]))['subscribe'](_0x245d28=>{const _0x2a61a0=_0x21003e;_0x245d28===_0x493e59['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x2a61a0(0x387)]();}),this[_0x21003e(0x476)][_0x21003e(0x2c1)]['pipe'](_0x2d756d[_0x21003e(0x210)](this[_0x21003e(0x37a)]))[_0x21003e(0x2b3)](_0xc619ab=>{const _0x426e84=_0x21003e,_0x31aaff=_0xc619ab[_0x426e84(0x29e)];_0x31aaff===_0x5b9cab[_0x426e84(0x3d7)][_0x426e84(0x386)]&&this[_0x426e84(0x288)](_0xc619ab),_0x31aaff===_0x5b9cab[_0x426e84(0x3d7)][_0x426e84(0x2ae)]&&this[_0x426e84(0x35b)](_0xc619ab);}),this[_0x21003e(0x277)](),this[_0x21003e(0x1f5)](this[_0x21003e(0x2d6)]['onCommandExecuted'](_0x528c77=>{const _0x3c3ea3=_0x21003e;if(this[_0x3c3ea3(0x33f)]&&_0x528c77['id']===_0x184ff5[_0x3c3ea3(0x35c)]['id']&&_0x528c77[_0x3c3ea3(0x411)][_0x3c3ea3(0x268)]===this['unitID']){const _0x5c8de6=_0x528c77['params'];this[_0x3c3ea3(0x324)](_0x5c8de6[_0x3c3ea3(0x469)],_0x5c8de6[_0x3c3ea3(0x2be)][0x0]);}})));}[_0x25c8ac(0x288)](_0x57a7a2){const _0x467740=_0x25c8ac;var _0x26bfa7,_0x38cbf2;const {memberID:_0x1844a7,selection:_0x15b1f9}=_0x57a7a2[_0x467740(0x303)],{sheetName:_0x3360e3,range:_0x6976dc}=_0xfcd088[_0x467740(0x39c)](_0x15b1f9),_0xdb1b9={'name':(_0x38cbf2=(_0x26bfa7=this[_0x467740(0x2ca)][_0x467740(0x3d8)](this[_0x467740(0x3e1)],_0x1844a7))==null?void 0x0:_0x26bfa7['name'])!=null?_0x38cbf2:'Unknown\x20user','range':this['_getMergeRange'](_0x3360e3,_0x6976dc),'sheetID':_0x3360e3,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1844a7),'selection':_0x15b1f9},_0x123821=this[_0x467740(0x336)];_0x123821[_0x467740(0x22d)](_0x1844a7,_0xdb1b9),this[_0x467740(0x3c9)]['next'](_0x123821);}[_0x25c8ac(0x35b)](_0x497b98){const _0x4ec836=_0x25c8ac,{memberID:_0x20fa5a}=_0x497b98[_0x4ec836(0x303)],_0x412f68=this[_0x4ec836(0x336)];_0x412f68[_0x4ec836(0x2d0)](_0x20fa5a),this['_cursorInfo$'][_0x4ec836(0x258)](_0x412f68);}[_0x25c8ac(0x2c7)](_0x4cbe8d,_0xe7d289){const _0x17c206=_0x25c8ac;var _0x7049fc,_0x3b5a6e;const _0x59dc29=(_0x3b5a6e=(_0x7049fc=this[_0x17c206(0x23a)][_0x17c206(0x3d6)](this[_0x17c206(0x3e1)]))==null?void 0x0:_0x7049fc[_0x17c206(0x491)](_0x4cbe8d))==null?void 0x0:_0x3b5a6e['getMergeData']();return(_0x59dc29==null?void 0x0:_0x59dc29[_0x17c206(0x247)](_0x343772=>_0x51c091[_0x17c206(0x266)][_0x17c206(0x2d4)](_0x343772,_0xe7d289)))||_0xe7d289;}['_onRefRangeChange'](){const _0x537ba3=_0x25c8ac,_0x9c2eae=new _0x51c091[(_0x537ba3(0x440))](),_0xdb3e49=_0x11bc78(),_0x2348b4=()=>{const _0x497219=_0x537ba3;_0x9c2eae[_0x497219(0x325)]();const _0x23306e=(_0x196a63,_0x13ad1b,_0x15ef8a,_0x2c339e)=>{const _0x323d47=_0x497219;let _0x3f3b15=[];switch(_0x196a63['id']){case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x3cb)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x44a)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)]['DeleteRangeMoveUpCommandId']:{_0x3f3b15=_0x184ff5[_0x323d47(0x2ff)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)]['InsertColCommandId']:{_0x3f3b15=_0x184ff5[_0x323d47(0x341)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x4b6)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x3eb)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x41f)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x412)](_0x196a63,_0x2c339e);break;}case _0x184ff5['EffectRefRangId']['InsertRowCommandId']:{_0x3f3b15=_0x184ff5[_0x323d47(0x446)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x47f)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x3dc)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x396)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x2f4)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x4c5)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x20c)](_0x196a63,_0x2c339e);break;}}const _0x1a7152=_0x184ff5[_0x323d47(0x3e8)](_0x3f3b15,_0x2c339e),_0x3713c7=this[_0x323d47(0x336)]['get'](_0x13ad1b);if(_0x3713c7&&_0x1a7152){const _0x39e771={..._0x3713c7,'range':_0x1a7152};this[_0x323d47(0x336)][_0x323d47(0x22d)](_0x13ad1b,_0x39e771),_0xdb3e49(()=>{const _0x4a9761=_0x323d47,_0x26fe49=this[_0x4a9761(0x4a5)][_0x4a9761(0x37f)](_0x1a7152,_0x2a4feb=>(_0x26fe49['dispose'](),_0x23306e(_0x2a4feb,_0x13ad1b,_0x15ef8a,_0x1a7152)));_0x9c2eae[_0x4a9761(0x2d2)](_0x26fe49);});}return{'redos':[],'undos':[]};};this[_0x497219(0x336)]['forEach']((_0x4a3d20,_0x103a96)=>{const _0x479f21=_0x497219,{range:_0x565a48,sheetID:_0x3e3a24}=_0x4a3d20,_0x703cf=this[_0x479f21(0x4a5)]['registerRefRange'](_0x565a48,_0x1436da=>(_0x703cf['dispose'](),_0x23306e(_0x1436da,_0x103a96,_0x3e3a24,_0x565a48)));_0x9c2eae['add'](_0x703cf);});};this[_0x537ba3(0x1f5)](_0x51c091['toDisposable'](this[_0x537ba3(0x3c9)][_0x537ba3(0x2b3)](()=>{_0x2348b4();})));}[_0x25c8ac(0x2b4)](){const _0x18a2a1=_0x25c8ac;var _0x2fb576,_0x4546b4;if(this['_online']=!0x0,((_0x2fb576=this['_univerInstanceService'][_0x18a2a1(0x328)]())==null?void 0x0:_0x2fb576[_0x18a2a1(0x30f)]())!==this[_0x18a2a1(0x3e1)])return;const _0x1c8fcf=(_0x4546b4=this[_0x18a2a1(0x3e5)][_0x18a2a1(0x4c4)](_0x184ff5[_0x18a2a1(0x3e2)])['getCurrentSelections']())==null?void 0x0:_0x4546b4[0x0],_0x32fe7a=this[_0x18a2a1(0x23a)]['getCurrentUnitForType'](_0x51c091[_0x18a2a1(0x375)][_0x18a2a1(0x3d0)])['getActiveSheet']();_0x1c8fcf&&_0x32fe7a&&this[_0x18a2a1(0x324)](_0x32fe7a[_0x18a2a1(0x230)](),_0x1c8fcf);}['_toggleOffline'](){this['_online']=!0x1;}};_0x219f89=_0x317fe5([_0x134361(0x2,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x26a)])),_0x134361(0x3,_0x51c091['Inject'](_0x3dd070)),_0x134361(0x4,_0x51c091[_0x25c8ac(0x301)](_0x493e59[_0x25c8ac(0x401)])),_0x134361(0x5,_0x51c091[_0x25c8ac(0x261)]),_0x134361(0x6,_0x51c091[_0x25c8ac(0x483)]),_0x134361(0x7,_0x51c091[_0x25c8ac(0x301)](_0x184ff5['RefRangeService']))],_0x219f89);var _0x43e703=Object['getOwnPropertyDescriptor'],_0x39b925=(_0x12c4b8,_0x1ba556,_0x40c4b7,_0x376dae)=>{for(var _0x59f3d0=_0x376dae>0x1?void 0x0:_0x376dae?_0x43e703(_0x1ba556,_0x40c4b7):_0x1ba556,_0x339b61=_0x12c4b8['length']-0x1,_0x50bc3e;_0x339b61>=0x0;_0x339b61--)(_0x50bc3e=_0x12c4b8[_0x339b61])&&(_0x59f3d0=_0x50bc3e(_0x59f3d0)||_0x59f3d0);return _0x59f3d0;},_0x4b7da2=(_0x5b3971,_0x15d1ba)=>(_0x140356,_0x317c05)=>_0x15d1ba(_0x140356,_0x317c05,_0x5b3971);let _0x43fe6e=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x23000e,_0x27f75d,_0x3e1bec){const _0x2a942a=_0x25c8ac;super(),_0x3a54cf(this,_0x2a942a(0x38a),new Map()),_0x3a54cf(this,_0x2a942a(0x2f5),new _0x2d756d[(_0x2a942a(0x26c))]()),(this['_univerInstanceService']=_0x23000e,this['_injector']=_0x27f75d,this[_0x2a942a(0x41e)]=_0x3e1bec,this[_0x2a942a(0x38f)]());}[_0x25c8ac(0x325)](){const _0x249908=_0x25c8ac;super['dispose'](),this['_entityInit$'][_0x249908(0x438)](),this['_entities'][_0x249908(0x345)](_0x583c9f=>_0x583c9f[_0x249908(0x325)]());}[_0x25c8ac(0x2ef)](_0x8710f4){const _0x295207=_0x25c8ac;return this[_0x295207(0x38a)][_0x295207(0x297)](_0x8710f4)?this[_0x295207(0x38a)][_0x295207(0x4c4)](_0x8710f4)[_0x295207(0x404)]:this['_entityInit$']['pipe'](_0x2d756d[_0x295207(0x441)](_0x4c5ae1=>_0x4c5ae1[_0x295207(0x3e1)]===_0x8710f4),_0x2d756d['switchMap'](_0x46ac19=>_0x46ac19[_0x295207(0x404)]));}[_0x25c8ac(0x38f)](){const _0x4401e2=_0x25c8ac;this[_0x4401e2(0x23a)][_0x4401e2(0x3bb)](_0x51c091['UniverInstanceType'][_0x4401e2(0x3d0)])[_0x4401e2(0x430)](_0x2d756d[_0x4401e2(0x210)](this['dispose$']))[_0x4401e2(0x2b3)](async _0x55e8a0=>{const _0x21d9b6=_0x4401e2,_0x2a8a27=_0x55e8a0[_0x21d9b6(0x30f)](),_0x137c67=await this['_startSheetCollabCursor'](_0x2a8a27);this[_0x21d9b6(0x2f5)][_0x21d9b6(0x258)](_0x137c67),this['_entities'][_0x21d9b6(0x22d)](_0x2a8a27,_0x137c67);}),this[_0x4401e2(0x23a)][_0x4401e2(0x3bb)](_0x51c091[_0x4401e2(0x375)][_0x4401e2(0x3e3)])['pipe'](_0x2d756d[_0x4401e2(0x210)](this[_0x4401e2(0x37a)]))[_0x4401e2(0x430)](_0x2d756d['filter'](_0x467a7d=>!_0x467a7d['getUnitId']()[_0x4401e2(0x371)]('__')))['subscribe'](async _0x52985c=>{const _0x20a7a6=_0x4401e2,_0x4a3f86=_0x52985c['getUnitId'](),_0x35592a=await this[_0x20a7a6(0x3d3)](_0x4a3f86);this[_0x20a7a6(0x2f5)][_0x20a7a6(0x258)](_0x35592a),this[_0x20a7a6(0x38a)][_0x20a7a6(0x22d)](_0x4a3f86,_0x35592a);}),_0x2d756d[_0x4401e2(0x296)](this[_0x4401e2(0x23a)][_0x4401e2(0x44b)](_0x51c091[_0x4401e2(0x375)][_0x4401e2(0x3e3)]),this[_0x4401e2(0x23a)][_0x4401e2(0x44b)](_0x51c091['UniverInstanceType'][_0x4401e2(0x3d0)]))[_0x4401e2(0x430)](_0x2d756d['takeUntil'](this[_0x4401e2(0x37a)]))[_0x4401e2(0x2b3)](_0x1b6538=>{const _0x47331f=_0x4401e2,_0x238a37=_0x1b6538[_0x47331f(0x30f)](),_0x3831eb=this[_0x47331f(0x38a)][_0x47331f(0x4c4)](_0x238a37);_0x3831eb&&(_0x3831eb['dispose'](),this[_0x47331f(0x38a)][_0x47331f(0x2d0)](_0x238a37));});}async[_0x25c8ac(0x213)](_0x3fcb99){const _0x55c731=_0x25c8ac,_0x2a858f=await this[_0x55c731(0x41e)][_0x55c731(0x2d7)](_0x3fcb99),_0x5bed77=this[_0x55c731(0x3e5)]['createInstance'](_0x219f89,_0x3fcb99,_0x2a858f);return _0x5bed77[_0x55c731(0x281)](),_0x5bed77;}async[_0x25c8ac(0x3d3)](_0x5e8a13){const _0x532623=_0x25c8ac,_0x101bd9=await this[_0x532623(0x41e)][_0x532623(0x2d7)](_0x5e8a13),_0x1f88a1=this[_0x532623(0x3e5)]['createInstance'](_0x5ae18d,_0x5e8a13,_0x101bd9);return _0x1f88a1[_0x532623(0x281)](),_0x1f88a1;}};_0x43fe6e=_0x39b925([_0x4b7da2(0x0,_0x51c091[_0x25c8ac(0x261)]),_0x4b7da2(0x1,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x26a)])),_0x4b7da2(0x2,_0x51c091[_0x25c8ac(0x301)](_0x493e59['CollaborationSessionService']))],_0x43fe6e);const _0x3e88d8=0x14,_0x4f6245=0xc8,_0x169f85=0x4,_0x389b3c=0x5;function _0x2cd01b(_0x357dd5,_0x206aa4){const _0x5664c0=_0x25c8ac;let {radius:_0x556760,width:_0xd6431f,height:_0x3f04a5}=_0x206aa4;_0x556760=_0x556760!=null?_0x556760:0x0,_0xd6431f=_0xd6431f!=null?_0xd6431f:0x1e,_0x3f04a5=_0x3f04a5!=null?_0x3f04a5:0x1e;let _0xfec8e8=0x0,_0x253c20=0x0,_0x1b6d26=0x0;_0xfec8e8=_0x253c20=_0x1b6d26=Math[_0x5664c0(0x3c6)](_0x556760,_0xd6431f/0x2,_0x3f04a5/0x2),_0x357dd5[_0x5664c0(0x358)](),_0x357dd5['moveTo'](_0xfec8e8,0x0),_0x357dd5[_0x5664c0(0x30b)](_0xd6431f-_0x253c20,0x0),_0x357dd5[_0x5664c0(0x203)](_0xd6431f-_0x253c20,_0x253c20,_0x253c20,Math['PI']*0x3/0x2,0x0,!0x1),_0x357dd5[_0x5664c0(0x30b)](_0xd6431f,_0x3f04a5-_0x1b6d26),_0x357dd5[_0x5664c0(0x203)](_0xd6431f-_0x1b6d26,_0x3f04a5-_0x1b6d26,_0x1b6d26,0x0,Math['PI']/0x2,!0x1),_0x357dd5[_0x5664c0(0x30b)](0x0,_0x3f04a5),_0x357dd5[_0x5664c0(0x30b)](0x0,_0xfec8e8),_0x357dd5[_0x5664c0(0x203)](_0xfec8e8,_0xfec8e8,_0xfec8e8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x357dd5[_0x5664c0(0x218)](),_0x206aa4[_0x5664c0(0x42b)]&&(_0x357dd5['save'](),_0x357dd5['fillStyle']=_0x206aa4[_0x5664c0(0x42b)],_0x206aa4[_0x5664c0(0x23c)]==='evenodd'?_0x357dd5[_0x5664c0(0x42b)](_0x5664c0(0x4ad)):_0x357dd5[_0x5664c0(0x42b)](),_0x357dd5[_0x5664c0(0x45e)]());}class _0x138c53 extends _0x396fb6[_0x25c8ac(0x35d)]{constructor(_0x33501d,_0x2b8b94){const _0x33b346=_0x25c8ac;super(_0x33501d,_0x2b8b94),_0x3a54cf(this,_0x33b346(0x2da)),_0x3a54cf(this,'text'),(this[_0x33b346(0x2da)]=_0x2b8b94==null?void 0x0:_0x2b8b94[_0x33b346(0x2da)],this['text']=_0x2b8b94==null?void 0x0:_0x2b8b94[_0x33b346(0x48f)]);}static[_0x25c8ac(0x2bd)](_0x4bc761,_0x4bc170){const _0xd9e91e=_0x25c8ac,{text:_0x3cc97f,color:_0x1a5144}=_0x4bc170;_0x4bc761[_0xd9e91e(0x3c2)](),_0x4bc761['font']=_0xd9e91e(0x499);const _0x48cc26=_0x4bc761[_0xd9e91e(0x200)](_0x3cc97f)[_0xd9e91e(0x3fc)],_0x3830ce=Math[_0xd9e91e(0x3c6)](_0x48cc26+0x2*_0x169f85,_0x4f6245);_0x2cd01b(_0x4bc761,{'height':_0x3e88d8,'radius':0x4,'width':_0x3830ce,'fill':_0x1a5144}),_0x4bc761[_0xd9e91e(0x2bc)]=_0xd9e91e(0x3f8);const _0x527108=_0x169f85,_0x2b136e=_0x3e88d8-_0x389b3c,_0x369d8c=_0x4f6245-0x2*_0x169f85;if(_0x48cc26>_0x369d8c){let _0x19ffd2='',_0x542079=0x0;for(const _0x3f335b of _0x3cc97f){const _0x5e899f=_0x4bc761['measureText'](_0x3f335b)[_0xd9e91e(0x3fc)];if(_0x542079+_0x5e899f<=_0x369d8c-_0x4bc761['measureText'](_0xd9e91e(0x4cc))[_0xd9e91e(0x3fc)])_0x19ffd2+=_0x3f335b,_0x542079+=_0x5e899f;else{_0x19ffd2+='...';break;}}_0x4bc761[_0xd9e91e(0x274)](_0x19ffd2,_0x527108,_0x2b136e);}else _0x4bc761['fillText'](_0x3cc97f,_0x527108,_0x2b136e);_0x4bc761[_0xd9e91e(0x45e)]();}[_0x25c8ac(0x2a2)](_0x168f4e){const _0x3200c8=_0x25c8ac;_0x138c53[_0x3200c8(0x2bd)](_0x168f4e,this);}}const _0x41e103='collab-text-anchor-',_0x3446e0=_0x25c8ac(0x2b7),_0x77063e=_0x25c8ac(0x4bb),_0x31de00=0x6,_0x449f62=1.5,_0x3ce1c4=0x4,_0x267e4d=1.5,_0xbfaac7=_0x25c8ac(0x338);class _0x1ab378{constructor(_0x1c81d5,_0x134eb7,_0xe80fb5,_0x3cedb3){const _0x1bce42=_0x25c8ac;_0x3a54cf(this,_0x1bce42(0x2ea),[]),_0x3a54cf(this,_0x1bce42(0x47d),null),_0x3a54cf(this,_0x1bce42(0x327),null),_0x3a54cf(this,_0x1bce42(0x344),null),_0x3a54cf(this,_0x1bce42(0x39f),null),_0x3a54cf(this,'_eventUnsubscribe',null),(this[_0x1bce42(0x24e)]=_0x1c81d5,this[_0x1bce42(0x2a1)]=_0x134eb7,this[_0x1bce42(0x348)]=_0xe80fb5,this[_0x1bce42(0x360)]=_0x3cedb3,this['_render']());}set['_hover'](_0x37c3d0){const _0x35781a=_0x25c8ac;_0x37c3d0?(this['_anchorDot']&&this[_0x35781a(0x344)][_0x35781a(0x2f9)](),this[_0x35781a(0x327)]&&this[_0x35781a(0x327)][_0x35781a(0x392)]()):(this['_anchorDot']&&this[_0x35781a(0x344)][_0x35781a(0x392)](),this[_0x35781a(0x327)]&&this['_textBubble'][_0x35781a(0x2f9)]());}['dispose'](){const _0x57cb4a=_0x25c8ac;for(const _0x55e805 of this['_shapes'])_0x55e805['dispose']();this[_0x57cb4a(0x327)]&&this['_textBubble']['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x57cb4a(0x325)](),this[_0x57cb4a(0x47d)]&&this[_0x57cb4a(0x47d)][_0x57cb4a(0x325)](),this[_0x57cb4a(0x2bf)]&&this['_eventUnsubscribe']();}[_0x25c8ac(0x228)](){const _0x54994e=_0x25c8ac;var _0x37f415;const {_docSkeleton:_0x352fac,_document:_0x115d46}=this,{color:_0x132b28,name:_0x2e3999,ranges:_0x57f150}=this['_cursor'],_0x44c6b6=_0x115d46[_0x54994e(0x4af)](),{docsLeft:_0x40b3d0,docsTop:_0x577af5}=_0x44c6b6,_0x2ad7df=new _0x594fa4[(_0x54994e(0x234))](_0x44c6b6,_0x352fac);for(const {startOffset:_0x4f72c8,endOffset:_0x54e7b9,rangeType:_0x21c9b5,segmentId:_0x4c3ac6,segmentPage:_0x558944,collapsed:_0x248858,isActive:_0x9718e9}of _0x57f150){const _0x520e13=_0x352fac[_0x54994e(0x290)](_0x4f72c8,!0x0,_0x4c3ac6,_0x558944);let _0x288de7=_0x352fac[_0x54994e(0x290)](_0x54e7b9,!0x0,_0x4c3ac6,_0x558944);if(_0x288de7==null&&(_0x288de7=_0x352fac['findNodePositionByCharIndex'](_0x54e7b9-0x1,!0x1,_0x4c3ac6,_0x558944)),_0x9718e9){const {contentBoxPointGroup:_0x2be2fc}=_0x2ad7df[_0x54994e(0x49c)](_0x288de7,_0x288de7);if(_0x2be2fc['length']===0x0)continue;this[_0x54994e(0x2d3)](_0x132b28,_0x2be2fc,_0x40b3d0,_0x577af5,_0x2e3999),this[_0x54994e(0x2bf)]=this[_0x54994e(0x226)]();}if(_0x520e13&&_0x288de7){if(_0x21c9b5===_0x51c091[_0x54994e(0x458)][_0x54994e(0x208)]){const _0x3aeba6=new _0x594fa4[(_0x54994e(0x3ec))](_0x44c6b6,_0x352fac),{pointGroup:_0x2adfc1}=(_0x37f415=_0x3aeba6[_0x54994e(0x49c)](_0x520e13,_0x288de7))!=null?_0x37f415:{};if(_0x2adfc1==null||_0x2adfc1[_0x54994e(0x497)]===0x0)continue;this['_drawRectRange'](_0x132b28,_0x2adfc1,_0x40b3d0,_0x577af5);}else{if(!_0x248858){const {borderBoxPointGroup:_0x4e02a1}=_0x2ad7df['getRangePointData'](_0x520e13,_0x288de7);if(_0x4e02a1[_0x54994e(0x497)]===0x0)continue;this['_drawTextRange'](_0x132b28,_0x4e02a1,_0x40b3d0,_0x577af5);}}}}}[_0x25c8ac(0x2d3)](_0x5d3e39,_0x368bcc,_0x566245,_0x158632,_0x2b1b0b){const _0x175d10=_0x25c8ac,_0x8adbcf=this[_0x175d10(0x294)](_0x368bcc),{left:_0x13fa91,top:_0x531bf5,height:_0x2c3ef2}=_0x8adbcf,_0x312f6c=this[_0x175d10(0x3d5)](),_0x1a89f6=_0x267e4d/_0x312f6c,_0x366d6e=new _0x396fb6['Rect'](_0x41e103+_0x51c091[_0x175d10(0x2a9)](_0x31de00),{'left':_0x13fa91+_0x566245-_0x1a89f6,'top':_0x531bf5+_0x158632,'height':_0x2c3ef2,'width':_0x449f62,'fill':_0x5d3e39||_0x396fb6[_0x175d10(0x3a0)](_0x51c091[_0x175d10(0x421)][_0x175d10(0x478)],0x0),'strokeWidth':_0x1a89f6,'stroke':_0xbfaac7,'evented':!0x0});this[_0x175d10(0x47d)]=_0x366d6e,this['_scene'][_0x175d10(0x3d1)](_0x366d6e,_0x594fa4[_0x175d10(0x3bc)]);const _0x2ab239=new _0x396fb6[(_0x175d10(0x2c2))](_0x41e103+_0x51c091[_0x175d10(0x2a9)](_0x31de00),{'left':_0x13fa91+_0x566245-_0x1a89f6,'top':_0x531bf5+_0x158632-_0x3ce1c4/0x2,'height':_0x3ce1c4,'width':_0x3ce1c4,'fill':_0x5d3e39||_0x396fb6[_0x175d10(0x3a0)](_0x51c091['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x5d3e39||_0x396fb6[_0x175d10(0x3a0)](_0x51c091['COLORS'][_0x175d10(0x478)],0x0),'evented':!0x1});this['_anchorDot']=_0x2ab239,this[_0x175d10(0x2a1)][_0x175d10(0x3d1)](_0x2ab239,_0x594fa4[_0x175d10(0x3bc)]);const _0x28a0ce=new _0x138c53(_0x41e103+_0x51c091[_0x175d10(0x2a9)](_0x31de00),{'left':_0x13fa91+_0x566245-_0x1a89f6,'top':_0x531bf5+_0x158632-_0x3e88d8,'text':_0x2b1b0b,'color':_0x5d3e39});this['_textBubble']=_0x28a0ce,this['_scene'][_0x175d10(0x3d1)](_0x28a0ce,_0x594fa4['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x25c8ac(0x226)](){const _0x40a5db=_0x25c8ac,_0x4d9e8f=this['_anchor'][_0x40a5db(0x293)][_0x40a5db(0x402)](()=>{const _0x3a51f2=_0x40a5db;this[_0x3a51f2(0x394)]=!0x0;}),_0x22893c=this[_0x40a5db(0x47d)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x28d953=_0x40a5db;this[_0x28d953(0x39f)]&&clearTimeout(this[_0x28d953(0x39f)]),this[_0x28d953(0x39f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x19dc6f=_0x40a5db;_0x4d9e8f[_0x19dc6f(0x287)](),_0x22893c['unsubscribe']();};}[_0x25c8ac(0x4b4)](_0x488218,_0x22c41c,_0x9fae0f,_0x4b8d59){const _0x2346c9=_0x25c8ac,_0x285042=new _0x51c091['ColorKit'](_0x488218)[_0x2346c9(0x209)](0.2)['toRgbString'](),_0x5e99f7=new _0x396fb6['RegularPolygon'](_0x3446e0+_0x51c091[_0x2346c9(0x2a9)](_0x31de00),{'pointsGroup':_0x22c41c,'fill':_0x285042||_0x396fb6[_0x2346c9(0x3a0)](_0x51c091['COLORS'][_0x2346c9(0x478)],0.2),'left':_0x9fae0f,'top':_0x4b8d59,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2346c9(0x2ac)](_0x5e99f7),this[_0x2346c9(0x2a1)]['addObject'](_0x5e99f7,_0x594fa4[_0x2346c9(0x3bc)]);}['_drawRectRange'](_0x2982a6,_0x86c13e,_0xe1adb8,_0x555841){const _0x46ec1f=_0x25c8ac,_0x464309=new _0x51c091[(_0x46ec1f(0x223))](_0x2982a6)[_0x46ec1f(0x209)](0.2)['toRgbString'](),_0x482f97=new _0x396fb6[(_0x46ec1f(0x449))](_0x77063e+_0x51c091['generateRandomId'](_0x31de00),{'pointsGroup':_0x86c13e,'fill':_0x464309||_0x396fb6[_0x46ec1f(0x3a0)](_0x51c091[_0x46ec1f(0x421)][_0x46ec1f(0x478)],0.2),'left':_0xe1adb8,'top':_0x555841,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46ec1f(0x2ea)][_0x46ec1f(0x2ac)](_0x482f97),this[_0x46ec1f(0x2a1)]['addObject'](_0x482f97,_0x594fa4[_0x46ec1f(0x3bc)]);}[_0x25c8ac(0x294)](_0x1dfb30){const _0x190ad4=_0x1dfb30[0x0],_0x588b04=_0x190ad4[0x0],_0x3013e1=_0x190ad4[0x2],{x:_0x2125d1,y:_0x3e177f}=_0x588b04,{x:_0x443c39,y:_0x425670}=_0x3013e1;return{'left':_0x2125d1,'top':_0x3e177f,'width':_0x443c39-_0x2125d1,'height':_0x425670-_0x3e177f};}[_0x25c8ac(0x3d5)](){const _0x402234=_0x25c8ac,{scaleX:_0x394688,scaleY:_0x235e97}=this[_0x402234(0x2a1)][_0x402234(0x1fc)]();return Math[_0x402234(0x423)](_0x394688,_0x235e97);}}var _0x4bd16f=Object[_0x25c8ac(0x3a8)],_0x58b0e0=(_0x1e423a,_0x5cfe8f,_0x38a679,_0x465cdf)=>{const _0x1813c9=_0x25c8ac;for(var _0x3161e5=_0x465cdf>0x1?void 0x0:_0x465cdf?_0x4bd16f(_0x5cfe8f,_0x38a679):_0x5cfe8f,_0x5b28c6=_0x1e423a[_0x1813c9(0x497)]-0x1,_0x4d0cbf;_0x5b28c6>=0x0;_0x5b28c6--)(_0x4d0cbf=_0x1e423a[_0x5b28c6])&&(_0x3161e5=_0x4d0cbf(_0x3161e5)||_0x3161e5);return _0x3161e5;},_0x49e4b5=(_0x19ffd7,_0x3867fb)=>(_0x327329,_0xe7de90)=>_0x3867fb(_0x327329,_0xe7de90,_0x19ffd7);let _0x743d07=class extends _0x51c091['RxDisposable']{constructor(_0x434582,_0x1afa6e,_0x47a2d3,_0x301a5c,_0x414c62){const _0x518c06=_0x25c8ac;super(),_0x3a54cf(this,_0x518c06(0x407),[]),_0x3a54cf(this,_0x518c06(0x332),[]),(this[_0x518c06(0x31e)]=_0x434582,this['_docSkeletonManagerService']=_0x1afa6e,this['_collabCursorController']=_0x47a2d3,this[_0x518c06(0x2d6)]=_0x301a5c,this[_0x518c06(0x2cd)]=_0x414c62,this['_init']());}[_0x25c8ac(0x38f)](){const _0x23341e=_0x25c8ac,_0x2b900e=this[_0x23341e(0x31e)][_0x23341e(0x268)],_0x30c80b=this['_docSkeletonManagerService'];this[_0x23341e(0x1f5)](_0x2d756d[_0x23341e(0x496)]([this[_0x23341e(0x2fc)]['getCollabCursors$'](_0x2b900e),this[_0x23341e(0x2cd)][_0x23341e(0x23d)]])[_0x23341e(0x430)](_0xe24628[_0x23341e(0x43d)](([_0x3a1dee,_0xa0d65d])=>({'skeleton':_0x30c80b['getSkeleton'](),'cursors':[..._0x3a1dee['values']()][_0x23341e(0x28c)](_0x2e9a72=>({..._0x2e9a72,'color':this[_0x23341e(0x2cd)]['getColorFromTheme'](_0x2e9a72[_0x23341e(0x2da)])}))})))[_0x23341e(0x2b3)](_0x3fedba=>{const _0x241824=_0x23341e;if(this[_0x241824(0x22f)](),_0x3fedba){const {skeleton:_0x1e7cef,cursors:_0xd266da}=_0x3fedba;this[_0x241824(0x2f0)](_0x1e7cef,_0xd266da);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x25c8ac(0x2f0)](_0x20e1d2,_0x49d078){const _0x24c7ec=_0x25c8ac,{scene:_0x544e66,mainComponent:_0x3b0bf7}=this[_0x24c7ec(0x31e)],_0x17d7c1=_0x49d078['map'](_0x3f6745=>new _0x1ab378(_0x3f6745,_0x544e66,_0x20e1d2,_0x3b0bf7));this[_0x24c7ec(0x407)]=_0x17d7c1,this[_0x24c7ec(0x332)]=_0x49d078;}[_0x25c8ac(0x45f)](){const _0x30bae1=_0x25c8ac;this[_0x30bae1(0x22f)]();const {scene:_0x2ca01e,mainComponent:_0x504d26}=this[_0x30bae1(0x31e)],_0x43d178=this[_0x30bae1(0x4a1)][_0x30bae1(0x455)](),_0x420ba4=this[_0x30bae1(0x332)][_0x30bae1(0x43d)](_0x44c309=>new _0x1ab378(_0x44c309,_0x2ca01e,_0x43d178,_0x504d26));this[_0x30bae1(0x407)]=_0x420ba4;}[_0x25c8ac(0x22f)](){const _0x3f7ec8=_0x25c8ac;this[_0x3f7ec8(0x407)]['forEach'](_0x35e78b=>_0x35e78b[_0x3f7ec8(0x325)]()),this[_0x3f7ec8(0x407)]=[];}[_0x25c8ac(0x370)](){const _0x2c7673=_0x25c8ac,_0x343451=[_0x594fa4[_0x2c7673(0x37b)]['id']];this[_0x2c7673(0x1f5)](this[_0x2c7673(0x2d6)][_0x2c7673(0x485)](_0xc573a6=>{const _0x380052=_0x2c7673;_0x343451[_0x380052(0x233)](_0xc573a6['id'])&&_0xc573a6[_0x380052(0x411)][_0x380052(0x268)]===this['_context'][_0x380052(0x268)]&&this[_0x380052(0x45f)]();}));}['_initResize'](){const _0x1e250f=_0x25c8ac;this['disposeWithMe'](_0x51c091[_0x1e250f(0x286)](this['_context'][_0x1e250f(0x4b0)]['onTransformChange$'])[_0x1e250f(0x430)](_0xe24628['filter'](_0x5e670b=>_0x5e670b['type']===_0x396fb6['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x1e250f(0x4d9)]),_0xe24628[_0x1e250f(0x36d)](0x10))[_0x1e250f(0x2b3)](()=>{const _0x547148=_0x1e250f;this[_0x547148(0x45f)]();}));}};_0x743d07=_0x58b0e0([_0x49e4b5(0x1,_0x51c091[_0x25c8ac(0x301)](_0x37270e[_0x25c8ac(0x1f7)])),_0x49e4b5(0x2,_0x51c091['Inject'](_0x43fe6e)),_0x49e4b5(0x3,_0x51c091[_0x25c8ac(0x483)]),_0x49e4b5(0x4,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x41b)]))],_0x743d07);const _0x1b8c31=0x1,_0x4ae82e=1.5;class _0x1855f6 extends _0x396fb6[_0x25c8ac(0x35d)]{constructor(_0x15031d,_0x341307){const _0x414b29=_0x25c8ac;super(_0x15031d,_0x341307),_0x3a54cf(this,_0x414b29(0x479)),_0x3a54cf(this,_0x414b29(0x22e),!0x1),_0x3a54cf(this,_0x414b29(0x2d5)),_0x3a54cf(this,_0x414b29(0x49d),''),_0x3a54cf(this,_0x414b29(0x28a),_0x414b29(0x49b)),_0x3a54cf(this,_0x414b29(0x24f)),(_0x341307&&this[_0x414b29(0x34b)](_0x341307),this['onPointerEnter$'][_0x414b29(0x402)](()=>this[_0x414b29(0x34b)]({'hovered':!0x0})),this['onPointerLeave$'][_0x414b29(0x402)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x25c8ac(0x34b)](_0x18234a){const _0x1fc0ba=_0x25c8ac;var _0x4e43d7,_0x119f0d,_0x3433be,_0x1af4b1,_0x2e17ed,_0x4d8cec;this[_0x1fc0ba(0x479)]=(_0x4e43d7=_0x18234a[_0x1fc0ba(0x2da)])!=null?_0x4e43d7:this[_0x1fc0ba(0x479)],this[_0x1fc0ba(0x22e)]=(_0x119f0d=_0x18234a[_0x1fc0ba(0x34f)])!=null?_0x119f0d:this[_0x1fc0ba(0x22e)],this[_0x1fc0ba(0x2d5)]=(_0x3433be=_0x18234a[_0x1fc0ba(0x2af)])!=null?_0x3433be:this[_0x1fc0ba(0x2d5)],this[_0x1fc0ba(0x49d)]=(_0x1af4b1=_0x18234a[_0x1fc0ba(0x1ea)])!=null?_0x1af4b1:this[_0x1fc0ba(0x49d)],this['_labelPosition']=(_0x2e17ed=_0x18234a[_0x1fc0ba(0x3f3)])!=null?_0x2e17ed:this[_0x1fc0ba(0x28a)],this[_0x1fc0ba(0x24f)]=(_0x4d8cec=_0x18234a[_0x1fc0ba(0x245)])!=null?_0x4d8cec:this[_0x1fc0ba(0x24f)],this[_0x1fc0ba(0x377)]({'width':_0x18234a[_0x1fc0ba(0x3fc)],'height':_0x18234a[_0x1fc0ba(0x34c)]});}['onMouseMove'](_0xc266d4){const _0x9e3d46=_0x25c8ac,{row:_0x348e01,column:_0x446ee1}=_0xc266d4;if(_0x348e01>=this[_0x9e3d46(0x2d5)][_0x9e3d46(0x3b5)]&&_0x348e01<=this[_0x9e3d46(0x2d5)][_0x9e3d46(0x3cd)]&&_0x446ee1>=this[_0x9e3d46(0x2d5)][_0x9e3d46(0x3aa)]&&_0x446ee1<=this[_0x9e3d46(0x2d5)][_0x9e3d46(0x250)]){this[_0x9e3d46(0x34b)]({'hovered':!0x0});return;}this[_0x9e3d46(0x34b)]({'hovered':!0x1});}[_0x25c8ac(0x376)](_0x4e1c5b){return!0x1;}[_0x25c8ac(0x2a2)](_0x37aae2){const _0x2fd50a=_0x25c8ac;_0x396fb6[_0x2fd50a(0x2c2)][_0x2fd50a(0x2bd)](_0x37aae2,{'width':this[_0x2fd50a(0x3fc)],'height':this[_0x2fd50a(0x34c)],'strokeWidth':_0x4ae82e,'stroke':this[_0x2fd50a(0x479)],'evented':!0x1,'fill':this[_0x2fd50a(0x24f)]}),this[_0x2fd50a(0x22e)]&&(_0x37aae2[_0x2fd50a(0x3c2)](),_0x37aae2[_0x2fd50a(0x279)](0x1,0x0,0x0,0x1,this[_0x2fd50a(0x3fc)],this[_0x2fd50a(0x28a)]==='bottom'?0x0:-_0x3e88d8),_0x138c53['drawWith'](_0x37aae2,{'text':this[_0x2fd50a(0x49d)],'color':this['_color']}),_0x37aae2['restore']());}}var _0x30616d=Object['getOwnPropertyDescriptor'],_0x1a0574=(_0x27b98d,_0x5c36c6,_0xa0c220,_0x22dbef)=>{const _0x168b36=_0x25c8ac;for(var _0x1fa660=_0x22dbef>0x1?void 0x0:_0x22dbef?_0x30616d(_0x5c36c6,_0xa0c220):_0x5c36c6,_0x7f962e=_0x27b98d[_0x168b36(0x497)]-0x1,_0x126114;_0x7f962e>=0x0;_0x7f962e--)(_0x126114=_0x27b98d[_0x7f962e])&&(_0x1fa660=_0x126114(_0x1fa660)||_0x1fa660);return _0x1fa660;},_0x30b26c=(_0x88b9e8,_0x463d24)=>(_0x3cfdd2,_0xab744e)=>_0x463d24(_0x3cfdd2,_0xab744e,_0x88b9e8);const _0x973394=0x1389;let _0x62dded=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x344475,_0x23d545,_0x359dde,_0x2a57a3){const _0x41953c=_0x25c8ac;super(),_0x3a54cf(this,_0x41953c(0x332),new Set()),_0x3a54cf(this,_0x41953c(0x424),null),(this[_0x41953c(0x31e)]=_0x344475,this[_0x41953c(0x473)]=_0x23d545,this['_collabCursorController']=_0x359dde,this[_0x41953c(0x2cd)]=_0x2a57a3,this[_0x41953c(0x38f)]());}[_0x25c8ac(0x38f)](){const _0x421f12=_0x25c8ac;this[_0x421f12(0x473)][_0x421f12(0x357)][_0x421f12(0x430)](_0xe24628['takeUntil'](this[_0x421f12(0x37a)]),_0xe24628[_0x421f12(0x38c)](_0x9ed001=>{const _0x33ab63=_0x421f12;if(_0x9ed001){const _0x7bbac3=_0x9ed001[_0x33ab63(0x2c8)];return _0x2d756d[_0x33ab63(0x496)](this[_0x33ab63(0x2fc)][_0x33ab63(0x2ef)](this[_0x33ab63(0x31e)][_0x33ab63(0x268)]),this[_0x33ab63(0x2cd)][_0x33ab63(0x23d)])[_0x33ab63(0x430)](_0xe24628[_0x33ab63(0x43d)](([_0x5d427a,_0x1a37ef])=>{const _0x2ff7ee=_0x33ab63,_0x6d0a5b=new Map();return _0x5d427a[_0x2ff7ee(0x345)]((_0x593936,_0x68004d)=>{const _0x5e1332=_0x2ff7ee;if(_0x593936[_0x5e1332(0x3f2)]===_0x7bbac3){const _0x2c79f1={..._0x593936};_0x2c79f1[_0x5e1332(0x2da)]=this[_0x5e1332(0x2cd)][_0x5e1332(0x2e5)](_0x593936[_0x5e1332(0x2da)]),_0x6d0a5b[_0x5e1332(0x22d)](_0x68004d,_0x2c79f1);}}),{'skeleton':_0x9ed001,'cursors':_0x6d0a5b};}));}return _0x2d756d['of']({'skeleton':null,'cursors':new Map()});}))[_0x421f12(0x2b3)](({skeleton:_0x2aaf49,cursors:_0x37bb7e})=>{const _0x77245=_0x421f12;this[_0x77245(0x22f)](),_0x2aaf49&&this['_updateCollabCursors'](_0x2aaf49,_0x37bb7e);}),this['_sheetSkeletonManagerService'][_0x421f12(0x357)][_0x421f12(0x2b3)](_0xf545b7=>{const _0x5e2dcd=_0x421f12;if(_0xf545b7==null)return;const {skeleton:_0x55cc3e}=_0xf545b7,{scene:_0x2e8369}=this['_context'];_0x2e8369[_0x5e2dcd(0x4c1)][_0x5e2dcd(0x402)](_0x51c091[_0x5e2dcd(0x447)](_0x18bb03=>{const _0x342587=_0x5e2dcd;var _0x4203f4,_0x5673f2;const {offsetX:_0x311f35,offsetY:_0x4d2298}=_0x18bb03,{x:_0x380bb5,y:_0x2bccee}=_0x2e8369['getRelativeToViewportCoord'](_0x396fb6['Vector2'][_0x342587(0x347)]([_0x311f35,_0x4d2298])),{scaleX:_0x364ff1,scaleY:_0x432c22}=_0x2e8369[_0x342587(0x1fc)](),_0x1c5010=_0x2e8369[_0x342587(0x34d)](_0x396fb6[_0x342587(0x2ce)][_0x342587(0x41a)]),_0x4b8458=_0x2e8369[_0x342587(0x49f)](_0x396fb6[_0x342587(0x49a)][_0x342587(0x347)]([_0x380bb5,_0x2bccee]),_0x1c5010),_0x168051=_0x55cc3e[_0x342587(0x365)](_0x311f35,_0x4d2298,_0x364ff1,_0x432c22,_0x4b8458);((_0x4203f4=this[_0x342587(0x424)])==null?void 0x0:_0x4203f4[_0x342587(0x2d8)])===_0x168051[_0x342587(0x2d8)]&&((_0x5673f2=this['_lastPointer'])==null?void 0x0:_0x5673f2[_0x342587(0x45b)])===_0x168051[_0x342587(0x45b)]||this[_0x342587(0x332)][_0x342587(0x345)](_0x4f8c53=>{_0x4f8c53['onMouseMove'](_0x168051);});},0x64));});}[_0x25c8ac(0x2f0)](_0x43c365,_0x2ab2cc){const _0x1c5a33=_0x25c8ac;var _0xbed0f6;const _0x3b333e=(_0xbed0f6=this[_0x1c5a33(0x473)]['getCurrent']())==null?void 0x0:_0xbed0f6[_0x1c5a33(0x20a)];if(!_0x3b333e)return;const _0x509b9c=this[_0x1c5a33(0x291)]();if(!_0x509b9c)return;this[_0x1c5a33(0x332)]['forEach'](_0x23bd84=>{const _0x4167fa=_0x1c5a33;_0x23bd84[_0x4167fa(0x3cc)]();});const {scene:_0x3e3aea}=_0x509b9c,_0x237390=_0x16ce05(Array[_0x1c5a33(0x3de)](_0x2ab2cc[_0x1c5a33(0x232)]()))['map'](_0x41820f=>{const _0x345500=_0x1c5a33,{color:_0x36c604,range:_0x3cc6de,name:_0x1feb22,selection:_0x360344,sheetID:_0x235403}=_0x41820f,{startColumn:_0x363726,startRow:_0x5f5442,endColumn:_0x467034,endRow:_0x13736d}=_0x3cc6de,_0x285441=_0x5aaf45[_0x345500(0x269)](_0x5f5442,_0x363726,_0x3e3aea,_0x3b333e),_0x43baa8=_0x5aaf45[_0x345500(0x269)](_0x13736d,_0x467034,_0x3e3aea,_0x3b333e),{columnHeaderHeightAndMarginTop:_0x431061}=_0x3b333e,{startX:_0x49e3c8,startY:_0x36a690}=_0x285441,{endX:_0x4cc179,endY:_0x2fa19e}=_0x43baa8,_0x533b91=_0x4cc179-_0x49e3c8,_0x10eb9b=_0x2fa19e-_0x36a690,_0xfa2e0c={'labelPosition':_0x36a690-_0x431061>=_0x3e88d8?_0x345500(0x49b):_0x345500(0x4c2),'sheetID':_0x235403,'range':_0x3cc6de,'color':_0x36c604,'name':_0x1feb22,'selection':_0x360344,'left':_0x49e3c8,'top':_0x36a690,'width':_0x533b91,'height':_0x10eb9b,'evented':!0x1,'zIndex':_0x973394};return new _0x1855f6(_0x1feb22,_0xfa2e0c);});_0x3e3aea[_0x1c5a33(0x3f4)](_0x237390,_0x1b8c31),this[_0x1c5a33(0x332)]=new Set(_0x237390);}[_0x25c8ac(0x22f)](){const _0x3a6ac6=_0x25c8ac;var _0x441f6b;(_0x441f6b=this[_0x3a6ac6(0x332)])==null||_0x441f6b[_0x3a6ac6(0x345)](_0x15aec0=>_0x15aec0[_0x3a6ac6(0x325)]());}[_0x25c8ac(0x291)](){const _0x3d2048=_0x25c8ac;return _0x5aaf45['getSheetObject'](this[_0x3d2048(0x31e)][_0x3d2048(0x4b5)],this['_context']);}};_0x62dded=_0x1a0574([_0x30b26c(0x1,_0x51c091[_0x25c8ac(0x301)](_0x5aaf45[_0x25c8ac(0x351)])),_0x30b26c(0x2,_0x51c091['Inject'](_0x43fe6e)),_0x30b26c(0x3,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x41b)]))],_0x62dded);function _0x16ce05(_0x40d3b2){const _0x2cbbf9=_0x25c8ac,_0x4bfad6=new Map();return _0x40d3b2['forEach'](_0x14de9b=>{const _0x4835e7=_0xd869;if(_0x4bfad6[_0x4835e7(0x297)](_0x14de9b[_0x4835e7(0x27d)])){const _0x5031e2=_0x4bfad6[_0x4835e7(0x4c4)](_0x14de9b[_0x4835e7(0x27d)]);_0x5031e2[_0x4835e7(0x1ea)]+=',\x20'+_0x14de9b[_0x4835e7(0x1ea)];}else _0x4bfad6[_0x4835e7(0x22d)](_0x14de9b[_0x4835e7(0x27d)],_0x14de9b);}),Array[_0x2cbbf9(0x3de)](_0x4bfad6[_0x2cbbf9(0x232)]());}var _0x29ab0c=Object[_0x25c8ac(0x3a8)],_0x15b492=(_0x16eb62,_0x35edbe,_0x4bfdb7,_0x23c58d)=>{const _0x2d88d8=_0x25c8ac;for(var _0x58517f=_0x23c58d>0x1?void 0x0:_0x23c58d?_0x29ab0c(_0x35edbe,_0x4bfdb7):_0x35edbe,_0x31ba92=_0x16eb62[_0x2d88d8(0x497)]-0x1,_0x2ba036;_0x31ba92>=0x0;_0x31ba92--)(_0x2ba036=_0x16eb62[_0x31ba92])&&(_0x58517f=_0x2ba036(_0x58517f)||_0x58517f);return _0x58517f;},_0x425b82=(_0x38ae6c,_0x160252)=>(_0x51ffc0,_0x134016)=>_0x160252(_0x51ffc0,_0x134016,_0x38ae6c);let _0x1e22db=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x1ac8ac,_0x1d1d63,_0x202e91,_0x30edaa,_0x376001,_0x31f904){const _0x2b57cc=_0x25c8ac;super(),this[_0x2b57cc(0x48a)]=_0x1ac8ac,this[_0x2b57cc(0x267)]=_0x1d1d63,this['_collaborationUIEventService']=_0x202e91,this[_0x2b57cc(0x264)]=_0x30edaa,this[_0x2b57cc(0x31d)]=_0x376001,this[_0x2b57cc(0x372)]=_0x31f904,this[_0x2b57cc(0x2c3)](),this[_0x2b57cc(0x229)]();}[_0x25c8ac(0x2c3)](){const _0x2ed39f=_0x25c8ac;this[_0x2ed39f(0x1f5)](this[_0x2ed39f(0x48a)][_0x2ed39f(0x368)](()=>{const _0x49413d=_0x2ed39f;if(this[_0x49413d(0x267)][_0x49413d(0x237)][_0x49413d(0x3ac)])return this[_0x49413d(0x372)]['t'](_0x49413d(0x21f));}));}['_initEvent'](){const _0x57b5ac=_0x25c8ac;this['disposeWithMe'](this[_0x57b5ac(0x43f)][_0x57b5ac(0x2c1)][_0x57b5ac(0x2b3)](_0x4bc46e=>{const _0xcf2a45=_0x57b5ac;_0x4bc46e['id']===_0x493e59['CollaborationUIEventId'][_0xcf2a45(0x3f0)]&&this['_messageService'][_0xcf2a45(0x392)]({'type':_0x1039db[_0xcf2a45(0x26f)][_0xcf2a45(0x2ad)],'content':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x25b))}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x280)]&&this[_0xcf2a45(0x264)][_0xcf2a45(0x392)]({'type':_0x1039db['MessageType'][_0xcf2a45(0x2ad)],'content':this[_0xcf2a45(0x372)]['t']('collaboration.closeRoom')}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x292)]&&this['_notificationService'][_0xcf2a45(0x392)]({'title':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x4aa)),'content':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x239)),'type':_0xcf2a45(0x3df),'duration':0x0}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x1ec)]&&this[_0xcf2a45(0x264)]['show']({'type':_0x1039db['MessageType'][_0xcf2a45(0x235)],'content':this[_0xcf2a45(0x372)]['t']('collaboration.closeRoom')+'('+_0x4bc46e[_0xcf2a45(0x303)]+')'}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x46e)]&&this[_0xcf2a45(0x264)][_0xcf2a45(0x392)]({'type':_0x1039db[_0xcf2a45(0x26f)][_0xcf2a45(0x2ad)],'content':this[_0xcf2a45(0x372)]['t'](_0x4bc46e[_0xcf2a45(0x303)]||'')}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x224)]&&this[_0xcf2a45(0x264)][_0xcf2a45(0x392)]({'type':_0x1039db[_0xcf2a45(0x26f)][_0xcf2a45(0x2ad)],'content':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x46b))}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)]['SOCKET_FAILED']&&this['_messageService']['show']({'type':_0x1039db['MessageType']['Error'],'content':this[_0xcf2a45(0x372)]['t']('session.connection-failed')}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x31c)]&&this[_0xcf2a45(0x264)][_0xcf2a45(0x392)]({'type':_0x1039db[_0xcf2a45(0x26f)][_0xcf2a45(0x235)],'content':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x373))});}));}};_0x1e22db=_0x15b492([_0x425b82(0x0,_0x47d161['IBeforeCloseService']),_0x425b82(0x1,_0x493e59[_0x25c8ac(0x4cd)]),_0x425b82(0x2,_0x51c091['Inject'](_0x493e59[_0x25c8ac(0x3fa)])),_0x425b82(0x3,_0x47d161[_0x25c8ac(0x492)]),_0x425b82(0x4,_0x47d161[_0x25c8ac(0x3f5)]),_0x425b82(0x5,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x27c)]))],_0x1e22db);var _0x4f6c6d=Object[_0x25c8ac(0x3a8)],_0x2f7efc=(_0x3d41a8,_0xc390b3,_0x97e7ab,_0x10d50d)=>{const _0x355344=_0x25c8ac;for(var _0x405f5a=_0x10d50d>0x1?void 0x0:_0x10d50d?_0x4f6c6d(_0xc390b3,_0x97e7ab):_0xc390b3,_0x3a3866=_0x3d41a8[_0x355344(0x497)]-0x1,_0x5172d6;_0x3a3866>=0x0;_0x3a3866--)(_0x5172d6=_0x3d41a8[_0x3a3866])&&(_0x405f5a=_0x5172d6(_0x405f5a)||_0x405f5a);return _0x405f5a;},_0x1c94f3=(_0x2b616c,_0xe8b611)=>(_0x20c8f2,_0x5d156b)=>_0xe8b611(_0x20c8f2,_0x5d156b,_0x2b616c);let _0x5971ed=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x4c106d,_0xcdfbef,_0x475d77,_0x283c7e){const _0x3d0aca=_0x25c8ac;super(),_0x3a54cf(this,'_memberID'),(this[_0x3d0aca(0x3e5)]=_0x4c106d,this['_httpService']=_0xcdfbef,this[_0x3d0aca(0x38d)]=_0x475d77,this[_0x3d0aca(0x205)]=_0x283c7e,this['_init']());}[_0x25c8ac(0x38f)](){const _0x101e45=_0x25c8ac;this['_initWindowErrorListener'](),this[_0x101e45(0x4d3)](),this[_0x101e45(0x21e)](),this['_initUserListener']();}[_0x25c8ac(0x472)](){const _0xa13380=_0x25c8ac;this['disposeWithMe'](this[_0xa13380(0x205)][_0xa13380(0x4be)][_0xa13380(0x2b3)](_0x9b739d=>{const _0x127833=_0xa13380;this[_0x127833(0x318)]=_0x9b739d==null?void 0x0:_0x9b739d[_0x127833(0x4b8)];}));}[_0x25c8ac(0x32c)](){const _0x764f1a=_0x25c8ac,_0x54c5ba=_0x5610ab=>{const _0x2eb333=_0xd869;var _0x453d1a;this['_uploadLog'](_0x2eb333(0x3df),_0x2eb333(0x416)+_0x5610ab['message']+'\x20at\x20'+_0x5610ab['filename']+':'+_0x5610ab[_0x2eb333(0x4d2)]+':'+_0x5610ab[_0x2eb333(0x2f3)]+'\x0a'+(((_0x453d1a=_0x5610ab[_0x2eb333(0x3df)])==null?void 0x0:_0x453d1a[_0x2eb333(0x493)])||''));};window[_0x764f1a(0x222)](_0x764f1a(0x3df),_0x54c5ba),this[_0x764f1a(0x1f5)](()=>{const _0x2907ce=_0x764f1a;window[_0x2907ce(0x464)]('error',_0x54c5ba);});}[_0x25c8ac(0x4d3)](){const _0x1af3b0=_0x25c8ac,_0x235439=_0x37288f=>{const _0x4cbf28=_0xd869;this[_0x4cbf28(0x257)]('error',_0x4cbf28(0x283)+_0x37288f[_0x4cbf28(0x2ec)]);};window[_0x1af3b0(0x222)](_0x1af3b0(0x28e),_0x235439),this[_0x1af3b0(0x1f5)](()=>{const _0x3d6b8c=_0x1af3b0;window[_0x3d6b8c(0x464)](_0x3d6b8c(0x28e),_0x235439);});}[_0x25c8ac(0x21e)](){const _0x284c87=_0x25c8ac,_0x87d50f=this[_0x284c87(0x38d)][_0x284c87(0x3df)][_0x284c87(0x20f)](this['_logService']);this[_0x284c87(0x38d)]['error']=(..._0x569935)=>{const _0x2b2d3d=_0x284c87,_0x58e01d=_0x569935['map'](_0x45a0e4=>_0x45a0e4 instanceof Error?_0x45a0e4[_0x2b2d3d(0x2f6)]+'\x0a'+_0x45a0e4['stack']:String(_0x45a0e4))[_0x2b2d3d(0x466)]('\x20');this['_uploadLog'](_0x2b2d3d(0x3df),'[LogService\x20Error]:\x20'+_0x58e01d),_0x87d50f(..._0x569935);},this[_0x284c87(0x1f5)](()=>{const _0x5a14d6=_0x284c87;this[_0x5a14d6(0x38d)][_0x5a14d6(0x3df)]=_0x87d50f;});}[_0x25c8ac(0x257)](_0x370db7,_0x5a73c5){const _0xba4ba=_0x25c8ac;try{const _0x4c43da={'userId':this[_0xba4ba(0x318)],'logLabel':_0x370db7,'content':_0x5a73c5};this['_httpService']['post']('/universer-api/frontend/logs',{'body':_0x4c43da})[_0xba4ba(0x3a4)](()=>{});}catch{}}};_0x5971ed=_0x2f7efc([_0x1c94f3(0x0,_0x51c091['Inject'](_0x51c091[_0x25c8ac(0x26a)])),_0x1c94f3(0x1,_0x51c091[_0x25c8ac(0x301)](_0x38be65[_0x25c8ac(0x436)])),_0x1c94f3(0x2,_0x51c091[_0x25c8ac(0x36e)]),_0x1c94f3(0x3,_0x51c091['Inject'](_0x493e59[_0x25c8ac(0x1f2)]))],_0x5971ed);const _0x50d024=_0x25c8ac(0x2a5),_0x3bc6e3={};var _0x393079=Object[_0x25c8ac(0x3a8)],_0x4f22c5=(_0x25beb7,_0x424d8f,_0xa4c970,_0x194e62)=>{const _0x1aeb36=_0x25c8ac;for(var _0x1515fb=_0x194e62>0x1?void 0x0:_0x194e62?_0x393079(_0x424d8f,_0xa4c970):_0x424d8f,_0x104bfe=_0x25beb7[_0x1aeb36(0x497)]-0x1,_0x551135;_0x104bfe>=0x0;_0x104bfe--)(_0x551135=_0x25beb7[_0x104bfe])&&(_0x1515fb=_0x551135(_0x1515fb)||_0x1515fb);return _0x1515fb;},_0x42042d=(_0x4ba6dc,_0x4acd0d)=>(_0x573318,_0x1bae24)=>_0x4acd0d(_0x573318,_0x1bae24,_0x4ba6dc);let _0x36d845=class{constructor(_0x296b0f,_0x52873d){const _0x1a41e8=_0x25c8ac;this[_0x1a41e8(0x414)]=_0x296b0f,this[_0x1a41e8(0x21c)]=_0x52873d;}[_0x25c8ac(0x29b)](_0x1af2ba){const _0x5b1295=_0x25c8ac;this[_0x5b1295(0x4ac)](_0x1af2ba),this[_0x5b1295(0x382)](_0x1af2ba);}['transformRemoteChangeset'](_0x1b3fff){const _0x1994fa=_0x25c8ac,{unitID:_0x36ae73}=_0x1b3fff,_0x40a0d9=this[_0x1994fa(0x21c)][_0x1994fa(0x25a)](_0x36ae73)['with'](_0x594fa4['DocIMEInputManagerService']),{redoCache:_0x2098eb}=_0x40a0d9['getUndoRedoMutationParamsCache']();if(_0x2098eb[_0x1994fa(0x497)]===0x0)return _0x1b3fff;let _0x2bdabf=_0x51c091[_0x1994fa(0x3ff)]['deepClone'](_0x1b3fff['mutations'][0x0]);for(let _0xc889c7=0x0;_0xc889c7<_0x2098eb['length'];_0xc889c7++){const _0xbe59={'id':'doc.mutation.rich-text-editing','params':{..._0x2098eb[_0xc889c7]}},_0x3360ee=this['_transformService'][_0x1994fa(0x2b2)](_0x2bdabf,_0xbe59,!0x1);if(_0x5b9cab[_0x1994fa(0x452)](_0x3360ee))throw _0x3360ee[_0x1994fa(0x3df)];_0x2bdabf=_0x3360ee['m1Prime'];}return{..._0x51c091[_0x1994fa(0x3ff)][_0x1994fa(0x259)](_0x1b3fff),'mutations':[_0x2bdabf]};}[_0x25c8ac(0x4ac)](_0x1f1546){const _0x11d044=_0x25c8ac,{unitID:_0x2ec474}=_0x1f1546,_0x2af329=this[_0x11d044(0x21c)]['getRenderById'](_0x2ec474)[_0x11d044(0x339)](_0x594fa4['DocIMEInputManagerService']),{undoCache:_0x4c182d,redoCache:_0x5ced31}=_0x2af329[_0x11d044(0x2cc)]();if(_0x4c182d[_0x11d044(0x497)]===0x0||_0x5ced31[_0x11d044(0x497)]===0x0)return;const _0x19b3a4=[],_0x4e8156=[];let _0x41fa1e=_0x51c091[_0x11d044(0x3ff)]['deepClone'](_0x1f1546['mutations'][0x0]),_0x5ea255=_0x51c091[_0x11d044(0x3ff)][_0x11d044(0x259)](_0x1f1546[_0x11d044(0x2dc)][0x0]);for(let _0x53d254=_0x4c182d[_0x11d044(0x497)]-0x1;_0x53d254>=0x0;_0x53d254--){const _0x1af8ad={'id':'doc.mutation.rich-text-editing','params':{..._0x4c182d[_0x53d254]}},_0x105dad={'id':'doc.mutation.rich-text-editing','params':{..._0x5ced31[_0x53d254]}},_0x25fab0=this[_0x11d044(0x414)][_0x11d044(0x2b2)](_0x41fa1e,_0x1af8ad,!0x1),_0x5ece87=this[_0x11d044(0x414)][_0x11d044(0x2b2)](_0x5ea255,_0x105dad,!0x1);if(_0x5b9cab[_0x11d044(0x452)](_0x25fab0))throw _0x25fab0['error'];if(_0x5b9cab[_0x11d044(0x452)](_0x5ece87))throw _0x5ece87[_0x11d044(0x3df)];_0x19b3a4[_0x11d044(0x4cf)](_0x25fab0[_0x11d044(0x389)][_0x11d044(0x411)]),_0x4e8156[_0x11d044(0x4cf)](_0x5ece87[_0x11d044(0x389)][_0x11d044(0x411)]),_0x41fa1e=_0x25fab0[_0x11d044(0x33c)],_0x5ea255=_0x5ece87[_0x11d044(0x33c)];}_0x2af329['setUndoRedoMutationParamsCache']({'undoCache':_0x19b3a4,'redoCache':_0x4e8156});}[_0x25c8ac(0x382)](_0x186536){const _0x40fea0=_0x25c8ac,{unitID:_0x5cbecc}=_0x186536,_0x66e5df=this[_0x40fea0(0x21c)][_0x40fea0(0x25a)](_0x5cbecc)['with'](_0x594fa4[_0x40fea0(0x2df)]),_0x3af6fe=_0x66e5df[_0x40fea0(0x381)]();if(_0x3af6fe==null)return;const _0x2159ae=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x186536['unitID'],'actions':null,'textRanges':[_0x3af6fe]}}],_0x510151=this[_0x40fea0(0x414)][_0x40fea0(0x2bb)](_0x186536,_0x2159ae);if(!_0x5b9cab[_0x40fea0(0x314)](_0x510151))throw _0x510151['error'];const _0x526d21=_0x510151[_0x40fea0(0x389)][0x0]['params'][_0x40fea0(0x45a)];Array[_0x40fea0(0x1fa)](_0x526d21)&&_0x526d21[_0x40fea0(0x497)]&&_0x66e5df['setActiveRange'](_0x526d21[0x0]);}};_0x36d845=_0x4f22c5([_0x42042d(0x0,_0x5b9cab[_0x25c8ac(0x431)]),_0x42042d(0x1,_0x396fb6['IRenderManagerService'])],_0x36d845);var _0x5d8053=Object[_0x25c8ac(0x3a8)],_0x56f933=(_0x188e70,_0x42a546,_0x2a3b1f,_0x4a80b5)=>{for(var _0x25fd9d=_0x4a80b5>0x1?void 0x0:_0x4a80b5?_0x5d8053(_0x42a546,_0x2a3b1f):_0x42a546,_0x1efe8a=_0x188e70['length']-0x1,_0x59958a;_0x1efe8a>=0x0;_0x1efe8a--)(_0x59958a=_0x188e70[_0x1efe8a])&&(_0x25fd9d=_0x59958a(_0x25fd9d)||_0x25fd9d);return _0x25fd9d;},_0x5833a8=(_0x18f96f,_0x184249)=>(_0x11b367,_0x2ac88f)=>_0x184249(_0x11b367,_0x2ac88f,_0x18f96f);let _0x40750b=class{constructor(_0x3a865a,_0x37fcbc,_0x424c94){const _0x53f457=_0x25c8ac;this[_0x53f457(0x3e5)]=_0x3a865a,this[_0x53f457(0x414)]=_0x37fcbc,this[_0x53f457(0x20b)]=_0x424c94;}[_0x25c8ac(0x3b8)](_0xe3db17){const _0x1df755=_0x25c8ac;this[_0x1df755(0x254)](_0xe3db17);}[_0x25c8ac(0x364)](_0x3dd461){const _0x3b9195=_0x25c8ac,{unitID:_0x247cef}=_0x3dd461,{collaboration:_0x1836b1}=this[_0x3b9195(0x20b)][_0x3b9195(0x4d4)](_0x247cef);if(_0x1836b1[_0x3b9195(0x497)]===0x0)return _0x3dd461;let _0xacc4a4=_0x51c091['Tools'][_0x3b9195(0x259)](_0x3dd461[_0x3b9195(0x2dc)][0x0]);for(let _0x763975=0x0;_0x763975<_0x1836b1['length'];_0x763975++){const _0x837758={'id':_0x3b9195(0x21a),'params':{'unitId':_0x1836b1[_0x763975]['unitId'],..._0x1836b1[_0x763975][_0x3b9195(0x272)]}},_0x464696=this[_0x3b9195(0x414)][_0x3b9195(0x2b2)](_0xacc4a4,_0x837758,!0x1);if(_0x5b9cab[_0x3b9195(0x452)](_0x464696))throw _0x464696[_0x3b9195(0x3df)];_0xacc4a4=_0x464696[_0x3b9195(0x33c)];}return{..._0x51c091['Tools'][_0x3b9195(0x259)](_0x3dd461),'mutations':[_0xacc4a4]};}['_transformHistoryAndStateStack'](_0x2304a4){const _0x3c7267=_0x25c8ac,{unitID:_0x23b94d}=_0x2304a4,{history:_0x533608,collaboration:_0x55b871}=this[_0x3c7267(0x20b)][_0x3c7267(0x4d4)](_0x23b94d);if(_0x533608[_0x3c7267(0x497)]===0x0&&_0x55b871['length']===0x0)return;const _0x47bc20=[],_0x4d68fb=[];let _0x16873c=_0x51c091[_0x3c7267(0x3ff)][_0x3c7267(0x259)](_0x2304a4['mutations'][0x0]),_0x39051e=_0x51c091['Tools']['deepClone'](_0x2304a4[_0x3c7267(0x2dc)][0x0]);for(let _0x40e6cf=_0x533608['length']-0x1;_0x40e6cf>=0x0;_0x40e6cf--){const _0x193b0d={'id':_0x3c7267(0x21a),'params':{'unitId':_0x533608[_0x40e6cf][_0x3c7267(0x268)],..._0x533608[_0x40e6cf][_0x3c7267(0x415)]}},_0x41bade={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x533608[_0x40e6cf]['unitId'],..._0x533608[_0x40e6cf]['redoState']}},_0x1764e5=this[_0x3c7267(0x414)]['transformMutation'](_0x16873c,_0x193b0d,!0x1),_0x1fee67=this[_0x3c7267(0x414)][_0x3c7267(0x2b2)](_0x39051e,_0x41bade,!0x1);if(_0x5b9cab[_0x3c7267(0x452)](_0x1764e5))throw _0x1764e5[_0x3c7267(0x3df)];if(_0x5b9cab[_0x3c7267(0x452)](_0x1fee67))throw _0x1fee67[_0x3c7267(0x3df)];_0x47bc20[_0x3c7267(0x4cf)]({..._0x533608[_0x40e6cf],'undoState':_0x1764e5[_0x3c7267(0x389)][_0x3c7267(0x411)],'redoState':_0x1fee67[_0x3c7267(0x389)][_0x3c7267(0x411)]}),_0x16873c=_0x1764e5[_0x3c7267(0x33c)],_0x39051e=_0x1fee67[_0x3c7267(0x33c)];}_0x16873c=_0x51c091[_0x3c7267(0x3ff)][_0x3c7267(0x259)](_0x2304a4[_0x3c7267(0x2dc)][0x0]),_0x39051e=_0x51c091[_0x3c7267(0x3ff)][_0x3c7267(0x259)](_0x2304a4[_0x3c7267(0x2dc)][0x0]);for(let _0x3e7061=_0x55b871[_0x3c7267(0x497)]-0x1;_0x3e7061>=0x0;_0x3e7061--){const _0x302915={'id':_0x3c7267(0x21a),'params':{'unitId':_0x55b871[_0x3e7061][_0x3c7267(0x268)],..._0x55b871[_0x3e7061][_0x3c7267(0x415)]}},_0x356470={'id':_0x3c7267(0x21a),'params':{'unitId':_0x55b871[_0x3e7061]['unitId'],..._0x55b871[_0x3e7061][_0x3c7267(0x272)]}},_0x51f03c=this[_0x3c7267(0x414)][_0x3c7267(0x2b2)](_0x16873c,_0x302915,!0x1),_0x19fb70=this['_transformService'][_0x3c7267(0x2b2)](_0x39051e,_0x356470,!0x1);if(_0x5b9cab[_0x3c7267(0x452)](_0x51f03c))throw _0x51f03c['error'];if(_0x5b9cab[_0x3c7267(0x452)](_0x19fb70))throw _0x19fb70[_0x3c7267(0x3df)];_0x4d68fb['unshift']({..._0x55b871[_0x3e7061],'undoState':_0x51f03c[_0x3c7267(0x389)][_0x3c7267(0x411)],'redoState':_0x19fb70[_0x3c7267(0x389)][_0x3c7267(0x411)]}),_0x16873c=_0x51f03c[_0x3c7267(0x33c)],_0x39051e=_0x19fb70['m1Prime'];}this['_docStateChangeManagerService'][_0x3c7267(0x3b1)](_0x23b94d,{'history':_0x47bc20,'collaboration':_0x4d68fb});}};_0x40750b=_0x56f933([_0x5833a8(0x0,_0x51c091['Inject'](_0x51c091[_0x25c8ac(0x26a)])),_0x5833a8(0x1,_0x5b9cab['ITransformService']),_0x5833a8(0x2,_0x51c091[_0x25c8ac(0x301)](_0x594fa4[_0x25c8ac(0x2d9)]))],_0x40750b);var _0x132645=Object[_0x25c8ac(0x3a8)],_0x4bbfef=(_0x2c60e8,_0x4e3d5c,_0x122742,_0x3372ea)=>{for(var _0x2457d0=_0x3372ea>0x1?void 0x0:_0x3372ea?_0x132645(_0x4e3d5c,_0x122742):_0x4e3d5c,_0x230e30=_0x2c60e8['length']-0x1,_0x113fc0;_0x230e30>=0x0;_0x230e30--)(_0x113fc0=_0x2c60e8[_0x230e30])&&(_0x2457d0=_0x113fc0(_0x2457d0)||_0x2457d0);return _0x2457d0;},_0x536d50=(_0xbf09c6,_0x419445)=>(_0x49e432,_0x519452)=>_0x419445(_0x49e432,_0x519452,_0xbf09c6);let _0x4139fa=class{constructor(_0x5ccb2b,_0x13ca82){const _0x73fddc=_0x25c8ac;this[_0x73fddc(0x3e5)]=_0x5ccb2b,this['_transformService']=_0x13ca82;}[_0x25c8ac(0x467)](_0x554ae8){const _0x3eed8f=_0x25c8ac;var _0x437b5f;const _0x11e68b=this[_0x3eed8f(0x3e5)][_0x3eed8f(0x4c4)](_0x37270e['DocSelectionManagerService']),_0x5a81dc=(_0x437b5f=_0x11e68b[_0x3eed8f(0x4d8)]())!=null?_0x437b5f:[];if(_0x5a81dc[_0x3eed8f(0x497)]===0x0)return;const _0x391912=_0x554ae8[_0x3eed8f(0x3e1)],_0x2950cd=[{'id':_0x3eed8f(0x21a),'params':{'unitId':_0x391912,'actions':null,'textRanges':_0x5a81dc}}],_0xca6d5f=this[_0x3eed8f(0x414)][_0x3eed8f(0x2bb)](_0x554ae8,_0x2950cd);if(!_0x5b9cab[_0x3eed8f(0x314)](_0xca6d5f))throw _0xca6d5f[_0x3eed8f(0x3df)];const _0x214e9a=_0xca6d5f['m2Prime'][0x0][_0x3eed8f(0x411)][_0x3eed8f(0x45a)];Array[_0x3eed8f(0x1fa)](_0x214e9a)&&_0x214e9a[_0x3eed8f(0x497)]&&_0x11e68b[_0x3eed8f(0x2f7)](_0x214e9a,{'unitId':_0x391912,'subUnitId':_0x391912},!0x1);}};_0x4139fa=_0x4bbfef([_0x536d50(0x0,_0x51c091[_0x25c8ac(0x301)](_0x51c091['Injector'])),_0x536d50(0x1,_0x5b9cab[_0x25c8ac(0x431)])],_0x4139fa);var _0x239ce6=Object[_0x25c8ac(0x3a8)],_0x19aec7=(_0xcf162,_0x4b7fb1,_0x1a523d,_0x14a893)=>{for(var _0xd33dde=_0x14a893>0x1?void 0x0:_0x14a893?_0x239ce6(_0x4b7fb1,_0x1a523d):_0x4b7fb1,_0x599a3e=_0xcf162['length']-0x1,_0x3ce1fc;_0x599a3e>=0x0;_0x599a3e--)(_0x3ce1fc=_0xcf162[_0x599a3e])&&(_0xd33dde=_0x3ce1fc(_0xd33dde)||_0xd33dde);return _0xd33dde;},_0x333003=(_0x4a5f19,_0x175aa9)=>(_0x2c56a5,_0x3b6eb1)=>_0x175aa9(_0x2c56a5,_0x3b6eb1,_0x4a5f19);let _0x41b37a=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x1f0f14,_0x2e4f5e,_0xee5db6,_0x1576a3,_0x3c2229,_0x25d9a3,_0x503918,_0x3ef373){const _0x15f9d1=_0x25c8ac;super(),_0x3a54cf(this,_0x15f9d1(0x346),new _0x2d756d[(_0x15f9d1(0x243))](_0x493e59['CollaborationStatus'][_0x15f9d1(0x356)])),(this[_0x15f9d1(0x20b)]=_0x1f0f14,this[_0x15f9d1(0x480)]=_0x2e4f5e,this[_0x15f9d1(0x2cf)]=_0xee5db6,this[_0x15f9d1(0x32e)]=_0x1576a3,this['_docTransformSelectionsService']=_0x3c2229,this['_docSyncEditingCollabCursorService']=_0x25d9a3,this[_0x15f9d1(0x264)]=_0x503918,this[_0x15f9d1(0x372)]=_0x3ef373,this[_0x15f9d1(0x46d)]());}[_0x25c8ac(0x46d)](){const _0x56f26d=_0x25c8ac;this['disposeWithMe'](this['_collaborationController'][_0x56f26d(0x4b3)][_0x56f26d(0x2b3)](_0x2724db=>{const _0x53ec8c=_0x56f26d,_0xb2d254=this['_docStateChangeManagerService'][_0x53ec8c(0x2dd)]['subscribe'](_0x4e81e3=>{const _0x3dedca=_0x53ec8c;if(_0x4e81e3==null)return;const {unitId:_0x1f084f,redoState:_0x385ba0,commandId:_0x33a782}=_0x4e81e3;if(_0x1f084f!==_0x2724db[_0x3dedca(0x3e1)])return;const _0x44a2e7={'id':_0x33a782,'type':_0x51c091[_0x3dedca(0x3fe)]['MUTATION'],'params':{'unitId':_0x1f084f,'actions':_0x385ba0[_0x3dedca(0x265)],'textRanges':null}};_0x2724db['onLocalMutation'](_0x44a2e7);});if(_0x2724db[_0x53ec8c(0x1f5)](_0xb2d254),_0x2724db instanceof _0x493e59[_0x53ec8c(0x3ad)]){const _0x3652e1={'onTransformIME':_0x442c35=>this[_0x53ec8c(0x2cf)][_0x53ec8c(0x29b)](_0x442c35),'onTransformState':_0x37a17b=>this[_0x53ec8c(0x32e)][_0x53ec8c(0x3b8)](_0x37a17b),'onTransformSelections':_0x441060=>this[_0x53ec8c(0x384)]['transformSelections'](_0x441060),'onSyncEditingCollabCursor':_0x1282b5=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x1282b5),'onTransformRemoteChangesetByIMECache':_0x22c662=>this[_0x53ec8c(0x2cf)]['transformRemoteChangeset'](_0x22c662),'onTransformRemoteChangesetByStateCache':_0x8e56a7=>this[_0x53ec8c(0x32e)][_0x53ec8c(0x364)](_0x8e56a7)};_0x2724db['addHandlerCallback'](_0x3652e1);}}));}};_0x41b37a=_0x19aec7([_0x333003(0x0,_0x51c091['Inject'](_0x594fa4[_0x25c8ac(0x2d9)])),_0x333003(0x1,_0x51c091[_0x25c8ac(0x301)](_0x493e59[_0x25c8ac(0x1f8)])),_0x333003(0x2,_0x51c091[_0x25c8ac(0x301)](_0x36d845)),_0x333003(0x3,_0x51c091[_0x25c8ac(0x301)](_0x40750b)),_0x333003(0x4,_0x51c091[_0x25c8ac(0x301)](_0x4139fa)),_0x333003(0x5,_0x51c091[_0x25c8ac(0x301)](_0x43bd11)),_0x333003(0x6,_0x47d161[_0x25c8ac(0x492)]),_0x333003(0x7,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x27c)]))],_0x41b37a);var _0x19b5af=(_0x437107=>(_0x437107[_0x437107[_0x25c8ac(0x3a2)]=0x0]=_0x25c8ac(0x3a2),_0x437107[_0x437107['OK']=0x1]='OK',_0x437107[_0x437107[_0x25c8ac(0x305)]=0x2]=_0x25c8ac(0x305),_0x437107[_0x437107['PERMISSION_DENIED']=0x3]=_0x25c8ac(0x292),_0x437107[_0x437107[_0x25c8ac(0x490)]=0x4]='NOT_FOUND',_0x437107[_0x437107['UNAUTHENTICATED']=0x5]=_0x25c8ac(0x427),_0x437107[_0x437107[_0x25c8ac(0x3c0)]=0x6]='ALREADY_EXISTS',_0x437107[_0x437107['INVALID_ARGUMENT']=0x7]=_0x25c8ac(0x350),_0x437107[_0x437107[_0x25c8ac(0x32f)]=0x8]=_0x25c8ac(0x32f),_0x437107[_0x437107['COMPLETION_FINISHED']=0x9]=_0x25c8ac(0x3f1),_0x437107[_0x437107[_0x25c8ac(0x3e6)]=0xa]=_0x25c8ac(0x3e6),_0x437107[_0x437107[_0x25c8ac(0x35e)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x437107[_0x437107[_0x25c8ac(0x4ae)]=0xc]=_0x25c8ac(0x4ae),_0x437107[_0x437107[_0x25c8ac(0x4ca)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x437107[_0x437107[_0x25c8ac(0x40c)]=0xe]=_0x25c8ac(0x40c),_0x437107[_0x437107['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x25c8ac(0x367),_0x437107[_0x437107['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x25c8ac(0x40f),_0x437107[_0x437107[_0x25c8ac(0x2a3)]=0x64]=_0x25c8ac(0x2a3),_0x437107[_0x437107[_0x25c8ac(0x4a8)]=0x65]=_0x25c8ac(0x4a8),_0x437107[_0x437107[_0x25c8ac(0x4b7)]=0xc9]=_0x25c8ac(0x4b7),_0x437107[_0x437107['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x437107[_0x437107['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x25c8ac(0x3fb),_0x437107[_0x437107['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x25c8ac(0x3ea),_0x437107[_0x437107[_0x25c8ac(0x20d)]=0x1772]=_0x25c8ac(0x20d),_0x437107[_0x437107['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x25c8ac(0x37d),_0x437107[_0x437107[_0x25c8ac(0x256)]=0x1b59]='APPLY_REJECT',_0x437107[_0x437107[_0x25c8ac(0x36a)]=0x1b5a]=_0x25c8ac(0x36a),_0x437107[_0x437107[_0x25c8ac(0x251)]=0x1b5b]=_0x25c8ac(0x251),_0x437107[_0x437107['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x25c8ac(0x246),_0x437107[_0x437107[_0x25c8ac(0x3b0)]=0x1b5d]=_0x25c8ac(0x3b0),_0x437107[_0x437107[_0x25c8ac(0x369)]=0x1f41]=_0x25c8ac(0x369),_0x437107[_0x437107[_0x25c8ac(0x23b)]=0x2329]=_0x25c8ac(0x23b),_0x437107[_0x437107[_0x25c8ac(0x317)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x437107[_0x437107[_0x25c8ac(0x2ab)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x437107[_0x437107['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x25c8ac(0x397),_0x437107[_0x437107[_0x25c8ac(0x1f9)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x437107[_0x437107[_0x25c8ac(0x27b)]=0x2711]=_0x25c8ac(0x27b),_0x437107[_0x437107['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x25c8ac(0x48c),_0x437107[_0x437107[_0x25c8ac(0x2e1)]=0x2713]=_0x25c8ac(0x2e1),_0x437107[_0x437107[_0x25c8ac(0x399)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x437107[_0x437107[_0x25c8ac(0x24c)]=0x271a]=_0x25c8ac(0x24c),_0x437107[_0x437107[_0x25c8ac(0x35f)]=0x271b]=_0x25c8ac(0x35f),_0x437107[_0x437107[_0x25c8ac(0x442)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x437107[_0x437107['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x437107[_0x437107['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x25c8ac(0x470),_0x437107[_0x437107[_0x25c8ac(0x49e)]=0x271f]=_0x25c8ac(0x49e),_0x437107[_0x437107[_0x25c8ac(0x4d7)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x437107[_0x437107['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x25c8ac(0x462),_0x437107[_0x437107['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x25c8ac(0x4d6),_0x437107[_0x437107[_0x25c8ac(0x29d)]=0x2ee2]='INVALID_INVITE_CODE',_0x437107[_0x437107[_0x25c8ac(0x32a)]=0x2ee3]=_0x25c8ac(0x32a),_0x437107[_0x437107[_0x25c8ac(0x42d)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x437107[_0x437107[_0x25c8ac(0x1ff)]=0x2ee5]=_0x25c8ac(0x1ff),_0x437107[_0x437107[_0x25c8ac(0x40a)]=0x32c9]=_0x25c8ac(0x40a),_0x437107[_0x437107[_0x25c8ac(0x4a6)]=0x32ca]=_0x25c8ac(0x4a6),_0x437107[_0x437107[_0x25c8ac(0x3ca)]=0x32cb]=_0x25c8ac(0x3ca),_0x437107[_0x437107[_0x25c8ac(0x3ed)]=0x36b1]=_0x25c8ac(0x3ed),_0x437107[_0x437107[_0x25c8ac(0x3cf)]=0x36b2]=_0x25c8ac(0x3cf),_0x437107[_0x437107[_0x25c8ac(0x3b2)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x437107[_0x437107['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x25c8ac(0x418),_0x437107[_0x437107[_0x25c8ac(0x340)]=0x3715]=_0x25c8ac(0x340),_0x437107[_0x437107['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x25c8ac(0x3a3),_0x437107[_0x437107[_0x25c8ac(0x4a0)]=0x3717]=_0x25c8ac(0x4a0),_0x437107[_0x437107[_0x25c8ac(0x202)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x437107[_0x437107[_0x25c8ac(0x25c)]=0x3a99]=_0x25c8ac(0x25c),_0x437107[_0x437107['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x25c8ac(0x204),_0x437107[_0x437107[_0x25c8ac(0x308)]=0x3a9b]=_0x25c8ac(0x308),_0x437107[_0x437107['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x437107[_0x437107['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x437107[_0x437107[_0x25c8ac(0x29a)]=0x3a9e]=_0x25c8ac(0x29a),_0x437107[_0x437107[_0x25c8ac(0x400)]=0x3a9f]=_0x25c8ac(0x400),_0x437107[_0x437107[_0x25c8ac(0x4c8)]=0x3e81]=_0x25c8ac(0x4c8),_0x437107[_0x437107[_0x25c8ac(0x2ed)]=-0x1]=_0x25c8ac(0x2ed),_0x437107))(_0x19b5af||{});function _0x20f5e7(_0x5ea61a){const _0x50fce6=_0x25c8ac;var _0xe1ea17,_0x3903aa;const _0x50f9e6=(_0xe1ea17=_0x5ea61a[_0x50fce6(0x451)])==null?void 0x0:_0xe1ea17[_0x50fce6(0x333)],_0x423f2e=((_0x3903aa=_0x5ea61a[_0x50fce6(0x451)])==null?void 0x0:_0x3903aa[_0x50fce6(0x405)])||0x0;return _0x50f9e6===_0xfcd088['FormulaExecuteStageType'][_0x50fce6(0x2a4)]&&_0x423f2e>0x0;}function _0x5853fe(_0x2c11c2){const _0x29052a=_0x25c8ac;return _0x2c11c2[_0x29052a(0x220)]===_0xfcd088[_0x29052a(0x35a)][_0x29052a(0x2e3)];}var _0x2e164c=Object[_0x25c8ac(0x3a8)],_0x2505ae=(_0x2d1453,_0x693628,_0x317480,_0x1dd285)=>{const _0x331741=_0x25c8ac;for(var _0x4812f6=_0x1dd285>0x1?void 0x0:_0x1dd285?_0x2e164c(_0x693628,_0x317480):_0x693628,_0x2695b3=_0x2d1453[_0x331741(0x497)]-0x1,_0x321ece;_0x2695b3>=0x0;_0x2695b3--)(_0x321ece=_0x2d1453[_0x2695b3])&&(_0x4812f6=_0x321ece(_0x4812f6)||_0x4812f6);return _0x4812f6;},_0x5bf078=(_0x7b0880,_0x3efe25)=>(_0x259039,_0x13c524)=>_0x3efe25(_0x259039,_0x13c524,_0x7b0880);const _0x221cbd=_0x25c8ac(0x477),_0x39d1f3=_0x25c8ac(0x34e),_0x52567f=_0x25c8ac(0x3ef);let _0x253e7a=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x10b10c,_0xaa566d,_0x220d1c,_0x473df5,_0x1b6d6e,_0x1e521d,_0x124e9e){const _0x3e12be=_0x25c8ac;super(),_0x3a54cf(this,'_pollingInterval',null),_0x3a54cf(this,_0x3e12be(0x295),0x0),_0x3a54cf(this,_0x3e12be(0x2c5),0x0),_0x3a54cf(this,'_taskIds',[]),_0x3a54cf(this,_0x3e12be(0x25f),0x0),(this[_0x3e12be(0x264)]=_0x10b10c,this[_0x3e12be(0x2d6)]=_0xaa566d,this[_0x3e12be(0x302)]=_0x220d1c,this[_0x3e12be(0x44d)]=_0x473df5,this[_0x3e12be(0x23a)]=_0x1b6d6e,this['_logService']=_0x1e521d,this[_0x3e12be(0x372)]=_0x124e9e,this[_0x3e12be(0x1f6)]());}[_0x25c8ac(0x1f6)](){const _0x5f1c5c=_0x25c8ac;this[_0x5f1c5c(0x1f5)](this[_0x5f1c5c(0x2d6)][_0x5f1c5c(0x40d)]((_0x4095d5,_0x27fca6)=>{const _0x5b8846=_0x5f1c5c;var _0x4403df;if(_0x4095d5['id']!==_0xfcd088[_0x5b8846(0x395)]['id'])return;const _0x1bc522=_0x4095d5[_0x5b8846(0x411)];if(!this[_0x5b8846(0x329)]((_0x4403df=_0x1bc522[_0x5b8846(0x2e0)])!=null?_0x4403df:[]))return;if(!this[_0x5b8846(0x21d)]())throw this[_0x5b8846(0x38e)](_0x4095d5,_0x27fca6),this['_showGuardMessage'](),new _0x51c091[(_0x5b8846(0x474))]();})),this[_0x5f1c5c(0x1f5)](this[_0x5f1c5c(0x2d6)][_0x5f1c5c(0x485)]((_0x5188e4,_0x169ace)=>{const _0x4415ad=_0x5f1c5c;if(_0x5188e4['id']!==_0xfcd088[_0x4415ad(0x27f)]['id'])return;const _0x44b7b8=_0x5188e4[_0x4415ad(0x411)];if(_0x20f5e7(_0x44b7b8)){const _0x526857=_0x51c091[_0x4415ad(0x2a9)]();this[_0x4415ad(0x426)][_0x4415ad(0x2ac)](_0x526857),this[_0x4415ad(0x48e)](_0x526857);}else{if(_0x5853fe(_0x44b7b8)&&this[_0x4415ad(0x426)][_0x4415ad(0x497)]>0x0){const _0x13a908=this[_0x4415ad(0x426)][_0x4415ad(0x374)]();this[_0x4415ad(0x262)](_0x13a908);}}}));}[_0x25c8ac(0x325)](){const _0x44197e=_0x25c8ac;super[_0x44197e(0x325)](),this['_clearPolling'](),this[_0x44197e(0x426)]=[],this[_0x44197e(0x2c5)]=0x0,this[_0x44197e(0x295)]=0x0,this[_0x44197e(0x25f)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x24cc9a,_0x1d087b){const _0x2c40a7=_0x25c8ac;for(let _0x116ed5=0x0;_0x116ed5<0x1e;_0x116ed5++)try{if(await this[_0x2c40a7(0x3c8)](),this[_0x2c40a7(0x21d)]()){this['_applyCommand'](_0x24cc9a,_0x1d087b),this[_0x2c40a7(0x264)]['show']({'content':this[_0x2c40a7(0x372)]['t'](_0x2c40a7(0x4a3)),'type':_0x1039db[_0x2c40a7(0x26f)]['Success']});return;}await new Promise(_0x5dcac3=>{const _0x2cb946=_0x2c40a7;this[_0x2cb946(0x4a4)]=window[_0x2cb946(0x48b)](_0x5dcac3,0x3e8);});}catch(_0x2f330b){this[_0x2c40a7(0x38d)][_0x2c40a7(0x3df)](_0x2f330b);}this['_messageService'][_0x2c40a7(0x392)]({'content':this['_localeService']['t'](_0x2c40a7(0x242)),'type':_0x1039db[_0x2c40a7(0x26f)]['Error']});}[_0x25c8ac(0x465)](_0x3ea1c9,_0x1b0bc7){const _0xacc448=_0x25c8ac;try{this[_0xacc448(0x2d6)][_0xacc448(0x3db)](_0x3ea1c9['id'],_0x3ea1c9['params'],_0x1b0bc7);}catch(_0x5a25b0){this['_logService'][_0xacc448(0x3df)](_0x5a25b0);}}[_0x25c8ac(0x3bd)](_0x149503,_0x5a33d6){const _0x19d19d=_0x25c8ac;_0x5a33d6<this[_0x19d19d(0x25f)]||(this[_0x19d19d(0x25f)]=_0x5a33d6,this[_0x19d19d(0x295)]=Number['parseInt'](_0x149503[_0x19d19d(0x439)]),this[_0x19d19d(0x2c5)]=Number[_0x19d19d(0x454)](_0x149503[_0x19d19d(0x2c4)]));}async[_0x25c8ac(0x48e)](_0x3f0435){const _0x2746dd=_0x25c8ac;var _0x1ef856,_0x7bc123;const _0x472f00=Date['now']();try{const _0xacb859=((_0x1ef856=this[_0x2746dd(0x302)][_0x2746dd(0x4d1)](_0x493e59[_0x2746dd(0x417)]))==null?void 0x0:_0x1ef856[_0x2746dd(0x47a)])||_0x39d1f3,_0x44646c=(await this[_0x2746dd(0x44d)][_0x2746dd(0x2f1)](_0xacb859,{'body':JSON[_0x2746dd(0x3ae)]({'taskId':_0x3f0435})}))[_0x2746dd(0x270)];if(((_0x7bc123=_0x44646c[_0x2746dd(0x3df)])==null?void 0x0:_0x7bc123[_0x2746dd(0x468)])!==_0x19b5af['OK'])return;this[_0x2746dd(0x3bd)](_0x44646c[_0x2746dd(0x39a)],_0x472f00);}catch(_0x952533){this[_0x2746dd(0x38d)]['error'](_0x952533);}}async[_0x25c8ac(0x3c8)](_0x338ad7){const _0x23e4fd=_0x25c8ac;var _0x38da63,_0x5e5afb;const _0x30795b=Date['now']();try{const _0x2948c1=((_0x38da63=this[_0x23e4fd(0x302)][_0x23e4fd(0x4d1)](_0x493e59[_0x23e4fd(0x417)]))==null?void 0x0:_0x38da63[_0x23e4fd(0x28d)])||_0x221cbd,_0x568406=_0x338ad7?_0x2948c1+_0x23e4fd(0x2b8)+encodeURIComponent(_0x338ad7):_0x2948c1,_0x289d4b=(await this[_0x23e4fd(0x44d)]['get'](_0x568406))[_0x23e4fd(0x270)];if(((_0x5e5afb=_0x289d4b[_0x23e4fd(0x3df)])==null?void 0x0:_0x5e5afb[_0x23e4fd(0x468)])!==_0x19b5af['OK'])return;this[_0x23e4fd(0x3bd)](_0x289d4b['limitInfo'],_0x30795b);}catch(_0x131396){this[_0x23e4fd(0x38d)][_0x23e4fd(0x3df)](_0x131396);}}async[_0x25c8ac(0x262)](_0x4ef488){const _0x7d27a2=_0x25c8ac;var _0x204168,_0x419108;const _0x41fce0=Date[_0x7d27a2(0x331)]();try{const _0x25d2fd=((_0x204168=this[_0x7d27a2(0x302)][_0x7d27a2(0x4d1)](_0x493e59[_0x7d27a2(0x417)]))==null?void 0x0:_0x204168[_0x7d27a2(0x215)])||_0x52567f,_0x4b9800=(await this[_0x7d27a2(0x44d)][_0x7d27a2(0x2f1)](_0x25d2fd,{'body':JSON[_0x7d27a2(0x3ae)]({'taskId':_0x4ef488})}))[_0x7d27a2(0x270)];if(((_0x419108=_0x4b9800[_0x7d27a2(0x3df)])==null?void 0x0:_0x419108[_0x7d27a2(0x468)])!==_0x19b5af['OK'])return;this[_0x7d27a2(0x3bd)](_0x4b9800[_0x7d27a2(0x39a)],_0x41fce0);}catch(_0x493723){this[_0x7d27a2(0x38d)]['error'](_0x493723);}}[_0x25c8ac(0x21d)](){const _0x25d6be=_0x25c8ac;return this[_0x25d6be(0x295)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x25d6be(0x2c5)]>0x0;}[_0x25c8ac(0x28f)](){const _0x54af2f=_0x25c8ac;this['_pollingInterval']&&(clearTimeout(this[_0x54af2f(0x4a4)]),this['_pollingInterval']=null);}[_0x25c8ac(0x33d)](){const _0xfe105=_0x25c8ac;this[_0xfe105(0x264)][_0xfe105(0x392)]({'content':this['_localeService']['t'](_0xfe105(0x306)),'type':_0x1039db['MessageType'][_0xfe105(0x248)]});}[_0x25c8ac(0x329)](_0x24cef9){const _0x264299=_0x25c8ac;for(const _0x240572 of _0x24cef9){const {unitId:_0x2ed058,sheetId:_0x69162e,range:_0x43fde9}=_0x240572,_0x589218=this['_univerInstanceService'][_0x264299(0x22a)](_0x2ed058);if(!_0x589218)continue;const _0x542054=_0x589218[_0x264299(0x491)](_0x69162e);if(!_0x542054)continue;const _0x46b4ad=_0x542054[_0x264299(0x433)]();for(let _0xe1ca54=_0x43fde9['startRow'];_0xe1ca54<=_0x43fde9[_0x264299(0x3cd)];_0xe1ca54++)for(let _0x126385=_0x43fde9[_0x264299(0x3aa)];_0x126385<=_0x43fde9['endColumn'];_0x126385++){const _0x3f89a1=_0x46b4ad[_0x264299(0x38b)](_0xe1ca54,_0x126385);if(_0x3f89a1&&(_0x51c091['isFormulaString'](_0x3f89a1['f'])||_0x51c091['isFormulaId'](_0x3f89a1['si'])))return!0x0;}}return!0x1;}};_0x253e7a=_0x2505ae([_0x5bf078(0x0,_0x51c091[_0x25c8ac(0x301)](_0x47d161[_0x25c8ac(0x492)])),_0x5bf078(0x1,_0x51c091[_0x25c8ac(0x483)]),_0x5bf078(0x2,_0x51c091[_0x25c8ac(0x24a)]),_0x5bf078(0x3,_0x51c091['Inject'](_0x38be65[_0x25c8ac(0x436)])),_0x5bf078(0x4,_0x51c091['IUniverInstanceService']),_0x5bf078(0x5,_0x51c091[_0x25c8ac(0x36e)]),_0x5bf078(0x6,_0x51c091['Inject'](_0x51c091[_0x25c8ac(0x27c)]))],_0x253e7a);var _0x54bf3b=Object[_0x25c8ac(0x3a8)],_0x22a5be=(_0x43ba1e,_0x3af3ea,_0x5da429,_0x452d57)=>{const _0x2912fd=_0x25c8ac;for(var _0x5413d0=_0x452d57>0x1?void 0x0:_0x452d57?_0x54bf3b(_0x3af3ea,_0x5da429):_0x3af3ea,_0x13d113=_0x43ba1e[_0x2912fd(0x497)]-0x1,_0x239b9e;_0x13d113>=0x0;_0x13d113--)(_0x239b9e=_0x43ba1e[_0x13d113])&&(_0x5413d0=_0x239b9e(_0x5413d0)||_0x5413d0);return _0x5413d0;},_0x4b2404=(_0x4188a7,_0x4314f1)=>(_0x4a304d,_0x5509bd)=>_0x4314f1(_0x4a304d,_0x5509bd,_0x4188a7);let _0x390357=class extends _0x51c091['Disposable']{constructor(_0x550158,_0x8e8545,_0x308edc){const _0x152430=_0x25c8ac;super(),_0x3a54cf(this,_0x152430(0x312),new Map()),_0x3a54cf(this,_0x152430(0x41d),new Map()),_0x3a54cf(this,_0x152430(0x21b),!0x1),(this[_0x152430(0x302)]=_0x550158,this[_0x152430(0x352)]=_0x8e8545,this[_0x152430(0x47c)]=_0x308edc);}[_0x25c8ac(0x285)](){const _0x506bfa=_0x25c8ac;this[_0x506bfa(0x21b)]=!0x0;}[_0x25c8ac(0x2b0)](){const _0x5820f9=_0x25c8ac;this[_0x5820f9(0x21b)]=!0x1;}get['saveTaskMap'](){const _0x4b221f=_0x25c8ac;return this[_0x4b221f(0x41d)];}[_0x25c8ac(0x325)](){const _0x4fceee=_0x25c8ac;this[_0x4fceee(0x2a6)]()[_0x4fceee(0x361)](()=>super[_0x4fceee(0x325)]());}async['loadOfflineData'](_0x30f0e5){const _0x1d865e=_0x25c8ac;return this[_0x1d865e(0x21b)]?null:this[_0x1d865e(0x352)]['getItem'](_0x493e59[_0x1d865e(0x453)](_0x30f0e5));}async[_0x25c8ac(0x1f3)](_0x3bb16e,_0x452fab){const _0xb3d123=_0x25c8ac;return!!this[_0xb3d123(0x352)]['setItem'](_0x3bb16e,_0x452fab);}[_0x25c8ac(0x1f1)](_0x197c01,_0x288fa9,_0x4c1e23,_0x326000){const _0x18965b=_0x25c8ac,_0x1c1663=this[_0x18965b(0x47c)][_0x18965b(0x2e4)](_0x197c01);this[_0x18965b(0x312)][_0x18965b(0x22d)](_0x197c01,{'unitID':_0x197c01,'type':_0x288fa9,'awaitingChangeset':_0x4c1e23,'mutations':_0x326000,'rev':_0x1c1663}),this['_saveTaskMap'][_0x18965b(0x297)](_0x197c01)||this[_0x18965b(0x47e)](_0x197c01);}[_0x25c8ac(0x47e)](_0x33138b){const _0x3a6bd2=_0x25c8ac,_0x4499df=this['_getSaveTimeout']();_0x4499df===0x0?this[_0x3a6bd2(0x315)](_0x33138b):this[_0x3a6bd2(0x41d)]['set'](_0x33138b,setTimeout(()=>this[_0x3a6bd2(0x315)](_0x33138b),_0x4499df));}['_getSaveTimeout'](){const _0x2996f0=_0x25c8ac;var _0x119c0a;return(_0x119c0a=this[_0x2996f0(0x302)]['getConfig'](_0x493e59[_0x2996f0(0x31b)]))!=null?_0x119c0a:_0x493e59[_0x2996f0(0x2b6)];}[_0x25c8ac(0x315)](_0x14496b){const _0xffd7b0=_0x25c8ac,_0x580ae8=this[_0xffd7b0(0x41d)][_0xffd7b0(0x4c4)](_0x14496b);return _0x580ae8!==void 0x0&&window[_0xffd7b0(0x25d)](_0x580ae8),this['_localStorageService'][_0xffd7b0(0x255)](_0x493e59[_0xffd7b0(0x453)](_0x14496b),this[_0xffd7b0(0x312)][_0xffd7b0(0x4c4)](_0x14496b))[_0xffd7b0(0x361)](()=>this[_0xffd7b0(0x41d)][_0xffd7b0(0x2d0)](_0x14496b));}async['exhaustSavingTask'](){const _0x1f55fe=_0x25c8ac,_0x5c6949=[];this['_saveTaskMap'][_0x1f55fe(0x345)]((_0x49d312,_0x1b1dd5)=>{const _0x235a5d=_0x1f55fe;window[_0x235a5d(0x25d)](_0x49d312),_0x5c6949[_0x235a5d(0x2ac)](this[_0x235a5d(0x315)](_0x1b1dd5)[_0x235a5d(0x361)](()=>{const _0x418f53=_0x235a5d;this[_0x418f53(0x41d)]['delete'](_0x1b1dd5);}));}),await Promise[_0x1f55fe(0x4d0)](_0x5c6949);}};_0x390357=_0x22a5be([_0x4b2404(0x0,_0x51c091[_0x25c8ac(0x24a)]),_0x4b2404(0x1,_0x51c091[_0x25c8ac(0x460)]),_0x4b2404(0x2,_0x51c091[_0x25c8ac(0x301)](_0x5b9cab[_0x25c8ac(0x432)]))],_0x390357);class _0x31456c extends _0x51c091[_0x25c8ac(0x42f)]{constructor(){const _0x361961=_0x25c8ac;super(),_0x3a54cf(this,_0x361961(0x3e4)),this[_0x361961(0x3e4)]=_0x2d756d[_0x361961(0x425)](window,_0x361961(0x1f0))['pipe'](_0x2d756d[_0x361961(0x210)](this[_0x361961(0x37a)]),_0x2d756d[_0x361961(0x3da)](0x1),_0x2d756d[_0x361961(0x227)](void 0x0));}['setParam'](_0xf02304,_0x23b344,_0x1532b4=!0x1){const _0xd92278=_0x25c8ac,_0x27c4e8=new URL(window['location']['href']);_0x27c4e8[_0xd92278(0x3a9)][_0xd92278(0x22d)](_0xf02304,_0x23b344),_0x1532b4?window[_0xd92278(0x3a5)][_0xd92278(0x456)]('','',_0x27c4e8['toString']()):window['history'][_0xd92278(0x225)]('','',_0x27c4e8[_0xd92278(0x2e9)]());}[_0x25c8ac(0x3f6)](_0x555a99,_0x440ec5=!0x1){const _0x160d93=_0x25c8ac,_0x3f715b=new URL(window[_0x160d93(0x36b)]['href']);_0x3f715b[_0x160d93(0x3a9)][_0x160d93(0x2d0)](_0x555a99),_0x440ec5?window[_0x160d93(0x3a5)][_0x160d93(0x456)]('','',_0x3f715b['toString']()):window['history'][_0x160d93(0x225)]('','',_0x3f715b[_0x160d93(0x2e9)]());}[_0x25c8ac(0x2c6)](_0x5fa5ee){const _0x14b440=_0x25c8ac;var _0xffcd48;return(_0xffcd48=new URL(window[_0x14b440(0x36b)][_0x14b440(0x323)])['searchParams'][_0x14b440(0x4c4)](_0x5fa5ee))!=null?_0xffcd48:void 0x0;}}var _0x5b5def=Object[_0x25c8ac(0x43e)],_0x145180=Object[_0x25c8ac(0x3a8)],_0x1e4cb3=(_0x180c94,_0x1bb547,_0x41255f)=>_0x1bb547 in _0x180c94?_0x5b5def(_0x180c94,_0x1bb547,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41255f}):_0x180c94[_0x1bb547]=_0x41255f,_0x1631eb=(_0x54b48f,_0x4a1585,_0x3e95bf,_0x285c4f)=>{const _0x5604c6=_0x25c8ac;for(var _0x5b2597=_0x285c4f>0x1?void 0x0:_0x285c4f?_0x145180(_0x4a1585,_0x3e95bf):_0x4a1585,_0x2f07ad=_0x54b48f[_0x5604c6(0x497)]-0x1,_0x470938;_0x2f07ad>=0x0;_0x2f07ad--)(_0x470938=_0x54b48f[_0x2f07ad])&&(_0x5b2597=_0x470938(_0x5b2597)||_0x5b2597);return _0x5b2597;},_0x2ea720=(_0x3197d0,_0x9de994)=>(_0x25ccbe,_0x1924d7)=>_0x9de994(_0x25ccbe,_0x1924d7,_0x3197d0),_0x260ff7=(_0x366398,_0x37a31d,_0x1f4057)=>_0x1e4cb3(_0x366398,_0x37a31d+'',_0x1f4057);const _0x4f241b='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x3e1990['UniverCollaborationClientUIPlugin']=class extends _0x51c091[_0x25c8ac(0x408)]{constructor(_0x5518c6=_0x3bc6e3,_0x594283,_0x3ea43e,_0x2ee299){const _0x95270a=_0x25c8ac;super(),this['_config']=_0x5518c6,this[_0x95270a(0x21c)]=_0x594283,this[_0x95270a(0x3e5)]=_0x3ea43e,this[_0x95270a(0x302)]=_0x2ee299;const {..._0x41316f}=_0x51c091[_0x95270a(0x296)]({},_0x3bc6e3,this['_config']);this[_0x95270a(0x302)][_0x95270a(0x380)](_0x50d024,_0x41316f);}['onStarting'](){const _0xbfdf6f=_0x25c8ac;this[_0xbfdf6f(0x1eb)](),this[_0xbfdf6f(0x240)]();}[_0x25c8ac(0x463)](){this['_registerRenderDependencies']();}[_0x25c8ac(0x1eb)](){const _0x45e25a=_0x25c8ac;var _0x335e7d;const _0x40d3a7=[[_0x3dd070],[_0x253e7a],[_0x4139fa],[_0x36d845],[_0x40750b],[_0x43bd11],[_0x2e14a9,{'useClass':_0x31456c}],[_0x38be65[_0x45e25a(0x4a7)],{'useClass':_0x38be65['WebSocketService']}],[_0x493e59[_0x45e25a(0x4cd)],{'useClass':_0x390357}],[_0x3e1990['DesktopCollaborationStatusDisplayController']],[_0x41b37a],[_0x1e22db],[_0x43fe6e],[_0xee1fb5],[_0x3e1990[_0x45e25a(0x36f)]]];this[_0x45e25a(0x448)][_0x45e25a(0x349)]&&_0x40d3a7['push']([_0x5971ed]),_0x51c091['registerDependencies'](this[_0x45e25a(0x3e5)],_0x51c091['mergeOverrideWithDependencies'](_0x40d3a7,(_0x335e7d=this['_config'])==null?void 0x0:_0x335e7d['override']));}[_0x25c8ac(0x4c0)](){const _0x4787b4=_0x25c8ac;this[_0x4787b4(0x1f5)](this[_0x4787b4(0x21c)][_0x4787b4(0x388)](_0x51c091[_0x4787b4(0x375)]['UNIVER_DOC'],[_0x743d07])),this['disposeWithMe'](this[_0x4787b4(0x21c)][_0x4787b4(0x388)](_0x51c091[_0x4787b4(0x375)][_0x4787b4(0x3d0)],[_0x62dded]));}[_0x25c8ac(0x240)](){const _0x3cc457=_0x25c8ac;_0x51c091[_0x3cc457(0x253)](this[_0x3cc457(0x3e5)],[[_0x43fe6e],[_0x3e1990[_0x3cc457(0x2de)]],[_0x41b37a],[_0x1e22db],[_0x3e1990[_0x3cc457(0x36f)]],[_0x253e7a]]),this[_0x3cc457(0x448)][_0x3cc457(0x349)]&&_0x51c091[_0x3cc457(0x253)](this[_0x3cc457(0x3e5)],[[_0x5971ed]]);}},_0x260ff7(_0x3e1990[_0x25c8ac(0x4cb)],_0x25c8ac(0x260),_0x4f241b),_0x3e1990[_0x25c8ac(0x4cb)]=_0x1631eb([_0x51c091[_0x25c8ac(0x37e)](_0x493e59[_0x25c8ac(0x2aa)]),_0x2ea720(0x1,_0x396fb6[_0x25c8ac(0x3af)]),_0x2ea720(0x2,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x26a)])),_0x2ea720(0x3,_0x51c091[_0x25c8ac(0x24a)])],_0x3e1990[_0x25c8ac(0x4cb)]);var _0x442e3c=Object[_0x25c8ac(0x3a8)],_0x5b194f=(_0x20f538,_0x518649,_0x519b96,_0x539253)=>{const _0x13ae78=_0x25c8ac;for(var _0x2db818=_0x539253>0x1?void 0x0:_0x539253?_0x442e3c(_0x518649,_0x519b96):_0x518649,_0x362539=_0x20f538[_0x13ae78(0x497)]-0x1,_0x2ba429;_0x362539>=0x0;_0x362539--)(_0x2ba429=_0x20f538[_0x362539])&&(_0x2db818=_0x2ba429(_0x2db818)||_0x2db818);return _0x2db818;},_0x179efe=(_0x5136c6,_0x5d1972)=>(_0x2095b5,_0x2600a9)=>_0x5d1972(_0x2095b5,_0x2600a9,_0x5136c6);_0x3e1990['BrowserCollaborationSocketService']=class extends _0x493e59['CollaborationSocketService']{constructor(_0x3893eb,_0x487848,_0x16aa99,_0x5d5d0a,_0x44ea11){super(_0x3893eb,_0x487848,_0x16aa99,_0x5d5d0a,_0x44ea11);}async[_0x25c8ac(0x236)](_0x2c25d6){const _0x5461a5=_0x25c8ac,_0x4ff7a1=await this[_0x5461a5(0x410)](),_0x98d984=this[_0x5461a5(0x3c7)](_0x2c25d6,_0x4ff7a1);return this[_0x5461a5(0x2a7)](_0x98d984);}[_0x25c8ac(0x3c7)](_0x5c75b5,_0x162f9e){const _0x58deec=_0x25c8ac,_0x190a56=typeof window>'u'?new URL(_0x5c75b5):new URL(_0x5c75b5,window[_0x58deec(0x36b)][_0x58deec(0x362)]);_0x190a56['searchParams'][_0x58deec(0x22d)](_0x58deec(0x435),_0x162f9e);const _0x72c9cc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x58deec(0x1f4)]);return _0x72c9cc[_0x58deec(0x4c4)](_0x58deec(0x3ba))&&_0x190a56[_0x58deec(0x3a9)][_0x58deec(0x22d)](_0x58deec(0x3ba),_0x72c9cc[_0x58deec(0x4c4)](_0x58deec(0x3ba))),_0x190a56[_0x58deec(0x2e9)]();}async[_0x25c8ac(0x410)](){const _0x4e94a9=_0x25c8ac;var _0x4e71cc,_0x4ecf48,_0x210e0b;const _0x23d908=this[_0x4e94a9(0x302)][_0x4e94a9(0x4d1)](_0x493e59['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x409cab=(_0x4e71cc=_0x23d908==null?void 0x0:_0x23d908[_0x4e94a9(0x320)])!=null?_0x4e71cc:_0x493e59[_0x4e94a9(0x461)];return(_0x210e0b=(_0x4ecf48=(await this[_0x4e94a9(0x44d)][_0x4e94a9(0x4c4)](_0x409cab,{'headers':{'Content-Type':_0x4e94a9(0x27a)}}))['body'])==null?void 0x0:_0x4ecf48[_0x4e94a9(0x201)])!=null?_0x210e0b:'';}},_0x3e1990['BrowserCollaborationSocketService']=_0x5b194f([_0x179efe(0x0,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x26a)])),_0x179efe(0x1,_0x51c091['Inject'](_0x38be65[_0x25c8ac(0x436)])),_0x179efe(0x2,_0x51c091[_0x25c8ac(0x24a)]),_0x179efe(0x3,_0x51c091['ILogService']),_0x179efe(0x4,_0x5b9cab['ISnapshotServerService'])],_0x3e1990[_0x25c8ac(0x428)]);var _0x58912d=Object[_0x25c8ac(0x3a8)],_0x4c903b=(_0x1f5a25,_0x27a3f6,_0x2430f2,_0x259631)=>{const _0x330b37=_0x25c8ac;for(var _0x43e174=_0x259631>0x1?void 0x0:_0x259631?_0x58912d(_0x27a3f6,_0x2430f2):_0x27a3f6,_0x4ad398=_0x1f5a25[_0x330b37(0x497)]-0x1,_0x26c1f0;_0x4ad398>=0x0;_0x4ad398--)(_0x26c1f0=_0x1f5a25[_0x4ad398])&&(_0x43e174=_0x26c1f0(_0x43e174)||_0x43e174);return _0x43e174;},_0x310e46=(_0x4051cb,_0x555cc2)=>(_0x186990,_0x461e90)=>_0x555cc2(_0x186990,_0x461e90,_0x4051cb);_0x3e1990[_0x25c8ac(0x311)]=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x2d16f5,_0x8412bf,_0x18bc04){const _0x537dd9=_0x25c8ac;super(),this[_0x537dd9(0x443)]=_0x2d16f5,this['_httpService']=_0x8412bf,this[_0x537dd9(0x302)]=_0x18bc04;}async[_0x25c8ac(0x36c)](_0x59d040,_0x1c65a7,_0x1519bf,..._0x2b0fc7){const _0x3e9cfa=_0x25c8ac;var _0x408b4e,_0xf1e7b8,_0x52ef12,_0xa33607;const _0x11b539=this[_0x3e9cfa(0x443)]['getFocusedUnit']();if(!_0x11b539)throw new Error(_0x3e9cfa(0x354));const _0x527dbb=((_0x408b4e=this['_configService'][_0x3e9cfa(0x4d1)](_0x493e59['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x408b4e:_0x493e59['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x59d040+'/run/'+_0x1c65a7,_0x175f80=new URL(window[_0x3e9cfa(0x36b)][_0x3e9cfa(0x323)]),_0x2ad0b1={'scriptId':_0x59d040,'runId':(_0xf1e7b8=_0x175f80['searchParams'][_0x3e9cfa(0x4c4)](_0x3e9cfa(0x3ba)))!=null?_0xf1e7b8:'','function':_0x1c65a7,'unitId':_0x11b539[_0x3e9cfa(0x30f)](),'argsOfFunction':JSON[_0x3e9cfa(0x3ae)](_0x2b0fc7),'invokeId':(_0x52ef12=_0x1519bf[_0x3e9cfa(0x216)])!=null?_0x52ef12:'','executionId':(_0xa33607=_0x1519bf['executionId'])!=null?_0xa33607:''};try{const _0x49dae1=await this[_0x3e9cfa(0x44d)][_0x3e9cfa(0x2f1)](_0x527dbb,{'body':_0x2ad0b1});return _0x49dae1[_0x3e9cfa(0x270)]['error']&&_0x49dae1[_0x3e9cfa(0x270)][_0x3e9cfa(0x3df)][_0x3e9cfa(0x468)]!==_0x19b5af['OK']?_0x3e9cfa(0x304):_0x49dae1[_0x3e9cfa(0x270)][_0x3e9cfa(0x2cb)];}catch{return _0x3e9cfa(0x304);}}},_0x3e1990['RemoteUniscriptService']=_0x4c903b([_0x310e46(0x0,_0x51c091['IUniverInstanceService']),_0x310e46(0x1,_0x51c091[_0x25c8ac(0x301)](_0x38be65['HTTPService'])),_0x310e46(0x2,_0x51c091[_0x25c8ac(0x24a)])],_0x3e1990['RemoteUniscriptService']);const _0x593ce8=0x7530,_0x5dda2d=_0x25c8ac(0x2eb);class _0x1cfa3e extends _0x51c091[_0x25c8ac(0x379)]{constructor(){const _0x21853d=_0x25c8ac;super(),_0x3a54cf(this,_0x21853d(0x457),_0x51c091[_0x21853d(0x2a9)]()),_0x3a54cf(this,_0x21853d(0x207),new Set()),_0x3a54cf(this,_0x21853d(0x30e),new Map()),_0x3a54cf(this,'_heartbeatTimer',null),_0x3a54cf(this,_0x21853d(0x3d2),new Map()),_0x3a54cf(this,_0x21853d(0x4c6),new Map()),this[_0x21853d(0x38f)]();}[_0x25c8ac(0x325)](){const _0x6583b9=_0x25c8ac;super[_0x6583b9(0x325)](),this['_clearOtherTimers'][_0x6583b9(0x345)]((_0x4560f2,_0x47a988)=>this[_0x6583b9(0x2f2)](_0x47a988)),this[_0x6583b9(0x1fb)]&&window[_0x6583b9(0x2c0)](this[_0x6583b9(0x1fb)]);}[_0x25c8ac(0x252)](_0xafd7c5){const _0x1a1348=_0x25c8ac;return this[_0x1a1348(0x489)](_0xafd7c5)['pipe'](_0x2d756d[_0x1a1348(0x3dd)]());}[_0x25c8ac(0x33e)](_0x2bf600){const _0xe71c73=_0x25c8ac;this['_selfUnitIDs'][_0xe71c73(0x3ac)]===0x0&&this['_scheduleHeartbeat'](),this[_0xe71c73(0x207)]['add'](_0x2bf600),this[_0xe71c73(0x28b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2bf600],'isForwarded':!0x1});}[_0x25c8ac(0x3f9)](_0x16c83d){const _0x50ac40=_0x25c8ac;this[_0x50ac40(0x207)][_0x50ac40(0x2d0)](_0x16c83d),this[_0x50ac40(0x207)][_0x50ac40(0x3ac)]===0x0&&this[_0x50ac40(0x1fb)]&&window[_0x50ac40(0x2c0)](this['_heartbeatTimer']);}[_0x25c8ac(0x38f)](){const _0x1798ec=_0x25c8ac;this[_0x1798ec(0x1f5)](_0x51c091[_0x1798ec(0x46f)](_0x2d756d[_0x1798ec(0x425)](window,_0x1798ec(0x4bf))[_0x1798ec(0x2b3)](_0x5d122a=>{const _0x348261=_0x1798ec;if(_0x5d122a['key']!==_0x5dda2d||!_0x5d122a['newValue'])return;const _0x57ed6c=JSON[_0x348261(0x2a8)](_0x5d122a[_0x348261(0x313)]);this[_0x348261(0x32d)](_0x57ed6c);}))),window['addEventListener']('unload',()=>this[_0x1798ec(0x28b)]({'type':0x1,'memberID':this[_0x1798ec(0x457)],'unitIDs':Array['from'](this[_0x1798ec(0x207)])}));}[_0x25c8ac(0x32d)](_0x34ccb6){const _0x228d0c=_0x25c8ac;switch(_0x34ccb6['type']){case 0x0:this[_0x228d0c(0x44f)](_0x34ccb6);break;case 0x1:this[_0x228d0c(0x3b7)](_0x34ccb6);break;case 0x2:this[_0x228d0c(0x409)](_0x34ccb6);break;}}[_0x25c8ac(0x44f)](_0x5efb32){const _0x50e26f=_0x25c8ac,{unitIDs:_0x58cef0,memberID:_0x3caf2c,isForwarded:_0x2ffebd}=_0x5efb32;_0x58cef0[_0x50e26f(0x345)](_0x490d54=>{const _0x52fe3f=_0x50e26f;if(!_0x2ffebd&&this[_0x52fe3f(0x30e)][_0x52fe3f(0x297)](_0x490d54)&&this['_ensureSubject'](_0x490d54)[_0x52fe3f(0x258)](_0x493e59['UnitStatus'][_0x52fe3f(0x1ed)]),!this['_unitOnClients']['has'](_0x490d54)||!this[_0x52fe3f(0x30e)][_0x52fe3f(0x4c4)](_0x490d54)[_0x52fe3f(0x297)](_0x3caf2c)){const _0x3b4b95=this[_0x52fe3f(0x30e)][_0x52fe3f(0x4c4)](_0x490d54)||new Set();_0x3b4b95[_0x52fe3f(0x2d2)](_0x3caf2c),this['_unitOnClients'][_0x52fe3f(0x22d)](_0x490d54,_0x3b4b95),this['_scheduleClearOtherTimer'](_0x3caf2c);}}),_0x2ffebd||this[_0x50e26f(0x28b)]({'type':0x0,'memberID':this[_0x50e26f(0x457)],'unitIDs':[...this[_0x50e26f(0x207)]],'isForwarded':!0x0});}[_0x25c8ac(0x4b9)](_0x59e7fe){const _0x1b57d5=_0x25c8ac;this['_removeClearOtherTimer'](_0x59e7fe);const _0x1c6698=window['setTimeout'](()=>{const _0x4568f9=_0xd869;this[_0x4568f9(0x30e)][_0x4568f9(0x345)](_0x11c1e1=>{const _0x406c8a=_0x4568f9;_0x11c1e1[_0x406c8a(0x2d0)](_0x59e7fe);});},_0x593ce8*0x2);this[_0x1b57d5(0x3d2)][_0x1b57d5(0x22d)](_0x59e7fe,_0x1c6698);}[_0x25c8ac(0x2f2)](_0x23e4b8){const _0x434e8f=_0x25c8ac;if(this['_clearOtherTimers'][_0x434e8f(0x297)](_0x23e4b8)){const _0x2755cf=this['_clearOtherTimers'][_0x434e8f(0x4c4)](_0x23e4b8);_0x2755cf&&window['clearTimeout'](_0x2755cf),this[_0x434e8f(0x3d2)][_0x434e8f(0x22d)](_0x23e4b8,null);}}[_0x25c8ac(0x3b7)](_0x555b4e){const _0x30cd62=_0x25c8ac,{memberID:_0x47c348,unitIDs:_0x254497}=_0x555b4e;_0x254497[_0x30cd62(0x345)](_0x4d088c=>{const _0x1bdea4=_0x30cd62;var _0x485a5f;const _0x5d50fb=this[_0x1bdea4(0x30e)][_0x1bdea4(0x4c4)](_0x4d088c);_0x5d50fb&&(_0x5d50fb[_0x1bdea4(0x2d0)](_0x47c348),(_0x485a5f=this['_ensureSubject'](_0x4d088c))==null||_0x485a5f[_0x1bdea4(0x258)](_0x5d50fb[_0x1bdea4(0x3ac)]===0x0?_0x493e59[_0x1bdea4(0x434)][_0x1bdea4(0x4a2)]:_0x493e59['UnitStatus'][_0x1bdea4(0x1ed)]));}),this['_removeClearOtherTimer'](_0x47c348);}[_0x25c8ac(0x409)](_0x2752a7){const _0x113f5e=_0x25c8ac;this[_0x113f5e(0x4b9)](_0x2752a7[_0x113f5e(0x4b8)]);}[_0x25c8ac(0x28b)](_0x55ec6e){const _0x219270=_0x25c8ac;localStorage[_0x219270(0x255)](_0x5dda2d,JSON[_0x219270(0x3ae)](_0x55ec6e));}[_0x25c8ac(0x298)](){const _0x2e91ae=_0x25c8ac;this[_0x2e91ae(0x1fb)]=window['setInterval'](()=>{const _0x54a69f=_0x2e91ae;this[_0x54a69f(0x28b)]({'type':0x2,'memberID':this['_id']});},_0x593ce8);}['_ensureSubject'](_0x2c06a2){const _0x302ce5=_0x25c8ac;return this[_0x302ce5(0x4c6)]['has'](_0x2c06a2)||this['_unitStatus']['set'](_0x2c06a2,new _0x2d756d['BehaviorSubject'](_0x493e59[_0x302ce5(0x434)][_0x302ce5(0x4a2)])),this[_0x302ce5(0x4c6)][_0x302ce5(0x4c4)](_0x2c06a2);}}_0x3e1990['IURLService']=_0x2e14a9,_0x3e1990[_0x25c8ac(0x249)]=_0x1855f6,_0x3e1990['WebBrowserSingleActiveUnitService']=_0x1cfa3e,_0x3e1990[_0x25c8ac(0x3c5)]=_0x31456c,Object[_0x25c8ac(0x43e)](_0x3e1990,Symbol[_0x25c8ac(0x3fd)],{'value':'Module'});}));
|
|
9
9
|
|
|
10
10
|
// @univerjs-pro/collaboration-client-ui/facade
|
|
11
|
-
function
|
|
11
|
+
function _0x4bf3(){var _0x4bd311=['16rCMhMg','UniverProCollaborationClientUi','runOnServer','10iLJFsW','33950961gdcvJx','78EhsYOu','4533876IkvBFk','56413jpEppw','204420pTxHYg','RemoteUniscriptService','_injector','object','@univerjs/core/facade','FUniver','@univerjs-pro/collaboration-client-ui','5852567bXdkNH','function','486ghKWqw','337310RZiGgs','extend','amd','UniverCoreFacade','2828352mzebkt'];_0x4bf3=function(){return _0x4bd311;};return _0x4bf3();}function _0x2deb(_0x27b306,_0x29dd65){var _0x4bf34c=_0x4bf3();return _0x2deb=function(_0x2deb92,_0x14f613){_0x2deb92=_0x2deb92-0x13a;var _0x35575c=_0x4bf34c[_0x2deb92];return _0x35575c;},_0x2deb(_0x27b306,_0x29dd65);}(function(_0x5f411b,_0x3041c8){var _0x391234=_0x2deb,_0x469d25=_0x5f411b();while(!![]){try{var _0x1b0638=-parseInt(_0x391234(0x142))/0x1*(-parseInt(_0x391234(0x13e))/0x2)+parseInt(_0x391234(0x141))/0x3+parseInt(_0x391234(0x13a))/0x4+parseInt(_0x391234(0x14d))/0x5*(parseInt(_0x391234(0x140))/0x6)+parseInt(_0x391234(0x14a))/0x7*(parseInt(_0x391234(0x13b))/0x8)+parseInt(_0x391234(0x14c))/0x9*(-parseInt(_0x391234(0x143))/0xa)+-parseInt(_0x391234(0x13f))/0xb;if(_0x1b0638===_0x3041c8)break;else _0x469d25['push'](_0x469d25['shift']());}catch(_0x2a0d5b){_0x469d25['push'](_0x469d25['shift']());}}}(_0x4bf3,0xd1c9e),function(_0x78db43,_0x1db26b){var _0x1ac191=_0x2deb;typeof exports==_0x1ac191(0x146)&&typeof module<'u'?_0x1db26b(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x1ac191(0x14b)&&define[_0x1ac191(0x14f)]?define([_0x1ac191(0x149),_0x1ac191(0x147)],_0x1db26b):(_0x78db43=typeof globalThis<'u'?globalThis:_0x78db43||self,_0x1db26b(_0x78db43[_0x1ac191(0x13c)],_0x78db43[_0x1ac191(0x150)]));}(this,function(_0x4661d1,_0x512875){'use strict';var _0x23618d=_0x2deb;class _0x594a13 extends _0x512875['FUniver']{[_0x23618d(0x13d)](_0x54e089,_0x5542e3,..._0x3687ea){var _0x48de7c=_0x23618d;return this[_0x48de7c(0x145)]['get'](_0x4661d1[_0x48de7c(0x144)])[_0x48de7c(0x13d)](_0x54e089,_0x5542e3,{},..._0x3687ea);}}_0x512875[_0x23618d(0x148)][_0x23618d(0x14e)](_0x594a13);}));
|
|
12
12
|
|
|
13
13
|
// @univerjs-pro/thread-comment-datasource/index
|
|
14
|
-
(function(_0x36a560,_0x1448b8){const _0x3f406e=_0x2a56,_0x43d4c2=_0x36a560();while(!![]){try{const _0x3c0763=-parseInt(_0x3f406e(0x1ab))/0x1+parseInt(_0x3f406e(0x1a2))/0x2*(-parseInt(_0x3f406e(0x17e))/0x3)+-parseInt(_0x3f406e(0x1c8))/0x4*(parseInt(_0x3f406e(0x189))/0x5)+parseInt(_0x3f406e(0x1aa))/0x6*(-parseInt(_0x3f406e(0x1de))/0x7)+-parseInt(_0x3f406e(0x1c7))/0x8*(-parseInt(_0x3f406e(0x1cd))/0x9)+parseInt(_0x3f406e(0x188))/0xa+parseInt(_0x3f406e(0x182))/0xb*(parseInt(_0x3f406e(0x1e7))/0xc);if(_0x3c0763===_0x1448b8)break;else _0x43d4c2['push'](_0x43d4c2['shift']());}catch(_0xf6a4e8){_0x43d4c2['push'](_0x43d4c2['shift']());}}}(_0x3f33,0xa1205),function(_0x2304d8,_0x234b4c){const _0x21e0e5=_0x2a56;typeof exports==_0x21e0e5(0x187)&&typeof module<'u'?_0x234b4c(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define=='function'&&define['amd']?define([_0x21e0e5(0x1bc),_0x21e0e5(0x190),_0x21e0e5(0x1f2),_0x21e0e5(0x19d),_0x21e0e5(0x1eb),_0x21e0e5(0x1c3),_0x21e0e5(0x1ba),_0x21e0e5(0x201)],_0x234b4c):(_0x2304d8=typeof globalThis<'u'?globalThis:_0x2304d8||self,_0x234b4c(_0x2304d8['UniverProThreadCommentDatasource']={},_0x2304d8['UniverProCollaborationClient'],_0x2304d8[_0x21e0e5(0x1d4)],_0x2304d8[_0x21e0e5(0x1db)],_0x2304d8[_0x21e0e5(0x1b9)],_0x2304d8[_0x21e0e5(0x1bb)],_0x2304d8['rxjs'],_0x2304d8[_0x21e0e5(0x1a4)]));}(this,function(_0x535030,_0x504b97,_0x51a395,_0x20d5f0,_0x4da799,_0x4f9e71,_0x4cfb65,_0x20277a){'use strict';const _0x14ef60=_0x2a56;const _0x3e569=_0x14ef60(0x1a9);var _0x56e0b5=(_0x4134ca=>(_0x4134ca[_0x4134ca[_0x14ef60(0x19f)]=0x0]='OpenOrReOpen',_0x4134ca[_0x4134ca[_0x14ef60(0x1c1)]=0x1]=_0x14ef60(0x1c1),_0x4134ca[_0x4134ca[_0x14ef60(0x186)]=-0x1]=_0x14ef60(0x186),_0x4134ca))(_0x56e0b5||{}),_0x4ceb98=(_0x5c9de0=>(_0x5c9de0[_0x5c9de0[_0x14ef60(0x1a0)]=0x0]=_0x14ef60(0x1a0),_0x5c9de0[_0x5c9de0[_0x14ef60(0x1ad)]=0x1]=_0x14ef60(0x1ad),_0x5c9de0[_0x5c9de0[_0x14ef60(0x19c)]=0x2]=_0x14ef60(0x19c),_0x5c9de0[_0x5c9de0['Edit']=0x3]=_0x14ef60(0x1bf),_0x5c9de0[_0x5c9de0[_0x14ef60(0x1d3)]=0x4]=_0x14ef60(0x1d3),_0x5c9de0[_0x5c9de0[_0x14ef60(0x18c)]=0x5]=_0x14ef60(0x18c),_0x5c9de0[_0x5c9de0[_0x14ef60(0x186)]=-0x1]=_0x14ef60(0x186),_0x5c9de0))(_0x4ceb98||{});const _0x3be4ab=_0x59d21e=>_0x20d5f0[_0x14ef60(0x1f3)](new Date(+_0x59d21e))[_0x14ef60(0x199)]('YYYY/MM/DD\x20HH:mm'),_0x261b7d=async(_0x61ba65,_0x24ed99)=>{const _0x41c7bd=_0x14ef60,_0x23a40d=_0x61ba65[_0x41c7bd(0x1e6)](_0x20d5f0[_0x41c7bd(0x1b2)]),_0x3c3ef9=_0x61ba65['get'](_0x20277a[_0x41c7bd(0x1fb)]);_0x24ed99[_0x41c7bd(0x1ff)](_0x906125=>{const _0x428a7f=_0x41c7bd;_0x23a40d[_0x428a7f(0x19b)](_0x906125)&&_0x24ed99[_0x428a7f(0x1fc)](_0x906125);}),_0x24ed99[_0x41c7bd(0x183)]&&(await _0x3c3ef9[_0x41c7bd(0x1e6)](_0x41c7bd(0x1e8),{'params':{'userIDs':[..._0x24ed99]}}))[_0x41c7bd(0x1b7)][_0x41c7bd(0x1f4)][_0x41c7bd(0x1ff)](_0x900540=>{const _0x525866=_0x41c7bd;_0x900540&&_0x23a40d[_0x525866(0x1dc)](_0x900540);});};var _0xdb31d2=Object[_0x14ef60(0x1ea)],_0x5c6129=(_0x1fd339,_0x5039c0,_0x32ff59,_0x51153e)=>{const _0x3377f5=_0x14ef60;for(var _0x4ce63e=_0x51153e>0x1?void 0x0:_0x51153e?_0xdb31d2(_0x5039c0,_0x32ff59):_0x5039c0,_0x8628b4=_0x1fd339[_0x3377f5(0x1cb)]-0x1,_0x30be70;_0x8628b4>=0x0;_0x8628b4--)(_0x30be70=_0x1fd339[_0x8628b4])&&(_0x4ce63e=_0x30be70(_0x4ce63e)||_0x4ce63e);return _0x4ce63e;},_0xf68539=(_0x4719b8,_0x3570c6)=>(_0x27b974,_0x41b0f9)=>_0x3570c6(_0x27b974,_0x41b0f9,_0x4719b8);let _0x45c70f=class extends _0x20d5f0[_0x14ef60(0x1f0)]{constructor(_0x37f313,_0xd75420,_0x5ad218,_0x253f6c){const _0x575b2c=_0x14ef60;super(),this[_0x575b2c(0x1ee)]=_0x37f313,this[_0x575b2c(0x1be)]=_0xd75420,this[_0x575b2c(0x18a)]=_0x5ad218,this[_0x575b2c(0x1d9)]=_0x253f6c,this[_0x575b2c(0x1f9)](),this[_0x575b2c(0x1da)]();}[_0x14ef60(0x1da)](){const _0x112538=_0x14ef60;this[_0x112538(0x1c5)](this[_0x112538(0x1be)][_0x112538(0x1df)]['pipe'](_0x4cfb65[_0x112538(0x1d7)](0x10))['subscribe'](_0x353421=>{const _0x2f24a8=_0x112538,_0x4e92a7=new Set();_0x353421[_0x2f24a8(0x1ff)](_0x436c6e=>{const _0x34b3f6=_0x2f24a8;switch(_0x436c6e[_0x34b3f6(0x1dd)]){case'add':{const _0x18b007=_0x436c6e['payload']['personId'];_0x4e92a7[_0x34b3f6(0x1d2)](_0x18b007);break;}}}),_0x261b7d(this[_0x2f24a8(0x1d9)],_0x4e92a7);}));}['_init'](){const _0x25daed=_0x14ef60;this['disposeWithMe'](this['_commentService'][_0x25daed(0x1df)][_0x25daed(0x184)](async _0x16102b=>{const _0x22d827=_0x25daed;var _0x4574f2,_0x340084,_0x32951e,_0x3a5dd5;const _0x52ef4f=(_0x4574f2=this[_0x22d827(0x1be)][_0x22d827(0x1cf)](_0x16102b[_0x22d827(0x181)])['find'](_0x1938a2=>_0x1938a2[_0x22d827(0x1ef)]===_0x16102b[_0x22d827(0x1ef)]))==null?void 0x0:_0x4574f2['root'];if(!_0x52ef4f)return;const {unitId:_0x397485,subUnitId:_0x3b2163}=_0x52ef4f;switch(_0x16102b['user']&&this[_0x22d827(0x18a)][_0x22d827(0x1dc)](_0x16102b['user']),_0x16102b[_0x22d827(0x1dd)]){case _0x4ceb98[_0x22d827(0x1ad)]:break;case _0x4ceb98[_0x22d827(0x19c)]:{this['_threadCommentModel'][_0x22d827(0x1ae)](_0x397485,_0x3b2163,{'unitId':_0x397485,'subUnitId':_0x3b2163,'ref':'','id':_0x16102b['replyId'],'dT':_0x3be4ab(+_0x16102b['createTimestamp']),'threadId':_0x16102b[_0x22d827(0x1ef)],'personId':(_0x32951e=(_0x340084=_0x16102b['user'])==null?void 0x0:_0x340084[_0x22d827(0x1e4)])!=null?_0x32951e:_0x16102b[_0x22d827(0x1e5)],'text':JSON[_0x22d827(0x1d0)](_0x16102b['content']),'parentId':_0x52ef4f['id']});break;}case _0x4ceb98[_0x22d827(0x1d3)]:{const _0x2a1318=this[_0x22d827(0x1be)][_0x22d827(0x17c)](_0x397485,_0x3b2163,_0x16102b[_0x22d827(0x1c2)]);_0x2a1318&&_0x2a1318[_0x22d827(0x1e9)]&&this[_0x22d827(0x1be)][_0x22d827(0x1a7)](_0x397485,_0x3b2163,_0x16102b[_0x22d827(0x1c2)]);break;}case _0x4ceb98['Edit']:{this[_0x22d827(0x1be)]['updateComment'](_0x397485,_0x3b2163,{'commentId':_0x16102b[_0x22d827(0x1c2)],'text':JSON[_0x22d827(0x1d0)](_0x16102b['content'])});break;}case _0x4ceb98[_0x22d827(0x18c)]:{const _0x81a0b3=(_0x3a5dd5=this[_0x22d827(0x1be)][_0x22d827(0x1cf)](_0x16102b[_0x22d827(0x181)])['find'](_0x3f9f17=>_0x3f9f17['threadId']===_0x16102b[_0x22d827(0x1ef)]))==null?void 0x0:_0x3a5dd5[_0x22d827(0x1d5)];_0x81a0b3&&this[_0x22d827(0x1be)]['resolveComment'](_0x397485,_0x3b2163,_0x81a0b3['id'],_0x16102b[_0x22d827(0x19a)]===_0x56e0b5[_0x22d827(0x1c1)]);break;}}}));}};_0x45c70f=_0x5c6129([_0xf68539(0x0,_0x20d5f0[_0x14ef60(0x185)](_0x504b97[_0x14ef60(0x1b3)])),_0xf68539(0x1,_0x20d5f0[_0x14ef60(0x185)](_0x4f9e71['ThreadCommentModel'])),_0xf68539(0x2,_0x20d5f0[_0x14ef60(0x185)](_0x20d5f0[_0x14ef60(0x1b2)])),_0xf68539(0x3,_0x20d5f0[_0x14ef60(0x185)](_0x20d5f0[_0x14ef60(0x1b1)]))],_0x45c70f);const _0xb8d4e6=_0x14ef60(0x1e1),_0xd9a410={};var _0x1fa2c5=Object['getOwnPropertyDescriptor'],_0x57837b=(_0x3e3de0,_0x4acd88,_0x26c302,_0x49ade4)=>{for(var _0x1afa03=_0x49ade4>0x1?void 0x0:_0x49ade4?_0x1fa2c5(_0x4acd88,_0x26c302):_0x4acd88,_0x1e9ce7=_0x3e3de0['length']-0x1,_0x116748;_0x1e9ce7>=0x0;_0x1e9ce7--)(_0x116748=_0x3e3de0[_0x1e9ce7])&&(_0x1afa03=_0x116748(_0x1afa03)||_0x1afa03);return _0x1afa03;},_0xdf1a53=(_0x4f6751,_0x333761)=>(_0x40d651,_0x49ab7c)=>_0x333761(_0x40d651,_0x49ab7c,_0x4f6751);function _0x4210ec(_0x398b33,_0x53635f){const _0x24b6ab=_0x14ef60,_0x598325=_0x398b33[_0x24b6ab(0x1d6)][0x0];return{..._0x53635f,'id':_0x598325[_0x24b6ab(0x1c2)],'resolved':_0x398b33[_0x24b6ab(0x19a)]===0x1,'dT':_0x3be4ab(_0x598325[_0x24b6ab(0x19e)]),'personId':_0x598325[_0x24b6ab(0x1e5)],'threadId':_0x598325[_0x24b6ab(0x1ef)]};}function _0x20e294(_0x493e61,_0x8f3454,_0x4f2644){const _0x42f3db=_0x14ef60;var _0xa17888,_0x29f452;if(((_0x29f452=(_0xa17888=_0x493e61==null?void 0x0:_0x493e61[_0x42f3db(0x1d6)])==null?void 0x0:_0xa17888[_0x42f3db(0x1cb)])!=null?_0x29f452:0x0)>0x0){const _0xc9bf8f=(_0x3207e0,_0x3ec936)=>({'id':_0x3207e0[_0x42f3db(0x1c2)],'threadId':_0x3207e0[_0x42f3db(0x1ef)],'dT':_0x3be4ab(_0x3207e0[_0x42f3db(0x19e)]),'personId':_0x3207e0[_0x42f3db(0x1e5)],'resolved':_0x493e61[_0x42f3db(0x19a)]===_0x56e0b5[_0x42f3db(0x1c1)],'unitId':_0x8f3454,'subUnitId':_0x4f2644,'text':JSON[_0x42f3db(0x1d0)](_0x3207e0['content']),'parentId':_0x3ec936}),_0x45ceb1=_0xc9bf8f(_0x493e61[_0x42f3db(0x1d6)][0x0]);return{..._0x45ceb1,'children':_0x493e61[_0x42f3db(0x1d6)]['slice'](0x1)['map'](_0x809842=>_0xc9bf8f(_0x809842,_0x45ceb1['id']))};}return null;}let _0x1c2270=class{constructor(_0x192204,_0x17a22d,_0x1bf634){const _0x40e04e=_0x14ef60;this['_httpService']=_0x192204,this['_userService']=_0x17a22d,this[_0x40e04e(0x200)]=_0x1bf634;}async['addComment'](_0x5ec81c){const _0x3d6334=_0x14ef60;var _0xebeacb,_0x150096;const {parentId:_0x24d073,unitId:_0x4cd849,text:_0x4be7c3,threadId:_0x17c73f}=_0x5ec81c,_0x52a81f=(_0x150096=(_0xebeacb=_0x4be7c3['customRanges'])==null?void 0x0:_0xebeacb[_0x3d6334(0x1d8)](_0x2a0c5e=>_0x2a0c5e[_0x3d6334(0x180)]===_0x20d5f0['CustomRangeType'][_0x3d6334(0x1c9)])[_0x3d6334(0x1a3)](_0x4729c9=>_0x4729c9['rangeId']))!=null?_0x150096:[],_0x58276d=JSON[_0x3d6334(0x202)](_0x4be7c3),_0xdef7e0=(await this[_0x3d6334(0x200)]['requireSession'](_0x4cd849))[_0x3d6334(0x1e2)]();if(_0x24d073){const _0x291bb7={'memberId':_0xdef7e0,'unitId':_0x4cd849,'content':_0x58276d,'mention':_0x52a81f,'threadId':_0x17c73f},_0x17967c=(await this[_0x3d6334(0x18f)][_0x3d6334(0x1bd)](_0x3d6334(0x1cc)+_0x4cd849+_0x3d6334(0x191),{'body':_0x291bb7}))[_0x3d6334(0x1b7)]['reply'];return{..._0x5ec81c,'id':_0x17967c['replyId'],'dT':_0x20d5f0['dayjs'](+_0x17967c['createTimestamp'])[_0x3d6334(0x199)](_0x3d6334(0x1b5)),'personId':_0x17967c[_0x3d6334(0x1e5)]};}else{const _0x1afb4b={'memberId':_0xdef7e0,'unitId':_0x4cd849,'content':_0x58276d,'mention':_0x52a81f},_0x22aeb7=await this['_httpService'][_0x3d6334(0x1bd)](_0x3d6334(0x1cc)+_0x4cd849+_0x3d6334(0x1fe),{'body':_0x1afb4b});return _0x4210ec(_0x22aeb7[_0x3d6334(0x1b7)][_0x3d6334(0x1b8)],_0x5ec81c);}}async[_0x14ef60(0x1ac)](_0xac5a65){const _0x12fd20=_0x14ef60;var _0x99d20c,_0x963293;const {text:_0xb718dd,unitId:_0x2008d6}=_0xac5a65,_0x193854=(_0x963293=(_0x99d20c=_0xb718dd['customRanges'])==null?void 0x0:_0x99d20c[_0x12fd20(0x1d8)](_0x12bbae=>_0x12bbae['rangeType']===_0x20d5f0[_0x12fd20(0x193)][_0x12fd20(0x1c9)])[_0x12fd20(0x1a3)](_0x5227e8=>_0x5227e8[_0x12fd20(0x17d)]))!=null?_0x963293:[],_0x226b12=JSON['stringify'](_0xb718dd),_0x1b0ef5=_0xac5a65[_0x12fd20(0x1ef)],_0x4ca824=_0xac5a65['id'],_0x3d9eb3={'memberId':(await this[_0x12fd20(0x200)][_0x12fd20(0x1ca)](_0x2008d6))[_0x12fd20(0x1e2)](),'unitId':_0x2008d6,'threadId':_0x1b0ef5,'mention':_0x193854,'content':_0x226b12,'replyId':_0x4ca824},_0x4c7957=await this[_0x12fd20(0x18f)][_0x12fd20(0x1bd)](_0x12fd20(0x1cc)+_0x2008d6+'/edit',{'body':_0x3d9eb3});return!_0x4c7957[_0x12fd20(0x1b7)][_0x12fd20(0x1ec)]||_0x4c7957[_0x12fd20(0x1b7)][_0x12fd20(0x1ec)]['code']===0x1;}async[_0x14ef60(0x1a8)](_0x1ca494){const _0x146be8=_0x14ef60,{unitId:_0x2b046e}=_0x1ca494,_0x479e8d=_0x1ca494[_0x146be8(0x1ef)],_0xd9d473={'memberId':this['_userService'][_0x146be8(0x195)]()[_0x146be8(0x1e4)],'unitId':_0x2b046e,'threadId':_0x479e8d,'solved':_0x1ca494[_0x146be8(0x1a5)]?_0x56e0b5['Solved']:_0x56e0b5[_0x146be8(0x19f)]},_0x550662=await this[_0x146be8(0x18f)][_0x146be8(0x1bd)](_0x146be8(0x1cc)+_0x2b046e+_0x146be8(0x1af),{'body':_0xd9d473});return!_0x550662[_0x146be8(0x1b7)][_0x146be8(0x1ec)]||_0x550662[_0x146be8(0x1b7)]['error'][_0x146be8(0x1b6)]===0x1;}async[_0x14ef60(0x1a7)](_0xcfd029,_0x1c9d32,_0x65c5c0,_0x3ef9ed){const _0x3899af=_0x14ef60,_0xb7e7c1={'memberId':(await this[_0x3899af(0x200)][_0x3899af(0x1ca)](_0xcfd029))[_0x3899af(0x1e2)](),'threadId':_0x65c5c0,'replyId':_0x3ef9ed,'unitId':_0xcfd029},_0x2228dc=await this[_0x3899af(0x18f)][_0x3899af(0x1bd)](_0x3899af(0x1cc)+_0xcfd029+_0x3899af(0x18b),{'body':_0xb7e7c1});return!_0x2228dc['body']['error']||_0x2228dc['body'][_0x3899af(0x1ec)][_0x3899af(0x1b6)]===0x1;}async[_0x14ef60(0x197)](_0x44713f,_0x589de8,_0x5c32e3){const _0x3a92c0=_0x14ef60,_0x9fb50={'unitId':_0x44713f,'threadId':_0x5c32e3},_0x46b595=await this[_0x3a92c0(0x18f)][_0x3a92c0(0x1bd)](_0x3a92c0(0x1cc)+_0x44713f+_0x3a92c0(0x1c0),{'body':_0x9fb50}),_0x5e10a9=_0x5c32e3[_0x3a92c0(0x1a3)](_0x596548=>_0x20e294(_0x46b595[_0x3a92c0(0x1b7)]['comments'][_0x596548],_0x44713f,_0x589de8))[_0x3a92c0(0x1d8)](Boolean);return Object[_0x3a92c0(0x192)](_0x46b595['body'][_0x3a92c0(0x1f4)])[_0x3a92c0(0x1ff)](_0x284fee=>{const _0x1cda60=_0x3a92c0;this[_0x1cda60(0x18a)][_0x1cda60(0x1dc)](_0x284fee);}),_0x5e10a9;}[_0x14ef60(0x1b0)](_0x58caa0){const _0xe572da=_0x14ef60;return{'id':_0x58caa0['id'],'threadId':_0x58caa0[_0xe572da(0x1ef)],'ref':_0x58caa0[_0xe572da(0x1f1)]};}};_0x1c2270=_0x57837b([_0xdf1a53(0x0,_0x20d5f0['Inject'](_0x20277a[_0x14ef60(0x1fb)])),_0xdf1a53(0x1,_0x20d5f0[_0x14ef60(0x185)](_0x20d5f0[_0x14ef60(0x1b2)])),_0xdf1a53(0x2,_0x20d5f0[_0x14ef60(0x185)](_0x504b97['CollaborationSessionService']))],_0x1c2270);var _0x37b86e=Object[_0x14ef60(0x1ea)],_0x2607f7=(_0x3d7bd0,_0x4d1fde,_0x1fb7a4,_0x5cc5e2)=>{const _0x2d5dea=_0x14ef60;for(var _0x44059d=_0x5cc5e2>0x1?void 0x0:_0x5cc5e2?_0x37b86e(_0x4d1fde,_0x1fb7a4):_0x4d1fde,_0x11d0e8=_0x3d7bd0[_0x2d5dea(0x1cb)]-0x1,_0x476ccd;_0x11d0e8>=0x0;_0x11d0e8--)(_0x476ccd=_0x3d7bd0[_0x11d0e8])&&(_0x44059d=_0x476ccd(_0x44059d)||_0x44059d);return _0x44059d;},_0x2b9720=(_0x424f39,_0x5cedb9)=>(_0x198c30,_0x17fc00)=>_0x5cedb9(_0x198c30,_0x17fc00,_0x424f39);let _0x3f708a=class extends _0x20d5f0[_0x14ef60(0x1f0)]{constructor(_0x343b7b,_0x2e581d){const _0x3894fd=_0x14ef60;super(),this[_0x3894fd(0x1f8)]=_0x343b7b,this[_0x3894fd(0x1e0)]=_0x2e581d,this[_0x3894fd(0x1c6)]();}['_initDataSource'](){const _0x161ddb=_0x14ef60;this['_threadCommentDataSourceService']['dataSource']=this['_threadCommentDataSource'],this[_0x161ddb(0x1f8)][_0x161ddb(0x1a1)]=!0x1;}};_0x3f708a=_0x2607f7([_0x2b9720(0x0,_0x4f9e71['IThreadCommentDataSourceService']),_0x2b9720(0x1,_0x20d5f0[_0x14ef60(0x185)](_0x1c2270))],_0x3f708a);var _0x1e0353=Object[_0x14ef60(0x194)],_0x1bdad6=Object['getOwnPropertyDescriptor'],_0x38c663=(_0x382086,_0x92551d,_0x2776fe)=>_0x92551d in _0x382086?_0x1e0353(_0x382086,_0x92551d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2776fe}):_0x382086[_0x92551d]=_0x2776fe,_0x123923=(_0x4fd3d5,_0x2d3419,_0x1b9ac2,_0x52565f)=>{const _0x4b2c95=_0x14ef60;for(var _0x1d9973=_0x52565f>0x1?void 0x0:_0x52565f?_0x1bdad6(_0x2d3419,_0x1b9ac2):_0x2d3419,_0x2fe876=_0x4fd3d5[_0x4b2c95(0x1cb)]-0x1,_0x3fe16e;_0x2fe876>=0x0;_0x2fe876--)(_0x3fe16e=_0x4fd3d5[_0x2fe876])&&(_0x1d9973=_0x3fe16e(_0x1d9973)||_0x1d9973);return _0x1d9973;},_0x32ff6e=(_0x452a8b,_0x778e76)=>(_0x20e0aa,_0x5a638a)=>_0x778e76(_0x20e0aa,_0x5a638a,_0x452a8b),_0x35e4b7=(_0x205621,_0x49ee7b,_0x97dac5)=>_0x38c663(_0x205621,typeof _0x49ee7b!=_0x14ef60(0x1c4)?_0x49ee7b+'':_0x49ee7b,_0x97dac5);_0x535030[_0x14ef60(0x1d1)]=class extends _0x20d5f0[_0x14ef60(0x1f5)]{constructor(_0x3cfbfc=_0xd9a410,_0x1f125a,_0x12feac){const _0x1ac444=_0x14ef60;super(),this[_0x1ac444(0x1f6)]=_0x3cfbfc,this[_0x1ac444(0x1d9)]=_0x1f125a,this[_0x1ac444(0x18d)]=_0x12feac;const {..._0x2ae3ed}=_0x20d5f0[_0x1ac444(0x1fd)]({},_0xd9a410,this['_config']);this[_0x1ac444(0x18d)][_0x1ac444(0x1e3)](_0xb8d4e6,_0x2ae3ed);}[_0x14ef60(0x1f7)](){const _0x57ea92=_0x14ef60;[[_0x1c2270],[_0x3f708a],[_0x45c70f]][_0x57ea92(0x1ff)](_0x4219cf=>{const _0x4f756b=_0x57ea92;this[_0x4f756b(0x1d9)][_0x4f756b(0x1d2)](_0x4219cf);});}[_0x14ef60(0x18e)](){const _0x205d8b=_0x14ef60;this[_0x205d8b(0x1d9)][_0x205d8b(0x1e6)](_0x3f708a),this[_0x205d8b(0x1d9)][_0x205d8b(0x1e6)](_0x45c70f);}},_0x35e4b7(_0x535030['UniverThreadCommentDataSourcePlugin'],_0x14ef60(0x1fa),_0x3e569),_0x35e4b7(_0x535030[_0x14ef60(0x1d1)],_0x14ef60(0x1dd),_0x20d5f0[_0x14ef60(0x17f)][_0x14ef60(0x198)]),_0x535030['UniverThreadCommentDataSourcePlugin']=_0x123923([_0x20d5f0['DependentOn'](_0x4da799[_0x14ef60(0x1ed)],_0x504b97[_0x14ef60(0x1ce)],_0x51a395[_0x14ef60(0x1a6)]),_0x32ff6e(0x1,_0x20d5f0[_0x14ef60(0x185)](_0x20d5f0[_0x14ef60(0x1b1)])),_0x32ff6e(0x2,_0x20d5f0[_0x14ef60(0x1b4)])],_0x535030[_0x14ef60(0x1d1)]),Object[_0x14ef60(0x194)](_0x535030,Symbol[_0x14ef60(0x196)],{'value':'Module'});}));function _0x2a56(_0x3d97ff,_0x101063){const _0x3f33df=_0x3f33();return _0x2a56=function(_0x2a5600,_0x212b50){_0x2a5600=_0x2a5600-0x17c;let _0x1edeb0=_0x3f33df[_0x2a5600];return _0x1edeb0;},_0x2a56(_0x3d97ff,_0x101063);}function _0x3f33(){const _0x392c89=['/add','forEach','_sessionService','@univerjs/network','stringify','getComment','rangeId','2459433gpupJK','UniverInstanceType','rangeType','unitId','11BoFAcc','size','subscribe','Inject','UNRECOGNIZED','object','4524270aoXvpF','241550dxmafn','_userService','/delete','Solve','_configService','onReady','_httpService','@univerjs-pro/collaboration-client','/reply','values','CustomRangeType','defineProperty','getCurrentUser','toStringTag','listComments','UNIVER_UNKNOWN','format','solved','getUser','Reply','@univerjs/core','createTimestamp','OpenOrReOpen','Unknown','syncUpdateMutationToColla','2HoERio','map','UniverNetwork','resolved','UniverLicensePlugin','deleteComment','resolveComment','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','529422tqVsAm','802238uQbZEX','updateComment','Add','addComment','/solved','saveCommentToSnapshot','Injector','UserManagerService','CommentService','IConfigService','YYYY/MM/DD\x20HH:mm','code','body','comment','UniverThreadCommentUi','rxjs','UniverThreadComment','exports','post','_threadCommentModel','Edit','/list','Solved','replyId','@univerjs/thread-comment','symbol','disposeWithMe','_initDataSource','9272504PMaINo','28VBXvEb','COMMENT','requireSession','length','/universer-api/comment/unit/','9FEGuPY','UniverCollaborationClientPlugin','getUnit','parse','UniverThreadCommentDataSourcePlugin','add','Delete','UniverProLicense','root','replies','bufferTime','filter','_injector','_initUserSync','UniverCore','addUser','type','77zfuByI','commentUpdate$','_threadCommentDataSource','thread-comment-data-source.config','getMemberID','setConfig','userID','userId','get','23751708dhRdsE','/universer-api/user/list','parentId','getOwnPropertyDescriptor','@univerjs/thread-comment-ui','error','UniverThreadCommentUIPlugin','_commentService','threadId','Disposable','ref','@univerjs-pro/license','dayjs','users','Plugin','_config','onStarting','_threadCommentDataSourceService','_init','pluginName','HTTPService','delete','merge'];_0x3f33=function(){return _0x392c89;};return _0x3f33();}
|
|
14
|
+
function _0x36b8(_0x2864a1,_0x162230){const _0x18b0aa=_0x18b0();return _0x36b8=function(_0x36b8a1,_0x6148fc){_0x36b8a1=_0x36b8a1-0x1f3;let _0x1ecaef=_0x18b0aa[_0x36b8a1];return _0x1ecaef;},_0x36b8(_0x2864a1,_0x162230);}(function(_0x55b05b,_0x5f2a8e){const _0x8ebc=_0x36b8,_0x5c2b94=_0x55b05b();while(!![]){try{const _0x56a7af=parseInt(_0x8ebc(0x24d))/0x1*(-parseInt(_0x8ebc(0x246))/0x2)+parseInt(_0x8ebc(0x268))/0x3*(parseInt(_0x8ebc(0x243))/0x4)+parseInt(_0x8ebc(0x23e))/0x5+-parseInt(_0x8ebc(0x22d))/0x6+-parseInt(_0x8ebc(0x264))/0x7+-parseInt(_0x8ebc(0x24c))/0x8*(parseInt(_0x8ebc(0x249))/0x9)+-parseInt(_0x8ebc(0x209))/0xa*(-parseInt(_0x8ebc(0x25c))/0xb);if(_0x56a7af===_0x5f2a8e)break;else _0x5c2b94['push'](_0x5c2b94['shift']());}catch(_0x82221a){_0x5c2b94['push'](_0x5c2b94['shift']());}}}(_0x18b0,0x8d972),function(_0x167a8f,_0x4b7fd7){const _0x540fbb=_0x36b8;typeof exports==_0x540fbb(0x256)&&typeof module<'u'?_0x4b7fd7(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define==_0x540fbb(0x1f3)&&define['amd']?define([_0x540fbb(0x26e),_0x540fbb(0x239),'@univerjs-pro/license','@univerjs/core','@univerjs/thread-comment-ui',_0x540fbb(0x22f),_0x540fbb(0x24a),_0x540fbb(0x20b)],_0x4b7fd7):(_0x167a8f=typeof globalThis<'u'?globalThis:_0x167a8f||self,_0x4b7fd7(_0x167a8f['UniverProThreadCommentDatasource']={},_0x167a8f[_0x540fbb(0x25d)],_0x167a8f[_0x540fbb(0x20d)],_0x167a8f[_0x540fbb(0x272)],_0x167a8f[_0x540fbb(0x220)],_0x167a8f[_0x540fbb(0x25e)],_0x167a8f[_0x540fbb(0x24a)],_0x167a8f['UniverNetwork']));}(this,function(_0x5838ea,_0x1cabcb,_0x250cd7,_0x559f35,_0x5e4b71,_0x3beb1d,_0x17826c,_0x2c1229){'use strict';const _0x4ac278=_0x36b8;const _0x47eccf=_0x4ac278(0x206);var _0x2203ca=(_0x2ad0e1=>(_0x2ad0e1[_0x2ad0e1[_0x4ac278(0x1fd)]=0x0]=_0x4ac278(0x1fd),_0x2ad0e1[_0x2ad0e1[_0x4ac278(0x240)]=0x1]=_0x4ac278(0x240),_0x2ad0e1[_0x2ad0e1[_0x4ac278(0x1f4)]=-0x1]=_0x4ac278(0x1f4),_0x2ad0e1))(_0x2203ca||{}),_0x49f46a=(_0xca68a2=>(_0xca68a2[_0xca68a2[_0x4ac278(0x203)]=0x0]=_0x4ac278(0x203),_0xca68a2[_0xca68a2[_0x4ac278(0x262)]=0x1]=_0x4ac278(0x262),_0xca68a2[_0xca68a2[_0x4ac278(0x260)]=0x2]=_0x4ac278(0x260),_0xca68a2[_0xca68a2[_0x4ac278(0x218)]=0x3]='Edit',_0xca68a2[_0xca68a2['Delete']=0x4]='Delete',_0xca68a2[_0xca68a2[_0x4ac278(0x251)]=0x5]=_0x4ac278(0x251),_0xca68a2[_0xca68a2[_0x4ac278(0x1f4)]=-0x1]='UNRECOGNIZED',_0xca68a2))(_0x49f46a||{});const _0x423bfe=_0x32b763=>_0x559f35[_0x4ac278(0x271)](new Date(+_0x32b763))['format'](_0x4ac278(0x211)),_0x1d1730=async(_0x3fdba2,_0x181d51)=>{const _0x4ad18a=_0x4ac278,_0x35f481=_0x3fdba2[_0x4ad18a(0x23d)](_0x559f35[_0x4ad18a(0x223)]),_0x4e5f62=_0x3fdba2[_0x4ad18a(0x23d)](_0x2c1229[_0x4ad18a(0x236)]);_0x181d51[_0x4ad18a(0x242)](_0x4e2405=>{_0x35f481['getUser'](_0x4e2405)&&_0x181d51['delete'](_0x4e2405);}),_0x181d51[_0x4ad18a(0x21e)]&&(await _0x4e5f62[_0x4ad18a(0x23d)]('/universer-api/user/list',{'params':{'userIDs':[..._0x181d51]}}))[_0x4ad18a(0x261)][_0x4ad18a(0x238)][_0x4ad18a(0x242)](_0x99cff1=>{_0x99cff1&&_0x35f481['addUser'](_0x99cff1);});};var _0xd2f529=Object[_0x4ac278(0x221)],_0x2fefef=(_0x20774b,_0xdc6e9c,_0x179cb4,_0x4166b2)=>{for(var _0x3620b4=_0x4166b2>0x1?void 0x0:_0x4166b2?_0xd2f529(_0xdc6e9c,_0x179cb4):_0xdc6e9c,_0x24c46c=_0x20774b['length']-0x1,_0x541eca;_0x24c46c>=0x0;_0x24c46c--)(_0x541eca=_0x20774b[_0x24c46c])&&(_0x3620b4=_0x541eca(_0x3620b4)||_0x3620b4);return _0x3620b4;},_0x23f3f0=(_0x5a91ae,_0x4b300a)=>(_0xbd31f2,_0x4b5ab1)=>_0x4b300a(_0xbd31f2,_0x4b5ab1,_0x5a91ae);let _0x23ae1a=class extends _0x559f35[_0x4ac278(0x265)]{constructor(_0x55ee03,_0x24a5b7,_0x4dc5ca,_0x1959e0){const _0x36d06c=_0x4ac278;super(),this['_commentService']=_0x55ee03,this['_threadCommentModel']=_0x24a5b7,this[_0x36d06c(0x226)]=_0x4dc5ca,this[_0x36d06c(0x244)]=_0x1959e0,this[_0x36d06c(0x23f)](),this[_0x36d06c(0x255)]();}['_initUserSync'](){const _0x3e1836=_0x4ac278;this['disposeWithMe'](this[_0x3e1836(0x259)][_0x3e1836(0x22e)][_0x3e1836(0x231)](_0x17826c[_0x3e1836(0x21b)](0x10))[_0x3e1836(0x26a)](_0x270b6c=>{const _0x1affe0=_0x3e1836,_0x14a6ee=new Set();_0x270b6c['forEach'](_0x491b66=>{const _0x2329c3=_0x36b8;switch(_0x491b66[_0x2329c3(0x213)]){case _0x2329c3(0x22a):{const _0x177f82=_0x491b66[_0x2329c3(0x200)][_0x2329c3(0x1f6)];_0x14a6ee[_0x2329c3(0x22a)](_0x177f82);break;}}}),_0x1d1730(this[_0x1affe0(0x244)],_0x14a6ee);}));}[_0x4ac278(0x23f)](){const _0x2a97fb=_0x4ac278;this[_0x2a97fb(0x207)](this['_commentService'][_0x2a97fb(0x22e)]['subscribe'](async _0x19fc28=>{const _0x1c3bff=_0x2a97fb;var _0x5eb4cc,_0x103b8e,_0x127401,_0x980d2c;const _0x205e2f=(_0x5eb4cc=this[_0x1c3bff(0x259)][_0x1c3bff(0x201)](_0x19fc28[_0x1c3bff(0x25f)])[_0x1c3bff(0x21a)](_0x1ca51b=>_0x1ca51b[_0x1c3bff(0x1ff)]===_0x19fc28['threadId']))==null?void 0x0:_0x5eb4cc[_0x1c3bff(0x235)];if(!_0x205e2f)return;const {unitId:_0x169979,subUnitId:_0x195d5c}=_0x205e2f;switch(_0x19fc28[_0x1c3bff(0x21f)]&&this[_0x1c3bff(0x226)][_0x1c3bff(0x26f)](_0x19fc28['user']),_0x19fc28['type']){case _0x49f46a[_0x1c3bff(0x262)]:break;case _0x49f46a[_0x1c3bff(0x260)]:{this[_0x1c3bff(0x259)]['addComment'](_0x169979,_0x195d5c,{'unitId':_0x169979,'subUnitId':_0x195d5c,'ref':'','id':_0x19fc28[_0x1c3bff(0x214)],'dT':_0x423bfe(+_0x19fc28['createTimestamp']),'threadId':_0x19fc28[_0x1c3bff(0x1ff)],'personId':(_0x127401=(_0x103b8e=_0x19fc28[_0x1c3bff(0x21f)])==null?void 0x0:_0x103b8e[_0x1c3bff(0x26b)])!=null?_0x127401:_0x19fc28[_0x1c3bff(0x24b)],'text':JSON[_0x1c3bff(0x252)](_0x19fc28[_0x1c3bff(0x1f9)]),'parentId':_0x205e2f['id']});break;}case _0x49f46a[_0x1c3bff(0x245)]:{const _0x1c44ad=this[_0x1c3bff(0x259)]['getComment'](_0x169979,_0x195d5c,_0x19fc28[_0x1c3bff(0x214)]);_0x1c44ad&&_0x1c44ad[_0x1c3bff(0x1fc)]&&this[_0x1c3bff(0x259)]['deleteComment'](_0x169979,_0x195d5c,_0x19fc28[_0x1c3bff(0x214)]);break;}case _0x49f46a[_0x1c3bff(0x218)]:{this[_0x1c3bff(0x259)][_0x1c3bff(0x23a)](_0x169979,_0x195d5c,{'commentId':_0x19fc28['replyId'],'text':JSON['parse'](_0x19fc28[_0x1c3bff(0x1f9)])});break;}case _0x49f46a[_0x1c3bff(0x251)]:{const _0xcee4f7=(_0x980d2c=this['_threadCommentModel'][_0x1c3bff(0x201)](_0x19fc28['unitId'])[_0x1c3bff(0x21a)](_0x5ab72a=>_0x5ab72a[_0x1c3bff(0x1ff)]===_0x19fc28[_0x1c3bff(0x1ff)]))==null?void 0x0:_0x980d2c[_0x1c3bff(0x235)];_0xcee4f7&&this[_0x1c3bff(0x259)][_0x1c3bff(0x1fa)](_0x169979,_0x195d5c,_0xcee4f7['id'],_0x19fc28[_0x1c3bff(0x270)]===_0x2203ca[_0x1c3bff(0x240)]);break;}}}));}};_0x23ae1a=_0x2fefef([_0x23f3f0(0x0,_0x559f35['Inject'](_0x1cabcb['CommentService'])),_0x23f3f0(0x1,_0x559f35[_0x4ac278(0x228)](_0x3beb1d[_0x4ac278(0x24f)])),_0x23f3f0(0x2,_0x559f35[_0x4ac278(0x228)](_0x559f35[_0x4ac278(0x223)])),_0x23f3f0(0x3,_0x559f35['Inject'](_0x559f35[_0x4ac278(0x23c)]))],_0x23ae1a);const _0xaaf712=_0x4ac278(0x204),_0x4845e7={};var _0x4a873b=Object[_0x4ac278(0x221)],_0x40934f=(_0x1d24d6,_0x3c6da3,_0x2858c1,_0x39d05c)=>{const _0x4c8c90=_0x4ac278;for(var _0x5a3787=_0x39d05c>0x1?void 0x0:_0x39d05c?_0x4a873b(_0x3c6da3,_0x2858c1):_0x3c6da3,_0x96b7d3=_0x1d24d6[_0x4c8c90(0x263)]-0x1,_0x2b6171;_0x96b7d3>=0x0;_0x96b7d3--)(_0x2b6171=_0x1d24d6[_0x96b7d3])&&(_0x5a3787=_0x2b6171(_0x5a3787)||_0x5a3787);return _0x5a3787;},_0x57eacf=(_0x25af5a,_0x39178b)=>(_0x5dbd57,_0x2ff018)=>_0x39178b(_0x5dbd57,_0x2ff018,_0x25af5a);function _0x354760(_0x1ce131,_0xf07070){const _0x4178a7=_0x4ac278,_0x21afc3=_0x1ce131[_0x4178a7(0x216)][0x0];return{..._0xf07070,'id':_0x21afc3[_0x4178a7(0x214)],'resolved':_0x1ce131[_0x4178a7(0x270)]===0x1,'dT':_0x423bfe(_0x21afc3['createTimestamp']),'personId':_0x21afc3[_0x4178a7(0x24b)],'threadId':_0x21afc3['threadId']};}function _0x5ea654(_0x5b7aeb,_0x4f54ab,_0x2121e5){const _0x393be9=_0x4ac278;var _0x30a8ce,_0x17acda;if(((_0x17acda=(_0x30a8ce=_0x5b7aeb==null?void 0x0:_0x5b7aeb[_0x393be9(0x216)])==null?void 0x0:_0x30a8ce[_0x393be9(0x263)])!=null?_0x17acda:0x0)>0x0){const _0xbac0a1=(_0x9ef73b,_0x2536f7)=>({'id':_0x9ef73b[_0x393be9(0x214)],'threadId':_0x9ef73b[_0x393be9(0x1ff)],'dT':_0x423bfe(_0x9ef73b['createTimestamp']),'personId':_0x9ef73b[_0x393be9(0x24b)],'resolved':_0x5b7aeb[_0x393be9(0x270)]===_0x2203ca[_0x393be9(0x240)],'unitId':_0x4f54ab,'subUnitId':_0x2121e5,'text':JSON[_0x393be9(0x252)](_0x9ef73b[_0x393be9(0x1f9)]),'parentId':_0x2536f7}),_0x40a35d=_0xbac0a1(_0x5b7aeb[_0x393be9(0x216)][0x0]);return{..._0x40a35d,'children':_0x5b7aeb[_0x393be9(0x216)][_0x393be9(0x267)](0x1)[_0x393be9(0x1fe)](_0x60c671=>_0xbac0a1(_0x60c671,_0x40a35d['id']))};}return null;}let _0x3b779e=class{constructor(_0x21166d,_0x30ed2e,_0x1370d1){const _0x50121e=_0x4ac278;this[_0x50121e(0x21d)]=_0x21166d,this['_userService']=_0x30ed2e,this[_0x50121e(0x233)]=_0x1370d1;}async[_0x4ac278(0x20c)](_0x368a2c){const _0x27dbd4=_0x4ac278;var _0x39f5b7,_0x22cf5f;const {parentId:_0xf9b6d,unitId:_0x24276f,text:_0x2bdd3f,threadId:_0xd8ea25}=_0x368a2c,_0x269f9a=(_0x22cf5f=(_0x39f5b7=_0x2bdd3f[_0x27dbd4(0x224)])==null?void 0x0:_0x39f5b7['filter'](_0x520814=>_0x520814[_0x27dbd4(0x26c)]===_0x559f35[_0x27dbd4(0x237)][_0x27dbd4(0x257)])[_0x27dbd4(0x1fe)](_0x59e389=>_0x59e389[_0x27dbd4(0x248)]))!=null?_0x22cf5f:[],_0x40b66e=JSON['stringify'](_0x2bdd3f),_0x4e6d74=(await this[_0x27dbd4(0x233)][_0x27dbd4(0x1f5)](_0x24276f))[_0x27dbd4(0x229)]();if(_0xf9b6d){const _0x28134b={'memberId':_0x4e6d74,'unitId':_0x24276f,'content':_0x40b66e,'mention':_0x269f9a,'threadId':_0xd8ea25},_0x48b707=(await this[_0x27dbd4(0x21d)][_0x27dbd4(0x20e)]('/universer-api/comment/unit/'+_0x24276f+'/reply',{'body':_0x28134b}))[_0x27dbd4(0x261)][_0x27dbd4(0x247)];return{..._0x368a2c,'id':_0x48b707[_0x27dbd4(0x214)],'dT':_0x559f35['dayjs'](+_0x48b707[_0x27dbd4(0x26d)])[_0x27dbd4(0x210)]('YYYY/MM/DD\x20HH:mm'),'personId':_0x48b707[_0x27dbd4(0x24b)]};}else{const _0x36486b={'memberId':_0x4e6d74,'unitId':_0x24276f,'content':_0x40b66e,'mention':_0x269f9a},_0x1d74fb=await this['_httpService']['post'](_0x27dbd4(0x254)+_0x24276f+_0x27dbd4(0x232),{'body':_0x36486b});return _0x354760(_0x1d74fb[_0x27dbd4(0x261)]['comment'],_0x368a2c);}}async['updateComment'](_0x49ca29){const _0x2ebe4c=_0x4ac278;var _0x15b504,_0x11a934;const {text:_0x151d3c,unitId:_0x4eafba}=_0x49ca29,_0x4e6f45=(_0x11a934=(_0x15b504=_0x151d3c[_0x2ebe4c(0x224)])==null?void 0x0:_0x15b504['filter'](_0x50bd94=>_0x50bd94[_0x2ebe4c(0x26c)]===_0x559f35[_0x2ebe4c(0x237)][_0x2ebe4c(0x257)])[_0x2ebe4c(0x1fe)](_0x3feff3=>_0x3feff3[_0x2ebe4c(0x248)]))!=null?_0x11a934:[],_0x5d670e=JSON['stringify'](_0x151d3c),_0x23a358=_0x49ca29[_0x2ebe4c(0x1ff)],_0x388669=_0x49ca29['id'],_0x2bd58a={'memberId':(await this[_0x2ebe4c(0x233)]['requireSession'](_0x4eafba))[_0x2ebe4c(0x229)](),'unitId':_0x4eafba,'threadId':_0x23a358,'mention':_0x4e6f45,'content':_0x5d670e,'replyId':_0x388669},_0x202d40=await this[_0x2ebe4c(0x21d)][_0x2ebe4c(0x20e)]('/universer-api/comment/unit/'+_0x4eafba+_0x2ebe4c(0x24e),{'body':_0x2bd58a});return!_0x202d40['body'][_0x2ebe4c(0x225)]||_0x202d40['body'][_0x2ebe4c(0x225)][_0x2ebe4c(0x269)]===0x1;}async[_0x4ac278(0x1fa)](_0x49f0a2){const _0x33f1a8=_0x4ac278,{unitId:_0x2a83b6}=_0x49f0a2,_0xdba305=_0x49f0a2[_0x33f1a8(0x1ff)],_0x128b27={'memberId':this['_userService']['getCurrentUser']()[_0x33f1a8(0x26b)],'unitId':_0x2a83b6,'threadId':_0xdba305,'solved':_0x49f0a2[_0x33f1a8(0x250)]?_0x2203ca[_0x33f1a8(0x240)]:_0x2203ca['OpenOrReOpen']},_0x5970db=await this[_0x33f1a8(0x21d)][_0x33f1a8(0x20e)](_0x33f1a8(0x254)+_0x2a83b6+_0x33f1a8(0x20a),{'body':_0x128b27});return!_0x5970db[_0x33f1a8(0x261)][_0x33f1a8(0x225)]||_0x5970db[_0x33f1a8(0x261)]['error'][_0x33f1a8(0x269)]===0x1;}async['deleteComment'](_0x5aed5c,_0x160bae,_0x51e99f,_0x3e1b1a){const _0x2774b2=_0x4ac278,_0x810b5c={'memberId':(await this[_0x2774b2(0x233)][_0x2774b2(0x1f5)](_0x5aed5c))[_0x2774b2(0x229)](),'threadId':_0x51e99f,'replyId':_0x3e1b1a,'unitId':_0x5aed5c},_0x5a39b5=await this[_0x2774b2(0x21d)][_0x2774b2(0x20e)]('/universer-api/comment/unit/'+_0x5aed5c+_0x2774b2(0x266),{'body':_0x810b5c});return!_0x5a39b5[_0x2774b2(0x261)]['error']||_0x5a39b5[_0x2774b2(0x261)][_0x2774b2(0x225)][_0x2774b2(0x269)]===0x1;}async[_0x4ac278(0x253)](_0x280644,_0x5de97,_0x23c4a7){const _0x58fcc2=_0x4ac278,_0x5f5b9a={'unitId':_0x280644,'threadId':_0x23c4a7},_0x110e3e=await this['_httpService'][_0x58fcc2(0x20e)](_0x58fcc2(0x254)+_0x280644+_0x58fcc2(0x227),{'body':_0x5f5b9a}),_0x2c9269=_0x23c4a7[_0x58fcc2(0x1fe)](_0x43eff0=>_0x5ea654(_0x110e3e[_0x58fcc2(0x261)][_0x58fcc2(0x234)][_0x43eff0],_0x280644,_0x5de97))[_0x58fcc2(0x205)](Boolean);return Object['values'](_0x110e3e[_0x58fcc2(0x261)][_0x58fcc2(0x238)])[_0x58fcc2(0x242)](_0x5aed71=>{const _0x571b1d=_0x58fcc2;this[_0x571b1d(0x226)][_0x571b1d(0x26f)](_0x5aed71);}),_0x2c9269;}[_0x4ac278(0x20f)](_0x51023d){const _0x228ff6=_0x4ac278;return{'id':_0x51023d['id'],'threadId':_0x51023d['threadId'],'ref':_0x51023d[_0x228ff6(0x202)]};}};_0x3b779e=_0x40934f([_0x57eacf(0x0,_0x559f35[_0x4ac278(0x228)](_0x2c1229['HTTPService'])),_0x57eacf(0x1,_0x559f35[_0x4ac278(0x228)](_0x559f35[_0x4ac278(0x223)])),_0x57eacf(0x2,_0x559f35['Inject'](_0x1cabcb[_0x4ac278(0x25a)]))],_0x3b779e);var _0x132f02=Object[_0x4ac278(0x221)],_0xbfaa64=(_0x2d04b7,_0xf1f7ea,_0x378e8e,_0x23aaa0)=>{const _0x4b2ada=_0x4ac278;for(var _0x5c501c=_0x23aaa0>0x1?void 0x0:_0x23aaa0?_0x132f02(_0xf1f7ea,_0x378e8e):_0xf1f7ea,_0x521e59=_0x2d04b7[_0x4b2ada(0x263)]-0x1,_0x15fe00;_0x521e59>=0x0;_0x521e59--)(_0x15fe00=_0x2d04b7[_0x521e59])&&(_0x5c501c=_0x15fe00(_0x5c501c)||_0x5c501c);return _0x5c501c;},_0x323d31=(_0x47e460,_0x42b945)=>(_0x18f404,_0x3c6a05)=>_0x42b945(_0x18f404,_0x3c6a05,_0x47e460);let _0x1aed25=class extends _0x559f35[_0x4ac278(0x265)]{constructor(_0x447f48,_0x1a652d){const _0x24d3ee=_0x4ac278;super(),this[_0x24d3ee(0x1f8)]=_0x447f48,this['_threadCommentDataSource']=_0x1a652d,this[_0x24d3ee(0x22c)]();}[_0x4ac278(0x22c)](){const _0x4c53c1=_0x4ac278;this['_threadCommentDataSourceService'][_0x4c53c1(0x258)]=this['_threadCommentDataSource'],this[_0x4c53c1(0x1f8)][_0x4c53c1(0x219)]=!0x1;}};_0x1aed25=_0xbfaa64([_0x323d31(0x0,_0x3beb1d['IThreadCommentDataSourceService']),_0x323d31(0x1,_0x559f35[_0x4ac278(0x228)](_0x3b779e))],_0x1aed25);var _0x59f3fe=Object['defineProperty'],_0x30548d=Object[_0x4ac278(0x221)],_0x4d403c=(_0x32f7a7,_0x15ec43,_0x11208b)=>_0x15ec43 in _0x32f7a7?_0x59f3fe(_0x32f7a7,_0x15ec43,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11208b}):_0x32f7a7[_0x15ec43]=_0x11208b,_0x19a716=(_0x4ac8b5,_0x4ec567,_0x179ef5,_0x1c7c3f)=>{const _0x1988f5=_0x4ac278;for(var _0x3d4ffd=_0x1c7c3f>0x1?void 0x0:_0x1c7c3f?_0x30548d(_0x4ec567,_0x179ef5):_0x4ec567,_0xf5c8c9=_0x4ac8b5[_0x1988f5(0x263)]-0x1,_0x50c1ca;_0xf5c8c9>=0x0;_0xf5c8c9--)(_0x50c1ca=_0x4ac8b5[_0xf5c8c9])&&(_0x3d4ffd=_0x50c1ca(_0x3d4ffd)||_0x3d4ffd);return _0x3d4ffd;},_0x57d374=(_0x28afed,_0xf8ccd1)=>(_0x23a7c2,_0x124750)=>_0xf8ccd1(_0x23a7c2,_0x124750,_0x28afed),_0x288689=(_0x118a1b,_0x1e9549,_0x165351)=>_0x4d403c(_0x118a1b,typeof _0x1e9549!='symbol'?_0x1e9549+'':_0x1e9549,_0x165351);_0x5838ea[_0x4ac278(0x230)]=class extends _0x559f35['Plugin']{constructor(_0x31f90a=_0x4845e7,_0x9ed0e1,_0x1bea2a){const _0x3044d6=_0x4ac278;super(),this[_0x3044d6(0x212)]=_0x31f90a,this['_injector']=_0x9ed0e1,this[_0x3044d6(0x215)]=_0x1bea2a;const {..._0x2a882f}=_0x559f35[_0x3044d6(0x23b)]({},_0x4845e7,this[_0x3044d6(0x212)]);this[_0x3044d6(0x215)][_0x3044d6(0x22b)](_0xaaf712,_0x2a882f);}[_0x4ac278(0x208)](){const _0x513e0d=_0x4ac278;[[_0x3b779e],[_0x1aed25],[_0x23ae1a]][_0x513e0d(0x242)](_0x224b23=>{const _0x220e1c=_0x513e0d;this[_0x220e1c(0x244)]['add'](_0x224b23);});}[_0x4ac278(0x25b)](){const _0x38eff1=_0x4ac278;this[_0x38eff1(0x244)][_0x38eff1(0x23d)](_0x1aed25),this['_injector']['get'](_0x23ae1a);}},_0x288689(_0x5838ea[_0x4ac278(0x230)],'pluginName',_0x47eccf),_0x288689(_0x5838ea[_0x4ac278(0x230)],_0x4ac278(0x213),_0x559f35[_0x4ac278(0x217)]['UNIVER_UNKNOWN']),_0x5838ea[_0x4ac278(0x230)]=_0x19a716([_0x559f35['DependentOn'](_0x5e4b71[_0x4ac278(0x1fb)],_0x1cabcb[_0x4ac278(0x241)],_0x250cd7[_0x4ac278(0x1f7)]),_0x57d374(0x1,_0x559f35[_0x4ac278(0x228)](_0x559f35[_0x4ac278(0x23c)])),_0x57d374(0x2,_0x559f35[_0x4ac278(0x21c)])],_0x5838ea[_0x4ac278(0x230)]),Object['defineProperty'](_0x5838ea,Symbol[_0x4ac278(0x222)],{'value':'Module'});}));function _0x18b0(){const _0xde38e1=['/edit','ThreadCommentModel','resolved','Solve','parse','listComments','/universer-api/comment/unit/','_initUserSync','object','COMMENT','dataSource','_threadCommentModel','CollaborationSessionService','onReady','11mNivqM','UniverProCollaborationClient','UniverThreadComment','unitId','Reply','body','Add','length','2832578oZtnie','Disposable','/delete','slice','368013UPrsQw','code','subscribe','userID','rangeType','createTimestamp','exports','addUser','solved','dayjs','UniverCore','function','UNRECOGNIZED','requireSession','personId','UniverLicensePlugin','_threadCommentDataSourceService','content','resolveComment','UniverThreadCommentUIPlugin','parentId','OpenOrReOpen','map','threadId','payload','getUnit','ref','Unknown','thread-comment-data-source.config','filter','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','disposeWithMe','onStarting','30840fbHwAq','/solved','@univerjs/network','addComment','UniverProLicense','post','saveCommentToSnapshot','format','YYYY/MM/DD\x20HH:mm','_config','type','replyId','_configService','replies','UniverInstanceType','Edit','syncUpdateMutationToColla','find','bufferTime','IConfigService','_httpService','size','user','UniverThreadCommentUi','getOwnPropertyDescriptor','toStringTag','UserManagerService','customRanges','error','_userService','/list','Inject','getMemberID','add','setConfig','_initDataSource','2047392tvIELd','commentUpdate$','@univerjs/thread-comment','UniverThreadCommentDataSourcePlugin','pipe','/add','_sessionService','comments','root','HTTPService','CustomRangeType','users','@univerjs-pro/collaboration-client','updateComment','merge','Injector','get','2049005OPALIS','_init','Solved','UniverCollaborationClientPlugin','forEach','32JVMHIm','_injector','Delete','34bDnOEG','reply','rangeId','36Itbesx','rxjs','userId','26088uFsQSD','3257GBMZdw'];_0x18b0=function(){return _0xde38e1;};return _0x18b0();}
|
|
15
15
|
|
|
16
16
|
// @univerjs-pro/edit-history-viewer/index
|
|
17
|
-
function _0x5278(_0x416c31,_0x436ba0){const _0x59a325=_0x59a3();return _0x5278=function(_0x52788e,_0x30898d){_0x52788e=_0x52788e-0x171;let _0x94d7e9=_0x59a325[_0x52788e];return _0x94d7e9;},_0x5278(_0x416c31,_0x436ba0);}(function(_0x4c14c1,_0x2fa579){const _0x45ae8c=_0x5278,_0x31bb1c=_0x4c14c1();while(!![]){try{const _0x2dc72f=parseInt(_0x45ae8c(0x239))/0x1*(parseInt(_0x45ae8c(0x396))/0x2)+parseInt(_0x45ae8c(0x36a))/0x3*(-parseInt(_0x45ae8c(0x368))/0x4)+parseInt(_0x45ae8c(0x2ba))/0x5*(parseInt(_0x45ae8c(0x1d5))/0x6)+-parseInt(_0x45ae8c(0x355))/0x7*(-parseInt(_0x45ae8c(0x315))/0x8)+-parseInt(_0x45ae8c(0x19b))/0x9+-parseInt(_0x45ae8c(0x347))/0xa*(-parseInt(_0x45ae8c(0x28f))/0xb)+-parseInt(_0x45ae8c(0x1ea))/0xc;if(_0x2dc72f===_0x2fa579)break;else _0x31bb1c['push'](_0x31bb1c['shift']());}catch(_0x3cd5ab){_0x31bb1c['push'](_0x31bb1c['shift']());}}}(_0x59a3,0x5ee87),function(_0x4cf540,_0x2beed0){const _0x48eeee=_0x5278;typeof exports==_0x48eeee(0x206)&&typeof module<'u'?_0x2beed0(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define==_0x48eeee(0x26d)&&define[_0x48eeee(0x33a)]?define([_0x48eeee(0x3ae),_0x48eeee(0x188),_0x48eeee(0x2a0),_0x48eeee(0x390),_0x48eeee(0x23a),'@univerjs/engine-render',_0x48eeee(0x29b),_0x48eeee(0x1d1),_0x48eeee(0x2dd),_0x48eeee(0x27e),_0x48eeee(0x18a),'rxjs','@univerjs-pro/sheets-sparkline',_0x48eeee(0x1dd),_0x48eeee(0x349),_0x48eeee(0x287),_0x48eeee(0x209),_0x48eeee(0x214),_0x48eeee(0x184)],_0x2beed0):(_0x4cf540=typeof globalThis<'u'?globalThis:_0x4cf540||self,_0x2beed0(_0x4cf540['UniverProEditHistoryViewer']={},_0x4cf540['UniverProCollaboration'],_0x4cf540[_0x48eeee(0x1a8)],_0x4cf540['UniverCore'],_0x4cf540[_0x48eeee(0x21b)],_0x4cf540[_0x48eeee(0x2a1)],_0x4cf540['UniverNetwork'],_0x4cf540[_0x48eeee(0x1a4)],_0x4cf540['UniverUi'],_0x4cf540[_0x48eeee(0x268)],_0x4cf540[_0x48eeee(0x1d2)],_0x4cf540[_0x48eeee(0x23d)],_0x4cf540[_0x48eeee(0x30e)],_0x4cf540[_0x48eeee(0x2e0)],_0x4cf540['UniverSheetsConditionalFormatting'],_0x4cf540['UniverSheetsFilter'],_0x4cf540['React'],_0x4cf540[_0x48eeee(0x330)],_0x4cf540[_0x48eeee(0x1ad)]));}(this,function(_0x35604f,_0x27dc7c,_0x50ff9d,_0x37bc8e,_0x4710f1,_0x30b220,_0x1fb47b,_0x3272da,_0x52e672,_0x427142,_0x5636be,_0x564f4,_0x313aba,_0x28a287,_0x837431,_0x2f4848,_0x14d5ca,_0x57e528,_0x475d42){'use strict';const _0x49ed4b=_0x5278;var _0x11beab=Object[_0x49ed4b(0x1b3)],_0x797c61=(_0x1fc778,_0x24a115,_0x117c5e)=>_0x24a115 in _0x1fc778?_0x11beab(_0x1fc778,_0x24a115,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x117c5e}):_0x1fc778[_0x24a115]=_0x117c5e,_0x386937=(_0x35b10c,_0x48d789,_0x54e55e)=>_0x797c61(_0x35b10c,typeof _0x48d789!=_0x49ed4b(0x28c)?_0x48d789+'':_0x48d789,_0x54e55e);const _0x1a7f92=_0x49ed4b(0x2d0),_0x1cbf71={};var _0x457b70=Object[_0x49ed4b(0x1b4)],_0x3e63d7=(_0x530bc7,_0x53c2f6,_0x1bd02f,_0x132247)=>{for(var _0x5b2208=_0x132247>0x1?void 0x0:_0x132247?_0x457b70(_0x53c2f6,_0x1bd02f):_0x53c2f6,_0xfd5393=_0x530bc7['length']-0x1,_0x32c413;_0xfd5393>=0x0;_0xfd5393--)(_0x32c413=_0x530bc7[_0xfd5393])&&(_0x5b2208=_0x32c413(_0x5b2208)||_0x5b2208);return _0x5b2208;},_0x3df46b=(_0x406ecf,_0x4595cd)=>(_0x2092f7,_0x29ae63)=>_0x4595cd(_0x2092f7,_0x29ae63,_0x406ecf);let _0x1bbd79=class extends _0x37bc8e['Disposable']{constructor(_0x1a897c){const _0x5c9509=_0x49ed4b;super(),this[_0x5c9509(0x22d)]=_0x1a897c,this[_0x5c9509(0x244)]();}['_init'](){const _0x23e87e=_0x49ed4b;this[_0x23e87e(0x337)](this[_0x23e87e(0x22d)][_0x23e87e(0x1de)]['subscribe'](_0x7bbc82=>{const _0x31ea1d=_0x23e87e;_0x7bbc82!=null&&_0x7bbc82[_0x31ea1d(0x1ac)]&&this[_0x31ea1d(0x22d)][_0x31ea1d(0x281)]({'show':!0x1});}));}};_0x1bbd79=_0x3e63d7([_0x3df46b(0x0,_0x3272da[_0x49ed4b(0x245)])],_0x1bbd79);var _0x494040=(_0x85bdab=>(_0x85bdab[_0x85bdab[_0x49ed4b(0x33d)]=0x0]=_0x49ed4b(0x33d),_0x85bdab[_0x85bdab['OK']=0x1]='OK',_0x85bdab[_0x85bdab[_0x49ed4b(0x253)]=0x2]=_0x49ed4b(0x253),_0x85bdab[_0x85bdab['PERMISSION_DENIED']=0x3]=_0x49ed4b(0x225),_0x85bdab[_0x85bdab[_0x49ed4b(0x221)]=0x4]=_0x49ed4b(0x221),_0x85bdab[_0x85bdab['UNAUTHENTICATED']=0x5]=_0x49ed4b(0x30a),_0x85bdab[_0x85bdab[_0x49ed4b(0x383)]=0x6]=_0x49ed4b(0x383),_0x85bdab[_0x85bdab[_0x49ed4b(0x36f)]=0x7]=_0x49ed4b(0x36f),_0x85bdab[_0x85bdab[_0x49ed4b(0x265)]=0x8]=_0x49ed4b(0x265),_0x85bdab[_0x85bdab[_0x49ed4b(0x2a9)]=0x9]=_0x49ed4b(0x2a9),_0x85bdab[_0x85bdab['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x85bdab[_0x85bdab[_0x49ed4b(0x313)]=0xb]=_0x49ed4b(0x313),_0x85bdab[_0x85bdab['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x49ed4b(0x303),_0x85bdab[_0x85bdab[_0x49ed4b(0x1a6)]=0xd]=_0x49ed4b(0x1a6),_0x85bdab[_0x85bdab['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x49ed4b(0x38c),_0x85bdab[_0x85bdab[_0x49ed4b(0x176)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x85bdab[_0x85bdab[_0x49ed4b(0x28b)]=0x10]=_0x49ed4b(0x28b),_0x85bdab[_0x85bdab[_0x49ed4b(0x29d)]=0x64]=_0x49ed4b(0x29d),_0x85bdab[_0x85bdab[_0x49ed4b(0x2c8)]=0x65]='ERROR_AGAIN',_0x85bdab[_0x85bdab['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x85bdab[_0x85bdab[_0x49ed4b(0x302)]=0xca]=_0x49ed4b(0x302),_0x85bdab[_0x85bdab[_0x49ed4b(0x323)]=0x1389]=_0x49ed4b(0x323),_0x85bdab[_0x85bdab[_0x49ed4b(0x1f1)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x85bdab[_0x85bdab[_0x49ed4b(0x295)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x85bdab[_0x85bdab[_0x49ed4b(0x296)]=0x1773]=_0x49ed4b(0x296),_0x85bdab[_0x85bdab[_0x49ed4b(0x21e)]=0x1b59]=_0x49ed4b(0x21e),_0x85bdab[_0x85bdab['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x49ed4b(0x269),_0x85bdab[_0x85bdab[_0x49ed4b(0x293)]=0x1b5b]=_0x49ed4b(0x293),_0x85bdab[_0x85bdab[_0x49ed4b(0x2a8)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x85bdab[_0x85bdab['APPLY_DUPLICATED']=0x1b5d]=_0x49ed4b(0x2aa),_0x85bdab[_0x85bdab[_0x49ed4b(0x3af)]=0x1f41]=_0x49ed4b(0x3af),_0x85bdab[_0x85bdab['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x85bdab[_0x85bdab[_0x49ed4b(0x2cf)]=0x232a]=_0x49ed4b(0x2cf),_0x85bdab[_0x85bdab[_0x49ed4b(0x392)]=0x232b]=_0x49ed4b(0x392),_0x85bdab[_0x85bdab[_0x49ed4b(0x19d)]=0x232c]=_0x49ed4b(0x19d),_0x85bdab[_0x85bdab[_0x49ed4b(0x29f)]=0x232d]=_0x49ed4b(0x29f),_0x85bdab[_0x85bdab[_0x49ed4b(0x179)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x85bdab[_0x85bdab[_0x49ed4b(0x339)]=0x2712]=_0x49ed4b(0x339),_0x85bdab[_0x85bdab['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x49ed4b(0x2e4),_0x85bdab[_0x85bdab[_0x49ed4b(0x20d)]=0x2714]=_0x49ed4b(0x20d),_0x85bdab[_0x85bdab[_0x49ed4b(0x218)]=0x271a]=_0x49ed4b(0x218),_0x85bdab[_0x85bdab['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x49ed4b(0x17f),_0x85bdab[_0x85bdab[_0x49ed4b(0x376)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x85bdab[_0x85bdab[_0x49ed4b(0x233)]=0x271d]=_0x49ed4b(0x233),_0x85bdab[_0x85bdab[_0x49ed4b(0x38a)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x85bdab[_0x85bdab['YUUMI_AI_RUN_FAILED']=0x271f]=_0x49ed4b(0x39f),_0x85bdab[_0x85bdab[_0x49ed4b(0x31b)]=0x2720]=_0x49ed4b(0x31b),_0x85bdab[_0x85bdab[_0x49ed4b(0x259)]=0x2af9]=_0x49ed4b(0x259),_0x85bdab[_0x85bdab[_0x49ed4b(0x373)]=0x2ee1]=_0x49ed4b(0x373),_0x85bdab[_0x85bdab[_0x49ed4b(0x226)]=0x2ee2]=_0x49ed4b(0x226),_0x85bdab[_0x85bdab[_0x49ed4b(0x31a)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x85bdab[_0x85bdab[_0x49ed4b(0x249)]=0x2ee4]=_0x49ed4b(0x249),_0x85bdab[_0x85bdab[_0x49ed4b(0x1eb)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x85bdab[_0x85bdab['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x49ed4b(0x336),_0x85bdab[_0x85bdab['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x49ed4b(0x38e),_0x85bdab[_0x85bdab[_0x49ed4b(0x2fe)]=0x32cb]=_0x49ed4b(0x2fe),_0x85bdab[_0x85bdab['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x49ed4b(0x381),_0x85bdab[_0x85bdab[_0x49ed4b(0x27d)]=0x36b2]=_0x49ed4b(0x27d),_0x85bdab[_0x85bdab[_0x49ed4b(0x26b)]=0x36b3]=_0x49ed4b(0x26b),_0x85bdab[_0x85bdab[_0x49ed4b(0x2dc)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x85bdab[_0x85bdab['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x49ed4b(0x26c),_0x85bdab[_0x85bdab[_0x49ed4b(0x3a5)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x85bdab[_0x85bdab['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x49ed4b(0x27a),_0x85bdab[_0x85bdab[_0x49ed4b(0x318)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x85bdab[_0x85bdab[_0x49ed4b(0x2f9)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x85bdab[_0x85bdab['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x49ed4b(0x200),_0x85bdab[_0x85bdab[_0x49ed4b(0x37e)]=0x3a9b]=_0x49ed4b(0x37e),_0x85bdab[_0x85bdab[_0x49ed4b(0x21f)]=0x3a9c]=_0x49ed4b(0x21f),_0x85bdab[_0x85bdab['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x49ed4b(0x1c9),_0x85bdab[_0x85bdab['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x49ed4b(0x230),_0x85bdab[_0x85bdab['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x85bdab[_0x85bdab[_0x49ed4b(0x2d9)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x85bdab[_0x85bdab[_0x49ed4b(0x22c)]=-0x1]=_0x49ed4b(0x22c),_0x85bdab))(_0x494040||{}),_0x16fabb=(_0x16eff1=>(_0x16eff1[_0x16eff1[_0x49ed4b(0x30b)]=0x0]='UNIVER_UNKNOWN',_0x16eff1[_0x16eff1[_0x49ed4b(0x34e)]=0x1]=_0x49ed4b(0x34e),_0x16eff1[_0x16eff1[_0x49ed4b(0x212)]=0x2]=_0x49ed4b(0x212),_0x16eff1[_0x16eff1['UNIVER_SLIDE']=0x3]=_0x49ed4b(0x35c),_0x16eff1[_0x16eff1['UNIVER_PROJECT']=0x4]=_0x49ed4b(0x2ce),_0x16eff1[_0x16eff1[_0x49ed4b(0x22c)]=-0x1]=_0x49ed4b(0x22c),_0x16eff1))(_0x16fabb||{}),_0x2de1e8=(_0x1c011d=>(_0x1c011d[_0x1c011d[_0x49ed4b(0x2ab)]=0x0]=_0x49ed4b(0x2ab),_0x1c011d[_0x1c011d['Edit']=0x1]=_0x49ed4b(0x1b5),_0x1c011d[_0x1c011d[_0x49ed4b(0x18e)]=0x2]=_0x49ed4b(0x18e),_0x1c011d[_0x1c011d[_0x49ed4b(0x1fd)]=0x3]=_0x49ed4b(0x1fd),_0x1c011d[_0x1c011d['Duplicate']=0x4]='Duplicate',_0x1c011d[_0x1c011d[_0x49ed4b(0x20b)]=0x5]=_0x49ed4b(0x20b),_0x1c011d[_0x1c011d['Copy']=0x6]=_0x49ed4b(0x2bc),_0x1c011d[_0x1c011d[_0x49ed4b(0x37d)]=0x7]=_0x49ed4b(0x37d),_0x1c011d[_0x1c011d['Export']=0x8]=_0x49ed4b(0x2b1),_0x1c011d[_0x1c011d[_0x49ed4b(0x311)]=0x9]='MoveWorksheet',_0x1c011d[_0x1c011d['DeleteWorksheet']=0xa]=_0x49ed4b(0x195),_0x1c011d[_0x1c011d[_0x49ed4b(0x358)]=0xb]=_0x49ed4b(0x358),_0x1c011d[_0x1c011d[_0x49ed4b(0x2f8)]=0xc]=_0x49ed4b(0x2f8),_0x1c011d[_0x1c011d['CreateWorksheet']=0xd]=_0x49ed4b(0x1ae),_0x1c011d[_0x1c011d[_0x49ed4b(0x173)]=0xe]='SetWorksheetStyle',_0x1c011d[_0x1c011d[_0x49ed4b(0x1f5)]=0xf]='EditWorksheetCell',_0x1c011d[_0x1c011d[_0x49ed4b(0x1e9)]=0x10]='InsertHyperlink',_0x1c011d[_0x1c011d['Sort']=0x11]='Sort',_0x1c011d[_0x1c011d[_0x49ed4b(0x367)]=0x12]=_0x49ed4b(0x367),_0x1c011d[_0x1c011d[_0x49ed4b(0x1da)]=0x13]=_0x49ed4b(0x1da),_0x1c011d[_0x1c011d[_0x49ed4b(0x174)]=0x14]=_0x49ed4b(0x174),_0x1c011d[_0x1c011d[_0x49ed4b(0x332)]=0x15]=_0x49ed4b(0x332),_0x1c011d[_0x1c011d[_0x49ed4b(0x248)]=0x16]='RwHgtClWdt',_0x1c011d[_0x1c011d[_0x49ed4b(0x1c3)]=0x17]='ViemRwHgtClWdt',_0x1c011d[_0x1c011d[_0x49ed4b(0x319)]=0x18]=_0x49ed4b(0x319),_0x1c011d[_0x1c011d[_0x49ed4b(0x192)]=0x19]=_0x49ed4b(0x192),_0x1c011d[_0x1c011d['DeleteSheet']=0x1a]=_0x49ed4b(0x297),_0x1c011d[_0x1c011d[_0x49ed4b(0x1f2)]=0x1b]=_0x49ed4b(0x1f2),_0x1c011d[_0x1c011d['CopySheet']=0x1c]=_0x49ed4b(0x289),_0x1c011d[_0x1c011d[_0x49ed4b(0x215)]=0x1d]=_0x49ed4b(0x215),_0x1c011d[_0x1c011d[_0x49ed4b(0x185)]=0x1e]=_0x49ed4b(0x185),_0x1c011d[_0x1c011d['SelectProtectedCells']=0x1f]='SelectProtectedCells',_0x1c011d[_0x1c011d[_0x49ed4b(0x37f)]=0x20]=_0x49ed4b(0x37f),_0x1c011d[_0x1c011d[_0x49ed4b(0x2d6)]=0x21]=_0x49ed4b(0x2d6),_0x1c011d[_0x1c011d[_0x49ed4b(0x308)]=0x22]=_0x49ed4b(0x308),_0x1c011d[_0x1c011d[_0x49ed4b(0x1b7)]=0x23]=_0x49ed4b(0x1b7),_0x1c011d[_0x1c011d[_0x49ed4b(0x24b)]=0x24]=_0x49ed4b(0x24b),_0x1c011d[_0x1c011d['InsertRow']=0x25]='InsertRow',_0x1c011d[_0x1c011d[_0x49ed4b(0x335)]=0x26]=_0x49ed4b(0x335),_0x1c011d[_0x1c011d[_0x49ed4b(0x229)]=0x27]=_0x49ed4b(0x229),_0x1c011d[_0x1c011d[_0x49ed4b(0x31f)]=0x28]=_0x49ed4b(0x31f),_0x1c011d[_0x1c011d[_0x49ed4b(0x254)]=0x29]=_0x49ed4b(0x254),_0x1c011d[_0x1c011d['Delete']=0x2a]=_0x49ed4b(0x279),_0x1c011d[_0x1c011d[_0x49ed4b(0x208)]=0x2b]='RecoverHistory',_0x1c011d[_0x1c011d['ViewHistory']=0x2c]=_0x49ed4b(0x1b0),_0x1c011d[_0x1c011d[_0x49ed4b(0x391)]=0x2d]=_0x49ed4b(0x391),_0x1c011d[_0x1c011d[_0x49ed4b(0x22c)]=-0x1]=_0x49ed4b(0x22c),_0x1c011d))(_0x2de1e8||{});function _0x4e5b10(_0x36dfb3){const _0x456993=_0x49ed4b;return!!(_0x36dfb3&&_0x36dfb3['code']&&_0x36dfb3[_0x456993(0x301)]!==_0x494040['OK']&&_0x36dfb3[_0x456993(0x301)]!=='OK');}const _0x1d5840=(_0x17d2f2,_0x33b1ae)=>{const _0x34b987=_0x49ed4b;if(!_0x17d2f2)return{'date':'','time':''};const _0x5e48a2=new Date(_0x17d2f2),_0x6dbbc9=_0x5e48a2[_0x34b987(0x26f)]()['split']('T')[0x0];switch(_0x33b1ae){case _0x37bc8e[_0x34b987(0x24e)][_0x34b987(0x232)]:return{'date':_0x16b3ea(_0x6dbbc9,_0x33b1ae),'time':_0x5e48a2[_0x34b987(0x1ff)]()+':'+String(_0x5e48a2[_0x34b987(0x345)]())[_0x34b987(0x1f9)](0x2,'0')};default:return{'date':_0x16b3ea(_0x6dbbc9,_0x33b1ae),'time':_0x5e48a2[_0x34b987(0x1ff)]()+':'+_0x5e48a2[_0x34b987(0x345)]()};}},_0x2f1f25=(_0x45d970,_0x4964d4)=>{const _0x19438b=_0x49ed4b,_0x2b5bb8=_0x45d970[_0x19438b(0x1c2)]||_0x4964d4['t'](_0x19438b(0x1c0));if(_0x45d970[_0x19438b(0x2b6)][_0x19438b(0x207)](_0x1ca6f5=>_0x1ca6f5===_0x27dc7c[_0x19438b(0x1df)]['id'])&&_0x45d970[_0x19438b(0x320)]){const _0x23b300=_0x1d5840(_0x45d970[_0x19438b(0x320)],_0x4964d4['getCurrentLocale']()),_0x274a0d=_0x23b300[_0x19438b(0x37b)]+'\x20'+_0x23b300[_0x19438b(0x263)];return _0x2b5bb8+'\x20'+_0x4964d4['t'](_0x19438b(0x181))+'\x20'+_0x274a0d+'\x20'+_0x4964d4['t'](_0x19438b(0x191));}const _0x5dbeff=_0x831e3c(_0x45d970),_0x2f6962=_0x5dbeff[_0x19438b(0x378)]===0x1?_0x4964d4['t'](_0x5dbeff[0x0]):''+_0x4964d4['t'](_0x5dbeff[0x0])+_0x4964d4['t'](_0x19438b(0x34f));return _0x2b5bb8+'\x20'+_0x2f6962;};function _0x831e3c(_0x51fd03){const _0x40e473=_0x49ed4b;if(_0x51fd03[_0x40e473(0x2b6)]['length']===0x0)return[''];const _0x193483=_0x40e473(0x18d),_0xd0d97b=_0x193483+'editSheet',_0x35c569=[{'id':_0x27dc7c[_0x40e473(0x1c7)]['id'],'action':_0x193483+'createSheet'},{'id':_0x27dc7c[_0x40e473(0x1df)]['id'],'action':_0x193483+_0x40e473(0x294)},{'id':_0x5636be['InsertSheetMutation']['id'],'action':_0x193483+'insertSheet'},{'id':_0x5636be[_0x40e473(0x2bf)]['id'],'action':_0x193483+_0x40e473(0x24f)},{'id':_0x5636be[_0x40e473(0x21d)]['id'],'action':_0x193483+_0x40e473(0x2c7)},{'id':_0x2f4848['SetSheetsFilterRangeMutation']['id'],'action':_0x193483+_0x40e473(0x1d7)},{'id':_0x28a287[_0x40e473(0x171)]['id'],'action':_0x193483+'setDV'},{'id':_0x28a287[_0x40e473(0x1d8)]['id'],'action':_0x193483+'setDV'},{'id':_0x837431[_0x40e473(0x264)]['id'],'action':_0x193483+_0x40e473(0x2ae)},{'id':_0x837431[_0x40e473(0x220)]['id'],'action':_0x193483+_0x40e473(0x2ae)},{'id':_0x5636be[_0x40e473(0x23e)]['id'],'action':_0x193483+_0x40e473(0x2c4)},{'id':_0x5636be[_0x40e473(0x35f)]['id'],'action':_0x193483+_0x40e473(0x2c4)},{'id':_0x313aba['AddSheetSparklineMutation']['id'],'action':_0x193483+_0x40e473(0x27c)},{'id':_0x5636be[_0x40e473(0x1f4)]['id'],'action':_0x193483+'deleteProtection'},{'id':_0x5636be[_0x40e473(0x2c0)]['id'],'action':_0x193483+_0x40e473(0x2d3)}][_0x40e473(0x33b)](_0x591018=>_0x51fd03[_0x40e473(0x2b6)]['includes'](_0x591018['id']));return _0x35c569!=null&&_0x35c569[_0x40e473(0x378)]?_0x35c569[_0x40e473(0x363)](_0x7c5911=>_0x7c5911['action']):[_0xd0d97b];}function _0x16b3ea(_0x29bfb9,_0xbd2365){const _0x302435=_0x49ed4b,[_0x524f15,_0x486ef6,_0x2ec35a]=new Date()[_0x302435(0x26f)]()['split']('T')[0x0][_0x302435(0x255)]('-'),[_0x273a7b,_0x46f042,_0x2ac926]=_0x29bfb9['split']('-'),_0x478b45=_0x524f15===_0x273a7b&&_0x486ef6===_0x46f042&&_0x2ec35a===_0x2ac926;let _0x2f9b12='',_0x11a3b3='',_0x450f6a='';switch(_0xbd2365){case _0x37bc8e[_0x302435(0x24e)][_0x302435(0x232)]:return _0x478b45?'今天':(_0x2f9b12=_0x524f15===_0x273a7b?'':_0x273a7b+'年',_0x11a3b3=_0x46f042+'月',_0x450f6a=_0x2ac926+'日',''+_0x2f9b12+_0x11a3b3+_0x450f6a);default:return _0x478b45?'Today':(_0x2f9b12=_0x524f15===_0x273a7b?'':_0x273a7b+'-',_0x11a3b3=_0x46f042+'-',_0x450f6a=''+_0x2ac926,''+_0x2f9b12+_0x11a3b3+_0x450f6a);}}function _0xcf43ff(_0x4b5346){const _0x2f8cbe=_0x49ed4b;return _0x4b5346?_0x4b5346[_0x2f8cbe(0x1ba)]((_0x1f1d48,_0x2d3beb)=>{const _0x331d40=_0x2f8cbe,_0x5bc3e6=new Date(_0x2d3beb['time'])[_0x331d40(0x26f)]()[_0x331d40(0x255)]('T')[0x0];return _0x1f1d48[_0x331d40(0x378)]>0x0&&_0x1f1d48[_0x1f1d48[_0x331d40(0x378)]-0x1][_0x331d40(0x317)]===_0x5bc3e6?_0x1f1d48[_0x1f1d48['length']-0x1][_0x331d40(0x2bb)][_0x331d40(0x21c)](_0x2d3beb):_0x1f1d48[_0x331d40(0x21c)]({'dateString':_0x5bc3e6,'versions':[_0x2d3beb]}),_0x1f1d48;},[]):[];}var _0x2c1ae5=Object[_0x49ed4b(0x1b4)],_0x2f6430=(_0x29689c,_0x2e8ac6,_0x3aa88b,_0x42b858)=>{const _0x420f81=_0x49ed4b;for(var _0x3ac9fc=_0x42b858>0x1?void 0x0:_0x42b858?_0x2c1ae5(_0x2e8ac6,_0x3aa88b):_0x2e8ac6,_0x4ba1a0=_0x29689c[_0x420f81(0x378)]-0x1,_0x2b944a;_0x4ba1a0>=0x0;_0x4ba1a0--)(_0x2b944a=_0x29689c[_0x4ba1a0])&&(_0x3ac9fc=_0x2b944a(_0x3ac9fc)||_0x3ac9fc);return _0x3ac9fc;},_0xca1deb=(_0xf882ca,_0x2c8b7c)=>(_0x5d93ee,_0x4eb451)=>_0x2c8b7c(_0x5d93ee,_0x4eb451,_0xf882ca);const _0x4e456f=_0x49ed4b(0x224);let _0xdac991=class extends _0x37bc8e[_0x49ed4b(0x283)]{constructor(_0x51d49b,_0x49beb7,_0x424214,_0xc5b1a6,_0x3f79e6,_0x469a42,_0x11d11d){const _0x3a3fce=_0x49ed4b;super(),_0x386937(this,'_workbookDataCache',new Map()),(this[_0x3a3fce(0x312)]=_0x51d49b,this[_0x3a3fce(0x237)]=_0x49beb7,this[_0x3a3fce(0x398)]=_0x424214,this[_0x3a3fce(0x1a2)]=_0xc5b1a6,this[_0x3a3fce(0x222)]=_0x3f79e6,this['_compressMutationService']=_0x469a42,this[_0x3a3fce(0x37c)]=_0x11d11d);}[_0x49ed4b(0x1be)](){const _0x1516b8=_0x49ed4b;this[_0x1516b8(0x205)]['clear'](),super['dispose']();}async[_0x49ed4b(0x33f)](_0x2861a7,_0x1ef815){const _0xa25c85=_0x49ed4b,_0x326943=this[_0xa25c85(0x39b)]()+'/'+_0x2861a7+_0xa25c85(0x22f)+(_0x1ef815?_0xa25c85(0x38b)+_0x1ef815:'');try{const _0x4023b0=(await this[_0xa25c85(0x222)][_0xa25c85(0x36b)](_0x326943))[_0xa25c85(0x26e)];if(_0x4023b0&&_0x4023b0[_0xa25c85(0x299)]&&_0x4023b0['error'][_0xa25c85(0x301)]===_0x494040['OK']){const {hasMore:_0x221ba0,lastLabel:_0x24b127}=_0x4023b0,_0x57a406=_0x281368(_0x4023b0),_0x493794=_0x4023b0[_0xa25c85(0x2bd)][_0xa25c85(0x1d4)];return{'hasMore':_0x221ba0,'lastLabel':_0x24b127,'versions':_0x57a406,'members':_0x493794};}}catch(_0x1162dd){console[_0xa25c85(0x299)](_0x1162dd);}return null;}[_0x49ed4b(0x39b)](){const _0x308061=_0x49ed4b;var _0x25bf26;const _0x383c93=this[_0x308061(0x1a2)][_0x308061(0x39d)](_0x1a7f92);return(_0x25bf26=_0x383c93==null?void 0x0:_0x383c93[_0x308061(0x1b9)])!=null?_0x25bf26:_0x4e456f;}async[_0x49ed4b(0x20e)](_0x990075,_0x4875a0,_0xa6a533){const _0x14b2eb=_0x49ed4b;var _0x6cd2aa,_0x4875ab;_0xa6a533===void 0x0&&(_0xa6a533={}),this[_0x14b2eb(0x205)][_0x14b2eb(0x334)](_0x990075)||this[_0x14b2eb(0x205)][_0x14b2eb(0x1d9)](_0x990075,new Map());const {snapshot:_0x547006,changesets:_0x1636c1,error:_0xd531cc}=await this[_0x14b2eb(0x312)][_0x14b2eb(0x1fb)](_0xa6a533,{'unitID':_0x990075,'type':_0x16fabb[_0x14b2eb(0x212)],'revision':_0x4875a0});if(_0x4e5b10(_0xd531cc)||!_0x547006||!_0x547006['workbook'])throw new Error(_0x14b2eb(0x272));const _0x5ac29c=(_0x6cd2aa=_0x1636c1==null?void 0x0:_0x1636c1[_0x14b2eb(0x378)])!=null?_0x6cd2aa:0x0;if(_0x4875a0!==0x0&&_0x547006[_0x14b2eb(0x252)]+_0x5ac29c!==_0x4875a0)throw new Error(_0x14b2eb(0x2de));const {workbook:_0x55965a}=_0x547006,_0x37a03f=_0x55965a[_0x14b2eb(0x1ce)]?Object['entries'](_0x55965a[_0x14b2eb(0x1ce)])[_0x14b2eb(0x363)](([_0x2138fc,_0x27a7c0])=>{const _0xc26178=_0x14b2eb;var _0x4aa76e,_0x5a32a3;return(_0x5a32a3=(_0x4aa76e=_0x27a7c0[_0xc26178(0x1db)])==null?void 0x0:_0x4aa76e[_0xc26178(0x363)](_0x51a208=>_0x51a208))!=null?_0x5a32a3:[];})[_0x14b2eb(0x2f5)]():[],_0x2789f9=(await Promise['all'](_0x37a03f['map'](_0x2f5bb3=>this['_snapshotServerService'][_0x14b2eb(0x1e2)](_0xa6a533,{'unitID':_0x990075,'type':_0x16fabb[_0x14b2eb(0x212)],'blockID':_0x2f5bb3})[_0x14b2eb(0x316)](_0x40ee89=>_0x40ee89[_0x14b2eb(0x18c)]))))['filter'](_0x87fb18=>!!_0x87fb18),_0x34e436=_0x27dc7c[_0x14b2eb(0x19a)](_0x547006,_0x2789f9,_0xa6a533);return(_0x4875ab=this[_0x14b2eb(0x205)][_0x14b2eb(0x36b)](_0x990075))==null||_0x4875ab['set'](_0x4875a0,{'workbook':_0x34e436}),new Promise(_0x3dd216=>{const _0x321f03=_0x14b2eb,_0x43ee91=this[_0x321f03(0x237)]['getCurrentUnitForType'](_0x37bc8e[_0x321f03(0x2d8)][_0x321f03(0x212)]);_0x43ee91?(this['_univerInstanceService'][_0x321f03(0x382)](_0x43ee91[_0x321f03(0x2ed)]()),setTimeout(()=>{const _0x2b4560=_0x321f03;this[_0x2b4560(0x342)](_0x34e436,_0x1636c1),this[_0x2b4560(0x37c)][_0x2b4560(0x340)](),_0x3dd216(!0x0);},0x0)):(this[_0x321f03(0x342)](_0x34e436,_0x1636c1),_0x3dd216(!0x0));});}[_0x49ed4b(0x342)](_0x4bd066,_0x137838){const _0x236505=_0x49ed4b,_0x2dd4aa=this[_0x236505(0x237)]['createUnit'](_0x37bc8e[_0x236505(0x2d8)][_0x236505(0x212)],_0x4bd066);this['_univerInstanceService']['focusUnit'](_0x2dd4aa[_0x236505(0x2ed)]());const _0x38b6fd=this[_0x236505(0x1a0)][_0x236505(0x177)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x236505(0x177)][_0x236505(0x1b1)]()[_0x236505(0x1cf)]);return _0x137838==null||_0x137838[_0x236505(0x353)](_0x854d6a=>{const _0x33f480=_0x236505,_0x4e1a36=_0x854d6a[_0x33f480(0x17e)]['map'](_0x42225e=>({'id':_0x42225e['id'],'params':JSON[_0x33f480(0x329)](_0x42225e[_0x33f480(0x277)])}));({..._0x854d6a,'mutations':_0x38b6fd(_0x4e1a36,null)||_0x4e1a36}[_0x33f480(0x17e)][_0x33f480(0x353)](_0x432e75=>{const _0x4f25ab=_0x33f480;this[_0x4f25ab(0x398)][_0x4f25ab(0x1bc)](_0x432e75['id'])&&this[_0x4f25ab(0x398)][_0x4f25ab(0x2ee)](_0x432e75['id'],_0x432e75['params']);}));}),_0x2dd4aa;}};_0xdac991=_0x2f6430([_0xca1deb(0x0,_0x27dc7c['ISnapshotServerService']),_0xca1deb(0x1,_0x37bc8e[_0x49ed4b(0x288)]),_0xca1deb(0x2,_0x37bc8e[_0x49ed4b(0x29a)]),_0xca1deb(0x3,_0x37bc8e[_0x49ed4b(0x37a)]),_0xca1deb(0x4,_0x37bc8e[_0x49ed4b(0x324)](_0x1fb47b[_0x49ed4b(0x2d7)])),_0xca1deb(0x5,_0x37bc8e[_0x49ed4b(0x324)](_0x27dc7c['CompressMutationService'])),_0xca1deb(0x6,_0x37bc8e[_0x49ed4b(0x324)](_0x5636be[_0x49ed4b(0x322)]))],_0xdac991);function _0x281368(_0x59de2f){const _0x572c1b=_0x49ed4b;var _0x48a1f3,_0x1fa24a;const _0x2e7de6=[],{entities:_0x1a3bea,historyIds:_0x41dce2}=_0x59de2f,{datas:_0x543168,users:_0x148961}=_0x1a3bea;for(const _0x11655b of _0x41dce2)if(_0x543168[_0x11655b]){const _0x1bdcdc=!!((_0x48a1f3=_0x148961[_0x543168[_0x11655b]['userId']])!=null&&_0x48a1f3[_0x572c1b(0x183)]);_0x2e7de6[_0x572c1b(0x21c)]({'unitId':_0x543168[_0x11655b][_0x572c1b(0x1af)],'user':_0x1bdcdc?'':((_0x1fa24a=_0x148961==null?void 0x0:_0x148961[_0x543168[_0x11655b][_0x572c1b(0x19e)]])==null?void 0x0:_0x1fa24a[_0x572c1b(0x3a8)])||'','isAnonymous':_0x1bdcdc,'id':_0x11655b,'time':_0x543168[_0x11655b][_0x572c1b(0x286)]?Number(_0x543168[_0x11655b]['createTime']):void 0x0,'commands':_0x543168[_0x11655b]['command'],'startRev':Number(_0x543168[_0x11655b]['startRevision']),'endRev':Number(_0x543168[_0x11655b]['endRevision']),'recoverTime':_0x543168[_0x11655b][_0x572c1b(0x320)]?Number(_0x543168[_0x11655b][_0x572c1b(0x320)]):void 0x0});}return _0x2e7de6;}var _0x4d6a0a=Object['getOwnPropertyDescriptor'],_0x3109a5=(_0xa5deb3,_0x3e6676,_0x3f816f,_0x420acb)=>{for(var _0x65fa2c=_0x420acb>0x1?void 0x0:_0x420acb?_0x4d6a0a(_0x3e6676,_0x3f816f):_0x3e6676,_0x12b9cb=_0xa5deb3['length']-0x1,_0x3d91fb;_0x12b9cb>=0x0;_0x12b9cb--)(_0x3d91fb=_0xa5deb3[_0x12b9cb])&&(_0x65fa2c=_0x3d91fb(_0x65fa2c)||_0x65fa2c);return _0x65fa2c;},_0x34ed6a=(_0x434c73,_0x3e21c3)=>(_0x39f5eb,_0x5b90a0)=>_0x3e21c3(_0x39f5eb,_0x5b90a0,_0x434c73),_0x25cc45=(_0x3c46ef=>(_0x3c46ef[_0x49ed4b(0x197)]=_0x49ed4b(0x250),_0x3c46ef[_0x49ed4b(0x30c)]='exited',_0x3c46ef['Error']=_0x49ed4b(0x299),_0x3c46ef))(_0x25cc45||{}),_0x4536c2=(_0xbb442b=>(_0xbb442b['Init']=_0x49ed4b(0x31c),_0xbb442b[_0x49ed4b(0x227)]=_0x49ed4b(0x2a5),_0xbb442b[_0x49ed4b(0x201)]=_0x49ed4b(0x256),_0xbb442b))(_0x4536c2||{});const _0xdae7a6=_0x49ed4b(0x374);_0x35604f[_0x49ed4b(0x359)]=class extends _0x37bc8e['Disposable']{constructor(_0x290bcd,_0x1628b8,_0x3adb2c,_0xe8973e){const _0x4373b0=_0x49ed4b;super(),_0x386937(this,'_versions$',new _0x564f4[(_0x4373b0(0x298))]([])),_0x386937(this,_0x4373b0(0x193),this[_0x4373b0(0x394)][_0x4373b0(0x34c)]()),_0x386937(this,_0x4373b0(0x175),new _0x564f4[(_0x4373b0(0x298))]('')),_0x386937(this,_0x4373b0(0x1b2),this[_0x4373b0(0x175)]['asObservable']()),_0x386937(this,'_status$',new _0x564f4[(_0x4373b0(0x298))](_0x4373b0(0x250))),_0x386937(this,_0x4373b0(0x25e),this['_status$'][_0x4373b0(0x34c)]()),_0x386937(this,_0x4373b0(0x1dc),new _0x564f4[(_0x4373b0(0x298))](0x0)),_0x386937(this,'revertRevision$',this[_0x4373b0(0x1dc)][_0x4373b0(0x34c)]()),_0x386937(this,_0x4373b0(0x278),new _0x564f4['BehaviorSubject']('')),_0x386937(this,_0x4373b0(0x1c8),this['_unitId$'][_0x4373b0(0x34c)]()),_0x386937(this,'_fetching',!0x1),_0x386937(this,_0x4373b0(0x25b),new _0x564f4[(_0x4373b0(0x298))](_0x4373b0(0x31c))),_0x386937(this,_0x4373b0(0x2f4),this['_loadingState$'][_0x4373b0(0x34c)]()),_0x386937(this,_0x4373b0(0x1cb),null),_0x386937(this,_0x4373b0(0x285),!0x0),_0x386937(this,_0x4373b0(0x338),new Map()),_0x386937(this,'_historyContainerId'),_0x386937(this,_0x4373b0(0x25d)),_0x386937(this,_0x4373b0(0x32d)),_0x386937(this,_0x4373b0(0x399),!0x1),(this[_0x4373b0(0x20c)]=_0x290bcd,this[_0x4373b0(0x327)]=_0x1628b8,this[_0x4373b0(0x1b8)]=_0x3adb2c,this['_historyFetchService']=_0xe8973e);}async['triggerLoadVersions'](_0x3892f5,_0x39fcd3,_0x217348){const _0x4fecf3=_0x49ed4b;this[_0x4fecf3(0x306)]=_0x39fcd3,this['_canRevert']=_0x217348,this['_unitId$'][_0x4fecf3(0x2b5)](_0x3892f5),this[_0x4fecf3(0x1d6)]=!0x0;const _0x3feab2=await this[_0x4fecf3(0x346)][_0x4fecf3(0x33f)](_0x3892f5);if(this[_0x4fecf3(0x1d6)]=!0x1,_0x3feab2){const {versions:_0x1a1d13,lastLabel:_0x175d55,hasMore:_0x1602f8,members:_0x4b8e6a}=_0x3feab2;_0x1a1d13['length']===0x0&&_0x1a1d13['push']({'unitId':_0x3892f5,'id':_0xdae7a6,'startRev':0x1,'endRev':0x0,'time':Date[_0x4fecf3(0x2ec)](),'user':this['_localeService']['t'](_0x4fecf3(0x1e6)),'commands':[],'isAnonymous':!0x1}),this[_0x4fecf3(0x3a2)](_0x1a1d13,_0x1602f8,_0x175d55,_0x4b8e6a),this[_0x4fecf3(0x175)][_0x4fecf3(0x2b5)](_0x1a1d13[0x0]['id']);}else this['_status$'][_0x4fecf3(0x2b5)](_0x4fecf3(0x299));}async[_0x49ed4b(0x314)](){const _0x51136b=_0x49ed4b;if(!this['_lastLabel']||!this[_0x51136b(0x285)]||this[_0x51136b(0x1d6)])return!0x1;this['_fetching']=!0x0;const _0x1f2407=await this['_historyFetchService'][_0x51136b(0x33f)](this['unitId'],this[_0x51136b(0x1cb)]);if(this[_0x51136b(0x1d6)]=!0x1,_0x1f2407){const {versions:_0x30e1cb,lastLabel:_0x34fba7,hasMore:_0x43493f,members:_0x553abd}=_0x1f2407;this[_0x51136b(0x3a2)](_0x30e1cb,_0x43493f,_0x34fba7,_0x553abd);}else this[_0x51136b(0x20c)][_0x51136b(0x1ac)]({'content':this[_0x51136b(0x1b8)]['t'](_0x51136b(0x172)),'type':_0x427142[_0x51136b(0x3a4)][_0x51136b(0x186)],'duration':0xbb8});return!0x0;}async[_0x49ed4b(0x369)](_0x3fd222){const _0x14f37f=_0x49ed4b;var _0xd22107;const _0x4645e4=(_0xd22107=this['_versions$']['value'])==null?void 0x0:_0xd22107[_0x14f37f(0x3a7)](_0x3db2bc=>_0x3db2bc['id']===_0x3fd222),{endRev:_0x22d029}=_0x4645e4||{};_0x22d029||_0x22d029===0x0?(this['_loadingState$'][_0x14f37f(0x2b5)]('loading'),await this['_historyFetchService'][_0x14f37f(0x20e)](this['unitId'],_0x22d029),this['_loadingState$'][_0x14f37f(0x2b5)]('loaded')):this[_0x14f37f(0x2f0)][_0x14f37f(0x2b5)](_0x14f37f(0x299));}async[_0x49ed4b(0x17a)](_0x59c42d){const _0x2cd04b=_0x49ed4b,_0x4c9e55=_0x59c42d?this[_0x2cd04b(0x199)](_0x59c42d):this[_0x2cd04b(0x34a)]();if(!_0x4c9e55)return;const _0x124f80=_0x4c9e55[_0x2cd04b(0x2a6)],_0x438c17=_0x1d5840(_0x4c9e55['time'],this[_0x2cd04b(0x1b8)][_0x2cd04b(0x2b3)]());await this[_0x2cd04b(0x327)]['confirm']({'id':_0x2cd04b(0x194),'title':{'title':this['_localeService']['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x2cd04b(0x1b8)]['t'](_0x2cd04b(0x386))+_0x2cd04b(0x3a3)+_0x438c17[_0x2cd04b(0x37b)]+'\x20'+_0x438c17['time']+')'},'cancelText':this[_0x2cd04b(0x1b8)]['t'](_0x2cd04b(0x241)),'confirmText':this[_0x2cd04b(0x1b8)]['t'](_0x2cd04b(0x266))})&&this[_0x2cd04b(0x1dc)][_0x2cd04b(0x2b5)](_0x124f80);}[_0x49ed4b(0x3a2)](_0xb44208,_0x29e5a5,_0x7a6c81,_0x34bbfc){const _0x31c74d=_0x49ed4b;this[_0x31c74d(0x394)]['next'](this[_0x31c74d(0x394)]['value']['concat'](_0xb44208)),this['_hasMore']=_0x29e5a5,this[_0x31c74d(0x1cb)]=_0x7a6c81,_0x34bbfc&&Object[_0x31c74d(0x2df)](_0x34bbfc)[_0x31c74d(0x353)](_0x31cbd3=>this[_0x31c74d(0x338)][_0x31c74d(0x1d9)](_0x31cbd3,_0x34bbfc[_0x31cbd3]));}[_0x49ed4b(0x34a)](){return this['getVersion'](this['_currentVersion$']['value']);}[_0x49ed4b(0x199)](_0x2f0b0d){const _0x4f88e9=_0x49ed4b;var _0x3e2b75;return(_0x3e2b75=this['_versions$']['value'])==null?void 0x0:_0x3e2b75[_0x4f88e9(0x3a7)](_0x1c368c=>_0x1c368c['id']===_0x2f0b0d);}['getMember'](_0x106c02){const _0x5bb381=_0x49ed4b;return this[_0x5bb381(0x338)][_0x5bb381(0x36b)](_0x106c02);}[_0x49ed4b(0x236)](){const _0x59aff6=_0x49ed4b;this[_0x59aff6(0x32d)]=document[_0x59aff6(0x36c)](_0x59aff6(0x22b)),this['_maskElement'][_0x59aff6(0x343)]=_0x59aff6(0x32b),this[_0x59aff6(0x32d)][_0x59aff6(0x228)][_0x59aff6(0x1d3)]='absolute',this[_0x59aff6(0x32d)][_0x59aff6(0x228)][_0x59aff6(0x246)]='0',this[_0x59aff6(0x32d)][_0x59aff6(0x228)]['left']='0',this[_0x59aff6(0x32d)]['style'][_0x59aff6(0x189)]='100%',this['_maskElement'][_0x59aff6(0x228)][_0x59aff6(0x2c2)]='100%',this[_0x59aff6(0x32d)][_0x59aff6(0x228)]['backgroundColor']=_0x59aff6(0x290),this[_0x59aff6(0x32d)]['style'][_0x59aff6(0x2e9)]=_0x59aff6(0x1cd),this[_0x59aff6(0x32d)][_0x59aff6(0x228)][_0x59aff6(0x370)]=_0x59aff6(0x1c4),this[_0x59aff6(0x32d)][_0x59aff6(0x228)]['justifyContent']='center',this[_0x59aff6(0x32d)]['style']['zIndex']='1000',this['_maskElement'][_0x59aff6(0x228)][_0x59aff6(0x370)]='none',this[_0x59aff6(0x25d)][_0x59aff6(0x304)](this[_0x59aff6(0x32d)]);}[_0x49ed4b(0x23b)](){const _0x1f61b3=_0x49ed4b;var _0xb2f4e1;const _0x36c79a=(_0xb2f4e1=document['getElementById'](this['_historyContainerId']))==null?void 0x0:_0xb2f4e1['querySelector'](_0x1f61b3(0x1f0));_0x36c79a&&(this[_0x1f61b3(0x25d)]=_0x36c79a,this['_createMask']());}[_0x49ed4b(0x28e)](){const _0x3bcd79=_0x49ed4b;this['_maskContainer']||this[_0x3bcd79(0x23b)](),this[_0x3bcd79(0x32d)]&&(this[_0x3bcd79(0x32d)][_0x3bcd79(0x228)][_0x3bcd79(0x370)]='flex');}[_0x49ed4b(0x331)](){const _0x2d8f96=_0x49ed4b;this[_0x2d8f96(0x32d)]&&(this[_0x2d8f96(0x32d)][_0x2d8f96(0x228)][_0x2d8f96(0x370)]=_0x2d8f96(0x217));}set[_0x49ed4b(0x231)](_0x4aa627){const _0x4d0fb9=_0x49ed4b;this[_0x4d0fb9(0x2f0)][_0x4d0fb9(0x2b5)](_0x4aa627);}set[_0x49ed4b(0x2a3)](_0x37dfc7){const _0x24b3fe=_0x49ed4b;_0x37dfc7!==this[_0x24b3fe(0x175)]['value']&&this[_0x24b3fe(0x175)]['next'](_0x37dfc7);}get[_0x49ed4b(0x2a3)](){return this['_currentVersion$']['value'];}set[_0x49ed4b(0x1af)](_0x4a8b33){const _0x52db0c=_0x49ed4b;this[_0x52db0c(0x278)]['next'](_0x4a8b33);}get[_0x49ed4b(0x1af)](){const _0x4aec7c=_0x49ed4b;return this[_0x4aec7c(0x278)][_0x4aec7c(0x352)];}get[_0x49ed4b(0x2f2)](){return this['_canRevert'];}get[_0x49ed4b(0x371)](){const _0x3c0ea8=_0x49ed4b;return this['_loadingState$'][_0x3c0ea8(0x352)];}},_0x35604f[_0x49ed4b(0x359)]=_0x3109a5([_0x34ed6a(0x0,_0x52e672[_0x49ed4b(0x38d)]),_0x34ed6a(0x1,_0x52e672['IConfirmService']),_0x34ed6a(0x2,_0x37bc8e['Inject'](_0x37bc8e[_0x49ed4b(0x1e4)])),_0x34ed6a(0x3,_0x37bc8e['Inject'](_0xdac991))],_0x35604f[_0x49ed4b(0x359)]);function _0x4c76cd({ref:_0x2fde72,..._0x679c79}){const _0x1fa14a=_0x49ed4b,{icon:_0x4c170c,id:_0x24a048,className:_0x22fb61,extend:_0x67a471,..._0x225072}=_0x679c79,_0x5c67db=(_0x1fa14a(0x1f7)+_0x24a048+'\x20'+(_0x22fb61||''))[_0x1fa14a(0x211)](),_0x5a10e1=_0x57e528[_0x1fa14a(0x354)]('_'+_0x3d9744());return _0x3366d3(_0x4c170c,''+_0x24a048,{'defIds':_0x4c170c[_0x1fa14a(0x393)],'idSuffix':_0x5a10e1[_0x1fa14a(0x203)]},{'ref':_0x2fde72,'className':_0x5c67db,..._0x225072},_0x67a471);}function _0x3366d3(_0x5e43c5,_0x54d195,_0xe941fa,_0x46e3f6,_0x4765a5){const _0x534ab8=_0x49ed4b;return _0x57e528[_0x534ab8(0x36c)](_0x5e43c5['tag'],{'key':_0x54d195,..._0x2f2a1a(_0x5e43c5,_0xe941fa,_0x4765a5),..._0x46e3f6},(_0x53386f(_0x5e43c5,_0xe941fa)['children']||[])[_0x534ab8(0x363)]((_0x3bb6b8,_0x1dd0ef)=>_0x3366d3(_0x3bb6b8,_0x54d195+'-'+_0x5e43c5[_0x534ab8(0x2fd)]+'-'+_0x1dd0ef,_0xe941fa,void 0x0,_0x4765a5)));}function _0x2f2a1a(_0x31c6bb,_0x449e11,_0x1a14a1){const _0x58c339=_0x49ed4b,_0xed957b={..._0x31c6bb[_0x58c339(0x3ac)]};_0x1a14a1!=null&&_0x1a14a1[_0x58c339(0x35e)]&&_0xed957b[_0x58c339(0x25a)]===_0x58c339(0x35e)&&(_0xed957b[_0x58c339(0x25a)]=_0x1a14a1['colorChannel1']),_0x31c6bb[_0x58c339(0x2fd)]===_0x58c339(0x3a0)&&_0xed957b['id']&&(_0xed957b['id']=_0xed957b['id']+_0x449e11[_0x58c339(0x326)]),Object[_0x58c339(0x34b)](_0xed957b)[_0x58c339(0x353)](([_0xf22052,_0x1b2ba7])=>{const _0x29a52c=_0x58c339;_0xf22052===_0x29a52c(0x3a0)&&typeof _0x1b2ba7==_0x29a52c(0x284)&&(_0xed957b[_0xf22052]=_0x1b2ba7[_0x29a52c(0x325)](/url\(#(.*)\)/,'url(#$1'+_0x449e11[_0x29a52c(0x326)]+')'));});const {defIds:_0x36fcaa}=_0x449e11;return!_0x36fcaa||_0x36fcaa[_0x58c339(0x378)]===0x0||(_0x31c6bb['tag']===_0x58c339(0x3a1)&&_0xed957b[_0x58c339(0x178)]&&(_0xed957b[_0x58c339(0x178)]=_0xed957b[_0x58c339(0x178)]+_0x449e11[_0x58c339(0x326)]),Object['entries'](_0xed957b)[_0x58c339(0x353)](([_0x25c0eb,_0x1c859b])=>{const _0x5f9d2c=_0x58c339;typeof _0x1c859b==_0x5f9d2c(0x284)&&(_0xed957b[_0x25c0eb]=_0x1c859b[_0x5f9d2c(0x325)](/url\(#(.*)\)/,_0x5f9d2c(0x1e8)+_0x449e11[_0x5f9d2c(0x326)]+')'));})),_0xed957b;}function _0x53386f(_0x409b7d,_0x11d58e){const _0x3b293b=_0x49ed4b;var _0x40a79f;const {defIds:_0x28c4b4}=_0x11d58e;return!_0x28c4b4||_0x28c4b4['length']===0x0?_0x409b7d:_0x409b7d[_0x3b293b(0x2fd)]===_0x3b293b(0x18b)&&((_0x40a79f=_0x409b7d[_0x3b293b(0x204)])!=null&&_0x40a79f['length'])?{..._0x409b7d,'children':_0x409b7d[_0x3b293b(0x204)][_0x3b293b(0x363)](_0x43c57d=>typeof _0x43c57d[_0x3b293b(0x3ac)]['id']==_0x3b293b(0x284)&&_0x28c4b4&&_0x28c4b4['includes'](_0x43c57d['attrs']['id'])?{..._0x43c57d,'attrs':{..._0x43c57d[_0x3b293b(0x3ac)],'id':_0x43c57d[_0x3b293b(0x3ac)]['id']+_0x11d58e['idSuffix']}}:_0x43c57d)}:_0x409b7d;}function _0x3d9744(){const _0x32b74f=_0x49ed4b;return Math[_0x32b74f(0x223)]()[_0x32b74f(0x29c)](0x24)[_0x32b74f(0x17d)](0x2,0x8);}_0x4c76cd[_0x49ed4b(0x2c3)]=_0x49ed4b(0x21a);const _0x579479={'tag':_0x49ed4b(0x3a6),'attrs':{'xmlns':_0x49ed4b(0x291),'fill':_0x49ed4b(0x217),'viewBox':_0x49ed4b(0x1a1),'width':_0x49ed4b(0x1f8),'height':'1em'},'children':[{'tag':_0x49ed4b(0x182),'attrs':{'fill':'currentColor','d':_0x49ed4b(0x2cb)}}]},_0x5dd39a=_0x57e528['forwardRef'](function(_0x1947b7,_0x22fbad){const _0x44d643=_0x49ed4b;return _0x57e528['createElement'](_0x4c76cd,Object[_0x44d643(0x34d)]({},_0x1947b7,{'id':_0x44d643(0x300),'ref':_0x22fbad,'icon':_0x579479}));});_0x5dd39a['displayName']=_0x49ed4b(0x341);const _0x28f9ea={'tag':_0x49ed4b(0x3a6),'attrs':{'xmlns':_0x49ed4b(0x291),'fill':_0x49ed4b(0x217),'viewBox':_0x49ed4b(0x1c6),'width':_0x49ed4b(0x1f8),'height':_0x49ed4b(0x1f8)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0x49ed4b(0x182),'attrs':{'d':'M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z'}},{'tag':_0x49ed4b(0x182),'attrs':{'d':_0x49ed4b(0x1bf),'fillRule':_0x49ed4b(0x28a),'clipRule':'evenodd'}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x49ed4b(0x24d),'attrs':{'id':_0x49ed4b(0x275)},'children':[{'tag':_0x49ed4b(0x3aa),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x49ed4b(0x1cd),'rx':0x4}}]}]}],'defIds':[_0x49ed4b(0x275)]},_0x2d8557=_0x57e528[_0x49ed4b(0x273)](function(_0x254ddb,_0x181c3b){const _0xcffa75=_0x49ed4b;return _0x57e528[_0xcffa75(0x36c)](_0x4c76cd,Object[_0xcffa75(0x34d)]({},_0x254ddb,{'id':_0xcffa75(0x1ca),'ref':_0x181c3b,'icon':_0x28f9ea}));});_0x2d8557[_0x49ed4b(0x2c3)]=_0x49ed4b(0x375);const _0x2d771f={'tag':_0x49ed4b(0x3a6),'attrs':{'xmlns':_0x49ed4b(0x291),'fill':_0x49ed4b(0x217),'viewBox':_0x49ed4b(0x1a1),'width':_0x49ed4b(0x1f8),'height':'1em'},'children':[{'tag':_0x49ed4b(0x182),'attrs':{'fill':'#0B9EFB','d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x49ed4b(0x28a),'clipRule':_0x49ed4b(0x28a)}},{'tag':_0x49ed4b(0x182),'attrs':{'fill':_0x49ed4b(0x38f),'d':'M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','fillRule':'evenodd','clipRule':_0x49ed4b(0x28a)}}]},_0x76b676=_0x57e528[_0x49ed4b(0x273)](function(_0x4b7cc1,_0x110244){const _0x4624e1=_0x49ed4b;return _0x57e528[_0x4624e1(0x36c)](_0x4c76cd,Object['assign']({},_0x4b7cc1,{'id':_0x4624e1(0x251),'ref':_0x110244,'icon':_0x2d771f}));});_0x76b676[_0x49ed4b(0x2c3)]=_0x49ed4b(0x385);function _0x385747(){const _0x1d98b1=_0x49ed4b;var _0x360973;const _0x128119=_0x52e672['useDependency'](_0x35604f[_0x1d98b1(0x359)]),_0x50c43e=_0x52e672[_0x1d98b1(0x190)](_0x37bc8e['LocaleService']),_0x2b5af3=_0x57e528[_0x1d98b1(0x1ed)](()=>{const _0x378f6e=_0x1d98b1;_0x128119[_0x378f6e(0x231)]=_0x25cc45[_0x378f6e(0x30c)];},[_0x128119]),_0x20668b=_0x57e528['useCallback'](()=>{const _0x1bb432=_0x1d98b1;_0x128119[_0x1bb432(0x17a)]();},[_0x128119]),_0x497cba=_0x52e672[_0x1d98b1(0x210)](_0x128119['currentVersion$']),_0x590492=_0x52e672[_0x1d98b1(0x210)](_0x128119['versions$']),_0x2bce91=_0x497cba===((_0x360973=_0x590492==null?void 0x0:_0x590492[0x0])==null?void 0x0:_0x360973['id']),_0x4c7ca6=_0x497cba!==''&&!_0x2bce91&&_0x128119[_0x1d98b1(0x2f2)];return _0x14d5ca['jsxs'](_0x1d98b1(0x22b),{'className':_0x427142[_0x1d98b1(0x2d4)]('univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center',_0x427142['borderBottomClassName']),'children':[_0x14d5ca['jsx']('a',{'className':'univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','role':_0x1d98b1(0x219),'onClick':_0x2b5af3,'children':_0x14d5ca[_0x1d98b1(0x2af)](_0x5dd39a,{'className':_0x1d98b1(0x1c5)})}),_0x14d5ca['jsx'](_0x1d98b1(0x22b),{'className':_0x1d98b1(0x213),'children':_0x4c7ca6&&_0x14d5ca['jsx'](_0x427142[_0x1d98b1(0x2d5)],{'variant':'primary','onClick':_0x20668b,'children':_0x50c43e['t']('editHistory.header.revert')})})]});}var _0x5e5cdf=Object[_0x49ed4b(0x1b4)],_0x12c6f9=(_0xa4d0a2,_0x5e31b5,_0x1c8a83,_0x1321ec)=>{const _0x1579b9=_0x49ed4b;for(var _0x4b4a0a=_0x1321ec>0x1?void 0x0:_0x1321ec?_0x5e5cdf(_0x5e31b5,_0x1c8a83):_0x5e31b5,_0x374dff=_0xa4d0a2[_0x1579b9(0x378)]-0x1,_0x295d41;_0x374dff>=0x0;_0x374dff--)(_0x295d41=_0xa4d0a2[_0x374dff])&&(_0x4b4a0a=_0x295d41(_0x4b4a0a)||_0x4b4a0a);return _0x4b4a0a;},_0x1d0e97=(_0x4a31ad,_0x80c3fb)=>(_0x1c2dd7,_0x2c10fb)=>_0x80c3fb(_0x1c2dd7,_0x2c10fb,_0x4a31ad);let _0x194052=class extends _0x37bc8e[_0x49ed4b(0x283)]{constructor(_0x42ed21,_0x45d18c,_0x37c6d8,_0xfce6b4,_0x50e8a7,_0x50f194){const _0x3e497e=_0x49ed4b;super(),this[_0x3e497e(0x305)]=_0x42ed21,this['_uiPartsService']=_0x45d18c,this['_messageService']=_0x37c6d8,this[_0x3e497e(0x1b8)]=_0xfce6b4,this[_0x3e497e(0x2e1)]=_0x50e8a7,this['_injector']=_0x50f194,this[_0x3e497e(0x244)]();}[_0x49ed4b(0x244)](){const _0xff260=_0x49ed4b;this[_0xff260(0x337)](this[_0xff260(0x2e1)]['currentVersion$'][_0xff260(0x196)](_0x2b648a=>{const _0x236e8e=_0xff260;_0x2b648a&&this[_0x236e8e(0x2e1)][_0x236e8e(0x369)](_0x2b648a);})),this[_0xff260(0x337)](this[_0xff260(0x305)][_0xff260(0x1a5)][_0xff260(0x196)](_0x2a475a=>{const _0xf3b349=_0xff260,_0x2feade=this[_0xf3b349(0x2e1)][_0xf3b349(0x1af)];_0x2feade&&(_0x2a475a[_0xf3b349(0x1e0)]===_0x2de1e8[_0xf3b349(0x1b5)]&&_0x2a475a[_0xf3b349(0x352)]===!0x0&&this[_0xf3b349(0x305)][_0xf3b349(0x24c)](new _0x5636be[(_0xf3b349(0x360))](_0x2feade)['id'],!0x1),_0x2a475a[_0xf3b349(0x1e0)]===_0x2de1e8[_0xf3b349(0x215)]&&_0x2a475a[_0xf3b349(0x352)]===!0x0&&this[_0xf3b349(0x305)][_0xf3b349(0x24c)](new _0x5636be[(_0xf3b349(0x30d))](_0x2feade)['id'],!0x1),_0x2a475a[_0xf3b349(0x1e0)]===_0x2de1e8[_0xf3b349(0x192)]&&_0x2a475a[_0xf3b349(0x352)]===!0x0&&this[_0xf3b349(0x305)][_0xf3b349(0x24c)](new _0x5636be[(_0xf3b349(0x2e7))](_0x2feade)['id'],!0x1),_0x2a475a['subType']===_0x2de1e8[_0xf3b349(0x1f2)]&&_0x2a475a['value']===!0x0&&this[_0xf3b349(0x305)][_0xf3b349(0x24c)](new _0x5636be[(_0xf3b349(0x2fc))](_0x2feade)['id'],!0x1),_0x2a475a[_0xf3b349(0x1e0)]===_0x2de1e8[_0xf3b349(0x20b)]&&_0x2a475a[_0xf3b349(0x352)]===!0x0&&this[_0xf3b349(0x305)][_0xf3b349(0x24c)](new _0x5636be[(_0xf3b349(0x360))](_0x2feade)['id'],!0x1),_0x2a475a['subType']===_0x2de1e8['FloatImg']&&_0x2a475a[_0xf3b349(0x352)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x5636be['WorkbookEditablePermission'](_0x2feade)['id'],!0x1));})),this[_0xff260(0x337)](this[_0xff260(0x372)]['registerComponent'](_0x52e672['BuiltInUIPart'][_0xff260(0x2fa)],()=>_0x52e672[_0xff260(0x2cd)](_0x385747,this['_injector']))),this['disposeWithMe'](this[_0xff260(0x2e1)][_0xff260(0x2f4)][_0xff260(0x196)](_0x1595e9=>{const _0x2d1efe=_0xff260;_0x1595e9===_0x4536c2['Loading']&&(this[_0x2d1efe(0x2e1)][_0x2d1efe(0x28e)](),this[_0x2d1efe(0x20c)]['show']({'type':_0x427142[_0x2d1efe(0x3a4)][_0x2d1efe(0x257)],'content':this[_0x2d1efe(0x1b8)]['t'](_0x2d1efe(0x365))})),_0x1595e9===_0x4536c2[_0x2d1efe(0x201)]&&this[_0x2d1efe(0x2e1)]['hideMask']();}));}};_0x194052=_0x12c6f9([_0x1d0e97(0x0,_0x37bc8e[_0x49ed4b(0x1ab)]),_0x1d0e97(0x1,_0x52e672['IUIPartsService']),_0x1d0e97(0x2,_0x52e672[_0x49ed4b(0x38d)]),_0x1d0e97(0x3,_0x37bc8e[_0x49ed4b(0x324)](_0x37bc8e[_0x49ed4b(0x1e4)])),_0x1d0e97(0x4,_0x37bc8e['Inject'](_0x35604f[_0x49ed4b(0x359)])),_0x1d0e97(0x5,_0x37bc8e[_0x49ed4b(0x324)](_0x37bc8e[_0x49ed4b(0x2c5)]))],_0x194052);var _0x521085=Object['getOwnPropertyDescriptor'],_0x57df6a=(_0x4bd4b4,_0x2883b5,_0x103b1f,_0x1bb416)=>{for(var _0x264037=_0x1bb416>0x1?void 0x0:_0x1bb416?_0x521085(_0x2883b5,_0x103b1f):_0x2883b5,_0x36784c=_0x4bd4b4['length']-0x1,_0x46c79a;_0x36784c>=0x0;_0x36784c--)(_0x46c79a=_0x4bd4b4[_0x36784c])&&(_0x264037=_0x46c79a(_0x264037)||_0x264037);return _0x264037;},_0x234ddb=(_0x28dffa,_0x2e8b0e)=>(_0x510208,_0x35e839)=>_0x2e8b0e(_0x510208,_0x35e839,_0x28dffa);let _0x281785=class extends _0x37bc8e[_0x49ed4b(0x283)]{constructor(_0x147e19,_0x4ced12,_0x494efb){const _0x5b83b5=_0x49ed4b;super(),_0x386937(this,_0x5b83b5(0x23f),new Map()),_0x386937(this,_0x5b83b5(0x3a9),new _0x564f4[(_0x5b83b5(0x298))]({'ranges':new Map(),'active':null})),_0x386937(this,_0x5b83b5(0x351),this[_0x5b83b5(0x3a9)][_0x5b83b5(0x34c)]()),(this[_0x5b83b5(0x2e1)]=_0x147e19,this[_0x5b83b5(0x36e)]=_0x4ced12,this['_snapshotServerService']=_0x494efb,this[_0x5b83b5(0x244)]());}['_init'](){const _0x39c85f=_0x49ed4b;this[_0x39c85f(0x23f)]=new Map(),this[_0x39c85f(0x337)](this['_historyManagerService'][_0x39c85f(0x1c8)]['subscribe'](_0x40cf03=>{const _0x5daff4=_0x39c85f;_0x40cf03&&!this[_0x5daff4(0x23f)]['has'](_0x40cf03)&&this['_diffRangesMap'][_0x5daff4(0x1d9)](_0x40cf03,new Map());})),this[_0x39c85f(0x337)](this[_0x39c85f(0x2e1)][_0x39c85f(0x1b2)][_0x39c85f(0x196)](async _0x3aa54c=>{const _0x27f405=_0x39c85f;var _0x399398;_0x3aa54c&&(await this[_0x27f405(0x310)](_0x3aa54c),this[_0x27f405(0x3a9)]['next'](((_0x399398=this[_0x27f405(0x23f)][_0x27f405(0x36b)](this[_0x27f405(0x2e1)][_0x27f405(0x1af)]))==null?void 0x0:_0x399398[_0x27f405(0x36b)](_0x3aa54c))||{'ranges':new Map(),'active':null}));}));}async[_0x49ed4b(0x310)](_0x4f9b81){const _0x1762dc=_0x49ed4b;var _0x1c8bcc,_0x52d927;const _0x3d3d2e=this[_0x1762dc(0x2e1)][_0x1762dc(0x199)](_0x4f9b81),_0x7e4070=this[_0x1762dc(0x2e1)][_0x1762dc(0x1af)];if(!_0x3d3d2e||!_0x7e4070)return;const _0x49e2ab=this['_diffRangesMap'][_0x1762dc(0x36b)](_0x7e4070);if(_0x49e2ab||this['_diffRangesMap'][_0x1762dc(0x1d9)](_0x7e4070,new Map()),(_0x1c8bcc=this['_diffRangesMap']['get'](_0x7e4070))!=null&&_0x1c8bcc[_0x1762dc(0x334)](_0x3d3d2e['id']))return;const {startRev:_0x54efa1,endRev:_0x224369}=_0x3d3d2e;if(_0x54efa1===0x1){_0x49e2ab[_0x1762dc(0x1d9)](_0x3d3d2e['id'],{'ranges':new Map(),'active':null});return;}const _0x165029=_0x54efa1-0x1,_0x33499c=_0x224369,_0x118394=await this[_0x1762dc(0x312)][_0x1762dc(0x2ef)]({},{'unitID':_0x7e4070,'from':_0x165029,'to':_0x33499c,'type':_0x16fabb['UNIVER_SHEET']});if(((_0x52d927=_0x118394[_0x1762dc(0x299)])==null?void 0x0:_0x52d927[_0x1762dc(0x301)])===_0x494040['OK']){const _0xad198d=_0x118394[_0x1762dc(0x1fc)]['map'](_0x505f49=>((_0x505f49[_0x1762dc(0x17e)]===null||_0x505f49[_0x1762dc(0x17e)]===void 0x0)&&(_0x505f49[_0x1762dc(0x17e)]=[]),_0x27dc7c[_0x1762dc(0x1fe)](_0x505f49)))[_0x1762dc(0x363)](_0x378bb7=>_0x378bb7[_0x1762dc(0x17e)]['map'](_0x141348=>({..._0x141348,'params':{..._0x141348[_0x1762dc(0x30f)],'memberId':_0x378bb7['userID']}})))[_0x1762dc(0x2f5)](),_0x27c9c2=this[_0x1762dc(0x242)](_0xad198d),_0x5887cd=this[_0x1762dc(0x22a)](_0xad198d),_0x70f12f=this[_0x1762dc(0x1f3)](_0x27c9c2);_0x49e2ab[_0x1762dc(0x1d9)](_0x3d3d2e['id'],{'ranges':_0x70f12f,'active':_0x5887cd});}}[_0x49ed4b(0x242)](_0x1792ca){const _0x10d5fe=_0x49ed4b;let _0x3547d3=[];for(let _0x4436c4=0x0;_0x4436c4<_0x1792ca[_0x10d5fe(0x378)];_0x4436c4++){const _0x52d04d=_0x1792ca[_0x4436c4];if(_0x3547d3[_0x10d5fe(0x21c)](_0x52d04d),_0x4436c4!==_0x1792ca[_0x10d5fe(0x378)]-0x1){const _0x728668=_0x1792ca[_0x4436c4+0x1],_0x369af9=this['_transformService'][_0x10d5fe(0x1bd)](_0x3547d3,[_0x728668]);_0x27dc7c['isTransformMutationsSuccess'](_0x369af9)?_0x3547d3=_0x369af9[_0x10d5fe(0x309)]:_0x3547d3=[];}}return _0x3547d3;}[_0x49ed4b(0x22a)](_0x158fbe){const _0x267ef3=_0x49ed4b;let _0x448976=[];return _0x158fbe['forEach'](_0x2ec368=>{const _0x4637ee=_0x5278;if(_0x2ec368['id']===_0x5636be[_0x4637ee(0x1fa)]['id']){const _0x3eccbb=_0x2ec368['params'];_0x448976[_0x4637ee(0x21c)](_0x3eccbb[_0x4637ee(0x39e)]['id']);}else{if(_0x2ec368['id']===_0x5636be[_0x4637ee(0x2bf)]['id']){const _0xadb0f2=_0x2ec368[_0x4637ee(0x30f)];_0x448976['length']>0x0&&(_0x448976=_0x448976[_0x4637ee(0x33b)](_0x599fcc=>_0x599fcc!==_0xadb0f2[_0x4637ee(0x25f)]));}else{if(_0x2ec368['id']===_0x5636be[_0x4637ee(0x2d2)]['id']){const _0xd4c34b=_0x2ec368[_0x4637ee(0x30f)];_0xd4c34b[_0x4637ee(0x1c1)]?_0x448976=_0x448976[_0x4637ee(0x33b)](_0x2a5286=>_0x2a5286!==_0xd4c34b[_0x4637ee(0x25f)]):_0x448976[_0x4637ee(0x21c)](_0xd4c34b[_0x4637ee(0x25f)]);}else{const _0x3c55fb=_0x2ec368[_0x4637ee(0x30f)];_0x3c55fb[_0x4637ee(0x25f)]&&_0x448976[_0x4637ee(0x21c)](_0x3c55fb[_0x4637ee(0x25f)]);}}}}),_0x448976[_0x267ef3(0x378)]>0x0?_0x448976[_0x448976[_0x267ef3(0x378)]-0x1]:null;}[_0x49ed4b(0x1f3)](_0x1b9b37){const _0x4579a7=_0x49ed4b,_0x52a288=new Map();return _0x1b9b37[_0x4579a7(0x353)](_0x2e81a8=>{const _0x422897=_0x4579a7;var _0x339ef6,_0x2baab2;const _0x4b91f4=(_0x339ef6=_0x2e81a8[_0x422897(0x30f)])==null?void 0x0:_0x339ef6[_0x422897(0x377)];if(_0x4b91f4){_0x52a288[_0x422897(0x334)](_0x4b91f4)||_0x52a288[_0x422897(0x1d9)](_0x4b91f4,[]);const _0x5ad0ca=this[_0x422897(0x270)](_0x2e81a8);(_0x2baab2=_0x52a288[_0x422897(0x36b)](_0x4b91f4))==null||_0x2baab2[_0x422897(0x21c)](..._0x5ad0ca);}}),_0x52a288[_0x4579a7(0x353)]((_0x2327c5,_0x420bf9)=>{const _0x469d8c=_0x4579a7;_0x52a288['set'](_0x420bf9,this[_0x469d8c(0x384)](_0x2327c5));}),_0x52a288;}[_0x49ed4b(0x270)](_0x50fa3c){const _0x931577=_0x49ed4b;switch(_0x50fa3c['id']){case _0x5636be[_0x931577(0x35f)]['id']:{const _0x1fbe48=_0x50fa3c['params'];return _0x1fbe48[_0x931577(0x20f)][_0x931577(0x363)](_0x3e1f90=>_0x3e1f90[_0x931577(0x3ad)]['map'](_0x4f6aeb=>({'range':_0x4f6aeb,'unitId':_0x1fbe48[_0x931577(0x1af)],'subUnitId':_0x1fbe48['subUnitId']})))['flat']();}case _0x5636be[_0x931577(0x39a)]['id']:{const _0x13060c=_0x50fa3c[_0x931577(0x30f)];return _0x13060c[_0x931577(0x3ad)]['map'](_0x59de9f=>({'range':_0x59de9f,'unitId':_0x13060c[_0x931577(0x1af)],'subUnitId':_0x13060c[_0x931577(0x25f)]}));}case _0x5636be[_0x931577(0x1a9)]['id']:{const _0x30f1bf=_0x50fa3c[_0x931577(0x30f)];return[{'range':_0x30f1bf[_0x931577(0x17c)],'unitId':_0x30f1bf[_0x931577(0x1af)],'subUnitId':_0x30f1bf['subUnitId']}];}case _0x5636be[_0x931577(0x2d1)]['id']:{const _0x296a34=_0x50fa3c[_0x931577(0x30f)];return[{'range':_0x296a34[_0x931577(0x17c)],'unitId':_0x296a34[_0x931577(0x1af)],'subUnitId':_0x296a34[_0x931577(0x25f)]}];}case _0x5636be[_0x931577(0x1e1)]['id']:{const _0x45ba72=_0x50fa3c[_0x931577(0x30f)],{from:_0x515b0d,to:_0x25f879,unitId:_0x19f58f}=_0x45ba72;return[{'range':_0x19a92c(_0x515b0d['value']),'unitId':_0x19f58f,'subUnitId':_0x515b0d['subUnitId']},{'range':_0x19a92c(_0x25f879[_0x931577(0x352)]),'unitId':_0x19f58f,'subUnitId':_0x25f879['subUnitId']}];}case _0x5636be[_0x931577(0x29e)]['id']:{const _0x5b520c=_0x50fa3c[_0x931577(0x30f)],{unitId:_0x487ebd,subUnitId:_0x495ec6,sourceRange:_0x3aabb3,targetRange:_0x4aaaaa}=_0x5b520c,_0x18f6a4=_0x3aabb3[_0x931577(0x2da)]-_0x3aabb3[_0x931577(0x361)]+0x1;return[{'range':_0x4aaaaa[_0x931577(0x361)]<=_0x3aabb3[_0x931577(0x361)]?_0x4aaaaa:{..._0x4aaaaa,'startRow':_0x4aaaaa[_0x931577(0x361)]-_0x18f6a4,'endRow':_0x4aaaaa[_0x931577(0x2da)]-_0x18f6a4},'unitId':_0x487ebd,'subUnitId':_0x495ec6}];}case _0x5636be[_0x931577(0x2eb)]['id']:{const _0x4a39c9=_0x50fa3c['params'],{unitId:_0x358511,subUnitId:_0x8cc3d2,sourceRange:_0x1a407a,targetRange:_0xe90932}=_0x4a39c9,_0x2c70fe=_0x1a407a[_0x931577(0x32a)]-_0x1a407a[_0x931577(0x26a)]+0x1;return[{'range':_0xe90932['startColumn']<=_0x1a407a['startColumn']?_0xe90932:{..._0xe90932,'startColumn':_0xe90932[_0x931577(0x26a)]-_0x2c70fe,'endColumn':_0xe90932[_0x931577(0x32a)]-_0x2c70fe},'unitId':_0x358511,'subUnitId':_0x8cc3d2}];}case _0x5636be[_0x931577(0x321)]['id']:{const _0x5d2cb4=_0x50fa3c[_0x931577(0x30f)],{values:_0x4084b4,unitId:_0x34341b,subUnitId:_0x3466c1}=_0x5d2cb4;return Object[_0x931577(0x32f)](_0x4084b4)[_0x931577(0x363)](_0x2828b9=>_0x2828b9[_0x931577(0x3ad)][_0x931577(0x363)](_0x487fe4=>({'range':_0x487fe4,'unitId':_0x34341b,'subUnitId':_0x3466c1})))[_0x931577(0x2f5)]();}case _0x5636be[_0x931577(0x2b4)]['id']:{const _0x487248=_0x50fa3c['params'],{ranges:_0x5780ab,unitId:_0xbf11a0,subUnitId:_0x15faf4}=_0x487248;return _0x5780ab['map'](_0x3ea287=>({'range':_0x3ea287,'unitId':_0xbf11a0,'subUnitId':_0x15faf4}));}case _0x5636be[_0x931577(0x357)]['id']:{const _0x4e0fb2=_0x50fa3c[_0x931577(0x30f)],{unitId:_0x54c695,subUnitId:_0x406268,range:_0x3eee11}=_0x4e0fb2;return[{'range':_0x3eee11,'unitId':_0x54c695,'subUnitId':_0x406268}];}case _0x5636be['SetRangeProtectionMutation']['id']:{const _0x20a465=_0x50fa3c[_0x931577(0x30f)];return _0x20a465['rule'][_0x931577(0x3ad)][_0x931577(0x363)](_0x1e44c2=>({'range':_0x1e44c2,'unitId':_0x20a465[_0x931577(0x1af)],'subUnitId':_0x20a465[_0x931577(0x25f)]}));}case _0x5636be[_0x931577(0x1e7)]['id']:{const _0x3be9de=_0x50fa3c[_0x931577(0x30f)];return _0x3be9de[_0x931577(0x2db)]?_0x4d692a(_0x3be9de[_0x931577(0x2db)])[_0x931577(0x363)](_0x5d454a=>({'range':_0x5d454a,'unitId':_0x3be9de[_0x931577(0x1af)],'subUnitId':_0x3be9de['subUnitId']})):[];}case _0x2f4848[_0x931577(0x2ad)]['id']:{const _0x3740a0=_0x50fa3c['params'];return[{'range':_0x3740a0['range'],'unitId':_0x3740a0[_0x931577(0x1af)],'subUnitId':_0x3740a0[_0x931577(0x25f)]}];}case _0x28a287[_0x931577(0x171)]['id']:{const _0x33d1e7=_0x50fa3c[_0x931577(0x30f)];return(Array['isArray'](_0x33d1e7[_0x931577(0x271)])?_0x33d1e7[_0x931577(0x271)]:[_0x33d1e7['rule']])[_0x931577(0x363)](_0x25bbda=>_0x25bbda[_0x931577(0x3ad)]['map'](_0x14092d=>({'range':_0x14092d,'unitId':_0x33d1e7[_0x931577(0x1af)],'subUnitId':_0x33d1e7[_0x931577(0x25f)]})))[_0x931577(0x2f5)]();}case _0x837431['SetConditionalRuleMutation']['id']:{const _0x42e005=_0x50fa3c['params'];return _0x42e005[_0x931577(0x271)][_0x931577(0x3ad)][_0x931577(0x363)](_0x10c57f=>({'range':_0x10c57f,'unitId':_0x42e005['unitId'],'subUnitId':_0x42e005[_0x931577(0x25f)]}));}default:return[];}}[_0x49ed4b(0x384)](_0x1d1f9e){const _0x538151=_0x49ed4b;if(_0x1d1f9e['length']<=0x1)return _0x1d1f9e;const _0x383b63=new Map();return _0x1d1f9e[_0x538151(0x353)](_0x2fa9a2=>{const _0x19c340=_0x538151;var _0x4501f5;const {unitId:_0x4aafd1,subUnitId:_0x4953bf}=_0x2fa9a2,_0x4a12be=_0x4aafd1+'-'+_0x4953bf;_0x383b63['has'](_0x4a12be)?(_0x4501f5=_0x383b63[_0x19c340(0x36b)](_0x4a12be))==null||_0x4501f5[_0x19c340(0x21c)](_0x2fa9a2):_0x383b63['set'](_0x4a12be,[_0x2fa9a2]);}),Array[_0x538151(0x1bb)](_0x383b63[_0x538151(0x32f)]())[_0x538151(0x363)](_0x293c95=>new _0x5636be[(_0x538151(0x33e))]()[_0x538151(0x2a4)](..._0x293c95[_0x538151(0x363)](_0x1af127=>_0x1af127[_0x538151(0x17c)]))['merge']()[_0x538151(0x363)](_0x43da68=>({'range':_0x43da68,'unitId':_0x293c95[0x0]['unitId'],'subUnitId':_0x293c95[0x0][_0x538151(0x25f)]})))[_0x538151(0x2f5)]();}};_0x281785=_0x57df6a([_0x234ddb(0x0,_0x37bc8e[_0x49ed4b(0x324)](_0x35604f[_0x49ed4b(0x359)])),_0x234ddb(0x1,_0x27dc7c[_0x49ed4b(0x25c)]),_0x234ddb(0x2,_0x27dc7c['ISnapshotServerService'])],_0x281785);function _0x19a92c(_0xa03cb6){const _0x5bfa4f=_0x49ed4b;return new _0x37bc8e[(_0x5bfa4f(0x1f6))](_0xa03cb6)[_0x5bfa4f(0x262)]();}function _0x4d692a(_0x36cf60){const _0x23a9b9=_0x49ed4b,_0x55f7ab=new _0x37bc8e['ObjectMatrix'](_0x36cf60),_0x570804=new _0x37bc8e[(_0x23a9b9(0x1f6))]();return _0x55f7ab[_0x23a9b9(0x380)]((_0x32cee8,_0xdff4ca)=>{const _0x55e1a6=_0x23a9b9;_0x570804[_0x55e1a6(0x2a2)](_0x32cee8,_0xdff4ca,0x1);}),_0x5636be[_0x23a9b9(0x2b9)](_0x570804);}var _0x485a87=Object[_0x49ed4b(0x1b4)],_0x2e6f64=(_0x10e34b,_0x4de241,_0x63940c,_0x43a5f8)=>{const _0x5af90a=_0x49ed4b;for(var _0x5b0f76=_0x43a5f8>0x1?void 0x0:_0x43a5f8?_0x485a87(_0x4de241,_0x63940c):_0x4de241,_0x153ba9=_0x10e34b[_0x5af90a(0x378)]-0x1,_0x2e33a6;_0x153ba9>=0x0;_0x153ba9--)(_0x2e33a6=_0x10e34b[_0x153ba9])&&(_0x5b0f76=_0x2e33a6(_0x5b0f76)||_0x5b0f76);return _0x5b0f76;},_0x9460df=(_0x12b21d,_0x5a25de)=>(_0x5c5abc,_0x2c5975)=>_0x5a25de(_0x5c5abc,_0x2c5975,_0x12b21d);let _0x5e40c7=class extends _0x37bc8e[_0x49ed4b(0x283)]{constructor(_0x1db260,_0x5e6477,_0x27b803,_0x42bd5c,_0x24e71f,_0xd75877,_0x39fae7){const _0x23de7e=_0x49ed4b;super(),_0x386937(this,_0x23de7e(0x2ff),new Set()),_0x386937(this,'_lastPointer',null),(this['_context']=_0x1db260,this['_historyManagerService']=_0x5e6477,this[_0x23de7e(0x19f)]=_0x27b803,this[_0x23de7e(0x237)]=_0x42bd5c,this[_0x23de7e(0x187)]=_0x24e71f,this[_0x23de7e(0x18f)]=_0xd75877,this[_0x23de7e(0x398)]=_0x39fae7,this[_0x23de7e(0x244)]());}[_0x49ed4b(0x244)](){const _0xe6face=_0x49ed4b;this[_0xe6face(0x2f3)](),this['_initActiveSwitch']();}[_0x49ed4b(0x2f3)](){const _0x577608=_0x49ed4b;this[_0x577608(0x337)](_0x564f4[_0x577608(0x267)]([this['_historyManagerService'][_0x577608(0x2f4)],this[_0x577608(0x18f)][_0x577608(0x243)]])[_0x577608(0x2b8)](_0x564f4[_0x577608(0x364)](([_0x1142e9,_0x522fd0])=>{const _0x5368ec=_0x577608;if(_0x1142e9===_0x4536c2[_0x5368ec(0x201)]&&_0x522fd0){const _0x8dae15=_0x522fd0[_0x5368ec(0x2e2)];return this[_0x5368ec(0x19f)][_0x5368ec(0x351)][_0x5368ec(0x2b8)](_0x564f4[_0x5368ec(0x363)](_0x22706c=>{const _0x15c057=_0x5368ec,_0xa91022=new Map();return _0x22706c[_0x15c057(0x3ad)]['forEach']((_0x8ff0ba,_0x4bf87d)=>{const _0x509c80=_0x15c057,_0x5deb69=_0x8ff0ba[_0x509c80(0x33b)](_0x335949=>_0x335949[_0x509c80(0x25f)]===_0x8dae15);_0xa91022['set'](_0x4bf87d,_0x5deb69);}),{'skeleton':_0x522fd0,'diffs':_0xa91022};}));}return _0x564f4['of']({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x531f27,diffs:_0x1b45c9})=>{const _0x1d7c8b=_0x577608;this[_0x1d7c8b(0x333)](),_0x531f27&&this[_0x1d7c8b(0x2b7)](_0x531f27,_0x1b45c9);})),this['disposeWithMe'](this[_0x577608(0x18f)][_0x577608(0x243)][_0x577608(0x196)](_0x58645e=>{const _0x11df59=_0x577608;if(_0x58645e==null)return;const {skeleton:_0x1372ee}=_0x58645e,{scene:_0x208fb4}=this['_context'];_0x208fb4[_0x11df59(0x2cc)]['subscribeEvent'](_0x37bc8e[_0x11df59(0x348)](_0x4af4cb=>{const _0x13abbb=_0x11df59;var _0x16255f,_0x368bb6;const {offsetX:_0x27c211,offsetY:_0x34cb54}=_0x4af4cb,{x:_0xc8333a,y:_0x1c165b}=_0x208fb4['getRelativeToViewportCoord'](_0x30b220[_0x13abbb(0x22e)][_0x13abbb(0x2c9)]([_0x27c211,_0x34cb54])),{scaleX:_0x5b1144,scaleY:_0x2c6067}=_0x208fb4[_0x13abbb(0x356)](),_0x25f08d=_0x208fb4[_0x13abbb(0x307)](_0x30b220[_0x13abbb(0x35d)][_0x13abbb(0x28d)]),_0x35740d=_0x208fb4['getVpScrollXYInfoByPosToVp'](_0x30b220['Vector2'][_0x13abbb(0x2c9)]([_0xc8333a,_0x1c165b]),_0x25f08d),_0x3d0463=_0x1372ee[_0x13abbb(0x2e8)](_0x27c211,_0x34cb54,_0x5b1144,_0x2c6067,_0x35740d);((_0x16255f=this[_0x13abbb(0x33c)])==null?void 0x0:_0x16255f[_0x13abbb(0x2f7)])===_0x3d0463[_0x13abbb(0x2f7)]&&((_0x368bb6=this['_lastPointer'])==null?void 0x0:_0x368bb6[_0x13abbb(0x1e5)])===_0x3d0463['row']||this['_diffs'][_0x13abbb(0x353)](_0x3ebbe5=>{const _0x11623f=_0x13abbb;_0x3ebbe5[_0x11623f(0x20a)](_0x3d0463);});},0x64));}));}[_0x49ed4b(0x2ac)](){const _0x5261b3=_0x49ed4b;this[_0x5261b3(0x337)](this[_0x5261b3(0x2e1)][_0x5261b3(0x2f4)]['subscribe'](_0x25b66d=>{const _0x1ab662=_0x5261b3,_0x3c7781=new _0x37bc8e['DisposableCollection']();return _0x25b66d===_0x4536c2[_0x1ab662(0x201)]&&(_0x3c7781[_0x1ab662(0x1be)](),_0x3c7781['add'](this[_0x1ab662(0x19f)][_0x1ab662(0x351)]['subscribe'](_0x1259e8=>{const _0x4df6f0=_0x1ab662;_0x1259e8[_0x4df6f0(0x1e3)]&&this[_0x4df6f0(0x398)]['executeCommand'](_0x5636be[_0x4df6f0(0x397)]['id'],{'unitId':this[_0x4df6f0(0x274)]['unitId'],'subUnitId':_0x1259e8[_0x4df6f0(0x1e3)]});}))),()=>_0x3c7781[_0x1ab662(0x1be)]();}));}[_0x49ed4b(0x2b7)](_0x501370,_0x585a18){const _0x4dc302=_0x49ed4b;var _0x25bac3;const _0x4312d2=(_0x25bac3=this[_0x4dc302(0x18f)]['getCurrent']())==null?void 0x0:_0x25bac3[_0x4dc302(0x31d)];if(!_0x4312d2)return;this[_0x4dc302(0x2ff)][_0x4dc302(0x353)](_0x1829e7=>{const _0x47fb04=_0x4dc302;_0x1829e7[_0x47fb04(0x2e6)]();});const {scene:_0x4fdb71}=this[_0x4dc302(0x274)],_0x3325d1=Array['from'](_0x585a18[_0x4dc302(0x2df)]())[_0x4dc302(0x363)](_0x4a8c6e=>_0x585a18[_0x4dc302(0x36b)](_0x4a8c6e)[_0x4dc302(0x363)](_0x3b41db=>{const _0x1d5945=_0x4dc302;var _0xfd4600;const {range:_0x1e8d2f,subUnitId:_0x236e5a,unitId:_0x29c45a}=_0x3b41db,{startColumn:_0x4272ee,startRow:_0x344538,endColumn:_0x188cac,endRow:_0x2402dc}=_0x1e8d2f,_0x3c4edd=_0x3272da['getCoordByCell'](_0x344538,_0x4272ee,_0x4fdb71,_0x4312d2),_0x33023f=_0x3272da[_0x1d5945(0x202)](_0x2402dc,_0x188cac,_0x4fdb71,_0x4312d2),{columnHeaderHeightAndMarginTop:_0x442e5a}=_0x4312d2,{startX:_0x270705,startY:_0x58e720}=_0x3c4edd,{endX:_0x26cbaa,endY:_0x56b045}=_0x33023f,_0x317665=_0x26cbaa-_0x270705,_0x2a516a=_0x56b045-_0x58e720,_0x193d32={'labelPosition':_0x58e720-_0x442e5a>=0x14?'top':_0x1d5945(0x2ea),'sheetID':_0x236e5a,'range':_0x1e8d2f,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x1d5945(0x389),'name':((_0xfd4600=this[_0x1d5945(0x2e1)]['getMember'](_0x4a8c6e))==null?void 0x0:_0xfd4600['name'])||'','selection':_0x29c45a+'-'+_0x236e5a+'-'+_0x1e8d2f[_0x1d5945(0x26a)]+'-'+_0x1e8d2f[_0x1d5945(0x361)]+'-'+_0x1e8d2f['endColumn']+'-'+_0x1e8d2f[_0x1d5945(0x2da)],'left':_0x270705,'top':_0x58e720,'width':_0x317665,'height':_0x2a516a,'evented':!0x1,'zIndex':0x1};return new _0x475d42[(_0x1d5945(0x328))]('',_0x193d32);}))[_0x4dc302(0x2f5)]();_0x4fdb71[_0x4dc302(0x282)](_0x3325d1,0x1),this[_0x4dc302(0x2ff)]=new Set(_0x3325d1);}[_0x49ed4b(0x333)](){const _0x123d1e=_0x49ed4b;var _0x14ccbd;(_0x14ccbd=this[_0x123d1e(0x2ff)])==null||_0x14ccbd[_0x123d1e(0x353)](_0x28aa86=>_0x28aa86[_0x123d1e(0x1be)]());}[_0x49ed4b(0x234)](){const _0x22b7b1=_0x49ed4b;return _0x3272da[_0x22b7b1(0x2b0)](this[_0x22b7b1(0x237)],this[_0x22b7b1(0x187)]);}};_0x5e40c7=_0x2e6f64([_0x9460df(0x1,_0x37bc8e['Inject'](_0x35604f[_0x49ed4b(0x359)])),_0x9460df(0x2,_0x37bc8e[_0x49ed4b(0x324)](_0x281785)),_0x9460df(0x3,_0x37bc8e[_0x49ed4b(0x288)]),_0x9460df(0x4,_0x30b220[_0x49ed4b(0x19c)]),_0x9460df(0x5,_0x37bc8e['Inject'](_0x3272da[_0x49ed4b(0x258)])),_0x9460df(0x6,_0x37bc8e['ICommandService'])],_0x5e40c7);function _0xe98917(){const _0x3e276a=_0x49ed4b,_0x51238b=_0x52e672[_0x3e276a(0x190)](_0x35604f[_0x3e276a(0x359)]),_0x42664f=_0x52e672['useObservable'](_0x51238b['versions$']),[_0xc2b774,_0x2b8868]=_0x57e528[_0x3e276a(0x24a)](!0x1),_0x72f745=_0xcf43ff(_0x42664f);return _0x42664f?_0x14d5ca[_0x3e276a(0x2af)](_0x3e276a(0x22b),{'className':'univer-overflow-hidden','children':_0x14d5ca[_0x3e276a(0x292)](_0x3e276a(0x22b),{'className':'univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','children':[_0x72f745[_0x3e276a(0x363)]((_0x52d23c,_0x42b760)=>_0x14d5ca[_0x3e276a(0x292)](_0x57e528[_0x3e276a(0x276)],{'children':[_0x14d5ca[_0x3e276a(0x2af)](_0x309000,{'date':_0x52d23c['dateString']}),_0x52d23c[_0x3e276a(0x2bb)][_0x3e276a(0x363)]((_0xca0f9e,_0x4b4b7d)=>_0x14d5ca[_0x3e276a(0x2af)](_0x46ebfb,{'index':[_0x42b760,_0x4b4b7d],'item':_0xca0f9e},_0x42b760+'-'+_0x4b4b7d))]},_0x52d23c[_0x3e276a(0x317)])),_0xc2b774&&_0x14d5ca[_0x3e276a(0x2af)](_0x55eee4,{})]})}):_0x14d5ca['jsx'](_0x3187af,{});}function _0x55eee4(){const _0x3e5086=_0x49ed4b;return _0x14d5ca[_0x3e5086(0x2af)](_0x3e5086(0x22b),{'className':'univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','children':_0x14d5ca[_0x3e5086(0x2af)](_0x76b676,{'className':'univer-animate-spin'})});}function _0x3187af(){const _0x429c6d=_0x49ed4b;return _0x14d5ca[_0x429c6d(0x2af)](_0x429c6d(0x22b),{'className':_0x429c6d(0x23c),'children':_0x14d5ca[_0x429c6d(0x2af)](_0x429c6d(0x2e3),{'className':_0x429c6d(0x180),'children':_0x14d5ca['jsx'](_0x76b676,{'className':_0x429c6d(0x261)})})});}function _0x309000(_0x123fef){const _0x3eb341=_0x49ed4b,_0x13927d=_0x52e672[_0x3eb341(0x190)](_0x37bc8e[_0x3eb341(0x1e4)]),{date:_0x1df1b0}=_0x123fef;return _0x14d5ca['jsx'](_0x3eb341(0x22b),{'className':_0x3eb341(0x362),'children':_0x16b3ea(_0x1df1b0,_0x13927d[_0x3eb341(0x2b3)]())});}function _0x46ebfb(_0x1dfff3){const _0x48fda4=_0x49ed4b,{item:_0x318843,index:_0x2e9e1f}=_0x1dfff3,{time:_0x1d36e8,user:_0x1a50c2}=_0x318843,[_0x27ba6b,_0x3cfc17]=_0x2e9e1f,_0x1d99e6=_0x52e672[_0x48fda4(0x190)](_0x35604f[_0x48fda4(0x359)]),_0xa350ba=_0x52e672[_0x48fda4(0x210)](_0x1d99e6[_0x48fda4(0x1b2)],'',!0x0)===_0x318843['id'],_0x1e8b12=_0x27ba6b===0x0&&_0x3cfc17===0x0,_0x46a474=!_0x1e8b12&&_0x1d99e6[_0x48fda4(0x2f2)],_0x44b87f=_0x52e672[_0x48fda4(0x190)](_0x37bc8e[_0x48fda4(0x1e4)]),_0x37f607=_0x44b87f[_0x48fda4(0x2b3)](),_0x7d5f2a=_0x1d5840(_0x1d36e8,_0x37f607),_0x473ff7=_0x44b87f['t'](_0x48fda4(0x2ca)),_0x39bd03=_0x57e528[_0x48fda4(0x1ed)](_0x5cc2ef=>{const _0x16500e=_0x48fda4;_0x1d99e6[_0x16500e(0x371)]!==_0x4536c2[_0x16500e(0x227)]&&(_0x1d99e6[_0x16500e(0x2a3)]=_0x5cc2ef);},[_0x1d99e6]),_0x3b9498=_0x57e528[_0x48fda4(0x1ed)](_0xa2cc0c=>{_0x1d99e6['triggerRevert'](_0xa2cc0c);},[_0x1d99e6]);return _0x14d5ca['jsxs'](_0x48fda4(0x22b),{'className':_0x427142['clsx'](_0x48fda4(0x35b),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0xa350ba}),'onClick':()=>_0x39bd03(_0x318843['id']),'children':[_0x14d5ca['jsxs'](_0x48fda4(0x22b),{'className':'univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','children':[_0x14d5ca[_0x48fda4(0x292)](_0x48fda4(0x22b),{'className':_0x48fda4(0x198),'children':[_0x14d5ca[_0x48fda4(0x2af)](_0x48fda4(0x2e3),{'children':_0x7d5f2a[_0x48fda4(0x263)]}),_0x1e8b12&&_0x14d5ca[_0x48fda4(0x2af)](_0x48fda4(0x2e3),{'className':_0x48fda4(0x35a),'children':_0x473ff7})]}),_0x14d5ca[_0x48fda4(0x2af)](_0x48fda4(0x22b),{'children':_0x46a474&&_0x14d5ca[_0x48fda4(0x2af)](_0x427142[_0x48fda4(0x2f1)],{'title':_0x44b87f['t'](_0x48fda4(0x32c)),'children':_0x14d5ca[_0x48fda4(0x2af)](_0x48fda4(0x22b),{'onClick':_0x98d8db=>{const _0x294d62=_0x48fda4;_0x98d8db[_0x294d62(0x366)](),_0x3b9498(_0x318843['id']);},'className':_0x48fda4(0x2b2),'children':_0x14d5ca[_0x48fda4(0x2af)](_0x2d8557,{})})})})]}),_0x14d5ca[_0x48fda4(0x2af)](_0x48fda4(0x22b),{'className':_0x48fda4(0x388),'children':_0x2f1f25(_0x318843,_0x44b87f)})]});}var _0x854712=Object['getOwnPropertyDescriptor'],_0x433699=(_0x473393,_0x15d662,_0x4de8aa,_0x3a10fa)=>{const _0x11af63=_0x49ed4b;for(var _0x4c2a6b=_0x3a10fa>0x1?void 0x0:_0x3a10fa?_0x854712(_0x15d662,_0x4de8aa):_0x15d662,_0x157fd9=_0x473393[_0x11af63(0x378)]-0x1,_0x5c6a2a;_0x157fd9>=0x0;_0x157fd9--)(_0x5c6a2a=_0x473393[_0x157fd9])&&(_0x4c2a6b=_0x5c6a2a(_0x4c2a6b)||_0x4c2a6b);return _0x4c2a6b;},_0xe2ce4=(_0xa5d2f1,_0x194cfa)=>(_0x4a3e51,_0x3c74ea)=>_0x194cfa(_0x4a3e51,_0x3c74ea,_0xa5d2f1);const _0xa6f9fb=_0x49ed4b(0x2a7);let _0x2fcae4=class extends _0x37bc8e[_0x49ed4b(0x283)]{constructor(_0x23e2be,_0x20d0e8,_0x283b75,_0x23ffd0){const _0x1893ac=_0x49ed4b;super(),_0x386937(this,_0x1893ac(0x2e5),null),(this['_sidebarService']=_0x23e2be,this[_0x1893ac(0x395)]=_0x20d0e8,this['_localeService']=_0x283b75,this['_historyManagerService']=_0x23ffd0,this[_0x1893ac(0x244)]());}[_0x49ed4b(0x244)](){const _0x320346=_0x49ed4b;this[_0x320346(0x2be)](),this['_openPanel']();}[_0x49ed4b(0x2fb)](){const _0x1eea62=_0x49ed4b;if(this[_0x1eea62(0x2e5)])return;const _0x208b3={'header':{'title':this[_0x1eea62(0x1b8)]['t'](_0x1eea62(0x1ee))},'children':{'label':_0xa6f9fb},'onClose':()=>{const _0x496e4e=_0x1eea62;this[_0x496e4e(0x2e5)]=null,this[_0x496e4e(0x2e1)][_0x496e4e(0x231)]=_0x25cc45[_0x496e4e(0x30c)];}};this[_0x1eea62(0x2e5)]=this[_0x1eea62(0x1ec)][_0x1eea62(0x17b)]({..._0x208b3});}[_0x49ed4b(0x2be)](){const _0x990fd9=_0x49ed4b;this[_0x990fd9(0x337)](this[_0x990fd9(0x395)][_0x990fd9(0x247)](_0xa6f9fb,_0xe98917)),this['disposeWithMe'](this[_0x990fd9(0x1ec)][_0x990fd9(0x27f)][_0x990fd9(0x2b8)](_0x564f4[_0x990fd9(0x32e)](0x64))[_0x990fd9(0x196)](_0x1e35d1=>{const _0xd3f7cd=_0x990fd9,{target:_0x4168fd}=_0x1e35d1||{};if(_0x4168fd){const {scrollTop:_0x16be7f,scrollHeight:_0x50f9d2,clientHeight:_0x296673}=_0x4168fd;_0x16be7f+_0x296673>=_0x50f9d2-0x5&&this[_0xd3f7cd(0x2e1)]['loadMoreVersions']();}}));}};_0x2fcae4=_0x433699([_0xe2ce4(0x0,_0x52e672[_0x49ed4b(0x1b6)]),_0xe2ce4(0x1,_0x37bc8e[_0x49ed4b(0x324)](_0x52e672[_0x49ed4b(0x387)])),_0xe2ce4(0x2,_0x37bc8e[_0x49ed4b(0x324)](_0x37bc8e[_0x49ed4b(0x1e4)])),_0xe2ce4(0x3,_0x37bc8e[_0x49ed4b(0x324)](_0x35604f['HistoryManagerService']))],_0x2fcae4);class _0x1547ab extends _0x37bc8e[_0x49ed4b(0x283)]{constructor(){const _0x3c05be=_0x49ed4b;super(),_0x386937(this,_0x3c05be(0x379),new _0x564f4['Subject']());}[_0x49ed4b(0x17b)](){return _0x37bc8e['toDisposable'](()=>{});}[_0x49ed4b(0x1aa)](){}[_0x49ed4b(0x344)](_0x51a56d){}['getDialogs$'](){const _0x5de724=_0x49ed4b;return this[_0x5de724(0x379)]['asObservable']();}}var _0x1353d4=Object['defineProperty'],_0x5e50d1=Object[_0x49ed4b(0x1b4)],_0x36b607=(_0x4d29a9,_0x50410a,_0x406477)=>_0x50410a in _0x4d29a9?_0x1353d4(_0x4d29a9,_0x50410a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x406477}):_0x4d29a9[_0x50410a]=_0x406477,_0x481e02=(_0x1e60da,_0xf27e9c,_0x448aec,_0x4c8cb1)=>{for(var _0x37e9fc=_0x4c8cb1>0x1?void 0x0:_0x4c8cb1?_0x5e50d1(_0xf27e9c,_0x448aec):_0xf27e9c,_0x700513=_0x1e60da['length']-0x1,_0x580117;_0x700513>=0x0;_0x700513--)(_0x580117=_0x1e60da[_0x700513])&&(_0x37e9fc=_0x580117(_0x37e9fc)||_0x37e9fc);return _0x37e9fc;},_0x59d527=(_0x3e0294,_0x9fdd3c)=>(_0x550684,_0x30c3cb)=>_0x9fdd3c(_0x550684,_0x30c3cb,_0x3e0294),_0x2b0ace=(_0x570807,_0x5a620a,_0x124ca0)=>_0x36b607(_0x570807,_0x5a620a+'',_0x124ca0);const _0x127062=_0x49ed4b(0x31e);_0x35604f['UniverEditHistoryViewerPlugin']=class extends _0x37bc8e[_0x49ed4b(0x1ef)]{constructor(_0x25af56=_0x1cbf71,_0x547d4f,_0xb863bb,_0x2ebc53){const _0x10ea89=_0x49ed4b;super(),this[_0x10ea89(0x238)]=_0x25af56,this[_0x10ea89(0x1a3)]=_0x547d4f,this[_0x10ea89(0x187)]=_0xb863bb,this[_0x10ea89(0x1a2)]=_0x2ebc53;const {..._0x40edc7}=_0x37bc8e['merge']({},_0x1cbf71,this[_0x10ea89(0x238)]);this[_0x10ea89(0x1a2)][_0x10ea89(0x27b)](_0x1a7f92,_0x40edc7);}['onStarting'](){const _0x3c393e=_0x49ed4b;[[_0x35604f[_0x3c393e(0x359)]],[_0x194052],[_0x281785],[_0xdac991],[_0x2fcae4],[_0x1bbd79],[_0x27dc7c['ISnapshotServerService'],{'useClass':_0x50ff9d[_0x3c393e(0x350)]}],[_0x52e672[_0x3c393e(0x3ab)],{'useClass':_0x1547ab}],[_0x4710f1[_0x3c393e(0x36d)],{'useClass':_0x50ff9d[_0x3c393e(0x1a7)]}]][_0x3c393e(0x353)](_0x2b5846=>this[_0x3c393e(0x1a3)][_0x3c393e(0x2a4)](_0x2b5846)),this[_0x3c393e(0x1a3)][_0x3c393e(0x36b)](_0x194052);}[_0x49ed4b(0x2f6)](){const _0x2c7fee=_0x49ed4b;[[_0x5e40c7]][_0x2c7fee(0x353)](_0x504754=>{const _0x5b991c=_0x2c7fee;this[_0x5b991c(0x337)](this['_renderManagerService'][_0x5b991c(0x280)](_0x37bc8e[_0x5b991c(0x2d8)][_0x5b991c(0x212)],_0x504754));}),this[_0x2c7fee(0x1a3)][_0x2c7fee(0x36b)](_0x1bbd79),this['_injector'][_0x2c7fee(0x36b)](_0x2fcae4);}[_0x49ed4b(0x235)](){const _0x3d2ce6=_0x49ed4b;this[_0x3d2ce6(0x1a3)]['get'](_0x281785);}},_0x2b0ace(_0x35604f['UniverEditHistoryViewerPlugin'],_0x49ed4b(0x1d0),_0x127062),_0x35604f[_0x49ed4b(0x2c1)]=_0x481e02([_0x37bc8e[_0x49ed4b(0x1cc)](_0x3272da[_0x49ed4b(0x216)],_0x1fb47b[_0x49ed4b(0x240)]),_0x59d527(0x1,_0x37bc8e['Inject'](_0x37bc8e[_0x49ed4b(0x2c5)])),_0x59d527(0x2,_0x30b220[_0x49ed4b(0x19c)]),_0x59d527(0x3,_0x37bc8e[_0x49ed4b(0x37a)])],_0x35604f[_0x49ed4b(0x2c1)]),_0x35604f[_0x49ed4b(0x2c6)]=_0x25cc45,Object[_0x49ed4b(0x1b3)](_0x35604f,Symbol[_0x49ed4b(0x39c)],{'value':_0x49ed4b(0x260)});}));function _0x59a3(){const _0x4b7e0e=['LocaleType','removeSheet','entered','loading-multi-icon','rev','INTERNAL_ERROR','EditExtraObject','split','loaded','Info','SheetSkeletonManagerService','PY_RUNTIME_SCRIPT_ERROR','fill','_loadingState$','ITransformService','_maskContainer','status$','subUnitId','Module','univer-m-auto\x20univer-animate-spin','getDataRange','time','SetConditionalRuleMutation','TOO_MANY_REQUESTS','editHistory.panel.confirm','combineLatest','UniverDesign','APPLY_NON_SEQUENTIAL_REVISION','startColumn','ENTITLE_DUP_SUBSCRIPTION','ENTITLE_CHAT_LIMIT_EXCEED','function','body','toISOString','_getRangesByMutation','rule','[HistoryFetchService]:\x20request\x20snapshot\x20error!','forwardRef','_context','restore-icon_clip0_1247_2','Fragment','data','_unitId$','Delete','ENTITLE_INSUFFICIENT_QUOTA','setConfig','addSparkline','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','@univerjs/design','scrollEvent$','registerRenderModule','setState','addObjects','Disposable','string','_hasMore','createTime','@univerjs/sheets-filter','IUniverInstanceService','CopySheet','evenodd','LOGIN_TOKEN_PROCESSING_FAILED','symbol','VIEW_MAIN','showMask','22HdeyMP','rgba(225,\x20225,\x20225,\x200.5)','http://www.w3.org/2000/svg','jsxs','APPLY_REVISION_CONFILICT','revertSheet','SNAPSHOT_HAS_BEEN_REMOVED','ENSURE_SNAPSHOT_EXECUTION','DeleteSheet','BehaviorSubject','error','ICommandService','@univerjs/network','toString','CURRENT_STATUS_CANNOT_OPERATE','MoveRowsMutation','LICENSE_DISTRO_REJECTED','@univerjs-pro/collaboration-client','UniverEngineRender','setValue','currentVersion','add','loading','endRev','history-panel','APPLY_PERMISSION_DENIED','COMPLETION_FINISHED','APPLY_DUPLICATED','View','_initActiveSwitch','SetSheetsFilterRangeMutation','setCF','jsx','getSheetObject','Export','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','getCurrentLocale','RemoveNumfmtMutation','next','commands','_updateDiffMarks','pipe','findAllRectangle','382795HpZLwc','versions','Copy','entities','_initPanel','RemoveSheetMutation','DeleteWorksheetProtectionMutation','UniverEditHistoryViewerPlugin','height','displayName','addProtection','Injector','HistoryModeStatus','setFrozen','ERROR_AGAIN','FromArray','editHistory.panel.currentVersion','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','onPointerMove$','connectInjector','UNIVER_PROJECT','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','edit-history-viewer.config','InsertColMutation','SetWorksheetHideMutation','deleteProtection','clsx','Button','SetCellStyle','HTTPService','UniverInstanceType','DATA_SOURCE_TOO_LARGE','endRow','cellValue','PAYMENT_CHANNEL_NOT_SUPPORT','@univerjs/ui','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','keys','UniverDataValidation','_historyManagerService','sheetId','span','YUUMI_RATE_OVER_LIMIT','_sidebarDisposable','makeDirty','WorkbookMoveSheetPermission','getCellPositionByOffset','color','bottom','MoveColsMutation','now','getUnitId','syncExecuteCommand','fetchMissingChangesets','_status$','Tooltip','canRevert','_initRender','loadingState$','flat','onRendered','column','RenameWorksheet','REDEMPTION_INVALID_CODE','HEADER','_openPanel','WorkbookHideSheetPermission','tag','EMAIL_HAS_BEEN_BOUND','_diffs','back-icon','code','USER_IS_ANONYMOUS','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','append','_permissionService','_historyContainerId','getViewport','SetCellValue','m1Prime','UNAUTHENTICATED','UNIVER_UNKNOWN','Exited','WorkbookRenameSheetPermission','UniverProSheetsSparkline','params','ensureVersion','MoveWorksheet','_snapshotServerService','MOBILE_VERIFY_CODE_MISMATCH','loadMoreVersions','711800sqRSXa','then','dateString','ENTITLE_NEED_BILLING_ADDRESS','ViewFilter','INVITE_CODE_REQUIRED','YUUMI_CONNECTOR_URL_NOT_FOUND','init','skeleton','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','DeleteColumn','recoverTime','SetNumfmtMutation','SheetPermissionInitController','CHANGESET_REVISION_CONFILICT','Inject','replace','idSuffix','_confirmService','SheetCollabCursorShape','parse','endColumn','history-mask','editHistory.panel.revertDesc','_maskElement','debounceTime','values','React','hideMask','History','_removeDiffMarks','has','InsertColumn','WECHAT_HAS_BEEN_BOUND','disposeWithMe','_members','YUUMI_URL_COL_OUT_OF_RANGE','amd','filter','_lastPointer','UNDEFINED','RangeMergeUtil','getVersions','refreshRangeProtectPermission','BackIcon','_createUnit','className','closeAll','getMinutes','_historyFetchService','708570dgtLEf','debounce','@univerjs/sheets-conditional-formatting','getCurrentVersion','entries','asObservable','assign','UNIVER_DOC','editHistory.action.etc','SnapshotServerOverHTTPService','currentVersionDiff$','value','forEach','useRef','49wOMBgk','getAncestorScale','ReorderRangeMutation','HideWorksheet','HistoryManagerService','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','UNIVER_SLIDE','SHEET_VIEWPORT_KEY','colorChannel1','AddRangeProtectionMutation','WorkbookEditablePermission','startRow','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','map','switchMap','editHistory.info.loading','stopPropagation','Filter','4oBILuG','triggerLoadSheet','967953bsafOZ','get','createElement','IImageIoService','_transformService','INVALID_ARGUMENT','display','loadingState','_uiPartsService','INVITE_CODE_HAS_BEEN_UES','VIRTUAL_VERSION_NOW','RestoreIcon','YUUMI_TABLE_NOT_FOUND_IN_UNIT','memberId','length','_dialogOptions$','IConfigService','date','_sheetPermissionInitController','Share','REDEMPTION_CODE_FULLY_REDEEMED','SelectUnProtectedCells','forValue','ENTITLE_CAN_NOT_BUY_LOWER_OTP','disposeUnit','ALREADY_EXISTS','_combineRanges','LoadingMultiIcon','editHistory.panel.revertConfirmText','ComponentManager','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','rgba(58,\x2096,\x20247,\x200.20)','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','&lastLabel=','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','IMessageService','MOBILE_HAS_BEEN_BOUND','#0B9EFB','@univerjs/core','CreatePermissionObject','LICENSE_IMPORT_SIZE_EXCEEDED','defIds','_versions$','_componentManager','84450esftCB','SetWorksheetActiveOperation','_commandService','_canRevert','AddWorksheetMergeMutation','_getAPIPrefix','toStringTag','getConfig','sheet','YUUMI_AI_RUN_FAILED','mask','use','_updateVersions',':\x20(','MessageType','ENTITLE_REPORT_LIMIT_EXCEED','svg','find','name','_currentVersionDiff$','rect','IDialogService','attrs','ranges','exports','CONNECTOR_DATA_TOO_LARGE','AddDataValidationMutation','editHistory.panel.listFetchError','SetWorksheetStyle','FloatImg','_currentVersion$','AUTHORIZE_CODE_ILLEGAL','interceptor','xlink:href','YUUMI_UNABLE_LOAD_URL','triggerRevert','open','range','substring','mutations','YUUMI_ASYNCIO_CANCELLED','univer-text-gray-500','editHistory.action.revertSheetPrefix','path','anonymous','@univerjs-pro/collaboration-client-ui','CreateSheet','Error','_renderManagerService','@univerjs-pro/collaboration','width','@univerjs/sheets','defs','block','editHistory.action.','ManageCollaborator','_sheetSkeletonManagerService','useDependency','editHistory.action.revertSheetSuffix','MoveSheet','versions$','confirm-revert-revision','DeleteWorksheet','subscribe','Entered','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getVersion','transformSnapshotToWorkbookData','3229839TzcqME','IRenderManagerService','LICENSE_EXPORT_SIZE_EXCEEDED','userId','_versionDiffService','_compressMutationService','0\x200\x2016\x2016','_configService','_injector','UniverSheetsUi','permissionPointUpdate$','EMAIL_VERIFY_CODE_MISMATCH','CollaborationImageIoService','UniverProCollaborationClient','InsertRowMutation','close','IPermissionService','show','UniverProCollaborationClientUi','CreateWorksheet','unitId','ViewHistory','getInterceptPoints','currentVersion$','defineProperty','getOwnPropertyDescriptor','Edit','ISidebarService','SetRowStyle','_localeService','historyListServerUrl','reduce','from','hasCommand','transformMutations','dispose','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','editHistory.panel.unknownUser','hidden','user','ViemRwHgtClWdt','flex','univer-text-2xl\x20dark:!univer-text-white','0\x200\x2016\x2017','CreateUnitMutation','unitId$','REDEMPTION_USER_NOT_ELIGIBLE','restore-icon','_lastLabel','DependentOn','white','blockMeta','COMPRESS_MUTATION_APPLY','pluginName','@univerjs/sheets-ui','UniverSheets','position','users','54tMeruV','_fetching','setFilter','UpdateDataValidationMutation','set','PivotTable','blocks','_revertRevision$','@univerjs/data-validation','state$','RevertRevisionMutation','subType','MoveRangeMutation','getDeserializedSheetBlock','active','LocaleService','row','editHistory.panel.currentUser','SetRangeValuesMutation','url(#$1','InsertHyperlink','5613060nZSfOO','INVITE_CODE_ALREADY_BOUND','_sidebarService','useCallback','editHistory.panel.title','Plugin','.univer-app-container-content','SNAPSHOT_INVALID_SNAPSHOT','HideSheet','_extractRanges','DeleteRangeProtectionMutation','EditWorksheetCell','ObjectMatrix','univerjs-icon\x20univerjs-icon-','1em','padStart','InsertSheetMutation','getUnitOnRev','changesets','Print','parseProtocolChangeset','getHours','REDEMPTION_CODE_INACTIVE','Loaded','getCoordByCell','current','children','_workbookDataCache','object','some','RecoverHistory','react/jsx-runtime','onMouseMove','Comment','_messageService','YUUMI_SUBSCRIPTION_NOT_FOUND','loadSheet','rules','useObservable','trim','UNIVER_SHEET','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','react','RenameSheet','UniverSheetsUIPlugin','none','YUUMI_NO_CUBOID_FOR_QUESTION','button','UniverIcon','UniverDrawing','push','SetFrozenMutation','APPLY_REJECT','REDEMPTION_CODE_NOT_STARTED','AddConditionalRuleMutation','NOT_FOUND','_httpService','random','/universer-api/history','PERMISSION_DENIED','INVALID_INVITE_CODE','Loading','style','DeleteRow','_getActiveSubUnitId','div','UNRECOGNIZED','_cellEditorManagerService','Vector2','/list?length=20','REDEMPTION_USER_REDEEM_TIMES_EXCEED','status','ZH_CN','YUUMI_ALL_TABLES_IS_INVALID','_getSheetObject','onSteady','_createMask','_univerInstanceService','_config','2LDTQjd','@univerjs/drawing','_initMaskContainer','univer-flex\x20univer-items-center\x20univer-justify-center','rxjs','AddWorksheetProtectionMutation','_diffRangesMap','UniverNetworkPlugin','editHistory.panel.cancel','_transformMutationByOrder','currentSkeleton$','_init','ICellEditorManagerService','top','register','RwHgtClWdt','USER_NOT_INVITED_CODE','useState','SetColumnStyle','updatePermissionPoint','clipPath'];_0x59a3=function(){return _0x4b7e0e;};return _0x59a3();}
|
|
17
|
+
function _0x1bb1(){const _0x59251d=['_updateVersions','Init','syncExecuteCommand','UniverInstanceType','HistoryModeStatus','rules','HEADER','getHours','SetConditionalRuleMutation','endRev','EMAIL_HAS_BEEN_BOUND','ENTITLE_REPORT_LIMIT_EXCEED','isArray','APPLY_REJECT','getCellPositionByOffset','editHistory.panel.revertConfirm','clipPath','setConfig','ENTITLE_CAN_NOT_BUY_LOWER_OTP','univerjs-icon\x20univerjs-icon-','SetCellStyle','body','historyListServerUrl','USER_NOT_FOUND','WorkbookHideSheetPermission','skeleton','span','debounce','setCF','@univerjs/data-validation','hasCommand','createSheet','RestoreIcon','React','useDependency','UNIVER_SLIDE','IRenderManagerService','RwHgtClWdt','xlink:href','InsertColumn','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','INVALID_ARGUMENT','state$','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','getElementById','getDataRange','setFilter','EditWorksheetCell','SetRangeProtectionMutation','REDEMPTION_CODE_HAS_BEEN_CREATED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','univer-m-auto\x20univer-animate-spin','style','SelectUnProtectedCells','_diffs','YUUMI_URL_COL_OUT_OF_RANGE','editHistory.action.etc','Delete','substring','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','some','connectInjector','SetCellValue','PERMISSION_DENIED','SetWorksheetHideMutation','_localeService','keys','APPLY_NON_SEQUENTIAL_REVISION','6fiNbWR','currentSkeleton$','Share','setDV','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','InsertRowMutation','_versionDiffService','versions$','recoverTime','UniverSheetsUIPlugin','WorkbookMoveSheetPermission','InsertHyperlink','init','defs','RemoveSheetMutation','DeleteRow','debounceTime','showMask','triggerLoadSheet','code','forValue','RangeMergeUtil','hidden','permissionPointUpdate$','getUnitId','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','tag','_members','backgroundColor','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','RecoverHistory','Exited','querySelector','_openPanel','endRow','ENTITLE_INSUFFICIENT_QUOTA','LocaleService','defineProperty','closeAll','stopPropagation','loadMoreVersions','YUUMI_ASYNCIO_CANCELLED','ENSURE_SNAPSHOT_EXECUTION','@univerjs/ui','entered','append','Sort','_configService','loadSheet','path','idSuffix','ReorderRangeMutation','editHistory.panel.currentUser','HTTPService','@univerjs/sheets','column','RemoveNumfmtMutation','editHistory.panel.title','_lastLabel','UniverProCollaborationClient','_sheetPermissionInitController','ViewHistory','confirm-revert-revision','MoveColsMutation','canRevert','status','REDEMPTION_CODE_FULLY_REDEEMED','makeDirty','white','scrollEvent$','find','disposeWithMe','removeSheet','_univerInstanceService','WECHAT_HAS_BEEN_BOUND','AddWorksheetMergeMutation','APPLY_REVISION_CONFILICT','react/jsx-runtime','UniverEditHistoryViewerPlugin','@univerjs-pro/sheets-sparkline','next','onStarting','UniverSheetsConditionalFormatting','/universer-api/history','absolute','loading','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','colorChannel1','YUUMI_AI_RUN_FAILED','button','fill','isTransformMutationsSuccess','SetSheetsFilterRangeMutation','setState','Today','VIEW_MAIN','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','UNIVER_UNKNOWN','transformMutations','color','addSparkline','UniverNetwork','_createUnit','unitId','Loaded','UniverProCollaborationClientUi','_versions$','ENTITLE_NEED_BILLING_ADDRESS','MoveRowsMutation','url(#$1','show','UniverDrawing','MoveSheet','_updateDiffMarks','6065913hkRIyC','BehaviorSubject','now',':\x20(','YUUMI_NO_CUBOID_FOR_QUESTION','toDisposable','LICENSE_MAX_UNITS_EXCEEDED','LOGIN_FAILED','displayName','editHistory.panel.revertDesc','Comment','UNAUTHENTICATED','object','HideWorksheet','_httpService','USER_IS_ANONYMOUS','HideSheet','loadingState','UpdateDataValidationMutation','_maskContainer','ITransformService','YUUMI_ALL_TABLES_IS_INVALID','_combineRanges','versions','_permissionService','time','UNRECOGNIZED','getVpScrollXYInfoByPosToVp','getViewport','_loadingState$','confirm','PAYMENT_CHANNEL_NOT_SUPPORT','ICommandService','error','_sidebarDisposable','getUnitOnRev','currentVersionDiff$','_getSheetObject','_initActiveSwitch','_historyFetchService','REDEMPTION_CODE_INACTIVE','children','_cellEditorManagerService','updatePermissionPoint','NOT_FOUND','bottom','userId','createElement','CURRENT_STATUS_CANNOT_OPERATE','AddConditionalRuleMutation','USER_NOT_INVITED_CODE','users','Fragment','editHistory.info.loading','_uiPartsService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','YUUMI_UNABLE_LOAD_URL','cellValue','zIndex','subUnitId','_removeDiffMarks','switchMap','className','_context','exited','REDEMPTION_INVALID_CODE','_commandService','none','mutations','ALREADY_EXISTS','startRevision','_compressMutationService','_status$','LICENSE_IMPORT_SIZE_EXCEEDED','startRow','Entered','SnapshotServerOverHTTPService','getDeserializedSheetBlock','active','editHistory.header.revert','revertSheet','name','set','FromArray','Duplicate','ranges','range','rgba(225,\x20225,\x20225,\x200.5)','row','_getRangesByMutation','DeleteColumn','_currentVersion$','ENTITLE_DUP_SUBSCRIPTION','univer-text-gray-500','_sheetSkeletonManagerService','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','UNIVER_SHEET','action','workbook','History','@univerjs-pro/collaboration','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ISnapshotServerService','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','dateString','UNDEFINED','_componentManager','CopySheet','CHANGESET_REVISION_CONFILICT','1em','createTime','ManageCollaborator','_canRevert','@univerjs/drawing','ENTITLE_CHAT_LIMIT_EXCEED','UniverSheetsUi','clsx','add','UniverDesign','addProtection','MessageType','parse','insertSheet','InsertRow','_confirmService','data','COMPLETION_FINISHED','editHistory.panel.cancel','SHEET_VIEWPORT_KEY','YUUMI_RATE_OVER_LIMIT','Export','editHistory.action.revertSheetPrefix','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','blocks','@univerjs/sheets-conditional-formatting','_workbookDataCache','Inject','rev','http://www.w3.org/2000/svg','sheetId','focusUnit','getSheetObject','_getActiveSubUnitId','VIRTUAL_VERSION_NOW','UniverEngineRender','IDialogService','CONNECTOR_DATA_TOO_LARGE','BuiltInUIPart','INVITE_CODE_ALREADY_BOUND','DeleteSheet','YUUMI_CONNECTOR_URL_NOT_FOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ERROR_AGAIN','flat','_initPanel','SetColumnStyle','height','IImageIoService','split','getVersion','_initRender','FloatImg','forEach','filter','getCurrentVersion','@univerjs/design','UniverCore','DependentOn','pluginName','getConfig','AUTHORIZE_CODE_ILLEGAL','REDEMPTION_CODE_NOT_STARTED','useState','WorkbookEditablePermission','_diffRangesMap','Disposable','currentVersion','interceptor','CreatePermissionObject','_renderManagerService','PY_RUNTIME_SCRIPT_ERROR','loaded','INVITE_CODE_HAS_BEEN_UES','View','univer-text-2xl\x20dark:!univer-text-white','AddSheetSparklineMutation','currentVersion$','AddRangeProtectionMutation','flex','#0B9EFB','RenameSheet','_initMaskContainer','dispose','APPLY_PERMISSION_DENIED','getCurrentLocale','IMessageService','100%','top','ViemRwHgtClWdt','SetWorksheetStyle','includes','div','Vector2','InsertSheetMutation','ensureVersion','DeleteRangeProtectionMutation','asObservable','function','subType','RevertRevisionMutation','SNAPSHOT_INVALID_SNAPSHOT','blockMeta','restore-icon_clip0_1247_2','_currentVersionDiff$','SetFrozenMutation','startColumn','HistoryManagerService','disposeUnit','MOBILE_HAS_BEEN_BOUND','getMember','univer-overflow-hidden','_injector','SelectProtectedCells','CreateSheet','jsxs','_transformService','merge','memberId','_messageService','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','left','BackIcon','revertRevision$','evenodd','_revertRevision$','_sidebarService','subscribe','IUniverInstanceService','Edit','then','_snapshotServerService','AddDataValidationMutation','CreateWorksheet','has','UniverIcon','current','registerComponent','4196608zMWgfq','url(#restore-icon_clip0_1247_2)','631143BlDaDf','triggerLoadVersions','COMPRESS_MUTATION_APPLY','UNIVER_DOC','useCallback','setValue','open','InsertColMutation','exports','ObjectMatrix','defIds','INTERNAL_ERROR','@univerjs-pro/collaboration-client-ui','use','SheetPermissionInitController','_hasMore','_extractRanges','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','INVITE_CODE_REQUIRED','replace','_init','currentColor','Button','m1Prime','string','APPLY_DUPLICATED','@univerjs-pro/collaboration-client','display','endColumn','rect','ComponentManager','editHistory.panel.listFetchError','CreateUnitMutation','Loading','Copy','0\x200\x2016\x2016','editHistory.action.','REDEMPTION_USER_REDEEM_TIMES_EXCEED','unitId$','useObservable','SNAPSHOT_HAS_BEEN_REMOVED','block','SheetSkeletonManagerService','EditExtraObject','map','length','getVersions','362628OVjWlc','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','REDEMPTION_USER_NOT_ELIGIBLE','rxjs','getInterceptPoints','@univerjs/sheets-ui','params','endRevision','jsx','toStringTag','fetchMissingChangesets','/list?length=20','from','YUUMI_SUBSCRIPTION_NOT_FOUND','back-icon','ICellEditorManagerService','@univerjs/network','MoveWorksheet','pipe','onSteady','getAncestorScale','UniverProSheetsSparkline','_transformMutationByOrder','ViewFilter','svg','useRef','justifyContent','_historyManagerService','register','createUnit','3906455HggmvC','loadingState$','_historyContainerId','&lastLabel=','2009730piBstR','IUIPartsService','registerRenderModule','_unitId$','getMinutes','editHistory.action.revertSheetSuffix','LoadingMultiIcon','Tooltip','PivotTable','UniverSheets','getCoordByCell','getOwnPropertyDescriptor','push','attrs','deleteProtection','commands','_maskElement','value','addObjects','editHistory.panel.revertConfirmText','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','8662864IntbhZ','UniverNetworkPlugin','EMAIL_VERIFY_CODE_MISMATCH','_createMask','_dialogOptions$','hideMask','center','assign','forwardRef','symbol','mask','SetRowStyle','values','getCurrent','ISidebarService','LICENSE_EXPORT_SIZE_EXCEEDED','onMouseMove','clear','LICENSE_DISTRO_REJECTED','executeCommand','_fetching','userID','Injector','entries','UNIVER_PROJECT','combineLatest','1000','SetNumfmtMutation','univer-flex\x20univer-items-center\x20univer-justify-center','_config','Error','toString','@univerjs/engine-render','ZH_CN','date','get','TOO_MANY_REQUESTS','padStart','toISOString','[HistoryFetchService]:\x20request\x20snapshot\x20error!','DisposableCollection','RenameWorksheet','SetWorksheetActiveOperation','WorkbookRenameSheetPermission','rule','close','INVALID_INVITE_CODE','anonymous','triggerRevert','_getAPIPrefix','Module'];_0x1bb1=function(){return _0x59251d;};return _0x1bb1();}function _0x1d45(_0x3ed032,_0x4b070b){const _0x1bb1e6=_0x1bb1();return _0x1d45=function(_0x1d451e,_0x322279){_0x1d451e=_0x1d451e-0x17f;let _0x4256af=_0x1bb1e6[_0x1d451e];return _0x4256af;},_0x1d45(_0x3ed032,_0x4b070b);}(function(_0x1b56ce,_0x2bcbd1){const _0x52961a=_0x1d45,_0x3f37c0=_0x1b56ce();while(!![]){try{const _0x6b8f7e=-parseInt(_0x52961a(0x277))/0x1+-parseInt(_0x52961a(0x2a6))/0x2+-parseInt(_0x52961a(0x2c8))/0x3+parseInt(_0x52961a(0x275))/0x4+parseInt(_0x52961a(0x2c4))/0x5*(parseInt(_0x52961a(0x354))/0x6)+-parseInt(_0x52961a(0x3c6))/0x7+parseInt(_0x52961a(0x2dd))/0x8;if(_0x6b8f7e===_0x2bcbd1)break;else _0x3f37c0['push'](_0x3f37c0['shift']());}catch(_0x2e5af0){_0x3f37c0['push'](_0x3f37c0['shift']());}}}(_0x1bb1,0x89c97),function(_0x22f3af,_0x1c63b0){const _0x385f48=_0x1d45;typeof exports==_0x385f48(0x189)&&typeof module<'u'?_0x1c63b0(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define==_0x385f48(0x24d)&&define['amd']?define([_0x385f48(0x27f),_0x385f48(0x1e1),_0x385f48(0x291),'@univerjs/core',_0x385f48(0x1ee),_0x385f48(0x2fd),_0x385f48(0x2b6),_0x385f48(0x2ab),_0x385f48(0x37f),_0x385f48(0x223),_0x385f48(0x38a),_0x385f48(0x2a9),_0x385f48(0x3a3),_0x385f48(0x32d),_0x385f48(0x203),'@univerjs/sheets-filter',_0x385f48(0x3a1),'react',_0x385f48(0x283)],_0x1c63b0):(_0x22f3af=typeof globalThis<'u'?globalThis:_0x22f3af||self,_0x1c63b0(_0x22f3af['UniverProEditHistoryViewer']={},_0x22f3af['UniverProCollaboration'],_0x22f3af[_0x385f48(0x38f)],_0x22f3af[_0x385f48(0x224)],_0x22f3af[_0x385f48(0x3c3)],_0x22f3af[_0x385f48(0x20d)],_0x22f3af[_0x385f48(0x3b9)],_0x22f3af[_0x385f48(0x1f0)],_0x22f3af['UniverUi'],_0x22f3af[_0x385f48(0x1f3)],_0x22f3af[_0x385f48(0x2d1)],_0x22f3af[_0x385f48(0x2a9)],_0x22f3af[_0x385f48(0x2bb)],_0x22f3af['UniverDataValidation'],_0x22f3af[_0x385f48(0x3a6)],_0x22f3af['UniverSheetsFilter'],_0x22f3af['React'],_0x22f3af[_0x385f48(0x331)],_0x22f3af[_0x385f48(0x3bd)]));}(this,function(_0x311108,_0x221432,_0x4371ba,_0x5999cd,_0x17f407,_0x9378cd,_0x5eeed9,_0x1f85a6,_0x447332,_0x1f7c98,_0x31a12e,_0x2ae290,_0x155fda,_0x1dd3f5,_0x1034bd,_0x45108d,_0x4dbad1,_0x3b3caa,_0xab4d26){'use strict';const _0x1afe5f=_0x1d45;var _0x28629c=Object[_0x1afe5f(0x379)],_0x445804=(_0x2274aa,_0xec9999,_0x348d9f)=>_0xec9999 in _0x2274aa?_0x28629c(_0x2274aa,_0xec9999,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x348d9f}):_0x2274aa[_0xec9999]=_0x348d9f,_0x57ef2d=(_0x55cd52,_0x2fef7a,_0x3b5f4c)=>_0x445804(_0x55cd52,typeof _0x2fef7a!=_0x1afe5f(0x2e6)?_0x2fef7a+'':_0x2fef7a,_0x3b5f4c);const _0x438df1='edit-history-viewer.config',_0x5cf162={};var _0x17cee8=Object[_0x1afe5f(0x2d3)],_0x3a711e=(_0x8dd36d,_0xf19dae,_0x374891,_0x2be208)=>{for(var _0x4f2eaa=_0x2be208>0x1?void 0x0:_0x2be208?_0x17cee8(_0xf19dae,_0x374891):_0xf19dae,_0x19e8e0=_0x8dd36d['length']-0x1,_0x23fd81;_0x19e8e0>=0x0;_0x19e8e0--)(_0x23fd81=_0x8dd36d[_0x19e8e0])&&(_0x4f2eaa=_0x23fd81(_0x4f2eaa)||_0x4f2eaa);return _0x4f2eaa;},_0x58330b=(_0xd8e93b,_0x303644)=>(_0x243861,_0x35a632)=>_0x303644(_0x243861,_0x35a632,_0xd8e93b);let _0x412f1a=class extends _0x5999cd['Disposable']{constructor(_0xc09cb2){const _0x2ad7ba=_0x1afe5f;super(),this[_0x2ad7ba(0x1a7)]=_0xc09cb2,this[_0x2ad7ba(0x28b)]();}['_init'](){const _0x1ba00d=_0x1afe5f;this[_0x1ba00d(0x39b)](this[_0x1ba00d(0x1a7)][_0x1ba00d(0x33a)][_0x1ba00d(0x26a)](_0x1c3298=>{const _0x5ef707=_0x1ba00d;_0x1c3298!=null&&_0x1c3298[_0x5ef707(0x3c2)]&&this[_0x5ef707(0x1a7)][_0x5ef707(0x3b1)]({'show':!0x1});}));}};_0x412f1a=_0x3a711e([_0x58330b(0x0,_0x1f85a6[_0x1afe5f(0x2b5)])],_0x412f1a);var _0x1a56b0=(_0x54aa57=>(_0x54aa57[_0x54aa57[_0x1afe5f(0x1e6)]=0x0]=_0x1afe5f(0x1e6),_0x54aa57[_0x54aa57['OK']=0x1]='OK',_0x54aa57[_0x54aa57[_0x1afe5f(0x282)]=0x2]=_0x1afe5f(0x282),_0x54aa57[_0x54aa57[_0x1afe5f(0x34f)]=0x3]=_0x1afe5f(0x34f),_0x54aa57[_0x54aa57['NOT_FOUND']=0x4]=_0x1afe5f(0x1a9),_0x54aa57[_0x54aa57[_0x1afe5f(0x188)]=0x5]=_0x1afe5f(0x188),_0x54aa57[_0x54aa57[_0x1afe5f(0x1c2)]=0x6]=_0x1afe5f(0x1c2),_0x54aa57[_0x54aa57[_0x1afe5f(0x339)]=0x7]=_0x1afe5f(0x339),_0x54aa57[_0x54aa57[_0x1afe5f(0x301)]=0x8]='TOO_MANY_REQUESTS',_0x54aa57[_0x54aa57['COMPLETION_FINISHED']=0x9]=_0x1afe5f(0x1fb),_0x54aa57[_0x54aa57[_0x1afe5f(0x184)]=0xa]='LOGIN_FAILED',_0x54aa57[_0x54aa57['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x54aa57[_0x54aa57[_0x1afe5f(0x342)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x54aa57[_0x54aa57[_0x1afe5f(0x2df)]=0xd]=_0x1afe5f(0x2df),_0x54aa57[_0x54aa57[_0x1afe5f(0x215)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x54aa57[_0x54aa57[_0x1afe5f(0x228)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x54aa57[_0x54aa57['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x54aa57[_0x54aa57[_0x1afe5f(0x1ad)]=0x64]=_0x1afe5f(0x1ad),_0x54aa57[_0x54aa57[_0x1afe5f(0x216)]=0x65]=_0x1afe5f(0x216),_0x54aa57[_0x54aa57[_0x1afe5f(0x327)]=0xc9]=_0x1afe5f(0x327),_0x54aa57[_0x54aa57['USER_IS_ANONYMOUS']=0xca]=_0x1afe5f(0x18c),_0x54aa57[_0x54aa57[_0x1afe5f(0x1e9)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x54aa57[_0x54aa57[_0x1afe5f(0x250)]=0x1771]=_0x1afe5f(0x250),_0x54aa57[_0x54aa57[_0x1afe5f(0x29f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x54aa57[_0x54aa57[_0x1afe5f(0x37e)]=0x1773]=_0x1afe5f(0x37e),_0x54aa57[_0x54aa57[_0x1afe5f(0x31d)]=0x1b59]='APPLY_REJECT',_0x54aa57[_0x54aa57[_0x1afe5f(0x353)]=0x1b5a]=_0x1afe5f(0x353),_0x54aa57[_0x54aa57[_0x1afe5f(0x3a0)]=0x1b5b]=_0x1afe5f(0x3a0),_0x54aa57[_0x54aa57[_0x1afe5f(0x23f)]=0x1b5c]=_0x1afe5f(0x23f),_0x54aa57[_0x54aa57['APPLY_DUPLICATED']=0x1b5d]=_0x1afe5f(0x290),_0x54aa57[_0x54aa57[_0x1afe5f(0x20f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x54aa57[_0x54aa57[_0x1afe5f(0x183)]=0x2329]=_0x1afe5f(0x183),_0x54aa57[_0x54aa57[_0x1afe5f(0x1e2)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x54aa57[_0x54aa57[_0x1afe5f(0x1c6)]=0x232b]=_0x1afe5f(0x1c6),_0x54aa57[_0x54aa57[_0x1afe5f(0x2ec)]=0x232c]=_0x1afe5f(0x2ec),_0x54aa57[_0x54aa57[_0x1afe5f(0x2ef)]=0x232d]=_0x1afe5f(0x2ef),_0x54aa57[_0x54aa57[_0x1afe5f(0x1b5)]=0x2711]=_0x1afe5f(0x1b5),_0x54aa57[_0x54aa57[_0x1afe5f(0x347)]=0x2712]=_0x1afe5f(0x347),_0x54aa57[_0x54aa57[_0x1afe5f(0x1fe)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x54aa57[_0x54aa57[_0x1afe5f(0x2b3)]=0x2714]=_0x1afe5f(0x2b3),_0x54aa57[_0x54aa57[_0x1afe5f(0x181)]=0x271a]=_0x1afe5f(0x181),_0x54aa57[_0x54aa57[_0x1afe5f(0x37d)]=0x271b]=_0x1afe5f(0x37d),_0x54aa57[_0x54aa57['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1afe5f(0x214),_0x54aa57[_0x54aa57['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1afe5f(0x192),_0x54aa57[_0x54aa57['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x54aa57[_0x54aa57['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1afe5f(0x3ac),_0x54aa57[_0x54aa57[_0x1afe5f(0x213)]=0x2720]=_0x1afe5f(0x213),_0x54aa57[_0x54aa57[_0x1afe5f(0x232)]=0x2af9]=_0x1afe5f(0x232),_0x54aa57[_0x54aa57['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1afe5f(0x234),_0x54aa57[_0x54aa57['INVALID_INVITE_CODE']=0x2ee2]=_0x1afe5f(0x30b),_0x54aa57[_0x54aa57[_0x1afe5f(0x289)]=0x2ee3]=_0x1afe5f(0x289),_0x54aa57[_0x54aa57[_0x1afe5f(0x1af)]=0x2ee4]=_0x1afe5f(0x1af),_0x54aa57[_0x54aa57[_0x1afe5f(0x211)]=0x2ee5]=_0x1afe5f(0x211),_0x54aa57[_0x54aa57[_0x1afe5f(0x39e)]=0x32c9]=_0x1afe5f(0x39e),_0x54aa57[_0x54aa57[_0x1afe5f(0x258)]=0x32ca]=_0x1afe5f(0x258),_0x54aa57[_0x54aa57['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1afe5f(0x31a),_0x54aa57[_0x54aa57[_0x1afe5f(0x322)]=0x36b1]=_0x1afe5f(0x322),_0x54aa57[_0x54aa57[_0x1afe5f(0x1b4)]=0x36b2]=_0x1afe5f(0x1b4),_0x54aa57[_0x54aa57[_0x1afe5f(0x1d9)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x54aa57[_0x54aa57[_0x1afe5f(0x19c)]=0x36b4]=_0x1afe5f(0x19c),_0x54aa57[_0x54aa57[_0x1afe5f(0x1ef)]=0x3715]=_0x1afe5f(0x1ef),_0x54aa57[_0x54aa57[_0x1afe5f(0x31b)]=0x3716]=_0x1afe5f(0x31b),_0x54aa57[_0x54aa57[_0x1afe5f(0x377)]=0x3717]=_0x1afe5f(0x377),_0x54aa57[_0x54aa57[_0x1afe5f(0x3bf)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x54aa57[_0x54aa57[_0x1afe5f(0x1be)]=0x3a99]=_0x1afe5f(0x1be),_0x54aa57[_0x54aa57[_0x1afe5f(0x1a5)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x54aa57[_0x54aa57[_0x1afe5f(0x396)]=0x3a9b]=_0x1afe5f(0x396),_0x54aa57[_0x54aa57[_0x1afe5f(0x229)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x54aa57[_0x54aa57['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x1afe5f(0x2a8),_0x54aa57[_0x54aa57[_0x1afe5f(0x29c)]=0x3a9e]=_0x1afe5f(0x29c),_0x54aa57[_0x54aa57[_0x1afe5f(0x341)]=0x3a9f]=_0x1afe5f(0x341),_0x54aa57[_0x54aa57['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x54aa57[_0x54aa57[_0x1afe5f(0x197)]=-0x1]='UNRECOGNIZED',_0x54aa57))(_0x1a56b0||{}),_0x49d7de=(_0xf7369c=>(_0xf7369c[_0xf7369c['UNIVER_UNKNOWN']=0x0]=_0x1afe5f(0x3b5),_0xf7369c[_0xf7369c[_0x1afe5f(0x27a)]=0x1]='UNIVER_DOC',_0xf7369c[_0xf7369c[_0x1afe5f(0x1dd)]=0x2]='UNIVER_SHEET',_0xf7369c[_0xf7369c['UNIVER_SLIDE']=0x3]=_0x1afe5f(0x333),_0xf7369c[_0xf7369c['UNIVER_PROJECT']=0x4]=_0x1afe5f(0x2f5),_0xf7369c[_0xf7369c['UNRECOGNIZED']=-0x1]=_0x1afe5f(0x197),_0xf7369c))(_0x49d7de||{}),_0x1f8240=(_0x323228=>(_0x323228[_0x323228[_0x1afe5f(0x235)]=0x0]=_0x1afe5f(0x235),_0x323228[_0x323228['Edit']=0x1]=_0x1afe5f(0x26c),_0x323228[_0x323228[_0x1afe5f(0x1ec)]=0x2]=_0x1afe5f(0x1ec),_0x323228[_0x323228['Print']=0x3]='Print',_0x323228[_0x323228['Duplicate']=0x4]=_0x1afe5f(0x1d1),_0x323228[_0x323228[_0x1afe5f(0x187)]=0x5]='Comment',_0x323228[_0x323228[_0x1afe5f(0x299)]=0x6]='Copy',_0x323228[_0x323228[_0x1afe5f(0x356)]=0x7]=_0x1afe5f(0x356),_0x323228[_0x323228[_0x1afe5f(0x1ff)]=0x8]='Export',_0x323228[_0x323228[_0x1afe5f(0x2b7)]=0x9]=_0x1afe5f(0x2b7),_0x323228[_0x323228['DeleteWorksheet']=0xa]='DeleteWorksheet',_0x323228[_0x323228[_0x1afe5f(0x18a)]=0xb]=_0x1afe5f(0x18a),_0x323228[_0x323228[_0x1afe5f(0x306)]=0xc]=_0x1afe5f(0x306),_0x323228[_0x323228['CreateWorksheet']=0xd]=_0x1afe5f(0x270),_0x323228[_0x323228[_0x1afe5f(0x245)]=0xe]=_0x1afe5f(0x245),_0x323228[_0x323228[_0x1afe5f(0x33f)]=0xf]=_0x1afe5f(0x33f),_0x323228[_0x323228['InsertHyperlink']=0x10]=_0x1afe5f(0x35f),_0x323228[_0x323228[_0x1afe5f(0x382)]=0x11]=_0x1afe5f(0x382),_0x323228[_0x323228['Filter']=0x12]='Filter',_0x323228[_0x323228[_0x1afe5f(0x2d0)]=0x13]=_0x1afe5f(0x2d0),_0x323228[_0x323228['FloatImg']=0x14]=_0x1afe5f(0x21f),_0x323228[_0x323228[_0x1afe5f(0x1e0)]=0x15]=_0x1afe5f(0x1e0),_0x323228[_0x323228[_0x1afe5f(0x335)]=0x16]=_0x1afe5f(0x335),_0x323228[_0x323228[_0x1afe5f(0x244)]=0x17]=_0x1afe5f(0x244),_0x323228[_0x323228[_0x1afe5f(0x2bd)]=0x18]=_0x1afe5f(0x2bd),_0x323228[_0x323228[_0x1afe5f(0x3c4)]=0x19]='MoveSheet',_0x323228[_0x323228[_0x1afe5f(0x212)]=0x1a]=_0x1afe5f(0x212),_0x323228[_0x323228[_0x1afe5f(0x18d)]=0x1b]=_0x1afe5f(0x18d),_0x323228[_0x323228[_0x1afe5f(0x1e8)]=0x1c]=_0x1afe5f(0x1e8),_0x323228[_0x323228[_0x1afe5f(0x23c)]=0x1d]=_0x1afe5f(0x23c),_0x323228[_0x323228['CreateSheet']=0x1e]=_0x1afe5f(0x25d),_0x323228[_0x323228[_0x1afe5f(0x25c)]=0x1f]='SelectProtectedCells',_0x323228[_0x323228['SelectUnProtectedCells']=0x20]=_0x1afe5f(0x345),_0x323228[_0x323228[_0x1afe5f(0x324)]=0x21]=_0x1afe5f(0x324),_0x323228[_0x323228[_0x1afe5f(0x34e)]=0x22]=_0x1afe5f(0x34e),_0x323228[_0x323228['SetRowStyle']=0x23]=_0x1afe5f(0x2e8),_0x323228[_0x323228[_0x1afe5f(0x219)]=0x24]='SetColumnStyle',_0x323228[_0x323228[_0x1afe5f(0x1f8)]=0x25]=_0x1afe5f(0x1f8),_0x323228[_0x323228[_0x1afe5f(0x337)]=0x26]='InsertColumn',_0x323228[_0x323228['DeleteRow']=0x27]=_0x1afe5f(0x363),_0x323228[_0x323228[_0x1afe5f(0x1d7)]=0x28]=_0x1afe5f(0x1d7),_0x323228[_0x323228[_0x1afe5f(0x2a2)]=0x29]=_0x1afe5f(0x2a2),_0x323228[_0x323228[_0x1afe5f(0x349)]=0x2a]=_0x1afe5f(0x349),_0x323228[_0x323228[_0x1afe5f(0x372)]=0x2b]=_0x1afe5f(0x372),_0x323228[_0x323228[_0x1afe5f(0x391)]=0x2c]=_0x1afe5f(0x391),_0x323228[_0x323228[_0x1afe5f(0x230)]=0x2d]='CreatePermissionObject',_0x323228[_0x323228[_0x1afe5f(0x197)]=-0x1]=_0x1afe5f(0x197),_0x323228))(_0x1f8240||{});function _0x511b1b(_0x2f5e0b){const _0x5e6e35=_0x1afe5f;return!!(_0x2f5e0b&&_0x2f5e0b['code']&&_0x2f5e0b[_0x5e6e35(0x367)]!==_0x1a56b0['OK']&&_0x2f5e0b[_0x5e6e35(0x367)]!=='OK');}const _0x414a26=(_0x43dc39,_0x6bd376)=>{const _0x50cd1d=_0x1afe5f;if(!_0x43dc39)return{'date':'','time':''};const _0x535f12=new Date(_0x43dc39),_0x9df9a=_0x535f12[_0x50cd1d(0x303)]()[_0x50cd1d(0x21c)]('T')[0x0];switch(_0x6bd376){case _0x5999cd['LocaleType'][_0x50cd1d(0x2fe)]:return{'date':_0x56ddd8(_0x9df9a,_0x6bd376),'time':_0x535f12[_0x50cd1d(0x317)]()+':'+String(_0x535f12[_0x50cd1d(0x2cc)]())[_0x50cd1d(0x302)](0x2,'0')};default:return{'date':_0x56ddd8(_0x9df9a,_0x6bd376),'time':_0x535f12[_0x50cd1d(0x317)]()+':'+_0x535f12[_0x50cd1d(0x2cc)]()};}},_0x2d0f08=(_0x383a75,_0x3bcd99)=>{const _0x1cdad1=_0x1afe5f,_0x417fee=_0x383a75['user']||_0x3bcd99['t']('editHistory.panel.unknownUser');if(_0x383a75['commands'][_0x1cdad1(0x34c)](_0x342a5d=>_0x342a5d===_0x221432[_0x1cdad1(0x24f)]['id'])&&_0x383a75[_0x1cdad1(0x35c)]){const _0xf86c70=_0x414a26(_0x383a75[_0x1cdad1(0x35c)],_0x3bcd99['getCurrentLocale']()),_0x269b1e=_0xf86c70[_0x1cdad1(0x2ff)]+'\x20'+_0xf86c70[_0x1cdad1(0x196)];return _0x417fee+'\x20'+_0x3bcd99['t'](_0x1cdad1(0x200))+'\x20'+_0x269b1e+'\x20'+_0x3bcd99['t'](_0x1cdad1(0x2cd));}const _0x2d2d05=_0x1e85ca(_0x383a75),_0x25040e=_0x2d2d05[_0x1cdad1(0x2a4)]===0x1?_0x3bcd99['t'](_0x2d2d05[0x0]):''+_0x3bcd99['t'](_0x2d2d05[0x0])+_0x3bcd99['t'](_0x1cdad1(0x348));return _0x417fee+'\x20'+_0x25040e;};function _0x1e85ca(_0x4d05e9){const _0x4b491f=_0x1afe5f;if(_0x4d05e9[_0x4b491f(0x2d7)][_0x4b491f(0x2a4)]===0x0)return[''];const _0x3f4a3e=_0x4b491f(0x29b),_0x31f6ff=_0x3f4a3e+'editSheet',_0x39ce55=[{'id':_0x221432[_0x4b491f(0x297)]['id'],'action':_0x3f4a3e+_0x4b491f(0x32f)},{'id':_0x221432[_0x4b491f(0x24f)]['id'],'action':_0x3f4a3e+_0x4b491f(0x1cd)},{'id':_0x31a12e[_0x4b491f(0x249)]['id'],'action':_0x3f4a3e+_0x4b491f(0x1f7)},{'id':_0x31a12e[_0x4b491f(0x362)]['id'],'action':_0x3f4a3e+_0x4b491f(0x39c)},{'id':_0x31a12e[_0x4b491f(0x254)]['id'],'action':_0x3f4a3e+'setFrozen'},{'id':_0x45108d['SetSheetsFilterRangeMutation']['id'],'action':_0x3f4a3e+_0x4b491f(0x33e)},{'id':_0x1dd3f5[_0x4b491f(0x26f)]['id'],'action':_0x3f4a3e+_0x4b491f(0x357)},{'id':_0x1dd3f5[_0x4b491f(0x18f)]['id'],'action':_0x3f4a3e+_0x4b491f(0x357)},{'id':_0x1034bd[_0x4b491f(0x318)]['id'],'action':_0x3f4a3e+_0x4b491f(0x32c)},{'id':_0x1034bd[_0x4b491f(0x1ae)]['id'],'action':_0x3f4a3e+_0x4b491f(0x32c)},{'id':_0x31a12e['AddWorksheetProtectionMutation']['id'],'action':_0x3f4a3e+_0x4b491f(0x1f4)},{'id':_0x31a12e[_0x4b491f(0x239)]['id'],'action':_0x3f4a3e+_0x4b491f(0x1f4)},{'id':_0x155fda[_0x4b491f(0x237)]['id'],'action':_0x3f4a3e+_0x4b491f(0x3b8)},{'id':_0x31a12e[_0x4b491f(0x24b)]['id'],'action':_0x3f4a3e+_0x4b491f(0x2d6)},{'id':_0x31a12e['DeleteWorksheetProtectionMutation']['id'],'action':_0x3f4a3e+_0x4b491f(0x2d6)}][_0x4b491f(0x221)](_0x296597=>_0x4d05e9[_0x4b491f(0x2d7)][_0x4b491f(0x246)](_0x296597['id']));return _0x39ce55!=null&&_0x39ce55[_0x4b491f(0x2a4)]?_0x39ce55[_0x4b491f(0x2a3)](_0x35ae3f=>_0x35ae3f[_0x4b491f(0x1de)]):[_0x31f6ff];}function _0x56ddd8(_0xbde1b2,_0x340670){const _0x3b803c=_0x1afe5f,[_0x3bc689,_0x73882a,_0x3bfc58]=new Date()[_0x3b803c(0x303)]()['split']('T')[0x0][_0x3b803c(0x21c)]('-'),[_0x3c50dd,_0x2ff6da,_0x2966ba]=_0xbde1b2[_0x3b803c(0x21c)]('-'),_0x5c6c54=_0x3bc689===_0x3c50dd&&_0x73882a===_0x2ff6da&&_0x3bfc58===_0x2966ba;let _0x305308='',_0x1e5424='',_0x549c4b='';switch(_0x340670){case _0x5999cd['LocaleType'][_0x3b803c(0x2fe)]:return _0x5c6c54?'今天':(_0x305308=_0x3bc689===_0x3c50dd?'':_0x3c50dd+'年',_0x1e5424=_0x2ff6da+'月',_0x549c4b=_0x2966ba+'日',''+_0x305308+_0x1e5424+_0x549c4b);default:return _0x5c6c54?_0x3b803c(0x3b2):(_0x305308=_0x3bc689===_0x3c50dd?'':_0x3c50dd+'-',_0x1e5424=_0x2ff6da+'-',_0x549c4b=''+_0x2966ba,''+_0x305308+_0x1e5424+_0x549c4b);}}function _0x6dcede(_0x3e3c92){return _0x3e3c92?_0x3e3c92['reduce']((_0x105831,_0x450724)=>{const _0x35d1bb=_0x1d45,_0x8446bd=new Date(_0x450724[_0x35d1bb(0x196)])[_0x35d1bb(0x303)]()['split']('T')[0x0];return _0x105831[_0x35d1bb(0x2a4)]>0x0&&_0x105831[_0x105831[_0x35d1bb(0x2a4)]-0x1]['dateString']===_0x8446bd?_0x105831[_0x105831[_0x35d1bb(0x2a4)]-0x1][_0x35d1bb(0x194)]['push'](_0x450724):_0x105831[_0x35d1bb(0x2d4)]({'dateString':_0x8446bd,'versions':[_0x450724]}),_0x105831;},[]):[];}var _0x4d64d5=Object[_0x1afe5f(0x2d3)],_0x9adae6=(_0x1f4327,_0x4fcd50,_0x376d63,_0x1ba255)=>{const _0x5043e2=_0x1afe5f;for(var _0x34c62c=_0x1ba255>0x1?void 0x0:_0x1ba255?_0x4d64d5(_0x4fcd50,_0x376d63):_0x4fcd50,_0xa74f9e=_0x1f4327[_0x5043e2(0x2a4)]-0x1,_0x103d14;_0xa74f9e>=0x0;_0xa74f9e--)(_0x103d14=_0x1f4327[_0xa74f9e])&&(_0x34c62c=_0x103d14(_0x34c62c)||_0x34c62c);return _0x34c62c;},_0x48ee7b=(_0x4461ff,_0x59cbe0)=>(_0x351659,_0x151ee3)=>_0x59cbe0(_0x351659,_0x151ee3,_0x4461ff);const _0xe61c68=_0x1afe5f(0x3a7);let _0x61ac77=class extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(_0x1242da,_0x180599,_0x170ffc,_0x2411dd,_0x5ad77e,_0x38716f,_0x3f3644){const _0x216b73=_0x1afe5f;super(),_0x57ef2d(this,_0x216b73(0x204),new Map()),(this[_0x216b73(0x26e)]=_0x1242da,this[_0x216b73(0x39d)]=_0x180599,this[_0x216b73(0x1bf)]=_0x170ffc,this[_0x216b73(0x383)]=_0x2411dd,this['_httpService']=_0x5ad77e,this[_0x216b73(0x1c4)]=_0x38716f,this['_sheetPermissionInitController']=_0x3f3644);}[_0x1afe5f(0x23e)](){const _0x4fc7dd=_0x1afe5f;this[_0x4fc7dd(0x204)][_0x4fc7dd(0x2ee)](),super[_0x4fc7dd(0x23e)]();}async[_0x1afe5f(0x2a5)](_0x3510e2,_0x404f97){const _0x5a05c4=_0x1afe5f,_0x4b5934=this['_getAPIPrefix']()+'/'+_0x3510e2+_0x5a05c4(0x2b1)+(_0x404f97?_0x5a05c4(0x2c7)+_0x404f97:'');try{const _0x1ed873=(await this[_0x5a05c4(0x18b)][_0x5a05c4(0x300)](_0x4b5934))[_0x5a05c4(0x325)];if(_0x1ed873&&_0x1ed873[_0x5a05c4(0x19e)]&&_0x1ed873[_0x5a05c4(0x19e)][_0x5a05c4(0x367)]===_0x1a56b0['OK']){const {hasMore:_0x9b2f56,lastLabel:_0x25b5b7}=_0x1ed873,_0x838645=_0x22aa0c(_0x1ed873),_0x2bb977=_0x1ed873['entities'][_0x5a05c4(0x1b0)];return{'hasMore':_0x9b2f56,'lastLabel':_0x25b5b7,'versions':_0x838645,'members':_0x2bb977};}}catch(_0x125970){console[_0x5a05c4(0x19e)](_0x125970);}return null;}[_0x1afe5f(0x30e)](){const _0x1df01a=_0x1afe5f;var _0x34c23f;const _0xf9593f=this['_configService'][_0x1df01a(0x227)](_0x438df1);return(_0x34c23f=_0xf9593f==null?void 0x0:_0xf9593f[_0x1df01a(0x326)])!=null?_0x34c23f:_0xe61c68;}async[_0x1afe5f(0x384)](_0xc1cd19,_0x55cfa7,_0x40e0aa){const _0x4550b1=_0x1afe5f;var _0x2a64c2,_0x2668e2;_0x40e0aa===void 0x0&&(_0x40e0aa={}),this[_0x4550b1(0x204)][_0x4550b1(0x271)](_0xc1cd19)||this[_0x4550b1(0x204)][_0x4550b1(0x1cf)](_0xc1cd19,new Map());const {snapshot:_0x561596,changesets:_0x6cd944,error:_0x3762ef}=await this[_0x4550b1(0x26e)][_0x4550b1(0x1a0)](_0x40e0aa,{'unitID':_0xc1cd19,'type':_0x49d7de['UNIVER_SHEET'],'revision':_0x55cfa7});if(_0x511b1b(_0x3762ef)||!_0x561596||!_0x561596[_0x4550b1(0x1df)])throw new Error(_0x4550b1(0x304));const _0x421151=(_0x2a64c2=_0x6cd944==null?void 0x0:_0x6cd944[_0x4550b1(0x2a4)])!=null?_0x2a64c2:0x0;if(_0x55cfa7!==0x0&&_0x561596[_0x4550b1(0x206)]+_0x421151!==_0x55cfa7)throw new Error(_0x4550b1(0x358));const {workbook:_0x1e3c91}=_0x561596,_0x32198a=_0x1e3c91[_0x4550b1(0x251)]?Object[_0x4550b1(0x2f4)](_0x1e3c91[_0x4550b1(0x251)])[_0x4550b1(0x2a3)](([_0x3e9d05,_0x45f66a])=>{const _0xc0a0fb=_0x4550b1;var _0x2fe770,_0x3ebb5f;return(_0x3ebb5f=(_0x2fe770=_0x45f66a[_0xc0a0fb(0x202)])==null?void 0x0:_0x2fe770[_0xc0a0fb(0x2a3)](_0x93e961=>_0x93e961))!=null?_0x3ebb5f:[];})[_0x4550b1(0x217)]():[],_0x358f98=(await Promise['all'](_0x32198a[_0x4550b1(0x2a3)](_0x5ab31e=>this['_snapshotServerService'][_0x4550b1(0x1ca)](_0x40e0aa,{'unitID':_0xc1cd19,'type':_0x49d7de['UNIVER_SHEET'],'blockID':_0x5ab31e})[_0x4550b1(0x26d)](_0x489b86=>_0x489b86[_0x4550b1(0x2a0)]))))[_0x4550b1(0x221)](_0x527553=>!!_0x527553),_0x38ef6b=_0x221432['transformSnapshotToWorkbookData'](_0x561596,_0x358f98,_0x40e0aa);return(_0x2668e2=this['_workbookDataCache'][_0x4550b1(0x300)](_0xc1cd19))==null||_0x2668e2[_0x4550b1(0x1cf)](_0x55cfa7,{'workbook':_0x38ef6b}),new Promise(_0x41b409=>{const _0xc54624=_0x4550b1,_0x478656=this['_univerInstanceService']['getCurrentUnitForType'](_0x5999cd[_0xc54624(0x313)][_0xc54624(0x1dd)]);_0x478656?(this[_0xc54624(0x39d)][_0xc54624(0x257)](_0x478656[_0xc54624(0x36c)]()),setTimeout(()=>{const _0x4a38b5=_0xc54624;this[_0x4a38b5(0x3ba)](_0x38ef6b,_0x6cd944),this[_0x4a38b5(0x390)]['refreshRangeProtectPermission'](),_0x41b409(!0x0);},0x0)):(this[_0xc54624(0x3ba)](_0x38ef6b,_0x6cd944),_0x41b409(!0x0));});}[_0x1afe5f(0x3ba)](_0x925052,_0x4e0dd3){const _0x5daea3=_0x1afe5f,_0x213dce=this[_0x5daea3(0x39d)][_0x5daea3(0x2c3)](_0x5999cd[_0x5daea3(0x313)][_0x5daea3(0x1dd)],_0x925052);this[_0x5daea3(0x39d)][_0x5daea3(0x209)](_0x213dce[_0x5daea3(0x36c)]());const _0x13db70=this[_0x5daea3(0x1c4)][_0x5daea3(0x22f)]['fetchThroughInterceptors'](this[_0x5daea3(0x1c4)][_0x5daea3(0x22f)][_0x5daea3(0x2aa)]()[_0x5daea3(0x279)]);return _0x4e0dd3==null||_0x4e0dd3['forEach'](_0x32eaf3=>{const _0x25e7df=_0x5daea3,_0x45ffef=_0x32eaf3[_0x25e7df(0x1c1)][_0x25e7df(0x2a3)](_0x29c8f1=>({'id':_0x29c8f1['id'],'params':JSON[_0x25e7df(0x1f6)](_0x29c8f1[_0x25e7df(0x1fa)])}));({..._0x32eaf3,'mutations':_0x13db70(_0x45ffef,null)||_0x45ffef}[_0x25e7df(0x1c1)][_0x25e7df(0x220)](_0x2d6417=>{const _0x61d241=_0x25e7df;this[_0x61d241(0x1bf)][_0x61d241(0x32e)](_0x2d6417['id'])&&this[_0x61d241(0x1bf)][_0x61d241(0x312)](_0x2d6417['id'],_0x2d6417[_0x61d241(0x2ac)]);}));}),_0x213dce;}};_0x61ac77=_0x9adae6([_0x48ee7b(0x0,_0x221432[_0x1afe5f(0x1e3)]),_0x48ee7b(0x1,_0x5999cd[_0x1afe5f(0x26b)]),_0x48ee7b(0x2,_0x5999cd[_0x1afe5f(0x19d)]),_0x48ee7b(0x3,_0x5999cd['IConfigService']),_0x48ee7b(0x4,_0x5999cd[_0x1afe5f(0x205)](_0x5eeed9[_0x1afe5f(0x389)])),_0x48ee7b(0x5,_0x5999cd[_0x1afe5f(0x205)](_0x221432['CompressMutationService'])),_0x48ee7b(0x6,_0x5999cd[_0x1afe5f(0x205)](_0x31a12e[_0x1afe5f(0x285)]))],_0x61ac77);function _0x22aa0c(_0x599e2a){const _0x14be21=_0x1afe5f;var _0x24c78f,_0x2b0deb;const _0x55fdfb=[],{entities:_0x4340de,historyIds:_0x5be914}=_0x599e2a,{datas:_0x474641,users:_0x36c248}=_0x4340de;for(const _0x1d7446 of _0x5be914)if(_0x474641[_0x1d7446]){const _0x264006=!!((_0x24c78f=_0x36c248[_0x474641[_0x1d7446]['userId']])!=null&&_0x24c78f[_0x14be21(0x30c)]);_0x55fdfb[_0x14be21(0x2d4)]({'unitId':_0x474641[_0x1d7446][_0x14be21(0x3bb)],'user':_0x264006?'':((_0x2b0deb=_0x36c248==null?void 0x0:_0x36c248[_0x474641[_0x1d7446][_0x14be21(0x1ab)]])==null?void 0x0:_0x2b0deb[_0x14be21(0x1ce)])||'','isAnonymous':_0x264006,'id':_0x1d7446,'time':_0x474641[_0x1d7446][_0x14be21(0x1eb)]?Number(_0x474641[_0x1d7446][_0x14be21(0x1eb)]):void 0x0,'commands':_0x474641[_0x1d7446]['command'],'startRev':Number(_0x474641[_0x1d7446][_0x14be21(0x1c3)]),'endRev':Number(_0x474641[_0x1d7446][_0x14be21(0x2ad)]),'recoverTime':_0x474641[_0x1d7446][_0x14be21(0x35c)]?Number(_0x474641[_0x1d7446][_0x14be21(0x35c)]):void 0x0});}return _0x55fdfb;}var _0x2a4d0f=Object[_0x1afe5f(0x2d3)],_0x50c23c=(_0x9ea3b9,_0xc7eb16,_0x22dedf,_0x2c31fa)=>{const _0x5dbdad=_0x1afe5f;for(var _0x1ad68d=_0x2c31fa>0x1?void 0x0:_0x2c31fa?_0x2a4d0f(_0xc7eb16,_0x22dedf):_0xc7eb16,_0x2eb0a4=_0x9ea3b9[_0x5dbdad(0x2a4)]-0x1,_0x27773d;_0x2eb0a4>=0x0;_0x2eb0a4--)(_0x27773d=_0x9ea3b9[_0x2eb0a4])&&(_0x1ad68d=_0x27773d(_0x1ad68d)||_0x1ad68d);return _0x1ad68d;},_0x2c8225=(_0x4a9017,_0x447d86)=>(_0x26161e,_0x52c613)=>_0x447d86(_0x26161e,_0x52c613,_0x4a9017),_0x4cb442=(_0x912fa3=>(_0x912fa3[_0x1afe5f(0x1c8)]=_0x1afe5f(0x380),_0x912fa3[_0x1afe5f(0x373)]=_0x1afe5f(0x1bd),_0x912fa3[_0x1afe5f(0x2fb)]=_0x1afe5f(0x19e),_0x912fa3))(_0x4cb442||{}),_0x89285d=(_0x2a4fdc=>(_0x2a4fdc[_0x1afe5f(0x311)]=_0x1afe5f(0x360),_0x2a4fdc['Loading']='loading',_0x2a4fdc[_0x1afe5f(0x3bc)]=_0x1afe5f(0x233),_0x2a4fdc))(_0x89285d||{});const _0x21ab74=_0x1afe5f(0x20c);_0x311108['HistoryManagerService']=class extends _0x5999cd['Disposable']{constructor(_0x1003da,_0x259a0c,_0x3ed02a,_0x3e268f){const _0x38e471=_0x1afe5f;super(),_0x57ef2d(this,_0x38e471(0x3be),new _0x2ae290[(_0x38e471(0x3c7))]([])),_0x57ef2d(this,_0x38e471(0x35b),this['_versions$'][_0x38e471(0x24c)]()),_0x57ef2d(this,_0x38e471(0x1d8),new _0x2ae290[(_0x38e471(0x3c7))]('')),_0x57ef2d(this,_0x38e471(0x238),this[_0x38e471(0x1d8)][_0x38e471(0x24c)]()),_0x57ef2d(this,_0x38e471(0x1c5),new _0x2ae290[(_0x38e471(0x3c7))](_0x38e471(0x380))),_0x57ef2d(this,'status$',this[_0x38e471(0x1c5)]['asObservable']()),_0x57ef2d(this,_0x38e471(0x268),new _0x2ae290[(_0x38e471(0x3c7))](0x0)),_0x57ef2d(this,_0x38e471(0x266),this[_0x38e471(0x268)][_0x38e471(0x24c)]()),_0x57ef2d(this,_0x38e471(0x2cb),new _0x2ae290[(_0x38e471(0x3c7))]('')),_0x57ef2d(this,_0x38e471(0x29d),this[_0x38e471(0x2cb)][_0x38e471(0x24c)]()),_0x57ef2d(this,_0x38e471(0x2f1),!0x1),_0x57ef2d(this,_0x38e471(0x19a),new _0x2ae290[(_0x38e471(0x3c7))](_0x38e471(0x360))),_0x57ef2d(this,_0x38e471(0x2c5),this['_loadingState$'][_0x38e471(0x24c)]()),_0x57ef2d(this,_0x38e471(0x38e),null),_0x57ef2d(this,_0x38e471(0x286),!0x0),_0x57ef2d(this,'_members',new Map()),_0x57ef2d(this,_0x38e471(0x2c6)),_0x57ef2d(this,_0x38e471(0x190)),_0x57ef2d(this,_0x38e471(0x2d8)),_0x57ef2d(this,'_canRevert',!0x1),(this[_0x38e471(0x262)]=_0x1003da,this['_confirmService']=_0x259a0c,this['_localeService']=_0x3ed02a,this[_0x38e471(0x1a4)]=_0x3e268f);}async[_0x1afe5f(0x278)](_0x335dcd,_0x349049,_0x2c0c50){const _0x3aa46a=_0x1afe5f;this[_0x3aa46a(0x2c6)]=_0x349049,this[_0x3aa46a(0x1ed)]=_0x2c0c50,this[_0x3aa46a(0x2cb)][_0x3aa46a(0x3a4)](_0x335dcd),this[_0x3aa46a(0x2f1)]=!0x0;const _0xd4ba7c=await this['_historyFetchService'][_0x3aa46a(0x2a5)](_0x335dcd);if(this[_0x3aa46a(0x2f1)]=!0x1,_0xd4ba7c){const {versions:_0x3bebf4,lastLabel:_0x3d66b9,hasMore:_0x163df0,members:_0x1441dd}=_0xd4ba7c;_0x3bebf4[_0x3aa46a(0x2a4)]===0x0&&_0x3bebf4[_0x3aa46a(0x2d4)]({'unitId':_0x335dcd,'id':_0x21ab74,'startRev':0x1,'endRev':0x0,'time':Date[_0x3aa46a(0x17f)](),'user':this['_localeService']['t'](_0x3aa46a(0x388)),'commands':[],'isAnonymous':!0x1}),this[_0x3aa46a(0x310)](_0x3bebf4,_0x163df0,_0x3d66b9,_0x1441dd),this[_0x3aa46a(0x1d8)][_0x3aa46a(0x3a4)](_0x3bebf4[0x0]['id']);}else this[_0x3aa46a(0x1c5)][_0x3aa46a(0x3a4)](_0x3aa46a(0x19e));}async[_0x1afe5f(0x37c)](){const _0x1fa2ea=_0x1afe5f;if(!this['_lastLabel']||!this[_0x1fa2ea(0x286)]||this[_0x1fa2ea(0x2f1)])return!0x1;this[_0x1fa2ea(0x2f1)]=!0x0;const _0x3ce5cc=await this[_0x1fa2ea(0x1a4)][_0x1fa2ea(0x2a5)](this[_0x1fa2ea(0x3bb)],this[_0x1fa2ea(0x38e)]);if(this[_0x1fa2ea(0x2f1)]=!0x1,_0x3ce5cc){const {versions:_0x47b9d7,lastLabel:_0x3b7d0f,hasMore:_0x40b88d,members:_0x1f2a9f}=_0x3ce5cc;this[_0x1fa2ea(0x310)](_0x47b9d7,_0x40b88d,_0x3b7d0f,_0x1f2a9f);}else this[_0x1fa2ea(0x262)][_0x1fa2ea(0x3c2)]({'content':this[_0x1fa2ea(0x351)]['t'](_0x1fa2ea(0x296)),'type':_0x1f7c98[_0x1fa2ea(0x1f5)][_0x1fa2ea(0x2fb)],'duration':0xbb8});return!0x0;}async[_0x1afe5f(0x366)](_0x2914c2){const _0x84d07f=_0x1afe5f;var _0x1dcd01;const _0x4b7024=(_0x1dcd01=this[_0x84d07f(0x3be)][_0x84d07f(0x2d9)])==null?void 0x0:_0x1dcd01[_0x84d07f(0x39a)](_0x37021d=>_0x37021d['id']===_0x2914c2),{endRev:_0xf7a7f3}=_0x4b7024||{};_0xf7a7f3||_0xf7a7f3===0x0?(this[_0x84d07f(0x19a)][_0x84d07f(0x3a4)](_0x84d07f(0x3a9)),await this[_0x84d07f(0x1a4)][_0x84d07f(0x384)](this[_0x84d07f(0x3bb)],_0xf7a7f3),this['_loadingState$']['next'](_0x84d07f(0x233))):this[_0x84d07f(0x1c5)][_0x84d07f(0x3a4)](_0x84d07f(0x19e));}async[_0x1afe5f(0x30d)](_0x3fcad7){const _0xffe967=_0x1afe5f,_0x337776=_0x3fcad7?this[_0xffe967(0x21d)](_0x3fcad7):this[_0xffe967(0x222)]();if(!_0x337776)return;const _0x2e7040=_0x337776[_0xffe967(0x319)],_0x450744=_0x414a26(_0x337776[_0xffe967(0x196)],this[_0xffe967(0x351)]['getCurrentLocale']());await this[_0xffe967(0x1f9)][_0xffe967(0x19b)]({'id':_0xffe967(0x392),'title':{'title':this[_0xffe967(0x351)]['t'](_0xffe967(0x31f))},'children':{'title':this['_localeService']['t'](_0xffe967(0x2db))+_0xffe967(0x180)+_0x450744['date']+'\x20'+_0x450744[_0xffe967(0x196)]+')'},'cancelText':this[_0xffe967(0x351)]['t'](_0xffe967(0x1fc)),'confirmText':this['_localeService']['t']('editHistory.panel.confirm')})&&this[_0xffe967(0x268)][_0xffe967(0x3a4)](_0x2e7040);}[_0x1afe5f(0x310)](_0x3a63b0,_0x272a14,_0x48cf13,_0x34d06d){const _0x2f8083=_0x1afe5f;this['_versions$'][_0x2f8083(0x3a4)](this['_versions$'][_0x2f8083(0x2d9)]['concat'](_0x3a63b0)),this[_0x2f8083(0x286)]=_0x272a14,this[_0x2f8083(0x38e)]=_0x48cf13,_0x34d06d&&Object[_0x2f8083(0x352)](_0x34d06d)[_0x2f8083(0x220)](_0x364ec4=>this['_members']['set'](_0x364ec4,_0x34d06d[_0x364ec4]));}['getCurrentVersion'](){const _0x2178cb=_0x1afe5f;return this[_0x2178cb(0x21d)](this[_0x2178cb(0x1d8)][_0x2178cb(0x2d9)]);}[_0x1afe5f(0x21d)](_0x97e187){const _0x2ddf4d=_0x1afe5f;var _0x4172cb;return(_0x4172cb=this['_versions$'][_0x2ddf4d(0x2d9)])==null?void 0x0:_0x4172cb[_0x2ddf4d(0x39a)](_0x388abb=>_0x388abb['id']===_0x97e187);}[_0x1afe5f(0x259)](_0x47fa7c){const _0x5a11a9=_0x1afe5f;return this[_0x5a11a9(0x36f)][_0x5a11a9(0x300)](_0x47fa7c);}['_createMask'](){const _0x5e1e3e=_0x1afe5f;this[_0x5e1e3e(0x2d8)]=document[_0x5e1e3e(0x1ac)](_0x5e1e3e(0x247)),this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x1bb)]='history-mask',this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)]['position']=_0x5e1e3e(0x3a8),this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)][_0x5e1e3e(0x243)]='0',this['_maskElement']['style'][_0x5e1e3e(0x264)]='0',this['_maskElement'][_0x5e1e3e(0x344)]['width']=_0x5e1e3e(0x242),this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)][_0x5e1e3e(0x21a)]='100%',this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)][_0x5e1e3e(0x370)]=_0x5e1e3e(0x1d4),this['_maskElement'][_0x5e1e3e(0x344)][_0x5e1e3e(0x3b7)]=_0x5e1e3e(0x398),this['_maskElement'][_0x5e1e3e(0x344)]['display']=_0x5e1e3e(0x23a),this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)][_0x5e1e3e(0x2c0)]=_0x5e1e3e(0x2e3),this[_0x5e1e3e(0x2d8)]['style'][_0x5e1e3e(0x1b7)]=_0x5e1e3e(0x2f7),this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)]['display']=_0x5e1e3e(0x1c0),this[_0x5e1e3e(0x190)][_0x5e1e3e(0x381)](this['_maskElement']);}['_initMaskContainer'](){const _0x4e938a=_0x1afe5f;var _0x4ac866;const _0x12cf79=(_0x4ac866=document[_0x4e938a(0x33c)](this[_0x4e938a(0x2c6)]))==null?void 0x0:_0x4ac866[_0x4e938a(0x374)]('.univer-app-container-content');_0x12cf79&&(this[_0x4e938a(0x190)]=_0x12cf79,this[_0x4e938a(0x2e0)]());}[_0x1afe5f(0x365)](){const _0x57caba=_0x1afe5f;this[_0x57caba(0x190)]||this[_0x57caba(0x23d)](),this[_0x57caba(0x2d8)]&&(this['_maskElement']['style'][_0x57caba(0x292)]='flex');}[_0x1afe5f(0x2e2)](){const _0x49cc47=_0x1afe5f;this['_maskElement']&&(this[_0x49cc47(0x2d8)][_0x49cc47(0x344)]['display']=_0x49cc47(0x1c0));}set[_0x1afe5f(0x395)](_0x31a817){this['_status$']['next'](_0x31a817);}set[_0x1afe5f(0x22e)](_0x3f5602){const _0x685e2f=_0x1afe5f;_0x3f5602!==this[_0x685e2f(0x1d8)]['value']&&this[_0x685e2f(0x1d8)]['next'](_0x3f5602);}get[_0x1afe5f(0x22e)](){const _0x17761d=_0x1afe5f;return this[_0x17761d(0x1d8)][_0x17761d(0x2d9)];}set[_0x1afe5f(0x3bb)](_0x4d17db){const _0xa98d2c=_0x1afe5f;this[_0xa98d2c(0x2cb)][_0xa98d2c(0x3a4)](_0x4d17db);}get[_0x1afe5f(0x3bb)](){const _0x18dfa6=_0x1afe5f;return this[_0x18dfa6(0x2cb)][_0x18dfa6(0x2d9)];}get[_0x1afe5f(0x394)](){return this['_canRevert'];}get[_0x1afe5f(0x18e)](){const _0xb452d=_0x1afe5f;return this[_0xb452d(0x19a)][_0xb452d(0x2d9)];}},_0x311108['HistoryManagerService']=_0x50c23c([_0x2c8225(0x0,_0x447332[_0x1afe5f(0x241)]),_0x2c8225(0x1,_0x447332['IConfirmService']),_0x2c8225(0x2,_0x5999cd['Inject'](_0x5999cd[_0x1afe5f(0x378)])),_0x2c8225(0x3,_0x5999cd[_0x1afe5f(0x205)](_0x61ac77))],_0x311108[_0x1afe5f(0x256)]);function _0x3b5f83({ref:_0x1f1675,..._0x54e97e}){const _0x25a32a=_0x1afe5f,{icon:_0x8c1cbf,id:_0x5e70e6,className:_0x14be93,extend:_0xe39f0b,..._0x2ea66a}=_0x54e97e,_0x38df21=(_0x25a32a(0x323)+_0x5e70e6+'\x20'+(_0x14be93||''))['trim'](),_0x102075=_0x3b3caa[_0x25a32a(0x2bf)]('_'+_0x1f5a5d());return _0x29468c(_0x8c1cbf,''+_0x5e70e6,{'defIds':_0x8c1cbf[_0x25a32a(0x281)],'idSuffix':_0x102075[_0x25a32a(0x273)]},{'ref':_0x1f1675,'className':_0x38df21,..._0x2ea66a},_0xe39f0b);}function _0x29468c(_0x4b0fe6,_0x2c0e4b,_0x19d4c7,_0x2006f4,_0x4f0665){const _0x344121=_0x1afe5f;return _0x3b3caa[_0x344121(0x1ac)](_0x4b0fe6[_0x344121(0x36e)],{'key':_0x2c0e4b,..._0x275493(_0x4b0fe6,_0x19d4c7,_0x4f0665),..._0x2006f4},(_0x2f19bc(_0x4b0fe6,_0x19d4c7)[_0x344121(0x1a6)]||[])[_0x344121(0x2a3)]((_0x1d099c,_0x273b80)=>_0x29468c(_0x1d099c,_0x2c0e4b+'-'+_0x4b0fe6['tag']+'-'+_0x273b80,_0x19d4c7,void 0x0,_0x4f0665)));}function _0x275493(_0x945155,_0x4761b7,_0x551999){const _0x513fcc=_0x1afe5f,_0x5a2f4d={..._0x945155[_0x513fcc(0x2d5)]};_0x551999!=null&&_0x551999[_0x513fcc(0x3ab)]&&_0x5a2f4d[_0x513fcc(0x3ae)]===_0x513fcc(0x3ab)&&(_0x5a2f4d['fill']=_0x551999[_0x513fcc(0x3ab)]),_0x945155['tag']===_0x513fcc(0x2e7)&&_0x5a2f4d['id']&&(_0x5a2f4d['id']=_0x5a2f4d['id']+_0x4761b7[_0x513fcc(0x386)]),Object['entries'](_0x5a2f4d)[_0x513fcc(0x220)](([_0x4a398e,_0x3d9e51])=>{const _0x26022d=_0x513fcc;_0x4a398e===_0x26022d(0x2e7)&&typeof _0x3d9e51==_0x26022d(0x28f)&&(_0x5a2f4d[_0x4a398e]=_0x3d9e51[_0x26022d(0x28a)](/url\(#(.*)\)/,_0x26022d(0x3c1)+_0x4761b7['idSuffix']+')'));});const {defIds:_0x547019}=_0x4761b7;return!_0x547019||_0x547019[_0x513fcc(0x2a4)]===0x0||(_0x945155['tag']===_0x513fcc(0x284)&&_0x5a2f4d[_0x513fcc(0x336)]&&(_0x5a2f4d[_0x513fcc(0x336)]=_0x5a2f4d[_0x513fcc(0x336)]+_0x4761b7[_0x513fcc(0x386)]),Object[_0x513fcc(0x2f4)](_0x5a2f4d)['forEach'](([_0x1a7a5b,_0x3c79f4])=>{const _0x19687d=_0x513fcc;typeof _0x3c79f4==_0x19687d(0x28f)&&(_0x5a2f4d[_0x1a7a5b]=_0x3c79f4[_0x19687d(0x28a)](/url\(#(.*)\)/,'url(#$1'+_0x4761b7[_0x19687d(0x386)]+')'));})),_0x5a2f4d;}function _0x2f19bc(_0x911e0e,_0x53ec7b){const _0x2678b5=_0x1afe5f;var _0x347c91;const {defIds:_0xbcff18}=_0x53ec7b;return!_0xbcff18||_0xbcff18[_0x2678b5(0x2a4)]===0x0?_0x911e0e:_0x911e0e['tag']===_0x2678b5(0x361)&&((_0x347c91=_0x911e0e['children'])!=null&&_0x347c91['length'])?{..._0x911e0e,'children':_0x911e0e[_0x2678b5(0x1a6)][_0x2678b5(0x2a3)](_0x193345=>typeof _0x193345[_0x2678b5(0x2d5)]['id']==_0x2678b5(0x28f)&&_0xbcff18&&_0xbcff18[_0x2678b5(0x246)](_0x193345[_0x2678b5(0x2d5)]['id'])?{..._0x193345,'attrs':{..._0x193345[_0x2678b5(0x2d5)],'id':_0x193345[_0x2678b5(0x2d5)]['id']+_0x53ec7b[_0x2678b5(0x386)]}}:_0x193345)}:_0x911e0e;}function _0x1f5a5d(){const _0x1500bd=_0x1afe5f;return Math['random']()[_0x1500bd(0x2fc)](0x24)[_0x1500bd(0x34a)](0x2,0x8);}_0x3b5f83['displayName']=_0x1afe5f(0x272);const _0x3cccbb={'tag':_0x1afe5f(0x2be),'attrs':{'xmlns':_0x1afe5f(0x207),'fill':_0x1afe5f(0x1c0),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x1afe5f(0x1ea)},'children':[{'tag':'path','attrs':{'fill':_0x1afe5f(0x28c),'d':'M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z'}}]},_0x35df19=_0x3b3caa[_0x1afe5f(0x2e5)](function(_0x4e38d0,_0x5aa6dd){const _0x1d2ec8=_0x1afe5f;return _0x3b3caa['createElement'](_0x3b5f83,Object[_0x1d2ec8(0x2e4)]({},_0x4e38d0,{'id':_0x1d2ec8(0x2b4),'ref':_0x5aa6dd,'icon':_0x3cccbb}));});_0x35df19['displayName']=_0x1afe5f(0x265);const _0x3724a3={'tag':_0x1afe5f(0x2be),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2017','width':'1em','height':_0x1afe5f(0x1ea)},'children':[{'tag':'g','attrs':{'fill':_0x1afe5f(0x28c),'clipPath':_0x1afe5f(0x276)},'children':[{'tag':_0x1afe5f(0x385),'attrs':{'d':_0x1afe5f(0x34b)}},{'tag':_0x1afe5f(0x385),'attrs':{'d':'M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','fillRule':_0x1afe5f(0x267),'clipRule':'evenodd'}}]},{'tag':_0x1afe5f(0x361),'attrs':{},'children':[{'tag':_0x1afe5f(0x320),'attrs':{'id':_0x1afe5f(0x252)},'children':[{'tag':_0x1afe5f(0x294),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x1afe5f(0x398),'rx':0x4}}]}]}],'defIds':[_0x1afe5f(0x252)]},_0x1be778=_0x3b3caa[_0x1afe5f(0x2e5)](function(_0x2e65e7,_0x2d48b4){const _0x592560=_0x1afe5f;return _0x3b3caa[_0x592560(0x1ac)](_0x3b5f83,Object['assign']({},_0x2e65e7,{'id':'restore-icon','ref':_0x2d48b4,'icon':_0x3724a3}));});_0x1be778['displayName']=_0x1afe5f(0x330);const _0x328cc2={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1afe5f(0x1c0),'viewBox':_0x1afe5f(0x29a),'width':_0x1afe5f(0x1ea),'height':_0x1afe5f(0x1ea)},'children':[{'tag':_0x1afe5f(0x385),'attrs':{'fill':'#0B9EFB','d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x1afe5f(0x267),'clipRule':_0x1afe5f(0x267)}},{'tag':_0x1afe5f(0x385),'attrs':{'fill':_0x1afe5f(0x23b),'d':_0x1afe5f(0x3b4),'fillRule':_0x1afe5f(0x267),'clipRule':_0x1afe5f(0x267)}}]},_0x274e2c=_0x3b3caa[_0x1afe5f(0x2e5)](function(_0x1e7ccb,_0x432d1f){const _0x486cc5=_0x1afe5f;return _0x3b3caa[_0x486cc5(0x1ac)](_0x3b5f83,Object[_0x486cc5(0x2e4)]({},_0x1e7ccb,{'id':'loading-multi-icon','ref':_0x432d1f,'icon':_0x328cc2}));});_0x274e2c[_0x1afe5f(0x185)]=_0x1afe5f(0x2ce);function _0x133b75(){const _0x3c7d13=_0x1afe5f;var _0x360920;const _0x46da91=_0x447332[_0x3c7d13(0x332)](_0x311108[_0x3c7d13(0x256)]),_0x5798a0=_0x447332[_0x3c7d13(0x332)](_0x5999cd[_0x3c7d13(0x378)]),_0xf485d2=_0x3b3caa[_0x3c7d13(0x27b)](()=>{const _0x20f80e=_0x3c7d13;_0x46da91[_0x20f80e(0x395)]=_0x4cb442[_0x20f80e(0x373)];},[_0x46da91]),_0x45299e=_0x3b3caa[_0x3c7d13(0x27b)](()=>{const _0x3200c9=_0x3c7d13;_0x46da91[_0x3200c9(0x30d)]();},[_0x46da91]),_0x32732a=_0x447332[_0x3c7d13(0x29e)](_0x46da91['currentVersion$']),_0x43c942=_0x447332[_0x3c7d13(0x29e)](_0x46da91[_0x3c7d13(0x35b)]),_0x26fce0=_0x32732a===((_0x360920=_0x43c942==null?void 0x0:_0x43c942[0x0])==null?void 0x0:_0x360920['id']),_0x3d63b8=_0x32732a!==''&&!_0x26fce0&&_0x46da91[_0x3c7d13(0x394)];return _0x4dbad1[_0x3c7d13(0x25e)](_0x3c7d13(0x247),{'className':_0x1f7c98[_0x3c7d13(0x1f1)](_0x3c7d13(0x263),_0x1f7c98['borderBottomClassName']),'children':[_0x4dbad1[_0x3c7d13(0x2ae)]('a',{'className':_0x3c7d13(0x2dc),'role':_0x3c7d13(0x3ad),'onClick':_0xf485d2,'children':_0x4dbad1['jsx'](_0x35df19,{'className':_0x3c7d13(0x236)})}),_0x4dbad1[_0x3c7d13(0x2ae)]('div',{'className':_0x3c7d13(0x3aa),'children':_0x3d63b8&&_0x4dbad1['jsx'](_0x1f7c98[_0x3c7d13(0x28d)],{'variant':'primary','onClick':_0x45299e,'children':_0x5798a0['t'](_0x3c7d13(0x1cc))})})]});}var _0x4b7af9=Object[_0x1afe5f(0x2d3)],_0x3822c1=(_0x208273,_0x11c115,_0x5a874d,_0xb205ca)=>{const _0x422f3d=_0x1afe5f;for(var _0x2d556b=_0xb205ca>0x1?void 0x0:_0xb205ca?_0x4b7af9(_0x11c115,_0x5a874d):_0x11c115,_0x32cebd=_0x208273[_0x422f3d(0x2a4)]-0x1,_0x32d469;_0x32cebd>=0x0;_0x32cebd--)(_0x32d469=_0x208273[_0x32cebd])&&(_0x2d556b=_0x32d469(_0x2d556b)||_0x2d556b);return _0x2d556b;},_0x397164=(_0x6deb91,_0x153e85)=>(_0x3b62d8,_0x5ca57c)=>_0x153e85(_0x3b62d8,_0x5ca57c,_0x6deb91);let _0x5201a6=class extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(_0x4af7c9,_0x5c968c,_0x301e27,_0x5b2a5d,_0x468688,_0x1e569a){const _0x4e654f=_0x1afe5f;super(),this['_permissionService']=_0x4af7c9,this[_0x4e654f(0x1b3)]=_0x5c968c,this['_messageService']=_0x301e27,this[_0x4e654f(0x351)]=_0x5b2a5d,this[_0x4e654f(0x2c1)]=_0x468688,this[_0x4e654f(0x25b)]=_0x1e569a,this[_0x4e654f(0x28b)]();}[_0x1afe5f(0x28b)](){const _0x10537b=_0x1afe5f;this[_0x10537b(0x39b)](this[_0x10537b(0x2c1)][_0x10537b(0x238)]['subscribe'](_0x4f0785=>{const _0x57cd57=_0x10537b;_0x4f0785&&this['_historyManagerService'][_0x57cd57(0x366)](_0x4f0785);})),this[_0x10537b(0x39b)](this[_0x10537b(0x195)][_0x10537b(0x36b)][_0x10537b(0x26a)](_0x1421ad=>{const _0x160ccd=_0x10537b,_0x21b5b5=this['_historyManagerService'][_0x160ccd(0x3bb)];_0x21b5b5&&(_0x1421ad[_0x160ccd(0x24e)]===_0x1f8240['Edit']&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this['_permissionService'][_0x160ccd(0x1a8)](new _0x31a12e['WorkbookEditablePermission'](_0x21b5b5)['id'],!0x1),_0x1421ad['subType']===_0x1f8240[_0x160ccd(0x23c)]&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x31a12e[(_0x160ccd(0x308))](_0x21b5b5)['id'],!0x1),_0x1421ad[_0x160ccd(0x24e)]===_0x1f8240[_0x160ccd(0x3c4)]&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this['_permissionService'][_0x160ccd(0x1a8)](new _0x31a12e[(_0x160ccd(0x35e))](_0x21b5b5)['id'],!0x1),_0x1421ad[_0x160ccd(0x24e)]===_0x1f8240[_0x160ccd(0x18d)]&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this['_permissionService'][_0x160ccd(0x1a8)](new _0x31a12e[(_0x160ccd(0x328))](_0x21b5b5)['id'],!0x1),_0x1421ad[_0x160ccd(0x24e)]===_0x1f8240[_0x160ccd(0x187)]&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this[_0x160ccd(0x195)][_0x160ccd(0x1a8)](new _0x31a12e[(_0x160ccd(0x22b))](_0x21b5b5)['id'],!0x1),_0x1421ad[_0x160ccd(0x24e)]===_0x1f8240[_0x160ccd(0x21f)]&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this['_permissionService'][_0x160ccd(0x1a8)](new _0x31a12e[(_0x160ccd(0x22b))](_0x21b5b5)['id'],!0x1));})),this[_0x10537b(0x39b)](this[_0x10537b(0x1b3)][_0x10537b(0x274)](_0x447332[_0x10537b(0x210)][_0x10537b(0x316)],()=>_0x447332[_0x10537b(0x34d)](_0x133b75,this[_0x10537b(0x25b)]))),this[_0x10537b(0x39b)](this['_historyManagerService'][_0x10537b(0x2c5)][_0x10537b(0x26a)](_0x12e7fc=>{const _0x5916a0=_0x10537b;_0x12e7fc===_0x89285d[_0x5916a0(0x298)]&&(this[_0x5916a0(0x2c1)]['showMask'](),this[_0x5916a0(0x262)][_0x5916a0(0x3c2)]({'type':_0x1f7c98[_0x5916a0(0x1f5)]['Info'],'content':this[_0x5916a0(0x351)]['t'](_0x5916a0(0x1b2))})),_0x12e7fc===_0x89285d[_0x5916a0(0x3bc)]&&this[_0x5916a0(0x2c1)][_0x5916a0(0x2e2)]();}));}};_0x5201a6=_0x3822c1([_0x397164(0x0,_0x5999cd['IPermissionService']),_0x397164(0x1,_0x447332[_0x1afe5f(0x2c9)]),_0x397164(0x2,_0x447332[_0x1afe5f(0x241)]),_0x397164(0x3,_0x5999cd[_0x1afe5f(0x205)](_0x5999cd[_0x1afe5f(0x378)])),_0x397164(0x4,_0x5999cd['Inject'](_0x311108[_0x1afe5f(0x256)])),_0x397164(0x5,_0x5999cd['Inject'](_0x5999cd[_0x1afe5f(0x2f3)]))],_0x5201a6);var _0x13160c=Object[_0x1afe5f(0x2d3)],_0x3b3000=(_0x3079b5,_0x94d848,_0x32ae5f,_0x10ffad)=>{for(var _0x1bd70b=_0x10ffad>0x1?void 0x0:_0x10ffad?_0x13160c(_0x94d848,_0x32ae5f):_0x94d848,_0x500b8d=_0x3079b5['length']-0x1,_0x27230a;_0x500b8d>=0x0;_0x500b8d--)(_0x27230a=_0x3079b5[_0x500b8d])&&(_0x1bd70b=_0x27230a(_0x1bd70b)||_0x1bd70b);return _0x1bd70b;},_0x425839=(_0x16ee14,_0x4dba4e)=>(_0x260d64,_0x6e506c)=>_0x4dba4e(_0x260d64,_0x6e506c,_0x16ee14);let _0xbe32d7=class extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(_0x5b6d18,_0x16765e,_0x9a6c1b){const _0x2f1823=_0x1afe5f;super(),_0x57ef2d(this,_0x2f1823(0x22c),new Map()),_0x57ef2d(this,_0x2f1823(0x253),new _0x2ae290[(_0x2f1823(0x3c7))]({'ranges':new Map(),'active':null})),_0x57ef2d(this,_0x2f1823(0x1a1),this[_0x2f1823(0x253)][_0x2f1823(0x24c)]()),(this[_0x2f1823(0x2c1)]=_0x5b6d18,this[_0x2f1823(0x25f)]=_0x16765e,this[_0x2f1823(0x26e)]=_0x9a6c1b,this['_init']());}[_0x1afe5f(0x28b)](){const _0x4b1f4e=_0x1afe5f;this[_0x4b1f4e(0x22c)]=new Map(),this['disposeWithMe'](this[_0x4b1f4e(0x2c1)]['unitId$'][_0x4b1f4e(0x26a)](_0xa490d9=>{const _0x7e0f70=_0x4b1f4e;_0xa490d9&&!this[_0x7e0f70(0x22c)]['has'](_0xa490d9)&&this['_diffRangesMap'][_0x7e0f70(0x1cf)](_0xa490d9,new Map());})),this['disposeWithMe'](this[_0x4b1f4e(0x2c1)][_0x4b1f4e(0x238)][_0x4b1f4e(0x26a)](async _0x378680=>{const _0x2a64f5=_0x4b1f4e;var _0xc51b4b;_0x378680&&(await this[_0x2a64f5(0x24a)](_0x378680),this[_0x2a64f5(0x253)][_0x2a64f5(0x3a4)](((_0xc51b4b=this['_diffRangesMap'][_0x2a64f5(0x300)](this[_0x2a64f5(0x2c1)]['unitId']))==null?void 0x0:_0xc51b4b[_0x2a64f5(0x300)](_0x378680))||{'ranges':new Map(),'active':null}));}));}async[_0x1afe5f(0x24a)](_0x269b89){const _0x124c57=_0x1afe5f;var _0x410b7f,_0x3ab855;const _0x5d14fa=this[_0x124c57(0x2c1)][_0x124c57(0x21d)](_0x269b89),_0x3a8626=this['_historyManagerService'][_0x124c57(0x3bb)];if(!_0x5d14fa||!_0x3a8626)return;const _0xf3cfb=this[_0x124c57(0x22c)][_0x124c57(0x300)](_0x3a8626);if(_0xf3cfb||this[_0x124c57(0x22c)][_0x124c57(0x1cf)](_0x3a8626,new Map()),(_0x410b7f=this[_0x124c57(0x22c)][_0x124c57(0x300)](_0x3a8626))!=null&&_0x410b7f[_0x124c57(0x271)](_0x5d14fa['id']))return;const {startRev:_0x61cd9f,endRev:_0x487da6}=_0x5d14fa;if(_0x61cd9f===0x1){_0xf3cfb[_0x124c57(0x1cf)](_0x5d14fa['id'],{'ranges':new Map(),'active':null});return;}const _0x459cbf=_0x61cd9f-0x1,_0x12c311=_0x487da6,_0x3840d0=await this[_0x124c57(0x26e)][_0x124c57(0x2b0)]({},{'unitID':_0x3a8626,'from':_0x459cbf,'to':_0x12c311,'type':_0x49d7de[_0x124c57(0x1dd)]});if(((_0x3ab855=_0x3840d0[_0x124c57(0x19e)])==null?void 0x0:_0x3ab855['code'])===_0x1a56b0['OK']){const _0x35aa44=_0x3840d0['changesets'][_0x124c57(0x2a3)](_0x19cc39=>((_0x19cc39[_0x124c57(0x1c1)]===null||_0x19cc39[_0x124c57(0x1c1)]===void 0x0)&&(_0x19cc39[_0x124c57(0x1c1)]=[]),_0x221432['parseProtocolChangeset'](_0x19cc39)))['map'](_0x78af4d=>_0x78af4d[_0x124c57(0x1c1)][_0x124c57(0x2a3)](_0x21c7de=>({..._0x21c7de,'params':{..._0x21c7de[_0x124c57(0x2ac)],'memberId':_0x78af4d[_0x124c57(0x2f2)]}})))[_0x124c57(0x217)](),_0x43f370=this[_0x124c57(0x2bc)](_0x35aa44),_0x3df01c=this[_0x124c57(0x20b)](_0x35aa44),_0x599329=this['_extractRanges'](_0x43f370);_0xf3cfb[_0x124c57(0x1cf)](_0x5d14fa['id'],{'ranges':_0x599329,'active':_0x3df01c});}}[_0x1afe5f(0x2bc)](_0x5024f1){const _0x1cb6b1=_0x1afe5f;let _0x2844b7=[];for(let _0x5d526f=0x0;_0x5d526f<_0x5024f1[_0x1cb6b1(0x2a4)];_0x5d526f++){const _0x21751b=_0x5024f1[_0x5d526f];if(_0x2844b7[_0x1cb6b1(0x2d4)](_0x21751b),_0x5d526f!==_0x5024f1[_0x1cb6b1(0x2a4)]-0x1){const _0x440288=_0x5024f1[_0x5d526f+0x1],_0x4b97ed=this['_transformService'][_0x1cb6b1(0x3b6)](_0x2844b7,[_0x440288]);_0x221432[_0x1cb6b1(0x3af)](_0x4b97ed)?_0x2844b7=_0x4b97ed[_0x1cb6b1(0x28e)]:_0x2844b7=[];}}return _0x2844b7;}[_0x1afe5f(0x20b)](_0x31d32a){const _0x3a0985=_0x1afe5f;let _0x461142=[];return _0x31d32a[_0x3a0985(0x220)](_0x3c8716=>{const _0x47b3d1=_0x3a0985;if(_0x3c8716['id']===_0x31a12e[_0x47b3d1(0x249)]['id']){const _0x4593e8=_0x3c8716[_0x47b3d1(0x2ac)];_0x461142['push'](_0x4593e8['sheet']['id']);}else{if(_0x3c8716['id']===_0x31a12e[_0x47b3d1(0x362)]['id']){const _0x1bc6dd=_0x3c8716[_0x47b3d1(0x2ac)];_0x461142[_0x47b3d1(0x2a4)]>0x0&&(_0x461142=_0x461142[_0x47b3d1(0x221)](_0x7dd682=>_0x7dd682!==_0x1bc6dd[_0x47b3d1(0x1b8)]));}else{if(_0x3c8716['id']===_0x31a12e[_0x47b3d1(0x350)]['id']){const _0x101c6d=_0x3c8716[_0x47b3d1(0x2ac)];_0x101c6d[_0x47b3d1(0x36a)]?_0x461142=_0x461142[_0x47b3d1(0x221)](_0x243554=>_0x243554!==_0x101c6d['subUnitId']):_0x461142[_0x47b3d1(0x2d4)](_0x101c6d[_0x47b3d1(0x1b8)]);}else{const _0xb835d1=_0x3c8716['params'];_0xb835d1[_0x47b3d1(0x1b8)]&&_0x461142[_0x47b3d1(0x2d4)](_0xb835d1[_0x47b3d1(0x1b8)]);}}}}),_0x461142[_0x3a0985(0x2a4)]>0x0?_0x461142[_0x461142[_0x3a0985(0x2a4)]-0x1]:null;}[_0x1afe5f(0x287)](_0x3986cb){const _0x2789e2=_0x1afe5f,_0x13b9a6=new Map();return _0x3986cb[_0x2789e2(0x220)](_0x468731=>{const _0x262fc8=_0x2789e2;var _0x2d18da,_0x591a31;const _0xfc2683=(_0x2d18da=_0x468731[_0x262fc8(0x2ac)])==null?void 0x0:_0x2d18da[_0x262fc8(0x261)];if(_0xfc2683){_0x13b9a6[_0x262fc8(0x271)](_0xfc2683)||_0x13b9a6[_0x262fc8(0x1cf)](_0xfc2683,[]);const _0x54eeae=this['_getRangesByMutation'](_0x468731);(_0x591a31=_0x13b9a6[_0x262fc8(0x300)](_0xfc2683))==null||_0x591a31[_0x262fc8(0x2d4)](..._0x54eeae);}}),_0x13b9a6[_0x2789e2(0x220)]((_0x521e8c,_0x39360c)=>{const _0x1613a8=_0x2789e2;_0x13b9a6[_0x1613a8(0x1cf)](_0x39360c,this[_0x1613a8(0x193)](_0x521e8c));}),_0x13b9a6;}[_0x1afe5f(0x1d6)](_0x919eab){const _0x3d52e5=_0x1afe5f;switch(_0x919eab['id']){case _0x31a12e[_0x3d52e5(0x239)]['id']:{const _0x273240=_0x919eab['params'];return _0x273240[_0x3d52e5(0x315)][_0x3d52e5(0x2a3)](_0x5027e3=>_0x5027e3[_0x3d52e5(0x1d2)][_0x3d52e5(0x2a3)](_0x124bac=>({'range':_0x124bac,'unitId':_0x273240[_0x3d52e5(0x3bb)],'subUnitId':_0x273240[_0x3d52e5(0x1b8)]})))[_0x3d52e5(0x217)]();}case _0x31a12e[_0x3d52e5(0x39f)]['id']:{const _0x11ae5c=_0x919eab['params'];return _0x11ae5c[_0x3d52e5(0x1d2)]['map'](_0x5428d1=>({'range':_0x5428d1,'unitId':_0x11ae5c[_0x3d52e5(0x3bb)],'subUnitId':_0x11ae5c['subUnitId']}));}case _0x31a12e[_0x3d52e5(0x359)]['id']:{const _0x138e1a=_0x919eab[_0x3d52e5(0x2ac)];return[{'range':_0x138e1a[_0x3d52e5(0x1d3)],'unitId':_0x138e1a[_0x3d52e5(0x3bb)],'subUnitId':_0x138e1a[_0x3d52e5(0x1b8)]}];}case _0x31a12e[_0x3d52e5(0x27e)]['id']:{const _0x47d7f6=_0x919eab[_0x3d52e5(0x2ac)];return[{'range':_0x47d7f6[_0x3d52e5(0x1d3)],'unitId':_0x47d7f6[_0x3d52e5(0x3bb)],'subUnitId':_0x47d7f6['subUnitId']}];}case _0x31a12e['MoveRangeMutation']['id']:{const _0x2d5023=_0x919eab[_0x3d52e5(0x2ac)],{from:_0x43d1e4,to:_0x3c5720,unitId:_0x2ec633}=_0x2d5023;return[{'range':_0x4109e0(_0x43d1e4[_0x3d52e5(0x2d9)]),'unitId':_0x2ec633,'subUnitId':_0x43d1e4['subUnitId']},{'range':_0x4109e0(_0x3c5720[_0x3d52e5(0x2d9)]),'unitId':_0x2ec633,'subUnitId':_0x3c5720[_0x3d52e5(0x1b8)]}];}case _0x31a12e[_0x3d52e5(0x3c0)]['id']:{const _0x279ac1=_0x919eab[_0x3d52e5(0x2ac)],{unitId:_0x492858,subUnitId:_0x48896f,sourceRange:_0x8055d8,targetRange:_0x2653d3}=_0x279ac1,_0xfb2bb=_0x8055d8[_0x3d52e5(0x376)]-_0x8055d8['startRow']+0x1;return[{'range':_0x2653d3[_0x3d52e5(0x1c7)]<=_0x8055d8[_0x3d52e5(0x1c7)]?_0x2653d3:{..._0x2653d3,'startRow':_0x2653d3[_0x3d52e5(0x1c7)]-_0xfb2bb,'endRow':_0x2653d3[_0x3d52e5(0x376)]-_0xfb2bb},'unitId':_0x492858,'subUnitId':_0x48896f}];}case _0x31a12e[_0x3d52e5(0x393)]['id']:{const _0x5cde80=_0x919eab['params'],{unitId:_0x57ae6c,subUnitId:_0xaf07ac,sourceRange:_0x447903,targetRange:_0x2e12dc}=_0x5cde80,_0x3a98c7=_0x447903[_0x3d52e5(0x293)]-_0x447903[_0x3d52e5(0x255)]+0x1;return[{'range':_0x2e12dc['startColumn']<=_0x447903[_0x3d52e5(0x255)]?_0x2e12dc:{..._0x2e12dc,'startColumn':_0x2e12dc[_0x3d52e5(0x255)]-_0x3a98c7,'endColumn':_0x2e12dc[_0x3d52e5(0x293)]-_0x3a98c7},'unitId':_0x57ae6c,'subUnitId':_0xaf07ac}];}case _0x31a12e[_0x3d52e5(0x2f8)]['id']:{const _0xbd6692=_0x919eab[_0x3d52e5(0x2ac)],{values:_0x3dffb9,unitId:_0x321a9a,subUnitId:_0x24d9af}=_0xbd6692;return Object[_0x3d52e5(0x2e9)](_0x3dffb9)[_0x3d52e5(0x2a3)](_0x38e148=>_0x38e148[_0x3d52e5(0x1d2)]['map'](_0x129655=>({'range':_0x129655,'unitId':_0x321a9a,'subUnitId':_0x24d9af})))[_0x3d52e5(0x217)]();}case _0x31a12e[_0x3d52e5(0x38c)]['id']:{const _0x370900=_0x919eab['params'],{ranges:_0x40da6b,unitId:_0x27f486,subUnitId:_0x510ab0}=_0x370900;return _0x40da6b[_0x3d52e5(0x2a3)](_0x3552dc=>({'range':_0x3552dc,'unitId':_0x27f486,'subUnitId':_0x510ab0}));}case _0x31a12e[_0x3d52e5(0x387)]['id']:{const _0x25861f=_0x919eab[_0x3d52e5(0x2ac)],{unitId:_0x2cef9b,subUnitId:_0x93e21a,range:_0x1dabc8}=_0x25861f;return[{'range':_0x1dabc8,'unitId':_0x2cef9b,'subUnitId':_0x93e21a}];}case _0x31a12e[_0x3d52e5(0x340)]['id']:{const _0x124ff6=_0x919eab[_0x3d52e5(0x2ac)];return _0x124ff6[_0x3d52e5(0x309)][_0x3d52e5(0x1d2)][_0x3d52e5(0x2a3)](_0x43c4d0=>({'range':_0x43c4d0,'unitId':_0x124ff6[_0x3d52e5(0x3bb)],'subUnitId':_0x124ff6[_0x3d52e5(0x1b8)]}));}case _0x31a12e['SetRangeValuesMutation']['id']:{const _0x2abeae=_0x919eab[_0x3d52e5(0x2ac)];return _0x2abeae[_0x3d52e5(0x1b6)]?_0x2baaab(_0x2abeae['cellValue'])[_0x3d52e5(0x2a3)](_0x5c302c=>({'range':_0x5c302c,'unitId':_0x2abeae[_0x3d52e5(0x3bb)],'subUnitId':_0x2abeae[_0x3d52e5(0x1b8)]})):[];}case _0x45108d[_0x3d52e5(0x3b0)]['id']:{const _0x564c18=_0x919eab[_0x3d52e5(0x2ac)];return[{'range':_0x564c18[_0x3d52e5(0x1d3)],'unitId':_0x564c18['unitId'],'subUnitId':_0x564c18[_0x3d52e5(0x1b8)]}];}case _0x1dd3f5[_0x3d52e5(0x26f)]['id']:{const _0x119524=_0x919eab['params'];return(Array[_0x3d52e5(0x31c)](_0x119524[_0x3d52e5(0x309)])?_0x119524[_0x3d52e5(0x309)]:[_0x119524[_0x3d52e5(0x309)]])[_0x3d52e5(0x2a3)](_0x52615f=>_0x52615f[_0x3d52e5(0x1d2)][_0x3d52e5(0x2a3)](_0x55ecd0=>({'range':_0x55ecd0,'unitId':_0x119524[_0x3d52e5(0x3bb)],'subUnitId':_0x119524[_0x3d52e5(0x1b8)]})))[_0x3d52e5(0x217)]();}case _0x1034bd[_0x3d52e5(0x318)]['id']:{const _0x53d11f=_0x919eab['params'];return _0x53d11f['rule'][_0x3d52e5(0x1d2)][_0x3d52e5(0x2a3)](_0x2ab04a=>({'range':_0x2ab04a,'unitId':_0x53d11f['unitId'],'subUnitId':_0x53d11f[_0x3d52e5(0x1b8)]}));}default:return[];}}[_0x1afe5f(0x193)](_0x163d94){const _0xc1d7a6=_0x1afe5f;if(_0x163d94[_0xc1d7a6(0x2a4)]<=0x1)return _0x163d94;const _0x5d69fb=new Map();return _0x163d94[_0xc1d7a6(0x220)](_0x55bdc6=>{const _0x342258=_0xc1d7a6;var _0x1df459;const {unitId:_0x17f7ac,subUnitId:_0x11c37b}=_0x55bdc6,_0x20261f=_0x17f7ac+'-'+_0x11c37b;_0x5d69fb['has'](_0x20261f)?(_0x1df459=_0x5d69fb[_0x342258(0x300)](_0x20261f))==null||_0x1df459[_0x342258(0x2d4)](_0x55bdc6):_0x5d69fb['set'](_0x20261f,[_0x55bdc6]);}),Array[_0xc1d7a6(0x2b2)](_0x5d69fb[_0xc1d7a6(0x2e9)]())[_0xc1d7a6(0x2a3)](_0x8ac31f=>new _0x31a12e[(_0xc1d7a6(0x369))]()[_0xc1d7a6(0x1f2)](..._0x8ac31f[_0xc1d7a6(0x2a3)](_0x42f72b=>_0x42f72b[_0xc1d7a6(0x1d3)]))[_0xc1d7a6(0x260)]()[_0xc1d7a6(0x2a3)](_0x2c4fc1=>({'range':_0x2c4fc1,'unitId':_0x8ac31f[0x0][_0xc1d7a6(0x3bb)],'subUnitId':_0x8ac31f[0x0][_0xc1d7a6(0x1b8)]})))[_0xc1d7a6(0x217)]();}};_0xbe32d7=_0x3b3000([_0x425839(0x0,_0x5999cd[_0x1afe5f(0x205)](_0x311108[_0x1afe5f(0x256)])),_0x425839(0x1,_0x221432[_0x1afe5f(0x191)]),_0x425839(0x2,_0x221432[_0x1afe5f(0x1e3)])],_0xbe32d7);function _0x4109e0(_0x2dc379){const _0x254200=_0x1afe5f;return new _0x5999cd[(_0x254200(0x280))](_0x2dc379)[_0x254200(0x33d)]();}function _0x2baaab(_0xbaccb0){const _0x188aa7=_0x1afe5f,_0x3a7fec=new _0x5999cd[(_0x188aa7(0x280))](_0xbaccb0),_0x2a1c72=new _0x5999cd['ObjectMatrix']();return _0x3a7fec[_0x188aa7(0x368)]((_0x36a2b2,_0x399e7f)=>{const _0x8e23b0=_0x188aa7;_0x2a1c72[_0x8e23b0(0x27c)](_0x36a2b2,_0x399e7f,0x1);}),_0x31a12e['findAllRectangle'](_0x2a1c72);}var _0x5644ce=Object['getOwnPropertyDescriptor'],_0xe5463c=(_0xaa1b5d,_0xcc6138,_0x3ad788,_0x2001b4)=>{for(var _0x177301=_0x2001b4>0x1?void 0x0:_0x2001b4?_0x5644ce(_0xcc6138,_0x3ad788):_0xcc6138,_0x4863de=_0xaa1b5d['length']-0x1,_0x5f11c7;_0x4863de>=0x0;_0x4863de--)(_0x5f11c7=_0xaa1b5d[_0x4863de])&&(_0x177301=_0x5f11c7(_0x177301)||_0x177301);return _0x177301;},_0x453f3e=(_0x2a293b,_0x32d807)=>(_0x44d09f,_0x1d8df9)=>_0x32d807(_0x44d09f,_0x1d8df9,_0x2a293b);let _0x5bea65=class extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(_0x49ce79,_0x5d1bee,_0x3b5a04,_0x27755a,_0x5a1511,_0x2a05b1,_0x465b30){const _0x1f0c29=_0x1afe5f;super(),_0x57ef2d(this,_0x1f0c29(0x346),new Set()),_0x57ef2d(this,'_lastPointer',null),(this[_0x1f0c29(0x1bc)]=_0x49ce79,this[_0x1f0c29(0x2c1)]=_0x5d1bee,this[_0x1f0c29(0x35a)]=_0x3b5a04,this[_0x1f0c29(0x39d)]=_0x27755a,this[_0x1f0c29(0x231)]=_0x5a1511,this['_sheetSkeletonManagerService']=_0x2a05b1,this['_commandService']=_0x465b30,this['_init']());}['_init'](){this['_initRender'](),this['_initActiveSwitch']();}[_0x1afe5f(0x21e)](){const _0x273396=_0x1afe5f;this[_0x273396(0x39b)](_0x2ae290[_0x273396(0x2f6)]([this[_0x273396(0x2c1)][_0x273396(0x2c5)],this[_0x273396(0x1db)][_0x273396(0x355)]])[_0x273396(0x2b8)](_0x2ae290[_0x273396(0x1ba)](([_0xa7e6fd,_0xf6f0dc])=>{const _0x1b0a27=_0x273396;if(_0xa7e6fd===_0x89285d[_0x1b0a27(0x3bc)]&&_0xf6f0dc){const _0x1bf54b=_0xf6f0dc[_0x1b0a27(0x208)];return this[_0x1b0a27(0x35a)][_0x1b0a27(0x1a1)][_0x1b0a27(0x2b8)](_0x2ae290['map'](_0x400c1e=>{const _0x176df7=_0x1b0a27,_0x3f8016=new Map();return _0x400c1e[_0x176df7(0x1d2)]['forEach']((_0x386a40,_0x38183a)=>{const _0x5a7040=_0x176df7,_0x20691b=_0x386a40[_0x5a7040(0x221)](_0x368095=>_0x368095[_0x5a7040(0x1b8)]===_0x1bf54b);_0x3f8016[_0x5a7040(0x1cf)](_0x38183a,_0x20691b);}),{'skeleton':_0xf6f0dc,'diffs':_0x3f8016};}));}return _0x2ae290['of']({'skeleton':null,'diffs':new Map()});}))[_0x273396(0x26a)](({skeleton:_0x11f43d,diffs:_0x4171e5})=>{const _0x520910=_0x273396;this['_removeDiffMarks'](),_0x11f43d&&this[_0x520910(0x3c5)](_0x11f43d,_0x4171e5);})),this[_0x273396(0x39b)](this[_0x273396(0x1db)][_0x273396(0x355)][_0x273396(0x26a)](_0x4da7be=>{const _0x50a27e=_0x273396;if(_0x4da7be==null)return;const {skeleton:_0x9fe300}=_0x4da7be,{scene:_0x3718bc}=this[_0x50a27e(0x1bc)];_0x3718bc['onPointerMove$']['subscribeEvent'](_0x5999cd[_0x50a27e(0x32b)](_0x196f42=>{const _0x10d015=_0x50a27e;var _0x405259,_0x2bcefb;const {offsetX:_0x3aa736,offsetY:_0x266ae1}=_0x196f42,{x:_0x2aa29f,y:_0x58c950}=_0x3718bc['getRelativeToViewportCoord'](_0x9378cd['Vector2']['FromArray']([_0x3aa736,_0x266ae1])),{scaleX:_0x24487d,scaleY:_0x495d5f}=_0x3718bc[_0x10d015(0x2ba)](),_0x3cdea3=_0x3718bc[_0x10d015(0x199)](_0x9378cd[_0x10d015(0x1fd)][_0x10d015(0x3b3)]),_0x2ed338=_0x3718bc[_0x10d015(0x198)](_0x9378cd[_0x10d015(0x248)][_0x10d015(0x1d0)]([_0x2aa29f,_0x58c950]),_0x3cdea3),_0x523e4a=_0x9fe300[_0x10d015(0x31e)](_0x3aa736,_0x266ae1,_0x24487d,_0x495d5f,_0x2ed338);((_0x405259=this['_lastPointer'])==null?void 0x0:_0x405259[_0x10d015(0x38b)])===_0x523e4a['column']&&((_0x2bcefb=this['_lastPointer'])==null?void 0x0:_0x2bcefb[_0x10d015(0x1d5)])===_0x523e4a[_0x10d015(0x1d5)]||this['_diffs']['forEach'](_0xb1514e=>{const _0x2e98e7=_0x10d015;_0xb1514e[_0x2e98e7(0x2ed)](_0x523e4a);});},0x64));}));}[_0x1afe5f(0x1a3)](){const _0x4ef95a=_0x1afe5f;this[_0x4ef95a(0x39b)](this['_historyManagerService'][_0x4ef95a(0x2c5)][_0x4ef95a(0x26a)](_0xc8d331=>{const _0xf96545=_0x4ef95a,_0xa1c5=new _0x5999cd[(_0xf96545(0x305))]();return _0xc8d331===_0x89285d[_0xf96545(0x3bc)]&&(_0xa1c5['dispose'](),_0xa1c5[_0xf96545(0x1f2)](this['_versionDiffService'][_0xf96545(0x1a1)]['subscribe'](_0x35d4ce=>{const _0x558e5a=_0xf96545;_0x35d4ce[_0x558e5a(0x1cb)]&&this[_0x558e5a(0x1bf)][_0x558e5a(0x2f0)](_0x31a12e[_0x558e5a(0x307)]['id'],{'unitId':this[_0x558e5a(0x1bc)][_0x558e5a(0x3bb)],'subUnitId':_0x35d4ce[_0x558e5a(0x1cb)]});}))),()=>_0xa1c5[_0xf96545(0x23e)]();}));}[_0x1afe5f(0x3c5)](_0x2ec6e9,_0x3c7b91){const _0x1c6606=_0x1afe5f;var _0x196361;const _0x5c8310=(_0x196361=this[_0x1c6606(0x1db)][_0x1c6606(0x2ea)]())==null?void 0x0:_0x196361[_0x1c6606(0x329)];if(!_0x5c8310)return;this['_diffs'][_0x1c6606(0x220)](_0x3461fc=>{const _0x4edbfa=_0x1c6606;_0x3461fc[_0x4edbfa(0x397)]();});const {scene:_0x4e8866}=this['_context'],_0x521cfb=Array['from'](_0x3c7b91[_0x1c6606(0x352)]())['map'](_0x18898c=>_0x3c7b91[_0x1c6606(0x300)](_0x18898c)[_0x1c6606(0x2a3)](_0x10710e=>{const _0x4fa4e9=_0x1c6606;var _0x114a35;const {range:_0x2cacfe,subUnitId:_0x2f8937,unitId:_0x360519}=_0x10710e,{startColumn:_0x47833e,startRow:_0x47eb02,endColumn:_0x1ac79f,endRow:_0x20f350}=_0x2cacfe,_0x520ff3=_0x1f85a6[_0x4fa4e9(0x2d2)](_0x47eb02,_0x47833e,_0x4e8866,_0x5c8310),_0x33fb93=_0x1f85a6[_0x4fa4e9(0x2d2)](_0x20f350,_0x1ac79f,_0x4e8866,_0x5c8310),{columnHeaderHeightAndMarginTop:_0x39ab69}=_0x5c8310,{startX:_0x4332dd,startY:_0x293673}=_0x520ff3,{endX:_0x3820b2,endY:_0x12955a}=_0x33fb93,_0x16b499=_0x3820b2-_0x4332dd,_0x5055f8=_0x12955a-_0x293673,_0x46afef={'labelPosition':_0x293673-_0x39ab69>=0x14?'top':_0x4fa4e9(0x1aa),'sheetID':_0x2f8937,'range':_0x2cacfe,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x114a35=this[_0x4fa4e9(0x2c1)][_0x4fa4e9(0x259)](_0x18898c))==null?void 0x0:_0x114a35['name'])||'','selection':_0x360519+'-'+_0x2f8937+'-'+_0x2cacfe[_0x4fa4e9(0x255)]+'-'+_0x2cacfe[_0x4fa4e9(0x1c7)]+'-'+_0x2cacfe['endColumn']+'-'+_0x2cacfe['endRow'],'left':_0x4332dd,'top':_0x293673,'width':_0x16b499,'height':_0x5055f8,'evented':!0x1,'zIndex':0x1};return new _0xab4d26['SheetCollabCursorShape']('',_0x46afef);}))[_0x1c6606(0x217)]();_0x4e8866[_0x1c6606(0x2da)](_0x521cfb,0x1),this[_0x1c6606(0x346)]=new Set(_0x521cfb);}[_0x1afe5f(0x1b9)](){const _0x421041=_0x1afe5f;var _0x297e5a;(_0x297e5a=this['_diffs'])==null||_0x297e5a[_0x421041(0x220)](_0x53a3e9=>_0x53a3e9[_0x421041(0x23e)]());}[_0x1afe5f(0x1a2)](){const _0x578bd=_0x1afe5f;return _0x1f85a6[_0x578bd(0x20a)](this[_0x578bd(0x39d)],this[_0x578bd(0x231)]);}};_0x5bea65=_0xe5463c([_0x453f3e(0x1,_0x5999cd[_0x1afe5f(0x205)](_0x311108[_0x1afe5f(0x256)])),_0x453f3e(0x2,_0x5999cd['Inject'](_0xbe32d7)),_0x453f3e(0x3,_0x5999cd['IUniverInstanceService']),_0x453f3e(0x4,_0x9378cd['IRenderManagerService']),_0x453f3e(0x5,_0x5999cd[_0x1afe5f(0x205)](_0x1f85a6[_0x1afe5f(0x2a1)])),_0x453f3e(0x6,_0x5999cd['ICommandService'])],_0x5bea65);function _0x22fa36(){const _0x162afd=_0x1afe5f,_0x38b786=_0x447332[_0x162afd(0x332)](_0x311108['HistoryManagerService']),_0x573235=_0x447332[_0x162afd(0x29e)](_0x38b786[_0x162afd(0x35b)]),[_0x5e9bd4,_0x4cf579]=_0x3b3caa[_0x162afd(0x22a)](!0x1),_0x40ba60=_0x6dcede(_0x573235);return _0x573235?_0x4dbad1[_0x162afd(0x2ae)](_0x162afd(0x247),{'className':_0x162afd(0x25a),'children':_0x4dbad1[_0x162afd(0x25e)](_0x162afd(0x247),{'className':_0x162afd(0x33b),'children':[_0x40ba60['map']((_0x5e8155,_0xb97672)=>_0x4dbad1[_0x162afd(0x25e)](_0x3b3caa[_0x162afd(0x1b1)],{'children':[_0x4dbad1[_0x162afd(0x2ae)](_0x2b24b2,{'date':_0x5e8155[_0x162afd(0x1e5)]}),_0x5e8155[_0x162afd(0x194)][_0x162afd(0x2a3)]((_0x530397,_0x66566e)=>_0x4dbad1[_0x162afd(0x2ae)](_0xfbecf,{'index':[_0xb97672,_0x66566e],'item':_0x530397},_0xb97672+'-'+_0x66566e))]},_0x5e8155['dateString'])),_0x5e9bd4&&_0x4dbad1[_0x162afd(0x2ae)](_0x1f56a7,{})]})}):_0x4dbad1[_0x162afd(0x2ae)](_0x297e98,{});}function _0x1f56a7(){const _0xe91358=_0x1afe5f;return _0x4dbad1[_0xe91358(0x2ae)](_0xe91358(0x247),{'className':_0xe91358(0x1dc),'children':_0x4dbad1['jsx'](_0x274e2c,{'className':'univer-animate-spin'})});}function _0x297e98(){const _0x42d218=_0x1afe5f;return _0x4dbad1[_0x42d218(0x2ae)](_0x42d218(0x247),{'className':_0x42d218(0x2f9),'children':_0x4dbad1['jsx']('span',{'className':_0x42d218(0x1da),'children':_0x4dbad1[_0x42d218(0x2ae)](_0x274e2c,{'className':_0x42d218(0x343)})})});}function _0x2b24b2(_0x45b41f){const _0x97f6a8=_0x1afe5f,_0x5e212b=_0x447332['useDependency'](_0x5999cd[_0x97f6a8(0x378)]),{date:_0x2b00c7}=_0x45b41f;return _0x4dbad1[_0x97f6a8(0x2ae)]('div',{'className':_0x97f6a8(0x338),'children':_0x56ddd8(_0x2b00c7,_0x5e212b[_0x97f6a8(0x240)]())});}function _0xfbecf(_0x25a453){const _0x328d2d=_0x1afe5f,{item:_0x45de15,index:_0x19ba33}=_0x25a453,{time:_0xe00cb2,user:_0x458a48}=_0x45de15,[_0x57caa4,_0xf663a8]=_0x19ba33,_0x11f8d7=_0x447332['useDependency'](_0x311108[_0x328d2d(0x256)]),_0x2eae5e=_0x447332['useObservable'](_0x11f8d7['currentVersion$'],'',!0x0)===_0x45de15['id'],_0x552042=_0x57caa4===0x0&&_0xf663a8===0x0,_0x486193=!_0x552042&&_0x11f8d7[_0x328d2d(0x394)],_0x505010=_0x447332[_0x328d2d(0x332)](_0x5999cd['LocaleService']),_0x1d9d8b=_0x505010['getCurrentLocale'](),_0x6791d0=_0x414a26(_0xe00cb2,_0x1d9d8b),_0x596241=_0x505010['t']('editHistory.panel.currentVersion'),_0x5e2a7d=_0x3b3caa[_0x328d2d(0x27b)](_0x16604f=>{const _0x1e4401=_0x328d2d;_0x11f8d7[_0x1e4401(0x18e)]!==_0x89285d[_0x1e4401(0x298)]&&(_0x11f8d7['currentVersion']=_0x16604f);},[_0x11f8d7]),_0x1d744a=_0x3b3caa[_0x328d2d(0x27b)](_0xb661c9=>{const _0x38e45f=_0x328d2d;_0x11f8d7[_0x38e45f(0x30d)](_0xb661c9);},[_0x11f8d7]);return _0x4dbad1[_0x328d2d(0x25e)](_0x328d2d(0x247),{'className':_0x1f7c98['clsx'](_0x328d2d(0x201),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x2eae5e}),'onClick':()=>_0x5e2a7d(_0x45de15['id']),'children':[_0x4dbad1[_0x328d2d(0x25e)]('div',{'className':_0x328d2d(0x1e4),'children':[_0x4dbad1[_0x328d2d(0x25e)](_0x328d2d(0x247),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x4dbad1[_0x328d2d(0x2ae)]('span',{'children':_0x6791d0['time']}),_0x552042&&_0x4dbad1[_0x328d2d(0x2ae)](_0x328d2d(0x32a),{'className':_0x328d2d(0x36d),'children':_0x596241})]}),_0x4dbad1[_0x328d2d(0x2ae)]('div',{'children':_0x486193&&_0x4dbad1[_0x328d2d(0x2ae)](_0x1f7c98[_0x328d2d(0x2cf)],{'title':_0x505010['t'](_0x328d2d(0x186)),'children':_0x4dbad1[_0x328d2d(0x2ae)](_0x328d2d(0x247),{'onClick':_0x15cd37=>{const _0x4a2b5b=_0x328d2d;_0x15cd37[_0x4a2b5b(0x37b)](),_0x1d744a(_0x45de15['id']);},'className':_0x328d2d(0x371),'children':_0x4dbad1[_0x328d2d(0x2ae)](_0x1be778,{})})})})]}),_0x4dbad1[_0x328d2d(0x2ae)](_0x328d2d(0x247),{'className':_0x328d2d(0x2a7),'children':_0x2d0f08(_0x45de15,_0x505010)})]});}var _0x24e937=Object[_0x1afe5f(0x2d3)],_0x45b300=(_0x542f34,_0x4616c6,_0x3bb1b3,_0x2ae76c)=>{for(var _0x21ceca=_0x2ae76c>0x1?void 0x0:_0x2ae76c?_0x24e937(_0x4616c6,_0x3bb1b3):_0x4616c6,_0x14325f=_0x542f34['length']-0x1,_0x17524e;_0x14325f>=0x0;_0x14325f--)(_0x17524e=_0x542f34[_0x14325f])&&(_0x21ceca=_0x17524e(_0x21ceca)||_0x21ceca);return _0x21ceca;},_0x1b3e68=(_0x29660f,_0x1f97ed)=>(_0x137f40,_0x37b4bd)=>_0x1f97ed(_0x137f40,_0x37b4bd,_0x29660f);const _0x762eda='history-panel';let _0xeafef4=class extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(_0x18962d,_0x2cdb31,_0x4e2734,_0xb3be91){const _0x7b5e68=_0x1afe5f;super(),_0x57ef2d(this,_0x7b5e68(0x19f),null),(this[_0x7b5e68(0x269)]=_0x18962d,this[_0x7b5e68(0x1e7)]=_0x2cdb31,this[_0x7b5e68(0x351)]=_0x4e2734,this[_0x7b5e68(0x2c1)]=_0xb3be91,this[_0x7b5e68(0x28b)]());}[_0x1afe5f(0x28b)](){const _0x592a04=_0x1afe5f;this[_0x592a04(0x218)](),this[_0x592a04(0x375)]();}[_0x1afe5f(0x375)](){const _0x37e6da=_0x1afe5f;if(this['_sidebarDisposable'])return;const _0x2e7dec={'header':{'title':this[_0x37e6da(0x351)]['t'](_0x37e6da(0x38d))},'children':{'label':_0x762eda},'onClose':()=>{const _0x521850=_0x37e6da;this[_0x521850(0x19f)]=null,this[_0x521850(0x2c1)][_0x521850(0x395)]=_0x4cb442[_0x521850(0x373)];}};this[_0x37e6da(0x19f)]=this[_0x37e6da(0x269)]['open']({..._0x2e7dec});}[_0x1afe5f(0x218)](){const _0x593ebd=_0x1afe5f;this['disposeWithMe'](this[_0x593ebd(0x1e7)][_0x593ebd(0x2c2)](_0x762eda,_0x22fa36)),this['disposeWithMe'](this[_0x593ebd(0x269)][_0x593ebd(0x399)]['pipe'](_0x2ae290[_0x593ebd(0x364)](0x64))[_0x593ebd(0x26a)](_0x3df84a=>{const _0x1d09d9=_0x593ebd,{target:_0x566f92}=_0x3df84a||{};if(_0x566f92){const {scrollTop:_0x267db1,scrollHeight:_0x58d384,clientHeight:_0x84e1b0}=_0x566f92;_0x267db1+_0x84e1b0>=_0x58d384-0x5&&this['_historyManagerService'][_0x1d09d9(0x37c)]();}}));}};_0xeafef4=_0x45b300([_0x1b3e68(0x0,_0x447332[_0x1afe5f(0x2eb)]),_0x1b3e68(0x1,_0x5999cd['Inject'](_0x447332[_0x1afe5f(0x295)])),_0x1b3e68(0x2,_0x5999cd['Inject'](_0x5999cd['LocaleService'])),_0x1b3e68(0x3,_0x5999cd[_0x1afe5f(0x205)](_0x311108[_0x1afe5f(0x256)]))],_0xeafef4);class _0x3fd4bf extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(){const _0x997590=_0x1afe5f;super(),_0x57ef2d(this,_0x997590(0x2e1),new _0x2ae290['Subject']());}[_0x1afe5f(0x27d)](){const _0x732bf6=_0x1afe5f;return _0x5999cd[_0x732bf6(0x182)](()=>{});}[_0x1afe5f(0x30a)](){}[_0x1afe5f(0x37a)](_0x18e303){}['getDialogs$'](){return this['_dialogOptions$']['asObservable']();}}var _0x1b8126=Object[_0x1afe5f(0x379)],_0x16842b=Object[_0x1afe5f(0x2d3)],_0x481c22=(_0x2d5df1,_0x144fd3,_0x8a588b)=>_0x144fd3 in _0x2d5df1?_0x1b8126(_0x2d5df1,_0x144fd3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8a588b}):_0x2d5df1[_0x144fd3]=_0x8a588b,_0x128e6f=(_0x25b5d9,_0x5ae618,_0x1b47da,_0x313373)=>{const _0x9721d1=_0x1afe5f;for(var _0x448356=_0x313373>0x1?void 0x0:_0x313373?_0x16842b(_0x5ae618,_0x1b47da):_0x5ae618,_0x52f429=_0x25b5d9[_0x9721d1(0x2a4)]-0x1,_0x5e33be;_0x52f429>=0x0;_0x52f429--)(_0x5e33be=_0x25b5d9[_0x52f429])&&(_0x448356=_0x5e33be(_0x448356)||_0x448356);return _0x448356;},_0x2e9eb7=(_0x5b7184,_0x222aac)=>(_0x58db0d,_0x19844a)=>_0x222aac(_0x58db0d,_0x19844a,_0x5b7184),_0x4fb9aa=(_0x45be1b,_0x2cd861,_0x28a333)=>_0x481c22(_0x45be1b,_0x2cd861+'',_0x28a333);const _0xc32d7e=_0x1afe5f(0x288);_0x311108[_0x1afe5f(0x3a2)]=class extends _0x5999cd['Plugin']{constructor(_0x3740ac=_0x5cf162,_0x5005e1,_0x245fe3,_0x258320){const _0x8894aa=_0x1afe5f;super(),this['_config']=_0x3740ac,this[_0x8894aa(0x25b)]=_0x5005e1,this[_0x8894aa(0x231)]=_0x245fe3,this[_0x8894aa(0x383)]=_0x258320;const {..._0x2c6031}=_0x5999cd[_0x8894aa(0x260)]({},_0x5cf162,this[_0x8894aa(0x2fa)]);this[_0x8894aa(0x383)][_0x8894aa(0x321)](_0x438df1,_0x2c6031);}[_0x1afe5f(0x3a5)](){const _0x10a537=_0x1afe5f;[[_0x311108[_0x10a537(0x256)]],[_0x5201a6],[_0xbe32d7],[_0x61ac77],[_0xeafef4],[_0x412f1a],[_0x221432[_0x10a537(0x1e3)],{'useClass':_0x4371ba[_0x10a537(0x1c9)]}],[_0x447332[_0x10a537(0x20e)],{'useClass':_0x3fd4bf}],[_0x17f407[_0x10a537(0x21b)],{'useClass':_0x4371ba['CollaborationImageIoService']}]]['forEach'](_0x5ed2ef=>this['_injector'][_0x10a537(0x1f2)](_0x5ed2ef)),this['_injector'][_0x10a537(0x300)](_0x5201a6);}['onRendered'](){const _0x217145=_0x1afe5f;[[_0x5bea65]]['forEach'](_0x1a25c5=>{const _0x36c4f5=_0x1d45;this[_0x36c4f5(0x39b)](this[_0x36c4f5(0x231)][_0x36c4f5(0x2ca)](_0x5999cd[_0x36c4f5(0x313)][_0x36c4f5(0x1dd)],_0x1a25c5));}),this[_0x217145(0x25b)][_0x217145(0x300)](_0x412f1a),this['_injector'][_0x217145(0x300)](_0xeafef4);}[_0x1afe5f(0x2b9)](){const _0x299b36=_0x1afe5f;this[_0x299b36(0x25b)]['get'](_0xbe32d7);}},_0x4fb9aa(_0x311108['UniverEditHistoryViewerPlugin'],_0x1afe5f(0x226),_0xc32d7e),_0x311108[_0x1afe5f(0x3a2)]=_0x128e6f([_0x5999cd[_0x1afe5f(0x225)](_0x1f85a6[_0x1afe5f(0x35d)],_0x5eeed9[_0x1afe5f(0x2de)]),_0x2e9eb7(0x1,_0x5999cd[_0x1afe5f(0x205)](_0x5999cd[_0x1afe5f(0x2f3)])),_0x2e9eb7(0x2,_0x9378cd[_0x1afe5f(0x334)]),_0x2e9eb7(0x3,_0x5999cd['IConfigService'])],_0x311108[_0x1afe5f(0x3a2)]),_0x311108[_0x1afe5f(0x314)]=_0x4cb442,Object[_0x1afe5f(0x379)](_0x311108,Symbol[_0x1afe5f(0x2af)],{'value':_0x1afe5f(0x30f)});}));
|
|
18
18
|
|
|
19
19
|
// @univerjs-pro/edit-history-loader/index
|
|
20
|
-
function _0x5b41(_0x55741a,_0x59e420){const _0x144edb=_0x144e();return _0x5b41=function(_0x5b41a6,_0x17c2f3){_0x5b41a6=_0x5b41a6-0xcd;let _0x41e98c=_0x144edb[_0x5b41a6];return _0x41e98c;},_0x5b41(_0x55741a,_0x59e420);}(function(_0x2476c3,_0x332aef){const _0x1d7f82=_0x5b41,_0x2b0475=_0x2476c3();while(!![]){try{const _0x2ab592=-parseInt(_0x1d7f82(0x1a8))/0x1*(parseInt(_0x1d7f82(0x110))/0x2)+-parseInt(_0x1d7f82(0x184))/0x3*(parseInt(_0x1d7f82(0x1aa))/0x4)+parseInt(_0x1d7f82(0x1b3))/0x5+parseInt(_0x1d7f82(0x1a2))/0x6+parseInt(_0x1d7f82(0x12f))/0x7+parseInt(_0x1d7f82(0x107))/0x8*(parseInt(_0x1d7f82(0x1cd))/0x9)+-parseInt(_0x1d7f82(0x169))/0xa;if(_0x2ab592===_0x332aef)break;else _0x2b0475['push'](_0x2b0475['shift']());}catch(_0x3f4f0b){_0x2b0475['push'](_0x2b0475['shift']());}}}(_0x144e,0x3494b),function(_0x3246d0,_0x3d2506){const _0x344da5=_0x5b41;typeof exports==_0x344da5(0xe1)&&typeof module<'u'?_0x3d2506(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0x344da5(0x117)&&define[_0x344da5(0x10a)]?define([_0x344da5(0x1b5),_0x344da5(0x105),_0x344da5(0x123),_0x344da5(0x15a),'@univerjs/design',_0x344da5(0x16e),'@univerjs/ui','rxjs',_0x344da5(0x1db),_0x344da5(0xd5),_0x344da5(0xee),'@univerjs-pro/sheets-pivot',_0x344da5(0x178),_0x344da5(0x143),'@univerjs/data-validation',_0x344da5(0xdc),_0x344da5(0x1c6),_0x344da5(0xf3),'@univerjs/drawing-ui',_0x344da5(0xe0),_0x344da5(0x13f),'@univerjs/network',_0x344da5(0x1d9),_0x344da5(0xf8),_0x344da5(0x13d),'@univerjs/sheets-data-validation',_0x344da5(0xd9),_0x344da5(0x1b7),_0x344da5(0x17a),_0x344da5(0x101),_0x344da5(0x1d8),_0x344da5(0xe4),_0x344da5(0x1a7),_0x344da5(0x160),_0x344da5(0xd8),'@univerjs/sheets-numfmt',_0x344da5(0x11f)],_0x3d2506):(_0x3246d0=typeof globalThis<'u'?globalThis:_0x3246d0||self,_0x3d2506(_0x3246d0[_0x344da5(0x148)]={},_0x3246d0[_0x344da5(0x1ca)],_0x3246d0[_0x344da5(0x1d5)],_0x3246d0[_0x344da5(0xdd)],_0x3246d0['UniverDesign'],_0x3246d0[_0x344da5(0xcf)],_0x3246d0[_0x344da5(0x19c)],_0x3246d0[_0x344da5(0x1d2)],_0x3246d0['UniverSheets'],_0x3246d0[_0x344da5(0x18e)],_0x3246d0[_0x344da5(0x1ba)],_0x3246d0['UniverProSheetsPivot'],_0x3246d0[_0x344da5(0x19e)],_0x3246d0[_0x344da5(0x1b1)],_0x3246d0[_0x344da5(0x12e)],_0x3246d0['UniverDocs'],_0x3246d0['UniverDocsUi'],_0x3246d0['UniverDrawing'],_0x3246d0[_0x344da5(0xf7)],_0x3246d0['UniverEngineFormula'],_0x3246d0[_0x344da5(0x114)],_0x3246d0[_0x344da5(0x179)],_0x3246d0['UniverRpc'],_0x3246d0[_0x344da5(0x146)],_0x3246d0[_0x344da5(0x18b)],_0x3246d0[_0x344da5(0x19d)],_0x3246d0[_0x344da5(0x127)],_0x3246d0[_0x344da5(0x176)],_0x3246d0[_0x344da5(0x147)],_0x3246d0[_0x344da5(0x1a1)],_0x3246d0[_0x344da5(0x10d)],_0x3246d0['UniverSheetsFormula'],_0x3246d0[_0x344da5(0x151)],_0x3246d0['UniverSheetsHyperLink'],_0x3246d0[_0x344da5(0x145)],_0x3246d0[_0x344da5(0x157)],_0x3246d0[_0x344da5(0x1c9)]));}(this,function(_0x29c157,_0x3907b3,_0x1142e1,_0x40f86f,_0x14aad7,_0x445ed1,_0x3ead9c,_0x2a2369,_0x306496,_0x2882e2,_0xf6503a,_0x341ccb,_0xd5a475,_0x5219ed,_0x455d48,_0x1d788d,_0x447a2a,_0x160d16,_0xf8a0a7,_0x5b0153,_0x3024fd,_0x1fcf0d,_0x38464c,_0x2eade1,_0x264719,_0x549760,_0x34f40f,_0x29fc8a,_0x5aa928,_0x5f407b,_0x2f678b,_0x4b9e3c,_0x372c32,_0x178586,_0x473043,_0x5cb988,_0x2b67e4){'use strict';const _0x18d0c6=_0x5b41;var _0x4f0a74=Object[_0x18d0c6(0xde)],_0x470ab0=(_0x348458,_0x5328ca,_0x1dea17)=>_0x5328ca in _0x348458?_0x4f0a74(_0x348458,_0x5328ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1dea17}):_0x348458[_0x5328ca]=_0x1dea17,_0x357fbe=(_0x334ef0,_0x2f5063,_0x28483e)=>_0x470ab0(_0x334ef0,typeof _0x2f5063!='symbol'?_0x2f5063+'':_0x2f5063,_0x28483e),_0xbb05a6;const _0x55503d=_0x18d0c6(0x1c7),_0xb7f83b={};function _0x2f90b2({ref:_0x215667,..._0x2d9d4b}){const _0x22f78b=_0x18d0c6,{icon:_0x13dc4a,id:_0x29995a,className:_0x1c148d,extend:_0x5f20cd,..._0x417a20}=_0x2d9d4b,_0x27df20=(_0x22f78b(0xec)+_0x29995a+'\x20'+(_0x1c148d||''))[_0x22f78b(0x150)](),_0x5e4134=_0x445ed1[_0x22f78b(0x1d6)]('_'+_0x31121c());return _0x7bcb67(_0x13dc4a,''+_0x29995a,{'defIds':_0x13dc4a['defIds'],'idSuffix':_0x5e4134[_0x22f78b(0x1bb)]},{'ref':_0x215667,'className':_0x27df20,..._0x417a20},_0x5f20cd);}function _0x7bcb67(_0x53abaf,_0x2f925e,_0x272a16,_0x551f8d,_0x15fe03){const _0x55f566=_0x18d0c6;return _0x445ed1[_0x55f566(0x106)](_0x53abaf['tag'],{'key':_0x2f925e,..._0x4596c9(_0x53abaf,_0x272a16,_0x15fe03),..._0x551f8d},(_0x39ea67(_0x53abaf,_0x272a16)[_0x55f566(0x18f)]||[])[_0x55f566(0xdb)]((_0x4c95cf,_0x71ef41)=>_0x7bcb67(_0x4c95cf,_0x2f925e+'-'+_0x53abaf[_0x55f566(0x144)]+'-'+_0x71ef41,_0x272a16,void 0x0,_0x15fe03)));}function _0x4596c9(_0x295cef,_0x10264e,_0x1837c0){const _0x32215f=_0x18d0c6,_0xb7c4a3={..._0x295cef[_0x32215f(0x100)]};_0x1837c0!=null&&_0x1837c0[_0x32215f(0x15d)]&&_0xb7c4a3[_0x32215f(0x1d1)]==='colorChannel1'&&(_0xb7c4a3['fill']=_0x1837c0[_0x32215f(0x15d)]),_0x295cef[_0x32215f(0x144)]===_0x32215f(0x14c)&&_0xb7c4a3['id']&&(_0xb7c4a3['id']=_0xb7c4a3['id']+_0x10264e[_0x32215f(0x1c0)]),Object['entries'](_0xb7c4a3)[_0x32215f(0xe3)](([_0x2d9290,_0xab1190])=>{const _0x46618e=_0x32215f;_0x2d9290===_0x46618e(0x14c)&&typeof _0xab1190==_0x46618e(0x129)&&(_0xb7c4a3[_0x2d9290]=_0xab1190[_0x46618e(0xeb)](/url\(#(.*)\)/,_0x46618e(0x199)+_0x10264e[_0x46618e(0x1c0)]+')'));});const {defIds:_0x43a7c3}=_0x10264e;return!_0x43a7c3||_0x43a7c3[_0x32215f(0x115)]===0x0||(_0x295cef[_0x32215f(0x144)]==='use'&&_0xb7c4a3[_0x32215f(0x126)]&&(_0xb7c4a3[_0x32215f(0x126)]=_0xb7c4a3[_0x32215f(0x126)]+_0x10264e[_0x32215f(0x1c0)]),Object['entries'](_0xb7c4a3)[_0x32215f(0xe3)](([_0x29dbd3,_0x3906b9])=>{const _0xba28c1=_0x32215f;typeof _0x3906b9==_0xba28c1(0x129)&&(_0xb7c4a3[_0x29dbd3]=_0x3906b9[_0xba28c1(0xeb)](/url\(#(.*)\)/,_0xba28c1(0x199)+_0x10264e[_0xba28c1(0x1c0)]+')'));})),_0xb7c4a3;}function _0x39ea67(_0x3a7a5f,_0x228bb6){const _0x627e90=_0x18d0c6;var _0x5f1c2d;const {defIds:_0x3842d3}=_0x228bb6;return!_0x3842d3||_0x3842d3[_0x627e90(0x115)]===0x0?_0x3a7a5f:_0x3a7a5f[_0x627e90(0x144)]===_0x627e90(0x185)&&((_0x5f1c2d=_0x3a7a5f[_0x627e90(0x18f)])!=null&&_0x5f1c2d['length'])?{..._0x3a7a5f,'children':_0x3a7a5f[_0x627e90(0x18f)]['map'](_0x51ff1d=>typeof _0x51ff1d[_0x627e90(0x100)]['id']=='string'&&_0x3842d3&&_0x3842d3['includes'](_0x51ff1d[_0x627e90(0x100)]['id'])?{..._0x51ff1d,'attrs':{..._0x51ff1d[_0x627e90(0x100)],'id':_0x51ff1d[_0x627e90(0x100)]['id']+_0x228bb6[_0x627e90(0x1c0)]}}:_0x51ff1d)}:_0x3a7a5f;}function _0x31121c(){const _0x599b0b=_0x18d0c6;return Math[_0x599b0b(0x1a5)]()[_0x599b0b(0xfe)](0x24)[_0x599b0b(0x195)](0x2,0x8);}_0x2f90b2[_0x18d0c6(0xfb)]=_0x18d0c6(0x10e);const _0x2bd3b6={'tag':_0x18d0c6(0x172),'attrs':{'xmlns':_0x18d0c6(0xef),'fill':_0x18d0c6(0x181),'viewBox':_0x18d0c6(0x18d),'width':_0x18d0c6(0x102),'height':_0x18d0c6(0x102)},'children':[{'tag':'g','attrs':{'fill':_0x18d0c6(0x13b),'clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':_0x18d0c6(0x17f),'attrs':{'d':_0x18d0c6(0x15b)}},{'tag':'path','attrs':{'d':_0x18d0c6(0x14e)}}]},{'tag':_0x18d0c6(0x185),'attrs':{},'children':[{'tag':_0x18d0c6(0x168),'attrs':{'id':_0x18d0c6(0xd0)},'children':[{'tag':_0x18d0c6(0x17f),'attrs':{'fill':_0x18d0c6(0x153),'d':_0x18d0c6(0x194)}}]}]}],'defIds':[_0x18d0c6(0xd0)]},_0x16d2e7=_0x445ed1[_0x18d0c6(0x182)](function(_0x50220e,_0x337862){const _0x5a7f7f=_0x18d0c6;return _0x445ed1[_0x5a7f7f(0x106)](_0x2f90b2,Object[_0x5a7f7f(0x196)]({},_0x50220e,{'id':_0x5a7f7f(0x1c3),'ref':_0x337862,'icon':_0x2bd3b6}));});_0x16d2e7[_0x18d0c6(0xfb)]='HistoryIcon';var _0x4d93d2=Object[_0x18d0c6(0x18c)],_0x17c5fe=(_0x388748,_0x448847,_0x5dd4b1,_0x38c86e)=>{const _0x17d84e=_0x18d0c6;for(var _0x291142=_0x38c86e>0x1?void 0x0:_0x38c86e?_0x4d93d2(_0x448847,_0x5dd4b1):_0x448847,_0x1d479e=_0x388748[_0x17d84e(0x115)]-0x1,_0x460251;_0x1d479e>=0x0;_0x1d479e--)(_0x460251=_0x388748[_0x1d479e])&&(_0x291142=_0x460251(_0x291142)||_0x291142);return _0x291142;},_0x2a8870=(_0x54d506,_0x434b9a)=>(_0x316c47,_0x1ae588)=>_0x434b9a(_0x316c47,_0x1ae588,_0x54d506);const _0x19a2a5=_0x18d0c6(0x1e2),_0x39af59=_0x18d0c6(0x103),_0x12d8bd='univer-history-container';_0x29c157['HistoryLoaderService']=class extends _0x3907b3[_0x18d0c6(0xfa)]{constructor(_0xba9bef,_0x476a4d,_0x3a666d,_0xef47a1,_0x6f3cd9,_0xa5ee47,_0x539d9c,_0xa3f39,_0x4ffe80,_0x56e8d9){const _0x521726=_0x18d0c6;super(),_0x357fbe(this,_0x521726(0x139),new _0x2a2369[(_0x521726(0xf2))](null)),_0x357fbe(this,_0x521726(0x1cc),this[_0x521726(0x139)]['asObservable']()),_0x357fbe(this,_0x521726(0x1cb),new _0x3907b3[(_0x521726(0x177))]()),_0x357fbe(this,_0x521726(0x16f),new Map()),(this[_0x521726(0x1ac)]=_0xba9bef,this[_0x521726(0x159)]=_0x476a4d,this['_configService']=_0x3a666d,this[_0x521726(0xcd)]=_0xef47a1,this[_0x521726(0x1b2)]=_0x6f3cd9,this[_0x521726(0x187)]=_0xa5ee47,this['_selectionProtectionRuleModel']=_0x539d9c,this[_0x521726(0x121)]=_0xa3f39,this[_0x521726(0x1e0)]=_0x4ffe80,this['_themeService']=_0x56e8d9,this[_0x521726(0x122)]());}get[_0x18d0c6(0x189)](){const _0x559d97=_0x18d0c6;return this[_0x559d97(0x139)][_0x559d97(0x19a)];}[_0x18d0c6(0x122)](){const _0x20e33e=_0x18d0c6;this[_0x20e33e(0x162)](),this['_initPlugins']();}[_0x18d0c6(0x162)](){const _0x2b3056=_0x18d0c6;var _0x303618;const _0x4250eb=(_0x303618=this[_0x2b3056(0x149)]['getConfig'](_0x39af59))!=null?_0x303618:_0x19a2a5,_0x1f407a=document[_0x2b3056(0x11c)](_0x4250eb);if(!_0x1f407a)return;const _0x1734b6=document[_0x2b3056(0x106)](_0x2b3056(0x17e));_0x1734b6['id']=_0x12d8bd,_0x1734b6['dataset'][_0x2b3056(0x1a4)]='history-container',_0x1734b6[_0x2b3056(0x1e3)][_0x2b3056(0x137)]='absolute',_0x1734b6['style'][_0x2b3056(0x133)]='0',_0x1734b6[_0x2b3056(0x1e3)]['left']='0',_0x1734b6['style'][_0x2b3056(0x111)]=_0x2b3056(0x104),_0x1734b6[_0x2b3056(0x1e3)]['height']='100%',_0x1734b6[_0x2b3056(0x1e3)]['zIndex']=_0x2b3056(0x14b),_0x1734b6[_0x2b3056(0x1e3)][_0x2b3056(0x138)]=_0x2b3056(0x181),_0x1f407a[_0x2b3056(0x1d7)](_0x1734b6);}[_0x18d0c6(0xd6)](){const _0x38420e=_0x18d0c6;var _0x1fab66;[[_0x3024fd['UniverRenderEnginePlugin']],[_0x3ead9c['UniverUIPlugin'],{'container':_0x12d8bd,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x3ead9c[_0x38420e(0x17d)],null]]}],[_0x1fcf0d['UniverNetworkPlugin']],[_0x160d16[_0x38420e(0xe5)],{'override':[[_0x160d16['IImageIoService'],null]]}],[_0x1d788d['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x447a2a[_0x38420e(0x1b0)]],[_0x5cb988['UniverSheetsNumfmtPlugin']],[_0x306496[_0x38420e(0x154)],{'notExecuteFormula':!0x0}],[_0x2b67e4[_0x38420e(0xe6)]],[_0x4b9e3c[_0x38420e(0xe2)]],[_0x372c32[_0x38420e(0x108)]],[_0x1142e1[_0x38420e(0xd4)]],[_0x5f407b[_0x38420e(0x1a0)]],[_0x2f678b[_0x38420e(0x1be)]],[_0x2eade1[_0x38420e(0x1bc)]],[_0x264719[_0x38420e(0x188)]],[_0x178586[_0x38420e(0x183)]],[_0x473043[_0x38420e(0x118)]],[_0x455d48[_0x38420e(0x1ad)]],[_0x549760['UniverSheetsDataValidationPlugin']],[_0x34f40f['UniverSheetsDataValidationUIPlugin']],[_0x5b0153[_0x38420e(0x16d)],{'notExecuteFormula':!0x0}],[_0x38464c[_0x38420e(0x1af)],{'workerURL':_0x38420e(0x120)}],[_0xf8a0a7[_0x38420e(0x158)]],[_0x29fc8a[_0x38420e(0x155)]],[_0x5aa928[_0x38420e(0xf4)]],[_0xd5a475[_0x38420e(0x17b)]],[_0x5219ed[_0x38420e(0x164)]],[_0x341ccb[_0x38420e(0xe9)],{'notExecuteFormula':!0x0}],[_0x2882e2['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x1fab66=this['_configService'][_0x38420e(0x1df)](_0x55503d))==null?void 0x0:_0x1fab66['historyListServerUrl']}]][_0x38420e(0xe3)](([_0xea9266,_0x52e411])=>this[_0x38420e(0x163)](_0xea9266,_0x52e411));}[_0x18d0c6(0x10f)](){const _0x49b175=_0x18d0c6;super[_0x49b175(0x10f)](),this[_0x49b175(0x1b9)](),this[_0x49b175(0x16f)][_0x49b175(0xdf)]();}['registerPlugin'](_0x77cb0a,_0x459611,_0x4d6bc7){const _0x2eeb0e=_0x18d0c6;if(this[_0x2eeb0e(0x16f)][_0x2eeb0e(0xda)](_0x77cb0a[_0x2eeb0e(0xe8)])&&!_0x4d6bc7)throw new Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x77cb0a[_0x2eeb0e(0xe8)]+_0x2eeb0e(0x173));this['_pluginMap'][_0x2eeb0e(0x1dc)](_0x77cb0a[_0x2eeb0e(0xe8)],[_0x77cb0a,_0x459611]);}[_0x18d0c6(0x161)](){const _0x321e4b=_0x18d0c6;return Array[_0x321e4b(0x1e5)](this[_0x321e4b(0x16f)][_0x321e4b(0x109)]());}[_0x18d0c6(0x12d)](_0x27085b){const _0x1818e3=_0x18d0c6,_0x2bee6d=document[_0x1818e3(0x11c)](_0x12d8bd);_0x2bee6d&&(_0x2bee6d[_0x1818e3(0x1e3)][_0x1818e3(0x138)]=_0x1818e3(0xf0),this[_0x1818e3(0x1da)](_0x27085b,_0x12d8bd));}['unMountHistoryContent'](){const _0x1f8435=_0x18d0c6;var _0x183cee;this[_0x1f8435(0x1cb)]['dispose'](),(_0x183cee=this[_0x1f8435(0x189)])==null||_0x183cee[_0x1f8435(0x10f)](),this['_historyUniver$'][_0x1f8435(0x14d)](null);const _0x2cd515=document[_0x1f8435(0x11c)](_0x12d8bd);_0x2cd515&&(_0x2cd515['style'][_0x1f8435(0x138)]='none');}[_0x18d0c6(0x1da)](_0x323758,_0x27c251){const _0x24fed4=_0x18d0c6;if(this[_0x24fed4(0x189)])return;const _0x2db40b=new _0x3907b3[(_0x24fed4(0x19f))]({'locales':{[this['_localeService'][_0x24fed4(0x18a)]()]:this[_0x24fed4(0x1ac)][_0x24fed4(0x113)]()},'override':[[_0x3907b3['IAuthzIoService'],{'useClass':_0x40f86f[_0x24fed4(0x13e)]}]]}),_0x1a3053=_0x2db40b['__getInjector']();this[_0x24fed4(0x1b6)](this[_0x24fed4(0x1d0)][_0x24fed4(0x156)][_0x24fed4(0x140)](_0x4e7acc=>{const _0x10c298=_0x24fed4;_0x1a3053['get'](_0x3907b3[_0x10c298(0x1c5)])['setDarkMode'](_0x4e7acc);})),this[_0x24fed4(0x1b6)](this['_themeService']['currentTheme$'][_0x24fed4(0x140)](_0x2e382b=>{const _0x2f1ff6=_0x24fed4;_0x1a3053[_0x2f1ff6(0x1bd)](_0x3907b3[_0x2f1ff6(0x1c5)])['setTheme'](_0x2e382b);})),_0x1a3053[_0x24fed4(0x1bd)](_0x3907b3[_0x24fed4(0x11a)])['setLocale'](this[_0x24fed4(0x1ac)][_0x24fed4(0x18a)]()),_0x1a3053[_0x24fed4(0x1bd)](_0x3907b3['IConfigService'])[_0x24fed4(0x1de)](_0x40f86f[_0x24fed4(0xf1)],this['_configService'][_0x24fed4(0x1df)](_0x40f86f['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));const _0x319208=this[_0x24fed4(0x149)]['getConfig'](_0xf6503a['LS_CONFIG_KEY']);_0x319208&&_0x2db40b[_0x24fed4(0x163)](_0xf6503a[_0x24fed4(0x128)],{'license':_0x319208['ls']}),this[_0x24fed4(0x16f)][_0x24fed4(0xe3)](([_0x325a94,_0x26a726])=>{_0x2db40b['registerPlugin'](_0x325a94,_0x26a726);}),_0x1a3053['invoke'](_0x2fc9e3=>{const _0x19cd94=_0x24fed4;this[_0x19cd94(0x16b)](_0x2fc9e3,_0x323758);}),this[_0x24fed4(0x139)][_0x24fed4(0x14d)](_0x2db40b);const _0x496350=_0x1a3053['get'](_0x2882e2[_0x24fed4(0xce)]),_0x19a858=this[_0x24fed4(0x1cf)](_0x323758);_0x496350[_0x24fed4(0xd2)](_0x323758,_0x27c251,_0x19a858);}[_0x18d0c6(0x16b)](_0x53233e,_0x49eec9){const _0x1542e6=_0x18d0c6,_0xbf6282=_0x53233e[_0x1542e6(0x1bd)](_0x2882e2['HistoryManagerService']);this[_0x1542e6(0x1cb)][_0x1542e6(0x16c)](_0xbf6282[_0x1542e6(0x11b)][_0x1542e6(0x140)](_0x214c8f=>{const _0x324b91=_0x1542e6;switch(_0x214c8f){case _0x2882e2[_0x324b91(0x175)]['Entered']:this[_0x324b91(0x121)][_0x324b91(0x174)](),this[_0x324b91(0x1e0)][_0x324b91(0x1e1)]();break;case _0x2882e2[_0x324b91(0x175)]['Exited']:this[_0x324b91(0x1b9)]();break;case _0x2882e2[_0x324b91(0x175)]['Error']:this[_0x324b91(0x1b9)](),this['_messageService'][_0x324b91(0xfc)]({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':_0x14aad7[_0x324b91(0x193)][_0x324b91(0x197)],'duration':0xbb8});break;}})),this[_0x1542e6(0x1cb)][_0x1542e6(0x16c)](_0xbf6282[_0x1542e6(0x1c2)]['subscribe'](async _0x465411=>{const _0xf3061b=_0x1542e6;_0x465411&&this['_commandService'][_0xf3061b(0x190)](_0x1142e1['RevertRevisionMutation']['id'],{'unitId':_0x49eec9,'revision':_0x465411});}));}[_0x18d0c6(0x1cf)](_0x311a53){const _0x5cc5ac=_0x18d0c6,_0x138b47=this[_0x5cc5ac(0x159)]['getUnit'](_0x311a53)[_0x5cc5ac(0x11e)]()[_0x5cc5ac(0xdb)](_0x3e7283=>_0x3e7283['getSheetId']()),_0x451591=new _0x306496[(_0x5cc5ac(0x134))](_0x311a53)['id'],_0x125aac=_0x138b47[_0x5cc5ac(0xdb)](_0x414d92=>new _0x306496[(_0x5cc5ac(0x192))](_0x311a53,_0x414d92)['id']),_0x34f519=_0x138b47[_0x5cc5ac(0xdb)](_0x5d68af=>this[_0x5cc5ac(0x119)][_0x5cc5ac(0x19b)](_0x311a53,_0x5d68af)[_0x5cc5ac(0xdb)](_0x45d37b=>new _0x306496[(_0x5cc5ac(0x180))](_0x311a53,_0x5d68af,_0x45d37b[_0x5cc5ac(0x1b4)])['id']))[_0x5cc5ac(0x1c1)](),_0x377a4e=new _0x306496[(_0x5cc5ac(0x152))](_0x311a53)['id'];return this[_0x5cc5ac(0x187)][_0x5cc5ac(0x131)]([_0x451591,..._0x125aac,..._0x34f519,_0x377a4e])['every'](_0x241ab5=>!!_0x241ab5[_0x5cc5ac(0x19a)]);}},_0x29c157[_0x18d0c6(0x165)]=_0x17c5fe([_0x2a8870(0x0,_0x3907b3[_0x18d0c6(0xf9)](_0x3907b3[_0x18d0c6(0x11a)])),_0x2a8870(0x1,_0x3907b3['IUniverInstanceService']),_0x2a8870(0x2,_0x3907b3[_0x18d0c6(0xd7)]),_0x2a8870(0x3,_0x3907b3[_0x18d0c6(0x116)]),_0x2a8870(0x4,_0x3ead9c['IMessageService']),_0x2a8870(0x5,_0x3907b3[_0x18d0c6(0x13a)]),_0x2a8870(0x6,_0x3907b3['Inject'](_0x306496[_0x18d0c6(0x14f)])),_0x2a8870(0x7,_0x3907b3['Inject'](_0x3ead9c[_0x18d0c6(0x17d)])),_0x2a8870(0x8,_0x3907b3[_0x18d0c6(0xf9)](_0x3ead9c[_0x18d0c6(0x15e)])),_0x2a8870(0x9,_0x3907b3[_0x18d0c6(0xf9)](_0x3907b3[_0x18d0c6(0x1c5)]))],_0x29c157['HistoryLoaderService']);const _0x3c728a={'id':'univer.operation.toggle-edit-history','type':_0x3907b3[_0x18d0c6(0x1e4)]['OPERATION'],'handler':_0x382b5b=>{const _0x4f36ac=_0x18d0c6,_0x430a88=_0x382b5b[_0x4f36ac(0x1bd)](_0x29c157[_0x4f36ac(0x165)]),_0xfa2bc=_0x382b5b[_0x4f36ac(0x1bd)](_0x3907b3[_0x4f36ac(0x167)]),{unitId:_0x444b99}=_0x306496['getSheetCommandTarget'](_0xfa2bc)||{};return _0x444b99?(_0x430a88[_0x4f36ac(0x12d)](_0x444b99),!0x0):!0x1;}};function _0x38e9eb(_0x3f9226){const _0x480a90=_0x18d0c6;return{'id':_0x3c728a['id'],'type':_0x3ead9c['MenuItemType']['BUTTON'],'icon':_0x480a90(0xf5),'tooltip':'editHistory.panel.title','hidden$':_0x3ead9c['getMenuHiddenObservable'](_0x3f9226,_0x3907b3[_0x480a90(0x1ce)][_0x480a90(0x124)]),'disabled$':_0x2b67e4[_0x480a90(0xd1)](_0x3f9226,{'workbookTypes':[_0x306496[_0x480a90(0x134)],_0x306496[_0x480a90(0x142)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x38c3bf={[_0x3ead9c['RibbonStartGroup']['OTHERS']]:{[_0x3c728a['id']]:{'order':0.2,'menuItemFactory':_0x38e9eb}}};var _0x158b69=Object['getOwnPropertyDescriptor'],_0x1dcc32=(_0x3d2abf,_0x4f9320,_0x54284f,_0x4bfc3d)=>{const _0x139126=_0x18d0c6;for(var _0x5a0ffc=_0x4bfc3d>0x1?void 0x0:_0x4bfc3d?_0x158b69(_0x4f9320,_0x54284f):_0x4f9320,_0x1794b7=_0x3d2abf[_0x139126(0x115)]-0x1,_0x224e43;_0x1794b7>=0x0;_0x1794b7--)(_0x224e43=_0x3d2abf[_0x1794b7])&&(_0x5a0ffc=_0x224e43(_0x5a0ffc)||_0x5a0ffc);return _0x5a0ffc;},_0x33e934=(_0x4d8911,_0x4ba03e)=>(_0x54c9b6,_0xbab572)=>_0x4ba03e(_0x54c9b6,_0xbab572,_0x4d8911);let _0x92704d=class extends _0x3907b3['RxDisposable']{constructor(_0x55c20b,_0x5379b4,_0x156856,_0xea83e7,_0x114ce9,_0x41acb1,_0x1ad782,_0x37c43f){const _0x1f5105=_0x18d0c6;super(),_0x357fbe(this,_0x1f5105(0x1a3),null),(this[_0x1f5105(0xcd)]=_0x55c20b,this[_0x1f5105(0x15f)]=_0x5379b4,this[_0x1f5105(0xfd)]=_0x156856,this['_historyManagerService']=_0xea83e7,this[_0x1f5105(0x1ac)]=_0x114ce9,this[_0x1f5105(0x1b2)]=_0x41acb1,this['_collaborationController']=_0x1ad782,this['_localCacheService']=_0x37c43f,this[_0x1f5105(0x122)]());}[_0x18d0c6(0x122)](){const _0xc956bd=_0x18d0c6;[_0x3c728a]['forEach'](_0x5b15b1=>this['disposeWithMe'](_0x3907b3['toDisposable'](this['_commandService'][_0xc956bd(0x1c4)](_0x5b15b1)))),this[_0xc956bd(0x1b6)](this[_0xc956bd(0xfd)][_0xc956bd(0x17c)](_0xc956bd(0xf5),_0x16d2e7)),this[_0xc956bd(0x15f)]['mergeMenu'](_0x38c3bf),this[_0xc956bd(0x1b6)](this['_commandService'][_0xc956bd(0xed)](_0x4cb369=>{const _0xa45dbc=_0xc956bd;if(_0x4cb369['id']===_0x1142e1[_0xa45dbc(0x130)]['id']){this[_0xa45dbc(0x1b2)][_0xa45dbc(0xfc)]({'content':this['_localeService']['t']('editHistory.panel.reverting'),'type':_0x14aad7['MessageType']['Loading'],'duration':0x1388});const {unitId:_0x168fc2}=_0x4cb369[_0xa45dbc(0x198)],_0x543293=this['_collaborationController'][_0xa45dbc(0x1ab)](_0x168fc2),_0x40e621=_0x2a2369[_0xa45dbc(0x10b)]([_0x543293[_0xa45dbc(0x12c)][_0xa45dbc(0x1b8)],_0x543293[_0xa45dbc(0xe7)]])[_0xa45dbc(0x140)](async([_0x3ddc18,_0x48ae9c])=>{const _0x3b1ab3=_0xa45dbc;var _0x1ae09f;_0x3ddc18[_0x3b1ab3(0x1a9)]===_0x1142e1[_0x3b1ab3(0x12a)][_0x3b1ab3(0x186)]&&(_0x48ae9c==null?void 0x0:_0x48ae9c[_0x3b1ab3(0x132)])===_0x40f86f[_0x3b1ab3(0x1c8)][_0x3b1ab3(0x141)]&&_0x3ddc18[_0x3b1ab3(0x16a)]['mutations'][_0x3b1ab3(0x15c)](_0x355890=>_0x355890['id']===_0x1142e1[_0x3b1ab3(0x130)]['id'])&&(this['_historyManagerService'][_0x3b1ab3(0x1b9)](),_0x40e621[_0x3b1ab3(0x170)](),this['_revertErrorTimer']&&clearTimeout(this[_0x3b1ab3(0x1a3)]),await((_0x1ae09f=this[_0x3b1ab3(0x112)])==null?void 0x0:_0x1ae09f[_0x3b1ab3(0x171)]()),setTimeout(()=>window[_0x3b1ab3(0x125)][_0x3b1ab3(0x1d3)]()));});this[_0xa45dbc(0x1a3)]=setTimeout(()=>{const _0x5171f9=_0xa45dbc;_0x40e621[_0x5171f9(0x170)](),this['_messageService'][_0x5171f9(0xfc)]({'content':this[_0x5171f9(0x1ac)]['t'](_0x5171f9(0x1bf)),'type':_0x14aad7[_0x5171f9(0x193)][_0x5171f9(0x197)],'duration':0xbb8});},0x1388);}}));}};_0x92704d=_0x1dcc32([_0x33e934(0x0,_0x3907b3[_0x18d0c6(0x116)]),_0x33e934(0x1,_0x3ead9c[_0x18d0c6(0x1dd)]),_0x33e934(0x2,_0x3907b3[_0x18d0c6(0xf9)](_0x3ead9c[_0x18d0c6(0x1d4)])),_0x33e934(0x3,_0x3907b3[_0x18d0c6(0xf9)](_0x29c157['HistoryLoaderService'])),_0x33e934(0x4,_0x3907b3[_0x18d0c6(0xf9)](_0x3907b3[_0x18d0c6(0x11a)])),_0x33e934(0x5,_0x3ead9c[_0x18d0c6(0x14a)]),_0x33e934(0x6,_0x3907b3[_0x18d0c6(0xf9)](_0x40f86f['CollaborationController'])),_0x33e934(0x7,_0x40f86f['ILocalCacheService'])],_0x92704d);var _0x105bd3=Object['getOwnPropertyDescriptor'],_0x3e0930=(_0x5e4172,_0x461ed4,_0x30dadf,_0x426695)=>{const _0xb08fda=_0x18d0c6;for(var _0x44a316=_0x426695>0x1?void 0x0:_0x426695?_0x105bd3(_0x461ed4,_0x30dadf):_0x461ed4,_0x76025c=_0x5e4172[_0xb08fda(0x115)]-0x1,_0x4fe65d;_0x76025c>=0x0;_0x76025c--)(_0x4fe65d=_0x5e4172[_0x76025c])&&(_0x44a316=_0x4fe65d(_0x44a316)||_0x44a316);return _0x44a316;},_0x10ee4a=(_0x37bd7c,_0x24a462)=>(_0x1631b0,_0x34dbc1)=>_0x24a462(_0x1631b0,_0x34dbc1,_0x37bd7c);const _0x3ec119=_0x18d0c6(0x12b);_0x29c157[_0x18d0c6(0xff)]=(_0xbb05a6=class extends _0x3907b3[_0x18d0c6(0x11d)]{constructor(_0x5d29ca=_0xb7f83b,_0x29d214,_0xefda01){const _0xacbd38=_0x18d0c6;super(),this[_0xacbd38(0xea)]=_0x5d29ca,this['_injector']=_0x29d214,this[_0xacbd38(0x149)]=_0xefda01;const {menu:_0x3fed80,..._0x364f23}=_0x3907b3[_0xacbd38(0x1a6)]({},_0xb7f83b,this[_0xacbd38(0xea)]);_0x3fed80&&this[_0xacbd38(0x149)][_0xacbd38(0x1de)]('menu',_0x3fed80,{'merge':!0x0}),this[_0xacbd38(0x149)]['setConfig'](_0x55503d,_0x364f23),this[_0xacbd38(0xea)][_0xacbd38(0xf6)]&&this[_0xacbd38(0x149)][_0xacbd38(0x1de)](_0x39af59,this['_config'][_0xacbd38(0xf6)]);}[_0x18d0c6(0x166)](){const _0x520ab9=_0x18d0c6;[[_0x29c157['HistoryLoaderService']],[_0x92704d]]['forEach'](_0x28d7ab=>this[_0x520ab9(0xd3)][_0x520ab9(0x16c)](_0x28d7ab));}['onSteady'](){const _0x19ee21=_0x18d0c6;this[_0x19ee21(0xd3)][_0x19ee21(0x1bd)](_0x92704d);}},_0x357fbe(_0xbb05a6,_0x18d0c6(0x1ae),_0x3907b3['UniverInstanceType']['UNIVER_UNKNOWN']),_0x357fbe(_0xbb05a6,'pluginName',_0x3ec119),_0xbb05a6),_0x29c157[_0x18d0c6(0xff)]=_0x3e0930([_0x10ee4a(0x1,_0x3907b3[_0x18d0c6(0xf9)](_0x3907b3[_0x18d0c6(0x10c)])),_0x10ee4a(0x2,_0x3907b3[_0x18d0c6(0xd7)])],_0x29c157[_0x18d0c6(0xff)]),_0x29c157[_0x18d0c6(0x191)]=_0x39af59,_0x29c157[_0x18d0c6(0x135)]=_0x12d8bd,Object[_0x18d0c6(0xde)](_0x29c157,Symbol[_0x18d0c6(0x13c)],{'value':_0x18d0c6(0x136)});}));function _0x144e(){const _0x5dfff8=['Module','position','display','_historyUniver$','IPermissionService','currentColor','toStringTag','@univerjs/sheets-conditional-formatting-ui','AuthzIoHttpService','@univerjs/engine-render','subscribe','SYNCED','WorkbookViewHistoryPermission','@univerjs-pro/sheets-sparkline-ui','tag','UniverSheetsHyperLinkUi','UniverSheetsConditionalFormatting','UniverSheetsDrawingUi','UniverProEditHistoryLoader','_configService','IMessageService','1000','mask','next','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','RangeProtectionRuleModel','trim','UniverSheetsFormulaUi','WorkbookRecoverHistoryPermission','white','UniverSheetsPlugin','UniverSheetsDrawingPlugin','darkMode$','UniverSheetsNumfmt','UniverDrawingUIPlugin','_univerInstanceService','@univerjs-pro/collaboration-client','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','some','colorChannel1','ISidebarService','_menuManagerService','@univerjs/sheets-hyper-link','getAllPlugins','_initContainer','registerPlugin','UniverSheetSparklineUIPlugin','HistoryLoaderService','onStarting','IUniverInstanceService','clipPath','3903510jXzGhR','data','_initListener','add','UniverFormulaEnginePlugin','react','_pluginMap','unsubscribe','exhaustSavingTask','svg','\x20has\x20been\x20registered.','closeAll','HistoryModeStatus','UniverSheetsDrawing','DisposableCollection','@univerjs-pro/sheets-sparkline','UniverNetwork','@univerjs/sheets-drawing-ui','UniverSheetSparklinePlugin','register','IDialogService','div','path','RangeProtectionPermissionEditPoint','none','forwardRef','UniverSheetsHyperLinkPlugin','27bykKbP','defs','CHANGESET_ACK','_permissionService','UniverSheetsConditionalFormattingUIPlugin','historyUniver','getCurrentLocale','UniverSheetsConditionalFormattingUi','getOwnPropertyDescriptor','0\x200\x2016\x2016','UniverProEditHistoryViewer','children','executeCommand','UNIVER_CONTAINER_ID_KEY','WorksheetEditPermission','MessageType','M0\x200H16V16H0z','substring','assign','Error','params','url(#$1','value','getSubunitRuleList','UniverUi','UniverSheetsDataValidation','UniverProSheetsSparkline','Univer','UniverSheetsFilterPlugin','UniverSheetsFilter','2407302aYkkQG','_revertErrorTimer','uComp','random','merge','@univerjs/sheets-formula-ui','590MjZMKA','eventID','104312HjyhXo','getCollabEntity','_localeService','UniverDataValidationPlugin','type','UniverRPCMainThreadPlugin','UniverDocsUIPlugin','UniverProSheetsSparklineUi','_messageService','1516410zvkCdz','permissionId','exports','disposeWithMe','@univerjs/sheets-drawing','event$','unMountHistoryContent','UniverProLicense','current','UniverSheetsConditionalFormattingPlugin','get','UniverSheetsFilterUIPlugin','editHistory.panel.revertFailed','idSuffix','flat','revertRevision$','history-icon','registerCommand','ThemeService','@univerjs/docs-ui','edit-history-loader.config','CollaborationStatus','UniverSheetsUi','UniverCore','_disposableCollection','historyUniver$','99maMTah','UniverInstanceType','_checkCanRevert','_themeService','fill','rxjs','reload','ComponentManager','UniverProCollaboration','useRef','appendChild','@univerjs/sheets-filter-ui','@univerjs/rpc','_initUniver','@univerjs/sheets','set','IMenuManagerService','setConfig','getConfig','_sidebarService','close','univer-container','style','CommandType','from','_commandService','HistoryManagerService','React','history-icon_clip0_907_281','getCurrentRangeDisable$','triggerLoadVersions','_injector','UniverCollaborationPlugin','@univerjs-pro/edit-history-viewer','_initPlugins','IConfigService','@univerjs/sheets-hyper-link-ui','@univerjs/sheets-data-validation-ui','has','map','@univerjs/docs','UniverProCollaborationClient','defineProperty','clear','@univerjs/engine-formula','object','UniverSheetsFormulaPlugin','forEach','@univerjs/sheets-formula','UniverDrawingPlugin','UniverSheetsUIPlugin','state$','pluginName','UniverSheetsPivotTablePlugin','_config','replace','univerjs-icon\x20univerjs-icon-','onCommandExecuted','@univerjs-pro/license','http://www.w3.org/2000/svg','block','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','BehaviorSubject','@univerjs/drawing','UniverSheetsDrawingUIPlugin','HistoryIcon','univerContainerId','UniverDrawingUi','@univerjs/sheets-conditional-formatting','Inject','Disposable','displayName','show','_componentManager','toString','UniverEditHistoryLoaderPlugin','attrs','@univerjs/sheets-filter','1em','UNIVER_CONTAINER_ID','100%','@univerjs/core','createElement','123056ArDfAR','UniverSheetsFormulaUIPlugin','values','amd','combineLatest','Injector','UniverSheetsFilterUi','UniverIcon','dispose','650eizKrJ','width','_localCacheService','getLocales','UniverEngineRender','length','ICommandService','function','UniverSheetsHyperLinkUIPlugin','_selectionProtectionRuleModel','LocaleService','status$','getElementById','Plugin','getSheets','@univerjs/sheets-ui','./worker.js','_dialogService','_init','@univerjs-pro/collaboration','UNIVER_SHEET','location','xlink:href','UniverSheetsDataValidationUi','UniverLicensePlugin','string','CollaborationEvent','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','session','mountHistoryContent','UniverDataValidation','1109311GKReEu','RevertRevisionMutation','composePermission','status','top','WorkbookEditablePermission','UNIVER_HISTORY_CONTAINER_ID'];_0x144e=function(){return _0x5dfff8;};return _0x144e();}
|
|
20
|
+
function _0x41e4(_0x95ef9a,_0x385485){const _0x2f327a=_0x2f32();return _0x41e4=function(_0x41e4bb,_0x1a1f9f){_0x41e4bb=_0x41e4bb-0x15e;let _0x3a4934=_0x2f327a[_0x41e4bb];return _0x3a4934;},_0x41e4(_0x95ef9a,_0x385485);}function _0x2f32(){const _0x257e88=['@univerjs/sheets-drawing','5242638NLPgXi','UniverSheetsConditionalFormattingUi','5117hPIpDi','mask','LocaleService','editHistory.panel.title','WorkbookViewHistoryPermission','every','rxjs','status','flat','UniverDataValidation','OPERATION','values','@univerjs/design','width','string','absolute','UniverSheets','eventID','WorkbookRecoverHistoryPermission','UNIVER_SHEET','1000','_initListener','CollaborationStatus','@univerjs/sheets-drawing-ui','7JWERnt','15gJSQZC','MenuItemType','HistoryLoaderService','@univerjs/sheets-ui','_injector','1067aGLPtl','UniverDocs','UniverSheetSparklineUIPlugin','IMessageService','position','UniverProLicense','mergeMenu','defIds','6388740jgsoCA','WorksheetEditPermission','@univerjs/engine-render','getCurrentRangeDisable$','clipPath','zIndex','xlink:href','random','_historyManagerService','UniverEngineRender','getSheetId','UNIVER_CONTAINER_ID_KEY','mountHistoryContent','UniverInstanceType','style','currentColor','React','UniverNetwork','toDisposable','100%','history-icon_clip0_907_281','_initPlugins','combineLatest','useRef','IPermissionService','@univerjs/sheets-numfmt','UNIVER_HISTORY_CONTAINER_ID','toStringTag','length','subscribe','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','UniverSheetsHyperLinkPlugin','params','@univerjs/docs','univer.operation.toggle-edit-history','@univerjs/sheets-filter-ui','Univer','map','height','ICommandService','IDialogService','_configService','forwardRef','add','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','_menuManagerService','next','has','_pluginMap','permissionId','_selectionProtectionRuleModel','historyUniver$','UniverSheetsDrawingUIPlugin','IConfigService','tag','defs','_historyUniver$','UniverSheetsFormula','top','editHistory.panel.revertFailed','reload','history-icon','function','RxDisposable','invoke','react','register','show','ILocalCacheService','createElement','Error','assign','LS_CONFIG_KEY','registerCommand','replace','@univerjs/sheets-data-validation-ui','unsubscribe','UniverSheetsNumfmt','_initContainer','_localCacheService','path','UniverRenderEnginePlugin','UniverSheetsFilter','getOwnPropertyDescriptor','triggerLoadVersions','UniverProEditHistoryViewer','idSuffix','UniverRPCMainThreadPlugin','UniverSheetsNumfmtPlugin','white','_collaborationController','exhaustSavingTask','getConfig','UniverCollaborationPlugin','registerPlugin','_univerInstanceService','M0\x200H16V16H0z','substring','@univerjs/core','426704tTYyzI','historyUniver','UniverIcon','UniverDesign','editHistory.panel.listFetchError','getMenuHiddenObservable','UniverSheetsFormulaUIPlugin','get','editHistory.panel.reverting','@univerjs/sheets-hyper-link-ui','_commandService','session','@univerjs/ui','UniverProEditHistoryLoader','setTheme','UniverFormulaEnginePlugin','@univerjs/engine-formula','_dialogService','__getInjector','UniverDataValidationPlugin','UniverSheetsHyperLinkUIPlugin','set','UniverSheetsDataValidationPlugin','CommandType','ThemeService','attrs','onStarting','_themeService','WorkbookEditablePermission','UniverSheetsDrawingUi','Injector','setConfig','@univerjs/sheets-hyper-link','RangeProtectionPermissionEditPoint','UniverEngineFormula','unMountHistoryContent','type','_permissionService','_checkCanRevert','53772RHikEa','6fdWwmq','UNIVER_UNKNOWN','Loading','getSubunitRuleList','_initUniver','@univerjs-pro/collaboration-client','getUnit','disposeWithMe','@univerjs-pro/sheets-pivot','HistoryModeStatus','@univerjs/sheets-formula-ui','_init','appendChild','entries','CollaborationController','UniverSheetsFilterPlugin','MessageType','url(#history-icon_clip0_907_281)','UniverSheetsConditionalFormattingPlugin','colorChannel1','RibbonStartGroup','UniverNetworkPlugin','_disposableCollection','UniverSheetsHyperLinkUi','IUniverInstanceService','UniverSheetsUIPlugin','trim','currentTheme$','dispose','defineProperty','Exited','1em','children','@univerjs/rpc','Module','UniverSheetsDataValidationUIPlugin','from','_messageService','UniverEditHistoryLoaderPlugin','block','value','UniverLicensePlugin','forEach','@univerjs/sheets','edit-history-loader.config','getElementById','0\x200\x2016\x2016','merge','getLocales','ComponentManager','8VqmUdO','univerContainerId','HistoryIcon','univerjs-icon\x20univerjs-icon-','uComp','getSheets','UniverUi','history-container','Plugin','http://www.w3.org/2000/svg','SYNCED','BUTTON','Entered','display','Inject','RevertRevisionMutation','_revertErrorTimer','includes','getAllPlugins','onCommandExecuted','UniverDrawingPlugin','UniverProCollaborationClient','DisposableCollection','none','pluginName','_localeService','@univerjs/network','UniverSheetsConditionalFormatting','fill','use','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverSheetsDrawingPlugin','UniverSheetsDataValidationUi','event$','UniverSheetsHyperLink','978556JJQGaz','3915320vPVJQC','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','\x20has\x20been\x20registered.','getCollabEntity','UniverRpc','close','UniverSheetsDataValidation','UniverSheetsFilterUIPlugin','AuthzIoHttpService','CollaborationEvent','getCurrentLocale','UniverProSheetsSparkline','@univerjs/sheets-conditional-formatting-ui','./worker.js','@univerjs-pro/sheets-sparkline','asObservable','HistoryManagerService','data','_config','@univerjs/drawing-ui','amd','UniverDrawingUIPlugin','@univerjs/sheets-conditional-formatting'];_0x2f32=function(){return _0x257e88;};return _0x2f32();}(function(_0x2bb197,_0x1bfb92){const _0x593ec0=_0x41e4,_0x4c34c0=_0x2bb197();while(!![]){try{const _0x1c21e4=-parseInt(_0x593ec0(0x1b5))/0x1+-parseInt(_0x593ec0(0x23e))/0x2*(-parseInt(_0x593ec0(0x266))/0x3)+parseInt(_0x593ec0(0x19a))/0x4*(-parseInt(_0x593ec0(0x1ce))/0x5)+-parseInt(_0x593ec0(0x1b3))/0x6*(-parseInt(_0x593ec0(0x1cd))/0x7)+-parseInt(_0x593ec0(0x177))/0x8*(-parseInt(_0x593ec0(0x1db))/0x9)+-parseInt(_0x593ec0(0x19b))/0xa+parseInt(_0x593ec0(0x1d3))/0xb*(-parseInt(_0x593ec0(0x265))/0xc);if(_0x1c21e4===_0x1bfb92)break;else _0x4c34c0['push'](_0x4c34c0['shift']());}catch(_0x45c185){_0x4c34c0['push'](_0x4c34c0['shift']());}}}(_0x2f32,0x6caba),function(_0x31daa2,_0x44735a){const _0x2419f9=_0x41e4;typeof exports=='object'&&typeof module<'u'?_0x44735a(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0x2419f9(0x219)&&define[_0x2419f9(0x1af)]?define(['exports',_0x2419f9(0x23d),'@univerjs-pro/collaboration',_0x2419f9(0x26b),_0x2419f9(0x1c1),_0x2419f9(0x21c),_0x2419f9(0x24a),_0x2419f9(0x1bb),_0x2419f9(0x170),'@univerjs-pro/edit-history-viewer','@univerjs-pro/license',_0x2419f9(0x26e),_0x2419f9(0x1a9),'@univerjs-pro/sheets-sparkline-ui','@univerjs/data-validation',_0x2419f9(0x1fc),'@univerjs/docs-ui','@univerjs/drawing',_0x2419f9(0x1ae),_0x2419f9(0x24e),_0x2419f9(0x1dd),_0x2419f9(0x191),_0x2419f9(0x166),_0x2419f9(0x1b1),_0x2419f9(0x1a7),'@univerjs/sheets-data-validation',_0x2419f9(0x226),_0x2419f9(0x1b2),_0x2419f9(0x1cc),'@univerjs/sheets-filter',_0x2419f9(0x1fe),'@univerjs/sheets-formula',_0x2419f9(0x270),_0x2419f9(0x25e),_0x2419f9(0x247),_0x2419f9(0x1f4),_0x2419f9(0x1d1)],_0x44735a):(_0x31daa2=typeof globalThis<'u'?globalThis:_0x31daa2||self,_0x44735a(_0x31daa2[_0x2419f9(0x24b)]={},_0x31daa2['UniverCore'],_0x31daa2['UniverProCollaboration'],_0x31daa2[_0x2419f9(0x18c)],_0x31daa2[_0x2419f9(0x241)],_0x31daa2[_0x2419f9(0x1eb)],_0x31daa2[_0x2419f9(0x17d)],_0x31daa2[_0x2419f9(0x1bb)],_0x31daa2[_0x2419f9(0x1c5)],_0x31daa2[_0x2419f9(0x230)],_0x31daa2[_0x2419f9(0x1d8)],_0x31daa2['UniverProSheetsPivot'],_0x31daa2[_0x2419f9(0x1a6)],_0x31daa2['UniverProSheetsSparklineUi'],_0x31daa2[_0x2419f9(0x1be)],_0x31daa2[_0x2419f9(0x1d4)],_0x31daa2['UniverDocsUi'],_0x31daa2['UniverDrawing'],_0x31daa2['UniverDrawingUi'],_0x31daa2[_0x2419f9(0x260)],_0x31daa2[_0x2419f9(0x1e4)],_0x31daa2[_0x2419f9(0x1ec)],_0x31daa2[_0x2419f9(0x19f)],_0x31daa2[_0x2419f9(0x192)],_0x31daa2[_0x2419f9(0x1b4)],_0x31daa2[_0x2419f9(0x1a1)],_0x31daa2[_0x2419f9(0x197)],_0x31daa2['UniverSheetsDrawing'],_0x31daa2[_0x2419f9(0x25b)],_0x31daa2[_0x2419f9(0x22d)],_0x31daa2['UniverSheetsFilterUi'],_0x31daa2[_0x2419f9(0x214)],_0x31daa2['UniverSheetsFormulaUi'],_0x31daa2[_0x2419f9(0x199)],_0x31daa2[_0x2419f9(0x27d)],_0x31daa2[_0x2419f9(0x228)],_0x31daa2['UniverSheetsUi']));}(this,function(_0x1278ea,_0x339e3f,_0xf8ce4f,_0x454ce2,_0x476c4b,_0x36e089,_0x51ef13,_0x52b758,_0x26f8ec,_0x5132cd,_0x547ba6,_0x2c0534,_0x3fe4ae,_0x489412,_0x4b21f9,_0x542d8b,_0x4b659b,_0xc144d8,_0x5344d2,_0x4bdac8,_0x31f033,_0x1ed6d5,_0x307b38,_0x19420c,_0x1e7f41,_0x5a3af6,_0x44c346,_0x447d40,_0x5c083a,_0x324e13,_0xd5eb1,_0x5bf049,_0x14659c,_0x7824a2,_0x83e7f6,_0x44f0b8,_0xcb266c){'use strict';const _0x3adaff=_0x41e4;var _0x3b289b=Object[_0x3adaff(0x162)],_0x5cd0e5=(_0x3a445f,_0x16f895,_0x3ef71b)=>_0x16f895 in _0x3a445f?_0x3b289b(_0x3a445f,_0x16f895,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ef71b}):_0x3a445f[_0x16f895]=_0x3ef71b,_0x1bc6a7=(_0x539660,_0x3e54a4,_0x2352c0)=>_0x5cd0e5(_0x539660,typeof _0x3e54a4!='symbol'?_0x3e54a4+'':_0x3e54a4,_0x2352c0),_0x3f0a29;const _0x225b63=_0x3adaff(0x171),_0x4daa1a={};function _0x2074d9({ref:_0x42a73d,..._0x1399f7}){const _0x5704c7=_0x3adaff,{icon:_0x2e73aa,id:_0x4b0853,className:_0x27f55d,extend:_0xa00a6d,..._0x32eacf}=_0x1399f7,_0x5eac80=(_0x5704c7(0x17a)+_0x4b0853+'\x20'+(_0x27f55d||''))[_0x5704c7(0x15f)](),_0x329b7d=_0x36e089[_0x5704c7(0x1f2)]('_'+_0x1c53ed());return _0x3a988f(_0x2e73aa,''+_0x4b0853,{'defIds':_0x2e73aa[_0x5704c7(0x1da)],'idSuffix':_0x329b7d['current']},{'ref':_0x42a73d,'className':_0x5eac80,..._0x32eacf},_0xa00a6d);}function _0x3a988f(_0x13311d,_0x408a6c,_0x1a6d5e,_0x5ccd24,_0x15d253){const _0x45cee4=_0x3adaff;return _0x36e089[_0x45cee4(0x220)](_0x13311d[_0x45cee4(0x211)],{'key':_0x408a6c,..._0x39358c(_0x13311d,_0x1a6d5e,_0x15d253),..._0x5ccd24},(_0x1fe76f(_0x13311d,_0x1a6d5e)[_0x45cee4(0x165)]||[])[_0x45cee4(0x200)]((_0x338b90,_0x499afa)=>_0x3a988f(_0x338b90,_0x408a6c+'-'+_0x13311d['tag']+'-'+_0x499afa,_0x1a6d5e,void 0x0,_0x15d253)));}function _0x39358c(_0x153cf2,_0xd74124,_0x40931c){const _0x1a57bc=_0x3adaff,_0x22a3bd={..._0x153cf2[_0x1a57bc(0x257)]};_0x40931c!=null&&_0x40931c['colorChannel1']&&_0x22a3bd['fill']===_0x1a57bc(0x279)&&(_0x22a3bd[_0x1a57bc(0x193)]=_0x40931c[_0x1a57bc(0x279)]),_0x153cf2[_0x1a57bc(0x211)]===_0x1a57bc(0x1b6)&&_0x22a3bd['id']&&(_0x22a3bd['id']=_0x22a3bd['id']+_0xd74124['idSuffix']),Object['entries'](_0x22a3bd)[_0x1a57bc(0x16f)](([_0x32014f,_0x43be62])=>{const _0x1c0a89=_0x1a57bc;_0x32014f===_0x1c0a89(0x1b6)&&typeof _0x43be62==_0x1c0a89(0x1c3)&&(_0x22a3bd[_0x32014f]=_0x43be62[_0x1c0a89(0x225)](/url\(#(.*)\)/,'url(#$1'+_0xd74124[_0x1c0a89(0x231)]+')'));});const {defIds:_0x358670}=_0xd74124;return!_0x358670||_0x358670[_0x1a57bc(0x1f7)]===0x0||(_0x153cf2[_0x1a57bc(0x211)]===_0x1a57bc(0x194)&&_0x22a3bd[_0x1a57bc(0x1e1)]&&(_0x22a3bd[_0x1a57bc(0x1e1)]=_0x22a3bd[_0x1a57bc(0x1e1)]+_0xd74124[_0x1a57bc(0x231)]),Object[_0x1a57bc(0x273)](_0x22a3bd)[_0x1a57bc(0x16f)](([_0x335ba8,_0x548f08])=>{const _0xd5619f=_0x1a57bc;typeof _0x548f08==_0xd5619f(0x1c3)&&(_0x22a3bd[_0x335ba8]=_0x548f08['replace'](/url\(#(.*)\)/,'url(#$1'+_0xd74124[_0xd5619f(0x231)]+')'));})),_0x22a3bd;}function _0x1fe76f(_0x5aa4fb,_0x444982){const _0x182ae6=_0x3adaff;var _0xc0926d;const {defIds:_0x4a2243}=_0x444982;return!_0x4a2243||_0x4a2243['length']===0x0?_0x5aa4fb:_0x5aa4fb['tag']===_0x182ae6(0x212)&&((_0xc0926d=_0x5aa4fb[_0x182ae6(0x165)])!=null&&_0xc0926d['length'])?{..._0x5aa4fb,'children':_0x5aa4fb[_0x182ae6(0x165)]['map'](_0x490e70=>typeof _0x490e70['attrs']['id']==_0x182ae6(0x1c3)&&_0x4a2243&&_0x4a2243[_0x182ae6(0x188)](_0x490e70[_0x182ae6(0x257)]['id'])?{..._0x490e70,'attrs':{..._0x490e70[_0x182ae6(0x257)],'id':_0x490e70[_0x182ae6(0x257)]['id']+_0x444982[_0x182ae6(0x231)]}}:_0x490e70)}:_0x5aa4fb;}function _0x1c53ed(){const _0x19eabb=_0x3adaff;return Math[_0x19eabb(0x1e2)]()['toString'](0x24)[_0x19eabb(0x23c)](0x2,0x8);}_0x2074d9['displayName']=_0x3adaff(0x240);const _0x277e5b={'tag':'svg','attrs':{'xmlns':_0x3adaff(0x180),'fill':'none','viewBox':_0x3adaff(0x173),'width':_0x3adaff(0x164),'height':_0x3adaff(0x164)},'children':[{'tag':'g','attrs':{'fill':_0x3adaff(0x1ea),'clipPath':_0x3adaff(0x277)},'children':[{'tag':_0x3adaff(0x22b),'attrs':{'d':_0x3adaff(0x207)}},{'tag':'path','attrs':{'d':_0x3adaff(0x1f9)}}]},{'tag':_0x3adaff(0x212),'attrs':{},'children':[{'tag':_0x3adaff(0x1df),'attrs':{'id':_0x3adaff(0x1ef)},'children':[{'tag':_0x3adaff(0x22b),'attrs':{'fill':_0x3adaff(0x234),'d':_0x3adaff(0x23b)}}]}]}],'defIds':['history-icon_clip0_907_281']},_0x4f8497=_0x36e089[_0x3adaff(0x205)](function(_0xd3c642,_0x4adaed){const _0x49cc87=_0x3adaff;return _0x36e089['createElement'](_0x2074d9,Object[_0x49cc87(0x222)]({},_0xd3c642,{'id':_0x49cc87(0x218),'ref':_0x4adaed,'icon':_0x277e5b}));});_0x4f8497['displayName']=_0x3adaff(0x179);var _0x4e71b2=Object[_0x3adaff(0x22e)],_0x32299b=(_0x5db7f4,_0x462e8d,_0x292060,_0x18c411)=>{const _0x2226b5=_0x3adaff;for(var _0x153e5f=_0x18c411>0x1?void 0x0:_0x18c411?_0x4e71b2(_0x462e8d,_0x292060):_0x462e8d,_0x28bf96=_0x5db7f4[_0x2226b5(0x1f7)]-0x1,_0x223b37;_0x28bf96>=0x0;_0x28bf96--)(_0x223b37=_0x5db7f4[_0x28bf96])&&(_0x153e5f=_0x223b37(_0x153e5f)||_0x153e5f);return _0x153e5f;},_0x89249=(_0x45e8ec,_0x495d0f)=>(_0x51f01e,_0x514743)=>_0x495d0f(_0x51f01e,_0x514743,_0x45e8ec);const _0x385ee5='univer-container',_0x597b80='UNIVER_CONTAINER_ID',_0x42aa57='univer-history-container';_0x1278ea[_0x3adaff(0x1d0)]=class extends _0x339e3f['Disposable']{constructor(_0x11663f,_0x188f04,_0x312d83,_0x178e6a,_0xf3423,_0x4781aa,_0x105bf6,_0x2f9f11,_0x10dbd1,_0x3a8dd1){const _0x35526a=_0x3adaff;super(),_0x1bc6a7(this,_0x35526a(0x213),new _0x52b758['BehaviorSubject'](null)),_0x1bc6a7(this,_0x35526a(0x20e),this[_0x35526a(0x213)][_0x35526a(0x1aa)]()),_0x1bc6a7(this,_0x35526a(0x27c),new _0x339e3f[(_0x35526a(0x18d))]()),_0x1bc6a7(this,'_pluginMap',new Map()),(this[_0x35526a(0x190)]=_0x11663f,this['_univerInstanceService']=_0x188f04,this[_0x35526a(0x204)]=_0x312d83,this[_0x35526a(0x248)]=_0x178e6a,this[_0x35526a(0x16a)]=_0xf3423,this[_0x35526a(0x263)]=_0x4781aa,this[_0x35526a(0x20d)]=_0x105bf6,this['_dialogService']=_0x2f9f11,this['_sidebarService']=_0x10dbd1,this['_themeService']=_0x3a8dd1,this['_init']());}get[_0x3adaff(0x23f)](){const _0x4519e3=_0x3adaff;return this[_0x4519e3(0x213)][_0x4519e3(0x16d)];}['_init'](){const _0x2648ab=_0x3adaff;this[_0x2648ab(0x229)](),this[_0x2648ab(0x1f0)]();}[_0x3adaff(0x229)](){const _0x49f8b9=_0x3adaff;var _0x387693;const _0x4f5111=(_0x387693=this[_0x49f8b9(0x204)]['getConfig'](_0x597b80))!=null?_0x387693:_0x385ee5,_0x5d82ce=document[_0x49f8b9(0x172)](_0x4f5111);if(!_0x5d82ce)return;const _0x5cf393=document[_0x49f8b9(0x220)]('div');_0x5cf393['id']=_0x42aa57,_0x5cf393['dataset'][_0x49f8b9(0x17b)]=_0x49f8b9(0x17e),_0x5cf393[_0x49f8b9(0x1e9)][_0x49f8b9(0x1d7)]=_0x49f8b9(0x1c4),_0x5cf393[_0x49f8b9(0x1e9)][_0x49f8b9(0x215)]='0',_0x5cf393[_0x49f8b9(0x1e9)]['left']='0',_0x5cf393[_0x49f8b9(0x1e9)][_0x49f8b9(0x1c2)]=_0x49f8b9(0x1ee),_0x5cf393[_0x49f8b9(0x1e9)][_0x49f8b9(0x201)]=_0x49f8b9(0x1ee),_0x5cf393[_0x49f8b9(0x1e9)][_0x49f8b9(0x1e0)]=_0x49f8b9(0x1c9),_0x5cf393[_0x49f8b9(0x1e9)]['display']='none',_0x5d82ce[_0x49f8b9(0x272)](_0x5cf393);}[_0x3adaff(0x1f0)](){const _0x255d1b=_0x3adaff;var _0x108b55;[[_0x31f033[_0x255d1b(0x22c)]],[_0x51ef13['UniverUIPlugin'],{'container':_0x42aa57,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x51ef13[_0x255d1b(0x203)],null]]}],[_0x1ed6d5[_0x255d1b(0x27b)]],[_0xc144d8[_0x255d1b(0x18b)],{'override':[[_0xc144d8['IImageIoService'],null]]}],[_0x542d8b['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x4b659b['UniverDocsUIPlugin']],[_0x44f0b8[_0x255d1b(0x233)]],[_0x26f8ec['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0xcb266c[_0x255d1b(0x15e)]],[_0x5bf049['UniverSheetsFormulaPlugin']],[_0x14659c[_0x255d1b(0x244)]],[_0xf8ce4f[_0x255d1b(0x238)]],[_0x324e13[_0x255d1b(0x275)]],[_0xd5eb1[_0x255d1b(0x1a2)]],[_0x19420c[_0x255d1b(0x278)]],[_0x1e7f41['UniverSheetsConditionalFormattingUIPlugin']],[_0x7824a2[_0x255d1b(0x1fa)]],[_0x83e7f6[_0x255d1b(0x252)]],[_0x4b21f9[_0x255d1b(0x251)]],[_0x5a3af6[_0x255d1b(0x254)]],[_0x44c346[_0x255d1b(0x168)]],[_0x4bdac8[_0x255d1b(0x24d)],{'notExecuteFormula':!0x0}],[_0x307b38[_0x255d1b(0x232)],{'workerURL':_0x255d1b(0x1a8)}],[_0x5344d2[_0x255d1b(0x1b0)]],[_0x447d40[_0x255d1b(0x196)]],[_0x5c083a[_0x255d1b(0x20f)]],[_0x3fe4ae['UniverSheetSparklinePlugin']],[_0x489412[_0x255d1b(0x1d5)]],[_0x2c0534['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[_0x5132cd['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x108b55=this['_configService'][_0x255d1b(0x237)](_0x225b63))==null?void 0x0:_0x108b55['historyListServerUrl']}]][_0x255d1b(0x16f)](([_0x347012,_0x1a1121])=>this[_0x255d1b(0x239)](_0x347012,_0x1a1121));}[_0x3adaff(0x161)](){const _0x4fa172=_0x3adaff;super[_0x4fa172(0x161)](),this['unMountHistoryContent'](),this[_0x4fa172(0x20b)]['clear']();}[_0x3adaff(0x239)](_0x4bc22d,_0x536a1a,_0x47dfd3){const _0x5e87d9=_0x3adaff;if(this[_0x5e87d9(0x20b)][_0x5e87d9(0x20a)](_0x4bc22d['pluginName'])&&!_0x47dfd3)throw new Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x4bc22d[_0x5e87d9(0x18f)]+_0x5e87d9(0x19d));this[_0x5e87d9(0x20b)][_0x5e87d9(0x253)](_0x4bc22d[_0x5e87d9(0x18f)],[_0x4bc22d,_0x536a1a]);}[_0x3adaff(0x189)](){const _0x4135e1=_0x3adaff;return Array[_0x4135e1(0x169)](this['_pluginMap'][_0x4135e1(0x1c0)]());}[_0x3adaff(0x1e7)](_0x20859a){const _0x3b6a03=_0x3adaff,_0x2152cb=document[_0x3b6a03(0x172)](_0x42aa57);_0x2152cb&&(_0x2152cb[_0x3b6a03(0x1e9)]['display']=_0x3b6a03(0x16c),this[_0x3b6a03(0x26a)](_0x20859a,_0x42aa57));}[_0x3adaff(0x261)](){const _0x25a251=_0x3adaff;var _0x935b6e;this[_0x25a251(0x27c)][_0x25a251(0x161)](),(_0x935b6e=this[_0x25a251(0x23f)])==null||_0x935b6e['dispose'](),this[_0x25a251(0x213)][_0x25a251(0x209)](null);const _0x14c147=document['getElementById'](_0x42aa57);_0x14c147&&(_0x14c147[_0x25a251(0x1e9)][_0x25a251(0x184)]=_0x25a251(0x18e));}['_initUniver'](_0xf03db3,_0xef6d4b){const _0x2253c2=_0x3adaff;if(this['historyUniver'])return;const _0x39711c=new _0x339e3f[(_0x2253c2(0x1ff))]({'locales':{[this[_0x2253c2(0x190)][_0x2253c2(0x1a5)]()]:this[_0x2253c2(0x190)][_0x2253c2(0x175)]()},'override':[[_0x339e3f['IAuthzIoService'],{'useClass':_0x454ce2[_0x2253c2(0x1a3)]}]]}),_0x3aae11=_0x39711c[_0x2253c2(0x250)]();this[_0x2253c2(0x26d)](this[_0x2253c2(0x259)]['darkMode$'][_0x2253c2(0x1f8)](_0x2d8c0a=>{const _0xaa9379=_0x2253c2;_0x3aae11[_0xaa9379(0x245)](_0x339e3f[_0xaa9379(0x256)])['setDarkMode'](_0x2d8c0a);})),this['disposeWithMe'](this[_0x2253c2(0x259)][_0x2253c2(0x160)][_0x2253c2(0x1f8)](_0x301a3d=>{const _0x1f801c=_0x2253c2;_0x3aae11['get'](_0x339e3f[_0x1f801c(0x256)])[_0x1f801c(0x24c)](_0x301a3d);})),_0x3aae11[_0x2253c2(0x245)](_0x339e3f[_0x2253c2(0x1b7)])['setLocale'](this['_localeService'][_0x2253c2(0x1a5)]()),_0x3aae11[_0x2253c2(0x245)](_0x339e3f['IConfigService'])['setConfig'](_0x454ce2[_0x2253c2(0x195)],this[_0x2253c2(0x204)][_0x2253c2(0x237)](_0x454ce2[_0x2253c2(0x195)]));const _0x34b3ae=this[_0x2253c2(0x204)]['getConfig'](_0x547ba6[_0x2253c2(0x223)]);_0x34b3ae&&_0x39711c[_0x2253c2(0x239)](_0x547ba6[_0x2253c2(0x16e)],{'license':_0x34b3ae['ls']}),this['_pluginMap'][_0x2253c2(0x16f)](([_0x48c73a,_0x1a3676])=>{_0x39711c['registerPlugin'](_0x48c73a,_0x1a3676);}),_0x3aae11[_0x2253c2(0x21b)](_0x51fd8d=>{const _0x42fa84=_0x2253c2;this[_0x42fa84(0x1ca)](_0x51fd8d,_0xf03db3);}),this[_0x2253c2(0x213)][_0x2253c2(0x209)](_0x39711c);const _0x3eeb08=_0x3aae11[_0x2253c2(0x245)](_0x5132cd['HistoryManagerService']),_0x115867=this[_0x2253c2(0x264)](_0xf03db3);_0x3eeb08[_0x2253c2(0x22f)](_0xf03db3,_0xef6d4b,_0x115867);}['_initListener'](_0x1de5f0,_0x4c0b89){const _0x466607=_0x3adaff,_0x2e8efd=_0x1de5f0['get'](_0x5132cd[_0x466607(0x1ab)]);this[_0x466607(0x27c)][_0x466607(0x206)](_0x2e8efd['status$'][_0x466607(0x1f8)](_0x591e47=>{const _0x54568b=_0x466607;switch(_0x591e47){case _0x5132cd['HistoryModeStatus'][_0x54568b(0x183)]:this[_0x54568b(0x24f)]['closeAll'](),this['_sidebarService'][_0x54568b(0x1a0)]();break;case _0x5132cd[_0x54568b(0x26f)][_0x54568b(0x163)]:this[_0x54568b(0x261)]();break;case _0x5132cd['HistoryModeStatus'][_0x54568b(0x221)]:this[_0x54568b(0x261)](),this[_0x54568b(0x16a)][_0x54568b(0x21e)]({'content':this['_localeService']['t'](_0x54568b(0x242)),'type':_0x476c4b['MessageType'][_0x54568b(0x221)],'duration':0xbb8});break;}})),this[_0x466607(0x27c)][_0x466607(0x206)](_0x2e8efd['revertRevision$'][_0x466607(0x1f8)](async _0x464235=>{const _0x40d459=_0x466607;_0x464235&&this[_0x40d459(0x248)]['executeCommand'](_0xf8ce4f[_0x40d459(0x186)]['id'],{'unitId':_0x4c0b89,'revision':_0x464235});}));}[_0x3adaff(0x264)](_0x194c8f){const _0x40c32e=_0x3adaff,_0x5b8a57=this[_0x40c32e(0x23a)][_0x40c32e(0x26c)](_0x194c8f)[_0x40c32e(0x17c)]()['map'](_0x3a5a34=>_0x3a5a34[_0x40c32e(0x1e5)]()),_0x58ac6e=new _0x26f8ec['WorkbookEditablePermission'](_0x194c8f)['id'],_0x3f1379=_0x5b8a57[_0x40c32e(0x200)](_0x1ab856=>new _0x26f8ec[(_0x40c32e(0x1dc))](_0x194c8f,_0x1ab856)['id']),_0x386c8c=_0x5b8a57['map'](_0x1c9321=>this[_0x40c32e(0x20d)][_0x40c32e(0x269)](_0x194c8f,_0x1c9321)[_0x40c32e(0x200)](_0x3cf3c0=>new _0x26f8ec[(_0x40c32e(0x25f))](_0x194c8f,_0x1c9321,_0x3cf3c0[_0x40c32e(0x20c)])['id']))[_0x40c32e(0x1bd)](),_0x35828b=new _0x26f8ec[(_0x40c32e(0x1c7))](_0x194c8f)['id'];return this[_0x40c32e(0x263)]['composePermission']([_0x58ac6e,..._0x3f1379,..._0x386c8c,_0x35828b])[_0x40c32e(0x1ba)](_0x54844c=>!!_0x54844c[_0x40c32e(0x16d)]);}},_0x1278ea[_0x3adaff(0x1d0)]=_0x32299b([_0x89249(0x0,_0x339e3f[_0x3adaff(0x185)](_0x339e3f['LocaleService'])),_0x89249(0x1,_0x339e3f['IUniverInstanceService']),_0x89249(0x2,_0x339e3f[_0x3adaff(0x210)]),_0x89249(0x3,_0x339e3f[_0x3adaff(0x202)]),_0x89249(0x4,_0x51ef13[_0x3adaff(0x1d6)]),_0x89249(0x5,_0x339e3f[_0x3adaff(0x1f3)]),_0x89249(0x6,_0x339e3f['Inject'](_0x26f8ec['RangeProtectionRuleModel'])),_0x89249(0x7,_0x339e3f['Inject'](_0x51ef13[_0x3adaff(0x203)])),_0x89249(0x8,_0x339e3f['Inject'](_0x51ef13['ISidebarService'])),_0x89249(0x9,_0x339e3f[_0x3adaff(0x185)](_0x339e3f['ThemeService']))],_0x1278ea[_0x3adaff(0x1d0)]);const _0x3ddd6d={'id':_0x3adaff(0x1fd),'type':_0x339e3f[_0x3adaff(0x255)][_0x3adaff(0x1bf)],'handler':_0x172860=>{const _0x2c00ae=_0x3adaff,_0x189abf=_0x172860[_0x2c00ae(0x245)](_0x1278ea[_0x2c00ae(0x1d0)]),_0x329ce7=_0x172860[_0x2c00ae(0x245)](_0x339e3f[_0x2c00ae(0x27e)]),{unitId:_0x56f878}=_0x26f8ec['getSheetCommandTarget'](_0x329ce7)||{};return _0x56f878?(_0x189abf[_0x2c00ae(0x1e7)](_0x56f878),!0x0):!0x1;}};function _0x4ddd9b(_0x3837ec){const _0x1a393f=_0x3adaff;return{'id':_0x3ddd6d['id'],'type':_0x51ef13[_0x1a393f(0x1cf)][_0x1a393f(0x182)],'icon':_0x1a393f(0x179),'tooltip':_0x1a393f(0x1b8),'hidden$':_0x51ef13[_0x1a393f(0x243)](_0x3837ec,_0x339e3f[_0x1a393f(0x1e8)][_0x1a393f(0x1c8)]),'disabled$':_0xcb266c[_0x1a393f(0x1de)](_0x3837ec,{'workbookTypes':[_0x26f8ec[_0x1a393f(0x25a)],_0x26f8ec[_0x1a393f(0x1b9)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x567382={[_0x51ef13[_0x3adaff(0x27a)]['OTHERS']]:{[_0x3ddd6d['id']]:{'order':0.2,'menuItemFactory':_0x4ddd9b}}};var _0x2e5c25=Object[_0x3adaff(0x22e)],_0x2a2dee=(_0x5efdd5,_0x59bdc4,_0x3e7f03,_0x4a8867)=>{const _0x259923=_0x3adaff;for(var _0x1d7481=_0x4a8867>0x1?void 0x0:_0x4a8867?_0x2e5c25(_0x59bdc4,_0x3e7f03):_0x59bdc4,_0x359013=_0x5efdd5[_0x259923(0x1f7)]-0x1,_0x407594;_0x359013>=0x0;_0x359013--)(_0x407594=_0x5efdd5[_0x359013])&&(_0x1d7481=_0x407594(_0x1d7481)||_0x1d7481);return _0x1d7481;},_0x2f89bb=(_0x49f6e5,_0x44f541)=>(_0x30849c,_0xe95579)=>_0x44f541(_0x30849c,_0xe95579,_0x49f6e5);let _0x314eb1=class extends _0x339e3f[_0x3adaff(0x21a)]{constructor(_0x5b1796,_0x9d675f,_0x3f61bb,_0x14ccb3,_0x327da1,_0x347b3a,_0x2539e1,_0x1b2a68){const _0x3eaf09=_0x3adaff;super(),_0x1bc6a7(this,'_revertErrorTimer',null),(this[_0x3eaf09(0x248)]=_0x5b1796,this[_0x3eaf09(0x208)]=_0x9d675f,this['_componentManager']=_0x3f61bb,this[_0x3eaf09(0x1e3)]=_0x14ccb3,this[_0x3eaf09(0x190)]=_0x327da1,this[_0x3eaf09(0x16a)]=_0x347b3a,this[_0x3eaf09(0x235)]=_0x2539e1,this[_0x3eaf09(0x22a)]=_0x1b2a68,this['_init']());}[_0x3adaff(0x271)](){const _0x55b5cc=_0x3adaff;[_0x3ddd6d]['forEach'](_0x216a8b=>this[_0x55b5cc(0x26d)](_0x339e3f[_0x55b5cc(0x1ed)](this[_0x55b5cc(0x248)][_0x55b5cc(0x224)](_0x216a8b)))),this[_0x55b5cc(0x26d)](this['_componentManager'][_0x55b5cc(0x21d)](_0x55b5cc(0x179),_0x4f8497)),this[_0x55b5cc(0x208)][_0x55b5cc(0x1d9)](_0x567382),this[_0x55b5cc(0x26d)](this[_0x55b5cc(0x248)][_0x55b5cc(0x18a)](_0x4d6724=>{const _0x3020c2=_0x55b5cc;if(_0x4d6724['id']===_0xf8ce4f[_0x3020c2(0x186)]['id']){this['_messageService'][_0x3020c2(0x21e)]({'content':this['_localeService']['t'](_0x3020c2(0x246)),'type':_0x476c4b['MessageType'][_0x3020c2(0x268)],'duration':0x1388});const {unitId:_0x494cb1}=_0x4d6724[_0x3020c2(0x1fb)],_0x753ae4=this[_0x3020c2(0x235)][_0x3020c2(0x19e)](_0x494cb1),_0x3eba8a=_0x52b758[_0x3020c2(0x1f1)]([_0x753ae4[_0x3020c2(0x249)][_0x3020c2(0x198)],_0x753ae4['state$']])[_0x3020c2(0x1f8)](async([_0x556056,_0xd8b73])=>{const _0x7dfaa6=_0x3020c2;var _0x1e3094;_0x556056[_0x7dfaa6(0x1c6)]===_0xf8ce4f[_0x7dfaa6(0x1a4)]['CHANGESET_ACK']&&(_0xd8b73==null?void 0x0:_0xd8b73[_0x7dfaa6(0x1bc)])===_0x454ce2[_0x7dfaa6(0x1cb)][_0x7dfaa6(0x181)]&&_0x556056[_0x7dfaa6(0x1ac)]['mutations']['some'](_0x38f9cf=>_0x38f9cf['id']===_0xf8ce4f['RevertRevisionMutation']['id'])&&(this[_0x7dfaa6(0x1e3)][_0x7dfaa6(0x261)](),_0x3eba8a[_0x7dfaa6(0x227)](),this[_0x7dfaa6(0x187)]&&clearTimeout(this[_0x7dfaa6(0x187)]),await((_0x1e3094=this[_0x7dfaa6(0x22a)])==null?void 0x0:_0x1e3094[_0x7dfaa6(0x236)]()),setTimeout(()=>window['location'][_0x7dfaa6(0x217)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x4a3fab=_0x3020c2;_0x3eba8a[_0x4a3fab(0x227)](),this[_0x4a3fab(0x16a)][_0x4a3fab(0x21e)]({'content':this[_0x4a3fab(0x190)]['t'](_0x4a3fab(0x216)),'type':_0x476c4b[_0x4a3fab(0x276)][_0x4a3fab(0x221)],'duration':0xbb8});},0x1388);}}));}};_0x314eb1=_0x2a2dee([_0x2f89bb(0x0,_0x339e3f['ICommandService']),_0x2f89bb(0x1,_0x51ef13['IMenuManagerService']),_0x2f89bb(0x2,_0x339e3f[_0x3adaff(0x185)](_0x51ef13[_0x3adaff(0x176)])),_0x2f89bb(0x3,_0x339e3f[_0x3adaff(0x185)](_0x1278ea['HistoryLoaderService'])),_0x2f89bb(0x4,_0x339e3f[_0x3adaff(0x185)](_0x339e3f['LocaleService'])),_0x2f89bb(0x5,_0x51ef13[_0x3adaff(0x1d6)]),_0x2f89bb(0x6,_0x339e3f['Inject'](_0x454ce2[_0x3adaff(0x274)])),_0x2f89bb(0x7,_0x454ce2[_0x3adaff(0x21f)])],_0x314eb1);var _0x56603f=Object['getOwnPropertyDescriptor'],_0x591ce8=(_0x598b86,_0x57c667,_0x3c060b,_0x3ea658)=>{const _0x7e316a=_0x3adaff;for(var _0xb27f06=_0x3ea658>0x1?void 0x0:_0x3ea658?_0x56603f(_0x57c667,_0x3c060b):_0x57c667,_0x220fa7=_0x598b86[_0x7e316a(0x1f7)]-0x1,_0x5c9f98;_0x220fa7>=0x0;_0x220fa7--)(_0x5c9f98=_0x598b86[_0x220fa7])&&(_0xb27f06=_0x5c9f98(_0xb27f06)||_0xb27f06);return _0xb27f06;},_0x1b37ed=(_0x280b1e,_0x1852a3)=>(_0x3ea069,_0x5a7721)=>_0x1852a3(_0x3ea069,_0x5a7721,_0x280b1e);const _0x3de01b=_0x3adaff(0x19c);_0x1278ea[_0x3adaff(0x16b)]=(_0x3f0a29=class extends _0x339e3f[_0x3adaff(0x17f)]{constructor(_0x214e03=_0x4daa1a,_0x3a1f90,_0x55b04b){const _0x8d5b9=_0x3adaff;super(),this[_0x8d5b9(0x1ad)]=_0x214e03,this[_0x8d5b9(0x1d2)]=_0x3a1f90,this[_0x8d5b9(0x204)]=_0x55b04b;const {menu:_0x1579e4,..._0x4b17c5}=_0x339e3f[_0x8d5b9(0x174)]({},_0x4daa1a,this[_0x8d5b9(0x1ad)]);_0x1579e4&&this[_0x8d5b9(0x204)][_0x8d5b9(0x25d)]('menu',_0x1579e4,{'merge':!0x0}),this['_configService']['setConfig'](_0x225b63,_0x4b17c5),this[_0x8d5b9(0x1ad)][_0x8d5b9(0x178)]&&this['_configService'][_0x8d5b9(0x25d)](_0x597b80,this['_config']['univerContainerId']);}[_0x3adaff(0x258)](){const _0x48bbcf=_0x3adaff;[[_0x1278ea[_0x48bbcf(0x1d0)]],[_0x314eb1]]['forEach'](_0x443edb=>this[_0x48bbcf(0x1d2)]['add'](_0x443edb));}['onSteady'](){const _0x2bba05=_0x3adaff;this[_0x2bba05(0x1d2)][_0x2bba05(0x245)](_0x314eb1);}},_0x1bc6a7(_0x3f0a29,_0x3adaff(0x262),_0x339e3f[_0x3adaff(0x1e8)][_0x3adaff(0x267)]),_0x1bc6a7(_0x3f0a29,'pluginName',_0x3de01b),_0x3f0a29),_0x1278ea['UniverEditHistoryLoaderPlugin']=_0x591ce8([_0x1b37ed(0x1,_0x339e3f[_0x3adaff(0x185)](_0x339e3f[_0x3adaff(0x25c)])),_0x1b37ed(0x2,_0x339e3f[_0x3adaff(0x210)])],_0x1278ea[_0x3adaff(0x16b)]),_0x1278ea[_0x3adaff(0x1e6)]=_0x597b80,_0x1278ea[_0x3adaff(0x1f5)]=_0x42aa57,Object[_0x3adaff(0x162)](_0x1278ea,Symbol[_0x3adaff(0x1f6)],{'value':_0x3adaff(0x167)});}));
|
|
21
21
|
|
|
22
22
|
// index
|
|
23
23
|
(function(e,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/edit-history-loader"),require("@univerjs-pro/collaboration-client/lib/facade"),require("@univerjs-pro/collaboration-client-ui/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/edit-history-loader","@univerjs-pro/collaboration-client/lib/facade","@univerjs-pro/collaboration-client-ui/lib/facade"],o):(e=typeof globalThis<"u"?globalThis:e||self,o(e.UniverPresetSheetsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi,e.UniverProEditHistoryLoader))})(this,(function(e,o,l,t,a){"use strict";function s(n){const i=new URL(n,window.location.origin);switch(i.protocol){case"https:":i.protocol="wss:";break;case"http:":i.protocol="ws:";break}return i.toString()}function u(n={}){const{universerEndpoint:i,univerContainerId:c="app",enableOfflineEditing:p=!0,enableSingleActiveInstanceLock:v=!0}=n,r=i!=null?i:`${window.location.protocol}//${window.location.host}`;return{plugins:[o.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:p,enableSingleActiveInstanceLock:v,enableAuthServer:!0,authzUrl:`${r}/universer-api/authz`,snapshotServerUrl:`${r}/universer-api/snapshot`,collabSubmitChangesetUrl:`${r}/universer-api/comb`,collabWebSocketUrl:s(`${r}/universer-api/comb/connect`),loginUrlKey:`${r}/universer-api/oidc/authpage`,uploadFileServerUrl:`${r}/universer-api/stream/file/upload`,signUrlServerUrl:`${r}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${r}/`,wsSessionTicketUrl:`${r}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],[t.UniverCollaborationClientUIPlugin,{}],[a.UniverEditHistoryLoaderPlugin,{univerContainerId:c,historyListServerUrl:`${r}/universer-api/history`}]]}}e.UniverSheetsCollaborationPreset=u,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
|